diff --git a/assets/schema/dbgpt.sql b/assets/schema/dbgpt.sql index 0d6e1c91b..0b3609b03 100644 --- a/assets/schema/dbgpt.sql +++ b/assets/schema/dbgpt.sql @@ -464,7 +464,45 @@ CREATE TABLE `user_recent_apps` ( KEY `idx_user_r_app_code` (`app_code`), KEY `idx_last_accessed` (`last_accessed`), KEY `idx_user_code` (`user_code`) -) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='User recently used apps' +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='User recently used apps'; + +-- dbgpt.dbgpt_serve_dbgpts_my definition +CREATE TABLE `dbgpt_serve_dbgpts_my` ( + `id` int NOT NULL AUTO_INCREMENT COMMENT 'autoincrement id', + `name` varchar(255) NOT NULL COMMENT 'plugin name', + `user_code` varchar(255) DEFAULT NULL COMMENT 'user code', + `user_name` varchar(255) DEFAULT NULL COMMENT 'user name', + `file_name` varchar(255) NOT NULL COMMENT 'plugin package file name', + `type` varchar(255) DEFAULT NULL COMMENT 'plugin type', + `version` varchar(255) DEFAULT NULL COMMENT 'plugin version', + `use_count` int DEFAULT NULL COMMENT 'plugin total use count', + `succ_count` int DEFAULT NULL COMMENT 'plugin total success count', + `sys_code` varchar(128) DEFAULT NULL COMMENT 'System code', + `gmt_created` TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT 'plugin install time', + `gmt_modified` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'update time', + PRIMARY KEY (`id`), + UNIQUE KEY `name` (`name`, `user_name`), + KEY `ix_my_plugin_sys_code` (`sys_code`) +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- dbgpt.dbgpt_serve_dbgpts_hub definition +CREATE TABLE `dbgpt_serve_dbgpts_hub` ( + `id` int NOT NULL AUTO_INCREMENT COMMENT 'autoincrement id', + `name` varchar(255) NOT NULL COMMENT 'plugin name', + `description` varchar(255) NULL COMMENT 'plugin description', + `author` varchar(255) DEFAULT NULL COMMENT 'plugin author', + `email` varchar(255) DEFAULT NULL COMMENT 'plugin author email', + `type` varchar(255) DEFAULT NULL COMMENT 'plugin type', + `version` varchar(255) DEFAULT NULL COMMENT 'plugin version', + `storage_channel` varchar(255) DEFAULT NULL COMMENT 'plugin storage channel', + `storage_url` varchar(255) DEFAULT NULL COMMENT 'plugin download url', + `download_param` varchar(255) DEFAULT NULL COMMENT 'plugin download param', + `gmt_created` TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT 'plugin upload time', + `gmt_modified` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'update time', + `installed` int DEFAULT NULL COMMENT 'plugin already installed count', + PRIMARY KEY (`id`), + UNIQUE KEY `name` (`name`) +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; CREATE diff --git a/assets/schema/upgrade/v0_6_0/upgrade_to_v0.6.0.sql b/assets/schema/upgrade/v0_6_0/upgrade_to_v0.6.0.sql index e4fa9fee8..f20a396a7 100644 --- a/assets/schema/upgrade/v0_6_0/upgrade_to_v0.6.0.sql +++ b/assets/schema/upgrade/v0_6_0/upgrade_to_v0.6.0.sql @@ -116,3 +116,40 @@ CREATE TABLE `dbgpt_serve_variables` ( KEY `ix_your_table_name_name` (`name`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +-- dbgpt.dbgpt_serve_dbgpts_my definition +CREATE TABLE `dbgpt_serve_dbgpts_my` ( + `id` int NOT NULL AUTO_INCREMENT COMMENT 'autoincrement id', + `name` varchar(255) NOT NULL COMMENT 'plugin name', + `user_name` varchar(255) DEFAULT NULL COMMENT 'user name', + `file_name` varchar(255) NOT NULL COMMENT 'plugin package file name', + `type` varchar(255) DEFAULT NULL COMMENT 'plugin type', + `version` varchar(255) DEFAULT NULL COMMENT 'plugin version', + `use_count` int DEFAULT NULL COMMENT 'plugin total use count', + `succ_count` int DEFAULT NULL COMMENT 'plugin total success count', + `sys_code` varchar(128) DEFAULT NULL COMMENT 'System code', + `gmt_created` TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT 'plugin install time', + `gmt_modified` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'update time', + PRIMARY KEY (`id`), + UNIQUE KEY `name` (`name`, `user_name`), + KEY `ix_my_plugin_sys_code` (`sys_code`) +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- dbgpt.dbgpt_serve_dbgpts_hub definition +CREATE TABLE `dbgpt_serve_dbgpts_hub` ( + `id` int NOT NULL AUTO_INCREMENT COMMENT 'autoincrement id', + `name` varchar(255) NOT NULL COMMENT 'plugin name', + `description` varchar(255) NULL COMMENT 'plugin description', + `author` varchar(255) DEFAULT NULL COMMENT 'plugin author', + `email` varchar(255) DEFAULT NULL COMMENT 'plugin author email', + `type` varchar(255) DEFAULT NULL COMMENT 'plugin type', + `version` varchar(255) DEFAULT NULL COMMENT 'plugin version', + `storage_channel` varchar(255) DEFAULT NULL COMMENT 'plugin storage channel', + `storage_url` varchar(255) DEFAULT NULL COMMENT 'plugin download url', + `download_param` varchar(255) DEFAULT NULL COMMENT 'plugin download param', + `gmt_created` TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT 'plugin upload time', + `gmt_modified` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'update time', + `installed` int DEFAULT NULL COMMENT 'plugin already installed count', + PRIMARY KEY (`id`), + UNIQUE KEY `name` (`name`) +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + diff --git a/dbgpt/app/initialization/serve_initialization.py b/dbgpt/app/initialization/serve_initialization.py index b88d1d215..146412ecb 100644 --- a/dbgpt/app/initialization/serve_initialization.py +++ b/dbgpt/app/initialization/serve_initialization.py @@ -83,6 +83,17 @@ def register_serve_apps(system_app: SystemApp, cfg: Config, webserver_port: int) system_app.register(FeedbackServe) # ################################ Chat Feedback Register End ######################################## + # ################################ DbGpts Register Begin ######################################## + # Register serve dbgptshub + from dbgpt.serve.dbgpts.hub.serve import Serve as DbgptsHubServe + + system_app.register(DbgptsHubServe) + # Register serve dbgptsmy + from dbgpt.serve.dbgpts.my.serve import Serve as DbgptsMyServe + + system_app.register(DbgptsMyServe) + # ################################ DbGpts Register End ######################################## + # ################################ File Serve Register Begin ###################################### from dbgpt.configs.model_config import FILE_SERVER_LOCAL_STORAGE_PATH diff --git a/dbgpt/app/static/web/404.html b/dbgpt/app/static/web/404.html index ace5fe85a..f6c00e692 100644 --- a/dbgpt/app/static/web/404.html +++ b/dbgpt/app/static/web/404.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/404/index.html b/dbgpt/app/static/web/404/index.html index ace5fe85a..f6c00e692 100644 --- a/dbgpt/app/static/web/404/index.html +++ b/dbgpt/app/static/web/404/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/_next/data/vTEducxt-kxqB-72R55zw/construct/prompt/add.json b/dbgpt/app/static/web/_next/data/-L9Od0w1XElCNcbCi4hJV/construct/prompt/add.json similarity index 100% rename from dbgpt/app/static/web/_next/data/vTEducxt-kxqB-72R55zw/construct/prompt/add.json rename to dbgpt/app/static/web/_next/data/-L9Od0w1XElCNcbCi4hJV/construct/prompt/add.json diff --git a/dbgpt/app/static/web/_next/data/vTEducxt-kxqB-72R55zw/construct/prompt/edit.json b/dbgpt/app/static/web/_next/data/-L9Od0w1XElCNcbCi4hJV/construct/prompt/edit.json similarity index 100% rename from dbgpt/app/static/web/_next/data/vTEducxt-kxqB-72R55zw/construct/prompt/edit.json rename to dbgpt/app/static/web/_next/data/-L9Od0w1XElCNcbCi4hJV/construct/prompt/edit.json diff --git a/dbgpt/app/static/web/_next/static/-L9Od0w1XElCNcbCi4hJV/_buildManifest.js b/dbgpt/app/static/web/_next/static/-L9Od0w1XElCNcbCi4hJV/_buildManifest.js new file mode 100644 index 000000000..60480c362 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/-L9Od0w1XElCNcbCi4hJV/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(c,t,s,a,e,n,o,p,u,i,r,b,f,h,d,m,k,j,l,g,x,C,w,_,D,I,R,v,A,F,y,L,M,N,S,T,B,E,H,O,Q){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[c,t,s,a,e,n,o,p,d,"static/chunks/6089-219f66cd3e3b8279.js",R,"static/chunks/pages/index-aafa7e9c794c2471.js"],"/_error":["static/chunks/pages/_error-4fa9991a75118e6f.js"],"/chat":[c,t,s,a,e,n,o,p,u,r,b,f,d,m,w,_,R,"static/chunks/pages/chat-c812b1df636e01ab.js"],"/construct":[t,e,h,"static/css/8ff116f2992cd086.css","static/chunks/pages/construct-5f4f4b8f187fe26f.js"],"/construct/agent":[c,t,s,e,n,o,p,i,h,d,H,"static/chunks/pages/construct/agent-65afee47f9c3f83f.js"],"/construct/app":[c,t,s,a,e,n,o,p,u,i,h,k,d,S,"static/css/286e71c2657cb947.css","static/chunks/pages/construct/app-c2b4993f4d609272.js"],"/construct/app/components/create-app-modal":[c,s,a,o,i,"static/css/71b2e674cdce283c.css","static/chunks/pages/construct/app/components/create-app-modal-c289e85230b9782e.js"],"/construct/app/extra":[x,v,T,c,t,s,a,e,n,o,p,u,i,h,r,b,k,j,f,d,l,C,m,g,A,F,D,w,M,B,"static/chunks/1538-f90fcaa96cc094bf.js",y,_,E,"static/css/096e41fbc2c0234f.css","static/chunks/pages/construct/app/extra-317dd7a69d126cd3.js"],"/construct/app/extra/components/AwelLayout":[T,t,u,i,I,B,O,"static/chunks/pages/construct/app/extra/components/AwelLayout-552b84473880b599.js"],"/construct/app/extra/components/NativeApp":[c,t,u,i,m,"static/chunks/pages/construct/app/extra/components/NativeApp-a978259be09764fa.js"],"/construct/app/extra/components/RecommendQuestions":[c,s,a,i,"static/css/baa1b56aac6681e7.css","static/chunks/pages/construct/app/extra/components/RecommendQuestions-5f88b9562eba8d2f.js"],"/construct/app/extra/components/auto-plan":[x,v,c,t,s,a,e,n,o,p,u,i,h,r,b,k,j,f,d,l,C,m,g,I,A,F,D,w,M,y,_,E,R,"static/chunks/pages/construct/app/extra/components/auto-plan-f539e7dcb5d1e2c3.js"],"/construct/app/extra/components/auto-plan/DetailsCard":[x,v,c,t,s,a,e,n,o,p,u,i,h,r,b,k,j,f,d,l,C,m,g,I,A,F,D,w,M,y,_,E,R,"static/chunks/pages/construct/app/extra/components/auto-plan/DetailsCard-e5a88a7fb8bfa240.js"],"/construct/app/extra/components/auto-plan/ResourceContent":[t,u,i,"static/chunks/pages/construct/app/extra/components/auto-plan/ResourceContent-61fde747264e8dde.js"],"/construct/app/extra/components/auto-plan/ResourcesCard":[x,c,t,s,n,u,i,M,"static/chunks/pages/construct/app/extra/components/auto-plan/ResourcesCard-59824b197428ac8e.js"],"/construct/app/extra/config":["static/chunks/pages/construct/app/extra/config-1f3ea523173f5645.js"],"/construct/database":[c,t,s,a,e,n,o,p,u,i,h,m,g,S,Q,N,"static/chunks/pages/construct/database-03f72bda434de48b.js"],"/construct/dbgpts":[c,t,s,a,e,n,o,p,i,h,d,H,"static/chunks/pages/construct/dbgpts-96d9bf975c5896ff.js"],"/construct/flow":[c,t,s,a,e,n,o,p,u,i,h,k,j,N,"static/chunks/pages/construct/flow-3b9c8fb19172adf8.js"],"/construct/flow/canvas":[x,T,c,t,s,a,n,o,u,i,r,b,k,j,l,m,I,"static/chunks/9094-1afb2f999e6f1310.js",B,"static/chunks/7123-b9c8128290122b31.js","static/chunks/8351-a91220a20d264756.js",O,"static/chunks/pages/construct/flow/canvas-eb83ab5bdfba148a.js"],"/construct/knowledge":[x,v,c,t,s,a,e,n,o,p,u,i,h,r,b,k,j,f,d,l,C,m,g,I,A,F,D,w,"static/chunks/9074-809b82debb6527af.js",y,_,N,"static/chunks/pages/construct/knowledge-4a89b74968e10e7f.js"],"/construct/knowledge/chunk":[x,v,c,t,s,a,e,n,o,p,u,i,h,r,b,k,j,f,d,l,C,m,g,I,A,F,D,w,"static/chunks/6537-c79001d682f4717e.js",y,_,R,"static/chunks/pages/construct/knowledge/chunk-9a53d6e0105750d2.js"],"/construct/models":[c,t,s,a,e,n,p,u,i,h,j,m,S,N,"static/chunks/pages/construct/models-9713b9d4200014ac.js"],"/construct/prompt":[c,t,s,a,e,n,o,p,u,h,k,j,d,l,C,"static/css/6f3f201b5cbc2e30.css","static/chunks/pages/construct/prompt-af56d7e142dda962.js"],"/construct/prompt/[type]":[c,t,s,a,e,u,i,h,b,f,m,D,Q,"static/chunks/2022-901822d4d5f20d61.js","static/css/279c58a83be8d59c.css","static/chunks/pages/construct/prompt/[type]-955ccfc98291f40f.js"],"/evaluation":[c,t,s,a,e,o,p,u,i,r,k,j,d,l,C,"static/chunks/7458-0673a9cbb154887b.js","static/chunks/pages/evaluation-960fb0ee1fcd22f2.js"],"/mobile/chat":[c,t,s,a,e,n,o,p,r,b,f,"static/chunks/2117-f7f4e921d8790b66.js",L,"static/chunks/pages/mobile/chat-a47c71f704448050.js"],"/mobile/chat/components/ChatDialog":[x,v,c,t,s,a,e,n,o,p,u,h,r,b,k,j,f,d,l,C,m,g,I,A,F,D,w,"static/chunks/1520-fe8ab18ecd4152ef.js",y,_,R,"static/chunks/pages/mobile/chat/components/ChatDialog-3cacfe26c09421f8.js"],"/mobile/chat/components/Content":[x,v,c,t,s,a,e,n,o,p,u,h,r,b,k,j,f,d,l,C,m,g,I,A,F,D,w,"static/chunks/7661-8fb82664963f0331.js",y,_,R,"static/chunks/pages/mobile/chat/components/Content-fe6a341c3c490ebb.js"],"/mobile/chat/components/DislikeDrawer":[c,s,a,g,"static/chunks/pages/mobile/chat/components/DislikeDrawer-28b5e78dd4e0ebe9.js"],"/mobile/chat/components/Feedback":[c,t,s,a,e,n,o,p,r,b,f,g,"static/chunks/1068-c37d6ebfe45fbeb1.js",L,"static/chunks/pages/mobile/chat/components/Feedback-1f1bc9c3187ddb55.js"],"/mobile/chat/components/Header":[c,t,s,a,e,n,o,p,r,b,f,"static/chunks/9788-e354e81a375b44f1.js",L,"static/chunks/pages/mobile/chat/components/Header-71da88204ea7eb15.js"],"/mobile/chat/components/InputContainer":[c,t,s,a,e,n,o,p,r,b,f,"static/chunks/9305-8f4e7d2b774e3b80.js",L,"static/chunks/pages/mobile/chat/components/InputContainer-a8499a57610e2a61.js"],"/mobile/chat/components/ModelSelector":[c,t,s,a,e,n,o,p,r,b,f,"static/chunks/1708-3afb98df069036b4.js",L,"static/chunks/pages/mobile/chat/components/ModelSelector-44ef67f9b198c3da.js"],"/mobile/chat/components/OptionIcon":["static/chunks/pages/mobile/chat/components/OptionIcon-304c335f46a1c590.js"],"/mobile/chat/components/Resource":[c,t,s,a,e,n,o,p,r,b,f,"static/chunks/100-396a3733fce55676.js",L,"static/chunks/pages/mobile/chat/components/Resource-4c4ec4afbfc0f365.js"],"/mobile/chat/components/Thermometer":[c,t,s,a,e,n,o,p,r,b,f,"static/chunks/9383-dd71c50c481f8d7a.js",L,"static/chunks/pages/mobile/chat/components/Thermometer-90eac43e25b6c983.js"],sortedPages:["/","/_app","/_error","/chat","/construct","/construct/agent","/construct/app","/construct/app/components/create-app-modal","/construct/app/extra","/construct/app/extra/components/AwelLayout","/construct/app/extra/components/NativeApp","/construct/app/extra/components/RecommendQuestions","/construct/app/extra/components/auto-plan","/construct/app/extra/components/auto-plan/DetailsCard","/construct/app/extra/components/auto-plan/ResourceContent","/construct/app/extra/components/auto-plan/ResourcesCard","/construct/app/extra/config","/construct/database","/construct/dbgpts","/construct/flow","/construct/flow/canvas","/construct/knowledge","/construct/knowledge/chunk","/construct/models","/construct/prompt","/construct/prompt/[type]","/evaluation","/mobile/chat","/mobile/chat/components/ChatDialog","/mobile/chat/components/Content","/mobile/chat/components/DislikeDrawer","/mobile/chat/components/Feedback","/mobile/chat/components/Header","/mobile/chat/components/InputContainer","/mobile/chat/components/ModelSelector","/mobile/chat/components/OptionIcon","/mobile/chat/components/Resource","/mobile/chat/components/Thermometer"]}}("static/chunks/2394-55fcca34bfb14029.js","static/chunks/2003-98e45191838072b7.js","static/chunks/5677-0e98c5765d8153c3.js","static/chunks/1841-e9725fdafab55916.js","static/chunks/5722-19de18c530a6eb5a.js","static/chunks/5851-be2ecf2c518f03d5.js","static/chunks/2786-ec6b5697676d5b05.js","static/chunks/335-d0e1d11876a92f2f.js","static/chunks/9069-a911d2fca9dd6157.js","static/chunks/5360-1617dfaf504d5200.js","static/chunks/2818-f61287028c8d5f09.js","static/chunks/6779-54fab8e3e25d4028.js","static/chunks/8639-e53a4cb330e84094.js","static/chunks/5996-3826de4c64db3a45.js","static/chunks/5444-be1f9e0facfb966b.js","static/chunks/1103-b0c55728153c46e9.js","static/chunks/1320-a81e1ffe23c958e2.js","static/chunks/9223-91e8b15b990dc8f1.js","static/chunks/2476-1e7e4692f4b61af1.js","static/chunks/1657-e67c0834566e95eb.js","static/chunks/0ed7d180-d88dea9dfbc86549.js","static/chunks/4162-09e888f740a96c4c.js","static/chunks/5883-59e02153eafa916f.js","static/chunks/2061-182bdc8e1f900e68.js","static/chunks/3549-a8205b5cb6bcfb35.js","static/chunks/9790-fd0aafbca7c952cb.js","static/css/9b601b4de5d78ac2.css","static/chunks/4a9a9f71-55fe2d2abb27b302.js","static/chunks/1766-97218725ed7235a1.js","static/chunks/8957-5ac1cf4c29774ae4.js","static/chunks/5891-48d547820f495af8.js","static/chunks/9549-5d0f50d620a0f606.js","static/chunks/9080-61494c26004fee75.js","static/css/f50ad89cce84a0a9.css","static/chunks/5755-cf98dfc35e3b2627.js","static/chunks/6935219c-d027c4d26c871921.js","static/chunks/7196-c90ca7090d6d558a.js","static/chunks/2645-075101fb813c963d.js","static/css/5c8e4c269e2281cb.css","static/css/a275cc2b185e04f8.css","static/chunks/7343-9134667597de242e.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/vTEducxt-kxqB-72R55zw/_ssgManifest.js b/dbgpt/app/static/web/_next/static/-L9Od0w1XElCNcbCi4hJV/_ssgManifest.js similarity index 100% rename from dbgpt/app/static/web/_next/static/vTEducxt-kxqB-72R55zw/_ssgManifest.js rename to dbgpt/app/static/web/_next/static/-L9Od0w1XElCNcbCi4hJV/_ssgManifest.js diff --git a/dbgpt/app/static/web/_next/static/chunks/100-396a3733fce55676.js b/dbgpt/app/static/web/_next/static/chunks/100-396a3733fce55676.js new file mode 100644 index 000000000..f3d67e895 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/100-396a3733fce55676.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[100,9788,1708,9383,9305,2117],{96890:function(e,r,t){t.d(r,{Z:function(){return u}});var o=t(42096),n=t(10921),c=t(38497),l=t(42834),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var o=document.createElement("script");o.setAttribute("src",t),o.setAttribute("data-namespace",t),e.length>r+1&&(o.onload=function(){s(e,r+1)},o.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(o)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,n.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,o.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},67620:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},98028:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},71534:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},1858:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},72828:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},31676:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},32857:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},49030:function(e,r,t){t.d(r,{Z:function(){return z}});var o=t(38497),n=t(26869),c=t.n(n),l=t(55598),a=t(55853),i=t(35883),s=t(55091),u=t(37243),d=t(63346),f=t(38083),g=t(51084),h=t(60848),p=t(74934),v=t(90102);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:o,componentCls:n,calc:c}=e,l=c(o).sub(t).equal(),a=c(r).sub(t).equal();return{[n]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:o}=e,n=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:n,tagLineHeight:(0,f.bf)(o(e.lineHeightSM).mul(n).equal()),tagIconSize:o(t).sub(o(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let w=o.forwardRef((e,r)=>{let{prefixCls:t,style:n,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=o.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(o.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},n),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var $=t(86553);let x=e=>(0,$.Z)(e,(r,t)=>{let{textColor:o,lightBorderColor:n,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:o,background:c,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return x(r)},C);let E=(e,r,t)=>{let o=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let S=o.forwardRef((e,r)=>{let{prefixCls:t,className:n,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:$,tag:x}=o.useContext(d.E_),[E,S]=o.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);o.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==x?void 0:x.style),g),P=w("tag",t),[I,N,R]=y(P),T=c()(P,null==x?void 0:x.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===$,[`${P}-borderless`]:!b},n,f,N,R),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)(x),{closable:!1,closeIconRender:e=>{let r=o.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?o.createElement(o.Fragment,null,q,h&&o.createElement("span",null,h)):h,D=o.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&o.createElement(Z,{key:"preset",prefixCls:P}),M&&o.createElement(H,{key:"status",prefixCls:P}));return I(_?o.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1023-c20f83099dace121.js b/dbgpt/app/static/web/_next/static/chunks/1023-c20f83099dace121.js deleted file mode 100644 index 15b64af03..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/1023-c20f83099dace121.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1023],{89167:function(e,t,r){"use strict";var n=r(17923);t.Z=n.Z},30610:function(e,t,r){"use strict";r.d(t,{Z:function(){return Q}});var n=r(42096),i=r(38497),a=r(79760),o=r(4280),u=r(95893),l=r(89167),f=r(96228),s=r(96469);let c=i.createContext(void 0);var d=r(22720),p=r(93605),h=r(68178),m=r(426),b=r(42250),g=r(51365),y=r(28907),v={black:"#000",white:"#fff"},x={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Z={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},w={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},S={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},A={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},k={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},O={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};let $=["mode","contrastThreshold","tonalOffset"],_={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:v.white,default:v.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},E={text:{primary:v.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:v.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function M(e,t,r,n){let i=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,y.$n)(e.main,i):"dark"===t&&(e.dark=(0,y._j)(e.main,a)))}let I=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],R={textTransform:"uppercase"},j='"Roboto", "Helvetica", "Arial", sans-serif';function P(...e){return`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2),${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14),${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`}let z=["none",P(0,2,1,-1,0,1,1,0,0,1,3,0),P(0,3,1,-2,0,2,2,0,0,1,5,0),P(0,3,3,-2,0,3,4,0,0,1,8,0),P(0,2,4,-1,0,4,5,0,0,1,10,0),P(0,3,5,-1,0,5,8,0,0,1,14,0),P(0,3,5,-1,0,6,10,0,0,1,18,0),P(0,4,5,-2,0,7,10,1,0,2,16,1),P(0,5,5,-3,0,8,10,1,0,3,14,2),P(0,5,6,-3,0,9,12,1,0,3,16,2),P(0,6,6,-3,0,10,14,1,0,4,18,3),P(0,6,7,-4,0,11,15,1,0,4,20,3),P(0,7,8,-4,0,12,17,2,0,5,22,4),P(0,7,8,-4,0,13,19,2,0,5,24,4),P(0,7,9,-4,0,14,21,2,0,5,26,4),P(0,8,9,-5,0,15,22,2,0,6,28,5),P(0,8,10,-5,0,16,24,2,0,6,30,5),P(0,8,11,-5,0,17,26,2,0,6,32,5),P(0,9,11,-5,0,18,28,2,0,7,34,6),P(0,9,12,-6,0,19,29,2,0,7,36,6),P(0,10,13,-6,0,20,31,3,0,8,38,7),P(0,10,13,-6,0,21,33,3,0,8,40,7),P(0,10,14,-6,0,22,35,3,0,8,42,7),P(0,11,14,-7,0,23,36,3,0,9,44,8),P(0,11,15,-7,0,24,38,3,0,9,46,8)],N=["duration","easing","delay"],T={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},C={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function F(e){return`${Math.round(e)}ms`}function B(e){if(!e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}var L={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};let W=["breakpoints","mixins","spacing","palette","transitions","typography","shape"],D=function(e={}){var t;let{mixins:r={},palette:i={},transitions:o={},typography:u={}}=e,l=(0,a.Z)(e,W);if(e.vars)throw Error((0,p.Z)(18));let f=function(e){let{mode:t="light",contrastThreshold:r=3,tonalOffset:i=.2}=e,o=(0,a.Z)(e,$),u=e.primary||function(e="light"){return"dark"===e?{main:A[200],light:A[50],dark:A[400]}:{main:A[700],light:A[400],dark:A[800]}}(t),l=e.secondary||function(e="light"){return"dark"===e?{main:Z[200],light:Z[50],dark:Z[400]}:{main:Z[500],light:Z[300],dark:Z[700]}}(t),f=e.error||function(e="light"){return"dark"===e?{main:w[500],light:w[300],dark:w[700]}:{main:w[700],light:w[400],dark:w[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:k[400],light:k[300],dark:k[700]}:{main:k[700],light:k[500],dark:k[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:O[400],light:O[300],dark:O[700]}:{main:O[800],light:O[500],dark:O[900]}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:S[400],light:S[300],dark:S[700]}:{main:"#ed6c02",light:S[500],dark:S[900]}}(t);function m(e){let t=(0,y.mi)(e,E.text.primary)>=r?E.text.primary:_.text.primary;return t}let b=({color:e,name:t,mainShade:r=500,lightShade:a=300,darkShade:o=700})=>{if(!(e=(0,n.Z)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw Error((0,p.Z)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw Error((0,p.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return M(e,"light",a,i),M(e,"dark",o,i),e.contrastText||(e.contrastText=m(e.main)),e},g=(0,h.Z)((0,n.Z)({common:(0,n.Z)({},v),mode:t,primary:b({color:u,name:"primary"}),secondary:b({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:b({color:f,name:"error"}),warning:b({color:d,name:"warning"}),info:b({color:s,name:"info"}),success:b({color:c,name:"success"}),grey:x,contrastThreshold:r,getContrastText:m,augmentColor:b,tonalOffset:i},{dark:E,light:_}[t]),o);return g}(i),s=(0,g.Z)(e),c=(0,h.Z)(s,{mixins:(t=s.breakpoints,(0,n.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},r)),palette:f,shadows:z.slice(),typography:function(e,t){let r="function"==typeof t?t(e):t,{fontFamily:i=j,fontSize:o=14,fontWeightLight:u=300,fontWeightRegular:l=400,fontWeightMedium:f=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:d,pxToRem:p}=r,m=(0,a.Z)(r,I),b=o/14,g=p||(e=>`${e/c*b}rem`),y=(e,t,r,a,o)=>(0,n.Z)({fontFamily:i,fontWeight:e,fontSize:g(t),lineHeight:r},i===j?{letterSpacing:`${Math.round(1e5*(a/t))/1e5}em`}:{},o,d),v={h1:y(u,96,1.167,-1.5),h2:y(u,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(f,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(f,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(f,14,1.75,.4,R),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,R),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,h.Z)((0,n.Z)({htmlFontSize:c,pxToRem:g,fontFamily:i,fontSize:o,fontWeightLight:u,fontWeightRegular:l,fontWeightMedium:f,fontWeightBold:s},v),m,{clone:!1})}(f,u),transitions:function(e){let t=(0,n.Z)({},T,e.easing),r=(0,n.Z)({},C,e.duration);return(0,n.Z)({getAutoHeightDuration:B,create:(e=["all"],n={})=>{let{duration:i=r.standard,easing:o=t.easeInOut,delay:u=0}=n;return(0,a.Z)(n,N),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof i?i:F(i)} ${o} ${"string"==typeof u?u:F(u)}`).join(",")}},e,{easing:t,duration:r})}(o),zIndex:(0,n.Z)({},L)});return(c=[].reduce((e,t)=>(0,h.Z)(e,t),c=(0,h.Z)(c,l))).unstable_sxConfig=(0,n.Z)({},m.Z,null==l?void 0:l.unstable_sxConfig),c.unstable_sx=function(e){return(0,b.Z)({sx:e,theme:this})},c}(),V=(0,d.ZP)({themeId:"$$material",defaultTheme:D,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var H=r(14293),K=r(67230);function G(e){return(0,K.ZP)("MuiSvgIcon",e)}(0,H.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);let X=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],J=e=>{let{color:t,fontSize:r,classes:n}=e,i={root:["root","inherit"!==t&&`color${(0,l.Z)(t)}`,`fontSize${(0,l.Z)(r)}`]};return(0,u.Z)(i,G,n)},U=V("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${(0,l.Z)(r.color)}`],t[`fontSize${(0,l.Z)(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,i,a,o,u,l,f,s,c,d,p,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(i=e.transitions)||null==(i=i.duration)?void 0:i.shorter}),fontSize:({inherit:"inherit",small:(null==(a=e.typography)||null==(o=a.pxToRem)?void 0:o.call(a,20))||"1.25rem",medium:(null==(u=e.typography)||null==(l=u.pxToRem)?void 0:l.call(u,24))||"1.5rem",large:(null==(f=e.typography)||null==(s=f.pxToRem)?void 0:s.call(f,35))||"2.1875rem"})[t.fontSize],color:null!=(c=null==(d=(e.vars||e).palette)||null==(d=d[t.color])?void 0:d.main)?c:({action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),q=i.forwardRef(function(e,t){let r=function({props:e,name:t}){let r=i.useContext(c);return function(e){let{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;let i=t.components[r];return i.defaultProps?(0,f.Z)(i.defaultProps,n):i.styleOverrides||i.variants?n:(0,f.Z)(i,n)}({props:e,name:t,theme:{components:r}})}({props:e,name:"MuiSvgIcon"}),{children:u,className:l,color:d="inherit",component:p="svg",fontSize:h="medium",htmlColor:m,inheritViewBox:b=!1,titleAccess:g,viewBox:y="0 0 24 24"}=r,v=(0,a.Z)(r,X),x=i.isValidElement(u)&&"svg"===u.type,Z=(0,n.Z)({},r,{color:d,component:p,fontSize:h,instanceFontSize:e.fontSize,inheritViewBox:b,viewBox:y,hasSvgAsChild:x}),w={};b||(w.viewBox=y);let S=J(Z);return(0,s.jsxs)(U,(0,n.Z)({as:p,className:(0,o.Z)(S.root,l),focusable:"false",color:m,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t},w,v,x&&u.props,{ownerState:Z,children:[x?u.props.children:u,g?(0,s.jsx)("title",{children:g}):null]}))});function Q(e,t){function r(r,i){return(0,s.jsx)(q,(0,n.Z)({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return r.muiName=q.muiName,i.memo(i.forwardRef(r))}q.muiName="SvgIcon"},28907:function(e,t,r){"use strict";var n=r(82073);t._j=function(e,t){if(e=u(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return l(e)},t.mi=function(e,t){let r=f(e),n=f(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.$n=function(e,t){if(e=u(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)};var i=n(r(32388)),a=n(r(34770));function o(e,t=0,r=1){return(0,a.default)(e,t,r)}function u(e){let t;if(e.type)return e;if("#"===e.charAt(0))return u(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),n=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw Error((0,i.default)(9,e));let a=e.substring(r+1,e.length-1);if("color"===n){if(t=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,i.default)(10,t))}else a=a.split(",");return{type:n,values:a=a.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:r}=e,{values:n}=e;return -1!==t.indexOf("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),`${t}(${n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`})`}function f(e){let t="hsl"===(e=u(e)).type||"hsla"===e.type?u(function(e){e=u(e);let{values:t}=e,r=t[0],n=t[1]/100,i=t[2]/100,a=n*Math.min(i,1-i),o=(e,t=(e+r/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),f="rgb",s=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(f+="a",s.push(t[3])),l({type:f,values:s})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},22720:function(e,t,r){"use strict";var n=r(82073);t.ZP=function(e={}){let{themeId:t,defaultTheme:r=m,rootShouldForwardProp:n=h,slotShouldForwardProp:l=h}=e,s=e=>(0,f.default)((0,i.default)({},e,{theme:g((0,i.default)({},e,{defaultTheme:r,themeId:t}))}));return s.__mui_systemSx=!0,(e,f={})=>{var c;let p;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:v,skipVariantsResolver:x,skipSx:Z,overridesResolver:w=(c=b(v))?(e,t)=>t[c]:null}=f,S=(0,a.default)(f,d),A=void 0!==x?x:v&&"Root"!==v&&"root"!==v||!1,k=Z||!1,O=h;"Root"===v||"root"===v?O=n:v?O=l:"string"==typeof e&&e.charCodeAt(0)>96&&(O=void 0);let $=(0,o.default)(e,(0,i.default)({shouldForwardProp:O,label:p},S)),_=e=>"function"==typeof e&&e.__emotion_real!==e||(0,u.isPlainObject)(e)?n=>y(e,(0,i.default)({},n,{theme:g({theme:n.theme,defaultTheme:r,themeId:t})})):e,E=(n,...a)=>{let o=_(n),u=a?a.map(_):[];m&&w&&u.push(e=>{let n=g((0,i.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[m]||!n.components[m].styleOverrides)return null;let a=n.components[m].styleOverrides,o={};return Object.entries(a).forEach(([t,r])=>{o[t]=y(r,(0,i.default)({},e,{theme:n}))}),w(e,o)}),m&&!A&&u.push(e=>{var n;let a=g((0,i.default)({},e,{defaultTheme:r,themeId:t})),o=null==a||null==(n=a.components)||null==(n=n[m])?void 0:n.variants;return y({variants:o},(0,i.default)({},e,{theme:a}))}),k||u.push(s);let l=u.length-a.length;if(Array.isArray(n)&&l>0){let e=Array(l).fill("");(o=[...n,...e]).raw=[...n.raw,...e]}let f=$(o,...u);return e.muiName&&(f.muiName=e.muiName),f};return $.withConfig&&(E.withConfig=$.withConfig),E}};var i=n(r(58480)),a=n(r(99003)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(62967)),u=r(18321);n(r(55041)),n(r(94042));var l=n(r(89996)),f=n(r(89698));let s=["ownerState"],c=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,l.default)(),b=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function g({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function y(e,t){let{ownerState:r}=t,n=(0,a.default)(t,s),o="function"==typeof e?e((0,i.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,i.default)({ownerState:r},n)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,a.default)(o,c),u=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,i.default)({ownerState:r},n,r)):Object.keys(e.props).forEach(i=>{(null==r?void 0:r[i])!==e.props[i]&&n[i]!==e.props[i]&&(t=!1)}),t&&(Array.isArray(u)||(u=[u]),u.push("function"==typeof e.style?e.style((0,i.default)({ownerState:r},n,r)):e.style))}),u}return o}},89996:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},private_createBreakpoints:function(){return i.Z},unstable_applyStyles:function(){return a.Z}});var n=r(51365),i=r(58642),a=r(54408)},89698:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},extendSxProp:function(){return i.Z},unstable_createStyleFunctionSx:function(){return n.n},unstable_defaultSxConfig:function(){return a.Z}});var n=r(42250),i=r(23259),a=r(426)},55041:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z}});var n=r(17923)},34770:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});var n=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},77883:function(e,t,r){"use strict";function n(e,t=166){let r;function n(...i){clearTimeout(r),r=setTimeout(()=>{e.apply(this,i)},t)}return n.clear=()=>{clearTimeout(r)},n}r.d(t,{Z:function(){return n}})},18321:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},isPlainObject:function(){return n.P}});var n=r(68178)},32388:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z}});var n=r(93605)},94042:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l},getFunctionName:function(){return a}});var n=r(69404);let i=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function a(e){let t=`${e}`.match(i),r=t&&t[1];return r||""}function o(e,t=""){return e.displayName||e.name||a(e)||t}function u(e,t,r){let n=o(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.ForwardRef:return u(e,e.render,"ForwardRef");case n.Memo:return u(e,e.type,"memo")}}}},78837:function(e,t,r){"use strict";function n(e){return e&&e.ownerDocument||document}r.d(t,{Z:function(){return n}})},42751:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(78837);function i(e){let t=(0,n.Z)(e);return t.defaultView||window}},72345:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(38497);function i({controlled:e,default:t,name:r,state:i="value"}){let{current:a}=n.useRef(void 0!==e),[o,u]=n.useState(t),l=a?e:o,f=n.useCallback(e=>{a||u(e)},[]);return[l,f]}},66268:function(e,t,r){"use strict";var n=r(38497);let i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;t.Z=i},33915:function(e,t,r){"use strict";var n=r(38497),i=r(66268);t.Z=function(e){let t=n.useRef(e);return(0,i.Z)(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current}},39945:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n,i=r(38497);let a=0,o=(n||(n=r.t(i,2)))["useId".toString()];function u(e){if(void 0!==o){let t=o();return null!=e?e:t}return function(e){let[t,r]=i.useState(e),n=e||t;return i.useEffect(()=>{null==t&&r(`mui-${a+=1}`)},[t]),n}(e)}},15978:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(38497);class i{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new i}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}let a=!0,o=!1,u=new i,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function f(e){e.metaKey||e.altKey||e.ctrlKey||(a=!0)}function s(){a=!1}function c(){"hidden"===this.visibilityState&&o&&(a=!0)}function d(){let e=n.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",f,!0),t.addEventListener("mousedown",s,!0),t.addEventListener("pointerdown",s,!0),t.addEventListener("touchstart",s,!0),t.addEventListener("visibilitychange",c,!0)}},[]),t=n.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return a||function(e){let{type:t,tagName:r}=e;return"INPUT"===r&&!!l[t]&&!e.readOnly||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(o=!0,u.start(100,()=>{o=!1}),t.current=!1,!0)},ref:e}}},58480:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:0,r=e[t];if("string"==typeof r&&r.length&&!c.has(r)){var n=document.createElement("script");n.setAttribute("src",r),n.setAttribute("data-namespace",r),e.length>t+1&&(n.onload=function(){s(e,t+1)},n.onerror=function(){s(e,t+1)}),c.add(r),document.body.appendChild(n)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,r=e.extraCommonProps,c=void 0===r?{}:r;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var d=a.forwardRef(function(e,t){var r=e.type,s=e.children,d=(0,o.Z)(e,i),u=null;return e.type&&(u=a.createElement("use",{xlinkHref:"#".concat(r)})),s&&(u=s),a.createElement(l.Z,(0,n.Z)({},c,d,{ref:t}),u)});return d.displayName="Iconfont",d}},67620:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},74552:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},98028:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},71534:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},16559:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},1858:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},72828:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},31676:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},32857:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},87674:function(e,t,r){r.d(t,{Z:function(){return g}});var n=r(38497),o=r(26869),a=r.n(o),l=r(63346),i=r(38083),c=r(60848),s=r(90102),d=r(74934);let u=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:o,textPaddingInline:a,orientationMargin:l,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,i.bf)(o)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,i.bf)(o)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,i.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,i.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,i.bf)(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,i.bf)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,i.bf)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:r}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:r}}})}};var f=(0,s.I$)("Divider",e=>{let t=(0,d.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[u(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},g=e=>{let{getPrefixCls:t,direction:r,divider:o}=n.useContext(l.E_),{prefixCls:i,type:c="horizontal",orientation:s="center",orientationMargin:d,className:u,rootClassName:g,children:b,dashed:p,variant:m="solid",plain:v,style:$}=e,y=h(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),w=t("divider",i),[C,x,k]=f(w),z=!!b,S="left"===s&&null!=d,O="right"===s&&null!=d,E=a()(w,null==o?void 0:o.className,x,k,`${w}-${c}`,{[`${w}-with-text`]:z,[`${w}-with-text-${s}`]:z,[`${w}-dashed`]:!!p,[`${w}-${m}`]:"solid"!==m,[`${w}-plain`]:!!v,[`${w}-rtl`]:"rtl"===r,[`${w}-no-default-orientation-margin-left`]:S,[`${w}-no-default-orientation-margin-right`]:O},u,g),H=n.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),Z=Object.assign(Object.assign({},S&&{marginLeft:H}),O&&{marginRight:H});return C(n.createElement("div",Object.assign({className:E,style:Object.assign(Object.assign({},null==o?void 0:o.style),$)},y,{role:"separator"}),b&&"vertical"!==c&&n.createElement("span",{className:`${w}-inner-text`,style:Z},b)))}},49030:function(e,t,r){r.d(t,{Z:function(){return Z}});var n=r(38497),o=r(26869),a=r.n(o),l=r(55598),i=r(55853),c=r(35883),s=r(55091),d=r(37243),u=r(63346),f=r(38083),h=r(51084),g=r(60848),b=r(74934),p=r(90102);let m=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o,calc:a}=e,l=a(n).sub(r).equal(),i=a(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,o=e.fontSizeSM,a=(0,b.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},$=e=>({defaultBg:new h.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,p.I$)("Tag",e=>{let t=v(e);return m(t)},$),w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let C=n.forwardRef((e,t)=>{let{prefixCls:r,style:o,className:l,checked:i,onChange:c,onClick:s}=e,d=w(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:h}=n.useContext(u.E_),g=f("tag",r),[b,p,m]=y(g),v=a()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:i},null==h?void 0:h.className,l,p,m);return b(n.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},o),null==h?void 0:h.style),className:v,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var x=r(86553);let k=e=>(0,x.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:a,darkColor:l}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var z=(0,p.bk)(["Tag","preset"],e=>{let t=v(e);return k(t)},$);let S=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var O=(0,p.bk)(["Tag","status"],e=>{let t=v(e);return[S(t,"success","Success"),S(t,"processing","Info"),S(t,"error","Error"),S(t,"warning","Warning")]},$),E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let H=n.forwardRef((e,t)=>{let{prefixCls:r,className:o,rootClassName:f,style:h,children:g,icon:b,color:p,onClose:m,bordered:v=!0,visible:$}=e,w=E(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:C,direction:x,tag:k}=n.useContext(u.E_),[S,H]=n.useState(!0),Z=(0,l.Z)(w,["closeIcon","closable"]);n.useEffect(()=>{void 0!==$&&H($)},[$]);let B=(0,i.o2)(p),M=(0,i.yT)(p),I=B||M,j=Object.assign(Object.assign({backgroundColor:p&&!I?p:void 0},null==k?void 0:k.style),h),N=C("tag",r),[P,V,T]=y(N),L=a()(N,null==k?void 0:k.className,{[`${N}-${p}`]:I,[`${N}-has-color`]:p&&!I,[`${N}-hidden`]:!S,[`${N}-rtl`]:"rtl"===x,[`${N}-borderless`]:!v},o,f,V,T),R=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||H(!1)},[,W]=(0,c.Z)((0,c.w)(e),(0,c.w)(k),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${N}-close-icon`,onClick:R},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),R(t)},className:a()(null==e?void 0:e.className,`${N}-close-icon`)}))}}),A="function"==typeof w.onClick||g&&"a"===g.type,_=b||null,G=_?n.createElement(n.Fragment,null,_,g&&n.createElement("span",null,g)):g,q=n.createElement("span",Object.assign({},Z,{ref:t,className:L,style:j}),G,W,B&&n.createElement(z,{key:"preset",prefixCls:N}),M&&n.createElement(O,{key:"status",prefixCls:N}));return P(A?n.createElement(d.Z,{component:"Tag"},q):q)});H.CheckableTag=C;var Z=H}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1103-b0c55728153c46e9.js b/dbgpt/app/static/web/_next/static/chunks/1103-b0c55728153c46e9.js new file mode 100644 index 000000000..211d3f96c --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1103-b0c55728153c46e9.js @@ -0,0 +1,13 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1103],{29941:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(42096),a=t(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},o=t(55032),u=a.forwardRef(function(e,n){return a.createElement(o.Z,(0,r.Z)({},e,{ref:n,icon:i}))})},91103:function(e,n,t){t.d(n,{Z:function(){return eg}});var r=t(38497),a=t(12299),i=t(29941),o=t(26869),u=t.n(o),l=t(42096),s=t(65148),c=t(14433),d=t(65347),f=t(10921),p=t(97290),g=t(80972);function m(){return"function"==typeof BigInt}function h(e){return!e&&0!==e&&!Number.isNaN(e)||!String(e).trim()}function v(e){var n=e.trim(),t=n.startsWith("-");t&&(n=n.slice(1)),(n=n.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(n="0".concat(n));var r=n||"0",a=r.split("."),i=a[0]||"0",o=a[1]||"0";"0"===i&&"0"===o&&(t=!1);var u=t?"-":"";return{negative:t,negativeStr:u,trimStr:r,integerStr:i,decimalStr:o,fullStr:"".concat(u).concat(r)}}function b(e){var n=String(e);return!Number.isNaN(Number(n))&&n.includes("e")}function N(e){var n=String(e);if(b(e)){var t=Number(n.slice(n.indexOf("e-")+2)),r=n.match(/\.(\d+)/);return null!=r&&r[1]&&(t+=r[1].length),t}return n.includes(".")&&E(n)?n.length-n.indexOf(".")-1:0}function S(e){var n=String(e);if(b(e)){if(e>Number.MAX_SAFE_INTEGER)return String(m()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":v("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),$=function(){function e(n){if((0,p.Z)(this,e),(0,s.Z)(this,"origin",""),(0,s.Z)(this,"number",void 0),(0,s.Z)(this,"empty",void 0),h(n)){this.empty=!0;return}this.origin=String(n),this.number=Number(n)}return(0,g.Z)(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var t=Number(n);if(Number.isNaN(t))return this;var r=this.number+t;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(rNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":S(this.number):this.origin}}]),e}();function y(e){return m()?new w(e):new $(e)}function I(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var a=v(e),i=a.negativeStr,o=a.integerStr,u=a.decimalStr,l="".concat(n).concat(u),s="".concat(i).concat(o);if(t>=0){var c=Number(u[t]);return c>=5&&!r?I(y(e).add("".concat(i,"0.").concat("0".repeat(t)).concat(10-c)).toString(),n,t,r):0===t?s:"".concat(s).concat(n).concat(u.padEnd(t,"0").slice(0,t))}return".0"===l?s:"".concat(s).concat(l)}var x=t(13575),k=t(46644),R=t(7544),Z=t(89842),O=t(61193),A=function(){var e=(0,r.useState)(!1),n=(0,d.Z)(e,2),t=n[0],a=n[1];return(0,k.Z)(function(){a((0,O.Z)())},[]),t},j=t(25043);function C(e){var n=e.prefixCls,t=e.upNode,a=e.downNode,i=e.upDisabled,o=e.downDisabled,c=e.onStep,d=r.useRef(),f=r.useRef([]),p=r.useRef();p.current=c;var g=function(){clearTimeout(d.current)},m=function(e,n){e.preventDefault(),g(),p.current(n),d.current=setTimeout(function e(){p.current(n),d.current=setTimeout(e,200)},600)};if(r.useEffect(function(){return function(){g(),f.current.forEach(function(e){return j.Z.cancel(e)})}},[]),A())return null;var h="".concat(n,"-handler"),v=u()(h,"".concat(h,"-up"),(0,s.Z)({},"".concat(h,"-up-disabled"),i)),b=u()(h,"".concat(h,"-down"),(0,s.Z)({},"".concat(h,"-down-disabled"),o)),N=function(){return f.current.push((0,j.Z)(g))},S={unselectable:"on",role:"button",onMouseUp:N,onMouseLeave:N};return r.createElement("div",{className:"".concat(h,"-wrap")},r.createElement("span",(0,l.Z)({},S,{onMouseDown:function(e){m(e,!0)},"aria-label":"Increase Value","aria-disabled":i,className:v}),t||r.createElement("span",{unselectable:"on",className:"".concat(n,"-handler-up-inner")})),r.createElement("span",(0,l.Z)({},S,{onMouseDown:function(e){m(e,!1)},"aria-label":"Decrease Value","aria-disabled":o,className:b}),a||r.createElement("span",{unselectable:"on",className:"".concat(n,"-handler-down-inner")})))}function M(e){var n="number"==typeof e?S(e):v(e).fullStr;return n.includes(".")?v(n.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}var _=t(43525),B=function(){var e=(0,r.useRef)(0),n=function(){j.Z.cancel(e.current)};return(0,r.useEffect)(function(){return n},[]),function(t){n(),e.current=(0,j.Z)(function(){t()})}},F=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],D=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],T=function(e,n){return e||n.isEmpty()?n.toString():n.toNumber()},W=function(e){var n=y(e);return n.isInvalidate()?null:n},z=r.forwardRef(function(e,n){var t,a,i=e.prefixCls,o=e.className,p=e.style,g=e.min,m=e.max,h=e.step,v=void 0===h?1:h,b=e.defaultValue,w=e.value,$=e.disabled,x=e.readOnly,O=e.upHandler,A=e.downHandler,j=e.keyboard,_=e.changeOnWheel,D=void 0!==_&&_,z=e.controls,H=void 0===z||z,q=(e.classNames,e.stringMode),G=e.parser,P=e.formatter,L=e.precision,U=e.decimalSeparator,X=e.onChange,V=e.onInput,K=e.onPressEnter,Q=e.onStep,Y=e.changeOnBlur,J=void 0===Y||Y,ee=e.domRef,en=(0,f.Z)(e,F),et="".concat(i,"-input"),er=r.useRef(null),ea=r.useState(!1),ei=(0,d.Z)(ea,2),eo=ei[0],eu=ei[1],el=r.useRef(!1),es=r.useRef(!1),ec=r.useRef(!1),ed=r.useState(function(){return y(null!=w?w:b)}),ef=(0,d.Z)(ed,2),ep=ef[0],eg=ef[1],em=r.useCallback(function(e,n){return n?void 0:L>=0?L:Math.max(N(e),N(v))},[L,v]),eh=r.useCallback(function(e){var n=String(e);if(G)return G(n);var t=n;return U&&(t=t.replace(U,".")),t.replace(/[^\w.-]+/g,"")},[G,U]),ev=r.useRef(""),eb=r.useCallback(function(e,n){if(P)return P(e,{userTyping:n,input:String(ev.current)});var t="number"==typeof e?S(e):e;if(!n){var r=em(t,n);E(t)&&(U||r>=0)&&(t=I(t,U||".",r))}return t},[P,em,U]),eN=r.useState(function(){var e=null!=b?b:w;return ep.isInvalidate()&&["string","number"].includes((0,c.Z)(e))?Number.isNaN(e)?"":e:eb(ep.toString(),!1)}),eS=(0,d.Z)(eN,2),eE=eS[0],ew=eS[1];function e$(e,n){ew(eb(e.isInvalidate()?e.toString(!1):e.toString(!n),n))}ev.current=eE;var ey=r.useMemo(function(){return W(m)},[m,L]),eI=r.useMemo(function(){return W(g)},[g,L]),ex=r.useMemo(function(){return!(!ey||!ep||ep.isInvalidate())&&ey.lessEquals(ep)},[ey,ep]),ek=r.useMemo(function(){return!(!eI||!ep||ep.isInvalidate())&&ep.lessEquals(eI)},[eI,ep]),eR=(t=er.current,a=(0,r.useRef)(null),[function(){try{var e=t.selectionStart,n=t.selectionEnd,r=t.value,i=r.substring(0,e),o=r.substring(n);a.current={start:e,end:n,value:r,beforeTxt:i,afterTxt:o}}catch(e){}},function(){if(t&&a.current&&eo)try{var e=t.value,n=a.current,r=n.beforeTxt,i=n.afterTxt,o=n.start,u=e.length;if(e.startsWith(r))u=r.length;else if(e.endsWith(i))u=e.length-a.current.afterTxt.length;else{var l=r[o-1],s=e.indexOf(l,o-1);-1!==s&&(u=s+1)}t.setSelectionRange(u,u)}catch(e){(0,Z.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(e.message))}}]),eZ=(0,d.Z)(eR,2),eO=eZ[0],eA=eZ[1],ej=function(e){return ey&&!e.lessEquals(ey)?ey:eI&&!eI.lessEquals(e)?eI:null},eC=function(e){return!ej(e)},eM=function(e,n){var t=e,r=eC(t)||t.isEmpty();if(t.isEmpty()||n||(t=ej(t)||t,r=!0),!x&&!$&&r){var a,i=t.toString(),o=em(i,n);return o>=0&&!eC(t=y(I(i,".",o)))&&(t=y(I(i,".",o,!0))),t.equals(ep)||(a=t,void 0===w&&eg(a),null==X||X(t.isEmpty()?null:T(q,t)),void 0===w&&e$(t,n)),t}return ep},e_=B(),eB=function e(n){if(eO(),ev.current=n,ew(n),!es.current){var t=y(eh(n));t.isNaN()||eM(t,!0)}null==V||V(n),e_(function(){var t=n;G||(t=n.replace(/。/g,".")),t!==n&&e(t)})},eF=function(e){if((!e||!ex)&&(e||!ek)){el.current=!1;var n,t=y(ec.current?M(v):v);e||(t=t.negate());var r=eM((ep||y(0)).add(t.toString()),!1);null==Q||Q(T(q,r),{offset:ec.current?M(v):v,type:e?"up":"down"}),null===(n=er.current)||void 0===n||n.focus()}},eD=function(e){var n,t=y(eh(eE));n=t.isNaN()?eM(ep,e):eM(t,e),void 0!==w?e$(ep,!1):n.isNaN()||e$(n,!1)};return r.useEffect(function(){if(D&&eo){var e=function(e){eF(e.deltaY<0),e.preventDefault()},n=er.current;if(n)return n.addEventListener("wheel",e,{passive:!1}),function(){return n.removeEventListener("wheel",e)}}}),(0,k.o)(function(){ep.isInvalidate()||e$(ep,!1)},[L,P]),(0,k.o)(function(){var e=y(w);eg(e);var n=y(eh(eE));e.equals(n)&&el.current&&!P||e$(e,el.current)},[w]),(0,k.o)(function(){P&&eA()},[eE]),r.createElement("div",{ref:ee,className:u()(i,o,(0,s.Z)((0,s.Z)((0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(i,"-focused"),eo),"".concat(i,"-disabled"),$),"".concat(i,"-readonly"),x),"".concat(i,"-not-a-number"),ep.isNaN()),"".concat(i,"-out-of-range"),!ep.isInvalidate()&&!eC(ep))),style:p,onFocus:function(){eu(!0)},onBlur:function(){J&&eD(!1),eu(!1),el.current=!1},onKeyDown:function(e){var n=e.key,t=e.shiftKey;el.current=!0,ec.current=t,"Enter"===n&&(es.current||(el.current=!1),eD(!1),null==K||K(e)),!1!==j&&!es.current&&["Up","ArrowUp","Down","ArrowDown"].includes(n)&&(eF("Up"===n||"ArrowUp"===n),e.preventDefault())},onKeyUp:function(){el.current=!1,ec.current=!1},onCompositionStart:function(){es.current=!0},onCompositionEnd:function(){es.current=!1,eB(er.current.value)},onBeforeInput:function(){el.current=!0}},H&&r.createElement(C,{prefixCls:i,upNode:O,downNode:A,upDisabled:ex,downDisabled:ek,onStep:eF}),r.createElement("div",{className:"".concat(et,"-wrap")},r.createElement("input",(0,l.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":g,"aria-valuemax":m,"aria-valuenow":ep.isInvalidate()?null:ep.toString(),step:v},en,{ref:(0,R.sQ)(er,n),className:et,value:eE,onChange:function(e){eB(e.target.value)},disabled:$,readOnly:x}))))}),H=r.forwardRef(function(e,n){var t=e.disabled,a=e.style,i=e.prefixCls,o=void 0===i?"rc-input-number":i,u=e.value,s=e.prefix,c=e.suffix,d=e.addonBefore,p=e.addonAfter,g=e.className,m=e.classNames,h=(0,f.Z)(e,D),v=r.useRef(null),b=r.useRef(null),N=r.useRef(null);return r.useImperativeHandle(n,function(){var e,n;return e=N.current,n={nativeElement:v.current.nativeElement||b.current},"undefined"!=typeof Proxy&&e?new Proxy(e,{get:function(e,t){if(n[t])return n[t];var r=e[t];return"function"==typeof r?r.bind(e):r}}):e}),r.createElement(x.Q,{className:g,triggerFocus:function(e){N.current&&(0,_.nH)(N.current,e)},prefixCls:o,value:u,disabled:t,style:a,prefix:s,suffix:c,addonAfter:p,addonBefore:d,classNames:m,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:v},r.createElement(z,(0,l.Z)({prefixCls:o,disabled:t,ref:N,domRef:b,className:null==m?void 0:m.input},h)))}),q=t(53296),G=t(40690),P=t(63346),L=t(42518),U=t(3482),X=t(95227),V=t(82014),K=t(13859),Q=t(25641),Y=t(80214),J=t(38083),ee=t(44589),en=t(2835),et=t(97078),er=t(60848),ea=t(31909),ei=t(90102),eo=t(74934),eu=t(51084);let el=(e,n)=>{let{componentCls:t,borderRadiusSM:r,borderRadiusLG:a}=e,i="lg"===n?a:r;return{[`&-${n}`]:{[`${t}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${t}-handler-up`]:{borderStartEndRadius:i},[`${t}-handler-down`]:{borderEndEndRadius:i}}}},es=e=>{let{componentCls:n,lineWidth:t,lineType:r,borderRadius:a,inputFontSizeSM:i,inputFontSizeLG:o,controlHeightLG:u,controlHeightSM:l,colorError:s,paddingInlineSM:c,paddingBlockSM:d,paddingBlockLG:f,paddingInlineLG:p,colorTextDescription:g,motionDurationMid:m,handleHoverColor:h,handleOpacity:v,paddingInline:b,paddingBlock:N,handleBg:S,handleActiveBg:E,colorTextDisabled:w,borderRadiusSM:$,borderRadiusLG:y,controlWidth:I,handleBorderColor:x,filledHandleBg:k,lineHeightLG:R,calc:Z}=e;return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,er.Wf)(e)),(0,ee.ik)(e)),{display:"inline-block",width:I,margin:0,padding:0,borderRadius:a}),(0,et.qG)(e,{[`${n}-handler-wrap`]:{background:S,[`${n}-handler-down`]:{borderBlockStart:`${(0,J.bf)(t)} ${r} ${x}`}}})),(0,et.H8)(e,{[`${n}-handler-wrap`]:{background:k,[`${n}-handler-down`]:{borderBlockStart:`${(0,J.bf)(t)} ${r} ${x}`}},"&:focus-within":{[`${n}-handler-wrap`]:{background:S}}})),(0,et.Mu)(e)),{"&-rtl":{direction:"rtl",[`${n}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,lineHeight:R,borderRadius:y,[`input${n}-input`]:{height:Z(u).sub(Z(t).mul(2)).equal(),padding:`${(0,J.bf)(f)} ${(0,J.bf)(p)}`}},"&-sm":{padding:0,fontSize:i,borderRadius:$,[`input${n}-input`]:{height:Z(l).sub(Z(t).mul(2)).equal(),padding:`${(0,J.bf)(d)} ${(0,J.bf)(c)}`}},"&-out-of-range":{[`${n}-input-wrap`]:{input:{color:s}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,er.Wf)(e)),(0,ee.s7)(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${n}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${n}-group-addon`]:{borderRadius:y,fontSize:e.fontSizeLG}},"&-sm":{[`${n}-group-addon`]:{borderRadius:$}}},(0,et.ir)(e)),(0,et.S5)(e)),{[`&:not(${n}-compact-first-item):not(${n}-compact-last-item)${n}-compact-item`]:{[`${n}, ${n}-group-addon`]:{borderRadius:0}},[`&:not(${n}-compact-last-item)${n}-compact-first-item`]:{[`${n}, ${n}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${n}-compact-first-item)${n}-compact-last-item`]:{[`${n}, ${n}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${n}-input`]:{cursor:"not-allowed"},[n]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,er.Wf)(e)),{width:"100%",padding:`${(0,J.bf)(N)} ${(0,J.bf)(b)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${m} linear`,appearance:"textfield",fontSize:"inherit"}),(0,ee.nz)(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})},[`&:hover ${n}-handler-wrap, &-focused ${n}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[n]:Object.assign(Object.assign(Object.assign({[`${n}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:0,opacity:v,height:"100%",borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${m}`,overflow:"hidden",[`${n}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${n}-handler-up-inner, + ${n}-handler-down-inner + `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${n}-handler`]:{height:"50%",overflow:"hidden",color:g,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,J.bf)(t)} ${r} ${x}`,transition:`all ${m} linear`,"&:active":{background:E},"&:hover":{height:"60%",[` + ${n}-handler-up-inner, + ${n}-handler-down-inner + `]:{color:h}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,er.Ro)()),{color:g,transition:`all ${m} linear`,userSelect:"none"})},[`${n}-handler-up`]:{borderStartEndRadius:a},[`${n}-handler-down`]:{borderEndEndRadius:a}},el(e,"lg")),el(e,"sm")),{"&-disabled, &-readonly":{[`${n}-handler-wrap`]:{display:"none"},[`${n}-input`]:{color:"inherit"}},[` + ${n}-handler-up-disabled, + ${n}-handler-down-disabled + `]:{cursor:"not-allowed"},[` + ${n}-handler-up-disabled:hover &-handler-up-inner, + ${n}-handler-down-disabled:hover &-handler-down-inner + `]:{color:w}})}]},ec=e=>{let{componentCls:n,paddingBlock:t,paddingInline:r,inputAffixPadding:a,controlWidth:i,borderRadiusLG:o,borderRadiusSM:u,paddingInlineLG:l,paddingInlineSM:s,paddingBlockLG:c,paddingBlockSM:d,motionDurationMid:f}=e;return{[`${n}-affix-wrapper`]:Object.assign(Object.assign({[`input${n}-input`]:{padding:`${(0,J.bf)(t)} 0`}},(0,ee.ik)(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:o,paddingInlineStart:l,[`input${n}-input`]:{padding:`${(0,J.bf)(c)} 0`}},"&-sm":{borderRadius:u,paddingInlineStart:s,[`input${n}-input`]:{padding:`${(0,J.bf)(d)} 0`}},[`&:not(${n}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${n}-disabled`]:{background:"transparent"},[`> div${n}`]:{width:"100%",border:"none",outline:"none",[`&${n}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${n}-handler-wrap`]:{zIndex:2},[n]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:a,transition:`margin ${f}`}},[`&:hover ${n}-handler-wrap, &-focused ${n}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:hover ${n}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}})}};var ed=(0,ei.I$)("InputNumber",e=>{let n=(0,eo.IX)(e,(0,en.e)(e));return[es(n),ec(n),(0,ea.c)(n)]},e=>{var n;let t=null!==(n=e.handleVisible)&&void 0!==n?n:"auto";return Object.assign(Object.assign({},(0,en.T)(e)),{controlWidth:90,handleWidth:e.controlHeightSM-2*e.lineWidth,handleFontSize:e.fontSize/2,handleVisible:t,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new eu.C(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:!0===t?1:0})},{unitless:{handleOpacity:!0}}),ef=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);an.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]]);return t};let ep=r.forwardRef((e,n)=>{let{getPrefixCls:t,direction:o}=r.useContext(P.E_),l=r.useRef(null);r.useImperativeHandle(n,()=>l.current);let{className:s,rootClassName:c,size:d,disabled:f,prefixCls:p,addonBefore:g,addonAfter:m,prefix:h,suffix:v,bordered:b,readOnly:N,status:S,controls:E,variant:w}=e,$=ef(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),y=t("input-number",p),I=(0,X.Z)(y),[x,k,R]=ed(y,I),{compactSize:Z,compactItemClassnames:O}=(0,Y.ri)(y,o),A=r.createElement(i.Z,{className:`${y}-handler-up-inner`}),j=r.createElement(a.Z,{className:`${y}-handler-down-inner`});"object"==typeof E&&(A=void 0===E.upIcon?A:r.createElement("span",{className:`${y}-handler-up-inner`},E.upIcon),j=void 0===E.downIcon?j:r.createElement("span",{className:`${y}-handler-down-inner`},E.downIcon));let{hasFeedback:C,status:M,isFormItemInput:_,feedbackIcon:B}=r.useContext(K.aM),F=(0,G.F)(M,S),D=(0,V.Z)(e=>{var n;return null!==(n=null!=d?d:Z)&&void 0!==n?n:e}),T=r.useContext(U.Z),[W,z]=(0,Q.Z)("inputNumber",w,b),L=C&&r.createElement(r.Fragment,null,B),J=u()({[`${y}-lg`]:"large"===D,[`${y}-sm`]:"small"===D,[`${y}-rtl`]:"rtl"===o,[`${y}-in-form-item`]:_},k),ee=`${y}-group`,en=r.createElement(H,Object.assign({ref:l,disabled:null!=f?f:T,className:u()(R,I,s,c,O),upHandler:A,downHandler:j,prefixCls:y,readOnly:N,controls:"boolean"==typeof E?E:void 0,prefix:h,suffix:L||v,addonBefore:g&&r.createElement(q.Z,{form:!0,space:!0},g),addonAfter:m&&r.createElement(q.Z,{form:!0,space:!0},m),classNames:{input:J,variant:u()({[`${y}-${W}`]:z},(0,G.Z)(y,F,C)),affixWrapper:u()({[`${y}-affix-wrapper-sm`]:"small"===D,[`${y}-affix-wrapper-lg`]:"large"===D,[`${y}-affix-wrapper-rtl`]:"rtl"===o},k),wrapper:u()({[`${ee}-rtl`]:"rtl"===o},k),groupWrapper:u()({[`${y}-group-wrapper-sm`]:"small"===D,[`${y}-group-wrapper-lg`]:"large"===D,[`${y}-group-wrapper-rtl`]:"rtl"===o,[`${y}-group-wrapper-${W}`]:z},(0,G.Z)(`${y}-group-wrapper`,F,C),k)}},$));return x(en)});ep._InternalPanelDoNotUseOrYouWillBeFired=e=>r.createElement(L.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},r.createElement(ep,Object.assign({},e)));var eg=ep}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1320-a81e1ffe23c958e2.js b/dbgpt/app/static/web/_next/static/chunks/1320-a81e1ffe23c958e2.js new file mode 100644 index 000000000..61e142b8a --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1320-a81e1ffe23c958e2.js @@ -0,0 +1,16 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1320],{76281:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},l=n(55032),a=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},15713:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},l=n(55032),a=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},91320:function(e,t,n){n.d(t,{Z:function(){return en}});var i=n(38497),o=n(76281),r=n(15713),l=n(72097),a=n(86944),c=n(26869),s=n.n(c),m=n(65148),u=n(42096),d=n(14433),p=n(4247),g=n(65347),b=n(77757),v=n(16956),h=n(66168);n(89842);var f={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},$=["10","20","50","100"],C=function(e){var t=e.pageSizeOptions,n=void 0===t?$:t,o=e.locale,r=e.changeSize,l=e.pageSize,a=e.goButton,c=e.quickGo,s=e.rootPrefixCls,m=e.selectComponentClass,u=e.selectPrefixCls,d=e.disabled,p=e.buildOptionText,b=i.useState(""),h=(0,g.Z)(b,2),f=h[0],C=h[1],S=function(){return!f||Number.isNaN(f)?void 0:Number(f)},k="function"==typeof p?p:function(e){return"".concat(e," ").concat(o.items_per_page)},y=function(e){""!==f&&(e.keyCode===v.Z.ENTER||"click"===e.type)&&(C(""),null==c||c(S()))},x="".concat(s,"-options");if(!r&&!c)return null;var E=null,N=null,j=null;if(r&&m){var z=(n.some(function(e){return e.toString()===l.toString()})?n:n.concat([l.toString()]).sort(function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))})).map(function(e,t){return i.createElement(m.Option,{key:t,value:e.toString()},k(e))});E=i.createElement(m,{disabled:d,prefixCls:u,showSearch:!1,className:"".concat(x,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(l||n[0]).toString(),onChange:function(e){null==r||r(Number(e))},getPopupContainer:function(e){return e.parentNode},"aria-label":o.page_size,defaultOpen:!1},z)}return c&&(a&&(j="boolean"==typeof a?i.createElement("button",{type:"button",onClick:y,onKeyUp:y,disabled:d,className:"".concat(x,"-quick-jumper-button")},o.jump_to_confirm):i.createElement("span",{onClick:y,onKeyUp:y},a)),N=i.createElement("div",{className:"".concat(x,"-quick-jumper")},o.jump_to,i.createElement("input",{disabled:d,type:"text",value:f,onChange:function(e){C(e.target.value)},onKeyUp:y,onBlur:function(e){!a&&""!==f&&(C(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(s,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(s,"-item"))>=0)||null==c||c(S()))},"aria-label":o.page}),o.page,j)),i.createElement("li",{className:x},E,N)},S=function(e){var t,n=e.rootPrefixCls,o=e.page,r=e.active,l=e.className,a=e.showTitle,c=e.onClick,u=e.onKeyPress,d=e.itemRender,p="".concat(n,"-item"),g=s()(p,"".concat(p,"-").concat(o),(t={},(0,m.Z)(t,"".concat(p,"-active"),r),(0,m.Z)(t,"".concat(p,"-disabled"),!o),t),l),b=d(o,"page",i.createElement("a",{rel:"nofollow"},o));return b?i.createElement("li",{title:a?String(o):null,className:g,onClick:function(){c(o)},onKeyDown:function(e){u(e,c,o)},tabIndex:0},b):null},k=function(e,t,n){return n};function y(){}function x(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function E(e,t,n){return Math.floor((n-1)/(void 0===e?t:e))+1}var N=function(e){var t,n,o,r,l,a=e.prefixCls,c=void 0===a?"rc-pagination":a,$=e.selectPrefixCls,N=e.className,j=e.selectComponentClass,z=e.current,O=e.defaultCurrent,B=e.total,M=void 0===B?0:B,w=e.pageSize,Z=e.defaultPageSize,I=e.onChange,P=void 0===I?y:I,T=e.hideOnSinglePage,D=e.align,H=e.showPrevNextJumpers,_=e.showQuickJumper,A=e.showLessItems,R=e.showTitle,L=void 0===R||R,W=e.onShowSizeChange,X=void 0===W?y:W,q=e.locale,K=void 0===q?f:q,U=e.style,F=e.totalBoundaryShowSizeChanger,G=e.disabled,J=e.simple,Q=e.showTotal,V=e.showSizeChanger,Y=e.pageSizeOptions,ee=e.itemRender,et=void 0===ee?k:ee,en=e.jumpPrevIcon,ei=e.jumpNextIcon,eo=e.prevIcon,er=e.nextIcon,el=i.useRef(null),ea=(0,b.Z)(10,{value:w,defaultValue:void 0===Z?10:Z}),ec=(0,g.Z)(ea,2),es=ec[0],em=ec[1],eu=(0,b.Z)(1,{value:z,defaultValue:void 0===O?1:O,postState:function(e){return Math.max(1,Math.min(e,E(void 0,es,M)))}}),ed=(0,g.Z)(eu,2),ep=ed[0],eg=ed[1],eb=i.useState(ep),ev=(0,g.Z)(eb,2),eh=ev[0],ef=ev[1];(0,i.useEffect)(function(){ef(ep)},[ep]);var e$=Math.max(1,ep-(A?3:5)),eC=Math.min(E(void 0,es,M),ep+(A?3:5));function eS(t,n){var o=t||i.createElement("button",{type:"button","aria-label":n,className:"".concat(c,"-item-link")});return"function"==typeof t&&(o=i.createElement(t,(0,p.Z)({},e))),o}function ek(e){var t=e.target.value,n=E(void 0,es,M);return""===t?t:Number.isNaN(Number(t))?eh:t>=n?n:Number(t)}var ey=M>es&&_;function ex(e){var t=ek(e);switch(t!==eh&&ef(t),e.keyCode){case v.Z.ENTER:eE(t);break;case v.Z.UP:eE(t-1);break;case v.Z.DOWN:eE(t+1)}}function eE(e){if(x(e)&&e!==ep&&x(M)&&M>0&&!G){var t=E(void 0,es,M),n=e;return e>t?n=t:e<1&&(n=1),n!==eh&&ef(n),eg(n),null==P||P(n,es),n}return ep}var eN=ep>1,ej=ep(void 0===F?50:F);function eO(){eN&&eE(ep-1)}function eB(){ej&&eE(ep+1)}function eM(){eE(e$)}function ew(){eE(eC)}function eZ(e,t){if("Enter"===e.key||e.charCode===v.Z.ENTER||e.keyCode===v.Z.ENTER){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;oM?M:ep*es])),eH=null,e_=E(void 0,es,M);if(T&&M<=es)return null;var eA=[],eR={rootPrefixCls:c,onClick:eE,onKeyPress:eZ,showTitle:L,itemRender:et,page:-1},eL=ep-1>0?ep-1:0,eW=ep+1=2*eF&&3!==ep&&(eA[0]=i.cloneElement(eA[0],{className:s()("".concat(c,"-item-after-jump-prev"),eA[0].props.className)}),eA.unshift(eP)),e_-ep>=2*eF&&ep!==e_-2){var e3=eA[eA.length-1];eA[eA.length-1]=i.cloneElement(e3,{className:s()("".concat(c,"-item-before-jump-next"),e3.props.className)}),eA.push(eH)}1!==e0&&eA.unshift(i.createElement(S,(0,u.Z)({},eR,{key:1,page:1}))),e1!==e_&&eA.push(i.createElement(S,(0,u.Z)({},eR,{key:e_,page:e_})))}var e9=(t=et(eL,"prev",eS(eo,"prev page")),i.isValidElement(t)?i.cloneElement(t,{disabled:!eN}):t);if(e9){var e6=!eN||!e_;e9=i.createElement("li",{title:L?K.prev_page:null,onClick:eO,tabIndex:e6?null:0,onKeyDown:function(e){eZ(e,eO)},className:s()("".concat(c,"-prev"),(0,m.Z)({},"".concat(c,"-disabled"),e6)),"aria-disabled":e6},e9)}var e7=(n=et(eW,"next",eS(er,"next page")),i.isValidElement(n)?i.cloneElement(n,{disabled:!ej}):n);e7&&(J?(r=!ej,l=eN?0:null):l=(r=!ej||!e_)?null:0,e7=i.createElement("li",{title:L?K.next_page:null,onClick:eB,tabIndex:l,onKeyDown:function(e){eZ(e,eB)},className:s()("".concat(c,"-next"),(0,m.Z)({},"".concat(c,"-disabled"),r)),"aria-disabled":r},e7));var e4=s()(c,N,(o={},(0,m.Z)(o,"".concat(c,"-start"),"start"===D),(0,m.Z)(o,"".concat(c,"-center"),"center"===D),(0,m.Z)(o,"".concat(c,"-end"),"end"===D),(0,m.Z)(o,"".concat(c,"-simple"),J),(0,m.Z)(o,"".concat(c,"-disabled"),G),o));return i.createElement("ul",(0,u.Z)({className:e4,style:U,ref:el},eT),eD,e9,J?eU:eA,e7,i.createElement(C,{locale:K,rootPrefixCls:c,disabled:G,selectComponentClass:j,selectPrefixCls:void 0===$?"rc-select":$,changeSize:ez?function(e){var t=E(e,es,M),n=ep>t&&0!==t?t:ep;em(e),ef(n),null==X||X(ep,e),eg(n),null==P||P(n,e)}:null,pageSize:es,pageSizeOptions:Y,quickGo:ey?eE:null,goButton:eK}))},j=n(35114),z=n(63346),O=n(82014),B=n(81349),M=n(61261),w=n(73098),Z=n(39069);let I=e=>i.createElement(Z.default,Object.assign({},e,{showSearch:!0,size:"small"})),P=e=>i.createElement(Z.default,Object.assign({},e,{showSearch:!0,size:"middle"}));I.Option=Z.default.Option,P.Option=Z.default.Option;var T=n(38083),D=n(44589),H=n(2835),_=n(97078),A=n(60848),R=n(74934),L=n(90102);let W=e=>{let{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},X=e=>{let{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:(0,T.bf)(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,T.bf)(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,T.bf)(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` + &${t}-mini ${t}-prev ${t}-item-link, + &${t}-mini ${t}-next ${t}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:(0,T.bf)(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,T.bf)(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:(0,T.bf)(e.itemSizeSM),input:Object.assign(Object.assign({},(0,D.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},q=e=>{let{componentCls:t}=e;return{[` + &${t}-simple ${t}-prev, + &${t}-simple ${t}-next + `]:{height:e.itemSizeSM,lineHeight:(0,T.bf)(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:(0,T.bf)(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,T.bf)(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${(0,T.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${(0,T.bf)(e.inputOutlineOffset)} 0 ${(0,T.bf)(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},K=e=>{let{componentCls:t,antCls:n}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` + ${t}-prev, + ${t}-jump-prev, + ${t}-jump-next + `]:{marginInlineEnd:e.marginXS},[` + ${t}-prev, + ${t}-next, + ${t}-jump-prev, + ${t}-jump-next + `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:(0,T.bf)(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,T.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto",[`${n}-select-arrow:not(:last-child)`]:{opacity:1}},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:(0,T.bf)(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,D.ik)(e)),(0,_.$U)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},(0,_.Xy)(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},U=e=>{let{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:(0,T.bf)(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${(0,T.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,T.bf)(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},F=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,A.Wf)(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:(0,T.bf)(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),U(e)),K(e)),q(e)),X(e)),W(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},G=e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},(0,A.Qy)(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},(0,A.oN)(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},(0,A.oN)(e))}}}},J=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},(0,H.T)(e)),Q=e=>(0,R.IX)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,H.e)(e));var V=(0,L.I$)("Pagination",e=>{let t=Q(e);return[F(t),G(t)]},J);let Y=e=>{let{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${(0,T.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}};var ee=(0,L.bk)(["Pagination","bordered"],e=>{let t=Q(e);return[Y(t)]},J),et=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n},en=e=>{let{align:t,prefixCls:n,selectPrefixCls:c,className:m,rootClassName:u,style:d,size:p,locale:g,selectComponentClass:b,responsive:v,showSizeChanger:h}=e,f=et(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:$}=(0,B.Z)(v),[,C]=(0,w.ZP)(),{getPrefixCls:S,direction:k,pagination:y={}}=i.useContext(z.E_),x=S("pagination",n),[E,Z,T]=V(x),D=null!=h?h:y.showSizeChanger,H=i.useMemo(()=>{let e=i.createElement("span",{className:`${x}-item-ellipsis`},"•••"),t=i.createElement("button",{className:`${x}-item-link`,type:"button",tabIndex:-1},"rtl"===k?i.createElement(a.Z,null):i.createElement(l.Z,null)),n=i.createElement("button",{className:`${x}-item-link`,type:"button",tabIndex:-1},"rtl"===k?i.createElement(l.Z,null):i.createElement(a.Z,null)),c=i.createElement("a",{className:`${x}-item-link`},i.createElement("div",{className:`${x}-item-container`},"rtl"===k?i.createElement(r.Z,{className:`${x}-item-link-icon`}):i.createElement(o.Z,{className:`${x}-item-link-icon`}),e)),s=i.createElement("a",{className:`${x}-item-link`},i.createElement("div",{className:`${x}-item-container`},"rtl"===k?i.createElement(o.Z,{className:`${x}-item-link-icon`}):i.createElement(r.Z,{className:`${x}-item-link-icon`}),e));return{prevIcon:t,nextIcon:n,jumpPrevIcon:c,jumpNextIcon:s}},[k,x]),[_]=(0,M.Z)("Pagination",j.Z),A=Object.assign(Object.assign({},_),g),R=(0,O.Z)(p),L="small"===R||!!($&&!R&&v),W=S("select",c),X=s()({[`${x}-${t}`]:!!t,[`${x}-mini`]:L,[`${x}-rtl`]:"rtl"===k,[`${x}-bordered`]:C.wireframe},null==y?void 0:y.className,m,u,Z,T),q=Object.assign(Object.assign({},null==y?void 0:y.style),d);return E(i.createElement(i.Fragment,null,C.wireframe&&i.createElement(ee,{prefixCls:x}),i.createElement(N,Object.assign({},H,f,{style:q,prefixCls:x,selectPrefixCls:W,className:X,selectComponentClass:b||(L?I:P),locale:A,showSizeChanger:D}))))}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1520-fe8ab18ecd4152ef.js b/dbgpt/app/static/web/_next/static/chunks/1520-fe8ab18ecd4152ef.js new file mode 100644 index 000000000..6634407f7 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1520-fe8ab18ecd4152ef.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1520,7661,9788,1708,9383,100,9305,2117],{96890:function(e,t,r){r.d(t,{Z:function(){return u}});var n=r(42096),o=r(10921),l=r(38497),a=r(42834),c=["type","children"],i=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[t];if("string"==typeof r&&r.length&&!i.has(r)){var n=document.createElement("script");n.setAttribute("src",r),n.setAttribute("data-namespace",r),e.length>t+1&&(n.onload=function(){s(e,t+1)},n.onerror=function(){s(e,t+1)}),i.add(r),document.body.appendChild(n)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,r=e.extraCommonProps,i=void 0===r?{}:r;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var u=l.forwardRef(function(e,t){var r=e.type,s=e.children,u=(0,o.Z)(e,c),f=null;return e.type&&(f=l.createElement("use",{xlinkHref:"#".concat(r)})),s&&(f=s),l.createElement(a.Z,(0,n.Z)({},i,u,{ref:t}),f)});return u.displayName="Iconfont",u}},67620:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},74552:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},98028:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},71534:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},16559:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},1858:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},72828:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},31676:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},32857:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},54537:function(e,t,r){var n=r(38497);let o=(0,n.createContext)({});t.Z=o},98606:function(e,t,r){var n=r(38497),o=r(26869),l=r.n(o),a=r(63346),c=r(54537),i=r(54009),s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function u(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let f=["xs","sm","md","lg","xl","xxl"],d=n.forwardRef((e,t)=>{let{getPrefixCls:r,direction:o}=n.useContext(a.E_),{gutter:d,wrap:p}=n.useContext(c.Z),{prefixCls:g,span:h,order:m,offset:b,push:v,pull:$,className:y,children:x,flex:C,style:w}=e,O=s(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=r("col",g),[k,E,Z]=(0,i.cG)(j),S={},H={};f.forEach(t=>{let r={},n=e[t];"number"==typeof n?r.span=n:"object"==typeof n&&(r=n||{}),delete O[t],H=Object.assign(Object.assign({},H),{[`${j}-${t}-${r.span}`]:void 0!==r.span,[`${j}-${t}-order-${r.order}`]:r.order||0===r.order,[`${j}-${t}-offset-${r.offset}`]:r.offset||0===r.offset,[`${j}-${t}-push-${r.push}`]:r.push||0===r.push,[`${j}-${t}-pull-${r.pull}`]:r.pull||0===r.pull,[`${j}-rtl`]:"rtl"===o}),r.flex&&(H[`${j}-${t}-flex`]=!0,S[`--${j}-${t}-flex`]=u(r.flex))});let M=l()(j,{[`${j}-${h}`]:void 0!==h,[`${j}-order-${m}`]:m,[`${j}-offset-${b}`]:b,[`${j}-push-${v}`]:v,[`${j}-pull-${$}`]:$},y,H,E,Z),z={};if(d&&d[0]>0){let e=d[0]/2;z.paddingLeft=e,z.paddingRight=e}return C&&(z.flex=u(C),!1!==p||z.minWidth||(z.minWidth=0)),k(n.createElement("div",Object.assign({},O,{style:Object.assign(Object.assign(Object.assign({},z),w),S),className:M,ref:t}),x))});t.Z=d},22698:function(e,t,r){var n=r(38497),o=r(26869),l=r.n(o),a=r(30432),c=r(63346),i=r(54537),s=r(54009),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function f(e,t){let[r,o]=n.useState("string"==typeof e?e:""),l=()=>{if("string"==typeof e&&o(e),"object"==typeof e)for(let r=0;r{l()},[JSON.stringify(e),t]),r}let d=n.forwardRef((e,t)=>{let{prefixCls:r,justify:o,align:d,className:p,style:g,children:h,gutter:m=0,wrap:b}=e,v=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:$,direction:y}=n.useContext(c.E_),[x,C]=n.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[w,O]=n.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),j=f(d,w),k=f(o,w),E=n.useRef(m),Z=(0,a.ZP)();n.useEffect(()=>{let e=Z.subscribe(e=>{O(e);let t=E.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&C(e)});return()=>Z.unsubscribe(e)},[]);let S=$("row",r),[H,M,z]=(0,s.VM)(S),I=(()=>{let e=[void 0,void 0],t=Array.isArray(m)?m:[m,void 0];return t.forEach((t,r)=>{if("object"==typeof t)for(let n=0;n0?-(I[0]/2):void 0;V&&(B.marginLeft=V,B.marginRight=V);let[R,L]=I;B.rowGap=L;let N=n.useMemo(()=>({gutter:[R,L],wrap:b}),[R,L,b]);return H(n.createElement(i.Z.Provider,{value:N},n.createElement("div",Object.assign({},v,{className:P,style:Object.assign(Object.assign({},B),g),ref:t}),h)))});t.Z=d},54009:function(e,t,r){r.d(t,{VM:function(){return u},cG:function(){return f}});var n=r(38083),o=r(90102),l=r(74934);let a=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},c=(e,t)=>{let{prefixCls:r,componentCls:n,gridColumns:o}=e,l={};for(let e=o;e>=0;e--)0===e?(l[`${n}${t}-${e}`]={display:"none"},l[`${n}-push-${e}`]={insetInlineStart:"auto"},l[`${n}-pull-${e}`]={insetInlineEnd:"auto"},l[`${n}${t}-push-${e}`]={insetInlineStart:"auto"},l[`${n}${t}-pull-${e}`]={insetInlineEnd:"auto"},l[`${n}${t}-offset-${e}`]={marginInlineStart:0},l[`${n}${t}-order-${e}`]={order:0}):(l[`${n}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/o*100}%`,maxWidth:`${e/o*100}%`}],l[`${n}${t}-push-${e}`]={insetInlineStart:`${e/o*100}%`},l[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/o*100}%`},l[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/o*100}%`},l[`${n}${t}-order-${e}`]={order:e});return l[`${n}${t}-flex`]={flex:`var(--${r}${t}-flex)`},l},i=(e,t)=>c(e,t),s=(e,t,r)=>({[`@media (min-width: ${(0,n.bf)(t)})`]:Object.assign({},i(e,r))}),u=(0,o.I$)("Grid",e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},()=>({})),f=(0,o.I$)("Grid",e=>{let t=(0,l.IX)(e,{gridColumns:24}),r={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[a(t),i(t,""),i(t,"-xs"),Object.keys(r).map(e=>s(t,r[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},49030:function(e,t,r){r.d(t,{Z:function(){return H}});var n=r(38497),o=r(26869),l=r.n(o),a=r(55598),c=r(55853),i=r(35883),s=r(55091),u=r(37243),f=r(63346),d=r(38083),p=r(51084),g=r(60848),h=r(74934),m=r(90102);let b=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o,calc:l}=e,a=l(n).sub(r).equal(),c=l(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,d.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:c,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,o=e.fontSizeSM,l=(0,h.IX)(e,{tagFontSize:o,tagLineHeight:(0,d.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return l},$=e=>({defaultBg:new p.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,m.I$)("Tag",e=>{let t=v(e);return b(t)},$),x=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let C=n.forwardRef((e,t)=>{let{prefixCls:r,style:o,className:a,checked:c,onChange:i,onClick:s}=e,u=x(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:d,tag:p}=n.useContext(f.E_),g=d("tag",r),[h,m,b]=y(g),v=l()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:c},null==p?void 0:p.className,a,m,b);return h(n.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==p?void 0:p.style),className:v,onClick:e=>{null==i||i(!c),null==s||s(e)}})))});var w=r(86553);let O=e=>(0,w.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:l,darkColor:a}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:l,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var j=(0,m.bk)(["Tag","preset"],e=>{let t=v(e);return O(t)},$);let k=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var E=(0,m.bk)(["Tag","status"],e=>{let t=v(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},$),Z=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let S=n.forwardRef((e,t)=>{let{prefixCls:r,className:o,rootClassName:d,style:p,children:g,icon:h,color:m,onClose:b,bordered:v=!0,visible:$}=e,x=Z(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:C,direction:w,tag:O}=n.useContext(f.E_),[k,S]=n.useState(!0),H=(0,a.Z)(x,["closeIcon","closable"]);n.useEffect(()=>{void 0!==$&&S($)},[$]);let M=(0,c.o2)(m),z=(0,c.yT)(m),I=M||z,P=Object.assign(Object.assign({backgroundColor:m&&!I?m:void 0},null==O?void 0:O.style),p),B=C("tag",r),[V,R,L]=y(B),N=l()(B,null==O?void 0:O.className,{[`${B}-${m}`]:I,[`${B}-has-color`]:m&&!I,[`${B}-hidden`]:!k,[`${B}-rtl`]:"rtl"===w,[`${B}-borderless`]:!v},o,d,R,L),A=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||S(!1)},[,T]=(0,i.Z)((0,i.w)(e),(0,i.w)(O),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${B}-close-icon`,onClick:A},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),A(t)},className:l()(null==e?void 0:e.className,`${B}-close-icon`)}))}}),W="function"==typeof x.onClick||g&&"a"===g.type,_=h||null,G=_?n.createElement(n.Fragment,null,_,g&&n.createElement("span",null,g)):g,X=n.createElement("span",Object.assign({},H,{ref:t,className:N,style:P}),G,T,M&&n.createElement(j,{key:"preset",prefixCls:B}),z&&n.createElement(E,{key:"status",prefixCls:B}));return V(W?n.createElement(u.Z,{component:"Tag"},X):X)});S.CheckableTag=C;var H=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1538-f90fcaa96cc094bf.js b/dbgpt/app/static/web/_next/static/chunks/1538-f90fcaa96cc094bf.js new file mode 100644 index 000000000..52b6cc3fa --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1538-f90fcaa96cc094bf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1538,9790],{67620:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},i=r(55032),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},6873:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},i=r(55032),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},98028:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},i=r(55032),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},71534:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},i=r(55032),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},3936:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},i=r(55032),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},1858:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},i=r(55032),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},72828:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},i=r(55032),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},31676:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},i=r(55032),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},32857:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},i=r(55032),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},49030:function(e,t,r){r.d(t,{Z:function(){return O}});var n=r(38497),o=r(26869),a=r.n(o),i=r(55598),l=r(55853),c=r(35883),s=r(55091),u=r(37243),h=r(63346),f=r(38083),d=r(51084),g=r(60848),p=r(74934),m=r(90102);let b=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o,calc:a}=e,i=a(n).sub(r).equal(),l=a(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,o=e.fontSizeSM,a=(0,p.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},y=e=>({defaultBg:new d.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var w=(0,m.I$)("Tag",e=>{let t=v(e);return b(t)},y),$=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let k=n.forwardRef((e,t)=>{let{prefixCls:r,style:o,className:i,checked:l,onChange:c,onClick:s}=e,u=$(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:d}=n.useContext(h.E_),g=f("tag",r),[p,m,b]=w(g),v=a()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:l},null==d?void 0:d.className,i,m,b);return p(n.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==d?void 0:d.style),className:v,onClick:e=>{null==c||c(!l),null==s||s(e)}})))});var x=r(86553);let C=e=>(0,x.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:a,darkColor:i}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var N=(0,m.bk)(["Tag","preset"],e=>{let t=v(e);return C(t)},y);let Z=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var E=(0,m.bk)(["Tag","status"],e=>{let t=v(e);return[Z(t,"success","Success"),Z(t,"processing","Info"),Z(t,"error","Error"),Z(t,"warning","Warning")]},y),M=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let H=n.forwardRef((e,t)=>{let{prefixCls:r,className:o,rootClassName:f,style:d,children:g,icon:p,color:m,onClose:b,bordered:v=!0,visible:y}=e,$=M(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:k,direction:x,tag:C}=n.useContext(h.E_),[Z,H]=n.useState(!0),O=(0,i.Z)($,["closeIcon","closable"]);n.useEffect(()=>{void 0!==y&&H(y)},[y]);let z=(0,l.o2)(m),_=(0,l.yT)(m),S=z||_,B=Object.assign(Object.assign({backgroundColor:m&&!S?m:void 0},null==C?void 0:C.style),d),R=k("tag",r),[j,P,T]=w(R),V=a()(R,null==C?void 0:C.className,{[`${R}-${m}`]:S,[`${R}-has-color`]:m&&!S,[`${R}-hidden`]:!Z,[`${R}-rtl`]:"rtl"===x,[`${R}-borderless`]:!v},o,f,P,T),I=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||H(!1)},[,q]=(0,c.Z)((0,c.w)(e),(0,c.w)(C),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${R}-close-icon`,onClick:I},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),I(t)},className:a()(null==e?void 0:e.className,`${R}-close-icon`)}))}}),L="function"==typeof $.onClick||g&&"a"===g.type,A=p||null,F=A?n.createElement(n.Fragment,null,A,g&&n.createElement("span",null,g)):g,D=n.createElement("span",Object.assign({},O,{ref:t,className:V,style:B}),F,q,z&&n.createElement(N,{key:"preset",prefixCls:R}),_&&n.createElement(E,{key:"status",prefixCls:R}));return j(L?n.createElement(u.Z,{component:"Tag"},D):D)});H.CheckableTag=k;var O=H},68053:function(e,t,r){r.d(t,{B8:function(){return C},Il:function(){return o},J5:function(){return i},SU:function(){return x},Ss:function(){return N},ZP:function(){return w},xV:function(){return a}});var n=r(59918);function o(){}var a=.7,i=1.4285714285714286,l="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",u=/^#([0-9a-f]{3,8})$/,h=RegExp(`^rgb\\(${l},${l},${l}\\)$`),f=RegExp(`^rgb\\(${s},${s},${s}\\)$`),d=RegExp(`^rgba\\(${l},${l},${l},${c}\\)$`),g=RegExp(`^rgba\\(${s},${s},${s},${c}\\)$`),p=RegExp(`^hsl\\(${c},${s},${s}\\)$`),m=RegExp(`^hsla\\(${c},${s},${s},${c}\\)$`),b={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function v(){return this.rgb().formatHex()}function y(){return this.rgb().formatRgb()}function w(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=u.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?$(t):3===r?new N(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?k(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?k(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=h.exec(e))?new N(t[1],t[2],t[3],1):(t=f.exec(e))?new N(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=d.exec(e))?k(t[1],t[2],t[3],t[4]):(t=g.exec(e))?k(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=p.exec(e))?z(t[1],t[2]/100,t[3]/100,1):(t=m.exec(e))?z(t[1],t[2]/100,t[3]/100,t[4]):b.hasOwnProperty(e)?$(b[e]):"transparent"===e?new N(NaN,NaN,NaN,0):null}function $(e){return new N(e>>16&255,e>>8&255,255&e,1)}function k(e,t,r,n){return n<=0&&(e=t=r=NaN),new N(e,t,r,n)}function x(e){return(e instanceof o||(e=w(e)),e)?(e=e.rgb(),new N(e.r,e.g,e.b,e.opacity)):new N}function C(e,t,r,n){return 1==arguments.length?x(e):new N(e,t,r,null==n?1:n)}function N(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function Z(){return`#${O(this.r)}${O(this.g)}${O(this.b)}`}function E(){let e=M(this.opacity);return`${1===e?"rgb(":"rgba("}${H(this.r)}, ${H(this.g)}, ${H(this.b)}${1===e?")":`, ${e})`}`}function M(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function H(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function O(e){return((e=H(e))<16?"0":"")+e.toString(16)}function z(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new S(e,t,r,n)}function _(e){if(e instanceof S)return new S(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=w(e)),!e)return new S;if(e instanceof S)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,a=Math.min(t,r,n),i=Math.max(t,r,n),l=NaN,c=i-a,s=(i+a)/2;return c?(l=t===i?(r-n)/c+(r0&&s<1?0:l,new S(l,c,s,e.opacity)}function S(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function B(e){return(e=(e||0)%360)<0?e+360:e}function R(e){return Math.max(0,Math.min(1,e||0))}function j(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}(0,n.Z)(o,w,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:v,formatHex:v,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return _(this).formatHsl()},formatRgb:y,toString:y}),(0,n.Z)(N,C,(0,n.l)(o,{brighter(e){return e=null==e?i:Math.pow(i,e),new N(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?a:Math.pow(a,e),new N(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new N(H(this.r),H(this.g),H(this.b),M(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Z,formatHex:Z,formatHex8:function(){return`#${O(this.r)}${O(this.g)}${O(this.b)}${O((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:E,toString:E})),(0,n.Z)(S,function(e,t,r,n){return 1==arguments.length?_(e):new S(e,t,r,null==n?1:n)},(0,n.l)(o,{brighter(e){return e=null==e?i:Math.pow(i,e),new S(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?a:Math.pow(a,e),new S(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new N(j(e>=240?e-240:e+120,o,n),j(e,o,n),j(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new S(B(this.h),R(this.s),R(this.l),M(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=M(this.opacity);return`${1===e?"hsl(":"hsla("}${B(this.h)}, ${100*R(this.s)}%, ${100*R(this.l)}%${1===e?")":`, ${e})`}`}}))},59918:function(e,t,r){function n(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function o(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}r.d(t,{Z:function(){return n},l:function(){return o}})},59986:function(e,t){var r={value:()=>{}};function n(){for(var e,t=0,r=arguments.length,n={};t=0&&(t=e.slice(r+1),e=e.slice(0,r)),e&&!n.hasOwnProperty(e))throw Error("unknown type: "+e);return{type:e,name:t}}),i=-1,l=o.length;if(arguments.length<2){for(;++i0)for(var r,n,o=Array(r),a=0;a()=>e;function o(e,t){return function(r){return e+r*t}}function a(e,t){var r=t-e;return r?o(e,r>180||r<-180?r-360*Math.round(r/360):r):n(isNaN(e)?t:e)}function i(e){return 1==(e=+e)?l:function(t,r){var o,a,i;return r-t?(o=t,a=r,o=Math.pow(o,i=e),a=Math.pow(a,i)-o,i=1/i,function(e){return Math.pow(o+e*a,i)}):n(isNaN(t)?r:t)}}function l(e,t){var r=t-e;return r?o(e,r):n(isNaN(e)?t:e)}},32581:function(e,t,r){r.d(t,{ZP:function(){return i},hD:function(){return c}});var n=r(68053);function o(e,t,r,n,o){var a=e*e,i=a*e;return((1-3*e+3*a-i)*t+(4-6*a+3*i)*r+(1+3*e+3*a-3*i)*n+i*o)/6}var a=r(31271),i=function e(t){var r=(0,a.yi)(t);function o(e,t){var o=r((e=(0,n.B8)(e)).r,(t=(0,n.B8)(t)).r),i=r(e.g,t.g),l=r(e.b,t.b),c=(0,a.ZP)(e.opacity,t.opacity);return function(t){return e.r=o(t),e.g=i(t),e.b=l(t),e.opacity=c(t),e+""}}return o.gamma=e,o}(1);function l(e){return function(t){var r,o,a=t.length,i=Array(a),l=Array(a),c=Array(a);for(r=0;r=1?(r=1,t-1):Math.floor(r*t),a=e[n],i=e[n+1],l=n>0?e[n-1]:2*a-i,c=n=0&&t._call.call(void 0,e),t=t._next;--a}()}finally{a=0,function(){for(var e,t,r=n,a=1/0;r;)r._call?(a>r._time&&(a=r._time),e=r,r=r._next):(t=r._next,r._next=null,r=e?e._next=t:n=t);o=e,y(a)}(),s=0}}function v(){var e=h.now(),t=e-c;t>1e3&&(u-=t,c=e)}function y(e){!a&&(i&&(i=clearTimeout(i)),e-s>24?(e<1/0&&(i=setTimeout(b,e-h.now()-u)),l&&(l=clearInterval(l))):(l||(c=h.now(),l=setInterval(v,1e3)),a=1,f(b)))}p.prototype=m.prototype={constructor:p,restart:function(e,t,r){if("function"!=typeof e)throw TypeError("callback is not a function");r=(null==r?d():+r)+(null==t?0:+t),this._next||o===this||(o?o._next=this:n=this,o=this),this._call=e,this._time=r,y()},stop:function(){this._call&&(this._call=null,this._time=1/0,y())}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1559.fad8a800a7701d65.js b/dbgpt/app/static/web/_next/static/chunks/1559.5c655da9b803750e.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/1559.fad8a800a7701d65.js rename to dbgpt/app/static/web/_next/static/chunks/1559.5c655da9b803750e.js index 201748ea9..6f8f80dc9 100644 --- a/dbgpt/app/static/web/_next/static/chunks/1559.fad8a800a7701d65.js +++ b/dbgpt/app/static/web/_next/static/chunks/1559.5c655da9b803750e.js @@ -288,7 +288,7 @@ * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,l.H)({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>i.e(6573).then(i.bind(i,26573))}),/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/(0,l.H)({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>i.e(6966).then(i.bind(i,26573))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) * Released under the MIT license @@ -318,7 +318,7 @@ * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,l.H)({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>i.e(2228).then(i.bind(i,67246))}),/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/(0,l.H)({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>i.e(2228).then(i.bind(i,62228))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) * Released under the MIT license diff --git a/dbgpt/app/static/web/_next/static/chunks/1565.9e3c7850e5bd2fb3.js b/dbgpt/app/static/web/_next/static/chunks/1565.9e3c7850e5bd2fb3.js deleted file mode 100644 index bfc37dfd0..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/1565.9e3c7850e5bd2fb3.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1565],{13250:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zM464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z"}}]},name:"appstore",theme:"filled"},i=r(75651),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},15484:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},i=r(75651),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},39639:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"},i=r(75651),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},64698:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 00-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z"}}]},name:"select",theme:"outlined"},i=r(75651),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},31676:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},i=r(75651),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},32857:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},i=r(75651),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},20222:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},i=r(75651),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},90082:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},i=r(75651),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},20444:function(e,t,r){r.d(t,{L:function(){return c}});var n=r(38497),o=r(13454),a=r(77268),i=r(19079);function l(e,t){switch(t.type){case i.Q.blur:case i.Q.escapeKeyDown:return{open:!1};case i.Q.toggle:return{open:!e.open};case i.Q.open:return{open:!0};case i.Q.close:return{open:!1};default:throw Error("Unhandled action")}}var s=r(96469);function c(e){let{children:t,open:r,defaultOpen:c,onOpenChange:u}=e,{contextValue:d}=function(e={}){let{defaultOpen:t,onOpenChange:r,open:o}=e,[s,c]=n.useState(""),[u,d]=n.useState(null),f=n.useRef(null),v=n.useCallback((e,t,n,o)=>{"open"===t&&(null==r||r(e,n)),f.current=o},[r]),p=n.useMemo(()=>void 0!==o?{open:o}:{},[o]),[m,g]=(0,a.r)({controlledProps:p,initialState:t?{open:!0}:{open:!1},onStateChange:v,reducer:l});return n.useEffect(()=>{m.open||null===f.current||f.current===i.Q.blur||null==u||u.focus()},[m.open,u]),{contextValue:{state:m,dispatch:g,popupId:s,registerPopup:c,registerTrigger:d,triggerElement:u},open:m.open}}({defaultOpen:c,onOpenChange:u,open:r});return(0,s.jsx)(o.D.Provider,{value:d,children:t})}},4309:function(e,t,r){r.d(t,{r:function(){return eD}});var n,o,a,i,l,s=r(42096),c=r(79760),u=r(38497),d=r(44520),f=r(66268),v=r(78837);function p(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function m(e){var t=p(e).Element;return e instanceof t||e instanceof Element}function g(e){var t=p(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function h(e){if("undefined"==typeof ShadowRoot)return!1;var t=p(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var b=Math.max,x=Math.min,y=Math.round;function S(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Z(){return!/^((?!chrome|android).)*safari/i.test(S())}function k(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),o=1,a=1;t&&g(e)&&(o=e.offsetWidth>0&&y(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&y(n.height)/e.offsetHeight||1);var i=(m(e)?p(e):window).visualViewport,l=!Z()&&r,s=(n.left+(l&&i?i.offsetLeft:0))/o,c=(n.top+(l&&i?i.offsetTop:0))/a,u=n.width/o,d=n.height/a;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function z(e){var t=p(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function C(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){return((m(e)?e.ownerDocument:e.document)||window.document).documentElement}function I(e){return k(w(e)).left+z(e).scrollLeft}function R(e){return p(e).getComputedStyle(e)}function P(e){var t=R(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function L(e){var t=k(e),r=e.offsetWidth,n=e.offsetHeight;return 1>=Math.abs(t.width-r)&&(r=t.width),1>=Math.abs(t.height-n)&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function D(e){return"html"===C(e)?e:e.assignedSlot||e.parentNode||(h(e)?e.host:null)||w(e)}function T(e,t){void 0===t&&(t=[]);var r,n=function e(t){return["html","body","#document"].indexOf(C(t))>=0?t.ownerDocument.body:g(t)&&P(t)?t:e(D(t))}(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),a=p(n),i=o?[a].concat(a.visualViewport||[],P(n)?n:[]):n,l=t.concat(i);return o?l:l.concat(T(D(i)))}function B(e){return g(e)&&"fixed"!==R(e).position?e.offsetParent:null}function M(e){for(var t=p(e),r=B(e);r&&["table","td","th"].indexOf(C(r))>=0&&"static"===R(r).position;)r=B(r);return r&&("html"===C(r)||"body"===C(r)&&"static"===R(r).position)?t:r||function(e){var t=/firefox/i.test(S());if(/Trident/i.test(S())&&g(e)&&"fixed"===R(e).position)return null;var r=D(e);for(h(r)&&(r=r.host);g(r)&&0>["html","body"].indexOf(C(r));){var n=R(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var O="bottom",$="right",E="left",j="auto",H=["top",O,$,E],V="start",N="viewport",W="popper",A=H.reduce(function(e,t){return e.concat([t+"-"+V,t+"-end"])},[]),_=[].concat(H,[j]).reduce(function(e,t){return e.concat([t,t+"-"+V,t+"-end"])},[]),F=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],J={placement:"bottom",modifiers:[],strategy:"absolute"};function q(){for(var e=arguments.length,t=Array(e),r=0;r=0?"x":"y"}function K(e){var t,r=e.reference,n=e.element,o=e.placement,a=o?G(o):null,i=o?X(o):null,l=r.x+r.width/2-n.width/2,s=r.y+r.height/2-n.height/2;switch(a){case"top":t={x:l,y:r.y-n.height};break;case O:t={x:l,y:r.y+r.height};break;case $:t={x:r.x+r.width,y:s};break;case E:t={x:r.x-n.width,y:s};break;default:t={x:r.x,y:r.y}}var c=a?Y(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case V:t[c]=t[c]-(r[u]/2-n[u]/2);break;case"end":t[c]=t[c]+(r[u]/2-n[u]/2)}}return t}var Q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var t,r,n,o,a,i,l,s=e.popper,c=e.popperRect,u=e.placement,d=e.variation,f=e.offsets,v=e.position,m=e.gpuAcceleration,g=e.adaptive,h=e.roundOffsets,b=e.isFixed,x=f.x,S=void 0===x?0:x,Z=f.y,k=void 0===Z?0:Z,z="function"==typeof h?h({x:S,y:k}):{x:S,y:k};S=z.x,k=z.y;var C=f.hasOwnProperty("x"),I=f.hasOwnProperty("y"),P=E,L="top",D=window;if(g){var T=M(s),B="clientHeight",j="clientWidth";T===p(s)&&"static"!==R(T=w(s)).position&&"absolute"===v&&(B="scrollHeight",j="scrollWidth"),("top"===u||(u===E||u===$)&&"end"===d)&&(L=O,k-=(b&&T===D&&D.visualViewport?D.visualViewport.height:T[B])-c.height,k*=m?1:-1),(u===E||("top"===u||u===O)&&"end"===d)&&(P=$,S-=(b&&T===D&&D.visualViewport?D.visualViewport.width:T[j])-c.width,S*=m?1:-1)}var H=Object.assign({position:v},g&&Q),V=!0===h?(t={x:S,y:k},r=p(s),n=t.x,o=t.y,{x:y(n*(a=r.devicePixelRatio||1))/a||0,y:y(o*a)/a||0}):{x:S,y:k};return(S=V.x,k=V.y,m)?Object.assign({},H,((l={})[L]=I?"0":"",l[P]=C?"0":"",l.transform=1>=(D.devicePixelRatio||1)?"translate("+S+"px, "+k+"px)":"translate3d("+S+"px, "+k+"px, 0)",l)):Object.assign({},H,((i={})[L]=I?k+"px":"",i[P]=C?S+"px":"",i.transform="",i))}var et={left:"right",right:"left",bottom:"top",top:"bottom"};function er(e){return e.replace(/left|right|bottom|top/g,function(e){return et[e]})}var en={start:"end",end:"start"};function eo(e){return e.replace(/start|end/g,function(e){return en[e]})}function ea(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&h(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ei(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function el(e,t,r){var n,o,a,i,l,s,c,u,d,f;return t===N?ei(function(e,t){var r=p(e),n=w(e),o=r.visualViewport,a=n.clientWidth,i=n.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=Z();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+I(e),y:s}}(e,r)):m(t)?((n=k(t,!1,"fixed"===r)).top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n):ei((o=w(e),i=w(o),l=z(o),s=null==(a=o.ownerDocument)?void 0:a.body,c=b(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=b(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),d=-l.scrollLeft+I(o),f=-l.scrollTop,"rtl"===R(s||i).direction&&(d+=b(i.clientWidth,s?s.clientWidth:0)-c),{width:c,height:u,x:d,y:f}))}function es(){return{top:0,right:0,bottom:0,left:0}}function ec(e){return Object.assign({},es(),e)}function eu(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}function ed(e,t){void 0===t&&(t={});var r,n,o,a,i,l,s,c=t,u=c.placement,d=void 0===u?e.placement:u,f=c.strategy,v=void 0===f?e.strategy:f,p=c.boundary,h=c.rootBoundary,y=c.elementContext,S=void 0===y?W:y,Z=c.altBoundary,z=c.padding,I=void 0===z?0:z,P=ec("number"!=typeof I?I:eu(I,H)),L=e.rects.popper,B=e.elements[void 0!==Z&&Z?S===W?"reference":W:S],E=(r=m(B)?B:B.contextElement||w(e.elements.popper),l=(i=[].concat("clippingParents"===(n=void 0===p?"clippingParents":p)?(o=T(D(r)),m(a=["absolute","fixed"].indexOf(R(r).position)>=0&&g(r)?M(r):r)?o.filter(function(e){return m(e)&&ea(e,a)&&"body"!==C(e)}):[]):[].concat(n),[void 0===h?N:h]))[0],(s=i.reduce(function(e,t){var n=el(r,t,v);return e.top=b(n.top,e.top),e.right=x(n.right,e.right),e.bottom=x(n.bottom,e.bottom),e.left=b(n.left,e.left),e},el(r,l,v))).width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s),j=k(e.elements.reference),V=K({reference:j,element:L,strategy:"absolute",placement:d}),A=ei(Object.assign({},L,V)),_=S===W?A:j,F={top:E.top-_.top+P.top,bottom:_.bottom-E.bottom+P.bottom,left:E.left-_.left+P.left,right:_.right-E.right+P.right},J=e.modifiersData.offset;if(S===W&&J){var q=J[d];Object.keys(F).forEach(function(e){var t=[$,O].indexOf(e)>=0?1:-1,r=["top",O].indexOf(e)>=0?"y":"x";F[e]+=q[r]*t})}return F}function ef(e,t,r){return b(e,x(t,r))}function ev(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ep(e){return["top",$,O,E].some(function(t){return e[t]>=0})}var em=(a=void 0===(o=(n={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=void 0===o||o,i=n.resize,l=void 0===i||i,s=p(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(e){e.addEventListener("scroll",r.update,U)}),l&&s.addEventListener("resize",r.update,U),function(){a&&c.forEach(function(e){e.removeEventListener("scroll",r.update,U)}),l&&s.removeEventListener("resize",r.update,U)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=K({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=r.adaptive,a=r.roundOffsets,i=void 0===a||a,l={placement:G(t.placement),variation:X(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===n||n,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ee(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:i})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ee(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:i})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];g(o)&&C(o)&&(Object.assign(o.style,r),Object.keys(n).forEach(function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce(function(e,t){return e[t]="",e},{});g(n)&&C(n)&&(Object.assign(n.style,a),Object.keys(o).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=void 0===o?[0,0]:o,i=_.reduce(function(e,r){var n,o,i,l,s,c;return e[r]=(n=t.rects,i=[E,"top"].indexOf(o=G(r))>=0?-1:1,s=(l="function"==typeof a?a(Object.assign({},n,{placement:r})):a)[0],c=l[1],s=s||0,c=(c||0)*i,[E,$].indexOf(o)>=0?{x:c,y:s}:{x:s,y:c}),e},{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=void 0===o||o,i=r.altAxis,l=void 0===i||i,s=r.fallbackPlacements,c=r.padding,u=r.boundary,d=r.rootBoundary,f=r.altBoundary,v=r.flipVariations,p=void 0===v||v,m=r.allowedAutoPlacements,g=t.options.placement,h=G(g)===g,b=s||(h||!p?[er(g)]:function(e){if(G(e)===j)return[];var t=er(e);return[eo(e),t,eo(t)]}(g)),x=[g].concat(b).reduce(function(e,r){var n,o,a,i,l,s,f,v,g,h,b,x;return e.concat(G(r)===j?(o=(n={placement:r,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}).placement,a=n.boundary,i=n.rootBoundary,l=n.padding,s=n.flipVariations,v=void 0===(f=n.allowedAutoPlacements)?_:f,0===(b=(h=(g=X(o))?s?A:A.filter(function(e){return X(e)===g}):H).filter(function(e){return v.indexOf(e)>=0})).length&&(b=h),Object.keys(x=b.reduce(function(e,r){return e[r]=ed(t,{placement:r,boundary:a,rootBoundary:i,padding:l})[G(r)],e},{})).sort(function(e,t){return x[e]-x[t]})):r)},[]),y=t.rects.reference,S=t.rects.popper,Z=new Map,k=!0,z=x[0],C=0;C=0,L=P?"width":"height",D=ed(t,{placement:w,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),T=P?R?$:E:R?O:"top";y[L]>S[L]&&(T=er(T));var B=er(T),M=[];if(a&&M.push(D[I]<=0),l&&M.push(D[T]<=0,D[B]<=0),M.every(function(e){return e})){z=w,k=!1;break}Z.set(w,M)}if(k)for(var N=p?3:1,W=function(e){var t=x.find(function(t){var r=Z.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return z=t,"break"},F=N;F>0&&"break"!==W(F);F--);t.placement!==z&&(t.modifiersData[n]._skip=!0,t.placement=z,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=r.altAxis,i=r.boundary,l=r.rootBoundary,s=r.altBoundary,c=r.padding,u=r.tether,d=void 0===u||u,f=r.tetherOffset,v=void 0===f?0:f,p=ed(t,{boundary:i,rootBoundary:l,padding:c,altBoundary:s}),m=G(t.placement),g=X(t.placement),h=!g,y=Y(m),S="x"===y?"y":"x",Z=t.modifiersData.popperOffsets,k=t.rects.reference,z=t.rects.popper,C="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,w="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(Z){if(void 0===o||o){var P,D="y"===y?"top":E,T="y"===y?O:$,B="y"===y?"height":"width",j=Z[y],H=j+p[D],N=j-p[T],W=d?-z[B]/2:0,A=g===V?k[B]:z[B],_=g===V?-z[B]:-k[B],F=t.elements.arrow,J=d&&F?L(F):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:es(),U=q[D],K=q[T],Q=ef(0,k[B],J[B]),ee=h?k[B]/2-W-Q-U-w.mainAxis:A-Q-U-w.mainAxis,et=h?-k[B]/2+W+Q+K+w.mainAxis:_+Q+K+w.mainAxis,er=t.elements.arrow&&M(t.elements.arrow),en=er?"y"===y?er.clientTop||0:er.clientLeft||0:0,eo=null!=(P=null==I?void 0:I[y])?P:0,ea=j+ee-eo-en,ei=j+et-eo,el=ef(d?x(H,ea):H,j,d?b(N,ei):N);Z[y]=el,R[y]=el-j}if(void 0!==a&&a){var ec,eu,ev="x"===y?"top":E,ep="x"===y?O:$,em=Z[S],eg="y"===S?"height":"width",eh=em+p[ev],eb=em-p[ep],ex=-1!==["top",E].indexOf(m),ey=null!=(eu=null==I?void 0:I[S])?eu:0,eS=ex?eh:em-k[eg]-z[eg]-ey+w.altAxis,eZ=ex?em+k[eg]+z[eg]-ey-w.altAxis:eb,ek=d&&ex?(ec=ef(eS,em,eZ))>eZ?eZ:ec:ef(d?eS:eh,em,d?eZ:eb);Z[S]=ek,R[S]=ek-em}t.modifiersData[n]=R}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r,n=e.state,o=e.name,a=e.options,i=n.elements.arrow,l=n.modifiersData.popperOffsets,s=G(n.placement),c=Y(s),u=[E,$].indexOf(s)>=0?"height":"width";if(i&&l){var d=ec("number"!=typeof(t="function"==typeof(t=a.padding)?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:eu(t,H)),f=L(i),v="y"===c?"top":E,p="y"===c?O:$,m=n.rects.reference[u]+n.rects.reference[c]-l[c]-n.rects.popper[u],g=l[c]-n.rects.reference[c],h=M(i),b=h?"y"===c?h.clientHeight||0:h.clientWidth||0:0,x=d[v],y=b-f[u]-d[p],S=b/2-f[u]/2+(m/2-g/2),Z=ef(x,S,y);n.modifiersData[o]=((r={})[c]=Z,r.centerOffset=Z-S,r)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&ea(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=ed(t,{elementContext:"reference"}),l=ed(t,{altBoundary:!0}),s=ev(i,n),c=ev(l,o,a),u=ep(s),d=ep(c);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}).defaultModifiers)?[]:o,l=void 0===(i=n.defaultOptions)?J:i,function(e,t,r){void 0===r&&(r=l);var n,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},J,l),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},i=[],s=!1,c={state:o,setOptions:function(r){var n,s,d,f,v,p="function"==typeof r?r(o.options):r;u(),o.options=Object.assign({},l,o.options,p),o.scrollParents={reference:m(e)?T(e):e.contextElement?T(e.contextElement):[],popper:T(t)};var g=(s=Object.keys(n=[].concat(a,o.options.modifiers).reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{})).map(function(e){return n[e]}),d=new Map,f=new Set,v=[],s.forEach(function(e){d.set(e.name,e)}),s.forEach(function(e){f.has(e.name)||function e(t){f.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!f.has(t)){var r=d.get(t);r&&e(r)}}),v.push(t)}(e)}),F.reduce(function(e,t){return e.concat(v.filter(function(e){return e.phase===t}))},[]));return o.orderedModifiers=g.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,n=e.effect;if("function"==typeof n){var a=n({state:o,name:t,instance:c,options:void 0===r?{}:r});i.push(a||function(){})}}),c.update()},forceUpdate:function(){if(!s){var e,t,r,n,a,i,l,u,d,f,v,m,h=o.elements,b=h.reference,x=h.popper;if(q(b,x)){o.rects={reference:(t=M(x),r="fixed"===o.options.strategy,n=g(t),u=g(t)&&(i=y((a=t.getBoundingClientRect()).width)/t.offsetWidth||1,l=y(a.height)/t.offsetHeight||1,1!==i||1!==l),d=w(t),f=k(b,u,r),v={scrollLeft:0,scrollTop:0},m={x:0,y:0},(n||!n&&!r)&&(("body"!==C(t)||P(d))&&(v=(e=t)!==p(e)&&g(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:z(e)),g(t)?(m=k(t,!0),m.x+=t.clientLeft,m.y+=t.clientTop):d&&(m.x=I(d))),{x:f.left+v.scrollLeft-m.x,y:f.top+v.scrollTop-m.y,width:f.width,height:f.height}),popper:L(x)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var S=0;S{!o&&i(("function"==typeof n?n():n)||document.body)},[n,o]),(0,f.Z)(()=>{if(a&&!o)return(0,eb.Z)(t,a),()=>{(0,eb.Z)(t,null)}},[t,a,o]),o)?u.isValidElement(r)?u.cloneElement(r,{ref:l}):(0,ex.jsx)(u.Fragment,{children:r}):(0,ex.jsx)(u.Fragment,{children:a?eh.createPortal(r,a):a})});var eS=r(67230);function eZ(e){return(0,eS.ZP)("MuiPopper",e)}(0,r(14293).Z)("MuiPopper",["root"]);var ek=r(95797);let ez=u.createContext({disableDefaultClasses:!1}),eC=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],ew=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function eI(e){return"function"==typeof e?e():e}let eR=()=>(0,eg.Z)({root:["root"]},function(e){let{disableDefaultClasses:t}=u.useContext(ez);return r=>t?"":e(r)}(eZ)),eP={},eL=u.forwardRef(function(e,t){var r;let{anchorEl:n,children:o,direction:a,disablePortal:i,modifiers:l,open:v,placement:p,popperOptions:m,popperRef:g,slotProps:h={},slots:b={},TransitionProps:x}=e,y=(0,c.Z)(e,eC),S=u.useRef(null),Z=(0,d.Z)(S,t),k=u.useRef(null),z=(0,d.Z)(k,g),C=u.useRef(z);(0,f.Z)(()=>{C.current=z},[z]),u.useImperativeHandle(g,()=>k.current,[]);let w=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(p,a),[I,R]=u.useState(w),[P,L]=u.useState(eI(n));u.useEffect(()=>{k.current&&k.current.forceUpdate()}),u.useEffect(()=>{n&&L(eI(n))},[n]),(0,f.Z)(()=>{if(!P||!v)return;let e=e=>{R(e.placement)},t=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:t})=>{e(t)}}];null!=l&&(t=t.concat(l)),m&&null!=m.modifiers&&(t=t.concat(m.modifiers));let r=em(P,S.current,(0,s.Z)({placement:w},m,{modifiers:t}));return C.current(r),()=>{r.destroy(),C.current(null)}},[P,i,l,v,m,w]);let D={placement:I};null!==x&&(D.TransitionProps=x);let T=eR(),B=null!=(r=b.root)?r:"div",M=(0,ek.y)({elementType:B,externalSlotProps:h.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:Z},ownerState:e,className:T.root});return(0,ex.jsx)(B,(0,s.Z)({},M,{children:"function"==typeof o?o(D):o}))}),eD=u.forwardRef(function(e,t){let r;let{anchorEl:n,children:o,container:a,direction:i="ltr",disablePortal:l=!1,keepMounted:d=!1,modifiers:f,open:p,placement:m="bottom",popperOptions:g=eP,popperRef:h,style:b,transition:x=!1,slotProps:y={},slots:S={}}=e,Z=(0,c.Z)(e,ew),[k,z]=u.useState(!0);if(!d&&!p&&(!x||k))return null;if(a)r=a;else if(n){let e=eI(n);r=e&&void 0!==e.nodeType?(0,v.Z)(e).body:(0,v.Z)(null).body}let C=!p&&d&&(!x||k)?"none":void 0;return(0,ex.jsx)(ey,{disablePortal:l,container:r,children:(0,ex.jsx)(eL,(0,s.Z)({anchorEl:n,direction:i,disablePortal:l,modifiers:f,ref:t,open:x?!k:p,placement:m,popperOptions:g,popperRef:h,slotProps:y,slots:S},Z,{style:(0,s.Z)({position:"fixed",top:0,left:0,display:C},b),TransitionProps:x?{in:p,onEnter:()=>{z(!1)},onExited:()=>{z(!0)}}:void 0,children:o}))})})},53363:function(e,t,r){r.d(t,{U:function(){return s}});var n=r(42096),o=r(38497),a=r(15978),i=r(44520),l=r(48017);function s(e={}){let{disabled:t=!1,focusableWhenDisabled:r,href:s,rootRef:c,tabIndex:u,to:d,type:f}=e,v=o.useRef(),[p,m]=o.useState(!1),{isFocusVisibleRef:g,onFocus:h,onBlur:b,ref:x}=(0,a.Z)(),[y,S]=o.useState(!1);t&&!r&&y&&S(!1),o.useEffect(()=>{g.current=y},[y,g]);let[Z,k]=o.useState(""),z=e=>t=>{var r;y&&t.preventDefault(),null==(r=e.onMouseLeave)||r.call(e,t)},C=e=>t=>{var r;b(t),!1===g.current&&S(!1),null==(r=e.onBlur)||r.call(e,t)},w=e=>t=>{var r,n;v.current||(v.current=t.currentTarget),h(t),!0===g.current&&(S(!0),null==(n=e.onFocusVisible)||n.call(e,t)),null==(r=e.onFocus)||r.call(e,t)},I=()=>{let e=v.current;return"BUTTON"===Z||"INPUT"===Z&&["button","submit","reset"].includes(null==e?void 0:e.type)||"A"===Z&&(null==e?void 0:e.href)},R=e=>r=>{if(!t){var n;null==(n=e.onClick)||n.call(e,r)}},P=e=>r=>{var n;t||(m(!0),document.addEventListener("mouseup",()=>{m(!1)},{once:!0})),null==(n=e.onMouseDown)||n.call(e,r)},L=e=>r=>{var n,o;null==(n=e.onKeyDown)||n.call(e,r),!r.defaultMuiPrevented&&(r.target!==r.currentTarget||I()||" "!==r.key||r.preventDefault(),r.target!==r.currentTarget||" "!==r.key||t||m(!0),r.target!==r.currentTarget||I()||"Enter"!==r.key||t||(null==(o=e.onClick)||o.call(e,r),r.preventDefault()))},D=e=>r=>{var n,o;r.target===r.currentTarget&&m(!1),null==(n=e.onKeyUp)||n.call(e,r),r.target!==r.currentTarget||I()||t||" "!==r.key||r.defaultMuiPrevented||null==(o=e.onClick)||o.call(e,r)},T=o.useCallback(e=>{var t;k(null!=(t=null==e?void 0:e.tagName)?t:"")},[]),B=(0,i.Z)(T,c,x,v),M={};return void 0!==u&&(M.tabIndex=u),"BUTTON"===Z?(M.type=null!=f?f:"button",r?M["aria-disabled"]=t:M.disabled=t):""!==Z&&(s||d||(M.role="button",M.tabIndex=null!=u?u:0),t&&(M["aria-disabled"]=t,M.tabIndex=r?null!=u?u:0:-1)),{getRootProps:(t={})=>{let r=(0,n.Z)({},(0,l._)(e),(0,l._)(t)),o=(0,n.Z)({type:f},r,M,t,{onBlur:C(r),onClick:R(r),onFocus:w(r),onKeyDown:L(r),onKeyUp:D(r),onMouseDown:P(r),onMouseLeave:z(r),ref:B});return delete o.onFocusVisible,o},focusVisible:y,setFocusVisible:S,active:p,rootRef:B}}},13454:function(e,t,r){r.d(t,{D:function(){return o}});var n=r(38497);let o=n.createContext(null)},19079:function(e,t,r){r.d(t,{Q:function(){return n}});let n={blur:"dropdown:blur",escapeKeyDown:"dropdown:escapeKeyDown",toggle:"dropdown:toggle",open:"dropdown:open",close:"dropdown:close"}},33975:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(38497);let o=n.createContext(null)},37012:function(e,t,r){r.d(t,{F:function(){return n}});let n={blur:"list:blur",focus:"list:focus",itemClick:"list:itemClick",itemHover:"list:itemHover",itemsChange:"list:itemsChange",keyDown:"list:keyDown",resetHighlight:"list:resetHighlight",textNavigation:"list:textNavigation"}},96322:function(e,t,r){r.d(t,{R$:function(){return l},Rl:function(){return a}});var n=r(42096),o=r(37012);function a(e,t,r){var n;let o,a;let{items:i,isItemDisabled:l,disableListWrap:s,disabledItemsFocusable:c,itemComparer:u,focusManagement:d}=r,f=i.length-1,v=null==e?-1:i.findIndex(t=>u(t,e)),p=!s;switch(t){case"reset":if(-1==("DOM"===d?0:-1))return null;o=0,a="next",p=!1;break;case"start":o=0,a="next",p=!1;break;case"end":o=f,a="previous",p=!1;break;default:{let e=v+t;e<0?!p&&-1!==v||Math.abs(t)>1?(o=0,a="next"):(o=f,a="previous"):e>f?!p||Math.abs(t)>1?(o=f,a="previous"):(o=0,a="next"):(o=e,a=t>=0?"next":"previous")}}let m=function(e,t,r,n,o,a){if(0===r.length||!n&&r.every((e,t)=>o(e,t)))return -1;let i=e;for(;;){if(!a&&"next"===t&&i===r.length||!a&&"previous"===t&&-1===i)return -1;let e=!n&&o(r[i],i);if(!e)return i;i+="next"===t?1:-1,a&&(i=(i+r.length)%r.length)}}(o,a,i,c,l,p);return -1!==m||null===e||l(e,v)?null!=(n=i[m])?n:null:e}function i(e,t,r){let{itemComparer:o,isItemDisabled:a,selectionMode:i,items:l}=r,{selectedValues:s}=t,c=l.findIndex(t=>o(e,t));if(a(e,c))return t;let u="none"===i?[]:"single"===i?o(s[0],e)?s:[e]:s.some(t=>o(t,e))?s.filter(t=>!o(t,e)):[...s,e];return(0,n.Z)({},t,{selectedValues:u,highlightedValue:e})}function l(e,t){let{type:r,context:l}=t;switch(r){case o.F.keyDown:return function(e,t,r){let o=t.highlightedValue,{orientation:l,pageSize:s}=r;switch(e){case"Home":return(0,n.Z)({},t,{highlightedValue:a(o,"start",r)});case"End":return(0,n.Z)({},t,{highlightedValue:a(o,"end",r)});case"PageUp":return(0,n.Z)({},t,{highlightedValue:a(o,-s,r)});case"PageDown":return(0,n.Z)({},t,{highlightedValue:a(o,s,r)});case"ArrowUp":if("vertical"!==l)break;return(0,n.Z)({},t,{highlightedValue:a(o,-1,r)});case"ArrowDown":if("vertical"!==l)break;return(0,n.Z)({},t,{highlightedValue:a(o,1,r)});case"ArrowLeft":if("vertical"===l)break;return(0,n.Z)({},t,{highlightedValue:a(o,"horizontal-ltr"===l?-1:1,r)});case"ArrowRight":if("vertical"===l)break;return(0,n.Z)({},t,{highlightedValue:a(o,"horizontal-ltr"===l?1:-1,r)});case"Enter":case" ":if(null===t.highlightedValue)break;return i(t.highlightedValue,t,r)}return t}(t.key,e,l);case o.F.itemClick:return i(t.item,e,l);case o.F.blur:return"DOM"===l.focusManagement?e:(0,n.Z)({},e,{highlightedValue:null});case o.F.textNavigation:return function(e,t,r){let{items:o,isItemDisabled:i,disabledItemsFocusable:l,getItemAsString:s}=r,c=t.length>1,u=c?e.highlightedValue:a(e.highlightedValue,1,r);for(let d=0;ds(e,r.highlightedValue)))?l:null:"DOM"===c&&0===t.length&&(u=a(null,"reset",o));let d=null!=(i=r.selectedValues)?i:[],f=d.filter(t=>e.some(e=>s(e,t)));return(0,n.Z)({},r,{highlightedValue:u,selectedValues:f})}(t.items,t.previousItems,e,l);case o.F.resetHighlight:return(0,n.Z)({},e,{highlightedValue:a(null,"reset",l)});default:return e}}},43953:function(e,t,r){r.d(t,{s:function(){return x}});var n=r(42096),o=r(38497),a=r(44520),i=r(37012),l=r(96322);let s="select:change-selection",c="select:change-highlight";var u=r(77268),d=r(1523);function f(e,t){let r=o.useRef(e);return o.useEffect(()=>{r.current=e},null!=t?t:[e]),r}let v={},p=()=>{},m=(e,t)=>e===t,g=()=>!1,h=e=>"string"==typeof e?e:String(e),b=()=>({highlightedValue:null,selectedValues:[]});function x(e){let{controlledProps:t=v,disabledItemsFocusable:r=!1,disableListWrap:x=!1,focusManagement:y="activeDescendant",getInitialState:S=b,getItemDomElement:Z,getItemId:k,isItemDisabled:z=g,rootRef:C,onStateChange:w=p,items:I,itemComparer:R=m,getItemAsString:P=h,onChange:L,onHighlightChange:D,onItemsChange:T,orientation:B="vertical",pageSize:M=5,reducerActionContext:O=v,selectionMode:$="single",stateReducer:E}=e,j=o.useRef(null),H=(0,a.Z)(C,j),V=o.useCallback((e,t,r)=>{if(null==D||D(e,t,r),"DOM"===y&&null!=t&&(r===i.F.itemClick||r===i.F.keyDown||r===i.F.textNavigation)){var n;null==Z||null==(n=Z(t))||n.focus()}},[Z,D,y]),N=o.useMemo(()=>({highlightedValue:R,selectedValues:(e,t)=>(0,d.H)(e,t,R)}),[R]),W=o.useCallback((e,t,r,n,o)=>{switch(null==w||w(e,t,r,n,o),t){case"highlightedValue":V(e,r,n);break;case"selectedValues":null==L||L(e,r,n)}},[V,L,w]),A=o.useMemo(()=>({disabledItemsFocusable:r,disableListWrap:x,focusManagement:y,isItemDisabled:z,itemComparer:R,items:I,getItemAsString:P,onHighlightChange:V,orientation:B,pageSize:M,selectionMode:$,stateComparers:N}),[r,x,y,z,R,I,P,V,B,M,$,N]),_=S(),F=null!=E?E:l.R$,J=o.useMemo(()=>(0,n.Z)({},O,A),[O,A]),[q,U]=(0,u.r)({reducer:F,actionContext:J,initialState:_,controlledProps:t,stateComparers:N,onStateChange:W}),{highlightedValue:G,selectedValues:X}=q,Y=function(e){let t=o.useRef({searchString:"",lastTime:null});return o.useCallback(r=>{if(1===r.key.length&&" "!==r.key){let n=t.current,o=r.key.toLowerCase(),a=performance.now();n.searchString.length>0&&n.lastTime&&a-n.lastTime>500?n.searchString=o:(1!==n.searchString.length||o!==n.searchString)&&(n.searchString+=o),n.lastTime=a,e(n.searchString,r)}},[e])}((e,t)=>U({type:i.F.textNavigation,event:t,searchString:e})),K=f(X),Q=f(G),ee=o.useRef([]);o.useEffect(()=>{(0,d.H)(ee.current,I,R)||(U({type:i.F.itemsChange,event:null,items:I,previousItems:ee.current}),ee.current=I,null==T||T(I))},[I,R,U,T]);let{notifySelectionChanged:et,notifyHighlightChanged:er,registerHighlightChangeHandler:en,registerSelectionChangeHandler:eo}=function(){let e=function(){let e=o.useRef();return e.current||(e.current=function(){let e=new Map;return{subscribe:function(t,r){let n=e.get(t);return n?n.add(r):(n=new Set([r]),e.set(t,n)),()=>{n.delete(r),0===n.size&&e.delete(t)}},publish:function(t,...r){let n=e.get(t);n&&n.forEach(e=>e(...r))}}}()),e.current}(),t=o.useCallback(t=>{e.publish(s,t)},[e]),r=o.useCallback(t=>{e.publish(c,t)},[e]),n=o.useCallback(t=>e.subscribe(s,t),[e]),a=o.useCallback(t=>e.subscribe(c,t),[e]);return{notifySelectionChanged:t,notifyHighlightChanged:r,registerSelectionChangeHandler:n,registerHighlightChangeHandler:a}}();o.useEffect(()=>{et(X)},[X,et]),o.useEffect(()=>{er(G)},[G,er]);let ea=e=>t=>{var r;if(null==(r=e.onKeyDown)||r.call(e,t),t.defaultMuiPrevented)return;let n=["Home","End","PageUp","PageDown"];"vertical"===B?n.push("ArrowUp","ArrowDown"):n.push("ArrowLeft","ArrowRight"),"activeDescendant"===y&&n.push(" ","Enter"),n.includes(t.key)&&t.preventDefault(),U({type:i.F.keyDown,key:t.key,event:t}),Y(t)},ei=e=>t=>{var r,n;null==(r=e.onBlur)||r.call(e,t),t.defaultMuiPrevented||null!=(n=j.current)&&n.contains(t.relatedTarget)||U({type:i.F.blur,event:t})},el=o.useCallback(e=>{var t;let r=I.findIndex(t=>R(t,e)),n=(null!=(t=K.current)?t:[]).some(t=>null!=t&&R(e,t)),o=z(e,r),a=null!=Q.current&&R(e,Q.current),i="DOM"===y;return{disabled:o,focusable:i,highlighted:a,index:r,selected:n}},[I,z,R,K,Q,y]),es=o.useMemo(()=>({dispatch:U,getItemState:el,registerHighlightChangeHandler:en,registerSelectionChangeHandler:eo}),[U,el,en,eo]);return o.useDebugValue({state:q}),{contextValue:es,dispatch:U,getRootProps:(e={})=>(0,n.Z)({},e,{"aria-activedescendant":"activeDescendant"===y&&null!=G?k(G):void 0,onBlur:ei(e),onKeyDown:ea(e),tabIndex:"DOM"===y?-1:0,ref:H}),rootRef:H,state:q}}},45038:function(e,t,r){r.d(t,{J:function(){return c}});var n=r(42096),o=r(38497),a=r(44520),i=r(66268),l=r(37012),s=r(33975);function c(e){let t;let{handlePointerOverEvents:r=!1,item:c,rootRef:u}=e,d=o.useRef(null),f=(0,a.Z)(d,u),v=o.useContext(s.Z);if(!v)throw Error("useListItem must be used within a ListProvider");let{dispatch:p,getItemState:m,registerHighlightChangeHandler:g,registerSelectionChangeHandler:h}=v,{highlighted:b,selected:x,focusable:y}=m(c),S=function(){let[,e]=o.useState({});return o.useCallback(()=>{e({})},[])}();(0,i.Z)(()=>g(function(e){e!==c||b?e!==c&&b&&S():S()})),(0,i.Z)(()=>h(function(e){x?e.includes(c)||S():e.includes(c)&&S()}),[h,S,x,c]);let Z=o.useCallback(e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultPrevented||p({type:l.F.itemClick,item:c,event:t})},[p,c]),k=o.useCallback(e=>t=>{var r;null==(r=e.onMouseOver)||r.call(e,t),t.defaultPrevented||p({type:l.F.itemHover,item:c,event:t})},[p,c]);return y&&(t=b?0:-1),{getRootProps:(e={})=>(0,n.Z)({},e,{onClick:Z(e),onPointerOver:r?k(e):void 0,ref:f,tabIndex:t}),highlighted:b,rootRef:f,selected:x}}},1523:function(e,t,r){r.d(t,{H:function(){return n}});function n(e,t,r=(e,t)=>e===t){return e.length===t.length&&e.every((e,n)=>r(e,t[n]))}},1432:function(e,t,r){r.d(t,{f:function(){return o}});var n=r(42096);function o(e,t){return function(r={}){let o=(0,n.Z)({},r,e(r)),a=(0,n.Z)({},o,t(o));return a}}},62719:function(e,t,r){r.d(t,{Y:function(){return a},s:function(){return o}});var n=r(38497);let o=n.createContext(null);function a(){let[e,t]=n.useState(new Map),r=n.useRef(new Set),o=n.useCallback(function(e){r.current.delete(e),t(t=>{let r=new Map(t);return r.delete(e),r})},[]),a=n.useCallback(function(e,n){let a;return a="function"==typeof e?e(r.current):e,r.current.add(a),t(e=>{let t=new Map(e);return t.set(a,n),t}),{id:a,deregister:()=>o(a)}},[o]),i=n.useMemo(()=>(function(e){let t=Array.from(e.keys()).map(t=>{let r=e.get(t);return{key:t,subitem:r}});return t.sort((e,t)=>{let r=e.subitem.ref.current,n=t.subitem.ref.current;return null===r||null===n||r===n?0:r.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING?1:-1}),new Map(t.map(e=>[e.key,e.subitem]))})(e),[e]),l=n.useCallback(function(e){return Array.from(i.keys()).indexOf(e)},[i]),s=n.useMemo(()=>({getItemIndex:l,registerItem:a,totalSubitemCount:e.size}),[l,a,e.size]);return{contextValue:s,subitems:i}}o.displayName="CompoundComponentContext"},19117:function(e,t,r){r.d(t,{B:function(){return i}});var n=r(38497),o=r(66268),a=r(62719);function i(e,t){let r=n.useContext(a.s);if(null===r)throw Error("useCompoundItem must be used within a useCompoundParent");let{registerItem:i}=r,[l,s]=n.useState("function"==typeof e?void 0:e);return(0,o.Z)(()=>{let{id:r,deregister:n}=i(e,t);return s(r),n},[i,t,e]),{id:l,index:void 0!==l?r.getItemIndex(l):-1,totalItemCount:r.totalSubitemCount}}},77268:function(e,t,r){r.d(t,{r:function(){return c}});var n=r(42096),o=r(38497);function a(e,t){return e===t}let i={},l=()=>{};function s(e,t){let r=(0,n.Z)({},e);return Object.keys(t).forEach(e=>{void 0!==t[e]&&(r[e]=t[e])}),r}function c(e){let t=o.useRef(null),{reducer:r,initialState:c,controlledProps:u=i,stateComparers:d=i,onStateChange:f=l,actionContext:v}=e,p=o.useCallback((e,n)=>{t.current=n;let o=s(e,u),a=r(o,n);return a},[u,r]),[m,g]=o.useReducer(p,c),h=o.useCallback(e=>{g((0,n.Z)({},e,{context:v}))},[v]);return!function(e){let{nextState:t,initialState:r,stateComparers:n,onStateChange:i,controlledProps:l,lastActionRef:c}=e,u=o.useRef(r);o.useEffect(()=>{if(null===c.current)return;let e=s(u.current,l);Object.keys(t).forEach(r=>{var o,l,s;let u=null!=(o=n[r])?o:a,d=t[r],f=e[r];(null!=f||null==d)&&(null==f||null!=d)&&(null==f||null==d||u(d,f))||null==i||i(null!=(l=c.current.event)?l:null,r,d,null!=(s=c.current.type)?s:"",t)}),u.current=t,c.current=null},[u,t,c,i,n,l])}({nextState:m,initialState:c,stateComparers:null!=d?d:i,onStateChange:null!=f?f:l,controlledProps:u,lastActionRef:t}),[s(m,u),h]}},95797:function(e,t,r){r.d(t,{y:function(){return u}});var n=r(42096),o=r(79760),a=r(44520),i=r(11686),l=r(85519),s=r(27045);let c=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function u(e){var t;let{elementType:r,externalSlotProps:u,ownerState:d,skipResolvingSlotProps:f=!1}=e,v=(0,o.Z)(e,c),p=f?{}:(0,s.x)(u,d),{props:m,internalRef:g}=(0,l.L)((0,n.Z)({},v,{externalSlotProps:p})),h=(0,a.Z)(g,null==p?void 0:p.ref,null==(t=e.additionalProps)?void 0:t.ref),b=(0,i.$)(r,(0,n.Z)({},m,{ref:h}),d);return b}},58064:function(e,t,r){var n=r(30610),o=r(96469);t.Z=(0,n.Z)((0,o.jsx)("path",{d:"M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"}),"CloseRounded")},1526:function(e,t,r){var n=r(30610),o=r(96469);t.Z=(0,n.Z)((0,o.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz")},1905:function(e,t,r){r.d(t,{Z:function(){return h}});var n=r(42096),o=r(79760),a=r(38497),i=r(4280),l=r(62967),s=r(42250),c=r(23259),u=r(96454),d=r(96469);let f=["className","component"];var v=r(58409),p=r(15481),m=r(73587);let g=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:v="MuiBox-root",generateClassName:p}=e,m=(0,l.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z),g=a.forwardRef(function(e,a){let l=(0,u.Z)(r),s=(0,c.Z)(e),{className:g,component:h="div"}=s,b=(0,o.Z)(s,f);return(0,d.jsx)(m,(0,n.Z)({as:h,ref:a,className:(0,i.Z)(g,p?p(v):v),theme:t&&l[t]||l},b))});return g}({themeId:m.Z,defaultTheme:p.Z,defaultClassName:"MuiBox-root",generateClassName:v.Z.generate});var h=g},81894:function(e,t,r){r.d(t,{Z:function(){return R},f:function(){return C}});var n=r(79760),o=r(42096),a=r(38497),i=r(53363),l=r(95893),s=r(17923),c=r(44520),u=r(74936),d=r(47e3),f=r(63923),v=r(80574),p=r(21198),m=r(73118);function g(e){return(0,m.d6)("MuiButton",e)}let h=(0,m.sI)("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);var b=r(83600),x=r(96469);let y=["children","action","color","variant","size","fullWidth","startDecorator","endDecorator","loading","loadingPosition","loadingIndicator","disabled","component","slots","slotProps"],S=e=>{let{color:t,disabled:r,focusVisible:n,focusVisibleClassName:o,fullWidth:a,size:i,variant:c,loading:u}=e,d={root:["root",r&&"disabled",n&&"focusVisible",a&&"fullWidth",c&&`variant${(0,s.Z)(c)}`,t&&`color${(0,s.Z)(t)}`,i&&`size${(0,s.Z)(i)}`,u&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]},f=(0,l.Z)(d,g,{});return n&&o&&(f.root+=` ${o}`),f},Z=(0,u.Z)("span",{name:"JoyButton",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),k=(0,u.Z)("span",{name:"JoyButton",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),z=(0,u.Z)("span",{name:"JoyButton",slot:"LoadingCenter",overridesResolver:(e,t)=>t.loadingIndicatorCenter})(({theme:e,ownerState:t})=>{var r,n;return(0,o.Z)({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(r=e.variants[t.variant])||null==(r=r[t.color])?void 0:r.color},t.disabled&&{color:null==(n=e.variants[`${t.variant}Disabled`])||null==(n=n[t.color])?void 0:n.color})}),C=({theme:e,ownerState:t})=>{var r,n,a,i;return[(0,o.Z)({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon},"sm"===t.size&&{"--Icon-fontSize":e.vars.fontSize.lg,"--CircularProgress-size":"20px","--CircularProgress-thickness":"2px","--Button-gap":"0.375rem",minHeight:"var(--Button-minHeight, 2rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"2px",paddingInline:"0.75rem"},"md"===t.size&&{"--Icon-fontSize":e.vars.fontSize.xl,"--CircularProgress-size":"24px","--CircularProgress-thickness":"3px","--Button-gap":"0.5rem",minHeight:"var(--Button-minHeight, 2.5rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"0.25rem",paddingInline:"1rem"},"lg"===t.size&&{"--Icon-fontSize":e.vars.fontSize.xl2,"--CircularProgress-size":"28px","--CircularProgress-thickness":"4px","--Button-gap":"0.75rem",minHeight:"var(--Button-minHeight, 3rem)",fontSize:e.vars.fontSize.md,paddingBlock:"0.375rem",paddingInline:"1.5rem"},{WebkitTapHighlightColor:"transparent",borderRadius:`var(--Button-radius, ${e.vars.radius.sm})`,margin:"var(--Button-margin)",border:"none",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",textDecoration:"none",fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.lg,lineHeight:1},t.fullWidth&&{width:"100%"},{[e.focus.selector]:e.focus.default}),(0,o.Z)({},null==(r=e.variants[t.variant])?void 0:r[t.color],{"&:hover":{"@media (hover: hover)":null==(n=e.variants[`${t.variant}Hover`])?void 0:n[t.color]},'&:active, &[aria-pressed="true"]':null==(a=e.variants[`${t.variant}Active`])?void 0:a[t.color],"&:disabled":null==(i=e.variants[`${t.variant}Disabled`])?void 0:i[t.color]},"center"===t.loadingPosition&&{[`&.${h.loading}`]:{color:"transparent"}})]},w=(0,u.Z)("button",{name:"JoyButton",slot:"Root",overridesResolver:(e,t)=>t.root})(C),I=a.forwardRef(function(e,t){var r;let l=(0,d.Z)({props:e,name:"JoyButton"}),{children:s,action:u,color:m="primary",variant:g="solid",size:h="md",fullWidth:C=!1,startDecorator:I,endDecorator:R,loading:P=!1,loadingPosition:L="center",loadingIndicator:D,disabled:T,component:B,slots:M={},slotProps:O={}}=l,$=(0,n.Z)(l,y),E=a.useContext(b.Z),j=e.variant||E.variant||g,H=e.size||E.size||h,{getColor:V}=(0,f.VT)(j),N=V(e.color,E.color||m),W=null!=(r=e.disabled||e.loading)?r:E.disabled||T||P,A=a.useRef(null),_=(0,c.Z)(A,t),{focusVisible:F,setFocusVisible:J,getRootProps:q}=(0,i.U)((0,o.Z)({},l,{disabled:W,rootRef:_})),U=null!=D?D:(0,x.jsx)(p.Z,(0,o.Z)({},"context"!==N&&{color:N},{thickness:{sm:2,md:3,lg:4}[H]||3}));a.useImperativeHandle(u,()=>({focusVisible:()=>{var e;J(!0),null==(e=A.current)||e.focus()}}),[J]);let G=(0,o.Z)({},l,{color:N,fullWidth:C,variant:j,size:H,focusVisible:F,loading:P,loadingPosition:L,disabled:W}),X=S(G),Y=(0,o.Z)({},$,{component:B,slots:M,slotProps:O}),[K,Q]=(0,v.Z)("root",{ref:t,className:X.root,elementType:w,externalForwardedProps:Y,getSlotProps:q,ownerState:G}),[ee,et]=(0,v.Z)("startDecorator",{className:X.startDecorator,elementType:Z,externalForwardedProps:Y,ownerState:G}),[er,en]=(0,v.Z)("endDecorator",{className:X.endDecorator,elementType:k,externalForwardedProps:Y,ownerState:G}),[eo,ea]=(0,v.Z)("loadingIndicatorCenter",{className:X.loadingIndicatorCenter,elementType:z,externalForwardedProps:Y,ownerState:G});return(0,x.jsxs)(K,(0,o.Z)({},Q,{children:[(I||P&&"start"===L)&&(0,x.jsx)(ee,(0,o.Z)({},et,{children:P&&"start"===L?U:I})),s,P&&"center"===L&&(0,x.jsx)(eo,(0,o.Z)({},ea,{children:U})),(R||P&&"end"===L)&&(0,x.jsx)(er,(0,o.Z)({},en,{children:P&&"end"===L?U:R}))]}))});I.muiName="Button";var R=I},83600:function(e,t,r){var n=r(38497);let o=n.createContext({});t.Z=o},21198:function(e,t,r){r.d(t,{Z:function(){return P}});var n=r(42096),o=r(79760),a=r(38497),i=r(4280),l=r(17923),s=r(95893),c=r(95738),u=r(74936),d=r(47e3),f=r(63923),v=r(80574),p=r(73118);function m(e){return(0,p.d6)("MuiCircularProgress",e)}(0,p.sI)("MuiCircularProgress",["root","determinate","svg","track","progress","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);var g=r(96469);let h=e=>e,b,x=["color","backgroundColor"],y=["children","className","color","size","variant","thickness","determinate","value","component","slots","slotProps"],S=(0,c.F4)({"0%":{transform:"rotate(-90deg)"},"100%":{transform:"rotate(270deg)"}}),Z=e=>{let{determinate:t,color:r,variant:n,size:o}=e,a={root:["root",t&&"determinate",r&&`color${(0,l.Z)(r)}`,n&&`variant${(0,l.Z)(n)}`,o&&`size${(0,l.Z)(o)}`],svg:["svg"],track:["track"],progress:["progress"]};return(0,s.Z)(a,m,{})};function k(e,t){return`var(--CircularProgress-${e}Thickness, var(--CircularProgress-thickness, ${t}))`}let z=(0,u.Z)("span",{name:"JoyCircularProgress",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>{var r;let a=(null==(r=t.variants[e.variant])?void 0:r[e.color])||{},{color:i,backgroundColor:l}=a,s=(0,o.Z)(a,x);return(0,n.Z)({"--Icon-fontSize":"calc(0.4 * var(--_root-size))","--CircularProgress-trackColor":l,"--CircularProgress-progressColor":i,"--CircularProgress-percent":e.value,"--CircularProgress-linecap":"round"},"sm"===e.size&&{"--_root-size":"var(--CircularProgress-size, 24px)","--_track-thickness":k("track","3px"),"--_progress-thickness":k("progress","3px")},"sm"===e.instanceSize&&{"--CircularProgress-size":"24px"},"md"===e.size&&{"--_track-thickness":k("track","6px"),"--_progress-thickness":k("progress","6px"),"--_root-size":"var(--CircularProgress-size, 40px)"},"md"===e.instanceSize&&{"--CircularProgress-size":"40px"},"lg"===e.size&&{"--_track-thickness":k("track","8px"),"--_progress-thickness":k("progress","8px"),"--_root-size":"var(--CircularProgress-size, 64px)"},"lg"===e.instanceSize&&{"--CircularProgress-size":"64px"},e.thickness&&{"--_track-thickness":`${e.thickness}px`,"--_progress-thickness":`${e.thickness}px`},{"--_thickness-diff":"calc(var(--_track-thickness) - var(--_progress-thickness))","--_inner-size":"calc(var(--_root-size) - 2 * var(--variant-borderWidth, 0px))","--_outlined-inset":"max(var(--_track-thickness), var(--_progress-thickness))",width:"var(--_root-size)",height:"var(--_root-size)",borderRadius:"var(--_root-size)",margin:"var(--CircularProgress-margin)",boxSizing:"border-box",display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,position:"relative",color:i},e.children&&{fontFamily:t.vars.fontFamily.body,fontWeight:t.vars.fontWeight.md,fontSize:"calc(0.2 * var(--_root-size))"},s,"outlined"===e.variant&&{"&:before":(0,n.Z)({content:'""',display:"block",position:"absolute",borderRadius:"inherit",top:"var(--_outlined-inset)",left:"var(--_outlined-inset)",right:"var(--_outlined-inset)",bottom:"var(--_outlined-inset)"},s)})}),C=(0,u.Z)("svg",{name:"JoyCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({width:"inherit",height:"inherit",display:"inherit",boxSizing:"inherit",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))"}),w=(0,u.Z)("circle",{name:"JoyCircularProgress",slot:"track",overridesResolver:(e,t)=>t.track})({cx:"50%",cy:"50%",r:"calc(var(--_inner-size) / 2 - var(--_track-thickness) / 2 + min(0px, var(--_thickness-diff) / 2))",fill:"transparent",strokeWidth:"var(--_track-thickness)",stroke:"var(--CircularProgress-trackColor)"}),I=(0,u.Z)("circle",{name:"JoyCircularProgress",slot:"progress",overridesResolver:(e,t)=>t.progress})({"--_progress-radius":"calc(var(--_inner-size) / 2 - var(--_progress-thickness) / 2 - max(0px, var(--_thickness-diff) / 2))","--_progress-length":"calc(2 * 3.1415926535 * var(--_progress-radius))",cx:"50%",cy:"50%",r:"var(--_progress-radius)",fill:"transparent",strokeWidth:"var(--_progress-thickness)",stroke:"var(--CircularProgress-progressColor)",strokeLinecap:"var(--CircularProgress-linecap, round)",strokeDasharray:"var(--_progress-length)",strokeDashoffset:"calc(var(--_progress-length) - var(--CircularProgress-percent) * var(--_progress-length) / 100)",transformOrigin:"center",transform:"rotate(-90deg)"},({ownerState:e})=>!e.determinate&&(0,c.iv)(b||(b=h` - animation: var(--CircularProgress-circulation, 0.8s linear 0s infinite normal none running) - ${0}; - `),S)),R=a.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"JoyCircularProgress"}),{children:a,className:l,color:s="primary",size:c="md",variant:u="soft",thickness:p,determinate:m=!1,value:h=m?0:25,component:b,slots:x={},slotProps:S={}}=r,k=(0,o.Z)(r,y),{getColor:R}=(0,f.VT)(u),P=R(e.color,s),L=(0,n.Z)({},r,{color:P,size:c,variant:u,thickness:p,value:h,determinate:m,instanceSize:e.size}),D=Z(L),T=(0,n.Z)({},k,{component:b,slots:x,slotProps:S}),[B,M]=(0,v.Z)("root",{ref:t,className:(0,i.Z)(D.root,l),elementType:z,externalForwardedProps:T,ownerState:L,additionalProps:(0,n.Z)({role:"progressbar",style:{"--CircularProgress-percent":h}},h&&m&&{"aria-valuenow":"number"==typeof h?Math.round(h):Math.round(Number(h||0))})}),[O,$]=(0,v.Z)("svg",{className:D.svg,elementType:C,externalForwardedProps:T,ownerState:L}),[E,j]=(0,v.Z)("track",{className:D.track,elementType:w,externalForwardedProps:T,ownerState:L}),[H,V]=(0,v.Z)("progress",{className:D.progress,elementType:I,externalForwardedProps:T,ownerState:L});return(0,g.jsxs)(B,(0,n.Z)({},M,{children:[(0,g.jsxs)(O,(0,n.Z)({},$,{children:[(0,g.jsx)(E,(0,n.Z)({},j)),(0,g.jsx)(H,(0,n.Z)({},V))]})),a]}))});var P=R},2233:function(e,t,r){var n=r(38497);let o=n.createContext(void 0);t.Z=o},65003:function(e,t,r){r.d(t,{Z:function(){return N}});var n=r(42096),o=r(79760),a=r(38497),i=r(4280),l=r(95592),s=r(67230),c=r(95893),u=r(76311);let d=(0,u.ZP)();var f=r(65838),v=r(96454),p=r(23259),m=r(51365);let g=(e,t)=>e.filter(e=>t.includes(e)),h=(e,t,r)=>{let n=e.keys[0];if(Array.isArray(t))t.forEach((t,n)=>{r((t,r)=>{n<=e.keys.length-1&&(0===n?Object.assign(t,r):t[e.up(e.keys[n])]=r)},t)});else if(t&&"object"==typeof t){let o=Object.keys(t).length>e.keys.length?e.keys:g(e.keys,Object.keys(t));o.forEach(o=>{if(-1!==e.keys.indexOf(o)){let a=t[o];void 0!==a&&r((t,r)=>{n===o?Object.assign(t,r):t[e.up(o)]=r},a)}})}else("number"==typeof t||"string"==typeof t)&&r((e,t)=>{Object.assign(e,t)},t)};function b(e){return e?`Level${e}`:""}function x(e){return e.unstable_level>0&&e.container}function y(e){return function(t){return`var(--Grid-${t}Spacing${b(e.unstable_level)})`}}function S(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${b(e.unstable_level-1)})`}}function Z(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${b(e.unstable_level-1)})`}let k=({theme:e,ownerState:t})=>{let r=y(t),n={};return h(e.breakpoints,t.gridSize,(e,o)=>{let a={};!0===o&&(a={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===o&&(a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof o&&(a={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${o} / ${Z(t)}${x(t)?` + ${r("column")}`:""})`}),e(n,a)}),n},z=({theme:e,ownerState:t})=>{let r={};return h(e.breakpoints,t.gridOffset,(e,n)=>{let o={};"auto"===n&&(o={marginLeft:"auto"}),"number"==typeof n&&(o={marginLeft:0===n?"0px":`calc(100% * ${n} / ${Z(t)})`}),e(r,o)}),r},C=({theme:e,ownerState:t})=>{if(!t.container)return{};let r=x(t)?{[`--Grid-columns${b(t.unstable_level)}`]:Z(t)}:{"--Grid-columns":12};return h(e.breakpoints,t.columns,(e,n)=>{e(r,{[`--Grid-columns${b(t.unstable_level)}`]:n})}),r},w=({theme:e,ownerState:t})=>{if(!t.container)return{};let r=S(t),n=x(t)?{[`--Grid-rowSpacing${b(t.unstable_level)}`]:r("row")}:{};return h(e.breakpoints,t.rowSpacing,(r,o)=>{var a;r(n,{[`--Grid-rowSpacing${b(t.unstable_level)}`]:"string"==typeof o?o:null==(a=e.spacing)?void 0:a.call(e,o)})}),n},I=({theme:e,ownerState:t})=>{if(!t.container)return{};let r=S(t),n=x(t)?{[`--Grid-columnSpacing${b(t.unstable_level)}`]:r("column")}:{};return h(e.breakpoints,t.columnSpacing,(r,o)=>{var a;r(n,{[`--Grid-columnSpacing${b(t.unstable_level)}`]:"string"==typeof o?o:null==(a=e.spacing)?void 0:a.call(e,o)})}),n},R=({theme:e,ownerState:t})=>{if(!t.container)return{};let r={};return h(e.breakpoints,t.direction,(e,t)=>{e(r,{flexDirection:t})}),r},P=({ownerState:e})=>{let t=y(e),r=S(e);return(0,n.Z)({minWidth:0,boxSizing:"border-box"},e.container&&(0,n.Z)({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||x(e))&&(0,n.Z)({padding:`calc(${r("row")} / 2) calc(${r("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${r("row")} 0px 0px ${r("column")}`}))},L=e=>{let t=[];return Object.entries(e).forEach(([e,r])=>{!1!==r&&void 0!==r&&t.push(`grid-${e}-${String(r)}`)}),t},D=(e,t="xs")=>{function r(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(r(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){let t=[];return Object.entries(e).forEach(([e,n])=>{r(n)&&t.push(`spacing-${e}-${String(n)}`)}),t}return[]},T=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map(([e,t])=>`direction-${e}-${t}`):[`direction-xs-${String(e)}`];var B=r(96469);let M=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],O=(0,m.Z)(),$=d("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function E(e){return(0,f.Z)({props:e,name:"MuiGrid",defaultTheme:O})}var j=r(74936),H=r(47e3);let V=function(e={}){let{createStyledComponent:t=$,useThemeProps:r=E,componentName:u="MuiGrid"}=e,d=a.createContext(void 0),f=(e,t)=>{let{container:r,direction:n,spacing:o,wrap:a,gridSize:i}=e,l={root:["root",r&&"container","wrap"!==a&&`wrap-xs-${String(a)}`,...T(n),...L(i),...r?D(o,t.breakpoints.keys[0]):[]]};return(0,c.Z)(l,e=>(0,s.ZP)(u,e),{})},m=t(C,I,w,k,R,P,z),g=a.forwardRef(function(e,t){var s,c,u,g,h,b,x,y;let S=(0,v.Z)(),Z=r(e),k=(0,p.Z)(Z),z=a.useContext(d),{className:C,children:w,columns:I=12,container:R=!1,component:P="div",direction:L="row",wrap:D="wrap",spacing:T=0,rowSpacing:O=T,columnSpacing:$=T,disableEqualOverflow:E,unstable_level:j=0}=k,H=(0,o.Z)(k,M),V=E;j&&void 0!==E&&(V=e.disableEqualOverflow);let N={},W={},A={};Object.entries(H).forEach(([e,t])=>{void 0!==S.breakpoints.values[e]?N[e]=t:void 0!==S.breakpoints.values[e.replace("Offset","")]?W[e.replace("Offset","")]=t:A[e]=t});let _=null!=(s=e.columns)?s:j?void 0:I,F=null!=(c=e.spacing)?c:j?void 0:T,J=null!=(u=null!=(g=e.rowSpacing)?g:e.spacing)?u:j?void 0:O,q=null!=(h=null!=(b=e.columnSpacing)?b:e.spacing)?h:j?void 0:$,U=(0,n.Z)({},k,{level:j,columns:_,container:R,direction:L,wrap:D,spacing:F,rowSpacing:J,columnSpacing:q,gridSize:N,gridOffset:W,disableEqualOverflow:null!=(x=null!=(y=V)?y:z)&&x,parentDisableEqualOverflow:z}),G=f(U,S),X=(0,B.jsx)(m,(0,n.Z)({ref:t,as:P,ownerState:U,className:(0,i.Z)(G.root,C)},A,{children:a.Children.map(w,e=>{if(a.isValidElement(e)&&(0,l.Z)(e,["Grid"])){var t;return a.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:j+1})}return e})}));return void 0!==V&&V!==(null!=z&&z)&&(X=(0,B.jsx)(d.Provider,{value:V,children:X})),X});return g.muiName="Grid",g}({createStyledComponent:(0,j.Z)("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,H.Z)({props:e,name:"JoyGrid"})});var N=V},88861:function(e,t,r){r.d(t,{ZP:function(){return k}});var n=r(79760),o=r(42096),a=r(38497),i=r(17923),l=r(44520),s=r(53363),c=r(95893),u=r(74936),d=r(47e3),f=r(63923),v=r(80574),p=r(73118);function m(e){return(0,p.d6)("MuiIconButton",e)}(0,p.sI)("MuiIconButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg"]);var g=r(83600),h=r(96469);let b=["children","action","component","color","disabled","variant","size","slots","slotProps"],x=e=>{let{color:t,disabled:r,focusVisible:n,focusVisibleClassName:o,size:a,variant:l}=e,s={root:["root",r&&"disabled",n&&"focusVisible",l&&`variant${(0,i.Z)(l)}`,t&&`color${(0,i.Z)(t)}`,a&&`size${(0,i.Z)(a)}`]},u=(0,c.Z)(s,m,{});return n&&o&&(u.root+=` ${o}`),u},y=(0,u.Z)("button")(({theme:e,ownerState:t})=>{var r,n,a,i;return[(0,o.Z)({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon},t.instanceSize&&{"--IconButton-size":({sm:"2rem",md:"2.5rem",lg:"3rem"})[t.instanceSize]},"sm"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2rem) / 1.6)","--CircularProgress-size":"20px","--CircularProgress-thickness":"2px",minWidth:"var(--IconButton-size, 2rem)",minHeight:"var(--IconButton-size, 2rem)",fontSize:e.vars.fontSize.sm,paddingInline:"2px"},"md"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2.5rem) / 1.667)","--CircularProgress-size":"24px","--CircularProgress-thickness":"3px",minWidth:"var(--IconButton-size, 2.5rem)",minHeight:"var(--IconButton-size, 2.5rem)",fontSize:e.vars.fontSize.md,paddingInline:"0.25rem"},"lg"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 3rem) / 1.714)","--CircularProgress-size":"28px","--CircularProgress-thickness":"4px",minWidth:"var(--IconButton-size, 3rem)",minHeight:"var(--IconButton-size, 3rem)",fontSize:e.vars.fontSize.lg,paddingInline:"0.375rem"},{WebkitTapHighlightColor:"transparent",paddingBlock:0,fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.md,margin:"var(--IconButton-margin)",borderRadius:`var(--IconButton-radius, ${e.vars.radius.sm})`,border:"none",boxSizing:"border-box",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",[e.focus.selector]:(0,o.Z)({"--Icon-color":"currentColor"},e.focus.default)}),(0,o.Z)({},null==(r=e.variants[t.variant])?void 0:r[t.color],{"&:hover":{"@media (hover: hover)":(0,o.Z)({"--Icon-color":"currentColor"},null==(n=e.variants[`${t.variant}Hover`])?void 0:n[t.color])},'&:active, &[aria-pressed="true"]':(0,o.Z)({"--Icon-color":"currentColor"},null==(a=e.variants[`${t.variant}Active`])?void 0:a[t.color]),"&:disabled":null==(i=e.variants[`${t.variant}Disabled`])?void 0:i[t.color]})]}),S=(0,u.Z)(y,{name:"JoyIconButton",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Z=a.forwardRef(function(e,t){var r;let i=(0,d.Z)({props:e,name:"JoyIconButton"}),{children:c,action:u,component:p="button",color:m="neutral",disabled:y,variant:Z="plain",size:k="md",slots:z={},slotProps:C={}}=i,w=(0,n.Z)(i,b),I=a.useContext(g.Z),R=e.variant||I.variant||Z,P=e.size||I.size||k,{getColor:L}=(0,f.VT)(R),D=L(e.color,I.color||m),T=null!=(r=e.disabled)?r:I.disabled||y,B=a.useRef(null),M=(0,l.Z)(B,t),{focusVisible:O,setFocusVisible:$,getRootProps:E}=(0,s.U)((0,o.Z)({},i,{disabled:T,rootRef:M}));a.useImperativeHandle(u,()=>({focusVisible:()=>{var e;$(!0),null==(e=B.current)||e.focus()}}),[$]);let j=(0,o.Z)({},i,{component:p,color:D,disabled:T,variant:R,size:P,focusVisible:O,instanceSize:e.size}),H=x(j),V=(0,o.Z)({},w,{component:p,slots:z,slotProps:C}),[N,W]=(0,v.Z)("root",{ref:t,className:H.root,elementType:S,getSlotProps:E,externalForwardedProps:V,ownerState:j});return(0,h.jsx)(N,(0,o.Z)({},W,{children:c}))});Z.muiName="IconButton";var k=Z},21334:function(e,t,r){var n=r(38497);let o=n.createContext(void 0);t.Z=o},44551:function(e,t,r){r.d(t,{C:function(){return i}});var n=r(42096);r(38497);var o=r(74936),a=r(53415);r(96469);let i=(0,o.Z)("ul")(({theme:e,ownerState:t})=>{var r;let{p:o,padding:i,borderRadius:l}=(0,a.V)({theme:e,ownerState:t},["p","padding","borderRadius"]);function s(r){return"sm"===r?{"--ListDivider-gap":"0.25rem","--ListItem-minHeight":"2rem","--ListItem-paddingY":"0.25rem","--ListItem-paddingX":"0.5rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.5rem":"2rem","--Icon-fontSize":e.vars.fontSize.lg}:"md"===r?{"--ListDivider-gap":"0.375rem","--ListItem-minHeight":"2.5rem","--ListItem-paddingY":"0.375rem","--ListItem-paddingX":"0.75rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.75rem":"2.5rem","--Icon-fontSize":e.vars.fontSize.xl}:"lg"===r?{"--ListDivider-gap":"0.5rem","--ListItem-minHeight":"3rem","--ListItem-paddingY":"0.5rem","--ListItem-paddingX":"1rem","--ListItemDecorator-size":"horizontal"===t.orientation?"2.25rem":"3rem","--Icon-fontSize":e.vars.fontSize.xl2}:{}}return[t.nesting&&(0,n.Z)({},s(t.instanceSize),{"--ListItem-paddingRight":"var(--ListItem-paddingX)","--ListItem-paddingLeft":"var(--NestedListItem-paddingLeft)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px",padding:0,marginInlineStart:"var(--NestedList-marginLeft)",marginInlineEnd:"var(--NestedList-marginRight)",marginBlockStart:"var(--List-gap)",marginBlockEnd:"initial"}),!t.nesting&&(0,n.Z)({},s(t.size),{"--List-gap":"0px","--List-nestedInsetStart":"0px","--ListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItem-paddingRight":"var(--ListItem-paddingX)","--unstable_List-childRadius":"calc(max(var(--List-radius) - var(--List-padding), min(var(--List-padding) / 2, var(--List-radius) / 2)) - var(--variant-borderWidth, 0px))","--ListItem-radius":"var(--unstable_List-childRadius)","--ListItem-startActionTranslateX":"calc(0.5 * var(--ListItem-paddingLeft))","--ListItem-endActionTranslateX":"calc(-0.5 * var(--ListItem-paddingRight))",margin:"initial"},e.typography[`body-${t.size}`],"horizontal"===t.orientation?(0,n.Z)({},t.wrap?{padding:"var(--List-padding)",marginInlineStart:"calc(-1 * var(--List-gap))",marginBlockStart:"calc(-1 * var(--List-gap))"}:{paddingInline:"var(--List-padding, var(--ListDivider-gap))",paddingBlock:"var(--List-padding)"}):{paddingBlock:"var(--List-padding, var(--ListDivider-gap))",paddingInline:"var(--List-padding)"}),(0,n.Z)({boxSizing:"border-box",borderRadius:"var(--List-radius)",listStyle:"none",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"},t.wrap&&{flexWrap:"wrap"},{flexGrow:1,position:"relative"},null==(r=e.variants[t.variant])?void 0:r[t.color],{"--unstable_List-borderWidth":"var(--variant-borderWidth, 0px)"},void 0!==l&&{"--List-radius":l},void 0!==o&&{"--List-padding":o},void 0!==i&&{"--List-padding":i})]});(0,o.Z)(i,{name:"JoyList",slot:"Root",overridesResolver:(e,t)=>t.root})({})},47402:function(e,t,r){r.d(t,{Z:function(){return u},M:function(){return c}});var n=r(42096),o=r(38497),a=r(29608);let i=o.createContext(!1),l=o.createContext(!1);var s=r(96469);let c={"--NestedList-marginRight":"0px","--NestedList-marginLeft":"0px","--NestedListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px"};var u=function(e){let{children:t,nested:r,row:c=!1,wrap:u=!1}=e,d=(0,s.jsx)(a.Z.Provider,{value:c,children:(0,s.jsx)(i.Provider,{value:u,children:o.Children.map(t,(e,r)=>o.isValidElement(e)?o.cloneElement(e,(0,n.Z)({},0===r&&{"data-first-child":""},r===o.Children.count(t)-1&&{"data-last-child":""})):e)})});return void 0===r?d:(0,s.jsx)(l.Provider,{value:r,children:d})}},29608:function(e,t,r){var n=r(38497);let o=n.createContext(!1);t.Z=o},91601:function(e,t,r){r.d(t,{r:function(){return s}});var n=r(42096);r(38497);var o=r(74936),a=r(73118);let i=(0,a.sI)("MuiListItem",["root","startAction","endAction","nested","nesting","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]),l=(0,a.sI)("MuiListItemButton",["root","horizontal","vertical","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","variantPlain","variantSoft","variantOutlined","variantSolid"]);r(96469);let s=(0,o.Z)("div")(({theme:e,ownerState:t})=>{var r,o,a,s,c;return(0,n.Z)({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,WebkitTapHighlightColor:"transparent",boxSizing:"border-box",position:"relative",font:"inherit",display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"stretch"},"vertical"===t.orientation&&{flexDirection:"column",justifyContent:"center"},{textAlign:"initial",textDecoration:"initial",backgroundColor:"initial",cursor:"pointer",marginInline:"var(--ListItemButton-marginInline)",marginBlock:"var(--ListItemButton-marginBlock)"},void 0===t["data-first-child"]&&{marginInlineStart:t.row?"var(--List-gap)":void 0,marginBlockStart:t.row?void 0:"var(--List-gap)"},{paddingBlock:"calc(var(--ListItem-paddingY) - var(--variant-borderWidth, 0px))",paddingInlineStart:"calc(var(--ListItem-paddingLeft) + var(--ListItem-startActionWidth, var(--unstable_startActionWidth, 0px)))",paddingInlineEnd:"calc(var(--ListItem-paddingRight) + var(--ListItem-endActionWidth, var(--unstable_endActionWidth, 0px)))",minBlockSize:"var(--ListItem-minHeight)",border:"1px solid transparent",borderRadius:"var(--ListItem-radius)",flex:"var(--unstable_ListItem-flex, none)",fontSize:"inherit",lineHeight:"inherit",minInlineSize:0,[e.focus.selector]:(0,n.Z)({},e.focus.default,{zIndex:1})},null==(r=e.variants[t.variant])?void 0:r[t.color],{[`.${i.root} > &`]:{"--unstable_ListItem-flex":"1 0 0%"},[`&.${l.selected}`]:(0,n.Z)({},null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color],{"--Icon-color":"currentColor"}),[`&:not(.${l.selected}, [aria-selected="true"])`]:{"&:hover":null==(a=e.variants[`${t.variant}Hover`])?void 0:a[t.color],"&:active":null==(s=e.variants[`${t.variant}Active`])?void 0:s[t.color]},[`&.${l.disabled}`]:(0,n.Z)({},null==(c=e.variants[`${t.variant}Disabled`])?void 0:c[t.color])})});(0,o.Z)(s,{name:"JoyListItemButton",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>(0,n.Z)({},!e.row&&{[`&.${l.selected}`]:{fontWeight:t.vars.fontWeight.md}}))},35802:function(e,t,r){r.d(t,{Z:function(){return j}});var n=r(79760),o=r(42096),a=r(38497),i=r(17923),l=r(95893),s=r(44520),c=r(39945),u=r(66268),d=r(37012),f=r(96322);function v(e,t){if(t.type===d.F.itemHover)return e;let r=(0,f.R$)(e,t);if(null===r.highlightedValue&&t.context.items.length>0)return(0,o.Z)({},r,{highlightedValue:t.context.items[0]});if(t.type===d.F.keyDown&&"Escape"===t.event.key)return(0,o.Z)({},r,{open:!1});if(t.type===d.F.blur){var n,a,i;if(!(null!=(n=t.context.listboxRef.current)&&n.contains(t.event.relatedTarget))){let e=null==(a=t.context.listboxRef.current)?void 0:a.getAttribute("id"),n=null==(i=t.event.relatedTarget)?void 0:i.getAttribute("aria-controls");return e&&n&&e===n?r:(0,o.Z)({},r,{open:!1,highlightedValue:t.context.items[0]})}}return r}var p=r(13454),m=r(43953),g=r(19079),h=r(62719),b=r(1432);let x={dispatch:()=>{},popupId:"",registerPopup:()=>{},registerTrigger:()=>{},state:{open:!0},triggerElement:null};var y=r(33975),S=r(96469);function Z(e){let{value:t,children:r}=e,{dispatch:n,getItemIndex:o,getItemState:i,registerHighlightChangeHandler:l,registerSelectionChangeHandler:s,registerItem:c,totalSubitemCount:u}=t,d=a.useMemo(()=>({dispatch:n,getItemState:i,getItemIndex:o,registerHighlightChangeHandler:l,registerSelectionChangeHandler:s}),[n,o,i,l,s]),f=a.useMemo(()=>({getItemIndex:o,registerItem:c,totalSubitemCount:u}),[c,o,u]);return(0,S.jsx)(h.s.Provider,{value:f,children:(0,S.jsx)(y.Z.Provider,{value:d,children:r})})}var k=r(4309),z=r(95797),C=r(44551),w=r(47402),I=r(21334),R=r(74936),P=r(47e3),L=r(71267),D=r(63923),T=r(73118);function B(e){return(0,T.d6)("MuiMenu",e)}(0,T.sI)("MuiMenu",["root","listbox","expanded","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg"]);let M=["actions","children","color","component","disablePortal","keepMounted","id","invertedColors","onItemsChange","modifiers","variant","size","slots","slotProps"],O=e=>{let{open:t,variant:r,color:n,size:o}=e,a={root:["root",t&&"expanded",r&&`variant${(0,i.Z)(r)}`,n&&`color${(0,i.Z)(n)}`,o&&`size${(0,i.Z)(o)}`],listbox:["listbox"]};return(0,l.Z)(a,B,{})},$=(0,R.Z)(C.C,{name:"JoyMenu",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n;let a=null==(r=e.variants[t.variant])?void 0:r[t.color];return[(0,o.Z)({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--ListItem-stickyBackground":(null==a?void 0:a.backgroundColor)||(null==a?void 0:a.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},w.M,{borderRadius:`var(--List-radius, ${e.vars.radius.sm})`,boxShadow:e.shadow.md,overflow:"auto",zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`},!(null!=a&&a.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup}),"context"!==t.color&&t.invertedColors&&(null==(n=e.colorInversion[t.variant])?void 0:n[t.color])]}),E=a.forwardRef(function(e,t){var r;let i=(0,P.Z)({props:e,name:"JoyMenu"}),{actions:l,children:f,color:y="neutral",component:C,disablePortal:R=!1,keepMounted:T=!1,id:B,invertedColors:E=!1,onItemsChange:j,modifiers:H,variant:V="outlined",size:N="md",slots:W={},slotProps:A={}}=i,_=(0,n.Z)(i,M),{getColor:F}=(0,D.VT)(V),J=R?F(e.color,y):y,{contextValue:q,getListboxProps:U,dispatch:G,open:X,triggerElement:Y}=function(e={}){var t,r;let{listboxRef:n,onItemsChange:i,id:l}=e,d=a.useRef(null),f=(0,s.Z)(d,n),y=null!=(t=(0,c.Z)(l))?t:"",{state:{open:S},dispatch:Z,triggerElement:k,registerPopup:z}=null!=(r=a.useContext(p.D))?r:x,C=a.useRef(S),{subitems:w,contextValue:I}=(0,h.Y)(),R=a.useMemo(()=>Array.from(w.keys()),[w]),P=a.useCallback(e=>{var t,r;return null==e?null:null!=(t=null==(r=w.get(e))?void 0:r.ref.current)?t:null},[w]),{dispatch:L,getRootProps:D,contextValue:T,state:{highlightedValue:B},rootRef:M}=(0,m.s)({disabledItemsFocusable:!0,focusManagement:"DOM",getItemDomElement:P,getInitialState:()=>({selectedValues:[],highlightedValue:null}),isItemDisabled:e=>{var t;return(null==w||null==(t=w.get(e))?void 0:t.disabled)||!1},items:R,getItemAsString:e=>{var t,r;return(null==(t=w.get(e))?void 0:t.label)||(null==(r=w.get(e))||null==(r=r.ref.current)?void 0:r.innerText)},rootRef:f,onItemsChange:i,reducerActionContext:{listboxRef:d},selectionMode:"none",stateReducer:v});(0,u.Z)(()=>{z(y)},[y,z]),a.useEffect(()=>{if(S&&B===R[0]&&!C.current){var e;null==(e=w.get(R[0]))||null==(e=e.ref)||null==(e=e.current)||e.focus()}},[S,B,w,R]),a.useEffect(()=>{var e,t;null!=(e=d.current)&&e.contains(document.activeElement)&&null!==B&&(null==w||null==(t=w.get(B))||null==(t=t.ref.current)||t.focus())},[B,w]);let O=e=>t=>{var r,n;null==(r=e.onBlur)||r.call(e,t),t.defaultMuiPrevented||null!=(n=d.current)&&n.contains(t.relatedTarget)||t.relatedTarget===k||Z({type:g.Q.blur,event:t})},$=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),t.defaultMuiPrevented||"Escape"!==t.key||Z({type:g.Q.escapeKeyDown,event:t})},E=(e={})=>({onBlur:O(e),onKeyDown:$(e)});return a.useDebugValue({subitems:w,highlightedValue:B}),{contextValue:(0,o.Z)({},I,T),dispatch:L,getListboxProps:(e={})=>{let t=(0,b.f)(E,D);return(0,o.Z)({},t(e),{id:y,role:"menu"})},highlightedValue:B,listboxRef:M,menuItems:w,open:S,triggerElement:k}}({onItemsChange:j,id:B,listboxRef:t});a.useImperativeHandle(l,()=>({dispatch:G,resetHighlight:()=>G({type:d.F.resetHighlight,event:null})}),[G]);let K=(0,o.Z)({},i,{disablePortal:R,invertedColors:E,color:J,variant:V,size:N,open:X,nesting:!1,row:!1}),Q=O(K),ee=(0,o.Z)({},_,{component:C,slots:W,slotProps:A}),et=a.useMemo(()=>[{name:"offset",options:{offset:[0,4]}},...H||[]],[H]),er=(0,z.y)({elementType:$,getSlotProps:U,externalForwardedProps:ee,externalSlotProps:{},ownerState:K,additionalProps:{anchorEl:Y,open:X&&null!==Y,disablePortal:R,keepMounted:T,modifiers:et},className:Q.root}),en=(0,S.jsx)(Z,{value:q,children:(0,S.jsx)(L.Yb,{variant:E?void 0:V,color:y,children:(0,S.jsx)(I.Z.Provider,{value:"menu",children:(0,S.jsx)(w.Z,{nested:!0,children:f})})})});return E&&(en=(0,S.jsx)(D.do,{variant:V,children:en})),en=(0,S.jsx)($,(0,o.Z)({},er,!(null!=(r=i.slots)&&r.root)&&{as:k.r,slots:{root:C||"ul"}},{children:en})),R?en:(0,S.jsx)(D.ZP.Provider,{value:void 0,children:en})});var j=E},33464:function(e,t,r){r.d(t,{Z:function(){return L}});var n=r(79760),o=r(42096),a=r(38497),i=r(44520),l=r(13454),s=r(19079),c=r(53363),u=r(1432),d=r(95893),f=r(17923),v=r(73118);function p(e){return(0,v.d6)("MuiMenuButton",e)}(0,v.sI)("MuiMenuButton",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);var m=r(47e3),g=r(80574),h=r(21198),b=r(81894),x=r(74936),y=r(63923),S=r(83600),Z=r(96469);let k=["children","color","component","disabled","endDecorator","loading","loadingPosition","loadingIndicator","size","slotProps","slots","startDecorator","variant"],z=e=>{let{color:t,disabled:r,fullWidth:n,size:o,variant:a,loading:i}=e,l={root:["root",r&&"disabled",n&&"fullWidth",a&&`variant${(0,f.Z)(a)}`,t&&`color${(0,f.Z)(t)}`,o&&`size${(0,f.Z)(o)}`,i&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]};return(0,d.Z)(l,p,{})},C=(0,x.Z)("button",{name:"JoyMenuButton",slot:"Root",overridesResolver:(e,t)=>t.root})(b.f),w=(0,x.Z)("span",{name:"JoyMenuButton",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),I=(0,x.Z)("span",{name:"JoyMenuButton",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),R=(0,x.Z)("span",{name:"JoyMenuButton",slot:"LoadingCenter",overridesResolver:(e,t)=>t.loadingIndicatorCenter})(({theme:e,ownerState:t})=>{var r,n;return(0,o.Z)({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(r=e.variants[t.variant])||null==(r=r[t.color])?void 0:r.color},t.disabled&&{color:null==(n=e.variants[`${t.variant}Disabled`])||null==(n=n[t.color])?void 0:n.color})}),P=a.forwardRef(function(e,t){var r;let d=(0,m.Z)({props:e,name:"JoyMenuButton"}),{children:f,color:v="neutral",component:p,disabled:b=!1,endDecorator:x,loading:P=!1,loadingPosition:L="center",loadingIndicator:D,size:T="md",slotProps:B={},slots:M={},startDecorator:O,variant:$="outlined"}=d,E=(0,n.Z)(d,k),j=a.useContext(S.Z),H=e.variant||j.variant||$,V=e.size||j.size||T,{getColor:N}=(0,y.VT)(H),W=N(e.color,j.color||v),A=null!=(r=e.disabled)?r:j.disabled||b||P,{getRootProps:_,open:F,active:J}=function(e={}){let{disabled:t=!1,focusableWhenDisabled:r,rootRef:n}=e,d=a.useContext(l.D);if(null===d)throw Error("useMenuButton: no menu context available.");let{state:f,dispatch:v,registerTrigger:p,popupId:m}=d,{getRootProps:g,rootRef:h,active:b}=(0,c.U)({disabled:t,focusableWhenDisabled:r,rootRef:n}),x=(0,i.Z)(h,p),y=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultMuiPrevented||v({type:s.Q.toggle,event:t})},S=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),t.defaultMuiPrevented||"ArrowDown"!==t.key&&"ArrowUp"!==t.key||(t.preventDefault(),v({type:s.Q.open,event:t}))},Z=(e={})=>({onClick:y(e),onKeyDown:S(e)});return{active:b,getRootProps:(e={})=>{let t=(0,u.f)(g,Z);return(0,o.Z)({},t(e),{"aria-haspopup":"menu","aria-expanded":f.open,"aria-controls":m,ref:x})},open:f.open,rootRef:x}}({rootRef:t,disabled:A}),q=null!=D?D:(0,Z.jsx)(h.Z,(0,o.Z)({},"context"!==W&&{color:W},{thickness:{sm:2,md:3,lg:4}[V]||3})),U=(0,o.Z)({},d,{active:J,color:W,disabled:A,open:F,size:V,variant:H}),G=z(U),X=(0,o.Z)({},E,{component:p,slots:M,slotProps:B}),[Y,K]=(0,g.Z)("root",{elementType:C,getSlotProps:_,externalForwardedProps:X,ref:t,ownerState:U,className:G.root}),[Q,ee]=(0,g.Z)("startDecorator",{className:G.startDecorator,elementType:w,externalForwardedProps:X,ownerState:U}),[et,er]=(0,g.Z)("endDecorator",{className:G.endDecorator,elementType:I,externalForwardedProps:X,ownerState:U}),[en,eo]=(0,g.Z)("loadingIndicatorCenter",{className:G.loadingIndicatorCenter,elementType:R,externalForwardedProps:X,ownerState:U});return(0,Z.jsxs)(Y,(0,o.Z)({},K,{children:[(O||P&&"start"===L)&&(0,Z.jsx)(Q,(0,o.Z)({},ee,{children:P&&"start"===L?q:O})),f,P&&"center"===L&&(0,Z.jsx)(en,(0,o.Z)({},eo,{children:q})),(x||P&&"end"===L)&&(0,Z.jsx)(et,(0,o.Z)({},er,{children:P&&"end"===L?q:x}))]}))});var L=P},8049:function(e,t,r){r.d(t,{Z:function(){return B}});var n=r(42096),o=r(79760),a=r(38497),i=r(17923),l=r(95893),s=r(39945),c=r(44520),u=r(53363),d=r(45038),f=r(19079),v=r(13454),p=r(1432),m=r(19117);function g(e){return`menu-item-${e.size}`}let h={dispatch:()=>{},popupId:"",registerPopup:()=>{},registerTrigger:()=>{},state:{open:!0},triggerElement:null};var b=r(91601),x=r(74936),y=r(47e3),S=r(63923),Z=r(71267),k=r(73118);function z(e){return(0,k.d6)("MuiMenuItem",e)}(0,k.sI)("MuiMenuItem",["root","focusVisible","disabled","selected","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);var C=r(29608);let w=a.createContext("horizontal");var I=r(80574),R=r(96469);let P=["children","disabled","component","selected","color","orientation","variant","slots","slotProps"],L=e=>{let{focusVisible:t,disabled:r,selected:n,color:o,variant:a}=e,s={root:["root",t&&"focusVisible",r&&"disabled",n&&"selected",o&&`color${(0,i.Z)(o)}`,a&&`variant${(0,i.Z)(a)}`]},c=(0,l.Z)(s,z,{});return c},D=(0,x.Z)(b.r,{name:"JoyMenuItem",slot:"Root",overridesResolver:(e,t)=>t.root})({}),T=a.forwardRef(function(e,t){let r=(0,y.Z)({props:e,name:"JoyMenuItem"}),i=a.useContext(C.Z),{children:l,disabled:b=!1,component:x="li",selected:k=!1,color:z="neutral",orientation:T="horizontal",variant:B="plain",slots:M={},slotProps:O={}}=r,$=(0,o.Z)(r,P),{variant:E=B,color:j=z}=(0,Z.yP)(e.variant,e.color),{getColor:H}=(0,S.VT)(E),V=H(e.color,j),{getRootProps:N,disabled:W,focusVisible:A}=function(e){var t;let{disabled:r=!1,id:o,rootRef:i,label:l}=e,b=(0,s.Z)(o),x=a.useRef(null),y=a.useMemo(()=>({disabled:r,id:null!=b?b:"",label:l,ref:x}),[r,b,l]),{dispatch:S}=null!=(t=a.useContext(v.D))?t:h,{getRootProps:Z,highlighted:k,rootRef:z}=(0,d.J)({item:b}),{index:C,totalItemCount:w}=(0,m.B)(null!=b?b:g,y),{getRootProps:I,focusVisible:R,rootRef:P}=(0,u.U)({disabled:r,focusableWhenDisabled:!0}),L=(0,c.Z)(z,P,i,x);a.useDebugValue({id:b,highlighted:k,disabled:r,label:l});let D=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultMuiPrevented||S({type:f.Q.close,event:t})},T=(e={})=>(0,n.Z)({},e,{onClick:D(e)});function B(e={}){let t=(0,p.f)(T,(0,p.f)(I,Z));return(0,n.Z)({},t(e),{ref:L,role:"menuitem"})}return void 0===b?{getRootProps:B,disabled:!1,focusVisible:R,highlighted:!1,index:-1,totalItemCount:0,rootRef:L}:{getRootProps:B,disabled:r,focusVisible:R,highlighted:k,index:C,totalItemCount:w,rootRef:L}}({disabled:b,rootRef:t}),_=(0,n.Z)({},r,{component:x,color:V,disabled:W,focusVisible:A,orientation:T,selected:k,row:i,variant:E}),F=L(_),J=(0,n.Z)({},$,{component:x,slots:M,slotProps:O}),[q,U]=(0,I.Z)("root",{ref:t,elementType:D,getSlotProps:N,externalForwardedProps:J,className:F.root,ownerState:_});return(0,R.jsx)(w.Provider,{value:T,children:(0,R.jsx)(q,(0,n.Z)({},U,{children:l}))})});var B=T},45370:function(e,t,r){r.d(t,{Z:function(){return w}});var n=r(42096),o=r(79760),a=r(38497),i=r(95893),l=r(39945),s=r(44520),c=r(45038),u=r(19117),d=r(80574),f=r(91601),v=r(74936),p=r(47e3),m=r(63923),g=r(71267),h=r(73118);function b(e){return(0,h.d6)("MuiOption",e)}let x=(0,h.sI)("MuiOption",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","highlighted","variantPlain","variantSoft","variantOutlined","variantSolid"]);var y=r(29608),S=r(96469);let Z=["component","children","disabled","value","label","variant","color","slots","slotProps"],k=e=>{let{disabled:t,highlighted:r,selected:n}=e;return(0,i.Z)({root:["root",t&&"disabled",r&&"highlighted",n&&"selected"]},b,{})},z=(0,v.Z)(f.r,{name:"JoyOption",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r;let n=null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color];return{[`&.${x.highlighted}:not([aria-selected="true"])`]:{backgroundColor:null==n?void 0:n.backgroundColor}}}),C=a.forwardRef(function(e,t){var r;let i=(0,p.Z)({props:e,name:"JoyOption"}),{component:f="li",children:v,disabled:h=!1,value:b,label:x,variant:C="plain",color:w="neutral",slots:I={},slotProps:R={}}=i,P=(0,o.Z)(i,Z),L=a.useContext(y.Z),{variant:D=C,color:T=w}=(0,g.yP)(e.variant,e.color),B=a.useRef(null),M=(0,s.Z)(B,t),O=null!=x?x:"string"==typeof v?v:null==(r=B.current)?void 0:r.innerText,{getRootProps:$,selected:E,highlighted:j,index:H}=function(e){let{value:t,label:r,disabled:o,rootRef:i,id:d}=e,{getRootProps:f,rootRef:v,highlighted:p,selected:m}=(0,c.J)({item:t}),g=(0,l.Z)(d),h=a.useRef(null),b=a.useMemo(()=>({disabled:o,label:r,value:t,ref:h,id:g}),[o,r,t,g]),{index:x}=(0,u.B)(t,b),y=(0,s.Z)(i,h,v);return{getRootProps:(e={})=>(0,n.Z)({},e,f(e),{id:g,ref:y,role:"option","aria-selected":m}),highlighted:p,index:x,selected:m,rootRef:y}}({disabled:h,label:O,value:b,rootRef:M}),{getColor:V}=(0,m.VT)(D),N=V(e.color,T),W=(0,n.Z)({},i,{disabled:h,selected:E,highlighted:j,index:H,component:f,variant:D,color:N,row:L}),A=k(W),_=(0,n.Z)({},P,{component:f,slots:I,slotProps:R}),[F,J]=(0,d.Z)("root",{ref:t,getSlotProps:$,elementType:z,externalForwardedProps:_,className:A.root,ownerState:W});return(0,S.jsx)(F,(0,n.Z)({},J,{children:v}))});var w=C},77242:function(e,t,r){r.d(t,{Z:function(){return el}});var n,o=r(79760),a=r(42096),i=r(38497),l=r(4280),s=r(17923),c=r(44520),u=r(4309),d=r(39945),f=r(66268),v=r(53363);let p={buttonClick:"buttonClick"};var m=r(43953);let g=e=>{let{label:t,value:r}=e;return"string"==typeof t?t:"string"==typeof r?r:String(e)};var h=r(62719),b=r(96322),x=r(37012);function y(e,t){var r,n,o;let{open:i}=e,{context:{selectionMode:l}}=t;if(t.type===p.buttonClick){let n=null!=(r=e.selectedValues[0])?r:(0,b.Rl)(null,"start",t.context);return(0,a.Z)({},e,{open:!i,highlightedValue:i?null:n})}let s=(0,b.R$)(e,t);switch(t.type){case x.F.keyDown:if(e.open){if("Escape"===t.event.key||"single"===l&&("Enter"===t.event.key||" "===t.event.key))return(0,a.Z)({},s,{open:!1})}else{if("Enter"===t.event.key||" "===t.event.key||"ArrowDown"===t.event.key)return(0,a.Z)({},e,{open:!0,highlightedValue:null!=(n=e.selectedValues[0])?n:(0,b.Rl)(null,"start",t.context)});if("ArrowUp"===t.event.key)return(0,a.Z)({},e,{open:!0,highlightedValue:null!=(o=e.selectedValues[0])?o:(0,b.Rl)(null,"end",t.context)})}break;case x.F.itemClick:if("single"===l)return(0,a.Z)({},s,{open:!1});break;case x.F.blur:return(0,a.Z)({},s,{open:!1})}return s}var S=r(1432);let Z={clip:"rect(1px, 1px, 1px, 1px)",clipPath:"inset(50%)",height:"1px",width:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",left:"50%",bottom:0},k=()=>{};function z(e){return Array.isArray(e)?0===e.length?"":JSON.stringify(e.map(e=>e.value)):(null==e?void 0:e.value)==null?"":"string"==typeof e.value||"number"==typeof e.value?e.value:JSON.stringify(e.value)}function C(e){e.preventDefault()}var w=r(33975),I=r(96469);function R(e){let{value:t,children:r}=e,{dispatch:n,getItemIndex:o,getItemState:a,registerHighlightChangeHandler:l,registerSelectionChangeHandler:s,registerItem:c,totalSubitemCount:u}=t,d=i.useMemo(()=>({dispatch:n,getItemState:a,getItemIndex:o,registerHighlightChangeHandler:l,registerSelectionChangeHandler:s}),[n,o,a,l,s]),f=i.useMemo(()=>({getItemIndex:o,registerItem:c,totalSubitemCount:u}),[c,o,u]);return(0,I.jsx)(h.s.Provider,{value:f,children:(0,I.jsx)(w.Z.Provider,{value:d,children:r})})}var P=r(95893),L=r(44551),D=r(47402),T=r(21334),B=r(74936),M=r(47e3),O=r(80574),$=r(73118);function E(e){return(0,$.d6)("MuiSvgIcon",e)}(0,$.sI)("MuiSvgIcon",["root","colorInherit","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","fontSizeInherit","fontSizeXs","fontSizeSm","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXl2","fontSizeXl3","fontSizeXl4","sizeSm","sizeMd","sizeLg"]);let j=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox","size","slots","slotProps"],H=e=>{let{color:t,size:r,fontSize:n}=e,o={root:["root",t&&"inherit"!==t&&`color${(0,s.Z)(t)}`,r&&`size${(0,s.Z)(r)}`,n&&`fontSize${(0,s.Z)(n)}`]};return(0,P.Z)(o,E,{})},V={sm:"xl",md:"xl2",lg:"xl3"},N=(0,B.Z)("svg",{name:"JoySvgIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r;return(0,a.Z)({},t.instanceSize&&{"--Icon-fontSize":e.vars.fontSize[V[t.instanceSize]]},t.instanceFontSize&&"inherit"!==t.instanceFontSize&&{"--Icon-fontSize":e.vars.fontSize[t.instanceFontSize]},{userSelect:"none",margin:"var(--Icon-margin)",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,fontSize:`var(--Icon-fontSize, ${e.vars.fontSize[V[t.size]]||"unset"})`},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.fontSize[t.fontSize]})`},!t.htmlColor&&(0,a.Z)({color:`var(--Icon-color, ${e.vars.palette.text.icon})`},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"context"!==t.color&&e.vars.palette[t.color]&&{color:`rgba(${null==(r=e.vars.palette[t.color])?void 0:r.mainChannel} / 1)`}))}),W=i.forwardRef(function(e,t){let r=(0,M.Z)({props:e,name:"JoySvgIcon"}),{children:n,className:s,color:c,component:u="svg",fontSize:d,htmlColor:f,inheritViewBox:v=!1,titleAccess:p,viewBox:m="0 0 24 24",size:g="md",slots:h={},slotProps:b={}}=r,x=(0,o.Z)(r,j),y=i.isValidElement(n)&&"svg"===n.type,S=(0,a.Z)({},r,{color:c,component:u,size:g,instanceSize:e.size,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:v,viewBox:m,hasSvgAsChild:y}),Z=H(S),k=(0,a.Z)({},x,{component:u,slots:h,slotProps:b}),[z,C]=(0,O.Z)("root",{ref:t,className:(0,l.Z)(Z.root,s),elementType:N,externalForwardedProps:k,ownerState:S,additionalProps:(0,a.Z)({color:f,focusable:!1},p&&{role:"img"},!p&&{"aria-hidden":!0},!v&&{viewBox:m},y&&n.props)});return(0,I.jsxs)(z,(0,a.Z)({},C,{children:[y?n.props.children:n,p?(0,I.jsx)("title",{children:p}):null]}))});var A=function(e,t){function r(r,n){return(0,I.jsx)(W,(0,a.Z)({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return r.muiName=W.muiName,i.memo(i.forwardRef(r))}((0,I.jsx)("path",{d:"m12 5.83 2.46 2.46c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L12.7 3.7a.9959.9959 0 0 0-1.41 0L8.12 6.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 5.83zm0 12.34-2.46-2.46a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l3.17 3.18c.39.39 1.02.39 1.41 0l3.17-3.17c.39-.39.39-1.02 0-1.41a.9959.9959 0 0 0-1.41 0L12 18.17z"}),"Unfold"),_=r(63923),F=r(53415);function J(e){return(0,$.d6)("MuiSelect",e)}let q=(0,$.sI)("MuiSelect",["root","button","indicator","startDecorator","endDecorator","popper","listbox","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","focusVisible","disabled","expanded"]);var U=r(2233),G=r(71267);let X=["action","autoFocus","children","defaultValue","defaultListboxOpen","disabled","getSerializedValue","placeholder","listboxId","listboxOpen","onChange","onListboxOpenChange","onClose","renderValue","required","value","size","variant","color","startDecorator","endDecorator","indicator","aria-describedby","aria-label","aria-labelledby","id","name","slots","slotProps"];function Y(e){var t;return null!=(t=null==e?void 0:e.label)?t:""}let K=[{name:"offset",options:{offset:[0,4]}},{name:"equalWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`}}],Q=e=>{let{color:t,disabled:r,focusVisible:n,size:o,variant:a,open:i}=e,l={root:["root",r&&"disabled",n&&"focusVisible",i&&"expanded",a&&`variant${(0,s.Z)(a)}`,t&&`color${(0,s.Z)(t)}`,o&&`size${(0,s.Z)(o)}`],button:["button"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],indicator:["indicator",i&&"expanded"],listbox:["listbox",i&&"expanded",r&&"disabled"]};return(0,P.Z)(l,J,{})},ee=(0,B.Z)("div",{name:"JoySelect",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n,o,i;let l=null==(r=e.variants[`${t.variant}`])?void 0:r[t.color],{borderRadius:s}=(0,F.V)({theme:e,ownerState:t},["borderRadius"]);return[(0,a.Z)({"--Select-radius":e.vars.radius.sm,"--Select-gap":"0.5rem","--Select-placeholderOpacity":.64,"--Select-decoratorColor":e.vars.palette.text.icon,"--Select-focusedThickness":e.vars.focus.thickness},"context"===t.color?{"--Select-focusedHighlight":e.vars.palette.focusVisible}:{"--Select-focusedHighlight":null==(n=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:n[500]},{"--Select-indicatorColor":null!=l&&l.backgroundColor?null==l?void 0:l.color:e.vars.palette.text.tertiary},"sm"===t.size&&{"--Select-minHeight":"2rem","--Select-paddingInline":"0.5rem","--Select-decoratorChildHeight":"min(1.5rem, var(--Select-minHeight))","--Icon-fontSize":e.vars.fontSize.xl},"md"===t.size&&{"--Select-minHeight":"2.5rem","--Select-paddingInline":"0.75rem","--Select-decoratorChildHeight":"min(2rem, var(--Select-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},"lg"===t.size&&{"--Select-minHeight":"3rem","--Select-paddingInline":"1rem","--Select-decoratorChildHeight":"min(2.375rem, var(--Select-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},{"--Select-decoratorChildOffset":"min(calc(var(--Select-paddingInline) - (var(--Select-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Select-decoratorChildHeight)) / 2), var(--Select-paddingInline))","--_Select-paddingBlock":"max((var(--Select-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Select-decoratorChildHeight)) / 2, 0px)","--Select-decoratorChildRadius":"max(var(--Select-radius) - var(--variant-borderWidth, 0px) - var(--_Select-paddingBlock), min(var(--_Select-paddingBlock) + var(--variant-borderWidth, 0px), var(--Select-radius) / 2))","--Button-minHeight":"var(--Select-decoratorChildHeight)","--IconButton-size":"var(--Select-decoratorChildHeight)","--Button-radius":"var(--Select-decoratorChildRadius)","--IconButton-radius":"var(--Select-decoratorChildRadius)",boxSizing:"border-box"},"plain"!==t.variant&&{boxShadow:e.shadow.xs},{minWidth:0,minHeight:"var(--Select-minHeight)",position:"relative",display:"flex",alignItems:"center",borderRadius:"var(--Select-radius)",cursor:"pointer"},!(null!=l&&l.backgroundColor)&&{backgroundColor:e.vars.palette.background.surface},t.size&&{paddingBlock:({sm:2,md:3,lg:4})[t.size]},{paddingInline:"var(--Select-paddingInline)"},e.typography[`body-${t.size}`],l,{"&::before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)"},[`&.${q.focusVisible}`]:{"--Select-indicatorColor":null==l?void 0:l.color,"&::before":{boxShadow:"inset 0 0 0 var(--Select-focusedThickness) var(--Select-focusedHighlight)"}},[`&.${q.disabled}`]:{"--Select-indicatorColor":"inherit"}}),{"&:hover":null==(o=e.variants[`${t.variant}Hover`])?void 0:o[t.color],[`&.${q.disabled}`]:null==(i=e.variants[`${t.variant}Disabled`])?void 0:i[t.color]},void 0!==s&&{"--Select-radius":s}]}),et=(0,B.Z)("button",{name:"JoySelect",slot:"Button",overridesResolver:(e,t)=>t.button})(({ownerState:e})=>(0,a.Z)({border:0,outline:0,background:"none",padding:0,fontSize:"inherit",color:"inherit",alignSelf:"stretch",display:"flex",alignItems:"center",flex:1,fontFamily:"inherit",cursor:"pointer",whiteSpace:"nowrap",overflow:"hidden"},(null===e.value||void 0===e.value)&&{opacity:"var(--Select-placeholderOpacity)"},{"&::before":{content:'""',display:"block",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))",right:"calc(-1 * var(--variant-borderWidth, 0px))",bottom:"calc(-1 * var(--variant-borderWidth, 0px))",borderRadius:"var(--Select-radius)"}})),er=(0,B.Z)(L.C,{name:"JoySelect",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e,ownerState:t})=>{var r;let n="context"===t.color?void 0:null==(r=e.variants[t.variant])?void 0:r[t.color];return(0,a.Z)({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--ListItem-stickyBackground":(null==n?void 0:n.backgroundColor)||(null==n?void 0:n.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},D.M,{minWidth:"max-content",maxHeight:"44vh",overflow:"auto",outline:0,boxShadow:e.shadow.md,borderRadius:`var(--List-radius, ${e.vars.radius.sm})`,zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`},!(null!=n&&n.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup})}),en=(0,B.Z)("span",{name:"JoySelect",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Button-margin":"0 0 0 calc(var(--Select-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Select-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Select-paddingInline) / -4)",display:"inherit",alignItems:"center",color:"var(--Select-decoratorColor)",marginInlineEnd:"var(--Select-gap)"}),eo=(0,B.Z)("span",{name:"JoySelect",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Button-margin":"0 calc(var(--Select-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Select-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Select-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",color:"var(--Select-decoratorColor)",marginInlineStart:"var(--Select-gap)"}),ea=(0,B.Z)("span",{name:"JoySelect",slot:"Indicator"})(({ownerState:e,theme:t})=>(0,a.Z)({},"sm"===e.size&&{"--Icon-fontSize":t.vars.fontSize.lg},"md"===e.size&&{"--Icon-fontSize":t.vars.fontSize.xl},"lg"===e.size&&{"--Icon-fontSize":t.vars.fontSize.xl2},{"--Icon-color":"neutral"!==e.color||"solid"===e.variant?"currentColor":t.vars.palette.text.icon,display:"inherit",alignItems:"center",marginInlineStart:"var(--Select-gap)",marginInlineEnd:"calc(var(--Select-paddingInline) / -4)",[`.${q.endDecorator} + &`]:{marginInlineStart:"calc(var(--Select-gap) / 2)"},[`&.${q.expanded}, .${q.disabled} > &`]:{"--Icon-color":"currentColor"}})),ei=i.forwardRef(function(e,t){var r,s,b,x,w,P,L;let B=(0,M.Z)({props:e,name:"JoySelect"}),{action:$,autoFocus:E,children:j,defaultValue:H,defaultListboxOpen:V=!1,disabled:N,getSerializedValue:W,placeholder:F,listboxId:J,listboxOpen:ei,onChange:el,onListboxOpenChange:es,onClose:ec,renderValue:eu,required:ed=!1,value:ef,size:ev="md",variant:ep="outlined",color:em="neutral",startDecorator:eg,endDecorator:eh,indicator:eb=n||(n=(0,I.jsx)(A,{})),"aria-describedby":ex,"aria-label":ey,"aria-labelledby":eS,id:eZ,name:ek,slots:ez={},slotProps:eC={}}=B,ew=(0,o.Z)(B,X),eI=i.useContext(U.Z),eR=null!=(r=null!=(s=e.disabled)?s:null==eI?void 0:eI.disabled)?r:N,eP=null!=(b=null!=(x=e.size)?x:null==eI?void 0:eI.size)?b:ev,{getColor:eL}=(0,_.VT)(ep),eD=eL(e.color,null!=eI&&eI.error?"danger":null!=(w=null==eI?void 0:eI.color)?w:em),eT=null!=eu?eu:Y,[eB,eM]=i.useState(null),eO=i.useRef(null),e$=i.useRef(null),eE=i.useRef(null),ej=(0,c.Z)(t,eO);i.useImperativeHandle($,()=>({focusVisible:()=>{var e;null==(e=e$.current)||e.focus()}}),[]),i.useEffect(()=>{eM(eO.current)},[]),i.useEffect(()=>{E&&e$.current.focus()},[E]);let eH=i.useCallback(e=>{null==es||es(e),e||null==ec||ec()},[ec,es]),{buttonActive:eV,buttonFocusVisible:eN,contextValue:eW,disabled:eA,getButtonProps:e_,getListboxProps:eF,getHiddenInputProps:eJ,getOptionMetadata:eq,open:eU,value:eG}=function(e){let t,r,n;let{areOptionsEqual:o,buttonRef:l,defaultOpen:s=!1,defaultValue:u,disabled:b=!1,listboxId:x,listboxRef:w,multiple:I=!1,name:R,required:P,onChange:L,onHighlightChange:D,onOpenChange:T,open:B,options:M,getOptionAsString:O=g,getSerializedValue:$=z,value:E}=e,j=i.useRef(null),H=(0,c.Z)(l,j),V=i.useRef(null),N=(0,d.Z)(x);void 0===E&&void 0===u?t=[]:void 0!==u&&(t=I?u:null==u?[]:[u]);let W=i.useMemo(()=>{if(void 0!==E)return I?E:null==E?[]:[E]},[E,I]),{subitems:A,contextValue:_}=(0,h.Y)(),F=i.useMemo(()=>null!=M?new Map(M.map((e,t)=>[e.value,{value:e.value,label:e.label,disabled:e.disabled,ref:i.createRef(),id:`${N}_${t}`}])):A,[M,A,N]),J=(0,c.Z)(w,V),{getRootProps:q,active:U,focusVisible:G,rootRef:X}=(0,v.U)({disabled:b,rootRef:H}),Y=i.useMemo(()=>Array.from(F.keys()),[F]),K=i.useCallback(e=>{if(void 0!==o){let t=Y.find(t=>o(t,e));return F.get(t)}return F.get(e)},[F,o,Y]),Q=i.useCallback(e=>{var t;let r=K(e);return null!=(t=null==r?void 0:r.disabled)&&t},[K]),ee=i.useCallback(e=>{let t=K(e);return t?O(t):""},[K,O]),et=i.useMemo(()=>({selectedValues:W,open:B}),[W,B]),er=i.useCallback(e=>{var t;return null==(t=F.get(e))?void 0:t.id},[F]),en=i.useCallback((e,t)=>{if(I)null==L||L(e,t);else{var r;null==L||L(e,null!=(r=t[0])?r:null)}},[I,L]),eo=i.useCallback((e,t)=>{null==D||D(e,null!=t?t:null)},[D]),ea=i.useCallback((e,t,r)=>{if("open"===t&&(null==T||T(r),!1===r&&(null==e?void 0:e.type)!=="blur")){var n;null==(n=j.current)||n.focus()}},[T]),ei={getInitialState:()=>{var e;return{highlightedValue:null,selectedValues:null!=(e=t)?e:[],open:s}},getItemId:er,controlledProps:et,itemComparer:o,isItemDisabled:Q,rootRef:X,onChange:en,onHighlightChange:eo,onStateChange:ea,reducerActionContext:i.useMemo(()=>({multiple:I}),[I]),items:Y,getItemAsString:ee,selectionMode:I?"multiple":"single",stateReducer:y},{dispatch:el,getRootProps:es,contextValue:ec,state:{open:eu,highlightedValue:ed,selectedValues:ef},rootRef:ev}=(0,m.s)(ei),ep=e=>t=>{var r;if(null==e||null==(r=e.onMouseDown)||r.call(e,t),!t.defaultMuiPrevented){let e={type:p.buttonClick,event:t};el(e)}};(0,f.Z)(()=>{if(null!=ed){var e;let t=null==(e=K(ed))?void 0:e.ref;if(!V.current||!(null!=t&&t.current))return;let r=V.current.getBoundingClientRect(),n=t.current.getBoundingClientRect();n.topr.bottom&&(V.current.scrollTop+=n.bottom-r.bottom)}},[ed,K]);let em=i.useCallback(e=>K(e),[K]),eg=(e={})=>(0,a.Z)({},e,{onMouseDown:ep(e),ref:ev,role:"combobox","aria-expanded":eu,"aria-controls":N});i.useDebugValue({selectedOptions:ef,highlightedOption:ed,open:eu});let eh=i.useMemo(()=>(0,a.Z)({},ec,_),[ec,_]);if(r=e.multiple?ef:ef.length>0?ef[0]:null,I)n=r.map(e=>em(e)).filter(e=>void 0!==e);else{var eb;n=null!=(eb=em(r))?eb:null}return{buttonActive:U,buttonFocusVisible:G,buttonRef:X,contextValue:eh,disabled:b,dispatch:el,getButtonProps:(e={})=>{let t=(0,S.f)(q,es),r=(0,S.f)(t,eg);return r(e)},getHiddenInputProps:(e={})=>(0,a.Z)({name:R,tabIndex:-1,"aria-hidden":!0,required:!!P||void 0,value:$(n),onChange:k,style:Z},e),getListboxProps:(e={})=>(0,a.Z)({},e,{id:N,role:"listbox","aria-multiselectable":I?"true":void 0,ref:J,onMouseDown:C}),getOptionMetadata:em,listboxRef:ev,open:eu,options:Y,value:r,highlightedOption:ed}}({buttonRef:e$,defaultOpen:V,defaultValue:H,disabled:eR,getSerializedValue:W,listboxId:J,multiple:!1,name:ek,required:ed,onChange:el,onOpenChange:eH,open:ei,value:ef}),eX=(0,a.Z)({},B,{active:eV,defaultListboxOpen:V,disabled:eA,focusVisible:eN,open:eU,renderValue:eT,value:eG,size:eP,variant:ep,color:eD}),eY=Q(eX),eK=(0,a.Z)({},ew,{slots:ez,slotProps:eC}),eQ=i.useMemo(()=>{var e;return null!=(e=eq(eG))?e:null},[eq,eG]),[e0,e1]=(0,O.Z)("root",{ref:ej,className:eY.root,elementType:ee,externalForwardedProps:eK,ownerState:eX}),[e2,e3]=(0,O.Z)("button",{additionalProps:{"aria-describedby":null!=ex?ex:null==eI?void 0:eI["aria-describedby"],"aria-label":ey,"aria-labelledby":null!=eS?eS:null==eI?void 0:eI.labelId,"aria-required":ed?"true":void 0,id:null!=eZ?eZ:null==eI?void 0:eI.htmlFor,name:ek},className:eY.button,elementType:et,externalForwardedProps:eK,getSlotProps:e_,ownerState:eX}),[e4,e6]=(0,O.Z)("listbox",{additionalProps:{ref:eE,anchorEl:eB,open:eU,placement:"bottom",keepMounted:!0},className:eY.listbox,elementType:er,externalForwardedProps:eK,getSlotProps:eF,ownerState:(0,a.Z)({},eX,{nesting:!1,row:!1,wrap:!1}),getSlotOwnerState:e=>({size:e.size||eP,variant:e.variant||ep,color:e.color||(e.disablePortal?eD:em),disableColorInversion:!e.disablePortal})}),[e9,e8]=(0,O.Z)("startDecorator",{className:eY.startDecorator,elementType:en,externalForwardedProps:eK,ownerState:eX}),[e7,e5]=(0,O.Z)("endDecorator",{className:eY.endDecorator,elementType:eo,externalForwardedProps:eK,ownerState:eX}),[te,tt]=(0,O.Z)("indicator",{className:eY.indicator,elementType:ea,externalForwardedProps:eK,ownerState:eX}),tr=i.useMemo(()=>[...K,...e6.modifiers||[]],[e6.modifiers]),tn=null;return eB&&(tn=(0,I.jsx)(e4,(0,a.Z)({},e6,{className:(0,l.Z)(e6.className,(null==(P=e6.ownerState)?void 0:P.color)==="context"&&q.colorContext),modifiers:tr},!(null!=(L=B.slots)&&L.listbox)&&{as:u.r,slots:{root:e6.as||"ul"}},{children:(0,I.jsx)(R,{value:eW,children:(0,I.jsx)(G.Yb,{variant:ep,color:em,children:(0,I.jsx)(T.Z.Provider,{value:"select",children:(0,I.jsx)(D.Z,{nested:!0,children:j})})})})})),e6.disablePortal||(tn=(0,I.jsx)(_.ZP.Provider,{value:void 0,children:tn}))),(0,I.jsxs)(i.Fragment,{children:[(0,I.jsxs)(e0,(0,a.Z)({},e1,{children:[eg&&(0,I.jsx)(e9,(0,a.Z)({},e8,{children:eg})),(0,I.jsx)(e2,(0,a.Z)({},e3,{children:eQ?eT(eQ):F})),eh&&(0,I.jsx)(e7,(0,a.Z)({},e5,{children:eh})),eb&&(0,I.jsx)(te,(0,a.Z)({},tt,{children:eb})),(0,I.jsx)("input",(0,a.Z)({},eJ()))]})),tn]})});var el=ei},70224:function(e,t,r){r.d(t,{Z:function(){return Z}});var n=r(79760),o=r(42096),a=r(38497),i=r(4280),l=r(95893),s=r(17923),c=r(75559),u=r(47e3),d=r(74936),f=r(53415),v=r(73118);function p(e){return(0,v.d6)("MuiSheet",e)}(0,v.sI)("MuiSheet",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var m=r(63923),g=r(80574),h=r(96469);let b=["className","color","component","variant","invertedColors","slots","slotProps"],x=e=>{let{variant:t,color:r}=e,n={root:["root",t&&`variant${(0,s.Z)(t)}`,r&&`color${(0,s.Z)(r)}`]};return(0,l.Z)(n,p,{})},y=(0,d.Z)("div",{name:"JoySheet",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n;let a=null==(r=e.variants[t.variant])?void 0:r[t.color],{borderRadius:i,bgcolor:l,backgroundColor:s,background:u}=(0,f.V)({theme:e,ownerState:t},["borderRadius","bgcolor","backgroundColor","background"]),d=(0,c.DW)(e,`palette.${l}`)||l||(0,c.DW)(e,`palette.${s}`)||s||u||(null==a?void 0:a.backgroundColor)||(null==a?void 0:a.background)||e.vars.palette.background.surface;return[(0,o.Z)({"--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,"--ListItem-stickyBackground":"transparent"===d?"initial":d,"--Sheet-background":"transparent"===d?"initial":d},void 0!==i&&{"--List-radius":`calc(${i} - var(--variant-borderWidth, 0px))`,"--unstable_actionRadius":`calc(${i} - var(--variant-borderWidth, 0px))`},{backgroundColor:e.vars.palette.background.surface,position:"relative"}),(0,o.Z)({},e.typography["body-md"],a),"context"!==t.color&&t.invertedColors&&(null==(n=e.colorInversion[t.variant])?void 0:n[t.color])]}),S=a.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"JoySheet"}),{className:a,color:l="neutral",component:s="div",variant:c="plain",invertedColors:d=!1,slots:f={},slotProps:v={}}=r,p=(0,n.Z)(r,b),{getColor:S}=(0,m.VT)(c),Z=S(e.color,l),k=(0,o.Z)({},r,{color:Z,component:s,invertedColors:d,variant:c}),z=x(k),C=(0,o.Z)({},p,{component:s,slots:f,slotProps:v}),[w,I]=(0,g.Z)("root",{ref:t,className:(0,i.Z)(z.root,a),elementType:y,externalForwardedProps:C,ownerState:k}),R=(0,h.jsx)(w,(0,o.Z)({},I));return d?(0,h.jsx)(m.do,{variant:c,children:R}):R});var Z=S},13854:function(e,t,r){let n;r.d(t,{Z:function(){return X}});var o=r(79760),a=r(42096),i=r(38497),l=r(4280),s=r(17923),c=r(95893),u=r(78837),d=r(72345),f=r(15978),v=r(44520),p=r(66268),m=r(33915),g={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},h=r(1523);function b(e,t){return e-t}function x(e,t,r){return null==e?t:Math.min(Math.max(t,e),r)}function y(e,t){var r;let{index:n}=null!=(r=e.reduce((e,r,n)=>{let o=Math.abs(t-r);return null===e||o({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},w=e=>e;function I(){return void 0===n&&(n="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),n}var R=r(53572),P=r(74936),L=r(47e3),D=r(63923),T=r(80574),B=r(73118);function M(e){return(0,B.d6)("MuiSlider",e)}let O=(0,B.sI)("MuiSlider",["root","disabled","dragging","focusVisible","marked","vertical","trackInverted","trackFalse","rail","track","mark","markActive","markLabel","thumb","thumbStart","thumbEnd","valueLabel","valueLabelOpen","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","disabled","sizeSm","sizeMd","sizeLg","input"]);var $=r(96469);let E=["aria-label","aria-valuetext","className","classes","disableSwap","disabled","defaultValue","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","color","size","variant","component","slots","slotProps"];function j(e){return e}let H=e=>{let{disabled:t,dragging:r,marked:n,orientation:o,track:a,variant:i,color:l,size:u}=e,d={root:["root",t&&"disabled",r&&"dragging",n&&"marked","vertical"===o&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse",i&&`variant${(0,s.Z)(i)}`,l&&`color${(0,s.Z)(l)}`,u&&`size${(0,s.Z)(u)}`],rail:["rail"],track:["track"],thumb:["thumb",t&&"disabled"],input:["input"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],valueLabelOpen:["valueLabelOpen"],active:["active"],focusVisible:["focusVisible"]};return(0,c.Z)(d,M,{})},V=({theme:e,ownerState:t})=>(r={})=>{var n,o;let i=(null==(n=e.variants[`${t.variant}${r.state||""}`])?void 0:n[t.color])||{};return(0,a.Z)({},!r.state&&{"--variant-borderWidth":null!=(o=i["--variant-borderWidth"])?o:"0px"},{"--Slider-trackColor":i.color,"--Slider-thumbBackground":i.color,"--Slider-thumbColor":i.backgroundColor||e.vars.palette.background.surface,"--Slider-trackBackground":i.backgroundColor||e.vars.palette.background.surface,"--Slider-trackBorderColor":i.borderColor,"--Slider-railBackground":e.vars.palette.background.level2})},N=(0,P.Z)("span",{name:"JoySlider",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{let r=V({theme:e,ownerState:t});return[(0,a.Z)({"--Slider-size":"max(42px, max(var(--Slider-thumbSize), var(--Slider-trackSize)))","--Slider-trackRadius":"var(--Slider-size)","--Slider-markBackground":e.vars.palette.text.tertiary,[`& .${O.markActive}`]:{"--Slider-markBackground":"var(--Slider-trackColor)"}},"sm"===t.size&&{"--Slider-markSize":"2px","--Slider-trackSize":"4px","--Slider-thumbSize":"14px","--Slider-valueLabelArrowSize":"6px"},"md"===t.size&&{"--Slider-markSize":"2px","--Slider-trackSize":"6px","--Slider-thumbSize":"18px","--Slider-valueLabelArrowSize":"8px"},"lg"===t.size&&{"--Slider-markSize":"3px","--Slider-trackSize":"8px","--Slider-thumbSize":"24px","--Slider-valueLabelArrowSize":"10px"},{"--Slider-thumbRadius":"calc(var(--Slider-thumbSize) / 2)","--Slider-thumbWidth":"var(--Slider-thumbSize)"},r(),{"&:hover":(0,a.Z)({},r({state:"Hover"})),"&:active":(0,a.Z)({},r({state:"Active"})),[`&.${O.disabled}`]:(0,a.Z)({pointerEvents:"none",color:e.vars.palette.text.tertiary},r({state:"Disabled"})),boxSizing:"border-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent"},"horizontal"===t.orientation&&{padding:"calc(var(--Slider-size) / 2) 0",width:"100%"},"vertical"===t.orientation&&{padding:"0 calc(var(--Slider-size) / 2)",height:"100%"},{"@media print":{colorAdjust:"exact"}})]}),W=(0,P.Z)("span",{name:"JoySlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})(({ownerState:e})=>[(0,a.Z)({display:"block",position:"absolute",backgroundColor:"inverted"===e.track?"var(--Slider-trackBackground)":"var(--Slider-railBackground)",border:"inverted"===e.track?"var(--variant-borderWidth, 0px) solid var(--Slider-trackBorderColor)":"initial",borderRadius:"var(--Slider-trackRadius)"},"horizontal"===e.orientation&&{height:"var(--Slider-trackSize)",top:"50%",left:0,right:0,transform:"translateY(-50%)"},"vertical"===e.orientation&&{width:"var(--Slider-trackSize)",top:0,bottom:0,left:"50%",transform:"translateX(-50%)"},"inverted"===e.track&&{opacity:1})]),A=(0,P.Z)("span",{name:"JoySlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({ownerState:e})=>[(0,a.Z)({display:"block",position:"absolute",color:"var(--Slider-trackColor)",border:"inverted"===e.track?"initial":"var(--variant-borderWidth, 0px) solid var(--Slider-trackBorderColor)",backgroundColor:"inverted"===e.track?"var(--Slider-railBackground)":"var(--Slider-trackBackground)"},"horizontal"===e.orientation&&{height:"var(--Slider-trackSize)",top:"50%",transform:"translateY(-50%)",borderRadius:"var(--Slider-trackRadius) 0 0 var(--Slider-trackRadius)"},"vertical"===e.orientation&&{width:"var(--Slider-trackSize)",left:"50%",transform:"translateX(-50%)",borderRadius:"0 0 var(--Slider-trackRadius) var(--Slider-trackRadius)"},!1===e.track&&{display:"none"})]),_=(0,P.Z)("span",{name:"JoySlider",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({ownerState:e,theme:t})=>{var r;return(0,a.Z)({position:"absolute",boxSizing:"border-box",outline:0,display:"flex",alignItems:"center",justifyContent:"center",width:"var(--Slider-thumbWidth)",height:"var(--Slider-thumbSize)",border:"var(--variant-borderWidth, 0px) solid var(--Slider-trackBorderColor)",borderRadius:"var(--Slider-thumbRadius)",boxShadow:"var(--Slider-thumbShadow)",color:"var(--Slider-thumbColor)",backgroundColor:"var(--Slider-thumbBackground)",[t.focus.selector]:(0,a.Z)({},t.focus.default,{outlineOffset:0,outlineWidth:"max(4px, var(--Slider-thumbSize) / 3.6)"},"context"!==e.color&&{outlineColor:`rgba(${null==(r=t.vars.palette)||null==(r=r[e.color])?void 0:r.mainChannel} / 0.32)`})},"horizontal"===e.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===e.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},{"&::before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",background:"transparent",top:0,left:0,width:"100%",height:"100%",border:"2px solid",borderColor:"var(--Slider-thumbColor)",borderRadius:"inherit"}})}),F=(0,P.Z)("span",{name:"JoySlider",slot:"Mark",overridesResolver:(e,t)=>t.mark})(({ownerState:e})=>(0,a.Z)({position:"absolute",width:"var(--Slider-markSize)",height:"var(--Slider-markSize)",borderRadius:"var(--Slider-markSize)",backgroundColor:"var(--Slider-markBackground)"},"horizontal"===e.orientation&&(0,a.Z)({top:"50%",transform:"translate(calc(var(--Slider-markSize) / -2), -50%)"},0===e.percent&&{transform:"translate(min(var(--Slider-markSize), 3px), -50%)"},100===e.percent&&{transform:"translate(calc(var(--Slider-markSize) * -1 - min(var(--Slider-markSize), 3px)), -50%)"}),"vertical"===e.orientation&&(0,a.Z)({left:"50%",transform:"translate(-50%, calc(var(--Slider-markSize) / 2))"},0===e.percent&&{transform:"translate(-50%, calc(min(var(--Slider-markSize), 3px) * -1))"},100===e.percent&&{transform:"translate(-50%, calc(var(--Slider-markSize) * 1 + min(var(--Slider-markSize), 3px)))"}))),J=(0,P.Z)("span",{name:"JoySlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e,ownerState:t})=>(0,a.Z)({},"sm"===t.size&&{fontSize:e.fontSize.xs,lineHeight:e.lineHeight.md,paddingInline:"0.25rem",minWidth:"20px"},"md"===t.size&&{fontSize:e.fontSize.sm,lineHeight:e.lineHeight.md,paddingInline:"0.375rem",minWidth:"24px"},"lg"===t.size&&{fontSize:e.fontSize.md,lineHeight:e.lineHeight.md,paddingInline:"0.5rem",minWidth:"28px"},{zIndex:1,display:"flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.md,bottom:0,transformOrigin:"bottom center",transform:"translateY(calc((var(--Slider-thumbSize) + var(--Slider-valueLabelArrowSize)) * -1)) scale(0)",position:"absolute",backgroundColor:e.vars.palette.background.tooltip,boxShadow:e.shadow.sm,borderRadius:e.vars.radius.xs,color:"#fff","&::before":{display:"var(--Slider-valueLabelArrowDisplay)",position:"absolute",content:'""',color:e.vars.palette.background.tooltip,bottom:0,border:"calc(var(--Slider-valueLabelArrowSize) / 2) solid",borderColor:"currentColor",borderRightColor:"transparent",borderBottomColor:"transparent",borderLeftColor:"transparent",left:"50%",transform:"translate(-50%, 100%)",backgroundColor:"transparent"},[`&.${O.valueLabelOpen}`]:{transform:"translateY(calc((var(--Slider-thumbSize) + var(--Slider-valueLabelArrowSize)) * -1)) scale(1)"}})),q=(0,P.Z)("span",{name:"JoySlider",slot:"MarkLabel",overridesResolver:(e,t)=>t.markLabel})(({theme:e,ownerState:t})=>(0,a.Z)({fontFamily:e.vars.fontFamily.body},"sm"===t.size&&{fontSize:e.vars.fontSize.xs},"md"===t.size&&{fontSize:e.vars.fontSize.sm},"lg"===t.size&&{fontSize:e.vars.fontSize.md},{color:e.palette.text.tertiary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===t.orientation&&{top:"calc(50% + 4px + (max(var(--Slider-trackSize), var(--Slider-thumbSize)) / 2))",transform:"translateX(-50%)"},"vertical"===t.orientation&&{left:"calc(50% + 8px + (max(var(--Slider-trackSize), var(--Slider-thumbSize)) / 2))",transform:"translateY(50%)"})),U=(0,P.Z)("input",{name:"JoySlider",slot:"Input",overridesResolver:(e,t)=>t.input})({}),G=i.forwardRef(function(e,t){let r=(0,L.Z)({props:e,name:"JoySlider"}),{"aria-label":n,"aria-valuetext":s,className:c,classes:h,disableSwap:P=!1,disabled:B=!1,defaultValue:M,getAriaLabel:O,getAriaValueText:V,marks:G=!1,max:X=100,min:Y=0,orientation:K="horizontal",scale:Q=j,step:ee=1,track:et="normal",valueLabelDisplay:er="off",valueLabelFormat:en=j,isRtl:eo=!1,color:ea="primary",size:ei="md",variant:el="solid",component:es,slots:ec={},slotProps:eu={}}=r,ed=(0,o.Z)(r,E),{getColor:ef}=(0,D.VT)("solid"),ev=ef(e.color,ea),ep=(0,a.Z)({},r,{marks:G,classes:h,disabled:B,defaultValue:M,disableSwap:P,isRtl:eo,max:X,min:Y,orientation:K,scale:Q,step:ee,track:et,valueLabelDisplay:er,valueLabelFormat:en,color:ev,size:ei,variant:el}),{axisProps:em,getRootProps:eg,getHiddenInputProps:eh,getThumbProps:eb,open:ex,active:ey,axis:eS,focusedThumbIndex:eZ,range:ek,dragging:ez,marks:eC,values:ew,trackOffset:eI,trackLeap:eR,getThumbStyle:eP}=function(e){let{"aria-labelledby":t,defaultValue:r,disabled:n=!1,disableSwap:o=!1,isRtl:l=!1,marks:s=!1,max:c=100,min:h=0,name:R,onChange:P,onChangeCommitted:L,orientation:D="horizontal",rootRef:T,scale:B=w,step:M=1,tabIndex:O,value:$}=e,E=i.useRef(),[j,H]=i.useState(-1),[V,N]=i.useState(-1),[W,A]=i.useState(!1),_=i.useRef(0),[F,J]=(0,d.Z)({controlled:$,default:null!=r?r:h,name:"Slider"}),q=P&&((e,t,r)=>{let n=e.nativeEvent||e,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:t,name:R}}),P(o,t,r)}),U=Array.isArray(F),G=U?F.slice().sort(b):[F];G=G.map(e=>x(e,h,c));let X=!0===s&&null!==M?[...Array(Math.floor((c-h)/M)+1)].map((e,t)=>({value:h+M*t})):s||[],Y=X.map(e=>e.value),{isFocusVisibleRef:K,onBlur:Q,onFocus:ee,ref:et}=(0,f.Z)(),[er,en]=i.useState(-1),eo=i.useRef(),ea=(0,v.Z)(et,eo),ei=(0,v.Z)(T,ea),el=e=>t=>{var r;let n=Number(t.currentTarget.getAttribute("data-index"));ee(t),!0===K.current&&en(n),N(n),null==e||null==(r=e.onFocus)||r.call(e,t)},es=e=>t=>{var r;Q(t),!1===K.current&&en(-1),N(-1),null==e||null==(r=e.onBlur)||r.call(e,t)};(0,p.Z)(()=>{if(n&&eo.current.contains(document.activeElement)){var e;null==(e=document.activeElement)||e.blur()}},[n]),n&&-1!==j&&H(-1),n&&-1!==er&&en(-1);let ec=e=>t=>{var r;null==(r=e.onChange)||r.call(e,t);let n=Number(t.currentTarget.getAttribute("data-index")),a=G[n],i=Y.indexOf(a),l=t.target.valueAsNumber;if(X&&null==M){let e=Y[Y.length-1];l=l>e?e:l{let r,n;let{current:a}=eo,{width:i,height:l,bottom:s,left:u}=a.getBoundingClientRect();if(r=0===ed.indexOf("vertical")?(s-e.y)/l:(e.x-u)/i,-1!==ed.indexOf("-reverse")&&(r=1-r),n=(c-h)*r+h,M)n=function(e,t,r){let n=Math.round((e-r)/t)*t+r;return Number(n.toFixed(function(e){if(1>Math.abs(e)){let t=e.toExponential().split("e-"),r=t[0].split(".")[1];return(r?r.length:0)+parseInt(t[1],10)}let t=e.toString().split(".")[1];return t?t.length:0}(t)))}(n,M,h);else{let e=y(Y,n);n=Y[e]}n=x(n,h,c);let d=0;if(U){d=t?eu.current:y(G,n),o&&(n=x(n,G[d-1]||-1/0,G[d+1]||1/0));let e=n;n=Z({values:G,newValue:n,index:d}),o&&t||(d=n.indexOf(e),eu.current=d)}return{newValue:n,activeIndex:d}},ev=(0,m.Z)(e=>{let t=S(e,E);if(!t)return;if(_.current+=1,"mousemove"===e.type&&0===e.buttons){ep(e);return}let{newValue:r,activeIndex:n}=ef({finger:t,move:!0});k({sliderRef:eo,activeIndex:n,setActive:H}),J(r),!W&&_.current>2&&A(!0),q&&!z(r,F)&&q(e,r,n)}),ep=(0,m.Z)(e=>{let t=S(e,E);if(A(!1),!t)return;let{newValue:r}=ef({finger:t,move:!0});H(-1),"touchend"===e.type&&N(-1),L&&L(e,r),E.current=void 0,eg()}),em=(0,m.Z)(e=>{if(n)return;I()||e.preventDefault();let t=e.changedTouches[0];null!=t&&(E.current=t.identifier);let r=S(e,E);if(!1!==r){let{newValue:t,activeIndex:n}=ef({finger:r});k({sliderRef:eo,activeIndex:n,setActive:H}),J(t),q&&!z(t,F)&&q(e,t,n)}_.current=0;let o=(0,u.Z)(eo.current);o.addEventListener("touchmove",ev),o.addEventListener("touchend",ep)}),eg=i.useCallback(()=>{let e=(0,u.Z)(eo.current);e.removeEventListener("mousemove",ev),e.removeEventListener("mouseup",ep),e.removeEventListener("touchmove",ev),e.removeEventListener("touchend",ep)},[ep,ev]);i.useEffect(()=>{let{current:e}=eo;return e.addEventListener("touchstart",em,{passive:I()}),()=>{e.removeEventListener("touchstart",em,{passive:I()}),eg()}},[eg,em]),i.useEffect(()=>{n&&eg()},[n,eg]);let eh=e=>t=>{var r;if(null==(r=e.onMouseDown)||r.call(e,t),n||t.defaultPrevented||0!==t.button)return;t.preventDefault();let o=S(t,E);if(!1!==o){let{newValue:e,activeIndex:r}=ef({finger:o});k({sliderRef:eo,activeIndex:r,setActive:H}),J(e),q&&!z(e,F)&&q(t,e,r)}_.current=0;let a=(0,u.Z)(eo.current);a.addEventListener("mousemove",ev),a.addEventListener("mouseup",ep)},eb=((U?G[0]:h)-h)*100/(c-h),ex=(G[G.length-1]-h)*100/(c-h)-eb,ey=e=>t=>{var r;null==(r=e.onMouseOver)||r.call(e,t);let n=Number(t.currentTarget.getAttribute("data-index"));N(n)},eS=e=>t=>{var r;null==(r=e.onMouseLeave)||r.call(e,t),N(-1)};return{active:j,axis:ed,axisProps:C,dragging:W,focusedThumbIndex:er,getHiddenInputProps:(r={})=>{var o;let i={onChange:ec(r||{}),onFocus:el(r||{}),onBlur:es(r||{})},s=(0,a.Z)({},r,i);return(0,a.Z)({tabIndex:O,"aria-labelledby":t,"aria-orientation":D,"aria-valuemax":B(c),"aria-valuemin":B(h),name:R,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(o=e.step)?o:void 0,disabled:n},s,{style:(0,a.Z)({},g,{direction:l?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{let t={onMouseDown:eh(e||{})},r=(0,a.Z)({},e,t);return(0,a.Z)({ref:ei},r)},getThumbProps:(e={})=>{let t={onMouseOver:ey(e||{}),onMouseLeave:eS(e||{})};return(0,a.Z)({},e,t)},marks:X,open:V,range:U,rootRef:ei,trackLeap:ex,trackOffset:eb,values:G,getThumbStyle:e=>({pointerEvents:-1!==j&&j!==e?"none":void 0})}}((0,a.Z)({},ep,{rootRef:t}));ep.marked=eC.length>0&&eC.some(e=>e.label),ep.dragging=ez;let eL=(0,a.Z)({},em[eS].offset(eI),em[eS].leap(eR)),eD=H(ep),eT=(0,a.Z)({},ed,{component:es,slots:ec,slotProps:eu}),[eB,eM]=(0,T.Z)("root",{ref:t,className:(0,l.Z)(eD.root,c),elementType:N,externalForwardedProps:eT,getSlotProps:eg,ownerState:ep}),[eO,e$]=(0,T.Z)("rail",{className:eD.rail,elementType:W,externalForwardedProps:eT,ownerState:ep}),[eE,ej]=(0,T.Z)("track",{additionalProps:{style:eL},className:eD.track,elementType:A,externalForwardedProps:eT,ownerState:ep}),[eH,eV]=(0,T.Z)("mark",{className:eD.mark,elementType:F,externalForwardedProps:eT,ownerState:ep}),[eN,eW]=(0,T.Z)("markLabel",{className:eD.markLabel,elementType:q,externalForwardedProps:eT,ownerState:ep,additionalProps:{"aria-hidden":!0}}),[eA,e_]=(0,T.Z)("thumb",{className:eD.thumb,elementType:_,externalForwardedProps:eT,getSlotProps:eb,ownerState:ep}),[eF,eJ]=(0,T.Z)("input",{className:eD.input,elementType:U,externalForwardedProps:eT,getSlotProps:eh,ownerState:ep}),[eq,eU]=(0,T.Z)("valueLabel",{className:eD.valueLabel,elementType:J,externalForwardedProps:eT,ownerState:ep});return(0,$.jsxs)(eB,(0,a.Z)({},eM,{children:[(0,$.jsx)(eO,(0,a.Z)({},e$)),(0,$.jsx)(eE,(0,a.Z)({},ej)),eC.filter(e=>e.value>=Y&&e.value<=X).map((e,t)=>{let r;let n=(e.value-Y)*100/(X-Y),o=em[eS].offset(n);return r=!1===et?-1!==ew.indexOf(e.value):"normal"===et&&(ek?e.value>=ew[0]&&e.value<=ew[ew.length-1]:e.value<=ew[0])||"inverted"===et&&(ek?e.value<=ew[0]||e.value>=ew[ew.length-1]:e.value>=ew[0]),(0,$.jsxs)(i.Fragment,{children:[(0,$.jsx)(eH,(0,a.Z)({"data-index":t},eV,!(0,R.X)(eH)&&{ownerState:(0,a.Z)({},eV.ownerState,{percent:n})},{style:(0,a.Z)({},o,eV.style),className:(0,l.Z)(eV.className,r&&eD.markActive)})),null!=e.label?(0,$.jsx)(eN,(0,a.Z)({"data-index":t},eW,{style:(0,a.Z)({},o,eW.style),className:(0,l.Z)(eD.markLabel,eW.className,r&&eD.markLabelActive),children:e.label})):null]},e.value)}),ew.map((e,t)=>{let r=(e-Y)*100/(X-Y),o=em[eS].offset(r);return(0,$.jsxs)(eA,(0,a.Z)({"data-index":t},e_,{className:(0,l.Z)(e_.className,ey===t&&eD.active,eZ===t&&eD.focusVisible),style:(0,a.Z)({},o,eP(t),e_.style),children:[(0,$.jsx)(eF,(0,a.Z)({"data-index":t,"aria-label":O?O(t):n,"aria-valuenow":Q(e),"aria-valuetext":V?V(Q(e),t):s,value:ew[t]},eJ)),"off"!==er?(0,$.jsx)(eq,(0,a.Z)({},eU,{className:(0,l.Z)(eU.className,(ex===t||ey===t||"on"===er)&&eD.valueLabelOpen),children:"function"==typeof en?en(Q(e),t):en})):null]}),t)})]}))});var X=G},17256:function(e,t,r){r.d(t,{Z:function(){return j}});var n=r(79760),o=r(42096),a=r(38497),i=r(17923),l=r(95893),s=r(2060),c=r(44520),u=r(42751),d=r(77883),f=r(66268),v=r(96469);let p=["onChange","maxRows","minRows","style","value"];function m(e){return parseInt(e,10)||0}let g={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function h(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}let b=a.forwardRef(function(e,t){let{onChange:r,maxRows:i,minRows:l=1,style:b,value:x}=e,y=(0,n.Z)(e,p),{current:S}=a.useRef(null!=x),Z=a.useRef(null),k=(0,c.Z)(t,Z),z=a.useRef(null),C=a.useRef(0),[w,I]=a.useState({outerHeightStyle:0}),R=a.useCallback(()=>{let t=Z.current,r=(0,u.Z)(t),n=r.getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};let o=z.current;o.style.width=n.width,o.value=t.value||e.placeholder||"x","\n"===o.value.slice(-1)&&(o.value+=" ");let a=n.boxSizing,s=m(n.paddingBottom)+m(n.paddingTop),c=m(n.borderBottomWidth)+m(n.borderTopWidth),d=o.scrollHeight;o.value="x";let f=o.scrollHeight,v=d;l&&(v=Math.max(Number(l)*f,v)),i&&(v=Math.min(Number(i)*f,v)),v=Math.max(v,f);let p=v+("border-box"===a?s+c:0),g=1>=Math.abs(v-d);return{outerHeightStyle:p,overflow:g}},[i,l,e.placeholder]),P=(e,t)=>{let{outerHeightStyle:r,overflow:n}=t;return C.current<20&&(r>0&&Math.abs((e.outerHeightStyle||0)-r)>1||e.overflow!==n)?(C.current+=1,{overflow:n,outerHeightStyle:r}):e},L=a.useCallback(()=>{let e=R();h(e)||I(t=>P(t,e))},[R]),D=()=>{let e=R();h(e)||s.flushSync(()=>{I(t=>P(t,e))})};return a.useEffect(()=>{let e;let t=(0,d.Z)(()=>{C.current=0,Z.current&&D()}),r=Z.current,n=(0,u.Z)(r);return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(()=>{C.current=0,Z.current&&D()})).observe(r),()=>{t.clear(),n.removeEventListener("resize",t),e&&e.disconnect()}}),(0,f.Z)(()=>{L()}),a.useEffect(()=>{C.current=0},[x]),(0,v.jsxs)(a.Fragment,{children:[(0,v.jsx)("textarea",(0,o.Z)({value:x,onChange:e=>{C.current=0,S||L(),r&&r(e)},ref:k,rows:l,style:(0,o.Z)({height:w.outerHeightStyle,overflow:w.overflow?"hidden":void 0},b)},y)),(0,v.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:z,tabIndex:-1,style:(0,o.Z)({},g.shadow,b,{paddingTop:0,paddingBottom:0})})]})});var x=r(74936),y=r(47e3),S=r(63923),Z=r(80574),k=r(73118);function z(e){return(0,k.d6)("MuiTextarea",e)}let C=(0,k.sI)("MuiTextarea",["root","textarea","startDecorator","endDecorator","formControl","disabled","error","focused","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft"]);var w=r(93605);let I=a.createContext(void 0);var R=r(48017),P=r(2233);let L=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoFocus","className","defaultValue","disabled","error","id","name","onClick","onChange","onKeyDown","onKeyUp","onFocus","onBlur","placeholder","readOnly","required","type","value"],D=["propsToForward","rootStateClasses","inputStateClasses","getRootProps","getInputProps","formControl","focused","error","disabled","size","color","variant","startDecorator","endDecorator","minRows","maxRows","component","slots","slotProps"],T=e=>{let{disabled:t,variant:r,color:n,size:o}=e,a={root:["root",t&&"disabled",r&&`variant${(0,i.Z)(r)}`,n&&`color${(0,i.Z)(n)}`,o&&`size${(0,i.Z)(o)}`],textarea:["textarea"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,l.Z)(a,z,{})},B=(0,x.Z)("div",{name:"JoyTextarea",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n,a,i,l;let s=null==(r=e.variants[`${t.variant}`])?void 0:r[t.color];return[(0,o.Z)({"--Textarea-radius":e.vars.radius.sm,"--Textarea-gap":"0.5rem","--Textarea-placeholderColor":"inherit","--Textarea-placeholderOpacity":.64,"--Textarea-decoratorColor":e.vars.palette.text.icon,"--Textarea-focused":"0","--Textarea-focusedThickness":e.vars.focus.thickness},"context"===t.color?{"--Textarea-focusedHighlight":e.vars.palette.focusVisible}:{"--Textarea-focusedHighlight":null==(n=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:n[500]},"sm"===t.size&&{"--Textarea-minHeight":"2rem","--Textarea-paddingBlock":"calc(0.5rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"0.5rem","--Textarea-decoratorChildHeight":"min(1.5rem, var(--Textarea-minHeight))","--Icon-fontSize":e.vars.fontSize.xl},"md"===t.size&&{"--Textarea-minHeight":"2.5rem","--Textarea-paddingBlock":"calc(0.5rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"0.75rem","--Textarea-decoratorChildHeight":"min(2rem, var(--Textarea-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},"lg"===t.size&&{"--Textarea-minHeight":"3rem","--Textarea-paddingBlock":"calc(0.75rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"1rem","--Textarea-gap":"0.75rem","--Textarea-decoratorChildHeight":"min(2.375rem, var(--Textarea-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},{"--_Textarea-paddingBlock":"max((var(--Textarea-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Textarea-decoratorChildHeight)) / 2, 0px)","--Textarea-decoratorChildRadius":"max(var(--Textarea-radius) - var(--variant-borderWidth, 0px) - var(--_Textarea-paddingBlock), min(var(--_Textarea-paddingBlock) + var(--variant-borderWidth, 0px), var(--Textarea-radius) / 2))","--Button-minHeight":"var(--Textarea-decoratorChildHeight)","--IconButton-size":"var(--Textarea-decoratorChildHeight)","--Button-radius":"var(--Textarea-decoratorChildRadius)","--IconButton-radius":"var(--Textarea-decoratorChildRadius)",boxSizing:"border-box"},"plain"!==t.variant&&{boxShadow:e.shadow.xs},{minWidth:0,minHeight:"var(--Textarea-minHeight)",cursor:"text",position:"relative",display:"flex",flexDirection:"column",paddingInlineStart:"var(--Textarea-paddingInline)",paddingBlock:"var(--Textarea-paddingBlock)",borderRadius:"var(--Textarea-radius)"},e.typography[`body-${t.size}`],s,{backgroundColor:null!=(a=null==s?void 0:s.backgroundColor)?a:e.vars.palette.background.surface,"&:before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)",boxShadow:"var(--Textarea-focusedInset, inset) 0 0 0 calc(var(--Textarea-focused) * var(--Textarea-focusedThickness)) var(--Textarea-focusedHighlight)"}}),{"&:hover":(0,o.Z)({},null==(i=e.variants[`${t.variant}Hover`])?void 0:i[t.color],{backgroundColor:null,cursor:"text"}),[`&.${C.disabled}`]:null==(l=e.variants[`${t.variant}Disabled`])?void 0:l[t.color],"&:focus-within::before":{"--Textarea-focused":"1"}}]}),M=(0,x.Z)(b,{name:"JoyTextarea",slot:"Textarea",overridesResolver:(e,t)=>t.textarea})({resize:"none",border:"none",minWidth:0,outline:0,padding:0,paddingInlineEnd:"var(--Textarea-paddingInline)",flex:"auto",alignSelf:"stretch",color:"inherit",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontWeight:"inherit",lineHeight:"inherit","&::-webkit-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&::-moz-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&:-ms-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&::-ms-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"}}),O=(0,x.Z)("div",{name:"JoyTextarea",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({display:"flex",marginInlineStart:"calc(var(--Textarea-paddingBlock) - var(--Textarea-paddingInline))",marginInlineEnd:"var(--Textarea-paddingBlock)",marginBlockEnd:"var(--Textarea-gap)",color:"var(--Textarea-decoratorColor)",cursor:"initial"}),$=(0,x.Z)("div",{name:"JoyTextarea",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({display:"flex",marginInlineStart:"calc(var(--Textarea-paddingBlock) - var(--Textarea-paddingInline))",marginInlineEnd:"var(--Textarea-paddingBlock)",marginBlockStart:"var(--Textarea-gap)",color:"var(--Textarea-decoratorColor)",cursor:"initial"}),E=a.forwardRef(function(e,t){var r,i,l,s,u,d,f;let p=(0,y.Z)({props:e,name:"JoyTextarea"}),m=function(e,t){let r=a.useContext(P.Z),{"aria-describedby":i,"aria-label":l,"aria-labelledby":s,autoComplete:u,autoFocus:d,className:f,defaultValue:v,disabled:p,error:m,id:g,name:h,onClick:b,onChange:x,onKeyDown:y,onKeyUp:S,onFocus:Z,onBlur:k,placeholder:z,readOnly:C,required:D,type:T,value:B}=e,M=(0,n.Z)(e,L),{getRootProps:O,getInputProps:$,focused:E,error:j,disabled:H}=function(e){let t,r,n,i,l;let{defaultValue:s,disabled:u=!1,error:d=!1,onBlur:f,onChange:v,onFocus:p,required:m=!1,value:g,inputRef:h}=e,b=a.useContext(I);if(b){var x,y,S;t=void 0,r=null!=(x=b.disabled)&&x,n=null!=(y=b.error)&&y,i=null!=(S=b.required)&&S,l=b.value}else t=s,r=u,n=d,i=m,l=g;let{current:Z}=a.useRef(null!=l),k=a.useCallback(e=>{},[]),z=a.useRef(null),C=(0,c.Z)(z,h,k),[P,L]=a.useState(!1);a.useEffect(()=>{!b&&r&&P&&(L(!1),null==f||f())},[b,r,P,f]);let D=e=>t=>{var r,n;if(null!=b&&b.disabled){t.stopPropagation();return}null==(r=e.onFocus)||r.call(e,t),b&&b.onFocus?null==b||null==(n=b.onFocus)||n.call(b):L(!0)},T=e=>t=>{var r;null==(r=e.onBlur)||r.call(e,t),b&&b.onBlur?b.onBlur():L(!1)},B=e=>(t,...r)=>{var n,o;if(!Z){let e=t.target||z.current;if(null==e)throw Error((0,w.Z)(17))}null==b||null==(n=b.onChange)||n.call(b,t),null==(o=e.onChange)||o.call(e,t,...r)},M=e=>t=>{var r;z.current&&t.currentTarget===t.target&&z.current.focus(),null==(r=e.onClick)||r.call(e,t)};return{disabled:r,error:n,focused:P,formControlContext:b,getInputProps:(e={})=>{let a=(0,o.Z)({},{onBlur:f,onChange:v,onFocus:p},(0,R._)(e)),s=(0,o.Z)({},e,a,{onBlur:T(a),onChange:B(a),onFocus:D(a)});return(0,o.Z)({},s,{"aria-invalid":n||void 0,defaultValue:t,ref:C,value:l,required:i,disabled:r})},getRootProps:(t={})=>{let r=(0,R._)(e,["onBlur","onChange","onFocus"]),n=(0,o.Z)({},r,(0,R._)(t));return(0,o.Z)({},t,n,{onClick:M(n)})},inputRef:C,required:i,value:l}}({disabled:null!=p?p:null==r?void 0:r.disabled,defaultValue:v,error:m,onBlur:k,onClick:b,onChange:x,onFocus:Z,required:null!=D?D:null==r?void 0:r.required,value:B}),V={[t.disabled]:H,[t.error]:j,[t.focused]:E,[t.formControl]:!!r,[f]:f},N={[t.disabled]:H};return(0,o.Z)({formControl:r,propsToForward:{"aria-describedby":i,"aria-label":l,"aria-labelledby":s,autoComplete:u,autoFocus:d,disabled:H,id:g,onKeyDown:y,onKeyUp:S,name:h,placeholder:z,readOnly:C,type:T},rootStateClasses:V,inputStateClasses:N,getRootProps:O,getInputProps:$,focused:E,error:j,disabled:H},M)}(p,C),{propsToForward:g,rootStateClasses:h,inputStateClasses:b,getRootProps:x,getInputProps:k,formControl:z,focused:E,error:j=!1,disabled:H=!1,size:V="md",color:N="neutral",variant:W="outlined",startDecorator:A,endDecorator:_,minRows:F,maxRows:J,component:q,slots:U={},slotProps:G={}}=m,X=(0,n.Z)(m,D),Y=null!=(r=null!=(i=e.disabled)?i:null==z?void 0:z.disabled)?r:H,K=null!=(l=null!=(s=e.error)?s:null==z?void 0:z.error)?l:j,Q=null!=(u=null!=(d=e.size)?d:null==z?void 0:z.size)?u:V,{getColor:ee}=(0,S.VT)(W),et=ee(e.color,K?"danger":null!=(f=null==z?void 0:z.color)?f:N),er=(0,o.Z)({},p,{color:et,disabled:Y,error:K,focused:E,size:Q,variant:W}),en=T(er),eo=(0,o.Z)({},X,{component:q,slots:U,slotProps:G}),[ea,ei]=(0,Z.Z)("root",{ref:t,className:[en.root,h],elementType:B,externalForwardedProps:eo,getSlotProps:x,ownerState:er}),[el,es]=(0,Z.Z)("textarea",{additionalProps:{id:null==z?void 0:z.htmlFor,"aria-describedby":null==z?void 0:z["aria-describedby"]},className:[en.textarea,b],elementType:M,internalForwardedProps:(0,o.Z)({},g,{minRows:F,maxRows:J}),externalForwardedProps:eo,getSlotProps:k,ownerState:er}),[ec,eu]=(0,Z.Z)("startDecorator",{className:en.startDecorator,elementType:O,externalForwardedProps:eo,ownerState:er}),[ed,ef]=(0,Z.Z)("endDecorator",{className:en.endDecorator,elementType:$,externalForwardedProps:eo,ownerState:er});return(0,v.jsxs)(ea,(0,o.Z)({},ei,{children:[A&&(0,v.jsx)(ec,(0,o.Z)({},eu,{children:A})),(0,v.jsx)(el,(0,o.Z)({},es)),_&&(0,v.jsx)(ed,(0,o.Z)({},ef,{children:_}))]}))});var j=E},71267:function(e,t,r){r.d(t,{Yb:function(){return l},yP:function(){return i}});var n=r(38497),o=r(96469);let a=n.createContext(void 0);function i(e,t){var r;let o,i;let l=n.useContext(a),[s,c]="string"==typeof l?l.split(":"):[],u=(r=s||void 0,o=c||void 0,i=r,"outlined"===r&&(o="neutral",i="plain"),"plain"===r&&(o="neutral"),{variant:i,color:o});return u.variant=e||u.variant,u.color=t||u.color,u}function l({children:e,color:t,variant:r}){return(0,o.jsx)(a.Provider,{value:`${r||""}:${t||""}`,children:e})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1657-104cfd760a08667d.js b/dbgpt/app/static/web/_next/static/chunks/1657-e67c0834566e95eb.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/1657-104cfd760a08667d.js rename to dbgpt/app/static/web/_next/static/chunks/1657-e67c0834566e95eb.js index 7976f408a..9049960c6 100644 --- a/dbgpt/app/static/web/_next/static/chunks/1657-104cfd760a08667d.js +++ b/dbgpt/app/static/web/_next/static/chunks/1657-e67c0834566e95eb.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1657],{51657:function(e,t,n){n.d(t,{Z:function(){return q}});var o=n(38497),a=n(26869),r=n.n(a),l=n(4247),s=n(65347),i=n(83367),c=n(46644),d=o.createContext(null),u=o.createContext({}),m=n(65148),p=n(42096),f=n(53979),v=n(16956),b=n(66168),h=n(10921),g=n(7544),y=["prefixCls","className","containerRef"],x=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,l=(0,h.Z)(e,y),s=o.useContext(u).panel,i=(0,g.x1)(s,a);return o.createElement("div",(0,p.Z)({className:r()("".concat(t,"-content"),n),role:"dialog",ref:i},(0,b.Z)(e,{aria:!0}),{"aria-modal":"true"},l))},w=n(89842);function k(e){return"string"==typeof e&&String(Number(e))===e?((0,w.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var C={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},$=o.forwardRef(function(e,t){var n,a,i,c=e.prefixCls,u=e.open,h=e.placement,g=e.inline,y=e.push,w=e.forceRender,$=e.autoFocus,O=e.keyboard,E=e.classNames,N=e.rootClassName,S=e.rootStyle,Z=e.zIndex,j=e.className,D=e.id,I=e.style,M=e.motion,R=e.width,P=e.height,_=e.children,z=e.mask,K=e.maskClosable,L=e.maskMotion,W=e.maskClassName,H=e.maskStyle,U=e.afterOpenChange,B=e.onClose,X=e.onMouseEnter,A=e.onMouseOver,F=e.onMouseLeave,Y=e.onClick,T=e.onKeyDown,q=e.onKeyUp,V=e.styles,Q=e.drawerRender,G=o.useRef(),J=o.useRef(),ee=o.useRef();o.useImperativeHandle(t,function(){return G.current}),o.useEffect(function(){if(u&&$){var e;null===(e=G.current)||void 0===e||e.focus({preventScroll:!0})}},[u]);var et=o.useState(!1),en=(0,s.Z)(et,2),eo=en[0],ea=en[1],er=o.useContext(d),el=null!==(n=null!==(a=null===(i="boolean"==typeof y?y?{}:{distance:0}:y||{})||void 0===i?void 0:i.distance)&&void 0!==a?a:null==er?void 0:er.pushDistance)&&void 0!==n?n:180,es=o.useMemo(function(){return{pushDistance:el,push:function(){ea(!0)},pull:function(){ea(!1)}}},[el]);o.useEffect(function(){var e,t;u?null==er||null===(e=er.push)||void 0===e||e.call(er):null==er||null===(t=er.pull)||void 0===t||t.call(er)},[u]),o.useEffect(function(){return function(){var e;null==er||null===(e=er.pull)||void 0===e||e.call(er)}},[]);var ei=z&&o.createElement(f.ZP,(0,p.Z)({key:"mask"},L,{visible:u}),function(e,t){var n=e.className,a=e.style;return o.createElement("div",{className:r()("".concat(c,"-mask"),n,null==E?void 0:E.mask,W),style:(0,l.Z)((0,l.Z)((0,l.Z)({},a),H),null==V?void 0:V.mask),onClick:K&&u?B:void 0,ref:t})}),ec="function"==typeof M?M(h):M,ed={};if(eo&&el)switch(h){case"top":ed.transform="translateY(".concat(el,"px)");break;case"bottom":ed.transform="translateY(".concat(-el,"px)");break;case"left":ed.transform="translateX(".concat(el,"px)");break;default:ed.transform="translateX(".concat(-el,"px)")}"left"===h||"right"===h?ed.width=k(R):ed.height=k(P);var eu={onMouseEnter:X,onMouseOver:A,onMouseLeave:F,onClick:Y,onKeyDown:T,onKeyUp:q},em=o.createElement(f.ZP,(0,p.Z)({key:"panel"},ec,{visible:u,forceRender:w,onVisibleChanged:function(e){null==U||U(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,i=o.createElement(x,(0,p.Z)({id:D,containerRef:n,prefixCls:c,className:r()(j,null==E?void 0:E.content),style:(0,l.Z)((0,l.Z)({},I),null==V?void 0:V.content)},(0,b.Z)(e,{aria:!0}),eu),_);return o.createElement("div",(0,p.Z)({className:r()("".concat(c,"-content-wrapper"),null==E?void 0:E.wrapper,a),style:(0,l.Z)((0,l.Z)((0,l.Z)({},ed),s),null==V?void 0:V.wrapper)},(0,b.Z)(e,{data:!0})),Q?Q(i):i)}),ep=(0,l.Z)({},S);return Z&&(ep.zIndex=Z),o.createElement(d.Provider,{value:es},o.createElement("div",{className:r()(c,"".concat(c,"-").concat(h),N,(0,m.Z)((0,m.Z)({},"".concat(c,"-open"),u),"".concat(c,"-inline"),g)),style:ep,tabIndex:-1,ref:G,onKeyDown:function(e){var t,n,o=e.keyCode,a=e.shiftKey;switch(o){case v.Z.TAB:o===v.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case v.Z.ESC:B&&O&&(e.stopPropagation(),B(e))}}},ei,o.createElement("div",{tabIndex:0,ref:J,style:C,"aria-hidden":"true","data-sentinel":"start"}),em,o.createElement("div",{tabIndex:0,ref:ee,style:C,"aria-hidden":"true","data-sentinel":"end"})))}),O=function(e){var t=e.open,n=e.prefixCls,a=e.placement,r=e.autoFocus,d=e.keyboard,m=e.width,p=e.mask,f=void 0===p||p,v=e.maskClosable,b=e.getContainer,h=e.forceRender,g=e.afterOpenChange,y=e.destroyOnClose,x=e.onMouseEnter,w=e.onMouseOver,k=e.onMouseLeave,C=e.onClick,O=e.onKeyDown,E=e.onKeyUp,N=e.panelRef,S=o.useState(!1),Z=(0,s.Z)(S,2),j=Z[0],D=Z[1],I=o.useState(!1),M=(0,s.Z)(I,2),R=M[0],P=M[1];(0,c.Z)(function(){P(!0)},[]);var _=!!R&&void 0!==t&&t,z=o.useRef(),K=o.useRef();(0,c.Z)(function(){_&&(K.current=document.activeElement)},[_]);var L=o.useMemo(function(){return{panel:N}},[N]);if(!h&&!j&&!_&&y)return null;var W=(0,l.Z)((0,l.Z)({},e),{},{open:_,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===r||r,keyboard:void 0===d||d,width:void 0===m?378:m,mask:f,maskClosable:void 0===v||v,inline:!1===b,afterOpenChange:function(e){var t,n;D(e),null==g||g(e),e||!K.current||null!==(t=z.current)&&void 0!==t&&t.contains(K.current)||null===(n=K.current)||void 0===n||n.focus({preventScroll:!0})},ref:z},{onMouseEnter:x,onMouseOver:w,onMouseLeave:k,onClick:C,onKeyDown:O,onKeyUp:E});return o.createElement(u.Provider,{value:L},o.createElement(i.Z,{open:_||h||j,autoDestroy:!1,getContainer:b,autoLock:f&&(_||j)},o.createElement($,W)))},E=n(53296),N=n(58416),S=n(17383),Z=n(49594),j=n(63346),D=n(23204),I=n(35883),M=n(15247),R=e=>{var t,n;let{prefixCls:a,title:l,footer:s,extra:i,loading:c,onClose:d,headerStyle:u,bodyStyle:m,footerStyle:p,children:f,classNames:v,styles:b}=e,{drawer:h}=o.useContext(j.E_),g=o.useCallback(e=>o.createElement("button",{type:"button",onClick:d,"aria-label":"Close",className:`${a}-close`},e),[d]),[y,x]=(0,I.Z)((0,I.w)(e),(0,I.w)(h),{closable:!0,closeIconRender:g}),w=o.useMemo(()=>{var e,t;return l||y?o.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==h?void 0:h.styles)||void 0===e?void 0:e.header),u),null==b?void 0:b.header),className:r()(`${a}-header`,{[`${a}-header-close-only`]:y&&!l&&!i},null===(t=null==h?void 0:h.classNames)||void 0===t?void 0:t.header,null==v?void 0:v.header)},o.createElement("div",{className:`${a}-header-title`},x,l&&o.createElement("div",{className:`${a}-title`},l)),i&&o.createElement("div",{className:`${a}-extra`},i)):null},[y,x,i,u,a,l]),k=o.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return o.createElement("div",{className:r()(n,null===(e=null==h?void 0:h.classNames)||void 0===e?void 0:e.footer,null==v?void 0:v.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==h?void 0:h.styles)||void 0===t?void 0:t.footer),p),null==b?void 0:b.footer)},s)},[s,p,a]);return o.createElement(o.Fragment,null,w,o.createElement("div",{className:r()(`${a}-body`,null==v?void 0:v.body,null===(t=null==h?void 0:h.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==h?void 0:h.styles)||void 0===n?void 0:n.body),m),null==b?void 0:b.body)},c?o.createElement(M.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):f),k)},P=n(72178),_=n(60848),z=n(90102),K=n(74934);let L=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},W=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),H=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},W({opacity:e},{opacity:1})),U=(e,t)=>[H(.7,t),W({transform:L(e)},{transform:"none"})];var B=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:H(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:U(t,n)}),{})}}};let X=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:o,colorBgMask:a,colorBgElevated:r,motionDurationSlow:l,motionDurationMid:s,paddingXS:i,padding:c,paddingLG:d,fontSizeLG:u,lineHeightLG:m,lineWidth:p,lineType:f,colorSplit:v,marginXS:b,colorIcon:h,colorIconHover:g,colorBgTextHover:y,colorBgTextActive:x,colorText:w,fontWeightStrong:k,footerPaddingBlock:C,footerPaddingInline:$,calc:O}=e,E=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:o,pointerEvents:"none",color:w,"&-pure":{position:"relative",background:r,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:o,background:a,pointerEvents:"auto"},[E]:{position:"absolute",zIndex:o,maxWidth:"100vw",transition:`all ${l}`,"&-hidden":{display:"none"}},[`&-left > ${E}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${E}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${E}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${E}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:r,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(d)}`,fontSize:u,lineHeight:m,borderBottom:`${(0,P.bf)(p)} ${f} ${v}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:O(u).add(i).equal(),height:O(u).add(i).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:b,color:h,fontWeight:k,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:g,backgroundColor:y,textDecoration:"none"},"&:active":{backgroundColor:x}},(0,_.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:u,lineHeight:m},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(C)} ${(0,P.bf)($)}`,borderTop:`${(0,P.bf)(p)} ${f} ${v}`},"&-rtl":{direction:"rtl"}}}};var A=(0,z.I$)("Drawer",e=>{let t=(0,K.IX)(e,{});return[X(t),B(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),F=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let Y={distance:180},T=e=>{let{rootClassName:t,width:n,height:a,size:l="default",mask:s=!0,push:i=Y,open:c,afterOpenChange:d,onClose:u,prefixCls:m,getContainer:p,style:f,className:v,visible:b,afterVisibleChange:h,maskStyle:g,drawerStyle:y,contentWrapperStyle:x}=e,w=F(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:k,getPrefixCls:C,direction:$,drawer:I}=o.useContext(j.E_),M=C("drawer",m),[P,_,z]=A(M),K=r()({"no-mask":!s,[`${M}-rtl`]:"rtl"===$},t,_,z),L=o.useMemo(()=>null!=n?n:"large"===l?736:378,[n,l]),W=o.useMemo(()=>null!=a?a:"large"===l?736:378,[a,l]),H={motionName:(0,S.m)(M,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},U=(0,D.H)(),[B,X]=(0,N.Cn)("Drawer",w.zIndex),{classNames:T={},styles:q={}}=w,{classNames:V={},styles:Q={}}=I||{};return P(o.createElement(E.Z,{form:!0,space:!0},o.createElement(Z.Z.Provider,{value:X},o.createElement(O,Object.assign({prefixCls:M,onClose:u,maskMotion:H,motion:e=>({motionName:(0,S.m)(M,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},w,{classNames:{mask:r()(T.mask,V.mask),content:r()(T.content,V.content),wrapper:r()(T.wrapper,V.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},q.mask),g),Q.mask),content:Object.assign(Object.assign(Object.assign({},q.content),y),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},q.wrapper),x),Q.wrapper)},open:null!=c?c:b,mask:s,push:i,width:L,height:W,style:Object.assign(Object.assign({},null==I?void 0:I.style),f),className:r()(null==I?void 0:I.className,v),rootClassName:K,getContainer:void 0===p&&k?()=>k(document.body):p,afterOpenChange:null!=d?d:h,panelRef:U,zIndex:B}),o.createElement(R,Object.assign({prefixCls:M},w,{onClose:u}))))))};T._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:l="right"}=e,s=F(e,["prefixCls","style","className","placement"]),{getPrefixCls:i}=o.useContext(j.E_),c=i("drawer",t),[d,u,m]=A(c),p=r()(c,`${c}-pure`,`${c}-${l}`,u,m,a);return d(o.createElement("div",{className:p,style:n},o.createElement(R,Object.assign({prefixCls:c},s))))};var q=T}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1657],{51657:function(e,t,n){n.d(t,{Z:function(){return q}});var o=n(38497),a=n(26869),r=n.n(a),l=n(4247),s=n(65347),i=n(83367),c=n(46644),d=o.createContext(null),u=o.createContext({}),m=n(65148),p=n(42096),f=n(53979),v=n(16956),b=n(66168),h=n(10921),g=n(7544),y=["prefixCls","className","containerRef"],x=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,l=(0,h.Z)(e,y),s=o.useContext(u).panel,i=(0,g.x1)(s,a);return o.createElement("div",(0,p.Z)({className:r()("".concat(t,"-content"),n),role:"dialog",ref:i},(0,b.Z)(e,{aria:!0}),{"aria-modal":"true"},l))},w=n(89842);function k(e){return"string"==typeof e&&String(Number(e))===e?((0,w.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var C={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},$=o.forwardRef(function(e,t){var n,a,i,c=e.prefixCls,u=e.open,h=e.placement,g=e.inline,y=e.push,w=e.forceRender,$=e.autoFocus,O=e.keyboard,E=e.classNames,N=e.rootClassName,S=e.rootStyle,Z=e.zIndex,j=e.className,D=e.id,I=e.style,M=e.motion,R=e.width,P=e.height,_=e.children,z=e.mask,K=e.maskClosable,L=e.maskMotion,W=e.maskClassName,H=e.maskStyle,U=e.afterOpenChange,B=e.onClose,X=e.onMouseEnter,A=e.onMouseOver,F=e.onMouseLeave,Y=e.onClick,T=e.onKeyDown,q=e.onKeyUp,V=e.styles,Q=e.drawerRender,G=o.useRef(),J=o.useRef(),ee=o.useRef();o.useImperativeHandle(t,function(){return G.current}),o.useEffect(function(){if(u&&$){var e;null===(e=G.current)||void 0===e||e.focus({preventScroll:!0})}},[u]);var et=o.useState(!1),en=(0,s.Z)(et,2),eo=en[0],ea=en[1],er=o.useContext(d),el=null!==(n=null!==(a=null===(i="boolean"==typeof y?y?{}:{distance:0}:y||{})||void 0===i?void 0:i.distance)&&void 0!==a?a:null==er?void 0:er.pushDistance)&&void 0!==n?n:180,es=o.useMemo(function(){return{pushDistance:el,push:function(){ea(!0)},pull:function(){ea(!1)}}},[el]);o.useEffect(function(){var e,t;u?null==er||null===(e=er.push)||void 0===e||e.call(er):null==er||null===(t=er.pull)||void 0===t||t.call(er)},[u]),o.useEffect(function(){return function(){var e;null==er||null===(e=er.pull)||void 0===e||e.call(er)}},[]);var ei=z&&o.createElement(f.ZP,(0,p.Z)({key:"mask"},L,{visible:u}),function(e,t){var n=e.className,a=e.style;return o.createElement("div",{className:r()("".concat(c,"-mask"),n,null==E?void 0:E.mask,W),style:(0,l.Z)((0,l.Z)((0,l.Z)({},a),H),null==V?void 0:V.mask),onClick:K&&u?B:void 0,ref:t})}),ec="function"==typeof M?M(h):M,ed={};if(eo&&el)switch(h){case"top":ed.transform="translateY(".concat(el,"px)");break;case"bottom":ed.transform="translateY(".concat(-el,"px)");break;case"left":ed.transform="translateX(".concat(el,"px)");break;default:ed.transform="translateX(".concat(-el,"px)")}"left"===h||"right"===h?ed.width=k(R):ed.height=k(P);var eu={onMouseEnter:X,onMouseOver:A,onMouseLeave:F,onClick:Y,onKeyDown:T,onKeyUp:q},em=o.createElement(f.ZP,(0,p.Z)({key:"panel"},ec,{visible:u,forceRender:w,onVisibleChanged:function(e){null==U||U(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,i=o.createElement(x,(0,p.Z)({id:D,containerRef:n,prefixCls:c,className:r()(j,null==E?void 0:E.content),style:(0,l.Z)((0,l.Z)({},I),null==V?void 0:V.content)},(0,b.Z)(e,{aria:!0}),eu),_);return o.createElement("div",(0,p.Z)({className:r()("".concat(c,"-content-wrapper"),null==E?void 0:E.wrapper,a),style:(0,l.Z)((0,l.Z)((0,l.Z)({},ed),s),null==V?void 0:V.wrapper)},(0,b.Z)(e,{data:!0})),Q?Q(i):i)}),ep=(0,l.Z)({},S);return Z&&(ep.zIndex=Z),o.createElement(d.Provider,{value:es},o.createElement("div",{className:r()(c,"".concat(c,"-").concat(h),N,(0,m.Z)((0,m.Z)({},"".concat(c,"-open"),u),"".concat(c,"-inline"),g)),style:ep,tabIndex:-1,ref:G,onKeyDown:function(e){var t,n,o=e.keyCode,a=e.shiftKey;switch(o){case v.Z.TAB:o===v.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case v.Z.ESC:B&&O&&(e.stopPropagation(),B(e))}}},ei,o.createElement("div",{tabIndex:0,ref:J,style:C,"aria-hidden":"true","data-sentinel":"start"}),em,o.createElement("div",{tabIndex:0,ref:ee,style:C,"aria-hidden":"true","data-sentinel":"end"})))}),O=function(e){var t=e.open,n=e.prefixCls,a=e.placement,r=e.autoFocus,d=e.keyboard,m=e.width,p=e.mask,f=void 0===p||p,v=e.maskClosable,b=e.getContainer,h=e.forceRender,g=e.afterOpenChange,y=e.destroyOnClose,x=e.onMouseEnter,w=e.onMouseOver,k=e.onMouseLeave,C=e.onClick,O=e.onKeyDown,E=e.onKeyUp,N=e.panelRef,S=o.useState(!1),Z=(0,s.Z)(S,2),j=Z[0],D=Z[1],I=o.useState(!1),M=(0,s.Z)(I,2),R=M[0],P=M[1];(0,c.Z)(function(){P(!0)},[]);var _=!!R&&void 0!==t&&t,z=o.useRef(),K=o.useRef();(0,c.Z)(function(){_&&(K.current=document.activeElement)},[_]);var L=o.useMemo(function(){return{panel:N}},[N]);if(!h&&!j&&!_&&y)return null;var W=(0,l.Z)((0,l.Z)({},e),{},{open:_,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===r||r,keyboard:void 0===d||d,width:void 0===m?378:m,mask:f,maskClosable:void 0===v||v,inline:!1===b,afterOpenChange:function(e){var t,n;D(e),null==g||g(e),e||!K.current||null!==(t=z.current)&&void 0!==t&&t.contains(K.current)||null===(n=K.current)||void 0===n||n.focus({preventScroll:!0})},ref:z},{onMouseEnter:x,onMouseOver:w,onMouseLeave:k,onClick:C,onKeyDown:O,onKeyUp:E});return o.createElement(u.Provider,{value:L},o.createElement(i.Z,{open:_||h||j,autoDestroy:!1,getContainer:b,autoLock:f&&(_||j)},o.createElement($,W)))},E=n(53296),N=n(58416),S=n(17383),Z=n(49594),j=n(63346),D=n(23204),I=n(35883),M=n(64009),R=e=>{var t,n;let{prefixCls:a,title:l,footer:s,extra:i,loading:c,onClose:d,headerStyle:u,bodyStyle:m,footerStyle:p,children:f,classNames:v,styles:b}=e,{drawer:h}=o.useContext(j.E_),g=o.useCallback(e=>o.createElement("button",{type:"button",onClick:d,"aria-label":"Close",className:`${a}-close`},e),[d]),[y,x]=(0,I.Z)((0,I.w)(e),(0,I.w)(h),{closable:!0,closeIconRender:g}),w=o.useMemo(()=>{var e,t;return l||y?o.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==h?void 0:h.styles)||void 0===e?void 0:e.header),u),null==b?void 0:b.header),className:r()(`${a}-header`,{[`${a}-header-close-only`]:y&&!l&&!i},null===(t=null==h?void 0:h.classNames)||void 0===t?void 0:t.header,null==v?void 0:v.header)},o.createElement("div",{className:`${a}-header-title`},x,l&&o.createElement("div",{className:`${a}-title`},l)),i&&o.createElement("div",{className:`${a}-extra`},i)):null},[y,x,i,u,a,l]),k=o.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return o.createElement("div",{className:r()(n,null===(e=null==h?void 0:h.classNames)||void 0===e?void 0:e.footer,null==v?void 0:v.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==h?void 0:h.styles)||void 0===t?void 0:t.footer),p),null==b?void 0:b.footer)},s)},[s,p,a]);return o.createElement(o.Fragment,null,w,o.createElement("div",{className:r()(`${a}-body`,null==v?void 0:v.body,null===(t=null==h?void 0:h.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==h?void 0:h.styles)||void 0===n?void 0:n.body),m),null==b?void 0:b.body)},c?o.createElement(M.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):f),k)},P=n(38083),_=n(60848),z=n(90102),K=n(74934);let L=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},W=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),H=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},W({opacity:e},{opacity:1})),U=(e,t)=>[H(.7,t),W({transform:L(e)},{transform:"none"})];var B=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:H(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:U(t,n)}),{})}}};let X=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:o,colorBgMask:a,colorBgElevated:r,motionDurationSlow:l,motionDurationMid:s,paddingXS:i,padding:c,paddingLG:d,fontSizeLG:u,lineHeightLG:m,lineWidth:p,lineType:f,colorSplit:v,marginXS:b,colorIcon:h,colorIconHover:g,colorBgTextHover:y,colorBgTextActive:x,colorText:w,fontWeightStrong:k,footerPaddingBlock:C,footerPaddingInline:$,calc:O}=e,E=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:o,pointerEvents:"none",color:w,"&-pure":{position:"relative",background:r,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:o,background:a,pointerEvents:"auto"},[E]:{position:"absolute",zIndex:o,maxWidth:"100vw",transition:`all ${l}`,"&-hidden":{display:"none"}},[`&-left > ${E}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${E}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${E}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${E}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:r,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(d)}`,fontSize:u,lineHeight:m,borderBottom:`${(0,P.bf)(p)} ${f} ${v}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:O(u).add(i).equal(),height:O(u).add(i).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:b,color:h,fontWeight:k,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:g,backgroundColor:y,textDecoration:"none"},"&:active":{backgroundColor:x}},(0,_.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:u,lineHeight:m},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(C)} ${(0,P.bf)($)}`,borderTop:`${(0,P.bf)(p)} ${f} ${v}`},"&-rtl":{direction:"rtl"}}}};var A=(0,z.I$)("Drawer",e=>{let t=(0,K.IX)(e,{});return[X(t),B(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),F=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let Y={distance:180},T=e=>{let{rootClassName:t,width:n,height:a,size:l="default",mask:s=!0,push:i=Y,open:c,afterOpenChange:d,onClose:u,prefixCls:m,getContainer:p,style:f,className:v,visible:b,afterVisibleChange:h,maskStyle:g,drawerStyle:y,contentWrapperStyle:x}=e,w=F(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:k,getPrefixCls:C,direction:$,drawer:I}=o.useContext(j.E_),M=C("drawer",m),[P,_,z]=A(M),K=r()({"no-mask":!s,[`${M}-rtl`]:"rtl"===$},t,_,z),L=o.useMemo(()=>null!=n?n:"large"===l?736:378,[n,l]),W=o.useMemo(()=>null!=a?a:"large"===l?736:378,[a,l]),H={motionName:(0,S.m)(M,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},U=(0,D.H)(),[B,X]=(0,N.Cn)("Drawer",w.zIndex),{classNames:T={},styles:q={}}=w,{classNames:V={},styles:Q={}}=I||{};return P(o.createElement(E.Z,{form:!0,space:!0},o.createElement(Z.Z.Provider,{value:X},o.createElement(O,Object.assign({prefixCls:M,onClose:u,maskMotion:H,motion:e=>({motionName:(0,S.m)(M,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},w,{classNames:{mask:r()(T.mask,V.mask),content:r()(T.content,V.content),wrapper:r()(T.wrapper,V.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},q.mask),g),Q.mask),content:Object.assign(Object.assign(Object.assign({},q.content),y),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},q.wrapper),x),Q.wrapper)},open:null!=c?c:b,mask:s,push:i,width:L,height:W,style:Object.assign(Object.assign({},null==I?void 0:I.style),f),className:r()(null==I?void 0:I.className,v),rootClassName:K,getContainer:void 0===p&&k?()=>k(document.body):p,afterOpenChange:null!=d?d:h,panelRef:U,zIndex:B}),o.createElement(R,Object.assign({prefixCls:M},w,{onClose:u}))))))};T._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:l="right"}=e,s=F(e,["prefixCls","style","className","placement"]),{getPrefixCls:i}=o.useContext(j.E_),c=i("drawer",t),[d,u,m]=A(c),p=r()(c,`${c}-pure`,`${c}-${l}`,u,m,a);return d(o.createElement("div",{className:p,style:n},o.createElement(R,Object.assign({prefixCls:c},s))))};var q=T}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1708-3afb98df069036b4.js b/dbgpt/app/static/web/_next/static/chunks/1708-3afb98df069036b4.js new file mode 100644 index 000000000..2d0c35949 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1708-3afb98df069036b4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1708,9788,9383,100,9305,2117],{96890:function(e,r,t){t.d(r,{Z:function(){return u}});var o=t(42096),n=t(10921),c=t(38497),l=t(42834),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var o=document.createElement("script");o.setAttribute("src",t),o.setAttribute("data-namespace",t),e.length>r+1&&(o.onload=function(){s(e,r+1)},o.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(o)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,n.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,o.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},67620:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},98028:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},71534:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},1858:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},72828:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},31676:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},32857:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},49030:function(e,r,t){t.d(r,{Z:function(){return z}});var o=t(38497),n=t(26869),c=t.n(n),l=t(55598),a=t(55853),i=t(35883),s=t(55091),u=t(37243),d=t(63346),f=t(38083),g=t(51084),h=t(60848),p=t(74934),v=t(90102);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:o,componentCls:n,calc:c}=e,l=c(o).sub(t).equal(),a=c(r).sub(t).equal();return{[n]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:o}=e,n=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:n,tagLineHeight:(0,f.bf)(o(e.lineHeightSM).mul(n).equal()),tagIconSize:o(t).sub(o(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let w=o.forwardRef((e,r)=>{let{prefixCls:t,style:n,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=o.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(o.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},n),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var $=t(86553);let x=e=>(0,$.Z)(e,(r,t)=>{let{textColor:o,lightBorderColor:n,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:o,background:c,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return x(r)},C);let E=(e,r,t)=>{let o=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let S=o.forwardRef((e,r)=>{let{prefixCls:t,className:n,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:$,tag:x}=o.useContext(d.E_),[E,S]=o.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);o.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==x?void 0:x.style),g),P=w("tag",t),[I,N,R]=y(P),T=c()(P,null==x?void 0:x.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===$,[`${P}-borderless`]:!b},n,f,N,R),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)(x),{closable:!1,closeIconRender:e=>{let r=o.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?o.createElement(o.Fragment,null,q,h&&o.createElement("span",null,h)):h,D=o.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&o.createElement(Z,{key:"preset",prefixCls:P}),M&&o.createElement(H,{key:"status",prefixCls:P}));return I(_?o.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1766-97218725ed7235a1.js b/dbgpt/app/static/web/_next/static/chunks/1766-97218725ed7235a1.js new file mode 100644 index 000000000..2abe560cf --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1766-97218725ed7235a1.js @@ -0,0 +1,73 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1766],{86959:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(42096),i=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},o=n(55032),l=i.forwardRef(function(t,e){return i.createElement(o.Z,(0,r.Z)({},t,{ref:e,icon:a}))})},2:function(t,e,n){"use strict";n.d(e,{w:function(){return rv}});var r=n(33587),i={line_chart:{id:"line_chart",name:"Line Chart",alias:["Lines"],family:["LineCharts"],def:"A line chart uses lines with segments to show changes in data in a ordinal dimension.",purpose:["Comparison","Trend","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Direction"],recRate:"Recommended"},step_line_chart:{id:"step_line_chart",name:"Step Line Chart",alias:["Step Lines"],family:["LineCharts"],def:"A step line chart is a line chart in which points of each line are connected by horizontal and vertical line segments, looking like steps of a staircase.",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Direction"],recRate:"Recommended"},area_chart:{id:"area_chart",name:"Area Chart",alias:[],family:["AreaCharts"],def:"An area chart uses series of line segments with overlapped areas to show the change in data in a ordinal dimension.",purpose:["Comparison","Trend","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position"],recRate:"Recommended"},stacked_area_chart:{id:"stacked_area_chart",name:"Stacked Area Chart",alias:[],family:["AreaCharts"],def:"A stacked area chart uses layered line segments with different styles of padding regions to display how multiple sets of data change in the same ordinal dimension, and the endpoint heights of the segments on the same dimension tick are accumulated by value.",purpose:["Composition","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length"],recRate:"Recommended"},percent_stacked_area_chart:{id:"percent_stacked_area_chart",name:"Percent Stacked Area Chart",alias:["Percent Stacked Area","% Stacked Area","100% Stacked Area"],family:["AreaCharts"],def:"A percent stacked area chart is an extented stacked area chart in which the height of the endpoints of the line segment on the same dimension tick is the accumulated proportion of the ratio, which is 100% of the total.",purpose:["Comparison","Composition","Proportion","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length"],recRate:"Recommended"},column_chart:{id:"column_chart",name:"Column Chart",alias:["Columns"],family:["ColumnCharts"],def:"A column chart uses series of columns to display the value of the dimension. The horizontal axis shows the classification dimension and the vertical axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Color"],recRate:"Recommended"},grouped_column_chart:{id:"grouped_column_chart",name:"Grouped Column Chart",alias:["Grouped Column"],family:["ColumnCharts"],def:"A grouped column chart uses columns of different colors to form a group to display the values of dimensions. The horizontal axis indicates the grouping of categories, the color indicates the categories, and the vertical axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},stacked_column_chart:{id:"stacked_column_chart",name:"Stacked Column Chart",alias:["Stacked Column"],family:["ColumnCharts"],def:"A stacked column chart uses stacked bars of different colors to display the values for each dimension. The horizontal axis indicates the first classification dimension, the color indicates the second classification dimension, and the vertical axis shows the corresponding value.",purpose:["Comparison","Composition","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},percent_stacked_column_chart:{id:"percent_stacked_column_chart",name:"Percent Stacked Column Chart",alias:["Percent Stacked Column","% Stacked Column","100% Stacked Column"],family:["ColumnCharts"],def:"A percent stacked column chart uses stacked bars of different colors to display the values for each dimension. The horizontal axis indicates the first classification dimension, the color indicates the second classification dimension, and the vertical axis shows the percentage of the corresponding classification.",purpose:["Comparison","Composition","Distribution","Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},range_column_chart:{id:"range_column_chart",name:"Range Column Chart",alias:[],family:["ColumnCharts"],def:"A column chart that does not have to start from zero axis.",purpose:["Comparison"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Length"],recRate:"Recommended"},waterfall_chart:{id:"waterfall_chart",name:"Waterfall Chart",alias:["Flying Bricks Chart","Mario Chart","Bridge Chart","Cascade Chart"],family:["ColumnCharts"],def:"A waterfall chart is used to portray how an initial value is affected by a series of intermediate positive or negative values",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal","Time","Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},histogram:{id:"histogram",name:"Histogram",alias:[],family:["ColumnCharts"],def:"A histogram is an accurate representation of the distribution of numerical data.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},bar_chart:{id:"bar_chart",name:"Bar Chart",alias:["Bars"],family:["BarCharts"],def:"A bar chart uses series of bars to display the value of the dimension. The vertical axis shows the classification dimension and the horizontal axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Color"],recRate:"Recommended"},stacked_bar_chart:{id:"stacked_bar_chart",name:"Stacked Bar Chart",alias:["Stacked Bar"],family:["BarCharts"],def:"A stacked bar chart uses stacked bars of different colors to display the values for each dimension. The vertical axis indicates the first classification dimension, the color indicates the second classification dimension, and the horizontal axis shows the corresponding value.",purpose:["Comparison","Composition","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},percent_stacked_bar_chart:{id:"percent_stacked_bar_chart",name:"Percent Stacked Bar Chart",alias:["Percent Stacked Bar","% Stacked Bar","100% Stacked Bar"],family:["BarCharts"],def:"A percent stacked column chart uses stacked bars of different colors to display the values for each dimension. The vertical axis indicates the first classification dimension, the color indicates the second classification dimension, and the horizontal axis shows the percentage of the corresponding classification.",purpose:["Comparison","Composition","Distribution","Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},grouped_bar_chart:{id:"grouped_bar_chart",name:"Grouped Bar Chart",alias:["Grouped Bar"],family:["BarCharts"],def:"A grouped bar chart uses bars of different colors to form a group to display the values of the dimensions. The vertical axis indicates the grouping of categories, the color indicates the categories, and the horizontal axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},range_bar_chart:{id:"range_bar_chart",name:"Range Bar Chart",alias:[],family:["BarCharts"],def:"A bar chart that does not have to start from zero axis.",purpose:["Comparison"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]}],channel:["Length"],recRate:"Recommended"},radial_bar_chart:{id:"radial_bar_chart",name:"Radial Bar Chart",alias:["Radial Column Chart"],family:["BarCharts"],def:"A bar chart that is plotted in the polar coordinate system. The axis along radius shows the classification dimension and the angle shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Color"],recRate:"Recommended"},bullet_chart:{id:"bullet_chart",name:"Bullet Chart",alias:[],family:["BarCharts"],def:"A bullet graph is a variation of a bar graph developed by Stephen Few. Seemingly inspired by the traditional thermometer charts and progress bars found in many dashboards, the bullet graph serves as a replacement for dashboard gauges and meters.",purpose:["Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]}],channel:["Position","Color"],recRate:"Recommended"},pie_chart:{id:"pie_chart",name:"Pie Chart",alias:["Circle Chart","Pie"],family:["PieCharts"],def:"A pie chart is a chart that the classification and proportion of data are represented by the color and arc length (angle, area) of the sector.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Area","Color"],recRate:"Use with Caution"},donut_chart:{id:"donut_chart",name:"Donut Chart",alias:["Donut","Doughnut","Doughnut Chart","Ring Chart"],family:["PieCharts"],def:"A donut chart is a variation on a Pie chart except it has a round hole in the center which makes it look like a donut.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["ArcLength"],recRate:"Recommended"},nested_pie_chart:{id:"nested_pie_chart",name:"Nested Pie Chart",alias:["Nested Circle Chart","Nested Pie","Nested Donut Chart"],family:["PieCharts"],def:"A nested pie chart is a chart that contains several donut charts, where all the donut charts share the same center in position.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]}],channel:["Angle","Area","Color","Position"],recRate:"Use with Caution"},rose_chart:{id:"rose_chart",name:"Rose Chart",alias:["Nightingale Chart","Polar Area Chart","Coxcomb Chart"],family:["PieCharts"],def:"Nightingale Rose Chart is a peculiar combination of the Radar Chart and Stacked Column Chart types of data visualization.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Color","Length"],recRate:"Use with Caution"},scatter_plot:{id:"scatter_plot",name:"Scatter Plot",alias:["Scatter Chart","Scatterplot"],family:["ScatterCharts"],def:"A scatter plot is a type of plot or mathematical diagram using Cartesian coordinates to display values for typically two variables for series of data.",purpose:["Comparison","Distribution","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Scatter"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position"],recRate:"Recommended"},bubble_chart:{id:"bubble_chart",name:"Bubble Chart",alias:["Bubble Chart"],family:["ScatterCharts"],def:"A bubble chart is a type of chart that displays four dimensions of data with x, y positions, circle size and circle color.",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Scatter"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position","Size"],recRate:"Recommended"},non_ribbon_chord_diagram:{id:"non_ribbon_chord_diagram",name:"Non-Ribbon Chord Diagram",alias:[],family:["GeneralGraph"],def:"A stripped-down version of a Chord Diagram, with only the connection lines showing. This provides more emphasis on the connections within the data.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},arc_diagram:{id:"arc_diagram",name:"Arc Diagram",alias:[],family:["GeneralGraph"],def:"A graph where the edges are represented as arcs.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},chord_diagram:{id:"chord_diagram",name:"Chord Diagram",alias:[],family:["GeneralGraph"],def:"A graphical method of displaying the inter-relationships between data in a matrix. The data are arranged radially around a circle with the relationships between the data points typically drawn as arcs connecting the data.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},treemap:{id:"treemap",name:"Treemap",alias:[],family:["TreeGraph"],def:"A visual representation of a data tree with nodes. Each node is displayed as a rectangle, sized and colored according to values that you assign.",purpose:["Composition","Comparison","Hierarchy"],coord:["Cartesian2D"],category:["Statistic"],shape:["Square"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Area"],recRate:"Recommended"},sankey_diagram:{id:"sankey_diagram",name:"Sankey Diagram",alias:[],family:["GeneralGraph"],def:"A graph shows the flows with weights between objects.",purpose:["Flow","Trend","Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},funnel_chart:{id:"funnel_chart",name:"Funnel Chart",alias:[],family:["FunnelCharts"],def:"A funnel chart is often used to represent stages in a sales process and show the amount of potential revenue for each stage.",purpose:["Trend"],coord:["SymmetricCartesian"],category:["Statistic"],shape:["Symmetric"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},mirror_funnel_chart:{id:"mirror_funnel_chart",name:"Mirror Funnel Chart",alias:["Contrast Funnel Chart"],family:["FunnelCharts"],def:"A mirror funnel chart is a funnel chart divided into two series by a central axis.",purpose:["Comparison","Trend"],coord:["SymmetricCartesian"],category:["Statistic"],shape:["Symmetric"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length","Direction"],recRate:"Recommended"},box_plot:{id:"box_plot",name:"Box Plot",alias:["Box and Whisker Plot","boxplot"],family:["BarCharts"],def:"A box plot is often used to graphically depict groups of numerical data through their quartiles. Box plots may also have lines extending from the boxes indicating variability outside the upper and lower quartiles. Outliers may be plotted as individual points.",purpose:["Distribution","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},heatmap:{id:"heatmap",name:"Heatmap",alias:[],family:["HeatmapCharts"],def:"A heatmap is a graphical representation of data where the individual values contained in a matrix are represented as colors.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Square"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},density_heatmap:{id:"density_heatmap",name:"Density Heatmap",alias:["Heatmap"],family:["HeatmapCharts"],def:"A density heatmap is a heatmap for representing the density of dots.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]}],channel:["Color","Position","Area"],recRate:"Recommended"},radar_chart:{id:"radar_chart",name:"Radar Chart",alias:["Web Chart","Spider Chart","Star Chart","Cobweb Chart","Irregular Polygon","Kiviat diagram"],family:["RadarCharts"],def:"A radar chart maps series of data volume of multiple dimensions onto the axes. Starting at the same center point, usually ending at the edge of the circle, connecting the same set of points using lines.",purpose:["Comparison"],coord:["Radar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},wordcloud:{id:"wordcloud",name:"Word Cloud",alias:["Wordle","Tag Cloud","Text Cloud"],family:["Others"],def:"A word cloud is a collection, or cluster, of words depicted in different sizes, colors, and shapes, which takes a piece of text as input. Typically, the font size in the word cloud is encoded as the word frequency in the input text.",purpose:["Proportion"],coord:["Cartesian2D"],category:["Diagram"],shape:["Scatter"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal"]},{minQty:0,maxQty:1,fieldConditions:["Interval"]}],channel:["Size","Position","Color"],recRate:"Recommended"},candlestick_chart:{id:"candlestick_chart",name:"Candlestick Chart",alias:["Japanese Candlestick Chart)"],family:["BarCharts"],def:"A candlestick chart is a specific version of box plot, which is a style of financial chart used to describe price movements of a security, derivative, or currency.",purpose:["Trend","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},compact_box_tree:{id:"compact_box_tree",name:"CompactBox Tree",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which arranges the nodes with same depth on the same level.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},dendrogram:{id:"dendrogram",name:"Dendrogram",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which arranges the leaves on the same level.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},indented_tree:{id:"indented_tree",name:"Indented Tree Layout",alias:[],family:["TreeGraph"],def:"A type of tree graph layout where the hierarchy of tree is represented by the horizontal indentation, and each element will occupy one row/column. It is commonly used to represent the file directory structure.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},radial_tree:{id:"radial_tree",name:"Radial Tree Layout",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which places the root at the center, and the branches around the root radially.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},flow_diagram:{id:"flow_diagram",name:"Flow Diagram",alias:["Dagre Graph Layout","Dagre","Flow Chart"],family:["GeneralGraph"],def:"Directed flow graph.",purpose:["Relation","Flow"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},fruchterman_layout_graph:{id:"fruchterman_layout_graph",name:"Fruchterman Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of force directed graph layout.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},force_directed_layout_graph:{id:"force_directed_layout_graph",name:"Force Directed Graph Layout",alias:[],family:["GeneralGraph"],def:"The classical force directed graph layout.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},fa2_layout_graph:{id:"fa2_layout_graph",name:"Force Atlas 2 Graph Layout",alias:["FA2 Layout"],family:["GeneralGraph"],def:"A type of force directed graph layout algorithm. It focuses more on the degree of the node when calculating the force than the classical force-directed algorithm .",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},mds_layout_graph:{id:"mds_layout_graph",name:"Multi-Dimensional Scaling Layout",alias:["MDS Layout"],family:["GeneralGraph"],def:"A type of dimension reduction algorithm that could be used for calculating graph layout. MDS (Multidimensional scaling) is used for project high dimensional data onto low dimensional space.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},circular_layout_graph:{id:"circular_layout_graph",name:"Circular Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges all the nodes on a circle.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},spiral_layout_graph:{id:"spiral_layout_graph",name:"Spiral Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges all the nodes along a spiral line.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},radial_layout_graph:{id:"radial_layout_graph",name:"Radial Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which places a focus node on the center and the others on the concentrics centered at the focus node according to the shortest path length to the it.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},concentric_layout_graph:{id:"concentric_layout_graph",name:"Concentric Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges the nodes on concentrics.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},grid_layout_graph:{id:"grid_layout_graph",name:"Grid Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout arranges the nodes on grids.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"}};function a(t,e){return e.every(function(e){return t.includes(e)})}var o=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"],l=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"];function s(t,e){return e.some(function(e){return t.includes(e)})}function c(t,e){return t.distincte.distinct?-1:0}var u=["pie_chart","donut_chart"],f=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"];function d(t){var e=t.chartType,n=t.dataProps,r=t.preferences;return!!(n&&e&&r&&r.canvasLayout)}var h=["line_chart","area_chart","stacked_area_chart","percent_stacked_area_chart"],p=["bar_chart","column_chart","grouped_bar_chart","grouped_column_chart","stacked_bar_chart","stacked_column_chart"];function g(t){return t.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])})}var m=["pie_chart","donut_chart","radar_chart","rose_chart"],y=n(44766);function v(t){return"number"==typeof t}function b(t){return"string"==typeof t||"boolean"==typeof t}function x(t){return t instanceof Date}function O(t){var e=t.encode,n=t.data,i=t.scale,a=(0,y.mapValues)(e,function(t,e){var r,a,o;return{field:t,type:void 0!==(r=null==i?void 0:i[e].type)?function(t){switch(t){case"linear":case"log":case"pow":case"sqrt":case"quantile":case"threshold":case"quantize":case"sequential":return"quantitative";case"time":return"temporal";case"ordinal":case"point":case"band":return"categorical";default:throw Error("Unkonwn scale type: ".concat(t,"."))}}(r):function(t){if(t.some(v))return"quantitative";if(t.some(b))return"categorical";if(t.some(x))return"temporal";throw Error("Unknown type: ".concat(typeof t[0]))}((a=n,"function"==typeof(o=t)?a.map(o):"string"==typeof o&&a.some(function(t){return void 0!==t[o]})?a.map(function(t){return t[o]}):a.map(function(){return o})))}});return(0,r.pi)((0,r.pi)({},t),{encode:a})}var w=["line_chart"];(0,r.ev)((0,r.ev)([],(0,r.CR)(["data-check","data-field-qty","no-redundant-field","purpose-check"]),!1),(0,r.CR)(["series-qty-limit","bar-series-qty","line-field-time-ordinal","landscape-or-portrait","diff-pie-sector","nominal-enum-combinatorial","limit-series"]),!1);var _={"data-check":{id:"data-check",type:"HARD",docs:{lintText:"Data must satisfy the data prerequisites."},trigger:function(){return!0},validator:function(t){var e=0,n=t.dataProps,r=t.chartType,i=t.chartWIKI;if(n&&r&&i[r]){e=1;var a=i[r].dataPres||[];a.forEach(function(t){!function(t,e){var n=e.map(function(t){return t.levelOfMeasurements});if(n){var r=0;if(n.forEach(function(e){e&&s(e,t.fieldConditions)&&(r+=1)}),r>=t.minQty&&("*"===t.maxQty||r<=t.maxQty))return!0}return!1}(t,n)&&(e=0)}),n.map(function(t){return t.levelOfMeasurements}).forEach(function(t){var n=!1;a.forEach(function(e){t&&s(t,e.fieldConditions)&&(n=!0)}),n||(e=0)})}return e}},"data-field-qty":{id:"data-field-qty",type:"HARD",docs:{lintText:"Data must have at least the min qty of the prerequisite."},trigger:function(){return!0},validator:function(t){var e=0,n=t.dataProps,r=t.chartType,i=t.chartWIKI;if(n&&r&&i[r]){e=1;var a=(i[r].dataPres||[]).map(function(t){return t.minQty}).reduce(function(t,e){return t+e});n.length&&n.length>=a&&(e=1)}return e}},"no-redundant-field":{id:"no-redundant-field",type:"HARD",docs:{lintText:"No redundant field."},trigger:function(){return!0},validator:function(t){var e=0,n=t.dataProps,r=t.chartType,i=t.chartWIKI;if(n&&r&&i[r]){var a=(i[r].dataPres||[]).map(function(t){return"*"===t.maxQty?99:t.maxQty}).reduce(function(t,e){return t+e});n.length&&n.length<=a&&(e=1)}return e}},"purpose-check":{id:"purpose-check",type:"HARD",docs:{lintText:"Choose chart types that satisfy the purpose, if purpose is defined."},trigger:function(){return!0},validator:function(t){var e=0,n=t.chartType,r=t.purpose,i=t.chartWIKI;return r?(n&&i[n]&&r&&(i[n].purpose||"").includes(r)&&(e=1),e):e=1}},"bar-series-qty":{id:"bar-series-qty",type:"SOFT",docs:{lintText:"Bar chart should has proper number of bars or bar groups."},trigger:function(t){var e=t.chartType;return o.includes(e)},validator:function(t){var e=1,n=t.dataProps,r=t.chartType;if(n&&r){var i=n.find(function(t){return a(t.levelOfMeasurements,["Nominal"])}),o=i&&i.count?i.count:0;o>20&&(e=20/o)}return e<.1?.1:e}},"diff-pie-sector":{id:"diff-pie-sector",type:"SOFT",docs:{lintText:"The difference between sectors of a pie chart should be large enough."},trigger:function(t){var e=t.chartType;return u.includes(e)},validator:function(t){var e=1,n=t.dataProps;if(n){var r=n.find(function(t){return a(t.levelOfMeasurements,["Interval"])});if(r&&r.sum&&r.rawData){var i=1/r.sum,o=r.rawData.map(function(t){return t*i}).reduce(function(t,e){return t*e}),l=r.rawData.length,s=Math.pow(1/l,l);e=2*(Math.abs(s-Math.abs(o))/s)}}return e<.1?.1:e}},"landscape-or-portrait":{id:"landscape-or-portrait",type:"SOFT",docs:{lintText:"Recommend column charts for landscape layout and bar charts for portrait layout."},trigger:function(t){return f.includes(t.chartType)&&d(t)},validator:function(t){var e=1,n=t.chartType,r=t.preferences;return d(t)&&("portrait"===r.canvasLayout&&["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart"].includes(n)?e=5:"landscape"===r.canvasLayout&&["column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"].includes(n)&&(e=5)),e}},"limit-series":{id:"limit-series",type:"SOFT",docs:{lintText:"Avoid too many values in one series."},trigger:function(t){return t.dataProps.filter(function(t){return s(t.levelOfMeasurements,["Nominal","Ordinal"])}).length>=2},validator:function(t){var e=1,n=t.dataProps,r=t.chartType;if(n){var i=n.filter(function(t){return s(t.levelOfMeasurements,["Nominal","Ordinal"])});if(i.length>=2){var a=i.sort(c)[1];a.distinct&&(e=a.distinct>10?.1:1/a.distinct,a.distinct>6&&"heatmap"===r?e=5:"heatmap"===r&&(e=1))}}return e}},"line-field-time-ordinal":{id:"line-field-time-ordinal",type:"SOFT",docs:{lintText:"Data containing time or ordinal fields are suitable for line or area charts."},trigger:function(t){var e=t.chartType;return h.includes(e)},validator:function(t){var e=1,n=t.dataProps;return n&&n.find(function(t){return s(t.levelOfMeasurements,["Ordinal","Time"])})&&(e=5),e}},"nominal-enum-combinatorial":{id:"nominal-enum-combinatorial",type:"SOFT",docs:{lintText:"Single (Basic) and Multi (Stacked, Grouped,...) charts should be optimized recommended by nominal enums combinatorial numbers."},trigger:function(t){var e=t.chartType,n=t.dataProps;return p.includes(e)&&g(n).length>=2},validator:function(t){var e=1,n=t.dataProps,r=t.chartType;if(n){var i=g(n);if(i.length>=2){var a=i.sort(c),o=a[0],l=a[1];o.distinct===o.count&&["bar_chart","column_chart"].includes(r)&&(e=5),o.count&&o.distinct&&l.distinct&&o.count>o.distinct&&["grouped_bar_chart","grouped_column_chart","stacked_bar_chart","stacked_column_chart"].includes(r)&&(e=5)}}return e}},"series-qty-limit":{id:"series-qty-limit",type:"SOFT",docs:{lintText:"Some charts should has at most N values for the series."},trigger:function(t){var e=t.chartType;return m.includes(e)},validator:function(t){var e=1,n=t.dataProps,r=t.chartType,i=t.limit;if((!Number.isInteger(i)||i<=0)&&(i=6,("pie_chart"===r||"donut_chart"===r||"rose_chart"===r)&&(i=6),"radar_chart"===r&&(i=8)),n){var o=n.find(function(t){return a(t.levelOfMeasurements,["Nominal"])}),l=o&&o.count?o.count:0;l>=2&&l<=i&&(e=5+2/l)}return e}},"x-axis-line-fading":{id:"x-axis-line-fading",type:"DESIGN",docs:{lintText:"Adjust axis to make it prettier"},trigger:function(t){var e=t.chartType;return w.includes(e)},optimizer:function(t,e){var n,r=O(e).encode;if(r&&(null===(n=r.y)||void 0===n?void 0:n.type)==="quantitative"){var i=t.find(function(t){var e;return t.name===(null===(e=r.y)||void 0===e?void 0:e.field)});if(i){var a=i.maximum-i.minimum;if(i.minimum&&i.maximum&&a<2*i.maximum/3){var o=Math.floor(i.minimum-a/5);return{axis:{x:{tick:!1}},scale:{y:{domainMin:o>0?o:0}},clip:!0}}}}return{}}},"bar-without-axis-min":{id:"bar-without-axis-min",type:"DESIGN",docs:{lintText:"It is not recommended to set the minimum value of axis for the bar or column chart.",fixText:"Remove the minimum value config of axis."},trigger:function(t){var e=t.chartType;return l.includes(e)},optimizer:function(t,e){var n,r,i=e.scale;if(!i)return{};var a=null===(n=i.x)||void 0===n?void 0:n.domainMin,o=null===(r=i.y)||void 0===r?void 0:r.domainMin;if(a||o){var l=JSON.parse(JSON.stringify(i));return a&&(l.x.domainMin=0),o&&(l.y.domainMin=0),{scale:l}}return{}}}},k=Object.keys(_),M=function(t){var e={};return t.forEach(function(t){Object.keys(_).includes(t)&&(e[t]=_[t])}),e},C=function(t){if(!t)return M(k);var e=M(k);if(t.exclude&&t.exclude.forEach(function(t){Object.keys(e).includes(t)&&delete e[t]}),t.include){var n=t.include;Object.keys(e).forEach(function(t){n.includes(t)||delete e[t]})}var i=(0,r.pi)((0,r.pi)({},e),t.custom),a=t.options;return a&&Object.keys(a).forEach(function(t){if(Object.keys(i).includes(t)){var e=a[t];i[t]=(0,r.pi)((0,r.pi)({},i[t]),{option:e})}}),i},j=function(t){if("object"!=typeof t||null===t)return t;if(Array.isArray(t)){e=[];for(var e,n=0,r=t.length;ne.distinct)return -1}return 0};function N(t){var e,n,r,i=null!==(n=null!==(e=t.find(function(t){return s(t.levelOfMeasurements,["Nominal"])}))&&void 0!==e?e:t.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal"])}))&&void 0!==n?n:t.find(function(t){return s(t.levelOfMeasurements,["Interval"])}),a=null!==(r=t.filter(function(t){return t!==i}).find(function(t){return s(t.levelOfMeasurements,["Interval"])}))&&void 0!==r?r:t.filter(function(t){return t!==i}).find(function(t){return s(t.levelOfMeasurements,["Nominal","Time","Ordinal"])});return[i,a]}function B(t){var e,n=null!==(e=t.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal","Nominal"])}))&&void 0!==e?e:t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),r=t.filter(function(t){return t!==n}).find(function(t){return a(t.levelOfMeasurements,["Interval"])}),i=t.filter(function(t){return t!==n&&t!==r}).find(function(t){return s(t.levelOfMeasurements,["Nominal","Ordinal","Time"])});return[n,r,i]}function D(t){var e=t.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal"])}),n=t.find(function(t){return a(t.levelOfMeasurements,["Nominal"])});return[e,t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),n]}function Z(t){var e=t.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])}).sort(I),n=e[0],r=e[1];return[t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),n,r]}function z(t){var e,n,i,o,l,s,c=t.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])}).sort(I);return(0,T.Js)(null===(i=c[1])||void 0===i?void 0:i.rawData,null===(o=c[0])||void 0===o?void 0:o.rawData)?(s=(e=(0,r.CR)(c,2))[0],l=e[1]):(l=(n=(0,r.CR)(c,2))[0],s=n[1]),[l,t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),s]}var F=function(t){var e=t.data,n=t.xField;return(0,y.uniq)(e.map(function(t){return t[n]})).length<=1},$=function(t,e,n){var r=n.field4Split,i=n.field4X;if((null==r?void 0:r.name)&&(null==i?void 0:i.name)){var a=t[r.name];return F({data:e.filter(function(t){return r.name&&t[r.name]===a}),xField:i.name})?5:void 0}return(null==i?void 0:i.name)&&F({data:e,xField:i.name})?5:void 0},W=n(84438);function H(t){var e,n,i,o,l,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,k,M,C,j,A,S,E,P,T,L,F,H,G,q,Y,V,U,Q,X,K,J,tt,te,tn,tr,ti=t.chartType,ta=t.data,to=t.dataProps,tl=t.chartKnowledge;if(!R.includes(ti)&&tl)return tl.toSpec?tl.toSpec(ta,to):null;switch(ti){case"pie_chart":return n=(e=(0,r.CR)(N(to),2))[0],(i=e[1])&&n?{type:"interval",data:ta,encode:{color:n.name,y:i.name},transform:[{type:"stackY"}],coordinate:{type:"theta"}}:null;case"donut_chart":return l=(o=(0,r.CR)(N(to),2))[0],(c=o[1])&&l?{type:"interval",data:ta,encode:{color:l.name,y:c.name},transform:[{type:"stackY"}],coordinate:{type:"theta",innerRadius:.6}}:null;case"line_chart":return function(t,e){var n=(0,r.CR)(B(e),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var l={type:"line",data:t,encode:{x:i.name,y:a.name,size:function(e){return $(e,t,{field4X:i})}},legend:{size:!1}};return o&&(l.encode.color=o.name),l}(ta,to);case"step_line_chart":return function(t,e){var n=(0,r.CR)(B(e),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var l={type:"line",data:t,encode:{x:i.name,y:a.name,shape:"hvh",size:function(e){return $(e,t,{field4X:i})}},legend:{size:!1}};return o&&(l.encode.color=o.name),l}(ta,to);case"area_chart":return u=to.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal"])}),f=to.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),u&&f?{type:"area",data:ta,encode:{x:u.name,y:f.name,size:function(t){return $(t,ta,{field4X:u})}},legend:{size:!1}}:null;case"stacked_area_chart":return h=(d=(0,r.CR)(D(to),3))[0],p=d[1],g=d[2],h&&p&&g?{type:"area",data:ta,encode:{x:h.name,y:p.name,color:g.name,size:function(t){return $(t,ta,{field4Split:g,field4X:h})}},legend:{size:!1},transform:[{type:"stackY"}]}:null;case"percent_stacked_area_chart":return y=(m=(0,r.CR)(D(to),3))[0],v=m[1],b=m[2],y&&v&&b?{type:"area",data:ta,encode:{x:y.name,y:v.name,color:b.name},transform:[{type:"stackY"},{type:"normalizeY"}]}:null;case"bar_chart":return function(t,e){var n=(0,r.CR)(Z(e),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var l={type:"interval",data:t,encode:{x:a.name,y:i.name},coordinate:{transform:[{type:"transpose"}]}};return o&&(l.encode.color=o.name,l.transform=[{type:"stackY"}]),l}(ta,to);case"grouped_bar_chart":return O=(x=(0,r.CR)(Z(to),3))[0],w=x[1],_=x[2],O&&w&&_?{type:"interval",data:ta,encode:{x:w.name,y:O.name,color:_.name},transform:[{type:"dodgeX"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"stacked_bar_chart":return M=(k=(0,r.CR)(Z(to),3))[0],C=k[1],j=k[2],M&&C&&j?{type:"interval",data:ta,encode:{x:C.name,y:M.name,color:j.name},transform:[{type:"stackY"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"percent_stacked_bar_chart":return S=(A=(0,r.CR)(Z(to),3))[0],E=A[1],P=A[2],S&&E&&P?{type:"interval",data:ta,encode:{x:E.name,y:S.name,color:P.name},transform:[{type:"stackY"},{type:"normalizeY"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"column_chart":return function(t,e){var n=e.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])}).sort(I),r=n[0],i=n[1],o=e.find(function(t){return a(t.levelOfMeasurements,["Interval"])});if(!r||!o)return null;var l={type:"interval",data:t,encode:{x:r.name,y:o.name}};return i&&(l.encode.color=i.name,l.transform=[{type:"stackY"}]),l}(ta,to);case"grouped_column_chart":return L=(T=(0,r.CR)(z(to),3))[0],F=T[1],H=T[2],L&&F&&H?{type:"interval",data:ta,encode:{x:L.name,y:F.name,color:H.name},transform:[{type:"dodgeX"}]}:null;case"stacked_column_chart":return q=(G=(0,r.CR)(z(to),3))[0],Y=G[1],V=G[2],q&&Y&&V?{type:"interval",data:ta,encode:{x:q.name,y:Y.name,color:V.name},transform:[{type:"stackY"}]}:null;case"percent_stacked_column_chart":return Q=(U=(0,r.CR)(z(to),3))[0],X=U[1],K=U[2],Q&&X&&K?{type:"interval",data:ta,encode:{x:Q.name,y:X.name,color:K.name},transform:[{type:"stackY"},{type:"normalizeY"}]}:null;case"scatter_plot":return function(t,e){var n=e.filter(function(t){return a(t.levelOfMeasurements,["Interval"])}).sort(I),r=n[0],i=n[1],o=e.find(function(t){return a(t.levelOfMeasurements,["Nominal"])});if(!r||!i)return null;var l={type:"point",data:t,encode:{x:r.name,y:i.name}};return o&&(l.encode.color=o.name),l}(ta,to);case"bubble_chart":return function(t,e){for(var n=e.filter(function(t){return a(t.levelOfMeasurements,["Interval"])}),i={x:n[0],y:n[1],corr:0,size:n[2]},o=function(t){for(var e=function(e){var a=(0,W.Vs)(n[t].rawData,n[e].rawData);Math.abs(a)>i.corr&&(i.x=n[t],i.y=n[e],i.corr=a,i.size=n[(0,r.ev)([],(0,r.CR)(Array(n.length).keys()),!1).find(function(n){return n!==t&&n!==e})||0])},a=t+1;ae.score?-1:0},X=function(t){var e=t.chartWIKI,n=t.dataProps,r=t.ruleBase,i=t.options;return Object.keys(e).map(function(t){return function(t,e,n,r,i){var a=i?i.purpose:"",o=i?i.preferences:void 0,l=[],s={dataProps:n,chartType:t,purpose:a,preferences:o},c=U(t,e,r,"HARD",s,l);if(0===c)return{chartType:t,score:0,log:l};var u=U(t,e,r,"SOFT",s,l);return{chartType:t,score:c*u,log:l}}(t,e,n,r,i)}).filter(function(t){return t.score>0}).sort(Q)};function K(t,e,n,r){return Object.values(n).filter(function(r){var i;return"DESIGN"===r.type&&r.trigger({dataProps:e,chartType:t})&&!(null===(i=n[r.id].option)||void 0===i?void 0:i.off)}).reduce(function(t,n){return P(t,n.optimizer(e,r))},{})}var J=(t,e=0,n=1)=>to(tl(e,t),n),tt=t=>{t._clipped=!1,t._unclipped=t.slice(0);for(let e=0;e<=3;e++)e<3?((t[e]<0||t[e]>255)&&(t._clipped=!0),t[e]=J(t[e],0,255)):3===e&&(t[e]=J(t[e],0,1));return t};let te={};for(let t of["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"])te[`[object ${t}]`]=t.toLowerCase();function tn(t){return te[Object.prototype.toString.call(t)]||"object"}var tr=(t,e=null)=>t.length>=3?Array.prototype.slice.call(t):"object"==tn(t[0])&&e?e.split("").filter(e=>void 0!==t[0][e]).map(e=>t[0][e]):t[0],ti=t=>{if(t.length<2)return null;let e=t.length-1;return"string"==tn(t[e])?t[e].toLowerCase():null};let{PI:ta,min:to,max:tl}=Math,ts=2*ta,tc=ta/3,tu=ta/180,tf=180/ta;var td={format:{},autodetect:[]},th=class{constructor(...t){if("object"===tn(t[0])&&t[0].constructor&&t[0].constructor===this.constructor)return t[0];let e=ti(t),n=!1;if(!e){for(let r of(n=!0,td.sorted||(td.autodetect=td.autodetect.sort((t,e)=>e.p-t.p),td.sorted=!0),td.autodetect))if(e=r.test(...t))break}if(td.format[e]){let r=td.format[e].apply(null,n?t:t.slice(0,-1));this._rgb=tt(r)}else throw Error("unknown format: "+t);3===this._rgb.length&&this._rgb.push(1)}toString(){return"function"==tn(this.hex)?this.hex():`[${this._rgb.join(",")}]`}};let tp=(...t)=>new tp.Color(...t);tp.Color=th,tp.version="2.6.0";let{max:tg}=Math;var tm=(...t)=>{let[e,n,r]=tr(t,"rgb");e/=255,n/=255,r/=255;let i=1-tg(e,tg(n,r)),a=i<1?1/(1-i):0,o=(1-e-i)*a,l=(1-n-i)*a,s=(1-r-i)*a;return[o,l,s,i]};th.prototype.cmyk=function(){return tm(this._rgb)},tp.cmyk=(...t)=>new th(...t,"cmyk"),td.format.cmyk=(...t)=>{t=tr(t,"cmyk");let[e,n,r,i]=t,a=t.length>4?t[4]:1;return 1===i?[0,0,0,a]:[e>=1?0:255*(1-e)*(1-i),n>=1?0:255*(1-n)*(1-i),r>=1?0:255*(1-r)*(1-i),a]},td.autodetect.push({p:2,test:(...t)=>{if(t=tr(t,"cmyk"),"array"===tn(t)&&4===t.length)return"cmyk"}});let ty=t=>Math.round(100*t)/100;var tv=(...t)=>{let e=tr(t,"hsla"),n=ti(t)||"lsa";return e[0]=ty(e[0]||0),e[1]=ty(100*e[1])+"%",e[2]=ty(100*e[2])+"%","hsla"===n||e.length>3&&e[3]<1?(e[3]=e.length>3?e[3]:1,n="hsla"):e.length=3,`${n}(${e.join(",")})`},tb=(...t)=>{let e,n;let[r,i,a]=t=tr(t,"rgba");r/=255,i/=255,a/=255;let o=to(r,i,a),l=tl(r,i,a),s=(l+o)/2;return(l===o?(e=0,n=Number.NaN):e=s<.5?(l-o)/(l+o):(l-o)/(2-l-o),r==l?n=(i-a)/(l-o):i==l?n=2+(a-r)/(l-o):a==l&&(n=4+(r-i)/(l-o)),(n*=60)<0&&(n+=360),t.length>3&&void 0!==t[3])?[n,e,s,t[3]]:[n,e,s]};let{round:tx}=Math;var tO=(...t)=>{let e=tr(t,"rgba"),n=ti(t)||"rgb";return"hsl"==n.substr(0,3)?tv(tb(e),n):(e[0]=tx(e[0]),e[1]=tx(e[1]),e[2]=tx(e[2]),("rgba"===n||e.length>3&&e[3]<1)&&(e[3]=e.length>3?e[3]:1,n="rgba"),`${n}(${e.slice(0,"rgb"===n?3:4).join(",")})`)};let{round:tw}=Math;var t_=(...t)=>{let e,n,r;t=tr(t,"hsl");let[i,a,o]=t;if(0===a)e=n=r=255*o;else{let t=[0,0,0],l=[0,0,0],s=o<.5?o*(1+a):o+a-o*a,c=2*o-s,u=i/360;t[0]=u+1/3,t[1]=u,t[2]=u-1/3;for(let e=0;e<3;e++)t[e]<0&&(t[e]+=1),t[e]>1&&(t[e]-=1),6*t[e]<1?l[e]=c+(s-c)*6*t[e]:2*t[e]<1?l[e]=s:3*t[e]<2?l[e]=c+(s-c)*(2/3-t[e])*6:l[e]=c;[e,n,r]=[tw(255*l[0]),tw(255*l[1]),tw(255*l[2])]}return t.length>3?[e,n,r,t[3]]:[e,n,r,1]};let tk=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,tM=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,tC=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,tj=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,tA=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,tS=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,{round:tE}=Math,tP=t=>{let e;if(t=t.toLowerCase().trim(),td.format.named)try{return td.format.named(t)}catch(t){}if(e=t.match(tk)){let t=e.slice(1,4);for(let e=0;e<3;e++)t[e]=+t[e];return t[3]=1,t}if(e=t.match(tM)){let t=e.slice(1,5);for(let e=0;e<4;e++)t[e]=+t[e];return t}if(e=t.match(tC)){let t=e.slice(1,4);for(let e=0;e<3;e++)t[e]=tE(2.55*t[e]);return t[3]=1,t}if(e=t.match(tj)){let t=e.slice(1,5);for(let e=0;e<3;e++)t[e]=tE(2.55*t[e]);return t[3]=+t[3],t}if(e=t.match(tA)){let t=e.slice(1,4);t[1]*=.01,t[2]*=.01;let n=t_(t);return n[3]=1,n}if(e=t.match(tS)){let t=e.slice(1,4);t[1]*=.01,t[2]*=.01;let n=t_(t);return n[3]=+e[4],n}};tP.test=t=>tk.test(t)||tM.test(t)||tC.test(t)||tj.test(t)||tA.test(t)||tS.test(t),th.prototype.css=function(t){return tO(this._rgb,t)},tp.css=(...t)=>new th(...t,"css"),td.format.css=tP,td.autodetect.push({p:5,test:(t,...e)=>{if(!e.length&&"string"===tn(t)&&tP.test(t))return"css"}}),td.format.gl=(...t)=>{let e=tr(t,"rgba");return e[0]*=255,e[1]*=255,e[2]*=255,e},tp.gl=(...t)=>new th(...t,"gl"),th.prototype.gl=function(){let t=this._rgb;return[t[0]/255,t[1]/255,t[2]/255,t[3]]};let{floor:tR}=Math;var tT=(...t)=>{let e;let[n,r,i]=tr(t,"rgb"),a=to(n,r,i),o=tl(n,r,i),l=o-a;return 0===l?e=Number.NaN:(n===o&&(e=(r-i)/l),r===o&&(e=2+(i-n)/l),i===o&&(e=4+(n-r)/l),(e*=60)<0&&(e+=360)),[e,100*l/255,a/(255-l)*100]};th.prototype.hcg=function(){return tT(this._rgb)},tp.hcg=(...t)=>new th(...t,"hcg"),td.format.hcg=(...t)=>{let e,n,r;let[i,a,o]=t=tr(t,"hcg");o*=255;let l=255*a;if(0===a)e=n=r=o;else{360===i&&(i=0),i>360&&(i-=360),i<0&&(i+=360),i/=60;let t=tR(i),s=i-t,c=o*(1-a),u=c+l*(1-s),f=c+l*s,d=c+l;switch(t){case 0:[e,n,r]=[d,f,c];break;case 1:[e,n,r]=[u,d,c];break;case 2:[e,n,r]=[c,d,f];break;case 3:[e,n,r]=[c,u,d];break;case 4:[e,n,r]=[f,c,d];break;case 5:[e,n,r]=[d,c,u]}}return[e,n,r,t.length>3?t[3]:1]},td.autodetect.push({p:1,test:(...t)=>{if(t=tr(t,"hcg"),"array"===tn(t)&&3===t.length)return"hcg"}});let tL=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,tI=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/;var tN=t=>{if(t.match(tL)){(4===t.length||7===t.length)&&(t=t.substr(1)),3===t.length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]);let e=parseInt(t,16);return[e>>16,e>>8&255,255&e,1]}if(t.match(tI)){(5===t.length||9===t.length)&&(t=t.substr(1)),4===t.length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);let e=parseInt(t,16),n=Math.round((255&e)/255*100)/100;return[e>>24&255,e>>16&255,e>>8&255,n]}throw Error(`unknown hex color: ${t}`)};let{round:tB}=Math;var tD=(...t)=>{let[e,n,r,i]=tr(t,"rgba"),a=ti(t)||"auto";void 0===i&&(i=1),"auto"===a&&(a=i<1?"rgba":"rgb"),e=tB(e),n=tB(n),r=tB(r);let o=e<<16|n<<8|r,l="000000"+o.toString(16);l=l.substr(l.length-6);let s="0"+tB(255*i).toString(16);switch(s=s.substr(s.length-2),a.toLowerCase()){case"rgba":return`#${l}${s}`;case"argb":return`#${s}${l}`;default:return`#${l}`}};th.prototype.hex=function(t){return tD(this._rgb,t)},tp.hex=(...t)=>new th(...t,"hex"),td.format.hex=tN,td.autodetect.push({p:4,test:(t,...e)=>{if(!e.length&&"string"===tn(t)&&[3,4,5,6,7,8,9].indexOf(t.length)>=0)return"hex"}});let{cos:tZ}=Math,{min:tz,sqrt:tF,acos:t$}=Math;var tW=(...t)=>{let e,[n,r,i]=tr(t,"rgb");n/=255,r/=255,i/=255;let a=tz(n,r,i),o=(n+r+i)/3,l=o>0?1-a/o:0;return 0===l?e=NaN:(e=t$(e=(n-r+(n-i))/2/tF((n-r)*(n-r)+(n-i)*(r-i))),i>r&&(e=ts-e),e/=ts),[360*e,l,o]};th.prototype.hsi=function(){return tW(this._rgb)},tp.hsi=(...t)=>new th(...t,"hsi"),td.format.hsi=(...t)=>{let e,n,r;let[i,a,o]=t=tr(t,"hsi");return isNaN(i)&&(i=0),isNaN(a)&&(a=0),i>360&&(i-=360),i<0&&(i+=360),(i/=360)<1/3?n=1-((r=(1-a)/3)+(e=(1+a*tZ(ts*i)/tZ(tc-ts*i))/3)):i<2/3?(i-=1/3,r=1-((e=(1-a)/3)+(n=(1+a*tZ(ts*i)/tZ(tc-ts*i))/3))):(i-=2/3,e=1-((n=(1-a)/3)+(r=(1+a*tZ(ts*i)/tZ(tc-ts*i))/3))),[255*(e=J(o*e*3)),255*(n=J(o*n*3)),255*(r=J(o*r*3)),t.length>3?t[3]:1]},td.autodetect.push({p:2,test:(...t)=>{if(t=tr(t,"hsi"),"array"===tn(t)&&3===t.length)return"hsi"}}),th.prototype.hsl=function(){return tb(this._rgb)},tp.hsl=(...t)=>new th(...t,"hsl"),td.format.hsl=t_,td.autodetect.push({p:2,test:(...t)=>{if(t=tr(t,"hsl"),"array"===tn(t)&&3===t.length)return"hsl"}});let{floor:tH}=Math,{min:tG,max:tq}=Math;var tY=(...t)=>{let e,n;let[r,i,a]=t=tr(t,"rgb"),o=tG(r,i,a),l=tq(r,i,a),s=l-o;return 0===l?(e=Number.NaN,n=0):(n=s/l,r===l&&(e=(i-a)/s),i===l&&(e=2+(a-r)/s),a===l&&(e=4+(r-i)/s),(e*=60)<0&&(e+=360)),[e,n,l/255]};th.prototype.hsv=function(){return tY(this._rgb)},tp.hsv=(...t)=>new th(...t,"hsv"),td.format.hsv=(...t)=>{let e,n,r;let[i,a,o]=t=tr(t,"hsv");if(o*=255,0===a)e=n=r=o;else{360===i&&(i=0),i>360&&(i-=360),i<0&&(i+=360),i/=60;let t=tH(i),l=i-t,s=o*(1-a),c=o*(1-a*l),u=o*(1-a*(1-l));switch(t){case 0:[e,n,r]=[o,u,s];break;case 1:[e,n,r]=[c,o,s];break;case 2:[e,n,r]=[s,o,u];break;case 3:[e,n,r]=[s,c,o];break;case 4:[e,n,r]=[u,s,o];break;case 5:[e,n,r]=[o,s,c]}}return[e,n,r,t.length>3?t[3]:1]},td.autodetect.push({p:2,test:(...t)=>{if(t=tr(t,"hsv"),"array"===tn(t)&&3===t.length)return"hsv"}});var tV={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452};let{pow:tU}=Math,tQ=t=>255*(t<=.00304?12.92*t:1.055*tU(t,1/2.4)-.055),tX=t=>t>tV.t1?t*t*t:tV.t2*(t-tV.t0);var tK=(...t)=>{let e,n,r;t=tr(t,"lab");let[i,a,o]=t;return n=(i+16)/116,e=isNaN(a)?n:n+a/500,r=isNaN(o)?n:n-o/200,n=tV.Yn*tX(n),e=tV.Xn*tX(e),r=tV.Zn*tX(r),[tQ(3.2404542*e-1.5371385*n-.4985314*r),tQ(-.969266*e+1.8760108*n+.041556*r),tQ(.0556434*e-.2040259*n+1.0572252*r),t.length>3?t[3]:1]};let{pow:tJ}=Math,t0=t=>(t/=255)<=.04045?t/12.92:tJ((t+.055)/1.055,2.4),t1=t=>t>tV.t3?tJ(t,1/3):t/tV.t2+tV.t0,t2=(t,e,n)=>{t=t0(t),e=t0(e),n=t0(n);let r=t1((.4124564*t+.3575761*e+.1804375*n)/tV.Xn),i=t1((.2126729*t+.7151522*e+.072175*n)/tV.Yn),a=t1((.0193339*t+.119192*e+.9503041*n)/tV.Zn);return[r,i,a]};var t5=(...t)=>{let[e,n,r]=tr(t,"rgb"),[i,a,o]=t2(e,n,r),l=116*a-16;return[l<0?0:l,500*(i-a),200*(a-o)]};th.prototype.lab=function(){return t5(this._rgb)},tp.lab=(...t)=>new th(...t,"lab"),td.format.lab=tK,td.autodetect.push({p:2,test:(...t)=>{if(t=tr(t,"lab"),"array"===tn(t)&&3===t.length)return"lab"}});let{sin:t3,cos:t4}=Math;var t6=(...t)=>{let[e,n,r]=tr(t,"lch");return isNaN(r)&&(r=0),[e,t4(r*=tu)*n,t3(r)*n]},t8=(...t)=>{t=tr(t,"lch");let[e,n,r]=t,[i,a,o]=t6(e,n,r),[l,s,c]=tK(i,a,o);return[l,s,c,t.length>3?t[3]:1]};let{sqrt:t9,atan2:t7,round:et}=Math;var ee=(...t)=>{let[e,n,r]=tr(t,"lab"),i=t9(n*n+r*r),a=(t7(r,n)*tf+360)%360;return 0===et(1e4*i)&&(a=Number.NaN),[e,i,a]},en=(...t)=>{let[e,n,r]=tr(t,"rgb"),[i,a,o]=t5(e,n,r);return ee(i,a,o)};th.prototype.lch=function(){return en(this._rgb)},th.prototype.hcl=function(){return en(this._rgb).reverse()},tp.lch=(...t)=>new th(...t,"lch"),tp.hcl=(...t)=>new th(...t,"hcl"),td.format.lch=t8,td.format.hcl=(...t)=>{let e=tr(t,"hcl").reverse();return t8(...e)},["lch","hcl"].forEach(t=>td.autodetect.push({p:2,test:(...e)=>{if(e=tr(e,t),"array"===tn(e)&&3===e.length)return t}}));var er={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",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",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",maroon2:"#7f0000",maroon3:"#b03060",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",purple2:"#7f007f",purple3:"#a020f0",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"};th.prototype.name=function(){let t=tD(this._rgb,"rgb");for(let e of Object.keys(er))if(er[e]===t)return e.toLowerCase();return t},td.format.named=t=>{if(er[t=t.toLowerCase()])return tN(er[t]);throw Error("unknown color name: "+t)},td.autodetect.push({p:5,test:(t,...e)=>{if(!e.length&&"string"===tn(t)&&er[t.toLowerCase()])return"named"}});var ei=(...t)=>{let[e,n,r]=tr(t,"rgb");return(e<<16)+(n<<8)+r};th.prototype.num=function(){return ei(this._rgb)},tp.num=(...t)=>new th(...t,"num"),td.format.num=t=>{if("number"==tn(t)&&t>=0&&t<=16777215){let e=t>>16,n=t>>8&255,r=255&t;return[e,n,r,1]}throw Error("unknown num color: "+t)},td.autodetect.push({p:5,test:(...t)=>{if(1===t.length&&"number"===tn(t[0])&&t[0]>=0&&t[0]<=16777215)return"num"}});let{round:ea}=Math;th.prototype.rgb=function(t=!0){return!1===t?this._rgb.slice(0,3):this._rgb.slice(0,3).map(ea)},th.prototype.rgba=function(t=!0){return this._rgb.slice(0,4).map((e,n)=>n<3?!1===t?e:ea(e):e)},tp.rgb=(...t)=>new th(...t,"rgb"),td.format.rgb=(...t)=>{let e=tr(t,"rgba");return void 0===e[3]&&(e[3]=1),e},td.autodetect.push({p:3,test:(...t)=>{if(t=tr(t,"rgba"),"array"===tn(t)&&(3===t.length||4===t.length&&"number"==tn(t[3])&&t[3]>=0&&t[3]<=1))return"rgb"}});let{log:eo}=Math;var el=t=>{let e,n,r;let i=t/100;return i<66?(e=255,n=i<6?0:-155.25485562709179-.44596950469579133*(n=i-2)+104.49216199393888*eo(n),r=i<20?0:-254.76935184120902+.8274096064007395*(r=i-10)+115.67994401066147*eo(r)):(e=351.97690566805693+.114206453784165*(e=i-55)-40.25366309332127*eo(e),n=325.4494125711974+.07943456536662342*(n=i-50)-28.0852963507957*eo(n),r=255),[e,n,r,1]};let{round:es}=Math;var ec=(...t)=>{let e;let n=tr(t,"rgb"),r=n[0],i=n[2],a=1e3,o=4e4;for(;o-a>.4;){e=(o+a)*.5;let t=el(e);t[2]/t[0]>=i/r?o=e:a=e}return es(e)};th.prototype.temp=th.prototype.kelvin=th.prototype.temperature=function(){return ec(this._rgb)},tp.temp=tp.kelvin=tp.temperature=(...t)=>new th(...t,"temp"),td.format.temp=td.format.kelvin=td.format.temperature=el;let{pow:eu,sign:ef}=Math;var ed=(...t)=>{t=tr(t,"lab");let[e,n,r]=t,i=eu(e+.3963377774*n+.2158037573*r,3),a=eu(e-.1055613458*n-.0638541728*r,3),o=eu(e-.0894841775*n-1.291485548*r,3);return[255*eh(4.0767416621*i-3.3077115913*a+.2309699292*o),255*eh(-1.2684380046*i+2.6097574011*a-.3413193965*o),255*eh(-.0041960863*i-.7034186147*a+1.707614701*o),t.length>3?t[3]:1]};function eh(t){let e=Math.abs(t);return e>.0031308?(ef(t)||1)*(1.055*eu(e,1/2.4)-.055):12.92*t}let{cbrt:ep,pow:eg,sign:em}=Math;var ey=(...t)=>{let[e,n,r]=tr(t,"rgb"),[i,a,o]=[ev(e/255),ev(n/255),ev(r/255)],l=ep(.4122214708*i+.5363325363*a+.0514459929*o),s=ep(.2119034982*i+.6806995451*a+.1073969566*o),c=ep(.0883024619*i+.2817188376*a+.6299787005*o);return[.2104542553*l+.793617785*s-.0040720468*c,1.9779984951*l-2.428592205*s+.4505937099*c,.0259040371*l+.7827717662*s-.808675766*c]};function ev(t){let e=Math.abs(t);return e<.04045?t/12.92:(em(t)||1)*eg((e+.055)/1.055,2.4)}th.prototype.oklab=function(){return ey(this._rgb)},tp.oklab=(...t)=>new th(...t,"oklab"),td.format.oklab=ed,td.autodetect.push({p:3,test:(...t)=>{if(t=tr(t,"oklab"),"array"===tn(t)&&3===t.length)return"oklab"}});var eb=(...t)=>{let[e,n,r]=tr(t,"rgb"),[i,a,o]=ey(e,n,r);return ee(i,a,o)};th.prototype.oklch=function(){return eb(this._rgb)},tp.oklch=(...t)=>new th(...t,"oklch"),td.format.oklch=(...t)=>{t=tr(t,"lch");let[e,n,r]=t,[i,a,o]=t6(e,n,r),[l,s,c]=ed(i,a,o);return[l,s,c,t.length>3?t[3]:1]},td.autodetect.push({p:3,test:(...t)=>{if(t=tr(t,"oklch"),"array"===tn(t)&&3===t.length)return"oklch"}}),th.prototype.alpha=function(t,e=!1){return void 0!==t&&"number"===tn(t)?e?(this._rgb[3]=t,this):new th([this._rgb[0],this._rgb[1],this._rgb[2],t],"rgb"):this._rgb[3]},th.prototype.clipped=function(){return this._rgb._clipped||!1},th.prototype.darken=function(t=1){let e=this.lab();return e[0]-=tV.Kn*t,new th(e,"lab").alpha(this.alpha(),!0)},th.prototype.brighten=function(t=1){return this.darken(-t)},th.prototype.darker=th.prototype.darken,th.prototype.brighter=th.prototype.brighten,th.prototype.get=function(t){let[e,n]=t.split("."),r=this[e]();if(!n)return r;{let t=e.indexOf(n)-("ok"===e.substr(0,2)?2:0);if(t>-1)return r[t];throw Error(`unknown channel ${n} in mode ${e}`)}};let{pow:ex}=Math;th.prototype.luminance=function(t,e="rgb"){if(void 0!==t&&"number"===tn(t)){if(0===t)return new th([0,0,0,this._rgb[3]],"rgb");if(1===t)return new th([255,255,255,this._rgb[3]],"rgb");let n=this.luminance(),r=20,i=(n,a)=>{let o=n.interpolate(a,.5,e),l=o.luminance();return!(1e-7>Math.abs(t-l))&&r--?l>t?i(n,o):i(o,a):o},a=(n>t?i(new th([0,0,0]),this):i(this,new th([255,255,255]))).rgb();return new th([...a,this._rgb[3]])}return eO(...this._rgb.slice(0,3))};let eO=(t,e,n)=>.2126*(t=ew(t))+.7152*(e=ew(e))+.0722*(n=ew(n)),ew=t=>(t/=255)<=.03928?t/12.92:ex((t+.055)/1.055,2.4);var e_={},ek=(t,e,n=.5,...r)=>{let i=r[0]||"lrgb";if(e_[i]||r.length||(i=Object.keys(e_)[0]),!e_[i])throw Error(`interpolation mode ${i} is not defined`);return"object"!==tn(t)&&(t=new th(t)),"object"!==tn(e)&&(e=new th(e)),e_[i](t,e,n).alpha(t.alpha()+n*(e.alpha()-t.alpha()))};th.prototype.mix=th.prototype.interpolate=function(t,e=.5,...n){return ek(this,t,e,...n)},th.prototype.premultiply=function(t=!1){let e=this._rgb,n=e[3];return t?(this._rgb=[e[0]*n,e[1]*n,e[2]*n,n],this):new th([e[0]*n,e[1]*n,e[2]*n,n],"rgb")},th.prototype.saturate=function(t=1){let e=this.lch();return e[1]+=tV.Kn*t,e[1]<0&&(e[1]=0),new th(e,"lch").alpha(this.alpha(),!0)},th.prototype.desaturate=function(t=1){return this.saturate(-t)},th.prototype.set=function(t,e,n=!1){let[r,i]=t.split("."),a=this[r]();if(!i)return a;{let t=r.indexOf(i)-("ok"===r.substr(0,2)?2:0);if(t>-1){if("string"==tn(e))switch(e.charAt(0)){case"+":case"-":a[t]+=+e;break;case"*":a[t]*=+e.substr(1);break;case"/":a[t]/=+e.substr(1);break;default:a[t]=+e}else if("number"===tn(e))a[t]=e;else throw Error("unsupported value for Color.set");let i=new th(a,r);return n?(this._rgb=i._rgb,this):i}throw Error(`unknown channel ${i} in mode ${r}`)}},th.prototype.tint=function(t=.5,...e){return ek(this,"white",t,...e)},th.prototype.shade=function(t=.5,...e){return ek(this,"black",t,...e)},e_.rgb=(t,e,n)=>{let r=t._rgb,i=e._rgb;return new th(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"rgb")};let{sqrt:eM,pow:eC}=Math;e_.lrgb=(t,e,n)=>{let[r,i,a]=t._rgb,[o,l,s]=e._rgb;return new th(eM(eC(r,2)*(1-n)+eC(o,2)*n),eM(eC(i,2)*(1-n)+eC(l,2)*n),eM(eC(a,2)*(1-n)+eC(s,2)*n),"rgb")},e_.lab=(t,e,n)=>{let r=t.lab(),i=e.lab();return new th(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"lab")};var ej=(t,e,n,r)=>{let i,a,o,l,s,c,u,f,d,h,p,g;return"hsl"===r?(i=t.hsl(),a=e.hsl()):"hsv"===r?(i=t.hsv(),a=e.hsv()):"hcg"===r?(i=t.hcg(),a=e.hcg()):"hsi"===r?(i=t.hsi(),a=e.hsi()):"lch"===r||"hcl"===r?(r="hcl",i=t.hcl(),a=e.hcl()):"oklch"===r&&(i=t.oklch().reverse(),a=e.oklch().reverse()),("h"===r.substr(0,1)||"oklch"===r)&&([o,s,u]=i,[l,c,f]=a),isNaN(o)||isNaN(l)?isNaN(o)?isNaN(l)?h=Number.NaN:(h=l,(1==u||0==u)&&"hsv"!=r&&(d=c)):(h=o,(1==f||0==f)&&"hsv"!=r&&(d=s)):(g=l>o&&l-o>180?l-(o+360):l180?l+360-o:l-o,h=o+n*g),void 0===d&&(d=s+n*(c-s)),p=u+n*(f-u),"oklch"===r?new th([p,d,h],r):new th([h,d,p],r)};let eA=(t,e,n)=>ej(t,e,n,"lch");e_.lch=eA,e_.hcl=eA,e_.num=(t,e,n)=>{let r=t.num(),i=e.num();return new th(r+n*(i-r),"num")},e_.hcg=(t,e,n)=>ej(t,e,n,"hcg"),e_.hsi=(t,e,n)=>ej(t,e,n,"hsi"),e_.hsl=(t,e,n)=>ej(t,e,n,"hsl"),e_.hsv=(t,e,n)=>ej(t,e,n,"hsv"),e_.oklab=(t,e,n)=>{let r=t.oklab(),i=e.oklab();return new th(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"oklab")},e_.oklch=(t,e,n)=>ej(t,e,n,"oklch");let{pow:eS,sqrt:eE,PI:eP,cos:eR,sin:eT,atan2:eL}=Math,eI=(t,e)=>{let n=t.length,r=[0,0,0,0];for(let i=0;i.9999999&&(r[3]=1),new th(tt(r))},{pow:eN}=Math;function eB(t){let e="rgb",n=tp("#ccc"),r=0,i=[0,1],a=[],o=[0,0],l=!1,s=[],c=!1,u=0,f=1,d=!1,h={},p=!0,g=1,m=function(t){if("string"===tn(t=t||["#fff","#000"])&&tp.brewer&&tp.brewer[t.toLowerCase()]&&(t=tp.brewer[t.toLowerCase()]),"array"===tn(t)){1===t.length&&(t=[t[0],t[0]]),t=t.slice(0);for(let e=0;e=l[n];)n++;return n-1}return 0},v=t=>t,b=t=>t,x=function(t,r){let i,c;if(null==r&&(r=!1),isNaN(t)||null===t)return n;if(r)c=t;else if(l&&l.length>2){let e=y(t);c=e/(l.length-2)}else c=f!==u?(t-u)/(f-u):1;c=b(c),r||(c=v(c)),1!==g&&(c=eN(c,g)),c=J(c=o[0]+c*(1-o[0]-o[1]),0,1);let d=Math.floor(1e4*c);if(p&&h[d])i=h[d];else{if("array"===tn(s))for(let t=0;t=n&&t===a.length-1){i=s[t];break}if(c>n&&ch={};m(t);let w=function(t){let e=tp(x(t));return c&&e[c]?e[c]():e};return w.classes=function(t){if(null!=t){if("array"===tn(t))l=t,i=[t[0],t[t.length-1]];else{let e=tp.analyze(i);l=0===t?[e.min,e.max]:tp.limits(e,"e",t)}return w}return l},w.domain=function(t){if(!arguments.length)return i;u=t[0],f=t[t.length-1],a=[];let e=s.length;if(t.length===e&&u!==f)for(let e of Array.from(t))a.push((e-u)/(f-u));else{for(let t=0;t2){let e=t.map((e,n)=>n/(t.length-1)),n=t.map(t=>(t-u)/(f-u));n.every((t,n)=>e[n]===t)||(b=t=>{if(t<=0||t>=1)return t;let r=0;for(;t>=n[r+1];)r++;let i=(t-n[r])/(n[r+1]-n[r]),a=e[r]+i*(e[r+1]-e[r]);return a})}}return i=[u,f],w},w.mode=function(t){return arguments.length?(e=t,O(),w):e},w.range=function(t,e){return m(t,e),w},w.out=function(t){return c=t,w},w.spread=function(t){return arguments.length?(r=t,w):r},w.correctLightness=function(t){return null==t&&(t=!0),d=t,O(),v=d?function(t){let e=x(0,!0).lab()[0],n=x(1,!0).lab()[0],r=e>n,i=x(t,!0).lab()[0],a=e+(n-e)*t,o=i-a,l=0,s=1,c=20;for(;Math.abs(o)>.01&&c-- >0;)r&&(o*=-1),o<0?(l=t,t+=(s-t)*.5):(s=t,t+=(l-t)*.5),o=(i=x(t,!0).lab()[0])-a;return t}:t=>t,w},w.padding=function(t){return null!=t?("number"===tn(t)&&(t=[t,t]),o=t,w):o},w.colors=function(e,n){arguments.length<2&&(n="hex");let r=[];if(0==arguments.length)r=s.slice(0);else if(1===e)r=[w(.5)];else if(e>1){let t=i[0],n=i[1]-t;r=(function(t,e,n){let r=[],i=ta;i?e++:e--)r.push(e);return r})(0,e,!1).map(r=>w(t+r/(e-1)*n))}else{t=[];let e=[];if(l&&l.length>2)for(let t=1,n=l.length,r=1<=n;r?tn;r?t++:t--)e.push((l[t-1]+l[t])*.5);else e=i;r=e.map(t=>w(t))}return tp[n]&&(r=r.map(t=>t[n]())),r},w.cache=function(t){return null!=t?(p=t,w):p},w.gamma=function(t){return null!=t?(g=t,w):g},w.nodata=function(t){return null!=t?(n=tp(t),w):n},w}let eD=function(t){let e=[1,1];for(let n=1;nnew th(t))).length)[n,r]=t.map(t=>t.lab()),e=function(t){let e=[0,1,2].map(e=>n[e]+t*(r[e]-n[e]));return new th(e,"lab")};else if(3===t.length)[n,r,i]=t.map(t=>t.lab()),e=function(t){let e=[0,1,2].map(e=>(1-t)*(1-t)*n[e]+2*(1-t)*t*r[e]+t*t*i[e]);return new th(e,"lab")};else if(4===t.length){let a;[n,r,i,a]=t.map(t=>t.lab()),e=function(t){let e=[0,1,2].map(e=>(1-t)*(1-t)*(1-t)*n[e]+3*(1-t)*(1-t)*t*r[e]+3*(1-t)*t*t*i[e]+t*t*t*a[e]);return new th(e,"lab")}}else if(t.length>=5){let n,r,i;n=t.map(t=>t.lab()),r=eD(i=t.length-1),e=function(t){let e=1-t,a=[0,1,2].map(a=>n.reduce((n,o,l)=>n+r[l]*e**(i-l)*t**l*o[a],0));return new th(a,"lab")}}else throw RangeError("No point in running bezier with only one color.");return e},ez=(t,e,n)=>{if(!ez[n])throw Error("unknown blend mode "+n);return ez[n](t,e)},eF=t=>(e,n)=>{let r=tp(n).rgb(),i=tp(e).rgb();return tp.rgb(t(r,i))},e$=t=>(e,n)=>{let r=[];return r[0]=t(e[0],n[0]),r[1]=t(e[1],n[1]),r[2]=t(e[2],n[2]),r};ez.normal=eF(e$(t=>t)),ez.multiply=eF(e$((t,e)=>t*e/255)),ez.screen=eF(e$((t,e)=>255*(1-(1-t/255)*(1-e/255)))),ez.overlay=eF(e$((t,e)=>e<128?2*t*e/255:255*(1-2*(1-t/255)*(1-e/255)))),ez.darken=eF(e$((t,e)=>t>e?e:t)),ez.lighten=eF(e$((t,e)=>t>e?t:e)),ez.dodge=eF(e$((t,e)=>255===t?255:(t=255*(e/255)/(1-t/255))>255?255:t)),ez.burn=eF(e$((t,e)=>255*(1-(1-e/255)/(t/255))));let{pow:eW,sin:eH,cos:eG}=Math,{floor:eq,random:eY}=Math,{log:eV,pow:eU,floor:eQ,abs:eX}=Math;function eK(t,e=null){let n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===tn(t)&&(t=Object.values(t)),t.forEach(t=>{e&&"object"===tn(t)&&(t=t[e]),null==t||isNaN(t)||(n.values.push(t),n.sum+=t,tn.max&&(n.max=t),n.count+=1)}),n.domain=[n.min,n.max],n.limits=(t,e)=>eJ(n,t,e),n}function eJ(t,e="equal",n=7){"array"==tn(t)&&(t=eK(t));let{min:r,max:i}=t,a=t.values.sort((t,e)=>t-e);if(1===n)return[r,i];let o=[];if("c"===e.substr(0,1)&&(o.push(r),o.push(i)),"e"===e.substr(0,1)){o.push(r);for(let t=1;t 0");let t=Math.LOG10E*eV(r),e=Math.LOG10E*eV(i);o.push(r);for(let r=1;r200&&(c=!1)}let d={};for(let t=0;tt-e),o.push(h[0]);for(let t=1;t{let r=t.length;n||(n=Array.from(Array(r)).map(()=>1));let i=r/n.reduce(function(t,e){return t+e});if(n.forEach((t,e)=>{n[e]*=i}),t=t.map(t=>new th(t)),"lrgb"===e)return eI(t,n);let a=t.shift(),o=a.get(e),l=[],s=0,c=0;for(let t=0;t{let i=t.get(e);u+=t.alpha()*n[r+1];for(let t=0;t=360;)e-=360;o[t]=e}else o[t]=o[t]/l[t];return u/=r,new th(o,e).alpha(u>.99999?1:u,!0)},bezier:t=>{let e=eZ(t);return e.scale=()=>eB(e),e},blend:ez,cubehelix:function(t=300,e=-1.5,n=1,r=1,i=[0,1]){let a=0,o;"array"===tn(i)?o=i[1]-i[0]:(o=0,i=[i,i]);let l=function(l){let s=ts*((t+120)/360+e*l),c=eW(i[0]+o*l,r),u=0!==a?n[0]+l*a:n,f=u*c*(1-c)/2,d=eG(s),h=eH(s);return tp(tt([255*(c+f*(-.14861*d+1.78277*h)),255*(c+f*(-.29227*d-.90649*h)),255*(c+f*(1.97294*d)),1]))};return l.start=function(e){return null==e?t:(t=e,l)},l.rotations=function(t){return null==t?e:(e=t,l)},l.gamma=function(t){return null==t?r:(r=t,l)},l.hue=function(t){return null==t?n:("array"===tn(n=t)?0==(a=n[1]-n[0])&&(n=n[1]):a=0,l)},l.lightness=function(t){return null==t?i:("array"===tn(t)?(i=t,o=t[1]-t[0]):(i=[t,t],o=0),l)},l.scale=()=>tp.scale(l),l.hue(n),l},mix:ek,interpolate:ek,random:()=>{let t="#";for(let e=0;e<6;e++)t+="0123456789abcdef".charAt(eq(16*eY()));return new th(t,"hex")},scale:eB,analyze:eK,contrast:(t,e)=>{t=new th(t),e=new th(e);let n=t.luminance(),r=e.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},deltaE:function(t,e,n=1,r=1,i=1){var a=function(t){return 360*t/(2*e7)},o=function(t){return 2*e7*t/360};t=new th(t),e=new th(e);let[l,s,c]=Array.from(t.lab()),[u,f,d]=Array.from(e.lab()),h=(l+u)/2,p=e0(e1(s,2)+e1(c,2)),g=e0(e1(f,2)+e1(d,2)),m=(p+g)/2,y=.5*(1-e0(e1(m,7)/(e1(m,7)+e1(25,7)))),v=s*(1+y),b=f*(1+y),x=e0(e1(v,2)+e1(c,2)),O=e0(e1(b,2)+e1(d,2)),w=(x+O)/2,_=a(e3(c,v)),k=a(e3(d,b)),M=_>=0?_:_+360,C=k>=0?k:k+360,j=e4(M-C)>180?(M+C+360)/2:(M+C)/2,A=1-.17*e6(o(j-30))+.24*e6(o(2*j))+.32*e6(o(3*j+6))-.2*e6(o(4*j-63)),S=C-M;S=180>=e4(S)?S:C<=M?S+360:S-360,S=2*e0(x*O)*e8(o(S)/2);let E=O-x,P=1+.015*e1(h-50,2)/e0(20+e1(h-50,2)),R=1+.045*w,T=1+.015*w*A,L=30*e9(-e1((j-275)/25,2)),I=2*e0(e1(w,7)/(e1(w,7)+e1(25,7))),N=-I*e8(2*o(L)),B=e0(e1((u-l)/(n*P),2)+e1(E/(r*R),2)+e1(S/(i*T),2)+N*(E/(r*R))*(S/(i*T)));return e5(0,e2(100,B))},distance:function(t,e,n="lab"){t=new th(t),e=new th(e);let r=t.get(n),i=e.get(n),a=0;for(let t in r){let e=(r[t]||0)-(i[t]||0);a+=e*e}return Math.sqrt(a)},limits:eJ,valid:(...t)=>{try{return new th(...t),!0}catch(t){return!1}},scales:{cool:()=>eB([tp.hsl(180,1,.9),tp.hsl(250,.7,.4)]),hot:()=>eB(["#000","#f00","#ff0","#fff"],[0,.25,.75,1]).mode("rgb")},input:td,colors:er,brewer:nt});let ne=t=>!!tp.valid(t);function nn(t){let{value:e}=t;return ne(e)?tp(e).hex():""}let nr={lab:{l:[0,100],a:[-86.185,98.254],b:[-107.863,94.482]},lch:{l:[0,100],c:[0,100],h:[0,360]},rgb:{r:[0,255],g:[0,255],b:[0,255]},rgba:{r:[0,255],g:[0,255],b:[0,255],a:[0,1]},hsl:{h:[0,360],s:[0,1],l:[0,1]},hsv:{h:[0,360],s:[0,1],v:[0,1]},hsi:{h:[0,360],s:[0,1],i:[0,1]},cmyk:{c:[0,1],m:[0,1],y:[0,1],k:[0,1]}},ni={model:"rgb",value:{r:255,g:255,b:255}},na=["normal","darken","multiply","colorBurn","linearBurn","lighten","screen","colorDodge","linearDodge","overlay","softLight","hardLight","vividLight","linearLight","pinLight","difference","exclusion"];[...na];let no=t=>!!tp.valid(t),nl=t=>{let{value:e}=t;return no(e)?tp(e):tp("#000")},ns=(t,e=t.model)=>{let n=nl(t);return n?n[e]():[0,0,0]},nc=(t,e=4===t.length?"rgba":"rgb")=>{let n={};if(1===t.length){let[r]=t;for(let t=0;tt*e/255,np=(t,e)=>t+e-t*e/255,ng=(t,e)=>t<128?nh(2*t,e):np(2*t-255,e),nm={normal:t=>t,darken:(t,e)=>Math.min(t,e),multiply:nh,colorBurn:(t,e)=>0===t?0:Math.max(0,255*(1-(255-e)/t)),lighten:(t,e)=>Math.max(t,e),screen:np,colorDodge:(t,e)=>255===t?255:Math.min(255,255*(e/(255-t))),overlay:(t,e)=>ng(e,t),softLight:(t,e)=>{if(t<128)return e-(1-2*t/255)*e*(1-e/255);let n=e<64?((16*(e/255)-12)*(e/255)+4)*(e/255):Math.sqrt(e/255);return e+255*(2*t/255-1)*(n-e/255)},hardLight:ng,difference:(t,e)=>Math.abs(t-e),exclusion:(t,e)=>t+e-2*t*e/255,linearBurn:(t,e)=>Math.max(t+e-255,0),linearDodge:(t,e)=>Math.min(255,t+e),linearLight:(t,e)=>Math.max(e+2*t-255,0),vividLight:(t,e)=>t<128?255*(1-(1-e/255)/(2*t/255)):255*(e/2/(255-t)),pinLight:(t,e)=>t<128?Math.min(e,2*t):Math.max(e,2*t-255)},ny=t=>.3*t[0]+.58*t[1]+.11*t[2],nv=t=>{let e=ny(t),n=Math.min(...t),r=Math.max(...t),i=[...t];return n<0&&(i=i.map(t=>e+(t-e)*e/(e-n))),r>255&&(i=i.map(t=>e+(t-e)*(255-e)/(r-e))),i},nb=(t,e)=>{let n=e-ny(t);return nv(t.map(t=>t+n))},nx=t=>Math.max(...t)-Math.min(...t),nO=(t,e)=>{let n=t.map((t,e)=>({value:t,index:e}));n.sort((t,e)=>t.value-e.value);let r=n[0].index,i=n[1].index,a=n[2].index,o=[...t];return o[a]>o[r]?(o[i]=(o[i]-o[r])*e/(o[a]-o[r]),o[a]=e):(o[i]=0,o[a]=0),o[r]=0,o},nw={hue:(t,e)=>nb(nO(t,nx(e)),ny(e)),saturation:(t,e)=>nb(nO(e,nx(t)),ny(e)),color:(t,e)=>nb(t,ny(e)),luminosity:(t,e)=>nb(e,ny(t))},n_=(t,e,n="normal")=>{let r;let[i,a,o,l]=ns(t,"rgba"),[s,c,u,f]=ns(e,"rgba"),d=[i,a,o],h=[s,c,u];if(na.includes(n)){let t=nm[n];r=d.map((e,n)=>Math.floor(t(e,h[n])))}else r=nw[n](d,h);let p=l+f*(1-l),g=Math.round((l*(1-f)*i+l*f*r[0]+(1-l)*f*s)/p),m=Math.round((l*(1-f)*a+l*f*r[1]+(1-l)*f*c)/p),y=Math.round((l*(1-f)*o+l*f*r[2]+(1-l)*f*u)/p);return 1===p?{model:"rgb",value:{r:g,g:m,b:y}}:{model:"rgba",value:{r:g,g:m,b:y,a:p}}},nk=(t,e)=>{let n=(t+e)%360;return n<0?n+=360:n>=360&&(n-=360),n},nM=(t=1,e=0)=>{let n=Math.min(t,e),r=Math.max(t,e);return n+Math.random()*(r-n)},nC=(t=1,e=0)=>{let n=Math.ceil(Math.min(t,e)),r=Math.floor(Math.max(t,e));return Math.floor(n+Math.random()*(r-n+1))},nj=t=>{if(t&&"object"==typeof t){let e=Array.isArray(t);if(e){let e=t.map(t=>nj(t));return e}let n={},r=Object.keys(t);return r.forEach(e=>{n[e]=nj(t[e])}),n}return t};function nA(t){return t*(Math.PI/180)}var nS=n(13106),nE=n.n(nS);let nP=(t,e="normal")=>{if("normal"===e)return{...t};let n=nn(t),r=nE()[e](n);return nd(r)},nR=t=>{let e=nu(t),[,,,n=1]=ns(t,"rgba");return nf(e,n)},nT=(t,e="normal")=>"grayscale"===e?nR(t):nP(t,e),nL=(t,e,n=[nC(5,10),nC(90,95)])=>{let[r,i,a]=ns(t,"lab"),o=r<=15?r:n[0],l=r>=85?r:n[1],s=(l-o)/(e-1),c=Math.ceil((r-o)/s);return s=0===c?s:(r-o)/c,Array(e).fill(0).map((t,e)=>nc([s*e+o,i,a],"lab"))},nI=t=>{let{count:e,color:n,tendency:r}=t,i=nL(n,e),a={name:"monochromatic",semantic:null,type:"discrete-scale",colors:"tint"===r?i:i.reverse()};return a},nN={model:"rgb",value:{r:0,g:0,b:0}},nB={model:"rgb",value:{r:255,g:255,b:255}},nD=(t,e,n="lab")=>tp.distance(nl(t),nl(e),n),nZ=(t,e)=>{let n=Math.atan2(t,e)*(180/Math.PI);return n>=0?n:n+360},nz=(t,e)=>{let n,r;let[i,a,o]=ns(t,"lab"),[l,s,c]=ns(e,"lab"),u=Math.sqrt(a**2+o**2),f=Math.sqrt(s**2+c**2),d=(u+f)/2,h=.5*(1-Math.sqrt(d**7/(d**7+6103515625))),p=(1+h)*a,g=(1+h)*s,m=Math.sqrt(p**2+o**2),y=Math.sqrt(g**2+c**2),v=nZ(o,p),b=nZ(c,g),x=y-m;n=180>=Math.abs(b-v)?b-v:b-v<-180?b-v+360:b-v-360;let O=2*Math.sqrt(m*y)*Math.sin(nA(n)/2);r=180>=Math.abs(v-b)?(v+b)/2:Math.abs(v-b)>180&&v+b<360?(v+b+360)/2:(v+b-360)/2;let w=(i+l)/2,_=(m+y)/2,k=1-.17*Math.cos(nA(r-30))+.24*Math.cos(nA(2*r))+.32*Math.cos(nA(3*r+6))-.2*Math.cos(nA(4*r-63)),M=1+.015*(w-50)**2/Math.sqrt(20+(w-50)**2),C=1+.045*_,j=1+.015*_*k,A=-2*Math.sqrt(_**7/(_**7+6103515625))*Math.sin(nA(60*Math.exp(-(((r-275)/25)**2)))),S=Math.sqrt(((l-i)/(1*M))**2+(x/(1*C))**2+(O/(1*j))**2+A*(x/(1*C))*(O/(1*j)));return S},nF=t=>{let e=t/255;return e<=.03928?e/12.92:((e+.055)/1.055)**2.4},n$=t=>{let[e,n,r]=ns(t);return .2126*nF(e)+.7152*nF(n)+.0722*nF(r)},nW=(t,e)=>{let n=n$(t),r=n$(e);return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},nH=(t,e,n={measure:"euclidean"})=>{let{measure:r="euclidean",backgroundColor:i=ni}=n,a=n_(t,i),o=n_(e,i);switch(r){case"CIEDE2000":return nz(a,o);case"euclidean":return nD(a,o,n.colorModel);case"contrastRatio":return nW(a,o);default:return nD(a,o)}},nG=[.8,1.2],nq={rouletteWheel:t=>{let e=t.reduce((t,e)=>t+e),n=0,r=nM(e),i=0;for(let e=0;e{let e=-1,n=0;for(let r=0;r<3;r+=1){let i=nC(t.length-1);t[i]>n&&(e=r,n=t[i])}return e}},nY=(t,e="tournament")=>nq[e](t),nV=(t,e)=>{let n=nj(t),r=nj(e);for(let i=1;i{let i=nj(t),a=e[nC(e.length-1)],o=nC(t[0].length-1),l=i[a][o]*nM(...nG),s=[15,240];"grayscale"!==n&&(s=nr[r][r.split("")[o]]);let[c,u]=s;return lu&&(l=u),i[a][o]=l,i},nQ=(t,e,n,r,i,a)=>{let o;o="grayscale"===n?t.map(([t])=>nf(t)):t.map(t=>nT(nc(t,r),n));let l=1/0;for(let t=0;t{if(Math.round(nQ(t,e,n,i,a,o))>r)return t;let l=Array(t.length).fill(0).map((t,e)=>e).filter((t,n)=>!e[n]),s=Array(50).fill(0).map(()=>nU(t,l,n,i)),c=s.map(t=>nQ(t,e,n,i,a,o)),u=Math.max(...c),f=s[c.findIndex(t=>t===u)],d=1;for(;d<100&&Math.round(u)nM()?nV(e,r):[e,r];a=a.map(t=>.1>nM()?nU(t,l,n,i):t),t.push(...a)}c=(s=t).map(t=>nQ(t,e,n,i,a,o));let r=Math.max(...c);u=r,f=s[c.findIndex(t=>t===r)],d+=1}return f},nK={euclidean:30,CIEDE2000:20,contrastRatio:4.5},nJ={euclidean:291.48,CIEDE2000:100,contrastRatio:21},n0=(t,e={})=>{let{locked:n=[],simulationType:r="normal",threshold:i,colorModel:a="hsv",colorDifferenceMeasure:o="euclidean",backgroundColor:l=ni}=e,s=i;if(s||(s=nK[o]),"grayscale"===r){let e=nJ[o];s=Math.min(s,e/t.colors.length)}let c=nj(t);if("matrix"!==c.type&&"continuous-scale"!==c.type){if("grayscale"===r){let t=c.colors.map(t=>[nu(t)]),e=nX(t,n,r,s,a,o,l);c.colors.forEach((t,n)=>Object.assign(t,function(t,e){let n;let[,r,i]=ns(e,"lab"),[,,,a=1]=ns(e,"rgba"),o=100*t,l=Math.round(o),s=nu(nc([l,r,i],"lab")),c=25;for(;Math.round(o)!==Math.round(s/255*100)&&c>0;)o>s/255*100?l+=1:l-=1,c-=1,s=nu(nc([l,r,i],"lab"));if(Math.round(o)ns(t,a)),e=nX(t,n,r,s,a,o,l);c.colors.forEach((t,n)=>{Object.assign(t,nc(e[n],a))})}}return c},n1=[.3,.9],n2=[.5,1],n5=(t,e,n,r=[])=>{let[i]=ns(t,"hsv"),a=Array(n).fill(!1),o=-1===r.findIndex(e=>e&&e.model===t.model&&e.value===t.value),l=Array(n).fill(0).map((n,l)=>{let s=r[l];return s?(a[l]=!0,s):o?(o=!1,a[l]=!0,t):nc([nk(i,e*l),nM(...n1),nM(...n2)],"hsv")});return{newColors:l,locked:a}};function n3(){let t=nC(255),e=nC(255),n=nC(255);return nc([t,e,n],"rgb")}let n4=t=>{let{count:e,colors:n}=t,r=[],i={name:"random",semantic:null,type:"categorical",colors:Array(e).fill(0).map((t,e)=>{let i=n[e];return i?(r[e]=!0,i):n3()})};return n0(i,{locked:r})},n6=["monochromatic"],n8=(t,e)=>{let{count:n=8,tendency:r="tint"}=e,{colors:i=[],color:a}=e;return a||(a=i.find(t=>!!t&&!!t.model&&!!t.value)||n3()),n6.includes(t)&&(i=[]),{color:a,colors:i,count:n,tendency:r}},n9={monochromatic:nI,analogous:t=>{let{count:e,color:n,tendency:r}=t,[i,a,o]=ns(n,"hsv"),l=Math.floor(e/2),s=60/(e-1);i>=60&&i<=240&&(s=-s);let c=(a-.1)/3/(e-l-1),u=(o-.4)/3/l,f=Array(e).fill(0).map((t,e)=>{let n=nk(i,s*(e-l)),r=e<=l?Math.min(a+c*(l-e),1):a+3*c*(l-e),f=e<=l?o-3*u*(l-e):Math.min(o-u*(l-e),1);return nc([n,r,f],"hsv")}),d={name:"analogous",semantic:null,type:"discrete-scale",colors:"tint"===r?f:f.reverse()};return d},achromatic:t=>{let{tendency:e}=t,n={...t,color:"tint"===e?nN:nB},r=nI(n);return{...r,name:"achromatic"}},complementary:t=>{let e;let{count:n,color:r}=t,[i,a,o]=ns(r,"hsv"),l=nc([nk(i,180),a,o],"hsv"),s=nC(80,90),c=nC(15,25),u=Math.floor(n/2),f=nL(r,u,[c,s]),d=nL(l,u,[c,s]).reverse();if(n%2==1){let t=nc([(nk(i,180)+i)/2,nM(.05,.1),nM(.9,.95)],"hsv");e=[...f,t,...d]}else e=[...f,...d];let h={name:"complementary",semantic:null,type:"discrete-scale",colors:e};return h},"split-complementary":t=>{let{count:e,color:n,colors:r}=t,{newColors:i,locked:a}=n5(n,180,e,r);return n0({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},triadic:t=>{let{count:e,color:n,colors:r}=t,{newColors:i,locked:a}=n5(n,120,e,r);return n0({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},tetradic:t=>{let{count:e,color:n,colors:r}=t,{newColors:i,locked:a}=n5(n,90,e,r);return n0({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},polychromatic:t=>{let{count:e,color:n,colors:r}=t,i=360/e,{newColors:a,locked:o}=n5(n,i,e,r);return n0({name:"tetradic",semantic:null,type:"categorical",colors:a},{locked:o})},customized:n4},n7=(t="monochromatic",e={})=>{let n=n8(t,e);try{return n9[t](n)}catch(t){return n4(n)}};function rt(t,e,n){var r,i=O(e),a=n.primaryColor,o=i.encode;if(a&&o){var l=nd(a);if(o.color){var s=o.color,c=s.type,u=s.field;return{scale:{color:{range:n7("quantitative"===c?G[Math.floor(Math.random()*G.length)]:q[Math.floor(Math.random()*q.length)],{color:l,count:null===(r=t.find(function(t){return t.name===u}))||void 0===r?void 0:r.count}).colors.map(function(t){return nn(t)})}}}}return"line"===e.type?{style:{stroke:nn(l)}}:{style:{fill:nn(l)}}}return{}}function re(t,e,n,r,i){var a,o=O(e).encode;if(n&&o){var l=nd(n);if(o.color){var s=o.color,c=s.type,u=s.field,f=r;return f||(f="quantitative"===c?"monochromatic":"polychromatic"),{scale:{color:{range:n7(f,{color:l,count:null===(a=t.find(function(t){return t.name===u}))||void 0===a?void 0:a.count}).colors.map(function(t){return nn(i?nT(t,i):t)})}}}}return"line"===e.type?{style:{stroke:nn(l)}}:{style:{fill:nn(l)}}}return{}}n(98651);var rn=n(98922);function rr(t,e,n){try{i=e?new rn.Z(t,{columns:e}):new rn.Z(t)}catch(t){return console.error("failed to transform the input data into DataFrame: ",t),[]}var i,a=i.info();return n?a.map(function(t){var e=n.find(function(e){return e.name===t.name});return(0,r.pi)((0,r.pi)({},t),e)}):a}var ri=function(t){var e=t.data,n=t.fields;return n?e.map(function(t){return Object.keys(t).forEach(function(e){n.includes(e)||delete t[e]}),t}):e};function ra(t){var e=t.adviseParams,n=t.ckb,r=t.ruleBase,i=e.data,a=e.dataProps,o=e.smartColor,l=e.options,s=e.colorOptions,c=e.fields,u=l||{},f=u.refine,d=void 0!==f&&f,h=u.requireSpec,p=void 0===h||h,g=u.theme,m=s||{},y=m.themeColor,v=void 0===y?Y:y,b=m.colorSchemeType,x=m.simulationType,O=j(i),w=rr(O,c,a),_=ri({data:O,fields:c}),k=X({dataProps:w,ruleBase:r,chartWIKI:n});return{advices:k.map(function(t){var e=t.score,i=t.chartType,a=H({chartType:i,data:_,dataProps:w,chartKnowledge:n[i]});if(a&&d){var l=K(i,w,r,a);P(a,l)}if(a){if(g&&!o){var l=rt(w,a,g);P(a,l)}else if(o){var l=re(w,a,v,b,x);P(a,l)}}return{type:i,spec:a,score:e}}).filter(function(t){return!p||t.spec}),log:k}}var ro=function(t){var e,n=t.coordinate;if((null==n?void 0:n.type)==="theta")return(null==n?void 0:n.innerRadius)?"donut_chart":"pie_chart";var r=t.transform,i=null===(e=null==n?void 0:n.transform)||void 0===e?void 0:e.some(function(t){return"transpose"===t.type}),a=null==r?void 0:r.some(function(t){return"normalizeY"===t.type}),o=null==r?void 0:r.some(function(t){return"stackY"===t.type}),l=null==r?void 0:r.some(function(t){return"dodgeX"===t.type});return i?l?"grouped_bar_chart":a?"stacked_bar_chart":o?"percent_stacked_bar_chart":"bar_chart":l?"grouped_column_chart":a?"stacked_column_chart":o?"percent_stacked_column_chart":"column_chart"},rl=function(t){var e=t.transform,n=null==e?void 0:e.some(function(t){return"stackY"===t.type}),r=null==e?void 0:e.some(function(t){return"normalizeY"===t.type});return n?r?"percent_stacked_area_chart":"stacked_area_chart":"area_chart"},rs=function(t){var e=t.encode;return e.shape&&"hvh"===e.shape?"step_line_chart":"line_chart"},rc=function(t){var e;switch(t.type){case"area":e=rl(t);break;case"interval":e=ro(t);break;case"line":e=rs(t);break;case"point":e=t.encode.size?"bubble_chart":"scatter_plot";break;case"rect":e="histogram";break;case"cell":e="heatmap";break;default:e=""}return e};function ru(t,e,n,i,a,o,l){Object.values(t).filter(function(t){var i,a,l=t.option||{},s=l.weight,c=l.extra;return i=t.type,("DESIGN"===e?"DESIGN"===i:"DESIGN"!==i)&&!(null===(a=t.option)||void 0===a?void 0:a.off)&&t.trigger((0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},n),{weight:s}),c),{chartWIKI:o}))}).forEach(function(t){var s,c=t.type,u=t.id,f=t.docs;if("DESIGN"===e){var d=t.optimizer(n.dataProps,l);s=0===Object.keys(d).length?1:0,a.push({type:c,id:u,score:s,fix:d,docs:f})}else{var h=t.option||{},p=h.weight,g=h.extra;s=t.validator((0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},n),{weight:p}),g),{chartWIKI:o})),a.push({type:c,id:u,score:s,docs:f})}i.push({phase:"LINT",ruleId:u,score:s,base:s,weight:1,ruleType:c})})}function rf(t,e,n){var r=t.spec,i=t.options,a=t.dataProps,o=null==i?void 0:i.purpose,l=null==i?void 0:i.preferences,s=rc(r),c=[],u=[];if(!r||!s)return{lints:c,log:u};if(!a||!a.length)try{a=new rn.Z(r.data).info()}catch(t){return console.error("error: ",t),{lints:c,log:u}}var f={dataProps:a,chartType:s,purpose:o,preferences:l};return ru(e,"notDESIGN",f,u,c,n),ru(e,"DESIGN",f,u,c,n,r),{lints:c=c.filter(function(t){return t.score<1}),log:u}}var rd=n(99477),rh=function(){function t(t,e){var n,r,i,a=this;this.plugins=[],this.name=t,this.afterPluginsExecute=null!==(n=null==e?void 0:e.afterPluginsExecute)&&void 0!==n?n:this.defaultAfterPluginsExecute,this.pluginManager=new rd.AsyncParallelHook(["data","results"]),this.syncPluginManager=new rd.SyncHook(["data","results"]),this.context=null==e?void 0:e.context,this.hasAsyncPlugin=!!(null===(r=null==e?void 0:e.plugins)||void 0===r?void 0:r.find(function(t){return a.isPluginAsync(t)})),null===(i=null==e?void 0:e.plugins)||void 0===i||i.forEach(function(t){a.registerPlugin(t)})}return t.prototype.defaultAfterPluginsExecute=function(t){return(0,y.last)(Object.values(t))},t.prototype.isPluginAsync=function(t){return"AsyncFunction"===t.execute.constructor.name},t.prototype.registerPlugin=function(t){var e,n=this;null===(e=t.onLoad)||void 0===e||e.call(t,this.context),this.plugins.push(t),this.isPluginAsync(t)&&(this.hasAsyncPlugin=!0),this.hasAsyncPlugin?this.pluginManager.tapPromise(t.name,function(e,i){return void 0===i&&(i={}),(0,r.mG)(n,void 0,void 0,function(){var n,a,o;return(0,r.Jh)(this,function(r){switch(r.label){case 0:return null===(a=t.onBeforeExecute)||void 0===a||a.call(t,e,this.context),[4,t.execute(e,this.context)];case 1:return n=r.sent(),null===(o=t.onAfterExecute)||void 0===o||o.call(t,n,this.context),i[t.name]=n,[2]}})})}):this.syncPluginManager.tap(t.name,function(e,r){void 0===r&&(r={}),null===(i=t.onBeforeExecute)||void 0===i||i.call(t,e,n.context);var i,a,o=t.execute(e,n.context);return null===(a=t.onAfterExecute)||void 0===a||a.call(t,o,n.context),r[t.name]=o,o})},t.prototype.unloadPlugin=function(t){var e,n=this.plugins.find(function(e){return e.name===t});n&&(null===(e=n.onUnload)||void 0===e||e.call(n,this.context),this.plugins=this.plugins.filter(function(e){return e.name!==t}))},t.prototype.execute=function(t){var e,n=this;if(this.hasAsyncPlugin){var i={};return this.pluginManager.promise(t,i).then(function(){return(0,r.mG)(n,void 0,void 0,function(){var t;return(0,r.Jh)(this,function(e){return[2,null===(t=this.afterPluginsExecute)||void 0===t?void 0:t.call(this,i)]})})})}var a={};return this.syncPluginManager.call(t,a),null===(e=this.afterPluginsExecute)||void 0===e?void 0:e.call(this,a)},t}(),rp=function(){function t(t){var e=t.components,n=this;this.components=e,this.componentsManager=new rd.AsyncSeriesWaterfallHook(["initialParams"]),e.forEach(function(t){t&&n.componentsManager.tapPromise(t.name,function(e){return(0,r.mG)(n,void 0,void 0,function(){var n,i;return(0,r.Jh)(this,function(a){switch(a.label){case 0:return n=e,[4,t.execute(n||{})];case 1:return i=a.sent(),[2,(0,r.pi)((0,r.pi)({},n),i)]}})})})})}return t.prototype.execute=function(t){return(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:return[4,this.componentsManager.promise(t)];case 1:return[2,e.sent()]}})})},t}(),rg={name:"defaultDataProcessor",stage:["dataAnalyze"],execute:function(t,e){var n=t.data,r=t.customDataProps,i=((null==e?void 0:e.options)||{}).fields,a=(0,y.cloneDeep)(n),o=rr(a,i,r);return{data:ri({data:a,fields:i}),dataProps:o}}},rm={name:"defaultChartTypeRecommend",stage:["chartTypeRecommend"],execute:function(t,e){var n=t.dataProps,r=e||{},i=r.advisor,a=r.options;return{chartTypeRecommendations:X({dataProps:n,chartWIKI:i.ckb,ruleBase:i.ruleBase,options:a})}}},ry={name:"defaultSpecGenerator",stage:["specGenerate"],execute:function(t,e){var n=t.chartTypeRecommendations,r=t.dataProps,i=t.data,a=e||{},o=a.options,l=a.advisor,s=o||{},c=s.refine,u=void 0!==c&&c,f=s.theme,d=s.colorOptions,h=s.smartColor,p=d||{},g=p.themeColor,m=void 0===g?Y:g,y=p.colorSchemeType,v=p.simulationType;return{advices:null==n?void 0:n.map(function(t){var e=t.chartType,n=H({chartType:e,data:i,dataProps:r,chartKnowledge:l.ckb[e]});if(n&&u){var a=K(e,r,l.ruleBase,n);P(n,a)}if(n){if(f&&!h){var a=rt(r,n,f);P(n,a)}else if(h){var a=re(r,n,m,y,v);P(n,a)}}return{type:t.chartType,spec:n,score:t.score}}).filter(function(t){return t.spec})}}},rv=function(){function t(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this.ckb=(n=t.ckbCfg,a=JSON.parse(JSON.stringify(i)),n?(o=n.exclude,l=n.include,s=n.custom,o&&o.forEach(function(t){Object.keys(a).includes(t)&&delete a[t]}),l&&Object.keys(a).forEach(function(t){l.includes(t)||delete a[t]}),(0,r.pi)((0,r.pi)({},a),s)):a),this.ruleBase=C(t.ruleCfg),this.context={advisor:this},this.initDefaultComponents();var n,a,o,l,s,c=[this.dataAnalyzer,this.chartTypeRecommender,this.chartEncoder,this.specGenerator],u=e.plugins,f=e.components;this.plugins=u,this.pipeline=new rp({components:null!=f?f:c})}return t.prototype.initDefaultComponents=function(){this.dataAnalyzer=new rh("data",{plugins:[rg],context:this.context}),this.chartTypeRecommender=new rh("chartType",{plugins:[rm],context:this.context}),this.specGenerator=new rh("specGenerate",{plugins:[ry],context:this.context})},t.prototype.advise=function(t){return ra({adviseParams:t,ckb:this.ckb,ruleBase:this.ruleBase}).advices},t.prototype.adviseAsync=function(t){return(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:return this.context=(0,r.pi)((0,r.pi)({},this.context),{data:t.data,options:t.options}),[4,this.pipeline.execute(t)];case 1:return[2,e.sent().advices]}})})},t.prototype.adviseWithLog=function(t){return ra({adviseParams:t,ckb:this.ckb,ruleBase:this.ruleBase})},t.prototype.lint=function(t){return rf(t,this.ruleBase,this.ckb).lints},t.prototype.lintWithLog=function(t){return rf(t,this.ruleBase,this.ckb)},t.prototype.registerPlugins=function(t){var e={dataAnalyze:this.dataAnalyzer,chartTypeRecommend:this.chartTypeRecommender,encode:this.chartEncoder,specGenerate:this.specGenerator};t.forEach(function(t){"string"==typeof t.stage&&e[t.stage].registerPlugin(t)})},t}()},98922:function(t,e,n){"use strict";n.d(e,{Z:function(){return O}});var r=n(33587),i=n(84438),a=n(3847),o=n(7395),l=function(t){var e,n,i=(void 0===(e=t)&&(e=!0),["".concat(o.oP),"".concat(o.oP).concat(o.cF).concat(e?"":"?","W").concat(o.ps,"(").concat(o.cF).concat(e?"":"?").concat(o.NO,")?"),"".concat(o.vc).concat(o.cF).concat(e?"":"?").concat(o.x4).concat(o.cF).concat(e?"":"?").concat(o.oP),"".concat(o.oP).concat(o.cF).concat(e?"":"?").concat(o.vc).concat(o.cF).concat(e?"":"?").concat(o.x4),"".concat(o.oP).concat(o.cF).concat(e?"":"?").concat(o.vc),"".concat(o.oP).concat(o.cF).concat(e?"":"?").concat(o.IY)]),a=(void 0===(n=t)&&(n=!0),["".concat(o.kr,":").concat(n?"":"?").concat(o.EB,":").concat(n?"":"?").concat(o.sh,"([.,]").concat(o.KP,")?").concat(o.ew,"?"),"".concat(o.kr,":").concat(n?"":"?").concat(o.EB,"?").concat(o.ew)]),l=(0,r.ev)((0,r.ev)([],(0,r.CR)(i),!1),(0,r.CR)(a),!1);return i.forEach(function(t){a.forEach(function(e){l.push("".concat(t,"[T\\s]").concat(e))})}),l.map(function(t){return new RegExp("^".concat(t,"$"))})};function s(t,e){if((0,a.HD)(t)){for(var n=l(e),r=0;r0&&(m.generateColumns([0],null==n?void 0:n.columns),m.colData=[m.data],m.data=m.data.map(function(t){return[t]})),(0,a.kJ)(b)){var x=(0,c.w6)(b.length);m.generateDataAndColDataFromArray(!1,e,x,null==n?void 0:n.fillValue,null==n?void 0:n.columnTypes),m.generateColumns(x,null==n?void 0:n.columns)}if((0,a.Kn)(b)){for(var O=[],y=0;y=0&&b>=0||O.length>0,"The rowLoc is not found in the indexes."),v>=0&&b>=0&&(E=this.data.slice(v,b),P=this.indexes.slice(v,b)),O.length>0)for(var s=0;s=0&&_>=0){for(var s=0;s0){for(var R=[],T=E.slice(),s=0;s=0&&y>=0||v.length>0,"The colLoc is illegal"),(0,a.U)(n)&&(0,c.w6)(this.columns.length).includes(n)&&(b=n,O=n+1),(0,a.kJ)(n))for(var s=0;s=0&&y>=0||v.length>0,"The rowLoc is not found in the indexes.");var A=[],S=[];if(m>=0&&y>=0)A=this.data.slice(m,y),S=this.indexes.slice(m,y);else if(v.length>0)for(var s=0;s=0&&O>=0||w.length>0,"The colLoc is not found in the columns index."),b>=0&&O>=0){for(var s=0;s0){for(var E=[],P=A.slice(),s=0;s1){var _={},k=y;b.forEach(function(e){"date"===e?(_.date=t(k.filter(function(t){return s(t)}),n),k=k.filter(function(t){return!s(t)})):"integer"===e?(_.integer=t(k.filter(function(t){return(0,a.Cf)(t)&&!s(t)}),n),k=k.filter(function(t){return!(0,a.Cf)(t)})):"float"===e?(_.float=t(k.filter(function(t){return(0,a.vn)(t)&&!s(t)}),n),k=k.filter(function(t){return!(0,a.vn)(t)})):"string"===e&&(_.string=t(k.filter(function(t){return"string"===f(t,n)})),k=k.filter(function(t){return"string"!==f(t,n)}))}),w.meta=_}2===w.distinct&&"date"!==w.recommendation&&(g.length>=100?w.recommendation="boolean":(0,a.jn)(O,!0)&&(w.recommendation="boolean")),"string"===p&&Object.assign(w,(o=(r=y.map(function(t){return"".concat(t)})).map(function(t){return t.length}),{maxLength:(0,i.Fp)(o),minLength:(0,i.VV)(o),meanLength:(0,i.J6)(o),containsChar:r.some(function(t){return/[A-z]/.test(t)}),containsDigit:r.some(function(t){return/[0-9]/.test(t)}),containsSpace:r.some(function(t){return/\s/.test(t)})})),("integer"===p||"float"===p)&&Object.assign(w,(l=y.map(function(t){return 1*t}),{minimum:(0,i.VV)(l),maximum:(0,i.Fp)(l),mean:(0,i.J6)(l),percentile5:(0,i.VR)(l,5),percentile25:(0,i.VR)(l,25),percentile50:(0,i.VR)(l,50),percentile75:(0,i.VR)(l,75),percentile95:(0,i.VR)(l,95),sum:(0,i.Sm)(l),variance:(0,i.CA)(l),standardDeviation:(0,i.IN)(l),zeros:l.filter(function(t){return 0===t}).length})),"date"===p&&Object.assign(w,(d="integer"===w.type,h=y.map(function(t){if(d){var e="".concat(t);if(8===e.length)return new Date("".concat(e.substring(0,4),"/").concat(e.substring(4,2),"/").concat(e.substring(6,2))).getTime()}return new Date(t).getTime()}),{minimum:y[(0,i._D)(h)],maximum:y[(0,i.F_)(h)]}));var M=[];return"boolean"!==w.recommendation&&("string"!==w.recommendation||u(w))||M.push("Nominal"),u(w)&&M.push("Ordinal"),("integer"===w.recommendation||"float"===w.recommendation)&&M.push("Interval"),"integer"===w.recommendation&&M.push("Discrete"),"float"===w.recommendation&&M.push("Continuous"),"date"===w.recommendation&&M.push("Time"),w.levelOfMeasurements=M,w}(this.colData[n],this.extra.strictDatePattern)),{name:String(o)}))}return e},e.prototype.toString=function(){for(var t=this,e=Array(this.columns.length+1).fill(0),n=0;ne[0]&&(e[0]=r)}for(var n=0;ne[n+1]&&(e[n+1]=r)}for(var n=0;ne[n+1]&&(e[n+1]=r)}return"".concat(g(e[0])).concat(this.columns.map(function(n,r){return"".concat(n).concat(r!==t.columns.length?g(e[r+1]-y(n)+2):"")}).join(""),"\n").concat(this.indexes.map(function(n,r){var i;return"".concat(n).concat(g(e[0]-y(n))).concat(null===(i=t.data[r])||void 0===i?void 0:i.map(function(n,r){return"".concat(m(n)).concat(r!==t.columns.length?g(e[r+1]-y(n)):"")}).join("")).concat(r!==t.indexes.length?"\n":"")}).join(""))},e}(b)},84438:function(t,e,n){"use strict";n.d(e,{Fp:function(){return u},F_:function(){return f},J6:function(){return h},VV:function(){return s},_D:function(){return c},Vs:function(){return y},VR:function(){return p},IN:function(){return m},Sm:function(){return d},Gn:function(){return v},CA:function(){return g}});var r=n(33587),i=n(84514),a=new WeakMap;function o(t,e,n){return a.get(t)||a.set(t,new Map),a.get(t).set(e,n),n}function l(t,e){var n=a.get(t);if(n)return n.get(e)}function s(t){var e=l(t,"min");return void 0!==e?e:o(t,"min",Math.min.apply(Math,(0,r.ev)([],(0,r.CR)(t),!1)))}function c(t){var e=l(t,"minIndex");return void 0!==e?e:o(t,"minIndex",function(t){for(var e=t[0],n=0,r=0;re&&(n=r,e=t[r]);return n}(t))}function d(t){var e=l(t,"sum");return void 0!==e?e:o(t,"sum",t.reduce(function(t,e){return e+t},0))}function h(t){return d(t)/t.length}function p(t,e,n){return void 0===n&&(n=!1),(0,i.hu)(e>0&&e<100,"The percent cannot be between (0, 100)."),(n?t:t.sort(function(t,e){return t>e?1:-1}))[Math.ceil(t.length*e/100)-1]}function g(t){var e=h(t),n=l(t,"variance");return void 0!==n?n:o(t,"variance",t.reduce(function(t,n){return t+Math.pow(n-e,2)},0)/t.length)}function m(t){return Math.sqrt(g(t))}function y(t,e){return(0,i.hu)(t.length===e.length,"The x and y must has same length."),(h(t.map(function(t,n){return t*e[n]}))-h(t)*h(e))/(m(t)*m(e))}function v(t){var e={};return t.forEach(function(t){var n="".concat(t);e[n]?e[n]+=1:e[n]=1}),e}},84514:function(t,e,n){"use strict";n.d(e,{Js:function(){return s},Tw:function(){return a},hu:function(){return l},w6:function(){return o}});var r=n(33587),i=n(3847);function a(t){return Array.from(new Set(t))}function o(t){return(0,r.ev)([],(0,r.CR)(Array(t).keys()),!1)}function l(t,e){if(!t)throw Error(e)}function s(t,e){if(!(0,i.kJ)(t)||0===t.length||!(0,i.kJ)(e)||0===e.length||t.length!==e.length)return!1;for(var n={},r=0;r(18|19|20)\\d{2})",o="(?0?[1-9]|1[012])",l="(?0?[1-9]|[12]\\d|3[01])",s="(?[0-4]\\d|5[0-2])",c="(?[1-7])",u="(0?\\d|[012345]\\d)",f="(?".concat(u,")"),d="(?".concat(u,")"),h="(?".concat(u,")"),p="(?\\d{1,4})",g="(?(([0-2]\\d|3[0-5])\\d)|36[0-6])",m="(?Z|[+-]".concat("(0?\\d|1\\d|2[0-4])","(:").concat(u,")?)")},3847:function(t,e,n){"use strict";n.d(e,{Cf:function(){return c},HD:function(){return a},J_:function(){return f},Kn:function(){return h},M1:function(){return g},U:function(){return s},hj:function(){return o},i1:function(){return l},jn:function(){return d},kJ:function(){return p},kK:function(){return i},vn:function(){return u}});var r=n(7395);function i(t){return null==t||""===t||Number.isNaN(t)||"null"===t}function a(t){return"string"==typeof t}function o(t){return"number"==typeof t}function l(t){if(a(t)){var e=!1,n=t;/^[+-]/.test(n)&&(n=n.slice(1));for(var r=0;re?0:1;return"M".concat(m,",").concat(y,",A").concat(s,",").concat(c,",0,").concat(o>180?1:0,",").concat(_,",").concat(b,",").concat(x)}function B(t){var e=(0,r.CR)(t,2),n=(0,r.CR)(e[0],2),i=n[0],a=n[1],o=(0,r.CR)(e[1],2);return{x1:i,y1:a,x2:o[0],y2:o[1]}}function D(t){var e=t.type,n=t.gridCenter;return"linear"===e?n:n||t.center}function Z(t,e,n,r,i){return void 0===r&&(r=!0),void 0===i&&(i=!1),!!r&&t===e||!!i&&t===n||t>e&&t0,b=i-c,x=a-u,O=h*x-p*b;if(O<0===v)return!1;var w=g*x-m*b;return w<0!==v&&O>y!==v&&w>y!==v}(e,t)})}(l,f))return!0}}catch(t){i={error:t}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}return!1}(h.firstChild,p.firstChild,(0,Y.j)(n)):0)?(l.add(s),l.add(p)):s=p}}catch(t){i={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}return Array.from(l)}function J(t,e){return(void 0===e&&(e={}),(0,q.Z)(t))?0:"number"==typeof t?t:Math.floor((0,$.Ux)(t,e))}var tt=n(41883),te={parity:function(t,e){var n=e.seq,r=void 0===n?2:n;return t.filter(function(t,e){return!(e%r)||((0,z.Cp)(t),!1)})}},tn=new Map([["hide",function(t,e,n,i){var a,o,l=t.length,s=e.keepHeader,c=e.keepTail;if(!(l<=1)&&(2!==l||!s||!c)){var u=te.parity,f=function(t){return t.forEach(i.show),t},d=2,h=t.slice(),p=t.slice(),g=Math.min.apply(Math,(0,r.ev)([1],(0,r.CR)(t.map(function(t){return t.getBBox().width})),!1));if("linear"===n.type&&(L(n)||I(n))){var m=(0,tt._v)(t[0]).left,y=Math.abs((0,tt._v)(t[l-1]).right-m)||1;d=Math.max(Math.floor(l*g/y),d)}for(s&&(a=h.splice(0,1)[0]),c&&(o=h.splice(-1,1)[0],h.reverse()),f(h);dg+p;x-=p){var O=b(x);if("object"==typeof O)return O.value}}}],["wrap",function(t,e,n,i){var a,o,l=e.wordWrapWidth,s=void 0===l?50:l,c=e.maxLines,u=void 0===c?3:c,f=e.recoverWhenFailed,d=e.margin,h=void 0===d?[0,0,0,0]:d,p=t.map(function(t){return t.attr("maxLines")||1}),g=Math.min.apply(Math,(0,r.ev)([],(0,r.CR)(p),!1)),m=(a=n.type,o=n.labelDirection,"linear"===a&&L(n)?"negative"===o?"bottom":"top":"middle"),y=function(e){return t.forEach(function(t,n){var r=Array.isArray(e)?e[n]:e;i.wrap(t,s,r,m)})};if(!(g>u)){for(var v=g;v<=u;v++)if(y(v),K(t,n,h).length<1)return;(void 0===f||f)&&y(p)}}]]);function tr(t){for(var e=t;e<0;)e+=360;return Math.round(e%360)}function ti(t,e){var n=(0,r.CR)(t,2),i=n[0],a=n[1],o=(0,r.CR)(e,2),l=o[0],s=o[1],c=(0,r.CR)([i*l+a*s,i*s-a*l],2),u=c[0];return Math.atan2(c[1],u)}function ta(t,e,n){var r=n.type,i=n.labelAlign,a=R(t,n),o=tr(e),l=tr(d(ti([1,0],a))),s="center",c="middle";return"linear"===r?[90,270].includes(l)&&0===o?(s="center",c=1===a[1]?"top":"bottom"):!(l%180)&&[90,270].includes(o)?s="center":0===l?Z(o,0,90,!1,!0)?s="start":(Z(o,0,90)||Z(o,270,360))&&(s="start"):90===l?Z(o,0,90,!1,!0)?s="start":(Z(o,90,180)||Z(o,270,360))&&(s="end"):270===l?Z(o,0,90,!1,!0)?s="end":(Z(o,90,180)||Z(o,270,360))&&(s="start"):180===l&&(90===o?s="start":(Z(o,0,90)||Z(o,270,360))&&(s="end")):"parallel"===i?c=Z(l,0,180,!0)?"top":"bottom":"horizontal"===i?Z(l,90,270,!1)?s="end":(Z(l,270,360,!1)||Z(l,0,90))&&(s="start"):"perpendicular"===i&&(s=Z(l,90,270)?"end":"start"),{textAlign:s,textBaseline:c}}function to(t,e,n){var i=n.showTick,a=n.tickLength,o=n.tickDirection,l=n.labelDirection,s=n.labelSpacing,c=e.indexOf(t),f=(0,p.S)(s,[t,c,e]),d=(0,r.CR)([R(t.value,n),function(){for(var t=[],e=0;e1))||null==a||a(e,r,t,n)})}function tc(t,e,n,i,a){var o,u=n.indexOf(e),f=(0,l.Ys)(t).append((o=a.labelFormatter,(0,c.Z)(o)?function(){return(0,k.S)((0,p.S)(o,[e,u,n,R(e.value,a)]))}:function(){return(0,k.S)(e.label||"")})).attr("className",s.Ec.labelItem.name).node(),g=(0,r.CR)((0,h.Hm)(j(i,[e,u,n])),2),m=g[0],y=g[1],v=y.transform,b=(0,r._T)(y,["transform"]);W(f,v);var x=function(t,e,n){var r,i,a=n.labelAlign;if(null===(i=e.style.transform)||void 0===i?void 0:i.includes("rotate"))return e.getLocalEulerAngles();var o=0,l=R(t.value,n),s=E(t.value,n);return"horizontal"===a?0:(Z(r=(d(o="perpendicular"===a?ti([1,0],l):ti([s[0]<0?-1:1,0],s))+360)%180,-90,90)||(r+=180),r)}(e,f,a);return f.getLocalEulerAngles()||f.setLocalEulerAngles(x),tl(f,(0,r.pi)((0,r.pi)({},ta(e.value,x,a)),m)),t.attr(b),f}function tu(t,e){return P(t,e.tickDirection,e)}function tf(t,e,n,a,o,u){var f,d,g,m,y,v,b,x,O,w,_,k,M,C,A,S,E,P,R,L,I,N=(f=(0,l.Ys)(this),d=a.tickFormatter,g=tu(t.value,a),m="line",(0,c.Z)(d)&&(m=function(){return(0,p.S)(d,[t,e,n,g])}),f.append(m).attr("className",s.Ec.tickItem.name));y=tu(t.value,a),v=a.tickLength,O=(0,r.CR)((b=(0,p.S)(v,[t,e,n]),[[0,0],[(x=(0,r.CR)(y,2))[0]*b,x[1]*b]]),2),_=(w=(0,r.CR)(O[0],2))[0],k=w[1],A=(C={x1:_,x2:(M=(0,r.CR)(O[1],2))[0],y1:k,y2:M[1]}).x1,S=C.x2,E=C.y1,P=C.y2,L=(R=(0,r.CR)((0,h.Hm)(j(o,[t,e,n,y])),2))[0],I=R[1],"line"===N.node().nodeName&&N.styles((0,r.pi)({x1:A,x2:S,y1:E,y2:P},L)),this.attr(I),N.styles(L);var B=(0,r.CR)(T(t.value,a),2),D=B[0],Z=B[1];return(0,i.eR)(this,{transform:"translate(".concat(D,", ").concat(Z,")")},u)}var td=n(44209);function th(t,e,n,a,o){var c=(0,h.zs)(a,"title"),f=(0,r.CR)((0,h.Hm)(c),2),d=f[0],p=f[1],g=p.transform,m=p.transformOrigin,y=(0,r._T)(p,["transform","transformOrigin"]);e.styles(y);var v=g||function(t,e,n){var r=2*t.getGeometryBounds().halfExtents[1];if("vertical"===e){if("left"===n)return"rotate(-90) translate(0, ".concat(r/2,")");if("right"===n)return"rotate(-90) translate(0, -".concat(r/2,")")}return""}(t.node(),d.direction,d.position);t.styles((0,r.pi)((0,r.pi)({},d),{transformOrigin:m})),W(t.node(),v);var b=function(t,e,n){var i=n.titlePosition,a=void 0===i?"lb":i,o=n.titleSpacing,l=(0,td.li)(a),s=t.node().getLocalBounds(),c=(0,r.CR)(s.min,2),f=c[0],d=c[1],h=(0,r.CR)(s.halfExtents,2),p=h[0],g=h[1],m=(0,r.CR)(e.node().getLocalBounds().halfExtents,2),y=m[0],v=m[1],b=(0,r.CR)([f+p,d+g],2),x=b[0],O=b[1],w=(0,r.CR)((0,Y.j)(o),4),_=w[0],k=w[1],M=w[2],C=w[3];if(["start","end"].includes(a)&&"linear"===n.type){var j=n.startPos,A=n.endPos,S=(0,r.CR)("start"===a?[j,A]:[A,j],2),E=S[0],P=S[1],R=(0,u.Fv)([-P[0]+E[0],-P[1]+E[1]]),T=(0,r.CR)((0,u.bA)(R,_),2),L=T[0],I=T[1];return{x:E[0]+L,y:E[1]+I}}return l.includes("t")&&(O-=g+v+_),l.includes("r")&&(x+=p+y+k),l.includes("l")&&(x-=p+y+C),l.includes("b")&&(O+=g+v+M),{x:x,y:O}}((0,l.Ys)(n._offscreen||n.querySelector(s.Ec.mainGroup.class)),e,a),x=b.x,O=b.y;return(0,i.eR)(e.node(),{transform:"translate(".concat(x,", ").concat(O,")")},o)}function tp(t,e,n,a){var c=t.showLine,u=t.showTick,f=t.showLabel,d=e.maybeAppendByClassName(s.Ec.lineGroup,"g"),p=(0,o.z)(c,d,function(e){var n,o,l,c,u,f,d,p,g,m,y;return n=e,o=t,l=a,m=o.type,y=(0,h.zs)(o,"line"),"linear"===m?g=function(t,e,n,a){var o,l,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,k,M=e.showTrunc,C=e.startPos,j=e.endPos,A=e.truncRange,S=e.lineExtension,E=(0,r.CR)([C,j],2),P=(0,r.CR)(E[0],2),R=P[0],T=P[1],L=(0,r.CR)(E[1],2),I=L[0],N=L[1],D=(0,r.CR)(S?(void 0===(o=S)&&(o=[0,0]),l=(0,r.CR)([C,j,o],3),u=(c=(0,r.CR)(l[0],2))[0],f=c[1],h=(d=(0,r.CR)(l[1],2))[0],p=d[1],m=(g=(0,r.CR)(l[2],2))[0],y=g[1],O=Math.sqrt(Math.pow(b=(v=(0,r.CR)([h-u,p-f],2))[0],2)+Math.pow(x=v[1],2)),[(_=(w=(0,r.CR)([-m/O,y/O],2))[0])*b,_*x,(k=w[1])*b,k*x]):[,,,,].fill(0),4),Z=D[0],z=D[1],F=D[2],$=D[3],W=function(e){return t.selectAll(s.Ec.line.class).data(e,function(t,e){return e}).join(function(t){return t.append("line").attr("className",function(t){return"".concat(s.Ec.line.name," ").concat(t.className)}).styles(n).transition(function(t){return(0,i.eR)(this,B(t.line),!1)})},function(t){return t.styles(n).transition(function(t){var e=t.line;return(0,i.eR)(this,B(e),a.update)})},function(t){return t.remove()}).transitions()};if(!M||!A)return W([{line:[[R+Z,T+z],[I+F,N+$]],className:s.Ec.line.name}]);var H=(0,r.CR)(A,2),G=H[0],q=H[1],Y=I-R,V=N-T,U=(0,r.CR)([R+Y*G,T+V*G],2),Q=U[0],X=U[1],K=(0,r.CR)([R+Y*q,T+V*q],2),J=K[0],tt=K[1],te=W([{line:[[R+Z,T+z],[Q,X]],className:s.Ec.lineFirst.name},{line:[[J,tt],[I+F,N+$]],className:s.Ec.lineSecond.name}]);return e.truncRange,e.truncShape,e.lineExtension,te}(n,o,C(y,"arrow"),l):(c=C(y,"arrow"),u=o.startAngle,f=o.endAngle,d=o.center,p=o.radius,g=n.selectAll(s.Ec.line.class).data([{d:N.apply(void 0,(0,r.ev)((0,r.ev)([u,f],(0,r.CR)(d),!1),[p],!1))}],function(t,e){return e}).join(function(t){return t.append("path").attr("className",s.Ec.line.name).styles(o).styles({d:function(t){return t.d}})},function(t){return t.transition(function(){var t,e,n,i,a,o=this,s=function(t,e,n,i){if(!i)return t.attr("__keyframe_data__",n),null;var a=i.duration,o=function t(e,n){var i,a,o,l,s,c;return"number"==typeof e&&"number"==typeof n?function(t){return e*(1-t)+n*t}:Array.isArray(e)&&Array.isArray(n)?(i=n?n.length:0,a=e?Math.min(i,e.length):0,function(r){var o=Array(a),l=Array(i),s=0;for(s=0;sx[0])||!(ei&&(i=p),g>o&&(o=g)}return new a.b(e,n,i-e,o-n)}var l=function(t,e,n){var i=t.width,l=t.height,s=n.flexDirection,c=void 0===s?"row":s,u=(n.flexWrap,n.justifyContent),f=void 0===u?"flex-start":u,d=(n.alignContent,n.alignItems),h=void 0===d?"flex-start":d,p="row"===c,g="row"===c||"column"===c,m=p?g?[1,0]:[-1,0]:g?[0,1]:[0,-1],y=(0,r.CR)([0,0],2),v=y[0],b=y[1],x=e.map(function(t){var e,n=t.width,i=t.height,o=(0,r.CR)([v,b],2),l=o[0],s=o[1];return v=(e=(0,r.CR)([v+n*m[0],b+i*m[1]],2))[0],b=e[1],new a.b(l,s,n,i)}),O=o(x),w={"flex-start":0,"flex-end":p?i-O.width:l-O.height,center:p?(i-O.width)/2:(l-O.height)/2},_=x.map(function(t){var e=t.x,n=t.y,r=a.b.fromRect(t);return r.x=p?e+w[f]:e,r.y=p?n:n+w[f],r});o(_);var k=function(t){var e=(0,r.CR)(p?["height",l]:["width",i],2),n=e[0],a=e[1];switch(h){case"flex-start":default:return 0;case"flex-end":return a-t[n];case"center":return a/2-t[n]/2}};return _.map(function(t){var e=t.x,n=t.y,r=a.b.fromRect(t);return r.x=p?e:e+k(r),r.y=p?n+k(r):n,r}).map(function(e){var n,r,i=a.b.fromRect(e);return i.x+=null!==(n=t.x)&&void 0!==n?n:0,i.y+=null!==(r=t.y)&&void 0!==r?r:0,i})},s=function(t,e,n){return[]},c=function(t,e,n){if(0===e.length)return[];var r={flex:l,grid:s},i=n.display in r?r[n.display]:null;return(null==i?void 0:i.call(null,t,e,n))||[]},u=n(57345),f=function(t){function e(e){var n=t.call(this,e)||this;n.layoutEvents=[i.Dk.BOUNDS_CHANGED,i.Dk.INSERTED,i.Dk.REMOVED],n.$margin=(0,u.j)(0),n.$padding=(0,u.j)(0);var r=e.style||{},a=r.margin,o=r.padding;return n.margin=void 0===a?0:a,n.padding=void 0===o?0:o,n.isMutationObserved=!0,n.bindEvents(),n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"margin",{get:function(){return this.$margin},set:function(t){this.$margin=(0,u.j)(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"padding",{get:function(){return this.$padding},set:function(t){this.$padding=(0,u.j)(t)},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var t=this.attributes,e=t.x,n=void 0===e?0:e,i=t.y,o=void 0===i?0:i,l=t.width,s=t.height,c=(0,r.CR)(this.$margin,4),u=c[0],f=c[1],d=c[2],h=c[3];return new a.b(n-h,o-u,l+h+f,s+u+d)},e.prototype.appendChild=function(e,n){return e.isMutationObserved=!0,t.prototype.appendChild.call(this,e,n),e},e.prototype.getAvailableSpace=function(){var t=this.attributes,e=t.width,n=t.height,i=(0,r.CR)(this.$padding,4),o=i[0],l=i[1],s=i[2],c=i[3],u=(0,r.CR)(this.$margin,4),f=u[0],d=u[3];return new a.b(c+d,o+f,e-c-l,n-o-s)},e.prototype.layout=function(){if(this.attributes.display&&this.isConnected&&!this.children.some(function(t){return!t.isConnected}))try{var t=this.attributes,e=t.x,n=t.y;this.style.transform="translate(".concat(e,", ").concat(n,")");var r=c(this.getAvailableSpace(),this.children.map(function(t){return t.getBBox()}),this.attributes);this.children.forEach(function(t,e){var n=r[e],i=n.x,a=n.y;t.style.transform="translate(".concat(i,", ").concat(a,")")})}catch(t){}},e.prototype.bindEvents=function(){var t=this;this.layoutEvents.forEach(function(e){t.addEventListener(e,function(e){e.target.isMutationObserved=!0,t.layout()})})},e.prototype.attributeChangedCallback=function(t,e,n){"margin"===t?this.margin=n:"padding"===t&&(this.padding=n),this.layout()},e}(i.ZA)},15103:function(t,e,n){"use strict";n.d(e,{W:function(){return Z}});var r=n(33587),i=n(37776),a=n(63502),o=n(35328),l=n(70621),s=n(44209),c=n(74747),u=function(){},f=n(29729),d=n(84531),h=n(23890),p=function(t,e,n){var r=t,i=(0,d.Z)(e)?e.split("."):e;return i.forEach(function(t,e){e1?{width:55,height:0}:{width:0,height:0}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageShape",{get:function(){var t,e,n=this.pageViews,i=(0,r.CR)(((null===(e=(t=n.map(function(t){var e=t.getBBox();return[e.width,e.height]}))[0])||void 0===e?void 0:e.map(function(e,n){return t.map(function(t){return t[n]})}))||[]).map(function(t){return Math.max.apply(Math,(0,r.ev)([],(0,r.CR)(t),!1))}),2),a=i[0],o=i[1],l=this.attributes,s=l.pageWidth,c=l.pageHeight;return{pageWidth:void 0===s?a:s,pageHeight:void 0===c?o:c}},enumerable:!1,configurable:!0}),e.prototype.getContainer=function(){return this.playWindow},Object.defineProperty(e.prototype,"totalPages",{get:function(){return this.pageViews.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currPage",{get:function(){return this.innerCurrPage},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var e=t.prototype.getBBox.call(this),n=e.x,r=e.y,i=this.controllerShape,a=this.pageShape,o=a.pageWidth,s=a.pageHeight;return new l.b(n,r,o+i.width,s)},e.prototype.goTo=function(t){var e=this,n=this.attributes.animate,i=this.currPage,a=this.playState,o=this.playWindow,l=this.pageViews;if("idle"!==a||t<0||l.length<=0||t>=l.length)return null;l[i].setLocalPosition(0,0),this.prepareFollowingPage(t);var s=(0,r.CR)(this.getFollowingPageDiff(t),2),c=s[0],u=s[1];this.playState="running";var f=(0,x.jt)(o,[{transform:"translate(0, 0)"},{transform:"translate(".concat(-c,", ").concat(-u,")")}],n);return(0,x.Yq)(f,function(){e.innerCurrPage=t,e.playState="idle",e.setVisiblePages([t]),e.updatePageInfo()}),f},e.prototype.prev=function(){var t=this.attributes.loop,e=this.pageViews.length,n=this.currPage;if(!t&&n<=0)return null;var r=t?(n-1+e)%e:(0,v.Z)(n-1,0,e);return this.goTo(r)},e.prototype.next=function(){var t=this.attributes.loop,e=this.pageViews.length,n=this.currPage;if(!t&&n>=e-1)return null;var r=t?(n+1)%e:(0,v.Z)(n+1,0,e);return this.goTo(r)},e.prototype.renderClipPath=function(t){var e=this.pageShape,n=e.pageWidth,r=e.pageHeight;if(!n||!r){this.contentGroup.style.clipPath=void 0;return}this.clipPath=t.maybeAppendByClassName(k.clipPath,"rect").styles({width:n,height:r}),this.contentGroup.attr("clipPath",this.clipPath.node())},e.prototype.setVisiblePages=function(t){this.playWindow.children.forEach(function(e,n){t.includes(n)?(0,O.$Z)(e):(0,O.Cp)(e)})},e.prototype.adjustControllerLayout=function(){var t=this.prevBtnGroup,e=this.nextBtnGroup,n=this.pageInfoGroup,i=this.attributes,a=i.orientation,o=i.controllerPadding,l=n.getBBox(),s=l.width;l.height;var c=(0,r.CR)("horizontal"===a?[-180,0]:[-90,90],2),u=c[0],f=c[1];t.setLocalEulerAngles(u),e.setLocalEulerAngles(f);var d=t.getBBox(),h=d.width,p=d.height,g=e.getBBox(),m=g.width,y=g.height,v=Math.max(h,s,m),b="horizontal"===a?{offset:[[0,0],[h/2+o,0],[h+s+2*o,0]],textAlign:"start"}:{offset:[[v/2,-p-o],[v/2,0],[v/2,y+o]],textAlign:"center"},x=(0,r.CR)(b.offset,3),O=(0,r.CR)(x[0],2),w=O[0],_=O[1],k=(0,r.CR)(x[1],2),M=k[0],C=k[1],j=(0,r.CR)(x[2],2),A=j[0],S=j[1],E=b.textAlign,P=n.querySelector("text");P&&(P.style.textAlign=E),t.setLocalPosition(w,_),n.setLocalPosition(M,C),e.setLocalPosition(A,S)},e.prototype.updatePageInfo=function(){var t,e=this.currPage,n=this.pageViews,r=this.attributes.formatter;n.length<2||(null===(t=this.pageInfoGroup.querySelector(k.pageInfo.class))||void 0===t||t.attr("text",r(e+1,n.length)),this.adjustControllerLayout())},e.prototype.getFollowingPageDiff=function(t){var e=this.currPage;if(e===t)return[0,0];var n=this.attributes.orientation,r=this.pageShape,i=r.pageWidth,a=r.pageHeight,o=t=2,c=t.maybeAppendByClassName(k.controller,"g");if((0,O.WD)(c.node(),s),s){var u=(0,a.zs)(this.attributes,"button"),f=(0,a.zs)(this.attributes,"pageNum"),d=(0,r.CR)((0,a.Hm)(u),2),h=d[0],p=d[1],g=h.size,m=(0,r._T)(h,["size"]),y=!c.select(k.prevBtnGroup.class).node(),v=c.maybeAppendByClassName(k.prevBtnGroup,"g").styles(p);this.prevBtnGroup=v.node();var b=v.maybeAppendByClassName(k.prevBtn,"path"),x=c.maybeAppendByClassName(k.nextBtnGroup,"g").styles(p);this.nextBtnGroup=x.node(),[b,x.maybeAppendByClassName(k.nextBtn,"path")].forEach(function(t){t.styles((0,r.pi)((0,r.pi)({},m),{transformOrigin:"center"})),(0,w.b)(t.node(),g,!0)});var _=c.maybeAppendByClassName(k.pageInfoGroup,"g");this.pageInfoGroup=_.node(),_.maybeAppendByClassName(k.pageInfo,"text").styles(f),this.updatePageInfo(),c.node().setLocalPosition(o+n,l/2),y&&(this.prevBtnGroup.addEventListener("click",function(){e.prev()}),this.nextBtnGroup.addEventListener("click",function(){e.next()}))}},e.prototype.render=function(t,e){var n=t.x,r=t.y,i=void 0===r?0:r;this.attr("transform","translate(".concat(void 0===n?0:n,", ").concat(i,")"));var a=(0,o.Ys)(e);this.renderClipPath(a),this.renderController(a),this.setVisiblePages([this.defaultPage]),this.goTo(this.defaultPage)},e.prototype.bindEvents=function(){var t=this,e=(0,b.Z)(function(){return t.render(t.attributes,t)},50);this.playWindow.addEventListener(c.Dk.INSERTED,e),this.playWindow.addEventListener(c.Dk.REMOVED,e)},e}(i.w),C=n(94022),j=n(76168),A=n(57345),S=n(44809),E=n(41883),P=n(85952),R=n(78769),T=(0,g.A)({layout:"flex",markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label",valueGroup:"value-group",value:"value",backgroundGroup:"background-group",background:"background"},"legend-category-item"),L=function(t){function e(e){return t.call(this,e,{span:[1,1],marker:function(){return new c.Cd({style:{r:6}})},markerSize:10,labelFill:"#646464",valueFill:"#646464",labelFontSize:12,valueFontSize:12,labelTextBaseline:"middle",valueTextBaseline:"middle"})||this}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"showValue",{get:function(){var t=this.attributes.valueText;return!!t&&("string"==typeof t||"number"==typeof t?""!==t:"function"==typeof t||""!==t.attr("text"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"actualSpace",{get:function(){var t=this.labelGroup,e=this.valueGroup,n=this.attributes.markerSize,r=t.node().getBBox(),i=r.width,a=r.height,o=e.node().getBBox();return{markerWidth:n,labelWidth:i,valueWidth:o.width,height:Math.max(n,a,o.height)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"span",{get:function(){var t=this.attributes.span;if(!t)return[1,1];var e=(0,r.CR)((0,A.j)(t),2),n=e[0],i=e[1],a=this.showValue?i:0,o=n+a;return[n/o,a/o]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){var t,e=this.attributes,n=e.markerSize,i=e.width,a=this.actualSpace,o=a.markerWidth,l=a.height,s=this.actualSpace,c=s.labelWidth,u=s.valueWidth,f=(0,r.CR)(this.spacing,2),d=f[0],h=f[1];if(i){var p=i-n-d-h,g=(0,r.CR)(this.span,2),m=g[0],y=g[1];c=(t=(0,r.CR)([m*p,y*p],2))[0],u=t[1]}return{width:o+c+u+d+h,height:l,markerWidth:o,labelWidth:c,valueWidth:u}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"spacing",{get:function(){var t=this.attributes.spacing;if(!t)return[0,0];var e=(0,r.CR)((0,A.j)(t),2),n=e[0],i=e[1];return this.showValue?[n,i]:[n,0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layout",{get:function(){var t=this.shape,e=t.markerWidth,n=t.labelWidth,i=t.valueWidth,a=t.width,o=t.height,l=(0,r.CR)(this.spacing,2),s=l[0];return{height:o,width:a,markerWidth:e,labelWidth:n,valueWidth:i,position:[e/2,e+s,e+n+s+l[1]]}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scaleSize",{get:function(){var t,e=(t=this.markerGroup.node().querySelector(T.marker.class))?t.style:{},n=this.attributes,r=n.markerSize,i=n.markerStrokeWidth,a=void 0===i?e.strokeWidth:i,o=n.markerLineWidth,l=void 0===o?e.lineWidth:o,s=n.markerStroke,c=void 0===s?e.stroke:s,u=+(a||l||(c?1:0))*Math.sqrt(2),f=this.markerGroup.node().getBBox();return(1-u/Math.max(f.width,f.height))*r},enumerable:!1,configurable:!0}),e.prototype.renderMarker=function(t){var e=this,n=this.attributes.marker,i=(0,a.zs)(this.attributes,"marker");this.markerGroup=t.maybeAppendByClassName(T.markerGroup,"g").style("zIndex",0),(0,S.z)(!!n,this.markerGroup,function(){var t,a=e.markerGroup.node(),l=null===(t=a.childNodes)||void 0===t?void 0:t[0],s="string"==typeof n?new j.J({style:{symbol:n},className:T.marker.name}):n();l?s.nodeName===l.nodeName?l instanceof j.J?l.update((0,r.pi)((0,r.pi)({},i),{symbol:n})):((0,E.DM)(l,s),(0,o.Ys)(l).styles(i)):(l.remove(),(0,o.Ys)(s).attr("className",T.marker.name).styles(i),a.appendChild(s)):(s instanceof j.J||(0,o.Ys)(s).attr("className",T.marker.name).styles(i),a.appendChild(s)),e.markerGroup.node().scale(1/e.markerGroup.node().getScale()[0]);var c=(0,w.b)(e.markerGroup.node(),e.scaleSize,!0);e.markerGroup.node().style._transform="scale(".concat(c,")")})},e.prototype.renderLabel=function(t){var e=(0,a.zs)(this.attributes,"label"),n=e.text,i=(0,r._T)(e,["text"]);this.labelGroup=t.maybeAppendByClassName(T.labelGroup,"g").style("zIndex",0),this.labelGroup.maybeAppendByClassName(T.label,function(){return(0,P.S)(n)}).styles(i)},e.prototype.renderValue=function(t){var e=this,n=(0,a.zs)(this.attributes,"value"),i=n.text,o=(0,r._T)(n,["text"]);this.valueGroup=t.maybeAppendByClassName(T.valueGroup,"g").style("zIndex",0),(0,S.z)(this.showValue,this.valueGroup,function(){e.valueGroup.maybeAppendByClassName(T.value,function(){return(0,P.S)(i)}).styles(o)})},e.prototype.renderBackground=function(t){var e=this.shape,n=e.width,i=e.height,o=(0,a.zs)(this.attributes,"background");this.background=t.maybeAppendByClassName(T.backgroundGroup,"g").style("zIndex",-1),this.background.maybeAppendByClassName(T.background,"rect").styles((0,r.pi)({width:n,height:i},o))},e.prototype.adjustLayout=function(){var t=this.layout,e=t.labelWidth,n=t.valueWidth,i=t.height,a=(0,r.CR)(t.position,3),o=a[0],l=a[1],s=a[2],c=i/2;this.markerGroup.styles({transform:"translate(".concat(o,", ").concat(c,")").concat(this.markerGroup.node().style._transform)}),this.labelGroup.styles({transform:"translate(".concat(l,", ").concat(c,")")}),(0,R.O)(this.labelGroup.select(T.label.class).node(),Math.ceil(e)),this.showValue&&(this.valueGroup.styles({transform:"translate(".concat(s,", ").concat(c,")")}),(0,R.O)(this.valueGroup.select(T.value.class).node(),Math.ceil(n)))},e.prototype.render=function(t,e){var n=(0,o.Ys)(e),r=t.x,i=t.y,a=void 0===i?0:i;n.styles({transform:"translate(".concat(void 0===r?0:r,", ").concat(a,")")}),this.renderMarker(n),this.renderLabel(n),this.renderValue(n),this.renderBackground(n),this.adjustLayout()},e}(i.w),I=(0,g.A)({page:"item-page",navigator:"navigator",item:"item"},"items"),N=function(t,e,n){return(void 0===n&&(n=!0),t)?e(t):n},B=function(t){function e(e){var n=t.call(this,e,{data:[],gridRow:1/0,gridCol:void 0,padding:0,width:1e3,height:100,rowPadding:0,colPadding:0,layout:"flex",orientation:"horizontal",click:u,mouseenter:u,mouseleave:u})||this;return n.navigatorShape=[0,0],n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"pageViews",{get:function(){return this.navigator.getContainer()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"grid",{get:function(){var t=this.attributes,e=t.gridRow,n=t.gridCol,r=t.data;if(!e&&!n)throw Error("gridRow and gridCol can not be set null at the same time");return e&&n?[e,n]:e?[e,r.length]:[r.length,n]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"renderData",{get:function(){var t=this.attributes,e=t.data,n=t.layout,i=(0,a.zs)(this.attributes,"item");return e.map(function(t,a){var o=t.id,l=void 0===o?a:o,s=t.label,c=t.value;return{id:"".concat(l),index:a,style:(0,r.pi)({layout:n,labelText:s,valueText:c},Object.fromEntries(Object.entries(i).map(function(n){var i=(0,r.CR)(n,2),o=i[0],l=i[1];return[o,(0,m.S)(l,[t,a,e])]})))}})},enumerable:!1,configurable:!0}),e.prototype.getGridLayout=function(){var t=this,e=this.attributes,n=e.orientation,i=e.width,a=e.rowPadding,o=e.colPadding,l=(0,r.CR)(this.navigatorShape,1)[0],s=(0,r.CR)(this.grid,2),c=s[0],u=s[1],f=u*c,d=0;return this.pageViews.children.map(function(e,s){var h,p,g=Math.floor(s/f),m=s%f,y=t.ifHorizontal(u,c),v=[Math.floor(m/y),m%y];"vertical"===n&&v.reverse();var b=(0,r.CR)(v,2),x=b[0],O=b[1],w=(i-l-(u-1)*o)/u,_=e.getBBox().height,k=(0,r.CR)([0,0],2),M=k[0],C=k[1];return"horizontal"===n?(M=(h=(0,r.CR)([d,x*(_+a)],2))[0],C=h[1],d=O===u-1?0:d+w+o):(M=(p=(0,r.CR)([O*(w+o),d],2))[0],C=p[1],d=x===c-1?0:d+_+a),{page:g,index:s,row:x,col:O,pageIndex:m,width:w,height:_,x:M,y:C}})},e.prototype.getFlexLayout=function(){var t=this.attributes,e=t.width,n=t.height,i=t.rowPadding,a=t.colPadding,o=(0,r.CR)(this.navigatorShape,1)[0],l=(0,r.CR)(this.grid,2),s=l[0],c=l[1],u=(0,r.CR)([e-o,n],2),f=u[0],d=u[1],h=(0,r.CR)([0,0,0,0,0,0,0,0],8),p=h[0],g=h[1],m=h[2],y=h[3],v=h[4],b=h[5],x=h[6],O=h[7];return this.pageViews.children.map(function(t,e){var n,o,l,u,h=t.getBBox(),w=h.width,_=h.height,k=0===x?0:a,M=x+k+w;return M<=f&&N(v,function(t){return t0?(this.navigatorShape=[55,0],t.call(this)):e},enumerable:!1,configurable:!0}),e.prototype.ifHorizontal=function(t,e){var n=this.attributes.orientation;return(0,C._h)(n,t,e)},e.prototype.flattenPage=function(t){t.querySelectorAll(I.item.class).forEach(function(e){t.appendChild(e)}),t.querySelectorAll(I.page.class).forEach(function(e){t.removeChild(e).destroy()})},e.prototype.renderItems=function(t){var e=this.attributes,n=e.click,r=e.mouseenter,i=e.mouseleave;this.flattenPage(t);var a=this.dispatchCustomEvent.bind(this);(0,o.Ys)(t).selectAll(I.item.class).data(this.renderData,function(t){return t.id}).join(function(t){return t.append(function(t){var e=t.style;return new L({style:e})}).attr("className",I.item.name).on("click",function(){null==n||n(this),a("itemClick",{item:this})}).on("pointerenter",function(){null==r||r(this),a("itemMouseenter",{item:this})}).on("pointerleave",function(){null==i||i(this),a("itemMouseleave",{item:this})})},function(t){return t.each(function(t){var e=t.style;this.update(e)})},function(t){return t.remove()})},e.prototype.relayoutNavigator=function(){var t,e=this.attributes,n=e.layout,i=e.width,a=(null===(t=this.pageViews.children[0])||void 0===t?void 0:t.getBBox().height)||0,o=(0,r.CR)(this.navigatorShape,2),l=o[0],s=o[1];this.navigator.update("grid"===n?{pageWidth:i-l,pageHeight:a-s}:{})},e.prototype.adjustLayout=function(){var t,e,n=this,i=Object.entries((t=this.itemsLayout,e="page",t.reduce(function(t,n){return(t[n[e]]=t[n[e]]||[]).push(n),t},{}))).map(function(t){var e=(0,r.CR)(t,2);return{page:e[0],layouts:e[1]}}),a=(0,r.ev)([],(0,r.CR)(this.navigator.getContainer().children),!1);i.forEach(function(t){var e=t.layouts,r=n.pageViews.appendChild(new c.ZA({className:I.page.name}));e.forEach(function(t){var e=t.x,n=t.y,i=t.index,o=t.width,l=t.height,s=a[i];r.appendChild(s),p(s,"__layout__",t),s.update({x:e,y:n,width:o,height:l})})}),this.relayoutNavigator()},e.prototype.renderNavigator=function(t){var e=this.attributes.orientation,n=(0,a.zs)(this.attributes,"nav"),r=(0,y.n)({orientation:e},n),i=this;return t.selectAll(I.navigator.class).data(["nav"]).join(function(t){return t.append(function(){return new M({style:r})}).attr("className",I.navigator.name).each(function(){i.navigator=this})},function(t){return t.each(function(){this.update(r)})},function(t){return t.remove()}),this.navigator},e.prototype.getBBox=function(){return this.navigator.getBBox()},e.prototype.render=function(t,e){var n=this.attributes.data;if(n&&0!==n.length){var r=this.renderNavigator((0,o.Ys)(e));this.renderItems(r.getContainer()),this.adjustLayout()}},e.prototype.dispatchCustomEvent=function(t,e){var n=new c.Aw(t,{detail:e});this.dispatchEvent(n)},e}(i.w),D=n(43611),Z=function(t){function e(e){return t.call(this,e,D.bD)||this}return(0,r.ZT)(e,t),e.prototype.renderTitle=function(t,e,n){var i=this.attributes,o=i.showTitle,l=i.titleText,c=(0,a.zs)(this.attributes,"title"),u=(0,r.CR)((0,a.Hm)(c),2),f=u[0],d=u[1];this.titleGroup=t.maybeAppendByClassName(D.Ec.titleGroup,"g").styles(d);var h=(0,r.pi)((0,r.pi)({width:e,height:n},f),{text:o?l:""});this.title=this.titleGroup.maybeAppendByClassName(D.Ec.title,function(){return new s.Dx({style:h})}).update(h)},e.prototype.renderItems=function(t,e){var n=e.x,i=e.y,l=e.width,s=e.height,c=(0,a.zs)(this.attributes,"title",!0),u=(0,r.CR)((0,a.Hm)(c),2),f=u[0],d=u[1],h=(0,r.pi)((0,r.pi)({},f),{width:l,height:s,x:0,y:0});this.itemsGroup=t.maybeAppendByClassName(D.Ec.itemsGroup,"g").styles((0,r.pi)((0,r.pi)({},d),{transform:"translate(".concat(n,", ").concat(i,")")}));var p=this;this.itemsGroup.selectAll(D.Ec.items.class).data(["items"]).join(function(t){return t.append(function(){return new B({style:h})}).attr("className",D.Ec.items.name).each(function(){p.items=(0,o.Ys)(this)})},function(t){return t.update(h)},function(t){return t.remove()})},e.prototype.adjustLayout=function(){if(this.attributes.showTitle){var t=this.title.node().getAvailableSpace(),e=t.x,n=t.y;this.itemsGroup.node().style.transform="translate(".concat(e,", ").concat(n,")")}},Object.defineProperty(e.prototype,"availableSpace",{get:function(){var t=this.attributes,e=t.showTitle,n=t.width,r=t.height;return e?this.title.node().getAvailableSpace():new l.b(0,0,n,r)},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var e,n,r=null===(e=this.title)||void 0===e?void 0:e.node(),i=null===(n=this.items)||void 0===n?void 0:n.node();return r&&i?(0,s.jY)(r,i):t.prototype.getBBox.call(this)},e.prototype.render=function(t,e){var n=this.attributes,r=n.width,i=n.height,a=n.x,l=n.y,s=void 0===l?0:l,c=(0,o.Ys)(e);e.style.transform="translate(".concat(void 0===a?0:a,", ").concat(s,")"),this.renderTitle(c,r,i),this.renderItems(c,this.availableSpace),this.adjustLayout()},e}(i.w)},43611:function(t,e,n){"use strict";n.d(e,{B0:function(){return c},D_:function(){return u},Ec:function(){return f},bD:function(){return s}});var r=n(51502),i=n(63502),a=n(85113),o=n(88006),l={showTitle:!0,padding:0,orientation:"horizontal",backgroundFill:"transparent",titleText:"",titleSpacing:4,titlePosition:"top-left",titleFill:"#2C3542",titleFontWeight:"bold",titleFontFamily:"sans-serif",titleFontSize:12},s=(0,r.n)({},l,{}),c=(0,r.n)({},l,(0,i.dq)(o.x,"handle"),{color:["#d0e3fa","#acc7f6","#8daaf2","#6d8eea","#4d73cd","#325bb1","#5a3e75","#8c3c79","#e23455","#e7655b"],indicatorBackgroundFill:"#262626",indicatorLabelFill:"white",indicatorLabelFontSize:12,indicatorVisibility:"hidden",labelAlign:"value",labelDirection:"positive",labelSpacing:5,showHandle:!0,showIndicator:!0,showLabel:!0,slidable:!0,titleText:"",type:"continuous"}),u=.01,f=(0,a.A)({title:"title",titleGroup:"title-group",items:"items",itemsGroup:"items-group",contentGroup:"content-group",ribbonGroup:"ribbon-group",ribbon:"ribbon",handlesGroup:"handles-group",handle:"handle",startHandle:"start-handle",endHandle:"end-handle",labelGroup:"label-group",label:"label",indicator:"indicator"},"legend")},84700:function(t,e,n){"use strict";n.d(e,{V:function(){return B}});var r=n(33587),i=n(74747),a=n(21494),o=n(1006),l=n(28036),s=n(37776),c=n(70621),u=n(35328),f=n(44809),d=n(63502),h=n(51502),p=n(78500),g=n(82939),m=n(92722),y=n(95533),v=n(7906),b=n(85113),x=n(57345),O=n(85952),w=n(41883),_={backgroundFill:"#262626",backgroundLineCap:"round",backgroundLineWidth:1,backgroundStroke:"#333",backgroundZIndex:-1,formatter:function(t){return t.toString()},labelFill:"#fff",labelFontSize:12,labelTextBaseline:"middle",padding:[2,4],position:"right",radius:0,zIndex:999},k=(0,b.A)({background:"background",labelGroup:"label-group",label:"label"},"indicator"),M=function(t){function e(e){var n=t.call(this,e,_)||this;return n.point=[0,0],n.group=n.appendChild(new i.ZA({})),n.isMutationObserved=!0,n}return(0,r.ZT)(e,t),e.prototype.renderBackground=function(){if(this.label){var t=this.attributes,e=t.position,n=t.padding,i=(0,r.CR)((0,x.j)(n),4),a=i[0],o=i[1],l=i[2],s=i[3],f=this.label.node().getLocalBounds(),h=f.min,p=f.max,g=new c.b(h[0]-s,h[1]-a,p[0]+o-h[0]+s,p[1]+l-h[1]+a),m=this.getPath(e,g),y=(0,d.zs)(this.attributes,"background");this.background=(0,u.Ys)(this.group).maybeAppendByClassName(k.background,"path").styles((0,r.pi)((0,r.pi)({},y),{d:m})),this.group.appendChild(this.label.node())}},e.prototype.renderLabel=function(){var t=this.attributes,e=t.formatter,n=t.labelText,i=(0,d.zs)(this.attributes,"label"),a=(0,r.CR)((0,d.Hm)(i),2),o=a[0],l=a[1],s=(o.text,(0,r._T)(o,["text"]));this.label=(0,u.Ys)(this.group).maybeAppendByClassName(k.labelGroup,"g").styles(l),n&&this.label.maybeAppendByClassName(k.label,function(){return(0,O.S)(e(n))}).style("text",e(n).toString()).selectAll("text").styles(s)},e.prototype.adjustLayout=function(){var t=(0,r.CR)(this.point,2),e=t[0],n=t[1],i=this.attributes,a=i.x,o=i.y;this.group.attr("transform","translate(".concat(a-e,", ").concat(o-n,")"))},e.prototype.getPath=function(t,e){var n=this.attributes.radius,i=e.x,a=e.y,o=e.width,l=e.height,s=[["M",i+n,a],["L",i+o-n,a],["A",n,n,0,0,1,i+o,a+n],["L",i+o,a+l-n],["A",n,n,0,0,1,i+o-n,a+l],["L",i+n,a+l],["A",n,n,0,0,1,i,a+l-n],["L",i,a+n],["A",n,n,0,0,1,i+n,a],["Z"]],c={top:4,right:6,bottom:0,left:2}[t],u=this.createCorner([s[c].slice(-2),s[c+1].slice(-2)]);return s.splice.apply(s,(0,r.ev)([c+1,1],(0,r.CR)(u),!1)),s[0][0]="M",s},e.prototype.createCorner=function(t,e){void 0===e&&(e=10);var n=w.wE.apply(void 0,(0,r.ev)([],(0,r.CR)(t),!1)),i=(0,r.CR)(t,2),a=(0,r.CR)(i[0],2),o=a[0],l=a[1],s=(0,r.CR)(i[1],2),c=s[0],u=s[1],f=(0,r.CR)(n?[c-o,[o,c]]:[u-l,[l,u]],2),d=f[0],h=(0,r.CR)(f[1],2),p=h[0],g=h[1],m=d/2,y=e*(d/Math.abs(d)),v=y/2,b=y*Math.sqrt(3)/2*.8,x=(0,r.CR)([p,p+m-v,p+m,p+m+v,g],5),O=x[0],_=x[1],k=x[2],M=x[3],C=x[4];return n?(this.point=[k,l-b],[["L",O,l],["L",_,l],["L",k,l-b],["L",M,l],["L",C,l]]):(this.point=[o+b,k],[["L",o,O],["L",o,_],["L",o+b,k],["L",o,M],["L",o,C]])},e.prototype.applyVisibility=function(){"hidden"===this.attributes.visibility?(0,p.Cp)(this):(0,p.$Z)(this)},e.prototype.bindEvents=function(){this.label.on(i.Dk.BOUNDS_CHANGED,this.renderBackground)},e.prototype.render=function(){this.renderLabel(),this.renderBackground(),this.adjustLayout(),this.applyVisibility()},e}(s.w),C=n(16779),j=n(44209),A=n(43611),S=n(88006),E=n(7258),P=n(94022);function R(t,e){var n=(0,r.CR)(function(t,e){for(var n=1;n=r&&e<=i)return[r,i]}return[e,e]}(t,e),2),i=n[0],a=n[1];return{tick:e>(i+a)/2?a:i,range:[i,a]}}var T=(0,b.A)({trackGroup:"background-group",track:"background",selectionGroup:"ribbon-group",selection:"ribbon",clipPath:"clip-path"},"ribbon");function L(t){var e=t.orientation,n=t.size,r=t.length;return(0,P._h)(e,[r,n],[n,r])}function I(t){var e=t.type,n=(0,r.CR)(L(t),2),i=n[0],a=n[1];return"size"===e?[["M",0,a],["L",0+i,0],["L",0+i,a],["Z"]]:[["M",0,a],["L",0,0],["L",0+i,0],["L",0+i,a],["Z"]]}var N=function(t){function e(e){return t.call(this,e,{type:"color",orientation:"horizontal",size:30,range:[0,1],length:200,block:!1,partition:[],color:["#fff","#000"],trackFill:"#e5e5e5"})||this}return(0,r.ZT)(e,t),e.prototype.render=function(t,e){var n,a,o,l,s,c,f,h,p,g,m,y,v,b,x;(function(t,e){var n=(0,d.zs)(e,"track");t.maybeAppendByClassName(T.track,"path").styles((0,r.pi)({d:I(e)},n))})((0,u.Ys)(e).maybeAppendByClassName(T.trackGroup,"g"),t),n=(0,u.Ys)(e).maybeAppendByClassName(T.selectionGroup,"g"),a=(0,d.zs)(t,"selection"),g=(c=t).orientation,m=c.color,y=c.block,v=c.partition,b=(p=(0,E.Z)(m)?Array(20).fill(0).map(function(t,e,n){return m(e/(n.length-1))}):m).length,x=p.map(function(t){return(0,i.lu)(t).toString()}),o=b?1===b?x[0]:y?(f=Array.from(x),Array(h=v.length).fill(0).reduce(function(t,e,n){var r=f[n%f.length];return t+" ".concat(v[n],":").concat(r).concat(ng?Math.max(d-s,0):Math.max((d-s-g)/y,0));var x=Math.max(m,u),O=h-x,w=(0,r.CR)(this.ifHorizontal([O,v],[v,O]),2),_=w[0],k=w[1],M=["top","left"].includes(b)?s:0,C=(0,r.CR)(this.ifHorizontal([x/2,M],[M,x/2]),2),j=C[0],A=C[1];return new c.b(j,A,_,k)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ribbonShape",{get:function(){var t=this.ribbonBBox,e=t.width,n=t.height;return this.ifHorizontal({size:n,length:e},{size:e,length:n})},enumerable:!1,configurable:!0}),e.prototype.renderRibbon=function(t){var e=this.attributes,n=e.data,r=e.type,i=e.orientation,a=e.color,o=e.block,l=(0,d.zs)(this.attributes,"ribbon"),s=this.range,c=s.min,u=s.max,f=this.ribbonBBox,p=f.x,g=f.y,m=this.ribbonShape,y=m.length,v=m.size,b=(0,h.n)({transform:"translate(".concat(p,", ").concat(g,")"),length:y,size:v,type:r,orientation:i,color:a,block:o,partition:n.map(function(t){return(t.value-c)/(u-c)}),range:this.ribbonRange},l);this.ribbon=t.maybeAppendByClassName(A.Ec.ribbon,function(){return new N({style:b})}).update(b)},e.prototype.getHandleClassName=function(t){return"".concat(A.Ec.prefix("".concat(t,"-handle")))},e.prototype.renderHandles=function(){var t=this.attributes,e=t.showHandle,n=t.orientation,i=(0,d.zs)(this.attributes,"handle"),a=(0,r.CR)(this.selection,2),o=a[0],l=a[1],s=(0,r.pi)((0,r.pi)({},i),{orientation:n}),c=i.shape,u="basic"===(void 0===c?"slider":c)?S.H:C.H,f=this;this.handlesGroup.selectAll(A.Ec.handle.class).data(e?[{value:o,type:"start"},{value:l,type:"end"}]:[],function(t){return t.type}).join(function(t){return t.append(function(){return new u({style:s})}).attr("className",function(t){var e=t.type;return"".concat(A.Ec.handle," ").concat(f.getHandleClassName(e))}).each(function(t){var e=t.type,n=t.value;this.update({labelText:n}),f["".concat(e,"Handle")]=this,this.addEventListener("pointerdown",f.onDragStart(e))})},function(t){return t.update(s).each(function(t){var e=t.value;this.update({labelText:e})})},function(t){return t.each(function(t){var e=t.type;f["".concat(e,"Handle")]=void 0}).remove()})},e.prototype.adjustHandles=function(){var t=(0,r.CR)(this.selection,2),e=t[0],n=t[1];this.setHandlePosition("start",e),this.setHandlePosition("end",n)},Object.defineProperty(e.prototype,"handleBBox",{get:function(){if(this.cacheHandleBBox)return this.cacheHandleBBox;if(!this.attributes.showHandle)return new c.b(0,0,0,0);var t=this.startHandle.getBBox(),e=t.width,n=t.height,i=this.endHandle.getBBox(),a=i.width,o=i.height,l=(0,r.CR)([Math.max(e,a),Math.max(n,o)],2),s=l[0],u=l[1];return this.cacheHandleBBox=new c.b(0,0,s,u),this.cacheHandleBBox},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"handleShape",{get:function(){var t=this.handleBBox,e=t.width,n=t.height,i=(0,r.CR)(this.ifHorizontal([n,e],[e,n]),2),a=i[0],o=i[1];return{width:e,height:n,size:a,length:o}},enumerable:!1,configurable:!0}),e.prototype.setHandlePosition=function(t,e){var n=this.attributes.handleFormatter,i=this.ribbonBBox,a=i.x,o=i.y,l=this.ribbonShape.size,s=this.getOffset(e),c=(0,r.CR)(this.ifHorizontal([a+s,o+l*this.handleOffsetRatio],[a+l*this.handleOffsetRatio,o+s]),2),u=c[0],f=c[1],d=this.handlesGroup.select(".".concat(this.getHandleClassName(t))).node();null==d||d.update({transform:"translate(".concat(u,", ").concat(f,")"),formatter:n})},e.prototype.renderIndicator=function(t){var e=(0,d.zs)(this.attributes,"indicator");this.indicator=t.maybeAppendByClassName(A.Ec.indicator,function(){return new M({})}).update(e)},Object.defineProperty(e.prototype,"labelData",{get:function(){var t=this;return this.attributes.data.reduce(function(e,n,i,a){var o,l,s=null!==(o=null==n?void 0:n.id)&&void 0!==o?o:i.toString();if(e.push((0,r.pi)((0,r.pi)({},n),{id:s,index:i,type:"value",label:null!==(l=null==n?void 0:n.label)&&void 0!==l?l:n.value.toString(),value:t.ribbonScale.map(n.value)})),iy&&(m=(a=(0,r.CR)([y,m],2))[0],y=a[1]),v>s-l)?[l,s]:ms?p===s&&h===m?[m,s]:[s-v,s]:[m,y]}function l(t,e,n){return void 0===t&&(t="horizontal"),"horizontal"===t?e:n}i.J.registerSymbol("hiddenHandle",function(t,e,n){var r=1.4*n;return[["M",t-n,e-r],["L",t+n,e-r],["L",t+n,e+r],["L",t-n,e+r],["Z"]]}),i.J.registerSymbol("verticalHandle",function(t,e,n){var r=1.4*n,i=n/2,a=n/6,o=t+.4*r;return[["M",t,e],["L",o,e+i],["L",t+r,e+i],["L",t+r,e-i],["L",o,e-i],["Z"],["M",o,e+a],["L",t+r-2,e+a],["M",o,e-a],["L",t+r-2,e-a]]}),i.J.registerSymbol("horizontalHandle",function(t,e,n){var r=1.4*n,i=n/2,a=n/6,o=e+.4*r;return[["M",t,e],["L",t-i,o],["L",t-i,e+r],["L",t+i,e+r],["L",t+i,o],["Z"],["M",t-a,o],["L",t-a,e+r-2],["M",t+a,o],["L",t+a,e+r-2]]})},76168:function(t,e,n){"use strict";n.d(e,{J:function(){return f}});var r=n(33587),i=n(7258),a=n(37776),o=n(44809),l=n(35328),s=n(88876),c=n(29729),u=n(84531),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.render=function(t,n){var a,s=t.x,f=void 0===s?0:s,d=t.y,h=void 0===d?0:d,p=this.getSubShapeStyle(t),g=p.symbol,m=p.size,y=void 0===m?16:m,v=(0,r._T)(p,["symbol","size"]),b=["base64","url","image"].includes(a=function(t){var e="default";if((0,c.Z)(t)&&t instanceof Image)e="image";else if((0,i.Z)(t))e="symbol";else if((0,u.Z)(t)){var n=RegExp("data:(image|text)");e=t.match(n)?"base64":/^(https?:\/\/(([a-zA-Z0-9]+-?)+[a-zA-Z0-9]+\.)+[a-zA-Z]+)(:\d+)?(\/.*)?(\?.*)?(#.*)?$/.test(t)?"url":"symbol"}return e}(g))?"image":g&&"symbol"===a?"path":null;(0,o.z)(!!b,(0,l.Ys)(n),function(t){t.maybeAppendByClassName("marker",b).attr("className","marker ".concat(b,"-marker")).call(function(t){if("image"===b){var n=2*y;t.styles({img:g,width:n,height:n,x:f-y,y:h-y})}else{var n=y/2,a=(0,i.Z)(g)?g:e.getSymbol(g);t.styles((0,r.pi)({d:null==a?void 0:a(f,h,n)},v))}})})},e.MARKER_SYMBOL_MAP=new Map,e.registerSymbol=function(t,n){e.MARKER_SYMBOL_MAP.set(t,n)},e.getSymbol=function(t){return e.MARKER_SYMBOL_MAP.get(t)},e.getSymbols=function(){return Array.from(e.MARKER_SYMBOL_MAP.keys())},e}(a.w);f.registerSymbol("cross",s.kC),f.registerSymbol("hyphen",s.Zb),f.registerSymbol("line",s.jv),f.registerSymbol("plus",s.PD),f.registerSymbol("tick",s.Ky),f.registerSymbol("circle",s.Xw),f.registerSymbol("point",s.xm),f.registerSymbol("bowtie",s.XF),f.registerSymbol("hexagon",s.bL),f.registerSymbol("square",s.h6),f.registerSymbol("diamond",s.tf),f.registerSymbol("triangle",s.cP),f.registerSymbol("triangle-down",s.MG),f.registerSymbol("line",s.jv),f.registerSymbol("dot",s.AK),f.registerSymbol("dash",s.P2),f.registerSymbol("smooth",s.ip),f.registerSymbol("hv",s.hv),f.registerSymbol("vh",s.vh),f.registerSymbol("hvh",s.t7),f.registerSymbol("vhv",s.sN)},88876:function(t,e,n){"use strict";n.d(e,{AK:function(){return m},Ky:function(){return h},LI:function(){return _},MG:function(){return s},P2:function(){return y},PD:function(){return p},XF:function(){return u},Xw:function(){return r},Zb:function(){return g},bL:function(){return c},cP:function(){return l},h6:function(){return a},hv:function(){return b},ip:function(){return v},jv:function(){return f},kC:function(){return d},sN:function(){return w},t7:function(){return O},tf:function(){return o},vh:function(){return x},xm:function(){return i}});var r=function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e],["Z"]]},i=r,a=function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},o=function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},l=function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},s=function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]},c=function(t,e,n){var r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]},u=function(t,e,n){var r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]},f=function(t,e,n){return[["M",t,e+n],["L",t,e-n]]},d=function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]},h=function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},p=function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]},g=function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},m=function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},y=m,v=function(t,e,n){return[["M",t-n,e],["A",n/2,n/2,0,1,1,t,e],["A",n/2,n/2,0,1,0,t+n,e]]},b=function(t,e,n){return[["M",t-n-1,e-2.5],["L",t,e-2.5],["L",t,e+2.5],["L",t+n+1,e+2.5]]},x=function(t,e,n){return[["M",t-n-1,e+2.5],["L",t,e+2.5],["L",t,e-2.5],["L",t+n+1,e-2.5]]},O=function(t,e,n){return[["M",t-(n+1),e+2.5],["L",t-n/2,e+2.5],["L",t-n/2,e-2.5],["L",t+n/2,e-2.5],["L",t+n/2,e+2.5],["L",t+n+1,e+2.5]]};function w(t,e){return[["M",t-5,e+2.5],["L",t-5,e],["L",t,e],["L",t,e-3],["L",t,e+3],["L",t+6.5,e+3]]}var _=function(t,e,n){return[["M",t-n,e-n],["L",t+n,e],["L",t-n,e+n],["Z"]]}},58241:function(t,e,n){"use strict";n.d(e,{L:function(){return d}});var r=n(33587),i=n(74747),a=n(1006),o=n(37776),l=n(92722),s=n(57345),c=n(63502),u=n(35328),f=n(10972),d=function(t){function e(e){var n=t.call(this,e,{x:0,y:0,isRound:!0,orientation:"vertical",padding:[2,2,2,2],scrollable:!0,slidable:!0,thumbCursor:"default",trackSize:10,value:0})||this;return n.range=[0,1],n.onValueChange=function(t){var e=n.attributes.value;if(t!==e){var r={detail:{oldValue:t,value:e}};n.dispatchEvent(new i.Aw("scroll",r)),n.dispatchEvent(new i.Aw("valuechange",r))}},n.onTrackClick=function(t){if(n.attributes.slidable){var e=(0,r.CR)(n.getLocalPosition(),2),i=e[0],a=e[1],o=(0,r.CR)(n.padding,4),s=o[0],c=o[3],u=n.getOrientVal([i+c,a+s]),f=(n.getOrientVal((0,l.s)(t))-u)/n.trackLength;n.setValue(f,!0)}},n.onThumbMouseenter=function(t){n.dispatchEvent(new i.Aw("thumbMouseenter",{detail:t.detail}))},n.onTrackMouseenter=function(t){n.dispatchEvent(new i.Aw("trackMouseenter",{detail:t.detail}))},n.onThumbMouseleave=function(t){n.dispatchEvent(new i.Aw("thumbMouseleave",{detail:t.detail}))},n.onTrackMouseleave=function(t){n.dispatchEvent(new i.Aw("trackMouseleave",{detail:t.detail}))},n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"padding",{get:function(){var t=this.attributes.padding;return(0,s.j)(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){var t=this.attributes.value,e=(0,r.CR)(this.range,2),n=e[0],i=e[1];return(0,a.Z)(t,n,i)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trackLength",{get:function(){var t=this.attributes,e=t.viewportLength,n=t.trackLength;return void 0===n?e:n},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"availableSpace",{get:function(){var t=this.attributes.trackSize,e=this.trackLength,n=(0,r.CR)(this.padding,4),i=n[0],a=n[1],o=n[2],l=n[3],s=(0,r.CR)(this.getOrientVal([[e,t],[t,e]]),2);return{x:l,y:i,width:+s[0]-(l+a),height:+s[1]-(i+o)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trackRadius",{get:function(){var t=this.attributes,e=t.isRound,n=t.trackSize;return e?n/2:0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"thumbRadius",{get:function(){var t=this.attributes,e=t.isRound,n=t.thumbRadius;if(!e)return 0;var r=this.availableSpace,i=r.width,a=r.height;return n||this.getOrientVal([a,i])/2},enumerable:!1,configurable:!0}),e.prototype.getValues=function(t){void 0===t&&(t=this.value);var e=this.attributes,n=e.viewportLength/e.contentLength,i=(0,r.CR)(this.range,2),a=i[0],o=t*(i[1]-a-n);return[o,o+n]},e.prototype.getValue=function(){return this.value},e.prototype.renderSlider=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.orientation,o=e.trackSize,l=e.padding,s=e.slidable,d=(0,c.zs)(this.attributes,"track"),h=(0,c.zs)(this.attributes,"thumb"),p=(0,r.pi)((0,r.pi)({x:n,y:i,brushable:!1,orientation:a,padding:l,selectionRadius:this.thumbRadius,showHandle:!1,slidable:s,trackLength:this.trackLength,trackRadius:this.trackRadius,trackSize:o,values:this.getValues()},(0,c.dq)(d,"track")),(0,c.dq)(h,"selection"));this.slider=(0,u.Ys)(t).maybeAppendByClassName("scrollbar",function(){return new f.i({style:p})}).update(p).node()},e.prototype.render=function(t,e){this.renderSlider(e)},e.prototype.setValue=function(t,e){void 0===e&&(e=!1);var n=this.attributes.value,i=(0,r.CR)(this.range,2),o=i[0],l=i[1];this.slider.setValues(this.getValues((0,a.Z)(t,o,l)),e),this.onValueChange(n)},e.prototype.bindEvents=function(){var t=this;this.slider.addEventListener("trackClick",function(e){e.stopPropagation(),t.onTrackClick(e.detail)}),this.onHover()},e.prototype.getOrientVal=function(t){return"horizontal"===this.attributes.orientation?t[0]:t[1]},e.prototype.onHover=function(){this.slider.addEventListener("selectionMouseenter",this.onThumbMouseenter),this.slider.addEventListener("trackMouseenter",this.onTrackMouseenter),this.slider.addEventListener("selectionMouseleave",this.onThumbMouseleave),this.slider.addEventListener("trackMouseleave",this.onTrackMouseleave)},e.tag="scrollbar",e}(o.w)},88605:function(t,e,n){"use strict";n.d(e,{Ec:function(){return l},Qi:function(){return i},b0:function(){return a},fI:function(){return o}});var r=n(85113),i={fill:"#fff",lineWidth:1,radius:2,size:10,stroke:"#bfbfbf",strokeOpacity:1,zIndex:0},a={fill:"#000",fillOpacity:.45,fontSize:12,textAlign:"center",textBaseline:"middle",zIndex:1},o={x:0,y:0,orientation:"horizontal",showLabel:!0,type:"start"},l=(0,r.A)({foreground:"foreground",handle:"handle",selection:"selection",sparkline:"sparkline",sparklineGroup:"sparkline-group",track:"track",brushArea:"brush-area"},"slider")},16779:function(t,e,n){"use strict";n.d(e,{H:function(){return d}});var r=n(33587),i=n(37776),a=n(85113),o=n(35328),l=n(63502),s=n(44809),c=n(88605),u=(0,a.A)({labelGroup:"label-group",label:"label",iconGroup:"icon-group",icon:"icon",iconRect:"icon-rect",iconLine:"icon-line"},"handle"),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.render=function(t,e){var n=t.x,i=t.y,a=t.size,l=void 0===a?10:a,s=t.radius,c=t.orientation,f=(0,r._T)(t,["x","y","size","radius","orientation"]),d=2.4*l,h=(0,o.Ys)(e).maybeAppendByClassName(u.iconRect,"rect").styles((0,r.pi)((0,r.pi)({},f),{width:l,height:d,radius:void 0===s?l/4:s,x:n-l/2,y:i-d/2,transformOrigin:"center"})),p=n+1/3*l-l/2,g=n+2/3*l-l/2,m=i+1/4*d-d/2,y=i+3/4*d-d/2;h.maybeAppendByClassName("".concat(u.iconLine,"-1"),"line").styles((0,r.pi)({x1:p,x2:p,y1:m,y2:y},f)),h.maybeAppendByClassName("".concat(u.iconLine,"-2"),"line").styles((0,r.pi)({x1:g,x2:g,y1:m,y2:y},f)),"vertical"===c&&(h.node().style.transform="rotate(90)")},e}(i.w),d=function(t){function e(e){return t.call(this,e,c.fI)||this}return(0,r.ZT)(e,t),e.prototype.renderLabel=function(t){var e=this,n=this.attributes,i=n.x,a=n.y,f=n.showLabel,d=(0,l.zs)(this.attributes,"label"),h=d.x,p=void 0===h?0:h,g=d.y,m=void 0===g?0:g,y=d.transform,v=d.transformOrigin,b=(0,r._T)(d,["x","y","transform","transformOrigin"]),x=(0,r.CR)((0,l.Hm)(b,[]),2),O=x[0],w=x[1],_=(0,o.Ys)(t).maybeAppendByClassName(u.labelGroup,"g").styles(w),k=(0,r.pi)((0,r.pi)({},c.b0),O),M=k.text,C=(0,r._T)(k,["text"]);(0,s.z)(!!f,_,function(t){e.label=t.maybeAppendByClassName(u.label,"text").styles((0,r.pi)((0,r.pi)({},C),{x:i+p,y:a+m,transform:y,transformOrigin:v,text:"".concat(M)})),e.label.on("mousedown",function(t){t.stopPropagation()}),e.label.on("touchstart",function(t){t.stopPropagation()})})},e.prototype.renderIcon=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.orientation,s=e.type,d=(0,r.pi)((0,r.pi)({x:n,y:i,orientation:a},c.Qi),(0,l.zs)(this.attributes,"icon")),h=this.attributes.iconShape,p=void 0===h?function(){return new f({style:d})}:h;(0,o.Ys)(t).maybeAppendByClassName(u.iconGroup,"g").selectAll(u.icon.class).data([p]).join(function(t){return t.append("string"==typeof p?p:function(){return p(s)}).attr("className",u.icon.name)},function(t){return t.update(d)},function(t){return t.remove()})},e.prototype.render=function(t,e){this.renderIcon(e),this.renderLabel(e)},e}(i.w)},10972:function(t,e,n){"use strict";n.d(e,{i:function(){return Z}});var r=n(33587),i=n(74747),a=n(1006),o=n(85849),l=n(37776),s=n(79747),c=n(63502),u=n(92722),f=n(57345),d=n(35328),h=n(44809),p=n(82939),g=n(21494),m=n(16250),y=n(23641),v=function(t){if("object"!=typeof t||null===t)return t;if((0,y.Z)(t)){e=[];for(var e,n=0,r=t.length;nr&&(n=a,r=o)}return n}};function L(t){return 0===t.length?[0,0]:[(0,E.Z)(P(t,function(t){return(0,E.Z)(t)||0})),(0,R.Z)(T(t,function(t){return(0,R.Z)(t)||0}))]}function I(t){for(var e=v(t),n=e[0].length,i=(0,r.CR)([Array(n).fill(0),Array(n).fill(0)],2),a=i[0],o=i[1],l=0;l=0?(s[c]+=a[c],a[c]=s[c]):(s[c]+=o[c],o[c]=s[c]);return e}var N=function(t){function e(e){return t.call(this,e,{type:"line",x:0,y:0,width:200,height:20,isStack:!1,color:["#83daad","#edbf45","#d2cef9","#e290b3","#6f63f4"],smooth:!0,lineLineWidth:1,areaOpacity:0,isGroup:!1,columnLineWidth:1,columnStroke:"#fff",scale:1,spacing:0})||this}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"rawData",{get:function(){var t=this.attributes.data;if(!t||(null==t?void 0:t.length)===0)return[[]];var e=v(t);return(0,b.Z)(e[0])?[e]:e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this.attributes.isStack?I(this.rawData):this.rawData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scales",{get:function(){return this.createScales(this.data)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseline",{get:function(){var t=this.scales.y,e=(0,r.CR)(t.getOptions().domain||[0,0],2),n=e[0],i=e[1];return i<0?t.map(i):t.map(n<0?0:n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"containerShape",{get:function(){var t=this.attributes;return{width:t.width,height:t.height}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"linesStyle",{get:function(){var t=this,e=this.attributes,n=e.type,i=e.isStack,o=e.smooth;if("line"!==n)throw Error("linesStyle can only be used in line type");var l=(0,c.zs)(this.attributes,"area"),s=(0,c.zs)(this.attributes,"line"),u=this.containerShape.width,f=this.data;if(0===f[0].length)return{lines:[],areas:[]};var d=this.scales,h=(y=(g={type:"line",x:d.x,y:d.y}).x,v=g.y,x=(b=(0,r.CR)(v.getOptions().range||[0,0],2))[0],(O=b[1])>x&&(O=(m=(0,r.CR)([x,O],2))[0],x=m[1]),f.map(function(t){return t.map(function(t,e){return[y.map(e),(0,a.Z)(v.map(t),O,x)]})})),p=[];if(l){var g,m,y,v,b,x,O,w=this.baseline;p=i?o?function(t,e,n){for(var i=[],a=t.length-1;a>=0;a-=1){var o=t[a],l=A(o),s=void 0;if(0===a)s=S(l,e,n);else{var c=A(t[a-1],!0),u=o[0];c[0][0]="L",s=(0,r.ev)((0,r.ev)((0,r.ev)([],(0,r.CR)(l),!1),(0,r.CR)(c),!1),[(0,r.ev)(["M"],(0,r.CR)(u),!1),["Z"]],!1)}i.push(s)}return i}(h,u,w):function(t,e,n){for(var i=[],a=t.length-1;a>=0;a-=1){var o=j(t[a]),l=void 0;if(0===a)l=S(o,e,n);else{var s=j(t[a-1],!0);s[0][0]="L",l=(0,r.ev)((0,r.ev)((0,r.ev)([],(0,r.CR)(o),!1),(0,r.CR)(s),!1),[["Z"]],!1)}i.push(l)}return i}(h,u,w):h.map(function(t){return S(o?A(t):j(t),u,w)})}return{lines:h.map(function(e,n){return(0,r.pi)({stroke:t.getColor(n),d:o?A(e):j(e)},s)}),areas:p.map(function(e,n){return(0,r.pi)({d:e,fill:t.getColor(n)},l)})}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"columnsStyle",{get:function(){var t=this,e=(0,c.zs)(this.attributes,"column"),n=this.attributes,i=n.isStack,a=n.type,o=n.scale;if("column"!==a)throw Error("columnsStyle can only be used in column type");var l=this.containerShape.height,s=this.rawData;if(!s)return{columns:[]};i&&(s=I(s));var u=this.createScales(s),f=u.x,d=u.y,h=(0,r.CR)(L(s),2),p=h[0],m=h[1],y=new g.b({domain:[0,m-(p>0?0:p)],range:[0,l*o]}),v=f.getBandWidth(),b=this.rawData;return{columns:s.map(function(n,a){return n.map(function(n,o){var l=v/s.length;return(0,r.pi)((0,r.pi)({fill:t.getColor(a)},e),i?{x:f.map(o),y:d.map(n),width:v,height:y.map(b[a][o])}:{x:f.map(o)+l*a,y:n>=0?d.map(n):d.map(0),width:l,height:y.map(Math.abs(n))})})})}},enumerable:!1,configurable:!0}),e.prototype.render=function(t,e){(0,d.OV)(e,".container","rect").attr("className","container").node();var n=t.type,i=t.x,a=t.y,o="spark".concat(n),l=(0,r.pi)({x:i,y:a},"line"===n?this.linesStyle:this.columnsStyle);(0,d.Ys)(e).selectAll(".spark").data([n]).join(function(t){return t.append(function(t){return"line"===t?new k({className:o,style:l}):new _({className:o,style:l})}).attr("className","spark ".concat(o))},function(t){return t.update(l)},function(t){return t.remove()})},e.prototype.getColor=function(t){var e=this.attributes.color;return(0,y.Z)(e)?e[t%e.length]:(0,x.Z)(e)?e.call(null,t):e},e.prototype.createScales=function(t){var e,n,i=this.attributes,a=i.type,o=i.scale,l=i.range,s=void 0===l?[]:l,c=i.spacing,u=this.containerShape,f=u.width,d=u.height,h=(0,r.CR)(L(t),2),p=h[0],y=h[1],v=new g.b({domain:[null!==(e=s[0])&&void 0!==e?e:p,null!==(n=s[1])&&void 0!==n?n:y],range:[d,d*(1-o)]});return"line"===a?{type:a,x:new g.b({domain:[0,t[0].length-1],range:[0,f]}),y:v}:{type:a,x:new m.t({domain:t[0].map(function(t,e){return e}),range:[0,f],paddingInner:c,paddingOuter:c/2,align:.5}),y:v}},e.tag="sparkline",e}(l.w),B=n(88605),D=n(16779),Z=function(t){function e(e){var n=t.call(this,e,(0,r.pi)((0,r.pi)((0,r.pi)({x:0,y:0,animate:{duration:100,fill:"both"},brushable:!0,formatter:function(t){return t.toString()},handleSpacing:2,orientation:"horizontal",padding:0,autoFitLabel:!0,scrollable:!0,selectionFill:"#5B8FF9",selectionFillOpacity:.45,selectionZIndex:2,showHandle:!0,showLabel:!0,slidable:!0,trackFill:"#416180",trackLength:200,trackOpacity:.05,trackSize:20,trackZIndex:-1,values:[0,1],type:"range",selectionType:"select",handleIconOffset:0},(0,c.dq)(B.fI,"handle")),(0,c.dq)(B.Qi,"handleIcon")),(0,c.dq)(B.b0,"handleLabel")))||this;return n.range=[0,1],n.onDragStart=function(t){return function(e){e.stopPropagation(),n.target=t,n.prevPos=n.getOrientVal((0,u.s)(e));var r=n.availableSpace,i=r.x,a=r.y,o=n.getBBox(),l=o.x,s=o.y;n.selectionStartPos=n.getRatio(n.prevPos-n.getOrientVal([i,a])-n.getOrientVal([+l,+s])),n.selectionWidth=0,document.addEventListener("pointermove",n.onDragging),document.addEventListener("pointerup",n.onDragEnd)}},n.onDragging=function(t){var e=n.attributes,r=e.slidable,i=e.brushable,a=e.type;t.stopPropagation();var o=n.getOrientVal((0,u.s)(t)),l=o-n.prevPos;if(l){var s=n.getRatio(l);switch(n.target){case"start":r&&n.setValuesOffset(s);break;case"end":r&&n.setValuesOffset(0,s);break;case"selection":r&&n.setValuesOffset(s,s);break;case"track":if(!i)return;n.selectionWidth+=s,"range"===a?n.innerSetValues([n.selectionStartPos,n.selectionStartPos+n.selectionWidth].sort(),!0):n.innerSetValues([0,n.selectionStartPos+n.selectionWidth],!0)}n.prevPos=o}},n.onDragEnd=function(){document.removeEventListener("pointermove",n.onDragging),document.removeEventListener("pointermove",n.onDragging),document.removeEventListener("pointerup",n.onDragEnd),n.target="",n.updateHandlesPosition(!1)},n.onValueChange=function(t){var e=n.attributes,r=e.onChange,a=e.type,o="range"===a?t:t[1],l="range"===a?n.getValues():n.getValues()[1],s=new i.Aw("valuechange",{detail:{oldValue:o,value:l}});n.dispatchEvent(s),null==r||r(l)},n.selectionStartPos=0,n.selectionWidth=0,n.prevPos=0,n.target="",n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"values",{get:function(){return this.attributes.values},set:function(t){this.attributes.values=this.clampValues(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sparklineStyle",{get:function(){if("horizontal"!==this.attributes.orientation)return null;var t=(0,c.zs)(this.attributes,"sparkline");return(0,r.pi)((0,r.pi)({zIndex:0},this.availableSpace),t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){var t=this.attributes,e=t.trackLength,n=t.trackSize,i=(0,r.CR)(this.getOrientVal([[e,n],[n,e]]),2);return{width:i[0],height:i[1]}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"availableSpace",{get:function(){var t=this.attributes,e=(t.x,t.y,t.padding),n=(0,r.CR)((0,f.j)(e),4),i=n[0],a=n[1],o=n[2],l=n[3],s=this.shape;return{x:l,y:i,width:s.width-(l+a),height:s.height-(i+o)}},enumerable:!1,configurable:!0}),e.prototype.getValues=function(){return this.values},e.prototype.setValues=function(t,e){void 0===t&&(t=[0,0]),void 0===e&&(e=!1),this.attributes.values=t;var n=!1!==e&&this.attributes.animate;this.updateSelectionArea(n),this.updateHandlesPosition(n)},e.prototype.updateSelectionArea=function(t){var e=this.calcSelectionArea();this.foregroundGroup.selectAll(B.Ec.selection.class).each(function(n,r){(0,o.eR)(this,e[r],t)})},e.prototype.updateHandlesPosition=function(t){this.attributes.showHandle&&(this.startHandle&&(0,o.eR)(this.startHandle,this.getHandleStyle("start"),t),this.endHandle&&(0,o.eR)(this.endHandle,this.getHandleStyle("end"),t))},e.prototype.innerSetValues=function(t,e){void 0===t&&(t=[0,0]),void 0===e&&(e=!1);var n=this.values,r=this.clampValues(t);this.attributes.values=r,this.setValues(r),e&&this.onValueChange(n)},e.prototype.renderTrack=function(t){var e=this.attributes,n=e.x,i=e.y,a=(0,c.zs)(this.attributes,"track");this.trackShape=(0,d.Ys)(t).maybeAppendByClassName(B.Ec.track,"rect").styles((0,r.pi)((0,r.pi)({x:n,y:i},this.shape),a))},e.prototype.renderBrushArea=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.brushable;this.brushArea=(0,d.Ys)(t).maybeAppendByClassName(B.Ec.brushArea,"rect").styles((0,r.pi)({x:n,y:i,fill:"transparent",cursor:a?"crosshair":"default"},this.shape))},e.prototype.renderSparkline=function(t){var e=this,n=this.attributes,i=n.x,a=n.y,o=n.orientation,l=(0,d.Ys)(t).maybeAppendByClassName(B.Ec.sparklineGroup,"g");(0,h.z)("horizontal"===o,l,function(t){var n=(0,r.pi)((0,r.pi)({},e.sparklineStyle),{x:i,y:a});t.maybeAppendByClassName(B.Ec.sparkline,function(){return new N({style:n})}).update(n)})},e.prototype.renderHandles=function(){var t,e=this,n=this.attributes,r=n.showHandle,i=n.type,a=this;null===(t=this.foregroundGroup)||void 0===t||t.selectAll(B.Ec.handle.class).data((r?"range"===i?["start","end"]:["end"]:[]).map(function(t){return{type:t}}),function(t){return t.type}).join(function(t){return t.append(function(t){var n=t.type;return new D.H({style:e.getHandleStyle(n)})}).each(function(t){var e=t.type;this.attr("class","".concat(B.Ec.handle.name," ").concat(e,"-handle")),a["".concat(e,"Handle")]=this,this.addEventListener("pointerdown",a.onDragStart(e))})},function(t){return t.each(function(t){var e=t.type;this.update(a.getHandleStyle(e))})},function(t){return t.each(function(t){var e=t.type;a["".concat(e,"Handle")]=void 0}).remove()})},e.prototype.renderSelection=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.type,o=e.selectionType;this.foregroundGroup=(0,d.Ys)(t).maybeAppendByClassName(B.Ec.foreground,"g");var l=(0,c.zs)(this.attributes,"selection"),s=function(t){return t.style("visibility",function(t){return t.show?"visible":"hidden"}).style("cursor",function(t){return"select"===o?"grab":"invert"===o?"crosshair":"default"}).styles((0,r.pi)((0,r.pi)({},l),{transform:"translate(".concat(n,", ").concat(i,")")}))},u=this;this.foregroundGroup.selectAll(B.Ec.selection.class).data("value"===a?[]:this.calcSelectionArea().map(function(t,e){return{style:(0,r.pi)({},t),index:e,show:"select"===o?1===e:1!==e}}),function(t){return t.index}).join(function(t){return t.append("rect").attr("className",B.Ec.selection.name).call(s).each(function(t,e){var n=this;1===e?(u.selectionShape=(0,d.Ys)(this),this.on("pointerdown",function(t){n.attr("cursor","grabbing"),u.onDragStart("selection")(t)}),u.dispatchCustomEvent(this,"pointerenter","selectionMouseenter"),u.dispatchCustomEvent(this,"pointerleave","selectionMouseleave"),u.dispatchCustomEvent(this,"click","selectionClick"),this.addEventListener("pointerdown",function(){n.attr("cursor","grabbing")}),this.addEventListener("pointerup",function(){n.attr("cursor","pointer")}),this.addEventListener("pointerover",function(){n.attr("cursor","pointer")})):this.on("pointerdown",u.onDragStart("track"))})},function(t){return t.call(s)},function(t){return t.remove()}),this.updateSelectionArea(!1),this.renderHandles()},e.prototype.render=function(t,e){this.renderTrack(e),this.renderSparkline(e),this.renderBrushArea(e),this.renderSelection(e)},e.prototype.clampValues=function(t,e){void 0===e&&(e=4);var n,i=(0,r.CR)(this.range,2),o=i[0],l=i[1],s=(0,r.CR)(this.getValues().map(function(t){return(0,p.Zd)(t,e)}),2),c=s[0],u=s[1],f=Array.isArray(t)?t:[c,null!=t?t:u],d=(0,r.CR)((f||[c,u]).map(function(t){return(0,p.Zd)(t,e)}),2),h=d[0],g=d[1];if("value"===this.attributes.type)return[0,(0,a.Z)(g,o,l)];h>g&&(h=(n=(0,r.CR)([g,h],2))[0],g=n[1]);var m=g-h;return m>l-o?[o,l]:hl?u===l&&c===h?[h,l]:[l-m,l]:[h,g]},e.prototype.calcSelectionArea=function(t){var e=(0,r.CR)(this.clampValues(t),2),n=e[0],i=e[1],a=this.availableSpace,o=a.x,l=a.y,s=a.width,c=a.height;return this.getOrientVal([[{y:l,height:c,x:o,width:n*s},{y:l,height:c,x:n*s+o,width:(i-n)*s},{y:l,height:c,x:i*s,width:(1-i)*s}],[{x:o,width:s,y:l,height:n*c},{x:o,width:s,y:n*c+l,height:(i-n)*c},{x:o,width:s,y:i*c,height:(1-i)*c}]])},e.prototype.calcHandlePosition=function(t){var e=this.attributes.handleIconOffset,n=this.availableSpace,i=n.x,a=n.y,o=n.width,l=n.height,s=(0,r.CR)(this.clampValues(),2),c=s[0],u=s[1],f=("start"===t?c:u)*this.getOrientVal([o,l])+("start"===t?-e:e);return{x:i+this.getOrientVal([f,o/2]),y:a+this.getOrientVal([l/2,f])}},e.prototype.inferTextStyle=function(t){return"horizontal"===this.attributes.orientation?{}:"start"===t?{transformOrigin:"left center",transform:"rotate(90)",textAlign:"start"}:"end"===t?{transformOrigin:"right center",transform:"rotate(90)",textAlign:"end"}:{}},e.prototype.calcHandleText=function(t){var e,n=this.attributes,i=n.type,a=n.orientation,o=n.formatter,l=n.autoFitLabel,u=(0,c.zs)(this.attributes,"handle"),f=(0,c.zs)(u,"label"),d=u.spacing,h=this.getHandleSize(),p=this.clampValues(),g=o("start"===t?p[0]:p[1]),m=new s.x({style:(0,r.pi)((0,r.pi)((0,r.pi)({},f),this.inferTextStyle(t)),{text:g})}),y=m.getBBox(),v=y.width,b=y.height;if(m.destroy(),!l){if("value"===i)return{text:g,x:0,y:-b-d};var x=d+h+("horizontal"===a?v/2:0);return(e={text:g})["horizontal"===a?"x":"y"]="start"===t?-x:x,e}var O=0,w=0,_=this.availableSpace,k=_.width,M=_.height,C=this.calcSelectionArea()[1],j=C.x,A=C.y,S=C.width,E=C.height,P=d+h;if("horizontal"===a){var R=P+v/2;O="start"===t?j-P-v>0?-R:R:k-j-S-P>v?R:-R}else{var T=b+P;w="start"===t?A-h>b?-T:P:M-(A+E)-h>b?T:-P}return{x:O,y:w,text:g}},e.prototype.getHandleLabelStyle=function(t){var e=(0,c.zs)(this.attributes,"handleLabel");return(0,r.pi)((0,r.pi)((0,r.pi)({},e),this.calcHandleText(t)),this.inferTextStyle(t))},e.prototype.getHandleIconStyle=function(){var t=this.attributes.handleIconShape,e=(0,c.zs)(this.attributes,"handleIcon"),n=this.getOrientVal(["ew-resize","ns-resize"]),i=this.getHandleSize();return(0,r.pi)({cursor:n,shape:t,size:i},e)},e.prototype.getHandleStyle=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.showLabel,o=e.showLabelOnInteraction,l=e.orientation,s=this.calcHandlePosition(t),u=s.x,f=s.y,d=this.calcHandleText(t),h=a;return!a&&o&&(h=!!this.target),(0,r.pi)((0,r.pi)((0,r.pi)({},(0,c.dq)(this.getHandleIconStyle(),"icon")),(0,c.dq)((0,r.pi)((0,r.pi)({},this.getHandleLabelStyle(t)),d),"label")),{transform:"translate(".concat(u+n,", ").concat(f+i,")"),orientation:l,showLabel:h,type:t,zIndex:3})},e.prototype.getHandleSize=function(){var t=this.attributes,e=t.handleIconSize,n=t.width,r=t.height;return e||Math.floor((this.getOrientVal([+r,+n])+4)/2.4)},e.prototype.getOrientVal=function(t){var e=(0,r.CR)(t,2),n=e[0],i=e[1];return"horizontal"===this.attributes.orientation?n:i},e.prototype.setValuesOffset=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=!1);var i=this.attributes.type,a=(0,r.CR)(this.getValues(),2),o=[a[0]+("range"===i?t:0),a[1]+e].sort();n?this.setValues(o):this.innerSetValues(o,!0)},e.prototype.getRatio=function(t){var e=this.availableSpace,n=e.width,r=e.height;return t/this.getOrientVal([n,r])},e.prototype.dispatchCustomEvent=function(t,e,n){var r=this;t.on(e,function(t){t.stopPropagation(),r.dispatchEvent(new i.Aw(n,{detail:t}))})},e.prototype.bindEvents=function(){this.addEventListener("wheel",this.onScroll);var t=this.brushArea;this.dispatchCustomEvent(t,"click","trackClick"),this.dispatchCustomEvent(t,"pointerenter","trackMouseenter"),this.dispatchCustomEvent(t,"pointerleave","trackMouseleave"),t.on("pointerdown",this.onDragStart("track"))},e.prototype.onScroll=function(t){if(this.attributes.scrollable){var e=t.deltaX,n=t.deltaY||e,r=this.getRatio(n);this.setValuesOffset(r,r,!0)}},e.tag="slider",e}(l.w)},44209:function(t,e,n){"use strict";n.d(e,{Dx:function(){return g},jY:function(){return h},li:function(){return d}});var r=n(33587),i=n(37776),a=n(85113),o=n(57345),l=n(70621),s=n(63502),c=n(44809),u=n(35328),f=(0,a.A)({text:"text"},"title");function d(t){return/\S+-\S+/g.test(t)?t.split("-").map(function(t){return t[0]}):t.length>2?[t[0]]:t.split("")}function h(t,e){var n=t.attributes,i=n.position,a=n.spacing,s=n.inset,c=n.text,u=t.getBBox(),f=e.getBBox(),h=d(i),p=(0,r.CR)((0,o.j)(c?a:0),4),g=p[0],m=p[1],y=p[2],v=p[3],b=(0,r.CR)((0,o.j)(s),4),x=b[0],O=b[1],w=b[2],_=b[3],k=(0,r.CR)([v+m,g+y],2),M=k[0],C=k[1],j=(0,r.CR)([_+O,x+w],2),A=j[0],S=j[1];if("l"===h[0])return new l.b(u.x,u.y,f.width+u.width+M+A,Math.max(f.height+S,u.height));if("t"===h[0])return new l.b(u.x,u.y,Math.max(f.width+A,u.width),f.height+u.height+C+S);var E=(0,r.CR)([e.attributes.width||f.width,e.attributes.height||f.height],2),P=E[0],R=E[1];return new l.b(f.x,f.y,P+u.width+M+A,R+u.height+C+S)}function p(t,e){var n=Object.entries(e).reduce(function(e,n){var i=(0,r.CR)(n,2),a=i[0],o=i[1];return t.node().attr(a)||(e[a]=o),e},{});t.styles(n)}var g=function(t){function e(e){return t.call(this,e,{text:"",width:0,height:0,fill:"#4a505a",fontWeight:"bold",fontSize:12,fontFamily:"sans-serif",inset:0,spacing:0,position:"top-left"})||this}return(0,r.ZT)(e,t),e.prototype.getAvailableSpace=function(){var t=this.attributes,e=t.width,n=t.height,i=t.position,a=t.spacing,s=t.inset,c=this.querySelector(f.text.class);if(!c)return new l.b(0,0,+e,+n);var u=c.getBBox(),h=u.width,p=u.height,g=(0,r.CR)((0,o.j)(a),4),m=g[0],y=g[1],v=g[2],b=g[3],x=(0,r.CR)([0,0,+e,+n],4),O=x[0],w=x[1],_=x[2],k=x[3],M=d(i);if(M.includes("i"))return new l.b(O,w,_,k);M.forEach(function(t,i){var a,o;"t"===t&&(w=(a=(0,r.CR)(0===i?[p+v,+n-p-v]:[0,+n],2))[0],k=a[1]),"r"===t&&(_=(0,r.CR)([+e-h-b],1)[0]),"b"===t&&(k=(0,r.CR)([+n-p-m],1)[0]),"l"===t&&(O=(o=(0,r.CR)(0===i?[h+y,+e-h-y]:[0,+e],2))[0],_=o[1])});var C=(0,r.CR)((0,o.j)(s),4),j=C[0],A=C[1],S=C[2],E=C[3],P=(0,r.CR)([E+A,j+S],2),R=P[0],T=P[1];return new l.b(O+E,w+j,_-R,k-T)},e.prototype.getBBox=function(){return this.title?this.title.getBBox():new l.b(0,0,0,0)},e.prototype.render=function(t,e){var n,i,a,o,l,h,g,m,y,v,b,x,O,w,_,k,M=this;t.width,t.height,t.position,t.spacing;var C=(0,r._T)(t,["width","height","position","spacing"]),j=(0,r.CR)((0,s.Hm)(C),1)[0],A=(l=t.width,h=t.height,g=t.position,y=(m=(0,r.CR)([+l/2,+h/2],2))[0],v=m[1],x=(b=(0,r.CR)([+y,+v,"center","middle"],4))[0],O=b[1],w=b[2],_=b[3],(k=d(g)).includes("l")&&(x=(n=(0,r.CR)([0,"start"],2))[0],w=n[1]),k.includes("r")&&(x=(i=(0,r.CR)([+l,"end"],2))[0],w=i[1]),k.includes("t")&&(O=(a=(0,r.CR)([0,"top"],2))[0],_=a[1]),k.includes("b")&&(O=(o=(0,r.CR)([+h,"bottom"],2))[0],_=o[1]),{x:x,y:O,textAlign:w,textBaseline:_}),S=A.x,E=A.y,P=A.textAlign,R=A.textBaseline;(0,c.z)(!!C.text,(0,u.Ys)(e),function(t){M.title=t.maybeAppendByClassName(f.text,"text").styles(j).call(p,{x:S,y:E,textAlign:P,textBaseline:R}).node()})},e}(i.w)},44082:function(t,e,n){"use strict";n.d(e,{u:function(){return f}});var r=n(33587);function i(t){var e=document.createElement("div");e.innerHTML=t;var n=e.childNodes[0];return n&&e.contains(n)&&e.removeChild(n),n}var a=n(37776),o=function(t,e){if(null==e){t.innerHTML="";return}t.replaceChildren?Array.isArray(e)?t.replaceChildren.apply(t,(0,r.ev)([],(0,r.CR)(e),!1)):t.replaceChildren(e):(t.innerHTML="",Array.isArray(e)?e.forEach(function(e){return t.appendChild(e)}):t.appendChild(e))},l=n(63502),s=n(70621);function c(t){return void 0===t&&(t=""),{CONTAINER:"".concat(t,"tooltip"),TITLE:"".concat(t,"tooltip-title"),LIST:"".concat(t,"tooltip-list"),LIST_ITEM:"".concat(t,"tooltip-list-item"),NAME:"".concat(t,"tooltip-list-item-name"),MARKER:"".concat(t,"tooltip-list-item-marker"),NAME_LABEL:"".concat(t,"tooltip-list-item-name-label"),VALUE:"".concat(t,"tooltip-list-item-value"),CROSSHAIR_X:"".concat(t,"tooltip-crosshair-x"),CROSSHAIR_Y:"".concat(t,"tooltip-crosshair-y")}}var u={overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"},f=function(t){function e(e){var n,i,a,o,l,s=this,f=null===(l=null===(o=e.style)||void 0===o?void 0:o.template)||void 0===l?void 0:l.prefixCls,d=c(f);return(s=t.call(this,e,{data:[],x:0,y:0,visibility:"visible",title:"",position:"bottom-right",offset:[5,5],enterable:!1,container:{x:0,y:0},bounding:null,template:{prefixCls:"",container:'
'),title:'
'),item:'
  • \n \n \n {name}\n \n {value}\n
  • ')},style:(void 0===(n=f)&&(n=""),a=c(n),(i={})[".".concat(a.CONTAINER)]={position:"absolute",visibility:"visible","z-index":8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)","background-color":"rgba(255, 255, 255, 0.96)","box-shadow":"0 6px 12px 0 rgba(0, 0, 0, 0.12)","border-radius":"4px",color:"rgba(0, 0, 0, 0.65)","font-size":"12px","line-height":"20px",padding:"12px","min-width":"120px","max-width":"360px","font-family":"Roboto-Regular"},i[".".concat(a.TITLE)]={color:"rgba(0, 0, 0, 0.45)"},i[".".concat(a.LIST)]={margin:"0px","list-style-type":"none",padding:"0px"},i[".".concat(a.LIST_ITEM)]={"list-style-type":"none",display:"flex","line-height":"2em","align-items":"center","justify-content":"space-between","white-space":"nowrap"},i[".".concat(a.MARKER)]={width:"8px",height:"8px","border-radius":"50%",display:"inline-block","margin-right":"4px"},i[".".concat(a.NAME)]={display:"flex","align-items":"center","max-width":"216px"},i[".".concat(a.NAME_LABEL)]=(0,r.pi)({flex:1},u),i[".".concat(a.VALUE)]=(0,r.pi)({display:"inline-block",float:"right",flex:1,"text-align":"right","min-width":"28px","margin-left":"30px",color:"rgba(0, 0, 0, 0.85)"},u),i[".".concat(a.CROSSHAIR_X)]={position:"absolute",width:"1px","background-color":"rgba(0, 0, 0, 0.25)"},i[".".concat(a.CROSSHAIR_Y)]={position:"absolute",height:"1px","background-color":"rgba(0, 0, 0, 0.25)"},i)})||this).timestamp=-1,s.prevCustomContentKey=s.attributes.contentKey,s.initShape(),s.render(s.attributes,s),s}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"HTMLTooltipElement",{get:function(){return this.element},enumerable:!1,configurable:!0}),e.prototype.getContainer=function(){return this.element},Object.defineProperty(e.prototype,"elementSize",{get:function(){return{width:this.element.offsetWidth,height:this.element.offsetHeight}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"HTMLTooltipItemsElements",{get:function(){var t=this.attributes,e=t.data,n=t.template;return e.map(function(t,e){var a,o=t.name,l=t.color,s=t.index,c=(0,r._T)(t,["name","color","index"]),u=(0,r.pi)({name:void 0===o?"":o,color:void 0===l?"black":l,index:null!=s?s:e},c);return i((a=n.item)&&u?a.replace(/\\?\{([^{}]+)\}/g,function(t,e){return"\\"===t.charAt(0)?t.slice(1):void 0===u[e]?"":u[e]}):a)})},enumerable:!1,configurable:!0}),e.prototype.render=function(t,e){this.renderHTMLTooltipElement(),this.updatePosition()},e.prototype.destroy=function(){var e;null===(e=this.element)||void 0===e||e.remove(),t.prototype.destroy.call(this)},e.prototype.show=function(t,e){var n=this;if(void 0!==t&&void 0!==e){var r="hidden"===this.element.style.visibility,i=function(){n.attributes.x=null!=t?t:n.attributes.x,n.attributes.y=null!=e?e:n.attributes.y,n.updatePosition()};r?this.closeTransition(i):i()}this.element.style.visibility="visible"},e.prototype.hide=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.attributes.enterable&&this.isCursorEntered(t,e)||(this.element.style.visibility="hidden")},e.prototype.initShape=function(){var t=this.attributes.template;this.element=i(t.container),this.id&&this.element.setAttribute("id",this.id)},e.prototype.renderCustomContent=function(){if(void 0===this.prevCustomContentKey||this.prevCustomContentKey!==this.attributes.contentKey){this.prevCustomContentKey=this.attributes.contentKey;var t=this.attributes.content;t&&("string"==typeof t?this.element.innerHTML=t:o(this.element,t))}},e.prototype.renderHTMLTooltipElement=function(){var t,e,n=this.attributes,r=n.template,i=n.title,a=n.enterable,s=n.style,u=n.content,f=c(r.prefixCls),d=this.element;if(this.element.style.pointerEvents=a?"auto":"none",u)this.renderCustomContent();else{i?(d.innerHTML=r.title,d.getElementsByClassName(f.TITLE)[0].innerHTML=i):null===(e=null===(t=d.getElementsByClassName(f.TITLE))||void 0===t?void 0:t[0])||void 0===e||e.remove();var h=this.HTMLTooltipItemsElements,p=document.createElement("ul");p.className=f.LIST,o(p,h);var g=this.element.querySelector(".".concat(f.LIST));g?g.replaceWith(p):d.appendChild(p)}(0,l.MC)(d,s)},e.prototype.getRelativeOffsetFromCursor=function(t){var e=this.attributes,n=e.position,i=e.offset,a=(t||n).split("-"),o={left:[-1,0],right:[1,0],top:[0,-1],bottom:[0,1]},l=this.elementSize,s=l.width,c=l.height,u=[-s/2,-c/2];return a.forEach(function(t){var e=(0,r.CR)(u,2),n=e[0],a=e[1],l=(0,r.CR)(o[t],2),f=l[0],d=l[1];u=[n+(s/2+i[0])*f,a+(c/2+i[1])*d]}),u},e.prototype.setOffsetPosition=function(t){var e=(0,r.CR)(t,2),n=e[0],i=e[1],a=this.attributes,o=a.x,l=a.y,s=a.container,c=s.x,u=s.y;this.element.style.left="".concat(+(void 0===o?0:o)+c+n,"px"),this.element.style.top="".concat(+(void 0===l?0:l)+u+i,"px")},e.prototype.updatePosition=function(){var t=this.attributes.showDelay,e=Date.now();this.timestamp>0&&e-this.timestamp<(void 0===t?60:t)||(this.timestamp=e,this.setOffsetPosition(this.autoPosition(this.getRelativeOffsetFromCursor())))},e.prototype.autoPosition=function(t){var e=(0,r.CR)(t,2),n=e[0],i=e[1],a=this.attributes,o=a.x,l=a.y,s=a.bounding,c=a.position;if(!s)return[n,i];var u=this.element,f=u.offsetWidth,d=u.offsetHeight,h=(0,r.CR)([+o+n,+l+i],2),p=h[0],g=h[1],m={left:"right",right:"left",top:"bottom",bottom:"top"},y=s.x,v=s.y,b={left:py+s.width,top:gv+s.height},x=[];c.split("-").forEach(function(t){b[t]?x.push(m[t]):x.push(t)});var O=x.join("-");return this.getRelativeOffsetFromCursor(O)},e.prototype.isCursorEntered=function(t,e){if(this.element){var n=this.element.getBoundingClientRect(),r=n.x,i=n.y,a=n.width,o=n.height;return new s.b(r,i,a,o).isPointIn(t,e)}return!1},e.prototype.closeTransition=function(t){var e=this,n=this.element.style.transition;this.element.style.transition="none",t(),setTimeout(function(){e.element.style.transition=n},10)},e.tag="tooltip",e}(a.w)},70621:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var r=function(){function t(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),this.x=0,this.y=0,this.width=0,this.height=0,this.x=t,this.y=e,this.width=n,this.height=r}return Object.defineProperty(t.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.y},enumerable:!1,configurable:!0}),t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t.prototype.toJSON=function(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.top,right:this.right,bottom:this.bottom,left:this.left}},t.prototype.isPointIn=function(t,e){return t>=this.left&&t<=this.right&&e>=this.top&&e<=this.bottom},t}()},92378:function(t,e,n){"use strict";n.d(e,{S:function(){return a}});var r=n(33587),i=n(7258);function a(t,e){return(0,i.Z)(t)?t.apply(void 0,(0,r.ev)([],(0,r.CR)(e),!1)):t}},85113:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(33587),i=function(t,e){var n=function(t){return"".concat(e,"-").concat(t)},i=Object.fromEntries(Object.entries(t).map(function(t){var e=(0,r.CR)(t,2),i=e[0],a=n(e[1]);return[i,{name:a,class:".".concat(a),id:"#".concat(a),toString:function(){return a}}]}));return Object.assign(i,{prefix:n}),i}},51502:function(t,e,n){"use strict";n.d(e,{n:function(){return l}});var r=n(33587),i=n(23112),a=n(23641),o=function(t,e,n,l){void 0===n&&(n=0),void 0===l&&(l=5),Object.entries(e).forEach(function(s){var c=(0,r.CR)(s,2),u=c[0],f=c[1];Object.prototype.hasOwnProperty.call(e,u)&&(f?(0,i.Z)(f)?((0,i.Z)(t[u])||(t[u]={}),n="A"&&n<="Z"};function s(t,e,n){void 0===n&&(n=!1);var o={};return Object.entries(t).forEach(function(t){var s=(0,r.CR)(t,2),c=s[0],u=s[1];if("className"===c||"class"===c);else if(l(c,"show")&&l(a(c,"show"),e)!==n)c==="".concat("show").concat(i(e))?o[c]=u:o[c.replace(new RegExp(i(e)),"")]=u;else if(!l(c,"show")&&l(c,e)!==n){var f=a(c,e);"filter"===f&&"function"==typeof u||(o[f]=u)}}),o}function c(t,e){return Object.entries(t).reduce(function(t,n){var a=(0,r.CR)(n,2),o=a[0],l=a[1];return o.startsWith("show")?t["show".concat(e).concat(o.slice(4))]=l:t["".concat(e).concat(i(o))]=l,t},{})}function u(t,e){void 0===e&&(e=["x","y","class","className"]);var n=["transform","transformOrigin","anchor","visibility","pointerEvents","zIndex","cursor","clipPath","clipPathTargets","offsetPath","offsetPathTargets","offsetDistance","draggable","droppable"],i={},a={};return Object.entries(t).forEach(function(t){var o=(0,r.CR)(t,2),l=o[0],s=o[1];e.includes(l)||(-1!==n.indexOf(l)?a[l]=s:i[l]=s)}),[i,a]}},38558:function(t,e,n){"use strict";n.d(e,{Rm:function(){return u},qT:function(){return s},Ux:function(){return l},U4:function(){return c}});var r,i,a=n(74747),o=n(7258),l=function(t,e,n){if(void 0===n&&(n=128),!(0,o.Z)(t))throw TypeError("Expected a function");var r=function(){for(var n=[],i=0;ii&&(r=n,o(1),++e),n[t]=a}function o(t){e=0,n=Object.create(null),t||(r=Object.create(null))}return o(),{clear:o,has:function(t){return void 0!==n[t]||void 0!==r[t]},get:function(t){var e=n[t];return void 0!==e?e:void 0!==(e=r[t])?(a(t,e),e):void 0},set:function(t,e){void 0!==n[t]?n[t]=e:a(t,e)}}}(n),r}(function(t,e){var n=e.fontSize,o=e.fontFamily,l=e.fontWeight,s=e.fontStyle,c=e.fontVariant;return i?i(t,n):(r||(r=a.GZ.offscreenCanvasCreator.getOrCreateContext(void 0)),r.font=[s,c,l,"".concat(n,"px"),o].join(" "),r.measureText(t).width)},function(t,e){return[t,Object.values(e||s(t)).join()].join("")},4096),s=function(t){var e=t.style.fontFamily||"sans-serif",n=t.style.fontWeight||"normal",r=t.style.fontStyle||"normal",i=t.style.fontVariant,a=t.style.fontSize;return{fontSize:a="object"==typeof a?a.value:a,fontFamily:e,fontWeight:n,fontStyle:r,fontVariant:i}};function c(t){return"text"===t.nodeName?t:"g"===t.nodeName&&1===t.children.length&&"text"===t.children[0].nodeName?t.children[0]:null}function u(t,e){var n=c(t);n&&n.attr(e)}},78500:function(t,e,n){"use strict";function r(t){a(t,!0)}function i(t){a(t,!1)}function a(t,e){var n=e?"visible":"hidden";!function t(e,n){n(e),e.children&&e.children.forEach(function(e){e&&t(e,n)})}(t,function(t){t.attr("visibility",n)})}n.d(e,{Cp:function(){return i},$Z:function(){return r},WD:function(){return a}})},83111:function(t,e){!function(t){"use strict";function e(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&r>=t.length?void 0:t)&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function n(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),o=[];try{for(;(void 0===e||0n=>t(e(n)),t)}function k(t,e){return e-t?n=>(n-t)/(e-t):t=>.5}T=new p(3),p!=Float32Array&&(T[0]=0,T[1]=0,T[2]=0),T=new p(4),p!=Float32Array&&(T[0]=0,T[1]=0,T[2]=0,T[3]=0);let M=Math.sqrt(50),C=Math.sqrt(10),j=Math.sqrt(2);function A(t,e,n){return t=Math.floor(Math.log(e=(e-t)/Math.max(0,n))/Math.LN10),n=e/10**t,0<=t?(n>=M?10:n>=C?5:n>=j?2:1)*10**t:-(10**-t)/(n>=M?10:n>=C?5:n>=j?2:1)}let S=(t,e,n=5)=>{let r=0,i=(t=[t,e]).length-1,a=t[r],o=t[i],l;return o{n.prototype.rescale=function(){this.initRange(),this.nice();var[t]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t))},n.prototype.initRange=function(){var e=this.options.interpolator;this.options.range=t(e)},n.prototype.composeOutput=function(t,n){var{domain:r,interpolator:i,round:a}=this.getOptions(),r=e(r.map(t)),a=a?t=>l(t=i(t),"Number")?Math.round(t):t:i;this.output=_(a,r,n,t)},n.prototype.invert=void 0}}var R,T={exports:{}},L={exports:{}},I=Array.prototype.concat,N=Array.prototype.slice,B=L.exports=function(t){for(var e=[],n=0,r=t.length;nn=>t*(1-n)+e*n,U=(t,e)=>{if("number"==typeof t&&"number"==typeof e)return V(t,e);if("string"!=typeof t||"string"!=typeof e)return()=>t;{let n=Y(t),r=Y(e);return null===n||null===r?n?()=>t:()=>e:t=>{var e=[,,,,];for(let o=0;o<4;o+=1){var i=n[o],a=r[o];e[o]=i*(1-t)+a*t}var[o,l,s,c]=e;return`rgba(${Math.round(o)}, ${Math.round(l)}, ${Math.round(s)}, ${c})`}}},Q=(t,e)=>{let n=V(t,e);return t=>Math.round(n(t))};function X({map:t,initKey:e},n){return e=e(n),t.has(e)?t.get(e):n}function K(t){return"object"==typeof t?t.valueOf():t}class J extends Map{constructor(t){if(super(),this.map=new Map,this.initKey=K,null!==t)for(var[e,n]of t)this.set(e,n)}get(t){return super.get(X({map:this.map,initKey:this.initKey},t))}has(t){return super.has(X({map:this.map,initKey:this.initKey},t))}set(t,e){var n,r;return super.set(([{map:t,initKey:n},r]=[{map:this.map,initKey:this.initKey},t],n=n(r),t.has(n)?t.get(n):(t.set(n,r),r)),e)}delete(t){var e,n;return super.delete(([{map:t,initKey:e},n]=[{map:this.map,initKey:this.initKey},t],e=e(n),t.has(e)&&(n=t.get(e),t.delete(e)),n))}}class tt{constructor(t){this.options=f({},this.getDefaultOptions()),this.update(t)}getOptions(){return this.options}update(t={}){this.options=f({},this.options,t),this.rescale(t)}rescale(t){}}let te=Symbol("defaultUnknown");function tn(t,e,n){for(let r=0;r""+t:"object"==typeof t?t=>JSON.stringify(t):t=>t}class ta extends tt{getDefaultOptions(){return{domain:[],range:[],unknown:te}}constructor(t){super(t)}map(t){return 0===this.domainIndexMap.size&&tn(this.domainIndexMap,this.getDomain(),this.domainKey),tr({value:this.domainKey(t),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(t){return 0===this.rangeIndexMap.size&&tn(this.rangeIndexMap,this.getRange(),this.rangeKey),tr({value:this.rangeKey(t),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(t){var[e]=this.options.domain,[n]=this.options.range;this.domainKey=ti(e),this.rangeKey=ti(n),this.rangeIndexMap?(t&&!t.range||this.rangeIndexMap.clear(),(!t||t.domain||t.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)):(this.rangeIndexMap=new Map,this.domainIndexMap=new Map)}clone(){return new ta(this.options)}getRange(){return this.options.range}getDomain(){var t,e;return this.sortedDomain||({domain:t,compare:e}=this.options,this.sortedDomain=e?[...t].sort(e):t),this.sortedDomain}}class to extends ta{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:te,flex:[]}}constructor(t){super(t)}clone(){return new to(this.options)}getStep(t){return void 0===this.valueStep?1:"number"==typeof this.valueStep?this.valueStep:void 0===t?Array.from(this.valueStep.values())[0]:this.valueStep.get(t)}getBandWidth(t){return void 0===this.valueBandWidth?1:"number"==typeof this.valueBandWidth?this.valueBandWidth:void 0===t?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(t)}getRange(){return this.adjustedRange}getPaddingInner(){var{padding:t,paddingInner:e}=this.options;return 0t/e)}(c),p=f/h.reduce((t,e)=>t+e);var c=new J(e.map((t,e)=>(e=h[e]*p,[t,o?Math.floor(e):e]))),g=new J(e.map((t,e)=>(e=h[e]*p+d,[t,o?Math.floor(e):e]))),f=Array.from(g.values()).reduce((t,e)=>t+e),t=t+(u-(f-f/s*i))*l;let m=o?Math.round(t):t;var y=Array(s);for(let t=0;ts+e*o),{valueStep:o,valueBandWidth:l,adjustedRange:t}}({align:t,range:n,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:e});this.valueStep=r,this.valueBandWidth=n,this.adjustedRange=t}}let tl=(t,e,n)=>{let r,i,a=t,o=e;if(a===o&&0{let r;var[t,i]=t,[e,a]=e;return _(t{let r=Math.min(t.length,e.length)-1,i=Array(r),a=Array(r);var o=t[0]>t[r],l=o?[...t].reverse():t,s=o?[...e].reverse():e;for(let t=0;t{var n=function(t,e,n,r,i){let a=1,o=r||t.length;for(var l=t=>t;ae?o=s:a=s+1}return a}(t,e,0,r)-1,o=i[n];return _(a[n],o)(e)}},tu=(t,e,n,r)=>(2Math.min(Math.max(r,t),i)}return d}composeOutput(t,e){var{domain:n,range:r,round:i,interpolate:a}=this.options,n=tu(n.map(t),r,a,i);this.output=_(n,e,t)}composeInput(t,e,n){var{domain:r,range:i}=this.options,i=tu(i,r.map(t),V);this.input=_(e,n,i)}}class td extends tf{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:U,tickMethod:tl,tickCount:5}}chooseTransforms(){return[d,d]}clone(){return new td(this.options)}}class th extends to{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:te,paddingInner:1,paddingOuter:0}}constructor(t){super(t)}getPaddingInner(){return 1}clone(){return new th(this.options)}update(t){super.update(t)}getPaddingOuter(){return this.options.padding}}function tp(t,e){for(var n=[],r=0,i=t.length;r{var[t,e]=t;return _(V(0,1),k(t,e))})],ty);let tv=a=class extends td{getDefaultOptions(){return{domain:[0,.5,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:d,tickMethod:tl,tickCount:5}}constructor(t){super(t)}clone(){return new a(this.options)}};function tb(t,e,r,i,a){var o=new td({range:[e,e+i]}),l=new td({range:[r,r+a]});return{transform:function(t){var t=n(t,2),e=t[0],t=t[1];return[o.map(e),l.map(t)]},untransform:function(t){var t=n(t,2),e=t[0],t=t[1];return[o.invert(e),l.invert(t)]}}}function tx(t,e,r,i,a){return(0,n(t,1)[0])(e,r,i,a)}function tO(t,e,r,i,a){return n(t,1)[0]}function tw(t,e,r,i,a){var o=(t=n(t,4))[0],l=t[1],s=t[2],t=t[3],c=new td({range:[s,t]}),u=new td({range:[o,l]}),f=1<(s=a/i)?1:s,d=1{let[e,n,r]=t,i=_(V(0,.5),k(e,n)),a=_(V(.5,1),k(n,r));return t=>(e>r?tc&&(c=p)}for(var g=Math.atan(r/(n*Math.tan(i))),m=1/0,y=-1/0,v=[a,o],f=-(2*Math.PI);f<=2*Math.PI;f+=Math.PI){var b=g+f;ay&&(y=O)}return{x:s,y:m,width:c-s,height:y-m}}function c(t,e,n,i,a,l){var s=-1,c=1/0,u=[n,i],f=20;l&&l>200&&(f=l/10);for(var d=1/f,h=d/10,p=0;p<=f;p++){var g=p*d,m=[a.apply(void 0,(0,r.ev)([],(0,r.CR)(t.concat([g])),!1)),a.apply(void 0,(0,r.ev)([],(0,r.CR)(e.concat([g])),!1))],y=o(u[0],u[1],m[0],m[1]);y=0&&y=0&&a<=1&&f.push(a);else{var d=c*c-4*s*u;(0,i.Z)(d,0)?f.push(-c/(2*s)):d>0&&(a=(-c+(l=Math.sqrt(d)))/(2*s),o=(-c-l)/(2*s),a>=0&&a<=1&&f.push(a),o>=0&&o<=1&&f.push(o))}return f}function g(t,e,n,r,i,a,o,s){for(var c=[t,o],u=[e,s],f=p(t,n,i,o),d=p(e,r,a,s),g=0;g=0?[a]:[]}function x(t,e,n,r,i,a){var o=b(t,n,i)[0],s=b(e,r,a)[0],c=[t,i],u=[e,a];return void 0!==o&&c.push(v(t,n,i,o)),void 0!==s&&u.push(v(e,r,a,s)),l(c,u)}function O(t,e,n,r,i,a,l,s){var u=c([t,n,i],[e,r,a],l,s,v);return o(u.x,u.y,l,s)}},22013:function(t,e,n){"use strict";n.d(e,{S:function(){return h}});var r=n(33587),i=n(28714),a=n(1006);function o(t,e){var n=e.cx,r=void 0===n?0:n,i=e.cy,a=void 0===i?0:i,o=e.r;t.arc(r,a,o,0,2*Math.PI,!1)}function l(t,e){var n=e.cx,r=void 0===n?0:n,i=e.cy,a=void 0===i?0:i,o=e.rx,l=e.ry;if(t.ellipse)t.ellipse(r,a,o,l,0,0,2*Math.PI,!1);else{var s=o>l?o:l,c=o>l?1:o/l,u=o>l?l/o:1;t.save(),t.scale(c,u),t.arc(r,a,s,0,2*Math.PI)}}function s(t,e){var n,r=e.x1,a=e.y1,o=e.x2,l=e.y2,s=e.markerStart,c=e.markerEnd,u=e.markerStartOffset,f=e.markerEndOffset,d=0,h=0,p=0,g=0,m=0;s&&(0,i.RV)(s)&&u&&(d=Math.cos(m=Math.atan2(l-a,o-r))*(u||0),h=Math.sin(m)*(u||0)),c&&(0,i.RV)(c)&&f&&(p=Math.cos(m=Math.atan2(a-l,r-o))*(f||0),g=Math.sin(m)*(f||0)),t.moveTo(r+d,a+h),t.lineTo(o+p,l+g)}function c(t,e){var n,a=e.markerStart,o=e.markerEnd,l=e.markerStartOffset,s=e.markerEndOffset,c=e.d,u=c.absolutePath,f=c.segments,d=0,h=0,p=0,g=0,m=0;if(a&&(0,i.RV)(a)&&l){var y=(0,r.CR)(a.parentNode.getStartTangent(),2),v=y[0],b=y[1];n=v[0]-b[0],d=Math.cos(m=Math.atan2(v[1]-b[1],n))*(l||0),h=Math.sin(m)*(l||0)}if(o&&(0,i.RV)(o)&&s){var x=(0,r.CR)(o.parentNode.getEndTangent(),2),v=x[0],b=x[1];n=v[0]-b[0],p=Math.cos(m=Math.atan2(v[1]-b[1],n))*(s||0),g=Math.sin(m)*(s||0)}for(var O=0;OP?E:P,B=E>P?1:E/P,D=E>P?P/E:1;t.translate(A,S),t.rotate(L),t.scale(B,D),t.arc(0,0,N,R,T,!!(1-I)),t.scale(1/B,1/D),t.rotate(-L),t.translate(-A,-S)}C&&t.lineTo(w[6]+p,w[7]+g);break;case"Z":t.closePath()}}}function u(t,e){var n,r=e.markerStart,a=e.markerEnd,o=e.markerStartOffset,l=e.markerEndOffset,s=e.points.points,c=s.length,u=s[0][0],f=s[0][1],d=s[c-1][0],h=s[c-1][1],p=0,g=0,m=0,y=0,v=0;r&&(0,i.RV)(r)&&o&&(n=s[1][0]-s[0][0],p=Math.cos(v=Math.atan2(s[1][1]-s[0][1],n))*(o||0),g=Math.sin(v)*(o||0)),a&&(0,i.RV)(a)&&l&&(n=s[c-1][0]-s[0][0],m=Math.cos(v=Math.atan2(s[c-1][1]-s[0][1],n))*(l||0),y=Math.sin(v)*(l||0)),t.moveTo(u+(p||m),f+(g||y));for(var b=1;b0?1:-1,d=u>0?1:-1,h=f+d===0,p=(0,r.CR)(s.map(function(t){return(0,a.Z)(t,0,Math.min(Math.abs(c)/2,Math.abs(u)/2))}),4),g=p[0],m=p[1],y=p[2],v=p[3];t.moveTo(f*g+i,l),t.lineTo(c-f*m+i,l),0!==m&&t.arc(c-f*m+i,d*m+l,m,-d*Math.PI/2,f>0?0:Math.PI,h),t.lineTo(c+i,u-d*y+l),0!==y&&t.arc(c-f*y+i,u-d*y+l,y,f>0?0:Math.PI,d>0?Math.PI/2:1.5*Math.PI,h),t.lineTo(f*v+i,u+l),0!==v&&t.arc(f*v+i,u-d*v+l,v,d>0?Math.PI/2:-Math.PI/2,f>0?Math.PI:0,h),t.lineTo(i,d*g+l),0!==g&&t.arc(f*g+i,d*g+l,g,f>0?Math.PI:0,d>0?1.5*Math.PI:Math.PI/2,h)}else t.rect(i,l,c,u)}var h=function(t){function e(){var e=t.apply(this,(0,r.ev)([],(0,r.CR)(arguments),!1))||this;return e.name="canvas-path-generator",e}return(0,r.ZT)(e,t),e.prototype.init=function(){var t,e=((t={})[i.bn.CIRCLE]=o,t[i.bn.ELLIPSE]=l,t[i.bn.RECT]=d,t[i.bn.LINE]=s,t[i.bn.POLYLINE]=f,t[i.bn.POLYGON]=u,t[i.bn.PATH]=c,t[i.bn.TEXT]=void 0,t[i.bn.GROUP]=void 0,t[i.bn.IMAGE]=void 0,t[i.bn.HTML]=void 0,t[i.bn.MESH]=void 0,t);this.context.pathGeneratorFactory=e},e.prototype.destroy=function(){delete this.context.pathGeneratorFactory},e}(i.F6)},95021:function(t,e,n){"use strict";n.d(e,{S:function(){return E}});var r=n(33587),i=n(28714),a=n(67495),o=n(44178),l=n(56310),s=n(58963),c=n(1006),u=a.Ue(),f=a.Ue(),d=a.Ue(),h=o.create(),p=function(){function t(){var t=this;this.isHit=function(e,n,r,l){var s=t.context.pointInPathPickerFactory[e.nodeName];if(s){var c=o.invert(h,r),u=a.fF(f,a.t8(d,n[0],n[1],0),c);if(s(e,new i.E9(u[0],u[1]),l,t.isPointInPath,t.context,t.runtime))return!0}return!1},this.isPointInPath=function(e,n){var r=t.runtime.offscreenCanvasCreator.getOrCreateContext(t.context.config.offscreenCanvas),i=t.context.pathGeneratorFactory[e.nodeName];return i&&(r.beginPath(),i(r,e.parsedStyle),r.closePath()),r.isPointInPath(n.x,n.y)}}return t.prototype.apply=function(e,n){var i,a=this,o=e.renderingService,l=e.renderingContext;this.context=e,this.runtime=n;var s=null===(i=l.root)||void 0===i?void 0:i.ownerDocument;o.hooks.pick.tapPromise(t.tag,function(t){return(0,r.mG)(a,void 0,void 0,function(){return(0,r.Jh)(this,function(e){return[2,this.pick(s,t)]})})}),o.hooks.pickSync.tap(t.tag,function(t){return a.pick(s,t)})},t.prototype.pick=function(t,e){var n,o,l=e.topmost,s=e.position,c=s.x,f=s.y,d=a.t8(u,c,f,0),h=t.elementsFromBBox(d[0],d[1],d[0],d[1]),p=[];try{for(var g=(0,r.XA)(h),m=g.next();!m.done;m=g.next()){var y=m.value,v=y.getWorldTransform();if(this.isHit(y,d,v,!1)){var b=(0,i.Oi)(y);if(b){var x=b.parsedStyle.clipPath;if(this.isHit(x,d,x.getWorldTransform(),!0)){if(l)return e.picked=[y],e;p.push(y)}}else{if(l)return e.picked=[y],e;p.push(y)}}}}catch(t){n={error:t}}finally{try{m&&!m.done&&(o=g.return)&&o.call(g)}finally{if(n)throw n.error}}return e.picked=p,e},t.tag="CanvasPicker",t}();function g(t,e,n){var a=t.parsedStyle,o=a.cx,s=a.cy,c=a.r,u=a.fill,f=a.stroke,d=a.lineWidth,h=a.increasedLineWidthForHitTesting,p=a.pointerEvents,g=((void 0===d?1:d)+(void 0===h?0:h))/2,m=(0,l.TE)(void 0===o?0:o,void 0===s?0:s,e.x,e.y),y=(0,r.CR)((0,i.L1)(void 0===p?"auto":p,u,f),2),v=y[0],b=y[1];return v&&b||n?m<=c+g:v?m<=c:!!b&&m>=c-g&&m<=c+g}function m(t,e,n){var a,o,l,s,c,u,f=t.parsedStyle,d=f.cx,h=void 0===d?0:d,p=f.cy,g=void 0===p?0:p,m=f.rx,y=f.ry,v=f.fill,b=f.stroke,x=f.lineWidth,O=f.increasedLineWidthForHitTesting,w=f.pointerEvents,_=e.x,k=e.y,M=(0,r.CR)((0,i.L1)(void 0===w?"auto":w,v,b),2),C=M[0],j=M[1],A=((void 0===x?1:x)+(void 0===O?0:O))/2,S=(_-h)*(_-h),E=(k-g)*(k-g);return C&&j||n?1>=S/((a=m+A)*a)+E/((o=y+A)*o):C?1>=S/(m*m)+E/(y*y):!!j&&S/((l=m-A)*l)+E/((s=y-A)*s)>=1&&1>=S/((c=m+A)*c)+E/((u=y+A)*u)}function y(t,e,n,r,i,a){return i>=t&&i<=t+n&&a>=e&&a<=e+r}function v(t,e,n,r,i,a,o,s){var c=(Math.atan2(s-e,o-t)+2*Math.PI)%(2*Math.PI),u={x:t+n*Math.cos(c),y:e+n*Math.sin(c)};return(0,l.TE)(u.x,u.y,o,s)<=a/2}function b(t,e,n,r,i,a,o){var s=Math.min(t,n),c=Math.max(t,n),u=Math.min(e,r),f=Math.max(e,r),d=i/2;return a>=s-d&&a<=c+d&&o>=u-d&&o<=f+d&&(0,l._x)(t,e,n,r,a,o)<=i/2}function x(t,e,n,r,i){var a=t.length;if(a<2)return!1;for(var o=0;oMath.abs(t)?0:t<0?-1:1}function w(t,e,n){var r=!1,i=t.length;if(i<=2)return!1;for(var a=0;a0!=O(s[1]-n)>0&&0>O(e-(n-l[1])*(l[0]-s[0])/(l[1]-s[1])-l[0])&&(r=!r)}return r}function _(t,e,n){for(var r=!1,i=0;is&&h/d>c,e&&(e.resetTransform?e.resetTransform():e.setTransform(1,0,0,1,0,0),a.clearFullScreen&&a.clearRect(e,0,0,r*n,i*n,o.background))});var v=function(t,e){t.isVisible()&&!t.isCulled()&&a.renderDisplayObject(t,e,a.context,a.restoreStack,n),(t.sortable.sorted||t.childNodes).forEach(function(t){v(t,e)})};u.hooks.endFrame.tap(t.tag,function(){if(0===f.root.childNodes.length){a.clearFullScreenLastFrame=!0;return}a.clearFullScreenLastFrame=!1;var t=p.getContext(),e=p.getDPR();if(l.fromScaling(a.dprMatrix,[e,e,1]),l.multiply(a.vpMatrix,a.dprMatrix,c.getOrthoMatrix()),a.clearFullScreen)v(f.root,t);else{var u=a.safeMergeAABB.apply(a,(0,r.ev)([a.mergeDirtyAABBs(a.renderQueue)],(0,r.CR)(a.removedRBushNodeAABBs.map(function(t){var e=t.minX,n=t.minY,r=t.maxX,a=t.maxY,o=new i.mN;return o.setMinMax([e,n,0],[r,a,0]),o})),!1));if(a.removedRBushNodeAABBs=[],i.mN.isEmpty(u)){a.renderQueue=[];return}var d=a.convertAABB2Rect(u),h=d.x,m=d.y,y=d.width,b=d.height,x=s.fF(a.vec3a,[h,m,0],a.vpMatrix),O=s.fF(a.vec3b,[h+y,m,0],a.vpMatrix),w=s.fF(a.vec3c,[h,m+b,0],a.vpMatrix),_=s.fF(a.vec3d,[h+y,m+b,0],a.vpMatrix),k=Math.min(x[0],O[0],_[0],w[0]),M=Math.min(x[1],O[1],_[1],w[1]),C=Math.max(x[0],O[0],_[0],w[0]),j=Math.max(x[1],O[1],_[1],w[1]),A=Math.floor(k),S=Math.floor(M),E=Math.ceil(C-k),P=Math.ceil(j-M);t.save(),a.clearRect(t,A,S,E,P,o.background),t.beginPath(),t.rect(A,S,E,P),t.clip(),t.setTransform(a.vpMatrix[0],a.vpMatrix[1],a.vpMatrix[4],a.vpMatrix[5],a.vpMatrix[12],a.vpMatrix[13]),o.renderer.getConfig().enableDirtyRectangleRenderingDebug&&g.dispatchEvent(new i.Aw(i.$6.DIRTY_RECTANGLE,{dirtyRect:{x:A,y:S,width:E,height:P}})),a.searchDirtyObjects(u).sort(function(t,e){return t.sortable.renderOrder-e.sortable.renderOrder}).forEach(function(e){e&&e.isVisible()&&!e.isCulled()&&a.renderDisplayObject(e,t,a.context,a.restoreStack,n)}),t.restore(),a.renderQueue.forEach(function(t){a.saveDirtyAABB(t)}),a.renderQueue=[]}a.restoreStack.forEach(function(){t.restore()}),a.restoreStack=[]}),u.hooks.render.tap(t.tag,function(t){a.clearFullScreen||a.renderQueue.push(t)})},t.prototype.clearRect=function(t,e,n,r,i,a){t.clearRect(e,n,r,i),a&&(t.fillStyle=a,t.fillRect(e,n,r,i))},t.prototype.renderDisplayObject=function(t,e,n,r,a){var o=t.nodeName,l=r[r.length-1];l&&!(t.compareDocumentPosition(l)&i.NB.DOCUMENT_POSITION_CONTAINS)&&(e.restore(),r.pop());var s=this.context.styleRendererFactory[o],c=this.pathGeneratorFactory[o],u=t.parsedStyle.clipPath;if(u){this.applyWorldTransform(e,u);var f=this.pathGeneratorFactory[u.nodeName];f&&(e.save(),r.push(t),e.beginPath(),f(e,u.parsedStyle),e.closePath(),e.clip())}s&&(this.applyWorldTransform(e,t),e.save(),this.applyAttributesToContext(e,t)),c&&(e.beginPath(),c(e,t.parsedStyle),t.nodeName!==i.bn.LINE&&t.nodeName!==i.bn.PATH&&t.nodeName!==i.bn.POLYLINE&&e.closePath()),s&&(s.render(e,t.parsedStyle,t,n,this,a),e.restore()),t.renderable.dirty=!1},t.prototype.convertAABB2Rect=function(t){var e=t.getMin(),n=t.getMax(),r=Math.floor(e[0]),i=Math.floor(e[1]);return{x:r,y:i,width:Math.ceil(n[0])-r,height:Math.ceil(n[1])-i}},t.prototype.mergeDirtyAABBs=function(t){var e=new i.mN;return t.forEach(function(t){var n=t.getRenderBounds();e.add(n);var r=t.renderable.dirtyRenderBounds;r&&e.add(r)}),e},t.prototype.searchDirtyObjects=function(t){var e=(0,r.CR)(t.getMin(),2),n=e[0],i=e[1],a=(0,r.CR)(t.getMax(),2),o=a[0],l=a[1];return this.rBush.search({minX:n,minY:i,maxX:o,maxY:l}).map(function(t){return t.displayObject})},t.prototype.saveDirtyAABB=function(t){var e=t.renderable;e.dirtyRenderBounds||(e.dirtyRenderBounds=new i.mN);var n=t.getRenderBounds();n&&e.dirtyRenderBounds.update(n.center,n.halfExtents)},t.prototype.applyAttributesToContext=function(t,e){var n=e.parsedStyle,r=n.stroke,i=n.fill,o=n.opacity,l=n.lineDash,s=n.lineDashOffset;l&&t.setLineDash(l),(0,a.Z)(s)||(t.lineDashOffset=s),(0,a.Z)(o)||(t.globalAlpha*=o),(0,a.Z)(r)||Array.isArray(r)||r.isNone||(t.strokeStyle=e.attributes.stroke),(0,a.Z)(i)||Array.isArray(i)||i.isNone||(t.fillStyle=e.attributes.fill)},t.prototype.applyWorldTransform=function(t,e,n){n?(l.copy(this.tmpMat4,e.getLocalTransform()),l.multiply(this.tmpMat4,n,this.tmpMat4),l.multiply(this.tmpMat4,this.vpMatrix,this.tmpMat4)):(l.copy(this.tmpMat4,e.getWorldTransform()),l.multiply(this.tmpMat4,this.vpMatrix,this.tmpMat4)),t.setTransform(this.tmpMat4[0],this.tmpMat4[1],this.tmpMat4[4],this.tmpMat4[5],this.tmpMat4[12],this.tmpMat4[13])},t.prototype.safeMergeAABB=function(){for(var t=[],e=0;e0,S=(null==s?void 0:s.alpha)===0,E=!!(M&&M.length),P=!(0,a.Z)(_)&&k>0,R=n.nodeName,T="inner"===w,L=A&&P&&(R===i.bn.PATH||R===i.bn.LINE||R===i.bn.POLYLINE||S||T);j&&(t.globalAlpha=d*(void 0===h?1:h),L||f(n,t,P),p(t,n,s,c,r,o,l,this.imagePool),L||this.clearShadowAndFilter(t,E,P)),A&&(t.globalAlpha=d*(void 0===y?1:y),t.lineWidth=b,(0,a.Z)(C)||(t.miterLimit=C),(0,a.Z)(x)||(t.lineCap=x),(0,a.Z)(O)||(t.lineJoin=O),L&&(T&&(t.globalCompositeOperation="source-atop"),f(n,t,!0),T&&(g(t,n,m,r,o,l,this.imagePool),t.globalCompositeOperation="source-over",this.clearShadowAndFilter(t,E,!0))),g(t,n,m,r,o,l,this.imagePool))},t.prototype.clearShadowAndFilter=function(t,e,n){if(n&&(t.shadowColor="transparent",t.shadowBlur=0),e){var r=t.filter;!(0,a.Z)(r)&&r.indexOf("drop-shadow")>-1&&(t.filter=r.replace(/drop-shadow\([^)]*\)/,"").trim()||"none")}},t}();function f(t,e,n){var r=t.parsedStyle,i=r.filter,a=r.shadowColor,o=r.shadowBlur,l=r.shadowOffsetX,s=r.shadowOffsetY;i&&i.length&&(e.filter=t.style.filter),n&&(e.shadowColor=a.toString(),e.shadowBlur=o||0,e.shadowOffsetX=l||0,e.shadowOffsetY=s||0)}function d(t,e,n,r,i,a,o){if("rect"===t.image.nodeName){var l,s,c=t.image.parsedStyle,u=c.width,f=c.height;s=r.contextService.getDPR();var d=r.config.offscreenCanvas;(l=a.offscreenCanvasCreator.getOrCreateCanvas(d)).width=u*s,l.height=f*s;var h=a.offscreenCanvasCreator.getOrCreateContext(d),p=[];t.image.forEach(function(t){i.renderDisplayObject(t,h,r,p,a)}),p.forEach(function(){h.restore()})}return o.getOrCreatePatternSync(t,n,l,s,e.getGeometryBounds().min,function(){e.renderable.dirty=!0,r.renderingService.dirtify()})}function h(t,e,n,a){var o;if(t.type===i.GL.LinearGradient||t.type===i.GL.RadialGradient){var l=e.getGeometryBounds(),s=l&&2*l.halfExtents[0]||1,c=l&&2*l.halfExtents[1]||1,u=l&&l.min||[0,0];o=a.getOrCreateGradient((0,r.pi)((0,r.pi)({type:t.type},t.value),{min:u,width:s,height:c}),n)}return o}function p(t,e,n,r,a,o,l,s,c){void 0===c&&(c=!1),Array.isArray(n)?n.forEach(function(n){t.fillStyle=h(n,e,t,s),c||(r?t.fill(r):t.fill())}):((0,i.R)(n)&&(t.fillStyle=d(n,e,t,a,o,l,s)),c||(r?t.fill(r):t.fill()))}function g(t,e,n,r,a,o,l,s){void 0===s&&(s=!1),Array.isArray(n)?n.forEach(function(n){t.strokeStyle=h(n,e,t,l),s||t.stroke()}):((0,i.R)(n)&&(t.strokeStyle=d(n,e,t,r,a,o,l)),s||t.stroke())}var m=function(){function t(t){this.imagePool=t}return t.prototype.render=function(t,e,n){var r,i=e.x,l=e.y,s=e.width,c=e.height,u=e.src,d=e.shadowColor,h=e.shadowBlur,p=s,g=c;if((0,o.Z)(u)?r=this.imagePool.getImageSync(u):(p||(p=u.width),g||(g=u.height),r=u),r){f(n,t,!(0,a.Z)(d)&&h>0);try{t.drawImage(r,void 0===i?0:i,void 0===l?0:l,p,g)}catch(t){}}},t}(),y=function(){function t(t){this.imagePool=t}return t.prototype.render=function(t,e,n,r,i,o){n.getBounds();var l=e.lineWidth,s=void 0===l?1:l,c=e.textAlign,u=void 0===c?"start":c,d=e.textBaseline,h=void 0===d?"alphabetic":d,p=e.lineJoin,g=e.miterLimit,m=void 0===g?10:g,y=e.letterSpacing,v=void 0===y?0:y,b=e.stroke,x=e.fill,O=e.fillRule,w=e.fillOpacity,_=void 0===w?1:w,k=e.strokeOpacity,M=void 0===k?1:k,C=e.opacity,j=void 0===C?1:C,A=e.metrics,S=e.x,E=e.y,P=e.dx,R=e.dy,T=e.shadowColor,L=e.shadowBlur,I=A.font,N=A.lines,B=A.height,D=A.lineHeight,Z=A.lineMetrics;t.font=I,t.lineWidth=s,t.textAlign="middle"===u?"center":u;var z=h;o.enableCSSParsing||"alphabetic"!==z||(z="bottom"),t.lineJoin=void 0===p?"miter":p,(0,a.Z)(m)||(t.miterLimit=m);var F=void 0===E?0:E;"middle"===h?F+=-B/2-D/2:"bottom"===h||"alphabetic"===h||"ideographic"===h?F+=-B:("top"===h||"hanging"===h)&&(F+=-D);var $=(void 0===S?0:S)+(P||0);F+=R||0,1===N.length&&("bottom"===z?(z="middle",F-=.5*B):"top"===z&&(z="middle",F+=.5*B)),t.textBaseline=z,f(n,t,!(0,a.Z)(T)&&L>0);for(var W=0;W90)return this;this.computeMatrix()}return this._getAxes(),this.type===a.iM.ORBITING||this.type===a.iM.EXPLORING?this._getPosition():this.type===a.iM.TRACKING&&this._getFocalPoint(),this._update(),this},e.prototype.pan=function(t,e){var n=(0,a.O4)(t,e,0),r=f.d9(this.position);return f.IH(r,r,f.bA(f.Ue(),this.right,n[0])),f.IH(r,r,f.bA(f.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this},e.prototype.dolly=function(t){var e=this.forward,n=f.d9(this.position),r=t*this.dollyingStep;return r=Math.max(Math.min(this.distance+t*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*e[0],n[1]+=r*e[1],n[2]+=r*e[2],this._setPosition(n),this.type===a.iM.ORBITING||this.type===a.iM.EXPLORING?this._getDistance():this.type===a.iM.TRACKING&&f.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this},e.prototype.cancelLandmarkAnimation=function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)},e.prototype.createLandmark=function(t,e){void 0===e&&(e={});var n,r,i,o,l=e.position,s=void 0===l?this.position:l,c=e.focalPoint,d=void 0===c?this.focalPoint:c,h=e.roll,p=e.zoom,g=new a.GZ.CameraContribution;g.setType(this.type,void 0),g.setPosition(s[0],null!==(n=s[1])&&void 0!==n?n:this.position[1],null!==(r=s[2])&&void 0!==r?r:this.position[2]),g.setFocalPoint(d[0],null!==(i=d[1])&&void 0!==i?i:this.focalPoint[1],null!==(o=d[2])&&void 0!==o?o:this.focalPoint[2]),g.setRoll(null!=h?h:this.roll),g.setZoom(null!=p?p:this.zoom);var m={name:t,matrix:u.clone(g.getWorldTransform()),right:f.d9(g.right),up:f.d9(g.up),forward:f.d9(g.forward),position:f.d9(g.getPosition()),focalPoint:f.d9(g.getFocalPoint()),distanceVector:f.d9(g.getDistanceVector()),distance:g.getDistance(),dollyingStep:g.getDollyingStep(),azimuth:g.getAzimuth(),elevation:g.getElevation(),roll:g.getRoll(),relAzimuth:g.relAzimuth,relElevation:g.relElevation,relRoll:g.relRoll,zoom:g.getZoom()};return this.landmarks.push(m),m},e.prototype.gotoLandmark=function(t,e){var n=this;void 0===e&&(e={});var r=(0,l.Z)(t)?this.landmarks.find(function(e){return e.name===t}):t;if(r){var i,o=(0,s.Z)(e)?{duration:e}:e,c=o.easing,u=void 0===c?"linear":c,d=o.duration,h=void 0===d?100:d,p=o.easingFunction,g=o.onfinish,m=void 0===g?void 0:g,y=o.onframe,v=void 0===y?void 0:y;this.cancelLandmarkAnimation();var b=r.position,x=r.focalPoint,O=r.zoom,w=r.roll,_=(void 0===p?void 0:p)||a.GZ.EasingFunction(u),k=function(){n.setFocalPoint(x),n.setPosition(b),n.setRoll(w),n.setZoom(O),n.computeMatrix(),n.triggerUpdate(),null==m||m()};if(0===h)return k();var M=function(t){void 0===i&&(i=t);var e=t-i;if(e>=h){k();return}var r=_(e/h),a=f.Ue(),o=f.Ue(),l=1,s=0;if(f.t7(a,n.focalPoint,x,r),f.t7(o,n.position,b,r),s=n.roll*(1-r)+w*r,l=n.zoom*(1-r)+O*r,n.setFocalPoint(a),n.setPosition(o),n.setRoll(s),n.setZoom(l),f.TK(a,x)+f.TK(o,b)<=.01&&void 0==O&&void 0==w)return k();n.computeMatrix(),n.triggerUpdate(),e0){var l,s=(l=n[o-1],l===t?l:i&&(l===i||l===r)?i:null);if(s){n[o-1]=s;return}}else e=this.observer,b.push(e),v||(v=!0,void 0!==a.GZ.globalThis?a.GZ.globalThis.setTimeout(x):x());n[o]=t},t.prototype.addListeners=function(){this.addListeners_(this.target)},t.prototype.addListeners_=function(t){var e=this.options;e.attributes&&t.addEventListener(a.Dk.ATTR_MODIFIED,this,!0),e.childList&&t.addEventListener(a.Dk.INSERTED,this,!0),(e.childList||e.subtree)&&t.addEventListener(a.Dk.REMOVED,this,!0)},t.prototype.removeListeners=function(){this.removeListeners_(this.target)},t.prototype.removeListeners_=function(t){var e=this.options;e.attributes&&t.removeEventListener(a.Dk.ATTR_MODIFIED,this,!0),e.childList&&t.removeEventListener(a.Dk.INSERTED,this,!0),(e.childList||e.subtree)&&t.removeEventListener(a.Dk.REMOVED,this,!0)},t.prototype.removeTransientObservers=function(){var t=this.transientObservedNodes;this.transientObservedNodes=[],t.forEach(function(t){this.removeListeners_(t);for(var e=g.get(t),n=0;n0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalDuration",{get:function(){return this._totalDuration},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_needsTick",{get:function(){return this.pending||"running"===this.playState||!this._finishedFlag},enumerable:!1,configurable:!0}),t.prototype.updatePromises=function(){var t=this.oldPlayState,e=this.pending?"pending":this.playState;return this.readyPromise&&e!==t&&("idle"===e?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===t?this.resolveReadyPromise():"pending"===e&&(this.readyPromise=void 0)),this.finishedPromise&&e!==t&&("idle"===e?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===e?this.resolveFinishedPromise():"finished"===t&&(this.finishedPromise=void 0)),this.oldPlayState=e,this.readyPromise||this.finishedPromise},t.prototype.play=function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()},t.prototype.pause=function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()},t.prototype.finish=function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())},t.prototype.cancel=function(){var t=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var e=new _(null,this,this.currentTime,null);setTimeout(function(){t.oncancel(e)})}},t.prototype.reverse=function(){this.updatePromises();var t=this.currentTime;this.playbackRate*=-1,this.play(),null!==t&&(this.currentTime=t),this.updatePromises()},t.prototype.updatePlaybackRate=function(t){this.playbackRate=t},t.prototype.targetAnimations=function(){var t;return(null===(t=this.effect)||void 0===t?void 0:t.target).getAnimations()},t.prototype.markTarget=function(){var t=this.targetAnimations();-1===t.indexOf(this)&&t.push(this)},t.prototype.unmarkTarget=function(){var t=this.targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)},t.prototype.tick=function(t,e){this._idle||this._paused||(null===this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this.currentTimePending=!1,this.fireEvents(t))},t.prototype.rewind=function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")},t.prototype.persist=function(){throw Error(a.jf)},t.prototype.addEventListener=function(t,e,n){throw Error(a.jf)},t.prototype.removeEventListener=function(t,e,n){throw Error(a.jf)},t.prototype.dispatchEvent=function(t){throw Error(a.jf)},t.prototype.commitStyles=function(){throw Error(a.jf)},t.prototype.ensureAlive=function(){var t,e;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null===(t=this.effect)||void 0===t?void 0:t.update(-1)):this._inEffect=!!(null===(e=this.effect)||void 0===e?void 0:e.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))},t.prototype.tickCurrentTime=function(t,e){t!==this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())},t.prototype.fireEvents=function(t){var e=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new _(null,this,this.currentTime,t);setTimeout(function(){e.onfinish&&e.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new _(null,this,this.currentTime,t);this.onframe(r)}this._finishedFlag=!1}},t}(),C="function"==typeof Float32Array,j=function(t,e){return 1-3*e+3*t},A=function(t,e){return 3*e-6*t},S=function(t){return 3*t},E=function(t,e,n){return((j(e,n)*t+A(e,n))*t+S(e))*t},P=function(t,e,n){return 3*j(e,n)*t*t+2*A(e,n)*t+S(e)},R=function(t,e,n,r,i){var a,o,l=0;do(a=E(o=e+(n-e)/2,r,i)-t)>0?n=o:e=o;while(Math.abs(a)>1e-7&&++l<10);return o},T=function(t,e,n,r){for(var i=0;i<4;++i){var a=P(e,n,r);if(0===a)break;var o=E(e,n,r)-t;e-=o/a}return e},L=function(t,e,n,r){if(!(0<=t&&t<=1&&0<=n&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(t===e&&n===r)return function(t){return t};for(var i=C?new Float32Array(11):Array(11),a=0;a<11;++a)i[a]=E(.1*a,t,n);var o=function(e){for(var r=0,a=1;10!==a&&i[a]<=e;++a)r+=.1;var o=r+(e-i[--a])/(i[a+1]-i[a])*.1,l=P(o,t,n);return l>=.001?T(e,o,t,n):0===l?o:R(e,r,r+.1,t,n)};return function(t){return 0===t||1===t?t:E(o(t),e,r)}},I=function(t){return Math.pow(t,2)},N=function(t){return Math.pow(t,3)},B=function(t){return Math.pow(t,4)},D=function(t){return Math.pow(t,5)},Z=function(t){return Math.pow(t,6)},z=function(t){return 1-Math.cos(t*Math.PI/2)},F=function(t){return 1-Math.sqrt(1-t*t)},$=function(t){return t*t*(3*t-2)},W=function(t){for(var e,n=4;t<((e=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)},H=function(t,e){void 0===e&&(e=[]);var n=(0,o.CR)(e,2),r=n[0],i=n[1],a=(0,O.Z)(Number(void 0===r?1:r),1,10),l=(0,O.Z)(Number(void 0===i?.5:i),.1,2);return 0===t||1===t?t:-a*Math.pow(2,10*(t-1))*Math.sin((t-1-l/(2*Math.PI)*Math.asin(1/a))*(2*Math.PI)/l)},G=function(t,e,n){void 0===e&&(e=[]);var r=(0,o.CR)(e,4),i=r[0],a=void 0===i?1:i,l=r[1],s=void 0===l?100:l,c=r[2],u=void 0===c?10:c,f=r[3],d=void 0===f?0:f;a=(0,O.Z)(a,.1,1e3),s=(0,O.Z)(s,.1,1e3),u=(0,O.Z)(u,.1,1e3),d=(0,O.Z)(d,.1,1e3);var h=Math.sqrt(s/a),p=u/(2*Math.sqrt(s*a)),g=p<1?h*Math.sqrt(1-p*p):0,m=p<1?(p*h+-d)/g:-d+h,y=n?n*t/1e3:t;return(y=p<1?Math.exp(-y*p*h)*(1*Math.cos(g*y)+m*Math.sin(g*y)):(1+m*y)*Math.exp(-y*h),0===t||1===t)?t:1-y},q=function(t,e){void 0===e&&(e=[]);var n=(0,o.CR)(e,2),r=n[0],i=void 0===r?10:r;return("start"==n[1]?Math.ceil:Math.floor)((0,O.Z)(t,0,1)*i)/i},Y=function(t,e){void 0===e&&(e=[]);var n=(0,o.CR)(e,4);return L(n[0],n[1],n[2],n[3])(t)},V=L(.42,0,1,1),U=function(t){return function(e,n,r){return void 0===n&&(n=[]),1-t(1-e,n,r)}},Q=function(t){return function(e,n,r){return void 0===n&&(n=[]),e<.5?t(2*e,n,r)/2:1-t(-2*e+2,n,r)/2}},X=function(t){return function(e,n,r){return void 0===n&&(n=[]),e<.5?(1-t(1-2*e,n,r))/2:(t(2*e-1,n,r)+1)/2}},K={steps:q,"step-start":function(t){return q(t,[1,"start"])},"step-end":function(t){return q(t,[1,"end"])},linear:function(t){return t},"cubic-bezier":Y,ease:function(t){return Y(t,[.25,.1,.25,1])},in:V,out:U(V),"in-out":Q(V),"out-in":X(V),"in-quad":I,"out-quad":U(I),"in-out-quad":Q(I),"out-in-quad":X(I),"in-cubic":N,"out-cubic":U(N),"in-out-cubic":Q(N),"out-in-cubic":X(N),"in-quart":B,"out-quart":U(B),"in-out-quart":Q(B),"out-in-quart":X(B),"in-quint":D,"out-quint":U(D),"in-out-quint":Q(D),"out-in-quint":X(D),"in-expo":Z,"out-expo":U(Z),"in-out-expo":Q(Z),"out-in-expo":X(Z),"in-sine":z,"out-sine":U(z),"in-out-sine":Q(z),"out-in-sine":X(z),"in-circ":F,"out-circ":U(F),"in-out-circ":Q(F),"out-in-circ":X(F),"in-back":$,"out-back":U($),"in-out-back":Q($),"out-in-back":X($),"in-bounce":W,"out-bounce":U(W),"in-out-bounce":Q(W),"out-in-bounce":X(W),"in-elastic":H,"out-elastic":U(H),"in-out-elastic":Q(H),"out-in-elastic":X(H),spring:G,"spring-in":G,"spring-out":U(G),"spring-in-out":Q(G),"spring-out-in":X(G)},J=function(t){var e;return("-"===(e=(e=t).replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})).charAt(0)?e.substring(1):e).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},tt=function(t){return t};function te(t,e){return function(n){if(n>=1)return 1;var r=1/t;return(n+=e*r)-n%r}}var tn="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",tr=RegExp("cubic-bezier\\("+tn+","+tn+","+tn+","+tn+"\\)"),ti=/steps\(\s*(\d+)\s*\)/,ta=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function to(t){var e=tr.exec(t);if(e)return L.apply(void 0,(0,o.ev)([],(0,o.CR)(e.slice(1).map(Number)),!1));var n=ti.exec(t);if(n)return te(Number(n[1]),0);var r=ta.exec(t);return r?te(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):K[J(t)]||K.linear}function tl(t){return"offset"!==t&&"easing"!==t&&"composite"!==t&&"computedOffset"!==t}var ts=function(t,e,n){return function(r){var i=function t(e,n,r){if("number"==typeof e&&"number"==typeof n)return e*(1-r)+n*r;if("boolean"==typeof e&&"boolean"==typeof n||"string"==typeof e&&"string"==typeof n)return r<.5?e:n;if(Array.isArray(e)&&Array.isArray(n)){for(var i=e.length,a=n.length,o=Math.max(i,a),l=[],s=0;s1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=i}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(i))throw Error("".concat(i," compositing is not supported"));n[r]=i}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==e?void 0:e.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,i=-1/0,a=0;a=0&&1>=Number(t.offset)}),r||function(){var t,e,r=n.length;n[r-1].computedOffset=Number(null!==(t=n[r-1].offset)&&void 0!==t?t:1),r>1&&(n[0].computedOffset=Number(null!==(e=n[0].offset)&&void 0!==e?e:0));for(var i=0,a=Number(n[0].computedOffset),o=1;o=t.applyFrom&&e=Math.min(n.delay+t+n.endDelay,r)?2:3}(t,e,n),u=function(t,e,n,r,i){switch(r){case 1:if("backwards"===e||"both"===e)return 0;return null;case 3:return n-i;case 2:if("forwards"===e||"both"===e)return t;return null;case 0:return null}}(t,n.fill,e,c,n.delay);if(null===u)return null;var f="auto"===n.duration?0:n.duration,d=(r=n.iterations,i=n.iterationStart,0===f?1!==c&&(i+=r):i+=u/f,i),h=(a=n.iterationStart,o=n.iterations,0==(l=d===1/0?a%1:d%1)&&2===c&&0!==o&&(0!==u||0===f)&&(l=1),l),p=(s=n.iterations,2===c&&s===1/0?1/0:1===h?Math.floor(d)-1:Math.floor(d)),g=function(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,p,h);return n.currentIteration=p,n.progress=g,n.easingFunction(g)}(this.timing.activeDuration,t,this.timing),null!==this.timeFraction)},t.prototype.getKeyframes=function(){return this.normalizedKeyframes},t.prototype.setKeyframes=function(t){this.normalizedKeyframes=tu(t)},t.prototype.getComputedTiming=function(){return this.computedTiming},t.prototype.getTiming=function(){return this.timing},t.prototype.updateTiming=function(t){var e=this;Object.keys(t||{}).forEach(function(n){e.timing[n]=t[n]})},t}();function tp(t,e){return Number(t.id)-Number(e.id)}var tg=function(){function t(t){var e=this;this.document=t,this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(t){e.currentTime=t,e.discardAnimations(),0===e.animations.length?e.timelineTicking=!1:e.requestAnimationFrame(e.webAnimationsNextTick)},this.processRafCallbacks=function(t){var n=e.rafCallbacks;e.rafCallbacks=[],t0?t:e}getPaddingOuter(){let{padding:t,paddingOuter:e}=this.options;return t>0?t:e}rescale(){super.rescale();let{align:t,domain:e,range:n,round:r,flex:i}=this.options,{adjustedRange:o,valueBandWidth:l,valueStep:s}=function(t){var e;let n,r;let{domain:i}=t,o=i.length;if(0===o)return{valueBandWidth:void 0,valueStep:void 0,adjustedRange:[]};let l=!!(null===(e=t.flex)||void 0===e?void 0:e.length);if(l)return function(t){let{domain:e,range:n,paddingOuter:r,paddingInner:i,flex:o,round:l,align:s}=t,c=e.length,u=function(t,e){let n=t.length,r=e-n;return r>0?[...t,...Array(r).fill(1)]:r<0?t.slice(0,e):t}(o,c),[f,d]=n,h=d-f,p=2/c*r+1-1/c*i,g=h/p,m=g*i/c,y=g-c*m,v=function(t){let e=Math.min(...t);return t.map(t=>t/e)}(u),b=v.reduce((t,e)=>t+e),x=y/b,O=new a(e.map((t,e)=>{let n=v[e]*x;return[t,l?Math.floor(n):n]})),w=new a(e.map((t,e)=>{let n=v[e]*x,r=n+m;return[t,l?Math.floor(r):r]})),_=Array.from(w.values()).reduce((t,e)=>t+e),k=h-(_-_/c*i),M=f+k*s,C=l?Math.round(M):M,j=Array(c);for(let t=0;th+e*n);return{valueStep:n,valueBandWidth:r,adjustedRange:y}}({align:t,range:n,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:e});this.valueStep=s,this.valueBandWidth=l,this.adjustedRange=o}}},22664:function(t,e,n){"use strict";n.d(e,{X:function(){return i}});var r=n(48077);class i{constructor(t){this.options=(0,r.Z)({},this.getDefaultOptions()),this.update(t)}getOptions(){return this.options}update(t={}){this.options=(0,r.Z)({},this.options,t),this.rescale(t)}rescale(t){}}},90936:function(t,e,n){"use strict";n.d(e,{s:function(){return o}});var r=n(23890),i=n(51395),a=n(22664);class o extends a.X{getDefaultOptions(){return{range:[0],domain:[0,1],unknown:void 0,tickCount:5,tickMethod:i.Z}}map(t){let[e]=this.options.range;return void 0!==e?e:this.options.unknown}invert(t){let[e]=this.options.range;return t===e&&void 0!==e?this.options.domain:[]}getTicks(){let{tickMethod:t,domain:e,tickCount:n}=this.options,[i,a]=e;return(0,r.Z)(i)&&(0,r.Z)(a)?t(i,a,n):[]}clone(){return new o(this.options)}}},95039:function(t,e,n){"use strict";n.d(e,{V:function(){return p}});var r=n(48047),i=n(22664),a=n(69270),o=n(99542),l=n(51712),s=n(63336),c=n(87511),u=n(4968);let f=(t,e,n)=>{let r,i;let[l,s]=t,[c,u]=e;return l{let r=Math.min(t.length,e.length)-1,i=Array(r),s=Array(r),c=t[0]>t[r],u=c?[...t].reverse():t,f=c?[...e].reverse():e;for(let t=0;t{let n=(0,l.b)(t,e,1,r)-1,a=i[n],c=s[n];return(0,o.q)(c,a)(e)}},h=(t,e,n,r)=>{let i=Math.min(t.length,e.length),a=r?s.lk:n;return(i>2?d:f)(t,e,a)};class p extends i.X{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:s.fv,tickCount:5}}map(t){return(0,c.J)(t)?this.output(t):this.options.unknown}invert(t){return(0,c.J)(t)?this.input(t):this.options.unknown}nice(){if(!this.options.nice)return;let[t,e,n,...r]=this.getTickMethodOptions();this.options.domain=this.chooseNice()(t,e,n,...r)}getTicks(){let{tickMethod:t}=this.options,[e,n,r,...i]=this.getTickMethodOptions();return t(e,n,r,...i)}getTickMethodOptions(){let{domain:t,tickCount:e}=this.options,n=t[0],r=t[t.length-1];return[n,r,e]}chooseNice(){return u.n}rescale(){this.nice();let[t,e]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t)),this.composeInput(t,e,this.chooseClamp(e))}chooseClamp(t){let{clamp:e,range:n}=this.options,i=this.options.domain.map(t),a=Math.min(i.length,n.length);return e?function(t,e){let n=ee?t:e;return t=>Math.min(Math.max(n,t),r)}(i[0],i[a-1]):r.Z}composeOutput(t,e){let{domain:n,range:r,round:i,interpolate:a}=this.options,l=h(n.map(t),r,a,i);this.output=(0,o.q)(l,e,t)}composeInput(t,e,n){let{domain:r,range:i}=this.options,a=h(i,r.map(t),s.fv);this.input=(0,o.q)(e,n,a)}}},38857:function(t,e,n){"use strict";n.d(e,{i:function(){return l}});var r=n(23890),i=n(22664),a=n(12532),o=n(87511);class l extends i.X{getDefaultOptions(){return{domain:[0,1],range:[0,1],tickCount:5,unknown:void 0,tickMethod:a.GX}}map(t){return(0,o.J)(t)?t:this.options.unknown}invert(t){return this.map(t)}clone(){return new l(this.options)}getTicks(){let{domain:t,tickCount:e,tickMethod:n}=this.options,[i,a]=t;return(0,r.Z)(i)&&(0,r.Z)(a)?n(i,a,e):[]}}},21494:function(t,e,n){"use strict";n.d(e,{b:function(){return l}});var r=n(48047),i=n(95039),a=n(63336),o=n(51395);class l extends i.V{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:a.wp,tickMethod:o.Z,tickCount:5}}chooseTransforms(){return[r.Z,r.Z]}clone(){return new l(this.options)}}},89863:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=n(95039),i=n(63336);let a=t=>e=>-t(-e),o=(t,e)=>{let n=Math.log(t),r=t===Math.E?Math.log:10===t?Math.log10:2===t?Math.log2:t=>Math.log(t)/n;return e?a(r):r},l=(t,e)=>{let n=t===Math.E?Math.exp:e=>t**e;return e?a(n):n};var s=n(51395);let c=(t,e,n,r=10)=>{let i=t<0,a=l(r,i),c=o(r,i),u=e=1;e-=1){let n=t*e;if(n>d)break;n>=f&&g.push(n)}}else for(;h<=p;h+=1){let t=a(h);for(let e=1;ed)break;n>=f&&g.push(n)}}2*g.length{let i=t<0,a=o(r,i),s=l(r,i),c=t>e,u=[s(Math.floor(a(c?e:t))),s(Math.ceil(a(c?t:e)))];return c?u.reverse():u};class f extends r.V{getDefaultOptions(){return{domain:[1,10],range:[0,1],base:10,interpolate:i.wp,tickMethod:c,tickCount:5}}chooseNice(){return u}getTickMethodOptions(){let{domain:t,tickCount:e,base:n}=this.options,r=t[0],i=t[t.length-1];return[r,i,e,n]}chooseTransforms(){let{base:t,domain:e}=this.options,n=e[0]<0;return[o(t,n),l(t,n)]}clone(){return new f(this.options)}}},10362:function(t,e,n){"use strict";n.d(e,{r:function(){return s},z:function(){return i}});var r=n(22664);let i=Symbol("defaultUnknown");function a(t,e,n){for(let r=0;r`${t}`:"object"==typeof t?t=>JSON.stringify(t):t=>t}class s extends r.X{getDefaultOptions(){return{domain:[],range:[],unknown:i}}constructor(t){super(t)}map(t){return 0===this.domainIndexMap.size&&a(this.domainIndexMap,this.getDomain(),this.domainKey),o({value:this.domainKey(t),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(t){return 0===this.rangeIndexMap.size&&a(this.rangeIndexMap,this.getRange(),this.rangeKey),o({value:this.rangeKey(t),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(t){let[e]=this.options.domain,[n]=this.options.range;if(this.domainKey=l(e),this.rangeKey=l(n),!this.rangeIndexMap){this.rangeIndexMap=new Map,this.domainIndexMap=new Map;return}(!t||t.range)&&this.rangeIndexMap.clear(),(!t||t.domain||t.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)}clone(){return new s(this.options)}getRange(){return this.options.range}getDomain(){if(this.sortedDomain)return this.sortedDomain;let{domain:t,compare:e}=this.options;return this.sortedDomain=e?[...t].sort(e):t,this.sortedDomain}}},61242:function(t,e,n){"use strict";n.d(e,{E:function(){return a}});var r=n(16250),i=n(10362);class a extends r.t{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:i.z,paddingInner:1,paddingOuter:0}}constructor(t){super(t)}getPaddingInner(){return 1}clone(){return new a(this.options)}update(t){super.update(t)}getPaddingOuter(){return this.options.padding}}},68598:function(t,e,n){"use strict";n.d(e,{p:function(){return u}});var r=n(48047),i=n(95039),a=n(63336),o=n(51395);let l=t=>e=>e<0?-((-e)**t):e**t,s=t=>e=>e<0?-((-e)**(1/t)):e**(1/t),c=t=>t<0?-Math.sqrt(-t):Math.sqrt(t);class u extends i.V{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,exponent:2,interpolate:a.wp,tickMethod:o.Z,tickCount:5}}constructor(t){super(t)}chooseTransforms(){let{exponent:t}=this.options;if(1===t)return[r.Z,r.Z];let e=.5===t?c:l(t),n=s(t);return[e,n]}clone(){return new u(this.options)}}},59343:function(t,e,n){"use strict";n.d(e,{c:function(){return a}});var r=n(89669),i=n(12532);class a extends r.M{getDefaultOptions(){return{domain:[],range:[],tickCount:5,unknown:void 0,tickMethod:i.GX}}constructor(t){super(t)}rescale(){let{domain:t,range:e}=this.options;this.n=e.length-1,this.thresholds=function(t,e,n=!1){n||t.sort((t,e)=>t-e);let r=[];for(let n=1;ne=>{let n=t(e);return(0,u.Z)(n)?Math.round(n):n};var d=n(21494);let h=i=class extends d.b{getDefaultOptions(){return{domain:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:a.Z,tickMethod:o.Z,tickCount:5}}constructor(t){super(t)}clone(){return new i(this.options)}};h=i=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([(r=t=>{let[e,n]=t,r=(0,l.q)((0,s.fv)(0,1),(0,c.I)(e,n));return r},t=>{t.prototype.rescale=function(){this.initRange(),this.nice();let[t]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t))},t.prototype.initRange=function(){let{interpolator:t}=this.options;this.options.range=[t(0),t(1)]},t.prototype.composeOutput=function(t,e){let{domain:n,interpolator:i,round:a}=this.getOptions(),o=r(n.map(t)),s=a?f(i):i;this.output=(0,l.q)(s,o,e,t)},t.prototype.invert=void 0})],h)},46897:function(t,e,n){"use strict";n.d(e,{F:function(){return o}});var r=n(63336),i=n(68598),a=n(51395);class o extends i.p{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:r.wp,tickMethod:a.Z,tickCount:5,exponent:.5}}constructor(t){super(t)}update(t){super.update(t)}clone(){return new o(this.options)}}},89669:function(t,e,n){"use strict";n.d(e,{M:function(){return o}});var r=n(22664),i=n(87511),a=n(51712);class o extends r.X{getDefaultOptions(){return{domain:[.5],range:[0,1]}}constructor(t){super(t)}map(t){if(!(0,i.J)(t))return this.options.unknown;let e=(0,a.b)(this.thresholds,t,0,this.n);return this.options.range[e]}invert(t){let{range:e}=this.options,n=e.indexOf(t),r=this.thresholds;return[r[n-1],r[n]]}clone(){return new o(this.options)}rescale(){let{domain:t,range:e}=this.options;this.n=Math.min(t.length,e.length-1),this.thresholds=t}}},2808:function(t,e,n){"use strict";n.d(e,{q:function(){return V}});var r=n(48047),i=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,a=/\[([^]*?)\]/gm;function o(t,e){for(var n=[],r=0,i=t.length;r-1?r:null}};function s(t){for(var e=[],n=1;n3?0:(t-t%10!=10?1:0)*t%10]}}),h=function(t,e){for(void 0===e&&(e=2),t=String(t);t.lengtht.getHours()?e.amPm[0]:e.amPm[1]},A:function(t,e){return 12>t.getHours()?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+h(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+h(Math.floor(Math.abs(e)/60),2)+":"+h(Math.abs(e)%60,2)}};l("monthNamesShort"),l("monthNames");var g={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},m=function(t,e,n){if(void 0===e&&(e=g.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw Error("Invalid Date pass to format");e=g[e]||e;var r=[];e=e.replace(a,function(t,e){return r.push(e),"@@@"});var o=s(s({},d),n);return(e=e.replace(i,function(e){return p[e](t,o)})).replace(/@@@/g,function(){return r.shift()})},y=n(95039);let v=864e5,b=7*v,x=30*v,O=365*v;function w(t,e,n,r){let i=(t,e)=>{let i=t=>r(t)%e==0,a=e;for(;a&&!i(t);)n(t,-1),a-=1;return t},a=(t,n)=>{n&&i(t,n),e(t)},o=(t,e)=>{let r=new Date(+t-1);return a(r,e),n(r,e),a(r),r};return{ceil:o,floor:(t,e)=>{let n=new Date(+t);return a(n,e),n},range:(t,e,r,i)=>{let l=[],s=Math.floor(r),c=i?o(t,r):o(t);for(;ct,(t,e=1)=>{t.setTime(+t+e)},t=>t.getTime()),k=w(1e3,t=>{t.setMilliseconds(0)},(t,e=1)=>{t.setTime(+t+1e3*e)},t=>t.getSeconds()),M=w(6e4,t=>{t.setSeconds(0,0)},(t,e=1)=>{t.setTime(+t+6e4*e)},t=>t.getMinutes()),C=w(36e5,t=>{t.setMinutes(0,0,0)},(t,e=1)=>{t.setTime(+t+36e5*e)},t=>t.getHours()),j=w(v,t=>{t.setHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+v*e)},t=>t.getDate()-1),A=w(x,t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e=1)=>{let n=t.getMonth();t.setMonth(n+e)},t=>t.getMonth()),S=w(b,t=>{t.setDate(t.getDate()-t.getDay()%7),t.setHours(0,0,0,0)},(t,e=1)=>{t.setDate(t.getDate()+7*e)},t=>{let e=A.floor(t),n=new Date(+t);return Math.floor((+n-+e)/b)}),E=w(O,t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e=1)=>{let n=t.getFullYear();t.setFullYear(n+e)},t=>t.getFullYear()),P={millisecond:_,second:k,minute:M,hour:C,day:j,week:S,month:A,year:E},R=w(1,t=>t,(t,e=1)=>{t.setTime(+t+e)},t=>t.getTime()),T=w(1e3,t=>{t.setUTCMilliseconds(0)},(t,e=1)=>{t.setTime(+t+1e3*e)},t=>t.getUTCSeconds()),L=w(6e4,t=>{t.setUTCSeconds(0,0)},(t,e=1)=>{t.setTime(+t+6e4*e)},t=>t.getUTCMinutes()),I=w(36e5,t=>{t.setUTCMinutes(0,0,0)},(t,e=1)=>{t.setTime(+t+36e5*e)},t=>t.getUTCHours()),N=w(v,t=>{t.setUTCHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+v*e)},t=>t.getUTCDate()-1),B=w(x,t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e=1)=>{let n=t.getUTCMonth();t.setUTCMonth(n+e)},t=>t.getUTCMonth()),D=w(b,t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7)%7),t.setUTCHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+b*e)},t=>{let e=B.floor(t),n=new Date(+t);return Math.floor((+n-+e)/b)}),Z=w(O,t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e=1)=>{let n=t.getUTCFullYear();t.setUTCFullYear(n+e)},t=>t.getUTCFullYear()),z={millisecond:R,second:T,minute:L,hour:I,day:N,week:D,month:B,year:Z};var F=n(51712),$=n(10341);function W(t,e,n,r,i){let a;let o=+t,l=+e,{tickIntervals:s,year:c,millisecond:u}=function(t){let{year:e,month:n,week:r,day:i,hour:a,minute:o,second:l,millisecond:s}=t?z:P;return{tickIntervals:[[l,1],[l,5],[l,15],[l,30],[o,1],[o,5],[o,15],[o,30],[a,1],[a,3],[a,6],[a,12],[i,1],[i,2],[r,1],[n,1],[n,3],[e,1]],year:e,millisecond:s}}(i),f=([t,e])=>t.duration*e,d=r?(l-o)/r:n||5,h=r||(l-o)/d,p=s.length,g=(0,F.b)(s,h,0,p,f);if(g===p){let t=(0,$.l)(o/c.duration,l/c.duration,d);a=[c,t]}else if(g){let t=h/f(s[g-1]){let a=t>e,o=a?e:t,l=a?t:e,[s,c]=W(o,l,n,r,i),u=s.range(o,new Date(+l+1),c,!0);return a?u.reverse():u};var G=n(63336);let q=(t,e,n,r,i)=>{let a=t>e,o=a?e:t,l=a?t:e,[s,c]=W(o,l,n,r,i),u=[s.floor(o,c),s.ceil(l,c)];return a?u.reverse():u};function Y(t){let e=t.getTimezoneOffset(),n=new Date(t);return n.setMinutes(n.getMinutes()+e,n.getSeconds(),n.getMilliseconds()),n}class V extends y.V{getDefaultOptions(){return{domain:[new Date(2e3,0,1),new Date(2e3,0,2)],range:[0,1],nice:!1,tickCount:5,tickInterval:void 0,unknown:void 0,clamp:!1,tickMethod:H,interpolate:G.fv,mask:void 0,utc:!1}}chooseTransforms(){return[t=>+t,t=>new Date(t)]}chooseNice(){return q}getTickMethodOptions(){let{domain:t,tickCount:e,tickInterval:n,utc:r}=this.options,i=t[0],a=t[t.length-1];return[i,a,e,n,r]}getFormatter(){let{mask:t,utc:e}=this.options,n=e?z:P,i=e?Y:r.Z;return e=>m(i(e),t||function(t,e){let{second:n,minute:r,hour:i,day:a,week:o,month:l,year:s}=e;return n.floor(t){let i,a;let o=t,l=e;if(o===l&&n>0)return[o];let s=(0,r.G)(o,l,n);if(0===s||!Number.isFinite(s))return[];if(s>0){o=Math.ceil(o/s),a=Array(i=Math.ceil((l=Math.floor(l/s))-o+1));for(let t=0;tMath.abs(t)?t:parseFloat(t.toFixed(14))}let l=[1,5,2,2.5,4,3],s=100*Number.EPSILON,c=(t,e,n=5,i=!0,c=l,u=[.25,.2,.5,.05])=>{let f=n<0?0:Math.round(n);if(Number.isNaN(t)||Number.isNaN(e)||"number"!=typeof t||"number"!=typeof e||!f)return[];if(e-t<1e-15||1===f)return[t];let d={score:-2,lmin:0,lmax:0,lstep:0},h=1;for(;h<1/0;){for(let n=0;n=f?2-(p-1)/(f-1):1;if(u[0]*l+u[1]+u[2]*n+u[3]r?1-((n-r)/2)**2/(.1*r)**2:1}(t,e,p*(g-1));if(u[0]*l+u[1]*m+u[2]*n+u[3]=0&&(f=1),1-u/(c-1)-n+f}(o,c,h,m,y,p),x=1-.5*((e-y)**2+(t-m)**2)/(.1*(e-t))**2,O=function(t,e,n,r,i,a){let o=(t-1)/(a-i),l=(e-1)/(Math.max(a,r)-Math.min(n,i));return 2-Math.max(o/l,l/o)}(g,f,t,e,m,y),w=u[0]*b+u[1]*x+u[2]*O+1*u[3];w>d.score&&(!i||m<=t&&y>=e)&&(d.lmin=m,d.lmax=y,d.lstep=p,d.score=w)}}y+=1}g+=1}}h+=1}let g=o(d.lmax),m=o(d.lmin),y=o(d.lstep),v=Math.floor(Math.round(1e12*((g-m)/y))/1e12)+1,b=Array(v);b[0]=o(m);for(let t=1;tt);for(;ae?o=n:a=n+1}return a}n.d(e,{b:function(){return r}})},99542:function(t,e,n){"use strict";function r(t,...e){return e.reduce((t,e)=>n=>t(e(n)),t)}n.d(e,{q:function(){return r}})},4968:function(t,e,n){"use strict";n.d(e,{n:function(){return i}});var r=n(10341);let i=(t,e,n=5)=>{let i;let a=[t,e],o=0,l=a.length-1,s=a[o],c=a[l];return c0?(s=Math.floor(s/i)*i,c=Math.ceil(c/i)*i,i=(0,r.G)(s,c,n)):i<0&&(s=Math.ceil(s*i)/i,c=Math.floor(c*i)/i,i=(0,r.G)(s,c,n)),i>0?(a[o]=Math.floor(s/i)*i,a[l]=Math.ceil(c/i)*i):i<0&&(a[o]=Math.ceil(s*i)/i,a[l]=Math.floor(c*i)/i),a}},63336:function(t,e,n){"use strict";n.d(e,{fv:function(){return l},lk:function(){return u},wp:function(){return c}});var r=n(90723),i=n.n(r);function a(t,e,n){let r=n;return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function o(t){let e=i().get(t);if(!e)return null;let{model:n,value:r}=e;return"rgb"===n?r:"hsl"===n?function(t){let e=t[0]/360,n=t[1]/100,r=t[2]/100,i=t[3];if(0===n)return[255*r,255*r,255*r,i];let o=r<.5?r*(1+n):r+n-r*n,l=2*r-o,s=a(l,o,e+1/3),c=a(l,o,e),u=a(l,o,e-1/3);return[255*s,255*c,255*u,i]}(r):null}let l=(t,e)=>n=>t*(1-n)+e*n,s=(t,e)=>{let n=o(t),r=o(e);return null===n||null===r?n?()=>t:()=>e:t=>{let e=[,,,,];for(let i=0;i<4;i+=1){let a=n[i],o=r[i];e[i]=a*(1-t)+o*t}let[i,a,o,l]=e;return`rgba(${Math.round(i)}, ${Math.round(a)}, ${Math.round(o)}, ${l})`}},c=(t,e)=>"number"==typeof t&&"number"==typeof e?l(t,e):"string"==typeof t&&"string"==typeof e?s(t,e):()=>t,u=(t,e)=>{let n=l(t,e);return t=>Math.round(n(t))}},87511:function(t,e,n){"use strict";n.d(e,{J:function(){return i}});var r=n(28036);function i(t){return!(0,r.Z)(t)&&null!==t&&!Number.isNaN(t)}},69270:function(t,e,n){"use strict";function r(t,e){return e-t?n=>(n-t)/(e-t):t=>.5}n.d(e,{I:function(){return r}})},10341:function(t,e,n){"use strict";n.d(e,{G:function(){return o},l:function(){return l}});let r=Math.sqrt(50),i=Math.sqrt(10),a=Math.sqrt(2);function o(t,e,n){let o=(e-t)/Math.max(0,n),l=Math.floor(Math.log(o)/Math.LN10),s=o/10**l;return l>=0?(s>=r?10:s>=i?5:s>=a?2:1)*10**l:-(10**-l)/(s>=r?10:s>=i?5:s>=a?2:1)}function l(t,e,n){let o=Math.abs(e-t)/Math.max(0,n),l=10**Math.floor(Math.log(o)/Math.LN10),s=o/l;return s>=r?l*=10:s>=i?l*=5:s>=a&&(l*=2),en?n:t}},35758:function(t,e){"use strict";e.Z=function(t,e,n){var r;return function(){var i=this,a=arguments,o=n&&!r;clearTimeout(r),r=setTimeout(function(){r=null,n||t.apply(i,a)},e),o&&t.apply(i,a)}}},48077:function(t,e,n){"use strict";var r=n(23641),i=n(23112);e.Z=function(t){for(var e=[],n=1;ne?(r&&(clearTimeout(r),r=null),l=c,o=t.apply(i,a),r||(i=a=null)):r||!1===n.trailing||(r=setTimeout(s,u)),o};return c.cancel=function(){clearTimeout(r),l=0,r=i=a=null},c}},79011:function(t,e,n){"use strict";var r=n(64757);e.Z=function(t){return(0,r.Z)(t)?"":t.toString()}},71933:function(t,e,n){"use strict";var r=n(79011);e.Z=function(t){var e=(0,r.Z)(t);return e.charAt(0).toUpperCase()+e.substring(1)}},82450:function(t,e,n){"use strict";n.d(e,{Y:function(){return u}});var r=n(33587),i=n(37084),a=n(96669),o=n(17559),l=n(58963),s=n(47583),c=function(t,e,n,i){var a=(0,s.k)([t,e],[n,i],.5);return(0,r.ev)((0,r.ev)([],a,!0),[n,i,n,i],!1)};function u(t,e){if(void 0===e&&(e=!1),(0,o.y)(t)&&t.every(function(t){var e=t[0];return"MC".includes(e)})){var n,s,u=[].concat(t);return e?[u,[]]:u}for(var f=(0,a.A)(t),d=(0,r.pi)({},i.z),h=[],p="",g=f.length,m=[],y=0;y7){t[n].shift();for(var r=t[n],i=n;r.length;)e[n]="A",t.splice(i+=1,0,["C"].concat(r.splice(0,6)));t.splice(n,1)}}(f,h,y),g=f.length,"Z"===p&&m.push(y),s=(n=f[y]).length,d.x1=+n[s-2],d.y1=+n[s-1],d.x2=+n[s-4]||d.x1,d.y2=+n[s-3]||d.y1}return e?[f,m]:f}},49219:function(t,e,n){"use strict";n.d(e,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},37084:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},58963:function(t,e,n){"use strict";function r(t,e,n){return{x:t*Math.cos(n)-e*Math.sin(n),y:t*Math.sin(n)+e*Math.cos(n)}}n.d(e,{W:function(){return function t(e,n,i,a,o,l,s,c,u,f){var d,h,p,g,m,y=e,v=n,b=i,x=a,O=c,w=u,_=120*Math.PI/180,k=Math.PI/180*(+o||0),M=[];if(f)h=f[0],p=f[1],g=f[2],m=f[3];else{y=(d=r(y,v,-k)).x,v=d.y,O=(d=r(O,w,-k)).x,w=d.y;var C=(y-O)/2,j=(v-w)/2,A=C*C/(b*b)+j*j/(x*x);A>1&&(b*=A=Math.sqrt(A),x*=A);var S=b*b,E=x*x,P=(l===s?-1:1)*Math.sqrt(Math.abs((S*E-S*j*j-E*C*C)/(S*j*j+E*C*C)));g=P*b*j/x+(y+O)/2,m=-(P*x)*C/b+(v+w)/2,h=Math.asin(((v-m)/x*1e9>>0)/1e9),p=Math.asin(((w-m)/x*1e9>>0)/1e9),h=yp&&(h-=2*Math.PI),!s&&p>h&&(p-=2*Math.PI)}var R=p-h;if(Math.abs(R)>_){var T=p,L=O,I=w;M=t(O=g+b*Math.cos(p=h+_*(s&&p>h?1:-1)),w=m+x*Math.sin(p),b,x,o,0,s,L,I,[p,T,g,m])}R=p-h;var N=Math.cos(h),B=Math.cos(p),D=Math.tan(R/4),Z=4/3*b*D,z=4/3*x*D,F=[y,v],$=[y+Z*Math.sin(h),v-z*N],W=[O+Z*Math.sin(p),w-z*B],H=[O,w];if($[0]=2*F[0]-$[0],$[1]=2*F[1]-$[1],f)return $.concat(W,H,M);M=$.concat(W,H,M);for(var G=[],q=0,Y=M.length;q=s.R[n]&&("m"===n&&r.length>2?(t.segments.push([e].concat(r.splice(0,2))),n="l",e="m"===e?"l":"L"):t.segments.push([e].concat(r.splice(0,s.R[n]))),s.R[n]););}function u(t){return t>=48&&t<=57}function f(t){for(var e,n=t.pathValue,r=t.max;t.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(e));)t.index+=1}var d=function(t){this.pathValue=t,this.segments=[],this.max=t.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function h(t){if((0,i.y)(t))return[].concat(t);for(var e=function(t){if((0,o.b)(t))return[].concat(t);var e=function(t){if((0,l.n)(t))return[].concat(t);var e=new d(t);for(f(e);e.index0;l-=1){if((32|i)==97&&(3===l||4===l)?function(t){var e=t.index,n=t.pathValue,r=n.charCodeAt(e);if(48===r){t.param=0,t.index+=1;return}if(49===r){t.param=1,t.index+=1;return}t.err='[path-util]: invalid Arc flag "'+n[e]+'", expecting 0 or 1 at index '+e}(t):function(t){var e,n=t.max,r=t.pathValue,i=t.index,a=i,o=!1,l=!1,s=!1,c=!1;if(a>=n){t.err="[path-util]: Invalid path value at index "+a+', "pathValue" is missing param';return}if((43===(e=r.charCodeAt(a))||45===e)&&(a+=1,e=r.charCodeAt(a)),!u(e)&&46!==e){t.err="[path-util]: Invalid path value at index "+a+', "'+r[a]+'" is not a number';return}if(46!==e){if(o=48===e,a+=1,e=r.charCodeAt(a),o&&a=t.max||!((o=n.charCodeAt(t.index))>=48&&o<=57||43===o||45===o||46===o))break}c(t)}(e);return e.err?e.err:e.segments}(t),n=0,r=0,i=0,a=0;return e.map(function(t){var e,o=t.slice(1).map(Number),l=t[0],s=l.toUpperCase();if("M"===l)return n=o[0],r=o[1],i=n,a=r,["M",n,r];if(l!==s)switch(s){case"A":e=[s,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":e=[s,o[0]+r];break;case"H":e=[s,o[0]+n];break;default:e=[s].concat(o.map(function(t,e){return t+(e%2?r:n)}))}else e=[s].concat(o);var c=e.length;switch(s){case"Z":n=i,r=a;break;case"H":n=e[1];break;case"V":r=e[1];break;default:n=e[c-2],r=e[c-1],"M"===s&&(i=n,a=r)}return e})}(t),n=(0,r.pi)({},a.z),h=0;h=p[e],g[e]-=m?1:0,m?t.ss:[t.s]}).flat()});return y[0].length===y[1].length?y:t(y[0],y[1],h)}}});var r=n(47583),i=n(53402);function a(t){return t.map(function(t,e,n){var a,o,l,s,c,u,f,d,h,p,g,m,y=e&&n[e-1].slice(-2).concat(t.slice(1)),v=e?(0,i.S)(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],{bbox:!1}).length:0;return m=e?v?(void 0===a&&(a=.5),o=y.slice(0,2),l=y.slice(2,4),s=y.slice(4,6),c=y.slice(6,8),u=(0,r.k)(o,l,a),f=(0,r.k)(l,s,a),d=(0,r.k)(s,c,a),h=(0,r.k)(u,f,a),p=(0,r.k)(f,d,a),g=(0,r.k)(h,p,a),[["C"].concat(u,h,g),["C"].concat(p,d,c)]):[t,t]:[t],{s:t,ss:m,l:v}})}},92410:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var r=n(82450);function i(t){var e,n,i;return e=0,n=0,i=0,(0,r.Y)(t).map(function(t){if("M"===t[0])return e=t[1],n=t[2],0;var r,a,o,l=t.slice(1),s=l[0],c=l[1],u=l[2],f=l[3],d=l[4],h=l[5];return a=e,i=3*((h-(o=n))*(s+u)-(d-a)*(c+f)+c*(a-u)-s*(o-f)+h*(u+a/3)-d*(f+o/3))/20,e=(r=t.slice(-2))[0],n=r[1],i}).reduce(function(t,e){return t+e},0)>=0}},41741:function(t,e,n){"use strict";n.d(e,{r:function(){return a}});var r=n(33587),i=n(44457);function a(t,e,n){return(0,i.s)(t,e,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},18151:function(t,e,n){"use strict";n.d(e,{g:function(){return i}});var r=n(60788);function i(t,e){var n,i,a=t.length-1,o=[],l=0,s=(i=(n=t.length)-1,t.map(function(e,r){return t.map(function(e,a){var o=r+a;return 0===a||t[o]&&"M"===t[o][0]?["M"].concat(t[o].slice(-2)):(o>=n&&(o-=i),t[o])})}));return s.forEach(function(n,i){t.slice(1).forEach(function(n,o){l+=(0,r.y)(t[(i+o)%a].slice(-2),e[o%a].slice(-2))}),o[i]=l,l=0}),s[o.indexOf(Math.min.apply(null,o))]}},39832:function(t,e,n){"use strict";n.d(e,{D:function(){return a}});var r=n(33587),i=n(44457);function a(t,e){return(0,i.s)(t,void 0,(0,r.pi)((0,r.pi)({},e),{bbox:!1,length:!0})).length}},65847:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var r=n(47869);function i(t){return(0,r.n)(t)&&t.every(function(t){var e=t[0];return e===e.toUpperCase()})}},17559:function(t,e,n){"use strict";n.d(e,{y:function(){return i}});var r=n(65847);function i(t){return(0,r.b)(t)&&t.every(function(t){var e=t[0];return"ACLMQZ".includes(e)})}},47869:function(t,e,n){"use strict";n.d(e,{n:function(){return i}});var r=n(49219);function i(t){return Array.isArray(t)&&t.every(function(t){var e=t[0].toLowerCase();return r.R[e]===t.length-1&&"achlmqstvz".includes(e)})}},47583:function(t,e,n){"use strict";function r(t,e,n){var r=t[0],i=t[1];return[r+(e[0]-r)*n,i+(e[1]-i)*n]}n.d(e,{k:function(){return r}})},44457:function(t,e,n){"use strict";n.d(e,{s:function(){return c}});var r=n(96669),i=n(47583),a=n(60788);function o(t,e,n,r,o){var l=(0,a.y)([t,e],[n,r]),s={x:0,y:0};if("number"==typeof o){if(o<=0)s={x:t,y:e};else if(o>=l)s={x:n,y:r};else{var c=(0,i.k)([t,e],[n,r],o/l);s={x:c[0],y:c[1]}}}return{length:l,point:s,min:{x:Math.min(t,n),y:Math.min(e,r)},max:{x:Math.max(t,n),y:Math.max(e,r)}}}function l(t,e){var n=t.x,r=t.y,i=e.x,a=e.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(i,2)+Math.pow(a,2)));return(n*a-r*i<0?-1:1)*Math.acos((n*i+r*a)/o)}var s=n(53402);function c(t,e,n){for(var i,c,u,f,d,h,p,g,m,y=(0,r.A)(t),v="number"==typeof e,b=[],x=0,O=0,w=0,_=0,k=[],M=[],C=0,j={x:0,y:0},A=j,S=j,E=j,P=0,R=0,T=y.length;R1&&(y*=g(_),v*=g(_));var k=(Math.pow(y,2)*Math.pow(v,2)-Math.pow(y,2)*Math.pow(w.y,2)-Math.pow(v,2)*Math.pow(w.x,2))/(Math.pow(y,2)*Math.pow(w.y,2)+Math.pow(v,2)*Math.pow(w.x,2)),M=(a!==s?1:-1)*g(k=k<0?0:k),C={x:M*(y*w.y/v),y:M*(-(v*w.x)/y)},j={x:p(b)*C.x-h(b)*C.y+(t+c)/2,y:h(b)*C.x+p(b)*C.y+(e+u)/2},A={x:(w.x-C.x)/y,y:(w.y-C.y)/v},S=l({x:1,y:0},A),E=l(A,{x:(-w.x-C.x)/y,y:(-w.y-C.y)/v});!s&&E>0?E-=2*m:s&&E<0&&(E+=2*m);var P=S+(E%=2*m)*f,R=y*p(P),T=v*h(P);return{x:p(b)*R-h(b)*T+j.x,y:h(b)*R+p(b)*T+j.y}}(t,e,n,r,i,s,c,u,f,S/x)).x,_=p.y,m&&A.push({x:w,y:_}),v&&(k+=(0,a.y)(C,[w,_])),C=[w,_],O&&k>=d&&d>M[2]){var E=(k-d)/(k-M[2]);j={x:C[0]*(1-E)+M[0]*E,y:C[1]*(1-E)+M[1]*E}}M=[w,_,k]}return O&&d>=k&&(j={x:u,y:f}),{length:k,point:j,min:{x:Math.min.apply(null,A.map(function(t){return t.x})),y:Math.min.apply(null,A.map(function(t){return t.y}))},max:{x:Math.max.apply(null,A.map(function(t){return t.x})),y:Math.max.apply(null,A.map(function(t){return t.y}))}}}(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],(e||0)-P,n||{})).length,j=c.min,A=c.max,S=c.point):"C"===g?(C=(u=(0,s.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],(e||0)-P,n||{})).length,j=u.min,A=u.max,S=u.point):"Q"===g?(C=(f=function(t,e,n,r,i,o,l,s){var c,u=s.bbox,f=void 0===u||u,d=s.length,h=void 0===d||d,p=s.sampleSize,g=void 0===p?10:p,m="number"==typeof l,y=t,v=e,b=0,x=[y,v,0],O=[y,v],w={x:0,y:0},_=[{x:y,y:v}];m&&l<=0&&(w={x:y,y:v});for(var k=0;k<=g;k+=1){if(y=(c=function(t,e,n,r,i,a,o){var l=1-o;return{x:Math.pow(l,2)*t+2*l*o*n+Math.pow(o,2)*i,y:Math.pow(l,2)*e+2*l*o*r+Math.pow(o,2)*a}}(t,e,n,r,i,o,k/g)).x,v=c.y,f&&_.push({x:y,y:v}),h&&(b+=(0,a.y)(O,[y,v])),O=[y,v],m&&b>=l&&l>x[2]){var M=(b-l)/(b-x[2]);w={x:O[0]*(1-M)+x[0]*M,y:O[1]*(1-M)+x[1]*M}}x=[y,v,b]}return m&&l>=b&&(w={x:i,y:o}),{length:b,point:w,min:{x:Math.min.apply(null,_.map(function(t){return t.x})),y:Math.min.apply(null,_.map(function(t){return t.y}))},max:{x:Math.max.apply(null,_.map(function(t){return t.x})),y:Math.max.apply(null,_.map(function(t){return t.y}))}}}(b[0],b[1],b[2],b[3],b[4],b[5],(e||0)-P,n||{})).length,j=f.min,A=f.max,S=f.point):"Z"===g&&(C=(d=o((b=[x,O,w,_])[0],b[1],b[2],b[3],(e||0)-P)).length,j=d.min,A=d.max,S=d.point),v&&P=e&&(E=S),M.push(A),k.push(j),P+=C,x=(h="Z"!==g?m.slice(-2):[w,_])[0],O=h[1];return v&&e>=P&&(E={x:x,y:O}),{length:P,point:E,min:{x:Math.min.apply(null,k.map(function(t){return t.x})),y:Math.min.apply(null,k.map(function(t){return t.y}))},max:{x:Math.max.apply(null,M.map(function(t){return t.x})),y:Math.max.apply(null,M.map(function(t){return t.y}))}}}},53402:function(t,e,n){"use strict";n.d(e,{S:function(){return i}});var r=n(60788);function i(t,e,n,i,a,o,l,s,c,u){var f,d=u.bbox,h=void 0===d||d,p=u.length,g=void 0===p||p,m=u.sampleSize,y=void 0===m?10:m,v="number"==typeof c,b=t,x=e,O=0,w=[b,x,0],_=[b,x],k={x:0,y:0},M=[{x:b,y:x}];v&&c<=0&&(k={x:b,y:x});for(var C=0;C<=y;C+=1){if(b=(f=function(t,e,n,r,i,a,o,l,s){var c=1-s;return{x:Math.pow(c,3)*t+3*Math.pow(c,2)*s*n+3*c*Math.pow(s,2)*i+Math.pow(s,3)*o,y:Math.pow(c,3)*e+3*Math.pow(c,2)*s*r+3*c*Math.pow(s,2)*a+Math.pow(s,3)*l}}(t,e,n,i,a,o,l,s,C/y)).x,x=f.y,h&&M.push({x:b,y:x}),g&&(O+=(0,r.y)(_,[b,x])),_=[b,x],v&&O>=c&&c>w[2]){var j=(O-c)/(O-w[2]);k={x:_[0]*(1-j)+w[0]*j,y:_[1]*(1-j)+w[1]*j}}w=[b,x,O]}return v&&c>=O&&(k={x:l,y:s}),{length:O,point:k,min:{x:Math.min.apply(null,M.map(function(t){return t.x})),y:Math.min.apply(null,M.map(function(t){return t.y}))},max:{x:Math.max.apply(null,M.map(function(t){return t.x})),y:Math.max.apply(null,M.map(function(t){return t.y}))}}}},52678:function(t,e,n){"use strict";n.d(e,{Z:function(){return H}});var r=function(){function t(t){var e=this;this._insertTag=function(t){var n;n=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,n),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){if(this.ctr%(this.isSpeedy?65e3:1)==0){var e;this._insertTag(((e=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&e.setAttribute("nonce",this.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(t){if(t.sheet)return t.sheet;for(var e=0;e0?g[O]+" "+w:l(w,/&\f/g,g[O])).trim())&&(f[x++]=_);return b(t,e,n,0===a?E:c,f,d,h)}function N(t,e,n,r){return b(t,e,n,P,u(t,0,r),u(t,r+1,-1),r)}var B=function(t,e,n){for(var r=0,i=0;r=i,i=w(),38===r&&12===i&&(e[n]=1),!_(i);)O();return u(v,t,m)},D=function(t,e){var n=-1,r=44;do switch(_(r)){case 0:38===r&&12===w()&&(e[n]=1),t[n]+=B(m-1,e,n);break;case 2:t[n]+=M(r);break;case 4:if(44===r){t[++n]=58===w()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=a(r)}while(r=O());return t},Z=function(t,e){var n;return n=D(k(t),e),v="",n},z=new WeakMap,F=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,r=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||z.get(n))&&!r){z.set(t,!0);for(var i=[],a=Z(e,i),o=n.props,l=0,s=0;l-1&&!t.return)switch(t.type){case P:t.return=function t(e,n){switch(45^c(e,0)?(((n<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3):0){case 5103:return A+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return A+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return A+e+j+e+C+e+e;case 6828:case 4268:return A+e+C+e+e;case 6165:return A+e+C+"flex-"+e+e;case 5187:return A+e+l(e,/(\w+).+(:[^]+)/,A+"box-$1$2"+C+"flex-$1$2")+e;case 5443:return A+e+C+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return A+e+C+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return A+e+C+l(e,"shrink","negative")+e;case 5292:return A+e+C+l(e,"basis","preferred-size")+e;case 6060:return A+"box-"+l(e,"-grow","")+A+e+C+l(e,"grow","positive")+e;case 4554:return A+l(e,/([^-])(transform)/g,"$1"+A+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,A+"$1"),/(image-set)/,A+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,A+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,A+"box-pack:$3"+C+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+A+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,A+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-n>6)switch(c(e,n+1)){case 109:if(45!==c(e,n+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+j+(108==c(e,n+3)?"$3":"$2-$3"))+e;case 115:return~s(e,"stretch")?t(l(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(115!==c(e,n+1))break;case 6444:switch(c(e,f(e)-3-(~s(e,"!important")&&10))){case 107:return l(e,":",":"+A)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(45===c(e,14)?"inline-":"")+"box$3$1"+A+"$2$3$1"+C+"$2box$3")+e}break;case 5936:switch(c(e,n+11)){case 114:return A+e+C+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return A+e+C+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return A+e+C+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return A+e+C+e+e}return e}(t.value,t.length);break;case R:return T([x(t,{value:l(t.value,"@","@"+A)})],r);case E:if(t.length)return t.props.map(function(e){var n;switch(n=e,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return T([x(t,{props:[l(e,/:(read-\w+)/,":"+j+"$1")]})],r);case"::placeholder":return T([x(t,{props:[l(e,/:(plac\w+)/,":"+A+"input-$1")]}),x(t,{props:[l(e,/:(plac\w+)/,":"+j+"$1")]}),x(t,{props:[l(e,/:(plac\w+)/,C+"input-$1")]})],r)}return""}).join("")}}],H=function(t){var e,n,i,o,g,x=t.key;if("css"===x){var C=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(C,function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))})}var j=t.stylisPlugins||W,A={},E=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+x+' "]'),function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n2||_(y)>3?"":" "}(L);break;case 92:G+=function(t,e){for(var n;--e&&O()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return n=m+(e<6&&32==w()&&32==O()),u(v,t,n)}(m-1,7);continue;case 47:switch(w()){case 42:case 47:d(b(j=function(t,e){for(;O();)if(t+y===57)break;else if(t+y===84&&47===w())break;return"/*"+u(v,e,m-1)+"*"+a(47===t?t:O())}(O(),m),n,r,S,a(y),u(j,2,-2),0),C);break;default:G+="/"}break;case 123*B:k[A++]=f(G)*Z;case 125*B:case 59:case 0:switch(z){case 0:case 125:D=0;case 59+E:-1==Z&&(G=l(G,/\f/g,"")),T>0&&f(G)-P&&d(T>32?N(G+";",i,r,P-1):N(l(G," ","")+";",i,r,P-2),C);break;case 59:G+=";";default:if(d(H=I(G,n,r,A,E,o,k,F,$=[],W=[],P),g),123===z){if(0===E)t(G,n,H,H,$,g,P,k,W);else switch(99===R&&110===c(G,3)?100:R){case 100:case 108:case 109:case 115:t(e,H,H,i&&d(I(e,H,H,0,0,o,k,F,o,$=[],P),W),o,W,P,k,i?$:W);break;default:t(G,H,H,H,[""],W,0,k,W)}}}A=E=T=0,B=Z=1,F=G="",P=x;break;case 58:P=1+f(G),T=L;default:if(B<1){if(123==z)--B;else if(125==z&&0==B++&&125==(y=m>0?c(v,--m):0,p--,10===y&&(p=1,h--),y))continue}switch(G+=a(z),z*B){case 38:Z=E>0?1:(G+="\f",-1);break;case 44:k[A++]=(f(G)-1)*Z,Z=1;break;case 64:45===w()&&(G+=M(O())),R=w(),E=P=f(F=G+=function(t){for(;!_(w());)O();return u(v,t,m)}(m)),z++;break;case 45:45===L&&2==f(G)&&(B=0)}}return g}("",null,null,null,[""],e=k(e=t),0,[0],e),v="",n),P)},B={key:x,sheet:new r({key:x,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:A,registered:{},insert:function(t,e,n,r){g=n,R(t?t+"{"+e.styles+"}":e.styles),r&&(B.inserted[e.name]=!0)}};return B.sheet.hydrate(E),B}},18656:function(t,e,n){"use strict";function r(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}n.d(e,{Z:function(){return r}})},65070:function(t,e,n){"use strict";n.d(e,{C:function(){return o},T:function(){return s},w:function(){return l}});var r=n(38497),i=n(52678);n(20103),n(77680);var a=r.createContext("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null),o=a.Provider,l=function(t){return(0,r.forwardRef)(function(e,n){return t(e,(0,r.useContext)(a),n)})},s=r.createContext({})},95738:function(t,e,n){"use strict";n.d(e,{F4:function(){return u},iv:function(){return c},xB:function(){return s}});var r=n(65070),i=n(38497),a=n(49596),o=n(77680),l=n(20103);n(52678),n(97175);var s=(0,r.w)(function(t,e){var n=t.styles,s=(0,l.O)([n],void 0,i.useContext(r.T)),c=i.useRef();return(0,o.j)(function(){var t=e.key+"-global",n=new e.sheet.constructor({key:t,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+t+" "+s.name+'"]');return e.sheet.tags.length&&(n.before=e.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",t),n.hydrate([i])),c.current=[n,r],function(){n.flush()}},[e]),(0,o.j)(function(){var t=c.current,n=t[0];if(t[1]){t[1]=!1;return}if(void 0!==s.next&&(0,a.My)(e,s.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}e.insert("",s,n,!1)},[e,s.name]),null});function c(){for(var t=arguments.length,e=Array(t),n=0;n=4;++r,i-=4)e=(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))*1540483477+((e>>>16)*59797<<16),e^=e>>>24,n=(65535&e)*1540483477+((e>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(i){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n^=255&t.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(o)+c,styles:o,next:r}}},77680:function(t,e,n){"use strict";n.d(e,{L:function(){return o},j:function(){return l}});var r,i=n(38497),a=!!(r||(r=n.t(i,2))).useInsertionEffect&&(r||(r=n.t(i,2))).useInsertionEffect,o=a||function(t){return t()},l=a||i.useLayoutEffect},49596:function(t,e,n){"use strict";function r(t,e,n){var r="";return n.split(" ").forEach(function(n){void 0!==t[n]?e.push(t[n]+";"):r+=n+" "}),r}n.d(e,{My:function(){return a},fp:function(){return r},hC:function(){return i}});var i=function(t,e,n){var r=t.key+"-"+e.name;!1===n&&void 0===t.registered[r]&&(t.registered[r]=e.styles)},a=function(t,e,n){i(t,e,n);var r=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var a=e;do t.insert(e===a?"."+r:"",a,t.sheet,!0),a=a.next;while(void 0!==a)}}},11686:function(t,e,n){"use strict";n.d(e,{$:function(){return a}});var r=n(42096),i=n(53572);function a(t,e,n){return void 0===t||(0,i.X)(t)?e:(0,r.Z)({},e,{ownerState:(0,r.Z)({},e.ownerState,n)})}},48017:function(t,e,n){"use strict";function r(t,e=[]){if(void 0===t)return{};let n={};return Object.keys(t).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof t[n]&&!e.includes(n)).forEach(e=>{n[e]=t[e]}),n}n.d(e,{_:function(){return r}})},53572:function(t,e,n){"use strict";function r(t){return"string"==typeof t}n.d(e,{X:function(){return r}})},85519:function(t,e,n){"use strict";n.d(e,{L:function(){return l}});var r=n(42096),i=n(4280),a=n(48017);function o(t){if(void 0===t)return{};let e={};return Object.keys(t).filter(e=>!(e.match(/^on[A-Z]/)&&"function"==typeof t[e])).forEach(n=>{e[n]=t[n]}),e}function l(t){let{getSlotProps:e,additionalProps:n,externalSlotProps:l,externalForwardedProps:s,className:c}=t;if(!e){let t=(0,i.Z)(null==s?void 0:s.className,null==l?void 0:l.className,c,null==n?void 0:n.className),e=(0,r.Z)({},null==n?void 0:n.style,null==s?void 0:s.style,null==l?void 0:l.style),a=(0,r.Z)({},n,s,l);return t.length>0&&(a.className=t),Object.keys(e).length>0&&(a.style=e),{props:a,internalRef:void 0}}let u=(0,a._)((0,r.Z)({},s,l)),f=o(l),d=o(s),h=e(u),p=(0,i.Z)(null==h?void 0:h.className,null==n?void 0:n.className,c,null==s?void 0:s.className,null==l?void 0:l.className),g=(0,r.Z)({},null==h?void 0:h.style,null==n?void 0:n.style,null==s?void 0:s.style,null==l?void 0:l.style),m=(0,r.Z)({},h,n,d,f);return p.length>0&&(m.className=p),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:h.ref}}},27045:function(t,e,n){"use strict";function r(t,e,n){return"function"==typeof t?t(e,n):t}n.d(e,{x:function(){return r}})},49841:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var r=n(79760),i=n(42096),a=n(38497),o=n(4280),l=n(95893),s=n(17923),c=n(95592),u=n(47e3),f=n(74936),d=n(63923),h=n(73118);function p(t){return(0,h.d6)("MuiCard",t)}(0,h.sI)("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]);var g=n(53415),m=n(80574),y=n(96469);let v=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],b=t=>{let{size:e,variant:n,color:r,orientation:i}=t,a={root:["root",i,n&&`variant${(0,s.Z)(n)}`,r&&`color${(0,s.Z)(r)}`,e&&`size${(0,s.Z)(e)}`]};return(0,l.Z)(a,p,{})},x=(0,f.Z)("div",{name:"JoyCard",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>{var n,r;let{p:a,padding:o,borderRadius:l}=(0,g.V)({theme:t,ownerState:e},["p","padding","borderRadius"]);return[(0,i.Z)({"--Icon-color":"neutral"!==e.color||"solid"===e.variant?"currentColor":t.vars.palette.text.icon,"--Card-childRadius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))","--AspectRatio-radius":"var(--Card-childRadius)","--unstable_actionMargin":"calc(-1 * var(--variant-borderWidth, 0px))","--unstable_actionRadius":"var(--Card-radius)","--CardCover-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--CardOverflow-offset":"calc(-1 * var(--Card-padding))","--CardOverflow-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--Divider-inset":"calc(-1 * var(--Card-padding))"},"sm"===e.size&&{"--Card-radius":t.vars.radius.sm,"--Card-padding":"0.625rem",gap:"0.5rem"},"md"===e.size&&{"--Card-radius":t.vars.radius.md,"--Card-padding":"1rem",gap:"0.75rem 1rem"},"lg"===e.size&&{"--Card-radius":t.vars.radius.lg,"--Card-padding":"1.5rem",gap:"1rem 1.5rem"},{padding:"var(--Card-padding)",borderRadius:"var(--Card-radius)",backgroundColor:t.vars.palette.background.surface,position:"relative",display:"flex",flexDirection:"horizontal"===e.orientation?"row":"column"},t.typography[`body-${e.size}`],null==(n=t.variants[e.variant])?void 0:n[e.color]),"context"!==e.color&&e.invertedColors&&(null==(r=t.colorInversion[e.variant])?void 0:r[e.color]),void 0!==a&&{"--Card-padding":a},void 0!==o&&{"--Card-padding":o},void 0!==l&&{"--Card-radius":l}]}),O=a.forwardRef(function(t,e){let n=(0,u.Z)({props:t,name:"JoyCard"}),{className:l,color:s="neutral",component:f="div",invertedColors:h=!1,size:p="md",variant:g="outlined",children:O,orientation:w="vertical",slots:_={},slotProps:k={}}=n,M=(0,r.Z)(n,v),{getColor:C}=(0,d.VT)(g),j=C(t.color,s),A=(0,i.Z)({},n,{color:j,component:f,orientation:w,size:p,variant:g}),S=b(A),E=(0,i.Z)({},M,{component:f,slots:_,slotProps:k}),[P,R]=(0,m.Z)("root",{ref:e,className:(0,o.Z)(S.root,l),elementType:x,externalForwardedProps:E,ownerState:A}),T=(0,y.jsx)(P,(0,i.Z)({},R,{children:a.Children.map(O,(t,e)=>{if(!a.isValidElement(t))return t;let n={};if((0,c.Z)(t,["Divider"])){n.inset="inset"in t.props?t.props.inset:"context";let e="vertical"===w?"horizontal":"vertical";n.orientation="orientation"in t.props?t.props.orientation:e}return(0,c.Z)(t,["CardOverflow"])&&("horizontal"===w&&(n["data-parent"]="Card-horizontal"),"vertical"===w&&(n["data-parent"]="Card-vertical")),0===e&&(n["data-first-child"]=""),e===a.Children.count(O)-1&&(n["data-last-child"]=""),a.cloneElement(t,n)})}));return h?(0,y.jsx)(d.do,{variant:g,children:T}):T});var w=O},62715:function(t,e,n){"use strict";n.d(e,{Z:function(){return b}});var r=n(42096),i=n(79760),a=n(38497),o=n(4280),l=n(95893),s=n(47e3),c=n(74936),u=n(73118);function f(t){return(0,u.d6)("MuiCardContent",t)}(0,u.sI)("MuiCardContent",["root"]);let d=(0,u.sI)("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var h=n(80574),p=n(96469);let g=["className","component","children","orientation","slots","slotProps"],m=()=>(0,l.Z)({root:["root"]},f,{}),y=(0,c.Z)("div",{name:"JoyCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})(({ownerState:t})=>({display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column",flex:9999,zIndex:1,columnGap:"var(--Card-padding)",rowGap:"max(2px, calc(0.1875 * var(--Card-padding)))",padding:"var(--unstable_padding)",[`.${d.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}})),v=a.forwardRef(function(t,e){let n=(0,s.Z)({props:t,name:"JoyCardContent"}),{className:a,component:l="div",children:c,orientation:u="vertical",slots:f={},slotProps:d={}}=n,v=(0,i.Z)(n,g),b=(0,r.Z)({},v,{component:l,slots:f,slotProps:d}),x=(0,r.Z)({},n,{component:l,orientation:u}),O=m(),[w,_]=(0,h.Z)("root",{ref:e,className:(0,o.Z)(O.root,a),elementType:y,externalForwardedProps:b,ownerState:x});return(0,p.jsx)(w,(0,r.Z)({},_,{children:c}))});var b=v},84832:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var r=n(79760),i=n(42096),a=n(38497),o=n(4280),l=n(17923),s=n(95893),c=n(47e3),u=n(63923),f=n(74936),d=n(73118);function h(t){return(0,d.d6)("MuiTable",t)}(0,d.sI)("MuiTable",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","stickyHeader","stickyFooter","noWrap","hoverRow","borderAxisNone","borderAxisX","borderAxisXBetween","borderAxisY","borderAxisYBetween","borderAxisBoth","borderAxisBothBetween"]);var p=n(81630),g=n(80574),m=n(96469);let y=["className","component","children","borderAxis","hoverRow","noWrap","size","variant","color","stripe","stickyHeader","stickyFooter","slots","slotProps"],v=t=>{let{size:e,variant:n,color:r,borderAxis:i,stickyHeader:a,stickyFooter:o,noWrap:c,hoverRow:u}=t,f={root:["root",a&&"stickyHeader",o&&"stickyFooter",c&&"noWrap",u&&"hoverRow",i&&`borderAxis${(0,l.Z)(i)}`,n&&`variant${(0,l.Z)(n)}`,r&&`color${(0,l.Z)(r)}`,e&&`size${(0,l.Z)(e)}`]};return(0,s.Z)(f,h,{})},b={getColumnExceptFirst:()=>"& tr > *:not(:first-of-type), & tr > th + td, & tr > td + th",getCell:()=>"& th, & td",getHeadCell:()=>"& th",getHeaderCell:()=>"& thead th",getHeaderCellOfRow:t=>`& thead tr:nth-of-type(${t}) th`,getBottomHeaderCell:()=>"& thead th:not([colspan])",getHeaderNestedFirstColumn:()=>"& thead tr:not(:first-of-type) th:not([colspan]):first-of-type",getDataCell:()=>"& td",getDataCellExceptLastRow:()=>"& tr:not(:last-of-type) > td",getBodyCellExceptLastRow(){return`${this.getDataCellExceptLastRow()}, & tr:not(:last-of-type) > th[scope="row"]`},getBodyCellOfRow:t=>"number"==typeof t&&t<0?`& tbody tr:nth-last-of-type(${Math.abs(t)}) td, & tbody tr:nth-last-of-type(${Math.abs(t)}) th[scope="row"]`:`& tbody tr:nth-of-type(${t}) td, & tbody tr:nth-of-type(${t}) th[scope="row"]`,getBodyRow:t=>void 0===t?"& tbody tr":`& tbody tr:nth-of-type(${t})`,getFooterCell:()=>"& tfoot th, & tfoot td",getFooterFirstRowCell:()=>"& tfoot tr:not(:last-of-type) th, & tfoot tr:not(:last-of-type) td"},x=(0,f.Z)("table",{name:"JoyTable",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>{var n,r,a,o,l,s,c;let u=null==(n=t.variants[e.variant])?void 0:n[e.color];return[(0,i.Z)({"--Table-headerUnderlineThickness":"2px","--TableCell-borderColor":null!=(r=null==u?void 0:u.borderColor)?r:t.vars.palette.divider,"--TableCell-headBackground":`var(--Sheet-background, ${t.vars.palette.background.surface})`},"sm"===e.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 32px)","--TableCell-paddingX":"0.25rem","--TableCell-paddingY":"0.25rem"},"md"===e.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 40px)","--TableCell-paddingX":"0.5rem","--TableCell-paddingY":"0.375rem"},"lg"===e.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 48px)","--TableCell-paddingX":"0.75rem","--TableCell-paddingY":"0.5rem"},{tableLayout:"fixed",width:"100%",borderSpacing:"0px",borderCollapse:"separate",borderRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},t.typography[`body-${({sm:"xs",md:"sm",lg:"md"})[e.size]}`],null==(a=t.variants[e.variant])?void 0:a[e.color],{"& caption":{color:t.vars.palette.text.tertiary,padding:"calc(2 * var(--TableCell-paddingY)) var(--TableCell-paddingX)"},[b.getDataCell()]:(0,i.Z)({padding:"var(--TableCell-paddingY) var(--TableCell-paddingX)",height:"var(--unstable_TableCell-height)",borderColor:"var(--TableCell-borderColor)",backgroundColor:"var(--TableCell-dataBackground)"},e.noWrap&&{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}),[b.getHeadCell()]:{textAlign:"left",padding:"var(--TableCell-paddingY) var(--TableCell-paddingX)",backgroundColor:"var(--TableCell-headBackground)",height:"var(--unstable_TableCell-height)",fontWeight:t.vars.fontWeight.lg,borderColor:"var(--TableCell-borderColor)",color:t.vars.palette.text.secondary,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},[b.getHeaderCell()]:{verticalAlign:"bottom","&:first-of-type":{borderTopLeftRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},"&:last-of-type":{borderTopRightRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"}},"& tfoot tr > *":{backgroundColor:`var(--TableCell-footBackground, ${t.vars.palette.background.level1})`,"&:first-of-type":{borderBottomLeftRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},"&:last-of-type":{borderBottomRightRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"}}}),((null==(o=e.borderAxis)?void 0:o.startsWith("x"))||(null==(l=e.borderAxis)?void 0:l.startsWith("both")))&&{[b.getHeaderCell()]:{borderBottomWidth:1,borderBottomStyle:"solid"},[b.getBottomHeaderCell()]:{borderBottomWidth:"var(--Table-headerUnderlineThickness)",borderBottomStyle:"solid"},[b.getBodyCellExceptLastRow()]:{borderBottomWidth:1,borderBottomStyle:"solid"},[b.getFooterCell()]:{borderTopWidth:1,borderTopStyle:"solid"}},((null==(s=e.borderAxis)?void 0:s.startsWith("y"))||(null==(c=e.borderAxis)?void 0:c.startsWith("both")))&&{[`${b.getColumnExceptFirst()}, ${b.getHeaderNestedFirstColumn()}`]:{borderLeftWidth:1,borderLeftStyle:"solid"}},("x"===e.borderAxis||"both"===e.borderAxis)&&{[b.getHeaderCellOfRow(1)]:{borderTopWidth:1,borderTopStyle:"solid"},[b.getBodyCellOfRow(-1)]:{borderBottomWidth:1,borderBottomStyle:"solid"},[b.getFooterCell()]:{borderBottomWidth:1,borderBottomStyle:"solid"}},("y"===e.borderAxis||"both"===e.borderAxis)&&{"& tr > *:first-of-type":{borderLeftWidth:1,borderLeftStyle:"solid"},"& tr > *:last-of-type:not(:first-of-type)":{borderRightWidth:1,borderRightStyle:"solid"}},e.stripe&&{[b.getBodyRow(e.stripe)]:{background:`var(--TableRow-stripeBackground, ${t.vars.palette.background.level2})`,color:t.vars.palette.text.primary}},e.hoverRow&&{[b.getBodyRow()]:{"&:hover":{background:`var(--TableRow-hoverBackground, ${t.vars.palette.background.level3})`}}},e.stickyHeader&&{[b.getHeaderCell()]:{position:"sticky",top:0,zIndex:t.vars.zIndex.table},[b.getHeaderCellOfRow(2)]:{top:"var(--unstable_TableCell-height)"}},e.stickyFooter&&{[b.getFooterCell()]:{position:"sticky",bottom:0,zIndex:t.vars.zIndex.table,color:t.vars.palette.text.secondary,fontWeight:t.vars.fontWeight.lg},[b.getFooterFirstRowCell()]:{bottom:"var(--unstable_TableCell-height)"}}]}),O=a.forwardRef(function(t,e){let n=(0,c.Z)({props:t,name:"JoyTable"}),{className:a,component:l,children:s,borderAxis:f="xBetween",hoverRow:d=!1,noWrap:h=!1,size:b="md",variant:O="plain",color:w="neutral",stripe:_,stickyHeader:k=!1,stickyFooter:M=!1,slots:C={},slotProps:j={}}=n,A=(0,r.Z)(n,y),{getColor:S}=(0,u.VT)(O),E=S(t.color,w),P=(0,i.Z)({},n,{borderAxis:f,hoverRow:d,noWrap:h,component:l,size:b,color:E,variant:O,stripe:_,stickyHeader:k,stickyFooter:M}),R=v(P),T=(0,i.Z)({},A,{component:l,slots:C,slotProps:j}),[L,I]=(0,g.Z)("root",{ref:e,className:(0,o.Z)(R.root,a),elementType:x,externalForwardedProps:T,ownerState:P});return(0,m.jsx)(p.eu.Provider,{value:!0,children:(0,m.jsx)(L,(0,i.Z)({},I,{children:s}))})});var w=O},81630:function(t,e,n){"use strict";n.d(e,{eu:function(){return x},ZP:function(){return j}});var r=n(79760),i=n(42096),a=n(38497),o=n(17923),l=n(95592),s=n(23259),c=n(95893),u=n(74936),f=n(47e3),d=n(63923),h=n(80574),p=n(73118);function g(t){return(0,p.d6)("MuiTypography",t)}(0,p.sI)("MuiTypography",["root","h1","h2","h3","h4","title-lg","title-md","title-sm","body-lg","body-md","body-sm","body-xs","noWrap","gutterBottom","startDecorator","endDecorator","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var m=n(96469);let y=["color","textColor"],v=["component","gutterBottom","noWrap","level","levelMapping","children","endDecorator","startDecorator","variant","slots","slotProps"],b=a.createContext(!1),x=a.createContext(!1),O=t=>{let{gutterBottom:e,noWrap:n,level:r,color:i,variant:a}=t,l={root:["root",r,e&&"gutterBottom",n&&"noWrap",i&&`color${(0,o.Z)(i)}`,a&&`variant${(0,o.Z)(a)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,c.Z)(l,g,{})},w=(0,u.Z)("span",{name:"JoyTypography",slot:"StartDecorator",overridesResolver:(t,e)=>e.startDecorator})({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"}),_=(0,u.Z)("span",{name:"JoyTypography",slot:"endDecorator",overridesResolver:(t,e)=>e.endDecorator})({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"}),k=(0,u.Z)("span",{name:"JoyTypography",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>{var n,r,a,o,l;let s="inherit"!==e.level?null==(n=t.typography[e.level])?void 0:n.lineHeight:"1";return(0,i.Z)({"--Icon-fontSize":`calc(1em * ${s})`},e.color&&{"--Icon-color":"currentColor"},{margin:"var(--Typography-margin, 0px)"},e.nesting?{display:"inline"}:(0,i.Z)({display:"block"},e.unstable_hasSkeleton&&{position:"relative"}),(e.startDecorator||e.endDecorator)&&(0,i.Z)({display:"flex",alignItems:"center"},e.nesting&&(0,i.Z)({display:"inline-flex"},e.startDecorator&&{verticalAlign:"bottom"})),e.level&&"inherit"!==e.level&&t.typography[e.level],{fontSize:`var(--Typography-fontSize, ${e.level&&"inherit"!==e.level&&null!=(r=null==(a=t.typography[e.level])?void 0:a.fontSize)?r:"inherit"})`},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.color&&"context"!==e.color&&{color:`rgba(${null==(o=t.vars.palette[e.color])?void 0:o.mainChannel} / 1)`},e.variant&&(0,i.Z)({borderRadius:t.vars.radius.xs,paddingBlock:"min(0.1em, 4px)",paddingInline:"0.25em"},!e.nesting&&{marginInline:"-0.25em"},null==(l=t.variants[e.variant])?void 0:l[e.color]))}),M={h1:"h1",h2:"h2",h3:"h3",h4:"h4","title-lg":"p","title-md":"p","title-sm":"p","body-lg":"p","body-md":"p","body-sm":"p","body-xs":"span",inherit:"p"},C=a.forwardRef(function(t,e){let n=(0,f.Z)({props:t,name:"JoyTypography"}),{color:o,textColor:c}=n,u=(0,r.Z)(n,y),p=a.useContext(b),g=a.useContext(x),C=(0,s.Z)((0,i.Z)({},u,{color:c})),{component:j,gutterBottom:A=!1,noWrap:S=!1,level:E="body-md",levelMapping:P=M,children:R,endDecorator:T,startDecorator:L,variant:I,slots:N={},slotProps:B={}}=C,D=(0,r.Z)(C,v),{getColor:Z}=(0,d.VT)(I),z=Z(t.color,I?null!=o?o:"neutral":o),F=p||g?t.level||"inherit":E,$=(0,l.Z)(R,["Skeleton"]),W=j||(p?"span":P[F]||M[F]||"span"),H=(0,i.Z)({},C,{level:F,component:W,color:z,gutterBottom:A,noWrap:S,nesting:p,variant:I,unstable_hasSkeleton:$}),G=O(H),q=(0,i.Z)({},D,{component:W,slots:N,slotProps:B}),[Y,V]=(0,h.Z)("root",{ref:e,className:G.root,elementType:k,externalForwardedProps:q,ownerState:H}),[U,Q]=(0,h.Z)("startDecorator",{className:G.startDecorator,elementType:w,externalForwardedProps:q,ownerState:H}),[X,K]=(0,h.Z)("endDecorator",{className:G.endDecorator,elementType:_,externalForwardedProps:q,ownerState:H});return(0,m.jsx)(b.Provider,{value:!0,children:(0,m.jsxs)(Y,(0,i.Z)({},V,{children:[L&&(0,m.jsx)(U,(0,i.Z)({},Q,{children:L})),$?a.cloneElement(R,{variant:R.props.variant||"inline"}):R,T&&(0,m.jsx)(X,(0,i.Z)({},K,{children:T}))]}))})});C.muiName="Typography";var j=C},73118:function(t,e,n){"use strict";n.d(e,{d6:function(){return a},sI:function(){return o}});var r=n(67230),i=n(14293);let a=(t,e)=>(0,r.ZP)(t,e,"Mui"),o=(t,e)=>(0,i.Z)(t,e,"Mui")},63923:function(t,e,n){"use strict";n.d(e,{do:function(){return f},ZP:function(){return d},VT:function(){return u}});var r=n(38497),i=n(96454),a=n(15481),o=n(73587),l=n(96469);let s=()=>{let t=(0,i.Z)(a.Z);return t[o.Z]||t},c=r.createContext(void 0),u=t=>{let e=r.useContext(c);return{getColor:(n,r)=>e&&t&&e.includes(t)?n||"context":n||r}};function f({children:t,variant:e}){var n;let r=s();return(0,l.jsx)(c.Provider,{value:e?(null!=(n=r.colorInversionConfig)?n:a.Z.colorInversionConfig)[e]:void 0,children:t})}var d=c},15481:function(t,e,n){"use strict";n.d(e,{Z:function(){return I}});var r=n(42096),i=n(79760),a=n(68178);function o(t=""){return(e,...n)=>`var(--${t?`${t}-`:""}${e}${function e(...n){if(!n.length)return"";let r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${t?`${t}-`:""}${r}${e(...n.slice(1))})`}(...n)})`}var l=n(93605);let s=t=>{let e=function t(e){let n;if(e.type)return e;if("#"===e.charAt(0))return t(function(t){t=t.slice(1);let e=RegExp(`.{1,${t.length>=6?2:1}}`,"g"),n=t.match(e);return n&&1===n[0].length&&(n=n.map(t=>t+t)),n?`rgb${4===n.length?"a":""}(${n.map((t,e)=>e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),i=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(i))throw Error((0,l.Z)(9,e));let a=e.substring(r+1,e.length-1);if("color"===i){if(n=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw Error((0,l.Z)(10,n))}else a=a.split(",");return{type:i,values:a=a.map(t=>parseFloat(t)),colorSpace:n}}(t);return e.values.slice(0,3).map((t,n)=>-1!==e.type.indexOf("hsl")&&0!==n?`${t}%`:t).join(" ")};var c=n(58642),u=n(84226),f=n(96969);let d=(t,e,n,r=[])=>{let i=t;e.forEach((t,a)=>{a===e.length-1?Array.isArray(i)?i[Number(t)]=n:i&&"object"==typeof i&&(i[t]=n):i&&"object"==typeof i&&(i[t]||(i[t]=r.includes(t)?[]:{}),i=i[t])})},h=(t,e,n)=>{!function t(r,i=[],a=[]){Object.entries(r).forEach(([r,o])=>{n&&(!n||n([...i,r]))||null==o||("object"==typeof o&&Object.keys(o).length>0?t(o,[...i,r],Array.isArray(o)?[...a,r]:a):e([...i,r],o,a))})}(t)},p=(t,e)=>{if("number"==typeof e){if(["lineHeight","fontWeight","opacity","zIndex"].some(e=>t.includes(e)))return e;let n=t[t.length-1];return n.toLowerCase().indexOf("opacity")>=0?e:`${e}px`}return e};function g(t,e){let{prefix:n,shouldSkipGeneratingVar:r}=e||{},i={},a={},o={};return h(t,(t,e,l)=>{if(("string"==typeof e||"number"==typeof e)&&(!r||!r(t,e))){let r=`--${n?`${n}-`:""}${t.join("-")}`;Object.assign(i,{[r]:p(t,e)}),d(a,t,`var(${r})`,l),d(o,t,`var(${r}, ${e})`,l)}},t=>"vars"===t[0]),{css:i,vars:a,varsWithDefaults:o}}let m=["colorSchemes","components","defaultColorScheme"];var y=function(t,e){let{colorSchemes:n={},defaultColorScheme:o="light"}=t,l=(0,i.Z)(t,m),{vars:s,css:c,varsWithDefaults:u}=g(l,e),d=u,h={},{[o]:p}=n,y=(0,i.Z)(n,[o].map(f.Z));if(Object.entries(y||{}).forEach(([t,n])=>{let{vars:r,css:i,varsWithDefaults:o}=g(n,e);d=(0,a.Z)(d,o),h[t]={css:i,vars:r}}),p){let{css:t,vars:n,varsWithDefaults:r}=g(p,e);d=(0,a.Z)(d,r),h[o]={css:t,vars:n}}return{vars:d,generateCssVars:t=>{var n,i;if(!t){let n=(0,r.Z)({},c);return{css:n,vars:s,selector:(null==e||null==(i=e.getSelector)?void 0:i.call(e,t,n))||":root"}}let a=(0,r.Z)({},h[t].css);return{css:a,vars:h[t].vars,selector:(null==e||null==(n=e.getSelector)?void 0:n.call(e,t,a))||":root"}}}},v=n(42250),b=n(426);let x=(0,r.Z)({},b.Z,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});var O={grey:{50:"#F5F7FA",100:"#EAEEF6",200:"#DDE7EE",300:"#CDD7E1",400:"#9FA6AD",500:"#636B74",600:"#555E68",700:"#32383E",800:"#23272B",900:"#121416"},blue:{50:"#EDF5FD",100:"#E3EFFB",200:"#C7DFF7",300:"#97C3F0",400:"#4393E4",500:"#0B6BCB",600:"#185EA5",700:"#12467B",800:"#0A2744",900:"#051423"},yellow:{50:"#FEFAF6",100:"#FDF0E1",200:"#FCE1C2",300:"#F3C896",400:"#EA9A3E",500:"#9A5B13",600:"#72430D",700:"#492B08",800:"#2E1B05",900:"#1D1002"},red:{50:"#FEF6F6",100:"#FCE4E4",200:"#F7C5C5",300:"#F09898",400:"#E47474",500:"#C41C1C",600:"#A51818",700:"#7D1212",800:"#430A0A",900:"#240505"},green:{50:"#F6FEF6",100:"#E3FBE3",200:"#C7F7C7",300:"#A1E8A1",400:"#51BC51",500:"#1F7A1F",600:"#136C13",700:"#0A470A",800:"#042F04",900:"#021D02"}};function w(t){var e;return!!t[0].match(/^(typography|variants|breakpoints|colorInversion|colorInversionConfig)$/)||!!t[0].match(/sxConfig$/)||"palette"===t[0]&&!!(null!=(e=t[1])&&e.match(/^(mode)$/))||"focus"===t[0]&&"thickness"!==t[1]}var _=n(73118);let k=t=>t&&"object"==typeof t&&Object.keys(t).some(t=>{var e;return null==(e=t.match)?void 0:e.call(t,/^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/)}),M=(t,e,n)=>{e.includes("Color")&&(t.color=n),e.includes("Bg")&&(t.backgroundColor=n),e.includes("Border")&&(t.borderColor=n)},C=(t,e,n)=>{let r={};return Object.entries(e||{}).forEach(([e,i])=>{if(e.match(RegExp(`${t}(color|bg|border)`,"i"))&&i){let t=n?n(e):i;e.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default",r["--Icon-color"]="currentColor"),e.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),e.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),M(r,e,t)}}),r},j=t=>e=>`--${t?`${t}-`:""}${e.replace(/^--/,"")}`,A=(t,e)=>{let n={};if(e){let{getCssVar:i,palette:a}=e;Object.entries(a).forEach(e=>{let[o,l]=e;k(l)&&"object"==typeof l&&(n=(0,r.Z)({},n,{[o]:C(t,l,t=>i(`palette-${o}-${t}`,a[o][t]))}))})}return n.context=C(t,{plainColor:"var(--variant-plainColor)",plainHoverColor:"var(--variant-plainHoverColor)",plainHoverBg:"var(--variant-plainHoverBg)",plainActiveBg:"var(--variant-plainActiveBg)",plainDisabledColor:"var(--variant-plainDisabledColor)",outlinedColor:"var(--variant-outlinedColor)",outlinedBorder:"var(--variant-outlinedBorder)",outlinedHoverColor:"var(--variant-outlinedHoverColor)",outlinedHoverBorder:"var(--variant-outlinedHoverBorder)",outlinedHoverBg:"var(--variant-outlinedHoverBg)",outlinedActiveBg:"var(--variant-outlinedActiveBg)",outlinedDisabledColor:"var(--variant-outlinedDisabledColor)",outlinedDisabledBorder:"var(--variant-outlinedDisabledBorder)",softColor:"var(--variant-softColor)",softBg:"var(--variant-softBg)",softHoverColor:"var(--variant-softHoverColor)",softHoverBg:"var(--variant-softHoverBg)",softActiveBg:"var(--variant-softActiveBg)",softDisabledColor:"var(--variant-softDisabledColor)",softDisabledBg:"var(--variant-softDisabledBg)",solidColor:"var(--variant-solidColor)",solidBg:"var(--variant-solidBg)",solidHoverBg:"var(--variant-solidHoverBg)",solidActiveBg:"var(--variant-solidActiveBg)",solidDisabledColor:"var(--variant-solidDisabledColor)",solidDisabledBg:"var(--variant-solidDisabledBg)"}),n},S=(t,e)=>{let n=o(t.cssVarPrefix),r=j(t.cssVarPrefix),i={},a=e?e=>{var r;let i=e.split("-"),a=i[1],o=i[2];return n(e,null==(r=t.palette)||null==(r=r[a])?void 0:r[o])}:n;return Object.entries(t.palette).forEach(e=>{let[n,o]=e;k(o)&&(i[n]={"--Badge-ringColor":a(`palette-${n}-softBg`),[t.getColorSchemeSelector("dark")]:{[r("--palette-focusVisible")]:a(`palette-${n}-300`),[r("--palette-background-body")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.1)`,[r("--palette-background-surface")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`,[r("--palette-background-level1")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.4)`,[r("--palette-background-level3")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,[r("--palette-text-primary")]:a(`palette-${n}-100`),[r("--palette-text-secondary")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.72)`,[r("--palette-text-tertiary")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.6)`,[r("--palette-text-icon")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.6)`,[r("--palette-divider")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${a(`palette-${n}-lightChannel`)} / 1)`,"--variant-plainHoverColor":a(`palette-${n}-50`),"--variant-plainHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${a(`palette-${n}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":a(`palette-${n}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":a(`palette-${n}-600`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.2)`,"--variant-softColor":a(`palette-${n}-200`),"--variant-softBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":a(`palette-${n}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":a(`palette-${n}-600`),"--variant-solidActiveBg":a(`palette-${n}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`},[t.getColorSchemeSelector("light")]:{[r("--palette-focusVisible")]:a(`palette-${n}-500`),[r("--palette-background-body")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.1)`,[r("--palette-background-surface")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`,[r("--palette-background-level1")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,[r("--palette-background-level3")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.48)`,[r("--palette-text-primary")]:a(`palette-${n}-700`),[r("--palette-text-secondary")]:`rgba(${a(`palette-${n}-darkChannel`)} / 0.8)`,[r("--palette-text-tertiary")]:`rgba(${a(`palette-${n}-darkChannel`)} / 0.68)`,[r("--palette-text-icon")]:a(`palette-${n}-500`),[r("--palette-divider")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${a(`palette-${n}-darkChannel`)} / 0.8)`,"--variant-plainHoverColor":`rgba(${a(`palette-${n}-darkChannel`)} / 1)`,"--variant-plainHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${a(`palette-${n}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":a(`palette-${n}-600`),"--variant-outlinedHoverBorder":a(`palette-${n}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-softColor":a(`palette-${n}-600`),"--variant-softBg":`rgba(${a(`palette-${n}-lightChannel`)} / 0.8)`,"--variant-softHoverColor":a(`palette-${n}-700`),"--variant-softHoverBg":a(`palette-${n}-200`),"--variant-softActiveBg":a(`palette-${n}-300`),"--variant-softDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`,"--variant-solidColor":a("palette-common-white"),"--variant-solidBg":a(`palette-${n}-${"neutral"===n?"700":"500"}`),"--variant-solidHoverColor":a("palette-common-white"),"--variant-solidHoverBg":a(`palette-${n}-600`),"--variant-solidActiveBg":a(`palette-${n}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`}})}),i},E=(t,e)=>{let n=o(t.cssVarPrefix),r=j(t.cssVarPrefix),i={},a=e?e=>{let r=e.split("-"),i=r[1],a=r[2];return n(e,t.palette[i][a])}:n;return Object.entries(t.palette).forEach(t=>{let[e,n]=t;k(n)&&(i[e]={colorScheme:"dark","--Badge-ringColor":a(`palette-${e}-solidBg`),[r("--palette-focusVisible")]:a(`palette-${e}-200`),[r("--palette-background-body")]:"rgba(0 0 0 / 0.1)",[r("--palette-background-surface")]:"rgba(0 0 0 / 0.06)",[r("--palette-background-popup")]:a(`palette-${e}-700`),[r("--palette-background-level1")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.36)`,[r("--palette-background-level3")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.6)`,[r("--palette-text-primary")]:a("palette-common-white"),[r("--palette-text-secondary")]:a(`palette-${e}-200`),[r("--palette-text-tertiary")]:a(`palette-${e}-300`),[r("--palette-text-icon")]:a(`palette-${e}-200`),[r("--palette-divider")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainColor":a(`palette-${e}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":a(`palette-${e}-50`),"--variant-outlinedBorder":`rgba(${a(`palette-${e}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":a(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":a("palette-common-white"),"--variant-softHoverColor":a("palette-common-white"),"--variant-softBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.16)`,"--variant-softDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`,"--variant-solidColor":a(`palette-${e}-${"neutral"===e?"600":"500"}`),"--variant-solidBg":a("palette-common-white"),"--variant-solidHoverBg":a("palette-common-white"),"--variant-solidActiveBg":a(`palette-${e}-100`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`})}),i},P=["cssVarPrefix","breakpoints","spacing","components","variants","colorInversion","shouldSkipGeneratingVar"],R=["colorSchemes"],T=(t="joy")=>o(t),L=function(t){var e,n,o,l,f,d,h,p,g,m;let b=t||{},{cssVarPrefix:k="joy",breakpoints:M,spacing:C,components:j,variants:L,colorInversion:I,shouldSkipGeneratingVar:N=w}=b,B=(0,i.Z)(b,P),D=T(k),Z={primary:O.blue,neutral:O.grey,danger:O.red,success:O.green,warning:O.yellow,common:{white:"#FCFCFD",black:"#09090B"}},z=t=>{var e;let n=t.split("-"),r=n[1],i=n[2];return D(t,null==(e=Z[r])?void 0:e[i])},F=t=>({plainColor:z(`palette-${t}-500`),plainHoverBg:z(`palette-${t}-50`),plainActiveBg:z(`palette-${t}-100`),plainDisabledColor:z("palette-neutral-400"),outlinedColor:z(`palette-${t}-500`),outlinedBorder:z(`palette-${t}-300`),outlinedHoverBg:z(`palette-${t}-100`),outlinedActiveBg:z(`palette-${t}-200`),outlinedDisabledColor:z("palette-neutral-400"),outlinedDisabledBorder:z("palette-neutral-200"),softColor:z(`palette-${t}-700`),softBg:z(`palette-${t}-100`),softHoverBg:z(`palette-${t}-200`),softActiveColor:z(`palette-${t}-800`),softActiveBg:z(`palette-${t}-300`),softDisabledColor:z("palette-neutral-400"),softDisabledBg:z(`palette-${t}-50`),solidColor:z("palette-common-white"),solidBg:z(`palette-${t}-500`),solidHoverBg:z(`palette-${t}-600`),solidActiveBg:z(`palette-${t}-700`),solidDisabledColor:z("palette-neutral-400"),solidDisabledBg:z(`palette-${t}-100`)}),$=t=>({plainColor:z(`palette-${t}-300`),plainHoverBg:z(`palette-${t}-800`),plainActiveBg:z(`palette-${t}-700`),plainDisabledColor:z("palette-neutral-500"),outlinedColor:z(`palette-${t}-200`),outlinedBorder:z(`palette-${t}-700`),outlinedHoverBg:z(`palette-${t}-800`),outlinedActiveBg:z(`palette-${t}-700`),outlinedDisabledColor:z("palette-neutral-500"),outlinedDisabledBorder:z("palette-neutral-800"),softColor:z(`palette-${t}-200`),softBg:z(`palette-${t}-800`),softHoverBg:z(`palette-${t}-700`),softActiveColor:z(`palette-${t}-100`),softActiveBg:z(`palette-${t}-600`),softDisabledColor:z("palette-neutral-500"),softDisabledBg:z(`palette-${t}-900`),solidColor:z("palette-common-white"),solidBg:z(`palette-${t}-500`),solidHoverBg:z(`palette-${t}-600`),solidActiveBg:z(`palette-${t}-700`),solidDisabledColor:z("palette-neutral-500"),solidDisabledBg:z(`palette-${t}-800`)}),W={palette:{mode:"light",primary:(0,r.Z)({},Z.primary,F("primary")),neutral:(0,r.Z)({},Z.neutral,F("neutral"),{plainColor:z("palette-neutral-700"),outlinedColor:z("palette-neutral-700")}),danger:(0,r.Z)({},Z.danger,F("danger")),success:(0,r.Z)({},Z.success,F("success")),warning:(0,r.Z)({},Z.warning,F("warning")),common:{white:"#FBFCFD",black:"#0E0E10"},text:{primary:z("palette-neutral-800"),secondary:z("palette-neutral-700"),tertiary:z("palette-neutral-600"),icon:z("palette-neutral-500")},background:{body:z("palette-neutral-50"),surface:z("palette-common-white"),popup:z("palette-common-white"),level1:z("palette-neutral-100"),level2:z("palette-neutral-200"),level3:z("palette-neutral-300"),tooltip:z("palette-neutral-500"),backdrop:`rgba(${D("palette-neutral-darkChannel",s(Z.neutral[900]))} / 0.25)`},divider:`rgba(${D("palette-neutral-mainChannel",s(Z.neutral[500]))} / 0.3)`,focusVisible:z("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},H={palette:{mode:"dark",primary:(0,r.Z)({},Z.primary,$("primary")),neutral:(0,r.Z)({},Z.neutral,$("neutral")),danger:(0,r.Z)({},Z.danger,$("danger")),success:(0,r.Z)({},Z.success,$("success")),warning:(0,r.Z)({},Z.warning,$("warning")),common:{white:"#FBFCFD",black:"#0E0E10"},text:{primary:z("palette-neutral-100"),secondary:z("palette-neutral-300"),tertiary:z("palette-neutral-400"),icon:z("palette-neutral-400")},background:{body:z("palette-common-black"),surface:z("palette-neutral-900"),popup:z("palette-common-black"),level1:z("palette-neutral-800"),level2:z("palette-neutral-700"),level3:z("palette-neutral-600"),tooltip:z("palette-neutral-600"),backdrop:`rgba(${D("palette-neutral-darkChannel",s(Z.neutral[50]))} / 0.25)`},divider:`rgba(${D("palette-neutral-mainChannel",s(Z.neutral[500]))} / 0.16)`,focusVisible:z("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},G='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',q=(0,r.Z)({body:`"Inter", ${D(`fontFamily-fallback, ${G}`)}`,display:`"Inter", ${D(`fontFamily-fallback, ${G}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:G},B.fontFamily),Y=(0,r.Z)({sm:300,md:500,lg:600,xl:700},B.fontWeight),V=(0,r.Z)({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem"},B.fontSize),U=(0,r.Z)({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},B.lineHeight),Q=null!=(e=null==(n=B.colorSchemes)||null==(n=n.light)?void 0:n.shadowRing)?e:W.shadowRing,X=null!=(o=null==(l=B.colorSchemes)||null==(l=l.light)?void 0:l.shadowChannel)?o:W.shadowChannel,K=null!=(f=null==(d=B.colorSchemes)||null==(d=d.light)?void 0:d.shadowOpacity)?f:W.shadowOpacity,J={colorSchemes:{light:W,dark:H},fontSize:V,fontFamily:q,fontWeight:Y,focus:{thickness:"2px",selector:`&.${(0,_.d6)("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${D("focus-thickness",null!=(h=null==(p=B.focus)?void 0:p.thickness)?h:"2px")})`,outline:`${D("focus-thickness",null!=(g=null==(m=B.focus)?void 0:m.thickness)?g:"2px")} solid ${D("palette-focusVisible",Z.primary[500])}`}},lineHeight:U,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${D("shadowRing",Q)}, 0px 1px 2px 0px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`,sm:`${D("shadowRing",Q)}, 0px 1px 2px 0px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)}), 0px 2px 4px 0px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`,md:`${D("shadowRing",Q)}, 0px 2px 8px -2px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)}), 0px 6px 12px -2px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`,lg:`${D("shadowRing",Q)}, 0px 2px 8px -2px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)}), 0px 12px 16px -4px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`,xl:`${D("shadowRing",Q)}, 0px 2px 8px -2px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)}), 0px 20px 24px -4px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,tooltip:1500},typography:{h1:{fontFamily:D(`fontFamily-display, ${q.display}`),fontWeight:D(`fontWeight-xl, ${Y.xl}`),fontSize:D(`fontSize-xl4, ${V.xl4}`),lineHeight:D(`lineHeight-xs, ${U.xs}`),letterSpacing:"-0.025em",color:D(`palette-text-primary, ${W.palette.text.primary}`)},h2:{fontFamily:D(`fontFamily-display, ${q.display}`),fontWeight:D(`fontWeight-xl, ${Y.xl}`),fontSize:D(`fontSize-xl3, ${V.xl3}`),lineHeight:D(`lineHeight-xs, ${U.xs}`),letterSpacing:"-0.025em",color:D(`palette-text-primary, ${W.palette.text.primary}`)},h3:{fontFamily:D(`fontFamily-display, ${q.display}`),fontWeight:D(`fontWeight-lg, ${Y.lg}`),fontSize:D(`fontSize-xl2, ${V.xl2}`),lineHeight:D(`lineHeight-xs, ${U.xs}`),letterSpacing:"-0.025em",color:D(`palette-text-primary, ${W.palette.text.primary}`)},h4:{fontFamily:D(`fontFamily-display, ${q.display}`),fontWeight:D(`fontWeight-lg, ${Y.lg}`),fontSize:D(`fontSize-xl, ${V.xl}`),lineHeight:D(`lineHeight-md, ${U.md}`),letterSpacing:"-0.025em",color:D(`palette-text-primary, ${W.palette.text.primary}`)},"title-lg":{fontFamily:D(`fontFamily-body, ${q.body}`),fontWeight:D(`fontWeight-lg, ${Y.lg}`),fontSize:D(`fontSize-lg, ${V.lg}`),lineHeight:D(`lineHeight-xs, ${U.xs}`),color:D(`palette-text-primary, ${W.palette.text.primary}`)},"title-md":{fontFamily:D(`fontFamily-body, ${q.body}`),fontWeight:D(`fontWeight-md, ${Y.md}`),fontSize:D(`fontSize-md, ${V.md}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-primary, ${W.palette.text.primary}`)},"title-sm":{fontFamily:D(`fontFamily-body, ${q.body}`),fontWeight:D(`fontWeight-md, ${Y.md}`),fontSize:D(`fontSize-sm, ${V.sm}`),lineHeight:D(`lineHeight-sm, ${U.sm}`),color:D(`palette-text-primary, ${W.palette.text.primary}`)},"body-lg":{fontFamily:D(`fontFamily-body, ${q.body}`),fontSize:D(`fontSize-lg, ${V.lg}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-secondary, ${W.palette.text.secondary}`)},"body-md":{fontFamily:D(`fontFamily-body, ${q.body}`),fontSize:D(`fontSize-md, ${V.md}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-secondary, ${W.palette.text.secondary}`)},"body-sm":{fontFamily:D(`fontFamily-body, ${q.body}`),fontSize:D(`fontSize-sm, ${V.sm}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-tertiary, ${W.palette.text.tertiary}`)},"body-xs":{fontFamily:D(`fontFamily-body, ${q.body}`),fontWeight:D(`fontWeight-md, ${Y.md}`),fontSize:D(`fontSize-xs, ${V.xs}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-tertiary, ${W.palette.text.tertiary}`)}}},tt=B?(0,a.Z)(J,B):J,{colorSchemes:te}=tt,tn=(0,i.Z)(tt,R),tr=(0,r.Z)({colorSchemes:te},tn,{breakpoints:(0,c.Z)(null!=M?M:{}),components:(0,a.Z)({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:t,theme:e})=>{var n;let i=t.instanceFontSize;return(0,r.Z)({margin:"var(--Icon-margin)"},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.vars.fontSize[t.fontSize]})`},!t.htmlColor&&(0,r.Z)({color:`var(--Icon-color, ${tr.vars.palette.text.icon})`},t.color&&"inherit"!==t.color&&"context"!==t.color&&e.vars.palette[t.color]&&{color:`rgba(${null==(n=e.vars.palette[t.color])?void 0:n.mainChannel} / 1)`},"context"===t.color&&{color:e.vars.palette.text.secondary}),i&&"inherit"!==i&&{"--Icon-fontSize":e.vars.fontSize[i]})}}}},j),cssVarPrefix:k,getCssVar:D,spacing:(0,u.Z)(C),colorInversionConfig:{soft:["plain","outlined","soft","solid"],solid:["plain","outlined","soft","solid"]}});Object.entries(tr.colorSchemes).forEach(([t,e])=>{!function(t,e){Object.keys(e).forEach(n=>{let r={main:"500",light:"200",dark:"700"};"dark"===t&&(r.main=400),!e[n].mainChannel&&e[n][r.main]&&(e[n].mainChannel=s(e[n][r.main])),!e[n].lightChannel&&e[n][r.light]&&(e[n].lightChannel=s(e[n][r.light])),!e[n].darkChannel&&e[n][r.dark]&&(e[n].darkChannel=s(e[n][r.dark]))})}(t,e.palette)});let{vars:ti,generateCssVars:ta}=y((0,r.Z)({colorSchemes:te},tn),{prefix:k,shouldSkipGeneratingVar:N});tr.vars=ti,tr.generateCssVars=ta,tr.unstable_sxConfig=(0,r.Z)({},x,null==t?void 0:t.unstable_sxConfig),tr.unstable_sx=function(t){return(0,v.Z)({sx:t,theme:this})},tr.getColorSchemeSelector=t=>"light"===t?"&":`&[data-joy-color-scheme="${t}"], [data-joy-color-scheme="${t}"] &`;let to={getCssVar:D,palette:tr.colorSchemes.light.palette};return tr.variants=(0,a.Z)({plain:A("plain",to),plainHover:A("plainHover",to),plainActive:A("plainActive",to),plainDisabled:A("plainDisabled",to),outlined:A("outlined",to),outlinedHover:A("outlinedHover",to),outlinedActive:A("outlinedActive",to),outlinedDisabled:A("outlinedDisabled",to),soft:A("soft",to),softHover:A("softHover",to),softActive:A("softActive",to),softDisabled:A("softDisabled",to),solid:A("solid",to),solidHover:A("solidHover",to),solidActive:A("solidActive",to),solidDisabled:A("solidDisabled",to)},L),tr.palette=(0,r.Z)({},tr.colorSchemes.light.palette,{colorScheme:"light"}),tr.shouldSkipGeneratingVar=N,tr.colorInversion="function"==typeof I?I:(0,a.Z)({soft:S(tr,!0),solid:E(tr,!0)},I||{},{clone:!1}),tr}();var I=L},73587:function(t,e){"use strict";e.Z="$$joy"},53415:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});var r=n(42096);let i=({theme:t,ownerState:e},n)=>{let i={};return e.sx&&(function e(n){if("function"==typeof n){let r=n(t);e(r)}else Array.isArray(n)?n.forEach(t=>{"boolean"!=typeof t&&e(t)}):"object"==typeof n&&(i=(0,r.Z)({},i,n))}(e.sx),n.forEach(e=>{let n=i[e];if("string"==typeof n||"number"==typeof n){if("borderRadius"===e){if("number"==typeof n)i[e]=`${n}px`;else{var r;i[e]=(null==(r=t.vars)?void 0:r.radius[n])||n}}else -1!==["p","padding","m","margin"].indexOf(e)&&"number"==typeof n?i[e]=t.spacing(n):i[e]=n}else"function"==typeof n?i[e]=n(t):i[e]=void 0})),i}},74936:function(t,e,n){"use strict";var r=n(76311),i=n(15481),a=n(73587);let o=(0,r.ZP)({defaultTheme:i.Z,themeId:a.Z});e.Z=o},47e3:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(42096),i=n(65838),a=n(15481),o=n(73587);function l({props:t,name:e}){return(0,i.Z)({props:t,name:e,defaultTheme:(0,r.Z)({},a.Z,{components:{}}),themeId:o.Z})}},80574:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var r=n(42096),i=n(79760),a=n(44520),o=n(27045),l=n(85519),s=n(11686),c=n(63923);let u=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],f=["component","slots","slotProps"],d=["component"],h=["disableColorInversion"];function p(t,e){let{className:n,elementType:p,ownerState:g,externalForwardedProps:m,getSlotOwnerState:y,internalForwardedProps:v}=e,b=(0,i.Z)(e,u),{component:x,slots:O={[t]:void 0},slotProps:w={[t]:void 0}}=m,_=(0,i.Z)(m,f),k=O[t]||p,M=(0,o.x)(w[t],g),C=(0,l.L)((0,r.Z)({className:n},b,{externalForwardedProps:"root"===t?_:void 0,externalSlotProps:M})),{props:{component:j},internalRef:A}=C,S=(0,i.Z)(C.props,d),E=(0,a.Z)(A,null==M?void 0:M.ref,e.ref),P=y?y(S):{},{disableColorInversion:R=!1}=P,T=(0,i.Z)(P,h),L=(0,r.Z)({},g,T),{getColor:I}=(0,c.VT)(L.variant);if("root"===t){var N;L.color=null!=(N=S.color)?N:g.color}else R||(L.color=I(S.color,L.color));let B="root"===t?j||x:j,D=(0,s.$)(k,(0,r.Z)({},"root"===t&&!x&&!O[t]&&v,"root"!==t&&!O[t]&&v,S,B&&{as:B},{ref:E}),L);return Object.keys(T).forEach(t=>{delete D[t]}),[k,D]}},62967:function(t,e,n){"use strict";let r;n.r(e),n.d(e,{GlobalStyles:function(){return w},StyledEngineProvider:function(){return O},ThemeContext:function(){return c.T},css:function(){return v.iv},default:function(){return _},internal_processStyles:function(){return k},keyframes:function(){return v.F4}});var i=n(42096),a=n(38497),o=n(18656),l=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,o.Z)(function(t){return l.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)}),c=n(65070),u=n(49596),f=n(20103),d=n(77680),h=function(t){return"theme"!==t},p=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?s:h},g=function(t,e,n){var r;if(e){var i=e.shouldForwardProp;r=t.__emotion_forwardProp&&i?function(e){return t.__emotion_forwardProp(e)&&i(e)}:i}return"function"!=typeof r&&n&&(r=t.__emotion_forwardProp),r},m=function(t){var e=t.cache,n=t.serialized,r=t.isStringTag;return(0,u.hC)(e,n,r),(0,d.L)(function(){return(0,u.My)(e,n,r)}),null},y=(function t(e,n){var r,o,l=e.__emotion_real===e,s=l&&e.__emotion_base||e;void 0!==n&&(r=n.label,o=n.target);var d=g(e,n,l),h=d||p(s),y=!h("as");return function(){var v=arguments,b=l&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==r&&b.push("label:"+r+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var x=v.length,O=1;Oe(null==t||0===Object.keys(t).length?n:t):e;return(0,x.jsx)(v.xB,{styles:r})}function _(t,e){let n=y(t,e);return n}"object"==typeof document&&(r=(0,b.Z)({key:"css",prepend:!0}));let k=(t,e)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))}},45015:function(t,e,n){"use strict";n.d(e,{L7:function(){return l},VO:function(){return r},W8:function(){return o},k9:function(){return a}});let r={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${r[t]}px)`};function a(t,e,n){let a=t.theme||{};if(Array.isArray(e)){let t=a.breakpoints||i;return e.reduce((r,i,a)=>(r[t.up(t.keys[a])]=n(e[a]),r),{})}if("object"==typeof e){let t=a.breakpoints||i;return Object.keys(e).reduce((i,a)=>{if(-1!==Object.keys(t.values||r).indexOf(a)){let r=t.up(a);i[r]=n(e[a],a)}else i[a]=e[a];return i},{})}let o=n(e);return o}function o(t={}){var e;let n=null==(e=t.keys)?void 0:e.reduce((e,n)=>{let r=t.up(n);return e[r]={},e},{});return n||{}}function l(t,e){return t.reduce((t,e)=>{let n=t[e],r=!n||0===Object.keys(n).length;return r&&delete t[e],t},e)}},76311:function(t,e,n){"use strict";n.d(e,{ZP:function(){return y}});var r=n(42096),i=n(79760),a=n(62967),o=n(68178),l=n(51365),s=n(42250);let c=["ownerState"],u=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}let h=(0,l.Z)(),p=t=>t?t.charAt(0).toLowerCase()+t.slice(1):t;function g({defaultTheme:t,theme:e,themeId:n}){return 0===Object.keys(e).length?t:e[n]||e}function m(t,e){let{ownerState:n}=e,a=(0,i.Z)(e,c),o="function"==typeof t?t((0,r.Z)({ownerState:n},a)):t;if(Array.isArray(o))return o.flatMap(t=>m(t,(0,r.Z)({ownerState:n},a)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:t=[]}=o,e=(0,i.Z)(o,u),l=e;return t.forEach(t=>{let e=!0;"function"==typeof t.props?e=t.props((0,r.Z)({ownerState:n},a,n)):Object.keys(t.props).forEach(r=>{(null==n?void 0:n[r])!==t.props[r]&&a[r]!==t.props[r]&&(e=!1)}),e&&(Array.isArray(l)||(l=[l]),l.push("function"==typeof t.style?t.style((0,r.Z)({ownerState:n},a,n)):t.style))}),l}return o}function y(t={}){let{themeId:e,defaultTheme:n=h,rootShouldForwardProp:l=d,slotShouldForwardProp:c=d}=t,u=t=>(0,s.Z)((0,r.Z)({},t,{theme:g((0,r.Z)({},t,{defaultTheme:n,themeId:e}))}));return u.__mui_systemSx=!0,(t,s={})=>{var h;let y;(0,a.internal_processStyles)(t,t=>t.filter(t=>!(null!=t&&t.__mui_systemSx)));let{name:v,slot:b,skipVariantsResolver:x,skipSx:O,overridesResolver:w=(h=p(b))?(t,e)=>e[h]:null}=s,_=(0,i.Z)(s,f),k=void 0!==x?x:b&&"Root"!==b&&"root"!==b||!1,M=O||!1,C=d;"Root"===b||"root"===b?C=l:b?C=c:"string"==typeof t&&t.charCodeAt(0)>96&&(C=void 0);let j=(0,a.default)(t,(0,r.Z)({shouldForwardProp:C,label:y},_)),A=t=>"function"==typeof t&&t.__emotion_real!==t||(0,o.P)(t)?i=>m(t,(0,r.Z)({},i,{theme:g({theme:i.theme,defaultTheme:n,themeId:e})})):t,S=(i,...a)=>{let o=A(i),l=a?a.map(A):[];v&&w&&l.push(t=>{let i=g((0,r.Z)({},t,{defaultTheme:n,themeId:e}));if(!i.components||!i.components[v]||!i.components[v].styleOverrides)return null;let a=i.components[v].styleOverrides,o={};return Object.entries(a).forEach(([e,n])=>{o[e]=m(n,(0,r.Z)({},t,{theme:i}))}),w(t,o)}),v&&!k&&l.push(t=>{var i;let a=g((0,r.Z)({},t,{defaultTheme:n,themeId:e})),o=null==a||null==(i=a.components)||null==(i=i[v])?void 0:i.variants;return m({variants:o},(0,r.Z)({},t,{theme:a}))}),M||l.push(u);let s=l.length-a.length;if(Array.isArray(i)&&s>0){let t=Array(s).fill("");(o=[...i,...t]).raw=[...i.raw,...t]}let c=j(o,...l);return t.muiName&&(c.muiName=t.muiName),c};return j.withConfig&&(S.withConfig=j.withConfig),S}}},54408:function(t,e,n){"use strict";function r(t,e){if(this.vars&&"function"==typeof this.getColorSchemeSelector){let n=this.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:e}}return this.palette.mode===t?e:{}}n.d(e,{Z:function(){return r}})},58642:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(79760),i=n(42096);let a=["values","unit","step"],o=t=>{let e=Object.keys(t).map(e=>({key:e,val:t[e]}))||[];return e.sort((t,e)=>t.val-e.val),e.reduce((t,e)=>(0,i.Z)({},t,{[e.key]:e.val}),{})};function l(t){let{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:l=5}=t,s=(0,r.Z)(t,a),c=o(e),u=Object.keys(c);function f(t){let r="number"==typeof e[t]?e[t]:t;return`@media (min-width:${r}${n})`}function d(t){let r="number"==typeof e[t]?e[t]:t;return`@media (max-width:${r-l/100}${n})`}function h(t,r){let i=u.indexOf(r);return`@media (min-width:${"number"==typeof e[t]?e[t]:t}${n}) and (max-width:${(-1!==i&&"number"==typeof e[u[i]]?e[u[i]]:r)-l/100}${n})`}return(0,i.Z)({keys:u,values:c,up:f,down:d,between:h,only:function(t){return u.indexOf(t)+1{let n=0===t.length?[1]:t;return n.map(t=>{let n=e(t);return"number"==typeof n?`${n}px`:n}).join(" ")};return n.mui=!0,n}},51365:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var r=n(42096),i=n(79760),a=n(68178),o=n(58642),l={borderRadius:4},s=n(84226),c=n(42250),u=n(426),f=n(54408);let d=["breakpoints","palette","spacing","shape"];var h=function(t={},...e){let{breakpoints:n={},palette:h={},spacing:p,shape:g={}}=t,m=(0,i.Z)(t,d),y=(0,o.Z)(n),v=(0,s.Z)(p),b=(0,a.Z)({breakpoints:y,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},h),spacing:v,shape:(0,r.Z)({},l,g)},m);return b.applyStyles=f.Z,(b=e.reduce((t,e)=>(0,a.Z)(t,e),b)).unstable_sxConfig=(0,r.Z)({},u.Z,null==m?void 0:m.unstable_sxConfig),b.unstable_sx=function(t){return(0,c.Z)({sx:t,theme:this})},b}},68477:function(t,e,n){"use strict";var r=n(68178);e.Z=function(t,e){return e?(0,r.Z)(t,e,{clone:!1}):t}},97421:function(t,e,n){"use strict";n.d(e,{hB:function(){return p},eI:function(){return h},NA:function(){return g},e6:function(){return y},o3:function(){return v}});var r=n(45015),i=n(75559),a=n(68477);let o={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(t){let e={};return n=>(void 0===e[n]&&(e[n]=t(n)),e[n])}(t=>{if(t.length>2){if(!s[t])return[t];t=s[t]}let[e,n]=t.split(""),r=o[e],i=l[n]||"";return Array.isArray(i)?i.map(t=>r+t):[r+i]}),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...u,...f];function h(t,e,n,r){var a;let o=null!=(a=(0,i.DW)(t,e,!1))?a:n;return"number"==typeof o?t=>"string"==typeof t?t:o*t:Array.isArray(o)?t=>"string"==typeof t?t:o[t]:"function"==typeof o?o:()=>void 0}function p(t){return h(t,"spacing",8,"spacing")}function g(t,e){if("string"==typeof e||null==e)return e;let n=Math.abs(e),r=t(n);return e>=0?r:"number"==typeof r?-r:`-${r}`}function m(t,e){let n=p(t.theme);return Object.keys(t).map(i=>(function(t,e,n,i){if(-1===e.indexOf(n))return null;let a=c(n),o=t[n];return(0,r.k9)(t,o,t=>a.reduce((e,n)=>(e[n]=g(i,t),e),{}))})(t,e,i,n)).reduce(a.Z,{})}function y(t){return m(t,u)}function v(t){return m(t,f)}function b(t){return m(t,d)}y.propTypes={},y.filterProps=u,v.propTypes={},v.filterProps=f,b.propTypes={},b.filterProps=d},75559:function(t,e,n){"use strict";n.d(e,{DW:function(){return a},Jq:function(){return o}});var r=n(17923),i=n(45015);function a(t,e,n=!0){if(!e||"string"!=typeof e)return null;if(t&&t.vars&&n){let n=`vars.${e}`.split(".").reduce((t,e)=>t&&t[e]?t[e]:null,t);if(null!=n)return n}return e.split(".").reduce((t,e)=>t&&null!=t[e]?t[e]:null,t)}function o(t,e,n,r=n){let i;return i="function"==typeof t?t(n):Array.isArray(t)?t[n]||r:a(t,n)||r,e&&(i=e(i,r,t)),i}e.ZP=function(t){let{prop:e,cssProperty:n=t.prop,themeKey:l,transform:s}=t,c=t=>{if(null==t[e])return null;let c=t[e],u=t.theme,f=a(u,l)||{};return(0,i.k9)(t,c,t=>{let i=o(f,s,t);return(t===i&&"string"==typeof t&&(i=o(f,s,`${e}${"default"===t?"":(0,r.Z)(t)}`,t)),!1===n)?i:{[n]:i}})};return c.propTypes={},c.filterProps=[e],c}},426:function(t,e,n){"use strict";n.d(e,{Z:function(){return V}});var r=n(97421),i=n(75559),a=n(68477),o=function(...t){let e=t.reduce((t,e)=>(e.filterProps.forEach(n=>{t[n]=e}),t),{}),n=t=>Object.keys(t).reduce((n,r)=>e[r]?(0,a.Z)(n,e[r](t)):n,{});return n.propTypes={},n.filterProps=t.reduce((t,e)=>t.concat(e.filterProps),[]),n},l=n(45015);function s(t){return"number"!=typeof t?t:`${t}px solid`}function c(t,e){return(0,i.ZP)({prop:t,themeKey:"borders",transform:e})}let u=c("border",s),f=c("borderTop",s),d=c("borderRight",s),h=c("borderBottom",s),p=c("borderLeft",s),g=c("borderColor"),m=c("borderTopColor"),y=c("borderRightColor"),v=c("borderBottomColor"),b=c("borderLeftColor"),x=c("outline",s),O=c("outlineColor"),w=t=>{if(void 0!==t.borderRadius&&null!==t.borderRadius){let e=(0,r.eI)(t.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(t,t.borderRadius,t=>({borderRadius:(0,r.NA)(e,t)}))}return null};w.propTypes={},w.filterProps=["borderRadius"],o(u,f,d,h,p,g,m,y,v,b,w,x,O);let _=t=>{if(void 0!==t.gap&&null!==t.gap){let e=(0,r.eI)(t.theme,"spacing",8,"gap");return(0,l.k9)(t,t.gap,t=>({gap:(0,r.NA)(e,t)}))}return null};_.propTypes={},_.filterProps=["gap"];let k=t=>{if(void 0!==t.columnGap&&null!==t.columnGap){let e=(0,r.eI)(t.theme,"spacing",8,"columnGap");return(0,l.k9)(t,t.columnGap,t=>({columnGap:(0,r.NA)(e,t)}))}return null};k.propTypes={},k.filterProps=["columnGap"];let M=t=>{if(void 0!==t.rowGap&&null!==t.rowGap){let e=(0,r.eI)(t.theme,"spacing",8,"rowGap");return(0,l.k9)(t,t.rowGap,t=>({rowGap:(0,r.NA)(e,t)}))}return null};M.propTypes={},M.filterProps=["rowGap"];let C=(0,i.ZP)({prop:"gridColumn"}),j=(0,i.ZP)({prop:"gridRow"}),A=(0,i.ZP)({prop:"gridAutoFlow"}),S=(0,i.ZP)({prop:"gridAutoColumns"}),E=(0,i.ZP)({prop:"gridAutoRows"}),P=(0,i.ZP)({prop:"gridTemplateColumns"}),R=(0,i.ZP)({prop:"gridTemplateRows"}),T=(0,i.ZP)({prop:"gridTemplateAreas"}),L=(0,i.ZP)({prop:"gridArea"});function I(t,e){return"grey"===e?e:t}o(_,k,M,C,j,A,S,E,P,R,T,L);let N=(0,i.ZP)({prop:"color",themeKey:"palette",transform:I}),B=(0,i.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:I}),D=(0,i.ZP)({prop:"backgroundColor",themeKey:"palette",transform:I});function Z(t){return t<=1&&0!==t?`${100*t}%`:t}o(N,B,D);let z=(0,i.ZP)({prop:"width",transform:Z}),F=t=>void 0!==t.maxWidth&&null!==t.maxWidth?(0,l.k9)(t,t.maxWidth,e=>{var n,r;let i=(null==(n=t.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[e])||l.VO[e];return i?(null==(r=t.theme)||null==(r=r.breakpoints)?void 0:r.unit)!=="px"?{maxWidth:`${i}${t.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Z(e)}}):null;F.filterProps=["maxWidth"];let $=(0,i.ZP)({prop:"minWidth",transform:Z}),W=(0,i.ZP)({prop:"height",transform:Z}),H=(0,i.ZP)({prop:"maxHeight",transform:Z}),G=(0,i.ZP)({prop:"minHeight",transform:Z});(0,i.ZP)({prop:"size",cssProperty:"width",transform:Z}),(0,i.ZP)({prop:"size",cssProperty:"height",transform:Z});let q=(0,i.ZP)({prop:"boxSizing"});o(z,F,$,W,H,G,q);let Y={border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:s},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:w},color:{themeKey:"palette",transform:I},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:I},backgroundColor:{themeKey:"palette",transform:I},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_},rowGap:{style:M},columnGap:{style:k},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Z},maxWidth:{style:F},minWidth:{transform:Z},height:{transform:Z},maxHeight:{transform:Z},minHeight:{transform:Z},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};var V=Y},23259:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(42096),i=n(79760),a=n(68178),o=n(426);let l=["sx"],s=t=>{var e,n;let r={systemProps:{},otherProps:{}},i=null!=(e=null==t||null==(n=t.theme)?void 0:n.unstable_sxConfig)?e:o.Z;return Object.keys(t).forEach(e=>{i[e]?r.systemProps[e]=t[e]:r.otherProps[e]=t[e]}),r};function c(t){let e;let{sx:n}=t,o=(0,i.Z)(t,l),{systemProps:c,otherProps:u}=s(o);return e=Array.isArray(n)?[c,...n]:"function"==typeof n?(...t)=>{let e=n(...t);return(0,a.P)(e)?(0,r.Z)({},c,e):c}:(0,r.Z)({},c,n),(0,r.Z)({},u,{sx:e})}},42250:function(t,e,n){"use strict";n.d(e,{n:function(){return s}});var r=n(17923),i=n(68477),a=n(75559),o=n(45015),l=n(426);function s(){function t(t,e,n,i){let l={[t]:e,theme:n},s=i[t];if(!s)return{[t]:e};let{cssProperty:c=t,themeKey:u,transform:f,style:d}=s;if(null==e)return null;if("typography"===u&&"inherit"===e)return{[t]:e};let h=(0,a.DW)(n,u)||{};return d?d(l):(0,o.k9)(l,e,e=>{let n=(0,a.Jq)(h,f,e);return(e===n&&"string"==typeof e&&(n=(0,a.Jq)(h,f,`${t}${"default"===e?"":(0,r.Z)(e)}`,e)),!1===c)?n:{[c]:n}})}return function e(n){var r;let{sx:a,theme:s={}}=n||{};if(!a)return null;let c=null!=(r=s.unstable_sxConfig)?r:l.Z;function u(n){let r=n;if("function"==typeof n)r=n(s);else if("object"!=typeof n)return n;if(!r)return null;let a=(0,o.W8)(s.breakpoints),l=Object.keys(a),u=a;return Object.keys(r).forEach(n=>{var a;let l="function"==typeof(a=r[n])?a(s):a;if(null!=l){if("object"==typeof l){if(c[n])u=(0,i.Z)(u,t(n,l,s,c));else{let t=(0,o.k9)({theme:s},l,t=>({[n]:t}));(function(...t){let e=t.reduce((t,e)=>t.concat(Object.keys(e)),[]),n=new Set(e);return t.every(t=>n.size===Object.keys(t).length)})(t,l)?u[n]=e({sx:l,theme:s}):u=(0,i.Z)(u,t)}}else u=(0,i.Z)(u,t(n,l,s,c))}}),(0,o.L7)(l,u)}return Array.isArray(a)?a.map(u):u(a)}}let c=s();c.filterProps=["sx"],e.Z=c},96454:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(51365),i=n(38497),a=n(65070),o=function(t=null){let e=i.useContext(a.T);return e&&0!==Object.keys(e).length?e:t};let l=(0,r.Z)();var s=function(t=l){return o(t)}},65838:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(96228),i=n(96454);function a({props:t,name:e,defaultTheme:n,themeId:a}){let o=(0,i.Z)(n);a&&(o=o[a]||o);let l=function(t){let{theme:e,name:n,props:i}=t;return e&&e.components&&e.components[n]&&e.components[n].defaultProps?(0,r.Z)(e.components[n].defaultProps,i):i}({theme:o,name:e,props:t});return l}},58409:function(t,e){"use strict";let n;let r=t=>t,i=(n=r,{configure(t){n=t},generate:t=>n(t),reset(){n=r}});e.Z=i},17923:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(93605);function i(t){if("string"!=typeof t)throw Error((0,r.Z)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},95893:function(t,e,n){"use strict";function r(t,e,n){let r={};return Object.keys(t).forEach(i=>{r[i]=t[i].reduce((t,r)=>{if(r){let i=e(r);""!==i&&t.push(i),n&&n[r]&&t.push(n[r])}return t},[]).join(" ")}),r}n.d(e,{Z:function(){return r}})},68178:function(t,e,n){"use strict";n.d(e,{P:function(){return i},Z:function(){return function t(e,n,a={clone:!0}){let o=a.clone?(0,r.Z)({},e):e;return i(e)&&i(n)&&Object.keys(n).forEach(r=>{i(n[r])&&Object.prototype.hasOwnProperty.call(e,r)&&i(e[r])?o[r]=t(e[r],n[r],a):a.clone?o[r]=i(n[r])?function t(e){if(!i(e))return e;let n={};return Object.keys(e).forEach(r=>{n[r]=t(e[r])}),n}(n[r]):n[r]:o[r]=n[r]}),o}}});var r=n(42096);function i(t){if("object"!=typeof t||null===t)return!1;let e=Object.getPrototypeOf(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}},93605:function(t,e,n){"use strict";function r(t){let e="https://mui.com/production-error/?code="+t;for(let t=1;t{i[e]=(0,r.ZP)(t,e,n)}),i}},95592:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(38497);function i(t,e){var n,i;return r.isValidElement(t)&&-1!==e.indexOf(null!=(n=t.type.muiName)?n:null==(i=t.type)||null==(i=i._payload)||null==(i=i.value)?void 0:i.muiName)}},96228:function(t,e,n){"use strict";n.d(e,{Z:function(){return function t(e,n){let i=(0,r.Z)({},n);return Object.keys(e).forEach(a=>{if(a.toString().match(/^(components|slots)$/))i[a]=(0,r.Z)({},e[a],i[a]);else if(a.toString().match(/^(componentsProps|slotProps)$/)){let o=e[a]||{},l=n[a];i[a]={},l&&Object.keys(l)?o&&Object.keys(o)?(i[a]=(0,r.Z)({},l),Object.keys(o).forEach(e=>{i[a][e]=t(o[e],l[e])})):i[a]=l:i[a]=o}else void 0===i[a]&&(i[a]=e[a])}),i}}});var r=n(42096)},85021:function(t,e,n){"use strict";function r(t,e){"function"==typeof t?t(e):t&&(t.current=e)}n.d(e,{Z:function(){return r}})},44520:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(38497),i=n(85021);function a(...t){return r.useMemo(()=>t.every(t=>null==t)?null:e=>{t.forEach(t=>{(0,i.Z)(t,e)})},t)}},30994:function(t,e,n){"use strict";var r=n(98606);e.Z=r.Z},38437:function(t,e,n){"use strict";var r=n(22698);e.Z=r.Z},29543:function(t,e){"use strict";var n={protan:{x:.7465,y:.2535,m:1.273463,yi:-.073894},deutan:{x:1.4,y:-.4,m:.968437,yi:.003331},tritan:{x:.1748,y:0,m:.062921,yi:.292119},custom:{x:.735,y:.265,m:-1.059259,yi:1.026914}},r=function(t){var e={},n=t.R/255,r=t.G/255,i=t.B/255;return n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,e.X=.41242371206635076*n+.3575793401363035*r+.1804662232369621*i,e.Y=.21265606784927693*n+.715157818248362*r+.0721864539171564*i,e.Z=.019331987577444885*n+.11919267420354762*r+.9504491124870351*i,e},i=function(t){var e=t.X+t.Y+t.Z;return 0===e?{x:0,y:0,Y:t.Y}:{x:t.X/e,y:t.Y/e,Y:t.Y}};e.a=function(t,e,a){var o,l,s,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,k,M;return"achroma"===e?(o={R:o=.212656*t.R+.715158*t.G+.072186*t.B,G:o,B:o},a&&(s=(l=1.75)+1,o.R=(l*o.R+t.R)/s,o.G=(l*o.G+t.G)/s,o.B=(l*o.B+t.B)/s),o):(c=n[e],f=((u=i(r(t))).y-c.y)/(u.x-c.x),d=u.y-u.x*f,h=(c.yi-d)/(f-c.m),p=f*h+d,(o={}).X=h*u.Y/p,o.Y=u.Y,o.Z=(1-(h+p))*u.Y/p,_=.312713*u.Y/.329016,k=.358271*u.Y/.329016,y=3.240712470389558*(g=_-o.X)+-0+-.49857440415943116*(m=k-o.Z),v=-.969259258688888*g+0+.041556132211625726*m,b=.05563600315398933*g+-0+1.0570636917433989*m,o.R=3.240712470389558*o.X+-1.5372626602963142*o.Y+-.49857440415943116*o.Z,o.G=-.969259258688888*o.X+1.875996969313966*o.Y+.041556132211625726*o.Z,o.B=.05563600315398933*o.X+-.2039948802843549*o.Y+1.0570636917433989*o.Z,x=((o.R<0?0:1)-o.R)/y,O=((o.G<0?0:1)-o.G)/v,(w=(w=((o.B<0?0:1)-o.B)/b)>1||w<0?0:w)>(M=(x=x>1||x<0?0:x)>(O=O>1||O<0?0:O)?x:O)&&(M=w),o.R+=M*y,o.G+=M*v,o.B+=M*b,o.R=255*(o.R<=0?0:o.R>=1?1:Math.pow(o.R,.45454545454545453)),o.G=255*(o.G<=0?0:o.G>=1?1:Math.pow(o.G,.45454545454545453)),o.B=255*(o.B<=0?0:o.B>=1?1:Math.pow(o.B,.45454545454545453)),a&&(s=(l=1.75)+1,o.R=(l*o.R+t.R)/s,o.G=(l*o.G+t.G)/s,o.B=(l*o.B+t.B)/s),o)}},13106:function(t,e,n){"use strict";var r=n(52539),i=n(29543).a,a={protanomaly:{type:"protan",anomalize:!0},protanopia:{type:"protan"},deuteranomaly:{type:"deutan",anomalize:!0},deuteranopia:{type:"deutan"},tritanomaly:{type:"tritan",anomalize:!0},tritanopia:{type:"tritan"},achromatomaly:{type:"achroma",anomalize:!0},achromatopsia:{type:"achroma"}},o=function(t){return Math.round(255*t)},l=function(t){return function(e,n){var l=r(e);if(!l)return n?{R:0,G:0,B:0}:"#000000";var s=new i({R:o(l.red()||0),G:o(l.green()||0),B:o(l.blue()||0)},a[t].type,a[t].anomalize);return(s.R=s.R||0,s.G=s.G||0,s.B=s.B||0,n)?(delete s.X,delete s.Y,delete s.Z,s):new r.RGB(s.R%256/255,s.G%256/255,s.B%256/255,1).hex()}};for(var s in a)e[s]=l(s)},34744:function(t){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},90723:function(t,e,n){var r=n(34744),i=n(66757),a=Object.hasOwnProperty,o=Object.create(null);for(var l in r)a.call(r,l)&&(o[r[l]]=l);var s=t.exports={to:{},get:{}};function c(t,e,n){return Math.min(Math.max(e,t),n)}function u(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}s.get=function(t){var e,n;switch(t.substring(0,3).toLowerCase()){case"hsl":e=s.get.hsl(t),n="hsl";break;case"hwb":e=s.get.hwb(t),n="hwb";break;default:e=s.get.rgb(t),n="rgb"}return e?{model:n,value:e}:null},s.get.rgb=function(t){if(!t)return null;var e,n,i,o=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(n=0,i=e[2],e=e[1];n<3;n++){var l=2*n;o[n]=parseInt(e.slice(l,l+2),16)}i&&(o[3]=parseInt(i,16)/255)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(n=0,i=(e=e[1])[3];n<3;n++)o[n]=parseInt(e[n]+e[n],16);i&&(o[3]=parseInt(i+i,16)/255)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)o[n]=parseInt(e[n+1],0);e[4]&&(e[5]?o[3]=.01*parseFloat(e[4]):o[3]=parseFloat(e[4]))}else if(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)o[n]=Math.round(2.55*parseFloat(e[n+1]));e[4]&&(e[5]?o[3]=.01*parseFloat(e[4]):o[3]=parseFloat(e[4]))}else if(!(e=t.match(/^(\w+)$/)))return null;else return"transparent"===e[1]?[0,0,0,0]:a.call(r,e[1])?((o=r[e[1]])[3]=1,o):null;for(n=0;n<3;n++)o[n]=c(o[n],0,255);return o[3]=c(o[3],0,1),o},s.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},s.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},s.to.hex=function(){var t=i(arguments);return"#"+u(t[0])+u(t[1])+u(t[2])+(t[3]<1?u(Math.round(255*t[3])):"")},s.to.rgb=function(){var t=i(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},s.to.rgb.percent=function(){var t=i(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+n+"%, "+r+"%)":"rgba("+e+"%, "+n+"%, "+r+"%, "+t[3]+")"},s.to.hsl=function(){var t=i(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},s.to.hwb=function(){var t=i(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},s.to.keyword=function(t){return o[t.slice(0,3)]}},56257:function(t){"use strict";var e=Object.prototype.hasOwnProperty,n="~";function r(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function a(t,e,r,a,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var l=new i(r,a||t,o),s=n?n+e:e;return t._events[s]?t._events[s].fn?t._events[s]=[t._events[s],l]:t._events[s].push(l):(t._events[s]=l,t._eventsCount++),t}function o(t,e){0==--t._eventsCount?t._events=new r:delete t._events[e]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),l.prototype.eventNames=function(){var t,r,i=[];if(0===this._eventsCount)return i;for(r in t=this._events)e.call(t,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},l.prototype.listeners=function(t){var e=n?n+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,o=Array(a);ic+l*o*u||f>=g)p=o;else{if(Math.abs(h)<=-s*u)return o;h*(p-d)>=0&&(p=d),d=o,g=f}return 0}o=o||1,l=l||1e-6,s=s||.1;for(var m=0;m<10;++m){if(a(i.x,1,r.x,o,e),f=i.fx=t(i.x,i.fxprime),h=n(i.fxprime,e),f>c+l*o*u||m&&f>=d)return g(p,o,d);if(Math.abs(h)<=-s*u)break;if(h>=0)return g(o,p,f);d=f,p=o,o*=2}return o}t.bisect=function(t,e,n,r){var i=(r=r||{}).maxIterations||100,a=r.tolerance||1e-10,o=t(e),l=t(n),s=n-e;if(o*l>0)throw"Initial bisect points must have opposite signs";if(0===o)return e;if(0===l)return n;for(var c=0;c=0&&(e=u),Math.abs(s)=g[p-1].fx){var A=!1;if(O.fx>j.fx?(a(w,1+d,x,-d,j),w.fx=t(w),w.fx=1)break;for(m=1;m=r(f.fxprime))break}return l.history&&l.history.push({x:f.x.slice(),fx:f.fx,fxprime:f.fxprime.slice(),alpha:p}),f},t.gradientDescent=function(t,e,n){for(var i=(n=n||{}).maxIterations||100*e.length,o=n.learnRate||.001,l={x:e.slice(),fx:0,fxprime:e.slice()},s=0;s=r(l.fxprime)));++s);return l},t.gradientDescentLineSearch=function(t,e,n){n=n||{};var a,l={x:e.slice(),fx:0,fxprime:e.slice()},s={x:e.slice(),fx:0,fxprime:e.slice()},c=n.maxIterations||100*e.length,u=n.learnRate||1,f=e.slice(),d=n.c1||.001,h=n.c2||.1,p=[];if(n.history){var g=t;t=function(t,e){return p.push(t.slice()),g(t,e)}}l.fx=t(l.x,l.fxprime);for(var m=0;mr(l.fxprime)));++m);return l},t.zeros=e,t.zerosM=function(t,n){return e(t).map(function(){return e(n)})},t.norm2=r,t.weightedSum=a,t.scale=i}(e)},23176:function(t,e,n){"use strict";n.d(e,{Ib:function(){return r},WT:function(){return i}});var r=1e-6,i="undefined"!=typeof Float32Array?Float32Array:Array;Math.hypot||(Math.hypot=function(){for(var t=0,e=arguments.length;e--;)t+=arguments[e]*arguments[e];return Math.sqrt(t)})},9718:function(t,e,n){"use strict";n.d(e,{Ue:function(){return i},al:function(){return o},xO:function(){return a}});var r=n(23176);function i(){var t=new r.WT(9);return r.WT!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function o(t,e,n,i,a,o,l,s,c){var u=new r.WT(9);return u[0]=t,u[1]=e,u[2]=n,u[3]=i,u[4]=a,u[5]=o,u[6]=l,u[7]=s,u[8]=c,u}},44178:function(t,e,n){"use strict";n.r(e),n.d(e,{add:function(){return Y},adjoint:function(){return d},clone:function(){return a},copy:function(){return o},create:function(){return i},determinant:function(){return h},equals:function(){return K},exactEquals:function(){return X},frob:function(){return q},fromQuat:function(){return L},fromQuat2:function(){return A},fromRotation:function(){return _},fromRotationTranslation:function(){return j},fromRotationTranslationScale:function(){return R},fromRotationTranslationScaleOrigin:function(){return T},fromScaling:function(){return w},fromTranslation:function(){return O},fromValues:function(){return l},fromXRotation:function(){return k},fromYRotation:function(){return M},fromZRotation:function(){return C},frustum:function(){return I},getRotation:function(){return P},getScaling:function(){return E},getTranslation:function(){return S},identity:function(){return c},invert:function(){return f},lookAt:function(){return W},mul:function(){return J},multiply:function(){return p},multiplyScalar:function(){return U},multiplyScalarAndAdd:function(){return Q},ortho:function(){return F},orthoNO:function(){return z},orthoZO:function(){return $},perspective:function(){return B},perspectiveFromFieldOfView:function(){return Z},perspectiveNO:function(){return N},perspectiveZO:function(){return D},rotate:function(){return y},rotateX:function(){return v},rotateY:function(){return b},rotateZ:function(){return x},scale:function(){return m},set:function(){return s},str:function(){return G},sub:function(){return tt},subtract:function(){return V},targetTo:function(){return H},translate:function(){return g},transpose:function(){return u}});var r=n(23176);function i(){var t=new r.WT(16);return r.WT!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t}function a(t){var e=new r.WT(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function l(t,e,n,i,a,o,l,s,c,u,f,d,h,p,g,m){var y=new r.WT(16);return y[0]=t,y[1]=e,y[2]=n,y[3]=i,y[4]=a,y[5]=o,y[6]=l,y[7]=s,y[8]=c,y[9]=u,y[10]=f,y[11]=d,y[12]=h,y[13]=p,y[14]=g,y[15]=m,y}function s(t,e,n,r,i,a,o,l,s,c,u,f,d,h,p,g,m){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=l,t[7]=s,t[8]=c,t[9]=u,t[10]=f,t[11]=d,t[12]=h,t[13]=p,t[14]=g,t[15]=m,t}function c(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function u(t,e){if(t===e){var n=e[1],r=e[2],i=e[3],a=e[6],o=e[7],l=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=a,t[11]=e[14],t[12]=i,t[13]=o,t[14]=l}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function f(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],l=e[5],s=e[6],c=e[7],u=e[8],f=e[9],d=e[10],h=e[11],p=e[12],g=e[13],m=e[14],y=e[15],v=n*l-r*o,b=n*s-i*o,x=n*c-a*o,O=r*s-i*l,w=r*c-a*l,_=i*c-a*s,k=u*g-f*p,M=u*m-d*p,C=u*y-h*p,j=f*m-d*g,A=f*y-h*g,S=d*y-h*m,E=v*S-b*A+x*j+O*C-w*M+_*k;return E?(E=1/E,t[0]=(l*S-s*A+c*j)*E,t[1]=(i*A-r*S-a*j)*E,t[2]=(g*_-m*w+y*O)*E,t[3]=(d*w-f*_-h*O)*E,t[4]=(s*C-o*S-c*M)*E,t[5]=(n*S-i*C+a*M)*E,t[6]=(m*x-p*_-y*b)*E,t[7]=(u*_-d*x+h*b)*E,t[8]=(o*A-l*C+c*k)*E,t[9]=(r*C-n*A-a*k)*E,t[10]=(p*w-g*x+y*v)*E,t[11]=(f*x-u*w-h*v)*E,t[12]=(l*M-o*j-s*k)*E,t[13]=(n*j-r*M+i*k)*E,t[14]=(g*b-p*O-m*v)*E,t[15]=(u*O-f*b+d*v)*E,t):null}function d(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],l=e[5],s=e[6],c=e[7],u=e[8],f=e[9],d=e[10],h=e[11],p=e[12],g=e[13],m=e[14],y=e[15];return t[0]=l*(d*y-h*m)-f*(s*y-c*m)+g*(s*h-c*d),t[1]=-(r*(d*y-h*m)-f*(i*y-a*m)+g*(i*h-a*d)),t[2]=r*(s*y-c*m)-l*(i*y-a*m)+g*(i*c-a*s),t[3]=-(r*(s*h-c*d)-l*(i*h-a*d)+f*(i*c-a*s)),t[4]=-(o*(d*y-h*m)-u*(s*y-c*m)+p*(s*h-c*d)),t[5]=n*(d*y-h*m)-u*(i*y-a*m)+p*(i*h-a*d),t[6]=-(n*(s*y-c*m)-o*(i*y-a*m)+p*(i*c-a*s)),t[7]=n*(s*h-c*d)-o*(i*h-a*d)+u*(i*c-a*s),t[8]=o*(f*y-h*g)-u*(l*y-c*g)+p*(l*h-c*f),t[9]=-(n*(f*y-h*g)-u*(r*y-a*g)+p*(r*h-a*f)),t[10]=n*(l*y-c*g)-o*(r*y-a*g)+p*(r*c-a*l),t[11]=-(n*(l*h-c*f)-o*(r*h-a*f)+u*(r*c-a*l)),t[12]=-(o*(f*m-d*g)-u*(l*m-s*g)+p*(l*d-s*f)),t[13]=n*(f*m-d*g)-u*(r*m-i*g)+p*(r*d-i*f),t[14]=-(n*(l*m-s*g)-o*(r*m-i*g)+p*(r*s-i*l)),t[15]=n*(l*d-s*f)-o*(r*d-i*f)+u*(r*s-i*l),t}function h(t){var e=t[0],n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],l=t[6],s=t[7],c=t[8],u=t[9],f=t[10],d=t[11],h=t[12],p=t[13],g=t[14],m=t[15];return(e*o-n*a)*(f*m-d*g)-(e*l-r*a)*(u*m-d*p)+(e*s-i*a)*(u*g-f*p)+(n*l-r*o)*(c*m-d*h)-(n*s-i*o)*(c*g-f*h)+(r*s-i*l)*(c*p-u*h)}function p(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],l=e[4],s=e[5],c=e[6],u=e[7],f=e[8],d=e[9],h=e[10],p=e[11],g=e[12],m=e[13],y=e[14],v=e[15],b=n[0],x=n[1],O=n[2],w=n[3];return t[0]=b*r+x*l+O*f+w*g,t[1]=b*i+x*s+O*d+w*m,t[2]=b*a+x*c+O*h+w*y,t[3]=b*o+x*u+O*p+w*v,b=n[4],x=n[5],O=n[6],w=n[7],t[4]=b*r+x*l+O*f+w*g,t[5]=b*i+x*s+O*d+w*m,t[6]=b*a+x*c+O*h+w*y,t[7]=b*o+x*u+O*p+w*v,b=n[8],x=n[9],O=n[10],w=n[11],t[8]=b*r+x*l+O*f+w*g,t[9]=b*i+x*s+O*d+w*m,t[10]=b*a+x*c+O*h+w*y,t[11]=b*o+x*u+O*p+w*v,b=n[12],x=n[13],O=n[14],w=n[15],t[12]=b*r+x*l+O*f+w*g,t[13]=b*i+x*s+O*d+w*m,t[14]=b*a+x*c+O*h+w*y,t[15]=b*o+x*u+O*p+w*v,t}function g(t,e,n){var r,i,a,o,l,s,c,u,f,d,h,p,g=n[0],m=n[1],y=n[2];return e===t?(t[12]=e[0]*g+e[4]*m+e[8]*y+e[12],t[13]=e[1]*g+e[5]*m+e[9]*y+e[13],t[14]=e[2]*g+e[6]*m+e[10]*y+e[14],t[15]=e[3]*g+e[7]*m+e[11]*y+e[15]):(r=e[0],i=e[1],a=e[2],o=e[3],l=e[4],s=e[5],c=e[6],u=e[7],f=e[8],d=e[9],h=e[10],p=e[11],t[0]=r,t[1]=i,t[2]=a,t[3]=o,t[4]=l,t[5]=s,t[6]=c,t[7]=u,t[8]=f,t[9]=d,t[10]=h,t[11]=p,t[12]=r*g+l*m+f*y+e[12],t[13]=i*g+s*m+d*y+e[13],t[14]=a*g+c*m+h*y+e[14],t[15]=o*g+u*m+p*y+e[15]),t}function m(t,e,n){var r=n[0],i=n[1],a=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*a,t[9]=e[9]*a,t[10]=e[10]*a,t[11]=e[11]*a,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function y(t,e,n,i){var a,o,l,s,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,k,M,C,j,A,S=i[0],E=i[1],P=i[2],R=Math.hypot(S,E,P);return R0?(n[0]=(s*l+f*i+c*o-u*a)*2/d,n[1]=(c*l+f*a+u*i-s*o)*2/d,n[2]=(u*l+f*o+s*a-c*i)*2/d):(n[0]=(s*l+f*i+c*o-u*a)*2,n[1]=(c*l+f*a+u*i-s*o)*2,n[2]=(u*l+f*o+s*a-c*i)*2),j(t,e,n),t}function S(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function E(t,e){var n=e[0],r=e[1],i=e[2],a=e[4],o=e[5],l=e[6],s=e[8],c=e[9],u=e[10];return t[0]=Math.hypot(n,r,i),t[1]=Math.hypot(a,o,l),t[2]=Math.hypot(s,c,u),t}function P(t,e){var n=new r.WT(3);E(n,e);var i=1/n[0],a=1/n[1],o=1/n[2],l=e[0]*i,s=e[1]*a,c=e[2]*o,u=e[4]*i,f=e[5]*a,d=e[6]*o,h=e[8]*i,p=e[9]*a,g=e[10]*o,m=l+f+g,y=0;return m>0?(y=2*Math.sqrt(m+1),t[3]=.25*y,t[0]=(d-p)/y,t[1]=(h-c)/y,t[2]=(s-u)/y):l>f&&l>g?(y=2*Math.sqrt(1+l-f-g),t[3]=(d-p)/y,t[0]=.25*y,t[1]=(s+u)/y,t[2]=(h+c)/y):f>g?(y=2*Math.sqrt(1+f-l-g),t[3]=(h-c)/y,t[0]=(s+u)/y,t[1]=.25*y,t[2]=(d+p)/y):(y=2*Math.sqrt(1+g-l-f),t[3]=(s-u)/y,t[0]=(h+c)/y,t[1]=(d+p)/y,t[2]=.25*y),t}function R(t,e,n,r){var i=e[0],a=e[1],o=e[2],l=e[3],s=i+i,c=a+a,u=o+o,f=i*s,d=i*c,h=i*u,p=a*c,g=a*u,m=o*u,y=l*s,v=l*c,b=l*u,x=r[0],O=r[1],w=r[2];return t[0]=(1-(p+m))*x,t[1]=(d+b)*x,t[2]=(h-v)*x,t[3]=0,t[4]=(d-b)*O,t[5]=(1-(f+m))*O,t[6]=(g+y)*O,t[7]=0,t[8]=(h+v)*w,t[9]=(g-y)*w,t[10]=(1-(f+p))*w,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function T(t,e,n,r,i){var a=e[0],o=e[1],l=e[2],s=e[3],c=a+a,u=o+o,f=l+l,d=a*c,h=a*u,p=a*f,g=o*u,m=o*f,y=l*f,v=s*c,b=s*u,x=s*f,O=r[0],w=r[1],_=r[2],k=i[0],M=i[1],C=i[2],j=(1-(g+y))*O,A=(h+x)*O,S=(p-b)*O,E=(h-x)*w,P=(1-(d+y))*w,R=(m+v)*w,T=(p+b)*_,L=(m-v)*_,I=(1-(d+g))*_;return t[0]=j,t[1]=A,t[2]=S,t[3]=0,t[4]=E,t[5]=P,t[6]=R,t[7]=0,t[8]=T,t[9]=L,t[10]=I,t[11]=0,t[12]=n[0]+k-(j*k+E*M+T*C),t[13]=n[1]+M-(A*k+P*M+L*C),t[14]=n[2]+C-(S*k+R*M+I*C),t[15]=1,t}function L(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n+n,l=r+r,s=i+i,c=n*o,u=r*o,f=r*l,d=i*o,h=i*l,p=i*s,g=a*o,m=a*l,y=a*s;return t[0]=1-f-p,t[1]=u+y,t[2]=d-m,t[3]=0,t[4]=u-y,t[5]=1-c-p,t[6]=h+g,t[7]=0,t[8]=d+m,t[9]=h-g,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function I(t,e,n,r,i,a,o){var l=1/(n-e),s=1/(i-r),c=1/(a-o);return t[0]=2*a*l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*a*s,t[6]=0,t[7]=0,t[8]=(n+e)*l,t[9]=(i+r)*s,t[10]=(o+a)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*a*2*c,t[15]=0,t}function N(t,e,n,r,i){var a,o=1/Math.tan(e/2);return t[0]=o/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(a=1/(r-i),t[10]=(i+r)*a,t[14]=2*i*r*a):(t[10]=-1,t[14]=-2*r),t}var B=N;function D(t,e,n,r,i){var a,o=1/Math.tan(e/2);return t[0]=o/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(a=1/(r-i),t[10]=i*a,t[14]=i*r*a):(t[10]=-1,t[14]=-r),t}function Z(t,e,n,r){var i=Math.tan(e.upDegrees*Math.PI/180),a=Math.tan(e.downDegrees*Math.PI/180),o=Math.tan(e.leftDegrees*Math.PI/180),l=Math.tan(e.rightDegrees*Math.PI/180),s=2/(o+l),c=2/(i+a);return t[0]=s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-((o-l)*s*.5),t[9]=(i-a)*c*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t}function z(t,e,n,r,i,a,o){var l=1/(e-n),s=1/(r-i),c=1/(a-o);return t[0]=-2*l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*s,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+n)*l,t[13]=(i+r)*s,t[14]=(o+a)*c,t[15]=1,t}var F=z;function $(t,e,n,r,i,a,o){var l=1/(e-n),s=1/(r-i),c=1/(a-o);return t[0]=-2*l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*s,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=c,t[11]=0,t[12]=(e+n)*l,t[13]=(i+r)*s,t[14]=a*c,t[15]=1,t}function W(t,e,n,i){var a,o,l,s,u,f,d,h,p,g,m=e[0],y=e[1],v=e[2],b=i[0],x=i[1],O=i[2],w=n[0],_=n[1],k=n[2];return Math.abs(m-w)0&&(u*=h=1/Math.sqrt(h),f*=h,d*=h);var p=s*d-c*f,g=c*u-l*d,m=l*f-s*u;return(h=p*p+g*g+m*m)>0&&(p*=h=1/Math.sqrt(h),g*=h,m*=h),t[0]=p,t[1]=g,t[2]=m,t[3]=0,t[4]=f*m-d*g,t[5]=d*p-u*m,t[6]=u*g-f*p,t[7]=0,t[8]=u,t[9]=f,t[10]=d,t[11]=0,t[12]=i,t[13]=a,t[14]=o,t[15]=1,t}function G(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"}function q(t){return Math.hypot(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function Y(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t}function V(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}function U(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t}function Q(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t}function X(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function K(t,e){var n=t[0],i=t[1],a=t[2],o=t[3],l=t[4],s=t[5],c=t[6],u=t[7],f=t[8],d=t[9],h=t[10],p=t[11],g=t[12],m=t[13],y=t[14],v=t[15],b=e[0],x=e[1],O=e[2],w=e[3],_=e[4],k=e[5],M=e[6],C=e[7],j=e[8],A=e[9],S=e[10],E=e[11],P=e[12],R=e[13],T=e[14],L=e[15];return Math.abs(n-b)<=r.Ib*Math.max(1,Math.abs(n),Math.abs(b))&&Math.abs(i-x)<=r.Ib*Math.max(1,Math.abs(i),Math.abs(x))&&Math.abs(a-O)<=r.Ib*Math.max(1,Math.abs(a),Math.abs(O))&&Math.abs(o-w)<=r.Ib*Math.max(1,Math.abs(o),Math.abs(w))&&Math.abs(l-_)<=r.Ib*Math.max(1,Math.abs(l),Math.abs(_))&&Math.abs(s-k)<=r.Ib*Math.max(1,Math.abs(s),Math.abs(k))&&Math.abs(c-M)<=r.Ib*Math.max(1,Math.abs(c),Math.abs(M))&&Math.abs(u-C)<=r.Ib*Math.max(1,Math.abs(u),Math.abs(C))&&Math.abs(f-j)<=r.Ib*Math.max(1,Math.abs(f),Math.abs(j))&&Math.abs(d-A)<=r.Ib*Math.max(1,Math.abs(d),Math.abs(A))&&Math.abs(h-S)<=r.Ib*Math.max(1,Math.abs(h),Math.abs(S))&&Math.abs(p-E)<=r.Ib*Math.max(1,Math.abs(p),Math.abs(E))&&Math.abs(g-P)<=r.Ib*Math.max(1,Math.abs(g),Math.abs(P))&&Math.abs(m-R)<=r.Ib*Math.max(1,Math.abs(m),Math.abs(R))&&Math.abs(y-T)<=r.Ib*Math.max(1,Math.abs(y),Math.abs(T))&&Math.abs(v-L)<=r.Ib*Math.max(1,Math.abs(v),Math.abs(L))}var J=p,tt=V},17375:function(t,e,n){"use strict";n.d(e,{Fv:function(){return g},JG:function(){return h},Jp:function(){return c},Su:function(){return f},U_:function(){return u},Ue:function(){return l},al:function(){return d},dC:function(){return p},yY:function(){return s}});var r=n(23176),i=n(9718),a=n(67495),o=n(71977);function l(){var t=new r.WT(4);return r.WT!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t[3]=1,t}function s(t,e,n){var r=Math.sin(n*=.5);return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=Math.cos(n),t}function c(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],l=n[0],s=n[1],c=n[2],u=n[3];return t[0]=r*u+o*l+i*c-a*s,t[1]=i*u+o*s+a*l-r*c,t[2]=a*u+o*c+r*s-i*l,t[3]=o*u-r*l-i*s-a*c,t}function u(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a,l=o?1/o:0;return t[0]=-n*l,t[1]=-r*l,t[2]=-i*l,t[3]=a*l,t}function f(t,e,n,r){var i=.5*Math.PI/180,a=Math.sin(e*=i),o=Math.cos(e),l=Math.sin(n*=i),s=Math.cos(n),c=Math.sin(r*=i),u=Math.cos(r);return t[0]=a*s*u-o*l*c,t[1]=o*l*u+a*s*c,t[2]=o*s*c-a*l*u,t[3]=o*s*u+a*l*c,t}o.d9;var d=o.al,h=o.JG;o.t8,o.IH;var p=c;o.bA,o.AK,o.t7,o.kE,o.we;var g=o.Fv;o.I6,o.fS,a.Ue(),a.al(1,0,0),a.al(0,1,0),l(),l(),i.Ue()},49472:function(t,e,n){"use strict";n.d(e,{AK:function(){return s},Fv:function(){return l},I6:function(){return c},JG:function(){return o},al:function(){return a}});var r,i=n(23176);function a(t,e){var n=new i.WT(2);return n[0]=t,n[1]=e,n}function o(t,e){return t[0]=e[0],t[1]=e[1],t}function l(t,e){var n=e[0],r=e[1],i=n*n+r*r;return i>0&&(i=1/Math.sqrt(i)),t[0]=e[0]*i,t[1]=e[1]*i,t}function s(t,e){return t[0]*e[0]+t[1]*e[1]}function c(t,e){return t[0]===e[0]&&t[1]===e[1]}r=new i.WT(2),i.WT!=Float32Array&&(r[0]=0,r[1]=0)},67495:function(t,e,n){"use strict";n.d(e,{$X:function(){return f},AK:function(){return g},Fv:function(){return p},IH:function(){return u},JG:function(){return s},Jp:function(){return d},TK:function(){return w},Ue:function(){return i},VC:function(){return x},Zh:function(){return _},al:function(){return l},bA:function(){return h},d9:function(){return a},fF:function(){return v},fS:function(){return O},kC:function(){return m},kE:function(){return o},kK:function(){return b},t7:function(){return y},t8:function(){return c}});var r=n(23176);function i(){var t=new r.WT(3);return r.WT!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function a(t){var e=new r.WT(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function o(t){return Math.hypot(t[0],t[1],t[2])}function l(t,e,n){var i=new r.WT(3);return i[0]=t,i[1]=e,i[2]=n,i}function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function c(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function f(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function d(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function h(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function p(t,e){var n=e[0],r=e[1],i=e[2],a=n*n+r*r+i*i;return a>0&&(a=1/Math.sqrt(a)),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a,t}function g(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function m(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[0],l=n[1],s=n[2];return t[0]=i*s-a*l,t[1]=a*o-r*s,t[2]=r*l-i*o,t}function y(t,e,n,r){var i=e[0],a=e[1],o=e[2];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t}function v(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[3]*r+n[7]*i+n[11]*a+n[15];return o=o||1,t[0]=(n[0]*r+n[4]*i+n[8]*a+n[12])/o,t[1]=(n[1]*r+n[5]*i+n[9]*a+n[13])/o,t[2]=(n[2]*r+n[6]*i+n[10]*a+n[14])/o,t}function b(t,e,n){var r=e[0],i=e[1],a=e[2];return t[0]=r*n[0]+i*n[3]+a*n[6],t[1]=r*n[1]+i*n[4]+a*n[7],t[2]=r*n[2]+i*n[5]+a*n[8],t}function x(t,e,n){var r=n[0],i=n[1],a=n[2],o=n[3],l=e[0],s=e[1],c=e[2],u=i*c-a*s,f=a*l-r*c,d=r*s-i*l,h=i*d-a*f,p=a*u-r*d,g=r*f-i*u,m=2*o;return u*=m,f*=m,d*=m,h*=2,p*=2,g*=2,t[0]=l+u+h,t[1]=s+f+p,t[2]=c+d+g,t}function O(t,e){var n=t[0],i=t[1],a=t[2],o=e[0],l=e[1],s=e[2];return Math.abs(n-o)<=r.Ib*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-l)<=r.Ib*Math.max(1,Math.abs(i),Math.abs(l))&&Math.abs(a-s)<=r.Ib*Math.max(1,Math.abs(a),Math.abs(s))}var w=function(t,e){return Math.hypot(e[0]-t[0],e[1]-t[1],e[2]-t[2])},_=o;i()},71977:function(t,e,n){"use strict";n.d(e,{AK:function(){return p},Fv:function(){return h},I6:function(){return y},IH:function(){return c},JG:function(){return l},Ue:function(){return i},al:function(){return o},bA:function(){return u},d9:function(){return a},fF:function(){return m},fS:function(){return v},kE:function(){return f},t7:function(){return g},t8:function(){return s},we:function(){return d}});var r=n(23176);function i(){var t=new r.WT(4);return r.WT!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0),t}function a(t){var e=new r.WT(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function o(t,e,n,i){var a=new r.WT(4);return a[0]=t,a[1]=e,a[2]=n,a[3]=i,a}function l(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function s(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function c(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t}function u(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t}function f(t){return Math.hypot(t[0],t[1],t[2],t[3])}function d(t){var e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i}function h(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a;return o>0&&(o=1/Math.sqrt(o)),t[0]=n*o,t[1]=r*o,t[2]=i*o,t[3]=a*o,t}function p(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function g(t,e,n,r){var i=e[0],a=e[1],o=e[2],l=e[3];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t[3]=l+r*(n[3]-l),t}function m(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*a+n[12]*o,t[1]=n[1]*r+n[5]*i+n[9]*a+n[13]*o,t[2]=n[2]*r+n[6]*i+n[10]*a+n[14]*o,t[3]=n[3]*r+n[7]*i+n[11]*a+n[15]*o,t}function y(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function v(t,e){var n=t[0],i=t[1],a=t[2],o=t[3],l=e[0],s=e[1],c=e[2],u=e[3];return Math.abs(n-l)<=r.Ib*Math.max(1,Math.abs(n),Math.abs(l))&&Math.abs(i-s)<=r.Ib*Math.max(1,Math.abs(i),Math.abs(s))&&Math.abs(a-c)<=r.Ib*Math.max(1,Math.abs(a),Math.abs(c))&&Math.abs(o-u)<=r.Ib*Math.max(1,Math.abs(o),Math.abs(u))}i()},97175:function(t,e,n){"use strict";var r=n(13953),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(t){return r.isMemo(t)?o:l[t.$$typeof]||i}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=o;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(p){var i=h(n);i&&i!==p&&t(e,i,r)}var o=u(n);f&&(o=o.concat(f(n)));for(var l=s(e),g=s(n),m=0;m=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},30813:function(t,e,n){"use strict";let r,i,a,o;n.d(e,{k:function(){return xq}});var l,s={};n.r(s),n.d(s,{geoAlbers:function(){return ps},geoAlbersUsa:function(){return pc},geoAzimuthalEqualArea:function(){return ph},geoAzimuthalEqualAreaRaw:function(){return pd},geoAzimuthalEquidistant:function(){return pg},geoAzimuthalEquidistantRaw:function(){return pp},geoConicConformal:function(){return pO},geoConicConformalRaw:function(){return px},geoConicEqualArea:function(){return pl},geoConicEqualAreaRaw:function(){return po},geoConicEquidistant:function(){return pM},geoConicEquidistantRaw:function(){return pk},geoEqualEarth:function(){return pA},geoEqualEarthRaw:function(){return pj},geoEquirectangular:function(){return p_},geoEquirectangularRaw:function(){return pw},geoGnomonic:function(){return pE},geoGnomonicRaw:function(){return pS},geoIdentity:function(){return pP},geoMercator:function(){return py},geoMercatorRaw:function(){return pm},geoNaturalEarth1:function(){return pT},geoNaturalEarth1Raw:function(){return pR},geoOrthographic:function(){return pI},geoOrthographicRaw:function(){return pL},geoProjection:function(){return pr},geoProjectionMutator:function(){return pi},geoStereographic:function(){return pB},geoStereographicRaw:function(){return pN},geoTransverseMercator:function(){return pZ},geoTransverseMercatorRaw:function(){return pD}});var c={};n.r(c),n.d(c,{frequency:function(){return mt},id:function(){return me},name:function(){return mn},weight:function(){return g7}});var u={};n.r(u),n.d(u,{area:function(){return yb},bottom:function(){return yj},bottomLeft:function(){return yj},bottomRight:function(){return yj},inside:function(){return yj},left:function(){return yj},outside:function(){return yP},right:function(){return yj},spider:function(){return yN},surround:function(){return yD},top:function(){return yj},topLeft:function(){return yj},topRight:function(){return yj}});var f={};n.r(f),n.d(f,{interpolateBlues:function(){return vG},interpolateBrBG:function(){return vr},interpolateBuGn:function(){return vO},interpolateBuPu:function(){return v_},interpolateCividis:function(){return v2},interpolateCool:function(){return ba},interpolateCubehelixDefault:function(){return br},interpolateGnBu:function(){return vM},interpolateGreens:function(){return vY},interpolateGreys:function(){return vU},interpolateInferno:function(){return bm},interpolateMagma:function(){return bg},interpolateOrRd:function(){return vj},interpolateOranges:function(){return v1},interpolatePRGn:function(){return va},interpolatePiYG:function(){return vl},interpolatePlasma:function(){return by},interpolatePuBu:function(){return vP},interpolatePuBuGn:function(){return vS},interpolatePuOr:function(){return vc},interpolatePuRd:function(){return vT},interpolatePurples:function(){return vX},interpolateRainbow:function(){return bl},interpolateRdBu:function(){return vf},interpolateRdGy:function(){return vh},interpolateRdPu:function(){return vI},interpolateRdYlBu:function(){return vg},interpolateRdYlGn:function(){return vy},interpolateReds:function(){return vJ},interpolateSinebow:function(){return bf},interpolateSpectral:function(){return vb},interpolateTurbo:function(){return bd},interpolateViridis:function(){return bp},interpolateWarm:function(){return bi},interpolateYlGn:function(){return vZ},interpolateYlGnBu:function(){return vB},interpolateYlOrBr:function(){return vF},interpolateYlOrRd:function(){return vW},schemeAccent:function(){return y0},schemeBlues:function(){return vH},schemeBrBG:function(){return vn},schemeBuGn:function(){return vx},schemeBuPu:function(){return vw},schemeCategory10:function(){return yJ},schemeDark2:function(){return y1},schemeGnBu:function(){return vk},schemeGreens:function(){return vq},schemeGreys:function(){return vV},schemeObservable10:function(){return y2},schemeOrRd:function(){return vC},schemeOranges:function(){return v0},schemePRGn:function(){return vi},schemePaired:function(){return y5},schemePastel1:function(){return y3},schemePastel2:function(){return y4},schemePiYG:function(){return vo},schemePuBu:function(){return vE},schemePuBuGn:function(){return vA},schemePuOr:function(){return vs},schemePuRd:function(){return vR},schemePurples:function(){return vQ},schemeRdBu:function(){return vu},schemeRdGy:function(){return vd},schemeRdPu:function(){return vL},schemeRdYlBu:function(){return vp},schemeRdYlGn:function(){return vm},schemeReds:function(){return vK},schemeSet1:function(){return y6},schemeSet2:function(){return y8},schemeSet3:function(){return y9},schemeSpectral:function(){return vv},schemeTableau10:function(){return y7},schemeYlGn:function(){return vD},schemeYlGnBu:function(){return vN},schemeYlOrBr:function(){return vz},schemeYlOrRd:function(){return v$}});var d=n(38497);let h=()=>[["cartesian"]];h.props={};let p=function(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),n);return Object.assign(Object.assign({},r),(t=r.startAngle,e=r.endAngle,t%=2*Math.PI,e%=2*Math.PI,t<0&&(t=2*Math.PI+t),e<0&&(e=2*Math.PI+e),t>=e&&(e+=2*Math.PI),{startAngle:t,endAngle:e}))},g=t=>{let{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=p(t);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",e,n,r,i]]};g.props={};let m=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];m.props={transform:!0};let y=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),t)},v=t=>{let{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=y(t);return[...m(),...g({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};v.props={};let b=()=>[["parallel",0,1,0,1]];b.props={};let x=t=>{let{focusX:e=0,focusY:n=0,distortionX:r=2,distortionY:i=2,visual:a=!1}=t;return[["fisheye",e,n,r,i,a]]};x.props={transform:!0};let O=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),t)},w=t=>{let{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=O(t);return[["transpose"],["translate",.5,.5],["reflect"],["translate",-.5,-.5],...g({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};w.props={};let _=t=>{let{startAngle:e=-Math.PI/2,endAngle:n=3*Math.PI/2,innerRadius:r=0,outerRadius:i=1}=t;return[...b(),...g({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};_.props={};let k=t=>{let{value:e}=t;return t=>t.map(()=>e)};k.props={};let M=t=>{let{value:e}=t;return t=>t.map(t=>t[e])};M.props={};let C=t=>{let{value:e}=t;return t=>t.map(e)};C.props={};let j=t=>{let{value:e}=t;return()=>e};j.props={};var A=n(48077);function S(t,e){if(null!==t)return{type:"column",value:t,field:e}}function E(t,e){let n=S(t,e);return Object.assign(Object.assign({},n),{inferred:!0})}function P(t,e){if(null!==t)return{type:"column",value:t,field:e,visual:!0}}function R(t,e){let n=[];for(let r of t)n[r]=e;return n}function T(t,e){let n=t[e];if(!n)return[null,null];let{value:r,field:i=null}=n;return[r,i]}function L(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r(t,e)=>{let{encode:n}=e,{y1:r}=n;return void 0!==r?[t,e]:[t,(0,A.Z)({},e,{encode:{y1:E(R(t,0))}})]};N.props={};let B=()=>(t,e)=>{let{encode:n}=e,{x:r}=n;return void 0!==r?[t,e]:[t,(0,A.Z)({},e,{encode:{x:E(R(t,0))},scale:{x:{guide:null}}})]};function D(t){return function(){return t}}B.props={};let Z=Math.abs,z=Math.atan2,F=Math.cos,$=Math.max,W=Math.min,H=Math.sin,G=Math.sqrt,q=Math.PI,Y=q/2,V=2*q;function U(t){return t>=1?Y:t<=-1?-Y:Math.asin(t)}let Q=Math.PI,X=2*Q,K=X-1e-6;function J(t){this._+=t[0];for(let e=1,n=t.length;e=0))throw Error(`invalid digits: ${t}`);if(e>15)return J;let n=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e1e-6){if(Math.abs(u*l-s*c)>1e-6&&i){let d=n-a,h=r-o,p=l*l+s*s,g=Math.sqrt(p),m=Math.sqrt(f),y=i*Math.tan((Q-Math.acos((p+f-(d*d+h*h))/(2*g*m)))/2),v=y/m,b=y/g;Math.abs(v-1)>1e-6&&this._append`L${t+v*c},${e+v*u}`,this._append`A${i},${i},0,0,${+(u*d>c*h)},${this._x1=t+b*l},${this._y1=e+b*s}`}else this._append`L${this._x1=t},${this._y1=e}`}}arc(t,e,n,r,i,a){if(t=+t,e=+e,a=!!a,(n=+n)<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),l=n*Math.sin(r),s=t+o,c=e+l,u=1^a,f=a?r-i:i-r;null===this._x1?this._append`M${s},${c}`:(Math.abs(this._x1-s)>1e-6||Math.abs(this._y1-c)>1e-6)&&this._append`L${s},${c}`,n&&(f<0&&(f=f%X+X),f>K?this._append`A${n},${n},0,1,${u},${t-o},${e-l}A${n},${n},0,1,${u},${this._x1=s},${this._y1=c}`:f>1e-6&&this._append`A${n},${n},0,${+(f>=Q)},${u},${this._x1=t+n*Math.cos(i)},${this._y1=e+n*Math.sin(i)}`)}rect(t,e,n,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function te(){return new tt}function tn(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{let t=Math.floor(n);if(!(t>=0))throw RangeError(`invalid digits: ${n}`);e=t}return t},()=>new tt(e)}function tr(t){return t.innerRadius}function ti(t){return t.outerRadius}function ta(t){return t.startAngle}function to(t){return t.endAngle}function tl(t){return t&&t.padAngle}function ts(t,e,n,r,i,a,o){var l=t-n,s=e-r,c=(o?a:-a)/G(l*l+s*s),u=c*s,f=-c*l,d=t+u,h=e+f,p=n+u,g=r+f,m=(d+p)/2,y=(h+g)/2,v=p-d,b=g-h,x=v*v+b*b,O=i-a,w=d*g-p*h,_=(b<0?-1:1)*G($(0,O*O*x-w*w)),k=(w*b-v*_)/x,M=(-w*v-b*_)/x,C=(w*b+v*_)/x,j=(-w*v+b*_)/x,A=k-m,S=M-y,E=C-m,P=j-y;return A*A+S*S>E*E+P*P&&(k=C,M=j),{cx:k,cy:M,x01:-u,y01:-f,x11:k*(i/O-1),y11:M*(i/O-1)}}function tc(){var t=tr,e=ti,n=D(0),r=null,i=ta,a=to,o=tl,l=null,s=tn(c);function c(){var c,u,f=+t.apply(this,arguments),d=+e.apply(this,arguments),h=i.apply(this,arguments)-Y,p=a.apply(this,arguments)-Y,g=Z(p-h),m=p>h;if(l||(l=c=s()),d1e-12){if(g>V-1e-12)l.moveTo(d*F(h),d*H(h)),l.arc(0,0,d,h,p,!m),f>1e-12&&(l.moveTo(f*F(p),f*H(p)),l.arc(0,0,f,p,h,m));else{var y,v,b=h,x=p,O=h,w=p,_=g,k=g,M=o.apply(this,arguments)/2,C=M>1e-12&&(r?+r.apply(this,arguments):G(f*f+d*d)),j=W(Z(d-f)/2,+n.apply(this,arguments)),A=j,S=j;if(C>1e-12){var E=U(C/f*H(M)),P=U(C/d*H(M));(_-=2*E)>1e-12?(E*=m?1:-1,O+=E,w-=E):(_=0,O=w=(h+p)/2),(k-=2*P)>1e-12?(P*=m?1:-1,b+=P,x-=P):(k=0,b=x=(h+p)/2)}var R=d*F(b),T=d*H(b),L=f*F(w),I=f*H(w);if(j>1e-12){var N,B=d*F(x),D=d*H(x),$=f*F(O),Q=f*H(O);if(g1?0:X<-1?q:Math.acos(X))/2),tr=G(N[0]*N[0]+N[1]*N[1]);A=W(j,(f-tr)/(tn-1)),S=W(j,(d-tr)/(tn+1))}else A=S=0}}k>1e-12?S>1e-12?(y=ts($,Q,R,T,d,S,m),v=ts(B,D,L,I,d,S,m),l.moveTo(y.cx+y.x01,y.cy+y.y01),S1e-12&&_>1e-12?A>1e-12?(y=ts(L,I,B,D,f,-A,m),v=ts(R,T,$,Q,f,-A,m),l.lineTo(y.cx+y.x01,y.cy+y.y01),A{let[e]=t;return e}).filter(t=>"transpose"===t);return n.length%2!=0}function tf(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"polar"===e})}function td(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"reflect"===e})&&e.some(t=>{let[e]=t;return e.startsWith("transpose")})}function th(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"helix"===e})}function tp(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"parallel"===e})}function tg(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"fisheye"===e})}function tm(t){return th(t)||tf(t)}function ty(t){let{transformations:e}=t.getOptions(),[,,,n,r]=e.find(t=>"polar"===t[0]);return[+n,+r]}function tv(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{transformations:n}=t.getOptions(),[,r,i]=n.find(t=>"polar"===t[0]);return e?[180*+r/Math.PI,180*+i/Math.PI]:[r,i]}te.prototype=tt.prototype;var tb=n(74747);class tx extends Map{constructor(t,e=tw){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,n]of t)this.set(e,n)}get(t){return super.get(tO(this,t))}has(t){return super.has(tO(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}(this,t))}}function tO({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):n}function tw(t){return null!==t&&"object"==typeof t?t.valueOf():t}function t_(t){return t}function tk(t,...e){return tA(t,t_,t_,e)}function tM(t,...e){return tA(t,Array.from,t_,e)}function tC(t,e,...n){return tA(t,t_,e,n)}function tj(t,e,...n){return tA(t,Array.from,e,n)}function tA(t,e,n,r){return function t(i,a){if(a>=r.length)return n(i);let o=new tx,l=r[a++],s=-1;for(let t of i){let e=l(t,++s,i),n=o.get(e);n?n.push(t):o.set(e,[t])}for(let[e,n]of o)o.set(e,t(n,a));return e(o)}(t,0)}var tS=n(60349),tE=n(23112);function tP(t){return t}function tR(t){return t.reduce((t,e)=>function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;at.toUpperCase())}function tL(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";throw Error(t)}function tI(t,e){let{attributes:n}=e,r=new Set(["id","className"]);for(let[e,i]of Object.entries(n))r.has(e)||t.attr(e,i)}function tN(t){return null!=t&&!Number.isNaN(t)}function tB(t,e){return tD(t,e)||{}}function tD(t,e){let n=Object.entries(t||{}).filter(t=>{let[n]=t;return n.startsWith(e)}).map(t=>{let[n,r]=t;return[(0,tS.Z)(n.replace(e,"").trim()),r]}).filter(t=>{let[e]=t;return!!e});return 0===n.length?null:Object.fromEntries(n)}function tZ(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r{let[e]=t;return n.every(t=>!e.startsWith(t))}))}function tz(t,e){if(void 0===t)return null;if("number"==typeof t)return t;let n=+t.replace("%","");return Number.isNaN(n)?null:n/100*e}function tF(t){return"object"==typeof t&&!(t instanceof Date)&&null!==t&&!Array.isArray(t)}function t$(t){return null===t||!1===t}function tW(t){return new tH([t],null,t,t.ownerDocument)}class tH{selectAll(t){let e="string"==typeof t?this._parent.querySelectorAll(t):t;return new tH(e,null,this._elements[0],this._document)}selectFacetAll(t){let e="string"==typeof t?this._parent.querySelectorAll(t):t;return new tH(this._elements,null,this._parent,this._document,void 0,void 0,e)}select(t){let e="string"==typeof t?this._parent.querySelectorAll(t)[0]||null:t;return new tH([e],null,e,this._document)}append(t){let e="function"==typeof t?t:()=>this.createElement(t),n=[];if(null!==this._data){for(let t=0;t1&&void 0!==arguments[1]?arguments[1]:t=>t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>null,r=[],i=[],a=new Set(this._elements),o=[],l=new Set,s=new Map(this._elements.map((t,n)=>[e(t.__data__,n),t])),c=new Map(this._facetElements.map((t,n)=>[e(t.__data__,n),t])),u=tk(this._elements,t=>n(t.__data__));for(let f=0;f0&&void 0!==arguments[0]?arguments[0]:t=>t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>t.remove(),r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>t,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:t=>t.remove(),a=t(this._enter),o=e(this._update),l=n(this._exit),s=r(this._merge),c=i(this._split);return o.merge(a).merge(l).merge(s).merge(c)}remove(){for(let t=0;tt.finished)).then(()=>{let e=this._elements[t];e.remove()})}else{let e=this._elements[t];e.remove()}}return new tH([],null,this._parent,this._document,void 0,this._transitions)}each(t){for(let e=0;ee:e;return this.each(function(r,i,a){void 0!==e&&(a[t]=n(r,i,a))})}style(t,e){let n="function"!=typeof e?()=>e:e;return this.each(function(r,i,a){void 0!==e&&(a.style[t]=n(r,i,a))})}transition(t){let e="function"!=typeof t?()=>t:t,{_transitions:n}=this;return this.each(function(t,r,i){n[r]=e(t,r,i)})}on(t,e){return this.each(function(n,r,i){i.addEventListener(t,e)}),this}call(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:10;return"number"!=typeof t?t:1e-15>Math.abs(t)?t:parseFloat(t.toFixed(e))}tH.registry={g:tb.ZA,rect:tb.UL,circle:tb.Cd,path:tb.y$,text:tb.xv,ellipse:tb.Pj,image:tb.Ee,line:tb.x1,polygon:tb.mg,polyline:tb.aH,html:tb.k9};var t1=n(21494),t2=n(23890);function t5(t,e){let n,r;if(void 0===e)for(let e of t)null!=e&&(void 0===n?e>=e&&(n=r=e):(n>e&&(n=e),r=a&&(n=r=a):(n>a&&(n=a),r{let[i,a]=r;return n[i]=e(a,i,t),n},{})}function t4(t){return t.map((t,e)=>e)}function t6(t){return t[t.length-1]}function t8(t,e){let n=[[],[]];return t.forEach(t=>{n[e(t)?0:1].push(t)}),n}function t9(t,e){for(let[n,r]of Object.entries(e))t.style(n,r)}function t7(t,e,n,r,i){let a=tV(tG(r,e))+Math.PI,o=tV(tG(r,n))+Math.PI;return t.arc(r[0],r[1],i,a,o,o-a<0),t}function et(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"y",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"between",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o="y"===r||!0===r?n:e,l=t4(o),[s,c]=t5(l,t=>o[t]),u=new t1.b({domain:[s,c],range:[0,100]}),f=t=>(0,t2.Z)(o[t])&&!Number.isNaN(o[t])?u.map(o[t]):0,d={between:e=>"".concat(t[e]," ").concat(f(e),"%"),start:e=>0===e?"".concat(t[e]," ").concat(f(e),"%"):"".concat(t[e-1]," ").concat(f(e),"%, ").concat(t[e]," ").concat(f(e),"%"),end:e=>e===t.length-1?"".concat(t[e]," ").concat(f(e),"%"):"".concat(t[e]," ").concat(f(e),"%, ").concat(t[e+1]," ").concat(f(e),"%")},h=l.sort((t,e)=>f(t)-f(e)).map(d[i]||d.between).join(",");return"linear-gradient(".concat("y"===r||!0===r?a?180:90:a?90:0,"deg, ").concat(h,")")}function ee(t){let[e,n,r,i]=t;return[i,e,n,r]}function en(t,e,n){let[r,i,,a]=tu(t)?ee(e):e,[o,l]=n,s=t.getCenter(),c=tU(tG(r,s)),u=tU(tG(i,s)),f=u===c&&o!==l?u+2*Math.PI:u;return{startAngle:c,endAngle:f-c>=0?f:2*Math.PI+f,innerRadius:tY(a,s),outerRadius:tY(r,s)}}function er(t){let{colorAttribute:e,opacityAttribute:n=e}=t;return"".concat(n,"Opacity")}function ei(t,e){if(!tf(t))return"";let n=t.getCenter(),{transform:r}=e;return"translate(".concat(n[0],", ").concat(n[1],") ").concat(r||"")}function ea(t){if(1===t.length)return t[0];let[[e,n,r=0],[i,a,o=0]]=t;return[(e+i)/2,(n+a)/2,(r+o)/2]}var eo=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function el(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},{inset:a=0,radius:o=0,insetLeft:l=a,insetTop:s=a,insetRight:c=a,insetBottom:u=a,radiusBottomLeft:f=o,radiusBottomRight:d=o,radiusTopLeft:h=o,radiusTopRight:p=o,minWidth:g=-1/0,maxWidth:m=1/0,minHeight:y=-1/0}=i,v=eo(i,["inset","radius","insetLeft","insetTop","insetRight","insetBottom","radiusBottomLeft","radiusBottomRight","radiusTopLeft","radiusTopRight","minWidth","maxWidth","minHeight"]);if(!tf(r)&&!th(r)){let n=!!tu(r),[i,,a]=n?ee(e):e,[o,b]=i,[x,O]=tG(a,i),w=Math.abs(x),_=Math.abs(O),k=(x>0?o:o+x)+l,M=(O>0?b:b+O)+s,C=w-(l+c),j=_-(s+u),A=n?tJ(C,y,1/0):tJ(C,g,m),S=n?tJ(j,g,m):tJ(j,y,1/0),E=n?k:k-(A-C)/2,P=n?M-(S-j)/2:M-(S-j);return tW(t.createElement("rect",{})).style("x",E).style("y",P).style("width",A).style("height",S).style("radius",[h,p,d,f]).call(t9,v).node()}let{y:b,y1:x}=n,O=r.getCenter(),w=en(r,e,[b,x]),_=tc().cornerRadius(o).padAngle(a*Math.PI/180);return tW(t.createElement("path",{})).style("d",_(w)).style("transform","translate(".concat(O[0],", ").concat(O[1],")")).style("radius",o).style("inset",a).call(t9,v).node()}let es=(t,e)=>{let{colorAttribute:n,opacityAttribute:r="fill",first:i=!0,last:a=!0}=t,o=eo(t,["colorAttribute","opacityAttribute","first","last"]),{coordinate:l,document:s}=e;return(e,r,c)=>{let{color:u,radius:f=0}=c,d=eo(c,["color","radius"]),h=d.lineWidth||1,{stroke:p,radius:g=f,radiusTopLeft:m=g,radiusTopRight:y=g,radiusBottomRight:v=g,radiusBottomLeft:b=g,innerRadius:x=0,innerRadiusTopLeft:O=x,innerRadiusTopRight:w=x,innerRadiusBottomRight:_=x,innerRadiusBottomLeft:k=x,lineWidth:M="stroke"===n||p?h:0,inset:C=0,insetLeft:j=C,insetRight:A=C,insetBottom:S=C,insetTop:E=C,minWidth:P,maxWidth:R,minHeight:T}=o,L=eo(o,["stroke","radius","radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft","innerRadius","innerRadiusTopLeft","innerRadiusTopRight","innerRadiusBottomRight","innerRadiusBottomLeft","lineWidth","inset","insetLeft","insetRight","insetBottom","insetTop","minWidth","maxWidth","minHeight"]),{color:I=u,opacity:N}=r,B=[i?m:O,i?y:w,a?v:_,a?b:k],D=["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"];tu(l)&&D.push(D.shift());let Z=Object.assign(Object.assign({radius:g},Object.fromEntries(D.map((t,e)=>[t,B[e]]))),{inset:C,insetLeft:j,insetRight:A,insetBottom:S,insetTop:E,minWidth:P,maxWidth:R,minHeight:T});return tW(el(s,e,r,l,Z)).call(t9,d).style("fill","transparent").style(n,I).style(er(t),N).style("lineWidth",M).style("stroke",void 0===p?I:p).call(t9,L).node()}};es.props={defaultEnterAnimation:"scaleInY",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ec=(t,e)=>es(Object.assign({colorAttribute:"fill"},t),e);ec.props=Object.assign(Object.assign({},es.props),{defaultMarker:"square"});let eu=(t,e)=>es(Object.assign({colorAttribute:"stroke"},t),e);function ef(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function ed(t){this._context=t}function eh(t){return new ed(t)}function ep(t){return t[0]}function eg(t){return t[1]}function em(t,e){var n=D(!0),r=null,i=eh,a=null,o=tn(l);function l(l){var s,c,u,f=(l=ef(l)).length,d=!1;for(null==r&&(a=i(u=o())),s=0;s<=f;++s)!(se.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function eO(t,e,n){let[r,i,a,o]=t;if(tu(n)){let t=[e?e[0][0]:i[0],i[1]],n=[e?e[3][0]:a[0],a[1]];return[r,t,n,o]}let l=[i[0],e?e[0][1]:i[1]],s=[a[0],e?e[3][1]:a[1]];return[r,l,s,o]}let ew=(t,e)=>{let{adjustPoints:n=eO}=t,r=ex(t,["adjustPoints"]),{coordinate:i,document:a}=e;return(t,e,o,l)=>{let{index:s}=e,{color:c}=o,u=ex(o,["color"]),f=l[s+1],d=n(t,f,i),h=!!tu(i),[p,g,m,y]=h?ee(d):d,{color:v=c,opacity:b}=e,x=em().curve(eb)([p,g,m,y]);return tW(a.createElement("path",{})).call(t9,u).style("d",x).style("fill",v).style("fillOpacity",b).call(t9,r).node()}};function e_(t,e,n){let[r,i,a,o]=t;if(tu(n)){let t=[e?e[0][0]:(i[0]+a[0])/2,i[1]],n=[e?e[3][0]:(i[0]+a[0])/2,a[1]];return[r,t,n,o]}let l=[i[0],e?e[0][1]:(i[1]+a[1])/2],s=[a[0],e?e[3][1]:(i[1]+a[1])/2];return[r,l,s,o]}ew.props={defaultMarker:"square"};let ek=(t,e)=>ew(Object.assign({adjustPoints:e_},t),e);function eM(t){return Math.abs(t)>10?String(t):t.toString().padStart(2,"0")}ek.props={defaultMarker:"square"};let eC=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{channel:e="x"}=t;return(t,n)=>{let{encode:r}=n,{tooltip:i}=n;if(t$(i))return[t,n];let{title:a}=i;if(void 0!==a)return[t,n];let o=Object.keys(r).filter(t=>t.startsWith(e)).filter(t=>!r[t].inferred).map(t=>T(r,t)).filter(t=>{let[e]=t;return e}).map(t=>t[0]);if(0===o.length)return[t,n];let l=[];for(let e of t)l[e]={value:o.map(t=>t[e]instanceof Date?function(t){let e=t.getFullYear(),n=eM(t.getMonth()+1),r=eM(t.getDate()),i="".concat(e,"-").concat(n,"-").concat(r),a=t.getHours(),o=t.getMinutes(),l=t.getSeconds();return a||o||l?"".concat(i," ").concat(eM(a),":").concat(eM(o),":").concat(eM(l)):i}(t[e]):t[e]).join(", ")};return[t,(0,A.Z)({},n,{tooltip:{title:l}})]}};eC.props={};let ej=t=>{let{channel:e}=t;return(t,n)=>{let{encode:r,tooltip:i}=n;if(t$(i))return[t,n];let{items:a=[]}=i;if(!a||a.length>0)return[t,n];let o=Array.isArray(e)?e:[e],l=o.flatMap(t=>Object.keys(r).filter(e=>e.startsWith(t)).map(t=>{let{field:e,value:n,inferred:i=!1,aggregate:a}=r[t];return i?null:a&&n?{channel:t}:e?{field:e}:n?{channel:t}:null}).filter(t=>null!==t));return[t,(0,A.Z)({},n,{tooltip:{items:l}})]}};ej.props={};var eA=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let eS=()=>(t,e)=>{let{encode:n}=e,{key:r}=n,i=eA(n,["key"]);if(void 0!==r)return[t,e];let a=Object.values(i).map(t=>{let{value:e}=t;return e}),o=t.map(t=>a.filter(Array.isArray).map(e=>e[t]).join("-"));return[t,(0,A.Z)({},e,{encode:{key:S(o)}})]};function eE(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{shapes:e}=t;return[{name:"color"},{name:"opacity"},{name:"shape",range:e},{name:"enterType"},{name:"enterDelay",scaleKey:"enter"},{name:"enterDuration",scaleKey:"enter"},{name:"enterEasing"},{name:"key",scale:"identity"},{name:"groupKey",scale:"identity"},{name:"label",scale:"identity"}]}function eP(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[...eE(t),{name:"title",scale:"identity"}]}function eR(){return[{type:eC,channel:"color"},{type:ej,channel:["x","y"]}]}function eT(){return[{type:eC,channel:"x"},{type:ej,channel:["y"]}]}function eL(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return eE(t)}function eI(){return[{type:eS}]}function eN(t,e){return t.getBandWidth(t.invert(e))}function eB(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{x:r,y:i,series:a}=e,{x:o,y:l,series:s}=t,{style:{bandOffset:c=s?0:.5,bandOffsetX:u=c,bandOffsetY:f=c}={}}=n,d=!!(null==o?void 0:o.getBandWidth),h=!!(null==l?void 0:l.getBandWidth),p=!!(null==s?void 0:s.getBandWidth);return d||h?(t,e)=>{let n=d?eN(o,r[e]):0,c=h?eN(l,i[e]):0,g=p&&a?(eN(s,a[e])/2+ +a[e])*n:0,[m,y]=t;return[m+u*n+g,y+f*c]}:t=>t}function eD(t){return parseFloat(t)/100}function eZ(t,e,n,r){let{x:i,y:a}=n,{innerWidth:o,innerHeight:l}=r.getOptions(),s=Array.from(t,t=>{let e=i[t],n=a[t],r="string"==typeof e?eD(e)*o:+e,s="string"==typeof n?eD(n)*l:+n;return[[r,s]]});return[t,s]}function ez(t){return"function"==typeof t?t:e=>e[t]}function eF(t,e){return Array.from(t,ez(e))}function e$(t,e){let{source:n=t=>t.source,target:r=t=>t.target,value:i=t=>t.value}=e,{links:a,nodes:o}=t,l=eF(a,n),s=eF(a,r),c=eF(a,i);return{links:a.map((t,e)=>({target:s[e],source:l[e],value:c[e]})),nodes:o||Array.from(new Set([...l,...s]),t=>({key:t}))}}function eW(t,e){return t.getBandWidth(t.invert(e))}eS.props={};let eH={rect:ec,hollow:eu,funnel:ew,pyramid:ek},eG=()=>(t,e,n,r)=>{let{x:i,y:a,y1:o,series:l,size:s}=n,c=e.x,u=e.series,[f]=r.getSize(),d=s?s.map(t=>+t/f):null,h=s?(t,e,n)=>{let r=t+e/2,i=d[n];return[r-i/2,r+i/2]}:(t,e,n)=>[t,t+e],p=Array.from(t,t=>{let e=eW(c,i[t]),n=u?eW(u,null==l?void 0:l[t]):1,s=(+(null==l?void 0:l[t])||0)*e,f=+i[t]+s,[d,p]=h(f,e*n,t),g=+a[t],m=+o[t];return[[d,g],[p,g],[p,m],[d,m]].map(t=>r.map(t))});return[t,p]};eG.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:eH,channels:[...eP({shapes:Object.keys(eH)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size"}],preInference:[...eI(),{type:N},{type:B}],postInference:[...eT()],interaction:{shareTooltip:!0}};let eq={rect:ec,hollow:eu},eY=()=>(t,e,n,r)=>{let{x:i,x1:a,y:o,y1:l}=n,s=Array.from(t,t=>{let e=[+i[t],+o[t]],n=[+a[t],+o[t]],s=[+a[t],+l[t]],c=[+i[t],+l[t]];return[e,n,s,c].map(t=>r.map(t))});return[t,s]};eY.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:eq,channels:[...eP({shapes:Object.keys(eq)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eI(),{type:N}],postInference:[...eT()],interaction:{shareTooltip:!0}};var eV=eQ(eh);function eU(t){this._curve=t}function eQ(t){function e(e){return new eU(t(e))}return e._curve=t,e}function eX(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(eQ(t)):e()._curve},t}function eK(t){let e="function"==typeof t?t:t.render;return class extends tb.b_{connectedCallback(){this.draw()}attributeChangedCallback(){this.draw()}draw(){e(this)}}}eU.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),-(e*Math.cos(t)))}};var eJ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let e0=eK(t=>{let{d1:e,d2:n,style1:r,style2:i}=t.attributes,a=t.ownerDocument;tW(t).maybeAppend("line",()=>a.createElement("path",{})).style("d",e).call(t9,r),tW(t).maybeAppend("line1",()=>a.createElement("path",{})).style("d",n).call(t9,i)}),e1=(t,e)=>{let{curve:n,gradient:r=!1,gradientColor:i="between",defined:a=t=>!Number.isNaN(t)&&null!=t,connect:o=!1}=t,l=eJ(t,["curve","gradient","gradientColor","defined","connect"]),{coordinate:s,document:c}=e;return(t,e,u)=>{let f;let{color:d,lineWidth:h}=u,p=eJ(u,["color","lineWidth"]),{color:g=d,size:m=h,seriesColor:y,seriesX:v,seriesY:b}=e,x=ei(s,e),O=tu(s),w=r&&y?et(y,v,b,r,i,O):g,_=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p),w&&{stroke:w}),m&&{lineWidth:m}),x&&{transform:x}),l);if(tf(s)){let t=s.getCenter();f=e=>eX(em().curve(eV)).angle((n,r)=>tU(tG(e[r],t))).radius((n,r)=>tY(e[r],t)).defined(t=>{let[e,n]=t;return a(e)&&a(n)}).curve(n)(e)}else f=em().x(t=>t[0]).y(t=>t[1]).defined(t=>{let[e,n]=t;return a(e)&&a(n)}).curve(n);let[k,M]=function(t,e){let n=[],r=[],i=!1,a=null;for(let o of t)e(o[0])&&e(o[1])?(n.push(o),i&&(i=!1,r.push([a,o])),a=o):i=!0;return[n,r]}(t,a),C=tB(_,"connect"),j=!!M.length;return j&&(!o||Object.keys(C).length)?j&&!o?tW(c.createElement("path",{})).style("d",f(t)).call(t9,_).node():tW(new e0).style("style1",Object.assign(Object.assign({},_),C)).style("style2",_).style("d1",M.map(f).join(",")).style("d2",f(t)).node():tW(c.createElement("path",{})).style("d",f(k)||[]).call(t9,_).node()}};e1.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let e2=(t,e)=>{let{coordinate:n}=e;return function(){for(var r=arguments.length,i=Array(r),a=0;a1e-12){var l=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*l-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,i=(i*l-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>1e-12){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*c+t._x1*t._l23_2a-e*t._l12_2a)/u,o=(o*c+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(r,i,a,o,t._x2,t._y2)}function e8(t,e){this._context=t,this._alpha=e}function e9(t,e){this._context=t,this._alpha=e}e2.props=Object.assign(Object.assign({},e1.props),{defaultMarker:"line"}),e3.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:e5(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:e5(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new e3(t,e)}return n.tension=function(e){return t(+e)},n}(0),e4.prototype={areaStart:ey,areaEnd:ey,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:e5(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new e4(t,e)}return n.tension=function(e){return t(+e)},n}(0),e8.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:e6(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return e?new e8(t,e):new e3(t,0)}return n.alpha=function(e){return t(+e)},n}(.5),e9.prototype={areaStart:ey,areaEnd:ey,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:e6(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var e7=function t(e){function n(t){return e?new e9(t,e):new e4(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function nt(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0);return((a<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs((a*i+o*r)/(r+i)))||0}function ne(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function nn(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,l=(a-r)/3;t._context.bezierCurveTo(r+l,i+l*e,a-l,o-l*n,a,o)}function nr(t){this._context=t}function ni(t){this._context=new na(t)}function na(t){this._context=t}function no(t){return new nr(t)}function nl(t){return new ni(t)}nr.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:nn(this,this._t0,ne(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,nn(this,ne(this,n=nt(this,t,e)),n);break;default:nn(this,this._t0,n=nt(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(ni.prototype=Object.create(nr.prototype)).point=function(t,e){nr.prototype.point.call(this,e,t)},na.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,a){this._context.bezierCurveTo(e,t,r,n,a,i)}};var ns=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let nc=(t,e)=>{let n=ns(t,[]),{coordinate:r}=e;return function(){for(var t=arguments.length,i=Array(t),a=0;a=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};let np=(t,e)=>e1(Object.assign({curve:nh},t),e);np.props=Object.assign(Object.assign({},e1.props),{defaultMarker:"hv"});let ng=(t,e)=>e1(Object.assign({curve:nd},t),e);ng.props=Object.assign(Object.assign({},e1.props),{defaultMarker:"vh"});let nm=(t,e)=>e1(Object.assign({curve:nf},t),e);nm.props=Object.assign(Object.assign({},e1.props),{defaultMarker:"hvh"});var ny=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let nv=(t,e)=>{let{document:n}=e;return(e,r,i)=>{let{seriesSize:a,color:o}=r,{color:l}=i,s=ny(i,["color"]),c=te();for(let t=0;t(t,e)=>{let{style:n={},encode:r}=e,{series:i}=r,{gradient:a}=n;return!a||i?[t,e]:[t,(0,A.Z)({},e,{encode:{series:P(R(t,void 0))}})]};nb.props={};let nx=()=>(t,e)=>{let{encode:n}=e,{series:r,color:i}=n;if(void 0!==r||void 0===i)return[t,e];let[a,o]=T(n,"color");return[t,(0,A.Z)({},e,{encode:{series:S(a,o)}})]};nx.props={};let nO={line:e2,smooth:nc,hv:np,vh:ng,hvh:nm,trail:nv},nw=(t,e,n,r)=>{var i,a;let{series:o,x:l,y:s}=n,{x:c,y:u}=e;if(void 0===l||void 0===s)throw Error("Missing encode for x or y channel.");let f=o?Array.from(tk(t,t=>o[t]).values()):[t],d=f.map(t=>t[0]).filter(t=>void 0!==t),h=((null===(i=null==c?void 0:c.getBandWidth)||void 0===i?void 0:i.call(c))||0)/2,p=((null===(a=null==u?void 0:u.getBandWidth)||void 0===a?void 0:a.call(u))||0)/2,g=Array.from(f,t=>t.map(t=>r.map([+l[t]+h,+s[t]+p])));return[d,g,f]},n_=(t,e,n,r)=>{let i=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("position")}).map(t=>{let[,e]=t;return e});if(0===i.length)throw Error("Missing encode for position channel.");let a=Array.from(t,t=>{let e=i.map(e=>+e[t]),n=r.map(e),a=[];for(let t=0;t(t,e,n,r)=>{let i=tp(r)?n_:nw;return i(t,e,n,r)};nk.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:nO,channels:[...eP({shapes:Object.keys(nO)}),{name:"x"},{name:"y"},{name:"position",independent:!0},{name:"size"},{name:"series",scale:"band"}],preInference:[...eI(),{type:nb},{type:nx}],postInference:[...eT(),{type:eC,channel:"color"},{type:ej,channel:["position"]}],interaction:{shareTooltip:!0,seriesTooltip:!0,crosshairs:!0}};var nM=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let nC=(t,e,n)=>[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e],["Z"]];nC.style=["fill"];let nj=nC.bind(void 0);nj.style=["stroke","lineWidth"];let nA=(t,e,n)=>[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]];nA.style=["fill"];let nS=nA.bind(void 0);nS.style=["fill"];let nE=nA.bind(void 0);nE.style=["stroke","lineWidth"];let nP=(t,e,n)=>{let r=.618*n;return[["M",t-r,e],["L",t,e-n],["L",t+r,e],["L",t,e+n],["Z"]]};nP.style=["fill"];let nR=nP.bind(void 0);nR.style=["stroke","lineWidth"];let nT=(t,e,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]};nT.style=["fill"];let nL=nT.bind(void 0);nL.style=["stroke","lineWidth"];let nI=(t,e,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]};nI.style=["fill"];let nN=nI.bind(void 0);nN.style=["stroke","lineWidth"];let nB=(t,e,n)=>{let r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]};nB.style=["fill"];let nD=nB.bind(void 0);nD.style=["stroke","lineWidth"];let nZ=(t,e,n)=>{let r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]};nZ.style=["fill"];let nz=nZ.bind(void 0);nz.style=["stroke","lineWidth"];let nF=(t,e,n)=>[["M",t,e+n],["L",t,e-n]];nF.style=["stroke","lineWidth"];let n$=(t,e,n)=>[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]];n$.style=["stroke","lineWidth"];let nW=(t,e,n)=>[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]];nW.style=["stroke","lineWidth"];let nH=(t,e,n)=>[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]];nH.style=["stroke","lineWidth"];let nG=(t,e,n)=>[["M",t-n,e],["L",t+n,e]];nG.style=["stroke","lineWidth"];let nq=(t,e,n)=>[["M",t-n,e],["L",t+n,e]];nq.style=["stroke","lineWidth"];let nY=nq.bind(void 0);nY.style=["stroke","lineWidth"];let nV=(t,e,n)=>[["M",t-n,e],["A",n/2,n/2,0,1,1,t,e],["A",n/2,n/2,0,1,0,t+n,e]];nV.style=["stroke","lineWidth"];let nU=(t,e,n)=>[["M",t-n-1,e-2.5],["L",t,e-2.5],["L",t,e+2.5],["L",t+n+1,e+2.5]];nU.style=["stroke","lineWidth"];let nQ=(t,e,n)=>[["M",t-n-1,e+2.5],["L",t,e+2.5],["L",t,e-2.5],["L",t+n+1,e-2.5]];nQ.style=["stroke","lineWidth"];let nX=(t,e,n)=>[["M",t-(n+1),e+2.5],["L",t-n/2,e+2.5],["L",t-n/2,e-2.5],["L",t+n/2,e-2.5],["L",t+n/2,e+2.5],["L",t+n+1,e+2.5]];nX.style=["stroke","lineWidth"];let nK=(t,e,n)=>[["M",t-5,e+2.5],["L",t-5,e],["L",t,e],["L",t,e-3],["L",t,e+3],["L",t+6.5,e+3]];nK.style=["stroke","lineWidth"];let nJ=new Map([["bowtie",nZ],["cross",n$],["dash",nY],["diamond",nP],["dot",nq],["hexagon",nB],["hollowBowtie",nz],["hollowDiamond",nR],["hollowHexagon",nD],["hollowPoint",nj],["hollowSquare",nE],["hollowTriangle",nL],["hollowTriangleDown",nN],["hv",nU],["hvh",nX],["hyphen",nG],["line",nF],["plus",nH],["point",nC],["rect",nS],["smooth",nV],["square",nA],["tick",nW],["triangleDown",nI],["triangle",nT],["vh",nQ],["vhv",nK]]);var n0=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function n1(t,e,n,r){if(1===e.length)return;let{size:i}=n;if("fixed"===t)return i;if("normal"===t||tg(r)){let[[t,n],[r,i]]=e,a=Math.abs((r-t)/2),o=Math.abs((i-n)/2);return Math.max(0,(a+o)/2)}return i}let n2=(t,e)=>{let{colorAttribute:n,symbol:r,mode:i="auto"}=t,a=n0(t,["colorAttribute","symbol","mode"]),o=nJ.get(r)||nJ.get("point"),{coordinate:l,document:s}=e;return(e,r,c)=>{let{lineWidth:u,color:f}=c,d=a.stroke?u||1:u,{color:h=f,transform:p,opacity:g}=r,[m,y]=ea(e),v=n1(i,e,r,l),b=v||a.r||c.r;return tW(s.createElement("path",{})).call(t9,c).style("fill","transparent").style("d",o(m,y,b)).style("lineWidth",d).style("transform",p).style("transformOrigin","".concat(m-b," ").concat(y-b)).style("stroke",h).style(er(t),g).style(n,h).call(t9,a).node()}};n2.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let n5=(t,e)=>n2(Object.assign({colorAttribute:"stroke",symbol:"point"},t),e);n5.props=Object.assign({defaultMarker:"hollowPoint"},n2.props);let n3=(t,e)=>n2(Object.assign({colorAttribute:"stroke",symbol:"diamond"},t),e);n3.props=Object.assign({defaultMarker:"hollowDiamond"},n2.props);let n4=(t,e)=>n2(Object.assign({colorAttribute:"stroke",symbol:"hexagon"},t),e);n4.props=Object.assign({defaultMarker:"hollowHexagon"},n2.props);let n6=(t,e)=>n2(Object.assign({colorAttribute:"stroke",symbol:"square"},t),e);n6.props=Object.assign({defaultMarker:"hollowSquare"},n2.props);let n8=(t,e)=>n2(Object.assign({colorAttribute:"stroke",symbol:"triangle-down"},t),e);n8.props=Object.assign({defaultMarker:"hollowTriangleDown"},n2.props);let n9=(t,e)=>n2(Object.assign({colorAttribute:"stroke",symbol:"triangle"},t),e);n9.props=Object.assign({defaultMarker:"hollowTriangle"},n2.props);let n7=(t,e)=>n2(Object.assign({colorAttribute:"stroke",symbol:"bowtie"},t),e);n7.props=Object.assign({defaultMarker:"hollowBowtie"},n2.props);var rt=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let re=(t,e)=>{let{colorAttribute:n,mode:r="auto"}=t,i=rt(t,["colorAttribute","mode"]),{coordinate:a,document:o}=e;return(e,l,s)=>{let{lineWidth:c,color:u}=s,f=i.stroke?c||1:c,{color:d=u,transform:h,opacity:p}=l,[g,m]=ea(e),y=n1(r,e,l,a),v=y||i.r||s.r;return tW(o.createElement("circle",{})).call(t9,s).style("fill","transparent").style("cx",g).style("cy",m).style("r",v).style("lineWidth",f).style("transform",h).style("transformOrigin","".concat(g," ").concat(m)).style("stroke",d).style(er(t),p).style(n,d).call(t9,i).node()}},rn=(t,e)=>re(Object.assign({colorAttribute:"fill"},t),e);rn.props={defaultMarker:"circle",defaultEnterAnimation:"fadeIn",defaultExitAnimation:"fadeOut"};let rr=(t,e)=>re(Object.assign({colorAttribute:"stroke"},t),e);rr.props=Object.assign({defaultMarker:"hollowPoint"},rn.props);let ri=(t,e)=>n2(Object.assign({colorAttribute:"fill",symbol:"point"},t),e);ri.props=Object.assign({defaultMarker:"point"},n2.props);let ra=(t,e)=>n2(Object.assign({colorAttribute:"stroke",symbol:"plus"},t),e);ra.props=Object.assign({defaultMarker:"plus"},n2.props);let ro=(t,e)=>n2(Object.assign({colorAttribute:"fill",symbol:"diamond"},t),e);ro.props=Object.assign({defaultMarker:"diamond"},n2.props);let rl=(t,e)=>n2(Object.assign({colorAttribute:"fill",symbol:"square"},t),e);rl.props=Object.assign({defaultMarker:"square"},n2.props);let rs=(t,e)=>n2(Object.assign({colorAttribute:"fill",symbol:"triangle"},t),e);rs.props=Object.assign({defaultMarker:"triangle"},n2.props);let rc=(t,e)=>n2(Object.assign({colorAttribute:"fill",symbol:"hexagon"},t),e);rc.props=Object.assign({defaultMarker:"hexagon"},n2.props);let ru=(t,e)=>n2(Object.assign({colorAttribute:"stroke",symbol:"cross"},t),e);ru.props=Object.assign({defaultMarker:"cross"},n2.props);let rf=(t,e)=>n2(Object.assign({colorAttribute:"fill",symbol:"bowtie"},t),e);rf.props=Object.assign({defaultMarker:"bowtie"},n2.props);let rd=(t,e)=>n2(Object.assign({colorAttribute:"stroke",symbol:"hyphen"},t),e);rd.props=Object.assign({defaultMarker:"hyphen"},n2.props);let rh=(t,e)=>n2(Object.assign({colorAttribute:"stroke",symbol:"line"},t),e);rh.props=Object.assign({defaultMarker:"line"},n2.props);let rp=(t,e)=>n2(Object.assign({colorAttribute:"stroke",symbol:"tick"},t),e);rp.props=Object.assign({defaultMarker:"tick"},n2.props);let rg=(t,e)=>n2(Object.assign({colorAttribute:"fill",symbol:"triangle-down"},t),e);rg.props=Object.assign({defaultMarker:"triangleDown"},n2.props);let rm=()=>(t,e)=>{let{encode:n}=e,{y:r}=n;return void 0!==r?[t,e]:[t,(0,A.Z)({},e,{encode:{y:E(R(t,0))},scale:{y:{guide:null}}})]};rm.props={};let ry=()=>(t,e)=>{let{encode:n}=e,{size:r}=n;return void 0!==r?[t,e]:[t,(0,A.Z)({},e,{encode:{size:P(R(t,3))}})]};ry.props={};let rv={hollow:n5,hollowDiamond:n3,hollowHexagon:n4,hollowSquare:n6,hollowTriangleDown:n8,hollowTriangle:n9,hollowBowtie:n7,hollowCircle:rr,point:ri,plus:ra,diamond:ro,square:rl,triangle:rs,hexagon:rc,cross:ru,bowtie:rf,hyphen:rd,line:rh,tick:rp,triangleDown:rg,circle:rn},rb=t=>(e,n,r,i)=>{let{x:a,y:o,x1:l,y1:s,size:c,dx:u,dy:f}=r,[d,h]=i.getSize(),p=eB(n,r,t),g=t=>{let e=+((null==u?void 0:u[t])||0),n=+((null==f?void 0:f[t])||0),r=l?(+a[t]+ +l[t])/2:+a[t],i=s?(+o[t]+ +s[t])/2:+o[t];return[r+e,i+n]},m=c?Array.from(e,t=>{let[e,n]=g(t),r=+c[t],a=r/d,o=r/h;return[i.map(p([e-a,n-o],t)),i.map(p([e+a,n+o],t))]}):Array.from(e,t=>[i.map(p(g(t),t))]);return[e,m]};rb.props={defaultShape:"hollow",defaultLabelShape:"label",composite:!1,shape:rv,channels:[...eP({shapes:Object.keys(rv)}),{name:"x",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size",quantitative:"sqrt"},{name:"dx",scale:"identity"},{name:"dy",scale:"identity"}],preInference:[...eI(),{type:B},{type:rm}],postInference:[{type:ry},...eR()]};var rx=n(76168),rO=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rw=eK(t=>{let e;let n=t.attributes,{className:r,class:i,transform:a,rotate:o,labelTransform:l,labelTransformOrigin:s,x:c,y:u,x0:f=c,y0:d=u,text:h,background:p,connector:g,startMarker:m,endMarker:y,coordCenter:v,innerHTML:b}=n,x=rO(n,["className","class","transform","rotate","labelTransform","labelTransformOrigin","x","y","x0","y0","text","background","connector","startMarker","endMarker","coordCenter","innerHTML"]);if(t.style.transform="translate(".concat(c,", ").concat(u,")"),[c,u,f,d].some(t=>!(0,t2.Z)(t))){t.children.forEach(t=>t.remove());return}let O=tB(x,"background"),{padding:w}=O,_=rO(O,["padding"]),k=tB(x,"connector"),{points:M=[]}=k,C=rO(k,["points"]);e=b?tW(t).maybeAppend("html","html",r).style("zIndex",0).style("innerHTML",b).call(t9,Object.assign({transform:l,transformOrigin:s},x)).node():tW(t).maybeAppend("text","text").style("zIndex",0).style("text",h).call(t9,Object.assign({textBaseline:"middle",transform:l,transformOrigin:s},x)).node();let j=tW(t).maybeAppend("background","rect").style("zIndex",-1).call(t9,function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],[n=0,r=0,i=n,a=r]=e,o=t.parentNode,l=o.getEulerAngles();o.setEulerAngles(0);let{min:s,halfExtents:c}=t.getLocalBounds(),[u,f]=s,[d,h]=c;return o.setEulerAngles(l),{x:u-a,y:f-n,width:2*d+a+r,height:2*h+n+i}}(e,w)).call(t9,p?_:{}).node(),A=+f4)||void 0===arguments[4]||arguments[4],a=!(arguments.length>5)||void 0===arguments[5]||arguments[5],o=t=>em()(t);if(!e[0]&&!e[1])return o([function(t){let{min:[e,n],max:[r,i]}=t.getLocalBounds(),a=0,o=0;return e>0&&(a=e),r<0&&(a=r),n>0&&(o=n),i<0&&(o=i),[a,o]}(t),e]);if(!n.length)return o([[0,0],e]);let[l,s]=n,c=[...s],u=[...l];if(s[0]!==l[0]){let t=i?-4:4;c[1]=s[1],a&&!i&&(c[0]=Math.max(l[0],s[0]-t),s[1]l[1]?u[1]=c[1]:(u[1]=l[1],u[0]=Math.max(u[0],c[0]-t))),!a&&i&&(c[0]=Math.min(l[0],s[0]-t),s[1]>l[1]?u[1]=c[1]:(u[1]=l[1],u[0]=Math.min(u[0],c[0]-t))),a&&i&&(c[0]=Math.min(l[0],s[0]-t),s[1]{let{coordinate:n}=e;return(e,r,i)=>{let{color:a,text:o="",fontSize:l,rotate:s=0,transform:c=""}=r,u={text:String(o),stroke:a,fill:a,fontSize:l},[[f,d]]=e;return tW(new rw).style("x",f).style("y",d).call(t9,i).style("transform","".concat(c,"rotate(").concat(+s,")")).style("coordCenter",n.getCenter()).call(t9,u).call(t9,t).node()}};r_.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var rk=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rM=eK(t=>{let e=t.attributes,{class:n,x:r,y:i,transform:a}=e,o=rk(e,["class","x","y","transform"]),l=tB(o,"marker"),{size:s=24}=l,c=()=>(function(t){let e=t/Math.sqrt(2),n=t*Math.sqrt(2),[r,i]=[-e,e-n],[a,o]=[0,0],[l,s]=[e,e-n];return[["M",r,i],["A",t,t,0,1,1,l,s],["L",a,o],["Z"]]})(s/2),u=tW(t).maybeAppend("marker",()=>new rx.J({})).call(t=>t.node().update(Object.assign({symbol:c},l))).node(),[f,d]=function(t){let{min:e,max:n}=t.getLocalBounds();return[(e[0]+n[0])*.5,(e[1]+n[1])*.5]}(u);tW(t).maybeAppend("text","text").style("x",f).style("y",d).call(t9,o)}),rC=(t,e)=>{let n=rk(t,[]);return(t,e,r)=>{let{color:i}=r,a=rk(r,["color"]),{color:o=i,text:l=""}=e,s={text:String(l),stroke:o,fill:o},[[c,u]]=t;return tW(new rM).call(t9,a).style("transform","translate(".concat(c,",").concat(u,")")).call(t9,s).call(t9,n).node()}};rC.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rj=(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let{color:a,text:o="",fontSize:l,rotate:s=0,transform:c=""}=r,u={text:String(o),stroke:a,fill:a,fontSize:l,textAlign:"center",textBaseline:"middle"},[[f,d]]=e,h=tW(new tb.xv).style("x",f).style("y",d).call(t9,i).style("transformOrigin","center center").style("transform","".concat(c,"rotate(").concat(s,"deg)")).style("coordCenter",n.getCenter()).call(t9,u).call(t9,t).node();return h}};rj.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rA=()=>(t,e)=>{let{data:n}=e;if(!Array.isArray(n)||n.some(I))return[t,e];let r=Array.isArray(n[0])?n:[n],i=r.map(t=>t[0]),a=r.map(t=>t[1]);return[t,(0,A.Z)({},e,{encode:{x:S(i),y:S(a)}})]};rA.props={};var rS=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rE=()=>(t,e)=>{let{data:n,style:r={}}=e,i=rS(e,["data","style"]),{x:a,y:o}=r,l=rS(r,["x","y"]);if(void 0==a||void 0==o)return[t,e];let s=a||0,c=o||0;return[[0],(0,A.Z)({},i,{data:[0],cartesian:!0,encode:{x:S([s]),y:S([c])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:l})]};rE.props={};let rP={text:r_,badge:rC,tag:rj},rR=t=>{let{cartesian:e=!1}=t;return e?eZ:(e,n,r,i)=>{let{x:a,y:o}=r,l=eB(n,r,t),s=Array.from(e,t=>{let e=[+a[t],+o[t]];return[i.map(l(e,t))]});return[e,s]}};rR.props={defaultShape:"text",defaultLabelShape:"label",composite:!1,shape:rP,channels:[...eP({shapes:Object.keys(rP)}),{name:"x",required:!0},{name:"y",required:!0},{name:"text",scale:"identity"},{name:"fontSize",scale:"identity"},{name:"rotate",scale:"identity"}],preInference:[...eI(),{type:rA},{type:rE}],postInference:[...eR()]};let rT=()=>(t,e)=>[t,(0,A.Z)({scale:{x:{padding:0},y:{padding:0}}},e)];rT.props={};let rL={cell:ec,hollow:eu},rI=()=>(t,e,n,r)=>{let{x:i,y:a}=n,o=e.x,l=e.y,s=Array.from(t,t=>{let e=o.getBandWidth(o.invert(+i[t])),n=l.getBandWidth(l.invert(+a[t])),s=+i[t],c=+a[t];return[[s,c],[s+e,c],[s+e,c+n],[s,c+n]].map(t=>r.map(t))});return[t,s]};function rN(t,e,n){var r=null,i=D(!0),a=null,o=eh,l=null,s=tn(c);function c(c){var u,f,d,h,p,g=(c=ef(c)).length,m=!1,y=Array(g),v=Array(g);for(null==a&&(l=o(p=s())),u=0;u<=g;++u){if(!(u=f;--d)l.point(y[d],v[d]);l.lineEnd(),l.areaEnd()}}m&&(y[u]=+t(h,u,c),v[u]=+e(h,u,c),l.point(r?+r(h,u,c):y[u],n?+n(h,u,c):v[u]))}if(p)return l=null,p+""||null}function u(){return em().defined(i).curve(o).context(a)}return t="function"==typeof t?t:void 0===t?ep:D(+t),e="function"==typeof e?e:void 0===e?D(0):D(+e),n="function"==typeof n?n:void 0===n?eg:D(+n),c.x=function(e){return arguments.length?(t="function"==typeof e?e:D(+e),r=null,c):t},c.x0=function(e){return arguments.length?(t="function"==typeof e?e:D(+e),c):t},c.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:D(+t),c):r},c.y=function(t){return arguments.length?(e="function"==typeof t?t:D(+t),n=null,c):e},c.y0=function(t){return arguments.length?(e="function"==typeof t?t:D(+t),c):e},c.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:D(+t),c):n},c.lineX0=c.lineY0=function(){return u().x(t).y(e)},c.lineY1=function(){return u().x(t).y(n)},c.lineX1=function(){return u().x(r).y(e)},c.defined=function(t){return arguments.length?(i="function"==typeof t?t:D(!!t),c):i},c.curve=function(t){return arguments.length?(o=t,null!=a&&(l=o(a)),c):o},c.context=function(t){return arguments.length?(null==t?a=l=null:l=o(a=t),c):a},c}rI.props={defaultShape:"cell",defaultLabelShape:"label",shape:rL,composite:!1,channels:[...eP({shapes:Object.keys(rL)}),{name:"x",required:!0,scale:"band"},{name:"y",required:!0,scale:"band"}],preInference:[...eI(),{type:B},{type:rm},{type:rT}],postInference:[...eR()]};var rB=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rD=eK(t=>{let{areaPath:e,connectPath:n,areaStyle:r,connectStyle:i}=t.attributes,a=t.ownerDocument;tW(t).maybeAppend("connect-path",()=>a.createElement("path",{})).style("d",n).call(t9,i),tW(t).maybeAppend("area-path",()=>a.createElement("path",{})).style("d",e).call(t9,r)}),rZ=(t,e)=>{let{curve:n,gradient:r=!1,defined:i=t=>!Number.isNaN(t)&&null!=t,connect:a=!1}=t,o=rB(t,["curve","gradient","defined","connect"]),{coordinate:l,document:s}=e;return(t,e,c)=>{let{color:u}=c,{color:f=u,seriesColor:d,seriesX:h,seriesY:p}=e,g=tu(l),m=ei(l,e),y=r&&d?et(d,h,p,r,void 0,g):f,v=Object.assign(Object.assign(Object.assign(Object.assign({},c),{stroke:y,fill:y}),m&&{transform:m}),o),[b,x]=function(t,e){let n=[],r=[],i=[],a=!1,o=null,l=t.length/2;for(let s=0;s!e(t)))a=!0;else{if(n.push(c),r.push(u),a&&o){a=!1;let[t,e]=o;i.push([t,c,e,u])}o=[c,u]}}return[n.concat(r),i]}(t,i),O=tB(v,"connect"),w=!!x.length,_=t=>tW(s.createElement("path",{})).style("d",t||"").call(t9,v).node();if(tf(l)){let e=t=>{var e,r,a,o,s,c;let u=l.getCenter(),f=t.slice(0,t.length/2),d=t.slice(t.length/2);return(r=(e=rN().curve(eV)).curve,a=e.lineX0,o=e.lineX1,s=e.lineY0,c=e.lineY1,e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return eX(a())},delete e.lineX0,e.lineEndAngle=function(){return eX(o())},delete e.lineX1,e.lineInnerRadius=function(){return eX(s())},delete e.lineY0,e.lineOuterRadius=function(){return eX(c())},delete e.lineY1,e.curve=function(t){return arguments.length?r(eQ(t)):r()._curve},e).angle((t,e)=>tU(tG(f[e],u))).outerRadius((t,e)=>tY(f[e],u)).innerRadius((t,e)=>tY(d[e],u)).defined((t,e)=>[...f[e],...d[e]].every(i)).curve(n)(d)};return w&&(!a||Object.keys(O).length)?w&&!a?_(e(t)):tW(new rD).style("areaStyle",v).style("connectStyle",Object.assign(Object.assign({},O),o)).style("areaPath",e(t)).style("connectPath",x.map(e).join("")).node():_(e(b))}{let e=t=>{let e=t.slice(0,t.length/2),r=t.slice(t.length/2);return g?rN().y((t,n)=>e[n][1]).x1((t,n)=>e[n][0]).x0((t,e)=>r[e][0]).defined((t,n)=>[...e[n],...r[n]].every(i)).curve(n)(e):rN().x((t,n)=>e[n][0]).y1((t,n)=>e[n][1]).y0((t,e)=>r[e][1]).defined((t,n)=>[...e[n],...r[n]].every(i)).curve(n)(e)};return w&&(!a||Object.keys(O).length)?w&&!a?_(e(t)):tW(new rD).style("areaStyle",v).style("connectStyle",Object.assign(Object.assign({},O),o)).style("areaPath",e(t)).style("connectPath",x.map(e).join("")).node():_(e(b))}}};rZ.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rz=(t,e)=>{let{coordinate:n}=e;return function(){for(var r=arguments.length,i=Array(r),a=0;ae.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let r$=(t,e)=>{let n=rF(t,[]),{coordinate:r}=e;return function(){for(var t=arguments.length,i=Array(t),a=0;afunction(){for(var n=arguments.length,r=Array(n),i=0;ifunction(){for(var n=arguments.length,r=Array(n),i=0;ifunction(){for(var n=arguments.length,r=Array(n),i=0;i(t,e,n,r)=>{var i,a;let{x:o,y:l,y1:s,series:c}=n,{x:u,y:f}=e,d=c?Array.from(tk(t,t=>c[t]).values()):[t],h=d.map(t=>t[0]).filter(t=>void 0!==t),p=((null===(i=null==u?void 0:u.getBandWidth)||void 0===i?void 0:i.call(u))||0)/2,g=((null===(a=null==f?void 0:f.getBandWidth)||void 0===a?void 0:a.call(f))||0)/2,m=Array.from(d,t=>{let e=t.length,n=Array(2*e);for(let i=0;i(t,e)=>{let{encode:n}=e,{y1:r}=n;if(r)return[t,e];let[i]=T(n,"y");return[t,(0,A.Z)({},e,{encode:{y1:S([...i])}})]};rV.props={};let rU=()=>(t,e)=>{let{encode:n}=e,{x1:r}=n;if(r)return[t,e];let[i]=T(n,"x");return[t,(0,A.Z)({},e,{encode:{x1:S([...i])}})]};rU.props={};var rQ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rX=(t,e)=>{let{arrow:n=!0,arrowSize:r="40%"}=t,i=rQ(t,["arrow","arrowSize"]),{document:a}=e;return(t,e,o)=>{let{defaultColor:l}=o,s=rQ(o,["defaultColor"]),{color:c=l,transform:u}=e,[f,d]=t,h=te();if(h.moveTo(...f),h.lineTo(...d),n){let[t,e]=function(t,e,n){let{arrowSize:r}=n,i="string"==typeof r?+parseFloat(r)/100*tY(t,e):r,a=Math.PI/6,o=Math.atan2(e[1]-t[1],e[0]-t[0]),l=Math.PI/2-o-a,s=[e[0]-i*Math.sin(l),e[1]-i*Math.cos(l)],c=o-a,u=[e[0]-i*Math.cos(c),e[1]-i*Math.sin(c)];return[s,u]}(f,d,{arrowSize:r});h.moveTo(...t),h.lineTo(...d),h.lineTo(...e)}return tW(a.createElement("path",{})).call(t9,s).style("d",h.toString()).style("stroke",c).style("transform",u).call(t9,i).node()}};rX.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rK=(t,e)=>{let{arrow:n=!1}=t;return function(){for(var r=arguments.length,i=Array(r),a=0;ae.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let r0=(t,e)=>{let n=rJ(t,[]),{coordinate:r,document:i}=e;return(t,e,a)=>{let{color:o}=a,l=rJ(a,["color"]),{color:s=o,transform:c}=e,[u,f]=t,d=te();if(d.moveTo(u[0],u[1]),tf(r)){let t=r.getCenter();d.quadraticCurveTo(t[0],t[1],f[0],f[1])}else{let t=tK(u,f),e=tY(u,f)/2;t7(d,u,f,t,e)}return tW(i.createElement("path",{})).call(t9,l).style("d",d.toString()).style("stroke",s).style("transform",c).call(t9,n).node()}};r0.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var r1=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let r2=(t,e)=>{let n=r1(t,[]),{document:r}=e;return(t,e,i)=>{let{color:a}=i,o=r1(i,["color"]),{color:l=a,transform:s}=e,[c,u]=t,f=te();return f.moveTo(c[0],c[1]),f.bezierCurveTo(c[0]/2+u[0]/2,c[1],c[0]/2+u[0]/2,u[1],u[0],u[1]),tW(r.createElement("path",{})).call(t9,o).style("d",f.toString()).style("stroke",l).style("transform",s).call(t9,n).node()}};r2.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var r5=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let r3=(t,e)=>{let{cornerRatio:n=1/3}=t,r=r5(t,["cornerRatio"]),{coordinate:i,document:a}=e;return(t,e,o)=>{let{defaultColor:l}=o,s=r5(o,["defaultColor"]),{color:c=l,transform:u}=e,[f,d]=t,h=function(t,e,n,r){let i=te();if(tf(n)){let a=n.getCenter(),o=tY(t,a),l=tY(e,a),s=(l-o)*r+o;return i.moveTo(t[0],t[1]),t7(i,t,e,a,s),i.lineTo(e[0],e[1]),i}return tu(n)?(i.moveTo(t[0],t[1]),i.lineTo(t[0]+(e[0]-t[0])*r,t[1]),i.lineTo(t[0]+(e[0]-t[0])*r,e[1]),i.lineTo(e[0],e[1]),i):(i.moveTo(t[0],t[1]),i.lineTo(t[0],t[1]+(e[1]-t[1])*r),i.lineTo(e[0],t[1]+(e[1]-t[1])*r),i.lineTo(e[0],e[1]),i)}(f,d,i,n);return tW(a.createElement("path",{})).call(t9,s).style("d",h.toString()).style("stroke",c).style("transform",u).call(t9,r).node()}};r3.props={defaultMarker:"vhv",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let r4={link:rK,arc:r0,smooth:r2,vhv:r3},r6=t=>(e,n,r,i)=>{let{x:a,y:o,x1:l=a,y1:s=o}=r,c=eB(n,r,t),u=e.map(t=>[i.map(c([+a[t],+o[t]],t)),i.map(c([+l[t],+s[t]],t))]);return[e,u]};r6.props={defaultShape:"link",defaultLabelShape:"label",composite:!1,shape:r4,channels:[...eP({shapes:Object.keys(r4)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eI(),{type:rV},{type:rU}],postInference:[...eR()]};var r8=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let r9=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o}=a,l=r8(a,["color"]),{color:s=o,src:c="",size:u=32,transform:f=""}=i,{width:d=u,height:h=u}=t,[[p,g]]=e,[m,y]=n.getSize();d="string"==typeof d?eD(d)*m:d,h="string"==typeof h?eD(h)*y:h;let v=p-Number(d)/2,b=g-Number(h)/2;return tW(r.createElement("image",{})).call(t9,l).style("x",v).style("y",b).style("src",c).style("stroke",s).style("transform",f).call(t9,t).style("width",d).style("height",h).node()}};r9.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let r7={image:r9},it=t=>{let{cartesian:e}=t;return e?eZ:(e,n,r,i)=>{let{x:a,y:o}=r,l=eB(n,r,t),s=Array.from(e,t=>{let e=[+a[t],+o[t]];return[i.map(l(e,t))]});return[e,s]}};it.props={defaultShape:"image",defaultLabelShape:"label",composite:!1,shape:r7,channels:[...eP({shapes:Object.keys(r7)}),{name:"x",required:!0},{name:"y",required:!0},{name:"src",scale:"identity"},{name:"size"}],preInference:[...eI(),{type:rA},{type:rE}],postInference:[...eR()]};var ie=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ir=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o}=a,l=ie(a,["color"]),{color:s=o,transform:c}=i,u=function(t,e){let n=te();if(tf(e)){let r=e.getCenter(),i=[...t,t[0]],a=i.map(t=>tY(t,r));return i.forEach((e,i)=>{if(0===i){n.moveTo(e[0],e[1]);return}let o=a[i],l=t[i-1],s=a[i-1];void 0!==s&&1e-10>Math.abs(o-s)?t7(n,l,e,r,o):n.lineTo(e[0],e[1])}),n.closePath(),n}return t.forEach((t,e)=>0===e?n.moveTo(t[0],t[1]):n.lineTo(t[0],t[1])),n.closePath(),n}(e,n);return tW(r.createElement("path",{})).call(t9,l).style("d",u.toString()).style("stroke",s).style("fill",s).style("transform",c).call(t9,t).node()}};ir.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var ii=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ia=(t,e)=>{let n=ii(t,[]),{coordinate:r,document:i}=e;return(t,e,a)=>{let{color:o}=a,l=ii(a,["color"]),{color:s=o,transform:c}=e,u=function(t,e){let[n,r,i,a]=t,o=te();if(tf(e)){let t=e.getCenter(),l=tY(t,n);return o.moveTo(n[0],n[1]),o.quadraticCurveTo(t[0],t[1],i[0],i[1]),t7(o,i,a,t,l),o.quadraticCurveTo(t[0],t[1],r[0],r[1]),t7(o,r,n,t,l),o.closePath(),o}return o.moveTo(n[0],n[1]),o.bezierCurveTo(n[0]/2+i[0]/2,n[1],n[0]/2+i[0]/2,i[1],i[0],i[1]),o.lineTo(a[0],a[1]),o.bezierCurveTo(a[0]/2+r[0]/2,a[1],a[0]/2+r[0]/2,r[1],r[0],r[1]),o.lineTo(n[0],n[1]),o.closePath(),o}(t,r);return tW(i.createElement("path",{})).call(t9,l).style("d",u.toString()).style("fill",s||o).style("stroke",s||o).style("transform",c).call(t9,n).node()}};ia.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let io={polygon:ir,ribbon:ia},il=()=>(t,e,n,r)=>{let i=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("x")}).map(t=>{let[,e]=t;return e}),a=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[,e]=t;return e}),o=t.map(t=>{let e=[];for(let n=0;ne.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ic=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o,transform:l}=i,{color:s,fill:c=s,stroke:u=s}=a,f=is(a,["color","fill","stroke"]),d=function(t,e){let n=te();if(tf(e)){let r=e.getCenter(),[i,a]=r,o=tV(tG(t[0],r)),l=tV(tG(t[1],r)),s=tY(r,t[2]),c=tY(r,t[3]),u=tY(r,t[8]),f=tY(r,t[10]),d=tY(r,t[11]);n.moveTo(...t[0]),n.arc(i,a,s,o,l),n.arc(i,a,s,l,o,!0),n.moveTo(...t[2]),n.lineTo(...t[3]),n.moveTo(...t[4]),n.arc(i,a,c,o,l),n.lineTo(...t[6]),n.arc(i,a,f,l,o,!0),n.closePath(),n.moveTo(...t[8]),n.arc(i,a,u,o,l),n.arc(i,a,u,l,o,!0),n.moveTo(...t[10]),n.lineTo(...t[11]),n.moveTo(...t[12]),n.arc(i,a,d,o,l),n.arc(i,a,d,l,o,!0)}else n.moveTo(...t[0]),n.lineTo(...t[1]),n.moveTo(...t[2]),n.lineTo(...t[3]),n.moveTo(...t[4]),n.lineTo(...t[5]),n.lineTo(...t[6]),n.lineTo(...t[7]),n.closePath(),n.moveTo(...t[8]),n.lineTo(...t[9]),n.moveTo(...t[10]),n.lineTo(...t[11]),n.moveTo(...t[12]),n.lineTo(...t[13]);return n}(e,n);return tW(r.createElement("path",{})).call(t9,f).style("d",d.toString()).style("stroke",u).style("fill",o||c).style("transform",l).call(t9,t).node()}};ic.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var iu=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let id=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o,transform:l}=i,{color:s,fill:c=s,stroke:u=s}=a,f=iu(a,["color","fill","stroke"]),d=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4,r=te();if(!tf(e))return r.moveTo(...t[2]),r.lineTo(...t[3]),r.lineTo(t[3][0]-n,t[3][1]),r.lineTo(t[10][0]-n,t[10][1]),r.lineTo(t[10][0]+n,t[10][1]),r.lineTo(t[3][0]+n,t[3][1]),r.lineTo(...t[3]),r.closePath(),r.moveTo(...t[10]),r.lineTo(...t[11]),r.moveTo(t[3][0]+n/2,t[8][1]),r.arc(t[3][0],t[8][1],n/2,0,2*Math.PI),r.closePath(),r;let i=e.getCenter(),[a,o]=i,l=tY(i,t[3]),s=tY(i,t[8]),c=tY(i,t[10]),u=tV(tG(t[2],i)),f=Math.asin(n/s),d=u-f,h=u+f;r.moveTo(...t[2]),r.lineTo(...t[3]),r.moveTo(Math.cos(d)*l+a,Math.sin(d)*l+o),r.arc(a,o,l,d,h),r.lineTo(Math.cos(h)*c+a,Math.sin(h)*c+o),r.arc(a,o,c,h,d,!0),r.lineTo(Math.cos(d)*l+a,Math.sin(d)*l+o),r.closePath(),r.moveTo(...t[10]),r.lineTo(...t[11]);let p=(d+h)/2;return r.moveTo(Math.cos(p)*(s+n/2)+a,Math.sin(p)*(s+n/2)+o),r.arc(Math.cos(p)*s+a,Math.sin(p)*s+o,n/2,p,2*Math.PI+p),r.closePath(),r}(e,n,4);return tW(r.createElement("path",{})).call(t9,f).style("d",d.toString()).style("stroke",u).style("fill",o||c).style("transform",l).call(t9,t).node()}};id.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ih={box:ic,violin:id},ip=()=>(t,e,n,r)=>{let{x:i,y:a,y1:o,y2:l,y3:s,y4:c,series:u}=n,f=e.x,d=e.series,h=Array.from(t,t=>{let e=f.getBandWidth(f.invert(+i[t])),n=d?d.getBandWidth(d.invert(+(null==u?void 0:u[t]))):1,h=e*n,p=(+(null==u?void 0:u[t])||0)*e,g=+i[t]+p+h/2,[m,y,v,b,x]=[+a[t],+o[t],+l[t],+s[t],+c[t]];return[[g-h/2,x],[g+h/2,x],[g,x],[g,b],[g-h/2,b],[g+h/2,b],[g+h/2,y],[g-h/2,y],[g-h/2,v],[g+h/2,v],[g,y],[g,m],[g-h/2,m],[g+h/2,m]].map(t=>r.map(t))});return[t,h]};ip.props={defaultShape:"box",defaultLabelShape:"label",composite:!1,shape:ih,channels:[...eP({shapes:Object.keys(ih)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"}],preInference:[...eI(),{type:B}],postInference:[...eT()],interaction:{shareTooltip:!0}};let ig={vector:rX},im=()=>(t,e,n,r)=>{let{x:i,y:a,size:o,rotate:l}=n,[s,c]=r.getSize(),u=t.map(t=>{let e=+l[t]/180*Math.PI,n=+o[t],u=n/s*Math.cos(e),f=-(n/c)*Math.sin(e);return[r.map([+i[t]-u/2,+a[t]-f/2]),r.map([+i[t]+u/2,+a[t]+f/2])]});return[t,u]};im.props={defaultShape:"vector",defaultLabelShape:"label",composite:!1,shape:ig,channels:[...eP({shapes:Object.keys(ig)}),{name:"x",required:!0},{name:"y",required:!0},{name:"rotate",required:!0,scale:"identity"},{name:"size",required:!0}],preInference:[...eI()],postInference:[...eR()]};var iy=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let iv=(t,e)=>{let{arrow:n,arrowSize:r=4}=t,i=iy(t,["arrow","arrowSize"]),{coordinate:a,document:o}=e;return(t,e,l)=>{let{color:s,lineWidth:c}=l,u=iy(l,["color","lineWidth"]),{color:f=s,size:d=c}=e,h=n?function(t,e,n){let r=t.createElement("path",{style:Object.assign({d:"M ".concat(e,",").concat(e," L -").concat(e,",0 L ").concat(e,",-").concat(e," L 0,0 Z"),transformOrigin:"center"},n)});return r}(o,r,Object.assign({fill:i.stroke||f,stroke:i.stroke||f},tB(i,"arrow"))):null,p=function(t,e){if(!tf(e))return em().x(t=>t[0]).y(t=>t[1])(t);let n=e.getCenter();return tc()({startAngle:0,endAngle:2*Math.PI,outerRadius:tY(t[0],n),innerRadius:tY(t[1],n)})}(t,a),g=function(t,e){if(!tf(t))return e;let[n,r]=t.getCenter();return"translate(".concat(n,", ").concat(r,") ").concat(e||"")}(a,e.transform);return tW(o.createElement("path",{})).call(t9,u).style("d",p).style("stroke",f).style("lineWidth",d).style("transform",g).style("markerEnd",h).call(t9,i).node()}};iv.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ib=()=>(t,e)=>{let{data:n}=e;return!Array.isArray(n)||n.some(I)?[t,e]:[t,(0,A.Z)({},e,{encode:{x:S(n)}})]};ib.props={};let ix={line:iv},iO=t=>(e,n,r,i)=>{let{x:a}=r,o=eB(n,r,(0,A.Z)({style:{bandOffset:0}},t)),l=Array.from(e,t=>{let e=[a[t],1],n=[a[t],0];return[e,n].map(e=>i.map(o(e,t)))});return[e,l]};iO.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:ix,channels:[...eL({shapes:Object.keys(ix)}),{name:"x",required:!0}],preInference:[...eI(),{type:ib}],postInference:[]};let iw=()=>(t,e)=>{let{data:n}=e;return!Array.isArray(n)||n.some(I)?[t,e]:[t,(0,A.Z)({},e,{encode:{y:S(n)}})]};iw.props={};let i_={line:iv},ik=t=>(e,n,r,i)=>{let{y:a}=r,o=eB(n,r,(0,A.Z)({style:{bandOffset:0}},t)),l=Array.from(e,t=>{let e=[0,a[t]],n=[1,a[t]];return[e,n].map(e=>i.map(o(e,t)))});return[e,l]};ik.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:i_,channels:[...eL({shapes:Object.keys(i_)}),{name:"y",required:!0}],preInference:[...eI(),{type:iw}],postInference:[]};var iM=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function iC(t,e,n){return[["M",t,e],["L",t+2*n,e-n],["L",t+2*n,e+n],["Z"]]}let ij=(t,e)=>{let{offset:n=0,offset1:r=n,offset2:i=n,connectLength1:a,endMarker:o=!0}=t,l=iM(t,["offset","offset1","offset2","connectLength1","endMarker"]),{coordinate:s}=e;return(t,e,n)=>{let{color:c,connectLength1:u}=n,f=iM(n,["color","connectLength1"]),{color:d,transform:h}=e,p=function(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,[[a,o],[l,s]]=e;if(tu(t)){let t=a+n,e=t+i;return[[t,o],[e,o],[e,s],[l+r,s]]}let c=o-n,u=c-i;return[[a,c],[a,u],[l,u],[l,s-r]]}(s,t,r,i,null!=a?a:u),g=tB(Object.assign(Object.assign({},l),n),"endMarker");return tW(new tb.y$).call(t9,f).style("d",em().x(t=>t[0]).y(t=>t[1])(p)).style("stroke",d||c).style("transform",h).style("markerEnd",o?new rx.J({className:"marker",style:Object.assign(Object.assign({},g),{symbol:iC})}):null).call(t9,l).node()}};ij.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let iA={connector:ij},iS=function(){for(var t=arguments.length,e=Array(t),n=0;n[0,1];let{[t]:i,["".concat(t,"1")]:a}=n;return t=>{var e;let n=(null===(e=r.getBandWidth)||void 0===e?void 0:e.call(r,r.invert(+a[t])))||0;return[i[t],a[t]+n]}}function iP(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extendX:e=!1,extendY:n=!1}=t;return(t,r,i,a)=>{let o=iE("x",e,i,r.x),l=iE("y",n,i,r.y),s=Array.from(t,t=>{let[e,n]=o(t),[r,i]=l(t);return[[e,r],[n,r],[n,i],[e,i]].map(t=>a.map(t))});return[t,s]}}iS.props={defaultShape:"connector",defaultLabelShape:"label",composite:!1,shape:iA,channels:[...eL({shapes:Object.keys(iA)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eI()],postInference:[]};let iR={range:ec},iT=()=>iP();iT.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:iR,channels:[...eL({shapes:Object.keys(iR)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eI()],postInference:[]};let iL=()=>(t,e)=>{let{data:n}=e;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(I))){let r=(t,e)=>Array.isArray(t[0])?t.map(t=>t[e]):[t[e]];return[t,(0,A.Z)({},e,{encode:{x:S(r(n,0)),x1:S(r(n,1))}})]}return[t,e]};iL.props={};let iI={range:ec},iN=()=>iP({extendY:!0});iN.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:iI,channels:[...eL({shapes:Object.keys(iI)}),{name:"x",required:!0}],preInference:[...eI(),{type:iL}],postInference:[]};let iB=()=>(t,e)=>{let{data:n}=e;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(I))){let r=(t,e)=>Array.isArray(t[0])?t.map(t=>t[e]):[t[e]];return[t,(0,A.Z)({},e,{encode:{y:S(r(n,0)),y1:S(r(n,1))}})]}return[t,e]};iB.props={};let iD={range:ec},iZ=()=>iP({extendX:!0});iZ.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:iD,channels:[...eL({shapes:Object.keys(iD)}),{name:"y",required:!0}],preInference:[...eI(),{type:iB}],postInference:[]};var iz=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let iF=(t,e)=>{let{arrow:n,colorAttribute:r}=t,i=iz(t,["arrow","colorAttribute"]),{coordinate:a,document:o}=e;return(t,e,n)=>{let{color:l,stroke:s}=n,c=iz(n,["color","stroke"]),{d:u,color:f=l}=e,[d,h]=a.getSize();return tW(o.createElement("path",{})).call(t9,c).style("d","function"==typeof u?u({width:d,height:h}):u).style(r,f).call(t9,i).node()}};iF.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let i$=(t,e)=>iF(Object.assign({colorAttribute:"fill"},t),e);i$.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let iW=(t,e)=>iF(Object.assign({fill:"none",colorAttribute:"stroke"},t),e);iW.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let iH={path:i$,hollow:iW},iG=t=>(t,e,n,r)=>[t,t.map(()=>[[0,0]])];iG.props={defaultShape:"path",defaultLabelShape:"label",shape:iH,composite:!1,channels:[...eP({shapes:Object.keys(iH)}),{name:"d",scale:"identity"}],preInference:[...eI()],postInference:[]};var iq=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let iY=(t,e)=>{let{render:n}=t,r=iq(t,["render"]);return t=>{let[[i,a]]=t;return n(Object.assign(Object.assign({},r),{x:i,y:a}),e)}};iY.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let iV=()=>(t,e)=>{let{style:n={}}=e;return[t,(0,A.Z)({},e,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(t=>{let[,e]=t;return"function"==typeof e}).map(t=>{let[e,n]=t;return[e,()=>n]})))})]};iV.props={};let iU=t=>{let{cartesian:e}=t;return e?eZ:(e,n,r,i)=>{let{x:a,y:o}=r,l=eB(n,r,t),s=Array.from(e,t=>{let e=[+a[t],+o[t]];return[i.map(l(e,t))]});return[e,s]}};iU.props={defaultShape:"shape",defaultLabelShape:"label",composite:!1,shape:{shape:iY},channels:[{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eI(),{type:rA},{type:rE},{type:iV}]};var iQ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let iX=(t,e)=>{let{document:n}=e;return(e,r,i)=>{let{transform:a}=r,{color:o}=i,l=iQ(i,["color"]),{color:s=o}=r,[c,...u]=e,f=te();return f.moveTo(...c),u.forEach(t=>{let[e,n]=t;f.lineTo(e,n)}),f.closePath(),tW(n.createElement("path",{})).call(t9,l).style("d",f.toString()).style("stroke",s||o).style("fill",s||o).style("fillOpacity",.4).style("transform",a).call(t9,t).node()}};iX.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let iK={density:iX},iJ=()=>(t,e,n,r)=>{let{x:i,series:a}=n,o=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[,e]=t;return e}),l=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("size")}).map(t=>{let[,e]=t;return e});if(void 0===i||void 0===o||void 0===l)throw Error("Missing encode for x or y or size channel.");let s=e.x,c=e.series,u=Array.from(t,e=>{let n=s.getBandWidth(s.invert(+i[e])),u=c?c.getBandWidth(c.invert(+(null==a?void 0:a[e]))):1,f=(+(null==a?void 0:a[e])||0)*n,d=+i[e]+f+n*u/2,h=[...o.map((n,r)=>[d+ +l[r][e]/t.length,+o[r][e]]),...o.map((n,r)=>[d-+l[r][e]/t.length,+o[r][e]]).reverse()];return h.map(t=>r.map(t))});return[t,u]};function i0(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function i1(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n=i)&&(n=i)}return n}iJ.props={defaultShape:"density",defaultLabelShape:"label",composite:!1,shape:iK,channels:[...eP({shapes:Object.keys(iK)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"size",required:!0},{name:"series",scale:"band"},{name:"size",required:!0,scale:"identity"}],preInference:[...eI(),{type:N},{type:B}],postInference:[...eT()],interaction:{shareTooltip:!0}};var i2=n(76973);function i5(t,e,n){let r=t?t():document.createElement("canvas");return r.width=e,r.height=n,r}(0,i2.Z)(3);let i3=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){for(var t=arguments.length,e=Array(t),n=0;n2&&void 0!==arguments[2]?arguments[2]:16,r=(0,i2.Z)(n);return function(){for(var n=arguments.length,i=Array(n),a=0;a{let r=i5(n,2*t,2*t),i=r.getContext("2d");if(1===e)i.beginPath(),i.arc(t,t,t,0,2*Math.PI,!1),i.fillStyle="rgba(0,0,0,1)",i.fill();else{let n=i.createRadialGradient(t,t,t*e,t,t,t);n.addColorStop(0,"rgba(0,0,0,1)"),n.addColorStop(1,"rgba(0,0,0,0)"),i.fillStyle=n,i.fillRect(0,0,2*t,2*t)}return r},t=>"".concat(t));var i4=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let i6=(t,e)=>{let{gradient:n,opacity:r,maxOpacity:i,minOpacity:a,blur:o,useGradientOpacity:l}=t,s=i4(t,["gradient","opacity","maxOpacity","minOpacity","blur","useGradientOpacity"]),{coordinate:c,createCanvas:u,document:f}=e;return(t,e,d)=>{var h,p;let{transform:g}=e,[m,y]=c.getSize(),v=t.map(t=>({x:t[0],y:t[1],value:t[2],radius:t[3]})),b=i0(t,t=>t[2]),x=i1(t,t=>t[2]),O=m&&y?function(t,e,n,r,i,a,o){let l=Object.assign({blur:.85,minOpacity:0,opacity:.6,maxOpacity:1,gradient:[[.25,"rgb(0,0,255)"],[.55,"rgb(0,255,0)"],[.85,"yellow"],[1,"rgb(255,0,0)"]]},a);l.minOpacity*=255,l.opacity*=255,l.maxOpacity*=255;let s=i5(o,t,e),c=s.getContext("2d"),u=function(t,e){let n=i5(e,256,1),r=n.getContext("2d"),i=r.createLinearGradient(0,0,256,1);return("string"==typeof t?t.split(" ").map(t=>{let[e,n]=t.split(":");return[+e,n]}):t).forEach(t=>{let[e,n]=t;i.addColorStop(e,n)}),r.fillStyle=i,r.fillRect(0,0,256,1),r.getImageData(0,0,256,1).data}(l.gradient,o);c.clearRect(0,0,t,e),function(t,e,n,r,i,a){let{blur:o}=i,l=r.length;for(;l--;){let{x:i,y:s,value:c,radius:u}=r[l],f=Math.min(c,n),d=i-u,h=s-u,p=i3(u,1-o,a),g=(f-e)/(n-e);t.globalAlpha=Math.max(g,.001),t.drawImage(p,d,h)}}(c,n,r,i,l,o);let f=function(t,e,n,r,i){let{minOpacity:a,opacity:o,maxOpacity:l,useGradientOpacity:s}=i,c=t.getImageData(0,0,e,n),u=c.data,f=u.length;for(let t=3;tvoid 0===t,Object.keys(h).reduce((t,e)=>{let n=h[e];return p(n,e)||(t[e]=n),t},{})),u):{canvas:null};return tW(f.createElement("image",{})).call(t9,d).style("x",0).style("y",0).style("width",m).style("height",y).style("src",O.canvas).style("transform",g).call(t9,s).node()}};i6.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let i8={heatmap:i6},i9=t=>(t,e,n,r)=>{let{x:i,y:a,size:o,color:l}=n,s=Array.from(t,t=>{let e=o?+o[t]:40;return[...r.map([+i[t],+a[t]]),l[t],e]});return[[0],[s]]};i9.props={defaultShape:"heatmap",defaultLabelShape:"label",composite:!1,shape:i8,channels:[...eP({shapes:Object.keys(i8)}),{name:"x",required:!0},{name:"y",required:!0},{name:"color",scale:"identity",required:!0},{name:"size"}],preInference:[...eI(),{type:B},{type:rm}],postInference:[...eR()]};var i7=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let at=()=>({axis:!1,type:"text",encode:{x:"x",y:"y",text:"text",rotate:"rotate",fontSize:"size",shape:"tag"},scale:{x:{range:[0,1]},y:{range:[0,1]}},style:{fontFamily:t=>t.fontFamily}}),ae=(t,e)=>{var n,r,i,a;return n=void 0,r=void 0,i=void 0,a=function*(){let{width:n,height:r}=e,{data:i,encode:a={},scale:o,style:l={},layout:s={}}=t,c=i7(t,["data","encode","scale","style","layout"]),u=function(t,e){let{text:n="text",value:r="value"}=e;return t.map(t=>Object.assign(Object.assign({},t),{text:t[n],value:t[r]}))}(i,a);return(0,A.Z)({},at(),Object.assign(Object.assign({data:{value:u,transform:[Object.assign({type:"wordCloud",size:[n,r]},s)]},encode:a,scale:o,style:l},c),{axis:!1}))},new(i||(i=Promise))(function(t,e){function o(t){try{s(a.next(t))}catch(t){e(t)}}function l(t){try{s(a.throw(t))}catch(t){e(t)}}function s(e){var n;e.done?t(e.value):((n=e.value)instanceof i?n:new i(function(t){t(n)})).then(o,l)}s((a=a.apply(n,r||[])).next())})};ae.props={};let an=()=>["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"];an.props={};let ar=()=>["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];ar.props={};let ai=t=>new t1.b(t);ai.props={};var aa=n(10362);let ao=t=>new aa.r(t);ao.props={};var al=n(16250);let as=t=>new al.t(t);as.props={};var ac=n(38857);let au=t=>new ac.i(t);au.props={};var af=n(61242);let ad=t=>new af.E(t);ad.props={};var ah=n(2808);let ap=t=>new ah.q(t);ap.props={};var ag=n(89863);let am=t=>new ag.Z(t);am.props={};var ay=n(68598);let av=t=>new ay.p(t);av.props={};var ab=n(46897);let ax=t=>new ab.F(t);ax.props={};var aO=n(89669);let aw=t=>new aO.M(t);aw.props={};var a_=n(59343);let ak=t=>new a_.c(t);ak.props={};var aM=n(9719);let aC=t=>new aM.J(t);aC.props={};var aj=n(12785);let aA=t=>new aj.s(t);aA.props={};var aS=n(90936);let aE=t=>new aS.s(t);function aP(t){let{colorDefault:e,colorBlack:n,colorWhite:r,colorStroke:i,colorBackground:a,padding1:o,padding2:l,padding3:s,alpha90:c,alpha65:u,alpha45:f,alpha25:d,alpha10:h,category10:p,category20:g,sizeDefault:m=1,padding:y="auto",margin:v=16}=t;return{padding:y,margin:v,size:m,color:e,category10:p,category20:g,enter:{duration:300,fill:"both",delay:0},update:{duration:300,fill:"both",delay:0},exit:{duration:300,fill:"both",delay:0},view:{viewFill:a,plotFill:"transparent",mainFill:"transparent",contentFill:"transparent"},line:{line:{fill:"",strokeOpacity:1,lineWidth:1,lineCap:"round"}},point:{point:{r:3,fillOpacity:.95,lineWidth:0},hollow:{r:3,strokeOpacity:.95,lineWidth:1},plus:{r:3,strokeOpacity:.95,lineWidth:3},diamond:{r:3,strokeOpacity:.95,lineWidth:1}},interval:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},area:{area:{fillOpacity:.85,lineWidth:0}},polygon:{polygon:{fillOpacity:.95}},cell:{cell:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},rect:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},link:{link:{fill:"",strokeOpacity:1}},vector:{vector:{fillOpacity:1}},box:{box:{fillOpacity:.95,stroke:n,lineWidth:1}},text:{text:{fill:"#1D2129",fontSize:12,lineWidth:0,connectorStroke:i,connectorStrokeOpacity:.45,connectorLineWidth:1,backgroundFill:i,backgroundFillOpacity:.15,backgroundPadding:[2,4],startMarkerSymbol:"circle",startMarkerSize:4,endMarkerSymbol:"circle",endMarkerSize:4},badge:{fill:"#1D2129",fillOpacity:.65,lineWidth:0,fontSize:10,textAlign:"center",textBaseline:"middle",markerFill:i,markerFillOpacity:.25,markerStrokeOpacity:0}},lineX:{line:{stroke:i,strokeOpacity:.45,lineWidth:1}},lineY:{line:{stroke:i,strokeOpacity:.45,lineWidth:1}},rangeX:{range:{fill:i,fillOpacity:.15,lineWidth:0}},rangeY:{range:{fill:i,fillOpacity:.15,lineWidth:0}},connector:{connector:{stroke:i,strokeOpacity:.45,lineWidth:1,connectLength1:12,endMarker:!0,endMarkerSize:6,endMarkerFill:i,endMarkerFillOpacity:.95}},axis:{arrow:!1,gridLineDash:[3,4],gridLineWidth:.5,gridStroke:n,gridStrokeOpacity:h,labelAlign:"horizontal",labelFill:n,labelOpacity:f,labelFontSize:12,labelFontWeight:"normal",labelSpacing:o,line:!1,lineLineWidth:.5,lineStroke:n,lineStrokeOpacity:f,tickLength:4,tickLineWidth:1,tickStroke:n,tickOpacity:f,titleFill:n,titleOpacity:c,titleFontSize:12,titleFontWeight:"normal",titleSpacing:12,titleTransformOrigin:"center",lineArrowOffset:6,lineArrowSize:6},axisTop:{gridDirection:"positive",labelDirection:"negative",tickDirection:"negative",titlePosition:"top",titleSpacing:12,labelSpacing:4,titleTextBaseline:"middle"},axisBottom:{gridDirection:"negative",labelDirection:"positive",tickDirection:"positive",titlePosition:"bottom",titleSpacing:12,labelSpacing:4,titleTextBaseline:"bottom",titleTransform:"translate(0, 8)"},axisLeft:{gridDirection:"positive",labelDirection:"negative",labelSpacing:4,tickDirection:"negative",titlePosition:"left",titleSpacing:12,titleTextBaseline:"middle",titleDirection:"vertical",titleTransform:"rotate(-90) translate(0, -8)",titleTransformOrigin:"center"},axisRight:{gridDirection:"negative",labelDirection:"positive",labelSpacing:4,tickDirection:"positive",titlePosition:"right",titleSpacing:12,titleTextBaseline:"top",titleDirection:"vertical",titleTransformOrigin:"center"},axisLinear:{girdClosed:!0,gridConnect:"arc",gridDirection:"negative",gridType:"surround",titlePosition:"top",titleSpacing:0},axisArc:{title:!1,titlePosition:"inner",line:!1,tick:!0,labelSpacing:4},axisRadar:{girdClosed:!0,gridStrokeOpacity:.3,gridType:"surround",label:!1,tick:!1,titlePosition:"start"},legendCategory:{backgroundFill:"transparent",itemBackgroundFill:"transparent",itemLabelFill:n,itemLabelFillOpacity:c,itemLabelFontSize:12,itemLabelFontWeight:"normal",itemMarkerFillOpacity:1,itemMarkerSize:8,itemSpacing:[o,o],itemValueFill:n,itemValueFillOpacity:.65,itemValueFontSize:12,itemValueFontWeight:"normal",navButtonFill:n,navButtonFillOpacity:.65,navPageNumFill:n,navPageNumFillOpacity:.45,navPageNumFontSize:12,padding:8,title:!1,titleFill:n,titleFillOpacity:.65,titleFontSize:12,titleFontWeight:"normal",titleSpacing:4,tickStroke:n,tickStrokeOpacity:.25,rowPadding:o,colPadding:l,maxRows:3,maxCols:3},legendContinuous:{handleHeight:12,handleLabelFill:n,handleLabelFillOpacity:f,handleLabelFontSize:12,handleLabelFontWeight:"normal",handleMarkerFill:n,handleMarkerFillOpacity:.6,handleMarkerLineWidth:1,handleMarkerStroke:n,handleMarkerStrokeOpacity:.25,handleWidth:10,labelFill:n,labelFillOpacity:f,labelFontSize:12,labelFontWeight:"normal",labelSpacing:3,tick:!0,tickLength:12,ribbonSize:12,ribbonFill:"#aaa",handle:!0,handleLabel:!1,handleShape:"slider",handleIconSize:12/1.8,indicator:!1,titleFontSize:12,titleSpacing:4,titleFontWeight:"normal",titleFillOpacity:c,tickStroke:n,tickStrokeOpacity:f},label:{fill:n,fillOpacity:.65,fontSize:12,fontWeight:"normal",stroke:void 0,offset:12,connectorStroke:n,connectorStrokeOpacity:.45,connectorLineWidth:1,connectorLength:12,connectorLength2:8,connectorDistance:4},innerLabel:{fill:r,fontSize:12,fillOpacity:.85,fontWeight:"normal",stroke:void 0,offset:0},htmlLabel:{fontSize:12,opacity:.65,color:n,fontWeight:"normal"},slider:{trackSize:16,trackFill:i,trackFillOpacity:1,selectionFill:e,selectionFillOpacity:.15,handleIconSize:10,handleIconFill:"#f7f7f7",handleIconFillOpacity:1,handleIconStroke:n,handleIconStrokeOpacity:.25,handleIconLineWidth:1,handleIconRadius:2,handleLabelFill:n,handleLabelFillOpacity:.45,handleLabelFontSize:12,handleLabelFontWeight:"normal"},scrollbar:{padding:[0,0,0,0],trackSize:6,isRound:!0,slidable:!0,scrollable:!0,trackFill:"#e5e5e5",trackFillOpacity:0,thumbFill:"#000",thumbFillOpacity:.15,thumbHighlightedFillOpacity:.2},title:{spacing:8,titleFill:n,titleFillOpacity:c,titleFontSize:16,titleFontWeight:"bold",titleTextBaseline:"top",subtitleFill:n,subtitleFillOpacity:u,subtitleFontSize:12,subtitleFontWeight:"normal",subtitleTextBaseline:"top"},tooltip:{css:{".g2-tooltip":{"font-family":"sans-serif"}}}}}aE.props={};let aR=aP({colorBlack:"#1D2129",colorWhite:"#ffffff",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),aT=t=>(0,A.Z)({},aR,t);aT.props={};let aL=t=>(0,A.Z)({},aT(),{category10:"category10",category20:"category20"},t);aL.props={};let aI=aP({colorBlack:"#fff",colorWhite:"#000",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.25}),aN=t=>(0,A.Z)({},aI,{tooltip:{crosshairsStroke:"#fff",crosshairsLineWidth:1,crosshairsStrokeOpacity:.25,css:{".g2-tooltip":{background:"#1f1f1f",opacity:.95},".g2-tooltip-title":{color:"#A6A6A6"},".g2-tooltip-list-item-name-label":{color:"#A6A6A6"},".g2-tooltip-list-item-value":{color:"#A6A6A6"}}}},t),aB=t=>Object.assign({},aN(),{category10:"category10",category20:"category20"},t);aB.props={};let aD=aP({colorBlack:"#000",colorWhite:"#fff",colorStroke:"#888",colorDefault:"#4e79a7",colorBackground:"transparent",category10:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],category20:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),aZ=t=>(0,A.Z)({},aD,{text:{text:{fontSize:10}},axis:{gridLineDash:[0,0],gridLineWidth:1,gridStroke:"#ddd",gridStrokeOpacity:1,labelOpacity:1,labelStrokeOpacity:1,labelFontSize:10,line:!0,lineLineWidth:1,lineStroke:"#888",lineStrokeOpacity:1,tickLength:5,tickStrokeOpacity:1,titleOpacity:1,titleStrokeOpacity:1,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},axisLeft:{gridFilter:(t,e)=>0!==e},axisRight:{gridFilter:(t,e)=>0!==e},legendCategory:{itemLabelFillOpacity:1,itemLabelFontSize:10,itemValueFillOpacity:1,itemValueFontSize:10,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},legendContinuous:{handleLabelFontSize:10,labelFillOpacity:.45,labelFontSize:10},label:{fontSize:10},innerLabel:{fontSize:10},htmlLabel:{fontSize:10},slider:{handleLabelFontSize:10,trackFillOpacity:.05}},t);aZ.props={};var az=n(95533),aF=n(38754),a$=n(71933);function aW(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}var aH=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function aG(t){var e;if(!(e=aH.exec(t)))throw Error("invalid format: "+t);return new aq({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function aq(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function aY(t,e){var n=aW(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}aG.prototype=aq.prototype,aq.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var aV={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>aY(100*t,e),r:aY,s:function(t,e){var n=aW(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(dR=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+Array(1-a).join("0")+aW(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function aU(t){return t}var aQ=Array.prototype.map,aX=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];dL=(dT=function(t){var e,n,r,i=void 0===t.grouping||void 0===t.thousands?aU:(e=aQ.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,a=[],o=0,l=e[0],s=0;i>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),a.push(t.substring(i-=l,i+l)),!((s+=l+1)>r));)l=e[o=(o+1)%e.length];return a.reverse().join(n)}),a=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",l=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?aU:(r=aQ.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return r[+t]})}),c=void 0===t.percent?"%":t.percent+"",u=void 0===t.minus?"−":t.minus+"",f=void 0===t.nan?"NaN":t.nan+"";function d(t){var e=(t=aG(t)).fill,n=t.align,r=t.sign,d=t.symbol,h=t.zero,p=t.width,g=t.comma,m=t.precision,y=t.trim,v=t.type;"n"===v?(g=!0,v="g"):aV[v]||(void 0===m&&(m=12),y=!0,v="g"),(h||"0"===e&&"="===n)&&(h=!0,e="0",n="=");var b="$"===d?a:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",x="$"===d?o:/[%p]/.test(v)?c:"",O=aV[v],w=/[defgprs%]/.test(v);function _(t){var a,o,c,d=b,_=x;if("c"===v)_=O(t)+_,t="";else{var k=(t=+t)<0||1/t<0;if(t=isNaN(t)?f:O(Math.abs(t),m),y&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),k&&0==+t&&"+"!==r&&(k=!1),d=(k?"("===r?r:u:"-"===r||"("===r?"":r)+d,_=("s"===v?aX[8+dR/3]:"")+_+(k&&"("===r?")":""),w){for(a=-1,o=t.length;++a(c=t.charCodeAt(a))||c>57){_=(46===c?l+t.slice(a+1):t.slice(a))+_,t=t.slice(0,a);break}}}g&&!h&&(t=i(t,1/0));var M=d.length+t.length+_.length,C=M>1)+d+t+_+C.slice(M);break;default:t=C+d+t+_}return s(t)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),_.toString=function(){return t+""},_}return{format:d,formatPrefix:function(t,e){var n,r=d(((t=aG(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(((n=aW(Math.abs(n=e)))?n[1]:NaN)/3))),a=Math.pow(10,-i),o=aX[8+i/3];return function(t){return r(a*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,dT.formatPrefix;var aK=n(94672),aJ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function a0(t,e,n){return t.querySelector(e)?tW(t).select(e):tW(t).append(n)}function a1(t){return Array.isArray(t)?t.join(", "):"".concat(t||"")}function a2(t,e){let{flexDirection:n,justifyContent:r,alignItems:i}={display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"center"},a={top:["row","flex-start","center"],bottom:["row","flex-start","center"],left:["column","flex-start","center"],right:["column","flex-start","center"],center:["column","center","center"]};return t in a&&([n,r,i]=a[t]),Object.assign({display:"flex",flexDirection:n,justifyContent:r,alignItems:i},e)}class a5 extends aK.A{get child(){var t;return null===(t=this.children)||void 0===t?void 0:t[0]}update(t){var e;this.attr(t);let{subOptions:n}=t;null===(e=this.child)||void 0===e||e.update(n)}}class a3 extends a5{update(t){var e;let{subOptions:n}=t;this.attr(t),null===(e=this.child)||void 0===e||e.update(n)}}function a4(t,e){var n;return null===(n=t.filter(t=>t.getOptions().name===e))||void 0===n?void 0:n[0]}function a6(t,e,n){let{bbox:r}=t,{position:i="top",size:a,length:o}=e,l=["top","bottom","center"].includes(i),[s,c]=l?[r.height,r.width]:[r.width,r.height],{defaultSize:u,defaultLength:f}=n.props,d=a||u||s,h=o||f||c,[p,g]=l?[h,d]:[d,h];return{orientation:l?"horizontal":"vertical",width:p,height:g,size:d,length:h}}function a8(t){let e=["arrow","crosshairs","grid","handle","handleLabel","indicator","label","line","tick","tip","title","trunc"],{style:n}=t,r=aJ(t,["style"]),i={};return Object.entries(r).forEach(t=>{let[n,r]=t;e.includes(n)?i["show".concat((0,a$.Z)(n))]=r:i[n]=r}),Object.assign(Object.assign({},i),n)}var a9=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function a7(t,e){let{eulerAngles:n,origin:r}=e;r&&t.setOrigin(r),n&&t.rotate(n[0],n[1],n[2])}function ot(t){let{innerWidth:e,innerHeight:n,depth:r}=t.getOptions();return[e,n,r]}function oe(t,e,n,r,i,a,o,l){var s;(void 0!==n||void 0!==a)&&t.update(Object.assign(Object.assign({},n&&{tickCount:n}),a&&{tickMethod:a}));let c=function(t,e,n){if(t.getTicks)return t.getTicks();if(!n)return e;let[r,i]=t5(e,t=>+t),{tickCount:a}=t.getOptions();return n(r,i,a)}(t,e,a),u=i?c.filter(i):c,f=t=>t instanceof Date?String(t):"object"==typeof t&&t?t:String(t),d=r||(null===(s=t.getFormatter)||void 0===s?void 0:s.call(t))||f,h=function(t,e){if(tf(e))return t=>t;let n=e.getOptions(),{innerWidth:r,innerHeight:i,insetTop:a,insetBottom:o,insetLeft:l,insetRight:s}=n,[c,u,f]="left"===t||"right"===t?[a,o,i]:[l,s,r],d=new t1.b({domain:[0,1],range:[c/f,1-u/f]});return t=>d.map(t)}(o,l),p=function(t,e){let{width:n,height:r}=e.getOptions();return i=>{if(!tg(e))return i;let a=e.map("bottom"===t?[i,1]:[0,i]);if("bottom"===t){let t=a[0],e=new t1.b({domain:[0,n],range:[0,1]});return e.map(t)}if("left"===t){let t=a[1],e=new t1.b({domain:[0,r],range:[0,1]});return e.map(t)}return i}}(o,l),g=t=>["top","bottom","center","outer"].includes(t),m=t=>["left","right"].includes(t);return tf(l)||tu(l)?u.map((e,n,r)=>{var i,a;let s=(null===(i=t.getBandWidth)||void 0===i?void 0:i.call(t,e))/2||0,c=h(t.map(e)+s),u=td(l)&&"center"===o||tu(l)&&(null===(a=t.getTicks)||void 0===a?void 0:a.call(t))&&g(o)||tu(l)&&m(o);return{value:u?1-c:c,label:f(d(t0(e),n,r)),id:String(n)}}):u.map((e,n,r)=>{var i;let a=(null===(i=t.getBandWidth)||void 0===i?void 0:i.call(t,e))/2||0,l=p(h(t.map(e)+a)),s=m(o);return{value:s?1-l:l,label:f(d(t0(e),n,r)),id:String(n)}})}let on=t=>e=>{let{labelFormatter:n,labelFilter:r=()=>!0}=e;return i=>{var a;let{scales:[o]}=i,l=(null===(a=o.getTicks)||void 0===a?void 0:a.call(o))||o.getOptions().domain,s="string"==typeof n?dL(n):n,c=Object.assign(Object.assign({},e),{labelFormatter:s,labelFilter:(t,e,n)=>r(l[e],e,l),scale:o});return t(c)(i)}},or=on(t=>{let{direction:e="left",important:n={},labelFormatter:r,order:i,orientation:a,actualPosition:o,position:l,size:s,style:c={},title:u,tickCount:f,tickFilter:d,tickMethod:h,transform:p,indexBBox:g}=t,m=a9(t,["direction","important","labelFormatter","order","orientation","actualPosition","position","size","style","title","tickCount","tickFilter","tickMethod","transform","indexBBox"]);return i=>{var y;let{scales:v,value:b,coordinate:x,theme:O}=i,{bbox:w}=b,[_]=v,{domain:k,xScale:M}=_.getOptions(),C=function(t,e,n,r,i,a){let o=function(t,e,n,r,i,a){let o=n.axis,l=["top","right","bottom","left"].includes(i)?n["axis".concat(tT(i))]:n.axisLinear,s=t.getOptions().name,c=n["axis".concat((0,a$.Z)(s))]||{};return Object.assign({},o,l,c)}(t,0,n,0,i,0);return"center"===i?Object.assign(Object.assign(Object.assign(Object.assign({},o),{labelDirection:"right"===r?"negative":"positive"}),"center"===r?{labelTransform:"translate(50%,0)"}:null),{tickDirection:"right"===r?"negative":"positive",labelSpacing:"center"===r?0:4,titleSpacing:"vertical"===a||a===-Math.PI/2?10:0,tick:"center"!==r&&void 0}):o}(_,0,O,e,l,a),j=Object.assign(Object.assign(Object.assign({},C),c),m),A=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"xy",[r,i,a]=ot(e);return"xy"===n?t.includes("bottom")||t.includes("top")?i:r:"xz"===n?t.includes("bottom")||t.includes("top")?a:r:t.includes("bottom")||t.includes("top")?i:a}(o||l,x,t.plane),S=function(t,e,n,r,i){let{x:a,y:o,width:l,height:s}=n;if("bottom"===t)return{startPos:[a,o],endPos:[a+l,o]};if("left"===t)return{startPos:[a+l,o+s],endPos:[a+l,o]};if("right"===t)return{startPos:[a,o+s],endPos:[a,o]};if("top"===t)return{startPos:[a,o+s],endPos:[a+l,o+s]};if("center"===t){if("vertical"===e)return{startPos:[a,o],endPos:[a,o+s]};if("horizontal"===e)return{startPos:[a,o],endPos:[a+l,o]};if("number"==typeof e){let[t,n]=r.getCenter(),[c,u]=ty(r),[f,d]=tv(r),h=Math.min(l,s)/2,{insetLeft:p,insetTop:g}=r.getOptions(),m=c*h,y=u*h,[v,b]=[t+a-p,n+o-g],[x,O]=[Math.cos(e),Math.sin(e)],w=tf(r)&&i?(()=>{let{domain:t}=i.getOptions();return t.length})():3;return{startPos:[v+y*x,b+y*O],endPos:[v+m*x,b+m*O],gridClosed:1e-6>Math.abs(d-f-360),gridCenter:[v,b],gridControlAngles:Array(w).fill(0).map((t,e,n)=>(d-f)/w*e)}}}return{}}(l,a,w,x,M),E=function(t){let{depth:e}=t.getOptions();return e?{tickIsBillboard:!0,lineIsBillboard:!0,labelIsBillboard:!0,titleIsBillboard:!0,gridIsBillboard:!0}:{}}(x),P=oe(_,k,f,r,d,h,l,x),R=g?P.map((t,e)=>{let n=g.get(e);return n&&n[0]===t.label?Object.assign(Object.assign({},t),{bbox:n[1]}):t}):P,T=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},j),{type:"linear",data:R,crossSize:s,titleText:a1(u),labelOverlap:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;if(t.length>0)return t;let{labelAutoRotate:n,labelAutoHide:r,labelAutoEllipsis:i,labelAutoWrap:a}=e,o=[],l=(t,e)=>{e&&o.push(Object.assign(Object.assign({},t),e))};return l({type:"rotate",optionalAngles:[0,15,30,45,60,90]},n),l({type:"ellipsis",minLength:20},i),l({type:"hide"},r),l({type:"wrap",wordWrapWidth:100,maxLines:3,recoveryWhenFail:!0},a),o}(p,j),grid:(y=j.grid,!(tf(x)&&tu(x)||tp(x))&&(void 0===y?!!_.getTicks:y)),gridLength:A,line:!0,indexBBox:g}),j.line?null:{lineOpacity:0}),S),E),n),L=T.labelOverlap.find(t=>"hide"===t.type);return L&&(T.crossSize=!1),new az.R({className:"axis",style:a8(T)})}}),oi=on(t=>{let{order:e,size:n,position:r,orientation:i,labelFormatter:a,tickFilter:o,tickCount:l,tickMethod:s,important:c={},style:u={},indexBBox:f,title:d,grid:h=!1}=t,p=a9(t,["order","size","position","orientation","labelFormatter","tickFilter","tickCount","tickMethod","important","style","indexBBox","title","grid"]);return t=>{let{scales:[e],value:n,coordinate:i,theme:u}=t,{bbox:g}=n,{domain:m}=e.getOptions(),y=oe(e,m,l,a,o,s,r,i),v=f?y.map((t,e)=>{let n=f.get(e);return n&&n[0]===t.label?Object.assign(Object.assign({},t),{bbox:n[1]}):t}):y,[b,x]=ty(i),O=function(t,e,n,r,i){let{x:a,y:o,width:l,height:s}=e,c=[a+l/2,o+s/2],u=Math.min(l,s)/2,[f,d]=tv(i),[h,p]=ot(i),g=Math.min(h,p)/2,m={center:c,radius:u,startAngle:f,endAngle:d,gridLength:(r-n)*g};if("inner"===t){let{insetLeft:t,insetTop:e}=i.getOptions();return Object.assign(Object.assign({},m),{center:[c[0]-t,c[1]-e],labelAlign:"perpendicular",labelDirection:"positive",tickDirection:"positive",gridDirection:"negative"})}return Object.assign(Object.assign({},m),{labelAlign:"parallel",labelDirection:"negative",tickDirection:"negative",gridDirection:"positive"})}(r,g,b,x,i),{axis:w,axisArc:_={}}=u,k=a8((0,A.Z)({},w,_,O,Object.assign(Object.assign({type:"arc",data:v,titleText:a1(d),grid:h},p),c)));return new az.R({style:(0,aF.Z)(k,["transform"])})}});or.props={defaultPosition:"center",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]},oi.props={defaultPosition:"outer",defaultOrientation:"vertical",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let oa=t=>function(){for(var e=arguments.length,n=Array(e),r=0;rfunction(){for(var e=arguments.length,n=Array(e),r=0;re.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ou=t=>{let{labelFormatter:e,layout:n,order:r,orientation:i,position:a,size:o,title:l,cols:s,itemMarker:c}=t,u=oc(t,["labelFormatter","layout","order","orientation","position","size","title","cols","itemMarker"]),{gridRow:f}=u;return e=>{let{value:r,theme:i}=e,{bbox:o}=r,{width:c,height:d}=function(t,e,n){let{position:r}=e;if("center"===r){let{bbox:e}=t,{width:n,height:r}=e;return{width:n,height:r}}let{width:i,height:a}=a6(t,e,n);return{width:i,height:a}}(r,t,ou),h=a2(a,n),p=Object.assign(Object.assign(Object.assign(Object.assign({orientation:["right","left","center"].includes(a)?"vertical":"horizontal",width:c,height:d,layout:void 0!==s?"grid":"flex"},void 0!==s&&{gridCol:s}),void 0!==f&&{gridRow:f}),{titleText:a1(l)}),function(t,e){let{labelFormatter:n=t=>"".concat(t)}=t,{scales:r,theme:i}=e,a=i.legendCategory.itemMarkerSize,o=function(t,e){let n=a4(t,"size");return n instanceof ac.i?2*n.map(NaN):e}(r,a),l={itemMarker:function(t,e){let{scales:n,library:r,markState:i}=e,[a,o]=function(t,e){let n=a4(t,"shape"),r=a4(t,"color"),i=n?n.clone():null,a=[];for(let[t,n]of e){let e=t.type,o=(null==r?void 0:r.getOptions().domain.length)>0?null==r?void 0:r.getOptions().domain:n.data,l=o.map((e,r)=>{var a;return i?i.map(e||"point"):(null===(a=null==t?void 0:t.style)||void 0===a?void 0:a.shape)||n.defaultShape||"point"});"string"==typeof e&&a.push([e,l])}if(0===a.length)return["point",["point"]];if(1===a.length||!n)return a[0];let{range:o}=n.getOptions();return a.map(t=>{let[e,n]=t,r=0;for(let t=0;te[0]-t[0])[0][1]}(n,i),{itemMarker:l,itemMarkerSize:s}=t,c=(t,e)=>{var n,i,o;let l=(null===(o=null===(i=null===(n=r["mark.".concat(a)])||void 0===n?void 0:n.props)||void 0===i?void 0:i.shape[t])||void 0===o?void 0:o.props.defaultMarker)||(0,os.Z)(t.split(".")),c="function"==typeof s?s(e):s;return()=>(function(t,e){var{d:n,fill:r,lineWidth:i,path:a,stroke:o,color:l}=e,s=nM(e,["d","fill","lineWidth","path","stroke","color"]);let c=nJ.get(t)||nJ.get("point");return function(){for(var t=arguments.length,e=Array(t),n=0;n"".concat(o[t]),f=a4(n,"shape");return f&&!l?(t,e)=>c(u(e),t):"function"==typeof l?(t,e)=>{let n=l(t.id,e);return"string"==typeof n?c(n,t):n}:(t,e)=>c(l||u(e),t)}(Object.assign(Object.assign({},t),{itemMarkerSize:o}),e),itemMarkerSize:o,itemMarkerOpacity:function(t){let e=a4(t,"opacity");if(e){let{range:t}=e.getOptions();return(e,n)=>t[n]}}(r)},s="string"==typeof n?dL(n):n,c=a4(r,"color"),u=r.find(t=>t.getOptions().domain.length>0).getOptions().domain,f=c?t=>c.map(t):()=>e.theme.color;return Object.assign(Object.assign({},l),{data:u.map(t=>({id:t,label:s(t),color:f(t)}))})}(t,e)),{legendCategory:g={}}=i,m=a8(Object.assign({},g,p,u)),y=new a3({style:Object.assign(Object.assign({x:o.x,y:o.y,width:o.width,height:o.height},h),{subOptions:m})});return y.appendChild(new ol.W({className:"legend-category",style:m})),y}};ou.props={defaultPosition:"top",defaultOrder:1,defaultSize:40,defaultCrossPadding:[12,12],defaultPadding:[12,12]};var of=n(84700),od=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function oh(t){let{domain:e}=t.getOptions(),[n,r]=[e[0],t6(e)];return[n,r]}let op=t=>{let{labelFormatter:e,layout:n,order:r,orientation:i,position:a,size:o,title:l,style:s,crossPadding:c,padding:u}=t,f=od(t,["labelFormatter","layout","order","orientation","position","size","title","style","crossPadding","padding"]);return r=>{let{scales:i,value:o,theme:c,scale:u}=r,{bbox:d}=o,{x:h,y:p,width:g,height:m}=d,y=a2(a,n),{legendContinuous:v={}}=c,b=a8(Object.assign({},v,Object.assign(Object.assign({titleText:a1(l),labelAlign:"value",labelFormatter:"string"==typeof e?t=>dL(e)(t.label):e},function(t,e,n,r,i,a){let o=a4(t,"color"),l=function(t,e,n){var r,i,a;let{size:o}=e,l=a6(t,e,n);return r=l,i=o,a=l.orientation,(r.size=i,"horizontal"===a||0===a)?r.height=i:r.width=i,r}(n,r,i);if(o instanceof aO.M){let{range:t}=o.getOptions(),[e,n]=oh(o);return o instanceof aM.J||o instanceof a_.c?function(t,e,n,r,i){let a=e.thresholds;return Object.assign(Object.assign({},t),{color:i,data:[n,...a,r].map(t=>({value:t/r,label:String(t)}))})}(l,o,e,n,t):function(t,e,n){let r=e.thresholds,i=[-1/0,...r,1/0].map((t,e)=>({value:e,label:t}));return Object.assign(Object.assign({},t),{data:i,color:n,labelFilter:(t,e)=>e>0&&evoid 0!==t).find(t=>!(t instanceof aS.s)));return Object.assign(Object.assign({},t),{domain:[f,d],data:s.getTicks().map(t=>({value:t})),color:Array(Math.floor(o)).fill(0).map((t,e)=>{let n=(u-c)/(o-1)*e+c,i=s.map(n)||l,a=r?r.map(n):1;return i.replace(/rgb[a]*\(([\d]{1,3}) *, *([\d]{1,3}) *, *([\d]{1,3})[\S\s]*\)/,(t,e,n,r)=>"rgba(".concat(e,", ").concat(n,", ").concat(r,", ").concat(a,")"))})})}(l,o,s,c,e,a)}(i,u,o,t,op,c)),s),f)),x=new a5({style:Object.assign(Object.assign({x:h,y:p,width:g,height:m},y),{subOptions:b})});return x.appendChild(new of.V({className:"legend-continuous",style:b})),x}};op.props={defaultPosition:"top",defaultOrientation:"vertical",defaultOrder:1,defaultSize:60,defaultLength:200,defaultLegendSize:60,defaultPadding:[20,10],defaultCrossPadding:[12,12]};let og=t=>()=>new tb.ZA;og.props={};var om=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function oy(t,e,n,r){switch(r){case"center":return{x:t+n/2,y:e,textAlign:"middle"};case"right":return{x:t+n,y:e,textAlign:"right"};default:return{x:t,y:e,textAlign:"left"}}}let ov=(dP={render(t,e){let{width:n,title:r,subtitle:i,spacing:a=2,align:o="left",x:l,y:s}=t,c=om(t,["width","title","subtitle","spacing","align","x","y"]);e.style.transform="translate(".concat(l,", ").concat(s,")");let u=tB(c,"title"),f=tB(c,"subtitle"),d=a0(e,".title","text").attr("className","title").call(t9,Object.assign(Object.assign(Object.assign({},oy(0,0,n,o)),{fontSize:14,textBaseline:"top",text:r}),u)).node(),h=d.getLocalBounds();a0(e,".sub-title","text").attr("className","sub-title").call(t=>{if(!i)return t.node().remove();t.node().attr(Object.assign(Object.assign(Object.assign({},oy(0,h.max[1]+a,n,o)),{fontSize:12,textBaseline:"top",text:i}),f))})}},class extends tb.b_{connectedCallback(){var t,e;null===(e=(t=this.descriptor).render)||void 0===e||e.call(t,this.attributes,this)}update(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.attr((0,A.Z)({},this.attributes,n)),null===(e=(t=this.descriptor).render)||void 0===e||e.call(t,this.attributes,this)}constructor(t){super(t),this.descriptor=dP}}),ob=t=>e=>{let{value:n,theme:r}=e,{x:i,y:a,width:o,height:l}=n.bbox;return new ov({style:(0,A.Z)({},r.title,Object.assign({x:i,y:a,width:o,height:l},t))})};ob.props={defaultPosition:"top",defaultOrder:2,defaultSize:36,defaultCrossPadding:[20,20],defaultPadding:[12,12]};var ox=n(10972),oO=n(23641);function ow(t,e){return null==t||null==e?NaN:te?1:t>=e?0:NaN}function o_(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function ok(t){let e,n,r;function i(t,r,i=0,a=t.length){if(i>>1;0>n(t[e],r)?i=e+1:a=e}while(iow(t(e),n),r=(e,n)=>t(e)-n):(e=t===ow||t===o_?t:oM,n=t,r=t),{left:i,center:function(t,e,n=0,a=t.length){let o=i(t,e,n,a-1);return o>n&&r(t[o-1],e)>-r(t[o],e)?o-1:o},right:function(t,r,i=0,a=t.length){if(i>>1;0>=n(t[e],r)?i=e+1:a=e}while(i1){var r;let i=Uint32Array.from(t,(t,e)=>e);return e.length>1?(e=e.map(e=>t.map(e)),i.sort((t,n)=>{for(let r of e){let e=oT(r[t],r[n]);if(e)return e}})):(n=t.map(n),i.sort((t,e)=>oT(n[t],n[e]))),r=t,Array.from(i,t=>r[t])}return t.sort(oR(n))}function oR(t=ow){if(t===ow)return oT;if("function"!=typeof t)throw TypeError("compare is not a function");return(e,n)=>{let r=t(e,n);return r||0===r?r:(0===t(n,n))-(0===t(e,e))}}function oT(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(te?1:0)}function oL(t){return!!t.getBandWidth}function oI(t,e,n){if(!oL(t))return t.invert(e);let{adjustedRange:r}=t,{domain:i}=t.getOptions(),a=t.getStep(),o=n?r:r.map(t=>t+a),l=oS(o,e),s=Math.min(i.length-1,Math.max(0,l+(n?-1:0)));return i[s]}function oN(t,e,n){if(!e)return t.getOptions().domain;if(!oL(t)){let r=oP(e);if(!n)return r;let[i]=r,{range:a}=t.getOptions(),[o,l]=a,s=t.invert(t.map(i)+(o>l?-1:1)*n);return[i,s]}let{domain:r}=t.getOptions(),i=e[0],a=r.indexOf(i);if(n){let t=a+Math.round(r.length*n);return r.slice(a,t)}let o=e[e.length-1],l=r.indexOf(o);return r.slice(a,l+1)}function oB(t,e,n,r,i,a){let{x:o,y:l}=i,s=(t,e)=>{let[n,r]=a.invert(t);return[oI(o,n,e),oI(l,r,e)]},c=s([t,e],!0),u=s([n,r],!1),f=oN(o,[c[0],u[0]]),d=oN(l,[c[1],u[1]]);return[f,d]}function oD(t,e){let[n,r]=t;return[e.map(n),e.map(r)+(e.getStep?e.getStep():0)]}var oZ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let oz=t=>{let{orientation:e,labelFormatter:n,size:r,style:i={},position:a}=t,o=oZ(t,["orientation","labelFormatter","size","style","position"]);return r=>{var l;let{scales:[s],value:c,theme:u,coordinate:f}=r,{bbox:d}=c,{width:h,height:p}=d,{slider:g={}}=u,m=(null===(l=s.getFormatter)||void 0===l?void 0:l.call(s))||(t=>t+""),y="string"==typeof n?dL(n):n,v="horizontal"===e,b=tu(f)&&v,{trackSize:x=g.trackSize}=i,[O,w]=function(t,e,n){let{x:r,y:i,width:a,height:o}=t;return"left"===e?[r+a-n,i]:"right"===e||"bottom"===e?[r,i]:"top"===e?[r,i+o-n]:void 0}(d,a,x);return new ox.i({className:"slider",style:Object.assign({},g,Object.assign(Object.assign({x:O,y:w,trackLength:v?h:p,orientation:e,formatter:t=>{let e=oI(s,b?1-t:t,!0);return(y||m)(e)},sparklineData:function(t,e){let{markState:n}=e;return(0,oO.Z)(t.sparklineData)?t.sparklineData:function(t,e){let[n]=Array.from(t.entries()).filter(t=>{let[e]=t;return"line"===e.type||"area"===e.type}).filter(t=>{let[e]=t;return e.slider}).map(t=>{let[n]=t,{encode:r,slider:i}=n;if(null==i?void 0:i.x)return Object.fromEntries(e.map(t=>{let e=r[t];return[t,e?e.value:void 0]}))});if(!(null==n?void 0:n.series))return null==n?void 0:n.y;let r=n.series.reduce((t,e,r)=>(t[e]=t[e]||[],t[e].push(n.y[r]),t),{});return Object.values(r)}(n,["y","series"])}(t,r)},i),o))})}};oz.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let oF=t=>oz(Object.assign(Object.assign({},t),{orientation:"horizontal"}));oF.props=Object.assign(Object.assign({},oz.props),{defaultPosition:"bottom"});let o$=t=>oz(Object.assign(Object.assign({},t),{orientation:"vertical"}));o$.props=Object.assign(Object.assign({},oz.props),{defaultPosition:"left"});var oW=n(58241),oH=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let oG=t=>{let{orientation:e,labelFormatter:n,style:r}=t,i=oH(t,["orientation","labelFormatter","style"]);return t=>{let{scales:[n],value:a,theme:o}=t,{bbox:l}=a,{x:s,y:c,width:u,height:f}=l,{scrollbar:d={}}=o,{ratio:h,range:p}=n.getOptions(),g="horizontal"===e?u:f,[m,y]=p;return new oW.L({className:"g2-scrollbar",style:Object.assign({},d,Object.assign(Object.assign(Object.assign(Object.assign({},r),{x:s,y:c,trackLength:g,value:y>m?0:1}),i),{orientation:e,contentLength:g/h,viewportLength:g}))})}};oG.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let oq=t=>oG(Object.assign(Object.assign({},t),{orientation:"horizontal"}));oq.props=Object.assign(Object.assign({},oG.props),{defaultPosition:"bottom"});let oY=t=>oG(Object.assign(Object.assign({},t),{orientation:"vertical"}));oY.props=Object.assign(Object.assign({},oG.props),{defaultPosition:"left"});let oV=(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let[a]=e,{transform:o="",fillOpacity:l=1,strokeOpacity:s=1,opacity:c=1}=a.style,[u,f]=tu(n)?["left bottom","scale(1, ".concat(1e-4,")")]:["left top","scale(".concat(1e-4,", 1)")],d=[{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c,offset:.01},{transform:"".concat(o," scale(1, 1)").trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c}],h=a.animate(d,Object.assign(Object.assign({},i),t));return h}},oU=(t,e)=>{let{coordinate:n}=e;return tb.ux.registerProperty({name:"scaleInYRadius",inherits:!1,initialValue:"",interpolable:!0,syntax:tb.h0.NUMBER}),(e,r,i)=>{let[a]=e;return tf(n)?(e=>{let{__data__:r,style:a}=e,{radius:o=0,inset:l=0,fillOpacity:s=1,strokeOpacity:c=1,opacity:u=1}=a,{points:f,y:d,y1:h}=r,p=en(n,f,[d,h]),{innerRadius:g,outerRadius:m}=p,y=tc().cornerRadius(o).padAngle(l*Math.PI/180),v=new tb.y$({}),b=t=>{v.attr({d:y(t)});let e=(0,tb.YR)(v);return e},x=e.animate([{scaleInYRadius:g+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{scaleInYRadius:g+1e-4,fillOpacity:s,strokeOpacity:c,opacity:u,offset:.01},{scaleInYRadius:m,fillOpacity:s,strokeOpacity:c,opacity:u}],Object.assign(Object.assign({},i),t));return x.onframe=function(){e.style.d=b(Object.assign(Object.assign({},p),{outerRadius:Number(e.style.scaleInYRadius)}))},x.onfinish=function(){e.style.d=b(Object.assign(Object.assign({},p),{outerRadius:m}))},x})(a):(e=>{let{style:r}=e,{transform:a="",fillOpacity:o=1,strokeOpacity:l=1,opacity:s=1}=r,[c,u]=tu(n)?["left top","scale(".concat(1e-4,", 1)")]:["left bottom","scale(1, ".concat(1e-4,")")],f=[{transform:"".concat(a," ").concat(u).trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:"".concat(a," ").concat(u).trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s,offset:.01},{transform:"".concat(a," scale(1, 1)").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s}],d=e.animate(f,Object.assign(Object.assign({},i),t));return d})(a)}},oQ=(t,e)=>{tb.ux.registerProperty({name:"waveInArcAngle",inherits:!1,initialValue:"",interpolable:!0,syntax:tb.h0.NUMBER});let{coordinate:n}=e;return(r,i,a)=>{let[o]=r;if(!tf(n))return oV(t,e)(r,i,a);let{__data__:l,style:s}=o,{radius:c=0,inset:u=0,fillOpacity:f=1,strokeOpacity:d=1,opacity:h=1}=s,{points:p,y:g,y1:m}=l,y=tc().cornerRadius(c).padAngle(u*Math.PI/180),v=en(n,p,[g,m]),{startAngle:b,endAngle:x}=v,O=o.animate([{waveInArcAngle:b+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{waveInArcAngle:b+1e-4,fillOpacity:f,strokeOpacity:d,opacity:h,offset:.01},{waveInArcAngle:x,fillOpacity:f,strokeOpacity:d,opacity:h}],Object.assign(Object.assign({},a),t));return O.onframe=function(){o.style.d=y(Object.assign(Object.assign({},v),{endAngle:Number(o.style.waveInArcAngle)}))},O.onfinish=function(){o.style.d=y(Object.assign(Object.assign({},v),{endAngle:x}))},O}};oQ.props={};let oX=t=>(e,n,r)=>{let[i]=e,{fillOpacity:a=1,strokeOpacity:o=1,opacity:l=1}=i.style,s=[{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:a,strokeOpacity:o,opacity:l}];return i.animate(s,Object.assign(Object.assign({},r),t))};oX.props={};let oK=t=>(e,n,r)=>{let[i]=e,{fillOpacity:a=1,strokeOpacity:o=1,opacity:l=1}=i.style,s=[{fillOpacity:a,strokeOpacity:o,opacity:l},{fillOpacity:0,strokeOpacity:0,opacity:0}];return i.animate(s,Object.assign(Object.assign({},r),t))};oK.props={};let oJ=t=>(e,n,r)=>{var i;let[a]=e,o=(null===(i=a.getTotalLength)||void 0===i?void 0:i.call(a))||0,l=[{lineDash:[0,o]},{lineDash:[o,0]}];return a.animate(l,Object.assign(Object.assign({},r),t))};oJ.props={};let o0={opacity:1,strokeOpacity:1,fillOpacity:1,lineWidth:0,x:0,y:0,cx:0,cy:0,r:0,rx:0,ry:0,width:0,height:0},o1={[tb.bn.CIRCLE]:["cx","cy","r"],[tb.bn.ELLIPSE]:["cx","cy","rx","ry"],[tb.bn.RECT]:["x","y","width","height"],[tb.bn.IMAGE]:["x","y","width","height"],[tb.bn.LINE]:["x1","y1","x2","y2"],[tb.bn.POLYLINE]:["points"],[tb.bn.POLYGON]:["points"]};function o2(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r={};for(let i of e){let e=t.style[i];e?r[i]=e:n&&(r[i]=o0[i])}return r}let o5=["fill","stroke","fillOpacity","strokeOpacity","opacity","lineWidth"];function o3(t){let{min:e,max:n}=t.getLocalBounds(),[r,i]=e,[a,o]=n;return[r,i,a-r,o-i]}function o4(t,e){let[n,r,i,a]=o3(t),o=Math.ceil(Math.sqrt(e/(a/i))),l=Math.ceil(e/o),s=[],c=a/l,u=0,f=e;for(;f>0;){let t=Math.min(f,o),e=i/t;for(let i=0;i{let t=c.style.d;tI(c,n),c.style.d=t,c.style.transform="none"},c.style.transform="none",t}return null}let lt=t=>(e,n,r)=>{let i=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pack";return"function"==typeof t?t:o4}(t.split),a=Object.assign(Object.assign({},r),t),{length:o}=e,{length:l}=n;if(1===o&&1===l||o>1&&l>1){let[t]=e,[r]=n;return o7(t,t,r,a)}if(1===o&&l>1){let[t]=e;return function(t,e,n,r){t.style.visibility="hidden";let i=r(t,e.length);return e.map((e,r)=>{let a=new tb.y$({style:Object.assign({d:i[r]},o2(t,o5))});return o7(e,a,e,n)})}(t,n,a,i)}if(o>1&&1===l){let[t]=n;return function(t,e,n,r){let i=r(e,t.length),{fillOpacity:a=1,strokeOpacity:o=1,opacity:l=1}=e.style,s=e.animate([{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:0,strokeOpacity:0,opacity:0,offset:.99},{fillOpacity:a,strokeOpacity:o,opacity:l}],n),c=t.map((t,r)=>{let a=new tb.y$({style:{d:i[r],fill:e.style.fill}});return o7(t,t,a,n)});return[...c,s]}(e,t,a,i)}return null};lt.props={};let le=(t,e)=>(n,r,i)=>{let[a]=n,{min:[o,l],halfExtents:s}=a.getLocalBounds(),c=2*s[0],u=2*s[1],f=new tb.y$({style:{d:"M".concat(o,",").concat(l,"L").concat(o+c,",").concat(l,"L").concat(o+c,",").concat(l+u,"L").concat(o,",").concat(l+u,"Z")}});a.appendChild(f),a.style.clipPath=f;let d=oV(t,e)([f],r,i);return d};le.props={};let ln=(t,e)=>(n,r,i)=>{let[a]=n,{min:[o,l],halfExtents:s}=a.getLocalBounds(),c=2*s[0],u=2*s[1],f=new tb.y$({style:{d:"M".concat(o,",").concat(l,"L").concat(o+c,",").concat(l,"L").concat(o+c,",").concat(l+u,"L").concat(o,",").concat(l+u,"Z")}});a.appendChild(f),a.style.clipPath=f;let d=oU(t,e)([f],r,i);return d};ln.props={};var lr=n(36683);let li="main-layer",la="label-layer",lo="element",ll="view",ls="plot",lc="component",lu="label",lf="area",ld={visibility:"visible",opacity:1,fillOpacity:1,strokeOpacity:1};function lh(t,e,n,r){t.style[e]=n,r&&t.children.forEach(t=>lh(t,e,n,r))}function lp(t){lh(t,"visibility","hidden",!0)}function lg(t){lh(t,"visibility","visible",!0)}var lm=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function ly(t){return tW(t).selectAll(".".concat(lo)).nodes().filter(t=>!t.__removed__)}function lv(t,e){return lb(t,e).flatMap(t=>{let{container:e}=t;return ly(e)})}function lb(t,e){return e.filter(e=>e!==t&&e.options.parentKey===t.options.key)}function lx(t){return tW(t).select(".".concat(ls)).node()}function lO(t){if("g"===t.tagName)return t.getRenderBounds();let e=t.getGeometryBounds(),n=new tb.mN;return n.setFromTransformedAABB(e,t.getWorldTransform()),n}function lw(t,e){let{offsetX:n,offsetY:r}=e,i=lO(t),{min:[a,o],max:[l,s]}=i;return nl||rs?null:[n-a,r-o]}function l_(t,e){let{offsetX:n,offsetY:r}=e,[i,a,o,l]=function(t){let e=t.getRenderBounds(),{min:[n,r],max:[i,a]}=e;return[n,r,i,a]}(t);return[Math.min(o,Math.max(i,n))-i,Math.min(l,Math.max(a,r))-a]}function lk(t){return t=>t.__data__.color}function lM(t){return t=>t.__data__.x}function lC(t){let e=Array.isArray(t)?t:[t],n=new Map(e.flatMap(t=>{let e=Array.from(t.markState.keys());return e.map(e=>[lA(t.key,e.key),e.data])}));return t=>{let{index:e,markKey:r,viewKey:i}=t.__data__,a=n.get(lA(i,r));return a[e]}}function lj(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t,e)=>t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(t,e,n)=>t.setAttribute(e,n),r="__states__",i="__ordinal__",a=a=>{let{[r]:o=[],[i]:l={}}=a,s=o.reduce((e,n)=>Object.assign(Object.assign({},e),t[n]),l);if(0!==Object.keys(s).length){for(let[t,r]of Object.entries(s)){let i=function(t,e){var n;return null!==(n=t.style[e])&&void 0!==n?n:ld[e]}(a,t),o=e(r,a);n(a,t,o),t in l||(l[t]=i)}a[i]=l}},o=t=>{t[r]||(t[r]=[])};return{setState:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i1?e-1:0),i=1;i(o(t),-1!==t[r].indexOf(e))}}function lA(t,e){return"".concat(t,",").concat(e)}function lS(t,e){let n=Array.isArray(t)?t:[t],r=n.flatMap(t=>t.marks.map(e=>[lA(t.key,e.key),e.state])),i={};for(let t of e){let[e,n]=Array.isArray(t)?t:[t,{}];i[e]=r.reduce((t,r)=>{var i;let[a,o={}]=r,l=void 0===(i=o[e])||"object"==typeof i&&0===Object.keys(i).length?n:o[e];for(let[e,n]of Object.entries(l)){let r=t[e],i=(t,e,i,o)=>{let l=lA(o.__data__.viewKey,o.__data__.markKey);return a!==l?null==r?void 0:r(t,e,i,o):"function"!=typeof n?n:n(t,e,i,o)};t[e]=i}return t},{})}return i}function lE(t,e){let n=new Map(t.map((t,e)=>[t,e])),r=e?t.map(e):t;return(t,i)=>{if("function"!=typeof t)return t;let a=n.get(i),o=e?e(i):i;return t(o,a,r,i)}}function lP(t){var{link:e=!1,valueof:n=(t,e)=>t,coordinate:r}=t,i=lm(t,["link","valueof","coordinate"]);if(!e)return[()=>{},()=>{}];let a=t=>t.__data__.points,o=(t,e)=>{let[,n,r]=t,[i,,,a]=e;return[n,i,a,r]};return[t=>{var e;if(t.length<=1)return;let r=oP(t,(t,e)=>{let{x:n}=t.__data__,{x:r}=e.__data__;return n-r});for(let t=1;tn(t,s)),{fill:g=s.getAttribute("fill")}=p,m=lm(p,["fill"]),y=new tb.y$({className:"element-link",style:Object.assign({d:l.toString(),fill:g,zIndex:-2},m)});null===(e=s.link)||void 0===e||e.remove(),s.parentNode.appendChild(y),s.link=y}},t=>{var e;null===(e=t.link)||void 0===e||e.remove(),t.link=null}]}function lR(t,e,n){let r=e=>{let{transform:n}=t.style;return n?"".concat(n," ").concat(e):e};if(tf(n)){let{points:i}=t.__data__,[a,o]=tu(n)?ee(i):i,l=n.getCenter(),s=tG(a,l),c=tG(o,l),u=tV(s),f=tQ(s,c),d=u+f/2,h=e*Math.cos(d),p=e*Math.sin(d);return r("translate(".concat(h,", ").concat(p,")"))}return r(tu(n)?"translate(".concat(e,", 0)"):"translate(0, ".concat(-e,")"))}function lT(t){var{document:e,background:n,scale:r,coordinate:i,valueof:a}=t,o=lm(t,["document","background","scale","coordinate","valueof"]);let l="element-background";if(!n)return[()=>{},()=>{}];let s=(t,e,n)=>{let r=t.invert(e),i=e+t.getBandWidth(r)/2,a=t.getStep(r)/2,o=a*n;return[i-a+o,i+a-o]},c=(t,e)=>{let{x:n}=r;if(!oL(n))return[0,1];let{__data__:i}=t,{x:a}=i,[o,l]=s(n,a,e);return[o,l]},u=(t,e)=>{let{y:n}=r;if(!oL(n))return[0,1];let{__data__:i}=t,{y:a}=i,[o,l]=s(n,a,e);return[o,l]},f=(t,n)=>{let{padding:r}=n,[a,o]=c(t,r),[l,s]=u(t,r),f=[[a,l],[o,l],[o,s],[a,s]].map(t=>i.map(t)),{__data__:d}=t,{y:h,y1:p}=d;return el(e,f,{y:h,y1:p},i,n)},d=(t,e)=>{let{transform:n="scale(1.2, 1.2)",transformOrigin:r="center center",stroke:i=""}=e,a=lm(e,["transform","transformOrigin","stroke"]),o=Object.assign({transform:n,transformOrigin:r,stroke:i},a),l=t.cloneNode(!0);for(let[t,e]of Object.entries(o))l.style[t]=e;return l},h=()=>{let{x:t,y:e}=r;return[t,e].some(oL)};return[t=>{t.background&&t.background.remove();let e=t3(o,e=>a(e,t)),{fill:n="#CCD6EC",fillOpacity:r=.3,zIndex:i=-2,padding:s=.001,lineWidth:c=0}=e,u=lm(e,["fill","fillOpacity","zIndex","padding","lineWidth"]),p=Object.assign(Object.assign({},u),{fill:n,fillOpacity:r,zIndex:i,padding:s,lineWidth:c}),g=h()?f:d,m=g(t,p);m.className=l,t.parentNode.parentNode.appendChild(m),t.background=m},t=>{var e;null===(e=t.background)||void 0===e||e.remove(),t.background=null},t=>t.className===l]}function lL(t,e){let n=t.getRootNode().defaultView,r=n.getContextService().getDomElement();(null==r?void 0:r.style)&&(t.cursor=r.style.cursor,r.style.cursor=e)}function lI(t,e,n){return t.find(t=>Object.entries(e).every(e=>{let[r,i]=e;return n(t)[r]===i}))}function lN(t,e){return Math.sqrt(Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2))}function lB(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,lr.Z)(t,t=>!!t).map((t,e)=>[0===e?"M":"L",...t]);return e&&n.push(["Z"]),n}function lD(t){return t.querySelectorAll(".element")}function lZ(t,e){if(e(t))return t;let n=t.parent;for(;n&&!e(n);)n=n.parent;return n}var lz=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function lF(t){var{delay:e,createGroup:n,background:r=!1,link:i=!1}=t,a=lz(t,["delay","createGroup","background","link"]);return(t,o,l)=>{let{container:s,view:c,options:u}=t,{scale:f,coordinate:d}=c,h=lx(s);return function(t,e){var n;let r,{elements:i,datum:a,groupKey:o=t=>t,link:l=!1,background:s=!1,delay:c=60,scale:u,coordinate:f,emitter:d,state:h={}}=e,p=i(t),g=new Set(p),m=tk(p,o),y=lE(p,a),[v,b]=lP(Object.assign({elements:p,valueof:y,link:l,coordinate:f},tB(h.active,"link"))),[x,O,w]=lT(Object.assign({document:t.ownerDocument,scale:u,coordinate:f,background:s,valueof:y},tB(h.active,"background"))),_=(0,A.Z)(h,{active:Object.assign({},(null===(n=h.active)||void 0===n?void 0:n.offset)&&{transform:function(){for(var t=arguments.length,e=Array(t),n=0;n{let{target:e,nativeEvent:n=!0}=t;if(!g.has(e))return;r&&clearTimeout(r);let i=o(e),l=m.get(i),s=new Set(l);for(let t of p)s.has(t)?C(t,"active")||k(t,"active"):(k(t,"inactive"),b(t)),t!==e&&O(t);x(e),v(l),n&&d.emit("element:highlight",{nativeEvent:n,data:{data:a(e),group:l.map(a)}})},S=()=>{r&&clearTimeout(r),r=setTimeout(()=>{E(),r=null},c)},E=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];for(let t of p)M(t,"active","inactive"),O(t),b(t);t&&d.emit("element:unhighlight",{nativeEvent:t})},P=t=>{let{target:e}=t;(!s||w(e))&&(s||g.has(e))&&(c>0?S():E())},R=()=>{E()};t.addEventListener("pointerover",j),t.addEventListener("pointerout",P),t.addEventListener("pointerleave",R);let T=t=>{let{nativeEvent:e}=t;e||E(!1)},L=t=>{let{nativeEvent:e}=t;if(e)return;let{data:n}=t.data,r=lI(p,n,a);r&&j({target:r,nativeEvent:!1})};return d.on("element:highlight",L),d.on("element:unhighlight",T),()=>{for(let e of(t.removeEventListener("pointerover",j),t.removeEventListener("pointerout",P),t.removeEventListener("pointerleave",R),d.off("element:highlight",L),d.off("element:unhighlight",T),p))O(e),b(e)}}(h,Object.assign({elements:ly,datum:lC(c),groupKey:n?n(c):void 0,coordinate:d,scale:f,state:lS(u,[["active",r?{}:{lineWidth:"1",stroke:"#000"}],"inactive"]),background:r,link:i,delay:e,emitter:l},a))}}function l$(t){return lF(Object.assign(Object.assign({},t),{createGroup:lM}))}function lW(t){return lF(Object.assign(Object.assign({},t),{createGroup:lk}))}lF.props={reapplyWhenUpdate:!0},l$.props={reapplyWhenUpdate:!0},lW.props={reapplyWhenUpdate:!0};var lH=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function lG(t){var{createGroup:e,background:n=!1,link:r=!1}=t,i=lH(t,["createGroup","background","link"]);return(t,a,o)=>{let{container:l,view:s,options:c}=t,{coordinate:u,scale:f}=s,d=lx(l);return function(t,e){var n;let{elements:r,datum:i,groupKey:a=t=>t,link:o=!1,single:l=!1,coordinate:s,background:c=!1,scale:u,emitter:f,state:d={}}=e,h=r(t),p=new Set(h),g=tk(h,a),m=lE(h,i),[y,v]=lP(Object.assign({link:o,elements:h,valueof:m,coordinate:s},tB(d.selected,"link"))),[b,x]=lT(Object.assign({document:t.ownerDocument,background:c,coordinate:s,scale:u,valueof:m},tB(d.selected,"background"))),O=(0,A.Z)(d,{selected:Object.assign({},(null===(n=d.selected)||void 0===n?void 0:n.offset)&&{transform:function(){for(var t=arguments.length,e=Array(t),n=0;n0)||void 0===arguments[0]||arguments[0];for(let t of h)_(t,"selected","unselected"),v(t),x(t);t&&f.emit("element:unselect",{nativeEvent:!0})},C=function(t,e){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(k(e,"selected"))M();else{let r=a(e),o=g.get(r),l=new Set(o);for(let t of h)l.has(t)?w(t,"selected"):(w(t,"unselected"),v(t)),t!==e&&x(t);if(y(o),b(e),!n)return;f.emit("element:select",Object.assign(Object.assign({},t),{nativeEvent:n,data:{data:[i(e),...o.map(i)]}}))}},j=function(t,e){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=a(e),l=g.get(r),s=new Set(l);if(k(e,"selected")){let t=h.some(t=>!s.has(t)&&k(t,"selected"));if(!t)return M();for(let t of l)w(t,"unselected"),v(t),x(t)}else{let t=l.some(t=>k(t,"selected"));for(let t of h)s.has(t)?w(t,"selected"):k(t,"selected")||w(t,"unselected");!t&&o&&y(l),b(e)}n&&f.emit("element:select",Object.assign(Object.assign({},t),{nativeEvent:n,data:{data:h.filter(t=>k(t,"selected")).map(i)}}))},S=t=>{let{target:e,nativeEvent:n=!0}=t;return p.has(e)?l?C(t,e,n):j(t,e,n):M()};t.addEventListener("click",S);let E=t=>{let{nativeEvent:e,data:n}=t;if(e)return;let r=l?n.data.slice(0,1):n.data;for(let t of r){let e=lI(h,t,i);S({target:e,nativeEvent:!1})}},P=()=>{M(!1)};return f.on("element:select",E),f.on("element:unselect",P),()=>{for(let t of h)v(t);t.removeEventListener("click",S),f.off("element:select",E),f.off("element:unselect",P)}}(d,Object.assign({elements:ly,datum:lC(s),groupKey:e?e(s):void 0,coordinate:u,scale:f,state:lS(c,[["selected",n?{}:{lineWidth:"1",stroke:"#000"}],"unselected"]),background:n,link:r,emitter:o},i))}}function lq(t){return lG(Object.assign(Object.assign({},t),{createGroup:lM}))}function lY(t){return lG(Object.assign(Object.assign({},t),{createGroup:lk}))}lG.props={reapplyWhenUpdate:!0},lq.props={reapplyWhenUpdate:!0},lY.props={reapplyWhenUpdate:!0};var lV=n(16677),lU=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function lQ(t){var{wait:e=20,leading:n,trailing:r=!1,labelFormatter:i=t=>"".concat(t)}=t,a=lU(t,["wait","leading","trailing","labelFormatter"]);return t=>{let o;let{view:l,container:s,update:c,setState:u}=t,{markState:f,scale:d,coordinate:h}=l,p=function(t,e,n){let[r]=Array.from(t.entries()).filter(t=>{let[n]=t;return n.type===e}).map(t=>{let[e]=t,{encode:r}=e;return Object.fromEntries(n.map(t=>{let e=r[t];return[t,e?e.value:void 0]}))});return r}(f,"line",["x","y","series"]);if(!p)return;let{y:g,x:m,series:y=[]}=p,v=g.map((t,e)=>e),b=oP(v.map(t=>m[t])),x=lx(s),O=s.getElementsByClassName(lo),w=s.getElementsByClassName(lu),_=tk(w,t=>t.__data__.key.split("-")[0]),k=new tb.x1({style:Object.assign({x1:0,y1:0,x2:0,y2:x.getAttribute("height"),stroke:"black",lineWidth:1},tB(a,"rule"))}),M=new tb.xv({style:Object.assign({x:0,y:x.getAttribute("height"),text:"",fontSize:10},tB(a,"label"))});k.append(M),x.appendChild(k);let C=(t,e,n)=>{let[r]=t.invert(n),i=e.invert(r);return b[oE(b,i)]},j=(t,e)=>{k.setAttribute("x1",t[0]),k.setAttribute("x2",t[0]),M.setAttribute("text",i(e))},S=t=>{let{scale:e,coordinate:n}=o,{x:r,y:i}=e,a=C(n,r,t);for(let e of(j(t,a),O)){let{seriesIndex:t,key:r}=e.__data__,o=t[ok(t=>m[+t]).center(t,a)],l=[0,i.map(1)],s=[0,i.map(g[o]/g[t[0]])],[,c]=n.map(l),[,u]=n.map(s),f=c-u;e.setAttribute("transform","translate(0, ".concat(f,")"));let d=_.get(r)||[];for(let t of d)t.setAttribute("dy",f)}},E=(0,lV.Z)(t=>{let e=lw(x,t);e&&S(e)},e,{leading:n,trailing:r});return(t=>{var e,n,r,i;return e=this,n=void 0,r=void 0,i=function*(){let{x:e}=d,n=C(h,e,t);j(t,n),u("chartIndex",t=>{let e=(0,A.Z)({},t),r=e.marks.find(t=>"line"===t.type),i=i1(tC(v,t=>i1(t,t=>+g[t])/i0(t,t=>+g[t]),t=>y[t]).values());(0,A.Z)(r,{scale:{y:{domain:[1/i,i]}}});let a=function(t){let{transform:e=[]}=t,n=e.find(t=>"normalizeY"===t.type);if(n)return n;let r={type:"normalizeY"};return e.push(r),t.transform=e,r}(r);for(let t of(a.groupBy="color",a.basis=(t,e)=>{let r=t[ok(t=>m[+t]).center(t,n)];return e[r]},e.marks))t.animate=!1;return e});let r=yield c("chartIndex");o=r.view},new(r||(r=Promise))(function(t,a){function o(t){try{s(i.next(t))}catch(t){a(t)}}function l(t){try{s(i.throw(t))}catch(t){a(t)}}function s(e){var n;e.done?t(e.value):((n=e.value)instanceof r?n:new r(function(t){t(n)})).then(o,l)}s((i=i.apply(e,n||[])).next())})})([0,0]),x.addEventListener("pointerenter",E),x.addEventListener("pointermove",E),x.addEventListener("pointerleave",E),()=>{k.remove(),x.removeEventListener("pointerenter",E),x.removeEventListener("pointermove",E),x.removeEventListener("pointerleave",E)}}}function lX(t,e){let n;let r=-1,i=-1;if(void 0===e)for(let e of t)++i,null!=e&&(n>e||void 0===n&&e>=e)&&(n=e,r=i);else for(let a of t)null!=(a=e(a,++i,t))&&(n>a||void 0===n&&a>=a)&&(n=a,r=i);return r}function lK(t,e){let n=0,r=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(++n,r+=e);else{let i=-1;for(let a of t)null!=(a=e(a,++i,t))&&(a=+a)>=a&&(++n,r+=a)}if(n)return r/n}lQ.props={reapplyWhenUpdate:!0};var lJ=n(44082);let l0={BEFORE_RENDER:"beforerender",AFTER_RENDER:"afterrender",BEFORE_PAINT:"beforepaint",AFTER_PAINT:"afterpaint",BEFORE_CHANGE_DATA:"beforechangedata",AFTER_CHANGE_DATA:"afterchangedata",BEFORE_CLEAR:"beforeclear",AFTER_CLEAR:"afterclear",BEFORE_DESTROY:"beforedestroy",AFTER_DESTROY:"afterdestroy",BEFORE_CHANGE_SIZE:"beforechangesize",AFTER_CHANGE_SIZE:"afterchangesize",POINTER_TAP:"pointertap",POINTER_DOWN:"pointerdown",POINTER_UP:"pointerup",POINTER_OVER:"pointerover",POINTER_OUT:"pointerout",POINTER_MOVE:"pointermove",POINTER_ENTER:"pointerenter",POINTER_LEAVE:"pointerleave",POINTER_UPOUTSIDE:"pointerupoutside",DRAG_START:"dragstart",DRAG:"drag",DRAG_END:"dragend",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"DROP",CLICK:"click",DBLCLICK:"dblclick"};function l1(t,e){let{__data__:n}=t,{markKey:r,index:i,seriesIndex:a}=n,{markState:o}=e,l=Array.from(o.keys()).find(t=>t.key===r);if(l)return a?a.map(t=>l.data[t]):l.data[i]}function l2(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>!0;return i=>{if(!r(i))return;n.emit("plot:".concat(t),i);let{target:a}=i;if(!a)return;let{className:o}=a;if("plot"===o)return;let l=lZ(a,t=>"element"===t.className),s=lZ(a,t=>"component"===t.className),c=lZ(a,t=>"label"===t.className),u=l||s||c;if(!u)return;let{className:f,markType:d}=u,h=Object.assign(Object.assign({},i),{nativeEvent:!0});"element"===f?(h.data={data:l1(u,e)},n.emit("element:".concat(t),h),n.emit("".concat(d,":").concat(t),h)):"label"===f?(h.data={data:u.attributes.datum},n.emit("label:".concat(t),h),n.emit("".concat(o,":").concat(t),h)):(n.emit("component:".concat(t),h),n.emit("".concat(o,":").concat(t),h))}}function l5(){return(t,e,n)=>{let{container:r,view:i}=t,a=l2(l0.CLICK,i,n,t=>1===t.detail),o=l2(l0.DBLCLICK,i,n,t=>2===t.detail),l=l2(l0.POINTER_TAP,i,n),s=l2(l0.POINTER_DOWN,i,n),c=l2(l0.POINTER_UP,i,n),u=l2(l0.POINTER_OVER,i,n),f=l2(l0.POINTER_OUT,i,n),d=l2(l0.POINTER_MOVE,i,n),h=l2(l0.POINTER_ENTER,i,n),p=l2(l0.POINTER_LEAVE,i,n),g=l2(l0.POINTER_UPOUTSIDE,i,n),m=l2(l0.DRAG_START,i,n),y=l2(l0.DRAG,i,n),v=l2(l0.DRAG_END,i,n),b=l2(l0.DRAG_ENTER,i,n),x=l2(l0.DRAG_LEAVE,i,n),O=l2(l0.DRAG_OVER,i,n),w=l2(l0.DROP,i,n);return r.addEventListener("click",a),r.addEventListener("click",o),r.addEventListener("pointertap",l),r.addEventListener("pointerdown",s),r.addEventListener("pointerup",c),r.addEventListener("pointerover",u),r.addEventListener("pointerout",f),r.addEventListener("pointermove",d),r.addEventListener("pointerenter",h),r.addEventListener("pointerleave",p),r.addEventListener("pointerupoutside",g),r.addEventListener("dragstart",m),r.addEventListener("drag",y),r.addEventListener("dragend",v),r.addEventListener("dragenter",b),r.addEventListener("dragleave",x),r.addEventListener("dragover",O),r.addEventListener("drop",w),()=>{r.removeEventListener("click",a),r.removeEventListener("click",o),r.removeEventListener("pointertap",l),r.removeEventListener("pointerdown",s),r.removeEventListener("pointerup",c),r.removeEventListener("pointerover",u),r.removeEventListener("pointerout",f),r.removeEventListener("pointermove",d),r.removeEventListener("pointerenter",h),r.removeEventListener("pointerleave",p),r.removeEventListener("pointerupoutside",g),r.removeEventListener("dragstart",m),r.removeEventListener("drag",y),r.removeEventListener("dragend",v),r.removeEventListener("dragenter",b),r.removeEventListener("dragleave",x),r.removeEventListener("dragover",O),r.removeEventListener("drop",w)}}}l5.props={reapplyWhenUpdate:!0};var l3=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function l4(t,e){if(e)return"string"==typeof e?document.querySelector(e):e;let n=t.ownerDocument.defaultView.getContextService().getDomElement();return n.parentElement}function l6(t){let{root:e,data:n,x:r,y:i,render:a,event:o,single:l,position:s="right-bottom",enterable:c=!1,css:u,mount:f,bounding:d,offset:h}=t,p=l4(e,f),g=l4(e),m=l?g:e,y=d||function(t){let e=t.getRenderBounds(),{min:[n,r],max:[i,a]}=e;return{x:n,y:r,width:i-n,height:a-r}}(e),v=function(t,e){let n=t.getBoundingClientRect(),r=e.getBoundingClientRect();return{x:n.x-r.x,y:n.y-r.y}}(g,p),{tooltipElement:b=function(t,e,n,r,i,a,o){let l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:[10,10],c=new lJ.u({className:"tooltip",style:{x:e,y:n,container:o,data:[],bounding:a,position:r,enterable:i,title:"",offset:s,template:{prefixCls:"g2-"},style:(0,A.Z)({".g2-tooltip":{},".g2-tooltip-title":{overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},l)}});return t.appendChild(c.HTMLTooltipElement),c}(p,r,i,s,c,y,v,u,h)}=m,{items:x,title:O=""}=n;b.update(Object.assign({x:r,y:i,data:x,title:O,position:s,enterable:c},void 0!==a&&{content:a(o,{items:x,title:O})})),m.tooltipElement=b}function l8(t){let{root:e,single:n,emitter:r,nativeEvent:i=!0,event:a=null}=t;i&&r.emit("tooltip:hide",{nativeEvent:i});let o=l4(e),l=n?o:e,{tooltipElement:s}=l;s&&s.hide(null==a?void 0:a.clientX,null==a?void 0:a.clientY),sr(e),si(e),sa(e)}function l9(t){let{root:e,single:n}=t,r=l4(e),i=n?r:e;if(!i)return;let{tooltipElement:a}=i;a&&(a.destroy(),i.tooltipElement=void 0),sr(e),si(e),sa(e)}function l7(t){let{value:e}=t;return Object.assign(Object.assign({},t),{value:void 0===e?"undefined":e})}function st(t){let e=t.getAttribute("fill"),n=t.getAttribute("stroke"),{__data__:r}=t,{color:i=e&&"transparent"!==e?e:n}=r;return i}function se(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t,n=new Map(t.map(t=>[e(t),t]));return Array.from(n.values())}function sn(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.map(t=>t.__data__),i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=t=>t instanceof Date?+t:t,o=se(r.map(t=>t.title),a).filter(tN),l=r.flatMap((r,a)=>{let o=t[a],{items:l=[],title:s}=r,c=l.filter(tN),u=void 0!==n?n:l.length<=1;return c.map(t=>{var{color:n=st(o)||i.color,name:a}=t,l=l3(t,["color","name"]);let c=function(t,e){let{color:n,series:r,facet:i=!1}=t,{color:a,series:o}=e;if(r&&r.invert&&!(r instanceof al.t)&&!(r instanceof aS.s)){let t=r.clone();return t.invert(o)}if(o&&r instanceof al.t&&r.invert(o)!==a&&!i)return r.invert(o);if(n&&n.invert&&!(n instanceof al.t)&&!(n instanceof aS.s)){let t=n.invert(a);return Array.isArray(t)?null:t}return null}(e,r);return Object.assign(Object.assign({},l),{color:n,name:(u?c||a:a||c)||s})})}).map(l7);return Object.assign(Object.assign({},o.length>0&&{title:o.join(",")}),{items:se(l,t=>"(".concat(a(t.name),", ").concat(a(t.value),", ").concat(a(t.color),")"))})}function sr(t){t.ruleY&&(t.ruleY.remove(),t.ruleY=void 0)}function si(t){t.ruleX&&(t.ruleX.remove(),t.ruleX=void 0)}function sa(t){t.markers&&(t.markers.forEach(t=>t.remove()),t.markers=[])}function so(t,e){return Array.from(t.values()).some(t=>{var n;return null===(n=t.interaction)||void 0===n?void 0:n[e]})}function sl(t,e){return void 0===t?e:t}function ss(t){let{title:e,items:n}=t;return 0===n.length&&void 0===e}function sc(t,e){var{elements:n,sort:r,filter:i,scale:a,coordinate:o,crosshairs:l,crosshairsX:s,crosshairsY:c,render:u,groupName:f,emitter:d,wait:h=50,leading:p=!0,trailing:g=!1,startX:m=0,startY:y=0,body:v=!0,single:b=!0,position:x,enterable:O,mount:w,bounding:_,theme:k,offset:M,disableNative:C=!1,marker:j=!0,preserve:S=!1,style:E={},css:P={}}=e,R=l3(e,["elements","sort","filter","scale","coordinate","crosshairs","crosshairsX","crosshairsY","render","groupName","emitter","wait","leading","trailing","startX","startY","body","single","position","enterable","mount","bounding","theme","offset","disableNative","marker","preserve","style","css"]);let T=n(t),L=tu(o),I=tf(o),N=(0,A.Z)(E,R),{innerWidth:B,innerHeight:D,width:Z,height:z,insetLeft:F,insetTop:$}=o.getOptions(),W=[],H=[];for(let t of T){let{__data__:e}=t,{seriesX:n,title:r,items:i}=e;n?W.push(t):(r||i)&&H.push(t)}let G=H.length&&H.every(t=>"interval"===t.markType)&&!tf(o),q=t=>t.__data__.x,Y=!!a.x.getBandWidth,V=Y&&H.length>0;W.sort((t,e)=>{let n=L?0:1,r=t=>t.getBounds().min[n];return L?r(e)-r(t):r(t)-r(e)});let U=t=>{let e=L?1:0,{min:n,max:r}=t.getLocalBounds();return oP([n[e],r[e]])};G?T.sort((t,e)=>q(t)-q(e)):H.sort((t,e)=>{let[n,r]=U(t),[i,a]=U(e),o=(n+r)/2,l=(i+a)/2;return L?l-o:o-l});let Q=new Map(W.map(t=>{let{__data__:e}=t,{seriesX:n}=e,r=n.map((t,e)=>e),i=oP(r,t=>n[+t]);return[t,[i,n]]})),{x:X}=a,K=(null==X?void 0:X.getBandWidth)?X.getBandWidth()/2:0,J=t=>{let[e]=o.invert(t);return e-K},tt=(t,e,n,r)=>{let{_x:i}=t,a=void 0!==i?X.map(i):J(e),o=r.filter(tN),[l,s]=oP([o[0],o[o.length-1]]);if(!V&&(as)&&l!==s)return null;let c=ok(t=>r[+t]).center,u=c(n,a);return n[u]},te=G?(t,e)=>{let n=ok(q).center,r=n(e,J(t)),i=e[r],a=tk(e,q),o=a.get(q(i));return o}:(t,e)=>{let n=L?1:0,r=t[n],i=e.filter(t=>{let[e,n]=U(t);return r>=e&&r<=n});if(!V||i.length>0)return i;let a=ok(t=>{let[e,n]=U(t);return(e+n)/2}).center,o=a(e,r);return[e[o]].filter(tN)},tn=(t,e)=>{let{__data__:n}=t;return Object.fromEntries(Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("series")&&"series"!==e}).map(t=>{let[n,r]=t,i=r[e];return[(0,tS.Z)(n.replace("series","")),i]}))},tr=(0,lV.Z)(e=>{var n;let h=lw(t,e);if(!h)return;let p=lO(t),g=p.min[0],C=p.min[1],A=[h[0]-m,h[1]-y];if(!A)return;let S=te(A,H),E=[],R=[];for(let t of W){let[n,r]=Q.get(t),i=tt(e,A,n,r);if(null!==i){E.push(t);let e=tn(t,i),{x:n,y:r}=e,a=o.map([(n||0)+K,r||0]);R.push([Object.assign(Object.assign({},e),{element:t}),a])}}let T=Array.from(new Set(R.map(t=>t[0].x))),G=T[lX(T,t=>Math.abs(t-J(A)))],q=R.filter(t=>t[0].x===G),Y=[...q.map(t=>t[0]),...S.map(t=>t.__data__)],V=[...E,...S],U=sn(V,a,f,Y,k);if(r&&U.items.sort((t,e)=>r(t)-r(e)),i&&(U.items=U.items.filter(i)),0===V.length||ss(U)){ti(e);return}if(v&&l6({root:t,data:U,x:h[0]+g,y:h[1]+C,render:u,event:e,single:b,position:x,enterable:O,mount:w,bounding:_,css:P,offset:M}),l||s||c){let e=tB(N,"crosshairs"),n=Object.assign(Object.assign({},e),tB(N,"crosshairsX")),r=Object.assign(Object.assign({},e),tB(N,"crosshairsY")),i=q.map(t=>t[1]);s&&function(t,e,n,r){var{plotWidth:i,plotHeight:a,mainWidth:o,mainHeight:l,startX:s,startY:c,transposed:u,polar:f,insetLeft:d,insetTop:h}=r,p=l3(r,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let g=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},p),m=((t,e)=>{if(1===e.length)return e[0];let n=e.map(e=>tY(e,t)),r=lX(n,t=>t);return e[r]})(n,e);if(f){let[e,n,r]=(()=>{let t=s+d+o/2,e=c+h+l/2,n=tY([t,e],m);return[t,e,n]})(),i=t.ruleX||((e,n,r)=>{let i=new tb.Cd({style:Object.assign({cx:e,cy:n,r},g)});return t.appendChild(i),i})(e,n,r);i.style.cx=e,i.style.cy=n,i.style.r=r,t.ruleX=i}else{let[e,n,r,o]=u?[s+m[0],s+m[0],c,c+a]:[s,s+i,m[1]+c,m[1]+c],l=t.ruleX||((e,n,r,i)=>{let a=new tb.x1({style:Object.assign({x1:e,x2:n,y1:r,y2:i},g)});return t.appendChild(a),a})(e,n,r,o);l.style.x1=e,l.style.x2=n,l.style.y1=r,l.style.y2=o,t.ruleX=l}}(t,i,h,Object.assign(Object.assign({},n),{plotWidth:B,plotHeight:D,mainWidth:Z,mainHeight:z,insetLeft:F,insetTop:$,startX:m,startY:y,transposed:L,polar:I})),c&&function(t,e,n){var{plotWidth:r,plotHeight:i,mainWidth:a,mainHeight:o,startX:l,startY:s,transposed:c,polar:u,insetLeft:f,insetTop:d}=n,h=l3(n,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let p=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},h),g=e.map(t=>t[1]),m=e.map(t=>t[0]),y=lK(g),v=lK(m),[b,x,O,w]=(()=>{if(u){let t=Math.min(a,o)/2,e=l+f+a/2,n=s+d+o/2,r=tV(tG([v,y],[e,n])),i=e+t*Math.cos(r),c=n+t*Math.sin(r);return[e,i,n,c]}return c?[l,l+r,y+s,y+s]:[v+l,v+l,s,s+i]})();if(m.length>0){let e=t.ruleY||(()=>{let e=new tb.x1({style:Object.assign({x1:b,x2:x,y1:O,y2:w},p)});return t.appendChild(e),e})();e.style.x1=b,e.style.x2=x,e.style.y1=O,e.style.y2=w,t.ruleY=e}}(t,i,Object.assign(Object.assign({},r),{plotWidth:B,plotHeight:D,mainWidth:Z,mainHeight:z,insetLeft:F,insetTop:$,startX:m,startY:y,transposed:L,polar:I}))}if(j){let e=tB(N,"marker");!function(t,e){let{data:n,style:r,theme:i}=e;t.markers&&t.markers.forEach(t=>t.remove());let{type:a=""}=r,o=n.filter(t=>{let[{x:e,y:n}]=t;return tN(e)&&tN(n)}).map(t=>{let[{color:e,element:n},o]=t,l=e||n.style.fill||n.style.stroke||i.color,s=new tb.Cd({className:"g2-tooltip-marker",style:Object.assign({cx:o[0],cy:o[1],fill:"hollow"===a?"transparent":l,r:4,stroke:"hollow"===a?l:"#fff",lineWidth:2},r)});return s});for(let e of o)t.appendChild(e);t.markers=o}(t,{data:q,style:e,theme:k})}let X=null===(n=q[0])||void 0===n?void 0:n[0].x,tr=null!=X?X:J(A);d.emit("tooltip:show",Object.assign(Object.assign({},e),{nativeEvent:!0,data:{data:{x:oI(a.x,tr,!0)}}}))},h,{leading:p,trailing:g}),ti=e=>{l8({root:t,single:b,emitter:d,event:e})},ta=()=>{l9({root:t,single:b})},to=e=>{var n,{nativeEvent:r,data:i,offsetX:l,offsetY:s}=e,c=l3(e,["nativeEvent","data","offsetX","offsetY"]);if(r)return;let u=null===(n=null==i?void 0:i.data)||void 0===n?void 0:n.x,f=a.x,d=f.map(u),[h,p]=o.map([d,.5]),g=t.getRenderBounds(),m=g.min[0],y=g.min[1];tr(Object.assign(Object.assign({},c),{offsetX:void 0!==l?l:m+h,offsetY:void 0!==s?s:y+p,_x:u}))},tl=()=>{l8({root:t,single:b,emitter:d,nativeEvent:!1})},ts=()=>{th(),ta()},tc=()=>{td()},td=()=>{C||(t.addEventListener("pointerenter",tr),t.addEventListener("pointermove",tr),t.addEventListener("pointerleave",e=>{lw(t,e)||ti(e)}))},th=()=>{C||(t.removeEventListener("pointerenter",tr),t.removeEventListener("pointermove",tr),t.removeEventListener("pointerleave",ti))};return td(),d.on("tooltip:show",to),d.on("tooltip:hide",tl),d.on("tooltip:disable",ts),d.on("tooltip:enable",tc),()=>{th(),d.off("tooltip:show",to),d.off("tooltip:hide",tl),d.off("tooltip:disable",ts),d.off("tooltip:enable",tc),S?l8({root:t,single:b,emitter:d,nativeEvent:!1}):ta()}}function su(t){let{shared:e,crosshairs:n,crosshairsX:r,crosshairsY:i,series:a,name:o,item:l=()=>({}),facet:s=!1}=t,c=l3(t,["shared","crosshairs","crosshairsX","crosshairsY","series","name","item","facet"]);return(t,o,u)=>{let{container:f,view:d}=t,{scale:h,markState:p,coordinate:g,theme:m}=d,y=so(p,"seriesTooltip"),v=so(p,"crosshairs"),b=lx(f),x=sl(a,y),O=sl(n,v);if(x&&Array.from(p.values()).some(t=>{var e;return(null===(e=t.interaction)||void 0===e?void 0:e.seriesTooltip)&&t.tooltip})&&!s)return sc(b,Object.assign(Object.assign({},c),{theme:m,elements:ly,scale:h,coordinate:g,crosshairs:O,crosshairsX:sl(sl(r,n),!1),crosshairsY:sl(i,O),item:l,emitter:u}));if(x&&s){let e=o.filter(e=>e!==t&&e.options.parentKey===t.options.key),a=lv(t,o),s=e[0].view.scale,f=b.getBounds(),d=f.min[0],h=f.min[1];return Object.assign(s,{facet:!0}),sc(b.parentNode.parentNode,Object.assign(Object.assign({},c),{theme:m,elements:()=>a,scale:s,coordinate:g,crosshairs:sl(n,v),crosshairsX:sl(sl(r,n),!1),crosshairsY:sl(i,O),item:l,startX:d,startY:h,emitter:u}))}return function(t,e){var n,r;let{elements:i,coordinate:a,scale:o,render:l,groupName:s,sort:c,filter:u,emitter:f,wait:d=50,leading:h=!0,trailing:p=!1,groupKey:g=t=>t,single:m=!0,position:y,enterable:v,datum:b,view:x,mount:O,bounding:w,theme:_,offset:k,shared:M=!1,body:C=!0,disableNative:j=!1,preserve:A=!1,css:S={}}=e,E=i(t),P=tk(E,g),R=E.every(t=>"interval"===t.markType)&&!tf(a),T=o.x,L=o.series,I=null!==(r=null===(n=null==T?void 0:T.getBandWidth)||void 0===n?void 0:n.call(T))&&void 0!==r?r:0,N=L?t=>t.__data__.x+t.__data__.series*I:t=>t.__data__.x+I/2;R&&E.sort((t,e)=>N(t)-N(e));let B=t=>{let{target:e}=t;return lZ(e,t=>!!t.classList&&t.classList.includes("element"))},D=R?e=>{let n=lw(t,e);if(!n)return;let[r]=a.invert(n),i=ok(N).center,o=i(E,r),l=E[o];if(!M){let t=E.find(t=>t!==l&&N(t)===N(l));if(t)return B(e)}return l}:B,Z=(0,lV.Z)(e=>{let n=D(e);if(!n){l8({root:t,single:m,emitter:f,event:e});return}let r=g(n),i=P.get(r);if(!i)return;let a=1!==i.length||M?sn(i,o,s,void 0,_):function(t){let{__data__:e}=t,{title:n,items:r=[]}=e,i=r.filter(tN).map(e=>{var{color:n=st(t)}=e;return Object.assign(Object.assign({},l3(e,["color"])),{color:n})}).map(l7);return Object.assign(Object.assign({},n&&{title:n}),{items:i})}(i[0]);if(c&&a.items.sort((t,e)=>c(t)-c(e)),u&&(a.items=a.items.filter(u)),ss(a)){l8({root:t,single:m,emitter:f,event:e});return}let{offsetX:d,offsetY:h}=e;C&&l6({root:t,data:a,x:d,y:h,render:l,event:e,single:m,position:y,enterable:v,mount:O,bounding:w,css:S,offset:k}),f.emit("tooltip:show",Object.assign(Object.assign({},e),{nativeEvent:!0,data:{data:l1(n,x)}}))},d,{leading:h,trailing:p}),z=e=>{l8({root:t,single:m,emitter:f,event:e})},F=()=>{j||(t.addEventListener("pointermove",Z),t.addEventListener("pointerleave",z))},$=()=>{j||(t.removeEventListener("pointermove",Z),t.removeEventListener("pointerleave",z))},W=e=>{let{nativeEvent:n,offsetX:r,offsetY:i,data:a}=e;if(n)return;let{data:o}=a,l=lI(E,o,b);if(!l)return;let s=l.getBBox(),{x:c,y:u,width:f,height:d}=s,h=t.getBBox();Z({target:l,offsetX:void 0!==r?r+h.x:c+f/2,offsetY:void 0!==i?i+h.y:u+d/2})},H=function(){let{nativeEvent:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e||l8({root:t,single:m,emitter:f,nativeEvent:!1})};return f.on("tooltip:show",W),f.on("tooltip:hide",H),f.on("tooltip:enable",()=>{F()}),f.on("tooltip:disable",()=>{$(),l9({root:t,single:m})}),F(),()=>{$(),f.off("tooltip:show",W),f.off("tooltip:hide",H),A?l8({root:t,single:m,emitter:f,nativeEvent:!1}):l9({root:t,single:m})}}(b,Object.assign(Object.assign({},c),{datum:lC(d),elements:ly,scale:h,coordinate:g,groupKey:e?lM(d):void 0,item:l,emitter:u,view:d,theme:m,shared:e}))}}su.props={reapplyWhenUpdate:!0};var sf=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})};let sd="legend-category";function sh(t){return t.getElementsByClassName("legend-category-item-marker")[0]}function sp(t){return t.getElementsByClassName("legend-category-item-label")[0]}function sg(t){return t.getElementsByClassName("items-item")}function sm(t){return t.getElementsByClassName(sd)}function sy(t){return t.getElementsByClassName("legend-continuous")}function sv(t){let e=t.parentNode;for(;e&&!e.__data__;)e=e.parentNode;return e.__data__}function sb(t,e){let{legend:n,channel:r,value:i,ordinal:a,channels:o,allChannels:l,facet:s=!1}=e;return sf(this,void 0,void 0,function*(){let{view:e,update:c,setState:u}=t;u(n,t=>{let{marks:n}=t,c=n.map(t=>{if("legends"===t.type)return t;let{transform:n=[]}=t,c=n.findIndex(t=>{let{type:e}=t;return e.startsWith("group")||e.startsWith("bin")}),u=[...n];u.splice(c+1,0,{type:"filter",[r]:{value:i,ordinal:a}});let f=Object.fromEntries(o.map(t=>[t,{domain:e.scale[t].getOptions().domain}]));return(0,A.Z)({},t,Object.assign(Object.assign({transform:u,scale:f},!a&&{animate:!1}),{legend:!s&&Object.fromEntries(l.map(t=>[t,{preserve:!0}]))}))});return Object.assign(Object.assign({},t),{marks:c})}),yield c()})}function sx(t,e){for(let n of t)sb(n,Object.assign(Object.assign({},e),{facet:!0}))}var sO=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function sw(t,e){for(let[n,r]of Object.entries(e))t.style(n,r)}let s_=eK(t=>{let e=t.attributes,{x:n,y:r,width:i,height:a,class:o,renders:l={},handleSize:s=10,document:c}=e,u=sO(e,["x","y","width","height","class","renders","handleSize","document"]);if(!c||void 0===i||void 0===a||void 0===n||void 0===r)return;let f=s/2,d=(t,e,n)=>{t.handle||(t.handle=n.createElement("rect"),t.append(t.handle));let{handle:r}=t;return r.attr(e),r},h=tB(tZ(u,"handleNW","handleNE"),"handleN"),{render:p=d}=h,g=sO(h,["render"]),m=tB(u,"handleE"),{render:y=d}=m,v=sO(m,["render"]),b=tB(tZ(u,"handleSE","handleSW"),"handleS"),{render:x=d}=b,O=sO(b,["render"]),w=tB(u,"handleW"),{render:_=d}=w,k=sO(w,["render"]),M=tB(u,"handleNW"),{render:C=d}=M,j=sO(M,["render"]),A=tB(u,"handleNE"),{render:S=d}=A,E=sO(A,["render"]),P=tB(u,"handleSE"),{render:R=d}=P,T=sO(P,["render"]),L=tB(u,"handleSW"),{render:I=d}=L,N=sO(L,["render"]),B=(t,e)=>{let{id:n}=t,r=e(t,t.attributes,c);r.id=n,r.style.draggable=!0},D=t=>()=>{let e=eK(e=>B(e,t));return new e({})},Z=tW(t).attr("className",o).style("transform","translate(".concat(n,", ").concat(r,")")).style("draggable",!0);Z.maybeAppend("selection","rect").style("draggable",!0).style("fill","transparent").call(sw,Object.assign(Object.assign({width:i,height:a},tZ(u,"handle")),{transform:void 0})),Z.maybeAppend("handle-n",D(p)).style("x",f).style("y",-f).style("width",i-s).style("height",s).style("fill","transparent").call(sw,g),Z.maybeAppend("handle-e",D(y)).style("x",i-f).style("y",f).style("width",s).style("height",a-s).style("fill","transparent").call(sw,v),Z.maybeAppend("handle-s",D(x)).style("x",f).style("y",a-f).style("width",i-s).style("height",s).style("fill","transparent").call(sw,O),Z.maybeAppend("handle-w",D(_)).style("x",-f).style("y",f).style("width",s).style("height",a-s).style("fill","transparent").call(sw,k),Z.maybeAppend("handle-nw",D(C)).style("x",-f).style("y",-f).style("width",s).style("height",s).style("fill","transparent").call(sw,j),Z.maybeAppend("handle-ne",D(S)).style("x",i-f).style("y",-f).style("width",s).style("height",s).style("fill","transparent").call(sw,E),Z.maybeAppend("handle-se",D(R)).style("x",i-f).style("y",a-f).style("width",s).style("height",s).style("fill","transparent").call(sw,T),Z.maybeAppend("handle-sw",D(I)).style("x",-f).style("y",a-f).style("width",s).style("height",s).style("fill","transparent").call(sw,N)});function sk(t,e){var{brushed:n=()=>{},brushended:r=()=>{},brushcreated:i=()=>{},brushstarted:a=()=>{},brushupdated:o=()=>{},extent:l=function(t){let{width:e,height:n}=t.getBBox();return[0,0,e,n]}(t),brushRegion:s=(t,e,n,r,i)=>[t,e,n,r],reverse:c=!1,fill:u="#777",fillOpacity:f="0.3",stroke:d="#fff",selectedHandles:h=["handle-n","handle-e","handle-s","handle-w","handle-nw","handle-ne","handle-se","handle-sw"]}=e,p=sO(e,["brushed","brushended","brushcreated","brushstarted","brushupdated","extent","brushRegion","reverse","fill","fillOpacity","stroke","selectedHandles"]);let g=null,m=null,y=null,v=null,b=null,x=!1,[O,w,_,k]=l;lL(t,"crosshair"),t.style.draggable=!0;let M=(t,e,n)=>{if(a(n),v&&v.remove(),b&&b.remove(),g=[t,e],c)return C();j()},C=()=>{b=new tb.y$({style:Object.assign(Object.assign({},p),{fill:u,fillOpacity:f,stroke:d,pointerEvents:"none"})}),v=new s_({style:{x:0,y:0,width:0,height:0,draggable:!0,document:t.ownerDocument},className:"mask"}),t.appendChild(b),t.appendChild(v)},j=()=>{v=new s_({style:Object.assign(Object.assign({document:t.ownerDocument,x:0,y:0},p),{fill:u,fillOpacity:f,stroke:d,draggable:!0}),className:"mask"}),t.appendChild(v)},A=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];v&&v.remove(),b&&b.remove(),g=null,m=null,y=null,x=!1,v=null,b=null,r(t)},S=function(t,e){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],[i,a,o,u]=function(t,e,n,r,i){let[a,o,l,s]=i;return[Math.max(a,Math.min(t,n)),Math.max(o,Math.min(e,r)),Math.min(l,Math.max(t,n)),Math.min(s,Math.max(e,r))]}(t[0],t[1],e[0],e[1],l),[f,d,h,p]=s(i,a,o,u,l);return c?P(f,d,h,p):E(f,d,h,p),n(f,d,h,p,r),[f,d,h,p]},E=(t,e,n,r)=>{v.style.x=t,v.style.y=e,v.style.width=n-t,v.style.height=r-e},P=(t,e,n,r)=>{b.style.d="\n M".concat(O,",").concat(w,"L").concat(_,",").concat(w,"L").concat(_,",").concat(k,"L").concat(O,",").concat(k,"Z\n M").concat(t,",").concat(e,"L").concat(t,",").concat(r,"L").concat(n,",").concat(r,"L").concat(n,",").concat(e,"Z\n "),v.style.x=t,v.style.y=e,v.style.width=n-t,v.style.height=r-e},R=t=>{let e=(t,e,n,r,i)=>t+ei?i-n:t,n=t[0]-y[0],r=t[1]-y[1],i=e(n,g[0],m[0],O,_),a=e(r,g[1],m[1],w,k),o=[g[0]+i,g[1]+a],l=[m[0]+i,m[1]+a];S(o,l)},T={"handle-n":{vector:[0,1,0,0],cursor:"ns-resize"},"handle-e":{vector:[0,0,1,0],cursor:"ew-resize"},"handle-s":{vector:[0,0,0,1],cursor:"ns-resize"},"handle-w":{vector:[1,0,0,0],cursor:"ew-resize"},"handle-nw":{vector:[1,1,0,0],cursor:"nwse-resize"},"handle-ne":{vector:[0,1,1,0],cursor:"nesw-resize"},"handle-se":{vector:[0,0,1,1],cursor:"nwse-resize"},"handle-sw":{vector:[1,0,0,1],cursor:"nesw-resize"}},L=t=>N(t)||I(t),I=t=>{let{id:e}=t;return -1!==h.indexOf(e)&&new Set(Object.keys(T)).has(e)},N=t=>t===v.getElementById("selection"),B=e=>{let{target:n}=e,[r,i]=l_(t,e);if(!v||!L(n)){M(r,i,e),x=!0;return}L(n)&&(y=[r,i])},D=e=>{let{target:n}=e,r=l_(t,e);if(!g)return;if(!y)return S(g,r);if(N(n))return R(r);let[i,a]=[r[0]-y[0],r[1]-y[1]],{id:o}=n;if(T[o]){let[t,e,n,r]=T[o].vector;return S([g[0]+i*t,g[1]+a*e],[m[0]+i*n,m[1]+a*r])}},Z=e=>{if(y){y=null;let{x:t,y:n,width:r,height:i}=v.style;g=[t,n],m=[t+r,n+i],o(t,n,t+r,n+i,e);return}m=l_(t,e);let[n,r,a,l]=S(g,m);x=!1,i(n,r,a,l,e)},z=t=>{let{target:e}=t;v&&!L(e)&&A()},F=e=>{let{target:n}=e;v&&L(n)&&!x?N(n)?lL(t,"move"):I(n)&&lL(t,T[n.id].cursor):lL(t,"crosshair")},$=()=>{lL(t,"default")};return t.addEventListener("dragstart",B),t.addEventListener("drag",D),t.addEventListener("dragend",Z),t.addEventListener("click",z),t.addEventListener("pointermove",F),t.addEventListener("pointerleave",$),{mask:v,move(t,e,n,r){let i=!(arguments.length>4)||void 0===arguments[4]||arguments[4];v||M(t,e,{}),g=[t,e],m=[n,r],S([t,e],[n,r],i)},remove(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];v&&A(t)},destroy(){v&&A(!1),lL(t,"default"),t.removeEventListener("dragstart",B),t.removeEventListener("drag",D),t.removeEventListener("dragend",Z),t.removeEventListener("click",z),t.removeEventListener("pointermove",F),t.removeEventListener("pointerleave",$)}}}function sM(t,e,n){return e.filter(e=>{if(e===t)return!1;let{interaction:r={}}=e.options;return Object.values(r).find(t=>t.brushKey===n)})}function sC(t,e){var{elements:n,selectedHandles:r,siblings:i=t=>[],datum:a,brushRegion:o,extent:l,reverse:s,scale:c,coordinate:u,series:f=!1,key:d=t=>t,bboxOf:h=t=>{let{x:e,y:n,width:r,height:i}=t.style;return{x:e,y:n,width:r,height:i}},state:p={},emitter:g}=e,m=sO(e,["elements","selectedHandles","siblings","datum","brushRegion","extent","reverse","scale","coordinate","series","key","bboxOf","state","emitter"]);let y=n(t),v=i(t),b=v.flatMap(n),x=lE(y,a),O=tB(m,"mask"),{setState:w,removeState:_}=lj(p,x),k=new Map,{width:M,height:C,x:j=0,y:A=0}=h(t),S=()=>{for(let t of[...y,...b])_(t,"active","inactive")},E=(t,e,n,r)=>{var i;for(let t of v)null===(i=t.brush)||void 0===i||i.remove();let a=new Set;for(let i of y){let{min:o,max:l}=i.getLocalBounds(),[s,c]=o,[u,f]=l;!function(t,e){let[n,r,i,a]=t,[o,l,s,c]=e;return!(o>i||sa||c{for(let t of y)_(t,"inactive");for(let t of k.values())t.remove();k.clear()},R=(e,n,r,i)=>{let a=t=>{let e=t.cloneNode();return e.__data__=t.__data__,t.parentNode.appendChild(e),k.set(t,e),e},o=new tb.UL({style:{x:e+j,y:n+A,width:r-e,height:i-n}});for(let e of(t.appendChild(o),y)){let t=k.get(e)||a(e);t.style.clipPath=o,w(e,"inactive"),w(t,"active")}},T=sk(t,Object.assign(Object.assign({},O),{extent:l||[0,0,M,C],brushRegion:o,reverse:s,selectedHandles:r,brushended:t=>{let e=f?P:S;t&&g.emit("brush:remove",{nativeEvent:!0}),e()},brushed:(t,e,n,r,i)=>{let a=oB(t,e,n,r,c,u);i&&g.emit("brush:highlight",{nativeEvent:!0,data:{selection:a}});let o=f?R:E;o(t,e,n,r)},brushcreated:(t,e,n,r,i)=>{let a=oB(t,e,n,r,c,u);g.emit("brush:end",Object.assign(Object.assign({},i),{nativeEvent:!0,data:{selection:a}}))},brushupdated:(t,e,n,r,i)=>{let a=oB(t,e,n,r,c,u);g.emit("brush:end",Object.assign(Object.assign({},i),{nativeEvent:!0,data:{selection:a}}))},brushstarted:t=>{g.emit("brush:start",t)}})),L=t=>{let{nativeEvent:e,data:n}=t;if(e)return;let{selection:r}=n,[i,a,o,l]=function(t,e,n){let{x:r,y:i}=e,[a,o]=t,l=oD(a,r),s=oD(o,i),c=[l[0],s[0]],u=[l[1],s[1]],[f,d]=n.map(c),[h,p]=n.map(u);return[f,d,h,p]}(r,c,u);T.move(i,a,o,l,!1)};g.on("brush:highlight",L);let I=function(){let{nativeEvent:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t||T.remove(!1)};g.on("brush:remove",I);let N=T.destroy.bind(T);return T.destroy=()=>{g.off("brush:highlight",L),g.off("brush:remove",I),N()},T}function sj(t){var{facet:e,brushKey:n}=t,r=sO(t,["facet","brushKey"]);return(t,i,a)=>{let{container:o,view:l,options:s}=t,c=lx(o),u={maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",reverse:!1},f=["active",["inactive",{opacity:.5}]],{scale:d,coordinate:h}=l;if(e){let e=c.getBounds(),n=e.min[0],o=e.min[1],l=e.max[0],s=e.max[1];return sC(c.parentNode.parentNode,Object.assign(Object.assign({elements:()=>lv(t,i),datum:lC(lb(t,i).map(t=>t.view)),brushRegion:(t,e,n,r)=>[t,e,n,r],extent:[n,o,l,s],state:lS(lb(t,i).map(t=>t.options),f),emitter:a,scale:d,coordinate:h,selectedHandles:void 0},u),r))}let p=sC(c,Object.assign(Object.assign({elements:ly,key:t=>t.__data__.key,siblings:()=>sM(t,i,n).map(t=>lx(t.container)),datum:lC([l,...sM(t,i,n).map(t=>t.view)]),brushRegion:(t,e,n,r)=>[t,e,n,r],extent:void 0,state:lS([s,...sM(t,i,n).map(t=>t.options)],f),emitter:a,scale:d,coordinate:h,selectedHandles:void 0},u),r));return c.brush=p,()=>p.destroy()}}function sA(t,e,n,r,i){let[,a,,o]=i;return[t,a,n,o]}function sS(t,e,n,r,i){let[a,,o]=i;return[a,e,o,r]}var sE=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let sP="axis-hot-area";function sR(t){return t.getElementsByClassName("axis")}function sT(t){return t.getElementsByClassName("axis-line")[0]}function sL(t){return t.getElementsByClassName("axis-main-group")[0].getLocalBounds()}function sI(t,e){var{cross:n,offsetX:r,offsetY:i}=e,a=sE(e,["cross","offsetX","offsetY"]);let o=sL(t),l=sT(t),[s]=l.getLocalBounds().min,[c,u]=o.min,[f,d]=o.max,h=(f-c)*2;return{brushRegion:sS,hotZone:new tb.UL({className:sP,style:Object.assign({width:n?h/2:h,transform:"translate(".concat((n?c:s-h/2).toFixed(2),", ").concat(u,")"),height:d-u},a)}),extent:n?(t,e,n,r)=>[-1/0,e,1/0,r]:(t,e,n,i)=>[Math.floor(c-r),e,Math.ceil(f-r),i]}}function sN(t,e){var{offsetY:n,offsetX:r,cross:i=!1}=e,a=sE(e,["offsetY","offsetX","cross"]);let o=sL(t),l=sT(t),[,s]=l.getLocalBounds().min,[c,u]=o.min,[f,d]=o.max,h=d-u;return{brushRegion:sA,hotZone:new tb.UL({className:sP,style:Object.assign({width:f-c,height:i?h:2*h,transform:"translate(".concat(c,", ").concat(i?u:s-h,")")},a)}),extent:i?(t,e,n,r)=>[t,-1/0,n,1/0]:(t,e,r,i)=>[t,Math.floor(u-n),r,Math.ceil(d-n)]}}var sB=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function sD(t){var{hideX:e=!0,hideY:n=!0}=t,r=sB(t,["hideX","hideY"]);return(t,i,a)=>{let{container:o,view:l,options:s,update:c,setState:u}=t,f=lx(o),d=!1,h=!1,p=l,{scale:g,coordinate:m}=l;return function(t,e){var{filter:n,reset:r,brushRegion:i,extent:a,reverse:o,emitter:l,scale:s,coordinate:c,selection:u,series:f=!1}=e,d=sB(e,["filter","reset","brushRegion","extent","reverse","emitter","scale","coordinate","selection","series"]);let h=tB(d,"mask"),{width:p,height:g}=t.getBBox(),m=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300,e=null;return n=>{let{timeStamp:r}=n;return null!==e&&r-e{let{nativeEvent:e,data:r}=t;if(e)return;let{selection:i}=r;n(i,{nativeEvent:!1})};return l.on("brush:filter",b),()=>{y.destroy(),l.off("brush:filter",b),t.removeEventListener("click",v)}}(f,Object.assign(Object.assign({brushRegion:(t,e,n,r)=>[t,e,n,r],selection:(t,e,n,r)=>{let{scale:i,coordinate:a}=p;return oB(t,e,n,r,i,a)},filter:(t,r)=>{var i,o,l,f;return i=this,o=void 0,l=void 0,f=function*(){if(h)return;h=!0;let[i,o]=t;u("brushFilter",t=>{let{marks:r}=t,a=r.map(t=>(0,A.Z)({axis:Object.assign(Object.assign({},e&&{x:{transform:[{type:"hide"}]}}),n&&{y:{transform:[{type:"hide"}]}})},t,{scale:{x:{domain:i,nice:!1},y:{domain:o,nice:!1}}}));return Object.assign(Object.assign({},s),{marks:a,clip:!0})}),a.emit("brush:filter",Object.assign(Object.assign({},r),{data:{selection:[i,o]}}));let l=yield c();p=l.view,h=!1,d=!0},new(l||(l=Promise))(function(t,e){function n(t){try{a(f.next(t))}catch(t){e(t)}}function r(t){try{a(f.throw(t))}catch(t){e(t)}}function a(e){var i;e.done?t(e.value):((i=e.value)instanceof l?i:new l(function(t){t(i)})).then(n,r)}a((f=f.apply(i,o||[])).next())})},reset:t=>{if(h||!d)return;let{scale:e}=l,{x:n,y:r}=e,i=n.getOptions().domain,o=r.getOptions().domain;a.emit("brush:filter",Object.assign(Object.assign({},t),{data:{selection:[i,o]}})),d=!1,p=l,u("brushFilter"),c()},extent:void 0,emitter:a,scale:g,coordinate:m},{maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",unhighlightedOpacity:.5,reverse:!1}),r))}}var sZ=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})};function sz(t){return[t[0],t[t.length-1]]}function sF(t){let{initDomain:e={},className:n="slider",prefix:r="slider",setValue:i=(t,e)=>t.setValues(e),hasState:a=!1,wait:o=50,leading:l=!0,trailing:s=!1,getInitValues:c=t=>{var e;let n=null===(e=null==t?void 0:t.attributes)||void 0===e?void 0:e.values;if(0!==n[0]||1!==n[1])return n}}=t;return(t,u,f)=>{let{container:d,view:h,update:p,setState:g}=t,m=d.getElementsByClassName(n);if(!m.length)return()=>{};let y=!1,{scale:v,coordinate:b,layout:x}=h,{paddingLeft:O,paddingTop:w,paddingBottom:_,paddingRight:k}=x,{x:M,y:C}=v,j=tu(b),S=t=>{let e="vertical"===t?"y":"x",n="vertical"===t?"x":"y";return j?[n,e]:[e,n]},E=new Map,P=new Set,R={x:e.x||M.getOptions().domain,y:e.y||C.getOptions().domain};for(let t of m){let{orientation:e}=t.attributes,[n,u]=S(e),d="".concat(r).concat((0,a$.Z)(n),":filter"),h="x"===n,{ratio:m}=M.getOptions(),{ratio:b}=C.getOptions(),x=t=>{if(t.data){let{selection:e}=t.data,[n=sz(R.x),r=sz(R.y)]=e;return h?[oN(M,n,m),oN(C,r,b)]:[oN(C,r,b),oN(M,n,m)]}let{value:r}=t.detail,i=v[n],a=function(t,e,n){let[r,i]=t,a=n?t=>1-t:t=>t,o=oI(e,a(r),!0),l=oI(e,a(i),!1);return oN(e,[o,l])}(r,i,j&&"horizontal"===e),o=R[u];return[a,o]},T=(0,lV.Z)(e=>sZ(this,void 0,void 0,function*(){let{initValue:i=!1}=e;if(y&&!i)return;y=!0;let{nativeEvent:o=!0}=e,[l,s]=x(e);if(R[n]=l,R[u]=s,o){let t=h?l:s,n=h?s:l;f.emit(d,Object.assign(Object.assign({},e),{nativeEvent:o,data:{selection:[sz(t),sz(n)]}}))}g(t,t=>Object.assign(Object.assign({},function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"x",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"y",{marks:o}=t,l=o.map(t=>{var o,l;return(0,A.Z)({axis:{x:{transform:[{type:"hide"}]},y:{transform:[{type:"hide"}]}}},t,{scale:e,[n]:Object.assign(Object.assign({},(null===(o=t[n])||void 0===o?void 0:o[i])&&{[i]:Object.assign({preserve:!0},r&&{ratio:null})}),(null===(l=t[n])||void 0===l?void 0:l[a])&&{[a]:{preserve:!0}}),animate:!1})});return Object.assign(Object.assign({},t),{marks:l,clip:!0,animate:!1})}(t,{[n]:{domain:l,nice:!1}},r,a,n,u)),{paddingLeft:O,paddingTop:w,paddingBottom:_,paddingRight:k})),yield p(),y=!1}),o,{leading:l,trailing:s}),L=e=>{let{nativeEvent:n}=e;if(n)return;let{data:r}=e,{selection:a}=r,[o,l]=a;t.dispatchEvent(new tb.Aw("valuechange",{data:r,nativeEvent:!1}));let s=h?oD(o,M):oD(l,C);i(t,s)};f.on(d,L),t.addEventListener("valuechange",T),E.set(t,T),P.add([d,L]);let I=c(t);I&&t.dispatchEvent(new tb.Aw("valuechange",{detail:{value:I},nativeEvent:!1,initValue:!0}))}return()=>{for(let[t,e]of E)t.removeEventListener("valuechange",e);for(let[t,e]of P)f.off(t,e)}}}let s$="g2-scrollbar";function sW(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})}var sH=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let sG={backgroundColor:"rgba(0,0,0,0.75)",color:"#fff",width:"max-content",padding:"1px 4px",fontSize:"12px",borderRadius:"2.5px",boxShadow:"0 3px 6px -4px rgba(0,0,0,0.12), 0 6px 16px 0 rgba(0,0,0,0.08), 0 9px 28px 8px rgba(0,0,0,0.05)"};function sq(t){return"text"===t.nodeName&&!!t.isOverflowing()}function sY(t){var{offsetX:e=8,offsetY:n=8}=t,r=sH(t,["offsetX","offsetY"]);return t=>{let{container:i}=t,[a,o]=i.getBounds().min,l=tB(r,"tip"),s=new Set,c=t=>{var r;let{target:c}=t;if(!sq(c)){t.stopPropagation();return}let{offsetX:u,offsetY:f}=t,d=u+e-a,h=f+n-o;if(c.tip){c.tip.style.x=d,c.tip.style.y=h;return}let{text:p}=c.style,g=new tb.k9({className:"poptip",style:{innerHTML:(r=Object.assign(Object.assign({},sG),l),"<".concat("div",' style="').concat(Object.entries(r).map(t=>{let[e,n]=t;return"".concat(e.replace(/([A-Z])/g,"-$1").toLowerCase(),":").concat(n)}).join(";"),'">').concat(p,"")),x:d,y:h}});i.appendChild(g),c.tip=g,s.add(g)},u=t=>{let{target:e}=t;if(!sq(e)){t.stopPropagation();return}e.tip&&(e.tip.remove(),e.tip=null,s.delete(e.tip))};return i.addEventListener("pointerover",c),i.addEventListener("pointerout",u),()=>{i.removeEventListener("pointerover",c),i.removeEventListener("pointerout",u),s.forEach(t=>t.remove())}}}sY.props={reapplyWhenUpdate:!0};var sV=n(69682),sU=n(67728),sQ=n(8359),sX=n(97917),sK=n(63252);function sJ(t){return null==t?null:s0(t)}function s0(t){if("function"!=typeof t)throw Error();return t}function s1(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function s2(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=s3)):void 0===e&&(e=s5);for(var n,r,i,a,o,l=new s8(t),s=[l];n=s.pop();)if((i=e(n.data))&&(o=(i=Array.from(i)).length))for(n.children=i,a=o-1;a>=0;--a)s.push(r=i[a]=new s8(i[a])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(s6)}function s5(t){return t.children}function s3(t){return Array.isArray(t)?t[1]:null}function s4(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function s6(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function s8(t){this.data=t,this.depth=this.height=0,this.parent=null}s8.prototype=s2.prototype={constructor:s8,count:function(){return this.eachAfter(s1)},each:function(t,e){let n=-1;for(let r of this)t.call(e,r,++n,this);return this},eachAfter:function(t,e){for(var n,r,i,a=this,o=[a],l=[],s=-1;a=o.pop();)if(l.push(a),n=a.children)for(r=0,i=n.length;r=0;--r)a.push(n[r]);return this},find:function(t,e){let n=-1;for(let r of this)if(t.call(e,r,++n,this))return r},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return s2(this).eachBefore(s4)},[Symbol.iterator]:function*(){var t,e,n,r,i=this,a=[i];do for(t=a.reverse(),a=[];i=t.pop();)if(yield i,e=i.children)for(n=0,r=e.length;n{var i;let a;return a=(i=`${i=t(e,n,r)}`).length,ca(i,a-1)&&!ca(i,a-2)&&(i=i.slice(0,-1)),"/"===i[0]?i:`/${i}`}),n=e.map(ci),i=new Set(e).add("");for(let t of n)i.has(t)||(i.add(t),e.push(t),n.push(ci(t)),d.push(ct));h=(t,n)=>e[n],p=(t,e)=>n[e]}for(o=0,i=d.length;o=0&&(c=d[t]).data===ct;--t)c.data=null}if(l.parent=s9,l.eachBefore(function(t){t.depth=t.parent.depth+1,--i}).eachBefore(s6),l.parent=null,i>0)throw Error("cycle");return l}return r.id=function(t){return arguments.length?(e=sJ(t),r):e},r.parentId=function(t){return arguments.length?(n=sJ(t),r):n},r.path=function(e){return arguments.length?(t=sJ(e),r):t},r}function ci(t){let e=t.length;if(e<2)return"";for(;--e>1&&!ca(t,e););return t.slice(0,e)}function ca(t,e){if("/"===t[e]){let n=0;for(;e>0&&"\\"===t[--e];)++n;if((1&n)==0)return!0}return!1}function co(t,e,n,r,i){var a,o,l=t.children,s=l.length,c=Array(s+1);for(c[0]=o=a=0;a=n-1){var u=l[e];u.x0=i,u.y0=a,u.x1=o,u.y1=s;return}for(var f=c[e],d=r/2+f,h=e+1,p=n-1;h>>1;c[g]s-a){var v=r?(i*y+o*m)/r:o;t(e,h,m,i,a,v,s),t(h,n,y,v,a,o,s)}else{var b=r?(a*y+s*m)/r:s;t(e,h,m,i,a,o,b),t(h,n,y,i,b,o,s)}}(0,s,t.value,e,n,r,i)}function cl(t,e,n,r,i){for(var a,o=t.children,l=-1,s=o.length,c=t.value&&(r-e)/t.value;++ld&&(d=l),(h=Math.max(d/(m=u*u*g),m/f))>p){u-=l;break}p=h}y.push(o={value:u,dice:s1?e:1)},n}(cu),ch=function t(e){function n(t,n,r,i,a){if((o=t._squarify)&&o.ratio===e)for(var o,l,s,c,u,f=-1,d=o.length,h=t.value;++f1?e:1)},n}(cu);function cp(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function cg(){return 0}function cm(t){return function(){return t}}function cy(t,e,n){var r;let{value:i}=n,a=function(t,e){let n={treemapBinary:co,treemapDice:cl,treemapSlice:cs,treemapSliceDice:cc,treemapSquarify:cd,treemapResquarify:ch},r="treemapSquarify"===t?n[t].ratio(e):n[t];if(!r)throw TypeError("Invalid tile method!");return r}(e.tile,e.ratio),o=(r=e.path,Array.isArray(t)?"function"==typeof r?cr().path(r)(t):cr()(t):s2(t));(0,oO.Z)(t)?function t(e){let n=(0,sU.Z)(e,["data","name"]);n.replaceAll&&(e.path=n.replaceAll(".","/").split("/")),e.children&&e.children.forEach(e=>{t(e)})}(o):function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[e.data.name];e.id=e.id||e.data.name,e.path=n,e.children&&e.children.forEach(r=>{r.id="".concat(e.id,"/").concat(r.data.name),r.path=[...n,r.data.name],t(r,r.path)})}(o),i?o.sum(t=>e.ignoreParentValue&&t.children?0:ez(i)(t)).sort(e.sort):o.count(),(function(){var t=cd,e=!1,n=1,r=1,i=[0],a=cg,o=cg,l=cg,s=cg,c=cg;function u(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(f),i=[0],e&&t.eachBefore(cp),t}function f(e){var n=i[e.depth],r=e.x0+n,u=e.y0+n,f=e.x1-n,d=e.y1-n;fObject.assign(t,{id:t.id.replace(/^\//,""),x:[t.x0,t.x1],y:[t.y0,t.y1]})),s=l.filter("function"==typeof e.layer?e.layer:t=>t.height===e.layer);return[s,l]}var cv=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let cb={breadCrumbFill:"rgba(0, 0, 0, 0.85)",breadCrumbFontSize:12,breadCrumbY:12,activeFill:"rgba(0, 0, 0, 0.5)"};var cx=n(28036),cO=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})},cw=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let c_={pointR:6,pointStrokeWidth:1,pointStroke:"#888",pointActiveStroke:"#f5f5f5",pathStroke:"#888",pathLineDash:[3,4],labelFontSize:12,labelFill:"#888",labelStroke:"#fff",labelLineWidth:1,labelY:-6,labelX:2},ck="movePoint",cM=t=>{let e=t.target,{markType:n}=e;"line"===n&&(e.attr("_lineWidth",e.attr("lineWidth")||1),e.attr("lineWidth",e.attr("_lineWidth")+3)),"interval"===n&&(e.attr("_opacity",e.attr("opacity")||1),e.attr("opacity",.7*e.attr("_opacity")))},cC=t=>{let e=t.target,{markType:n}=e;"line"===n&&e.attr("lineWidth",e.attr("_lineWidth")),"interval"===n&&e.attr("opacity",e.attr("_opacity"))},cj=(t,e,n)=>e.map(e=>{let r=["x","color"].reduce((r,i)=>{let a=n[i];return a?e[a]===t[a]&&r:r},!0);return r?Object.assign(Object.assign({},e),t):e}),cA=t=>{let e=(0,sU.Z)(t,["__data__","y"]),n=(0,sU.Z)(t,["__data__","y1"]),r=n-e,{__data__:{data:i,encode:a,transform:o},childNodes:l}=t.parentNode,s=(0,sQ.Z)(o,t=>{let{type:e}=t;return"normalizeY"===e}),c=(0,sU.Z)(a,["y","field"]),u=i[l.indexOf(t)][c];return function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return s||e?t/(1-t)/(r/(1-r))*u:t}},cS=(t,e)=>{let n=(0,sU.Z)(t,["__data__","seriesItems",e,"0","value"]),r=(0,sU.Z)(t,["__data__","seriesIndex",e]),{__data__:{data:i,encode:a,transform:o}}=t.parentNode,l=(0,sQ.Z)(o,t=>{let{type:e}=t;return"normalizeY"===e}),s=(0,sU.Z)(a,["y","field"]),c=i[r][s];return t=>l?1===n?t:t/(1-t)/(n/(1-n))*c:t},cE=(t,e,n)=>{t.forEach((t,r)=>{t.attr("stroke",e[1]===r?n.activeStroke:n.stroke)})},cP=(t,e,n,r)=>{let i=new tb.y$({style:n}),a=new tb.xv({style:r});return e.appendChild(a),t.appendChild(i),[i,a]},cR=(t,e)=>{let n=(0,sU.Z)(t,["options","range","indexOf"]);if(!n)return;let r=t.options.range.indexOf(e);return t.sortedDomain[r]},cT=(t,e,n)=>{let r=lN(t,e),i=lN(t,n),a=i/r,o=t[0]+(e[0]-t[0])*a,l=t[1]+(e[1]-t[1])*a;return[o,l]};var cL=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function cI(t){return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;ie.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let cZ=()=>t=>{let{children:e}=t;if(!Array.isArray(e))return[];let{x:n=0,y:r=0,width:i,height:a,data:o}=t;return e.map(t=>{var{data:e,x:l,y:s,width:c,height:u}=t;return Object.assign(Object.assign({},cD(t,["data","x","y","width","height"])),{data:cB(e,o),x:null!=l?l:n,y:null!=s?s:r,width:null!=c?c:i,height:null!=u?u:a})})};cZ.props={};var cz=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let cF=()=>t=>{let{children:e}=t;if(!Array.isArray(e))return[];let{direction:n="row",ratio:r=e.map(()=>1),padding:i=0,data:a}=t,[o,l,s,c]="col"===n?["y","height","width","x"]:["x","width","height","y"],u=r.reduce((t,e)=>t+e),f=t[l]-i*(e.length-1),d=r.map(t=>f*(t/u)),h=[],p=t[o]||0;for(let n=0;n1?e-1:0),r=1;re.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let cH=cI(t=>{let{encode:e,data:n,scale:r,shareSize:i=!1}=t,{x:a,y:o}=e,l=(t,e)=>{var a;if(void 0===t||!i)return{};let o=tk(n,e=>e[t]),l=(null===(a=null==r?void 0:r[e])||void 0===a?void 0:a.domain)||Array.from(o.keys()),s=l.map(t=>o.has(t)?o.get(t).length:1);return{domain:l,flex:s}};return{scale:{x:Object.assign(Object.assign({paddingOuter:0,paddingInner:.1,guide:void 0===a?null:{position:"top"}},void 0===a&&{paddingInner:0}),l(a,"x")),y:Object.assign(Object.assign({range:[0,1],paddingOuter:0,paddingInner:.1,guide:void 0===o?null:{position:"right"}},void 0===o&&{paddingInner:0}),l(o,"y"))}}}),cG=cN(t=>{let e,n,r;let{data:i,scale:a,legend:o}=t,l=[t];for(;l.length;){let t=l.shift(),{children:i,encode:a={},scale:o={},legend:s={}}=t,{color:c}=a,{color:u}=o,{color:f}=s;void 0!==c&&(e=c),void 0!==u&&(n=u),void 0!==f&&(r=f),Array.isArray(i)&&l.push(...i)}let s="string"==typeof e?e:"",[c,u]=(()=>{var t;let n=null===(t=null==a?void 0:a.color)||void 0===t?void 0:t.domain;if(void 0!==n)return[n];if(void 0===e)return[void 0];let r="function"==typeof e?e:t=>t[e],o=i.map(r);return o.some(t=>"number"==typeof t)?[t5(o)]:[Array.from(new Set(o)),"ordinal"]})();return Object.assign({encode:{color:{type:"column",value:null!=c?c:[]}},scale:{color:(0,A.Z)({},n,{domain:c,type:u})}},void 0===o&&{legend:{color:(0,A.Z)({title:s},r)}})}),cq=cI(()=>({animate:{enterType:"fadeIn"}})),cY=cN(()=>({frame:!1,encode:{shape:"hollow"},style:{lineWidth:0}})),cV=cN(()=>({type:"cell"})),cU=cN(t=>{let{data:e}=t;return{data:{type:"inline",value:e,transform:[{type:"custom",callback:()=>{let{data:e,encode:n}=t,{x:r,y:i}=n,a=r?Array.from(new Set(e.map(t=>t[r]))):[],o=i?Array.from(new Set(e.map(t=>t[i]))):[];return(()=>{if(a.length&&o.length){let t=[];for(let e of a)for(let n of o)t.push({[r]:e,[i]:n});return t}return a.length?a.map(t=>({[r]:t})):o.length?o.map(t=>({[i]:t})):void 0})()}}]}}}),cQ=cN(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cX,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:cJ,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},{data:a,encode:o,children:l,scale:s,x:c=0,y:u=0,shareData:f=!1,key:d}=t,{value:h}=a,{x:p,y:g}=o,{color:m}=s,{domain:y}=m;return{children:(t,a,o)=>{let{x:s,y:m}=a,{paddingLeft:v,paddingTop:b,marginLeft:x,marginTop:O}=o,{domain:w}=s.getOptions(),{domain:_}=m.getOptions(),k=t4(t),M=t.map(e),C=t.map(t=>{let{x:e,y:n}=t;return[s.invert(e),m.invert(n)]}),j=C.map(t=>{let[e,n]=t;return t=>{let{[p]:r,[g]:i}=t;return(void 0===p||r===e)&&(void 0===g||i===n)}}),S=j.map(t=>h.filter(t)),E=f?i1(S,t=>t.length):void 0,P=C.map(t=>{let[e,n]=t;return{columnField:p,columnIndex:w.indexOf(e),columnValue:e,columnValuesLength:w.length,rowField:g,rowIndex:_.indexOf(n),rowValue:n,rowValuesLength:_.length}}),R=P.map(t=>Array.isArray(l)?l:[l(t)].flat(1));return k.flatMap(t=>{let[e,a,o,l]=M[t],s=P[t],f=S[t],m=R[t];return m.map(m=>{var w,_,{scale:k,key:M,facet:C=!0,axis:j={},legend:S={}}=m,P=cW(m,["scale","key","facet","axis","legend"]);let R=(null===(w=null==k?void 0:k.y)||void 0===w?void 0:w.guide)||j.y,T=(null===(_=null==k?void 0:k.x)||void 0===_?void 0:_.guide)||j.x,L=C?f:0===f.length?[]:h,I={x:c1(T,n)(s,L),y:c1(R,r)(s,L)};return Object.assign(Object.assign({key:"".concat(M,"-").concat(t),data:L,margin:0,x:e+v+c+x,y:a+b+u+O,parentKey:d,width:o,height:l,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!!L.length,dataDomain:E,scale:(0,A.Z)({x:{tickCount:p?5:void 0},y:{tickCount:g?5:void 0}},k,{color:{domain:y}}),axis:(0,A.Z)({},j,I),legend:!1},P),i)})})}}});function cX(t){let{points:e}=t;return tX(e)}function cK(t,e){return e.length?(0,A.Z)({title:!1,tick:null,label:null},t):(0,A.Z)({title:!1,tick:null,label:null,grid:null},t)}function cJ(t){return(e,n)=>{let{rowIndex:r,rowValuesLength:i,columnIndex:a,columnValuesLength:o}=e;if(r!==i-1)return cK(t,n);let l=n.length?void 0:null;return(0,A.Z)({title:a===o-1&&void 0,grid:l},t)}}function c0(t){return(e,n)=>{let{rowIndex:r,columnIndex:i}=e;if(0!==i)return cK(t,n);let a=n.length?void 0:null;return(0,A.Z)({title:0===r&&void 0,grid:a},t)}}function c1(t,e){return"function"==typeof t?t:null===t||!1===t?()=>null:e(t)}let c2=()=>t=>{let e=c$.of(t).call(cV).call(cG).call(cq).call(cH).call(cY).call(cU).call(cQ).value();return[e]};c2.props={};var c5=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let c3=cI(t=>({scale:{x:{guide:null,paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),c4=cN(t=>{let{data:e,children:n,x:r=0,y:i=0,key:a}=t;return{children:(t,o,l)=>{let{x:s,y:c}=o,{paddingLeft:u,paddingTop:f,marginLeft:d,marginTop:h}=l,{domain:p}=s.getOptions(),{domain:g}=c.getOptions(),m=t4(t),y=t.map(t=>{let{points:e}=t;return tX(e)}),v=t.map(t=>{let{x:e,y:n}=t;return[s.invert(e),c.invert(n)]}),b=v.map(t=>{let[e,n]=t;return{columnField:e,columnIndex:p.indexOf(e),columnValue:e,columnValuesLength:p.length,rowField:n,rowIndex:g.indexOf(n),rowValue:n,rowValuesLength:g.length}}),x=b.map(t=>Array.isArray(n)?n:[n(t)].flat(1));return m.flatMap(t=>{let[n,o,l,s]=y[t],[c,p]=v[t],g=b[t],m=x[t];return m.map(m=>{var y,v;let{scale:b,key:x,encode:O,axis:w,interaction:_}=m,k=c5(m,["scale","key","encode","axis","interaction"]),M=null===(y=null==b?void 0:b.y)||void 0===y?void 0:y.guide,C=null===(v=null==b?void 0:b.x)||void 0===v?void 0:v.guide,j={x:("function"==typeof C?C:null===C?()=>null:(t,e)=>{let{rowIndex:n,rowValuesLength:r}=t;if(n!==r-1)return cK(C,e)})(g,e),y:("function"==typeof M?M:null===M?()=>null:(t,e)=>{let{columnIndex:n}=t;if(0!==n)return cK(M,e)})(g,e)};return Object.assign({data:e,parentKey:a,key:"".concat(x,"-").concat(t),x:n+u+r+d,y:o+f+i+h,width:l,height:s,margin:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!0,scale:(0,A.Z)({x:{facet:!1},y:{facet:!1}},b),axis:(0,A.Z)({x:{tickCount:5},y:{tickCount:5}},w,j),legend:!1,encode:(0,A.Z)({},O,{x:c,y:p}),interaction:(0,A.Z)({},_,{legendFilter:!1})},k)})})}}}),c6=cN(t=>{let{encode:e}=t,n=c5(t,["encode"]),{position:r=[],x:i=r,y:a=[...r].reverse()}=e,o=c5(e,["position","x","y"]),l=[];for(let t of[i].flat(1))for(let e of[a].flat(1))l.push({$x:t,$y:e});return Object.assign(Object.assign({},n),{data:l,encode:Object.assign(Object.assign({},o),{x:"$x",y:"$y"}),scale:Object.assign(Object.assign({},1===[i].flat(1).length&&{x:{paddingInner:0}}),1===[a].flat(1).length&&{y:{paddingInner:0}})})});var c8=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let c9=cI(t=>({scale:{x:{guide:{type:"axisArc"},paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),c7=cI(t=>({coordinate:{type:"polar"}})),ut=t=>{let{encode:e}=t,n=c8(t,["encode"]),{position:r}=e;return Object.assign(Object.assign({},n),{encode:{x:r}})};function ue(t){return t=>null}function un(t){let{points:e}=t,[n,r,i,a]=e,o=tY(n,a),l=tG(n,a),s=tG(r,i),c=tQ(l,s),u=1/Math.sin(c/2),f=o/(1+u),d=f*Math.sqrt(2),[h,p]=i,g=tU(l),m=g+c/2,y=f*u,v=h+y*Math.sin(m),b=p-y*Math.cos(m);return[v-d/2,b-d/2,d,d]}let ur=()=>t=>{let{children:e=[],duration:n=1e3,iterationCount:r=1,direction:i="normal",easing:a="ease-in-out-sine"}=t,o=e.length;if(!Array.isArray(e)||0===o)return[];let{key:l}=e[0],s=e.map(t=>Object.assign(Object.assign({},t),{key:l})).map(t=>(function(t,e,n){let r=[t];for(;r.length;){let t=r.pop();t.animate=(0,A.Z)({enter:{duration:e},update:{duration:e,easing:n,type:"morphing",fill:"both"},exit:{type:"fadeOut",duration:e}},t.animate||{});let{children:i}=t;Array.isArray(i)&&r.push(...i)}return t})(t,n,a));return function*(){let t,e=0;for(;"infinite"===r||e=e)&&(n=e,r=i);else for(let a of t)null!=(a=e(a,++i,t))&&(n=a)&&(n=a,r=i);return r}function ua(t,e,n){let{encode:r}=n;if(null===t)return[e];let i=(Array.isArray(t)?t:[t]).map(t=>{var e;return[t,null===(e=T(r,t))||void 0===e?void 0:e[0]]}).filter(t=>{let[,e]=t;return tN(e)});return Array.from(tk(e,t=>i.map(e=>{let[,n]=e;return n[t]}).join("-")).values())}function uo(t){return Array.isArray(t)?(e,n,r)=>(n,r)=>t.reduce((t,i)=>0!==t?t:ow(e[n][i],e[r][i]),0):"function"==typeof t?(e,n,r)=>uh(n=>t(e[n])):"series"===t?uc:"value"===t?uu:"sum"===t?uf:"maxIndex"===t?ud:null}function ul(t,e){for(let n of t)n.sort(e)}function us(t,e){return(null==e?void 0:e.domain)||Array.from(new Set(t))}function uc(t,e,n){return uh(t=>n[t])}function uu(t,e,n){return uh(t=>e[t])}function uf(t,e,n){let r=t4(t),i=Array.from(tk(r,t=>n[+t]).entries()),a=new Map(i.map(t=>{let[n,r]=t;return[n,r.reduce((t,n)=>t+ +e[n])]}));return uh(t=>a.get(n[t]))}function ud(t,e,n){let r=t4(t),i=Array.from(tk(r,t=>n[+t]).entries()),a=new Map(i.map(t=>{let[n,r]=t;return[n,ui(r,t=>e[t])]}));return uh(t=>a.get(n[t]))}function uh(t){return(e,n)=>ow(t(e),t(n))}ur.props={};let up=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",orderBy:n=null,reverse:r=!1,y:i="y",y1:a="y1",series:o=!0}=t;return(t,l)=>{var s;let{data:c,encode:u,style:f={}}=l,[d,h]=T(u,"y"),[p,g]=T(u,"y1"),[m]=o?L(u,"series","color"):T(u,"color"),y=ua(e,t,l),v=null!==(s=uo(n))&&void 0!==s?s:()=>null,b=v(c,d,m);b&&ul(y,b);let x=Array(t.length),O=Array(t.length),w=Array(t.length),_=[],k=[];for(let t of y){r&&t.reverse();let e=p?+p[t[0]]:0,n=[],i=[];for(let r of t){let t=w[r]=+d[r]-e;t<0?i.push(r):t>=0&&n.push(r)}let a=n.length>0?n:i,o=i.length>0?i:n,l=n.length-1,s=0;for(;l>0&&0===d[a[l]];)l--;for(;s0?u=x[t]=(O[t]=u)+e:x[t]=O[t]=u}}let M=new Set(_),C=new Set(k),j="y"===i?x:O,P="y"===a?x:O;return[t,(0,A.Z)({},l,{encode:{y0:E(d,h),y:S(j,h),y1:S(P,g)},style:Object.assign({first:(t,e)=>M.has(e),last:(t,e)=>C.has(e)},f)})]}};function ug(t,e){let n=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&++n;else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(i=+i)>=i&&++n}return n}function um(t,e){let n=function(t,e){let n,r=0,i=0,a=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(n=e-i,i+=n/++r,a+=n*(e-i));else{let o=-1;for(let l of t)null!=(l=e(l,++o,t))&&(l=+l)>=l&&(n=l-i,i+=n/++r,a+=n*(l-i))}if(r>1)return a/(r-1)}(t,e);return n?Math.sqrt(n):n}up.props={};var uy=Array.prototype,uv=uy.slice;uy.map;let ub=Math.sqrt(50),ux=Math.sqrt(10),uO=Math.sqrt(2);function uw(t,e,n){let r,i,a;let o=(e-t)/Math.max(0,n),l=Math.floor(Math.log10(o)),s=o/Math.pow(10,l),c=s>=ub?10:s>=ux?5:s>=uO?2:1;return(l<0?(r=Math.round(t*(a=Math.pow(10,-l)/c)),i=Math.round(e*a),r/ae&&--i,a=-a):(r=Math.round(t/(a=Math.pow(10,l)*c)),i=Math.round(e/a),r*ae&&--i),in;){if(r-n>600){let a=r-n+1,o=e-n+1,l=Math.log(a),s=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*s*(a-s)/a)*(o-a/2<0?-1:1),u=Math.max(n,Math.floor(e-o*s/a+c)),f=Math.min(r,Math.floor(e+(a-o)*s/a+c));uM(t,e,u,f,i)}let a=t[e],o=n,l=r;for(uC(t,n,e),i(t[r],a)>0&&uC(t,n,r);oi(t[o],a);)++o;for(;i(t[l],a)>0;)--l}0===i(t[n],a)?uC(t,n,l):uC(t,++l,r),l<=e&&(n=l+1),e<=l&&(r=l-1)}return t}function uC(t,e,n){let r=t[e];t[e]=t[n],t[n]=r}function uj(t,e,n){if(!(!(r=(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let n=-1;for(let r of t)null!=(r=e(r,++n,t))&&(r=+r)>=r&&(yield r)}}(t,n))).length)||isNaN(e=+e))){if(e<=0||r<2)return i0(t);if(e>=1)return i1(t);var r,i=(r-1)*e,a=Math.floor(i),o=i1(uM(t,a).subarray(0,a+1));return o+(i0(t.subarray(a+1))-o)*(i-a)}}function uA(t,e){let n=0;if(void 0===e)for(let e of t)(e=+e)&&(n+=e);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&(n+=i)}return n}var uS=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function uE(t){return e=>null===e?t:"".concat(t," of ").concat(e)}function uP(){let t=uE("mean");return[(t,e)=>lK(t,t=>+e[t]),t]}function uR(){let t=uE("median");return[(t,e)=>uj(t,.5,t=>+e[t]),t]}function uT(){let t=uE("max");return[(t,e)=>i1(t,t=>+e[t]),t]}function uL(){let t=uE("min");return[(t,e)=>i0(t,t=>+e[t]),t]}function uI(){let t=uE("count");return[(t,e)=>t.length,t]}function uN(){let t=uE("sum");return[(t,e)=>uA(t,t=>+e[t]),t]}function uB(){let t=uE("first");return[(t,e)=>e[t[0]],t]}function uD(){let t=uE("last");return[(t,e)=>e[t[t.length-1]],t]}let uZ=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e}=t,n=uS(t,["groupBy"]);return(t,r)=>{let{data:i,encode:a}=r,o=e(t,r);if(!o)return[t,r];let l=(t,e)=>{if(t)return t;let{from:n}=e;if(!n)return t;let[,r]=T(a,n);return r},s=Object.entries(n).map(t=>{let[e,n]=t,[r,s]=function(t){if("function"==typeof t)return[t,null];let e={mean:uP,max:uT,count:uI,first:uB,last:uD,sum:uN,min:uL,median:uR}[t];if(!e)throw Error("Unknown reducer: ".concat(t,"."));return e()}(n),[c,u]=T(a,e),f=l(u,n),d=o.map(t=>r(t,null!=c?c:i));return[e,Object.assign(Object.assign({},function(t,e){let n=S(t,e);return Object.assign(Object.assign({},n),{constant:!1})}(d,(null==s?void 0:s(f))||f)),{aggregate:!0})]}),c=Object.keys(a).map(t=>{let[e,n]=T(a,t),r=o.map(t=>e[t[0]]);return[t,S(r,n)]}),u=o.map(t=>i[t[0]]),f=t4(o);return[f,(0,A.Z)({},r,{data:u,encode:Object.fromEntries([...c,...s])})]}};uZ.props={};var uz=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let uF="thresholds",u$=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupChannels:e=["color"],binChannels:n=["x","y"]}=t,r=uz(t,["groupChannels","binChannels"]),i={};return uZ(Object.assign(Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(t=>{let[e]=t;return!e.startsWith(uF)}))),Object.fromEntries(n.flatMap(t=>{let e=e=>{let[n]=e;return+i[t].get(n).split(",")[1]};return e.from=t,[[t,e=>{let[n]=e;return+i[t].get(n).split(",")[0]}],["".concat(t,"1"),e]]}))),{groupBy:(t,a)=>{let{encode:o}=a,l=n.map(t=>{let[e]=T(o,t);return e}),s=tB(r,uF),c=t.filter(t=>l.every(e=>tN(e[t]))),u=[...e.map(t=>{let[e]=T(o,t);return e}).filter(tN).map(t=>e=>t[e]),...n.map((t,e)=>{let n=l[e],r=s[t]||function(t){let[e,n]=t5(t);return Math.min(200,function(t,e,n){let r=ug(t),i=um(t);return r&&i?Math.ceil((n-e)*Math.cbrt(r)/(3.49*i)):1}(t,e,n))}(n),a=(function(){var t=t_,e=t5,n=uk;function r(r){Array.isArray(r)||(r=Array.from(r));var i,a,o,l=r.length,s=Array(l);for(i=0;i0?(t=Math.floor(t/i)*i,e=Math.ceil(e/i)*i):i<0&&(t=Math.ceil(t*i)/i,e=Math.floor(e*i)/i),r=i}}(u,f,n)),(d=function(t,e,n){if(e=+e,t=+t,!((n=+n)>0))return[];if(t===e)return[t];let r=e=i))return[];let l=a-i+1,s=Array(l);if(r){if(o<0)for(let t=0;t=f){if(t>=f&&e===t5){let t=u_(u,f,n);isFinite(t)&&(t>0?f=(Math.floor(f/t)+1)*t:t<0&&(f=-((Math.ceil(-(f*t))+1)/t)))}else d.pop()}}for(var h=d.length,p=0,g=h;d[p]<=u;)++p;for(;d[g-1]>f;)--g;(p||g0?d[i-1]:u,m.x1=i0)for(i=0;ie,r):t},r.domain=function(t){var n;return arguments.length?(e="function"==typeof t?t:(n=[t[0],t[1]],()=>n),r):e},r.thresholds=function(t){var e;return arguments.length?(n="function"==typeof t?t:(e=Array.isArray(t)?uv.call(t):t,()=>e),r):n},r})().thresholds(r).value(t=>+n[t])(c),o=new Map(a.flatMap(t=>{let{x0:e,x1:n}=t,r="".concat(e,",").concat(n);return t.map(t=>[t,r])}));return i[t]=o,t=>o.get(t)})];return Array.from(tk(c,t=>u.map(e=>e(t)).join("-")).values())}}))};u$.props={};let uW=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{thresholds:e}=t;return u$(Object.assign(Object.assign({},t),{thresholdsX:e,groupChannels:["color"],binChannels:["x"]}))};uW.props={};var uH=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let uG=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",reverse:n=!1,orderBy:r,padding:i}=t;return uH(t,["groupBy","reverse","orderBy","padding"]),(t,a)=>{let{data:o,encode:l,scale:s}=a,{series:c}=s,[u]=T(l,"y"),[f]=L(l,"series","color"),d=us(f,c),h=(0,A.Z)({},a,{scale:{series:{domain:d,paddingInner:i}}}),p=ua(e,t,a),g=uo(r);if(!g)return[t,(0,A.Z)(h,{encode:{series:S(f)}})];let m=g(o,u,f);m&&ul(p,m);let y=Array(t.length);for(let t of p){n&&t.reverse();for(let e=0;e0&&void 0!==arguments[0]?arguments[0]:{},{padding:e=0,paddingX:n=e,paddingY:r=e,random:i=Math.random}=t;return(t,e)=>{let{encode:a,scale:o}=e,{x:l,y:s}=o,[c]=T(a,"x"),[u]=T(a,"y"),f=uq(c,l,n),d=uq(u,s,r),h=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(i(),...d)),p=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(i(),...f));return[t,(0,A.Z)({scale:{x:{padding:.5},y:{padding:.5}}},e,{encode:{dy:S(h),dx:S(p)}})]}};uY.props={};let uV=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{padding:e=0,random:n=Math.random}=t;return(t,r)=>{let{encode:i,scale:a}=r,{x:o}=a,[l]=T(i,"x"),s=uq(l,o,e),c=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(n(),...s));return[t,(0,A.Z)({scale:{x:{padding:.5}}},r,{encode:{dx:S(c)}})]}};uV.props={};let uU=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{padding:e=0,random:n=Math.random}=t;return(t,r)=>{let{encode:i,scale:a}=r,{y:o}=a,[l]=T(i,"y"),s=uq(l,o,e),c=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(n(),...s));return[t,(0,A.Z)({scale:{y:{padding:.5}}},r,{encode:{dy:S(c)}})]}};uU.props={};var uQ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let uX=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x"}=t;return(t,n)=>{let{encode:r}=n,{x:i}=r,a=uQ(r,["x"]),o=Object.entries(a).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[e]=t;return[e,T(r,e)[0]]}),l=o.map(e=>{let[n]=e;return[n,Array(t.length)]}),s=ua(e,t,n),c=Array(s.length);for(let t=0;to.map(e=>{let[,n]=e;return+n[t]})),[r,i]=t5(n);c[t]=(r+i)/2}let u=Math.max(...c);for(let t=0;t{let[e,n]=t;return[e,S(n,T(r,e)[1])]}))})]}};uX.props={};let uK=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",series:n=!0}=t;return(t,r)=>{let{encode:i}=r,[a]=T(i,"y"),[o,l]=T(i,"y1"),[s]=n?L(i,"series","color"):T(i,"color"),c=ua(e,t,r),u=Array(t.length);for(let t of c){let e=t.map(t=>+a[t]);for(let n=0;ne!==n));u[r]=+a[r]>i?i:a[r]}}return[t,(0,A.Z)({},r,{encode:{y1:S(u,l)}})]}};uK.props={};let uJ=t=>{let{groupBy:e=["x"],reducer:n=(t,e)=>e[t[0]],orderBy:r=null,reverse:i=!1,duration:a}=t;return(t,o)=>{let{encode:l}=o,s=Array.isArray(e)?e:[e],c=s.map(t=>[t,T(l,t)[0]]);if(0===c.length)return[t,o];let u=[t];for(let[,t]of c){let e=[];for(let n of u){let r=Array.from(tk(n,e=>t[e]).values());e.push(...r)}u=e}if(r){let[t]=T(l,r);t&&u.sort((e,r)=>n(e,t)-n(r,t)),i&&u.reverse()}let f=(a||3e3)/u.length,[d]=a?[R(t,f)]:L(l,"enterDuration",R(t,f)),[h]=L(l,"enterDelay",R(t,0)),p=Array(t.length);for(let t=0,e=0;t+d[t]);for(let t of n)p[t]=+h[t]+e;e+=r}return[t,(0,A.Z)({},o,{encode:{enterDuration:P(d),enterDelay:P(p)}})]}};uJ.props={};var u0=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let u1=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",basis:n="max"}=t;return(t,r)=>{let{encode:i,tooltip:a}=r,{x:o}=i,l=u0(i,["x"]),s=Object.entries(l).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[e]=t;return[e,T(i,e)[0]]}),[,c]=s.find(t=>{let[e]=t;return"y"===e}),u=s.map(e=>{let[n]=e;return[n,Array(t.length)]}),f=ua(e,t,r),d="function"==typeof n?n:({min:(t,e)=>i0(t,t=>e[+t]),max:(t,e)=>i1(t,t=>e[+t]),first:(t,e)=>e[t[0]],last:(t,e)=>e[t[t.length-1]],mean:(t,e)=>lK(t,t=>e[+t]),median:(t,e)=>uj(t,.5,t=>e[+t]),sum:(t,e)=>uA(t,t=>e[+t]),deviation:(t,e)=>um(t,t=>e[+t])})[n]||i1;for(let t of f){let e=d(t,c);for(let n of t)for(let t=0;t{let[e,n]=t;return[e,S(n,T(i,e)[1])]}))},!h&&i.y0&&{tooltip:{items:[{channel:"y0"}]}}))]}};function u2(t,e){return[t[0]]}function u5(t,e){let n=t.length-1;return[t[n]]}function u3(t,e){let n=ui(t,t=>e[t]);return[t[n]]}function u4(t,e){let n=lX(t,t=>e[t]);return[t[n]]}u1.props={};let u6=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="series",channel:n,selector:r}=t;return(t,i)=>{let{encode:a}=i,o=ua(e,t,i),[l]=T(a,n),s="function"==typeof r?r:({first:u2,last:u5,max:u3,min:u4})[r]||u2;return[o.flatMap(t=>s(t,l)),i]}};u6.props={};var u8=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let u9=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{selector:e}=t,n=u8(t,["selector"]);return u6(Object.assign({channel:"x",selector:e},n))};u9.props={};var u7=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ft=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{selector:e}=t,n=u7(t,["selector"]);return u6(Object.assign({channel:"y",selector:e},n))};ft.props={};var fe=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let fn=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{channels:e=["x","y"]}=t,n=fe(t,["channels"]);return uZ(Object.assign(Object.assign({},n),{groupBy:(t,n)=>ua(e,t,n)}))};fn.props={};let fr=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return fn(Object.assign(Object.assign({},t),{channels:["x","color","series"]}))};fr.props={};let fi=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return fn(Object.assign(Object.assign({},t),{channels:["y","color","series"]}))};fi.props={};let fa=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return fn(Object.assign(Object.assign({},t),{channels:["color"]}))};fa.props={};var fo=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let fl=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{reverse:e=!1,slice:n,channel:r,ordinal:i=!0}=t,a=fo(t,["reverse","slice","channel","ordinal"]);return(t,o)=>i?function(t,e,n){var r,i;let{reverse:a,slice:o,channel:l}=n,s=fo(n,["reverse","slice","channel"]),{encode:c,scale:u={}}=e,f=null===(r=u[l])||void 0===r?void 0:r.domain,[d]=T(c,l),h=function(t,e,n){let{by:r=t,reducer:i="max"}=e,[a]=T(n,r);if("function"==typeof i)return t=>i(t,a);if("max"===i)return t=>i1(t,t=>+a[t]);if("min"===i)return t=>i0(t,t=>+a[t]);if("sum"===i)return t=>uA(t,t=>+a[t]);if("median"===i)return t=>uj(t,.5,t=>+a[t]);if("mean"===i)return t=>lK(t,t=>+a[t]);if("first"===i)return t=>a[t[0]];if("last"===i)return t=>a[t[t.length-1]];throw Error("Unknown reducer: ".concat(i))}(l,s,c),p=function(t,e,n){if(!Array.isArray(n))return t;let r=new Set(n);return t.filter(t=>r.has(e[t]))}(t,d,f),g=(i=t=>d[t],(2!==h.length?oP(tC(p,h,i),([t,e],[n,r])=>ow(e,r)||ow(t,n)):oP(tk(p,i),([t,e],[n,r])=>h(e,r)||ow(t,n))).map(([t])=>t));a&&g.reverse();let m=o?g.slice(..."number"==typeof o?[0,o]:o):g;return[t,(0,A.Z)(e,{scale:{[l]:{domain:m}}})]}(t,o,Object.assign({reverse:e,slice:n,channel:r},a)):function(t,e,n){let{reverse:r,channel:i}=n,{encode:a}=e,[o]=T(a,i),l=oP(t,t=>o[t]);return r&&l.reverse(),[l,e]}(t,o,Object.assign({reverse:e,slice:n,channel:r},a))};fl.props={};let fs=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return fl(Object.assign(Object.assign({},t),{channel:"x"}))};fs.props={};let fc=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return fl(Object.assign(Object.assign({},t),{channel:"y"}))};fc.props={};let fu=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return fl(Object.assign(Object.assign({},t),{channel:"color"}))};fu.props={};let ff=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{field:e,channel:n="y",reducer:r="sum"}=t;return(t,i)=>{let{data:a,encode:o}=i,[l]=T(o,"x"),s=e?"string"==typeof e?a.map(t=>t[e]):a.map(e):T(o,n)[0],c=function(t,e){if("function"==typeof t)return n=>t(n,e);if("sum"===t)return t=>uA(t,t=>+e[t]);throw Error("Unknown reducer: ".concat(t))}(r,s),u=tj(t,c,t=>l[t]).map(t=>t[1]);return[t,(0,A.Z)({},i,{scale:{x:{flex:u}}})]}};ff.props={};let fd=t=>(e,n)=>[e,(0,A.Z)({},n,{modifier:function(t){let{padding:e=0,direction:n="col"}=t;return(t,r,i)=>{let a=t.length;if(0===a)return[];let{innerWidth:o,innerHeight:l}=i,s=Math.ceil(Math.sqrt(r/(l/o))),c=o/s,u=Math.ceil(r/s),f=u*c;for(;f>l;)s+=1,c=o/s,f=(u=Math.ceil(r/s))*c;let d=l-u*c,h=u<=1?0:d/(u-1),[p,g]=u<=1?[(o-a*c)/(a-1),(l-c)/2]:[0,0];return t.map((t,r)=>{let[i,a,o,l]=tX(t),f="col"===n?r%s:Math.floor(r/u),m="col"===n?Math.floor(r/s):r%u,y=f*c,v=(u-m-1)*c+d,b=(c-e)/o,x=(c-e)/l;return"translate(".concat(y-i+p*f+.5*e,", ").concat(v-a-h*m-g+.5*e,") scale(").concat(b,", ").concat(x,")")})}}(t),axis:!1})];function fh(t,e,n,r){let i,a,o;let l=t.length;if(r>=l||0===r)return t;let s=n=>1*e[t[n]],c=e=>1*n[t[e]],u=[],f=(l-2)/(r-2),d=0;u.push(d);for(let t=0;ti&&(i=a,o=g);u.push(o),d=o}return u.push(l-1),u.map(e=>t[e])}fd.props={};let fp=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{strategy:e="median",thresholds:n=2e3,groupBy:r=["series","color"]}=t,i=function(t){if("function"==typeof t)return t;if("lttb"===t)return fh;let e={first:t=>[t[0]],last:t=>[t[t.length-1]],min:(t,e,n)=>[t[lX(t,t=>n[t])]],max:(t,e,n)=>[t[ui(t,t=>n[t])]],median:(t,e,n)=>[t[function(t,e,n=oC){if(!isNaN(e=+e)){if(r=Float64Array.from(t,(e,r)=>oC(n(t[r],r,t))),e<=0)return lX(r);if(e>=1)return ui(r);var r,i=Uint32Array.from(t,(t,e)=>e),a=r.length-1,o=Math.floor(a*e);return uM(i,o,0,a,(t,e)=>oT(r[t],r[e])),(o=function(t,e=ow){let n;let r=!1;if(1===e.length){let i;for(let a of t){let t=e(a);(r?ow(t,i)>0:0===ow(t,t))&&(n=a,i=t,r=!0)}}else for(let i of t)(r?e(i,n)>0:0===e(i,i))&&(n=i,r=!0);return n}(i.subarray(0,o+1),t=>r[t]))>=0?o:-1}}(t,.5,t=>n[t])]]},n=e[t]||e.median;return(t,e,r,i)=>{let a=Math.max(1,Math.floor(t.length/i)),o=function(t,e){let n=t.length,r=[],i=0;for(;in(t,e,r))}}(e);return(t,e)=>{let{encode:a}=e,o=ua(r,t,e),[l]=T(a,"x"),[s]=T(a,"y");return[o.flatMap(t=>i(t,l,s,n)),e]}};fp.props={};let fg=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e,n)=>{let{encode:r,data:i}=n,a=Object.entries(t).map(t=>{let[e,n]=t,[i]=T(r,e);if(!i)return null;let[a,o=!0]="object"==typeof n?[n.value,n.ordinal]:[n,!0];if("function"==typeof a)return t=>a(i[t]);if(o){let t=Array.isArray(a)?a:[a];return 0===t.length?null:e=>t.includes(i[e])}{let[t,e]=a;return n=>i[n]>=t&&i[n]<=e}}).filter(tN),o=e.filter(t=>a.every(e=>e(t))),l=o.map((t,e)=>e);if(0===a.length){let t=function(t){var e;let n;let{encode:r}=t,i=Object.assign(Object.assign({},t),{encode:Object.assign(Object.assign({},t.encode),{y:Object.assign(Object.assign({},t.encode.y),{value:[]})})}),a=null===(e=null==r?void 0:r.color)||void 0===e?void 0:e.field;if(!r||!a)return i;for(let[t,e]of Object.entries(r))("x"===t||"y"===t)&&e.field===a&&(n=Object.assign(Object.assign({},n),{[t]:Object.assign(Object.assign({},e),{value:[]})}));return n?Object.assign(Object.assign({},t),{encode:Object.assign(Object.assign({},t.encode),n)}):i}(n);return[e,t]}let s=Object.entries(r).map(t=>{let[e,n]=t;return[e,Object.assign(Object.assign({},n),{value:l.map(t=>n.value[o[t]]).filter(t=>void 0!==t)})]});return[l,(0,A.Z)({},n,{encode:Object.fromEntries(s),data:o.map(t=>i[t])})]}};fg.props={};var fm={},fy={};function fv(t){return Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+'] || ""'}).join(",")+"}")}function fb(t){var e=Object.create(null),n=[];return t.forEach(function(t){for(var r in t)r in e||n.push(e[r]=r)}),n}function fx(t,e){var n=t+"",r=n.length;return r{let{value:e,format:n=e.split(".").pop(),delimiter:r=",",autoType:i=!0}=t;return()=>{var t,a,o,l;return t=void 0,a=void 0,o=void 0,l=function*(){let t=yield fetch(e);if("csv"===n){let e=yield t.text();return(function(t){var e=RegExp('["'+t+"\n\r]"),n=t.charCodeAt(0);function r(t,e){var r,i=[],a=t.length,o=0,l=0,s=a<=0,c=!1;function u(){if(s)return fy;if(c)return c=!1,fm;var e,r,i=o;if(34===t.charCodeAt(i)){for(;o++=a?s=!0:10===(r=t.charCodeAt(o++))?c=!0:13===r&&(c=!0,10===t.charCodeAt(o)&&++o),t.slice(i+1,e-1).replace(/""/g,'"')}for(;o9999?"+"+fx(l,6):fx(l,4))+"-"+fx(n.getUTCMonth()+1,2)+"-"+fx(n.getUTCDate(),2)+(o?"T"+fx(r,2)+":"+fx(i,2)+":"+fx(a,2)+"."+fx(o,3)+"Z":a?"T"+fx(r,2)+":"+fx(i,2)+":"+fx(a,2)+"Z":i||r?"T"+fx(r,2)+":"+fx(i,2)+"Z":"")):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,i,a=r(t,function(t,r){var a;if(n)return n(t,r-1);i=t,n=e?(a=fv(t),function(n,r){return e(a(n),r,t)}):fv(t)});return a.columns=i||[],a},parseRows:r,format:function(e,n){return null==n&&(n=fb(e)),[n.map(o).join(t)].concat(i(e,n)).join("\n")},formatBody:function(t,e){return null==e&&(e=fb(t)),i(t,e).join("\n")},formatRows:function(t){return t.map(a).join("\n")},formatRow:a,formatValue:o}})(r).parse(e,i?fO:tP)}if("json"===n)return yield t.json();throw Error("Unknown format: ".concat(n,"."))},new(o||(o=Promise))(function(e,n){function r(t){try{s(l.next(t))}catch(t){n(t)}}function i(t){try{s(l.throw(t))}catch(t){n(t)}}function s(t){var n;t.done?e(t.value):((n=t.value)instanceof o?n:new o(function(t){t(n)})).then(r,i)}s((l=l.apply(t,a||[])).next())})}};f_.props={};let fk=t=>{let{value:e}=t;return()=>e};fk.props={};let fM=t=>{let{fields:e=[]}=t,n=e.map(t=>{if(Array.isArray(t)){let[e,n=!0]=t;return[e,n]}return[t,!0]});return t=>[...t].sort((t,e)=>n.reduce((n,r)=>{let[i,a=!0]=r;return 0!==n?n:a?t[i]e[i]?-1:+(t[i]!==e[i])},0))};fM.props={};let fC=t=>{let{callback:e}=t;return t=>Array.isArray(t)?[...t].sort(e):t};function fj(t){return null!=t&&!Number.isNaN(t)}fC.props={};let fA=t=>{let{callback:e=fj}=t;return t=>t.filter(e)};fA.props={};let fS=t=>{let{fields:e}=t;return t=>t.map(t=>(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.reduce((e,n)=>(n in t&&(e[n]=t[n]),e),{})})(t,e))};fS.props={};let fE=t=>e=>t&&0!==Object.keys(t).length?e.map(e=>Object.entries(e).reduce((e,n)=>{let[r,i]=n;return e[t[r]||r]=i,e},{})):e;fE.props={};let fP=t=>{let{fields:e,key:n="key",value:r="value"}=t;return t=>e&&0!==Object.keys(e).length?t.flatMap(t=>e.map(e=>Object.assign(Object.assign({},t),{[n]:e,[r]:t[e]}))):t};fP.props={};let fR=t=>{let{start:e,end:n}=t;return t=>t.slice(e,n)};fR.props={};let fT=t=>{let{callback:e=tP}=t;return t=>e(t)};fT.props={};let fL=t=>{let{callback:e=tP}=t;return t=>Array.isArray(t)?t.map(e):t};function fI(t){return"string"==typeof t?e=>e[t]:t}fL.props={};let fN=t=>{let{join:e,on:n,select:r=[],as:i=r,unknown:a=NaN}=t,[o,l]=n,s=fI(l),c=fI(o),u=tC(e,t=>{let[e]=t;return e},t=>s(t));return t=>t.map(t=>{let e=u.get(c(t));return Object.assign(Object.assign({},t),r.reduce((t,n,r)=>(t[i[r]]=e?e[n]:a,t),{}))})};fN.props={};var fB=n(12570),fD=n.n(fB);let fZ=t=>{let{field:e,groupBy:n,as:r=["y","size"],min:i,max:a,size:o=10,width:l}=t,[s,c]=r;return t=>{let r=Array.from(tk(t,t=>n.map(e=>t[e]).join("-")).values());return r.map(t=>{let n=fD().create(t.map(t=>t[e]),{min:i,max:a,size:o,width:l}),r=n.map(t=>t.x),u=n.map(t=>t.y);return Object.assign(Object.assign({},t[0]),{[s]:r,[c]:u})})}};fZ.props={};let fz=()=>t=>(console.log("G2 data section:",t),t);fz.props={};let fF=Math.PI/180;function f$(t){return t.text}function fW(){return"serif"}function fH(){return"normal"}function fG(t){return t.value}function fq(){return 90*~~(2*Math.random())}function fY(){return 1}function fV(){}function fU(t){let e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function fQ(t){let e=[],n=-1;for(;++ne.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let f1={fontSize:[20,60],font:"Impact",padding:2,rotate:function(){return(~~(6*Math.random())-3)*30}};function f2(t){return new Promise((e,n)=>{if(t instanceof HTMLImageElement){e(t);return}if("string"==typeof t){let r=new Image;r.crossOrigin="anonymous",r.src=t,r.onload=()=>e(r),r.onerror=()=>{console.error("'image ".concat(t," load failed !!!'")),n()};return}n()})}let f5=(t,e)=>n=>{var r,i,a,o;return r=void 0,i=void 0,a=void 0,o=function*(){let r=Object.assign({},f1,t,{canvas:e.createCanvas}),i=function(){let t=[256,256],e=f$,n=fW,r=fG,i=fH,a=fq,o=fY,l=fU,s=Math.random,c=fV,u=[],f=null,d=1/0,h=fX,p={};return p.start=function(){let[g,m]=t,y=function(t){t.width=t.height=1;let e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2);t.width=2048/e,t.height=2048/e;let n=t.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",n.textBaseline="middle",{context:n,ratio:e}}(h()),v=p.board?p.board:fQ((t[0]>>5)*t[1]),b=u.length,x=[],O=u.map(function(t,l,s){return t.text=e.call(this,t,l,s),t.font=n.call(this,t,l,s),t.style=fH.call(this,t,l,s),t.weight=i.call(this,t,l,s),t.rotate=a.call(this,t,l,s),t.size=~~r.call(this,t,l,s),t.padding=o.call(this,t,l,s),t}).sort(function(t,e){return e.size-t.size}),w=-1,_=p.board?[{x:0,y:0},{x:g,y:m}]:void 0;function k(){let e=Date.now();for(;Date.now()-e>1,e.y=m*(s()+.5)>>1,function(t,e,n,r){if(e.sprite)return;let i=t.context,a=t.ratio;i.clearRect(0,0,2048/a,2048/a);let o=0,l=0,s=0,c=n.length;for(--r;++r>5<<5,c=~~Math.max(Math.abs(a+o),Math.abs(a-o))}else t=t+31>>5<<5;if(c>s&&(s=c),o+t>=2048&&(o=0,l+=s,s=0),l+c>=2048)break;i.translate((o+(t>>1))/a,(l+(c>>1))/a),e.rotate&&i.rotate(e.rotate*fF),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=t,e.height=c,e.xoff=o,e.yoff=l,e.x1=t>>1,e.y1=c>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,o+=t}let u=i.getImageData(0,0,2048/a,2048/a).data,f=[];for(;--r>=0;){if(!(e=n[r]).hasText)continue;let t=e.width,i=t>>5,a=e.y1-e.y0;for(let t=0;t>5),r=u[(l+n)*2048+(o+e)<<2]?1<<31-e%32:0;f[t]|=r,s|=r}s?c=n:(e.y0++,a--,n--,l++)}e.y1=e.y0+c,e.sprite=f.slice(0,(e.y1-e.y0)*i)}}(y,e,O,w),e.hasText&&function(e,n,r){let i=n.x,a=n.y,o=Math.sqrt(t[0]*t[0]+t[1]*t[1]),c=l(t),u=.5>s()?1:-1,f,d=-u,h,p;for(;(f=c(d+=u))&&!(Math.min(Math.abs(h=~~f[0]),Math.abs(p=~~f[1]))>=o);)if(n.x=i+h,n.y=a+p,!(n.x+n.x0<0)&&!(n.y+n.y0<0)&&!(n.x+n.x1>t[0])&&!(n.y+n.y1>t[1])&&(!r||!function(t,e,n){n>>=5;let r=t.sprite,i=t.width>>5,a=t.x-(i<<4),o=127&a,l=32-o,s=t.y1-t.y0,c=(t.y+t.y0)*n+(a>>5),u;for(let t=0;t>>o:0))&e[c+n])return!0;c+=n}return!1}(n,e,t[0]))&&(!r||n.x+n.x1>r[0].x&&n.x+n.x0r[0].y&&n.y+n.y0>5,a=t[0]>>5,o=n.x-(i<<4),l=127&o,s=32-l,c=n.y1-n.y0,u,f=(n.y+n.y0)*a+(o>>5);for(let t=0;t>>l:0);f+=a}return delete n.sprite,!0}return!1}(v,e,_)&&(c.call(null,"word",{cloud:p,word:e}),x.push(e),_?p.hasImage||function(t,e){let n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}(_,e):_=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=t[0]>>1,e.y-=t[1]>>1)}p._tags=x,p._bounds=_,w>=b&&(p.stop(),c.call(null,"end",{cloud:p,words:x,bounds:_}))}return f&&clearInterval(f),f=setInterval(k,0),k(),p},p.stop=function(){return f&&(clearInterval(f),f=null),p},p.createMask=e=>{let n=document.createElement("canvas"),[r,i]=t;if(!r||!i)return;let a=r>>5,o=fQ((r>>5)*i);n.width=r,n.height=i;let l=n.getContext("2d");l.drawImage(e,0,0,e.width,e.height,0,0,r,i);let s=l.getImageData(0,0,r,i).data;for(let t=0;t>5),i=t*r+e<<2,l=s[i]>=250&&s[i+1]>=250&&s[i+2]>=250,c=l?1<<31-e%32:0;o[n]|=c}p.board=o,p.hasImage=!0},p.timeInterval=function(t){d=null==t?1/0:t},p.words=function(t){u=t},p.size=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t=[+e[0],+e[1]]},p.text=function(t){e=fK(t)},p.font=function(t){n=fK(t)},p.fontWeight=function(t){i=fK(t)},p.rotate=function(t){a=fK(t)},p.canvas=function(t){h=fK(t)},p.spiral=function(t){l=fJ[t]||t},p.fontSize=function(t){r=fK(t)},p.padding=function(t){o=fK(t)},p.random=function(t){s=fK(t)},p.on=function(t){c=fK(t)},p}();yield({set(t,e,n){if(void 0===r[t])return this;let a=e?e.call(null,r[t]):r[t];return n?n.call(null,a):"function"==typeof i[t]?i[t](a):i[t]=a,this},setAsync(t,e,n){var a,o,l,s;return a=this,o=void 0,l=void 0,s=function*(){if(void 0===r[t])return this;let a=e?yield e.call(null,r[t]):r[t];return n?n.call(null,a):"function"==typeof i[t]?i[t](a):i[t]=a,this},new(l||(l=Promise))(function(t,e){function n(t){try{i(s.next(t))}catch(t){e(t)}}function r(t){try{i(s.throw(t))}catch(t){e(t)}}function i(e){var i;e.done?t(e.value):((i=e.value)instanceof l?i:new l(function(t){t(i)})).then(n,r)}i((s=s.apply(a,o||[])).next())})}}).set("fontSize",t=>{let e=n.map(t=>t.value);return function(t,e){if("function"==typeof t)return t;if(Array.isArray(t)){let[n,r]=t;if(!e)return()=>(r+n)/2;let[i,a]=e;return a===i?()=>(r+n)/2:t=>{let{value:e}=t;return(r-n)/(a-i)*(e-i)+n}}return()=>t}(t,[i0(e),i1(e)])}).set("font").set("fontStyle").set("fontWeight").set("padding").set("rotate").set("size").set("spiral").set("timeInterval").set("random").set("text").set("on").set("canvas").setAsync("imageMask",f2,i.createMask),i.words([...n]);let a=i.start(),[o,l]=r.size,{_bounds:s=[{x:0,y:0},{x:o,y:l}],_tags:c,hasImage:u}=a,f=c.map(t=>{var{x:e,y:n,font:r}=t;return Object.assign(Object.assign({},f0(t,["x","y","font"])),{x:e+o/2,y:n+l/2,fontFamily:r})}),[{x:d,y:h},{x:p,y:g}]=s,m={text:"",value:0,opacity:0,fontSize:0};return f.push(Object.assign(Object.assign({},m),{x:u?0:d,y:u?0:h}),Object.assign(Object.assign({},m),{x:u?o:p,y:u?l:g})),f},new(a||(a=Promise))(function(t,e){function n(t){try{s(o.next(t))}catch(t){e(t)}}function l(t){try{s(o.throw(t))}catch(t){e(t)}}function s(e){var r;e.done?t(e.value):((r=e.value)instanceof a?r:new a(function(t){t(r)})).then(n,l)}s((o=o.apply(r,i||[])).next())})};function f3(t){let{min:e,max:n}=t;return[[e[0],e[1]],[n[0],n[1]]]}function f4(t,e){let[n,r]=t,[i,a]=e;return n>=i[0]&&n<=a[0]&&r>=i[1]&&r<=a[1]}function f6(){let t=new Map;return[e=>t.get(e),(e,n)=>t.set(e,n)]}function f8(t){let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}function f9(t,e,n){return .2126*f8(t)+.7152*f8(e)+.0722*f8(n)}function f7(t,e){let{r:n,g:r,b:i}=t,{r:a,g:o,b:l}=e,s=f9(n,r,i),c=f9(a,o,l);return(Math.max(s,c)+.05)/(Math.min(s,c)+.05)}f5.props={};let dt=(t,e)=>{let[[n,r],[i,a]]=e,[[o,l],[s,c]]=t,u=0,f=0;return oi&&(u=i-s),la&&(f=a-c),[u,f]};var de=t=>t;function dn(t,e){t&&di.hasOwnProperty(t.type)&&di[t.type](t,e)}var dr={Feature:function(t,e){dn(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r0){for(a=t[--e];e>0&&(a=(n=a)+(r=t[--e]),!(i=r-(a-n))););e>0&&(i<0&&t[e-1]<0||i>0&&t[e-1]>0)&&(n=a+(r=2*i),r==n-a&&(a=n))}return a}}var du=Math.PI,df=du/2,dd=du/4,dh=2*du,dp=180/du,dg=du/180,dm=Math.abs,dy=Math.atan,dv=Math.atan2,db=Math.cos,dx=Math.ceil,dO=Math.exp,dw=Math.log,d_=Math.pow,dk=Math.sin,dM=Math.sign||function(t){return t>0?1:t<0?-1:0},dC=Math.sqrt,dj=Math.tan;function dA(t){return t>1?0:t<-1?du:Math.acos(t)}function dS(t){return t>1?df:t<-1?-df:Math.asin(t)}function dE(){}var dP,dR,dT,dL,dI,dN,dB,dD,dZ=new dc,dz=new dc,dF={point:dE,lineStart:dE,lineEnd:dE,polygonStart:function(){dF.lineStart=d$,dF.lineEnd=dG},polygonEnd:function(){dF.lineStart=dF.lineEnd=dF.point=dE,dZ.add(dm(dz)),dz=new dc},result:function(){var t=dZ/2;return dZ=new dc,t}};function d$(){dF.point=dW}function dW(t,e){dF.point=dH,dI=dB=t,dN=dD=e}function dH(t,e){dz.add(dD*t-dB*e),dB=t,dD=e}function dG(){dH(dI,dN)}var dq,dY,dV,dU,dQ=1/0,dX=1/0,dK=-1/0,dJ=dK,d0={point:function(t,e){tdK&&(dK=t),edJ&&(dJ=e)},lineStart:dE,lineEnd:dE,polygonStart:dE,polygonEnd:dE,result:function(){var t=[[dQ,dX],[dK,dJ]];return dK=dJ=-(dX=dQ=1/0),t}},d1=0,d2=0,d5=0,d3=0,d4=0,d6=0,d8=0,d9=0,d7=0,ht={point:he,lineStart:hn,lineEnd:ha,polygonStart:function(){ht.lineStart=ho,ht.lineEnd=hl},polygonEnd:function(){ht.point=he,ht.lineStart=hn,ht.lineEnd=ha},result:function(){var t=d7?[d8/d7,d9/d7]:d6?[d3/d6,d4/d6]:d5?[d1/d5,d2/d5]:[NaN,NaN];return d1=d2=d5=d3=d4=d6=d8=d9=d7=0,t}};function he(t,e){d1+=t,d2+=e,++d5}function hn(){ht.point=hr}function hr(t,e){ht.point=hi,he(dV=t,dU=e)}function hi(t,e){var n=t-dV,r=e-dU,i=dC(n*n+r*r);d3+=i*(dV+t)/2,d4+=i*(dU+e)/2,d6+=i,he(dV=t,dU=e)}function ha(){ht.point=he}function ho(){ht.point=hs}function hl(){hc(dq,dY)}function hs(t,e){ht.point=hc,he(dq=dV=t,dY=dU=e)}function hc(t,e){var n=t-dV,r=e-dU,i=dC(n*n+r*r);d3+=i*(dV+t)/2,d4+=i*(dU+e)/2,d6+=i,d8+=(i=dU*t-dV*e)*(dV+t),d9+=i*(dU+e),d7+=3*i,he(dV=t,dU=e)}function hu(t){this._context=t}hu.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,dh)}},result:dE};var hf,hd,hh,hp,hg,hm=new dc,hy={point:dE,lineStart:function(){hy.point=hv},lineEnd:function(){hf&&hb(hd,hh),hy.point=dE},polygonStart:function(){hf=!0},polygonEnd:function(){hf=null},result:function(){var t=+hm;return hm=new dc,t}};function hv(t,e){hy.point=hb,hd=hp=t,hh=hg=e}function hb(t,e){hp-=t,hg-=e,hm.add(dC(hp*hp+hg*hg)),hp=t,hg=e}class hx{constructor(t){this._append=null==t?hO:function(t){let e=Math.floor(t);if(!(e>=0))throw RangeError(`invalid digits: ${t}`);if(e>15)return hO;if(e!==r){let t=10**e;r=e,i=function(e){let n=1;this._+=e[0];for(let r=e.length;n=0))throw RangeError(`invalid digits: ${t}`);n=e}return null===e&&(a=new hx(n)),o},o.projection(t).digits(n).context(e)}function h_(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),a=Array(i);++r2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(t$(t)||Array.isArray(t)&&r)return t;let i=tB(t,e);return(0,A.Z)(n,i)}function hj(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t$(t)||Array.isArray(t)||!hA(t)?t:(0,A.Z)(e,t)}function hA(t){if(0===Object.keys(t).length)return!0;let{title:e,items:n}=t;return void 0!==e||void 0!==n}function hS(t,e){return"object"==typeof t?tB(t,e):t}function hE(){var t,e=[];return{point:function(e,n,r){t.push([e,n,r])},lineStart:function(){e.push(t=[])},lineEnd:dE,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function hP(t,e){return 1e-6>dm(t[0]-e[0])&&1e-6>dm(t[1]-e[1])}function hR(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function hT(t,e,n,r,i){var a,o,l=[],s=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],o=t[e];if(hP(r,o)){if(!r[2]&&!o[2]){for(i.lineStart(),a=0;a=0;--a)i.point((u=c[a])[0],u[1]);else r(d.x,d.p.x,-1,i);d=d.p}c=(d=d.o).z,h=!h}while(!d.v);i.lineEnd()}}}function hL(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r=0?1:-1,C=M*k,j=C>du,A=m*w;if(s.add(dv(A*M*dk(C),y*_+A*db(C))),o+=j?k+M*dh:k,j^p>=n^x>=n){var S=hD(hN(h),hN(b));hF(S);var E=hD(a,S);hF(E);var P=(j^k>=0?-1:1)*dS(E[2]);(r>P||r===P&&(S[0]||S[1]))&&(l+=j^k>=0?1:-1)}}return(o<-.000001||o<1e-6&&s<-.000000000001)^1&l}(a,r);o.length?(f||(i.polygonStart(),f=!0),hT(o,hq,t,n,i)):t&&(f||(i.polygonStart(),f=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),o=a=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function h(e,n){t(e,n)&&i.point(e,n)}function p(t,e){s.point(t,e)}function g(){d.point=p,s.lineStart()}function m(){d.point=h,s.lineEnd()}function y(t,e){l.push([t,e]),u.point(t,e)}function v(){u.lineStart(),l=[]}function b(){y(l[0][0],l[0][1]),u.lineEnd();var t,e,n,r,s=u.clean(),d=c.result(),h=d.length;if(l.pop(),a.push(l),l=null,h){if(1&s){if((e=(n=d[0]).length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t1&&2&s&&d.push(d.pop().concat(d.shift())),o.push(d.filter(hG))}}return d}}function hG(t){return t.length>1}function hq(t,e){return((t=t.x)[0]<0?t[1]-df-1e-6:df-t[1])-((e=e.x)[0]<0?e[1]-df-1e-6:df-e[1])}var hY=hH(function(){return!0},function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(a,o){var l,s,c,u,f,d,h=a>0?du:-du,p=dm(a-n);1e-6>dm(p-du)?(t.point(n,r=(r+o)/2>0?df:-df),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(h,r),t.point(a,r),e=0):i!==h&&p>=du&&(1e-6>dm(n-i)&&(n-=1e-6*i),1e-6>dm(a-h)&&(a-=1e-6*h),l=n,s=r,r=dm(d=dk(l-(c=a)))>1e-6?dy((dk(s)*(f=db(o))*dk(c)-dk(o)*(u=db(s))*dk(l))/(u*f*d)):(s+o)/2,t.point(i,r),t.lineEnd(),t.lineStart(),t.point(h,r),e=0),t.point(n=a,r=o),i=h},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}},function(t,e,n,r){var i;if(null==t)i=n*df,r.point(-du,i),r.point(0,i),r.point(du,i),r.point(du,0),r.point(du,-i),r.point(0,-i),r.point(-du,-i),r.point(-du,0),r.point(-du,i);else if(dm(t[0]-e[0])>1e-6){var a=t[0]-e[2]?-n:n)+dh-1e-6)%dh}function hU(t,e,n,r){function i(i,a){return t<=i&&i<=n&&e<=a&&a<=r}function a(i,a,l,c){var u=0,f=0;if(null==i||(u=o(i,l))!==(f=o(a,l))||0>s(i,a)^l>0)do c.point(0===u||3===u?t:n,u>1?r:e);while((u=(u+l+4)%4)!==f);else c.point(a[0],a[1])}function o(r,i){return 1e-6>dm(r[0]-t)?i>0?0:3:1e-6>dm(r[0]-n)?i>0?2:1:1e-6>dm(r[1]-e)?i>0?1:0:i>0?3:2}function l(t,e){return s(t.x,e.x)}function s(t,e){var n=o(t,1),r=o(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(o){var s,c,u,f,d,h,p,g,m,y,v,b=o,x=hE(),O={point:w,lineStart:function(){O.point=_,c&&c.push(u=[]),y=!0,m=!1,p=g=NaN},lineEnd:function(){s&&(_(f,d),h&&m&&x.rejoin(),s.push(x.result())),O.point=w,m&&b.lineEnd()},polygonStart:function(){b=x,s=[],c=[],v=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=c.length;nr&&(d-a)*(r-o)>(h-o)*(t-a)&&++e:h<=r&&(d-a)*(r-o)<(h-o)*(t-a)&&--e;return e}(),n=v&&e,i=(s=hW(s)).length;(n||i)&&(o.polygonStart(),n&&(o.lineStart(),a(null,null,1,o),o.lineEnd()),i&&hT(s,l,e,a,o),o.polygonEnd()),b=o,s=c=u=null}};function w(t,e){i(t,e)&&b.point(t,e)}function _(a,o){var l=i(a,o);if(c&&u.push([a,o]),y)f=a,d=o,h=l,y=!1,l&&(b.lineStart(),b.point(a,o));else if(l&&m)b.point(a,o);else{var s=[p=Math.max(-1e9,Math.min(1e9,p)),g=Math.max(-1e9,Math.min(1e9,g))],x=[a=Math.max(-1e9,Math.min(1e9,a)),o=Math.max(-1e9,Math.min(1e9,o))];!function(t,e,n,r,i,a){var o,l=t[0],s=t[1],c=e[0],u=e[1],f=0,d=1,h=c-l,p=u-s;if(o=n-l,h||!(o>0)){if(o/=h,h<0){if(o0){if(o>d)return;o>f&&(f=o)}if(o=i-l,h||!(o<0)){if(o/=h,h<0){if(o>d)return;o>f&&(f=o)}else if(h>0){if(o0)){if(o/=p,p<0){if(o0){if(o>d)return;o>f&&(f=o)}if(o=a-s,p||!(o<0)){if(o/=p,p<0){if(o>d)return;o>f&&(f=o)}else if(p>0){if(o0&&(t[0]=l+f*h,t[1]=s+f*p),d<1&&(e[0]=l+d*h,e[1]=s+d*p),!0}}}}}(s,x,t,e,n,r)?l&&(b.lineStart(),b.point(a,o),v=!1):(m||(b.lineStart(),b.point(s[0],s[1])),b.point(x[0],x[1]),l||b.lineEnd(),v=!1)}p=a,g=o,m=l}return O}}function hQ(t,e){function n(n,r){return e((n=t(n,r))[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n}function hX(t,e){return dm(t)>du&&(t-=Math.round(t/dh)*dh),[t,e]}function hK(t,e,n){return(t%=dh)?e||n?hQ(h0(t),h1(e,n)):h0(t):e||n?h1(e,n):hX}function hJ(t){return function(e,n){return dm(e+=t)>du&&(e-=Math.round(e/dh)*dh),[e,n]}}function h0(t){var e=hJ(t);return e.invert=hJ(-t),e}function h1(t,e){var n=db(t),r=dk(t),i=db(e),a=dk(e);function o(t,e){var o=db(e),l=db(t)*o,s=dk(t)*o,c=dk(e),u=c*n+l*r;return[dv(s*i-u*a,l*n-c*r),dS(u*i+s*a)]}return o.invert=function(t,e){var o=db(e),l=db(t)*o,s=dk(t)*o,c=dk(e),u=c*i-s*a;return[dv(s*i+c*a,l*n+u*r),dS(u*n-l*r)]},o}function h2(t){return function(e){var n=new h5;for(var r in t)n[r]=t[r];return n.stream=e,n}}function h5(){}function h3(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),ds(n,t.stream(d0)),e(d0.result()),null!=r&&t.clipExtent(r),t}function h4(t,e,n){return h3(t,function(n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],a=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),o=+e[0][0]+(r-a*(n[1][0]+n[0][0]))/2,l=+e[0][1]+(i-a*(n[1][1]+n[0][1]))/2;t.scale(150*a).translate([o,l])},n)}function h6(t,e,n){return h4(t,[[0,0],e],n)}function h8(t,e,n){return h3(t,function(n){var r=+e,i=r/(n[1][0]-n[0][0]),a=(r-i*(n[1][0]+n[0][0]))/2,o=-i*n[0][1];t.scale(150*i).translate([a,o])},n)}function h9(t,e,n){return h3(t,function(n){var r=+e,i=r/(n[1][1]-n[0][1]),a=-i*n[0][0],o=(r-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([a,o])},n)}hX.invert=hX,h5.prototype={constructor:h5,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var h7=db(30*dg);function pt(t,e){return+e?function(t,e){function n(r,i,a,o,l,s,c,u,f,d,h,p,g,m){var y=c-r,v=u-i,b=y*y+v*v;if(b>4*e&&g--){var x=o+d,O=l+h,w=s+p,_=dC(x*x+O*O+w*w),k=dS(w/=_),M=1e-6>dm(dm(w)-1)||1e-6>dm(a-f)?(a+f)/2:dv(O,x),C=t(M,k),j=C[0],A=C[1],S=j-r,E=A-i,P=v*S-y*E;(P*P/b>e||dm((y*S+v*E)/b-.5)>.3||o*d+l*h+s*p0,i=dm(e)>1e-6;function a(t,n){return db(t)*db(n)>e}function o(t,n,r){var i=hN(t),a=hN(n),o=[1,0,0],l=hD(i,a),s=hB(l,l),c=l[0],u=s-c*c;if(!u)return!r&&t;var f=e*s/u,d=-e*c/u,h=hD(o,l),p=hz(o,f);hZ(p,hz(l,d));var g=hB(p,h),m=hB(h,h),y=g*g-m*(hB(p,p)-1);if(!(y<0)){var v=dC(y),b=hz(h,(-g-v)/m);if(hZ(b,p),b=hI(b),!r)return b;var x,O=t[0],w=n[0],_=t[1],k=n[1];wdm(M-du),j=C||M<1e-6;if(!C&&k<_&&(x=_,_=k,k=x),j?C?_+k>0^b[1]<(1e-6>dm(b[0]-O)?_:k):_<=b[1]&&b[1]<=k:M>du^(O<=b[0]&&b[0]<=w)){var A=hz(h,(-g+v)/m);return hZ(A,p),[b,hI(A)]}}}function l(e,n){var i=r?t:du-t,a=0;return e<-i?a|=1:e>i&&(a|=2),n<-i?a|=4:n>i&&(a|=8),a}return hH(a,function(t){var e,n,s,c,u;return{lineStart:function(){c=s=!1,u=1},point:function(f,d){var h,p,g=[f,d],m=a(f,d),y=r?m?0:l(f,d):m?l(f+(f<0?du:-du),d):0;!e&&(c=s=m)&&t.lineStart(),m!==s&&(!(p=o(e,g))||hP(e,p)||hP(g,p))&&(g[2]=1),m!==s?(u=0,m?(t.lineStart(),p=o(g,e),t.point(p[0],p[1])):(p=o(e,g),t.point(p[0],p[1],2),t.lineEnd()),e=p):i&&e&&r^m&&!(y&n)&&(h=o(g,e,!0))&&(u=0,r?(t.lineStart(),t.point(h[0][0],h[0][1]),t.point(h[1][0],h[1][1]),t.lineEnd()):(t.point(h[1][0],h[1][1]),t.lineEnd(),t.lineStart(),t.point(h[0][0],h[0][1],3))),!m||e&&hP(e,g)||t.point(g[0],g[1]),e=g,s=m,n=y},lineEnd:function(){s&&t.lineEnd(),e=null},clean:function(){return u|(c&&s)<<1}}},function(e,r,i,a){!function(t,e,n,r,i,a){if(n){var o=db(e),l=dk(e),s=r*n;null==i?(i=e+r*dh,a=e-s/2):(i=hV(o,i),a=hV(o,a),(r>0?ia)&&(i+=r*dh));for(var c,u=i;r>0?u>a:u2?t[2]%360*dg:0,S()):[m*dp,y*dp,v*dp]},j.angle=function(t){return arguments.length?(b=t%360*dg,S()):b*dp},j.reflectX=function(t){return arguments.length?(x=t?-1:1,S()):x<0},j.reflectY=function(t){return arguments.length?(O=t?-1:1,S()):O<0},j.precision=function(t){return arguments.length?(o=pt(l,C=t*t),E()):dC(C)},j.fitExtent=function(t,e){return h4(j,t,e)},j.fitSize=function(t,e){return h6(j,t,e)},j.fitWidth=function(t,e){return h8(j,t,e)},j.fitHeight=function(t,e){return h9(j,t,e)},function(){return e=t.apply(this,arguments),j.invert=e.invert&&A,S()}}function pa(t){var e=0,n=du/3,r=pi(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*dg,n=t[1]*dg):[e*dp,n*dp]},i}function po(t,e){var n=dk(t),r=(n+dk(e))/2;if(1e-6>dm(r))return function(t){var e=db(t);function n(t,n){return[t*e,dk(n)/e]}return n.invert=function(t,n){return[t/e,dS(n*e)]},n}(t);var i=1+n*(2*r-n),a=dC(i)/r;function o(t,e){var n=dC(i-2*r*dk(e))/r;return[n*dk(t*=r),a-n*db(t)]}return o.invert=function(t,e){var n=a-e,o=dv(t,dm(n))*dM(n);return n*r<0&&(o-=du*dM(t)*dM(n)),[o/r,dS((i-(t*t+n*n)*r*r)/(2*r))]},o}function pl(){return pa(po).scale(155.424).center([0,33.6442])}function ps(){return pl().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function pc(){var t,e,n,r,i,a,o=ps(),l=pl().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=pl().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(t,e){a=[t,e]}};function u(t){var e=t[0],o=t[1];return a=null,n.point(e,o),a||(r.point(e,o),a)||(i.point(e,o),a)}function f(){return t=e=null,u}return u.invert=function(t){var e=o.scale(),n=o.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?s:o).invert(t)},u.stream=function(n){var r,i;return t&&e===n?t:(i=(r=[o.stream(e=n),l.stream(n),s.stream(n)]).length,t={point:function(t,e){for(var n=-1;++n2?t[2]*dg:0),e.invert=function(e){return e=t.invert(e[0]*dg,e[1]*dg),e[0]*=dp,e[1]*=dp,e},e})(i.rotate()).invert([0,0]));return s(null==c?[[l[0]-a,l[1]-a],[l[0]+a,l[1]+a]]:t===pm?[[Math.max(l[0]-a,c),e],[Math.min(l[0]+a,n),r]]:[[c,Math.max(l[1]-a,e)],[n,Math.min(l[1]+a,r)]])}return i.scale=function(t){return arguments.length?(o(t),u()):o()},i.translate=function(t){return arguments.length?(l(t),u()):l()},i.center=function(t){return arguments.length?(a(t),u()):a()},i.clipExtent=function(t){return arguments.length?(null==t?c=e=n=r=null:(c=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),u()):null==c?null:[[c,e],[n,r]]},u()}function pb(t){return dj((df+t)/2)}function px(t,e){var n=db(t),r=t===e?dk(t):dw(n/db(e))/dw(pb(e)/pb(t)),i=n*d_(pb(t),r)/r;if(!r)return pm;function a(t,e){i>0?e<-df+1e-6&&(e=-df+1e-6):e>df-1e-6&&(e=df-1e-6);var n=i/d_(pb(e),r);return[n*dk(r*t),i-n*db(r*t)]}return a.invert=function(t,e){var n=i-e,a=dM(r)*dC(t*t+n*n),o=dv(t,dm(n))*dM(n);return n*r<0&&(o-=du*dM(t)*dM(n)),[o/r,2*dy(d_(i/a,1/r))-df]},a}function pO(){return pa(px).scale(109.5).parallels([30,30])}function pw(t,e){return[t,e]}function p_(){return pr(pw).scale(152.63)}function pk(t,e){var n=db(t),r=t===e?dk(t):(n-db(e))/(e-t),i=n/r+t;if(1e-6>dm(r))return pw;function a(t,e){var n=i-e,a=r*t;return[n*dk(a),i-n*db(a)]}return a.invert=function(t,e){var n=i-e,a=dv(t,dm(n))*dM(n);return n*r<0&&(a-=du*dM(t)*dM(n)),[a/r,i-dM(r)*dC(t*t+n*n)]},a}function pM(){return pa(pk).scale(131.154).center([0,13.9389])}pp.invert=pf(function(t){return t}),pm.invert=function(t,e){return[t,2*dy(dO(e))-df]},pw.invert=pw;var pC=dC(3)/2;function pj(t,e){var n=dS(pC*dk(e)),r=n*n,i=r*r*r;return[t*db(n)/(pC*(1.340264+-.24331799999999998*r+i*(.0062510000000000005+.034164*r))),n*(1.340264+-.081106*r+i*(893e-6+.003796*r))]}function pA(){return pr(pj).scale(177.158)}function pS(t,e){var n=db(e),r=db(t)*n;return[n*dk(t)/r,dk(e)/r]}function pE(){return pr(pS).scale(144.049).clipAngle(60)}function pP(){var t,e,n,r,i,a,o,l=1,s=0,c=0,u=1,f=1,d=0,h=null,p=1,g=1,m=h2({point:function(t,e){var n=b([t,e]);this.stream.point(n[0],n[1])}}),y=de;function v(){return p=l*u,g=l*f,a=o=null,b}function b(n){var r=n[0]*p,i=n[1]*g;if(d){var a=i*t-r*e;r=r*t+i*e,i=a}return[r+s,i+c]}return b.invert=function(n){var r=n[0]-s,i=n[1]-c;if(d){var a=i*t+r*e;r=r*t-i*e,i=a}return[r/p,i/g]},b.stream=function(t){return a&&o===t?a:a=m(y(o=t))},b.postclip=function(t){return arguments.length?(y=t,h=n=r=i=null,v()):y},b.clipExtent=function(t){return arguments.length?(y=null==t?(h=n=r=i=null,de):hU(h=+t[0][0],n=+t[0][1],r=+t[1][0],i=+t[1][1]),v()):null==h?null:[[h,n],[r,i]]},b.scale=function(t){return arguments.length?(l=+t,v()):l},b.translate=function(t){return arguments.length?(s=+t[0],c=+t[1],v()):[s,c]},b.angle=function(n){return arguments.length?(e=dk(d=n%360*dg),t=db(d),v()):d*dp},b.reflectX=function(t){return arguments.length?(u=t?-1:1,v()):u<0},b.reflectY=function(t){return arguments.length?(f=t?-1:1,v()):f<0},b.fitExtent=function(t,e){return h4(b,t,e)},b.fitSize=function(t,e){return h6(b,t,e)},b.fitWidth=function(t,e){return h8(b,t,e)},b.fitHeight=function(t,e){return h9(b,t,e)},b}function pR(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(-.013791+r*(.003971*n-.001529*r))),e*(1.007226+n*(.015085+r*(-.044475+.028874*n-.005916*r)))]}function pT(){return pr(pR).scale(175.295)}function pL(t,e){return[db(e)*dk(t),dk(e)]}function pI(){return pr(pL).scale(249.5).clipAngle(90.000001)}function pN(t,e){var n=db(e),r=1+db(t)*n;return[n*dk(t)/r,dk(e)/r]}function pB(){return pr(pN).scale(250).clipAngle(142)}function pD(t,e){return[dw(dj((df+e)/2)),-t]}function pZ(){var t=pv(pD),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)}pj.invert=function(t,e){for(var n,r,i=e,a=i*i,o=a*a*a,l=0;l<12&&(r=i*(1.340264+-.081106*a+o*(893e-6+.003796*a))-e,i-=n=r/(1.340264+-.24331799999999998*a+o*(.0062510000000000005+.034164*a)),o=(a=i*i)*a*a,!(1e-12>dm(n)));++l);return[pC*t*(1.340264+-.24331799999999998*a+o*(.0062510000000000005+.034164*a))/db(i),dS(dk(i)/pC)]},pS.invert=pf(dy),pR.invert=function(t,e){var n,r=e,i=25;do{var a=r*r,o=a*a;r-=n=(r*(1.007226+a*(.015085+o*(-.044475+.028874*a-.005916*o)))-e)/(1.007226+a*(.045255+o*(-.311325+.259866*a-.005916*11*o)))}while(dm(n)>1e-6&&--i>0);return[t/(.8707+(a=r*r)*(-.131979+a*(-.013791+a*a*a*(.003971-.001529*a)))),r]},pL.invert=pf(dS),pN.invert=pf(function(t){return 2*dy(t)}),pD.invert=function(t,e){return[-e,2*dy(dO(t))-df]};var pz=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function pF(t){let{data:e}=t;if(Array.isArray(e))return Object.assign(Object.assign({},t),{data:{value:e}});let{type:n}=e;return"graticule10"===n?Object.assign(Object.assign({},t),{data:{value:[(function(){var t,e,n,r,i,a,o,l,s,c,u,f,d=10,h=10,p=90,g=360,m=2.5;function y(){return{type:"MultiLineString",coordinates:v()}}function v(){return h_(dx(r/p)*p,n,p).map(u).concat(h_(dx(l/g)*g,o,g).map(f)).concat(h_(dx(e/d)*d,t,d).filter(function(t){return dm(t%p)>1e-6}).map(s)).concat(h_(dx(a/h)*h,i,h).filter(function(t){return dm(t%g)>1e-6}).map(c))}return y.lines=function(){return v().map(function(t){return{type:"LineString",coordinates:t}})},y.outline=function(){return{type:"Polygon",coordinates:[u(r).concat(f(o).slice(1),u(n).reverse().slice(1),f(l).reverse().slice(1))]}},y.extent=function(t){return arguments.length?y.extentMajor(t).extentMinor(t):y.extentMinor()},y.extentMajor=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],l=+t[0][1],o=+t[1][1],r>n&&(t=r,r=n,n=t),l>o&&(t=l,l=o,o=t),y.precision(m)):[[r,l],[n,o]]},y.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],a=+n[0][1],i=+n[1][1],e>t&&(n=e,e=t,t=n),a>i&&(n=a,a=i,i=n),y.precision(m)):[[e,a],[t,i]]},y.step=function(t){return arguments.length?y.stepMajor(t).stepMinor(t):y.stepMinor()},y.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],y):[p,g]},y.stepMinor=function(t){return arguments.length?(d=+t[0],h=+t[1],y):[d,h]},y.precision=function(d){return arguments.length?(m=+d,s=hk(a,i,90),c=hM(e,t,m),u=hk(l,o,90),f=hM(r,n,m),y):m},y.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])})()()]}}):"sphere"===n?Object.assign(Object.assign({},t),{sphere:!0,data:{value:[{type:"Sphere"}]}}):t}function p$(t){return"geoPath"===t.type}let pW=()=>t=>{let e;let{children:n,coordinate:r={}}=t;if(!Array.isArray(n))return[];let{type:i="equalEarth"}=r,a=pz(r,["type"]),o=function(t){if("function"==typeof t)return t;let e="geo".concat((0,a$.Z)(t)),n=s[e];if(!n)throw Error("Unknown coordinate: ".concat(t));return n}(i),l=n.map(pF);return[Object.assign(Object.assign({},t),{type:"view",scale:{x:{type:"identity"},y:{type:"identity"}},axis:!1,coordinate:{type:function(){return[["custom",(t,n,r,i)=>{let s=o();!function(t,e,n,r){let{outline:i=(()=>{let t=e.filter(p$),n=t.find(t=>t.sphere);return n?{type:"Sphere"}:{type:"FeatureCollection",features:t.filter(t=>!t.sphere).flatMap(t=>t.data.value).flatMap(t=>(function(t){if(!t||!t.type)return null;let e={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featureCollection"}[t.type];return e?"geometry"===e?{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:t}]}:"feature"===e?{type:"FeatureCollection",features:[t]}:"featureCollection"===e?t:void 0:null})(t).features)}})()}=r,{size:a="fitExtent"}=r;"fitExtent"===a?function(t,e,n){let{x:r,y:i,width:a,height:o}=n;t.fitExtent([[r,i],[a,o]],e)}(t,i,n):"fitWidth"===a&&function(t,e,n){let{width:r,height:i}=n,[[a,o],[l,s]]=hw(t.fitWidth(r,e)).bounds(e),c=Math.ceil(s-o),u=Math.min(Math.ceil(l-a),c),f=t.scale()*(u-1)/u,[d,h]=t.translate();t.scale(f).translate([d,h+(i-c)/2]).precision(.2)}(t,i,n)}(s,l,{x:t,y:n,width:r,height:i},a),function(t,e){var n;for(let[r,i]of Object.entries(e))null===(n=t[r])||void 0===n||n.call(t,i)}(s,a),e=hw(s);let c=new t1.b({domain:[t,t+r]}),u=new t1.b({domain:[n,n+i]}),f=t=>{let e=s(t);if(!e)return[null,null];let[n,r]=e;return[c.map(n),u.map(r)]},d=t=>{if(!t)return null;let[e,n]=t,r=[c.invert(e),u.invert(n)];return s.invert(r)};return{transform:t=>f(t),untransform:t=>d(t)}}]]}},children:l.flatMap(t=>p$(t)?function(t){let{style:n,tooltip:r={}}=t;return Object.assign(Object.assign({},t),{type:"path",tooltip:hj(r,{title:"id",items:[{channel:"color"}]}),style:Object.assign(Object.assign({},n),{d:t=>e(t)||[]})})}(t):t)})]};pW.props={};var pH=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let pG=()=>t=>{let{type:e,data:n,scale:r,encode:i,style:a,animate:o,key:l,state:s}=t,c=pH(t,["type","data","scale","encode","style","animate","key","state"]);return[Object.assign(Object.assign({type:"geoView"},c),{children:[{type:"geoPath",key:"".concat(l,"-0"),data:{value:n},scale:r,encode:i,style:a,animate:o,state:s}]})]};function pq(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,a,o,l,s,c,u,f,d,h=t._root,p={data:r},g=t._x0,m=t._y0,y=t._x1,v=t._y1;if(!h)return t._root=p,t;for(;h.length;)if((c=e>=(a=(g+y)/2))?g=a:y=a,(u=n>=(o=(m+v)/2))?m=o:v=o,i=h,!(h=h[f=u<<1|c]))return i[f]=p,t;if(l=+t._x.call(null,h.data),s=+t._y.call(null,h.data),e===l&&n===s)return p.next=h,i?i[f]=p:t._root=p,t;do i=i?i[f]=[,,,,]:t._root=[,,,,],(c=e>=(a=(g+y)/2))?g=a:y=a,(u=n>=(o=(m+v)/2))?m=o:v=o;while((f=u<<1|c)==(d=(s>=o)<<1|l>=a));return i[d]=h,i[f]=p,t}function pY(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function pV(t){return t[0]}function pU(t){return t[1]}function pQ(t,e,n){var r=new pX(null==e?pV:e,null==n?pU:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function pX(t,e,n,r,i,a){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=a,this._root=void 0}function pK(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}pG.props={};var pJ=pQ.prototype=pX.prototype;function p0(t){return function(){return t}}function p1(t){return(t()-.5)*1e-6}pJ.copy=function(){var t,e,n=new pX(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=pK(r),n;for(t=[{source:r,target:n._root=[,,,,]}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=[,,,,]}):r.target[i]=pK(e));return n},pJ.add=function(t){let e=+this._x.call(null,t),n=+this._y.call(null,t);return pq(this.cover(e,n),e,n,t)},pJ.addAll=function(t){var e,n,r,i,a=t.length,o=Array(a),l=Array(a),s=1/0,c=1/0,u=-1/0,f=-1/0;for(n=0;nu&&(u=r),if&&(f=i));if(s>u||c>f)return this;for(this.cover(s,c).cover(u,f),n=0;nt||t>=i||r>e||e>=a;)switch(l=(ed)&&!((a=s.y0)>h)&&!((o=s.x1)=y)<<1|t>=m)&&(s=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=s)}else{var v=t-+this._x.call(null,g.data),b=e-+this._y.call(null,g.data),x=v*v+b*b;if(x=(l=(p+m)/2))?p=l:m=l,(u=o>=(s=(g+y)/2))?g=s:y=s,e=h,!(h=h[f=u<<1|c]))return this;if(!h.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(n=e,d=f)}for(;h.data!==t;)if(r=h,!(h=h.next))return this;return((i=h.next)&&delete h.next,r)?(i?r.next=i:delete r.next,this):e?(i?e[f]=i:delete e[f],(h=e[0]||e[1]||e[2]||e[3])&&h===(e[3]||e[2]||e[1]||e[0])&&!h.length&&(n?n[d]=h:this._root=h),this):(this._root=i,this)},pJ.removeAll=function(t){for(var e=0,n=t.length;ee.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let gt={joint:!0},ge={type:"link",axis:!1,legend:!1,encode:{x:[t=>t.source.x,t=>t.target.x],y:[t=>t.source.y,t=>t.target.y]},style:{stroke:"#999",strokeOpacity:.6}},gn={type:"point",axis:!1,legend:!1,encode:{x:"x",y:"y",size:5,color:"group",shape:"point"},style:{stroke:"#fff"}},gr={text:""},gi=t=>{let{data:e,encode:n={},scale:r,style:i={},layout:a={},nodeLabels:o=[],linkLabels:l=[],animate:s={},tooltip:c={}}=t,{nodeKey:u=t=>t.id,linkKey:f=t=>t.id}=n,d=p7(n,["nodeKey","linkKey"]),h=Object.assign({nodeKey:u,linkKey:f},d),p=tB(h,"node"),g=tB(h,"link"),{links:m,nodes:y}=e$(e,h),{nodesData:v,linksData:b}=function(t,e,n){let{nodes:r,links:i}=t,{joint:a,nodeStrength:o,linkStrength:l}=e,{nodeKey:s=t=>t.id,linkKey:c=t=>t.id}=n,u=function(){var t,e,n,r,i,a=p0(-30),o=1,l=1/0,s=.81;function c(n){var i,a=t.length,o=pQ(t,p3,p4).visitAfter(f);for(r=n,i=0;i=l)){(t.data!==e||t.next)&&(0===f&&(p+=(f=p1(n))*f),0===d&&(p+=(d=p1(n))*d),p[l(t,e,r),t]));for(o=0,i=Array(c);o(e=(1664525*e+1013904223)%4294967296)/4294967296);function d(){h(),u.call("tick",n),r1?(null==e?s.delete(t):s.set(t,g(e)),n):s.get(t)},find:function(e,n,r){var i,a,o,l,s,c=0,u=t.length;for(null==r?r=1/0:r*=r,c=0;c1?(u.on(t,e),n):u.on(t)}}})(r).force("link",f).force("charge",u);a?d.force("center",function(t,e){var n,r=1;function i(){var i,a,o=n.length,l=0,s=0;for(i=0;i({name:"source",value:ez(f)(t.source)}),t=>({name:"target",value:ez(f)(t.target)})]}),O=hC(c,"node",{items:[t=>({name:"key",value:ez(u)(t)})]},!0);return[(0,A.Z)({},ge,{data:b,encode:g,labels:l,style:tB(i,"link"),tooltip:x,animate:hS(s,"link")}),(0,A.Z)({},gn,{data:v,encode:Object.assign({},p),scale:r,style:tB(i,"node"),tooltip:O,labels:[Object.assign(Object.assign({},gr),tB(i,"label")),...o],animate:hS(s,"link")})]};function ga(t,e){return t.parent===e.parent?1:2}function go(t){var e=t.children;return e?e[0]:t.t}function gl(t){var e=t.children;return e?e[e.length-1]:t.t}function gs(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function gc(){var t=ga,e=1,n=1,r=null;function i(i){var s=function(t){for(var e,n,r,i,a,o=new gs(t,0),l=[o];e=l.pop();)if(r=e._.children)for(e.children=Array(a=r.length),i=a-1;i>=0;--i)l.push(n=e.children[i]=new gs(r[i],i)),n.parent=e;return(o.parent=new gs(null,0)).children=[o],o}(i);if(s.eachAfter(a),s.parent.m=-s.z,s.eachBefore(o),r)i.eachBefore(l);else{var c=i,u=i,f=i;i.eachBefore(function(t){t.xu.x&&(u=t),t.depth>f.depth&&(f=t)});var d=c===u?1:t(c,u)/2,h=d-c.x,p=e/(u.x+d+h),g=n/(f.depth||1);i.eachBefore(function(t){t.x=(t.x+h)*p,t.y=t.depth*g})}return i}function a(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,a=i.length;--a>=0;)e=i[a],e.z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var a=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-a):e.z=a}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,a,o,l=e,s=e,c=n,u=l.parent.children[0],f=l.m,d=s.m,h=c.m,p=u.m;c=gl(c),l=go(l),c&&l;)u=go(u),(s=gl(s)).a=e,(o=c.z+h-l.z-f+t(c._,l._))>0&&(function(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}((i=c,a=r,i.a.parent===e.parent?i.a:a),e,o),f+=o,d+=o),h+=c.m,f+=l.m,p+=u.m,d+=s.m;c&&!gl(s)&&(s.t=c,s.m+=h-d),l&&!go(u)&&(u.t=l,u.m+=f-p,r=e)}return r}(e,i,e.parent.A||r[0])}function o(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function l(t){t.x*=e,t.y=t.depth*n}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}function gu(t,e){return t.parent===e.parent?1:2}function gf(t,e){return t+e.x}function gd(t,e){return Math.max(t,e.y)}function gh(){var t=gu,e=1,n=1,r=!1;function i(i){var a,o=0;i.eachAfter(function(e){var n=e.children;n?(e.x=n.reduce(gf,0)/n.length,e.y=1+n.reduce(gd,0)):(e.x=a?o+=t(e,a):0,e.y=0,a=e)});var l=function(t){for(var e;e=t.children;)t=e[0];return t}(i),s=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),c=l.x-t(l,s)/2,u=s.x+t(s,l)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-c)/(u-c)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}gi.props={},gs.prototype=Object.create(s8.prototype);let gp=t=>e=>n=>{let{field:r="value",nodeSize:i,separation:a,sortBy:o,as:l=["x","y"]}=e,[s,c]=l,u=s2(n,t=>t.children).sum(t=>t[r]).sort(o),f=t();f.size([1,1]),i&&f.nodeSize(i),a&&f.separation(a),f(u);let d=[];u.each(t=>{t[s]=t.x,t[c]=t.y,t.name=t.data.name,d.push(t)});let h=u.links();return h.forEach(t=>{t[s]=[t.source[s],t.target[s]],t[c]=[t.source[c],t.target[c]]}),{nodes:d,edges:h}},gg=t=>gp(gh)(t);gg.props={};let gm=t=>gp(gc)(t);gm.props={};let gy={sortBy:(t,e)=>e.value-t.value},gv={axis:!1,legend:!1,type:"point",encode:{x:"x",y:"y",size:2,shape:"point"}},gb={type:"link",encode:{x:"x",y:"y",shape:"smooth"}},gx={text:"",fontSize:10},gO=t=>{let{data:e,encode:n={},scale:r={},style:i={},layout:a={},nodeLabels:o=[],linkLabels:l=[],animate:s={},tooltip:c={}}=t,u=null==n?void 0:n.value,{nodes:f,edges:d}=gm(Object.assign(Object.assign(Object.assign({},gy),a),{field:u}))(e),h=hC(c,"node",{title:"name",items:["value"]},!0),p=hC(c,"link",{title:"",items:[t=>({name:"source",value:t.source.name}),t=>({name:"target",value:t.target.name})]});return[(0,A.Z)({},gb,{data:d,encode:tB(n,"link"),scale:tB(r,"link"),labels:l,style:Object.assign({stroke:"#999"},tB(i,"link")),tooltip:p,animate:hS(s,"link")}),(0,A.Z)({},gv,{data:f,scale:tB(r,"node"),encode:tB(n,"node"),labels:[Object.assign(Object.assign({},gx),tB(i,"label")),...o],style:Object.assign({},tB(i,"node")),tooltip:h,animate:hS(s,"node")})]};function gw(t,e){var n=t.r-e.r,r=e.x-t.x,i=e.y-t.y;return n<0||n*n0&&n*n>r*r+i*i}function gk(t,e){for(var n=0;n1e-6?(j+Math.sqrt(j*j-4*C*A))/(2*C):A/j);return{x:r+w+_*S,y:i+k+M*S,r:S}}function gj(t,e,n){var r,i,a,o,l=t.x-e.x,s=t.y-e.y,c=l*l+s*s;c?(i=e.r+n.r,i*=i,o=t.r+n.r,i>(o*=o)?(r=(c+o-i)/(2*c),a=Math.sqrt(Math.max(0,o/c-r*r)),n.x=t.x-r*l-a*s,n.y=t.y-r*s+a*l):(r=(c+i-o)/(2*c),a=Math.sqrt(Math.max(0,i/c-r*r)),n.x=e.x+r*l-a*s,n.y=e.y+r*s+a*l)):(n.x=e.x+n.r,n.y=e.y)}function gA(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function gS(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,a=(e.y*n.r+n.y*e.r)/r;return i*i+a*a}function gE(t){this._=t,this.next=null,this.previous=null}function gP(t){return Math.sqrt(t.value)}function gR(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function gT(t,e,n){return function(r){if(i=r.children){var i,a,o,l=i.length,s=t(r)*e||0;if(s)for(a=0;a1))return n.r;if(r=t[1],n.x=-r.r,r.x=n.r,r.y=0,!(a>2))return n.r+r.r;gj(r,n,i=t[2]),n=new gE(n),r=new gE(r),i=new gE(i),n.next=i.previous=r,r.next=n.previous=i,i.next=r.previous=n;e:for(s=3;se.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let gN=(t,e)=>({size:[t,e],padding:0,sort:(t,e)=>e.value-t.value}),gB=(t,e,n)=>({type:"point",axis:!1,legend:!1,scale:{x:{domain:[0,t]},y:{domain:[0,e]},size:{type:"identity"}},encode:{x:"x",y:"y",size:"r",shape:"point"},style:{fill:n.color?void 0:t=>0===t.height?"#ddd":"#fff",stroke:n.color?void 0:t=>0===t.height?"":"#000"}}),gD={text:"",position:"inside",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:t=>2*t.r},gZ={title:t=>t.data.name,items:[{field:"value"}]},gz=(t,e,n)=>{let{value:r}=n,i=(0,oO.Z)(t)?cr().path(e.path)(t):s2(t);return r?i.sum(t=>ez(r)(t)).sort(e.sort):i.count(),(function(){var t=null,e=1,n=1,r=cg;function i(i){let a;let o=(a=1,()=>(a=(1664525*a+1013904223)%4294967296)/4294967296);return i.x=e/2,i.y=n/2,t?i.eachBefore(gR(t)).eachAfter(gT(r,.5,o)).eachBefore(gL(1)):i.eachBefore(gR(gP)).eachAfter(gT(cg,1,o)).eachAfter(gT(r,i.r/Math.min(e,n),o)).eachBefore(gL(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=sJ(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:cm(+t),i):r},i})().size(e.size).padding(e.padding)(i),i.descendants()},gF=(t,e)=>{let{width:n,height:r}=e,{data:i,encode:a={},scale:o={},style:l={},layout:s={},labels:c=[],tooltip:u={}}=t,f=gI(t,["data","encode","scale","style","layout","labels","tooltip"]),d=gB(n,r,a),h=gz(i,(0,A.Z)({},gN(n,r),s),(0,A.Z)({},d.encode,a)),p=tB(l,"label");return(0,A.Z)({},d,Object.assign(Object.assign({data:h,encode:a,scale:o,style:l,labels:[Object.assign(Object.assign({},gD),p),...c]},f),{tooltip:hj(u,gZ),axis:!1}))};function g$(t){return t.target.depth}function gW(t,e){return t.sourceLinks.length?t.depth:e-1}function gH(t){return function(){return t}}function gG(t,e){return gY(t.source,e.source)||t.index-e.index}function gq(t,e){return gY(t.target,e.target)||t.index-e.index}function gY(t,e){return t.y0-e.y0}function gV(t){return t.value}function gU(t){return t.index}function gQ(t){return t.nodes}function gX(t){return t.links}function gK(t,e){let n=t.get(e);if(!n)throw Error("missing: "+e);return n}function gJ(t){let{nodes:e}=t;for(let t of e){let e=t.y0,n=e;for(let n of t.sourceLinks)n.y0=e+n.width/2,e+=n.width;for(let e of t.targetLinks)e.y1=n+e.width/2,n+=e.width}}gF.props={};let g0={nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodes:t=>t.nodes,links:t=>t.links,nodeSort:void 0,linkSort:void 0,iterations:6},g1={left:function(t){return t.depth},right:function(t,e){return e-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?i0(t.sourceLinks,g$)-1:0},justify:gW},g2=t=>e=>{let{nodeId:n,nodeSort:r,nodeAlign:i,nodeWidth:a,nodePadding:o,nodeDepth:l,nodes:s,links:c,linkSort:u,iterations:f}=Object.assign({},g0,t),d=(function(){let t,e,n,r=0,i=0,a=1,o=1,l=24,s=8,c,u=gU,f=gW,d=gQ,h=gX,p=6;function g(g){let y={nodes:d(g),links:h(g)};return function(t){let{nodes:e,links:r}=t;e.forEach((t,e)=>{t.index=e,t.sourceLinks=[],t.targetLinks=[]});let i=new Map(e.map(t=>[u(t),t]));if(r.forEach((t,e)=>{t.index=e;let{source:n,target:r}=t;"object"!=typeof n&&(n=t.source=gK(i,n)),"object"!=typeof r&&(r=t.target=gK(i,r)),n.sourceLinks.push(t),r.targetLinks.push(t)}),null!=n)for(let{sourceLinks:t,targetLinks:r}of e)t.sort(n),r.sort(n)}(y),function(t){let{nodes:e}=t;for(let t of e)t.value=void 0===t.fixedValue?Math.max(uA(t.sourceLinks,gV),uA(t.targetLinks,gV)):t.fixedValue}(y),function(e){let{nodes:n}=e,r=n.length,i=new Set(n),a=new Set,o=0;for(;i.size;){if(i.forEach(t=>{for(let{target:e}of(t.depth=o,t.sourceLinks))a.add(e)}),++o>r)throw Error("circular link");i=a,a=new Set}if(t){let e;let r=Math.max(i1(n,t=>t.depth)+1,0);for(let i=0;i{for(let{source:e}of(t.height=a,t.targetLinks))i.add(e)}),++a>n)throw Error("circular link");r=i,i=new Set}}(y),function(t){let u=function(t){let{nodes:n}=t,i=Math.max(i1(n,t=>t.depth)+1,0),o=(a-r-l)/(i-1),s=Array(i).fill(0).map(()=>[]);for(let t of n){let e=Math.max(0,Math.min(i-1,Math.floor(f.call(null,t,i))));t.layer=e,t.x0=r+e*o,t.x1=t.x0+l,s[e]?s[e].push(t):s[e]=[t]}if(e)for(let t of s)t.sort(e);return s}(t);c=Math.min(s,(o-i)/(i1(u,t=>t.length)-1)),function(t){let e=i0(t,t=>(o-i-(t.length-1)*c)/uA(t,gV));for(let r of t){let t=i;for(let n of r)for(let r of(n.y0=t,n.y1=t+n.value*e,t=n.y1+c,n.sourceLinks))r.width=r.value*e;t=(o-t+c)/(r.length+1);for(let e=0;e=0;--a){let i=t[a];for(let t of i){let e=0,r=0;for(let{target:n,value:i}of t.sourceLinks){let a=i*(n.layer-t.layer);e+=function(t,e){let n=e.y0-(e.targetLinks.length-1)*c/2;for(let{source:r,width:i}of e.targetLinks){if(r===t)break;n+=i+c}for(let{target:r,width:i}of t.sourceLinks){if(r===e)break;n-=i}return n}(t,n)*a,r+=a}if(!(r>0))continue;let i=(e/r-t.y0)*n;t.y0+=i,t.y1+=i,b(t)}void 0===e&&i.sort(gY),i.length&&m(i,r)}})(u,n,r),function(t,n,r){for(let i=1,a=t.length;i0))continue;let i=(e/r-t.y0)*n;t.y0+=i,t.y1+=i,b(t)}void 0===e&&a.sort(gY),a.length&&m(a,r)}}(u,n,r)}}(y),gJ(y),y}function m(t,e){let n=t.length>>1,r=t[n];v(t,r.y0-c,n-1,e),y(t,r.y1+c,n+1,e),v(t,o,t.length-1,e),y(t,i,0,e)}function y(t,e,n,r){for(;n1e-6&&(i.y0+=a,i.y1+=a),e=i.y1+c}}function v(t,e,n,r){for(;n>=0;--n){let i=t[n],a=(i.y1-e)*r;a>1e-6&&(i.y0-=a,i.y1-=a),e=i.y0-c}}function b(t){let{sourceLinks:e,targetLinks:r}=t;if(void 0===n){for(let{source:{sourceLinks:t}}of r)t.sort(gq);for(let{target:{targetLinks:t}}of e)t.sort(gG)}}return g.update=function(t){return gJ(t),t},g.nodeId=function(t){return arguments.length?(u="function"==typeof t?t:gH(t),g):u},g.nodeAlign=function(t){return arguments.length?(f="function"==typeof t?t:gH(t),g):f},g.nodeDepth=function(e){return arguments.length?(t=e,g):t},g.nodeSort=function(t){return arguments.length?(e=t,g):e},g.nodeWidth=function(t){return arguments.length?(l=+t,g):l},g.nodePadding=function(t){return arguments.length?(s=c=+t,g):s},g.nodes=function(t){return arguments.length?(d="function"==typeof t?t:gH(t),g):d},g.links=function(t){return arguments.length?(h="function"==typeof t?t:gH(t),g):h},g.linkSort=function(t){return arguments.length?(n=t,g):n},g.size=function(t){return arguments.length?(r=i=0,a=+t[0],o=+t[1],g):[a-r,o-i]},g.extent=function(t){return arguments.length?(r=+t[0][0],a=+t[1][0],i=+t[0][1],o=+t[1][1],g):[[r,i],[a,o]]},g.iterations=function(t){return arguments.length?(p=+t,g):p},g})().nodeSort(r).linkSort(u).links(c).nodes(s).nodeWidth(a).nodePadding(o).nodeDepth(l).nodeAlign(function(t){let e=typeof t;return"string"===e?g1[t]||gW:"function"===e?t:gW}(i)).iterations(f).extent([[0,0],[1,1]]);"function"==typeof n&&d.nodeId(n);let h=d(e),{nodes:p,links:g}=h,m=p.map(t=>{let{x0:e,x1:n,y0:r,y1:i}=t;return Object.assign(Object.assign({},t),{x:[e,n,n,e],y:[r,r,i,i]})}),y=g.map(t=>{let{source:e,target:n}=t,r=e.x1,i=n.x0,a=t.width/2;return Object.assign(Object.assign({},t),{x:[r,r,i,i],y:[t.y0+a,t.y0-a,t.y1+a,t.y1-a]})});return{nodes:m,links:y}};g2.props={};var g5=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let g3={nodeId:t=>t.key,nodeWidth:.02,nodePadding:.02},g4={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{stroke:"#000"}},g6={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{fillOpacity:.5,stroke:void 0}},g8={textAlign:t=>t.x[0]<.5?"start":"end",position:t=>t.x[0]<.5?"right":"left",fontSize:10},g9=t=>{let{data:e,encode:n={},scale:r,style:i={},layout:a={},nodeLabels:o=[],linkLabels:l=[],animate:s={},tooltip:c={}}=t,{links:u,nodes:f}=e$(e,n),d=tB(n,"node"),h=tB(n,"link"),{key:p=t=>t.key,color:g=p}=d,{links:m,nodes:y}=g2(Object.assign(Object.assign(Object.assign({},g3),{nodeId:ez(p)}),a))({links:u,nodes:f}),v=tB(i,"label"),{text:b=p,spacing:x=5}=v,O=g5(v,["text","spacing"]),w=ez(p),_=hC(c,"node",{title:w,items:[{field:"value"}]},!0),k=hC(c,"link",{title:"",items:[t=>({name:"source",value:w(t.source)}),t=>({name:"target",value:w(t.target)})]});return[(0,A.Z)({},g4,{data:y,encode:Object.assign(Object.assign({},d),{color:g}),scale:r,style:tB(i,"node"),labels:[Object.assign(Object.assign(Object.assign({},g8),{text:b,dx:t=>t.x[0]<.5?x:-x}),O),...o],tooltip:_,animate:hS(s,"node"),axis:!1}),(0,A.Z)({},g6,{data:m,encode:h,labels:l,style:Object.assign({fill:h.color?void 0:"#aaa",lineWidth:0},tB(i,"link")),tooltip:k,animate:hS(s,"link")})]};function g7(t,e){return e.value-t.value}function mt(t,e){return e.frequency-t.frequency}function me(t,e){return"".concat(t.id).localeCompare("".concat(e.id))}function mn(t,e){return"".concat(t.name).localeCompare("".concat(e.name))}g9.props={};let mr={y:0,thickness:.05,weight:!1,marginRatio:.1,id:t=>t.id,source:t=>t.source,target:t=>t.target,sourceWeight:t=>t.value||1,targetWeight:t=>t.value||1,sortBy:null},mi=t=>e=>(function(t){let{y:e,thickness:n,weight:r,marginRatio:i,id:a,source:o,target:l,sourceWeight:s,targetWeight:u,sortBy:f}=Object.assign(Object.assign({},mr),t);return function(t){let d=t.nodes.map(t=>Object.assign({},t)),h=t.edges.map(t=>Object.assign({},t));return function(t,e){e.forEach(t=>{t.source=o(t),t.target=l(t),t.sourceWeight=s(t),t.targetWeight=u(t)});let n=tk(e,t=>t.source),r=tk(e,t=>t.target);t.forEach(t=>{t.id=a(t);let e=n.has(t.id)?n.get(t.id):[],i=r.has(t.id)?r.get(t.id):[];t.frequency=e.length+i.length,t.value=uA(e,t=>t.sourceWeight)+uA(i,t=>t.targetWeight)})}(d,h),function(t,e){let n="function"==typeof f?f:c[f];n&&t.sort(n)}(d,0),function(t,a){let o=t.length;if(!o)throw tL("Invalid nodes: it's empty!");if(!r){let n=1/o;return t.forEach((t,r)=>{t.x=(r+.5)*n,t.y=e})}let l=i/(2*o),s=t.reduce((t,e)=>t+=e.value,0);t.reduce((t,r)=>{r.weight=r.value/s,r.width=r.weight*(1-i),r.height=n;let a=l+t,o=a+r.width,c=e-n/2,u=c+n;return r.x=[a,o,o,a],r.y=[c,c,u,u],t+r.width+2*l},0)}(d,0),function(t,n){let i=new Map(t.map(t=>[t.id,t]));if(!r)return n.forEach(t=>{let e=o(t),n=l(t),r=i.get(e),a=i.get(n);r&&a&&(t.x=[r.x,a.x],t.y=[r.y,a.y])});n.forEach(t=>{t.x=[0,0,0,0],t.y=[e,e,e,e]});let a=tk(n,t=>t.source),s=tk(n,t=>t.target);t.forEach(t=>{let{edges:e,width:n,x:r,y:i,value:o,id:l}=t,c=a.get(l)||[],u=s.get(l)||[],f=0;c.map(t=>{let e=t.sourceWeight/o*n;t.x[0]=r[0]+f,t.x[1]=r[0]+f+e,f+=e}),u.forEach(t=>{let e=t.targetWeight/o*n;t.x[3]=r[0]+f,t.x[2]=r[0]+f+e,f+=e})})}(d,h),{nodes:d,edges:h}}})(t)(e);mi.props={};var ma=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let mo={y:0,thickness:.05,marginRatio:.1,id:t=>t.key,source:t=>t.source,target:t=>t.target,sourceWeight:t=>t.value||1,targetWeight:t=>t.value||1,sortBy:null},ml={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{opacity:1,fillOpacity:1,lineWidth:1}},ms={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{opacity:.5,lineWidth:1}},mc={position:"outside",fontSize:10},mu=(t,e)=>{let{data:n,encode:r={},scale:i,style:a={},layout:o={},nodeLabels:l=[],linkLabels:s=[],animate:c={},tooltip:u={}}=t,{nodes:f,links:d}=e$(n,r),h=tB(r,"node"),p=tB(r,"link"),{key:g=t=>t.key,color:m=g}=h,{linkEncodeColor:y=t=>t.source}=p,{nodeWidthRatio:v=mo.thickness,nodePaddingRatio:b=mo.marginRatio}=o,x=ma(o,["nodeWidthRatio","nodePaddingRatio"]),{nodes:O,edges:w}=mi(Object.assign(Object.assign(Object.assign(Object.assign({},mo),{id:ez(g),thickness:v,marginRatio:b}),x),{weight:!0}))({nodes:f,edges:d}),_=tB(a,"label"),{text:k=g}=_,M=ma(_,["text"]),C=hC(u,"node",{title:"",items:[t=>({name:t.key,value:t.value})]},!0),j=hC(u,"link",{title:"",items:[t=>({name:"".concat(t.source," -> ").concat(t.target),value:t.value})]}),{height:S,width:E}=e,P=Math.min(S,E);return[(0,A.Z)({},ms,{data:w,encode:Object.assign(Object.assign({},p),{color:y}),labels:s,style:Object.assign({fill:y?void 0:"#aaa"},tB(a,"link")),tooltip:j,animate:hS(c,"link")}),(0,A.Z)({},ml,{data:O,encode:Object.assign(Object.assign({},h),{color:m}),scale:i,style:tB(a,"node"),coordinate:{type:"polar",outerRadius:(P-20)/P,startAngle:-(2*Math.PI),endAngle:0},labels:[Object.assign(Object.assign(Object.assign({},mc),{text:k}),M),...l],tooltip:C,animate:hS(c,"node"),axis:!1})]};mu.props={};var mf=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let md=(t,e)=>({tile:"treemapSquarify",ratio:.5*(1+Math.sqrt(5)),size:[t,e],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,sort:(t,e)=>e.value-t.value,layer:0}),mh=(t,e)=>({type:"rect",axis:!1,encode:{x:"x",y:"y",key:"id",color:t=>t.path[1]},scale:{x:{domain:[0,t],range:[0,1]},y:{domain:[0,e],range:[0,1]}},style:{stroke:"#fff"},state:{active:{opacity:.6},inactive:{opacity:1}}}),mp={fontSize:10,text:t=>(0,os.Z)(t.path),position:"inside",fill:"#000",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:t=>t.x1-t.x0},mg={title:t=>{var e,n;return null===(n=null===(e=t.path)||void 0===e?void 0:e.join)||void 0===n?void 0:n.call(e,".")},items:[{field:"value"}]},mm={title:t=>(0,os.Z)(t.path),items:[{field:"value"}]},my=(t,e)=>{let{width:n,height:r,options:i}=e,{data:a,encode:o={},scale:l,style:s={},layout:c={},labels:u=[],tooltip:f={}}=t,d=mf(t,["data","encode","scale","style","layout","labels","tooltip"]),h=(0,sU.Z)(i,["interaction","treemapDrillDown"]),p=(0,A.Z)({},md(n,r),c,{layer:h?t=>1===t.depth:c.layer}),[g,m]=cy(a,p,o),y=tB(s,"label");return(0,A.Z)({},mh(n,r),Object.assign(Object.assign({data:g,scale:l,style:s,labels:[Object.assign(Object.assign({},mp),y),...u]},d),{encode:o,tooltip:hj(f,mg),axis:!1}),h?{interaction:Object.assign(Object.assign({},d.interaction),{treemapDrillDown:h?Object.assign(Object.assign({},h),{originData:m,layout:p}):void 0}),encode:Object.assign({color:t=>(0,os.Z)(t.path)},o),tooltip:hj(f,mm)}:{})};my.props={};var mv=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function mb(t,e){return i0(t,t=>e[t])}function mx(t,e){return i1(t,t=>e[t])}function mO(t,e){let n=2.5*mw(t,e)-1.5*mk(t,e);return i0(t,t=>e[t]>=n?e[t]:NaN)}function mw(t,e){return uj(t,.25,t=>e[t])}function m_(t,e){return uj(t,.5,t=>e[t])}function mk(t,e){return uj(t,.75,t=>e[t])}function mM(t,e){let n=2.5*mk(t,e)-1.5*mw(t,e);return i1(t,t=>e[t]<=n?e[t]:NaN)}function mC(){return(t,e)=>{let{encode:n}=e,{y:r,x:i}=n,{value:a}=r,{value:o}=i,l=Array.from(tk(t,t=>o[+t]).values()),s=l.flatMap(t=>{let e=mO(t,a),n=mM(t,a);return t.filter(t=>a[t]n)});return[s,e]}}let mj=t=>{let{data:e,encode:n,style:r={},tooltip:i={},transform:a,animate:o}=t,l=mv(t,["data","encode","style","tooltip","transform","animate"]),{point:s=!0}=r,c=mv(r,["point"]),{y:u}=n,f={y:u,y1:u,y2:u,y3:u,y4:u},d={y1:mw,y2:m_,y3:mk},h=hC(i,"box",{items:[{channel:"y",name:"min"},{channel:"y1",name:"q1"},{channel:"y2",name:"q2"},{channel:"y3",name:"q3"},{channel:"y4",name:"max"}]},!0),p=hC(i,"point",{title:{channel:"x"},items:[{name:"outlier",channel:"y"}]});if(!s)return Object.assign({type:"box",data:e,transform:[Object.assign(Object.assign({type:"groupX",y:mb},d),{y4:mx})],encode:Object.assign(Object.assign({},n),f),style:c,tooltip:h},l);let g=tB(c,"box"),m=tB(c,"point");return[Object.assign({type:"box",data:e,transform:[Object.assign(Object.assign({type:"groupX",y:mO},d),{y4:mM})],encode:Object.assign(Object.assign({},n),f),style:g,tooltip:h,animate:hS(o,"box")},l),{type:"point",data:e,transform:[{type:mC}],encode:n,style:Object.assign({},m),tooltip:p,animate:hS(o,"point")}]};mj.props={};let mA=(t,e)=>Math.sqrt(Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2))/2,mS=(t,e)=>{if(!e)return;let{coordinate:n}=e;if(!(null==n?void 0:n.getCenter))return;let r=n.getCenter();return(n,i,a)=>{let{document:o}=e.canvas,{color:l,index:s}=i,c=o.createElement("g",{}),u=mA(n[0],n[1]),f=2*mA(n[0],r),d=o.createElement("path",{style:Object.assign(Object.assign(Object.assign({d:[["M",...n[0]],["A",u,u,0,1,0,...n[1]],["A",f+2*u,f+2*u,0,0,0,...n[2]],["A",u,u,0,1,0===s?0:1,...n[3]],["A",f,f,0,0,1,...n[0]],["Z"]]},a),(0,aF.Z)(t,["shape","last","first"])),{fill:l||a.color})});return c.appendChild(d),c}};var mE=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let mP={coordinate:{type:"radial",innerRadius:.9,outerRadius:1,startAngle:-1.1*Math.PI,endAngle:.1*Math.PI},axis:{x:!1},legend:!1,tooltip:!1,encode:{x:"x",y:"y",color:"color"},scale:{color:{range:["#30BF78","#D0D0D0"]}}},mR={style:{shape:(t,e)=>{let{shape:n,radius:r}=t,i=mE(t,["shape","radius"]),a=tB(i,"pointer"),o=tB(i,"pin"),{shape:l}=a,s=mE(a,["shape"]),{shape:c}=o,u=mE(o,["shape"]),{coordinate:f,theme:d}=e;return(t,e)=>{let n=t.map(t=>f.invert(t)),[a,o,h]=function(t,e){let{transformations:n}=t.getOptions(),[,...r]=n.find(t=>t[0]===e);return r}(f,"polar"),p=f.clone(),{color:g}=e,m=w({startAngle:a,endAngle:o,innerRadius:h,outerRadius:r});m.push(["cartesian"]),p.update({transformations:m});let y=n.map(t=>p.map(t)),[v,b]=ea(y),[x,O]=f.getCenter(),_=Object.assign(Object.assign({x1:v,y1:b,x2:x,y2:O,stroke:g},s),i),k=Object.assign(Object.assign({cx:x,cy:O,stroke:g},u),i),M=tW(new tb.ZA);return t$(l)||("function"==typeof l?M.append(()=>l(y,e,p,d)):M.append("line").call(t9,_).node()),t$(c)||("function"==typeof c?M.append(()=>c(y,e,p,d)):M.append("circle").call(t9,k).node()),M.node()}},lineWidth:4,pointerLineCap:"round",pinR:10,pinFill:"#fff",radius:.6}},mT={type:"text",style:{x:"50%",y:"60%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"}},mL=t=>{var e;let{data:n={},scale:r={},style:i={},animate:a={},transform:o=[]}=t,l=mE(t,["data","scale","style","animate","transform"]),{targetData:s,totalData:c,target:u,total:f,scale:d}=function(t,e){let{name:n="score",target:r,total:i,percent:a,thresholds:o=[]}=function(t){if((0,t2.Z)(t)){let e=Math.max(0,Math.min(t,1));return{percent:e,target:e,total:1}}return t}(t),l=a||r,s=a?1:i,c=Object.assign({y:{domain:[0,s]}},e);return o.length?{targetData:[{x:n,y:l,color:"target"}],totalData:o.map((t,e)=>({x:n,y:e>=1?t-o[e-1]:t,color:e})),target:l,total:s,scale:c}:{targetData:[{x:n,y:l,color:"target"}],totalData:[{x:n,y:l,color:"target"},{x:n,y:s-l,color:"total"}],target:l,total:s,scale:c}}(n,r),h=tB(i,"text"),p=(e=["pointer","pin"],Object.fromEntries(Object.entries(i).filter(t=>{let[n]=t;return e.find(t=>n.startsWith(t))}))),g=tB(i,"arc"),m=g.shape;return[(0,A.Z)({},mP,Object.assign({type:"interval",transform:[{type:"stackY"}],data:c,scale:d,style:"round"===m?Object.assign(Object.assign({},g),{shape:mS}):g,animate:"object"==typeof a?tB(a,"arc"):a},l)),(0,A.Z)({},mP,mR,Object.assign({type:"point",data:s,scale:d,style:p,animate:"object"==typeof a?tB(a,"indicator"):a},l)),(0,A.Z)({},mT,{style:Object.assign({text:function(t,e){let{target:n,total:r}=e,{content:i}=t;return i?i(n,r):n.toString()}(h,{target:u,total:f})},h),animate:"object"==typeof a?tB(a,"text"):a})]};mL.props={};var mI=n(7258);let mN={pin:function(t,e,n){let r=4*n/3,i=Math.max(r,2*n),a=r/2,o=a+e-i/2,l=Math.asin(a/((i-a)*.85)),s=Math.sin(l)*a,c=Math.cos(l)*a,u=t-c,f=o+s,d=o+a/Math.sin(l);return"\n M ".concat(u," ").concat(f,"\n A ").concat(a," ").concat(a," 0 1 1 ").concat(u+2*c," ").concat(f,"\n Q ").concat(t," ").concat(d," ").concat(t," ").concat(e+i/2,"\n Q ").concat(t," ").concat(d," ").concat(u," ").concat(f,"\n Z \n ")},rect:function(t,e,n){let r=.618*n;return"\n M ".concat(t-r," ").concat(e-n,"\n L ").concat(t+r," ").concat(e-n,"\n L ").concat(t+r," ").concat(e+n,"\n L ").concat(t-r," ").concat(e+n,"\n Z\n ")},circle:function(t,e,n){return"\n M ".concat(t," ").concat(e-n," \n a ").concat(n," ").concat(n," 0 1 0 0 ").concat(2*n,"\n a ").concat(n," ").concat(n," 0 1 0 0 ").concat(-(2*n),"\n Z\n ")},diamond:function(t,e,n){return"\n M ".concat(t," ").concat(e-n,"\n L ").concat(t+n," ").concat(e,"\n L ").concat(t," ").concat(e+n,"\n L ").concat(t-n," ").concat(e,"\n Z\n ")},triangle:function(t,e,n){return"\n M ".concat(t," ").concat(e-n,"\n L ").concat(t+n," ").concat(e+n,"\n L ").concat(t-n," ").concat(e+n,"\n Z\n ")}};var mB=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let mD=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"circle";return mN[t]||mN.circle},mZ=(t,e)=>{if(!e)return;let{coordinate:n}=e,{liquidOptions:r,styleOptions:i}=t,{liquidShape:a,percent:o}=r,{background:l,outline:s={},wave:c={}}=i,u=mB(i,["background","outline","wave"]),{border:f=2,distance:d=0}=s,h=mB(s,["border","distance"]),{length:p=192,count:g=3}=c;return(t,r,i)=>{let{document:s}=e.canvas,{color:c,fillOpacity:m}=i,y=Object.assign(Object.assign({fill:c},i),u),v=s.createElement("g",{}),[b,x]=n.getCenter(),O=n.getSize(),w=Math.min(...O)/2,_=(0,mI.Z)(a)?a:mD(a),k=_(b,x,w,...O);if(Object.keys(l).length){let t=s.createElement("path",{style:Object.assign({d:k,fill:"#fff"},l)});v.appendChild(t)}if(o>0){let t=s.createElement("path",{style:{d:k}});v.appendChild(t),v.style.clipPath=t,function(t,e,n,r,i,a,o,l,s,c,u){let{fill:f,fillOpacity:d,opacity:h}=i;for(let i=0;i0;)c-=2*Math.PI;c=c/Math.PI/2*n;let u=a-t+c-2*t;s.push(["M",u,e]);let f=0;for(let t=0;te.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let mF={axis:{x:!1,y:!1},legend:!1,tooltip:!1,encode:{x:"type",y:"percent"},scale:{y:{domain:[0,1]}},style:{shape:mZ},animate:{enter:{type:"fadeIn"}}},m$={type:"text",style:{x:"50%",y:"50%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"},animate:{enter:{type:"fadeIn"}}},mW=t=>{let{data:e={},style:n={},animate:r}=t,i=mz(t,["data","style","animate"]),a=Math.max(0,(0,t2.Z)(e)?e:null==e?void 0:e.percent),o=[{percent:a,type:"liquid"}],l=Object.assign(Object.assign({},tB(n,"text")),tB(n,"content")),s=tB(n,"outline"),c=tB(n,"wave"),u=tB(n,"background");return[(0,A.Z)({},mF,Object.assign({type:"interval",data:o,style:{liquidOptions:{percent:a,liquidShape:null==n?void 0:n.shape},styleOptions:Object.assign(Object.assign({},n),{outline:s,wave:c,background:u})},animate:r},i)),(0,A.Z)({},m$,{style:Object.assign({text:"".concat(t0(100*a)," %")},l),animate:r})]};mW.props={};var mH=n(65543);function mG(t,e){let n=function(t){let e=[];for(let n=0;ne[n].radius+1e-10)return!1;return!0}(e,t)}),i=0,a=0,o,l=[];if(r.length>1){let e=function(t){let e={x:0,y:0};for(let n=0;n-1){let i=t[e.parentIndex[r]],a=Math.atan2(e.x-i.x,e.y-i.y),o=Math.atan2(n.x-i.x,n.y-i.y),l=o-a;l<0&&(l+=2*Math.PI);let u=o-l/2,f=mY(s,{x:i.x+i.radius*Math.sin(u),y:i.y+i.radius*Math.cos(u)});f>2*i.radius&&(f=2*i.radius),(null===c||c.width>f)&&(c={circle:i,width:f,p1:e,p2:n})}null!==c&&(l.push(c),i+=mq(c.circle.radius,c.width),n=e)}}else{let e=t[0];for(o=1;oMath.abs(e.radius-t[o].radius)){n=!0;break}n?i=a=0:(i=e.radius*e.radius*Math.PI,l.push({circle:e,p1:{x:e.x,y:e.y+e.radius},p2:{x:e.x-1e-10,y:e.y+e.radius},width:2*e.radius}))}return a/=2,e&&(e.area=i+a,e.arcArea=i,e.polygonArea=a,e.arcs=l,e.innerPoints=r,e.intersectionPoints=n),i+a}function mq(t,e){return t*t*Math.acos(1-e/t)-(t-e)*Math.sqrt(e*(2*t-e))}function mY(t,e){return Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y))}function mV(t,e,n){if(n>=t+e)return 0;if(n<=Math.abs(t-e))return Math.PI*Math.min(t,e)*Math.min(t,e);let r=t-(n*n-e*e+t*t)/(2*n),i=e-(n*n-t*t+e*e)/(2*n);return mq(t,r)+mq(e,i)}function mU(t,e){let n=mY(t,e),r=t.radius,i=e.radius;if(n>=r+i||n<=Math.abs(r-i))return[];let a=(r*r-i*i+n*n)/(2*n),o=Math.sqrt(r*r-a*a),l=t.x+a*(e.x-t.x)/n,s=t.y+a*(e.y-t.y)/n,c=-(e.y-t.y)*(o/n),u=-(e.x-t.x)*(o/n);return[{x:l+c,y:s-u},{x:l-c,y:s+u}]}function mQ(t,e,n){return Math.min(t,e)*Math.min(t,e)*Math.PI<=n+1e-10?Math.abs(t-e):(0,mH.bisect)(function(r){return mV(t,e,r)-n},0,t+e)}function mX(t,e){let n=function(t,e){let n;let r=e&&e.lossFunction?e.lossFunction:mK,i={},a={};for(let e=0;e=Math.min(i[o].size,i[l].size)&&(r=0),a[o].push({set:l,size:n.size,weight:r}),a[l].push({set:o,size:n.size,weight:r})}let o=[];for(n in a)if(a.hasOwnProperty(n)){let t=0;for(let e=0;e=8){let i=function(t,e){let n,r,i;e=e||{};let a=e.restarts||10,o=[],l={};for(n=0;n=Math.min(e[a].size,e[o].size)?u=1:t.size<=1e-10&&(u=-1),i[a][o]=i[o][a]=u}),{distances:r,constraints:i}}(t,o,l),c=s.distances,u=s.constraints,f=(0,mH.norm2)(c.map(mH.norm2))/c.length;c=c.map(function(t){return t.map(function(t){return t/f})});let d=function(t,e){return function(t,e,n,r){let i=0,a;for(a=0;a0&&p<=f||d<0&&p>=f||(i+=2*g*g,e[2*a]+=4*g*(o-c),e[2*a+1]+=4*g*(l-u),e[2*s]+=4*g*(c-o),e[2*s+1]+=4*g*(u-l))}}return i}(t,e,c,u)};for(n=0;n{let{sets:e="sets",size:n="size",as:r=["key","path"],padding:i=0}=t,[a,o]=r;return t=>{let r;let l=t.map(t=>Object.assign(Object.assign({},t),{sets:t[e],size:t[n],[a]:t.sets.join("&")}));l.sort((t,e)=>t.sets.length-e.sets.length);let s=function(t,e){let n;(e=e||{}).maxIterations=e.maxIterations||500;let r=e.initialLayout||mX,i=e.lossFunction||mK;t=function(t){let e,n,r,i;t=t.slice();let a=[],o={};for(e=0;et>e?1:-1),e=0;e{let n=t[e];return Object.assign(Object.assign({},t),{[o]:t=>{let{width:e,height:a}=t;r=r||function(t,e,n,r){let i=[],a=[];for(let e in t)t.hasOwnProperty(e)&&(a.push(e),i.push(t[e]));e-=2*r,n-=2*r;let o=function(t){let e=function(e){let n=Math.max.apply(null,t.map(function(t){return t[e]+t.radius})),r=Math.min.apply(null,t.map(function(t){return t[e]-t.radius}));return{max:n,min:r}};return{xRange:e("x"),yRange:e("y")}}(i),l=o.xRange,s=o.yRange;if(l.max==l.min||s.max==s.min)return console.log("not scaling solution: zero size detected"),t;let c=e/(l.max-l.min),u=n/(s.max-s.min),f=Math.min(u,c),d=(e-(l.max-l.min)*f)/2,h=(n-(s.max-s.min)*f)/2,p={};for(let t=0;tr[t]),l=function(t){let e={};mG(t,e);let n=e.arcs;if(0===n.length)return"M 0 0";if(1==n.length){let t=n[0].circle;return function(t,e,n){let r=[],i=t-n;return r.push("M",i,e),r.push("A",n,n,0,1,0,i+2*n,e),r.push("A",n,n,0,1,0,i,e),r.join(" ")}(t.x,t.y,t.radius)}{let t=["\nM",n[0].p2.x,n[0].p2.y];for(let e=0;ei;t.push("\nA",i,i,0,a?1:0,1,r.p1.x,r.p1.y)}return t.join(" ")}}(o);return/[zZ]$/.test(l)||(l+=" Z"),l}})})}};mJ.props={};var m0=n(33587),m1=n(28714),m2=n(22013),m5=n(95021),m3=n(71222),m4=n(7711),m6=n(84531),m8=n(64757),m9=function(){function t(){this.displayObjectHTMLElementMap=new WeakMap}return t.prototype.joinTransformMatrix=function(t){return"matrix(".concat([t[0],t[1],t[4],t[5],t[12],t[13]].join(","),")")},t.prototype.apply=function(e,n){var r=this,i=e.camera,a=e.renderingContext,o=e.renderingService;this.context=e;var l=a.root.ownerDocument.defaultView,s=l.context.eventService.nativeHTMLMap,c=function(t,e){e.style.transform=r.joinTransformMatrix(t.getWorldTransform())},u=function(t){var e=t.target;if(e.nodeName===m1.bn.HTML){r.$camera||(r.$camera=r.createCamera(i));var a=r.getOrCreateEl(e);if(r.$camera.appendChild(a),n.enableCSSParsing){var o=e.ownerDocument.documentElement.attributes;Object.keys(o).forEach(function(t){a.style[t]=o[t]})}Object.keys(e.attributes).forEach(function(t){r.updateAttribute(t,e)}),c(e,a),s.set(a,e)}},f=function(t){var e=t.target;if(e.nodeName===m1.bn.HTML&&r.$camera){var n=r.getOrCreateEl(e);n&&(n.remove(),s.delete(n))}},d=function(t){var e=t.target;if(e.nodeName===m1.bn.HTML){var n=t.attrName;r.updateAttribute(n,e)}},h=function(t){var e=t.target;if(e.nodeName===m1.bn.HTML){var n=r.getOrCreateEl(e);c(e,n)}},p=function(){if(r.$camera){var t=r.context.config,e=t.width,n=t.height;r.$camera.style.width="".concat(e||0,"px"),r.$camera.style.height="".concat(n||0,"px")}};o.hooks.init.tap(t.tag,function(){l.addEventListener(m1.$6.RESIZE,p),l.addEventListener(m1.Dk.MOUNTED,u),l.addEventListener(m1.Dk.UNMOUNTED,f),l.addEventListener(m1.Dk.ATTR_MODIFIED,d),l.addEventListener(m1.Dk.BOUNDS_CHANGED,h)}),o.hooks.endFrame.tap(t.tag,function(){r.$camera&&a.renderReasons.has(m1.Rr.CAMERA_CHANGED)&&(r.$camera.style.transform=r.joinTransformMatrix(i.getOrthoMatrix()))}),o.hooks.destroy.tap(t.tag,function(){r.$camera&&r.$camera.remove(),l.removeEventListener(m1.$6.RESIZE,p),l.removeEventListener(m1.Dk.MOUNTED,u),l.removeEventListener(m1.Dk.UNMOUNTED,f),l.removeEventListener(m1.Dk.ATTR_MODIFIED,d),l.removeEventListener(m1.Dk.BOUNDS_CHANGED,h)})},t.prototype.createCamera=function(t){var e=this.context.config,n=e.document,r=e.width,i=e.height,a=this.context.contextService.getDomElement(),o=a.parentNode;if(o){var l="g-canvas-camera",s=o.querySelector("#"+l);if(!s){var c=(n||document).createElement("div");s=c,c.id=l,c.style.position="absolute",c.style.left="".concat(a.offsetLeft||0,"px"),c.style.top="".concat(a.offsetTop||0,"px"),c.style.transformOrigin="left top",c.style.transform=this.joinTransformMatrix(t.getOrthoMatrix()),c.style.overflow="hidden",c.style.pointerEvents="none",c.style.width="".concat(r||0,"px"),c.style.height="".concat(i||0,"px"),o.appendChild(c)}return s}return null},t.prototype.getOrCreateEl=function(t){var e=this.context.config.document,n=this.displayObjectHTMLElementMap.get(t);return n||(n=(e||document).createElement("div"),t.parsedStyle.$el=n,this.displayObjectHTMLElementMap.set(t,n),t.id&&(n.id=t.id),t.name&&n.setAttribute("name",t.name),t.className&&(n.className=t.className),n.style.position="absolute",n.style["will-change"]="transform",n.style.transform=this.joinTransformMatrix(t.getWorldTransform())),n},t.prototype.updateAttribute=function(t,e){var n=this.getOrCreateEl(e);switch(t){case"innerHTML":var r=e.parsedStyle.innerHTML;(0,m6.Z)(r)?n.innerHTML=r:(n.innerHTML="",n.appendChild(r));break;case"x":n.style.left="".concat(e.parsedStyle.x,"px");break;case"y":n.style.top="".concat(e.parsedStyle.y,"px");break;case"transformOrigin":var i=e.parsedStyle.transformOrigin;n.style["transform-origin"]="".concat(i[0].value," ").concat(i[1].value);break;case"width":if(this.context.enableCSSParsing){var a=e.computedStyleMap().get("width");n.style.width=a.toString()}else{var a=e.parsedStyle.width;n.style.width=(0,t2.Z)(a)?"".concat(a,"px"):a.toString()}break;case"height":if(this.context.enableCSSParsing){var o=e.computedStyleMap().get("height");n.style.height=o.toString()}else{var o=e.parsedStyle.height;n.style.height=(0,t2.Z)(o)?"".concat(o,"px"):o.toString()}break;case"zIndex":var l=e.parsedStyle.zIndex;n.style["z-index"]="".concat(l);break;case"visibility":var s=e.parsedStyle.visibility;n.style.visibility=s;break;case"pointerEvents":var c=e.parsedStyle.pointerEvents;n.style.pointerEvents=void 0===c?"auto":c;break;case"opacity":var u=e.parsedStyle.opacity;n.style.opacity="".concat(u);break;case"fill":var f=e.parsedStyle.fill,d="";(0,m1.qA)(f)?d=f.isNone?"transparent":e.getAttribute("fill"):Array.isArray(f)?d=e.getAttribute("fill"):(0,m1.R)(f),n.style.background=d;break;case"stroke":var h=e.parsedStyle.stroke,p="";(0,m1.qA)(h)?p=h.isNone?"transparent":e.getAttribute("stroke"):Array.isArray(h)?p=e.getAttribute("stroke"):(0,m1.R)(h),n.style["border-color"]=p,n.style["border-style"]="solid";break;case"lineWidth":var g=e.parsedStyle.lineWidth;n.style["border-width"]="".concat(g||0,"px");break;case"lineDash":n.style["border-style"]="dashed";break;case"filter":var m=e.style.filter;n.style.filter=m;break;default:(0,m8.Z)(e.style[t])||""===e.style[t]||(n.style[t]=e.style[t])}},t.tag="HTMLRendering",t}(),m7=function(t){function e(){var e=t.apply(this,(0,m0.ev)([],(0,m0.CR)(arguments),!1))||this;return e.name="html-renderer",e}return(0,m0.ZT)(e,t),e.prototype.init=function(){this.addRenderingPlugin(new m9)},e.prototype.destroy=function(){this.removeAllRenderingPlugins()},e}(m1.F6),yt=n(20571),ye=function(){function t(t){this.renderingContext=t.renderingContext,this.canvasConfig=t.config}return t.prototype.init=function(){var t=this.canvasConfig,e=t.container,n=t.canvas;if(n)this.$canvas=n,e&&n.parentElement!==e&&e.appendChild(n),this.$container=n.parentElement,this.canvasConfig.container=this.$container;else if(e&&(this.$container=(0,m6.Z)(e)?document.getElementById(e):e,this.$container)){var r=document.createElement("canvas");this.$container.appendChild(r),this.$container.style.position||(this.$container.style.position="relative"),this.$canvas=r}this.context=this.$canvas.getContext("2d"),this.resize(this.canvasConfig.width,this.canvasConfig.height)},t.prototype.getContext=function(){return this.context},t.prototype.getDomElement=function(){return this.$canvas},t.prototype.getDPR=function(){return this.dpr},t.prototype.getBoundingClientRect=function(){if(this.$canvas.getBoundingClientRect)return this.$canvas.getBoundingClientRect()},t.prototype.destroy=function(){this.$container&&this.$canvas&&this.$canvas.parentNode&&this.$container.removeChild(this.$canvas)},t.prototype.resize=function(t,e){var n=this.canvasConfig.devicePixelRatio||m1.jU&&window.devicePixelRatio||1;n=n>=1?Math.ceil(n):1,this.dpr=n,this.$canvas&&(this.$canvas.width=this.dpr*t,this.$canvas.height=this.dpr*e,(0,m1.$p)(this.$canvas,t,e)),this.renderingContext.renderReasons.add(m1.Rr.CAMERA_CHANGED)},t.prototype.applyCursorStyle=function(t){this.$container&&this.$container.style&&(this.$container.style.cursor=t)},t.prototype.toDataURL=function(t){return void 0===t&&(t={}),(0,m0.mG)(this,void 0,void 0,function(){var e,n;return(0,m0.Jh)(this,function(r){return e=t.type,n=t.encoderOptions,[2,this.context.canvas.toDataURL(e,n)]})})},t}(),yn=function(t){function e(){var e=t.apply(this,(0,m0.ev)([],(0,m0.CR)(arguments),!1))||this;return e.name="canvas-context-register",e}return(0,m0.ZT)(e,t),e.prototype.init=function(){this.context.ContextService=ye},e.prototype.destroy=function(){delete this.context.ContextService},e}(m1.F6),yr=function(t){function e(e){var n=t.call(this,e)||this;return n.registerPlugin(new yn),n.registerPlugin(new yt.S),n.registerPlugin(new m2.S),n.registerPlugin(new m3.Sy),n.registerPlugin(new m4.S),n.registerPlugin(new m5.S),n.registerPlugin(new m7),n}return(0,m0.ZT)(e,t),e}(m1.I8),yi=n(68563),ya=n(35758),yo=n(13697),yl=n(96763);let ys=[["legendCategory",[[["color","discrete"],["opacity","discrete"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","constant"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","constant"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","discrete"]],[["color","discrete"],["opacity","discrete"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","discrete"]],[["color","discrete"],["opacity","constant"],["size","constant"]],[["color","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","constant"]],[["color","discrete"],["opacity","constant"],["shape","constant"]],[["color","constant"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","discrete"]],[["color","constant"],["opacity","discrete"],["size","constant"]],[["color","constant"],["opacity","constant"],["shape","discrete"]],[["color","constant"],["opacity","discrete"],["shape","constant"]],[["color","discrete"],["shape","discrete"]],[["color","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"]],[["color","discrete"],["opacity","constant"]],[["color","discrete"],["shape","constant"]],[["color","constant"],["shape","discrete"]],[["color","constant"],["size","constant"]],[["color","constant"],["opacity","discrete"]],[["color","discrete"]]]],["legendContinuousSize",[[["color","continuous"],["opacity","continuous"],["size","continuous"]],[["color","constant"],["opacity","continuous"],["size","continuous"]],[["color","continuous"],["size","continuous"]],[["color","constant"],["size","continuous"]],[["size","continuous"],["opacity","continuous"]],[["size","continuous"]]]],["legendContinuousBlockSize",[[["color","distribution"],["opacity","distribution"],["size","distribution"]],[["color","distribution"],["size","distribution"]]]],["legendContinuousBlock",[[["color","distribution"],["opacity","continuous"]],[["color","distribution"]]]],["legendContinuous",[[["color","continuous"],["opacity","continuous"]],[["color","continuous"]],[["opacity","continuous"]]]]];var yc=n(83111),yu=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let yf=t=>{let{important:e={}}=t,n=yu(t,["important"]);return r=>{let{theme:i,coordinate:a,scales:o}=r;return or(Object.assign(Object.assign(Object.assign({},n),function(t){let e=t%(2*Math.PI);return e===Math.PI/2?{titleTransform:"translate(0, 50%)"}:e>-Math.PI/2&&eMath.PI/2&&e<3*Math.PI/2?{titleTransform:"translate(-50%, 0)"}:{}}(t.orientation)),{important:Object.assign(Object.assign({},function(t,e,n,r){let{radar:i}=t,[a]=r,o=a.getOptions().name,[l,s]=tv(n),{axisRadar:c={}}=e;return Object.assign(Object.assign({},c),{grid:"position"===o,gridConnect:"line",gridControlAngles:Array(i.count).fill(0).map((t,e)=>{let n=(s-l)/i.count;return n*e})})}(t,i,a,o)),e)}))(r)}};yf.props=Object.assign(Object.assign({},or.props),{defaultPosition:"center"});let yd=t=>function(){for(var e=arguments.length,n=Array(e),r=0;re=>{let{scales:n}=e,r=a4(n,"size");return op(Object.assign({},{type:"size",data:r.getTicks().map((t,e)=>({value:t,label:String(t)}))},t))(e)};yh.props=Object.assign(Object.assign({},op.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let yp=t=>yh(Object.assign({},{block:!0},t));yp.props=Object.assign(Object.assign({},op.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var yg=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ym=function(){let{static:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e=>{let{width:n,height:r,depth:i,paddingLeft:a,paddingRight:o,paddingTop:l,paddingBottom:s,padding:c,inset:u,insetLeft:f,insetTop:d,insetRight:h,insetBottom:p,margin:g,marginLeft:m,marginBottom:y,marginTop:v,marginRight:b,data:x,coordinate:O,theme:w,component:_,interaction:k,x:M,y:C,z:j,key:A,frame:S,labelTransform:E,parentKey:P,clip:R,viewStyle:T,title:L}=e,I=yg(e,["width","height","depth","paddingLeft","paddingRight","paddingTop","paddingBottom","padding","inset","insetLeft","insetTop","insetRight","insetBottom","margin","marginLeft","marginBottom","marginTop","marginRight","data","coordinate","theme","component","interaction","x","y","z","key","frame","labelTransform","parentKey","clip","viewStyle","title"]);return[Object.assign(Object.assign({type:"standardView",x:M,y:C,z:j,key:A,width:n,height:r,depth:i,padding:c,paddingLeft:a,paddingRight:o,paddingTop:l,inset:u,insetLeft:f,insetTop:d,insetRight:h,insetBottom:p,paddingBottom:s,theme:w,coordinate:O,component:_,interaction:k,frame:S,labelTransform:E,margin:g,marginLeft:m,marginBottom:y,marginTop:v,marginRight:b,parentKey:P,clip:R,style:T},!t&&{title:L}),{marks:[Object.assign(Object.assign(Object.assign({},I),{key:"".concat(A,"-0"),data:x}),t&&{title:L})]})]}};ym.props={};var yy=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let yv=()=>t=>{let{children:e}=t,n=yy(t,["children"]);if(!Array.isArray(e))return[];let{data:r,scale:i={},axis:a={},legend:o={},encode:l={},transform:s=[]}=n,c=yy(n,["data","scale","axis","legend","encode","transform"]),u=e.map(t=>{var{data:e,scale:n={},axis:c={},legend:u={},encode:f={},transform:d=[]}=t,h=yy(t,["data","scale","axis","legend","encode","transform"]);return Object.assign({data:cB(e,r),scale:(0,A.Z)({},i,n),encode:(0,A.Z)({},l,f),transform:[...s,...d],axis:!!c&&!!a&&(0,A.Z)({},a,c),legend:!!u&&!!o&&(0,A.Z)({},o,u)},h)});return[Object.assign(Object.assign({},c),{marks:u,type:"standardView"})]};function yb(t,e,n,r){let i=e.length/2,a=e.slice(0,i),o=e.slice(i),l=ui(a,(t,e)=>Math.abs(t[1]-o[e][1]));l=Math.max(Math.min(l,i-2),1);let s=t=>[a[t][0],(a[t][1]+o[t][1])/2],c=s(l),u=s(l-1),f=s(l+1),d=tV(tG(f,u))/Math.PI*180;return{x:c[0],y:c[1],transform:"rotate(".concat(d,")"),textAlign:"center",textBaseline:"middle"}}function yx(t,e,n,r){let{bounds:i}=n,[[a,o],[l,s]]=i,c=l-a,u=s-o;return(t=>{let{x:e,y:r}=t,i=tz(n.x,c),l=tz(n.y,u);return Object.assign(Object.assign({},t),{x:(i||e)+a,y:(l||r)+o})})("left"===t?{x:0,y:u/2,textAlign:"start",textBaseline:"middle"}:"right"===t?{x:c,y:u/2,textAlign:"end",textBaseline:"middle"}:"top"===t?{x:c/2,y:0,textAlign:"center",textBaseline:"top"}:"bottom"===t?{x:c/2,y:u,textAlign:"center",textBaseline:"bottom"}:"top-left"===t?{x:0,y:0,textAlign:"start",textBaseline:"top"}:"top-right"===t?{x:c,y:0,textAlign:"end",textBaseline:"top"}:"bottom-left"===t?{x:0,y:u,textAlign:"start",textBaseline:"bottom"}:"bottom-right"===t?{x:c,y:u,textAlign:"end",textBaseline:"bottom"}:{x:c/2,y:u/2,textAlign:"center",textBaseline:"middle"})}function yO(t,e,n,r){let{y:i,y1:a,autoRotate:o,rotateToAlignArc:l}=n,s=r.getCenter(),c=en(r,e,[i,a]),{innerRadius:u,outerRadius:f,startAngle:d,endAngle:h}=c,p="inside"===t?(d+h)/2:h,g=y_(p,o,l),m=(()=>{let[n,r]=e,[i,a]="inside"===t?yw(s,p,u+(f-u)*.5):tK(n,r);return{x:i,y:a}})();return Object.assign(Object.assign({},m),{textAlign:"inside"===t?"center":"start",textBaseline:"middle",rotate:g})}function yw(t,e,n){return[t[0]+Math.sin(e)*n,t[1]-Math.cos(e)*n]}function y_(t,e,n){if(!e)return 0;let r=n?0:0>Math.sin(t)?90:-90;return t/Math.PI*180+r}function yk(t,e,n,r){let{y:i,y1:a,autoRotate:o,rotateToAlignArc:l,radius:s=.5,offset:c=0}=n,u=en(r,e,[i,a]),{startAngle:f,endAngle:d}=u,h=r.getCenter(),p=(f+d)/2,g=y_(p,o,l),{innerRadius:m,outerRadius:y}=u,[v,b]=yw(h,p,m+(y-m)*s+c);return Object.assign({x:v,y:b},{textAlign:"center",textBaseline:"middle",rotate:g})}function yM(t){return void 0===t?null:t}function yC(t,e,n,r){let{bounds:i}=n,[a]=i;return{x:yM(a[0]),y:yM(a[1])}}function yj(t,e,n,r){let{bounds:i}=n;if(1===i.length)return yC(t,e,n,r);let a=td(r)?yO:tm(r)?yk:yx;return a(t,e,n,r)}function yA(t,e,n){let r=en(n,t,[e.y,e.y1]),{innerRadius:i,outerRadius:a}=r;return i+(a-i)}function yS(t,e,n){let r=en(n,t,[e.y,e.y1]),{startAngle:i,endAngle:a}=r;return(i+a)/2}function yE(t,e,n,r){let{autoRotate:i,rotateToAlignArc:a,offset:o=0,connector:l=!0,connectorLength:s=o,connectorLength2:c=0,connectorDistance:u=0}=n,f=r.getCenter(),d=yS(e,n,r),h=Math.sin(d)>0?1:-1,p=y_(d,i,a),g={textAlign:h>0||td(r)?"start":"end",textBaseline:"middle",rotate:p},m=yA(e,n,r),y=m+(l?s:o),[[v,b],[x,O],[w,_]]=function(t,e,n,r,i){let[a,o]=yw(t,e,n),[l,s]=yw(t,e,r),c=Math.sin(e)>0?1:-1;return[[a,o],[l,s],[l+c*i,s]]}(f,d,m,y,l?c:0),k=l?+u*h:0,M=w+k;return Object.assign(Object.assign({x0:v,y0:b,x:w+k,y:_},g),{connector:l,connectorPoints:[[x-M,O-_],[w-M,_-_]]})}function yP(t,e,n,r){let{bounds:i}=n;if(1===i.length)return yC(t,e,n,r);let a=td(r)?yO:tm(r)?yE:yx;return a(t,e,n,r)}function yR(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{labelHeight:n=14,height:r}=e,i=oP(t,t=>t.y),a=i.length,o=Array(a);for(let t=0;t0;t--){let e=o[t],n=o[t-1];if(n.y1>e.y){l=!0,n.labels.push(...e.labels),o.splice(t,1),n.y1+=e.y1-e.y;let i=n.y1-n.y;n.y1=Math.max(Math.min(n.y1,r),i),n.y=n.y1-i}}}let s=0;for(let t of o){let{y:e,labels:r}=t,a=e-n;for(let t of r){let e=i[s++],r=a+n,o=r-t;e.connectorPoints[0][1]-=o,e.y=a+n,a+=n}}}function yT(t,e){let n=oP(t,t=>t.y),{height:r,labelHeight:i=14}=e,a=Math.ceil(r/i);if(n.length<=a)return yR(n,e);let o=[];for(let t=0;te.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let yI=new WeakMap;function yN(t,e,n,r,i,a){if(!tm(r))return{};if(yI.has(e))return yI.get(e);let o=a.map(t=>(function(t,e,n){let{connectorLength:r,connectorLength2:i,connectorDistance:a}=e,o=yL(yE("outside",t,e,n),[]),l=n.getCenter(),s=yA(t,e,n),c=yS(t,e,n),u=Math.sin(c)>0?1:-1,f=l[0]+(s+r+i+ +a)*u,{x:d}=o,h=f-d;return o.x+=h,o.connectorPoints[0][0]-=h,o})(t,n,r)),{width:l,height:s}=r.getOptions(),c=o.filter(t=>t.xt.x>=l/2),f=Object.assign(Object.assign({},i),{height:s});return yT(c,f),yT(u,f),o.forEach((t,e)=>yI.set(a[e],t)),yI.get(e)}var yB=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function yD(t,e,n,r){if(!tm(r))return{};let{connectorLength:i,connectorLength2:a,connectorDistance:o}=n,l=yB(yE("outside",e,n,r),[]),{x0:s,y0:c}=l,u=r.getCenter(),f=function(t){if(tm(t)){let[e,n]=t.getSize(),r=t.getOptions().transformations.find(t=>"polar"===t[0]);if(r)return Math.max(e,n)/2*r[4]}return 0}(r),d=tU([s-u[0],c-u[1]]),h=Math.sin(d)>0?1:-1,[p,g]=yw(u,d,f+i);return l.x=p+(a+o)*h,l.y=g,l}var yZ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let yz=(t,e)=>{let{coordinate:n,theme:r}=e,{render:i}=t;return(e,a,o,l)=>{let{text:s,x:c,y:f,transform:d="",transformOrigin:h,className:p=""}=a,g=yZ(a,["text","x","y","transform","transformOrigin","className"]),m=function(t,e,n,r,i,a){let{position:o}=e,{render:l}=i,s=void 0!==o?o:tm(n)?"inside":tu(n)?"right":"top",c=l?"htmlLabel":"inside"===s?"innerLabel":"label",f=r[c],d=Object.assign({},f,e),h=u[sW(s)];if(!h)throw Error("Unknown position: ".concat(s));return Object.assign(Object.assign({},f),h(s,t,d,n,i,a))}(e,a,n,r,t,l),{rotate:y=0,transform:v=""}=m,b=yZ(m,["rotate","transform"]);return tW(new rw).call(t9,b).style("text","".concat(s)).style("className","".concat(p," g2-label")).style("innerHTML",i?i(s,a.datum,a.index):void 0).style("labelTransform","".concat(v," rotate(").concat(+y,") ").concat(d).trim()).style("labelTransformOrigin",h).style("coordCenter",n.getCenter()).call(t9,g).node()}};yz.props={defaultMarker:"point"};var yF=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function y$(t,e){let n=Object.assign(Object.assign({},{"component.axisRadar":yf,"component.axisLinear":or,"component.axisArc":oi,"component.legendContinuousBlock":yd,"component.legendContinuousBlockSize":yp,"component.legendContinuousSize":yh,"interaction.event":l5,"composition.mark":ym,"composition.view":yv,"shape.label.label":yz}),e),r=e=>{if("string"!=typeof e)return e;let r="".concat(t,".").concat(e);return n[r]||tL("Unknown Component: ".concat(r))};return[(t,e)=>{let{type:n}=t,i=yF(t,["type"]);n||tL("Plot type is required!");let a=r(n);return null==a?void 0:a(i,e)},r]}function yW(t){let{canvas:e,group:n}=t;return(null==e?void 0:e.document)||(null==n?void 0:n.ownerDocument)||tL("Cannot find library document")}var yH=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function yG(t,e){let{coordinate:n={},coordinates:r}=t,i=yH(t,["coordinate","coordinates"]);if(r)return t;let{type:a,transform:o=[]}=n,l=yH(n,["type","transform"]);if(!a)return Object.assign(Object.assign({},i),{coordinates:o});let[,s]=y$("coordinate",e),{transform:c=!1}=s(a).props||{};if(c)throw Error("Unknown coordinate: ".concat(a,"."));return Object.assign(Object.assign({},i),{coordinates:[Object.assign({type:a},l),...o]})}function yq(t,e){return t.filter(t=>t.type===e)}function yY(t){return yq(t,"polar").length>0}function yV(t){return yq(t,"transpose").length%2==1}function yU(t){return yq(t,"theta").length>0}function yQ(t){return yq(t,"radial").length>0}var yX=n(63336);function yK(t){for(var e=t.length/6|0,n=Array(e),r=0;r(0,vt.hD)(t[t.length-1]),vn=[,,,].concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(yK),vr=ve(vn),vi=[,,,].concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(yK),va=ve(vi),vo=[,,,].concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(yK),vl=ve(vo),vs=[,,,].concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(yK),vc=ve(vs),vu=[,,,].concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(yK),vf=ve(vu),vd=[,,,].concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(yK),vh=ve(vd),vp=[,,,].concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(yK),vg=ve(vp),vm=[,,,].concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(yK),vy=ve(vm),vv=[,,,].concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(yK),vb=ve(vv),vx=[,,,].concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(yK),vO=ve(vx),vw=[,,,].concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(yK),v_=ve(vw),vk=[,,,].concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(yK),vM=ve(vk),vC=[,,,].concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(yK),vj=ve(vC),vA=[,,,].concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(yK),vS=ve(vA),vE=[,,,].concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(yK),vP=ve(vE),vR=[,,,].concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(yK),vT=ve(vR),vL=[,,,].concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(yK),vI=ve(vL),vN=[,,,].concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(yK),vB=ve(vN),vD=[,,,].concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(yK),vZ=ve(vD),vz=[,,,].concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(yK),vF=ve(vz),v$=[,,,].concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(yK),vW=ve(v$),vH=[,,,].concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(yK),vG=ve(vH),vq=[,,,].concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(yK),vY=ve(vq),vV=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(yK),vU=ve(vV),vQ=[,,,].concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(yK),vX=ve(vQ),vK=[,,,].concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(yK),vJ=ve(vK),v0=[,,,].concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(yK),v1=ve(v0);function v2(t){return"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-(t=Math.max(0,Math.min(1,t)))*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"}var v5=n(59918),v3=n(68053);let v4=Math.PI/180,v6=180/Math.PI;var v8=-1.78277*.29227-.1347134789;function v9(t,e,n,r){return 1==arguments.length?function(t){if(t instanceof v7)return new v7(t.h,t.s,t.l,t.opacity);t instanceof v3.Ss||(t=(0,v3.SU)(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(v8*r+-1.7884503806*e-3.5172982438*n)/(v8+-1.7884503806-3.5172982438),a=r-i,o=-((1.97294*(n-i)- -.29227*a)/.90649),l=Math.sqrt(o*o+a*a)/(1.97294*i*(1-i)),s=l?Math.atan2(o,a)*v6-120:NaN;return new v7(s<0?s+360:s,l,i,t.opacity)}(t):new v7(t,e,n,null==r?1:r)}function v7(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}(0,v5.Z)(v7,v9,(0,v5.l)(v3.Il,{brighter(t){return t=null==t?v3.J5:Math.pow(v3.J5,t),new v7(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?v3.xV:Math.pow(v3.xV,t),new v7(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=isNaN(this.h)?0:(this.h+120)*v4,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new v3.Ss(255*(e+n*(-.14861*r+1.78277*i)),255*(e+n*(-.29227*r+-.90649*i)),255*(e+n*(1.97294*r)),this.opacity)}}));var bt=n(31271);function be(t){return function e(n){function r(e,r){var i=t((e=v9(e)).h,(r=v9(r)).h),a=(0,bt.ZP)(e.s,r.s),o=(0,bt.ZP)(e.l,r.l),l=(0,bt.ZP)(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=a(t),e.l=o(Math.pow(t,n)),e.opacity=l(t),e+""}}return n=+n,r.gamma=e,r}(1)}be(bt.wx);var bn=be(bt.ZP),br=bn(v9(300,.5,0),v9(-240,.5,1)),bi=bn(v9(-100,.75,.35),v9(80,1.5,.8)),ba=bn(v9(260,.75,.35),v9(80,1.5,.8)),bo=v9();function bl(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return bo.h=360*t-100,bo.s=1.5-1.5*e,bo.l=.8-.9*e,bo+""}var bs=(0,v3.B8)(),bc=Math.PI/3,bu=2*Math.PI/3;function bf(t){var e;return t=(.5-t)*Math.PI,bs.r=255*(e=Math.sin(t))*e,bs.g=255*(e=Math.sin(t+bc))*e,bs.b=255*(e=Math.sin(t+bu))*e,bs+""}function bd(t){return"rgb("+Math.max(0,Math.min(255,Math.round(34.61+(t=Math.max(0,Math.min(1,t)))*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"}function bh(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var bp=bh(yK("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),bg=bh(yK("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),bm=bh(yK("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),by=bh(yK("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function bv(t,e){let n=Object.keys(t);for(let r of Object.values(e)){let{name:e}=r.getOptions();if(e in t){let i=n.filter(t=>t.startsWith(e)).map(t=>+(t.replace(e,"")||0)),a=i1(i)+1,o="".concat(e).concat(a);t[o]=r,r.getOptions().key=o}else t[e]=r}return t}function bb(t,e){let n,r;let[i]=y$("scale",e),{relations:a}=t,[o]=a&&Array.isArray(a)?[t=>{var e;n=t.map.bind(t),r=null===(e=t.invert)||void 0===e?void 0:e.bind(t);let i=a.filter(t=>{let[e]=t;return"function"==typeof e}),o=a.filter(t=>{let[e]=t;return"function"!=typeof e}),l=new Map(o);if(t.map=t=>{for(let[e,n]of i)if(e(t))return n;return l.has(t)?l.get(t):n(t)},!r)return t;let s=new Map(o.map(t=>{let[e,n]=t;return[n,e]})),c=new Map(i.map(t=>{let[e,n]=t;return[n,e]}));return t.invert=t=>c.has(t)?t:s.has(t)?s.get(t):r(t),t},t=>(null!==n&&(t.map=n),null!==r&&(t.invert=r),t)]:[tP,tP],l=i(t);return o(l)}function bx(t,e){let n=t.filter(t=>{let{name:n,facet:r=!0}=t;return r&&n===e}),r=n.flatMap(t=>t.domain),i=n.every(bO)?t5(r):n.every(bw)?Array.from(new Set(r)):null;if(null!==i)for(let t of n)t.domain=i}function bO(t){let{type:e}=t;return"string"==typeof e&&["linear","log","pow","time"].includes(e)}function bw(t){let{type:e}=t;return"string"==typeof e&&["band","point","ordinal"].includes(e)}function b_(t,e,n,r,i){let[a]=y$("palette",i),{category10:o,category20:l}=r,s=Array.from(new Set(n)).length<=o.length?o:l,{palette:c=s,offset:u}=e;if(Array.isArray(c))return c;try{return a({type:c})}catch(e){let t=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>t;if(!t)return null;let r=(0,a$.Z)(t),i=f["scheme".concat(r)],a=f["interpolate".concat(r)];if(!i&&!a)return null;if(i){if(!i.some(Array.isArray))return i;let t=i[e.length];if(t)return t}return e.map((t,r)=>a(n(r/e.length)))}(c,n,u);if(t)return t;throw Error("Unknown Component: ".concat(c," "))}}function bk(t,e){return e||(t.startsWith("x")||t.startsWith("y")||t.startsWith("position")||t.startsWith("size")?"point":"ordinal")}function bM(t,e,n){return n||("color"!==t?"linear":e?"linear":"sequential")}function bC(t,e){if(0===t.length)return t;let{domainMin:n,domainMax:r}=e,[i,a]=t;return[null!=n?n:i,null!=r?r:a]}function bj(t){return bS(t,t=>{let e=typeof t;return"string"===e||"boolean"===e})}function bA(t){return bS(t,t=>t instanceof Date)}function bS(t,e){for(let n of t)if(n.some(e))return!0;return!1}let bE={linear:"linear",identity:"identity",log:"log",pow:"pow",sqrt:"sqrt",sequential:"sequential"},bP={threshold:"threshold",quantize:"quantize",quantile:"quantile"},bR={ordinal:"ordinal",band:"band",point:"point"},bT={constant:"constant"};var bL=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function bI(t,e,n,r,i){let[a]=y$("component",r),{scaleInstances:o,scale:l,bbox:s}=t,c=bL(t,["scaleInstances","scale","bbox"]),u=a(c);return u({coordinate:e,library:r,markState:i,scales:o,theme:n,value:{bbox:s,library:r},scale:l})}function bN(t,e){let n=["left","right","bottom","top"],r=tM(t,t=>{let{type:e,position:r,group:i}=t;return n.includes(r)?void 0===i?e.startsWith("legend")?"legend-".concat(r):Symbol("independent"):"independent"===i?Symbol("independent"):i:Symbol("independent")});return r.flatMap(t=>{let[,n]=t;if(1===n.length)return n[0];if(void 0!==e){let t=n.filter(t=>void 0!==t.length).map(t=>t.length),r=uA(t);if(r>e)return n.forEach(t=>t.group=Symbol("independent")),n;let i=n.length-t.length,a=(e-r)/i;n.forEach(t=>{void 0===t.length&&(t.length=a)})}let r=i1(n,t=>t.size),i=i1(n,t=>t.order),a=i1(n,t=>t.crossPadding),o=n[0].position;return{type:"group",size:r,order:i,position:o,children:n,crossPadding:a}})}function bB(t){let e=yq(t,"polar");if(e.length){let t=e[e.length-1],{startAngle:n,endAngle:r}=p(t);return[n,r]}let n=yq(t,"radial");if(n.length){let t=n[n.length-1],{startAngle:e,endAngle:r}=O(t);return[e,r]}return[-Math.PI/2,Math.PI/2*3]}function bD(t,e,n,r,i,a){let{type:o}=t;if(["left","right","bottom","top"].includes(r)&&"string"==typeof o)return(o.startsWith("axis")?bW:o.startsWith("group")?bZ:o.startsWith("legendContinuous")?bH:"legendCategory"===o?bG:o.startsWith("slider")?b$:"title"===o?bF:o.startsWith("scrollbar")?bz:()=>{})(t,e,n,r,i,a)}function bZ(t,e,n,r,i,a){let{children:o}=t,l=i1(o,t=>t.crossPadding);o.forEach(t=>t.crossPadding=l),o.forEach(t=>bD(t,e,n,r,i,a));let s=i1(o,t=>t.size);t.size=s,o.forEach(t=>t.size=s)}function bz(t,e,n,r,i,a){let{trackSize:o=6}=(0,A.Z)({},i.scrollbar,t);t.size=o}function bF(t,e,n,r,i,a){let o=(0,A.Z)({},i.title,t),{title:l,subtitle:s,spacing:c=0}=o,u=bL(o,["title","subtitle","spacing"]);if(l){let e=tB(u,"title"),n=bX(l,e);t.size=n.height}if(s){let e=tB(u,"subtitle"),n=bX(s,e);t.size+=c+n.height}}function b$(t,e,n,r,i,a){let{trackSize:o,handleIconSize:l}=(()=>{let{slider:e}=i;return(0,A.Z)({},e,t)})(),s=Math.max(o,2.4*l);t.size=s}function bW(t,e,n,r,i,a){var o;t.transform=t.transform||[{type:"hide"}];let l="left"===r||"right"===r,s=bU(t,r,i),{tickLength:c=0,labelSpacing:u=0,titleSpacing:f=0,labelAutoRotate:d}=s,h=bL(s,["tickLength","labelSpacing","titleSpacing","labelAutoRotate"]),p=bq(t,a),g=bY(h,p),m=c+u;if(g&&g.length){let r=i1(g,t=>t.width),i=i1(g,t=>t.height);if(l)t.size=r+m;else{let{tickFilter:a,labelTransform:l}=t;(function(t,e,n,r,i){let a=uA(e,t=>t.width);if(a>n)return!0;let o=t.clone();o.update({range:[0,n]});let l=bQ(t,i),s=l.map(t=>o.map(t)+function(t,e){if(!t.getBandWidth)return 0;let n=t.getBandWidth(e)/2;return n}(o,t)),c=l.map((t,e)=>e),u=-r[0],f=n+r[1],d=(t,e)=>{let{width:n}=e;return[t-n/2,t+n/2]};for(let t=0;tf)return!0;let a=s[t+1];if(a){let[n]=d(a,e[t+1]);if(i>n)return!0}}return!1})(p,g,e,n,a)&&!l&&!1!==d&&null!==d?(t.labelTransform="rotate(90)",t.size=r+m):(t.labelTransform=null!==(o=t.labelTransform)&&void 0!==o?o:"rotate(0)",t.size=i+m)}}else t.size=c;let y=bV(h);y&&(l?t.size+=f+y.width:t.size+=f+y.height)}function bH(t,e,n,r,i,a){let o=(()=>{let{legendContinuous:e}=i;return(0,A.Z)({},e,t)})(),{labelSpacing:l=0,titleSpacing:s=0}=o,c=bL(o,["labelSpacing","titleSpacing"]),u="left"===r||"right"===r,f=tB(c,"ribbon"),{size:d}=f,h=tB(c,"handleIcon"),{size:p}=h,g=Math.max(d,2.4*p);t.size=g;let m=bq(t,a),y=bY(c,m);if(y){let e=u?"width":"height",n=i1(y,t=>t[e]);t.size+=n+l}let v=bV(c);v&&(u?t.size=Math.max(t.size,v.width):t.size+=s+v.height)}function bG(t,e,n,r,i,a){let o=(()=>{let{legendCategory:e}=i,{title:n}=t,[r,a]=Array.isArray(n)?[n,void 0]:[void 0,n];return(0,A.Z)({title:r},e,Object.assign(Object.assign({},t),{title:a}))})(),{itemSpacing:l,itemMarkerSize:s,titleSpacing:c,rowPadding:u,colPadding:f,maxCols:d=1/0,maxRows:h=1/0}=o,p=bL(o,["itemSpacing","itemMarkerSize","titleSpacing","rowPadding","colPadding","maxCols","maxRows"]),{cols:g,length:m}=t,y=t=>Math.min(t,h),v=t=>Math.min(t,d),b="left"===r||"right"===r,x=void 0===m?e+(b?0:n[0]+n[1]):m,O=bV(p),w=bq(t,a),_=bY(p,w,"itemLabel"),k=Math.max(_[0].height,s)+u,M=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return s+t+l[0]+e};b?(()=>{let e=-1/0,n=0,r=1,i=0,a=-1/0,o=-1/0,l=O?O.height:0,s=x-l;for(let{width:t}of _){let l=M(t,f);e=Math.max(e,l),n+k>s?(r++,a=Math.max(a,i),o=Math.max(o,n),i=1,n=k):(n+=k,i++)}r<=1&&(a=i,o=n),t.size=e*v(r),t.length=o+l,(0,A.Z)(t,{cols:v(r),gridRow:a})})():"number"==typeof g?(()=>{let e=Math.ceil(_.length/g),n=i1(_,t=>M(t.width))*g;t.size=k*y(e)-u,t.length=Math.min(n,x)})():(()=>{let e=1,n=0,r=-1/0;for(let{width:t}of _){let i=M(t,f);n+i>x?(r=Math.max(r,n),n=i,e++):n+=i}1===e&&(r=n),t.size=k*y(e)-u,t.length=r})(),O&&(b?t.size=Math.max(t.size,O.width):t.size+=c+O.height)}function bq(t,e){let[n]=y$("scale",e),{scales:r,tickCount:i,tickMethod:a}=t,o=r.find(t=>"constant"!==t.type&&"identity"!==t.type);return void 0!==i&&(o.tickCount=i),void 0!==a&&(o.tickMethod=a),n(o)}function bY(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"label",{labelFormatter:r,tickFilter:i,label:a=!0}=t,o=bL(t,["labelFormatter","tickFilter","label"]);if(!a)return null;let l=function(t,e,n){let r=bQ(t,n),i=r.map(t=>"number"==typeof t?t0(t):t),a=e?"string"==typeof e?dL(e):e:t.getFormatter?t.getFormatter():t=>"".concat(t);return i.map(a)}(e,r,i),s=tB(o,n),c=l.map((t,e)=>Object.fromEntries(Object.entries(s).map(n=>{let[r,i]=n;return[r,"function"==typeof i?i(t,e):i]}))),u=l.map((t,e)=>{let n=c[e];return bX(t,n)}),f=c.some(t=>t.transform);if(!f){let e=l.map((t,e)=>e);t.indexBBox=new Map(e.map(t=>[t,[l[t],u[t]]]))}return u}function bV(t){let{title:e}=t,n=bL(t,["title"]);if(!1===e||null==e)return null;let r=tB(n,"title"),{direction:i,transform:a}=r,o=Array.isArray(e)?e.join(","):e;if("string"!=typeof o)return null;let l=bX(o,Object.assign(Object.assign({},r),{transform:a||("vertical"===i?"rotate(-90)":"")}));return l}function bU(t,e,n){let{title:r}=t,[i,a]=Array.isArray(r)?[r,void 0]:[void 0,r],{axis:o,["axis".concat(tT(e))]:l}=n;return(0,A.Z)({title:i},o,l,Object.assign(Object.assign({},t),{title:a}))}function bQ(t,e){let n=t.getTicks?t.getTicks():t.getOptions().domain;return e?n.filter(e):n}function bX(t,e){let n=t instanceof tb.s$?t:new tb.xv({style:{text:"".concat(t)}}),{filter:r}=e,i=bL(e,["filter"]);n.attr(Object.assign(Object.assign({},i),{visibility:"none"}));let a=n.getBBox();return a}function bK(t,e,n,r,i,a,o){let l=tk(t,t=>t.position),{padding:s=a.padding,paddingLeft:c=s,paddingRight:u=s,paddingBottom:f=s,paddingTop:d=s}=i,h={paddingBottom:f,paddingLeft:c,paddingTop:d,paddingRight:u};for(let t of r){let r="padding".concat(tT(sW(t))),i=l.get(t)||[],s=h[r],c=t=>{void 0===t.size&&(t.size=t.defaultSize)},u=t=>{"group"===t.type?(t.children.forEach(c),t.size=i1(t.children,t=>t.size)):t.size=t.defaultSize},f=r=>{r.size||("auto"!==s?u(r):(bD(r,e,n,t,a,o),c(r)))},d=t=>{t.type.startsWith("axis")&&void 0===t.labelAutoHide&&(t.labelAutoHide=!0)},p="bottom"===t||"top"===t,g=i0(i,t=>t.order),m=i.filter(t=>t.type.startsWith("axis")&&t.order==g);if(m.length&&(m[0].crossPadding=0),"number"==typeof s)i.forEach(c),i.forEach(d);else if(0===i.length)h[r]=0;else{let t=p?e+n[0]+n[1]:e,a=bN(i,t);a.forEach(f);let o=a.reduce((t,e)=>{let{size:n,crossPadding:r=12}=e;return t+n+r},0);h[r]=o}}return h}function bJ(t){let{width:e,height:n,paddingLeft:r,paddingRight:i,paddingTop:a,paddingBottom:o,marginLeft:l,marginTop:s,marginBottom:c,marginRight:u,innerHeight:f,innerWidth:d,insetBottom:h,insetLeft:p,insetRight:g,insetTop:m}=t,y=r+l,v=a+s,b=i+u,x=o+c,O=e-l-u,w=[y+p,v+m,d-p-g,f-m-h,"center",null,null];return{top:[y,0,d,v,"vertical",!0,ow,l,O],right:[e-b,v,b,f,"horizontal",!1,ow],bottom:[y,n-x,d,x,"vertical",!1,ow,l,O],left:[0,v,y,f,"horizontal",!0,ow],"top-left":[y,0,d,v,"vertical",!0,ow],"top-right":[y,0,d,v,"vertical",!0,ow],"bottom-left":[y,n-x,d,x,"vertical",!1,ow],"bottom-right":[y,n-x,d,x,"vertical",!1,ow],center:w,inner:w,outer:w}}var b0=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function b1(t,e,n){let{encode:r={},scale:i={},transform:a=[]}=e,o=b0(e,["encode","scale","transform"]);return[t,Object.assign(Object.assign({},o),{encode:r,scale:i,transform:a})]}function b2(t,e,n){var r,i,a,o;return r=this,i=void 0,a=void 0,o=function*(){let{library:t}=n,{data:r}=e,[i]=y$("data",t),a=function(t){if((0,t2.Z)(t))return{type:"inline",value:t};if(!t)return{type:"inline",value:null};if(Array.isArray(t))return{type:"inline",value:t};let{type:e="inline"}=t,n=b0(t,["type"]);return Object.assign(Object.assign({},n),{type:e})}(r),{transform:o=[]}=a,l=b0(a,["transform"]),s=[l,...o],c=s.map(t=>i(t,n)),u=yield(function(t){return t.reduce((t,e)=>n=>{var r,i,a,o;return r=this,i=void 0,a=void 0,o=function*(){let r=yield t(n);return e(r)},new(a||(a=Promise))(function(t,e){function n(t){try{s(o.next(t))}catch(t){e(t)}}function l(t){try{s(o.throw(t))}catch(t){e(t)}}function s(e){var r;e.done?t(e.value):((r=e.value)instanceof a?r:new a(function(t){t(r)})).then(n,l)}s((o=o.apply(r,i||[])).next())})},tP)})(c)(r),f=!r||Array.isArray(r)||Array.isArray(u)?u:{value:u};return[Array.isArray(u)?t4(u):[],Object.assign(Object.assign({},e),{data:f})]},new(a||(a=Promise))(function(t,e){function n(t){try{s(o.next(t))}catch(t){e(t)}}function l(t){try{s(o.throw(t))}catch(t){e(t)}}function s(e){var r;e.done?t(e.value):((r=e.value)instanceof a?r:new a(function(t){t(r)})).then(n,l)}s((o=o.apply(r,i||[])).next())})}function b5(t,e,n){let{encode:r}=e;if(!r)return[t,e];let i={};for(let[t,e]of Object.entries(r))if(Array.isArray(e))for(let n=0;n{if(function(t){if("object"!=typeof t||t instanceof Date||null===t)return!1;let{type:e}=t;return tN(e)}(t))return t;let e="function"==typeof t?"transform":"string"==typeof t&&Array.isArray(i)&&i.some(e=>void 0!==e[t])?"field":"constant";return{type:e,value:t}});return[t,Object.assign(Object.assign({},e),{encode:a})]}function b4(t,e,n){let{encode:r}=e;if(!r)return[t,e];let i=t3(r,(t,e)=>{var n;let{type:r}=t;return"constant"!==r||(n=e).startsWith("x")||n.startsWith("y")||n.startsWith("position")||"enterDelay"===n||"enterDuration"===n||"updateDelay"===n||"updateDuration"===n||"exitDelay"===n||"exitDuration"===n?t:Object.assign(Object.assign({},t),{constant:!0})});return[t,Object.assign(Object.assign({},e),{encode:i})]}function b6(t,e,n){let{encode:r,data:i}=e;if(!r)return[t,e];let{library:a}=n,o=function(t){let[e]=y$("encode",t);return(t,n)=>void 0===n||void 0===t?null:Object.assign(Object.assign({},n),{type:"column",value:e(n)(t),field:function(t){let{type:e,value:n}=t;return"field"===e&&"string"==typeof n?n:null}(n)})}(a),l=t3(r,t=>o(i,t));return[t,Object.assign(Object.assign({},e),{encode:l})]}function b8(t,e,n){let{tooltip:r={}}=e;return t$(r)?[t,e]:Array.isArray(r)?[t,Object.assign(Object.assign({},e),{tooltip:{items:r}})]:tF(r)&&hA(r)?[t,Object.assign(Object.assign({},e),{tooltip:r})]:[t,Object.assign(Object.assign({},e),{tooltip:{items:[r]}})]}function b9(t,e,n){let{data:r,encode:i,tooltip:a={}}=e;if(t$(a))return[t,e];let o=e=>{if(!e)return e;if("string"==typeof e)return t.map(t=>({name:e,value:r[t][e]}));if(tF(e)){let{field:n,channel:a,color:o,name:l=n,valueFormatter:s=t=>t}=e,c="string"==typeof s?dL(s):s,u=a&&i[a],f=u&&i[a].field,d=l||f||a,h=[];for(let e of t){let t=n?r[e][n]:u?i[a].value[e]:null;h[e]={name:d,color:o,value:c(t)}}return h}if("function"==typeof e){let n=[];for(let a of t){let t=e(r[a],a,r,i);tF(t)?n[a]=t:n[a]={value:t}}return n}return e},{title:l,items:s=[]}=a,c=b0(a,["title","items"]),u=Object.assign({title:o(l),items:Array.isArray(s)?s.map(o):[]},c);return[t,Object.assign(Object.assign({},e),{tooltip:u})]}function b7(t,e,n){let{encode:r}=e,i=b0(e,["encode"]);if(!r)return[t,e];let a=Object.entries(r),o=a.filter(t=>{let[,e]=t,{value:n}=e;return Array.isArray(n[0])}).flatMap(e=>{let[n,r]=e,i=[[n,Array(t.length).fill(void 0)]],{value:a}=r,o=b0(r,["value"]);for(let e=0;e{let[e,n]=t;return[e,Object.assign({type:"column",value:n},o)]})}),l=Object.fromEntries([...a,...o]);return[t,Object.assign(Object.assign({},i),{encode:l})]}function xt(t,e,n){let{axis:r={},legend:i={},slider:a={},scrollbar:o={}}=e,l=(t,e)=>{if("boolean"==typeof t)return t?{}:null;let n=t[e];return void 0===n||n?n:null},s="object"==typeof r?Array.from(new Set(["x","y","z",...Object.keys(r)])):["x","y","z"];return(0,A.Z)(e,{scale:Object.assign(Object.assign({},Object.fromEntries(s.map(t=>{let e=l(o,t);return[t,Object.assign({guide:l(r,t),slider:l(a,t),scrollbar:e},e&&{ratio:void 0===e.ratio?.5:e.ratio})]}))),{color:{guide:l(i,"color")},size:{guide:l(i,"size")},shape:{guide:l(i,"shape")},opacity:{guide:l(i,"opacity")}})}),[t,e]}function xe(t,e,n){let{animate:r}=e;return r||void 0===r||(0,A.Z)(e,{animate:{enter:{type:null},exit:{type:null},update:{type:null}}}),[t,e]}var xn=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})},xr=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},xi=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})},xa=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function xo(t){t.style("transform",t=>"translate(".concat(t.layout.x,", ").concat(t.layout.y,")"))}function xl(t,e){return xi(this,void 0,void 0,function*(){let{library:n}=e,r=yield function(t,e){return xi(this,void 0,void 0,function*(){let{library:n}=e,[r,i]=y$("mark",n),a=new Set(Object.keys(n).map(t=>{var e;return null===(e=/component\.(.*)/.exec(t))||void 0===e?void 0:e[1]}).filter(tN)),{marks:o}=t,l=[],s=[],c=[...o],{width:u,height:f}=function(t){let{height:e,width:n,padding:r=0,paddingLeft:i=r,paddingRight:a=r,paddingTop:o=r,paddingBottom:l=r,margin:s=16,marginLeft:c=s,marginRight:u=s,marginTop:f=s,marginBottom:d=s,inset:h=0,insetLeft:p=h,insetRight:g=h,insetTop:m=h,insetBottom:y=h}=t,v=t=>"auto"===t?20:t,b=n-v(i)-v(a)-c-u-p-g,x=e-v(o)-v(l)-f-d-m-y;return{width:b,height:x}}(t),d={options:t,width:u,height:f};for(;c.length;){let[t]=c.splice(0,1),n=yield xv(t,e),{type:o=tL("G2Mark type is required."),key:u}=n;if(a.has(o))s.push(n);else{let{props:t={}}=i(o),{composite:e=!0}=t;if(e){let{data:t}=n,e=Object.assign(Object.assign({},n),{data:t?Array.isArray(t)?t:t.value:t}),i=yield r(e,d),a=Array.isArray(i)?i:[i];c.unshift(...a.map((t,e)=>Object.assign(Object.assign({},t),{key:"".concat(u,"-").concat(e)})))}else l.push(n)}}return Object.assign(Object.assign({},t),{marks:l,components:s})})}(t,e),i=function(t){let{coordinate:e={},interaction:n={},style:r={},marks:i}=t,a=xa(t,["coordinate","interaction","style","marks"]),o=i.map(t=>t.coordinate||{}),l=i.map(t=>t.interaction||{}),s=i.map(t=>t.viewStyle||{}),c=[...o,e].reduceRight((t,e)=>(0,A.Z)(t,e),{}),u=[n,...l].reduce((t,e)=>(0,A.Z)(t,e),{}),f=[...s,r].reduce((t,e)=>(0,A.Z)(t,e),{});return Object.assign(Object.assign({},a),{marks:i,coordinate:c,interaction:u,style:f})}(r);t.interaction=i.interaction,t.coordinate=i.coordinate,t.marks=[...i.marks,...i.components];let a=yG(i,n),o=yield xs(a,e);return xu(o,a,n)})}function xs(t,e){return xi(this,void 0,void 0,function*(){let{library:n}=e,[r]=y$("theme",n),[,i]=y$("mark",n),{theme:a,marks:o,coordinates:l=[]}=t,s=r(xm(a)),c=new Map;for(let t of o){let{type:n}=t,{props:r={}}=i(n),a=yield function(t,e,n){return xn(this,void 0,void 0,function*(){let[r,i]=yield function(t,e,n){return xn(this,void 0,void 0,function*(){let{library:r}=n,[i]=y$("transform",r),{preInference:a=[],postInference:o=[]}=e,{transform:l=[]}=t,s=[b1,b2,b5,b3,b4,b6,b7,xe,xt,b8,...a.map(i),...l.map(i),...o.map(i),b9],c=[],u=t;for(let t of s)[c,u]=yield t(c,u,n);return[c,u]})}(t,e,n),{encode:a,scale:o,data:l,tooltip:s}=i;if(!1===Array.isArray(l))return null;let{channels:c}=e,u=tj(Object.entries(a).filter(t=>{let[,e]=t;return tN(e)}),t=>t.map(t=>{let[e,n]=t;return Object.assign({name:e},n)}),t=>{var e;let[n]=t,r=null===(e=/([^\d]+)\d*$/.exec(n))||void 0===e?void 0:e[1],i=c.find(t=>t.name===r);return(null==i?void 0:i.independent)?n:r}),f=c.filter(t=>{let{name:e,required:n}=t;if(u.find(t=>{let[n]=t;return n===e}))return!0;if(n)throw Error("Missing encoding for channel: ".concat(e,"."));return!1}).flatMap(t=>{let{name:e,scale:n,scaleKey:r,range:i,quantitative:a,ordinal:l}=t,s=u.filter(t=>{let[n]=t;return n.startsWith(e)});return s.map((t,e)=>{let[s,c]=t,u=c.some(t=>t.visual),f=c.some(t=>t.constant),d=o[s]||{},{independent:h=!1,key:p=r||s,type:g=f?"constant":u?"identity":n}=d,m=xr(d,["independent","key","type"]),y="constant"===g;return{name:s,values:c,scaleKey:h||y?Symbol("independent"):p,scale:Object.assign(Object.assign({type:g,range:y?void 0:i},m),{quantitative:a,ordinal:l})}})});return[i,Object.assign(Object.assign({},e),{index:r,channels:f,tooltip:s})]})}(t,r,e);if(a){let[t,e]=a;c.set(t,e)}}let u=tk(Array.from(c.values()).flatMap(t=>t.channels),t=>{let{scaleKey:e}=t;return e});for(let t of u.values()){let e=t.reduce((t,e)=>{let{scale:n}=e;return(0,A.Z)(t,n)},{}),{scaleKey:r}=t[0],{values:i}=t[0],a=Array.from(new Set(i.map(t=>t.field).filter(tN))),o=(0,A.Z)({guide:{title:0===a.length?void 0:a},field:a[0]},e),{name:c}=t[0],u=t.flatMap(t=>{let{values:e}=t;return e.map(t=>t.value)}),d=Object.assign(Object.assign({},function(t,e,n,r,i,a){let{guide:o={}}=n,l=function(t,e,n){let{type:r,domain:i,range:a,quantitative:o,ordinal:l}=n;return void 0!==r?r:bS(e,tF)?"identity":"string"==typeof a?"linear":(i||a||[]).length>2?bk(t,l):void 0!==i?bj([i])?bk(t,l):bA(e)?"time":bM(t,a,o):bj(e)?bk(t,l):bA(e)?"time":bM(t,a,o)}(t,e,n);if("string"!=typeof l)return n;let s=function(t,e,n,r){let{domain:i}=r;if(void 0!==i)return i;switch(t){case"linear":case"time":case"log":case"pow":case"sqrt":case"quantize":case"threshold":return bC(function(t,e){let{zero:n=!1}=e,r=1/0,i=-1/0;for(let e of t)for(let t of e)tN(t)&&(r=Math.min(r,+t),i=Math.max(i,+t));return r===1/0?[]:n?[Math.min(0,r),i]:[r,i]}(n,r),r);case"band":case"ordinal":case"point":return Array.from(new Set(n.flat()));case"quantile":return n.flat().sort();case"sequential":return bC(function(t){let e=1/0,n=-1/0;for(let r of t)for(let t of r)tN(t)&&(e=Math.min(e,+t),n=Math.max(n,+t));return e===1/0?[]:[e<0?-n:e,n]}(n),r);default:return[]}}(l,0,e,n),c=function(t,e,n){let{ratio:r}=n;return null==r?e:bO({type:t})?function(t,e,n){let r=t.map(Number),i=new t1.b({domain:r,range:[r[0],r[0]+(r[r.length-1]-r[0])*e]});return"time"===n?t.map(t=>new Date(i.map(t))):t.map(t=>i.map(t))}(e,r,t):bw({type:t})?function(t,e){let n=Math.round(t.length*e);return t.slice(0,n)}(e,r):e}(l,s,n);return Object.assign(Object.assign(Object.assign({},n),function(t,e,n,r,i){switch(t){case"linear":case"time":case"log":case"pow":case"sqrt":return function(t,e){let{interpolate:n=yX.wp,nice:r=!1,tickCount:i=5}=e;return Object.assign(Object.assign({},e),{interpolate:n,nice:r,tickCount:i})}(0,r);case"band":case"point":return function(t,e,n,r){if(void 0!==r.padding||void 0!==r.paddingInner||void 0!==r.paddingOuter)return Object.assign(Object.assign({},r),{unknown:NaN});let i="enterDelay"===e||"enterDuration"===e||"size"===e?0:"band"===t?yU(n)?0:.1:"point"===t?.5:0,{paddingInner:a=i,paddingOuter:o=i}=r;return Object.assign(Object.assign({},r),{paddingInner:a,paddingOuter:o,padding:i,unknown:NaN})}(t,e,i,r);case"sequential":return function(t){let{palette:e="ylGnBu",offset:n}=t,r=(0,a$.Z)(e),i=f["interpolate".concat(r)];if(!i)throw Error("Unknown palette: ".concat(r));return{interpolator:n?t=>i(n(t)):i}}(r);default:return r}}(l,t,0,n,r)),{domain:c,range:function(t,e,n,r,i,a,o){let{range:l}=r;if("string"==typeof l)return l.split("-");if(void 0!==l)return l;let{rangeMin:s,rangeMax:c}=r;switch(t){case"linear":case"time":case"log":case"pow":case"sqrt":{let t=b_(n,r,i,a,o),[l,u]="enterDelay"===e?[0,1e3]:"enterDuration"==e?[300,1e3]:e.startsWith("y")||e.startsWith("position")?[1,0]:"color"===e?[t[0],t6(t)]:"opacity"===e?[0,1]:"size"===e?[1,10]:[0,1];return[null!=s?s:l,null!=c?c:u]}case"band":case"point":{let t="size"===e?5:0,n="size"===e?10:1;return[null!=s?s:t,null!=c?c:n]}case"ordinal":return b_(n,r,i,a,o);case"sequential":return;case"constant":return[n[0][0]];default:return[]}}(l,t,e,n,c,i,a),expectedDomain:s,guide:o,name:t,type:l})}(c,u,o,l,s,n)),{uid:Symbol("scale"),key:r});t.forEach(t=>t.scale=d)}return c})}function xc(t,e,n,r){let i=t.theme,a="string"==typeof e&&i[e]||{},o=r((0,A.Z)(a,Object.assign({type:e},n)));return o}function xu(t,e,n){var r;let[i]=y$("mark",n),[a]=y$("theme",n),[o]=y$("labelTransform",n),{key:l,frame:s=!1,theme:c,clip:u,style:f={},labelTransform:d=[]}=e,h=a(xm(c)),p=Array.from(t.values()),g=function(t,e){var n;let{components:r=[]}=e,i=["scale","encode","axis","legend","data","transform"],a=Array.from(new Set(t.flatMap(t=>t.channels.map(t=>t.scale)))),o=new Map(a.map(t=>[t.name,t]));for(let t of r){let e=function(t){let{channels:e=[],type:n,scale:r={}}=t,i=["shape","color","opacity","size"];return 0!==e.length?e:"axisX"===n?["x"]:"axisY"===n?["y"]:"legends"===n?Object.keys(r).filter(t=>i.includes(t)):[]}(t);for(let r of e){let e=o.get(r),l=(null===(n=t.scale)||void 0===n?void 0:n[r])||{},{independent:s=!1}=l;if(e&&!s){let{guide:n}=e,r="boolean"==typeof n?{}:n;e.guide=(0,A.Z)({},r,t),Object.assign(e,l)}else{let e=Object.assign(Object.assign({},l),{expectedDomain:l.domain,name:r,guide:(0,aF.Z)(t,i)});a.push(e)}}}return a}(p,e),m=(function(t,e,n){let{coordinates:r=[],title:i}=e,[,a]=y$("component",n),o=t.filter(t=>{let{guide:e}=t;return null!==e}),l=[],s=function(t,e,n){let[,r]=y$("component",n),{coordinates:i}=t;function a(t,e,n,a){let o=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return"x"===t?yV(n)?"".concat(e,"Y"):"".concat(e,"X"):"y"===t?yV(n)?"".concat(e,"X"):"".concat(e,"Y"):null}(e,t,i);if(!a||!o)return;let{props:l}=r(o),{defaultPosition:s,defaultSize:c,defaultOrder:u,defaultCrossPadding:[f]}=l;return Object.assign(Object.assign({position:s,defaultSize:c,order:u,type:o,crossPadding:f},a),{scales:[n]})}return e.filter(t=>t.slider||t.scrollbar).flatMap(t=>{let{slider:e,scrollbar:n,name:r}=t;return[a("slider",r,t,e),a("scrollbar",r,t,n)]}).filter(t=>!!t)}(e,t,n);if(l.push(...s),i){let{props:t}=a("title"),{defaultPosition:e,defaultOrientation:n,defaultOrder:r,defaultSize:o,defaultCrossPadding:s}=t,c="string"==typeof i?{title:i}:i;l.push(Object.assign({type:"title",position:e,orientation:n,order:r,crossPadding:s[0],defaultSize:o},c))}let c=function(t,e){let n=t.filter(t=>(function(t){if(!t||!t.type)return!1;if("function"==typeof t.type)return!0;let{type:e,domain:n,range:r,interpolator:i}=t,a=n&&n.length>0,o=r&&r.length>0;return!!(["linear","sqrt","log","time","pow","threshold","quantize","quantile","ordinal","band","point"].includes(e)&&a&&o||["sequential"].includes(e)&&a&&(o||i)||["constant","identity"].includes(e)&&o)})(t));return[...function(t,e){let n=["shape","size","color","opacity"],r=(t,e)=>"constant"===t&&"size"===e,i=t.filter(t=>{let{type:e,name:i}=t;return"string"==typeof e&&n.includes(i)&&!r(e,i)}),a=i.filter(t=>{let{type:e}=t;return"constant"===e}),o=i.filter(t=>{let{type:e}=t;return"constant"!==e}),l=tM(o,t=>t.field?t.field:Symbol("independent")).map(t=>{let[e,n]=t;return[e,[...n,...a]]}).filter(t=>{let[,e]=t;return e.some(t=>"constant"!==t.type)}),s=new Map(l);if(0===s.size)return[];let c=t=>t.sort((t,e)=>{let[n]=t,[r]=e;return n.localeCompare(r)}),u=Array.from(s).map(t=>{let[,e]=t,n=(function(t){if(1===t.length)return[t];let e=[];for(let n=1;n<=t.length;n++)e.push(...function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;if(1===n)return e.map(t=>[t]);let r=[];for(let i=0;i{r.push([e[i],...t])})}return r}(t,n));return e})(e).sort((t,e)=>e.length-t.length),r=n.map(t=>({combination:t,option:t.map(t=>[t.name,function(t){let{type:e}=t;return"string"!=typeof e?null:e in bE?"continuous":e in bR?"discrete":e in bP?"distribution":e in bT?"constant":null}(t)])}));for(let{option:t,combination:e}of r)if(!t.every(t=>"constant"===t[1])&&t.every(t=>"discrete"===t[1]||"constant"===t[1]))return["legendCategory",e];for(let[t,e]of ys)for(let{option:n,combination:i}of r)if(e.some(t=>(0,yl.Z)(c(t),c(n))))return[t,i];return null}).filter(tN);return u}(n,0),...n.map(t=>{let{name:n}=t;if(yq(e,"helix").length>0||yU(e)||yV(e)&&(yY(e)||yQ(e)))return null;if(n.startsWith("x"))return yY(e)?["axisArc",[t]]:yQ(e)?["axisLinear",[t]]:[yV(e)?"axisY":"axisX",[t]];if(n.startsWith("y"))return yY(e)?["axisLinear",[t]]:yQ(e)?["axisArc",[t]]:[yV(e)?"axisX":"axisY",[t]];if(n.startsWith("z"))return["axisZ",[t]];if(n.startsWith("position")){if(yq(e,"radar").length>0)return["axisRadar",[t]];if(!yY(e))return["axisY",[t]]}return null}).filter(tN)]}(o,r);return c.forEach(t=>{let[e,n]=t,{props:i}=a(e),{defaultPosition:s,defaultPlane:c="xy",defaultOrientation:u,defaultSize:f,defaultOrder:d,defaultLength:h,defaultPadding:p=[0,0],defaultCrossPadding:g=[0,0]}=i,m=(0,A.Z)({},...n),{guide:y,field:v}=m,b=Array.isArray(y)?y:[y];for(let t of b){let[i,a]=function(t,e,n,r,i,a,o){let[l]=bB(o),s=[r.position||e,null!=l?l:n];return"string"==typeof t&&t.startsWith("axis")?function(t,e,n,r,i){let{name:a}=n[0];if("axisRadar"===t){let t=r.filter(t=>t.name.startsWith("position")),e=function(t){let e=/position(\d*)/g.exec(t);return e?+e[1]:null}(a);if(a===t.slice(-1)[0].name||null===e)return[null,null];let[n,o]=bB(i),l=(o-n)/(t.length-1)*e+n;return["center",l]}if("axisY"===t&&yq(i,"parallel").length>0)return yV(i)?["center","horizontal"]:["center","vertical"];if("axisLinear"===t){let[t]=bB(i);return["center",t]}return"axisArc"===t?"inner"===e[0]?["inner",null]:["outer",null]:yY(i)||yQ(i)?["center",null]:"axisX"===t&&yq(i,"reflect").length>0||"axisX"===t&&yq(i,"reflectY").length>0?["top",null]:e}(t,s,i,a,o):"string"==typeof t&&t.startsWith("legend")&&yY(o)&&"center"===r.position?["center","vertical"]:s}(e,s,u,t,n,o,r);if(!i&&!a)continue;let m="left"===i||"right"===i,y=m?p[1]:p[0],b=m?g[1]:g[0],{size:x,order:O=d,length:w=h,padding:_=y,crossPadding:k=b}=t;l.push(Object.assign(Object.assign({title:v},t),{defaultSize:f,length:w,position:i,plane:c,orientation:a,padding:_,order:O,crossPadding:k,size:x,type:e,scales:n}))}}),l})(function(t,e,n){var r;for(let[e]of n.entries())if("cell"===e.type)return t.filter(t=>"shape"!==t.name);if(1!==e.length||t.some(t=>"shape"===t.name))return t;let{defaultShape:i}=e[0];if(!["point","line","rect","hollow"].includes(i))return t;let a=(null===(r=t.find(t=>"color"===t.name))||void 0===r?void 0:r.field)||null;return[...t,{field:a,name:"shape",type:"constant",domain:[],range:[{point:"point",line:"hyphen",rect:"square",hollow:"hollow"}[i]]}]}(Array.from(g),p,t),e,n).map(t=>{let e=(0,A.Z)(t,t.style);return delete e.style,e}),y=function(t,e,n,r){var i,a;let{width:o,height:l,depth:s,x:c=0,y:u=0,z:f=0,inset:d=null!==(i=n.inset)&&void 0!==i?i:0,insetLeft:h=d,insetTop:p=d,insetBottom:g=d,insetRight:m=d,margin:y=null!==(a=n.margin)&&void 0!==a?a:0,marginLeft:v=y,marginBottom:b=y,marginTop:x=y,marginRight:O=y,padding:w=n.padding,paddingBottom:_=w,paddingLeft:k=w,paddingRight:M=w,paddingTop:C=w}=function(t,e,n,r){let{coordinates:i}=e;if(!yY(i)&&!yQ(i))return e;let a=t.filter(t=>"string"==typeof t.type&&t.type.startsWith("axis"));if(0===a.length)return e;let o=a.map(t=>{let e="axisArc"===t.type?"arc":"linear";return bU(t,e,n)}),l=i1(o,t=>{var e;return null!==(e=t.labelSpacing)&&void 0!==e?e:0}),s=a.flatMap((t,e)=>{let n=o[e],i=bq(t,r),a=bY(n,i);return a}).filter(tN),c=i1(s,t=>t.height)+l,u=a.flatMap((t,e)=>{let n=o[e];return bV(n)}).filter(t=>null!==t),f=0===u.length?0:i1(u,t=>t.height),{inset:d=c,insetLeft:h=d,insetBottom:p=d,insetTop:g=d+f,insetRight:m=d}=e;return Object.assign(Object.assign({},e),{insetLeft:h,insetBottom:p,insetTop:g,insetRight:m})}(t,e,n,r),j=1/4,A=(t,n,r,i,a)=>{let{marks:o}=e;if(0===o.length||t-i-a-t*j>0)return[i,a];let l=t*(1-j);return["auto"===n?l*i/(i+a):i,"auto"===r?l*a/(i+a):a]},S=t=>"auto"===t?20:null!=t?t:20,E=S(C),P=S(_),R=bK(t,l-E-P,[E+x,P+b],["left","right"],e,n,r),{paddingLeft:T,paddingRight:L}=R,I=o-v-O,[N,B]=A(I,k,M,T,L),D=I-N-B,Z=bK(t,D,[N+v,B+O],["bottom","top"],e,n,r),{paddingTop:z,paddingBottom:F}=Z,$=l-b-x,[W,H]=A($,_,C,F,z),G=$-W-H;return{width:o,height:l,depth:s,insetLeft:h,insetTop:p,insetBottom:g,insetRight:m,innerWidth:D,innerHeight:G,paddingLeft:N,paddingRight:B,paddingTop:H,paddingBottom:W,marginLeft:v,marginBottom:b,marginTop:x,marginRight:O,x:c,y:u,z:f}}(m,e,h,n),v=function(t,e,n){let[r]=y$("coordinate",n),{innerHeight:i,innerWidth:a,insetLeft:o,insetTop:l,insetRight:s,insetBottom:c}=t,{coordinates:u=[]}=e,f=u.find(t=>"cartesian"===t.type||"cartesian3D"===t.type)?u:[...u,{type:"cartesian"}],d="cartesian3D"===f[0].type,h=Object.assign(Object.assign({},t),{x:o,y:l,width:a-o-s,height:i-c-l,transformations:f.flatMap(r)}),p=d?new yc.Coordinate3D(h):new yc.Coordinate(h);return p}(y,e,n),b=s?(0,A.Z)({mainLineWidth:1,mainStroke:"#000"},f):f;!function(t,e,n){let r=tk(t,t=>"".concat(t.plane||"xy","-").concat(t.position)),{paddingLeft:i,paddingRight:a,paddingTop:o,paddingBottom:l,marginLeft:s,marginTop:c,marginBottom:u,marginRight:f,innerHeight:d,innerWidth:h,insetBottom:p,insetLeft:g,insetRight:m,insetTop:y,height:v,width:b,depth:x}=n,O={xy:bJ({width:b,height:v,paddingLeft:i,paddingRight:a,paddingTop:o,paddingBottom:l,marginLeft:s,marginTop:c,marginBottom:u,marginRight:f,innerHeight:d,innerWidth:h,insetBottom:p,insetLeft:g,insetRight:m,insetTop:y}),yz:bJ({width:x,height:v,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:x,innerHeight:v,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0}),xz:bJ({width:b,height:x,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:b,innerHeight:x,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0})};for(let[t,n]of r.entries()){let[r,i]=t.split("-"),a=O[r][i],[o,l]=t8(n,t=>"string"==typeof t.type&&!!("center"===i||t.type.startsWith("axis")&&["inner","outer"].includes(i)));o.length&&function(t,e,n,r){let[i,a]=t8(t,t=>!!("string"==typeof t.type&&t.type.startsWith("axis")));(function(t,e,n,r){if("center"===r){if(tp(e)&&tf(e))(function(t,e,n,r){let[i,a,o,l]=n;for(let e of t)e.bbox={x:i,y:a,width:o,height:l},e.radar={index:t.indexOf(e),count:t.length}})(t,0,n,0);else{var i;tf(e)?function(t,e,n){let[r,i,a,o]=n;for(let e of t)e.bbox={x:r,y:i,width:a,height:o}}(t,0,n):tp(e)&&("horizontal"===(i=t[0].orientation)?function(t,e,n){let[r,i,a]=n,o=Array(t.length).fill(0),l=e.map(o),s=l.filter((t,e)=>e%2==1).map(t=>t+i);for(let e=0;ee%2==0).map(t=>t+r);for(let e=0;enull==c?void 0:c(t.order,e.order));let x=t=>"title"===t||"group"===t||t.startsWith("legend"),O=(t,e,n)=>void 0===n?e:x(t)?n:e,w=(t,e,n)=>void 0===n?e:x(t)?n:e;for(let e=0,n=s?h+y:h;e"group"===t.type);for(let t of _){let{bbox:e,children:n}=t,r=e[v],i=r/n.length,a=n.reduce((t,e)=>{var n;let r=null===(n=e.layout)||void 0===n?void 0:n.justifyContent;return r||t},"flex-start"),o=n.map((t,e)=>{let{length:r=i,padding:a=0}=t;return r+(e===n.length-1?0:a)}),l=uA(o),s=r-l,c="flex-start"===a?0:"center"===a?s/2:s;for(let t=0,r=e[p]+c;t{let{type:e}=t;return"axisX"===e}),n=t.find(t=>{let{type:e}=t;return"axisY"===e}),r=t.find(t=>{let{type:e}=t;return"axisZ"===e});e&&n&&r&&(e.plane="xy",n.plane="xy",r.plane="yz",r.origin=[e.bbox.x,e.bbox.y,0],r.eulerAngles=[0,-90,0],r.bbox.x=e.bbox.x,r.bbox.y=e.bbox.y,t.push(Object.assign(Object.assign({},e),{plane:"xz",showLabel:!1,showTitle:!1,origin:[e.bbox.x,e.bbox.y,0],eulerAngles:[-90,0,0]})),t.push(Object.assign(Object.assign({},n),{plane:"yz",showLabel:!1,showTitle:!1,origin:[n.bbox.x+n.bbox.width,n.bbox.y,0],eulerAngles:[0,-90,0]})),t.push(Object.assign(Object.assign({},r),{plane:"xz",actualPosition:"left",showLabel:!1,showTitle:!1,eulerAngles:[90,-90,0]})))}(m);let x=new Map(Array.from(t.values()).flatMap(t=>{let{channels:e}=t;return e.map(t=>{let{scale:e}=t;return[e.uid,bb(e,n)]})}));!function(t,e){let n=Array.from(t.values()).flatMap(t=>t.channels),r=tj(n,t=>t.map(t=>e.get(t.scale.uid)),t=>t.name).filter(t=>{let[,e]=t;return e.some(t=>"function"==typeof t.getOptions().groupTransform)&&e.every(t=>t.getTicks)}).map(t=>t[1]);r.forEach(t=>{let e=t.map(t=>t.getOptions().groupTransform)[0];e(t)})}(t,x);let O={};for(let t of m){let{scales:e=[]}=t,i=[];for(let t of e){let{name:e,uid:a}=t,o=null!==(r=x.get(a))&&void 0!==r?r:bb(t,n);i.push(o),"y"===e&&o.update(Object.assign(Object.assign({},o.getOptions()),{xScale:O.x})),bv(O,{[e]:o})}t.scaleInstances=i}let w=[];for(let[e,n]of t.entries()){let{children:t,dataDomain:r,modifier:a,key:o}=e,{index:s,channels:c,tooltip:u}=n,f=Object.fromEntries(c.map(t=>{let{name:e,scale:n}=t;return[e,n]})),d=t3(f,t=>{let{uid:e}=t;return x.get(e)});bv(O,d);let h=function(t,e){let n={};for(let r of t){let{values:t,name:i}=r,a=e[i];for(let e of t){let{name:t,value:r}=e;n[t]=r.map(t=>a.map(t))}}return n}(c,d),p=i(e),[g,m,b]=function(t){let[e,n,r]=t;if(r)return[e,n,r];let i=[],a=[];for(let t=0;t{let[e,n]=t;return tN(e)&&tN(n)})&&(i.push(r),a.push(o))}return[i,a]}(p(s,d,h,v)),_=r||g.length,k=a?a(m,_,y):[],M=t=>{var e,n;return null===(n=null===(e=u.title)||void 0===e?void 0:e[t])||void 0===n?void 0:n.value},C=t=>u.items.map(e=>e[t]),j=g.map((t,e)=>{let n=Object.assign({points:m[e],transform:k[e],index:t,markKey:o,viewKey:l},u&&{title:M(t),items:C(t)});for(let[r,i]of Object.entries(h))n[r]=i[t],b&&(n["series".concat((0,a$.Z)(r))]=b[e].map(t=>i[t]));return b&&(n.seriesIndex=b[e]),b&&u&&(n.seriesItems=b[e].map(t=>C(t)),n.seriesTitle=b[e].map(t=>M(t))),n});n.data=j,n.index=g;let A=null==t?void 0:t(j,d,y);w.push(...A||[])}let _={layout:y,theme:h,coordinate:v,markState:t,key:l,clip:u,scale:O,style:b,components:m,labelTransform:tR(d.map(o))};return[_,w]}function xf(t,e,n,r){return xi(this,void 0,void 0,function*(){let{library:i}=r,{components:a,theme:o,layout:l,markState:s,coordinate:c,key:u,style:f,clip:d,scale:h}=t,{x:p,y:g,width:m,height:y}=l,v=xa(l,["x","y","width","height"]),b=["view","plot","main","content"],x=b.map((t,e)=>e),O=b.map(t=>tD(Object.assign({},o.view,f),t)),w=["a","margin","padding","inset"].map(t=>tB(v,t)),_=t=>t.style("x",t=>S[t].x).style("y",t=>S[t].y).style("width",t=>S[t].width).style("height",t=>S[t].height).each(function(t,e,n){!function(t,e){for(let[n,r]of Object.entries(e))t.style(n,r)}(tW(n),O[t])}),k=0,M=0,C=m,j=y,S=x.map(t=>{let e=w[t],{left:n=0,top:r=0,bottom:i=0,right:a=0}=e;return{x:k+=n,y:M+=r,width:C-=n+a,height:j-=r+i}});e.selectAll(xw(lf)).data(x.filter(t=>tN(O[t])),t=>b[t]).join(t=>t.append("rect").attr("className",lf).style("zIndex",-2).call(_),t=>t.call(_),t=>t.remove());let E=function(t){let e=-1/0,n=1/0;for(let[r,i]of t){let{animate:t={}}=r,{data:a}=i,{enter:o={},update:l={},exit:s={}}=t,{type:c,duration:u=300,delay:f=0}=l,{type:d,duration:h=300,delay:p=0}=o,{type:g,duration:m=300,delay:y=0}=s;for(let t of a){let{updateType:r=c,updateDuration:i=u,updateDelay:a=f,enterType:o=d,enterDuration:l=h,enterDelay:s=p,exitDuration:v=m,exitDelay:b=y,exitType:x=g}=t;(void 0===r||r)&&(e=Math.max(e,i+a),n=Math.min(n,a)),(void 0===x||x)&&(e=Math.max(e,v+b),n=Math.min(n,b)),(void 0===o||o)&&(e=Math.max(e,l+s),n=Math.min(n,s))}}return e===-1/0?null:[n,e-n]}(s),P=!!E&&{duration:E[1]};for(let[,t]of tM(a,t=>"".concat(t.type,"-").concat(t.position)))t.forEach((t,e)=>t.index=e);let R=e.selectAll(xw(lc)).data(a,t=>"".concat(t.type,"-").concat(t.position,"-").concat(t.index)).join(t=>t.append("g").style("zIndex",t=>{let{zIndex:e}=t;return e||-1}).attr("className",lc).append(t=>bI((0,A.Z)({animate:P,scale:h},t),c,o,i,s)),t=>t.transition(function(t,e,n){let{preserve:r=!1}=t;if(r)return;let a=bI((0,A.Z)({animate:P,scale:h},t),c,o,i,s),{attributes:l}=a,[u]=n.childNodes;return u.update(l,!1)})).transitions();n.push(...R.flat().filter(tN));let T=e.selectAll(xw(ls)).data([l],()=>u).join(t=>t.append("rect").style("zIndex",0).style("fill","transparent").attr("className",ls).call(xb).call(xO,Array.from(s.keys())).call(x_,d),t=>t.call(xO,Array.from(s.keys())).call(t=>E?function(t,e){let[n,r]=e;t.transition(function(t,e,i){let{transform:a,width:o,height:l}=i.style,{paddingLeft:s,paddingTop:c,innerWidth:u,innerHeight:f,marginLeft:d,marginTop:h}=t,p=[{transform:a,width:o,height:l},{transform:"translate(".concat(s+d,", ").concat(c+h,")"),width:u,height:f}];return i.animate(p,{delay:n,duration:r,fill:"both"})})}(t,E):xb(t)).call(x_,d)).transitions();for(let[a,o]of(n.push(...T.flat()),s.entries())){let{data:l}=o,{key:s,class:c,type:u}=a,f=e.select("#".concat(s)),d=function(t,e,n,r){let{library:i}=r,[a]=y$("shape",i),{data:o,encode:l}=t,{defaultShape:s,data:c,shape:u}=e,f=t3(l,t=>t.value),d=c.map(t=>t.points),{theme:h,coordinate:p}=n,{type:g,style:m={}}=t,y=Object.assign(Object.assign({},r),{document:yW(r),coordinate:p,theme:h});return e=>{let{shape:n=s}=m,{shape:r=n,points:i,seriesIndex:l,index:c}=e,p=xa(e,["shape","points","seriesIndex","index"]),v=Object.assign(Object.assign({},p),{index:c}),b=l?l.map(t=>o[t]):o[c],x=l||c,O=t3(m,t=>xd(t,b,x,o,{channel:f})),w=u[r]?u[r](O,y):a(Object.assign(Object.assign({},O),{type:xx(t,r)}),y),_=xh(h,g,r,s);return w(i,v,_,d)}}(a,o,t,r),h=xp("enter",a,o,t,i),p=xp("update",a,o,t,i),g=xp("exit",a,o,t,i),m=function(t,e,n,r){let i=t.node().parentElement;return i.findAll(t=>void 0!==t.style.facet&&t.style.facet===n&&t!==e.node()).flatMap(t=>t.getElementsByClassName(r))}(e,f,c,"element"),y=f.selectAll(xw(lo)).selectFacetAll(m).data(l,t=>t.key,t=>t.groupKey).join(t=>t.append(d).attr("className",lo).attr("markType",u).transition(function(t,e,n){return h(t,[n])}),t=>t.call(t=>{let e=t.parent(),n=function(t){let e=new Map;return n=>{if(e.has(n))return e.get(n);let r=t(n);return e.set(n,r),r}}(t=>{let[e,n]=t.getBounds().min;return[e,n]});t.transition(function(t,r,i){!function(t,e,n){if(!t.__facet__)return;let r=t.parentNode.parentNode,i=e.parentNode,[a,o]=n(r),[l,s]=n(i),c="translate(".concat(a-l,", ").concat(o-s,")");!function(t,e){let{transform:n}=t.style,r="none"===n||void 0===n?"":n;t.style.transform="".concat(r," ").concat(e).trimStart()}(t,c),e.append(t)}(i,e,n);let a=d(t,r),o=p(t,[i],[a]);return null!==o||(i.nodeName===a.nodeName&&"g"!==a.nodeName?tI(i,a):(i.parentNode.replaceChild(a,i),a.className=lo,a.markType=u,a.__data__=i.__data__)),o}).attr("markType",u).attr("className",lo)}),t=>t.each(function(t,e,n){n.__removed__=!0}).transition(function(t,e,n){return g(t,[n])}).remove(),t=>t.append(d).attr("className",lo).attr("markType",u).transition(function(t,e,n){let{__fromElements__:r}=n,i=p(t,r,[n]),a=new tH(r,null,n.parentNode);return a.transition(i).remove(),i}),t=>t.transition(function(t,e,n){let r=new tH([],n.__toData__,n.parentNode),i=r.append(d).attr("className",lo).attr("markType",u).nodes();return p(t,[n],i)}).remove()).transitions();n.push(...y.flat())}!function(t,e,n,r,i){let[a]=y$("labelTransform",r),{markState:o,labelTransform:l}=t,s=e.select(xw(la)).node(),c=new Map,u=new Map,f=Array.from(o.entries()).flatMap(n=>{let[a,o]=n,{labels:l=[],key:s}=a,f=function(t,e,n,r,i){let[a]=y$("shape",r),{data:o,encode:l}=t,{data:s,defaultLabelShape:c}=e,u=s.map(t=>t.points),f=t3(l,t=>t.value),{theme:d,coordinate:h}=n,p=Object.assign(Object.assign({},i),{document:yW(i),theme:d,coordinate:h});return t=>{let{index:e,points:n}=t,r=o[e],{formatter:i=t=>"".concat(t),transform:l,style:s,render:h}=t,g=xa(t,["formatter","transform","style","render"]),m=t3(Object.assign(Object.assign({},g),s),t=>xd(t,r,e,o,{channel:f})),{shape:y=c,text:v}=m,b=xa(m,["shape","text"]),x="string"==typeof i?dL(i):i,O=Object.assign(Object.assign({},b),{text:x(v,r,e,o),datum:r}),w=Object.assign({type:"label.".concat(y),render:h},b),_=a(w,p),k=xh(d,"label",y,"label");return _(n,O,k,u)}}(a,o,t,r,i),d=e.select("#".concat(s)).selectAll(xw(lo)).nodes().filter(t=>!t.__removed__);return l.flatMap((t,e)=>{let{transform:n=[]}=t,r=xa(t,["transform"]);return d.flatMap(n=>{let i=function(t,e,n){let{seriesIndex:r,seriesKey:i,points:a,key:o,index:l}=n.__data__,s=function(t){let e=t.cloneNode(),n=t.getAnimations();e.style.visibility="hidden",n.forEach(t=>{let n=t.effect.getKeyframes();e.attr(n[n.length-1])}),t.parentNode.appendChild(e);let r=e.getLocalBounds();e.destroy();let{min:i,max:a}=r;return[i,a]}(n);if(!r)return[Object.assign(Object.assign({},t),{key:"".concat(o,"-").concat(e),bounds:s,index:l,points:a,dependentElement:n})];let c=function(t){let{selector:e}=t;if(!e)return null;if("function"==typeof e)return e;if("first"===e)return t=>[t[0]];if("last"===e)return t=>[t[t.length-1]];throw Error("Unknown selector: ".concat(e))}(t),u=r.map((r,o)=>Object.assign(Object.assign({},t),{key:"".concat(i[o],"-").concat(e),bounds:[a[o]],index:r,points:a,dependentElement:n}));return c?c(u):u}(r,e,n);return i.forEach(e=>{c.set(e,f),u.set(e,t)}),i})})}),d=tW(s).selectAll(xw(lu)).data(f,t=>t.key).join(t=>t.append(t=>c.get(t)(t)).attr("className",lu),t=>t.each(function(t,e,n){let r=c.get(t),i=r(t);tI(n,i)}),t=>t.remove()).nodes(),h=tk(d,t=>u.get(t.__data__)),{coordinate:p}=t,g={canvas:i.canvas,coordinate:p};for(let[t,e]of h){let{transform:n=[]}=t,r=tR(n.map(a));r(e,g)}l&&l(d,g)}(t,e,0,i,r)})}function xd(t,e,n,r,i){return"function"==typeof t?t(e,n,r,i):"string"!=typeof t?t:tF(e)&&void 0!==e[t]?e[t]:t}function xh(t,e,n,r){if("string"!=typeof e)return;let{color:i}=t,a=t[e]||{},o=a[n]||a[r];return Object.assign({color:i},o)}function xp(t,e,n,r,i){var a,o;let[,l]=y$("shape",i),[s]=y$("animation",i),{defaultShape:c,shape:u}=n,{theme:f,coordinate:d}=r,h=(0,a$.Z)(t),{["default".concat(h,"Animation")]:p}=(null===(a=u[c])||void 0===a?void 0:a.props)||l(xx(e,c)).props,{[t]:g={}}=f,m=(null===(o=e.animate)||void 0===o?void 0:o[t])||{},y={coordinate:d};return(e,n,r)=>{let{["".concat(t,"Type")]:i,["".concat(t,"Delay")]:a,["".concat(t,"Duration")]:o,["".concat(t,"Easing")]:l}=e,c=Object.assign({type:i||p},m);if(!c.type)return null;let u=s(c,y),f=u(n,r,(0,A.Z)(g,{delay:a,duration:o,easing:l}));return Array.isArray(f)?f:[f]}}function xg(t){return t.finished.then(()=>{t.cancel()}),t}function xm(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("string"==typeof t)return{type:t};let{type:e="light"}=t,n=xa(t,["type"]);return Object.assign(Object.assign({},n),{type:e})}function xy(t){let{interaction:e={}}=t;return Object.entries((0,A.Z)({event:!0,tooltip:!0,sliderFilter:!0,legendFilter:!0,scrollbarFilter:!0},e)).reverse()}function xv(t,e){return xi(this,void 0,void 0,function*(){let{data:n}=t,r=xa(t,["data"]);if(void 0==n)return t;let[,{data:i}]=yield b2([],{data:n},e);return Object.assign({data:i},r)})}function xb(t){t.style("transform",t=>"translate(".concat(t.paddingLeft+t.marginLeft,", ").concat(t.paddingTop+t.marginTop,")")).style("width",t=>t.innerWidth).style("height",t=>t.innerHeight)}function xx(t,e){let{type:n}=t;return"string"==typeof e?"".concat(n,".").concat(e):e}function xO(t,e){let n=t=>void 0!==t.class?"".concat(t.class):"",r=t.nodes();if(0===r.length)return;t.selectAll(xw(li)).data(e,t=>t.key).join(t=>t.append("g").attr("className",li).attr("id",t=>t.key).style("facet",n).style("fill","transparent").style("zIndex",t=>{var e;return null!==(e=t.zIndex)&&void 0!==e?e:0}),t=>t.style("facet",n).style("fill","transparent").style("zIndex",t=>{var e;return null!==(e=t.zIndex)&&void 0!==e?e:0}),t=>t.remove());let i=t.select(xw(la)).node();i||t.append("g").attr("className",la).style("zIndex",0)}function xw(){for(var t=arguments.length,e=Array(t),n=0;n".".concat(t)).join("")}function x_(t,e){t.node()&&t.style("clipPath",t=>{if(!e)return null;let{paddingTop:n,paddingLeft:r,marginLeft:i,marginTop:a,innerWidth:o,innerHeight:l}=t;return new tb.UL({style:{x:r+i,y:n+a,width:o,height:l}})})}function xk(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{canvas:r,emitter:i}=e;r&&(function(t){let e=t.getRoot().querySelectorAll(".".concat(ll));null==e||e.forEach(t=>{let{nameInteraction:e=new Map}=t;(null==e?void 0:e.size)>0&&Array.from(null==e?void 0:e.values()).forEach(t=>{null==t||t.destroy()})})}(r),n?r.destroy():r.destroyChildren()),i.off()}let xM=t=>t?parseInt(t):0;function xC(t,e){let n=[t];for(;n.length;){let t=n.shift();e&&e(t);let r=t.children||[];for(let t of r)n.push(t)}}class xj{map(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t=>t,e=t(this.value);return this.value=e,this}attr(t,e){return 1==arguments.length?this.value[t]:this.map(n=>(n[t]=e,n))}append(t){let e=new t({});return e.children=[],this.push(e),e}push(t){return t.parentNode=this,t.index=this.children.length,this.children.push(t),this}remove(){let t=this.parentNode;if(t){let{children:e}=t,n=e.findIndex(t=>t===this);e.splice(n,1)}return this}getNodeByKey(t){let e=null;return xC(this,n=>{t===n.attr("key")&&(e=n)}),e}getNodesByType(t){let e=[];return xC(this,n=>{t===n.type&&e.push(n)}),e}getNodeByType(t){let e=null;return xC(this,n=>{e||t!==n.type||(e=n)}),e}call(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;re.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let xS=["width","height","depth","padding","paddingLeft","paddingRight","paddingBottom","paddingTop","inset","insetLeft","insetRight","insetTop","insetBottom","margin","marginLeft","marginRight","marginTop","marginBottom","autoFit","theme","title"],xE="__remove__",xP="__callback__";function xR(t){return Object.assign(Object.assign({},t.value),{type:t.type})}function xT(t,e){let{width:n,height:r,autoFit:i,depth:a=0}=t,o=640,l=480;if(i){let{width:t,height:n}=function(t){let e=getComputedStyle(t),n=t.clientWidth||xM(e.width),r=t.clientHeight||xM(e.height),i=xM(e.paddingLeft)+xM(e.paddingRight),a=xM(e.paddingTop)+xM(e.paddingBottom);return{width:n-i,height:r-a}}(e);o=t||o,l=n||l}return o=n||o,l=r||l,{width:Math.max((0,t2.Z)(o)?o:1,1),height:Math.max((0,t2.Z)(l)?l:1,1),depth:a}}function xL(t){return e=>{for(let[n,r]of Object.entries(t)){let{type:t}=r;"value"===t?function(t,e,n){let{key:r=e}=n;t.prototype[e]=function(t){return 0==arguments.length?this.attr(r):this.attr(r,t)}}(e,n,r):"array"===t?function(t,e,n){let{key:r=e}=n;t.prototype[e]=function(t){if(0==arguments.length)return this.attr(r);if(Array.isArray(t))return this.attr(r,t);let e=[...this.attr(r)||[],t];return this.attr(r,e)}}(e,n,r):"object"===t?function(t,e,n){let{key:r=e}=n;t.prototype[e]=function(t,e){if(0==arguments.length)return this.attr(r);if(1==arguments.length&&"string"!=typeof t)return this.attr(r,t);let n=this.attr(r)||{};return n[t]=1==arguments.length||e,this.attr(r,n)}}(e,n,r):"node"===t?function(t,e,n){let{ctor:r}=n;t.prototype[e]=function(t){let n=this.append(r);return"mark"===e&&(n.type=t),n}}(e,n,r):"container"===t?function(t,e,n){let{ctor:r}=n;t.prototype[e]=function(){return this.type=null,this.append(r)}}(e,n,r):"mix"===t&&function(t,e,n){t.prototype[e]=function(t){if(0==arguments.length)return this.attr(e);if(Array.isArray(t))return this.attr(e,{items:t});if(tF(t)&&(void 0!==t.title||void 0!==t.items)||null===t||!1===t)return this.attr(e,t);let n=this.attr(e)||{},{items:r=[]}=n;return r.push(t),n.items=r,this.attr(e,n)}}(e,n,0)}return e}}function xI(t){return Object.fromEntries(Object.entries(t).map(t=>{let[e,n]=t;return[e,{type:"node",ctor:n}]}))}let xN={encode:{type:"object"},scale:{type:"object"},data:{type:"value"},transform:{type:"array"},style:{type:"object"},animate:{type:"object"},coordinate:{type:"object"},interaction:{type:"object"},label:{type:"array",key:"labels"},axis:{type:"object"},legend:{type:"object"},slider:{type:"object"},scrollbar:{type:"object"},state:{type:"object"},layout:{type:"object"},theme:{type:"object"},title:{type:"value"}},xB=Object.assign(Object.assign({},xN),{tooltip:{type:"mix"},viewStyle:{type:"object"}}),xD=Object.assign(Object.assign({},xN),{labelTransform:{type:"array"}}),xZ=class extends xj{changeData(t){var e;let n=this.getRoot();if(n)return this.attr("data",t),(null===(e=this.children)||void 0===e?void 0:e.length)&&this.children.forEach(e=>{e.attr("data",t)}),null==n?void 0:n.render()}getView(){let t=this.getRoot(),{views:e}=t.getContext();if(null==e?void 0:e.length)return e.find(t=>t.key===this._key)}getScale(){var t;return null===(t=this.getView())||void 0===t?void 0:t.scale}getScaleByChannel(t){let e=this.getScale();if(e)return e[t]}getCoordinate(){var t;return null===(t=this.getView())||void 0===t?void 0:t.coordinate}getTheme(){var t;return null===(t=this.getView())||void 0===t?void 0:t.theme}getGroup(){let t=this._key;if(!t)return;let e=this.getRoot(),n=e.getContext().canvas.getRoot();return n.getElementById(t)}show(){let t=this.getGroup();t&&(t.isVisible()||lg(t))}hide(){let t=this.getGroup();t&&t.isVisible()&&lp(t)}};xZ=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([xL(xD)],xZ);let xz=class extends xj{changeData(t){let e=this.getRoot();if(e)return this.attr("data",t),null==e?void 0:e.render()}getMark(){var t;let e=null===(t=this.getRoot())||void 0===t?void 0:t.getView();if(!e)return;let{markState:n}=e,r=Array.from(n.keys()).find(t=>t.key===this.attr("key"));return n.get(r)}getScale(){var t;let e=null===(t=this.getRoot())||void 0===t?void 0:t.getView();if(e)return null==e?void 0:e.scale}getScaleByChannel(t){var e,n;let r=null===(e=this.getRoot())||void 0===e?void 0:e.getView();if(r)return null===(n=null==r?void 0:r.scale)||void 0===n?void 0:n[t]}getGroup(){let t=this.attr("key");if(!t)return;let e=this.getRoot(),n=e.getContext().canvas.getRoot();return n.getElementById(t)}};xz=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([xL(xB)],xz);let xF={};var x$=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o},xW=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let xH=Object.assign({},Object.assign(Object.assign(Object.assign(Object.assign({},{"composition.geoView":pW,"composition.geoPath":pG}),{"data.arc":mi,"data.cluster":gg,"mark.forceGraph":gi,"mark.tree":gO,"mark.pack":gF,"mark.sankey":g9,"mark.chord":mu,"mark.treemap":my}),{"data.venn":mJ,"mark.boxplot":mj,"mark.gauge":mL,"mark.wordCloud":ae,"mark.liquid":mW}),{"data.fetch":f_,"data.inline":fk,"data.sortBy":fM,"data.sort":fC,"data.filter":fA,"data.pick":fS,"data.rename":fE,"data.fold":fP,"data.slice":fR,"data.custom":fT,"data.map":fL,"data.join":fN,"data.kde":fZ,"data.log":fz,"data.wordCloud":f5,"transform.stackY":up,"transform.binX":uW,"transform.bin":u$,"transform.dodgeX":uG,"transform.jitter":uY,"transform.jitterX":uV,"transform.jitterY":uU,"transform.symmetryY":uX,"transform.diffY":uK,"transform.stackEnter":uJ,"transform.normalizeY":u1,"transform.select":u6,"transform.selectX":u9,"transform.selectY":ft,"transform.groupX":fr,"transform.groupY":fi,"transform.groupColor":fa,"transform.group":fn,"transform.sortX":fs,"transform.sortY":fc,"transform.sortColor":fu,"transform.flexX":ff,"transform.pack":fd,"transform.sample":fp,"transform.filter":fg,"coordinate.cartesian":h,"coordinate.polar":g,"coordinate.transpose":m,"coordinate.theta":v,"coordinate.parallel":b,"coordinate.fisheye":x,"coordinate.radial":w,"coordinate.radar":_,"encode.constant":k,"encode.field":M,"encode.transform":C,"encode.column":j,"mark.interval":eG,"mark.rect":eY,"mark.line":nk,"mark.point":rb,"mark.text":rR,"mark.cell":rI,"mark.area":rY,"mark.link":r6,"mark.image":it,"mark.polygon":il,"mark.box":ip,"mark.vector":im,"mark.lineX":iO,"mark.lineY":ik,"mark.connector":iS,"mark.range":iT,"mark.rangeX":iN,"mark.rangeY":iZ,"mark.path":iG,"mark.shape":iU,"mark.density":iJ,"mark.heatmap":i9,"mark.wordCloud":ae,"palette.category10":an,"palette.category20":ar,"scale.linear":ai,"scale.ordinal":ao,"scale.band":as,"scale.identity":au,"scale.point":ad,"scale.time":ap,"scale.log":am,"scale.pow":av,"scale.sqrt":ax,"scale.threshold":aw,"scale.quantile":ak,"scale.quantize":aC,"scale.sequential":aA,"scale.constant":aE,"theme.classic":aL,"theme.classicDark":aB,"theme.academy":aZ,"theme.light":aT,"theme.dark":aN,"component.axisX":oa,"component.axisY":oo,"component.legendCategory":ou,"component.legendContinuous":op,"component.legends":og,"component.title":ob,"component.sliderX":oF,"component.sliderY":o$,"component.scrollbarX":oq,"component.scrollbarY":oY,"animation.scaleInX":oV,"animation.scaleOutX":(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let[a]=e,{transform:o="",fillOpacity:l=1,strokeOpacity:s=1,opacity:c=1}=a.style,[u,f]=tu(n)?["left bottom","scale(1, ".concat(1e-4,")")]:["left top","scale(".concat(1e-4,", 1)")],d=[{transform:"".concat(o," scale(1, 1)").trimStart(),transformOrigin:u},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c,offset:.99},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],h=a.animate(d,Object.assign(Object.assign({},i),t));return h}},"animation.scaleInY":oU,"animation.scaleOutY":(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let[a]=e,{transform:o="",fillOpacity:l=1,strokeOpacity:s=1,opacity:c=1}=a.style,[u,f]=tu(n)?["left top","scale(".concat(1e-4,", 1)")]:["left bottom","scale(1, ".concat(1e-4,")")],d=[{transform:"".concat(o," scale(1, 1)").trimStart(),transformOrigin:u},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c,offset:.99},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],h=a.animate(d,Object.assign(Object.assign({},i),t));return h}},"animation.waveIn":oQ,"animation.fadeIn":oX,"animation.fadeOut":oK,"animation.zoomIn":t=>(e,n,r)=>{let[i]=e,{transform:a="",fillOpacity:o=1,strokeOpacity:l=1,opacity:s=1}=i.style,c="center center",u=[{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s,offset:.01},{transform:"".concat(a," scale(1)").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s}],f=i.animate(u,Object.assign(Object.assign({},r),t));return f},"animation.zoomOut":t=>(e,n,r)=>{let[i]=e,{transform:a="",fillOpacity:o=1,strokeOpacity:l=1,opacity:s=1}=i.style,c="center center",u=[{transform:"".concat(a," scale(1)").trimStart(),transformOrigin:c},{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s,offset:.99},{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(u,Object.assign(Object.assign({},r),t));return f},"animation.pathIn":oJ,"animation.morphing":lt,"animation.growInX":le,"animation.growInY":ln,"interaction.elementHighlight":lF,"interaction.elementHighlightByX":l$,"interaction.elementHighlightByColor":lW,"interaction.elementSelect":lG,"interaction.elementSelectByX":lq,"interaction.elementSelectByColor":lY,"interaction.fisheye":function(t){let{wait:e=30,leading:n,trailing:r=!1}=t;return t=>{let{options:i,update:a,setState:o,container:l}=t,s=lx(l),c=(0,lV.Z)(t=>{let e=lw(s,t);if(!e){o("fisheye"),a();return}o("fisheye",t=>{let n=(0,A.Z)({},t,{interaction:{tooltip:{preserve:!0}}});for(let t of n.marks)t.animate=!1;let[r,i]=e,a=function(t){let{coordinate:e={}}=t,{transform:n=[]}=e,r=n.find(t=>"fisheye"===t.type);if(r)return r;let i={type:"fisheye"};return n.push(i),e.transform=n,t.coordinate=e,i}(n);return a.focusX=r,a.focusY=i,a.visual=!0,n}),a()},e,{leading:n,trailing:r});return s.addEventListener("pointerenter",c),s.addEventListener("pointermove",c),s.addEventListener("pointerleave",c),()=>{s.removeEventListener("pointerenter",c),s.removeEventListener("pointermove",c),s.removeEventListener("pointerleave",c)}}},"interaction.chartIndex":lQ,"interaction.tooltip":su,"interaction.legendFilter":function(){return(t,e,n)=>{let{container:r}=t,i=e.filter(e=>e!==t),a=i.length>0,o=t=>sv(t).scales.map(t=>t.name),l=[...sm(r),...sy(r)],s=l.flatMap(o),c=a?(0,lV.Z)(sx,50,{trailing:!0}):(0,lV.Z)(sb,50,{trailing:!0}),u=l.map(e=>{let{name:l,domain:u}=sv(e).scales[0],f=o(e),d={legend:e,channel:l,channels:f,allChannels:s};return e.className===sd?function(t,e){let{legends:n,marker:r,label:i,datum:a,filter:o,emitter:l,channel:s,state:c={}}=e,u=new Map,f=new Map,d=new Map,{unselected:h={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=c,p={unselected:tB(h,"marker")},g={unselected:tB(h,"label")},{setState:m,removeState:y}=lj(p,void 0),{setState:v,removeState:b}=lj(g,void 0),x=Array.from(n(t)),O=x.map(a),w=()=>{for(let t of x){let e=a(t),n=r(t),o=i(t);O.includes(e)?(y(n,"unselected"),b(o,"unselected")):(m(n,"unselected"),v(o,"unselected"))}};for(let e of x){let n=()=>{lL(t,"pointer")},r=()=>{lL(t,t.cursor)},i=t=>sf(this,void 0,void 0,function*(){let n=a(e),r=O.indexOf(n);-1===r?O.push(n):O.splice(r,1),yield o(O),w();let{nativeEvent:i=!0}=t;i&&(O.length===x.length?l.emit("legend:reset",{nativeEvent:i}):l.emit("legend:filter",Object.assign(Object.assign({},t),{nativeEvent:i,data:{channel:s,values:O}})))});e.addEventListener("click",i),e.addEventListener("pointerenter",n),e.addEventListener("pointerout",r),u.set(e,i),f.set(e,n),d.set(e,r)}let _=t=>sf(this,void 0,void 0,function*(){let{nativeEvent:e}=t;if(e)return;let{data:n}=t,{channel:r,values:i}=n;r===s&&(O=i,yield o(O),w())}),k=t=>sf(this,void 0,void 0,function*(){let{nativeEvent:e}=t;e||(O=x.map(a),yield o(O),w())});return l.on("legend:filter",_),l.on("legend:reset",k),()=>{for(let t of x)t.removeEventListener("click",u.get(t)),t.removeEventListener("pointerenter",f.get(t)),t.removeEventListener("pointerout",d.get(t)),l.off("legend:filter",_),l.off("legend:reset",k)}}(r,{legends:sg,marker:sh,label:sp,datum:t=>{let{__data__:e}=t,{index:n}=e;return u[n]},filter:e=>{let n=Object.assign(Object.assign({},d),{value:e,ordinal:!0});a?c(i,n):c(t,n)},state:e.attributes.state,channel:l,emitter:n}):function(t,e){let{legend:n,filter:r,emitter:i,channel:a}=e,o=t=>{let{detail:{value:e}}=t;r(e),i.emit({nativeEvent:!0,data:{channel:a,values:e}})};return n.addEventListener("valuechange",o),()=>{n.removeEventListener("valuechange",o)}}(0,{legend:e,filter:e=>{let n=Object.assign(Object.assign({},d),{value:e,ordinal:!1});a?c(i,n):c(t,n)},emitter:n,channel:l})});return()=>{u.forEach(t=>t())}}},"interaction.legendHighlight":function(){return(t,e,n)=>{let{container:r,view:i,options:a}=t,o=sm(r),l=ly(r),s=t=>sv(t).scales[0].name,c=t=>{let{scale:{[t]:e}}=i;return e},u=lS(a,["active","inactive"]),f=lE(l,lC(i)),d=[];for(let t of o){let e=e=>{let{data:n}=t.attributes,{__data__:r}=e,{index:i}=r;return n[i].label},r=s(t),i=sg(t),a=c(r),o=tk(l,t=>a.invert(t.__data__[r])),{state:h={}}=t.attributes,{inactive:p={}}=h,{setState:g,removeState:m}=lj(u,f),y={inactive:tB(p,"marker")},v={inactive:tB(p,"label")},{setState:b,removeState:x}=lj(y),{setState:O,removeState:w}=lj(v),_=t=>{for(let e of i){let n=sh(e),r=sp(e);e===t||null===t?(x(n,"inactive"),w(r,"inactive")):(b(n,"inactive"),O(r,"inactive"))}},k=(t,i)=>{let a=e(i),s=new Set(o.get(a));for(let t of l)s.has(t)?g(t,"active"):g(t,"inactive");_(i);let{nativeEvent:c=!0}=t;c&&n.emit("legend:highlight",Object.assign(Object.assign({},t),{nativeEvent:c,data:{channel:r,value:a}}))},M=new Map;for(let t of i){let e=e=>{k(e,t)};t.addEventListener("pointerover",e),M.set(t,e)}let C=t=>{for(let t of l)m(t,"inactive","active");_(null);let{nativeEvent:e=!0}=t;e&&n.emit("legend:unhighlight",{nativeEvent:e})},j=t=>{let{nativeEvent:n,data:a}=t;if(n)return;let{channel:o,value:l}=a;if(o!==r)return;let s=i.find(t=>e(t)===l);s&&k({nativeEvent:!1},s)},A=t=>{let{nativeEvent:e}=t;e||C({nativeEvent:!1})};t.addEventListener("pointerleave",C),n.on("legend:highlight",j),n.on("legend:unhighlight",A);let S=()=>{for(let[e,r]of(t.removeEventListener(C),n.off("legend:highlight",j),n.off("legend:unhighlight",A),M))e.removeEventListener(r)};d.push(S)}return()=>d.forEach(t=>t())}},"interaction.brushHighlight":sj,"interaction.brushXHighlight":function(t){return sj(Object.assign(Object.assign({},t),{brushRegion:sA,selectedHandles:["handle-e","handle-w"]}))},"interaction.brushYHighlight":function(t){return sj(Object.assign(Object.assign({},t),{brushRegion:sS,selectedHandles:["handle-n","handle-s"]}))},"interaction.brushAxisHighlight":function(t){return(e,n,r)=>{let{container:i,view:a,options:o}=e,l=lx(i),{x:s,y:c}=l.getBBox(),{coordinate:u}=a;return function(t,e){var{axes:n,elements:r,points:i,horizontal:a,datum:o,offsetY:l,offsetX:s,reverse:c=!1,state:u={},emitter:f,coordinate:d}=e,h=sE(e,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);let p=r(t),g=n(t),m=lE(p,o),{setState:y,removeState:v}=lj(u,m),b=new Map,x=tB(h,"mask"),O=t=>Array.from(b.values()).every(e=>{let[n,r,i,a]=e;return t.some(t=>{let[e,o]=t;return e>=n&&e<=i&&o>=r&&o<=a})}),w=g.map(t=>t.attributes.scale),_=t=>t.length>2?[t[0],t[t.length-1]]:t,k=new Map,M=()=>{k.clear();for(let t=0;t{let n=[];for(let t of p){let e=i(t);O(e)?(y(t,"active"),n.push(t)):y(t,"inactive")}k.set(t,A(n,t)),e&&f.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:(()=>{if(!S)return Array.from(k.values());let t=[];for(let[e,n]of k){let r=w[e],{name:i}=r.getOptions();"x"===i?t[0]=n:t[1]=n}return t})()}})},j=t=>{for(let t of p)v(t,"active","inactive");M(),t&&f.emit("brushAxis:remove",{nativeEvent:!0})},A=(t,e)=>{let n=w[e],{name:r}=n.getOptions(),i=t.map(t=>{let e=t.__data__;return n.invert(e[r])});return _(oN(n,i))},S=g.some(a)&&g.some(t=>!a(t)),E=[];for(let t=0;t0&&void 0!==arguments[0]?arguments[0]:{},{nativeEvent:e}=t;e||E.forEach(t=>t.remove(!1))},R=(t,e,n)=>{let[r,i]=t,o=T(r,e,n),l=T(i,e,n)+(e.getStep?e.getStep():0);return a(n)?[o,-1/0,l,1/0]:[-1/0,o,1/0,l]},T=(t,e,n)=>{let{height:r,width:i}=d.getOptions(),o=e.clone();return a(n)?o.update({range:[0,i]}):o.update({range:[r,0]}),o.map(t)},L=t=>{let{nativeEvent:e}=t;if(e)return;let{selection:n}=t.data;for(let t=0;t{E.forEach(t=>t.destroy()),f.off("brushAxis:remove",P),f.off("brushAxis:highlight",L)}}(i,Object.assign({elements:ly,axes:sR,offsetY:c,offsetX:s,points:t=>t.__data__.points,horizontal:t=>{let{startPos:[e,n],endPos:[r,i]}=t.attributes;return e!==r&&n===i},datum:lC(a),state:lS(o,["active",["inactive",{opacity:.5}]]),coordinate:u,emitter:r},t))}},"interaction.brushFilter":sD,"interaction.brushXFilter":function(t){return sD(Object.assign(Object.assign({hideX:!0},t),{brushRegion:sA}))},"interaction.brushYFilter":function(t){return sD(Object.assign(Object.assign({hideY:!0},t),{brushRegion:sS}))},"interaction.sliderFilter":sF,"interaction.scrollbarFilter":function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e,n,r)=>{let{view:i,container:a}=e,o=a.getElementsByClassName(s$);if(!o.length)return()=>{};let{scale:l}=i,{x:s,y:c}=l,u={x:[...s.getOptions().domain],y:[...c.getOptions().domain]};s.update({domain:s.getOptions().expectedDomain}),c.update({domain:c.getOptions().expectedDomain});let f=sF(Object.assign(Object.assign({},t),{initDomain:u,className:s$,prefix:"scrollbar",hasState:!0,setValue:(t,e)=>t.setValue(e[0]),getInitValues:t=>{let e=t.slider.attributes.values;if(0!==e[0])return e}}));return f(e,n,r)}},"interaction.poptip":sY,"interaction.treemapDrillDown":function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{originData:e=[],layout:n}=t,r=cv(t,["originData","layout"]),i=(0,A.Z)({},cb,r),a=tB(i,"breadCrumb"),o=tB(i,"active");return t=>{let{update:r,setState:i,container:l,options:s}=t,c=tW(l).select(".".concat(ls)).node(),u=s.marks[0],{state:f}=u,d=new tb.ZA;c.appendChild(d);let h=(t,s)=>{var u,f,p,g;return u=this,f=void 0,p=void 0,g=function*(){if(d.removeChildren(),s){let e="",n=a.y,r=0,i=[],l=c.getBBox().width,s=t.map((o,s)=>{e="".concat(e).concat(o,"/"),i.push(o);let c=new tb.xv({name:e.replace(/\/$/,""),style:Object.assign(Object.assign({text:o,x:r,path:[...i],depth:s},a),{y:n})});d.appendChild(c),r+=c.getBBox().width;let u=new tb.xv({style:Object.assign(Object.assign({x:r,text:" / "},a),{y:n})});return d.appendChild(u),(r+=u.getBBox().width)>l&&(n=d.getBBox().height+a.y,r=0,c.attr({x:r,y:n}),r+=c.getBBox().width,u.attr({x:r,y:n}),r+=u.getBBox().width),s===(0,sV.Z)(t)-1&&u.remove(),c});s.forEach((t,e)=>{if(e===(0,sV.Z)(s)-1)return;let n=Object.assign({},t.attributes);t.attr("cursor","pointer"),t.addEventListener("mouseenter",()=>{t.attr(o)}),t.addEventListener("mouseleave",()=>{t.attr(n)}),t.addEventListener("click",()=>{h((0,sU.Z)(t,["style","path"]),(0,sU.Z)(t,["style","depth"]))})})}(function(t,e){let n=[...sm(t),...sy(t)];n.forEach(t=>{e(t,t=>t)})})(l,i),i("treemapDrillDown",r=>{let{marks:i}=r,a=t.join("/"),o=i.map(t=>{if("rect"!==t.type)return t;let r=e;if(s){let t=e.filter(t=>{let e=(0,sU.Z)(t,["id"]);return e&&(e.match("".concat(a,"/"))||a.match(e))}).map(t=>({value:0===t.height?(0,sU.Z)(t,["value"]):void 0,name:(0,sU.Z)(t,["id"])})),{paddingLeft:i,paddingBottom:o,paddingRight:l}=n,c=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||d.getBBox().height+10)/(s+1),paddingLeft:i/(s+1),paddingBottom:o/(s+1),paddingRight:l/(s+1),path:t=>t.name,layer:t=>t.depth===s+1});r=cy(t,c,{value:"value"})[0]}else r=e.filter(t=>1===t.depth);let i=[];return r.forEach(t=>{let{path:e}=t;i.push((0,os.Z)(e))}),(0,A.Z)({},t,{data:r,scale:{color:{domain:i}}})});return Object.assign(Object.assign({},r),{marks:o})}),yield r(void 0,["legendFilter"])},new(p||(p=Promise))(function(t,e){function n(t){try{i(g.next(t))}catch(t){e(t)}}function r(t){try{i(g.throw(t))}catch(t){e(t)}}function i(e){var i;e.done?t(e.value):((i=e.value)instanceof p?i:new p(function(t){t(i)})).then(n,r)}i((g=g.apply(u,f||[])).next())})},p=t=>{let n=t.target;if("rect"!==(0,sU.Z)(n,["markType"]))return;let r=(0,sU.Z)(n,["__data__","key"]),i=(0,sQ.Z)(e,t=>t.id===r);(0,sU.Z)(i,"height")&&h((0,sU.Z)(i,"path"),(0,sU.Z)(i,"depth"))};c.addEventListener("click",p);let g=(0,sX.Z)(Object.assign(Object.assign({},f.active),f.inactive)),m=()=>{let t=lD(c);t.forEach(t=>{let n=(0,sU.Z)(t,["style","cursor"]),r=(0,sQ.Z)(e,e=>e.id===(0,sU.Z)(t,["__data__","key"]));if("pointer"!==n&&(null==r?void 0:r.height)){t.style.cursor="pointer";let e=(0,sK.Z)(t.attributes,g);t.addEventListener("mouseenter",()=>{t.attr(f.active)}),t.addEventListener("mouseleave",()=>{t.attr((0,A.Z)(e,f.inactive))})}})};return m(),c.addEventListener("mousemove",m),()=>{d.remove(),c.removeEventListener("click",p),c.removeEventListener("mousemove",m)}}},"interaction.elementPointMove":function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{selection:e=[],precision:n=2}=t,r=cw(t,["selection","precision"]),i=Object.assign(Object.assign({},c_),r||{}),a=tB(i,"path"),o=tB(i,"label"),l=tB(i,"point");return(t,r,i)=>{let s;let{update:c,setState:u,container:f,view:d,options:{marks:h,coordinate:p}}=t,g=lx(f),m=lD(g),y=e,{transform:v=[],type:b}=p,x=!!(0,sQ.Z)(v,t=>{let{type:e}=t;return"transpose"===e}),O="polar"===b,w="theta"===b,_=!!(0,sQ.Z)(m,t=>{let{markType:e}=t;return"area"===e});_&&(m=m.filter(t=>{let{markType:e}=t;return"area"===e}));let k=new tb.ZA({style:{zIndex:2}});g.appendChild(k);let M=()=>{i.emit("element-point:select",{nativeEvent:!0,data:{selection:y}})},C=(t,e)=>{i.emit("element-point:moved",{nativeEvent:!0,data:{changeData:t,data:e}})},j=t=>{let e=t.target;y=[e.parentNode.childNodes.indexOf(e)],M(),E(e)},S=t=>{let{data:{selection:e},nativeEvent:n}=t;if(n)return;y=e;let r=(0,sU.Z)(m,[null==y?void 0:y[0]]);r&&E(r)},E=t=>{let e;let{attributes:r,markType:i,__data__:p}=t,{stroke:g}=r,{points:m,seriesTitle:v,color:b,title:j,seriesX:S,y1:P}=p;if(x&&"interval"!==i)return;let{scale:R,coordinate:T}=(null==s?void 0:s.view)||d,{color:L,y:I,x:N}=R,B=T.getCenter();k.removeChildren();let D=(t,e,n,r)=>cO(this,void 0,void 0,function*(){return u("elementPointMove",i=>{var a;let o=((null===(a=null==s?void 0:s.options)||void 0===a?void 0:a.marks)||h).map(i=>{if(!r.includes(i.type))return i;let{data:a,encode:o}=i,l=Object.keys(o),s=l.reduce((r,i)=>{let a=o[i];return"x"===i&&(r[a]=t),"y"===i&&(r[a]=e),"color"===i&&(r[a]=n),r},{}),c=cj(s,a,o);return C(s,c),(0,A.Z)({},i,{data:c,animate:!1})});return Object.assign(Object.assign({},i),{marks:o})}),yield c("elementPointMove")});if(["line","area"].includes(i))m.forEach((r,i)=>{let c=N.invert(S[i]);if(!c)return;let u=new tb.Cd({name:ck,style:Object.assign({cx:r[0],cy:r[1],fill:g},l)}),d=cS(t,i);u.addEventListener("mousedown",h=>{let p=T.output([S[i],0]),g=null==v?void 0:v.length;f.attr("cursor","move"),y[1]!==i&&(y[1]=i,M()),cE(k.childNodes,y,l);let[x,w]=cP(k,u,a,o),C=t=>{let a=r[1]+t.clientY-e[1];if(_){if(O){let o=r[0]+t.clientX-e[0],[l,s]=cT(B,p,[o,a]),[,c]=T.output([1,I.output(0)]),[,f]=T.invert([l,c-(m[i+g][1]-s)]),h=(i+1)%g,y=(i-1+g)%g,b=lB([m[y],[l,s],v[h]&&m[h]]);w.attr("text",d(I.invert(f)).toFixed(n)),x.attr("d",b),u.attr("cx",l),u.attr("cy",s)}else{let[,t]=T.output([1,I.output(0)]),[,e]=T.invert([r[0],t-(m[i+g][1]-a)]),o=lB([m[i-1],[r[0],a],v[i+1]&&m[i+1]]);w.attr("text",d(I.invert(e)).toFixed(n)),x.attr("d",o),u.attr("cy",a)}}else{let[,t]=T.invert([r[0],a]),e=lB([m[i-1],[r[0],a],m[i+1]]);w.attr("text",I.invert(t).toFixed(n)),x.attr("d",e),u.attr("cy",a)}};e=[h.clientX,h.clientY],window.addEventListener("mousemove",C);let j=()=>cO(this,void 0,void 0,function*(){if(f.attr("cursor","default"),window.removeEventListener("mousemove",C),f.removeEventListener("mouseup",j),(0,cx.Z)(w.attr("text")))return;let e=Number(w.attr("text")),n=cR(L,b);s=yield D(c,e,n,["line","area"]),w.remove(),x.remove(),E(t)});f.addEventListener("mouseup",j)}),k.appendChild(u)}),cE(k.childNodes,y,l);else if("interval"===i){let r=[(m[0][0]+m[1][0])/2,m[0][1]];x?r=[m[0][0],(m[0][1]+m[1][1])/2]:w&&(r=m[0]);let c=cA(t),u=new tb.Cd({name:ck,style:Object.assign(Object.assign({cx:r[0],cy:r[1],fill:g},l),{stroke:l.activeStroke})});u.addEventListener("mousedown",l=>{f.attr("cursor","move");let d=cR(L,b),[h,p]=cP(k,u,a,o),g=t=>{if(x){let i=r[0]+t.clientX-e[0],[a]=T.output([I.output(0),I.output(0)]),[,o]=T.invert([a+(i-m[2][0]),r[1]]),l=lB([[i,m[0][1]],[i,m[1][1]],m[2],m[3]],!0);p.attr("text",c(I.invert(o)).toFixed(n)),h.attr("d",l),u.attr("cx",i)}else if(w){let i=r[1]+t.clientY-e[1],a=r[0]+t.clientX-e[0],[o,l]=cT(B,[a,i],r),[s,f]=cT(B,[a,i],m[1]),d=T.invert([o,l])[1],g=P-d;if(g<0)return;let y=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=[["M",...e[1]]],i=lN(t,e[1]),a=lN(t,e[0]);return 0===i?r.push(["L",...e[3]],["A",a,a,0,n,1,...e[0]],["Z"]):r.push(["A",i,i,0,n,0,...e[2]],["L",...e[3]],["A",a,a,0,n,1,...e[0]],["Z"]),r}(B,[[o,l],[s,f],m[2],m[3]],g>.5?1:0);p.attr("text",c(g,!0).toFixed(n)),h.attr("d",y),u.attr("cx",o),u.attr("cy",l)}else{let i=r[1]+t.clientY-e[1],[,a]=T.output([1,I.output(0)]),[,o]=T.invert([r[0],a-(m[2][1]-i)]),l=lB([[m[0][0],i],[m[1][0],i],m[2],m[3]],!0);p.attr("text",c(I.invert(o)).toFixed(n)),h.attr("d",l),u.attr("cy",i)}};e=[l.clientX,l.clientY],window.addEventListener("mousemove",g);let y=()=>cO(this,void 0,void 0,function*(){if(f.attr("cursor","default"),f.removeEventListener("mouseup",y),window.removeEventListener("mousemove",g),(0,cx.Z)(p.attr("text")))return;let e=Number(p.attr("text"));s=yield D(j,e,d,[i]),p.remove(),h.remove(),E(t)});f.addEventListener("mouseup",y)}),k.appendChild(u)}};m.forEach((t,e)=>{y[0]===e&&E(t),t.addEventListener("click",j),t.addEventListener("mouseenter",cM),t.addEventListener("mouseleave",cC)});let P=t=>{let e=null==t?void 0:t.target;e&&(e.name===ck||m.includes(e))||(y=[],M(),k.removeChildren())};return i.on("element-point:select",S),i.on("element-point:unselect",P),f.addEventListener("mousedown",P),()=>{k.remove(),i.off("element-point:select",S),i.off("element-point:unselect",P),f.removeEventListener("mousedown",P),m.forEach(t=>{t.removeEventListener("click",j),t.removeEventListener("mouseenter",cM),t.removeEventListener("mouseleave",cC)})}}},"composition.spaceLayer":cZ,"composition.spaceFlex":cF,"composition.facetRect":c2,"composition.repeatMatrix":()=>t=>{let e=c$.of(t).call(cV).call(cG).call(c4).call(c6).call(cq).call(cY).call(c3).value();return[e]},"composition.facetCircle":()=>t=>{let e=c$.of(t).call(cV).call(ut).call(cG).call(c7).call(cU).call(cQ,un,ue,ue,{frame:!1}).call(cq).call(cY).call(c9).value();return[e]},"composition.timingKeyframe":ur,"labelTransform.overlapHide":t=>{let{priority:e}=t;return t=>{let n=[];return e&&t.sort(e),t.forEach(t=>{lg(t);let e=t.getLocalBounds(),r=n.some(t=>(function(t,e){let[n,r]=t,[i,a]=e;return n[0]i[0]&&n[1]i[1]})(f3(e),f3(t.getLocalBounds())));r?lp(t):n.push(t)}),t}},"labelTransform.overlapDodgeY":t=>{let{maxIterations:e=10,maxError:n=.1,padding:r=1}=t;return t=>{let i=t.length;if(i<=1)return t;let[a,o]=f6(),[l,s]=f6(),[c,u]=f6(),[f,d]=f6();for(let e of t){let{min:t,max:n}=function(t){let e=t.cloneNode(!0),n=e.getElementById("connector");n&&e.removeChild(n);let{min:r,max:i}=e.getRenderBounds();return e.destroy(),{min:r,max:i}}(e),[r,i]=t,[a,l]=n;o(e,i),s(e,i),u(e,l-i),d(e,[r,a])}for(let a=0;aow(l(t),l(e)));let e=0;for(let n=0;nn&&r>i}(f(a),f(i));)o+=1;if(i){let t=l(a),n=c(a),o=l(i),u=o-(t+n);if(ut=>(t.forEach(t=>{lg(t);let e=t.attr("bounds"),n=t.getLocalBounds(),r=function(t,e){let[n,r]=t;return!(f4(n,e)&&f4(r,e))}(f3(n),e);r&&lp(t)}),t),"labelTransform.contrastReverse":t=>{let{threshold:e=4.5,palette:n=["#000","#fff"]}=t;return t=>(t.forEach(t=>{let r=t.attr("dependentElement").parsedStyle.fill,i=t.parsedStyle.fill,a=f7(i,r);af7(t,"object"==typeof e?e:(0,tb.lu)(e)));return e[n]}(r,n))}),t)},"labelTransform.exceedAdjust":()=>(t,e)=>{let{canvas:n}=e,{width:r,height:i}=n.getConfig();return t.forEach(t=>{lg(t);let{max:e,min:n}=t.getRenderBounds(),[a,o]=e,[l,s]=n,c=dt([[l,s],[a,o]],[[0,0],[r,i]]);t.style.connector&&t.style.connectorPoints&&(t.style.connectorPoints[0][0]-=c[0],t.style.connectorPoints[0][1]-=c[1]),t.style.x+=c[0],t.style.y+=c[1]}),t}})),xG=(l=class extends xZ{render(){if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._context.canvas.getConfig().supportsCSSTransform=!0,this._bindAutoFit(),this._rendering=!0;let t=new Promise((t,e)=>(function(t){var e;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>{throw t},{width:a=640,height:o=480,depth:l=0}=t,s=function(t){let e=(0,A.Z)({},t),n=new Map([[e,null]]),r=new Map([[null,-1]]),i=[e];for(;i.length;){let t=i.shift();if(void 0===t.key){let e=n.get(t),i=r.get(t),a=null===e?"".concat(0):"".concat(e.key,"-").concat(i);t.key=a}let{children:e=[]}=t;if(Array.isArray(e))for(let a=0;a(function t(e,n,r){var i;return xi(this,void 0,void 0,function*(){let{library:a}=r,[o]=y$("composition",a),[l]=y$("interaction",a),s=new Set(Object.keys(a).map(t=>{var e;return null===(e=/mark\.(.*)/.exec(t))||void 0===e?void 0:e[1]}).filter(tN)),c=new Set(Object.keys(a).map(t=>{var e;return null===(e=/component\.(.*)/.exec(t))||void 0===e?void 0:e[1]}).filter(tN)),u=t=>{let{type:e}=t;if("function"==typeof e){let{props:t={}}=e,{composite:n=!0}=t;if(n)return"mark"}return"string"!=typeof e?e:s.has(e)||c.has(e)?"mark":e},f=t=>"mark"===u(t),d=t=>"standardView"===u(t),h=t=>{let{type:e}=t;return"string"==typeof e&&!!c.has(e)},p=t=>{if(d(t))return[t];let e=u(t),n=o({type:e,static:h(t)});return n(t)},g=[],m=new Map,y=new Map,v=[e],b=[];for(;v.length;){let t=v.shift();if(d(t)){let e=y.get(t),[n,i]=e?xu(e,t,a):yield xl(t,r);m.set(n,t),g.push(n);let o=i.flatMap(p).map(t=>yG(t,a));if(v.push(...o),o.every(d)){let t=yield Promise.all(o.map(t=>xs(t,r)));!function(t){let e=t.flatMap(t=>Array.from(t.values())).flatMap(t=>t.channels.map(t=>t.scale));bx(e,"x"),bx(e,"y")}(t);for(let e=0;et.key).join(t=>t.append("g").attr("className",ll).attr("id",t=>t.key).call(xo).each(function(t,e,n){xf(t,tW(n),w,r),x.set(t,n)}),t=>t.call(xo).each(function(t,e,n){xf(t,tW(n),w,r),O.set(t,n)}),t=>t.each(function(t,e,n){let r=n.nameInteraction.values();for(let t of r)t.destroy()}).remove());let _=(e,n,i)=>Array.from(e.entries()).map(a=>{let[o,l]=a,s=i||new Map,c=m.get(o),u=function(e,n,r){let{library:i}=r,a=function(t){let[,e]=y$("interaction",t);return t=>{let[n,r]=t;try{return[n,e(n)]}catch(t){return[n,r.type]}}}(i),o=xy(n),l=o.map(a).filter(t=>t[1]&&t[1].props&&t[1].props.reapplyWhenUpdate).map(t=>t[0]);return(n,i,a)=>xi(this,void 0,void 0,function*(){let[o,s]=yield xl(n,r);for(let t of(xf(o,e,[],r),l.filter(t=>t!==i)))!function(t,e,n,r,i){var a;let{library:o}=i,[l]=y$("interaction",o),s=e.node(),c=s.nameInteraction,u=xy(n).find(e=>{let[n]=e;return n===t}),f=c.get(t);if(!f||(null===(a=f.destroy)||void 0===a||a.call(f),!u[1]))return;let d=xc(r,t,u[1],l),h={options:n,view:r,container:e.node(),update:t=>Promise.resolve(t)},p=d(h,[],i.emitter);c.set(t,{destroy:p})}(t,e,n,o,r);for(let n of s)t(n,e,r);return a(),{options:n,view:o}})}(tW(l),c,r);return{view:o,container:l,options:c,setState:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t;return s.set(t,e)},update:(t,r)=>xi(this,void 0,void 0,function*(){let i=tR(Array.from(s.values())),a=i(c);return yield u(a,t,()=>{(0,oO.Z)(r)&&n(e,r,s)})})}}),k=function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,a=_(e,k,i);for(let e of a){let{options:i,container:o}=e,s=o.nameInteraction,c=xy(i);for(let i of(n&&(c=c.filter(t=>n.includes(t[0]))),c)){let[n,o]=i,c=s.get(n);if(c&&(null===(t=c.destroy)||void 0===t||t.call(c)),o){let t=xc(e.view,n,o,l),i=t(e,a,r.emitter);s.set(n,{destroy:i})}}}},M=_(x,k);for(let t of M){let{options:e}=t,n=new Map;for(let i of(t.container.nameInteraction=n,xy(e))){let[e,a]=i;if(a){let i=xc(t.view,e,a,l),o=i(t,M,r.emitter);n.set(e,{destroy:o})}}}k();let{width:C,height:j}=e,A=[];for(let e of b){let i=new Promise(i=>xi(this,void 0,void 0,function*(){for(let i of e){let e=Object.assign({width:C,height:j},i);yield t(e,n,r)}i()}));A.push(i)}r.views=g,null===(i=r.animations)||void 0===i||i.forEach(t=>null==t?void 0:t.cancel()),r.animations=w,r.emitter.emit(l0.AFTER_PAINT);let S=w.filter(tN).map(xg).map(t=>t.finished);return Promise.all([...S,...A])})})(Object.assign(Object.assign({},s),{width:a,height:o,depth:l}),p,n)).then(()=>{if(l){let[t,e]=c.document.documentElement.getPosition();c.document.documentElement.setPosition(t,e,-l/2)}c.requestAnimationFrame(()=>{u.emit(l0.AFTER_RENDER),null==r||r()})}).catch(t=>{null==i||i(t)}),"string"==typeof(e=c.getConfig().container)?document.getElementById(e):e})(this._computedOptions(),this._context,this._createResolve(t),this._createReject(e))),[e,n,r]=function(){let t,e;let n=new Promise((n,r)=>{e=n,t=r});return[n,e,t]}();return t.then(n).catch(r).then(()=>this._renderTrailing()),e}options(t){if(0==arguments.length)return function(t){let e=function(t){if(null!==t.type)return t;let e=t.children[t.children.length-1];for(let n of xS)e.attr(n,t.attr(n));return e}(t),n=[e],r=new Map;for(r.set(e,xR(e));n.length;){let t=n.pop(),e=r.get(t),{children:i=[]}=t;for(let t of i)if(t.type===xP)e.children=t.value;else{let i=xR(t),{children:a=[]}=e;a.push(i),n.push(t),r.set(t,i),e.children=a}}return r.get(e)}(this);let{type:e}=t;return e&&(this._previousDefinedType=e),function(t,e,n,r,i){let a=function(t,e,n,r,i){let{type:a}=t,{type:o=n||a}=e;if("function"!=typeof o&&new Set(Object.keys(i)).has(o)){for(let n of xS)void 0!==t.attr(n)&&void 0===e[n]&&(e[n]=t.attr(n));return e}if("function"==typeof o||new Set(Object.keys(r)).has(o)){let t={type:"view"},n=Object.assign({},e);for(let e of xS)void 0!==n[e]&&(t[e]=n[e],delete n[e]);return Object.assign(Object.assign({},t),{children:[n]})}return e}(t,e,n,r,i),o=[[null,t,a]];for(;o.length;){let[t,e,n]=o.shift();if(e){if(n){!function(t,e){let{type:n,children:r}=e,i=xA(e,["type","children"]);t.type===n||void 0===n?function t(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(!(i>=r)){for(let a of Object.keys(n)){let o=n[a];(0,tE.Z)(o)&&(0,tE.Z)(e[a])?t(e[a],o,r,i+1):e[a]=o}return e}}(t.value,i):"string"==typeof n&&(t.type=n,t.value=i)}(e,n);let{children:t}=n,{children:r}=e;if(Array.isArray(t)&&Array.isArray(r)){let n=Math.max(t.length,r.length);for(let i=0;i1?e-1:0),r=1;r{this.emit(l0.AFTER_CHANGE_SIZE)}),n}changeSize(t,e){if(t===this._width&&e===this._height)return Promise.resolve(this);this.emit(l0.BEFORE_CHANGE_SIZE),this.attr("width",t),this.attr("height",e);let n=this.render();return n.then(()=>{this.emit(l0.AFTER_CHANGE_SIZE)}),n}_create(){let{library:t}=this._context,e=["mark.mark",...Object.keys(t).filter(t=>t.startsWith("mark.")||"component.axisX"===t||"component.axisY"===t||"component.legends"===t)];for(let t of(this._marks={},e)){let e=t.split(".").pop();class n extends xz{constructor(){super({},e)}}this._marks[e]=n,this[e]=function(t){let r=this.append(n);return"mark"===e&&(r.type=t),r}}let n=["composition.view",...Object.keys(t).filter(t=>t.startsWith("composition.")&&"composition.mark"!==t)];for(let t of(this._compositions=Object.fromEntries(n.map(t=>{let e=t.split(".").pop(),n=class extends xZ{constructor(){super({},e)}};return n=x$([xL(xI(this._marks))],n),[e,n]})),Object.values(this._compositions)))xL(xI(this._compositions))(t);for(let t of n){let e=t.split(".").pop();this[e]=function(){let t=this._compositions[e];return this.type=null,this.append(t)}}}_reset(){let t=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(e=>{let[n]=e;return n.startsWith("margin")||n.startsWith("padding")||n.startsWith("inset")||t.includes(n)})),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{let t=this._trailingResolve.bind(this);this._trailingResolve=null,t(this)}).catch(t=>{let e=this._trailingReject.bind(this);this._trailingReject=null,e(t)}))}_createResolve(t){return()=>{this._rendering=!1,t(this)}}_createReject(t){return e=>{this._rendering=!1,t(e)}}_computedOptions(){let t=this.options(),{key:e="G2_CHART_KEY"}=t,{width:n,height:r,depth:i}=xT(t,this._container);return this._width=n,this._height=r,this._key=e,Object.assign(Object.assign({key:this._key},t),{width:n,height:r,depth:i})}_createCanvas(){let{width:t,height:e}=xT(this.options(),this._container);this._plugins.push(new yi.S),this._plugins.forEach(t=>this._renderer.registerPlugin(t)),this._context.canvas=new tb.Xz({container:this._container,width:t,height:e,renderer:this._renderer})}_addToTrailing(){var t;null===(t=this._trailingResolve)||void 0===t||t.call(this,this),this._trailing=!0;let e=new Promise((t,e)=>{this._trailingResolve=t,this._trailingReject=e});return e}_bindAutoFit(){let t=this.options(),{autoFit:e}=t;if(this._hasBindAutoFit){e||this._unbindAutoFit();return}e&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}constructor(t){let{container:e,canvas:n,renderer:r,plugins:i,lib:a,createCanvas:o}=t,l=xW(t,["container","canvas","renderer","plugins","lib","createCanvas"]);super(l,"view"),this._hasBindAutoFit=!1,this._rendering=!1,this._trailing=!1,this._trailingResolve=null,this._trailingReject=null,this._previousDefinedType=null,this._onResize=(0,ya.Z)(()=>{this.forceFit()},300),this._renderer=r||new yr,this._plugins=i||[],this._container=function(t){if(void 0===t){let t=document.createElement("div");return t[xE]=!0,t}if("string"==typeof t){let e=document.getElementById(t);return e}return t}(e),this._emitter=new yo.Z,this._context={library:Object.assign(Object.assign({},a),xF),emitter:this._emitter,canvas:n,createCanvas:o},this._create()}},class extends l{constructor(t){super(Object.assign(Object.assign({},t),{lib:xH}))}}),xq=(0,d.forwardRef)((t,e)=>{let{options:n,style:r,onInit:i,renderer:a}=t,o=(0,d.useRef)(null),l=(0,d.useRef)(),[s,c]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{if(!l.current&&o.current)return l.current=new xG({container:o.current,renderer:a}),c(!0),()=>{l.current&&(l.current.destroy(),l.current=void 0)}},[a]),(0,d.useEffect)(()=>{s&&(null==i||i())},[s,i]),(0,d.useEffect)(()=>{l.current&&n&&(l.current.options(n),l.current.render())},[n]),(0,d.useImperativeHandle)(e,()=>l.current,[s]),d.createElement("div",{ref:o,style:r})})},52539:function(t,e,n){t.exports=n(95178).use(n(96283)).use(n(99134)).use(n(632)).use(n(45849)).use(n(11555)).use(n(82661)).use(n(65598)).use(n(52759)).use(n(34170)).use(n(98123)).use(n(13752)).use(n(11018)).use(n(52061)).use(n(63490)).use(n(84965)).use(n(30368)).use(n(61820)).use(n(8904)).use(n(26301)).use(n(33598)).use(n(37199))},11555:function(t){t.exports=function(t){t.installColorSpace("CMYK",["cyan","magenta","yellow","black","alpha"],{rgb:function(){return new t.RGB(1-this._cyan*(1-this._black)-this._black,1-this._magenta*(1-this._black)-this._black,1-this._yellow*(1-this._black)-this._black,this._alpha)},fromRgb:function(){var e=this._red,n=this._green,r=this._blue,i=1-e,a=1-n,o=1-r,l=1;return e||n||r?(l=Math.min(i,Math.min(a,o)),i=(i-l)/(1-l),a=(a-l)/(1-l),o=(o-l)/(1-l)):l=1,new t.CMYK(i,a,o,l,this._alpha)}})}},45849:function(t,e,n){t.exports=function(t){t.use(n(632)),t.installColorSpace("HSL",["hue","saturation","lightness","alpha"],{hsv:function(){var e,n=2*this._lightness,r=this._saturation*(n<=1?n:2-n);return e=n+r<1e-9?0:2*r/(n+r),new t.HSV(this._hue,e,(n+r)/2,this._alpha)},rgb:function(){return this.hsv().rgb()},fromRgb:function(){return this.hsv().hsl()}})}},632:function(t){t.exports=function(t){t.installColorSpace("HSV",["hue","saturation","value","alpha"],{rgb:function(){var e,n,r,i=this._hue,a=this._saturation,o=this._value,l=Math.min(5,Math.floor(6*i)),s=6*i-l,c=o*(1-a),u=o*(1-s*a),f=o*(1-(1-s)*a);switch(l){case 0:e=o,n=f,r=c;break;case 1:e=u,n=o,r=c;break;case 2:e=c,n=o,r=f;break;case 3:e=c,n=u,r=o;break;case 4:e=f,n=c,r=o;break;case 5:e=o,n=c,r=u}return new t.RGB(e,n,r,this._alpha)},hsl:function(){var e=(2-this._saturation)*this._value,n=this._saturation*this._value,r=e<=1?e:2-e;return new t.HSL(this._hue,r<1e-9?0:n/r,e/2,this._alpha)},fromRgb:function(){var e,n=this._red,r=this._green,i=this._blue,a=Math.max(n,r,i),o=a-Math.min(n,r,i),l=0===a?0:o/a;if(0===o)e=0;else switch(a){case n:e=(r-i)/o/6+(r.008856?e:(t-16/116)/7.87},n=(this._l+16)/116,r=this._a/500+n,i=n-this._b/200;return new t.XYZ(95.047*e(r),100*e(n),108.883*e(i),this._alpha)}})}},96283:function(t){t.exports=function(t){t.installColorSpace("XYZ",["x","y","z","alpha"],{fromRgb:function(){var e=function(t){return t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92},n=e(this._red),r=e(this._green),i=e(this._blue);return new t.XYZ(.4124564*n+.3575761*r+.1804375*i,.2126729*n+.7151522*r+.072175*i,.0193339*n+.119192*r+.9503041*i,this._alpha)},rgb:function(){var e=this._x,n=this._y,r=this._z,i=function(t){return t>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t};return new t.RGB(i(3.2404542*e+-1.5371385*n+-.4985314*r),i(-.969266*e+1.8760108*n+.041556*r),i(.0556434*e+-.2040259*n+1.0572252*r),this._alpha)},lab:function(){var e=function(t){return t>.008856?Math.pow(t,1/3):7.787037*t+4/29},n=e(this._x/95.047),r=e(this._y/100),i=e(this._z/108.883);return new t.LAB(116*r-16,500*(n-r),200*(r-i),this._alpha)}})}},95178:function(t){var e=[],n=function(t){return void 0===t},r=/\s*(\.\d+|\d+(?:\.\d+)?)(%)?\s*/,i=/\s*(\.\d+|100|\d?\d(?:\.\d+)?)%\s*/,a=RegExp("^(rgb|hsl|hsv)a?\\("+r.source+","+r.source+","+r.source+"(?:,"+/\s*(\.\d+|\d+(?:\.\d+)?)\s*/.source+")?\\)$","i");function o(t){if(Array.isArray(t)){if("string"==typeof t[0]&&"function"==typeof o[t[0]])return new o[t[0]](t.slice(1,t.length));if(4===t.length)return new o.RGB(t[0]/255,t[1]/255,t[2]/255,t[3]/255)}else if("string"==typeof t){var e=t.toLowerCase();o.namedColors[e]&&(t="#"+o.namedColors[e]),"transparent"===e&&(t="rgba(0,0,0,0)");var r=t.match(a);if(r){var l=r[1].toUpperCase(),s=n(r[8])?r[8]:parseFloat(r[8]),c="H"===l[0],u=r[3]?100:c?360:255,f=r[5]||c?100:255,d=r[7]||c?100:255;if(n(o[l]))throw Error("color."+l+" is not installed.");return new o[l](parseFloat(r[2])/u,parseFloat(r[4])/f,parseFloat(r[6])/d,s)}t.length<6&&(t=t.replace(/^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i,"$1$1$2$2$3$3"));var h=t.match(/^#?([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])$/i);if(h)return new o.RGB(parseInt(h[1],16)/255,parseInt(h[2],16)/255,parseInt(h[3],16)/255);if(o.CMYK){var p=t.match(RegExp("^cmyk\\("+i.source+","+i.source+","+i.source+","+i.source+"\\)$","i"));if(p)return new o.CMYK(parseFloat(p[1])/100,parseFloat(p[2])/100,parseFloat(p[3])/100,parseFloat(p[4])/100)}}else if("object"==typeof t&&t.isColor)return t;return!1}o.namedColors={},o.installColorSpace=function(t,r,i){o[t]=function(e){var n=Array.isArray(e)?e:arguments;r.forEach(function(e,i){var a=n[i];if("alpha"===e)this._alpha=isNaN(a)||a>1?1:a<0?0:a;else{if(isNaN(a))throw Error("["+t+"]: Invalid color: ("+r.join(",")+")");"hue"===e?this._hue=a<0?a-Math.floor(a):a%1:this["_"+e]=a<0?0:a>1?1:a}},this)},o[t].propertyNames=r;var a=o[t].prototype;for(var l in["valueOf","hex","hexa","css","cssa"].forEach(function(e){a[e]=a[e]||("RGB"===t?a.hex:function(){return this.rgb()[e]()})}),a.isColor=!0,a.equals=function(e,i){n(i)&&(i=1e-10),e=e[t.toLowerCase()]();for(var a=0;ai)return!1;return!0},a.toJSON=function(){return[t].concat(r.map(function(t){return this["_"+t]},this))},i)if(i.hasOwnProperty(l)){var s=l.match(/^from(.*)$/);s?o[s[1].toUpperCase()].prototype[t.toLowerCase()]=i[l]:a[l]=i[l]}function c(t,e){var n={};for(var r in n[e.toLowerCase()]=function(){return this.rgb()[e.toLowerCase()]()},o[e].propertyNames.forEach(function(t){var r="black"===t?"k":t.charAt(0);n[t]=n[r]=function(n,r){return this[e.toLowerCase()]()[t](n,r)}}),n)n.hasOwnProperty(r)&&void 0===o[t].prototype[r]&&(o[t].prototype[r]=n[r])}return a[t.toLowerCase()]=function(){return this},a.toString=function(){return"["+t+" "+r.map(function(t){return this["_"+t]},this).join(", ")+"]"},r.forEach(function(t){var e="black"===t?"k":t.charAt(0);a[t]=a[e]=function(e,n){return void 0===e?this["_"+t]:new this.constructor(n?r.map(function(n){return this["_"+n]+(t===n?e:0)},this):r.map(function(n){return t===n?e:this["_"+n]},this))}}),e.forEach(function(e){c(t,e),c(e,t)}),e.push(t),o},o.pluginList=[],o.use=function(t){return -1===o.pluginList.indexOf(t)&&(this.pluginList.push(t),t(o)),o},o.installMethod=function(t,n){return e.forEach(function(e){o[e].prototype[t]=n}),this},o.installColorSpace("RGB",["red","green","blue","alpha"],{hex:function(){var t=(65536*Math.round(255*this._red)+256*Math.round(255*this._green)+Math.round(255*this._blue)).toString(16);return"#"+"00000".substr(0,6-t.length)+t},hexa:function(){var t=Math.round(255*this._alpha).toString(16);return"#"+"00".substr(0,2-t.length)+t+this.hex().substr(1,6)},css:function(){return"rgb("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+")"},cssa:function(){return"rgba("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+","+this._alpha+")"}}),t.exports=o},65598:function(t){t.exports=function(t){t.installMethod("clearer",function(t){return this.alpha(isNaN(t)?-.1:-t,!0)})}},52759:function(t,e,n){t.exports=function(t){t.use(n(84965)),t.installMethod("contrast",function(t){var e=this.luminance(),n=t.luminance();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)})}},34170:function(t,e,n){t.exports=function(t){t.use(n(45849)),t.installMethod("darken",function(t){return this.lightness(isNaN(t)?-.1:-t,!0)})}},98123:function(t,e,n){t.exports=function(t){t.use(n(45849)),t.installMethod("desaturate",function(t){return this.saturation(isNaN(t)?-.1:-t,!0)})}},13752:function(t){t.exports=function(t){function e(){var e=this.rgb(),n=.3*e._red+.59*e._green+.11*e._blue;return new t.RGB(n,n,n,e._alpha)}t.installMethod("greyscale",e).installMethod("grayscale",e)}},11018:function(t){t.exports=function(t){t.installMethod("isDark",function(){var t=this.rgb();return(76245*t._red+149685*t._green+29070*t._blue)/1e3<128})}},52061:function(t,e,n){t.exports=function(t){t.use(n(11018)),t.installMethod("isLight",function(){return!this.isDark()})}},63490:function(t,e,n){t.exports=function(t){t.use(n(45849)),t.installMethod("lighten",function(t){return this.lightness(isNaN(t)?.1:t,!0)})}},84965:function(t){t.exports=function(t){function e(t){return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}t.installMethod("luminance",function(){var t=this.rgb();return .2126*e(t._red)+.7152*e(t._green)+.0722*e(t._blue)})}},30368:function(t){t.exports=function(t){t.installMethod("mix",function(e,n){e=t(e).rgb();var r=2*(n=1-(isNaN(n)?.5:n))-1,i=this._alpha-e._alpha,a=((r*i==-1?r:(r+i)/(1+r*i))+1)/2,o=1-a,l=this.rgb();return new t.RGB(l._red*a+e._red*o,l._green*a+e._green*o,l._blue*a+e._blue*o,l._alpha*n+e._alpha*(1-n))})}},82661:function(t){t.exports=function(t){t.namedColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",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:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"}}},61820:function(t){t.exports=function(t){t.installMethod("negate",function(){var e=this.rgb();return new t.RGB(1-e._red,1-e._green,1-e._blue,this._alpha)})}},8904:function(t){t.exports=function(t){t.installMethod("opaquer",function(t){return this.alpha(isNaN(t)?.1:t,!0)})}},26301:function(t,e,n){t.exports=function(t){t.use(n(45849)),t.installMethod("rotate",function(t){return this.hue((t||0)/360,!0)})}},33598:function(t,e,n){t.exports=function(t){t.use(n(45849)),t.installMethod("saturate",function(t){return this.saturation(isNaN(t)?.1:t,!0)})}},37199:function(t){t.exports=function(t){t.installMethod("toAlpha",function(t){var e=this.rgb(),n=t(t).rgb(),r=new t.RGB(0,0,0,e._alpha),i=["_red","_green","_blue"];return i.forEach(function(t){e[t]<1e-10?r[t]=e[t]:e[t]>n[t]?r[t]=(e[t]-n[t])/(1-n[t]):e[t]>n[t]?r[t]=(n[t]-e[t])/n[t]:r[t]=0}),r._red>r._green?r._red>r._blue?e._alpha=r._red:e._alpha=r._blue:r._green>r._blue?e._alpha=r._green:e._alpha=r._blue,e._alpha<1e-10||(i.forEach(function(t){e[t]=(e[t]-n[t])/e._alpha+n[t]}),e._alpha*=r._alpha),e})}},41082:function(t){"use strict";var e=t.exports;t.exports.isNumber=function(t){return"number"==typeof t},t.exports.findMin=function(t){if(0===t.length)return 1/0;for(var e=t[0],n=1;n=f.length)){var n=Math.max(e-r,0),i=Math.min(e+r,f.length-1),o=n-(e-r),l=e+r-i,c=p/(p-(h[-r-1+o]||0)-(h[-r-1+l]||0));o>0&&(m+=c*(o-1)*g);var d=Math.max(0,e-r+1);a.inside(0,f.length-1,d)&&(f[d].y+=1*c*g),a.inside(0,f.length-1,e+1)&&(f[e+1].y-=2*c*g),a.inside(0,f.length-1,i+1)&&(f[i+1].y+=1*c*g)}});var y=m,v=0,b=0;return f.forEach(function(t){v+=t.y,y+=v,t.y=y,b+=y}),b>0&&f.forEach(function(t){t.y/=b}),f},t.exports.getExpectedValueFromPdf=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){e+=t.x*t.y}),e}},t.exports.getXWithLeftTailArea=function(t,e){if(t&&0!==t.length){for(var n=0,r=0,i=0;i=e));i++);return t[r].x}},t.exports.getPerplexity=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){var n=Math.log(t.y);isFinite(n)&&(e+=t.y*n)}),Math.pow(2,e=-e/r)}}},98651:function(t){if(!e)var e={map:function(t,e){var n={};return e?t.map(function(t,r){return n.index=r,e.call(n,t)}):t.slice()},naturalOrder:function(t,e){return te?1:0},sum:function(t,e){var n={};return t.reduce(e?function(t,r,i){return n.index=i,t+e.call(n,r)}:function(t,e){return t+e},0)},max:function(t,n){return Math.max.apply(null,n?e.map(t,n):t)}};var n=function(){function t(t,e,n){return(t<<10)+(e<<5)+n}function n(t){var e=[],n=!1;function r(){e.sort(t),n=!0}return{push:function(t){e.push(t),n=!1},peek:function(t){return n||r(),void 0===t&&(t=e.length-1),e[t]},pop:function(){return n||r(),e.pop()},size:function(){return e.length},map:function(t){return e.map(t)},debug:function(){return n||r(),e}}}function r(t,e,n,r,i,a,o){this.r1=t,this.r2=e,this.g1=n,this.g2=r,this.b1=i,this.b2=a,this.histo=o}function i(){this.vboxes=new n(function(t,n){return e.naturalOrder(t.vbox.count()*t.vbox.volume(),n.vbox.count()*n.vbox.volume())})}return r.prototype={volume:function(t){return(!this._volume||t)&&(this._volume=(this.r2-this.r1+1)*(this.g2-this.g1+1)*(this.b2-this.b1+1)),this._volume},count:function(e){var n=this.histo;if(!this._count_set||e){var r,i,a,o=0;for(r=this.r1;r<=this.r2;r++)for(i=this.g1;i<=this.g2;i++)for(a=this.b1;a<=this.b2;a++)o+=n[t(r,i,a)]||0;this._count=o,this._count_set=!0}return this._count},copy:function(){return new r(this.r1,this.r2,this.g1,this.g2,this.b1,this.b2,this.histo)},avg:function(e){var n=this.histo;if(!this._avg||e){var r,i,a,o,l=0,s=0,c=0,u=0;for(i=this.r1;i<=this.r2;i++)for(a=this.g1;a<=this.g2;a++)for(o=this.b1;o<=this.b2;o++)l+=r=n[t(i,a,o)]||0,s+=r*(i+.5)*8,c+=r*(a+.5)*8,u+=r*(o+.5)*8;l?this._avg=[~~(s/l),~~(c/l),~~(u/l)]:this._avg=[~~(8*(this.r1+this.r2+1)/2),~~(8*(this.g1+this.g2+1)/2),~~(8*(this.b1+this.b2+1)/2)]}return this._avg},contains:function(t){var e=t[0]>>3;return gval=t[1]>>3,bval=t[2]>>3,e>=this.r1&&e<=this.r2&&gval>=this.g1&&gval<=this.g2&&bval>=this.b1&&bval<=this.b2}},i.prototype={push:function(t){this.vboxes.push({vbox:t,color:t.avg()})},palette:function(){return this.vboxes.map(function(t){return t.color})},size:function(){return this.vboxes.size()},map:function(t){for(var e=this.vboxes,n=0;n251&&i[1]>251&&i[2]>251&&(t[r].color=[255,255,255])}},{quantize:function(a,o){if(!a.length||o<2||o>256)return!1;var l,s,c,u,f,d,h,p,g,m,y,v=(s=Array(32768),a.forEach(function(e){s[l=t(e[0]>>3,e[1]>>3,e[2]>>3)]=(s[l]||0)+1}),s),b=0;v.forEach(function(){b++});var x=(d=1e6,h=0,p=1e6,g=0,m=1e6,y=0,a.forEach(function(t){c=t[0]>>3,u=t[1]>>3,f=t[2]>>3,ch&&(h=c),ug&&(g=u),fy&&(y=f)}),new r(d,h,p,g,m,y,v)),O=new n(function(t,n){return e.naturalOrder(t.count(),n.count())});function w(n,r){for(var i,a=1,o=0;o<1e3;){if(!(i=n.pop()).count()){n.push(i),o++;continue}var l=function(n,r){if(r.count()){var i=r.r2-r.r1+1,a=r.g2-r.g1+1,o=r.b2-r.b1+1,l=e.max([i,a,o]);if(1==r.count())return[r.copy()];var s,c,u,f,d=0,h=[],p=[];if(l==i)for(s=r.r1;s<=r.r2;s++){for(f=0,c=r.g1;c<=r.g2;c++)for(u=r.b1;u<=r.b2;u++)f+=n[t(s,c,u)]||0;d+=f,h[s]=d}else if(l==a)for(s=r.g1;s<=r.g2;s++){for(f=0,c=r.r1;c<=r.r2;c++)for(u=r.b1;u<=r.b2;u++)f+=n[t(c,s,u)]||0;d+=f,h[s]=d}else for(s=r.b1;s<=r.b2;s++){for(f=0,c=r.r1;c<=r.r2;c++)for(u=r.g1;u<=r.g2;u++)f+=n[t(c,u,s)]||0;d+=f,h[s]=d}return h.forEach(function(t,e){p[e]=d-t}),function(t){var e,n,i,a,o,l=t+"1",c=t+"2",u=0;for(s=r[l];s<=r[c];s++)if(h[s]>d/2){for(i=r.copy(),a=r.copy(),o=(e=s-r[l])<=(n=r[c]-s)?Math.min(r[c]-1,~~(s+n/2)):Math.max(r[l],~~(s-1-e/2));!h[o];)o++;for(u=p[o];!u&&h[o-1];)u=p[--o];return i[c]=o,a[l]=i[c]+1,[i,a]}}(l==i?"r":l==a?"g":"b")}}(v,i),s=l[0],c=l[1];if(!s||(n.push(s),c&&(n.push(c),a++),a>=r||o++>1e3))return}}O.push(x),w(O,.75*o);for(var _=new n(function(t,n){return e.naturalOrder(t.count()*t.volume(),n.count()*n.volume())});O.size();)_.push(O.pop());w(_,o-_.size());for(var k=new i;_.size();)k.push(_.pop());return k}}}();t.exports=n.quantize},15411:function(t,e){"use strict";/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function O(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case u:case f:case a:case l:case o:case h:return t;default:switch(t=t&&t.$$typeof){case c:case d:case m:case g:case s:return t;default:return e}}case i:return e}}}function w(t){return O(t)===f}e.AsyncMode=u,e.ConcurrentMode=f,e.ContextConsumer=c,e.ContextProvider=s,e.Element=r,e.ForwardRef=d,e.Fragment=a,e.Lazy=m,e.Memo=g,e.Portal=i,e.Profiler=l,e.StrictMode=o,e.Suspense=h,e.isAsyncMode=function(t){return w(t)||O(t)===u},e.isConcurrentMode=w,e.isContextConsumer=function(t){return O(t)===c},e.isContextProvider=function(t){return O(t)===s},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return O(t)===d},e.isFragment=function(t){return O(t)===a},e.isLazy=function(t){return O(t)===m},e.isMemo=function(t){return O(t)===g},e.isPortal=function(t){return O(t)===i},e.isProfiler=function(t){return O(t)===l},e.isStrictMode=function(t){return O(t)===o},e.isSuspense=function(t){return O(t)===h},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===f||t===l||t===o||t===h||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===g||t.$$typeof===s||t.$$typeof===c||t.$$typeof===d||t.$$typeof===v||t.$$typeof===b||t.$$typeof===x||t.$$typeof===y)},e.typeOf=O},13953:function(t,e,n){"use strict";t.exports=n(15411)},66757:function(t,e,n){"use strict";var r=n(93718),i=Array.prototype.concat,a=Array.prototype.slice,o=t.exports=function(t){for(var e=[],n=0,o=t.length;n`if(${t} < _results.length && ((_results.length = ${t+1}), (_results[${t}] = { error: ${e} }), _checkDone())) { +`+r(!0)+"} else {\n"+n()+"}\n",onResult:(t,e,n,r)=>`if(${t} < _results.length && (${e} !== undefined && (_results.length = ${t+1}), (_results[${t}] = { result: ${e} }), _checkDone())) { +`+r(!0)+"} else {\n"+n()+"}\n",onTap:(t,e,n,r)=>{let i="";return t>0&&(i+=`if(${t} >= _results.length) { +`+n()+"} else {\n"),i+=e(),t>0&&(i+="}\n"),i},onDone:n})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},58258:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onDone:e}){return this.callTapsParallel({onError:(e,n,r,i)=>t(n)+i(!0),onDone:e})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},54696:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onResult:e,resultReturns:n,onDone:r}){return this.callTapsSeries({onError:(e,n,r,i)=>t(n)+i(!0),onResult:(t,n,r)=>`if(${n} !== undefined) { +${e(n)} +} else { +${r()}} +`,resultReturns:n,onDone:r})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},42457:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onDone:e}){return this.callTapsSeries({onError:(e,n,r,i)=>t(n)+i(!0),onDone:e})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},64836:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onDone:e}){return this.callTapsLooping({onError:(e,n,r,i)=>t(n)+i(!0),onDone:e})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},42686:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onResult:e,onDone:n}){return this.callTapsSeries({onError:(e,n,r,i)=>t(n)+i(!0),onResult:(t,e,n)=>`if(${e} !== undefined) { +${this._args[0]} = ${e}; +} +`+n(),onDone:()=>e(this._args[0])})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){if(t.length<1)throw Error("Waterfall hooks must have at least one argument");let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},8126:function(t,e,n){"use strict";let r=n(26009),i=r.deprecate(()=>{},"Hook.context is deprecated and will be removed"),a=function(...t){return this.call=this._createCall("sync"),this.call(...t)},o=function(...t){return this.callAsync=this._createCall("async"),this.callAsync(...t)},l=function(...t){return this.promise=this._createCall("promise"),this.promise(...t)};class s{constructor(t=[],e){this._args=t,this.name=e,this.taps=[],this.interceptors=[],this._call=a,this.call=a,this._callAsync=o,this.callAsync=o,this._promise=l,this.promise=l,this._x=void 0,this.compile=this.compile,this.tap=this.tap,this.tapAsync=this.tapAsync,this.tapPromise=this.tapPromise}compile(t){throw Error("Abstract: should be overridden")}_createCall(t){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:t})}_tap(t,e,n){if("string"==typeof e)e={name:e.trim()};else if("object"!=typeof e||null===e)throw Error("Invalid tap options");if("string"!=typeof e.name||""===e.name)throw Error("Missing name for tap");void 0!==e.context&&i(),e=Object.assign({type:t,fn:n},e),e=this._runRegisterInterceptors(e),this._insert(e)}tap(t,e){this._tap("sync",t,e)}tapAsync(t,e){this._tap("async",t,e)}tapPromise(t,e){this._tap("promise",t,e)}_runRegisterInterceptors(t){for(let e of this.interceptors)if(e.register){let n=e.register(t);void 0!==n&&(t=n)}return t}withOptions(t){let e=e=>Object.assign({},t,"string"==typeof e?{name:e}:e);return{name:this.name,tap:(t,n)=>this.tap(e(t),n),tapAsync:(t,n)=>this.tapAsync(e(t),n),tapPromise:(t,n)=>this.tapPromise(e(t),n),intercept:t=>this.intercept(t),isUsed:()=>this.isUsed(),withOptions:t=>this.withOptions(e(t))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(t){if(this._resetCompilation(),this.interceptors.push(Object.assign({},t)),t.register)for(let e=0;e0;){r--;let t=this.taps[r];this.taps[r+1]=t;let i=t.stage||0;if(e){if(e.has(t.name)){e.delete(t.name);continue}if(e.size>0)continue}if(!(i>n)){r++;break}}this.taps[r]=t}}Object.setPrototypeOf(s.prototype,null),t.exports=s},55411:function(t){"use strict";t.exports=class{constructor(t){this.config=t,this.options=void 0,this._args=void 0}create(t){let e;switch(this.init(t),this.options.type){case"sync":e=Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:t=>`throw ${t}; +`,onResult:t=>`return ${t}; +`,resultReturns:!0,onDone:()=>"",rethrowIfPossible:!0}));break;case"async":e=Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:t=>`_callback(${t}); +`,onResult:t=>`_callback(null, ${t}); +`,onDone:()=>"_callback();\n"}));break;case"promise":let n=!1,r=this.contentWithInterceptors({onError:t=>(n=!0,`_error(${t}); +`),onResult:t=>`_resolve(${t}); +`,onDone:()=>"_resolve();\n"}),i="";i+='"use strict";\n'+this.header()+"return new Promise((function(_resolve, _reject) {\n",n&&(i+="var _sync = true;\nfunction _error(_err) {\nif(_sync)\n_resolve(Promise.resolve().then((function() { throw _err; })));\nelse\n_reject(_err);\n};\n"),i+=r,n&&(i+="_sync = false;\n"),i+="}));\n",e=Function(this.args(),i)}return this.deinit(),e}setup(t,e){t._x=e.taps.map(t=>t.fn)}init(t){this.options=t,this._args=t.args.slice()}deinit(){this.options=void 0,this._args=void 0}contentWithInterceptors(t){if(!(this.options.interceptors.length>0))return this.content(t);{let e=t.onError,n=t.onResult,r=t.onDone,i="";for(let t=0;t{let n="";for(let e=0;e{let e="";for(let n=0;n{let t="";for(let e=0;e0&&(t+="var _taps = this.taps;\nvar _interceptors = this.interceptors;\n"),t}needContext(){for(let t of this.options.taps)if(t.context)return!0;return!1}callTap(t,{onError:e,onResult:n,onDone:r,rethrowIfPossible:i}){let a="",o=!1;for(let e=0;e"sync"!==t.type),l=n||i,s="",c=r,u=0;for(let n=this.options.taps.length-1;n>=0;n--){let i=n,f=c!==r&&("sync"!==this.options.taps[i].type||u++>20);f&&(u=0,s+=`function _next${i}() { +`+c()+`} +`,c=()=>`${l?"return ":""}_next${i}(); +`);let d=c,h=t=>t?"":r(),p=this.callTap(i,{onError:e=>t(i,e,d,h),onResult:e&&(t=>e(i,t,d,h)),onDone:!e&&d,rethrowIfPossible:a&&(o<0||ip}return s+c()}callTapsLooping({onError:t,onDone:e,rethrowIfPossible:n}){if(0===this.options.taps.length)return e();let r=this.options.taps.every(t=>"sync"===t.type),i="";r||(i+="var _looper = (function() {\nvar _loopAsync = false;\n"),i+="var _loop;\ndo {\n_loop = false;\n";for(let t=0;t{let a="";return a+=`if(${e} !== undefined) { +_loop = true; +`,r||(a+="if(_loopAsync) _looper();\n"),a+=i(!0)+`} else { +`+n()+`} +`},onDone:e&&(()=>"if(!_loop) {\n"+e()+"}\n"),rethrowIfPossible:n&&r})+"} while(_loop);\n",r||(i+="_loopAsync = true;\n});\n_looper();\n"),i}callTapsParallel({onError:t,onResult:e,onDone:n,rethrowIfPossible:r,onTap:i=(t,e)=>e()}){if(this.options.taps.length<=1)return this.callTapsSeries({onError:t,onResult:e,onDone:n,rethrowIfPossible:r});let a="";a+=`do { +var _counter = ${this.options.taps.length}; +`,n&&(a+="var _done = (function() {\n"+n()+"});\n");for(let o=0;on?"if(--_counter === 0) _done();\n":"--_counter;",s=t=>t||!n?"_counter = 0;\n":"_counter = 0;\n_done();\n";a+="if(_counter <= 0) break;\n"+i(o,()=>this.callTap(o,{onError:e=>"if(_counter > 0) {\n"+t(o,e,l,s)+"}\n",onResult:e&&(t=>"if(_counter > 0) {\n"+e(o,t,l,s)+"}\n"),onDone:!e&&(()=>l()),rethrowIfPossible:r}),l,s)}return a+"} while(false);\n"}args({before:t,after:e}={}){let n=this._args;return(t&&(n=[t].concat(n)),e&&(n=n.concat(e)),0===n.length)?"":n.join(", ")}getTapFn(t){return`_x[${t}]`}getTap(t){return`_taps[${t}]`}getInterceptor(t){return`_interceptors[${t}]`}}},47771:function(t,e,n){"use strict";let r=n(26009),i=(t,e)=>e;class a{constructor(t,e){this._map=new Map,this.name=e,this._factory=t,this._interceptors=[]}get(t){return this._map.get(t)}for(t){let e=this.get(t);if(void 0!==e)return e;let n=this._factory(t),r=this._interceptors;for(let e=0;ee.withOptions(t)),this.name)}}t.exports=r},95176:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onResult:e,resultReturns:n,onDone:r,rethrowIfPossible:i}){return this.callTapsSeries({onError:(e,n)=>t(n),onResult:(t,n,r)=>`if(${n} !== undefined) { +${e(n)}; +} else { +${r()}} +`,resultReturns:n,onDone:r,rethrowIfPossible:i})}},o=()=>{throw Error("tapAsync is not supported on a SyncBailHook")},l=()=>{throw Error("tapPromise is not supported on a SyncBailHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},45851:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onDone:e,rethrowIfPossible:n}){return this.callTapsSeries({onError:(e,n)=>t(n),onDone:e,rethrowIfPossible:n})}},o=()=>{throw Error("tapAsync is not supported on a SyncHook")},l=()=>{throw Error("tapPromise is not supported on a SyncHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},83975:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onDone:e,rethrowIfPossible:n}){return this.callTapsLooping({onError:(e,n)=>t(n),onDone:e,rethrowIfPossible:n})}},o=()=>{throw Error("tapAsync is not supported on a SyncLoopHook")},l=()=>{throw Error("tapPromise is not supported on a SyncLoopHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},45444:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onResult:e,resultReturns:n,rethrowIfPossible:r}){return this.callTapsSeries({onError:(e,n)=>t(n),onResult:(t,e,n)=>`if(${e} !== undefined) { +${this._args[0]} = ${e}; +} +`+n(),onDone:()=>e(this._args[0]),doneReturns:n,rethrowIfPossible:r})}},o=()=>{throw Error("tapAsync is not supported on a SyncWaterfallHook")},l=()=>{throw Error("tapPromise is not supported on a SyncWaterfallHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){if(t.length<1)throw Error("Waterfall hooks must have at least one argument");let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},99477:function(t,e,n){"use strict";e.SyncHook=n(45851),n(95176),n(45444),n(83975),e.AsyncParallelHook=n(58258),n(23769),n(42457),n(54696),n(64836),e.AsyncSeriesWaterfallHook=n(42686),n(47771),n(13290)},26009:function(t,e){"use strict";e.deprecate=(t,e)=>{let n=!0;return function(){return n&&(console.warn("DeprecationWarning: "+e),n=!1),t.apply(this,arguments)}}},4280:function(t,e,n){"use strict";e.Z=function(){for(var t,e,n=0,r="",i=arguments.length;ni&&(r=n,o(1),++e),n[t]=a}function o(t){e=0,n=Object.create(null),t||(r=Object.create(null))}return o(),{clear:o,has:function(t){return void 0!==n[t]||void 0!==r[t]},get:function(t){var e=n[t];return void 0!==e?e:void 0!==(e=r[t])?(a(t,e),e):void 0},set:function(t,e){void 0!==n[t]?n[t]=e:a(t,e)}}}n.d(e,{Z:function(){return r}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1840-ab653829251fac1b.js b/dbgpt/app/static/web/_next/static/chunks/1840-ab653829251fac1b.js deleted file mode 100644 index 1556effad..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/1840-ab653829251fac1b.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1840],{67576:function(e,t,n){n.d(t,{Z:function(){return a}});var l=n(42096),r=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},i=n(75651),a=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,l.Z)({},e,{ref:t,icon:o}))})},40132:function(e,t,n){n.d(t,{Z:function(){return a}});var l=n(42096),r=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},i=n(75651),a=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,l.Z)({},e,{ref:t,icon:o}))})},27494:function(e,t,n){n.d(t,{N:function(){return l}});let l=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},21840:function(e,t,n){n.d(t,{Z:function(){return eh}});var l=n(38497),r=n(40132),o=n(26869),i=n.n(o),a=n(31617),c=n(10469),s=n(46644),u=n(77757),d=n(55598),p=n(7544),f=n(94280),m=n(16956),g=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let b={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-flex"},v=l.forwardRef((e,t)=>{let{style:n,noStyle:r,disabled:o,tabIndex:i=0}=e,a=g(e,["style","noStyle","disabled","tabIndex"]),c={};return r||(c=Object.assign({},b)),o&&(c.pointerEvents="none"),c=Object.assign(Object.assign({},c),n),l.createElement("div",Object.assign({role:"button",tabIndex:i,ref:t},a,{onKeyDown:e=>{let{keyCode:t}=e;t===m.Z.ENTER&&e.preventDefault()},onKeyUp:t=>{let{keyCode:n}=t,{onClick:l}=e;n===m.Z.ENTER&&l&&l()},style:c}))});var y=n(63346),h=n(61261),O=n(60205),x=n(42096),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},w=n(75651),j=l.forwardRef(function(e,t){return l.createElement(w.Z,(0,x.Z)({},e,{ref:t,icon:E}))}),S=n(55091),k=n(95677),$=n(27494),C=n(90102),Z=n(82650),R=n(72178);let H=(e,t,n,l)=>{let{titleMarginBottom:r,fontWeightStrong:o}=l;return{marginBottom:r,color:n,fontWeight:o,fontSize:e,lineHeight:t}},I=e=>{let t={};return[1,2,3,4,5].forEach(n=>{t[` - h${n}&, - div&-h${n}, - div&-h${n} > textarea, - h${n} - `]=H(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),t},T=e=>{let{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,$.N)(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},M=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:Z.EV[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),z=e=>{let{componentCls:t,paddingSM:n}=e;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(n).mul(-1).equal(),marginBottom:`calc(1em - ${(0,R.bf)(n)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},P=e=>({[`${e.componentCls}-copy-success`]:{[` - &, - &:hover, - &:focus`]:{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),B=()=>({[` - a&-ellipsis, - span&-ellipsis - `]:{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),D=e=>{let{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},[` - div&, - p - `]:{marginBottom:"1em"}},I(e)),{[` - & + h1${t}, - & + h2${t}, - & + h3${t}, - & + h4${t}, - & + h5${t} - `]:{marginTop:n},[` - div, - ul, - li, - p, - h1, - h2, - h3, - h4, - h5`]:{[` - + h1, - + h2, - + h3, - + h4, - + h5 - `]:{marginTop:n}}}),M(e)),T(e)),{[` - ${t}-expand, - ${t}-collapse, - ${t}-edit, - ${t}-copy - `]:Object.assign(Object.assign({},(0,$.N)(e)),{marginInlineStart:e.marginXXS})}),z(e)),P(e)),B()),{"&-rtl":{direction:"rtl"}})}};var N=(0,C.I$)("Typography",e=>[D(e)],()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),L=e=>{let{prefixCls:t,"aria-label":n,className:r,style:o,direction:a,maxLength:c,autoSize:s=!0,value:u,onSave:d,onCancel:p,onEnd:f,component:g,enterIcon:b=l.createElement(j,null)}=e,v=l.useRef(null),y=l.useRef(!1),h=l.useRef(),[O,x]=l.useState(u);l.useEffect(()=>{x(u)},[u]),l.useEffect(()=>{var e;if(null===(e=v.current)||void 0===e?void 0:e.resizableTextArea){let{textArea:e}=v.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let E=()=>{d(O.trim())},w=g?`${t}-${g}`:"",[$,C,Z]=N(t),R=i()(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===a},r,w,C,Z);return $(l.createElement("div",{className:R,style:o},l.createElement(k.Z,{ref:v,maxLength:c,value:O,onChange:e=>{let{target:t}=e;x(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;y.current||(h.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:n,altKey:l,metaKey:r,shiftKey:o}=e;h.current!==t||y.current||n||l||r||o||(t===m.Z.ENTER?(E(),null==f||f()):t===m.Z.ESC&&p())},onCompositionStart:()=>{y.current=!0},onCompositionEnd:()=>{y.current=!1},onBlur:()=>{E()},"aria-label":n,rows:1,autoSize:s}),null!==b?(0,S.Tm)(b,{className:`${t}-edit-content-confirm`}):null))},W=n(93486),A=n.n(W),F=n(81581),V=e=>{let{copyConfig:t,children:n}=e,[r,o]=l.useState(!1),[i,a]=l.useState(!1),c=l.useRef(null),s=()=>{c.current&&clearTimeout(c.current)},u={};t.format&&(u.format=t.format),l.useEffect(()=>s,[]);let d=(0,F.zX)(e=>{var l,r,i,d;return l=void 0,r=void 0,i=void 0,d=function*(){var l;null==e||e.preventDefault(),null==e||e.stopPropagation(),a(!0);try{let r="function"==typeof t.text?yield t.text():t.text;A()(r||String(n)||"",u),a(!1),o(!0),s(),c.current=setTimeout(()=>{o(!1)},3e3),null===(l=t.onCopy)||void 0===l||l.call(t,e)}catch(e){throw a(!1),e}},new(i||(i=Promise))(function(e,t){function n(e){try{a(d.next(e))}catch(e){t(e)}}function o(e){try{a(d.throw(e))}catch(e){t(e)}}function a(t){var l;t.done?e(t.value):((l=t.value)instanceof i?l:new i(function(e){e(l)})).then(n,o)}a((d=d.apply(l,r||[])).next())})});return{copied:r,copyLoading:i,onClick:d}};function _(e,t){return l.useMemo(()=>{let n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]},[e])}var q=e=>{let t=(0,l.useRef)();return(0,l.useEffect)(()=>{t.current=e}),t.current},X=(e,t)=>{let n=l.useRef(!1);l.useEffect(()=>{n.current?e():n.current=!0},t)},K=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let G=l.forwardRef((e,t)=>{let{prefixCls:n,component:r="article",className:o,rootClassName:a,setContentRef:c,children:s,direction:u,style:d}=e,f=K(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:m,direction:g,typography:b}=l.useContext(y.E_),v=t;c&&(v=(0,p.sQ)(t,c));let h=m("typography",n),[O,x,E]=N(h),w=i()(h,null==b?void 0:b.className,{[`${h}-rtl`]:"rtl"===(null!=u?u:g)},o,a,x,E),j=Object.assign(Object.assign({},null==b?void 0:b.style),d);return O(l.createElement(r,Object.assign({className:w,style:j,ref:v},f),s))});var Q=n(69274),U=n(67576),J=n(37022);function Y(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function ee(e,t,n){return!0===e||void 0===e?t:e||n&&t}var et=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:o,tooltips:a,icon:c,loading:s,tabIndex:u,onCopy:d}=e,p=Y(a),f=Y(c),{copied:m,copy:g}=null!=r?r:{},b=n?ee(p[1],m):ee(p[0],g),y=n?m:g;return l.createElement(O.Z,{key:"copy",title:b},l.createElement(v,{className:i()(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:o}),onClick:d,"aria-label":"string"==typeof b?b:y,tabIndex:u},n?ee(f[1],l.createElement(Q.Z,null),!0):ee(f[0],s?l.createElement(J.Z,null):l.createElement(U.Z,null),!0)))},en=n(72991);let el=l.forwardRef((e,t)=>{let{style:n,children:r}=e,o=l.useRef(null);return l.useImperativeHandle(t,()=>({isExceed:()=>{let e=o.current;return e.scrollHeight>e.clientHeight},getHeight:()=>o.current.clientHeight})),l.createElement("span",{"aria-hidden":!0,ref:o,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},r)});function er(e){let t=typeof e;return"string"===t||"number"===t}function eo(e,t){let n=0,l=[];for(let r=0;rt){let e=t-n;return l.push(String(o).slice(0,e)),l}l.push(o),n=c}return e}let ei={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function ea(e){let{enableMeasure:t,width:n,text:r,children:o,rows:i,expanded:a,miscDeps:u,onEllipsis:d}=e,p=l.useMemo(()=>(0,c.Z)(r),[r]),f=l.useMemo(()=>{let e;return e=0,p.forEach(t=>{er(t)?e+=String(t).length:e+=1}),e},[r]),m=l.useMemo(()=>o(p,!1),[r]),[g,b]=l.useState(null),v=l.useRef(null),y=l.useRef(null),h=l.useRef(null),O=l.useRef(null),x=l.useRef(null),[E,w]=l.useState(!1),[j,S]=l.useState(0),[k,$]=l.useState(0),[C,Z]=l.useState(null);(0,s.Z)(()=>{t&&n&&f?S(1):S(0)},[n,r,i,t,p]),(0,s.Z)(()=>{var e,t,n,l;if(1===j){S(2);let e=y.current&&getComputedStyle(y.current).whiteSpace;Z(e)}else if(2===j){let r=!!(null===(e=h.current)||void 0===e?void 0:e.isExceed());S(r?3:4),b(r?[0,f]:null),w(r);let o=(null===(t=h.current)||void 0===t?void 0:t.getHeight())||0,a=1===i?0:(null===(n=O.current)||void 0===n?void 0:n.getHeight())||0,c=(null===(l=x.current)||void 0===l?void 0:l.getHeight())||0,s=Math.max(o,a+c);$(s+1),d(r)}},[j]);let R=g?Math.ceil((g[0]+g[1])/2):0;(0,s.Z)(()=>{var e;let[t,n]=g||[0,0];if(t!==n){let l=(null===(e=v.current)||void 0===e?void 0:e.getHeight())||0,r=l>k,o=R;n-t==1&&(o=r?t:n),r?b([t,o]):b([o,n])}},[g,R]);let H=l.useMemo(()=>{if(3!==j||!g||g[0]!==g[1]){let e=o(p,!1);return 4!==j&&0!==j?l.createElement("span",{style:Object.assign(Object.assign({},ei),{WebkitLineClamp:i})},e):e}return o(a?p:eo(p,g[0]),E)},[a,j,g,p].concat((0,en.Z)(u))),I={width:n,margin:0,padding:0,whiteSpace:"nowrap"===C?"normal":"inherit"};return l.createElement(l.Fragment,null,H,2===j&&l.createElement(l.Fragment,null,l.createElement(el,{style:Object.assign(Object.assign(Object.assign({},I),ei),{WebkitLineClamp:i}),ref:h},m),l.createElement(el,{style:Object.assign(Object.assign(Object.assign({},I),ei),{WebkitLineClamp:i-1}),ref:O},m),l.createElement(el,{style:Object.assign(Object.assign(Object.assign({},I),ei),{WebkitLineClamp:1}),ref:x},o([],!0))),3===j&&g&&g[0]!==g[1]&&l.createElement(el,{style:Object.assign(Object.assign({},I),{top:400}),ref:v},o(eo(p,R),!0)),1===j&&l.createElement("span",{style:{whiteSpace:"inherit"},ref:y}))}var ec=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:o}=e;return(null==o?void 0:o.title)&&t?l.createElement(O.Z,Object.assign({open:!!n&&void 0},o),r):r},es=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let eu=l.forwardRef((e,t)=>{var n,o,m;let{prefixCls:g,className:b,style:x,type:E,disabled:w,children:j,ellipsis:S,editable:k,copyable:$,component:C,title:Z}=e,R=es(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:H,direction:I}=l.useContext(y.E_),[T]=(0,h.Z)("Text"),M=l.useRef(null),z=l.useRef(null),P=H("typography",g),B=(0,d.Z)(R,["mark","code","delete","underline","strong","keyboard","italic"]),[D,N]=_(k),[W,A]=(0,u.Z)(!1,{value:N.editing}),{triggerType:F=["icon"]}=N,K=e=>{var t;e&&(null===(t=N.onStart)||void 0===t||t.call(N)),A(e)},Q=q(W);X(()=>{var e;!W&&Q&&(null===(e=z.current)||void 0===e||e.focus())},[W]);let U=e=>{null==e||e.preventDefault(),K(!0)},[J,Y]=_($),{copied:ee,copyLoading:en,onClick:el}=V({copyConfig:Y,children:j}),[er,eo]=l.useState(!1),[ei,eu]=l.useState(!1),[ed,ep]=l.useState(!1),[ef,em]=l.useState(!1),[eg,eb]=l.useState(!0),[ev,ey]=_(S,{expandable:!1,symbol:e=>e?null==T?void 0:T.collapse:null==T?void 0:T.expand}),[eh,eO]=(0,u.Z)(ey.defaultExpanded||!1,{value:ey.expanded}),ex=ev&&(!eh||"collapsible"===ey.expandable),{rows:eE=1}=ey,ew=l.useMemo(()=>ex&&(void 0!==ey.suffix||ey.onEllipsis||ey.expandable||D||J),[ex,ey,D,J]);(0,s.Z)(()=>{ev&&!ew&&(eo((0,f.G)("webkitLineClamp")),eu((0,f.G)("textOverflow")))},[ew,ev]);let[ej,eS]=l.useState(ex),ek=l.useMemo(()=>!ew&&(1===eE?ei:er),[ew,ei,er]);(0,s.Z)(()=>{eS(ek&&ex)},[ek,ex]);let e$=ex&&(ej?ef:ed),eC=ex&&1===eE&&ej,eZ=ex&&eE>1&&ej,eR=(e,t)=>{var n;eO(t.expanded),null===(n=ey.onExpand)||void 0===n||n.call(ey,e,t)},[eH,eI]=l.useState(0),eT=e=>{var t;ep(e),ed!==e&&(null===(t=ey.onEllipsis)||void 0===t||t.call(ey,e))};l.useEffect(()=>{let e=M.current;if(ev&&ej&&e){let[t,n]=function(e){let t=e.getBoundingClientRect(),{offsetWidth:n,offsetHeight:l}=e,r=n,o=l;return 1>Math.abs(n-t.width)&&1>Math.abs(l-t.height)&&(r=t.width,o=t.height),[r,o]}(e),l=eZ?n{let e=M.current;if("undefined"==typeof IntersectionObserver||!e||!ej||!ex)return;let t=new IntersectionObserver(()=>{eb(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[ej,ex]);let eM={};eM=!0===ey.tooltip?{title:null!==(n=N.text)&&void 0!==n?n:j}:l.isValidElement(ey.tooltip)?{title:ey.tooltip}:"object"==typeof ey.tooltip?Object.assign({title:null!==(o=N.text)&&void 0!==o?o:j},ey.tooltip):{title:ey.tooltip};let ez=l.useMemo(()=>{let e=e=>["string","number"].includes(typeof e);return!ev||ej?void 0:e(N.text)?N.text:e(j)?j:e(Z)?Z:e(eM.title)?eM.title:void 0},[ev,ej,Z,eM.title,e$]);if(W)return l.createElement(L,{value:null!==(m=N.text)&&void 0!==m?m:"string"==typeof j?j:"",onSave:e=>{var t;null===(t=N.onChange)||void 0===t||t.call(N,e),K(!1)},onCancel:()=>{var e;null===(e=N.onCancel)||void 0===e||e.call(N),K(!1)},onEnd:N.onEnd,prefixCls:P,className:b,style:x,direction:I,component:C,maxLength:N.maxLength,autoSize:N.autoSize,enterIcon:N.enterIcon});let eP=()=>{let{expandable:e,symbol:t}=ey;return!e||eh&&"collapsible"!==e?null:l.createElement(v,{key:"expand",className:`${P}-${eh?"collapse":"expand"}`,onClick:e=>eR(e,{expanded:!eh}),"aria-label":eh?T.collapse:null==T?void 0:T.expand},"function"==typeof t?t(eh):t)},eB=()=>{if(!D)return;let{icon:e,tooltip:t,tabIndex:n}=N,o=(0,c.Z)(t)[0]||(null==T?void 0:T.edit);return F.includes("icon")?l.createElement(O.Z,{key:"edit",title:!1===t?"":o},l.createElement(v,{ref:z,className:`${P}-edit`,onClick:U,"aria-label":"string"==typeof o?o:"",tabIndex:n},e||l.createElement(r.Z,{role:"button"}))):null},eD=()=>J?l.createElement(et,Object.assign({key:"copy"},Y,{prefixCls:P,copied:ee,locale:T,onCopy:el,loading:en,iconOnly:null==j})):null,eN=e=>[e&&eP(),eB(),eD()],eL=e=>[e&&!eh&&l.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),ey.suffix,eN(e)];return l.createElement(a.Z,{onResize:e=>{let{offsetWidth:t}=e;eI(t)},disabled:!ex},n=>l.createElement(ec,{tooltipProps:eM,enableEllipsis:ex,isEllipsis:e$},l.createElement(G,Object.assign({className:i()({[`${P}-${E}`]:E,[`${P}-disabled`]:w,[`${P}-ellipsis`]:ev,[`${P}-ellipsis-single-line`]:eC,[`${P}-ellipsis-multiple-line`]:eZ},b),prefixCls:g,style:Object.assign(Object.assign({},x),{WebkitLineClamp:eZ?eE:void 0}),component:C,ref:(0,p.sQ)(n,M,t),direction:I,onClick:F.includes("text")?U:void 0,"aria-label":null==ez?void 0:ez.toString(),title:Z},B),l.createElement(ea,{enableMeasure:ex&&!ej,text:j,rows:eE,width:eH,onEllipsis:eT,expanded:eh,miscDeps:[ee,eh,en,D,J]},(t,n)=>(function(e,t){let{mark:n,code:r,underline:o,delete:i,strong:a,keyboard:c,italic:s}=e,u=t;function d(e,t){t&&(u=l.createElement(e,{},u))}return d("strong",a),d("u",o),d("del",i),d("code",r),d("mark",n),d("kbd",c),d("i",s),u})(e,l.createElement(l.Fragment,null,t.length>0&&n&&!eh&&ez?l.createElement("span",{key:"show-content","aria-hidden":!0},t):t,eL(n)))))))});var ed=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let ep=l.forwardRef((e,t)=>{var{ellipsis:n,rel:r}=e,o=ed(e,["ellipsis","rel"]);let i=Object.assign(Object.assign({},o),{rel:void 0===r&&"_blank"===o.target?"noopener noreferrer":r});return delete i.navigate,l.createElement(eu,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),ef=l.forwardRef((e,t)=>l.createElement(eu,Object.assign({ref:t},e,{component:"div"})));var em=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n},eg=l.forwardRef((e,t)=>{var{ellipsis:n}=e,r=em(e,["ellipsis"]);let o=l.useMemo(()=>n&&"object"==typeof n?(0,d.Z)(n,["expandable","rows"]):n,[n]);return l.createElement(eu,Object.assign({ref:t},r,{ellipsis:o,component:"span"}))}),eb=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let ev=[1,2,3,4,5],ey=l.forwardRef((e,t)=>{let n;let{level:r=1}=e,o=eb(e,["level"]);return n=ev.includes(r)?`h${r}`:"h1",l.createElement(eu,Object.assign({ref:t},o,{component:n}))});G.Text=eg,G.Link=ep,G.Title=ey,G.Paragraph=ef;var eh=G},94280:function(e,t,n){n.d(t,{G:function(){return i}});var l=n(18943),r=function(e){if((0,l.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},o=function(e,t){if(!r(e))return!1;var n=document.createElement("div"),l=n.style[e];return n.style[e]=t,n.style[e]!==l};function i(e,t){return Array.isArray(e)||void 0===t?r(e):o(e,t)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1841-e9725fdafab55916.js b/dbgpt/app/static/web/_next/static/chunks/1841-e9725fdafab55916.js new file mode 100644 index 000000000..15fa0a1b4 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1841-e9725fdafab55916.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1841],{86617:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(42096),l=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},o=n(55032),s=l.forwardRef(function(e,t){return l.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},32982:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(42096),l=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},o=n(55032),s=l.forwardRef(function(e,t){return l.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},29766:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(42096),l=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},o=n(55032),s=l.forwardRef(function(e,t){return l.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},71841:function(e,t,n){n.d(t,{default:function(){return q}});var r=n(38497),l=n(26869),a=n.n(l),o=n(63346),s=n(13859),i=n(44589),u=n(47772),c=n(72991),p=n(81581),f=n(66168),d=n(40690),v=n(95227),m=n(82014),g=n(90102),b=n(74934),y=n(2835);let O=e=>{let{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}};var C=(0,g.I$)(["Input","OTP"],e=>{let t=(0,b.IX)(e,(0,y.e)(e));return[O(t)]},y.T),h=n(25043),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let E=r.forwardRef((e,t)=>{let{value:n,onChange:l,onActiveChange:a,index:o,mask:s}=e,i=x(e,["value","onChange","onActiveChange","index","mask"]),c=r.useRef(null);r.useImperativeHandle(t,()=>c.current);let p=()=>{(0,h.Z)(()=>{var e;let t=null===(e=c.current)||void 0===e?void 0:e.input;document.activeElement===t&&t&&t.select()})};return r.createElement(u.Z,Object.assign({},i,{ref:c,value:n&&"string"==typeof s?s:n,onInput:e=>{l(o,e.target.value)},onFocus:p,onKeyDown:e=>{let{key:t}=e;"ArrowLeft"===t?a(o-1):"ArrowRight"===t&&a(o+1),p()},onKeyUp:e=>{"Backspace"!==e.key||n||a(o-1),p()},onMouseDown:p,onMouseUp:p,type:!0===s?"password":"text"}))});var w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};function j(e){return(e||"").split("")}let Z=r.forwardRef((e,t)=>{let{prefixCls:n,length:l=6,size:i,defaultValue:u,value:g,onChange:b,formatter:y,variant:O,disabled:h,status:x,autoFocus:Z,mask:z}=e,M=w(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask"]),{getPrefixCls:P,direction:$}=r.useContext(o.E_),k=P("otp",n),S=(0,f.Z)(M,{aria:!0,data:!0,attr:!0}),I=(0,v.Z)(k),[R,N,A]=C(k,I),_=(0,m.Z)(e=>null!=i?i:e),B=r.useContext(s.aM),L=(0,d.F)(B.status,x),T=r.useMemo(()=>Object.assign(Object.assign({},B),{status:L,hasFeedback:!1,feedbackIcon:null}),[B,L]),F=r.useRef(null),X=r.useRef({});r.useImperativeHandle(t,()=>({focus:()=>{var e;null===(e=X.current[0])||void 0===e||e.focus()},blur:()=>{var e;for(let t=0;ty?y(e):e,[q,Q]=r.useState(j(D(u||"")));r.useEffect(()=>{void 0!==g&&Q(j(g))},[g]);let U=(0,p.zX)(e=>{Q(e),b&&e.length===l&&e.every(e=>e)&&e.some((e,t)=>q[t]!==e)&&b(e.join(""))}),V=(0,p.zX)((e,t)=>{let n=(0,c.Z)(q);for(let t=0;t=0&&!n[e];e-=1)n.pop();let r=D(n.map(e=>e||" ").join(""));return n=j(r).map((e,t)=>" "!==e||n[t]?e:n[t])}),G=(e,t)=>{var n;let r=V(e,t),a=Math.min(e+t.length,l-1);a!==e&&(null===(n=X.current[a])||void 0===n||n.focus()),U(r)},H=e=>{var t;null===(t=X.current[e])||void 0===t||t.focus()},K={variant:O,disabled:h,status:L,mask:z};return R(r.createElement("div",Object.assign({},S,{ref:F,className:a()(k,{[`${k}-sm`]:"small"===_,[`${k}-lg`]:"large"===_,[`${k}-rtl`]:"rtl"===$},A,N)}),r.createElement(s.aM.Provider,{value:T},Array.from({length:l}).map((e,t)=>{let n=`otp-${t}`,l=q[t]||"";return r.createElement(E,Object.assign({ref:e=>{X.current[t]=e},key:n,index:t,size:_,htmlSize:1,className:`${k}-input`,onChange:G,value:l,onActiveChange:H,autoFocus:0===t&&Z},K))}))))});var z=n(86617),M=n(32982),P=n(55598),$=n(7544),k=n(49428),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let I=e=>e?r.createElement(M.Z,null):r.createElement(z.Z,null),R={click:"onClick",hover:"onMouseOver"},N=r.forwardRef((e,t)=>{let{disabled:n,action:l="click",visibilityToggle:s=!0,iconRender:i=I}=e,c="object"==typeof s&&void 0!==s.visible,[p,f]=(0,r.useState)(()=>!!c&&s.visible),d=(0,r.useRef)(null);r.useEffect(()=>{c&&f(s.visible)},[c,s]);let v=(0,k.Z)(d),m=()=>{n||(p&&v(),f(e=>{var t;let n=!e;return"object"==typeof s&&(null===(t=s.onVisibleChange)||void 0===t||t.call(s,n)),n}))},{className:g,prefixCls:b,inputPrefixCls:y,size:O}=e,C=S(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:h}=r.useContext(o.E_),x=h("input",y),E=h("input-password",b),w=s&&(e=>{let t=R[l]||"",n=i(p),a={[t]:m,className:`${e}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return r.cloneElement(r.isValidElement(n)?n:r.createElement("span",null,n),a)})(E),j=a()(E,g,{[`${E}-${O}`]:!!O}),Z=Object.assign(Object.assign({},(0,P.Z)(C,["suffix","iconRender","visibilityToggle"])),{type:p?"text":"password",className:j,prefixCls:x,suffix:w});return O&&(Z.size=O),r.createElement(u.Z,Object.assign({ref:(0,$.sQ)(t,d)},Z))});var A=n(29766),_=n(55091),B=n(27691),L=n(80214),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let F=r.forwardRef((e,t)=>{let n;let{prefixCls:l,inputPrefixCls:s,className:i,size:c,suffix:p,enterButton:f=!1,addonAfter:d,loading:v,disabled:g,onSearch:b,onChange:y,onCompositionStart:O,onCompositionEnd:C}=e,h=T(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:x,direction:E}=r.useContext(o.E_),w=r.useRef(!1),j=x("input-search",l),Z=x("input",s),{compactSize:z}=(0,L.ri)(j,E),M=(0,m.Z)(e=>{var t;return null!==(t=null!=c?c:z)&&void 0!==t?t:e}),P=r.useRef(null),k=e=>{var t;document.activeElement===(null===(t=P.current)||void 0===t?void 0:t.input)&&e.preventDefault()},S=e=>{var t,n;b&&b(null===(n=null===(t=P.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e,{source:"input"})},I="boolean"==typeof f?r.createElement(A.Z,null):null,R=`${j}-button`,N=f||{},F=N.type&&!0===N.type.__ANT_BUTTON;n=F||"button"===N.type?(0,_.Tm)(N,Object.assign({onMouseDown:k,onClick:e=>{var t,n;null===(n=null===(t=null==N?void 0:N.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),S(e)},key:"enterButton"},F?{className:R,size:M}:{})):r.createElement(B.ZP,{className:R,type:f?"primary":void 0,size:M,disabled:g,key:"enterButton",onMouseDown:k,onClick:S,loading:v,icon:I},f),d&&(n=[n,(0,_.Tm)(d,{key:"addonAfter"})]);let X=a()(j,{[`${j}-rtl`]:"rtl"===E,[`${j}-${M}`]:!!M,[`${j}-with-button`]:!!f},i);return r.createElement(u.Z,Object.assign({ref:(0,$.sQ)(P,t),onPressEnter:e=>{w.current||v||S(e)}},h,{size:M,onCompositionStart:e=>{w.current=!0,null==O||O(e)},onCompositionEnd:e=>{w.current=!1,null==C||C(e)},prefixCls:Z,addonAfter:n,suffix:p,onChange:e=>{(null==e?void 0:e.target)&&"click"===e.type&&b&&b(e.target.value,e,{source:"clear"}),null==y||y(e)},className:X,disabled:g}))});var X=n(95677);let D=u.Z;D.Group=e=>{let{getPrefixCls:t,direction:n}=(0,r.useContext)(o.E_),{prefixCls:l,className:u}=e,c=t("input-group",l),p=t("input"),[f,d]=(0,i.ZP)(p),v=a()(c,{[`${c}-lg`]:"large"===e.size,[`${c}-sm`]:"small"===e.size,[`${c}-compact`]:e.compact,[`${c}-rtl`]:"rtl"===n},d,u),m=(0,r.useContext)(s.aM),g=(0,r.useMemo)(()=>Object.assign(Object.assign({},m),{isFormItemInput:!1}),[m]);return f(r.createElement("span",{className:v,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},r.createElement(s.aM.Provider,{value:g},e.children)))},D.Search=F,D.TextArea=X.Z,D.Password=N,D.OTP=Z;var q=D}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1999-d550324542fcafac.js b/dbgpt/app/static/web/_next/static/chunks/1999-d550324542fcafac.js deleted file mode 100644 index 25965bcdf..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/1999-d550324542fcafac.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1999],{32982:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(42096),l=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},o=n(75651),s=l.forwardRef(function(e,t){return l.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},29766:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(42096),l=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},o=n(75651),s=l.forwardRef(function(e,t){return l.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},41999:function(e,t,n){n.d(t,{default:function(){return V}});var r=n(38497),l=n(26869),a=n.n(l),o=n(63346),s=n(13859),i=n(44589),u=n(47772),c=n(72991),p=n(81581),f=n(66168),d=n(40690),v=n(95227),m=n(82014),g=n(90102),b=n(74934),y=n(2835);let O=e=>{let{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}};var C=(0,g.I$)(["Input","OTP"],e=>{let t=(0,b.IX)(e,(0,y.e)(e));return[O(t)]},y.T),h=n(25043),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let E=r.forwardRef((e,t)=>{let{value:n,onChange:l,onActiveChange:a,index:o,mask:s}=e,i=x(e,["value","onChange","onActiveChange","index","mask"]),c=r.useRef(null);r.useImperativeHandle(t,()=>c.current);let p=()=>{(0,h.Z)(()=>{var e;let t=null===(e=c.current)||void 0===e?void 0:e.input;document.activeElement===t&&t&&t.select()})};return r.createElement(u.Z,Object.assign({},i,{ref:c,value:n&&"string"==typeof s?s:n,onInput:e=>{l(o,e.target.value)},onFocus:p,onKeyDown:e=>{let{key:t}=e;"ArrowLeft"===t?a(o-1):"ArrowRight"===t&&a(o+1),p()},onKeyUp:e=>{"Backspace"!==e.key||n||a(o-1),p()},onMouseDown:p,onMouseUp:p,type:!0===s?"password":"text"}))});var w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};function j(e){return(e||"").split("")}let z=r.forwardRef((e,t)=>{let{prefixCls:n,length:l=6,size:i,defaultValue:u,value:g,onChange:b,formatter:y,variant:O,disabled:h,status:x,autoFocus:z,mask:Z}=e,M=w(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask"]),{getPrefixCls:P,direction:$}=r.useContext(o.E_),k=P("otp",n),S=(0,f.Z)(M,{aria:!0,data:!0,attr:!0}),I=(0,v.Z)(k),[R,N,A]=C(k,I),_=(0,m.Z)(e=>null!=i?i:e),B=r.useContext(s.aM),L=(0,d.F)(B.status,x),T=r.useMemo(()=>Object.assign(Object.assign({},B),{status:L,hasFeedback:!1,feedbackIcon:null}),[B,L]),F=r.useRef(null),X=r.useRef({});r.useImperativeHandle(t,()=>({focus:()=>{var e;null===(e=X.current[0])||void 0===e||e.focus()},blur:()=>{var e;for(let t=0;ty?y(e):e,[q,Q]=r.useState(j(D(u||"")));r.useEffect(()=>{void 0!==g&&Q(j(g))},[g]);let U=(0,p.zX)(e=>{Q(e),b&&e.length===l&&e.every(e=>e)&&e.some((e,t)=>q[t]!==e)&&b(e.join(""))}),V=(0,p.zX)((e,t)=>{let n=(0,c.Z)(q);for(let t=0;t=0&&!n[e];e-=1)n.pop();let r=D(n.map(e=>e||" ").join(""));return n=j(r).map((e,t)=>" "!==e||n[t]?e:n[t])}),G=(e,t)=>{var n;let r=V(e,t),a=Math.min(e+t.length,l-1);a!==e&&(null===(n=X.current[a])||void 0===n||n.focus()),U(r)},H=e=>{var t;null===(t=X.current[e])||void 0===t||t.focus()},K={variant:O,disabled:h,status:L,mask:Z};return R(r.createElement("div",Object.assign({},S,{ref:F,className:a()(k,{[`${k}-sm`]:"small"===_,[`${k}-lg`]:"large"===_,[`${k}-rtl`]:"rtl"===$},A,N)}),r.createElement(s.aM.Provider,{value:T},Array.from({length:l}).map((e,t)=>{let n=`otp-${t}`,l=q[t]||"";return r.createElement(E,Object.assign({ref:e=>{X.current[t]=e},key:n,index:t,size:_,htmlSize:1,className:`${k}-input`,onChange:G,value:l,onActiveChange:H,autoFocus:0===t&&z},K))}))))});var Z=n(42096),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},P=n(75651),$=r.forwardRef(function(e,t){return r.createElement(P.Z,(0,Z.Z)({},e,{ref:t,icon:M}))}),k=n(32982),S=n(55598),I=n(7544),R=n(49428),N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let A=e=>e?r.createElement(k.Z,null):r.createElement($,null),_={click:"onClick",hover:"onMouseOver"},B=r.forwardRef((e,t)=>{let{disabled:n,action:l="click",visibilityToggle:s=!0,iconRender:i=A}=e,c="object"==typeof s&&void 0!==s.visible,[p,f]=(0,r.useState)(()=>!!c&&s.visible),d=(0,r.useRef)(null);r.useEffect(()=>{c&&f(s.visible)},[c,s]);let v=(0,R.Z)(d),m=()=>{n||(p&&v(),f(e=>{var t;let n=!e;return"object"==typeof s&&(null===(t=s.onVisibleChange)||void 0===t||t.call(s,n)),n}))},{className:g,prefixCls:b,inputPrefixCls:y,size:O}=e,C=N(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:h}=r.useContext(o.E_),x=h("input",y),E=h("input-password",b),w=s&&(e=>{let t=_[l]||"",n=i(p),a={[t]:m,className:`${e}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return r.cloneElement(r.isValidElement(n)?n:r.createElement("span",null,n),a)})(E),j=a()(E,g,{[`${E}-${O}`]:!!O}),z=Object.assign(Object.assign({},(0,S.Z)(C,["suffix","iconRender","visibilityToggle"])),{type:p?"text":"password",className:j,prefixCls:x,suffix:w});return O&&(z.size=O),r.createElement(u.Z,Object.assign({ref:(0,I.sQ)(t,d)},z))});var L=n(29766),T=n(55091),F=n(27691),X=n(80214),D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let q=r.forwardRef((e,t)=>{let n;let{prefixCls:l,inputPrefixCls:s,className:i,size:c,suffix:p,enterButton:f=!1,addonAfter:d,loading:v,disabled:g,onSearch:b,onChange:y,onCompositionStart:O,onCompositionEnd:C}=e,h=D(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:x,direction:E}=r.useContext(o.E_),w=r.useRef(!1),j=x("input-search",l),z=x("input",s),{compactSize:Z}=(0,X.ri)(j,E),M=(0,m.Z)(e=>{var t;return null!==(t=null!=c?c:Z)&&void 0!==t?t:e}),P=r.useRef(null),$=e=>{var t;document.activeElement===(null===(t=P.current)||void 0===t?void 0:t.input)&&e.preventDefault()},k=e=>{var t,n;b&&b(null===(n=null===(t=P.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e,{source:"input"})},S="boolean"==typeof f?r.createElement(L.Z,null):null,R=`${j}-button`,N=f||{},A=N.type&&!0===N.type.__ANT_BUTTON;n=A||"button"===N.type?(0,T.Tm)(N,Object.assign({onMouseDown:$,onClick:e=>{var t,n;null===(n=null===(t=null==N?void 0:N.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),k(e)},key:"enterButton"},A?{className:R,size:M}:{})):r.createElement(F.ZP,{className:R,type:f?"primary":void 0,size:M,disabled:g,key:"enterButton",onMouseDown:$,onClick:k,loading:v,icon:S},f),d&&(n=[n,(0,T.Tm)(d,{key:"addonAfter"})]);let _=a()(j,{[`${j}-rtl`]:"rtl"===E,[`${j}-${M}`]:!!M,[`${j}-with-button`]:!!f},i);return r.createElement(u.Z,Object.assign({ref:(0,I.sQ)(P,t),onPressEnter:e=>{w.current||v||k(e)}},h,{size:M,onCompositionStart:e=>{w.current=!0,null==O||O(e)},onCompositionEnd:e=>{w.current=!1,null==C||C(e)},prefixCls:z,addonAfter:n,suffix:p,onChange:e=>{(null==e?void 0:e.target)&&"click"===e.type&&b&&b(e.target.value,e,{source:"clear"}),null==y||y(e)},className:_,disabled:g}))});var Q=n(95677);let U=u.Z;U.Group=e=>{let{getPrefixCls:t,direction:n}=(0,r.useContext)(o.E_),{prefixCls:l,className:u}=e,c=t("input-group",l),p=t("input"),[f,d]=(0,i.ZP)(p),v=a()(c,{[`${c}-lg`]:"large"===e.size,[`${c}-sm`]:"small"===e.size,[`${c}-compact`]:e.compact,[`${c}-rtl`]:"rtl"===n},d,u),m=(0,r.useContext)(s.aM),g=(0,r.useMemo)(()=>Object.assign(Object.assign({},m),{isFormItemInput:!1}),[m]);return f(r.createElement("span",{className:v,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},r.createElement(s.aM.Provider,{value:g},e.children)))},U.Search=q,U.TextArea=Q.Z,U.Password=B,U.OTP=z;var V=U}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2003-fe223a38faa8227d.js b/dbgpt/app/static/web/_next/static/chunks/2003-98e45191838072b7.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/2003-fe223a38faa8227d.js rename to dbgpt/app/static/web/_next/static/chunks/2003-98e45191838072b7.js index 90bee000e..3021dccbf 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2003-fe223a38faa8227d.js +++ b/dbgpt/app/static/web/_next/static/chunks/2003-98e45191838072b7.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2003],{57723:function(e,n,t){t.d(n,{Qt:function(){return s},Uw:function(){return o},fJ:function(){return a},ly:function(){return l},oN:function(){return p}});var r=t(72178),i=t(60234);let a=new r.E4("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),o=new r.E4("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),s=new r.E4("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),l=new r.E4("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),c=new r.E4("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),u=new r.E4("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),f=new r.E4("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),m=new r.E4("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),d={"slide-up":{inKeyframes:a,outKeyframes:o},"slide-down":{inKeyframes:s,outKeyframes:l},"slide-left":{inKeyframes:c,outKeyframes:u},"slide-right":{inKeyframes:f,outKeyframes:m}},p=(e,n)=>{let{antCls:t}=e,r=`${t}-${n}`,{inKeyframes:a,outKeyframes:o}=d[n];return[(0,i.R)(r,a,o,e.motionDurationMid),{[` +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2003],{57723:function(e,n,t){t.d(n,{Qt:function(){return s},Uw:function(){return o},fJ:function(){return a},ly:function(){return l},oN:function(){return p}});var r=t(38083),i=t(60234);let a=new r.E4("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),o=new r.E4("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),s=new r.E4("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),l=new r.E4("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),c=new r.E4("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),u=new r.E4("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),f=new r.E4("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),m=new r.E4("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),d={"slide-up":{inKeyframes:a,outKeyframes:o},"slide-down":{inKeyframes:s,outKeyframes:l},"slide-left":{inKeyframes:c,outKeyframes:u},"slide-right":{inKeyframes:f,outKeyframes:m}},p=(e,n)=>{let{antCls:t}=e,r=`${t}-${n}`,{inKeyframes:a,outKeyframes:o}=d[n];return[(0,i.R)(r,a,o,e.motionDurationMid),{[` ${r}-enter, ${r}-appear `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},66979:function(e,n,t){t.d(n,{Z:function(){return K}});var r=t(42096),i=t(4247),a=t(65347),o=t(10921),s=t(38497),l=t(26869),c=t.n(l),u=t(31617),f=t(46644),m=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],d=void 0,p=s.forwardRef(function(e,n){var t,a=e.prefixCls,l=e.invalidate,f=e.item,p=e.renderItem,v=e.responsive,y=e.responsiveDisabled,g=e.registerSize,E=e.itemKey,h=e.className,Z=e.style,w=e.children,N=e.display,O=e.order,b=e.component,S=void 0===b?"div":b,R=(0,o.Z)(e,m),I=v&&!N;s.useEffect(function(){return function(){g(E,null)}},[]);var C=p&&f!==d?p(f):w;l||(t={opacity:I?0:1,height:I?0:d,overflowY:I?"hidden":d,order:v?O:d,pointerEvents:I?"none":d,position:I?"absolute":d});var K={};I&&(K["aria-hidden"]=!0);var x=s.createElement(S,(0,r.Z)({className:c()(!l&&a,h),style:(0,i.Z)((0,i.Z)({},t),Z)},K,R,{ref:n}),C);return v&&(x=s.createElement(u.Z,{onResize:function(e){g(E,e.offsetWidth)},disabled:y},x)),x});p.displayName="Item";var v=t(80988),y=t(2060),g=t(25043);function E(e,n){var t=s.useState(n),r=(0,a.Z)(t,2),i=r[0],o=r[1];return[i,(0,v.Z)(function(n){e(function(){o(n)})})]}var h=s.createContext(null),Z=["component"],w=["className"],N=["className"],O=s.forwardRef(function(e,n){var t=s.useContext(h);if(!t){var i=e.component,a=void 0===i?"div":i,l=(0,o.Z)(e,Z);return s.createElement(a,(0,r.Z)({},l,{ref:n}))}var u=t.className,f=(0,o.Z)(t,w),m=e.className,d=(0,o.Z)(e,N);return s.createElement(h.Provider,{value:null},s.createElement(p,(0,r.Z)({ref:n,className:c()(u,m)},f,d)))});O.displayName="RawItem";var b=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],S="responsive",R="invalidate";function I(e){return"+ ".concat(e.length," ...")}var C=s.forwardRef(function(e,n){var t,l,m=e.prefixCls,d=void 0===m?"rc-overflow":m,v=e.data,Z=void 0===v?[]:v,w=e.renderItem,N=e.renderRawItem,O=e.itemKey,C=e.itemWidth,K=void 0===C?10:C,x=e.ssr,M=e.style,k=e.className,X=e.maxCount,Y=e.renderRest,_=e.renderRawRest,z=e.suffix,D=e.component,A=void 0===D?"div":D,T=e.itemComponent,$=e.onVisibleChange,F=(0,o.Z)(e,b),P="full"===x,U=(t=s.useRef(null),function(e){t.current||(t.current=[],function(e){if("undefined"==typeof MessageChannel)(0,g.Z)(e);else{var n=new MessageChannel;n.port1.onmessage=function(){return e()},n.port2.postMessage(void 0)}}(function(){(0,y.unstable_batchedUpdates)(function(){t.current.forEach(function(e){e()}),t.current=null})})),t.current.push(e)}),V=E(U,null),W=(0,a.Z)(V,2),L=W[0],Q=W[1],G=L||0,J=E(U,new Map),j=(0,a.Z)(J,2),q=j[0],B=j[1],H=E(U,0),ee=(0,a.Z)(H,2),en=ee[0],et=ee[1],er=E(U,0),ei=(0,a.Z)(er,2),ea=ei[0],eo=ei[1],es=E(U,0),el=(0,a.Z)(es,2),ec=el[0],eu=el[1],ef=(0,s.useState)(null),em=(0,a.Z)(ef,2),ed=em[0],ep=em[1],ev=(0,s.useState)(null),ey=(0,a.Z)(ev,2),eg=ey[0],eE=ey[1],eh=s.useMemo(function(){return null===eg&&P?Number.MAX_SAFE_INTEGER:eg||0},[eg,L]),eZ=(0,s.useState)(!1),ew=(0,a.Z)(eZ,2),eN=ew[0],eO=ew[1],eb="".concat(d,"-item"),eS=Math.max(en,ea),eR=X===S,eI=Z.length&&eR,eC=X===R,eK=eI||"number"==typeof X&&Z.length>X,ex=(0,s.useMemo)(function(){var e=Z;return eI?e=null===L&&P?Z:Z.slice(0,Math.min(Z.length,G/K)):"number"==typeof X&&(e=Z.slice(0,X)),e},[Z,K,L,X,eI]),eM=(0,s.useMemo)(function(){return eI?Z.slice(eh+1):Z.slice(ex.length)},[Z,ex,eI,eh]),ek=(0,s.useCallback)(function(e,n){var t;return"function"==typeof O?O(e):null!==(t=O&&(null==e?void 0:e[O]))&&void 0!==t?t:n},[O]),eX=(0,s.useCallback)(w||function(e){return e},[w]);function eY(e,n,t){(eg!==e||void 0!==n&&n!==ed)&&(eE(e),t||(eO(eG){eY(r-1,e-i-ec+ea);break}}z&&ez(0)+ec>G&&ep(null)}},[G,q,ea,ec,ek,ex]);var eD=eN&&!!eM.length,eA={};null!==ed&&eI&&(eA={position:"absolute",left:ed,top:0});var eT={prefixCls:eb,responsive:eI,component:T,invalidate:eC},e$=N?function(e,n){var t=ek(e,n);return s.createElement(h.Provider,{key:t,value:(0,i.Z)((0,i.Z)({},eT),{},{order:n,item:e,itemKey:t,registerSize:e_,display:n<=eh})},N(e,n))}:function(e,n){var t=ek(e,n);return s.createElement(p,(0,r.Z)({},eT,{order:n,key:t,item:e,renderItem:eX,itemKey:t,registerSize:e_,display:n<=eh}))},eF={order:eD?eh:Number.MAX_SAFE_INTEGER,className:"".concat(eb,"-rest"),registerSize:function(e,n){eo(n),et(ea)},display:eD};if(_)_&&(l=s.createElement(h.Provider,{value:(0,i.Z)((0,i.Z)({},eT),eF)},_(eM)));else{var eP=Y||I;l=s.createElement(p,(0,r.Z)({},eT,eF),"function"==typeof eP?eP(eM):eP)}var eU=s.createElement(A,(0,r.Z)({className:c()(!eC&&d,k),style:M,ref:n},F),ex.map(e$),eK?l:null,z&&s.createElement(p,(0,r.Z)({},eT,{responsive:eR,responsiveDisabled:!eI,order:eh,className:"".concat(eb,"-suffix"),registerSize:function(e,n){eu(n)},display:!0,style:eA}),z));return eR&&(eU=s.createElement(u.Z,{onResize:function(e,n){Q(n.clientWidth)},disabled:!eI},eU)),eU});C.displayName="Overflow",C.Item=O,C.RESPONSIVE=S,C.INVALIDATE=R;var K=C}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2022-901822d4d5f20d61.js b/dbgpt/app/static/web/_next/static/chunks/2022-901822d4d5f20d61.js new file mode 100644 index 000000000..9bcbacf28 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/2022-901822d4d5f20d61.js @@ -0,0 +1,3 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2022],{86947:function(){},55945:function(e,t,r){"use strict";r.d(t,{Z:function(){return tv}});var n,i,s,o,l={};r.r(l),r.d(l,{decode:function(){return f},encode:function(){return m},format:function(){return g},parse:function(){return S}});var u={};r.r(u),r.d(u,{Any:function(){return I},Cc:function(){return M},Cf:function(){return q},P:function(){return B},S:function(){return L},Z:function(){return T}});var a={};r.r(a),r.d(a,{arrayReplaceAt:function(){return N},assign:function(){return Z},escapeHtml:function(){return et},escapeRE:function(){return en},fromCodePoint:function(){return V},has:function(){return $},isMdAsciiPunct:function(){return el},isPunctChar:function(){return eo},isSpace:function(){return ei},isString:function(){return j},isValidEntityCode:function(){return U},isWhiteSpace:function(){return es},lib:function(){return ea},normalizeReference:function(){return eu},unescapeAll:function(){return K},unescapeMd:function(){return Y}});var c={};r.r(c),r.d(c,{parseLinkDestination:function(){return eh},parseLinkLabel:function(){return ec},parseLinkTitle:function(){return ep}});let h={};function p(e,t){"string"!=typeof t&&(t=p.defaultChars);let r=function(e){let t=h[e];if(t)return t;t=h[e]=[];for(let e=0;e<128;e++){let r=String.fromCharCode(e);t.push(r)}for(let r=0;r=55296&&e<=57343?t+="���":t+=String.fromCharCode(e),n+=6;continue}}if((248&s)==240&&n+91114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),n+=9;continue}}t+="�"}return t})}p.defaultChars=";/?:@&=+$,#",p.componentChars="";var f=p;let d={};function _(e,t,r){"string"!=typeof t&&(r=t,t=_.defaultChars),void 0===r&&(r=!0);let n=function(e){let t=d[e];if(t)return t;t=d[e]=[];for(let e=0;e<128;e++){let r=String.fromCharCode(e);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let r=0;r=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1=56320&&r<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[t])}return i}_.defaultChars=";/?:@&=+$,-_.!~*'()#",_.componentChars="-_.!~*'()";var m=_;function g(e){let t="";return t+=(e.protocol||"")+(e.slashes?"//":"")+(e.auth?e.auth+"@":""),e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=(e.port?":"+e.port:"")+(e.pathname||"")+(e.search||"")+(e.hash||"")}function k(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}let D=/^([a-z0-9.+-]+:)/i,b=/:[0-9]*$/,C=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,F=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n"," "]),y=["'"].concat(F),A=["%","/","?",";","#"].concat(y),E=["/","?","#"],x=/^[+a-z0-9A-Z_-]{0,63}$/,v=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,w={javascript:!0,"javascript:":!0},z={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};k.prototype.parse=function(e,t){let r,n,i;let s=e;if(s=s.trim(),!t&&1===e.split("#").length){let e=C.exec(s);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=D.exec(s);if(o&&(r=(o=o[0]).toLowerCase(),this.protocol=o,s=s.substr(o.length)),(t||o||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===s.substr(0,2))&&!(o&&w[o])&&(s=s.substr(2),this.slashes=!0),!w[o]&&(i||o&&!z[o])){let e,t,r=-1;for(let e=0;e127?n+="x":n+=r[e];if(!n.match(x)){let n=e.slice(0,t),i=e.slice(t+1),o=r.match(v);o&&(n.push(o[1]),i.unshift(o[2])),i.length&&(s=i.join(".")+s),this.hostname=n.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let l=s.indexOf("#");-1!==l&&(this.hash=s.substr(l),s=s.slice(0,l));let u=s.indexOf("?");return -1!==u&&(this.search=s.substr(u),s=s.slice(0,u)),s&&(this.pathname=s),z[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this},k.prototype.parseHost=function(e){let t=b.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var S=function(e,t){if(e&&e instanceof k)return e;let r=new k;return r.parse(e,t),r},B=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,L=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,I=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,M=/[\0-\x1F\x7F-\x9F]/,q=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,T=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,R=r(9154);function O(e){for(let t=1;t=55296)||!(e<=57343))&&(!(e>=64976)||!(e<=65007))&&(65535&e)!=65535&&(65535&e)!=65534&&(!(e>=0)||!(e<=8))&&11!==e&&(!(e>=14)||!(e<=31))&&(!(e>=127)||!(e<=159))&&!(e>1114111)}function V(e){if(e>65535){e-=65536;let t=55296+(e>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}let H=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,G=RegExp(H.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),J=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Y(e){return 0>e.indexOf("\\")?e:e.replace(H,"$1")}function K(e){return 0>e.indexOf("\\")&&0>e.indexOf("&")?e:e.replace(G,function(e,t,r){return t||function(e,t){if(35===t.charCodeAt(0)&&J.test(t)){let r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return U(r)?V(r):e}let r=(0,R.p1)(e);return r!==e?r:e}(e,r)})}let W=/[&<>"]/,X=/[&<>"]/g,Q={"&":"&","<":"<",">":">",'"':"""};function ee(e){return Q[e]}function et(e){return W.test(e)?e.replace(X,ee):e}let er=/[.?*+^$[\]\\(){}|-]/g;function en(e){return e.replace(er,"\\$&")}function ei(e){switch(e){case 9:case 32:return!0}return!1}function es(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function eo(e){return B.test(e)||L.test(e)}function el(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function eu(e){return(e=e.trim().replace(/\s+/g," ")).toLowerCase().toUpperCase()}let ea={mdurl:l,ucmicro:u};function ec(e,t,r){let n,i,s,o;let l=e.posMax,u=e.pos;for(e.pos=t+1,n=1;e.pos32)return s;if(41===n){if(0===o)break;o--}i++}return t===i||0!==o||(s.str=K(e.slice(t,i)),s.pos=i,s.ok=!0),s}function ep(e,t,r,n){let i;let s=t,o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(s>=r)return o;let n=e.charCodeAt(s);if(34!==n&&39!==n&&40!==n)return o;t++,s++,40===n&&(n=41),o.marker=n}for(;s"+et(s.content)+""},ef.code_block=function(e,t,r,n,i){let s=e[t];return""+et(e[t].content)+"\n"},ef.fence=function(e,t,r,n,i){let s;let o=e[t],l=o.info?K(o.info).trim():"",u="",a="";if(l){let e=l.split(/(\s+)/g);u=e[0],a=e.slice(2).join("")}if(0===(s=r.highlight&&r.highlight(o.content,u,a)||et(o.content)).indexOf("${s} +`}return`
    ${s}
    +`},ef.image=function(e,t,r,n,i){let s=e[t];return s.attrs[s.attrIndex("alt")][1]=i.renderInlineAsText(s.children,r,n),i.renderToken(e,t,r)},ef.hardbreak=function(e,t,r){return r.xhtmlOut?"
    \n":"
    \n"},ef.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
    \n":"
    \n":"\n"},ef.text=function(e,t){return et(e[t].content)},ef.html_block=function(e,t){return e[t].content},ef.html_inline=function(e,t){return e[t].content},ed.prototype.renderAttrs=function(e){let t,r,n;if(!e.attrs)return"";for(t=0,n="",r=e.attrs.length;t\n":">")},ed.prototype.renderInline=function(e,t,r){let n="",i=this.rules;for(let s=0,o=e.length;st.indexOf(e)&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(r){!r.enabled||t&&0>r.alt.indexOf(t)||e.__cache__[t].push(r.fn)})})},e_.prototype.at=function(e,t,r){let n=this.__find__(e);if(-1===n)throw Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=(r||{}).alt||[],this.__cache__=null},e_.prototype.before=function(e,t,r,n){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:r,alt:(n||{}).alt||[]}),this.__cache__=null},e_.prototype.after=function(e,t,r,n){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:r,alt:(n||{}).alt||[]}),this.__cache__=null},e_.prototype.push=function(e,t,r){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(r||{}).alt||[]}),this.__cache__=null},e_.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);let r=[];return e.forEach(function(e){let n=this.__find__(e);if(n<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)},this),this.__cache__=null,r},e_.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},e_.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);let r=[];return e.forEach(function(e){let n=this.__find__(e);if(n<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)},this),this.__cache__=null,r},e_.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},em.prototype.attrIndex=function(e){if(!this.attrs)return -1;let t=this.attrs;for(let r=0,n=t.length;r=0&&(r=this.attrs[t][1]),r},em.prototype.attrJoin=function(e,t){let r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},eg.prototype.Token=em;let ek=/\r\n?|\n/g,eD=/\0/g,eb=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,eC=/\((c|tm|r)\)/i,eF=/\((c|tm|r)\)/ig,ey={c:"\xa9",r:"\xae",tm:"™"};function eA(e,t){return ey[t.toLowerCase()]}let eE=/['"]/,ex=/['"]/g;function ev(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}let ew=[["normalize",function(e){let t;t=(t=e.src.replace(ek,"\n")).replace(eD,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){let t=e.tokens;for(let r=0,n=t.length;r=0;l--){let u=s[l];if("link_close"===u.type){for(l--;s[l].level!==u.level&&"link_open"!==s[l].type;)l--;continue}if("html_inline"===u.type){var r,n;r=u.content,/^\s]/i.test(r)&&o>0&&o--,n=u.content,/^<\/a\s*>/i.test(n)&&o++}if(!(o>0)&&"text"===u.type&&e.md.linkify.test(u.content)){let r=u.content,n=e.md.linkify.match(r),o=[],a=u.level,c=0;n.length>0&&0===n[0].index&&l>0&&"text_special"===s[l-1].type&&(n=n.slice(1));for(let t=0;tc){let t=new e.Token("text","",0);t.content=r.slice(c,u),t.level=a,o.push(t)}let h=new e.Token("link_open","a",1);h.attrs=[["href",s]],h.level=a++,h.markup="linkify",h.info="auto",o.push(h);let p=new e.Token("text","",0);p.content=l,p.level=a,o.push(p);let f=new e.Token("link_close","a",-1);f.level=--a,f.markup="linkify",f.info="auto",o.push(f),c=n[t].lastIndex}if(c=0;t--)"inline"===e.tokens[t].type&&(eC.test(e.tokens[t].content)&&function(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];"text"!==n.type||t||(n.content=n.content.replace(eF,eA)),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}(e.tokens[t].children),eb.test(e.tokens[t].content)&&function(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];"text"===n.type&&!t&&eb.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&eE.test(e.tokens[t].content)&&function(e,t){let r;let n=[];for(let i=0;i=0&&!(n[r].level<=o);r--);if(n.length=r+1,"text"!==s.type)continue;let l=s.content,u=0,a=l.length;e:for(;u=0)d=l.charCodeAt(c.index-1);else for(r=i-1;r>=0&&"softbreak"!==e[r].type&&"hardbreak"!==e[r].type;r--)if(e[r].content){d=e[r].content.charCodeAt(e[r].content.length-1);break}let _=32;if(u=48&&d<=57&&(p=h=!1),h&&p&&(h=m,p=g),!h&&!p){f&&(s.content=ev(s.content,c.index,"’"));continue}if(p)for(r=n.length-1;r>=0;r--){let h=n[r];if(n[r].level=n)return -1;let s=e.src.charCodeAt(i++);if(s<48||s>57)return -1;for(;;){if(i>=n)return -1;if((s=e.src.charCodeAt(i++))>=48&&s<=57){if(i-r>=10)return -1;continue}if(41===s||46===s)break;return -1}return i0&&this.level++,this.tokens.push(n),n},eS.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},eS.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!ei(this.src.charCodeAt(--e)))return e+1;return e},eS.prototype.skipChars=function(e,t){for(let r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},eS.prototype.getLines=function(e,t,r,n){if(e>=t)return"";let i=Array(t-e);for(let s=0,o=e;or?i[s]=Array(l-r+1).join(" ")+this.src.slice(a,e):i[s]=this.src.slice(a,e)}return i.join("")},eS.prototype.Token=em;let eq="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",eT="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",eR=RegExp("^(?:"+eq+"|"+eT+"||<[?][\\s\\S]*?[?]>|]*>|)"),eO=RegExp("^(?:"+eq+"|"+eT+")"),ej=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[RegExp("^|$))","i"),/^$/,!0],[RegExp(eO.source+"\\s*$"),/^$/,!1]],eP=[["table",function(e,t,r,n){let i;if(t+2>r)return!1;let s=t+1;if(e.sCount[s]=4)return!1;let o=e.bMarks[s]+e.tShift[s];if(o>=e.eMarks[s])return!1;let l=e.src.charCodeAt(o++);if(124!==l&&45!==l&&58!==l||o>=e.eMarks[s])return!1;let u=e.src.charCodeAt(o++);if(124!==u&&45!==u&&58!==u&&!ei(u)||45===l&&ei(u))return!1;for(;o=4)return!1;(c=eL(a)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();let p=c.length;if(0===p||p!==h.length)return!1;if(n)return!0;let f=e.parentType;e.parentType="table";let d=e.md.block.ruler.getRules("blockquote"),_=e.push("table_open","table",1),m=[t,0];_.map=m;let g=e.push("thead_open","thead",1);g.map=[t,t+1];let k=e.push("tr_open","tr",1);k.map=[t,t+1];for(let t=0;t=4||((c=eL(a)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),(D+=p-c.length)>65536))break;if(s===t+2){let r=e.push("tbody_open","tbody",1);r.map=i=[t+2,0]}let o=e.push("tr_open","tr",1);o.map=[s,s+1];for(let t=0;t=4){i=++n;continue}break}e.line=i;let s=e.push("code_block","code",0);return s.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",s.map=[t,e.line],!0}],["fence",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>s)return!1;let o=e.src.charCodeAt(i);if(126!==o&&96!==o)return!1;let l=i,u=(i=e.skipChars(i,o))-l;if(u<3)return!1;let a=e.src.slice(l,i),c=e.src.slice(i,s);if(96===o&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let h=t,p=!1;for(;!(++h>=r)&&(!((i=l=e.bMarks[h]+e.tShift[h])<(s=e.eMarks[h]))||!(e.sCount[h]=4||(i=e.skipChars(i,o))-l=4||62!==e.src.charCodeAt(s))return!1;if(n)return!0;let u=[],a=[],c=[],h=[],p=e.md.block.ruler.getRules("blockquote"),f=e.parentType;e.parentType="blockquote";let d=!1;for(i=t;i=o)break;if(62===e.src.charCodeAt(s++)&&!t){let t,r,n=e.sCount[i]+1;32===e.src.charCodeAt(s)?(s++,n++,r=!1,t=!0):9===e.src.charCodeAt(s)?(t=!0,(e.bsCount[i]+n)%4==3?(s++,n++,r=!1):r=!0):t=!1;let l=n;for(u.push(e.bMarks[i]),e.bMarks[i]=s;s=o,a.push(e.bsCount[i]),e.bsCount[i]=e.sCount[i]+1+(t?1:0),c.push(e.sCount[i]),e.sCount[i]=l-n,h.push(e.tShift[i]),e.tShift[i]=s-e.bMarks[i];continue}if(d)break;let n=!1;for(let t=0,s=p.length;t";let g=[t,0];m.map=g,e.md.block.tokenize(e,t,i);let k=e.push("blockquote_close","blockquote",-1);k.markup=">",e.lineMax=l,e.parentType=f,g[1]=e.line;for(let r=0;r=4)return!1;let s=e.bMarks[t]+e.tShift[t],o=e.src.charCodeAt(s++);if(42!==o&&45!==o&&95!==o)return!1;let l=1;for(;s=4||e.listIndent>=0&&e.sCount[h]-e.listIndent>=4&&e.sCount[h]=e.blkIndent&&(f=!0),(c=eM(e,h))>=0){if(u=!0,o=e.bMarks[h]+e.tShift[h],a=Number(e.src.slice(o,c-1)),f&&1!==a)return!1}else{if(!((c=eI(e,h))>=0))return!1;u=!1}if(f&&e.skipSpaces(c)>=e.eMarks[h])return!1;if(n)return!0;let d=e.src.charCodeAt(c-1),_=e.tokens.length;u?(l=e.push("ordered_list_open","ol",1),1!==a&&(l.attrs=[["start",a]])):l=e.push("bullet_list_open","ul",1);let m=[h,0];l.map=m,l.markup=String.fromCharCode(d);let g=!1,k=e.md.block.ruler.getRules("list"),D=e.parentType;for(e.parentType="list";h=i?1:a-n)>4&&(t=1);let _=n+t;(l=e.push("list_item_open","li",1)).markup=String.fromCharCode(d);let m=[h,0];l.map=m,u&&(l.info=e.src.slice(o,c-1));let D=e.tight,b=e.tShift[h],C=e.sCount[h],F=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=_,e.tight=!0,e.tShift[h]=f-e.bMarks[h],e.sCount[h]=a,f>=i&&e.isEmpty(h+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,h,r,!0),(!e.tight||g)&&(p=!1),g=e.line-h>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=F,e.tShift[h]=b,e.sCount[h]=C,e.tight=D,(l=e.push("list_item_close","li",-1)).markup=String.fromCharCode(d),h=e.line,m[1]=h,h>=r||e.sCount[h]=4)break;let y=!1;for(let t=0,n=k.length;t=4||91!==e.src.charCodeAt(s))return!1;function u(t){let r=e.lineMax;if(t>=r||e.isEmpty(t))return null;let n=!1;if(e.sCount[t]-e.blkIndent>3&&(n=!0),e.sCount[t]<0&&(n=!0),!n){let n=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let s=!1;for(let i=0,o=n.length;i=4||!e.md.options.html||60!==e.src.charCodeAt(i))return!1;let o=e.src.slice(i,s),l=0;for(;l=4)return!1;let o=e.src.charCodeAt(i);if(35!==o||i>=s)return!1;let l=1;for(o=e.src.charCodeAt(++i);35===o&&i6||ii&&ei(e.src.charCodeAt(u-1))&&(s=u),e.line=t+1;let a=e.push("heading_open","h"+String(l),1);a.markup="########".slice(0,l),a.map=[t,e.line];let c=e.push("inline","",0);c.content=e.src.slice(i,s).trim(),c.map=[t,e.line],c.children=[];let h=e.push("heading_close","h"+String(l),-1);return h.markup="########".slice(0,l),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){let n;let i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.parentType;e.parentType="paragraph";let o=0,l=t+1;for(;l3)continue;if(e.sCount[l]>=e.blkIndent){let t=e.bMarks[l]+e.tShift[l],r=e.eMarks[l];if(t=r)){o=61===n?1:2;break}}if(e.sCount[l]<0)continue;let t=!1;for(let n=0,s=i.length;n3||e.sCount[s]<0)continue;let t=!1;for(let i=0,o=n.length;i=r)&&!(e.sCount[o]=s){e.line=r;break}let t=e.line,u=!1;for(let s=0;s=e.line)throw Error("block rule didn't increment state.line");break}if(!u)throw Error("none of the block rules matched");e.tight=!l,e.isEmpty(e.line-1)&&(l=!0),(o=e.line)0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(i),n},eZ.prototype.scanDelims=function(e,t){let r=this.posMax,n=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32,s=e;for(;s?@[]^_`{|}~-".split("").forEach(function(e){eU[e.charCodeAt(0)]=1});var eH={tokenize:function(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t||126!==n)return!1;let i=e.scanDelims(e.pos,!0),s=i.length,o=String.fromCharCode(n);if(s<2)return!1;s%2&&(e.push("text","",0).content=o,s--);for(let t=0;t=0;n--){let r=t[n];if(95!==r.marker&&42!==r.marker||-1===r.end)continue;let i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),l=e.tokens[r.token];l.type=s?"strong_open":"em_open",l.tag=s?"strong":"em",l.nesting=1,l.markup=s?o+o:o,l.content="";let u=e.tokens[i.token];u.type=s?"strong_close":"em_close",u.tag=s?"strong":"em",u.nesting=-1,u.markup=s?o+o:o,u.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}var eJ={tokenize:function(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t||95!==n&&42!==n)return!1;let i=e.scanDelims(e.pos,42===n);for(let t=0;t\x00-\x20]*)$/,eW=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,eX=/^&([a-z][a-z0-9]{1,31});/i;function eQ(e){let t={},r=e.length;if(!r)return;let n=0,i=-2,s=[];for(let o=0;ol;u-=s[u]+1){let t=e[u];if(t.marker===r.marker&&t.open&&t.end<0){let n=!1;if((t.close||r.open)&&(t.length+r.length)%3==0&&(t.length%3!=0||r.length%3!=0)&&(n=!0),!n){let n=u>0&&!e[u-1].open?s[u-1]+1:0;s[o]=o-u+n,s[u]=n,r.open=!1,t.end=o,t.close=!1,a=-1,i=-2;break}}}-1!==a&&(t[r.marker][(r.open?3:0)+(r.length||0)%3]=a)}}let e0=[["text",function(e,t){let r=e.pos;for(;r0)return!1;let r=e.pos,n=e.posMax;if(r+3>n||58!==e.src.charCodeAt(r)||47!==e.src.charCodeAt(r+1)||47!==e.src.charCodeAt(r+2))return!1;let i=e.pending.match(eN);if(!i)return!1;let s=i[1],o=e.md.linkify.matchAtStart(e.src.slice(r-s.length));if(!o)return!1;let l=o.url;if(l.length<=s.length)return!1;l=l.replace(/\*+$/,"");let u=e.md.normalizeLink(l);if(!e.md.validateLink(u))return!1;if(!t){e.pending=e.pending.slice(0,-s.length);let t=e.push("link_open","a",1);t.attrs=[["href",u]],t.markup="linkify",t.info="auto";let r=e.push("text","",0);r.content=e.md.normalizeLinkText(l);let n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=l.length-s.length,!0}],["newline",function(e,t){let r=e.pos;if(10!==e.src.charCodeAt(r))return!1;let n=e.pending.length-1,i=e.posMax;if(!t){if(n>=0&&32===e.pending.charCodeAt(n)){if(n>=1&&32===e.pending.charCodeAt(n-1)){let t=n-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)}else e.push("softbreak","br",0)}for(r++;r=n)return!1;let i=e.src.charCodeAt(r);if(10===i){for(t||e.push("hardbreak","br",0),r++;r=55296&&i<=56319&&r+1=56320&&t<=57343&&(s+=e.src[r+1],r++)}let o="\\"+s;if(!t){let t=e.push("text_special","",0);i<256&&0!==eU[i]?t.content=s:t.content=o,t.markup=o,t.info="escape"}return e.pos=r+1,!0}],["backticks",function(e,t){let r,n=e.pos,i=e.src.charCodeAt(n);if(96!==i)return!1;let s=n;n++;let o=e.posMax;for(;n=h)return!1;if(u=d,(i=e.md.helpers.parseLinkDestination(e.src,d,e.posMax)).ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?d=i.pos:o="",u=d;d=h||41!==e.src.charCodeAt(d))&&(a=!0),d++}if(a){if(void 0===e.env.references)return!1;if(d=0?n=e.src.slice(u,d++):d=f+1):d=f+1,n||(n=e.src.slice(p,f)),!(s=e.env.references[eu(n)]))return e.pos=c,!1;o=s.href,l=s.title}if(!t){e.pos=p,e.posMax=f;let t=e.push("link_open","a",1),r=[["href",o]];t.attrs=r,l&&r.push(["title",l]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=d,e.posMax=h,!0}],["image",function(e,t){let r,n,i,s,o,l,u,a;let c="",h=e.pos,p=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;let f=e.pos+2,d=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(d<0)return!1;if((s=d+1)=p)return!1;for(a=s,(l=e.md.helpers.parseLinkDestination(e.src,s,e.posMax)).ok&&(c=e.md.normalizeLink(l.str),e.md.validateLink(c)?s=l.pos:c=""),a=s;s=p||41!==e.src.charCodeAt(s))return e.pos=h,!1;s++}else{if(void 0===e.env.references)return!1;if(s=0?i=e.src.slice(a,s++):s=d+1):s=d+1,i||(i=e.src.slice(f,d)),!(o=e.env.references[eu(i)]))return e.pos=h,!1;c=o.href,u=o.title}if(!t){n=e.src.slice(f,d);let t=[];e.md.inline.parse(n,e.md,e.env,t);let r=e.push("image","img",0),i=[["src",c],["alt",""]];r.attrs=i,r.children=t,r.content=n,u&&i.push(["title",u])}return e.pos=s,e.posMax=p,!0}],["autolink",function(e,t){let r=e.pos;if(60!==e.src.charCodeAt(r))return!1;let n=e.pos,i=e.posMax;for(;;){if(++r>=i)return!1;let t=e.src.charCodeAt(r);if(60===t)return!1;if(62===t)break}let s=e.src.slice(n+1,r);if(eK.test(s)){let r=e.md.normalizeLink(s);if(!e.md.validateLink(r))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto";let n=e.push("text","",0);n.content=e.md.normalizeLinkText(s);let i=e.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return e.pos+=s.length+2,!0}if(eY.test(s)){let r=e.md.normalizeLink("mailto:"+s);if(!e.md.validateLink(r))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto";let n=e.push("text","",0);n.content=e.md.normalizeLinkText(s);let i=e.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return e.pos+=s.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;let r=e.posMax,n=e.pos;if(60!==e.src.charCodeAt(n)||n+2>=r)return!1;let i=e.src.charCodeAt(n+1);if(33!==i&&63!==i&&47!==i&&!function(e){let t=32|e;return t>=97&&t<=122}(i))return!1;let s=e.src.slice(n).match(eR);if(!s)return!1;if(!t){var o,l;let t=e.push("html_inline","",0);t.content=s[0],o=t.content,/^\s]/i.test(o)&&e.linkLevel++,l=t.content,/^<\/a\s*>/i.test(l)&&e.linkLevel--}return e.pos+=s[0].length,!0}],["entity",function(e,t){let r=e.pos,n=e.posMax;if(38!==e.src.charCodeAt(r)||r+1>=n)return!1;let i=e.src.charCodeAt(r+1);if(35===i){let n=e.src.slice(r).match(eW);if(n){if(!t){let t="x"===n[1][0].toLowerCase()?parseInt(n[1].slice(1),16):parseInt(n[1],10),r=e.push("text_special","",0);r.content=U(t)?V(t):V(65533),r.markup=n[0],r.info="entity"}return e.pos+=n[0].length,!0}}else{let n=e.src.slice(r).match(eX);if(n){let r=(0,R.p1)(n[0]);if(r!==n[0]){if(!t){let t=e.push("text_special","",0);t.content=r,t.markup=n[0],t.info="entity"}return e.pos+=n[0].length,!0}}}return!1}]],e1=[["balance_pairs",function(e){let t=e.tokens_meta,r=e.tokens_meta.length;eQ(e.delimiters);for(let e=0;e0&&n++,"text"===i[t].type&&t+1=e.pos)throw Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;!o&&e.pos++,s[t]=e.pos},e2.prototype.tokenize=function(e){let t=this.ruler.getRules(""),r=t.length,n=e.posMax,i=e.md.options.maxNesting;for(;e.pos=e.pos)throw Error("inline rule didn't increment state.pos");break}}if(o){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},e2.prototype.parse=function(e,t,r,n){let i=new this.State(e,t,r,n);this.tokenize(i);let s=this.ruler2.getRules(""),o=s.length;for(let e=0;e=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){let n=e.slice(t);return(r.re.mailto||(r.re.mailto=RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n))?n.match(r.re.mailto)[0].length:0}}},e7="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function te(){return function(e,t){t.normalize(e)}}function tt(e){let t=e.re=function(e){let t={};e=e||{},t.src_Any=I.source,t.src_Cc=M.source,t.src_Z=T.source,t.src_P=B.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");let r="[><|]";return t.src_pseudo_letter="(?:(?!"+r+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+r+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),r=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");let i=[];function s(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){let r=e.__schemas__[t];if(null===r)return;let n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===e4(r)){if("[object RegExp]"===e4(r.validate)){var o;n.validate=(o=r.validate,function(e,t){let r=e.slice(t);return o.test(r)?r.match(o)[0].length:0})}else e6(r.validate)?n.validate=r.validate:s(t,r);e6(r.normalize)?n.normalize=r.normalize:r.normalize?s(t,r):n.normalize=te();return}if("[object String]"===e4(r)){i.push(t);return}s(t,r)}),i.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:te()};let o=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(e5).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),e.__index__=-1,e.__text_cache__=""}function tr(e,t){let r=e.__index__,n=e.__last_index__,i=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=i,this.text=i,this.url=i}function tn(e,t){let r=new tr(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function ti(e,t){if(!(this instanceof ti))return new ti(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||e8.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=e3({},e8,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=e3({},e9,e),this.__compiled__={},this.__tlds__=e7,this.__tlds_replaced__=!1,this.re={},tt(this)}ti.prototype.add=function(e,t){return this.__schemas__[e]=t,tt(this),this},ti.prototype.set=function(e){return this.__opts__=e3(this.__opts__,e),this},ti.prototype.test=function(e){let t,r,n,i,s,o,l,u;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((l=this.re.schema_search).lastIndex=0;null!==(t=l.exec(e));)if(i=this.testSchemaAt(e,t[2],l.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(n=e.match(this.re.email_fuzzy))&&(s=n.index+n[1].length,o=n.index+n[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=o)),this.__index__>=0},ti.prototype.pretest=function(e){return this.re.pretest.test(e)},ti.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},ti.prototype.match=function(e){let t=[],r=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(tn(this,r)),r=this.__last_index__);let n=r?e.slice(r):e;for(;this.test(n);)t.push(tn(this,r)),n=n.slice(this.__last_index__),r+=this.__last_index__;return t.length?t:null},ti.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;let t=this.re.schema_at_start.exec(e);if(!t)return null;let r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,tn(this,0)):null},ti.prototype.tlds=function(e,t){return(e=Array.isArray(e)?e:[e],t)?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),tt(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,tt(this),this)},ti.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},ti.prototype.onCompile=function(){};let ts=/^xn--/,to=/[^\0-\x7F]/,tl=/[\x2E\u3002\uFF0E\uFF61]/g,tu={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ta=Math.floor,tc=String.fromCharCode;function th(e){throw RangeError(tu[e])}function tp(e,t){let r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(tl,".");let i=e.split("."),s=(function(e,t){let r=[],n=e.length;for(;n--;)r[n]=t(e[n]);return r})(i,t).join(".");return n+s}function tf(e){let t=[],r=0,n=e.length;for(;r=55296&&i<=56319&&r>1,e+=ta(e/t);e>455;n+=36)e=ta(e/35);return ta(n+36*e/(e+38))},tm=function(e){let t=[],r=e.length,n=0,i=128,s=72,o=e.lastIndexOf("-");o<0&&(o=0);for(let r=0;r=128&&th("not-basic"),t.push(e.charCodeAt(r));for(let u=o>0?o+1:0;u=r&&th("invalid-input");let o=(l=e.charCodeAt(u++))>=48&&l<58?26+(l-48):l>=65&&l<91?l-65:l>=97&&l<123?l-97:36;o>=36&&th("invalid-input"),o>ta((2147483647-n)/t)&&th("overflow"),n+=o*t;let a=i<=s?1:i>=s+26?26:i-s;if(ota(2147483647/c)&&th("overflow"),t*=c}let a=t.length+1;s=t_(n-o,a,0==o),ta(n/a)>2147483647-i&&th("overflow"),i+=ta(n/a),n%=a,t.splice(n++,0,i)}return String.fromCodePoint(...t)},tg=function(e){let t=[];e=tf(e);let r=e.length,n=128,i=0,s=72;for(let r of e)r<128&&t.push(tc(r));let o=t.length,l=o;for(o&&t.push("-");l=n&&tta((2147483647-i)/u)&&th("overflow"),i+=(r-n)*u,n=r,e))if(a2147483647&&th("overflow"),a===n){let e=i;for(let r=36;;r+=36){let n=r<=s?1:r>=s+26?26:r-s;if(eString.fromCodePoint(...e)},decode:tm,encode:tg,toASCII:function(e){return tp(e,function(e){return to.test(e)?"xn--"+tg(e):e})},toUnicode:function(e){return tp(e,function(e){return ts.test(e)?tm(e.slice(4).toLowerCase()):e})}};let tD={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},tb=/^(vbscript|javascript|file|data):/,tC=/^data:image\/(gif|png|jpeg|webp);/;function tF(e){let t=e.trim().toLowerCase();return!tb.test(t)||tC.test(t)}let ty=["http:","https:","mailto:"];function tA(e){let t=S(e,!0);if(t.hostname&&(!t.protocol||ty.indexOf(t.protocol)>=0))try{t.hostname=tk.toASCII(t.hostname)}catch(e){}return m(g(t))}function tE(e){let t=S(e,!0);if(t.hostname&&(!t.protocol||ty.indexOf(t.protocol)>=0))try{t.hostname=tk.toUnicode(t.hostname)}catch(e){}return f(g(t),f.defaultChars+"%")}function tx(e,t){if(!(this instanceof tx))return new tx(e,t);t||j(e)||(t=e||{},e="default"),this.inline=new e2,this.block=new e$,this.core=new ez,this.renderer=new ed,this.linkify=new ti,this.validateLink=tF,this.normalizeLink=tA,this.normalizeLinkText=tE,this.utils=a,this.helpers=Z({},c),this.options={},this.configure(e),t&&this.set(t)}tx.prototype.set=function(e){return Z(this.options,e),this},tx.prototype.configure=function(e){let t=this;if(j(e)){let t=e;if(!(e=tD[t]))throw Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this},tx.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));let n=e.filter(function(e){return 0>r.indexOf(e)});if(n.length&&!t)throw Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},tx.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));let n=e.filter(function(e){return 0>r.indexOf(e)});if(n.length&&!t)throw Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},tx.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},tx.prototype.parse=function(e,t){if("string"!=typeof e)throw Error("Input data should be a String");let r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},tx.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},tx.prototype.parseInline=function(e,t){let r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},tx.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var tv=tx}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2061-182bdc8e1f900e68.js b/dbgpt/app/static/web/_next/static/chunks/2061-182bdc8e1f900e68.js new file mode 100644 index 000000000..0051bf519 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/2061-182bdc8e1f900e68.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2061],{59321:function(e,t,a){"use strict";var l=a(96469),s=a(23852),n=a.n(s);t.Z=function(e){let{src:t,label:a,width:s,height:r,className:i}=e;return(0,l.jsx)(n(),{className:"w-11 h-11 rounded-full mr-4 border border-gray-200 object-contain bg-white ".concat(i),width:s||44,height:r||44,src:t,alt:a||"db-icon"})}},78638:function(e,t,a){"use strict";var l=a(42988),s=a(7289),n=a(88506),r=a(44875),i=a(70351),o=a(38497),c=a(45277),d=a(75299);t.Z=e=>{let{queryAgentURL:t="/api/v1/chat/completions",app_code:a}=e,[u,m]=(0,o.useState)({}),{scene:p}=(0,o.useContext)(c.p),h=(0,o.useCallback)(async e=>{let{data:o,chatId:c,onMessage:u,onClose:h,onDone:x,onError:f,ctrl:v}=e;if(v&&m(v),!(null==o?void 0:o.user_input)&&!(null==o?void 0:o.doc_id)){i.ZP.warning(l.Z.t("no_context_tip"));return}let g={...o,conv_uid:c,app_code:a};try{var _,b;await (0,r.L)("".concat(null!==(_=d.env.API_BASE_URL)&&void 0!==_?_:"").concat(t),{method:"POST",headers:{"Content-Type":"application/json",[n.gp]:null!==(b=(0,s.n5)())&&void 0!==b?b:""},body:JSON.stringify(g),signal:v?v.signal:null,openWhenHidden:!0,async onopen(e){e.ok&&e.headers.get("content-type")===r.a||"application/json"!==e.headers.get("content-type")||e.json().then(e=>{null==u||u(e),null==x||x(),v&&v.abort()})},onclose(){v&&v.abort(),null==h||h()},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t="chat_agent"===p?JSON.parse(t).vis:JSON.parse(t)}catch(e){t.replaceAll("\\n","\n")}"string"==typeof t?"[DONE]"===t?null==x||x():(null==t?void 0:t.startsWith("[ERROR]"))?null==f||f(null==t?void 0:t.replace("[ERROR]","")):null==u||u(t):(null==u||u(t),null==x||x())}})}catch(e){v&&v.abort(),null==f||f("Sorry, We meet some error, please try agin later.",e)}},[t,a,p]);return{chat:h,ctrl:u}}},52903:function(e,t,a){"use strict";a.d(t,{TH:function(){return x},ZS:function(){return f}});var l=a(96469),s=a(52896),n=a(60205),r=a(87674),i=a(85851),o=a(80335),c=a(26869),d=a.n(c),u=a(83930),m=a(23852),p=a.n(m);a(38497);var h=a(26953);a(96768);let x=e=>{let{onClick:t,Icon:a="/pictures/card_chat.png",text:s=(0,u.t)("start_chat")}=e;return"string"==typeof a&&(a=(0,l.jsx)(p(),{src:a,alt:a,width:17,height:15})),(0,l.jsxs)("div",{className:"flex items-center gap-1 text-default",onClick:e=>{e.stopPropagation(),t&&t()},children:[a,(0,l.jsx)("span",{children:s})]})},f=e=>{let{menu:t}=e;return(0,l.jsx)(o.Z,{menu:t,getPopupContainer:e=>e.parentNode,placement:"bottomRight",autoAdjustOverflow:!1,children:(0,l.jsx)(s.Z,{className:"p-2 hover:bg-white hover:dark:bg-black rounded-md"})})};t.ZP=e=>{let{RightTop:t,Tags:a,LeftBottom:s,RightBottom:o,onClick:c,rightTopHover:u=!0,logo:m,name:x,description:f,className:v,scene:g,code:_}=e;return"string"==typeof f&&(f=(0,l.jsx)("p",{className:"line-clamp-2 relative bottom-4 text-ellipsis min-h-[42px] text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)]",children:f})),(0,l.jsx)("div",{className:d()("hover-underline-gradient flex justify-center mt-6 relative group w-1/3 px-2 mb-6",v),children:(0,l.jsxs)("div",{onClick:c,className:"backdrop-filter backdrop-blur-lg cursor-pointer bg-white bg-opacity-70 border-2 border-white rounded-lg shadow p-4 relative w-full h-full dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60",children:[(0,l.jsxs)("div",{className:"flex items-end relative bottom-8 justify-between w-full",children:[(0,l.jsxs)("div",{className:"flex items-end gap-4 w-11/12 flex-1",children:[(0,l.jsx)("div",{className:"bg-white rounded-lg shadow-sm w-14 h-14 flex items-center p-3",children:g?(0,l.jsx)(h.Z,{scene:g,width:14,height:14}):m&&(0,l.jsx)(p(),{src:m,width:44,height:44,alt:x,className:"w-8 min-w-8 rounded-full max-w-none"})}),(0,l.jsx)("div",{className:"flex-1",children:x.length>6?(0,l.jsx)(n.Z,{title:x,children:(0,l.jsx)("span",{className:"line-clamp-1 text-ellipsis font-semibold text-base",style:{maxWidth:"60%"},children:x})}):(0,l.jsx)("span",{className:"line-clamp-1 text-ellipsis font-semibold text-base",style:{maxWidth:"60%"},children:x})})]}),(0,l.jsx)("span",{className:d()("shrink-0",{hidden:u,"group-hover:block":u}),onClick:e=>{e.stopPropagation()},children:t})]}),f,(0,l.jsx)("div",{className:"relative bottom-2",children:a}),(0,l.jsxs)("div",{className:"flex justify-between items-center",children:[(0,l.jsx)("div",{children:s}),(0,l.jsx)("div",{children:o})]}),_&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.Z,{className:"my-3"}),(0,l.jsx)(i.Z.Text,{copyable:!0,className:"absolute bottom-1 right-4 text-xs text-gray-500",children:_})]})]})})}},12061:function(e,t,a){"use strict";a.r(t),a.d(t,{ChatContentContext:function(){return eC},default:function(){return eP}});var l=a(96469),s=a(27623),n=a(37022),r=a(629),i=a(72804),o=a(98028),c=a(70351),d=a(49030),u=a(85851),m=a(42786),p=a(93486),h=a.n(p),x=a(38497),f=a(56841),v=a(16602),g=a(26953);let _=["magenta","orange","geekblue","purple","cyan","green"];var b=e=>{var t,a,p,b,j,y;let{isScrollToTop:w}=e,{appInfo:N,refreshAppInfo:k,handleChat:Z,scrollRef:S,temperatureValue:C,resourceValue:P,currentDialogue:R}=(0,x.useContext)(eC),{t:M}=(0,f.$G)(),O=(0,x.useMemo)(()=>{var e;return(null==N?void 0:null===(e=N.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent"},[N]),V=(0,x.useMemo)(()=>(null==N?void 0:N.is_collected)==="true",[N]),{run:L,loading:T}=(0,v.Z)(async()=>{let[e]=await (0,s.Vx)(V?(0,s.gD)({app_code:N.app_code}):(0,s.mo)({app_code:N.app_code}));if(!e)return await k()},{manual:!0}),z=(0,x.useMemo)(()=>{var e;return(null===(e=N.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[N.param_need]);if(!Object.keys(N).length)return null;let E=async()=>{let e=h()(location.href);c.ZP[e?"success":"error"](e?M("copy_success"):M("copy_failed"))};return(0,l.jsx)("div",{className:"h-20 mt-6 ".concat((null==N?void 0:N.recommend_questions)&&(null==N?void 0:null===(t=N.recommend_questions)||void 0===t?void 0:t.length)>0?"mb-6":""," sticky top-0 bg-transparent z-30 transition-all duration-400 ease-in-out"),children:w?(0,l.jsxs)("header",{className:"flex items-center justify-between w-full h-14 bg-[#ffffffb7] dark:bg-[rgba(41,63,89,0.4)] px-8 transition-all duration-500 ease-in-out",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg mr-2 bg-white",children:(0,l.jsx)(g.Z,{scene:O})}),(0,l.jsxs)("div",{className:"flex items-center text-base text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] font-semibold gap-2",children:[(0,l.jsx)("span",{children:null==N?void 0:N.app_name}),(0,l.jsxs)("div",{className:"flex gap-1",children:[(null==N?void 0:N.team_mode)&&(0,l.jsx)(d.Z,{color:"green",children:null==N?void 0:N.team_mode}),(null==N?void 0:null===(a=N.team_context)||void 0===a?void 0:a.chat_scene)&&(0,l.jsx)(d.Z,{color:"cyan",children:null==N?void 0:null===(p=N.team_context)||void 0===p?void 0:p.chat_scene})]})]})]}),(0,l.jsxs)("div",{className:"flex gap-8",onClick:async()=>{await L()},children:[T?(0,l.jsx)(m.Z,{spinning:T,indicator:(0,l.jsx)(n.Z,{style:{fontSize:24},spin:!0})}):(0,l.jsx)(l.Fragment,{children:V?(0,l.jsx)(r.Z,{style:{fontSize:18},className:"text-yellow-400 cursor-pointer"}):(0,l.jsx)(i.Z,{style:{fontSize:18,cursor:"pointer"}})}),(0,l.jsx)(o.Z,{className:"text-lg",onClick:e=>{e.stopPropagation(),E()}})]})]}):(0,l.jsxs)("header",{className:"flex items-center justify-between w-5/6 h-full px-6 bg-[#ffffff99] border dark:bg-[rgba(255,255,255,0.1)] dark:border-[rgba(255,255,255,0.1)] rounded-2xl mx-auto transition-all duration-400 ease-in-out relative",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"flex w-12 h-12 justify-center items-center rounded-xl mr-4 bg-white",children:(0,l.jsx)(g.Z,{scene:O,width:16,height:16})}),(0,l.jsxs)("div",{className:"flex flex-col flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center text-base text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] font-semibold gap-2",children:[(0,l.jsx)("span",{children:null==N?void 0:N.app_name}),(0,l.jsxs)("div",{className:"flex gap-1",children:[(null==N?void 0:N.team_mode)&&(0,l.jsx)(d.Z,{color:"green",children:null==N?void 0:N.team_mode}),(null==N?void 0:null===(b=N.team_context)||void 0===b?void 0:b.chat_scene)&&(0,l.jsx)(d.Z,{color:"cyan",children:null==N?void 0:null===(j=N.team_context)||void 0===j?void 0:j.chat_scene})]})]}),(0,l.jsx)(u.Z.Text,{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",ellipsis:{tooltip:!0},children:null==N?void 0:N.app_describe})]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-4",children:[(0,l.jsx)("div",{onClick:async()=>{await L()},className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:T?(0,l.jsx)(m.Z,{spinning:T,indicator:(0,l.jsx)(n.Z,{style:{fontSize:24},spin:!0})}):(0,l.jsx)(l.Fragment,{children:V?(0,l.jsx)(r.Z,{style:{fontSize:18},className:"text-yellow-400 cursor-pointer"}):(0,l.jsx)(i.Z,{style:{fontSize:18,cursor:"pointer"}})})}),(0,l.jsx)("div",{onClick:E,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,l.jsx)(o.Z,{className:"text-lg"})})]}),!!(null==N?void 0:null===(y=N.recommend_questions)||void 0===y?void 0:y.length)&&(0,l.jsxs)("div",{className:"absolute bottom-[-40px] left-0",children:[(0,l.jsx)("span",{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",children:"或许你想问:"}),N.recommend_questions.map((e,t)=>(0,l.jsx)(d.Z,{color:_[t],className:"text-xs p-1 px-2 cursor-pointer",onClick:async()=>{Z((null==e?void 0:e.question)||"",{app_code:N.app_code,...z.includes("temperature")&&{temperature:C},...z.includes("resource")&&{select_param:"string"==typeof P?P:JSON.stringify(P)||R.select_param}}),setTimeout(()=>{var e,t;null===(e=S.current)||void 0===e||e.scrollTo({top:null===(t=S.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"})},0)},children:e.question},e.id))]})]})})},j=a(28469),y=a.n(j);let w=y()(()=>Promise.all([a.e(7521),a.e(5197),a.e(6370),a.e(5996),a.e(1320),a.e(9223),a.e(2476),a.e(4162),a.e(1657),a.e(9790),a.e(1766),a.e(8957),a.e(3549),a.e(9094),a.e(7389),a.e(2957),a.e(5891),a.e(9549),a.e(2672),a.e(3272)]).then(a.bind(a,54865)),{loadableGenerated:{webpack:()=>[54865]},ssr:!1});var N=(0,x.forwardRef)((e,t)=>{let{}=e,a=(0,x.useRef)(null),[s,n]=(0,x.useState)(!1);return(0,x.useImperativeHandle)(t,()=>a.current),(0,x.useEffect)(()=>(a.current&&a.current.addEventListener("scroll",()=>{var e;let t=(null===(e=a.current)||void 0===e?void 0:e.scrollTop)||0;t>=74?n(!0):n(!1)}),()=>{a.current&&a.current.removeEventListener("scroll",()=>{})}),[]),(0,l.jsx)("div",{className:"flex flex-1 overflow-hidden",children:(0,l.jsxs)("div",{ref:a,className:"h-full w-full mx-auto overflow-y-auto",children:[(0,l.jsx)(b,{isScrollToTop:s}),(0,l.jsx)(w,{})]})})}),k=a(19629),Z=a(97818),S=a(87313),C=a(52903),P=a(45277),R=a(23852),M=a.n(R),O=a(58526),V=e=>{let{apps:t,refresh:a,loading:n,type:o}=e,c=async e=>{let[t]=await (0,s.Vx)("true"===e.is_collected?(0,s.gD)({app_code:e.app_code}):(0,s.mo)({app_code:e.app_code}));t||a()},{setAgent:d,model:u,setCurrentDialogInfo:p}=(0,x.useContext)(P.p),h=(0,S.useRouter)(),f=async e=>{if("native_app"===e.team_mode){let{chat_scene:t=""}=e.team_context,[,a]=await (0,s.Vx)((0,s.sW)({chat_mode:t}));a&&(null==p||p({chat_scene:a.chat_mode,app_code:e.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:a.chat_mode,app_code:e.app_code})),h.push("/chat?scene=".concat(t,"&id=").concat(a.conv_uid).concat(u?"&model=".concat(u):"")))}else{let[,t]=await (0,s.Vx)((0,s.sW)({chat_mode:"chat_agent"}));t&&(null==p||p({chat_scene:t.chat_mode,app_code:e.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:t.chat_mode,app_code:e.app_code})),null==d||d(e.app_code),h.push("/chat/?scene=chat_agent&id=".concat(t.conv_uid).concat(u?"&model=".concat(u):"")))}};return n?(0,l.jsx)(m.Z,{size:"large",className:"flex items-center justify-center h-full",spinning:n}):(0,l.jsx)("div",{className:"flex flex-wrap mt-4 w-full overflow-y-auto ",children:(null==t?void 0:t.length)>0?t.map(e=>{var t;return(0,l.jsx)(C.ZP,{name:e.app_name,description:e.app_describe,onClick:()=>f(e),RightTop:"true"===e.is_collected?(0,l.jsx)(r.Z,{onClick:t=>{t.stopPropagation(),c(e)},style:{height:"21px",cursor:"pointer",color:"#f9c533"}}):(0,l.jsx)(i.Z,{onClick:t=>{t.stopPropagation(),c(e)},style:{height:"21px",cursor:"pointer"}}),LeftBottom:(0,l.jsxs)("div",{className:"flex gap-8 items-center text-gray-500 text-sm",children:[e.owner_name&&(0,l.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,l.jsx)(k.C,{src:null==e?void 0:e.owner_avatar_url,className:"bg-gradient-to-tr from-[#31afff] to-[#1677ff] cursor-pointer",children:e.owner_name}),(0,l.jsx)("span",{children:e.owner_name})]}),"used"!==o&&(0,l.jsxs)("div",{className:"flex items-start gap-1",children:[(0,l.jsx)(O.Z,{type:"icon-hot",className:"text-lg"}),(0,l.jsx)("span",{className:"text-[#878c93]",children:e.hot_value})]})]}),scene:(null==e?void 0:null===(t=e.team_context)||void 0===t?void 0:t.chat_scene)||"chat_agent"},e.app_code)}):(0,l.jsx)(Z.Z,{image:(0,l.jsx)(M(),{src:"/pictures/empty.png",alt:"empty",width:142,height:133,className:"w-[142px] h-[133px]"}),className:"flex justify-center items-center w-full h-full min-h-[200px]"})})},L=a(7289),T=a(71841),z=a(27691),E=a(26869),A=a.n(E),D=function(){let{setCurrentDialogInfo:e}=(0,x.useContext)(P.p),{t}=(0,f.$G)(),a=(0,S.useRouter)(),[n,r]=(0,x.useState)(""),[i,o]=(0,x.useState)(!1),[c,d]=(0,x.useState)(!1),u=async()=>{let[,t]=await (0,s.Vx)((0,s.sW)({chat_mode:"chat_normal"}));t&&(null==e||e({chat_scene:t.chat_mode,app_code:t.chat_mode}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:t.chat_mode,app_code:t.chat_mode})),localStorage.setItem(L.rU,JSON.stringify({id:t.conv_uid,message:n})),a.push("/chat/?scene=chat_normal&id=".concat(t.conv_uid))),r("")};return(0,l.jsxs)("div",{className:"flex flex-1 h-12 p-2 pl-4 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border-t border-b border-l border-r ".concat(i?"border-[#0c75fc]":""),children:[(0,l.jsx)(T.default.TextArea,{placeholder:t("input_tips"),className:"w-full resize-none border-0 p-0 focus:shadow-none",value:n,autoSize:{minRows:1},onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&!c&&(e.preventDefault(),n.trim()&&u())},onChange:e=>{r(e.target.value)},onFocus:()=>{o(!0)},onBlur:()=>o(!1),onCompositionStart:()=>d(!0),onCompositionEnd:()=>d(!1)}),(0,l.jsx)(z.ZP,{type:"primary",className:A()("flex items-center justify-center w-14 h-8 rounded-lg text-sm bg-button-gradient border-0",{"opacity-40 cursor-not-allowed":!n.trim()}),onClick:()=>{n.trim()&&u()},children:t("sent")})]})},J=a(5381),W=a(42518),G=a(197),I=a(83930),$=function(){let{setCurrentDialogInfo:e,model:t}=(0,x.useContext)(P.p),a=(0,S.useRouter)(),[n,r]=(0,x.useState)({app_list:[],total_count:0}),[i,o]=(0,x.useState)("recommend"),c=e=>(0,s.Vx)((0,s.yk)({...e,page_no:"1",page_size:"6"})),d=e=>(0,s.Vx)((0,s.mW)({page_no:"1",page_size:"6",...e})),{run:u,loading:m,refresh:p}=(0,v.Z)(async e=>{switch(i){case"recommend":return await d({});case"used":return await c({is_recent_used:"true",need_owner_info:"true",...e&&{app_name:e}});default:return[]}},{manual:!0,onSuccess:e=>{let[t,a]=e;if("recommend"===i)return r({app_list:a,total_count:(null==a?void 0:a.length)||0});r(a||{})},debounceWait:500});(0,x.useEffect)(()=>{u()},[i,u]);let h=[{value:"recommend",label:(0,I.t)("recommend_apps")},{value:"used",label:(0,I.t)("used_apps")}],{data:f}=(0,v.Z)(async()=>{let[,e]=await (0,s.Vx)((0,J.A)({is_hot_question:"true"}));return null!=e?e:[]});return(0,l.jsx)(W.ZP,{theme:{components:{Button:{defaultBorderColor:"white"},Segmented:{itemSelectedBg:"#2867f5",itemSelectedColor:"white"}}},children:(0,l.jsxs)("div",{className:"px-28 py-10 h-full flex flex-col justify-between",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex justify-between",children:[(0,l.jsx)(G.Z,{className:"backdrop-filter h-10 backdrop-blur-lg bg-white bg-opacity-30 border border-white rounded-lg shadow p-1 dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60",options:h,value:i,onChange:e=>{o(e)}}),(0,l.jsxs)("span",{className:"flex items-center text-gray-500 gap-1 dark:text-slate-300",children:[(0,l.jsx)("span",{children:(0,I.t)("app_in_mind")}),(0,l.jsxs)("span",{className:"flex items-center cursor-pointer",onClick:()=>{a.push("/")},children:[(0,l.jsx)(M(),{src:"/pictures/explore_active.png",alt:"construct_image",width:24,height:24},"image_explore"),(0,l.jsx)("span",{className:"text-default",children:(0,I.t)("explore")})]}),(0,l.jsx)("span",{children:(0,I.t)("Discover_more")})]})]}),(0,l.jsx)(V,{apps:(null==n?void 0:n.app_list)||[],loading:m,refresh:p,type:i}),f&&f.length>0&&(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"font-medium text-xl my-4",children:(0,I.t)("help")}),(0,l.jsx)("div",{className:"flex justify-start gap-4",children:f.map(n=>(0,l.jsxs)("span",{className:"flex gap-4 items-center backdrop-filter backdrop-blur-lg cursor-pointer bg-white bg-opacity-70 border-0 rounded-lg shadow p-2 relative dark:bg-[#6f7f95] dark:bg-opacity-60",onClick:async()=>{let[,l]=await (0,s.Vx)((0,s.sW)({chat_mode:"chat_knowledge",model:t}));l&&(null==e||e({chat_scene:l.chat_mode,app_code:n.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:l.chat_mode,app_code:n.app_code})),localStorage.setItem(L.rU,JSON.stringify({id:l.conv_uid,message:n.question})),a.push("/chat/?scene=".concat(l.chat_mode,"&id=").concat(null==l?void 0:l.conv_uid)))},children:[(0,l.jsx)("span",{children:n.question}),(0,l.jsx)(M(),{src:"/icons/send.png",alt:"construct_image",width:20,height:20},"image_explore")]},n.id))})]})]}),(0,l.jsx)("div",{children:(0,l.jsx)(D,{})})]})})},q=a(45875),F=a(1858),B=a(72828),H=a(67620),U=a(60205),K=a(47309),X=a(39069),Y=a(61977),Q=(0,x.memo)(()=>{let{modelList:e}=(0,x.useContext)(P.p),{appInfo:t,modelValue:a,setModelValue:s}=(0,x.useContext)(eC),{t:n}=(0,f.$G)(),r=(0,x.useMemo)(()=>{var e;return(null===(e=t.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[t.param_need]);return r.includes("model")?(0,l.jsx)(X.default,{value:a,placeholder:n("choose_model"),className:"h-8 rounded-3xl",onChange:e=>{s(e)},popupMatchSelectWidth:300,children:e.map(e=>(0,l.jsx)(X.default.Option,{children:(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(Y.Z,{model:e}),(0,l.jsx)("span",{className:"ml-2",children:e})]})},e))}):(0,l.jsx)(U.Z,{title:n("model_tip"),children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,l.jsx)(K.Z,{className:"text-xl cursor-not-allowed opacity-30"})})})}),ee=a(59321),et=a(67423),ea=a(71534),el=a(77200),es=a(32818),en=(0,x.memo)(e=>{var t,a,n,r,i;let{fileList:o,setFileList:c,setLoading:d,fileName:u}=e,{setResourceValue:m,appInfo:p,refreshHistory:h,refreshDialogList:g,modelValue:_,resourceValue:b}=(0,x.useContext)(eC),j=(0,q.useSearchParams)(),y=null!==(t=null==j?void 0:j.get("scene"))&&void 0!==t?t:"",w=null!==(a=null==j?void 0:j.get("id"))&&void 0!==a?a:"",{t:N}=(0,f.$G)(),[k,Z]=(0,x.useState)([]),S=(0,x.useMemo)(()=>{var e;return(null===(e=p.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[p.param_need]),C=(0,x.useMemo)(()=>{var e,t;return S.includes("resource")&&(null===(e=null===(t=p.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type)[0])||void 0===e?void 0:e.value)==="database"},[p.param_need,S]),P=(0,x.useMemo)(()=>{var e,t;return S.includes("resource")&&(null===(e=null===(t=p.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type)[0])||void 0===e?void 0:e.value)==="knowledge"},[p.param_need,S]),R=(0,x.useMemo)(()=>{var e;return null===(e=p.param_need)||void 0===e?void 0:e.find(e=>"resource"===e.type)},[p.param_need]),{run:M,loading:O}=(0,v.Z)(async()=>await (0,s.Vx)((0,s.vD)(y)),{manual:!0,onSuccess:e=>{let[,t]=e;Z(null!=t?t:[])}});(0,el.Z)(async()=>{(C||P)&&!(null==R?void 0:R.bind_value)&&await M()},[C,P,R]);let V=(0,x.useMemo)(()=>{var e;return null===(e=k.map)||void 0===e?void 0:e.call(k,e=>({label:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ee.Z,{width:24,height:24,src:L.S$[e.type].icon,label:L.S$[e.type].label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.param]}),value:e.param}))},[k]),T=(0,x.useCallback)(async()=>{let e=new FormData;e.append("doc_file",null==o?void 0:o[0]),d(!0);let[t,a]=await (0,s.Vx)((0,s.qn)({convUid:w,chatMode:y,data:e,model:_,config:{timeout:36e5}})).finally(()=>{d(!1)});a&&(m(a),await h(),await g())},[w,o,_,g,h,y,d,m]);if(!S.includes("resource"))return(0,l.jsx)(U.Z,{title:N("extend_tip"),children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,l.jsx)(et.Z,{className:"text-lg cursor-not-allowed opacity-30"})})});switch(null==R?void 0:R.value){case"excel_file":case"text_file":case"image_file":return(0,l.jsx)(es.default,{name:"file",accept:".csv,.xlsx,.xls",fileList:o,showUploadList:!1,beforeUpload:(e,t)=>{null==c||c(t)},customRequest:T,disabled:!!u||!!(null===(n=o[0])||void 0===n?void 0:n.name),children:(0,l.jsx)(U.Z,{title:N("file_tip"),arrow:!1,placement:"bottom",children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,l.jsx)(ea.Z,{className:A()("text-xl",{"cursor-pointer":!(u||(null===(r=o[0])||void 0===r?void 0:r.name))})})})})});case"database":case"knowledge":case"plugin":case"awel_flow":return b||m(null==V?void 0:null===(i=V[0])||void 0===i?void 0:i.value),(0,l.jsx)(X.default,{value:b,className:"w-52 h-8 rounded-3xl",onChange:e=>{m(e)},disabled:!!(null==R?void 0:R.bind_value),loading:O,options:V})}}),er=a(27214),ei=a(62971),eo=a(28822),ec=a(91103),ed=(0,x.memo)(e=>{let{temperatureValue:t,setTemperatureValue:a}=e,{appInfo:s}=(0,x.useContext)(eC),{t:n}=(0,f.$G)(),r=(0,x.useMemo)(()=>{var e;return(null===(e=s.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[s.param_need]);if(!r.includes("temperature"))return(0,l.jsx)(U.Z,{title:n("temperature_tip"),children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,l.jsx)(er.Z,{className:"text-xl cursor-not-allowed opacity-30"})})});let i=e=>{isNaN(e)||a(e)};return(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(ei.Z,{arrow:!1,trigger:["click"],placement:"topLeft",content:()=>(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(eo.Z,{className:"w-20",min:0,max:1,step:.1,onChange:i,value:"number"==typeof t?t:0}),(0,l.jsx)(ec.Z,{size:"small",className:"w-14",min:0,max:1,step:.1,onChange:i,value:t})]}),children:(0,l.jsx)(U.Z,{title:n("temperature"),placement:"bottom",arrow:!1,children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,l.jsx)(er.Z,{})})})}),(0,l.jsx)("span",{className:"text-sm ml-2",children:t})]})}),eu=e=>{var t,a;let{ctrl:r}=e,{t:i}=(0,f.$G)(),{history:o,scrollRef:c,canAbort:d,replyLoading:u,currentDialogue:p,appInfo:h,temperatureValue:v,resourceValue:g,setTemperatureValue:_,refreshHistory:b,setCanAbort:j,setReplyLoading:y,handleChat:w}=(0,x.useContext)(eC),[N,k]=(0,x.useState)([]),[Z,S]=(0,x.useState)(!1),[C,P]=(0,x.useState)(!1),R=(0,x.useMemo)(()=>{var e;return(null===(e=h.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[h.param_need]),O=(0,x.useMemo)(()=>[{tip:i("stop_replying"),icon:(0,l.jsx)(F.Z,{className:A()({"text-[#0c75fc]":d})}),can_use:d,key:"abort",onClick:()=>{d&&(r.abort(),setTimeout(()=>{j(!1),y(!1)},100))}},{tip:i("answer_again"),icon:(0,l.jsx)(B.Z,{}),can_use:!u&&o.length>0,key:"redo",onClick:async()=>{var e,t;let a=null===(e=null===(t=o.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];w((null==a?void 0:a.context)||"",{app_code:h.app_code,...R.includes("temperature")&&{temperature:v},...R.includes("resource")&&{select_param:"string"==typeof g?g:JSON.stringify(g)||p.select_param}}),setTimeout(()=>{var e,t;null===(e=c.current)||void 0===e||e.scrollTo({top:null===(t=c.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"})},0)}},{tip:i("erase_memory"),icon:C?(0,l.jsx)(m.Z,{spinning:C,indicator:(0,l.jsx)(n.Z,{style:{fontSize:20}})}):(0,l.jsx)(H.Z,{}),can_use:o.length>0,key:"clear",onClick:async()=>{C||(P(!0),await (0,s.Vx)((0,s.zR)(p.conv_uid)).finally(async()=>{await b(),P(!1)}))}}],[i,d,u,o,C,r,j,y,w,h.app_code,R,v,g,p.select_param,p.conv_uid,c,b]),V=(0,x.useMemo)(()=>{try{return JSON.parse(p.select_param).file_name}catch(e){return""}},[p.select_param]);return(0,l.jsxs)("div",{className:"flex flex-col mb-2",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between h-full w-full",children:[(0,l.jsxs)("div",{className:"flex gap-3 text-lg",children:[(0,l.jsx)(Q,{}),(0,l.jsx)(en,{fileList:N,setFileList:k,setLoading:S,fileName:V}),(0,l.jsx)(ed,{temperatureValue:v,setTemperatureValue:_})]}),(0,l.jsx)("div",{className:"flex gap-1",children:(0,l.jsx)(l.Fragment,{children:O.map(e=>(0,l.jsx)(U.Z,{title:e.tip,arrow:!1,placement:"bottom",children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] text-lg ".concat(e.can_use?"cursor-pointer":"opacity-30 cursor-not-allowed"),onClick:()=>{var t;null===(t=e.onClick)||void 0===t||t.call(e)},children:e.icon})},e.key))})})]}),(V||(null===(t=N[0])||void 0===t?void 0:t.name))&&(0,l.jsx)("div",{className:"group/item flex mt-2",children:(0,l.jsxs)("div",{className:"flex items-center justify-between w-64 border border-[#e3e4e6] dark:border-[rgba(255,255,255,0.6)] rounded-lg p-2",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(M(),{src:"/icons/chat/excel.png",width:20,height:20,alt:"file-icon",className:"mr-2"}),(0,l.jsx)("span",{className:"text-sm text-[#1c2533] dark:text-white line-clamp-1",children:V||(null===(a=N[0])||void 0===a?void 0:a.name)})]}),(0,l.jsx)(m.Z,{spinning:Z,indicator:(0,l.jsx)(n.Z,{style:{fontSize:24},spin:!0})})]})})]})},em=e=>{var t;let{ctrl:a}=e,{t:s}=(0,f.$G)(),{scrollRef:r,replyLoading:i,handleChat:o,appInfo:c,currentDialogue:d,temperatureValue:u,resourceValue:p,refreshDialogList:h}=(0,x.useContext)(eC),v=(0,q.useSearchParams)();null==v||v.get("scene");let g=null!==(t=null==v?void 0:v.get("select_param"))&&void 0!==t?t:"",[_,b]=(0,x.useState)(""),[j,y]=(0,x.useState)(!1),[w,N]=(0,x.useState)(!1),k=(0,x.useRef)(0),Z=(0,x.useMemo)(()=>{var e;return(null===(e=c.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[c.param_need]),S=async()=>{k.current++,setTimeout(()=>{var e,t;null===(e=r.current)||void 0===e||e.scrollTo({top:null===(t=r.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"}),b("")},0),await o(_,{app_code:c.app_code||"",...Z.includes("temperature")&&{temperature:u},select_param:g,...Z.includes("resource")&&{select_param:"string"==typeof p?p:JSON.stringify(p)||d.select_param}}),1===k.current&&await h()};return(0,l.jsx)("div",{className:"flex flex-col w-5/6 mx-auto pt-4 pb-6 bg-transparent",children:(0,l.jsxs)("div",{className:"flex flex-1 flex-col bg-white dark:bg-[rgba(255,255,255,0.16)] px-5 py-4 pt-2 rounded-xl relative border-t border-b border-l border-r dark:border-[rgba(255,255,255,0.6)] ".concat(j?"border-[#0c75fc]":""),id:"input-panel",children:[(0,l.jsx)(eu,{ctrl:a}),(0,l.jsx)(T.default.TextArea,{placeholder:s("input_tips"),className:"w-full h-20 resize-none border-0 p-0 focus:shadow-none dark:bg-transparent",value:_,onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&!w&&(e.preventDefault(),_.trim()&&!i&&S())},onChange:e=>{b(e.target.value)},onFocus:()=>{y(!0)},onBlur:()=>y(!1),onCompositionStart:()=>N(!0),onCompositionEnd:()=>N(!1)}),(0,l.jsx)(z.ZP,{type:"primary",className:A()("flex items-center justify-center w-14 h-8 rounded-lg text-sm absolute right-4 bottom-3 bg-button-gradient border-0",{"cursor-not-allowed":!_.trim()}),onClick:()=>{!i&&_.trim()&&S()},children:i?(0,l.jsx)(m.Z,{spinning:i,indicator:(0,l.jsx)(n.Z,{className:"text-white"})}):s("sent")})]})})},ep=a(1952),eh=a(2537),ex=a(47271),ef=a(60943),ev=a(41993),eg=a(79839),e_=a(58898);let{Sider:eb}=ev.default,ej={display:"flex",alignItems:"center",justifyContent:"center",width:16,height:48,position:"absolute",top:"50%",transform:"translateY(-50%)",border:"1px solid #d6d8da",borderRadius:8,right:-8},ey=e=>{var t,a;let{item:n,refresh:r,historyLoading:i,order:o}=e,{t:d}=(0,f.$G)(),m=(0,q.useRouter)(),p=(0,q.useSearchParams)(),v=null!==(t=null==p?void 0:p.get("id"))&&void 0!==t?t:"",g=null!==(a=null==p?void 0:p.get("scene"))&&void 0!==a?a:"",{setCurrentDialogInfo:_}=(0,x.useContext)(P.p),b=(0,x.useMemo)(()=>n.default?n.default&&!v&&!g:n.conv_uid===v&&n.chat_mode===g,[v,g,n]),j=()=>{eg.default.confirm({title:d("delete_chat"),content:d("delete_chat_confirm"),centered:!0,onOk:async()=>{let[e]=await (0,s.Vx)((0,s.MX)(n.conv_uid));e||(await (null==r?void 0:r()),n.conv_uid===v&&m.push("/chat"))}})};return(0,l.jsxs)(e_.Z,{align:"center",className:"group/item w-full h-12 p-3 rounded-lg hover:bg-white dark:hover:bg-theme-dark cursor-pointer mb-2 relative ".concat(b?"bg-white dark:bg-theme-dark bg-opacity-100":""),onClick:()=>{i||(n.default||null==_||_({chat_scene:n.chat_mode,app_code:n.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:n.chat_mode,app_code:n.app_code})),m.push(n.default?"/chat":"?scene=".concat(n.chat_mode,"&id=").concat(n.conv_uid)))},children:[(0,l.jsx)(U.Z,{title:n.chat_mode,children:(0,l.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg mr-3 bg-white",children:n.icon})}),(0,l.jsx)("div",{className:"flex flex-1 line-clamp-1",children:(0,l.jsx)(u.Z.Text,{ellipsis:{tooltip:!0},children:n.label})}),!n.default&&(0,l.jsxs)("div",{className:"flex gap-1 ml-1",children:[(0,l.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0",onClick:e=>{e.stopPropagation()},children:(0,l.jsx)(ep.Z,{style:{fontSize:16},onClick:()=>{let e=h()("".concat(location.origin,"/chat?scene=").concat(n.chat_mode,"&id=").concat(n.conv_uid));c.ZP[e?"success":"error"](e?d("copy_success"):d("copy_failed"))}})}),(0,l.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0",onClick:e=>{e.stopPropagation(),j()},children:(0,l.jsx)(eh.Z,{style:{fontSize:16}})})]}),(0,l.jsx)("div",{className:" w-1 rounded-sm bg-[#0c75fc] absolute top-1/2 left-0 -translate-y-1/2 transition-all duration-500 ease-in-out ".concat(b?"h-5":"w-0 h-0")})]})};var ew=e=>{var t;let{dialogueList:a=[],refresh:s,historyLoading:n,listLoading:r,order:i}=e,o=(0,q.useSearchParams)(),c=null!==(t=null==o?void 0:o.get("scene"))&&void 0!==t?t:"",{t:d}=(0,f.$G)(),{mode:u}=(0,x.useContext)(P.p),[p,h]=(0,x.useState)("chat_dashboard"===c),v=(0,x.useMemo)(()=>p?{...ej,right:-16,borderRadius:"0px 8px 8px 0",borderLeft:"1px solid #d5e5f6"}:{...ej,borderLeft:"1px solid #d6d8da"},[p]),_=(0,x.useMemo)(()=>{let e=a[1]||[];return(null==e?void 0:e.length)>0?e.map(e=>({...e,label:e.user_input||e.select_param,key:e.conv_uid,icon:(0,l.jsx)(g.Z,{scene:e.chat_mode}),default:!1})):[]},[a]);return(0,l.jsx)(eb,{className:"bg-[#ffffff80] border-r border-[#d5e5f6] dark:bg-[#ffffff29] dark:border-[#ffffff66]",theme:u,width:280,collapsible:!0,collapsed:p,collapsedWidth:0,trigger:p?(0,l.jsx)(ex.Z,{className:"text-base"}):(0,l.jsx)(ef.Z,{className:"text-base"}),zeroWidthTriggerStyle:v,onCollapse:e=>h(e),children:(0,l.jsxs)("div",{className:"flex flex-col h-full w-full bg-transparent px-4 pt-6 ",children:[(0,l.jsx)("div",{className:"w-full text-base font-semibold text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] mb-4 line-clamp-1",children:d("dialog_list")}),(0,l.jsxs)(e_.Z,{flex:1,vertical:!0,className:"overflow-y-auto",children:[(0,l.jsx)(ey,{item:{label:d("assistant"),key:"default",icon:(0,l.jsx)(M(),{src:"/LOGO_SMALL.png",alt:"default",width:24,height:24,className:"flex-1"}),default:!0},order:i}),(0,l.jsx)(m.Z,{spinning:r,className:"mt-2",children:!!(null==_?void 0:_.length)&&_.map(e=>(0,l.jsx)(ey,{item:e,refresh:s,historyLoading:n,order:i},null==e?void 0:e.key))})]})]})})},eN=a(78638);let ek=y()(()=>Promise.all([a.e(7521),a.e(5197),a.e(6370),a.e(1320),a.e(9223),a.e(2476),a.e(4162),a.e(9790),a.e(1766),a.e(9094),a.e(7389),a.e(2672),a.e(6573)]).then(a.bind(a,21601)),{loadableGenerated:{webpack:()=>[21601]},ssr:!1}),eZ=y()(()=>Promise.all([a.e(7521),a.e(5197),a.e(6370),a.e(5360),a.e(5996),a.e(1320),a.e(9223),a.e(2476),a.e(4162),a.e(1657),a.e(9790),a.e(1766),a.e(8957),a.e(3549),a.e(9094),a.e(7389),a.e(7123),a.e(5286),a.e(5891),a.e(9549),a.e(2672),a.e(6858)]).then(a.bind(a,62048)),{loadableGenerated:{webpack:()=>[62048]},ssr:!1}),{Content:eS}=ev.default,eC=(0,x.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,resourceValue:{},modelValue:"",setModelValue:()=>{},setResourceValue:()=>{},setTemperatureValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve()});var eP=()=>{var e,t,a,n;let{model:r,currentDialogInfo:i}=(0,x.useContext)(P.p),{isContract:o,setIsContract:c,setIsMenuExpand:d}=(0,x.useContext)(P.p),{chat:u,ctrl:p}=(0,eN.Z)({app_code:i.app_code||""}),h=(0,q.useSearchParams)(),f=null!==(e=null==h?void 0:h.get("id"))&&void 0!==e?e:"",g=null!==(t=null==h?void 0:h.get("scene"))&&void 0!==t?t:"",_=null!==(a=null==h?void 0:h.get("knowledge_id"))&&void 0!==a?a:"",b=null!==(n=null==h?void 0:h.get("db_name"))&&void 0!==n?n:"",j=(0,x.useRef)(null),y=(0,x.useRef)(1),[w,k]=(0,x.useState)([]),[Z,S]=(0,x.useState)(),[C,R]=(0,x.useState)(!1),[M,O]=(0,x.useState)(!1),[V,T]=(0,x.useState)(""),[z,E]=(0,x.useState)({}),[A,D]=(0,x.useState)(),[J,W]=(0,x.useState)(),[G,I]=(0,x.useState)("");(0,x.useEffect)(()=>{var e,t,a,l,s,n;D((null===(e=null==z?void 0:null===(t=z.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type)[0])||void 0===e?void 0:e.value)||.5),I((null===(a=null==z?void 0:null===(l=z.param_need)||void 0===l?void 0:l.filter(e=>"model"===e.type)[0])||void 0===a?void 0:a.value)||r),W(_||b||(null===(s=null==z?void 0:null===(n=z.param_need)||void 0===n?void 0:n.filter(e=>"resource"===e.type)[0])||void 0===s?void 0:s.bind_value))},[z,b,_,r]),(0,x.useEffect)(()=>{d("chat_dashboard"!==g),f&&g&&c(!1)},[f,g]);let F=(0,x.useMemo)(()=>!f&&!g,[f,g]),{data:B=[],refresh:H,loading:U}=(0,v.Z)(async()=>await (0,s.Vx)((0,s.iP)())),{run:K,refresh:X}=(0,v.Z)(async()=>await (0,s.Vx)((0,s.BN)({...i})),{manual:!0,onSuccess:e=>{let[,t]=e;E(t||{})}}),Y=(0,x.useMemo)(()=>{let[,e]=B;return(null==e?void 0:e.find(e=>e.conv_uid===f))||{}},[f,B]);(0,x.useEffect)(()=>{let e=(0,L.a_)();i.chat_scene!==g||F||e&&e.message||K()},[f,i,F,K,g]);let{run:Q,loading:ee,refresh:et}=(0,v.Z)(async()=>await (0,s.Vx)((0,s.$i)(f)),{manual:!0,onSuccess:e=>{let[,t]=e,a=null==t?void 0:t.filter(e=>"view"===e.role);a&&a.length>0&&(y.current=a[a.length-1].order+1),k(t||[])}}),ea=(0,x.useCallback)((e,t)=>new Promise(a=>{let l=(0,L.a_)(),s=new AbortController;if(R(!0),w&&w.length>0){var n,r;let e=null==w?void 0:w.filter(e=>"view"===e.role),t=null==w?void 0:w.filter(e=>"human"===e.role);y.current=((null===(n=e[e.length-1])||void 0===n?void 0:n.order)||(null===(r=t[t.length-1])||void 0===r?void 0:r.order))+1}let i=[...l&&l.id===f?[]:w,{role:"human",context:e,model_name:(null==t?void 0:t.model_name)||G,order:y.current,time_stamp:0},{role:"view",context:"",model_name:(null==t?void 0:t.model_name)||G,order:y.current,time_stamp:0,thinking:!0}],o=i.length-1;k([...i]),u({data:{chat_mode:g,model_name:G,user_input:e,...t},ctrl:s,chatId:f,onMessage:e=>{O(!0),(null==t?void 0:t.incremental)?(i[o].context+=e,i[o].thinking=!1):(i[o].context=e,i[o].thinking=!1),k([...i])},onDone:()=>{R(!1),O(!1),a()},onClose:()=>{R(!1),O(!1),a()},onError:e=>{R(!1),O(!1),i[o].context=e,i[o].thinking=!1,k([...i]),a()}})}),[f,w,G,u,g]);return(0,el.Z)(async()=>{if(F)return;let e=(0,L.a_)();e&&e.id===f||await Q()},[f,g,Q]),(0,x.useEffect)(()=>{F&&(y.current=1,k([]))},[F]),(0,l.jsx)(eC.Provider,{value:{history:w,replyLoading:C,scrollRef:j,canAbort:M,chartsData:Z||[],agent:V,currentDialogue:Y,appInfo:z,temperatureValue:A,resourceValue:J,modelValue:G,setModelValue:I,setResourceValue:W,setTemperatureValue:D,setAppInfo:E,setAgent:T,setCanAbort:O,setReplyLoading:R,handleChat:ea,refreshDialogList:H,refreshHistory:et,refreshAppInfo:X,setHistory:k},children:(0,l.jsx)(e_.Z,{flex:1,children:(0,l.jsxs)(ev.default,{className:"bg-gradient-light bg-cover bg-center dark:bg-gradient-dark",children:[(0,l.jsx)(ew,{refresh:H,dialogueList:B,listLoading:U,historyLoading:ee,order:y}),(0,l.jsx)(ev.default,{className:"bg-transparent",children:"chat_dashboard"===g?o?(0,l.jsx)(ek,{}):(0,l.jsx)(eZ,{}):F?(0,l.jsx)(eS,{children:(0,l.jsx)($,{})}):(0,l.jsx)(m.Z,{spinning:ee,className:"w-full h-full m-auto",children:(0,l.jsxs)(eS,{className:"flex flex-col h-screen",children:[(0,l.jsx)(N,{ref:j}),(0,l.jsx)(em,{ctrl:p})]})})})]})})})}},96768:function(){}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2061-90f6d1922e966a05.js b/dbgpt/app/static/web/_next/static/chunks/2061-90f6d1922e966a05.js deleted file mode 100644 index b260e2438..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/2061-90f6d1922e966a05.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2061],{59321:function(e,t,a){"use strict";var l=a(96469),s=a(23852),n=a.n(s);t.Z=function(e){let{src:t,label:a,width:s,height:r,className:o}=e;return(0,l.jsx)(n(),{className:"w-11 h-11 rounded-full mr-4 border border-gray-200 object-contain bg-white ".concat(o),width:s||44,height:r||44,src:t,alt:a||"db-icon"})}},78638:function(e,t,a){"use strict";var l=a(33573),s=a(7289),n=a(88506),r=a(44875),o=a(70351),i=a(38497),c=a(45277),d=a(75299);t.Z=e=>{let{queryAgentURL:t="/api/v1/chat/completions",app_code:a}=e,[u,m]=(0,i.useState)({}),{scene:p}=(0,i.useContext)(c.p),h=(0,i.useCallback)(async e=>{let{data:i,chatId:c,onMessage:u,onClose:h,onDone:x,onError:f,ctrl:v}=e;if(v&&m(v),!(null==i?void 0:i.user_input)&&!(null==i?void 0:i.doc_id)){o.ZP.warning(l.Z.t("no_context_tip"));return}let g={...i,conv_uid:c,app_code:a};try{var _,b;await (0,r.L)("".concat(null!==(_=d.env.API_BASE_URL)&&void 0!==_?_:"").concat(t),{method:"POST",headers:{"Content-Type":"application/json",[n.gp]:null!==(b=(0,s.n5)())&&void 0!==b?b:""},body:JSON.stringify(g),signal:v?v.signal:null,openWhenHidden:!0,async onopen(e){e.ok&&e.headers.get("content-type")===r.a||"application/json"!==e.headers.get("content-type")||e.json().then(e=>{null==u||u(e),null==x||x(),v&&v.abort()})},onclose(){v&&v.abort(),null==h||h()},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t="chat_agent"===p?JSON.parse(t).vis:JSON.parse(t)}catch(e){t.replaceAll("\\n","\n")}"string"==typeof t?"[DONE]"===t?null==x||x():(null==t?void 0:t.startsWith("[ERROR]"))?null==f||f(null==t?void 0:t.replace("[ERROR]","")):null==u||u(t):(null==u||u(t),null==x||x())}})}catch(e){v&&v.abort(),null==f||f("Sorry, We meet some error, please try agin later.",e)}},[t,a,p]);return{chat:h,ctrl:u}}},52903:function(e,t,a){"use strict";a.d(t,{TH:function(){return x},ZS:function(){return f}});var l=a(96469),s=a(52896),n=a(60205),r=a(87674),o=a(21840),i=a(80335),c=a(26869),d=a.n(c),u=a(83930),m=a(23852),p=a.n(m);a(38497);var h=a(26953);a(96768);let x=e=>{let{onClick:t,Icon:a="/pictures/card_chat.png",text:s=(0,u.t)("start_chat")}=e;return"string"==typeof a&&(a=(0,l.jsx)(p(),{src:a,alt:a,width:17,height:15})),(0,l.jsxs)("div",{className:"flex items-center gap-1 text-default",onClick:e=>{e.stopPropagation(),t&&t()},children:[a,(0,l.jsx)("span",{children:s})]})},f=e=>{let{menu:t}=e;return(0,l.jsx)(i.Z,{menu:t,getPopupContainer:e=>e.parentNode,placement:"bottomRight",autoAdjustOverflow:!1,children:(0,l.jsx)(s.Z,{className:"p-2 hover:bg-white hover:dark:bg-black rounded-md"})})};t.ZP=e=>{let{RightTop:t,Tags:a,LeftBottom:s,RightBottom:i,onClick:c,rightTopHover:u=!0,logo:m,name:x,description:f,className:v,scene:g,code:_}=e;return"string"==typeof f&&(f=(0,l.jsx)("p",{className:"line-clamp-2 relative bottom-4 text-ellipsis min-h-[42px] text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)]",children:f})),(0,l.jsx)("div",{className:d()("hover-underline-gradient flex justify-center mt-6 relative group w-1/3 px-2 mb-6",v),children:(0,l.jsxs)("div",{onClick:c,className:"backdrop-filter backdrop-blur-lg cursor-pointer bg-white bg-opacity-70 border-2 border-white rounded-lg shadow p-4 relative w-full h-full dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60",children:[(0,l.jsxs)("div",{className:"flex items-end relative bottom-8 justify-between w-full",children:[(0,l.jsxs)("div",{className:"flex items-end gap-4 w-11/12",children:[(0,l.jsx)("div",{className:"bg-white rounded-lg shadow-sm w-14 h-14 flex items-center p-3",children:g?(0,l.jsx)(h.Z,{scene:g,width:14,height:14}):m&&(0,l.jsx)(p(),{src:m,width:44,height:44,alt:x,className:"w-8 min-w-8 rounded-full"})}),(0,l.jsx)("div",{children:x.length>6?(0,l.jsx)(n.Z,{title:x,children:(0,l.jsx)("span",{className:"truncate font-semibold text-base",style:{maxWidth:"60%"},children:x})}):(0,l.jsx)("span",{className:"truncate font-semibold text-base",style:{maxWidth:"60%"},children:x})})]}),(0,l.jsx)("span",{className:d()({hidden:u,"group-hover:block":u}),onClick:e=>{e.stopPropagation()},children:t})]}),f,(0,l.jsx)("div",{className:"relative bottom-2",children:a}),(0,l.jsxs)("div",{className:"flex justify-between items-center",children:[(0,l.jsx)("div",{children:s}),(0,l.jsx)("div",{children:i})]}),_&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.Z,{className:"my-3"}),(0,l.jsx)(o.Z.Text,{copyable:!0,className:"absolute bottom-1 right-4 text-xs text-gray-500",children:_})]})]})})}},12061:function(e,t,a){"use strict";a.r(t),a.d(t,{ChatContentContext:function(){return eC},default:function(){return eP}});var l=a(96469),s=a(27623),n=a(37022),r=a(629),o=a(72804),i=a(98028),c=a(70351),d=a(49030),u=a(21840),m=a(42786),p=a(93486),h=a.n(p),x=a(38497),f=a(56841),v=a(16602),g=a(26953);let _=["magenta","orange","geekblue","purple","cyan","green"];var b=e=>{var t,a,p,b,j,y;let{isScrollToTop:w}=e,{appInfo:N,refreshAppInfo:k,handleChat:Z,scrollRef:S,temperatureValue:C,resourceValue:P,currentDialogue:R}=(0,x.useContext)(eC),{t:M}=(0,f.$G)(),O=(0,x.useMemo)(()=>{var e;return(null==N?void 0:null===(e=N.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent"},[N]),V=(0,x.useMemo)(()=>(null==N?void 0:N.is_collected)==="true",[N]),{run:L,loading:T}=(0,v.Z)(async()=>{let[e]=await (0,s.Vx)(V?(0,s.gD)({app_code:N.app_code}):(0,s.mo)({app_code:N.app_code}));if(!e)return await k()},{manual:!0}),z=(0,x.useMemo)(()=>{var e;return(null===(e=N.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[N.param_need]);if(!Object.keys(N).length)return null;let E=async()=>{let e=h()(location.href);c.ZP[e?"success":"error"](e?M("copy_success"):M("copy_failed"))};return(0,l.jsx)("div",{className:"h-20 mt-6 ".concat((null==N?void 0:N.recommend_questions)&&(null==N?void 0:null===(t=N.recommend_questions)||void 0===t?void 0:t.length)>0?"mb-6":""," sticky top-0 bg-transparent z-30 transition-all duration-400 ease-in-out"),children:w?(0,l.jsxs)("header",{className:"flex items-center justify-between w-full h-14 bg-[#ffffffb7] dark:bg-[rgba(41,63,89,0.4)] px-8 transition-all duration-500 ease-in-out",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg mr-2 bg-white",children:(0,l.jsx)(g.Z,{scene:O})}),(0,l.jsxs)("div",{className:"flex items-center text-base text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] font-semibold gap-2",children:[(0,l.jsx)("span",{children:null==N?void 0:N.app_name}),(0,l.jsxs)("div",{className:"flex gap-1",children:[(null==N?void 0:N.team_mode)&&(0,l.jsx)(d.Z,{color:"green",children:null==N?void 0:N.team_mode}),(null==N?void 0:null===(a=N.team_context)||void 0===a?void 0:a.chat_scene)&&(0,l.jsx)(d.Z,{color:"cyan",children:null==N?void 0:null===(p=N.team_context)||void 0===p?void 0:p.chat_scene})]})]})]}),(0,l.jsxs)("div",{className:"flex gap-8",onClick:async()=>{await L()},children:[T?(0,l.jsx)(m.Z,{spinning:T,indicator:(0,l.jsx)(n.Z,{style:{fontSize:24},spin:!0})}):(0,l.jsx)(l.Fragment,{children:V?(0,l.jsx)(r.Z,{style:{fontSize:18},className:"text-yellow-400 cursor-pointer"}):(0,l.jsx)(o.Z,{style:{fontSize:18,cursor:"pointer"}})}),(0,l.jsx)(i.Z,{className:"text-lg",onClick:e=>{e.stopPropagation(),E()}})]})]}):(0,l.jsxs)("header",{className:"flex items-center justify-between w-5/6 h-full px-6 bg-[#ffffff99] border dark:bg-[rgba(255,255,255,0.1)] dark:border-[rgba(255,255,255,0.1)] rounded-2xl mx-auto transition-all duration-400 ease-in-out relative",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"flex w-12 h-12 justify-center items-center rounded-xl mr-4 bg-white",children:(0,l.jsx)(g.Z,{scene:O,width:16,height:16})}),(0,l.jsxs)("div",{className:"flex flex-col flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center text-base text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] font-semibold gap-2",children:[(0,l.jsx)("span",{children:null==N?void 0:N.app_name}),(0,l.jsxs)("div",{className:"flex gap-1",children:[(null==N?void 0:N.team_mode)&&(0,l.jsx)(d.Z,{color:"green",children:null==N?void 0:N.team_mode}),(null==N?void 0:null===(b=N.team_context)||void 0===b?void 0:b.chat_scene)&&(0,l.jsx)(d.Z,{color:"cyan",children:null==N?void 0:null===(j=N.team_context)||void 0===j?void 0:j.chat_scene})]})]}),(0,l.jsx)(u.Z.Text,{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",ellipsis:{tooltip:!0},children:null==N?void 0:N.app_describe})]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-4",children:[(0,l.jsx)("div",{onClick:async()=>{await L()},className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:T?(0,l.jsx)(m.Z,{spinning:T,indicator:(0,l.jsx)(n.Z,{style:{fontSize:24},spin:!0})}):(0,l.jsx)(l.Fragment,{children:V?(0,l.jsx)(r.Z,{style:{fontSize:18},className:"text-yellow-400 cursor-pointer"}):(0,l.jsx)(o.Z,{style:{fontSize:18,cursor:"pointer"}})})}),(0,l.jsx)("div",{onClick:E,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,l.jsx)(i.Z,{className:"text-lg"})})]}),!!(null==N?void 0:null===(y=N.recommend_questions)||void 0===y?void 0:y.length)&&(0,l.jsxs)("div",{className:"absolute bottom-[-40px] left-0",children:[(0,l.jsx)("span",{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",children:"或许你想问:"}),N.recommend_questions.map((e,t)=>(0,l.jsx)(d.Z,{color:_[t],className:"text-xs p-1 px-2 cursor-pointer",onClick:async()=>{Z((null==e?void 0:e.question)||"",{app_code:N.app_code,...z.includes("temperature")&&{temperature:C},...z.includes("resource")&&{select_param:"string"==typeof P?P:JSON.stringify(P)||R.select_param}}),setTimeout(()=>{var e,t;null===(e=S.current)||void 0===e||e.scrollTo({top:null===(t=S.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"})},0)},children:e.question},e.id))]})]})})},j=a(28469),y=a.n(j);let w=y()(()=>Promise.all([a.e(7521),a.e(5197),a.e(6370),a.e(5996),a.e(9223),a.e(3127),a.e(9790),a.e(4506),a.e(1657),a.e(3093),a.e(4399),a.e(7463),a.e(6101),a.e(9975),a.e(2957),a.e(5891),a.e(9549),a.e(2672),a.e(3272)]).then(a.bind(a,54865)),{loadableGenerated:{webpack:()=>[54865]},ssr:!1});var N=(0,x.forwardRef)((e,t)=>{let{}=e,a=(0,x.useRef)(null),[s,n]=(0,x.useState)(!1);return(0,x.useImperativeHandle)(t,()=>a.current),(0,x.useEffect)(()=>(a.current&&a.current.addEventListener("scroll",()=>{var e;let t=(null===(e=a.current)||void 0===e?void 0:e.scrollTop)||0;t>=74?n(!0):n(!1)}),()=>{a.current&&a.current.removeEventListener("scroll",()=>{})}),[]),(0,l.jsx)("div",{className:"flex flex-1 overflow-hidden",children:(0,l.jsxs)("div",{ref:a,className:"h-full w-full mx-auto overflow-y-auto",children:[(0,l.jsx)(b,{isScrollToTop:s}),(0,l.jsx)(w,{})]})})}),k=a(19629),Z=a(97818),S=a(87313),C=a(52903),P=a(45277),R=a(23852),M=a.n(R),O=a(58526),V=e=>{let{apps:t,refresh:a,loading:n,type:i}=e,c=async e=>{let[t]=await (0,s.Vx)("true"===e.is_collected?(0,s.gD)({app_code:e.app_code}):(0,s.mo)({app_code:e.app_code}));t||a()},{setAgent:d,model:u,setCurrentDialogInfo:p}=(0,x.useContext)(P.p),h=(0,S.useRouter)(),f=async e=>{if("native_app"===e.team_mode){let{chat_scene:t=""}=e.team_context,[,a]=await (0,s.Vx)((0,s.sW)({chat_mode:t}));a&&(null==p||p({chat_scene:a.chat_mode,app_code:e.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:a.chat_mode,app_code:e.app_code})),h.push("/chat?scene=".concat(t,"&id=").concat(a.conv_uid).concat(u?"&model=".concat(u):"")))}else{let[,t]=await (0,s.Vx)((0,s.sW)({chat_mode:"chat_agent"}));t&&(null==p||p({chat_scene:t.chat_mode,app_code:e.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:t.chat_mode,app_code:e.app_code})),null==d||d(e.app_code),h.push("/chat/?scene=chat_agent&id=".concat(t.conv_uid).concat(u?"&model=".concat(u):"")))}};return n?(0,l.jsx)(m.Z,{size:"large",className:"flex items-center justify-center h-full",spinning:n}):(0,l.jsx)("div",{className:"flex flex-wrap mt-4 w-full overflow-y-auto ",children:(null==t?void 0:t.length)>0?t.map(e=>{var t;return(0,l.jsx)(C.ZP,{name:e.app_name,description:e.app_describe,onClick:()=>f(e),RightTop:"true"===e.is_collected?(0,l.jsx)(r.Z,{onClick:t=>{t.stopPropagation(),c(e)},style:{height:"21px",cursor:"pointer",color:"#f9c533"}}):(0,l.jsx)(o.Z,{onClick:t=>{t.stopPropagation(),c(e)},style:{height:"21px",cursor:"pointer"}}),LeftBottom:(0,l.jsxs)("div",{className:"flex gap-8 items-center text-gray-500 text-sm",children:[e.owner_name&&(0,l.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,l.jsx)(k.C,{src:null==e?void 0:e.owner_avatar_url,className:"bg-gradient-to-tr from-[#31afff] to-[#1677ff] cursor-pointer",children:e.owner_name}),(0,l.jsx)("span",{children:e.owner_name})]}),"used"!==i&&(0,l.jsxs)("div",{className:"flex items-start gap-1",children:[(0,l.jsx)(O.Z,{type:"icon-hot",className:"text-lg"}),(0,l.jsx)("span",{className:"text-[#878c93]",children:e.hot_value})]})]}),scene:(null==e?void 0:null===(t=e.team_context)||void 0===t?void 0:t.chat_scene)||"chat_agent"},e.app_code)}):(0,l.jsx)(Z.Z,{image:(0,l.jsx)(M(),{src:"/pictures/empty.png",alt:"empty",width:142,height:133,className:"w-[142px] h-[133px]"}),className:"flex justify-center items-center w-full h-full min-h-[200px]"})})},L=a(7289),T=a(41999),z=a(27691),E=a(26869),A=a.n(E),D=function(){let{setCurrentDialogInfo:e}=(0,x.useContext)(P.p),{t}=(0,f.$G)(),a=(0,S.useRouter)(),[n,r]=(0,x.useState)(""),[o,i]=(0,x.useState)(!1),[c,d]=(0,x.useState)(!1),u=async()=>{let[,t]=await (0,s.Vx)((0,s.sW)({chat_mode:"chat_normal"}));t&&(null==e||e({chat_scene:t.chat_mode,app_code:t.chat_mode}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:t.chat_mode,app_code:t.chat_mode})),localStorage.setItem(L.rU,JSON.stringify({id:t.conv_uid,message:n})),a.push("/chat/?scene=chat_normal&id=".concat(t.conv_uid))),r("")};return(0,l.jsxs)("div",{className:"flex flex-1 h-12 p-2 pl-4 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border-t border-b border-l border-r ".concat(o?"border-[#0c75fc]":""),children:[(0,l.jsx)(T.default.TextArea,{placeholder:t("input_tips"),className:"w-full resize-none border-0 p-0 focus:shadow-none",value:n,autoSize:{minRows:1},onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&!c&&(e.preventDefault(),n.trim()&&u())},onChange:e=>{r(e.target.value)},onFocus:()=>{i(!0)},onBlur:()=>i(!1),onCompositionStart:()=>d(!0),onCompositionEnd:()=>d(!1)}),(0,l.jsx)(z.ZP,{type:"primary",className:A()("flex items-center justify-center w-14 h-8 rounded-lg text-sm bg-button-gradient border-0",{"opacity-40 cursor-not-allowed":!n.trim()}),onClick:()=>{n.trim()&&u()},children:t("sent")})]})},J=a(5381),W=a(42518),G=a(197),I=a(83930),$=function(){let{setCurrentDialogInfo:e,model:t}=(0,x.useContext)(P.p),a=(0,S.useRouter)(),[n,r]=(0,x.useState)({app_list:[],total_count:0}),[o,i]=(0,x.useState)("recommend"),c=e=>(0,s.Vx)((0,s.yk)({...e,page_no:"1",page_size:"6"})),d=e=>(0,s.Vx)((0,s.mW)({page_no:"1",page_size:"6",...e})),{run:u,loading:m,refresh:p}=(0,v.Z)(async e=>{switch(o){case"recommend":return await d({});case"used":return await c({is_recent_used:"true",need_owner_info:"true",...e&&{app_name:e}});default:return[]}},{manual:!0,onSuccess:e=>{let[t,a]=e;if("recommend"===o)return r({app_list:a,total_count:(null==a?void 0:a.length)||0});r(a||{})},debounceWait:500});(0,x.useEffect)(()=>{u()},[o,u]);let h=[{value:"recommend",label:(0,I.t)("recommend_apps")},{value:"used",label:(0,I.t)("used_apps")}],{data:f}=(0,v.Z)(async()=>{let[,e]=await (0,s.Vx)((0,J.A)({is_hot_question:"true"}));return null!=e?e:[]});return(0,l.jsx)(W.ZP,{theme:{components:{Button:{defaultBorderColor:"white"},Segmented:{itemSelectedBg:"#2867f5",itemSelectedColor:"white"}}},children:(0,l.jsxs)("div",{className:"px-28 py-10 h-full flex flex-col justify-between",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex justify-between",children:[(0,l.jsx)(G.Z,{className:"backdrop-filter h-10 backdrop-blur-lg bg-white bg-opacity-30 border border-white rounded-lg shadow p-1 dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60",options:h,value:o,onChange:e=>{i(e)}}),(0,l.jsxs)("span",{className:"flex items-center text-gray-500 gap-1 dark:text-slate-300",children:[(0,l.jsx)("span",{children:(0,I.t)("app_in_mind")}),(0,l.jsxs)("span",{className:"flex items-center cursor-pointer",onClick:()=>{a.push("/")},children:[(0,l.jsx)(M(),{src:"/pictures/explore_active.png",alt:"construct_image",width:24,height:24},"image_explore"),(0,l.jsx)("span",{className:"text-default",children:(0,I.t)("explore")})]}),(0,l.jsx)("span",{children:(0,I.t)("Discover_more")})]})]}),(0,l.jsx)(V,{apps:(null==n?void 0:n.app_list)||[],loading:m,refresh:p,type:o}),f&&f.length>0&&(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"font-medium text-xl my-4",children:(0,I.t)("help")}),(0,l.jsx)("div",{className:"flex justify-start gap-4",children:f.map(n=>(0,l.jsxs)("span",{className:"flex gap-4 items-center backdrop-filter backdrop-blur-lg cursor-pointer bg-white bg-opacity-70 border-0 rounded-lg shadow p-2 relative dark:bg-[#6f7f95] dark:bg-opacity-60",onClick:async()=>{let[,l]=await (0,s.Vx)((0,s.sW)({chat_mode:"chat_knowledge",model:t}));l&&(null==e||e({chat_scene:l.chat_mode,app_code:n.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:l.chat_mode,app_code:n.app_code})),localStorage.setItem(L.rU,JSON.stringify({id:l.conv_uid,message:n.question})),a.push("/chat/?scene=".concat(l.chat_mode,"&id=").concat(null==l?void 0:l.conv_uid)))},children:[(0,l.jsx)("span",{children:n.question}),(0,l.jsx)(M(),{src:"/icons/send.png",alt:"construct_image",width:20,height:20},"image_explore")]},n.id))})]})]}),(0,l.jsx)("div",{children:(0,l.jsx)(D,{})})]})})},q=a(45875),F=a(1858),B=a(72828),H=a(67620),U=a(60205),K=a(47309),X=a(16156),Y=a(61977),Q=(0,x.memo)(()=>{let{modelList:e}=(0,x.useContext)(P.p),{appInfo:t,modelValue:a,setModelValue:s}=(0,x.useContext)(eC),{t:n}=(0,f.$G)(),r=(0,x.useMemo)(()=>{var e;return(null===(e=t.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[t.param_need]);return r.includes("model")?(0,l.jsx)(X.default,{value:a,placeholder:n("choose_model"),className:"h-8 rounded-3xl",onChange:e=>{s(e)},popupMatchSelectWidth:300,children:e.map(e=>(0,l.jsx)(X.default.Option,{children:(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(Y.Z,{model:e}),(0,l.jsx)("span",{className:"ml-2",children:e})]})},e))}):(0,l.jsx)(U.Z,{title:n("model_tip"),children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,l.jsx)(K.Z,{className:"text-xl cursor-not-allowed opacity-30"})})})}),ee=a(59321),et=a(67423),ea=a(71534),el=a(77200),es=a(19389),en=(0,x.memo)(e=>{var t,a,n,r,o;let{fileList:i,setFileList:c,setLoading:d,fileName:u}=e,{setResourceValue:m,appInfo:p,refreshHistory:h,refreshDialogList:g,modelValue:_,resourceValue:b}=(0,x.useContext)(eC),j=(0,q.useSearchParams)(),y=null!==(t=null==j?void 0:j.get("scene"))&&void 0!==t?t:"",w=null!==(a=null==j?void 0:j.get("id"))&&void 0!==a?a:"",{t:N}=(0,f.$G)(),[k,Z]=(0,x.useState)([]),S=(0,x.useMemo)(()=>{var e;return(null===(e=p.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[p.param_need]),C=(0,x.useMemo)(()=>{var e,t;return S.includes("resource")&&(null===(e=null===(t=p.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type)[0])||void 0===e?void 0:e.value)==="database"},[p.param_need,S]),P=(0,x.useMemo)(()=>{var e,t;return S.includes("resource")&&(null===(e=null===(t=p.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type)[0])||void 0===e?void 0:e.value)==="knowledge"},[p.param_need,S]),R=(0,x.useMemo)(()=>{var e;return null===(e=p.param_need)||void 0===e?void 0:e.find(e=>"resource"===e.type)},[p.param_need]),{run:M,loading:O}=(0,v.Z)(async()=>await (0,s.Vx)((0,s.vD)(y)),{manual:!0,onSuccess:e=>{let[,t]=e;Z(null!=t?t:[])}});(0,el.Z)(async()=>{(C||P)&&!(null==R?void 0:R.bind_value)&&await M()},[C,P,R]);let V=(0,x.useMemo)(()=>{var e;return null===(e=k.map)||void 0===e?void 0:e.call(k,e=>({label:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ee.Z,{width:24,height:24,src:L.S$[e.type].icon,label:L.S$[e.type].label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.param]}),value:e.param}))},[k]),T=(0,x.useCallback)(async()=>{let e=new FormData;e.append("doc_file",null==i?void 0:i[0]),d(!0);let[t,a]=await (0,s.Vx)((0,s.qn)({convUid:w,chatMode:y,data:e,model:_,config:{timeout:36e5}})).finally(()=>{d(!1)});a&&(m(a),await h(),await g())},[w,i,_,g,h,y,d,m]);if(!S.includes("resource"))return(0,l.jsx)(U.Z,{title:N("extend_tip"),children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,l.jsx)(et.Z,{className:"text-lg cursor-not-allowed opacity-30"})})});switch(null==R?void 0:R.value){case"excel_file":case"text_file":case"image_file":return(0,l.jsx)(es.default,{name:"file",accept:".csv,.xlsx,.xls",fileList:i,showUploadList:!1,beforeUpload:(e,t)=>{null==c||c(t)},customRequest:T,disabled:!!u||!!(null===(n=i[0])||void 0===n?void 0:n.name),children:(0,l.jsx)(U.Z,{title:N("file_tip"),arrow:!1,placement:"bottom",children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,l.jsx)(ea.Z,{className:A()("text-xl",{"cursor-pointer":!(u||(null===(r=i[0])||void 0===r?void 0:r.name))})})})})});case"database":case"knowledge":case"plugin":case"awel_flow":return b||m(null==V?void 0:null===(o=V[0])||void 0===o?void 0:o.value),(0,l.jsx)(X.default,{value:b,className:"w-52 h-8 rounded-3xl",onChange:e=>{m(e)},disabled:!!(null==R?void 0:R.bind_value),loading:O,options:V})}}),er=a(27214),eo=a(62971),ei=a(28822),ec=a(99631),ed=(0,x.memo)(e=>{let{temperatureValue:t,setTemperatureValue:a}=e,{appInfo:s}=(0,x.useContext)(eC),{t:n}=(0,f.$G)(),r=(0,x.useMemo)(()=>{var e;return(null===(e=s.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[s.param_need]);if(!r.includes("temperature"))return(0,l.jsx)(U.Z,{title:n("temperature_tip"),children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,l.jsx)(er.Z,{className:"text-xl cursor-not-allowed opacity-30"})})});let o=e=>{isNaN(e)||a(e)};return(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(eo.Z,{arrow:!1,trigger:["click"],placement:"topLeft",content:()=>(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(ei.Z,{className:"w-20",min:0,max:1,step:.1,onChange:o,value:"number"==typeof t?t:0}),(0,l.jsx)(ec.Z,{size:"small",className:"w-14",min:0,max:1,step:.1,onChange:o,value:t})]}),children:(0,l.jsx)(U.Z,{title:n("temperature"),placement:"bottom",arrow:!1,children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,l.jsx)(er.Z,{})})})}),(0,l.jsx)("span",{className:"text-sm ml-2",children:t})]})}),eu=e=>{var t,a;let{ctrl:r}=e,{t:o}=(0,f.$G)(),{history:i,scrollRef:c,canAbort:d,replyLoading:u,currentDialogue:p,appInfo:h,temperatureValue:v,resourceValue:g,setTemperatureValue:_,refreshHistory:b,setCanAbort:j,setReplyLoading:y,handleChat:w}=(0,x.useContext)(eC),[N,k]=(0,x.useState)([]),[Z,S]=(0,x.useState)(!1),[C,P]=(0,x.useState)(!1),R=(0,x.useMemo)(()=>{var e;return(null===(e=h.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[h.param_need]),O=(0,x.useMemo)(()=>[{tip:o("stop_replying"),icon:(0,l.jsx)(F.Z,{className:A()({"text-[#0c75fc]":d})}),can_use:d,key:"abort",onClick:()=>{d&&(r.abort(),setTimeout(()=>{j(!1),y(!1)},100))}},{tip:o("answer_again"),icon:(0,l.jsx)(B.Z,{}),can_use:!u&&i.length>0,key:"redo",onClick:async()=>{var e,t;let a=null===(e=null===(t=i.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];w((null==a?void 0:a.context)||"",{app_code:h.app_code,...R.includes("temperature")&&{temperature:v},...R.includes("resource")&&{select_param:"string"==typeof g?g:JSON.stringify(g)||p.select_param}}),setTimeout(()=>{var e,t;null===(e=c.current)||void 0===e||e.scrollTo({top:null===(t=c.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"})},0)}},{tip:o("erase_memory"),icon:C?(0,l.jsx)(m.Z,{spinning:C,indicator:(0,l.jsx)(n.Z,{style:{fontSize:20}})}):(0,l.jsx)(H.Z,{}),can_use:i.length>0,key:"clear",onClick:async()=>{C||(P(!0),await (0,s.Vx)((0,s.zR)(p.conv_uid)).finally(async()=>{await b(),P(!1)}))}}],[o,d,u,i,C,r,j,y,w,h.app_code,R,v,g,p.select_param,p.conv_uid,c,b]),V=(0,x.useMemo)(()=>{try{return JSON.parse(p.select_param).file_name}catch(e){return""}},[p.select_param]);return(0,l.jsxs)("div",{className:"flex flex-col mb-2",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between h-full w-full",children:[(0,l.jsxs)("div",{className:"flex gap-3 text-lg",children:[(0,l.jsx)(Q,{}),(0,l.jsx)(en,{fileList:N,setFileList:k,setLoading:S,fileName:V}),(0,l.jsx)(ed,{temperatureValue:v,setTemperatureValue:_})]}),(0,l.jsx)("div",{className:"flex gap-1",children:(0,l.jsx)(l.Fragment,{children:O.map(e=>(0,l.jsx)(U.Z,{title:e.tip,arrow:!1,placement:"bottom",children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] text-lg ".concat(e.can_use?"cursor-pointer":"opacity-30 cursor-not-allowed"),onClick:()=>{var t;null===(t=e.onClick)||void 0===t||t.call(e)},children:e.icon})},e.key))})})]}),(V||(null===(t=N[0])||void 0===t?void 0:t.name))&&(0,l.jsx)("div",{className:"group/item flex mt-2",children:(0,l.jsxs)("div",{className:"flex items-center justify-between w-64 border border-[#e3e4e6] dark:border-[rgba(255,255,255,0.6)] rounded-lg p-2",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(M(),{src:"/icons/chat/excel.png",width:20,height:20,alt:"file-icon",className:"mr-2"}),(0,l.jsx)("span",{className:"text-sm text-[#1c2533] dark:text-white line-clamp-1",children:V||(null===(a=N[0])||void 0===a?void 0:a.name)})]}),(0,l.jsx)(m.Z,{spinning:Z,indicator:(0,l.jsx)(n.Z,{style:{fontSize:24},spin:!0})})]})})]})},em=e=>{let{ctrl:t}=e,{t:a}=(0,f.$G)(),{scrollRef:s,replyLoading:r,handleChat:o,appInfo:i,currentDialogue:c,temperatureValue:d,resourceValue:u,refreshDialogList:p}=(0,x.useContext)(eC),h=(0,q.useSearchParams)();null==h||h.get("scene");let[v,g]=(0,x.useState)(""),[_,b]=(0,x.useState)(!1),[j,y]=(0,x.useState)(!1),w=(0,x.useRef)(0),N=(0,x.useMemo)(()=>{var e;return(null===(e=i.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[i.param_need]),k=async()=>{w.current++,setTimeout(()=>{var e,t;null===(e=s.current)||void 0===e||e.scrollTo({top:null===(t=s.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"}),g("")},0),await o(v,{app_code:i.app_code,...N.includes("temperature")&&{temperature:d},...N.includes("resource")&&{select_param:"string"==typeof u?u:JSON.stringify(u)||c.select_param}}),1===w.current&&await p()};return(0,l.jsx)("div",{className:"flex flex-col w-5/6 mx-auto pt-4 pb-6 bg-transparent",children:(0,l.jsxs)("div",{className:"flex flex-1 flex-col bg-white dark:bg-[rgba(255,255,255,0.16)] px-5 py-4 pt-2 rounded-xl relative border-t border-b border-l border-r dark:border-[rgba(255,255,255,0.6)] ".concat(_?"border-[#0c75fc]":""),id:"input-panel",children:[(0,l.jsx)(eu,{ctrl:t}),(0,l.jsx)(T.default.TextArea,{placeholder:a("input_tips"),className:"w-full h-20 resize-none border-0 p-0 focus:shadow-none dark:bg-transparent",value:v,onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&!j&&(e.preventDefault(),v.trim()&&!r&&k())},onChange:e=>{g(e.target.value)},onFocus:()=>{b(!0)},onBlur:()=>b(!1),onCompositionStart:()=>y(!0),onCompositionEnd:()=>y(!1)}),(0,l.jsx)(z.ZP,{type:"primary",className:A()("flex items-center justify-center w-14 h-8 rounded-lg text-sm absolute right-4 bottom-3 bg-button-gradient border-0",{"cursor-not-allowed":!v.trim()}),onClick:()=>{!r&&v.trim()&&k()},children:r?(0,l.jsx)(m.Z,{spinning:r,indicator:(0,l.jsx)(n.Z,{className:"text-white"})}):a("sent")})]})})},ep=a(1952),eh=a(2537),ex=a(47271),ef=a(60943),ev=a(41993),eg=a(79839),e_=a(58898);let{Sider:eb}=ev.default,ej={display:"flex",alignItems:"center",justifyContent:"center",width:16,height:48,position:"absolute",top:"50%",transform:"translateY(-50%)",border:"1px solid #d6d8da",borderRadius:8,right:-8},ey=e=>{var t,a;let{item:n,refresh:r,historyLoading:o,order:i}=e,{t:d}=(0,f.$G)(),m=(0,q.useRouter)(),p=(0,q.useSearchParams)(),v=null!==(t=null==p?void 0:p.get("id"))&&void 0!==t?t:"",g=null!==(a=null==p?void 0:p.get("scene"))&&void 0!==a?a:"",{setCurrentDialogInfo:_}=(0,x.useContext)(P.p),b=(0,x.useMemo)(()=>n.default?n.default&&!v&&!g:n.conv_uid===v&&n.chat_mode===g,[v,g,n]),j=()=>{eg.default.confirm({title:d("delete_chat"),content:d("delete_chat_confirm"),centered:!0,onOk:async()=>{let[e]=await (0,s.Vx)((0,s.MX)(n.conv_uid));e||(await (null==r?void 0:r()),n.conv_uid===v&&m.push("/chat"))}})};return(0,l.jsxs)(e_.Z,{align:"center",className:"group/item w-full h-12 p-3 rounded-lg hover:bg-white dark:hover:bg-theme-dark cursor-pointer mb-2 relative ".concat(b?"bg-white dark:bg-theme-dark bg-opacity-100":""),onClick:()=>{o||(n.default||null==_||_({chat_scene:n.chat_mode,app_code:n.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:n.chat_mode,app_code:n.app_code})),m.push(n.default?"/chat":"?scene=".concat(n.chat_mode,"&id=").concat(n.conv_uid)))},children:[(0,l.jsx)(U.Z,{title:n.chat_mode,children:(0,l.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg mr-3 bg-white",children:n.icon})}),(0,l.jsx)("div",{className:"flex flex-1 line-clamp-1",children:(0,l.jsx)(u.Z.Text,{ellipsis:{tooltip:!0},children:n.label})}),!n.default&&(0,l.jsxs)("div",{className:"flex gap-1 ml-1",children:[(0,l.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0",onClick:e=>{e.stopPropagation()},children:(0,l.jsx)(ep.Z,{style:{fontSize:16},onClick:()=>{let e=h()("".concat(location.origin,"/chat?scene=").concat(n.chat_mode,"&id=").concat(n.conv_uid));c.ZP[e?"success":"error"](e?d("copy_success"):d("copy_failed"))}})}),(0,l.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0",onClick:e=>{e.stopPropagation(),j()},children:(0,l.jsx)(eh.Z,{style:{fontSize:16}})})]}),(0,l.jsx)("div",{className:" w-1 rounded-sm bg-[#0c75fc] absolute top-1/2 left-0 -translate-y-1/2 transition-all duration-500 ease-in-out ".concat(b?"h-5":"w-0 h-0")})]})};var ew=e=>{var t;let{dialogueList:a=[],refresh:s,historyLoading:n,listLoading:r,order:o}=e,i=(0,q.useSearchParams)(),c=null!==(t=null==i?void 0:i.get("scene"))&&void 0!==t?t:"",{t:d}=(0,f.$G)(),{mode:u}=(0,x.useContext)(P.p),[p,h]=(0,x.useState)("chat_dashboard"===c),v=(0,x.useMemo)(()=>p?{...ej,right:-16,borderRadius:"0px 8px 8px 0",borderLeft:"1px solid #d5e5f6"}:{...ej,borderLeft:"1px solid #d6d8da"},[p]),_=(0,x.useMemo)(()=>{let e=a[1]||[];return(null==e?void 0:e.length)>0?e.map(e=>({...e,label:e.user_input||e.select_param,key:e.conv_uid,icon:(0,l.jsx)(g.Z,{scene:e.chat_mode}),default:!1})):[]},[a]);return(0,l.jsx)(eb,{className:"bg-[#ffffff80] border-r border-[#d5e5f6] dark:bg-[#ffffff29] dark:border-[#ffffff66]",theme:u,width:280,collapsible:!0,collapsed:p,collapsedWidth:0,trigger:p?(0,l.jsx)(ex.Z,{className:"text-base"}):(0,l.jsx)(ef.Z,{className:"text-base"}),zeroWidthTriggerStyle:v,onCollapse:e=>h(e),children:(0,l.jsxs)("div",{className:"flex flex-col h-full w-full bg-transparent px-4 pt-6 ",children:[(0,l.jsx)("div",{className:"w-full text-base font-semibold text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] mb-4 line-clamp-1",children:d("dialog_list")}),(0,l.jsxs)(e_.Z,{flex:1,vertical:!0,className:"overflow-y-auto",children:[(0,l.jsx)(ey,{item:{label:d("assistant"),key:"default",icon:(0,l.jsx)(M(),{src:"/LOGO_SMALL.png",alt:"default",width:24,height:24,className:"flex-1"}),default:!0},order:o}),(0,l.jsx)(m.Z,{spinning:r,className:"mt-2",children:!!(null==_?void 0:_.length)&&_.map(e=>(0,l.jsx)(ey,{item:e,refresh:s,historyLoading:n,order:o},null==e?void 0:e.key))})]})]})})},eN=a(78638);let ek=y()(()=>Promise.all([a.e(7521),a.e(5197),a.e(6370),a.e(9223),a.e(3127),a.e(9790),a.e(4506),a.e(3093),a.e(4399),a.e(9975),a.e(2672),a.e(8403)]).then(a.bind(a,7343)),{loadableGenerated:{webpack:()=>[7343]},ssr:!1}),eZ=y()(()=>Promise.all([a.e(7521),a.e(5197),a.e(6370),a.e(5360),a.e(5996),a.e(9223),a.e(3127),a.e(9790),a.e(4506),a.e(1657),a.e(3093),a.e(4399),a.e(7463),a.e(6101),a.e(9975),a.e(2141),a.e(1023),a.e(1565),a.e(5891),a.e(9549),a.e(2672),a.e(6858)]).then(a.bind(a,62048)),{loadableGenerated:{webpack:()=>[62048]},ssr:!1}),{Content:eS}=ev.default,eC=(0,x.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,resourceValue:{},modelValue:"",setModelValue:()=>{},setResourceValue:()=>{},setTemperatureValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve()});var eP=()=>{var e,t,a,n;let{model:r,currentDialogInfo:o}=(0,x.useContext)(P.p),{isContract:i,setIsContract:c,setIsMenuExpand:d}=(0,x.useContext)(P.p),{chat:u,ctrl:p}=(0,eN.Z)({app_code:o.app_code||""}),h=(0,q.useSearchParams)(),f=null!==(e=null==h?void 0:h.get("id"))&&void 0!==e?e:"",g=null!==(t=null==h?void 0:h.get("scene"))&&void 0!==t?t:"",_=null!==(a=null==h?void 0:h.get("knowledge_id"))&&void 0!==a?a:"",b=null!==(n=null==h?void 0:h.get("db_name"))&&void 0!==n?n:"",j=(0,x.useRef)(null),y=(0,x.useRef)(1),[w,k]=(0,x.useState)([]),[Z,S]=(0,x.useState)(),[C,R]=(0,x.useState)(!1),[M,O]=(0,x.useState)(!1),[V,T]=(0,x.useState)(""),[z,E]=(0,x.useState)({}),[A,D]=(0,x.useState)(),[J,W]=(0,x.useState)(),[G,I]=(0,x.useState)("");(0,x.useEffect)(()=>{var e,t,a,l,s,n;D((null===(e=null==z?void 0:null===(t=z.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type)[0])||void 0===e?void 0:e.value)||.5),I((null===(a=null==z?void 0:null===(l=z.param_need)||void 0===l?void 0:l.filter(e=>"model"===e.type)[0])||void 0===a?void 0:a.value)||r),W(_||b||(null===(s=null==z?void 0:null===(n=z.param_need)||void 0===n?void 0:n.filter(e=>"resource"===e.type)[0])||void 0===s?void 0:s.bind_value))},[z,b,_,r]),(0,x.useEffect)(()=>{d("chat_dashboard"!==g),f&&g&&c(!1)},[f,g]);let F=(0,x.useMemo)(()=>!f&&!g,[f,g]),{data:B=[],refresh:H,loading:U}=(0,v.Z)(async()=>await (0,s.Vx)((0,s.iP)())),{run:K,refresh:X}=(0,v.Z)(async()=>await (0,s.Vx)((0,s.BN)({...o})),{manual:!0,onSuccess:e=>{let[,t]=e;E(t||{})}}),Y=(0,x.useMemo)(()=>{let[,e]=B;return(null==e?void 0:e.find(e=>e.conv_uid===f))||{}},[f,B]);(0,x.useEffect)(()=>{let e=(0,L.a_)();o.chat_scene!==g||F||e&&e.message||K()},[f,o,F,K,g]);let{run:Q,loading:ee,refresh:et}=(0,v.Z)(async()=>await (0,s.Vx)((0,s.$i)(f)),{manual:!0,onSuccess:e=>{let[,t]=e,a=null==t?void 0:t.filter(e=>"view"===e.role);a&&a.length>0&&(y.current=a[a.length-1].order+1),k(t||[])}}),ea=(0,x.useCallback)((e,t)=>new Promise(a=>{let l=(0,L.a_)(),s=new AbortController;if(R(!0),w&&w.length>0){var n,r;let e=null==w?void 0:w.filter(e=>"view"===e.role),t=null==w?void 0:w.filter(e=>"human"===e.role);y.current=((null===(n=e[e.length-1])||void 0===n?void 0:n.order)||(null===(r=t[t.length-1])||void 0===r?void 0:r.order))+1}let o=[...l&&l.id===f?[]:w,{role:"human",context:e,model_name:(null==t?void 0:t.model_name)||G,order:y.current,time_stamp:0},{role:"view",context:"",model_name:(null==t?void 0:t.model_name)||G,order:y.current,time_stamp:0,thinking:!0}],i=o.length-1;k([...o]),u({data:{chat_mode:g,model_name:G,user_input:e,...t},ctrl:s,chatId:f,onMessage:e=>{O(!0),(null==t?void 0:t.incremental)?(o[i].context+=e,o[i].thinking=!1):(o[i].context=e,o[i].thinking=!1),k([...o])},onDone:()=>{R(!1),O(!1),a()},onClose:()=>{R(!1),O(!1),a()},onError:e=>{R(!1),O(!1),o[i].context=e,o[i].thinking=!1,k([...o]),a()}})}),[f,w,G,u,g]);return(0,el.Z)(async()=>{if(F)return;let e=(0,L.a_)();e&&e.id===f||await Q()},[f,g,Q]),(0,x.useEffect)(()=>{F&&(y.current=1,k([]))},[F]),(0,l.jsx)(eC.Provider,{value:{history:w,replyLoading:C,scrollRef:j,canAbort:M,chartsData:Z||[],agent:V,currentDialogue:Y,appInfo:z,temperatureValue:A,resourceValue:J,modelValue:G,setModelValue:I,setResourceValue:W,setTemperatureValue:D,setAppInfo:E,setAgent:T,setCanAbort:O,setReplyLoading:R,handleChat:ea,refreshDialogList:H,refreshHistory:et,refreshAppInfo:X,setHistory:k},children:(0,l.jsx)(e_.Z,{flex:1,children:(0,l.jsxs)(ev.default,{className:"bg-gradient-light bg-cover bg-center dark:bg-gradient-dark",children:[(0,l.jsx)(ew,{refresh:H,dialogueList:B,listLoading:U,historyLoading:ee,order:y}),(0,l.jsx)(ev.default,{className:"bg-transparent",children:"chat_dashboard"===g?i?(0,l.jsx)(ek,{}):(0,l.jsx)(eZ,{}):F?(0,l.jsx)(eS,{children:(0,l.jsx)($,{})}):(0,l.jsx)(m.Z,{spinning:ee,className:"w-full h-full m-auto",children:(0,l.jsxs)(eS,{className:"flex flex-col h-screen",children:[(0,l.jsx)(N,{ref:j}),(0,l.jsx)(em,{ctrl:p})]})})})]})})})}},96768:function(){}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2117-f7f4e921d8790b66.js b/dbgpt/app/static/web/_next/static/chunks/2117-f7f4e921d8790b66.js new file mode 100644 index 000000000..3492039e1 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/2117-f7f4e921d8790b66.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2117,9788,1708,9383,100,9305],{96890:function(e,r,t){t.d(r,{Z:function(){return u}});var o=t(42096),n=t(10921),c=t(38497),l=t(42834),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var o=document.createElement("script");o.setAttribute("src",t),o.setAttribute("data-namespace",t),e.length>r+1&&(o.onload=function(){s(e,r+1)},o.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(o)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,n.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,o.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},67620:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},98028:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},71534:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},1858:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},72828:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},31676:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},32857:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},49030:function(e,r,t){t.d(r,{Z:function(){return z}});var o=t(38497),n=t(26869),c=t.n(n),l=t(55598),a=t(55853),i=t(35883),s=t(55091),u=t(37243),d=t(63346),f=t(38083),g=t(51084),h=t(60848),p=t(74934),v=t(90102);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:o,componentCls:n,calc:c}=e,l=c(o).sub(t).equal(),a=c(r).sub(t).equal();return{[n]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:o}=e,n=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:n,tagLineHeight:(0,f.bf)(o(e.lineHeightSM).mul(n).equal()),tagIconSize:o(t).sub(o(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let w=o.forwardRef((e,r)=>{let{prefixCls:t,style:n,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=o.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(o.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},n),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var $=t(86553);let x=e=>(0,$.Z)(e,(r,t)=>{let{textColor:o,lightBorderColor:n,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:o,background:c,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return x(r)},C);let E=(e,r,t)=>{let o=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let S=o.forwardRef((e,r)=>{let{prefixCls:t,className:n,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:$,tag:x}=o.useContext(d.E_),[E,S]=o.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);o.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==x?void 0:x.style),g),P=w("tag",t),[I,N,R]=y(P),T=c()(P,null==x?void 0:x.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===$,[`${P}-borderless`]:!b},n,f,N,R),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)(x),{closable:!1,closeIconRender:e=>{let r=o.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?o.createElement(o.Fragment,null,q,h&&o.createElement("span",null,h)):h,D=o.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&o.createElement(Z,{key:"preset",prefixCls:P}),M&&o.createElement(H,{key:"status",prefixCls:P}));return I(_?o.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2141-a25c31fdebb9c9d7.js b/dbgpt/app/static/web/_next/static/chunks/2141-a25c31fdebb9c9d7.js deleted file mode 100644 index 635800852..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/2141-a25c31fdebb9c9d7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2141],{82141:function(e,t,i){i.d(t,{Z:function(){return B}});var n=i(72991),a=i(38497),l=i(26869),r=i.n(l),o=i(757),s=i(30432),c=i(63346),m=i(10917),d=i(82014),g=i(22698),$=i(81349),p=i(73127),f=i(42786);let u=a.createContext({});u.Consumer;var h=i(55091),b=i(98606),v=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(i[n[a]]=e[n[a]]);return i};let y=a.forwardRef((e,t)=>{let i;let{prefixCls:n,children:l,actions:o,extra:s,styles:m,className:d,classNames:g,colStyle:$}=e,p=v(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:f,itemLayout:y}=(0,a.useContext)(u),{getPrefixCls:S,list:x}=(0,a.useContext)(c.E_),E=e=>{var t,i;return r()(null===(i=null===(t=null==x?void 0:x.item)||void 0===t?void 0:t.classNames)||void 0===i?void 0:i[e],null==g?void 0:g[e])},k=e=>{var t,i;return Object.assign(Object.assign({},null===(i=null===(t=null==x?void 0:x.item)||void 0===t?void 0:t.styles)||void 0===i?void 0:i[e]),null==m?void 0:m[e])},C=S("list",n),O=o&&o.length>0&&a.createElement("ul",{className:r()(`${C}-item-action`,E("actions")),key:"actions",style:k("actions")},o.map((e,t)=>a.createElement("li",{key:`${C}-item-action-${t}`},e,t!==o.length-1&&a.createElement("em",{className:`${C}-item-action-split`})))),N=f?"div":"li",z=a.createElement(N,Object.assign({},p,f?{}:{ref:t},{className:r()(`${C}-item`,{[`${C}-item-no-flex`]:!("vertical"===y?!!s:(i=!1,a.Children.forEach(l,e=>{"string"==typeof e&&(i=!0)}),!(i&&a.Children.count(l)>1)))},d)}),"vertical"===y&&s?[a.createElement("div",{className:`${C}-item-main`,key:"content"},l,O),a.createElement("div",{className:r()(`${C}-item-extra`,E("extra")),key:"extra",style:k("extra")},s)]:[l,O,(0,h.Tm)(s,{key:"extra"})]);return f?a.createElement(b.Z,{ref:t,flex:1,style:$},z):z});y.Meta=e=>{var{prefixCls:t,className:i,avatar:n,title:l,description:o}=e,s=v(e,["prefixCls","className","avatar","title","description"]);let{getPrefixCls:m}=(0,a.useContext)(c.E_),d=m("list",t),g=r()(`${d}-item-meta`,i),$=a.createElement("div",{className:`${d}-item-meta-content`},l&&a.createElement("h4",{className:`${d}-item-meta-title`},l),o&&a.createElement("div",{className:`${d}-item-meta-description`},o));return a.createElement("div",Object.assign({},s,{className:g}),n&&a.createElement("div",{className:`${d}-item-meta-avatar`},n),(l||o)&&$)};var S=i(72178),x=i(60848),E=i(90102),k=i(74934);let C=e=>{let{listBorderedCls:t,componentCls:i,paddingLG:n,margin:a,itemPaddingSM:l,itemPaddingLG:r,marginLG:o,borderRadiusLG:s}=e;return{[t]:{border:`${(0,S.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:s,[`${i}-header,${i}-footer,${i}-item`]:{paddingInline:n},[`${i}-pagination`]:{margin:`${(0,S.bf)(a)} ${(0,S.bf)(o)}`}},[`${t}${i}-sm`]:{[`${i}-item,${i}-header,${i}-footer`]:{padding:l}},[`${t}${i}-lg`]:{[`${i}-item,${i}-header,${i}-footer`]:{padding:r}}}},O=e=>{let{componentCls:t,screenSM:i,screenMD:n,marginLG:a,marginSM:l,margin:r}=e;return{[`@media screen and (max-width:${n}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:a}}}},[`@media screen and (max-width: ${i}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:l}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${(0,S.bf)(r)}`}}}}}},N=e=>{let{componentCls:t,antCls:i,controlHeight:n,minHeight:a,paddingSM:l,marginLG:r,padding:o,itemPadding:s,colorPrimary:c,itemPaddingSM:m,itemPaddingLG:d,paddingXS:g,margin:$,colorText:p,colorTextDescription:f,motionDurationSlow:u,lineWidth:h,headerBg:b,footerBg:v,emptyTextPadding:y,metaMarginBottom:E,avatarMarginRight:k,titleMarginBottom:C,descriptionFontSize:O}=e;return{[t]:Object.assign(Object.assign({},(0,x.Wf)(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:b},[`${t}-footer`]:{background:v},[`${t}-header, ${t}-footer`]:{paddingBlock:l},[`${t}-pagination`]:{marginBlockStart:r,[`${i}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:a,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:s,color:p,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:k},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:p},[`${t}-item-meta-title`]:{margin:`0 0 ${(0,S.bf)(e.marginXXS)} 0`,color:p,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:p,transition:`all ${u}`,"&:hover":{color:c}}},[`${t}-item-meta-description`]:{color:f,fontSize:O,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${(0,S.bf)(g)}`,color:f,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:h,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${(0,S.bf)(o)} 0`,color:f,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:y,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${i}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:$,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:r},[`${t}-item-meta`]:{marginBlockEnd:E,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:C,color:p,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:o,marginInlineStart:"auto","> li":{padding:`0 ${(0,S.bf)(o)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${(0,S.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${(0,S.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${(0,S.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:n},[`${t}-split${t}-something-after-last-item ${i}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${(0,S.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:d},[`${t}-sm ${t}-item`]:{padding:m},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}};var z=(0,E.I$)("List",e=>{let t=(0,k.IX)(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[N(t),C(t),O(t)]},e=>({contentWidth:220,itemPadding:`${(0,S.bf)(e.paddingContentVertical)} 0`,itemPaddingSM:`${(0,S.bf)(e.paddingContentVerticalSM)} ${(0,S.bf)(e.paddingContentHorizontal)}`,itemPaddingLG:`${(0,S.bf)(e.paddingContentVerticalLG)} ${(0,S.bf)(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize})),j=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(i[n[a]]=e[n[a]]);return i};function w(e){var{pagination:t=!1,prefixCls:i,bordered:l=!1,split:h=!0,className:b,rootClassName:v,style:y,children:S,itemLayout:x,loadMore:E,grid:k,dataSource:C=[],size:O,header:N,footer:w,loading:B=!1,rowKey:I,renderItem:H,locale:W}=e,M=j(e,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]);let P=t&&"object"==typeof t?t:{},[L,Z]=a.useState(P.defaultCurrent||1),[T,X]=a.useState(P.defaultPageSize||10),{getPrefixCls:_,renderEmpty:G,direction:A,list:R}=a.useContext(c.E_),V=e=>(i,n)=>{var a;Z(i),X(n),t&&(null===(a=null==t?void 0:t[e])||void 0===a||a.call(t,i,n))},F=V("onChange"),J=V("onShowSizeChange"),q=(e,t)=>{let i;return H?((i="function"==typeof I?I(e):I?e[I]:e.key)||(i=`list-item-${t}`),a.createElement(a.Fragment,{key:i},H(e,t))):null},D=_("list",i),[K,Y,Q]=z(D),U=B;"boolean"==typeof U&&(U={spinning:U});let ee=!!(null==U?void 0:U.spinning),et=(0,d.Z)(O),ei="";switch(et){case"large":ei="lg";break;case"small":ei="sm"}let en=r()(D,{[`${D}-vertical`]:"vertical"===x,[`${D}-${ei}`]:ei,[`${D}-split`]:h,[`${D}-bordered`]:l,[`${D}-loading`]:ee,[`${D}-grid`]:!!k,[`${D}-something-after-last-item`]:!!(E||t||w),[`${D}-rtl`]:"rtl"===A},null==R?void 0:R.className,b,v,Y,Q),ea=(0,o.Z)({current:1,total:0},{total:C.length,current:L,pageSize:T},t||{}),el=Math.ceil(ea.total/ea.pageSize);ea.current>el&&(ea.current=el);let er=t&&a.createElement("div",{className:r()(`${D}-pagination`)},a.createElement(p.Z,Object.assign({align:"end"},ea,{onChange:F,onShowSizeChange:J}))),eo=(0,n.Z)(C);t&&C.length>(ea.current-1)*ea.pageSize&&(eo=(0,n.Z)(C).splice((ea.current-1)*ea.pageSize,ea.pageSize));let es=Object.keys(k||{}).some(e=>["xs","sm","md","lg","xl","xxl"].includes(e)),ec=(0,$.Z)(es),em=a.useMemo(()=>{for(let e=0;e{if(!k)return;let e=em&&k[em]?k[em]:k.column;if(e)return{width:`${100/e}%`,maxWidth:`${100/e}%`}},[JSON.stringify(k),em]),eg=ee&&a.createElement("div",{style:{minHeight:53}});if(eo.length>0){let e=eo.map((e,t)=>q(e,t));eg=k?a.createElement(g.Z,{gutter:k.gutter},a.Children.map(e,e=>a.createElement("div",{key:null==e?void 0:e.key,style:ed},e))):a.createElement("ul",{className:`${D}-items`},e)}else S||ee||(eg=a.createElement("div",{className:`${D}-empty-text`},(null==W?void 0:W.emptyText)||(null==G?void 0:G("List"))||a.createElement(m.Z,{componentName:"List"})));let e$=ea.position||"bottom",ep=a.useMemo(()=>({grid:k,itemLayout:x}),[JSON.stringify(k),x]);return K(a.createElement(u.Provider,{value:ep},a.createElement("div",Object.assign({style:Object.assign(Object.assign({},null==R?void 0:R.style),y),className:en},M),("top"===e$||"both"===e$)&&er,N&&a.createElement("div",{className:`${D}-header`},N),a.createElement(f.Z,Object.assign({},U),eg,S),w&&a.createElement("div",{className:`${D}-footer`},w),E||("bottom"===e$||"both"===e$)&&er)))}w.Item=y;var B=w}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2228.8b840b7f8ecbb732.js b/dbgpt/app/static/web/_next/static/chunks/2228.dcbf3429f408bfed.js similarity index 97% rename from dbgpt/app/static/web/_next/static/chunks/2228.8b840b7f8ecbb732.js rename to dbgpt/app/static/web/_next/static/chunks/2228.dcbf3429f408bfed.js index f79f9fa39..d266e091c 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2228.8b840b7f8ecbb732.js +++ b/dbgpt/app/static/web/_next/static/chunks/2228.dcbf3429f408bfed.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2228],{67246:function(e,n,o){o.r(n),o.d(n,{conf:function(){return t},language:function(){return s}});/*!----------------------------------------------------------------------------- +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2228],{62228:function(e,n,o){o.r(n),o.d(n,{conf:function(){return t},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) * Released under the MIT license diff --git a/dbgpt/app/static/web/_next/static/chunks/23-68b13538c83ff1a3.js b/dbgpt/app/static/web/_next/static/chunks/23-68b13538c83ff1a3.js deleted file mode 100644 index 3c006361b..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/23-68b13538c83ff1a3.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[23],{3125:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(42096),o=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z"}}]},name:"rollback",theme:"outlined"},a=n(75651),s=o.forwardRef(function(t,e){return o.createElement(a.Z,(0,r.Z)({},t,{ref:e,icon:i}))})},58063:function(t){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=11)}([function(t,e,n){"use strict";t.exports=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r1&&(u.velocity.x=f/p,u.velocity.y=l/p),r=e*u.velocity.x,i=e*u.velocity.y,u.pos.x+=r,u.pos.y+=i,o+=Math.abs(r),a+=Math.abs(i)}}return(o*o+a*a)/s}}},function(t,e,n){"use strict";var r=n(9),o=n(8),i=function(t){t.x=0,t.y=0},a=function(t,e){var n=Math.abs(t.x-e.x),r=Math.abs(t.y-e.y);return n<1e-8&&r<1e-8};t.exports={makeQuadtree:function(){var t=[],e=new o,n=[],s=0,u=c();function c(){var t=n[s];return t?(t.quad0=null,t.quad1=null,t.quad2=null,t.quad3=null,t.body=null,t.mass=t.massX=t.massY=0,t.left=t.right=t.top=t.bottom=0):(t=new r,n[s]=t),++s,t}return{insertBodies:function(t){if(0!==t.length){var n=Number.MAX_VALUE,r=Number.MAX_VALUE,o=Number.MIN_VALUE,i=Number.MIN_VALUE,f=void 0,l=t.length;for(f=l;f--;){var p=t[f].pos.x,d=t[f].pos.y;po&&(o=p),di&&(i=d)}var h=o-n,y=i-r;for(h>y?i=r+h:o=n+y,s=0,(u=c()).left=n,u.right=o,u.top=r,u.bottom=i,(f=l-1)>=0&&(u.body=t[f]);f--;)!function(t){for(e.reset(),e.push(u,t);!e.isEmpty();){var n=e.pop(),r=n.node,o=n.body;if(r.body){var i=r.body;if(r.body=null,a(i.pos,o.pos)){var s=3;do{var f=Math.random(),l=(r.right-r.left)*f,p=(r.bottom-r.top)*f;i.pos.x=r.left+l,i.pos.y=r.top+p,s-=1}while(s>0&&a(i.pos,o.pos));if(0===s&&a(i.pos,o.pos))return}e.push(r,i),e.push(r,o)}else{var d,h,y,v=o.pos.x,m=o.pos.y;r.mass=r.mass+o.mass,r.massX=r.massX+o.mass*v,r.massY=r.massY+o.mass*m;var g=0,x=r.left,b=(r.right+x)/2,k=r.top,q=(r.bottom+k)/2;v>b&&(g+=1,x=b,b=r.right),m>q&&(g+=2,k=q,q=r.bottom);var w=0===(d=g)?r.quad0:1===d?r.quad1:2===d?r.quad2:3===d?r.quad3:null;w?e.push(w,o):((w=c()).left=x,w.top=k,w.right=b,w.bottom=q,w.body=o,h=g,y=w,0===h?r.quad0=y:1===h?r.quad1=y:2===h?r.quad2=y:3===h&&(r.quad3=y))}}}(t[f],u)}},updateBodyForce:function(e,n,r,o){var a=void 0,s=void 0,c=void 0,f=void 0,l=0,p=0,d=1,h=0,y=1;t[0]=u,i(e.force);var v=-e.pos.x,m=-e.pos.y,g=e.mass*o/Math.sqrt(v*v+m*m);for(l+=g*v,p+=g*m;d;){var x=t[h],b=x.body;d-=1,h+=1;var k=b!==e;b&&k?(0===(f=Math.sqrt((s=b.pos.x-e.pos.x)*s+(c=b.pos.y-e.pos.y)*c))&&(f=Math.sqrt((s=(Math.random()-.5)/50)*s+(c=(Math.random()-.5)/50)*c)),l+=(a=n*b.mass*e.mass/(f*f*f))*s,p+=a*c):k&&(0===(f=Math.sqrt((s=x.massX/x.mass-e.pos.x)*s+(c=x.massY/x.mass-e.pos.y)*c))&&(f=Math.sqrt((s=(Math.random()-.5)/50)*s+(c=(Math.random()-.5)/50)*c)),(x.right-x.left)/f0)return this.stack[--this.popIdx]},reset:function(){this.popIdx=0}}},function(t,e,n){"use strict";t.exports=function(){this.body=null,this.quad0=null,this.quad1=null,this.quad2=null,this.quad3=null,this.mass=0,this.massX=0,this.massY=0,this.left=0,this.top=0,this.bottom=0,this.right=0}},function(t,e,n){"use strict";var r=n(6).integrate,o=n(5).applyDrag,i=n(1).applySpring;t.exports={tick:function(t){var e=t.bodies,n=t.springs,a=t.quadtree,s=t.timeStep,u=t.gravity,c=t.theta,f=t.dragCoeff,l=t.pull;e.forEach(function(t){var e=t._scratch;e&&(t.locked=e.locked,t.grabbed=e.grabbed,t.pos.x=e.x,t.pos.y=e.y)}),a.insertBodies(e);for(var p=0;p=t.maxIterations||n>=t.maxSimulationTime)};t.exports={tick:o,multitick:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,i=!1,a=0;ar||e},25641:function(e,r,o){var n=o(38497),t=o(13859),i=o(63346);r.Z=function(e,r){var o,a;let l,d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,{variant:c,[e]:s}=(0,n.useContext)(i.E_),u=(0,n.useContext)(t.pg),p=null==s?void 0:s.variant;l=void 0!==r?r:!1===d?"borderless":null!==(a=null!==(o=null!=u?u:p)&&void 0!==o?o:c)&&void 0!==a?a:"outlined";let f=i.tr.includes(l);return[l,f]}},44589:function(e,r,o){o.d(r,{ik:function(){return f},nz:function(){return s},s7:function(){return g},x0:function(){return p}});var n=o(38083),t=o(60848),i=o(31909),a=o(90102),l=o(74934),d=o(2835),c=o(97078);let s=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),u=e=>{let{paddingBlockLG:r,lineHeightLG:o,borderRadiusLG:t,paddingInlineLG:i}=e;return{padding:`${(0,n.bf)(r)} ${(0,n.bf)(i)}`,fontSize:e.inputFontSizeLG,lineHeight:o,borderRadius:t}},p=e=>({padding:`${(0,n.bf)(e.paddingBlockSM)} ${(0,n.bf)(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),f=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,n.bf)(e.paddingBlock)} ${(0,n.bf)(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},s(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},u(e)),"&-sm":Object.assign({},p(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),g=e=>{let{componentCls:r,antCls:o}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${r}, &-lg > ${r}-group-addon`]:Object.assign({},u(e)),[`&-sm ${r}, &-sm > ${r}-group-addon`]:Object.assign({},p(e)),[`&-lg ${o}-select-single ${o}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${o}-select-single ${o}-select-selector`]:{height:e.controlHeightSM},[`> ${r}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${r}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,n.bf)(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${o}-select`]:{margin:`${(0,n.bf)(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${(0,n.bf)(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${o}-select-single:not(${o}-select-customize-input):not(${o}-pagination-size-changer)`]:{[`${o}-select-selector`]:{backgroundColor:"inherit",border:`${(0,n.bf)(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${o}-select-selector`]:{color:e.colorPrimary}}},[`${o}-cascader-picker`]:{margin:`-9px ${(0,n.bf)(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${o}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[r]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${r}-search-with-button &`]:{zIndex:0}}},[`> ${r}:first-child, ${r}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-select ${o}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${r}-affix-wrapper`]:{[`&:not(:first-child) ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${r}:last-child, ${r}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${o}-select ${o}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${r}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${r}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${r}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,t.dF)()),{[`${r}-group-addon, ${r}-group-wrap, > ${r}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` + & > ${r}-affix-wrapper, + & > ${r}-number-affix-wrapper, + & > ${o}-picker-range + `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[r]:{float:"none"},[`& > ${o}-select > ${o}-select-selector, + & > ${o}-select-auto-complete ${r}, + & > ${o}-cascader-picker ${r}, + & > ${r}-group-wrapper ${r}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${o}-select-focused`]:{zIndex:1},[`& > ${o}-select > ${o}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${o}-select:first-child > ${o}-select-selector, + & > ${o}-select-auto-complete:first-child ${r}, + & > ${o}-cascader-picker:first-child ${r}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, + & > ${o}-select:last-child > ${o}-select-selector, + & > ${o}-cascader-picker:last-child ${r}, + & > ${o}-cascader-picker-focused:last-child ${r}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${o}-select-auto-complete ${r}`]:{verticalAlign:"top"},[`${r}-group-wrapper + ${r}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${r}-affix-wrapper`]:{borderRadius:0}},[`${r}-group-wrapper:not(:last-child)`]:{[`&${r}-search > ${r}-group`]:{[`& > ${r}-group-addon > ${r}-search-button`]:{borderRadius:0},[`& > ${r}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},b=e=>{let{componentCls:r,controlHeightSM:o,lineWidth:n,calc:i}=e,a=i(o).sub(i(n).mul(2)).sub(16).div(2).equal();return{[r]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,t.Wf)(e)),f(e)),(0,c.qG)(e)),(0,c.H8)(e)),(0,c.Mu)(e)),{'&[type="color"]':{height:e.controlHeight,[`&${r}-lg`]:{height:e.controlHeightLG},[`&${r}-sm`]:{height:o,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},h=e=>{let{componentCls:r}=e;return{[`${r}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,n.bf)(e.inputAffixPadding)}`}}}},$=e=>{let{componentCls:r,inputAffixPadding:o,colorTextDescription:n,motionDurationSlow:t,colorIcon:i,colorIconHover:a,iconCls:l}=e,d=`${r}-affix-wrapper`;return{[d]:Object.assign(Object.assign(Object.assign(Object.assign({},f(e)),{display:"inline-flex",[`&:not(${r}-disabled):hover`]:{zIndex:1,[`${r}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${r}`]:{padding:0},[`> input${r}, > textarea${r}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[r]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:o},"&-suffix":{marginInlineStart:o}}}),h(e)),{[`${l}${r}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${t}`,"&:hover":{color:a}}})}},m=e=>{let{componentCls:r,borderRadiusLG:o,borderRadiusSM:n}=e;return{[`${r}-group`]:Object.assign(Object.assign(Object.assign({},(0,t.Wf)(e)),g(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${r}-group-addon`]:{borderRadius:o,fontSize:e.inputFontSizeLG}},"&-sm":{[`${r}-group-addon`]:{borderRadius:n}}},(0,c.ir)(e)),(0,c.S5)(e)),{[`&:not(${r}-compact-first-item):not(${r}-compact-last-item)${r}-compact-item`]:{[`${r}, ${r}-group-addon`]:{borderRadius:0}},[`&:not(${r}-compact-last-item)${r}-compact-first-item`]:{[`${r}, ${r}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${r}-compact-first-item)${r}-compact-last-item`]:{[`${r}, ${r}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${r}-compact-last-item)${r}-compact-item`]:{[`${r}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},v=e=>{let{componentCls:r,antCls:o}=e,n=`${r}-search`;return{[n]:{[r]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${r}-group-addon ${n}-button:not(${o}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${r}-affix-wrapper`]:{borderRadius:0},[`${r}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${r}-group`]:{[`> ${r}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${n}-button:not(${o}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${o}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${n}-button`]:{height:e.controlHeightLG},[`&-small ${n}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${r}-compact-item`]:{[`&:not(${r}-compact-last-item)`]:{[`${r}-group-addon`]:{[`${r}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${r}-compact-first-item)`]:{[`${r},${r}-affix-wrapper`]:{borderRadius:0}},[`> ${r}-group-addon ${r}-search-button, + > ${r}, + ${r}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${r}-affix-wrapper-focused`]:{zIndex:2}}}}},x=e=>{let{componentCls:r,paddingLG:o}=e,n=`${r}-textarea`;return{[n]:{position:"relative","&-show-count":{[`> ${r}`]:{height:"100%"},[`${r}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` + &-allow-clear > ${r}, + &-affix-wrapper${n}-has-feedback ${r} + `]:{paddingInlineEnd:o},[`&-affix-wrapper${r}-affix-wrapper`]:{padding:0,[`> textarea${r}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${r}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${r}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${r}-affix-wrapper-sm`]:{[`${r}-suffix`]:{[`${r}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},S=e=>{let{componentCls:r}=e;return{[`${r}-out-of-range`]:{[`&, & input, & textarea, ${r}-show-count-suffix, ${r}-data-count`]:{color:e.colorError}}}};r.ZP=(0,a.I$)("Input",e=>{let r=(0,l.IX)(e,(0,d.e)(e));return[b(r),x(r),$(r),m(r),v(r),S(r),(0,i.c)(r)]},d.T,{resetFont:!1})},2835:function(e,r,o){o.d(r,{T:function(){return i},e:function(){return t}});var n=o(74934);function t(e){return(0,n.IX)(e,{inputAffixPadding:e.paddingXXS})}let i=e=>{let{controlHeight:r,fontSize:o,lineHeight:n,lineWidth:t,controlHeightSM:i,controlHeightLG:a,fontSizeLG:l,lineHeightLG:d,paddingSM:c,controlPaddingHorizontalSM:s,controlPaddingHorizontal:u,colorFillAlter:p,colorPrimaryHover:f,colorPrimary:g,controlOutlineWidth:b,controlOutline:h,colorErrorOutline:$,colorWarningOutline:m,colorBgContainer:v}=e;return{paddingBlock:Math.max(Math.round((r-o*n)/2*10)/10-t,0),paddingBlockSM:Math.max(Math.round((i-o*n)/2*10)/10-t,0),paddingBlockLG:Math.ceil((a-l*d)/2*10)/10-t,paddingInline:c-t,paddingInlineSM:s-t,paddingInlineLG:u-t,addonBg:p,activeBorderColor:g,hoverBorderColor:f,activeShadow:`0 0 0 ${b}px ${h}`,errorActiveShadow:`0 0 0 ${b}px ${$}`,warningActiveShadow:`0 0 0 ${b}px ${m}`,hoverBg:v,activeBg:v,inputFontSize:o,inputFontSizeLG:l,inputFontSizeSM:o}}},97078:function(e,r,o){o.d(r,{$U:function(){return l},H8:function(){return b},Mu:function(){return p},S5:function(){return $},Xy:function(){return a},ir:function(){return u},qG:function(){return c}});var n=o(38083),t=o(74934);let i=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),a=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},i((0,t.IX)(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),l=(e,r)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:r.borderColor,"&:hover":{borderColor:r.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:r.activeBorderColor,boxShadow:r.activeShadow,outline:0,backgroundColor:e.activeBg}}),d=(e,r)=>({[`&${e.componentCls}-status-${r.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},l(e,r)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:r.affixColor}}),[`&${e.componentCls}-status-${r.status}${e.componentCls}-disabled`]:{borderColor:r.borderColor}}),c=(e,r)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},l(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),d(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),d(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),r)}),s=(e,r)=>({[`&${e.componentCls}-group-wrapper-status-${r.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:r.addonBorderColor,color:r.addonColor}}}),u=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},s(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),s(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},a(e))}})}),p=(e,r)=>{let{componentCls:o}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${o}-disabled, &[disabled]`]:{color:e.colorTextDisabled},[`&${o}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${o}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},r)}},f=(e,r)=>({background:r.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null==r?void 0:r.inputColor},"&:hover":{background:r.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:r.activeBorderColor,backgroundColor:e.activeBg}}),g=(e,r)=>({[`&${e.componentCls}-status-${r.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},f(e,r)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:r.affixColor}})}),b=(e,r)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},f(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),g(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),g(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),r)}),h=(e,r)=>({[`&${e.componentCls}-group-wrapper-status-${r.status}`]:{[`${e.componentCls}-group-addon`]:{background:r.addonBg,color:r.addonColor}}}),$=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},h(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),h(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})})},34789:function(e,r,o){o.d(r,{Z:function(){return d}});var n=o(10921),t=o(4247),i=o(14433),a=o(38497),l=["show"];function d(e,r){return a.useMemo(function(){var o={};r&&(o.show="object"===(0,i.Z)(r)&&r.formatter?r.formatter:!!r);var a=o=(0,t.Z)((0,t.Z)({},o),e),d=a.show,c=(0,n.Z)(a,l);return(0,t.Z)((0,t.Z)({},c),{},{show:!!d,showFormatter:"function"==typeof d?d:void 0,strategy:c.strategy||function(e){return e.length}})},[e,r])}},13575:function(e,r,o){o.d(r,{Q:function(){return u},Z:function(){return v}});var n=o(4247),t=o(42096),i=o(65148),a=o(14433),l=o(26869),d=o.n(l),c=o(38497),s=o(43525),u=c.forwardRef(function(e,r){var o,l,u=e.inputElement,p=e.children,f=e.prefixCls,g=e.prefix,b=e.suffix,h=e.addonBefore,$=e.addonAfter,m=e.className,v=e.style,x=e.disabled,S=e.readOnly,w=e.focused,C=e.triggerFocus,E=e.allowClear,y=e.value,R=e.handleReset,B=e.hidden,I=e.classes,k=e.classNames,W=e.dataAttrs,j=e.styles,O=e.components,z=e.onClear,T=null!=p?p:u,Z=(null==O?void 0:O.affixWrapper)||"span",H=(null==O?void 0:O.groupWrapper)||"span",N=(null==O?void 0:O.wrapper)||"span",F=(null==O?void 0:O.groupAddon)||"span",A=(0,c.useRef)(null),M=(0,s.X3)(e),D=(0,c.cloneElement)(T,{value:y,className:d()(T.props.className,!M&&(null==k?void 0:k.variant))||null}),X=(0,c.useRef)(null);if(c.useImperativeHandle(r,function(){return{nativeElement:X.current||A.current}}),M){var L=null;if(E){var P=!x&&!S&&y,q="".concat(f,"-clear-icon"),G="object"===(0,a.Z)(E)&&null!=E&&E.clearIcon?E.clearIcon:"✖";L=c.createElement("span",{onClick:function(e){null==R||R(e),null==z||z()},onMouseDown:function(e){return e.preventDefault()},className:d()(q,(0,i.Z)((0,i.Z)({},"".concat(q,"-hidden"),!P),"".concat(q,"-has-suffix"),!!b)),role:"button",tabIndex:-1},G)}var K="".concat(f,"-affix-wrapper"),_=d()(K,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(f,"-disabled"),x),"".concat(K,"-disabled"),x),"".concat(K,"-focused"),w),"".concat(K,"-readonly"),S),"".concat(K,"-input-with-clear-btn"),b&&E&&y),null==I?void 0:I.affixWrapper,null==k?void 0:k.affixWrapper,null==k?void 0:k.variant),U=(b||E)&&c.createElement("span",{className:d()("".concat(f,"-suffix"),null==k?void 0:k.suffix),style:null==j?void 0:j.suffix},L,b);D=c.createElement(Z,(0,t.Z)({className:_,style:null==j?void 0:j.affixWrapper,onClick:function(e){var r;null!==(r=A.current)&&void 0!==r&&r.contains(e.target)&&(null==C||C())}},null==W?void 0:W.affixWrapper,{ref:A}),g&&c.createElement("span",{className:d()("".concat(f,"-prefix"),null==k?void 0:k.prefix),style:null==j?void 0:j.prefix},g),D,U)}if((0,s.He)(e)){var J="".concat(f,"-group"),Q="".concat(J,"-addon"),V="".concat(J,"-wrapper"),Y=d()("".concat(f,"-wrapper"),J,null==I?void 0:I.wrapper,null==k?void 0:k.wrapper),ee=d()(V,(0,i.Z)({},"".concat(V,"-disabled"),x),null==I?void 0:I.group,null==k?void 0:k.groupWrapper);D=c.createElement(H,{className:ee,ref:X},c.createElement(N,{className:Y},h&&c.createElement(F,{className:Q},h),D,$&&c.createElement(F,{className:Q},$)))}return c.cloneElement(D,{className:d()(null===(o=D.props)||void 0===o?void 0:o.className,m)||null,style:(0,n.Z)((0,n.Z)({},null===(l=D.props)||void 0===l?void 0:l.style),v),hidden:B})}),p=o(72991),f=o(65347),g=o(10921),b=o(77757),h=o(55598),$=o(34789),m=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],v=(0,c.forwardRef)(function(e,r){var o,a=e.autoComplete,l=e.onChange,v=e.onFocus,x=e.onBlur,S=e.onPressEnter,w=e.onKeyDown,C=e.onKeyUp,E=e.prefixCls,y=void 0===E?"rc-input":E,R=e.disabled,B=e.htmlSize,I=e.className,k=e.maxLength,W=e.suffix,j=e.showCount,O=e.count,z=e.type,T=e.classes,Z=e.classNames,H=e.styles,N=e.onCompositionStart,F=e.onCompositionEnd,A=(0,g.Z)(e,m),M=(0,c.useState)(!1),D=(0,f.Z)(M,2),X=D[0],L=D[1],P=(0,c.useRef)(!1),q=(0,c.useRef)(!1),G=(0,c.useRef)(null),K=(0,c.useRef)(null),_=function(e){G.current&&(0,s.nH)(G.current,e)},U=(0,b.Z)(e.defaultValue,{value:e.value}),J=(0,f.Z)(U,2),Q=J[0],V=J[1],Y=null==Q?"":String(Q),ee=(0,c.useState)(null),er=(0,f.Z)(ee,2),eo=er[0],en=er[1],et=(0,$.Z)(O,j),ei=et.max||k,ea=et.strategy(Y),el=!!ei&&ea>ei;(0,c.useImperativeHandle)(r,function(){var e;return{focus:_,blur:function(){var e;null===(e=G.current)||void 0===e||e.blur()},setSelectionRange:function(e,r,o){var n;null===(n=G.current)||void 0===n||n.setSelectionRange(e,r,o)},select:function(){var e;null===(e=G.current)||void 0===e||e.select()},input:G.current,nativeElement:(null===(e=K.current)||void 0===e?void 0:e.nativeElement)||G.current}}),(0,c.useEffect)(function(){L(function(e){return(!e||!R)&&e})},[R]);var ed=function(e,r,o){var n,t,i=r;if(!P.current&&et.exceedFormatter&&et.max&&et.strategy(r)>et.max)i=et.exceedFormatter(r,{max:et.max}),r!==i&&en([(null===(n=G.current)||void 0===n?void 0:n.selectionStart)||0,(null===(t=G.current)||void 0===t?void 0:t.selectionEnd)||0]);else if("compositionEnd"===o.source)return;V(i),G.current&&(0,s.rJ)(G.current,e,l,i)};(0,c.useEffect)(function(){if(eo){var e;null===(e=G.current)||void 0===e||e.setSelectionRange.apply(e,(0,p.Z)(eo))}},[eo]);var ec=el&&"".concat(y,"-out-of-range");return c.createElement(u,(0,t.Z)({},A,{prefixCls:y,className:d()(I,ec),handleReset:function(e){V(""),_(),G.current&&(0,s.rJ)(G.current,e,l)},value:Y,focused:X,triggerFocus:_,suffix:function(){var e=Number(ei)>0;if(W||et.show){var r=et.showFormatter?et.showFormatter({value:Y,count:ea,maxLength:ei}):"".concat(ea).concat(e?" / ".concat(ei):"");return c.createElement(c.Fragment,null,et.show&&c.createElement("span",{className:d()("".concat(y,"-show-count-suffix"),(0,i.Z)({},"".concat(y,"-show-count-has-suffix"),!!W),null==Z?void 0:Z.count),style:(0,n.Z)({},null==H?void 0:H.count)},r),W)}return null}(),disabled:R,classes:T,classNames:Z,styles:H}),(o=(0,h.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),c.createElement("input",(0,t.Z)({autoComplete:a},o,{onChange:function(e){ed(e,e.target.value,{source:"change"})},onFocus:function(e){L(!0),null==v||v(e)},onBlur:function(e){L(!1),null==x||x(e)},onKeyDown:function(e){S&&"Enter"===e.key&&!q.current&&(q.current=!0,S(e)),null==w||w(e)},onKeyUp:function(e){"Enter"===e.key&&(q.current=!1),null==C||C(e)},className:d()(y,(0,i.Z)({},"".concat(y,"-disabled"),R),null==Z?void 0:Z.input),style:null==H?void 0:H.input,ref:G,size:B,type:void 0===z?"text":z,onCompositionStart:function(e){P.current=!0,null==N||N(e)},onCompositionEnd:function(e){P.current=!1,ed(e,e.currentTarget.value,{source:"compositionEnd"}),null==F||F(e)}}))))})},43525:function(e,r,o){function n(e){return!!(e.addonBefore||e.addonAfter)}function t(e){return!!(e.prefix||e.suffix||e.allowClear)}function i(e,r,o){var n=r.cloneNode(!0),t=Object.create(e,{target:{value:n},currentTarget:{value:n}});return n.value=o,"number"==typeof r.selectionStart&&"number"==typeof r.selectionEnd&&(n.selectionStart=r.selectionStart,n.selectionEnd=r.selectionEnd),n.setSelectionRange=function(){r.setSelectionRange.apply(r,arguments)},t}function a(e,r,o,n){if(o){var t=r;if("click"===r.type){o(t=i(r,e,""));return}if("file"!==e.type&&void 0!==n){o(t=i(r,e,n));return}o(t)}}function l(e,r){if(e){e.focus(r);var o=(r||{}).cursor;if(o){var n=e.value.length;switch(o){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(n,n);break;default:e.setSelectionRange(0,n)}}}}o.d(r,{He:function(){return n},X3:function(){return t},nH:function(){return l},rJ:function(){return a}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2476-1e7e4692f4b61af1.js b/dbgpt/app/static/web/_next/static/chunks/2476-1e7e4692f4b61af1.js new file mode 100644 index 000000000..7610e6cbb --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/2476-1e7e4692f4b61af1.js @@ -0,0 +1,5 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2476],{3827:function(e,t,n){n.d(t,{Z:function(){return d}});var o=n(42096),r=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},i=n(55032),d=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},31016:function(e,t,n){n.d(t,{Z:function(){return d}});var o=n(42096),r=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},i=n(55032),d=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},40496:function(e,t,n){n.d(t,{Z:function(){return d}});var o=n(42096),r=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},i=n(55032),d=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},62246:function(e,t,n){n.d(t,{Z:function(){return d}});var o=n(42096),r=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},i=n(55032),d=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},83780:function(e,t,n){n.d(t,{Z:function(){return d}});var o=n(42096),r=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},i=n(55032),d=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},97361:function(e,t,n){n.d(t,{Z:function(){return d}});var o=n(42096),r=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},i=n(55032),d=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},58964:function(e,t,n){n.d(t,{Z:function(){return d}});var o=n(42096),r=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},i=n(55032),d=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},37528:function(e,t,n){n.d(t,{Z:function(){return d}});var o=n(42096),r=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},i=n(55032),d=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},3336:function(e,t,n){n.d(t,{Z:function(){return d}});var o=n(42096),r=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},i=n(55032),d=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},11309:function(e,t,n){n.d(t,{Z:function(){return d}});var o=n(42096),r=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},i=n(55032),d=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},757:function(e,t){t.Z=function(){let e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{let o=n[t];void 0!==o&&(e[t]=o)})}return e}},76372:function(e,t,n){n.d(t,{ZP:function(){return M}});var o=n(38497),r=n(26869),a=n.n(r),i=n(77757),d=n(66168),l=n(63346),c=n(95227),s=n(82014);let u=o.createContext(null),p=u.Provider,f=o.createContext(null),h=f.Provider;var v=n(55385),g=n(7544),y=n(37243),b=n(65925),k=n(3482),m=n(13859),Z=n(38083),x=n(60848),E=n(90102),N=n(74934);let K=e=>{let{componentCls:t,antCls:n}=e,o=`${t}-group`;return{[o]:Object.assign(Object.assign({},(0,x.Wf)(e)),{display:"inline-block",fontSize:0,[`&${o}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},C=e=>{let{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:o,radioSize:r,motionDurationSlow:a,motionDurationMid:i,motionEaseInOutCirc:d,colorBgContainer:l,colorBorder:c,lineWidth:s,colorBgContainerDisabled:u,colorTextDisabled:p,paddingXS:f,dotColorDisabled:h,lineType:v,radioColor:g,radioBgColor:y,calc:b}=e,k=`${t}-inner`,m=b(r).sub(b(4).mul(2)),E=b(1).mul(r).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,x.Wf)(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,Z.bf)(s)} ${v} ${o}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},(0,x.Wf)(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, + &:hover ${k}`]:{borderColor:o},[`${t}-input:focus-visible + ${k}`]:Object.assign({},(0,x.oN)(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:E,height:E,marginBlockStart:b(1).mul(r).div(-2).equal({unit:!0}),marginInlineStart:b(1).mul(r).div(-2).equal({unit:!0}),backgroundColor:g,borderBlockStart:0,borderInlineStart:0,borderRadius:E,transform:"scale(0)",opacity:0,transition:`all ${a} ${d}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:E,height:E,backgroundColor:l,borderColor:c,borderStyle:"solid",borderWidth:s,borderRadius:"50%",transition:`all ${i}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[k]:{borderColor:o,backgroundColor:y,"&::after":{transform:`scale(${e.calc(e.dotSize).div(r).equal()})`,opacity:1,transition:`all ${a} ${d}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[k]:{backgroundColor:u,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:p,cursor:"not-allowed"},[`&${t}-checked`]:{[k]:{"&::after":{transform:`scale(${b(m).div(r).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:f,paddingInlineEnd:f}})}},S=e=>{let{buttonColor:t,controlHeight:n,componentCls:o,lineWidth:r,lineType:a,colorBorder:i,motionDurationSlow:d,motionDurationMid:l,buttonPaddingInline:c,fontSize:s,buttonBg:u,fontSizeLG:p,controlHeightLG:f,controlHeightSM:h,paddingXS:v,borderRadius:g,borderRadiusSM:y,borderRadiusLG:b,buttonCheckedBg:k,buttonSolidCheckedColor:m,colorTextDisabled:E,colorBgContainerDisabled:N,buttonCheckedBgDisabled:K,buttonCheckedColorDisabled:C,colorPrimary:S,colorPrimaryHover:w,colorPrimaryActive:D,buttonSolidCheckedBg:$,buttonSolidCheckedHoverBg:O,buttonSolidCheckedActiveBg:P,calc:I}=e;return{[`${o}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:s,lineHeight:(0,Z.bf)(I(n).sub(I(r).mul(2)).equal()),background:u,border:`${(0,Z.bf)(r)} ${a} ${i}`,borderBlockStartWidth:I(r).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:r,cursor:"pointer",transition:`color ${l},background ${l},box-shadow ${l}`,a:{color:t},[`> ${o}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:I(r).mul(-1).equal(),insetInlineStart:I(r).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:r,paddingInline:0,backgroundColor:i,transition:`background-color ${d}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,Z.bf)(r)} ${a} ${i}`,borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g},"&:first-child:last-child":{borderRadius:g},[`${o}-group-large &`]:{height:f,fontSize:p,lineHeight:(0,Z.bf)(I(f).sub(I(r).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${o}-group-small &`]:{height:h,paddingInline:I(v).sub(r).equal(),paddingBlock:0,lineHeight:(0,Z.bf)(I(h).sub(I(r).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:S},"&:has(:focus-visible)":Object.assign({},(0,x.oN)(e)),[`${o}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${o}-button-wrapper-disabled)`]:{zIndex:1,color:S,background:k,borderColor:S,"&::before":{backgroundColor:S},"&:first-child":{borderColor:S},"&:hover":{color:w,borderColor:w,"&::before":{backgroundColor:w}},"&:active":{color:D,borderColor:D,"&::before":{backgroundColor:D}}},[`${o}-group-solid &-checked:not(${o}-button-wrapper-disabled)`]:{color:m,background:$,borderColor:$,"&:hover":{color:m,background:O,borderColor:O},"&:active":{color:m,background:P,borderColor:P}},"&-disabled":{color:E,backgroundColor:N,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:E,backgroundColor:N,borderColor:i}},[`&-disabled${o}-button-wrapper-checked`]:{color:C,backgroundColor:K,borderColor:i,boxShadow:"none"}}}};var w=(0,E.I$)("Radio",e=>{let{controlOutline:t,controlOutlineWidth:n}=e,o=`0 0 0 ${(0,Z.bf)(n)} ${t}`,r=(0,N.IX)(e,{radioFocusShadow:o,radioButtonFocusShadow:o});return[K(r),C(r),S(r)]},e=>{let{wireframe:t,padding:n,marginXS:o,lineWidth:r,fontSizeLG:a,colorText:i,colorBgContainer:d,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:s,colorPrimary:u,colorPrimaryHover:p,colorPrimaryActive:f,colorWhite:h}=e;return{radioSize:a,dotSize:t?a-8:a-(4+r)*2,dotColorDisabled:l,buttonSolidCheckedColor:s,buttonSolidCheckedBg:u,buttonSolidCheckedHoverBg:p,buttonSolidCheckedActiveBg:f,buttonBg:d,buttonCheckedBg:d,buttonColor:i,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:n-r,wrapperMarginInlineEnd:o,radioColor:t?u:h,radioBgColor:t?d:u}},{unitless:{radioSize:!0,dotSize:!0}}),D=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let $=o.forwardRef((e,t)=>{var n,r;let i=o.useContext(u),d=o.useContext(f),{getPrefixCls:s,direction:p,radio:h}=o.useContext(l.E_),Z=o.useRef(null),x=(0,g.sQ)(t,Z),{isFormItemInput:E}=o.useContext(m.aM),{prefixCls:N,className:K,rootClassName:C,children:S,style:$,title:O}=e,P=D(e,["prefixCls","className","rootClassName","children","style","title"]),I=s("radio",N),L="button"===((null==i?void 0:i.optionType)||d),M=L?`${I}-button`:I,T=(0,c.Z)(I),[R,H,A]=w(I,T),B=Object.assign({},P),z=o.useContext(k.Z);i&&(B.name=i.name,B.onChange=t=>{var n,o;null===(n=e.onChange)||void 0===n||n.call(e,t),null===(o=null==i?void 0:i.onChange)||void 0===o||o.call(i,t)},B.checked=e.value===i.value,B.disabled=null!==(n=B.disabled)&&void 0!==n?n:i.disabled),B.disabled=null!==(r=B.disabled)&&void 0!==r?r:z;let j=a()(`${M}-wrapper`,{[`${M}-wrapper-checked`]:B.checked,[`${M}-wrapper-disabled`]:B.disabled,[`${M}-wrapper-rtl`]:"rtl"===p,[`${M}-wrapper-in-form-item`]:E},null==h?void 0:h.className,K,C,H,A,T);return R(o.createElement(y.Z,{component:"Radio",disabled:B.disabled},o.createElement("label",{className:j,style:Object.assign(Object.assign({},null==h?void 0:h.style),$),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:O},o.createElement(v.Z,Object.assign({},B,{className:a()(B.className,{[b.A]:!L}),type:"radio",prefixCls:M,ref:x})),void 0!==S?o.createElement("span",null,S):null)))}),O=o.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=o.useContext(l.E_),[u,f]=(0,i.Z)(e.defaultValue,{value:e.value}),{prefixCls:h,className:v,rootClassName:g,options:y,buttonStyle:b="outline",disabled:k,children:m,size:Z,style:x,id:E,onMouseEnter:N,onMouseLeave:K,onFocus:C,onBlur:S}=e,D=n("radio",h),O=`${D}-group`,P=(0,c.Z)(D),[I,L,M]=w(D,P),T=m;y&&y.length>0&&(T=y.map(e=>"string"==typeof e||"number"==typeof e?o.createElement($,{key:e.toString(),prefixCls:D,disabled:k,value:e,checked:u===e},e):o.createElement($,{key:`radio-group-value-options-${e.value}`,prefixCls:D,disabled:e.disabled||k,value:e.value,checked:u===e.value,title:e.title,style:e.style,id:e.id,required:e.required},e.label)));let R=(0,s.Z)(Z),H=a()(O,`${O}-${b}`,{[`${O}-${R}`]:R,[`${O}-rtl`]:"rtl"===r},v,g,L,M,P);return I(o.createElement("div",Object.assign({},(0,d.Z)(e,{aria:!0,data:!0}),{className:H,style:x,onMouseEnter:N,onMouseLeave:K,onFocus:C,onBlur:S,id:E,ref:t}),o.createElement(p,{value:{onChange:t=>{let n=t.target.value;"value"in e||f(n);let{onChange:o}=e;o&&n!==u&&o(t)},value:u,disabled:e.disabled,name:e.name,optionType:e.optionType}},T)))});var P=o.memo(O),I=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},L=o.forwardRef((e,t)=>{let{getPrefixCls:n}=o.useContext(l.E_),{prefixCls:r}=e,a=I(e,["prefixCls"]),i=n("radio",r);return o.createElement(h,{value:"button"},o.createElement($,Object.assign({prefixCls:i},a,{type:"radio",ref:t})))});$.Button=L,$.Group=P,$.__ANT_RADIO=!0;var M=$},81326:function(e,t,n){n.d(t,{TM:function(){return v},Yk:function(){return h}});var o=n(38083),r=n(54833),a=n(60848),i=n(36647),d=n(74934),l=n(90102);let c=new o.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),s=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),u=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,o.bf)(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),p=(e,t)=>{let{treeCls:n,treeNodeCls:r,treeNodePadding:i,titleHeight:d,nodeSelectedBg:l,nodeHoverBg:p}=t,f=t.paddingXS;return{[n]:Object.assign(Object.assign({},(0,a.Wf)(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},(0,a.oN)(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:i,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:c,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[r]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${(0,o.bf)(i)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:d,lineHeight:(0,o.bf)(d),textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:d}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},s(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:d,margin:0,lineHeight:(0,o.bf)(d),textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:d,height:d,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(d).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(d).div(2).equal()).mul(.8).equal(),height:t.calc(d).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:f,alignSelf:"flex-start",marginTop:t.marginXXS},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:d,margin:0,padding:`0 ${(0,o.bf)(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:(0,o.bf)(d),background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:p},[`&${n}-node-selected`]:{backgroundColor:l},[`${n}-iconEle`]:{display:"inline-block",width:d,height:d,lineHeight:(0,o.bf)(d),textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:(0,o.bf)(d),userSelect:"none"},u(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(d).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${(0,o.bf)(t.calc(d).div(2).equal())} !important`}}}}})}},f=e=>{let{treeCls:t,treeNodeCls:n,treeNodePadding:o,directoryNodeSelectedBg:r,directoryNodeSelectedColor:a}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:a,background:"transparent"}},"&-selected":{[` + &:hover::before, + &::before + `]:{background:r},[`${t}-switcher`]:{color:a},[`${t}-node-content-wrapper`]:{color:a,background:"transparent"}}}}}},h=(e,t)=>{let n=`.${e}`,o=`${n}-treenode`,r=t.calc(t.paddingXS).div(2).equal(),a=(0,d.IX)(t,{treeCls:n,treeNodeCls:o,treeNodePadding:r});return[p(e,a),f(a)]},v=e=>{let{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}};t.ZP=(0,l.I$)("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:(0,r.C2)(`${n}-checkbox`,e)},h(n,e),(0,i.Z)(e)]},e=>{let{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},v(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})})},69545:function(e,t,n){var o=n(38497),r=n(3827),a=n(62246),i=n(37022),d=n(3336),l=n(11309),c=n(26869),s=n.n(c),u=n(55091);t.Z=e=>{let t;let{prefixCls:n,switcherIcon:c,treeNodeProps:p,showLine:f,switcherLoadingIcon:h}=e,{isLeaf:v,expanded:g,loading:y}=p;if(y)return o.isValidElement(h)?h:o.createElement(i.Z,{className:`${n}-switcher-loading-icon`});if(f&&"object"==typeof f&&(t=f.showLeafIcon),v){if(!f)return null;if("boolean"!=typeof t&&t){let e="function"==typeof t?t(p):t,r=`${n}-switcher-line-custom-icon`;return o.isValidElement(e)?(0,u.Tm)(e,{className:s()(e.props.className||"",r)}):e}return t?o.createElement(a.Z,{className:`${n}-switcher-line-icon`}):o.createElement("span",{className:`${n}-switcher-leaf-line`})}let b=`${n}-switcher-icon`,k="function"==typeof c?c(p):c;return o.isValidElement(k)?(0,u.Tm)(k,{className:s()(k.props.className||"",b)}):void 0!==k?k:f?g?o.createElement(d.Z,{className:`${n}-switcher-line-icon`}):o.createElement(l.Z,{className:`${n}-switcher-line-icon`}):o.createElement(r.Z,{className:b})}},69463:function(e,t,n){n.d(t,{Z:function(){return K}});var o=n(42096),r=n(10921),a=n(4247),i=n(97290),d=n(80972),l=n(6228),c=n(63119),s=n(43930),u=n(65148),p=n(26869),f=n.n(p),h=n(66168),v=n(38497),g=n(78079),y=v.memo(function(e){for(var t=e.prefixCls,n=e.level,o=e.isStart,r=e.isEnd,a="".concat(t,"-indent-unit"),i=[],d=0;d0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,o=t.length;if(1!==Math.abs(n-o))return{add:!1,key:null};function r(e,t){var n=new Map;e.forEach(function(e){n.set(e,!0)});var o=t.filter(function(e){return!n.has(e)});return 1===o.length?o[0]:null}return n ").concat(t);return t}(w)),b.createElement("div",null,b.createElement("input",{style:I,disabled:!1===C||p,tabIndex:!1!==C?T:null,onKeyDown:R,onFocus:z,onBlur:j,value:"",onChange:L,"aria-label":"for screen reader"})),b.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},b.createElement("div",{className:"".concat(n,"-indent")},b.createElement("div",{ref:G,className:"".concat(n,"-indent-unit")}))),b.createElement(N.Z,(0,o.Z)({},V,{data:ey,itemKey:B,height:y,fullHeight:!1,virtual:K,itemHeight:k,prefixCls:"".concat(n,"-list"),ref:W,onVisibleChange:function(e,t){var n=new Set(e);t.filter(function(e){return!n.has(e)}).some(function(e){return B(e)===M})&&eg()}}),function(e){var t=e.pos,n=Object.assign({},((0,m.Z)(e.data),e.data)),r=e.title,a=e.key,i=e.isStart,d=e.isEnd,l=(0,S.km)(a,t);delete n.key,delete n.children;var c=(0,S.H8)(l,eb);return b.createElement($,(0,o.Z)({},n,c,{title:r,active:!!w&&a===w.key,pos:t,data:e.data,isStart:i,isEnd:d,motion:g,motionNodes:a===M?ec:null,motionType:ef,onMotionStart:F,onMotionEnd:eg,treeNodeRequiredProps:eb,onMouseMove:function(){_(null)}}))}))});z.displayName="NodeList";var j=n(74443),_=n(47940),F=n(4289),q=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(){var e;(0,d.Z)(this,n);for(var o=arguments.length,r=Array(o),l=0;l2&&void 0!==arguments[2]&&arguments[2],i=e.state,d=i.dragChildrenKeys,l=i.dropPosition,c=i.dropTargetKey,s=i.dropTargetPos;if(i.dropAllowed){var u=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var p=(0,a.Z)((0,a.Z)({},(0,S.H8)(c,e.getTreeNodeRequiredProps())),{},{active:(null===(o=e.getActiveItem())||void 0===o?void 0:o.key)===c,data:(0,F.Z)(e.state.keyEntities,c).node}),f=-1!==d.indexOf(c);(0,y.ZP)(!f,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var h=(0,j.yx)(s),v={event:t,node:(0,S.F)(p),dragNode:e.dragNode?(0,S.F)(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(d),dropToGap:0!==l,dropPosition:l+Number(h[h.length-1])};r||null==u||u(v),e.dragNode=null}}}),(0,p.Z)((0,c.Z)(e),"cleanDragState",function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null}),(0,p.Z)((0,c.Z)(e),"triggerExpandActionExpand",function(t,n){var o=e.state,r=o.expandedKeys,i=o.flattenNodes,d=n.expanded,l=n.key;if(!n.isLeaf&&!t.shiftKey&&!t.metaKey&&!t.ctrlKey){var c=i.filter(function(e){return e.key===l})[0],s=(0,S.F)((0,a.Z)((0,a.Z)({},(0,S.H8)(l,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(d?(0,j._5)(r,l):(0,j.L0)(r,l)),e.onNodeExpand(t,s)}}),(0,p.Z)((0,c.Z)(e),"onNodeClick",function(t,n){var o=e.props,r=o.onClick;"click"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)}),(0,p.Z)((0,c.Z)(e),"onNodeDoubleClick",function(t,n){var o=e.props,r=o.onDoubleClick;"doubleClick"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)}),(0,p.Z)((0,c.Z)(e),"onNodeSelect",function(t,n){var o=e.state.selectedKeys,r=e.state,a=r.keyEntities,i=r.fieldNames,d=e.props,l=d.onSelect,c=d.multiple,s=n.selected,u=n[i.key],p=!s,f=(o=p?c?(0,j.L0)(o,u):[u]:(0,j._5)(o,u)).map(function(e){var t=(0,F.Z)(a,e);return t?t.node:null}).filter(function(e){return e});e.setUncontrolledState({selectedKeys:o}),null==l||l(o,{event:"select",selected:p,node:n,selectedNodes:f,nativeEvent:t.nativeEvent})}),(0,p.Z)((0,c.Z)(e),"onNodeCheck",function(t,n,o){var r,a=e.state,d=a.keyEntities,l=a.checkedKeys,c=a.halfCheckedKeys,s=e.props,u=s.checkStrictly,p=s.onCheck,f=n.key,h={event:"check",node:n,checked:o,nativeEvent:t.nativeEvent};if(u){var v=o?(0,j.L0)(l,f):(0,j._5)(l,f);r={checked:v,halfChecked:(0,j._5)(c,f)},h.checkedNodes=v.map(function(e){return(0,F.Z)(d,e)}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:v})}else{var g=(0,_.S)([].concat((0,i.Z)(l),[f]),!0,d),y=g.checkedKeys,b=g.halfCheckedKeys;if(!o){var k=new Set(y);k.delete(f);var m=(0,_.S)(Array.from(k),{checked:!1,halfCheckedKeys:b},d);y=m.checkedKeys,b=m.halfCheckedKeys}r=y,h.checkedNodes=[],h.checkedNodesPositions=[],h.halfCheckedKeys=b,y.forEach(function(e){var t=(0,F.Z)(d,e);if(t){var n=t.node,o=t.pos;h.checkedNodes.push(n),h.checkedNodesPositions.push({node:n,pos:o})}}),e.setUncontrolledState({checkedKeys:y},!1,{halfCheckedKeys:b})}null==p||p(r,h)}),(0,p.Z)((0,c.Z)(e),"onNodeLoad",function(t){var n,o=t.key,r=e.state.keyEntities,a=(0,F.Z)(r,o);if(null==a||null===(n=a.children)||void 0===n||!n.length){var i=new Promise(function(n,r){e.setState(function(a){var i=a.loadedKeys,d=a.loadingKeys,l=void 0===d?[]:d,c=e.props,s=c.loadData,u=c.onLoad;return s&&-1===(void 0===i?[]:i).indexOf(o)&&-1===l.indexOf(o)?(s(t).then(function(){var r=e.state.loadedKeys,a=(0,j.L0)(r,o);null==u||u(a,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:a}),e.setState(function(e){return{loadingKeys:(0,j._5)(e.loadingKeys,o)}}),n()}).catch(function(t){if(e.setState(function(e){return{loadingKeys:(0,j._5)(e.loadingKeys,o)}}),e.loadingRetryTimes[o]=(e.loadingRetryTimes[o]||0)+1,e.loadingRetryTimes[o]>=10){var a=e.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:(0,j.L0)(a,o)}),n()}r(t)}),{loadingKeys:(0,j.L0)(l,o)}):null})});return i.catch(function(){}),i}}),(0,p.Z)((0,c.Z)(e),"onNodeMouseEnter",function(t,n){var o=e.props.onMouseEnter;null==o||o({event:t,node:n})}),(0,p.Z)((0,c.Z)(e),"onNodeMouseLeave",function(t,n){var o=e.props.onMouseLeave;null==o||o({event:t,node:n})}),(0,p.Z)((0,c.Z)(e),"onNodeContextMenu",function(t,n){var o=e.props.onRightClick;o&&(t.preventDefault(),o({event:t,node:n}))}),(0,p.Z)((0,c.Z)(e),"onFocus",function(){var t=e.props.onFocus;e.setState({focused:!0});for(var n=arguments.length,o=Array(n),r=0;r1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var r=!1,i=!0,d={};Object.keys(t).forEach(function(n){if(n in e.props){i=!1;return}r=!0,d[n]=t[n]}),r&&(!n||i)&&e.setState((0,a.Z)((0,a.Z)({},d),o))}}),(0,p.Z)((0,c.Z)(e),"scrollTo",function(t){e.listRef.current.scrollTo(t)}),e}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props,t=e.activeKey,n=e.itemScrollOffset;void 0!==t&&t!==this.state.activeKey&&(this.setState({activeKey:t}),null!==t&&this.scrollTo({key:t,offset:void 0===n?0:n}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,t=this.state,n=t.focused,a=t.flattenNodes,i=t.keyEntities,d=t.draggingNodeKey,l=t.activeKey,c=t.dropLevelOffset,s=t.dropContainerKey,u=t.dropTargetKey,f=t.dropPosition,v=t.dragOverNodeKey,y=t.indent,m=this.props,Z=m.prefixCls,x=m.className,E=m.style,N=m.showLine,K=m.focusable,C=m.tabIndex,S=m.selectable,w=m.showIcon,D=m.icon,$=m.switcherIcon,O=m.draggable,P=m.checkable,I=m.checkStrictly,L=m.disabled,M=m.motion,T=m.loadData,R=m.filterTreeNode,H=m.height,A=m.itemHeight,B=m.virtual,j=m.titleRender,_=m.dropIndicatorRender,F=m.onContextMenu,q=m.onScroll,V=m.direction,W=m.rootClassName,G=m.rootStyle,U=(0,g.Z)(this.props,{aria:!0,data:!0});return O&&(e="object"===(0,r.Z)(O)?O:"function"==typeof O?{nodeDraggable:O}:{}),b.createElement(k.k.Provider,{value:{prefixCls:Z,selectable:S,showIcon:w,icon:D,switcherIcon:$,draggable:e,draggingNodeKey:d,checkable:P,checkStrictly:I,disabled:L,keyEntities:i,dropLevelOffset:c,dropContainerKey:s,dropTargetKey:u,dropPosition:f,dragOverNodeKey:v,indent:y,direction:V,dropIndicatorRender:_,loadData:T,filterTreeNode:R,titleRender:j,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},b.createElement("div",{role:"tree",className:h()(Z,x,W,(0,p.Z)((0,p.Z)((0,p.Z)({},"".concat(Z,"-show-line"),N),"".concat(Z,"-focused"),n),"".concat(Z,"-active-focused"),null!==l)),style:G},b.createElement(z,(0,o.Z)({ref:this.listRef,prefixCls:Z,style:E,data:a,disabled:L,selectable:S,checkable:!!P,motion:M,dragging:null!==d,height:H,itemHeight:A,virtual:B,focusable:K,focused:n,tabIndex:void 0===C?0:C,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:F,onScroll:q},this.getTreeNodeRequiredProps(),U))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,o,r=t.prevProps,i={prevProps:e};function d(t){return!r&&t in e||r&&r[t]!==e[t]}var l=t.fieldNames;if(d("fieldNames")&&(l=(0,S.w$)(e.fieldNames),i.fieldNames=l),d("treeData")?n=e.treeData:d("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=(0,S.zn)(e.children)),n){i.treeData=n;var c=(0,S.I8)(n,{fieldNames:l});i.keyEntities=(0,a.Z)((0,p.Z)({},M,R),c.keyEntities)}var s=i.keyEntities||t.keyEntities;if(d("expandedKeys")||r&&d("autoExpandParent"))i.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?(0,j.r7)(e.expandedKeys,s):e.expandedKeys;else if(!r&&e.defaultExpandAll){var u=(0,a.Z)({},s);delete u[M],i.expandedKeys=Object.keys(u).map(function(e){return u[e].key})}else!r&&e.defaultExpandedKeys&&(i.expandedKeys=e.autoExpandParent||e.defaultExpandParent?(0,j.r7)(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(i.expandedKeys||delete i.expandedKeys,n||i.expandedKeys){var f=(0,S.oH)(n||t.treeData,i.expandedKeys||t.expandedKeys,l);i.flattenNodes=f}if(e.selectable&&(d("selectedKeys")?i.selectedKeys=(0,j.BT)(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(i.selectedKeys=(0,j.BT)(e.defaultSelectedKeys,e))),e.checkable&&(d("checkedKeys")?o=(0,j.E6)(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?o=(0,j.E6)(e.defaultCheckedKeys)||{}:n&&(o=(0,j.E6)(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),o)){var h=o,v=h.checkedKeys,g=void 0===v?[]:v,b=h.halfCheckedKeys,k=void 0===b?[]:b;if(!e.checkStrictly){var m=(0,_.S)(g,!0,s);g=m.checkedKeys,k=m.halfCheckedKeys}i.checkedKeys=g,i.halfCheckedKeys=k}return d("loadedKeys")&&(i.loadedKeys=e.loadedKeys),i}}]),n}(b.Component);(0,p.Z)(q,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var t=e.dropPosition,n=e.dropLevelOffset,o=e.indent,r={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case -1:r.top=0,r.left=-n*o;break;case 1:r.bottom=0,r.left=-n*o;break;case 0:r.bottom=0,r.left=o}return b.createElement("div",{style:r})},allowDrop:function(){return!0},expandAction:!1}),(0,p.Z)(q,"TreeNode",C.Z);var V=q},74443:function(e,t,n){n.d(t,{BT:function(){return p},E6:function(){return f},L0:function(){return l},OM:function(){return u},_5:function(){return d},r7:function(){return h},wA:function(){return s},yx:function(){return c}});var o=n(72991),r=n(14433),a=n(89842);n(38497),n(69463);var i=n(4289);function d(e,t){if(!e)return[];var n=e.slice(),o=n.indexOf(t);return o>=0&&n.splice(o,1),n}function l(e,t){var n=(e||[]).slice();return -1===n.indexOf(t)&&n.push(t),n}function c(e){return e.split("-")}function s(e,t){var n=[];return!function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach(function(t){var o=t.key,r=t.children;n.push(o),e(r)})}((0,i.Z)(t,e).children),n}function u(e,t,n,o,r,a,d,l,s,u){var p,f,h=e.clientX,v=e.clientY,g=e.target.getBoundingClientRect(),y=g.top,b=g.height,k=(("rtl"===u?-1:1)*(((null==r?void 0:r.x)||0)-h)-12)/o,m=s.filter(function(e){var t;return null===(t=l[e])||void 0===t||null===(t=t.children)||void 0===t?void 0:t.length}),Z=(0,i.Z)(l,n.props.eventKey);if(v-1.5?a({dragNode:$,dropNode:O,dropPosition:1})?S=1:P=!1:a({dragNode:$,dropNode:O,dropPosition:0})?S=0:a({dragNode:$,dropNode:O,dropPosition:1})?S=1:P=!1:a({dragNode:$,dropNode:O,dropPosition:1})?S=1:P=!1,{dropPosition:S,dropLevelOffset:w,dropTargetKey:Z.key,dropTargetPos:Z.pos,dragOverNodeKey:C,dropContainerKey:0===S?null:(null===(f=Z.parent)||void 0===f?void 0:f.key)||null,dropAllowed:P}}function p(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function f(e){var t;if(!e)return null;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,r.Z)(e))return(0,a.ZP)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function h(e,t){var n=new Set;return(e||[]).forEach(function(e){!function e(o){if(!n.has(o)){var r=(0,i.Z)(t,o);if(r){n.add(o);var a=r.parent;!r.node.disabled&&a&&e(a.key)}}}(e)}),(0,o.Z)(n)}n(54328)},47940:function(e,t,n){n.d(t,{S:function(){return d}});var o=n(89842),r=n(4289);function a(e,t){var n=new Set;return e.forEach(function(e){t.has(e)||n.add(e)}),n}function i(e){var t=e||{},n=t.disabled,o=t.disableCheckbox,r=t.checkable;return!!(n||o)||!1===r}function d(e,t,n,d){var l,c=[];l=d||i;var s=new Set(e.filter(function(e){var t=!!(0,r.Z)(n,e);return t||c.push(e),t})),u=new Map,p=0;return Object.keys(n).forEach(function(e){var t=n[e],o=t.level,r=u.get(o);r||(r=new Set,u.set(o,r)),r.add(t),p=Math.max(p,o)}),(0,o.ZP)(!c.length,"Tree missing follow keys: ".concat(c.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!0===t?function(e,t,n,o){for(var r=new Set(e),i=new Set,d=0;d<=n;d+=1)(t.get(d)||new Set).forEach(function(e){var t=e.key,n=e.node,a=e.children,i=void 0===a?[]:a;r.has(t)&&!o(n)&&i.filter(function(e){return!o(e.node)}).forEach(function(e){r.add(e.key)})});for(var l=new Set,c=n;c>=0;c-=1)(t.get(c)||new Set).forEach(function(e){var t=e.parent;if(!(o(e.node)||!e.parent||l.has(e.parent.key))){if(o(e.parent.node)){l.add(t.key);return}var n=!0,a=!1;(t.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var t=e.key,o=r.has(t);n&&!o&&(n=!1),!a&&(o||i.has(t))&&(a=!0)}),n&&r.add(t.key),a&&i.add(t.key),l.add(t.key)}});return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(a(i,r))}}(s,u,p,l):function(e,t,n,o,r){for(var i=new Set(e),d=new Set(t),l=0;l<=o;l+=1)(n.get(l)||new Set).forEach(function(e){var t=e.key,n=e.node,o=e.children,a=void 0===o?[]:o;i.has(t)||d.has(t)||r(n)||a.filter(function(e){return!r(e.node)}).forEach(function(e){i.delete(e.key)})});d=new Set;for(var c=new Set,s=o;s>=0;s-=1)(n.get(s)||new Set).forEach(function(e){var t=e.parent;if(!(r(e.node)||!e.parent||c.has(e.parent.key))){if(r(e.parent.node)){c.add(t.key);return}var n=!0,o=!1;(t.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var t=e.key,r=i.has(t);n&&!r&&(n=!1),!o&&(r||d.has(t))&&(o=!0)}),n||i.delete(t.key),o&&d.add(t.key),c.add(t.key)}});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(a(d,i))}}(s,t.halfCheckedKeys,u,p,l)}},4289:function(e,t,n){n.d(t,{Z:function(){return o}});function o(e,t){return e[t]}},54328:function(e,t,n){n.d(t,{F:function(){return k},H8:function(){return b},I8:function(){return y},km:function(){return f},oH:function(){return g},w$:function(){return h},zn:function(){return v}});var o=n(14433),r=n(72991),a=n(4247),i=n(10921),d=n(10469),l=n(55598),c=n(89842),s=n(4289),u=["children"];function p(e,t){return"".concat(e,"-").concat(t)}function f(e,t){return null!=e?e:t}function h(e){var t=e||{},n=t.title,o=t._title,r=t.key,a=t.children,i=n||"title";return{title:i,_title:o||[i],key:r||"key",children:a||"children"}}function v(e){return function e(t){return(0,d.Z)(t).map(function(t){if(!(t&&t.type&&t.type.isTreeNode))return(0,c.ZP)(!t,"Tree/TreeNode can only accept TreeNode as children."),null;var n=t.key,o=t.props,r=o.children,d=(0,i.Z)(o,u),l=(0,a.Z)({key:n},d),s=e(r);return s.length&&(l.children=s),l}).filter(function(e){return e})}(e)}function g(e,t,n){var o=h(n),a=o._title,i=o.key,d=o.children,c=new Set(!0===t?[]:t),s=[];return!function e(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n.map(function(u,h){for(var v,g=p(o?o.pos:"0",h),y=f(u[i],g),b=0;b1&&void 0!==arguments[1]?arguments[1]:{},y=g.initWrapper,b=g.processEntity,k=g.onProcessFinished,m=g.externalGetKey,Z=g.childrenPropName,x=g.fieldNames,E=arguments.length>2?arguments[2]:void 0,N={},K={},C={posEntities:N,keyEntities:K};return y&&(C=y(C)||C),t=function(e){var t=e.node,n=e.index,o=e.pos,r=e.key,a=e.parentPos,i=e.level,d={node:t,nodes:e.nodes,index:n,key:r,pos:o,level:i},l=f(r,o);N[o]=d,K[l]=d,d.parent=N[a],d.parent&&(d.parent.children=d.parent.children||[],d.parent.children.push(d)),b&&b(d,C)},n={externalGetKey:m||E,childrenPropName:Z,fieldNames:x},d=(i=("object"===(0,o.Z)(n)?n:{externalGetKey:n})||{}).childrenPropName,l=i.externalGetKey,s=(c=h(i.fieldNames)).key,u=c.children,v=d||u,l?"string"==typeof l?a=function(e){return e[l]}:"function"==typeof l&&(a=function(e){return l(e)}):a=function(e,t){return f(e[s],t)},function n(o,i,d,l){var c=o?o[v]:e,s=o?p(d.pos,i):"0",u=o?[].concat((0,r.Z)(l),[o]):[];if(o){var f=a(o,s);t({node:o,index:i,pos:s,key:f,parentPos:d.node?d.pos:null,level:d.level+1,nodes:u})}c&&c.forEach(function(e,t){n(e,t,{node:o,pos:s,level:d?d.level+1:-1},u)})}(null),k&&k(C),C}function b(e,t){var n=t.expandedKeys,o=t.selectedKeys,r=t.loadedKeys,a=t.loadingKeys,i=t.checkedKeys,d=t.halfCheckedKeys,l=t.dragOverNodeKey,c=t.dropPosition,u=t.keyEntities,p=(0,s.Z)(u,e);return{eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==o.indexOf(e),loaded:-1!==r.indexOf(e),loading:-1!==a.indexOf(e),checked:-1!==i.indexOf(e),halfChecked:-1!==d.indexOf(e),pos:String(p?p.pos:""),dragOver:l===e&&0===c,dragOverGapTop:l===e&&-1===c,dragOverGapBottom:l===e&&1===c}}function k(e){var t=e.data,n=e.expanded,o=e.selected,r=e.checked,i=e.loaded,d=e.loading,l=e.halfChecked,s=e.dragOver,u=e.dragOverGapTop,p=e.dragOverGapBottom,f=e.pos,h=e.active,v=e.eventKey,g=(0,a.Z)((0,a.Z)({},t),{},{expanded:n,selected:o,checked:r,loaded:i,loading:d,halfChecked:l,dragOver:s,dragOverGapTop:u,dragOverGapBottom:p,pos:f,active:h,key:v});return"props"in g||Object.defineProperty(g,"props",{get:function(){return(0,c.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2645-03a830c0ff751dc2.js b/dbgpt/app/static/web/_next/static/chunks/2645-03a830c0ff751dc2.js deleted file mode 100644 index c445e734f..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/2645-03a830c0ff751dc2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2645,9549],{67620:function(e,l,t){t.d(l,{Z:function(){return o}});var n=t(42096),a=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},i=t(75651),o=a.forwardRef(function(e,l){return a.createElement(i.Z,(0,n.Z)({},e,{ref:l,icon:r}))})},6873:function(e,l,t){t.d(l,{Z:function(){return o}});var n=t(42096),a=t(38497),r={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},i=t(75651),o=a.forwardRef(function(e,l){return a.createElement(i.Z,(0,n.Z)({},e,{ref:l,icon:r}))})},98028:function(e,l,t){t.d(l,{Z:function(){return o}});var n=t(42096),a=t(38497),r={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},i=t(75651),o=a.forwardRef(function(e,l){return a.createElement(i.Z,(0,n.Z)({},e,{ref:l,icon:r}))})},71534:function(e,l,t){t.d(l,{Z:function(){return o}});var n=t(42096),a=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},i=t(75651),o=a.forwardRef(function(e,l){return a.createElement(i.Z,(0,n.Z)({},e,{ref:l,icon:r}))})},1858:function(e,l,t){t.d(l,{Z:function(){return o}});var n=t(42096),a=t(38497),r={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},i=t(75651),o=a.forwardRef(function(e,l){return a.createElement(i.Z,(0,n.Z)({},e,{ref:l,icon:r}))})},72828:function(e,l,t){t.d(l,{Z:function(){return o}});var n=t(42096),a=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},i=t(75651),o=a.forwardRef(function(e,l){return a.createElement(i.Z,(0,n.Z)({},e,{ref:l,icon:r}))})},31676:function(e,l,t){t.d(l,{Z:function(){return o}});var n=t(42096),a=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},i=t(75651),o=a.forwardRef(function(e,l){return a.createElement(i.Z,(0,n.Z)({},e,{ref:l,icon:r}))})},32857:function(e,l,t){t.d(l,{Z:function(){return o}});var n=t(42096),a=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},i=t(75651),o=a.forwardRef(function(e,l){return a.createElement(i.Z,(0,n.Z)({},e,{ref:l,icon:r}))})},51310:function(e,l,t){var n=t(88506);l.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},61977:function(e,l,t){var n=t(96469),a=t(27250),r=t(23852),i=t.n(r),o=t(38497);l.Z=(0,o.memo)(e=>{let{width:l,height:t,model:r}=e,s=(0,o.useMemo)(()=>{let e=null==r?void 0:r.replaceAll("-","_").split("_")[0],l=Object.keys(a.Me);for(let t=0;t{let{width:l,height:t,scene:o}=e,s=(0,i.useCallback)(()=>{switch(o){case"chat_knowledge":return a.je;case"chat_with_db_execute":return a.zM;case"chat_excel":return a.DL;case"chat_with_db_qa":case"chat_dba":return a.RD;case"chat_dashboard":return a.In;case"chat_agent":return a.si;case"chat_normal":return a.O7;default:return}},[o]);return(0,n.jsx)(r.Z,{className:"w-".concat(l||7," h-").concat(t||7),component:s()})}},58526:function(e,l,t){var n=t(96890);let a=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});l.Z=a},46837:function(e,l,t){t.r(l);var n=t(96469),a=t(26657),r=t(27623),i=t(6873),o=t(16602),s=t(16156),c=t(79839),u=t(55360),d=t(26869),v=t.n(d),m=t(38497),f=t(89776),h=t(68403),p=t(56841);let x=e=>{let{value:l,onChange:t,promptList:r}=e,[o,u]=(0,m.useState)(!1),[d,v]=(0,m.useState)(),{t:f}=(0,p.$G)();return(0,m.useEffect)(()=>{if(l){let e=null==r?void 0:r.filter(e=>e.prompt_code===l)[0];v(e)}},[r,l]),(0,n.jsxs)("div",{className:"w-2/5 flex items-center gap-2",children:[(0,n.jsx)(s.default,{className:"w-1/2",placeholder:f("please_select_prompt"),options:r,fieldNames:{label:"prompt_name",value:"prompt_code"},onChange:e=>{let l=null==r?void 0:r.filter(l=>l.prompt_code===e)[0];v(l),null==t||t(e)},value:l,allowClear:!0,showSearch:!0}),d&&(0,n.jsxs)("span",{className:"text-sm text-blue-500 cursor-pointer",onClick:()=>u(!0),children:[(0,n.jsx)(i.Z,{className:"mr-1"}),f("View_details")]}),(0,n.jsx)(c.default,{title:"Prompt ".concat(f("details")),open:o,footer:!1,width:"60%",onCancel:()=>u(!1),children:(0,n.jsx)(a.default,{children:null==d?void 0:d.content})})]})};l.default=e=>{var l,t;let{name:a,initValue:i,modelStrategyOptions:c,resourceTypeOptions:d,updateData:g,classNames:j,promptList:b}=e,{t:_}=(0,p.$G)(),[y]=u.default.useForm(),w=u.default.useWatch("prompt_template",y),Z=u.default.useWatch("llm_strategy",y),N=u.default.useWatch("llm_strategy_value",y),[k,C]=(0,m.useState)(),[S,M]=(0,m.useState)(!1),E=(0,m.useMemo)(()=>(null==i?void 0:i.find(e=>e.agent_name===a))||[],[i,a]),R=(0,m.useRef)([]),{run:V,loading:z,data:L}=(0,o.Z)(async()=>{var e;let[,l]=await (0,r.Vx)((0,r.m9)("priority"));return null!==(e=null==l?void 0:l.map(e=>({label:e,value:e})))&&void 0!==e?e:[]},{manual:!0});return(0,m.useEffect)(()=>{"priority"===Z&&V()},[V,Z]),(0,m.useEffect)(()=>{var e;let l=y.getFieldsValue();g({agent_name:a,...l,llm_strategy_value:null==l?void 0:null===(e=l.llm_strategy_value)||void 0===e?void 0:e.join(","),resources:R.current})},[y,z,a,w,Z,N,g]),(0,n.jsx)("div",{className:v()(j),children:(0,n.jsxs)(u.default,{style:{width:"100%"},labelCol:{span:4},form:y,initialValues:{llm_strategy:"default",...E,llm_strategy_value:null==E?void 0:null===(l=E.llm_strategy_value)||void 0===l?void 0:l.split(",")},children:[(0,n.jsx)(u.default.Item,{label:_("Prompt"),name:"prompt_template",children:(0,n.jsx)(x,{promptList:b})}),(0,n.jsx)(u.default.Item,{label:_("LLM_strategy"),required:!0,name:"llm_strategy",children:(0,n.jsx)(s.default,{className:"w-1/5",placeholder:_("please_select_LLM_strategy"),options:c,allowClear:!0})}),"priority"===Z&&(0,n.jsx)(u.default.Item,{label:_("LLM_strategy_value"),required:!0,name:"llm_strategy_value",children:(0,n.jsx)(s.default,{mode:"multiple",className:"w-2/5",placeholder:_("please_select_LLM_strategy_value"),options:L,allowClear:!0})}),(0,n.jsx)(u.default.Item,{label:_("available_resources"),name:"resources",children:(0,n.jsx)(h.default,{resourceTypeOptions:d,initValue:null==E?void 0:null===(t=E.resources)||void 0===t?void 0:t.map(e=>({...e,uid:(0,f.Z)()})),updateData:e=>{R.current=null==e?void 0:e[1],g({agent_name:a,resources:R.current})},name:a})})]})})}},23464:function(e,l,t){t.r(l);var n=t(96469),a=t(27623),r=t(16602),i=t(55360),o=t(16156),s=t(73837),c=t(26869),u=t.n(c),d=t(38497),v=t(56841);l.default=e=>{let{uid:l,initValue:t,updateData:c,classNames:m,resourceTypeOptions:f,setCurIcon:h}=e,[p]=i.default.useForm(),x=i.default.useWatch("type",p),g=i.default.useWatch("is_dynamic",p),j=i.default.useWatch("value",p),{t:b}=(0,v.$G)(),_=(0,d.useMemo)(()=>(null==f?void 0:f.filter(e=>"all"!==e.value))||[],[f]),{run:y,data:w,loading:Z}=(0,r.Z)(async e=>{var l;let[,n]=await (0,a.Vx)((0,a.RX)({type:e}));return p.setFieldsValue({value:(null==t?void 0:t.value)||(null==n?void 0:null===(l=n[0])||void 0===l?void 0:l.key)}),n||[]},{manual:!0});(0,d.useEffect)(()=>{x&&y(x)},[y,x]);let N=(0,d.useMemo)(()=>(null==w?void 0:w.map(e=>({...e,label:e.label,value:e.key+""})))||[],[w]);return(0,d.useEffect)(()=>{let e=p.getFieldsValue(),t=(null==e?void 0:e.is_dynamic)?"":null==e?void 0:e.value;c({uid:l,...e,value:t})},[l,g,p,c,j,x]),(0,n.jsx)("div",{className:u()("flex flex-1",m),children:(0,n.jsxs)(i.default,{style:{width:"100%"},form:p,labelCol:{span:4},initialValues:{...t},children:[(0,n.jsx)(i.default.Item,{label:b("resource_type"),name:"type",children:(0,n.jsx)(o.default,{className:"w-2/5",options:_,onChange:e=>{h({uid:l,icon:e})}})}),(0,n.jsx)(i.default.Item,{label:b("resource_dynamic"),name:"is_dynamic",children:(0,n.jsx)(s.Z,{style:{background:g?"#1677ff":"#ccc"}})}),!g&&(0,n.jsxs)(n.Fragment,{children:[" ","image_file"===x||"internet"===x||["text_file","excel_file"].includes(x)?null:(0,n.jsx)(i.default.Item,{label:b("resource_value"),name:"value",required:!0,children:(0,n.jsx)(o.default,{placeholder:b("please_select_param"),options:N,loading:Z,className:"w-3/5",allowClear:!0})})]})]})})}},68403:function(e,l,t){t.r(l),t.d(l,{default:function(){return b}});var n=t(96469),a=t(97818),r=t(26869),i=t.n(r),o=e=>{let{className:l,imgUrl:t="/pictures/empty.png"}=e;return(0,n.jsx)("div",{className:i()("m-auto",{className:l}),children:(0,n.jsx)(a.Z,{image:t,imageStyle:{margin:"0 auto",width:"100%",height:"100%"}})})},s=t(2537),c=t(97511),u=t(16156),d=t(21840),v=t(13419),m=t(27691),f=t(44766),h=t(38497),p=t(89776),x=t(48044),g=t(23464),j=t(56841),b=e=>{var l;let{name:t,updateData:a,resourceTypeOptions:r,initValue:b}=e,{t:_}=(0,j.$G)(),y=(0,h.useRef)(b||[]),[w,Z]=(0,h.useState)({uid:"",icon:""}),[N,k]=(0,h.useState)((null==b?void 0:b.map((e,l)=>({...e,icon:e.type,initVal:e})))||[]),[C,S]=(0,h.useState)([...N]),[M,E]=(0,h.useState)((null==N?void 0:null===(l=N[0])||void 0===l?void 0:l.uid)||""),[R,V]=(0,h.useState)(""),z=(e,l)=>{var n,r;null==e||e.stopPropagation();let i=null===(n=y.current)||void 0===n?void 0:n.findIndex(e=>e.uid===M),o=null==N?void 0:N.filter(e=>e.uid!==l.uid);y.current=y.current.filter(e=>e.uid!==l.uid)||[],a([t,y.current]),k(o),i===(null==N?void 0:N.length)-1&&0!==i&&setTimeout(()=>{var e;E((null==o?void 0:null===(e=o[o.length-1])||void 0===e?void 0:e.uid)||"")},0),E((null==o?void 0:null===(r=o[i])||void 0===r?void 0:r.uid)||"")};return(0,h.useEffect)(()=>{S([...N])},[N]),(0,h.useEffect)(()=>{k(N.map(e=>(null==w?void 0:w.uid)===e.uid?{...e,icon:w.icon}:e))},[w]),(0,n.jsxs)("div",{className:"flex flex-1 h-64 px-3 py-4 border border-[#d6d8da] rounded-md",children:[(0,n.jsxs)("div",{className:"flex flex-col w-40 h-full",children:[(0,n.jsx)(u.default,{options:r,className:"w-full h-8",variant:"borderless",defaultValue:"all",onChange:e=>{var l,t;if("all"===e)S(N),E((null==N?void 0:null===(l=N[0])||void 0===l?void 0:l.uid)||"");else{let l=null==N?void 0:N.filter(l=>(null==l?void 0:l.icon)===e);E((null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.uid)||""),S(l)}}}),(0,n.jsx)("div",{className:"flex flex-1 flex-col gap-1 overflow-y-auto",children:null==C?void 0:C.map(e=>(0,n.jsxs)("div",{className:i()("flex h-8 items-center px-3 pl-[0.6rem] rounded-md hover:bg-[#f5faff] hover:dark:bg-[#606264] cursor-pointer relative",{"bg-[#f5faff] dark:bg-[#606264]":e.uid===M}),onClick:()=>{E(e.uid||"")},onMouseEnter:()=>{V(e.uid||"")},onMouseLeave:()=>{V("")},children:[x.resourceTypeIcon[e.icon||""],(0,n.jsx)(d.Z.Text,{className:i()("flex flex-1 items-center text-sm p-0 m-0 mx-2 line-clamp-1",{"text-[#0c75fc]":e.uid===M}),editable:{autoSize:{maxRows:1},onChange:l=>{k(N.map(t=>t.uid===e.uid?{...t,name:l}:t)),y.current=y.current.map(t=>t.uid===e.uid?{...t,name:l}:t),a([t,y.current])}},ellipsis:{tooltip:!0},children:e.name}),(0,n.jsx)(v.Z,{title:_("want_delete"),onConfirm:l=>{z(l,e)},onCancel:e=>null==e?void 0:e.stopPropagation(),children:(0,n.jsx)(s.Z,{className:"text-sm cursor-pointer absolute right-2 ".concat(R===e.uid?"opacity-100":"opacity-0"),style:{top:"50%",transform:"translateY(-50%)"},onClick:e=>e.stopPropagation()})})]},e.uid))}),(0,n.jsx)(m.ZP,{className:"w-full h-8",type:"dashed",block:!0,icon:(0,n.jsx)(c.Z,{}),onClick:()=>{var e,l;let n=(0,p.Z)();y.current=(0,f.concat)(y.current,[{is_dynamic:!1,type:null===(e=null==r?void 0:r.filter(e=>"all"!==e.value))||void 0===e?void 0:e[0].value,value:"",uid:n,name:_("resource")+" ".concat(y.current.length+1)}].filter(Boolean)),a([t,y.current]),k(e=>{var l,t,a;return[...e,{icon:(null===(l=null==r?void 0:r.filter(e=>"all"!==e.value))||void 0===l?void 0:null===(t=l[0])||void 0===t?void 0:t.value)||"",uid:n,initVal:{is_dynamic:!1,type:null===(a=null==r?void 0:r.filter(e=>"all"!==e.value))||void 0===a?void 0:a[0].value,value:"",uid:n,name:_("resource")+" ".concat(e.length+1)},name:_("resource")+" ".concat(e.length+1)}]}),E(n),Z({uid:n,icon:null===(l=null==r?void 0:r.filter(e=>"all"!==e.value))||void 0===l?void 0:l[0].value})},children:_("add_resource")})]}),(0,n.jsx)("div",{className:"flex flex-1 ml-6 ",children:C&&(null==C?void 0:C.length)>0?(0,n.jsx)("div",{className:"flex flex-1",children:null==C?void 0:C.map(e=>(0,n.jsx)(g.default,{classNames:e.uid===M?"block":"hidden",resourceTypeOptions:r,initValue:e.initVal,setCurIcon:Z,updateData:e=>{var l;y.current=null===(l=y.current)||void 0===l?void 0:l.map(l=>(null==l?void 0:l.uid)===(null==e?void 0:e.uid)?{...l,...e}:l),a([t,y.current])},uid:e.uid||""},e.uid))}):(0,n.jsx)(o,{className:"w-40 h-40"})})]})}},48044:function(e,l,t){t.r(l),t.d(l,{agentIcon:function(){return b},resourceTypeIcon:function(){return _}});var n=t(96469),a=t(58526),r=t(15484),i=t(1136),o=t(62002),s=t(67576),c=t(43748),u=t(58964),d=t(47520),v=t(44808),m=t(50374),f=t(10173),h=t(72533),p=t(62246),x=t(84542),g=t(41446),j=t(28062);t(38497);let b={CodeEngineer:(0,n.jsx)(r.Z,{}),Reporter:(0,n.jsx)(i.Z,{}),DataScientist:(0,n.jsx)(o.Z,{}),Summarizer:(0,n.jsx)(s.Z,{}),ToolExpert:(0,n.jsx)(a.Z,{type:"icon-plugin",style:{fontSize:17.25,marginTop:2}}),Indicator:(0,n.jsx)(c.Z,{}),Dbass:(0,n.jsx)(u.Z,{})},_={all:(0,n.jsx)(d.Z,{}),database:(0,n.jsx)(v.Z,{}),knowledge:(0,n.jsx)(m.Z,{}),internet:(0,n.jsx)(f.Z,{}),plugin:(0,n.jsx)(h.Z,{}),text_file:(0,n.jsx)(p.Z,{}),excel_file:(0,n.jsx)(x.Z,{}),image_file:(0,n.jsx)(g.Z,{}),awel_flow:(0,n.jsx)(j.Z,{})};l.default=()=>(0,n.jsx)(n.Fragment,{})},5157:function(e,l,t){t.r(l);var n=t(96469),a=t(26953),r=t(98028),i=t(95891),o=t(21840),s=t(93486),c=t.n(s),u=t(38497),d=t(29549);l.default=(0,u.memo)(()=>{var e;let{appInfo:l}=(0,u.useContext)(d.MobileChatContext),{message:t}=i.Z.useApp(),[s,v]=(0,u.useState)(0);if(!(null==l?void 0:l.app_code))return null;let m=async()=>{let e=c()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));t[e?"success":"error"](e?"复制成功":"复制失败")};return s>6&&t.info(JSON.stringify(window.navigator.userAgent),2,()=>{v(0)}),(0,n.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,n.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>v(s+1),children:[(0,n.jsx)(a.Z,{scene:(null==l?void 0:null===(e=l.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,n.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,n.jsx)(o.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==l?void 0:l.app_name}),(0,n.jsx)(o.Z.Text,{className:"text-sm line-clamp-2",children:null==l?void 0:l.app_describe})]})]}),(0,n.jsx)("div",{onClick:m,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,n.jsx)(r.Z,{className:"text-lg"})})]})})},86364:function(e,l,t){t.r(l);var n=t(96469),a=t(27623),r=t(7289),i=t(88506),o=t(1858),s=t(72828),c=t(37022),u=t(67620),d=t(31676),v=t(44875),m=t(16602),f=t(49030),h=t(62971),p=t(42786),x=t(41999),g=t(27691),j=t(26869),b=t.n(j),_=t(45875),y=t(38497),w=t(29549),Z=t(95433),N=t(14035),k=t(55238),C=t(75299);let S=["magenta","orange","geekblue","purple","cyan","green"];l.default=()=>{var e,l;let t=(0,_.useSearchParams)(),j=null!==(l=null==t?void 0:t.get("ques"))&&void 0!==l?l:"",{history:M,model:E,scene:R,temperature:V,resource:z,conv_uid:L,appInfo:H,scrollViewRef:I,order:O,userInput:T,ctrl:P,canAbort:A,canNewChat:B,setHistory:D,setCanNewChat:W,setCarAbort:q,setUserInput:F}=(0,y.useContext)(w.MobileChatContext),[$,J]=(0,y.useState)(!1),[U,G]=(0,y.useState)(!1),K=async e=>{var l,t,n;F(""),P.current=new AbortController;let a={chat_mode:R,model_name:E,user_input:e||T,conv_uid:L,temperature:V,app_code:null==H?void 0:H.app_code,...z&&{select_param:JSON.stringify(z)}};if(M&&M.length>0){let e=null==M?void 0:M.filter(e=>"view"===e.role);O.current=e[e.length-1].order+1}let o=[{role:"human",context:e||T,model_name:E,order:O.current,time_stamp:0},{role:"view",context:"",model_name:E,order:O.current,time_stamp:0,thinking:!0}],s=o.length-1;D([...M,...o]),W(!1);try{await (0,v.L)("".concat(null!==(l=C.env.API_BASE_URL)&&void 0!==l?l:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[i.gp]:null!==(t=(0,r.n5)())&&void 0!==t?t:""},signal:P.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===v.a)return},onclose(){var e;null===(e=P.current)||void 0===e||e.abort(),W(!0),q(!1)},onerror(e){throw Error(e)},onmessage:e=>{let l=e.data;try{l=JSON.parse(l).vis}catch(e){l.replaceAll("\\n","\n")}"[DONE]"===l?(W(!0),q(!1)):(null==l?void 0:l.startsWith("[ERROR]"))?(o[s].context=null==l?void 0:l.replace("[ERROR]",""),o[s].thinking=!1,D([...M,...o]),W(!0),q(!1)):(q(!0),o[s].context=l,o[s].thinking=!1,D([...M,...o]))}})}catch(e){null===(n=P.current)||void 0===n||n.abort(),o[s].context="Sorry, we meet some error, please try again later.",o[s].thinking=!1,D([...o]),W(!0),q(!1)}},X=async()=>{T.trim()&&B&&await K()};(0,y.useEffect)(()=>{var e,l;null===(e=I.current)||void 0===e||e.scrollTo({top:null===(l=I.current)||void 0===l?void 0:l.scrollHeight,behavior:"auto"})},[M,I]);let Y=(0,y.useMemo)(()=>{if(!H)return[];let{param_need:e=[]}=H;return null==e?void 0:e.map(e=>e.type)},[H]),Q=(0,y.useMemo)(()=>{var e;return 0===M.length&&H&&!!(null==H?void 0:null===(e=H.recommend_questions)||void 0===e?void 0:e.length)},[M,H]),{run:ee,loading:el}=(0,m.Z)(async()=>await (0,a.Vx)((0,a.zR)(L)),{manual:!0,onSuccess:()=>{D([])}});return(0,y.useEffect)(()=>{j&&E&&L&&H&&K(j)},[H,L,E,j]),(0,n.jsxs)("div",{className:"flex flex-col",children:[Q&&(0,n.jsx)("ul",{children:null==H?void 0:null===(e=H.recommend_questions)||void 0===e?void 0:e.map((e,l)=>(0,n.jsx)("li",{className:"mb-3",children:(0,n.jsx)(f.Z,{color:S[l],className:"p-2 rounded-xl",onClick:async()=>{K(e.question)},children:e.question})},e.id))}),(0,n.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,n.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==Y?void 0:Y.includes("model"))&&(0,n.jsx)(Z.default,{}),(null==Y?void 0:Y.includes("resource"))&&(0,n.jsx)(N.default,{}),(null==Y?void 0:Y.includes("temperature"))&&(0,n.jsx)(k.default,{})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,n.jsx)(h.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(o.Z,{className:b()("p-2 cursor-pointer",{"text-[#0c75fc]":A,"text-gray-400":!A}),onClick:()=>{var e;A&&(null===(e=P.current)||void 0===e||e.abort(),setTimeout(()=>{q(!1),W(!0)},100))}})}),(0,n.jsx)(h.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(s.Z,{className:b()("p-2 cursor-pointer",{"text-gray-400":!M.length||!B}),onClick:()=>{var e,l;if(!B||0===M.length)return;let t=null===(e=null===(l=M.filter(e=>"human"===e.role))||void 0===l?void 0:l.slice(-1))||void 0===e?void 0:e[0];K((null==t?void 0:t.context)||"")}})}),el?(0,n.jsx)(p.Z,{spinning:el,indicator:(0,n.jsx)(c.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,n.jsx)(h.Z,{content:"清除历史",trigger:["hover"],children:(0,n.jsx)(u.Z,{className:b()("p-2 cursor-pointer",{"text-gray-400":!M.length||!B}),onClick:()=>{B&&ee()}})})]})]}),(0,n.jsxs)("div",{className:b()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":$}),children:[(0,n.jsx)(x.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:T,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(U){e.preventDefault();return}T.trim()&&(e.preventDefault(),X())}},onChange:e=>{F(e.target.value)},onFocus:()=>{J(!0)},onBlur:()=>J(!1),onCompositionStartCapture:()=>{G(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{G(!1)},0)}}),(0,n.jsx)(g.ZP,{type:"primary",className:b()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!T.trim()||!B}),onClick:X,children:B?(0,n.jsx)(d.Z,{}):(0,n.jsx)(p.Z,{indicator:(0,n.jsx)(c.Z,{className:"text-white"})})})]})]})}},95433:function(e,l,t){t.r(l);var n=t(96469),a=t(61977),r=t(45277),i=t(32857),o=t(80335),s=t(62971),c=t(38497),u=t(29549);l.default=()=>{let{modelList:e}=(0,c.useContext)(r.p),{model:l,setModel:t}=(0,c.useContext)(u.MobileChatContext),d=(0,c.useMemo)(()=>e.length>0?e.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{t(e)},children:[(0,n.jsx)(a.Z,{width:14,height:14,model:e}),(0,n.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,t]);return(0,n.jsx)(o.Z,{menu:{items:d},placement:"top",trigger:["click"],children:(0,n.jsx)(s.Z,{content:l,children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(a.Z,{width:16,height:16,model:l}),(0,n.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:l}),(0,n.jsx)(i.Z,{rotate:90})]})})})}},33389:function(e,l,t){t.r(l);var n=t(96469),a=t(23852),r=t.n(a),i=t(38497);l.default=(0,i.memo)(e=>{let{width:l,height:t,src:a,label:i}=e;return(0,n.jsx)(r(),{width:l||14,height:t||14,src:a,alt:i||"db-icon",priority:!0})})},14035:function(e,l,t){t.r(l);var n=t(96469),a=t(27623),r=t(7289),i=t(37022),o=t(32857),s=t(71534),c=t(16602),u=t(42786),d=t(19389),v=t(80335),m=t(38497),f=t(29549),h=t(33389);l.default=()=>{let{appInfo:e,resourceList:l,scene:t,model:p,conv_uid:x,getChatHistoryRun:g,setResource:j,resource:b}=(0,m.useContext)(f.MobileChatContext),[_,y]=(0,m.useState)(null),w=(0,m.useMemo)(()=>{var l,t,n;return null===(l=null==e?void 0:null===(t=e.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===l?void 0:null===(n=l[0])||void 0===n?void 0:n.value},[e]),Z=(0,m.useMemo)(()=>l&&l.length>0?l.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{y(e),j(e.space_id||e.param)},children:[(0,n.jsx)(h.default,{width:14,height:14,src:r.S$[e.type].icon,label:r.S$[e.type].label}),(0,n.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[l,j]),{run:N,loading:k}=(0,c.Z)(async e=>{let[,l]=await (0,a.Vx)((0,a.qn)({convUid:x,chatMode:t,data:e,model:p,config:{timeout:36e5}}));return j(l),l},{manual:!0,onSuccess:async()=>{await g()}}),C=async e=>{let l=new FormData;l.append("doc_file",null==e?void 0:e.file),await N(l)},S=(0,m.useMemo)(()=>k?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(u.Z,{size:"small",indicator:(0,n.jsx)(i.Z,{spin:!0})}),(0,n.jsx)("span",{className:"text-xs",children:"上传中"})]}):b?(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)("span",{className:"text-xs",children:b.file_name}),(0,n.jsx)(o.Z,{rotate:90})]}):(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(s.Z,{className:"text-base"}),(0,n.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[k,b]);return(0,n.jsx)(n.Fragment,{children:(()=>{switch(w){case"excel_file":case"text_file":case"image_file":return(0,n.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,n.jsx)(d.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:C,className:"flex h-full w-full items-center justify-center",children:S})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,t,a,i,s;if(!(null==l?void 0:l.length))return null;return(0,n.jsx)(v.Z,{menu:{items:Z},placement:"top",trigger:["click"],children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(h.default,{width:14,height:14,src:null===(e=r.S$[(null==_?void 0:_.type)||(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.type)])||void 0===e?void 0:e.icon,label:null===(a=r.S$[(null==_?void 0:_.type)||(null==l?void 0:null===(i=l[0])||void 0===i?void 0:i.type)])||void 0===a?void 0:a.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==_?void 0:_.param)||(null==l?void 0:null===(s=l[0])||void 0===s?void 0:s.param)}),(0,n.jsx)(o.Z,{rotate:90})]})})}})()})}},55238:function(e,l,t){t.r(l);var n=t(96469),a=t(80335),r=t(28822),i=t(38497),o=t(29549),s=t(58526);l.default=()=>{let{temperature:e,setTemperature:l}=(0,i.useContext)(o.MobileChatContext),t=e=>{isNaN(e)||l(e)};return(0,n.jsx)(a.Z,{trigger:["click"],dropdownRender:()=>(0,n.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,n.jsx)(r.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:t,value:e})}),placement:"top",children:(0,n.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,n.jsx)(s.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,n.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},29549:function(e,l,t){t.r(l),t.d(l,{MobileChatContext:function(){return b}});var n=t(96469),a=t(45277),r=t(27623),i=t(51310),o=t(7289),s=t(88506),c=t(44875),u=t(16602),d=t(42786),v=t(28469),m=t.n(v),f=t(45875),h=t(38497),p=t(5157),x=t(86364),g=t(75299);let j=m()(()=>Promise.all([t.e(7521),t.e(5197),t.e(6156),t.e(5996),t.e(9223),t.e(3127),t.e(9631),t.e(9790),t.e(4506),t.e(1657),t.e(5444),t.e(3093),t.e(4399),t.e(7463),t.e(6101),t.e(5883),t.e(5891),t.e(2061),t.e(3695)]).then(t.bind(t,33068)),{loadableGenerated:{webpack:()=>[33068]},ssr:!1}),b=(0,h.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});l.default=()=>{var e,l;let t=(0,f.useSearchParams)(),v=null!==(e=null==t?void 0:t.get("chat_scene"))&&void 0!==e?e:"",m=null!==(l=null==t?void 0:t.get("app_code"))&&void 0!==l?l:"",{modelList:_}=(0,h.useContext)(a.p),[y,w]=(0,h.useState)([]),[Z,N]=(0,h.useState)(""),[k,C]=(0,h.useState)(.5),[S,M]=(0,h.useState)(null),E=(0,h.useRef)(null),[R,V]=(0,h.useState)(""),[z,L]=(0,h.useState)(!1),[H,I]=(0,h.useState)(!0),O=(0,h.useRef)(),T=(0,h.useRef)(1),P=(0,i.Z)(),A=(0,h.useMemo)(()=>"".concat(null==P?void 0:P.user_no,"_").concat(m),[m,P]),{run:B,loading:D}=(0,u.Z)(async()=>await (0,r.Vx)((0,r.$i)("".concat(null==P?void 0:P.user_no,"_").concat(m))),{manual:!0,onSuccess:e=>{let[,l]=e,t=null==l?void 0:l.filter(e=>"view"===e.role);t&&t.length>0&&(T.current=t[t.length-1].order+1),w(l||[])}}),{data:W,run:q,loading:F}=(0,u.Z)(async e=>{let[,l]=await (0,r.Vx)((0,r.BN)(e));return null!=l?l:{}},{manual:!0}),{run:$,data:J,loading:U}=(0,u.Z)(async()=>{var e,l;let[,t]=await (0,r.Vx)((0,r.vD)(v));return M((null==t?void 0:null===(e=t[0])||void 0===e?void 0:e.space_id)||(null==t?void 0:null===(l=t[0])||void 0===l?void 0:l.param)),null!=t?t:[]},{manual:!0}),{run:G,loading:K}=(0,u.Z)(async()=>{let[,e]=await (0,r.Vx)((0,r.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var l;let t=null===(l=null==e?void 0:e.filter(e=>e.conv_uid===A))||void 0===l?void 0:l[0];(null==t?void 0:t.select_param)&&M(JSON.parse(null==t?void 0:t.select_param))}});(0,h.useEffect)(()=>{v&&m&&_.length&&q({chat_scene:v,app_code:m})},[m,v,q,_]),(0,h.useEffect)(()=>{m&&B()},[m]),(0,h.useEffect)(()=>{if(_.length>0){var e,l,t;let n=null===(e=null==W?void 0:null===(l=W.param_need)||void 0===l?void 0:l.filter(e=>"model"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value;N(n||_[0])}},[_,W]),(0,h.useEffect)(()=>{var e,l,t;let n=null===(e=null==W?void 0:null===(l=W.param_need)||void 0===l?void 0:l.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value;C(n||.5)},[W]),(0,h.useEffect)(()=>{if(v&&(null==W?void 0:W.app_code)){var e,l,t,n,a,r;let i=null===(e=null==W?void 0:null===(l=W.param_need)||void 0===l?void 0:l.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value,o=null===(n=null==W?void 0:null===(a=W.param_need)||void 0===a?void 0:a.filter(e=>"resource"===e.type))||void 0===n?void 0:null===(r=n[0])||void 0===r?void 0:r.bind_value;o&&M(o),["database","knowledge","plugin","awel_flow"].includes(i)&&!o&&$()}},[W,v,$]);let X=async e=>{var l,t,n;V(""),O.current=new AbortController;let a={chat_mode:v,model_name:Z,user_input:e||R,conv_uid:A,temperature:k,app_code:null==W?void 0:W.app_code,...S&&{select_param:S}};if(y&&y.length>0){let e=null==y?void 0:y.filter(e=>"view"===e.role);T.current=e[e.length-1].order+1}let r=[{role:"human",context:e||R,model_name:Z,order:T.current,time_stamp:0},{role:"view",context:"",model_name:Z,order:T.current,time_stamp:0,thinking:!0}],i=r.length-1;w([...y,...r]),I(!1);try{await (0,c.L)("".concat(null!==(l=g.env.API_BASE_URL)&&void 0!==l?l:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[s.gp]:null!==(t=(0,o.n5)())&&void 0!==t?t:""},signal:O.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===c.a)return},onclose(){var e;null===(e=O.current)||void 0===e||e.abort(),I(!0),L(!1)},onerror(e){throw Error(e)},onmessage:e=>{let l=e.data;try{l=JSON.parse(l).vis}catch(e){l.replaceAll("\\n","\n")}"[DONE]"===l?(I(!0),L(!1)):(null==l?void 0:l.startsWith("[ERROR]"))?(r[i].context=null==l?void 0:l.replace("[ERROR]",""),r[i].thinking=!1,w([...y,...r]),I(!0),L(!1)):(L(!0),r[i].context=l,r[i].thinking=!1,w([...y,...r]))}})}catch(e){null===(n=O.current)||void 0===n||n.abort(),r[i].context="Sorry, we meet some error, please try again later.",r[i].thinking=!1,w([...r]),I(!0),L(!1)}};return(0,h.useEffect)(()=>{v&&"chat_agent"!==v&&G()},[v,G]),(0,n.jsx)(b.Provider,{value:{model:Z,resource:S,setModel:N,setTemperature:C,setResource:M,temperature:k,appInfo:W,conv_uid:A,scene:v,history:y,scrollViewRef:E,setHistory:w,resourceList:J,order:T,handleChat:X,setCanNewChat:I,ctrl:O,canAbort:z,setCarAbort:L,canNewChat:H,userInput:R,setUserInput:V,getChatHistoryRun:B},children:(0,n.jsx)(d.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:D||F||U||K,children:(0,n.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,n.jsxs)("div",{ref:E,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,n.jsx)(p.default,{}),(0,n.jsx)(j,{})]}),(null==W?void 0:W.app_code)&&(0,n.jsx)(x.default,{})]})})})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2645-075101fb813c963d.js b/dbgpt/app/static/web/_next/static/chunks/2645-075101fb813c963d.js new file mode 100644 index 000000000..15c99b009 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/2645-075101fb813c963d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2645,9549],{51310:function(e,l,t){var n=t(88506);l.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},61977:function(e,l,t){var n=t(96469),a=t(27250),r=t(23852),i=t.n(r),s=t(38497);l.Z=(0,s.memo)(e=>{let{width:l,height:t,model:r}=e,o=(0,s.useMemo)(()=>{let e=null==r?void 0:r.replaceAll("-","_").split("_")[0],l=Object.keys(a.Me);for(let t=0;t{let{width:l,height:t,scene:s}=e,o=(0,i.useCallback)(()=>{switch(s){case"chat_knowledge":return a.je;case"chat_with_db_execute":return a.zM;case"chat_excel":return a.DL;case"chat_with_db_qa":case"chat_dba":return a.RD;case"chat_dashboard":return a.In;case"chat_agent":return a.si;case"chat_normal":return a.O7;default:return}},[s]);return(0,n.jsx)(r.Z,{className:"w-".concat(l||7," h-").concat(t||7),component:o()})}},58526:function(e,l,t){var n=t(96890);let a=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});l.Z=a},46837:function(e,l,t){t.r(l);var n=t(96469),a=t(26657),r=t(27623),i=t(6873),s=t(16602),o=t(39069),u=t(79839),d=t(55360),c=t(26869),m=t.n(c),v=t(38497),p=t(89776),x=t(68403),f=t(56841);let h=e=>{let{value:l,onChange:t,promptList:r}=e,[s,d]=(0,v.useState)(!1),[c,m]=(0,v.useState)(),{t:p}=(0,f.$G)();return(0,v.useEffect)(()=>{if(l){let e=null==r?void 0:r.filter(e=>e.prompt_code===l)[0];m(e)}},[r,l]),(0,n.jsxs)("div",{className:"w-2/5 flex items-center gap-2",children:[(0,n.jsx)(o.default,{className:"w-1/2",placeholder:p("please_select_prompt"),options:r,fieldNames:{label:"prompt_name",value:"prompt_code"},onChange:e=>{let l=null==r?void 0:r.filter(l=>l.prompt_code===e)[0];m(l),null==t||t(e)},value:l,allowClear:!0,showSearch:!0}),c&&(0,n.jsxs)("span",{className:"text-sm text-blue-500 cursor-pointer",onClick:()=>d(!0),children:[(0,n.jsx)(i.Z,{className:"mr-1"}),p("View_details")]}),(0,n.jsx)(u.default,{title:"Prompt ".concat(p("details")),open:s,footer:!1,width:"60%",onCancel:()=>d(!1),children:(0,n.jsx)(a.default,{children:null==c?void 0:c.content})})]})};l.default=e=>{var l,t;let{name:a,initValue:i,modelStrategyOptions:u,resourceTypeOptions:c,updateData:g,classNames:j,promptList:_}=e,{t:b}=(0,f.$G)(),[y]=d.default.useForm(),w=d.default.useWatch("prompt_template",y),N=d.default.useWatch("llm_strategy",y),k=d.default.useWatch("llm_strategy_value",y),[Z,C]=(0,v.useState)(),[S,E]=(0,v.useState)(!1),R=(0,v.useMemo)(()=>(null==i?void 0:i.find(e=>e.agent_name===a))||[],[i,a]),M=(0,v.useRef)([]),{run:I,loading:V,data:O}=(0,s.Z)(async()=>{var e;let[,l]=await (0,r.Vx)((0,r.m9)("priority"));return null!==(e=null==l?void 0:l.map(e=>({label:e,value:e})))&&void 0!==e?e:[]},{manual:!0});return(0,v.useEffect)(()=>{"priority"===N&&I()},[I,N]),(0,v.useEffect)(()=>{var e;let l=y.getFieldsValue();g({agent_name:a,...l,llm_strategy_value:null==l?void 0:null===(e=l.llm_strategy_value)||void 0===e?void 0:e.join(","),resources:M.current})},[y,V,a,w,N,k,g]),(0,n.jsx)("div",{className:m()(j),children:(0,n.jsxs)(d.default,{style:{width:"100%"},labelCol:{span:4},form:y,initialValues:{llm_strategy:"default",...R,llm_strategy_value:null==R?void 0:null===(l=R.llm_strategy_value)||void 0===l?void 0:l.split(",")},children:[(0,n.jsx)(d.default.Item,{label:b("Prompt"),name:"prompt_template",children:(0,n.jsx)(h,{promptList:_})}),(0,n.jsx)(d.default.Item,{label:b("LLM_strategy"),required:!0,name:"llm_strategy",children:(0,n.jsx)(o.default,{className:"w-1/5",placeholder:b("please_select_LLM_strategy"),options:u,allowClear:!0})}),"priority"===N&&(0,n.jsx)(d.default.Item,{label:b("LLM_strategy_value"),required:!0,name:"llm_strategy_value",children:(0,n.jsx)(o.default,{mode:"multiple",className:"w-2/5",placeholder:b("please_select_LLM_strategy_value"),options:O,allowClear:!0})}),(0,n.jsx)(d.default.Item,{label:b("available_resources"),name:"resources",children:(0,n.jsx)(x.default,{resourceTypeOptions:c,initValue:null==R?void 0:null===(t=R.resources)||void 0===t?void 0:t.map(e=>({...e,uid:(0,p.Z)()})),updateData:e=>{M.current=null==e?void 0:e[1],g({agent_name:a,resources:M.current})},name:a})})]})})}},23464:function(e,l,t){t.r(l);var n=t(96469),a=t(27623),r=t(16602),i=t(55360),s=t(39069),o=t(73837),u=t(26869),d=t.n(u),c=t(38497),m=t(56841);l.default=e=>{let{uid:l,initValue:t,updateData:u,classNames:v,resourceTypeOptions:p,setCurIcon:x}=e,[f]=i.default.useForm(),h=i.default.useWatch("type",f),g=i.default.useWatch("is_dynamic",f),j=i.default.useWatch("value",f),{t:_}=(0,m.$G)(),b=(0,c.useMemo)(()=>(null==p?void 0:p.filter(e=>"all"!==e.value))||[],[p]),{run:y,data:w,loading:N}=(0,r.Z)(async e=>{var l;let[,n]=await (0,a.Vx)((0,a.RX)({type:e}));return f.setFieldsValue({value:(null==t?void 0:t.value)||(null==n?void 0:null===(l=n[0])||void 0===l?void 0:l.key)}),n||[]},{manual:!0});(0,c.useEffect)(()=>{h&&y(h)},[y,h]);let k=(0,c.useMemo)(()=>(null==w?void 0:w.map(e=>({...e,label:e.label,value:e.key+""})))||[],[w]);return(0,c.useEffect)(()=>{let e=f.getFieldsValue(),t=(null==e?void 0:e.is_dynamic)?"":null==e?void 0:e.value;u({uid:l,...e,value:t})},[l,g,f,u,j,h]),(0,n.jsx)("div",{className:d()("flex flex-1",v),children:(0,n.jsxs)(i.default,{style:{width:"100%"},form:f,labelCol:{span:4},initialValues:{...t},children:[(0,n.jsx)(i.default.Item,{label:_("resource_type"),name:"type",children:(0,n.jsx)(s.default,{className:"w-2/5",options:b,onChange:e=>{x({uid:l,icon:e})}})}),(0,n.jsx)(i.default.Item,{label:_("resource_dynamic"),name:"is_dynamic",children:(0,n.jsx)(o.Z,{style:{background:g?"#1677ff":"#ccc"}})}),!g&&(0,n.jsxs)(n.Fragment,{children:[" ","image_file"===h||"internet"===h||["text_file","excel_file"].includes(h)?null:(0,n.jsx)(i.default.Item,{label:_("resource_value"),name:"value",required:!0,children:(0,n.jsx)(s.default,{placeholder:_("please_select_param"),options:k,loading:N,className:"w-3/5",allowClear:!0})})]})]})})}},68403:function(e,l,t){t.r(l),t.d(l,{default:function(){return _}});var n=t(96469),a=t(97818),r=t(26869),i=t.n(r),s=e=>{let{className:l,imgUrl:t="/pictures/empty.png"}=e;return(0,n.jsx)("div",{className:i()("m-auto",{className:l}),children:(0,n.jsx)(a.Z,{image:t,imageStyle:{margin:"0 auto",width:"100%",height:"100%"}})})},o=t(2537),u=t(97511),d=t(39069),c=t(85851),m=t(13419),v=t(27691),p=t(44766),x=t(38497),f=t(89776),h=t(48044),g=t(23464),j=t(56841),_=e=>{var l;let{name:t,updateData:a,resourceTypeOptions:r,initValue:_}=e,{t:b}=(0,j.$G)(),y=(0,x.useRef)(_||[]),[w,N]=(0,x.useState)({uid:"",icon:""}),[k,Z]=(0,x.useState)((null==_?void 0:_.map((e,l)=>({...e,icon:e.type,initVal:e})))||[]),[C,S]=(0,x.useState)([...k]),[E,R]=(0,x.useState)((null==k?void 0:null===(l=k[0])||void 0===l?void 0:l.uid)||""),[M,I]=(0,x.useState)(""),V=(e,l)=>{var n,r;null==e||e.stopPropagation();let i=null===(n=y.current)||void 0===n?void 0:n.findIndex(e=>e.uid===E),s=null==k?void 0:k.filter(e=>e.uid!==l.uid);y.current=y.current.filter(e=>e.uid!==l.uid)||[],a([t,y.current]),Z(s),i===(null==k?void 0:k.length)-1&&0!==i&&setTimeout(()=>{var e;R((null==s?void 0:null===(e=s[s.length-1])||void 0===e?void 0:e.uid)||"")},0),R((null==s?void 0:null===(r=s[i])||void 0===r?void 0:r.uid)||"")};return(0,x.useEffect)(()=>{S([...k])},[k]),(0,x.useEffect)(()=>{Z(k.map(e=>(null==w?void 0:w.uid)===e.uid?{...e,icon:w.icon}:e))},[w]),(0,n.jsxs)("div",{className:"flex flex-1 h-64 px-3 py-4 border border-[#d6d8da] rounded-md",children:[(0,n.jsxs)("div",{className:"flex flex-col w-40 h-full",children:[(0,n.jsx)(d.default,{options:r,className:"w-full h-8",variant:"borderless",defaultValue:"all",onChange:e=>{var l,t;if("all"===e)S(k),R((null==k?void 0:null===(l=k[0])||void 0===l?void 0:l.uid)||"");else{let l=null==k?void 0:k.filter(l=>(null==l?void 0:l.icon)===e);R((null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.uid)||""),S(l)}}}),(0,n.jsx)("div",{className:"flex flex-1 flex-col gap-1 overflow-y-auto",children:null==C?void 0:C.map(e=>(0,n.jsxs)("div",{className:i()("flex h-8 items-center px-3 pl-[0.6rem] rounded-md hover:bg-[#f5faff] hover:dark:bg-[#606264] cursor-pointer relative",{"bg-[#f5faff] dark:bg-[#606264]":e.uid===E}),onClick:()=>{R(e.uid||"")},onMouseEnter:()=>{I(e.uid||"")},onMouseLeave:()=>{I("")},children:[h.resourceTypeIcon[e.icon||""],(0,n.jsx)(c.Z.Text,{className:i()("flex flex-1 items-center text-sm p-0 m-0 mx-2 line-clamp-1",{"text-[#0c75fc]":e.uid===E}),editable:{autoSize:{maxRows:1},onChange:l=>{Z(k.map(t=>t.uid===e.uid?{...t,name:l}:t)),y.current=y.current.map(t=>t.uid===e.uid?{...t,name:l}:t),a([t,y.current])}},ellipsis:{tooltip:!0},children:e.name}),(0,n.jsx)(m.Z,{title:b("want_delete"),onConfirm:l=>{V(l,e)},onCancel:e=>null==e?void 0:e.stopPropagation(),children:(0,n.jsx)(o.Z,{className:"text-sm cursor-pointer absolute right-2 ".concat(M===e.uid?"opacity-100":"opacity-0"),style:{top:"50%",transform:"translateY(-50%)"},onClick:e=>e.stopPropagation()})})]},e.uid))}),(0,n.jsx)(v.ZP,{className:"w-full h-8",type:"dashed",block:!0,icon:(0,n.jsx)(u.Z,{}),onClick:()=>{var e,l;let n=(0,f.Z)();y.current=(0,p.concat)(y.current,[{is_dynamic:!1,type:null===(e=null==r?void 0:r.filter(e=>"all"!==e.value))||void 0===e?void 0:e[0].value,value:"",uid:n,name:b("resource")+" ".concat(y.current.length+1)}].filter(Boolean)),a([t,y.current]),Z(e=>{var l,t,a;return[...e,{icon:(null===(l=null==r?void 0:r.filter(e=>"all"!==e.value))||void 0===l?void 0:null===(t=l[0])||void 0===t?void 0:t.value)||"",uid:n,initVal:{is_dynamic:!1,type:null===(a=null==r?void 0:r.filter(e=>"all"!==e.value))||void 0===a?void 0:a[0].value,value:"",uid:n,name:b("resource")+" ".concat(e.length+1)},name:b("resource")+" ".concat(e.length+1)}]}),R(n),N({uid:n,icon:null===(l=null==r?void 0:r.filter(e=>"all"!==e.value))||void 0===l?void 0:l[0].value})},children:b("add_resource")})]}),(0,n.jsx)("div",{className:"flex flex-1 ml-6 ",children:C&&(null==C?void 0:C.length)>0?(0,n.jsx)("div",{className:"flex flex-1",children:null==C?void 0:C.map(e=>(0,n.jsx)(g.default,{classNames:e.uid===E?"block":"hidden",resourceTypeOptions:r,initValue:e.initVal,setCurIcon:N,updateData:e=>{var l;y.current=null===(l=y.current)||void 0===l?void 0:l.map(l=>(null==l?void 0:l.uid)===(null==e?void 0:e.uid)?{...l,...e}:l),a([t,y.current])},uid:e.uid||""},e.uid))}):(0,n.jsx)(s,{className:"w-40 h-40"})})]})}},48044:function(e,l,t){t.r(l),t.d(l,{agentIcon:function(){return _},resourceTypeIcon:function(){return b}});var n=t(96469),a=t(58526),r=t(15484),i=t(1136),s=t(80680),o=t(67576),u=t(43748),d=t(58964),c=t(47520),m=t(44808),v=t(50374),p=t(10173),x=t(72533),f=t(62246),h=t(84542),g=t(41446),j=t(28062);t(38497);let _={CodeEngineer:(0,n.jsx)(r.Z,{}),Reporter:(0,n.jsx)(i.Z,{}),DataScientist:(0,n.jsx)(s.Z,{}),Summarizer:(0,n.jsx)(o.Z,{}),ToolExpert:(0,n.jsx)(a.Z,{type:"icon-plugin",style:{fontSize:17.25,marginTop:2}}),Indicator:(0,n.jsx)(u.Z,{}),Dbass:(0,n.jsx)(d.Z,{})},b={all:(0,n.jsx)(c.Z,{}),database:(0,n.jsx)(m.Z,{}),knowledge:(0,n.jsx)(v.Z,{}),internet:(0,n.jsx)(p.Z,{}),plugin:(0,n.jsx)(x.Z,{}),text_file:(0,n.jsx)(f.Z,{}),excel_file:(0,n.jsx)(h.Z,{}),image_file:(0,n.jsx)(g.Z,{}),awel_flow:(0,n.jsx)(j.Z,{})};l.default=()=>(0,n.jsx)(n.Fragment,{})},5157:function(e,l,t){t.r(l);var n=t(96469),a=t(26953),r=t(98028),i=t(95891),s=t(85851),o=t(93486),u=t.n(o),d=t(38497),c=t(29549);l.default=(0,d.memo)(()=>{var e;let{appInfo:l}=(0,d.useContext)(c.MobileChatContext),{message:t}=i.Z.useApp(),[o,m]=(0,d.useState)(0);if(!(null==l?void 0:l.app_code))return null;let v=async()=>{let e=u()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));t[e?"success":"error"](e?"复制成功":"复制失败")};return o>6&&t.info(JSON.stringify(window.navigator.userAgent),2,()=>{m(0)}),(0,n.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,n.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>m(o+1),children:[(0,n.jsx)(a.Z,{scene:(null==l?void 0:null===(e=l.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,n.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,n.jsx)(s.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==l?void 0:l.app_name}),(0,n.jsx)(s.Z.Text,{className:"text-sm line-clamp-2",children:null==l?void 0:l.app_describe})]})]}),(0,n.jsx)("div",{onClick:v,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,n.jsx)(r.Z,{className:"text-lg"})})]})})},86364:function(e,l,t){t.r(l);var n=t(96469),a=t(27623),r=t(7289),i=t(88506),s=t(1858),o=t(72828),u=t(37022),d=t(67620),c=t(31676),m=t(44875),v=t(16602),p=t(49030),x=t(62971),f=t(42786),h=t(71841),g=t(27691),j=t(26869),_=t.n(j),b=t(45875),y=t(38497),w=t(29549),N=t(95433),k=t(14035),Z=t(55238),C=t(75299);let S=["magenta","orange","geekblue","purple","cyan","green"];l.default=()=>{var e,l;let t=(0,b.useSearchParams)(),j=null!==(l=null==t?void 0:t.get("ques"))&&void 0!==l?l:"",{history:E,model:R,scene:M,temperature:I,resource:V,conv_uid:O,appInfo:T,scrollViewRef:L,order:P,userInput:A,ctrl:D,canAbort:z,canNewChat:W,setHistory:q,setCanNewChat:F,setCarAbort:$,setUserInput:J}=(0,y.useContext)(w.MobileChatContext),[U,B]=(0,y.useState)(!1),[G,H]=(0,y.useState)(!1),K=async e=>{var l,t,n;J(""),D.current=new AbortController;let a={chat_mode:M,model_name:R,user_input:e||A,conv_uid:O,temperature:I,app_code:null==T?void 0:T.app_code,...V&&{select_param:JSON.stringify(V)}};if(E&&E.length>0){let e=null==E?void 0:E.filter(e=>"view"===e.role);P.current=e[e.length-1].order+1}let s=[{role:"human",context:e||A,model_name:R,order:P.current,time_stamp:0},{role:"view",context:"",model_name:R,order:P.current,time_stamp:0,thinking:!0}],o=s.length-1;q([...E,...s]),F(!1);try{await (0,m.L)("".concat(null!==(l=C.env.API_BASE_URL)&&void 0!==l?l:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[i.gp]:null!==(t=(0,r.n5)())&&void 0!==t?t:""},signal:D.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===m.a)return},onclose(){var e;null===(e=D.current)||void 0===e||e.abort(),F(!0),$(!1)},onerror(e){throw Error(e)},onmessage:e=>{let l=e.data;try{l=JSON.parse(l).vis}catch(e){l.replaceAll("\\n","\n")}"[DONE]"===l?(F(!0),$(!1)):(null==l?void 0:l.startsWith("[ERROR]"))?(s[o].context=null==l?void 0:l.replace("[ERROR]",""),s[o].thinking=!1,q([...E,...s]),F(!0),$(!1)):($(!0),s[o].context=l,s[o].thinking=!1,q([...E,...s]))}})}catch(e){null===(n=D.current)||void 0===n||n.abort(),s[o].context="Sorry, we meet some error, please try again later.",s[o].thinking=!1,q([...s]),F(!0),$(!1)}},X=async()=>{A.trim()&&W&&await K()};(0,y.useEffect)(()=>{var e,l;null===(e=L.current)||void 0===e||e.scrollTo({top:null===(l=L.current)||void 0===l?void 0:l.scrollHeight,behavior:"auto"})},[E,L]);let Y=(0,y.useMemo)(()=>{if(!T)return[];let{param_need:e=[]}=T;return null==e?void 0:e.map(e=>e.type)},[T]),Q=(0,y.useMemo)(()=>{var e;return 0===E.length&&T&&!!(null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.length)},[E,T]),{run:ee,loading:el}=(0,v.Z)(async()=>await (0,a.Vx)((0,a.zR)(O)),{manual:!0,onSuccess:()=>{q([])}});return(0,y.useEffect)(()=>{j&&R&&O&&T&&K(j)},[T,O,R,j]),(0,n.jsxs)("div",{className:"flex flex-col",children:[Q&&(0,n.jsx)("ul",{children:null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.map((e,l)=>(0,n.jsx)("li",{className:"mb-3",children:(0,n.jsx)(p.Z,{color:S[l],className:"p-2 rounded-xl",onClick:async()=>{K(e.question)},children:e.question})},e.id))}),(0,n.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,n.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==Y?void 0:Y.includes("model"))&&(0,n.jsx)(N.default,{}),(null==Y?void 0:Y.includes("resource"))&&(0,n.jsx)(k.default,{}),(null==Y?void 0:Y.includes("temperature"))&&(0,n.jsx)(Z.default,{})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,n.jsx)(x.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(s.Z,{className:_()("p-2 cursor-pointer",{"text-[#0c75fc]":z,"text-gray-400":!z}),onClick:()=>{var e;z&&(null===(e=D.current)||void 0===e||e.abort(),setTimeout(()=>{$(!1),F(!0)},100))}})}),(0,n.jsx)(x.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(o.Z,{className:_()("p-2 cursor-pointer",{"text-gray-400":!E.length||!W}),onClick:()=>{var e,l;if(!W||0===E.length)return;let t=null===(e=null===(l=E.filter(e=>"human"===e.role))||void 0===l?void 0:l.slice(-1))||void 0===e?void 0:e[0];K((null==t?void 0:t.context)||"")}})}),el?(0,n.jsx)(f.Z,{spinning:el,indicator:(0,n.jsx)(u.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,n.jsx)(x.Z,{content:"清除历史",trigger:["hover"],children:(0,n.jsx)(d.Z,{className:_()("p-2 cursor-pointer",{"text-gray-400":!E.length||!W}),onClick:()=>{W&&ee()}})})]})]}),(0,n.jsxs)("div",{className:_()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":U}),children:[(0,n.jsx)(h.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:A,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(G){e.preventDefault();return}A.trim()&&(e.preventDefault(),X())}},onChange:e=>{J(e.target.value)},onFocus:()=>{B(!0)},onBlur:()=>B(!1),onCompositionStartCapture:()=>{H(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{H(!1)},0)}}),(0,n.jsx)(g.ZP,{type:"primary",className:_()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!A.trim()||!W}),onClick:X,children:W?(0,n.jsx)(c.Z,{}):(0,n.jsx)(f.Z,{indicator:(0,n.jsx)(u.Z,{className:"text-white"})})})]})]})}},95433:function(e,l,t){t.r(l);var n=t(96469),a=t(61977),r=t(45277),i=t(32857),s=t(80335),o=t(62971),u=t(38497),d=t(29549);l.default=()=>{let{modelList:e}=(0,u.useContext)(r.p),{model:l,setModel:t}=(0,u.useContext)(d.MobileChatContext),c=(0,u.useMemo)(()=>e.length>0?e.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{t(e)},children:[(0,n.jsx)(a.Z,{width:14,height:14,model:e}),(0,n.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,t]);return(0,n.jsx)(s.Z,{menu:{items:c},placement:"top",trigger:["click"],children:(0,n.jsx)(o.Z,{content:l,children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(a.Z,{width:16,height:16,model:l}),(0,n.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:l}),(0,n.jsx)(i.Z,{rotate:90})]})})})}},33389:function(e,l,t){t.r(l);var n=t(96469),a=t(23852),r=t.n(a),i=t(38497);l.default=(0,i.memo)(e=>{let{width:l,height:t,src:a,label:i}=e;return(0,n.jsx)(r(),{width:l||14,height:t||14,src:a,alt:i||"db-icon",priority:!0})})},14035:function(e,l,t){t.r(l);var n=t(96469),a=t(27623),r=t(7289),i=t(37022),s=t(32857),o=t(71534),u=t(16602),d=t(42786),c=t(32818),m=t(80335),v=t(38497),p=t(29549),x=t(33389);l.default=()=>{let{appInfo:e,resourceList:l,scene:t,model:f,conv_uid:h,getChatHistoryRun:g,setResource:j,resource:_}=(0,v.useContext)(p.MobileChatContext),[b,y]=(0,v.useState)(null),w=(0,v.useMemo)(()=>{var l,t,n;return null===(l=null==e?void 0:null===(t=e.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===l?void 0:null===(n=l[0])||void 0===n?void 0:n.value},[e]),N=(0,v.useMemo)(()=>l&&l.length>0?l.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{y(e),j(e.space_id||e.param)},children:[(0,n.jsx)(x.default,{width:14,height:14,src:r.S$[e.type].icon,label:r.S$[e.type].label}),(0,n.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[l,j]),{run:k,loading:Z}=(0,u.Z)(async e=>{let[,l]=await (0,a.Vx)((0,a.qn)({convUid:h,chatMode:t,data:e,model:f,config:{timeout:36e5}}));return j(l),l},{manual:!0,onSuccess:async()=>{await g()}}),C=async e=>{let l=new FormData;l.append("doc_file",null==e?void 0:e.file),await k(l)},S=(0,v.useMemo)(()=>Z?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(d.Z,{size:"small",indicator:(0,n.jsx)(i.Z,{spin:!0})}),(0,n.jsx)("span",{className:"text-xs",children:"上传中"})]}):_?(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)("span",{className:"text-xs",children:_.file_name}),(0,n.jsx)(s.Z,{rotate:90})]}):(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(o.Z,{className:"text-base"}),(0,n.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[Z,_]);return(0,n.jsx)(n.Fragment,{children:(()=>{switch(w){case"excel_file":case"text_file":case"image_file":return(0,n.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,n.jsx)(c.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:C,className:"flex h-full w-full items-center justify-center",children:S})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,t,a,i,o;if(!(null==l?void 0:l.length))return null;return(0,n.jsx)(m.Z,{menu:{items:N},placement:"top",trigger:["click"],children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(x.default,{width:14,height:14,src:null===(e=r.S$[(null==b?void 0:b.type)||(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.type)])||void 0===e?void 0:e.icon,label:null===(a=r.S$[(null==b?void 0:b.type)||(null==l?void 0:null===(i=l[0])||void 0===i?void 0:i.type)])||void 0===a?void 0:a.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==b?void 0:b.param)||(null==l?void 0:null===(o=l[0])||void 0===o?void 0:o.param)}),(0,n.jsx)(s.Z,{rotate:90})]})})}})()})}},55238:function(e,l,t){t.r(l);var n=t(96469),a=t(80335),r=t(28822),i=t(38497),s=t(29549),o=t(58526);l.default=()=>{let{temperature:e,setTemperature:l}=(0,i.useContext)(s.MobileChatContext),t=e=>{isNaN(e)||l(e)};return(0,n.jsx)(a.Z,{trigger:["click"],dropdownRender:()=>(0,n.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,n.jsx)(r.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:t,value:e})}),placement:"top",children:(0,n.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,n.jsx)(o.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,n.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},29549:function(e,l,t){t.r(l),t.d(l,{MobileChatContext:function(){return _}});var n=t(96469),a=t(45277),r=t(27623),i=t(51310),s=t(7289),o=t(88506),u=t(44875),d=t(16602),c=t(42786),m=t(28469),v=t.n(m),p=t(45875),x=t(38497),f=t(5157),h=t(86364),g=t(75299);let j=v()(()=>Promise.all([t.e(7521),t.e(5197),t.e(9069),t.e(5996),t.e(1320),t.e(9223),t.e(5444),t.e(2476),t.e(4162),t.e(1103),t.e(1657),t.e(9790),t.e(1766),t.e(8957),t.e(3549),t.e(5883),t.e(5891),t.e(2061),t.e(3695)]).then(t.bind(t,33068)),{loadableGenerated:{webpack:()=>[33068]},ssr:!1}),_=(0,x.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});l.default=()=>{var e,l;let t=(0,p.useSearchParams)(),m=null!==(e=null==t?void 0:t.get("chat_scene"))&&void 0!==e?e:"",v=null!==(l=null==t?void 0:t.get("app_code"))&&void 0!==l?l:"",{modelList:b}=(0,x.useContext)(a.p),[y,w]=(0,x.useState)([]),[N,k]=(0,x.useState)(""),[Z,C]=(0,x.useState)(.5),[S,E]=(0,x.useState)(null),R=(0,x.useRef)(null),[M,I]=(0,x.useState)(""),[V,O]=(0,x.useState)(!1),[T,L]=(0,x.useState)(!0),P=(0,x.useRef)(),A=(0,x.useRef)(1),D=(0,i.Z)(),z=(0,x.useMemo)(()=>"".concat(null==D?void 0:D.user_no,"_").concat(v),[v,D]),{run:W,loading:q}=(0,d.Z)(async()=>await (0,r.Vx)((0,r.$i)("".concat(null==D?void 0:D.user_no,"_").concat(v))),{manual:!0,onSuccess:e=>{let[,l]=e,t=null==l?void 0:l.filter(e=>"view"===e.role);t&&t.length>0&&(A.current=t[t.length-1].order+1),w(l||[])}}),{data:F,run:$,loading:J}=(0,d.Z)(async e=>{let[,l]=await (0,r.Vx)((0,r.BN)(e));return null!=l?l:{}},{manual:!0}),{run:U,data:B,loading:G}=(0,d.Z)(async()=>{var e,l;let[,t]=await (0,r.Vx)((0,r.vD)(m));return E((null==t?void 0:null===(e=t[0])||void 0===e?void 0:e.space_id)||(null==t?void 0:null===(l=t[0])||void 0===l?void 0:l.param)),null!=t?t:[]},{manual:!0}),{run:H,loading:K}=(0,d.Z)(async()=>{let[,e]=await (0,r.Vx)((0,r.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var l;let t=null===(l=null==e?void 0:e.filter(e=>e.conv_uid===z))||void 0===l?void 0:l[0];(null==t?void 0:t.select_param)&&E(JSON.parse(null==t?void 0:t.select_param))}});(0,x.useEffect)(()=>{m&&v&&b.length&&$({chat_scene:m,app_code:v})},[v,m,$,b]),(0,x.useEffect)(()=>{v&&W()},[v]),(0,x.useEffect)(()=>{if(b.length>0){var e,l,t;let n=null===(e=null==F?void 0:null===(l=F.param_need)||void 0===l?void 0:l.filter(e=>"model"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value;k(n||b[0])}},[b,F]),(0,x.useEffect)(()=>{var e,l,t;let n=null===(e=null==F?void 0:null===(l=F.param_need)||void 0===l?void 0:l.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value;C(n||.5)},[F]),(0,x.useEffect)(()=>{if(m&&(null==F?void 0:F.app_code)){var e,l,t,n,a,r;let i=null===(e=null==F?void 0:null===(l=F.param_need)||void 0===l?void 0:l.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value,s=null===(n=null==F?void 0:null===(a=F.param_need)||void 0===a?void 0:a.filter(e=>"resource"===e.type))||void 0===n?void 0:null===(r=n[0])||void 0===r?void 0:r.bind_value;s&&E(s),["database","knowledge","plugin","awel_flow"].includes(i)&&!s&&U()}},[F,m,U]);let X=async e=>{var l,t,n;I(""),P.current=new AbortController;let a={chat_mode:m,model_name:N,user_input:e||M,conv_uid:z,temperature:Z,app_code:null==F?void 0:F.app_code,...S&&{select_param:S}};if(y&&y.length>0){let e=null==y?void 0:y.filter(e=>"view"===e.role);A.current=e[e.length-1].order+1}let r=[{role:"human",context:e||M,model_name:N,order:A.current,time_stamp:0},{role:"view",context:"",model_name:N,order:A.current,time_stamp:0,thinking:!0}],i=r.length-1;w([...y,...r]),L(!1);try{await (0,u.L)("".concat(null!==(l=g.env.API_BASE_URL)&&void 0!==l?l:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(t=(0,s.n5)())&&void 0!==t?t:""},signal:P.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===u.a)return},onclose(){var e;null===(e=P.current)||void 0===e||e.abort(),L(!0),O(!1)},onerror(e){throw Error(e)},onmessage:e=>{let l=e.data;try{l=JSON.parse(l).vis}catch(e){l.replaceAll("\\n","\n")}"[DONE]"===l?(L(!0),O(!1)):(null==l?void 0:l.startsWith("[ERROR]"))?(r[i].context=null==l?void 0:l.replace("[ERROR]",""),r[i].thinking=!1,w([...y,...r]),L(!0),O(!1)):(O(!0),r[i].context=l,r[i].thinking=!1,w([...y,...r]))}})}catch(e){null===(n=P.current)||void 0===n||n.abort(),r[i].context="Sorry, we meet some error, please try again later.",r[i].thinking=!1,w([...r]),L(!0),O(!1)}};return(0,x.useEffect)(()=>{m&&"chat_agent"!==m&&H()},[m,H]),(0,n.jsx)(_.Provider,{value:{model:N,resource:S,setModel:k,setTemperature:C,setResource:E,temperature:Z,appInfo:F,conv_uid:z,scene:m,history:y,scrollViewRef:R,setHistory:w,resourceList:B,order:A,handleChat:X,setCanNewChat:L,ctrl:P,canAbort:V,setCarAbort:O,canNewChat:T,userInput:M,setUserInput:I,getChatHistoryRun:W},children:(0,n.jsx)(c.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:q||J||G||K,children:(0,n.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,n.jsxs)("div",{ref:R,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,n.jsx)(f.default,{}),(0,n.jsx)(j,{})]}),(null==F?void 0:F.app_code)&&(0,n.jsx)(h.default,{})]})})})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2768-13657fde6cbcddf5.js b/dbgpt/app/static/web/_next/static/chunks/2768-13657fde6cbcddf5.js deleted file mode 100644 index da7376857..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/2768-13657fde6cbcddf5.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2768],{40690:function(r,o,e){e.d(o,{F:function(){return a},Z:function(){return i}});var t=e(26869),n=e.n(t);function i(r,o,e){return n()({[`${r}-status-success`]:"success"===o,[`${r}-status-warning`]:"warning"===o,[`${r}-status-error`]:"error"===o,[`${r}-status-validating`]:"validating"===o,[`${r}-has-feedback`]:e})}let a=(r,o)=>o||r},25641:function(r,o,e){var t=e(38497),n=e(13859),i=e(63346);o.Z=function(r,o){var e,a;let d,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,{variant:s,[r]:c}=(0,t.useContext)(i.E_),u=(0,t.useContext)(n.pg),p=null==c?void 0:c.variant;d=void 0!==o?o:!1===l?"borderless":null!==(a=null!==(e=null!=u?u:p)&&void 0!==e?e:s)&&void 0!==a?a:"outlined";let b=i.tr.includes(d);return[d,b]}},44589:function(r,o,e){e.d(o,{ik:function(){return b},nz:function(){return c},s7:function(){return g},x0:function(){return p}});var t=e(72178),n=e(60848),i=e(31909),a=e(90102),d=e(74934),l=e(2835),s=e(97078);let c=r=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:r,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),u=r=>{let{paddingBlockLG:o,lineHeightLG:e,borderRadiusLG:n,paddingInlineLG:i}=r;return{padding:`${(0,t.bf)(o)} ${(0,t.bf)(i)}`,fontSize:r.inputFontSizeLG,lineHeight:e,borderRadius:n}},p=r=>({padding:`${(0,t.bf)(r.paddingBlockSM)} ${(0,t.bf)(r.paddingInlineSM)}`,fontSize:r.inputFontSizeSM,borderRadius:r.borderRadiusSM}),b=r=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,t.bf)(r.paddingBlock)} ${(0,t.bf)(r.paddingInline)}`,color:r.colorText,fontSize:r.inputFontSize,lineHeight:r.lineHeight,borderRadius:r.borderRadius,transition:`all ${r.motionDurationMid}`},c(r.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:r.controlHeight,lineHeight:r.lineHeight,verticalAlign:"bottom",transition:`all ${r.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},u(r)),"&-sm":Object.assign({},p(r)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),g=r=>{let{componentCls:o,antCls:e}=r;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:r.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${o}, &-lg > ${o}-group-addon`]:Object.assign({},u(r)),[`&-sm ${o}, &-sm > ${o}-group-addon`]:Object.assign({},p(r)),[`&-lg ${e}-select-single ${e}-select-selector`]:{height:r.controlHeightLG},[`&-sm ${e}-select-single ${e}-select-selector`]:{height:r.controlHeightSM},[`> ${o}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${o}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,t.bf)(r.paddingInline)}`,color:r.colorText,fontWeight:"normal",fontSize:r.inputFontSize,textAlign:"center",borderRadius:r.borderRadius,transition:`all ${r.motionDurationSlow}`,lineHeight:1,[`${e}-select`]:{margin:`${(0,t.bf)(r.calc(r.paddingBlock).add(1).mul(-1).equal())} ${(0,t.bf)(r.calc(r.paddingInline).mul(-1).equal())}`,[`&${e}-select-single:not(${e}-select-customize-input):not(${e}-pagination-size-changer)`]:{[`${e}-select-selector`]:{backgroundColor:"inherit",border:`${(0,t.bf)(r.lineWidth)} ${r.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${e}-select-selector`]:{color:r.colorPrimary}}},[`${e}-cascader-picker`]:{margin:`-9px ${(0,t.bf)(r.calc(r.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${e}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[o]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${o}-search-with-button &`]:{zIndex:0}}},[`> ${o}:first-child, ${o}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${e}-select ${e}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}-affix-wrapper`]:{[`&:not(:first-child) ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}:last-child, ${o}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${e}-select ${e}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${o}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-search &`]:{borderStartStartRadius:r.borderRadius,borderEndStartRadius:r.borderRadius}},[`&:not(:first-child), ${o}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${o}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,n.dF)()),{[`${o}-group-addon, ${o}-group-wrap, > ${o}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:r.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` - & > ${o}-affix-wrapper, - & > ${o}-number-affix-wrapper, - & > ${e}-picker-range - `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:r.calc(r.lineWidth).mul(-1).equal(),borderInlineEndWidth:r.lineWidth},[o]:{float:"none"},[`& > ${e}-select > ${e}-select-selector, - & > ${e}-select-auto-complete ${o}, - & > ${e}-cascader-picker ${o}, - & > ${o}-group-wrapper ${o}`]:{borderInlineEndWidth:r.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${e}-select-focused`]:{zIndex:1},[`& > ${e}-select > ${e}-select-arrow`]:{zIndex:1},[`& > *:first-child, - & > ${e}-select:first-child > ${e}-select-selector, - & > ${e}-select-auto-complete:first-child ${o}, - & > ${e}-cascader-picker:first-child ${o}`]:{borderStartStartRadius:r.borderRadius,borderEndStartRadius:r.borderRadius},[`& > *:last-child, - & > ${e}-select:last-child > ${e}-select-selector, - & > ${e}-cascader-picker:last-child ${o}, - & > ${e}-cascader-picker-focused:last-child ${o}`]:{borderInlineEndWidth:r.lineWidth,borderStartEndRadius:r.borderRadius,borderEndEndRadius:r.borderRadius},[`& > ${e}-select-auto-complete ${o}`]:{verticalAlign:"top"},[`${o}-group-wrapper + ${o}-group-wrapper`]:{marginInlineStart:r.calc(r.lineWidth).mul(-1).equal(),[`${o}-affix-wrapper`]:{borderRadius:0}},[`${o}-group-wrapper:not(:last-child)`]:{[`&${o}-search > ${o}-group`]:{[`& > ${o}-group-addon > ${o}-search-button`]:{borderRadius:0},[`& > ${o}`]:{borderStartStartRadius:r.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:r.borderRadius}}}})}},$=r=>{let{componentCls:o,controlHeightSM:e,lineWidth:t,calc:i}=r,a=i(e).sub(i(t).mul(2)).sub(16).div(2).equal();return{[o]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.Wf)(r)),b(r)),(0,s.qG)(r)),(0,s.H8)(r)),(0,s.Mu)(r)),{'&[type="color"]':{height:r.controlHeight,[`&${o}-lg`]:{height:r.controlHeightLG},[`&${o}-sm`]:{height:e,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},h=r=>{let{componentCls:o}=r;return{[`${o}-clear-icon`]:{margin:0,color:r.colorTextQuaternary,fontSize:r.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${r.motionDurationSlow}`,"&:hover":{color:r.colorTextTertiary},"&:active":{color:r.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,t.bf)(r.inputAffixPadding)}`}}}},f=r=>{let{componentCls:o,inputAffixPadding:e,colorTextDescription:t,motionDurationSlow:n,colorIcon:i,colorIconHover:a,iconCls:d}=r,l=`${o}-affix-wrapper`;return{[l]:Object.assign(Object.assign(Object.assign(Object.assign({},b(r)),{display:"inline-flex",[`&:not(${o}-disabled):hover`]:{zIndex:1,[`${o}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${o}`]:{padding:0},[`> input${o}, > textarea${o}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[o]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:r.paddingXS}},"&-show-count-suffix":{color:t},"&-show-count-has-suffix":{marginInlineEnd:r.paddingXXS},"&-prefix":{marginInlineEnd:e},"&-suffix":{marginInlineStart:e}}}),h(r)),{[`${d}${o}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${n}`,"&:hover":{color:a}}})}},m=r=>{let{componentCls:o,borderRadiusLG:e,borderRadiusSM:t}=r;return{[`${o}-group`]:Object.assign(Object.assign(Object.assign({},(0,n.Wf)(r)),g(r)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${o}-group-addon`]:{borderRadius:e,fontSize:r.inputFontSizeLG}},"&-sm":{[`${o}-group-addon`]:{borderRadius:t}}},(0,s.ir)(r)),(0,s.S5)(r)),{[`&:not(${o}-compact-first-item):not(${o}-compact-last-item)${o}-compact-item`]:{[`${o}, ${o}-group-addon`]:{borderRadius:0}},[`&:not(${o}-compact-last-item)${o}-compact-first-item`]:{[`${o}, ${o}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${o}-compact-first-item)${o}-compact-last-item`]:{[`${o}, ${o}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${o}-compact-last-item)${o}-compact-item`]:{[`${o}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},S=r=>{let{componentCls:o,antCls:e}=r,t=`${o}-search`;return{[t]:{[o]:{"&:hover, &:focus":{borderColor:r.colorPrimaryHover,[`+ ${o}-group-addon ${t}-button:not(${e}-btn-primary)`]:{borderInlineStartColor:r.colorPrimaryHover}}},[`${o}-affix-wrapper`]:{borderRadius:0},[`${o}-lg`]:{lineHeight:r.calc(r.lineHeightLG).sub(2e-4).equal()},[`> ${o}-group`]:{[`> ${o}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${t}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:r.borderRadius,borderEndEndRadius:r.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${t}-button:not(${e}-btn-primary)`]:{color:r.colorTextDescription,"&:hover":{color:r.colorPrimaryHover},"&:active":{color:r.colorPrimaryActive},[`&${e}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${t}-button`]:{height:r.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${t}-button`]:{height:r.controlHeightLG},[`&-small ${t}-button`]:{height:r.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${o}-compact-item`]:{[`&:not(${o}-compact-last-item)`]:{[`${o}-group-addon`]:{[`${o}-search-button`]:{marginInlineEnd:r.calc(r.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${o}-compact-first-item)`]:{[`${o},${o}-affix-wrapper`]:{borderRadius:0}},[`> ${o}-group-addon ${o}-search-button, - > ${o}, - ${o}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${o}-affix-wrapper-focused`]:{zIndex:2}}}}},x=r=>{let{componentCls:o,paddingLG:e}=r,t=`${o}-textarea`;return{[t]:{position:"relative","&-show-count":{[`> ${o}`]:{height:"100%"},[`${o}-data-count`]:{position:"absolute",bottom:r.calc(r.fontSize).mul(r.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:r.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` - &-allow-clear > ${o}, - &-affix-wrapper${t}-has-feedback ${o} - `]:{paddingInlineEnd:e},[`&-affix-wrapper${o}-affix-wrapper`]:{padding:0,[`> textarea${o}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${o}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${o}-clear-icon`]:{position:"absolute",insetInlineEnd:r.paddingInline,insetBlockStart:r.paddingXS},[`${t}-suffix`]:{position:"absolute",top:0,insetInlineEnd:r.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${o}-affix-wrapper-sm`]:{[`${o}-suffix`]:{[`${o}-clear-icon`]:{insetInlineEnd:r.paddingInlineSM}}}}}},v=r=>{let{componentCls:o}=r;return{[`${o}-out-of-range`]:{[`&, & input, & textarea, ${o}-show-count-suffix, ${o}-data-count`]:{color:r.colorError}}}};o.ZP=(0,a.I$)("Input",r=>{let o=(0,d.IX)(r,(0,l.e)(r));return[$(o),x(o),f(o),m(o),S(o),v(o),(0,i.c)(o)]},l.T,{resetFont:!1})},2835:function(r,o,e){e.d(o,{T:function(){return i},e:function(){return n}});var t=e(74934);function n(r){return(0,t.IX)(r,{inputAffixPadding:r.paddingXXS})}let i=r=>{let{controlHeight:o,fontSize:e,lineHeight:t,lineWidth:n,controlHeightSM:i,controlHeightLG:a,fontSizeLG:d,lineHeightLG:l,paddingSM:s,controlPaddingHorizontalSM:c,controlPaddingHorizontal:u,colorFillAlter:p,colorPrimaryHover:b,colorPrimary:g,controlOutlineWidth:$,controlOutline:h,colorErrorOutline:f,colorWarningOutline:m,colorBgContainer:S}=r;return{paddingBlock:Math.max(Math.round((o-e*t)/2*10)/10-n,0),paddingBlockSM:Math.max(Math.round((i-e*t)/2*10)/10-n,0),paddingBlockLG:Math.ceil((a-d*l)/2*10)/10-n,paddingInline:s-n,paddingInlineSM:c-n,paddingInlineLG:u-n,addonBg:p,activeBorderColor:g,hoverBorderColor:b,activeShadow:`0 0 0 ${$}px ${h}`,errorActiveShadow:`0 0 0 ${$}px ${f}`,warningActiveShadow:`0 0 0 ${$}px ${m}`,hoverBg:S,activeBg:S,inputFontSize:e,inputFontSizeLG:d,inputFontSizeSM:e}}},97078:function(r,o,e){e.d(o,{$U:function(){return d},H8:function(){return $},Mu:function(){return p},S5:function(){return f},Xy:function(){return a},ir:function(){return u},qG:function(){return s}});var t=e(72178),n=e(74934);let i=r=>({borderColor:r.hoverBorderColor,backgroundColor:r.hoverBg}),a=r=>({color:r.colorTextDisabled,backgroundColor:r.colorBgContainerDisabled,borderColor:r.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},i((0,n.IX)(r,{hoverBorderColor:r.colorBorder,hoverBg:r.colorBgContainerDisabled})))}),d=(r,o)=>({background:r.colorBgContainer,borderWidth:r.lineWidth,borderStyle:r.lineType,borderColor:o.borderColor,"&:hover":{borderColor:o.hoverBorderColor,backgroundColor:r.hoverBg},"&:focus, &:focus-within":{borderColor:o.activeBorderColor,boxShadow:o.activeShadow,outline:0,backgroundColor:r.activeBg}}),l=(r,o)=>({[`&${r.componentCls}-status-${o.status}:not(${r.componentCls}-disabled)`]:Object.assign(Object.assign({},d(r,o)),{[`${r.componentCls}-prefix, ${r.componentCls}-suffix`]:{color:o.affixColor}}),[`&${r.componentCls}-status-${o.status}${r.componentCls}-disabled`]:{borderColor:o.borderColor}}),s=(r,o)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},d(r,{borderColor:r.colorBorder,hoverBorderColor:r.hoverBorderColor,activeBorderColor:r.activeBorderColor,activeShadow:r.activeShadow})),{[`&${r.componentCls}-disabled, &[disabled]`]:Object.assign({},a(r))}),l(r,{status:"error",borderColor:r.colorError,hoverBorderColor:r.colorErrorBorderHover,activeBorderColor:r.colorError,activeShadow:r.errorActiveShadow,affixColor:r.colorError})),l(r,{status:"warning",borderColor:r.colorWarning,hoverBorderColor:r.colorWarningBorderHover,activeBorderColor:r.colorWarning,activeShadow:r.warningActiveShadow,affixColor:r.colorWarning})),o)}),c=(r,o)=>({[`&${r.componentCls}-group-wrapper-status-${o.status}`]:{[`${r.componentCls}-group-addon`]:{borderColor:o.addonBorderColor,color:o.addonColor}}}),u=r=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${r.componentCls}-group`]:{"&-addon":{background:r.addonBg,border:`${(0,t.bf)(r.lineWidth)} ${r.lineType} ${r.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},c(r,{status:"error",addonBorderColor:r.colorError,addonColor:r.colorErrorText})),c(r,{status:"warning",addonBorderColor:r.colorWarning,addonColor:r.colorWarningText})),{[`&${r.componentCls}-group-wrapper-disabled`]:{[`${r.componentCls}-group-addon`]:Object.assign({},a(r))}})}),p=(r,o)=>{let{componentCls:e}=r;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${e}-disabled, &[disabled]`]:{color:r.colorTextDisabled},[`&${e}-status-error`]:{"&, & input, & textarea":{color:r.colorError}},[`&${e}-status-warning`]:{"&, & input, & textarea":{color:r.colorWarning}}},o)}},b=(r,o)=>({background:o.bg,borderWidth:r.lineWidth,borderStyle:r.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null==o?void 0:o.inputColor},"&:hover":{background:o.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:o.activeBorderColor,backgroundColor:r.activeBg}}),g=(r,o)=>({[`&${r.componentCls}-status-${o.status}:not(${r.componentCls}-disabled)`]:Object.assign(Object.assign({},b(r,o)),{[`${r.componentCls}-prefix, ${r.componentCls}-suffix`]:{color:o.affixColor}})}),$=(r,o)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},b(r,{bg:r.colorFillTertiary,hoverBg:r.colorFillSecondary,activeBorderColor:r.activeBorderColor})),{[`&${r.componentCls}-disabled, &[disabled]`]:Object.assign({},a(r))}),g(r,{status:"error",bg:r.colorErrorBg,hoverBg:r.colorErrorBgHover,activeBorderColor:r.colorError,inputColor:r.colorErrorText,affixColor:r.colorError})),g(r,{status:"warning",bg:r.colorWarningBg,hoverBg:r.colorWarningBgHover,activeBorderColor:r.colorWarning,inputColor:r.colorWarningText,affixColor:r.colorWarning})),o)}),h=(r,o)=>({[`&${r.componentCls}-group-wrapper-status-${o.status}`]:{[`${r.componentCls}-group-addon`]:{background:o.addonBg,color:o.addonColor}}}),f=r=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${r.componentCls}-group`]:{"&-addon":{background:r.colorFillTertiary},[`${r.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,t.bf)(r.lineWidth)} ${r.lineType} ${r.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,t.bf)(r.lineWidth)} ${r.lineType} ${r.colorSplit}`}}}},h(r,{status:"error",addonBg:r.colorErrorBg,addonColor:r.colorErrorText})),h(r,{status:"warning",addonBg:r.colorWarningBg,addonColor:r.colorWarningText})),{[`&${r.componentCls}-group-wrapper-disabled`]:{[`${r.componentCls}-group`]:{"&-addon":{background:r.colorFillTertiary,color:r.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,t.bf)(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,borderTop:`${(0,t.bf)(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,borderBottom:`${(0,t.bf)(r.lineWidth)} ${r.lineType} ${r.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,t.bf)(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,borderTop:`${(0,t.bf)(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,borderBottom:`${(0,t.bf)(r.lineWidth)} ${r.lineType} ${r.colorBorder}`}}}})})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2786-402f3e79be1d7ce8.js b/dbgpt/app/static/web/_next/static/chunks/2786-ec6b5697676d5b05.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/2786-402f3e79be1d7ce8.js rename to dbgpt/app/static/web/_next/static/chunks/2786-ec6b5697676d5b05.js index 10ae7bfd3..3a8e4fbb1 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2786-402f3e79be1d7ce8.js +++ b/dbgpt/app/static/web/_next/static/chunks/2786-ec6b5697676d5b05.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2786],{42786:function(e,t,i){let n;i.d(t,{Z:function(){return k}});var o=i(38497),a=i(26869),l=i.n(a),r=i(63346),s=i(55091),d=i(46644);let c=80*Math.PI,u=e=>{let{dotClassName:t,style:i,hasCircleCls:n}=e;return o.createElement("circle",{className:l()(`${t}-circle`,{[`${t}-circle-bg`]:n}),r:40,cx:50,cy:50,strokeWidth:20,style:i})};var m=e=>{let{percent:t,prefixCls:i}=e,n=`${i}-dot`,a=`${n}-holder`,r=`${a}-hidden`,[s,m]=o.useState(!1);(0,d.Z)(()=>{0!==t&&m(!0)},[0!==t]);let p=Math.max(Math.min(t,100),0);if(!s)return null;let h={strokeDashoffset:`${c/4}`,strokeDasharray:`${c*p/100} ${c*(100-p)/100}`};return o.createElement("span",{className:l()(a,`${n}-progress`,p<=0&&r)},o.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":p},o.createElement(u,{dotClassName:n,hasCircleCls:!0}),o.createElement(u,{dotClassName:n,style:h})))};function p(e){let{prefixCls:t,percent:i=0}=e,n=`${t}-dot`,a=`${n}-holder`,r=`${a}-hidden`;return o.createElement(o.Fragment,null,o.createElement("span",{className:l()(a,i>0&&r)},o.createElement("span",{className:l()(n,`${t}-dot-spin`)},[1,2,3,4].map(e=>o.createElement("i",{className:`${t}-dot-item`,key:e})))),o.createElement(m,{prefixCls:t,percent:i}))}function h(e){let{prefixCls:t,indicator:i,percent:n}=e,a=`${t}-dot`;return i&&o.isValidElement(i)?(0,s.Tm)(i,{className:l()(i.props.className,a),percent:n}):o.createElement(p,{prefixCls:t,percent:n})}var v=i(72178),f=i(60848),g=i(90102),S=i(74934);let $=new v.E4("antSpinMove",{to:{opacity:1}}),b=new v.E4("antRotate",{to:{transform:"rotate(405deg)"}}),y=e=>{let{componentCls:t,calc:i}=e;return{[t]:Object.assign(Object.assign({},(0,f.Wf)(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:i(i(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:i(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:i(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:i(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:i(i(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:i(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:i(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:i(i(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:i(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:i(e.dotSize).sub(i(e.marginXXS).div(2)).div(2).equal(),height:i(e.dotSize).sub(i(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:$,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:b,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(t=>`${t} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:i(i(e.dotSizeSM).sub(i(e.marginXXS).div(2))).div(2).equal(),height:i(i(e.dotSizeSM).sub(i(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:i(i(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:i(i(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}};var w=(0,g.I$)("Spin",e=>{let t=(0,S.IX)(e,{spinDotDefault:e.colorTextDescription});return[y(t)]},e=>{let{controlHeightLG:t,controlHeight:i}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:i}});let x=[[30,.05],[70,.03],[96,.01]];var z=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let E=e=>{var t;let{prefixCls:i,spinning:a=!0,delay:s=0,className:d,rootClassName:c,size:u="default",tip:m,wrapperClassName:p,style:v,children:f,fullscreen:g=!1,indicator:S,percent:$}=e,b=z(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:y,direction:E,spin:k}=o.useContext(r.E_),D=y("spin",i),[N,I,C]=w(D),[O,M]=o.useState(()=>a&&(!a||!s||!!isNaN(Number(s)))),q=function(e,t){let[i,n]=o.useState(0),a=o.useRef(),l="auto"===t;return o.useEffect(()=>(l&&e&&(n(0),a.current=setInterval(()=>{n(e=>{let t=100-e;for(let i=0;i{clearInterval(a.current)}),[l,e]),l?i:t}(O,$);o.useEffect(()=>{if(a){var e;let t=function(e,t,i){var n,o=i||{},a=o.noTrailing,l=void 0!==a&&a,r=o.noLeading,s=void 0!==r&&r,d=o.debounceMode,c=void 0===d?void 0:d,u=!1,m=0;function p(){n&&clearTimeout(n)}function h(){for(var i=arguments.length,o=Array(i),a=0;ae?s?(m=Date.now(),l||(n=setTimeout(c?v:h,e))):h():!0!==l&&(n=setTimeout(c?v:h,void 0===c?e-d:e)))}return h.cancel=function(e){var t=(e||{}).upcomingOnly;p(),u=!(void 0!==t&&t)},h}(s,()=>{M(!0)},{debounceMode:!1!==(void 0!==(e=({}).atBegin)&&e)});return t(),()=>{var e;null===(e=null==t?void 0:t.cancel)||void 0===e||e.call(t)}}M(!1)},[s,a]);let T=o.useMemo(()=>void 0!==f&&!g,[f,g]),X=l()(D,null==k?void 0:k.className,{[`${D}-sm`]:"small"===u,[`${D}-lg`]:"large"===u,[`${D}-spinning`]:O,[`${D}-show-text`]:!!m,[`${D}-rtl`]:"rtl"===E},d,!g&&c,I,C),j=l()(`${D}-container`,{[`${D}-blur`]:O}),L=null!==(t=null!=S?S:null==k?void 0:k.indicator)&&void 0!==t?t:n,G=Object.assign(Object.assign({},null==k?void 0:k.style),v),P=o.createElement("div",Object.assign({},b,{style:G,className:X,"aria-live":"polite","aria-busy":O}),o.createElement(h,{prefixCls:D,indicator:L,percent:q}),m&&(T||g)?o.createElement("div",{className:`${D}-text`},m):null);return N(T?o.createElement("div",Object.assign({},b,{className:l()(`${D}-nested-loading`,p,I,C)}),O&&o.createElement("div",{key:"loading"},P),o.createElement("div",{className:j,key:"container"},f)):g?o.createElement("div",{className:l()(`${D}-fullscreen`,{[`${D}-fullscreen-show`]:O},c,I,C)},P):P)};E.setDefaultIndicator=e=>{n=e};var k=E}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2786],{42786:function(e,t,i){let n;i.d(t,{Z:function(){return k}});var o=i(38497),a=i(26869),l=i.n(a),r=i(63346),s=i(55091),d=i(46644);let c=80*Math.PI,u=e=>{let{dotClassName:t,style:i,hasCircleCls:n}=e;return o.createElement("circle",{className:l()(`${t}-circle`,{[`${t}-circle-bg`]:n}),r:40,cx:50,cy:50,strokeWidth:20,style:i})};var m=e=>{let{percent:t,prefixCls:i}=e,n=`${i}-dot`,a=`${n}-holder`,r=`${a}-hidden`,[s,m]=o.useState(!1);(0,d.Z)(()=>{0!==t&&m(!0)},[0!==t]);let p=Math.max(Math.min(t,100),0);if(!s)return null;let h={strokeDashoffset:`${c/4}`,strokeDasharray:`${c*p/100} ${c*(100-p)/100}`};return o.createElement("span",{className:l()(a,`${n}-progress`,p<=0&&r)},o.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":p},o.createElement(u,{dotClassName:n,hasCircleCls:!0}),o.createElement(u,{dotClassName:n,style:h})))};function p(e){let{prefixCls:t,percent:i=0}=e,n=`${t}-dot`,a=`${n}-holder`,r=`${a}-hidden`;return o.createElement(o.Fragment,null,o.createElement("span",{className:l()(a,i>0&&r)},o.createElement("span",{className:l()(n,`${t}-dot-spin`)},[1,2,3,4].map(e=>o.createElement("i",{className:`${t}-dot-item`,key:e})))),o.createElement(m,{prefixCls:t,percent:i}))}function h(e){let{prefixCls:t,indicator:i,percent:n}=e,a=`${t}-dot`;return i&&o.isValidElement(i)?(0,s.Tm)(i,{className:l()(i.props.className,a),percent:n}):o.createElement(p,{prefixCls:t,percent:n})}var v=i(38083),f=i(60848),g=i(90102),S=i(74934);let $=new v.E4("antSpinMove",{to:{opacity:1}}),b=new v.E4("antRotate",{to:{transform:"rotate(405deg)"}}),y=e=>{let{componentCls:t,calc:i}=e;return{[t]:Object.assign(Object.assign({},(0,f.Wf)(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:i(i(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:i(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:i(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:i(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:i(i(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:i(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:i(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:i(i(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:i(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:i(e.dotSize).sub(i(e.marginXXS).div(2)).div(2).equal(),height:i(e.dotSize).sub(i(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:$,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:b,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(t=>`${t} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:i(i(e.dotSizeSM).sub(i(e.marginXXS).div(2))).div(2).equal(),height:i(i(e.dotSizeSM).sub(i(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:i(i(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:i(i(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}};var w=(0,g.I$)("Spin",e=>{let t=(0,S.IX)(e,{spinDotDefault:e.colorTextDescription});return[y(t)]},e=>{let{controlHeightLG:t,controlHeight:i}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:i}});let x=[[30,.05],[70,.03],[96,.01]];var z=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let E=e=>{var t;let{prefixCls:i,spinning:a=!0,delay:s=0,className:d,rootClassName:c,size:u="default",tip:m,wrapperClassName:p,style:v,children:f,fullscreen:g=!1,indicator:S,percent:$}=e,b=z(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:y,direction:E,spin:k}=o.useContext(r.E_),D=y("spin",i),[N,I,C]=w(D),[O,M]=o.useState(()=>a&&(!a||!s||!!isNaN(Number(s)))),q=function(e,t){let[i,n]=o.useState(0),a=o.useRef(),l="auto"===t;return o.useEffect(()=>(l&&e&&(n(0),a.current=setInterval(()=>{n(e=>{let t=100-e;for(let i=0;i{clearInterval(a.current)}),[l,e]),l?i:t}(O,$);o.useEffect(()=>{if(a){var e;let t=function(e,t,i){var n,o=i||{},a=o.noTrailing,l=void 0!==a&&a,r=o.noLeading,s=void 0!==r&&r,d=o.debounceMode,c=void 0===d?void 0:d,u=!1,m=0;function p(){n&&clearTimeout(n)}function h(){for(var i=arguments.length,o=Array(i),a=0;ae?s?(m=Date.now(),l||(n=setTimeout(c?v:h,e))):h():!0!==l&&(n=setTimeout(c?v:h,void 0===c?e-d:e)))}return h.cancel=function(e){var t=(e||{}).upcomingOnly;p(),u=!(void 0!==t&&t)},h}(s,()=>{M(!0)},{debounceMode:!1!==(void 0!==(e=({}).atBegin)&&e)});return t(),()=>{var e;null===(e=null==t?void 0:t.cancel)||void 0===e||e.call(t)}}M(!1)},[s,a]);let T=o.useMemo(()=>void 0!==f&&!g,[f,g]),X=l()(D,null==k?void 0:k.className,{[`${D}-sm`]:"small"===u,[`${D}-lg`]:"large"===u,[`${D}-spinning`]:O,[`${D}-show-text`]:!!m,[`${D}-rtl`]:"rtl"===E},d,!g&&c,I,C),j=l()(`${D}-container`,{[`${D}-blur`]:O}),L=null!==(t=null!=S?S:null==k?void 0:k.indicator)&&void 0!==t?t:n,G=Object.assign(Object.assign({},null==k?void 0:k.style),v),P=o.createElement("div",Object.assign({},b,{style:G,className:X,"aria-live":"polite","aria-busy":O}),o.createElement(h,{prefixCls:D,indicator:L,percent:q}),m&&(T||g)?o.createElement("div",{className:`${D}-text`},m):null);return N(T?o.createElement("div",Object.assign({},b,{className:l()(`${D}-nested-loading`,p,I,C)}),O&&o.createElement("div",{key:"loading"},P),o.createElement("div",{className:j,key:"container"},f)):g?o.createElement("div",{className:l()(`${D}-fullscreen`,{[`${D}-fullscreen-show`]:O},c,I,C)},P):P)};E.setDefaultIndicator=e=>{n=e};var k=E}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2818-f61287028c8d5f09.js b/dbgpt/app/static/web/_next/static/chunks/2818-f61287028c8d5f09.js new file mode 100644 index 000000000..a6885d20f --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/2818-f61287028c8d5f09.js @@ -0,0 +1,21 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2818],{2537:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),i=r(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},a=r(55032),l=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},91158:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),i=r(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},a=r(55032),l=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},55772:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),i=r(38497),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}}]}},name:"file",theme:"twotone"},a=r(55032),l=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},63079:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),i=r(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},a=r(55032),l=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},52670:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),i=r(38497),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:e}}]}},name:"picture",theme:"twotone"},a=r(55032),l=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},67274:function(e,t,r){r.d(t,{Z:function(){return ea}});var n=r(38497),i=r(16147),o=r(69274),a=r(86298),l=r(84223),s=r(51084),c=r(26869),u=r.n(c),d=r(55598),p=r(63346),f=r(42096),m=r(4247),g=r(10921),h={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},b=function(){var e=(0,n.useRef)([]),t=(0,n.useRef)(null);return(0,n.useEffect)(function(){var r=Date.now(),n=!1;e.current.forEach(function(e){if(e){n=!0;var i=e.style;i.transitionDuration=".3s, .3s, .3s, .06s",t.current&&r-t.current<100&&(i.transitionDuration="0s, 0s")}}),n&&(t.current=Date.now())}),e.current},v=r(14433),$=r(65347),y=r(18943),w=0,k=(0,y.Z)(),E=function(e){var t=n.useState(),r=(0,$.Z)(t,2),i=r[0],o=r[1];return n.useEffect(function(){var e;o("rc_progress_".concat((k?(e=w,w+=1):e="TEST_OR_SSR",e)))},[]),e||i},x=function(e){var t=e.bg,r=e.children;return n.createElement("div",{style:{width:"100%",height:"100%",background:t}},r)};function C(e,t){return Object.keys(e).map(function(r){var n=parseFloat(r);return"".concat(e[r]," ").concat("".concat(Math.floor(n*t),"%"))})}var S=n.forwardRef(function(e,t){var r=e.prefixCls,i=e.color,o=e.gradientId,a=e.radius,l=e.style,s=e.ptg,c=e.strokeLinecap,u=e.strokeWidth,d=e.size,p=e.gapDegree,f=i&&"object"===(0,v.Z)(i),m=d/2,g=n.createElement("circle",{className:"".concat(r,"-circle-path"),r:a,cx:m,cy:m,stroke:f?"#FFF":void 0,strokeLinecap:c,strokeWidth:u,opacity:0===s?0:1,style:l,ref:t});if(!f)return g;var h="".concat(o,"-conic"),b=p?"".concat(180+p/2,"deg"):"0deg",$=C(i,(360-p)/360),y=C(i,1),w="conic-gradient(from ".concat(b,", ").concat($.join(", "),")"),k="linear-gradient(to ".concat(p?"bottom":"top",", ").concat(y.join(", "),")");return n.createElement(n.Fragment,null,n.createElement("mask",{id:h},g),n.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(h,")")},n.createElement(x,{bg:k},n.createElement(x,{bg:w}))))}),O=function(e,t,r,n,i,o,a,l,s,c){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=(100-n)/100*t;return"round"===s&&100!==n&&(d+=c/2)>=t&&(d=t-.01),{stroke:"string"==typeof l?l:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:d+u,transform:"rotate(".concat(i+r/100*360*((360-o)/360)+(0===o?0:({bottom:0,top:180,left:90,right:-90})[a]),"deg)"),transformOrigin:"".concat(50,"px ").concat(50,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Z=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function j(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}var I=function(e){var t,r,i,o,a=(0,m.Z)((0,m.Z)({},h),e),l=a.id,s=a.prefixCls,c=a.steps,d=a.strokeWidth,p=a.trailWidth,$=a.gapDegree,y=void 0===$?0:$,w=a.gapPosition,k=a.trailColor,x=a.strokeLinecap,C=a.style,I=a.className,D=a.strokeColor,N=a.percent,R=(0,g.Z)(a,Z),P=E(l),z="".concat(P,"-gradient"),F=50-d/2,M=2*Math.PI*F,A=y>0?90+y/2:-90,L=M*((360-y)/360),T="object"===(0,v.Z)(c)?c:{count:c,gap:2},X=T.count,_=T.gap,H=j(N),W=j(D),U=W.find(function(e){return e&&"object"===(0,v.Z)(e)}),q=U&&"object"===(0,v.Z)(U)?"butt":x,B=O(M,L,0,100,A,y,w,k,q,d),V=b();return n.createElement("svg",(0,f.Z)({className:u()("".concat(s,"-circle"),I),viewBox:"0 0 ".concat(100," ").concat(100),style:C,id:l,role:"presentation"},R),!X&&n.createElement("circle",{className:"".concat(s,"-circle-trail"),r:F,cx:50,cy:50,stroke:k,strokeLinecap:q,strokeWidth:p||d,style:B}),X?(t=Math.round(X*(H[0]/100)),r=100/X,i=0,Array(X).fill(null).map(function(e,o){var a=o<=t-1?W[0]:k,l=a&&"object"===(0,v.Z)(a)?"url(#".concat(z,")"):void 0,c=O(M,L,i,r,A,y,w,a,"butt",d,_);return i+=(L-c.strokeDashoffset+_)*100/L,n.createElement("circle",{key:o,className:"".concat(s,"-circle-path"),r:F,cx:50,cy:50,stroke:l,strokeWidth:d,opacity:1,style:c,ref:function(e){V[o]=e}})})):(o=0,H.map(function(e,t){var r=W[t]||W[W.length-1],i=O(M,L,o,e,A,y,w,r,q,d);return o+=e,n.createElement(S,{key:t,color:r,ptg:e,radius:F,prefixCls:s,gradientId:z,style:i,strokeLinecap:q,strokeWidth:d,gapDegree:y,ref:function(e){V[t]=e},size:100})}).reverse()))},D=r(60205),N=r(82650);function R(e){return!e||e<0?0:e>100?100:e}function P(e){let{success:t,successPercent:r}=e,n=r;return t&&"progress"in t&&(n=t.progress),t&&"percent"in t&&(n=t.percent),n}let z=e=>{let{percent:t,success:r,successPercent:n}=e,i=R(P({success:r,successPercent:n}));return[i,R(R(t)-i)]},F=e=>{let{success:t={},strokeColor:r}=e,{strokeColor:n}=t;return[n||N.ez.green,r||null]},M=(e,t,r)=>{var n,i,o,a;let l=-1,s=-1;if("step"===t){let t=r.steps,n=r.strokeWidth;"string"==typeof e||void 0===e?(l="small"===e?2:14,s=null!=n?n:8):"number"==typeof e?[l,s]=[e,e]:[l=14,s=8]=Array.isArray(e)?e:[e.width,e.height],l*=t}else if("line"===t){let t=null==r?void 0:r.strokeWidth;"string"==typeof e||void 0===e?s=t||("small"===e?6:8):"number"==typeof e?[l,s]=[e,e]:[l=-1,s=8]=Array.isArray(e)?e:[e.width,e.height]}else("circle"===t||"dashboard"===t)&&("string"==typeof e||void 0===e?[l,s]="small"===e?[60,60]:[120,120]:"number"==typeof e?[l,s]=[e,e]:Array.isArray(e)&&(l=null!==(i=null!==(n=e[0])&&void 0!==n?n:e[1])&&void 0!==i?i:120,s=null!==(a=null!==(o=e[0])&&void 0!==o?o:e[1])&&void 0!==a?a:120));return[l,s]},A=e=>3/e*100;var L=e=>{let{prefixCls:t,trailColor:r=null,strokeLinecap:i="round",gapPosition:o,gapDegree:a,width:l=120,type:s,children:c,success:d,size:p=l,steps:f}=e,[m,g]=M(p,"circle"),{strokeWidth:h}=e;void 0===h&&(h=Math.max(A(m),6));let b=n.useMemo(()=>a||0===a?a:"dashboard"===s?75:void 0,[a,s]),v=z(e),$=o||"dashboard"===s&&"bottom"||void 0,y="[object Object]"===Object.prototype.toString.call(e.strokeColor),w=F({success:d,strokeColor:e.strokeColor}),k=u()(`${t}-inner`,{[`${t}-circle-gradient`]:y}),E=n.createElement(I,{steps:f,percent:f?v[1]:v,strokeWidth:h,trailWidth:h,strokeColor:f?w[1]:w,strokeLinecap:i,trailColor:r,prefixCls:t,gapDegree:b,gapPosition:$}),x=m<=20,C=n.createElement("div",{className:k,style:{width:m,height:g,fontSize:.15*m+6}},E,!x&&c);return x?n.createElement(D.Z,{title:c},C):C},T=r(38083),X=r(60848),_=r(90102),H=r(74934);let W="--progress-line-stroke-color",U="--progress-percent",q=e=>{let t=e?"100%":"-100%";return new T.E4(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},B=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},(0,X.Wf)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${W})`]},height:"100%",width:`calc(1 / var(${U}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,T.bf)(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:q(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:q(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},V=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},G=e=>{let{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},J=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]:{fontSize:e.fontSizeSM}}}};var K=(0,_.I$)("Progress",e=>{let t=e.calc(e.marginXXS).div(2).equal(),r=(0,H.IX)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[B(r),V(r),G(r),J(r)]},e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`})),Q=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let Y=e=>{let t=[];return Object.keys(e).forEach(r=>{let n=parseFloat(r.replace(/%/g,""));isNaN(n)||t.push({key:n,value:e[r]})}),(t=t.sort((e,t)=>e.key-t.key)).map(e=>{let{key:t,value:r}=e;return`${r} ${t}%`}).join(", ")},ee=(e,t)=>{let{from:r=N.ez.blue,to:n=N.ez.blue,direction:i="rtl"===t?"to left":"to right"}=e,o=Q(e,["from","to","direction"]);if(0!==Object.keys(o).length){let e=Y(o),t=`linear-gradient(${i}, ${e})`;return{background:t,[W]:t}}let a=`linear-gradient(${i}, ${r}, ${n})`;return{background:a,[W]:a}};var et=e=>{let{prefixCls:t,direction:r,percent:i,size:o,strokeWidth:a,strokeColor:l,strokeLinecap:s="round",children:c,trailColor:d=null,percentPosition:p,success:f}=e,{align:m,type:g}=p,h=l&&"string"!=typeof l?ee(l,r):{[W]:l,background:l},b="square"===s||"butt"===s?0:void 0,v=null!=o?o:[-1,a||("small"===o?6:8)],[$,y]=M(v,"line",{strokeWidth:a}),w=Object.assign(Object.assign({width:`${R(i)}%`,height:y,borderRadius:b},h),{[U]:R(i)/100}),k=P(e),E={width:`${R(k)}%`,height:y,borderRadius:b,backgroundColor:null==f?void 0:f.strokeColor},x=n.createElement("div",{className:`${t}-inner`,style:{backgroundColor:d||void 0,borderRadius:b}},n.createElement("div",{className:u()(`${t}-bg`,`${t}-bg-${g}`),style:w},"inner"===g&&c),void 0!==k&&n.createElement("div",{className:`${t}-success-bg`,style:E})),C="outer"===g&&"start"===m,S="outer"===g&&"end"===m;return"outer"===g&&"center"===m?n.createElement("div",{className:`${t}-layout-bottom`},x,c):n.createElement("div",{className:`${t}-outer`,style:{width:$<0?"100%":$}},C&&c,x,S&&c)},er=e=>{let{size:t,steps:r,percent:i=0,strokeWidth:o=8,strokeColor:a,trailColor:l=null,prefixCls:s,children:c}=e,d=Math.round(r*(i/100)),p=null!=t?t:["small"===t?2:14,o],[f,m]=M(p,"step",{steps:r,strokeWidth:o}),g=f/r,h=Array(r);for(let e=0;et.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let ei=["normal","exception","active","success"],eo=n.forwardRef((e,t)=>{let r;let{prefixCls:c,className:f,rootClassName:m,steps:g,strokeColor:h,percent:b=0,size:v="default",showInfo:$=!0,type:y="line",status:w,format:k,style:E,percentPosition:x={}}=e,C=en(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:S="end",type:O="outer"}=x,Z=Array.isArray(h)?h[0]:h,j="string"==typeof h||Array.isArray(h)?h:void 0,I=n.useMemo(()=>{if(Z){let e="string"==typeof Z?Z:Object.values(Z)[0];return new s.C(e).isLight()}return!1},[h]),D=n.useMemo(()=>{var t,r;let n=P(e);return parseInt(void 0!==n?null===(t=null!=n?n:0)||void 0===t?void 0:t.toString():null===(r=null!=b?b:0)||void 0===r?void 0:r.toString(),10)},[b,e.success,e.successPercent]),N=n.useMemo(()=>!ei.includes(w)&&D>=100?"success":w||"normal",[w,D]),{getPrefixCls:z,direction:F,progress:A}=n.useContext(p.E_),T=z("progress",c),[X,_,H]=K(T),W="line"===y,U=W&&!g,q=n.useMemo(()=>{let t;if(!$)return null;let r=P(e),s=k||(e=>`${e}%`),c=W&&I&&"inner"===O;return"inner"===O||k||"exception"!==N&&"success"!==N?t=s(R(b),R(r)):"exception"===N?t=W?n.createElement(a.Z,null):n.createElement(l.Z,null):"success"===N&&(t=W?n.createElement(i.Z,null):n.createElement(o.Z,null)),n.createElement("span",{className:u()(`${T}-text`,{[`${T}-text-bright`]:c,[`${T}-text-${S}`]:U,[`${T}-text-${O}`]:U}),title:"string"==typeof t?t:void 0},t)},[$,b,D,N,y,T,k]);"line"===y?r=g?n.createElement(er,Object.assign({},e,{strokeColor:j,prefixCls:T,steps:"object"==typeof g?g.count:g}),q):n.createElement(et,Object.assign({},e,{strokeColor:Z,prefixCls:T,direction:F,percentPosition:{align:S,type:O}}),q):("circle"===y||"dashboard"===y)&&(r=n.createElement(L,Object.assign({},e,{strokeColor:Z,prefixCls:T,progressStatus:N}),q));let B=u()(T,`${T}-status-${N}`,{[`${T}-${"dashboard"===y&&"circle"||y}`]:"line"!==y,[`${T}-inline-circle`]:"circle"===y&&M(v,"circle")[0]<=20,[`${T}-line`]:U,[`${T}-line-align-${S}`]:U,[`${T}-line-position-${O}`]:U,[`${T}-steps`]:g,[`${T}-show-info`]:$,[`${T}-${v}`]:"string"==typeof v,[`${T}-rtl`]:"rtl"===F},null==A?void 0:A.className,f,m,_,H);return X(n.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null==A?void 0:A.style),E),className:B,role:"progressbar","aria-valuenow":D,"aria-valuemin":0,"aria-valuemax":100},(0,d.Z)(C,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),r))});var ea=eo},32818:function(e,t,r){r.d(t,{default:function(){return eS}});var n=r(38497),i=r(72991),o=r(2060),a=r(26869),l=r.n(a),s=r(42096),c=r(97290),u=r(80972),d=r(6228),p=r(63119),f=r(43930),m=r(65148),g=r(4247),h=r(10921),b=r(77160),v=r(14433),$=r(20924),y=r(66168),w=r(89842),k=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",i=e.type||"",o=i.replace(/\/.*$/,"");return r.some(function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var r=n.toLowerCase(),a=t.toLowerCase(),l=[a];return(".jpg"===a||".jpeg"===a)&&(l=[".jpg",".jpeg"]),l.some(function(e){return r.endsWith(e)})}return/\/\*$/.test(t)?o===t.replace(/\/.*$/,""):i===t||!!/^\w+$/.test(t)&&((0,w.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0};function E(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function x(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var r=new FormData;e.data&&Object.keys(e.data).forEach(function(t){var n=e.data[t];if(Array.isArray(n)){n.forEach(function(e){r.append("".concat(t,"[]"),e)});return}r.append(t,n)}),e.file instanceof Blob?r.append(e.filename,e.file,e.file.name):r.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300){var r;return e.onError(((r=Error("cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"))).status=t.status,r.method=e.method,r.url=e.action,r),E(t))}return e.onSuccess(E(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var n=e.headers||{};return null!==n["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(n).forEach(function(e){null!==n[e]&&t.setRequestHeader(e,n[e])}),t.send(r),{abort:function(){t.abort()}}}var C=function(e,t,r){var n=[],o=[];e.forEach(function(e){return o.push(e.webkitGetAsEntry())});var a=function(e,t){if(e){if(e.path=t||"",e.isFile)e.file(function(t){r(t)&&(e.fullPath&&!t.webkitRelativePath&&(Object.defineProperties(t,{webkitRelativePath:{writable:!0}}),t.webkitRelativePath=e.fullPath.replace(/^\//,""),Object.defineProperties(t,{webkitRelativePath:{writable:!1}})),n.push(t))});else if(e.isDirectory){var a;a=e.createReader(),function e(){a.readEntries(function(t){var r=Array.prototype.slice.apply(t);o.push.apply(o,(0,i.Z)(r)),r.length&&e()})}()}}};!function(){for(var e=0;e{let{componentCls:t,iconCls:r}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${(0,_.bf)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${(0,_.bf)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` + &:not(${t}-disabled):hover, + &-hover:not(${t}-disabled) + `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[r]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${(0,_.bf)(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${r}, + p${t}-text, + p${t}-hint + `]:{color:e.colorTextDisabled}}}}}},W=e=>{let{componentCls:t,antCls:r,iconCls:n,fontSize:i,lineHeight:o,calc:a}=e,l=`${t}-list-item`,s=`${l}-actions`,c=`${l}-action`,u=e.fontHeightSM;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},(0,A.dF)()),{lineHeight:e.lineHeight,[l]:{position:"relative",height:a(e.lineHeight).mul(i).equal(),marginTop:e.marginXS,fontSize:i,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${l}-name`]:Object.assign(Object.assign({},A.vS),{padding:`0 ${(0,_.bf)(e.paddingXS)}`,lineHeight:o,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[s]:{whiteSpace:"nowrap",[c]:{opacity:0},[n]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[` + ${c}:focus-visible, + &.picture ${c} + `]:{opacity:1},[`${c}${r}-btn`]:{height:u,border:0,lineHeight:1}},[`${t}-icon ${n}`]:{color:e.colorTextDescription,fontSize:i},[`${l}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:a(i).add(e.paddingXS).equal(),fontSize:i,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${l}:hover ${c}`]:{opacity:1},[`${l}-error`]:{color:e.colorError,[`${l}-name, ${t}-icon ${n}`]:{color:e.colorError},[s]:{[`${n}, ${n}:hover`]:{color:e.colorError},[c]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},U=r(29730),q=e=>{let{componentCls:t}=e,r=new _.E4("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),n=new _.E4("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),i=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${i}-appear, ${i}-enter, ${i}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${i}-appear, ${i}-enter`]:{animationName:r},[`${i}-leave`]:{animationName:n}}},{[`${t}-wrapper`]:(0,U.J$)(e)},r,n]},B=r(82650);let V=e=>{let{componentCls:t,iconCls:r,uploadThumbnailSize:n,uploadProgressOffset:i,calc:o}=e,a=`${t}-list`,l=`${a}-item`;return{[`${t}-wrapper`]:{[` + ${a}${a}-picture, + ${a}${a}-picture-card, + ${a}${a}-picture-circle + `]:{[l]:{position:"relative",height:o(n).add(o(e.lineWidth).mul(2)).add(o(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${(0,_.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${l}-thumbnail`]:Object.assign(Object.assign({},A.vS),{width:n,height:n,lineHeight:(0,_.bf)(o(n).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[r]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${l}-progress`]:{bottom:i,width:`calc(100% - ${(0,_.bf)(o(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:o(n).add(e.paddingXS).equal()}},[`${l}-error`]:{borderColor:e.colorError,[`${l}-thumbnail ${r}`]:{[`svg path[fill='${B.iN[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${B.iN.primary}']`]:{fill:e.colorError}}},[`${l}-uploading`]:{borderStyle:"dashed",[`${l}-name`]:{marginBottom:i}}},[`${a}${a}-picture-circle ${l}`]:{[`&, &::before, ${l}-thumbnail`]:{borderRadius:"50%"}}}}},G=e=>{let{componentCls:t,iconCls:r,fontSizeLG:n,colorTextLightSolid:i,calc:o}=e,a=`${t}-list`,l=`${a}-item`,s=e.uploadPicCardSize;return{[` + ${t}-wrapper${t}-picture-card-wrapper, + ${t}-wrapper${t}-picture-circle-wrapper + `]:Object.assign(Object.assign({},(0,A.dF)()),{display:"block",[`${t}${t}-select`]:{width:s,height:s,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${(0,_.bf)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${a}${a}-picture-card, ${a}${a}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${a}-item-container`]:{display:"inline-block",width:s,height:s,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[l]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,_.bf)(o(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,_.bf)(o(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${l}:hover`]:{[`&::before, ${l}-actions`]:{opacity:1}},[`${l}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[` + ${r}-eye, + ${r}-download, + ${r}-delete + `]:{zIndex:10,width:n,margin:`0 ${(0,_.bf)(e.marginXXS)}`,fontSize:n,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:i,"&:hover":{color:i},svg:{verticalAlign:"baseline"}}},[`${l}-thumbnail, ${l}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${l}-name`]:{display:"none",textAlign:"center"},[`${l}-file + ${l}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${(0,_.bf)(o(e.paddingXS).mul(2).equal())})`},[`${l}-uploading`]:{[`&${l}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${r}-eye, ${r}-download, ${r}-delete`]:{display:"none"}},[`${l}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${(0,_.bf)(o(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}};var J=e=>{let{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}};let K=e=>{let{componentCls:t,colorTextDisabled:r}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,A.Wf)(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:r,cursor:"not-allowed"}})}};var Q=(0,T.I$)("Upload",e=>{let{fontSizeHeading3:t,fontHeight:r,lineWidth:n,controlHeightLG:i,calc:o}=e,a=(0,X.IX)(e,{uploadThumbnailSize:o(t).mul(2).equal(),uploadProgressOffset:o(o(r).div(2)).add(n).equal(),uploadPicCardSize:o(i).mul(2.55).equal()});return[K(a),H(a),V(a),G(a),W(a),q(a),J(a),(0,L.Z)(a)]},e=>({actionsColor:e.colorTextDescription})),Y=r(55772),ee=r(37022),et=r(63079),er=r(52670),en=r(53979),ei=r(66767),eo=r(17383),ea=r(55091),el=r(27691);function es(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function ec(e,t){let r=(0,i.Z)(t),n=r.findIndex(t=>{let{uid:r}=t;return r===e.uid});return -1===n?r.push(e):r[n]=e,r}function eu(e,t){let r=void 0!==e.uid?"uid":"name";return t.filter(t=>t[r]===e[r])[0]}let ed=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),r=t[t.length-1],n=r.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]},ep=e=>0===e.indexOf("image/"),ef=e=>{if(e.type&&!e.thumbUrl)return ep(e.type);let t=e.thumbUrl||e.url||"",r=ed(t);return!!(/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(r))||!/^data:/.test(t)&&!r};function em(e){return new Promise(t=>{if(!e.type||!ep(e.type)){t("");return}let r=document.createElement("canvas");r.width=200,r.height=200,r.style.cssText="position: fixed; left: 0; top: 0; width: 200px; height: 200px; z-index: 9999; display: none;",document.body.appendChild(r);let n=r.getContext("2d"),i=new Image;if(i.onload=()=>{let{width:e,height:o}=i,a=200,l=200,s=0,c=0;e>o?c=-((l=o*(200/e))-a)/2:s=-((a=e*(200/o))-l)/2,n.drawImage(i,s,c,a,l);let u=r.toDataURL();document.body.removeChild(r),window.URL.revokeObjectURL(i.src),t(u)},i.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){let t=new FileReader;t.onload=()=>{t.result&&"string"==typeof t.result&&(i.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){let r=new FileReader;r.onload=()=>{r.result&&t(r.result)},r.readAsDataURL(e)}else i.src=window.URL.createObjectURL(e)})}var eg=r(2537),eh=r(91158),eb=r(32982),ev=r(67274),e$=r(60205);let ey=n.forwardRef((e,t)=>{var r,i;let{prefixCls:o,className:a,style:s,locale:c,listType:u,file:d,items:p,progress:f,iconRender:m,actionIconRender:g,itemRender:h,isImgUrl:b,showPreviewIcon:v,showRemoveIcon:$,showDownloadIcon:y,previewIcon:w,removeIcon:k,downloadIcon:E,extra:x,onPreview:C,onDownload:S,onClose:O}=e,{status:Z}=d,[j,I]=n.useState(Z);n.useEffect(()=>{"removed"!==Z&&I(Z)},[Z]);let[D,N]=n.useState(!1);n.useEffect(()=>{let e=setTimeout(()=>{N(!0)},300);return()=>{clearTimeout(e)}},[]);let R=m(d),z=n.createElement("div",{className:`${o}-icon`},R);if("picture"===u||"picture-card"===u||"picture-circle"===u){if("uploading"!==j&&(d.thumbUrl||d.url)){let e=(null==b?void 0:b(d))?n.createElement("img",{src:d.thumbUrl||d.url,alt:d.name,className:`${o}-list-item-image`,crossOrigin:d.crossOrigin}):R,t=l()(`${o}-list-item-thumbnail`,{[`${o}-list-item-file`]:b&&!b(d)});z=n.createElement("a",{className:t,onClick:e=>C(d,e),href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer"},e)}else{let e=l()(`${o}-list-item-thumbnail`,{[`${o}-list-item-file`]:"uploading"!==j});z=n.createElement("div",{className:e},R)}}let F=l()(`${o}-list-item`,`${o}-list-item-${j}`),M="string"==typeof d.linkProps?JSON.parse(d.linkProps):d.linkProps,A=$?g(("function"==typeof k?k(d):k)||n.createElement(eg.Z,null),()=>O(d),o,c.removeFile,!0):null,L=y&&"done"===j?g(("function"==typeof E?E(d):E)||n.createElement(eh.Z,null),()=>S(d),o,c.downloadFile):null,T="picture-card"!==u&&"picture-circle"!==u&&n.createElement("span",{key:"download-delete",className:l()(`${o}-list-item-actions`,{picture:"picture"===u})},L,A),X="function"==typeof x?x(d):x,_=X&&n.createElement("span",{className:`${o}-list-item-extra`},X),H=l()(`${o}-list-item-name`),W=d.url?n.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:H,title:d.name},M,{href:d.url,onClick:e=>C(d,e)}),d.name,_):n.createElement("span",{key:"view",className:H,onClick:e=>C(d,e),title:d.name},d.name,_),U=v&&(d.url||d.thumbUrl)?n.createElement("a",{href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:e=>C(d,e),title:c.previewFile},"function"==typeof w?w(d):w||n.createElement(eb.Z,null)):null,q=("picture-card"===u||"picture-circle"===u)&&"uploading"!==j&&n.createElement("span",{className:`${o}-list-item-actions`},U,"done"===j&&L,A),{getPrefixCls:B}=n.useContext(P.E_),V=B(),G=n.createElement("div",{className:F},z,W,T,q,D&&n.createElement(en.ZP,{motionName:`${V}-fade`,visible:"uploading"===j,motionDeadline:2e3},e=>{let{className:t}=e,r="percent"in d?n.createElement(ev.Z,Object.assign({},f,{type:"line",percent:d.percent,"aria-label":d["aria-label"],"aria-labelledby":d["aria-labelledby"]})):null;return n.createElement("div",{className:l()(`${o}-list-item-progress`,t)},r)})),J=d.response&&"string"==typeof d.response?d.response:(null===(r=d.error)||void 0===r?void 0:r.statusText)||(null===(i=d.error)||void 0===i?void 0:i.message)||c.uploadError,K="error"===j?n.createElement(e$.Z,{title:J,getPopupContainer:e=>e.parentNode},G):G;return n.createElement("div",{className:l()(`${o}-list-item-container`,a),style:s,ref:t},h?h(K,d,p,{download:S.bind(null,d),preview:C.bind(null,d),remove:O.bind(null,d)}):K)}),ew=n.forwardRef((e,t)=>{let{listType:r="text",previewFile:o=em,onPreview:a,onDownload:s,onRemove:c,locale:u,iconRender:d,isImageUrl:p=ef,prefixCls:f,items:m=[],showPreviewIcon:g=!0,showRemoveIcon:h=!0,showDownloadIcon:b=!1,removeIcon:v,previewIcon:$,downloadIcon:y,extra:w,progress:k={size:[-1,2],showInfo:!1},appendAction:E,appendActionVisible:x=!0,itemRender:C,disabled:S}=e,O=(0,ei.Z)(),[Z,j]=n.useState(!1);n.useEffect(()=>{("picture"===r||"picture-card"===r||"picture-circle"===r)&&(m||[]).forEach(e=>{"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",o&&o(e.originFileObj).then(t=>{e.thumbUrl=t||"",O()}))})},[r,m,o]),n.useEffect(()=>{j(!0)},[]);let I=(e,t)=>{if(a)return null==t||t.preventDefault(),a(e)},D=e=>{"function"==typeof s?s(e):e.url&&window.open(e.url)},N=e=>{null==c||c(e)},R=e=>{if(d)return d(e,r);let t="uploading"===e.status,i=(null==p?void 0:p(e))?n.createElement(er.Z,null):n.createElement(Y.Z,null),o=t?n.createElement(ee.Z,null):n.createElement(et.Z,null);return"picture"===r?o=t?n.createElement(ee.Z,null):i:("picture-card"===r||"picture-circle"===r)&&(o=t?u.uploading:i),o},z=(e,t,r,i,o)=>{let a={type:"text",size:"small",title:i,onClick:r=>{var i,o;t(),n.isValidElement(e)&&(null===(o=(i=e.props).onClick)||void 0===o||o.call(i,r))},className:`${r}-list-item-action`};if(o&&(a.disabled=S),n.isValidElement(e)){let t=(0,ea.Tm)(e,Object.assign(Object.assign({},e.props),{onClick:()=>{}}));return n.createElement(el.ZP,Object.assign({},a,{icon:t}))}return n.createElement(el.ZP,Object.assign({},a),n.createElement("span",null,e))};n.useImperativeHandle(t,()=>({handlePreview:I,handleDownload:D}));let{getPrefixCls:F}=n.useContext(P.E_),M=F("upload",f),A=F(),L=l()(`${M}-list`,`${M}-list-${r}`),T=(0,i.Z)(m.map(e=>({key:e.uid,file:e}))),X="picture-card"===r||"picture-circle"===r?"animate-inline":"animate",_={motionDeadline:2e3,motionName:`${M}-${X}`,keys:T,motionAppear:Z},H=n.useMemo(()=>{let e=Object.assign({},(0,eo.Z)(A));return delete e.onAppearEnd,delete e.onEnterEnd,delete e.onLeaveEnd,e},[A]);return"picture-card"!==r&&"picture-circle"!==r&&(_=Object.assign(Object.assign({},H),_)),n.createElement("div",{className:L},n.createElement(en.V4,Object.assign({},_,{component:!1}),e=>{let{key:t,file:i,className:o,style:a}=e;return n.createElement(ey,{key:t,locale:u,prefixCls:M,className:o,style:a,file:i,items:m,progress:k,listType:r,isImgUrl:p,showPreviewIcon:g,showRemoveIcon:h,showDownloadIcon:b,removeIcon:v,previewIcon:$,downloadIcon:y,extra:w,iconRender:R,actionIconRender:z,itemRender:C,onPreview:I,onDownload:D,onClose:N})}),E&&n.createElement(en.ZP,Object.assign({},_,{visible:x,forceRender:!0}),e=>{let{className:t,style:r}=e;return(0,ea.Tm)(E,e=>({className:l()(e.className,t),style:Object.assign(Object.assign(Object.assign({},r),{pointerEvents:t?"none":void 0}),e.style)}))}))}),ek=`__LIST_IGNORE_${Date.now()}__`,eE=n.forwardRef((e,t)=>{let{fileList:r,defaultFileList:a,onRemove:s,showUploadList:c=!0,listType:u="text",onPreview:d,onDownload:p,onChange:f,onDrop:m,previewFile:g,disabled:h,locale:b,iconRender:v,isImageUrl:$,progress:y,prefixCls:w,className:k,type:E="select",children:x,style:C,itemRender:S,maxCount:O,data:Z={},multiple:j=!1,hasControlInside:I=!0,action:D="",accept:A="",supportServerRender:L=!0,rootClassName:T}=e,X=n.useContext(z.Z),_=null!=h?h:X,[H,W]=(0,R.Z)(a||[],{value:r,postState:e=>null!=e?e:[]}),[U,q]=n.useState("drop"),B=n.useRef(null),V=n.useRef(null);n.useMemo(()=>{let e=Date.now();(r||[]).forEach((t,r)=>{t.uid||Object.isFrozen(t)||(t.uid=`__AUTO__${e}_${r}__`)})},[r]);let G=(e,t,r)=>{let n=(0,i.Z)(t),a=!1;1===O?n=n.slice(-1):O&&(a=n.length>O,n=n.slice(0,O)),(0,o.flushSync)(()=>{W(n)});let l={file:e,fileList:n};r&&(l.event=r),(!a||"removed"===e.status||n.some(t=>t.uid===e.uid))&&(0,o.flushSync)(()=>{null==f||f(l)})},J=e=>{let t=e.filter(e=>!e.file[ek]);if(!t.length)return;let r=t.map(e=>es(e.file)),n=(0,i.Z)(H);r.forEach(e=>{n=ec(e,n)}),r.forEach((e,r)=>{let i=e;if(t[r].parsedFile)e.status="uploading";else{let t;let{originFileObj:r}=e;try{t=new File([r],r.name,{type:r.type})}catch(e){(t=new Blob([r],{type:r.type})).name=r.name,t.lastModifiedDate=new Date,t.lastModified=new Date().getTime()}t.uid=e.uid,i=t}G(i,n)})},K=(e,t,r)=>{try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}if(!eu(t,H))return;let n=es(t);n.status="done",n.percent=100,n.response=e,n.xhr=r;let i=ec(n,H);G(n,i)},Y=(e,t)=>{if(!eu(t,H))return;let r=es(t);r.status="uploading",r.percent=e.percent;let n=ec(r,H);G(r,n,e)},ee=(e,t,r)=>{if(!eu(r,H))return;let n=es(r);n.error=e,n.response=t,n.status="error";let i=ec(n,H);G(n,i)},et=e=>{let t;Promise.resolve("function"==typeof s?s(e):s).then(r=>{var n;if(!1===r)return;let i=function(e,t){let r=void 0!==e.uid?"uid":"name",n=t.filter(t=>t[r]!==e[r]);return n.length===t.length?null:n}(e,H);i&&(t=Object.assign(Object.assign({},e),{status:"removed"}),null==H||H.forEach(e=>{let r=void 0!==t.uid?"uid":"name";e[r]!==t[r]||Object.isFrozen(e)||(e.status="removed")}),null===(n=B.current)||void 0===n||n.abort(t),G(t,i))})},er=e=>{q(e.type),"drop"===e.type&&(null==m||m(e))};n.useImperativeHandle(t,()=>({onBatchStart:J,onSuccess:K,onProgress:Y,onError:ee,fileList:H,upload:B.current,nativeElement:V.current}));let{getPrefixCls:en,direction:ei,upload:eo}=n.useContext(P.E_),ea=en("upload",w),el=Object.assign(Object.assign({onBatchStart:J,onError:ee,onProgress:Y,onSuccess:K},e),{data:Z,multiple:j,action:D,accept:A,supportServerRender:L,prefixCls:ea,disabled:_,beforeUpload:(t,r)=>{var n,i,o,a;return n=void 0,i=void 0,o=void 0,a=function*(){let{beforeUpload:n,transformFile:i}=e,o=t;if(n){let e=yield n(t,r);if(!1===e)return!1;if(delete t[ek],e===ek)return Object.defineProperty(t,ek,{value:!0,configurable:!0}),!1;"object"==typeof e&&e&&(o=e)}return i&&(o=yield i(o)),o},new(o||(o=Promise))(function(e,t){function r(e){try{s(a.next(e))}catch(e){t(e)}}function l(e){try{s(a.throw(e))}catch(e){t(e)}}function s(t){var n;t.done?e(t.value):((n=t.value)instanceof o?n:new o(function(e){e(n)})).then(r,l)}s((a=a.apply(n,i||[])).next())})},onChange:void 0,hasControlInside:I});delete el.className,delete el.style,(!x||_)&&delete el.id;let ed=`${ea}-wrapper`,[ep,ef,em]=Q(ea,ed),[eg]=(0,F.Z)("Upload",M.Z.Upload),{showRemoveIcon:eh,showPreviewIcon:eb,showDownloadIcon:ev,removeIcon:e$,previewIcon:ey,downloadIcon:eE,extra:ex}="boolean"==typeof c?{}:c,eC=void 0===eh?!_:!!eh,eS=(e,t)=>c?n.createElement(ew,{prefixCls:ea,listType:u,items:H,previewFile:g,onPreview:d,onDownload:p,onRemove:et,showRemoveIcon:eC,showPreviewIcon:eb,showDownloadIcon:ev,removeIcon:e$,previewIcon:ey,downloadIcon:eE,iconRender:v,extra:ex,locale:Object.assign(Object.assign({},eg),b),isImageUrl:$,progress:y,appendAction:e,appendActionVisible:t,itemRender:S,disabled:_}):e,eO=l()(ed,k,T,ef,em,null==eo?void 0:eo.className,{[`${ea}-rtl`]:"rtl"===ei,[`${ea}-picture-card-wrapper`]:"picture-card"===u,[`${ea}-picture-circle-wrapper`]:"picture-circle"===u}),eZ=Object.assign(Object.assign({},null==eo?void 0:eo.style),C);if("drag"===E){let e=l()(ef,ea,`${ea}-drag`,{[`${ea}-drag-uploading`]:H.some(e=>"uploading"===e.status),[`${ea}-drag-hover`]:"dragover"===U,[`${ea}-disabled`]:_,[`${ea}-rtl`]:"rtl"===ei});return ep(n.createElement("span",{className:eO,ref:V},n.createElement("div",{className:e,style:eZ,onDrop:er,onDragOver:er,onDragLeave:er},n.createElement(N,Object.assign({},el,{ref:B,className:`${ea}-btn`}),n.createElement("div",{className:`${ea}-drag-container`},x))),eS()))}let ej=l()(ea,`${ea}-select`,{[`${ea}-disabled`]:_}),eI=n.createElement("div",{className:ej,style:x?void 0:{display:"none"}},n.createElement(N,Object.assign({},el,{ref:B})));return ep("picture-card"===u||"picture-circle"===u?n.createElement("span",{className:eO,ref:V},eS(eI,!!x)):n.createElement("span",{className:eO,ref:V},eI,eS()))});var ex=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let eC=n.forwardRef((e,t)=>{var{style:r,height:i,hasControlInside:o=!1}=e,a=ex(e,["style","height","hasControlInside"]);return n.createElement(eE,Object.assign({ref:t,hasControlInside:o},a,{type:"drag",style:Object.assign(Object.assign({},r),{height:i})}))});eE.Dragger=eC,eE.LIST_IGNORE=ek;var eS=eE}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2845-7dab8ccc61296a22.js b/dbgpt/app/static/web/_next/static/chunks/2845-7dab8ccc61296a22.js deleted file mode 100644 index 25ef3b02f..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/2845-7dab8ccc61296a22.js +++ /dev/null @@ -1,3 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2845],{86947:function(){},32572:function(e,t,r){"use strict";r.d(t,{Z:function(){return t$}});var n,i,s,o,u,l,a,c,h,d,p,f,x,m={};r.r(m),r.d(m,{decode:function(){return y},encode:function(){return A},format:function(){return F},parse:function(){return P}});var g={};r.r(g),r.d(g,{Any:function(){return V},Cc:function(){return j},Cf:function(){return H},P:function(){return O},S:function(){return U},Z:function(){return Z}});var _={};r.r(_),r.d(_,{arrayReplaceAt:function(){return el},assign:function(){return eu},escapeHtml:function(){return ek},escapeRE:function(){return ey},fromCodePoint:function(){return ec},has:function(){return eo},isMdAsciiPunct:function(){return eF},isPunctChar:function(){return eA},isSpace:function(){return eC},isString:function(){return ei},isValidEntityCode:function(){return ea},isWhiteSpace:function(){return eE},lib:function(){return ew},normalizeReference:function(){return ev},unescapeAll:function(){return ex},unescapeMd:function(){return ef}});var b={};r.r(b),r.d(b,{parseLinkDestination:function(){return eS},parseLinkLabel:function(){return eq},parseLinkTitle:function(){return eL}});let k={};function D(e,t){"string"!=typeof t&&(t=D.defaultChars);let r=function(e){let t=k[e];if(t)return t;t=k[e]=[];for(let e=0;e<128;e++){let r=String.fromCharCode(e);t.push(r)}for(let r=0;r=55296&&e<=57343?t+="���":t+=String.fromCharCode(e),n+=6;continue}}if((248&s)==240&&n+91114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),n+=9;continue}}t+="�"}return t})}D.defaultChars=";/?:@&=+$,#",D.componentChars="";var y=D;let C={};function E(e,t,r){"string"!=typeof t&&(r=t,t=E.defaultChars),void 0===r&&(r=!0);let n=function(e){let t=C[e];if(t)return t;t=C[e]=[];for(let e=0;e<128;e++){let r=String.fromCharCode(e);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let r=0;r=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1=56320&&r<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[t])}return i}E.defaultChars=";/?:@&=+$,-_.!~*'()#",E.componentChars="-_.!~*'()";var A=E;function F(e){let t="";return t+=(e.protocol||"")+(e.slashes?"//":"")+(e.auth?e.auth+"@":""),e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=(e.port?":"+e.port:"")+(e.pathname||"")+(e.search||"")+(e.hash||"")}function v(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}let w=/^([a-z0-9.+-]+:)/i,q=/:[0-9]*$/,S=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,L=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n"," "]),z=["'"].concat(L),B=["%","/","?",";","#"].concat(z),T=["/","?","#"],I=/^[+a-z0-9A-Z_-]{0,63}$/,R=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,M={javascript:!0,"javascript:":!0},N={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};v.prototype.parse=function(e,t){let r,n,i;let s=e;if(s=s.trim(),!t&&1===e.split("#").length){let e=S.exec(s);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=w.exec(s);if(o&&(r=(o=o[0]).toLowerCase(),this.protocol=o,s=s.substr(o.length)),(t||o||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===s.substr(0,2))&&!(o&&M[o])&&(s=s.substr(2),this.slashes=!0),!M[o]&&(i||o&&!N[o])){let e,t,r=-1;for(let e=0;e127?n+="x":n+=r[e];if(!n.match(I)){let n=e.slice(0,t),i=e.slice(t+1),o=r.match(R);o&&(n.push(o[1]),i.unshift(o[2])),i.length&&(s=i.join(".")+s),this.hostname=n.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let u=s.indexOf("#");-1!==u&&(this.hash=s.substr(u),s=s.slice(0,u));let l=s.indexOf("?");return -1!==l&&(this.search=s.substr(l),s=s.slice(0,l)),s&&(this.pathname=s),N[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this},v.prototype.parseHost=function(e){let t=q.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var P=function(e,t){if(e&&e instanceof v)return e;let r=new v;return r.parse(e,t),r},O=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,U=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,V=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,j=/[\0-\x1F\x7F-\x9F]/,H=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Z=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,$=new Uint16Array('ᵁ<\xd5ıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\x00\x00\x00\x00\x00\x00ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig耻\xc6䃆P耻&䀦cute耻\xc1䃁reve;䄂Āiyx}rc耻\xc2䃂;䐐r;쀀\ud835\udd04rave耻\xc0䃀pha;䎑acr;䄀d;橓Āgp\x9d\xa1on;䄄f;쀀\ud835\udd38plyFunction;恡ing耻\xc5䃅Ācs\xbe\xc3r;쀀\ud835\udc9cign;扔ilde耻\xc3䃃ml耻\xc4䃄Ѐaceforsu\xe5\xfb\xfeėĜĢħĪĀcr\xea\xf2kslash;或Ŷ\xf6\xf8;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀\ud835\udd05pf;쀀\ud835\udd39eve;䋘c\xf2ēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻\xa9䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻\xc7䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷\xf2ſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀\ud835\udc9epĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀\ud835\udd07Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\x00\x00\x00͔͂\x00Ѕf;쀀\ud835\udd3bƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegra\xecȹoɴ͹\x00\x00ͻ\xbb͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔e\xe5ˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\x00\x00ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\x00ц\x00ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\x00ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀\ud835\udc9frok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻\xd0䃐cute耻\xc9䃉ƀaiyӒӗӜron;䄚rc耻\xca䃊;䐭ot;䄖r;쀀\ud835\udd08rave耻\xc8䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\x00\x00ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀\ud835\udd3csilon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻\xcb䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀\ud835\udd09lledɓ֗\x00\x00֣mallSquare;旼erySmallSquare;斪Ͱֺ\x00ֿ\x00\x00ׄf;쀀\ud835\udd3dAll;戀riertrf;愱c\xf2׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\ud835\udd0a;拙pf;쀀\ud835\udd3eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\ud835\udca2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\x00ڲf;愍izontalLine;攀Āctۃۅ\xf2کrok;䄦mpńېۘownHum\xf0įqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻\xcd䃍Āiyܓܘrc耻\xce䃎;䐘ot;䄰r;愑rave耻\xcc䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lie\xf3ϝǴ݉\x00ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\ud835\udd40a;䎙cr;愐ilde;䄨ǫޚ\x00ޞcy;䐆l耻\xcf䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀\ud835\udd0dpf;쀀\ud835\udd41ǣ߇\x00ߌr;쀀\ud835\udca5rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀\ud835\udd0epf;쀀\ud835\udd42cr;쀀\ud835\udca6րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\x00ࣃbleBracket;柦nǔࣈ\x00࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ight\xe1Μs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\ud835\udd0fĀ;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊight\xe1οight\xe1ϊf;쀀\ud835\udd43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂ\xf2ࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀\ud835\udd10nusPlus;戓pf;쀀\ud835\udd44c\xf2੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘\xeb૙eryThi\xee૙tedĀGL૸ଆreaterGreate\xf2ٳessLes\xf3ੈLine;䀊r;쀀\ud835\udd11ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀\ud835\udca9ilde耻\xd1䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻\xd3䃓Āiy෎ීrc耻\xd4䃔;䐞blac;䅐r;쀀\ud835\udd12rave耻\xd2䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀\ud835\udd46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\ud835\udcaaash耻\xd8䃘iŬื฼de耻\xd5䃕es;樷ml耻\xd6䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀\ud835\udd13i;䎦;䎠usMinus;䂱Āipຢອncareplan\xe5ڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀\ud835\udcab;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀\ud835\udd14pf;愚cr;쀀\ud835\udcac؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻\xae䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r\xbbཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\x00စbleBracket;柧nǔည\x00နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀\ud835\udd16ortȀDLRUᄪᄴᄾᅉownArrow\xbbОeftArrow\xbb࢚ightArrow\xbb࿝pArrow;憑gma;䎣allCircle;战pf;쀀\ud835\udd4aɲᅭ\x00\x00ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\ud835\udcaear;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Th\xe1ྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et\xbbሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻\xde䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\ud835\udd17Āeiቻ኉Dzኀ\x00ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\ud835\udd4bipleDot;惛Āctዖዛr;쀀\ud835\udcafrok;䅦ૡዷጎጚጦ\x00ጬጱ\x00\x00\x00\x00\x00ጸጽ፷ᎅ\x00᏿ᐄᐊᐐĀcrዻጁute耻\xda䃚rĀ;oጇገ憟cir;楉rǣጓ\x00጖y;䐎ve;䅬Āiyጞጣrc耻\xdb䃛;䐣blac;䅰r;쀀\ud835\udd18rave耻\xd9䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀\ud835\udd4cЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥own\xe1ϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\ud835\udcb0ilde;䅨ml耻\xdc䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\ud835\udd19pf;쀀\ud835\udd4dcr;쀀\ud835\udcb1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\ud835\udd1apf;쀀\ud835\udd4ecr;쀀\ud835\udcb2Ȁfiosᓋᓐᓒᓘr;쀀\ud835\udd1b;䎞pf;쀀\ud835\udd4fcr;쀀\ud835\udcb3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻\xdd䃝Āiyᔉᔍrc;䅶;䐫r;쀀\ud835\udd1cpf;쀀\ud835\udd50cr;쀀\ud835\udcb4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\x00ᕛoWidt\xe8૙a;䎖r;愨pf;愤cr;쀀\ud835\udcb5௡ᖃᖊᖐ\x00ᖰᖶᖿ\x00\x00\x00\x00ᗆᗛᗫᙟ᙭\x00ᚕ᚛ᚲᚹ\x00ᚾcute耻\xe1䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻\xe2䃢te肻\xb4̆;䐰lig耻\xe6䃦Ā;r\xb2ᖺ;쀀\ud835\udd1erave耻\xe0䃠ĀepᗊᗖĀfpᗏᗔsym;愵\xe8ᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\x00\x00ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e\xbbᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢\xbb\xb9arr;捼Āgpᙣᙧon;䄅f;쀀\ud835\udd52΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒ\xf1ᚃing耻\xe5䃥ƀctyᚡᚦᚨr;쀀\ud835\udcb6;䀪mpĀ;e዁ᚯ\xf1ʈilde耻\xe3䃣ml耻\xe4䃤Āciᛂᛈonin\xf4ɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e\xbbᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰s\xe9ᜌno\xf5ēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀\ud835\udd1fg΀costuvwឍឝឳេ៕៛៞ƀaiuបពរ\xf0ݠrc;旯p\xbb፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\x00\x00ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄e\xe5ᑄ\xe5ᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\x00ᠳƲᠯ\x00ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\ud835\udd53Ā;tᏋᡣom\xbbᏌtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻\xa6䂦Ȁceioᥑᥖᥚᥠr;쀀\ud835\udcb7mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t\xbb᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\x00᧨ᨑᨕᨲ\x00ᨷᩐ\x00\x00᪴\x00\x00᫁\x00\x00ᬡᬮ᭍᭒\x00᯽\x00ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁\xeeړȀaeiu᧰᧻ᨁᨅǰ᧵\x00᧸s;橍on;䄍dil耻\xe7䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻\xb8ƭptyv;榲t脀\xa2;eᨭᨮ䂢r\xe4Ʋr;쀀\ud835\udd20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark\xbbᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\x00\x00᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟\xbbཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it\xbb᪼ˬ᫇᫔᫺\x00ᬊonĀ;eᫍᫎ䀺Ā;q\xc7\xc6ɭ᫙\x00\x00᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁\xeeᅠeĀmx᫱᫶ent\xbb᫩e\xf3ɍǧ᫾\x00ᬇĀ;dኻᬂot;橭n\xf4Ɇƀfryᬐᬔᬗ;쀀\ud835\udd54o\xe4ɔ脀\xa9;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\ud835\udcb8Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\x00\x00᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\x00\x00ᯒre\xe3᭳u\xe3᭵ee;拎edge;拏en耻\xa4䂤earrowĀlrᯮ᯳eft\xbbᮀight\xbbᮽe\xe4ᯝĀciᰁᰇonin\xf4Ƿnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍r\xf2΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸\xf2ᄳhĀ;vᱚᱛ怐\xbbऊūᱡᱧarow;椏a\xe3̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻\xb0䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\ud835\udd21arĀlrᲳᲵ\xbbࣜ\xbbသʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀\xf7;o᳧ᳰntimes;拇n\xf8᳷cy;䑒cɯᴆ\x00\x00ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\ud835\udd55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedg\xe5\xfanƀadhᄮᵝᵧownarrow\xf3ᲃarpoonĀlrᵲᵶef\xf4Ჴigh\xf4ᲶŢᵿᶅkaro\xf7གɯᶊ\x00\x00ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\ud835\udcb9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃r\xf2Щa\xf2ྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴo\xf4ᲉĀcsḎḔute耻\xe9䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻\xea䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\ud835\udd22ƀ;rsṐṑṗ檚ave耻\xe8䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et\xbbẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\ud835\udd56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on\xbbớ;䏵ȀcsuvỪỳἋἣĀioữḱrc\xbbḮɩỹ\x00\x00ỻ\xedՈantĀglἂἆtr\xbbṝess\xbbṺƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯o\xf4͒ĀahὉὋ;䎷耻\xf0䃰Āmrὓὗl耻\xeb䃫o;悬ƀcipὡὤὧl;䀡s\xf4ծĀeoὬὴctatio\xeeՙnential\xe5չৡᾒ\x00ᾞ\x00ᾡᾧ\x00\x00ῆῌ\x00ΐ\x00ῦῪ \x00 ⁚llingdotse\xf1Ṅy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\x00\x00᾽g;耀ffig;耀ffl;쀀\ud835\udd23lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\x00ῳf;쀀\ud835\udd57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\x00⁐β•‥‧‪‬\x00‮耻\xbd䂽;慓耻\xbc䂼;慕;慙;慛Ƴ‴\x00‶;慔;慖ʴ‾⁁\x00\x00⁃耻\xbe䂾;慗;慜5;慘ƶ⁌\x00⁎;慚;慝8;慞l;恄wn;挢cr;쀀\ud835\udcbbࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lan\xf4٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\ud835\udd24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox\xbbℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\ud835\udd58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\x00↎pro\xf8₞r;楸qĀlqؿ↖les\xf3₈i\xed٫Āen↣↭rtneqq;쀀≩︀\xc5↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽r\xf2ΠȀilmr⇐⇔⇗⇛rs\xf0ᒄf\xbb․il\xf4کĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it\xbb∊lip;怦con;抹r;쀀\ud835\udd25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\ud835\udd59bar;怕ƀclt≯≴≸r;쀀\ud835\udcbdas\xe8⇴rok;䄧Ābp⊂⊇ull;恃hen\xbbᱛૡ⊣\x00⊪\x00⊸⋅⋎\x00⋕⋳\x00\x00⋸⌢⍧⍢⍿\x00⎆⎪⎴cute耻\xed䃭ƀ;iyݱ⊰⊵rc耻\xee䃮;䐸Ācx⊼⊿y;䐵cl耻\xa1䂡ĀfrΟ⋉;쀀\ud835\udd26rave耻\xec䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓in\xe5ގar\xf4ܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝do\xf4⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙er\xf3ᕣ\xe3⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\ud835\udd5aa;䎹uest耻\xbf䂿Āci⎊⎏r;쀀\ud835\udcbenʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\x00⎼cy;䑖l耻\xef䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\ud835\udd27ath;䈷pf;쀀\ud835\udd5bǣ⏬\x00⏱r;쀀\ud835\udcbfrcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\ud835\udd28reen;䄸cy;䑅cy;䑜pf;쀀\ud835\udd5ccr;쀀\ud835\udcc0஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼r\xf2৆\xf2Εail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\x00⒪\x00⒱\x00\x00\x00\x00\x00⒵Ⓔ\x00ⓆⓈⓍ\x00⓹ute;䄺mptyv;榴ra\xeeࡌbda;䎻gƀ;dlࢎⓁⓃ;榑\xe5ࢎ;檅uo耻\xab䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝\xeb≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼\xecࢰ\xe2┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□a\xe9⓶arpoonĀdu▯▴own\xbbњp\xbb०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoon\xf3྘quigarro\xf7⇰hreetimes;拋ƀ;qs▋ও◺lan\xf4বʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋ppro\xf8Ⓠot;拖qĀgq♃♅\xf4উgt\xf2⒌\xf4ছi\xedলƀilr♕࣡♚sht;楼;쀀\ud835\udd29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖r\xf2◁orne\xf2ᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che\xbb⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox\xbb⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽r\xebࣁgƀlmr⛿✍✔eftĀar০✇ight\xe1৲apsto;柼ight\xe1৽parrowĀlr✥✩ef\xf4⓭ight;憬ƀafl✶✹✽r;榅;쀀\ud835\udd5dus;樭imes;樴š❋❏st;戗\xe1ፎƀ;ef❗❘᠀旊nge\xbb❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇r\xf2ࢨorne\xf2ᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\ud835\udcc1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹re\xe5◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀\xc5⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻\xaf䂯Āet⡗⡙;時Ā;e⡞⡟朠se\xbb⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻ow\xeeҌef\xf4ए\xf0Ꮡker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle\xbbᘦr;쀀\ud835\udd2ao;愧ƀcdn⢯⢴⣉ro耻\xb5䂵Ȁ;acdᑤ⢽⣀⣄s\xf4ᚧir;櫰ot肻\xb7Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛\xf2−\xf0ઁĀdp⣩⣮els;抧f;쀀\ud835\udd5eĀct⣸⣽r;쀀\ud835\udcc2pos\xbbᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la\xbb˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉ro\xf8඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\x00⧣p肻\xa0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\x00⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸ui\xf6ୣĀei⩊⩎ar;椨\xed஘istĀ;s஠டr;쀀\ud835\udd2bȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lan\xf4௢i\xed௪Ā;rஶ⪁\xbbஷƀAap⪊⪍⪑r\xf2⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹r\xf2⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro\xf7⫁ightarro\xf7⪐ƀ;qs఻⪺⫪lan\xf4ౕĀ;sౕ⫴\xbbశi\xedౝĀ;rవ⫾iĀ;eచథi\xe4ඐĀpt⬌⬑f;쀀\ud835\udd5f膀\xac;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lle\xec୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳u\xe5ಥĀ;cಘ⭸Ā;eಒ⭽\xf1ಘȀAait⮈⮋⮝⮧r\xf2⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow\xbb⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉u\xe5൅;쀀\ud835\udcc3ortɭ⬅\x00\x00⯖ar\xe1⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭\xe5೸\xe5ഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗ\xf1സȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇ\xecௗlde耻\xf1䃱\xe7ృiangleĀlrⱒⱜeftĀ;eచⱚ\xf1దightĀ;eೋⱥ\xf1೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ⴭ\x00ⴸⵈⵠⵥ⵲ⶄᬇ\x00\x00ⶍⶫ\x00ⷈⷎ\x00ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻\xf3䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻\xf4䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀\ud835\udd2cͯ⵹\x00\x00⵼\x00ⶂn;䋛ave耻\xf2䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨr\xf2᪀Āir⶝ⶠr;榾oss;榻n\xe5๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\ud835\udd60ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨r\xf2᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f\xbbⷿ耻\xaa䂪耻\xba䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧\xf2⸁ash耻\xf8䃸l;折iŬⸯ⸴de耻\xf5䃵esĀ;aǛ⸺s;樶ml耻\xf6䃶bar;挽ૡ⹞\x00⹽\x00⺀⺝\x00⺢⺹\x00\x00⻋ຜ\x00⼓\x00\x00⼫⾼\x00⿈rȀ;astЃ⹧⹲຅脀\xb6;l⹭⹮䂶le\xecЃɩ⹸\x00\x00⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\ud835\udd2dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕ma\xf4੶ne;明ƀ;tv⺿⻀⻈䏀chfork\xbb´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎\xf6⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻\xb1ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\ud835\udd61nd耻\xa3䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷u\xe5໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾ppro\xf8⽃urlye\xf1໙\xf1໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨i\xedໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺\xf0⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴\xef໻rel;抰Āci⿀⿅r;쀀\ud835\udcc5;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀\ud835\udd2epf;쀀\ud835\udd62rime;恗cr;쀀\ud835\udcc6ƀaeo⿸〉〓tĀei⿾々rnion\xf3ڰnt;樖stĀ;e【】䀿\xf1Ἑ\xf4༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがr\xf2Ⴓ\xf2ϝail;検ar\xf2ᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕i\xe3ᅮmptyv;榳gȀ;del࿑らるろ;榒;榥\xe5࿑uo耻\xbb䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞\xeb≝\xf0✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶al\xf3༞ƀabrョリヮr\xf2៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗\xec࿲\xe2ヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜn\xe5Ⴛar\xf4ྩt;断ƀilrㅩဣㅮsht;楽;쀀\ud835\udd2fĀaoㅷㆆrĀduㅽㅿ\xbbѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭa\xe9トarpoonĀduㆻㆿow\xeeㅾp\xbb႒eftĀah㇊㇐rrow\xf3࿪arpoon\xf3Ցightarrows;應quigarro\xf7ニhreetimes;拌g;䋚ingdotse\xf1ἲƀahm㈍㈐㈓r\xf2࿪a\xf2Ց;怏oustĀ;a㈞㈟掱che\xbb㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾r\xebဃƀafl㉇㉊㉎r;榆;쀀\ud835\udd63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒ar\xf2㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\ud835\udcc7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠re\xe5ㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\x00㍺㎤\x00\x00㏬㏰\x00㐨㑈㑚㒭㒱㓊㓱\x00㘖\x00\x00㘳cute;䅛qu\xef➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\x00㋼;檸on;䅡u\xe5ᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓i\xedሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒\xeb∨Ā;oਸ਼਴t耻\xa7䂧i;䀻war;椩mĀin㍩\xf0nu\xf3\xf1t;朶rĀ;o㍶⁕쀀\ud835\udd30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\x00\x00㎜i\xe4ᑤara\xec⹯耻\xad䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲ar\xf2ᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetm\xe9㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\ud835\udd64aĀdr㑍ЂesĀ;u㑔㑕晠it\xbb㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍\xf1ᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝\xf1ᆮƀ;afᅻ㒦ְrť㒫ֱ\xbbᅼar\xf2ᅈȀcemt㒹㒾㓂㓅r;쀀\ud835\udcc8tm\xee\xf1i\xec㐕ar\xe6ᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psilo\xeeỠh\xe9⺯s\xbb⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦ppro\xf8㋺urlye\xf1ᇾ\xf1ᇳƀaes㖂㖈㌛ppro\xf8㌚q\xf1㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻\xb9䂹耻\xb2䂲耻\xb3䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨\xeb∮Ā;oਫ਩war;椪lig耻\xdf䃟௡㙑㙝㙠ዎ㙳㙹\x00㙾㛂\x00\x00\x00\x00\x00㛛㜃\x00㜉㝬\x00\x00\x00㞇ɲ㙖\x00\x00㙛get;挖;䏄r\xeb๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\ud835\udd31Ȁeiko㚆㚝㚵㚼Dz㚋\x00㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮ppro\xf8዁im\xbbኬs\xf0ኞĀas㚺㚮\xf0዁rn耻\xfe䃾Ǭ̟㛆⋧es膀\xd7;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀\xe1⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\ud835\udd65rk;櫚\xe1㍢rime;怴ƀaip㜏㜒㝤d\xe5ቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own\xbbᶻeftĀ;e⠀㜾\xf1म;扜ightĀ;e㊪㝋\xf1ၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\ud835\udcc9;䑆cy;䑛rok;䅧Āio㞋㞎x\xf4᝷headĀlr㞗㞠eftarro\xf7ࡏightarrow\xbbཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶r\xf2ϭar;楣Ācr㟜㟢ute耻\xfa䃺\xf2ᅐrǣ㟪\x00㟭y;䑞ve;䅭Āiy㟵㟺rc耻\xfb䃻;䑃ƀabh㠃㠆㠋r\xf2Ꭽlac;䅱a\xf2ᏃĀir㠓㠘sht;楾;쀀\ud835\udd32rave耻\xf9䃹š㠧㠱rĀlr㠬㠮\xbbॗ\xbbႃlk;斀Āct㠹㡍ɯ㠿\x00\x00㡊rnĀ;e㡅㡆挜r\xbb㡆op;挏ri;旸Āal㡖㡚cr;䅫肻\xa8͉Āgp㡢㡦on;䅳f;쀀\ud835\udd66̀adhlsuᅋ㡸㡽፲㢑㢠own\xe1ᎳarpoonĀlr㢈㢌ef\xf4㠭igh\xf4㠯iƀ;hl㢙㢚㢜䏅\xbbᏺon\xbb㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\x00\x00㣁rnĀ;e㢼㢽挝r\xbb㢽op;挎ng;䅯ri;旹cr;쀀\ud835\udccaƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨\xbb᠓Āam㣯㣲r\xf2㢨l耻\xfc䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠r\xf2ϷarĀ;v㤦㤧櫨;櫩as\xe8ϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖app\xe1␕othin\xe7ẖƀhir㓫⻈㥙op\xf4⾵Ā;hᎷ㥢\xefㆍĀiu㥩㥭gm\xe1㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟et\xe1㚜iangleĀlr㦪㦯eft\xbbथight\xbbၑy;䐲ash\xbbံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨa\xf2ᑩr;쀀\ud835\udd33tr\xe9㦮suĀbp㧯㧱\xbbജ\xbb൙pf;쀀\ud835\udd67ro\xf0໻tr\xe9㦴Ācu㨆㨋r;쀀\ud835\udccbĀbp㨐㨘nĀEe㦀㨖\xbb㥾nĀEe㦒㨞\xbb㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\ud835\udd34pf;쀀\ud835\udd68Ā;eᑹ㩦at\xe8ᑹcr;쀀\ud835\udcccૣណ㪇\x00㪋\x00㪐㪛\x00\x00㪝㪨㪫㪯\x00\x00㫃㫎\x00㫘ៜ៟tr\xe9៑r;쀀\ud835\udd35ĀAa㪔㪗r\xf2σr\xf2৶;䎾ĀAa㪡㪤r\xf2θr\xf2৫a\xf0✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\ud835\udd69im\xe5ឲĀAa㫇㫊r\xf2ώr\xf2ਁĀcq㫒ីr;쀀\ud835\udccdĀpt៖㫜r\xe9។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻\xfd䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻\xa5䂥r;쀀\ud835\udd36cy;䑗pf;쀀\ud835\udd6acr;쀀\ud835\udcceĀcm㬦㬩y;䑎l耻\xff䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡tr\xe6ᕟa;䎶r;쀀\ud835\udd37cy;䐶grarr;懝pf;쀀\ud835\udd6bcr;쀀\ud835\udccfĀjn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),G=new Uint16Array("Ȁaglq \x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));let J=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),W=null!==(a=String.fromCodePoint)&&void 0!==a?a:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};function Q(e){return e>=c.ZERO&&e<=c.NINE}(n=c||(c={}))[n.NUM=35]="NUM",n[n.SEMI=59]="SEMI",n[n.EQUALS=61]="EQUALS",n[n.ZERO=48]="ZERO",n[n.NINE=57]="NINE",n[n.LOWER_A=97]="LOWER_A",n[n.LOWER_F=102]="LOWER_F",n[n.LOWER_X=120]="LOWER_X",n[n.LOWER_Z=122]="LOWER_Z",n[n.UPPER_A=65]="UPPER_A",n[n.UPPER_F=70]="UPPER_F",n[n.UPPER_Z=90]="UPPER_Z",(i=h||(h={}))[i.VALUE_LENGTH=49152]="VALUE_LENGTH",i[i.BRANCH_LENGTH=16256]="BRANCH_LENGTH",i[i.JUMP_TABLE=127]="JUMP_TABLE",(s=d||(d={}))[s.EntityStart=0]="EntityStart",s[s.NumericStart=1]="NumericStart",s[s.NumericDecimal=2]="NumericDecimal",s[s.NumericHex=3]="NumericHex",s[s.NamedEntity=4]="NamedEntity",(o=p||(p={}))[o.Legacy=0]="Legacy",o[o.Strict=1]="Strict",o[o.Attribute=2]="Attribute";class Y{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=d.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=p.Strict}startEntity(e){this.decodeMode=e,this.state=d.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case d.EntityStart:if(e.charCodeAt(t)===c.NUM)return this.state=d.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=d.NamedEntity,this.stateNamedEntity(e,t);case d.NumericStart:return this.stateNumericStart(e,t);case d.NumericDecimal:return this.stateNumericDecimal(e,t);case d.NumericHex:return this.stateNumericHex(e,t);case d.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===c.LOWER_X?(this.state=d.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=d.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){let i=r-t;this.result=this.result*Math.pow(n,i)+parseInt(e.substr(t,i),n),this.consumed+=i}}stateNumericHex(e,t){let r=t;for(;t=c.UPPER_A)||!(n<=c.UPPER_F))&&(!(n>=c.LOWER_A)||!(n<=c.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){let r=t;for(;t=55296&&n<=57343||n>1114111?65533:null!==(i=J.get(n))&&void 0!==i?i:n,this.consumed),this.errors&&(e!==c.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:r}=this,n=r[this.treeIndex],i=(n&h.VALUE_LENGTH)>>14;for(;t>7,s=t&h.JUMP_TABLE;if(0===i)return 0!==s&&n===s?r:-1;if(s){let t=n-s;return t<0||t>=i?-1:e[r+t]-1}let o=r,u=o+i-1;for(;o<=u;){let t=o+u>>>1,r=e[t];if(rn))return e[t+i];u=t-1}}return -1}(r,n,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return 0===this.result||this.decodeMode===p.Attribute&&(0===i||function(e){var t;return e===c.EQUALS||(t=e)>=c.UPPER_A&&t<=c.UPPER_Z||t>=c.LOWER_A&&t<=c.LOWER_Z||Q(t)}(s))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((n=r[this.treeIndex])&h.VALUE_LENGTH)>>14)){if(s===c.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==p.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:r}=this,n=(r[t]&h.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){let{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~h.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case d.NamedEntity:return 0!==this.result&&(this.decodeMode!==p.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case d.NumericDecimal:return this.emitNumericEntity(0,2);case d.NumericHex:return this.emitNumericEntity(0,3);case d.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case d.EntityStart:return 0}}}function X(e){let t="",r=new Y(e,e=>t+=W(e));return function(e,n){let i=0,s=0;for(;(s=e.indexOf("&",s))>=0;){t+=e.slice(i,s),r.startEntity(n);let o=r.write(e,s+1);if(o<0){i=s+r.end();break}i=s+o,s=0===o?i+1:i}let o=t+e.slice(i);return t="",o}}let K=X($);function ee(e,t=p.Legacy){return K(e,t)}function et(e){for(let t=1;t(64512&e.charCodeAt(t))==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)),en(/[&<>'"]/g,er),en(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),en(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),(u=f||(f={}))[u.XML=0]="XML",u[u.HTML=1]="HTML",(l=x||(x={}))[l.UTF8=0]="UTF8",l[l.ASCII=1]="ASCII",l[l.Extensive=2]="Extensive",l[l.Attribute=3]="Attribute",l[l.Text=4]="Text";let es=Object.prototype.hasOwnProperty;function eo(e,t){return es.call(e,t)}function eu(e){let t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){if(t){if("object"!=typeof t)throw TypeError(t+"must be object");Object.keys(t).forEach(function(r){e[r]=t[r]})}}),e}function el(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function ea(e){return(!(e>=55296)||!(e<=57343))&&(!(e>=64976)||!(e<=65007))&&(65535&e)!=65535&&(65535&e)!=65534&&(!(e>=0)||!(e<=8))&&11!==e&&(!(e>=14)||!(e<=31))&&(!(e>=127)||!(e<=159))&&!(e>1114111)}function ec(e){if(e>65535){e-=65536;let t=55296+(e>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}let eh=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ed=RegExp(eh.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),ep=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function ef(e){return 0>e.indexOf("\\")?e:e.replace(eh,"$1")}function ex(e){return 0>e.indexOf("\\")&&0>e.indexOf("&")?e:e.replace(ed,function(e,t,r){return t||function(e,t){if(35===t.charCodeAt(0)&&ep.test(t)){let r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return ea(r)?ec(r):e}let r=ee(e);return r!==e?r:e}(e,r)})}let em=/[&<>"]/,eg=/[&<>"]/g,e_={"&":"&","<":"<",">":">",'"':"""};function eb(e){return e_[e]}function ek(e){return em.test(e)?e.replace(eg,eb):e}let eD=/[.?*+^$[\]\\(){}|-]/g;function ey(e){return e.replace(eD,"\\$&")}function eC(e){switch(e){case 9:case 32:return!0}return!1}function eE(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function eA(e){return O.test(e)||U.test(e)}function eF(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ev(e){return(e=e.trim().replace(/\s+/g," ")).toLowerCase().toUpperCase()}let ew={mdurl:m,ucmicro:g};function eq(e,t,r){let n,i,s,o;let u=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos32)return s;if(41===n){if(0===o)break;o--}i++}return t===i||0!==o||(s.str=ex(e.slice(t,i)),s.pos=i,s.ok=!0),s}function eL(e,t,r,n){let i;let s=t,o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(s>=r)return o;let n=e.charCodeAt(s);if(34!==n&&39!==n&&40!==n)return o;t++,s++,40===n&&(n=41),o.marker=n}for(;s"+ek(s.content)+""},ez.code_block=function(e,t,r,n,i){let s=e[t];return""+ek(e[t].content)+"\n"},ez.fence=function(e,t,r,n,i){let s;let o=e[t],u=o.info?ex(o.info).trim():"",l="",a="";if(u){let e=u.split(/(\s+)/g);l=e[0],a=e.slice(2).join("")}if(0===(s=r.highlight&&r.highlight(o.content,l,a)||ek(o.content)).indexOf("${s} -`}return`
    ${s}
    -`},ez.image=function(e,t,r,n,i){let s=e[t];return s.attrs[s.attrIndex("alt")][1]=i.renderInlineAsText(s.children,r,n),i.renderToken(e,t,r)},ez.hardbreak=function(e,t,r){return r.xhtmlOut?"
    \n":"
    \n"},ez.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
    \n":"
    \n":"\n"},ez.text=function(e,t){return ek(e[t].content)},ez.html_block=function(e,t){return e[t].content},ez.html_inline=function(e,t){return e[t].content},eB.prototype.renderAttrs=function(e){let t,r,n;if(!e.attrs)return"";for(t=0,n="",r=e.attrs.length;t\n":">")},eB.prototype.renderInline=function(e,t,r){let n="",i=this.rules;for(let s=0,o=e.length;st.indexOf(e)&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(r){!r.enabled||t&&0>r.alt.indexOf(t)||e.__cache__[t].push(r.fn)})})},eT.prototype.at=function(e,t,r){let n=this.__find__(e);if(-1===n)throw Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=(r||{}).alt||[],this.__cache__=null},eT.prototype.before=function(e,t,r,n){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:r,alt:(n||{}).alt||[]}),this.__cache__=null},eT.prototype.after=function(e,t,r,n){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:r,alt:(n||{}).alt||[]}),this.__cache__=null},eT.prototype.push=function(e,t,r){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(r||{}).alt||[]}),this.__cache__=null},eT.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);let r=[];return e.forEach(function(e){let n=this.__find__(e);if(n<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)},this),this.__cache__=null,r},eT.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},eT.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);let r=[];return e.forEach(function(e){let n=this.__find__(e);if(n<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)},this),this.__cache__=null,r},eT.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},eI.prototype.attrIndex=function(e){if(!this.attrs)return -1;let t=this.attrs;for(let r=0,n=t.length;r=0&&(r=this.attrs[t][1]),r},eI.prototype.attrJoin=function(e,t){let r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},eR.prototype.Token=eI;let eM=/\r\n?|\n/g,eN=/\0/g,eP=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,eO=/\((c|tm|r)\)/i,eU=/\((c|tm|r)\)/ig,eV={c:"\xa9",r:"\xae",tm:"™"};function ej(e,t){return eV[t.toLowerCase()]}let eH=/['"]/,eZ=/['"]/g;function e$(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}let eG=[["normalize",function(e){let t;t=(t=e.src.replace(eM,"\n")).replace(eN,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){let t=e.tokens;for(let r=0,n=t.length;r=0;u--){let l=s[u];if("link_close"===l.type){for(u--;s[u].level!==l.level&&"link_open"!==s[u].type;)u--;continue}if("html_inline"===l.type){var r,n;r=l.content,/^\s]/i.test(r)&&o>0&&o--,n=l.content,/^<\/a\s*>/i.test(n)&&o++}if(!(o>0)&&"text"===l.type&&e.md.linkify.test(l.content)){let r=l.content,n=e.md.linkify.match(r),o=[],a=l.level,c=0;n.length>0&&0===n[0].index&&u>0&&"text_special"===s[u-1].type&&(n=n.slice(1));for(let t=0;tc){let t=new e.Token("text","",0);t.content=r.slice(c,l),t.level=a,o.push(t)}let h=new e.Token("link_open","a",1);h.attrs=[["href",s]],h.level=a++,h.markup="linkify",h.info="auto",o.push(h);let d=new e.Token("text","",0);d.content=u,d.level=a,o.push(d);let p=new e.Token("link_close","a",-1);p.level=--a,p.markup="linkify",p.info="auto",o.push(p),c=n[t].lastIndex}if(c=0;t--)"inline"===e.tokens[t].type&&(eO.test(e.tokens[t].content)&&function(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];"text"!==n.type||t||(n.content=n.content.replace(eU,ej)),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}(e.tokens[t].children),eP.test(e.tokens[t].content)&&function(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];"text"===n.type&&!t&&eP.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&eH.test(e.tokens[t].content)&&function(e,t){let r;let n=[];for(let i=0;i=0&&!(n[r].level<=o);r--);if(n.length=r+1,"text"!==s.type)continue;let u=s.content,l=0,a=u.length;e:for(;l=0)f=u.charCodeAt(c.index-1);else for(r=i-1;r>=0&&"softbreak"!==e[r].type&&"hardbreak"!==e[r].type;r--)if(e[r].content){f=e[r].content.charCodeAt(e[r].content.length-1);break}let x=32;if(l=48&&f<=57&&(d=h=!1),h&&d&&(h=m,d=g),!h&&!d){p&&(s.content=e$(s.content,c.index,"’"));continue}if(d)for(r=n.length-1;r>=0;r--){let h=n[r];if(n[r].level=n)return -1;let s=e.src.charCodeAt(i++);if(s<48||s>57)return -1;for(;;){if(i>=n)return -1;if((s=e.src.charCodeAt(i++))>=48&&s<=57){if(i-r>=10)return -1;continue}if(41===s||46===s)break;return -1}return i0&&this.level++,this.tokens.push(n),n},eW.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},eW.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!eC(this.src.charCodeAt(--e)))return e+1;return e},eW.prototype.skipChars=function(e,t){for(let r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},eW.prototype.getLines=function(e,t,r,n){if(e>=t)return"";let i=Array(t-e);for(let s=0,o=e;or?i[s]=Array(u-r+1).join(" ")+this.src.slice(a,e):i[s]=this.src.slice(a,e)}return i.join("")},eW.prototype.Token=eI;let e0="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",e1="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",e2=RegExp("^(?:"+e0+"|"+e1+"||<[?][\\s\\S]*?[?]>|]*>|)"),e3=RegExp("^(?:"+e0+"|"+e1+")"),e5=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[RegExp("^|$))","i"),/^$/,!0],[RegExp(e3.source+"\\s*$"),/^$/,!1]],e8=[["table",function(e,t,r,n){let i;if(t+2>r)return!1;let s=t+1;if(e.sCount[s]=4)return!1;let o=e.bMarks[s]+e.tShift[s];if(o>=e.eMarks[s])return!1;let u=e.src.charCodeAt(o++);if(124!==u&&45!==u&&58!==u||o>=e.eMarks[s])return!1;let l=e.src.charCodeAt(o++);if(124!==l&&45!==l&&58!==l&&!eC(l)||45===u&&eC(l))return!1;for(;o=4)return!1;(c=eY(a)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();let d=c.length;if(0===d||d!==h.length)return!1;if(n)return!0;let p=e.parentType;e.parentType="table";let f=e.md.block.ruler.getRules("blockquote"),x=e.push("table_open","table",1),m=[t,0];x.map=m;let g=e.push("thead_open","thead",1);g.map=[t,t+1];let _=e.push("tr_open","tr",1);_.map=[t,t+1];for(let t=0;t=4||((c=eY(a)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),(b+=d-c.length)>65536))break;if(s===t+2){let r=e.push("tbody_open","tbody",1);r.map=i=[t+2,0]}let o=e.push("tr_open","tr",1);o.map=[s,s+1];for(let t=0;t=4){i=++n;continue}break}e.line=i;let s=e.push("code_block","code",0);return s.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",s.map=[t,e.line],!0}],["fence",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>s)return!1;let o=e.src.charCodeAt(i);if(126!==o&&96!==o)return!1;let u=i,l=(i=e.skipChars(i,o))-u;if(l<3)return!1;let a=e.src.slice(u,i),c=e.src.slice(i,s);if(96===o&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let h=t,d=!1;for(;!(++h>=r)&&(!((i=u=e.bMarks[h]+e.tShift[h])<(s=e.eMarks[h]))||!(e.sCount[h]=4||(i=e.skipChars(i,o))-u=4||62!==e.src.charCodeAt(s))return!1;if(n)return!0;let l=[],a=[],c=[],h=[],d=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let f=!1;for(i=t;i=o)break;if(62===e.src.charCodeAt(s++)&&!t){let t,r,n=e.sCount[i]+1;32===e.src.charCodeAt(s)?(s++,n++,r=!1,t=!0):9===e.src.charCodeAt(s)?(t=!0,(e.bsCount[i]+n)%4==3?(s++,n++,r=!1):r=!0):t=!1;let u=n;for(l.push(e.bMarks[i]),e.bMarks[i]=s;s=o,a.push(e.bsCount[i]),e.bsCount[i]=e.sCount[i]+1+(t?1:0),c.push(e.sCount[i]),e.sCount[i]=u-n,h.push(e.tShift[i]),e.tShift[i]=s-e.bMarks[i];continue}if(f)break;let n=!1;for(let t=0,s=d.length;t";let g=[t,0];m.map=g,e.md.block.tokenize(e,t,i);let _=e.push("blockquote_close","blockquote",-1);_.markup=">",e.lineMax=u,e.parentType=p,g[1]=e.line;for(let r=0;r=4)return!1;let s=e.bMarks[t]+e.tShift[t],o=e.src.charCodeAt(s++);if(42!==o&&45!==o&&95!==o)return!1;let u=1;for(;s=4||e.listIndent>=0&&e.sCount[h]-e.listIndent>=4&&e.sCount[h]=e.blkIndent&&(p=!0),(c=eK(e,h))>=0){if(l=!0,o=e.bMarks[h]+e.tShift[h],a=Number(e.src.slice(o,c-1)),p&&1!==a)return!1}else{if(!((c=eX(e,h))>=0))return!1;l=!1}if(p&&e.skipSpaces(c)>=e.eMarks[h])return!1;if(n)return!0;let f=e.src.charCodeAt(c-1),x=e.tokens.length;l?(u=e.push("ordered_list_open","ol",1),1!==a&&(u.attrs=[["start",a]])):u=e.push("bullet_list_open","ul",1);let m=[h,0];u.map=m,u.markup=String.fromCharCode(f);let g=!1,_=e.md.block.ruler.getRules("list"),b=e.parentType;for(e.parentType="list";h=i?1:a-n)>4&&(t=1);let x=n+t;(u=e.push("list_item_open","li",1)).markup=String.fromCharCode(f);let m=[h,0];u.map=m,l&&(u.info=e.src.slice(o,c-1));let b=e.tight,k=e.tShift[h],D=e.sCount[h],y=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=x,e.tight=!0,e.tShift[h]=p-e.bMarks[h],e.sCount[h]=a,p>=i&&e.isEmpty(h+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,h,r,!0),(!e.tight||g)&&(d=!1),g=e.line-h>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=y,e.tShift[h]=k,e.sCount[h]=D,e.tight=b,(u=e.push("list_item_close","li",-1)).markup=String.fromCharCode(f),h=e.line,m[1]=h,h>=r||e.sCount[h]=4)break;let C=!1;for(let t=0,n=_.length;t=4||91!==e.src.charCodeAt(s))return!1;function l(t){let r=e.lineMax;if(t>=r||e.isEmpty(t))return null;let n=!1;if(e.sCount[t]-e.blkIndent>3&&(n=!0),e.sCount[t]<0&&(n=!0),!n){let n=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let s=!1;for(let i=0,o=n.length;i=4||!e.md.options.html||60!==e.src.charCodeAt(i))return!1;let o=e.src.slice(i,s),u=0;for(;u=4)return!1;let o=e.src.charCodeAt(i);if(35!==o||i>=s)return!1;let u=1;for(o=e.src.charCodeAt(++i);35===o&&i6||ii&&eC(e.src.charCodeAt(l-1))&&(s=l),e.line=t+1;let a=e.push("heading_open","h"+String(u),1);a.markup="########".slice(0,u),a.map=[t,e.line];let c=e.push("inline","",0);c.content=e.src.slice(i,s).trim(),c.map=[t,e.line],c.children=[];let h=e.push("heading_close","h"+String(u),-1);return h.markup="########".slice(0,u),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){let n;let i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.parentType;e.parentType="paragraph";let o=0,u=t+1;for(;u3)continue;if(e.sCount[u]>=e.blkIndent){let t=e.bMarks[u]+e.tShift[u],r=e.eMarks[u];if(t=r)){o=61===n?1:2;break}}if(e.sCount[u]<0)continue;let t=!1;for(let n=0,s=i.length;n3||e.sCount[s]<0)continue;let t=!1;for(let i=0,o=n.length;i=r)&&!(e.sCount[o]=s){e.line=r;break}let t=e.line,l=!1;for(let s=0;s=e.line)throw Error("block rule didn't increment state.line");break}if(!l)throw Error("none of the block rules matched");e.tight=!u,e.isEmpty(e.line-1)&&(u=!0),(o=e.line)0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(i),n},e6.prototype.scanDelims=function(e,t){let r=this.posMax,n=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32,s=e;for(;s?@[]^_`{|}~-".split("").forEach(function(e){e7[e.charCodeAt(0)]=1});var tt={tokenize:function(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t||126!==n)return!1;let i=e.scanDelims(e.pos,!0),s=i.length,o=String.fromCharCode(n);if(s<2)return!1;s%2&&(e.push("text","",0).content=o,s--);for(let t=0;t=0;n--){let r=t[n];if(95!==r.marker&&42!==r.marker||-1===r.end)continue;let i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),u=e.tokens[r.token];u.type=s?"strong_open":"em_open",u.tag=s?"strong":"em",u.nesting=1,u.markup=s?o+o:o,u.content="";let l=e.tokens[i.token];l.type=s?"strong_close":"em_close",l.tag=s?"strong":"em",l.nesting=-1,l.markup=s?o+o:o,l.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}var tn={tokenize:function(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t||95!==n&&42!==n)return!1;let i=e.scanDelims(e.pos,42===n);for(let t=0;t\x00-\x20]*)$/,to=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,tu=/^&([a-z][a-z0-9]{1,31});/i;function tl(e){let t={},r=e.length;if(!r)return;let n=0,i=-2,s=[];for(let o=0;ou;l-=s[l]+1){let t=e[l];if(t.marker===r.marker&&t.open&&t.end<0){let n=!1;if((t.close||r.open)&&(t.length+r.length)%3==0&&(t.length%3!=0||r.length%3!=0)&&(n=!0),!n){let n=l>0&&!e[l-1].open?s[l-1]+1:0;s[o]=o-l+n,s[l]=n,r.open=!1,t.end=o,t.close=!1,a=-1,i=-2;break}}}-1!==a&&(t[r.marker][(r.open?3:0)+(r.length||0)%3]=a)}}let ta=[["text",function(e,t){let r=e.pos;for(;r0)return!1;let r=e.pos,n=e.posMax;if(r+3>n||58!==e.src.charCodeAt(r)||47!==e.src.charCodeAt(r+1)||47!==e.src.charCodeAt(r+2))return!1;let i=e.pending.match(e9);if(!i)return!1;let s=i[1],o=e.md.linkify.matchAtStart(e.src.slice(r-s.length));if(!o)return!1;let u=o.url;if(u.length<=s.length)return!1;u=u.replace(/\*+$/,"");let l=e.md.normalizeLink(u);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-s.length);let t=e.push("link_open","a",1);t.attrs=[["href",l]],t.markup="linkify",t.info="auto";let r=e.push("text","",0);r.content=e.md.normalizeLinkText(u);let n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=u.length-s.length,!0}],["newline",function(e,t){let r=e.pos;if(10!==e.src.charCodeAt(r))return!1;let n=e.pending.length-1,i=e.posMax;if(!t){if(n>=0&&32===e.pending.charCodeAt(n)){if(n>=1&&32===e.pending.charCodeAt(n-1)){let t=n-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)}else e.push("softbreak","br",0)}for(r++;r=n)return!1;let i=e.src.charCodeAt(r);if(10===i){for(t||e.push("hardbreak","br",0),r++;r=55296&&i<=56319&&r+1=56320&&t<=57343&&(s+=e.src[r+1],r++)}let o="\\"+s;if(!t){let t=e.push("text_special","",0);i<256&&0!==e7[i]?t.content=s:t.content=o,t.markup=o,t.info="escape"}return e.pos=r+1,!0}],["backticks",function(e,t){let r,n=e.pos,i=e.src.charCodeAt(n);if(96!==i)return!1;let s=n;n++;let o=e.posMax;for(;n=h)return!1;if(l=f,(i=e.md.helpers.parseLinkDestination(e.src,f,e.posMax)).ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?f=i.pos:o="",l=f;f=h||41!==e.src.charCodeAt(f))&&(a=!0),f++}if(a){if(void 0===e.env.references)return!1;if(f=0?n=e.src.slice(l,f++):f=p+1):f=p+1,n||(n=e.src.slice(d,p)),!(s=e.env.references[ev(n)]))return e.pos=c,!1;o=s.href,u=s.title}if(!t){e.pos=d,e.posMax=p;let t=e.push("link_open","a",1),r=[["href",o]];t.attrs=r,u&&r.push(["title",u]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=f,e.posMax=h,!0}],["image",function(e,t){let r,n,i,s,o,u,l,a;let c="",h=e.pos,d=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;let p=e.pos+2,f=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(f<0)return!1;if((s=f+1)=d)return!1;for(a=s,(u=e.md.helpers.parseLinkDestination(e.src,s,e.posMax)).ok&&(c=e.md.normalizeLink(u.str),e.md.validateLink(c)?s=u.pos:c=""),a=s;s=d||41!==e.src.charCodeAt(s))return e.pos=h,!1;s++}else{if(void 0===e.env.references)return!1;if(s=0?i=e.src.slice(a,s++):s=f+1):s=f+1,i||(i=e.src.slice(p,f)),!(o=e.env.references[ev(i)]))return e.pos=h,!1;c=o.href,l=o.title}if(!t){n=e.src.slice(p,f);let t=[];e.md.inline.parse(n,e.md,e.env,t);let r=e.push("image","img",0),i=[["src",c],["alt",""]];r.attrs=i,r.children=t,r.content=n,l&&i.push(["title",l])}return e.pos=s,e.posMax=d,!0}],["autolink",function(e,t){let r=e.pos;if(60!==e.src.charCodeAt(r))return!1;let n=e.pos,i=e.posMax;for(;;){if(++r>=i)return!1;let t=e.src.charCodeAt(r);if(60===t)return!1;if(62===t)break}let s=e.src.slice(n+1,r);if(ts.test(s)){let r=e.md.normalizeLink(s);if(!e.md.validateLink(r))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto";let n=e.push("text","",0);n.content=e.md.normalizeLinkText(s);let i=e.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return e.pos+=s.length+2,!0}if(ti.test(s)){let r=e.md.normalizeLink("mailto:"+s);if(!e.md.validateLink(r))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto";let n=e.push("text","",0);n.content=e.md.normalizeLinkText(s);let i=e.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return e.pos+=s.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;let r=e.posMax,n=e.pos;if(60!==e.src.charCodeAt(n)||n+2>=r)return!1;let i=e.src.charCodeAt(n+1);if(33!==i&&63!==i&&47!==i&&!function(e){let t=32|e;return t>=97&&t<=122}(i))return!1;let s=e.src.slice(n).match(e2);if(!s)return!1;if(!t){var o,u;let t=e.push("html_inline","",0);t.content=s[0],o=t.content,/^\s]/i.test(o)&&e.linkLevel++,u=t.content,/^<\/a\s*>/i.test(u)&&e.linkLevel--}return e.pos+=s[0].length,!0}],["entity",function(e,t){let r=e.pos,n=e.posMax;if(38!==e.src.charCodeAt(r)||r+1>=n)return!1;let i=e.src.charCodeAt(r+1);if(35===i){let n=e.src.slice(r).match(to);if(n){if(!t){let t="x"===n[1][0].toLowerCase()?parseInt(n[1].slice(1),16):parseInt(n[1],10),r=e.push("text_special","",0);r.content=ea(t)?ec(t):ec(65533),r.markup=n[0],r.info="entity"}return e.pos+=n[0].length,!0}}else{let n=e.src.slice(r).match(tu);if(n){let r=ee(n[0]);if(r!==n[0]){if(!t){let t=e.push("text_special","",0);t.content=r,t.markup=n[0],t.info="entity"}return e.pos+=n[0].length,!0}}}return!1}]],tc=[["balance_pairs",function(e){let t=e.tokens_meta,r=e.tokens_meta.length;tl(e.delimiters);for(let e=0;e0&&n++,"text"===i[t].type&&t+1=e.pos)throw Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;!o&&e.pos++,s[t]=e.pos},th.prototype.tokenize=function(e){let t=this.ruler.getRules(""),r=t.length,n=e.posMax,i=e.md.options.maxNesting;for(;e.pos=e.pos)throw Error("inline rule didn't increment state.pos");break}}if(o){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},th.prototype.parse=function(e,t,r,n){let i=new this.State(e,t,r,n);this.tokenize(i);let s=this.ruler2.getRules(""),o=s.length;for(let e=0;e=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){let n=e.slice(t);return(r.re.mailto||(r.re.mailto=RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n))?n.match(r.re.mailto)[0].length:0}}},t_="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function tb(){return function(e,t){t.normalize(e)}}function tk(e){let t=e.re=function(e){let t={};e=e||{},t.src_Any=V.source,t.src_Cc=j.source,t.src_Z=Z.source,t.src_P=O.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");let r="[><|]";return t.src_pseudo_letter="(?:(?!"+r+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+r+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),r=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");let i=[];function s(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){let r=e.__schemas__[t];if(null===r)return;let n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===tp(r)){if("[object RegExp]"===tp(r.validate)){var o;n.validate=(o=r.validate,function(e,t){let r=e.slice(t);return o.test(r)?r.match(o)[0].length:0})}else tf(r.validate)?n.validate=r.validate:s(t,r);tf(r.normalize)?n.normalize=r.normalize:r.normalize?s(t,r):n.normalize=tb();return}if("[object String]"===tp(r)){i.push(t);return}s(t,r)}),i.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:tb()};let o=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(tx).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),e.__index__=-1,e.__text_cache__=""}function tD(e,t){let r=e.__index__,n=e.__last_index__,i=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=i,this.text=i,this.url=i}function ty(e,t){let r=new tD(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function tC(e,t){if(!(this instanceof tC))return new tC(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||tm.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=td({},tm,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=td({},tg,e),this.__compiled__={},this.__tlds__=t_,this.__tlds_replaced__=!1,this.re={},tk(this)}tC.prototype.add=function(e,t){return this.__schemas__[e]=t,tk(this),this},tC.prototype.set=function(e){return this.__opts__=td(this.__opts__,e),this},tC.prototype.test=function(e){let t,r,n,i,s,o,u,l;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((u=this.re.schema_search).lastIndex=0;null!==(t=u.exec(e));)if(i=this.testSchemaAt(e,t[2],u.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(n=e.match(this.re.email_fuzzy))&&(s=n.index+n[1].length,o=n.index+n[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=o)),this.__index__>=0},tC.prototype.pretest=function(e){return this.re.pretest.test(e)},tC.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},tC.prototype.match=function(e){let t=[],r=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(ty(this,r)),r=this.__last_index__);let n=r?e.slice(r):e;for(;this.test(n);)t.push(ty(this,r)),n=n.slice(this.__last_index__),r+=this.__last_index__;return t.length?t:null},tC.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;let t=this.re.schema_at_start.exec(e);if(!t)return null;let r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,ty(this,0)):null},tC.prototype.tlds=function(e,t){return(e=Array.isArray(e)?e:[e],t)?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),tk(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,tk(this),this)},tC.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},tC.prototype.onCompile=function(){};let tE=/^xn--/,tA=/[^\0-\x7F]/,tF=/[\x2E\u3002\uFF0E\uFF61]/g,tv={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},tw=Math.floor,tq=String.fromCharCode;function tS(e){throw RangeError(tv[e])}function tL(e,t){let r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(tF,".");let i=e.split("."),s=(function(e,t){let r=[],n=e.length;for(;n--;)r[n]=t(e[n]);return r})(i,t).join(".");return n+s}function tz(e){let t=[],r=0,n=e.length;for(;r=55296&&i<=56319&&r>1,e+=tw(e/t);e>455;n+=36)e=tw(e/35);return tw(n+36*e/(e+38))},tI=function(e){let t=[],r=e.length,n=0,i=128,s=72,o=e.lastIndexOf("-");o<0&&(o=0);for(let r=0;r=128&&tS("not-basic"),t.push(e.charCodeAt(r));for(let l=o>0?o+1:0;l=r&&tS("invalid-input");let o=(u=e.charCodeAt(l++))>=48&&u<58?26+(u-48):u>=65&&u<91?u-65:u>=97&&u<123?u-97:36;o>=36&&tS("invalid-input"),o>tw((2147483647-n)/t)&&tS("overflow"),n+=o*t;let a=i<=s?1:i>=s+26?26:i-s;if(otw(2147483647/c)&&tS("overflow"),t*=c}let a=t.length+1;s=tT(n-o,a,0==o),tw(n/a)>2147483647-i&&tS("overflow"),i+=tw(n/a),n%=a,t.splice(n++,0,i)}return String.fromCodePoint(...t)},tR=function(e){let t=[];e=tz(e);let r=e.length,n=128,i=0,s=72;for(let r of e)r<128&&t.push(tq(r));let o=t.length,u=o;for(o&&t.push("-");u=n&&ttw((2147483647-i)/l)&&tS("overflow"),i+=(r-n)*l,n=r,e))if(a2147483647&&tS("overflow"),a===n){let e=i;for(let r=36;;r+=36){let n=r<=s?1:r>=s+26?26:r-s;if(eString.fromCodePoint(...e)},decode:tI,encode:tR,toASCII:function(e){return tL(e,function(e){return tA.test(e)?"xn--"+tR(e):e})},toUnicode:function(e){return tL(e,function(e){return tE.test(e)?tI(e.slice(4).toLowerCase()):e})}};let tN={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},tP=/^(vbscript|javascript|file|data):/,tO=/^data:image\/(gif|png|jpeg|webp);/;function tU(e){let t=e.trim().toLowerCase();return!tP.test(t)||tO.test(t)}let tV=["http:","https:","mailto:"];function tj(e){let t=P(e,!0);if(t.hostname&&(!t.protocol||tV.indexOf(t.protocol)>=0))try{t.hostname=tM.toASCII(t.hostname)}catch(e){}return A(F(t))}function tH(e){let t=P(e,!0);if(t.hostname&&(!t.protocol||tV.indexOf(t.protocol)>=0))try{t.hostname=tM.toUnicode(t.hostname)}catch(e){}return y(F(t),y.defaultChars+"%")}function tZ(e,t){if(!(this instanceof tZ))return new tZ(e,t);t||ei(e)||(t=e||{},e="default"),this.inline=new th,this.block=new e4,this.core=new eJ,this.renderer=new eB,this.linkify=new tC,this.validateLink=tU,this.normalizeLink=tj,this.normalizeLinkText=tH,this.utils=_,this.helpers=eu({},b),this.options={},this.configure(e),t&&this.set(t)}tZ.prototype.set=function(e){return eu(this.options,e),this},tZ.prototype.configure=function(e){let t=this;if(ei(e)){let t=e;if(!(e=tN[t]))throw Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this},tZ.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));let n=e.filter(function(e){return 0>r.indexOf(e)});if(n.length&&!t)throw Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},tZ.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));let n=e.filter(function(e){return 0>r.indexOf(e)});if(n.length&&!t)throw Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},tZ.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},tZ.prototype.parse=function(e,t){if("string"!=typeof e)throw Error("Input data should be a String");let r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},tZ.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},tZ.prototype.parseInline=function(e,t){let r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},tZ.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var t$=tZ}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2957.4c9df873cf43da99.js b/dbgpt/app/static/web/_next/static/chunks/2957.9f45fdfd782484f2.js similarity index 96% rename from dbgpt/app/static/web/_next/static/chunks/2957.4c9df873cf43da99.js rename to dbgpt/app/static/web/_next/static/chunks/2957.9f45fdfd782484f2.js index 6aeb085e3..1636f170d 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2957.4c9df873cf43da99.js +++ b/dbgpt/app/static/web/_next/static/chunks/2957.9f45fdfd782484f2.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2957],{15484:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},c=n(75651),l=a.forwardRef(function(e,t){return a.createElement(c.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},74552:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},c=n(75651),l=a.forwardRef(function(e,t){return a.createElement(c.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},16559:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},c=n(75651),l=a.forwardRef(function(e,t){return a.createElement(c.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},39639:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"},c=n(75651),l=a.forwardRef(function(e,t){return a.createElement(c.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},31676:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},c=n(75651),l=a.forwardRef(function(e,t){return a.createElement(c.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},32857:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},c=n(75651),l=a.forwardRef(function(e,t){return a.createElement(c.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},54537:function(e,t,n){var r=n(38497);let a=(0,r.createContext)({});t.Z=a},98606:function(e,t,n){var r=n(38497),a=n(26869),o=n.n(a),c=n(63346),l=n(54537),i=n(54009),s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function f(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let u=["xs","sm","md","lg","xl","xxl"],d=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:a}=r.useContext(c.E_),{gutter:d,wrap:p}=r.useContext(l.Z),{prefixCls:$,span:m,order:h,offset:g,push:y,pull:v,className:b,children:x,flex:w,style:j}=e,O=s(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),Z=n("col",$),[M,E,I]=(0,i.cG)(Z),z={},C={};u.forEach(t=>{let n={},r=e[t];"number"==typeof r?n.span=r:"object"==typeof r&&(n=r||{}),delete O[t],C=Object.assign(Object.assign({},C),{[`${Z}-${t}-${n.span}`]:void 0!==n.span,[`${Z}-${t}-order-${n.order}`]:n.order||0===n.order,[`${Z}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${Z}-${t}-push-${n.push}`]:n.push||0===n.push,[`${Z}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${Z}-rtl`]:"rtl"===a}),n.flex&&(C[`${Z}-${t}-flex`]=!0,z[`--${Z}-${t}-flex`]=f(n.flex))});let S=o()(Z,{[`${Z}-${m}`]:void 0!==m,[`${Z}-order-${h}`]:h,[`${Z}-offset-${g}`]:g,[`${Z}-push-${y}`]:y,[`${Z}-pull-${v}`]:v},b,C,E,I),H={};if(d&&d[0]>0){let e=d[0]/2;H.paddingLeft=e,H.paddingRight=e}return w&&(H.flex=f(w),!1!==p||H.minWidth||(H.minWidth=0)),M(r.createElement("div",Object.assign({},O,{style:Object.assign(Object.assign(Object.assign({},H),j),z),className:S,ref:t}),x))});t.Z=d},22698:function(e,t,n){var r=n(38497),a=n(26869),o=n.n(a),c=n(30432),l=n(63346),i=n(54537),s=n(54009),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function u(e,t){let[n,a]=r.useState("string"==typeof e?e:""),o=()=>{if("string"==typeof e&&a(e),"object"==typeof e)for(let n=0;n{o()},[JSON.stringify(e),t]),n}let d=r.forwardRef((e,t)=>{let{prefixCls:n,justify:a,align:d,className:p,style:$,children:m,gutter:h=0,wrap:g}=e,y=f(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:v,direction:b}=r.useContext(l.E_),[x,w]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[j,O]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),Z=u(d,j),M=u(a,j),E=r.useRef(h),I=(0,c.ZP)();r.useEffect(()=>{let e=I.subscribe(e=>{O(e);let t=E.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&w(e)});return()=>I.unsubscribe(e)},[]);let z=v("row",n),[C,S,H]=(0,s.VM)(z),R=(()=>{let e=[void 0,void 0],t=Array.isArray(h)?h:[h,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(R[0]/2):void 0;U&&(L.marginLeft=U,L.marginRight=U);let[k,A]=R;L.rowGap=A;let P=r.useMemo(()=>({gutter:[k,A],wrap:g}),[k,A,g]);return C(r.createElement(i.Z.Provider,{value:P},r.createElement("div",Object.assign({},y,{className:V,style:Object.assign(Object.assign({},L),$),ref:t}),m)))});t.Z=d},54009:function(e,t,n){n.d(t,{VM:function(){return f},cG:function(){return u}});var r=n(72178),a=n(90102),o=n(74934);let c=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},l=(e,t)=>{let{prefixCls:n,componentCls:r,gridColumns:a}=e,o={};for(let e=a;e>=0;e--)0===e?(o[`${r}${t}-${e}`]={display:"none"},o[`${r}-push-${e}`]={insetInlineStart:"auto"},o[`${r}-pull-${e}`]={insetInlineEnd:"auto"},o[`${r}${t}-push-${e}`]={insetInlineStart:"auto"},o[`${r}${t}-pull-${e}`]={insetInlineEnd:"auto"},o[`${r}${t}-offset-${e}`]={marginInlineStart:0},o[`${r}${t}-order-${e}`]={order:0}):(o[`${r}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/a*100}%`,maxWidth:`${e/a*100}%`}],o[`${r}${t}-push-${e}`]={insetInlineStart:`${e/a*100}%`},o[`${r}${t}-pull-${e}`]={insetInlineEnd:`${e/a*100}%`},o[`${r}${t}-offset-${e}`]={marginInlineStart:`${e/a*100}%`},o[`${r}${t}-order-${e}`]={order:e});return o[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},o},i=(e,t)=>l(e,t),s=(e,t,n)=>({[`@media (min-width: ${(0,r.bf)(t)})`]:Object.assign({},i(e,n))}),f=(0,a.I$)("Grid",e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},()=>({})),u=(0,a.I$)("Grid",e=>{let t=(0,o.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[c(t),i(t,""),i(t,"-xs"),Object.keys(n).map(e=>s(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},89776:function(e,t,n){n.d(t,{Z:function(){return s}});var r,a={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},o=new Uint8Array(16);function c(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}for(var l=[],i=0;i<256;++i)l.push((i+256).toString(16).slice(1));var s=function(e,t,n){if(a.randomUUID&&!t&&!e)return a.randomUUID();var r=(e=e||{}).random||(e.rng||c)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return function(e,t=0){return(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase()}(r)}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2957],{15484:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},c=n(55032),l=a.forwardRef(function(e,t){return a.createElement(c.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},74552:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},c=n(55032),l=a.forwardRef(function(e,t){return a.createElement(c.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},16559:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},c=n(55032),l=a.forwardRef(function(e,t){return a.createElement(c.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},39639:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"},c=n(55032),l=a.forwardRef(function(e,t){return a.createElement(c.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},31676:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},c=n(55032),l=a.forwardRef(function(e,t){return a.createElement(c.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},32857:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},c=n(55032),l=a.forwardRef(function(e,t){return a.createElement(c.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},54537:function(e,t,n){var r=n(38497);let a=(0,r.createContext)({});t.Z=a},98606:function(e,t,n){var r=n(38497),a=n(26869),o=n.n(a),c=n(63346),l=n(54537),i=n(54009),s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function f(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let u=["xs","sm","md","lg","xl","xxl"],d=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:a}=r.useContext(c.E_),{gutter:d,wrap:p}=r.useContext(l.Z),{prefixCls:$,span:m,order:h,offset:g,push:y,pull:v,className:b,children:x,flex:w,style:j}=e,O=s(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),Z=n("col",$),[M,E,I]=(0,i.cG)(Z),z={},C={};u.forEach(t=>{let n={},r=e[t];"number"==typeof r?n.span=r:"object"==typeof r&&(n=r||{}),delete O[t],C=Object.assign(Object.assign({},C),{[`${Z}-${t}-${n.span}`]:void 0!==n.span,[`${Z}-${t}-order-${n.order}`]:n.order||0===n.order,[`${Z}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${Z}-${t}-push-${n.push}`]:n.push||0===n.push,[`${Z}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${Z}-rtl`]:"rtl"===a}),n.flex&&(C[`${Z}-${t}-flex`]=!0,z[`--${Z}-${t}-flex`]=f(n.flex))});let S=o()(Z,{[`${Z}-${m}`]:void 0!==m,[`${Z}-order-${h}`]:h,[`${Z}-offset-${g}`]:g,[`${Z}-push-${y}`]:y,[`${Z}-pull-${v}`]:v},b,C,E,I),H={};if(d&&d[0]>0){let e=d[0]/2;H.paddingLeft=e,H.paddingRight=e}return w&&(H.flex=f(w),!1!==p||H.minWidth||(H.minWidth=0)),M(r.createElement("div",Object.assign({},O,{style:Object.assign(Object.assign(Object.assign({},H),j),z),className:S,ref:t}),x))});t.Z=d},22698:function(e,t,n){var r=n(38497),a=n(26869),o=n.n(a),c=n(30432),l=n(63346),i=n(54537),s=n(54009),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function u(e,t){let[n,a]=r.useState("string"==typeof e?e:""),o=()=>{if("string"==typeof e&&a(e),"object"==typeof e)for(let n=0;n{o()},[JSON.stringify(e),t]),n}let d=r.forwardRef((e,t)=>{let{prefixCls:n,justify:a,align:d,className:p,style:$,children:m,gutter:h=0,wrap:g}=e,y=f(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:v,direction:b}=r.useContext(l.E_),[x,w]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[j,O]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),Z=u(d,j),M=u(a,j),E=r.useRef(h),I=(0,c.ZP)();r.useEffect(()=>{let e=I.subscribe(e=>{O(e);let t=E.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&w(e)});return()=>I.unsubscribe(e)},[]);let z=v("row",n),[C,S,H]=(0,s.VM)(z),R=(()=>{let e=[void 0,void 0],t=Array.isArray(h)?h:[h,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(R[0]/2):void 0;U&&(L.marginLeft=U,L.marginRight=U);let[k,A]=R;L.rowGap=A;let P=r.useMemo(()=>({gutter:[k,A],wrap:g}),[k,A,g]);return C(r.createElement(i.Z.Provider,{value:P},r.createElement("div",Object.assign({},y,{className:V,style:Object.assign(Object.assign({},L),$),ref:t}),m)))});t.Z=d},54009:function(e,t,n){n.d(t,{VM:function(){return f},cG:function(){return u}});var r=n(38083),a=n(90102),o=n(74934);let c=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},l=(e,t)=>{let{prefixCls:n,componentCls:r,gridColumns:a}=e,o={};for(let e=a;e>=0;e--)0===e?(o[`${r}${t}-${e}`]={display:"none"},o[`${r}-push-${e}`]={insetInlineStart:"auto"},o[`${r}-pull-${e}`]={insetInlineEnd:"auto"},o[`${r}${t}-push-${e}`]={insetInlineStart:"auto"},o[`${r}${t}-pull-${e}`]={insetInlineEnd:"auto"},o[`${r}${t}-offset-${e}`]={marginInlineStart:0},o[`${r}${t}-order-${e}`]={order:0}):(o[`${r}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/a*100}%`,maxWidth:`${e/a*100}%`}],o[`${r}${t}-push-${e}`]={insetInlineStart:`${e/a*100}%`},o[`${r}${t}-pull-${e}`]={insetInlineEnd:`${e/a*100}%`},o[`${r}${t}-offset-${e}`]={marginInlineStart:`${e/a*100}%`},o[`${r}${t}-order-${e}`]={order:e});return o[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},o},i=(e,t)=>l(e,t),s=(e,t,n)=>({[`@media (min-width: ${(0,r.bf)(t)})`]:Object.assign({},i(e,n))}),f=(0,a.I$)("Grid",e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},()=>({})),u=(0,a.I$)("Grid",e=>{let t=(0,o.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[c(t),i(t,""),i(t,"-xs"),Object.keys(n).map(e=>s(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},89776:function(e,t,n){n.d(t,{Z:function(){return s}});var r,a={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},o=new Uint8Array(16);function c(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}for(var l=[],i=0;i<256;++i)l.push((i+256).toString(16).slice(1));var s=function(e,t,n){if(a.randomUUID&&!t&&!e)return a.randomUUID();var r=(e=e||{}).random||(e.rng||c)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return function(e,t=0){return(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase()}(r)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2994-d0c5fc419293fd32.js b/dbgpt/app/static/web/_next/static/chunks/2994-d0c5fc419293fd32.js deleted file mode 100644 index b1d039e09..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/2994-d0c5fc419293fd32.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2994],{34789:function(e,n,t){t.d(n,{Z:function(){return c}});var r=t(10921),o=t(4247),a=t(14433),l=t(38497),u=["show"];function c(e,n){return l.useMemo(function(){var t={};n&&(t.show="object"===(0,a.Z)(n)&&n.formatter?n.formatter:!!n);var l=t=(0,o.Z)((0,o.Z)({},t),e),c=l.show,s=(0,r.Z)(l,u);return(0,o.Z)((0,o.Z)({},s),{},{show:!!c,showFormatter:"function"==typeof c?c:void 0,strategy:s.strategy||function(e){return e.length}})},[e,n])}},13575:function(e,n,t){t.d(n,{Q:function(){return f},Z:function(){return y}});var r=t(4247),o=t(42096),a=t(65148),l=t(14433),u=t(26869),c=t.n(u),s=t(38497),i=t(43525),f=s.forwardRef(function(e,n){var t,u,f=e.inputElement,d=e.children,p=e.prefixCls,v=e.prefix,m=e.suffix,x=e.addonBefore,h=e.addonAfter,g=e.className,y=e.style,E=e.disabled,w=e.readOnly,Z=e.focused,C=e.triggerFocus,N=e.allowClear,b=e.value,S=e.handleReset,R=e.hidden,k=e.classes,F=e.classNames,W=e.dataAttrs,B=e.styles,H=e.components,K=e.onClear,A=null!=d?d:f,D=(null==H?void 0:H.affixWrapper)||"span",I=(null==H?void 0:H.groupWrapper)||"span",z=(null==H?void 0:H.wrapper)||"span",_=(null==H?void 0:H.groupAddon)||"span",j=(0,s.useRef)(null),J=(0,i.X3)(e),L=(0,s.cloneElement)(A,{value:b,className:c()(A.props.className,!J&&(null==F?void 0:F.variant))||null}),P=(0,s.useRef)(null);if(s.useImperativeHandle(n,function(){return{nativeElement:P.current||j.current}}),J){var U=null;if(N){var M=!E&&!w&&b,O="".concat(p,"-clear-icon"),T="object"===(0,l.Z)(N)&&null!=N&&N.clearIcon?N.clearIcon:"✖";U=s.createElement("span",{onClick:function(e){null==S||S(e),null==K||K()},onMouseDown:function(e){return e.preventDefault()},className:c()(O,(0,a.Z)((0,a.Z)({},"".concat(O,"-hidden"),!M),"".concat(O,"-has-suffix"),!!m)),role:"button",tabIndex:-1},T)}var V="".concat(p,"-affix-wrapper"),X=c()(V,(0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({},"".concat(p,"-disabled"),E),"".concat(V,"-disabled"),E),"".concat(V,"-focused"),Z),"".concat(V,"-readonly"),w),"".concat(V,"-input-with-clear-btn"),m&&N&&b),null==k?void 0:k.affixWrapper,null==F?void 0:F.affixWrapper,null==F?void 0:F.variant),Q=(m||N)&&s.createElement("span",{className:c()("".concat(p,"-suffix"),null==F?void 0:F.suffix),style:null==B?void 0:B.suffix},U,m);L=s.createElement(D,(0,o.Z)({className:X,style:null==B?void 0:B.affixWrapper,onClick:function(e){var n;null!==(n=j.current)&&void 0!==n&&n.contains(e.target)&&(null==C||C())}},null==W?void 0:W.affixWrapper,{ref:j}),v&&s.createElement("span",{className:c()("".concat(p,"-prefix"),null==F?void 0:F.prefix),style:null==B?void 0:B.prefix},v),L,Q)}if((0,i.He)(e)){var q="".concat(p,"-group"),G="".concat(q,"-addon"),Y="".concat(q,"-wrapper"),$=c()("".concat(p,"-wrapper"),q,null==k?void 0:k.wrapper,null==F?void 0:F.wrapper),ee=c()(Y,(0,a.Z)({},"".concat(Y,"-disabled"),E),null==k?void 0:k.group,null==F?void 0:F.groupWrapper);L=s.createElement(I,{className:ee,ref:P},s.createElement(z,{className:$},x&&s.createElement(_,{className:G},x),L,h&&s.createElement(_,{className:G},h)))}return s.cloneElement(L,{className:c()(null===(t=L.props)||void 0===t?void 0:t.className,g)||null,style:(0,r.Z)((0,r.Z)({},null===(u=L.props)||void 0===u?void 0:u.style),y),hidden:R})}),d=t(72991),p=t(65347),v=t(10921),m=t(77757),x=t(55598),h=t(34789),g=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],y=(0,s.forwardRef)(function(e,n){var t,l=e.autoComplete,u=e.onChange,y=e.onFocus,E=e.onBlur,w=e.onPressEnter,Z=e.onKeyDown,C=e.onKeyUp,N=e.prefixCls,b=void 0===N?"rc-input":N,S=e.disabled,R=e.htmlSize,k=e.className,F=e.maxLength,W=e.suffix,B=e.showCount,H=e.count,K=e.type,A=e.classes,D=e.classNames,I=e.styles,z=e.onCompositionStart,_=e.onCompositionEnd,j=(0,v.Z)(e,g),J=(0,s.useState)(!1),L=(0,p.Z)(J,2),P=L[0],U=L[1],M=(0,s.useRef)(!1),O=(0,s.useRef)(!1),T=(0,s.useRef)(null),V=(0,s.useRef)(null),X=function(e){T.current&&(0,i.nH)(T.current,e)},Q=(0,m.Z)(e.defaultValue,{value:e.value}),q=(0,p.Z)(Q,2),G=q[0],Y=q[1],$=null==G?"":String(G),ee=(0,s.useState)(null),en=(0,p.Z)(ee,2),et=en[0],er=en[1],eo=(0,h.Z)(H,B),ea=eo.max||F,el=eo.strategy($),eu=!!ea&&el>ea;(0,s.useImperativeHandle)(n,function(){var e;return{focus:X,blur:function(){var e;null===(e=T.current)||void 0===e||e.blur()},setSelectionRange:function(e,n,t){var r;null===(r=T.current)||void 0===r||r.setSelectionRange(e,n,t)},select:function(){var e;null===(e=T.current)||void 0===e||e.select()},input:T.current,nativeElement:(null===(e=V.current)||void 0===e?void 0:e.nativeElement)||T.current}}),(0,s.useEffect)(function(){U(function(e){return(!e||!S)&&e})},[S]);var ec=function(e,n,t){var r,o,a=n;if(!M.current&&eo.exceedFormatter&&eo.max&&eo.strategy(n)>eo.max)a=eo.exceedFormatter(n,{max:eo.max}),n!==a&&er([(null===(r=T.current)||void 0===r?void 0:r.selectionStart)||0,(null===(o=T.current)||void 0===o?void 0:o.selectionEnd)||0]);else if("compositionEnd"===t.source)return;Y(a),T.current&&(0,i.rJ)(T.current,e,u,a)};(0,s.useEffect)(function(){if(et){var e;null===(e=T.current)||void 0===e||e.setSelectionRange.apply(e,(0,d.Z)(et))}},[et]);var es=eu&&"".concat(b,"-out-of-range");return s.createElement(f,(0,o.Z)({},j,{prefixCls:b,className:c()(k,es),handleReset:function(e){Y(""),X(),T.current&&(0,i.rJ)(T.current,e,u)},value:$,focused:P,triggerFocus:X,suffix:function(){var e=Number(ea)>0;if(W||eo.show){var n=eo.showFormatter?eo.showFormatter({value:$,count:el,maxLength:ea}):"".concat(el).concat(e?" / ".concat(ea):"");return s.createElement(s.Fragment,null,eo.show&&s.createElement("span",{className:c()("".concat(b,"-show-count-suffix"),(0,a.Z)({},"".concat(b,"-show-count-has-suffix"),!!W),null==D?void 0:D.count),style:(0,r.Z)({},null==I?void 0:I.count)},n),W)}return null}(),disabled:S,classes:A,classNames:D,styles:I}),(t=(0,x.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),s.createElement("input",(0,o.Z)({autoComplete:l},t,{onChange:function(e){ec(e,e.target.value,{source:"change"})},onFocus:function(e){U(!0),null==y||y(e)},onBlur:function(e){U(!1),null==E||E(e)},onKeyDown:function(e){w&&"Enter"===e.key&&!O.current&&(O.current=!0,w(e)),null==Z||Z(e)},onKeyUp:function(e){"Enter"===e.key&&(O.current=!1),null==C||C(e)},className:c()(b,(0,a.Z)({},"".concat(b,"-disabled"),S),null==D?void 0:D.input),style:null==I?void 0:I.input,ref:T,size:R,type:void 0===K?"text":K,onCompositionStart:function(e){M.current=!0,null==z||z(e)},onCompositionEnd:function(e){M.current=!1,ec(e,e.currentTarget.value,{source:"compositionEnd"}),null==_||_(e)}}))))})},43525:function(e,n,t){function r(e){return!!(e.addonBefore||e.addonAfter)}function o(e){return!!(e.prefix||e.suffix||e.allowClear)}function a(e,n,t){var r=n.cloneNode(!0),o=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=t,"number"==typeof n.selectionStart&&"number"==typeof n.selectionEnd&&(r.selectionStart=n.selectionStart,r.selectionEnd=n.selectionEnd),r.setSelectionRange=function(){n.setSelectionRange.apply(n,arguments)},o}function l(e,n,t,r){if(t){var o=n;if("click"===n.type){t(o=a(n,e,""));return}if("file"!==e.type&&void 0!==r){t(o=a(n,e,r));return}t(o)}}function u(e,n){if(e){e.focus(n);var t=(n||{}).cursor;if(t){var r=e.value.length;switch(t){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}t.d(n,{He:function(){return r},X3:function(){return o},nH:function(){return u},rJ:function(){return l}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/3093-5f45a19ac0989a38.js b/dbgpt/app/static/web/_next/static/chunks/3093-5f45a19ac0989a38.js deleted file mode 100644 index c781ee900..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/3093-5f45a19ac0989a38.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3093],{52678:function(e,t,r){r.d(t,{Z:function(){return F}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?y[x]+" "+w:s(w,/&\f/g,y[x])).trim())&&(f[k++]=S);return v(e,t,r,0===i?_:c,f,p,d)}function M(e,t,r,n){return v(e,t,r,T,u(e,0,n),u(e,n+1,-1),n)}var B=function(e,t,r){for(var n=0,o=0;n=o,o=w(),38===n&&12===o&&(t[r]=1),!S(o);)x();return u(b,e,h)},L=function(e,t){var r=-1,n=44;do switch(S(n)){case 0:38===n&&12===w()&&(t[r]=1),e[r]+=B(h-1,t,r);break;case 2:e[r]+=C(n);break;case 4:if(44===n){e[++r]=58===w()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}while(n=x());return e},N=function(e,t){var r;return r=L(P(e),t),b="",r},z=new WeakMap,K=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||z.get(r))&&!n){z.set(e,!0);for(var o=[],i=N(t,o),a=r.props,s=0,l=0;s-1&&!e.return)switch(e.type){case T:e.return=function e(t,r){switch(45^c(t,0)?(((r<<2^c(t,0))<<2^c(t,1))<<2^c(t,2))<<2^c(t,3):0){case 5103:return Z+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Z+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Z+t+A+t+$+t+t;case 6828:case 4268:return Z+t+$+t+t;case 6165:return Z+t+$+"flex-"+t+t;case 5187:return Z+t+s(t,/(\w+).+(:[^]+)/,Z+"box-$1$2"+$+"flex-$1$2")+t;case 5443:return Z+t+$+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return Z+t+$+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return Z+t+$+s(t,"shrink","negative")+t;case 5292:return Z+t+$+s(t,"basis","preferred-size")+t;case 6060:return Z+"box-"+s(t,"-grow","")+Z+t+$+s(t,"grow","positive")+t;case 4554:return Z+s(t,/([^-])(transform)/g,"$1"+Z+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,Z+"$1"),/(image-set)/,Z+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,Z+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,Z+"box-pack:$3"+$+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Z+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,Z+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(t)-1-r>6)switch(c(t,r+1)){case 109:if(45!==c(t,r+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+Z+"$2-$3$1"+A+(108==c(t,r+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==c(t,r+1))break;case 6444:switch(c(t,f(t)-3-(~l(t,"!important")&&10))){case 107:return s(t,":",":"+Z)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Z+(45===c(t,14)?"inline-":"")+"box$3$1"+Z+"$2$3$1"+$+"$2box$3")+t}break;case 5936:switch(c(t,r+11)){case 114:return Z+t+$+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Z+t+$+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Z+t+$+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Z+t+$+t+t}return t}(e.value,e.length);break;case j:return R([k(e,{value:s(e.value,"@","@"+Z)})],n);case _:if(e.length)return e.props.map(function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return R([k(e,{props:[s(t,/:(read-\w+)/,":"+A+"$1")]})],n);case"::placeholder":return R([k(e,{props:[s(t,/:(plac\w+)/,":"+Z+"input-$1")]}),k(e,{props:[s(t,/:(plac\w+)/,":"+A+"$1")]}),k(e,{props:[s(t,/:(plac\w+)/,$+"input-$1")]})],n)}return""}).join("")}}],F=function(e){var t,r,o,a,y,k=e.key;if("css"===k){var $=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call($,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var A=e.stylisPlugins||G,Z={},_=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+k+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r2||S(g)>3?"":" "}(E);break;case 92:D+=function(e,t){for(var r;--t&&x()&&!(g<48)&&!(g>102)&&(!(g>57)||!(g<65))&&(!(g>70)||!(g<97)););return r=h+(t<6&&32==w()&&32==x()),u(b,e,r)}(h-1,7);continue;case 47:switch(w()){case 42:case 47:p(v(A=function(e,t){for(;x();)if(e+g===57)break;else if(e+g===84&&47===w())break;return"/*"+u(b,t,h-1)+"*"+i(47===e?e:x())}(x(),h),r,n,O,i(g),u(A,2,-2),0),$);break;default:D+="/"}break;case 123*B:P[Z++]=f(D)*N;case 125*B:case 59:case 0:switch(z){case 0:case 125:L=0;case 59+_:-1==N&&(D=s(D,/\f/g,"")),R>0&&f(D)-T&&p(R>32?M(D+";",o,n,T-1):M(s(D," ","")+";",o,n,T-2),$);break;case 59:D+=";";default:if(p(F=I(D,r,n,Z,_,a,P,K,W=[],G=[],T),y),123===z){if(0===_)e(D,r,F,F,W,y,T,P,G);else switch(99===j&&110===c(D,3)?100:j){case 100:case 108:case 109:case 115:e(t,F,F,o&&p(I(t,F,F,0,0,a,P,K,a,W=[],T),G),a,G,T,P,o?W:G);break;default:e(D,F,F,F,[""],G,0,P,G)}}}Z=_=R=0,B=N=1,K=D="",T=k;break;case 58:T=1+f(D),R=E;default:if(B<1){if(123==z)--B;else if(125==z&&0==B++&&125==(g=h>0?c(b,--h):0,m--,10===g&&(m=1,d--),g))continue}switch(D+=i(z),z*B){case 38:N=_>0?1:(D+="\f",-1);break;case 44:P[Z++]=(f(D)-1)*N,N=1;break;case 64:45===w()&&(D+=C(x())),j=w(),_=T=f(K=D+=function(e){for(;!S(w());)x();return u(b,e,h)}(h)),z++;break;case 45:45===E&&2==f(D)&&(B=0)}}return y}("",null,null,null,[""],t=P(t=e),0,[0],t),b="",r),T)},B={key:k,sheet:new n({key:k,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:Z,registered:{},insert:function(e,t,r,n){y=r,j(e?e+"{"+t.styles+"}":t.styles),n&&(B.inserted[t.name]=!0)}};return B.sheet.hydrate(_),B}},18656:function(e,t,r){r.d(t,{Z:function(){return n}});function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}},65070:function(e,t,r){r.d(t,{C:function(){return a},T:function(){return l},w:function(){return s}});var n=r(38497),o=r(52678);r(20103),r(77680);var i=n.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null),a=i.Provider,s=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(i),r)})},l=n.createContext({})},95738:function(e,t,r){r.d(t,{F4:function(){return u},iv:function(){return c},xB:function(){return l}});var n=r(65070),o=r(38497),i=r(49596),a=r(77680),s=r(20103);r(52678),r(97175);var l=(0,n.w)(function(e,t){var r=e.styles,l=(0,s.O)([r],void 0,o.useContext(n.T)),c=o.useRef();return(0,a.j)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),c.current=[r,n],function(){r.flush()}},[t]),(0,a.j)(function(){var e=c.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==l.next&&(0,i.My)(t,l.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",l,r,!1)},[t,l.name]),null});function c(){for(var e=arguments.length,t=Array(e),r=0;r=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+c,styles:a,next:n}}},77680:function(e,t,r){r.d(t,{L:function(){return a},j:function(){return s}});var n,o=r(38497),i=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,a=i||function(e){return e()},s=i||o.useLayoutEffect},49596:function(e,t,r){function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "}),n}r.d(t,{My:function(){return i},fp:function(){return n},hC:function(){return o}});var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}}},62967:function(e,t,r){let n;r.r(t),r.d(t,{GlobalStyles:function(){return w},StyledEngineProvider:function(){return x},ThemeContext:function(){return c.T},css:function(){return b.iv},default:function(){return S},internal_processStyles:function(){return P},keyframes:function(){return b.F4}});var o=r(42096),i=r(38497),a=r(18656),s=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=(0,a.Z)(function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),c=r(65070),u=r(49596),f=r(20103),p=r(77680),d=function(e){return"theme"!==e},m=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?l:d},y=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},h=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,u.hC)(t,r,n),(0,p.L)(function(){return(0,u.My)(t,r,n)}),null},g=(function e(t,r){var n,a,s=t.__emotion_real===t,l=s&&t.__emotion_base||t;void 0!==r&&(n=r.label,a=r.target);var p=y(t,r,s),d=p||m(l),g=!d("as");return function(){var b=arguments,v=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&v.push("label:"+n+";"),null==b[0]||void 0===b[0].raw)v.push.apply(v,b);else{v.push(b[0][0]);for(var k=b.length,x=1;xt(null==e||0===Object.keys(e).length?r:e):t;return(0,k.jsx)(b.xB,{styles:n})}function S(e,t){let r=g(e,t);return r}"object"==typeof document&&(n=(0,v.Z)({key:"css",prepend:!0}));let P=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},45015:function(e,t,r){r.d(t,{L7:function(){return s},VO:function(){return n},W8:function(){return a},k9:function(){return i}});let n={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function i(e,t,r){let i=e.theme||{};if(Array.isArray(t)){let e=i.breakpoints||o;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){let e=i.breakpoints||o;return Object.keys(t).reduce((o,i)=>{if(-1!==Object.keys(e.values||n).indexOf(i)){let n=e.up(i);o[n]=r(t[i],i)}else o[i]=t[i];return o},{})}let a=r(t);return a}function a(e={}){var t;let r=null==(t=e.keys)?void 0:t.reduce((t,r)=>{let n=e.up(r);return t[n]={},t},{});return r||{}}function s(e,t){return e.reduce((e,t)=>{let r=e[t],n=!r||0===Object.keys(r).length;return n&&delete e[t],e},t)}},54408:function(e,t,r){r.d(t,{Z:function(){return n}});function n(e,t){if(this.vars&&"function"==typeof this.getColorSchemeSelector){let r=this.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return this.palette.mode===e?t:{}}},58642:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(79760),o=r(42096);let i=["values","unit","step"],a=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>(0,o.Z)({},e,{[t.key]:t.val}),{})};function s(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:s=5}=e,l=(0,n.Z)(e,i),c=a(t),u=Object.keys(c);function f(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function p(e){let n="number"==typeof t[e]?t[e]:e;return`@media (max-width:${n-s/100}${r})`}function d(e,n){let o=u.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:n)-s/100}${r})`}return(0,o.Z)({keys:u,values:c,up:f,down:p,between:d,only:function(e){return u.indexOf(e)+1{let r=0===e.length?[1]:e;return r.map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ")};return r.mui=!0,r}},51365:function(e,t,r){r.d(t,{Z:function(){return d}});var n=r(42096),o=r(79760),i=r(68178),a=r(58642),s={borderRadius:4},l=r(84226),c=r(42250),u=r(426),f=r(54408);let p=["breakpoints","palette","spacing","shape"];var d=function(e={},...t){let{breakpoints:r={},palette:d={},spacing:m,shape:y={}}=e,h=(0,o.Z)(e,p),g=(0,a.Z)(r),b=(0,l.Z)(m),v=(0,i.Z)({breakpoints:g,direction:"ltr",components:{},palette:(0,n.Z)({mode:"light"},d),spacing:b,shape:(0,n.Z)({},s,y)},h);return v.applyStyles=f.Z,(v=t.reduce((e,t)=>(0,i.Z)(e,t),v)).unstable_sxConfig=(0,n.Z)({},u.Z,null==h?void 0:h.unstable_sxConfig),v.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},v}},68477:function(e,t,r){var n=r(68178);t.Z=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},97421:function(e,t,r){r.d(t,{hB:function(){return m},eI:function(){return d},NA:function(){return y},e6:function(){return g},o3:function(){return b}});var n=r(45015),o=r(75559),i=r(68477);let a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}let[t,r]=e.split(""),n=a[t],o=s[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]}),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...u,...f];function d(e,t,r,n){var i;let a=null!=(i=(0,o.DW)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>void 0}function m(e){return d(e,"spacing",8,"spacing")}function y(e,t){if("string"==typeof t||null==t)return t;let r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function h(e,t){let r=m(e.theme);return Object.keys(e).map(o=>(function(e,t,r,o){if(-1===t.indexOf(r))return null;let i=c(r),a=e[r];return(0,n.k9)(e,a,e=>i.reduce((t,r)=>(t[r]=y(o,e),t),{}))})(e,t,o,r)).reduce(i.Z,{})}function g(e){return h(e,u)}function b(e){return h(e,f)}function v(e){return h(e,p)}g.propTypes={},g.filterProps=u,b.propTypes={},b.filterProps=f,v.propTypes={},v.filterProps=p},75559:function(e,t,r){r.d(t,{DW:function(){return i},Jq:function(){return a}});var n=r(17923),o=r(45015);function i(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}t.ZP=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;let c=e[t],u=e.theme,f=i(u,s)||{};return(0,o.k9)(e,c,e=>{let o=a(f,l,e);return(e===o&&"string"==typeof e&&(o=a(f,l,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r)?o:{[r]:o}})};return c.propTypes={},c.filterProps=[t],c}},426:function(e,t,r){r.d(t,{Z:function(){return U}});var n=r(97421),o=r(75559),i=r(68477),a=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.Z)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r},s=r(45015);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,o.ZP)({prop:e,themeKey:"borders",transform:t})}let u=c("border",l),f=c("borderTop",l),p=c("borderRight",l),d=c("borderBottom",l),m=c("borderLeft",l),y=c("borderColor"),h=c("borderTopColor"),g=c("borderRightColor"),b=c("borderBottomColor"),v=c("borderLeftColor"),k=c("outline",l),x=c("outlineColor"),w=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,s.k9)(e,e.borderRadius,e=>({borderRadius:(0,n.NA)(t,e)}))}return null};w.propTypes={},w.filterProps=["borderRadius"],a(u,f,p,d,m,y,h,g,b,v,w,k,x);let S=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.eI)(e.theme,"spacing",8,"gap");return(0,s.k9)(e,e.gap,e=>({gap:(0,n.NA)(t,e)}))}return null};S.propTypes={},S.filterProps=["gap"];let P=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.eI)(e.theme,"spacing",8,"columnGap");return(0,s.k9)(e,e.columnGap,e=>({columnGap:(0,n.NA)(t,e)}))}return null};P.propTypes={},P.filterProps=["columnGap"];let C=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.eI)(e.theme,"spacing",8,"rowGap");return(0,s.k9)(e,e.rowGap,e=>({rowGap:(0,n.NA)(t,e)}))}return null};C.propTypes={},C.filterProps=["rowGap"];let $=(0,o.ZP)({prop:"gridColumn"}),A=(0,o.ZP)({prop:"gridRow"}),Z=(0,o.ZP)({prop:"gridAutoFlow"}),O=(0,o.ZP)({prop:"gridAutoColumns"}),_=(0,o.ZP)({prop:"gridAutoRows"}),T=(0,o.ZP)({prop:"gridTemplateColumns"}),j=(0,o.ZP)({prop:"gridTemplateRows"}),R=(0,o.ZP)({prop:"gridTemplateAreas"}),E=(0,o.ZP)({prop:"gridArea"});function I(e,t){return"grey"===t?t:e}a(S,P,C,$,A,Z,O,_,T,j,R,E);let M=(0,o.ZP)({prop:"color",themeKey:"palette",transform:I}),B=(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:I}),L=(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:I});function N(e){return e<=1&&0!==e?`${100*e}%`:e}a(M,B,L);let z=(0,o.ZP)({prop:"width",transform:N}),K=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,s.k9)(e,e.maxWidth,t=>{var r,n;let o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||s.VO[t];return o?(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:N(t)}}):null;K.filterProps=["maxWidth"];let W=(0,o.ZP)({prop:"minWidth",transform:N}),G=(0,o.ZP)({prop:"height",transform:N}),F=(0,o.ZP)({prop:"maxHeight",transform:N}),D=(0,o.ZP)({prop:"minHeight",transform:N});(0,o.ZP)({prop:"size",cssProperty:"width",transform:N}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:N});let H=(0,o.ZP)({prop:"boxSizing"});a(z,K,W,G,F,D,H);let q={border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:w},color:{themeKey:"palette",transform:I},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:I},backgroundColor:{themeKey:"palette",transform:I},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3},paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:S},rowGap:{style:C},columnGap:{style:P},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:N},maxWidth:{style:K},minWidth:{transform:N},height:{transform:N},maxHeight:{transform:N},minHeight:{transform:N},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};var U=q},23259:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(79760),i=r(68178),a=r(426);let s=["sx"],l=e=>{var t,r;let n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:a.Z;return Object.keys(e).forEach(t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]}),n};function c(e){let t;let{sx:r}=e,a=(0,o.Z)(e,s),{systemProps:c,otherProps:u}=l(a);return t=Array.isArray(r)?[c,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,i.P)(t)?(0,n.Z)({},c,t):c}:(0,n.Z)({},c,r),(0,n.Z)({},u,{sx:t})}},42250:function(e,t,r){r.d(t,{n:function(){return l}});var n=r(17923),o=r(68477),i=r(75559),a=r(45015),s=r(426);function l(){function e(e,t,r,o){let s={[e]:t,theme:r},l=o[e];if(!l)return{[e]:t};let{cssProperty:c=e,themeKey:u,transform:f,style:p}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};let d=(0,i.DW)(r,u)||{};return p?p(s):(0,a.k9)(s,t,t=>{let r=(0,i.Jq)(d,f,t);return(t===r&&"string"==typeof t&&(r=(0,i.Jq)(d,f,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===c)?r:{[c]:r}})}return function t(r){var n;let{sx:i,theme:l={}}=r||{};if(!i)return null;let c=null!=(n=l.unstable_sxConfig)?n:s.Z;function u(r){let n=r;if("function"==typeof r)n=r(l);else if("object"!=typeof r)return r;if(!n)return null;let i=(0,a.W8)(l.breakpoints),s=Object.keys(i),u=i;return Object.keys(n).forEach(r=>{var i;let s="function"==typeof(i=n[r])?i(l):i;if(null!=s){if("object"==typeof s){if(c[r])u=(0,o.Z)(u,e(r,s,l,c));else{let e=(0,a.k9)({theme:l},s,e=>({[r]:e}));(function(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),r=new Set(t);return e.every(e=>r.size===Object.keys(e).length)})(e,s)?u[r]=t({sx:s,theme:l}):u=(0,o.Z)(u,e)}}else u=(0,o.Z)(u,e(r,s,l,c))}}),(0,a.L7)(s,u)}return Array.isArray(i)?i.map(u):u(i)}}let c=l();c.filterProps=["sx"],t.Z=c},58409:function(e,t){let r;let n=e=>e,o=(r=n,{configure(e){r=e},generate:e=>r(e),reset(){r=n}});t.Z=o},17923:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(93605);function o(e){if("string"!=typeof e)throw Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},95893:function(e,t,r){r.d(t,{Z:function(){return n}});function n(e,t,r){let n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((e,n)=>{if(n){let o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e},[]).join(" ")}),n}},68178:function(e,t,r){r.d(t,{P:function(){return o},Z:function(){return function e(t,r,i={clone:!0}){let a=i.clone?(0,n.Z)({},t):t;return o(t)&&o(r)&&Object.keys(r).forEach(n=>{o(r[n])&&Object.prototype.hasOwnProperty.call(t,n)&&o(t[n])?a[n]=e(t[n],r[n],i):i.clone?a[n]=o(r[n])?function e(t){if(!o(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(r[n]):r[n]:a[n]=r[n]}),a}}});var n=r(42096);function o(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}},93605:function(e,t,r){r.d(t,{Z:function(){return n}});function n(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e{o[t]=(0,n.ZP)(e,t,r)}),o}},95592:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(38497);function o(e,t){var r,o;return n.isValidElement(e)&&-1!==t.indexOf(null!=(r=e.type.muiName)?r:null==(o=e.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)}},96228:function(e,t,r){r.d(t,{Z:function(){return function e(t,r){let o=(0,n.Z)({},r);return Object.keys(t).forEach(i=>{if(i.toString().match(/^(components|slots)$/))o[i]=(0,n.Z)({},t[i],o[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){let a=t[i]||{},s=r[i];o[i]={},s&&Object.keys(s)?a&&Object.keys(a)?(o[i]=(0,n.Z)({},s),Object.keys(a).forEach(t=>{o[i][t]=e(a[t],s[t])})):o[i]=s:o[i]=a}else void 0===o[i]&&(o[i]=t[i])}),o}}});var n=r(42096)},85021:function(e,t,r){r.d(t,{Z:function(){return n}});function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}},44520:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(38497),o=r(85021);function i(...e){return n.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,o.Z)(e,t)})},e)}},97175:function(e,t,r){var n=r(13953),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(m){var o=d(r);o&&o!==m&&e(t,o,n)}var a=u(r);f&&(a=a.concat(f(r)));for(var s=l(t),y=l(r),h=0;h=0||e.relatedTarget.className.indexOf("".concat(s,"-item"))>=0)||null==c||c(C()))},"aria-label":o.page}),o.page,j)),i.createElement("li",{className:x},E,N)},x=function(e){var t,n=e.rootPrefixCls,o=e.page,r=e.active,l=e.className,a=e.showTitle,c=e.onClick,s=e.onKeyPress,m=e.itemRender,d="".concat(n,"-item"),u=p()(d,"".concat(d,"-").concat(o),(t={},(0,g.Z)(t,"".concat(d,"-active"),r),(0,g.Z)(t,"".concat(d,"-disabled"),!o),t),l),b=m(o,"page",i.createElement("a",{rel:"nofollow"},o));return b?i.createElement("li",{title:a?String(o):null,className:u,onClick:function(){c(o)},onKeyDown:function(e){s(e,c,o)},tabIndex:0},b):null},E=function(e,t,n){return n};function N(){}function j(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function z(e,t,n){return Math.floor((n-1)/(void 0===e?t:e))+1}var O=function(e){var t,n,r,l,a,c=e.prefixCls,s=void 0===c?"rc-pagination":c,m=e.selectPrefixCls,d=e.className,u=e.selectComponentClass,k=e.current,O=e.defaultCurrent,B=e.total,M=void 0===B?0:B,w=e.pageSize,I=e.defaultPageSize,Z=e.onChange,P=void 0===Z?N:Z,T=e.hideOnSinglePage,D=e.align,H=e.showPrevNextJumpers,_=e.showQuickJumper,A=e.showLessItems,R=e.showTitle,L=void 0===R||R,W=e.onShowSizeChange,X=void 0===W?N:W,q=e.locale,K=void 0===q?S:q,U=e.style,F=e.totalBoundaryShowSizeChanger,G=e.disabled,J=e.simple,Q=e.showTotal,V=e.showSizeChanger,Y=e.pageSizeOptions,ee=e.itemRender,et=void 0===ee?E:ee,en=e.jumpPrevIcon,ei=e.jumpNextIcon,eo=e.prevIcon,er=e.nextIcon,el=i.useRef(null),ea=(0,f.Z)(10,{value:w,defaultValue:void 0===I?10:I}),ec=(0,h.Z)(ea,2),es=ec[0],em=ec[1],ed=(0,f.Z)(1,{value:k,defaultValue:void 0===O?1:O,postState:function(e){return Math.max(1,Math.min(e,z(void 0,es,M)))}}),eu=(0,h.Z)(ed,2),ep=eu[0],eg=eu[1],eb=i.useState(ep),ev=(0,h.Z)(eb,2),eh=ev[0],ef=ev[1];(0,i.useEffect)(function(){ef(ep)},[ep]);var e$=Math.max(1,ep-(A?3:5)),eC=Math.min(z(void 0,es,M),ep+(A?3:5));function eS(t,n){var o=t||i.createElement("button",{type:"button","aria-label":n,className:"".concat(s,"-item-link")});return"function"==typeof t&&(o=i.createElement(t,(0,v.Z)({},e))),o}function ek(e){var t=e.target.value,n=z(void 0,es,M);return""===t?t:Number.isNaN(Number(t))?eh:t>=n?n:Number(t)}var ey=M>es&&_;function ex(e){var t=ek(e);switch(t!==eh&&ef(t),e.keyCode){case $.Z.ENTER:eE(t);break;case $.Z.UP:eE(t-1);break;case $.Z.DOWN:eE(t+1)}}function eE(e){if(j(e)&&e!==ep&&j(M)&&M>0&&!G){var t=z(void 0,es,M),n=e;return e>t?n=t:e<1&&(n=1),n!==eh&&ef(n),eg(n),null==P||P(n,es),n}return ep}var eN=ep>1,ej=ep(void 0===F?50:F);function eO(){eN&&eE(ep-1)}function eB(){ej&&eE(ep+1)}function eM(){eE(e$)}function ew(){eE(eC)}function eI(e,t){if("Enter"===e.key||e.charCode===$.Z.ENTER||e.keyCode===$.Z.ENTER){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;oM?M:ep*es])),eH=null,e_=z(void 0,es,M);if(T&&M<=es)return null;var eA=[],eR={rootPrefixCls:s,onClick:eE,onKeyPress:eI,showTitle:L,itemRender:et,page:-1},eL=ep-1>0?ep-1:0,eW=ep+1=2*eF&&3!==ep&&(eA[0]=i.cloneElement(eA[0],{className:p()("".concat(s,"-item-after-jump-prev"),eA[0].props.className)}),eA.unshift(eP)),e_-ep>=2*eF&&ep!==e_-2){var e3=eA[eA.length-1];eA[eA.length-1]=i.cloneElement(e3,{className:p()("".concat(s,"-item-before-jump-next"),e3.props.className)}),eA.push(eH)}1!==e0&&eA.unshift(i.createElement(x,(0,o.Z)({},eR,{key:1,page:1}))),e1!==e_&&eA.push(i.createElement(x,(0,o.Z)({},eR,{key:e_,page:e_})))}var e6=(t=et(eL,"prev",eS(eo,"prev page")),i.isValidElement(t)?i.cloneElement(t,{disabled:!eN}):t);if(e6){var e9=!eN||!e_;e6=i.createElement("li",{title:L?K.prev_page:null,onClick:eO,tabIndex:e9?null:0,onKeyDown:function(e){eI(e,eO)},className:p()("".concat(s,"-prev"),(0,g.Z)({},"".concat(s,"-disabled"),e9)),"aria-disabled":e9},e6)}var e7=(n=et(eW,"next",eS(er,"next page")),i.isValidElement(n)?i.cloneElement(n,{disabled:!ej}):n);e7&&(J?(l=!ej,a=eN?0:null):a=(l=!ej||!e_)?null:0,e7=i.createElement("li",{title:L?K.next_page:null,onClick:eB,tabIndex:a,onKeyDown:function(e){eI(e,eB)},className:p()("".concat(s,"-next"),(0,g.Z)({},"".concat(s,"-disabled"),l)),"aria-disabled":l},e7));var e4=p()(s,d,(r={},(0,g.Z)(r,"".concat(s,"-start"),"start"===D),(0,g.Z)(r,"".concat(s,"-center"),"center"===D),(0,g.Z)(r,"".concat(s,"-end"),"end"===D),(0,g.Z)(r,"".concat(s,"-simple"),J),(0,g.Z)(r,"".concat(s,"-disabled"),G),r));return i.createElement("ul",(0,o.Z)({className:e4,style:U,ref:el},eT),eD,e6,J?eU:eA,e7,i.createElement(y,{locale:K,rootPrefixCls:s,disabled:G,selectComponentClass:u,selectPrefixCls:void 0===m?"rc-select":m,changeSize:ez?function(e){var t=z(e,es,M),n=ep>t&&0!==t?t:ep;em(e),ef(n),null==X||X(ep,e),eg(n),null==P||P(n,e)}:null,pageSize:es,pageSizeOptions:Y,quickGo:ey?eE:null,goButton:eK}))},B=n(35114),M=n(63346),w=n(82014),I=n(81349),Z=n(61261),P=n(73098),T=n(16156);let D=e=>i.createElement(T.default,Object.assign({},e,{showSearch:!0,size:"small"})),H=e=>i.createElement(T.default,Object.assign({},e,{showSearch:!0,size:"middle"}));D.Option=T.default.Option,H.Option=T.default.Option;var _=n(72178),A=n(44589),R=n(2835),L=n(97078),W=n(60848),X=n(74934),q=n(90102);let K=e=>{let{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},U=e=>{let{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:(0,_.bf)(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,_.bf)(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,_.bf)(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` - &${t}-mini ${t}-prev ${t}-item-link, - &${t}-mini ${t}-next ${t}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:(0,_.bf)(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,_.bf)(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:(0,_.bf)(e.itemSizeSM),input:Object.assign(Object.assign({},(0,A.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},F=e=>{let{componentCls:t}=e;return{[` - &${t}-simple ${t}-prev, - &${t}-simple ${t}-next - `]:{height:e.itemSizeSM,lineHeight:(0,_.bf)(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:(0,_.bf)(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,_.bf)(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${(0,_.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${(0,_.bf)(e.inputOutlineOffset)} 0 ${(0,_.bf)(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},G=e=>{let{componentCls:t,antCls:n}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` - ${t}-prev, - ${t}-jump-prev, - ${t}-jump-next - `]:{marginInlineEnd:e.marginXS},[` - ${t}-prev, - ${t}-next, - ${t}-jump-prev, - ${t}-jump-next - `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:(0,_.bf)(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,_.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto",[`${n}-select-arrow:not(:last-child)`]:{opacity:1}},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:(0,_.bf)(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,A.ik)(e)),(0,L.$U)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},(0,L.Xy)(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},J=e=>{let{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:(0,_.bf)(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${(0,_.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,_.bf)(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},Q=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,W.Wf)(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:(0,_.bf)(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),J(e)),G(e)),F(e)),U(e)),K(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},V=e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},(0,W.Qy)(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},(0,W.oN)(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},(0,W.oN)(e))}}}},Y=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},(0,R.T)(e)),ee=e=>(0,X.IX)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,R.e)(e));var et=(0,q.I$)("Pagination",e=>{let t=ee(e);return[Q(t),V(t)]},Y);let en=e=>{let{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${(0,_.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}};var ei=(0,q.bk)(["Pagination","bordered"],e=>{let t=ee(e);return[en(t)]},Y),eo=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n},er=e=>{let{align:t,prefixCls:n,selectPrefixCls:o,className:r,rootClassName:l,style:c,size:u,locale:g,selectComponentClass:b,responsive:v,showSizeChanger:h}=e,f=eo(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:$}=(0,I.Z)(v),[,C]=(0,P.ZP)(),{getPrefixCls:S,direction:k,pagination:y={}}=i.useContext(M.E_),x=S("pagination",n),[E,N,j]=et(x),z=null!=h?h:y.showSizeChanger,T=i.useMemo(()=>{let e=i.createElement("span",{className:`${x}-item-ellipsis`},"•••"),t=i.createElement("button",{className:`${x}-item-link`,type:"button",tabIndex:-1},"rtl"===k?i.createElement(d.Z,null):i.createElement(m.Z,null)),n=i.createElement("button",{className:`${x}-item-link`,type:"button",tabIndex:-1},"rtl"===k?i.createElement(m.Z,null):i.createElement(d.Z,null)),o=i.createElement("a",{className:`${x}-item-link`},i.createElement("div",{className:`${x}-item-container`},"rtl"===k?i.createElement(s,{className:`${x}-item-link-icon`}):i.createElement(a,{className:`${x}-item-link-icon`}),e)),r=i.createElement("a",{className:`${x}-item-link`},i.createElement("div",{className:`${x}-item-container`},"rtl"===k?i.createElement(a,{className:`${x}-item-link-icon`}):i.createElement(s,{className:`${x}-item-link-icon`}),e));return{prevIcon:t,nextIcon:n,jumpPrevIcon:o,jumpNextIcon:r}},[k,x]),[_]=(0,Z.Z)("Pagination",B.Z),A=Object.assign(Object.assign({},_),g),R=(0,w.Z)(u),L="small"===R||!!($&&!R&&v),W=S("select",o),X=p()({[`${x}-${t}`]:!!t,[`${x}-mini`]:L,[`${x}-rtl`]:"rtl"===k,[`${x}-bordered`]:C.wireframe},null==y?void 0:y.className,r,l,N,j),q=Object.assign(Object.assign({},null==y?void 0:y.style),c);return E(i.createElement(i.Fragment,null,C.wireframe&&i.createElement(ei,{prefixCls:x}),i.createElement(O,Object.assign({},T,f,{style:q,prefixCls:x,selectPrefixCls:W,className:X,selectComponentClass:b||(L?D:H),locale:A,showSizeChanger:z}))))}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/3173-87d74b490647975b.js b/dbgpt/app/static/web/_next/static/chunks/3173-87d74b490647975b.js deleted file mode 100644 index 4bb3b802e..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/3173-87d74b490647975b.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3173],{69274:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},l=r(75651),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},46584:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-200 0H360v-72h304v72z"}}]},name:"delete",theme:"filled"},l=r(75651),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},55861:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z"}}]},name:"edit",theme:"filled"},l=r(75651),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},72828:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=r(75651),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},77200:function(e,t,r){var n=r(33587),o=r(38497),a=r(60654);t.Z=function(e,t){(0,o.useEffect)(function(){var t=e(),r=!1;return!function(){(0,n.mG)(this,void 0,void 0,function(){return(0,n.Jh)(this,function(e){switch(e.label){case 0:if(!(0,a.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||r)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){r=!0}},t)}},47019:function(e,t,r){var n=r(33587),o=r(85551),a=r.n(o),l=r(38497),i=r(22785),c=r(5655),s=r(60654),u=r(14206);t.Z=function(e,t){u.Z&&!(0,s.mf)(e)&&console.error("useDebounceFn expected parameter is a function, got ".concat(typeof e));var r,o=(0,i.Z)(e),f=null!==(r=null==t?void 0:t.wait)&&void 0!==r?r:1e3,d=(0,l.useMemo)(function(){return a()(function(){for(var e=[],t=0;t({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},33445:function(e,t,r){r.d(t,{Fm:function(){return g}});var n=r(72178),o=r(60234);let a=new n.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new n.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),i=new n.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new n.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),s=new n.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=new n.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),f=new n.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new n.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),m={"move-up":{inKeyframes:f,outKeyframes:d},"move-down":{inKeyframes:a,outKeyframes:l},"move-left":{inKeyframes:i,outKeyframes:c},"move-right":{inKeyframes:s,outKeyframes:u}},g=(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:a,outKeyframes:l}=m[t];return[(0,o.R)(n,a,l,e.motionDurationMid),{[` - ${n}-enter, - ${n}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},49030:function(e,t,r){r.d(t,{Z:function(){return I}});var n=r(38497),o=r(26869),a=r.n(o),l=r(55598),i=r(55853),c=r(35883),s=r(55091),u=r(37243),f=r(63346),d=r(72178),m=r(51084),g=r(60848),p=r(74934),v=r(90102);let b=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o,calc:a}=e,l=a(n).sub(r).equal(),i=a(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,d.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},h=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,o=e.fontSizeSM,a=(0,p.IX)(e,{tagFontSize:o,tagLineHeight:(0,d.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var C=(0,v.I$)("Tag",e=>{let t=h(e);return b(t)},y),O=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let $=n.forwardRef((e,t)=>{let{prefixCls:r,style:o,className:l,checked:i,onChange:c,onClick:s}=e,u=O(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:d,tag:m}=n.useContext(f.E_),g=d("tag",r),[p,v,b]=C(g),h=a()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:i},null==m?void 0:m.className,l,v,b);return p(n.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==m?void 0:m.style),className:h,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var w=r(86553);let k=e=>(0,w.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:a,darkColor:l}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var E=(0,v.bk)(["Tag","preset"],e=>{let t=h(e);return k(t)},y);let x=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var S=(0,v.bk)(["Tag","status"],e=>{let t=h(e);return[x(t,"success","Success"),x(t,"processing","Info"),x(t,"error","Error"),x(t,"warning","Warning")]},y),M=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let Z=n.forwardRef((e,t)=>{let{prefixCls:r,className:o,rootClassName:d,style:m,children:g,icon:p,color:v,onClose:b,bordered:h=!0,visible:y}=e,O=M(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:$,direction:w,tag:k}=n.useContext(f.E_),[x,Z]=n.useState(!0),I=(0,l.Z)(O,["closeIcon","closable"]);n.useEffect(()=>{void 0!==y&&Z(y)},[y]);let j=(0,i.o2)(v),B=(0,i.yT)(v),H=j||B,T=Object.assign(Object.assign({backgroundColor:v&&!H?v:void 0},null==k?void 0:k.style),m),z=$("tag",r),[P,R,L]=C(z),N=a()(z,null==k?void 0:k.className,{[`${z}-${v}`]:H,[`${z}-has-color`]:v&&!H,[`${z}-hidden`]:!x,[`${z}-rtl`]:"rtl"===w,[`${z}-borderless`]:!h},o,d,R,L),D=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||Z(!1)},[,F]=(0,c.Z)((0,c.w)(e),(0,c.w)(k),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${z}-close-icon`,onClick:D},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),D(t)},className:a()(null==e?void 0:e.className,`${z}-close-icon`)}))}}),K="function"==typeof O.onClick||g&&"a"===g.type,_=p||null,q=_?n.createElement(n.Fragment,null,_,g&&n.createElement("span",null,g)):g,A=n.createElement("span",Object.assign({},I,{ref:t,className:N,style:T}),q,F,j&&n.createElement(E,{key:"preset",prefixCls:z}),B&&n.createElement(S,{key:"status",prefixCls:z}));return P(K?n.createElement(u.Z,{component:"Tag"},A):A)});Z.CheckableTag=$;var I=Z}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/3272.f53533e9722b156c.js b/dbgpt/app/static/web/_next/static/chunks/3272.f53533e9722b156c.js deleted file mode 100644 index f0fbb5ce8..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/3272.f53533e9722b156c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3272],{51310:function(e,l,t){var a=t(88506);l.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(a.C9))&&void 0!==e?e:"")}},54865:function(e,l,t){t.r(l),t.d(l,{default:function(){return Y}});var a=t(96469),s=t(2242),n=t(88506),r=t(39811),i=t(37022),c=t(84223),o=t(69274),d=t(15484),u=t(26869),m=t.n(u),x=t(23852),p=t.n(x),v=t(45875),f=t(38497),g=t(56841),h=t(83455),j=t(73304),y=t(94090),w=t(27623),b=t(16559),k=t(74552),N=t(67576),_=t(16602),Z=t(49030),C=t(41999),S=t(27691),P=t(70351),O=t(62971),J=t(87674),$=t(93486),I=t.n($);let M=e=>{let{list:l,loading:t,feedback:s,setFeedbackOpen:n}=e,{t:r}=(0,g.$G)(),[i,c]=(0,f.useState)([]),[o,d]=(0,f.useState)("");return(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("div",{className:"flex flex-1 flex-wrap w-72",children:null==l?void 0:l.map(e=>{let l=i.findIndex(l=>l.reason_type===e.reason_type)>-1;return(0,a.jsx)(Z.Z,{className:"text-xs text-[#525964] mb-2 p-1 px-2 rounded-md cursor-pointer ".concat(l?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{c(l=>{let t=l.findIndex(l=>l.reason_type===e.reason_type);return t>-1?[...l.slice(0,t),...l.slice(t+1)]:[...l,e]})},children:e.reason},e.reason_type)})}),(0,a.jsx)(C.default.TextArea,{placeholder:r("feedback_tip"),className:"w-64 h-20 resize-none mb-2",value:o,onChange:e=>d(e.target.value.trim())}),(0,a.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,a.jsx)(S.ZP,{className:"w-16 h-8",onClick:()=>{n(!1)},children:"取消"}),(0,a.jsx)(S.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=i.map(e=>e.reason_type);await (null==s?void 0:s({feedback_type:"unlike",reason_types:e,remark:o}))},loading:t,children:"确认"})]})]})};var D=e=>{var l,t;let{content:s}=e,{t:n}=(0,g.$G)(),r=(0,v.useSearchParams)(),i=null!==(t=null==r?void 0:r.get("id"))&&void 0!==t?t:"",[c,o]=P.ZP.useMessage(),[d,u]=(0,f.useState)(!1),[x,p]=(0,f.useState)(null==s?void 0:null===(l=s.feedback)||void 0===l?void 0:l.feedback_type),[h,j]=(0,f.useState)(),y=async e=>{let l=null==e?void 0:e.replace(/\trelations:.*/g,""),t=I()(l);t?l?c.open({type:"success",content:n("copy_success")}):c.open({type:"warning",content:n("copy_nothing")}):c.open({type:"error",content:n("copy_failed")})},{run:Z,loading:C}=(0,_.Z)(async e=>await (0,w.Vx)((0,w.zx)({conv_uid:i,message_id:s.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,l]=e;p(null==l?void 0:l.feedback_type),P.ZP.success("反馈成功"),u(!1)}}),{run:S}=(0,_.Z)(async()=>await (0,w.Vx)((0,w.Jr)()),{manual:!0,onSuccess:e=>{let[,l]=e;j(l||[]),l&&u(!0)}}),{run:$}=(0,_.Z)(async()=>await (0,w.Vx)((0,w.Ir)({conv_uid:i,message_id:(null==s?void 0:s.order)+""})),{manual:!0,onSuccess:e=>{let[,l]=e;l&&(p("none"),P.ZP.success("操作成功"))}});return(0,a.jsxs)(a.Fragment,{children:[o,(0,a.jsxs)("div",{className:"flex flex-1 items-center text-sm px-4",children:[(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)(b.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"like"===x}),onClick:async()=>{if("like"===x){await $();return}await Z({feedback_type:"like"})}}),(0,a.jsx)(O.Z,{placement:"bottom",autoAdjustOverflow:!0,destroyTooltipOnHide:!0,content:(0,a.jsx)(M,{setFeedbackOpen:u,feedback:Z,list:h||[],loading:C}),trigger:"click",open:d,children:(0,a.jsx)(k.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"unlike"===x}),onClick:async()=>{if("unlike"===x){await $();return}await S()}})})]}),(0,a.jsx)(J.Z,{type:"vertical"}),(0,a.jsx)(N.Z,{className:"cursor-pointer",onClick:()=>y(s.context)})]})]})},A=t(39639),F=t(26953),V=t(61977),E=(0,f.memo)(e=>{var l;let{model:t}=e,s=(0,v.useSearchParams)(),n=null!==(l=null==s?void 0:s.get("scene"))&&void 0!==l?l:"";return"chat_agent"===n?(0,a.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-white dark:bg-[rgba(255,255,255,0.16)]",children:(0,a.jsx)(F.Z,{scene:n})}):t?(0,a.jsx)(V.Z,{width:32,height:32,model:t}):(0,a.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-white dark:bg-[rgba(255,255,255,0.16)]",children:(0,a.jsx)(A.Z,{})})});let G=()=>{var e;let l=JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"");return l.avatar_url?(0,a.jsx)(p(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:32,height:32,src:null==l?void 0:l.avatar_url,alt:null==l?void 0:l.nick_name}):(0,a.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-gradient-to-tr from-[#31afff] to-[#1677ff] text-xs text-white",children:null==l?void 0:l.nick_name})},z={todo:{bgClass:"bg-gray-500",icon:(0,a.jsx)(r.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,a.jsx)(i.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,a.jsx)(c.Z,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,a.jsx)(o.Z,{className:"ml-2"})}},B=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"").replace(/]+)>/gi,""),T=e=>null==e?void 0:e.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"");var H=(0,f.memo)(e=>{var l;let{content:t,onLinkClick:n}=e,{t:r}=(0,g.$G)(),i=(0,v.useSearchParams)(),c=null!==(l=null==i?void 0:i.get("scene"))&&void 0!==l?l:"",{context:o,model_name:u,role:x,thinking:p}=t,w=(0,f.useMemo)(()=>"view"===x,[x]),{relations:b,value:k,cachePluginContext:N}=(0,f.useMemo)(()=>{if("string"!=typeof o)return{relations:[],value:"",cachePluginContext:[]};let[e,l]=o.split(" relations:"),t=l?l.split(","):[],a=[],s=0,n=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var l;let t=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),n=JSON.parse(t),r="".concat(s,"");return a.push({...n,result:B(null!==(l=n.result)&&void 0!==l?l:"")}),s++,r}catch(l){return console.log(l.message,l),e}});return{relations:t,cachePluginContext:a,value:n}},[o]),_=(0,f.useMemo)(()=>({"custom-view"(e){var l;let{children:t}=e,n=+t.toString();if(!N[n])return t;let{name:r,status:i,err_msg:c,result:o}=N[n],{bgClass:d,icon:u}=null!==(l=z[i])&&void 0!==l?l:{};return(0,a.jsxs)("div",{className:"bg-white dark:bg-[#212121] rounded-lg overflow-hidden my-2 flex flex-col lg:max-w-[80%]",children:[(0,a.jsxs)("div",{className:m()("flex px-4 md:px-6 py-2 items-center text-white text-sm",d),children:[r,u]}),o?(0,a.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,a.jsx)(h.D,{components:s.Z,rehypePlugins:[j.Z],remarkPlugins:[y.Z],children:null!=o?o:""})}):(0,a.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:c})]})}}),[N]);return(0,a.jsxs)("div",{className:"flex flex-1 gap-3 mt-6",children:[(0,a.jsx)("div",{className:"flex flex-shrink-0 items-start",children:w?(0,a.jsx)(E,{model:u}):(0,a.jsx)(G,{})}),(0,a.jsxs)("div",{className:"flex ".concat("chat_agent"!==c||p?"":"flex-1"," overflow-hidden"),children:[!w&&(0,a.jsx)("div",{className:"flex flex-1 items-center text-sm text-[#1c2533] dark:text-white",children:"string"==typeof o&&o}),w&&(0,a.jsxs)("div",{className:"flex flex-1 flex-col w-full",children:[(0,a.jsxs)("div",{className:"bg-white dark:bg-[rgba(255,255,255,0.16)] p-4 rounded-2xl rounded-tl-none mb-2",children:["object"==typeof o&&(0,a.jsxs)("div",{children:["[".concat(o.template_name,"]: "),(0,a.jsxs)("span",{className:"text-theme-primary cursor-pointer",onClick:n,children:[(0,a.jsx)(d.Z,{className:"mr-1"}),o.template_introduce||"More Details"]})]}),"string"==typeof o&&"chat_agent"===c&&(0,a.jsx)(h.D,{components:{...s.Z},rehypePlugins:[j.Z],remarkPlugins:[y.Z],children:T(k)}),"string"==typeof o&&"chat_agent"!==c&&(0,a.jsx)(h.D,{components:{...s.Z,..._},rehypePlugins:[j.Z],remarkPlugins:[y.Z],children:B(k)}),p&&!o&&(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:r("thinking")}),(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,a.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,a.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]})]}),(0,a.jsx)(D,{content:t})]})]})]})}),L=t(45277),U=t(22672),q=t(12061),K=t(7289),Q=t(77200),R=t(79839),W=t(44766),X=t(89776),Y=()=>{var e;let l=(0,v.useSearchParams)(),t=null!==(e=null==l?void 0:l.get("id"))&&void 0!==e?e:"",{currentDialogInfo:s,model:n}=(0,f.useContext)(L.p),{history:r,handleChat:i,refreshDialogList:c,setAppInfo:o,setModelValue:d,setTemperatureValue:u,setResourceValue:m}=(0,f.useContext)(q.ChatContentContext),[x,p]=(0,f.useState)(!1),[g,h]=(0,f.useState)(""),j=(0,f.useMemo)(()=>(0,W.cloneDeep)(r).filter(e=>["view","human"].includes(e.role)).map(e=>({...e,key:(0,X.Z)()})),[r]);return(0,Q.Z)(async()=>{let e=(0,K.a_)();if(e&&e.id===t){let[,t]=await (0,w.Vx)((0,w.BN)({...s}));if(t){var l,a,r,x,p,v,f;let s=(null==t?void 0:null===(l=t.param_need)||void 0===l?void 0:l.map(e=>e.type))||[],g=(null===(a=null==t?void 0:null===(r=t.param_need)||void 0===r?void 0:r.filter(e=>"model"===e.type)[0])||void 0===a?void 0:a.value)||n,h=(null===(x=null==t?void 0:null===(p=t.param_need)||void 0===p?void 0:p.filter(e=>"temperature"===e.type)[0])||void 0===x?void 0:x.value)||.5,j=null===(v=null==t?void 0:null===(f=t.param_need)||void 0===f?void 0:f.filter(e=>"resource"===e.type)[0])||void 0===v?void 0:v.bind_value;o(t||{}),u(h||.5),d(g),m(j),await i(e.message,{app_code:null==t?void 0:t.app_code,model_name:g,...(null==s?void 0:s.includes("temperature"))&&{temperature:h},...s.includes("resource")&&{select_param:"string"==typeof j?j:JSON.stringify(j)}}),await c(),localStorage.removeItem(K.rU)}}},[t,s]),(0,a.jsxs)("div",{className:"flex flex-col w-5/6 mx-auto",children:[!!j.length&&j.map(e=>(0,a.jsx)(H,{content:e,onLinkClick:()=>{p(!0),h(JSON.stringify(null==e?void 0:e.context,null,2))}},e.key)),(0,a.jsx)(R.default,{title:"JSON Editor",open:x,width:"60%",cancelButtonProps:{hidden:!0},onOk:()=>{p(!1)},onCancel:()=>{p(!1)},children:(0,a.jsx)(U.Z,{className:"w-full h-[500px]",language:"json",value:g})})]})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/3272.ff657ea4c1be791d.js b/dbgpt/app/static/web/_next/static/chunks/3272.ff657ea4c1be791d.js new file mode 100644 index 000000000..c3e702628 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/3272.ff657ea4c1be791d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3272],{51310:function(e,l,t){var s=t(88506);l.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(s.C9))&&void 0!==e?e:"")}},54865:function(e,l,t){t.r(l),t.d(l,{default:function(){return Y}});var s=t(96469),a=t(2242),n=t(88506),r=t(39811),i=t(37022),c=t(84223),o=t(69274),d=t(15484),u=t(26869),m=t.n(u),x=t(23852),p=t.n(x),v=t(45875),f=t(38497),g=t(56841),h=t(11576),j=t(75798),y=t(92677),w=t(27623),b=t(16559),k=t(74552),N=t(67576),_=t(16602),Z=t(49030),C=t(71841),S=t(27691),P=t(70351),O=t(62971),J=t(87674),$=t(93486),I=t.n($);let M=e=>{let{list:l,loading:t,feedback:a,setFeedbackOpen:n}=e,{t:r}=(0,g.$G)(),[i,c]=(0,f.useState)([]),[o,d]=(0,f.useState)("");return(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("div",{className:"flex flex-1 flex-wrap w-72",children:null==l?void 0:l.map(e=>{let l=i.findIndex(l=>l.reason_type===e.reason_type)>-1;return(0,s.jsx)(Z.Z,{className:"text-xs text-[#525964] mb-2 p-1 px-2 rounded-md cursor-pointer ".concat(l?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{c(l=>{let t=l.findIndex(l=>l.reason_type===e.reason_type);return t>-1?[...l.slice(0,t),...l.slice(t+1)]:[...l,e]})},children:e.reason},e.reason_type)})}),(0,s.jsx)(C.default.TextArea,{placeholder:r("feedback_tip"),className:"w-64 h-20 resize-none mb-2",value:o,onChange:e=>d(e.target.value.trim())}),(0,s.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,s.jsx)(S.ZP,{className:"w-16 h-8",onClick:()=>{n(!1)},children:"取消"}),(0,s.jsx)(S.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=i.map(e=>e.reason_type);await (null==a?void 0:a({feedback_type:"unlike",reason_types:e,remark:o}))},loading:t,children:"确认"})]})]})};var A=e=>{var l,t;let{content:a}=e,{t:n}=(0,g.$G)(),r=(0,v.useSearchParams)(),i=null!==(t=null==r?void 0:r.get("id"))&&void 0!==t?t:"",[c,o]=P.ZP.useMessage(),[d,u]=(0,f.useState)(!1),[x,p]=(0,f.useState)(null==a?void 0:null===(l=a.feedback)||void 0===l?void 0:l.feedback_type),[h,j]=(0,f.useState)(),y=async e=>{let l=null==e?void 0:e.replace(/\trelations:.*/g,""),t=I()(l);t?l?c.open({type:"success",content:n("copy_success")}):c.open({type:"warning",content:n("copy_nothing")}):c.open({type:"error",content:n("copy_failed")})},{run:Z,loading:C}=(0,_.Z)(async e=>await (0,w.Vx)((0,w.zx)({conv_uid:i,message_id:a.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,l]=e;p(null==l?void 0:l.feedback_type),P.ZP.success("反馈成功"),u(!1)}}),{run:S}=(0,_.Z)(async()=>await (0,w.Vx)((0,w.Jr)()),{manual:!0,onSuccess:e=>{let[,l]=e;j(l||[]),l&&u(!0)}}),{run:$}=(0,_.Z)(async()=>await (0,w.Vx)((0,w.Ir)({conv_uid:i,message_id:(null==a?void 0:a.order)+""})),{manual:!0,onSuccess:e=>{let[,l]=e;l&&(p("none"),P.ZP.success("操作成功"))}});return(0,s.jsxs)(s.Fragment,{children:[o,(0,s.jsxs)("div",{className:"flex flex-1 items-center text-sm px-4",children:[(0,s.jsxs)("div",{className:"flex gap-3",children:[(0,s.jsx)(b.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"like"===x}),onClick:async()=>{if("like"===x){await $();return}await Z({feedback_type:"like"})}}),(0,s.jsx)(O.Z,{placement:"bottom",autoAdjustOverflow:!0,destroyTooltipOnHide:!0,content:(0,s.jsx)(M,{setFeedbackOpen:u,feedback:Z,list:h||[],loading:C}),trigger:"click",open:d,children:(0,s.jsx)(k.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"unlike"===x}),onClick:async()=>{if("unlike"===x){await $();return}await S()}})})]}),(0,s.jsx)(J.Z,{type:"vertical"}),(0,s.jsx)(N.Z,{className:"cursor-pointer",onClick:()=>y(a.context)})]})]})},E=t(39639),F=t(26953),T=t(61977),V=(0,f.memo)(e=>{var l;let{model:t}=e,a=(0,v.useSearchParams)(),n=null!==(l=null==a?void 0:a.get("scene"))&&void 0!==l?l:"";return"chat_agent"===n?(0,s.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-white dark:bg-[rgba(255,255,255,0.16)]",children:(0,s.jsx)(F.Z,{scene:n})}):t?(0,s.jsx)(T.Z,{width:32,height:32,model:t}):(0,s.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-white dark:bg-[rgba(255,255,255,0.16)]",children:(0,s.jsx)(E.Z,{})})});let G=()=>{var e;let l=JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"");return l.avatar_url?(0,s.jsx)(p(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:32,height:32,src:null==l?void 0:l.avatar_url,alt:null==l?void 0:l.nick_name}):(0,s.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-gradient-to-tr from-[#31afff] to-[#1677ff] text-xs text-white",children:null==l?void 0:l.nick_name})},z={todo:{bgClass:"bg-gray-500",icon:(0,s.jsx)(r.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,s.jsx)(i.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,s.jsx)(c.Z,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,s.jsx)(o.Z,{className:"ml-2"})}},B=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
    ").replace(/]+)>/gi,""),D=e=>null==e?void 0:e.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"");var H=(0,f.memo)(e=>{var l;let{content:t,onLinkClick:n}=e,{t:r}=(0,g.$G)(),i=(0,v.useSearchParams)(),c=null!==(l=null==i?void 0:i.get("scene"))&&void 0!==l?l:"",{context:o,model_name:u,role:x,thinking:p}=t,w=(0,f.useMemo)(()=>"view"===x,[x]),{relations:b,value:k,cachePluginContext:N}=(0,f.useMemo)(()=>{if("string"!=typeof o)return{relations:[],value:"",cachePluginContext:[]};let[e,l]=o.split(" relations:"),t=l?l.split(","):[],s=[],a=0,n=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var l;let t=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),n=JSON.parse(t),r="".concat(a,"");return s.push({...n,result:B(null!==(l=n.result)&&void 0!==l?l:"")}),a++,r}catch(l){return console.log(l.message,l),e}});return{relations:t,cachePluginContext:s,value:n}},[o]),_=(0,f.useMemo)(()=>({"custom-view"(e){var l;let{children:t}=e,n=+t.toString();if(!N[n])return t;let{name:r,status:i,err_msg:c,result:o}=N[n],{bgClass:d,icon:u}=null!==(l=z[i])&&void 0!==l?l:{};return(0,s.jsxs)("div",{className:"bg-white dark:bg-[#212121] rounded-lg overflow-hidden my-2 flex flex-col lg:max-w-[80%]",children:[(0,s.jsxs)("div",{className:m()("flex px-4 md:px-6 py-2 items-center text-white text-sm",d),children:[r,u]}),o?(0,s.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,s.jsx)(h.Z,{components:a.Z,rehypePlugins:[j.Z],remarkPlugins:[y.Z],children:null!=o?o:""})}):(0,s.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:c})]})}}),[N]);return(0,s.jsxs)("div",{className:"flex flex-1 gap-3 mt-6",children:[(0,s.jsx)("div",{className:"flex flex-shrink-0 items-start",children:w?(0,s.jsx)(V,{model:u}):(0,s.jsx)(G,{})}),(0,s.jsxs)("div",{className:"flex ".concat("chat_agent"!==c||p?"":"flex-1"," overflow-hidden"),children:[!w&&(0,s.jsx)("div",{className:"flex flex-1 items-center text-sm text-[#1c2533] dark:text-white",children:"string"==typeof o&&o}),w&&(0,s.jsxs)("div",{className:"flex flex-1 flex-col w-full",children:[(0,s.jsxs)("div",{className:"bg-white dark:bg-[rgba(255,255,255,0.16)] p-4 rounded-2xl rounded-tl-none mb-2",children:["object"==typeof o&&(0,s.jsxs)("div",{children:["[".concat(o.template_name,"]: "),(0,s.jsxs)("span",{className:"text-theme-primary cursor-pointer",onClick:n,children:[(0,s.jsx)(d.Z,{className:"mr-1"}),o.template_introduce||"More Details"]})]}),"string"==typeof o&&"chat_agent"===c&&(0,s.jsx)(h.Z,{components:{...a.Z},rehypePlugins:[j.Z],remarkPlugins:[y.Z],children:D(k)}),"string"==typeof o&&"chat_agent"!==c&&(0,s.jsx)("div",{children:(0,s.jsx)(h.Z,{components:{...a.Z,..._},rehypePlugins:[j.Z],remarkPlugins:[y.Z],children:B(k)})}),p&&!o&&(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:r("thinking")}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]})]}),(0,s.jsx)(A,{content:t})]})]})]})}),L=t(45277),R=t(22672),U=t(12061),q=t(7289),K=t(77200),Q=t(79839),W=t(44766),X=t(89776),Y=()=>{var e;let l=(0,f.useRef)(null),t=(0,v.useSearchParams)(),a=null!==(e=null==t?void 0:t.get("id"))&&void 0!==e?e:"",{currentDialogInfo:n,model:r}=(0,f.useContext)(L.p),{history:i,handleChat:c,refreshDialogList:o,setAppInfo:d,setModelValue:u,setTemperatureValue:m,setResourceValue:x}=(0,f.useContext)(U.ChatContentContext),[p,g]=(0,f.useState)(!1),[h,j]=(0,f.useState)(""),y=(0,f.useMemo)(()=>(0,W.cloneDeep)(i).filter(e=>["view","human"].includes(e.role)).map(e=>({...e,key:(0,X.Z)()})),[i]);return(0,K.Z)(async()=>{let e=(0,q.a_)();if(e&&e.id===a){let[,a]=await (0,w.Vx)((0,w.BN)({...n}));if(a){var l,t,s,i,p,v,f;let n=(null==a?void 0:null===(l=a.param_need)||void 0===l?void 0:l.map(e=>e.type))||[],g=(null===(t=null==a?void 0:null===(s=a.param_need)||void 0===s?void 0:s.filter(e=>"model"===e.type)[0])||void 0===t?void 0:t.value)||r,h=(null===(i=null==a?void 0:null===(p=a.param_need)||void 0===p?void 0:p.filter(e=>"temperature"===e.type)[0])||void 0===i?void 0:i.value)||.5,j=null===(v=null==a?void 0:null===(f=a.param_need)||void 0===f?void 0:f.filter(e=>"resource"===e.type)[0])||void 0===v?void 0:v.bind_value;d(a||{}),m(h||.5),u(g),x(j),await c(e.message,{app_code:null==a?void 0:a.app_code,model_name:g,...(null==n?void 0:n.includes("temperature"))&&{temperature:h},...n.includes("resource")&&{select_param:"string"==typeof j?j:JSON.stringify(j)}}),await o(),localStorage.removeItem(q.rU)}}},[a,n]),(0,f.useEffect)(()=>{setTimeout(()=>{var e,t;null===(e=l.current)||void 0===e||e.scrollTo(0,null===(t=l.current)||void 0===t?void 0:t.scrollHeight)},50)},[i]),(0,s.jsxs)("div",{className:"flex flex-col w-5/6 mx-auto",ref:l,children:[!!y.length&&y.map(e=>(0,s.jsx)(H,{content:e,onLinkClick:()=>{g(!0),j(JSON.stringify(null==e?void 0:e.context,null,2))}},e.key)),(0,s.jsx)(Q.default,{title:"JSON Editor",open:p,width:"60%",cancelButtonProps:{hidden:!0},onOk:()=>{g(!1)},onCancel:()=>{g(!1)},children:(0,s.jsx)(R.Z,{className:"w-full h-[500px]",language:"json",value:h})})]})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/335-d0e1d11876a92f2f.js b/dbgpt/app/static/web/_next/static/chunks/335-d0e1d11876a92f2f.js new file mode 100644 index 000000000..2a295e217 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/335-d0e1d11876a92f2f.js @@ -0,0 +1,55 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[335],{73324:function(e,t,o){o.d(t,{Z:function(){return a}});var n=o(42096),r=o(38497),l={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},i=o(55032),a=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},86944:function(e,t,o){o.d(t,{Z:function(){return a}});var n=o(42096),r=o(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},i=o(55032),a=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},749:function(e,t,o){o.d(t,{Z:function(){return R}});var n=o(38497),r=o(86944),l=o(26869),i=o.n(l),a=o(195),s=o(81581),d=o(77757),c=o(55598),u=o(58416),m=o(13553),p=o(99851),g=o(55091),b=o(67478),$=o(49594),f=o(63346),v=o(95227),h=o(78984),I=o(70730),C=o(73098),y=o(38083),w=o(60848),x=o(57723),S=o(33445),O=o(98539),B=o(20136),k=o(49407),E=o(90102),j=o(74934),z=e=>{let{componentCls:t,menuCls:o,colorError:n,colorTextLightSolid:r}=e,l=`${o}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${o} ${l}`]:{[`&${l}-danger:not(${l}-disabled)`]:{color:n,"&:hover":{color:r,backgroundColor:n}}}}}};let H=e=>{let{componentCls:t,menuCls:o,zIndexPopup:n,dropdownArrowDistance:r,sizePopupArrow:l,antCls:i,iconCls:a,motionDurationMid:s,paddingBlock:d,fontSize:c,dropdownEdgeChildPadding:u,colorTextDisabled:m,fontSizeIcon:p,controlPaddingHorizontal:g,colorBgElevated:b}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:n,display:"block","&::before":{position:"absolute",insetBlock:e.calc(l).div(2).sub(r).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${i}-btn`]:{[`& > ${a}-down, & > ${i}-btn-icon > ${a}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:"relative",[`${i}-btn > ${a}-down`]:{fontSize:p},[`${a}-down::before`]:{transition:`transform ${s}`}},[`${t}-wrap-open`]:{[`${a}-down::before`]:{transform:"rotate(180deg)"}},[` + &-hidden, + &-menu-hidden, + &-menu-submenu-hidden + `]:{display:"none"},[`&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomLeft, + &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomLeft, + &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottom, + &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottom, + &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomRight, + &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:x.fJ},[`&${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topLeft, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topLeft, + &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-top, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-top, + &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topRight, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topRight`]:{animationName:x.Qt},[`&${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomLeft, + &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottom, + &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:x.Uw},[`&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topLeft, + &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-top, + &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topRight`]:{animationName:x.ly}}},(0,B.ZP)(e,b,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${o}`]:{position:"relative",margin:0},[`${o}-submenu-popup`]:{position:"absolute",zIndex:n,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},(0,w.Wf)(e)),{[o]:Object.assign(Object.assign({padding:u,listStyleType:"none",backgroundColor:b,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},(0,w.Qy)(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${o}-item-group-title`]:{padding:`${(0,y.bf)(d)} ${(0,y.bf)(g)}`,color:e.colorTextDescription,transition:`all ${s}`},[`${o}-item`]:{position:"relative",display:"flex",alignItems:"center",whiteSpace:"nowrap"},[`${o}-item-icon`]:{minWidth:c,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${o}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${s}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${o}-item, ${o}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${(0,y.bf)(d)} ${(0,y.bf)(g)}`,color:e.colorText,fontWeight:"normal",fontSize:c,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${s}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},(0,w.Qy)(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:m,cursor:"not-allowed","&:hover":{color:m,backgroundColor:b,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,y.bf)(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:p,fontStyle:"normal"}}}),[`${o}-item-group-list`]:{margin:`0 ${(0,y.bf)(e.marginXS)}`,padding:0,listStyle:"none"},[`${o}-submenu-title`]:{paddingInlineEnd:e.calc(g).add(e.fontSizeSM).equal()},[`${o}-submenu-vertical`]:{position:"relative"},[`${o}-submenu${o}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:m,backgroundColor:b,cursor:"not-allowed"}},[`${o}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[(0,x.oN)(e,"slide-up"),(0,x.oN)(e,"slide-down"),(0,S.Fm)(e,"move-up"),(0,S.Fm)(e,"move-down"),(0,O._y)(e,"zoom-big")]]};var N=(0,E.I$)("Dropdown",e=>{let{marginXXS:t,sizePopupArrow:o,paddingXXS:n,componentCls:r}=e,l=(0,j.IX)(e,{menuCls:`${r}-menu`,dropdownArrowDistance:e.calc(o).div(2).add(t).equal(),dropdownEdgeChildPadding:n});return[H(l),z(l)]},e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},(0,B.wZ)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,k.w)(e)),{resetStyle:!1});let T=e=>{var t;let{menu:o,arrow:l,prefixCls:p,children:y,trigger:w,disabled:x,dropdownRender:S,getPopupContainer:O,overlayClassName:B,rootClassName:k,overlayStyle:E,open:j,onOpenChange:z,visible:H,onVisibleChange:T,mouseEnterDelay:P=.15,mouseLeaveDelay:R=.1,autoAdjustOverflow:Z=!0,placement:D="",overlay:M,transitionName:A}=e,{getPopupContainer:W,getPrefixCls:L,direction:X,dropdown:_}=n.useContext(f.E_);(0,b.ln)("Dropdown");let q=n.useMemo(()=>{let e=L();return void 0!==A?A:D.includes("top")?`${e}-slide-down`:`${e}-slide-up`},[L,D,A]),F=n.useMemo(()=>D?D.includes("Center")?D.slice(0,D.indexOf("Center")):D:"rtl"===X?"bottomRight":"bottomLeft",[D,X]),Y=L("dropdown",p),V=(0,v.Z)(Y),[G,J,Q]=N(Y,V),[,U]=(0,C.ZP)(),K=n.Children.only(y),ee=(0,g.Tm)(K,{className:i()(`${Y}-trigger`,{[`${Y}-rtl`]:"rtl"===X},K.props.className),disabled:null!==(t=K.props.disabled)&&void 0!==t?t:x}),et=x?[]:w,eo=!!(null==et?void 0:et.includes("contextMenu")),[en,er]=(0,d.Z)(!1,{value:null!=j?j:H}),el=(0,s.zX)(e=>{null==z||z(e,{source:"trigger"}),null==T||T(e),er(e)}),ei=i()(B,k,J,Q,V,null==_?void 0:_.className,{[`${Y}-rtl`]:"rtl"===X}),ea=(0,m.Z)({arrowPointAtCenter:"object"==typeof l&&l.pointAtCenter,autoAdjustOverflow:Z,offset:U.marginXXS,arrowWidth:l?U.sizePopupArrow:0,borderRadius:U.borderRadius}),es=n.useCallback(()=>{null!=o&&o.selectable&&null!=o&&o.multiple||(null==z||z(!1,{source:"menu"}),er(!1))},[null==o?void 0:o.selectable,null==o?void 0:o.multiple]),[ed,ec]=(0,u.Cn)("Dropdown",null==E?void 0:E.zIndex),eu=n.createElement(a.Z,Object.assign({alignPoint:eo},(0,c.Z)(e,["rootClassName"]),{mouseEnterDelay:P,mouseLeaveDelay:R,visible:en,builtinPlacements:ea,arrow:!!l,overlayClassName:ei,prefixCls:Y,getPopupContainer:O||W,transitionName:q,trigger:et,overlay:()=>{let e;return e=(null==o?void 0:o.items)?n.createElement(h.Z,Object.assign({},o)):"function"==typeof M?M():M,S&&(e=S(e)),e=n.Children.only("string"==typeof e?n.createElement("span",null,e):e),n.createElement(I.J,{prefixCls:`${Y}-menu`,rootClassName:i()(Q,V),expandIcon:n.createElement("span",{className:`${Y}-menu-submenu-arrow`},n.createElement(r.Z,{className:`${Y}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:es,validator:e=>{let{mode:t}=e}},e)},placement:F,onVisibleChange:el,overlayStyle:Object.assign(Object.assign(Object.assign({},null==_?void 0:_.style),E),{zIndex:ed})}),ee);return ed&&(eu=n.createElement($.Z.Provider,{value:ec},eu)),G(eu)},P=(0,p.Z)(T,"dropdown",e=>e,function(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})});T._InternalPanelDoNotUseOrYouWillBeFired=e=>n.createElement(P,Object.assign({},e),n.createElement("span",null));var R=T},80335:function(e,t,o){o.d(t,{Z:function(){return b}});var n=o(749),r=o(38497),l=o(52896),i=o(26869),a=o.n(i),s=o(27691),d=o(63346),c=o(10755),u=o(80214),m=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};let p=e=>{let{getPopupContainer:t,getPrefixCls:o,direction:i}=r.useContext(d.E_),{prefixCls:p,type:g="default",danger:b,disabled:$,loading:f,onClick:v,htmlType:h,children:I,className:C,menu:y,arrow:w,autoFocus:x,overlay:S,trigger:O,align:B,open:k,onOpenChange:E,placement:j,getPopupContainer:z,href:H,icon:N=r.createElement(l.Z,null),title:T,buttonsRender:P=e=>e,mouseEnterDelay:R,mouseLeaveDelay:Z,overlayClassName:D,overlayStyle:M,destroyPopupOnHide:A,dropdownRender:W}=e,L=m(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),X=o("dropdown",p),_=`${X}-button`,q={menu:y,arrow:w,autoFocus:x,align:B,disabled:$,trigger:$?[]:O,onOpenChange:E,getPopupContainer:z||t,mouseEnterDelay:R,mouseLeaveDelay:Z,overlayClassName:D,overlayStyle:M,destroyPopupOnHide:A,dropdownRender:W},{compactSize:F,compactItemClassnames:Y}=(0,u.ri)(X,i),V=a()(_,Y,C);"overlay"in e&&(q.overlay=S),"open"in e&&(q.open=k),"placement"in e?q.placement=j:q.placement="rtl"===i?"bottomLeft":"bottomRight";let G=r.createElement(s.ZP,{type:g,danger:b,disabled:$,loading:f,onClick:v,htmlType:h,href:H,title:T},I),J=r.createElement(s.ZP,{type:g,danger:b,icon:N}),[Q,U]=P([G,J]);return r.createElement(c.Z.Compact,Object.assign({className:V,size:F,block:!0},L),Q,r.createElement(n.Z,Object.assign({},q),U))};p.__ANT_BUTTON=!0;let g=n.Z;g.Button=p;var b=g},52835:function(e,t,o){let n;o.d(t,{D:function(){return $},Z:function(){return h}});var r=o(38497),l=o(73324),i=o(72097),a=o(86944),s=o(26869),d=o.n(s),c=o(55598),u=e=>!isNaN(parseFloat(e))&&isFinite(e),m=o(63346),p=o(45391),g=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};let b={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},$=r.createContext({}),f=(n=0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`${e}${n+=1}`}),v=r.forwardRef((e,t)=>{let{prefixCls:o,className:n,trigger:s,children:v,defaultCollapsed:h=!1,theme:I="dark",style:C={},collapsible:y=!1,reverseArrow:w=!1,width:x=200,collapsedWidth:S=80,zeroWidthTriggerStyle:O,breakpoint:B,onCollapse:k,onBreakpoint:E}=e,j=g(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:z}=(0,r.useContext)(p.V),[H,N]=(0,r.useState)("collapsed"in e?e.collapsed:h),[T,P]=(0,r.useState)(!1);(0,r.useEffect)(()=>{"collapsed"in e&&N(e.collapsed)},[e.collapsed]);let R=(t,o)=>{"collapsed"in e||N(t),null==k||k(t,o)},Z=(0,r.useRef)();Z.current=e=>{P(e.matches),null==E||E(e.matches),H!==e.matches&&R(e.matches,"responsive")},(0,r.useEffect)(()=>{let e;function t(e){return Z.current(e)}if("undefined"!=typeof window){let{matchMedia:o}=window;if(o&&B&&B in b){e=o(`screen and (max-width: ${b[B]})`);try{e.addEventListener("change",t)}catch(o){e.addListener(t)}t(e)}}return()=>{try{null==e||e.removeEventListener("change",t)}catch(o){null==e||e.removeListener(t)}}},[B]),(0,r.useEffect)(()=>{let e=f("ant-sider-");return z.addSider(e),()=>z.removeSider(e)},[]);let D=()=>{R(!H,"clickTrigger")},{getPrefixCls:M}=(0,r.useContext)(m.E_),A=r.useMemo(()=>({siderCollapsed:H}),[H]);return r.createElement($.Provider,{value:A},(()=>{let e=M("layout-sider",o),m=(0,c.Z)(j,["collapsed"]),p=H?S:x,g=u(p)?`${p}px`:String(p),b=0===parseFloat(String(S||0))?r.createElement("span",{onClick:D,className:d()(`${e}-zero-width-trigger`,`${e}-zero-width-trigger-${w?"right":"left"}`),style:O},s||r.createElement(l.Z,null)):null,$={expanded:w?r.createElement(a.Z,null):r.createElement(i.Z,null),collapsed:w?r.createElement(i.Z,null):r.createElement(a.Z,null)},f=H?"collapsed":"expanded",h=$[f],B=null!==s?b||r.createElement("div",{className:`${e}-trigger`,onClick:D,style:{width:g}},s||h):null,k=Object.assign(Object.assign({},C),{flex:`0 0 ${g}`,maxWidth:g,minWidth:g,width:g}),E=d()(e,`${e}-${I}`,{[`${e}-collapsed`]:!!H,[`${e}-has-trigger`]:y&&null!==s&&!b,[`${e}-below`]:!!T,[`${e}-zero-width`]:0===parseFloat(g)},n);return r.createElement("aside",Object.assign({className:E},m,{style:k,ref:t}),r.createElement("div",{className:`${e}-children`},v),y||T&&b?B:null)})())});var h=v},45391:function(e,t,o){o.d(t,{V:function(){return r}});var n=o(38497);let r=n.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},70730:function(e,t,o){o.d(t,{J:function(){return s}});var n=o(38497),r=o(81581),l=o(53296),i=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};let a=n.createContext(null),s=n.forwardRef((e,t)=>{let{children:o}=e,s=i(e,["children"]),d=n.useContext(a),c=n.useMemo(()=>Object.assign(Object.assign({},d),s),[d,s.prefixCls,s.mode,s.selectable,s.rootClassName]),u=(0,r.t4)(o),m=(0,r.x1)(t,u?o.ref:null);return n.createElement(a.Provider,{value:c},n.createElement(l.Z,{space:!0},u?n.cloneElement(o,{ref:m}):o))});t.Z=a},78984:function(e,t,o){o.d(t,{Z:function(){return V}});var n=o(38497),r=o(82843),l=o(52835),i=o(52896),a=o(26869),s=o.n(a),d=o(81581),c=o(55598),u=o(17383),m=o(55091),p=o(63346),g=o(95227);let b=(0,n.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var $=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o},f=e=>{let{prefixCls:t,className:o,dashed:l}=e,i=$(e,["prefixCls","className","dashed"]),{getPrefixCls:a}=n.useContext(p.E_),d=a("menu",t),c=s()({[`${d}-item-divider-dashed`]:!!l},o);return n.createElement(r.iz,Object.assign({className:c},i))},v=o(10469),h=o(60205),I=e=>{var t;let{className:o,children:i,icon:a,title:d,danger:u}=e,{prefixCls:p,firstLevel:g,direction:$,disableMenuItemTitleTooltip:f,inlineCollapsed:I}=n.useContext(b),{siderCollapsed:C}=n.useContext(l.D),y=d;void 0===d?y=g?i:"":!1===d&&(y="");let w={title:y};C||I||(w.title=null,w.open=!1);let x=(0,v.Z)(i).length,S=n.createElement(r.ck,Object.assign({},(0,c.Z)(e,["title","icon","danger"]),{className:s()({[`${p}-item-danger`]:u,[`${p}-item-only-child`]:(a?x+1:x)===1},o),title:"string"==typeof d?d:void 0}),(0,m.Tm)(a,{className:s()(n.isValidElement(a)?null===(t=a.props)||void 0===t?void 0:t.className:"",`${p}-item-icon`)}),(e=>{let t=n.createElement("span",{className:`${p}-title-content`},i);return(!a||n.isValidElement(i)&&"span"===i.type)&&i&&e&&g&&"string"==typeof i?n.createElement("div",{className:`${p}-inline-collapsed-noicon`},i.charAt(0)):t})(I));return f||(S=n.createElement(h.Z,Object.assign({},w,{placement:"rtl"===$?"left":"right",overlayClassName:`${p}-inline-collapsed-tooltip`}),S)),S},C=o(70730),y=o(38083),w=o(51084),x=o(60848),S=o(36647),O=o(57723),B=o(98539),k=o(90102),E=o(74934),j=e=>{let{componentCls:t,motionDurationSlow:o,horizontalLineHeight:n,colorSplit:r,lineWidth:l,lineType:i,itemPaddingInline:a}=e;return{[`${t}-horizontal`]:{lineHeight:n,border:0,borderBottom:`${(0,y.bf)(l)} ${i} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:a},[`> ${t}-item:hover, + > ${t}-item-active, + > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:`border-color ${o},background ${o}`},[`${t}-submenu-arrow`]:{display:"none"}}}},z=e=>{let{componentCls:t,menuArrowOffset:o,calc:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, + ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,y.bf)(n(o).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,y.bf)(o)})`}}}}};let H=e=>Object.assign({},(0,x.oN)(e));var N=(e,t)=>{let{componentCls:o,itemColor:n,itemSelectedColor:r,groupTitleColor:l,itemBg:i,subMenuItemBg:a,itemSelectedBg:s,activeBarHeight:d,activeBarWidth:c,activeBarBorderWidth:u,motionDurationSlow:m,motionEaseInOut:p,motionEaseOut:g,itemPaddingInline:b,motionDurationMid:$,itemHoverColor:f,lineType:v,colorSplit:h,itemDisabledColor:I,dangerItemColor:C,dangerItemHoverColor:w,dangerItemSelectedColor:x,dangerItemActiveBg:S,dangerItemSelectedBg:O,popupBg:B,itemHoverBg:k,itemActiveBg:E,menuSubMenuBg:j,horizontalItemSelectedColor:z,horizontalItemSelectedBg:N,horizontalItemBorderRadius:T,horizontalItemHoverBg:P}=e;return{[`${o}-${t}, ${o}-${t} > ${o}`]:{color:n,background:i,[`&${o}-root:focus-visible`]:Object.assign({},H(e)),[`${o}-item-group-title`]:{color:l},[`${o}-submenu-selected`]:{[`> ${o}-submenu-title`]:{color:r}},[`${o}-item, ${o}-submenu-title`]:{color:n,[`&:not(${o}-item-disabled):focus-visible`]:Object.assign({},H(e))},[`${o}-item-disabled, ${o}-submenu-disabled`]:{color:`${I} !important`},[`${o}-item:not(${o}-item-selected):not(${o}-submenu-selected)`]:{[`&:hover, > ${o}-submenu-title:hover`]:{color:f}},[`&:not(${o}-horizontal)`]:{[`${o}-item:not(${o}-item-selected)`]:{"&:hover":{backgroundColor:k},"&:active":{backgroundColor:E}},[`${o}-submenu-title`]:{"&:hover":{backgroundColor:k},"&:active":{backgroundColor:E}}},[`${o}-item-danger`]:{color:C,[`&${o}-item:hover`]:{[`&:not(${o}-item-selected):not(${o}-submenu-selected)`]:{color:w}},[`&${o}-item:active`]:{background:S}},[`${o}-item a`]:{"&, &:hover":{color:"inherit"}},[`${o}-item-selected`]:{color:r,[`&${o}-item-danger`]:{color:x},"a, a:hover":{color:"inherit"}},[`& ${o}-item-selected`]:{backgroundColor:s,[`&${o}-item-danger`]:{backgroundColor:O}},[`&${o}-submenu > ${o}`]:{backgroundColor:j},[`&${o}-popup > ${o}`]:{backgroundColor:B},[`&${o}-submenu-popup > ${o}`]:{backgroundColor:B},[`&${o}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${o}-item, > ${o}-submenu`]:{top:u,marginTop:e.calc(u).mul(-1).equal(),marginBottom:0,borderRadius:T,"&::after":{position:"absolute",insetInline:b,bottom:0,borderBottom:`${(0,y.bf)(d)} solid transparent`,transition:`border-color ${m} ${p}`,content:'""'},"&:hover, &-active, &-open":{background:P,"&::after":{borderBottomWidth:d,borderBottomColor:z}},"&-selected":{color:z,backgroundColor:N,"&:hover":{backgroundColor:N},"&::after":{borderBottomWidth:d,borderBottomColor:z}}}}),[`&${o}-root`]:{[`&${o}-inline, &${o}-vertical`]:{borderInlineEnd:`${(0,y.bf)(u)} ${v} ${h}`}},[`&${o}-inline`]:{[`${o}-sub${o}-inline`]:{background:a},[`${o}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,y.bf)(c)} solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:`transform ${$} ${g},opacity ${$} ${g}`,content:'""'},[`&${o}-item-danger`]:{"&::after":{borderInlineEndColor:x}}},[`${o}-selected, ${o}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:`transform ${$} ${p},opacity ${$} ${p}`}}}}}};let T=e=>{let{componentCls:t,itemHeight:o,itemMarginInline:n,padding:r,menuArrowSize:l,marginXS:i,itemMarginBlock:a,itemWidth:s}=e,d=e.calc(l).add(r).add(i).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:o,lineHeight:(0,y.bf)(o),paddingInline:r,overflow:"hidden",textOverflow:"ellipsis",marginInline:n,marginBlock:a,width:s},[`> ${t}-item, + > ${t}-submenu > ${t}-submenu-title`]:{height:o,lineHeight:(0,y.bf)(o)},[`${t}-item-group-list ${t}-submenu-title, + ${t}-submenu-title`]:{paddingInlineEnd:d}}};var P=e=>{let{componentCls:t,iconCls:o,itemHeight:n,colorTextLightSolid:r,dropdownWidth:l,controlHeightLG:i,motionDurationMid:a,motionEaseOut:s,paddingXL:d,itemMarginInline:c,fontSizeLG:u,motionDurationSlow:m,paddingXS:p,boxShadowSecondary:g,collapsedWidth:b,collapsedIconSize:$}=e,f={height:n,lineHeight:(0,y.bf)(n),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},T(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},T(e)),{boxShadow:g})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:l,maxHeight:`calc(100vh - ${(0,y.bf)(e.calc(i).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:`border-color ${m},background ${m},padding ${a} ${s},padding-inline calc(50% - ${(0,y.bf)(e.calc(u).div(2).equal())} - ${(0,y.bf)(c)})`,[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:f,[`& ${t}-item-group-title`]:{paddingInlineStart:d}},[`${t}-item`]:f}},{[`${t}-inline-collapsed`]:{width:b,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,textAlign:"center"}}},[`> ${t}-item, + > ${t}-item-group > ${t}-item-group-list > ${t}-item, + > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, + > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,y.bf)(e.calc(u).div(2).equal())} - ${(0,y.bf)(c)})`,textOverflow:"clip",[` + ${t}-submenu-arrow, + ${t}-submenu-expand-icon + `]:{opacity:0},[`${t}-item-icon, ${o}`]:{margin:0,fontSize:$,lineHeight:(0,y.bf)(n),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${o}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${o}`]:{display:"none"},"a, a:hover":{color:r}},[`${t}-item-group-title`]:Object.assign(Object.assign({},x.vS),{paddingInline:p})}}]};let R=e=>{let{componentCls:t,motionDurationSlow:o,motionDurationMid:n,motionEaseInOut:r,motionEaseOut:l,iconCls:i,iconSize:a,iconMarginInlineEnd:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:`border-color ${o},background ${o},padding ${o} ${r}`,[`${t}-item-icon, ${i}`]:{minWidth:a,fontSize:a,transition:`font-size ${n} ${l},margin ${o} ${r},color ${o}`,"+ span":{marginInlineStart:s,opacity:1,transition:`opacity ${o} ${r},margin ${o},color ${o}`}},[`${t}-item-icon`]:Object.assign({},(0,x.Ro)()),[`&${t}-item-only-child`]:{[`> ${i}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Z=e=>{let{componentCls:t,motionDurationSlow:o,motionEaseInOut:n,borderRadius:r,menuArrowSize:l,menuArrowOffset:i}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:l,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${o} ${n}, opacity ${o}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(l).mul(.6).equal(),height:e.calc(l).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:r,transition:`background ${o} ${n},transform ${o} ${n},top ${o} ${n},color ${o} ${n}`,content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,y.bf)(e.calc(i).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,y.bf)(i)})`}}}}},D=e=>{let{antCls:t,componentCls:o,fontSize:n,motionDurationSlow:r,motionDurationMid:l,motionEaseInOut:i,paddingXS:a,padding:s,colorSplit:d,lineWidth:c,zIndexPopup:u,borderRadiusLG:m,subMenuItemBorderRadius:p,menuArrowSize:g,menuArrowOffset:b,lineType:$,groupTitleLineHeight:f,groupTitleFontSize:v}=e;return[{"":{[o]:Object.assign(Object.assign({},(0,x.dF)()),{"&-hidden":{display:"none"}})},[`${o}-submenu-hidden`]:{display:"none"}},{[o]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,x.Wf)(e)),(0,x.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:n,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${o}-item`]:{flex:"none"}},[`${o}-item, ${o}-submenu, ${o}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${o}-item-group-title`]:{padding:`${(0,y.bf)(a)} ${(0,y.bf)(s)}`,fontSize:v,lineHeight:f,transition:`all ${r}`},[`&-horizontal ${o}-submenu`]:{transition:`border-color ${r} ${i},background ${r} ${i}`},[`${o}-submenu, ${o}-submenu-inline`]:{transition:`border-color ${r} ${i},background ${r} ${i},padding ${l} ${i}`},[`${o}-submenu ${o}-sub`]:{cursor:"initial",transition:`background ${r} ${i},padding ${r} ${i}`},[`${o}-title-content`]:{transition:`color ${r}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${o}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${o}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:d,borderStyle:$,borderWidth:0,borderTopWidth:c,marginBlock:c,padding:0,"&-dashed":{borderStyle:"dashed"}}}),R(e)),{[`${o}-item-group`]:{[`${o}-item-group-list`]:{margin:0,padding:0,[`${o}-item, ${o}-submenu-title`]:{paddingInline:`${(0,y.bf)(e.calc(n).mul(2).equal())} ${(0,y.bf)(s)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:u,borderRadius:m,boxShadow:"none",transformOrigin:"0 0",[`&${o}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${o}`]:Object.assign(Object.assign(Object.assign({borderRadius:m},R(e)),Z(e)),{[`${o}-item, ${o}-submenu > ${o}-submenu-title`]:{borderRadius:p},[`${o}-submenu-title::after`]:{transition:`transform ${r} ${i}`}})},[` + &-placement-leftTop, + &-placement-bottomRight, + `]:{transformOrigin:"100% 0"},[` + &-placement-leftBottom, + &-placement-topRight, + `]:{transformOrigin:"100% 100%"},[` + &-placement-rightBottom, + &-placement-topLeft, + `]:{transformOrigin:"0 100%"},[` + &-placement-bottomLeft, + &-placement-rightTop, + `]:{transformOrigin:"0 0"},[` + &-placement-leftTop, + &-placement-leftBottom + `]:{paddingInlineEnd:e.paddingXS},[` + &-placement-rightTop, + &-placement-rightBottom + `]:{paddingInlineStart:e.paddingXS},[` + &-placement-topRight, + &-placement-topLeft + `]:{paddingBottom:e.paddingXS},[` + &-placement-bottomRight, + &-placement-bottomLeft + `]:{paddingTop:e.paddingXS}}}),Z(e)),{[`&-inline-collapsed ${o}-submenu-arrow, + &-inline ${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,y.bf)(b)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,y.bf)(e.calc(b).mul(-1).equal())})`}},[`${o}-submenu-open${o}-submenu-inline > ${o}-submenu-title > ${o}-submenu-arrow`]:{transform:`translateY(${(0,y.bf)(e.calc(g).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,y.bf)(e.calc(b).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,y.bf)(b)})`}}})},{[`${t}-layout-header`]:{[o]:{lineHeight:"inherit"}}}]},M=e=>{var t,o,n;let{colorPrimary:r,colorError:l,colorTextDisabled:i,colorErrorBg:a,colorText:s,colorTextDescription:d,colorBgContainer:c,colorFillAlter:u,colorFillContent:m,lineWidth:p,lineWidthBold:g,controlItemBgActive:b,colorBgTextHover:$,controlHeightLG:f,lineHeight:v,colorBgElevated:h,marginXXS:I,padding:C,fontSize:y,controlHeightSM:x,fontSizeLG:S,colorTextLightSolid:O,colorErrorHover:B}=e,k=null!==(t=e.activeBarWidth)&&void 0!==t?t:0,E=null!==(o=e.activeBarBorderWidth)&&void 0!==o?o:p,j=null!==(n=e.itemMarginInline)&&void 0!==n?n:e.marginXXS,z=new w.C(O).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:s,itemColor:s,colorItemTextHover:s,itemHoverColor:s,colorItemTextHoverHorizontal:r,horizontalItemHoverColor:r,colorGroupTitle:d,groupTitleColor:d,colorItemTextSelected:r,itemSelectedColor:r,colorItemTextSelectedHorizontal:r,horizontalItemSelectedColor:r,colorItemBg:c,itemBg:c,colorItemBgHover:$,itemHoverBg:$,colorItemBgActive:m,itemActiveBg:b,colorSubItemBg:u,subMenuItemBg:u,colorItemBgSelected:b,itemSelectedBg:b,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:k,colorActiveBarHeight:g,activeBarHeight:g,colorActiveBarBorderSize:p,activeBarBorderWidth:E,colorItemTextDisabled:i,itemDisabledColor:i,colorDangerItemText:l,dangerItemColor:l,colorDangerItemTextHover:l,dangerItemHoverColor:l,colorDangerItemTextSelected:l,dangerItemSelectedColor:l,colorDangerItemBgActive:a,dangerItemActiveBg:a,colorDangerItemBgSelected:a,dangerItemSelectedBg:a,itemMarginInline:j,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:f,groupTitleLineHeight:v,collapsedWidth:2*f,popupBg:h,itemMarginBlock:I,itemPaddingInline:C,horizontalLineHeight:`${1.15*f}px`,iconSize:y,iconMarginInlineEnd:x-y,collapsedIconSize:S,groupTitleFontSize:y,darkItemDisabledColor:new w.C(O).setAlpha(.25).toRgbString(),darkItemColor:z,darkDangerItemColor:l,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:O,darkItemSelectedBg:r,darkDangerItemSelectedBg:l,darkItemHoverBg:"transparent",darkGroupTitleColor:z,darkItemHoverColor:O,darkDangerItemHoverColor:B,darkDangerItemSelectedColor:O,darkDangerItemActiveBg:l,itemWidth:k?`calc(100% + ${E}px)`:`calc(100% - ${2*j}px)`}};var A=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=(0,k.I$)("Menu",e=>{let{colorBgElevated:t,controlHeightLG:o,fontSize:n,darkItemColor:r,darkDangerItemColor:l,darkItemBg:i,darkSubMenuItemBg:a,darkItemSelectedColor:s,darkItemSelectedBg:d,darkDangerItemSelectedBg:c,darkItemHoverBg:u,darkGroupTitleColor:m,darkItemHoverColor:p,darkItemDisabledColor:g,darkDangerItemHoverColor:b,darkDangerItemSelectedColor:$,darkDangerItemActiveBg:f,popupBg:v,darkPopupBg:h}=e,I=e.calc(n).div(7).mul(5).equal(),C=(0,E.IX)(e,{menuArrowSize:I,menuHorizontalHeight:e.calc(o).mul(1.15).equal(),menuArrowOffset:e.calc(I).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:v}),y=(0,E.IX)(C,{itemColor:r,itemHoverColor:p,groupTitleColor:m,itemSelectedColor:s,itemBg:i,popupBg:h,subMenuItemBg:a,itemActiveBg:"transparent",itemSelectedBg:d,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:u,itemDisabledColor:g,dangerItemColor:l,dangerItemHoverColor:b,dangerItemSelectedColor:$,dangerItemActiveBg:f,dangerItemSelectedBg:c,menuSubMenuBg:a,horizontalItemSelectedColor:s,horizontalItemSelectedBg:d});return[D(C),j(C),P(C),N(C,"light"),N(y,"dark"),z(C),(0,S.Z)(C),(0,O.oN)(C,"slide-up"),(0,O.oN)(C,"slide-down"),(0,B._y)(C,"zoom-big")]},M,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:o,unitless:{groupTitleLineHeight:!0}});return n(e,t)},W=o(58416),L=e=>{var t;let o;let{popupClassName:l,icon:i,title:a,theme:d}=e,u=n.useContext(b),{prefixCls:p,inlineCollapsed:g,theme:$}=u,f=(0,r.Xl)();if(i){let e=n.isValidElement(a)&&"span"===a.type;o=n.createElement(n.Fragment,null,(0,m.Tm)(i,{className:s()(n.isValidElement(i)?null===(t=i.props)||void 0===t?void 0:t.className:"",`${p}-item-icon`)}),e?a:n.createElement("span",{className:`${p}-title-content`},a))}else o=g&&!f.length&&a&&"string"==typeof a?n.createElement("div",{className:`${p}-inline-collapsed-noicon`},a.charAt(0)):n.createElement("span",{className:`${p}-title-content`},a);let v=n.useMemo(()=>Object.assign(Object.assign({},u),{firstLevel:!1}),[u]),[h]=(0,W.Cn)("Menu");return n.createElement(b.Provider,{value:v},n.createElement(r.Wd,Object.assign({},(0,c.Z)(e,["icon"]),{title:o,popupClassName:s()(p,l,`${p}-${d||$}`),popupStyle:{zIndex:h}})))},X=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};function _(e){return null===e||!1===e}let q={item:I,submenu:L,divider:f},F=(0,n.forwardRef)((e,t)=>{var o;let l=n.useContext(C.Z),a=l||{},{getPrefixCls:$,getPopupContainer:f,direction:v,menu:h}=n.useContext(p.E_),I=$(),{prefixCls:y,className:w,style:x,theme:S="light",expandIcon:O,_internalDisableMenuItemTitleTooltip:B,inlineCollapsed:k,siderCollapsed:E,rootClassName:j,mode:z,selectable:H,onClick:N,overflowedIndicatorPopupClassName:T}=e,P=X(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),R=(0,c.Z)(P,["collapsedWidth"]);null===(o=a.validator)||void 0===o||o.call(a,{mode:z});let Z=(0,d.zX)(function(){var e;null==N||N.apply(void 0,arguments),null===(e=a.onClick)||void 0===e||e.call(a)}),D=a.mode||z,M=null!=H?H:a.selectable,W=n.useMemo(()=>void 0!==E?E:k,[k,E]),L={horizontal:{motionName:`${I}-slide-up`},inline:(0,u.Z)(I),other:{motionName:`${I}-zoom-big`}},F=$("menu",y||a.prefixCls),Y=(0,g.Z)(F),[V,G,J]=A(F,Y,!l),Q=s()(`${F}-${S}`,null==h?void 0:h.className,w),U=n.useMemo(()=>{var e,t;if("function"==typeof O||_(O))return O||null;if("function"==typeof a.expandIcon||_(a.expandIcon))return a.expandIcon||null;if("function"==typeof(null==h?void 0:h.expandIcon)||_(null==h?void 0:h.expandIcon))return(null==h?void 0:h.expandIcon)||null;let o=null!==(e=null!=O?O:null==a?void 0:a.expandIcon)&&void 0!==e?e:null==h?void 0:h.expandIcon;return(0,m.Tm)(o,{className:s()(`${F}-submenu-expand-icon`,n.isValidElement(o)?null===(t=o.props)||void 0===t?void 0:t.className:void 0)})},[O,null==a?void 0:a.expandIcon,null==h?void 0:h.expandIcon,F]),K=n.useMemo(()=>({prefixCls:F,inlineCollapsed:W||!1,direction:v,firstLevel:!0,theme:S,mode:D,disableMenuItemTitleTooltip:B}),[F,W,v,B,S]);return V(n.createElement(C.Z.Provider,{value:null},n.createElement(b.Provider,{value:K},n.createElement(r.ZP,Object.assign({getPopupContainer:f,overflowedIndicator:n.createElement(i.Z,null),overflowedIndicatorPopupClassName:s()(F,`${F}-${S}`,T),mode:D,selectable:M,onClick:Z},R,{inlineCollapsed:W,style:Object.assign(Object.assign({},null==h?void 0:h.style),x),className:Q,prefixCls:F,direction:v,defaultMotions:L,expandIcon:U,ref:t,rootClassName:s()(j,G,a.rootClassName,J,Y),_internalComponents:q})))))}),Y=(0,n.forwardRef)((e,t)=>{let o=(0,n.useRef)(null),r=n.useContext(l.D);return(0,n.useImperativeHandle)(t,()=>({menu:o.current,focus:e=>{var t;null===(t=o.current)||void 0===t||t.focus(e)}})),n.createElement(F,Object.assign({ref:o},e,r))});Y.Item=I,Y.SubMenu=L,Y.Divider=f,Y.ItemGroup=r.BW;var V=Y}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/3549-a8205b5cb6bcfb35.js b/dbgpt/app/static/web/_next/static/chunks/3549-a8205b5cb6bcfb35.js new file mode 100644 index 000000000..5fbc6f403 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/3549-a8205b5cb6bcfb35.js @@ -0,0 +1,3 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3549],{59510:function(e,r,t){t.d(r,{ZP:function(){return rk}});var a=t(42096),n=t(79760),l=t(38497),o=t(96469),s={},i=(0,l.createContext)(s),c=(e,r)=>(0,a.Z)({},e,r),d=()=>(0,l.useContext)(i),u=(0,l.createContext)(()=>{});function x(){return(0,l.useContext)(u)}u.displayName="JVR.DispatchShowTools";var p=e=>{var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(i.Provider,{value:r,children:(0,o.jsx)(u.Provider,{value:t,children:a})})};p.displayName="JVR.ShowTools";var f={},v=(0,l.createContext)(f),y=(e,r)=>(0,a.Z)({},e,r),m=()=>(0,l.useContext)(v),h=(0,l.createContext)(()=>{});h.displayName="JVR.DispatchExpands";var b=e=>{var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(v.Provider,{value:r,children:(0,o.jsx)(h.Provider,{value:t,children:a})})};b.displayName="JVR.Expands";var g={Str:{as:"span","data-type":"string",style:{color:"var(--w-rjv-type-string-color, #cb4b16)"},className:"w-rjv-type",children:"string"},Url:{as:"a",style:{color:"var(--w-rjv-type-url-color, #0969da)"},"data-type":"url",className:"w-rjv-type",children:"url"},Undefined:{style:{color:"var(--w-rjv-type-undefined-color, #586e75)"},as:"span","data-type":"undefined",className:"w-rjv-type",children:"undefined"},Null:{style:{color:"var(--w-rjv-type-null-color, #d33682)"},as:"span","data-type":"null",className:"w-rjv-type",children:"null"},Map:{style:{color:"var(--w-rjv-type-map-color, #268bd2)",marginRight:3},as:"span","data-type":"map",className:"w-rjv-type",children:"Map"},Nan:{style:{color:"var(--w-rjv-type-nan-color, #859900)"},as:"span","data-type":"nan",className:"w-rjv-type",children:"NaN"},Bigint:{style:{color:"var(--w-rjv-type-bigint-color, #268bd2)"},as:"span","data-type":"bigint",className:"w-rjv-type",children:"bigint"},Int:{style:{color:"var(--w-rjv-type-int-color, #268bd2)"},as:"span","data-type":"int",className:"w-rjv-type",children:"int"},Set:{style:{color:"var(--w-rjv-type-set-color, #268bd2)",marginRight:3},as:"span","data-type":"set",className:"w-rjv-type",children:"Set"},Float:{style:{color:"var(--w-rjv-type-float-color, #859900)"},as:"span","data-type":"float",className:"w-rjv-type",children:"float"},True:{style:{color:"var(--w-rjv-type-boolean-color, #2aa198)"},as:"span","data-type":"bool",className:"w-rjv-type",children:"bool"},False:{style:{color:"var(--w-rjv-type-boolean-color, #2aa198)"},as:"span","data-type":"bool",className:"w-rjv-type",children:"bool"},Date:{style:{color:"var(--w-rjv-type-date-color, #268bd2)"},as:"span","data-type":"date",className:"w-rjv-type",children:"date"}},w=(0,l.createContext)(g),j=(e,r)=>(0,a.Z)({},e,r),N=()=>(0,l.useContext)(w),E=(0,l.createContext)(()=>{});function Z(e){var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(w.Provider,{value:r,children:(0,o.jsx)(E.Provider,{value:t,children:a})})}E.displayName="JVR.DispatchTypes",Z.displayName="JVR.Types";var R=["style"];function C(e){var{style:r}=e,t=(0,n.Z)(e,R),l=(0,a.Z)({cursor:"pointer",height:"1em",width:"1em",userSelect:"none",display:"inline-flex"},r);return(0,o.jsx)("svg",(0,a.Z)({viewBox:"0 0 24 24",fill:"var(--w-rjv-arrow-color, currentColor)",style:l},t,{children:(0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"})}))}C.displayName="JVR.TriangleArrow";var L={Arrow:{as:"span",className:"w-rjv-arrow",style:{transform:"rotate(0deg)",transition:"all 0.3s"},children:(0,o.jsx)(C,{})},Colon:{as:"span",style:{color:"var(--w-rjv-colon-color, var(--w-rjv-color))",marginLeft:0,marginRight:2},className:"w-rjv-colon",children:":"},Quote:{as:"span",style:{color:"var(--w-rjv-quotes-color, #236a7c)"},className:"w-rjv-quotes",children:'"'},ValueQuote:{as:"span",style:{color:"var(--w-rjv-quotes-string-color, #cb4b16)"},className:"w-rjv-quotes",children:'"'},BracketsLeft:{as:"span",style:{color:"var(--w-rjv-brackets-color, #236a7c)"},className:"w-rjv-brackets-start",children:"["},BracketsRight:{as:"span",style:{color:"var(--w-rjv-brackets-color, #236a7c)"},className:"w-rjv-brackets-end",children:"]"},BraceLeft:{as:"span",style:{color:"var(--w-rjv-curlybraces-color, #236a7c)"},className:"w-rjv-curlybraces-start",children:"{"},BraceRight:{as:"span",style:{color:"var(--w-rjv-curlybraces-color, #236a7c)"},className:"w-rjv-curlybraces-end",children:"}"}},k=(0,l.createContext)(L),q=(e,r)=>(0,a.Z)({},e,r),V=()=>(0,l.useContext)(k),A=(0,l.createContext)(()=>{});A.displayName="JVR.DispatchSymbols";var S=e=>{var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(k.Provider,{value:r,children:(0,o.jsx)(A.Provider,{value:t,children:a})})};S.displayName="JVR.Symbols";var T={Copied:{className:"w-rjv-copied",style:{height:"1em",width:"1em",cursor:"pointer",verticalAlign:"middle",marginLeft:5}},CountInfo:{as:"span",className:"w-rjv-object-size",style:{color:"var(--w-rjv-info-color, #0000004d)",paddingLeft:8,fontStyle:"italic"}},CountInfoExtra:{as:"span",className:"w-rjv-object-extra",style:{paddingLeft:8}},Ellipsis:{as:"span",style:{cursor:"pointer",color:"var(--w-rjv-ellipsis-color, #cb4b16)",userSelect:"none"},className:"w-rjv-ellipsis",children:"..."},Row:{as:"div",className:"w-rjv-line"},KeyName:{as:"span",className:"w-rjv-object-key"}},J=(0,l.createContext)(T),B=(e,r)=>(0,a.Z)({},e,r),I=()=>(0,l.useContext)(J),D=(0,l.createContext)(()=>{});D.displayName="JVR.DispatchSection";var M=e=>{var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(J.Provider,{value:r,children:(0,o.jsx)(D.Provider,{value:t,children:a})})};M.displayName="JVR.Section";var P={objectSortKeys:!1,indentWidth:15},O=(0,l.createContext)(P);O.displayName="JVR.Context";var U=(0,l.createContext)(()=>{});function H(e,r){return(0,a.Z)({},e,r)}U.displayName="JVR.DispatchContext";var $=()=>(0,l.useContext)(O),F=e=>{var{children:r,initialState:t,initialTypes:n}=e,[i,d]=(0,l.useReducer)(H,Object.assign({},P,t)),[u,x]=(0,l.useReducer)(c,s),[v,m]=(0,l.useReducer)(y,f),[h,w]=(0,l.useReducer)(j,g),[N,E]=(0,l.useReducer)(q,L),[R,C]=(0,l.useReducer)(B,T);return(0,l.useEffect)(()=>d((0,a.Z)({},t)),[t]),(0,o.jsx)(O.Provider,{value:i,children:(0,o.jsx)(U.Provider,{value:d,children:(0,o.jsx)(p,{initial:u,dispatch:x,children:(0,o.jsx)(b,{initial:v,dispatch:m,children:(0,o.jsx)(Z,{initial:(0,a.Z)({},h,n),dispatch:w,children:(0,o.jsx)(S,{initial:N,dispatch:E,children:(0,o.jsx)(M,{initial:R,dispatch:C,children:r})})})})})})})};F.displayName="JVR.Provider";var _=t(8874),G=["isNumber"],Q=["as","render"],K=["as","render"],W=["as","render"],z=["as","style","render"],X=["as","render"],Y=["as","render"],ee=["as","render"],er=["as","render"],et=e=>{var{Quote:r={}}=V(),{isNumber:t}=e,l=(0,n.Z)(e,G);if(t)return null;var{as:s,render:i}=r,c=(0,n.Z)(r,Q),d=s||"span",u=(0,a.Z)({},l,c);return i&&"function"==typeof i&&i(u)||(0,o.jsx)(d,(0,a.Z)({},u))};et.displayName="JVR.Quote";var ea=e=>{var{ValueQuote:r={}}=V(),t=(0,a.Z)({},((0,_.Z)(e),e)),{as:l,render:s}=r,i=(0,n.Z)(r,K),c=l||"span",d=(0,a.Z)({},t,i);return s&&"function"==typeof s&&s(d)||(0,o.jsx)(c,(0,a.Z)({},d))};ea.displayName="JVR.ValueQuote";var en=()=>{var{Colon:e={}}=V(),{as:r,render:t}=e,l=(0,n.Z)(e,W),s=r||"span";return t&&"function"==typeof t&&t(l)||(0,o.jsx)(s,(0,a.Z)({},l))};en.displayName="JVR.Colon";var el=e=>{var{Arrow:r={}}=V(),t=m(),{expandKey:l}=e,s=!!t[l],{as:i,style:c,render:d}=r,u=(0,n.Z)(r,z),x=i||"span";return d&&"function"==typeof d&&d((0,a.Z)({},u,{"data-expanded":s,style:(0,a.Z)({},c,e.style)}))||(0,o.jsx)(x,(0,a.Z)({},u,{style:(0,a.Z)({},c,e.style)}))};el.displayName="JVR.Arrow";var eo=e=>{var{isBrackets:r}=e,{BracketsLeft:t={},BraceLeft:l={}}=V();if(r){var{as:s,render:i}=t,c=(0,n.Z)(t,X),d=s||"span";return i&&"function"==typeof i&&i(c)||(0,o.jsx)(d,(0,a.Z)({},c))}var{as:u,render:x}=l,p=(0,n.Z)(l,Y),f=u||"span";return x&&"function"==typeof x&&x(p)||(0,o.jsx)(f,(0,a.Z)({},p))};eo.displayName="JVR.BracketsOpen";var es=e=>{var{isBrackets:r,isVisiable:t}=e;if(!t)return null;var{BracketsRight:l={},BraceRight:s={}}=V();if(r){var{as:i,render:c}=l,d=(0,n.Z)(l,ee),u=i||"span";return c&&"function"==typeof c&&c(d)||(0,o.jsx)(u,(0,a.Z)({},d))}var{as:x,render:p}=s,f=(0,n.Z)(s,er),v=x||"span";return p&&"function"==typeof p&&p(f)||(0,o.jsx)(v,(0,a.Z)({},f))};es.displayName="JVR.BracketsClose";var ei=e=>{var r,{value:t,expandKey:a,level:n}=e,l=m(),s=Array.isArray(t),{collapsed:i}=$(),c=t instanceof Set,d=null!=(r=l[a])?r:"boolean"==typeof i?i:"number"==typeof i&&n>i,u=Object.keys(t).length;return d||0===u?null:(0,o.jsx)("div",{style:{paddingLeft:4},children:(0,o.jsx)(es,{isBrackets:s||c,isVisiable:!0})})};ei.displayName="JVR.NestedClose";var ec=["as","render"],ed=["as","render"],eu=["as","render"],ex=["as","render"],ep=["as","render"],ef=["as","render"],ev=["as","render"],ey=["as","render"],em=["as","render"],eh=["as","render"],eb=["as","render"],eg=["as","render"],ew=["as","render"],ej=e=>{if(void 0===e)return"0n";if("string"==typeof e)try{e=BigInt(e)}catch(e){return"0n"}return e?e.toString()+"n":"0n"},eN=e=>{var{value:r,keyName:t}=e,{Set:l={},displayDataTypes:s}=N();if(!(r instanceof Set)||!s)return null;var{as:i,render:c}=l,d=(0,n.Z)(l,ec),u=c&&"function"==typeof c&&c(d,{type:"type",value:r,keyName:t});if(u)return u;var x=i||"span";return(0,o.jsx)(x,(0,a.Z)({},d))};eN.displayName="JVR.SetComp";var eE=e=>{var{value:r,keyName:t}=e,{Map:l={},displayDataTypes:s}=N();if(!(r instanceof Map)||!s)return null;var{as:i,render:c}=l,d=(0,n.Z)(l,ed),u=c&&"function"==typeof c&&c(d,{type:"type",value:r,keyName:t});if(u)return u;var x=i||"span";return(0,o.jsx)(x,(0,a.Z)({},d))};eE.displayName="JVR.MapComp";var eZ={opacity:.75,paddingRight:4},eR=e=>{var{children:r="",keyName:t}=e,{Str:s={},displayDataTypes:i}=N(),{shortenTextAfterLength:c=30}=$(),{as:d,render:u}=s,x=(0,n.Z)(s,eu),[p,f]=(0,l.useState)(c&&r.length>c);(0,l.useEffect)(()=>f(c&&r.length>c),[c]);var v=d||"span",y=(0,a.Z)({},eZ,s.style||{});c>0&&(x.style=(0,a.Z)({},x.style,{cursor:r.length<=c?"initial":"pointer"}),r.length>c&&(x.onClick=()=>{f(!p)}));var m=p?r.slice(0,c)+"...":r,h=u&&"function"==typeof u,b=h&&u((0,a.Z)({},x,{style:y}),{type:"type",value:r,keyName:t}),g=h&&u((0,a.Z)({},x,{children:m,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(b||(0,o.jsx)(v,(0,a.Z)({},x,{style:y}))),g||(0,o.jsxs)(l.Fragment,{children:[(0,o.jsx)(ea,{}),(0,o.jsx)(v,(0,a.Z)({},x,{className:"w-rjv-value",children:m})),(0,o.jsx)(ea,{})]})]})};eR.displayName="JVR.TypeString";var eC=e=>{var{children:r,keyName:t}=e,{True:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,ex),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y||(0,o.jsx)(x,(0,a.Z)({},u,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};eC.displayName="JVR.TypeTrue";var eL=e=>{var{children:r,keyName:t}=e,{False:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,ep),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y||(0,o.jsx)(x,(0,a.Z)({},u,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};eL.displayName="JVR.TypeFalse";var ek=e=>{var{children:r,keyName:t}=e,{Float:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,ef),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y||(0,o.jsx)(x,(0,a.Z)({},u,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};ek.displayName="JVR.TypeFloat";var eq=e=>{var{children:r,keyName:t}=e,{Int:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,ev),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y||(0,o.jsx)(x,(0,a.Z)({},u,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};eq.displayName="JVR.TypeInt";var eV=e=>{var{children:r,keyName:t}=e,{Bigint:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,ey),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y||(0,o.jsx)(x,(0,a.Z)({},u,{className:"w-rjv-value",children:ej(null==r?void 0:r.toString())}))]})};eV.displayName="JVR.TypeFloat";var eA=e=>{var{children:r,keyName:t}=e,{Url:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,em),x=c||"span",p=(0,a.Z)({},eZ,s.style),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:null==r?void 0:r.href,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y||(0,o.jsxs)("a",(0,a.Z)({href:null==r?void 0:r.href,target:"_blank"},u,{className:"w-rjv-value",children:[(0,o.jsx)(ea,{}),null==r?void 0:r.href,(0,o.jsx)(ea,{})]}))]})};eA.displayName="JVR.TypeUrl";var eS=e=>{var{children:r,keyName:t}=e,{Date:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,eh),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=r instanceof Date?r.toLocaleString():r,m=f&&d((0,a.Z)({},u,{children:y,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),m||(0,o.jsx)(x,(0,a.Z)({},u,{className:"w-rjv-value",children:y}))]})};eS.displayName="JVR.TypeDate";var eT=e=>{var{children:r,keyName:t}=e,{Undefined:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,eb),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y]})};eT.displayName="JVR.TypeUndefined";var eJ=e=>{var{children:r,keyName:t}=e,{Null:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,eg),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y]})};eJ.displayName="JVR.TypeNull";var eB=e=>{var{children:r,keyName:t}=e,{Nan:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,ew),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:null==r?void 0:r.toString(),className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y]})};eB.displayName="JVR.TypeNan";var eI=e=>Number(e)===e&&e%1!=0||isNaN(e),eD=e=>{var{value:r,keyName:t}=e,n={keyName:t};return r instanceof URL?(0,o.jsx)(eA,(0,a.Z)({},n,{children:r})):"string"==typeof r?(0,o.jsx)(eR,(0,a.Z)({},n,{children:r})):!0===r?(0,o.jsx)(eC,(0,a.Z)({},n,{children:r})):!1===r?(0,o.jsx)(eL,(0,a.Z)({},n,{children:r})):null===r?(0,o.jsx)(eJ,(0,a.Z)({},n,{children:r})):void 0===r?(0,o.jsx)(eT,(0,a.Z)({},n,{children:r})):r instanceof Date?(0,o.jsx)(eS,(0,a.Z)({},n,{children:r})):"number"==typeof r&&isNaN(r)?(0,o.jsx)(eB,(0,a.Z)({},n,{children:r})):"number"==typeof r&&eI(r)?(0,o.jsx)(ek,(0,a.Z)({},n,{children:r})):"bigint"==typeof r?(0,o.jsx)(eV,(0,a.Z)({},n,{children:r})):"number"==typeof r?(0,o.jsx)(eq,(0,a.Z)({},n,{children:r})):null};function eM(e,r,t){var n=(0,l.useContext)(A),o=[e.className,r.className].filter(Boolean).join(" "),s=(0,a.Z)({},e,r,{className:o,style:(0,a.Z)({},e.style,r.style),children:r.children||e.children});(0,l.useEffect)(()=>n({[t]:s}),[r])}function eP(e,r,t){var n=(0,l.useContext)(E),o=[e.className,r.className].filter(Boolean).join(" "),s=(0,a.Z)({},e,r,{className:o,style:(0,a.Z)({},e.style,r.style),children:r.children||e.children});(0,l.useEffect)(()=>n({[t]:s}),[r])}function eO(e,r,t){var n=(0,l.useContext)(D),o=[e.className,r.className].filter(Boolean).join(" "),s=(0,a.Z)({},e,r,{className:o,style:(0,a.Z)({},e.style,r.style),children:r.children||e.children});(0,l.useEffect)(()=>n({[t]:s}),[r])}eD.displayName="JVR.Value";var eU=["as","render"],eH=e=>{var{KeyName:r={}}=I();return eO(r,e,"KeyName"),null};eH.displayName="JVR.KeyName";var e$=e=>{var{children:r,value:t,parentValue:l,keyName:s,keys:i}=e,c="number"==typeof r,{KeyName:d={}}=I(),{as:u,render:x}=d,p=(0,n.Z)(d,eU);p.style=(0,a.Z)({},p.style,{color:c?"var(--w-rjv-key-number, #268bd2)":"var(--w-rjv-key-string, #002b36)"});var f=u||"span";return x&&"function"==typeof x&&x((0,a.Z)({},p,{children:r}),{value:t,parentValue:l,keyName:s,keys:i||(s?[s]:[])})||(0,o.jsx)(f,(0,a.Z)({},p,{children:r}))};e$.displayName="JVR.KeyNameComp";var eF=["children","value","parentValue","keyName","keys"],e_=["as","render","children"],eG=e=>{var{Row:r={}}=I();return eO(r,e,"Row"),null};eG.displayName="JVR.Row";var eQ=e=>{var{children:r,value:t,parentValue:l,keyName:s,keys:i}=e,c=(0,n.Z)(e,eF),{Row:d={}}=I(),{as:u,render:x}=d,p=(0,n.Z)(d,e_),f=u||"div";return x&&"function"==typeof x&&x((0,a.Z)({},c,p,{children:r}),{value:t,keyName:s,parentValue:l,keys:i})||(0,o.jsx)(f,(0,a.Z)({},c,p,{children:r}))};eQ.displayName="JVR.RowComp";var eK=["keyName","value","parentValue","expandKey","keys"],eW=["as","render"],ez=e=>{var{keyName:r,value:t,parentValue:s,expandKey:i,keys:c}=e,u=(0,n.Z)(e,eK),{onCopied:x,enableClipboard:p}=$(),f=d()[i],[v,y]=(0,l.useState)(!1),{Copied:m={}}=I();if(!1===p||!f)return null;var h={style:{display:"inline-flex"},fill:v?"var(--w-rjv-copied-success-color, #28a745)":"var(--w-rjv-copied-color, currentColor)",onClick:e=>{e.stopPropagation();var r="";r="number"==typeof t&&t===1/0?"Infinity":"number"==typeof t&&isNaN(t)?"NaN":"bigint"==typeof t?ej(t):t instanceof Date?t.toLocaleString():JSON.stringify(t,(e,r)=>"bigint"==typeof r?ej(r):r,2),x&&x(r,t),y(!0),(navigator.clipboard||{writeText:e=>new Promise((r,t)=>{var a=document.createElement("textarea");a.style.position="absolute",a.style.opacity="0",a.style.left="-99999999px",a.value=e,document.body.appendChild(a),a.select(),document.execCommand("copy")?r():t(),a.remove()})}).writeText(r).then(()=>{var e=setTimeout(()=>{y(!1),clearTimeout(e)},3e3)}).catch(e=>{})}},{render:b}=m,g=(0,n.Z)(m,eW),w=(0,a.Z)({},g,u,h,{style:(0,a.Z)({},g.style,u.style,h.style)});return b&&"function"==typeof b&&b((0,a.Z)({},w,{"data-copied":v}),{value:t,keyName:r,keys:c,parentValue:s})||(v?(0,o.jsx)("svg",(0,a.Z)({viewBox:"0 0 32 36"},w,{children:(0,o.jsx)("path",{d:"M27.5,33 L2.5,33 L2.5,12.5 L27.5,12.5 L27.5,15.2249049 C29.1403264,13.8627542 29.9736597,13.1778155 30,13.1700887 C30,11.9705278 30,10.0804982 30,7.5 C30,6.1 28.9,5 27.5,5 L20,5 C20,2.2 17.8,0 15,0 C12.2,0 10,2.2 10,5 L2.5,5 C1.1,5 0,6.1 0,7.5 L0,33 C0,34.4 1.1,36 2.5,36 L27.5,36 C28.9,36 30,34.4 30,33 L30,26.1114493 L27.5,28.4926435 L27.5,33 Z M7.5,7.5 L10,7.5 C10,7.5 12.5,6.4 12.5,5 C12.5,3.6 13.6,2.5 15,2.5 C16.4,2.5 17.5,3.6 17.5,5 C17.5,6.4 18.8,7.5 20,7.5 L22.5,7.5 C22.5,7.5 25,8.6 25,10 L5,10 C5,8.5 6.1,7.5 7.5,7.5 Z M5,27.5 L10,27.5 L10,25 L5,25 L5,27.5 Z M28.5589286,16 L32,19.6 L21.0160714,30.5382252 L13.5303571,24.2571429 L17.1303571,20.6571429 L21.0160714,24.5428571 L28.5589286,16 Z M17.5,15 L5,15 L5,17.5 L17.5,17.5 L17.5,15 Z M10,20 L5,20 L5,22.5 L10,22.5 L10,20 Z"})})):(0,o.jsx)("svg",(0,a.Z)({viewBox:"0 0 32 36"},w,{children:(0,o.jsx)("path",{d:"M27.5,33 L2.5,33 L2.5,12.5 L27.5,12.5 L27.5,20 L30,20 L30,7.5 C30,6.1 28.9,5 27.5,5 L20,5 C20,2.2 17.8,0 15,0 C12.2,0 10,2.2 10,5 L2.5,5 C1.1,5 0,6.1 0,7.5 L0,33 C0,34.4 1.1,36 2.5,36 L27.5,36 C28.9,36 30,34.4 30,33 L30,29 L27.5,29 L27.5,33 Z M7.5,7.5 L10,7.5 C10,7.5 12.5,6.4 12.5,5 C12.5,3.6 13.6,2.5 15,2.5 C16.4,2.5 17.5,3.6 17.5,5 C17.5,6.4 18.8,7.5 20,7.5 L22.5,7.5 C22.5,7.5 25,8.6 25,10 L5,10 C5,8.5 6.1,7.5 7.5,7.5 Z M5,27.5 L10,27.5 L10,25 L5,25 L5,27.5 Z M22.5,21.5 L22.5,16.5 L12.5,24 L22.5,31.5 L22.5,26.5 L32,26.5 L32,21.5 L22.5,21.5 Z M17.5,15 L5,15 L5,17.5 L17.5,17.5 L17.5,15 Z M10,20 L5,20 L5,22.5 L10,22.5 L10,20 Z"})})))};ez.displayName="JVR.Copied";var eX=e=>{var r,{value:t,expandKey:a="",level:n,keys:l=[]}=e,s=m(),{objectSortKeys:i,indentWidth:c,collapsed:d}=$(),u=Array.isArray(t);if(null!=(r=s[a])?r:"boolean"==typeof d?d:"number"==typeof d&&n>d)return null;var x=u?Object.entries(t).map(e=>[Number(e[0]),e[1]]):Object.entries(t);return i&&(x=!0===i?x.sort((e,r)=>{var[t]=e,[a]=r;return"string"==typeof t&&"string"==typeof a?t.localeCompare(a):0}):x.sort((e,r)=>{var[t,a]=e,[n,l]=r;return"string"==typeof t&&"string"==typeof n?i(t,n,a,l):0})),(0,o.jsx)("div",{className:"w-rjv-wrap",style:{borderLeft:"var(--w-rjv-border-left-width, 1px) var(--w-rjv-line-style, solid) var(--w-rjv-line-color, #ebebeb)",paddingLeft:c,marginLeft:6},children:x.map((e,r)=>{var[a,s]=e;return(0,o.jsx)(e0,{parentValue:t,keyName:a,keys:[...l,a],value:s,level:n},r)})})};eX.displayName="JVR.KeyValues";var eY=e=>{var{keyName:r,parentValue:t,keys:a,value:n}=e,{highlightUpdates:s}=$(),i="number"==typeof r,c=(0,l.useRef)(null);return!function(e){var r,{value:t,highlightUpdates:a,highlightContainer:n}=e,o=(r=(0,l.useRef)(),(0,l.useEffect)(()=>{r.current=t}),r.current),s=(0,l.useMemo)(()=>!!a&&void 0!==o&&(typeof t!=typeof o||("number"==typeof t?!(isNaN(t)&&isNaN(o))&&t!==o:Array.isArray(t)!==Array.isArray(o)||"object"!=typeof t&&"function"!=typeof t&&(t!==o||void 0))),[a,t]);(0,l.useEffect)(()=>{n&&n.current&&s&&"animate"in n.current&&n.current.animate([{backgroundColor:"var(--w-rjv-update-color, #ebcb8b)"},{backgroundColor:""}],{duration:1e3,easing:"ease-in"})},[s,t,n])}({value:n,highlightUpdates:s,highlightContainer:c}),(0,o.jsxs)(l.Fragment,{children:[(0,o.jsxs)("span",{ref:c,children:[(0,o.jsx)(et,{isNumber:i,"data-placement":"left"}),(0,o.jsx)(e$,{keyName:r,value:n,keys:a,parentValue:t,children:r}),(0,o.jsx)(et,{isNumber:i,"data-placement":"right"})]}),(0,o.jsx)(en,{})]})};eY.displayName="JVR.KayName";var e0=e=>{var{keyName:r,value:t,parentValue:n,level:s=0,keys:i=[]}=e,c=x(),d=(0,l.useId)(),u=Array.isArray(t),p=t instanceof Set,f=t instanceof Map,v=t instanceof Date,y=t instanceof URL;if(t&&"object"==typeof t&&!u&&!p&&!f&&!v&&!y||u||p||f){var m=p?Array.from(t):f?Object.fromEntries(t):t;return(0,o.jsx)(rn,{keyName:r,value:m,parentValue:n,initialValue:t,keys:i,level:s+1})}return(0,o.jsxs)(eQ,(0,a.Z)({className:"w-rjv-line",value:t,keyName:r,keys:i,parentValue:n},{onMouseEnter:()=>c({[d]:!0}),onMouseLeave:()=>c({[d]:!1})},{children:[(0,o.jsx)(eY,{keyName:r,value:t,keys:i,parentValue:n}),(0,o.jsx)(eD,{keyName:r,value:t}),(0,o.jsx)(ez,{keyName:r,value:t,keys:i,parentValue:n,expandKey:d})]}))};e0.displayName="JVR.KeyValuesItem";var e5=["value","keyName"],e1=["as","render"],e3=e=>{var{CountInfoExtra:r={}}=I();return eO(r,e,"CountInfoExtra"),null};e3.displayName="JVR.CountInfoExtra";var e2=e=>{var{value:r={},keyName:t}=e,l=(0,n.Z)(e,e5),{CountInfoExtra:s={}}=I(),{as:i,render:c}=s,d=(0,n.Z)(s,e1);if(!c&&!d.children)return null;var u=i||"span",x=(0,a.Z)({},d,l);return c&&"function"==typeof c&&c(x,{value:r,keyName:t})||(0,o.jsx)(u,(0,a.Z)({},x))};e2.displayName="JVR.CountInfoExtraComps";var e8=["value","keyName"],e6=["as","render"],e7=e=>{var{CountInfo:r={}}=I();return eO(r,e,"CountInfo"),null};e7.displayName="JVR.CountInfo";var e4=e=>{var{value:r={},keyName:t}=e,l=(0,n.Z)(e,e8),{displayObjectSize:s}=$(),{CountInfo:i={}}=I();if(!s)return null;var{as:c,render:d}=i,u=(0,n.Z)(i,e6),x=c||"span";u.style=(0,a.Z)({},u.style,e.style);var p=Object.keys(r).length;u.children||(u.children=p+" item"+(1===p?"":"s"));var f=(0,a.Z)({},u,l);return d&&"function"==typeof d&&d((0,a.Z)({},f,{"data-length":p}),{value:r,keyName:t})||(0,o.jsx)(x,(0,a.Z)({},f))};e4.displayName="JVR.CountInfoComp";var e9=["as","render"],re=e=>{var{Ellipsis:r={}}=I();return eO(r,e,"Ellipsis"),null};re.displayName="JVR.Ellipsis";var rr=e=>{var{isExpanded:r,value:t,keyName:l}=e,{Ellipsis:s={}}=I(),{as:i,render:c}=s,d=(0,n.Z)(s,e9),u=i||"span";return c&&"function"==typeof c&&c((0,a.Z)({},d,{"data-expanded":r}),{value:t,keyName:l})||(r&&("object"!=typeof t||0!=Object.keys(t).length)?(0,o.jsx)(u,(0,a.Z)({},d)):null)};rr.displayName="JVR.EllipsisComp";var rt=e=>{var r,{keyName:t,expandKey:n,keys:s,initialValue:i,value:c,parentValue:d,level:u}=e,x=m(),p=(0,l.useContext)(h),{onExpand:f,collapsed:v}=$(),y=Array.isArray(c),b=c instanceof Set,g=null!=(r=x[n])?r:"boolean"==typeof v?v:"number"==typeof v&&u>v,w="object"==typeof c,j=0!==Object.keys(c).length&&(y||b||w),N={style:{display:"inline-flex",alignItems:"center"}};return j&&(N.onClick=()=>{var e={expand:!g,value:c,keyid:n,keyName:t};f&&f(e),p({[n]:e.expand})}),(0,o.jsxs)("span",(0,a.Z)({},N,{children:[j&&(0,o.jsx)(el,{style:{transform:"rotate("+(g?"-90":"0")+"deg)",transition:"all 0.3s"},expandKey:n}),(t||"number"==typeof t)&&(0,o.jsx)(eY,{keyName:t}),(0,o.jsx)(eN,{value:i,keyName:t}),(0,o.jsx)(eE,{value:i,keyName:t}),(0,o.jsx)(eo,{isBrackets:y||b}),(0,o.jsx)(rr,{keyName:t,value:c,isExpanded:g}),(0,o.jsx)(es,{isVisiable:g||!j,isBrackets:y||b}),(0,o.jsx)(e4,{value:c,keyName:t}),(0,o.jsx)(e2,{value:c,keyName:t}),(0,o.jsx)(ez,{keyName:t,value:c,expandKey:n,parentValue:d,keys:s})]}))};rt.displayName="JVR.NestedOpen";var ra=["className","children","parentValue","keyid","level","value","initialValue","keys","keyName"],rn=(0,l.forwardRef)((e,r)=>{var{className:t="",parentValue:s,level:i=1,value:c,initialValue:d,keys:u,keyName:p}=e,f=(0,n.Z)(e,ra),v=x(),y=(0,l.useId)(),m=[t,"w-rjv-inner"].filter(Boolean).join(" ");return(0,o.jsxs)("div",(0,a.Z)({className:m,ref:r},f,{onMouseEnter:()=>v({[y]:!0}),onMouseLeave:()=>v({[y]:!1})},{children:[(0,o.jsx)(rt,{expandKey:y,value:c,level:i,keys:u,parentValue:s,keyName:p,initialValue:d}),(0,o.jsx)(eX,{expandKey:y,value:c,level:i,keys:u,parentValue:s,keyName:p}),(0,o.jsx)(ei,{expandKey:y,value:c,level:i})]}))});rn.displayName="JVR.Container";var rl=e=>{var{BraceLeft:r={}}=V();return eM(r,e,"BraceLeft"),null};rl.displayName="JVR.BraceLeft";var ro=e=>{var{BraceRight:r={}}=V();return eM(r,e,"BraceRight"),null};ro.displayName="JVR.BraceRight";var rs=e=>{var{BracketsLeft:r={}}=V();return eM(r,e,"BracketsLeft"),null};rs.displayName="JVR.BracketsLeft";var ri=e=>{var{BracketsRight:r={}}=V();return eM(r,e,"BracketsRight"),null};ri.displayName="JVR.BracketsRight";var rc=e=>{var{Arrow:r={}}=V();return eM(r,e,"Arrow"),null};rc.displayName="JVR.Arrow";var rd=e=>{var{Colon:r={}}=V();return eM(r,e,"Colon"),null};rd.displayName="JVR.Colon";var ru=e=>{var{Quote:r={}}=V();return eM(r,e,"Quote"),null};ru.displayName="JVR.Quote";var rx=e=>{var{ValueQuote:r={}}=V();return eM(r,e,"ValueQuote"),null};rx.displayName="JVR.ValueQuote";var rp=e=>{var{Bigint:r={}}=N();return eP(r,e,"Bigint"),null};rp.displayName="JVR.Bigint";var rf=e=>{var{Date:r={}}=N();return eP(r,e,"Date"),null};rf.displayName="JVR.Date";var rv=e=>{var{False:r={}}=N();return eP(r,e,"False"),null};rv.displayName="JVR.False";var ry=e=>{var{Float:r={}}=N();return eP(r,e,"Float"),null};ry.displayName="JVR.Float";var rm=e=>{var{Int:r={}}=N();return eP(r,e,"Int"),null};rm.displayName="JVR.Int";var rh=e=>{var{Map:r={}}=N();return eP(r,e,"Map"),null};rh.displayName="JVR.Map";var rb=e=>{var{Nan:r={}}=N();return eP(r,e,"Nan"),null};rb.displayName="JVR.Nan";var rg=e=>{var{Null:r={}}=N();return eP(r,e,"Null"),null};rg.displayName="JVR.Null";var rw=e=>{var{Set:r={}}=N();return eP(r,e,"Set"),null};rw.displayName="JVR.Set";var rj=e=>{var{Str:r={}}=N();return eP(r,e,"Str"),null};rj.displayName="JVR.StringText";var rN=e=>{var{True:r={}}=N();return eP(r,e,"True"),null};rN.displayName="JVR.True";var rE=e=>{var{Undefined:r={}}=N();return eP(r,e,"Undefined"),null};rE.displayName="JVR.Undefined";var rZ=e=>{var{Url:r={}}=N();return eP(r,e,"Url"),null};rZ.displayName="JVR.Url";var rR=e=>{var{Copied:r={}}=I();return eO(r,e,"Copied"),null};rR.displayName="JVR.Copied";var rC=["className","style","value","children","collapsed","indentWidth","displayObjectSize","shortenTextAfterLength","highlightUpdates","enableClipboard","displayDataTypes","objectSortKeys","onExpand","onCopied"],rL=(0,l.forwardRef)((e,r)=>{var{className:t="",style:l,value:s,children:i,collapsed:c,indentWidth:d=15,displayObjectSize:u=!0,shortenTextAfterLength:x=30,highlightUpdates:p=!0,enableClipboard:f=!0,displayDataTypes:v=!0,objectSortKeys:y=!1,onExpand:m,onCopied:h}=e,b=(0,n.Z)(e,rC),g=(0,a.Z)({lineHeight:1.4,fontFamily:"var(--w-rjv-font-family, Menlo, monospace)",color:"var(--w-rjv-color, #002b36)",backgroundColor:"var(--w-rjv-background-color, #00000000)",fontSize:13},l),w=["w-json-view-container","w-rjv",t].filter(Boolean).join(" ");return(0,o.jsxs)(F,{initialState:{value:s,objectSortKeys:y,indentWidth:d,displayObjectSize:u,collapsed:c,enableClipboard:f,shortenTextAfterLength:x,highlightUpdates:p,onCopied:h,onExpand:m},initialTypes:{displayDataTypes:v},children:[(0,o.jsx)(rn,(0,a.Z)({value:s},b,{ref:r,className:w,style:g})),i]})});rL.Bigint=rp,rL.Date=rf,rL.False=rv,rL.Float=ry,rL.Int=rm,rL.Map=rh,rL.Nan=rb,rL.Null=rg,rL.Set=rw,rL.String=rj,rL.True=rN,rL.Undefined=rE,rL.Url=rZ,rL.ValueQuote=rx,rL.Arrow=rc,rL.Colon=rd,rL.Quote=ru,rL.Ellipsis=re,rL.BraceLeft=rl,rL.BraceRight=ro,rL.BracketsLeft=rs,rL.BracketsRight=ri,rL.Copied=rR,rL.CountInfo=e7,rL.CountInfoExtra=e3,rL.KeyName=eH,rL.Row=eG,rL.displayName="JVR.JsonView";var rk=rL},60855:function(e,r,t){t.d(r,{R:function(){return a}});var a={"--w-rjv-font-family":"monospace","--w-rjv-color":"#79c0ff","--w-rjv-key-string":"#79c0ff","--w-rjv-background-color":"#0d1117","--w-rjv-line-color":"#94949480","--w-rjv-arrow-color":"#ccc","--w-rjv-edit-color":"var(--w-rjv-color)","--w-rjv-info-color":"#7b7b7b","--w-rjv-update-color":"#ebcb8b","--w-rjv-copied-color":"#79c0ff","--w-rjv-copied-success-color":"#28a745","--w-rjv-curlybraces-color":"#8b949e","--w-rjv-colon-color":"#c9d1d9","--w-rjv-brackets-color":"#8b949e","--w-rjv-quotes-color":"var(--w-rjv-key-string)","--w-rjv-quotes-string-color":"var(--w-rjv-type-string-color)","--w-rjv-type-string-color":"#a5d6ff","--w-rjv-type-int-color":"#79c0ff","--w-rjv-type-float-color":"#79c0ff","--w-rjv-type-bigint-color":"#79c0ff","--w-rjv-type-boolean-color":"#ffab70","--w-rjv-type-date-color":"#79c0ff","--w-rjv-type-url-color":"#4facff","--w-rjv-type-null-color":"#ff7b72","--w-rjv-type-nan-color":"#859900","--w-rjv-type-undefined-color":"#79c0ff"}},95679:function(e,r,t){t.d(r,{K:function(){return a}});var a={"--w-rjv-font-family":"monospace","--w-rjv-color":"#6f42c1","--w-rjv-key-string":"#6f42c1","--w-rjv-background-color":"#ffffff","--w-rjv-line-color":"#ddd","--w-rjv-arrow-color":"#6e7781","--w-rjv-edit-color":"var(--w-rjv-color)","--w-rjv-info-color":"#0000004d","--w-rjv-update-color":"#ebcb8b","--w-rjv-copied-color":"#002b36","--w-rjv-copied-success-color":"#28a745","--w-rjv-curlybraces-color":"#6a737d","--w-rjv-colon-color":"#24292e","--w-rjv-brackets-color":"#6a737d","--w-rjv-quotes-color":"var(--w-rjv-key-string)","--w-rjv-quotes-string-color":"var(--w-rjv-type-string-color)","--w-rjv-type-string-color":"#032f62","--w-rjv-type-int-color":"#005cc5","--w-rjv-type-float-color":"#005cc5","--w-rjv-type-bigint-color":"#005cc5","--w-rjv-type-boolean-color":"#d73a49","--w-rjv-type-date-color":"#005cc5","--w-rjv-type-url-color":"#0969da","--w-rjv-type-null-color":"#d73a49","--w-rjv-type-nan-color":"#859900","--w-rjv-type-undefined-color":"#005cc5"}},76914:function(e,r,t){t.d(r,{Z:function(){return B}});var a=t(38497),n=t(16147),l=t(86298),o=t(84223),s=t(71836),i=t(44661),c=t(26869),d=t.n(c),u=t(53979),x=t(66168),p=t(7544),f=t(55091),v=t(63346),y=t(38083),m=t(60848),h=t(90102);let b=(e,r,t,a,n)=>({background:e,border:`${(0,y.bf)(a.lineWidth)} ${a.lineType} ${r}`,[`${n}-icon`]:{color:t}}),g=e=>{let{componentCls:r,motionDurationSlow:t,marginXS:a,marginSM:n,fontSize:l,fontSizeLG:o,lineHeight:s,borderRadiusLG:i,motionEaseInOutCirc:c,withDescriptionIconSize:d,colorText:u,colorTextHeading:x,withDescriptionPadding:p,defaultPadding:f}=e;return{[r]:Object.assign(Object.assign({},(0,m.Wf)(e)),{position:"relative",display:"flex",alignItems:"center",padding:f,wordWrap:"break-word",borderRadius:i,[`&${r}-rtl`]:{direction:"rtl"},[`${r}-content`]:{flex:1,minWidth:0},[`${r}-icon`]:{marginInlineEnd:a,lineHeight:0},"&-description":{display:"none",fontSize:l,lineHeight:s},"&-message":{color:x},[`&${r}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${t} ${c}, opacity ${t} ${c}, + padding-top ${t} ${c}, padding-bottom ${t} ${c}, + margin-bottom ${t} ${c}`},[`&${r}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${r}-with-description`]:{alignItems:"flex-start",padding:p,[`${r}-icon`]:{marginInlineEnd:n,fontSize:d,lineHeight:0},[`${r}-message`]:{display:"block",marginBottom:a,color:x,fontSize:o},[`${r}-description`]:{display:"block",color:u}},[`${r}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},w=e=>{let{componentCls:r,colorSuccess:t,colorSuccessBorder:a,colorSuccessBg:n,colorWarning:l,colorWarningBorder:o,colorWarningBg:s,colorError:i,colorErrorBorder:c,colorErrorBg:d,colorInfo:u,colorInfoBorder:x,colorInfoBg:p}=e;return{[r]:{"&-success":b(n,a,t,e,r),"&-info":b(p,x,u,e,r),"&-warning":b(s,o,l,e,r),"&-error":Object.assign(Object.assign({},b(d,c,i,e,r)),{[`${r}-description > pre`]:{margin:0,padding:0}})}}},j=e=>{let{componentCls:r,iconCls:t,motionDurationMid:a,marginXS:n,fontSizeIcon:l,colorIcon:o,colorIconHover:s}=e;return{[r]:{"&-action":{marginInlineStart:n},[`${r}-close-icon`]:{marginInlineStart:n,padding:0,overflow:"hidden",fontSize:l,lineHeight:(0,y.bf)(l),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${t}-close`]:{color:o,transition:`color ${a}`,"&:hover":{color:s}}},"&-close-text":{color:o,transition:`color ${a}`,"&:hover":{color:s}}}}};var N=(0,h.I$)("Alert",e=>[g(e),w(e),j(e)],e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`})),E=function(e,r){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>r.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,a=Object.getOwnPropertySymbols(e);nr.indexOf(a[n])&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(t[a[n]]=e[a[n]]);return t};let Z={success:n.Z,info:i.Z,error:l.Z,warning:s.Z},R=e=>{let{icon:r,prefixCls:t,type:n}=e,l=Z[n]||null;return r?(0,f.wm)(r,a.createElement("span",{className:`${t}-icon`},r),()=>({className:d()(`${t}-icon`,{[r.props.className]:r.props.className})})):a.createElement(l,{className:`${t}-icon`})},C=e=>{let{isClosable:r,prefixCls:t,closeIcon:n,handleClose:l,ariaProps:s}=e,i=!0===n||void 0===n?a.createElement(o.Z,null):n;return r?a.createElement("button",Object.assign({type:"button",onClick:l,className:`${t}-close-icon`,tabIndex:0},s),i):null},L=a.forwardRef((e,r)=>{let{description:t,prefixCls:n,message:l,banner:o,className:s,rootClassName:i,style:c,onMouseEnter:f,onMouseLeave:y,onClick:m,afterClose:h,showIcon:b,closable:g,closeText:w,closeIcon:j,action:Z,id:L}=e,k=E(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[q,V]=a.useState(!1),A=a.useRef(null);a.useImperativeHandle(r,()=>({nativeElement:A.current}));let{getPrefixCls:S,direction:T,alert:J}=a.useContext(v.E_),B=S("alert",n),[I,D,M]=N(B),P=r=>{var t;V(!0),null===(t=e.onClose)||void 0===t||t.call(e,r)},O=a.useMemo(()=>void 0!==e.type?e.type:o?"warning":"info",[e.type,o]),U=a.useMemo(()=>"object"==typeof g&&!!g.closeIcon||!!w||("boolean"==typeof g?g:!1!==j&&null!=j||!!(null==J?void 0:J.closable)),[w,j,g,null==J?void 0:J.closable]),H=!!o&&void 0===b||b,$=d()(B,`${B}-${O}`,{[`${B}-with-description`]:!!t,[`${B}-no-icon`]:!H,[`${B}-banner`]:!!o,[`${B}-rtl`]:"rtl"===T},null==J?void 0:J.className,s,i,M,D),F=(0,x.Z)(k,{aria:!0,data:!0}),_=a.useMemo(()=>{var e,r;return"object"==typeof g&&g.closeIcon?g.closeIcon:w||(void 0!==j?j:"object"==typeof(null==J?void 0:J.closable)&&(null===(e=null==J?void 0:J.closable)||void 0===e?void 0:e.closeIcon)?null===(r=null==J?void 0:J.closable)||void 0===r?void 0:r.closeIcon:null==J?void 0:J.closeIcon)},[j,g,w,null==J?void 0:J.closeIcon]),G=a.useMemo(()=>{let e=null!=g?g:null==J?void 0:J.closable;if("object"==typeof e){let{closeIcon:r}=e,t=E(e,["closeIcon"]);return t}return{}},[g,null==J?void 0:J.closable]);return I(a.createElement(u.ZP,{visible:!q,motionName:`${B}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:h},(r,n)=>{let{className:o,style:s}=r;return a.createElement("div",Object.assign({id:L,ref:(0,p.sQ)(A,n),"data-show":!q,className:d()($,o),style:Object.assign(Object.assign(Object.assign({},null==J?void 0:J.style),c),s),onMouseEnter:f,onMouseLeave:y,onClick:m,role:"alert"},F),H?a.createElement(R,{description:t,icon:e.icon,prefixCls:B,type:O}):null,a.createElement("div",{className:`${B}-content`},l?a.createElement("div",{className:`${B}-message`},l):null,t?a.createElement("div",{className:`${B}-description`},t):null),Z?a.createElement("div",{className:`${B}-action`},Z):null,a.createElement(C,{isClosable:U,prefixCls:B,closeIcon:_,handleClose:P,ariaProps:G}))}))});var k=t(97290),q=t(80972),V=t(10496),A=t(48307),S=t(75734),T=t(63119);let J=function(e){function r(){var e,t,a;return(0,k.Z)(this,r),t=r,a=arguments,t=(0,V.Z)(t),(e=(0,S.Z)(this,(0,A.Z)()?Reflect.construct(t,a||[],(0,V.Z)(this).constructor):t.apply(this,a))).state={error:void 0,info:{componentStack:""}},e}return(0,T.Z)(r,e),(0,q.Z)(r,[{key:"componentDidCatch",value:function(e,r){this.setState({error:e,info:r})}},{key:"render",value:function(){let{message:e,description:r,id:t,children:n}=this.props,{error:l,info:o}=this.state,s=(null==o?void 0:o.componentStack)||null,i=void 0===e?(l||"").toString():e;return l?a.createElement(L,{id:t,type:"error",message:i,description:a.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},void 0===r?s:r)}):n}}])}(a.Component);L.ErrorBoundary=J;var B=L},8874:function(e,r,t){t.d(r,{Z:function(){return a}});function a(e){if(null==e)throw TypeError("Cannot destructure "+e)}},9154:function(e,r,t){t.d(r,{ge:function(){return c},p1:function(){return w},Go:function(){return b},HP:function(){return x}});var a,n,l,o,s,i,c,d,u,x=new Uint16Array('ᵁ<\xd5ıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\x00\x00\x00\x00\x00\x00ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig耻\xc6䃆P耻&䀦cute耻\xc1䃁reve;䄂Āiyx}rc耻\xc2䃂;䐐r;쀀\ud835\udd04rave耻\xc0䃀pha;䎑acr;䄀d;橓Āgp\x9d\xa1on;䄄f;쀀\ud835\udd38plyFunction;恡ing耻\xc5䃅Ācs\xbe\xc3r;쀀\ud835\udc9cign;扔ilde耻\xc3䃃ml耻\xc4䃄Ѐaceforsu\xe5\xfb\xfeėĜĢħĪĀcr\xea\xf2kslash;或Ŷ\xf6\xf8;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀\ud835\udd05pf;쀀\ud835\udd39eve;䋘c\xf2ēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻\xa9䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻\xc7䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷\xf2ſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀\ud835\udc9epĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀\ud835\udd07Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\x00\x00\x00͔͂\x00Ѕf;쀀\ud835\udd3bƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegra\xecȹoɴ͹\x00\x00ͻ\xbb͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔e\xe5ˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\x00\x00ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\x00ц\x00ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\x00ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀\ud835\udc9frok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻\xd0䃐cute耻\xc9䃉ƀaiyӒӗӜron;䄚rc耻\xca䃊;䐭ot;䄖r;쀀\ud835\udd08rave耻\xc8䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\x00\x00ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀\ud835\udd3csilon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻\xcb䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀\ud835\udd09lledɓ֗\x00\x00֣mallSquare;旼erySmallSquare;斪Ͱֺ\x00ֿ\x00\x00ׄf;쀀\ud835\udd3dAll;戀riertrf;愱c\xf2׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\ud835\udd0a;拙pf;쀀\ud835\udd3eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\ud835\udca2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\x00ڲf;愍izontalLine;攀Āctۃۅ\xf2کrok;䄦mpńېۘownHum\xf0įqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻\xcd䃍Āiyܓܘrc耻\xce䃎;䐘ot;䄰r;愑rave耻\xcc䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lie\xf3ϝǴ݉\x00ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\ud835\udd40a;䎙cr;愐ilde;䄨ǫޚ\x00ޞcy;䐆l耻\xcf䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀\ud835\udd0dpf;쀀\ud835\udd41ǣ߇\x00ߌr;쀀\ud835\udca5rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀\ud835\udd0epf;쀀\ud835\udd42cr;쀀\ud835\udca6րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\x00ࣃbleBracket;柦nǔࣈ\x00࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ight\xe1Μs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\ud835\udd0fĀ;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊight\xe1οight\xe1ϊf;쀀\ud835\udd43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂ\xf2ࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀\ud835\udd10nusPlus;戓pf;쀀\ud835\udd44c\xf2੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘\xeb૙eryThi\xee૙tedĀGL૸ଆreaterGreate\xf2ٳessLes\xf3ੈLine;䀊r;쀀\ud835\udd11ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀\ud835\udca9ilde耻\xd1䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻\xd3䃓Āiy෎ීrc耻\xd4䃔;䐞blac;䅐r;쀀\ud835\udd12rave耻\xd2䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀\ud835\udd46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\ud835\udcaaash耻\xd8䃘iŬื฼de耻\xd5䃕es;樷ml耻\xd6䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀\ud835\udd13i;䎦;䎠usMinus;䂱Āipຢອncareplan\xe5ڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀\ud835\udcab;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀\ud835\udd14pf;愚cr;쀀\ud835\udcac؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻\xae䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r\xbbཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\x00စbleBracket;柧nǔည\x00နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀\ud835\udd16ortȀDLRUᄪᄴᄾᅉownArrow\xbbОeftArrow\xbb࢚ightArrow\xbb࿝pArrow;憑gma;䎣allCircle;战pf;쀀\ud835\udd4aɲᅭ\x00\x00ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\ud835\udcaear;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Th\xe1ྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et\xbbሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻\xde䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\ud835\udd17Āeiቻ኉Dzኀ\x00ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\ud835\udd4bipleDot;惛Āctዖዛr;쀀\ud835\udcafrok;䅦ૡዷጎጚጦ\x00ጬጱ\x00\x00\x00\x00\x00ጸጽ፷ᎅ\x00᏿ᐄᐊᐐĀcrዻጁute耻\xda䃚rĀ;oጇገ憟cir;楉rǣጓ\x00጖y;䐎ve;䅬Āiyጞጣrc耻\xdb䃛;䐣blac;䅰r;쀀\ud835\udd18rave耻\xd9䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀\ud835\udd4cЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥own\xe1ϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\ud835\udcb0ilde;䅨ml耻\xdc䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\ud835\udd19pf;쀀\ud835\udd4dcr;쀀\ud835\udcb1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\ud835\udd1apf;쀀\ud835\udd4ecr;쀀\ud835\udcb2Ȁfiosᓋᓐᓒᓘr;쀀\ud835\udd1b;䎞pf;쀀\ud835\udd4fcr;쀀\ud835\udcb3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻\xdd䃝Āiyᔉᔍrc;䅶;䐫r;쀀\ud835\udd1cpf;쀀\ud835\udd50cr;쀀\ud835\udcb4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\x00ᕛoWidt\xe8૙a;䎖r;愨pf;愤cr;쀀\ud835\udcb5௡ᖃᖊᖐ\x00ᖰᖶᖿ\x00\x00\x00\x00ᗆᗛᗫᙟ᙭\x00ᚕ᚛ᚲᚹ\x00ᚾcute耻\xe1䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻\xe2䃢te肻\xb4̆;䐰lig耻\xe6䃦Ā;r\xb2ᖺ;쀀\ud835\udd1erave耻\xe0䃠ĀepᗊᗖĀfpᗏᗔsym;愵\xe8ᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\x00\x00ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e\xbbᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢\xbb\xb9arr;捼Āgpᙣᙧon;䄅f;쀀\ud835\udd52΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒ\xf1ᚃing耻\xe5䃥ƀctyᚡᚦᚨr;쀀\ud835\udcb6;䀪mpĀ;e዁ᚯ\xf1ʈilde耻\xe3䃣ml耻\xe4䃤Āciᛂᛈonin\xf4ɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e\xbbᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰s\xe9ᜌno\xf5ēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀\ud835\udd1fg΀costuvwឍឝឳេ៕៛៞ƀaiuបពរ\xf0ݠrc;旯p\xbb፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\x00\x00ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄e\xe5ᑄ\xe5ᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\x00ᠳƲᠯ\x00ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\ud835\udd53Ā;tᏋᡣom\xbbᏌtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻\xa6䂦Ȁceioᥑᥖᥚᥠr;쀀\ud835\udcb7mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t\xbb᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\x00᧨ᨑᨕᨲ\x00ᨷᩐ\x00\x00᪴\x00\x00᫁\x00\x00ᬡᬮ᭍᭒\x00᯽\x00ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁\xeeړȀaeiu᧰᧻ᨁᨅǰ᧵\x00᧸s;橍on;䄍dil耻\xe7䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻\xb8ƭptyv;榲t脀\xa2;eᨭᨮ䂢r\xe4Ʋr;쀀\ud835\udd20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark\xbbᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\x00\x00᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟\xbbཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it\xbb᪼ˬ᫇᫔᫺\x00ᬊonĀ;eᫍᫎ䀺Ā;q\xc7\xc6ɭ᫙\x00\x00᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁\xeeᅠeĀmx᫱᫶ent\xbb᫩e\xf3ɍǧ᫾\x00ᬇĀ;dኻᬂot;橭n\xf4Ɇƀfryᬐᬔᬗ;쀀\ud835\udd54o\xe4ɔ脀\xa9;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\ud835\udcb8Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\x00\x00᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\x00\x00ᯒre\xe3᭳u\xe3᭵ee;拎edge;拏en耻\xa4䂤earrowĀlrᯮ᯳eft\xbbᮀight\xbbᮽe\xe4ᯝĀciᰁᰇonin\xf4Ƿnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍r\xf2΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸\xf2ᄳhĀ;vᱚᱛ怐\xbbऊūᱡᱧarow;椏a\xe3̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻\xb0䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\ud835\udd21arĀlrᲳᲵ\xbbࣜ\xbbသʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀\xf7;o᳧ᳰntimes;拇n\xf8᳷cy;䑒cɯᴆ\x00\x00ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\ud835\udd55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedg\xe5\xfanƀadhᄮᵝᵧownarrow\xf3ᲃarpoonĀlrᵲᵶef\xf4Ჴigh\xf4ᲶŢᵿᶅkaro\xf7གɯᶊ\x00\x00ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\ud835\udcb9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃r\xf2Щa\xf2ྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴo\xf4ᲉĀcsḎḔute耻\xe9䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻\xea䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\ud835\udd22ƀ;rsṐṑṗ檚ave耻\xe8䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et\xbbẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\ud835\udd56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on\xbbớ;䏵ȀcsuvỪỳἋἣĀioữḱrc\xbbḮɩỹ\x00\x00ỻ\xedՈantĀglἂἆtr\xbbṝess\xbbṺƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯o\xf4͒ĀahὉὋ;䎷耻\xf0䃰Āmrὓὗl耻\xeb䃫o;悬ƀcipὡὤὧl;䀡s\xf4ծĀeoὬὴctatio\xeeՙnential\xe5չৡᾒ\x00ᾞ\x00ᾡᾧ\x00\x00ῆῌ\x00ΐ\x00ῦῪ \x00 ⁚llingdotse\xf1Ṅy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\x00\x00᾽g;耀ffig;耀ffl;쀀\ud835\udd23lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\x00ῳf;쀀\ud835\udd57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\x00⁐β•‥‧‪‬\x00‮耻\xbd䂽;慓耻\xbc䂼;慕;慙;慛Ƴ‴\x00‶;慔;慖ʴ‾⁁\x00\x00⁃耻\xbe䂾;慗;慜5;慘ƶ⁌\x00⁎;慚;慝8;慞l;恄wn;挢cr;쀀\ud835\udcbbࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lan\xf4٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\ud835\udd24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox\xbbℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\ud835\udd58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\x00↎pro\xf8₞r;楸qĀlqؿ↖les\xf3₈i\xed٫Āen↣↭rtneqq;쀀≩︀\xc5↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽r\xf2ΠȀilmr⇐⇔⇗⇛rs\xf0ᒄf\xbb․il\xf4کĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it\xbb∊lip;怦con;抹r;쀀\ud835\udd25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\ud835\udd59bar;怕ƀclt≯≴≸r;쀀\ud835\udcbdas\xe8⇴rok;䄧Ābp⊂⊇ull;恃hen\xbbᱛૡ⊣\x00⊪\x00⊸⋅⋎\x00⋕⋳\x00\x00⋸⌢⍧⍢⍿\x00⎆⎪⎴cute耻\xed䃭ƀ;iyݱ⊰⊵rc耻\xee䃮;䐸Ācx⊼⊿y;䐵cl耻\xa1䂡ĀfrΟ⋉;쀀\ud835\udd26rave耻\xec䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓in\xe5ގar\xf4ܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝do\xf4⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙er\xf3ᕣ\xe3⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\ud835\udd5aa;䎹uest耻\xbf䂿Āci⎊⎏r;쀀\ud835\udcbenʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\x00⎼cy;䑖l耻\xef䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\ud835\udd27ath;䈷pf;쀀\ud835\udd5bǣ⏬\x00⏱r;쀀\ud835\udcbfrcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\ud835\udd28reen;䄸cy;䑅cy;䑜pf;쀀\ud835\udd5ccr;쀀\ud835\udcc0஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼r\xf2৆\xf2Εail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\x00⒪\x00⒱\x00\x00\x00\x00\x00⒵Ⓔ\x00ⓆⓈⓍ\x00⓹ute;䄺mptyv;榴ra\xeeࡌbda;䎻gƀ;dlࢎⓁⓃ;榑\xe5ࢎ;檅uo耻\xab䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝\xeb≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼\xecࢰ\xe2┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□a\xe9⓶arpoonĀdu▯▴own\xbbњp\xbb०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoon\xf3྘quigarro\xf7⇰hreetimes;拋ƀ;qs▋ও◺lan\xf4বʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋ppro\xf8Ⓠot;拖qĀgq♃♅\xf4উgt\xf2⒌\xf4ছi\xedলƀilr♕࣡♚sht;楼;쀀\ud835\udd29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖r\xf2◁orne\xf2ᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che\xbb⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox\xbb⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽r\xebࣁgƀlmr⛿✍✔eftĀar০✇ight\xe1৲apsto;柼ight\xe1৽parrowĀlr✥✩ef\xf4⓭ight;憬ƀafl✶✹✽r;榅;쀀\ud835\udd5dus;樭imes;樴š❋❏st;戗\xe1ፎƀ;ef❗❘᠀旊nge\xbb❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇r\xf2ࢨorne\xf2ᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\ud835\udcc1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹re\xe5◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀\xc5⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻\xaf䂯Āet⡗⡙;時Ā;e⡞⡟朠se\xbb⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻ow\xeeҌef\xf4ए\xf0Ꮡker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle\xbbᘦr;쀀\ud835\udd2ao;愧ƀcdn⢯⢴⣉ro耻\xb5䂵Ȁ;acdᑤ⢽⣀⣄s\xf4ᚧir;櫰ot肻\xb7Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛\xf2−\xf0ઁĀdp⣩⣮els;抧f;쀀\ud835\udd5eĀct⣸⣽r;쀀\ud835\udcc2pos\xbbᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la\xbb˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉ro\xf8඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\x00⧣p肻\xa0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\x00⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸ui\xf6ୣĀei⩊⩎ar;椨\xed஘istĀ;s஠டr;쀀\ud835\udd2bȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lan\xf4௢i\xed௪Ā;rஶ⪁\xbbஷƀAap⪊⪍⪑r\xf2⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹r\xf2⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro\xf7⫁ightarro\xf7⪐ƀ;qs఻⪺⫪lan\xf4ౕĀ;sౕ⫴\xbbశi\xedౝĀ;rవ⫾iĀ;eచథi\xe4ඐĀpt⬌⬑f;쀀\ud835\udd5f膀\xac;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lle\xec୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳u\xe5ಥĀ;cಘ⭸Ā;eಒ⭽\xf1ಘȀAait⮈⮋⮝⮧r\xf2⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow\xbb⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉u\xe5൅;쀀\ud835\udcc3ortɭ⬅\x00\x00⯖ar\xe1⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭\xe5೸\xe5ഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗ\xf1സȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇ\xecௗlde耻\xf1䃱\xe7ృiangleĀlrⱒⱜeftĀ;eచⱚ\xf1దightĀ;eೋⱥ\xf1೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ⴭ\x00ⴸⵈⵠⵥ⵲ⶄᬇ\x00\x00ⶍⶫ\x00ⷈⷎ\x00ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻\xf3䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻\xf4䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀\ud835\udd2cͯ⵹\x00\x00⵼\x00ⶂn;䋛ave耻\xf2䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨr\xf2᪀Āir⶝ⶠr;榾oss;榻n\xe5๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\ud835\udd60ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨r\xf2᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f\xbbⷿ耻\xaa䂪耻\xba䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧\xf2⸁ash耻\xf8䃸l;折iŬⸯ⸴de耻\xf5䃵esĀ;aǛ⸺s;樶ml耻\xf6䃶bar;挽ૡ⹞\x00⹽\x00⺀⺝\x00⺢⺹\x00\x00⻋ຜ\x00⼓\x00\x00⼫⾼\x00⿈rȀ;astЃ⹧⹲຅脀\xb6;l⹭⹮䂶le\xecЃɩ⹸\x00\x00⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\ud835\udd2dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕ma\xf4੶ne;明ƀ;tv⺿⻀⻈䏀chfork\xbb´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎\xf6⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻\xb1ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\ud835\udd61nd耻\xa3䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷u\xe5໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾ppro\xf8⽃urlye\xf1໙\xf1໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨i\xedໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺\xf0⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴\xef໻rel;抰Āci⿀⿅r;쀀\ud835\udcc5;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀\ud835\udd2epf;쀀\ud835\udd62rime;恗cr;쀀\ud835\udcc6ƀaeo⿸〉〓tĀei⿾々rnion\xf3ڰnt;樖stĀ;e【】䀿\xf1Ἑ\xf4༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがr\xf2Ⴓ\xf2ϝail;検ar\xf2ᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕i\xe3ᅮmptyv;榳gȀ;del࿑らるろ;榒;榥\xe5࿑uo耻\xbb䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞\xeb≝\xf0✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶al\xf3༞ƀabrョリヮr\xf2៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗\xec࿲\xe2ヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜn\xe5Ⴛar\xf4ྩt;断ƀilrㅩဣㅮsht;楽;쀀\ud835\udd2fĀaoㅷㆆrĀduㅽㅿ\xbbѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭa\xe9トarpoonĀduㆻㆿow\xeeㅾp\xbb႒eftĀah㇊㇐rrow\xf3࿪arpoon\xf3Ցightarrows;應quigarro\xf7ニhreetimes;拌g;䋚ingdotse\xf1ἲƀahm㈍㈐㈓r\xf2࿪a\xf2Ց;怏oustĀ;a㈞㈟掱che\xbb㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾r\xebဃƀafl㉇㉊㉎r;榆;쀀\ud835\udd63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒ar\xf2㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\ud835\udcc7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠re\xe5ㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\x00㍺㎤\x00\x00㏬㏰\x00㐨㑈㑚㒭㒱㓊㓱\x00㘖\x00\x00㘳cute;䅛qu\xef➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\x00㋼;檸on;䅡u\xe5ᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓i\xedሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒\xeb∨Ā;oਸ਼਴t耻\xa7䂧i;䀻war;椩mĀin㍩\xf0nu\xf3\xf1t;朶rĀ;o㍶⁕쀀\ud835\udd30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\x00\x00㎜i\xe4ᑤara\xec⹯耻\xad䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲ar\xf2ᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetm\xe9㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\ud835\udd64aĀdr㑍ЂesĀ;u㑔㑕晠it\xbb㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍\xf1ᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝\xf1ᆮƀ;afᅻ㒦ְrť㒫ֱ\xbbᅼar\xf2ᅈȀcemt㒹㒾㓂㓅r;쀀\ud835\udcc8tm\xee\xf1i\xec㐕ar\xe6ᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psilo\xeeỠh\xe9⺯s\xbb⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦ppro\xf8㋺urlye\xf1ᇾ\xf1ᇳƀaes㖂㖈㌛ppro\xf8㌚q\xf1㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻\xb9䂹耻\xb2䂲耻\xb3䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨\xeb∮Ā;oਫ਩war;椪lig耻\xdf䃟௡㙑㙝㙠ዎ㙳㙹\x00㙾㛂\x00\x00\x00\x00\x00㛛㜃\x00㜉㝬\x00\x00\x00㞇ɲ㙖\x00\x00㙛get;挖;䏄r\xeb๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\ud835\udd31Ȁeiko㚆㚝㚵㚼Dz㚋\x00㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮ppro\xf8዁im\xbbኬs\xf0ኞĀas㚺㚮\xf0዁rn耻\xfe䃾Ǭ̟㛆⋧es膀\xd7;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀\xe1⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\ud835\udd65rk;櫚\xe1㍢rime;怴ƀaip㜏㜒㝤d\xe5ቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own\xbbᶻeftĀ;e⠀㜾\xf1म;扜ightĀ;e㊪㝋\xf1ၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\ud835\udcc9;䑆cy;䑛rok;䅧Āio㞋㞎x\xf4᝷headĀlr㞗㞠eftarro\xf7ࡏightarrow\xbbཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶r\xf2ϭar;楣Ācr㟜㟢ute耻\xfa䃺\xf2ᅐrǣ㟪\x00㟭y;䑞ve;䅭Āiy㟵㟺rc耻\xfb䃻;䑃ƀabh㠃㠆㠋r\xf2Ꭽlac;䅱a\xf2ᏃĀir㠓㠘sht;楾;쀀\ud835\udd32rave耻\xf9䃹š㠧㠱rĀlr㠬㠮\xbbॗ\xbbႃlk;斀Āct㠹㡍ɯ㠿\x00\x00㡊rnĀ;e㡅㡆挜r\xbb㡆op;挏ri;旸Āal㡖㡚cr;䅫肻\xa8͉Āgp㡢㡦on;䅳f;쀀\ud835\udd66̀adhlsuᅋ㡸㡽፲㢑㢠own\xe1ᎳarpoonĀlr㢈㢌ef\xf4㠭igh\xf4㠯iƀ;hl㢙㢚㢜䏅\xbbᏺon\xbb㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\x00\x00㣁rnĀ;e㢼㢽挝r\xbb㢽op;挎ng;䅯ri;旹cr;쀀\ud835\udccaƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨\xbb᠓Āam㣯㣲r\xf2㢨l耻\xfc䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠r\xf2ϷarĀ;v㤦㤧櫨;櫩as\xe8ϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖app\xe1␕othin\xe7ẖƀhir㓫⻈㥙op\xf4⾵Ā;hᎷ㥢\xefㆍĀiu㥩㥭gm\xe1㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟et\xe1㚜iangleĀlr㦪㦯eft\xbbथight\xbbၑy;䐲ash\xbbံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨa\xf2ᑩr;쀀\ud835\udd33tr\xe9㦮suĀbp㧯㧱\xbbജ\xbb൙pf;쀀\ud835\udd67ro\xf0໻tr\xe9㦴Ācu㨆㨋r;쀀\ud835\udccbĀbp㨐㨘nĀEe㦀㨖\xbb㥾nĀEe㦒㨞\xbb㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\ud835\udd34pf;쀀\ud835\udd68Ā;eᑹ㩦at\xe8ᑹcr;쀀\ud835\udcccૣណ㪇\x00㪋\x00㪐㪛\x00\x00㪝㪨㪫㪯\x00\x00㫃㫎\x00㫘ៜ៟tr\xe9៑r;쀀\ud835\udd35ĀAa㪔㪗r\xf2σr\xf2৶;䎾ĀAa㪡㪤r\xf2θr\xf2৫a\xf0✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\ud835\udd69im\xe5ឲĀAa㫇㫊r\xf2ώr\xf2ਁĀcq㫒ីr;쀀\ud835\udccdĀpt៖㫜r\xe9។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻\xfd䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻\xa5䂥r;쀀\ud835\udd36cy;䑗pf;쀀\ud835\udd6acr;쀀\ud835\udcceĀcm㬦㬩y;䑎l耻\xff䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡tr\xe6ᕟa;䎶r;쀀\ud835\udd37cy;䐶grarr;懝pf;쀀\ud835\udd6bcr;쀀\ud835\udccfĀjn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),p=new Uint16Array("Ȁaglq \x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));let f=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),v=null!==(s=String.fromCodePoint)&&void 0!==s?s:function(e){let r="";return e>65535&&(e-=65536,r+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),r+=String.fromCharCode(e)};function y(e){return e>=i.ZERO&&e<=i.NINE}(a=i||(i={}))[a.NUM=35]="NUM",a[a.SEMI=59]="SEMI",a[a.EQUALS=61]="EQUALS",a[a.ZERO=48]="ZERO",a[a.NINE=57]="NINE",a[a.LOWER_A=97]="LOWER_A",a[a.LOWER_F=102]="LOWER_F",a[a.LOWER_X=120]="LOWER_X",a[a.LOWER_Z=122]="LOWER_Z",a[a.UPPER_A=65]="UPPER_A",a[a.UPPER_F=70]="UPPER_F",a[a.UPPER_Z=90]="UPPER_Z",(n=c||(c={}))[n.VALUE_LENGTH=49152]="VALUE_LENGTH",n[n.BRANCH_LENGTH=16256]="BRANCH_LENGTH",n[n.JUMP_TABLE=127]="JUMP_TABLE",(l=d||(d={}))[l.EntityStart=0]="EntityStart",l[l.NumericStart=1]="NumericStart",l[l.NumericDecimal=2]="NumericDecimal",l[l.NumericHex=3]="NumericHex",l[l.NamedEntity=4]="NamedEntity",(o=u||(u={}))[o.Legacy=0]="Legacy",o[o.Strict=1]="Strict",o[o.Attribute=2]="Attribute";class m{constructor(e,r,t){this.decodeTree=e,this.emitCodePoint=r,this.errors=t,this.state=d.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=u.Strict}startEntity(e){this.decodeMode=e,this.state=d.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case d.EntityStart:if(e.charCodeAt(r)===i.NUM)return this.state=d.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1);return this.state=d.NamedEntity,this.stateNamedEntity(e,r);case d.NumericStart:return this.stateNumericStart(e,r);case d.NumericDecimal:return this.stateNumericDecimal(e,r);case d.NumericHex:return this.stateNumericHex(e,r);case d.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(32|e.charCodeAt(r))===i.LOWER_X?(this.state=d.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=d.NumericDecimal,this.stateNumericDecimal(e,r))}addToNumericResult(e,r,t,a){if(r!==t){let n=t-r;this.result=this.result*Math.pow(a,n)+parseInt(e.substr(r,n),a),this.consumed+=n}}stateNumericHex(e,r){let t=r;for(;r=i.UPPER_A)||!(a<=i.UPPER_F))&&(!(a>=i.LOWER_A)||!(a<=i.LOWER_F)))return this.addToNumericResult(e,t,r,16),this.emitNumericEntity(n,3);r+=1}return this.addToNumericResult(e,t,r,16),-1}stateNumericDecimal(e,r){let t=r;for(;r=55296&&a<=57343||a>1114111?65533:null!==(n=f.get(a))&&void 0!==n?n:a,this.consumed),this.errors&&(e!==i.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,r){let{decodeTree:t}=this,a=t[this.treeIndex],n=(a&c.VALUE_LENGTH)>>14;for(;r=i.UPPER_A&&r<=i.UPPER_Z||r>=i.LOWER_A&&r<=i.LOWER_Z||y(r)}(l))?0:this.emitNotTerminatedNamedEntity();if(0!=(n=((a=t[this.treeIndex])&c.VALUE_LENGTH)>>14)){if(l===i.SEMI)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);this.decodeMode!==u.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:r,decodeTree:t}=this,a=(t[r]&c.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,a,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,r,t){let{decodeTree:a}=this;return this.emitCodePoint(1===r?a[e]&~c.VALUE_LENGTH:a[e+1],t),3===r&&this.emitCodePoint(a[e+2],t),t}end(){var e;switch(this.state){case d.NamedEntity:return 0!==this.result&&(this.decodeMode!==u.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case d.NumericDecimal:return this.emitNumericEntity(0,2);case d.NumericHex:return this.emitNumericEntity(0,3);case d.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case d.EntityStart:return 0}}}function h(e){let r="",t=new m(e,e=>r+=v(e));return function(e,a){let n=0,l=0;for(;(l=e.indexOf("&",l))>=0;){r+=e.slice(n,l),t.startEntity(a);let o=t.write(e,l+1);if(o<0){n=l+t.end();break}n=l+o,l=0===o?n+1:n}let o=r+e.slice(n);return r="",o}}function b(e,r,t,a){let n=(r&c.BRANCH_LENGTH)>>7,l=r&c.JUMP_TABLE;if(0===n)return 0!==l&&a===l?t:-1;if(l){let r=a-l;return r<0||r>=n?-1:e[t+r]-1}let o=t,s=o+n-1;for(;o<=s;){let r=o+s>>>1,t=e[r];if(ta))return e[r+n];s=r-1}}return -1}let g=h(x);function w(e,r=u.Legacy){return g(e,r)}h(p)},58645:function(e,r,t){let a=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function n(e,r){return function(t){let a;let n=0,l="";for(;a=e.exec(t);)n!==a.index&&(l+=t.substring(n,a.index)),l+=r.get(a[0].charCodeAt(0)),n=a.index+1;return l+t.substring(n)}}null!=String.prototype.codePointAt||((e,r)=>(64512&e.charCodeAt(r))==55296?(e.charCodeAt(r)-55296)*1024+e.charCodeAt(r+1)-56320+65536:e.charCodeAt(r)),n(/[&<>'"]/g,a),n(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),n(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/3695.927bb2ec22c7ebc5.js b/dbgpt/app/static/web/_next/static/chunks/3695.98e3bd84687bdeda.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/3695.927bb2ec22c7ebc5.js rename to dbgpt/app/static/web/_next/static/chunks/3695.98e3bd84687bdeda.js index 93b2ce9b6..44aa118ee 100644 --- a/dbgpt/app/static/web/_next/static/chunks/3695.927bb2ec22c7ebc5.js +++ b/dbgpt/app/static/web/_next/static/chunks/3695.98e3bd84687bdeda.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3695],{74552:function(e,t,n){n.d(t,{Z:function(){return i}});var l=n(42096),a=n(38497),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},r=n(75651),i=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,l.Z)({},e,{ref:t,icon:s}))})},16559:function(e,t,n){n.d(t,{Z:function(){return i}});var l=n(42096),a=n(38497),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},r=n(75651),i=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,l.Z)({},e,{ref:t,icon:s}))})},54537:function(e,t,n){var l=n(38497);let a=(0,l.createContext)({});t.Z=a},98606:function(e,t,n){var l=n(38497),a=n(26869),s=n.n(a),r=n(63346),i=n(54537),c=n(54009),o=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,l=Object.getOwnPropertySymbols(e);at.indexOf(l[a])&&Object.prototype.propertyIsEnumerable.call(e,l[a])&&(n[l[a]]=e[l[a]]);return n};function u(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let d=["xs","sm","md","lg","xl","xxl"],f=l.forwardRef((e,t)=>{let{getPrefixCls:n,direction:a}=l.useContext(r.E_),{gutter:f,wrap:p}=l.useContext(i.Z),{prefixCls:x,span:m,order:h,offset:g,push:y,pull:$,className:v,children:b,flex:j,style:w}=e,C=o(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),k=n("col",x),[N,O,_]=(0,c.cG)(k),Z={},S={};d.forEach(t=>{let n={},l=e[t];"number"==typeof l?n.span=l:"object"==typeof l&&(n=l||{}),delete C[t],S=Object.assign(Object.assign({},S),{[`${k}-${t}-${n.span}`]:void 0!==n.span,[`${k}-${t}-order-${n.order}`]:n.order||0===n.order,[`${k}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${k}-${t}-push-${n.push}`]:n.push||0===n.push,[`${k}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${k}-rtl`]:"rtl"===a}),n.flex&&(S[`${k}-${t}-flex`]=!0,Z[`--${k}-${t}-flex`]=u(n.flex))});let M=s()(k,{[`${k}-${m}`]:void 0!==m,[`${k}-order-${h}`]:h,[`${k}-offset-${g}`]:g,[`${k}-push-${y}`]:y,[`${k}-pull-${$}`]:$},v,S,O,_),I={};if(f&&f[0]>0){let e=f[0]/2;I.paddingLeft=e,I.paddingRight=e}return j&&(I.flex=u(j),!1!==p||I.minWidth||(I.minWidth=0)),N(l.createElement("div",Object.assign({},C,{style:Object.assign(Object.assign(Object.assign({},I),w),Z),className:M,ref:t}),b))});t.Z=f},22698:function(e,t,n){var l=n(38497),a=n(26869),s=n.n(a),r=n(30432),i=n(63346),c=n(54537),o=n(54009),u=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,l=Object.getOwnPropertySymbols(e);at.indexOf(l[a])&&Object.prototype.propertyIsEnumerable.call(e,l[a])&&(n[l[a]]=e[l[a]]);return n};function d(e,t){let[n,a]=l.useState("string"==typeof e?e:""),s=()=>{if("string"==typeof e&&a(e),"object"==typeof e)for(let n=0;n{s()},[JSON.stringify(e),t]),n}let f=l.forwardRef((e,t)=>{let{prefixCls:n,justify:a,align:f,className:p,style:x,children:m,gutter:h=0,wrap:g}=e,y=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:$,direction:v}=l.useContext(i.E_),[b,j]=l.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[w,C]=l.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),k=d(f,w),N=d(a,w),O=l.useRef(h),_=(0,r.ZP)();l.useEffect(()=>{let e=_.subscribe(e=>{C(e);let t=O.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&j(e)});return()=>_.unsubscribe(e)},[]);let Z=$("row",n),[S,M,I]=(0,o.VM)(Z),E=(()=>{let e=[void 0,void 0],t=Array.isArray(h)?h:[h,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let l=0;l0?-(E[0]/2):void 0;V&&(A.marginLeft=V,A.marginRight=V);let[z,R]=E;A.rowGap=R;let G=l.useMemo(()=>({gutter:[z,R],wrap:g}),[z,R,g]);return S(l.createElement(c.Z.Provider,{value:G},l.createElement("div",Object.assign({},y,{className:P,style:Object.assign(Object.assign({},A),x),ref:t}),m)))});t.Z=f},54009:function(e,t,n){n.d(t,{VM:function(){return u},cG:function(){return d}});var l=n(72178),a=n(90102),s=n(74934);let r=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},i=(e,t)=>{let{prefixCls:n,componentCls:l,gridColumns:a}=e,s={};for(let e=a;e>=0;e--)0===e?(s[`${l}${t}-${e}`]={display:"none"},s[`${l}-push-${e}`]={insetInlineStart:"auto"},s[`${l}-pull-${e}`]={insetInlineEnd:"auto"},s[`${l}${t}-push-${e}`]={insetInlineStart:"auto"},s[`${l}${t}-pull-${e}`]={insetInlineEnd:"auto"},s[`${l}${t}-offset-${e}`]={marginInlineStart:0},s[`${l}${t}-order-${e}`]={order:0}):(s[`${l}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/a*100}%`,maxWidth:`${e/a*100}%`}],s[`${l}${t}-push-${e}`]={insetInlineStart:`${e/a*100}%`},s[`${l}${t}-pull-${e}`]={insetInlineEnd:`${e/a*100}%`},s[`${l}${t}-offset-${e}`]={marginInlineStart:`${e/a*100}%`},s[`${l}${t}-order-${e}`]={order:e});return s[`${l}${t}-flex`]={flex:`var(--${n}${t}-flex)`},s},c=(e,t)=>i(e,t),o=(e,t,n)=>({[`@media (min-width: ${(0,l.bf)(t)})`]:Object.assign({},c(e,n))}),u=(0,a.I$)("Grid",e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},()=>({})),d=(0,a.I$)("Grid",e=>{let t=(0,s.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[r(t),c(t,""),c(t,"-xs"),Object.keys(n).map(e=>o(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},574:function(e,t,n){n.r(t);var l=n(96469),a=n(61977),s=n(26657),r=n(87674),i=n(26869),c=n.n(i),o=n(38497),u=n(29549),d=n(93597);t.default=(0,o.memo)(e=>{let{message:t,index:n}=e,{scene:i}=(0,o.useContext)(u.MobileChatContext),{context:f,model_name:p,role:x,thinking:m}=t,h=(0,o.useMemo)(()=>"view"===x,[x]),g=(0,o.useRef)(null),{value:y}=(0,o.useMemo)(()=>{if("string"!=typeof f)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=f.split(" relations:"),n=t?t.split(","):[],l=[],a=0,s=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let n=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),s=JSON.parse(n),r="".concat(a,"");return l.push({...s,result:$(null!==(t=s.result)&&void 0!==t?t:"")}),a++,r}catch(t){return console.log(t.message,t),e}});return{relations:n,cachePluginContext:l,value:s}},[f]),$=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"");return(0,l.jsxs)("div",{className:c()("flex w-full",{"justify-end":!h}),ref:g,children:[!h&&(0,l.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:f}),h&&(0,l.jsxs)("div",{className:"flex max-w-full flex-col flex-wrap bg-white dark:bg-[rgba(255,255,255,0.16)] p-3 rounded-xl rounded-bl-none",children:["string"==typeof f&&"chat_agent"===i&&(0,l.jsx)(s.default,{children:null==y?void 0:y.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}),"string"==typeof f&&"chat_agent"!==i&&(0,l.jsx)(s.default,{children:$(y)}),m&&!f&&(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,l.jsxs)("div",{className:"flex",children:[(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!m&&(0,l.jsx)(r.Z,{className:"my-2"}),(0,l.jsxs)("div",{className:c()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!m}),children:[(0,l.jsx)(d.default,{content:t,index:n,chatDialogRef:g}),"chat_agent"!==i&&(0,l.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,l.jsx)(a.Z,{width:14,height:14,model:p}),(0,l.jsx)("span",{className:"text-xs text-gray-500",children:p})]})]})]})]})})},33068:function(e,t,n){n.r(t);var l=n(96469),a=n(38497),s=n(29549),r=n(574);t.default=(0,a.memo)(()=>{let{history:e}=(0,a.useContext)(s.MobileChatContext),t=(0,a.useMemo)(()=>e.filter(e=>["view","human"].includes(e.role)),[e]);return(0,l.jsx)("div",{className:"flex flex-col gap-4",children:!!t.length&&t.map((e,t)=>(0,l.jsx)(r.default,{message:e,index:t},e.context+t))})})},39452:function(e,t,n){n.r(t);var l=n(96469),a=n(51657),s=n(49030),r=n(41999),i=n(27691),c=n(38497);t.default=e=>{let{open:t,setFeedbackOpen:n,list:o,feedback:u,loading:d}=e,[f,p]=(0,c.useState)([]),[x,m]=(0,c.useState)("");return(0,l.jsx)(a.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>n(!1),destroyOnClose:!0,height:"auto",children:(0,l.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,l.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==o?void 0:o.map(e=>{let t=f.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,l.jsx)(s.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{p(t=>{let n=t.findIndex(t=>t.reason_type===e.reason_type);return n>-1?[...t.slice(0,n),...t.slice(n+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,l.jsx)(r.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:x,onChange:e=>m(e.target.value.trim())}),(0,l.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,l.jsx)(i.ZP,{className:"w-16 h-8",onClick:()=>{n(!1)},children:"取消"}),(0,l.jsx)(i.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=f.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:x}))},loading:d,children:"确认"})]})]})})}},93597:function(e,t,n){n.r(t);var l=n(96469),a=n(27623),s=n(16559),r=n(74552),i=n(67576),c=n(16602),o=n(95891),u=n(87674),d=n(27691),f=n(26869),p=n.n(f),x=n(93486),m=n.n(x),h=n(38497),g=n(29549),y=n(39452);t.default=e=>{var t;let{content:n,index:f,chatDialogRef:x}=e,{conv_uid:$,history:v,scene:b}=(0,h.useContext)(g.MobileChatContext),{message:j}=o.Z.useApp(),[w,C]=(0,h.useState)(!1),[k,N]=(0,h.useState)(null==n?void 0:null===(t=n.feedback)||void 0===t?void 0:t.feedback_type),[O,_]=(0,h.useState)([]),Z=async e=>{var t;let n=null==e?void 0:e.replace(/\trelations:.*/g,""),l=m()((null===(t=x.current)||void 0===t?void 0:t.textContent)||n);l?n?j.success("复制成功"):j.warning("内容复制为空"):j.error("复制失败")},{run:S,loading:M}=(0,c.Z)(async e=>await (0,a.Vx)((0,a.zx)({conv_uid:$,message_id:n.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;N(null==t?void 0:t.feedback_type),j.success("反馈成功"),C(!1)}}),{run:I}=(0,c.Z)(async()=>await (0,a.Vx)((0,a.Ir)({conv_uid:$,message_id:(null==n?void 0:n.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(N("none"),j.success("操作成功"))}}),{run:E}=(0,c.Z)(async()=>await (0,a.Vx)((0,a.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;_(t||[]),t&&C(!0)}}),{run:P,loading:A}=(0,c.Z)(async()=>await (0,a.Vx)((0,a.Ty)({conv_id:$,round_index:0})),{manual:!0,onSuccess:()=>{j.success("操作成功")}});return(0,l.jsxs)("div",{className:"flex items-center text-sm",children:[(0,l.jsxs)("div",{className:"flex gap-3",children:[(0,l.jsx)(s.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"like"===k}),onClick:async()=>{if("like"===k){await I();return}await S({feedback_type:"like"})}}),(0,l.jsx)(r.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"unlike"===k}),onClick:async()=>{if("unlike"===k){await I();return}await E()}}),(0,l.jsx)(y.default,{open:w,setFeedbackOpen:C,list:O,feedback:S,loading:M})]}),(0,l.jsx)(u.Z,{type:"vertical"}),(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)(i.Z,{className:"cursor-pointer",onClick:()=>Z(n.context)}),v.length-1===f&&"chat_agent"===b&&(0,l.jsx)(d.ZP,{loading:A,size:"small",onClick:async()=>{await P()},className:"text-xs",children:"终止话题"})]})]})}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3695],{74552:function(e,t,n){n.d(t,{Z:function(){return i}});var l=n(42096),a=n(38497),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},r=n(55032),i=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,l.Z)({},e,{ref:t,icon:s}))})},16559:function(e,t,n){n.d(t,{Z:function(){return i}});var l=n(42096),a=n(38497),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},r=n(55032),i=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,l.Z)({},e,{ref:t,icon:s}))})},54537:function(e,t,n){var l=n(38497);let a=(0,l.createContext)({});t.Z=a},98606:function(e,t,n){var l=n(38497),a=n(26869),s=n.n(a),r=n(63346),i=n(54537),c=n(54009),o=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,l=Object.getOwnPropertySymbols(e);at.indexOf(l[a])&&Object.prototype.propertyIsEnumerable.call(e,l[a])&&(n[l[a]]=e[l[a]]);return n};function u(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let d=["xs","sm","md","lg","xl","xxl"],f=l.forwardRef((e,t)=>{let{getPrefixCls:n,direction:a}=l.useContext(r.E_),{gutter:f,wrap:p}=l.useContext(i.Z),{prefixCls:x,span:m,order:h,offset:g,push:y,pull:$,className:v,children:b,flex:j,style:w}=e,C=o(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),k=n("col",x),[N,O,_]=(0,c.cG)(k),Z={},S={};d.forEach(t=>{let n={},l=e[t];"number"==typeof l?n.span=l:"object"==typeof l&&(n=l||{}),delete C[t],S=Object.assign(Object.assign({},S),{[`${k}-${t}-${n.span}`]:void 0!==n.span,[`${k}-${t}-order-${n.order}`]:n.order||0===n.order,[`${k}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${k}-${t}-push-${n.push}`]:n.push||0===n.push,[`${k}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${k}-rtl`]:"rtl"===a}),n.flex&&(S[`${k}-${t}-flex`]=!0,Z[`--${k}-${t}-flex`]=u(n.flex))});let M=s()(k,{[`${k}-${m}`]:void 0!==m,[`${k}-order-${h}`]:h,[`${k}-offset-${g}`]:g,[`${k}-push-${y}`]:y,[`${k}-pull-${$}`]:$},v,S,O,_),I={};if(f&&f[0]>0){let e=f[0]/2;I.paddingLeft=e,I.paddingRight=e}return j&&(I.flex=u(j),!1!==p||I.minWidth||(I.minWidth=0)),N(l.createElement("div",Object.assign({},C,{style:Object.assign(Object.assign(Object.assign({},I),w),Z),className:M,ref:t}),b))});t.Z=f},22698:function(e,t,n){var l=n(38497),a=n(26869),s=n.n(a),r=n(30432),i=n(63346),c=n(54537),o=n(54009),u=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,l=Object.getOwnPropertySymbols(e);at.indexOf(l[a])&&Object.prototype.propertyIsEnumerable.call(e,l[a])&&(n[l[a]]=e[l[a]]);return n};function d(e,t){let[n,a]=l.useState("string"==typeof e?e:""),s=()=>{if("string"==typeof e&&a(e),"object"==typeof e)for(let n=0;n{s()},[JSON.stringify(e),t]),n}let f=l.forwardRef((e,t)=>{let{prefixCls:n,justify:a,align:f,className:p,style:x,children:m,gutter:h=0,wrap:g}=e,y=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:$,direction:v}=l.useContext(i.E_),[b,j]=l.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[w,C]=l.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),k=d(f,w),N=d(a,w),O=l.useRef(h),_=(0,r.ZP)();l.useEffect(()=>{let e=_.subscribe(e=>{C(e);let t=O.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&j(e)});return()=>_.unsubscribe(e)},[]);let Z=$("row",n),[S,M,I]=(0,o.VM)(Z),E=(()=>{let e=[void 0,void 0],t=Array.isArray(h)?h:[h,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let l=0;l0?-(E[0]/2):void 0;V&&(A.marginLeft=V,A.marginRight=V);let[z,R]=E;A.rowGap=R;let G=l.useMemo(()=>({gutter:[z,R],wrap:g}),[z,R,g]);return S(l.createElement(c.Z.Provider,{value:G},l.createElement("div",Object.assign({},y,{className:P,style:Object.assign(Object.assign({},A),x),ref:t}),m)))});t.Z=f},54009:function(e,t,n){n.d(t,{VM:function(){return u},cG:function(){return d}});var l=n(38083),a=n(90102),s=n(74934);let r=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},i=(e,t)=>{let{prefixCls:n,componentCls:l,gridColumns:a}=e,s={};for(let e=a;e>=0;e--)0===e?(s[`${l}${t}-${e}`]={display:"none"},s[`${l}-push-${e}`]={insetInlineStart:"auto"},s[`${l}-pull-${e}`]={insetInlineEnd:"auto"},s[`${l}${t}-push-${e}`]={insetInlineStart:"auto"},s[`${l}${t}-pull-${e}`]={insetInlineEnd:"auto"},s[`${l}${t}-offset-${e}`]={marginInlineStart:0},s[`${l}${t}-order-${e}`]={order:0}):(s[`${l}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/a*100}%`,maxWidth:`${e/a*100}%`}],s[`${l}${t}-push-${e}`]={insetInlineStart:`${e/a*100}%`},s[`${l}${t}-pull-${e}`]={insetInlineEnd:`${e/a*100}%`},s[`${l}${t}-offset-${e}`]={marginInlineStart:`${e/a*100}%`},s[`${l}${t}-order-${e}`]={order:e});return s[`${l}${t}-flex`]={flex:`var(--${n}${t}-flex)`},s},c=(e,t)=>i(e,t),o=(e,t,n)=>({[`@media (min-width: ${(0,l.bf)(t)})`]:Object.assign({},c(e,n))}),u=(0,a.I$)("Grid",e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},()=>({})),d=(0,a.I$)("Grid",e=>{let t=(0,s.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[r(t),c(t,""),c(t,"-xs"),Object.keys(n).map(e=>o(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},574:function(e,t,n){n.r(t);var l=n(96469),a=n(61977),s=n(26657),r=n(87674),i=n(26869),c=n.n(i),o=n(38497),u=n(29549),d=n(93597);t.default=(0,o.memo)(e=>{let{message:t,index:n}=e,{scene:i}=(0,o.useContext)(u.MobileChatContext),{context:f,model_name:p,role:x,thinking:m}=t,h=(0,o.useMemo)(()=>"view"===x,[x]),g=(0,o.useRef)(null),{value:y}=(0,o.useMemo)(()=>{if("string"!=typeof f)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=f.split(" relations:"),n=t?t.split(","):[],l=[],a=0,s=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let n=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),s=JSON.parse(n),r="".concat(a,"");return l.push({...s,result:$(null!==(t=s.result)&&void 0!==t?t:"")}),a++,r}catch(t){return console.log(t.message,t),e}});return{relations:n,cachePluginContext:l,value:s}},[f]),$=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"");return(0,l.jsxs)("div",{className:c()("flex w-full",{"justify-end":!h}),ref:g,children:[!h&&(0,l.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:f}),h&&(0,l.jsxs)("div",{className:"flex max-w-full flex-col flex-wrap bg-white dark:bg-[rgba(255,255,255,0.16)] p-3 rounded-xl rounded-bl-none",children:["string"==typeof f&&"chat_agent"===i&&(0,l.jsx)(s.default,{children:null==y?void 0:y.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}),"string"==typeof f&&"chat_agent"!==i&&(0,l.jsx)(s.default,{children:$(y)}),m&&!f&&(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,l.jsxs)("div",{className:"flex",children:[(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!m&&(0,l.jsx)(r.Z,{className:"my-2"}),(0,l.jsxs)("div",{className:c()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!m}),children:[(0,l.jsx)(d.default,{content:t,index:n,chatDialogRef:g}),"chat_agent"!==i&&(0,l.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,l.jsx)(a.Z,{width:14,height:14,model:p}),(0,l.jsx)("span",{className:"text-xs text-gray-500",children:p})]})]})]})]})})},33068:function(e,t,n){n.r(t);var l=n(96469),a=n(38497),s=n(29549),r=n(574);t.default=(0,a.memo)(()=>{let{history:e}=(0,a.useContext)(s.MobileChatContext),t=(0,a.useMemo)(()=>e.filter(e=>["view","human"].includes(e.role)),[e]);return(0,l.jsx)("div",{className:"flex flex-col gap-4",children:!!t.length&&t.map((e,t)=>(0,l.jsx)(r.default,{message:e,index:t},e.context+t))})})},39452:function(e,t,n){n.r(t);var l=n(96469),a=n(51657),s=n(49030),r=n(71841),i=n(27691),c=n(38497);t.default=e=>{let{open:t,setFeedbackOpen:n,list:o,feedback:u,loading:d}=e,[f,p]=(0,c.useState)([]),[x,m]=(0,c.useState)("");return(0,l.jsx)(a.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>n(!1),destroyOnClose:!0,height:"auto",children:(0,l.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,l.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==o?void 0:o.map(e=>{let t=f.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,l.jsx)(s.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{p(t=>{let n=t.findIndex(t=>t.reason_type===e.reason_type);return n>-1?[...t.slice(0,n),...t.slice(n+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,l.jsx)(r.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:x,onChange:e=>m(e.target.value.trim())}),(0,l.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,l.jsx)(i.ZP,{className:"w-16 h-8",onClick:()=>{n(!1)},children:"取消"}),(0,l.jsx)(i.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=f.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:x}))},loading:d,children:"确认"})]})]})})}},93597:function(e,t,n){n.r(t);var l=n(96469),a=n(27623),s=n(16559),r=n(74552),i=n(67576),c=n(16602),o=n(95891),u=n(87674),d=n(27691),f=n(26869),p=n.n(f),x=n(93486),m=n.n(x),h=n(38497),g=n(29549),y=n(39452);t.default=e=>{var t;let{content:n,index:f,chatDialogRef:x}=e,{conv_uid:$,history:v,scene:b}=(0,h.useContext)(g.MobileChatContext),{message:j}=o.Z.useApp(),[w,C]=(0,h.useState)(!1),[k,N]=(0,h.useState)(null==n?void 0:null===(t=n.feedback)||void 0===t?void 0:t.feedback_type),[O,_]=(0,h.useState)([]),Z=async e=>{var t;let n=null==e?void 0:e.replace(/\trelations:.*/g,""),l=m()((null===(t=x.current)||void 0===t?void 0:t.textContent)||n);l?n?j.success("复制成功"):j.warning("内容复制为空"):j.error("复制失败")},{run:S,loading:M}=(0,c.Z)(async e=>await (0,a.Vx)((0,a.zx)({conv_uid:$,message_id:n.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;N(null==t?void 0:t.feedback_type),j.success("反馈成功"),C(!1)}}),{run:I}=(0,c.Z)(async()=>await (0,a.Vx)((0,a.Ir)({conv_uid:$,message_id:(null==n?void 0:n.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(N("none"),j.success("操作成功"))}}),{run:E}=(0,c.Z)(async()=>await (0,a.Vx)((0,a.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;_(t||[]),t&&C(!0)}}),{run:P,loading:A}=(0,c.Z)(async()=>await (0,a.Vx)((0,a.Ty)({conv_id:$,round_index:0})),{manual:!0,onSuccess:()=>{j.success("操作成功")}});return(0,l.jsxs)("div",{className:"flex items-center text-sm",children:[(0,l.jsxs)("div",{className:"flex gap-3",children:[(0,l.jsx)(s.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"like"===k}),onClick:async()=>{if("like"===k){await I();return}await S({feedback_type:"like"})}}),(0,l.jsx)(r.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"unlike"===k}),onClick:async()=>{if("unlike"===k){await I();return}await E()}}),(0,l.jsx)(y.default,{open:w,setFeedbackOpen:C,list:O,feedback:S,loading:M})]}),(0,l.jsx)(u.Z,{type:"vertical"}),(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)(i.Z,{className:"cursor-pointer",onClick:()=>Z(n.context)}),v.length-1===f&&"chat_agent"===b&&(0,l.jsx)(d.ZP,{loading:A,size:"small",onClick:async()=>{await P()},className:"text-xs",children:"终止话题"})]})]})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4162-09e888f740a96c4c.js b/dbgpt/app/static/web/_next/static/chunks/4162-09e888f740a96c4c.js new file mode 100644 index 000000000..ab766dc01 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/4162-09e888f740a96c4c.js @@ -0,0 +1,83 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4162],{4162:function(e,t,n){n.d(t,{Z:function(){return nu}});var r=n(38497),l={},o="rc-table-internal-hook",a=n(65347),i=n(80988),c=n(46644),d=n(9671),s=n(2060);function u(e){var t=r.createContext(void 0);return{Context:t,Provider:function(e){var n=e.value,l=e.children,o=r.useRef(n);o.current=n;var i=r.useState(function(){return{getValue:function(){return o.current},listeners:new Set}}),d=(0,a.Z)(i,1)[0];return(0,c.Z)(function(){(0,s.unstable_batchedUpdates)(function(){d.listeners.forEach(function(e){e(n)})})},[n]),r.createElement(t.Provider,{value:d},l)},defaultValue:e}}function f(e,t){var n=(0,i.Z)("function"==typeof t?t:function(e){if(void 0===t)return e;if(!Array.isArray(t))return e[t];var n={};return t.forEach(function(t){n[t]=e[t]}),n}),l=r.useContext(null==e?void 0:e.Context),o=l||{},s=o.listeners,u=o.getValue,f=r.useRef();f.current=n(l?u():null==e?void 0:e.defaultValue);var p=r.useState({}),m=(0,a.Z)(p,2)[1];return(0,c.Z)(function(){if(l)return s.add(e),function(){s.delete(e)};function e(e){var t=n(e);(0,d.Z)(f.current,t,!0)||m({})}},[l]),f.current}var p=n(42096),m=n(7544);function h(){var e=r.createContext(null);function t(){return r.useContext(e)}return{makeImmutable:function(n,l){var o=(0,m.Yr)(n),a=function(a,i){var c=o?{ref:i}:{},d=r.useRef(0),s=r.useRef(a);return null!==t()?r.createElement(n,(0,p.Z)({},a,c)):((!l||l(s.current,a))&&(d.current+=1),s.current=a,r.createElement(e.Provider,{value:d.current},r.createElement(n,(0,p.Z)({},a,c))))};return o?r.forwardRef(a):a},responseImmutable:function(e,n){var l=(0,m.Yr)(e),o=function(n,o){var a=l?{ref:o}:{};return t(),r.createElement(e,(0,p.Z)({},n,a))};return l?r.memo(r.forwardRef(o),n):r.memo(o,n)},useImmutableMark:t}}var b=h();b.makeImmutable,b.responseImmutable,b.useImmutableMark;var g=h(),v=g.makeImmutable,x=g.responseImmutable,y=g.useImmutableMark,w=u(),C=n(14433),$=n(4247),E=n(65148),S=n(26869),k=n.n(S),Z=n(38263),N=n(82991);n(89842);var I=r.createContext({renderWithProps:!1});function R(e){var t=[],n={};return e.forEach(function(e){for(var r=e||{},l=r.key,o=r.dataIndex,a=l||(null==o?[]:Array.isArray(o)?o:[o]).join("-")||"RC_TABLE_KEY";n[a];)a="".concat(a,"_next");n[a]=!0,t.push(a)}),t}var O=n(81581),j=function(e){var t,n=e.ellipsis,l=e.rowType,o=e.children,a=!0===n?{showTitle:!0}:n;return a&&(a.showTitle||"header"===l)&&("string"==typeof o||"number"==typeof o?t=o.toString():r.isValidElement(o)&&"string"==typeof o.props.children&&(t=o.props.children)),t},P=r.memo(function(e){var t,n,l,o,i,c,s,u,m,h,b=e.component,g=e.children,v=e.ellipsis,x=e.scope,S=e.prefixCls,R=e.className,P=e.align,T=e.record,M=e.render,B=e.dataIndex,H=e.renderIndex,z=e.shouldCellUpdate,K=e.index,L=e.rowType,A=e.colSpan,_=e.rowSpan,F=e.fixLeft,W=e.fixRight,D=e.firstFixLeft,q=e.lastFixLeft,X=e.firstFixRight,V=e.lastFixRight,U=e.appendNode,Y=e.additionalProps,G=void 0===Y?{}:Y,J=e.isSticky,Q="".concat(S,"-cell"),ee=f(w,["supportSticky","allColumnsFixedLeft","rowHoverable"]),et=ee.supportSticky,en=ee.allColumnsFixedLeft,er=ee.rowHoverable,el=(t=r.useContext(I),n=y(),(0,Z.Z)(function(){if(null!=g)return[g];var e=null==B||""===B?[]:Array.isArray(B)?B:[B],n=(0,N.Z)(T,e),l=n,o=void 0;if(M){var a=M(n,T,H);!a||"object"!==(0,C.Z)(a)||Array.isArray(a)||r.isValidElement(a)?l=a:(l=a.children,o=a.props,t.renderWithProps=!0)}return[l,o]},[n,T,g,B,M,H],function(e,n){if(z){var r=(0,a.Z)(e,2)[1];return z((0,a.Z)(n,2)[1],r)}return!!t.renderWithProps||!(0,d.Z)(e,n,!0)})),eo=(0,a.Z)(el,2),ea=eo[0],ei=eo[1],ec={},ed="number"==typeof F&&et,es="number"==typeof W&&et;ed&&(ec.position="sticky",ec.left=F),es&&(ec.position="sticky",ec.right=W);var eu=null!==(l=null!==(o=null!==(i=null==ei?void 0:ei.colSpan)&&void 0!==i?i:G.colSpan)&&void 0!==o?o:A)&&void 0!==l?l:1,ef=null!==(c=null!==(s=null!==(u=null==ei?void 0:ei.rowSpan)&&void 0!==u?u:G.rowSpan)&&void 0!==s?s:_)&&void 0!==c?c:1,ep=f(w,function(e){var t,n;return[(t=ef||1,n=e.hoverStartRow,K<=e.hoverEndRow&&K+t-1>=n),e.onHover]}),em=(0,a.Z)(ep,2),eh=em[0],eb=em[1],eg=(0,O.zX)(function(e){var t;T&&eb(K,K+ef-1),null==G||null===(t=G.onMouseEnter)||void 0===t||t.call(G,e)}),ev=(0,O.zX)(function(e){var t;T&&eb(-1,-1),null==G||null===(t=G.onMouseLeave)||void 0===t||t.call(G,e)});if(0===eu||0===ef)return null;var ex=null!==(m=G.title)&&void 0!==m?m:j({rowType:L,ellipsis:v,children:ea}),ey=k()(Q,R,(h={},(0,E.Z)(h,"".concat(Q,"-fix-left"),ed&&et),(0,E.Z)(h,"".concat(Q,"-fix-left-first"),D&&et),(0,E.Z)(h,"".concat(Q,"-fix-left-last"),q&&et),(0,E.Z)(h,"".concat(Q,"-fix-left-all"),q&&en&&et),(0,E.Z)(h,"".concat(Q,"-fix-right"),es&&et),(0,E.Z)(h,"".concat(Q,"-fix-right-first"),X&&et),(0,E.Z)(h,"".concat(Q,"-fix-right-last"),V&&et),(0,E.Z)(h,"".concat(Q,"-ellipsis"),v),(0,E.Z)(h,"".concat(Q,"-with-append"),U),(0,E.Z)(h,"".concat(Q,"-fix-sticky"),(ed||es)&&J&&et),(0,E.Z)(h,"".concat(Q,"-row-hover"),!ei&&eh),h),G.className,null==ei?void 0:ei.className),ew={};P&&(ew.textAlign=P);var eC=(0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},ec),G.style),ew),null==ei?void 0:ei.style),e$=ea;return"object"!==(0,C.Z)(e$)||Array.isArray(e$)||r.isValidElement(e$)||(e$=null),v&&(q||X)&&(e$=r.createElement("span",{className:"".concat(Q,"-content")},e$)),r.createElement(b,(0,p.Z)({},ei,G,{className:ey,style:eC,title:ex,scope:x,onMouseEnter:er?eg:void 0,onMouseLeave:er?ev:void 0,colSpan:1!==eu?eu:null,rowSpan:1!==ef?ef:null}),U,e$)});function T(e,t,n,r,l){var o,a,i=n[e]||{},c=n[t]||{};"left"===i.fixed?o=r.left["rtl"===l?t:e]:"right"===c.fixed&&(a=r.right["rtl"===l?e:t]);var d=!1,s=!1,u=!1,f=!1,p=n[t+1],m=n[e-1],h=p&&!p.fixed||m&&!m.fixed||n.every(function(e){return"left"===e.fixed});return"rtl"===l?void 0!==o?f=!(m&&"left"===m.fixed)&&h:void 0!==a&&(u=!(p&&"right"===p.fixed)&&h):void 0!==o?d=!(p&&"left"===p.fixed)&&h:void 0!==a&&(s=!(m&&"right"===m.fixed)&&h),{fixLeft:o,fixRight:a,lastFixLeft:d,firstFixRight:s,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}var M=r.createContext({}),B=n(10921),H=["children"];function z(e){return e.children}z.Row=function(e){var t=e.children,n=(0,B.Z)(e,H);return r.createElement("tr",n,t)},z.Cell=function(e){var t=e.className,n=e.index,l=e.children,o=e.colSpan,a=void 0===o?1:o,i=e.rowSpan,c=e.align,d=f(w,["prefixCls","direction"]),s=d.prefixCls,u=d.direction,m=r.useContext(M),h=m.scrollColumnIndex,b=m.stickyOffsets,g=m.flattenColumns,v=n+a-1+1===h?a+1:a,x=T(n,n+v-1,g,b,u);return r.createElement(P,(0,p.Z)({className:t,index:n,component:"td",prefixCls:s,record:null,dataIndex:null,align:c,colSpan:v,rowSpan:i,render:function(){return l}},x))};var K=x(function(e){var t=e.children,n=e.stickyOffsets,l=e.flattenColumns,o=f(w,"prefixCls"),a=l.length-1,i=l[a],c=r.useMemo(function(){return{stickyOffsets:n,flattenColumns:l,scrollColumnIndex:null!=i&&i.scrollbar?a:null}},[i,l,a,n]);return r.createElement(M.Provider,{value:c},r.createElement("tfoot",{className:"".concat(o,"-summary")},t))}),L=n(31617),A=n(62143),_=n(94280),F=n(35394),W=n(66168);function D(e,t,n,l){return r.useMemo(function(){if(null!=n&&n.size){for(var r=[],o=0;o<(null==e?void 0:e.length);o+=1)!function e(t,n,r,l,o,a,i){t.push({record:n,indent:r,index:i});var c=a(n),d=null==o?void 0:o.has(c);if(n&&Array.isArray(n[l])&&d)for(var s=0;s1?n-1:0),l=1;l=1?S:""),style:(0,$.Z)((0,$.Z)({},l),null==y?void 0:y.style)}),g.map(function(e,t){var n=e.render,l=e.dataIndex,c=e.className,d=V(h,e,t,s,a),u=d.key,g=d.fixedInfo,v=d.appendCellNode,x=d.additionalCellProps;return r.createElement(P,(0,p.Z)({className:c,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?m:f,prefixCls:b,key:u,record:o,index:a,renderIndex:i,dataIndex:l,render:n,shouldCellUpdate:e.shouldCellUpdate},g,{appendNode:v,additionalProps:x}))}));if(C&&(E.current||w)){var N=x(o,a,s+1,w);t=r.createElement(X,{expanded:w,className:k()("".concat(b,"-expanded-row"),"".concat(b,"-expanded-row-level-").concat(s+1),S),prefixCls:b,component:u,cellComponent:f,colSpan:g.length,isEmpty:!1},N)}return r.createElement(r.Fragment,null,Z,t)});function Y(e){var t=e.columnKey,n=e.onColumnResize,l=r.useRef();return r.useEffect(function(){l.current&&n(t,l.current.offsetWidth)},[]),r.createElement(L.Z,{data:t},r.createElement("td",{ref:l,style:{padding:0,border:0,height:0}},r.createElement("div",{style:{height:0,overflow:"hidden"}},"\xa0")))}function G(e){var t=e.prefixCls,n=e.columnsKey,l=e.onColumnResize;return r.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},r.createElement(L.Z.Collection,{onBatchResize:function(e){e.forEach(function(e){l(e.data,e.size.offsetWidth)})}},n.map(function(e){return r.createElement(Y,{key:e,columnKey:e,onColumnResize:l})})))}var J=x(function(e){var t,n=e.data,l=e.measureColumnWidth,o=f(w,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),a=o.prefixCls,i=o.getComponent,c=o.onColumnResize,d=o.flattenColumns,s=o.getRowKey,u=o.expandedKeys,p=o.childrenColumnName,m=o.emptyNode,h=D(n,p,u,s),b=r.useRef({renderWithProps:!1}),g=i(["body","wrapper"],"tbody"),v=i(["body","row"],"tr"),x=i(["body","cell"],"td"),y=i(["body","cell"],"th");t=n.length?h.map(function(e,t){var n=e.record,l=e.indent,o=e.index,a=s(n,t);return r.createElement(U,{key:a,rowKey:a,record:n,index:t,renderIndex:o,rowComponent:v,cellComponent:x,scopeCellComponent:y,getRowKey:s,indent:l})}):r.createElement(X,{expanded:!0,className:"".concat(a,"-placeholder"),prefixCls:a,component:v,cellComponent:x,colSpan:d.length,isEmpty:!0},m);var C=R(d);return r.createElement(I.Provider,{value:b.current},r.createElement(g,{className:"".concat(a,"-tbody")},l&&r.createElement(G,{prefixCls:a,columnsKey:C,onColumnResize:c}),t))}),Q=["expandable"],ee="RC_TABLE_INTERNAL_COL_DEFINE",et=["columnType"],en=function(e){for(var t=e.colWidths,n=e.columns,l=e.columCount,o=[],a=l||n.length,i=!1,c=a-1;c>=0;c-=1){var d=t[c],s=n&&n[c],u=s&&s[ee];if(d||u||i){var f=u||{},m=(f.columnType,(0,B.Z)(f,et));o.unshift(r.createElement("col",(0,p.Z)({key:c,style:{width:d}},m))),i=!0}}return r.createElement("colgroup",null,o)},er=n(72991),el=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"],eo=r.forwardRef(function(e,t){var n=e.className,l=e.noData,o=e.columns,a=e.flattenColumns,i=e.colWidths,c=e.columCount,d=e.stickyOffsets,s=e.direction,u=e.fixHeader,p=e.stickyTopOffset,h=e.stickyBottomOffset,b=e.stickyClassName,g=e.onScroll,v=e.maxContentScroll,x=e.children,y=(0,B.Z)(e,el),C=f(w,["prefixCls","scrollbarSize","isSticky","getComponent"]),S=C.prefixCls,Z=C.scrollbarSize,N=C.isSticky,I=(0,C.getComponent)(["header","table"],"table"),R=N&&!u?0:Z,O=r.useRef(null),j=r.useCallback(function(e){(0,m.mH)(t,e),(0,m.mH)(O,e)},[]);r.useEffect(function(){var e;function t(e){var t=e.currentTarget,n=e.deltaX;n&&(g({currentTarget:t,scrollLeft:t.scrollLeft+n}),e.preventDefault())}return null===(e=O.current)||void 0===e||e.addEventListener("wheel",t,{passive:!1}),function(){var e;null===(e=O.current)||void 0===e||e.removeEventListener("wheel",t)}},[]);var P=r.useMemo(function(){return a.every(function(e){return e.width})},[a]),T=a[a.length-1],M={fixed:T?T.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(S,"-cell-scrollbar")}}},H=(0,r.useMemo)(function(){return R?[].concat((0,er.Z)(o),[M]):o},[R,o]),z=(0,r.useMemo)(function(){return R?[].concat((0,er.Z)(a),[M]):a},[R,a]),K=(0,r.useMemo)(function(){var e=d.right,t=d.left;return(0,$.Z)((0,$.Z)({},d),{},{left:"rtl"===s?[].concat((0,er.Z)(t.map(function(e){return e+R})),[0]):t,right:"rtl"===s?e:[].concat((0,er.Z)(e.map(function(e){return e+R})),[0]),isSticky:N})},[R,d,N]),L=(0,r.useMemo)(function(){for(var e=[],t=0;t1?"colgroup":"col":null,ellipsis:a.ellipsis,align:a.align,component:i,prefixCls:u,key:h[t]},c,{additionalProps:n,rowType:"header"}))}))},ec=x(function(e){var t=e.stickyOffsets,n=e.columns,l=e.flattenColumns,o=e.onHeaderRow,a=f(w,["prefixCls","getComponent"]),i=a.prefixCls,c=a.getComponent,d=r.useMemo(function(){return function(e){var t=[];!function e(n,r){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;t[l]=t[l]||[];var o=r;return n.filter(Boolean).map(function(n){var r={key:n.key,className:n.className||"",children:n.title,column:n,colStart:o},a=1,i=n.children;return i&&i.length>0&&(a=e(i,o,l+1).reduce(function(e,t){return e+t},0),r.hasSubColumns=!0),"colSpan"in n&&(a=n.colSpan),"rowSpan"in n&&(r.rowSpan=n.rowSpan),r.colSpan=a,r.colEnd=r.colStart+a-1,t[l].push(r),o+=a,a})}(e,0);for(var n=t.length,r=function(e){t[e].forEach(function(t){("rowSpan"in t)||t.hasSubColumns||(t.rowSpan=n-e)})},l=0;l1&&void 0!==arguments[1]?arguments[1]:"";return"number"==typeof t?t:t.endsWith("%")?e*parseFloat(t)/100:null}var eu=["children"],ef=["fixed"];function ep(e){return(0,ed.Z)(e).filter(function(e){return r.isValidElement(e)}).map(function(e){var t=e.key,n=e.props,r=n.children,l=(0,B.Z)(n,eu),o=(0,$.Z)({key:t},l);return r&&(o.children=ep(r)),o})}function em(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key";return e.filter(function(e){return e&&"object"===(0,C.Z)(e)}).reduce(function(e,n,r){var l=n.fixed,o=!0===l?"left":l,a="".concat(t,"-").concat(r),i=n.children;return i&&i.length>0?[].concat((0,er.Z)(e),(0,er.Z)(em(i,a).map(function(e){return(0,$.Z)({fixed:o},e)}))):[].concat((0,er.Z)(e),[(0,$.Z)((0,$.Z)({key:a},n),{},{fixed:o})])},[])}var eh=function(e,t){var n=e.prefixCls,o=e.columns,i=e.children,c=e.expandable,d=e.expandedKeys,s=e.columnTitle,u=e.getRowKey,f=e.onTriggerExpand,p=e.expandIcon,m=e.rowExpandable,h=e.expandIconColumnIndex,b=e.direction,g=e.expandRowByClick,v=e.columnWidth,x=e.fixed,y=e.scrollWidth,w=e.clientWidth,S=r.useMemo(function(){return function e(t){return t.filter(function(e){return e&&"object"===(0,C.Z)(e)&&!e.hidden}).map(function(t){var n=t.children;return n&&n.length>0?(0,$.Z)((0,$.Z)({},t),{},{children:e(n)}):t})}((o||ep(i)||[]).slice())},[o,i]),k=r.useMemo(function(){if(c){var e,t,o=S.slice();if(!o.includes(l)){var a=h||0;a>=0&&o.splice(a,0,l)}var i=o.indexOf(l);o=o.filter(function(e,t){return e!==l||t===i});var b=S[i];t=("left"===x||x)&&!h?"left":("right"===x||x)&&h===S.length?"right":b?b.fixed:null;var y=(e={},(0,E.Z)(e,ee,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,E.Z)(e,"title",s),(0,E.Z)(e,"fixed",t),(0,E.Z)(e,"className","".concat(n,"-row-expand-icon-cell")),(0,E.Z)(e,"width",v),(0,E.Z)(e,"render",function(e,t,l){var o=u(t,l),a=p({prefixCls:n,expanded:d.has(o),expandable:!m||m(t),record:t,onExpand:f});return g?r.createElement("span",{onClick:function(e){return e.stopPropagation()}},a):a}),e);return o.map(function(e){return e===l?y:e})}return S.filter(function(e){return e!==l})},[c,S,u,d,p,b]),Z=r.useMemo(function(){var e=k;return t&&(e=t(e)),e.length||(e=[{render:function(){return null}}]),e},[t,k,b]),N=r.useMemo(function(){return"rtl"===b?em(Z).map(function(e){var t=e.fixed,n=(0,B.Z)(e,ef),r=t;return"left"===t?r="right":"right"===t&&(r="left"),(0,$.Z)({fixed:r},n)}):em(Z)},[Z,b,y]),I=r.useMemo(function(){for(var e=-1,t=N.length-1;t>=0;t-=1){var n=N[t].fixed;if("left"===n||!0===n){e=t;break}}if(e>=0)for(var r=0;r<=e;r+=1){var l=N[r].fixed;if("left"!==l&&!0!==l)return!0}var o=N.findIndex(function(e){return"right"===e.fixed});if(o>=0){for(var a=o;a0){var e=0,t=0;N.forEach(function(n){var r=es(y,n.width);r?e+=r:t+=1});var n=Math.max(y,w),r=Math.max(n-e,t),l=t,o=r/t,a=0,i=N.map(function(e){var t=(0,$.Z)({},e),n=es(y,t.width);if(n)t.width=n;else{var i=Math.floor(o);t.width=1===l?r:i,r-=i,l-=1}return a+=t.width,t});if(a=p&&(r=p-m),i({scrollLeft:r/p*(u+2)}),y.current.x=e.pageX},j=function(){I.current=(0,eC.Z)(function(){if(o.current){var e=(0,ew.os)(o.current).top,t=e+o.current.offsetHeight,n=d===window?document.documentElement.scrollTop+window.innerHeight:(0,ew.os)(d).top+d.clientHeight;t-(0,F.Z)()<=n||e>=n-c?x(function(e){return(0,$.Z)((0,$.Z)({},e),{},{isHiddenScrollBar:!0})}):x(function(e){return(0,$.Z)((0,$.Z)({},e),{},{isHiddenScrollBar:!1})})}})},P=function(e){x(function(t){return(0,$.Z)((0,$.Z)({},t),{},{scrollLeft:e/u*p||0})})};return(r.useImperativeHandle(t,function(){return{setScrollLeft:P,checkScrollBarVisible:j}}),r.useEffect(function(){var e=(0,ey.Z)(document.body,"mouseup",R,!1),t=(0,ey.Z)(document.body,"mousemove",O,!1);return j(),function(){e.remove(),t.remove()}},[m,Z]),r.useEffect(function(){var e=(0,ey.Z)(d,"scroll",j,!1),t=(0,ey.Z)(window,"resize",j,!1);return function(){e.remove(),t.remove()}},[d]),r.useEffect(function(){v.isHiddenScrollBar||x(function(e){var t=o.current;return t?(0,$.Z)((0,$.Z)({},e),{},{scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}):e})},[v.isHiddenScrollBar]),u<=p||!m||v.isHiddenScrollBar)?null:r.createElement("div",{style:{height:(0,F.Z)(),width:p,bottom:c},className:"".concat(s,"-sticky-scroll")},r.createElement("div",{onMouseDown:function(e){e.persist(),y.current.delta=e.pageX-v.scrollLeft,y.current.x=0,N(!0),e.preventDefault()},ref:h,className:k()("".concat(s,"-sticky-scroll-bar"),(0,E.Z)({},"".concat(s,"-sticky-scroll-bar-active"),Z)),style:{width:"".concat(m,"px"),transform:"translate3d(".concat(v.scrollLeft,"px, 0, 0)")}}))}),eE="rc-table",eS=[],ek={};function eZ(){return"No Data"}var eN=r.forwardRef(function(e,t){var n,l=(0,$.Z)({rowKey:"key",prefixCls:eE,emptyText:eZ},e),c=l.prefixCls,s=l.className,u=l.rowClassName,f=l.style,m=l.data,h=l.rowKey,b=l.scroll,g=l.tableLayout,v=l.direction,x=l.title,y=l.footer,S=l.summary,I=l.caption,O=l.id,j=l.showHeader,P=l.components,M=l.emptyText,H=l.onRow,D=l.onHeaderRow,q=l.onScroll,X=l.internalHooks,V=l.transformColumns,U=l.internalRefs,Y=l.tailor,G=l.getContainerWidth,ee=l.sticky,et=l.rowHoverable,el=void 0===et||et,eo=m||eS,ei=!!eo.length,ed=X===o,es=r.useCallback(function(e,t){return(0,N.Z)(P,e)||t},[P]),eu=r.useMemo(function(){return"function"==typeof h?h:function(e){return e&&e[h]}},[h]),ef=es(["body"]),ep=(tX=r.useState(-1),tU=(tV=(0,a.Z)(tX,2))[0],tY=tV[1],tG=r.useState(-1),tQ=(tJ=(0,a.Z)(tG,2))[0],t0=tJ[1],[tU,tQ,r.useCallback(function(e,t){tY(e),t0(t)},[])]),em=(0,a.Z)(ep,3),ey=em[0],ew=em[1],eC=em[2],eN=(t2=l.expandable,t4=(0,B.Z)(l,Q),!1===(t1="expandable"in l?(0,$.Z)((0,$.Z)({},t4),t2):t4).showExpandColumn&&(t1.expandIconColumnIndex=-1),t3=t1.expandIcon,t6=t1.expandedRowKeys,t8=t1.defaultExpandedRowKeys,t9=t1.defaultExpandAllRows,t7=t1.expandedRowRender,t5=t1.onExpand,ne=t1.onExpandedRowsChange,nt=t1.childrenColumnName||"children",nn=r.useMemo(function(){return t7?"row":!!(l.expandable&&l.internalHooks===o&&l.expandable.__PARENT_RENDER_ICON__||eo.some(function(e){return e&&"object"===(0,C.Z)(e)&&e[nt]}))&&"nest"},[!!t7,eo]),nr=r.useState(function(){if(t8)return t8;if(t9){var e;return e=[],function t(n){(n||[]).forEach(function(n,r){e.push(eu(n,r)),t(n[nt])})}(eo),e}return[]}),no=(nl=(0,a.Z)(nr,2))[0],na=nl[1],ni=r.useMemo(function(){return new Set(t6||no||[])},[t6,no]),nc=r.useCallback(function(e){var t,n=eu(e,eo.indexOf(e)),r=ni.has(n);r?(ni.delete(n),t=(0,er.Z)(ni)):t=[].concat((0,er.Z)(ni),[n]),na(t),t5&&t5(!r,e),ne&&ne(t)},[eu,ni,eo,t5,ne]),[t1,nn,ni,t3||eb,nt,nc]),eI=(0,a.Z)(eN,6),eR=eI[0],eO=eI[1],ej=eI[2],eP=eI[3],eT=eI[4],eM=eI[5],eB=null==b?void 0:b.x,eH=r.useState(0),ez=(0,a.Z)(eH,2),eK=ez[0],eL=ez[1],eA=eh((0,$.Z)((0,$.Z)((0,$.Z)({},l),eR),{},{expandable:!!eR.expandedRowRender,columnTitle:eR.columnTitle,expandedKeys:ej,getRowKey:eu,onTriggerExpand:eM,expandIcon:eP,expandIconColumnIndex:eR.expandIconColumnIndex,direction:v,scrollWidth:ed&&Y&&"number"==typeof eB?eB:null,clientWidth:eK}),ed?V:null),e_=(0,a.Z)(eA,4),eF=e_[0],eW=e_[1],eD=e_[2],eq=e_[3],eX=null!=eD?eD:eB,eV=r.useMemo(function(){return{columns:eF,flattenColumns:eW}},[eF,eW]),eU=r.useRef(),eY=r.useRef(),eG=r.useRef(),eJ=r.useRef();r.useImperativeHandle(t,function(){return{nativeElement:eU.current,scrollTo:function(e){var t;if(eG.current instanceof HTMLElement){var n=e.index,r=e.top,l=e.key;if(r)null===(o=eG.current)||void 0===o||o.scrollTo({top:r});else{var o,a,i=null!=l?l:eu(eo[n]);null===(a=eG.current.querySelector('[data-row-key="'.concat(i,'"]')))||void 0===a||a.scrollIntoView()}}else null!==(t=eG.current)&&void 0!==t&&t.scrollTo&&eG.current.scrollTo(e)}}});var eQ=r.useRef(),e0=r.useState(!1),e1=(0,a.Z)(e0,2),e2=e1[0],e4=e1[1],e3=r.useState(!1),e6=(0,a.Z)(e3,2),e8=e6[0],e9=e6[1],e7=eg(new Map),e5=(0,a.Z)(e7,2),te=e5[0],tt=e5[1],tn=R(eW).map(function(e){return te.get(e)}),tr=r.useMemo(function(){return tn},[tn.join("_")]),tl=(0,r.useMemo)(function(){var e=eW.length,t=function(e,t,n){for(var r=[],l=0,o=e;o!==t;o+=n)r.push(l),eW[o].fixed&&(l+=tr[o]||0);return r},n=t(0,e,1),r=t(e-1,-1,-1).reverse();return"rtl"===v?{left:r,right:n}:{left:n,right:r}},[tr,eW,v]),to=b&&null!=b.y,ta=b&&null!=eX||!!eR.fixed,ti=ta&&eW.some(function(e){return e.fixed}),tc=r.useRef(),td=(nu=void 0===(ns=(nd="object"===(0,C.Z)(ee)?ee:{}).offsetHeader)?0:ns,np=void 0===(nf=nd.offsetSummary)?0:nf,nh=void 0===(nm=nd.offsetScroll)?0:nm,ng=(void 0===(nb=nd.getContainer)?function(){return ev}:nb)()||ev,r.useMemo(function(){var e=!!ee;return{isSticky:e,stickyClassName:e?"".concat(c,"-sticky-holder"):"",offsetHeader:nu,offsetSummary:np,offsetScroll:nh,container:ng}},[nh,nu,np,c,ng])),ts=td.isSticky,tu=td.offsetHeader,tf=td.offsetSummary,tp=td.offsetScroll,tm=td.stickyClassName,th=td.container,tb=r.useMemo(function(){return null==S?void 0:S(eo)},[S,eo]),tg=(to||ts)&&r.isValidElement(tb)&&tb.type===z&&tb.props.fixed;to&&(ny={overflowY:"scroll",maxHeight:b.y}),ta&&(nx={overflowX:"auto"},to||(ny={overflowY:"hidden"}),nw={width:!0===eX?"auto":eX,minWidth:"100%"});var tv=r.useCallback(function(e,t){(0,A.Z)(eU.current)&&tt(function(n){if(n.get(e)!==t){var r=new Map(n);return r.set(e,t),r}return n})},[]),tx=function(e){var t=(0,r.useRef)(null),n=(0,r.useRef)();function l(){window.clearTimeout(n.current)}return(0,r.useEffect)(function(){return l},[]),[function(e){t.current=e,l(),n.current=window.setTimeout(function(){t.current=null,n.current=void 0},100)},function(){return t.current}]}(0),ty=(0,a.Z)(tx,2),tw=ty[0],tC=ty[1];function t$(e,t){t&&("function"==typeof t?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout(function(){t.scrollLeft=e},0)))}var tE=(0,i.Z)(function(e){var t,n=e.currentTarget,r=e.scrollLeft,l="rtl"===v,o="number"==typeof r?r:n.scrollLeft,a=n||ek;tC()&&tC()!==a||(tw(a),t$(o,eY.current),t$(o,eG.current),t$(o,eQ.current),t$(o,null===(t=tc.current)||void 0===t?void 0:t.setScrollLeft));var i=n||eY.current;if(i){var c=i.scrollWidth,d=i.clientWidth;if(c===d){e4(!1),e9(!1);return}l?(e4(-o0)):(e4(o>0),e9(o1?y-M:0,H=(0,$.Z)((0,$.Z)((0,$.Z)({},I),u),{},{flex:"0 0 ".concat(M,"px"),width:"".concat(M,"px"),marginRight:B,pointerEvents:"auto"}),z=r.useMemo(function(){return h?T<=1:0===O||0===T||T>1},[T,O,h]);z?H.visibility="hidden":h&&(H.height=null==b?void 0:b(T));var K={};return(0===T||0===O)&&(K.rowSpan=1,K.colSpan=1),r.createElement(P,(0,p.Z)({className:k()(x,m),ellipsis:l.ellipsis,align:l.align,scope:l.rowScope,component:c,prefixCls:n.prefixCls,key:E,record:s,index:i,renderIndex:d,dataIndex:v,render:z?function(){return null}:g,shouldCellUpdate:l.shouldCellUpdate},S,{appendNode:Z,additionalProps:(0,$.Z)((0,$.Z)({},N),{},{style:H},K)}))},eT=["data","index","className","rowKey","style","extra","getHeight"],eM=x(r.forwardRef(function(e,t){var n,l=e.data,o=e.index,a=e.className,i=e.rowKey,c=e.style,d=e.extra,s=e.getHeight,u=(0,B.Z)(e,eT),m=l.record,h=l.indent,b=l.index,g=f(w,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),v=g.scrollX,x=g.flattenColumns,y=g.prefixCls,C=g.fixColumn,S=g.componentWidth,Z=f(eO,["getComponent"]).getComponent,N=q(m,i,o,h),I=Z(["body","row"],"div"),R=Z(["body","cell"],"div"),O=N.rowSupportExpand,j=N.expanded,T=N.rowProps,M=N.expandedRowRender,H=N.expandedRowClassName;if(O&&j){var z=M(m,o,h+1,j),K=null==H?void 0:H(m,o,h),L={};C&&(L={style:(0,E.Z)({},"--virtual-width","".concat(S,"px"))});var A="".concat(y,"-expanded-row-cell");n=r.createElement(I,{className:k()("".concat(y,"-expanded-row"),"".concat(y,"-expanded-row-level-").concat(h+1),K)},r.createElement(P,{component:R,prefixCls:y,className:k()(A,(0,E.Z)({},"".concat(A,"-fixed"),C)),additionalProps:L},z))}var _=(0,$.Z)((0,$.Z)({},c),{},{width:v});d&&(_.position="absolute",_.pointerEvents="none");var F=r.createElement(I,(0,p.Z)({},T,u,{"data-row-key":i,ref:O?null:t,className:k()(a,"".concat(y,"-row"),null==T?void 0:T.className,(0,E.Z)({},"".concat(y,"-row-extra"),d)),style:(0,$.Z)((0,$.Z)({},_),null==T?void 0:T.style)}),x.map(function(e,t){return r.createElement(eP,{key:t,component:R,rowInfo:N,column:e,colIndex:t,indent:h,index:o,renderIndex:b,record:m,inverse:d,getHeight:s})}));return O?r.createElement("div",{ref:t},F,n):F})),eB=x(r.forwardRef(function(e,t){var n,l=e.data,o=e.onScroll,i=f(w,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),c=i.flattenColumns,d=i.onColumnResize,s=i.getRowKey,u=i.expandedKeys,p=i.prefixCls,m=i.childrenColumnName,h=i.emptyNode,b=i.scrollX,g=f(eO),v=g.sticky,x=g.scrollY,y=g.listItemHeight,$=g.getComponent,E=g.onScroll,S=r.useRef(),Z=D(l,m,u,s),N=r.useMemo(function(){var e=0;return c.map(function(t){var n=t.width,r=t.key;return e+=n,[r,n,e]})},[c]),I=r.useMemo(function(){return N.map(function(e){return e[2]})},[N]);r.useEffect(function(){N.forEach(function(e){var t=(0,a.Z)(e,2);d(t[0],t[1])})},[N]),r.useImperativeHandle(t,function(){var e={scrollTo:function(e){var t;null===(t=S.current)||void 0===t||t.scrollTo(e)}};return Object.defineProperty(e,"scrollLeft",{get:function(){var e;return(null===(e=S.current)||void 0===e?void 0:e.getScrollInfo().x)||0},set:function(e){var t;null===(t=S.current)||void 0===t||t.scrollTo({left:e})}}),e});var R=function(e,t){var n=null===(l=Z[t])||void 0===l?void 0:l.record,r=e.onCell;if(r){var l,o,a=r(n,t);return null!==(o=null==a?void 0:a.rowSpan)&&void 0!==o?o:1}return 1},O=r.useMemo(function(){return{columnsOffset:I}},[I]),j="".concat(p,"-tbody"),T=$(["body","wrapper"]),M=$(["body","row"],"div"),B=$(["body","cell"],"div");if(Z.length){var H={};v&&(H.position="sticky",H.bottom=0,"object"===(0,C.Z)(v)&&v.offsetScroll&&(H.bottom=v.offsetScroll)),n=r.createElement(eR.Z,{fullHeight:!1,ref:S,prefixCls:"".concat(j,"-virtual"),styles:{horizontalScrollBar:H},className:j,height:x,itemHeight:y||24,data:Z,itemKey:function(e){return s(e.record)},component:T,scrollWidth:b,onVirtualScroll:function(e){o({scrollLeft:e.x})},onScroll:E,extraRender:function(e){var t=e.start,n=e.end,l=e.getSize,o=e.offsetY;if(n<0)return null;for(var a=c.filter(function(e){return 0===R(e,t)}),i=t,d=function(e){if(!(a=a.filter(function(t){return 0===R(t,e)})).length)return i=e,1},u=t;u>=0&&!d(u);u-=1);for(var f=c.filter(function(e){return 1!==R(e,n)}),p=n,m=function(e){if(!(f=f.filter(function(t){return 1!==R(t,e)})).length)return p=Math.max(e-1,n),1},h=n;h1})&&b.push(e)},v=i;v<=p;v+=1)if(g(v))continue;return b.map(function(e){var t=Z[e],n=s(t.record,e),a=l(n);return r.createElement(eM,{key:e,data:t,rowKey:n,index:e,style:{top:-o+a.top},extra:!0,getHeight:function(t){var r=e+t-1,o=l(n,s(Z[r].record,r));return o.bottom-o.top}})})}},function(e,t,n){var l=s(e.record,t);return r.createElement(eM,{data:e,rowKey:l,index:t,style:n.style})})}else n=r.createElement(M,{className:k()("".concat(p,"-placeholder"))},r.createElement(P,{component:B,prefixCls:p},h));return r.createElement(ej.Provider,{value:O},n)})),eH=function(e,t){var n=t.ref,l=t.onScroll;return r.createElement(eB,{ref:n,data:e,onScroll:l})},ez=r.forwardRef(function(e,t){var n=e.columns,l=e.scroll,a=e.sticky,i=e.prefixCls,c=void 0===i?eE:i,d=e.className,s=e.listItemHeight,u=e.components,f=e.onScroll,m=l||{},h=m.x,b=m.y;"number"!=typeof h&&(h=1),"number"!=typeof b&&(b=500);var g=(0,O.zX)(function(e,t){return(0,N.Z)(u,e)||t}),v=(0,O.zX)(f),x=r.useMemo(function(){return{sticky:a,scrollY:b,listItemHeight:s,getComponent:g,onScroll:v}},[a,b,s,g,v]);return r.createElement(eO.Provider,{value:x},r.createElement(eI,(0,p.Z)({},e,{className:k()(d,"".concat(c,"-virtual")),scroll:(0,$.Z)((0,$.Z)({},l),{},{x:h}),components:(0,$.Z)((0,$.Z)({},u),{},{body:eH}),columns:n,internalHooks:o,tailor:!0,ref:t})))});v(ez,void 0);var eK=n(12299),eL=n(74443),eA=n(47940),e_=n(54328),eF=n(77757),eW=n(67478),eD=n(29223),eq=n(80335),eX=n(76372);let eV={},eU="SELECT_ALL",eY="SELECT_INVERT",eG="SELECT_NONE",eJ=[],eQ=(e,t)=>{let n=[];return(t||[]).forEach(t=>{n.push(t),t&&"object"==typeof t&&e in t&&(n=[].concat((0,er.Z)(n),(0,er.Z)(eQ(e,t[e]))))}),n};var e0=(e,t)=>{let{preserveSelectedRowKeys:n,selectedRowKeys:l,defaultSelectedRowKeys:o,getCheckboxProps:a,onChange:i,onSelect:c,onSelectAll:d,onSelectInvert:s,onSelectNone:u,onSelectMultiple:f,columnWidth:p,type:m,selections:h,fixed:b,renderCell:g,hideSelectAll:v,checkStrictly:x=!0}=t||{},{prefixCls:y,data:w,pageData:C,getRecordByKey:$,getRowKey:E,expandType:S,childrenColumnName:Z,locale:N,getPopupContainer:I}=e,R=(0,eW.ln)("Table"),[O,j]=function(e){let[t,n]=(0,r.useState)(null),l=(0,r.useCallback)((r,l,o)=>{let a=null!=t?t:r,i=Math.min(a||0,r),c=Math.max(a||0,r),d=l.slice(i,c+1).map(t=>e(t)),s=d.some(e=>!o.has(e)),u=[];return d.forEach(e=>{s?(o.has(e)||u.push(e),o.add(e)):(o.delete(e),u.push(e))}),n(s?c:null),u},[t]);return[l,e=>{n(e)}]}(e=>e),[P,T]=(0,eF.Z)(l||o||eJ,{value:l}),M=r.useRef(new Map),B=(0,r.useCallback)(e=>{if(n){let t=new Map;e.forEach(e=>{let n=$(e);!n&&M.current.has(e)&&(n=M.current.get(e)),t.set(e,n)}),M.current=t}},[$,n]);r.useEffect(()=>{B(P)},[P]);let{keyEntities:H}=(0,r.useMemo)(()=>{if(x)return{keyEntities:null};let e=w;if(n){let t=new Set(w.map((e,t)=>E(e,t))),n=Array.from(M.current).reduce((e,n)=>{let[r,l]=n;return t.has(r)?e:e.concat(l)},[]);e=[].concat((0,er.Z)(e),(0,er.Z)(n))}return(0,e_.I8)(e,{externalGetKey:E,childrenPropName:Z})},[w,E,x,Z,n]),z=(0,r.useMemo)(()=>eQ(Z,C),[Z,C]),K=(0,r.useMemo)(()=>{let e=new Map;return z.forEach((t,n)=>{let r=E(t,n),l=(a?a(t):null)||{};e.set(r,l)}),e},[z,E,a]),L=(0,r.useCallback)(e=>{var t;return!!(null===(t=K.get(E(e)))||void 0===t?void 0:t.disabled)},[K,E]),[A,_]=(0,r.useMemo)(()=>{if(x)return[P||[],[]];let{checkedKeys:e,halfCheckedKeys:t}=(0,eA.S)(P,!0,H,L);return[e||[],t]},[P,x,H,L]),F=(0,r.useMemo)(()=>{let e="radio"===m?A.slice(0,1):A;return new Set(e)},[A,m]),W=(0,r.useMemo)(()=>"radio"===m?new Set:new Set(_),[_,m]);r.useEffect(()=>{t||T(eJ)},[!!t]);let D=(0,r.useCallback)((e,t)=>{let r,l;B(e),n?(r=e,l=e.map(e=>M.current.get(e))):(r=[],l=[],e.forEach(e=>{let t=$(e);void 0!==t&&(r.push(e),l.push(t))})),T(r),null==i||i(r,l,{type:t})},[T,$,i,n]),q=(0,r.useCallback)((e,t,n,r)=>{if(c){let l=n.map(e=>$(e));c($(e),t,l,r)}D(n,"single")},[c,$,D]),X=(0,r.useMemo)(()=>{if(!h||v)return null;let e=!0===h?[eU,eY,eG]:h;return e.map(e=>e===eU?{key:"all",text:N.selectionAll,onSelect(){D(w.map((e,t)=>E(e,t)).filter(e=>{let t=K.get(e);return!(null==t?void 0:t.disabled)||F.has(e)}),"all")}}:e===eY?{key:"invert",text:N.selectInvert,onSelect(){let e=new Set(F);C.forEach((t,n)=>{let r=E(t,n),l=K.get(r);(null==l?void 0:l.disabled)||(e.has(r)?e.delete(r):e.add(r))});let t=Array.from(e);s&&(R.deprecated(!1,"onSelectInvert","onChange"),s(t)),D(t,"invert")}}:e===eG?{key:"none",text:N.selectNone,onSelect(){null==u||u(),D(Array.from(F).filter(e=>{let t=K.get(e);return null==t?void 0:t.disabled}),"none")}}:e).map(e=>Object.assign(Object.assign({},e),{onSelect:function(){for(var t,n=arguments.length,r=Array(n),l=0;l{var n;let l,o,a;if(!t)return e.filter(e=>e!==eV);let i=(0,er.Z)(e),c=new Set(F),s=z.map(E).filter(e=>!K.get(e).disabled),u=s.every(e=>c.has(e)),w=s.some(e=>c.has(e));if("radio"!==m){let e;if(X){let t={getPopupContainer:I,items:X.map((e,t)=>{let{key:n,text:r,onSelect:l}=e;return{key:null!=n?n:t,onClick:()=>{null==l||l(s)},label:r}})};e=r.createElement("div",{className:`${y}-selection-extra`},r.createElement(eq.Z,{menu:t,getPopupContainer:I},r.createElement("span",null,r.createElement(eK.Z,null))))}let t=z.map((e,t)=>{let n=E(e,t),r=K.get(n)||{};return Object.assign({checked:c.has(n)},r)}).filter(e=>{let{disabled:t}=e;return t}),n=!!t.length&&t.length===z.length,a=n&&t.every(e=>{let{checked:t}=e;return t}),i=n&&t.some(e=>{let{checked:t}=e;return t});o=r.createElement(eD.Z,{checked:n?a:!!z.length&&u,indeterminate:n?!a&&i:!u&&w,onChange:()=>{let e=[];u?s.forEach(t=>{c.delete(t),e.push(t)}):s.forEach(t=>{c.has(t)||(c.add(t),e.push(t))});let t=Array.from(c);null==d||d(!u,t.map(e=>$(e)),e.map(e=>$(e))),D(t,"all"),j(null)},disabled:0===z.length||n,"aria-label":e?"Custom selection":"Select all",skipGroup:!0}),l=!v&&r.createElement("div",{className:`${y}-selection`},o,e)}if(a="radio"===m?(e,t,n)=>{let l=E(t,n),o=c.has(l);return{node:r.createElement(eX.ZP,Object.assign({},K.get(l),{checked:o,onClick:e=>e.stopPropagation(),onChange:e=>{c.has(l)||q(l,!0,[l],e.nativeEvent)}})),checked:o}}:(e,t,n)=>{var l;let o;let a=E(t,n),i=c.has(a),d=W.has(a),u=K.get(a);return o="nest"===S?d:null!==(l=null==u?void 0:u.indeterminate)&&void 0!==l?l:d,{node:r.createElement(eD.Z,Object.assign({},u,{indeterminate:o,checked:i,skipGroup:!0,onClick:e=>e.stopPropagation(),onChange:e=>{let{nativeEvent:t}=e,{shiftKey:n}=t,r=s.findIndex(e=>e===a),l=A.some(e=>s.includes(e));if(n&&x&&l){let e=O(r,s,c),t=Array.from(c);null==f||f(!i,t.map(e=>$(e)),e.map(e=>$(e))),D(t,"multiple")}else if(x){let e=i?(0,eL._5)(A,a):(0,eL.L0)(A,a);q(a,!i,e,t)}else{let e=(0,eA.S)([].concat((0,er.Z)(A),[a]),!0,H,L),{checkedKeys:n,halfCheckedKeys:r}=e,l=n;if(i){let e=new Set(n);e.delete(a),l=(0,eA.S)(Array.from(e),{checked:!1,halfCheckedKeys:r},H,L).checkedKeys}q(a,!i,l,t)}i?j(null):j(r)}})),checked:i}},!i.includes(eV)){if(0===i.findIndex(e=>{var t;return(null===(t=e[ee])||void 0===t?void 0:t.columnType)==="EXPAND_COLUMN"})){let[e,...t]=i;i=[e,eV].concat((0,er.Z)(t))}else i=[eV].concat((0,er.Z)(i))}let C=i.indexOf(eV);i=i.filter((e,t)=>e!==eV||t===C);let Z=i[C-1],N=i[C+1],R=b;void 0===R&&((null==N?void 0:N.fixed)!==void 0?R=N.fixed:(null==Z?void 0:Z.fixed)!==void 0&&(R=Z.fixed)),R&&Z&&(null===(n=Z[ee])||void 0===n?void 0:n.columnType)==="EXPAND_COLUMN"&&void 0===Z.fixed&&(Z.fixed=R);let P=k()(`${y}-selection-col`,{[`${y}-selection-col-with-dropdown`]:h&&"checkbox"===m}),T={fixed:R,width:p,className:`${y}-selection-column`,title:(null==t?void 0:t.columnTitle)?"function"==typeof t.columnTitle?t.columnTitle(o):t.columnTitle:l,render:(e,t,n)=>{let{node:r,checked:l}=a(e,t,n);return g?g(l,t,n,r):r},onCell:t.onCell,[ee]:{className:P}};return i.map(e=>e===eV?T:e)},[E,z,t,A,F,W,p,X,S,K,f,q,L]);return[V,F]},e1=n(55598),e2=n(537),e4=n(63346),e3=n(10917),e6=n(95227),e8=n(82014),e9=n(81349),e7=n(44306),e5=n(91320),te=n(42786),tt=n(73098);let tn=(e,t)=>"key"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function tr(e,t){return t?`${t}-${e}`:`${e}`}let tl=(e,t)=>"function"==typeof e?e(t):e,to=(e,t)=>{let n=tl(e,t);return"[object Object]"===Object.prototype.toString.call(n)?"":n};var ta=n(83780),ti=n(66767),tc=n(27691),td=n(97818),ts=n(78984),tu=n(70730),tf=n(62263),tp=n(29766),tm=n(71841),th=e=>{let{value:t,filterSearch:n,tablePrefixCls:l,locale:o,onChange:a}=e;return n?r.createElement("div",{className:`${l}-filter-dropdown-search`},r.createElement(tm.default,{prefix:r.createElement(tp.Z,null),placeholder:o.filterSearchPlaceholder,onChange:a,value:t,htmlSize:1,className:`${l}-filter-dropdown-search-input`})):null},tb=n(16956);let tg=e=>{let{keyCode:t}=e;t===tb.Z.ENTER&&e.stopPropagation()},tv=r.forwardRef((e,t)=>r.createElement("div",{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:tg,ref:t},e.children));function tx(e){let t=[];return(e||[]).forEach(e=>{let{value:n,children:r}=e;t.push(n),r&&(t=[].concat((0,er.Z)(t),(0,er.Z)(tx(r))))}),t}function ty(e,t){return("string"==typeof t||"number"==typeof t)&&(null==t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}var tw=e=>{var t,n;let l,o;let{tablePrefixCls:a,prefixCls:i,column:c,dropdownPrefixCls:s,columnKey:u,filterOnClose:f,filterMultiple:p,filterMode:m="menu",filterSearch:h=!1,filterState:b,triggerFilter:g,locale:v,children:x,getPopupContainer:y,rootClassName:w}=e,{filterDropdownOpen:C,onFilterDropdownOpenChange:$,filterResetToDefaultFilteredValue:E,defaultFilteredValue:S,filterDropdownVisible:Z,onFilterDropdownVisibleChange:N}=c,[I,R]=r.useState(!1),O=!!(b&&((null===(t=b.filteredKeys)||void 0===t?void 0:t.length)||b.forceFiltered)),j=e=>{R(e),null==$||$(e),null==N||N(e)},P=null!==(n=null!=C?C:Z)&&void 0!==n?n:I,T=null==b?void 0:b.filteredKeys,[M,B]=function(e){let t=r.useRef(e),n=(0,ti.Z)();return[()=>t.current,e=>{t.current=e,n()}]}(T||[]),H=e=>{let{selectedKeys:t}=e;B(t)},z=(e,t)=>{let{node:n,checked:r}=t;p?H({selectedKeys:e}):H({selectedKeys:r&&n.key?[n.key]:[]})};r.useEffect(()=>{I&&H({selectedKeys:T||[]})},[T]);let[K,L]=r.useState([]),A=e=>{L(e)},[_,F]=r.useState(""),W=e=>{let{value:t}=e.target;F(t)};r.useEffect(()=>{I||F("")},[I]);let D=e=>{let t=(null==e?void 0:e.length)?e:null;if(null===t&&(!b||!b.filteredKeys)||(0,d.Z)(t,null==b?void 0:b.filteredKeys,!0))return null;g({column:c,key:u,filteredKeys:t})},q=()=>{j(!1),D(M())},X=function(){let{confirm:e,closeDropdown:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1};e&&D([]),t&&j(!1),F(""),E?B((S||[]).map(e=>String(e))):B([])},V=k()({[`${s}-menu-without-submenu`]:!(c.filters||[]).some(e=>{let{children:t}=e;return t})}),U=e=>{if(e.target.checked){let e=tx(null==c?void 0:c.filters).map(e=>String(e));B(e)}else B([])},Y=e=>{let{filters:t}=e;return(t||[]).map((e,t)=>{let n=String(e.value),r={title:e.text,key:void 0!==e.value?n:String(t)};return e.children&&(r.children=Y({filters:e.children})),r})},G=e=>{var t;return Object.assign(Object.assign({},e),{text:e.title,value:e.key,children:(null===(t=e.children)||void 0===t?void 0:t.map(e=>G(e)))||[]})},{direction:J,renderEmpty:Q}=r.useContext(e4.E_);if("function"==typeof c.filterDropdown)l=c.filterDropdown({prefixCls:`${s}-custom`,setSelectedKeys:e=>H({selectedKeys:e}),selectedKeys:M(),confirm:function(){let{closeDropdown:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e&&j(!1),D(M())},clearFilters:X,filters:c.filters,visible:P,close:()=>{j(!1)}});else if(c.filterDropdown)l=c.filterDropdown;else{let e=M()||[];l=r.createElement(r.Fragment,null,(()=>{var t;let n=null!==(t=null==Q?void 0:Q("Table.filter"))&&void 0!==t?t:r.createElement(td.Z,{image:td.Z.PRESENTED_IMAGE_SIMPLE,description:v.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if(0===(c.filters||[]).length)return n;if("tree"===m)return r.createElement(r.Fragment,null,r.createElement(th,{filterSearch:h,value:_,onChange:W,tablePrefixCls:a,locale:v}),r.createElement("div",{className:`${a}-filter-dropdown-tree`},p?r.createElement(eD.Z,{checked:e.length===tx(c.filters).length,indeterminate:e.length>0&&e.length"function"==typeof h?h(_,G(e)):ty(_,e.title):void 0})));let l=function e(t){let{filters:n,prefixCls:l,filteredKeys:o,filterMultiple:a,searchValue:i,filterSearch:c}=t;return n.map((t,n)=>{let d=String(t.value);if(t.children)return{key:d||n,label:t.text,popupClassName:`${l}-dropdown-submenu`,children:e({filters:t.children,prefixCls:l,filteredKeys:o,filterMultiple:a,searchValue:i,filterSearch:c})};let s=a?eD.Z:eX.ZP,u={key:void 0!==t.value?d:n,label:r.createElement(r.Fragment,null,r.createElement(s,{checked:o.includes(d)}),r.createElement("span",null,t.text))};return i.trim()?"function"==typeof c?c(i,t)?u:null:ty(i,t.text)?u:null:u})}({filters:c.filters||[],filterSearch:h,prefixCls:i,filteredKeys:M(),filterMultiple:p,searchValue:_}),o=l.every(e=>null===e);return r.createElement(r.Fragment,null,r.createElement(th,{filterSearch:h,value:_,onChange:W,tablePrefixCls:a,locale:v}),o?n:r.createElement(ts.Z,{selectable:!0,multiple:p,prefixCls:`${s}-menu`,className:V,onSelect:H,onDeselect:H,selectedKeys:e,getPopupContainer:y,openKeys:K,onOpenChange:A,items:l}))})(),r.createElement("div",{className:`${i}-dropdown-btns`},r.createElement(tc.ZP,{type:"link",size:"small",disabled:E?(0,d.Z)((S||[]).map(e=>String(e)),e,!0):0===e.length,onClick:()=>X()},v.filterReset),r.createElement(tc.ZP,{type:"primary",size:"small",onClick:q},v.filterConfirm)))}return c.filterDropdown&&(l=r.createElement(tu.J,{selectable:void 0},l)),o="function"==typeof c.filterIcon?c.filterIcon(O):c.filterIcon?c.filterIcon:r.createElement(ta.Z,null),r.createElement("div",{className:`${i}-column`},r.createElement("span",{className:`${a}-column-title`},x),r.createElement(eq.Z,{dropdownRender:()=>r.createElement(tv,{className:`${i}-dropdown`},l),trigger:["click"],open:P,onOpenChange:(e,t)=>{"trigger"===t.source&&(e&&void 0!==T&&B(T||[]),j(e),e||c.filterDropdown||!f||q())},getPopupContainer:y,placement:"rtl"===J?"bottomLeft":"bottomRight",rootClassName:w},r.createElement("span",{role:"button",tabIndex:-1,className:k()(`${i}-trigger`,{active:O}),onClick:e=>{e.stopPropagation()}},o)))};let tC=(e,t,n)=>{let r=[];return(e||[]).forEach((e,l)=>{var o;let a=tr(l,n);if(e.filters||"filterDropdown"in e||"onFilter"in e){if("filteredValue"in e){let t=e.filteredValue;"filterDropdown"in e||(t=null!==(o=null==t?void 0:t.map(String))&&void 0!==o?o:t),r.push({column:e,key:tn(e,a),filteredKeys:t,forceFiltered:e.filtered})}else r.push({column:e,key:tn(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered})}"children"in e&&(r=[].concat((0,er.Z)(r),(0,er.Z)(tC(e.children,t,a))))}),r},t$=e=>{let t={};return e.forEach(e=>{let{key:n,filteredKeys:r,column:l}=e,{filters:o,filterDropdown:a}=l;if(a)t[n]=r||null;else if(Array.isArray(r)){let e=tx(o);t[n]=e.filter(e=>r.includes(String(e)))}else t[n]=null}),t},tE=(e,t,n)=>{let r=t.reduce((e,r)=>{let{column:{onFilter:l,filters:o},filteredKeys:a}=r;return l&&a&&a.length?e.map(e=>Object.assign({},e)).filter(e=>a.some(r=>{let a=tx(o),i=a.findIndex(e=>String(e)===String(r)),c=-1!==i?a[i]:r;return e[n]&&(e[n]=tE(e[n],t,n)),l(c,e)})):e},e);return r},tS=e=>e.flatMap(e=>"children"in e?[e].concat((0,er.Z)(tS(e.children||[]))):[e]);var tk=e=>{let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:l,onFilterChange:o,getPopupContainer:a,locale:i,rootClassName:c}=e;(0,eW.ln)("Table");let d=r.useMemo(()=>tS(l||[]),[l]),[s,u]=r.useState(()=>tC(d,!0)),f=r.useMemo(()=>{let e=tC(d,!1);if(0===e.length)return e;let t=!0;if(e.forEach(e=>{let{filteredKeys:n}=e;void 0!==n&&(t=!1)}),t){let e=(d||[]).map((e,t)=>tn(e,tr(t)));return s.filter(t=>{let{key:n}=t;return e.includes(n)}).map(t=>{let n=d[e.findIndex(e=>e===t.key)];return Object.assign(Object.assign({},t),{column:Object.assign(Object.assign({},t.column),n),forceFiltered:n.filtered})})}return e},[d,s]),p=r.useMemo(()=>t$(f),[f]),m=e=>{let t=f.filter(t=>{let{key:n}=t;return n!==e.key});t.push(e),u(t),o(t$(t),t)};return[e=>(function e(t,n,l,o,a,i,c,d,s){return l.map((l,u)=>{let f=tr(u,d),{filterOnClose:p=!0,filterMultiple:m=!0,filterMode:h,filterSearch:b}=l,g=l;if(g.filters||g.filterDropdown){let e=tn(g,f),d=o.find(t=>{let{key:n}=t;return e===n});g=Object.assign(Object.assign({},g),{title:o=>r.createElement(tw,{tablePrefixCls:t,prefixCls:`${t}-filter`,dropdownPrefixCls:n,column:g,columnKey:e,filterState:d,filterOnClose:p,filterMultiple:m,filterMode:h,filterSearch:b,triggerFilter:i,locale:a,getPopupContainer:c,rootClassName:s},tl(l.title,o))})}return"children"in g&&(g=Object.assign(Object.assign({},g),{children:e(t,n,g.children,o,a,i,c,f,s)})),g})})(t,n,e,f,i,m,a,void 0,c),f,p]},tZ=(e,t,n)=>{let l=r.useRef({});return[function(r){var o;if(!l.current||l.current.data!==e||l.current.childrenColumnName!==t||l.current.getRowKey!==n){let r=new Map;!function e(l){l.forEach((l,o)=>{let a=n(l,o);r.set(a,l),l&&"object"==typeof l&&t in l&&e(l[t]||[])})}(e),l.current={data:e,childrenColumnName:t,kvMap:r,getRowKey:n}}return null===(o=l.current.kvMap)||void 0===o?void 0:o.get(r)}]},tN=n(757),tI=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n},tR=function(e,t,n){let l=n&&"object"==typeof n?n:{},{total:o=0}=l,a=tI(l,["total"]),[i,c]=(0,r.useState)(()=>({current:"defaultCurrent"in a?a.defaultCurrent:1,pageSize:"defaultPageSize"in a?a.defaultPageSize:10})),d=(0,tN.Z)(i,a,{total:o>0?o:e}),s=Math.ceil((o||e)/d.pageSize);d.current>s&&(d.current=s||1);let u=(e,t)=>{c({current:null!=e?e:1,pageSize:t||d.pageSize})};return!1===n?[{},()=>{}]:[Object.assign(Object.assign({},d),{onChange:(e,r)=>{var l;n&&(null===(l=n.onChange)||void 0===l||l.call(n,e,r)),u(e,r),t(e,r||(null==d?void 0:d.pageSize))}}),u]},tO=n(31016),tj=n(40496),tP=n(60205);let tT="ascend",tM="descend",tB=e=>"object"==typeof e.sorter&&"number"==typeof e.sorter.multiple&&e.sorter.multiple,tH=e=>"function"==typeof e?e:!!e&&"object"==typeof e&&!!e.compare&&e.compare,tz=(e,t)=>t?e[e.indexOf(t)+1]:e[0],tK=(e,t,n)=>{let r=[],l=(e,t)=>{r.push({column:e,key:tn(e,t),multiplePriority:tB(e),sortOrder:e.sortOrder})};return(e||[]).forEach((e,o)=>{let a=tr(o,n);e.children?("sortOrder"in e&&l(e,a),r=[].concat((0,er.Z)(r),(0,er.Z)(tK(e.children,t,a)))):e.sorter&&("sortOrder"in e?l(e,a):t&&e.defaultSortOrder&&r.push({column:e,key:tn(e,a),multiplePriority:tB(e),sortOrder:e.defaultSortOrder}))}),r},tL=(e,t,n,l,o,a,i,c)=>{let d=(t||[]).map((t,d)=>{let s=tr(d,c),u=t;if(u.sorter){let c;let d=u.sortDirections||o,f=void 0===u.showSorterTooltip?i:u.showSorterTooltip,p=tn(u,s),m=n.find(e=>{let{key:t}=e;return t===p}),h=m?m.sortOrder:null,b=tz(d,h);if(t.sortIcon)c=t.sortIcon({sortOrder:h});else{let t=d.includes(tT)&&r.createElement(tj.Z,{className:k()(`${e}-column-sorter-up`,{active:h===tT})}),n=d.includes(tM)&&r.createElement(tO.Z,{className:k()(`${e}-column-sorter-down`,{active:h===tM})});c=r.createElement("span",{className:k()(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(t&&n)})},r.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},t,n))}let{cancelSort:g,triggerAsc:v,triggerDesc:x}=a||{},y=g;b===tM?y=x:b===tT&&(y=v);let w="object"==typeof f?Object.assign({title:y},f):{title:y};u=Object.assign(Object.assign({},u),{className:k()(u.className,{[`${e}-column-sort`]:h}),title:n=>{let l=`${e}-column-sorters`,o=r.createElement("span",{className:`${e}-column-title`},tl(t.title,n)),a=r.createElement("div",{className:l},o,c);return f?"boolean"!=typeof f&&(null==f?void 0:f.target)==="sorter-icon"?r.createElement("div",{className:`${l} ${e}-column-sorters-tooltip-target-sorter`},o,r.createElement(tP.Z,Object.assign({},w),c)):r.createElement(tP.Z,Object.assign({},w),a):a},onHeaderCell:n=>{var r;let o=(null===(r=t.onHeaderCell)||void 0===r?void 0:r.call(t,n))||{},a=o.onClick,i=o.onKeyDown;o.onClick=e=>{l({column:t,key:p,sortOrder:b,multiplePriority:tB(t)}),null==a||a(e)},o.onKeyDown=e=>{e.keyCode===tb.Z.ENTER&&(l({column:t,key:p,sortOrder:b,multiplePriority:tB(t)}),null==i||i(e))};let c=to(t.title,{}),d=null==c?void 0:c.toString();return h?o["aria-sort"]="ascend"===h?"ascending":"descending":o["aria-label"]=d||"",o.className=k()(o.className,`${e}-column-has-sorters`),o.tabIndex=0,t.ellipsis&&(o.title=(null!=c?c:"").toString()),o}})}return"children"in u&&(u=Object.assign(Object.assign({},u),{children:tL(e,u.children,n,l,o,a,i,s)})),u});return d},tA=e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},t_=e=>{let t=e.filter(e=>{let{sortOrder:t}=e;return t}).map(tA);if(0===t.length&&e.length){let t=e.length-1;return Object.assign(Object.assign({},tA(e[t])),{column:void 0})}return t.length<=1?t[0]||{}:t},tF=(e,t,n)=>{let r=t.slice().sort((e,t)=>t.multiplePriority-e.multiplePriority),l=e.slice(),o=r.filter(e=>{let{column:{sorter:t},sortOrder:n}=e;return tH(t)&&n});return o.length?l.sort((e,t)=>{for(let n=0;n{let r=e[n];return r?Object.assign(Object.assign({},e),{[n]:tF(r,t,n)}):e}):l};var tW=e=>{let{prefixCls:t,mergedColumns:n,sortDirections:l,tableLocale:o,showSorterTooltip:a,onSorterChange:i}=e,[c,d]=r.useState(tK(n,!0)),s=(e,t)=>{let n=[];return e.forEach((e,r)=>{let l=tr(r,t);if(n.push(tn(e,l)),Array.isArray(e.children)){let t=s(e.children,l);n.push.apply(n,(0,er.Z)(t))}}),n},u=r.useMemo(()=>{let e=!0,t=tK(n,!1);if(!t.length){let e=s(n);return c.filter(t=>{let{key:n}=t;return e.includes(n)})}let r=[];function l(t){e?r.push(t):r.push(Object.assign(Object.assign({},t),{sortOrder:null}))}let o=null;return t.forEach(t=>{null===o?(l(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:o=!0)):(o&&!1!==t.multiplePriority||(e=!1),l(t))}),r},[n,c]),f=r.useMemo(()=>{var e,t;let n=u.map(e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n}});return{sortColumns:n,sortColumn:null===(e=n[0])||void 0===e?void 0:e.column,sortOrder:null===(t=n[0])||void 0===t?void 0:t.order}},[u]),p=e=>{let t;d(t=!1!==e.multiplePriority&&u.length&&!1!==u[0].multiplePriority?[].concat((0,er.Z)(u.filter(t=>{let{key:n}=t;return n!==e.key})),[e]):[e]),i(t_(t),t)};return[e=>tL(t,e,u,p,l,o,a),u,f,()=>t_(u)]};let tD=(e,t)=>{let n=e.map(e=>{let n=Object.assign({},e);return n.title=tl(e.title,t),"children"in n&&(n.children=tD(n.children,t)),n});return n};var tq=e=>{let t=r.useCallback(t=>tD(t,e),[e]);return[t]};let tX=v(eN,(e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),tV=v(ez,(e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r});var tU=n(38083),tY=n(51084),tG=n(60848),tJ=n(90102),tQ=n(74934),t0=e=>{let{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:l,tableHeaderBg:o,tablePaddingVertical:a,tablePaddingHorizontal:i,calc:c}=e,d=`${(0,tU.bf)(n)} ${r} ${l}`,s=(e,r,l)=>({[`&${t}-${e}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{[` + > table > tbody > tr > th, + > table > tbody > tr > td + `]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,tU.bf)(c(r).mul(-1).equal())} + ${(0,tU.bf)(c(c(l).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:d,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:d,borderTop:d,[` + > ${t}-content, + > ${t}-header, + > ${t}-body, + > ${t}-summary + `]:{"> table":{[` + > thead > tr > th, + > thead > tr > td, + > tbody > tr > th, + > tbody > tr > td, + > tfoot > tr > th, + > tfoot > tr > td + `]:{borderInlineEnd:d},"> thead":{"> tr:not(:last-child) > th":{borderBottom:d},"> tr > th::before":{backgroundColor:"transparent !important"}},[` + > thead > tr, + > tbody > tr, + > tfoot > tr + `]:{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:d}},[` + > tbody > tr > th, + > tbody > tr > td + `]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,tU.bf)(c(a).mul(-1).equal())} ${(0,tU.bf)(c(c(i).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:d,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` + > tr${t}-expanded-row, + > tr${t}-placeholder + `]:{"> th, > td":{borderInlineEnd:0}}}}}},s("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),s("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:d,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,tU.bf)(n)} 0 ${(0,tU.bf)(n)} ${o}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:d}}}},t1=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},tG.vS),{wordBreak:"keep-all",[` + &${t}-cell-fix-left-last, + &${t}-cell-fix-right-first + `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},t2=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,[` + &:hover > th, + &:hover > td, + `]:{background:e.colorBgContainer}}}}},t4=n(27494),t3=e=>{let{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:l,paddingXS:o,lineType:a,tableBorderColor:i,tableExpandIconBg:c,tableExpandColumnWidth:d,borderRadius:s,tablePaddingVertical:u,tablePaddingHorizontal:f,tableExpandedRowBg:p,paddingXXS:m,expandIconMarginTop:h,expandIconSize:b,expandIconHalfInner:g,expandIconScale:v,calc:x}=e,y=`${(0,tU.bf)(l)} ${a} ${i}`,w=x(m).sub(l).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:d},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},(0,t4.N)(e)),{position:"relative",float:"left",boxSizing:"border-box",width:b,height:b,padding:0,color:"inherit",lineHeight:(0,tU.bf)(b),background:c,border:y,borderRadius:s,transform:`scale(${v})`,transition:`all ${r}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:g,insetInlineEnd:w,insetInlineStart:w,height:l},"&::after":{top:w,bottom:w,insetInlineStart:g,width:l,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:h,marginInlineEnd:o},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:p}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${(0,tU.bf)(x(u).mul(-1).equal())} ${(0,tU.bf)(x(f).mul(-1).equal())}`,padding:`${(0,tU.bf)(u)} ${(0,tU.bf)(f)}`}}}},t6=e=>{let{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:l,tableFilterDropdownSearchWidth:o,paddingXXS:a,paddingXS:i,colorText:c,lineWidth:d,lineType:s,tableBorderColor:u,headerIconColor:f,fontSizeSM:p,tablePaddingHorizontal:m,borderRadius:h,motionDurationSlow:b,colorTextDescription:g,colorPrimary:v,tableHeaderFilterActiveBg:x,colorTextDisabled:y,tableFilterDropdownBg:w,tableFilterDropdownHeight:C,controlItemBgHover:$,controlItemBgActive:E,boxShadowSecondary:S,filterDropdownMenuBg:k,calc:Z}=e,N=`${n}-dropdown`,I=`${t}-filter-dropdown`,R=`${n}-tree`,O=`${(0,tU.bf)(d)} ${s} ${u}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Z(a).mul(-1).equal(),marginInline:`${(0,tU.bf)(a)} ${(0,tU.bf)(Z(m).div(2).mul(-1).equal())}`,padding:`0 ${(0,tU.bf)(a)}`,color:f,fontSize:p,borderRadius:h,cursor:"pointer",transition:`all ${b}`,"&:hover":{color:g,background:x},"&.active":{color:v}}}},{[`${n}-dropdown`]:{[I]:Object.assign(Object.assign({},(0,tG.Wf)(e)),{minWidth:l,backgroundColor:w,borderRadius:h,boxShadow:S,overflow:"hidden",[`${N}-menu`]:{maxHeight:C,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:k,"&:empty::after":{display:"block",padding:`${(0,tU.bf)(i)} 0`,color:y,fontSize:p,textAlign:"center",content:'"Not Found"'}},[`${I}-tree`]:{paddingBlock:`${(0,tU.bf)(i)} 0`,paddingInline:i,[R]:{padding:0},[`${R}-treenode ${R}-node-content-wrapper:hover`]:{backgroundColor:$},[`${R}-treenode-checkbox-checked ${R}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:E}}},[`${I}-search`]:{padding:i,borderBottom:O,"&-input":{input:{minWidth:o},[r]:{color:y}}},[`${I}-checkall`]:{width:"100%",marginBottom:a,marginInlineStart:a},[`${I}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,tU.bf)(Z(i).sub(d).equal())} ${(0,tU.bf)(i)}`,overflow:"hidden",borderTop:O}})}},{[`${n}-dropdown ${I}, ${I}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:i,color:c},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},t8=e=>{let{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:l,zIndexTableFixed:o,tableBg:a,zIndexTableSticky:i,calc:c}=e;return{[`${t}-wrapper`]:{[` + ${t}-cell-fix-left, + ${t}-cell-fix-right + `]:{position:"sticky !important",zIndex:o,background:a},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:c(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:c(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:c(i).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${r}`},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${r}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${r}`},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${r}`}},[`${t}-fixed-column-gapped`]:{[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after, + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{boxShadow:"none"}}}}},t9=e=>{let{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${(0,tU.bf)(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},t7=e=>{let{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${(0,tU.bf)(n)} ${(0,tU.bf)(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${(0,tU.bf)(n)} ${(0,tU.bf)(n)}`}}}}},t5=e=>{let{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},ne=e=>{let{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:l,padding:o,paddingXS:a,headerIconColor:i,headerIconHoverColor:c,tableSelectionColumnWidth:d,tableSelectedRowBg:s,tableSelectedRowHoverBg:u,tableRowHoverBg:f,tablePaddingHorizontal:p,calc:m}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:d,[`&${t}-selection-col-with-dropdown`]:{width:m(d).add(l).add(m(o).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:m(d).add(m(a).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:m(d).add(l).add(m(o).div(4)).add(m(a).mul(2)).equal()}},[` + table tr th${t}-selection-column, + table tr td${t}-selection-column, + ${t}-selection-column + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:m(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,tU.bf)(m(p).div(4).equal()),[r]:{color:i,fontSize:l,verticalAlign:"baseline","&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:s,"&-row-hover":{background:u}}},[`> ${t}-cell-row-hover`]:{background:f}}}}}},nt=e=>{let{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,l=(e,l,o,a)=>({[`${t}${t}-${e}`]:{fontSize:a,[` + ${t}-title, + ${t}-footer, + ${t}-cell, + ${t}-thead > tr > th, + ${t}-tbody > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{padding:`${(0,tU.bf)(l)} ${(0,tU.bf)(o)}`},[`${t}-filter-trigger`]:{marginInlineEnd:(0,tU.bf)(r(o).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${(0,tU.bf)(r(l).mul(-1).equal())} ${(0,tU.bf)(r(o).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:(0,tU.bf)(r(l).mul(-1).equal()),marginInline:`${(0,tU.bf)(r(n).sub(o).equal())} ${(0,tU.bf)(r(o).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:(0,tU.bf)(r(o).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},l("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),l("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},nn=e=>{let{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:l,headerIconHoverColor:o}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` + &${t}-cell-fix-left:hover, + &${t}-cell-fix-right:hover + `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:n,color:l,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:o}}}},nr=e=>{let{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:l,tableScrollThumbSize:o,tableScrollBg:a,zIndexTableSticky:i,stickyScrollBarBorderRadius:c,lineWidth:d,lineType:s,tableBorderColor:u}=e,f=`${(0,tU.bf)(d)} ${s} ${u}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:i,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,tU.bf)(o)} !important`,zIndex:i,display:"flex",alignItems:"center",background:a,borderTop:f,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:o,backgroundColor:r,borderRadius:c,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:l}}}}}}},nl=e=>{let{componentCls:t,lineWidth:n,tableBorderColor:r,calc:l}=e,o=`${(0,tU.bf)(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:o}}},[`div${t}-summary`]:{boxShadow:`0 ${(0,tU.bf)(l(n).mul(-1).equal())} 0 ${r}`}}}},no=e=>{let{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:l,tableBorderColor:o,calc:a}=e,i=`${(0,tU.bf)(r)} ${l} ${o}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row:not(tr)`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:i,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,tU.bf)(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:i,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:i,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:a(r).mul(-1).equal(),borderInlineStart:i}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:i,borderBottom:i}}}}}};let na=e=>{let{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:l,tableExpandColumnWidth:o,lineWidth:a,lineType:i,tableBorderColor:c,tableFontSize:d,tableBg:s,tableRadius:u,tableHeaderTextColor:f,motionDurationMid:p,tableHeaderBg:m,tableHeaderCellSplitColor:h,tableFooterTextColor:b,tableFooterBg:g,calc:v}=e,x=`${(0,tU.bf)(a)} ${i} ${c}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,tG.dF)()),{[t]:Object.assign(Object.assign({},(0,tG.Wf)(e)),{fontSize:d,background:s,borderRadius:`${(0,tU.bf)(u)} ${(0,tU.bf)(u)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,tU.bf)(u)} ${(0,tU.bf)(u)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` + ${t}-cell, + ${t}-thead > tr > th, + ${t}-tbody > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{position:"relative",padding:`${(0,tU.bf)(r)} ${(0,tU.bf)(l)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${(0,tU.bf)(r)} ${(0,tU.bf)(l)}`},[`${t}-thead`]:{[` + > tr > th, + > tr > td + `]:{position:"relative",color:f,fontWeight:n,textAlign:"start",background:m,borderBottom:x,transition:`background ${p} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:h,transform:"translateY(-50%)",transition:`background-color ${p}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${p}, border-color ${p}`,borderBottom:x,[` + > ${t}-wrapper:only-child, + > ${t}-expanded-row-fixed > ${t}-wrapper:only-child + `]:{[t]:{marginBlock:(0,tU.bf)(v(r).mul(-1).equal()),marginInline:`${(0,tU.bf)(v(o).sub(l).equal())} + ${(0,tU.bf)(v(l).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:m,borderBottom:x,transition:`background ${p} ease`}}},[`${t}-footer`]:{padding:`${(0,tU.bf)(r)} ${(0,tU.bf)(l)}`,color:b,background:g}})}};var ni=(0,tJ.I$)("Table",e=>{let{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:l,headerBg:o,headerColor:a,headerSortActiveBg:i,headerSortHoverBg:c,bodySortBg:d,rowHoverBg:s,rowSelectedBg:u,rowSelectedHoverBg:f,rowExpandedBg:p,cellPaddingBlock:m,cellPaddingInline:h,cellPaddingBlockMD:b,cellPaddingInlineMD:g,cellPaddingBlockSM:v,cellPaddingInlineSM:x,borderColor:y,footerBg:w,footerColor:C,headerBorderRadius:$,cellFontSize:E,cellFontSizeMD:S,cellFontSizeSM:k,headerSplitColor:Z,fixedHeaderSortActiveBg:N,headerFilterHoverBg:I,filterDropdownBg:R,expandIconBg:O,selectionColumnWidth:j,stickyScrollBarBg:P,calc:T}=e,M=(0,tQ.IX)(e,{tableFontSize:E,tableBg:r,tableRadius:$,tablePaddingVertical:m,tablePaddingHorizontal:h,tablePaddingVerticalMiddle:b,tablePaddingHorizontalMiddle:g,tablePaddingVerticalSmall:v,tablePaddingHorizontalSmall:x,tableBorderColor:y,tableHeaderTextColor:a,tableHeaderBg:o,tableFooterTextColor:C,tableFooterBg:w,tableHeaderCellSplitColor:Z,tableHeaderSortBg:i,tableHeaderSortHoverBg:c,tableBodySortBg:d,tableFixedHeaderSortActiveBg:N,tableHeaderFilterActiveBg:I,tableFilterDropdownBg:R,tableRowHoverBg:s,tableSelectedRowBg:u,tableSelectedRowHoverBg:f,zIndexTableFixed:2,zIndexTableSticky:T(2).add(1).equal({unit:!1}),tableFontSizeMiddle:S,tableFontSizeSmall:k,tableSelectionColumnWidth:j,tableExpandIconBg:O,tableExpandColumnWidth:T(l).add(T(e.padding).mul(2)).equal(),tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:P,tableScrollThumbBgHover:t,tableScrollBg:n});return[na(M),t9(M),nl(M),nn(M),t6(M),t0(M),t7(M),t3(M),nl(M),t2(M),ne(M),t8(M),nr(M),t1(M),nt(M),t5(M),no(M)]},e=>{let{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:l,colorFillContent:o,controlItemBgActive:a,controlItemBgActiveHover:i,padding:c,paddingSM:d,paddingXS:s,colorBorderSecondary:u,borderRadiusLG:f,controlHeight:p,colorTextPlaceholder:m,fontSize:h,fontSizeSM:b,lineHeight:g,lineWidth:v,colorIcon:x,colorIconHover:y,opacityLoading:w,controlInteractiveSize:C}=e,$=new tY.C(l).onBackground(n).toHexShortString(),E=new tY.C(o).onBackground(n).toHexShortString(),S=new tY.C(t).onBackground(n).toHexShortString(),k=new tY.C(x),Z=new tY.C(y),N=C/2-v,I=2*N+3*v;return{headerBg:S,headerColor:r,headerSortActiveBg:$,headerSortHoverBg:E,bodySortBg:S,rowHoverBg:S,rowSelectedBg:a,rowSelectedHoverBg:i,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:d,cellPaddingInlineMD:s,cellPaddingBlockSM:s,cellPaddingInlineSM:s,borderColor:u,headerBorderRadius:f,footerBg:S,footerColor:r,cellFontSize:h,cellFontSizeMD:h,cellFontSizeSM:h,headerSplitColor:u,fixedHeaderSortActiveBg:$,headerFilterHoverBg:o,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:p,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(h*g-3*v)/2-Math.ceil((1.4*b-3*v)/2),headerIconColor:k.clone().setAlpha(k.getAlpha()*w).toRgbString(),headerIconHoverColor:Z.clone().setAlpha(Z.getAlpha()*w).toRgbString(),expandIconHalfInner:N,expandIconSize:I,expandIconScale:C/I}},{unitless:{expandIconScale:!0}});let nc=[];var nd=r.forwardRef((e,t)=>{var n,l,a;let i,c,d;let{prefixCls:s,className:u,rootClassName:f,style:p,size:m,bordered:h,dropdownPrefixCls:b,dataSource:g,pagination:v,rowSelection:x,rowKey:y="key",rowClassName:w,columns:C,children:$,childrenColumnName:E,onChange:S,getPopupContainer:Z,loading:N,expandIcon:I,expandable:R,expandedRowRender:O,expandIconColumnIndex:j,indentSize:P,scroll:T,sortDirections:M,locale:B,showSorterTooltip:H={target:"full-header"},virtual:z}=e;(0,eW.ln)("Table");let K=r.useMemo(()=>C||ep($),[C,$]),L=r.useMemo(()=>K.some(e=>e.responsive),[K]),A=(0,e9.Z)(L),_=r.useMemo(()=>{let e=new Set(Object.keys(A).filter(e=>A[e]));return K.filter(t=>!t.responsive||t.responsive.some(t=>e.has(t)))},[K,A]),F=(0,e1.Z)(e,["className","style","columns"]),{locale:W=e7.Z,direction:D,table:q,renderEmpty:X,getPrefixCls:V,getPopupContainer:U}=r.useContext(e4.E_),Y=(0,e8.Z)(m),G=Object.assign(Object.assign({},W.Table),B),J=g||nc,Q=V("table",s),ee=V("dropdown",b),[,et]=(0,tt.ZP)(),en=(0,e6.Z)(Q),[er,el,eo]=ni(Q,en),ea=Object.assign(Object.assign({childrenColumnName:E,expandIconColumnIndex:j},R),{expandIcon:null!==(n=null==R?void 0:R.expandIcon)&&void 0!==n?n:null===(l=null==q?void 0:q.expandable)||void 0===l?void 0:l.expandIcon}),{childrenColumnName:ei="children"}=ea,ec=r.useMemo(()=>J.some(e=>null==e?void 0:e[ei])?"nest":O||(null==R?void 0:R.expandedRowRender)?"row":null,[J]),ed={body:r.useRef()},es=r.useRef(null),eu=r.useRef(null);a=()=>Object.assign(Object.assign({},eu.current),{nativeElement:es.current}),(0,r.useImperativeHandle)(t,()=>{let e=a(),{nativeElement:t}=e;return"undefined"!=typeof Proxy?new Proxy(t,{get:(t,n)=>e[n]?e[n]:Reflect.get(t,n)}):(t._antProxy=t._antProxy||{},Object.keys(e).forEach(n=>{if(!(n in t._antProxy)){let r=t[n];t._antProxy[n]=r,t[n]=e[n]}}),t)});let ef=r.useMemo(()=>"function"==typeof y?y:e=>null==e?void 0:e[y],[y]),[em]=tZ(J,ei,ef),eh={},eb=function(e,t){var n,r,l,o;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=Object.assign(Object.assign({},eh),e);a&&(null===(n=eh.resetPagination)||void 0===n||n.call(eh),(null===(r=i.pagination)||void 0===r?void 0:r.current)&&(i.pagination.current=1),v&&(null===(l=v.onChange)||void 0===l||l.call(v,1,null===(o=i.pagination)||void 0===o?void 0:o.pageSize))),T&&!1!==T.scrollToFirstRowOnChange&&ed.body.current&&(0,e2.Z)(0,{getContainer:()=>ed.body.current}),null==S||S(i.pagination,i.filters,i.sorter,{currentDataSource:tE(tF(J,i.sorterStates,ei),i.filterStates,ei),action:t})},[eg,ev,ex,ey]=tW({prefixCls:Q,mergedColumns:_,onSorterChange:(e,t)=>{eb({sorter:e,sorterStates:t},"sort",!1)},sortDirections:M||["ascend","descend"],tableLocale:G,showSorterTooltip:H}),ew=r.useMemo(()=>tF(J,ev,ei),[J,ev]);eh.sorter=ey(),eh.sorterStates=ev;let[eC,e$,eE]=tk({prefixCls:Q,locale:G,dropdownPrefixCls:ee,mergedColumns:_,onFilterChange:(e,t)=>{eb({filters:e,filterStates:t},"filter",!0)},getPopupContainer:Z||U,rootClassName:k()(f,en)}),eS=tE(ew,e$,ei);eh.filters=eE,eh.filterStates=e$;let ek=r.useMemo(()=>{let e={};return Object.keys(eE).forEach(t=>{null!==eE[t]&&(e[t]=eE[t])}),Object.assign(Object.assign({},ex),{filters:e})},[ex,eE]),[eZ]=tq(ek),[eN,eI]=tR(eS.length,(e,t)=>{eb({pagination:Object.assign(Object.assign({},eh.pagination),{current:e,pageSize:t})},"paginate")},v);eh.pagination=!1===v?{}:function(e,t){let n={current:e.current,pageSize:e.pageSize},r=t&&"object"==typeof t?t:{};return Object.keys(r).forEach(t=>{let r=e[t];"function"!=typeof r&&(n[t]=r)}),n}(eN,v),eh.resetPagination=eI;let eR=r.useMemo(()=>{if(!1===v||!eN.pageSize)return eS;let{current:e=1,total:t,pageSize:n=10}=eN;return eS.lengthn?eS.slice((e-1)*n,e*n):eS:eS.slice((e-1)*n,e*n)},[!!v,eS,null==eN?void 0:eN.current,null==eN?void 0:eN.pageSize,null==eN?void 0:eN.total]),[eO,ej]=e0({prefixCls:Q,data:eS,pageData:eR,getRowKey:ef,getRecordByKey:em,expandType:ec,childrenColumnName:ei,locale:G,getPopupContainer:Z||U},x);ea.__PARENT_RENDER_ICON__=ea.expandIcon,ea.expandIcon=ea.expandIcon||I||(e=>{let{prefixCls:t,onExpand:n,record:l,expanded:o,expandable:a}=e,i=`${t}-row-expand-icon`;return r.createElement("button",{type:"button",onClick:e=>{n(l,e),e.stopPropagation()},className:k()(i,{[`${i}-spaced`]:!a,[`${i}-expanded`]:a&&o,[`${i}-collapsed`]:a&&!o}),"aria-label":o?G.collapse:G.expand,"aria-expanded":o})}),"nest"===ec&&void 0===ea.expandIconColumnIndex?ea.expandIconColumnIndex=x?1:0:ea.expandIconColumnIndex>0&&x&&(ea.expandIconColumnIndex-=1),"number"!=typeof ea.indentSize&&(ea.indentSize="number"==typeof P?P:15);let eP=r.useCallback(e=>eZ(eO(eC(eg(e)))),[eg,eC,eO]);if(!1!==v&&(null==eN?void 0:eN.total)){let e;e=eN.size?eN.size:"small"===Y||"middle"===Y?"small":void 0;let t=t=>r.createElement(e5.Z,Object.assign({},eN,{className:k()(`${Q}-pagination ${Q}-pagination-${t}`,eN.className),size:e})),n="rtl"===D?"left":"right",{position:l}=eN;if(null!==l&&Array.isArray(l)){let e=l.find(e=>e.includes("top")),r=l.find(e=>e.includes("bottom")),o=l.every(e=>"none"==`${e}`);e||r||o||(c=t(n)),e&&(i=t(e.toLowerCase().replace("top",""))),r&&(c=t(r.toLowerCase().replace("bottom","")))}else c=t(n)}"boolean"==typeof N?d={spinning:N}:"object"==typeof N&&(d=Object.assign({spinning:!0},N));let eT=k()(eo,en,`${Q}-wrapper`,null==q?void 0:q.className,{[`${Q}-wrapper-rtl`]:"rtl"===D},u,f,el),eM=Object.assign(Object.assign({},null==q?void 0:q.style),p),eB=void 0!==(null==B?void 0:B.emptyText)?B.emptyText:(null==X?void 0:X("Table"))||r.createElement(e3.Z,{componentName:"Table"}),eH={},ez=r.useMemo(()=>{let{fontSize:e,lineHeight:t,padding:n,paddingXS:r,paddingSM:l}=et,o=Math.floor(e*t);switch(Y){case"large":return 2*n+o;case"small":return 2*r+o;default:return 2*l+o}},[et,Y]);return z&&(eH.listItemHeight=ez),er(r.createElement("div",{ref:es,className:eT,style:eM},r.createElement(te.Z,Object.assign({spinning:!1},d),i,r.createElement(z?tV:tX,Object.assign({},eH,F,{ref:eu,columns:_,direction:D,expandable:ea,prefixCls:Q,className:k()({[`${Q}-middle`]:"middle"===Y,[`${Q}-small`]:"small"===Y,[`${Q}-bordered`]:h,[`${Q}-empty`]:0===J.length},eo,en,el),data:eR,rowKey:ef,rowClassName:(e,t,n)=>{let r;return r="function"==typeof w?k()(w(e,t,n)):k()(w),k()({[`${Q}-row-selected`]:ej.has(ef(e,t))},r)},emptyText:eB,internalHooks:o,internalRefs:ed,transformColumns:eP,getContainerWidth:(e,t)=>{let n=e.querySelector(`.${Q}-container`),r=t;if(n){let e=getComputedStyle(n),l=parseInt(e.borderLeftWidth,10),o=parseInt(e.borderRightWidth,10);r=t-l-o}return r}})),c)))});let ns=r.forwardRef((e,t)=>{let n=r.useRef(0);return n.current+=1,r.createElement(nd,Object.assign({},e,{ref:t,_renderTimes:n.current}))});ns.SELECTION_COLUMN=eV,ns.EXPAND_COLUMN=l,ns.SELECTION_ALL=eU,ns.SELECTION_INVERT=eY,ns.SELECTION_NONE=eG,ns.Column=e=>null,ns.ColumnGroup=e=>null,ns.Summary=z;var nu=ns},62263:function(e,t,n){n.d(t,{Z:function(){return Z}});var r=n(60569),l=n(72991),o=n(38497),a=n(62246),i=n(97361),c=n(58964),d=n(26869),s=n.n(d),u=n(74443),f=n(54328),p=n(63346),m=n(37528),h=n(17383),b=n(73098),g=n(81326),v=function(e){let{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:l,direction:a="ltr"}=e,i="ltr"===a?"left":"right",c={[i]:-n*l+4,["ltr"===a?"right":"left"]:0};switch(t){case -1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[i]=l+4}return o.createElement("div",{style:c,className:`${r}-drop-indicator`})},x=n(69545);let y=o.forwardRef((e,t)=>{var n;let{getPrefixCls:l,direction:a,virtual:i,tree:c}=o.useContext(p.E_),{prefixCls:d,className:u,showIcon:f=!1,showLine:y,switcherIcon:w,switcherLoadingIcon:C,blockNode:$=!1,children:E,checkable:S=!1,selectable:k=!0,draggable:Z,motion:N,style:I}=e,R=l("tree",d),O=l(),j=null!=N?N:Object.assign(Object.assign({},(0,h.Z)(O)),{motionAppear:!1}),P=Object.assign(Object.assign({},e),{checkable:S,selectable:k,showIcon:f,motion:j,blockNode:$,showLine:!!y,dropIndicatorRender:v}),[T,M,B]=(0,g.ZP)(R),[,H]=(0,b.ZP)(),z=H.paddingXS/2+((null===(n=H.Tree)||void 0===n?void 0:n.titleHeight)||H.controlHeightSM),K=o.useMemo(()=>{if(!Z)return!1;let e={};switch(typeof Z){case"function":e.nodeDraggable=Z;break;case"object":e=Object.assign({},Z)}return!1!==e.icon&&(e.icon=e.icon||o.createElement(m.Z,null)),e},[Z]);return T(o.createElement(r.Z,Object.assign({itemHeight:z,ref:t,virtual:i},P,{style:Object.assign(Object.assign({},null==c?void 0:c.style),I),prefixCls:R,className:s()({[`${R}-icon-hide`]:!f,[`${R}-block-node`]:$,[`${R}-unselectable`]:!k,[`${R}-rtl`]:"rtl"===a},null==c?void 0:c.className,u,M,B),direction:a,checkable:S?o.createElement("span",{className:`${R}-checkbox-inner`}):S,selectable:k,switcherIcon:e=>o.createElement(x.Z,{prefixCls:R,switcherIcon:w,switcherLoadingIcon:C,treeNodeProps:e,showLine:y}),draggable:K}),E))});function w(e,t,n){let{key:r,children:l}=n;e.forEach(function(e){let o=e[r],a=e[l];!1!==t(o,e)&&w(a||[],t,n)})}function C(e,t,n){let r=(0,l.Z)(t),o=[];return w(e,(e,t)=>{let n=r.indexOf(e);return -1!==n&&(o.push(t),r.splice(n,1)),!!r.length},(0,f.w$)(n)),o}var $=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};function E(e){let{isLeaf:t,expanded:n}=e;return t?o.createElement(a.Z,null):n?o.createElement(i.Z,null):o.createElement(c.Z,null)}function S(e){let{treeData:t,children:n}=e;return t||(0,f.zn)(n)}let k=o.forwardRef((e,t)=>{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:a}=e,i=$(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);let c=o.useRef(),d=o.useRef(),m=()=>{let{keyEntities:e}=(0,f.I8)(S(i));return n?Object.keys(e):r?(0,u.r7)(i.expandedKeys||a||[],e):i.expandedKeys||a||[]},[h,b]=o.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[g,v]=o.useState(()=>m());o.useEffect(()=>{"selectedKeys"in i&&b(i.selectedKeys)},[i.selectedKeys]),o.useEffect(()=>{"expandedKeys"in i&&v(i.expandedKeys)},[i.expandedKeys]);let{getPrefixCls:x,direction:k}=o.useContext(p.E_),{prefixCls:Z,className:N,showIcon:I=!0,expandAction:R="click"}=i,O=$(i,["prefixCls","className","showIcon","expandAction"]),j=x("tree",Z),P=s()(`${j}-directory`,{[`${j}-directory-rtl`]:"rtl"===k},N);return o.createElement(y,Object.assign({icon:E,ref:t,blockNode:!0},O,{showIcon:I,expandAction:R,prefixCls:j,className:P,expandedKeys:g,selectedKeys:h,onSelect:(e,t)=>{var n;let r;let{multiple:o,fieldNames:a}=i,{node:s,nativeEvent:u}=t,{key:p=""}=s,m=S(i),h=Object.assign(Object.assign({},t),{selected:!0}),v=(null==u?void 0:u.ctrlKey)||(null==u?void 0:u.metaKey),x=null==u?void 0:u.shiftKey;o&&v?(r=e,c.current=p,d.current=r,h.selectedNodes=C(m,r,a)):o&&x?(r=Array.from(new Set([].concat((0,l.Z)(d.current||[]),(0,l.Z)(function(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:l,fieldNames:o}=e,a=[],i=0;return r&&r===l?[r]:r&&l?(w(t,e=>{if(2===i)return!1;if(e===r||e===l){if(a.push(e),0===i)i=1;else if(1===i)return i=2,!1}else 1===i&&a.push(e);return n.includes(e)},(0,f.w$)(o)),a):[]}({treeData:m,expandedKeys:g,startKey:p,endKey:c.current,fieldNames:a}))))),h.selectedNodes=C(m,r,a)):(r=[p],c.current=p,d.current=r,h.selectedNodes=C(m,r,a)),null===(n=i.onSelect)||void 0===n||n.call(i,r,h),"selectedKeys"in i||b(r)},onExpand:(e,t)=>{var n;return"expandedKeys"in i||v(e),null===(n=i.onExpand)||void 0===n?void 0:n.call(i,e,t)}}))});y.DirectoryTree=k,y.TreeNode=r.O;var Z=y},93941:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(2060);function l(e,t,n,l){var o=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,o,l),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,o,l)}}}},16213:function(e,t,n){function r(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function l(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}n.d(t,{g1:function(){return r},os:function(){return l}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4185-f74ff9f999bc656c.js b/dbgpt/app/static/web/_next/static/chunks/4185-f74ff9f999bc656c.js deleted file mode 100644 index da550458d..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4185-f74ff9f999bc656c.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4185],{69274:function(e,r,t){t.d(r,{Z:function(){return i}});var n=t(42096),o=t(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},l=t(75651),i=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:a}))})},36647:function(e,r){r.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},33445:function(e,r,t){t.d(r,{Fm:function(){return p}});var n=t(72178),o=t(60234);let a=new n.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new n.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),i=new n.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new n.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new n.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new n.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),u=new n.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),m=new n.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),f={"move-up":{inKeyframes:u,outKeyframes:m},"move-down":{inKeyframes:a,outKeyframes:l},"move-left":{inKeyframes:i,outKeyframes:s},"move-right":{inKeyframes:c,outKeyframes:d}},p=(e,r)=>{let{antCls:t}=e,n=`${t}-${r}`,{inKeyframes:a,outKeyframes:l}=f[r];return[(0,o.R)(n,a,l,e.motionDurationMid),{[` - ${n}-enter, - ${n}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},49030:function(e,r,t){t.d(r,{Z:function(){return I}});var n=t(38497),o=t(26869),a=t.n(o),l=t(55598),i=t(55853),s=t(35883),c=t(55091),d=t(37243),u=t(63346),m=t(72178),f=t(51084),p=t(60848),g=t(74934),h=t(90102);let b=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:n,componentCls:o,calc:a}=e,l=a(n).sub(t).equal(),i=a(r).sub(t).equal();return{[o]:Object.assign(Object.assign({},(0,p.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,m.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:r,fontSizeIcon:t,calc:n}=e,o=e.fontSizeSM,a=(0,g.IX)(e,{tagFontSize:o,tagLineHeight:(0,m.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(t).sub(n(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},y=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var C=(0,h.I$)("Tag",e=>{let r=v(e);return b(r)},y),O=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let $=n.forwardRef((e,r)=>{let{prefixCls:t,style:o,className:l,checked:i,onChange:s,onClick:c}=e,d=O(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:m,tag:f}=n.useContext(u.E_),p=m("tag",t),[g,h,b]=C(p),v=a()(p,`${p}-checkable`,{[`${p}-checkable-checked`]:i},null==f?void 0:f.className,l,h,b);return g(n.createElement("span",Object.assign({},d,{ref:r,style:Object.assign(Object.assign({},o),null==f?void 0:f.style),className:v,onClick:e=>{null==s||s(!i),null==c||c(e)}})))});var x=t(86553);let w=e=>(0,x.Z)(e,(r,t)=>{let{textColor:n,lightBorderColor:o,lightColor:a,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:n,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var k=(0,h.bk)(["Tag","preset"],e=>{let r=v(e);return w(r)},y);let j=(e,r,t)=>{let n=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var E=(0,h.bk)(["Tag","status"],e=>{let r=v(e);return[j(r,"success","Success"),j(r,"processing","Info"),j(r,"error","Error"),j(r,"warning","Warning")]},y),S=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let _=n.forwardRef((e,r)=>{let{prefixCls:t,className:o,rootClassName:m,style:f,children:p,icon:g,color:h,onClose:b,bordered:v=!0,visible:y}=e,O=S(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:$,direction:x,tag:w}=n.useContext(u.E_),[j,_]=n.useState(!0),I=(0,l.Z)(O,["closeIcon","closable"]);n.useEffect(()=>{void 0!==y&&_(y)},[y]);let N=(0,i.o2)(h),M=(0,i.yT)(h),P=N||M,Z=Object.assign(Object.assign({backgroundColor:h&&!P?h:void 0},null==w?void 0:w.style),f),T=$("tag",t),[B,H,F]=C(T),D=a()(T,null==w?void 0:w.className,{[`${T}-${h}`]:P,[`${T}-has-color`]:h&&!P,[`${T}-hidden`]:!j,[`${T}-rtl`]:"rtl"===x,[`${T}-borderless`]:!v},o,m,H,F),R=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||_(!1)},[,z]=(0,s.Z)((0,s.w)(e),(0,s.w)(w),{closable:!1,closeIconRender:e=>{let r=n.createElement("span",{className:`${T}-close-icon`,onClick:R},e);return(0,c.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),R(r)},className:a()(null==e?void 0:e.className,`${T}-close-icon`)}))}}),K="function"==typeof O.onClick||p&&"a"===p.type,L=g||null,q=L?n.createElement(n.Fragment,null,L,p&&n.createElement("span",null,p)):p,A=n.createElement("span",Object.assign({},I,{ref:r,className:D,style:Z}),q,z,N&&n.createElement(k,{key:"preset",prefixCls:T}),M&&n.createElement(E,{key:"status",prefixCls:T}));return B(K?n.createElement(d.Z,{component:"Tag"},A):A)});_.CheckableTag=$;var I=_},57064:function(e,r,t){t.d(r,{A:function(){return m}});var n=t(96469),o=t(45277),a=t(27250),l=t(16156),i=t(23852),s=t.n(i),c=t(38497),d=t(56841);let u="/models/huggingface.svg";function m(e,r){var t,o;let{width:l,height:i}=r||{};return e?(0,n.jsx)(s(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:l||24,height:i||24,src:(null===(t=a.Hf[e])||void 0===t?void 0:t.icon)||u,alt:"llm"},(null===(o=a.Hf[e])||void 0===o?void 0:o.icon)||u):null}r.Z=function(e){let{onChange:r}=e,{t}=(0,d.$G)(),{modelList:i,model:s}=(0,c.useContext)(o.p);return!i||i.length<=0?null:(0,n.jsx)(l.default,{value:s,placeholder:t("choose_model"),className:"w-52",onChange:e=>{null==r||r(e)},children:i.map(e=>{var r;return(0,n.jsx)(l.default.Option,{children:(0,n.jsxs)("div",{className:"flex items-center",children:[m(e),(0,n.jsx)("span",{className:"ml-2",children:(null===(r=a.Hf[e])||void 0===r?void 0:r.label)||e})]})},e)})})}},43027:function(e,r,t){t.d(r,{Z:function(){return v}});var n=t(96469),o=t(27623),a=t(16156),l=t(55360),i=t(70351),s=t(60205),c=t(27691),d=t(38497),u=t(56841),m=t(57064),f=t(41999),p=t(99631),g=t(29223),h=function(e){let{params:r,form:t}=e;return((0,d.useEffect)(()=>{if(r){let e={};r.forEach(r=>{e[r.param_name]=r.default_value}),t.setFieldsValue(e)}},[r,t]),!r||(null==r?void 0:r.length)<1)?null:(0,n.jsx)(n.Fragment,{children:null==r?void 0:r.map(e=>{var r;return(0,n.jsx)(l.default.Item,{label:(0,n.jsx)("p",{className:"whitespace-normal overflow-wrap-break-word",children:(null===(r=e.description)||void 0===r?void 0:r.length)>20?e.param_name:e.description}),name:e.param_name,initialValue:e.default_value,valuePropName:"bool"===e.param_type?"checked":"value",tooltip:e.description,rules:[{required:e.required,message:"Please input ".concat(e.description)}],children:function(e){switch(e.param_type){case"str":return(0,n.jsx)(f.default,{});case"int":return(0,n.jsx)(p.Z,{});case"bool":return(0,n.jsx)(g.Z,{})}}(e)},e.param_name)})})};let{Option:b}=a.default;var v=function(e){let{onCancel:r,onSuccess:t}=e,{t:f}=(0,u.$G)(),[p,g]=(0,d.useState)([]),[v,y]=(0,d.useState)(),[C,O]=(0,d.useState)(null),[$,x]=(0,d.useState)(!1),[w]=l.default.useForm();async function k(){let[,e]=await (0,o.Vx)((0,o.xv)());e&&e.length&&g(e.sort((e,r)=>e.enabled&&!r.enabled?-1:!e.enabled&&r.enabled?1:e.model.localeCompare(r.model))),g(e)}async function j(e){if(!v)return;delete e.model,x(!0);let[,,r]=await (0,o.Vx)((0,o.vA)({host:v.host,port:v.port,model:v.model,worker_type:null==v?void 0:v.worker_type,params:e}));if(x(!1),(null==r?void 0:r.success)===!0)return t&&t(),i.ZP.success(f("start_model_success"))}return(0,d.useEffect)(()=>{k()},[]),(0,n.jsxs)(l.default,{labelCol:{span:8},wrapperCol:{span:16},onFinish:j,form:w,children:[(0,n.jsx)(l.default.Item,{label:"Model",name:"model",rules:[{required:!0,message:f("model_select_tips")}],children:(0,n.jsx)(a.default,{showSearch:!0,onChange:function(e,r){y(r.model),O(r.model.params)},children:null==p?void 0:p.map(e=>(0,n.jsxs)(b,{value:e.model,label:e.model,model:e,disabled:!e.enabled,children:[(0,m.A)(e.model),(0,n.jsx)(s.Z,{title:e.enabled?e.model:f("download_model_tip"),children:(0,n.jsx)("span",{className:"ml-2",children:e.model})}),(0,n.jsx)(s.Z,{title:e.enabled?"".concat(e.host,":").concat(e.port):f("download_model_tip"),children:(0,n.jsxs)("p",{className:"inline-block absolute right-4",children:[(0,n.jsxs)("span",{children:[e.host,":"]}),(0,n.jsx)("span",{children:e.port})]})})]},e.model))})}),(0,n.jsx)(h,{params:C,form:w}),(0,n.jsxs)("div",{className:"flex justify-center",children:[(0,n.jsx)(c.ZP,{type:"primary",htmlType:"submit",loading:$,children:f("submit")}),(0,n.jsx)(c.ZP,{className:"ml-10",onClick:r,children:"Cancel"})]})]})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4399-9acd7e7e8954605d.js b/dbgpt/app/static/web/_next/static/chunks/4399-9acd7e7e8954605d.js deleted file mode 100644 index 174705a38..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4399-9acd7e7e8954605d.js +++ /dev/null @@ -1,66 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4399],{86959:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(42096),i=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},o=n(75651),l=i.forwardRef(function(t,e){return i.createElement(o.Z,(0,r.Z)({},t,{ref:e,icon:a}))})},2:function(t,e,n){"use strict";n.d(e,{w:function(){return rv}});var r=n(33587),i={line_chart:{id:"line_chart",name:"Line Chart",alias:["Lines"],family:["LineCharts"],def:"A line chart uses lines with segments to show changes in data in a ordinal dimension.",purpose:["Comparison","Trend","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Direction"],recRate:"Recommended"},step_line_chart:{id:"step_line_chart",name:"Step Line Chart",alias:["Step Lines"],family:["LineCharts"],def:"A step line chart is a line chart in which points of each line are connected by horizontal and vertical line segments, looking like steps of a staircase.",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Direction"],recRate:"Recommended"},area_chart:{id:"area_chart",name:"Area Chart",alias:[],family:["AreaCharts"],def:"An area chart uses series of line segments with overlapped areas to show the change in data in a ordinal dimension.",purpose:["Comparison","Trend","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position"],recRate:"Recommended"},stacked_area_chart:{id:"stacked_area_chart",name:"Stacked Area Chart",alias:[],family:["AreaCharts"],def:"A stacked area chart uses layered line segments with different styles of padding regions to display how multiple sets of data change in the same ordinal dimension, and the endpoint heights of the segments on the same dimension tick are accumulated by value.",purpose:["Composition","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length"],recRate:"Recommended"},percent_stacked_area_chart:{id:"percent_stacked_area_chart",name:"Percent Stacked Area Chart",alias:["Percent Stacked Area","% Stacked Area","100% Stacked Area"],family:["AreaCharts"],def:"A percent stacked area chart is an extented stacked area chart in which the height of the endpoints of the line segment on the same dimension tick is the accumulated proportion of the ratio, which is 100% of the total.",purpose:["Comparison","Composition","Proportion","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length"],recRate:"Recommended"},column_chart:{id:"column_chart",name:"Column Chart",alias:["Columns"],family:["ColumnCharts"],def:"A column chart uses series of columns to display the value of the dimension. The horizontal axis shows the classification dimension and the vertical axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Color"],recRate:"Recommended"},grouped_column_chart:{id:"grouped_column_chart",name:"Grouped Column Chart",alias:["Grouped Column"],family:["ColumnCharts"],def:"A grouped column chart uses columns of different colors to form a group to display the values of dimensions. The horizontal axis indicates the grouping of categories, the color indicates the categories, and the vertical axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},stacked_column_chart:{id:"stacked_column_chart",name:"Stacked Column Chart",alias:["Stacked Column"],family:["ColumnCharts"],def:"A stacked column chart uses stacked bars of different colors to display the values for each dimension. The horizontal axis indicates the first classification dimension, the color indicates the second classification dimension, and the vertical axis shows the corresponding value.",purpose:["Comparison","Composition","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},percent_stacked_column_chart:{id:"percent_stacked_column_chart",name:"Percent Stacked Column Chart",alias:["Percent Stacked Column","% Stacked Column","100% Stacked Column"],family:["ColumnCharts"],def:"A percent stacked column chart uses stacked bars of different colors to display the values for each dimension. The horizontal axis indicates the first classification dimension, the color indicates the second classification dimension, and the vertical axis shows the percentage of the corresponding classification.",purpose:["Comparison","Composition","Distribution","Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},range_column_chart:{id:"range_column_chart",name:"Range Column Chart",alias:[],family:["ColumnCharts"],def:"A column chart that does not have to start from zero axis.",purpose:["Comparison"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Length"],recRate:"Recommended"},waterfall_chart:{id:"waterfall_chart",name:"Waterfall Chart",alias:["Flying Bricks Chart","Mario Chart","Bridge Chart","Cascade Chart"],family:["ColumnCharts"],def:"A waterfall chart is used to portray how an initial value is affected by a series of intermediate positive or negative values",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal","Time","Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},histogram:{id:"histogram",name:"Histogram",alias:[],family:["ColumnCharts"],def:"A histogram is an accurate representation of the distribution of numerical data.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},bar_chart:{id:"bar_chart",name:"Bar Chart",alias:["Bars"],family:["BarCharts"],def:"A bar chart uses series of bars to display the value of the dimension. The vertical axis shows the classification dimension and the horizontal axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Color"],recRate:"Recommended"},stacked_bar_chart:{id:"stacked_bar_chart",name:"Stacked Bar Chart",alias:["Stacked Bar"],family:["BarCharts"],def:"A stacked bar chart uses stacked bars of different colors to display the values for each dimension. The vertical axis indicates the first classification dimension, the color indicates the second classification dimension, and the horizontal axis shows the corresponding value.",purpose:["Comparison","Composition","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},percent_stacked_bar_chart:{id:"percent_stacked_bar_chart",name:"Percent Stacked Bar Chart",alias:["Percent Stacked Bar","% Stacked Bar","100% Stacked Bar"],family:["BarCharts"],def:"A percent stacked column chart uses stacked bars of different colors to display the values for each dimension. The vertical axis indicates the first classification dimension, the color indicates the second classification dimension, and the horizontal axis shows the percentage of the corresponding classification.",purpose:["Comparison","Composition","Distribution","Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},grouped_bar_chart:{id:"grouped_bar_chart",name:"Grouped Bar Chart",alias:["Grouped Bar"],family:["BarCharts"],def:"A grouped bar chart uses bars of different colors to form a group to display the values of the dimensions. The vertical axis indicates the grouping of categories, the color indicates the categories, and the horizontal axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},range_bar_chart:{id:"range_bar_chart",name:"Range Bar Chart",alias:[],family:["BarCharts"],def:"A bar chart that does not have to start from zero axis.",purpose:["Comparison"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]}],channel:["Length"],recRate:"Recommended"},radial_bar_chart:{id:"radial_bar_chart",name:"Radial Bar Chart",alias:["Radial Column Chart"],family:["BarCharts"],def:"A bar chart that is plotted in the polar coordinate system. The axis along radius shows the classification dimension and the angle shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Color"],recRate:"Recommended"},bullet_chart:{id:"bullet_chart",name:"Bullet Chart",alias:[],family:["BarCharts"],def:"A bullet graph is a variation of a bar graph developed by Stephen Few. Seemingly inspired by the traditional thermometer charts and progress bars found in many dashboards, the bullet graph serves as a replacement for dashboard gauges and meters.",purpose:["Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]}],channel:["Position","Color"],recRate:"Recommended"},pie_chart:{id:"pie_chart",name:"Pie Chart",alias:["Circle Chart","Pie"],family:["PieCharts"],def:"A pie chart is a chart that the classification and proportion of data are represented by the color and arc length (angle, area) of the sector.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Area","Color"],recRate:"Use with Caution"},donut_chart:{id:"donut_chart",name:"Donut Chart",alias:["Donut","Doughnut","Doughnut Chart","Ring Chart"],family:["PieCharts"],def:"A donut chart is a variation on a Pie chart except it has a round hole in the center which makes it look like a donut.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["ArcLength"],recRate:"Recommended"},nested_pie_chart:{id:"nested_pie_chart",name:"Nested Pie Chart",alias:["Nested Circle Chart","Nested Pie","Nested Donut Chart"],family:["PieCharts"],def:"A nested pie chart is a chart that contains several donut charts, where all the donut charts share the same center in position.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]}],channel:["Angle","Area","Color","Position"],recRate:"Use with Caution"},rose_chart:{id:"rose_chart",name:"Rose Chart",alias:["Nightingale Chart","Polar Area Chart","Coxcomb Chart"],family:["PieCharts"],def:"Nightingale Rose Chart is a peculiar combination of the Radar Chart and Stacked Column Chart types of data visualization.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Color","Length"],recRate:"Use with Caution"},scatter_plot:{id:"scatter_plot",name:"Scatter Plot",alias:["Scatter Chart","Scatterplot"],family:["ScatterCharts"],def:"A scatter plot is a type of plot or mathematical diagram using Cartesian coordinates to display values for typically two variables for series of data.",purpose:["Comparison","Distribution","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Scatter"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position"],recRate:"Recommended"},bubble_chart:{id:"bubble_chart",name:"Bubble Chart",alias:["Bubble Chart"],family:["ScatterCharts"],def:"A bubble chart is a type of chart that displays four dimensions of data with x, y positions, circle size and circle color.",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Scatter"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position","Size"],recRate:"Recommended"},non_ribbon_chord_diagram:{id:"non_ribbon_chord_diagram",name:"Non-Ribbon Chord Diagram",alias:[],family:["GeneralGraph"],def:"A stripped-down version of a Chord Diagram, with only the connection lines showing. This provides more emphasis on the connections within the data.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},arc_diagram:{id:"arc_diagram",name:"Arc Diagram",alias:[],family:["GeneralGraph"],def:"A graph where the edges are represented as arcs.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},chord_diagram:{id:"chord_diagram",name:"Chord Diagram",alias:[],family:["GeneralGraph"],def:"A graphical method of displaying the inter-relationships between data in a matrix. The data are arranged radially around a circle with the relationships between the data points typically drawn as arcs connecting the data.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},treemap:{id:"treemap",name:"Treemap",alias:[],family:["TreeGraph"],def:"A visual representation of a data tree with nodes. Each node is displayed as a rectangle, sized and colored according to values that you assign.",purpose:["Composition","Comparison","Hierarchy"],coord:["Cartesian2D"],category:["Statistic"],shape:["Square"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Area"],recRate:"Recommended"},sankey_diagram:{id:"sankey_diagram",name:"Sankey Diagram",alias:[],family:["GeneralGraph"],def:"A graph shows the flows with weights between objects.",purpose:["Flow","Trend","Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},funnel_chart:{id:"funnel_chart",name:"Funnel Chart",alias:[],family:["FunnelCharts"],def:"A funnel chart is often used to represent stages in a sales process and show the amount of potential revenue for each stage.",purpose:["Trend"],coord:["SymmetricCartesian"],category:["Statistic"],shape:["Symmetric"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},mirror_funnel_chart:{id:"mirror_funnel_chart",name:"Mirror Funnel Chart",alias:["Contrast Funnel Chart"],family:["FunnelCharts"],def:"A mirror funnel chart is a funnel chart divided into two series by a central axis.",purpose:["Comparison","Trend"],coord:["SymmetricCartesian"],category:["Statistic"],shape:["Symmetric"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length","Direction"],recRate:"Recommended"},box_plot:{id:"box_plot",name:"Box Plot",alias:["Box and Whisker Plot","boxplot"],family:["BarCharts"],def:"A box plot is often used to graphically depict groups of numerical data through their quartiles. Box plots may also have lines extending from the boxes indicating variability outside the upper and lower quartiles. Outliers may be plotted as individual points.",purpose:["Distribution","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},heatmap:{id:"heatmap",name:"Heatmap",alias:[],family:["HeatmapCharts"],def:"A heatmap is a graphical representation of data where the individual values contained in a matrix are represented as colors.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Square"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},density_heatmap:{id:"density_heatmap",name:"Density Heatmap",alias:["Heatmap"],family:["HeatmapCharts"],def:"A density heatmap is a heatmap for representing the density of dots.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]}],channel:["Color","Position","Area"],recRate:"Recommended"},radar_chart:{id:"radar_chart",name:"Radar Chart",alias:["Web Chart","Spider Chart","Star Chart","Cobweb Chart","Irregular Polygon","Kiviat diagram"],family:["RadarCharts"],def:"A radar chart maps series of data volume of multiple dimensions onto the axes. Starting at the same center point, usually ending at the edge of the circle, connecting the same set of points using lines.",purpose:["Comparison"],coord:["Radar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},wordcloud:{id:"wordcloud",name:"Word Cloud",alias:["Wordle","Tag Cloud","Text Cloud"],family:["Others"],def:"A word cloud is a collection, or cluster, of words depicted in different sizes, colors, and shapes, which takes a piece of text as input. Typically, the font size in the word cloud is encoded as the word frequency in the input text.",purpose:["Proportion"],coord:["Cartesian2D"],category:["Diagram"],shape:["Scatter"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal"]},{minQty:0,maxQty:1,fieldConditions:["Interval"]}],channel:["Size","Position","Color"],recRate:"Recommended"},candlestick_chart:{id:"candlestick_chart",name:"Candlestick Chart",alias:["Japanese Candlestick Chart)"],family:["BarCharts"],def:"A candlestick chart is a specific version of box plot, which is a style of financial chart used to describe price movements of a security, derivative, or currency.",purpose:["Trend","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},compact_box_tree:{id:"compact_box_tree",name:"CompactBox Tree",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which arranges the nodes with same depth on the same level.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},dendrogram:{id:"dendrogram",name:"Dendrogram",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which arranges the leaves on the same level.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},indented_tree:{id:"indented_tree",name:"Indented Tree Layout",alias:[],family:["TreeGraph"],def:"A type of tree graph layout where the hierarchy of tree is represented by the horizontal indentation, and each element will occupy one row/column. It is commonly used to represent the file directory structure.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},radial_tree:{id:"radial_tree",name:"Radial Tree Layout",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which places the root at the center, and the branches around the root radially.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},flow_diagram:{id:"flow_diagram",name:"Flow Diagram",alias:["Dagre Graph Layout","Dagre","Flow Chart"],family:["GeneralGraph"],def:"Directed flow graph.",purpose:["Relation","Flow"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},fruchterman_layout_graph:{id:"fruchterman_layout_graph",name:"Fruchterman Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of force directed graph layout.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},force_directed_layout_graph:{id:"force_directed_layout_graph",name:"Force Directed Graph Layout",alias:[],family:["GeneralGraph"],def:"The classical force directed graph layout.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},fa2_layout_graph:{id:"fa2_layout_graph",name:"Force Atlas 2 Graph Layout",alias:["FA2 Layout"],family:["GeneralGraph"],def:"A type of force directed graph layout algorithm. It focuses more on the degree of the node when calculating the force than the classical force-directed algorithm .",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},mds_layout_graph:{id:"mds_layout_graph",name:"Multi-Dimensional Scaling Layout",alias:["MDS Layout"],family:["GeneralGraph"],def:"A type of dimension reduction algorithm that could be used for calculating graph layout. MDS (Multidimensional scaling) is used for project high dimensional data onto low dimensional space.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},circular_layout_graph:{id:"circular_layout_graph",name:"Circular Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges all the nodes on a circle.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},spiral_layout_graph:{id:"spiral_layout_graph",name:"Spiral Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges all the nodes along a spiral line.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},radial_layout_graph:{id:"radial_layout_graph",name:"Radial Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which places a focus node on the center and the others on the concentrics centered at the focus node according to the shortest path length to the it.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},concentric_layout_graph:{id:"concentric_layout_graph",name:"Concentric Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges the nodes on concentrics.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},grid_layout_graph:{id:"grid_layout_graph",name:"Grid Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout arranges the nodes on grids.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"}};function a(t,e){return e.every(function(e){return t.includes(e)})}var o=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"],l=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"];function s(t,e){return e.some(function(e){return t.includes(e)})}function c(t,e){return t.distincte.distinct?-1:0}var u=["pie_chart","donut_chart"],f=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"];function d(t){var e=t.chartType,n=t.dataProps,r=t.preferences;return!!(n&&e&&r&&r.canvasLayout)}var h=["line_chart","area_chart","stacked_area_chart","percent_stacked_area_chart"],p=["bar_chart","column_chart","grouped_bar_chart","grouped_column_chart","stacked_bar_chart","stacked_column_chart"];function g(t){return t.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])})}var m=["pie_chart","donut_chart","radar_chart","rose_chart"],y=n(44766);function v(t){return"number"==typeof t}function b(t){return"string"==typeof t||"boolean"==typeof t}function x(t){return t instanceof Date}function O(t){var e=t.encode,n=t.data,i=t.scale,a=(0,y.mapValues)(e,function(t,e){var r,a,o;return{field:t,type:void 0!==(r=null==i?void 0:i[e].type)?function(t){switch(t){case"linear":case"log":case"pow":case"sqrt":case"quantile":case"threshold":case"quantize":case"sequential":return"quantitative";case"time":return"temporal";case"ordinal":case"point":case"band":return"categorical";default:throw Error("Unkonwn scale type: ".concat(t,"."))}}(r):function(t){if(t.some(v))return"quantitative";if(t.some(b))return"categorical";if(t.some(x))return"temporal";throw Error("Unknown type: ".concat(typeof t[0]))}((a=n,"function"==typeof(o=t)?a.map(o):"string"==typeof o&&a.some(function(t){return void 0!==t[o]})?a.map(function(t){return t[o]}):a.map(function(){return o})))}});return(0,r.pi)((0,r.pi)({},t),{encode:a})}var w=["line_chart"];(0,r.ev)((0,r.ev)([],(0,r.CR)(["data-check","data-field-qty","no-redundant-field","purpose-check"]),!1),(0,r.CR)(["series-qty-limit","bar-series-qty","line-field-time-ordinal","landscape-or-portrait","diff-pie-sector","nominal-enum-combinatorial","limit-series"]),!1);var _={"data-check":{id:"data-check",type:"HARD",docs:{lintText:"Data must satisfy the data prerequisites."},trigger:function(){return!0},validator:function(t){var e=0,n=t.dataProps,r=t.chartType,i=t.chartWIKI;if(n&&r&&i[r]){e=1;var a=i[r].dataPres||[];a.forEach(function(t){!function(t,e){var n=e.map(function(t){return t.levelOfMeasurements});if(n){var r=0;if(n.forEach(function(e){e&&s(e,t.fieldConditions)&&(r+=1)}),r>=t.minQty&&("*"===t.maxQty||r<=t.maxQty))return!0}return!1}(t,n)&&(e=0)}),n.map(function(t){return t.levelOfMeasurements}).forEach(function(t){var n=!1;a.forEach(function(e){t&&s(t,e.fieldConditions)&&(n=!0)}),n||(e=0)})}return e}},"data-field-qty":{id:"data-field-qty",type:"HARD",docs:{lintText:"Data must have at least the min qty of the prerequisite."},trigger:function(){return!0},validator:function(t){var e=0,n=t.dataProps,r=t.chartType,i=t.chartWIKI;if(n&&r&&i[r]){e=1;var a=(i[r].dataPres||[]).map(function(t){return t.minQty}).reduce(function(t,e){return t+e});n.length&&n.length>=a&&(e=1)}return e}},"no-redundant-field":{id:"no-redundant-field",type:"HARD",docs:{lintText:"No redundant field."},trigger:function(){return!0},validator:function(t){var e=0,n=t.dataProps,r=t.chartType,i=t.chartWIKI;if(n&&r&&i[r]){var a=(i[r].dataPres||[]).map(function(t){return"*"===t.maxQty?99:t.maxQty}).reduce(function(t,e){return t+e});n.length&&n.length<=a&&(e=1)}return e}},"purpose-check":{id:"purpose-check",type:"HARD",docs:{lintText:"Choose chart types that satisfy the purpose, if purpose is defined."},trigger:function(){return!0},validator:function(t){var e=0,n=t.chartType,r=t.purpose,i=t.chartWIKI;return r?(n&&i[n]&&r&&(i[n].purpose||"").includes(r)&&(e=1),e):e=1}},"bar-series-qty":{id:"bar-series-qty",type:"SOFT",docs:{lintText:"Bar chart should has proper number of bars or bar groups."},trigger:function(t){var e=t.chartType;return o.includes(e)},validator:function(t){var e=1,n=t.dataProps,r=t.chartType;if(n&&r){var i=n.find(function(t){return a(t.levelOfMeasurements,["Nominal"])}),o=i&&i.count?i.count:0;o>20&&(e=20/o)}return e<.1?.1:e}},"diff-pie-sector":{id:"diff-pie-sector",type:"SOFT",docs:{lintText:"The difference between sectors of a pie chart should be large enough."},trigger:function(t){var e=t.chartType;return u.includes(e)},validator:function(t){var e=1,n=t.dataProps;if(n){var r=n.find(function(t){return a(t.levelOfMeasurements,["Interval"])});if(r&&r.sum&&r.rawData){var i=1/r.sum,o=r.rawData.map(function(t){return t*i}).reduce(function(t,e){return t*e}),l=r.rawData.length,s=Math.pow(1/l,l);e=2*(Math.abs(s-Math.abs(o))/s)}}return e<.1?.1:e}},"landscape-or-portrait":{id:"landscape-or-portrait",type:"SOFT",docs:{lintText:"Recommend column charts for landscape layout and bar charts for portrait layout."},trigger:function(t){return f.includes(t.chartType)&&d(t)},validator:function(t){var e=1,n=t.chartType,r=t.preferences;return d(t)&&("portrait"===r.canvasLayout&&["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart"].includes(n)?e=5:"landscape"===r.canvasLayout&&["column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"].includes(n)&&(e=5)),e}},"limit-series":{id:"limit-series",type:"SOFT",docs:{lintText:"Avoid too many values in one series."},trigger:function(t){return t.dataProps.filter(function(t){return s(t.levelOfMeasurements,["Nominal","Ordinal"])}).length>=2},validator:function(t){var e=1,n=t.dataProps,r=t.chartType;if(n){var i=n.filter(function(t){return s(t.levelOfMeasurements,["Nominal","Ordinal"])});if(i.length>=2){var a=i.sort(c)[1];a.distinct&&(e=a.distinct>10?.1:1/a.distinct,a.distinct>6&&"heatmap"===r?e=5:"heatmap"===r&&(e=1))}}return e}},"line-field-time-ordinal":{id:"line-field-time-ordinal",type:"SOFT",docs:{lintText:"Data containing time or ordinal fields are suitable for line or area charts."},trigger:function(t){var e=t.chartType;return h.includes(e)},validator:function(t){var e=1,n=t.dataProps;return n&&n.find(function(t){return s(t.levelOfMeasurements,["Ordinal","Time"])})&&(e=5),e}},"nominal-enum-combinatorial":{id:"nominal-enum-combinatorial",type:"SOFT",docs:{lintText:"Single (Basic) and Multi (Stacked, Grouped,...) charts should be optimized recommended by nominal enums combinatorial numbers."},trigger:function(t){var e=t.chartType,n=t.dataProps;return p.includes(e)&&g(n).length>=2},validator:function(t){var e=1,n=t.dataProps,r=t.chartType;if(n){var i=g(n);if(i.length>=2){var a=i.sort(c),o=a[0],l=a[1];o.distinct===o.count&&["bar_chart","column_chart"].includes(r)&&(e=5),o.count&&o.distinct&&l.distinct&&o.count>o.distinct&&["grouped_bar_chart","grouped_column_chart","stacked_bar_chart","stacked_column_chart"].includes(r)&&(e=5)}}return e}},"series-qty-limit":{id:"series-qty-limit",type:"SOFT",docs:{lintText:"Some charts should has at most N values for the series."},trigger:function(t){var e=t.chartType;return m.includes(e)},validator:function(t){var e=1,n=t.dataProps,r=t.chartType,i=t.limit;if((!Number.isInteger(i)||i<=0)&&(i=6,("pie_chart"===r||"donut_chart"===r||"rose_chart"===r)&&(i=6),"radar_chart"===r&&(i=8)),n){var o=n.find(function(t){return a(t.levelOfMeasurements,["Nominal"])}),l=o&&o.count?o.count:0;l>=2&&l<=i&&(e=5+2/l)}return e}},"x-axis-line-fading":{id:"x-axis-line-fading",type:"DESIGN",docs:{lintText:"Adjust axis to make it prettier"},trigger:function(t){var e=t.chartType;return w.includes(e)},optimizer:function(t,e){var n,r=O(e).encode;if(r&&(null===(n=r.y)||void 0===n?void 0:n.type)==="quantitative"){var i=t.find(function(t){var e;return t.name===(null===(e=r.y)||void 0===e?void 0:e.field)});if(i){var a=i.maximum-i.minimum;if(i.minimum&&i.maximum&&a<2*i.maximum/3){var o=Math.floor(i.minimum-a/5);return{axis:{x:{tick:!1}},scale:{y:{domainMin:o>0?o:0}},clip:!0}}}}return{}}},"bar-without-axis-min":{id:"bar-without-axis-min",type:"DESIGN",docs:{lintText:"It is not recommended to set the minimum value of axis for the bar or column chart.",fixText:"Remove the minimum value config of axis."},trigger:function(t){var e=t.chartType;return l.includes(e)},optimizer:function(t,e){var n,r,i=e.scale;if(!i)return{};var a=null===(n=i.x)||void 0===n?void 0:n.domainMin,o=null===(r=i.y)||void 0===r?void 0:r.domainMin;if(a||o){var l=JSON.parse(JSON.stringify(i));return a&&(l.x.domainMin=0),o&&(l.y.domainMin=0),{scale:l}}return{}}}},M=Object.keys(_),k=function(t){var e={};return t.forEach(function(t){Object.keys(_).includes(t)&&(e[t]=_[t])}),e},C=function(t){if(!t)return k(M);var e=k(M);if(t.exclude&&t.exclude.forEach(function(t){Object.keys(e).includes(t)&&delete e[t]}),t.include){var n=t.include;Object.keys(e).forEach(function(t){n.includes(t)||delete e[t]})}var i=(0,r.pi)((0,r.pi)({},e),t.custom),a=t.options;return a&&Object.keys(a).forEach(function(t){if(Object.keys(i).includes(t)){var e=a[t];i[t]=(0,r.pi)((0,r.pi)({},i[t]),{option:e})}}),i},j=function(t){if("object"!=typeof t||null===t)return t;if(Array.isArray(t)){e=[];for(var e,n=0,r=t.length;ne.distinct)return -1}return 0};function N(t){var e,n,r,i=null!==(n=null!==(e=t.find(function(t){return s(t.levelOfMeasurements,["Nominal"])}))&&void 0!==e?e:t.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal"])}))&&void 0!==n?n:t.find(function(t){return s(t.levelOfMeasurements,["Interval"])}),a=null!==(r=t.filter(function(t){return t!==i}).find(function(t){return s(t.levelOfMeasurements,["Interval"])}))&&void 0!==r?r:t.filter(function(t){return t!==i}).find(function(t){return s(t.levelOfMeasurements,["Nominal","Time","Ordinal"])});return[i,a]}function B(t){var e,n=null!==(e=t.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal","Nominal"])}))&&void 0!==e?e:t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),r=t.filter(function(t){return t!==n}).find(function(t){return a(t.levelOfMeasurements,["Interval"])}),i=t.filter(function(t){return t!==n&&t!==r}).find(function(t){return s(t.levelOfMeasurements,["Nominal","Ordinal","Time"])});return[n,r,i]}function D(t){var e=t.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal"])}),n=t.find(function(t){return a(t.levelOfMeasurements,["Nominal"])});return[e,t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),n]}function F(t){var e=t.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])}).sort(I),n=e[0],r=e[1];return[t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),n,r]}function z(t){var e,n,i,o,l,s,c=t.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])}).sort(I);return(0,T.Js)(null===(i=c[1])||void 0===i?void 0:i.rawData,null===(o=c[0])||void 0===o?void 0:o.rawData)?(s=(e=(0,r.CR)(c,2))[0],l=e[1]):(l=(n=(0,r.CR)(c,2))[0],s=n[1]),[l,t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),s]}var $=function(t){var e=t.data,n=t.xField;return(0,y.uniq)(e.map(function(t){return t[n]})).length<=1},W=function(t,e,n){var r=n.field4Split,i=n.field4X;if((null==r?void 0:r.name)&&(null==i?void 0:i.name)){var a=t[r.name];return $({data:e.filter(function(t){return r.name&&t[r.name]===a}),xField:i.name})?5:void 0}return(null==i?void 0:i.name)&&$({data:e,xField:i.name})?5:void 0},Z=n(84438);function H(t){var e,n,i,o,l,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,M,k,C,j,A,S,E,P,T,L,$,H,G,q,V,Y,U,Q,X,K,J,tt,te,tn,tr,ti=t.chartType,ta=t.data,to=t.dataProps,tl=t.chartKnowledge;if(!R.includes(ti)&&tl)return tl.toSpec?tl.toSpec(ta,to):null;switch(ti){case"pie_chart":return n=(e=(0,r.CR)(N(to),2))[0],(i=e[1])&&n?{type:"interval",data:ta,encode:{color:n.name,y:i.name},transform:[{type:"stackY"}],coordinate:{type:"theta"}}:null;case"donut_chart":return l=(o=(0,r.CR)(N(to),2))[0],(c=o[1])&&l?{type:"interval",data:ta,encode:{color:l.name,y:c.name},transform:[{type:"stackY"}],coordinate:{type:"theta",innerRadius:.6}}:null;case"line_chart":return function(t,e){var n=(0,r.CR)(B(e),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var l={type:"line",data:t,encode:{x:i.name,y:a.name,size:function(e){return W(e,t,{field4X:i})}},legend:{size:!1}};return o&&(l.encode.color=o.name),l}(ta,to);case"step_line_chart":return function(t,e){var n=(0,r.CR)(B(e),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var l={type:"line",data:t,encode:{x:i.name,y:a.name,shape:"hvh",size:function(e){return W(e,t,{field4X:i})}},legend:{size:!1}};return o&&(l.encode.color=o.name),l}(ta,to);case"area_chart":return u=to.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal"])}),f=to.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),u&&f?{type:"area",data:ta,encode:{x:u.name,y:f.name,size:function(t){return W(t,ta,{field4X:u})}},legend:{size:!1}}:null;case"stacked_area_chart":return h=(d=(0,r.CR)(D(to),3))[0],p=d[1],g=d[2],h&&p&&g?{type:"area",data:ta,encode:{x:h.name,y:p.name,color:g.name,size:function(t){return W(t,ta,{field4Split:g,field4X:h})}},legend:{size:!1},transform:[{type:"stackY"}]}:null;case"percent_stacked_area_chart":return y=(m=(0,r.CR)(D(to),3))[0],v=m[1],b=m[2],y&&v&&b?{type:"area",data:ta,encode:{x:y.name,y:v.name,color:b.name},transform:[{type:"stackY"},{type:"normalizeY"}]}:null;case"bar_chart":return function(t,e){var n=(0,r.CR)(F(e),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var l={type:"interval",data:t,encode:{x:a.name,y:i.name},coordinate:{transform:[{type:"transpose"}]}};return o&&(l.encode.color=o.name,l.transform=[{type:"stackY"}]),l}(ta,to);case"grouped_bar_chart":return O=(x=(0,r.CR)(F(to),3))[0],w=x[1],_=x[2],O&&w&&_?{type:"interval",data:ta,encode:{x:w.name,y:O.name,color:_.name},transform:[{type:"dodgeX"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"stacked_bar_chart":return k=(M=(0,r.CR)(F(to),3))[0],C=M[1],j=M[2],k&&C&&j?{type:"interval",data:ta,encode:{x:C.name,y:k.name,color:j.name},transform:[{type:"stackY"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"percent_stacked_bar_chart":return S=(A=(0,r.CR)(F(to),3))[0],E=A[1],P=A[2],S&&E&&P?{type:"interval",data:ta,encode:{x:E.name,y:S.name,color:P.name},transform:[{type:"stackY"},{type:"normalizeY"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"column_chart":return function(t,e){var n=e.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])}).sort(I),r=n[0],i=n[1],o=e.find(function(t){return a(t.levelOfMeasurements,["Interval"])});if(!r||!o)return null;var l={type:"interval",data:t,encode:{x:r.name,y:o.name}};return i&&(l.encode.color=i.name,l.transform=[{type:"stackY"}]),l}(ta,to);case"grouped_column_chart":return L=(T=(0,r.CR)(z(to),3))[0],$=T[1],H=T[2],L&&$&&H?{type:"interval",data:ta,encode:{x:L.name,y:$.name,color:H.name},transform:[{type:"dodgeX"}]}:null;case"stacked_column_chart":return q=(G=(0,r.CR)(z(to),3))[0],V=G[1],Y=G[2],q&&V&&Y?{type:"interval",data:ta,encode:{x:q.name,y:V.name,color:Y.name},transform:[{type:"stackY"}]}:null;case"percent_stacked_column_chart":return Q=(U=(0,r.CR)(z(to),3))[0],X=U[1],K=U[2],Q&&X&&K?{type:"interval",data:ta,encode:{x:Q.name,y:X.name,color:K.name},transform:[{type:"stackY"},{type:"normalizeY"}]}:null;case"scatter_plot":return function(t,e){var n=e.filter(function(t){return a(t.levelOfMeasurements,["Interval"])}).sort(I),r=n[0],i=n[1],o=e.find(function(t){return a(t.levelOfMeasurements,["Nominal"])});if(!r||!i)return null;var l={type:"point",data:t,encode:{x:r.name,y:i.name}};return o&&(l.encode.color=o.name),l}(ta,to);case"bubble_chart":return function(t,e){for(var n=e.filter(function(t){return a(t.levelOfMeasurements,["Interval"])}),i={x:n[0],y:n[1],corr:0,size:n[2]},o=function(t){for(var e=function(e){var a=(0,Z.Vs)(n[t].rawData,n[e].rawData);Math.abs(a)>i.corr&&(i.x=n[t],i.y=n[e],i.corr=a,i.size=n[(0,r.ev)([],(0,r.CR)(Array(n.length).keys()),!1).find(function(n){return n!==t&&n!==e})||0])},a=t+1;ae.score?-1:0},X=function(t){var e=t.chartWIKI,n=t.dataProps,r=t.ruleBase,i=t.options;return Object.keys(e).map(function(t){return function(t,e,n,r,i){var a=i?i.purpose:"",o=i?i.preferences:void 0,l=[],s={dataProps:n,chartType:t,purpose:a,preferences:o},c=U(t,e,r,"HARD",s,l);if(0===c)return{chartType:t,score:0,log:l};var u=U(t,e,r,"SOFT",s,l);return{chartType:t,score:c*u,log:l}}(t,e,n,r,i)}).filter(function(t){return t.score>0}).sort(Q)};function K(t,e,n,r){return Object.values(n).filter(function(r){var i;return"DESIGN"===r.type&&r.trigger({dataProps:e,chartType:t})&&!(null===(i=n[r.id].option)||void 0===i?void 0:i.off)}).reduce(function(t,n){return P(t,n.optimizer(e,r))},{})}var J=(t,e=0,n=1)=>to(tl(e,t),n),tt=t=>{t._clipped=!1,t._unclipped=t.slice(0);for(let e=0;e<=3;e++)e<3?((t[e]<0||t[e]>255)&&(t._clipped=!0),t[e]=J(t[e],0,255)):3===e&&(t[e]=J(t[e],0,1));return t};let te={};for(let t of["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"])te[`[object ${t}]`]=t.toLowerCase();function tn(t){return te[Object.prototype.toString.call(t)]||"object"}var tr=(t,e=null)=>t.length>=3?Array.prototype.slice.call(t):"object"==tn(t[0])&&e?e.split("").filter(e=>void 0!==t[0][e]).map(e=>t[0][e]):t[0],ti=t=>{if(t.length<2)return null;let e=t.length-1;return"string"==tn(t[e])?t[e].toLowerCase():null};let{PI:ta,min:to,max:tl}=Math,ts=2*ta,tc=ta/3,tu=ta/180,tf=180/ta;var td={format:{},autodetect:[]},th=class{constructor(...t){if("object"===tn(t[0])&&t[0].constructor&&t[0].constructor===this.constructor)return t[0];let e=ti(t),n=!1;if(!e){for(let r of(n=!0,td.sorted||(td.autodetect=td.autodetect.sort((t,e)=>e.p-t.p),td.sorted=!0),td.autodetect))if(e=r.test(...t))break}if(td.format[e]){let r=td.format[e].apply(null,n?t:t.slice(0,-1));this._rgb=tt(r)}else throw Error("unknown format: "+t);3===this._rgb.length&&this._rgb.push(1)}toString(){return"function"==tn(this.hex)?this.hex():`[${this._rgb.join(",")}]`}};let tp=(...t)=>new tp.Color(...t);tp.Color=th,tp.version="2.6.0";let{max:tg}=Math;var tm=(...t)=>{let[e,n,r]=tr(t,"rgb");e/=255,n/=255,r/=255;let i=1-tg(e,tg(n,r)),a=i<1?1/(1-i):0,o=(1-e-i)*a,l=(1-n-i)*a,s=(1-r-i)*a;return[o,l,s,i]};th.prototype.cmyk=function(){return tm(this._rgb)},tp.cmyk=(...t)=>new th(...t,"cmyk"),td.format.cmyk=(...t)=>{t=tr(t,"cmyk");let[e,n,r,i]=t,a=t.length>4?t[4]:1;return 1===i?[0,0,0,a]:[e>=1?0:255*(1-e)*(1-i),n>=1?0:255*(1-n)*(1-i),r>=1?0:255*(1-r)*(1-i),a]},td.autodetect.push({p:2,test:(...t)=>{if(t=tr(t,"cmyk"),"array"===tn(t)&&4===t.length)return"cmyk"}});let ty=t=>Math.round(100*t)/100;var tv=(...t)=>{let e=tr(t,"hsla"),n=ti(t)||"lsa";return e[0]=ty(e[0]||0),e[1]=ty(100*e[1])+"%",e[2]=ty(100*e[2])+"%","hsla"===n||e.length>3&&e[3]<1?(e[3]=e.length>3?e[3]:1,n="hsla"):e.length=3,`${n}(${e.join(",")})`},tb=(...t)=>{let e,n;let[r,i,a]=t=tr(t,"rgba");r/=255,i/=255,a/=255;let o=to(r,i,a),l=tl(r,i,a),s=(l+o)/2;return(l===o?(e=0,n=Number.NaN):e=s<.5?(l-o)/(l+o):(l-o)/(2-l-o),r==l?n=(i-a)/(l-o):i==l?n=2+(a-r)/(l-o):a==l&&(n=4+(r-i)/(l-o)),(n*=60)<0&&(n+=360),t.length>3&&void 0!==t[3])?[n,e,s,t[3]]:[n,e,s]};let{round:tx}=Math;var tO=(...t)=>{let e=tr(t,"rgba"),n=ti(t)||"rgb";return"hsl"==n.substr(0,3)?tv(tb(e),n):(e[0]=tx(e[0]),e[1]=tx(e[1]),e[2]=tx(e[2]),("rgba"===n||e.length>3&&e[3]<1)&&(e[3]=e.length>3?e[3]:1,n="rgba"),`${n}(${e.slice(0,"rgb"===n?3:4).join(",")})`)};let{round:tw}=Math;var t_=(...t)=>{let e,n,r;t=tr(t,"hsl");let[i,a,o]=t;if(0===a)e=n=r=255*o;else{let t=[0,0,0],l=[0,0,0],s=o<.5?o*(1+a):o+a-o*a,c=2*o-s,u=i/360;t[0]=u+1/3,t[1]=u,t[2]=u-1/3;for(let e=0;e<3;e++)t[e]<0&&(t[e]+=1),t[e]>1&&(t[e]-=1),6*t[e]<1?l[e]=c+(s-c)*6*t[e]:2*t[e]<1?l[e]=s:3*t[e]<2?l[e]=c+(s-c)*(2/3-t[e])*6:l[e]=c;[e,n,r]=[tw(255*l[0]),tw(255*l[1]),tw(255*l[2])]}return t.length>3?[e,n,r,t[3]]:[e,n,r,1]};let tM=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,tk=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,tC=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,tj=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,tA=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,tS=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,{round:tE}=Math,tP=t=>{let e;if(t=t.toLowerCase().trim(),td.format.named)try{return td.format.named(t)}catch(t){}if(e=t.match(tM)){let t=e.slice(1,4);for(let e=0;e<3;e++)t[e]=+t[e];return t[3]=1,t}if(e=t.match(tk)){let t=e.slice(1,5);for(let e=0;e<4;e++)t[e]=+t[e];return t}if(e=t.match(tC)){let t=e.slice(1,4);for(let e=0;e<3;e++)t[e]=tE(2.55*t[e]);return t[3]=1,t}if(e=t.match(tj)){let t=e.slice(1,5);for(let e=0;e<3;e++)t[e]=tE(2.55*t[e]);return t[3]=+t[3],t}if(e=t.match(tA)){let t=e.slice(1,4);t[1]*=.01,t[2]*=.01;let n=t_(t);return n[3]=1,n}if(e=t.match(tS)){let t=e.slice(1,4);t[1]*=.01,t[2]*=.01;let n=t_(t);return n[3]=+e[4],n}};tP.test=t=>tM.test(t)||tk.test(t)||tC.test(t)||tj.test(t)||tA.test(t)||tS.test(t),th.prototype.css=function(t){return tO(this._rgb,t)},tp.css=(...t)=>new th(...t,"css"),td.format.css=tP,td.autodetect.push({p:5,test:(t,...e)=>{if(!e.length&&"string"===tn(t)&&tP.test(t))return"css"}}),td.format.gl=(...t)=>{let e=tr(t,"rgba");return e[0]*=255,e[1]*=255,e[2]*=255,e},tp.gl=(...t)=>new th(...t,"gl"),th.prototype.gl=function(){let t=this._rgb;return[t[0]/255,t[1]/255,t[2]/255,t[3]]};let{floor:tR}=Math;var tT=(...t)=>{let e;let[n,r,i]=tr(t,"rgb"),a=to(n,r,i),o=tl(n,r,i),l=o-a;return 0===l?e=Number.NaN:(n===o&&(e=(r-i)/l),r===o&&(e=2+(i-n)/l),i===o&&(e=4+(n-r)/l),(e*=60)<0&&(e+=360)),[e,100*l/255,a/(255-l)*100]};th.prototype.hcg=function(){return tT(this._rgb)},tp.hcg=(...t)=>new th(...t,"hcg"),td.format.hcg=(...t)=>{let e,n,r;let[i,a,o]=t=tr(t,"hcg");o*=255;let l=255*a;if(0===a)e=n=r=o;else{360===i&&(i=0),i>360&&(i-=360),i<0&&(i+=360),i/=60;let t=tR(i),s=i-t,c=o*(1-a),u=c+l*(1-s),f=c+l*s,d=c+l;switch(t){case 0:[e,n,r]=[d,f,c];break;case 1:[e,n,r]=[u,d,c];break;case 2:[e,n,r]=[c,d,f];break;case 3:[e,n,r]=[c,u,d];break;case 4:[e,n,r]=[f,c,d];break;case 5:[e,n,r]=[d,c,u]}}return[e,n,r,t.length>3?t[3]:1]},td.autodetect.push({p:1,test:(...t)=>{if(t=tr(t,"hcg"),"array"===tn(t)&&3===t.length)return"hcg"}});let tL=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,tI=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/;var tN=t=>{if(t.match(tL)){(4===t.length||7===t.length)&&(t=t.substr(1)),3===t.length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]);let e=parseInt(t,16);return[e>>16,e>>8&255,255&e,1]}if(t.match(tI)){(5===t.length||9===t.length)&&(t=t.substr(1)),4===t.length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);let e=parseInt(t,16),n=Math.round((255&e)/255*100)/100;return[e>>24&255,e>>16&255,e>>8&255,n]}throw Error(`unknown hex color: ${t}`)};let{round:tB}=Math;var tD=(...t)=>{let[e,n,r,i]=tr(t,"rgba"),a=ti(t)||"auto";void 0===i&&(i=1),"auto"===a&&(a=i<1?"rgba":"rgb"),e=tB(e),n=tB(n),r=tB(r);let o=e<<16|n<<8|r,l="000000"+o.toString(16);l=l.substr(l.length-6);let s="0"+tB(255*i).toString(16);switch(s=s.substr(s.length-2),a.toLowerCase()){case"rgba":return`#${l}${s}`;case"argb":return`#${s}${l}`;default:return`#${l}`}};th.prototype.hex=function(t){return tD(this._rgb,t)},tp.hex=(...t)=>new th(...t,"hex"),td.format.hex=tN,td.autodetect.push({p:4,test:(t,...e)=>{if(!e.length&&"string"===tn(t)&&[3,4,5,6,7,8,9].indexOf(t.length)>=0)return"hex"}});let{cos:tF}=Math,{min:tz,sqrt:t$,acos:tW}=Math;var tZ=(...t)=>{let e,[n,r,i]=tr(t,"rgb");n/=255,r/=255,i/=255;let a=tz(n,r,i),o=(n+r+i)/3,l=o>0?1-a/o:0;return 0===l?e=NaN:(e=tW(e=(n-r+(n-i))/2/t$((n-r)*(n-r)+(n-i)*(r-i))),i>r&&(e=ts-e),e/=ts),[360*e,l,o]};th.prototype.hsi=function(){return tZ(this._rgb)},tp.hsi=(...t)=>new th(...t,"hsi"),td.format.hsi=(...t)=>{let e,n,r;let[i,a,o]=t=tr(t,"hsi");return isNaN(i)&&(i=0),isNaN(a)&&(a=0),i>360&&(i-=360),i<0&&(i+=360),(i/=360)<1/3?n=1-((r=(1-a)/3)+(e=(1+a*tF(ts*i)/tF(tc-ts*i))/3)):i<2/3?(i-=1/3,r=1-((e=(1-a)/3)+(n=(1+a*tF(ts*i)/tF(tc-ts*i))/3))):(i-=2/3,e=1-((n=(1-a)/3)+(r=(1+a*tF(ts*i)/tF(tc-ts*i))/3))),[255*(e=J(o*e*3)),255*(n=J(o*n*3)),255*(r=J(o*r*3)),t.length>3?t[3]:1]},td.autodetect.push({p:2,test:(...t)=>{if(t=tr(t,"hsi"),"array"===tn(t)&&3===t.length)return"hsi"}}),th.prototype.hsl=function(){return tb(this._rgb)},tp.hsl=(...t)=>new th(...t,"hsl"),td.format.hsl=t_,td.autodetect.push({p:2,test:(...t)=>{if(t=tr(t,"hsl"),"array"===tn(t)&&3===t.length)return"hsl"}});let{floor:tH}=Math,{min:tG,max:tq}=Math;var tV=(...t)=>{let e,n;let[r,i,a]=t=tr(t,"rgb"),o=tG(r,i,a),l=tq(r,i,a),s=l-o;return 0===l?(e=Number.NaN,n=0):(n=s/l,r===l&&(e=(i-a)/s),i===l&&(e=2+(a-r)/s),a===l&&(e=4+(r-i)/s),(e*=60)<0&&(e+=360)),[e,n,l/255]};th.prototype.hsv=function(){return tV(this._rgb)},tp.hsv=(...t)=>new th(...t,"hsv"),td.format.hsv=(...t)=>{let e,n,r;let[i,a,o]=t=tr(t,"hsv");if(o*=255,0===a)e=n=r=o;else{360===i&&(i=0),i>360&&(i-=360),i<0&&(i+=360),i/=60;let t=tH(i),l=i-t,s=o*(1-a),c=o*(1-a*l),u=o*(1-a*(1-l));switch(t){case 0:[e,n,r]=[o,u,s];break;case 1:[e,n,r]=[c,o,s];break;case 2:[e,n,r]=[s,o,u];break;case 3:[e,n,r]=[s,c,o];break;case 4:[e,n,r]=[u,s,o];break;case 5:[e,n,r]=[o,s,c]}}return[e,n,r,t.length>3?t[3]:1]},td.autodetect.push({p:2,test:(...t)=>{if(t=tr(t,"hsv"),"array"===tn(t)&&3===t.length)return"hsv"}});var tY={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452};let{pow:tU}=Math,tQ=t=>255*(t<=.00304?12.92*t:1.055*tU(t,1/2.4)-.055),tX=t=>t>tY.t1?t*t*t:tY.t2*(t-tY.t0);var tK=(...t)=>{let e,n,r;t=tr(t,"lab");let[i,a,o]=t;return n=(i+16)/116,e=isNaN(a)?n:n+a/500,r=isNaN(o)?n:n-o/200,n=tY.Yn*tX(n),e=tY.Xn*tX(e),r=tY.Zn*tX(r),[tQ(3.2404542*e-1.5371385*n-.4985314*r),tQ(-.969266*e+1.8760108*n+.041556*r),tQ(.0556434*e-.2040259*n+1.0572252*r),t.length>3?t[3]:1]};let{pow:tJ}=Math,t0=t=>(t/=255)<=.04045?t/12.92:tJ((t+.055)/1.055,2.4),t1=t=>t>tY.t3?tJ(t,1/3):t/tY.t2+tY.t0,t2=(t,e,n)=>{t=t0(t),e=t0(e),n=t0(n);let r=t1((.4124564*t+.3575761*e+.1804375*n)/tY.Xn),i=t1((.2126729*t+.7151522*e+.072175*n)/tY.Yn),a=t1((.0193339*t+.119192*e+.9503041*n)/tY.Zn);return[r,i,a]};var t5=(...t)=>{let[e,n,r]=tr(t,"rgb"),[i,a,o]=t2(e,n,r),l=116*a-16;return[l<0?0:l,500*(i-a),200*(a-o)]};th.prototype.lab=function(){return t5(this._rgb)},tp.lab=(...t)=>new th(...t,"lab"),td.format.lab=tK,td.autodetect.push({p:2,test:(...t)=>{if(t=tr(t,"lab"),"array"===tn(t)&&3===t.length)return"lab"}});let{sin:t3,cos:t4}=Math;var t6=(...t)=>{let[e,n,r]=tr(t,"lch");return isNaN(r)&&(r=0),[e,t4(r*=tu)*n,t3(r)*n]},t8=(...t)=>{t=tr(t,"lch");let[e,n,r]=t,[i,a,o]=t6(e,n,r),[l,s,c]=tK(i,a,o);return[l,s,c,t.length>3?t[3]:1]};let{sqrt:t9,atan2:t7,round:et}=Math;var ee=(...t)=>{let[e,n,r]=tr(t,"lab"),i=t9(n*n+r*r),a=(t7(r,n)*tf+360)%360;return 0===et(1e4*i)&&(a=Number.NaN),[e,i,a]},en=(...t)=>{let[e,n,r]=tr(t,"rgb"),[i,a,o]=t5(e,n,r);return ee(i,a,o)};th.prototype.lch=function(){return en(this._rgb)},th.prototype.hcl=function(){return en(this._rgb).reverse()},tp.lch=(...t)=>new th(...t,"lch"),tp.hcl=(...t)=>new th(...t,"hcl"),td.format.lch=t8,td.format.hcl=(...t)=>{let e=tr(t,"hcl").reverse();return t8(...e)},["lch","hcl"].forEach(t=>td.autodetect.push({p:2,test:(...e)=>{if(e=tr(e,t),"array"===tn(e)&&3===e.length)return t}}));var er={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",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",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",maroon2:"#7f0000",maroon3:"#b03060",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",purple2:"#7f007f",purple3:"#a020f0",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"};th.prototype.name=function(){let t=tD(this._rgb,"rgb");for(let e of Object.keys(er))if(er[e]===t)return e.toLowerCase();return t},td.format.named=t=>{if(er[t=t.toLowerCase()])return tN(er[t]);throw Error("unknown color name: "+t)},td.autodetect.push({p:5,test:(t,...e)=>{if(!e.length&&"string"===tn(t)&&er[t.toLowerCase()])return"named"}});var ei=(...t)=>{let[e,n,r]=tr(t,"rgb");return(e<<16)+(n<<8)+r};th.prototype.num=function(){return ei(this._rgb)},tp.num=(...t)=>new th(...t,"num"),td.format.num=t=>{if("number"==tn(t)&&t>=0&&t<=16777215){let e=t>>16,n=t>>8&255,r=255&t;return[e,n,r,1]}throw Error("unknown num color: "+t)},td.autodetect.push({p:5,test:(...t)=>{if(1===t.length&&"number"===tn(t[0])&&t[0]>=0&&t[0]<=16777215)return"num"}});let{round:ea}=Math;th.prototype.rgb=function(t=!0){return!1===t?this._rgb.slice(0,3):this._rgb.slice(0,3).map(ea)},th.prototype.rgba=function(t=!0){return this._rgb.slice(0,4).map((e,n)=>n<3?!1===t?e:ea(e):e)},tp.rgb=(...t)=>new th(...t,"rgb"),td.format.rgb=(...t)=>{let e=tr(t,"rgba");return void 0===e[3]&&(e[3]=1),e},td.autodetect.push({p:3,test:(...t)=>{if(t=tr(t,"rgba"),"array"===tn(t)&&(3===t.length||4===t.length&&"number"==tn(t[3])&&t[3]>=0&&t[3]<=1))return"rgb"}});let{log:eo}=Math;var el=t=>{let e,n,r;let i=t/100;return i<66?(e=255,n=i<6?0:-155.25485562709179-.44596950469579133*(n=i-2)+104.49216199393888*eo(n),r=i<20?0:-254.76935184120902+.8274096064007395*(r=i-10)+115.67994401066147*eo(r)):(e=351.97690566805693+.114206453784165*(e=i-55)-40.25366309332127*eo(e),n=325.4494125711974+.07943456536662342*(n=i-50)-28.0852963507957*eo(n),r=255),[e,n,r,1]};let{round:es}=Math;var ec=(...t)=>{let e;let n=tr(t,"rgb"),r=n[0],i=n[2],a=1e3,o=4e4;for(;o-a>.4;){e=(o+a)*.5;let t=el(e);t[2]/t[0]>=i/r?o=e:a=e}return es(e)};th.prototype.temp=th.prototype.kelvin=th.prototype.temperature=function(){return ec(this._rgb)},tp.temp=tp.kelvin=tp.temperature=(...t)=>new th(...t,"temp"),td.format.temp=td.format.kelvin=td.format.temperature=el;let{pow:eu,sign:ef}=Math;var ed=(...t)=>{t=tr(t,"lab");let[e,n,r]=t,i=eu(e+.3963377774*n+.2158037573*r,3),a=eu(e-.1055613458*n-.0638541728*r,3),o=eu(e-.0894841775*n-1.291485548*r,3);return[255*eh(4.0767416621*i-3.3077115913*a+.2309699292*o),255*eh(-1.2684380046*i+2.6097574011*a-.3413193965*o),255*eh(-.0041960863*i-.7034186147*a+1.707614701*o),t.length>3?t[3]:1]};function eh(t){let e=Math.abs(t);return e>.0031308?(ef(t)||1)*(1.055*eu(e,1/2.4)-.055):12.92*t}let{cbrt:ep,pow:eg,sign:em}=Math;var ey=(...t)=>{let[e,n,r]=tr(t,"rgb"),[i,a,o]=[ev(e/255),ev(n/255),ev(r/255)],l=ep(.4122214708*i+.5363325363*a+.0514459929*o),s=ep(.2119034982*i+.6806995451*a+.1073969566*o),c=ep(.0883024619*i+.2817188376*a+.6299787005*o);return[.2104542553*l+.793617785*s-.0040720468*c,1.9779984951*l-2.428592205*s+.4505937099*c,.0259040371*l+.7827717662*s-.808675766*c]};function ev(t){let e=Math.abs(t);return e<.04045?t/12.92:(em(t)||1)*eg((e+.055)/1.055,2.4)}th.prototype.oklab=function(){return ey(this._rgb)},tp.oklab=(...t)=>new th(...t,"oklab"),td.format.oklab=ed,td.autodetect.push({p:3,test:(...t)=>{if(t=tr(t,"oklab"),"array"===tn(t)&&3===t.length)return"oklab"}});var eb=(...t)=>{let[e,n,r]=tr(t,"rgb"),[i,a,o]=ey(e,n,r);return ee(i,a,o)};th.prototype.oklch=function(){return eb(this._rgb)},tp.oklch=(...t)=>new th(...t,"oklch"),td.format.oklch=(...t)=>{t=tr(t,"lch");let[e,n,r]=t,[i,a,o]=t6(e,n,r),[l,s,c]=ed(i,a,o);return[l,s,c,t.length>3?t[3]:1]},td.autodetect.push({p:3,test:(...t)=>{if(t=tr(t,"oklch"),"array"===tn(t)&&3===t.length)return"oklch"}}),th.prototype.alpha=function(t,e=!1){return void 0!==t&&"number"===tn(t)?e?(this._rgb[3]=t,this):new th([this._rgb[0],this._rgb[1],this._rgb[2],t],"rgb"):this._rgb[3]},th.prototype.clipped=function(){return this._rgb._clipped||!1},th.prototype.darken=function(t=1){let e=this.lab();return e[0]-=tY.Kn*t,new th(e,"lab").alpha(this.alpha(),!0)},th.prototype.brighten=function(t=1){return this.darken(-t)},th.prototype.darker=th.prototype.darken,th.prototype.brighter=th.prototype.brighten,th.prototype.get=function(t){let[e,n]=t.split("."),r=this[e]();if(!n)return r;{let t=e.indexOf(n)-("ok"===e.substr(0,2)?2:0);if(t>-1)return r[t];throw Error(`unknown channel ${n} in mode ${e}`)}};let{pow:ex}=Math;th.prototype.luminance=function(t,e="rgb"){if(void 0!==t&&"number"===tn(t)){if(0===t)return new th([0,0,0,this._rgb[3]],"rgb");if(1===t)return new th([255,255,255,this._rgb[3]],"rgb");let n=this.luminance(),r=20,i=(n,a)=>{let o=n.interpolate(a,.5,e),l=o.luminance();return!(1e-7>Math.abs(t-l))&&r--?l>t?i(n,o):i(o,a):o},a=(n>t?i(new th([0,0,0]),this):i(this,new th([255,255,255]))).rgb();return new th([...a,this._rgb[3]])}return eO(...this._rgb.slice(0,3))};let eO=(t,e,n)=>.2126*(t=ew(t))+.7152*(e=ew(e))+.0722*(n=ew(n)),ew=t=>(t/=255)<=.03928?t/12.92:ex((t+.055)/1.055,2.4);var e_={},eM=(t,e,n=.5,...r)=>{let i=r[0]||"lrgb";if(e_[i]||r.length||(i=Object.keys(e_)[0]),!e_[i])throw Error(`interpolation mode ${i} is not defined`);return"object"!==tn(t)&&(t=new th(t)),"object"!==tn(e)&&(e=new th(e)),e_[i](t,e,n).alpha(t.alpha()+n*(e.alpha()-t.alpha()))};th.prototype.mix=th.prototype.interpolate=function(t,e=.5,...n){return eM(this,t,e,...n)},th.prototype.premultiply=function(t=!1){let e=this._rgb,n=e[3];return t?(this._rgb=[e[0]*n,e[1]*n,e[2]*n,n],this):new th([e[0]*n,e[1]*n,e[2]*n,n],"rgb")},th.prototype.saturate=function(t=1){let e=this.lch();return e[1]+=tY.Kn*t,e[1]<0&&(e[1]=0),new th(e,"lch").alpha(this.alpha(),!0)},th.prototype.desaturate=function(t=1){return this.saturate(-t)},th.prototype.set=function(t,e,n=!1){let[r,i]=t.split("."),a=this[r]();if(!i)return a;{let t=r.indexOf(i)-("ok"===r.substr(0,2)?2:0);if(t>-1){if("string"==tn(e))switch(e.charAt(0)){case"+":case"-":a[t]+=+e;break;case"*":a[t]*=+e.substr(1);break;case"/":a[t]/=+e.substr(1);break;default:a[t]=+e}else if("number"===tn(e))a[t]=e;else throw Error("unsupported value for Color.set");let i=new th(a,r);return n?(this._rgb=i._rgb,this):i}throw Error(`unknown channel ${i} in mode ${r}`)}},th.prototype.tint=function(t=.5,...e){return eM(this,"white",t,...e)},th.prototype.shade=function(t=.5,...e){return eM(this,"black",t,...e)},e_.rgb=(t,e,n)=>{let r=t._rgb,i=e._rgb;return new th(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"rgb")};let{sqrt:ek,pow:eC}=Math;e_.lrgb=(t,e,n)=>{let[r,i,a]=t._rgb,[o,l,s]=e._rgb;return new th(ek(eC(r,2)*(1-n)+eC(o,2)*n),ek(eC(i,2)*(1-n)+eC(l,2)*n),ek(eC(a,2)*(1-n)+eC(s,2)*n),"rgb")},e_.lab=(t,e,n)=>{let r=t.lab(),i=e.lab();return new th(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"lab")};var ej=(t,e,n,r)=>{let i,a,o,l,s,c,u,f,d,h,p,g;return"hsl"===r?(i=t.hsl(),a=e.hsl()):"hsv"===r?(i=t.hsv(),a=e.hsv()):"hcg"===r?(i=t.hcg(),a=e.hcg()):"hsi"===r?(i=t.hsi(),a=e.hsi()):"lch"===r||"hcl"===r?(r="hcl",i=t.hcl(),a=e.hcl()):"oklch"===r&&(i=t.oklch().reverse(),a=e.oklch().reverse()),("h"===r.substr(0,1)||"oklch"===r)&&([o,s,u]=i,[l,c,f]=a),isNaN(o)||isNaN(l)?isNaN(o)?isNaN(l)?h=Number.NaN:(h=l,(1==u||0==u)&&"hsv"!=r&&(d=c)):(h=o,(1==f||0==f)&&"hsv"!=r&&(d=s)):(g=l>o&&l-o>180?l-(o+360):l180?l+360-o:l-o,h=o+n*g),void 0===d&&(d=s+n*(c-s)),p=u+n*(f-u),"oklch"===r?new th([p,d,h],r):new th([h,d,p],r)};let eA=(t,e,n)=>ej(t,e,n,"lch");e_.lch=eA,e_.hcl=eA,e_.num=(t,e,n)=>{let r=t.num(),i=e.num();return new th(r+n*(i-r),"num")},e_.hcg=(t,e,n)=>ej(t,e,n,"hcg"),e_.hsi=(t,e,n)=>ej(t,e,n,"hsi"),e_.hsl=(t,e,n)=>ej(t,e,n,"hsl"),e_.hsv=(t,e,n)=>ej(t,e,n,"hsv"),e_.oklab=(t,e,n)=>{let r=t.oklab(),i=e.oklab();return new th(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"oklab")},e_.oklch=(t,e,n)=>ej(t,e,n,"oklch");let{pow:eS,sqrt:eE,PI:eP,cos:eR,sin:eT,atan2:eL}=Math,eI=(t,e)=>{let n=t.length,r=[0,0,0,0];for(let i=0;i.9999999&&(r[3]=1),new th(tt(r))},{pow:eN}=Math;function eB(t){let e="rgb",n=tp("#ccc"),r=0,i=[0,1],a=[],o=[0,0],l=!1,s=[],c=!1,u=0,f=1,d=!1,h={},p=!0,g=1,m=function(t){if("string"===tn(t=t||["#fff","#000"])&&tp.brewer&&tp.brewer[t.toLowerCase()]&&(t=tp.brewer[t.toLowerCase()]),"array"===tn(t)){1===t.length&&(t=[t[0],t[0]]),t=t.slice(0);for(let e=0;e=l[n];)n++;return n-1}return 0},v=t=>t,b=t=>t,x=function(t,r){let i,c;if(null==r&&(r=!1),isNaN(t)||null===t)return n;if(r)c=t;else if(l&&l.length>2){let e=y(t);c=e/(l.length-2)}else c=f!==u?(t-u)/(f-u):1;c=b(c),r||(c=v(c)),1!==g&&(c=eN(c,g)),c=J(c=o[0]+c*(1-o[0]-o[1]),0,1);let d=Math.floor(1e4*c);if(p&&h[d])i=h[d];else{if("array"===tn(s))for(let t=0;t=n&&t===a.length-1){i=s[t];break}if(c>n&&ch={};m(t);let w=function(t){let e=tp(x(t));return c&&e[c]?e[c]():e};return w.classes=function(t){if(null!=t){if("array"===tn(t))l=t,i=[t[0],t[t.length-1]];else{let e=tp.analyze(i);l=0===t?[e.min,e.max]:tp.limits(e,"e",t)}return w}return l},w.domain=function(t){if(!arguments.length)return i;u=t[0],f=t[t.length-1],a=[];let e=s.length;if(t.length===e&&u!==f)for(let e of Array.from(t))a.push((e-u)/(f-u));else{for(let t=0;t2){let e=t.map((e,n)=>n/(t.length-1)),n=t.map(t=>(t-u)/(f-u));n.every((t,n)=>e[n]===t)||(b=t=>{if(t<=0||t>=1)return t;let r=0;for(;t>=n[r+1];)r++;let i=(t-n[r])/(n[r+1]-n[r]),a=e[r]+i*(e[r+1]-e[r]);return a})}}return i=[u,f],w},w.mode=function(t){return arguments.length?(e=t,O(),w):e},w.range=function(t,e){return m(t,e),w},w.out=function(t){return c=t,w},w.spread=function(t){return arguments.length?(r=t,w):r},w.correctLightness=function(t){return null==t&&(t=!0),d=t,O(),v=d?function(t){let e=x(0,!0).lab()[0],n=x(1,!0).lab()[0],r=e>n,i=x(t,!0).lab()[0],a=e+(n-e)*t,o=i-a,l=0,s=1,c=20;for(;Math.abs(o)>.01&&c-- >0;)r&&(o*=-1),o<0?(l=t,t+=(s-t)*.5):(s=t,t+=(l-t)*.5),o=(i=x(t,!0).lab()[0])-a;return t}:t=>t,w},w.padding=function(t){return null!=t?("number"===tn(t)&&(t=[t,t]),o=t,w):o},w.colors=function(e,n){arguments.length<2&&(n="hex");let r=[];if(0==arguments.length)r=s.slice(0);else if(1===e)r=[w(.5)];else if(e>1){let t=i[0],n=i[1]-t;r=(function(t,e,n){let r=[],i=ta;i?e++:e--)r.push(e);return r})(0,e,!1).map(r=>w(t+r/(e-1)*n))}else{t=[];let e=[];if(l&&l.length>2)for(let t=1,n=l.length,r=1<=n;r?tn;r?t++:t--)e.push((l[t-1]+l[t])*.5);else e=i;r=e.map(t=>w(t))}return tp[n]&&(r=r.map(t=>t[n]())),r},w.cache=function(t){return null!=t?(p=t,w):p},w.gamma=function(t){return null!=t?(g=t,w):g},w.nodata=function(t){return null!=t?(n=tp(t),w):n},w}let eD=function(t){let e=[1,1];for(let n=1;nnew th(t))).length)[n,r]=t.map(t=>t.lab()),e=function(t){let e=[0,1,2].map(e=>n[e]+t*(r[e]-n[e]));return new th(e,"lab")};else if(3===t.length)[n,r,i]=t.map(t=>t.lab()),e=function(t){let e=[0,1,2].map(e=>(1-t)*(1-t)*n[e]+2*(1-t)*t*r[e]+t*t*i[e]);return new th(e,"lab")};else if(4===t.length){let a;[n,r,i,a]=t.map(t=>t.lab()),e=function(t){let e=[0,1,2].map(e=>(1-t)*(1-t)*(1-t)*n[e]+3*(1-t)*(1-t)*t*r[e]+3*(1-t)*t*t*i[e]+t*t*t*a[e]);return new th(e,"lab")}}else if(t.length>=5){let n,r,i;n=t.map(t=>t.lab()),r=eD(i=t.length-1),e=function(t){let e=1-t,a=[0,1,2].map(a=>n.reduce((n,o,l)=>n+r[l]*e**(i-l)*t**l*o[a],0));return new th(a,"lab")}}else throw RangeError("No point in running bezier with only one color.");return e},ez=(t,e,n)=>{if(!ez[n])throw Error("unknown blend mode "+n);return ez[n](t,e)},e$=t=>(e,n)=>{let r=tp(n).rgb(),i=tp(e).rgb();return tp.rgb(t(r,i))},eW=t=>(e,n)=>{let r=[];return r[0]=t(e[0],n[0]),r[1]=t(e[1],n[1]),r[2]=t(e[2],n[2]),r};ez.normal=e$(eW(t=>t)),ez.multiply=e$(eW((t,e)=>t*e/255)),ez.screen=e$(eW((t,e)=>255*(1-(1-t/255)*(1-e/255)))),ez.overlay=e$(eW((t,e)=>e<128?2*t*e/255:255*(1-2*(1-t/255)*(1-e/255)))),ez.darken=e$(eW((t,e)=>t>e?e:t)),ez.lighten=e$(eW((t,e)=>t>e?t:e)),ez.dodge=e$(eW((t,e)=>255===t?255:(t=255*(e/255)/(1-t/255))>255?255:t)),ez.burn=e$(eW((t,e)=>255*(1-(1-e/255)/(t/255))));let{pow:eZ,sin:eH,cos:eG}=Math,{floor:eq,random:eV}=Math,{log:eY,pow:eU,floor:eQ,abs:eX}=Math;function eK(t,e=null){let n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===tn(t)&&(t=Object.values(t)),t.forEach(t=>{e&&"object"===tn(t)&&(t=t[e]),null==t||isNaN(t)||(n.values.push(t),n.sum+=t,tn.max&&(n.max=t),n.count+=1)}),n.domain=[n.min,n.max],n.limits=(t,e)=>eJ(n,t,e),n}function eJ(t,e="equal",n=7){"array"==tn(t)&&(t=eK(t));let{min:r,max:i}=t,a=t.values.sort((t,e)=>t-e);if(1===n)return[r,i];let o=[];if("c"===e.substr(0,1)&&(o.push(r),o.push(i)),"e"===e.substr(0,1)){o.push(r);for(let t=1;t 0");let t=Math.LOG10E*eY(r),e=Math.LOG10E*eY(i);o.push(r);for(let r=1;r200&&(c=!1)}let d={};for(let t=0;tt-e),o.push(h[0]);for(let t=1;t{let r=t.length;n||(n=Array.from(Array(r)).map(()=>1));let i=r/n.reduce(function(t,e){return t+e});if(n.forEach((t,e)=>{n[e]*=i}),t=t.map(t=>new th(t)),"lrgb"===e)return eI(t,n);let a=t.shift(),o=a.get(e),l=[],s=0,c=0;for(let t=0;t{let i=t.get(e);u+=t.alpha()*n[r+1];for(let t=0;t=360;)e-=360;o[t]=e}else o[t]=o[t]/l[t];return u/=r,new th(o,e).alpha(u>.99999?1:u,!0)},bezier:t=>{let e=eF(t);return e.scale=()=>eB(e),e},blend:ez,cubehelix:function(t=300,e=-1.5,n=1,r=1,i=[0,1]){let a=0,o;"array"===tn(i)?o=i[1]-i[0]:(o=0,i=[i,i]);let l=function(l){let s=ts*((t+120)/360+e*l),c=eZ(i[0]+o*l,r),u=0!==a?n[0]+l*a:n,f=u*c*(1-c)/2,d=eG(s),h=eH(s);return tp(tt([255*(c+f*(-.14861*d+1.78277*h)),255*(c+f*(-.29227*d-.90649*h)),255*(c+f*(1.97294*d)),1]))};return l.start=function(e){return null==e?t:(t=e,l)},l.rotations=function(t){return null==t?e:(e=t,l)},l.gamma=function(t){return null==t?r:(r=t,l)},l.hue=function(t){return null==t?n:("array"===tn(n=t)?0==(a=n[1]-n[0])&&(n=n[1]):a=0,l)},l.lightness=function(t){return null==t?i:("array"===tn(t)?(i=t,o=t[1]-t[0]):(i=[t,t],o=0),l)},l.scale=()=>tp.scale(l),l.hue(n),l},mix:eM,interpolate:eM,random:()=>{let t="#";for(let e=0;e<6;e++)t+="0123456789abcdef".charAt(eq(16*eV()));return new th(t,"hex")},scale:eB,analyze:eK,contrast:(t,e)=>{t=new th(t),e=new th(e);let n=t.luminance(),r=e.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},deltaE:function(t,e,n=1,r=1,i=1){var a=function(t){return 360*t/(2*e7)},o=function(t){return 2*e7*t/360};t=new th(t),e=new th(e);let[l,s,c]=Array.from(t.lab()),[u,f,d]=Array.from(e.lab()),h=(l+u)/2,p=e0(e1(s,2)+e1(c,2)),g=e0(e1(f,2)+e1(d,2)),m=(p+g)/2,y=.5*(1-e0(e1(m,7)/(e1(m,7)+e1(25,7)))),v=s*(1+y),b=f*(1+y),x=e0(e1(v,2)+e1(c,2)),O=e0(e1(b,2)+e1(d,2)),w=(x+O)/2,_=a(e3(c,v)),M=a(e3(d,b)),k=_>=0?_:_+360,C=M>=0?M:M+360,j=e4(k-C)>180?(k+C+360)/2:(k+C)/2,A=1-.17*e6(o(j-30))+.24*e6(o(2*j))+.32*e6(o(3*j+6))-.2*e6(o(4*j-63)),S=C-k;S=180>=e4(S)?S:C<=k?S+360:S-360,S=2*e0(x*O)*e8(o(S)/2);let E=O-x,P=1+.015*e1(h-50,2)/e0(20+e1(h-50,2)),R=1+.045*w,T=1+.015*w*A,L=30*e9(-e1((j-275)/25,2)),I=2*e0(e1(w,7)/(e1(w,7)+e1(25,7))),N=-I*e8(2*o(L)),B=e0(e1((u-l)/(n*P),2)+e1(E/(r*R),2)+e1(S/(i*T),2)+N*(E/(r*R))*(S/(i*T)));return e5(0,e2(100,B))},distance:function(t,e,n="lab"){t=new th(t),e=new th(e);let r=t.get(n),i=e.get(n),a=0;for(let t in r){let e=(r[t]||0)-(i[t]||0);a+=e*e}return Math.sqrt(a)},limits:eJ,valid:(...t)=>{try{return new th(...t),!0}catch(t){return!1}},scales:{cool:()=>eB([tp.hsl(180,1,.9),tp.hsl(250,.7,.4)]),hot:()=>eB(["#000","#f00","#ff0","#fff"],[0,.25,.75,1]).mode("rgb")},input:td,colors:er,brewer:nt});let ne=t=>!!tp.valid(t);function nn(t){let{value:e}=t;return ne(e)?tp(e).hex():""}let nr={lab:{l:[0,100],a:[-86.185,98.254],b:[-107.863,94.482]},lch:{l:[0,100],c:[0,100],h:[0,360]},rgb:{r:[0,255],g:[0,255],b:[0,255]},rgba:{r:[0,255],g:[0,255],b:[0,255],a:[0,1]},hsl:{h:[0,360],s:[0,1],l:[0,1]},hsv:{h:[0,360],s:[0,1],v:[0,1]},hsi:{h:[0,360],s:[0,1],i:[0,1]},cmyk:{c:[0,1],m:[0,1],y:[0,1],k:[0,1]}},ni={model:"rgb",value:{r:255,g:255,b:255}},na=["normal","darken","multiply","colorBurn","linearBurn","lighten","screen","colorDodge","linearDodge","overlay","softLight","hardLight","vividLight","linearLight","pinLight","difference","exclusion"];[...na];let no=t=>!!tp.valid(t),nl=t=>{let{value:e}=t;return no(e)?tp(e):tp("#000")},ns=(t,e=t.model)=>{let n=nl(t);return n?n[e]():[0,0,0]},nc=(t,e=4===t.length?"rgba":"rgb")=>{let n={};if(1===t.length){let[r]=t;for(let t=0;tt*e/255,np=(t,e)=>t+e-t*e/255,ng=(t,e)=>t<128?nh(2*t,e):np(2*t-255,e),nm={normal:t=>t,darken:(t,e)=>Math.min(t,e),multiply:nh,colorBurn:(t,e)=>0===t?0:Math.max(0,255*(1-(255-e)/t)),lighten:(t,e)=>Math.max(t,e),screen:np,colorDodge:(t,e)=>255===t?255:Math.min(255,255*(e/(255-t))),overlay:(t,e)=>ng(e,t),softLight:(t,e)=>{if(t<128)return e-(1-2*t/255)*e*(1-e/255);let n=e<64?((16*(e/255)-12)*(e/255)+4)*(e/255):Math.sqrt(e/255);return e+255*(2*t/255-1)*(n-e/255)},hardLight:ng,difference:(t,e)=>Math.abs(t-e),exclusion:(t,e)=>t+e-2*t*e/255,linearBurn:(t,e)=>Math.max(t+e-255,0),linearDodge:(t,e)=>Math.min(255,t+e),linearLight:(t,e)=>Math.max(e+2*t-255,0),vividLight:(t,e)=>t<128?255*(1-(1-e/255)/(2*t/255)):255*(e/2/(255-t)),pinLight:(t,e)=>t<128?Math.min(e,2*t):Math.max(e,2*t-255)},ny=t=>.3*t[0]+.58*t[1]+.11*t[2],nv=t=>{let e=ny(t),n=Math.min(...t),r=Math.max(...t),i=[...t];return n<0&&(i=i.map(t=>e+(t-e)*e/(e-n))),r>255&&(i=i.map(t=>e+(t-e)*(255-e)/(r-e))),i},nb=(t,e)=>{let n=e-ny(t);return nv(t.map(t=>t+n))},nx=t=>Math.max(...t)-Math.min(...t),nO=(t,e)=>{let n=t.map((t,e)=>({value:t,index:e}));n.sort((t,e)=>t.value-e.value);let r=n[0].index,i=n[1].index,a=n[2].index,o=[...t];return o[a]>o[r]?(o[i]=(o[i]-o[r])*e/(o[a]-o[r]),o[a]=e):(o[i]=0,o[a]=0),o[r]=0,o},nw={hue:(t,e)=>nb(nO(t,nx(e)),ny(e)),saturation:(t,e)=>nb(nO(e,nx(t)),ny(e)),color:(t,e)=>nb(t,ny(e)),luminosity:(t,e)=>nb(e,ny(t))},n_=(t,e,n="normal")=>{let r;let[i,a,o,l]=ns(t,"rgba"),[s,c,u,f]=ns(e,"rgba"),d=[i,a,o],h=[s,c,u];if(na.includes(n)){let t=nm[n];r=d.map((e,n)=>Math.floor(t(e,h[n])))}else r=nw[n](d,h);let p=l+f*(1-l),g=Math.round((l*(1-f)*i+l*f*r[0]+(1-l)*f*s)/p),m=Math.round((l*(1-f)*a+l*f*r[1]+(1-l)*f*c)/p),y=Math.round((l*(1-f)*o+l*f*r[2]+(1-l)*f*u)/p);return 1===p?{model:"rgb",value:{r:g,g:m,b:y}}:{model:"rgba",value:{r:g,g:m,b:y,a:p}}},nM=(t,e)=>{let n=(t+e)%360;return n<0?n+=360:n>=360&&(n-=360),n},nk=(t=1,e=0)=>{let n=Math.min(t,e),r=Math.max(t,e);return n+Math.random()*(r-n)},nC=(t=1,e=0)=>{let n=Math.ceil(Math.min(t,e)),r=Math.floor(Math.max(t,e));return Math.floor(n+Math.random()*(r-n+1))},nj=t=>{if(t&&"object"==typeof t){let e=Array.isArray(t);if(e){let e=t.map(t=>nj(t));return e}let n={},r=Object.keys(t);return r.forEach(e=>{n[e]=nj(t[e])}),n}return t};function nA(t){return t*(Math.PI/180)}var nS=n(13106),nE=n.n(nS);let nP=(t,e="normal")=>{if("normal"===e)return{...t};let n=nn(t),r=nE()[e](n);return nd(r)},nR=t=>{let e=nu(t),[,,,n=1]=ns(t,"rgba");return nf(e,n)},nT=(t,e="normal")=>"grayscale"===e?nR(t):nP(t,e),nL=(t,e,n=[nC(5,10),nC(90,95)])=>{let[r,i,a]=ns(t,"lab"),o=r<=15?r:n[0],l=r>=85?r:n[1],s=(l-o)/(e-1),c=Math.ceil((r-o)/s);return s=0===c?s:(r-o)/c,Array(e).fill(0).map((t,e)=>nc([s*e+o,i,a],"lab"))},nI=t=>{let{count:e,color:n,tendency:r}=t,i=nL(n,e),a={name:"monochromatic",semantic:null,type:"discrete-scale",colors:"tint"===r?i:i.reverse()};return a},nN={model:"rgb",value:{r:0,g:0,b:0}},nB={model:"rgb",value:{r:255,g:255,b:255}},nD=(t,e,n="lab")=>tp.distance(nl(t),nl(e),n),nF=(t,e)=>{let n=Math.atan2(t,e)*(180/Math.PI);return n>=0?n:n+360},nz=(t,e)=>{let n,r;let[i,a,o]=ns(t,"lab"),[l,s,c]=ns(e,"lab"),u=Math.sqrt(a**2+o**2),f=Math.sqrt(s**2+c**2),d=(u+f)/2,h=.5*(1-Math.sqrt(d**7/(d**7+6103515625))),p=(1+h)*a,g=(1+h)*s,m=Math.sqrt(p**2+o**2),y=Math.sqrt(g**2+c**2),v=nF(o,p),b=nF(c,g),x=y-m;n=180>=Math.abs(b-v)?b-v:b-v<-180?b-v+360:b-v-360;let O=2*Math.sqrt(m*y)*Math.sin(nA(n)/2);r=180>=Math.abs(v-b)?(v+b)/2:Math.abs(v-b)>180&&v+b<360?(v+b+360)/2:(v+b-360)/2;let w=(i+l)/2,_=(m+y)/2,M=1-.17*Math.cos(nA(r-30))+.24*Math.cos(nA(2*r))+.32*Math.cos(nA(3*r+6))-.2*Math.cos(nA(4*r-63)),k=1+.015*(w-50)**2/Math.sqrt(20+(w-50)**2),C=1+.045*_,j=1+.015*_*M,A=-2*Math.sqrt(_**7/(_**7+6103515625))*Math.sin(nA(60*Math.exp(-(((r-275)/25)**2)))),S=Math.sqrt(((l-i)/(1*k))**2+(x/(1*C))**2+(O/(1*j))**2+A*(x/(1*C))*(O/(1*j)));return S},n$=t=>{let e=t/255;return e<=.03928?e/12.92:((e+.055)/1.055)**2.4},nW=t=>{let[e,n,r]=ns(t);return .2126*n$(e)+.7152*n$(n)+.0722*n$(r)},nZ=(t,e)=>{let n=nW(t),r=nW(e);return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},nH=(t,e,n={measure:"euclidean"})=>{let{measure:r="euclidean",backgroundColor:i=ni}=n,a=n_(t,i),o=n_(e,i);switch(r){case"CIEDE2000":return nz(a,o);case"euclidean":return nD(a,o,n.colorModel);case"contrastRatio":return nZ(a,o);default:return nD(a,o)}},nG=[.8,1.2],nq={rouletteWheel:t=>{let e=t.reduce((t,e)=>t+e),n=0,r=nk(e),i=0;for(let e=0;e{let e=-1,n=0;for(let r=0;r<3;r+=1){let i=nC(t.length-1);t[i]>n&&(e=r,n=t[i])}return e}},nV=(t,e="tournament")=>nq[e](t),nY=(t,e)=>{let n=nj(t),r=nj(e);for(let i=1;i{let i=nj(t),a=e[nC(e.length-1)],o=nC(t[0].length-1),l=i[a][o]*nk(...nG),s=[15,240];"grayscale"!==n&&(s=nr[r][r.split("")[o]]);let[c,u]=s;return lu&&(l=u),i[a][o]=l,i},nQ=(t,e,n,r,i,a)=>{let o;o="grayscale"===n?t.map(([t])=>nf(t)):t.map(t=>nT(nc(t,r),n));let l=1/0;for(let t=0;t{if(Math.round(nQ(t,e,n,i,a,o))>r)return t;let l=Array(t.length).fill(0).map((t,e)=>e).filter((t,n)=>!e[n]),s=Array(50).fill(0).map(()=>nU(t,l,n,i)),c=s.map(t=>nQ(t,e,n,i,a,o)),u=Math.max(...c),f=s[c.findIndex(t=>t===u)],d=1;for(;d<100&&Math.round(u)nk()?nY(e,r):[e,r];a=a.map(t=>.1>nk()?nU(t,l,n,i):t),t.push(...a)}c=(s=t).map(t=>nQ(t,e,n,i,a,o));let r=Math.max(...c);u=r,f=s[c.findIndex(t=>t===r)],d+=1}return f},nK={euclidean:30,CIEDE2000:20,contrastRatio:4.5},nJ={euclidean:291.48,CIEDE2000:100,contrastRatio:21},n0=(t,e={})=>{let{locked:n=[],simulationType:r="normal",threshold:i,colorModel:a="hsv",colorDifferenceMeasure:o="euclidean",backgroundColor:l=ni}=e,s=i;if(s||(s=nK[o]),"grayscale"===r){let e=nJ[o];s=Math.min(s,e/t.colors.length)}let c=nj(t);if("matrix"!==c.type&&"continuous-scale"!==c.type){if("grayscale"===r){let t=c.colors.map(t=>[nu(t)]),e=nX(t,n,r,s,a,o,l);c.colors.forEach((t,n)=>Object.assign(t,function(t,e){let n;let[,r,i]=ns(e,"lab"),[,,,a=1]=ns(e,"rgba"),o=100*t,l=Math.round(o),s=nu(nc([l,r,i],"lab")),c=25;for(;Math.round(o)!==Math.round(s/255*100)&&c>0;)o>s/255*100?l+=1:l-=1,c-=1,s=nu(nc([l,r,i],"lab"));if(Math.round(o)ns(t,a)),e=nX(t,n,r,s,a,o,l);c.colors.forEach((t,n)=>{Object.assign(t,nc(e[n],a))})}}return c},n1=[.3,.9],n2=[.5,1],n5=(t,e,n,r=[])=>{let[i]=ns(t,"hsv"),a=Array(n).fill(!1),o=-1===r.findIndex(e=>e&&e.model===t.model&&e.value===t.value),l=Array(n).fill(0).map((n,l)=>{let s=r[l];return s?(a[l]=!0,s):o?(o=!1,a[l]=!0,t):nc([nM(i,e*l),nk(...n1),nk(...n2)],"hsv")});return{newColors:l,locked:a}};function n3(){let t=nC(255),e=nC(255),n=nC(255);return nc([t,e,n],"rgb")}let n4=t=>{let{count:e,colors:n}=t,r=[],i={name:"random",semantic:null,type:"categorical",colors:Array(e).fill(0).map((t,e)=>{let i=n[e];return i?(r[e]=!0,i):n3()})};return n0(i,{locked:r})},n6=["monochromatic"],n8=(t,e)=>{let{count:n=8,tendency:r="tint"}=e,{colors:i=[],color:a}=e;return a||(a=i.find(t=>!!t&&!!t.model&&!!t.value)||n3()),n6.includes(t)&&(i=[]),{color:a,colors:i,count:n,tendency:r}},n9={monochromatic:nI,analogous:t=>{let{count:e,color:n,tendency:r}=t,[i,a,o]=ns(n,"hsv"),l=Math.floor(e/2),s=60/(e-1);i>=60&&i<=240&&(s=-s);let c=(a-.1)/3/(e-l-1),u=(o-.4)/3/l,f=Array(e).fill(0).map((t,e)=>{let n=nM(i,s*(e-l)),r=e<=l?Math.min(a+c*(l-e),1):a+3*c*(l-e),f=e<=l?o-3*u*(l-e):Math.min(o-u*(l-e),1);return nc([n,r,f],"hsv")}),d={name:"analogous",semantic:null,type:"discrete-scale",colors:"tint"===r?f:f.reverse()};return d},achromatic:t=>{let{tendency:e}=t,n={...t,color:"tint"===e?nN:nB},r=nI(n);return{...r,name:"achromatic"}},complementary:t=>{let e;let{count:n,color:r}=t,[i,a,o]=ns(r,"hsv"),l=nc([nM(i,180),a,o],"hsv"),s=nC(80,90),c=nC(15,25),u=Math.floor(n/2),f=nL(r,u,[c,s]),d=nL(l,u,[c,s]).reverse();if(n%2==1){let t=nc([(nM(i,180)+i)/2,nk(.05,.1),nk(.9,.95)],"hsv");e=[...f,t,...d]}else e=[...f,...d];let h={name:"complementary",semantic:null,type:"discrete-scale",colors:e};return h},"split-complementary":t=>{let{count:e,color:n,colors:r}=t,{newColors:i,locked:a}=n5(n,180,e,r);return n0({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},triadic:t=>{let{count:e,color:n,colors:r}=t,{newColors:i,locked:a}=n5(n,120,e,r);return n0({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},tetradic:t=>{let{count:e,color:n,colors:r}=t,{newColors:i,locked:a}=n5(n,90,e,r);return n0({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},polychromatic:t=>{let{count:e,color:n,colors:r}=t,i=360/e,{newColors:a,locked:o}=n5(n,i,e,r);return n0({name:"tetradic",semantic:null,type:"categorical",colors:a},{locked:o})},customized:n4},n7=(t="monochromatic",e={})=>{let n=n8(t,e);try{return n9[t](n)}catch(t){return n4(n)}};function rt(t,e,n){var r,i=O(e),a=n.primaryColor,o=i.encode;if(a&&o){var l=nd(a);if(o.color){var s=o.color,c=s.type,u=s.field;return{scale:{color:{range:n7("quantitative"===c?G[Math.floor(Math.random()*G.length)]:q[Math.floor(Math.random()*q.length)],{color:l,count:null===(r=t.find(function(t){return t.name===u}))||void 0===r?void 0:r.count}).colors.map(function(t){return nn(t)})}}}}return"line"===e.type?{style:{stroke:nn(l)}}:{style:{fill:nn(l)}}}return{}}function re(t,e,n,r,i){var a,o=O(e).encode;if(n&&o){var l=nd(n);if(o.color){var s=o.color,c=s.type,u=s.field,f=r;return f||(f="quantitative"===c?"monochromatic":"polychromatic"),{scale:{color:{range:n7(f,{color:l,count:null===(a=t.find(function(t){return t.name===u}))||void 0===a?void 0:a.count}).colors.map(function(t){return nn(i?nT(t,i):t)})}}}}return"line"===e.type?{style:{stroke:nn(l)}}:{style:{fill:nn(l)}}}return{}}n(98651);var rn=n(98922);function rr(t,e,n){try{i=e?new rn.Z(t,{columns:e}):new rn.Z(t)}catch(t){return console.error("failed to transform the input data into DataFrame: ",t),[]}var i,a=i.info();return n?a.map(function(t){var e=n.find(function(e){return e.name===t.name});return(0,r.pi)((0,r.pi)({},t),e)}):a}var ri=function(t){var e=t.data,n=t.fields;return n?e.map(function(t){return Object.keys(t).forEach(function(e){n.includes(e)||delete t[e]}),t}):e};function ra(t){var e=t.adviseParams,n=t.ckb,r=t.ruleBase,i=e.data,a=e.dataProps,o=e.smartColor,l=e.options,s=e.colorOptions,c=e.fields,u=l||{},f=u.refine,d=void 0!==f&&f,h=u.requireSpec,p=void 0===h||h,g=u.theme,m=s||{},y=m.themeColor,v=void 0===y?V:y,b=m.colorSchemeType,x=m.simulationType,O=j(i),w=rr(O,c,a),_=ri({data:O,fields:c}),M=X({dataProps:w,ruleBase:r,chartWIKI:n});return{advices:M.map(function(t){var e=t.score,i=t.chartType,a=H({chartType:i,data:_,dataProps:w,chartKnowledge:n[i]});if(a&&d){var l=K(i,w,r,a);P(a,l)}if(a){if(g&&!o){var l=rt(w,a,g);P(a,l)}else if(o){var l=re(w,a,v,b,x);P(a,l)}}return{type:i,spec:a,score:e}}).filter(function(t){return!p||t.spec}),log:M}}var ro=function(t){var e,n=t.coordinate;if((null==n?void 0:n.type)==="theta")return(null==n?void 0:n.innerRadius)?"donut_chart":"pie_chart";var r=t.transform,i=null===(e=null==n?void 0:n.transform)||void 0===e?void 0:e.some(function(t){return"transpose"===t.type}),a=null==r?void 0:r.some(function(t){return"normalizeY"===t.type}),o=null==r?void 0:r.some(function(t){return"stackY"===t.type}),l=null==r?void 0:r.some(function(t){return"dodgeX"===t.type});return i?l?"grouped_bar_chart":a?"stacked_bar_chart":o?"percent_stacked_bar_chart":"bar_chart":l?"grouped_column_chart":a?"stacked_column_chart":o?"percent_stacked_column_chart":"column_chart"},rl=function(t){var e=t.transform,n=null==e?void 0:e.some(function(t){return"stackY"===t.type}),r=null==e?void 0:e.some(function(t){return"normalizeY"===t.type});return n?r?"percent_stacked_area_chart":"stacked_area_chart":"area_chart"},rs=function(t){var e=t.encode;return e.shape&&"hvh"===e.shape?"step_line_chart":"line_chart"},rc=function(t){var e;switch(t.type){case"area":e=rl(t);break;case"interval":e=ro(t);break;case"line":e=rs(t);break;case"point":e=t.encode.size?"bubble_chart":"scatter_plot";break;case"rect":e="histogram";break;case"cell":e="heatmap";break;default:e=""}return e};function ru(t,e,n,i,a,o,l){Object.values(t).filter(function(t){var i,a,l=t.option||{},s=l.weight,c=l.extra;return i=t.type,("DESIGN"===e?"DESIGN"===i:"DESIGN"!==i)&&!(null===(a=t.option)||void 0===a?void 0:a.off)&&t.trigger((0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},n),{weight:s}),c),{chartWIKI:o}))}).forEach(function(t){var s,c=t.type,u=t.id,f=t.docs;if("DESIGN"===e){var d=t.optimizer(n.dataProps,l);s=0===Object.keys(d).length?1:0,a.push({type:c,id:u,score:s,fix:d,docs:f})}else{var h=t.option||{},p=h.weight,g=h.extra;s=t.validator((0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},n),{weight:p}),g),{chartWIKI:o})),a.push({type:c,id:u,score:s,docs:f})}i.push({phase:"LINT",ruleId:u,score:s,base:s,weight:1,ruleType:c})})}function rf(t,e,n){var r=t.spec,i=t.options,a=t.dataProps,o=null==i?void 0:i.purpose,l=null==i?void 0:i.preferences,s=rc(r),c=[],u=[];if(!r||!s)return{lints:c,log:u};if(!a||!a.length)try{a=new rn.Z(r.data).info()}catch(t){return console.error("error: ",t),{lints:c,log:u}}var f={dataProps:a,chartType:s,purpose:o,preferences:l};return ru(e,"notDESIGN",f,u,c,n),ru(e,"DESIGN",f,u,c,n,r),{lints:c=c.filter(function(t){return t.score<1}),log:u}}var rd=n(99477),rh=function(){function t(t,e){var n,r,i,a=this;this.plugins=[],this.name=t,this.afterPluginsExecute=null!==(n=null==e?void 0:e.afterPluginsExecute)&&void 0!==n?n:this.defaultAfterPluginsExecute,this.pluginManager=new rd.AsyncParallelHook(["data","results"]),this.syncPluginManager=new rd.SyncHook(["data","results"]),this.context=null==e?void 0:e.context,this.hasAsyncPlugin=!!(null===(r=null==e?void 0:e.plugins)||void 0===r?void 0:r.find(function(t){return a.isPluginAsync(t)})),null===(i=null==e?void 0:e.plugins)||void 0===i||i.forEach(function(t){a.registerPlugin(t)})}return t.prototype.defaultAfterPluginsExecute=function(t){return(0,y.last)(Object.values(t))},t.prototype.isPluginAsync=function(t){return"AsyncFunction"===t.execute.constructor.name},t.prototype.registerPlugin=function(t){var e,n=this;null===(e=t.onLoad)||void 0===e||e.call(t,this.context),this.plugins.push(t),this.isPluginAsync(t)&&(this.hasAsyncPlugin=!0),this.hasAsyncPlugin?this.pluginManager.tapPromise(t.name,function(e,i){return void 0===i&&(i={}),(0,r.mG)(n,void 0,void 0,function(){var n,a,o;return(0,r.Jh)(this,function(r){switch(r.label){case 0:return null===(a=t.onBeforeExecute)||void 0===a||a.call(t,e,this.context),[4,t.execute(e,this.context)];case 1:return n=r.sent(),null===(o=t.onAfterExecute)||void 0===o||o.call(t,n,this.context),i[t.name]=n,[2]}})})}):this.syncPluginManager.tap(t.name,function(e,r){void 0===r&&(r={}),null===(i=t.onBeforeExecute)||void 0===i||i.call(t,e,n.context);var i,a,o=t.execute(e,n.context);return null===(a=t.onAfterExecute)||void 0===a||a.call(t,o,n.context),r[t.name]=o,o})},t.prototype.unloadPlugin=function(t){var e,n=this.plugins.find(function(e){return e.name===t});n&&(null===(e=n.onUnload)||void 0===e||e.call(n,this.context),this.plugins=this.plugins.filter(function(e){return e.name!==t}))},t.prototype.execute=function(t){var e,n=this;if(this.hasAsyncPlugin){var i={};return this.pluginManager.promise(t,i).then(function(){return(0,r.mG)(n,void 0,void 0,function(){var t;return(0,r.Jh)(this,function(e){return[2,null===(t=this.afterPluginsExecute)||void 0===t?void 0:t.call(this,i)]})})})}var a={};return this.syncPluginManager.call(t,a),null===(e=this.afterPluginsExecute)||void 0===e?void 0:e.call(this,a)},t}(),rp=function(){function t(t){var e=t.components,n=this;this.components=e,this.componentsManager=new rd.AsyncSeriesWaterfallHook(["initialParams"]),e.forEach(function(t){t&&n.componentsManager.tapPromise(t.name,function(e){return(0,r.mG)(n,void 0,void 0,function(){var n,i;return(0,r.Jh)(this,function(a){switch(a.label){case 0:return n=e,[4,t.execute(n||{})];case 1:return i=a.sent(),[2,(0,r.pi)((0,r.pi)({},n),i)]}})})})})}return t.prototype.execute=function(t){return(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:return[4,this.componentsManager.promise(t)];case 1:return[2,e.sent()]}})})},t}(),rg={name:"defaultDataProcessor",stage:["dataAnalyze"],execute:function(t,e){var n=t.data,r=t.customDataProps,i=((null==e?void 0:e.options)||{}).fields,a=(0,y.cloneDeep)(n),o=rr(a,i,r);return{data:ri({data:a,fields:i}),dataProps:o}}},rm={name:"defaultChartTypeRecommend",stage:["chartTypeRecommend"],execute:function(t,e){var n=t.dataProps,r=e||{},i=r.advisor,a=r.options;return{chartTypeRecommendations:X({dataProps:n,chartWIKI:i.ckb,ruleBase:i.ruleBase,options:a})}}},ry={name:"defaultSpecGenerator",stage:["specGenerate"],execute:function(t,e){var n=t.chartTypeRecommendations,r=t.dataProps,i=t.data,a=e||{},o=a.options,l=a.advisor,s=o||{},c=s.refine,u=void 0!==c&&c,f=s.theme,d=s.colorOptions,h=s.smartColor,p=d||{},g=p.themeColor,m=void 0===g?V:g,y=p.colorSchemeType,v=p.simulationType;return{advices:null==n?void 0:n.map(function(t){var e=t.chartType,n=H({chartType:e,data:i,dataProps:r,chartKnowledge:l.ckb[e]});if(n&&u){var a=K(e,r,l.ruleBase,n);P(n,a)}if(n){if(f&&!h){var a=rt(r,n,f);P(n,a)}else if(h){var a=re(r,n,m,y,v);P(n,a)}}return{type:t.chartType,spec:n,score:t.score}}).filter(function(t){return t.spec})}}},rv=function(){function t(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this.ckb=(n=t.ckbCfg,a=JSON.parse(JSON.stringify(i)),n?(o=n.exclude,l=n.include,s=n.custom,o&&o.forEach(function(t){Object.keys(a).includes(t)&&delete a[t]}),l&&Object.keys(a).forEach(function(t){l.includes(t)||delete a[t]}),(0,r.pi)((0,r.pi)({},a),s)):a),this.ruleBase=C(t.ruleCfg),this.context={advisor:this},this.initDefaultComponents();var n,a,o,l,s,c=[this.dataAnalyzer,this.chartTypeRecommender,this.chartEncoder,this.specGenerator],u=e.plugins,f=e.components;this.plugins=u,this.pipeline=new rp({components:null!=f?f:c})}return t.prototype.initDefaultComponents=function(){this.dataAnalyzer=new rh("data",{plugins:[rg],context:this.context}),this.chartTypeRecommender=new rh("chartType",{plugins:[rm],context:this.context}),this.specGenerator=new rh("specGenerate",{plugins:[ry],context:this.context})},t.prototype.advise=function(t){return ra({adviseParams:t,ckb:this.ckb,ruleBase:this.ruleBase}).advices},t.prototype.adviseAsync=function(t){return(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:return this.context=(0,r.pi)((0,r.pi)({},this.context),{data:t.data,options:t.options}),[4,this.pipeline.execute(t)];case 1:return[2,e.sent().advices]}})})},t.prototype.adviseWithLog=function(t){return ra({adviseParams:t,ckb:this.ckb,ruleBase:this.ruleBase})},t.prototype.lint=function(t){return rf(t,this.ruleBase,this.ckb).lints},t.prototype.lintWithLog=function(t){return rf(t,this.ruleBase,this.ckb)},t.prototype.registerPlugins=function(t){var e={dataAnalyze:this.dataAnalyzer,chartTypeRecommend:this.chartTypeRecommender,encode:this.chartEncoder,specGenerate:this.specGenerator};t.forEach(function(t){"string"==typeof t.stage&&e[t.stage].registerPlugin(t)})},t}()},98922:function(t,e,n){"use strict";n.d(e,{Z:function(){return O}});var r=n(33587),i=n(84438),a=n(3847),o=n(7395),l=function(t){var e,n,i=(void 0===(e=t)&&(e=!0),["".concat(o.oP),"".concat(o.oP).concat(o.cF).concat(e?"":"?","W").concat(o.ps,"(").concat(o.cF).concat(e?"":"?").concat(o.NO,")?"),"".concat(o.vc).concat(o.cF).concat(e?"":"?").concat(o.x4).concat(o.cF).concat(e?"":"?").concat(o.oP),"".concat(o.oP).concat(o.cF).concat(e?"":"?").concat(o.vc).concat(o.cF).concat(e?"":"?").concat(o.x4),"".concat(o.oP).concat(o.cF).concat(e?"":"?").concat(o.vc),"".concat(o.oP).concat(o.cF).concat(e?"":"?").concat(o.IY)]),a=(void 0===(n=t)&&(n=!0),["".concat(o.kr,":").concat(n?"":"?").concat(o.EB,":").concat(n?"":"?").concat(o.sh,"([.,]").concat(o.KP,")?").concat(o.ew,"?"),"".concat(o.kr,":").concat(n?"":"?").concat(o.EB,"?").concat(o.ew)]),l=(0,r.ev)((0,r.ev)([],(0,r.CR)(i),!1),(0,r.CR)(a),!1);return i.forEach(function(t){a.forEach(function(e){l.push("".concat(t,"[T\\s]").concat(e))})}),l.map(function(t){return new RegExp("^".concat(t,"$"))})};function s(t,e){if((0,a.HD)(t)){for(var n=l(e),r=0;r0&&(m.generateColumns([0],null==n?void 0:n.columns),m.colData=[m.data],m.data=m.data.map(function(t){return[t]})),(0,a.kJ)(b)){var x=(0,c.w6)(b.length);m.generateDataAndColDataFromArray(!1,e,x,null==n?void 0:n.fillValue,null==n?void 0:n.columnTypes),m.generateColumns(x,null==n?void 0:n.columns)}if((0,a.Kn)(b)){for(var O=[],y=0;y=0&&b>=0||O.length>0,"The rowLoc is not found in the indexes."),v>=0&&b>=0&&(E=this.data.slice(v,b),P=this.indexes.slice(v,b)),O.length>0)for(var s=0;s=0&&_>=0){for(var s=0;s0){for(var R=[],T=E.slice(),s=0;s=0&&y>=0||v.length>0,"The colLoc is illegal"),(0,a.U)(n)&&(0,c.w6)(this.columns.length).includes(n)&&(b=n,O=n+1),(0,a.kJ)(n))for(var s=0;s=0&&y>=0||v.length>0,"The rowLoc is not found in the indexes.");var A=[],S=[];if(m>=0&&y>=0)A=this.data.slice(m,y),S=this.indexes.slice(m,y);else if(v.length>0)for(var s=0;s=0&&O>=0||w.length>0,"The colLoc is not found in the columns index."),b>=0&&O>=0){for(var s=0;s0){for(var E=[],P=A.slice(),s=0;s1){var _={},M=y;b.forEach(function(e){"date"===e?(_.date=t(M.filter(function(t){return s(t)}),n),M=M.filter(function(t){return!s(t)})):"integer"===e?(_.integer=t(M.filter(function(t){return(0,a.Cf)(t)&&!s(t)}),n),M=M.filter(function(t){return!(0,a.Cf)(t)})):"float"===e?(_.float=t(M.filter(function(t){return(0,a.vn)(t)&&!s(t)}),n),M=M.filter(function(t){return!(0,a.vn)(t)})):"string"===e&&(_.string=t(M.filter(function(t){return"string"===f(t,n)})),M=M.filter(function(t){return"string"!==f(t,n)}))}),w.meta=_}2===w.distinct&&"date"!==w.recommendation&&(g.length>=100?w.recommendation="boolean":(0,a.jn)(O,!0)&&(w.recommendation="boolean")),"string"===p&&Object.assign(w,(o=(r=y.map(function(t){return"".concat(t)})).map(function(t){return t.length}),{maxLength:(0,i.Fp)(o),minLength:(0,i.VV)(o),meanLength:(0,i.J6)(o),containsChar:r.some(function(t){return/[A-z]/.test(t)}),containsDigit:r.some(function(t){return/[0-9]/.test(t)}),containsSpace:r.some(function(t){return/\s/.test(t)})})),("integer"===p||"float"===p)&&Object.assign(w,(l=y.map(function(t){return 1*t}),{minimum:(0,i.VV)(l),maximum:(0,i.Fp)(l),mean:(0,i.J6)(l),percentile5:(0,i.VR)(l,5),percentile25:(0,i.VR)(l,25),percentile50:(0,i.VR)(l,50),percentile75:(0,i.VR)(l,75),percentile95:(0,i.VR)(l,95),sum:(0,i.Sm)(l),variance:(0,i.CA)(l),standardDeviation:(0,i.IN)(l),zeros:l.filter(function(t){return 0===t}).length})),"date"===p&&Object.assign(w,(d="integer"===w.type,h=y.map(function(t){if(d){var e="".concat(t);if(8===e.length)return new Date("".concat(e.substring(0,4),"/").concat(e.substring(4,2),"/").concat(e.substring(6,2))).getTime()}return new Date(t).getTime()}),{minimum:y[(0,i._D)(h)],maximum:y[(0,i.F_)(h)]}));var k=[];return"boolean"!==w.recommendation&&("string"!==w.recommendation||u(w))||k.push("Nominal"),u(w)&&k.push("Ordinal"),("integer"===w.recommendation||"float"===w.recommendation)&&k.push("Interval"),"integer"===w.recommendation&&k.push("Discrete"),"float"===w.recommendation&&k.push("Continuous"),"date"===w.recommendation&&k.push("Time"),w.levelOfMeasurements=k,w}(this.colData[n],this.extra.strictDatePattern)),{name:String(o)}))}return e},e.prototype.toString=function(){for(var t=this,e=Array(this.columns.length+1).fill(0),n=0;ne[0]&&(e[0]=r)}for(var n=0;ne[n+1]&&(e[n+1]=r)}for(var n=0;ne[n+1]&&(e[n+1]=r)}return"".concat(g(e[0])).concat(this.columns.map(function(n,r){return"".concat(n).concat(r!==t.columns.length?g(e[r+1]-y(n)+2):"")}).join(""),"\n").concat(this.indexes.map(function(n,r){var i;return"".concat(n).concat(g(e[0]-y(n))).concat(null===(i=t.data[r])||void 0===i?void 0:i.map(function(n,r){return"".concat(m(n)).concat(r!==t.columns.length?g(e[r+1]-y(n)):"")}).join("")).concat(r!==t.indexes.length?"\n":"")}).join(""))},e}(b)},84438:function(t,e,n){"use strict";n.d(e,{Fp:function(){return u},F_:function(){return f},J6:function(){return h},VV:function(){return s},_D:function(){return c},Vs:function(){return y},VR:function(){return p},IN:function(){return m},Sm:function(){return d},Gn:function(){return v},CA:function(){return g}});var r=n(33587),i=n(84514),a=new WeakMap;function o(t,e,n){return a.get(t)||a.set(t,new Map),a.get(t).set(e,n),n}function l(t,e){var n=a.get(t);if(n)return n.get(e)}function s(t){var e=l(t,"min");return void 0!==e?e:o(t,"min",Math.min.apply(Math,(0,r.ev)([],(0,r.CR)(t),!1)))}function c(t){var e=l(t,"minIndex");return void 0!==e?e:o(t,"minIndex",function(t){for(var e=t[0],n=0,r=0;re&&(n=r,e=t[r]);return n}(t))}function d(t){var e=l(t,"sum");return void 0!==e?e:o(t,"sum",t.reduce(function(t,e){return e+t},0))}function h(t){return d(t)/t.length}function p(t,e,n){return void 0===n&&(n=!1),(0,i.hu)(e>0&&e<100,"The percent cannot be between (0, 100)."),(n?t:t.sort(function(t,e){return t>e?1:-1}))[Math.ceil(t.length*e/100)-1]}function g(t){var e=h(t),n=l(t,"variance");return void 0!==n?n:o(t,"variance",t.reduce(function(t,n){return t+Math.pow(n-e,2)},0)/t.length)}function m(t){return Math.sqrt(g(t))}function y(t,e){return(0,i.hu)(t.length===e.length,"The x and y must has same length."),(h(t.map(function(t,n){return t*e[n]}))-h(t)*h(e))/(m(t)*m(e))}function v(t){var e={};return t.forEach(function(t){var n="".concat(t);e[n]?e[n]+=1:e[n]=1}),e}},84514:function(t,e,n){"use strict";n.d(e,{Js:function(){return s},Tw:function(){return a},hu:function(){return l},w6:function(){return o}});var r=n(33587),i=n(3847);function a(t){return Array.from(new Set(t))}function o(t){return(0,r.ev)([],(0,r.CR)(Array(t).keys()),!1)}function l(t,e){if(!t)throw Error(e)}function s(t,e){if(!(0,i.kJ)(t)||0===t.length||!(0,i.kJ)(e)||0===e.length||t.length!==e.length)return!1;for(var n={},r=0;r(18|19|20)\\d{2})",o="(?0?[1-9]|1[012])",l="(?0?[1-9]|[12]\\d|3[01])",s="(?[0-4]\\d|5[0-2])",c="(?[1-7])",u="(0?\\d|[012345]\\d)",f="(?".concat(u,")"),d="(?".concat(u,")"),h="(?".concat(u,")"),p="(?\\d{1,4})",g="(?(([0-2]\\d|3[0-5])\\d)|36[0-6])",m="(?Z|[+-]".concat("(0?\\d|1\\d|2[0-4])","(:").concat(u,")?)")},3847:function(t,e,n){"use strict";n.d(e,{Cf:function(){return c},HD:function(){return a},J_:function(){return f},Kn:function(){return h},M1:function(){return g},U:function(){return s},hj:function(){return o},i1:function(){return l},jn:function(){return d},kJ:function(){return p},kK:function(){return i},vn:function(){return u}});var r=n(7395);function i(t){return null==t||""===t||Number.isNaN(t)||"null"===t}function a(t){return"string"==typeof t}function o(t){return"number"==typeof t}function l(t){if(a(t)){var e=!1,n=t;/^[+-]/.test(n)&&(n=n.slice(1));for(var r=0;r=t.length?void 0:t)&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function n(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),o=[];try{for(;(void 0===e||0n=>t(e(n)),t)}function M(t,e){return e-t?n=>(n-t)/(e-t):t=>.5}T=new p(3),p!=Float32Array&&(T[0]=0,T[1]=0,T[2]=0),T=new p(4),p!=Float32Array&&(T[0]=0,T[1]=0,T[2]=0,T[3]=0);let k=Math.sqrt(50),C=Math.sqrt(10),j=Math.sqrt(2);function A(t,e,n){return t=Math.floor(Math.log(e=(e-t)/Math.max(0,n))/Math.LN10),n=e/10**t,0<=t?(n>=k?10:n>=C?5:n>=j?2:1)*10**t:-(10**-t)/(n>=k?10:n>=C?5:n>=j?2:1)}let S=(t,e,n=5)=>{let r=0,i=(t=[t,e]).length-1,a=t[r],o=t[i],l;return o{n.prototype.rescale=function(){this.initRange(),this.nice();var[t]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t))},n.prototype.initRange=function(){var e=this.options.interpolator;this.options.range=t(e)},n.prototype.composeOutput=function(t,n){var{domain:r,interpolator:i,round:a}=this.getOptions(),r=e(r.map(t)),a=a?t=>l(t=i(t),"Number")?Math.round(t):t:i;this.output=_(a,r,n,t)},n.prototype.invert=void 0}}var R,T={exports:{}},L={exports:{}},I=Array.prototype.concat,N=Array.prototype.slice,B=L.exports=function(t){for(var e=[],n=0,r=t.length;nn=>t*(1-n)+e*n,U=(t,e)=>{if("number"==typeof t&&"number"==typeof e)return Y(t,e);if("string"!=typeof t||"string"!=typeof e)return()=>t;{let n=V(t),r=V(e);return null===n||null===r?n?()=>t:()=>e:t=>{var e=[,,,,];for(let o=0;o<4;o+=1){var i=n[o],a=r[o];e[o]=i*(1-t)+a*t}var[o,l,s,c]=e;return`rgba(${Math.round(o)}, ${Math.round(l)}, ${Math.round(s)}, ${c})`}}},Q=(t,e)=>{let n=Y(t,e);return t=>Math.round(n(t))};function X({map:t,initKey:e},n){return e=e(n),t.has(e)?t.get(e):n}function K(t){return"object"==typeof t?t.valueOf():t}class J extends Map{constructor(t){if(super(),this.map=new Map,this.initKey=K,null!==t)for(var[e,n]of t)this.set(e,n)}get(t){return super.get(X({map:this.map,initKey:this.initKey},t))}has(t){return super.has(X({map:this.map,initKey:this.initKey},t))}set(t,e){var n,r;return super.set(([{map:t,initKey:n},r]=[{map:this.map,initKey:this.initKey},t],n=n(r),t.has(n)?t.get(n):(t.set(n,r),r)),e)}delete(t){var e,n;return super.delete(([{map:t,initKey:e},n]=[{map:this.map,initKey:this.initKey},t],e=e(n),t.has(e)&&(n=t.get(e),t.delete(e)),n))}}class tt{constructor(t){this.options=f({},this.getDefaultOptions()),this.update(t)}getOptions(){return this.options}update(t={}){this.options=f({},this.options,t),this.rescale(t)}rescale(t){}}let te=Symbol("defaultUnknown");function tn(t,e,n){for(let r=0;r""+t:"object"==typeof t?t=>JSON.stringify(t):t=>t}class ta extends tt{getDefaultOptions(){return{domain:[],range:[],unknown:te}}constructor(t){super(t)}map(t){return 0===this.domainIndexMap.size&&tn(this.domainIndexMap,this.getDomain(),this.domainKey),tr({value:this.domainKey(t),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(t){return 0===this.rangeIndexMap.size&&tn(this.rangeIndexMap,this.getRange(),this.rangeKey),tr({value:this.rangeKey(t),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(t){var[e]=this.options.domain,[n]=this.options.range;this.domainKey=ti(e),this.rangeKey=ti(n),this.rangeIndexMap?(t&&!t.range||this.rangeIndexMap.clear(),(!t||t.domain||t.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)):(this.rangeIndexMap=new Map,this.domainIndexMap=new Map)}clone(){return new ta(this.options)}getRange(){return this.options.range}getDomain(){var t,e;return this.sortedDomain||({domain:t,compare:e}=this.options,this.sortedDomain=e?[...t].sort(e):t),this.sortedDomain}}class to extends ta{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:te,flex:[]}}constructor(t){super(t)}clone(){return new to(this.options)}getStep(t){return void 0===this.valueStep?1:"number"==typeof this.valueStep?this.valueStep:void 0===t?Array.from(this.valueStep.values())[0]:this.valueStep.get(t)}getBandWidth(t){return void 0===this.valueBandWidth?1:"number"==typeof this.valueBandWidth?this.valueBandWidth:void 0===t?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(t)}getRange(){return this.adjustedRange}getPaddingInner(){var{padding:t,paddingInner:e}=this.options;return 0t/e)}(c),p=f/h.reduce((t,e)=>t+e);var c=new J(e.map((t,e)=>(e=h[e]*p,[t,o?Math.floor(e):e]))),g=new J(e.map((t,e)=>(e=h[e]*p+d,[t,o?Math.floor(e):e]))),f=Array.from(g.values()).reduce((t,e)=>t+e),t=t+(u-(f-f/s*i))*l;let m=o?Math.round(t):t;var y=Array(s);for(let t=0;ts+e*o),{valueStep:o,valueBandWidth:l,adjustedRange:t}}({align:t,range:n,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:e});this.valueStep=r,this.valueBandWidth=n,this.adjustedRange=t}}let tl=(t,e,n)=>{let r,i,a=t,o=e;if(a===o&&0{let r;var[t,i]=t,[e,a]=e;return _(t{let r=Math.min(t.length,e.length)-1,i=Array(r),a=Array(r);var o=t[0]>t[r],l=o?[...t].reverse():t,s=o?[...e].reverse():e;for(let t=0;t{var n=function(t,e,n,r,i){let a=1,o=r||t.length;for(var l=t=>t;ae?o=s:a=s+1}return a}(t,e,0,r)-1,o=i[n];return _(a[n],o)(e)}},tu=(t,e,n,r)=>(2Math.min(Math.max(r,t),i)}return d}composeOutput(t,e){var{domain:n,range:r,round:i,interpolate:a}=this.options,n=tu(n.map(t),r,a,i);this.output=_(n,e,t)}composeInput(t,e,n){var{domain:r,range:i}=this.options,i=tu(i,r.map(t),Y);this.input=_(e,n,i)}}class td extends tf{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:U,tickMethod:tl,tickCount:5}}chooseTransforms(){return[d,d]}clone(){return new td(this.options)}}class th extends to{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:te,paddingInner:1,paddingOuter:0}}constructor(t){super(t)}getPaddingInner(){return 1}clone(){return new th(this.options)}update(t){super.update(t)}getPaddingOuter(){return this.options.padding}}function tp(t,e){for(var n=[],r=0,i=t.length;r{var[t,e]=t;return _(Y(0,1),M(t,e))})],ty);let tv=a=class extends td{getDefaultOptions(){return{domain:[0,.5,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:d,tickMethod:tl,tickCount:5}}constructor(t){super(t)}clone(){return new a(this.options)}};function tb(t,e,r,i,a){var o=new td({range:[e,e+i]}),l=new td({range:[r,r+a]});return{transform:function(t){var t=n(t,2),e=t[0],t=t[1];return[o.map(e),l.map(t)]},untransform:function(t){var t=n(t,2),e=t[0],t=t[1];return[o.invert(e),l.invert(t)]}}}function tx(t,e,r,i,a){return(0,n(t,1)[0])(e,r,i,a)}function tO(t,e,r,i,a){return n(t,1)[0]}function tw(t,e,r,i,a){var o=(t=n(t,4))[0],l=t[1],s=t[2],t=t[3],c=new td({range:[s,t]}),u=new td({range:[o,l]}),f=1<(s=a/i)?1:s,d=1{let[e,n,r]=t,i=_(Y(0,.5),M(e,n)),a=_(Y(.5,1),M(n,r));return t=>(e>r?tc&&(c=p)}for(var g=Math.atan(r/(n*Math.tan(i))),m=1/0,y=-1/0,v=[a,o],f=-(2*Math.PI);f<=2*Math.PI;f+=Math.PI){var b=g+f;ay&&(y=O)}return{x:s,y:m,width:c-s,height:y-m}}function c(t,e,n,i,a,l){var s=-1,c=1/0,u=[n,i],f=20;l&&l>200&&(f=l/10);for(var d=1/f,h=d/10,p=0;p<=f;p++){var g=p*d,m=[a.apply(void 0,(0,r.ev)([],(0,r.CR)(t.concat([g])),!1)),a.apply(void 0,(0,r.ev)([],(0,r.CR)(e.concat([g])),!1))],y=o(u[0],u[1],m[0],m[1]);y=0&&y=0&&a<=1&&f.push(a);else{var d=c*c-4*s*u;(0,i.Z)(d,0)?f.push(-c/(2*s)):d>0&&(a=(-c+(l=Math.sqrt(d)))/(2*s),o=(-c-l)/(2*s),a>=0&&a<=1&&f.push(a),o>=0&&o<=1&&f.push(o))}return f}function g(t,e,n,r,i,a,o,s){for(var c=[t,o],u=[e,s],f=p(t,n,i,o),d=p(e,r,a,s),g=0;g=0?[a]:[]}function x(t,e,n,r,i,a){var o=b(t,n,i)[0],s=b(e,r,a)[0],c=[t,i],u=[e,a];return void 0!==o&&c.push(v(t,n,i,o)),void 0!==s&&u.push(v(e,r,a,s)),l(c,u)}function O(t,e,n,r,i,a,l,s){var u=c([t,n,i],[e,r,a],l,s,v);return o(u.x,u.y,l,s)}},1006:function(t,e){"use strict";e.Z=function(t,e,n){return tn?n:t}},23641:function(t,e,n){"use strict";var r=n(3392);e.Z=function(t){return Array.isArray?Array.isArray(t):(0,r.Z)(t,"Array")}},62240:function(t,e,n){"use strict";var r=n(3392);e.Z=function(t){return(0,r.Z)(t,"Boolean")}},64757:function(t,e){"use strict";e.Z=function(t){return null==t}},56735:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=1e-5),Math.abs(t-e)7){t[n].shift();for(var r=t[n],i=n;r.length;)e[n]="A",t.splice(i+=1,0,["C"].concat(r.splice(0,6)));t.splice(n,1)}}(f,h,y),g=f.length,"Z"===p&&m.push(y),s=(n=f[y]).length,d.x1=+n[s-2],d.y1=+n[s-1],d.x2=+n[s-4]||d.x1,d.y2=+n[s-3]||d.y1}return e?[f,m]:f}},49219:function(t,e,n){"use strict";n.d(e,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},37084:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},58963:function(t,e,n){"use strict";function r(t,e,n){return{x:t*Math.cos(n)-e*Math.sin(n),y:t*Math.sin(n)+e*Math.cos(n)}}n.d(e,{W:function(){return function t(e,n,i,a,o,l,s,c,u,f){var d,h,p,g,m,y=e,v=n,b=i,x=a,O=c,w=u,_=120*Math.PI/180,M=Math.PI/180*(+o||0),k=[];if(f)h=f[0],p=f[1],g=f[2],m=f[3];else{y=(d=r(y,v,-M)).x,v=d.y,O=(d=r(O,w,-M)).x,w=d.y;var C=(y-O)/2,j=(v-w)/2,A=C*C/(b*b)+j*j/(x*x);A>1&&(b*=A=Math.sqrt(A),x*=A);var S=b*b,E=x*x,P=(l===s?-1:1)*Math.sqrt(Math.abs((S*E-S*j*j-E*C*C)/(S*j*j+E*C*C)));g=P*b*j/x+(y+O)/2,m=-(P*x)*C/b+(v+w)/2,h=Math.asin(((v-m)/x*1e9>>0)/1e9),p=Math.asin(((w-m)/x*1e9>>0)/1e9),h=yp&&(h-=2*Math.PI),!s&&p>h&&(p-=2*Math.PI)}var R=p-h;if(Math.abs(R)>_){var T=p,L=O,I=w;k=t(O=g+b*Math.cos(p=h+_*(s&&p>h?1:-1)),w=m+x*Math.sin(p),b,x,o,0,s,L,I,[p,T,g,m])}R=p-h;var N=Math.cos(h),B=Math.cos(p),D=Math.tan(R/4),F=4/3*b*D,z=4/3*x*D,$=[y,v],W=[y+F*Math.sin(h),v-z*N],Z=[O+F*Math.sin(p),w-z*B],H=[O,w];if(W[0]=2*$[0]-W[0],W[1]=2*$[1]-W[1],f)return W.concat(Z,H,k);k=W.concat(Z,H,k);for(var G=[],q=0,V=k.length;q=s.R[n]&&("m"===n&&r.length>2?(t.segments.push([e].concat(r.splice(0,2))),n="l",e="m"===e?"l":"L"):t.segments.push([e].concat(r.splice(0,s.R[n]))),s.R[n]););}function u(t){return t>=48&&t<=57}function f(t){for(var e,n=t.pathValue,r=t.max;t.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(e));)t.index+=1}var d=function(t){this.pathValue=t,this.segments=[],this.max=t.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function h(t){if((0,i.y)(t))return[].concat(t);for(var e=function(t){if((0,o.b)(t))return[].concat(t);var e=function(t){if((0,l.n)(t))return[].concat(t);var e=new d(t);for(f(e);e.index0;l-=1){if((32|i)==97&&(3===l||4===l)?function(t){var e=t.index,n=t.pathValue,r=n.charCodeAt(e);if(48===r){t.param=0,t.index+=1;return}if(49===r){t.param=1,t.index+=1;return}t.err='[path-util]: invalid Arc flag "'+n[e]+'", expecting 0 or 1 at index '+e}(t):function(t){var e,n=t.max,r=t.pathValue,i=t.index,a=i,o=!1,l=!1,s=!1,c=!1;if(a>=n){t.err="[path-util]: Invalid path value at index "+a+', "pathValue" is missing param';return}if((43===(e=r.charCodeAt(a))||45===e)&&(a+=1,e=r.charCodeAt(a)),!u(e)&&46!==e){t.err="[path-util]: Invalid path value at index "+a+', "'+r[a]+'" is not a number';return}if(46!==e){if(o=48===e,a+=1,e=r.charCodeAt(a),o&&a=t.max||!((o=n.charCodeAt(t.index))>=48&&o<=57||43===o||45===o||46===o))break}c(t)}(e);return e.err?e.err:e.segments}(t),n=0,r=0,i=0,a=0;return e.map(function(t){var e,o=t.slice(1).map(Number),l=t[0],s=l.toUpperCase();if("M"===l)return n=o[0],r=o[1],i=n,a=r,["M",n,r];if(l!==s)switch(s){case"A":e=[s,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":e=[s,o[0]+r];break;case"H":e=[s,o[0]+n];break;default:e=[s].concat(o.map(function(t,e){return t+(e%2?r:n)}))}else e=[s].concat(o);var c=e.length;switch(s){case"Z":n=i,r=a;break;case"H":n=e[1];break;case"V":r=e[1];break;default:n=e[c-2],r=e[c-1],"M"===s&&(i=n,a=r)}return e})}(t),n=(0,r.pi)({},a.z),h=0;h=p[e],g[e]-=m?1:0,m?t.ss:[t.s]}).flat()});return y[0].length===y[1].length?y:t(y[0],y[1],h)}}});var r=n(47583),i=n(53402);function a(t){return t.map(function(t,e,n){var a,o,l,s,c,u,f,d,h,p,g,m,y=e&&n[e-1].slice(-2).concat(t.slice(1)),v=e?(0,i.S)(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],{bbox:!1}).length:0;return m=e?v?(void 0===a&&(a=.5),o=y.slice(0,2),l=y.slice(2,4),s=y.slice(4,6),c=y.slice(6,8),u=(0,r.k)(o,l,a),f=(0,r.k)(l,s,a),d=(0,r.k)(s,c,a),h=(0,r.k)(u,f,a),p=(0,r.k)(f,d,a),g=(0,r.k)(h,p,a),[["C"].concat(u,h,g),["C"].concat(p,d,c)]):[t,t]:[t],{s:t,ss:m,l:v}})}},92410:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var r=n(82450);function i(t){var e,n,i;return e=0,n=0,i=0,(0,r.Y)(t).map(function(t){if("M"===t[0])return e=t[1],n=t[2],0;var r,a,o,l=t.slice(1),s=l[0],c=l[1],u=l[2],f=l[3],d=l[4],h=l[5];return a=e,i=3*((h-(o=n))*(s+u)-(d-a)*(c+f)+c*(a-u)-s*(o-f)+h*(u+a/3)-d*(f+o/3))/20,e=(r=t.slice(-2))[0],n=r[1],i}).reduce(function(t,e){return t+e},0)>=0}},41741:function(t,e,n){"use strict";n.d(e,{r:function(){return a}});var r=n(33587),i=n(44457);function a(t,e,n){return(0,i.s)(t,e,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},18151:function(t,e,n){"use strict";n.d(e,{g:function(){return i}});var r=n(60788);function i(t,e){var n,i,a=t.length-1,o=[],l=0,s=(i=(n=t.length)-1,t.map(function(e,r){return t.map(function(e,a){var o=r+a;return 0===a||t[o]&&"M"===t[o][0]?["M"].concat(t[o].slice(-2)):(o>=n&&(o-=i),t[o])})}));return s.forEach(function(n,i){t.slice(1).forEach(function(n,o){l+=(0,r.y)(t[(i+o)%a].slice(-2),e[o%a].slice(-2))}),o[i]=l,l=0}),s[o.indexOf(Math.min.apply(null,o))]}},39832:function(t,e,n){"use strict";n.d(e,{D:function(){return a}});var r=n(33587),i=n(44457);function a(t,e){return(0,i.s)(t,void 0,(0,r.pi)((0,r.pi)({},e),{bbox:!1,length:!0})).length}},65847:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var r=n(47869);function i(t){return(0,r.n)(t)&&t.every(function(t){var e=t[0];return e===e.toUpperCase()})}},17559:function(t,e,n){"use strict";n.d(e,{y:function(){return i}});var r=n(65847);function i(t){return(0,r.b)(t)&&t.every(function(t){var e=t[0];return"ACLMQZ".includes(e)})}},47869:function(t,e,n){"use strict";n.d(e,{n:function(){return i}});var r=n(49219);function i(t){return Array.isArray(t)&&t.every(function(t){var e=t[0].toLowerCase();return r.R[e]===t.length-1&&"achlmqstvz".includes(e)})}},47583:function(t,e,n){"use strict";function r(t,e,n){var r=t[0],i=t[1];return[r+(e[0]-r)*n,i+(e[1]-i)*n]}n.d(e,{k:function(){return r}})},44457:function(t,e,n){"use strict";n.d(e,{s:function(){return c}});var r=n(96669),i=n(47583),a=n(60788);function o(t,e,n,r,o){var l=(0,a.y)([t,e],[n,r]),s={x:0,y:0};if("number"==typeof o){if(o<=0)s={x:t,y:e};else if(o>=l)s={x:n,y:r};else{var c=(0,i.k)([t,e],[n,r],o/l);s={x:c[0],y:c[1]}}}return{length:l,point:s,min:{x:Math.min(t,n),y:Math.min(e,r)},max:{x:Math.max(t,n),y:Math.max(e,r)}}}function l(t,e){var n=t.x,r=t.y,i=e.x,a=e.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(i,2)+Math.pow(a,2)));return(n*a-r*i<0?-1:1)*Math.acos((n*i+r*a)/o)}var s=n(53402);function c(t,e,n){for(var i,c,u,f,d,h,p,g,m,y=(0,r.A)(t),v="number"==typeof e,b=[],x=0,O=0,w=0,_=0,M=[],k=[],C=0,j={x:0,y:0},A=j,S=j,E=j,P=0,R=0,T=y.length;R1&&(y*=g(_),v*=g(_));var M=(Math.pow(y,2)*Math.pow(v,2)-Math.pow(y,2)*Math.pow(w.y,2)-Math.pow(v,2)*Math.pow(w.x,2))/(Math.pow(y,2)*Math.pow(w.y,2)+Math.pow(v,2)*Math.pow(w.x,2)),k=(a!==s?1:-1)*g(M=M<0?0:M),C={x:k*(y*w.y/v),y:k*(-(v*w.x)/y)},j={x:p(b)*C.x-h(b)*C.y+(t+c)/2,y:h(b)*C.x+p(b)*C.y+(e+u)/2},A={x:(w.x-C.x)/y,y:(w.y-C.y)/v},S=l({x:1,y:0},A),E=l(A,{x:(-w.x-C.x)/y,y:(-w.y-C.y)/v});!s&&E>0?E-=2*m:s&&E<0&&(E+=2*m);var P=S+(E%=2*m)*f,R=y*p(P),T=v*h(P);return{x:p(b)*R-h(b)*T+j.x,y:h(b)*R+p(b)*T+j.y}}(t,e,n,r,i,s,c,u,f,S/x)).x,_=p.y,m&&A.push({x:w,y:_}),v&&(M+=(0,a.y)(C,[w,_])),C=[w,_],O&&M>=d&&d>k[2]){var E=(M-d)/(M-k[2]);j={x:C[0]*(1-E)+k[0]*E,y:C[1]*(1-E)+k[1]*E}}k=[w,_,M]}return O&&d>=M&&(j={x:u,y:f}),{length:M,point:j,min:{x:Math.min.apply(null,A.map(function(t){return t.x})),y:Math.min.apply(null,A.map(function(t){return t.y}))},max:{x:Math.max.apply(null,A.map(function(t){return t.x})),y:Math.max.apply(null,A.map(function(t){return t.y}))}}}(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],(e||0)-P,n||{})).length,j=c.min,A=c.max,S=c.point):"C"===g?(C=(u=(0,s.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],(e||0)-P,n||{})).length,j=u.min,A=u.max,S=u.point):"Q"===g?(C=(f=function(t,e,n,r,i,o,l,s){var c,u=s.bbox,f=void 0===u||u,d=s.length,h=void 0===d||d,p=s.sampleSize,g=void 0===p?10:p,m="number"==typeof l,y=t,v=e,b=0,x=[y,v,0],O=[y,v],w={x:0,y:0},_=[{x:y,y:v}];m&&l<=0&&(w={x:y,y:v});for(var M=0;M<=g;M+=1){if(y=(c=function(t,e,n,r,i,a,o){var l=1-o;return{x:Math.pow(l,2)*t+2*l*o*n+Math.pow(o,2)*i,y:Math.pow(l,2)*e+2*l*o*r+Math.pow(o,2)*a}}(t,e,n,r,i,o,M/g)).x,v=c.y,f&&_.push({x:y,y:v}),h&&(b+=(0,a.y)(O,[y,v])),O=[y,v],m&&b>=l&&l>x[2]){var k=(b-l)/(b-x[2]);w={x:O[0]*(1-k)+x[0]*k,y:O[1]*(1-k)+x[1]*k}}x=[y,v,b]}return m&&l>=b&&(w={x:i,y:o}),{length:b,point:w,min:{x:Math.min.apply(null,_.map(function(t){return t.x})),y:Math.min.apply(null,_.map(function(t){return t.y}))},max:{x:Math.max.apply(null,_.map(function(t){return t.x})),y:Math.max.apply(null,_.map(function(t){return t.y}))}}}(b[0],b[1],b[2],b[3],b[4],b[5],(e||0)-P,n||{})).length,j=f.min,A=f.max,S=f.point):"Z"===g&&(C=(d=o((b=[x,O,w,_])[0],b[1],b[2],b[3],(e||0)-P)).length,j=d.min,A=d.max,S=d.point),v&&P=e&&(E=S),k.push(A),M.push(j),P+=C,x=(h="Z"!==g?m.slice(-2):[w,_])[0],O=h[1];return v&&e>=P&&(E={x:x,y:O}),{length:P,point:E,min:{x:Math.min.apply(null,M.map(function(t){return t.x})),y:Math.min.apply(null,M.map(function(t){return t.y}))},max:{x:Math.max.apply(null,k.map(function(t){return t.x})),y:Math.max.apply(null,k.map(function(t){return t.y}))}}}},53402:function(t,e,n){"use strict";n.d(e,{S:function(){return i}});var r=n(60788);function i(t,e,n,i,a,o,l,s,c,u){var f,d=u.bbox,h=void 0===d||d,p=u.length,g=void 0===p||p,m=u.sampleSize,y=void 0===m?10:m,v="number"==typeof c,b=t,x=e,O=0,w=[b,x,0],_=[b,x],M={x:0,y:0},k=[{x:b,y:x}];v&&c<=0&&(M={x:b,y:x});for(var C=0;C<=y;C+=1){if(b=(f=function(t,e,n,r,i,a,o,l,s){var c=1-s;return{x:Math.pow(c,3)*t+3*Math.pow(c,2)*s*n+3*c*Math.pow(s,2)*i+Math.pow(s,3)*o,y:Math.pow(c,3)*e+3*Math.pow(c,2)*s*r+3*c*Math.pow(s,2)*a+Math.pow(s,3)*l}}(t,e,n,i,a,o,l,s,C/y)).x,x=f.y,h&&k.push({x:b,y:x}),g&&(O+=(0,r.y)(_,[b,x])),_=[b,x],v&&O>=c&&c>w[2]){var j=(O-c)/(O-w[2]);M={x:_[0]*(1-j)+w[0]*j,y:_[1]*(1-j)+w[1]*j}}w=[b,x,O]}return v&&c>=O&&(M={x:l,y:s}),{length:O,point:M,min:{x:Math.min.apply(null,k.map(function(t){return t.x})),y:Math.min.apply(null,k.map(function(t){return t.y}))},max:{x:Math.max.apply(null,k.map(function(t){return t.x})),y:Math.max.apply(null,k.map(function(t){return t.y}))}}}},11686:function(t,e,n){"use strict";n.d(e,{$:function(){return a}});var r=n(42096),i=n(53572);function a(t,e,n){return void 0===t||(0,i.X)(t)?e:(0,r.Z)({},e,{ownerState:(0,r.Z)({},e.ownerState,n)})}},48017:function(t,e,n){"use strict";function r(t,e=[]){if(void 0===t)return{};let n={};return Object.keys(t).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof t[n]&&!e.includes(n)).forEach(e=>{n[e]=t[e]}),n}n.d(e,{_:function(){return r}})},53572:function(t,e,n){"use strict";function r(t){return"string"==typeof t}n.d(e,{X:function(){return r}})},85519:function(t,e,n){"use strict";n.d(e,{L:function(){return l}});var r=n(42096),i=n(4280),a=n(48017);function o(t){if(void 0===t)return{};let e={};return Object.keys(t).filter(e=>!(e.match(/^on[A-Z]/)&&"function"==typeof t[e])).forEach(n=>{e[n]=t[n]}),e}function l(t){let{getSlotProps:e,additionalProps:n,externalSlotProps:l,externalForwardedProps:s,className:c}=t;if(!e){let t=(0,i.Z)(null==s?void 0:s.className,null==l?void 0:l.className,c,null==n?void 0:n.className),e=(0,r.Z)({},null==n?void 0:n.style,null==s?void 0:s.style,null==l?void 0:l.style),a=(0,r.Z)({},n,s,l);return t.length>0&&(a.className=t),Object.keys(e).length>0&&(a.style=e),{props:a,internalRef:void 0}}let u=(0,a._)((0,r.Z)({},s,l)),f=o(l),d=o(s),h=e(u),p=(0,i.Z)(null==h?void 0:h.className,null==n?void 0:n.className,c,null==s?void 0:s.className,null==l?void 0:l.className),g=(0,r.Z)({},null==h?void 0:h.style,null==n?void 0:n.style,null==s?void 0:s.style,null==l?void 0:l.style),m=(0,r.Z)({},h,n,d,f);return p.length>0&&(m.className=p),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:h.ref}}},27045:function(t,e,n){"use strict";function r(t,e,n){return"function"==typeof t?t(e,n):t}n.d(e,{x:function(){return r}})},49841:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var r=n(79760),i=n(42096),a=n(38497),o=n(4280),l=n(95893),s=n(17923),c=n(95592),u=n(47e3),f=n(74936),d=n(63923),h=n(73118);function p(t){return(0,h.d6)("MuiCard",t)}(0,h.sI)("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]);var g=n(53415),m=n(80574),y=n(96469);let v=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],b=t=>{let{size:e,variant:n,color:r,orientation:i}=t,a={root:["root",i,n&&`variant${(0,s.Z)(n)}`,r&&`color${(0,s.Z)(r)}`,e&&`size${(0,s.Z)(e)}`]};return(0,l.Z)(a,p,{})},x=(0,f.Z)("div",{name:"JoyCard",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>{var n,r;let{p:a,padding:o,borderRadius:l}=(0,g.V)({theme:t,ownerState:e},["p","padding","borderRadius"]);return[(0,i.Z)({"--Icon-color":"neutral"!==e.color||"solid"===e.variant?"currentColor":t.vars.palette.text.icon,"--Card-childRadius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))","--AspectRatio-radius":"var(--Card-childRadius)","--unstable_actionMargin":"calc(-1 * var(--variant-borderWidth, 0px))","--unstable_actionRadius":"var(--Card-radius)","--CardCover-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--CardOverflow-offset":"calc(-1 * var(--Card-padding))","--CardOverflow-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--Divider-inset":"calc(-1 * var(--Card-padding))"},"sm"===e.size&&{"--Card-radius":t.vars.radius.sm,"--Card-padding":"0.625rem",gap:"0.5rem"},"md"===e.size&&{"--Card-radius":t.vars.radius.md,"--Card-padding":"1rem",gap:"0.75rem 1rem"},"lg"===e.size&&{"--Card-radius":t.vars.radius.lg,"--Card-padding":"1.5rem",gap:"1rem 1.5rem"},{padding:"var(--Card-padding)",borderRadius:"var(--Card-radius)",backgroundColor:t.vars.palette.background.surface,position:"relative",display:"flex",flexDirection:"horizontal"===e.orientation?"row":"column"},t.typography[`body-${e.size}`],null==(n=t.variants[e.variant])?void 0:n[e.color]),"context"!==e.color&&e.invertedColors&&(null==(r=t.colorInversion[e.variant])?void 0:r[e.color]),void 0!==a&&{"--Card-padding":a},void 0!==o&&{"--Card-padding":o},void 0!==l&&{"--Card-radius":l}]}),O=a.forwardRef(function(t,e){let n=(0,u.Z)({props:t,name:"JoyCard"}),{className:l,color:s="neutral",component:f="div",invertedColors:h=!1,size:p="md",variant:g="outlined",children:O,orientation:w="vertical",slots:_={},slotProps:M={}}=n,k=(0,r.Z)(n,v),{getColor:C}=(0,d.VT)(g),j=C(t.color,s),A=(0,i.Z)({},n,{color:j,component:f,orientation:w,size:p,variant:g}),S=b(A),E=(0,i.Z)({},k,{component:f,slots:_,slotProps:M}),[P,R]=(0,m.Z)("root",{ref:e,className:(0,o.Z)(S.root,l),elementType:x,externalForwardedProps:E,ownerState:A}),T=(0,y.jsx)(P,(0,i.Z)({},R,{children:a.Children.map(O,(t,e)=>{if(!a.isValidElement(t))return t;let n={};if((0,c.Z)(t,["Divider"])){n.inset="inset"in t.props?t.props.inset:"context";let e="vertical"===w?"horizontal":"vertical";n.orientation="orientation"in t.props?t.props.orientation:e}return(0,c.Z)(t,["CardOverflow"])&&("horizontal"===w&&(n["data-parent"]="Card-horizontal"),"vertical"===w&&(n["data-parent"]="Card-vertical")),0===e&&(n["data-first-child"]=""),e===a.Children.count(O)-1&&(n["data-last-child"]=""),a.cloneElement(t,n)})}));return h?(0,y.jsx)(d.do,{variant:g,children:T}):T});var w=O},62715:function(t,e,n){"use strict";n.d(e,{Z:function(){return b}});var r=n(42096),i=n(79760),a=n(38497),o=n(4280),l=n(95893),s=n(47e3),c=n(74936),u=n(73118);function f(t){return(0,u.d6)("MuiCardContent",t)}(0,u.sI)("MuiCardContent",["root"]);let d=(0,u.sI)("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var h=n(80574),p=n(96469);let g=["className","component","children","orientation","slots","slotProps"],m=()=>(0,l.Z)({root:["root"]},f,{}),y=(0,c.Z)("div",{name:"JoyCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})(({ownerState:t})=>({display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column",flex:9999,zIndex:1,columnGap:"var(--Card-padding)",rowGap:"max(2px, calc(0.1875 * var(--Card-padding)))",padding:"var(--unstable_padding)",[`.${d.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}})),v=a.forwardRef(function(t,e){let n=(0,s.Z)({props:t,name:"JoyCardContent"}),{className:a,component:l="div",children:c,orientation:u="vertical",slots:f={},slotProps:d={}}=n,v=(0,i.Z)(n,g),b=(0,r.Z)({},v,{component:l,slots:f,slotProps:d}),x=(0,r.Z)({},n,{component:l,orientation:u}),O=m(),[w,_]=(0,h.Z)("root",{ref:e,className:(0,o.Z)(O.root,a),elementType:y,externalForwardedProps:b,ownerState:x});return(0,p.jsx)(w,(0,r.Z)({},_,{children:c}))});var b=v},84832:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var r=n(79760),i=n(42096),a=n(38497),o=n(4280),l=n(17923),s=n(95893),c=n(47e3),u=n(63923),f=n(74936),d=n(73118);function h(t){return(0,d.d6)("MuiTable",t)}(0,d.sI)("MuiTable",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","stickyHeader","stickyFooter","noWrap","hoverRow","borderAxisNone","borderAxisX","borderAxisXBetween","borderAxisY","borderAxisYBetween","borderAxisBoth","borderAxisBothBetween"]);var p=n(81630),g=n(80574),m=n(96469);let y=["className","component","children","borderAxis","hoverRow","noWrap","size","variant","color","stripe","stickyHeader","stickyFooter","slots","slotProps"],v=t=>{let{size:e,variant:n,color:r,borderAxis:i,stickyHeader:a,stickyFooter:o,noWrap:c,hoverRow:u}=t,f={root:["root",a&&"stickyHeader",o&&"stickyFooter",c&&"noWrap",u&&"hoverRow",i&&`borderAxis${(0,l.Z)(i)}`,n&&`variant${(0,l.Z)(n)}`,r&&`color${(0,l.Z)(r)}`,e&&`size${(0,l.Z)(e)}`]};return(0,s.Z)(f,h,{})},b={getColumnExceptFirst:()=>"& tr > *:not(:first-of-type), & tr > th + td, & tr > td + th",getCell:()=>"& th, & td",getHeadCell:()=>"& th",getHeaderCell:()=>"& thead th",getHeaderCellOfRow:t=>`& thead tr:nth-of-type(${t}) th`,getBottomHeaderCell:()=>"& thead th:not([colspan])",getHeaderNestedFirstColumn:()=>"& thead tr:not(:first-of-type) th:not([colspan]):first-of-type",getDataCell:()=>"& td",getDataCellExceptLastRow:()=>"& tr:not(:last-of-type) > td",getBodyCellExceptLastRow(){return`${this.getDataCellExceptLastRow()}, & tr:not(:last-of-type) > th[scope="row"]`},getBodyCellOfRow:t=>"number"==typeof t&&t<0?`& tbody tr:nth-last-of-type(${Math.abs(t)}) td, & tbody tr:nth-last-of-type(${Math.abs(t)}) th[scope="row"]`:`& tbody tr:nth-of-type(${t}) td, & tbody tr:nth-of-type(${t}) th[scope="row"]`,getBodyRow:t=>void 0===t?"& tbody tr":`& tbody tr:nth-of-type(${t})`,getFooterCell:()=>"& tfoot th, & tfoot td",getFooterFirstRowCell:()=>"& tfoot tr:not(:last-of-type) th, & tfoot tr:not(:last-of-type) td"},x=(0,f.Z)("table",{name:"JoyTable",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>{var n,r,a,o,l,s,c;let u=null==(n=t.variants[e.variant])?void 0:n[e.color];return[(0,i.Z)({"--Table-headerUnderlineThickness":"2px","--TableCell-borderColor":null!=(r=null==u?void 0:u.borderColor)?r:t.vars.palette.divider,"--TableCell-headBackground":`var(--Sheet-background, ${t.vars.palette.background.surface})`},"sm"===e.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 32px)","--TableCell-paddingX":"0.25rem","--TableCell-paddingY":"0.25rem"},"md"===e.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 40px)","--TableCell-paddingX":"0.5rem","--TableCell-paddingY":"0.375rem"},"lg"===e.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 48px)","--TableCell-paddingX":"0.75rem","--TableCell-paddingY":"0.5rem"},{tableLayout:"fixed",width:"100%",borderSpacing:"0px",borderCollapse:"separate",borderRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},t.typography[`body-${({sm:"xs",md:"sm",lg:"md"})[e.size]}`],null==(a=t.variants[e.variant])?void 0:a[e.color],{"& caption":{color:t.vars.palette.text.tertiary,padding:"calc(2 * var(--TableCell-paddingY)) var(--TableCell-paddingX)"},[b.getDataCell()]:(0,i.Z)({padding:"var(--TableCell-paddingY) var(--TableCell-paddingX)",height:"var(--unstable_TableCell-height)",borderColor:"var(--TableCell-borderColor)",backgroundColor:"var(--TableCell-dataBackground)"},e.noWrap&&{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}),[b.getHeadCell()]:{textAlign:"left",padding:"var(--TableCell-paddingY) var(--TableCell-paddingX)",backgroundColor:"var(--TableCell-headBackground)",height:"var(--unstable_TableCell-height)",fontWeight:t.vars.fontWeight.lg,borderColor:"var(--TableCell-borderColor)",color:t.vars.palette.text.secondary,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},[b.getHeaderCell()]:{verticalAlign:"bottom","&:first-of-type":{borderTopLeftRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},"&:last-of-type":{borderTopRightRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"}},"& tfoot tr > *":{backgroundColor:`var(--TableCell-footBackground, ${t.vars.palette.background.level1})`,"&:first-of-type":{borderBottomLeftRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},"&:last-of-type":{borderBottomRightRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"}}}),((null==(o=e.borderAxis)?void 0:o.startsWith("x"))||(null==(l=e.borderAxis)?void 0:l.startsWith("both")))&&{[b.getHeaderCell()]:{borderBottomWidth:1,borderBottomStyle:"solid"},[b.getBottomHeaderCell()]:{borderBottomWidth:"var(--Table-headerUnderlineThickness)",borderBottomStyle:"solid"},[b.getBodyCellExceptLastRow()]:{borderBottomWidth:1,borderBottomStyle:"solid"},[b.getFooterCell()]:{borderTopWidth:1,borderTopStyle:"solid"}},((null==(s=e.borderAxis)?void 0:s.startsWith("y"))||(null==(c=e.borderAxis)?void 0:c.startsWith("both")))&&{[`${b.getColumnExceptFirst()}, ${b.getHeaderNestedFirstColumn()}`]:{borderLeftWidth:1,borderLeftStyle:"solid"}},("x"===e.borderAxis||"both"===e.borderAxis)&&{[b.getHeaderCellOfRow(1)]:{borderTopWidth:1,borderTopStyle:"solid"},[b.getBodyCellOfRow(-1)]:{borderBottomWidth:1,borderBottomStyle:"solid"},[b.getFooterCell()]:{borderBottomWidth:1,borderBottomStyle:"solid"}},("y"===e.borderAxis||"both"===e.borderAxis)&&{"& tr > *:first-of-type":{borderLeftWidth:1,borderLeftStyle:"solid"},"& tr > *:last-of-type:not(:first-of-type)":{borderRightWidth:1,borderRightStyle:"solid"}},e.stripe&&{[b.getBodyRow(e.stripe)]:{background:`var(--TableRow-stripeBackground, ${t.vars.palette.background.level2})`,color:t.vars.palette.text.primary}},e.hoverRow&&{[b.getBodyRow()]:{"&:hover":{background:`var(--TableRow-hoverBackground, ${t.vars.palette.background.level3})`}}},e.stickyHeader&&{[b.getHeaderCell()]:{position:"sticky",top:0,zIndex:t.vars.zIndex.table},[b.getHeaderCellOfRow(2)]:{top:"var(--unstable_TableCell-height)"}},e.stickyFooter&&{[b.getFooterCell()]:{position:"sticky",bottom:0,zIndex:t.vars.zIndex.table,color:t.vars.palette.text.secondary,fontWeight:t.vars.fontWeight.lg},[b.getFooterFirstRowCell()]:{bottom:"var(--unstable_TableCell-height)"}}]}),O=a.forwardRef(function(t,e){let n=(0,c.Z)({props:t,name:"JoyTable"}),{className:a,component:l,children:s,borderAxis:f="xBetween",hoverRow:d=!1,noWrap:h=!1,size:b="md",variant:O="plain",color:w="neutral",stripe:_,stickyHeader:M=!1,stickyFooter:k=!1,slots:C={},slotProps:j={}}=n,A=(0,r.Z)(n,y),{getColor:S}=(0,u.VT)(O),E=S(t.color,w),P=(0,i.Z)({},n,{borderAxis:f,hoverRow:d,noWrap:h,component:l,size:b,color:E,variant:O,stripe:_,stickyHeader:M,stickyFooter:k}),R=v(P),T=(0,i.Z)({},A,{component:l,slots:C,slotProps:j}),[L,I]=(0,g.Z)("root",{ref:e,className:(0,o.Z)(R.root,a),elementType:x,externalForwardedProps:T,ownerState:P});return(0,m.jsx)(p.eu.Provider,{value:!0,children:(0,m.jsx)(L,(0,i.Z)({},I,{children:s}))})});var w=O},81630:function(t,e,n){"use strict";n.d(e,{eu:function(){return x},ZP:function(){return j}});var r=n(79760),i=n(42096),a=n(38497),o=n(17923),l=n(95592),s=n(23259),c=n(95893),u=n(74936),f=n(47e3),d=n(63923),h=n(80574),p=n(73118);function g(t){return(0,p.d6)("MuiTypography",t)}(0,p.sI)("MuiTypography",["root","h1","h2","h3","h4","title-lg","title-md","title-sm","body-lg","body-md","body-sm","body-xs","noWrap","gutterBottom","startDecorator","endDecorator","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var m=n(96469);let y=["color","textColor"],v=["component","gutterBottom","noWrap","level","levelMapping","children","endDecorator","startDecorator","variant","slots","slotProps"],b=a.createContext(!1),x=a.createContext(!1),O=t=>{let{gutterBottom:e,noWrap:n,level:r,color:i,variant:a}=t,l={root:["root",r,e&&"gutterBottom",n&&"noWrap",i&&`color${(0,o.Z)(i)}`,a&&`variant${(0,o.Z)(a)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,c.Z)(l,g,{})},w=(0,u.Z)("span",{name:"JoyTypography",slot:"StartDecorator",overridesResolver:(t,e)=>e.startDecorator})({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"}),_=(0,u.Z)("span",{name:"JoyTypography",slot:"endDecorator",overridesResolver:(t,e)=>e.endDecorator})({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"}),M=(0,u.Z)("span",{name:"JoyTypography",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>{var n,r,a,o,l;let s="inherit"!==e.level?null==(n=t.typography[e.level])?void 0:n.lineHeight:"1";return(0,i.Z)({"--Icon-fontSize":`calc(1em * ${s})`},e.color&&{"--Icon-color":"currentColor"},{margin:"var(--Typography-margin, 0px)"},e.nesting?{display:"inline"}:(0,i.Z)({display:"block"},e.unstable_hasSkeleton&&{position:"relative"}),(e.startDecorator||e.endDecorator)&&(0,i.Z)({display:"flex",alignItems:"center"},e.nesting&&(0,i.Z)({display:"inline-flex"},e.startDecorator&&{verticalAlign:"bottom"})),e.level&&"inherit"!==e.level&&t.typography[e.level],{fontSize:`var(--Typography-fontSize, ${e.level&&"inherit"!==e.level&&null!=(r=null==(a=t.typography[e.level])?void 0:a.fontSize)?r:"inherit"})`},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.color&&"context"!==e.color&&{color:`rgba(${null==(o=t.vars.palette[e.color])?void 0:o.mainChannel} / 1)`},e.variant&&(0,i.Z)({borderRadius:t.vars.radius.xs,paddingBlock:"min(0.1em, 4px)",paddingInline:"0.25em"},!e.nesting&&{marginInline:"-0.25em"},null==(l=t.variants[e.variant])?void 0:l[e.color]))}),k={h1:"h1",h2:"h2",h3:"h3",h4:"h4","title-lg":"p","title-md":"p","title-sm":"p","body-lg":"p","body-md":"p","body-sm":"p","body-xs":"span",inherit:"p"},C=a.forwardRef(function(t,e){let n=(0,f.Z)({props:t,name:"JoyTypography"}),{color:o,textColor:c}=n,u=(0,r.Z)(n,y),p=a.useContext(b),g=a.useContext(x),C=(0,s.Z)((0,i.Z)({},u,{color:c})),{component:j,gutterBottom:A=!1,noWrap:S=!1,level:E="body-md",levelMapping:P=k,children:R,endDecorator:T,startDecorator:L,variant:I,slots:N={},slotProps:B={}}=C,D=(0,r.Z)(C,v),{getColor:F}=(0,d.VT)(I),z=F(t.color,I?null!=o?o:"neutral":o),$=p||g?t.level||"inherit":E,W=(0,l.Z)(R,["Skeleton"]),Z=j||(p?"span":P[$]||k[$]||"span"),H=(0,i.Z)({},C,{level:$,component:Z,color:z,gutterBottom:A,noWrap:S,nesting:p,variant:I,unstable_hasSkeleton:W}),G=O(H),q=(0,i.Z)({},D,{component:Z,slots:N,slotProps:B}),[V,Y]=(0,h.Z)("root",{ref:e,className:G.root,elementType:M,externalForwardedProps:q,ownerState:H}),[U,Q]=(0,h.Z)("startDecorator",{className:G.startDecorator,elementType:w,externalForwardedProps:q,ownerState:H}),[X,K]=(0,h.Z)("endDecorator",{className:G.endDecorator,elementType:_,externalForwardedProps:q,ownerState:H});return(0,m.jsx)(b.Provider,{value:!0,children:(0,m.jsxs)(V,(0,i.Z)({},Y,{children:[L&&(0,m.jsx)(U,(0,i.Z)({},Q,{children:L})),W?a.cloneElement(R,{variant:R.props.variant||"inline"}):R,T&&(0,m.jsx)(X,(0,i.Z)({},K,{children:T}))]}))})});C.muiName="Typography";var j=C},73118:function(t,e,n){"use strict";n.d(e,{d6:function(){return a},sI:function(){return o}});var r=n(67230),i=n(14293);let a=(t,e)=>(0,r.ZP)(t,e,"Mui"),o=(t,e)=>(0,i.Z)(t,e,"Mui")},63923:function(t,e,n){"use strict";n.d(e,{do:function(){return f},ZP:function(){return d},VT:function(){return u}});var r=n(38497),i=n(96454),a=n(15481),o=n(73587),l=n(96469);let s=()=>{let t=(0,i.Z)(a.Z);return t[o.Z]||t},c=r.createContext(void 0),u=t=>{let e=r.useContext(c);return{getColor:(n,r)=>e&&t&&e.includes(t)?n||"context":n||r}};function f({children:t,variant:e}){var n;let r=s();return(0,l.jsx)(c.Provider,{value:e?(null!=(n=r.colorInversionConfig)?n:a.Z.colorInversionConfig)[e]:void 0,children:t})}var d=c},15481:function(t,e,n){"use strict";n.d(e,{Z:function(){return I}});var r=n(42096),i=n(79760),a=n(68178);function o(t=""){return(e,...n)=>`var(--${t?`${t}-`:""}${e}${function e(...n){if(!n.length)return"";let r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${t?`${t}-`:""}${r}${e(...n.slice(1))})`}(...n)})`}var l=n(93605);let s=t=>{let e=function t(e){let n;if(e.type)return e;if("#"===e.charAt(0))return t(function(t){t=t.slice(1);let e=RegExp(`.{1,${t.length>=6?2:1}}`,"g"),n=t.match(e);return n&&1===n[0].length&&(n=n.map(t=>t+t)),n?`rgb${4===n.length?"a":""}(${n.map((t,e)=>e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),i=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(i))throw Error((0,l.Z)(9,e));let a=e.substring(r+1,e.length-1);if("color"===i){if(n=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw Error((0,l.Z)(10,n))}else a=a.split(",");return{type:i,values:a=a.map(t=>parseFloat(t)),colorSpace:n}}(t);return e.values.slice(0,3).map((t,n)=>-1!==e.type.indexOf("hsl")&&0!==n?`${t}%`:t).join(" ")};var c=n(58642),u=n(84226),f=n(96969);let d=(t,e,n,r=[])=>{let i=t;e.forEach((t,a)=>{a===e.length-1?Array.isArray(i)?i[Number(t)]=n:i&&"object"==typeof i&&(i[t]=n):i&&"object"==typeof i&&(i[t]||(i[t]=r.includes(t)?[]:{}),i=i[t])})},h=(t,e,n)=>{!function t(r,i=[],a=[]){Object.entries(r).forEach(([r,o])=>{n&&(!n||n([...i,r]))||null==o||("object"==typeof o&&Object.keys(o).length>0?t(o,[...i,r],Array.isArray(o)?[...a,r]:a):e([...i,r],o,a))})}(t)},p=(t,e)=>{if("number"==typeof e){if(["lineHeight","fontWeight","opacity","zIndex"].some(e=>t.includes(e)))return e;let n=t[t.length-1];return n.toLowerCase().indexOf("opacity")>=0?e:`${e}px`}return e};function g(t,e){let{prefix:n,shouldSkipGeneratingVar:r}=e||{},i={},a={},o={};return h(t,(t,e,l)=>{if(("string"==typeof e||"number"==typeof e)&&(!r||!r(t,e))){let r=`--${n?`${n}-`:""}${t.join("-")}`;Object.assign(i,{[r]:p(t,e)}),d(a,t,`var(${r})`,l),d(o,t,`var(${r}, ${e})`,l)}},t=>"vars"===t[0]),{css:i,vars:a,varsWithDefaults:o}}let m=["colorSchemes","components","defaultColorScheme"];var y=function(t,e){let{colorSchemes:n={},defaultColorScheme:o="light"}=t,l=(0,i.Z)(t,m),{vars:s,css:c,varsWithDefaults:u}=g(l,e),d=u,h={},{[o]:p}=n,y=(0,i.Z)(n,[o].map(f.Z));if(Object.entries(y||{}).forEach(([t,n])=>{let{vars:r,css:i,varsWithDefaults:o}=g(n,e);d=(0,a.Z)(d,o),h[t]={css:i,vars:r}}),p){let{css:t,vars:n,varsWithDefaults:r}=g(p,e);d=(0,a.Z)(d,r),h[o]={css:t,vars:n}}return{vars:d,generateCssVars:t=>{var n,i;if(!t){let n=(0,r.Z)({},c);return{css:n,vars:s,selector:(null==e||null==(i=e.getSelector)?void 0:i.call(e,t,n))||":root"}}let a=(0,r.Z)({},h[t].css);return{css:a,vars:h[t].vars,selector:(null==e||null==(n=e.getSelector)?void 0:n.call(e,t,a))||":root"}}}},v=n(42250),b=n(426);let x=(0,r.Z)({},b.Z,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});var O={grey:{50:"#F5F7FA",100:"#EAEEF6",200:"#DDE7EE",300:"#CDD7E1",400:"#9FA6AD",500:"#636B74",600:"#555E68",700:"#32383E",800:"#23272B",900:"#121416"},blue:{50:"#EDF5FD",100:"#E3EFFB",200:"#C7DFF7",300:"#97C3F0",400:"#4393E4",500:"#0B6BCB",600:"#185EA5",700:"#12467B",800:"#0A2744",900:"#051423"},yellow:{50:"#FEFAF6",100:"#FDF0E1",200:"#FCE1C2",300:"#F3C896",400:"#EA9A3E",500:"#9A5B13",600:"#72430D",700:"#492B08",800:"#2E1B05",900:"#1D1002"},red:{50:"#FEF6F6",100:"#FCE4E4",200:"#F7C5C5",300:"#F09898",400:"#E47474",500:"#C41C1C",600:"#A51818",700:"#7D1212",800:"#430A0A",900:"#240505"},green:{50:"#F6FEF6",100:"#E3FBE3",200:"#C7F7C7",300:"#A1E8A1",400:"#51BC51",500:"#1F7A1F",600:"#136C13",700:"#0A470A",800:"#042F04",900:"#021D02"}};function w(t){var e;return!!t[0].match(/^(typography|variants|breakpoints|colorInversion|colorInversionConfig)$/)||!!t[0].match(/sxConfig$/)||"palette"===t[0]&&!!(null!=(e=t[1])&&e.match(/^(mode)$/))||"focus"===t[0]&&"thickness"!==t[1]}var _=n(73118);let M=t=>t&&"object"==typeof t&&Object.keys(t).some(t=>{var e;return null==(e=t.match)?void 0:e.call(t,/^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/)}),k=(t,e,n)=>{e.includes("Color")&&(t.color=n),e.includes("Bg")&&(t.backgroundColor=n),e.includes("Border")&&(t.borderColor=n)},C=(t,e,n)=>{let r={};return Object.entries(e||{}).forEach(([e,i])=>{if(e.match(RegExp(`${t}(color|bg|border)`,"i"))&&i){let t=n?n(e):i;e.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default",r["--Icon-color"]="currentColor"),e.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),e.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),k(r,e,t)}}),r},j=t=>e=>`--${t?`${t}-`:""}${e.replace(/^--/,"")}`,A=(t,e)=>{let n={};if(e){let{getCssVar:i,palette:a}=e;Object.entries(a).forEach(e=>{let[o,l]=e;M(l)&&"object"==typeof l&&(n=(0,r.Z)({},n,{[o]:C(t,l,t=>i(`palette-${o}-${t}`,a[o][t]))}))})}return n.context=C(t,{plainColor:"var(--variant-plainColor)",plainHoverColor:"var(--variant-plainHoverColor)",plainHoverBg:"var(--variant-plainHoverBg)",plainActiveBg:"var(--variant-plainActiveBg)",plainDisabledColor:"var(--variant-plainDisabledColor)",outlinedColor:"var(--variant-outlinedColor)",outlinedBorder:"var(--variant-outlinedBorder)",outlinedHoverColor:"var(--variant-outlinedHoverColor)",outlinedHoverBorder:"var(--variant-outlinedHoverBorder)",outlinedHoverBg:"var(--variant-outlinedHoverBg)",outlinedActiveBg:"var(--variant-outlinedActiveBg)",outlinedDisabledColor:"var(--variant-outlinedDisabledColor)",outlinedDisabledBorder:"var(--variant-outlinedDisabledBorder)",softColor:"var(--variant-softColor)",softBg:"var(--variant-softBg)",softHoverColor:"var(--variant-softHoverColor)",softHoverBg:"var(--variant-softHoverBg)",softActiveBg:"var(--variant-softActiveBg)",softDisabledColor:"var(--variant-softDisabledColor)",softDisabledBg:"var(--variant-softDisabledBg)",solidColor:"var(--variant-solidColor)",solidBg:"var(--variant-solidBg)",solidHoverBg:"var(--variant-solidHoverBg)",solidActiveBg:"var(--variant-solidActiveBg)",solidDisabledColor:"var(--variant-solidDisabledColor)",solidDisabledBg:"var(--variant-solidDisabledBg)"}),n},S=(t,e)=>{let n=o(t.cssVarPrefix),r=j(t.cssVarPrefix),i={},a=e?e=>{var r;let i=e.split("-"),a=i[1],o=i[2];return n(e,null==(r=t.palette)||null==(r=r[a])?void 0:r[o])}:n;return Object.entries(t.palette).forEach(e=>{let[n,o]=e;M(o)&&(i[n]={"--Badge-ringColor":a(`palette-${n}-softBg`),[t.getColorSchemeSelector("dark")]:{[r("--palette-focusVisible")]:a(`palette-${n}-300`),[r("--palette-background-body")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.1)`,[r("--palette-background-surface")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`,[r("--palette-background-level1")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.4)`,[r("--palette-background-level3")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,[r("--palette-text-primary")]:a(`palette-${n}-100`),[r("--palette-text-secondary")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.72)`,[r("--palette-text-tertiary")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.6)`,[r("--palette-text-icon")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.6)`,[r("--palette-divider")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${a(`palette-${n}-lightChannel`)} / 1)`,"--variant-plainHoverColor":a(`palette-${n}-50`),"--variant-plainHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${a(`palette-${n}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":a(`palette-${n}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":a(`palette-${n}-600`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.2)`,"--variant-softColor":a(`palette-${n}-200`),"--variant-softBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":a(`palette-${n}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":a(`palette-${n}-600`),"--variant-solidActiveBg":a(`palette-${n}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`},[t.getColorSchemeSelector("light")]:{[r("--palette-focusVisible")]:a(`palette-${n}-500`),[r("--palette-background-body")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.1)`,[r("--palette-background-surface")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`,[r("--palette-background-level1")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,[r("--palette-background-level3")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.48)`,[r("--palette-text-primary")]:a(`palette-${n}-700`),[r("--palette-text-secondary")]:`rgba(${a(`palette-${n}-darkChannel`)} / 0.8)`,[r("--palette-text-tertiary")]:`rgba(${a(`palette-${n}-darkChannel`)} / 0.68)`,[r("--palette-text-icon")]:a(`palette-${n}-500`),[r("--palette-divider")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${a(`palette-${n}-darkChannel`)} / 0.8)`,"--variant-plainHoverColor":`rgba(${a(`palette-${n}-darkChannel`)} / 1)`,"--variant-plainHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${a(`palette-${n}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":a(`palette-${n}-600`),"--variant-outlinedHoverBorder":a(`palette-${n}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-softColor":a(`palette-${n}-600`),"--variant-softBg":`rgba(${a(`palette-${n}-lightChannel`)} / 0.8)`,"--variant-softHoverColor":a(`palette-${n}-700`),"--variant-softHoverBg":a(`palette-${n}-200`),"--variant-softActiveBg":a(`palette-${n}-300`),"--variant-softDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`,"--variant-solidColor":a("palette-common-white"),"--variant-solidBg":a(`palette-${n}-${"neutral"===n?"700":"500"}`),"--variant-solidHoverColor":a("palette-common-white"),"--variant-solidHoverBg":a(`palette-${n}-600`),"--variant-solidActiveBg":a(`palette-${n}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`}})}),i},E=(t,e)=>{let n=o(t.cssVarPrefix),r=j(t.cssVarPrefix),i={},a=e?e=>{let r=e.split("-"),i=r[1],a=r[2];return n(e,t.palette[i][a])}:n;return Object.entries(t.palette).forEach(t=>{let[e,n]=t;M(n)&&(i[e]={colorScheme:"dark","--Badge-ringColor":a(`palette-${e}-solidBg`),[r("--palette-focusVisible")]:a(`palette-${e}-200`),[r("--palette-background-body")]:"rgba(0 0 0 / 0.1)",[r("--palette-background-surface")]:"rgba(0 0 0 / 0.06)",[r("--palette-background-popup")]:a(`palette-${e}-700`),[r("--palette-background-level1")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.36)`,[r("--palette-background-level3")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.6)`,[r("--palette-text-primary")]:a("palette-common-white"),[r("--palette-text-secondary")]:a(`palette-${e}-200`),[r("--palette-text-tertiary")]:a(`palette-${e}-300`),[r("--palette-text-icon")]:a(`palette-${e}-200`),[r("--palette-divider")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainColor":a(`palette-${e}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":a(`palette-${e}-50`),"--variant-outlinedBorder":`rgba(${a(`palette-${e}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":a(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":a("palette-common-white"),"--variant-softHoverColor":a("palette-common-white"),"--variant-softBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.16)`,"--variant-softDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`,"--variant-solidColor":a(`palette-${e}-${"neutral"===e?"600":"500"}`),"--variant-solidBg":a("palette-common-white"),"--variant-solidHoverBg":a("palette-common-white"),"--variant-solidActiveBg":a(`palette-${e}-100`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`})}),i},P=["cssVarPrefix","breakpoints","spacing","components","variants","colorInversion","shouldSkipGeneratingVar"],R=["colorSchemes"],T=(t="joy")=>o(t),L=function(t){var e,n,o,l,f,d,h,p,g,m;let b=t||{},{cssVarPrefix:M="joy",breakpoints:k,spacing:C,components:j,variants:L,colorInversion:I,shouldSkipGeneratingVar:N=w}=b,B=(0,i.Z)(b,P),D=T(M),F={primary:O.blue,neutral:O.grey,danger:O.red,success:O.green,warning:O.yellow,common:{white:"#FCFCFD",black:"#09090B"}},z=t=>{var e;let n=t.split("-"),r=n[1],i=n[2];return D(t,null==(e=F[r])?void 0:e[i])},$=t=>({plainColor:z(`palette-${t}-500`),plainHoverBg:z(`palette-${t}-50`),plainActiveBg:z(`palette-${t}-100`),plainDisabledColor:z("palette-neutral-400"),outlinedColor:z(`palette-${t}-500`),outlinedBorder:z(`palette-${t}-300`),outlinedHoverBg:z(`palette-${t}-100`),outlinedActiveBg:z(`palette-${t}-200`),outlinedDisabledColor:z("palette-neutral-400"),outlinedDisabledBorder:z("palette-neutral-200"),softColor:z(`palette-${t}-700`),softBg:z(`palette-${t}-100`),softHoverBg:z(`palette-${t}-200`),softActiveColor:z(`palette-${t}-800`),softActiveBg:z(`palette-${t}-300`),softDisabledColor:z("palette-neutral-400"),softDisabledBg:z(`palette-${t}-50`),solidColor:z("palette-common-white"),solidBg:z(`palette-${t}-500`),solidHoverBg:z(`palette-${t}-600`),solidActiveBg:z(`palette-${t}-700`),solidDisabledColor:z("palette-neutral-400"),solidDisabledBg:z(`palette-${t}-100`)}),W=t=>({plainColor:z(`palette-${t}-300`),plainHoverBg:z(`palette-${t}-800`),plainActiveBg:z(`palette-${t}-700`),plainDisabledColor:z("palette-neutral-500"),outlinedColor:z(`palette-${t}-200`),outlinedBorder:z(`palette-${t}-700`),outlinedHoverBg:z(`palette-${t}-800`),outlinedActiveBg:z(`palette-${t}-700`),outlinedDisabledColor:z("palette-neutral-500"),outlinedDisabledBorder:z("palette-neutral-800"),softColor:z(`palette-${t}-200`),softBg:z(`palette-${t}-800`),softHoverBg:z(`palette-${t}-700`),softActiveColor:z(`palette-${t}-100`),softActiveBg:z(`palette-${t}-600`),softDisabledColor:z("palette-neutral-500"),softDisabledBg:z(`palette-${t}-900`),solidColor:z("palette-common-white"),solidBg:z(`palette-${t}-500`),solidHoverBg:z(`palette-${t}-600`),solidActiveBg:z(`palette-${t}-700`),solidDisabledColor:z("palette-neutral-500"),solidDisabledBg:z(`palette-${t}-800`)}),Z={palette:{mode:"light",primary:(0,r.Z)({},F.primary,$("primary")),neutral:(0,r.Z)({},F.neutral,$("neutral"),{plainColor:z("palette-neutral-700"),outlinedColor:z("palette-neutral-700")}),danger:(0,r.Z)({},F.danger,$("danger")),success:(0,r.Z)({},F.success,$("success")),warning:(0,r.Z)({},F.warning,$("warning")),common:{white:"#FBFCFD",black:"#0E0E10"},text:{primary:z("palette-neutral-800"),secondary:z("palette-neutral-700"),tertiary:z("palette-neutral-600"),icon:z("palette-neutral-500")},background:{body:z("palette-neutral-50"),surface:z("palette-common-white"),popup:z("palette-common-white"),level1:z("palette-neutral-100"),level2:z("palette-neutral-200"),level3:z("palette-neutral-300"),tooltip:z("palette-neutral-500"),backdrop:`rgba(${D("palette-neutral-darkChannel",s(F.neutral[900]))} / 0.25)`},divider:`rgba(${D("palette-neutral-mainChannel",s(F.neutral[500]))} / 0.3)`,focusVisible:z("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},H={palette:{mode:"dark",primary:(0,r.Z)({},F.primary,W("primary")),neutral:(0,r.Z)({},F.neutral,W("neutral")),danger:(0,r.Z)({},F.danger,W("danger")),success:(0,r.Z)({},F.success,W("success")),warning:(0,r.Z)({},F.warning,W("warning")),common:{white:"#FBFCFD",black:"#0E0E10"},text:{primary:z("palette-neutral-100"),secondary:z("palette-neutral-300"),tertiary:z("palette-neutral-400"),icon:z("palette-neutral-400")},background:{body:z("palette-common-black"),surface:z("palette-neutral-900"),popup:z("palette-common-black"),level1:z("palette-neutral-800"),level2:z("palette-neutral-700"),level3:z("palette-neutral-600"),tooltip:z("palette-neutral-600"),backdrop:`rgba(${D("palette-neutral-darkChannel",s(F.neutral[50]))} / 0.25)`},divider:`rgba(${D("palette-neutral-mainChannel",s(F.neutral[500]))} / 0.16)`,focusVisible:z("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},G='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',q=(0,r.Z)({body:`"Inter", ${D(`fontFamily-fallback, ${G}`)}`,display:`"Inter", ${D(`fontFamily-fallback, ${G}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:G},B.fontFamily),V=(0,r.Z)({sm:300,md:500,lg:600,xl:700},B.fontWeight),Y=(0,r.Z)({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem"},B.fontSize),U=(0,r.Z)({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},B.lineHeight),Q=null!=(e=null==(n=B.colorSchemes)||null==(n=n.light)?void 0:n.shadowRing)?e:Z.shadowRing,X=null!=(o=null==(l=B.colorSchemes)||null==(l=l.light)?void 0:l.shadowChannel)?o:Z.shadowChannel,K=null!=(f=null==(d=B.colorSchemes)||null==(d=d.light)?void 0:d.shadowOpacity)?f:Z.shadowOpacity,J={colorSchemes:{light:Z,dark:H},fontSize:Y,fontFamily:q,fontWeight:V,focus:{thickness:"2px",selector:`&.${(0,_.d6)("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${D("focus-thickness",null!=(h=null==(p=B.focus)?void 0:p.thickness)?h:"2px")})`,outline:`${D("focus-thickness",null!=(g=null==(m=B.focus)?void 0:m.thickness)?g:"2px")} solid ${D("palette-focusVisible",F.primary[500])}`}},lineHeight:U,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${D("shadowRing",Q)}, 0px 1px 2px 0px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`,sm:`${D("shadowRing",Q)}, 0px 1px 2px 0px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)}), 0px 2px 4px 0px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`,md:`${D("shadowRing",Q)}, 0px 2px 8px -2px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)}), 0px 6px 12px -2px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`,lg:`${D("shadowRing",Q)}, 0px 2px 8px -2px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)}), 0px 12px 16px -4px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`,xl:`${D("shadowRing",Q)}, 0px 2px 8px -2px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)}), 0px 20px 24px -4px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,tooltip:1500},typography:{h1:{fontFamily:D(`fontFamily-display, ${q.display}`),fontWeight:D(`fontWeight-xl, ${V.xl}`),fontSize:D(`fontSize-xl4, ${Y.xl4}`),lineHeight:D(`lineHeight-xs, ${U.xs}`),letterSpacing:"-0.025em",color:D(`palette-text-primary, ${Z.palette.text.primary}`)},h2:{fontFamily:D(`fontFamily-display, ${q.display}`),fontWeight:D(`fontWeight-xl, ${V.xl}`),fontSize:D(`fontSize-xl3, ${Y.xl3}`),lineHeight:D(`lineHeight-xs, ${U.xs}`),letterSpacing:"-0.025em",color:D(`palette-text-primary, ${Z.palette.text.primary}`)},h3:{fontFamily:D(`fontFamily-display, ${q.display}`),fontWeight:D(`fontWeight-lg, ${V.lg}`),fontSize:D(`fontSize-xl2, ${Y.xl2}`),lineHeight:D(`lineHeight-xs, ${U.xs}`),letterSpacing:"-0.025em",color:D(`palette-text-primary, ${Z.palette.text.primary}`)},h4:{fontFamily:D(`fontFamily-display, ${q.display}`),fontWeight:D(`fontWeight-lg, ${V.lg}`),fontSize:D(`fontSize-xl, ${Y.xl}`),lineHeight:D(`lineHeight-md, ${U.md}`),letterSpacing:"-0.025em",color:D(`palette-text-primary, ${Z.palette.text.primary}`)},"title-lg":{fontFamily:D(`fontFamily-body, ${q.body}`),fontWeight:D(`fontWeight-lg, ${V.lg}`),fontSize:D(`fontSize-lg, ${Y.lg}`),lineHeight:D(`lineHeight-xs, ${U.xs}`),color:D(`palette-text-primary, ${Z.palette.text.primary}`)},"title-md":{fontFamily:D(`fontFamily-body, ${q.body}`),fontWeight:D(`fontWeight-md, ${V.md}`),fontSize:D(`fontSize-md, ${Y.md}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-primary, ${Z.palette.text.primary}`)},"title-sm":{fontFamily:D(`fontFamily-body, ${q.body}`),fontWeight:D(`fontWeight-md, ${V.md}`),fontSize:D(`fontSize-sm, ${Y.sm}`),lineHeight:D(`lineHeight-sm, ${U.sm}`),color:D(`palette-text-primary, ${Z.palette.text.primary}`)},"body-lg":{fontFamily:D(`fontFamily-body, ${q.body}`),fontSize:D(`fontSize-lg, ${Y.lg}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-secondary, ${Z.palette.text.secondary}`)},"body-md":{fontFamily:D(`fontFamily-body, ${q.body}`),fontSize:D(`fontSize-md, ${Y.md}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-secondary, ${Z.palette.text.secondary}`)},"body-sm":{fontFamily:D(`fontFamily-body, ${q.body}`),fontSize:D(`fontSize-sm, ${Y.sm}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-tertiary, ${Z.palette.text.tertiary}`)},"body-xs":{fontFamily:D(`fontFamily-body, ${q.body}`),fontWeight:D(`fontWeight-md, ${V.md}`),fontSize:D(`fontSize-xs, ${Y.xs}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-tertiary, ${Z.palette.text.tertiary}`)}}},tt=B?(0,a.Z)(J,B):J,{colorSchemes:te}=tt,tn=(0,i.Z)(tt,R),tr=(0,r.Z)({colorSchemes:te},tn,{breakpoints:(0,c.Z)(null!=k?k:{}),components:(0,a.Z)({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:t,theme:e})=>{var n;let i=t.instanceFontSize;return(0,r.Z)({margin:"var(--Icon-margin)"},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.vars.fontSize[t.fontSize]})`},!t.htmlColor&&(0,r.Z)({color:`var(--Icon-color, ${tr.vars.palette.text.icon})`},t.color&&"inherit"!==t.color&&"context"!==t.color&&e.vars.palette[t.color]&&{color:`rgba(${null==(n=e.vars.palette[t.color])?void 0:n.mainChannel} / 1)`},"context"===t.color&&{color:e.vars.palette.text.secondary}),i&&"inherit"!==i&&{"--Icon-fontSize":e.vars.fontSize[i]})}}}},j),cssVarPrefix:M,getCssVar:D,spacing:(0,u.Z)(C),colorInversionConfig:{soft:["plain","outlined","soft","solid"],solid:["plain","outlined","soft","solid"]}});Object.entries(tr.colorSchemes).forEach(([t,e])=>{!function(t,e){Object.keys(e).forEach(n=>{let r={main:"500",light:"200",dark:"700"};"dark"===t&&(r.main=400),!e[n].mainChannel&&e[n][r.main]&&(e[n].mainChannel=s(e[n][r.main])),!e[n].lightChannel&&e[n][r.light]&&(e[n].lightChannel=s(e[n][r.light])),!e[n].darkChannel&&e[n][r.dark]&&(e[n].darkChannel=s(e[n][r.dark]))})}(t,e.palette)});let{vars:ti,generateCssVars:ta}=y((0,r.Z)({colorSchemes:te},tn),{prefix:M,shouldSkipGeneratingVar:N});tr.vars=ti,tr.generateCssVars=ta,tr.unstable_sxConfig=(0,r.Z)({},x,null==t?void 0:t.unstable_sxConfig),tr.unstable_sx=function(t){return(0,v.Z)({sx:t,theme:this})},tr.getColorSchemeSelector=t=>"light"===t?"&":`&[data-joy-color-scheme="${t}"], [data-joy-color-scheme="${t}"] &`;let to={getCssVar:D,palette:tr.colorSchemes.light.palette};return tr.variants=(0,a.Z)({plain:A("plain",to),plainHover:A("plainHover",to),plainActive:A("plainActive",to),plainDisabled:A("plainDisabled",to),outlined:A("outlined",to),outlinedHover:A("outlinedHover",to),outlinedActive:A("outlinedActive",to),outlinedDisabled:A("outlinedDisabled",to),soft:A("soft",to),softHover:A("softHover",to),softActive:A("softActive",to),softDisabled:A("softDisabled",to),solid:A("solid",to),solidHover:A("solidHover",to),solidActive:A("solidActive",to),solidDisabled:A("solidDisabled",to)},L),tr.palette=(0,r.Z)({},tr.colorSchemes.light.palette,{colorScheme:"light"}),tr.shouldSkipGeneratingVar=N,tr.colorInversion="function"==typeof I?I:(0,a.Z)({soft:S(tr,!0),solid:E(tr,!0)},I||{},{clone:!1}),tr}();var I=L},73587:function(t,e){"use strict";e.Z="$$joy"},53415:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});var r=n(42096);let i=({theme:t,ownerState:e},n)=>{let i={};return e.sx&&(function e(n){if("function"==typeof n){let r=n(t);e(r)}else Array.isArray(n)?n.forEach(t=>{"boolean"!=typeof t&&e(t)}):"object"==typeof n&&(i=(0,r.Z)({},i,n))}(e.sx),n.forEach(e=>{let n=i[e];if("string"==typeof n||"number"==typeof n){if("borderRadius"===e){if("number"==typeof n)i[e]=`${n}px`;else{var r;i[e]=(null==(r=t.vars)?void 0:r.radius[n])||n}}else -1!==["p","padding","m","margin"].indexOf(e)&&"number"==typeof n?i[e]=t.spacing(n):i[e]=n}else"function"==typeof n?i[e]=n(t):i[e]=void 0})),i}},74936:function(t,e,n){"use strict";var r=n(76311),i=n(15481),a=n(73587);let o=(0,r.ZP)({defaultTheme:i.Z,themeId:a.Z});e.Z=o},47e3:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(42096),i=n(65838),a=n(15481),o=n(73587);function l({props:t,name:e}){return(0,i.Z)({props:t,name:e,defaultTheme:(0,r.Z)({},a.Z,{components:{}}),themeId:o.Z})}},80574:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var r=n(42096),i=n(79760),a=n(44520),o=n(27045),l=n(85519),s=n(11686),c=n(63923);let u=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],f=["component","slots","slotProps"],d=["component"],h=["disableColorInversion"];function p(t,e){let{className:n,elementType:p,ownerState:g,externalForwardedProps:m,getSlotOwnerState:y,internalForwardedProps:v}=e,b=(0,i.Z)(e,u),{component:x,slots:O={[t]:void 0},slotProps:w={[t]:void 0}}=m,_=(0,i.Z)(m,f),M=O[t]||p,k=(0,o.x)(w[t],g),C=(0,l.L)((0,r.Z)({className:n},b,{externalForwardedProps:"root"===t?_:void 0,externalSlotProps:k})),{props:{component:j},internalRef:A}=C,S=(0,i.Z)(C.props,d),E=(0,a.Z)(A,null==k?void 0:k.ref,e.ref),P=y?y(S):{},{disableColorInversion:R=!1}=P,T=(0,i.Z)(P,h),L=(0,r.Z)({},g,T),{getColor:I}=(0,c.VT)(L.variant);if("root"===t){var N;L.color=null!=(N=S.color)?N:g.color}else R||(L.color=I(S.color,L.color));let B="root"===t?j||x:j,D=(0,s.$)(M,(0,r.Z)({},"root"===t&&!x&&!O[t]&&v,"root"!==t&&!O[t]&&v,S,B&&{as:B},{ref:E}),L);return Object.keys(T).forEach(t=>{delete D[t]}),[M,D]}},76311:function(t,e,n){"use strict";n.d(e,{ZP:function(){return y}});var r=n(42096),i=n(79760),a=n(62967),o=n(68178),l=n(51365),s=n(42250);let c=["ownerState"],u=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}let h=(0,l.Z)(),p=t=>t?t.charAt(0).toLowerCase()+t.slice(1):t;function g({defaultTheme:t,theme:e,themeId:n}){return 0===Object.keys(e).length?t:e[n]||e}function m(t,e){let{ownerState:n}=e,a=(0,i.Z)(e,c),o="function"==typeof t?t((0,r.Z)({ownerState:n},a)):t;if(Array.isArray(o))return o.flatMap(t=>m(t,(0,r.Z)({ownerState:n},a)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:t=[]}=o,e=(0,i.Z)(o,u),l=e;return t.forEach(t=>{let e=!0;"function"==typeof t.props?e=t.props((0,r.Z)({ownerState:n},a,n)):Object.keys(t.props).forEach(r=>{(null==n?void 0:n[r])!==t.props[r]&&a[r]!==t.props[r]&&(e=!1)}),e&&(Array.isArray(l)||(l=[l]),l.push("function"==typeof t.style?t.style((0,r.Z)({ownerState:n},a,n)):t.style))}),l}return o}function y(t={}){let{themeId:e,defaultTheme:n=h,rootShouldForwardProp:l=d,slotShouldForwardProp:c=d}=t,u=t=>(0,s.Z)((0,r.Z)({},t,{theme:g((0,r.Z)({},t,{defaultTheme:n,themeId:e}))}));return u.__mui_systemSx=!0,(t,s={})=>{var h;let y;(0,a.internal_processStyles)(t,t=>t.filter(t=>!(null!=t&&t.__mui_systemSx)));let{name:v,slot:b,skipVariantsResolver:x,skipSx:O,overridesResolver:w=(h=p(b))?(t,e)=>e[h]:null}=s,_=(0,i.Z)(s,f),M=void 0!==x?x:b&&"Root"!==b&&"root"!==b||!1,k=O||!1,C=d;"Root"===b||"root"===b?C=l:b?C=c:"string"==typeof t&&t.charCodeAt(0)>96&&(C=void 0);let j=(0,a.default)(t,(0,r.Z)({shouldForwardProp:C,label:y},_)),A=t=>"function"==typeof t&&t.__emotion_real!==t||(0,o.P)(t)?i=>m(t,(0,r.Z)({},i,{theme:g({theme:i.theme,defaultTheme:n,themeId:e})})):t,S=(i,...a)=>{let o=A(i),l=a?a.map(A):[];v&&w&&l.push(t=>{let i=g((0,r.Z)({},t,{defaultTheme:n,themeId:e}));if(!i.components||!i.components[v]||!i.components[v].styleOverrides)return null;let a=i.components[v].styleOverrides,o={};return Object.entries(a).forEach(([e,n])=>{o[e]=m(n,(0,r.Z)({},t,{theme:i}))}),w(t,o)}),v&&!M&&l.push(t=>{var i;let a=g((0,r.Z)({},t,{defaultTheme:n,themeId:e})),o=null==a||null==(i=a.components)||null==(i=i[v])?void 0:i.variants;return m({variants:o},(0,r.Z)({},t,{theme:a}))}),k||l.push(u);let s=l.length-a.length;if(Array.isArray(i)&&s>0){let t=Array(s).fill("");(o=[...i,...t]).raw=[...i.raw,...t]}let c=j(o,...l);return t.muiName&&(c.muiName=t.muiName),c};return j.withConfig&&(S.withConfig=j.withConfig),S}}},96454:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(51365),i=n(38497),a=n(65070),o=function(t=null){let e=i.useContext(a.T);return e&&0!==Object.keys(e).length?e:t};let l=(0,r.Z)();var s=function(t=l){return o(t)}},65838:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(96228),i=n(96454);function a({props:t,name:e,defaultTheme:n,themeId:a}){let o=(0,i.Z)(n);a&&(o=o[a]||o);let l=function(t){let{theme:e,name:n,props:i}=t;return e&&e.components&&e.components[n]&&e.components[n].defaultProps?(0,r.Z)(e.components[n].defaultProps,i):i}({theme:o,name:e,props:t});return l}},30994:function(t,e,n){"use strict";var r=n(98606);e.Z=r.Z},38437:function(t,e,n){"use strict";var r=n(22698);e.Z=r.Z},29543:function(t,e){"use strict";var n={protan:{x:.7465,y:.2535,m:1.273463,yi:-.073894},deutan:{x:1.4,y:-.4,m:.968437,yi:.003331},tritan:{x:.1748,y:0,m:.062921,yi:.292119},custom:{x:.735,y:.265,m:-1.059259,yi:1.026914}},r=function(t){var e={},n=t.R/255,r=t.G/255,i=t.B/255;return n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,e.X=.41242371206635076*n+.3575793401363035*r+.1804662232369621*i,e.Y=.21265606784927693*n+.715157818248362*r+.0721864539171564*i,e.Z=.019331987577444885*n+.11919267420354762*r+.9504491124870351*i,e},i=function(t){var e=t.X+t.Y+t.Z;return 0===e?{x:0,y:0,Y:t.Y}:{x:t.X/e,y:t.Y/e,Y:t.Y}};e.a=function(t,e,a){var o,l,s,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,M,k;return"achroma"===e?(o={R:o=.212656*t.R+.715158*t.G+.072186*t.B,G:o,B:o},a&&(s=(l=1.75)+1,o.R=(l*o.R+t.R)/s,o.G=(l*o.G+t.G)/s,o.B=(l*o.B+t.B)/s),o):(c=n[e],f=((u=i(r(t))).y-c.y)/(u.x-c.x),d=u.y-u.x*f,h=(c.yi-d)/(f-c.m),p=f*h+d,(o={}).X=h*u.Y/p,o.Y=u.Y,o.Z=(1-(h+p))*u.Y/p,_=.312713*u.Y/.329016,M=.358271*u.Y/.329016,y=3.240712470389558*(g=_-o.X)+-0+-.49857440415943116*(m=M-o.Z),v=-.969259258688888*g+0+.041556132211625726*m,b=.05563600315398933*g+-0+1.0570636917433989*m,o.R=3.240712470389558*o.X+-1.5372626602963142*o.Y+-.49857440415943116*o.Z,o.G=-.969259258688888*o.X+1.875996969313966*o.Y+.041556132211625726*o.Z,o.B=.05563600315398933*o.X+-.2039948802843549*o.Y+1.0570636917433989*o.Z,x=((o.R<0?0:1)-o.R)/y,O=((o.G<0?0:1)-o.G)/v,(w=(w=((o.B<0?0:1)-o.B)/b)>1||w<0?0:w)>(k=(x=x>1||x<0?0:x)>(O=O>1||O<0?0:O)?x:O)&&(k=w),o.R+=k*y,o.G+=k*v,o.B+=k*b,o.R=255*(o.R<=0?0:o.R>=1?1:Math.pow(o.R,.45454545454545453)),o.G=255*(o.G<=0?0:o.G>=1?1:Math.pow(o.G,.45454545454545453)),o.B=255*(o.B<=0?0:o.B>=1?1:Math.pow(o.B,.45454545454545453)),a&&(s=(l=1.75)+1,o.R=(l*o.R+t.R)/s,o.G=(l*o.G+t.G)/s,o.B=(l*o.B+t.B)/s),o)}},13106:function(t,e,n){"use strict";var r=n(52539),i=n(29543).a,a={protanomaly:{type:"protan",anomalize:!0},protanopia:{type:"protan"},deuteranomaly:{type:"deutan",anomalize:!0},deuteranopia:{type:"deutan"},tritanomaly:{type:"tritan",anomalize:!0},tritanopia:{type:"tritan"},achromatomaly:{type:"achroma",anomalize:!0},achromatopsia:{type:"achroma"}},o=function(t){return Math.round(255*t)},l=function(t){return function(e,n){var l=r(e);if(!l)return n?{R:0,G:0,B:0}:"#000000";var s=new i({R:o(l.red()||0),G:o(l.green()||0),B:o(l.blue()||0)},a[t].type,a[t].anomalize);return(s.R=s.R||0,s.G=s.G||0,s.B=s.B||0,n)?(delete s.X,delete s.Y,delete s.Z,s):new r.RGB(s.R%256/255,s.G%256/255,s.B%256/255,1).hex()}};for(var s in a)e[s]=l(s)},34744:function(t){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},90723:function(t,e,n){var r=n(34744),i=n(66757),a=Object.hasOwnProperty,o=Object.create(null);for(var l in r)a.call(r,l)&&(o[r[l]]=l);var s=t.exports={to:{},get:{}};function c(t,e,n){return Math.min(Math.max(e,t),n)}function u(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}s.get=function(t){var e,n;switch(t.substring(0,3).toLowerCase()){case"hsl":e=s.get.hsl(t),n="hsl";break;case"hwb":e=s.get.hwb(t),n="hwb";break;default:e=s.get.rgb(t),n="rgb"}return e?{model:n,value:e}:null},s.get.rgb=function(t){if(!t)return null;var e,n,i,o=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(n=0,i=e[2],e=e[1];n<3;n++){var l=2*n;o[n]=parseInt(e.slice(l,l+2),16)}i&&(o[3]=parseInt(i,16)/255)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(n=0,i=(e=e[1])[3];n<3;n++)o[n]=parseInt(e[n]+e[n],16);i&&(o[3]=parseInt(i+i,16)/255)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)o[n]=parseInt(e[n+1],0);e[4]&&(e[5]?o[3]=.01*parseFloat(e[4]):o[3]=parseFloat(e[4]))}else if(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)o[n]=Math.round(2.55*parseFloat(e[n+1]));e[4]&&(e[5]?o[3]=.01*parseFloat(e[4]):o[3]=parseFloat(e[4]))}else if(!(e=t.match(/^(\w+)$/)))return null;else return"transparent"===e[1]?[0,0,0,0]:a.call(r,e[1])?((o=r[e[1]])[3]=1,o):null;for(n=0;n<3;n++)o[n]=c(o[n],0,255);return o[3]=c(o[3],0,1),o},s.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},s.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},s.to.hex=function(){var t=i(arguments);return"#"+u(t[0])+u(t[1])+u(t[2])+(t[3]<1?u(Math.round(255*t[3])):"")},s.to.rgb=function(){var t=i(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},s.to.rgb.percent=function(){var t=i(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+n+"%, "+r+"%)":"rgba("+e+"%, "+n+"%, "+r+"%, "+t[3]+")"},s.to.hsl=function(){var t=i(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},s.to.hwb=function(){var t=i(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},s.to.keyword=function(t){return o[t.slice(0,3)]}},56257:function(t){"use strict";var e=Object.prototype.hasOwnProperty,n="~";function r(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function a(t,e,r,a,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var l=new i(r,a||t,o),s=n?n+e:e;return t._events[s]?t._events[s].fn?t._events[s]=[t._events[s],l]:t._events[s].push(l):(t._events[s]=l,t._eventsCount++),t}function o(t,e){0==--t._eventsCount?t._events=new r:delete t._events[e]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),l.prototype.eventNames=function(){var t,r,i=[];if(0===this._eventsCount)return i;for(r in t=this._events)e.call(t,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},l.prototype.listeners=function(t){var e=n?n+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,o=Array(a);ic+l*o*u||f>=g)p=o;else{if(Math.abs(h)<=-s*u)return o;h*(p-d)>=0&&(p=d),d=o,g=f}return 0}o=o||1,l=l||1e-6,s=s||.1;for(var m=0;m<10;++m){if(a(i.x,1,r.x,o,e),f=i.fx=t(i.x,i.fxprime),h=n(i.fxprime,e),f>c+l*o*u||m&&f>=d)return g(p,o,d);if(Math.abs(h)<=-s*u)break;if(h>=0)return g(o,p,f);d=f,p=o,o*=2}return o}t.bisect=function(t,e,n,r){var i=(r=r||{}).maxIterations||100,a=r.tolerance||1e-10,o=t(e),l=t(n),s=n-e;if(o*l>0)throw"Initial bisect points must have opposite signs";if(0===o)return e;if(0===l)return n;for(var c=0;c=0&&(e=u),Math.abs(s)=g[p-1].fx){var A=!1;if(O.fx>j.fx?(a(w,1+d,x,-d,j),w.fx=t(w),w.fx=1)break;for(m=1;m=r(f.fxprime))break}return l.history&&l.history.push({x:f.x.slice(),fx:f.fx,fxprime:f.fxprime.slice(),alpha:p}),f},t.gradientDescent=function(t,e,n){for(var i=(n=n||{}).maxIterations||100*e.length,o=n.learnRate||.001,l={x:e.slice(),fx:0,fxprime:e.slice()},s=0;s=r(l.fxprime)));++s);return l},t.gradientDescentLineSearch=function(t,e,n){n=n||{};var a,l={x:e.slice(),fx:0,fxprime:e.slice()},s={x:e.slice(),fx:0,fxprime:e.slice()},c=n.maxIterations||100*e.length,u=n.learnRate||1,f=e.slice(),d=n.c1||.001,h=n.c2||.1,p=[];if(n.history){var g=t;t=function(t,e){return p.push(t.slice()),g(t,e)}}l.fx=t(l.x,l.fxprime);for(var m=0;mr(l.fxprime)));++m);return l},t.zeros=e,t.zerosM=function(t,n){return e(t).map(function(){return e(n)})},t.norm2=r,t.weightedSum=a,t.scale=i}(e)},23176:function(t,e,n){"use strict";n.d(e,{Ib:function(){return r},WT:function(){return i}});var r=1e-6,i="undefined"!=typeof Float32Array?Float32Array:Array;Math.hypot||(Math.hypot=function(){for(var t=0,e=arguments.length;e--;)t+=arguments[e]*arguments[e];return Math.sqrt(t)})},9718:function(t,e,n){"use strict";n.d(e,{Ue:function(){return i},al:function(){return o},xO:function(){return a}});var r=n(23176);function i(){var t=new r.WT(9);return r.WT!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function o(t,e,n,i,a,o,l,s,c){var u=new r.WT(9);return u[0]=t,u[1]=e,u[2]=n,u[3]=i,u[4]=a,u[5]=o,u[6]=l,u[7]=s,u[8]=c,u}},44178:function(t,e,n){"use strict";n.r(e),n.d(e,{add:function(){return V},adjoint:function(){return d},clone:function(){return a},copy:function(){return o},create:function(){return i},determinant:function(){return h},equals:function(){return K},exactEquals:function(){return X},frob:function(){return q},fromQuat:function(){return L},fromQuat2:function(){return A},fromRotation:function(){return _},fromRotationTranslation:function(){return j},fromRotationTranslationScale:function(){return R},fromRotationTranslationScaleOrigin:function(){return T},fromScaling:function(){return w},fromTranslation:function(){return O},fromValues:function(){return l},fromXRotation:function(){return M},fromYRotation:function(){return k},fromZRotation:function(){return C},frustum:function(){return I},getRotation:function(){return P},getScaling:function(){return E},getTranslation:function(){return S},identity:function(){return c},invert:function(){return f},lookAt:function(){return Z},mul:function(){return J},multiply:function(){return p},multiplyScalar:function(){return U},multiplyScalarAndAdd:function(){return Q},ortho:function(){return $},orthoNO:function(){return z},orthoZO:function(){return W},perspective:function(){return B},perspectiveFromFieldOfView:function(){return F},perspectiveNO:function(){return N},perspectiveZO:function(){return D},rotate:function(){return y},rotateX:function(){return v},rotateY:function(){return b},rotateZ:function(){return x},scale:function(){return m},set:function(){return s},str:function(){return G},sub:function(){return tt},subtract:function(){return Y},targetTo:function(){return H},translate:function(){return g},transpose:function(){return u}});var r=n(23176);function i(){var t=new r.WT(16);return r.WT!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t}function a(t){var e=new r.WT(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function l(t,e,n,i,a,o,l,s,c,u,f,d,h,p,g,m){var y=new r.WT(16);return y[0]=t,y[1]=e,y[2]=n,y[3]=i,y[4]=a,y[5]=o,y[6]=l,y[7]=s,y[8]=c,y[9]=u,y[10]=f,y[11]=d,y[12]=h,y[13]=p,y[14]=g,y[15]=m,y}function s(t,e,n,r,i,a,o,l,s,c,u,f,d,h,p,g,m){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=l,t[7]=s,t[8]=c,t[9]=u,t[10]=f,t[11]=d,t[12]=h,t[13]=p,t[14]=g,t[15]=m,t}function c(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function u(t,e){if(t===e){var n=e[1],r=e[2],i=e[3],a=e[6],o=e[7],l=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=a,t[11]=e[14],t[12]=i,t[13]=o,t[14]=l}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function f(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],l=e[5],s=e[6],c=e[7],u=e[8],f=e[9],d=e[10],h=e[11],p=e[12],g=e[13],m=e[14],y=e[15],v=n*l-r*o,b=n*s-i*o,x=n*c-a*o,O=r*s-i*l,w=r*c-a*l,_=i*c-a*s,M=u*g-f*p,k=u*m-d*p,C=u*y-h*p,j=f*m-d*g,A=f*y-h*g,S=d*y-h*m,E=v*S-b*A+x*j+O*C-w*k+_*M;return E?(E=1/E,t[0]=(l*S-s*A+c*j)*E,t[1]=(i*A-r*S-a*j)*E,t[2]=(g*_-m*w+y*O)*E,t[3]=(d*w-f*_-h*O)*E,t[4]=(s*C-o*S-c*k)*E,t[5]=(n*S-i*C+a*k)*E,t[6]=(m*x-p*_-y*b)*E,t[7]=(u*_-d*x+h*b)*E,t[8]=(o*A-l*C+c*M)*E,t[9]=(r*C-n*A-a*M)*E,t[10]=(p*w-g*x+y*v)*E,t[11]=(f*x-u*w-h*v)*E,t[12]=(l*k-o*j-s*M)*E,t[13]=(n*j-r*k+i*M)*E,t[14]=(g*b-p*O-m*v)*E,t[15]=(u*O-f*b+d*v)*E,t):null}function d(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],l=e[5],s=e[6],c=e[7],u=e[8],f=e[9],d=e[10],h=e[11],p=e[12],g=e[13],m=e[14],y=e[15];return t[0]=l*(d*y-h*m)-f*(s*y-c*m)+g*(s*h-c*d),t[1]=-(r*(d*y-h*m)-f*(i*y-a*m)+g*(i*h-a*d)),t[2]=r*(s*y-c*m)-l*(i*y-a*m)+g*(i*c-a*s),t[3]=-(r*(s*h-c*d)-l*(i*h-a*d)+f*(i*c-a*s)),t[4]=-(o*(d*y-h*m)-u*(s*y-c*m)+p*(s*h-c*d)),t[5]=n*(d*y-h*m)-u*(i*y-a*m)+p*(i*h-a*d),t[6]=-(n*(s*y-c*m)-o*(i*y-a*m)+p*(i*c-a*s)),t[7]=n*(s*h-c*d)-o*(i*h-a*d)+u*(i*c-a*s),t[8]=o*(f*y-h*g)-u*(l*y-c*g)+p*(l*h-c*f),t[9]=-(n*(f*y-h*g)-u*(r*y-a*g)+p*(r*h-a*f)),t[10]=n*(l*y-c*g)-o*(r*y-a*g)+p*(r*c-a*l),t[11]=-(n*(l*h-c*f)-o*(r*h-a*f)+u*(r*c-a*l)),t[12]=-(o*(f*m-d*g)-u*(l*m-s*g)+p*(l*d-s*f)),t[13]=n*(f*m-d*g)-u*(r*m-i*g)+p*(r*d-i*f),t[14]=-(n*(l*m-s*g)-o*(r*m-i*g)+p*(r*s-i*l)),t[15]=n*(l*d-s*f)-o*(r*d-i*f)+u*(r*s-i*l),t}function h(t){var e=t[0],n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],l=t[6],s=t[7],c=t[8],u=t[9],f=t[10],d=t[11],h=t[12],p=t[13],g=t[14],m=t[15];return(e*o-n*a)*(f*m-d*g)-(e*l-r*a)*(u*m-d*p)+(e*s-i*a)*(u*g-f*p)+(n*l-r*o)*(c*m-d*h)-(n*s-i*o)*(c*g-f*h)+(r*s-i*l)*(c*p-u*h)}function p(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],l=e[4],s=e[5],c=e[6],u=e[7],f=e[8],d=e[9],h=e[10],p=e[11],g=e[12],m=e[13],y=e[14],v=e[15],b=n[0],x=n[1],O=n[2],w=n[3];return t[0]=b*r+x*l+O*f+w*g,t[1]=b*i+x*s+O*d+w*m,t[2]=b*a+x*c+O*h+w*y,t[3]=b*o+x*u+O*p+w*v,b=n[4],x=n[5],O=n[6],w=n[7],t[4]=b*r+x*l+O*f+w*g,t[5]=b*i+x*s+O*d+w*m,t[6]=b*a+x*c+O*h+w*y,t[7]=b*o+x*u+O*p+w*v,b=n[8],x=n[9],O=n[10],w=n[11],t[8]=b*r+x*l+O*f+w*g,t[9]=b*i+x*s+O*d+w*m,t[10]=b*a+x*c+O*h+w*y,t[11]=b*o+x*u+O*p+w*v,b=n[12],x=n[13],O=n[14],w=n[15],t[12]=b*r+x*l+O*f+w*g,t[13]=b*i+x*s+O*d+w*m,t[14]=b*a+x*c+O*h+w*y,t[15]=b*o+x*u+O*p+w*v,t}function g(t,e,n){var r,i,a,o,l,s,c,u,f,d,h,p,g=n[0],m=n[1],y=n[2];return e===t?(t[12]=e[0]*g+e[4]*m+e[8]*y+e[12],t[13]=e[1]*g+e[5]*m+e[9]*y+e[13],t[14]=e[2]*g+e[6]*m+e[10]*y+e[14],t[15]=e[3]*g+e[7]*m+e[11]*y+e[15]):(r=e[0],i=e[1],a=e[2],o=e[3],l=e[4],s=e[5],c=e[6],u=e[7],f=e[8],d=e[9],h=e[10],p=e[11],t[0]=r,t[1]=i,t[2]=a,t[3]=o,t[4]=l,t[5]=s,t[6]=c,t[7]=u,t[8]=f,t[9]=d,t[10]=h,t[11]=p,t[12]=r*g+l*m+f*y+e[12],t[13]=i*g+s*m+d*y+e[13],t[14]=a*g+c*m+h*y+e[14],t[15]=o*g+u*m+p*y+e[15]),t}function m(t,e,n){var r=n[0],i=n[1],a=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*a,t[9]=e[9]*a,t[10]=e[10]*a,t[11]=e[11]*a,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function y(t,e,n,i){var a,o,l,s,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,M,k,C,j,A,S=i[0],E=i[1],P=i[2],R=Math.hypot(S,E,P);return R0?(n[0]=(s*l+f*i+c*o-u*a)*2/d,n[1]=(c*l+f*a+u*i-s*o)*2/d,n[2]=(u*l+f*o+s*a-c*i)*2/d):(n[0]=(s*l+f*i+c*o-u*a)*2,n[1]=(c*l+f*a+u*i-s*o)*2,n[2]=(u*l+f*o+s*a-c*i)*2),j(t,e,n),t}function S(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function E(t,e){var n=e[0],r=e[1],i=e[2],a=e[4],o=e[5],l=e[6],s=e[8],c=e[9],u=e[10];return t[0]=Math.hypot(n,r,i),t[1]=Math.hypot(a,o,l),t[2]=Math.hypot(s,c,u),t}function P(t,e){var n=new r.WT(3);E(n,e);var i=1/n[0],a=1/n[1],o=1/n[2],l=e[0]*i,s=e[1]*a,c=e[2]*o,u=e[4]*i,f=e[5]*a,d=e[6]*o,h=e[8]*i,p=e[9]*a,g=e[10]*o,m=l+f+g,y=0;return m>0?(y=2*Math.sqrt(m+1),t[3]=.25*y,t[0]=(d-p)/y,t[1]=(h-c)/y,t[2]=(s-u)/y):l>f&&l>g?(y=2*Math.sqrt(1+l-f-g),t[3]=(d-p)/y,t[0]=.25*y,t[1]=(s+u)/y,t[2]=(h+c)/y):f>g?(y=2*Math.sqrt(1+f-l-g),t[3]=(h-c)/y,t[0]=(s+u)/y,t[1]=.25*y,t[2]=(d+p)/y):(y=2*Math.sqrt(1+g-l-f),t[3]=(s-u)/y,t[0]=(h+c)/y,t[1]=(d+p)/y,t[2]=.25*y),t}function R(t,e,n,r){var i=e[0],a=e[1],o=e[2],l=e[3],s=i+i,c=a+a,u=o+o,f=i*s,d=i*c,h=i*u,p=a*c,g=a*u,m=o*u,y=l*s,v=l*c,b=l*u,x=r[0],O=r[1],w=r[2];return t[0]=(1-(p+m))*x,t[1]=(d+b)*x,t[2]=(h-v)*x,t[3]=0,t[4]=(d-b)*O,t[5]=(1-(f+m))*O,t[6]=(g+y)*O,t[7]=0,t[8]=(h+v)*w,t[9]=(g-y)*w,t[10]=(1-(f+p))*w,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function T(t,e,n,r,i){var a=e[0],o=e[1],l=e[2],s=e[3],c=a+a,u=o+o,f=l+l,d=a*c,h=a*u,p=a*f,g=o*u,m=o*f,y=l*f,v=s*c,b=s*u,x=s*f,O=r[0],w=r[1],_=r[2],M=i[0],k=i[1],C=i[2],j=(1-(g+y))*O,A=(h+x)*O,S=(p-b)*O,E=(h-x)*w,P=(1-(d+y))*w,R=(m+v)*w,T=(p+b)*_,L=(m-v)*_,I=(1-(d+g))*_;return t[0]=j,t[1]=A,t[2]=S,t[3]=0,t[4]=E,t[5]=P,t[6]=R,t[7]=0,t[8]=T,t[9]=L,t[10]=I,t[11]=0,t[12]=n[0]+M-(j*M+E*k+T*C),t[13]=n[1]+k-(A*M+P*k+L*C),t[14]=n[2]+C-(S*M+R*k+I*C),t[15]=1,t}function L(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n+n,l=r+r,s=i+i,c=n*o,u=r*o,f=r*l,d=i*o,h=i*l,p=i*s,g=a*o,m=a*l,y=a*s;return t[0]=1-f-p,t[1]=u+y,t[2]=d-m,t[3]=0,t[4]=u-y,t[5]=1-c-p,t[6]=h+g,t[7]=0,t[8]=d+m,t[9]=h-g,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function I(t,e,n,r,i,a,o){var l=1/(n-e),s=1/(i-r),c=1/(a-o);return t[0]=2*a*l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*a*s,t[6]=0,t[7]=0,t[8]=(n+e)*l,t[9]=(i+r)*s,t[10]=(o+a)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*a*2*c,t[15]=0,t}function N(t,e,n,r,i){var a,o=1/Math.tan(e/2);return t[0]=o/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(a=1/(r-i),t[10]=(i+r)*a,t[14]=2*i*r*a):(t[10]=-1,t[14]=-2*r),t}var B=N;function D(t,e,n,r,i){var a,o=1/Math.tan(e/2);return t[0]=o/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(a=1/(r-i),t[10]=i*a,t[14]=i*r*a):(t[10]=-1,t[14]=-r),t}function F(t,e,n,r){var i=Math.tan(e.upDegrees*Math.PI/180),a=Math.tan(e.downDegrees*Math.PI/180),o=Math.tan(e.leftDegrees*Math.PI/180),l=Math.tan(e.rightDegrees*Math.PI/180),s=2/(o+l),c=2/(i+a);return t[0]=s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-((o-l)*s*.5),t[9]=(i-a)*c*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t}function z(t,e,n,r,i,a,o){var l=1/(e-n),s=1/(r-i),c=1/(a-o);return t[0]=-2*l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*s,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+n)*l,t[13]=(i+r)*s,t[14]=(o+a)*c,t[15]=1,t}var $=z;function W(t,e,n,r,i,a,o){var l=1/(e-n),s=1/(r-i),c=1/(a-o);return t[0]=-2*l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*s,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=c,t[11]=0,t[12]=(e+n)*l,t[13]=(i+r)*s,t[14]=a*c,t[15]=1,t}function Z(t,e,n,i){var a,o,l,s,u,f,d,h,p,g,m=e[0],y=e[1],v=e[2],b=i[0],x=i[1],O=i[2],w=n[0],_=n[1],M=n[2];return Math.abs(m-w)0&&(u*=h=1/Math.sqrt(h),f*=h,d*=h);var p=s*d-c*f,g=c*u-l*d,m=l*f-s*u;return(h=p*p+g*g+m*m)>0&&(p*=h=1/Math.sqrt(h),g*=h,m*=h),t[0]=p,t[1]=g,t[2]=m,t[3]=0,t[4]=f*m-d*g,t[5]=d*p-u*m,t[6]=u*g-f*p,t[7]=0,t[8]=u,t[9]=f,t[10]=d,t[11]=0,t[12]=i,t[13]=a,t[14]=o,t[15]=1,t}function G(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"}function q(t){return Math.hypot(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function V(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t}function Y(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}function U(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t}function Q(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t}function X(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function K(t,e){var n=t[0],i=t[1],a=t[2],o=t[3],l=t[4],s=t[5],c=t[6],u=t[7],f=t[8],d=t[9],h=t[10],p=t[11],g=t[12],m=t[13],y=t[14],v=t[15],b=e[0],x=e[1],O=e[2],w=e[3],_=e[4],M=e[5],k=e[6],C=e[7],j=e[8],A=e[9],S=e[10],E=e[11],P=e[12],R=e[13],T=e[14],L=e[15];return Math.abs(n-b)<=r.Ib*Math.max(1,Math.abs(n),Math.abs(b))&&Math.abs(i-x)<=r.Ib*Math.max(1,Math.abs(i),Math.abs(x))&&Math.abs(a-O)<=r.Ib*Math.max(1,Math.abs(a),Math.abs(O))&&Math.abs(o-w)<=r.Ib*Math.max(1,Math.abs(o),Math.abs(w))&&Math.abs(l-_)<=r.Ib*Math.max(1,Math.abs(l),Math.abs(_))&&Math.abs(s-M)<=r.Ib*Math.max(1,Math.abs(s),Math.abs(M))&&Math.abs(c-k)<=r.Ib*Math.max(1,Math.abs(c),Math.abs(k))&&Math.abs(u-C)<=r.Ib*Math.max(1,Math.abs(u),Math.abs(C))&&Math.abs(f-j)<=r.Ib*Math.max(1,Math.abs(f),Math.abs(j))&&Math.abs(d-A)<=r.Ib*Math.max(1,Math.abs(d),Math.abs(A))&&Math.abs(h-S)<=r.Ib*Math.max(1,Math.abs(h),Math.abs(S))&&Math.abs(p-E)<=r.Ib*Math.max(1,Math.abs(p),Math.abs(E))&&Math.abs(g-P)<=r.Ib*Math.max(1,Math.abs(g),Math.abs(P))&&Math.abs(m-R)<=r.Ib*Math.max(1,Math.abs(m),Math.abs(R))&&Math.abs(y-T)<=r.Ib*Math.max(1,Math.abs(y),Math.abs(T))&&Math.abs(v-L)<=r.Ib*Math.max(1,Math.abs(v),Math.abs(L))}var J=p,tt=Y},17375:function(t,e,n){"use strict";n.d(e,{Fv:function(){return g},JG:function(){return h},Jp:function(){return c},Su:function(){return f},U_:function(){return u},Ue:function(){return l},al:function(){return d},dC:function(){return p},yY:function(){return s}});var r=n(23176),i=n(9718),a=n(67495),o=n(71977);function l(){var t=new r.WT(4);return r.WT!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t[3]=1,t}function s(t,e,n){var r=Math.sin(n*=.5);return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=Math.cos(n),t}function c(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],l=n[0],s=n[1],c=n[2],u=n[3];return t[0]=r*u+o*l+i*c-a*s,t[1]=i*u+o*s+a*l-r*c,t[2]=a*u+o*c+r*s-i*l,t[3]=o*u-r*l-i*s-a*c,t}function u(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a,l=o?1/o:0;return t[0]=-n*l,t[1]=-r*l,t[2]=-i*l,t[3]=a*l,t}function f(t,e,n,r){var i=.5*Math.PI/180,a=Math.sin(e*=i),o=Math.cos(e),l=Math.sin(n*=i),s=Math.cos(n),c=Math.sin(r*=i),u=Math.cos(r);return t[0]=a*s*u-o*l*c,t[1]=o*l*u+a*s*c,t[2]=o*s*c-a*l*u,t[3]=o*s*u+a*l*c,t}o.d9;var d=o.al,h=o.JG;o.t8,o.IH;var p=c;o.bA,o.AK,o.t7,o.kE,o.we;var g=o.Fv;o.I6,o.fS,a.Ue(),a.al(1,0,0),a.al(0,1,0),l(),l(),i.Ue()},49472:function(t,e,n){"use strict";n.d(e,{AK:function(){return s},Fv:function(){return l},I6:function(){return c},JG:function(){return o},al:function(){return a}});var r,i=n(23176);function a(t,e){var n=new i.WT(2);return n[0]=t,n[1]=e,n}function o(t,e){return t[0]=e[0],t[1]=e[1],t}function l(t,e){var n=e[0],r=e[1],i=n*n+r*r;return i>0&&(i=1/Math.sqrt(i)),t[0]=e[0]*i,t[1]=e[1]*i,t}function s(t,e){return t[0]*e[0]+t[1]*e[1]}function c(t,e){return t[0]===e[0]&&t[1]===e[1]}r=new i.WT(2),i.WT!=Float32Array&&(r[0]=0,r[1]=0)},67495:function(t,e,n){"use strict";n.d(e,{$X:function(){return f},AK:function(){return g},Fv:function(){return p},IH:function(){return u},JG:function(){return s},Jp:function(){return d},TK:function(){return w},Ue:function(){return i},VC:function(){return x},Zh:function(){return _},al:function(){return l},bA:function(){return h},d9:function(){return a},fF:function(){return v},fS:function(){return O},kC:function(){return m},kE:function(){return o},kK:function(){return b},t7:function(){return y},t8:function(){return c}});var r=n(23176);function i(){var t=new r.WT(3);return r.WT!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function a(t){var e=new r.WT(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function o(t){return Math.hypot(t[0],t[1],t[2])}function l(t,e,n){var i=new r.WT(3);return i[0]=t,i[1]=e,i[2]=n,i}function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function c(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function f(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function d(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function h(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function p(t,e){var n=e[0],r=e[1],i=e[2],a=n*n+r*r+i*i;return a>0&&(a=1/Math.sqrt(a)),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a,t}function g(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function m(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[0],l=n[1],s=n[2];return t[0]=i*s-a*l,t[1]=a*o-r*s,t[2]=r*l-i*o,t}function y(t,e,n,r){var i=e[0],a=e[1],o=e[2];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t}function v(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[3]*r+n[7]*i+n[11]*a+n[15];return o=o||1,t[0]=(n[0]*r+n[4]*i+n[8]*a+n[12])/o,t[1]=(n[1]*r+n[5]*i+n[9]*a+n[13])/o,t[2]=(n[2]*r+n[6]*i+n[10]*a+n[14])/o,t}function b(t,e,n){var r=e[0],i=e[1],a=e[2];return t[0]=r*n[0]+i*n[3]+a*n[6],t[1]=r*n[1]+i*n[4]+a*n[7],t[2]=r*n[2]+i*n[5]+a*n[8],t}function x(t,e,n){var r=n[0],i=n[1],a=n[2],o=n[3],l=e[0],s=e[1],c=e[2],u=i*c-a*s,f=a*l-r*c,d=r*s-i*l,h=i*d-a*f,p=a*u-r*d,g=r*f-i*u,m=2*o;return u*=m,f*=m,d*=m,h*=2,p*=2,g*=2,t[0]=l+u+h,t[1]=s+f+p,t[2]=c+d+g,t}function O(t,e){var n=t[0],i=t[1],a=t[2],o=e[0],l=e[1],s=e[2];return Math.abs(n-o)<=r.Ib*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-l)<=r.Ib*Math.max(1,Math.abs(i),Math.abs(l))&&Math.abs(a-s)<=r.Ib*Math.max(1,Math.abs(a),Math.abs(s))}var w=function(t,e){return Math.hypot(e[0]-t[0],e[1]-t[1],e[2]-t[2])},_=o;i()},71977:function(t,e,n){"use strict";n.d(e,{AK:function(){return p},Fv:function(){return h},I6:function(){return y},IH:function(){return c},JG:function(){return l},Ue:function(){return i},al:function(){return o},bA:function(){return u},d9:function(){return a},fF:function(){return m},fS:function(){return v},kE:function(){return f},t7:function(){return g},t8:function(){return s},we:function(){return d}});var r=n(23176);function i(){var t=new r.WT(4);return r.WT!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0),t}function a(t){var e=new r.WT(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function o(t,e,n,i){var a=new r.WT(4);return a[0]=t,a[1]=e,a[2]=n,a[3]=i,a}function l(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function s(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function c(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t}function u(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t}function f(t){return Math.hypot(t[0],t[1],t[2],t[3])}function d(t){var e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i}function h(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a;return o>0&&(o=1/Math.sqrt(o)),t[0]=n*o,t[1]=r*o,t[2]=i*o,t[3]=a*o,t}function p(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function g(t,e,n,r){var i=e[0],a=e[1],o=e[2],l=e[3];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t[3]=l+r*(n[3]-l),t}function m(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*a+n[12]*o,t[1]=n[1]*r+n[5]*i+n[9]*a+n[13]*o,t[2]=n[2]*r+n[6]*i+n[10]*a+n[14]*o,t[3]=n[3]*r+n[7]*i+n[11]*a+n[15]*o,t}function y(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function v(t,e){var n=t[0],i=t[1],a=t[2],o=t[3],l=e[0],s=e[1],c=e[2],u=e[3];return Math.abs(n-l)<=r.Ib*Math.max(1,Math.abs(n),Math.abs(l))&&Math.abs(i-s)<=r.Ib*Math.max(1,Math.abs(i),Math.abs(s))&&Math.abs(a-c)<=r.Ib*Math.max(1,Math.abs(a),Math.abs(c))&&Math.abs(o-u)<=r.Ib*Math.max(1,Math.abs(o),Math.abs(u))}i()},93718:function(t){t.exports=function(t){return!!t&&"string"!=typeof t&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},48495:function(t,e,n){"use strict";let r,i,a,o;n.d(e,{k:function(){return Cm}});var l,s={};n.r(s),n.d(s,{geoAlbers:function(){return bl},geoAlbersUsa:function(){return bs},geoAzimuthalEqualArea:function(){return bd},geoAzimuthalEqualAreaRaw:function(){return bf},geoAzimuthalEquidistant:function(){return bp},geoAzimuthalEquidistantRaw:function(){return bh},geoConicConformal:function(){return bx},geoConicConformalRaw:function(){return bb},geoConicEqualArea:function(){return bo},geoConicEqualAreaRaw:function(){return ba},geoConicEquidistant:function(){return bM},geoConicEquidistantRaw:function(){return b_},geoEqualEarth:function(){return bj},geoEqualEarthRaw:function(){return bC},geoEquirectangular:function(){return bw},geoEquirectangularRaw:function(){return bO},geoGnomonic:function(){return bS},geoGnomonicRaw:function(){return bA},geoIdentity:function(){return bE},geoMercator:function(){return bm},geoMercatorRaw:function(){return bg},geoNaturalEarth1:function(){return bR},geoNaturalEarth1Raw:function(){return bP},geoOrthographic:function(){return bL},geoOrthographicRaw:function(){return bT},geoProjection:function(){return bn},geoProjectionMutator:function(){return br},geoStereographic:function(){return bN},geoStereographicRaw:function(){return bI},geoTransverseMercator:function(){return bD},geoTransverseMercatorRaw:function(){return bB}});var c={};n.r(c),n.d(c,{frequency:function(){return x7},id:function(){return Ot},name:function(){return Oe},weight:function(){return x9}});var u={};n.r(u),n.d(u,{area:function(){return w0},bottom:function(){return w9},bottomLeft:function(){return w9},bottomRight:function(){return w9},inside:function(){return w9},left:function(){return w9},outside:function(){return _n},right:function(){return w9},spider:function(){return _l},surround:function(){return _c},top:function(){return w9},topLeft:function(){return w9},topRight:function(){return w9}});var f={};n.r(f),n.d(f,{interpolateBlues:function(){return Mg},interpolateBrBG:function(){return _B},interpolateBuGn:function(){return _1},interpolateBuPu:function(){return _5},interpolateCividis:function(){return MC},interpolateCool:function(){return MF},interpolateCubehelixDefault:function(){return MB},interpolateGnBu:function(){return _4},interpolateGreens:function(){return My},interpolateGreys:function(){return Mb},interpolateInferno:function(){return MQ},interpolateMagma:function(){return MU},interpolateOrRd:function(){return _8},interpolateOranges:function(){return Mk},interpolatePRGn:function(){return _F},interpolatePiYG:function(){return _$},interpolatePlasma:function(){return MX},interpolatePuBu:function(){return Me},interpolatePuBuGn:function(){return _7},interpolatePuOr:function(){return _Z},interpolatePuRd:function(){return Mr},interpolatePurples:function(){return MO},interpolateRainbow:function(){return M$},interpolateRdBu:function(){return _G},interpolateRdGy:function(){return _V},interpolateRdPu:function(){return Ma},interpolateRdYlBu:function(){return _U},interpolateRdYlGn:function(){return _X},interpolateReds:function(){return M_},interpolateSinebow:function(){return MG},interpolateSpectral:function(){return _J},interpolateTurbo:function(){return Mq},interpolateViridis:function(){return MY},interpolateWarm:function(){return MD},interpolateYlGn:function(){return Mc},interpolateYlGnBu:function(){return Ml},interpolateYlOrBr:function(){return Mf},interpolateYlOrRd:function(){return Mh},schemeAccent:function(){return _M},schemeBlues:function(){return Mp},schemeBrBG:function(){return _N},schemeBuGn:function(){return _0},schemeBuPu:function(){return _2},schemeCategory10:function(){return __},schemeDark2:function(){return _k},schemeGnBu:function(){return _3},schemeGreens:function(){return Mm},schemeGreys:function(){return Mv},schemeObservable10:function(){return _C},schemeOrRd:function(){return _6},schemeOranges:function(){return MM},schemePRGn:function(){return _D},schemePaired:function(){return _j},schemePastel1:function(){return _A},schemePastel2:function(){return _S},schemePiYG:function(){return _z},schemePuBu:function(){return Mt},schemePuBuGn:function(){return _9},schemePuOr:function(){return _W},schemePuRd:function(){return Mn},schemePurples:function(){return Mx},schemeRdBu:function(){return _H},schemeRdGy:function(){return _q},schemeRdPu:function(){return Mi},schemeRdYlBu:function(){return _Y},schemeRdYlGn:function(){return _Q},schemeReds:function(){return Mw},schemeSet1:function(){return _E},schemeSet2:function(){return _P},schemeSet3:function(){return _R},schemeSpectral:function(){return _K},schemeTableau10:function(){return _T},schemeYlGn:function(){return Ms},schemeYlGnBu:function(){return Mo},schemeYlOrBr:function(){return Mu},schemeYlOrRd:function(){return Md}});var d=n(38497);let h=()=>[["cartesian"]];h.props={};let p=function(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),n);return Object.assign(Object.assign({},r),(t=r.startAngle,e=r.endAngle,t%=2*Math.PI,e%=2*Math.PI,t<0&&(t=2*Math.PI+t),e<0&&(e=2*Math.PI+e),t>=e&&(e+=2*Math.PI),{startAngle:t,endAngle:e}))},g=t=>{let{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=p(t);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",e,n,r,i]]};g.props={};let m=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];m.props={transform:!0};let y=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),t)},v=t=>{let{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=y(t);return[...m(),...g({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};v.props={};let b=()=>[["parallel",0,1,0,1]];b.props={};let x=t=>{let{focusX:e=0,focusY:n=0,distortionX:r=2,distortionY:i=2,visual:a=!1}=t;return[["fisheye",e,n,r,i,a]]};x.props={transform:!0};let O=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),t)},w=t=>{let{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=O(t);return[["transpose"],["translate",.5,.5],["reflect"],["translate",-.5,-.5],...g({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};w.props={};let _=t=>{let{startAngle:e=-Math.PI/2,endAngle:n=3*Math.PI/2,innerRadius:r=0,outerRadius:i=1}=t;return[...b(),...g({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};_.props={};let M=t=>{let{value:e}=t;return t=>t.map(()=>e)};M.props={};let k=t=>{let{value:e}=t;return t=>t.map(t=>t[e])};k.props={};let C=t=>{let{value:e}=t;return t=>t.map(e)};C.props={};let j=t=>{let{value:e}=t;return()=>e};j.props={};var A=n(23641),S=function(t){return"object"==typeof t&&null!==t},E=n(3392),P=function(t){if(!S(t)||!(0,E.Z)(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},R=function(t){for(var e=[],n=1;n1?e-1:0),r=1;r(t,e)=>{let{encode:n}=e,{y1:r}=n;return void 0!==r?[t,e]:[t,R({},e,{encode:{y1:L(N(t,0))}})]};z.props={};let $=()=>(t,e)=>{let{encode:n}=e,{x:r}=n;return void 0!==r?[t,e]:[t,R({},e,{encode:{x:L(N(t,0))},scale:{x:{guide:null}}})]};function W(t){return function(){return t}}$.props={};let Z=Math.abs,H=Math.atan2,G=Math.cos,q=Math.max,V=Math.min,Y=Math.sin,U=Math.sqrt,Q=Math.PI,X=Q/2,K=2*Q;function J(t){return t>=1?X:t<=-1?-X:Math.asin(t)}let tt=Math.PI,te=2*tt,tn=te-1e-6;function tr(t){this._+=t[0];for(let e=1,n=t.length;e=0))throw Error(`invalid digits: ${t}`);if(e>15)return tr;let n=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e1e-6){if(Math.abs(u*l-s*c)>1e-6&&i){let d=n-a,h=r-o,p=l*l+s*s,g=Math.sqrt(p),m=Math.sqrt(f),y=i*Math.tan((tt-Math.acos((p+f-(d*d+h*h))/(2*g*m)))/2),v=y/m,b=y/g;Math.abs(v-1)>1e-6&&this._append`L${t+v*c},${e+v*u}`,this._append`A${i},${i},0,0,${+(u*d>c*h)},${this._x1=t+b*l},${this._y1=e+b*s}`}else this._append`L${this._x1=t},${this._y1=e}`}}arc(t,e,n,r,i,a){if(t=+t,e=+e,a=!!a,(n=+n)<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),l=n*Math.sin(r),s=t+o,c=e+l,u=1^a,f=a?r-i:i-r;null===this._x1?this._append`M${s},${c}`:(Math.abs(this._x1-s)>1e-6||Math.abs(this._y1-c)>1e-6)&&this._append`L${s},${c}`,n&&(f<0&&(f=f%te+te),f>tn?this._append`A${n},${n},0,1,${u},${t-o},${e-l}A${n},${n},0,1,${u},${this._x1=s},${this._y1=c}`:f>1e-6&&this._append`A${n},${n},0,${+(f>=tt)},${u},${this._x1=t+n*Math.cos(i)},${this._y1=e+n*Math.sin(i)}`)}rect(t,e,n,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function ta(){return new ti}function to(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{let t=Math.floor(n);if(!(t>=0))throw RangeError(`invalid digits: ${n}`);e=t}return t},()=>new ti(e)}function tl(t){return t.innerRadius}function ts(t){return t.outerRadius}function tc(t){return t.startAngle}function tu(t){return t.endAngle}function tf(t){return t&&t.padAngle}function td(t,e,n,r,i,a,o){var l=t-n,s=e-r,c=(o?a:-a)/U(l*l+s*s),u=c*s,f=-c*l,d=t+u,h=e+f,p=n+u,g=r+f,m=(d+p)/2,y=(h+g)/2,v=p-d,b=g-h,x=v*v+b*b,O=i-a,w=d*g-p*h,_=(b<0?-1:1)*U(q(0,O*O*x-w*w)),M=(w*b-v*_)/x,k=(-w*v-b*_)/x,C=(w*b+v*_)/x,j=(-w*v+b*_)/x,A=M-m,S=k-y,E=C-m,P=j-y;return A*A+S*S>E*E+P*P&&(M=C,k=j),{cx:M,cy:k,x01:-u,y01:-f,x11:M*(i/O-1),y11:k*(i/O-1)}}function th(){var t=tl,e=ts,n=W(0),r=null,i=tc,a=tu,o=tf,l=null,s=to(c);function c(){var c,u,f=+t.apply(this,arguments),d=+e.apply(this,arguments),h=i.apply(this,arguments)-X,p=a.apply(this,arguments)-X,g=Z(p-h),m=p>h;if(l||(l=c=s()),d1e-12){if(g>K-1e-12)l.moveTo(d*G(h),d*Y(h)),l.arc(0,0,d,h,p,!m),f>1e-12&&(l.moveTo(f*G(p),f*Y(p)),l.arc(0,0,f,p,h,m));else{var y,v,b=h,x=p,O=h,w=p,_=g,M=g,k=o.apply(this,arguments)/2,C=k>1e-12&&(r?+r.apply(this,arguments):U(f*f+d*d)),j=V(Z(d-f)/2,+n.apply(this,arguments)),A=j,S=j;if(C>1e-12){var E=J(C/f*Y(k)),P=J(C/d*Y(k));(_-=2*E)>1e-12?(E*=m?1:-1,O+=E,w-=E):(_=0,O=w=(h+p)/2),(M-=2*P)>1e-12?(P*=m?1:-1,b+=P,x-=P):(M=0,b=x=(h+p)/2)}var R=d*G(b),T=d*Y(b),L=f*G(w),I=f*Y(w);if(j>1e-12){var N,B=d*G(x),D=d*Y(x),F=f*G(O),z=f*Y(O);if(g1?0:$<-1?Q:Math.acos($))/2),tr=U(N[0]*N[0]+N[1]*N[1]);A=V(j,(f-tr)/(tn-1)),S=V(j,(d-tr)/(tn+1))}else A=S=0}}M>1e-12?S>1e-12?(y=td(F,z,R,T,d,S,m),v=td(B,D,L,I,d,S,m),l.moveTo(y.cx+y.x01,y.cy+y.y01),S1e-12&&_>1e-12?A>1e-12?(y=td(L,I,B,D,f,-A,m),v=td(R,T,F,z,f,-A,m),l.lineTo(y.cx+y.x01,y.cy+y.y01),A{let[e]=t;return e}).filter(t=>"transpose"===t);return n.length%2!=0}function tg(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"polar"===e})}function tm(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"reflect"===e})&&e.some(t=>{let[e]=t;return e.startsWith("transpose")})}function ty(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"helix"===e})}function tv(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"parallel"===e})}function tb(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"fisheye"===e})}function tx(t){return ty(t)||tg(t)}function tO(t){let{transformations:e}=t.getOptions(),[,,,n,r]=e.find(t=>"polar"===t[0]);return[+n,+r]}function tw(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{transformations:n}=t.getOptions(),[,r,i]=n.find(t=>"polar"===t[0]);return e?[180*+r/Math.PI,180*+i/Math.PI]:[r,i]}ta.prototype=ti.prototype;var t_=n(28714),tM=n(33587),tk=n(84531),tC=n(23890),tj=n(17375),tA=n(44178),tS=n(67495),tE=function(t){function e(){var e=t.apply(this,(0,tM.ev)([],(0,tM.CR)(arguments),!1))||this;return e.landmarks=[],e}return(0,tM.ZT)(e,t),e.prototype.rotate=function(t,e,n){if(this.relElevation=(0,t_._O)(e),this.relAzimuth=(0,t_._O)(t),this.relRoll=(0,t_._O)(n),this.elevation+=this.relElevation,this.azimuth+=this.relAzimuth,this.roll+=this.relRoll,this.type===t_.iM.EXPLORING){var r=tj.yY(tj.Ue(),[1,0,0],(0,t_.Vl)((this.rotateWorld?1:-1)*this.relElevation)),i=tj.yY(tj.Ue(),[0,1,0],(0,t_.Vl)((this.rotateWorld?1:-1)*this.relAzimuth)),a=tj.yY(tj.Ue(),[0,0,1],(0,t_.Vl)(this.relRoll)),o=tj.Jp(tj.Ue(),i,r);o=tj.Jp(tj.Ue(),o,a);var l=tA.fromQuat(tA.create(),o);tA.translate(this.matrix,this.matrix,[0,0,-this.distance]),tA.multiply(this.matrix,this.matrix,l),tA.translate(this.matrix,this.matrix,[0,0,this.distance])}else{if(Math.abs(this.elevation)>90)return this;this.computeMatrix()}return this._getAxes(),this.type===t_.iM.ORBITING||this.type===t_.iM.EXPLORING?this._getPosition():this.type===t_.iM.TRACKING&&this._getFocalPoint(),this._update(),this},e.prototype.pan=function(t,e){var n=(0,t_.O4)(t,e,0),r=tS.d9(this.position);return tS.IH(r,r,tS.bA(tS.Ue(),this.right,n[0])),tS.IH(r,r,tS.bA(tS.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this},e.prototype.dolly=function(t){var e=this.forward,n=tS.d9(this.position),r=t*this.dollyingStep;return r=Math.max(Math.min(this.distance+t*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*e[0],n[1]+=r*e[1],n[2]+=r*e[2],this._setPosition(n),this.type===t_.iM.ORBITING||this.type===t_.iM.EXPLORING?this._getDistance():this.type===t_.iM.TRACKING&&tS.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this},e.prototype.cancelLandmarkAnimation=function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)},e.prototype.createLandmark=function(t,e){void 0===e&&(e={});var n,r,i,a,o=e.position,l=void 0===o?this.position:o,s=e.focalPoint,c=void 0===s?this.focalPoint:s,u=e.roll,f=e.zoom,d=new t_.GZ.CameraContribution;d.setType(this.type,void 0),d.setPosition(l[0],null!==(n=l[1])&&void 0!==n?n:this.position[1],null!==(r=l[2])&&void 0!==r?r:this.position[2]),d.setFocalPoint(c[0],null!==(i=c[1])&&void 0!==i?i:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),d.setRoll(null!=u?u:this.roll),d.setZoom(null!=f?f:this.zoom);var h={name:t,matrix:tA.clone(d.getWorldTransform()),right:tS.d9(d.right),up:tS.d9(d.up),forward:tS.d9(d.forward),position:tS.d9(d.getPosition()),focalPoint:tS.d9(d.getFocalPoint()),distanceVector:tS.d9(d.getDistanceVector()),distance:d.getDistance(),dollyingStep:d.getDollyingStep(),azimuth:d.getAzimuth(),elevation:d.getElevation(),roll:d.getRoll(),relAzimuth:d.relAzimuth,relElevation:d.relElevation,relRoll:d.relRoll,zoom:d.getZoom()};return this.landmarks.push(h),h},e.prototype.gotoLandmark=function(t,e){var n=this;void 0===e&&(e={});var r=(0,tk.Z)(t)?this.landmarks.find(function(e){return e.name===t}):t;if(r){var i,a=(0,tC.Z)(e)?{duration:e}:e,o=a.easing,l=void 0===o?"linear":o,s=a.duration,c=void 0===s?100:s,u=a.easingFunction,f=a.onfinish,d=void 0===f?void 0:f,h=a.onframe,p=void 0===h?void 0:h;this.cancelLandmarkAnimation();var g=r.position,m=r.focalPoint,y=r.zoom,v=r.roll,b=(void 0===u?void 0:u)||t_.GZ.EasingFunction(l),x=function(){n.setFocalPoint(m),n.setPosition(g),n.setRoll(v),n.setZoom(y),n.computeMatrix(),n.triggerUpdate(),null==d||d()};if(0===c)return x();var O=function(t){void 0===i&&(i=t);var e=t-i;if(e>=c){x();return}var r=b(e/c),a=tS.Ue(),o=tS.Ue(),l=1,s=0;if(tS.t7(a,n.focalPoint,m,r),tS.t7(o,n.position,g,r),s=n.roll*(1-r)+v*r,l=n.zoom*(1-r)+y*r,n.setFocalPoint(a),n.setPosition(o),n.setRoll(s),n.setZoom(l),tS.TK(a,m)+tS.TK(o,g)<=.01&&void 0==y&&void 0==v)return x();n.computeMatrix(),n.triggerUpdate(),e0){var i,a=(i=n[r-1],i===t?i:yj&&(i===yj||i===yC)?yj:null);if(a){n[r-1]=a;return}}else e=this.observer,tB.push(e),tN||(tN=!0,void 0!==t_.GZ.globalThis?t_.GZ.globalThis.setTimeout(tD):tD());n[r]=t},t.prototype.addListeners=function(){this.addListeners_(this.target)},t.prototype.addListeners_=function(t){var e=this.options;e.attributes&&t.addEventListener(t_.Dk.ATTR_MODIFIED,this,!0),e.childList&&t.addEventListener(t_.Dk.INSERTED,this,!0),(e.childList||e.subtree)&&t.addEventListener(t_.Dk.REMOVED,this,!0)},t.prototype.removeListeners=function(){this.removeListeners_(this.target)},t.prototype.removeListeners_=function(t){var e=this.options;e.attributes&&t.removeEventListener(t_.Dk.ATTR_MODIFIED,this,!0),e.childList&&t.removeEventListener(t_.Dk.INSERTED,this,!0),(e.childList||e.subtree)&&t.removeEventListener(t_.Dk.REMOVED,this,!0)},t.prototype.removeTransientObservers=function(){var t=this.transientObservedNodes;this.transientObservedNodes=[],t.forEach(function(t){this.removeListeners_(t);for(var e=tT.get(t),n=0;n0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalDuration",{get:function(){return this._totalDuration},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_needsTick",{get:function(){return this.pending||"running"===this.playState||!this._finishedFlag},enumerable:!1,configurable:!0}),t.prototype.updatePromises=function(){var t=this.oldPlayState,e=this.pending?"pending":this.playState;return this.readyPromise&&e!==t&&("idle"===e?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===t?this.resolveReadyPromise():"pending"===e&&(this.readyPromise=void 0)),this.finishedPromise&&e!==t&&("idle"===e?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===e?this.resolveFinishedPromise():"finished"===t&&(this.finishedPromise=void 0)),this.oldPlayState=e,this.readyPromise||this.finishedPromise},t.prototype.play=function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()},t.prototype.pause=function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()},t.prototype.finish=function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())},t.prototype.cancel=function(){var t=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var e=new t$(null,this,this.currentTime,null);setTimeout(function(){t.oncancel(e)})}},t.prototype.reverse=function(){this.updatePromises();var t=this.currentTime;this.playbackRate*=-1,this.play(),null!==t&&(this.currentTime=t),this.updatePromises()},t.prototype.updatePlaybackRate=function(t){this.playbackRate=t},t.prototype.targetAnimations=function(){var t;return(null===(t=this.effect)||void 0===t?void 0:t.target).getAnimations()},t.prototype.markTarget=function(){var t=this.targetAnimations();-1===t.indexOf(this)&&t.push(this)},t.prototype.unmarkTarget=function(){var t=this.targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)},t.prototype.tick=function(t,e){this._idle||this._paused||(null===this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this.currentTimePending=!1,this.fireEvents(t))},t.prototype.rewind=function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")},t.prototype.persist=function(){throw Error(t_.jf)},t.prototype.addEventListener=function(t,e,n){throw Error(t_.jf)},t.prototype.removeEventListener=function(t,e,n){throw Error(t_.jf)},t.prototype.dispatchEvent=function(t){throw Error(t_.jf)},t.prototype.commitStyles=function(){throw Error(t_.jf)},t.prototype.ensureAlive=function(){var t,e;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null===(t=this.effect)||void 0===t?void 0:t.update(-1)):this._inEffect=!!(null===(e=this.effect)||void 0===e?void 0:e.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))},t.prototype.tickCurrentTime=function(t,e){t!==this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())},t.prototype.fireEvents=function(t){var e=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new t$(null,this,this.currentTime,t);setTimeout(function(){e.onfinish&&e.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new t$(null,this,this.currentTime,t);this.onframe(r)}this._finishedFlag=!1}},t}(),tH="function"==typeof Float32Array,tG=function(t,e){return 1-3*e+3*t},tq=function(t,e){return 3*e-6*t},tV=function(t){return 3*t},tY=function(t,e,n){return((tG(e,n)*t+tq(e,n))*t+tV(e))*t},tU=function(t,e,n){return 3*tG(e,n)*t*t+2*tq(e,n)*t+tV(e)},tQ=function(t,e,n,r,i){var a,o,l=0;do(a=tY(o=e+(n-e)/2,r,i)-t)>0?n=o:e=o;while(Math.abs(a)>1e-7&&++l<10);return o},tX=function(t,e,n,r){for(var i=0;i<4;++i){var a=tU(e,n,r);if(0===a)break;var o=tY(e,n,r)-t;e-=o/a}return e},tK=function(t,e,n,r){if(!(0<=t&&t<=1&&0<=n&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(t===e&&n===r)return function(t){return t};for(var i=tH?new Float32Array(11):Array(11),a=0;a<11;++a)i[a]=tY(.1*a,t,n);var o=function(e){for(var r=0,a=1;10!==a&&i[a]<=e;++a)r+=.1;var o=r+(e-i[--a])/(i[a+1]-i[a])*.1,l=tU(o,t,n);return l>=.001?tX(e,o,t,n):0===l?o:tQ(e,r,r+.1,t,n)};return function(t){return 0===t||1===t?t:tY(o(t),e,r)}},tJ=function(t){return Math.pow(t,2)},t0=function(t){return Math.pow(t,3)},t1=function(t){return Math.pow(t,4)},t2=function(t){return Math.pow(t,5)},t5=function(t){return Math.pow(t,6)},t3=function(t){return 1-Math.cos(t*Math.PI/2)},t4=function(t){return 1-Math.sqrt(1-t*t)},t6=function(t){return t*t*(3*t-2)},t8=function(t){for(var e,n=4;t<((e=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)},t9=function(t,e){void 0===e&&(e=[]);var n=(0,tM.CR)(e,2),r=n[0],i=n[1],a=(0,tF.Z)(Number(void 0===r?1:r),1,10),o=(0,tF.Z)(Number(void 0===i?.5:i),.1,2);return 0===t||1===t?t:-a*Math.pow(2,10*(t-1))*Math.sin((t-1-o/(2*Math.PI)*Math.asin(1/a))*(2*Math.PI)/o)},t7=function(t,e,n){void 0===e&&(e=[]);var r=(0,tM.CR)(e,4),i=r[0],a=void 0===i?1:i,o=r[1],l=void 0===o?100:o,s=r[2],c=void 0===s?10:s,u=r[3],f=void 0===u?0:u;a=(0,tF.Z)(a,.1,1e3),l=(0,tF.Z)(l,.1,1e3),c=(0,tF.Z)(c,.1,1e3),f=(0,tF.Z)(f,.1,1e3);var d=Math.sqrt(l/a),h=c/(2*Math.sqrt(l*a)),p=h<1?d*Math.sqrt(1-h*h):0,g=h<1?(h*d+-f)/p:-f+d,m=n?n*t/1e3:t;return(m=h<1?Math.exp(-m*h*d)*(1*Math.cos(p*m)+g*Math.sin(p*m)):(1+g*m)*Math.exp(-m*d),0===t||1===t)?t:1-m},et=function(t,e){void 0===e&&(e=[]);var n=(0,tM.CR)(e,2),r=n[0],i=void 0===r?10:r;return("start"==n[1]?Math.ceil:Math.floor)((0,tF.Z)(t,0,1)*i)/i},ee=function(t,e){void 0===e&&(e=[]);var n=(0,tM.CR)(e,4);return tK(n[0],n[1],n[2],n[3])(t)},en=tK(.42,0,1,1),er=function(t){return function(e,n,r){return void 0===n&&(n=[]),1-t(1-e,n,r)}},ei=function(t){return function(e,n,r){return void 0===n&&(n=[]),e<.5?t(2*e,n,r)/2:1-t(-2*e+2,n,r)/2}},ea=function(t){return function(e,n,r){return void 0===n&&(n=[]),e<.5?(1-t(1-2*e,n,r))/2:(t(2*e-1,n,r)+1)/2}},eo={steps:et,"step-start":function(t){return et(t,[1,"start"])},"step-end":function(t){return et(t,[1,"end"])},linear:function(t){return t},"cubic-bezier":ee,ease:function(t){return ee(t,[.25,.1,.25,1])},in:en,out:er(en),"in-out":ei(en),"out-in":ea(en),"in-quad":tJ,"out-quad":er(tJ),"in-out-quad":ei(tJ),"out-in-quad":ea(tJ),"in-cubic":t0,"out-cubic":er(t0),"in-out-cubic":ei(t0),"out-in-cubic":ea(t0),"in-quart":t1,"out-quart":er(t1),"in-out-quart":ei(t1),"out-in-quart":ea(t1),"in-quint":t2,"out-quint":er(t2),"in-out-quint":ei(t2),"out-in-quint":ea(t2),"in-expo":t5,"out-expo":er(t5),"in-out-expo":ei(t5),"out-in-expo":ea(t5),"in-sine":t3,"out-sine":er(t3),"in-out-sine":ei(t3),"out-in-sine":ea(t3),"in-circ":t4,"out-circ":er(t4),"in-out-circ":ei(t4),"out-in-circ":ea(t4),"in-back":t6,"out-back":er(t6),"in-out-back":ei(t6),"out-in-back":ea(t6),"in-bounce":t8,"out-bounce":er(t8),"in-out-bounce":ei(t8),"out-in-bounce":ea(t8),"in-elastic":t9,"out-elastic":er(t9),"in-out-elastic":ei(t9),"out-in-elastic":ea(t9),spring:t7,"spring-in":t7,"spring-out":er(t7),"spring-in-out":ei(t7),"spring-out-in":ea(t7)},el=function(t){var e;return("-"===(e=(e=t).replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})).charAt(0)?e.substring(1):e).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},es=function(t){return t};function ec(t,e){return function(n){if(n>=1)return 1;var r=1/t;return(n+=e*r)-n%r}}var eu="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ef=RegExp("cubic-bezier\\("+eu+","+eu+","+eu+","+eu+"\\)"),ed=/steps\(\s*(\d+)\s*\)/,eh=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function ep(t){var e=ef.exec(t);if(e)return tK.apply(void 0,(0,tM.ev)([],(0,tM.CR)(e.slice(1).map(Number)),!1));var n=ed.exec(t);if(n)return ec(Number(n[1]),0);var r=eh.exec(t);return r?ec(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):eo[el(t)]||eo.linear}function eg(t){return"offset"!==t&&"easing"!==t&&"composite"!==t&&"computedOffset"!==t}var em=function(t,e,n){return function(r){var i=function t(e,n,r){if("number"==typeof e&&"number"==typeof n)return e*(1-r)+n*r;if("boolean"==typeof e&&"boolean"==typeof n||"string"==typeof e&&"string"==typeof n)return r<.5?e:n;if(Array.isArray(e)&&Array.isArray(n)){for(var i=e.length,a=n.length,o=Math.max(i,a),l=[],s=0;s1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=i}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(i))throw Error("".concat(i," compositing is not supported"));n[r]=i}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==e?void 0:e.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,i=-1/0,a=0;a=0&&1>=Number(t.offset)}),r||function(){var t,e,r=n.length;n[r-1].computedOffset=Number(null!==(t=n[r-1].offset)&&void 0!==t?t:1),r>1&&(n[0].computedOffset=Number(null!==(e=n[0].offset)&&void 0!==e?e:0));for(var i=0,a=Number(n[0].computedOffset),o=1;o=t.applyFrom&&e=Math.min(n.delay+t+n.endDelay,r)?2:3}(t,e,n),u=function(t,e,n,r,i){switch(r){case 1:if("backwards"===e||"both"===e)return 0;return null;case 3:return n-i;case 2:if("forwards"===e||"both"===e)return t;return null;case 0:return null}}(t,n.fill,e,c,n.delay);if(null===u)return null;var f="auto"===n.duration?0:n.duration,d=(r=n.iterations,i=n.iterationStart,0===f?1!==c&&(i+=r):i+=u/f,i),h=(a=n.iterationStart,o=n.iterations,0==(l=d===1/0?a%1:d%1)&&2===c&&0!==o&&(0!==u||0===f)&&(l=1),l),p=(s=n.iterations,2===c&&s===1/0?1/0:1===h?Math.floor(d)-1:Math.floor(d)),g=function(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,p,h);return n.currentIteration=p,n.progress=g,n.easingFunction(g)}(this.timing.activeDuration,t,this.timing),null!==this.timeFraction)},t.prototype.getKeyframes=function(){return this.normalizedKeyframes},t.prototype.setKeyframes=function(t){this.normalizedKeyframes=ev(t)},t.prototype.getComputedTiming=function(){return this.computedTiming},t.prototype.getTiming=function(){return this.timing},t.prototype.updateTiming=function(t){var e=this;Object.keys(t||{}).forEach(function(n){e.timing[n]=t[n]})},t}();function ew(t,e){return Number(t.id)-Number(e.id)}var e_=function(){function t(t){var e=this;this.document=t,this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(t){e.currentTime=t,e.discardAnimations(),0===e.animations.length?e.timelineTicking=!1:e.requestAnimationFrame(e.webAnimationsNextTick)},this.processRafCallbacks=function(t){var n=e.rafCallbacks;e.rafCallbacks=[],t=r.length)return n(i);let o=new eM,l=r[a++],s=-1;for(let t of i){let e=l(t,++s,i),n=o.get(e);n?n.push(t):o.set(e,[t])}for(let[e,n]of o)o.set(e,t(n,a));return e(o)}(t,0)}var eT=function(t){return(0,tz.Z)(t)?"":t.toString()},eL=function(t){var e=eT(t);return e.charAt(0).toLowerCase()+e.substring(1)};function eI(t){return t}function eN(t){return t.reduce((t,e)=>function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;at.toUpperCase())}function eD(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";throw Error(t)}function eF(t,e){let{attributes:n}=e,r=new Set(["id","className"]);for(let[e,i]of Object.entries(n))r.has(e)||t.attr(e,i)}function ez(t){return null!=t&&!Number.isNaN(t)}function e$(t,e){return eW(t,e)||{}}function eW(t,e){let n=Object.entries(t||{}).filter(t=>{let[n]=t;return n.startsWith(e)}).map(t=>{let[n,r]=t;return[eL(n.replace(e,"").trim()),r]}).filter(t=>{let[e]=t;return!!e});return 0===n.length?null:Object.fromEntries(n)}function eZ(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r{let[e]=t;return n.every(t=>!e.startsWith(t))}))}function eH(t,e){if(void 0===t)return null;if("number"==typeof t)return t;let n=+t.replace("%","");return Number.isNaN(n)?null:n/100*e}function eG(t){return"object"==typeof t&&!(t instanceof Date)&&null!==t&&!Array.isArray(t)}function eq(t){return null===t||!1===t}function eV(t){return new eY([t],null,t,t.ownerDocument)}class eY{selectAll(t){let e="string"==typeof t?this._parent.querySelectorAll(t):t;return new eY(e,null,this._elements[0],this._document)}selectFacetAll(t){let e="string"==typeof t?this._parent.querySelectorAll(t):t;return new eY(this._elements,null,this._parent,this._document,void 0,void 0,e)}select(t){let e="string"==typeof t?this._parent.querySelectorAll(t)[0]||null:t;return new eY([e],null,e,this._document)}append(t){let e="function"==typeof t?t:()=>this.createElement(t),n=[];if(null!==this._data){for(let t=0;t1&&void 0!==arguments[1]?arguments[1]:t=>t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>null,r=[],i=[],a=new Set(this._elements),o=[],l=new Set,s=new Map(this._elements.map((t,n)=>[e(t.__data__,n),t])),c=new Map(this._facetElements.map((t,n)=>[e(t.__data__,n),t])),u=eA(this._elements,t=>n(t.__data__));for(let f=0;f0&&void 0!==arguments[0]?arguments[0]:t=>t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>t.remove(),r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>t,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:t=>t.remove(),a=t(this._enter),o=e(this._update),l=n(this._exit),s=r(this._merge),c=i(this._split);return o.merge(a).merge(l).merge(s).merge(c)}remove(){for(let t=0;tt.finished)).then(()=>{let e=this._elements[t];e.remove()})}else{let e=this._elements[t];e.remove()}}return new eY([],null,this._parent,this._document,void 0,this._transitions)}each(t){for(let e=0;ee:e;return this.each(function(r,i,a){void 0!==e&&(a[t]=n(r,i,a))})}style(t,e){let n="function"!=typeof e?()=>e:e;return this.each(function(r,i,a){void 0!==e&&(a.style[t]=n(r,i,a))})}transition(t){let e="function"!=typeof t?()=>t:t,{_transitions:n}=this;return this.each(function(t,r,i){n[r]=e(t,r,i)})}on(t,e){return this.each(function(n,r,i){i.addEventListener(t,e)}),this}call(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:10;return"number"!=typeof t?t:1e-15>Math.abs(t)?t:parseFloat(t.toFixed(e))}eY.registry={g:t_.ZA,rect:t_.UL,circle:t_.Cd,path:t_.y$,text:t_.xv,ellipse:t_.Pj,image:t_.Ee,line:t_.x1,polygon:t_.mg,polyline:t_.aH,html:t_.k9};var e4=function(t){return t};class e6{constructor(t){this.options=R({},this.getDefaultOptions()),this.update(t)}getOptions(){return this.options}update(t={}){this.options=R({},this.options,t),this.rescale(t)}rescale(t){}}function e8(t,e){return e-t?n=>(n-t)/(e-t):t=>.5}function e9(t,...e){return e.reduce((t,e)=>n=>t(e(n)),t)}function e7(t,e,n,r,i){let a=n||0,o=r||t.length,l=i||(t=>t);for(;ae?o=n:a=n+1}return a}var nt=n(90723),ne=n.n(nt);function nn(t,e,n){let r=n;return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function nr(t){let e=ne().get(t);if(!e)return null;let{model:n,value:r}=e;return"rgb"===n?r:"hsl"===n?function(t){let e=t[0]/360,n=t[1]/100,r=t[2]/100,i=t[3];if(0===n)return[255*r,255*r,255*r,i];let a=r<.5?r*(1+n):r+n-r*n,o=2*r-a,l=nn(o,a,e+1/3),s=nn(o,a,e),c=nn(o,a,e-1/3);return[255*l,255*s,255*c,i]}(r):null}let ni=(t,e)=>n=>t*(1-n)+e*n,na=(t,e)=>{let n=nr(t),r=nr(e);return null===n||null===r?n?()=>t:()=>e:t=>{let e=[,,,,];for(let i=0;i<4;i+=1){let a=n[i],o=r[i];e[i]=a*(1-t)+o*t}let[i,a,o,l]=e;return`rgba(${Math.round(i)}, ${Math.round(a)}, ${Math.round(o)}, ${l})`}},no=(t,e)=>"number"==typeof t&&"number"==typeof e?ni(t,e):"string"==typeof t&&"string"==typeof e?na(t,e):()=>t,nl=(t,e)=>{let n=ni(t,e);return t=>Math.round(n(t))};var ns=n(28036);function nc(t){return!(0,ns.Z)(t)&&null!==t&&!Number.isNaN(t)}let nu=Math.sqrt(50),nf=Math.sqrt(10),nd=Math.sqrt(2);function nh(t,e,n){let r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/10**i;return i>=0?(a>=nu?10:a>=nf?5:a>=nd?2:1)*10**i:-(10**-i)/(a>=nu?10:a>=nf?5:a>=nd?2:1)}function np(t,e,n){let r=Math.abs(e-t)/Math.max(0,n),i=10**Math.floor(Math.log(r)/Math.LN10),a=r/i;return a>=nu?i*=10:a>=nf?i*=5:a>=nd&&(i*=2),e{let r;let i=[t,e],a=0,o=i.length-1,l=i[a],s=i[o];return s0?r=nh(l=Math.floor(l/r)*r,s=Math.ceil(s/r)*r,n):r<0&&(r=nh(l=Math.ceil(l*r)/r,s=Math.floor(s*r)/r,n)),r>0?(i[a]=Math.floor(l/r)*r,i[o]=Math.ceil(s/r)*r):r<0&&(i[a]=Math.ceil(l*r)/r,i[o]=Math.floor(s*r)/r),i},nm=(t,e,n)=>{let r,i;let[a,o]=t,[l,s]=e;return a{let r=Math.min(t.length,e.length)-1,i=Array(r),a=Array(r),o=t[0]>t[r],l=o?[...t].reverse():t,s=o?[...e].reverse():e;for(let t=0;t{let n=e7(t,e,1,r)-1,o=i[n],l=a[n];return e9(l,o)(e)}},nv=(t,e,n,r)=>{let i=Math.min(t.length,e.length),a=r?nl:n;return(i>2?ny:nm)(t,e,a)};class nb extends e6{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:ni,tickCount:5}}map(t){return nc(t)?this.output(t):this.options.unknown}invert(t){return nc(t)?this.input(t):this.options.unknown}nice(){if(!this.options.nice)return;let[t,e,n,...r]=this.getTickMethodOptions();this.options.domain=this.chooseNice()(t,e,n,...r)}getTicks(){let{tickMethod:t}=this.options,[e,n,r,...i]=this.getTickMethodOptions();return t(e,n,r,...i)}getTickMethodOptions(){let{domain:t,tickCount:e}=this.options,n=t[0],r=t[t.length-1];return[n,r,e]}chooseNice(){return ng}rescale(){this.nice();let[t,e]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t)),this.composeInput(t,e,this.chooseClamp(e))}chooseClamp(t){let{clamp:e,range:n}=this.options,r=this.options.domain.map(t),i=Math.min(r.length,n.length);return e?function(t,e){let n=ee?t:e;return t=>Math.min(Math.max(n,t),r)}(r[0],r[i-1]):e4}composeOutput(t,e){let{domain:n,range:r,round:i,interpolate:a}=this.options,o=nv(n.map(t),r,a,i);this.output=e9(o,e,t)}composeInput(t,e,n){let{domain:r,range:i}=this.options,a=nv(i,r.map(t),ni);this.input=e9(e,n,a)}}let nx=(t,e,n)=>{let r,i;let a=t,o=e;if(a===o&&n>0)return[a];let l=nh(a,o,n);if(0===l||!Number.isFinite(l))return[];if(l>0){a=Math.ceil(a/l),i=Array(r=Math.ceil((o=Math.floor(o/l))-a+1));for(let t=0;t=e&&(n=r=e):(n>e&&(n=e),r=a&&(n=r=a):(n>a&&(n=a),r{let[i,a]=r;return n[i]=e(a,i,t),n},{})}function nM(t){return t.map((t,e)=>e)}function nk(t){return t[t.length-1]}function nC(t,e){let n=[[],[]];return t.forEach(t=>{n[e(t)?0:1].push(t)}),n}function nj(t,e){for(let[n,r]of Object.entries(e))t.style(n,r)}function nA(t,e,n,r,i){let a=eK(eU(r,e))+Math.PI,o=eK(eU(r,n))+Math.PI;return t.arc(r[0],r[1],i,a,o,o-a<0),t}function nS(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"y",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"between",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o="y"===r||!0===r?n:e,l=nM(o),[s,c]=nw(l,t=>o[t]),u=new nO({domain:[s,c],range:[0,100]}),f=t=>(0,tC.Z)(o[t])&&!Number.isNaN(o[t])?u.map(o[t]):0,d={between:e=>"".concat(t[e]," ").concat(f(e),"%"),start:e=>0===e?"".concat(t[e]," ").concat(f(e),"%"):"".concat(t[e-1]," ").concat(f(e),"%, ").concat(t[e]," ").concat(f(e),"%"),end:e=>e===t.length-1?"".concat(t[e]," ").concat(f(e),"%"):"".concat(t[e]," ").concat(f(e),"%, ").concat(t[e+1]," ").concat(f(e),"%")},h=l.sort((t,e)=>f(t)-f(e)).map(d[i]||d.between).join(",");return"linear-gradient(".concat("y"===r||!0===r?a?180:90:a?90:0,"deg, ").concat(h,")")}function nE(t){let[e,n,r,i]=t;return[i,e,n,r]}function nP(t,e,n){let[r,i,,a]=tp(t)?nE(e):e,[o,l]=n,s=t.getCenter(),c=eJ(eU(r,s)),u=eJ(eU(i,s)),f=u===c&&o!==l?u+2*Math.PI:u;return{startAngle:c,endAngle:f-c>=0?f:2*Math.PI+f,innerRadius:eX(a,s),outerRadius:eX(r,s)}}function nR(t){let{colorAttribute:e,opacityAttribute:n=e}=t;return"".concat(n,"Opacity")}function nT(t,e){if(!tg(t))return"";let n=t.getCenter(),{transform:r}=e;return"translate(".concat(n[0],", ").concat(n[1],") ").concat(r||"")}function nL(t){if(1===t.length)return t[0];let[[e,n,r=0],[i,a,o=0]]=t;return[(e+i)/2,(n+a)/2,(r+o)/2]}var nI=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function nN(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},{inset:a=0,radius:o=0,insetLeft:l=a,insetTop:s=a,insetRight:c=a,insetBottom:u=a,radiusBottomLeft:f=o,radiusBottomRight:d=o,radiusTopLeft:h=o,radiusTopRight:p=o,minWidth:g=-1/0,maxWidth:m=1/0,minHeight:y=-1/0}=i,v=nI(i,["inset","radius","insetLeft","insetTop","insetRight","insetBottom","radiusBottomLeft","radiusBottomRight","radiusTopLeft","radiusTopRight","minWidth","maxWidth","minHeight"]);if(!tg(r)&&!ty(r)){let n=!!tp(r),[i,,a]=n?nE(e):e,[o,b]=i,[x,O]=eU(a,i),w=Math.abs(x),_=Math.abs(O),M=(x>0?o:o+x)+l,k=(O>0?b:b+O)+s,C=w-(l+c),j=_-(s+u),A=n?e5(C,y,1/0):e5(C,g,m),S=n?e5(j,g,m):e5(j,y,1/0),E=n?M:M-(A-C)/2,P=n?k-(S-j)/2:k-(S-j);return eV(t.createElement("rect",{})).style("x",E).style("y",P).style("width",A).style("height",S).style("radius",[h,p,d,f]).call(nj,v).node()}let{y:b,y1:x}=n,O=r.getCenter(),w=nP(r,e,[b,x]),_=th().cornerRadius(o).padAngle(a*Math.PI/180);return eV(t.createElement("path",{})).style("d",_(w)).style("transform","translate(".concat(O[0],", ").concat(O[1],")")).style("radius",o).style("inset",a).call(nj,v).node()}let nB=(t,e)=>{let{colorAttribute:n,opacityAttribute:r="fill",first:i=!0,last:a=!0}=t,o=nI(t,["colorAttribute","opacityAttribute","first","last"]),{coordinate:l,document:s}=e;return(e,r,c)=>{let{color:u,radius:f=0}=c,d=nI(c,["color","radius"]),h=d.lineWidth||1,{stroke:p,radius:g=f,radiusTopLeft:m=g,radiusTopRight:y=g,radiusBottomRight:v=g,radiusBottomLeft:b=g,innerRadius:x=0,innerRadiusTopLeft:O=x,innerRadiusTopRight:w=x,innerRadiusBottomRight:_=x,innerRadiusBottomLeft:M=x,lineWidth:k="stroke"===n||p?h:0,inset:C=0,insetLeft:j=C,insetRight:A=C,insetBottom:S=C,insetTop:E=C,minWidth:P,maxWidth:R,minHeight:T}=o,L=nI(o,["stroke","radius","radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft","innerRadius","innerRadiusTopLeft","innerRadiusTopRight","innerRadiusBottomRight","innerRadiusBottomLeft","lineWidth","inset","insetLeft","insetRight","insetBottom","insetTop","minWidth","maxWidth","minHeight"]),{color:I=u,opacity:N}=r,B=[i?m:O,i?y:w,a?v:_,a?b:M],D=["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"];tp(l)&&D.push(D.shift());let F=Object.assign(Object.assign({radius:g},Object.fromEntries(D.map((t,e)=>[t,B[e]]))),{inset:C,insetLeft:j,insetRight:A,insetBottom:S,insetTop:E,minWidth:P,maxWidth:R,minHeight:T});return eV(nN(s,e,r,l,F)).call(nj,d).style("fill","transparent").style(n,I).style(nR(t),N).style("lineWidth",k).style("stroke",void 0===p?I:p).call(nj,L).node()}};nB.props={defaultEnterAnimation:"scaleInY",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nD=(t,e)=>nB(Object.assign({colorAttribute:"fill"},t),e);nD.props=Object.assign(Object.assign({},nB.props),{defaultMarker:"square"});let nF=(t,e)=>nB(Object.assign({colorAttribute:"stroke"},t),e);function nz(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function n$(t){this._context=t}function nW(t){return new n$(t)}function nZ(t){return t[0]}function nH(t){return t[1]}function nG(t,e){var n=W(!0),r=null,i=nW,a=null,o=to(l);function l(l){var s,c,u,f=(l=nz(l)).length,d=!1;for(null==r&&(a=i(u=o())),s=0;s<=f;++s)!(se.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function nQ(t,e,n){let[r,i,a,o]=t;if(tp(n)){let t=[e?e[0][0]:i[0],i[1]],n=[e?e[3][0]:a[0],a[1]];return[r,t,n,o]}let l=[i[0],e?e[0][1]:i[1]],s=[a[0],e?e[3][1]:a[1]];return[r,l,s,o]}let nX=(t,e)=>{let{adjustPoints:n=nQ}=t,r=nU(t,["adjustPoints"]),{coordinate:i,document:a}=e;return(t,e,o,l)=>{let{index:s}=e,{color:c}=o,u=nU(o,["color"]),f=l[s+1],d=n(t,f,i),h=!!tp(i),[p,g,m,y]=h?nE(d):d,{color:v=c,opacity:b}=e,x=nG().curve(nY)([p,g,m,y]);return eV(a.createElement("path",{})).call(nj,u).style("d",x).style("fill",v).style("fillOpacity",b).call(nj,r).node()}};function nK(t,e,n){let[r,i,a,o]=t;if(tp(n)){let t=[e?e[0][0]:(i[0]+a[0])/2,i[1]],n=[e?e[3][0]:(i[0]+a[0])/2,a[1]];return[r,t,n,o]}let l=[i[0],e?e[0][1]:(i[1]+a[1])/2],s=[a[0],e?e[3][1]:(i[1]+a[1])/2];return[r,l,s,o]}nX.props={defaultMarker:"square"};let nJ=(t,e)=>nX(Object.assign({adjustPoints:nK},t),e);function n0(t){return Math.abs(t)>10?String(t):t.toString().padStart(2,"0")}nJ.props={defaultMarker:"square"};let n1=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{channel:e="x"}=t;return(t,n)=>{let{encode:r}=n,{tooltip:i}=n;if(eq(i))return[t,n];let{title:a}=i;if(void 0!==a)return[t,n];let o=Object.keys(r).filter(t=>t.startsWith(e)).filter(t=>!r[t].inferred).map(t=>B(r,t)).filter(t=>{let[e]=t;return e}).map(t=>t[0]);if(0===o.length)return[t,n];let l=[];for(let e of t)l[e]={value:o.map(t=>t[e]instanceof Date?function(t){let e=t.getFullYear(),n=n0(t.getMonth()+1),r=n0(t.getDate()),i="".concat(e,"-").concat(n,"-").concat(r),a=t.getHours(),o=t.getMinutes(),l=t.getSeconds();return a||o||l?"".concat(i," ").concat(n0(a),":").concat(n0(o),":").concat(n0(l)):i}(t[e]):t[e]).join(", ")};return[t,R({},n,{tooltip:{title:l}})]}};n1.props={};let n2=t=>{let{channel:e}=t;return(t,n)=>{let{encode:r,tooltip:i}=n;if(eq(i))return[t,n];let{items:a=[]}=i;if(!a||a.length>0)return[t,n];let o=Array.isArray(e)?e:[e],l=o.flatMap(t=>Object.keys(r).filter(e=>e.startsWith(t)).map(t=>{let{field:e,value:n,inferred:i=!1,aggregate:a}=r[t];return i?null:a&&n?{channel:t}:e?{field:e}:n?{channel:t}:null}).filter(t=>null!==t));return[t,R({},n,{tooltip:{items:l}})]}};n2.props={};var n5=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let n3=()=>(t,e)=>{let{encode:n}=e,{key:r}=n,i=n5(n,["key"]);if(void 0!==r)return[t,e];let a=Object.values(i).map(t=>{let{value:e}=t;return e}),o=t.map(t=>a.filter(Array.isArray).map(e=>e[t]).join("-"));return[t,R({},e,{encode:{key:T(o)}})]};function n4(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{shapes:e}=t;return[{name:"color"},{name:"opacity"},{name:"shape",range:e},{name:"enterType"},{name:"enterDelay",scaleKey:"enter"},{name:"enterDuration",scaleKey:"enter"},{name:"enterEasing"},{name:"key",scale:"identity"},{name:"groupKey",scale:"identity"},{name:"label",scale:"identity"}]}function n6(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[...n4(t),{name:"title",scale:"identity"}]}function n8(){return[{type:n1,channel:"color"},{type:n2,channel:["x","y"]}]}function n9(){return[{type:n1,channel:"x"},{type:n2,channel:["y"]}]}function n7(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n4(t)}function rt(){return[{type:n3}]}function re(t,e){return t.getBandWidth(t.invert(e))}function rn(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{x:r,y:i,series:a}=e,{x:o,y:l,series:s}=t,{style:{bandOffset:c=s?0:.5,bandOffsetX:u=c,bandOffsetY:f=c}={}}=n,d=!!(null==o?void 0:o.getBandWidth),h=!!(null==l?void 0:l.getBandWidth),p=!!(null==s?void 0:s.getBandWidth);return d||h?(t,e)=>{let n=d?re(o,r[e]):0,c=h?re(l,i[e]):0,g=p&&a?(re(s,a[e])/2+ +a[e])*n:0,[m,y]=t;return[m+u*n+g,y+f*c]}:t=>t}function rr(t){return parseFloat(t)/100}function ri(t,e,n,r){let{x:i,y:a}=n,{innerWidth:o,innerHeight:l}=r.getOptions(),s=Array.from(t,t=>{let e=i[t],n=a[t],r="string"==typeof e?rr(e)*o:+e,s="string"==typeof n?rr(n)*l:+n;return[[r,s]]});return[t,s]}function ra(t){return"function"==typeof t?t:e=>e[t]}function ro(t,e){return Array.from(t,ra(e))}function rl(t,e){let{source:n=t=>t.source,target:r=t=>t.target,value:i=t=>t.value}=e,{links:a,nodes:o}=t,l=ro(a,n),s=ro(a,r),c=ro(a,i);return{links:a.map((t,e)=>({target:s[e],source:l[e],value:c[e]})),nodes:o||Array.from(new Set([...l,...s]),t=>({key:t}))}}function rs(t,e){return t.getBandWidth(t.invert(e))}n3.props={};let rc={rect:nD,hollow:nF,funnel:nX,pyramid:nJ},ru=()=>(t,e,n,r)=>{let{x:i,y:a,y1:o,series:l,size:s}=n,c=e.x,u=e.series,[f]=r.getSize(),d=s?s.map(t=>+t/f):null,h=s?(t,e,n)=>{let r=t+e/2,i=d[n];return[r-i/2,r+i/2]}:(t,e,n)=>[t,t+e],p=Array.from(t,t=>{let e=rs(c,i[t]),n=u?rs(u,null==l?void 0:l[t]):1,s=(+(null==l?void 0:l[t])||0)*e,f=+i[t]+s,[d,p]=h(f,e*n,t),g=+a[t],m=+o[t];return[[d,g],[p,g],[p,m],[d,m]].map(t=>r.map(t))});return[t,p]};ru.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:rc,channels:[...n6({shapes:Object.keys(rc)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size"}],preInference:[...rt(),{type:z},{type:$}],postInference:[...n9()],interaction:{shareTooltip:!0}};let rf={rect:nD,hollow:nF},rd=()=>(t,e,n,r)=>{let{x:i,x1:a,y:o,y1:l}=n,s=Array.from(t,t=>{let e=[+i[t],+o[t]],n=[+a[t],+o[t]],s=[+a[t],+l[t]],c=[+i[t],+l[t]];return[e,n,s,c].map(t=>r.map(t))});return[t,s]};rd.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:rf,channels:[...n6({shapes:Object.keys(rf)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...rt(),{type:z}],postInference:[...n9()],interaction:{shareTooltip:!0}};var rh=rg(nW);function rp(t){this._curve=t}function rg(t){function e(e){return new rp(t(e))}return e._curve=t,e}function rm(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(rg(t)):e()._curve},t}function ry(t){let e="function"==typeof t?t:t.render;return class extends t_.b_{connectedCallback(){this.draw()}attributeChangedCallback(){this.draw()}draw(){e(this)}}}rp.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),-(e*Math.cos(t)))}};var rv=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rb=ry(t=>{let{d1:e,d2:n,style1:r,style2:i}=t.attributes,a=t.ownerDocument;eV(t).maybeAppend("line",()=>a.createElement("path",{})).style("d",e).call(nj,r),eV(t).maybeAppend("line1",()=>a.createElement("path",{})).style("d",n).call(nj,i)}),rx=(t,e)=>{let{curve:n,gradient:r=!1,gradientColor:i="between",defined:a=t=>!Number.isNaN(t)&&null!=t,connect:o=!1}=t,l=rv(t,["curve","gradient","gradientColor","defined","connect"]),{coordinate:s,document:c}=e;return(t,e,u)=>{let f;let{color:d,lineWidth:h}=u,p=rv(u,["color","lineWidth"]),{color:g=d,size:m=h,seriesColor:y,seriesX:v,seriesY:b}=e,x=nT(s,e),O=tp(s),w=r&&y?nS(y,v,b,r,i,O):g,_=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p),w&&{stroke:w}),m&&{lineWidth:m}),x&&{transform:x}),l);if(tg(s)){let t=s.getCenter();f=e=>rm(nG().curve(rh)).angle((n,r)=>eJ(eU(e[r],t))).radius((n,r)=>eX(e[r],t)).defined(t=>{let[e,n]=t;return a(e)&&a(n)}).curve(n)(e)}else f=nG().x(t=>t[0]).y(t=>t[1]).defined(t=>{let[e,n]=t;return a(e)&&a(n)}).curve(n);let[M,k]=function(t,e){let n=[],r=[],i=!1,a=null;for(let o of t)e(o[0])&&e(o[1])?(n.push(o),i&&(i=!1,r.push([a,o])),a=o):i=!0;return[n,r]}(t,a),C=e$(_,"connect"),j=!!k.length;return j&&(!o||Object.keys(C).length)?j&&!o?eV(c.createElement("path",{})).style("d",f(t)).call(nj,_).node():eV(new rb).style("style1",Object.assign(Object.assign({},_),C)).style("style2",_).style("d1",k.map(f).join(",")).style("d2",f(t)).node():eV(c.createElement("path",{})).style("d",f(M)||[]).call(nj,_).node()}};rx.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rO=(t,e)=>{let{coordinate:n}=e;return function(){for(var r=arguments.length,i=Array(r),a=0;a1e-12){var l=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*l-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,i=(i*l-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>1e-12){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*c+t._x1*t._l23_2a-e*t._l12_2a)/u,o=(o*c+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(r,i,a,o,t._x2,t._y2)}function rC(t,e){this._context=t,this._alpha=e}function rj(t,e){this._context=t,this._alpha=e}rO.props=Object.assign(Object.assign({},rx.props),{defaultMarker:"line"}),r_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:rw(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:rw(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new r_(t,e)}return n.tension=function(e){return t(+e)},n}(0),rM.prototype={areaStart:nq,areaEnd:nq,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:rw(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new rM(t,e)}return n.tension=function(e){return t(+e)},n}(0),rC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:rk(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return e?new rC(t,e):new r_(t,0)}return n.alpha=function(e){return t(+e)},n}(.5),rj.prototype={areaStart:nq,areaEnd:nq,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:rk(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var rA=function t(e){function n(t){return e?new rj(t,e):new rM(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function rS(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0);return((a<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs((a*i+o*r)/(r+i)))||0}function rE(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function rP(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,l=(a-r)/3;t._context.bezierCurveTo(r+l,i+l*e,a-l,o-l*n,a,o)}function rR(t){this._context=t}function rT(t){this._context=new rL(t)}function rL(t){this._context=t}function rI(t){return new rR(t)}function rN(t){return new rT(t)}rR.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:rP(this,this._t0,rE(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,rP(this,rE(this,n=rS(this,t,e)),n);break;default:rP(this,this._t0,n=rS(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(rT.prototype=Object.create(rR.prototype)).point=function(t,e){rR.prototype.point.call(this,e,t)},rL.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,a){this._context.bezierCurveTo(e,t,r,n,a,i)}};var rB=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rD=(t,e)=>{let n=rB(t,[]),{coordinate:r}=e;return function(){for(var t=arguments.length,i=Array(t),a=0;a=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};let rZ=(t,e)=>rx(Object.assign({curve:rW},t),e);rZ.props=Object.assign(Object.assign({},rx.props),{defaultMarker:"hv"});let rH=(t,e)=>rx(Object.assign({curve:r$},t),e);rH.props=Object.assign(Object.assign({},rx.props),{defaultMarker:"vh"});let rG=(t,e)=>rx(Object.assign({curve:rz},t),e);rG.props=Object.assign(Object.assign({},rx.props),{defaultMarker:"hvh"});var rq=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rV=(t,e)=>{let{document:n}=e;return(e,r,i)=>{let{seriesSize:a,color:o}=r,{color:l}=i,s=rq(i,["color"]),c=ta();for(let t=0;t(t,e)=>{let{style:n={},encode:r}=e,{series:i}=r,{gradient:a}=n;return!a||i?[t,e]:[t,R({},e,{encode:{series:I(N(t,void 0))}})]};rY.props={};let rU=()=>(t,e)=>{let{encode:n}=e,{series:r,color:i}=n;if(void 0!==r||void 0===i)return[t,e];let[a,o]=B(n,"color");return[t,R({},e,{encode:{series:T(a,o)}})]};rU.props={};let rQ={line:rO,smooth:rD,hv:rZ,vh:rH,hvh:rG,trail:rV},rX=(t,e,n,r)=>{var i,a;let{series:o,x:l,y:s}=n,{x:c,y:u}=e;if(void 0===l||void 0===s)throw Error("Missing encode for x or y channel.");let f=o?Array.from(eA(t,t=>o[t]).values()):[t],d=f.map(t=>t[0]).filter(t=>void 0!==t),h=((null===(i=null==c?void 0:c.getBandWidth)||void 0===i?void 0:i.call(c))||0)/2,p=((null===(a=null==u?void 0:u.getBandWidth)||void 0===a?void 0:a.call(u))||0)/2,g=Array.from(f,t=>t.map(t=>r.map([+l[t]+h,+s[t]+p])));return[d,g,f]},rK=(t,e,n,r)=>{let i=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("position")}).map(t=>{let[,e]=t;return e});if(0===i.length)throw Error("Missing encode for position channel.");let a=Array.from(t,t=>{let e=i.map(e=>+e[t]),n=r.map(e),a=[];for(let t=0;t(t,e,n,r)=>{let i=tv(r)?rK:rX;return i(t,e,n,r)};rJ.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:rQ,channels:[...n6({shapes:Object.keys(rQ)}),{name:"x"},{name:"y"},{name:"position",independent:!0},{name:"size"},{name:"series",scale:"band"}],preInference:[...rt(),{type:rY},{type:rU}],postInference:[...n9(),{type:n1,channel:"color"},{type:n2,channel:["position"]}],interaction:{shareTooltip:!0,seriesTooltip:!0,crosshairs:!0}};var r0=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let r1=(t,e,n)=>[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e],["Z"]];r1.style=["fill"];let r2=r1.bind(void 0);r2.style=["stroke","lineWidth"];let r5=(t,e,n)=>[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]];r5.style=["fill"];let r3=r5.bind(void 0);r3.style=["fill"];let r4=r5.bind(void 0);r4.style=["stroke","lineWidth"];let r6=(t,e,n)=>{let r=.618*n;return[["M",t-r,e],["L",t,e-n],["L",t+r,e],["L",t,e+n],["Z"]]};r6.style=["fill"];let r8=r6.bind(void 0);r8.style=["stroke","lineWidth"];let r9=(t,e,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]};r9.style=["fill"];let r7=r9.bind(void 0);r7.style=["stroke","lineWidth"];let it=(t,e,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]};it.style=["fill"];let ie=it.bind(void 0);ie.style=["stroke","lineWidth"];let ir=(t,e,n)=>{let r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]};ir.style=["fill"];let ii=ir.bind(void 0);ii.style=["stroke","lineWidth"];let ia=(t,e,n)=>{let r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]};ia.style=["fill"];let io=ia.bind(void 0);io.style=["stroke","lineWidth"];let il=(t,e,n)=>[["M",t,e+n],["L",t,e-n]];il.style=["stroke","lineWidth"];let is=(t,e,n)=>[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]];is.style=["stroke","lineWidth"];let ic=(t,e,n)=>[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]];ic.style=["stroke","lineWidth"];let iu=(t,e,n)=>[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]];iu.style=["stroke","lineWidth"];let id=(t,e,n)=>[["M",t-n,e],["L",t+n,e]];id.style=["stroke","lineWidth"];let ih=(t,e,n)=>[["M",t-n,e],["L",t+n,e]];ih.style=["stroke","lineWidth"];let ip=ih.bind(void 0);ip.style=["stroke","lineWidth"];let ig=(t,e,n)=>[["M",t-n,e],["A",n/2,n/2,0,1,1,t,e],["A",n/2,n/2,0,1,0,t+n,e]];ig.style=["stroke","lineWidth"];let im=(t,e,n)=>[["M",t-n-1,e-2.5],["L",t,e-2.5],["L",t,e+2.5],["L",t+n+1,e+2.5]];im.style=["stroke","lineWidth"];let iy=(t,e,n)=>[["M",t-n-1,e+2.5],["L",t,e+2.5],["L",t,e-2.5],["L",t+n+1,e-2.5]];iy.style=["stroke","lineWidth"];let iv=(t,e,n)=>[["M",t-(n+1),e+2.5],["L",t-n/2,e+2.5],["L",t-n/2,e-2.5],["L",t+n/2,e-2.5],["L",t+n/2,e+2.5],["L",t+n+1,e+2.5]];iv.style=["stroke","lineWidth"];let ib=(t,e,n)=>[["M",t-5,e+2.5],["L",t-5,e],["L",t,e],["L",t,e-3],["L",t,e+3],["L",t+6.5,e+3]];ib.style=["stroke","lineWidth"];let ix=new Map([["bowtie",ia],["cross",is],["dash",ip],["diamond",r6],["dot",ih],["hexagon",ir],["hollowBowtie",io],["hollowDiamond",r8],["hollowHexagon",ii],["hollowPoint",r2],["hollowSquare",r4],["hollowTriangle",r7],["hollowTriangleDown",ie],["hv",im],["hvh",iv],["hyphen",id],["line",il],["plus",iu],["point",r1],["rect",r3],["smooth",ig],["square",r5],["tick",ic],["triangleDown",it],["triangle",r9],["vh",iy],["vhv",ib]]);var iO=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function iw(t,e,n,r){if(1===e.length)return;let{size:i}=n;if("fixed"===t)return i;if("normal"===t||tb(r)){let[[t,n],[r,i]]=e,a=Math.abs((r-t)/2),o=Math.abs((i-n)/2);return Math.max(0,(a+o)/2)}return i}let i_=(t,e)=>{let{colorAttribute:n,symbol:r,mode:i="auto"}=t,a=iO(t,["colorAttribute","symbol","mode"]),o=ix.get(r)||ix.get("point"),{coordinate:l,document:s}=e;return(e,r,c)=>{let{lineWidth:u,color:f}=c,d=a.stroke?u||1:u,{color:h=f,transform:p,opacity:g}=r,[m,y]=nL(e),v=iw(i,e,r,l),b=v||a.r||c.r;return eV(s.createElement("path",{})).call(nj,c).style("fill","transparent").style("d",o(m,y,b)).style("lineWidth",d).style("transform",p).style("transformOrigin","".concat(m-b," ").concat(y-b)).style("stroke",h).style(nR(t),g).style(n,h).call(nj,a).node()}};i_.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let iM=(t,e)=>i_(Object.assign({colorAttribute:"stroke",symbol:"point"},t),e);iM.props=Object.assign({defaultMarker:"hollowPoint"},i_.props);let ik=(t,e)=>i_(Object.assign({colorAttribute:"stroke",symbol:"diamond"},t),e);ik.props=Object.assign({defaultMarker:"hollowDiamond"},i_.props);let iC=(t,e)=>i_(Object.assign({colorAttribute:"stroke",symbol:"hexagon"},t),e);iC.props=Object.assign({defaultMarker:"hollowHexagon"},i_.props);let ij=(t,e)=>i_(Object.assign({colorAttribute:"stroke",symbol:"square"},t),e);ij.props=Object.assign({defaultMarker:"hollowSquare"},i_.props);let iA=(t,e)=>i_(Object.assign({colorAttribute:"stroke",symbol:"triangle-down"},t),e);iA.props=Object.assign({defaultMarker:"hollowTriangleDown"},i_.props);let iS=(t,e)=>i_(Object.assign({colorAttribute:"stroke",symbol:"triangle"},t),e);iS.props=Object.assign({defaultMarker:"hollowTriangle"},i_.props);let iE=(t,e)=>i_(Object.assign({colorAttribute:"stroke",symbol:"bowtie"},t),e);iE.props=Object.assign({defaultMarker:"hollowBowtie"},i_.props);var iP=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let iR=(t,e)=>{let{colorAttribute:n,mode:r="auto"}=t,i=iP(t,["colorAttribute","mode"]),{coordinate:a,document:o}=e;return(e,l,s)=>{let{lineWidth:c,color:u}=s,f=i.stroke?c||1:c,{color:d=u,transform:h,opacity:p}=l,[g,m]=nL(e),y=iw(r,e,l,a),v=y||i.r||s.r;return eV(o.createElement("circle",{})).call(nj,s).style("fill","transparent").style("cx",g).style("cy",m).style("r",v).style("lineWidth",f).style("transform",h).style("transformOrigin","".concat(g," ").concat(m)).style("stroke",d).style(nR(t),p).style(n,d).call(nj,i).node()}},iT=(t,e)=>iR(Object.assign({colorAttribute:"fill"},t),e);iT.props={defaultMarker:"circle",defaultEnterAnimation:"fadeIn",defaultExitAnimation:"fadeOut"};let iL=(t,e)=>iR(Object.assign({colorAttribute:"stroke"},t),e);iL.props=Object.assign({defaultMarker:"hollowPoint"},iT.props);let iI=(t,e)=>i_(Object.assign({colorAttribute:"fill",symbol:"point"},t),e);iI.props=Object.assign({defaultMarker:"point"},i_.props);let iN=(t,e)=>i_(Object.assign({colorAttribute:"stroke",symbol:"plus"},t),e);iN.props=Object.assign({defaultMarker:"plus"},i_.props);let iB=(t,e)=>i_(Object.assign({colorAttribute:"fill",symbol:"diamond"},t),e);iB.props=Object.assign({defaultMarker:"diamond"},i_.props);let iD=(t,e)=>i_(Object.assign({colorAttribute:"fill",symbol:"square"},t),e);iD.props=Object.assign({defaultMarker:"square"},i_.props);let iF=(t,e)=>i_(Object.assign({colorAttribute:"fill",symbol:"triangle"},t),e);iF.props=Object.assign({defaultMarker:"triangle"},i_.props);let iz=(t,e)=>i_(Object.assign({colorAttribute:"fill",symbol:"hexagon"},t),e);iz.props=Object.assign({defaultMarker:"hexagon"},i_.props);let i$=(t,e)=>i_(Object.assign({colorAttribute:"stroke",symbol:"cross"},t),e);i$.props=Object.assign({defaultMarker:"cross"},i_.props);let iW=(t,e)=>i_(Object.assign({colorAttribute:"fill",symbol:"bowtie"},t),e);iW.props=Object.assign({defaultMarker:"bowtie"},i_.props);let iZ=(t,e)=>i_(Object.assign({colorAttribute:"stroke",symbol:"hyphen"},t),e);iZ.props=Object.assign({defaultMarker:"hyphen"},i_.props);let iH=(t,e)=>i_(Object.assign({colorAttribute:"stroke",symbol:"line"},t),e);iH.props=Object.assign({defaultMarker:"line"},i_.props);let iG=(t,e)=>i_(Object.assign({colorAttribute:"stroke",symbol:"tick"},t),e);iG.props=Object.assign({defaultMarker:"tick"},i_.props);let iq=(t,e)=>i_(Object.assign({colorAttribute:"fill",symbol:"triangle-down"},t),e);iq.props=Object.assign({defaultMarker:"triangleDown"},i_.props);let iV=()=>(t,e)=>{let{encode:n}=e,{y:r}=n;return void 0!==r?[t,e]:[t,R({},e,{encode:{y:L(N(t,0))},scale:{y:{guide:null}}})]};iV.props={};let iY=()=>(t,e)=>{let{encode:n}=e,{size:r}=n;return void 0!==r?[t,e]:[t,R({},e,{encode:{size:I(N(t,3))}})]};iY.props={};let iU={hollow:iM,hollowDiamond:ik,hollowHexagon:iC,hollowSquare:ij,hollowTriangleDown:iA,hollowTriangle:iS,hollowBowtie:iE,hollowCircle:iL,point:iI,plus:iN,diamond:iB,square:iD,triangle:iF,hexagon:iz,cross:i$,bowtie:iW,hyphen:iZ,line:iH,tick:iG,triangleDown:iq,circle:iT},iQ=t=>(e,n,r,i)=>{let{x:a,y:o,x1:l,y1:s,size:c,dx:u,dy:f}=r,[d,h]=i.getSize(),p=rn(n,r,t),g=t=>{let e=+((null==u?void 0:u[t])||0),n=+((null==f?void 0:f[t])||0),r=l?(+a[t]+ +l[t])/2:+a[t],i=s?(+o[t]+ +s[t])/2:+o[t];return[r+e,i+n]},m=c?Array.from(e,t=>{let[e,n]=g(t),r=+c[t],a=r/d,o=r/h;return[i.map(p([e-a,n-o],t)),i.map(p([e+a,n+o],t))]}):Array.from(e,t=>[i.map(p(g(t),t))]);return[e,m]};iQ.props={defaultShape:"hollow",defaultLabelShape:"label",composite:!1,shape:iU,channels:[...n6({shapes:Object.keys(iU)}),{name:"x",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size",quantitative:"sqrt"},{name:"dx",scale:"identity"},{name:"dy",scale:"identity"}],preInference:[...rt(),{type:$},{type:iV}],postInference:[{type:iY},...n8()]};var iX=function(t){return"function"==typeof t};function iK(t){i0(t,!0)}function iJ(t){i0(t,!1)}function i0(t,e){var n=e?"visible":"hidden";!function t(e,n){n(e),e.children&&e.children.forEach(function(e){e&&t(e,n)})}(t,function(t){t.attr("visibility",n)})}var i1=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=5),Object.entries(e).forEach(function(i){var a=(0,tM.CR)(i,2),o=a[0],l=a[1];Object.prototype.hasOwnProperty.call(e,o)&&(l?P(l)?(P(t[o])||(t[o]={}),ne.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let al=ry(t=>{let e;let n=t.attributes,{className:r,class:i,transform:a,rotate:o,labelTransform:l,labelTransformOrigin:s,x:c,y:u,x0:f=c,y0:d=u,text:h,background:p,connector:g,startMarker:m,endMarker:y,coordCenter:v,innerHTML:b}=n,x=ao(n,["className","class","transform","rotate","labelTransform","labelTransformOrigin","x","y","x0","y0","text","background","connector","startMarker","endMarker","coordCenter","innerHTML"]);if(t.style.transform="translate(".concat(c,", ").concat(u,")"),[c,u,f,d].some(t=>!(0,tC.Z)(t))){t.children.forEach(t=>t.remove());return}let O=e$(x,"background"),{padding:w}=O,_=ao(O,["padding"]),M=e$(x,"connector"),{points:k=[]}=M,C=ao(M,["points"]);e=b?eV(t).maybeAppend("html","html",r).style("zIndex",0).style("innerHTML",b).call(nj,Object.assign({transform:l,transformOrigin:s},x)).node():eV(t).maybeAppend("text","text").style("zIndex",0).style("text",h).call(nj,Object.assign({textBaseline:"middle",transform:l,transformOrigin:s},x)).node();let j=eV(t).maybeAppend("background","rect").style("zIndex",-1).call(nj,function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],[n=0,r=0,i=n,a=r]=e,o=t.parentNode,l=o.getEulerAngles();o.setEulerAngles(0);let{min:s,halfExtents:c}=t.getLocalBounds(),[u,f]=s,[d,h]=c;return o.setEulerAngles(l),{x:u-a,y:f-n,width:2*d+a+r,height:2*h+n+i}}(e,w)).call(nj,p?_:{}).node(),A=+f4)||void 0===arguments[4]||arguments[4],a=!(arguments.length>5)||void 0===arguments[5]||arguments[5],o=t=>nG()(t);if(!e[0]&&!e[1])return o([function(t){let{min:[e,n],max:[r,i]}=t.getLocalBounds(),a=0,o=0;return e>0&&(a=e),r<0&&(a=r),n>0&&(o=n),i<0&&(o=i),[a,o]}(t),e]);if(!n.length)return o([[0,0],e]);let[l,s]=n,c=[...s],u=[...l];if(s[0]!==l[0]){let t=i?-4:4;c[1]=s[1],a&&!i&&(c[0]=Math.max(l[0],s[0]-t),s[1]l[1]?u[1]=c[1]:(u[1]=l[1],u[0]=Math.max(u[0],c[0]-t))),!a&&i&&(c[0]=Math.min(l[0],s[0]-t),s[1]>l[1]?u[1]=c[1]:(u[1]=l[1],u[0]=Math.min(u[0],c[0]-t))),a&&i&&(c[0]=Math.min(l[0],s[0]-t),s[1]{let{coordinate:n}=e;return(e,r,i)=>{let{color:a,text:o="",fontSize:l,rotate:s=0,transform:c=""}=r,u={text:String(o),stroke:a,fill:a,fontSize:l},[[f,d]]=e;return eV(new al).style("x",f).style("y",d).call(nj,i).style("transform","".concat(c,"rotate(").concat(+s,")")).style("coordCenter",n.getCenter()).call(nj,u).call(nj,t).node()}};as.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var ac=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let au=ry(t=>{let e=t.attributes,{class:n,x:r,y:i,transform:a}=e,o=ac(e,["class","x","y","transform"]),l=e$(o,"marker"),{size:s=24}=l,c=()=>(function(t){let e=t/Math.sqrt(2),n=t*Math.sqrt(2),[r,i]=[-e,e-n],[a,o]=[0,0],[l,s]=[e,e-n];return[["M",r,i],["A",t,t,0,1,1,l,s],["L",a,o],["Z"]]})(s/2),u=eV(t).maybeAppend("marker",()=>new aa({})).call(t=>t.node().update(Object.assign({symbol:c},l))).node(),[f,d]=function(t){let{min:e,max:n}=t.getLocalBounds();return[(e[0]+n[0])*.5,(e[1]+n[1])*.5]}(u);eV(t).maybeAppend("text","text").style("x",f).style("y",d).call(nj,o)}),af=(t,e)=>{let n=ac(t,[]);return(t,e,r)=>{let{color:i}=r,a=ac(r,["color"]),{color:o=i,text:l=""}=e,s={text:String(l),stroke:o,fill:o},[[c,u]]=t;return eV(new au).call(nj,a).style("transform","translate(".concat(c,",").concat(u,")")).call(nj,s).call(nj,n).node()}};af.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ad=(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let{color:a,text:o="",fontSize:l,rotate:s=0,transform:c=""}=r,u={text:String(o),stroke:a,fill:a,fontSize:l,textAlign:"center",textBaseline:"middle"},[[f,d]]=e,h=eV(new t_.xv).style("x",f).style("y",d).call(nj,i).style("transformOrigin","center center").style("transform","".concat(c,"rotate(").concat(s,"deg)")).style("coordCenter",n.getCenter()).call(nj,u).call(nj,t).node();return h}};ad.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ah=()=>(t,e)=>{let{data:n}=e;if(!Array.isArray(n)||n.some(F))return[t,e];let r=Array.isArray(n[0])?n:[n],i=r.map(t=>t[0]),a=r.map(t=>t[1]);return[t,R({},e,{encode:{x:T(i),y:T(a)}})]};ah.props={};var ap=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ag=()=>(t,e)=>{let{data:n,style:r={}}=e,i=ap(e,["data","style"]),{x:a,y:o}=r,l=ap(r,["x","y"]);if(void 0==a||void 0==o)return[t,e];let s=a||0,c=o||0;return[[0],R({},i,{data:[0],cartesian:!0,encode:{x:T([s]),y:T([c])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:l})]};ag.props={};let am={text:as,badge:af,tag:ad},ay=t=>{let{cartesian:e=!1}=t;return e?ri:(e,n,r,i)=>{let{x:a,y:o}=r,l=rn(n,r,t),s=Array.from(e,t=>{let e=[+a[t],+o[t]];return[i.map(l(e,t))]});return[e,s]}};ay.props={defaultShape:"text",defaultLabelShape:"label",composite:!1,shape:am,channels:[...n6({shapes:Object.keys(am)}),{name:"x",required:!0},{name:"y",required:!0},{name:"text",scale:"identity"},{name:"fontSize",scale:"identity"},{name:"rotate",scale:"identity"}],preInference:[...rt(),{type:ah},{type:ag}],postInference:[...n8()]};let av=()=>(t,e)=>[t,R({scale:{x:{padding:0},y:{padding:0}}},e)];av.props={};let ab={cell:nD,hollow:nF},ax=()=>(t,e,n,r)=>{let{x:i,y:a}=n,o=e.x,l=e.y,s=Array.from(t,t=>{let e=o.getBandWidth(o.invert(+i[t])),n=l.getBandWidth(l.invert(+a[t])),s=+i[t],c=+a[t];return[[s,c],[s+e,c],[s+e,c+n],[s,c+n]].map(t=>r.map(t))});return[t,s]};function aO(t,e,n){var r=null,i=W(!0),a=null,o=nW,l=null,s=to(c);function c(c){var u,f,d,h,p,g=(c=nz(c)).length,m=!1,y=Array(g),v=Array(g);for(null==a&&(l=o(p=s())),u=0;u<=g;++u){if(!(u=f;--d)l.point(y[d],v[d]);l.lineEnd(),l.areaEnd()}}m&&(y[u]=+t(h,u,c),v[u]=+e(h,u,c),l.point(r?+r(h,u,c):y[u],n?+n(h,u,c):v[u]))}if(p)return l=null,p+""||null}function u(){return nG().defined(i).curve(o).context(a)}return t="function"==typeof t?t:void 0===t?nZ:W(+t),e="function"==typeof e?e:void 0===e?W(0):W(+e),n="function"==typeof n?n:void 0===n?nH:W(+n),c.x=function(e){return arguments.length?(t="function"==typeof e?e:W(+e),r=null,c):t},c.x0=function(e){return arguments.length?(t="function"==typeof e?e:W(+e),c):t},c.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:W(+t),c):r},c.y=function(t){return arguments.length?(e="function"==typeof t?t:W(+t),n=null,c):e},c.y0=function(t){return arguments.length?(e="function"==typeof t?t:W(+t),c):e},c.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:W(+t),c):n},c.lineX0=c.lineY0=function(){return u().x(t).y(e)},c.lineY1=function(){return u().x(t).y(n)},c.lineX1=function(){return u().x(r).y(e)},c.defined=function(t){return arguments.length?(i="function"==typeof t?t:W(!!t),c):i},c.curve=function(t){return arguments.length?(o=t,null!=a&&(l=o(a)),c):o},c.context=function(t){return arguments.length?(null==t?a=l=null:l=o(a=t),c):a},c}ax.props={defaultShape:"cell",defaultLabelShape:"label",shape:ab,composite:!1,channels:[...n6({shapes:Object.keys(ab)}),{name:"x",required:!0,scale:"band"},{name:"y",required:!0,scale:"band"}],preInference:[...rt(),{type:$},{type:iV},{type:av}],postInference:[...n8()]};var aw=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let a_=ry(t=>{let{areaPath:e,connectPath:n,areaStyle:r,connectStyle:i}=t.attributes,a=t.ownerDocument;eV(t).maybeAppend("connect-path",()=>a.createElement("path",{})).style("d",n).call(nj,i),eV(t).maybeAppend("area-path",()=>a.createElement("path",{})).style("d",e).call(nj,r)}),aM=(t,e)=>{let{curve:n,gradient:r=!1,defined:i=t=>!Number.isNaN(t)&&null!=t,connect:a=!1}=t,o=aw(t,["curve","gradient","defined","connect"]),{coordinate:l,document:s}=e;return(t,e,c)=>{let{color:u}=c,{color:f=u,seriesColor:d,seriesX:h,seriesY:p}=e,g=tp(l),m=nT(l,e),y=r&&d?nS(d,h,p,r,void 0,g):f,v=Object.assign(Object.assign(Object.assign(Object.assign({},c),{stroke:y,fill:y}),m&&{transform:m}),o),[b,x]=function(t,e){let n=[],r=[],i=[],a=!1,o=null,l=t.length/2;for(let s=0;s!e(t)))a=!0;else{if(n.push(c),r.push(u),a&&o){a=!1;let[t,e]=o;i.push([t,c,e,u])}o=[c,u]}}return[n.concat(r),i]}(t,i),O=e$(v,"connect"),w=!!x.length,_=t=>eV(s.createElement("path",{})).style("d",t||"").call(nj,v).node();if(tg(l)){let e=t=>{var e,r,a,o,s,c;let u=l.getCenter(),f=t.slice(0,t.length/2),d=t.slice(t.length/2);return(r=(e=aO().curve(rh)).curve,a=e.lineX0,o=e.lineX1,s=e.lineY0,c=e.lineY1,e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return rm(a())},delete e.lineX0,e.lineEndAngle=function(){return rm(o())},delete e.lineX1,e.lineInnerRadius=function(){return rm(s())},delete e.lineY0,e.lineOuterRadius=function(){return rm(c())},delete e.lineY1,e.curve=function(t){return arguments.length?r(rg(t)):r()._curve},e).angle((t,e)=>eJ(eU(f[e],u))).outerRadius((t,e)=>eX(f[e],u)).innerRadius((t,e)=>eX(d[e],u)).defined((t,e)=>[...f[e],...d[e]].every(i)).curve(n)(d)};return w&&(!a||Object.keys(O).length)?w&&!a?_(e(t)):eV(new a_).style("areaStyle",v).style("connectStyle",Object.assign(Object.assign({},O),o)).style("areaPath",e(t)).style("connectPath",x.map(e).join("")).node():_(e(b))}{let e=t=>{let e=t.slice(0,t.length/2),r=t.slice(t.length/2);return g?aO().y((t,n)=>e[n][1]).x1((t,n)=>e[n][0]).x0((t,e)=>r[e][0]).defined((t,n)=>[...e[n],...r[n]].every(i)).curve(n)(e):aO().x((t,n)=>e[n][0]).y1((t,n)=>e[n][1]).y0((t,e)=>r[e][1]).defined((t,n)=>[...e[n],...r[n]].every(i)).curve(n)(e)};return w&&(!a||Object.keys(O).length)?w&&!a?_(e(t)):eV(new a_).style("areaStyle",v).style("connectStyle",Object.assign(Object.assign({},O),o)).style("areaPath",e(t)).style("connectPath",x.map(e).join("")).node():_(e(b))}}};aM.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ak=(t,e)=>{let{coordinate:n}=e;return function(){for(var r=arguments.length,i=Array(r),a=0;ae.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let aj=(t,e)=>{let n=aC(t,[]),{coordinate:r}=e;return function(){for(var t=arguments.length,i=Array(t),a=0;afunction(){for(var n=arguments.length,r=Array(n),i=0;ifunction(){for(var n=arguments.length,r=Array(n),i=0;ifunction(){for(var n=arguments.length,r=Array(n),i=0;i(t,e,n,r)=>{var i,a;let{x:o,y:l,y1:s,series:c}=n,{x:u,y:f}=e,d=c?Array.from(eA(t,t=>c[t]).values()):[t],h=d.map(t=>t[0]).filter(t=>void 0!==t),p=((null===(i=null==u?void 0:u.getBandWidth)||void 0===i?void 0:i.call(u))||0)/2,g=((null===(a=null==f?void 0:f.getBandWidth)||void 0===a?void 0:a.call(f))||0)/2,m=Array.from(d,t=>{let e=t.length,n=Array(2*e);for(let i=0;i(t,e)=>{let{encode:n}=e,{y1:r}=n;if(r)return[t,e];let[i]=B(n,"y");return[t,R({},e,{encode:{y1:T([...i])}})]};aT.props={};let aL=()=>(t,e)=>{let{encode:n}=e,{x1:r}=n;if(r)return[t,e];let[i]=B(n,"x");return[t,R({},e,{encode:{x1:T([...i])}})]};aL.props={};var aI=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let aN=(t,e)=>{let{arrow:n=!0,arrowSize:r="40%"}=t,i=aI(t,["arrow","arrowSize"]),{document:a}=e;return(t,e,o)=>{let{defaultColor:l}=o,s=aI(o,["defaultColor"]),{color:c=l,transform:u}=e,[f,d]=t,h=ta();if(h.moveTo(...f),h.lineTo(...d),n){let[t,e]=function(t,e,n){let{arrowSize:r}=n,i="string"==typeof r?+parseFloat(r)/100*eX(t,e):r,a=Math.PI/6,o=Math.atan2(e[1]-t[1],e[0]-t[0]),l=Math.PI/2-o-a,s=[e[0]-i*Math.sin(l),e[1]-i*Math.cos(l)],c=o-a,u=[e[0]-i*Math.cos(c),e[1]-i*Math.sin(c)];return[s,u]}(f,d,{arrowSize:r});h.moveTo(...t),h.lineTo(...d),h.lineTo(...e)}return eV(a.createElement("path",{})).call(nj,s).style("d",h.toString()).style("stroke",c).style("transform",u).call(nj,i).node()}};aN.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let aB=(t,e)=>{let{arrow:n=!1}=t;return function(){for(var r=arguments.length,i=Array(r),a=0;ae.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let aF=(t,e)=>{let n=aD(t,[]),{coordinate:r,document:i}=e;return(t,e,a)=>{let{color:o}=a,l=aD(a,["color"]),{color:s=o,transform:c}=e,[u,f]=t,d=ta();if(d.moveTo(u[0],u[1]),tg(r)){let t=r.getCenter();d.quadraticCurveTo(t[0],t[1],f[0],f[1])}else{let t=e2(u,f),e=eX(u,f)/2;nA(d,u,f,t,e)}return eV(i.createElement("path",{})).call(nj,l).style("d",d.toString()).style("stroke",s).style("transform",c).call(nj,n).node()}};aF.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var az=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let a$=(t,e)=>{let n=az(t,[]),{document:r}=e;return(t,e,i)=>{let{color:a}=i,o=az(i,["color"]),{color:l=a,transform:s}=e,[c,u]=t,f=ta();return f.moveTo(c[0],c[1]),f.bezierCurveTo(c[0]/2+u[0]/2,c[1],c[0]/2+u[0]/2,u[1],u[0],u[1]),eV(r.createElement("path",{})).call(nj,o).style("d",f.toString()).style("stroke",l).style("transform",s).call(nj,n).node()}};a$.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var aW=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let aZ=(t,e)=>{let{cornerRatio:n=1/3}=t,r=aW(t,["cornerRatio"]),{coordinate:i,document:a}=e;return(t,e,o)=>{let{defaultColor:l}=o,s=aW(o,["defaultColor"]),{color:c=l,transform:u}=e,[f,d]=t,h=function(t,e,n,r){let i=ta();if(tg(n)){let a=n.getCenter(),o=eX(t,a),l=eX(e,a),s=(l-o)*r+o;return i.moveTo(t[0],t[1]),nA(i,t,e,a,s),i.lineTo(e[0],e[1]),i}return tp(n)?(i.moveTo(t[0],t[1]),i.lineTo(t[0]+(e[0]-t[0])*r,t[1]),i.lineTo(t[0]+(e[0]-t[0])*r,e[1]),i.lineTo(e[0],e[1]),i):(i.moveTo(t[0],t[1]),i.lineTo(t[0],t[1]+(e[1]-t[1])*r),i.lineTo(e[0],t[1]+(e[1]-t[1])*r),i.lineTo(e[0],e[1]),i)}(f,d,i,n);return eV(a.createElement("path",{})).call(nj,s).style("d",h.toString()).style("stroke",c).style("transform",u).call(nj,r).node()}};aZ.props={defaultMarker:"vhv",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let aH={link:aB,arc:aF,smooth:a$,vhv:aZ},aG=t=>(e,n,r,i)=>{let{x:a,y:o,x1:l=a,y1:s=o}=r,c=rn(n,r,t),u=e.map(t=>[i.map(c([+a[t],+o[t]],t)),i.map(c([+l[t],+s[t]],t))]);return[e,u]};aG.props={defaultShape:"link",defaultLabelShape:"label",composite:!1,shape:aH,channels:[...n6({shapes:Object.keys(aH)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...rt(),{type:aT},{type:aL}],postInference:[...n8()]};var aq=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let aV=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o}=a,l=aq(a,["color"]),{color:s=o,src:c="",size:u=32,transform:f=""}=i,{width:d=u,height:h=u}=t,[[p,g]]=e,[m,y]=n.getSize();d="string"==typeof d?rr(d)*m:d,h="string"==typeof h?rr(h)*y:h;let v=p-Number(d)/2,b=g-Number(h)/2;return eV(r.createElement("image",{})).call(nj,l).style("x",v).style("y",b).style("src",c).style("stroke",s).style("transform",f).call(nj,t).style("width",d).style("height",h).node()}};aV.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let aY={image:aV},aU=t=>{let{cartesian:e}=t;return e?ri:(e,n,r,i)=>{let{x:a,y:o}=r,l=rn(n,r,t),s=Array.from(e,t=>{let e=[+a[t],+o[t]];return[i.map(l(e,t))]});return[e,s]}};aU.props={defaultShape:"image",defaultLabelShape:"label",composite:!1,shape:aY,channels:[...n6({shapes:Object.keys(aY)}),{name:"x",required:!0},{name:"y",required:!0},{name:"src",scale:"identity"},{name:"size"}],preInference:[...rt(),{type:ah},{type:ag}],postInference:[...n8()]};var aQ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let aX=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o}=a,l=aQ(a,["color"]),{color:s=o,transform:c}=i,u=function(t,e){let n=ta();if(tg(e)){let r=e.getCenter(),i=[...t,t[0]],a=i.map(t=>eX(t,r));return i.forEach((e,i)=>{if(0===i){n.moveTo(e[0],e[1]);return}let o=a[i],l=t[i-1],s=a[i-1];void 0!==s&&1e-10>Math.abs(o-s)?nA(n,l,e,r,o):n.lineTo(e[0],e[1])}),n.closePath(),n}return t.forEach((t,e)=>0===e?n.moveTo(t[0],t[1]):n.lineTo(t[0],t[1])),n.closePath(),n}(e,n);return eV(r.createElement("path",{})).call(nj,l).style("d",u.toString()).style("stroke",s).style("fill",s).style("transform",c).call(nj,t).node()}};aX.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var aK=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let aJ=(t,e)=>{let n=aK(t,[]),{coordinate:r,document:i}=e;return(t,e,a)=>{let{color:o}=a,l=aK(a,["color"]),{color:s=o,transform:c}=e,u=function(t,e){let[n,r,i,a]=t,o=ta();if(tg(e)){let t=e.getCenter(),l=eX(t,n);return o.moveTo(n[0],n[1]),o.quadraticCurveTo(t[0],t[1],i[0],i[1]),nA(o,i,a,t,l),o.quadraticCurveTo(t[0],t[1],r[0],r[1]),nA(o,r,n,t,l),o.closePath(),o}return o.moveTo(n[0],n[1]),o.bezierCurveTo(n[0]/2+i[0]/2,n[1],n[0]/2+i[0]/2,i[1],i[0],i[1]),o.lineTo(a[0],a[1]),o.bezierCurveTo(a[0]/2+r[0]/2,a[1],a[0]/2+r[0]/2,r[1],r[0],r[1]),o.lineTo(n[0],n[1]),o.closePath(),o}(t,r);return eV(i.createElement("path",{})).call(nj,l).style("d",u.toString()).style("fill",s||o).style("stroke",s||o).style("transform",c).call(nj,n).node()}};aJ.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let a0={polygon:aX,ribbon:aJ},a1=()=>(t,e,n,r)=>{let i=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("x")}).map(t=>{let[,e]=t;return e}),a=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[,e]=t;return e}),o=t.map(t=>{let e=[];for(let n=0;ne.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let a5=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o,transform:l}=i,{color:s,fill:c=s,stroke:u=s}=a,f=a2(a,["color","fill","stroke"]),d=function(t,e){let n=ta();if(tg(e)){let r=e.getCenter(),[i,a]=r,o=eK(eU(t[0],r)),l=eK(eU(t[1],r)),s=eX(r,t[2]),c=eX(r,t[3]),u=eX(r,t[8]),f=eX(r,t[10]),d=eX(r,t[11]);n.moveTo(...t[0]),n.arc(i,a,s,o,l),n.arc(i,a,s,l,o,!0),n.moveTo(...t[2]),n.lineTo(...t[3]),n.moveTo(...t[4]),n.arc(i,a,c,o,l),n.lineTo(...t[6]),n.arc(i,a,f,l,o,!0),n.closePath(),n.moveTo(...t[8]),n.arc(i,a,u,o,l),n.arc(i,a,u,l,o,!0),n.moveTo(...t[10]),n.lineTo(...t[11]),n.moveTo(...t[12]),n.arc(i,a,d,o,l),n.arc(i,a,d,l,o,!0)}else n.moveTo(...t[0]),n.lineTo(...t[1]),n.moveTo(...t[2]),n.lineTo(...t[3]),n.moveTo(...t[4]),n.lineTo(...t[5]),n.lineTo(...t[6]),n.lineTo(...t[7]),n.closePath(),n.moveTo(...t[8]),n.lineTo(...t[9]),n.moveTo(...t[10]),n.lineTo(...t[11]),n.moveTo(...t[12]),n.lineTo(...t[13]);return n}(e,n);return eV(r.createElement("path",{})).call(nj,f).style("d",d.toString()).style("stroke",u).style("fill",o||c).style("transform",l).call(nj,t).node()}};a5.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var a3=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let a4=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o,transform:l}=i,{color:s,fill:c=s,stroke:u=s}=a,f=a3(a,["color","fill","stroke"]),d=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4,r=ta();if(!tg(e))return r.moveTo(...t[2]),r.lineTo(...t[3]),r.lineTo(t[3][0]-n,t[3][1]),r.lineTo(t[10][0]-n,t[10][1]),r.lineTo(t[10][0]+n,t[10][1]),r.lineTo(t[3][0]+n,t[3][1]),r.lineTo(...t[3]),r.closePath(),r.moveTo(...t[10]),r.lineTo(...t[11]),r.moveTo(t[3][0]+n/2,t[8][1]),r.arc(t[3][0],t[8][1],n/2,0,2*Math.PI),r.closePath(),r;let i=e.getCenter(),[a,o]=i,l=eX(i,t[3]),s=eX(i,t[8]),c=eX(i,t[10]),u=eK(eU(t[2],i)),f=Math.asin(n/s),d=u-f,h=u+f;r.moveTo(...t[2]),r.lineTo(...t[3]),r.moveTo(Math.cos(d)*l+a,Math.sin(d)*l+o),r.arc(a,o,l,d,h),r.lineTo(Math.cos(h)*c+a,Math.sin(h)*c+o),r.arc(a,o,c,h,d,!0),r.lineTo(Math.cos(d)*l+a,Math.sin(d)*l+o),r.closePath(),r.moveTo(...t[10]),r.lineTo(...t[11]);let p=(d+h)/2;return r.moveTo(Math.cos(p)*(s+n/2)+a,Math.sin(p)*(s+n/2)+o),r.arc(Math.cos(p)*s+a,Math.sin(p)*s+o,n/2,p,2*Math.PI+p),r.closePath(),r}(e,n,4);return eV(r.createElement("path",{})).call(nj,f).style("d",d.toString()).style("stroke",u).style("fill",o||c).style("transform",l).call(nj,t).node()}};a4.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let a6={box:a5,violin:a4},a8=()=>(t,e,n,r)=>{let{x:i,y:a,y1:o,y2:l,y3:s,y4:c,series:u}=n,f=e.x,d=e.series,h=Array.from(t,t=>{let e=f.getBandWidth(f.invert(+i[t])),n=d?d.getBandWidth(d.invert(+(null==u?void 0:u[t]))):1,h=e*n,p=(+(null==u?void 0:u[t])||0)*e,g=+i[t]+p+h/2,[m,y,v,b,x]=[+a[t],+o[t],+l[t],+s[t],+c[t]];return[[g-h/2,x],[g+h/2,x],[g,x],[g,b],[g-h/2,b],[g+h/2,b],[g+h/2,y],[g-h/2,y],[g-h/2,v],[g+h/2,v],[g,y],[g,m],[g-h/2,m],[g+h/2,m]].map(t=>r.map(t))});return[t,h]};a8.props={defaultShape:"box",defaultLabelShape:"label",composite:!1,shape:a6,channels:[...n6({shapes:Object.keys(a6)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"}],preInference:[...rt(),{type:$}],postInference:[...n9()],interaction:{shareTooltip:!0}};let a9={vector:aN},a7=()=>(t,e,n,r)=>{let{x:i,y:a,size:o,rotate:l}=n,[s,c]=r.getSize(),u=t.map(t=>{let e=+l[t]/180*Math.PI,n=+o[t],u=n/s*Math.cos(e),f=-(n/c)*Math.sin(e);return[r.map([+i[t]-u/2,+a[t]-f/2]),r.map([+i[t]+u/2,+a[t]+f/2])]});return[t,u]};a7.props={defaultShape:"vector",defaultLabelShape:"label",composite:!1,shape:a9,channels:[...n6({shapes:Object.keys(a9)}),{name:"x",required:!0},{name:"y",required:!0},{name:"rotate",required:!0,scale:"identity"},{name:"size",required:!0}],preInference:[...rt()],postInference:[...n8()]};var ot=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let oe=(t,e)=>{let{arrow:n,arrowSize:r=4}=t,i=ot(t,["arrow","arrowSize"]),{coordinate:a,document:o}=e;return(t,e,l)=>{let{color:s,lineWidth:c}=l,u=ot(l,["color","lineWidth"]),{color:f=s,size:d=c}=e,h=n?function(t,e,n){let r=t.createElement("path",{style:Object.assign({d:"M ".concat(e,",").concat(e," L -").concat(e,",0 L ").concat(e,",-").concat(e," L 0,0 Z"),transformOrigin:"center"},n)});return r}(o,r,Object.assign({fill:i.stroke||f,stroke:i.stroke||f},e$(i,"arrow"))):null,p=function(t,e){if(!tg(e))return nG().x(t=>t[0]).y(t=>t[1])(t);let n=e.getCenter();return th()({startAngle:0,endAngle:2*Math.PI,outerRadius:eX(t[0],n),innerRadius:eX(t[1],n)})}(t,a),g=function(t,e){if(!tg(t))return e;let[n,r]=t.getCenter();return"translate(".concat(n,", ").concat(r,") ").concat(e||"")}(a,e.transform);return eV(o.createElement("path",{})).call(nj,u).style("d",p).style("stroke",f).style("lineWidth",d).style("transform",g).style("markerEnd",h).call(nj,i).node()}};oe.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let on=()=>(t,e)=>{let{data:n}=e;return!Array.isArray(n)||n.some(F)?[t,e]:[t,R({},e,{encode:{x:T(n)}})]};on.props={};let or={line:oe},oi=t=>(e,n,r,i)=>{let{x:a}=r,o=rn(n,r,R({style:{bandOffset:0}},t)),l=Array.from(e,t=>{let e=[a[t],1],n=[a[t],0];return[e,n].map(e=>i.map(o(e,t)))});return[e,l]};oi.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:or,channels:[...n7({shapes:Object.keys(or)}),{name:"x",required:!0}],preInference:[...rt(),{type:on}],postInference:[]};let oa=()=>(t,e)=>{let{data:n}=e;return!Array.isArray(n)||n.some(F)?[t,e]:[t,R({},e,{encode:{y:T(n)}})]};oa.props={};let oo={line:oe},ol=t=>(e,n,r,i)=>{let{y:a}=r,o=rn(n,r,R({style:{bandOffset:0}},t)),l=Array.from(e,t=>{let e=[0,a[t]],n=[1,a[t]];return[e,n].map(e=>i.map(o(e,t)))});return[e,l]};ol.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:oo,channels:[...n7({shapes:Object.keys(oo)}),{name:"y",required:!0}],preInference:[...rt(),{type:oa}],postInference:[]};var os=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function oc(t,e,n){return[["M",t,e],["L",t+2*n,e-n],["L",t+2*n,e+n],["Z"]]}let ou=(t,e)=>{let{offset:n=0,offset1:r=n,offset2:i=n,connectLength1:a,endMarker:o=!0}=t,l=os(t,["offset","offset1","offset2","connectLength1","endMarker"]),{coordinate:s}=e;return(t,e,n)=>{let{color:c,connectLength1:u}=n,f=os(n,["color","connectLength1"]),{color:d,transform:h}=e,p=function(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,[[a,o],[l,s]]=e;if(tp(t)){let t=a+n,e=t+i;return[[t,o],[e,o],[e,s],[l+r,s]]}let c=o-n,u=c-i;return[[a,c],[a,u],[l,u],[l,s-r]]}(s,t,r,i,null!=a?a:u),g=e$(Object.assign(Object.assign({},l),n),"endMarker");return eV(new t_.y$).call(nj,f).style("d",nG().x(t=>t[0]).y(t=>t[1])(p)).style("stroke",d||c).style("transform",h).style("markerEnd",o?new aa({className:"marker",style:Object.assign(Object.assign({},g),{symbol:oc})}):null).call(nj,l).node()}};ou.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let of={connector:ou},od=function(){for(var t=arguments.length,e=Array(t),n=0;n[0,1];let{[t]:i,["".concat(t,"1")]:a}=n;return t=>{var e;let n=(null===(e=r.getBandWidth)||void 0===e?void 0:e.call(r,r.invert(+a[t])))||0;return[i[t],a[t]+n]}}function op(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extendX:e=!1,extendY:n=!1}=t;return(t,r,i,a)=>{let o=oh("x",e,i,r.x),l=oh("y",n,i,r.y),s=Array.from(t,t=>{let[e,n]=o(t),[r,i]=l(t);return[[e,r],[n,r],[n,i],[e,i]].map(t=>a.map(t))});return[t,s]}}od.props={defaultShape:"connector",defaultLabelShape:"label",composite:!1,shape:of,channels:[...n7({shapes:Object.keys(of)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...rt()],postInference:[]};let og={range:nD},om=()=>op();om.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:og,channels:[...n7({shapes:Object.keys(og)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...rt()],postInference:[]};let oy=()=>(t,e)=>{let{data:n}=e;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(F))){let r=(t,e)=>Array.isArray(t[0])?t.map(t=>t[e]):[t[e]];return[t,R({},e,{encode:{x:T(r(n,0)),x1:T(r(n,1))}})]}return[t,e]};oy.props={};let ov={range:nD},ob=()=>op({extendY:!0});ob.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:ov,channels:[...n7({shapes:Object.keys(ov)}),{name:"x",required:!0}],preInference:[...rt(),{type:oy}],postInference:[]};let ox=()=>(t,e)=>{let{data:n}=e;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(F))){let r=(t,e)=>Array.isArray(t[0])?t.map(t=>t[e]):[t[e]];return[t,R({},e,{encode:{y:T(r(n,0)),y1:T(r(n,1))}})]}return[t,e]};ox.props={};let oO={range:nD},ow=()=>op({extendX:!0});ow.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:oO,channels:[...n7({shapes:Object.keys(oO)}),{name:"y",required:!0}],preInference:[...rt(),{type:ox}],postInference:[]};var o_=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let oM=(t,e)=>{let{arrow:n,colorAttribute:r}=t,i=o_(t,["arrow","colorAttribute"]),{coordinate:a,document:o}=e;return(t,e,n)=>{let{color:l,stroke:s}=n,c=o_(n,["color","stroke"]),{d:u,color:f=l}=e,[d,h]=a.getSize();return eV(o.createElement("path",{})).call(nj,c).style("d","function"==typeof u?u({width:d,height:h}):u).style(r,f).call(nj,i).node()}};oM.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ok=(t,e)=>oM(Object.assign({colorAttribute:"fill"},t),e);ok.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let oC=(t,e)=>oM(Object.assign({fill:"none",colorAttribute:"stroke"},t),e);oC.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let oj={path:ok,hollow:oC},oA=t=>(t,e,n,r)=>[t,t.map(()=>[[0,0]])];oA.props={defaultShape:"path",defaultLabelShape:"label",shape:oj,composite:!1,channels:[...n6({shapes:Object.keys(oj)}),{name:"d",scale:"identity"}],preInference:[...rt()],postInference:[]};var oS=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let oE=(t,e)=>{let{render:n}=t,r=oS(t,["render"]);return t=>{let[[i,a]]=t;return n(Object.assign(Object.assign({},r),{x:i,y:a}),e)}};oE.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let oP=()=>(t,e)=>{let{style:n={}}=e;return[t,R({},e,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(t=>{let[,e]=t;return"function"==typeof e}).map(t=>{let[e,n]=t;return[e,()=>n]})))})]};oP.props={};let oR=t=>{let{cartesian:e}=t;return e?ri:(e,n,r,i)=>{let{x:a,y:o}=r,l=rn(n,r,t),s=Array.from(e,t=>{let e=[+a[t],+o[t]];return[i.map(l(e,t))]});return[e,s]}};oR.props={defaultShape:"shape",defaultLabelShape:"label",composite:!1,shape:{shape:oE},channels:[{name:"x",required:!0},{name:"y",required:!0}],preInference:[...rt(),{type:ah},{type:ag},{type:oP}]};var oT=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let oL=(t,e)=>{let{document:n}=e;return(e,r,i)=>{let{transform:a}=r,{color:o}=i,l=oT(i,["color"]),{color:s=o}=r,[c,...u]=e,f=ta();return f.moveTo(...c),u.forEach(t=>{let[e,n]=t;f.lineTo(e,n)}),f.closePath(),eV(n.createElement("path",{})).call(nj,l).style("d",f.toString()).style("stroke",s||o).style("fill",s||o).style("fillOpacity",.4).style("transform",a).call(nj,t).node()}};oL.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let oI={density:oL},oN=()=>(t,e,n,r)=>{let{x:i,series:a}=n,o=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[,e]=t;return e}),l=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("size")}).map(t=>{let[,e]=t;return e});if(void 0===i||void 0===o||void 0===l)throw Error("Missing encode for x or y or size channel.");let s=e.x,c=e.series,u=Array.from(t,e=>{let n=s.getBandWidth(s.invert(+i[e])),u=c?c.getBandWidth(c.invert(+(null==a?void 0:a[e]))):1,f=(+(null==a?void 0:a[e])||0)*n,d=+i[e]+f+n*u/2,h=[...o.map((n,r)=>[d+ +l[r][e]/t.length,+o[r][e]]),...o.map((n,r)=>[d-+l[r][e]/t.length,+o[r][e]]).reverse()];return h.map(t=>r.map(t))});return[t,u]};function oB(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function oD(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n=i)&&(n=i)}return n}function oF(t){var e,n,r,i=t||1;function a(t,a){++e>i&&(r=n,o(1),++e),n[t]=a}function o(t){e=0,n=Object.create(null),t||(r=Object.create(null))}return o(),{clear:o,has:function(t){return void 0!==n[t]||void 0!==r[t]},get:function(t){var e=n[t];return void 0!==e?e:void 0!==(e=r[t])?(a(t,e),e):void 0},set:function(t,e){void 0!==n[t]?n[t]=e:a(t,e)}}}function oz(t,e,n){let r=t?t():document.createElement("canvas");return r.width=e,r.height=n,r}oN.props={defaultShape:"density",defaultLabelShape:"label",composite:!1,shape:oI,channels:[...n6({shapes:Object.keys(oI)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"size",required:!0},{name:"series",scale:"band"},{name:"size",required:!0,scale:"identity"}],preInference:[...rt(),{type:z},{type:$}],postInference:[...n9()],interaction:{shareTooltip:!0}},oF(3);let o$=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){for(var t=arguments.length,e=Array(t),n=0;n2&&void 0!==arguments[2]?arguments[2]:16,r=oF(n);return function(){for(var n=arguments.length,i=Array(n),a=0;a{let r=oz(n,2*t,2*t),i=r.getContext("2d");if(1===e)i.beginPath(),i.arc(t,t,t,0,2*Math.PI,!1),i.fillStyle="rgba(0,0,0,1)",i.fill();else{let n=i.createRadialGradient(t,t,t*e,t,t,t);n.addColorStop(0,"rgba(0,0,0,1)"),n.addColorStop(1,"rgba(0,0,0,0)"),i.fillStyle=n,i.fillRect(0,0,2*t,2*t)}return r},t=>"".concat(t));var oW=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let oZ=(t,e)=>{let{gradient:n,opacity:r,maxOpacity:i,minOpacity:a,blur:o,useGradientOpacity:l}=t,s=oW(t,["gradient","opacity","maxOpacity","minOpacity","blur","useGradientOpacity"]),{coordinate:c,createCanvas:u,document:f}=e;return(t,e,d)=>{var h,p;let{transform:g}=e,[m,y]=c.getSize(),v=t.map(t=>({x:t[0],y:t[1],value:t[2],radius:t[3]})),b=oB(t,t=>t[2]),x=oD(t,t=>t[2]),O=m&&y?function(t,e,n,r,i,a,o){let l=Object.assign({blur:.85,minOpacity:0,opacity:.6,maxOpacity:1,gradient:[[.25,"rgb(0,0,255)"],[.55,"rgb(0,255,0)"],[.85,"yellow"],[1,"rgb(255,0,0)"]]},a);l.minOpacity*=255,l.opacity*=255,l.maxOpacity*=255;let s=oz(o,t,e),c=s.getContext("2d"),u=function(t,e){let n=oz(e,256,1),r=n.getContext("2d"),i=r.createLinearGradient(0,0,256,1);return("string"==typeof t?t.split(" ").map(t=>{let[e,n]=t.split(":");return[+e,n]}):t).forEach(t=>{let[e,n]=t;i.addColorStop(e,n)}),r.fillStyle=i,r.fillRect(0,0,256,1),r.getImageData(0,0,256,1).data}(l.gradient,o);c.clearRect(0,0,t,e),function(t,e,n,r,i,a){let{blur:o}=i,l=r.length;for(;l--;){let{x:i,y:s,value:c,radius:u}=r[l],f=Math.min(c,n),d=i-u,h=s-u,p=o$(u,1-o,a),g=(f-e)/(n-e);t.globalAlpha=Math.max(g,.001),t.drawImage(p,d,h)}}(c,n,r,i,l,o);let f=function(t,e,n,r,i){let{minOpacity:a,opacity:o,maxOpacity:l,useGradientOpacity:s}=i,c=t.getImageData(0,0,e,n),u=c.data,f=u.length;for(let t=3;tvoid 0===t,Object.keys(h).reduce((t,e)=>{let n=h[e];return p(n,e)||(t[e]=n),t},{})),u):{canvas:null};return eV(f.createElement("image",{})).call(nj,d).style("x",0).style("y",0).style("width",m).style("height",y).style("src",O.canvas).style("transform",g).call(nj,s).node()}};oZ.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let oH={heatmap:oZ},oG=t=>(t,e,n,r)=>{let{x:i,y:a,size:o,color:l}=n,s=Array.from(t,t=>{let e=o?+o[t]:40;return[...r.map([+i[t],+a[t]]),l[t],e]});return[[0],[s]]};oG.props={defaultShape:"heatmap",defaultLabelShape:"label",composite:!1,shape:oH,channels:[...n6({shapes:Object.keys(oH)}),{name:"x",required:!0},{name:"y",required:!0},{name:"color",scale:"identity",required:!0},{name:"size"}],preInference:[...rt(),{type:$},{type:iV}],postInference:[...n8()]};var oq=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let oV=()=>({axis:!1,type:"text",encode:{x:"x",y:"y",text:"text",rotate:"rotate",fontSize:"size",shape:"tag"},scale:{x:{range:[0,1]},y:{range:[0,1]}},style:{fontFamily:t=>t.fontFamily}}),oY=(t,e)=>{var n,r,i,a;return n=void 0,r=void 0,i=void 0,a=function*(){let{width:n,height:r}=e,{data:i,encode:a={},scale:o,style:l={},layout:s={}}=t,c=oq(t,["data","encode","scale","style","layout"]),u=function(t,e){let{text:n="text",value:r="value"}=e;return t.map(t=>Object.assign(Object.assign({},t),{text:t[n],value:t[r]}))}(i,a);return R({},oV(),Object.assign(Object.assign({data:{value:u,transform:[Object.assign({type:"wordCloud",size:[n,r]},s)]},encode:a,scale:o,style:l},c),{axis:!1}))},new(i||(i=Promise))(function(t,e){function o(t){try{s(a.next(t))}catch(t){e(t)}}function l(t){try{s(a.throw(t))}catch(t){e(t)}}function s(e){var n;e.done?t(e.value):((n=e.value)instanceof i?n:new i(function(t){t(n)})).then(o,l)}s((a=a.apply(n,r||[])).next())})};oY.props={};let oU=()=>["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"];oU.props={};let oQ=()=>["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];oQ.props={};let oX=t=>new nO(t);oX.props={};let oK=Symbol("defaultUnknown");function oJ(t,e,n){for(let r=0;r`${t}`:"object"==typeof t?t=>JSON.stringify(t):t=>t}class o2 extends e6{getDefaultOptions(){return{domain:[],range:[],unknown:oK}}constructor(t){super(t)}map(t){return 0===this.domainIndexMap.size&&oJ(this.domainIndexMap,this.getDomain(),this.domainKey),o0({value:this.domainKey(t),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(t){return 0===this.rangeIndexMap.size&&oJ(this.rangeIndexMap,this.getRange(),this.rangeKey),o0({value:this.rangeKey(t),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(t){let[e]=this.options.domain,[n]=this.options.range;if(this.domainKey=o1(e),this.rangeKey=o1(n),!this.rangeIndexMap){this.rangeIndexMap=new Map,this.domainIndexMap=new Map;return}(!t||t.range)&&this.rangeIndexMap.clear(),(!t||t.domain||t.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)}clone(){return new o2(this.options)}getRange(){return this.options.range}getDomain(){if(this.sortedDomain)return this.sortedDomain;let{domain:t,compare:e}=this.options;return this.sortedDomain=e?[...t].sort(e):t,this.sortedDomain}}let o5=t=>new o2(t);function o3({map:t,initKey:e},n){let r=e(n);return t.has(r)?t.get(r):n}function o4(t){return"object"==typeof t?t.valueOf():t}o5.props={};class o6 extends Map{constructor(t){if(super(),this.map=new Map,this.initKey=o4,null!==t)for(let[e,n]of t)this.set(e,n)}get(t){return super.get(o3({map:this.map,initKey:this.initKey},t))}has(t){return super.has(o3({map:this.map,initKey:this.initKey},t))}set(t,e){return super.set(function({map:t,initKey:e},n){let r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}({map:this.map,initKey:this.initKey},t),e)}delete(t){return super.delete(function({map:t,initKey:e},n){let r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}({map:this.map,initKey:this.initKey},t))}}class o8 extends o2{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:oK,flex:[]}}constructor(t){super(t)}clone(){return new o8(this.options)}getStep(t){return void 0===this.valueStep?1:"number"==typeof this.valueStep?this.valueStep:void 0===t?Array.from(this.valueStep.values())[0]:this.valueStep.get(t)}getBandWidth(t){return void 0===this.valueBandWidth?1:"number"==typeof this.valueBandWidth?this.valueBandWidth:void 0===t?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(t)}getRange(){return this.adjustedRange}getPaddingInner(){let{padding:t,paddingInner:e}=this.options;return t>0?t:e}getPaddingOuter(){let{padding:t,paddingOuter:e}=this.options;return t>0?t:e}rescale(){super.rescale();let{align:t,domain:e,range:n,round:r,flex:i}=this.options,{adjustedRange:a,valueBandWidth:o,valueStep:l}=function(t){var e;let n,r;let{domain:i}=t,a=i.length;if(0===a)return{valueBandWidth:void 0,valueStep:void 0,adjustedRange:[]};let o=!!(null===(e=t.flex)||void 0===e?void 0:e.length);if(o)return function(t){let{domain:e,range:n,paddingOuter:r,paddingInner:i,flex:a,round:o,align:l}=t,s=e.length,c=function(t,e){let n=t.length,r=e-n;return r>0?[...t,...Array(r).fill(1)]:r<0?t.slice(0,e):t}(a,s),[u,f]=n,d=f-u,h=2/s*r+1-1/s*i,p=d/h,g=p*i/s,m=p-s*g,y=function(t){let e=Math.min(...t);return t.map(t=>t/e)}(c),v=y.reduce((t,e)=>t+e),b=m/v,x=new o6(e.map((t,e)=>{let n=y[e]*b;return[t,o?Math.floor(n):n]})),O=new o6(e.map((t,e)=>{let n=y[e]*b,r=n+g;return[t,o?Math.floor(r):r]})),w=Array.from(O.values()).reduce((t,e)=>t+e),_=d-(w-w/s*i),M=u+_*l,k=o?Math.round(M):M,C=Array(s);for(let t=0;td+e*n);return{valueStep:n,valueBandWidth:r,adjustedRange:m}}({align:t,range:n,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:e});this.valueStep=l,this.valueBandWidth=o,this.adjustedRange=a}}let o9=t=>new o8(t);o9.props={};var o7=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)};function lt(t){return(0,tz.Z)(t)?0:o7(t)?t.length:Object.keys(t).length}var le=function(t,e){if(!o7(t))return -1;var n=Array.prototype.indexOf;if(n)return n.call(t,e);for(var r=-1,i=0;iMath.abs(t)?t:parseFloat(t.toFixed(14))}let lr=[1,5,2,2.5,4,3],li=100*Number.EPSILON,la=(t,e,n=5,r=!0,i=lr,a=[.25,.2,.5,.05])=>{let o=n<0?0:Math.round(n);if(Number.isNaN(t)||Number.isNaN(e)||"number"!=typeof t||"number"!=typeof e||!o)return[];if(e-t<1e-15||1===o)return[t];let l={score:-2,lmin:0,lmax:0,lstep:0},s=1;for(;s<1/0;){for(let n=0;n=o?2-(c-1)/(o-1):1;if(a[0]*f+a[1]+a[2]*n+a[3]r?1-((n-r)/2)**2/(.1*r)**2:1}(t,e,c*(d-1));if(a[0]*f+a[1]*h+a[2]*n+a[3]=0&&(s=1),1-l/(o-1)-n+s}(u,i,s,h,p,c),y=1-.5*((e-p)**2+(t-h)**2)/(.1*(e-t))**2,v=function(t,e,n,r,i,a){let o=(t-1)/(a-i),l=(e-1)/(Math.max(a,r)-Math.min(n,i));return 2-Math.max(o/l,l/o)}(d,o,t,e,h,p),b=a[0]*m+a[1]*y+a[2]*v+1*a[3];b>l.score&&(!r||h<=t&&p>=e)&&(l.lmin=h,l.lmax=p,l.lstep=c,l.score=b)}}p+=1}d+=1}}s+=1}let u=ln(l.lmax),f=ln(l.lmin),d=ln(l.lstep),h=Math.floor(Math.round(1e12*((u-f)/d))/1e12)+1,p=Array(h);p[0]=ln(f);for(let t=1;tnew lo(t);ll.props={};class ls extends o8{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:oK,paddingInner:1,paddingOuter:0}}constructor(t){super(t)}getPaddingInner(){return 1}clone(){return new ls(this.options)}update(t){super.update(t)}getPaddingOuter(){return this.options.padding}}let lc=t=>new ls(t);lc.props={};var lu=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,lf=/\[([^]*?)\]/gm;function ld(t,e){for(var n=[],r=0,i=t.length;r-1?r:null}};function lp(t){for(var e=[],n=1;n3?0:(t-t%10!=10?1:0)*t%10]}}),lb=function(t,e){for(void 0===e&&(e=2),t=String(t);t.lengtht.getHours()?e.amPm[0]:e.amPm[1]},A:function(t,e){return 12>t.getHours()?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+lb(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+lb(Math.floor(Math.abs(e)/60),2)+":"+lb(Math.abs(e)%60,2)}};lh("monthNamesShort"),lh("monthNames");var lO={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},lw=function(t,e,n){if(void 0===e&&(e=lO.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw Error("Invalid Date pass to format");e=lO[e]||e;var r=[];e=e.replace(lf,function(t,e){return r.push(e),"@@@"});var i=lp(lp({},lv),n);return(e=e.replace(lu,function(e){return lx[e](t,i)})).replace(/@@@/g,function(){return r.shift()})};let l_=864e5,lM=7*l_,lk=30*l_,lC=365*l_;function lj(t,e,n,r){let i=(t,e)=>{let i=t=>r(t)%e==0,a=e;for(;a&&!i(t);)n(t,-1),a-=1;return t},a=(t,n)=>{n&&i(t,n),e(t)},o=(t,e)=>{let r=new Date(+t-1);return a(r,e),n(r,e),a(r),r};return{ceil:o,floor:(t,e)=>{let n=new Date(+t);return a(n,e),n},range:(t,e,r,i)=>{let l=[],s=Math.floor(r),c=i?o(t,r):o(t);for(;ct,(t,e=1)=>{t.setTime(+t+e)},t=>t.getTime()),lS=lj(1e3,t=>{t.setMilliseconds(0)},(t,e=1)=>{t.setTime(+t+1e3*e)},t=>t.getSeconds()),lE=lj(6e4,t=>{t.setSeconds(0,0)},(t,e=1)=>{t.setTime(+t+6e4*e)},t=>t.getMinutes()),lP=lj(36e5,t=>{t.setMinutes(0,0,0)},(t,e=1)=>{t.setTime(+t+36e5*e)},t=>t.getHours()),lR=lj(l_,t=>{t.setHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+l_*e)},t=>t.getDate()-1),lT=lj(lk,t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e=1)=>{let n=t.getMonth();t.setMonth(n+e)},t=>t.getMonth()),lL=lj(lM,t=>{t.setDate(t.getDate()-t.getDay()%7),t.setHours(0,0,0,0)},(t,e=1)=>{t.setDate(t.getDate()+7*e)},t=>{let e=lT.floor(t),n=new Date(+t);return Math.floor((+n-+e)/lM)}),lI=lj(lC,t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e=1)=>{let n=t.getFullYear();t.setFullYear(n+e)},t=>t.getFullYear()),lN={millisecond:lA,second:lS,minute:lE,hour:lP,day:lR,week:lL,month:lT,year:lI},lB=lj(1,t=>t,(t,e=1)=>{t.setTime(+t+e)},t=>t.getTime()),lD=lj(1e3,t=>{t.setUTCMilliseconds(0)},(t,e=1)=>{t.setTime(+t+1e3*e)},t=>t.getUTCSeconds()),lF=lj(6e4,t=>{t.setUTCSeconds(0,0)},(t,e=1)=>{t.setTime(+t+6e4*e)},t=>t.getUTCMinutes()),lz=lj(36e5,t=>{t.setUTCMinutes(0,0,0)},(t,e=1)=>{t.setTime(+t+36e5*e)},t=>t.getUTCHours()),l$=lj(l_,t=>{t.setUTCHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+l_*e)},t=>t.getUTCDate()-1),lW=lj(lk,t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e=1)=>{let n=t.getUTCMonth();t.setUTCMonth(n+e)},t=>t.getUTCMonth()),lZ=lj(lM,t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7)%7),t.setUTCHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+lM*e)},t=>{let e=lW.floor(t),n=new Date(+t);return Math.floor((+n-+e)/lM)}),lH=lj(lC,t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e=1)=>{let n=t.getUTCFullYear();t.setUTCFullYear(n+e)},t=>t.getUTCFullYear()),lG={millisecond:lB,second:lD,minute:lF,hour:lz,day:l$,week:lZ,month:lW,year:lH};function lq(t,e,n,r,i){let a;let o=+t,l=+e,{tickIntervals:s,year:c,millisecond:u}=function(t){let{year:e,month:n,week:r,day:i,hour:a,minute:o,second:l,millisecond:s}=t?lG:lN;return{tickIntervals:[[l,1],[l,5],[l,15],[l,30],[o,1],[o,5],[o,15],[o,30],[a,1],[a,3],[a,6],[a,12],[i,1],[i,2],[r,1],[n,1],[n,3],[e,1]],year:e,millisecond:s}}(i),f=([t,e])=>t.duration*e,d=r?(l-o)/r:n||5,h=r||(l-o)/d,p=s.length,g=e7(s,h,0,p,f);if(g===p){let t=np(o/c.duration,l/c.duration,d);a=[c,t]}else if(g){let t=h/f(s[g-1]){let a=t>e,o=a?e:t,l=a?t:e,[s,c]=lq(o,l,n,r,i),u=s.range(o,new Date(+l+1),c,!0);return a?u.reverse():u},lY=(t,e,n,r,i)=>{let a=t>e,o=a?e:t,l=a?t:e,[s,c]=lq(o,l,n,r,i),u=[s.floor(o,c),s.ceil(l,c)];return a?u.reverse():u};function lU(t){let e=t.getTimezoneOffset(),n=new Date(t);return n.setMinutes(n.getMinutes()+e,n.getSeconds(),n.getMilliseconds()),n}class lQ extends nb{getDefaultOptions(){return{domain:[new Date(2e3,0,1),new Date(2e3,0,2)],range:[0,1],nice:!1,tickCount:5,tickInterval:void 0,unknown:void 0,clamp:!1,tickMethod:lV,interpolate:ni,mask:void 0,utc:!1}}chooseTransforms(){return[t=>+t,t=>new Date(t)]}chooseNice(){return lY}getTickMethodOptions(){let{domain:t,tickCount:e,tickInterval:n,utc:r}=this.options,i=t[0],a=t[t.length-1];return[i,a,e,n,r]}getFormatter(){let{mask:t,utc:e}=this.options,n=e?lG:lN,r=e?lU:e4;return e=>lw(r(e),t||function(t,e){let{second:n,minute:r,hour:i,day:a,week:o,month:l,year:s}=e;return n.floor(t)new lQ(t);lX.props={};let lK=t=>e=>-t(-e),lJ=(t,e)=>{let n=Math.log(t),r=t===Math.E?Math.log:10===t?Math.log10:2===t?Math.log2:t=>Math.log(t)/n;return e?lK(r):r},l0=(t,e)=>{let n=t===Math.E?Math.exp:e=>t**e;return e?lK(n):n},l1=(t,e,n,r=10)=>{let i=t<0,a=l0(r,i),o=lJ(r,i),l=e=1;e-=1){let n=t*e;if(n>c)break;n>=s&&d.push(n)}}else for(;u<=f;u+=1){let t=a(u);for(let e=1;ec)break;n>=s&&d.push(n)}}2*d.length{let i=t<0,a=lJ(r,i),o=l0(r,i),l=t>e,s=[o(Math.floor(a(l?e:t))),o(Math.ceil(a(l?t:e)))];return l?s.reverse():s};class l5 extends nb{getDefaultOptions(){return{domain:[1,10],range:[0,1],base:10,interpolate:no,tickMethod:l1,tickCount:5}}chooseNice(){return l2}getTickMethodOptions(){let{domain:t,tickCount:e,base:n}=this.options,r=t[0],i=t[t.length-1];return[r,i,e,n]}chooseTransforms(){let{base:t,domain:e}=this.options,n=e[0]<0;return[lJ(t,n),l0(t,n)]}clone(){return new l5(this.options)}}let l3=t=>new l5(t);l3.props={};let l4=t=>e=>e<0?-((-e)**t):e**t,l6=t=>e=>e<0?-((-e)**(1/t)):e**(1/t),l8=t=>t<0?-Math.sqrt(-t):Math.sqrt(t);class l9 extends nb{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,exponent:2,interpolate:no,tickMethod:nx,tickCount:5}}constructor(t){super(t)}chooseTransforms(){let{exponent:t}=this.options;if(1===t)return[e4,e4];let e=.5===t?l8:l4(t),n=l6(t);return[e,n]}clone(){return new l9(this.options)}}let l7=t=>new l9(t);l7.props={};class st extends l9{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:no,tickMethod:nx,tickCount:5,exponent:.5}}constructor(t){super(t)}update(t){super.update(t)}clone(){return new st(this.options)}}let se=t=>new st(t);se.props={};class sn extends e6{getDefaultOptions(){return{domain:[.5],range:[0,1]}}constructor(t){super(t)}map(t){if(!nc(t))return this.options.unknown;let e=e7(this.thresholds,t,0,this.n);return this.options.range[e]}invert(t){let{range:e}=this.options,n=e.indexOf(t),r=this.thresholds;return[r[n-1],r[n]]}clone(){return new sn(this.options)}rescale(){let{domain:t,range:e}=this.options;this.n=Math.min(t.length,e.length-1),this.thresholds=t}}let sr=t=>new sn(t);sr.props={};class si extends sn{getDefaultOptions(){return{domain:[],range:[],tickCount:5,unknown:void 0,tickMethod:la}}constructor(t){super(t)}rescale(){let{domain:t,range:e}=this.options;this.n=e.length-1,this.thresholds=function(t,e,n=!1){n||t.sort((t,e)=>t-e);let r=[];for(let n=1;nnew si(t);sa.props={};class so extends sn{getDefaultOptions(){return{domain:[0,1],range:[.5],nice:!1,tickCount:5,tickMethod:la}}constructor(t){super(t)}nice(){let{nice:t}=this.options;if(t){let[t,e,n]=this.getTickMethodOptions();this.options.domain=ng(t,e,n)}}getTicks(){let{tickMethod:t}=this.options,[e,n,r]=this.getTickMethodOptions();return t(e,n,r)}getTickMethodOptions(){let{domain:t,tickCount:e}=this.options,n=t[0],r=t[t.length-1];return[n,r,e]}rescale(){this.nice();let{range:t,domain:e}=this.options,[n,r]=e;this.n=t.length-1,this.thresholds=Array(this.n);for(let t=0;tnew so(t);sl.props={};let ss=t=>e=>{let n=t(e);return(0,tC.Z)(n)?Math.round(n):n},sc=yA=class extends nO{getDefaultOptions(){return{domain:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:e4,tickMethod:nx,tickCount:5}}constructor(t){super(t)}clone(){return new yA(this.options)}};sc=yA=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([(yM=t=>{let[e,n]=t,r=e9(ni(0,1),e8(e,n));return r},t=>{t.prototype.rescale=function(){this.initRange(),this.nice();let[t]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t))},t.prototype.initRange=function(){let{interpolator:t}=this.options;this.options.range=[t(0),t(1)]},t.prototype.composeOutput=function(t,e){let{domain:n,interpolator:r,round:i}=this.getOptions(),a=yM(n.map(t)),o=i?ss(r):r;this.output=e9(o,a,e,t)},t.prototype.invert=void 0})],sc);let su=t=>new sc(t);su.props={};class sf extends e6{getDefaultOptions(){return{range:[0],domain:[0,1],unknown:void 0,tickCount:5,tickMethod:nx}}map(t){let[e]=this.options.range;return void 0!==e?e:this.options.unknown}invert(t){let[e]=this.options.range;return t===e&&void 0!==e?this.options.domain:[]}getTicks(){let{tickMethod:t,domain:e,tickCount:n}=this.options,[r,i]=e;return(0,tC.Z)(r)&&(0,tC.Z)(i)?t(r,i,n):[]}clone(){return new sf(this.options)}}let sd=t=>new sf(t);function sh(t){let{colorDefault:e,colorBlack:n,colorWhite:r,colorStroke:i,colorBackground:a,padding1:o,padding2:l,padding3:s,alpha90:c,alpha65:u,alpha45:f,alpha25:d,alpha10:h,category10:p,category20:g,sizeDefault:m=1,padding:y="auto",margin:v=16}=t;return{padding:y,margin:v,size:m,color:e,category10:p,category20:g,enter:{duration:300,fill:"both",delay:0},update:{duration:300,fill:"both",delay:0},exit:{duration:300,fill:"both",delay:0},view:{viewFill:a,plotFill:"transparent",mainFill:"transparent",contentFill:"transparent"},line:{line:{fill:"",strokeOpacity:1,lineWidth:1,lineCap:"round"}},point:{point:{r:3,fillOpacity:.95,lineWidth:0},hollow:{r:3,strokeOpacity:.95,lineWidth:1},plus:{r:3,strokeOpacity:.95,lineWidth:3},diamond:{r:3,strokeOpacity:.95,lineWidth:1}},interval:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},area:{area:{fillOpacity:.85,lineWidth:0}},polygon:{polygon:{fillOpacity:.95}},cell:{cell:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},rect:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},link:{link:{fill:"",strokeOpacity:1}},vector:{vector:{fillOpacity:1}},box:{box:{fillOpacity:.95,stroke:n,lineWidth:1}},text:{text:{fill:"#1D2129",fontSize:12,lineWidth:0,connectorStroke:i,connectorStrokeOpacity:.45,connectorLineWidth:1,backgroundFill:i,backgroundFillOpacity:.15,backgroundPadding:[2,4],startMarkerSymbol:"circle",startMarkerSize:4,endMarkerSymbol:"circle",endMarkerSize:4},badge:{fill:"#1D2129",fillOpacity:.65,lineWidth:0,fontSize:10,textAlign:"center",textBaseline:"middle",markerFill:i,markerFillOpacity:.25,markerStrokeOpacity:0}},lineX:{line:{stroke:i,strokeOpacity:.45,lineWidth:1}},lineY:{line:{stroke:i,strokeOpacity:.45,lineWidth:1}},rangeX:{range:{fill:i,fillOpacity:.15,lineWidth:0}},rangeY:{range:{fill:i,fillOpacity:.15,lineWidth:0}},connector:{connector:{stroke:i,strokeOpacity:.45,lineWidth:1,connectLength1:12,endMarker:!0,endMarkerSize:6,endMarkerFill:i,endMarkerFillOpacity:.95}},axis:{arrow:!1,gridLineDash:[3,4],gridLineWidth:.5,gridStroke:n,gridStrokeOpacity:h,labelAlign:"horizontal",labelFill:n,labelOpacity:f,labelFontSize:12,labelFontWeight:"normal",labelSpacing:o,line:!1,lineLineWidth:.5,lineStroke:n,lineStrokeOpacity:f,tickLength:4,tickLineWidth:1,tickStroke:n,tickOpacity:f,titleFill:n,titleOpacity:c,titleFontSize:12,titleFontWeight:"normal",titleSpacing:12,titleTransformOrigin:"center",lineArrowOffset:6,lineArrowSize:6},axisTop:{gridDirection:"positive",labelDirection:"negative",tickDirection:"negative",titlePosition:"top",titleSpacing:12,labelSpacing:4,titleTextBaseline:"middle"},axisBottom:{gridDirection:"negative",labelDirection:"positive",tickDirection:"positive",titlePosition:"bottom",titleSpacing:12,labelSpacing:4,titleTextBaseline:"bottom",titleTransform:"translate(0, 8)"},axisLeft:{gridDirection:"positive",labelDirection:"negative",labelSpacing:4,tickDirection:"negative",titlePosition:"left",titleSpacing:12,titleTextBaseline:"middle",titleDirection:"vertical",titleTransform:"rotate(-90) translate(0, -8)",titleTransformOrigin:"center"},axisRight:{gridDirection:"negative",labelDirection:"positive",labelSpacing:4,tickDirection:"positive",titlePosition:"right",titleSpacing:12,titleTextBaseline:"top",titleDirection:"vertical",titleTransformOrigin:"center"},axisLinear:{girdClosed:!0,gridConnect:"arc",gridDirection:"negative",gridType:"surround",titlePosition:"top",titleSpacing:0},axisArc:{title:!1,titlePosition:"inner",line:!1,tick:!0,labelSpacing:4},axisRadar:{girdClosed:!0,gridStrokeOpacity:.3,gridType:"surround",label:!1,tick:!1,titlePosition:"start"},legendCategory:{backgroundFill:"transparent",itemBackgroundFill:"transparent",itemLabelFill:n,itemLabelFillOpacity:c,itemLabelFontSize:12,itemLabelFontWeight:"normal",itemMarkerFillOpacity:1,itemMarkerSize:8,itemSpacing:[o,o],itemValueFill:n,itemValueFillOpacity:.65,itemValueFontSize:12,itemValueFontWeight:"normal",navButtonFill:n,navButtonFillOpacity:.65,navPageNumFill:n,navPageNumFillOpacity:.45,navPageNumFontSize:12,padding:8,title:!1,titleFill:n,titleFillOpacity:.65,titleFontSize:12,titleFontWeight:"normal",titleSpacing:4,tickStroke:n,tickStrokeOpacity:.25,rowPadding:o,colPadding:l,maxRows:3,maxCols:3},legendContinuous:{handleHeight:12,handleLabelFill:n,handleLabelFillOpacity:f,handleLabelFontSize:12,handleLabelFontWeight:"normal",handleMarkerFill:n,handleMarkerFillOpacity:.6,handleMarkerLineWidth:1,handleMarkerStroke:n,handleMarkerStrokeOpacity:.25,handleWidth:10,labelFill:n,labelFillOpacity:f,labelFontSize:12,labelFontWeight:"normal",labelSpacing:3,tick:!0,tickLength:12,ribbonSize:12,ribbonFill:"#aaa",handle:!0,handleLabel:!1,handleShape:"slider",handleIconSize:12/1.8,indicator:!1,titleFontSize:12,titleSpacing:4,titleFontWeight:"normal",titleFillOpacity:c,tickStroke:n,tickStrokeOpacity:f},label:{fill:n,fillOpacity:.65,fontSize:12,fontWeight:"normal",stroke:void 0,offset:12,connectorStroke:n,connectorStrokeOpacity:.45,connectorLineWidth:1,connectorLength:12,connectorLength2:8,connectorDistance:4},innerLabel:{fill:r,fontSize:12,fillOpacity:.85,fontWeight:"normal",stroke:void 0,offset:0},htmlLabel:{fontSize:12,opacity:.65,color:n,fontWeight:"normal"},slider:{trackSize:16,trackFill:i,trackFillOpacity:1,selectionFill:e,selectionFillOpacity:.15,handleIconSize:10,handleIconFill:"#f7f7f7",handleIconFillOpacity:1,handleIconStroke:n,handleIconStrokeOpacity:.25,handleIconLineWidth:1,handleIconRadius:2,handleLabelFill:n,handleLabelFillOpacity:.45,handleLabelFontSize:12,handleLabelFontWeight:"normal"},scrollbar:{padding:[0,0,0,0],trackSize:6,isRound:!0,slidable:!0,scrollable:!0,trackFill:"#e5e5e5",trackFillOpacity:0,thumbFill:"#000",thumbFillOpacity:.15,thumbHighlightedFillOpacity:.2},title:{spacing:8,titleFill:n,titleFillOpacity:c,titleFontSize:16,titleFontWeight:"bold",titleTextBaseline:"top",subtitleFill:n,subtitleFillOpacity:u,subtitleFontSize:12,subtitleFontWeight:"normal",subtitleTextBaseline:"top"},tooltip:{css:{".g2-tooltip":{"font-family":"sans-serif"}}}}}sd.props={};let sp=sh({colorBlack:"#1D2129",colorWhite:"#ffffff",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),sg=t=>R({},sp,t);sg.props={};let sm=t=>R({},sg(),{category10:"category10",category20:"category20"},t);sm.props={};let sy=sh({colorBlack:"#fff",colorWhite:"#000",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.25}),sv=t=>R({},sy,{tooltip:{crosshairsStroke:"#fff",crosshairsLineWidth:1,crosshairsStrokeOpacity:.25,css:{".g2-tooltip":{background:"#1f1f1f",opacity:.95},".g2-tooltip-title":{color:"#A6A6A6"},".g2-tooltip-list-item-name-label":{color:"#A6A6A6"},".g2-tooltip-list-item-value":{color:"#A6A6A6"}}}},t),sb=t=>Object.assign({},sv(),{category10:"category10",category20:"category20"},t);sb.props={};let sx=sh({colorBlack:"#000",colorWhite:"#fff",colorStroke:"#888",colorDefault:"#4e79a7",colorBackground:"transparent",category10:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],category20:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),sO=t=>R({},sx,{text:{text:{fontSize:10}},axis:{gridLineDash:[0,0],gridLineWidth:1,gridStroke:"#ddd",gridStrokeOpacity:1,labelOpacity:1,labelStrokeOpacity:1,labelFontSize:10,line:!0,lineLineWidth:1,lineStroke:"#888",lineStrokeOpacity:1,tickLength:5,tickStrokeOpacity:1,titleOpacity:1,titleStrokeOpacity:1,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},axisLeft:{gridFilter:(t,e)=>0!==e},axisRight:{gridFilter:(t,e)=>0!==e},legendCategory:{itemLabelFillOpacity:1,itemLabelFontSize:10,itemValueFillOpacity:1,itemValueFontSize:10,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},legendContinuous:{handleLabelFontSize:10,labelFillOpacity:.45,labelFontSize:10},label:{fontSize:10},innerLabel:{fontSize:10},htmlLabel:{fontSize:10},slider:{handleLabelFontSize:10,trackFillOpacity:.05}},t);function sw(t){if(!t)return{enter:!1,update:!1,exit:!1};var e=["enter","update","exit"],n=Object.fromEntries(Object.entries(t).filter(function(t){var n=(0,tM.CR)(t,1)[0];return!e.includes(n)}));return Object.fromEntries(e.map(function(e){return"boolean"!=typeof t&&"enter"in t&&"update"in t&&"exit"in t?!1===t[e]?[e,!1]:[e,(0,tM.pi)((0,tM.pi)({},t[e]),n)]:[e,n]}))}function s_(t,e){t?t.finished.then(e):e()}function sM(t,e){"update"in t?t.update(e):t.attr(e)}function sk(t,e,n){return 0===e.length?null:n?t.animate(e,n):(sM(t,{style:e.slice(-1)[0]}),null)}function sC(t,e,n){var r={},i={};return(Object.entries(e).forEach(function(e){var n=(0,tM.CR)(e,2),a=n[0],o=n[1];if(!(0,tz.Z)(o)){var l=t.style[a]||t.parsedStyle[a]||0;l!==o&&(r[a]=l,i[a]=o)}}),n)?sk(t,[r,i],(0,tM.pi)({fill:"both"},n)):(sM(t,i),null)}sO.props={};var sj=function(t,e){var n=function(t){return"".concat(e,"-").concat(t)},r=Object.fromEntries(Object.entries(t).map(function(t){var e=(0,tM.CR)(t,2),r=e[0],i=n(e[1]);return[r,{name:i,class:".".concat(i),id:"#".concat(i),toString:function(){return i}}]}));return Object.assign(r,{prefix:n}),r},sA={data:[],animate:{enter:!1,update:{duration:100,easing:"ease-in-out-sine",fill:"both"},exit:{duration:100,fill:"both"}},showArrow:!0,showGrid:!0,showLabel:!0,showLine:!0,showTick:!0,showTitle:!0,showTrunc:!1,dataThreshold:100,lineLineWidth:1,lineStroke:"black",crossPadding:10,titleFill:"black",titleFontSize:12,titlePosition:"lb",titleSpacing:0,titleTextAlign:"center",titleTextBaseline:"middle",lineArrow:function(){return new t_.y$({style:{d:[["M",10,10],["L",-10,0],["L",10,-10],["L",0,0],["L",10,10],["Z"]],fill:"black",transformOrigin:"center"}})},labelAlign:"parallel",labelDirection:"positive",labelFontSize:12,labelSpacing:0,gridConnect:"line",gridControlAngles:[],gridDirection:"positive",gridLength:0,gridType:"segment",lineArrowOffset:15,lineArrowSize:10,tickDirection:"positive",tickLength:5,tickLineWidth:1,tickStroke:"black",labelOverlap:[]};R({},sA,{style:{type:"arc"}}),R({},sA,{style:{}});var sS=sj({mainGroup:"main-group",gridGroup:"grid-group",grid:"grid",lineGroup:"line-group",line:"line",tickGroup:"tick-group",tick:"tick",tickItem:"tick-item",labelGroup:"label-group",label:"label",labelItem:"label-item",titleGroup:"title-group",title:"title",lineFirst:"line-first",lineSecond:"line-second"},"axis");function sE(t,e){return[t[0]*e,t[1]*e]}function sP(t,e){return[t[0]+e[0],t[1]+e[1]]}function sR(t,e){return[t[0]-e[0],t[1]-e[1]]}function sT(t,e){return[Math.min(t[0],e[0]),Math.min(t[1],e[1])]}function sL(t,e){return[Math.max(t[0],e[0]),Math.max(t[1],e[1])]}function sI(t,e){return Math.sqrt(Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2))}function sN(t){if(0===t[0]&&0===t[1])return[0,0];var e=Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2));return[t[0]/e,t[1]/e]}function sB(t){return t*Math.PI/180}function sD(t){return Number((180*t/Math.PI).toPrecision(5))}function sF(t){return t.toString().charAt(0).toUpperCase()+t.toString().slice(1)}function sz(t,e,n){void 0===n&&(n=!0);var r,i=e||(null===(r=t.match(/^([a-z][a-z0-9]+)/))||void 0===r?void 0:r[0])||"",a=t.replace(new RegExp("^(".concat(i,")")),"");return n?a.toString().charAt(0).toLowerCase()+a.toString().slice(1):a}var s$=function(t,e){if(!(null==t?void 0:t.startsWith(e)))return!1;var n=t[e.length];return n>="A"&&n<="Z"};function sW(t,e,n){void 0===n&&(n=!1);var r={};return Object.entries(t).forEach(function(t){var i=(0,tM.CR)(t,2),a=i[0],o=i[1];if("className"===a||"class"===a);else if(s$(a,"show")&&s$(sz(a,"show"),e)!==n)a==="".concat("show").concat(sF(e))?r[a]=o:r[a.replace(new RegExp(sF(e)),"")]=o;else if(!s$(a,"show")&&s$(a,e)!==n){var l=sz(a,e);"filter"===l&&"function"==typeof o||(r[l]=o)}}),r}function sZ(t,e){return Object.entries(t).reduce(function(t,n){var r=(0,tM.CR)(n,2),i=r[0],a=r[1];return i.startsWith("show")?t["show".concat(e).concat(i.slice(4))]=a:t["".concat(e).concat(sF(i))]=a,t},{})}function sH(t,e){void 0===e&&(e=["x","y","class","className"]);var n=["transform","transformOrigin","anchor","visibility","pointerEvents","zIndex","cursor","clipPath","clipPathTargets","offsetPath","offsetPathTargets","offsetDistance","draggable","droppable"],r={},i={};return Object.entries(t).forEach(function(t){var a=(0,tM.CR)(t,2),o=a[0],l=a[1];e.includes(o)||(-1!==n.indexOf(o)?i[o]=l:r[o]=l)}),[r,i]}function sG(t,e){return iX(t)?t.apply(void 0,(0,tM.ev)([],(0,tM.CR)(e),!1)):t}function sq(t,e){return t.style.opacity||(t.style.opacity=1),sC(t,{opacity:0},e)}var sV=["$el","cx","cy","d","dx","dy","fill","fillOpacity","filter","fontFamily","fontSize","fontStyle","fontVariant","fontWeight","height","img","increasedLineWidthForHitTesting","innerHTML","isBillboard","billboardRotation","isSizeAttenuation","isClosed","isOverflowing","leading","letterSpacing","lineDash","lineHeight","lineWidth","markerEnd","markerEndOffset","markerMid","markerStart","markerStartOffset","maxLines","metrics","miterLimit","offsetX","offsetY","opacity","path","points","r","radius","rx","ry","shadowColor","src","stroke","strokeOpacity","text","textAlign","textBaseline","textDecorationColor","textDecorationLine","textDecorationStyle","textOverflow","textPath","textPathSide","textPathStartOffset","transform","transformOrigin","visibility","width","wordWrap","wordWrapWidth","x","x1","x2","y","y1","y2","z1","z2","zIndex"];function sY(t){var e={};for(var n in t)sV.includes(n)&&(e[n]=t[n]);return e}var sU=sj({lineGroup:"line-group",line:"line",regionGroup:"region-group",region:"region"},"grid");function sQ(t){return t.reduce(function(t,e,n){return t.push((0,tM.ev)([0===n?"M":"L"],(0,tM.CR)(e),!1)),t},[])}function sX(t,e,n){return"surround"===e.type?function(t,e,n){var r=e.connect,i=e.center;if("line"===(void 0===r?"line":r))return sQ(t);if(!i)return[];var a=sI(t[0],i),o=n?0:1;return t.reduce(function(t,e,n){return 0===n?t.push((0,tM.ev)(["M"],(0,tM.CR)(e),!1)):t.push((0,tM.ev)(["A",a,a,0,0,o],(0,tM.CR)(e),!1)),t},[])}(t,e,n):sQ(t)}var sK=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tM.ZT)(e,t),e.prototype.render=function(t,e){t.type,t.center,t.areaFill,t.closed;var n,r,i,a,o,l=(0,tM._T)(t,["type","center","areaFill","closed"]),s=(r=void 0===(n=t.data)?[]:n,t.closed?r.map(function(t){var e=t.points,n=(0,tM.CR)(e,1)[0];return(0,tM.pi)((0,tM.pi)({},t),{points:(0,tM.ev)((0,tM.ev)([],(0,tM.CR)(e),!1),[n],!1)})}):r),c=at(e).maybeAppendByClassName(sU.lineGroup,"g"),u=at(e).maybeAppendByClassName(sU.regionGroup,"g"),f=(i=t.animate,a=t.isBillboard,o=s.map(function(e,n){return{id:e.id||"grid-line-".concat(n),d:sX(e.points,t)}}),c.selectAll(sU.line.class).data(o,function(t){return t.id}).join(function(t){return t.append("path").each(function(t,e){var n=sG(sY((0,tM.pi)({d:t.d},l)),[t,e,o]);this.attr((0,tM.pi)({class:sU.line.name,stroke:"#D9D9D9",lineWidth:1,lineDash:[4,4],isBillboard:a},n))})},function(t){return t.transition(function(t,e){return sC(this,sG(sY((0,tM.pi)({d:t.d},l)),[t,e,o]),i.update)})},function(t){return t.transition(function(){var t=this,e=sq(this,i.exit);return s_(e,function(){return t.remove()}),e})}).transitions()),d=function(t,e,n){var r=n.animate,i=n.connect,a=n.areaFill;if(e.length<2||!a||!i)return[];for(var o=Array.isArray(a)?a:[a,"transparent"],l=[],s=0;se?0:1;return"M".concat(p,",").concat(g,",A").concat(l,",").concat(s,",0,").concat(a>180?1:0,",").concat(O,",").concat(y,",").concat(v)}function cr(t){var e=(0,tM.CR)(t,2),n=(0,tM.CR)(e[0],2),r=n[0],i=n[1],a=(0,tM.CR)(e[1],2);return{x1:r,y1:i,x2:a[0],y2:a[1]}}function ci(t){var e=t.type,n=t.gridCenter;return"linear"===e?n:n||t.center}function ca(t,e,n,r,i){return void 0===r&&(r=!0),void 0===i&&(i=!1),!!r&&t===e||!!i&&t===n||t>e&&ti&&(r=n,o(1),++e),n[t]=a}function o(t){e=0,n=Object.create(null),t||(r=Object.create(null))}return o(),{clear:o,has:function(t){return void 0!==n[t]||void 0!==r[t]},get:function(t){var e=n[t];return void 0!==e?e:void 0!==(e=r[t])?(a(t,e),e):void 0},set:function(t,e){void 0!==n[t]?n[t]=e:a(t,e)}}}(n),r}(function(t,e){var n=e.fontSize,r=e.fontFamily,i=e.fontWeight,a=e.fontStyle,o=e.fontVariant;return yE?yE(t,n):(yS||(yS=t_.GZ.offscreenCanvasCreator.getOrCreateContext(void 0)),yS.font=[a,o,i,"".concat(n,"px"),r].join(" "),yS.measureText(t).width)},function(t,e){return[t,Object.values(e||cl(t)).join()].join("")},4096),cl=function(t){var e=t.style.fontFamily||"sans-serif",n=t.style.fontWeight||"normal",r=t.style.fontStyle||"normal",i=t.style.fontVariant,a=t.style.fontSize;return{fontSize:a="object"==typeof a?a.value:a,fontFamily:e,fontWeight:n,fontStyle:r,fontVariant:i}};function cs(t){return"text"===t.nodeName?t:"g"===t.nodeName&&1===t.children.length&&"text"===t.children[0].nodeName?t.children[0]:null}function cc(t,e){var n=cs(t);n&&n.attr(e)}function cu(t,e,n){void 0===n&&(n="..."),cc(t,{wordWrap:!0,wordWrapWidth:e,maxLines:1,textOverflow:n})}function cf(t,e){if(e)try{var n=e.replace(/translate\(([+-]*[\d]+[%]*),[ ]*([+-]*[\d]+[%]*)\)/g,function(e,n,r){var i,a,o,l;return"translate(".concat((a=(i=t.getBBox()).width,o=i.height,[(l=(0,tM.CR)([n,r].map(function(t,e){var n;return t.includes("%")?parseFloat((null===(n=t.match(/[+-]?([0-9]*[.])?[0-9]+/))||void 0===n?void 0:n[0])||"0")/100*(0===e?a:o):t}),2))[0],l[1]]),")")});t.attr("transform",n)}catch(t){}}var cd=function(t){return void 0!==t&&null!=t&&!Number.isNaN(t)};function ch(t){if((0,tC.Z)(t))return[t,t,t,t];if((0,A.Z)(t)){var e=t.length;if(1===e)return[t[0],t[0],t[0],t[0]];if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];if(4===e)return t}return[0,0,0,0]}var cp=function(){function t(t,e,n,r){this.set(t,e,n,r)}return Object.defineProperty(t.prototype,"left",{get:function(){return this.x1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.y1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.x2},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this.y2},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.defined("x2")&&this.defined("x1")?this.x2-this.x1:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.defined("y2")&&this.defined("y1")?this.y2-this.y1:void 0},enumerable:!1,configurable:!0}),t.prototype.rotatedPoints=function(t,e,n){var r=this.x1,i=this.y1,a=this.x2,o=this.y2,l=Math.cos(t),s=Math.sin(t),c=e-e*l+n*s,u=n-e*s-n*l;return[[l*r-s*o+c,s*r+l*o+u],[l*a-s*o+c,s*a+l*o+u],[l*r-s*i+c,s*r+l*i+u],[l*a-s*i+c,s*a+l*i+u]]},t.prototype.set=function(t,e,n,r){return n0,v=r-s,b=i-c,x=d*b-h*v;if(x<0===y)return!1;var O=p*b-g*v;return O<0!==y&&x>m!==y&&O>m!==y}(e,t)})}(o,u))return!0}}catch(t){r={error:t}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return!1}(f.firstChild,d.firstChild,ch(n)):0)?(o.add(l),o.add(d)):l=d}}catch(t){r={error:t}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}return Array.from(o)}function cb(t,e){return(void 0===e&&(e={}),(0,tz.Z)(t))?0:"number"==typeof t?t:Math.floor(co(t,e))}function cx(t){var e=t.getLocalBounds(),n=e.min,r=e.max,i=(0,tM.CR)([n,r],2),a=(0,tM.CR)(i[0],2),o=a[0],l=a[1],s=(0,tM.CR)(i[1],2),c=s[0],u=s[1];return{x:o,y:l,width:c-o,height:u-l,left:o,bottom:u,top:l,right:c}}function cO(t,e){var n=(0,tM.CR)(t,2),r=n[0],i=n[1],a=(0,tM.CR)(e,2),o=a[0],l=a[1];return r!==o&&i===l}var cw={parity:function(t,e){var n=e.seq,r=void 0===n?2:n;return t.filter(function(t,e){return!(e%r)||(iJ(t),!1)})}},c_=new Map([["hide",function(t,e,n,r){var i,a,o=t.length,l=e.keepHeader,s=e.keepTail;if(!(o<=1)&&(2!==o||!l||!s)){var c=cw.parity,u=function(t){return t.forEach(r.show),t},f=2,d=t.slice(),h=t.slice(),p=Math.min.apply(Math,(0,tM.ev)([1],(0,tM.CR)(t.map(function(t){return t.getBBox().width})),!1));if("linear"===n.type&&(ct(n)||ce(n))){var g=cx(t[0]).left,m=Math.abs(cx(t[o-1]).right-g)||1;f=Math.max(Math.floor(o*p/m),f)}for(l&&(i=d.splice(0,1)[0]),s&&(a=d.splice(-1,1)[0],d.reverse()),u(d);fp+h;b-=h){var x=v(b);if("object"==typeof x)return x.value}}}],["wrap",function(t,e,n,r){var i,a,o=e.wordWrapWidth,l=void 0===o?50:o,s=e.maxLines,c=void 0===s?3:s,u=e.recoverWhenFailed,f=e.margin,d=void 0===f?[0,0,0,0]:f,h=t.map(function(t){return t.attr("maxLines")||1}),p=Math.min.apply(Math,(0,tM.ev)([],(0,tM.CR)(h),!1)),g=(i=n.type,a=n.labelDirection,"linear"===i&&ct(n)?"negative"===a?"bottom":"top":"middle"),m=function(e){return t.forEach(function(t,n){var i=Array.isArray(e)?e[n]:e;r.wrap(t,l,i,g)})};if(!(p>c)){for(var y=p;y<=c;y++)if(m(y),cv(t,n,d).length<1)return;(void 0===u||u)&&m(h)}}]]);function cM(t){for(var e=t;e<0;)e+=360;return Math.round(e%360)}function ck(t,e){var n=(0,tM.CR)(t,2),r=n[0],i=n[1],a=(0,tM.CR)(e,2),o=a[0],l=a[1],s=(0,tM.CR)([r*o+i*l,r*l-i*o],2),c=s[0];return Math.atan2(s[1],c)}function cC(t,e,n){var r=n.type,i=n.labelAlign,a=s9(t,n),o=cM(e),l=cM(sD(ck([1,0],a))),s="center",c="middle";return"linear"===r?[90,270].includes(l)&&0===o?(s="center",c=1===a[1]?"top":"bottom"):!(l%180)&&[90,270].includes(o)?s="center":0===l?ca(o,0,90,!1,!0)?s="start":(ca(o,0,90)||ca(o,270,360))&&(s="start"):90===l?ca(o,0,90,!1,!0)?s="start":(ca(o,90,180)||ca(o,270,360))&&(s="end"):270===l?ca(o,0,90,!1,!0)?s="end":(ca(o,90,180)||ca(o,270,360))&&(s="start"):180===l&&(90===o?s="start":(ca(o,0,90)||ca(o,270,360))&&(s="end")):"parallel"===i?c=ca(l,0,180,!0)?"top":"bottom":"horizontal"===i?ca(l,90,270,!1)?s="end":(ca(l,270,360,!1)||ca(l,0,90))&&(s="start"):"perpendicular"===i&&(s=ca(l,90,270)?"end":"start"),{textAlign:s,textBaseline:c}}function cj(t,e,n){var r=n.showTick,i=n.tickLength,a=n.tickDirection,o=n.labelDirection,l=n.labelSpacing,s=e.indexOf(t),c=sG(l,[t,s,e]),u=(0,tM.CR)([s9(t.value,n),function(){for(var t=[],e=0;e1))||null==a||a(e,r,t,n)})}function cE(t,e,n,r,i){var a,o=n.indexOf(e),l=at(t).append(iX(a=i.labelFormatter)?function(){return s0(sG(a,[e,o,n,s9(e.value,i)]))}:function(){return s0(e.label||"")}).attr("className",sS.labelItem.name).node(),s=(0,tM.CR)(sH(s5(r,[e,o,n])),2),c=s[0],u=s[1],f=u.transform,d=(0,tM._T)(u,["transform"]);cf(l,f);var h=function(t,e,n){var r,i,a=n.labelAlign;if(null===(i=e.style.transform)||void 0===i?void 0:i.includes("rotate"))return e.getLocalEulerAngles();var o=0,l=s9(t.value,n),s=s6(t.value,n);return"horizontal"===a?0:(ca(r=(sD(o="perpendicular"===a?ck([1,0],l):ck([s[0]<0?-1:1,0],s))+360)%180,-90,90)||(r+=180),r)}(e,l,i);return l.getLocalEulerAngles()||l.setLocalEulerAngles(h),cA(l,(0,tM.pi)((0,tM.pi)({},cC(e.value,h,i)),c)),t.attr(d),l}function cP(t,e){return s8(t,e.tickDirection,e)}function cR(t,e,n,r,i,a){var o,l,s,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,M,k,C,j=(o=at(this),l=r.tickFormatter,s=cP(t.value,r),c="line",iX(l)&&(c=function(){return sG(l,[t,e,n,s])}),o.append(c).attr("className",sS.tickItem.name));u=cP(t.value,r),f=r.tickLength,p=(0,tM.CR)((d=sG(f,[t,e,n]),[[0,0],[(h=(0,tM.CR)(u,2))[0]*d,h[1]*d]]),2),m=(g=(0,tM.CR)(p[0],2))[0],y=g[1],x=(b={x1:m,x2:(v=(0,tM.CR)(p[1],2))[0],y1:y,y2:v[1]}).x1,O=b.x2,w=b.y1,_=b.y2,k=(M=(0,tM.CR)(sH(s5(i,[t,e,n,u])),2))[0],C=M[1],"line"===j.node().nodeName&&j.styles((0,tM.pi)({x1:x,x2:O,y1:w,y2:_},k)),this.attr(C),j.styles(k);var A=(0,tM.CR)(s7(t.value,r),2),S=A[0],E=A[1];return sC(this,{transform:"translate(".concat(S,", ").concat(E,")")},a)}var cT=function(){function t(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),this.x=0,this.y=0,this.width=0,this.height=0,this.x=t,this.y=e,this.width=n,this.height=r}return Object.defineProperty(t.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.y},enumerable:!1,configurable:!0}),t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t.prototype.toJSON=function(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.top,right:this.right,bottom:this.bottom,left:this.left}},t.prototype.isPointIn=function(t,e){return t>=this.left&&t<=this.right&&e>=this.top&&e<=this.bottom},t}(),cL=sj({text:"text"},"title");function cI(t){return/\S+-\S+/g.test(t)?t.split("-").map(function(t){return t[0]}):t.length>2?[t[0]]:t.split("")}function cN(t,e){var n=Object.entries(e).reduce(function(e,n){var r=(0,tM.CR)(n,2),i=r[0],a=r[1];return t.node().attr(i)||(e[i]=a),e},{});t.styles(n)}var cB=function(t){function e(e){return t.call(this,e,{text:"",width:0,height:0,fill:"#4a505a",fontWeight:"bold",fontSize:12,fontFamily:"sans-serif",inset:0,spacing:0,position:"top-left"})||this}return(0,tM.ZT)(e,t),e.prototype.getAvailableSpace=function(){var t=this.attributes,e=t.width,n=t.height,r=t.position,i=t.spacing,a=t.inset,o=this.querySelector(cL.text.class);if(!o)return new cT(0,0,+e,+n);var l=o.getBBox(),s=l.width,c=l.height,u=(0,tM.CR)(ch(i),4),f=u[0],d=u[1],h=u[2],p=u[3],g=(0,tM.CR)([0,0,+e,+n],4),m=g[0],y=g[1],v=g[2],b=g[3],x=cI(r);if(x.includes("i"))return new cT(m,y,v,b);x.forEach(function(t,r){var i,a;"t"===t&&(y=(i=(0,tM.CR)(0===r?[c+h,+n-c-h]:[0,+n],2))[0],b=i[1]),"r"===t&&(v=(0,tM.CR)([+e-s-p],1)[0]),"b"===t&&(b=(0,tM.CR)([+n-c-f],1)[0]),"l"===t&&(m=(a=(0,tM.CR)(0===r?[s+d,+e-s-d]:[0,+e],2))[0],v=a[1])});var O=(0,tM.CR)(ch(a),4),w=O[0],_=O[1],M=O[2],k=O[3],C=(0,tM.CR)([k+_,w+M],2),j=C[0],A=C[1];return new cT(m+k,y+w,v-j,b-A)},e.prototype.getBBox=function(){return this.title?this.title.getBBox():new cT(0,0,0,0)},e.prototype.render=function(t,e){var n,r,i,a,o,l,s,c,u,f,d,h,p,g,m,y,v=this;t.width,t.height,t.position,t.spacing;var b=(0,tM._T)(t,["width","height","position","spacing"]),x=(0,tM.CR)(sH(b),1)[0],O=(o=t.width,l=t.height,s=t.position,u=(c=(0,tM.CR)([+o/2,+l/2],2))[0],f=c[1],h=(d=(0,tM.CR)([+u,+f,"center","middle"],4))[0],p=d[1],g=d[2],m=d[3],(y=cI(s)).includes("l")&&(h=(n=(0,tM.CR)([0,"start"],2))[0],g=n[1]),y.includes("r")&&(h=(r=(0,tM.CR)([+o,"end"],2))[0],g=r[1]),y.includes("t")&&(p=(i=(0,tM.CR)([0,"top"],2))[0],m=i[1]),y.includes("b")&&(p=(a=(0,tM.CR)([+l,"bottom"],2))[0],m=a[1]),{x:h,y:p,textAlign:g,textBaseline:m}),w=O.x,_=O.y,M=O.textAlign,k=O.textBaseline;i8(!!b.text,at(e),function(t){v.title=t.maybeAppendByClassName(cL.text,"text").styles(x).call(cN,{x:w,y:_,textAlign:M,textBaseline:k}).node()})},e}(i6);function cD(t,e,n,r,i){var a=sW(r,"title"),o=(0,tM.CR)(sH(a),2),l=o[0],s=o[1],c=s.transform,u=s.transformOrigin,f=(0,tM._T)(s,["transform","transformOrigin"]);e.styles(f);var d=c||function(t,e,n){var r=2*t.getGeometryBounds().halfExtents[1];if("vertical"===e){if("left"===n)return"rotate(-90) translate(0, ".concat(r/2,")");if("right"===n)return"rotate(-90) translate(0, -".concat(r/2,")")}return""}(t.node(),l.direction,l.position);t.styles((0,tM.pi)((0,tM.pi)({},l),{transformOrigin:u})),cf(t.node(),d);var h=function(t,e,n){var r=n.titlePosition,i=void 0===r?"lb":r,a=n.titleSpacing,o=cI(i),l=t.node().getLocalBounds(),s=(0,tM.CR)(l.min,2),c=s[0],u=s[1],f=(0,tM.CR)(l.halfExtents,2),d=f[0],h=f[1],p=(0,tM.CR)(e.node().getLocalBounds().halfExtents,2),g=p[0],m=p[1],y=(0,tM.CR)([c+d,u+h],2),v=y[0],b=y[1],x=(0,tM.CR)(ch(a),4),O=x[0],w=x[1],_=x[2],M=x[3];if(["start","end"].includes(i)&&"linear"===n.type){var k=n.startPos,C=n.endPos,j=(0,tM.CR)("start"===i?[k,C]:[C,k],2),A=j[0],S=j[1],E=sN([-S[0]+A[0],-S[1]+A[1]]),P=(0,tM.CR)(sE(E,O),2),R=P[0],T=P[1];return{x:A[0]+R,y:A[1]+T}}return o.includes("t")&&(b-=h+m+O),o.includes("r")&&(v+=d+g+w),o.includes("l")&&(v-=d+g+M),o.includes("b")&&(b+=h+m+_),{x:v,y:b}}(at(n._offscreen||n.querySelector(sS.mainGroup.class)),e,r),p=h.x,g=h.y;return sC(e.node(),{transform:"translate(".concat(p,", ").concat(g,")")},i)}function cF(t,e,n,r){var i=t.showLine,a=t.showTick,o=t.showLabel,l=i8(i,e.maybeAppendByClassName(sS.lineGroup,"g"),function(e){var n,i,a,o,l,s,c,u,f,d,h;return n=e,i=t,a=r,d=i.type,h=sW(i,"line"),"linear"===d?f=function(t,e,n,r){var i,a,o,l,s,c,u,f,d,h,p,g,m,y,v,b,x,O,w=e.showTrunc,_=e.startPos,M=e.endPos,k=e.truncRange,C=e.lineExtension,j=(0,tM.CR)([_,M],2),A=(0,tM.CR)(j[0],2),S=A[0],E=A[1],P=(0,tM.CR)(j[1],2),R=P[0],T=P[1],L=(0,tM.CR)(C?(void 0===(i=C)&&(i=[0,0]),a=(0,tM.CR)([_,M,i],3),l=(o=(0,tM.CR)(a[0],2))[0],s=o[1],u=(c=(0,tM.CR)(a[1],2))[0],f=c[1],h=(d=(0,tM.CR)(a[2],2))[0],p=d[1],v=Math.sqrt(Math.pow(m=(g=(0,tM.CR)([u-l,f-s],2))[0],2)+Math.pow(y=g[1],2)),[(x=(b=(0,tM.CR)([-h/v,p/v],2))[0])*m,x*y,(O=b[1])*m,O*y]):[,,,,].fill(0),4),I=L[0],N=L[1],B=L[2],D=L[3],F=function(e){return t.selectAll(sS.line.class).data(e,function(t,e){return e}).join(function(t){return t.append("line").attr("className",function(t){return"".concat(sS.line.name," ").concat(t.className)}).styles(n).transition(function(t){return sC(this,cr(t.line),!1)})},function(t){return t.styles(n).transition(function(t){return sC(this,cr(t.line),r.update)})},function(t){return t.remove()}).transitions()};if(!w||!k)return F([{line:[[S+I,E+N],[R+B,T+D]],className:sS.line.name}]);var z=(0,tM.CR)(k,2),$=z[0],W=z[1],Z=R-S,H=T-E,G=(0,tM.CR)([S+Z*$,E+H*$],2),q=G[0],V=G[1],Y=(0,tM.CR)([S+Z*W,E+H*W],2),U=Y[0],Q=Y[1],X=F([{line:[[S+I,E+N],[q,V]],className:sS.lineFirst.name},{line:[[U,Q],[R+B,T+D]],className:sS.lineSecond.name}]);return e.truncRange,e.truncShape,e.lineExtension,X}(n,i,s2(h,"arrow"),a):(o=s2(h,"arrow"),l=i.startAngle,s=i.endAngle,c=i.center,u=i.radius,f=n.selectAll(sS.line.class).data([{d:cn.apply(void 0,(0,tM.ev)((0,tM.ev)([l,s],(0,tM.CR)(c),!1),[u],!1))}],function(t,e){return e}).join(function(t){return t.append("path").attr("className",sS.line.name).styles(i).styles({d:function(t){return t.d}})},function(t){return t.transition(function(){var t,e,n,r,i,o=this,f=function(t,e,n,r){if(!r)return t.attr("__keyframe_data__",n),null;var i=r.duration,a=function t(e,n){var r,i,a,o,l,s;return"number"==typeof e&&"number"==typeof n?function(t){return e*(1-t)+n*t}:Array.isArray(e)&&Array.isArray(n)?(r=n?n.length:0,i=e?Math.min(r,e.length):0,function(a){var o=Array(i),l=Array(r),s=0;for(s=0;su[0])||!(e1?r[0]+r.slice(2):r,+t.slice(n+1)]}var cq=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function cV(t){var e;if(!(e=cq.exec(t)))throw Error("invalid format: "+t);return new cY({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function cY(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function cU(t,e){var n=cG(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}cV.prototype=cY.prototype,cY.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var cQ={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>cU(100*t,e),r:cU,s:function(t,e){var n=cG(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(yP=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+Array(1-a).join("0")+cG(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function cX(t){return t}var cK=Array.prototype.map,cJ=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function c0(t){for(var e=1/0,n=1/0,r=-1/0,i=-1/0,a=0;ar&&(r=d),h>i&&(i=h)}return new cT(e,n,r-e,i-n)}yT=(yR=function(t){var e,n,r,i=void 0===t.grouping||void 0===t.thousands?cX:(e=cK.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,a=[],o=0,l=e[0],s=0;i>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),a.push(t.substring(i-=l,i+l)),!((s+=l+1)>r));)l=e[o=(o+1)%e.length];return a.reverse().join(n)}),a=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",l=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?cX:(r=cK.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return r[+t]})}),c=void 0===t.percent?"%":t.percent+"",u=void 0===t.minus?"−":t.minus+"",f=void 0===t.nan?"NaN":t.nan+"";function d(t){var e=(t=cV(t)).fill,n=t.align,r=t.sign,d=t.symbol,h=t.zero,p=t.width,g=t.comma,m=t.precision,y=t.trim,v=t.type;"n"===v?(g=!0,v="g"):cQ[v]||(void 0===m&&(m=12),y=!0,v="g"),(h||"0"===e&&"="===n)&&(h=!0,e="0",n="=");var b="$"===d?a:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",x="$"===d?o:/[%p]/.test(v)?c:"",O=cQ[v],w=/[defgprs%]/.test(v);function _(t){var a,o,c,d=b,_=x;if("c"===v)_=O(t)+_,t="";else{var M=(t=+t)<0||1/t<0;if(t=isNaN(t)?f:O(Math.abs(t),m),y&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),M&&0==+t&&"+"!==r&&(M=!1),d=(M?"("===r?r:u:"-"===r||"("===r?"":r)+d,_=("s"===v?cJ[8+yP/3]:"")+_+(M&&"("===r?")":""),w){for(a=-1,o=t.length;++a(c=t.charCodeAt(a))||c>57){_=(46===c?l+t.slice(a+1):t.slice(a))+_,t=t.slice(0,a);break}}}g&&!h&&(t=i(t,1/0));var k=d.length+t.length+_.length,C=k>1)+d+t+_+C.slice(k);break;default:t=C+d+t+_}return s(t)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),_.toString=function(){return t+""},_}return{format:d,formatPrefix:function(t,e){var n,r=d(((t=cV(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(((n=cG(Math.abs(n=e)))?n[1]:NaN)/3))),a=Math.pow(10,-i),o=cJ[8+i/3];return function(t){return r(a*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,yR.formatPrefix;var c1=function(t,e,n){var r=t.width,i=t.height,a=n.flexDirection,o=void 0===a?"row":a,l=(n.flexWrap,n.justifyContent),s=void 0===l?"flex-start":l,c=(n.alignContent,n.alignItems),u=void 0===c?"flex-start":c,f="row"===o,d="row"===o||"column"===o,h=f?d?[1,0]:[-1,0]:d?[0,1]:[0,-1],p=(0,tM.CR)([0,0],2),g=p[0],m=p[1],y=e.map(function(t){var e,n=t.width,r=t.height,i=(0,tM.CR)([g,m],2),a=i[0],o=i[1];return g=(e=(0,tM.CR)([g+n*h[0],m+r*h[1]],2))[0],m=e[1],new cT(a,o,n,r)}),v=c0(y),b={"flex-start":0,"flex-end":f?r-v.width:i-v.height,center:f?(r-v.width)/2:(i-v.height)/2},x=y.map(function(t){var e=t.x,n=t.y,r=cT.fromRect(t);return r.x=f?e+b[s]:e,r.y=f?n:n+b[s],r});c0(x);var O=function(t){var e=(0,tM.CR)(f?["height",i]:["width",r],2),n=e[0],a=e[1];switch(u){case"flex-start":default:return 0;case"flex-end":return a-t[n];case"center":return a/2-t[n]/2}};return x.map(function(t){var e=t.x,n=t.y,r=cT.fromRect(t);return r.x=f?e:e+O(r),r.y=f?n+O(r):n,r}).map(function(e){var n,r,i=cT.fromRect(e);return i.x+=null!==(n=t.x)&&void 0!==n?n:0,i.y+=null!==(r=t.y)&&void 0!==r?r:0,i})},c2=function(t,e,n){return[]},c5=function(t,e,n){if(0===e.length)return[];var r={flex:c1,grid:c2},i=n.display in r?r[n.display]:null;return(null==i?void 0:i.call(null,t,e,n))||[]},c3=function(t){function e(e){var n=t.call(this,e)||this;n.layoutEvents=[t_.Dk.BOUNDS_CHANGED,t_.Dk.INSERTED,t_.Dk.REMOVED],n.$margin=ch(0),n.$padding=ch(0);var r=e.style||{},i=r.margin,a=r.padding;return n.margin=void 0===i?0:i,n.padding=void 0===a?0:a,n.isMutationObserved=!0,n.bindEvents(),n}return(0,tM.ZT)(e,t),Object.defineProperty(e.prototype,"margin",{get:function(){return this.$margin},set:function(t){this.$margin=ch(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"padding",{get:function(){return this.$padding},set:function(t){this.$padding=ch(t)},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var t=this.attributes,e=t.x,n=void 0===e?0:e,r=t.y,i=void 0===r?0:r,a=t.width,o=t.height,l=(0,tM.CR)(this.$margin,4),s=l[0],c=l[1],u=l[2],f=l[3];return new cT(n-f,i-s,a+f+c,o+s+u)},e.prototype.appendChild=function(e,n){return e.isMutationObserved=!0,t.prototype.appendChild.call(this,e,n),e},e.prototype.getAvailableSpace=function(){var t=this.attributes,e=t.width,n=t.height,r=(0,tM.CR)(this.$padding,4),i=r[0],a=r[1],o=r[2],l=r[3],s=(0,tM.CR)(this.$margin,4),c=s[0],u=s[3];return new cT(l+u,i+c,e-l-a,n-i-o)},e.prototype.layout=function(){if(this.attributes.display&&this.isConnected&&!this.children.some(function(t){return!t.isConnected}))try{var t=this.attributes,e=t.x,n=t.y;this.style.transform="translate(".concat(e,", ").concat(n,")");var r=c5(this.getAvailableSpace(),this.children.map(function(t){return t.getBBox()}),this.attributes);this.children.forEach(function(t,e){var n=r[e],i=n.x,a=n.y;t.style.transform="translate(".concat(i,", ").concat(a,")")})}catch(t){}},e.prototype.bindEvents=function(){var t=this;this.layoutEvents.forEach(function(e){t.addEventListener(e,function(e){e.target.isMutationObserved=!0,t.layout()})})},e.prototype.attributeChangedCallback=function(t,e,n){"margin"===t?this.margin=n:"padding"===t&&(this.padding=n),this.layout()},e}(t_.ZA),c4=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function c6(t,e,n){return t.querySelector(e)?eV(t).select(e):eV(t).append(n)}function c8(t){return Array.isArray(t)?t.join(", "):"".concat(t||"")}function c9(t,e){let{flexDirection:n,justifyContent:r,alignItems:i}={display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"center"},a={top:["row","flex-start","center"],bottom:["row","flex-start","center"],left:["column","flex-start","center"],right:["column","flex-start","center"],center:["column","center","center"]};return t in a&&([n,r,i]=a[t]),Object.assign({display:"flex",flexDirection:n,justifyContent:r,alignItems:i},e)}class c7 extends c3{get child(){var t;return null===(t=this.children)||void 0===t?void 0:t[0]}update(t){var e;this.attr(t);let{subOptions:n}=t;null===(e=this.child)||void 0===e||e.update(n)}}class ut extends c7{update(t){var e;let{subOptions:n}=t;this.attr(t),null===(e=this.child)||void 0===e||e.update(n)}}function ue(t,e){var n;return null===(n=t.filter(t=>t.getOptions().name===e))||void 0===n?void 0:n[0]}function un(t,e,n){let{bbox:r}=t,{position:i="top",size:a,length:o}=e,l=["top","bottom","center"].includes(i),[s,c]=l?[r.height,r.width]:[r.width,r.height],{defaultSize:u,defaultLength:f}=n.props,d=a||u||s,h=o||f||c,[p,g]=l?[h,d]:[d,h];return{orientation:l?"horizontal":"vertical",width:p,height:g,size:d,length:h}}function ur(t){let e=["arrow","crosshairs","grid","handle","handleLabel","indicator","label","line","tick","tip","title","trunc"],{style:n}=t,r=c4(t,["style"]),i={};return Object.entries(r).forEach(t=>{let[n,r]=t;e.includes(n)?i["show".concat(cH(n))]=r:i[n]=r}),Object.assign(Object.assign({},i),n)}var ui=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function ua(t,e){let{eulerAngles:n,origin:r}=e;r&&t.setOrigin(r),n&&t.rotate(n[0],n[1],n[2])}function uo(t){let{innerWidth:e,innerHeight:n,depth:r}=t.getOptions();return[e,n,r]}function ul(t,e,n,r,i,a,o,l){var s;(void 0!==n||void 0!==a)&&t.update(Object.assign(Object.assign({},n&&{tickCount:n}),a&&{tickMethod:a}));let c=function(t,e,n){if(t.getTicks)return t.getTicks();if(!n)return e;let[r,i]=nw(e,t=>+t),{tickCount:a}=t.getOptions();return n(r,i,a)}(t,e,a),u=i?c.filter(i):c,f=t=>t instanceof Date?String(t):"object"==typeof t&&t?t:String(t),d=r||(null===(s=t.getFormatter)||void 0===s?void 0:s.call(t))||f,h=function(t,e){if(tg(e))return t=>t;let n=e.getOptions(),{innerWidth:r,innerHeight:i,insetTop:a,insetBottom:o,insetLeft:l,insetRight:s}=n,[c,u,f]="left"===t||"right"===t?[a,o,i]:[l,s,r],d=new nO({domain:[0,1],range:[c/f,1-u/f]});return t=>d.map(t)}(o,l),p=function(t,e){let{width:n,height:r}=e.getOptions();return i=>{if(!tb(e))return i;let a=e.map("bottom"===t?[i,1]:[0,i]);if("bottom"===t){let t=a[0],e=new nO({domain:[0,n],range:[0,1]});return e.map(t)}if("left"===t){let t=a[1],e=new nO({domain:[0,r],range:[0,1]});return e.map(t)}return i}}(o,l),g=t=>["top","bottom","center","outer"].includes(t),m=t=>["left","right"].includes(t);return tg(l)||tp(l)?u.map((e,n,r)=>{var i,a;let s=(null===(i=t.getBandWidth)||void 0===i?void 0:i.call(t,e))/2||0,c=h(t.map(e)+s),u=tm(l)&&"center"===o||tp(l)&&(null===(a=t.getTicks)||void 0===a?void 0:a.call(t))&&g(o)||tp(l)&&m(o);return{value:u?1-c:c,label:f(d(e3(e),n,r)),id:String(n)}}):u.map((e,n,r)=>{var i;let a=(null===(i=t.getBandWidth)||void 0===i?void 0:i.call(t,e))/2||0,l=p(h(t.map(e)+a)),s=m(o);return{value:s?1-l:l,label:f(d(e3(e),n,r)),id:String(n)}})}let us=t=>e=>{let{labelFormatter:n,labelFilter:r=()=>!0}=e;return i=>{var a;let{scales:[o]}=i,l=(null===(a=o.getTicks)||void 0===a?void 0:a.call(o))||o.getOptions().domain,s="string"==typeof n?yT(n):n,c=Object.assign(Object.assign({},e),{labelFormatter:s,labelFilter:(t,e,n)=>r(l[e],e,l),scale:o});return t(c)(i)}},uc=us(t=>{let{direction:e="left",important:n={},labelFormatter:r,order:i,orientation:a,actualPosition:o,position:l,size:s,style:c={},title:u,tickCount:f,tickFilter:d,tickMethod:h,transform:p,indexBBox:g}=t,m=ui(t,["direction","important","labelFormatter","order","orientation","actualPosition","position","size","style","title","tickCount","tickFilter","tickMethod","transform","indexBBox"]);return i=>{var y;let{scales:v,value:b,coordinate:x,theme:O}=i,{bbox:w}=b,[_]=v,{domain:M,xScale:k}=_.getOptions(),C=function(t,e,n,r,i,a){let o=function(t,e,n,r,i,a){let o=n.axis,l=["top","right","bottom","left"].includes(i)?n["axis".concat(eB(i))]:n.axisLinear,s=t.getOptions().name,c=n["axis".concat(cH(s))]||{};return Object.assign({},o,l,c)}(t,0,n,0,i,0);return"center"===i?Object.assign(Object.assign(Object.assign(Object.assign({},o),{labelDirection:"right"===r?"negative":"positive"}),"center"===r?{labelTransform:"translate(50%,0)"}:null),{tickDirection:"right"===r?"negative":"positive",labelSpacing:"center"===r?0:4,titleSpacing:"vertical"===a||a===-Math.PI/2?10:0,tick:"center"!==r&&void 0}):o}(_,0,O,e,l,a),j=Object.assign(Object.assign(Object.assign({},C),c),m),A=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"xy",[r,i,a]=uo(e);return"xy"===n?t.includes("bottom")||t.includes("top")?i:r:"xz"===n?t.includes("bottom")||t.includes("top")?a:r:t.includes("bottom")||t.includes("top")?i:a}(o||l,x,t.plane),S=function(t,e,n,r,i){let{x:a,y:o,width:l,height:s}=n;if("bottom"===t)return{startPos:[a,o],endPos:[a+l,o]};if("left"===t)return{startPos:[a+l,o+s],endPos:[a+l,o]};if("right"===t)return{startPos:[a,o+s],endPos:[a,o]};if("top"===t)return{startPos:[a,o+s],endPos:[a+l,o+s]};if("center"===t){if("vertical"===e)return{startPos:[a,o],endPos:[a,o+s]};if("horizontal"===e)return{startPos:[a,o],endPos:[a+l,o]};if("number"==typeof e){let[t,n]=r.getCenter(),[c,u]=tO(r),[f,d]=tw(r),h=Math.min(l,s)/2,{insetLeft:p,insetTop:g}=r.getOptions(),m=c*h,y=u*h,[v,b]=[t+a-p,n+o-g],[x,O]=[Math.cos(e),Math.sin(e)],w=tg(r)&&i?(()=>{let{domain:t}=i.getOptions();return t.length})():3;return{startPos:[v+y*x,b+y*O],endPos:[v+m*x,b+m*O],gridClosed:1e-6>Math.abs(d-f-360),gridCenter:[v,b],gridControlAngles:Array(w).fill(0).map((t,e,n)=>(d-f)/w*e)}}}return{}}(l,a,w,x,k),E=function(t){let{depth:e}=t.getOptions();return e?{tickIsBillboard:!0,lineIsBillboard:!0,labelIsBillboard:!0,titleIsBillboard:!0,gridIsBillboard:!0}:{}}(x),P=ul(_,M,f,r,d,h,l,x),R=g?P.map((t,e)=>{let n=g.get(e);return n&&n[0]===t.label?Object.assign(Object.assign({},t),{bbox:n[1]}):t}):P,T=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},j),{type:"linear",data:R,crossSize:s,titleText:c8(u),labelOverlap:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;if(t.length>0)return t;let{labelAutoRotate:n,labelAutoHide:r,labelAutoEllipsis:i,labelAutoWrap:a}=e,o=[],l=(t,e)=>{e&&o.push(Object.assign(Object.assign({},t),e))};return l({type:"rotate",optionalAngles:[0,15,30,45,60,90]},n),l({type:"ellipsis",minLength:20},i),l({type:"hide"},r),l({type:"wrap",wordWrapWidth:100,maxLines:3,recoveryWhenFail:!0},a),o}(p,j),grid:(y=j.grid,!(tg(x)&&tp(x)||tv(x))&&(void 0===y?!!_.getTicks:y)),gridLength:A,line:!0,indexBBox:g}),j.line?null:{lineOpacity:0}),S),E),n),L=T.labelOverlap.find(t=>"hide"===t.type);return L&&(T.crossSize=!1),new cz({className:"axis",style:ur(T)})}}),uu=us(t=>{let{order:e,size:n,position:r,orientation:i,labelFormatter:a,tickFilter:o,tickCount:l,tickMethod:s,important:c={},style:u={},indexBBox:f,title:d,grid:h=!1}=t,p=ui(t,["order","size","position","orientation","labelFormatter","tickFilter","tickCount","tickMethod","important","style","indexBBox","title","grid"]);return t=>{let{scales:[e],value:n,coordinate:i,theme:u}=t,{bbox:g}=n,{domain:m}=e.getOptions(),y=ul(e,m,l,a,o,s,r,i),v=f?y.map((t,e)=>{let n=f.get(e);return n&&n[0]===t.label?Object.assign(Object.assign({},t),{bbox:n[1]}):t}):y,[b,x]=tO(i),O=function(t,e,n,r,i){let{x:a,y:o,width:l,height:s}=e,c=[a+l/2,o+s/2],u=Math.min(l,s)/2,[f,d]=tw(i),[h,p]=uo(i),g=Math.min(h,p)/2,m={center:c,radius:u,startAngle:f,endAngle:d,gridLength:(r-n)*g};if("inner"===t){let{insetLeft:t,insetTop:e}=i.getOptions();return Object.assign(Object.assign({},m),{center:[c[0]-t,c[1]-e],labelAlign:"perpendicular",labelDirection:"positive",tickDirection:"positive",gridDirection:"negative"})}return Object.assign(Object.assign({},m),{labelAlign:"parallel",labelDirection:"negative",tickDirection:"negative",gridDirection:"positive"})}(r,g,b,x,i),{axis:w,axisArc:_={}}=u,M=ur(R({},w,_,O,Object.assign(Object.assign({type:"arc",data:v,titleText:c8(d),grid:h},p),c)));return new cz({style:cZ(M,["transform"])})}});uc.props={defaultPosition:"center",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]},uu.props={defaultPosition:"outer",defaultOrientation:"vertical",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let uf=t=>function(){for(var e=arguments.length,n=Array(e),r=0;rfunction(){for(var e=arguments.length,n=Array(e),r=0;r1?{width:55,height:0}:{width:0,height:0}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageShape",{get:function(){var t,e,n=this.pageViews,r=(0,tM.CR)(((null===(e=(t=n.map(function(t){var e=t.getBBox();return[e.width,e.height]}))[0])||void 0===e?void 0:e.map(function(e,n){return t.map(function(t){return t[n]})}))||[]).map(function(t){return Math.max.apply(Math,(0,tM.ev)([],(0,tM.CR)(t),!1))}),2),i=r[0],a=r[1],o=this.attributes,l=o.pageWidth,s=o.pageHeight;return{pageWidth:void 0===l?i:l,pageHeight:void 0===s?a:s}},enumerable:!1,configurable:!0}),e.prototype.getContainer=function(){return this.playWindow},Object.defineProperty(e.prototype,"totalPages",{get:function(){return this.pageViews.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currPage",{get:function(){return this.innerCurrPage},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var e=t.prototype.getBBox.call(this),n=e.x,r=e.y,i=this.controllerShape,a=this.pageShape,o=a.pageWidth,l=a.pageHeight;return new cT(n,r,o+i.width,l)},e.prototype.goTo=function(t){var e=this,n=this.attributes.animate,r=this.currPage,i=this.playState,a=this.playWindow,o=this.pageViews;if("idle"!==i||t<0||o.length<=0||t>=o.length)return null;o[r].setLocalPosition(0,0),this.prepareFollowingPage(t);var l=(0,tM.CR)(this.getFollowingPageDiff(t),2),s=l[0],c=l[1];this.playState="running";var u=sk(a,[{transform:"translate(0, 0)"},{transform:"translate(".concat(-s,", ").concat(-c,")")}],n);return s_(u,function(){e.innerCurrPage=t,e.playState="idle",e.setVisiblePages([t]),e.updatePageInfo()}),u},e.prototype.prev=function(){var t=this.attributes.loop,e=this.pageViews.length,n=this.currPage;if(!t&&n<=0)return null;var r=t?(n-1+e)%e:(0,tF.Z)(n-1,0,e);return this.goTo(r)},e.prototype.next=function(){var t=this.attributes.loop,e=this.pageViews.length,n=this.currPage;if(!t&&n>=e-1)return null;var r=t?(n+1)%e:(0,tF.Z)(n+1,0,e);return this.goTo(r)},e.prototype.renderClipPath=function(t){var e=this.pageShape,n=e.pageWidth,r=e.pageHeight;if(!n||!r){this.contentGroup.style.clipPath=void 0;return}this.clipPath=t.maybeAppendByClassName(um.clipPath,"rect").styles({width:n,height:r}),this.contentGroup.attr("clipPath",this.clipPath.node())},e.prototype.setVisiblePages=function(t){this.playWindow.children.forEach(function(e,n){t.includes(n)?iK(e):iJ(e)})},e.prototype.adjustControllerLayout=function(){var t=this.prevBtnGroup,e=this.nextBtnGroup,n=this.pageInfoGroup,r=this.attributes,i=r.orientation,a=r.controllerPadding,o=n.getBBox(),l=o.width;o.height;var s=(0,tM.CR)("horizontal"===i?[-180,0]:[-90,90],2),c=s[0],u=s[1];t.setLocalEulerAngles(c),e.setLocalEulerAngles(u);var f=t.getBBox(),d=f.width,h=f.height,p=e.getBBox(),g=p.width,m=p.height,y=Math.max(d,l,g),v="horizontal"===i?{offset:[[0,0],[d/2+a,0],[d+l+2*a,0]],textAlign:"start"}:{offset:[[y/2,-h-a],[y/2,0],[y/2,m+a]],textAlign:"center"},b=(0,tM.CR)(v.offset,3),x=(0,tM.CR)(b[0],2),O=x[0],w=x[1],_=(0,tM.CR)(b[1],2),M=_[0],k=_[1],C=(0,tM.CR)(b[2],2),j=C[0],A=C[1],S=v.textAlign,E=n.querySelector("text");E&&(E.style.textAlign=S),t.setLocalPosition(O,w),n.setLocalPosition(M,k),e.setLocalPosition(j,A)},e.prototype.updatePageInfo=function(){var t,e=this.currPage,n=this.pageViews,r=this.attributes.formatter;n.length<2||(null===(t=this.pageInfoGroup.querySelector(um.pageInfo.class))||void 0===t||t.attr("text",r(e+1,n.length)),this.adjustControllerLayout())},e.prototype.getFollowingPageDiff=function(t){var e=this.currPage;if(e===t)return[0,0];var n=this.attributes.orientation,r=this.pageShape,i=r.pageWidth,a=r.pageHeight,o=t=2,l=t.maybeAppendByClassName(um.controller,"g");if(i0(l.node(),o),o){var s=sW(this.attributes,"button"),c=sW(this.attributes,"pageNum"),u=(0,tM.CR)(sH(s),2),f=u[0],d=u[1],h=f.size,p=(0,tM._T)(f,["size"]),g=!l.select(um.prevBtnGroup.class).node(),m=l.maybeAppendByClassName(um.prevBtnGroup,"g").styles(d);this.prevBtnGroup=m.node();var y=m.maybeAppendByClassName(um.prevBtn,"path"),v=l.maybeAppendByClassName(um.nextBtnGroup,"g").styles(d);this.nextBtnGroup=v.node(),[y,v.maybeAppendByClassName(um.nextBtn,"path")].forEach(function(t){t.styles((0,tM.pi)((0,tM.pi)({},p),{transformOrigin:"center"})),s1(t.node(),h,!0)});var b=l.maybeAppendByClassName(um.pageInfoGroup,"g");this.pageInfoGroup=b.node(),b.maybeAppendByClassName(um.pageInfo,"text").styles(c),this.updatePageInfo(),l.node().setLocalPosition(i+n,a/2),g&&(this.prevBtnGroup.addEventListener("click",function(){e.prev()}),this.nextBtnGroup.addEventListener("click",function(){e.next()}))}},e.prototype.render=function(t,e){var n=t.x,r=t.y,i=void 0===r?0:r;this.attr("transform","translate(".concat(void 0===n?0:n,", ").concat(i,")"));var a=at(e);this.renderClipPath(a),this.renderController(a),this.setVisiblePages([this.defaultPage]),this.goTo(this.defaultPage)},e.prototype.bindEvents=function(){var t=this,e=ug(function(){return t.render(t.attributes,t)},50);this.playWindow.addEventListener(t_.Dk.INSERTED,e),this.playWindow.addEventListener(t_.Dk.REMOVED,e)},e}(i6);function uv(t,e,n){return void 0===t&&(t="horizontal"),"horizontal"===t?e:n}aa.registerSymbol("hiddenHandle",function(t,e,n){var r=1.4*n;return[["M",t-n,e-r],["L",t+n,e-r],["L",t+n,e+r],["L",t-n,e+r],["Z"]]}),aa.registerSymbol("verticalHandle",function(t,e,n){var r=1.4*n,i=n/2,a=n/6,o=t+.4*r;return[["M",t,e],["L",o,e+i],["L",t+r,e+i],["L",t+r,e-i],["L",o,e-i],["Z"],["M",o,e+a],["L",t+r-2,e+a],["M",o,e-a],["L",t+r-2,e-a]]}),aa.registerSymbol("horizontalHandle",function(t,e,n){var r=1.4*n,i=n/2,a=n/6,o=e+.4*r;return[["M",t,e],["L",t-i,o],["L",t-i,e+r],["L",t+i,e+r],["L",t+i,o],["Z"],["M",t-a,o],["L",t-a,e+r-2],["M",t+a,o],["L",t+a,e+r-2]]});var ub=sj({layout:"flex",markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label",valueGroup:"value-group",value:"value",backgroundGroup:"background-group",background:"background"},"legend-category-item"),ux=function(t){function e(e){return t.call(this,e,{span:[1,1],marker:function(){return new t_.Cd({style:{r:6}})},markerSize:10,labelFill:"#646464",valueFill:"#646464",labelFontSize:12,valueFontSize:12,labelTextBaseline:"middle",valueTextBaseline:"middle"})||this}return(0,tM.ZT)(e,t),Object.defineProperty(e.prototype,"showValue",{get:function(){var t=this.attributes.valueText;return!!t&&("string"==typeof t||"number"==typeof t?""!==t:"function"==typeof t||""!==t.attr("text"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"actualSpace",{get:function(){var t=this.labelGroup,e=this.valueGroup,n=this.attributes.markerSize,r=t.node().getBBox(),i=r.width,a=r.height,o=e.node().getBBox();return{markerWidth:n,labelWidth:i,valueWidth:o.width,height:Math.max(n,a,o.height)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"span",{get:function(){var t=this.attributes.span;if(!t)return[1,1];var e=(0,tM.CR)(ch(t),2),n=e[0],r=e[1],i=this.showValue?r:0,a=n+i;return[n/a,i/a]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){var t,e=this.attributes,n=e.markerSize,r=e.width,i=this.actualSpace,a=i.markerWidth,o=i.height,l=this.actualSpace,s=l.labelWidth,c=l.valueWidth,u=(0,tM.CR)(this.spacing,2),f=u[0],d=u[1];if(r){var h=r-n-f-d,p=(0,tM.CR)(this.span,2),g=p[0],m=p[1];s=(t=(0,tM.CR)([g*h,m*h],2))[0],c=t[1]}return{width:a+s+c+f+d,height:o,markerWidth:a,labelWidth:s,valueWidth:c}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"spacing",{get:function(){var t=this.attributes.spacing;if(!t)return[0,0];var e=(0,tM.CR)(ch(t),2),n=e[0],r=e[1];return this.showValue?[n,r]:[n,0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layout",{get:function(){var t=this.shape,e=t.markerWidth,n=t.labelWidth,r=t.valueWidth,i=t.width,a=t.height,o=(0,tM.CR)(this.spacing,2),l=o[0];return{height:a,width:i,markerWidth:e,labelWidth:n,valueWidth:r,position:[e/2,e+l,e+n+l+o[1]]}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scaleSize",{get:function(){var t,e=(t=this.markerGroup.node().querySelector(ub.marker.class))?t.style:{},n=this.attributes,r=n.markerSize,i=n.markerStrokeWidth,a=void 0===i?e.strokeWidth:i,o=n.markerLineWidth,l=void 0===o?e.lineWidth:o,s=n.markerStroke,c=void 0===s?e.stroke:s,u=+(a||l||(c?1:0))*Math.sqrt(2),f=this.markerGroup.node().getBBox();return(1-u/Math.max(f.width,f.height))*r},enumerable:!1,configurable:!0}),e.prototype.renderMarker=function(t){var e=this,n=this.attributes.marker,r=sW(this.attributes,"marker");this.markerGroup=t.maybeAppendByClassName(ub.markerGroup,"g").style("zIndex",0),i8(!!n,this.markerGroup,function(){var t,i=e.markerGroup.node(),a=null===(t=i.childNodes)||void 0===t?void 0:t[0],o="string"==typeof n?new aa({style:{symbol:n},className:ub.marker.name}):n();a?o.nodeName===a.nodeName?a instanceof aa?a.update((0,tM.pi)((0,tM.pi)({},r),{symbol:n})):(function(t,e){var n,r,i=e.attributes;try{for(var a=(0,tM.XA)(Object.entries(i)),o=a.next();!o.done;o=a.next()){var l=(0,tM.CR)(o.value,2),s=l[0],c=l[1];"id"!==s&&"className"!==s&&t.attr(s,c)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}(a,o),at(a).styles(r)):(a.remove(),at(o).attr("className",ub.marker.name).styles(r),i.appendChild(o)):(o instanceof aa||at(o).attr("className",ub.marker.name).styles(r),i.appendChild(o)),e.markerGroup.node().scale(1/e.markerGroup.node().getScale()[0]);var l=s1(e.markerGroup.node(),e.scaleSize,!0);e.markerGroup.node().style._transform="scale(".concat(l,")")})},e.prototype.renderLabel=function(t){var e=sW(this.attributes,"label"),n=e.text,r=(0,tM._T)(e,["text"]);this.labelGroup=t.maybeAppendByClassName(ub.labelGroup,"g").style("zIndex",0),this.labelGroup.maybeAppendByClassName(ub.label,function(){return s0(n)}).styles(r)},e.prototype.renderValue=function(t){var e=this,n=sW(this.attributes,"value"),r=n.text,i=(0,tM._T)(n,["text"]);this.valueGroup=t.maybeAppendByClassName(ub.valueGroup,"g").style("zIndex",0),i8(this.showValue,this.valueGroup,function(){e.valueGroup.maybeAppendByClassName(ub.value,function(){return s0(r)}).styles(i)})},e.prototype.renderBackground=function(t){var e=this.shape,n=e.width,r=e.height,i=sW(this.attributes,"background");this.background=t.maybeAppendByClassName(ub.backgroundGroup,"g").style("zIndex",-1),this.background.maybeAppendByClassName(ub.background,"rect").styles((0,tM.pi)({width:n,height:r},i))},e.prototype.adjustLayout=function(){var t=this.layout,e=t.labelWidth,n=t.valueWidth,r=t.height,i=(0,tM.CR)(t.position,3),a=i[0],o=i[1],l=i[2],s=r/2;this.markerGroup.styles({transform:"translate(".concat(a,", ").concat(s,")").concat(this.markerGroup.node().style._transform)}),this.labelGroup.styles({transform:"translate(".concat(o,", ").concat(s,")")}),cu(this.labelGroup.select(ub.label.class).node(),Math.ceil(e)),this.showValue&&(this.valueGroup.styles({transform:"translate(".concat(l,", ").concat(s,")")}),cu(this.valueGroup.select(ub.value.class).node(),Math.ceil(n)))},e.prototype.render=function(t,e){var n=at(e),r=t.x,i=t.y,a=void 0===i?0:i;n.styles({transform:"translate(".concat(void 0===r?0:r,", ").concat(a,")")}),this.renderMarker(n),this.renderLabel(n),this.renderValue(n),this.renderBackground(n),this.adjustLayout()},e}(i6),uO=sj({page:"item-page",navigator:"navigator",item:"item"},"items"),uw=function(t,e,n){return(void 0===n&&(n=!0),t)?e(t):n},u_=function(t){function e(e){var n=t.call(this,e,{data:[],gridRow:1/0,gridCol:void 0,padding:0,width:1e3,height:100,rowPadding:0,colPadding:0,layout:"flex",orientation:"horizontal",click:uh,mouseenter:uh,mouseleave:uh})||this;return n.navigatorShape=[0,0],n}return(0,tM.ZT)(e,t),Object.defineProperty(e.prototype,"pageViews",{get:function(){return this.navigator.getContainer()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"grid",{get:function(){var t=this.attributes,e=t.gridRow,n=t.gridCol,r=t.data;if(!e&&!n)throw Error("gridRow and gridCol can not be set null at the same time");return e&&n?[e,n]:e?[e,r.length]:[r.length,n]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"renderData",{get:function(){var t=this.attributes,e=t.data,n=t.layout,r=sW(this.attributes,"item");return e.map(function(t,i){var a=t.id,o=void 0===a?i:a,l=t.label,s=t.value;return{id:"".concat(o),index:i,style:(0,tM.pi)({layout:n,labelText:l,valueText:s},Object.fromEntries(Object.entries(r).map(function(n){var r=(0,tM.CR)(n,2);return[r[0],sG(r[1],[t,i,e])]})))}})},enumerable:!1,configurable:!0}),e.prototype.getGridLayout=function(){var t=this,e=this.attributes,n=e.orientation,r=e.width,i=e.rowPadding,a=e.colPadding,o=(0,tM.CR)(this.navigatorShape,1)[0],l=(0,tM.CR)(this.grid,2),s=l[0],c=l[1],u=c*s,f=0;return this.pageViews.children.map(function(e,l){var d,h,p=Math.floor(l/u),g=l%u,m=t.ifHorizontal(c,s),y=[Math.floor(g/m),g%m];"vertical"===n&&y.reverse();var v=(0,tM.CR)(y,2),b=v[0],x=v[1],O=(r-o-(c-1)*a)/c,w=e.getBBox().height,_=(0,tM.CR)([0,0],2),M=_[0],k=_[1];return"horizontal"===n?(M=(d=(0,tM.CR)([f,b*(w+i)],2))[0],k=d[1],f=x===c-1?0:f+O+a):(M=(h=(0,tM.CR)([x*(O+a),f],2))[0],k=h[1],f=b===s-1?0:f+w+i),{page:p,index:l,row:b,col:x,pageIndex:g,width:O,height:w,x:M,y:k}})},e.prototype.getFlexLayout=function(){var t=this.attributes,e=t.width,n=t.height,r=t.rowPadding,i=t.colPadding,a=(0,tM.CR)(this.navigatorShape,1)[0],o=(0,tM.CR)(this.grid,2),l=o[0],s=o[1],c=(0,tM.CR)([e-a,n],2),u=c[0],f=c[1],d=(0,tM.CR)([0,0,0,0,0,0,0,0],8),h=d[0],p=d[1],g=d[2],m=d[3],y=d[4],v=d[5],b=d[6],x=d[7];return this.pageViews.children.map(function(t,e){var n,a,o,c,d=t.getBBox(),O=d.width,w=d.height,_=0===b?0:i,M=b+_+O;return M<=u&&uw(y,function(t){return t0?(this.navigatorShape=[55,0],t.call(this)):e},enumerable:!1,configurable:!0}),e.prototype.ifHorizontal=function(t,e){return uv(this.attributes.orientation,t,e)},e.prototype.flattenPage=function(t){t.querySelectorAll(uO.item.class).forEach(function(e){t.appendChild(e)}),t.querySelectorAll(uO.page.class).forEach(function(e){t.removeChild(e).destroy()})},e.prototype.renderItems=function(t){var e=this.attributes,n=e.click,r=e.mouseenter,i=e.mouseleave;this.flattenPage(t);var a=this.dispatchCustomEvent.bind(this);at(t).selectAll(uO.item.class).data(this.renderData,function(t){return t.id}).join(function(t){return t.append(function(t){var e=t.style;return new ux({style:e})}).attr("className",uO.item.name).on("click",function(){null==n||n(this),a("itemClick",{item:this})}).on("pointerenter",function(){null==r||r(this),a("itemMouseenter",{item:this})}).on("pointerleave",function(){null==i||i(this),a("itemMouseleave",{item:this})})},function(t){return t.each(function(t){var e=t.style;this.update(e)})},function(t){return t.remove()})},e.prototype.relayoutNavigator=function(){var t,e=this.attributes,n=e.layout,r=e.width,i=(null===(t=this.pageViews.children[0])||void 0===t?void 0:t.getBBox().height)||0,a=(0,tM.CR)(this.navigatorShape,2),o=a[0],l=a[1];this.navigator.update("grid"===n?{pageWidth:r-o,pageHeight:i-l}:{})},e.prototype.adjustLayout=function(){var t,e,n=this,r=Object.entries((t=this.itemsLayout,e="page",t.reduce(function(t,n){return(t[n[e]]=t[n[e]]||[]).push(n),t},{}))).map(function(t){var e=(0,tM.CR)(t,2);return{page:e[0],layouts:e[1]}}),i=(0,tM.ev)([],(0,tM.CR)(this.navigator.getContainer().children),!1);r.forEach(function(t){var e=t.layouts,r=n.pageViews.appendChild(new t_.ZA({className:uO.page.name}));e.forEach(function(t){var e=t.x,n=t.y,a=t.index,o=t.width,l=t.height,s=i[a];r.appendChild(s),up(s,"__layout__",t),s.update({x:e,y:n,width:o,height:l})})}),this.relayoutNavigator()},e.prototype.renderNavigator=function(t){var e=i2({orientation:this.attributes.orientation},sW(this.attributes,"nav")),n=this;return t.selectAll(uO.navigator.class).data(["nav"]).join(function(t){return t.append(function(){return new uy({style:e})}).attr("className",uO.navigator.name).each(function(){n.navigator=this})},function(t){return t.each(function(){this.update(e)})},function(t){return t.remove()}),this.navigator},e.prototype.getBBox=function(){return this.navigator.getBBox()},e.prototype.render=function(t,e){var n=this.attributes.data;if(n&&0!==n.length){var r=this.renderNavigator(at(e));this.renderItems(r.getContainer()),this.adjustLayout()}},e.prototype.dispatchCustomEvent=function(t,e){var n=new t_.Aw(t,{detail:e});this.dispatchEvent(n)},e}(i6),uM=sj({markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label"},"handle"),uk={showLabel:!0,formatter:function(t){return t.toString()},markerSize:25,markerStroke:"#c5c5c5",markerFill:"#fff",markerLineWidth:1,labelFontSize:12,labelFill:"#c5c5c5",labelText:"",orientation:"vertical",spacing:0},uC=function(t){function e(e){return t.call(this,e,uk)||this}return(0,tM.ZT)(e,t),e.prototype.render=function(t,e){var n=at(e).maybeAppendByClassName(uM.markerGroup,"g");this.renderMarker(n);var r=at(e).maybeAppendByClassName(uM.labelGroup,"g");this.renderLabel(r)},e.prototype.renderMarker=function(t){var e=this,n=this.attributes,r=n.orientation,i=n.markerSymbol,a=void 0===i?uv(r,"horizontalHandle","verticalHandle"):i;i8(!!a,t,function(t){var n=sW(e.attributes,"marker"),r=(0,tM.pi)({symbol:a},n);e.marker=t.maybeAppendByClassName(uM.marker,function(){return new aa({style:r})}).update(r)})},e.prototype.renderLabel=function(t){var e=this,n=this.attributes,r=n.showLabel,i=n.orientation,a=n.spacing,o=void 0===a?0:a,l=n.formatter;i8(r,t,function(t){var n,r=sW(e.attributes,"label"),a=r.text,s=(0,tM._T)(r,["text"]),c=(null===(n=t.select(uM.marker.class))||void 0===n?void 0:n.node().getBBox())||{},u=c.width,f=c.height,d=(0,tM.CR)(uv(i,[0,(void 0===f?0:f)+o,"center","top"],[(void 0===u?0:u)+o,0,"start","middle"]),4),h=d[0],p=d[1],g=d[2],m=d[3];t.maybeAppendByClassName(uM.label,"text").styles((0,tM.pi)((0,tM.pi)({},s),{x:h,y:p,text:l(a).toString(),textAlign:g,textBaseline:m}))})},e}(i6),uj={showTitle:!0,padding:0,orientation:"horizontal",backgroundFill:"transparent",titleText:"",titleSpacing:4,titlePosition:"top-left",titleFill:"#2C3542",titleFontWeight:"bold",titleFontFamily:"sans-serif",titleFontSize:12},uA=i2({},uj,{}),uS=i2({},uj,sZ(uk,"handle"),{color:["#d0e3fa","#acc7f6","#8daaf2","#6d8eea","#4d73cd","#325bb1","#5a3e75","#8c3c79","#e23455","#e7655b"],indicatorBackgroundFill:"#262626",indicatorLabelFill:"white",indicatorLabelFontSize:12,indicatorVisibility:"hidden",labelAlign:"value",labelDirection:"positive",labelSpacing:5,showHandle:!0,showIndicator:!0,showLabel:!0,slidable:!0,titleText:"",type:"continuous"}),uE=sj({title:"title",titleGroup:"title-group",items:"items",itemsGroup:"items-group",contentGroup:"content-group",ribbonGroup:"ribbon-group",ribbon:"ribbon",handlesGroup:"handles-group",handle:"handle",startHandle:"start-handle",endHandle:"end-handle",labelGroup:"label-group",label:"label",indicator:"indicator"},"legend"),uP=function(t){function e(e){return t.call(this,e,uA)||this}return(0,tM.ZT)(e,t),e.prototype.renderTitle=function(t,e,n){var r=this.attributes,i=r.showTitle,a=r.titleText,o=sW(this.attributes,"title"),l=(0,tM.CR)(sH(o),2),s=l[0],c=l[1];this.titleGroup=t.maybeAppendByClassName(uE.titleGroup,"g").styles(c);var u=(0,tM.pi)((0,tM.pi)({width:e,height:n},s),{text:i?a:""});this.title=this.titleGroup.maybeAppendByClassName(uE.title,function(){return new cB({style:u})}).update(u)},e.prototype.renderItems=function(t,e){var n=e.x,r=e.y,i=e.width,a=e.height,o=sW(this.attributes,"title",!0),l=(0,tM.CR)(sH(o),2),s=l[0],c=l[1],u=(0,tM.pi)((0,tM.pi)({},s),{width:i,height:a,x:0,y:0});this.itemsGroup=t.maybeAppendByClassName(uE.itemsGroup,"g").styles((0,tM.pi)((0,tM.pi)({},c),{transform:"translate(".concat(n,", ").concat(r,")")}));var f=this;this.itemsGroup.selectAll(uE.items.class).data(["items"]).join(function(t){return t.append(function(){return new u_({style:u})}).attr("className",uE.items.name).each(function(){f.items=at(this)})},function(t){return t.update(u)},function(t){return t.remove()})},e.prototype.adjustLayout=function(){if(this.attributes.showTitle){var t=this.title.node().getAvailableSpace(),e=t.x,n=t.y;this.itemsGroup.node().style.transform="translate(".concat(e,", ").concat(n,")")}},Object.defineProperty(e.prototype,"availableSpace",{get:function(){var t=this.attributes,e=t.showTitle,n=t.width,r=t.height;return e?this.title.node().getAvailableSpace():new cT(0,0,n,r)},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var e,n,r=null===(e=this.title)||void 0===e?void 0:e.node(),i=null===(n=this.items)||void 0===n?void 0:n.node();return r&&i?function(t,e){var n=t.attributes,r=n.position,i=n.spacing,a=n.inset,o=n.text,l=t.getBBox(),s=e.getBBox(),c=cI(r),u=(0,tM.CR)(ch(o?i:0),4),f=u[0],d=u[1],h=u[2],p=u[3],g=(0,tM.CR)(ch(a),4),m=g[0],y=g[1],v=g[2],b=g[3],x=(0,tM.CR)([p+d,f+h],2),O=x[0],w=x[1],_=(0,tM.CR)([b+y,m+v],2),M=_[0],k=_[1];if("l"===c[0])return new cT(l.x,l.y,s.width+l.width+O+M,Math.max(s.height+k,l.height));if("t"===c[0])return new cT(l.x,l.y,Math.max(s.width+M,l.width),s.height+l.height+w+k);var C=(0,tM.CR)([e.attributes.width||s.width,e.attributes.height||s.height],2),j=C[0],A=C[1];return new cT(s.x,s.y,j+l.width+O+M,A+l.height+w+k)}(r,i):t.prototype.getBBox.call(this)},e.prototype.render=function(t,e){var n=this.attributes,r=n.width,i=n.height,a=n.x,o=n.y,l=void 0===o?0:o,s=at(e);e.style.transform="translate(".concat(void 0===a?0:a,", ").concat(l,")"),this.renderTitle(s,r,i),this.renderItems(s,this.availableSpace),this.adjustLayout()},e}(i6);function uR(t){if(o7(t))return t[t.length-1]}var uT=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let uL=t=>{let{labelFormatter:e,layout:n,order:r,orientation:i,position:a,size:o,title:l,cols:s,itemMarker:c}=t,u=uT(t,["labelFormatter","layout","order","orientation","position","size","title","cols","itemMarker"]),{gridRow:f}=u;return e=>{let{value:r,theme:i}=e,{bbox:o}=r,{width:c,height:d}=function(t,e,n){let{position:r}=e;if("center"===r){let{bbox:e}=t,{width:n,height:r}=e;return{width:n,height:r}}let{width:i,height:a}=un(t,e,n);return{width:i,height:a}}(r,t,uL),h=c9(a,n),p=Object.assign(Object.assign(Object.assign(Object.assign({orientation:["right","left","center"].includes(a)?"vertical":"horizontal",width:c,height:d,layout:void 0!==s?"grid":"flex"},void 0!==s&&{gridCol:s}),void 0!==f&&{gridRow:f}),{titleText:c8(l)}),function(t,e){let{labelFormatter:n=t=>"".concat(t)}=t,{scales:r,theme:i}=e,a=i.legendCategory.itemMarkerSize,o=function(t,e){let n=ue(t,"size");return n instanceof lo?2*n.map(NaN):e}(r,a),l={itemMarker:function(t,e){let{scales:n,library:r,markState:i}=e,[a,o]=function(t,e){let n=ue(t,"shape"),r=ue(t,"color"),i=n?n.clone():null,a=[];for(let[t,n]of e){let e=t.type,o=(null==r?void 0:r.getOptions().domain.length)>0?null==r?void 0:r.getOptions().domain:n.data,l=o.map((e,r)=>{var a;return i?i.map(e||"point"):(null===(a=null==t?void 0:t.style)||void 0===a?void 0:a.shape)||n.defaultShape||"point"});"string"==typeof e&&a.push([e,l])}if(0===a.length)return["point",["point"]];if(1===a.length||!n)return a[0];let{range:o}=n.getOptions();return a.map(t=>{let[e,n]=t,r=0;for(let t=0;te[0]-t[0])[0][1]}(n,i),{itemMarker:l,itemMarkerSize:s}=t,c=(t,e)=>{var n,i,o;let l=(null===(o=null===(i=null===(n=r["mark.".concat(a)])||void 0===n?void 0:n.props)||void 0===i?void 0:i.shape[t])||void 0===o?void 0:o.props.defaultMarker)||uR(t.split(".")),c="function"==typeof s?s(e):s;return()=>(function(t,e){var{d:n,fill:r,lineWidth:i,path:a,stroke:o,color:l}=e,s=r0(e,["d","fill","lineWidth","path","stroke","color"]);let c=ix.get(t)||ix.get("point");return function(){for(var t=arguments.length,e=Array(t),n=0;n"".concat(o[t]),f=ue(n,"shape");return f&&!l?(t,e)=>c(u(e),t):"function"==typeof l?(t,e)=>{let n=l(t.id,e);return"string"==typeof n?c(n,t):n}:(t,e)=>c(l||u(e),t)}(Object.assign(Object.assign({},t),{itemMarkerSize:o}),e),itemMarkerSize:o,itemMarkerOpacity:function(t){let e=ue(t,"opacity");if(e){let{range:t}=e.getOptions();return(e,n)=>t[n]}}(r)},s="string"==typeof n?yT(n):n,c=ue(r,"color"),u=r.find(t=>t.getOptions().domain.length>0).getOptions().domain,f=c?t=>c.map(t):()=>e.theme.color;return Object.assign(Object.assign({},l),{data:u.map(t=>({id:t,label:s(t),color:f(t)}))})}(t,e)),{legendCategory:g={}}=i,m=ur(Object.assign({},g,p,u)),y=new ut({style:Object.assign(Object.assign({x:o.x,y:o.y,width:o.width,height:o.height},h),{subOptions:m})});return y.appendChild(new uP({className:"legend-category",style:m})),y}};function uI(t,e){return+t.toPrecision(e)}function uN(t){var e=t.canvas,n=t.touches,r=t.offsetX,i=t.offsetY;if(e)return[e.x,e.y];if(n){var a=n[0];return[a.clientX,a.clientY]}return r&&i?[r,i]:[0,0]}uL.props={defaultPosition:"top",defaultOrder:1,defaultSize:40,defaultCrossPadding:[12,12],defaultPadding:[12,12]};var uB={backgroundFill:"#262626",backgroundLineCap:"round",backgroundLineWidth:1,backgroundStroke:"#333",backgroundZIndex:-1,formatter:function(t){return t.toString()},labelFill:"#fff",labelFontSize:12,labelTextBaseline:"middle",padding:[2,4],position:"right",radius:0,zIndex:999},uD=sj({background:"background",labelGroup:"label-group",label:"label"},"indicator"),uF=function(t){function e(e){var n=t.call(this,e,uB)||this;return n.point=[0,0],n.group=n.appendChild(new t_.ZA({})),n.isMutationObserved=!0,n}return(0,tM.ZT)(e,t),e.prototype.renderBackground=function(){if(this.label){var t=this.attributes,e=t.position,n=t.padding,r=(0,tM.CR)(ch(n),4),i=r[0],a=r[1],o=r[2],l=r[3],s=this.label.node().getLocalBounds(),c=s.min,u=s.max,f=new cT(c[0]-l,c[1]-i,u[0]+a-c[0]+l,u[1]+o-c[1]+i),d=this.getPath(e,f),h=sW(this.attributes,"background");this.background=at(this.group).maybeAppendByClassName(uD.background,"path").styles((0,tM.pi)((0,tM.pi)({},h),{d:d})),this.group.appendChild(this.label.node())}},e.prototype.renderLabel=function(){var t=this.attributes,e=t.formatter,n=t.labelText,r=sW(this.attributes,"label"),i=(0,tM.CR)(sH(r),2),a=i[0],o=i[1],l=(a.text,(0,tM._T)(a,["text"]));this.label=at(this.group).maybeAppendByClassName(uD.labelGroup,"g").styles(o),n&&this.label.maybeAppendByClassName(uD.label,function(){return s0(e(n))}).style("text",e(n).toString()).selectAll("text").styles(l)},e.prototype.adjustLayout=function(){var t=(0,tM.CR)(this.point,2),e=t[0],n=t[1],r=this.attributes,i=r.x,a=r.y;this.group.attr("transform","translate(".concat(i-e,", ").concat(a-n,")"))},e.prototype.getPath=function(t,e){var n=this.attributes.radius,r=e.x,i=e.y,a=e.width,o=e.height,l=[["M",r+n,i],["L",r+a-n,i],["A",n,n,0,0,1,r+a,i+n],["L",r+a,i+o-n],["A",n,n,0,0,1,r+a-n,i+o],["L",r+n,i+o],["A",n,n,0,0,1,r,i+o-n],["L",r,i+n],["A",n,n,0,0,1,r+n,i],["Z"]],s={top:4,right:6,bottom:0,left:2}[t],c=this.createCorner([l[s].slice(-2),l[s+1].slice(-2)]);return l.splice.apply(l,(0,tM.ev)([s+1,1],(0,tM.CR)(c),!1)),l[0][0]="M",l},e.prototype.createCorner=function(t,e){void 0===e&&(e=10);var n=cO.apply(void 0,(0,tM.ev)([],(0,tM.CR)(t),!1)),r=(0,tM.CR)(t,2),i=(0,tM.CR)(r[0],2),a=i[0],o=i[1],l=(0,tM.CR)(r[1],2),s=l[0],c=l[1],u=(0,tM.CR)(n?[s-a,[a,s]]:[c-o,[o,c]],2),f=u[0],d=(0,tM.CR)(u[1],2),h=d[0],p=d[1],g=f/2,m=e*(f/Math.abs(f)),y=m/2,v=m*Math.sqrt(3)/2*.8,b=(0,tM.CR)([h,h+g-y,h+g,h+g+y,p],5),x=b[0],O=b[1],w=b[2],_=b[3],M=b[4];return n?(this.point=[w,o-v],[["L",x,o],["L",O,o],["L",w,o-v],["L",_,o],["L",M,o]]):(this.point=[a+v,w],[["L",a,x],["L",a,O],["L",a+v,w],["L",a,_],["L",a,M]])},e.prototype.applyVisibility=function(){"hidden"===this.attributes.visibility?iJ(this):iK(this)},e.prototype.bindEvents=function(){this.label.on(t_.Dk.BOUNDS_CHANGED,this.renderBackground)},e.prototype.render=function(){this.renderLabel(),this.renderBackground(),this.adjustLayout(),this.applyVisibility()},e}(i6),uz={fill:"#fff",lineWidth:1,radius:2,size:10,stroke:"#bfbfbf",strokeOpacity:1,zIndex:0},u$={fill:"#000",fillOpacity:.45,fontSize:12,textAlign:"center",textBaseline:"middle",zIndex:1},uW={x:0,y:0,orientation:"horizontal",showLabel:!0,type:"start"},uZ=sj({foreground:"foreground",handle:"handle",selection:"selection",sparkline:"sparkline",sparklineGroup:"sparkline-group",track:"track",brushArea:"brush-area"},"slider"),uH=sj({labelGroup:"label-group",label:"label",iconGroup:"icon-group",icon:"icon",iconRect:"icon-rect",iconLine:"icon-line"},"handle"),uG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,tM.ZT)(e,t),e.prototype.render=function(t,e){var n=t.x,r=t.y,i=t.size,a=void 0===i?10:i,o=t.radius,l=t.orientation,s=(0,tM._T)(t,["x","y","size","radius","orientation"]),c=2.4*a,u=at(e).maybeAppendByClassName(uH.iconRect,"rect").styles((0,tM.pi)((0,tM.pi)({},s),{width:a,height:c,radius:void 0===o?a/4:o,x:n-a/2,y:r-c/2,transformOrigin:"center"})),f=n+1/3*a-a/2,d=n+2/3*a-a/2,h=r+1/4*c-c/2,p=r+3/4*c-c/2;u.maybeAppendByClassName("".concat(uH.iconLine,"-1"),"line").styles((0,tM.pi)({x1:f,x2:f,y1:h,y2:p},s)),u.maybeAppendByClassName("".concat(uH.iconLine,"-2"),"line").styles((0,tM.pi)({x1:d,x2:d,y1:h,y2:p},s)),"vertical"===l&&(u.node().style.transform="rotate(90)")},e}(i6),uq=function(t){function e(e){return t.call(this,e,uW)||this}return(0,tM.ZT)(e,t),e.prototype.renderLabel=function(t){var e=this,n=this.attributes,r=n.x,i=n.y,a=n.showLabel,o=sW(this.attributes,"label"),l=o.x,s=void 0===l?0:l,c=o.y,u=void 0===c?0:c,f=o.transform,d=o.transformOrigin,h=(0,tM._T)(o,["x","y","transform","transformOrigin"]),p=(0,tM.CR)(sH(h,[]),2),g=p[0],m=p[1],y=at(t).maybeAppendByClassName(uH.labelGroup,"g").styles(m),v=(0,tM.pi)((0,tM.pi)({},u$),g),b=v.text,x=(0,tM._T)(v,["text"]);i8(!!a,y,function(t){e.label=t.maybeAppendByClassName(uH.label,"text").styles((0,tM.pi)((0,tM.pi)({},x),{x:r+s,y:i+u,transform:f,transformOrigin:d,text:"".concat(b)})),e.label.on("mousedown",function(t){t.stopPropagation()}),e.label.on("touchstart",function(t){t.stopPropagation()})})},e.prototype.renderIcon=function(t){var e=this.attributes,n=e.x,r=e.y,i=e.orientation,a=e.type,o=(0,tM.pi)((0,tM.pi)({x:n,y:r,orientation:i},uz),sW(this.attributes,"icon")),l=this.attributes.iconShape,s=void 0===l?function(){return new uG({style:o})}:l;at(t).maybeAppendByClassName(uH.iconGroup,"g").selectAll(uH.icon.class).data([s]).join(function(t){return t.append("string"==typeof s?s:function(){return s(a)}).attr("className",uH.icon.name)},function(t){return t.update(o)},function(t){return t.remove()})},e.prototype.render=function(t,e){this.renderIcon(e),this.renderLabel(e)},e}(i6);function uV(t,e){var n=(0,tM.CR)(function(t,e){for(var n=1;n=r&&e<=i)return[r,i]}return[e,e]}(t,e),2),r=n[0],i=n[1];return{tick:e>(r+i)/2?i:r,range:[r,i]}}var uY=sj({trackGroup:"background-group",track:"background",selectionGroup:"ribbon-group",selection:"ribbon",clipPath:"clip-path"},"ribbon");function uU(t){var e=t.orientation,n=t.size,r=t.length;return uv(e,[r,n],[n,r])}function uQ(t){var e=t.type,n=(0,tM.CR)(uU(t),2),r=n[0],i=n[1];return"size"===e?[["M",0,i],["L",0+r,0],["L",0+r,i],["Z"]]:[["M",0,i],["L",0,0],["L",0+r,0],["L",0+r,i],["Z"]]}var uX=function(t){function e(e){return t.call(this,e,{type:"color",orientation:"horizontal",size:30,range:[0,1],length:200,block:!1,partition:[],color:["#fff","#000"],trackFill:"#e5e5e5"})||this}return(0,tM.ZT)(e,t),e.prototype.render=function(t,e){var n,r,i,a,o,l,s,c,u,f,d,h,p,g,m;(function(t,e){var n=sW(e,"track");t.maybeAppendByClassName(uY.track,"path").styles((0,tM.pi)({d:uQ(e)},n))})(at(e).maybeAppendByClassName(uY.trackGroup,"g"),t),n=at(e).maybeAppendByClassName(uY.selectionGroup,"g"),r=sW(t,"selection"),f=(l=t).orientation,d=l.color,h=l.block,p=l.partition,g=(u=iX(d)?Array(20).fill(0).map(function(t,e,n){return d(e/(n.length-1))}):d).length,m=u.map(function(t){return(0,t_.lu)(t).toString()}),i=g?1===g?m[0]:h?(s=Array.from(m),Array(c=p.length).fill(0).reduce(function(t,e,n){var r=s[n%s.length];return t+" ".concat(p[n],":").concat(r).concat(nh?Math.max(u-l,0):Math.max((u-l-h)/g,0));var v=Math.max(p,s),b=f-v,x=(0,tM.CR)(this.ifHorizontal([b,m],[m,b]),2),O=x[0],w=x[1],_=["top","left"].includes(y)?l:0,M=(0,tM.CR)(this.ifHorizontal([v/2,_],[_,v/2]),2),k=M[0],C=M[1];return new cT(k,C,O,w)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ribbonShape",{get:function(){var t=this.ribbonBBox,e=t.width,n=t.height;return this.ifHorizontal({size:n,length:e},{size:e,length:n})},enumerable:!1,configurable:!0}),e.prototype.renderRibbon=function(t){var e=this.attributes,n=e.data,r=e.type,i=e.orientation,a=e.color,o=e.block,l=sW(this.attributes,"ribbon"),s=this.range,c=s.min,u=s.max,f=this.ribbonBBox,d=f.x,h=f.y,p=this.ribbonShape,g=p.length,m=p.size,y=i2({transform:"translate(".concat(d,", ").concat(h,")"),length:g,size:m,type:r,orientation:i,color:a,block:o,partition:n.map(function(t){return(t.value-c)/(u-c)}),range:this.ribbonRange},l);this.ribbon=t.maybeAppendByClassName(uE.ribbon,function(){return new uX({style:y})}).update(y)},e.prototype.getHandleClassName=function(t){return"".concat(uE.prefix("".concat(t,"-handle")))},e.prototype.renderHandles=function(){var t=this.attributes,e=t.showHandle,n=t.orientation,r=sW(this.attributes,"handle"),i=(0,tM.CR)(this.selection,2),a=i[0],o=i[1],l=(0,tM.pi)((0,tM.pi)({},r),{orientation:n}),s=r.shape,c="basic"===(void 0===s?"slider":s)?uC:uq,u=this;this.handlesGroup.selectAll(uE.handle.class).data(e?[{value:a,type:"start"},{value:o,type:"end"}]:[],function(t){return t.type}).join(function(t){return t.append(function(){return new c({style:l})}).attr("className",function(t){var e=t.type;return"".concat(uE.handle," ").concat(u.getHandleClassName(e))}).each(function(t){var e=t.type,n=t.value;this.update({labelText:n}),u["".concat(e,"Handle")]=this,this.addEventListener("pointerdown",u.onDragStart(e))})},function(t){return t.update(l).each(function(t){var e=t.value;this.update({labelText:e})})},function(t){return t.each(function(t){var e=t.type;u["".concat(e,"Handle")]=void 0}).remove()})},e.prototype.adjustHandles=function(){var t=(0,tM.CR)(this.selection,2),e=t[0],n=t[1];this.setHandlePosition("start",e),this.setHandlePosition("end",n)},Object.defineProperty(e.prototype,"handleBBox",{get:function(){if(this.cacheHandleBBox)return this.cacheHandleBBox;if(!this.attributes.showHandle)return new cT(0,0,0,0);var t=this.startHandle.getBBox(),e=t.width,n=t.height,r=this.endHandle.getBBox(),i=r.width,a=r.height,o=(0,tM.CR)([Math.max(e,i),Math.max(n,a)],2),l=o[0],s=o[1];return this.cacheHandleBBox=new cT(0,0,l,s),this.cacheHandleBBox},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"handleShape",{get:function(){var t=this.handleBBox,e=t.width,n=t.height,r=(0,tM.CR)(this.ifHorizontal([n,e],[e,n]),2),i=r[0],a=r[1];return{width:e,height:n,size:i,length:a}},enumerable:!1,configurable:!0}),e.prototype.setHandlePosition=function(t,e){var n=this.attributes.handleFormatter,r=this.ribbonBBox,i=r.x,a=r.y,o=this.ribbonShape.size,l=this.getOffset(e),s=(0,tM.CR)(this.ifHorizontal([i+l,a+o*this.handleOffsetRatio],[i+o*this.handleOffsetRatio,a+l]),2),c=s[0],u=s[1],f=this.handlesGroup.select(".".concat(this.getHandleClassName(t))).node();null==f||f.update({transform:"translate(".concat(c,", ").concat(u,")"),formatter:n})},e.prototype.renderIndicator=function(t){var e=sW(this.attributes,"indicator");this.indicator=t.maybeAppendByClassName(uE.indicator,function(){return new uF({})}).update(e)},Object.defineProperty(e.prototype,"labelData",{get:function(){var t=this;return this.attributes.data.reduce(function(e,n,r,i){var a,o,l=null!==(a=null==n?void 0:n.id)&&void 0!==a?a:r.toString();if(e.push((0,tM.pi)((0,tM.pi)({},n),{id:l,index:r,type:"value",label:null!==(o=null==n?void 0:n.label)&&void 0!==o?o:n.value.toString(),value:t.ribbonScale.map(n.value)})),rb&&(v=(l=(0,tM.CR)([b,v],2))[0],b=l[1]),x>u-c)?[c,u]:vu?m===u&&g===v?[v,u]:[u-x,u]:[v,b]),2))[0],j=O[1],this.update({defaultValue:[C,j]}),this.dispatchSelection()},Object.defineProperty(e.prototype,"step",{get:function(){var t=this.attributes.step,e=void 0===t?1:t,n=this.range,r=n.min,i=n.max;return(0,ns.Z)(e)?uI((i-r)*.01,0):e},enumerable:!1,configurable:!0}),e.prototype.getTickValue=function(t){var e,n,r=this.attributes,i=r.data,a=r.block,o=this.range.min;return a?uV(i.map(function(t){return t.value}),t).tick:(n=Math.round((t-o)/(e=this.step)),o+n*e)},e.prototype.getValueByCanvasPoint=function(t){var e=this.range,n=e.min,r=e.max,i=(0,tM.CR)(this.ribbon.node().getPosition(),2),a=i[0],o=i[1],l=this.ifHorizontal(a,o),s=this.ifHorizontal.apply(this,(0,tM.ev)([],(0,tM.CR)(uN(t)),!1));return(0,tF.Z)(this.getOffset(s-l,!0),n,r)},e.prototype.getOffset=function(t,e){void 0===e&&(e=!1);var n=this.range,r=n.min,i=n.max,a=this.ribbonShape.length,o=this.eventToOffsetScale;return(o.update({domain:[r,i],range:[0,a]}),e)?o.invert(t):o.map(t)},e.prototype.getRealSelection=function(t){var e=this.range.max,n=(0,tM.CR)(t,2),r=n[0],i=n[1];return this.ifHorizontal([r,i],[e-i,e-r])},e.prototype.getRealValue=function(t){var e=this.range.max;return this.ifHorizontal(t,e-t)},e.prototype.dispatchSelection=function(){var t=this.getRealSelection(this.selection),e=new t_.Aw("valuechange",{detail:{value:t}});this.dispatchEvent(e)},e.prototype.dispatchIndicated=function(t,e){var n=this,r=this.range.max,i=this.ifHorizontal(function(){return{value:t,range:e}},function(){return{value:r-t,range:e?n.getRealSelection(e):void 0}}),a=new t_.Aw("indicate",{detail:i});this.dispatchEvent(a)},e}(i6),uJ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function u0(t){let{domain:e}=t.getOptions(),[n,r]=[e[0],nk(e)];return[n,r]}let u1=t=>{let{labelFormatter:e,layout:n,order:r,orientation:i,position:a,size:o,title:l,style:s,crossPadding:c,padding:u}=t,f=uJ(t,["labelFormatter","layout","order","orientation","position","size","title","style","crossPadding","padding"]);return r=>{let{scales:i,value:o,theme:c,scale:u}=r,{bbox:d}=o,{x:h,y:p,width:g,height:m}=d,y=c9(a,n),{legendContinuous:v={}}=c,b=ur(Object.assign({},v,Object.assign(Object.assign({titleText:c8(l),labelAlign:"value",labelFormatter:"string"==typeof e?t=>yT(e)(t.label):e},function(t,e,n,r,i,a){let o=ue(t,"color"),l=function(t,e,n){var r,i,a;let{size:o}=e,l=un(t,e,n);return r=l,i=o,a=l.orientation,(r.size=i,"horizontal"===a||0===a)?r.height=i:r.width=i,r}(n,r,i);if(o instanceof sn){let{range:t}=o.getOptions(),[e,n]=u0(o);return o instanceof so||o instanceof si?function(t,e,n,r,i){let a=e.thresholds;return Object.assign(Object.assign({},t),{color:i,data:[n,...a,r].map(t=>({value:t/r,label:String(t)}))})}(l,o,e,n,t):function(t,e,n){let r=e.thresholds,i=[-1/0,...r,1/0].map((t,e)=>({value:e,label:t}));return Object.assign(Object.assign({},t),{data:i,color:n,labelFilter:(t,e)=>e>0&&evoid 0!==t).find(t=>!(t instanceof sf)));return Object.assign(Object.assign({},t),{domain:[f,d],data:s.getTicks().map(t=>({value:t})),color:Array(Math.floor(o)).fill(0).map((t,e)=>{let n=(u-c)/(o-1)*e+c,i=s.map(n)||l,a=r?r.map(n):1;return i.replace(/rgb[a]*\(([\d]{1,3}) *, *([\d]{1,3}) *, *([\d]{1,3})[\S\s]*\)/,(t,e,n,r)=>"rgba(".concat(e,", ").concat(n,", ").concat(r,", ").concat(a,")"))})})}(l,o,s,c,e,a)}(i,u,o,t,u1,c)),s),f)),x=new c7({style:Object.assign(Object.assign({x:h,y:p,width:g,height:m},y),{subOptions:b})});return x.appendChild(new uK({className:"legend-continuous",style:b})),x}};u1.props={defaultPosition:"top",defaultOrientation:"vertical",defaultOrder:1,defaultSize:60,defaultLength:200,defaultLegendSize:60,defaultPadding:[20,10],defaultCrossPadding:[12,12]};let u2=t=>()=>new t_.ZA;u2.props={};var u5=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function u3(t,e,n,r){switch(r){case"center":return{x:t+n/2,y:e,textAlign:"middle"};case"right":return{x:t+n,y:e,textAlign:"right"};default:return{x:t,y:e,textAlign:"left"}}}let u4=(yk={render(t,e){let{width:n,title:r,subtitle:i,spacing:a=2,align:o="left",x:l,y:s}=t,c=u5(t,["width","title","subtitle","spacing","align","x","y"]);e.style.transform="translate(".concat(l,", ").concat(s,")");let u=e$(c,"title"),f=e$(c,"subtitle"),d=c6(e,".title","text").attr("className","title").call(nj,Object.assign(Object.assign(Object.assign({},u3(0,0,n,o)),{fontSize:14,textBaseline:"top",text:r}),u)).node(),h=d.getLocalBounds();c6(e,".sub-title","text").attr("className","sub-title").call(t=>{if(!i)return t.node().remove();t.node().attr(Object.assign(Object.assign(Object.assign({},u3(0,h.max[1]+a,n,o)),{fontSize:12,textBaseline:"top",text:i}),f))})}},class extends t_.b_{connectedCallback(){var t,e;null===(e=(t=this.descriptor).render)||void 0===e||e.call(t,this.attributes,this)}update(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.attr(R({},this.attributes,n)),null===(e=(t=this.descriptor).render)||void 0===e||e.call(t,this.attributes,this)}constructor(t){super(t),this.descriptor=yk}}),u6=t=>e=>{let{value:n,theme:r}=e,{x:i,y:a,width:o,height:l}=n.bbox;return new u4({style:R({},r.title,Object.assign({x:i,y:a,width:o,height:l},t))})};u6.props={defaultPosition:"top",defaultOrder:2,defaultSize:36,defaultCrossPadding:[20,20],defaultPadding:[12,12]};var u8=function(t){if("object"!=typeof t||null===t)return t;if((0,A.Z)(t)){e=[];for(var e,n=0,r=t.length;nr&&(n=a,r=o)}return n}};function fs(t){return 0===t.length?[0,0]:[(0,fi.Z)(fa(t,function(t){return(0,fi.Z)(t)||0})),(0,fo.Z)(fl(t,function(t){return(0,fo.Z)(t)||0}))]}function fc(t){for(var e=u8(t),n=e[0].length,r=(0,tM.CR)([Array(n).fill(0),Array(n).fill(0)],2),i=r[0],a=r[1],o=0;o=0?(l[s]+=i[s],i[s]=l[s]):(l[s]+=a[s],a[s]=l[s]);return e}var fu=function(t){function e(e){return t.call(this,e,{type:"line",x:0,y:0,width:200,height:20,isStack:!1,color:["#83daad","#edbf45","#d2cef9","#e290b3","#6f63f4"],smooth:!0,lineLineWidth:1,areaOpacity:0,isGroup:!1,columnLineWidth:1,columnStroke:"#fff",scale:1,spacing:0})||this}return(0,tM.ZT)(e,t),Object.defineProperty(e.prototype,"rawData",{get:function(){var t=this.attributes.data;if(!t||(null==t?void 0:t.length)===0)return[[]];var e=u8(t);return(0,tC.Z)(e[0])?[e]:e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this.attributes.isStack?fc(this.rawData):this.rawData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scales",{get:function(){return this.createScales(this.data)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseline",{get:function(){var t=this.scales.y,e=(0,tM.CR)(t.getOptions().domain||[0,0],2),n=e[0],r=e[1];return r<0?t.map(r):t.map(n<0?0:n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"containerShape",{get:function(){var t=this.attributes;return{width:t.width,height:t.height}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"linesStyle",{get:function(){var t=this,e=this.attributes,n=e.type,r=e.isStack,i=e.smooth;if("line"!==n)throw Error("linesStyle can only be used in line type");var a=sW(this.attributes,"area"),o=sW(this.attributes,"line"),l=this.containerShape.width,s=this.data;if(0===s[0].length)return{lines:[],areas:[]};var c=this.scales,u=(p=(d={type:"line",x:c.x,y:c.y}).x,g=d.y,y=(m=(0,tM.CR)(g.getOptions().range||[0,0],2))[0],(v=m[1])>y&&(v=(h=(0,tM.CR)([y,v],2))[0],y=h[1]),s.map(function(t){return t.map(function(t,e){return[p.map(e),(0,tF.Z)(g.map(t),v,y)]})})),f=[];if(a){var d,h,p,g,m,y,v,b=this.baseline;f=r?i?function(t,e,n){for(var r=[],i=t.length-1;i>=0;i-=1){var a=t[i],o=fn(a),l=void 0;if(0===i)l=fr(o,e,n);else{var s=fn(t[i-1],!0),c=a[0];s[0][0]="L",l=(0,tM.ev)((0,tM.ev)((0,tM.ev)([],(0,tM.CR)(o),!1),(0,tM.CR)(s),!1),[(0,tM.ev)(["M"],(0,tM.CR)(c),!1),["Z"]],!1)}r.push(l)}return r}(u,l,b):function(t,e,n){for(var r=[],i=t.length-1;i>=0;i-=1){var a=fe(t[i]),o=void 0;if(0===i)o=fr(a,e,n);else{var l=fe(t[i-1],!0);l[0][0]="L",o=(0,tM.ev)((0,tM.ev)((0,tM.ev)([],(0,tM.CR)(a),!1),(0,tM.CR)(l),!1),[["Z"]],!1)}r.push(o)}return r}(u,l,b):u.map(function(t){return fr(i?fn(t):fe(t),l,b)})}return{lines:u.map(function(e,n){return(0,tM.pi)({stroke:t.getColor(n),d:i?fn(e):fe(e)},o)}),areas:f.map(function(e,n){return(0,tM.pi)({d:e,fill:t.getColor(n)},a)})}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"columnsStyle",{get:function(){var t=this,e=sW(this.attributes,"column"),n=this.attributes,r=n.isStack,i=n.type,a=n.scale;if("column"!==i)throw Error("columnsStyle can only be used in column type");var o=this.containerShape.height,l=this.rawData;if(!l)return{columns:[]};r&&(l=fc(l));var s=this.createScales(l),c=s.x,u=s.y,f=(0,tM.CR)(fs(l),2),d=f[0],h=f[1],p=new nO({domain:[0,h-(d>0?0:d)],range:[0,o*a]}),g=c.getBandWidth(),m=this.rawData;return{columns:l.map(function(n,i){return n.map(function(n,a){var o=g/l.length;return(0,tM.pi)((0,tM.pi)({fill:t.getColor(i)},e),r?{x:c.map(a),y:u.map(n),width:g,height:p.map(m[i][a])}:{x:c.map(a)+o*i,y:n>=0?u.map(n):u.map(0),width:o,height:p.map(Math.abs(n))})})})}},enumerable:!1,configurable:!0}),e.prototype.render=function(t,e){(n=".container",e.querySelector(n)?at(e).select(n):at(e).append("rect")).attr("className","container").node();var n,r=t.type,i=t.x,a=t.y,o="spark".concat(r),l=(0,tM.pi)({x:i,y:a},"line"===r?this.linesStyle:this.columnsStyle);at(e).selectAll(".spark").data([r]).join(function(t){return t.append(function(t){return"line"===t?new u7({className:o,style:l}):new u9({className:o,style:l})}).attr("className","spark ".concat(o))},function(t){return t.update(l)},function(t){return t.remove()})},e.prototype.getColor=function(t){var e=this.attributes.color;return(0,A.Z)(e)?e[t%e.length]:iX(e)?e.call(null,t):e},e.prototype.createScales=function(t){var e,n,r=this.attributes,i=r.type,a=r.scale,o=r.range,l=void 0===o?[]:o,s=r.spacing,c=this.containerShape,u=c.width,f=c.height,d=(0,tM.CR)(fs(t),2),h=d[0],p=d[1],g=new nO({domain:[null!==(e=l[0])&&void 0!==e?e:h,null!==(n=l[1])&&void 0!==n?n:p],range:[f,f*(1-a)]});return"line"===i?{type:i,x:new nO({domain:[0,t[0].length-1],range:[0,u]}),y:g}:{type:i,x:new o8({domain:t[0].map(function(t,e){return e}),range:[0,u],paddingInner:s,paddingOuter:s/2,align:.5}),y:g}},e.tag="sparkline",e}(i6),ff=function(t){function e(e){var n=t.call(this,e,(0,tM.pi)((0,tM.pi)((0,tM.pi)({x:0,y:0,animate:{duration:100,fill:"both"},brushable:!0,formatter:function(t){return t.toString()},handleSpacing:2,orientation:"horizontal",padding:0,autoFitLabel:!0,scrollable:!0,selectionFill:"#5B8FF9",selectionFillOpacity:.45,selectionZIndex:2,showHandle:!0,showLabel:!0,slidable:!0,trackFill:"#416180",trackLength:200,trackOpacity:.05,trackSize:20,trackZIndex:-1,values:[0,1],type:"range",selectionType:"select",handleIconOffset:0},sZ(uW,"handle")),sZ(uz,"handleIcon")),sZ(u$,"handleLabel")))||this;return n.range=[0,1],n.onDragStart=function(t){return function(e){e.stopPropagation(),n.target=t,n.prevPos=n.getOrientVal(uN(e));var r=n.availableSpace,i=r.x,a=r.y,o=n.getBBox(),l=o.x,s=o.y;n.selectionStartPos=n.getRatio(n.prevPos-n.getOrientVal([i,a])-n.getOrientVal([+l,+s])),n.selectionWidth=0,document.addEventListener("pointermove",n.onDragging),document.addEventListener("pointerup",n.onDragEnd)}},n.onDragging=function(t){var e=n.attributes,r=e.slidable,i=e.brushable,a=e.type;t.stopPropagation();var o=n.getOrientVal(uN(t)),l=o-n.prevPos;if(l){var s=n.getRatio(l);switch(n.target){case"start":r&&n.setValuesOffset(s);break;case"end":r&&n.setValuesOffset(0,s);break;case"selection":r&&n.setValuesOffset(s,s);break;case"track":if(!i)return;n.selectionWidth+=s,"range"===a?n.innerSetValues([n.selectionStartPos,n.selectionStartPos+n.selectionWidth].sort(),!0):n.innerSetValues([0,n.selectionStartPos+n.selectionWidth],!0)}n.prevPos=o}},n.onDragEnd=function(){document.removeEventListener("pointermove",n.onDragging),document.removeEventListener("pointermove",n.onDragging),document.removeEventListener("pointerup",n.onDragEnd),n.target="",n.updateHandlesPosition(!1)},n.onValueChange=function(t){var e=n.attributes,r=e.onChange,i=e.type,a="range"===i?t:t[1],o="range"===i?n.getValues():n.getValues()[1],l=new t_.Aw("valuechange",{detail:{oldValue:a,value:o}});n.dispatchEvent(l),null==r||r(o)},n.selectionStartPos=0,n.selectionWidth=0,n.prevPos=0,n.target="",n}return(0,tM.ZT)(e,t),Object.defineProperty(e.prototype,"values",{get:function(){return this.attributes.values},set:function(t){this.attributes.values=this.clampValues(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sparklineStyle",{get:function(){if("horizontal"!==this.attributes.orientation)return null;var t=sW(this.attributes,"sparkline");return(0,tM.pi)((0,tM.pi)({zIndex:0},this.availableSpace),t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){var t=this.attributes,e=t.trackLength,n=t.trackSize,r=(0,tM.CR)(this.getOrientVal([[e,n],[n,e]]),2);return{width:r[0],height:r[1]}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"availableSpace",{get:function(){var t=this.attributes,e=(t.x,t.y,t.padding),n=(0,tM.CR)(ch(e),4),r=n[0],i=n[1],a=n[2],o=n[3],l=this.shape;return{x:o,y:r,width:l.width-(o+i),height:l.height-(r+a)}},enumerable:!1,configurable:!0}),e.prototype.getValues=function(){return this.values},e.prototype.setValues=function(t,e){void 0===t&&(t=[0,0]),void 0===e&&(e=!1),this.attributes.values=t;var n=!1!==e&&this.attributes.animate;this.updateSelectionArea(n),this.updateHandlesPosition(n)},e.prototype.updateSelectionArea=function(t){var e=this.calcSelectionArea();this.foregroundGroup.selectAll(uZ.selection.class).each(function(n,r){sC(this,e[r],t)})},e.prototype.updateHandlesPosition=function(t){this.attributes.showHandle&&(this.startHandle&&sC(this.startHandle,this.getHandleStyle("start"),t),this.endHandle&&sC(this.endHandle,this.getHandleStyle("end"),t))},e.prototype.innerSetValues=function(t,e){void 0===t&&(t=[0,0]),void 0===e&&(e=!1);var n=this.values,r=this.clampValues(t);this.attributes.values=r,this.setValues(r),e&&this.onValueChange(n)},e.prototype.renderTrack=function(t){var e=this.attributes,n=e.x,r=e.y,i=sW(this.attributes,"track");this.trackShape=at(t).maybeAppendByClassName(uZ.track,"rect").styles((0,tM.pi)((0,tM.pi)({x:n,y:r},this.shape),i))},e.prototype.renderBrushArea=function(t){var e=this.attributes,n=e.x,r=e.y,i=e.brushable;this.brushArea=at(t).maybeAppendByClassName(uZ.brushArea,"rect").styles((0,tM.pi)({x:n,y:r,fill:"transparent",cursor:i?"crosshair":"default"},this.shape))},e.prototype.renderSparkline=function(t){var e=this,n=this.attributes,r=n.x,i=n.y;i8("horizontal"===n.orientation,at(t).maybeAppendByClassName(uZ.sparklineGroup,"g"),function(t){var n=(0,tM.pi)((0,tM.pi)({},e.sparklineStyle),{x:r,y:i});t.maybeAppendByClassName(uZ.sparkline,function(){return new fu({style:n})}).update(n)})},e.prototype.renderHandles=function(){var t,e=this,n=this.attributes,r=n.showHandle,i=n.type,a=this;null===(t=this.foregroundGroup)||void 0===t||t.selectAll(uZ.handle.class).data((r?"range"===i?["start","end"]:["end"]:[]).map(function(t){return{type:t}}),function(t){return t.type}).join(function(t){return t.append(function(t){var n=t.type;return new uq({style:e.getHandleStyle(n)})}).each(function(t){var e=t.type;this.attr("class","".concat(uZ.handle.name," ").concat(e,"-handle")),a["".concat(e,"Handle")]=this,this.addEventListener("pointerdown",a.onDragStart(e))})},function(t){return t.each(function(t){var e=t.type;this.update(a.getHandleStyle(e))})},function(t){return t.each(function(t){var e=t.type;a["".concat(e,"Handle")]=void 0}).remove()})},e.prototype.renderSelection=function(t){var e=this.attributes,n=e.x,r=e.y,i=e.type,a=e.selectionType;this.foregroundGroup=at(t).maybeAppendByClassName(uZ.foreground,"g");var o=sW(this.attributes,"selection"),l=function(t){return t.style("visibility",function(t){return t.show?"visible":"hidden"}).style("cursor",function(t){return"select"===a?"grab":"invert"===a?"crosshair":"default"}).styles((0,tM.pi)((0,tM.pi)({},o),{transform:"translate(".concat(n,", ").concat(r,")")}))},s=this;this.foregroundGroup.selectAll(uZ.selection.class).data("value"===i?[]:this.calcSelectionArea().map(function(t,e){return{style:(0,tM.pi)({},t),index:e,show:"select"===a?1===e:1!==e}}),function(t){return t.index}).join(function(t){return t.append("rect").attr("className",uZ.selection.name).call(l).each(function(t,e){var n=this;1===e?(s.selectionShape=at(this),this.on("pointerdown",function(t){n.attr("cursor","grabbing"),s.onDragStart("selection")(t)}),s.dispatchCustomEvent(this,"pointerenter","selectionMouseenter"),s.dispatchCustomEvent(this,"pointerleave","selectionMouseleave"),s.dispatchCustomEvent(this,"click","selectionClick"),this.addEventListener("pointerdown",function(){n.attr("cursor","grabbing")}),this.addEventListener("pointerup",function(){n.attr("cursor","pointer")}),this.addEventListener("pointerover",function(){n.attr("cursor","pointer")})):this.on("pointerdown",s.onDragStart("track"))})},function(t){return t.call(l)},function(t){return t.remove()}),this.updateSelectionArea(!1),this.renderHandles()},e.prototype.render=function(t,e){this.renderTrack(e),this.renderSparkline(e),this.renderBrushArea(e),this.renderSelection(e)},e.prototype.clampValues=function(t,e){void 0===e&&(e=4);var n,r=(0,tM.CR)(this.range,2),i=r[0],a=r[1],o=(0,tM.CR)(this.getValues().map(function(t){return uI(t,e)}),2),l=o[0],s=o[1],c=Array.isArray(t)?t:[l,null!=t?t:s],u=(0,tM.CR)((c||[l,s]).map(function(t){return uI(t,e)}),2),f=u[0],d=u[1];if("value"===this.attributes.type)return[0,(0,tF.Z)(d,i,a)];f>d&&(f=(n=(0,tM.CR)([d,f],2))[0],d=n[1]);var h=d-f;return h>a-i?[i,a]:fa?s===a&&l===f?[f,a]:[a-h,a]:[f,d]},e.prototype.calcSelectionArea=function(t){var e=(0,tM.CR)(this.clampValues(t),2),n=e[0],r=e[1],i=this.availableSpace,a=i.x,o=i.y,l=i.width,s=i.height;return this.getOrientVal([[{y:o,height:s,x:a,width:n*l},{y:o,height:s,x:n*l+a,width:(r-n)*l},{y:o,height:s,x:r*l,width:(1-r)*l}],[{x:a,width:l,y:o,height:n*s},{x:a,width:l,y:n*s+o,height:(r-n)*s},{x:a,width:l,y:r*s,height:(1-r)*s}]])},e.prototype.calcHandlePosition=function(t){var e=this.attributes.handleIconOffset,n=this.availableSpace,r=n.x,i=n.y,a=n.width,o=n.height,l=(0,tM.CR)(this.clampValues(),2),s=l[0],c=l[1],u=("start"===t?s:c)*this.getOrientVal([a,o])+("start"===t?-e:e);return{x:r+this.getOrientVal([u,a/2]),y:i+this.getOrientVal([o/2,u])}},e.prototype.inferTextStyle=function(t){return"horizontal"===this.attributes.orientation?{}:"start"===t?{transformOrigin:"left center",transform:"rotate(90)",textAlign:"start"}:"end"===t?{transformOrigin:"right center",transform:"rotate(90)",textAlign:"end"}:{}},e.prototype.calcHandleText=function(t){var e,n=this.attributes,r=n.type,i=n.orientation,a=n.formatter,o=n.autoFitLabel,l=sW(this.attributes,"handle"),s=sW(l,"label"),c=l.spacing,u=this.getHandleSize(),f=this.clampValues(),d=a("start"===t?f[0]:f[1]),h=new i9({style:(0,tM.pi)((0,tM.pi)((0,tM.pi)({},s),this.inferTextStyle(t)),{text:d})}),p=h.getBBox(),g=p.width,m=p.height;if(h.destroy(),!o){if("value"===r)return{text:d,x:0,y:-m-c};var y=c+u+("horizontal"===i?g/2:0);return(e={text:d})["horizontal"===i?"x":"y"]="start"===t?-y:y,e}var v=0,b=0,x=this.availableSpace,O=x.width,w=x.height,_=this.calcSelectionArea()[1],M=_.x,k=_.y,C=_.width,j=_.height,A=c+u;if("horizontal"===i){var S=A+g/2;v="start"===t?M-A-g>0?-S:S:O-M-C-A>g?S:-S}else{var E=m+A;b="start"===t?k-u>m?-E:A:w-(k+j)-u>m?E:-A}return{x:v,y:b,text:d}},e.prototype.getHandleLabelStyle=function(t){var e=sW(this.attributes,"handleLabel");return(0,tM.pi)((0,tM.pi)((0,tM.pi)({},e),this.calcHandleText(t)),this.inferTextStyle(t))},e.prototype.getHandleIconStyle=function(){var t=this.attributes.handleIconShape,e=sW(this.attributes,"handleIcon"),n=this.getOrientVal(["ew-resize","ns-resize"]),r=this.getHandleSize();return(0,tM.pi)({cursor:n,shape:t,size:r},e)},e.prototype.getHandleStyle=function(t){var e=this.attributes,n=e.x,r=e.y,i=e.showLabel,a=e.showLabelOnInteraction,o=e.orientation,l=this.calcHandlePosition(t),s=l.x,c=l.y,u=this.calcHandleText(t),f=i;return!i&&a&&(f=!!this.target),(0,tM.pi)((0,tM.pi)((0,tM.pi)({},sZ(this.getHandleIconStyle(),"icon")),sZ((0,tM.pi)((0,tM.pi)({},this.getHandleLabelStyle(t)),u),"label")),{transform:"translate(".concat(s+n,", ").concat(c+r,")"),orientation:o,showLabel:f,type:t,zIndex:3})},e.prototype.getHandleSize=function(){var t=this.attributes,e=t.handleIconSize,n=t.width,r=t.height;return e||Math.floor((this.getOrientVal([+r,+n])+4)/2.4)},e.prototype.getOrientVal=function(t){var e=(0,tM.CR)(t,2),n=e[0],r=e[1];return"horizontal"===this.attributes.orientation?n:r},e.prototype.setValuesOffset=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=!1);var r=this.attributes.type,i=(0,tM.CR)(this.getValues(),2),a=[i[0]+("range"===r?t:0),i[1]+e].sort();n?this.setValues(a):this.innerSetValues(a,!0)},e.prototype.getRatio=function(t){var e=this.availableSpace,n=e.width,r=e.height;return t/this.getOrientVal([n,r])},e.prototype.dispatchCustomEvent=function(t,e,n){var r=this;t.on(e,function(t){t.stopPropagation(),r.dispatchEvent(new t_.Aw(n,{detail:t}))})},e.prototype.bindEvents=function(){this.addEventListener("wheel",this.onScroll);var t=this.brushArea;this.dispatchCustomEvent(t,"click","trackClick"),this.dispatchCustomEvent(t,"pointerenter","trackMouseenter"),this.dispatchCustomEvent(t,"pointerleave","trackMouseleave"),t.on("pointerdown",this.onDragStart("track"))},e.prototype.onScroll=function(t){if(this.attributes.scrollable){var e=t.deltaX,n=t.deltaY||e,r=this.getRatio(n);this.setValuesOffset(r,r,!0)}},e.tag="slider",e}(i6);function fd(t,e){return null==t||null==e?NaN:te?1:t>=e?0:NaN}function fh(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function fp(t){let e,n,r;function i(t,r,i=0,a=t.length){if(i>>1;0>n(t[e],r)?i=e+1:a=e}while(ifd(t(e),n),r=(e,n)=>t(e)-n):(e=t===fd||t===fh?t:fg,n=t,r=t),{left:i,center:function(t,e,n=0,a=t.length){let o=i(t,e,n,a-1);return o>n&&r(t[o-1],e)>-r(t[o],e)?o-1:o},right:function(t,r,i=0,a=t.length){if(i>>1;0>=n(t[e],r)?i=e+1:a=e}while(i1){var r;let i=Uint32Array.from(t,(t,e)=>e);return e.length>1?(e=e.map(e=>t.map(e)),i.sort((t,n)=>{for(let r of e){let e=f_(r[t],r[n]);if(e)return e}})):(n=t.map(n),i.sort((t,e)=>f_(n[t],n[e]))),r=t,Array.from(i,t=>r[t])}return t.sort(fw(n))}function fw(t=fd){if(t===fd)return f_;if("function"!=typeof t)throw TypeError("compare is not a function");return(e,n)=>{let r=t(e,n);return r||0===r?r:(0===t(n,n))-(0===t(e,e))}}function f_(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(te?1:0)}function fM(t){return!!t.getBandWidth}function fk(t,e,n){if(!fM(t))return t.invert(e);let{adjustedRange:r}=t,{domain:i}=t.getOptions(),a=t.getStep(),o=n?r:r.map(t=>t+a),l=fb(o,e),s=Math.min(i.length-1,Math.max(0,l+(n?-1:0)));return i[s]}function fC(t,e,n){if(!e)return t.getOptions().domain;if(!fM(t)){let r=fO(e);if(!n)return r;let[i]=r,{range:a}=t.getOptions(),[o,l]=a,s=t.invert(t.map(i)+(o>l?-1:1)*n);return[i,s]}let{domain:r}=t.getOptions(),i=e[0],a=r.indexOf(i);if(n){let t=a+Math.round(r.length*n);return r.slice(a,t)}let o=e[e.length-1],l=r.indexOf(o);return r.slice(a,l+1)}function fj(t,e,n,r,i,a){let{x:o,y:l}=i,s=(t,e)=>{let[n,r]=a.invert(t);return[fk(o,n,e),fk(l,r,e)]},c=s([t,e],!0),u=s([n,r],!1),f=fC(o,[c[0],u[0]]),d=fC(l,[c[1],u[1]]);return[f,d]}function fA(t,e){let[n,r]=t;return[e.map(n),e.map(r)+(e.getStep?e.getStep():0)]}var fS=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let fE=t=>{let{orientation:e,labelFormatter:n,size:r,style:i={},position:a}=t,o=fS(t,["orientation","labelFormatter","size","style","position"]);return r=>{var l;let{scales:[s],value:c,theme:u,coordinate:f}=r,{bbox:d}=c,{width:h,height:p}=d,{slider:g={}}=u,m=(null===(l=s.getFormatter)||void 0===l?void 0:l.call(s))||(t=>t+""),y="string"==typeof n?yT(n):n,v="horizontal"===e,b=tp(f)&&v,{trackSize:x=g.trackSize}=i,[O,w]=function(t,e,n){let{x:r,y:i,width:a,height:o}=t;return"left"===e?[r+a-n,i]:"right"===e||"bottom"===e?[r,i]:"top"===e?[r,i+o-n]:void 0}(d,a,x);return new ff({className:"slider",style:Object.assign({},g,Object.assign(Object.assign({x:O,y:w,trackLength:v?h:p,orientation:e,formatter:t=>{let e=fk(s,b?1-t:t,!0);return(y||m)(e)},sparklineData:function(t,e){let{markState:n}=e;return(0,A.Z)(t.sparklineData)?t.sparklineData:function(t,e){let[n]=Array.from(t.entries()).filter(t=>{let[e]=t;return"line"===e.type||"area"===e.type}).filter(t=>{let[e]=t;return e.slider}).map(t=>{let[n]=t,{encode:r,slider:i}=n;if(null==i?void 0:i.x)return Object.fromEntries(e.map(t=>{let e=r[t];return[t,e?e.value:void 0]}))});if(!(null==n?void 0:n.series))return null==n?void 0:n.y;let r=n.series.reduce((t,e,r)=>(t[e]=t[e]||[],t[e].push(n.y[r]),t),{});return Object.values(r)}(n,["y","series"])}(t,r)},i),o))})}};fE.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let fP=t=>fE(Object.assign(Object.assign({},t),{orientation:"horizontal"}));fP.props=Object.assign(Object.assign({},fE.props),{defaultPosition:"bottom"});let fR=t=>fE(Object.assign(Object.assign({},t),{orientation:"vertical"}));fR.props=Object.assign(Object.assign({},fE.props),{defaultPosition:"left"});var fT=function(t){function e(e){var n=t.call(this,e,{x:0,y:0,isRound:!0,orientation:"vertical",padding:[2,2,2,2],scrollable:!0,slidable:!0,thumbCursor:"default",trackSize:10,value:0})||this;return n.range=[0,1],n.onValueChange=function(t){var e=n.attributes.value;if(t!==e){var r={detail:{oldValue:t,value:e}};n.dispatchEvent(new t_.Aw("scroll",r)),n.dispatchEvent(new t_.Aw("valuechange",r))}},n.onTrackClick=function(t){if(n.attributes.slidable){var e=(0,tM.CR)(n.getLocalPosition(),2),r=e[0],i=e[1],a=(0,tM.CR)(n.padding,4),o=a[0],l=a[3],s=n.getOrientVal([r+l,i+o]),c=(n.getOrientVal(uN(t))-s)/n.trackLength;n.setValue(c,!0)}},n.onThumbMouseenter=function(t){n.dispatchEvent(new t_.Aw("thumbMouseenter",{detail:t.detail}))},n.onTrackMouseenter=function(t){n.dispatchEvent(new t_.Aw("trackMouseenter",{detail:t.detail}))},n.onThumbMouseleave=function(t){n.dispatchEvent(new t_.Aw("thumbMouseleave",{detail:t.detail}))},n.onTrackMouseleave=function(t){n.dispatchEvent(new t_.Aw("trackMouseleave",{detail:t.detail}))},n}return(0,tM.ZT)(e,t),Object.defineProperty(e.prototype,"padding",{get:function(){return ch(this.attributes.padding)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){var t=this.attributes.value,e=(0,tM.CR)(this.range,2),n=e[0],r=e[1];return(0,tF.Z)(t,n,r)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trackLength",{get:function(){var t=this.attributes,e=t.viewportLength,n=t.trackLength;return void 0===n?e:n},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"availableSpace",{get:function(){var t=this.attributes.trackSize,e=this.trackLength,n=(0,tM.CR)(this.padding,4),r=n[0],i=n[1],a=n[2],o=n[3],l=(0,tM.CR)(this.getOrientVal([[e,t],[t,e]]),2);return{x:o,y:r,width:+l[0]-(o+i),height:+l[1]-(r+a)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trackRadius",{get:function(){var t=this.attributes,e=t.isRound,n=t.trackSize;return e?n/2:0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"thumbRadius",{get:function(){var t=this.attributes,e=t.isRound,n=t.thumbRadius;if(!e)return 0;var r=this.availableSpace,i=r.width,a=r.height;return n||this.getOrientVal([a,i])/2},enumerable:!1,configurable:!0}),e.prototype.getValues=function(t){void 0===t&&(t=this.value);var e=this.attributes,n=e.viewportLength/e.contentLength,r=(0,tM.CR)(this.range,2),i=r[0],a=t*(r[1]-i-n);return[a,a+n]},e.prototype.getValue=function(){return this.value},e.prototype.renderSlider=function(t){var e=this.attributes,n=e.x,r=e.y,i=e.orientation,a=e.trackSize,o=e.padding,l=e.slidable,s=sW(this.attributes,"track"),c=sW(this.attributes,"thumb"),u=(0,tM.pi)((0,tM.pi)({x:n,y:r,brushable:!1,orientation:i,padding:o,selectionRadius:this.thumbRadius,showHandle:!1,slidable:l,trackLength:this.trackLength,trackRadius:this.trackRadius,trackSize:a,values:this.getValues()},sZ(s,"track")),sZ(c,"selection"));this.slider=at(t).maybeAppendByClassName("scrollbar",function(){return new ff({style:u})}).update(u).node()},e.prototype.render=function(t,e){this.renderSlider(e)},e.prototype.setValue=function(t,e){void 0===e&&(e=!1);var n=this.attributes.value,r=(0,tM.CR)(this.range,2),i=r[0],a=r[1];this.slider.setValues(this.getValues((0,tF.Z)(t,i,a)),e),this.onValueChange(n)},e.prototype.bindEvents=function(){var t=this;this.slider.addEventListener("trackClick",function(e){e.stopPropagation(),t.onTrackClick(e.detail)}),this.onHover()},e.prototype.getOrientVal=function(t){return"horizontal"===this.attributes.orientation?t[0]:t[1]},e.prototype.onHover=function(){this.slider.addEventListener("selectionMouseenter",this.onThumbMouseenter),this.slider.addEventListener("trackMouseenter",this.onTrackMouseenter),this.slider.addEventListener("selectionMouseleave",this.onThumbMouseleave),this.slider.addEventListener("trackMouseleave",this.onTrackMouseleave)},e.tag="scrollbar",e}(i6),fL=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let fI=t=>{let{orientation:e,labelFormatter:n,style:r}=t,i=fL(t,["orientation","labelFormatter","style"]);return t=>{let{scales:[n],value:a,theme:o}=t,{bbox:l}=a,{x:s,y:c,width:u,height:f}=l,{scrollbar:d={}}=o,{ratio:h,range:p}=n.getOptions(),g="horizontal"===e?u:f,[m,y]=p;return new fT({className:"g2-scrollbar",style:Object.assign({},d,Object.assign(Object.assign(Object.assign(Object.assign({},r),{x:s,y:c,trackLength:g,value:y>m?0:1}),i),{orientation:e,contentLength:g/h,viewportLength:g}))})}};fI.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let fN=t=>fI(Object.assign(Object.assign({},t),{orientation:"horizontal"}));fN.props=Object.assign(Object.assign({},fI.props),{defaultPosition:"bottom"});let fB=t=>fI(Object.assign(Object.assign({},t),{orientation:"vertical"}));fB.props=Object.assign(Object.assign({},fI.props),{defaultPosition:"left"});let fD=(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let[a]=e,{transform:o="",fillOpacity:l=1,strokeOpacity:s=1,opacity:c=1}=a.style,[u,f]=tp(n)?["left bottom","scale(1, ".concat(1e-4,")")]:["left top","scale(".concat(1e-4,", 1)")],d=[{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c,offset:.01},{transform:"".concat(o," scale(1, 1)").trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c}],h=a.animate(d,Object.assign(Object.assign({},i),t));return h}},fF=(t,e)=>{let{coordinate:n}=e;return t_.ux.registerProperty({name:"scaleInYRadius",inherits:!1,initialValue:"",interpolable:!0,syntax:t_.h0.NUMBER}),(e,r,i)=>{let[a]=e;return tg(n)?(e=>{let{__data__:r,style:a}=e,{radius:o=0,inset:l=0,fillOpacity:s=1,strokeOpacity:c=1,opacity:u=1}=a,{points:f,y:d,y1:h}=r,p=nP(n,f,[d,h]),{innerRadius:g,outerRadius:m}=p,y=th().cornerRadius(o).padAngle(l*Math.PI/180),v=new t_.y$({}),b=t=>{v.attr({d:y(t)});let e=(0,t_.YR)(v);return e},x=e.animate([{scaleInYRadius:g+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{scaleInYRadius:g+1e-4,fillOpacity:s,strokeOpacity:c,opacity:u,offset:.01},{scaleInYRadius:m,fillOpacity:s,strokeOpacity:c,opacity:u}],Object.assign(Object.assign({},i),t));return x.onframe=function(){e.style.d=b(Object.assign(Object.assign({},p),{outerRadius:Number(e.style.scaleInYRadius)}))},x.onfinish=function(){e.style.d=b(Object.assign(Object.assign({},p),{outerRadius:m}))},x})(a):(e=>{let{style:r}=e,{transform:a="",fillOpacity:o=1,strokeOpacity:l=1,opacity:s=1}=r,[c,u]=tp(n)?["left top","scale(".concat(1e-4,", 1)")]:["left bottom","scale(1, ".concat(1e-4,")")],f=[{transform:"".concat(a," ").concat(u).trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:"".concat(a," ").concat(u).trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s,offset:.01},{transform:"".concat(a," scale(1, 1)").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s}],d=e.animate(f,Object.assign(Object.assign({},i),t));return d})(a)}},fz=(t,e)=>{t_.ux.registerProperty({name:"waveInArcAngle",inherits:!1,initialValue:"",interpolable:!0,syntax:t_.h0.NUMBER});let{coordinate:n}=e;return(r,i,a)=>{let[o]=r;if(!tg(n))return fD(t,e)(r,i,a);let{__data__:l,style:s}=o,{radius:c=0,inset:u=0,fillOpacity:f=1,strokeOpacity:d=1,opacity:h=1}=s,{points:p,y:g,y1:m}=l,y=th().cornerRadius(c).padAngle(u*Math.PI/180),v=nP(n,p,[g,m]),{startAngle:b,endAngle:x}=v,O=o.animate([{waveInArcAngle:b+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{waveInArcAngle:b+1e-4,fillOpacity:f,strokeOpacity:d,opacity:h,offset:.01},{waveInArcAngle:x,fillOpacity:f,strokeOpacity:d,opacity:h}],Object.assign(Object.assign({},a),t));return O.onframe=function(){o.style.d=y(Object.assign(Object.assign({},v),{endAngle:Number(o.style.waveInArcAngle)}))},O.onfinish=function(){o.style.d=y(Object.assign(Object.assign({},v),{endAngle:x}))},O}};fz.props={};let f$=t=>(e,n,r)=>{let[i]=e,{fillOpacity:a=1,strokeOpacity:o=1,opacity:l=1}=i.style,s=[{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:a,strokeOpacity:o,opacity:l}];return i.animate(s,Object.assign(Object.assign({},r),t))};f$.props={};let fW=t=>(e,n,r)=>{let[i]=e,{fillOpacity:a=1,strokeOpacity:o=1,opacity:l=1}=i.style,s=[{fillOpacity:a,strokeOpacity:o,opacity:l},{fillOpacity:0,strokeOpacity:0,opacity:0}];return i.animate(s,Object.assign(Object.assign({},r),t))};fW.props={};let fZ=t=>(e,n,r)=>{var i;let[a]=e,o=(null===(i=a.getTotalLength)||void 0===i?void 0:i.call(a))||0,l=[{lineDash:[0,o]},{lineDash:[o,0]}];return a.animate(l,Object.assign(Object.assign({},r),t))};fZ.props={};let fH={opacity:1,strokeOpacity:1,fillOpacity:1,lineWidth:0,x:0,y:0,cx:0,cy:0,r:0,rx:0,ry:0,width:0,height:0},fG={[t_.bn.CIRCLE]:["cx","cy","r"],[t_.bn.ELLIPSE]:["cx","cy","rx","ry"],[t_.bn.RECT]:["x","y","width","height"],[t_.bn.IMAGE]:["x","y","width","height"],[t_.bn.LINE]:["x1","y1","x2","y2"],[t_.bn.POLYLINE]:["points"],[t_.bn.POLYGON]:["points"]};function fq(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r={};for(let i of e){let e=t.style[i];e?r[i]=e:n&&(r[i]=fH[i])}return r}let fV=["fill","stroke","fillOpacity","strokeOpacity","opacity","lineWidth"];function fY(t){let{min:e,max:n}=t.getLocalBounds(),[r,i]=e,[a,o]=n;return[r,i,a-r,o-i]}function fU(t,e){let[n,r,i,a]=fY(t),o=Math.ceil(Math.sqrt(e/(a/i))),l=Math.ceil(e/o),s=[],c=a/l,u=0,f=e;for(;f>0;){let t=Math.min(f,o),e=i/t;for(let i=0;i{let t=c.style.d;eF(c,n),c.style.d=t,c.style.transform="none"},c.style.transform="none",t}return null}let f0=t=>(e,n,r)=>{let i=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pack";return"function"==typeof t?t:fU}(t.split),a=Object.assign(Object.assign({},r),t),{length:o}=e,{length:l}=n;if(1===o&&1===l||o>1&&l>1){let[t]=e,[r]=n;return fJ(t,t,r,a)}if(1===o&&l>1){let[t]=e;return function(t,e,n,r){t.style.visibility="hidden";let i=r(t,e.length);return e.map((e,r)=>{let a=new t_.y$({style:Object.assign({d:i[r]},fq(t,fV))});return fJ(e,a,e,n)})}(t,n,a,i)}if(o>1&&1===l){let[t]=n;return function(t,e,n,r){let i=r(e,t.length),{fillOpacity:a=1,strokeOpacity:o=1,opacity:l=1}=e.style,s=e.animate([{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:0,strokeOpacity:0,opacity:0,offset:.99},{fillOpacity:a,strokeOpacity:o,opacity:l}],n),c=t.map((t,r)=>{let a=new t_.y$({style:{d:i[r],fill:e.style.fill}});return fJ(t,t,a,n)});return[...c,s]}(e,t,a,i)}return null};f0.props={};let f1=(t,e)=>(n,r,i)=>{let[a]=n,{min:[o,l],halfExtents:s}=a.getLocalBounds(),c=2*s[0],u=2*s[1],f=new t_.y$({style:{d:"M".concat(o,",").concat(l,"L").concat(o+c,",").concat(l,"L").concat(o+c,",").concat(l+u,"L").concat(o,",").concat(l+u,"Z")}});a.appendChild(f),a.style.clipPath=f;let d=fD(t,e)([f],r,i);return d};f1.props={};let f2=(t,e)=>(n,r,i)=>{let[a]=n,{min:[o,l],halfExtents:s}=a.getLocalBounds(),c=2*s[0],u=2*s[1],f=new t_.y$({style:{d:"M".concat(o,",").concat(l,"L").concat(o+c,",").concat(l,"L").concat(o+c,",").concat(l+u,"L").concat(o,",").concat(l+u,"Z")}});a.appendChild(f),a.style.clipPath=f;let d=fF(t,e)([f],r,i);return d};f2.props={};var f5=function(t,e){if(!o7(t))return t;for(var n=[],r=0;rdr(t,e,n,r))}function di(t){dr(t,"visibility","hidden",!0)}function da(t){dr(t,"visibility","visible",!0)}var dl=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function ds(t){return eV(t).selectAll(".".concat(f6)).nodes().filter(t=>!t.__removed__)}function dc(t,e){return du(t,e).flatMap(t=>{let{container:e}=t;return ds(e)})}function du(t,e){return e.filter(e=>e!==t&&e.options.parentKey===t.options.key)}function df(t){return eV(t).select(".".concat(f9)).node()}function dd(t){if("g"===t.tagName)return t.getRenderBounds();let e=t.getGeometryBounds(),n=new t_.mN;return n.setFromTransformedAABB(e,t.getWorldTransform()),n}function dh(t,e){let{offsetX:n,offsetY:r}=e,i=dd(t),{min:[a,o],max:[l,s]}=i;return nl||rs?null:[n-a,r-o]}function dp(t,e){let{offsetX:n,offsetY:r}=e,[i,a,o,l]=function(t){let e=t.getRenderBounds(),{min:[n,r],max:[i,a]}=e;return[n,r,i,a]}(t);return[Math.min(o,Math.max(i,n))-i,Math.min(l,Math.max(a,r))-a]}function dg(t){return t=>t.__data__.color}function dm(t){return t=>t.__data__.x}function dy(t){let e=Array.isArray(t)?t:[t],n=new Map(e.flatMap(t=>{let e=Array.from(t.markState.keys());return e.map(e=>[db(t.key,e.key),e.data])}));return t=>{let{index:e,markKey:r,viewKey:i}=t.__data__,a=n.get(db(i,r));return a[e]}}function dv(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t,e)=>t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(t,e,n)=>t.setAttribute(e,n),r="__states__",i="__ordinal__",a=a=>{let{[r]:o=[],[i]:l={}}=a,s=o.reduce((e,n)=>Object.assign(Object.assign({},e),t[n]),l);if(0!==Object.keys(s).length){for(let[t,r]of Object.entries(s)){let i=function(t,e){var n;return null!==(n=t.style[e])&&void 0!==n?n:dn[e]}(a,t),o=e(r,a);n(a,t,o),t in l||(l[t]=i)}a[i]=l}},o=t=>{t[r]||(t[r]=[])};return{setState:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i1?e-1:0),i=1;i(o(t),-1!==t[r].indexOf(e))}}function db(t,e){return"".concat(t,",").concat(e)}function dx(t,e){let n=Array.isArray(t)?t:[t],r=n.flatMap(t=>t.marks.map(e=>[db(t.key,e.key),e.state])),i={};for(let t of e){let[e,n]=Array.isArray(t)?t:[t,{}];i[e]=r.reduce((t,r)=>{var i;let[a,o={}]=r,l=void 0===(i=o[e])||"object"==typeof i&&0===Object.keys(i).length?n:o[e];for(let[e,n]of Object.entries(l)){let r=t[e],i=(t,e,i,o)=>{let l=db(o.__data__.viewKey,o.__data__.markKey);return a!==l?null==r?void 0:r(t,e,i,o):"function"!=typeof n?n:n(t,e,i,o)};t[e]=i}return t},{})}return i}function dO(t,e){let n=new Map(t.map((t,e)=>[t,e])),r=e?t.map(e):t;return(t,i)=>{if("function"!=typeof t)return t;let a=n.get(i),o=e?e(i):i;return t(o,a,r,i)}}function dw(t){var{link:e=!1,valueof:n=(t,e)=>t,coordinate:r}=t,i=dl(t,["link","valueof","coordinate"]);if(!e)return[()=>{},()=>{}];let a=t=>t.__data__.points,o=(t,e)=>{let[,n,r]=t,[i,,,a]=e;return[n,i,a,r]};return[t=>{var e;if(t.length<=1)return;let r=fO(t,(t,e)=>{let{x:n}=t.__data__,{x:r}=e.__data__;return n-r});for(let t=1;tn(t,s)),{fill:g=s.getAttribute("fill")}=p,m=dl(p,["fill"]),y=new t_.y$({className:"element-link",style:Object.assign({d:l.toString(),fill:g,zIndex:-2},m)});null===(e=s.link)||void 0===e||e.remove(),s.parentNode.appendChild(y),s.link=y}},t=>{var e;null===(e=t.link)||void 0===e||e.remove(),t.link=null}]}function d_(t,e,n){let r=e=>{let{transform:n}=t.style;return n?"".concat(n," ").concat(e):e};if(tg(n)){let{points:i}=t.__data__,[a,o]=tp(n)?nE(i):i,l=n.getCenter(),s=eU(a,l),c=eU(o,l),u=eK(s),f=e0(s,c),d=u+f/2,h=e*Math.cos(d),p=e*Math.sin(d);return r("translate(".concat(h,", ").concat(p,")"))}return r(tp(n)?"translate(".concat(e,", 0)"):"translate(0, ".concat(-e,")"))}function dM(t){var{document:e,background:n,scale:r,coordinate:i,valueof:a}=t,o=dl(t,["document","background","scale","coordinate","valueof"]);let l="element-background";if(!n)return[()=>{},()=>{}];let s=(t,e,n)=>{let r=t.invert(e),i=e+t.getBandWidth(r)/2,a=t.getStep(r)/2,o=a*n;return[i-a+o,i+a-o]},c=(t,e)=>{let{x:n}=r;if(!fM(n))return[0,1];let{__data__:i}=t,{x:a}=i,[o,l]=s(n,a,e);return[o,l]},u=(t,e)=>{let{y:n}=r;if(!fM(n))return[0,1];let{__data__:i}=t,{y:a}=i,[o,l]=s(n,a,e);return[o,l]},f=(t,n)=>{let{padding:r}=n,[a,o]=c(t,r),[l,s]=u(t,r),f=[[a,l],[o,l],[o,s],[a,s]].map(t=>i.map(t)),{__data__:d}=t,{y:h,y1:p}=d;return nN(e,f,{y:h,y1:p},i,n)},d=(t,e)=>{let{transform:n="scale(1.2, 1.2)",transformOrigin:r="center center",stroke:i=""}=e,a=dl(e,["transform","transformOrigin","stroke"]),o=Object.assign({transform:n,transformOrigin:r,stroke:i},a),l=t.cloneNode(!0);for(let[t,e]of Object.entries(o))l.style[t]=e;return l},h=()=>{let{x:t,y:e}=r;return[t,e].some(fM)};return[t=>{t.background&&t.background.remove();let e=n_(o,e=>a(e,t)),{fill:n="#CCD6EC",fillOpacity:r=.3,zIndex:i=-2,padding:s=.001,lineWidth:c=0}=e,u=dl(e,["fill","fillOpacity","zIndex","padding","lineWidth"]),p=Object.assign(Object.assign({},u),{fill:n,fillOpacity:r,zIndex:i,padding:s,lineWidth:c}),g=h()?f:d,m=g(t,p);m.className=l,t.parentNode.parentNode.appendChild(m),t.background=m},t=>{var e;null===(e=t.background)||void 0===e||e.remove(),t.background=null},t=>t.className===l]}function dk(t,e){let n=t.getRootNode().defaultView,r=n.getContextService().getDomElement();(null==r?void 0:r.style)&&(t.cursor=r.style.cursor,r.style.cursor=e)}function dC(t,e,n){return t.find(t=>Object.entries(e).every(e=>{let[r,i]=e;return n(t)[r]===i}))}function dj(t,e){return Math.sqrt(Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2))}function dA(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=f5(t,t=>!!t).map((t,e)=>[0===e?"M":"L",...t]);return e&&n.push(["Z"]),n}function dS(t){return t.querySelectorAll(".element")}function dE(t,e){if(e(t))return t;let n=t.parent;for(;n&&!e(n);)n=n.parent;return n}var dP=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function dR(t){var{delay:e,createGroup:n,background:r=!1,link:i=!1}=t,a=dP(t,["delay","createGroup","background","link"]);return(t,o,l)=>{let{container:s,view:c,options:u}=t,{scale:f,coordinate:d}=c,h=df(s);return function(t,e){var n;let r,{elements:i,datum:a,groupKey:o=t=>t,link:l=!1,background:s=!1,delay:c=60,scale:u,coordinate:f,emitter:d,state:h={}}=e,p=i(t),g=new Set(p),m=eA(p,o),y=dO(p,a),[v,b]=dw(Object.assign({elements:p,valueof:y,link:l,coordinate:f},e$(h.active,"link"))),[x,O,w]=dM(Object.assign({document:t.ownerDocument,scale:u,coordinate:f,background:s,valueof:y},e$(h.active,"background"))),_=R(h,{active:Object.assign({},(null===(n=h.active)||void 0===n?void 0:n.offset)&&{transform:function(){for(var t=arguments.length,e=Array(t),n=0;n{let{target:e,nativeEvent:n=!0}=t;if(!g.has(e))return;r&&clearTimeout(r);let i=o(e),l=m.get(i),s=new Set(l);for(let t of p)s.has(t)?C(t,"active")||M(t,"active"):(M(t,"inactive"),b(t)),t!==e&&O(t);x(e),v(l),n&&d.emit("element:highlight",{nativeEvent:n,data:{data:a(e),group:l.map(a)}})},A=()=>{r&&clearTimeout(r),r=setTimeout(()=>{S(),r=null},c)},S=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];for(let t of p)k(t,"active","inactive"),O(t),b(t);t&&d.emit("element:unhighlight",{nativeEvent:t})},E=t=>{let{target:e}=t;(!s||w(e))&&(s||g.has(e))&&(c>0?A():S())},P=()=>{S()};t.addEventListener("pointerover",j),t.addEventListener("pointerout",E),t.addEventListener("pointerleave",P);let T=t=>{let{nativeEvent:e}=t;e||S(!1)},L=t=>{let{nativeEvent:e}=t;if(e)return;let{data:n}=t.data,r=dC(p,n,a);r&&j({target:r,nativeEvent:!1})};return d.on("element:highlight",L),d.on("element:unhighlight",T),()=>{for(let e of(t.removeEventListener("pointerover",j),t.removeEventListener("pointerout",E),t.removeEventListener("pointerleave",P),d.off("element:highlight",L),d.off("element:unhighlight",T),p))O(e),b(e)}}(h,Object.assign({elements:ds,datum:dy(c),groupKey:n?n(c):void 0,coordinate:d,scale:f,state:dx(u,[["active",r?{}:{lineWidth:"1",stroke:"#000"}],"inactive"]),background:r,link:i,delay:e,emitter:l},a))}}function dT(t){return dR(Object.assign(Object.assign({},t),{createGroup:dm}))}function dL(t){return dR(Object.assign(Object.assign({},t),{createGroup:dg}))}dR.props={reapplyWhenUpdate:!0},dT.props={reapplyWhenUpdate:!0},dL.props={reapplyWhenUpdate:!0};var dI=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function dN(t){var{createGroup:e,background:n=!1,link:r=!1}=t,i=dI(t,["createGroup","background","link"]);return(t,a,o)=>{let{container:l,view:s,options:c}=t,{coordinate:u,scale:f}=s,d=df(l);return function(t,e){var n;let{elements:r,datum:i,groupKey:a=t=>t,link:o=!1,single:l=!1,coordinate:s,background:c=!1,scale:u,emitter:f,state:d={}}=e,h=r(t),p=new Set(h),g=eA(h,a),m=dO(h,i),[y,v]=dw(Object.assign({link:o,elements:h,valueof:m,coordinate:s},e$(d.selected,"link"))),[b,x]=dM(Object.assign({document:t.ownerDocument,background:c,coordinate:s,scale:u,valueof:m},e$(d.selected,"background"))),O=R(d,{selected:Object.assign({},(null===(n=d.selected)||void 0===n?void 0:n.offset)&&{transform:function(){for(var t=arguments.length,e=Array(t),n=0;n0)||void 0===arguments[0]||arguments[0];for(let t of h)_(t,"selected","unselected"),v(t),x(t);t&&f.emit("element:unselect",{nativeEvent:!0})},C=function(t,e){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(M(e,"selected"))k();else{let r=a(e),o=g.get(r),l=new Set(o);for(let t of h)l.has(t)?w(t,"selected"):(w(t,"unselected"),v(t)),t!==e&&x(t);if(y(o),b(e),!n)return;f.emit("element:select",Object.assign(Object.assign({},t),{nativeEvent:n,data:{data:[i(e),...o.map(i)]}}))}},j=function(t,e){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=a(e),l=g.get(r),s=new Set(l);if(M(e,"selected")){let t=h.some(t=>!s.has(t)&&M(t,"selected"));if(!t)return k();for(let t of l)w(t,"unselected"),v(t),x(t)}else{let t=l.some(t=>M(t,"selected"));for(let t of h)s.has(t)?w(t,"selected"):M(t,"selected")||w(t,"unselected");!t&&o&&y(l),b(e)}n&&f.emit("element:select",Object.assign(Object.assign({},t),{nativeEvent:n,data:{data:h.filter(t=>M(t,"selected")).map(i)}}))},A=t=>{let{target:e,nativeEvent:n=!0}=t;return p.has(e)?l?C(t,e,n):j(t,e,n):k()};t.addEventListener("click",A);let S=t=>{let{nativeEvent:e,data:n}=t;if(e)return;let r=l?n.data.slice(0,1):n.data;for(let t of r){let e=dC(h,t,i);A({target:e,nativeEvent:!1})}},E=()=>{k(!1)};return f.on("element:select",S),f.on("element:unselect",E),()=>{for(let t of h)v(t);t.removeEventListener("click",A),f.off("element:select",S),f.off("element:unselect",E)}}(d,Object.assign({elements:ds,datum:dy(s),groupKey:e?e(s):void 0,coordinate:u,scale:f,state:dx(c,[["selected",n?{}:{lineWidth:"1",stroke:"#000"}],"unselected"]),background:n,link:r,emitter:o},i))}}function dB(t){return dN(Object.assign(Object.assign({},t),{createGroup:dm}))}function dD(t){return dN(Object.assign(Object.assign({},t),{createGroup:dg}))}dN.props={reapplyWhenUpdate:!0},dB.props={reapplyWhenUpdate:!0},dD.props={reapplyWhenUpdate:!0};var dF=function(t,e,n){var r,i,a,o,l=0;n||(n={});var s=function(){l=!1===n.leading?0:Date.now(),r=null,o=t.apply(i,a),r||(i=a=null)},c=function(){var c=Date.now();l||!1!==n.leading||(l=c);var u=e-(c-l);return i=this,a=arguments,u<=0||u>e?(r&&(clearTimeout(r),r=null),l=c,o=t.apply(i,a),r||(i=a=null)):r||!1===n.trailing||(r=setTimeout(s,u)),o};return c.cancel=function(){clearTimeout(r),l=0,r=i=a=null},c},dz=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function d$(t){var{wait:e=20,leading:n,trailing:r=!1,labelFormatter:i=t=>"".concat(t)}=t,a=dz(t,["wait","leading","trailing","labelFormatter"]);return t=>{let o;let{view:l,container:s,update:c,setState:u}=t,{markState:f,scale:d,coordinate:h}=l,p=function(t,e,n){let[r]=Array.from(t.entries()).filter(t=>{let[n]=t;return n.type===e}).map(t=>{let[e]=t,{encode:r}=e;return Object.fromEntries(n.map(t=>{let e=r[t];return[t,e?e.value:void 0]}))});return r}(f,"line",["x","y","series"]);if(!p)return;let{y:g,x:m,series:y=[]}=p,v=g.map((t,e)=>e),b=fO(v.map(t=>m[t])),x=df(s),O=s.getElementsByClassName(f6),w=s.getElementsByClassName(dt),_=eA(w,t=>t.__data__.key.split("-")[0]),M=new t_.x1({style:Object.assign({x1:0,y1:0,x2:0,y2:x.getAttribute("height"),stroke:"black",lineWidth:1},e$(a,"rule"))}),k=new t_.xv({style:Object.assign({x:0,y:x.getAttribute("height"),text:"",fontSize:10},e$(a,"label"))});M.append(k),x.appendChild(M);let C=(t,e,n)=>{let[r]=t.invert(n),i=e.invert(r);return b[fx(b,i)]},j=(t,e)=>{M.setAttribute("x1",t[0]),M.setAttribute("x2",t[0]),k.setAttribute("text",i(e))},A=t=>{let{scale:e,coordinate:n}=o,{x:r,y:i}=e,a=C(n,r,t);for(let e of(j(t,a),O)){let{seriesIndex:t,key:r}=e.__data__,o=t[fp(t=>m[+t]).center(t,a)],l=[0,i.map(1)],s=[0,i.map(g[o]/g[t[0]])],[,c]=n.map(l),[,u]=n.map(s),f=c-u;e.setAttribute("transform","translate(0, ".concat(f,")"));let d=_.get(r)||[];for(let t of d)t.setAttribute("dy",f)}},S=dF(t=>{let e=dh(x,t);e&&A(e)},e,{leading:n,trailing:r});return(t=>{var e,n,r,i;return e=this,n=void 0,r=void 0,i=function*(){let{x:e}=d,n=C(h,e,t);j(t,n),u("chartIndex",t=>{let e=R({},t),r=e.marks.find(t=>"line"===t.type),i=oD(eE(v,t=>oD(t,t=>+g[t])/oB(t,t=>+g[t]),t=>y[t]).values());R(r,{scale:{y:{domain:[1/i,i]}}});let a=function(t){let{transform:e=[]}=t,n=e.find(t=>"normalizeY"===t.type);if(n)return n;let r={type:"normalizeY"};return e.push(r),t.transform=e,r}(r);for(let t of(a.groupBy="color",a.basis=(t,e)=>{let r=t[fp(t=>m[+t]).center(t,n)];return e[r]},e.marks))t.animate=!1;return e});let r=yield c("chartIndex");o=r.view},new(r||(r=Promise))(function(t,a){function o(t){try{s(i.next(t))}catch(t){a(t)}}function l(t){try{s(i.throw(t))}catch(t){a(t)}}function s(e){var n;e.done?t(e.value):((n=e.value)instanceof r?n:new r(function(t){t(n)})).then(o,l)}s((i=i.apply(e,n||[])).next())})})([0,0]),x.addEventListener("pointerenter",S),x.addEventListener("pointermove",S),x.addEventListener("pointerleave",S),()=>{M.remove(),x.removeEventListener("pointerenter",S),x.removeEventListener("pointermove",S),x.removeEventListener("pointerleave",S)}}}function dW(t,e){let n;let r=-1,i=-1;if(void 0===e)for(let e of t)++i,null!=e&&(n>e||void 0===n&&e>=e)&&(n=e,r=i);else for(let a of t)null!=(a=e(a,++i,t))&&(n>a||void 0===n&&a>=a)&&(n=a,r=i);return r}function dZ(t,e){let n=0,r=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(++n,r+=e);else{let i=-1;for(let a of t)null!=(a=e(a,++i,t))&&(a=+a)>=a&&(++n,r+=a)}if(n)return r/n}function dH(t){var e=document.createElement("div");e.innerHTML=t;var n=e.childNodes[0];return n&&e.contains(n)&&e.removeChild(n),n}d$.props={reapplyWhenUpdate:!0};var dG=function(t,e){if(null==e){t.innerHTML="";return}t.replaceChildren?Array.isArray(e)?t.replaceChildren.apply(t,(0,tM.ev)([],(0,tM.CR)(e),!1)):t.replaceChildren(e):(t.innerHTML="",Array.isArray(e)?e.forEach(function(e){return t.appendChild(e)}):t.appendChild(e))};function dq(t){return void 0===t&&(t=""),{CONTAINER:"".concat(t,"tooltip"),TITLE:"".concat(t,"tooltip-title"),LIST:"".concat(t,"tooltip-list"),LIST_ITEM:"".concat(t,"tooltip-list-item"),NAME:"".concat(t,"tooltip-list-item-name"),MARKER:"".concat(t,"tooltip-list-item-marker"),NAME_LABEL:"".concat(t,"tooltip-list-item-name-label"),VALUE:"".concat(t,"tooltip-list-item-value"),CROSSHAIR_X:"".concat(t,"tooltip-crosshair-x"),CROSSHAIR_Y:"".concat(t,"tooltip-crosshair-y")}}var dV={overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"},dY=function(t){function e(e){var n,r,i,a,o,l=this,s=null===(o=null===(a=e.style)||void 0===a?void 0:a.template)||void 0===o?void 0:o.prefixCls,c=dq(s);return(l=t.call(this,e,{data:[],x:0,y:0,visibility:"visible",title:"",position:"bottom-right",offset:[5,5],enterable:!1,container:{x:0,y:0},bounding:null,template:{prefixCls:"",container:'
    '),title:'
    '),item:'
  • \n \n \n {name}\n \n {value}\n
  • ')},style:(void 0===(n=s)&&(n=""),i=dq(n),(r={})[".".concat(i.CONTAINER)]={position:"absolute",visibility:"visible","z-index":8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)","background-color":"rgba(255, 255, 255, 0.96)","box-shadow":"0 6px 12px 0 rgba(0, 0, 0, 0.12)","border-radius":"4px",color:"rgba(0, 0, 0, 0.65)","font-size":"12px","line-height":"20px",padding:"12px","min-width":"120px","max-width":"360px","font-family":"Roboto-Regular"},r[".".concat(i.TITLE)]={color:"rgba(0, 0, 0, 0.45)"},r[".".concat(i.LIST)]={margin:"0px","list-style-type":"none",padding:"0px"},r[".".concat(i.LIST_ITEM)]={"list-style-type":"none",display:"flex","line-height":"2em","align-items":"center","justify-content":"space-between","white-space":"nowrap"},r[".".concat(i.MARKER)]={width:"8px",height:"8px","border-radius":"50%",display:"inline-block","margin-right":"4px"},r[".".concat(i.NAME)]={display:"flex","align-items":"center","max-width":"216px"},r[".".concat(i.NAME_LABEL)]=(0,tM.pi)({flex:1},dV),r[".".concat(i.VALUE)]=(0,tM.pi)({display:"inline-block",float:"right",flex:1,"text-align":"right","min-width":"28px","margin-left":"30px",color:"rgba(0, 0, 0, 0.85)"},dV),r[".".concat(i.CROSSHAIR_X)]={position:"absolute",width:"1px","background-color":"rgba(0, 0, 0, 0.25)"},r[".".concat(i.CROSSHAIR_Y)]={position:"absolute",height:"1px","background-color":"rgba(0, 0, 0, 0.25)"},r)})||this).timestamp=-1,l.prevCustomContentKey=l.attributes.contentKey,l.initShape(),l.render(l.attributes,l),l}return(0,tM.ZT)(e,t),Object.defineProperty(e.prototype,"HTMLTooltipElement",{get:function(){return this.element},enumerable:!1,configurable:!0}),e.prototype.getContainer=function(){return this.element},Object.defineProperty(e.prototype,"elementSize",{get:function(){return{width:this.element.offsetWidth,height:this.element.offsetHeight}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"HTMLTooltipItemsElements",{get:function(){var t=this.attributes,e=t.data,n=t.template;return e.map(function(t,e){var r,i=t.name,a=t.color,o=t.index,l=(0,tM._T)(t,["name","color","index"]),s=(0,tM.pi)({name:void 0===i?"":i,color:void 0===a?"black":a,index:null!=o?o:e},l);return dH((r=n.item)&&s?r.replace(/\\?\{([^{}]+)\}/g,function(t,e){return"\\"===t.charAt(0)?t.slice(1):void 0===s[e]?"":s[e]}):r)})},enumerable:!1,configurable:!0}),e.prototype.render=function(t,e){this.renderHTMLTooltipElement(),this.updatePosition()},e.prototype.destroy=function(){var e;null===(e=this.element)||void 0===e||e.remove(),t.prototype.destroy.call(this)},e.prototype.show=function(t,e){var n=this;if(void 0!==t&&void 0!==e){var r="hidden"===this.element.style.visibility,i=function(){n.attributes.x=null!=t?t:n.attributes.x,n.attributes.y=null!=e?e:n.attributes.y,n.updatePosition()};r?this.closeTransition(i):i()}this.element.style.visibility="visible"},e.prototype.hide=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.attributes.enterable&&this.isCursorEntered(t,e)||(this.element.style.visibility="hidden")},e.prototype.initShape=function(){var t=this.attributes.template;this.element=dH(t.container),this.id&&this.element.setAttribute("id",this.id)},e.prototype.renderCustomContent=function(){if(void 0===this.prevCustomContentKey||this.prevCustomContentKey!==this.attributes.contentKey){this.prevCustomContentKey=this.attributes.contentKey;var t=this.attributes.content;t&&("string"==typeof t?this.element.innerHTML=t:dG(this.element,t))}},e.prototype.renderHTMLTooltipElement=function(){var t,e,n=this.attributes,r=n.template,i=n.title,a=n.enterable,o=n.style,l=n.content,s=dq(r.prefixCls),c=this.element;if(this.element.style.pointerEvents=a?"auto":"none",l)this.renderCustomContent();else{i?(c.innerHTML=r.title,c.getElementsByClassName(s.TITLE)[0].innerHTML=i):null===(e=null===(t=c.getElementsByClassName(s.TITLE))||void 0===t?void 0:t[0])||void 0===e||e.remove();var u=this.HTMLTooltipItemsElements,f=document.createElement("ul");f.className=s.LIST,dG(f,u);var d=this.element.querySelector(".".concat(s.LIST));d?d.replaceWith(f):c.appendChild(f)}!function(t,e){Object.entries(e).forEach(function(e){var n=(0,tM.CR)(e,2),r=n[0],i=n[1];(0,tM.ev)([t],(0,tM.CR)(t.querySelectorAll(r)),!1).filter(function(t){return t.matches(r)}).forEach(function(t){t&&(t.style.cssText+=Object.entries(i).reduce(function(t,e){return"".concat(t).concat(e.join(":"),";")},""))})})}(c,o)},e.prototype.getRelativeOffsetFromCursor=function(t){var e=this.attributes,n=e.position,r=e.offset,i=(t||n).split("-"),a={left:[-1,0],right:[1,0],top:[0,-1],bottom:[0,1]},o=this.elementSize,l=o.width,s=o.height,c=[-l/2,-s/2];return i.forEach(function(t){var e=(0,tM.CR)(c,2),n=e[0],i=e[1],o=(0,tM.CR)(a[t],2),u=o[0],f=o[1];c=[n+(l/2+r[0])*u,i+(s/2+r[1])*f]}),c},e.prototype.setOffsetPosition=function(t){var e=(0,tM.CR)(t,2),n=e[0],r=e[1],i=this.attributes,a=i.x,o=i.y,l=i.container,s=l.x,c=l.y;this.element.style.left="".concat(+(void 0===a?0:a)+s+n,"px"),this.element.style.top="".concat(+(void 0===o?0:o)+c+r,"px")},e.prototype.updatePosition=function(){var t=this.attributes.showDelay,e=Date.now();this.timestamp>0&&e-this.timestamp<(void 0===t?60:t)||(this.timestamp=e,this.setOffsetPosition(this.autoPosition(this.getRelativeOffsetFromCursor())))},e.prototype.autoPosition=function(t){var e=(0,tM.CR)(t,2),n=e[0],r=e[1],i=this.attributes,a=i.x,o=i.y,l=i.bounding,s=i.position;if(!l)return[n,r];var c=this.element,u=c.offsetWidth,f=c.offsetHeight,d=(0,tM.CR)([+a+n,+o+r],2),h=d[0],p=d[1],g={left:"right",right:"left",top:"bottom",bottom:"top"},m=l.x,y=l.y,v={left:hm+l.width,top:py+l.height},b=[];s.split("-").forEach(function(t){v[t]?b.push(g[t]):b.push(t)});var x=b.join("-");return this.getRelativeOffsetFromCursor(x)},e.prototype.isCursorEntered=function(t,e){if(this.element){var n=this.element.getBoundingClientRect(),r=n.x,i=n.y,a=n.width,o=n.height;return new cT(r,i,a,o).isPointIn(t,e)}return!1},e.prototype.closeTransition=function(t){var e=this,n=this.element.style.transition;this.element.style.transition="none",t(),setTimeout(function(){e.element.style.transition=n},10)},e.tag="tooltip",e}(i6);let dU={BEFORE_RENDER:"beforerender",AFTER_RENDER:"afterrender",BEFORE_PAINT:"beforepaint",AFTER_PAINT:"afterpaint",BEFORE_CHANGE_DATA:"beforechangedata",AFTER_CHANGE_DATA:"afterchangedata",BEFORE_CLEAR:"beforeclear",AFTER_CLEAR:"afterclear",BEFORE_DESTROY:"beforedestroy",AFTER_DESTROY:"afterdestroy",BEFORE_CHANGE_SIZE:"beforechangesize",AFTER_CHANGE_SIZE:"afterchangesize",POINTER_TAP:"pointertap",POINTER_DOWN:"pointerdown",POINTER_UP:"pointerup",POINTER_OVER:"pointerover",POINTER_OUT:"pointerout",POINTER_MOVE:"pointermove",POINTER_ENTER:"pointerenter",POINTER_LEAVE:"pointerleave",POINTER_UPOUTSIDE:"pointerupoutside",DRAG_START:"dragstart",DRAG:"drag",DRAG_END:"dragend",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"DROP",CLICK:"click",DBLCLICK:"dblclick"};function dQ(t,e){let{__data__:n}=t,{markKey:r,index:i,seriesIndex:a}=n,{markState:o}=e,l=Array.from(o.keys()).find(t=>t.key===r);if(l)return a?a.map(t=>l.data[t]):l.data[i]}function dX(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>!0;return i=>{if(!r(i))return;n.emit("plot:".concat(t),i);let{target:a}=i;if(!a)return;let{className:o}=a;if("plot"===o)return;let l=dE(a,t=>"element"===t.className),s=dE(a,t=>"component"===t.className),c=dE(a,t=>"label"===t.className),u=l||s||c;if(!u)return;let{className:f,markType:d}=u,h=Object.assign(Object.assign({},i),{nativeEvent:!0});"element"===f?(h.data={data:dQ(u,e)},n.emit("element:".concat(t),h),n.emit("".concat(d,":").concat(t),h)):"label"===f?(h.data={data:u.attributes.datum},n.emit("label:".concat(t),h),n.emit("".concat(o,":").concat(t),h)):(n.emit("component:".concat(t),h),n.emit("".concat(o,":").concat(t),h))}}function dK(){return(t,e,n)=>{let{container:r,view:i}=t,a=dX(dU.CLICK,i,n,t=>1===t.detail),o=dX(dU.DBLCLICK,i,n,t=>2===t.detail),l=dX(dU.POINTER_TAP,i,n),s=dX(dU.POINTER_DOWN,i,n),c=dX(dU.POINTER_UP,i,n),u=dX(dU.POINTER_OVER,i,n),f=dX(dU.POINTER_OUT,i,n),d=dX(dU.POINTER_MOVE,i,n),h=dX(dU.POINTER_ENTER,i,n),p=dX(dU.POINTER_LEAVE,i,n),g=dX(dU.POINTER_UPOUTSIDE,i,n),m=dX(dU.DRAG_START,i,n),y=dX(dU.DRAG,i,n),v=dX(dU.DRAG_END,i,n),b=dX(dU.DRAG_ENTER,i,n),x=dX(dU.DRAG_LEAVE,i,n),O=dX(dU.DRAG_OVER,i,n),w=dX(dU.DROP,i,n);return r.addEventListener("click",a),r.addEventListener("click",o),r.addEventListener("pointertap",l),r.addEventListener("pointerdown",s),r.addEventListener("pointerup",c),r.addEventListener("pointerover",u),r.addEventListener("pointerout",f),r.addEventListener("pointermove",d),r.addEventListener("pointerenter",h),r.addEventListener("pointerleave",p),r.addEventListener("pointerupoutside",g),r.addEventListener("dragstart",m),r.addEventListener("drag",y),r.addEventListener("dragend",v),r.addEventListener("dragenter",b),r.addEventListener("dragleave",x),r.addEventListener("dragover",O),r.addEventListener("drop",w),()=>{r.removeEventListener("click",a),r.removeEventListener("click",o),r.removeEventListener("pointertap",l),r.removeEventListener("pointerdown",s),r.removeEventListener("pointerup",c),r.removeEventListener("pointerover",u),r.removeEventListener("pointerout",f),r.removeEventListener("pointermove",d),r.removeEventListener("pointerenter",h),r.removeEventListener("pointerleave",p),r.removeEventListener("pointerupoutside",g),r.removeEventListener("dragstart",m),r.removeEventListener("drag",y),r.removeEventListener("dragend",v),r.removeEventListener("dragenter",b),r.removeEventListener("dragleave",x),r.removeEventListener("dragover",O),r.removeEventListener("drop",w)}}}dK.props={reapplyWhenUpdate:!0};var dJ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function d0(t,e){if(e)return"string"==typeof e?document.querySelector(e):e;let n=t.ownerDocument.defaultView.getContextService().getDomElement();return n.parentElement}function d1(t){let{root:e,data:n,x:r,y:i,render:a,event:o,single:l,position:s="right-bottom",enterable:c=!1,css:u,mount:f,bounding:d,offset:h}=t,p=d0(e,f),g=d0(e),m=l?g:e,y=d||function(t){let e=t.getRenderBounds(),{min:[n,r],max:[i,a]}=e;return{x:n,y:r,width:i-n,height:a-r}}(e),v=function(t,e){let n=t.getBoundingClientRect(),r=e.getBoundingClientRect();return{x:n.x-r.x,y:n.y-r.y}}(g,p),{tooltipElement:b=function(t,e,n,r,i,a,o){let l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:[10,10],c=new dY({className:"tooltip",style:{x:e,y:n,container:o,data:[],bounding:a,position:r,enterable:i,title:"",offset:s,template:{prefixCls:"g2-"},style:R({".g2-tooltip":{},".g2-tooltip-title":{overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},l)}});return t.appendChild(c.HTMLTooltipElement),c}(p,r,i,s,c,y,v,u,h)}=m,{items:x,title:O=""}=n;b.update(Object.assign({x:r,y:i,data:x,title:O,position:s,enterable:c},void 0!==a&&{content:a(o,{items:x,title:O})})),m.tooltipElement=b}function d2(t){let{root:e,single:n,emitter:r,nativeEvent:i=!0,event:a=null}=t;i&&r.emit("tooltip:hide",{nativeEvent:i});let o=d0(e),l=n?o:e,{tooltipElement:s}=l;s&&s.hide(null==a?void 0:a.clientX,null==a?void 0:a.clientY),d9(e),d7(e),ht(e)}function d5(t){let{root:e,single:n}=t,r=d0(e),i=n?r:e;if(!i)return;let{tooltipElement:a}=i;a&&(a.destroy(),i.tooltipElement=void 0),d9(e),d7(e),ht(e)}function d3(t){let{value:e}=t;return Object.assign(Object.assign({},t),{value:void 0===e?"undefined":e})}function d4(t){let e=t.getAttribute("fill"),n=t.getAttribute("stroke"),{__data__:r}=t,{color:i=e&&"transparent"!==e?e:n}=r;return i}function d6(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t,n=new Map(t.map(t=>[e(t),t]));return Array.from(n.values())}function d8(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.map(t=>t.__data__),i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=t=>t instanceof Date?+t:t,o=d6(r.map(t=>t.title),a).filter(ez),l=r.flatMap((r,a)=>{let o=t[a],{items:l=[],title:s}=r,c=l.filter(ez),u=void 0!==n?n:l.length<=1;return c.map(t=>{var{color:n=d4(o)||i.color,name:a}=t,l=dJ(t,["color","name"]);let c=function(t,e){let{color:n,series:r,facet:i=!1}=t,{color:a,series:o}=e;if(r&&r.invert&&!(r instanceof o8)&&!(r instanceof sf)){let t=r.clone();return t.invert(o)}if(o&&r instanceof o8&&r.invert(o)!==a&&!i)return r.invert(o);if(n&&n.invert&&!(n instanceof o8)&&!(n instanceof sf)){let t=n.invert(a);return Array.isArray(t)?null:t}return null}(e,r);return Object.assign(Object.assign({},l),{color:n,name:(u?c||a:a||c)||s})})}).map(d3);return Object.assign(Object.assign({},o.length>0&&{title:o.join(",")}),{items:d6(l,t=>"(".concat(a(t.name),", ").concat(a(t.value),", ").concat(a(t.color),")"))})}function d9(t){t.ruleY&&(t.ruleY.remove(),t.ruleY=void 0)}function d7(t){t.ruleX&&(t.ruleX.remove(),t.ruleX=void 0)}function ht(t){t.markers&&(t.markers.forEach(t=>t.remove()),t.markers=[])}function he(t,e){return Array.from(t.values()).some(t=>{var n;return null===(n=t.interaction)||void 0===n?void 0:n[e]})}function hn(t,e){return void 0===t?e:t}function hr(t){let{title:e,items:n}=t;return 0===n.length&&void 0===e}function hi(t,e){var{elements:n,sort:r,filter:i,scale:a,coordinate:o,crosshairs:l,crosshairsX:s,crosshairsY:c,render:u,groupName:f,emitter:d,wait:h=50,leading:p=!0,trailing:g=!1,startX:m=0,startY:y=0,body:v=!0,single:b=!0,position:x,enterable:O,mount:w,bounding:_,theme:M,offset:k,disableNative:C=!1,marker:j=!0,preserve:A=!1,style:S={},css:E={}}=e,P=dJ(e,["elements","sort","filter","scale","coordinate","crosshairs","crosshairsX","crosshairsY","render","groupName","emitter","wait","leading","trailing","startX","startY","body","single","position","enterable","mount","bounding","theme","offset","disableNative","marker","preserve","style","css"]);let T=n(t),L=tp(o),I=tg(o),N=R(S,P),{innerWidth:B,innerHeight:D,width:F,height:z,insetLeft:$,insetTop:W}=o.getOptions(),Z=[],H=[];for(let t of T){let{__data__:e}=t,{seriesX:n,title:r,items:i}=e;n?Z.push(t):(r||i)&&H.push(t)}let G=H.length&&H.every(t=>"interval"===t.markType)&&!tg(o),q=t=>t.__data__.x,V=!!a.x.getBandWidth,Y=V&&H.length>0;Z.sort((t,e)=>{let n=L?0:1,r=t=>t.getBounds().min[n];return L?r(e)-r(t):r(t)-r(e)});let U=t=>{let e=L?1:0,{min:n,max:r}=t.getLocalBounds();return fO([n[e],r[e]])};G?T.sort((t,e)=>q(t)-q(e)):H.sort((t,e)=>{let[n,r]=U(t),[i,a]=U(e),o=(n+r)/2,l=(i+a)/2;return L?l-o:o-l});let Q=new Map(Z.map(t=>{let{__data__:e}=t,{seriesX:n}=e,r=n.map((t,e)=>e),i=fO(r,t=>n[+t]);return[t,[i,n]]})),{x:X}=a,K=(null==X?void 0:X.getBandWidth)?X.getBandWidth()/2:0,J=t=>{let[e]=o.invert(t);return e-K},tt=(t,e,n,r)=>{let{_x:i}=t,a=void 0!==i?X.map(i):J(e),o=r.filter(ez),[l,s]=fO([o[0],o[o.length-1]]);if(!Y&&(as)&&l!==s)return null;let c=fp(t=>r[+t]).center,u=c(n,a);return n[u]},te=G?(t,e)=>{let n=fp(q).center,r=n(e,J(t)),i=e[r],a=eA(e,q),o=a.get(q(i));return o}:(t,e)=>{let n=L?1:0,r=t[n],i=e.filter(t=>{let[e,n]=U(t);return r>=e&&r<=n});if(!Y||i.length>0)return i;let a=fp(t=>{let[e,n]=U(t);return(e+n)/2}).center,o=a(e,r);return[e[o]].filter(ez)},tn=(t,e)=>{let{__data__:n}=t;return Object.fromEntries(Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("series")&&"series"!==e}).map(t=>{let[n,r]=t,i=r[e];return[eL(n.replace("series","")),i]}))},tr=dF(e=>{var n;let h=dh(t,e);if(!h)return;let p=dd(t),g=p.min[0],C=p.min[1],A=[h[0]-m,h[1]-y];if(!A)return;let S=te(A,H),P=[],R=[];for(let t of Z){let[n,r]=Q.get(t),i=tt(e,A,n,r);if(null!==i){P.push(t);let e=tn(t,i),{x:n,y:r}=e,a=o.map([(n||0)+K,r||0]);R.push([Object.assign(Object.assign({},e),{element:t}),a])}}let T=Array.from(new Set(R.map(t=>t[0].x))),G=T[dW(T,t=>Math.abs(t-J(A)))],q=R.filter(t=>t[0].x===G),V=[...q.map(t=>t[0]),...S.map(t=>t.__data__)],Y=[...P,...S],U=d8(Y,a,f,V,M);if(r&&U.items.sort((t,e)=>r(t)-r(e)),i&&(U.items=U.items.filter(i)),0===Y.length||hr(U)){ti(e);return}if(v&&d1({root:t,data:U,x:h[0]+g,y:h[1]+C,render:u,event:e,single:b,position:x,enterable:O,mount:w,bounding:_,css:E,offset:k}),l||s||c){let e=e$(N,"crosshairs"),n=Object.assign(Object.assign({},e),e$(N,"crosshairsX")),r=Object.assign(Object.assign({},e),e$(N,"crosshairsY")),i=q.map(t=>t[1]);s&&function(t,e,n,r){var{plotWidth:i,plotHeight:a,mainWidth:o,mainHeight:l,startX:s,startY:c,transposed:u,polar:f,insetLeft:d,insetTop:h}=r,p=dJ(r,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let g=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},p),m=((t,e)=>{if(1===e.length)return e[0];let n=e.map(e=>eX(e,t)),r=dW(n,t=>t);return e[r]})(n,e);if(f){let[e,n,r]=(()=>{let t=s+d+o/2,e=c+h+l/2,n=eX([t,e],m);return[t,e,n]})(),i=t.ruleX||((e,n,r)=>{let i=new t_.Cd({style:Object.assign({cx:e,cy:n,r},g)});return t.appendChild(i),i})(e,n,r);i.style.cx=e,i.style.cy=n,i.style.r=r,t.ruleX=i}else{let[e,n,r,o]=u?[s+m[0],s+m[0],c,c+a]:[s,s+i,m[1]+c,m[1]+c],l=t.ruleX||((e,n,r,i)=>{let a=new t_.x1({style:Object.assign({x1:e,x2:n,y1:r,y2:i},g)});return t.appendChild(a),a})(e,n,r,o);l.style.x1=e,l.style.x2=n,l.style.y1=r,l.style.y2=o,t.ruleX=l}}(t,i,h,Object.assign(Object.assign({},n),{plotWidth:B,plotHeight:D,mainWidth:F,mainHeight:z,insetLeft:$,insetTop:W,startX:m,startY:y,transposed:L,polar:I})),c&&function(t,e,n){var{plotWidth:r,plotHeight:i,mainWidth:a,mainHeight:o,startX:l,startY:s,transposed:c,polar:u,insetLeft:f,insetTop:d}=n,h=dJ(n,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let p=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},h),g=e.map(t=>t[1]),m=e.map(t=>t[0]),y=dZ(g),v=dZ(m),[b,x,O,w]=(()=>{if(u){let t=Math.min(a,o)/2,e=l+f+a/2,n=s+d+o/2,r=eK(eU([v,y],[e,n])),i=e+t*Math.cos(r),c=n+t*Math.sin(r);return[e,i,n,c]}return c?[l,l+r,y+s,y+s]:[v+l,v+l,s,s+i]})();if(m.length>0){let e=t.ruleY||(()=>{let e=new t_.x1({style:Object.assign({x1:b,x2:x,y1:O,y2:w},p)});return t.appendChild(e),e})();e.style.x1=b,e.style.x2=x,e.style.y1=O,e.style.y2=w,t.ruleY=e}}(t,i,Object.assign(Object.assign({},r),{plotWidth:B,plotHeight:D,mainWidth:F,mainHeight:z,insetLeft:$,insetTop:W,startX:m,startY:y,transposed:L,polar:I}))}if(j){let e=e$(N,"marker");!function(t,e){let{data:n,style:r,theme:i}=e;t.markers&&t.markers.forEach(t=>t.remove());let{type:a=""}=r,o=n.filter(t=>{let[{x:e,y:n}]=t;return ez(e)&&ez(n)}).map(t=>{let[{color:e,element:n},o]=t,l=e||n.style.fill||n.style.stroke||i.color,s=new t_.Cd({className:"g2-tooltip-marker",style:Object.assign({cx:o[0],cy:o[1],fill:"hollow"===a?"transparent":l,r:4,stroke:"hollow"===a?l:"#fff",lineWidth:2},r)});return s});for(let e of o)t.appendChild(e);t.markers=o}(t,{data:q,style:e,theme:M})}let X=null===(n=q[0])||void 0===n?void 0:n[0].x,tr=null!=X?X:J(A);d.emit("tooltip:show",Object.assign(Object.assign({},e),{nativeEvent:!0,data:{data:{x:fk(a.x,tr,!0)}}}))},h,{leading:p,trailing:g}),ti=e=>{d2({root:t,single:b,emitter:d,event:e})},ta=()=>{d5({root:t,single:b})},to=e=>{var n,{nativeEvent:r,data:i,offsetX:l,offsetY:s}=e,c=dJ(e,["nativeEvent","data","offsetX","offsetY"]);if(r)return;let u=null===(n=null==i?void 0:i.data)||void 0===n?void 0:n.x,f=a.x,d=f.map(u),[h,p]=o.map([d,.5]),g=t.getRenderBounds(),m=g.min[0],y=g.min[1];tr(Object.assign(Object.assign({},c),{offsetX:void 0!==l?l:m+h,offsetY:void 0!==s?s:y+p,_x:u}))},tl=()=>{d2({root:t,single:b,emitter:d,nativeEvent:!1})},ts=()=>{tf(),ta()},tc=()=>{tu()},tu=()=>{C||(t.addEventListener("pointerenter",tr),t.addEventListener("pointermove",tr),t.addEventListener("pointerleave",e=>{dh(t,e)||ti(e)}))},tf=()=>{C||(t.removeEventListener("pointerenter",tr),t.removeEventListener("pointermove",tr),t.removeEventListener("pointerleave",ti))};return tu(),d.on("tooltip:show",to),d.on("tooltip:hide",tl),d.on("tooltip:disable",ts),d.on("tooltip:enable",tc),()=>{tf(),d.off("tooltip:show",to),d.off("tooltip:hide",tl),d.off("tooltip:disable",ts),d.off("tooltip:enable",tc),A?d2({root:t,single:b,emitter:d,nativeEvent:!1}):ta()}}function ha(t){let{shared:e,crosshairs:n,crosshairsX:r,crosshairsY:i,series:a,name:o,item:l=()=>({}),facet:s=!1}=t,c=dJ(t,["shared","crosshairs","crosshairsX","crosshairsY","series","name","item","facet"]);return(t,o,u)=>{let{container:f,view:d}=t,{scale:h,markState:p,coordinate:g,theme:m}=d,y=he(p,"seriesTooltip"),v=he(p,"crosshairs"),b=df(f),x=hn(a,y),O=hn(n,v);if(x&&Array.from(p.values()).some(t=>{var e;return(null===(e=t.interaction)||void 0===e?void 0:e.seriesTooltip)&&t.tooltip})&&!s)return hi(b,Object.assign(Object.assign({},c),{theme:m,elements:ds,scale:h,coordinate:g,crosshairs:O,crosshairsX:hn(hn(r,n),!1),crosshairsY:hn(i,O),item:l,emitter:u}));if(x&&s){let e=o.filter(e=>e!==t&&e.options.parentKey===t.options.key),a=dc(t,o),s=e[0].view.scale,f=b.getBounds(),d=f.min[0],h=f.min[1];return Object.assign(s,{facet:!0}),hi(b.parentNode.parentNode,Object.assign(Object.assign({},c),{theme:m,elements:()=>a,scale:s,coordinate:g,crosshairs:hn(n,v),crosshairsX:hn(hn(r,n),!1),crosshairsY:hn(i,O),item:l,startX:d,startY:h,emitter:u}))}return function(t,e){var n,r;let{elements:i,coordinate:a,scale:o,render:l,groupName:s,sort:c,filter:u,emitter:f,wait:d=50,leading:h=!0,trailing:p=!1,groupKey:g=t=>t,single:m=!0,position:y,enterable:v,datum:b,view:x,mount:O,bounding:w,theme:_,offset:M,shared:k=!1,body:C=!0,disableNative:j=!1,preserve:A=!1,css:S={}}=e,E=i(t),P=eA(E,g),R=E.every(t=>"interval"===t.markType)&&!tg(a),T=o.x,L=o.series,I=null!==(r=null===(n=null==T?void 0:T.getBandWidth)||void 0===n?void 0:n.call(T))&&void 0!==r?r:0,N=L?t=>t.__data__.x+t.__data__.series*I:t=>t.__data__.x+I/2;R&&E.sort((t,e)=>N(t)-N(e));let B=t=>{let{target:e}=t;return dE(e,t=>!!t.classList&&t.classList.includes("element"))},D=R?e=>{let n=dh(t,e);if(!n)return;let[r]=a.invert(n),i=fp(N).center,o=i(E,r),l=E[o];if(!k){let t=E.find(t=>t!==l&&N(t)===N(l));if(t)return B(e)}return l}:B,F=dF(e=>{let n=D(e);if(!n){d2({root:t,single:m,emitter:f,event:e});return}let r=g(n),i=P.get(r);if(!i)return;let a=1!==i.length||k?d8(i,o,s,void 0,_):function(t){let{__data__:e}=t,{title:n,items:r=[]}=e,i=r.filter(ez).map(e=>{var{color:n=d4(t)}=e;return Object.assign(Object.assign({},dJ(e,["color"])),{color:n})}).map(d3);return Object.assign(Object.assign({},n&&{title:n}),{items:i})}(i[0]);if(c&&a.items.sort((t,e)=>c(t)-c(e)),u&&(a.items=a.items.filter(u)),hr(a)){d2({root:t,single:m,emitter:f,event:e});return}let{offsetX:d,offsetY:h}=e;C&&d1({root:t,data:a,x:d,y:h,render:l,event:e,single:m,position:y,enterable:v,mount:O,bounding:w,css:S,offset:M}),f.emit("tooltip:show",Object.assign(Object.assign({},e),{nativeEvent:!0,data:{data:dQ(n,x)}}))},d,{leading:h,trailing:p}),z=e=>{d2({root:t,single:m,emitter:f,event:e})},$=()=>{j||(t.addEventListener("pointermove",F),t.addEventListener("pointerleave",z))},W=()=>{j||(t.removeEventListener("pointermove",F),t.removeEventListener("pointerleave",z))},Z=e=>{let{nativeEvent:n,offsetX:r,offsetY:i,data:a}=e;if(n)return;let{data:o}=a,l=dC(E,o,b);if(!l)return;let s=l.getBBox(),{x:c,y:u,width:f,height:d}=s,h=t.getBBox();F({target:l,offsetX:void 0!==r?r+h.x:c+f/2,offsetY:void 0!==i?i+h.y:u+d/2})},H=function(){let{nativeEvent:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e||d2({root:t,single:m,emitter:f,nativeEvent:!1})};return f.on("tooltip:show",Z),f.on("tooltip:hide",H),f.on("tooltip:enable",()=>{$()}),f.on("tooltip:disable",()=>{W(),d5({root:t,single:m})}),$(),()=>{W(),f.off("tooltip:show",Z),f.off("tooltip:hide",H),A?d2({root:t,single:m,emitter:f,nativeEvent:!1}):d5({root:t,single:m})}}(b,Object.assign(Object.assign({},c),{datum:dy(d),elements:ds,scale:h,coordinate:g,groupKey:e?dm(d):void 0,item:l,emitter:u,view:d,theme:m,shared:e}))}}ha.props={reapplyWhenUpdate:!0};var ho=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})};let hl="legend-category";function hs(t){return t.getElementsByClassName("legend-category-item-marker")[0]}function hc(t){return t.getElementsByClassName("legend-category-item-label")[0]}function hu(t){return t.getElementsByClassName("items-item")}function hf(t){return t.getElementsByClassName(hl)}function hd(t){return t.getElementsByClassName("legend-continuous")}function hh(t){let e=t.parentNode;for(;e&&!e.__data__;)e=e.parentNode;return e.__data__}function hp(t,e){let{legend:n,channel:r,value:i,ordinal:a,channels:o,allChannels:l,facet:s=!1}=e;return ho(this,void 0,void 0,function*(){let{view:e,update:c,setState:u}=t;u(n,t=>{let{marks:n}=t,c=n.map(t=>{if("legends"===t.type)return t;let{transform:n=[]}=t,c=n.findIndex(t=>{let{type:e}=t;return e.startsWith("group")||e.startsWith("bin")}),u=[...n];u.splice(c+1,0,{type:"filter",[r]:{value:i,ordinal:a}});let f=Object.fromEntries(o.map(t=>[t,{domain:e.scale[t].getOptions().domain}]));return R({},t,Object.assign(Object.assign({transform:u,scale:f},!a&&{animate:!1}),{legend:!s&&Object.fromEntries(l.map(t=>[t,{preserve:!0}]))}))});return Object.assign(Object.assign({},t),{marks:c})}),yield c()})}function hg(t,e){for(let n of t)hp(n,Object.assign(Object.assign({},e),{facet:!0}))}var hm=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function hy(t,e){for(let[n,r]of Object.entries(e))t.style(n,r)}let hv=ry(t=>{let e=t.attributes,{x:n,y:r,width:i,height:a,class:o,renders:l={},handleSize:s=10,document:c}=e,u=hm(e,["x","y","width","height","class","renders","handleSize","document"]);if(!c||void 0===i||void 0===a||void 0===n||void 0===r)return;let f=s/2,d=(t,e,n)=>{t.handle||(t.handle=n.createElement("rect"),t.append(t.handle));let{handle:r}=t;return r.attr(e),r},h=e$(eZ(u,"handleNW","handleNE"),"handleN"),{render:p=d}=h,g=hm(h,["render"]),m=e$(u,"handleE"),{render:y=d}=m,v=hm(m,["render"]),b=e$(eZ(u,"handleSE","handleSW"),"handleS"),{render:x=d}=b,O=hm(b,["render"]),w=e$(u,"handleW"),{render:_=d}=w,M=hm(w,["render"]),k=e$(u,"handleNW"),{render:C=d}=k,j=hm(k,["render"]),A=e$(u,"handleNE"),{render:S=d}=A,E=hm(A,["render"]),P=e$(u,"handleSE"),{render:R=d}=P,T=hm(P,["render"]),L=e$(u,"handleSW"),{render:I=d}=L,N=hm(L,["render"]),B=(t,e)=>{let{id:n}=t,r=e(t,t.attributes,c);r.id=n,r.style.draggable=!0},D=t=>()=>{let e=ry(e=>B(e,t));return new e({})},F=eV(t).attr("className",o).style("transform","translate(".concat(n,", ").concat(r,")")).style("draggable",!0);F.maybeAppend("selection","rect").style("draggable",!0).style("fill","transparent").call(hy,Object.assign(Object.assign({width:i,height:a},eZ(u,"handle")),{transform:void 0})),F.maybeAppend("handle-n",D(p)).style("x",f).style("y",-f).style("width",i-s).style("height",s).style("fill","transparent").call(hy,g),F.maybeAppend("handle-e",D(y)).style("x",i-f).style("y",f).style("width",s).style("height",a-s).style("fill","transparent").call(hy,v),F.maybeAppend("handle-s",D(x)).style("x",f).style("y",a-f).style("width",i-s).style("height",s).style("fill","transparent").call(hy,O),F.maybeAppend("handle-w",D(_)).style("x",-f).style("y",f).style("width",s).style("height",a-s).style("fill","transparent").call(hy,M),F.maybeAppend("handle-nw",D(C)).style("x",-f).style("y",-f).style("width",s).style("height",s).style("fill","transparent").call(hy,j),F.maybeAppend("handle-ne",D(S)).style("x",i-f).style("y",-f).style("width",s).style("height",s).style("fill","transparent").call(hy,E),F.maybeAppend("handle-se",D(R)).style("x",i-f).style("y",a-f).style("width",s).style("height",s).style("fill","transparent").call(hy,T),F.maybeAppend("handle-sw",D(I)).style("x",-f).style("y",a-f).style("width",s).style("height",s).style("fill","transparent").call(hy,N)});function hb(t,e){var{brushed:n=()=>{},brushended:r=()=>{},brushcreated:i=()=>{},brushstarted:a=()=>{},brushupdated:o=()=>{},extent:l=function(t){let{width:e,height:n}=t.getBBox();return[0,0,e,n]}(t),brushRegion:s=(t,e,n,r,i)=>[t,e,n,r],reverse:c=!1,fill:u="#777",fillOpacity:f="0.3",stroke:d="#fff",selectedHandles:h=["handle-n","handle-e","handle-s","handle-w","handle-nw","handle-ne","handle-se","handle-sw"]}=e,p=hm(e,["brushed","brushended","brushcreated","brushstarted","brushupdated","extent","brushRegion","reverse","fill","fillOpacity","stroke","selectedHandles"]);let g=null,m=null,y=null,v=null,b=null,x=!1,[O,w,_,M]=l;dk(t,"crosshair"),t.style.draggable=!0;let k=(t,e,n)=>{if(a(n),v&&v.remove(),b&&b.remove(),g=[t,e],c)return C();j()},C=()=>{b=new t_.y$({style:Object.assign(Object.assign({},p),{fill:u,fillOpacity:f,stroke:d,pointerEvents:"none"})}),v=new hv({style:{x:0,y:0,width:0,height:0,draggable:!0,document:t.ownerDocument},className:"mask"}),t.appendChild(b),t.appendChild(v)},j=()=>{v=new hv({style:Object.assign(Object.assign({document:t.ownerDocument,x:0,y:0},p),{fill:u,fillOpacity:f,stroke:d,draggable:!0}),className:"mask"}),t.appendChild(v)},A=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];v&&v.remove(),b&&b.remove(),g=null,m=null,y=null,x=!1,v=null,b=null,r(t)},S=function(t,e){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],[i,a,o,u]=function(t,e,n,r,i){let[a,o,l,s]=i;return[Math.max(a,Math.min(t,n)),Math.max(o,Math.min(e,r)),Math.min(l,Math.max(t,n)),Math.min(s,Math.max(e,r))]}(t[0],t[1],e[0],e[1],l),[f,d,h,p]=s(i,a,o,u,l);return c?P(f,d,h,p):E(f,d,h,p),n(f,d,h,p,r),[f,d,h,p]},E=(t,e,n,r)=>{v.style.x=t,v.style.y=e,v.style.width=n-t,v.style.height=r-e},P=(t,e,n,r)=>{b.style.d="\n M".concat(O,",").concat(w,"L").concat(_,",").concat(w,"L").concat(_,",").concat(M,"L").concat(O,",").concat(M,"Z\n M").concat(t,",").concat(e,"L").concat(t,",").concat(r,"L").concat(n,",").concat(r,"L").concat(n,",").concat(e,"Z\n "),v.style.x=t,v.style.y=e,v.style.width=n-t,v.style.height=r-e},R=t=>{let e=(t,e,n,r,i)=>t+ei?i-n:t,n=t[0]-y[0],r=t[1]-y[1],i=e(n,g[0],m[0],O,_),a=e(r,g[1],m[1],w,M),o=[g[0]+i,g[1]+a],l=[m[0]+i,m[1]+a];S(o,l)},T={"handle-n":{vector:[0,1,0,0],cursor:"ns-resize"},"handle-e":{vector:[0,0,1,0],cursor:"ew-resize"},"handle-s":{vector:[0,0,0,1],cursor:"ns-resize"},"handle-w":{vector:[1,0,0,0],cursor:"ew-resize"},"handle-nw":{vector:[1,1,0,0],cursor:"nwse-resize"},"handle-ne":{vector:[0,1,1,0],cursor:"nesw-resize"},"handle-se":{vector:[0,0,1,1],cursor:"nwse-resize"},"handle-sw":{vector:[1,0,0,1],cursor:"nesw-resize"}},L=t=>N(t)||I(t),I=t=>{let{id:e}=t;return -1!==h.indexOf(e)&&new Set(Object.keys(T)).has(e)},N=t=>t===v.getElementById("selection"),B=e=>{let{target:n}=e,[r,i]=dp(t,e);if(!v||!L(n)){k(r,i,e),x=!0;return}L(n)&&(y=[r,i])},D=e=>{let{target:n}=e,r=dp(t,e);if(!g)return;if(!y)return S(g,r);if(N(n))return R(r);let[i,a]=[r[0]-y[0],r[1]-y[1]],{id:o}=n;if(T[o]){let[t,e,n,r]=T[o].vector;return S([g[0]+i*t,g[1]+a*e],[m[0]+i*n,m[1]+a*r])}},F=e=>{if(y){y=null;let{x:t,y:n,width:r,height:i}=v.style;g=[t,n],m=[t+r,n+i],o(t,n,t+r,n+i,e);return}m=dp(t,e);let[n,r,a,l]=S(g,m);x=!1,i(n,r,a,l,e)},z=t=>{let{target:e}=t;v&&!L(e)&&A()},$=e=>{let{target:n}=e;v&&L(n)&&!x?N(n)?dk(t,"move"):I(n)&&dk(t,T[n.id].cursor):dk(t,"crosshair")},W=()=>{dk(t,"default")};return t.addEventListener("dragstart",B),t.addEventListener("drag",D),t.addEventListener("dragend",F),t.addEventListener("click",z),t.addEventListener("pointermove",$),t.addEventListener("pointerleave",W),{mask:v,move(t,e,n,r){let i=!(arguments.length>4)||void 0===arguments[4]||arguments[4];v||k(t,e,{}),g=[t,e],m=[n,r],S([t,e],[n,r],i)},remove(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];v&&A(t)},destroy(){v&&A(!1),dk(t,"default"),t.removeEventListener("dragstart",B),t.removeEventListener("drag",D),t.removeEventListener("dragend",F),t.removeEventListener("click",z),t.removeEventListener("pointermove",$),t.removeEventListener("pointerleave",W)}}}function hx(t,e,n){return e.filter(e=>{if(e===t)return!1;let{interaction:r={}}=e.options;return Object.values(r).find(t=>t.brushKey===n)})}function hO(t,e){var{elements:n,selectedHandles:r,siblings:i=t=>[],datum:a,brushRegion:o,extent:l,reverse:s,scale:c,coordinate:u,series:f=!1,key:d=t=>t,bboxOf:h=t=>{let{x:e,y:n,width:r,height:i}=t.style;return{x:e,y:n,width:r,height:i}},state:p={},emitter:g}=e,m=hm(e,["elements","selectedHandles","siblings","datum","brushRegion","extent","reverse","scale","coordinate","series","key","bboxOf","state","emitter"]);let y=n(t),v=i(t),b=v.flatMap(n),x=dO(y,a),O=e$(m,"mask"),{setState:w,removeState:_}=dv(p,x),M=new Map,{width:k,height:C,x:j=0,y:A=0}=h(t),S=()=>{for(let t of[...y,...b])_(t,"active","inactive")},E=(t,e,n,r)=>{var i;for(let t of v)null===(i=t.brush)||void 0===i||i.remove();let a=new Set;for(let i of y){let{min:o,max:l}=i.getLocalBounds(),[s,c]=o,[u,f]=l;!function(t,e){let[n,r,i,a]=t,[o,l,s,c]=e;return!(o>i||sa||c{for(let t of y)_(t,"inactive");for(let t of M.values())t.remove();M.clear()},R=(e,n,r,i)=>{let a=t=>{let e=t.cloneNode();return e.__data__=t.__data__,t.parentNode.appendChild(e),M.set(t,e),e},o=new t_.UL({style:{x:e+j,y:n+A,width:r-e,height:i-n}});for(let e of(t.appendChild(o),y)){let t=M.get(e)||a(e);t.style.clipPath=o,w(e,"inactive"),w(t,"active")}},T=hb(t,Object.assign(Object.assign({},O),{extent:l||[0,0,k,C],brushRegion:o,reverse:s,selectedHandles:r,brushended:t=>{let e=f?P:S;t&&g.emit("brush:remove",{nativeEvent:!0}),e()},brushed:(t,e,n,r,i)=>{let a=fj(t,e,n,r,c,u);i&&g.emit("brush:highlight",{nativeEvent:!0,data:{selection:a}});let o=f?R:E;o(t,e,n,r)},brushcreated:(t,e,n,r,i)=>{let a=fj(t,e,n,r,c,u);g.emit("brush:end",Object.assign(Object.assign({},i),{nativeEvent:!0,data:{selection:a}}))},brushupdated:(t,e,n,r,i)=>{let a=fj(t,e,n,r,c,u);g.emit("brush:end",Object.assign(Object.assign({},i),{nativeEvent:!0,data:{selection:a}}))},brushstarted:t=>{g.emit("brush:start",t)}})),L=t=>{let{nativeEvent:e,data:n}=t;if(e)return;let{selection:r}=n,[i,a,o,l]=function(t,e,n){let{x:r,y:i}=e,[a,o]=t,l=fA(a,r),s=fA(o,i),c=[l[0],s[0]],u=[l[1],s[1]],[f,d]=n.map(c),[h,p]=n.map(u);return[f,d,h,p]}(r,c,u);T.move(i,a,o,l,!1)};g.on("brush:highlight",L);let I=function(){let{nativeEvent:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t||T.remove(!1)};g.on("brush:remove",I);let N=T.destroy.bind(T);return T.destroy=()=>{g.off("brush:highlight",L),g.off("brush:remove",I),N()},T}function hw(t){var{facet:e,brushKey:n}=t,r=hm(t,["facet","brushKey"]);return(t,i,a)=>{let{container:o,view:l,options:s}=t,c=df(o),u={maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",reverse:!1},f=["active",["inactive",{opacity:.5}]],{scale:d,coordinate:h}=l;if(e){let e=c.getBounds(),n=e.min[0],o=e.min[1],l=e.max[0],s=e.max[1];return hO(c.parentNode.parentNode,Object.assign(Object.assign({elements:()=>dc(t,i),datum:dy(du(t,i).map(t=>t.view)),brushRegion:(t,e,n,r)=>[t,e,n,r],extent:[n,o,l,s],state:dx(du(t,i).map(t=>t.options),f),emitter:a,scale:d,coordinate:h,selectedHandles:void 0},u),r))}let p=hO(c,Object.assign(Object.assign({elements:ds,key:t=>t.__data__.key,siblings:()=>hx(t,i,n).map(t=>df(t.container)),datum:dy([l,...hx(t,i,n).map(t=>t.view)]),brushRegion:(t,e,n,r)=>[t,e,n,r],extent:void 0,state:dx([s,...hx(t,i,n).map(t=>t.options)],f),emitter:a,scale:d,coordinate:h,selectedHandles:void 0},u),r));return c.brush=p,()=>p.destroy()}}function h_(t,e,n,r,i){let[,a,,o]=i;return[t,a,n,o]}function hM(t,e,n,r,i){let[a,,o]=i;return[a,e,o,r]}var hk=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let hC="axis-hot-area";function hj(t){return t.getElementsByClassName("axis")}function hA(t){return t.getElementsByClassName("axis-line")[0]}function hS(t){return t.getElementsByClassName("axis-main-group")[0].getLocalBounds()}function hE(t,e){var{cross:n,offsetX:r,offsetY:i}=e,a=hk(e,["cross","offsetX","offsetY"]);let o=hS(t),l=hA(t),[s]=l.getLocalBounds().min,[c,u]=o.min,[f,d]=o.max,h=(f-c)*2;return{brushRegion:hM,hotZone:new t_.UL({className:hC,style:Object.assign({width:n?h/2:h,transform:"translate(".concat((n?c:s-h/2).toFixed(2),", ").concat(u,")"),height:d-u},a)}),extent:n?(t,e,n,r)=>[-1/0,e,1/0,r]:(t,e,n,i)=>[Math.floor(c-r),e,Math.ceil(f-r),i]}}function hP(t,e){var{offsetY:n,offsetX:r,cross:i=!1}=e,a=hk(e,["offsetY","offsetX","cross"]);let o=hS(t),l=hA(t),[,s]=l.getLocalBounds().min,[c,u]=o.min,[f,d]=o.max,h=d-u;return{brushRegion:h_,hotZone:new t_.UL({className:hC,style:Object.assign({width:f-c,height:i?h:2*h,transform:"translate(".concat(c,", ").concat(i?u:s-h,")")},a)}),extent:i?(t,e,n,r)=>[t,-1/0,n,1/0]:(t,e,r,i)=>[t,Math.floor(u-n),r,Math.ceil(d-n)]}}var hR=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function hT(t){var{hideX:e=!0,hideY:n=!0}=t,r=hR(t,["hideX","hideY"]);return(t,i,a)=>{let{container:o,view:l,options:s,update:c,setState:u}=t,f=df(o),d=!1,h=!1,p=l,{scale:g,coordinate:m}=l;return function(t,e){var{filter:n,reset:r,brushRegion:i,extent:a,reverse:o,emitter:l,scale:s,coordinate:c,selection:u,series:f=!1}=e,d=hR(e,["filter","reset","brushRegion","extent","reverse","emitter","scale","coordinate","selection","series"]);let h=e$(d,"mask"),{width:p,height:g}=t.getBBox(),m=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300,e=null;return n=>{let{timeStamp:r}=n;return null!==e&&r-e{let{nativeEvent:e,data:r}=t;if(e)return;let{selection:i}=r;n(i,{nativeEvent:!1})};return l.on("brush:filter",b),()=>{y.destroy(),l.off("brush:filter",b),t.removeEventListener("click",v)}}(f,Object.assign(Object.assign({brushRegion:(t,e,n,r)=>[t,e,n,r],selection:(t,e,n,r)=>{let{scale:i,coordinate:a}=p;return fj(t,e,n,r,i,a)},filter:(t,r)=>{var i,o,l,f;return i=this,o=void 0,l=void 0,f=function*(){if(h)return;h=!0;let[i,o]=t;u("brushFilter",t=>{let{marks:r}=t,a=r.map(t=>R({axis:Object.assign(Object.assign({},e&&{x:{transform:[{type:"hide"}]}}),n&&{y:{transform:[{type:"hide"}]}})},t,{scale:{x:{domain:i,nice:!1},y:{domain:o,nice:!1}}}));return Object.assign(Object.assign({},s),{marks:a,clip:!0})}),a.emit("brush:filter",Object.assign(Object.assign({},r),{data:{selection:[i,o]}}));let l=yield c();p=l.view,h=!1,d=!0},new(l||(l=Promise))(function(t,e){function n(t){try{a(f.next(t))}catch(t){e(t)}}function r(t){try{a(f.throw(t))}catch(t){e(t)}}function a(e){var i;e.done?t(e.value):((i=e.value)instanceof l?i:new l(function(t){t(i)})).then(n,r)}a((f=f.apply(i,o||[])).next())})},reset:t=>{if(h||!d)return;let{scale:e}=l,{x:n,y:r}=e,i=n.getOptions().domain,o=r.getOptions().domain;a.emit("brush:filter",Object.assign(Object.assign({},t),{data:{selection:[i,o]}})),d=!1,p=l,u("brushFilter"),c()},extent:void 0,emitter:a,scale:g,coordinate:m},{maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",unhighlightedOpacity:.5,reverse:!1}),r))}}var hL=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})};function hI(t){return[t[0],t[t.length-1]]}function hN(t){let{initDomain:e={},className:n="slider",prefix:r="slider",setValue:i=(t,e)=>t.setValues(e),hasState:a=!1,wait:o=50,leading:l=!0,trailing:s=!1,getInitValues:c=t=>{var e;let n=null===(e=null==t?void 0:t.attributes)||void 0===e?void 0:e.values;if(0!==n[0]||1!==n[1])return n}}=t;return(t,u,f)=>{let{container:d,view:h,update:p,setState:g}=t,m=d.getElementsByClassName(n);if(!m.length)return()=>{};let y=!1,{scale:v,coordinate:b,layout:x}=h,{paddingLeft:O,paddingTop:w,paddingBottom:_,paddingRight:M}=x,{x:k,y:C}=v,j=tp(b),A=t=>{let e="vertical"===t?"y":"x",n="vertical"===t?"x":"y";return j?[n,e]:[e,n]},S=new Map,E=new Set,P={x:e.x||k.getOptions().domain,y:e.y||C.getOptions().domain};for(let t of m){let{orientation:e}=t.attributes,[n,u]=A(e),d="".concat(r).concat(cH(n),":filter"),h="x"===n,{ratio:m}=k.getOptions(),{ratio:b}=C.getOptions(),x=t=>{if(t.data){let{selection:e}=t.data,[n=hI(P.x),r=hI(P.y)]=e;return h?[fC(k,n,m),fC(C,r,b)]:[fC(C,r,b),fC(k,n,m)]}let{value:r}=t.detail,i=v[n],a=function(t,e,n){let[r,i]=t,a=n?t=>1-t:t=>t,o=fk(e,a(r),!0),l=fk(e,a(i),!1);return fC(e,[o,l])}(r,i,j&&"horizontal"===e),o=P[u];return[a,o]},T=dF(e=>hL(this,void 0,void 0,function*(){let{initValue:i=!1}=e;if(y&&!i)return;y=!0;let{nativeEvent:o=!0}=e,[l,s]=x(e);if(P[n]=l,P[u]=s,o){let t=h?l:s,n=h?s:l;f.emit(d,Object.assign(Object.assign({},e),{nativeEvent:o,data:{selection:[hI(t),hI(n)]}}))}g(t,t=>Object.assign(Object.assign({},function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"x",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"y",{marks:o}=t,l=o.map(t=>{var o,l;return R({axis:{x:{transform:[{type:"hide"}]},y:{transform:[{type:"hide"}]}}},t,{scale:e,[n]:Object.assign(Object.assign({},(null===(o=t[n])||void 0===o?void 0:o[i])&&{[i]:Object.assign({preserve:!0},r&&{ratio:null})}),(null===(l=t[n])||void 0===l?void 0:l[a])&&{[a]:{preserve:!0}}),animate:!1})});return Object.assign(Object.assign({},t),{marks:l,clip:!0,animate:!1})}(t,{[n]:{domain:l,nice:!1}},r,a,n,u)),{paddingLeft:O,paddingTop:w,paddingBottom:_,paddingRight:M})),yield p(),y=!1}),o,{leading:l,trailing:s}),L=e=>{let{nativeEvent:n}=e;if(n)return;let{data:r}=e,{selection:a}=r,[o,l]=a;t.dispatchEvent(new t_.Aw("valuechange",{data:r,nativeEvent:!1}));let s=h?fA(o,k):fA(l,C);i(t,s)};f.on(d,L),t.addEventListener("valuechange",T),S.set(t,T),E.add([d,L]);let I=c(t);I&&t.dispatchEvent(new t_.Aw("valuechange",{detail:{value:I},nativeEvent:!1,initValue:!0}))}return()=>{for(let[t,e]of S)t.removeEventListener("valuechange",e);for(let[t,e]of E)f.off(t,e)}}}let hB="g2-scrollbar";function hD(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})}var hF=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let hz={backgroundColor:"rgba(0,0,0,0.75)",color:"#fff",width:"max-content",padding:"1px 4px",fontSize:"12px",borderRadius:"2.5px",boxShadow:"0 3px 6px -4px rgba(0,0,0,0.12), 0 6px 16px 0 rgba(0,0,0,0.08), 0 9px 28px 8px rgba(0,0,0,0.05)"};function h$(t){return"text"===t.nodeName&&!!t.isOverflowing()}function hW(t){var{offsetX:e=8,offsetY:n=8}=t,r=hF(t,["offsetX","offsetY"]);return t=>{let{container:i}=t,[a,o]=i.getBounds().min,l=e$(r,"tip"),s=new Set,c=t=>{var r;let{target:c}=t;if(!h$(c)){t.stopPropagation();return}let{offsetX:u,offsetY:f}=t,d=u+e-a,h=f+n-o;if(c.tip){c.tip.style.x=d,c.tip.style.y=h;return}let{text:p}=c.style,g=new t_.k9({className:"poptip",style:{innerHTML:(r=Object.assign(Object.assign({},hz),l),"<".concat("div",' style="').concat(Object.entries(r).map(t=>{let[e,n]=t;return"".concat(e.replace(/([A-Z])/g,"-$1").toLowerCase(),":").concat(n)}).join(";"),'">').concat(p,"")),x:d,y:h}});i.appendChild(g),c.tip=g,s.add(g)},u=t=>{let{target:e}=t;if(!h$(e)){t.stopPropagation();return}e.tip&&(e.tip.remove(),e.tip=null,s.delete(e.tip))};return i.addEventListener("pointerover",c),i.addEventListener("pointerout",u),()=>{i.removeEventListener("pointerover",c),i.removeEventListener("pointerout",u),s.forEach(t=>t.remove())}}}hW.props={reapplyWhenUpdate:!0};var hZ=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return c$(t,function(n,r){iX(t)&&"prototype"===r||e.push(r)}),e},hH=function(t,e){var n=hZ(e),r=n.length;if((0,tz.Z)(t))return!r;for(var i=0;i=0;)e+=n[r].value;else e=1;t.value=e}function hX(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=hJ)):void 0===e&&(e=hK);for(var n,r,i,a,o,l=new h2(t),s=[l];n=s.pop();)if((i=e(n.data))&&(o=(i=Array.from(i)).length))for(n.children=i,a=o-1;a>=0;--a)s.push(r=i[a]=new h2(i[a])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(h1)}function hK(t){return t.children}function hJ(t){return Array.isArray(t)?t[1]:null}function h0(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function h1(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function h2(t){this.data=t,this.depth=this.height=0,this.parent=null}h2.prototype=hX.prototype={constructor:h2,count:function(){return this.eachAfter(hQ)},each:function(t,e){let n=-1;for(let r of this)t.call(e,r,++n,this);return this},eachAfter:function(t,e){for(var n,r,i,a=this,o=[a],l=[],s=-1;a=o.pop();)if(l.push(a),n=a.children)for(r=0,i=n.length;r=0;--r)a.push(n[r]);return this},find:function(t,e){let n=-1;for(let r of this)if(t.call(e,r,++n,this))return r},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return hX(this).eachBefore(h0)},[Symbol.iterator]:function*(){var t,e,n,r,i=this,a=[i];do for(t=a.reverse(),a=[];i=t.pop();)if(yield i,e=i.children)for(n=0,r=e.length;n{var i;let a;return a=(i=`${i=t(e,n,r)}`).length,pt(i,a-1)&&!pt(i,a-2)&&(i=i.slice(0,-1)),"/"===i[0]?i:`/${i}`}),n=e.map(h7),i=new Set(e).add("");for(let t of n)i.has(t)||(i.add(t),e.push(t),n.push(h7(t)),d.push(h4));h=(t,n)=>e[n],p=(t,e)=>n[e]}for(o=0,i=d.length;o=0&&(c=d[t]).data===h4;--t)c.data=null}if(l.parent=h5,l.eachBefore(function(t){t.depth=t.parent.depth+1,--i}).eachBefore(h1),l.parent=null,i>0)throw Error("cycle");return l}return r.id=function(t){return arguments.length?(e=hY(t),r):e},r.parentId=function(t){return arguments.length?(n=hY(t),r):n},r.path=function(e){return arguments.length?(t=hY(e),r):t},r}function h7(t){let e=t.length;if(e<2)return"";for(;--e>1&&!pt(t,e););return t.slice(0,e)}function pt(t,e){if("/"===t[e]){let n=0;for(;e>0&&"\\"===t[--e];)++n;if((1&n)==0)return!0}return!1}function pe(t,e,n,r,i){var a,o,l=t.children,s=l.length,c=Array(s+1);for(c[0]=o=a=0;a=n-1){var u=l[e];u.x0=i,u.y0=a,u.x1=o,u.y1=s;return}for(var f=c[e],d=r/2+f,h=e+1,p=n-1;h>>1;c[g]s-a){var v=r?(i*y+o*m)/r:o;t(e,h,m,i,a,v,s),t(h,n,y,v,a,o,s)}else{var b=r?(a*y+s*m)/r:s;t(e,h,m,i,a,o,b),t(h,n,y,i,b,o,s)}}(0,s,t.value,e,n,r,i)}function pn(t,e,n,r,i){for(var a,o=t.children,l=-1,s=o.length,c=t.value&&(r-e)/t.value;++ld&&(d=l),(h=Math.max(d/(m=u*u*g),m/f))>p){u-=l;break}p=h}y.push(o={value:u,dice:s1?e:1)},n}(pa),ps=function t(e){function n(t,n,r,i,a){if((o=t._squarify)&&o.ratio===e)for(var o,l,s,c,u,f=-1,d=o.length,h=t.value;++f1?e:1)},n}(pa);function pc(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function pu(){return 0}function pf(t){return function(){return t}}function pd(t,e,n){var r;let{value:i}=n,a=function(t,e){let n={treemapBinary:pe,treemapDice:pn,treemapSlice:pr,treemapSliceDice:pi,treemapSquarify:pl,treemapResquarify:ps},r="treemapSquarify"===t?n[t].ratio(e):n[t];if(!r)throw TypeError("Invalid tile method!");return r}(e.tile,e.ratio),o=(r=e.path,Array.isArray(t)?"function"==typeof r?h9().path(r)(t):h9()(t):hX(t));(0,A.Z)(t)?function t(e){let n=sJ(e,["data","name"]);n.replaceAll&&(e.path=n.replaceAll(".","/").split("/")),e.children&&e.children.forEach(e=>{t(e)})}(o):function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[e.data.name];e.id=e.id||e.data.name,e.path=n,e.children&&e.children.forEach(r=>{r.id="".concat(e.id,"/").concat(r.data.name),r.path=[...n,r.data.name],t(r,r.path)})}(o),i?o.sum(t=>e.ignoreParentValue&&t.children?0:ra(i)(t)).sort(e.sort):o.count(),(function(){var t=pl,e=!1,n=1,r=1,i=[0],a=pu,o=pu,l=pu,s=pu,c=pu;function u(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(f),i=[0],e&&t.eachBefore(pc),t}function f(e){var n=i[e.depth],r=e.x0+n,u=e.y0+n,f=e.x1-n,d=e.y1-n;fObject.assign(t,{id:t.id.replace(/^\//,""),x:[t.x0,t.x1],y:[t.y0,t.y1]})),s=l.filter("function"==typeof e.layer?e.layer:t=>t.height===e.layer);return[s,l]}var ph=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let pp={breadCrumbFill:"rgba(0, 0, 0, 0.85)",breadCrumbFontSize:12,breadCrumbY:12,activeFill:"rgba(0, 0, 0, 0.5)"};var pg=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})},pm=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let py={pointR:6,pointStrokeWidth:1,pointStroke:"#888",pointActiveStroke:"#f5f5f5",pathStroke:"#888",pathLineDash:[3,4],labelFontSize:12,labelFill:"#888",labelStroke:"#fff",labelLineWidth:1,labelY:-6,labelX:2},pv="movePoint",pb=t=>{let e=t.target,{markType:n}=e;"line"===n&&(e.attr("_lineWidth",e.attr("lineWidth")||1),e.attr("lineWidth",e.attr("_lineWidth")+3)),"interval"===n&&(e.attr("_opacity",e.attr("opacity")||1),e.attr("opacity",.7*e.attr("_opacity")))},px=t=>{let e=t.target,{markType:n}=e;"line"===n&&e.attr("lineWidth",e.attr("_lineWidth")),"interval"===n&&e.attr("opacity",e.attr("_opacity"))},pO=(t,e,n)=>e.map(e=>{let r=["x","color"].reduce((r,i)=>{let a=n[i];return a?e[a]===t[a]&&r:r},!0);return r?Object.assign(Object.assign({},e),t):e}),pw=t=>{let e=sJ(t,["__data__","y"]),n=sJ(t,["__data__","y1"]),r=n-e,{__data__:{data:i,encode:a,transform:o},childNodes:l}=t.parentNode,s=hG(o,t=>{let{type:e}=t;return"normalizeY"===e}),c=sJ(a,["y","field"]),u=i[l.indexOf(t)][c];return function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return s||e?t/(1-t)/(r/(1-r))*u:t}},p_=(t,e)=>{let n=sJ(t,["__data__","seriesItems",e,"0","value"]),r=sJ(t,["__data__","seriesIndex",e]),{__data__:{data:i,encode:a,transform:o}}=t.parentNode,l=hG(o,t=>{let{type:e}=t;return"normalizeY"===e}),s=sJ(a,["y","field"]),c=i[r][s];return t=>l?1===n?t:t/(1-t)/(n/(1-n))*c:t},pM=(t,e,n)=>{t.forEach((t,r)=>{t.attr("stroke",e[1]===r?n.activeStroke:n.stroke)})},pk=(t,e,n,r)=>{let i=new t_.y$({style:n}),a=new t_.xv({style:r});return e.appendChild(a),t.appendChild(i),[i,a]},pC=(t,e)=>{let n=sJ(t,["options","range","indexOf"]);if(!n)return;let r=t.options.range.indexOf(e);return t.sortedDomain[r]},pj=(t,e,n)=>{let r=dj(t,e),i=dj(t,n),a=i/r,o=t[0]+(e[0]-t[0])*a,l=t[1]+(e[1]-t[1])*a;return[o,l]};var pA=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function pS(t){return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;ie.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let pT=()=>t=>{let{children:e}=t;if(!Array.isArray(e))return[];let{x:n=0,y:r=0,width:i,height:a,data:o}=t;return e.map(t=>{var{data:e,x:l,y:s,width:c,height:u}=t;return Object.assign(Object.assign({},pR(t,["data","x","y","width","height"])),{data:pP(e,o),x:null!=l?l:n,y:null!=s?s:r,width:null!=c?c:i,height:null!=u?u:a})})};pT.props={};var pL=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let pI=()=>t=>{let{children:e}=t;if(!Array.isArray(e))return[];let{direction:n="row",ratio:r=e.map(()=>1),padding:i=0,data:a}=t,[o,l,s,c]="col"===n?["y","height","width","x"]:["x","width","height","y"],u=r.reduce((t,e)=>t+e),f=t[l]-i*(e.length-1),d=r.map(t=>f*(t/u)),h=[],p=t[o]||0;for(let n=0;n1?e-1:0),r=1;re.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let pD=pS(t=>{let{encode:e,data:n,scale:r,shareSize:i=!1}=t,{x:a,y:o}=e,l=(t,e)=>{var a;if(void 0===t||!i)return{};let o=eA(n,e=>e[t]),l=(null===(a=null==r?void 0:r[e])||void 0===a?void 0:a.domain)||Array.from(o.keys()),s=l.map(t=>o.has(t)?o.get(t).length:1);return{domain:l,flex:s}};return{scale:{x:Object.assign(Object.assign({paddingOuter:0,paddingInner:.1,guide:void 0===a?null:{position:"top"}},void 0===a&&{paddingInner:0}),l(a,"x")),y:Object.assign(Object.assign({range:[0,1],paddingOuter:0,paddingInner:.1,guide:void 0===o?null:{position:"right"}},void 0===o&&{paddingInner:0}),l(o,"y"))}}}),pF=pE(t=>{let e,n,r;let{data:i,scale:a,legend:o}=t,l=[t];for(;l.length;){let t=l.shift(),{children:i,encode:a={},scale:o={},legend:s={}}=t,{color:c}=a,{color:u}=o,{color:f}=s;void 0!==c&&(e=c),void 0!==u&&(n=u),void 0!==f&&(r=f),Array.isArray(i)&&l.push(...i)}let s="string"==typeof e?e:"",[c,u]=(()=>{var t;let n=null===(t=null==a?void 0:a.color)||void 0===t?void 0:t.domain;if(void 0!==n)return[n];if(void 0===e)return[void 0];let r="function"==typeof e?e:t=>t[e],o=i.map(r);return o.some(t=>"number"==typeof t)?[nw(o)]:[Array.from(new Set(o)),"ordinal"]})();return Object.assign({encode:{color:{type:"column",value:null!=c?c:[]}},scale:{color:R({},n,{domain:c,type:u})}},void 0===o&&{legend:{color:R({title:s},r)}})}),pz=pS(()=>({animate:{enterType:"fadeIn"}})),p$=pE(()=>({frame:!1,encode:{shape:"hollow"},style:{lineWidth:0}})),pW=pE(()=>({type:"cell"})),pZ=pE(t=>{let{data:e}=t;return{data:{type:"inline",value:e,transform:[{type:"custom",callback:()=>{let{data:e,encode:n}=t,{x:r,y:i}=n,a=r?Array.from(new Set(e.map(t=>t[r]))):[],o=i?Array.from(new Set(e.map(t=>t[i]))):[];return(()=>{if(a.length&&o.length){let t=[];for(let e of a)for(let n of o)t.push({[r]:e,[i]:n});return t}return a.length?a.map(t=>({[r]:t})):o.length?o.map(t=>({[i]:t})):void 0})()}}]}}}),pH=pE(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pG,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:pV,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:pY,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},{data:a,encode:o,children:l,scale:s,x:c=0,y:u=0,shareData:f=!1,key:d}=t,{value:h}=a,{x:p,y:g}=o,{color:m}=s,{domain:y}=m;return{children:(t,a,o)=>{let{x:s,y:m}=a,{paddingLeft:v,paddingTop:b,marginLeft:x,marginTop:O}=o,{domain:w}=s.getOptions(),{domain:_}=m.getOptions(),M=nM(t),k=t.map(e),C=t.map(t=>{let{x:e,y:n}=t;return[s.invert(e),m.invert(n)]}),j=C.map(t=>{let[e,n]=t;return t=>{let{[p]:r,[g]:i}=t;return(void 0===p||r===e)&&(void 0===g||i===n)}}),A=j.map(t=>h.filter(t)),S=f?oD(A,t=>t.length):void 0,E=C.map(t=>{let[e,n]=t;return{columnField:p,columnIndex:w.indexOf(e),columnValue:e,columnValuesLength:w.length,rowField:g,rowIndex:_.indexOf(n),rowValue:n,rowValuesLength:_.length}}),P=E.map(t=>Array.isArray(l)?l:[l(t)].flat(1));return M.flatMap(t=>{let[e,a,o,l]=k[t],s=E[t],f=A[t],m=P[t];return m.map(m=>{var w,_,{scale:M,key:k,facet:C=!0,axis:j={},legend:A={}}=m,E=pB(m,["scale","key","facet","axis","legend"]);let P=(null===(w=null==M?void 0:M.y)||void 0===w?void 0:w.guide)||j.y,T=(null===(_=null==M?void 0:M.x)||void 0===_?void 0:_.guide)||j.x,L=C?f:0===f.length?[]:h,I={x:pU(T,n)(s,L),y:pU(P,r)(s,L)};return Object.assign(Object.assign({key:"".concat(k,"-").concat(t),data:L,margin:0,x:e+v+c+x,y:a+b+u+O,parentKey:d,width:o,height:l,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!!L.length,dataDomain:S,scale:R({x:{tickCount:p?5:void 0},y:{tickCount:g?5:void 0}},M,{color:{domain:y}}),axis:R({},j,I),legend:!1},E),i)})})}}});function pG(t){let{points:e}=t;return e1(e)}function pq(t,e){return e.length?R({title:!1,tick:null,label:null},t):R({title:!1,tick:null,label:null,grid:null},t)}function pV(t){return(e,n)=>{let{rowIndex:r,rowValuesLength:i,columnIndex:a,columnValuesLength:o}=e;if(r!==i-1)return pq(t,n);let l=n.length?void 0:null;return R({title:a===o-1&&void 0,grid:l},t)}}function pY(t){return(e,n)=>{let{rowIndex:r,columnIndex:i}=e;if(0!==i)return pq(t,n);let a=n.length?void 0:null;return R({title:0===r&&void 0,grid:a},t)}}function pU(t,e){return"function"==typeof t?t:null===t||!1===t?()=>null:e(t)}let pQ=()=>t=>{let e=pN.of(t).call(pW).call(pF).call(pz).call(pD).call(p$).call(pZ).call(pH).value();return[e]};pQ.props={};var pX=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let pK=pS(t=>({scale:{x:{guide:null,paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),pJ=pE(t=>{let{data:e,children:n,x:r=0,y:i=0,key:a}=t;return{children:(t,o,l)=>{let{x:s,y:c}=o,{paddingLeft:u,paddingTop:f,marginLeft:d,marginTop:h}=l,{domain:p}=s.getOptions(),{domain:g}=c.getOptions(),m=nM(t),y=t.map(t=>{let{points:e}=t;return e1(e)}),v=t.map(t=>{let{x:e,y:n}=t;return[s.invert(e),c.invert(n)]}),b=v.map(t=>{let[e,n]=t;return{columnField:e,columnIndex:p.indexOf(e),columnValue:e,columnValuesLength:p.length,rowField:n,rowIndex:g.indexOf(n),rowValue:n,rowValuesLength:g.length}}),x=b.map(t=>Array.isArray(n)?n:[n(t)].flat(1));return m.flatMap(t=>{let[n,o,l,s]=y[t],[c,p]=v[t],g=b[t],m=x[t];return m.map(m=>{var y,v;let{scale:b,key:x,encode:O,axis:w,interaction:_}=m,M=pX(m,["scale","key","encode","axis","interaction"]),k=null===(y=null==b?void 0:b.y)||void 0===y?void 0:y.guide,C=null===(v=null==b?void 0:b.x)||void 0===v?void 0:v.guide,j={x:("function"==typeof C?C:null===C?()=>null:(t,e)=>{let{rowIndex:n,rowValuesLength:r}=t;if(n!==r-1)return pq(C,e)})(g,e),y:("function"==typeof k?k:null===k?()=>null:(t,e)=>{let{columnIndex:n}=t;if(0!==n)return pq(k,e)})(g,e)};return Object.assign({data:e,parentKey:a,key:"".concat(x,"-").concat(t),x:n+u+r+d,y:o+f+i+h,width:l,height:s,margin:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!0,scale:R({x:{facet:!1},y:{facet:!1}},b),axis:R({x:{tickCount:5},y:{tickCount:5}},w,j),legend:!1,encode:R({},O,{x:c,y:p}),interaction:R({},_,{legendFilter:!1})},M)})})}}}),p0=pE(t=>{let{encode:e}=t,n=pX(t,["encode"]),{position:r=[],x:i=r,y:a=[...r].reverse()}=e,o=pX(e,["position","x","y"]),l=[];for(let t of[i].flat(1))for(let e of[a].flat(1))l.push({$x:t,$y:e});return Object.assign(Object.assign({},n),{data:l,encode:Object.assign(Object.assign({},o),{x:"$x",y:"$y"}),scale:Object.assign(Object.assign({},1===[i].flat(1).length&&{x:{paddingInner:0}}),1===[a].flat(1).length&&{y:{paddingInner:0}})})});var p1=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let p2=pS(t=>({scale:{x:{guide:{type:"axisArc"},paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),p5=pS(t=>({coordinate:{type:"polar"}})),p3=t=>{let{encode:e}=t,n=p1(t,["encode"]),{position:r}=e;return Object.assign(Object.assign({},n),{encode:{x:r}})};function p4(t){return t=>null}function p6(t){let{points:e}=t,[n,r,i,a]=e,o=eX(n,a),l=eU(n,a),s=eU(r,i),c=e0(l,s),u=1/Math.sin(c/2),f=o/(1+u),d=f*Math.sqrt(2),[h,p]=i,g=eJ(l),m=g+c/2,y=f*u,v=h+y*Math.sin(m),b=p-y*Math.cos(m);return[v-d/2,b-d/2,d,d]}let p8=()=>t=>{let{children:e=[],duration:n=1e3,iterationCount:r=1,direction:i="normal",easing:a="ease-in-out-sine"}=t,o=e.length;if(!Array.isArray(e)||0===o)return[];let{key:l}=e[0],s=e.map(t=>Object.assign(Object.assign({},t),{key:l})).map(t=>(function(t,e,n){let r=[t];for(;r.length;){let t=r.pop();t.animate=R({enter:{duration:e},update:{duration:e,easing:n,type:"morphing",fill:"both"},exit:{type:"fadeOut",duration:e}},t.animate||{});let{children:i}=t;Array.isArray(i)&&r.push(...i)}return t})(t,n,a));return function*(){let t,e=0;for(;"infinite"===r||e=e)&&(n=e,r=i);else for(let a of t)null!=(a=e(a,++i,t))&&(n=a)&&(n=a,r=i);return r}function p7(t,e,n){let{encode:r}=n;if(null===t)return[e];let i=(Array.isArray(t)?t:[t]).map(t=>{var e;return[t,null===(e=B(r,t))||void 0===e?void 0:e[0]]}).filter(t=>{let[,e]=t;return ez(e)});return Array.from(eA(e,t=>i.map(e=>{let[,n]=e;return n[t]}).join("-")).values())}function gt(t){return Array.isArray(t)?(e,n,r)=>(n,r)=>t.reduce((t,i)=>0!==t?t:fd(e[n][i],e[r][i]),0):"function"==typeof t?(e,n,r)=>gl(n=>t(e[n])):"series"===t?gr:"value"===t?gi:"sum"===t?ga:"maxIndex"===t?go:null}function ge(t,e){for(let n of t)n.sort(e)}function gn(t,e){return(null==e?void 0:e.domain)||Array.from(new Set(t))}function gr(t,e,n){return gl(t=>n[t])}function gi(t,e,n){return gl(t=>e[t])}function ga(t,e,n){let r=nM(t),i=Array.from(eA(r,t=>n[+t]).entries()),a=new Map(i.map(t=>{let[n,r]=t;return[n,r.reduce((t,n)=>t+ +e[n])]}));return gl(t=>a.get(n[t]))}function go(t,e,n){let r=nM(t),i=Array.from(eA(r,t=>n[+t]).entries()),a=new Map(i.map(t=>{let[n,r]=t;return[n,p9(r,t=>e[t])]}));return gl(t=>a.get(n[t]))}function gl(t){return(e,n)=>fd(t(e),t(n))}p8.props={};let gs=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",orderBy:n=null,reverse:r=!1,y:i="y",y1:a="y1",series:o=!0}=t;return(t,l)=>{var s;let{data:c,encode:u,style:f={}}=l,[d,h]=B(u,"y"),[p,g]=B(u,"y1"),[m]=o?D(u,"series","color"):B(u,"color"),y=p7(e,t,l),v=null!==(s=gt(n))&&void 0!==s?s:()=>null,b=v(c,d,m);b&&ge(y,b);let x=Array(t.length),O=Array(t.length),w=Array(t.length),_=[],M=[];for(let t of y){r&&t.reverse();let e=p?+p[t[0]]:0,n=[],i=[];for(let r of t){let t=w[r]=+d[r]-e;t<0?i.push(r):t>=0&&n.push(r)}let a=n.length>0?n:i,o=i.length>0?i:n,l=n.length-1,s=0;for(;l>0&&0===d[a[l]];)l--;for(;s0?u=x[t]=(O[t]=u)+e:x[t]=O[t]=u}}let k=new Set(_),C=new Set(M),j="y"===i?x:O,A="y"===a?x:O;return[t,R({},l,{encode:{y0:L(d,h),y:T(j,h),y1:T(A,g)},style:Object.assign({first:(t,e)=>k.has(e),last:(t,e)=>C.has(e)},f)})]}};function gc(t,e){let n=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&++n;else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(i=+i)>=i&&++n}return n}function gu(t,e){let n=function(t,e){let n,r=0,i=0,a=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(n=e-i,i+=n/++r,a+=n*(e-i));else{let o=-1;for(let l of t)null!=(l=e(l,++o,t))&&(l=+l)>=l&&(n=l-i,i+=n/++r,a+=n*(l-i))}if(r>1)return a/(r-1)}(t,e);return n?Math.sqrt(n):n}gs.props={};var gf=Array.prototype,gd=gf.slice;gf.map;let gh=Math.sqrt(50),gp=Math.sqrt(10),gg=Math.sqrt(2);function gm(t,e,n){let r,i,a;let o=(e-t)/Math.max(0,n),l=Math.floor(Math.log10(o)),s=o/Math.pow(10,l),c=s>=gh?10:s>=gp?5:s>=gg?2:1;return(l<0?(r=Math.round(t*(a=Math.pow(10,-l)/c)),i=Math.round(e*a),r/ae&&--i,a=-a):(r=Math.round(t/(a=Math.pow(10,l)*c)),i=Math.round(e/a),r*ae&&--i),in;){if(r-n>600){let a=r-n+1,o=e-n+1,l=Math.log(a),s=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*s*(a-s)/a)*(o-a/2<0?-1:1),u=Math.max(n,Math.floor(e-o*s/a+c)),f=Math.min(r,Math.floor(e+(a-o)*s/a+c));gb(t,e,u,f,i)}let a=t[e],o=n,l=r;for(gx(t,n,e),i(t[r],a)>0&&gx(t,n,r);oi(t[o],a);)++o;for(;i(t[l],a)>0;)--l}0===i(t[n],a)?gx(t,n,l):gx(t,++l,r),l<=e&&(n=l+1),e<=l&&(r=l-1)}return t}function gx(t,e,n){let r=t[e];t[e]=t[n],t[n]=r}function gO(t,e,n){if(!(!(r=(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let n=-1;for(let r of t)null!=(r=e(r,++n,t))&&(r=+r)>=r&&(yield r)}}(t,n))).length)||isNaN(e=+e))){if(e<=0||r<2)return oB(t);if(e>=1)return oD(t);var r,i=(r-1)*e,a=Math.floor(i),o=oD(gb(t,a).subarray(0,a+1));return o+(oB(t.subarray(a+1))-o)*(i-a)}}function gw(t,e){let n=0;if(void 0===e)for(let e of t)(e=+e)&&(n+=e);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&(n+=i)}return n}var g_=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function gM(t){return e=>null===e?t:"".concat(t," of ").concat(e)}function gk(){let t=gM("mean");return[(t,e)=>dZ(t,t=>+e[t]),t]}function gC(){let t=gM("median");return[(t,e)=>gO(t,.5,t=>+e[t]),t]}function gj(){let t=gM("max");return[(t,e)=>oD(t,t=>+e[t]),t]}function gA(){let t=gM("min");return[(t,e)=>oB(t,t=>+e[t]),t]}function gS(){let t=gM("count");return[(t,e)=>t.length,t]}function gE(){let t=gM("sum");return[(t,e)=>gw(t,t=>+e[t]),t]}function gP(){let t=gM("first");return[(t,e)=>e[t[0]],t]}function gR(){let t=gM("last");return[(t,e)=>e[t[t.length-1]],t]}let gT=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e}=t,n=g_(t,["groupBy"]);return(t,r)=>{let{data:i,encode:a}=r,o=e(t,r);if(!o)return[t,r];let l=(t,e)=>{if(t)return t;let{from:n}=e;if(!n)return t;let[,r]=B(a,n);return r},s=Object.entries(n).map(t=>{let[e,n]=t,[r,s]=function(t){if("function"==typeof t)return[t,null];let e={mean:gk,max:gj,count:gS,first:gP,last:gR,sum:gE,min:gA,median:gC}[t];if(!e)throw Error("Unknown reducer: ".concat(t,"."));return e()}(n),[c,u]=B(a,e),f=l(u,n),d=o.map(t=>r(t,null!=c?c:i));return[e,Object.assign(Object.assign({},function(t,e){let n=T(t,e);return Object.assign(Object.assign({},n),{constant:!1})}(d,(null==s?void 0:s(f))||f)),{aggregate:!0})]}),c=Object.keys(a).map(t=>{let[e,n]=B(a,t),r=o.map(t=>e[t[0]]);return[t,T(r,n)]}),u=o.map(t=>i[t[0]]),f=nM(o);return[f,R({},r,{data:u,encode:Object.fromEntries([...c,...s])})]}};gT.props={};var gL=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let gI="thresholds",gN=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupChannels:e=["color"],binChannels:n=["x","y"]}=t,r=gL(t,["groupChannels","binChannels"]),i={};return gT(Object.assign(Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(t=>{let[e]=t;return!e.startsWith(gI)}))),Object.fromEntries(n.flatMap(t=>{let e=e=>{let[n]=e;return+i[t].get(n).split(",")[1]};return e.from=t,[[t,e=>{let[n]=e;return+i[t].get(n).split(",")[0]}],["".concat(t,"1"),e]]}))),{groupBy:(t,a)=>{let{encode:o}=a,l=n.map(t=>{let[e]=B(o,t);return e}),s=e$(r,gI),c=t.filter(t=>l.every(e=>ez(e[t]))),u=[...e.map(t=>{let[e]=B(o,t);return e}).filter(ez).map(t=>e=>t[e]),...n.map((t,e)=>{let n=l[e],r=s[t]||function(t){let[e,n]=nw(t);return Math.min(200,function(t,e,n){let r=gc(t),i=gu(t);return r&&i?Math.ceil((n-e)*Math.cbrt(r)/(3.49*i)):1}(t,e,n))}(n),a=(function(){var t=ej,e=nw,n=gv;function r(r){Array.isArray(r)||(r=Array.from(r));var i,a,o,l=r.length,s=Array(l);for(i=0;i0?(t=Math.floor(t/i)*i,e=Math.ceil(e/i)*i):i<0&&(t=Math.ceil(t*i)/i,e=Math.floor(e*i)/i),r=i}}(u,f,n)),(d=function(t,e,n){if(e=+e,t=+t,!((n=+n)>0))return[];if(t===e)return[t];let r=e=i))return[];let l=a-i+1,s=Array(l);if(r){if(o<0)for(let t=0;t=f){if(t>=f&&e===nw){let t=gy(u,f,n);isFinite(t)&&(t>0?f=(Math.floor(f/t)+1)*t:t<0&&(f=-((Math.ceil(-(f*t))+1)/t)))}else d.pop()}}for(var h=d.length,p=0,g=h;d[p]<=u;)++p;for(;d[g-1]>f;)--g;(p||g0?d[i-1]:u,m.x1=i0)for(i=0;ie,r):t},r.domain=function(t){var n;return arguments.length?(e="function"==typeof t?t:(n=[t[0],t[1]],()=>n),r):e},r.thresholds=function(t){var e;return arguments.length?(n="function"==typeof t?t:(e=Array.isArray(t)?gd.call(t):t,()=>e),r):n},r})().thresholds(r).value(t=>+n[t])(c),o=new Map(a.flatMap(t=>{let{x0:e,x1:n}=t,r="".concat(e,",").concat(n);return t.map(t=>[t,r])}));return i[t]=o,t=>o.get(t)})];return Array.from(eA(c,t=>u.map(e=>e(t)).join("-")).values())}}))};gN.props={};let gB=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{thresholds:e}=t;return gN(Object.assign(Object.assign({},t),{thresholdsX:e,groupChannels:["color"],binChannels:["x"]}))};gB.props={};var gD=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let gF=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",reverse:n=!1,orderBy:r,padding:i}=t;return gD(t,["groupBy","reverse","orderBy","padding"]),(t,a)=>{let{data:o,encode:l,scale:s}=a,{series:c}=s,[u]=B(l,"y"),[f]=D(l,"series","color"),d=gn(f,c),h=R({},a,{scale:{series:{domain:d,paddingInner:i}}}),p=p7(e,t,a),g=gt(r);if(!g)return[t,R(h,{encode:{series:T(f)}})];let m=g(o,u,f);m&&ge(p,m);let y=Array(t.length);for(let t of p){n&&t.reverse();for(let e=0;e0&&void 0!==arguments[0]?arguments[0]:{},{padding:e=0,paddingX:n=e,paddingY:r=e,random:i=Math.random}=t;return(t,e)=>{let{encode:a,scale:o}=e,{x:l,y:s}=o,[c]=B(a,"x"),[u]=B(a,"y"),f=gz(c,l,n),d=gz(u,s,r),h=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(i(),...d)),p=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(i(),...f));return[t,R({scale:{x:{padding:.5},y:{padding:.5}}},e,{encode:{dy:T(h),dx:T(p)}})]}};g$.props={};let gW=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{padding:e=0,random:n=Math.random}=t;return(t,r)=>{let{encode:i,scale:a}=r,{x:o}=a,[l]=B(i,"x"),s=gz(l,o,e),c=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(n(),...s));return[t,R({scale:{x:{padding:.5}}},r,{encode:{dx:T(c)}})]}};gW.props={};let gZ=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{padding:e=0,random:n=Math.random}=t;return(t,r)=>{let{encode:i,scale:a}=r,{y:o}=a,[l]=B(i,"y"),s=gz(l,o,e),c=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(n(),...s));return[t,R({scale:{y:{padding:.5}}},r,{encode:{dy:T(c)}})]}};gZ.props={};var gH=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let gG=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x"}=t;return(t,n)=>{let{encode:r}=n,{x:i}=r,a=gH(r,["x"]),o=Object.entries(a).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[e]=t;return[e,B(r,e)[0]]}),l=o.map(e=>{let[n]=e;return[n,Array(t.length)]}),s=p7(e,t,n),c=Array(s.length);for(let t=0;to.map(e=>{let[,n]=e;return+n[t]})),[r,i]=nw(n);c[t]=(r+i)/2}let u=Math.max(...c);for(let t=0;t{let[e,n]=t;return[e,T(n,B(r,e)[1])]}))})]}};gG.props={};let gq=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",series:n=!0}=t;return(t,r)=>{let{encode:i}=r,[a]=B(i,"y"),[o,l]=B(i,"y1"),[s]=n?D(i,"series","color"):B(i,"color"),c=p7(e,t,r),u=Array(t.length);for(let t of c){let e=t.map(t=>+a[t]);for(let n=0;ne!==n));u[r]=+a[r]>i?i:a[r]}}return[t,R({},r,{encode:{y1:T(u,l)}})]}};gq.props={};let gV=t=>{let{groupBy:e=["x"],reducer:n=(t,e)=>e[t[0]],orderBy:r=null,reverse:i=!1,duration:a}=t;return(t,o)=>{let{encode:l}=o,s=Array.isArray(e)?e:[e],c=s.map(t=>[t,B(l,t)[0]]);if(0===c.length)return[t,o];let u=[t];for(let[,t]of c){let e=[];for(let n of u){let r=Array.from(eA(n,e=>t[e]).values());e.push(...r)}u=e}if(r){let[t]=B(l,r);t&&u.sort((e,r)=>n(e,t)-n(r,t)),i&&u.reverse()}let f=(a||3e3)/u.length,[d]=a?[N(t,f)]:D(l,"enterDuration",N(t,f)),[h]=D(l,"enterDelay",N(t,0)),p=Array(t.length);for(let t=0,e=0;t+d[t]);for(let t of n)p[t]=+h[t]+e;e+=r}return[t,R({},o,{encode:{enterDuration:I(d),enterDelay:I(p)}})]}};gV.props={};var gY=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let gU=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",basis:n="max"}=t;return(t,r)=>{let{encode:i,tooltip:a}=r,{x:o}=i,l=gY(i,["x"]),s=Object.entries(l).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[e]=t;return[e,B(i,e)[0]]}),[,c]=s.find(t=>{let[e]=t;return"y"===e}),u=s.map(e=>{let[n]=e;return[n,Array(t.length)]}),f=p7(e,t,r),d="function"==typeof n?n:({min:(t,e)=>oB(t,t=>e[+t]),max:(t,e)=>oD(t,t=>e[+t]),first:(t,e)=>e[t[0]],last:(t,e)=>e[t[t.length-1]],mean:(t,e)=>dZ(t,t=>e[+t]),median:(t,e)=>gO(t,.5,t=>e[+t]),sum:(t,e)=>gw(t,t=>e[+t]),deviation:(t,e)=>gu(t,t=>e[+t])})[n]||oD;for(let t of f){let e=d(t,c);for(let n of t)for(let t=0;t{let[e,n]=t;return[e,T(n,B(i,e)[1])]}))},!h&&i.y0&&{tooltip:{items:[{channel:"y0"}]}}))]}};function gQ(t,e){return[t[0]]}function gX(t,e){let n=t.length-1;return[t[n]]}function gK(t,e){let n=p9(t,t=>e[t]);return[t[n]]}function gJ(t,e){let n=dW(t,t=>e[t]);return[t[n]]}gU.props={};let g0=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="series",channel:n,selector:r}=t;return(t,i)=>{let{encode:a}=i,o=p7(e,t,i),[l]=B(a,n),s="function"==typeof r?r:({first:gQ,last:gX,max:gK,min:gJ})[r]||gQ;return[o.flatMap(t=>s(t,l)),i]}};g0.props={};var g1=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let g2=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{selector:e}=t,n=g1(t,["selector"]);return g0(Object.assign({channel:"x",selector:e},n))};g2.props={};var g5=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let g3=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{selector:e}=t,n=g5(t,["selector"]);return g0(Object.assign({channel:"y",selector:e},n))};g3.props={};var g4=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let g6=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{channels:e=["x","y"]}=t,n=g4(t,["channels"]);return gT(Object.assign(Object.assign({},n),{groupBy:(t,n)=>p7(e,t,n)}))};g6.props={};let g8=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return g6(Object.assign(Object.assign({},t),{channels:["x","color","series"]}))};g8.props={};let g9=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return g6(Object.assign(Object.assign({},t),{channels:["y","color","series"]}))};g9.props={};let g7=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return g6(Object.assign(Object.assign({},t),{channels:["color"]}))};g7.props={};var mt=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let me=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{reverse:e=!1,slice:n,channel:r,ordinal:i=!0}=t,a=mt(t,["reverse","slice","channel","ordinal"]);return(t,o)=>i?function(t,e,n){var r,i;let{reverse:a,slice:o,channel:l}=n,s=mt(n,["reverse","slice","channel"]),{encode:c,scale:u={}}=e,f=null===(r=u[l])||void 0===r?void 0:r.domain,[d]=B(c,l),h=function(t,e,n){let{by:r=t,reducer:i="max"}=e,[a]=B(n,r);if("function"==typeof i)return t=>i(t,a);if("max"===i)return t=>oD(t,t=>+a[t]);if("min"===i)return t=>oB(t,t=>+a[t]);if("sum"===i)return t=>gw(t,t=>+a[t]);if("median"===i)return t=>gO(t,.5,t=>+a[t]);if("mean"===i)return t=>dZ(t,t=>+a[t]);if("first"===i)return t=>a[t[0]];if("last"===i)return t=>a[t[t.length-1]];throw Error("Unknown reducer: ".concat(i))}(l,s,c),p=function(t,e,n){if(!Array.isArray(n))return t;let r=new Set(n);return t.filter(t=>r.has(e[t]))}(t,d,f),g=(i=t=>d[t],(2!==h.length?fO(eE(p,h,i),([t,e],[n,r])=>fd(e,r)||fd(t,n)):fO(eA(p,i),([t,e],[n,r])=>h(e,r)||fd(t,n))).map(([t])=>t));a&&g.reverse();let m=o?g.slice(..."number"==typeof o?[0,o]:o):g;return[t,R(e,{scale:{[l]:{domain:m}}})]}(t,o,Object.assign({reverse:e,slice:n,channel:r},a)):function(t,e,n){let{reverse:r,channel:i}=n,{encode:a}=e,[o]=B(a,i),l=fO(t,t=>o[t]);return r&&l.reverse(),[l,e]}(t,o,Object.assign({reverse:e,slice:n,channel:r},a))};me.props={};let mn=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return me(Object.assign(Object.assign({},t),{channel:"x"}))};mn.props={};let mr=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return me(Object.assign(Object.assign({},t),{channel:"y"}))};mr.props={};let mi=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return me(Object.assign(Object.assign({},t),{channel:"color"}))};mi.props={};let ma=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{field:e,channel:n="y",reducer:r="sum"}=t;return(t,i)=>{let{data:a,encode:o}=i,[l]=B(o,"x"),s=e?"string"==typeof e?a.map(t=>t[e]):a.map(e):B(o,n)[0],c=function(t,e){if("function"==typeof t)return n=>t(n,e);if("sum"===t)return t=>gw(t,t=>+e[t]);throw Error("Unknown reducer: ".concat(t))}(r,s),u=eP(t,c,t=>l[t]).map(t=>t[1]);return[t,R({},i,{scale:{x:{flex:u}}})]}};ma.props={};let mo=t=>(e,n)=>[e,R({},n,{modifier:function(t){let{padding:e=0,direction:n="col"}=t;return(t,r,i)=>{let a=t.length;if(0===a)return[];let{innerWidth:o,innerHeight:l}=i,s=Math.ceil(Math.sqrt(r/(l/o))),c=o/s,u=Math.ceil(r/s),f=u*c;for(;f>l;)s+=1,c=o/s,f=(u=Math.ceil(r/s))*c;let d=l-u*c,h=u<=1?0:d/(u-1),[p,g]=u<=1?[(o-a*c)/(a-1),(l-c)/2]:[0,0];return t.map((t,r)=>{let[i,a,o,l]=e1(t),f="col"===n?r%s:Math.floor(r/u),m="col"===n?Math.floor(r/s):r%u,y=f*c,v=(u-m-1)*c+d,b=(c-e)/o,x=(c-e)/l;return"translate(".concat(y-i+p*f+.5*e,", ").concat(v-a-h*m-g+.5*e,") scale(").concat(b,", ").concat(x,")")})}}(t),axis:!1})];function ml(t,e,n,r){let i,a,o;let l=t.length;if(r>=l||0===r)return t;let s=n=>1*e[t[n]],c=e=>1*n[t[e]],u=[],f=(l-2)/(r-2),d=0;u.push(d);for(let t=0;ti&&(i=a,o=g);u.push(o),d=o}return u.push(l-1),u.map(e=>t[e])}mo.props={};let ms=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{strategy:e="median",thresholds:n=2e3,groupBy:r=["series","color"]}=t,i=function(t){if("function"==typeof t)return t;if("lttb"===t)return ml;let e={first:t=>[t[0]],last:t=>[t[t.length-1]],min:(t,e,n)=>[t[dW(t,t=>n[t])]],max:(t,e,n)=>[t[p9(t,t=>n[t])]],median:(t,e,n)=>[t[function(t,e,n=fm){if(!isNaN(e=+e)){if(r=Float64Array.from(t,(e,r)=>fm(n(t[r],r,t))),e<=0)return dW(r);if(e>=1)return p9(r);var r,i=Uint32Array.from(t,(t,e)=>e),a=r.length-1,o=Math.floor(a*e);return gb(i,o,0,a,(t,e)=>f_(r[t],r[e])),(o=function(t,e=fd){let n;let r=!1;if(1===e.length){let i;for(let a of t){let t=e(a);(r?fd(t,i)>0:0===fd(t,t))&&(n=a,i=t,r=!0)}}else for(let i of t)(r?e(i,n)>0:0===e(i,i))&&(n=i,r=!0);return n}(i.subarray(0,o+1),t=>r[t]))>=0?o:-1}}(t,.5,t=>n[t])]]},n=e[t]||e.median;return(t,e,r,i)=>{let a=Math.max(1,Math.floor(t.length/i)),o=function(t,e){let n=t.length,r=[],i=0;for(;in(t,e,r))}}(e);return(t,e)=>{let{encode:a}=e,o=p7(r,t,e),[l]=B(a,"x"),[s]=B(a,"y");return[o.flatMap(t=>i(t,l,s,n)),e]}};ms.props={};let mc=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e,n)=>{let{encode:r,data:i}=n,a=Object.entries(t).map(t=>{let[e,n]=t,[i]=B(r,e);if(!i)return null;let[a,o=!0]="object"==typeof n?[n.value,n.ordinal]:[n,!0];if("function"==typeof a)return t=>a(i[t]);if(o){let t=Array.isArray(a)?a:[a];return 0===t.length?null:e=>t.includes(i[e])}{let[t,e]=a;return n=>i[n]>=t&&i[n]<=e}}).filter(ez),o=e.filter(t=>a.every(e=>e(t))),l=o.map((t,e)=>e);if(0===a.length){let t=function(t){var e;let n;let{encode:r}=t,i=Object.assign(Object.assign({},t),{encode:Object.assign(Object.assign({},t.encode),{y:Object.assign(Object.assign({},t.encode.y),{value:[]})})}),a=null===(e=null==r?void 0:r.color)||void 0===e?void 0:e.field;if(!r||!a)return i;for(let[t,e]of Object.entries(r))("x"===t||"y"===t)&&e.field===a&&(n=Object.assign(Object.assign({},n),{[t]:Object.assign(Object.assign({},e),{value:[]})}));return n?Object.assign(Object.assign({},t),{encode:Object.assign(Object.assign({},t.encode),n)}):i}(n);return[e,t]}let s=Object.entries(r).map(t=>{let[e,n]=t;return[e,Object.assign(Object.assign({},n),{value:l.map(t=>n.value[o[t]]).filter(t=>void 0!==t)})]});return[l,R({},n,{encode:Object.fromEntries(s),data:o.map(t=>i[t])})]}};mc.props={};var mu={},mf={};function md(t){return Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+'] || ""'}).join(",")+"}")}function mh(t){var e=Object.create(null),n=[];return t.forEach(function(t){for(var r in t)r in e||n.push(e[r]=r)}),n}function mp(t,e){var n=t+"",r=n.length;return r{let{value:e,format:n=e.split(".").pop(),delimiter:r=",",autoType:i=!0}=t;return()=>{var t,a,o,l;return t=void 0,a=void 0,o=void 0,l=function*(){let t=yield fetch(e);if("csv"===n){let e=yield t.text();return(function(t){var e=RegExp('["'+t+"\n\r]"),n=t.charCodeAt(0);function r(t,e){var r,i=[],a=t.length,o=0,l=0,s=a<=0,c=!1;function u(){if(s)return mf;if(c)return c=!1,mu;var e,r,i=o;if(34===t.charCodeAt(i)){for(;o++=a?s=!0:10===(r=t.charCodeAt(o++))?c=!0:13===r&&(c=!0,10===t.charCodeAt(o)&&++o),t.slice(i+1,e-1).replace(/""/g,'"')}for(;o9999?"+"+mp(l,6):mp(l,4))+"-"+mp(n.getUTCMonth()+1,2)+"-"+mp(n.getUTCDate(),2)+(o?"T"+mp(r,2)+":"+mp(i,2)+":"+mp(a,2)+"."+mp(o,3)+"Z":a?"T"+mp(r,2)+":"+mp(i,2)+":"+mp(a,2)+"Z":i||r?"T"+mp(r,2)+":"+mp(i,2)+"Z":"")):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,i,a=r(t,function(t,r){var a;if(n)return n(t,r-1);i=t,n=e?(a=md(t),function(n,r){return e(a(n),r,t)}):md(t)});return a.columns=i||[],a},parseRows:r,format:function(e,n){return null==n&&(n=mh(e)),[n.map(o).join(t)].concat(i(e,n)).join("\n")},formatBody:function(t,e){return null==e&&(e=mh(t)),i(t,e).join("\n")},formatRows:function(t){return t.map(a).join("\n")},formatRow:a,formatValue:o}})(r).parse(e,i?mg:eI)}if("json"===n)return yield t.json();throw Error("Unknown format: ".concat(n,"."))},new(o||(o=Promise))(function(e,n){function r(t){try{s(l.next(t))}catch(t){n(t)}}function i(t){try{s(l.throw(t))}catch(t){n(t)}}function s(t){var n;t.done?e(t.value):((n=t.value)instanceof o?n:new o(function(t){t(n)})).then(r,i)}s((l=l.apply(t,a||[])).next())})}};my.props={};let mv=t=>{let{value:e}=t;return()=>e};mv.props={};let mb=t=>{let{fields:e=[]}=t,n=e.map(t=>{if(Array.isArray(t)){let[e,n=!0]=t;return[e,n]}return[t,!0]});return t=>[...t].sort((t,e)=>n.reduce((n,r)=>{let[i,a=!0]=r;return 0!==n?n:a?t[i]e[i]?-1:+(t[i]!==e[i])},0))};mb.props={};let mx=t=>{let{callback:e}=t;return t=>Array.isArray(t)?[...t].sort(e):t};function mO(t){return null!=t&&!Number.isNaN(t)}mx.props={};let mw=t=>{let{callback:e=mO}=t;return t=>t.filter(e)};mw.props={};let m_=t=>{let{fields:e}=t;return t=>t.map(t=>(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.reduce((e,n)=>(n in t&&(e[n]=t[n]),e),{})})(t,e))};m_.props={};let mM=t=>e=>t&&0!==Object.keys(t).length?e.map(e=>Object.entries(e).reduce((e,n)=>{let[r,i]=n;return e[t[r]||r]=i,e},{})):e;mM.props={};let mk=t=>{let{fields:e,key:n="key",value:r="value"}=t;return t=>e&&0!==Object.keys(e).length?t.flatMap(t=>e.map(e=>Object.assign(Object.assign({},t),{[n]:e,[r]:t[e]}))):t};mk.props={};let mC=t=>{let{start:e,end:n}=t;return t=>t.slice(e,n)};mC.props={};let mj=t=>{let{callback:e=eI}=t;return t=>e(t)};mj.props={};let mA=t=>{let{callback:e=eI}=t;return t=>Array.isArray(t)?t.map(e):t};function mS(t){return"string"==typeof t?e=>e[t]:t}mA.props={};let mE=t=>{let{join:e,on:n,select:r=[],as:i=r,unknown:a=NaN}=t,[o,l]=n,s=mS(l),c=mS(o),u=eE(e,t=>{let[e]=t;return e},t=>s(t));return t=>t.map(t=>{let e=u.get(c(t));return Object.assign(Object.assign({},t),r.reduce((t,n,r)=>(t[i[r]]=e?e[n]:a,t),{}))})};mE.props={};var mP=n(12570),mR=n.n(mP);let mT=t=>{let{field:e,groupBy:n,as:r=["y","size"],min:i,max:a,size:o=10,width:l}=t,[s,c]=r;return t=>{let r=Array.from(eA(t,t=>n.map(e=>t[e]).join("-")).values());return r.map(t=>{let n=mR().create(t.map(t=>t[e]),{min:i,max:a,size:o,width:l}),r=n.map(t=>t.x),u=n.map(t=>t.y);return Object.assign(Object.assign({},t[0]),{[s]:r,[c]:u})})}};mT.props={};let mL=()=>t=>(console.log("G2 data section:",t),t);mL.props={};let mI=Math.PI/180;function mN(t){return t.text}function mB(){return"serif"}function mD(){return"normal"}function mF(t){return t.value}function mz(){return 90*~~(2*Math.random())}function m$(){return 1}function mW(){}function mZ(t){let e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function mH(t){let e=[],n=-1;for(;++ne.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let mU={fontSize:[20,60],font:"Impact",padding:2,rotate:function(){return(~~(6*Math.random())-3)*30}};function mQ(t){return new Promise((e,n)=>{if(t instanceof HTMLImageElement){e(t);return}if("string"==typeof t){let r=new Image;r.crossOrigin="anonymous",r.src=t,r.onload=()=>e(r),r.onerror=()=>{console.error("'image ".concat(t," load failed !!!'")),n()};return}n()})}let mX=(t,e)=>n=>{var r,i,a,o;return r=void 0,i=void 0,a=void 0,o=function*(){let r=Object.assign({},mU,t,{canvas:e.createCanvas}),i=function(){let t=[256,256],e=mN,n=mB,r=mF,i=mD,a=mz,o=m$,l=mZ,s=Math.random,c=mW,u=[],f=null,d=1/0,h=mG,p={};return p.start=function(){let[g,m]=t,y=function(t){t.width=t.height=1;let e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2);t.width=2048/e,t.height=2048/e;let n=t.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",n.textBaseline="middle",{context:n,ratio:e}}(h()),v=p.board?p.board:mH((t[0]>>5)*t[1]),b=u.length,x=[],O=u.map(function(t,l,s){return t.text=e.call(this,t,l,s),t.font=n.call(this,t,l,s),t.style=mD.call(this,t,l,s),t.weight=i.call(this,t,l,s),t.rotate=a.call(this,t,l,s),t.size=~~r.call(this,t,l,s),t.padding=o.call(this,t,l,s),t}).sort(function(t,e){return e.size-t.size}),w=-1,_=p.board?[{x:0,y:0},{x:g,y:m}]:void 0;function M(){let e=Date.now();for(;Date.now()-e>1,e.y=m*(s()+.5)>>1,function(t,e,n,r){if(e.sprite)return;let i=t.context,a=t.ratio;i.clearRect(0,0,2048/a,2048/a);let o=0,l=0,s=0,c=n.length;for(--r;++r>5<<5,c=~~Math.max(Math.abs(a+o),Math.abs(a-o))}else t=t+31>>5<<5;if(c>s&&(s=c),o+t>=2048&&(o=0,l+=s,s=0),l+c>=2048)break;i.translate((o+(t>>1))/a,(l+(c>>1))/a),e.rotate&&i.rotate(e.rotate*mI),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=t,e.height=c,e.xoff=o,e.yoff=l,e.x1=t>>1,e.y1=c>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,o+=t}let u=i.getImageData(0,0,2048/a,2048/a).data,f=[];for(;--r>=0;){if(!(e=n[r]).hasText)continue;let t=e.width,i=t>>5,a=e.y1-e.y0;for(let t=0;t>5),r=u[(l+n)*2048+(o+e)<<2]?1<<31-e%32:0;f[t]|=r,s|=r}s?c=n:(e.y0++,a--,n--,l++)}e.y1=e.y0+c,e.sprite=f.slice(0,(e.y1-e.y0)*i)}}(y,e,O,w),e.hasText&&function(e,n,r){let i=n.x,a=n.y,o=Math.sqrt(t[0]*t[0]+t[1]*t[1]),c=l(t),u=.5>s()?1:-1,f,d=-u,h,p;for(;(f=c(d+=u))&&!(Math.min(Math.abs(h=~~f[0]),Math.abs(p=~~f[1]))>=o);)if(n.x=i+h,n.y=a+p,!(n.x+n.x0<0)&&!(n.y+n.y0<0)&&!(n.x+n.x1>t[0])&&!(n.y+n.y1>t[1])&&(!r||!function(t,e,n){n>>=5;let r=t.sprite,i=t.width>>5,a=t.x-(i<<4),o=127&a,l=32-o,s=t.y1-t.y0,c=(t.y+t.y0)*n+(a>>5),u;for(let t=0;t>>o:0))&e[c+n])return!0;c+=n}return!1}(n,e,t[0]))&&(!r||n.x+n.x1>r[0].x&&n.x+n.x0r[0].y&&n.y+n.y0>5,a=t[0]>>5,o=n.x-(i<<4),l=127&o,s=32-l,c=n.y1-n.y0,u,f=(n.y+n.y0)*a+(o>>5);for(let t=0;t>>l:0);f+=a}return delete n.sprite,!0}return!1}(v,e,_)&&(c.call(null,"word",{cloud:p,word:e}),x.push(e),_?p.hasImage||function(t,e){let n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}(_,e):_=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=t[0]>>1,e.y-=t[1]>>1)}p._tags=x,p._bounds=_,w>=b&&(p.stop(),c.call(null,"end",{cloud:p,words:x,bounds:_}))}return f&&clearInterval(f),f=setInterval(M,0),M(),p},p.stop=function(){return f&&(clearInterval(f),f=null),p},p.createMask=e=>{let n=document.createElement("canvas"),[r,i]=t;if(!r||!i)return;let a=r>>5,o=mH((r>>5)*i);n.width=r,n.height=i;let l=n.getContext("2d");l.drawImage(e,0,0,e.width,e.height,0,0,r,i);let s=l.getImageData(0,0,r,i).data;for(let t=0;t>5),i=t*r+e<<2,l=s[i]>=250&&s[i+1]>=250&&s[i+2]>=250,c=l?1<<31-e%32:0;o[n]|=c}p.board=o,p.hasImage=!0},p.timeInterval=function(t){d=null==t?1/0:t},p.words=function(t){u=t},p.size=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t=[+e[0],+e[1]]},p.text=function(t){e=mq(t)},p.font=function(t){n=mq(t)},p.fontWeight=function(t){i=mq(t)},p.rotate=function(t){a=mq(t)},p.canvas=function(t){h=mq(t)},p.spiral=function(t){l=mV[t]||t},p.fontSize=function(t){r=mq(t)},p.padding=function(t){o=mq(t)},p.random=function(t){s=mq(t)},p.on=function(t){c=mq(t)},p}();yield({set(t,e,n){if(void 0===r[t])return this;let a=e?e.call(null,r[t]):r[t];return n?n.call(null,a):"function"==typeof i[t]?i[t](a):i[t]=a,this},setAsync(t,e,n){var a,o,l,s;return a=this,o=void 0,l=void 0,s=function*(){if(void 0===r[t])return this;let a=e?yield e.call(null,r[t]):r[t];return n?n.call(null,a):"function"==typeof i[t]?i[t](a):i[t]=a,this},new(l||(l=Promise))(function(t,e){function n(t){try{i(s.next(t))}catch(t){e(t)}}function r(t){try{i(s.throw(t))}catch(t){e(t)}}function i(e){var i;e.done?t(e.value):((i=e.value)instanceof l?i:new l(function(t){t(i)})).then(n,r)}i((s=s.apply(a,o||[])).next())})}}).set("fontSize",t=>{let e=n.map(t=>t.value);return function(t,e){if("function"==typeof t)return t;if(Array.isArray(t)){let[n,r]=t;if(!e)return()=>(r+n)/2;let[i,a]=e;return a===i?()=>(r+n)/2:t=>{let{value:e}=t;return(r-n)/(a-i)*(e-i)+n}}return()=>t}(t,[oB(e),oD(e)])}).set("font").set("fontStyle").set("fontWeight").set("padding").set("rotate").set("size").set("spiral").set("timeInterval").set("random").set("text").set("on").set("canvas").setAsync("imageMask",mQ,i.createMask),i.words([...n]);let a=i.start(),[o,l]=r.size,{_bounds:s=[{x:0,y:0},{x:o,y:l}],_tags:c,hasImage:u}=a,f=c.map(t=>{var{x:e,y:n,font:r}=t;return Object.assign(Object.assign({},mY(t,["x","y","font"])),{x:e+o/2,y:n+l/2,fontFamily:r})}),[{x:d,y:h},{x:p,y:g}]=s,m={text:"",value:0,opacity:0,fontSize:0};return f.push(Object.assign(Object.assign({},m),{x:u?0:d,y:u?0:h}),Object.assign(Object.assign({},m),{x:u?o:p,y:u?l:g})),f},new(a||(a=Promise))(function(t,e){function n(t){try{s(o.next(t))}catch(t){e(t)}}function l(t){try{s(o.throw(t))}catch(t){e(t)}}function s(e){var r;e.done?t(e.value):((r=e.value)instanceof a?r:new a(function(t){t(r)})).then(n,l)}s((o=o.apply(r,i||[])).next())})};function mK(t){let{min:e,max:n}=t;return[[e[0],e[1]],[n[0],n[1]]]}function mJ(t,e){let[n,r]=t,[i,a]=e;return n>=i[0]&&n<=a[0]&&r>=i[1]&&r<=a[1]}function m0(){let t=new Map;return[e=>t.get(e),(e,n)=>t.set(e,n)]}function m1(t){let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}function m2(t,e,n){return .2126*m1(t)+.7152*m1(e)+.0722*m1(n)}function m5(t,e){let{r:n,g:r,b:i}=t,{r:a,g:o,b:l}=e,s=m2(n,r,i),c=m2(a,o,l);return(Math.max(s,c)+.05)/(Math.min(s,c)+.05)}mX.props={};let m3=(t,e)=>{let[[n,r],[i,a]]=e,[[o,l],[s,c]]=t,u=0,f=0;return oi&&(u=i-s),la&&(f=a-c),[u,f]};var m4=t=>t;function m6(t,e){t&&m9.hasOwnProperty(t.type)&&m9[t.type](t,e)}var m8={Feature:function(t,e){m6(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r0){for(a=t[--e];e>0&&(a=(n=a)+(r=t[--e]),!(i=r-(a-n))););e>0&&(i<0&&t[e-1]<0||i>0&&t[e-1]>0)&&(n=a+(r=2*i),r==n-a&&(a=n))}return a}}var yr=Math.PI,yi=yr/2,ya=yr/4,yo=2*yr,yl=180/yr,ys=yr/180,yc=Math.abs,yu=Math.atan,yf=Math.atan2,yd=Math.cos,yh=Math.ceil,yp=Math.exp,yg=Math.log,ym=Math.pow,yy=Math.sin,yv=Math.sign||function(t){return t>0?1:t<0?-1:0},yb=Math.sqrt,yx=Math.tan;function yO(t){return t>1?0:t<-1?yr:Math.acos(t)}function yw(t){return t>1?yi:t<-1?-yi:Math.asin(t)}function y_(){}var yM,yk,yC,yj,yA,yS,yE,yP,yR,yT,yL,yI,yN,yB,yD=new yn,yF=new yn,yz={point:y_,lineStart:y_,lineEnd:y_,polygonStart:function(){yz.lineStart=y$,yz.lineEnd=yH},polygonEnd:function(){yz.lineStart=yz.lineEnd=yz.point=y_,yD.add(yc(yF)),yF=new yn},result:function(){var t=yD/2;return yD=new yn,t}};function y$(){yz.point=yW}function yW(t,e){yz.point=yZ,yL=yN=t,yI=yB=e}function yZ(t,e){yF.add(yB*t-yN*e),yN=t,yB=e}function yH(){yZ(yL,yI)}var yG,yq,yV,yY,yU=1/0,yQ=1/0,yX=-1/0,yK=yX,yJ={point:function(t,e){tyX&&(yX=t),eyK&&(yK=e)},lineStart:y_,lineEnd:y_,polygonStart:y_,polygonEnd:y_,result:function(){var t=[[yU,yQ],[yX,yK]];return yX=yK=-(yQ=yU=1/0),t}},y0=0,y1=0,y2=0,y5=0,y3=0,y4=0,y6=0,y8=0,y9=0,y7={point:vt,lineStart:ve,lineEnd:vi,polygonStart:function(){y7.lineStart=va,y7.lineEnd=vo},polygonEnd:function(){y7.point=vt,y7.lineStart=ve,y7.lineEnd=vi},result:function(){var t=y9?[y6/y9,y8/y9]:y4?[y5/y4,y3/y4]:y2?[y0/y2,y1/y2]:[NaN,NaN];return y0=y1=y2=y5=y3=y4=y6=y8=y9=0,t}};function vt(t,e){y0+=t,y1+=e,++y2}function ve(){y7.point=vn}function vn(t,e){y7.point=vr,vt(yV=t,yY=e)}function vr(t,e){var n=t-yV,r=e-yY,i=yb(n*n+r*r);y5+=i*(yV+t)/2,y3+=i*(yY+e)/2,y4+=i,vt(yV=t,yY=e)}function vi(){y7.point=vt}function va(){y7.point=vl}function vo(){vs(yG,yq)}function vl(t,e){y7.point=vs,vt(yG=yV=t,yq=yY=e)}function vs(t,e){var n=t-yV,r=e-yY,i=yb(n*n+r*r);y5+=i*(yV+t)/2,y3+=i*(yY+e)/2,y4+=i,y6+=(i=yY*t-yV*e)*(yV+t),y8+=i*(yY+e),y9+=3*i,vt(yV=t,yY=e)}function vc(t){this._context=t}vc.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,yo)}},result:y_};var vu,vf,vd,vh,vp,vg=new yn,vm={point:y_,lineStart:function(){vm.point=vy},lineEnd:function(){vu&&vv(vf,vd),vm.point=y_},polygonStart:function(){vu=!0},polygonEnd:function(){vu=null},result:function(){var t=+vg;return vg=new yn,t}};function vy(t,e){vm.point=vv,vf=vh=t,vd=vp=e}function vv(t,e){vh-=t,vp-=e,vg.add(yb(vh*vh+vp*vp)),vh=t,vp=e}class vb{constructor(t){this._append=null==t?vx:function(t){let e=Math.floor(t);if(!(e>=0))throw RangeError(`invalid digits: ${t}`);if(e>15)return vx;if(e!==r){let t=10**e;r=e,i=function(e){let n=1;this._+=e[0];for(let r=e.length;n=0))throw RangeError(`invalid digits: ${t}`);n=e}return null===e&&(a=new vb(n)),o},o.projection(t).digits(n).context(e)}function vw(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),a=Array(i);++r2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(eq(t)||Array.isArray(t)&&r)return t;let i=e$(t,e);return R(n,i)}function vC(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return eq(t)||Array.isArray(t)||!vj(t)?t:R(e,t)}function vj(t){if(0===Object.keys(t).length)return!0;let{title:e,items:n}=t;return void 0!==e||void 0!==n}function vA(t,e){return"object"==typeof t?e$(t,e):t}function vS(){var t,e=[];return{point:function(e,n,r){t.push([e,n,r])},lineStart:function(){e.push(t=[])},lineEnd:y_,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function vE(t,e){return 1e-6>yc(t[0]-e[0])&&1e-6>yc(t[1]-e[1])}function vP(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function vR(t,e,n,r,i){var a,o,l=[],s=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],o=t[e];if(vE(r,o)){if(!r[2]&&!o[2]){for(i.lineStart(),a=0;a=0;--a)i.point((u=c[a])[0],u[1]);else r(d.x,d.p.x,-1,i);d=d.p}c=(d=d.o).z,h=!h}while(!d.v);i.lineEnd()}}}function vT(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r=0?1:-1,C=k*M,j=C>yr,A=m*w;if(s.add(yf(A*k*yy(C),y*_+A*yd(C))),o+=j?M+k*yo:M,j^p>=n^x>=n){var S=vB(vI(h),vI(b));vz(S);var E=vB(a,S);vz(E);var P=(j^M>=0?-1:1)*yw(E[2]);(r>P||r===P&&(S[0]||S[1]))&&(l+=j^M>=0?1:-1)}}return(o<-.000001||o<1e-6&&s<-.000000000001)^1&l}(a,r);o.length?(f||(i.polygonStart(),f=!0),vR(o,vG,t,n,i)):t&&(f||(i.polygonStart(),f=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),o=a=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function h(e,n){t(e,n)&&i.point(e,n)}function p(t,e){s.point(t,e)}function g(){d.point=p,s.lineStart()}function m(){d.point=h,s.lineEnd()}function y(t,e){l.push([t,e]),u.point(t,e)}function v(){u.lineStart(),l=[]}function b(){y(l[0][0],l[0][1]),u.lineEnd();var t,e,n,r,s=u.clean(),d=c.result(),h=d.length;if(l.pop(),a.push(l),l=null,h){if(1&s){if((e=(n=d[0]).length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t1&&2&s&&d.push(d.pop().concat(d.shift())),o.push(d.filter(vH))}}return d}}function vH(t){return t.length>1}function vG(t,e){return((t=t.x)[0]<0?t[1]-yi-1e-6:yi-t[1])-((e=e.x)[0]<0?e[1]-yi-1e-6:yi-e[1])}var vq=vZ(function(){return!0},function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(a,o){var l,s,c,u,f,d,h=a>0?yr:-yr,p=yc(a-n);1e-6>yc(p-yr)?(t.point(n,r=(r+o)/2>0?yi:-yi),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(h,r),t.point(a,r),e=0):i!==h&&p>=yr&&(1e-6>yc(n-i)&&(n-=1e-6*i),1e-6>yc(a-h)&&(a-=1e-6*h),l=n,s=r,r=yc(d=yy(l-(c=a)))>1e-6?yu((yy(s)*(f=yd(o))*yy(c)-yy(o)*(u=yd(s))*yy(l))/(u*f*d)):(s+o)/2,t.point(i,r),t.lineEnd(),t.lineStart(),t.point(h,r),e=0),t.point(n=a,r=o),i=h},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}},function(t,e,n,r){var i;if(null==t)i=n*yi,r.point(-yr,i),r.point(0,i),r.point(yr,i),r.point(yr,0),r.point(yr,-i),r.point(0,-i),r.point(-yr,-i),r.point(-yr,0),r.point(-yr,i);else if(yc(t[0]-e[0])>1e-6){var a=t[0]-e[2]?-n:n)+yo-1e-6)%yo}function vY(t,e,n,r){function i(i,a){return t<=i&&i<=n&&e<=a&&a<=r}function a(i,a,l,c){var u=0,f=0;if(null==i||(u=o(i,l))!==(f=o(a,l))||0>s(i,a)^l>0)do c.point(0===u||3===u?t:n,u>1?r:e);while((u=(u+l+4)%4)!==f);else c.point(a[0],a[1])}function o(r,i){return 1e-6>yc(r[0]-t)?i>0?0:3:1e-6>yc(r[0]-n)?i>0?2:1:1e-6>yc(r[1]-e)?i>0?1:0:i>0?3:2}function l(t,e){return s(t.x,e.x)}function s(t,e){var n=o(t,1),r=o(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(o){var s,c,u,f,d,h,p,g,m,y,v,b=o,x=vS(),O={point:w,lineStart:function(){O.point=_,c&&c.push(u=[]),y=!0,m=!1,p=g=NaN},lineEnd:function(){s&&(_(f,d),h&&m&&x.rejoin(),s.push(x.result())),O.point=w,m&&b.lineEnd()},polygonStart:function(){b=x,s=[],c=[],v=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=c.length;nr&&(d-a)*(r-o)>(h-o)*(t-a)&&++e:h<=r&&(d-a)*(r-o)<(h-o)*(t-a)&&--e;return e}(),n=v&&e,i=(s=vW(s)).length;(n||i)&&(o.polygonStart(),n&&(o.lineStart(),a(null,null,1,o),o.lineEnd()),i&&vR(s,l,e,a,o),o.polygonEnd()),b=o,s=c=u=null}};function w(t,e){i(t,e)&&b.point(t,e)}function _(a,o){var l=i(a,o);if(c&&u.push([a,o]),y)f=a,d=o,h=l,y=!1,l&&(b.lineStart(),b.point(a,o));else if(l&&m)b.point(a,o);else{var s=[p=Math.max(-1e9,Math.min(1e9,p)),g=Math.max(-1e9,Math.min(1e9,g))],x=[a=Math.max(-1e9,Math.min(1e9,a)),o=Math.max(-1e9,Math.min(1e9,o))];!function(t,e,n,r,i,a){var o,l=t[0],s=t[1],c=e[0],u=e[1],f=0,d=1,h=c-l,p=u-s;if(o=n-l,h||!(o>0)){if(o/=h,h<0){if(o0){if(o>d)return;o>f&&(f=o)}if(o=i-l,h||!(o<0)){if(o/=h,h<0){if(o>d)return;o>f&&(f=o)}else if(h>0){if(o0)){if(o/=p,p<0){if(o0){if(o>d)return;o>f&&(f=o)}if(o=a-s,p||!(o<0)){if(o/=p,p<0){if(o>d)return;o>f&&(f=o)}else if(p>0){if(o0&&(t[0]=l+f*h,t[1]=s+f*p),d<1&&(e[0]=l+d*h,e[1]=s+d*p),!0}}}}}(s,x,t,e,n,r)?l&&(b.lineStart(),b.point(a,o),v=!1):(m||(b.lineStart(),b.point(s[0],s[1])),b.point(x[0],x[1]),l||b.lineEnd(),v=!1)}p=a,g=o,m=l}return O}}function vU(t,e){function n(n,r){return e((n=t(n,r))[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n}function vQ(t,e){return yc(t)>yr&&(t-=Math.round(t/yo)*yo),[t,e]}function vX(t,e,n){return(t%=yo)?e||n?vU(vJ(t),v0(e,n)):vJ(t):e||n?v0(e,n):vQ}function vK(t){return function(e,n){return yc(e+=t)>yr&&(e-=Math.round(e/yo)*yo),[e,n]}}function vJ(t){var e=vK(t);return e.invert=vK(-t),e}function v0(t,e){var n=yd(t),r=yy(t),i=yd(e),a=yy(e);function o(t,e){var o=yd(e),l=yd(t)*o,s=yy(t)*o,c=yy(e),u=c*n+l*r;return[yf(s*i-u*a,l*n-c*r),yw(u*i+s*a)]}return o.invert=function(t,e){var o=yd(e),l=yd(t)*o,s=yy(t)*o,c=yy(e),u=c*i-s*a;return[yf(s*i+c*a,l*n+u*r),yw(u*n-l*r)]},o}function v1(t){return function(e){var n=new v2;for(var r in t)n[r]=t[r];return n.stream=e,n}}function v2(){}function v5(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),ye(n,t.stream(yJ)),e(yJ.result()),null!=r&&t.clipExtent(r),t}function v3(t,e,n){return v5(t,function(n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],a=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),o=+e[0][0]+(r-a*(n[1][0]+n[0][0]))/2,l=+e[0][1]+(i-a*(n[1][1]+n[0][1]))/2;t.scale(150*a).translate([o,l])},n)}function v4(t,e,n){return v3(t,[[0,0],e],n)}function v6(t,e,n){return v5(t,function(n){var r=+e,i=r/(n[1][0]-n[0][0]),a=(r-i*(n[1][0]+n[0][0]))/2,o=-i*n[0][1];t.scale(150*i).translate([a,o])},n)}function v8(t,e,n){return v5(t,function(n){var r=+e,i=r/(n[1][1]-n[0][1]),a=-i*n[0][0],o=(r-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([a,o])},n)}vQ.invert=vQ,v2.prototype={constructor:v2,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var v9=yd(30*ys);function v7(t,e){return+e?function(t,e){function n(r,i,a,o,l,s,c,u,f,d,h,p,g,m){var y=c-r,v=u-i,b=y*y+v*v;if(b>4*e&&g--){var x=o+d,O=l+h,w=s+p,_=yb(x*x+O*O+w*w),M=yw(w/=_),k=1e-6>yc(yc(w)-1)||1e-6>yc(a-f)?(a+f)/2:yf(O,x),C=t(k,M),j=C[0],A=C[1],S=j-r,E=A-i,P=v*S-y*E;(P*P/b>e||yc((y*S+v*E)/b-.5)>.3||o*d+l*h+s*p0,i=yc(e)>1e-6;function a(t,n){return yd(t)*yd(n)>e}function o(t,n,r){var i=vI(t),a=vI(n),o=[1,0,0],l=vB(i,a),s=vN(l,l),c=l[0],u=s-c*c;if(!u)return!r&&t;var f=e*s/u,d=-e*c/u,h=vB(o,l),p=vF(o,f);vD(p,vF(l,d));var g=vN(p,h),m=vN(h,h),y=g*g-m*(vN(p,p)-1);if(!(y<0)){var v=yb(y),b=vF(h,(-g-v)/m);if(vD(b,p),b=vL(b),!r)return b;var x,O=t[0],w=n[0],_=t[1],M=n[1];wyc(k-yr),j=C||k<1e-6;if(!C&&M<_&&(x=_,_=M,M=x),j?C?_+M>0^b[1]<(1e-6>yc(b[0]-O)?_:M):_<=b[1]&&b[1]<=M:k>yr^(O<=b[0]&&b[0]<=w)){var A=vF(h,(-g+v)/m);return vD(A,p),[b,vL(A)]}}}function l(e,n){var i=r?t:yr-t,a=0;return e<-i?a|=1:e>i&&(a|=2),n<-i?a|=4:n>i&&(a|=8),a}return vZ(a,function(t){var e,n,s,c,u;return{lineStart:function(){c=s=!1,u=1},point:function(f,d){var h,p,g=[f,d],m=a(f,d),y=r?m?0:l(f,d):m?l(f+(f<0?yr:-yr),d):0;!e&&(c=s=m)&&t.lineStart(),m!==s&&(!(p=o(e,g))||vE(e,p)||vE(g,p))&&(g[2]=1),m!==s?(u=0,m?(t.lineStart(),p=o(g,e),t.point(p[0],p[1])):(p=o(e,g),t.point(p[0],p[1],2),t.lineEnd()),e=p):i&&e&&r^m&&!(y&n)&&(h=o(g,e,!0))&&(u=0,r?(t.lineStart(),t.point(h[0][0],h[0][1]),t.point(h[1][0],h[1][1]),t.lineEnd()):(t.point(h[1][0],h[1][1]),t.lineEnd(),t.lineStart(),t.point(h[0][0],h[0][1],3))),!m||e&&vE(e,g)||t.point(g[0],g[1]),e=g,s=m,n=y},lineEnd:function(){s&&t.lineEnd(),e=null},clean:function(){return u|(c&&s)<<1}}},function(e,r,i,a){!function(t,e,n,r,i,a){if(n){var o=yd(e),l=yy(e),s=r*n;null==i?(i=e+r*yo,a=e-s/2):(i=vV(o,i),a=vV(o,a),(r>0?ia)&&(i+=r*yo));for(var c,u=i;r>0?u>a:u2?t[2]%360*ys:0,S()):[m*yl,y*yl,v*yl]},j.angle=function(t){return arguments.length?(b=t%360*ys,S()):b*yl},j.reflectX=function(t){return arguments.length?(x=t?-1:1,S()):x<0},j.reflectY=function(t){return arguments.length?(O=t?-1:1,S()):O<0},j.precision=function(t){return arguments.length?(o=v7(l,C=t*t),E()):yb(C)},j.fitExtent=function(t,e){return v3(j,t,e)},j.fitSize=function(t,e){return v4(j,t,e)},j.fitWidth=function(t,e){return v6(j,t,e)},j.fitHeight=function(t,e){return v8(j,t,e)},function(){return e=t.apply(this,arguments),j.invert=e.invert&&A,S()}}function bi(t){var e=0,n=yr/3,r=br(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*ys,n=t[1]*ys):[e*yl,n*yl]},i}function ba(t,e){var n=yy(t),r=(n+yy(e))/2;if(1e-6>yc(r))return function(t){var e=yd(t);function n(t,n){return[t*e,yy(n)/e]}return n.invert=function(t,n){return[t/e,yw(n*e)]},n}(t);var i=1+n*(2*r-n),a=yb(i)/r;function o(t,e){var n=yb(i-2*r*yy(e))/r;return[n*yy(t*=r),a-n*yd(t)]}return o.invert=function(t,e){var n=a-e,o=yf(t,yc(n))*yv(n);return n*r<0&&(o-=yr*yv(t)*yv(n)),[o/r,yw((i-(t*t+n*n)*r*r)/(2*r))]},o}function bo(){return bi(ba).scale(155.424).center([0,33.6442])}function bl(){return bo().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function bs(){var t,e,n,r,i,a,o=bl(),l=bo().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=bo().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(t,e){a=[t,e]}};function u(t){var e=t[0],o=t[1];return a=null,n.point(e,o),a||(r.point(e,o),a)||(i.point(e,o),a)}function f(){return t=e=null,u}return u.invert=function(t){var e=o.scale(),n=o.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?s:o).invert(t)},u.stream=function(n){var r,i;return t&&e===n?t:(i=(r=[o.stream(e=n),l.stream(n),s.stream(n)]).length,t={point:function(t,e){for(var n=-1;++n2?t[2]*ys:0),e.invert=function(e){return e=t.invert(e[0]*ys,e[1]*ys),e[0]*=yl,e[1]*=yl,e},e})(i.rotate()).invert([0,0]));return s(null==c?[[l[0]-a,l[1]-a],[l[0]+a,l[1]+a]]:t===bg?[[Math.max(l[0]-a,c),e],[Math.min(l[0]+a,n),r]]:[[c,Math.max(l[1]-a,e)],[n,Math.min(l[1]+a,r)]])}return i.scale=function(t){return arguments.length?(o(t),u()):o()},i.translate=function(t){return arguments.length?(l(t),u()):l()},i.center=function(t){return arguments.length?(a(t),u()):a()},i.clipExtent=function(t){return arguments.length?(null==t?c=e=n=r=null:(c=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),u()):null==c?null:[[c,e],[n,r]]},u()}function bv(t){return yx((yi+t)/2)}function bb(t,e){var n=yd(t),r=t===e?yy(t):yg(n/yd(e))/yg(bv(e)/bv(t)),i=n*ym(bv(t),r)/r;if(!r)return bg;function a(t,e){i>0?e<-yi+1e-6&&(e=-yi+1e-6):e>yi-1e-6&&(e=yi-1e-6);var n=i/ym(bv(e),r);return[n*yy(r*t),i-n*yd(r*t)]}return a.invert=function(t,e){var n=i-e,a=yv(r)*yb(t*t+n*n),o=yf(t,yc(n))*yv(n);return n*r<0&&(o-=yr*yv(t)*yv(n)),[o/r,2*yu(ym(i/a,1/r))-yi]},a}function bx(){return bi(bb).scale(109.5).parallels([30,30])}function bO(t,e){return[t,e]}function bw(){return bn(bO).scale(152.63)}function b_(t,e){var n=yd(t),r=t===e?yy(t):(n-yd(e))/(e-t),i=n/r+t;if(1e-6>yc(r))return bO;function a(t,e){var n=i-e,a=r*t;return[n*yy(a),i-n*yd(a)]}return a.invert=function(t,e){var n=i-e,a=yf(t,yc(n))*yv(n);return n*r<0&&(a-=yr*yv(t)*yv(n)),[a/r,i-yv(r)*yb(t*t+n*n)]},a}function bM(){return bi(b_).scale(131.154).center([0,13.9389])}bh.invert=bu(function(t){return t}),bg.invert=function(t,e){return[t,2*yu(yp(e))-yi]},bO.invert=bO;var bk=yb(3)/2;function bC(t,e){var n=yw(bk*yy(e)),r=n*n,i=r*r*r;return[t*yd(n)/(bk*(1.340264+-.24331799999999998*r+i*(.0062510000000000005+.034164*r))),n*(1.340264+-.081106*r+i*(893e-6+.003796*r))]}function bj(){return bn(bC).scale(177.158)}function bA(t,e){var n=yd(e),r=yd(t)*n;return[n*yy(t)/r,yy(e)/r]}function bS(){return bn(bA).scale(144.049).clipAngle(60)}function bE(){var t,e,n,r,i,a,o,l=1,s=0,c=0,u=1,f=1,d=0,h=null,p=1,g=1,m=v1({point:function(t,e){var n=b([t,e]);this.stream.point(n[0],n[1])}}),y=m4;function v(){return p=l*u,g=l*f,a=o=null,b}function b(n){var r=n[0]*p,i=n[1]*g;if(d){var a=i*t-r*e;r=r*t+i*e,i=a}return[r+s,i+c]}return b.invert=function(n){var r=n[0]-s,i=n[1]-c;if(d){var a=i*t+r*e;r=r*t-i*e,i=a}return[r/p,i/g]},b.stream=function(t){return a&&o===t?a:a=m(y(o=t))},b.postclip=function(t){return arguments.length?(y=t,h=n=r=i=null,v()):y},b.clipExtent=function(t){return arguments.length?(y=null==t?(h=n=r=i=null,m4):vY(h=+t[0][0],n=+t[0][1],r=+t[1][0],i=+t[1][1]),v()):null==h?null:[[h,n],[r,i]]},b.scale=function(t){return arguments.length?(l=+t,v()):l},b.translate=function(t){return arguments.length?(s=+t[0],c=+t[1],v()):[s,c]},b.angle=function(n){return arguments.length?(e=yy(d=n%360*ys),t=yd(d),v()):d*yl},b.reflectX=function(t){return arguments.length?(u=t?-1:1,v()):u<0},b.reflectY=function(t){return arguments.length?(f=t?-1:1,v()):f<0},b.fitExtent=function(t,e){return v3(b,t,e)},b.fitSize=function(t,e){return v4(b,t,e)},b.fitWidth=function(t,e){return v6(b,t,e)},b.fitHeight=function(t,e){return v8(b,t,e)},b}function bP(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(-.013791+r*(.003971*n-.001529*r))),e*(1.007226+n*(.015085+r*(-.044475+.028874*n-.005916*r)))]}function bR(){return bn(bP).scale(175.295)}function bT(t,e){return[yd(e)*yy(t),yy(e)]}function bL(){return bn(bT).scale(249.5).clipAngle(90.000001)}function bI(t,e){var n=yd(e),r=1+yd(t)*n;return[n*yy(t)/r,yy(e)/r]}function bN(){return bn(bI).scale(250).clipAngle(142)}function bB(t,e){return[yg(yx((yi+e)/2)),-t]}function bD(){var t=by(bB),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)}bC.invert=function(t,e){for(var n,r,i=e,a=i*i,o=a*a*a,l=0;l<12&&(r=i*(1.340264+-.081106*a+o*(893e-6+.003796*a))-e,i-=n=r/(1.340264+-.24331799999999998*a+o*(.0062510000000000005+.034164*a)),o=(a=i*i)*a*a,!(1e-12>yc(n)));++l);return[bk*t*(1.340264+-.24331799999999998*a+o*(.0062510000000000005+.034164*a))/yd(i),yw(yy(i)/bk)]},bA.invert=bu(yu),bP.invert=function(t,e){var n,r=e,i=25;do{var a=r*r,o=a*a;r-=n=(r*(1.007226+a*(.015085+o*(-.044475+.028874*a-.005916*o)))-e)/(1.007226+a*(.045255+o*(-.311325+.259866*a-.005916*11*o)))}while(yc(n)>1e-6&&--i>0);return[t/(.8707+(a=r*r)*(-.131979+a*(-.013791+a*a*a*(.003971-.001529*a)))),r]},bT.invert=bu(yw),bI.invert=bu(function(t){return 2*yu(t)}),bB.invert=function(t,e){return[-e,2*yu(yp(t))-yi]};var bF=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function bz(t){let{data:e}=t;if(Array.isArray(e))return Object.assign(Object.assign({},t),{data:{value:e}});let{type:n}=e;return"graticule10"===n?Object.assign(Object.assign({},t),{data:{value:[(function(){var t,e,n,r,i,a,o,l,s,c,u,f,d=10,h=10,p=90,g=360,m=2.5;function y(){return{type:"MultiLineString",coordinates:v()}}function v(){return vw(yh(r/p)*p,n,p).map(u).concat(vw(yh(l/g)*g,o,g).map(f)).concat(vw(yh(e/d)*d,t,d).filter(function(t){return yc(t%p)>1e-6}).map(s)).concat(vw(yh(a/h)*h,i,h).filter(function(t){return yc(t%g)>1e-6}).map(c))}return y.lines=function(){return v().map(function(t){return{type:"LineString",coordinates:t}})},y.outline=function(){return{type:"Polygon",coordinates:[u(r).concat(f(o).slice(1),u(n).reverse().slice(1),f(l).reverse().slice(1))]}},y.extent=function(t){return arguments.length?y.extentMajor(t).extentMinor(t):y.extentMinor()},y.extentMajor=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],l=+t[0][1],o=+t[1][1],r>n&&(t=r,r=n,n=t),l>o&&(t=l,l=o,o=t),y.precision(m)):[[r,l],[n,o]]},y.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],a=+n[0][1],i=+n[1][1],e>t&&(n=e,e=t,t=n),a>i&&(n=a,a=i,i=n),y.precision(m)):[[e,a],[t,i]]},y.step=function(t){return arguments.length?y.stepMajor(t).stepMinor(t):y.stepMinor()},y.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],y):[p,g]},y.stepMinor=function(t){return arguments.length?(d=+t[0],h=+t[1],y):[d,h]},y.precision=function(d){return arguments.length?(m=+d,s=v_(a,i,90),c=vM(e,t,m),u=v_(l,o,90),f=vM(r,n,m),y):m},y.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])})()()]}}):"sphere"===n?Object.assign(Object.assign({},t),{sphere:!0,data:{value:[{type:"Sphere"}]}}):t}function b$(t){return"geoPath"===t.type}let bW=()=>t=>{let e;let{children:n,coordinate:r={}}=t;if(!Array.isArray(n))return[];let{type:i="equalEarth"}=r,a=bF(r,["type"]),o=function(t){if("function"==typeof t)return t;let e="geo".concat(cH(t)),n=s[e];if(!n)throw Error("Unknown coordinate: ".concat(t));return n}(i),l=n.map(bz);return[Object.assign(Object.assign({},t),{type:"view",scale:{x:{type:"identity"},y:{type:"identity"}},axis:!1,coordinate:{type:function(){return[["custom",(t,n,r,i)=>{let s=o();!function(t,e,n,r){let{outline:i=(()=>{let t=e.filter(b$),n=t.find(t=>t.sphere);return n?{type:"Sphere"}:{type:"FeatureCollection",features:t.filter(t=>!t.sphere).flatMap(t=>t.data.value).flatMap(t=>(function(t){if(!t||!t.type)return null;let e={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featureCollection"}[t.type];return e?"geometry"===e?{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:t}]}:"feature"===e?{type:"FeatureCollection",features:[t]}:"featureCollection"===e?t:void 0:null})(t).features)}})()}=r,{size:a="fitExtent"}=r;"fitExtent"===a?function(t,e,n){let{x:r,y:i,width:a,height:o}=n;t.fitExtent([[r,i],[a,o]],e)}(t,i,n):"fitWidth"===a&&function(t,e,n){let{width:r,height:i}=n,[[a,o],[l,s]]=vO(t.fitWidth(r,e)).bounds(e),c=Math.ceil(s-o),u=Math.min(Math.ceil(l-a),c),f=t.scale()*(u-1)/u,[d,h]=t.translate();t.scale(f).translate([d,h+(i-c)/2]).precision(.2)}(t,i,n)}(s,l,{x:t,y:n,width:r,height:i},a),function(t,e){var n;for(let[r,i]of Object.entries(e))null===(n=t[r])||void 0===n||n.call(t,i)}(s,a),e=vO(s);let c=new nO({domain:[t,t+r]}),u=new nO({domain:[n,n+i]}),f=t=>{let e=s(t);if(!e)return[null,null];let[n,r]=e;return[c.map(n),u.map(r)]},d=t=>{if(!t)return null;let[e,n]=t,r=[c.invert(e),u.invert(n)];return s.invert(r)};return{transform:t=>f(t),untransform:t=>d(t)}}]]}},children:l.flatMap(t=>b$(t)?function(t){let{style:n,tooltip:r={}}=t;return Object.assign(Object.assign({},t),{type:"path",tooltip:vC(r,{title:"id",items:[{channel:"color"}]}),style:Object.assign(Object.assign({},n),{d:t=>e(t)||[]})})}(t):t)})]};bW.props={};var bZ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let bH=()=>t=>{let{type:e,data:n,scale:r,encode:i,style:a,animate:o,key:l,state:s}=t,c=bZ(t,["type","data","scale","encode","style","animate","key","state"]);return[Object.assign(Object.assign({type:"geoView"},c),{children:[{type:"geoPath",key:"".concat(l,"-0"),data:{value:n},scale:r,encode:i,style:a,animate:o,state:s}]})]};function bG(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,a,o,l,s,c,u,f,d,h=t._root,p={data:r},g=t._x0,m=t._y0,y=t._x1,v=t._y1;if(!h)return t._root=p,t;for(;h.length;)if((c=e>=(a=(g+y)/2))?g=a:y=a,(u=n>=(o=(m+v)/2))?m=o:v=o,i=h,!(h=h[f=u<<1|c]))return i[f]=p,t;if(l=+t._x.call(null,h.data),s=+t._y.call(null,h.data),e===l&&n===s)return p.next=h,i?i[f]=p:t._root=p,t;do i=i?i[f]=[,,,,]:t._root=[,,,,],(c=e>=(a=(g+y)/2))?g=a:y=a,(u=n>=(o=(m+v)/2))?m=o:v=o;while((f=u<<1|c)==(d=(s>=o)<<1|l>=a));return i[d]=h,i[f]=p,t}function bq(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function bV(t){return t[0]}function bY(t){return t[1]}function bU(t,e,n){var r=new bQ(null==e?bV:e,null==n?bY:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function bQ(t,e,n,r,i,a){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=a,this._root=void 0}function bX(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}bH.props={};var bK=bU.prototype=bQ.prototype;function bJ(t){return function(){return t}}function b0(t){return(t()-.5)*1e-6}bK.copy=function(){var t,e,n=new bQ(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=bX(r),n;for(t=[{source:r,target:n._root=[,,,,]}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=[,,,,]}):r.target[i]=bX(e));return n},bK.add=function(t){let e=+this._x.call(null,t),n=+this._y.call(null,t);return bG(this.cover(e,n),e,n,t)},bK.addAll=function(t){var e,n,r,i,a=t.length,o=Array(a),l=Array(a),s=1/0,c=1/0,u=-1/0,f=-1/0;for(n=0;nu&&(u=r),if&&(f=i));if(s>u||c>f)return this;for(this.cover(s,c).cover(u,f),n=0;nt||t>=i||r>e||e>=a;)switch(l=(ed)&&!((a=s.y0)>h)&&!((o=s.x1)=y)<<1|t>=m)&&(s=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=s)}else{var v=t-+this._x.call(null,g.data),b=e-+this._y.call(null,g.data),x=v*v+b*b;if(x=(l=(p+m)/2))?p=l:m=l,(u=o>=(s=(g+y)/2))?g=s:y=s,e=h,!(h=h[f=u<<1|c]))return this;if(!h.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(n=e,d=f)}for(;h.data!==t;)if(r=h,!(h=h.next))return this;return((i=h.next)&&delete h.next,r)?(i?r.next=i:delete r.next,this):e?(i?e[f]=i:delete e[f],(h=e[0]||e[1]||e[2]||e[3])&&h===(e[3]||e[2]||e[1]||e[0])&&!h.length&&(n?n[d]=h:this._root=h),this):(this._root=i,this)},bK.removeAll=function(t){for(var e=0,n=t.length;ee.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let b7={joint:!0},xt={type:"link",axis:!1,legend:!1,encode:{x:[t=>t.source.x,t=>t.target.x],y:[t=>t.source.y,t=>t.target.y]},style:{stroke:"#999",strokeOpacity:.6}},xe={type:"point",axis:!1,legend:!1,encode:{x:"x",y:"y",size:5,color:"group",shape:"point"},style:{stroke:"#fff"}},xn={text:""},xr=t=>{let{data:e,encode:n={},scale:r,style:i={},layout:a={},nodeLabels:o=[],linkLabels:l=[],animate:s={},tooltip:c={}}=t,{nodeKey:u=t=>t.id,linkKey:f=t=>t.id}=n,d=b9(n,["nodeKey","linkKey"]),h=Object.assign({nodeKey:u,linkKey:f},d),p=e$(h,"node"),g=e$(h,"link"),{links:m,nodes:y}=rl(e,h),{nodesData:v,linksData:b}=function(t,e,n){let{nodes:r,links:i}=t,{joint:a,nodeStrength:o,linkStrength:l}=e,{nodeKey:s=t=>t.id,linkKey:c=t=>t.id}=n,u=function(){var t,e,n,r,i,a=bJ(-30),o=1,l=1/0,s=.81;function c(n){var i,a=t.length,o=bU(t,b5,b3).visitAfter(f);for(r=n,i=0;i=l)){(t.data!==e||t.next)&&(0===f&&(p+=(f=b0(n))*f),0===d&&(p+=(d=b0(n))*d),p[l(t,e,r),t]));for(o=0,i=Array(c);o(e=(1664525*e+1013904223)%4294967296)/4294967296);function d(){h(),u.call("tick",n),r1?(null==e?s.delete(t):s.set(t,g(e)),n):s.get(t)},find:function(e,n,r){var i,a,o,l,s,c=0,u=t.length;for(null==r?r=1/0:r*=r,c=0;c1?(u.on(t,e),n):u.on(t)}}})(r).force("link",f).force("charge",u);a?d.force("center",function(t,e){var n,r=1;function i(){var i,a,o=n.length,l=0,s=0;for(i=0;i({name:"source",value:ra(f)(t.source)}),t=>({name:"target",value:ra(f)(t.target)})]}),O=vk(c,"node",{items:[t=>({name:"key",value:ra(u)(t)})]},!0);return[R({},xt,{data:b,encode:g,labels:l,style:e$(i,"link"),tooltip:x,animate:vA(s,"link")}),R({},xe,{data:v,encode:Object.assign({},p),scale:r,style:e$(i,"node"),tooltip:O,labels:[Object.assign(Object.assign({},xn),e$(i,"label")),...o],animate:vA(s,"link")})]};function xi(t,e){return t.parent===e.parent?1:2}function xa(t){var e=t.children;return e?e[0]:t.t}function xo(t){var e=t.children;return e?e[e.length-1]:t.t}function xl(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function xs(){var t=xi,e=1,n=1,r=null;function i(i){var s=function(t){for(var e,n,r,i,a,o=new xl(t,0),l=[o];e=l.pop();)if(r=e._.children)for(e.children=Array(a=r.length),i=a-1;i>=0;--i)l.push(n=e.children[i]=new xl(r[i],i)),n.parent=e;return(o.parent=new xl(null,0)).children=[o],o}(i);if(s.eachAfter(a),s.parent.m=-s.z,s.eachBefore(o),r)i.eachBefore(l);else{var c=i,u=i,f=i;i.eachBefore(function(t){t.xu.x&&(u=t),t.depth>f.depth&&(f=t)});var d=c===u?1:t(c,u)/2,h=d-c.x,p=e/(u.x+d+h),g=n/(f.depth||1);i.eachBefore(function(t){t.x=(t.x+h)*p,t.y=t.depth*g})}return i}function a(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,a=i.length;--a>=0;)e=i[a],e.z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var a=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-a):e.z=a}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,a,o,l=e,s=e,c=n,u=l.parent.children[0],f=l.m,d=s.m,h=c.m,p=u.m;c=xo(c),l=xa(l),c&&l;)u=xa(u),(s=xo(s)).a=e,(o=c.z+h-l.z-f+t(c._,l._))>0&&(function(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}((i=c,a=r,i.a.parent===e.parent?i.a:a),e,o),f+=o,d+=o),h+=c.m,f+=l.m,p+=u.m,d+=s.m;c&&!xo(s)&&(s.t=c,s.m+=h-d),l&&!xa(u)&&(u.t=l,u.m+=f-p,r=e)}return r}(e,i,e.parent.A||r[0])}function o(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function l(t){t.x*=e,t.y=t.depth*n}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}function xc(t,e){return t.parent===e.parent?1:2}function xu(t,e){return t+e.x}function xf(t,e){return Math.max(t,e.y)}function xd(){var t=xc,e=1,n=1,r=!1;function i(i){var a,o=0;i.eachAfter(function(e){var n=e.children;n?(e.x=n.reduce(xu,0)/n.length,e.y=1+n.reduce(xf,0)):(e.x=a?o+=t(e,a):0,e.y=0,a=e)});var l=function(t){for(var e;e=t.children;)t=e[0];return t}(i),s=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),c=l.x-t(l,s)/2,u=s.x+t(s,l)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-c)/(u-c)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}xr.props={},xl.prototype=Object.create(h2.prototype);let xh=t=>e=>n=>{let{field:r="value",nodeSize:i,separation:a,sortBy:o,as:l=["x","y"]}=e,[s,c]=l,u=hX(n,t=>t.children).sum(t=>t[r]).sort(o),f=t();f.size([1,1]),i&&f.nodeSize(i),a&&f.separation(a),f(u);let d=[];u.each(t=>{t[s]=t.x,t[c]=t.y,t.name=t.data.name,d.push(t)});let h=u.links();return h.forEach(t=>{t[s]=[t.source[s],t.target[s]],t[c]=[t.source[c],t.target[c]]}),{nodes:d,edges:h}},xp=t=>xh(xd)(t);xp.props={};let xg=t=>xh(xs)(t);xg.props={};let xm={sortBy:(t,e)=>e.value-t.value},xy={axis:!1,legend:!1,type:"point",encode:{x:"x",y:"y",size:2,shape:"point"}},xv={type:"link",encode:{x:"x",y:"y",shape:"smooth"}},xb={text:"",fontSize:10},xx=t=>{let{data:e,encode:n={},scale:r={},style:i={},layout:a={},nodeLabels:o=[],linkLabels:l=[],animate:s={},tooltip:c={}}=t,u=null==n?void 0:n.value,{nodes:f,edges:d}=xg(Object.assign(Object.assign(Object.assign({},xm),a),{field:u}))(e),h=vk(c,"node",{title:"name",items:["value"]},!0),p=vk(c,"link",{title:"",items:[t=>({name:"source",value:t.source.name}),t=>({name:"target",value:t.target.name})]});return[R({},xv,{data:d,encode:e$(n,"link"),scale:e$(r,"link"),labels:l,style:Object.assign({stroke:"#999"},e$(i,"link")),tooltip:p,animate:vA(s,"link")}),R({},xy,{data:f,scale:e$(r,"node"),encode:e$(n,"node"),labels:[Object.assign(Object.assign({},xb),e$(i,"label")),...o],style:Object.assign({},e$(i,"node")),tooltip:h,animate:vA(s,"node")})]};function xO(t,e){var n=t.r-e.r,r=e.x-t.x,i=e.y-t.y;return n<0||n*n0&&n*n>r*r+i*i}function x_(t,e){for(var n=0;n1e-6?(j+Math.sqrt(j*j-4*C*A))/(2*C):A/j);return{x:r+w+_*S,y:i+M+k*S,r:S}}function xC(t,e,n){var r,i,a,o,l=t.x-e.x,s=t.y-e.y,c=l*l+s*s;c?(i=e.r+n.r,i*=i,o=t.r+n.r,i>(o*=o)?(r=(c+o-i)/(2*c),a=Math.sqrt(Math.max(0,o/c-r*r)),n.x=t.x-r*l-a*s,n.y=t.y-r*s+a*l):(r=(c+i-o)/(2*c),a=Math.sqrt(Math.max(0,i/c-r*r)),n.x=e.x+r*l-a*s,n.y=e.y+r*s+a*l)):(n.x=e.x+n.r,n.y=e.y)}function xj(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function xA(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,a=(e.y*n.r+n.y*e.r)/r;return i*i+a*a}function xS(t){this._=t,this.next=null,this.previous=null}function xE(t){return Math.sqrt(t.value)}function xP(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function xR(t,e,n){return function(r){if(i=r.children){var i,a,o,l=i.length,s=t(r)*e||0;if(s)for(a=0;a1))return n.r;if(r=t[1],n.x=-r.r,r.x=n.r,r.y=0,!(a>2))return n.r+r.r;xC(r,n,i=t[2]),n=new xS(n),r=new xS(r),i=new xS(i),n.next=i.previous=r,r.next=n.previous=i,i.next=r.previous=n;e:for(s=3;se.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let xI=(t,e)=>({size:[t,e],padding:0,sort:(t,e)=>e.value-t.value}),xN=(t,e,n)=>({type:"point",axis:!1,legend:!1,scale:{x:{domain:[0,t]},y:{domain:[0,e]},size:{type:"identity"}},encode:{x:"x",y:"y",size:"r",shape:"point"},style:{fill:n.color?void 0:t=>0===t.height?"#ddd":"#fff",stroke:n.color?void 0:t=>0===t.height?"":"#000"}}),xB={text:"",position:"inside",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:t=>2*t.r},xD={title:t=>t.data.name,items:[{field:"value"}]},xF=(t,e,n)=>{let{value:r}=n,i=(0,A.Z)(t)?h9().path(e.path)(t):hX(t);return r?i.sum(t=>ra(r)(t)).sort(e.sort):i.count(),(function(){var t=null,e=1,n=1,r=pu;function i(i){let a;let o=(a=1,()=>(a=(1664525*a+1013904223)%4294967296)/4294967296);return i.x=e/2,i.y=n/2,t?i.eachBefore(xP(t)).eachAfter(xR(r,.5,o)).eachBefore(xT(1)):i.eachBefore(xP(xE)).eachAfter(xR(pu,1,o)).eachAfter(xR(r,i.r/Math.min(e,n),o)).eachBefore(xT(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=hY(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:pf(+t),i):r},i})().size(e.size).padding(e.padding)(i),i.descendants()},xz=(t,e)=>{let{width:n,height:r}=e,{data:i,encode:a={},scale:o={},style:l={},layout:s={},labels:c=[],tooltip:u={}}=t,f=xL(t,["data","encode","scale","style","layout","labels","tooltip"]),d=xN(n,r,a),h=xF(i,R({},xI(n,r),s),R({},d.encode,a)),p=e$(l,"label");return R({},d,Object.assign(Object.assign({data:h,encode:a,scale:o,style:l,labels:[Object.assign(Object.assign({},xB),p),...c]},f),{tooltip:vC(u,xD),axis:!1}))};function x$(t){return t.target.depth}function xW(t,e){return t.sourceLinks.length?t.depth:e-1}function xZ(t){return function(){return t}}function xH(t,e){return xq(t.source,e.source)||t.index-e.index}function xG(t,e){return xq(t.target,e.target)||t.index-e.index}function xq(t,e){return t.y0-e.y0}function xV(t){return t.value}function xY(t){return t.index}function xU(t){return t.nodes}function xQ(t){return t.links}function xX(t,e){let n=t.get(e);if(!n)throw Error("missing: "+e);return n}function xK(t){let{nodes:e}=t;for(let t of e){let e=t.y0,n=e;for(let n of t.sourceLinks)n.y0=e+n.width/2,e+=n.width;for(let e of t.targetLinks)e.y1=n+e.width/2,n+=e.width}}xz.props={};let xJ={nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodes:t=>t.nodes,links:t=>t.links,nodeSort:void 0,linkSort:void 0,iterations:6},x0={left:function(t){return t.depth},right:function(t,e){return e-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?oB(t.sourceLinks,x$)-1:0},justify:xW},x1=t=>e=>{let{nodeId:n,nodeSort:r,nodeAlign:i,nodeWidth:a,nodePadding:o,nodeDepth:l,nodes:s,links:c,linkSort:u,iterations:f}=Object.assign({},xJ,t),d=(function(){let t,e,n,r=0,i=0,a=1,o=1,l=24,s=8,c,u=xY,f=xW,d=xU,h=xQ,p=6;function g(g){let y={nodes:d(g),links:h(g)};return function(t){let{nodes:e,links:r}=t;e.forEach((t,e)=>{t.index=e,t.sourceLinks=[],t.targetLinks=[]});let i=new Map(e.map(t=>[u(t),t]));if(r.forEach((t,e)=>{t.index=e;let{source:n,target:r}=t;"object"!=typeof n&&(n=t.source=xX(i,n)),"object"!=typeof r&&(r=t.target=xX(i,r)),n.sourceLinks.push(t),r.targetLinks.push(t)}),null!=n)for(let{sourceLinks:t,targetLinks:r}of e)t.sort(n),r.sort(n)}(y),function(t){let{nodes:e}=t;for(let t of e)t.value=void 0===t.fixedValue?Math.max(gw(t.sourceLinks,xV),gw(t.targetLinks,xV)):t.fixedValue}(y),function(e){let{nodes:n}=e,r=n.length,i=new Set(n),a=new Set,o=0;for(;i.size;){if(i.forEach(t=>{for(let{target:e}of(t.depth=o,t.sourceLinks))a.add(e)}),++o>r)throw Error("circular link");i=a,a=new Set}if(t){let e;let r=Math.max(oD(n,t=>t.depth)+1,0);for(let i=0;i{for(let{source:e}of(t.height=a,t.targetLinks))i.add(e)}),++a>n)throw Error("circular link");r=i,i=new Set}}(y),function(t){let u=function(t){let{nodes:n}=t,i=Math.max(oD(n,t=>t.depth)+1,0),o=(a-r-l)/(i-1),s=Array(i).fill(0).map(()=>[]);for(let t of n){let e=Math.max(0,Math.min(i-1,Math.floor(f.call(null,t,i))));t.layer=e,t.x0=r+e*o,t.x1=t.x0+l,s[e]?s[e].push(t):s[e]=[t]}if(e)for(let t of s)t.sort(e);return s}(t);c=Math.min(s,(o-i)/(oD(u,t=>t.length)-1)),function(t){let e=oB(t,t=>(o-i-(t.length-1)*c)/gw(t,xV));for(let r of t){let t=i;for(let n of r)for(let r of(n.y0=t,n.y1=t+n.value*e,t=n.y1+c,n.sourceLinks))r.width=r.value*e;t=(o-t+c)/(r.length+1);for(let e=0;e=0;--a){let i=t[a];for(let t of i){let e=0,r=0;for(let{target:n,value:i}of t.sourceLinks){let a=i*(n.layer-t.layer);e+=function(t,e){let n=e.y0-(e.targetLinks.length-1)*c/2;for(let{source:r,width:i}of e.targetLinks){if(r===t)break;n+=i+c}for(let{target:r,width:i}of t.sourceLinks){if(r===e)break;n-=i}return n}(t,n)*a,r+=a}if(!(r>0))continue;let i=(e/r-t.y0)*n;t.y0+=i,t.y1+=i,b(t)}void 0===e&&i.sort(xq),i.length&&m(i,r)}})(u,n,r),function(t,n,r){for(let i=1,a=t.length;i0))continue;let i=(e/r-t.y0)*n;t.y0+=i,t.y1+=i,b(t)}void 0===e&&a.sort(xq),a.length&&m(a,r)}}(u,n,r)}}(y),xK(y),y}function m(t,e){let n=t.length>>1,r=t[n];v(t,r.y0-c,n-1,e),y(t,r.y1+c,n+1,e),v(t,o,t.length-1,e),y(t,i,0,e)}function y(t,e,n,r){for(;n1e-6&&(i.y0+=a,i.y1+=a),e=i.y1+c}}function v(t,e,n,r){for(;n>=0;--n){let i=t[n],a=(i.y1-e)*r;a>1e-6&&(i.y0-=a,i.y1-=a),e=i.y0-c}}function b(t){let{sourceLinks:e,targetLinks:r}=t;if(void 0===n){for(let{source:{sourceLinks:t}}of r)t.sort(xG);for(let{target:{targetLinks:t}}of e)t.sort(xH)}}return g.update=function(t){return xK(t),t},g.nodeId=function(t){return arguments.length?(u="function"==typeof t?t:xZ(t),g):u},g.nodeAlign=function(t){return arguments.length?(f="function"==typeof t?t:xZ(t),g):f},g.nodeDepth=function(e){return arguments.length?(t=e,g):t},g.nodeSort=function(t){return arguments.length?(e=t,g):e},g.nodeWidth=function(t){return arguments.length?(l=+t,g):l},g.nodePadding=function(t){return arguments.length?(s=c=+t,g):s},g.nodes=function(t){return arguments.length?(d="function"==typeof t?t:xZ(t),g):d},g.links=function(t){return arguments.length?(h="function"==typeof t?t:xZ(t),g):h},g.linkSort=function(t){return arguments.length?(n=t,g):n},g.size=function(t){return arguments.length?(r=i=0,a=+t[0],o=+t[1],g):[a-r,o-i]},g.extent=function(t){return arguments.length?(r=+t[0][0],a=+t[1][0],i=+t[0][1],o=+t[1][1],g):[[r,i],[a,o]]},g.iterations=function(t){return arguments.length?(p=+t,g):p},g})().nodeSort(r).linkSort(u).links(c).nodes(s).nodeWidth(a).nodePadding(o).nodeDepth(l).nodeAlign(function(t){let e=typeof t;return"string"===e?x0[t]||xW:"function"===e?t:xW}(i)).iterations(f).extent([[0,0],[1,1]]);"function"==typeof n&&d.nodeId(n);let h=d(e),{nodes:p,links:g}=h,m=p.map(t=>{let{x0:e,x1:n,y0:r,y1:i}=t;return Object.assign(Object.assign({},t),{x:[e,n,n,e],y:[r,r,i,i]})}),y=g.map(t=>{let{source:e,target:n}=t,r=e.x1,i=n.x0,a=t.width/2;return Object.assign(Object.assign({},t),{x:[r,r,i,i],y:[t.y0+a,t.y0-a,t.y1+a,t.y1-a]})});return{nodes:m,links:y}};x1.props={};var x2=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let x5={nodeId:t=>t.key,nodeWidth:.02,nodePadding:.02},x3={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{stroke:"#000"}},x4={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{fillOpacity:.5,stroke:void 0}},x6={textAlign:t=>t.x[0]<.5?"start":"end",position:t=>t.x[0]<.5?"right":"left",fontSize:10},x8=t=>{let{data:e,encode:n={},scale:r,style:i={},layout:a={},nodeLabels:o=[],linkLabels:l=[],animate:s={},tooltip:c={}}=t,{links:u,nodes:f}=rl(e,n),d=e$(n,"node"),h=e$(n,"link"),{key:p=t=>t.key,color:g=p}=d,{links:m,nodes:y}=x1(Object.assign(Object.assign(Object.assign({},x5),{nodeId:ra(p)}),a))({links:u,nodes:f}),v=e$(i,"label"),{text:b=p,spacing:x=5}=v,O=x2(v,["text","spacing"]),w=ra(p),_=vk(c,"node",{title:w,items:[{field:"value"}]},!0),M=vk(c,"link",{title:"",items:[t=>({name:"source",value:w(t.source)}),t=>({name:"target",value:w(t.target)})]});return[R({},x3,{data:y,encode:Object.assign(Object.assign({},d),{color:g}),scale:r,style:e$(i,"node"),labels:[Object.assign(Object.assign(Object.assign({},x6),{text:b,dx:t=>t.x[0]<.5?x:-x}),O),...o],tooltip:_,animate:vA(s,"node"),axis:!1}),R({},x4,{data:m,encode:h,labels:l,style:Object.assign({fill:h.color?void 0:"#aaa",lineWidth:0},e$(i,"link")),tooltip:M,animate:vA(s,"link")})]};function x9(t,e){return e.value-t.value}function x7(t,e){return e.frequency-t.frequency}function Ot(t,e){return"".concat(t.id).localeCompare("".concat(e.id))}function Oe(t,e){return"".concat(t.name).localeCompare("".concat(e.name))}x8.props={};let On={y:0,thickness:.05,weight:!1,marginRatio:.1,id:t=>t.id,source:t=>t.source,target:t=>t.target,sourceWeight:t=>t.value||1,targetWeight:t=>t.value||1,sortBy:null},Or=t=>e=>(function(t){let{y:e,thickness:n,weight:r,marginRatio:i,id:a,source:o,target:l,sourceWeight:s,targetWeight:u,sortBy:f}=Object.assign(Object.assign({},On),t);return function(t){let d=t.nodes.map(t=>Object.assign({},t)),h=t.edges.map(t=>Object.assign({},t));return function(t,e){e.forEach(t=>{t.source=o(t),t.target=l(t),t.sourceWeight=s(t),t.targetWeight=u(t)});let n=eA(e,t=>t.source),r=eA(e,t=>t.target);t.forEach(t=>{t.id=a(t);let e=n.has(t.id)?n.get(t.id):[],i=r.has(t.id)?r.get(t.id):[];t.frequency=e.length+i.length,t.value=gw(e,t=>t.sourceWeight)+gw(i,t=>t.targetWeight)})}(d,h),function(t,e){let n="function"==typeof f?f:c[f];n&&t.sort(n)}(d,0),function(t,a){let o=t.length;if(!o)throw eD("Invalid nodes: it's empty!");if(!r){let n=1/o;return t.forEach((t,r)=>{t.x=(r+.5)*n,t.y=e})}let l=i/(2*o),s=t.reduce((t,e)=>t+=e.value,0);t.reduce((t,r)=>{r.weight=r.value/s,r.width=r.weight*(1-i),r.height=n;let a=l+t,o=a+r.width,c=e-n/2,u=c+n;return r.x=[a,o,o,a],r.y=[c,c,u,u],t+r.width+2*l},0)}(d,0),function(t,n){let i=new Map(t.map(t=>[t.id,t]));if(!r)return n.forEach(t=>{let e=o(t),n=l(t),r=i.get(e),a=i.get(n);r&&a&&(t.x=[r.x,a.x],t.y=[r.y,a.y])});n.forEach(t=>{t.x=[0,0,0,0],t.y=[e,e,e,e]});let a=eA(n,t=>t.source),s=eA(n,t=>t.target);t.forEach(t=>{let{edges:e,width:n,x:r,y:i,value:o,id:l}=t,c=a.get(l)||[],u=s.get(l)||[],f=0;c.map(t=>{let e=t.sourceWeight/o*n;t.x[0]=r[0]+f,t.x[1]=r[0]+f+e,f+=e}),u.forEach(t=>{let e=t.targetWeight/o*n;t.x[3]=r[0]+f,t.x[2]=r[0]+f+e,f+=e})})}(d,h),{nodes:d,edges:h}}})(t)(e);Or.props={};var Oi=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let Oa={y:0,thickness:.05,marginRatio:.1,id:t=>t.key,source:t=>t.source,target:t=>t.target,sourceWeight:t=>t.value||1,targetWeight:t=>t.value||1,sortBy:null},Oo={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{opacity:1,fillOpacity:1,lineWidth:1}},Ol={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{opacity:.5,lineWidth:1}},Os={position:"outside",fontSize:10},Oc=(t,e)=>{let{data:n,encode:r={},scale:i,style:a={},layout:o={},nodeLabels:l=[],linkLabels:s=[],animate:c={},tooltip:u={}}=t,{nodes:f,links:d}=rl(n,r),h=e$(r,"node"),p=e$(r,"link"),{key:g=t=>t.key,color:m=g}=h,{linkEncodeColor:y=t=>t.source}=p,{nodeWidthRatio:v=Oa.thickness,nodePaddingRatio:b=Oa.marginRatio}=o,x=Oi(o,["nodeWidthRatio","nodePaddingRatio"]),{nodes:O,edges:w}=Or(Object.assign(Object.assign(Object.assign(Object.assign({},Oa),{id:ra(g),thickness:v,marginRatio:b}),x),{weight:!0}))({nodes:f,edges:d}),_=e$(a,"label"),{text:M=g}=_,k=Oi(_,["text"]),C=vk(u,"node",{title:"",items:[t=>({name:t.key,value:t.value})]},!0),j=vk(u,"link",{title:"",items:[t=>({name:"".concat(t.source," -> ").concat(t.target),value:t.value})]}),{height:A,width:S}=e,E=Math.min(A,S);return[R({},Ol,{data:w,encode:Object.assign(Object.assign({},p),{color:y}),labels:s,style:Object.assign({fill:y?void 0:"#aaa"},e$(a,"link")),tooltip:j,animate:vA(c,"link")}),R({},Oo,{data:O,encode:Object.assign(Object.assign({},h),{color:m}),scale:i,style:e$(a,"node"),coordinate:{type:"polar",outerRadius:(E-20)/E,startAngle:-(2*Math.PI),endAngle:0},labels:[Object.assign(Object.assign(Object.assign({},Os),{text:M}),k),...l],tooltip:C,animate:vA(c,"node"),axis:!1})]};Oc.props={};var Ou=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let Of=(t,e)=>({tile:"treemapSquarify",ratio:.5*(1+Math.sqrt(5)),size:[t,e],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,sort:(t,e)=>e.value-t.value,layer:0}),Od=(t,e)=>({type:"rect",axis:!1,encode:{x:"x",y:"y",key:"id",color:t=>t.path[1]},scale:{x:{domain:[0,t],range:[0,1]},y:{domain:[0,e],range:[0,1]}},style:{stroke:"#fff"},state:{active:{opacity:.6},inactive:{opacity:1}}}),Oh={fontSize:10,text:t=>uR(t.path),position:"inside",fill:"#000",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:t=>t.x1-t.x0},Op={title:t=>{var e,n;return null===(n=null===(e=t.path)||void 0===e?void 0:e.join)||void 0===n?void 0:n.call(e,".")},items:[{field:"value"}]},Og={title:t=>uR(t.path),items:[{field:"value"}]},Om=(t,e)=>{let{width:n,height:r,options:i}=e,{data:a,encode:o={},scale:l,style:s={},layout:c={},labels:u=[],tooltip:f={}}=t,d=Ou(t,["data","encode","scale","style","layout","labels","tooltip"]),h=sJ(i,["interaction","treemapDrillDown"]),p=R({},Of(n,r),c,{layer:h?t=>1===t.depth:c.layer}),[g,m]=pd(a,p,o),y=e$(s,"label");return R({},Od(n,r),Object.assign(Object.assign({data:g,scale:l,style:s,labels:[Object.assign(Object.assign({},Oh),y),...u]},d),{encode:o,tooltip:vC(f,Op),axis:!1}),h?{interaction:Object.assign(Object.assign({},d.interaction),{treemapDrillDown:h?Object.assign(Object.assign({},h),{originData:m,layout:p}):void 0}),encode:Object.assign({color:t=>uR(t.path)},o),tooltip:vC(f,Og)}:{})};Om.props={};var Oy=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function Ov(t,e){return oB(t,t=>e[t])}function Ob(t,e){return oD(t,t=>e[t])}function Ox(t,e){let n=2.5*OO(t,e)-1.5*O_(t,e);return oB(t,t=>e[t]>=n?e[t]:NaN)}function OO(t,e){return gO(t,.25,t=>e[t])}function Ow(t,e){return gO(t,.5,t=>e[t])}function O_(t,e){return gO(t,.75,t=>e[t])}function OM(t,e){let n=2.5*O_(t,e)-1.5*OO(t,e);return oD(t,t=>e[t]<=n?e[t]:NaN)}function Ok(){return(t,e)=>{let{encode:n}=e,{y:r,x:i}=n,{value:a}=r,{value:o}=i,l=Array.from(eA(t,t=>o[+t]).values()),s=l.flatMap(t=>{let e=Ox(t,a),n=OM(t,a);return t.filter(t=>a[t]n)});return[s,e]}}let OC=t=>{let{data:e,encode:n,style:r={},tooltip:i={},transform:a,animate:o}=t,l=Oy(t,["data","encode","style","tooltip","transform","animate"]),{point:s=!0}=r,c=Oy(r,["point"]),{y:u}=n,f={y:u,y1:u,y2:u,y3:u,y4:u},d={y1:OO,y2:Ow,y3:O_},h=vk(i,"box",{items:[{channel:"y",name:"min"},{channel:"y1",name:"q1"},{channel:"y2",name:"q2"},{channel:"y3",name:"q3"},{channel:"y4",name:"max"}]},!0),p=vk(i,"point",{title:{channel:"x"},items:[{name:"outlier",channel:"y"}]});if(!s)return Object.assign({type:"box",data:e,transform:[Object.assign(Object.assign({type:"groupX",y:Ov},d),{y4:Ob})],encode:Object.assign(Object.assign({},n),f),style:c,tooltip:h},l);let g=e$(c,"box"),m=e$(c,"point");return[Object.assign({type:"box",data:e,transform:[Object.assign(Object.assign({type:"groupX",y:Ox},d),{y4:OM})],encode:Object.assign(Object.assign({},n),f),style:g,tooltip:h,animate:vA(o,"box")},l),{type:"point",data:e,transform:[{type:Ok}],encode:n,style:Object.assign({},m),tooltip:p,animate:vA(o,"point")}]};OC.props={};let Oj=(t,e)=>Math.sqrt(Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2))/2,OA=(t,e)=>{if(!e)return;let{coordinate:n}=e;if(!(null==n?void 0:n.getCenter))return;let r=n.getCenter();return(n,i,a)=>{let{document:o}=e.canvas,{color:l,index:s}=i,c=o.createElement("g",{}),u=Oj(n[0],n[1]),f=2*Oj(n[0],r),d=o.createElement("path",{style:Object.assign(Object.assign(Object.assign({d:[["M",...n[0]],["A",u,u,0,1,0,...n[1]],["A",f+2*u,f+2*u,0,0,0,...n[2]],["A",u,u,0,1,0===s?0:1,...n[3]],["A",f,f,0,0,1,...n[0]],["Z"]]},a),cZ(t,["shape","last","first"])),{fill:l||a.color})});return c.appendChild(d),c}};var OS=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let OE={coordinate:{type:"radial",innerRadius:.9,outerRadius:1,startAngle:-1.1*Math.PI,endAngle:.1*Math.PI},axis:{x:!1},legend:!1,tooltip:!1,encode:{x:"x",y:"y",color:"color"},scale:{color:{range:["#30BF78","#D0D0D0"]}}},OP={style:{shape:(t,e)=>{let{shape:n,radius:r}=t,i=OS(t,["shape","radius"]),a=e$(i,"pointer"),o=e$(i,"pin"),{shape:l}=a,s=OS(a,["shape"]),{shape:c}=o,u=OS(o,["shape"]),{coordinate:f,theme:d}=e;return(t,e)=>{let n=t.map(t=>f.invert(t)),[a,o,h]=function(t,e){let{transformations:n}=t.getOptions(),[,...r]=n.find(t=>t[0]===e);return r}(f,"polar"),p=f.clone(),{color:g}=e,m=w({startAngle:a,endAngle:o,innerRadius:h,outerRadius:r});m.push(["cartesian"]),p.update({transformations:m});let y=n.map(t=>p.map(t)),[v,b]=nL(y),[x,O]=f.getCenter(),_=Object.assign(Object.assign({x1:v,y1:b,x2:x,y2:O,stroke:g},s),i),M=Object.assign(Object.assign({cx:x,cy:O,stroke:g},u),i),k=eV(new t_.ZA);return eq(l)||("function"==typeof l?k.append(()=>l(y,e,p,d)):k.append("line").call(nj,_).node()),eq(c)||("function"==typeof c?k.append(()=>c(y,e,p,d)):k.append("circle").call(nj,M).node()),k.node()}},lineWidth:4,pointerLineCap:"round",pinR:10,pinFill:"#fff",radius:.6}},OR={type:"text",style:{x:"50%",y:"60%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"}},OT=t=>{var e;let{data:n={},scale:r={},style:i={},animate:a={},transform:o=[]}=t,l=OS(t,["data","scale","style","animate","transform"]),{targetData:s,totalData:c,target:u,total:f,scale:d}=function(t,e){let{name:n="score",target:r,total:i,percent:a,thresholds:o=[]}=function(t){if((0,tC.Z)(t)){let e=Math.max(0,Math.min(t,1));return{percent:e,target:e,total:1}}return t}(t),l=a||r,s=a?1:i,c=Object.assign({y:{domain:[0,s]}},e);return o.length?{targetData:[{x:n,y:l,color:"target"}],totalData:o.map((t,e)=>({x:n,y:e>=1?t-o[e-1]:t,color:e})),target:l,total:s,scale:c}:{targetData:[{x:n,y:l,color:"target"}],totalData:[{x:n,y:l,color:"target"},{x:n,y:s-l,color:"total"}],target:l,total:s,scale:c}}(n,r),h=e$(i,"text"),p=(e=["pointer","pin"],Object.fromEntries(Object.entries(i).filter(t=>{let[n]=t;return e.find(t=>n.startsWith(t))}))),g=e$(i,"arc"),m=g.shape;return[R({},OE,Object.assign({type:"interval",transform:[{type:"stackY"}],data:c,scale:d,style:"round"===m?Object.assign(Object.assign({},g),{shape:OA}):g,animate:"object"==typeof a?e$(a,"arc"):a},l)),R({},OE,OP,Object.assign({type:"point",data:s,scale:d,style:p,animate:"object"==typeof a?e$(a,"indicator"):a},l)),R({},OR,{style:Object.assign({text:function(t,e){let{target:n,total:r}=e,{content:i}=t;return i?i(n,r):n.toString()}(h,{target:u,total:f})},h),animate:"object"==typeof a?e$(a,"text"):a})]};OT.props={};let OL={pin:function(t,e,n){let r=4*n/3,i=Math.max(r,2*n),a=r/2,o=a+e-i/2,l=Math.asin(a/((i-a)*.85)),s=Math.sin(l)*a,c=Math.cos(l)*a,u=t-c,f=o+s,d=o+a/Math.sin(l);return"\n M ".concat(u," ").concat(f,"\n A ").concat(a," ").concat(a," 0 1 1 ").concat(u+2*c," ").concat(f,"\n Q ").concat(t," ").concat(d," ").concat(t," ").concat(e+i/2,"\n Q ").concat(t," ").concat(d," ").concat(u," ").concat(f,"\n Z \n ")},rect:function(t,e,n){let r=.618*n;return"\n M ".concat(t-r," ").concat(e-n,"\n L ").concat(t+r," ").concat(e-n,"\n L ").concat(t+r," ").concat(e+n,"\n L ").concat(t-r," ").concat(e+n,"\n Z\n ")},circle:function(t,e,n){return"\n M ".concat(t," ").concat(e-n," \n a ").concat(n," ").concat(n," 0 1 0 0 ").concat(2*n,"\n a ").concat(n," ").concat(n," 0 1 0 0 ").concat(-(2*n),"\n Z\n ")},diamond:function(t,e,n){return"\n M ".concat(t," ").concat(e-n,"\n L ").concat(t+n," ").concat(e,"\n L ").concat(t," ").concat(e+n,"\n L ").concat(t-n," ").concat(e,"\n Z\n ")},triangle:function(t,e,n){return"\n M ".concat(t," ").concat(e-n,"\n L ").concat(t+n," ").concat(e+n,"\n L ").concat(t-n," ").concat(e+n,"\n Z\n ")}};var OI=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ON=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"circle";return OL[t]||OL.circle},OB=(t,e)=>{if(!e)return;let{coordinate:n}=e,{liquidOptions:r,styleOptions:i}=t,{liquidShape:a,percent:o}=r,{background:l,outline:s={},wave:c={}}=i,u=OI(i,["background","outline","wave"]),{border:f=2,distance:d=0}=s,h=OI(s,["border","distance"]),{length:p=192,count:g=3}=c;return(t,r,i)=>{let{document:s}=e.canvas,{color:c,fillOpacity:m}=i,y=Object.assign(Object.assign({fill:c},i),u),v=s.createElement("g",{}),[b,x]=n.getCenter(),O=n.getSize(),w=Math.min(...O)/2,_=iX(a)?a:ON(a),M=_(b,x,w,...O);if(Object.keys(l).length){let t=s.createElement("path",{style:Object.assign({d:M,fill:"#fff"},l)});v.appendChild(t)}if(o>0){let t=s.createElement("path",{style:{d:M}});v.appendChild(t),v.style.clipPath=t,function(t,e,n,r,i,a,o,l,s,c,u){let{fill:f,fillOpacity:d,opacity:h}=i;for(let i=0;i0;)c-=2*Math.PI;c=c/Math.PI/2*n;let u=a-t+c-2*t;s.push(["M",u,e]);let f=0;for(let t=0;te.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let OF={axis:{x:!1,y:!1},legend:!1,tooltip:!1,encode:{x:"type",y:"percent"},scale:{y:{domain:[0,1]}},style:{shape:OB},animate:{enter:{type:"fadeIn"}}},Oz={type:"text",style:{x:"50%",y:"50%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"},animate:{enter:{type:"fadeIn"}}},O$=t=>{let{data:e={},style:n={},animate:r}=t,i=OD(t,["data","style","animate"]),a=Math.max(0,(0,tC.Z)(e)?e:null==e?void 0:e.percent),o=[{percent:a,type:"liquid"}],l=Object.assign(Object.assign({},e$(n,"text")),e$(n,"content")),s=e$(n,"outline"),c=e$(n,"wave"),u=e$(n,"background");return[R({},OF,Object.assign({type:"interval",data:o,style:{liquidOptions:{percent:a,liquidShape:null==n?void 0:n.shape},styleOptions:Object.assign(Object.assign({},n),{outline:s,wave:c,background:u})},animate:r},i)),R({},Oz,{style:Object.assign({text:"".concat(e3(100*a)," %")},l),animate:r})]};O$.props={};var OW=n(65543);function OZ(t,e){let n=function(t){let e=[];for(let n=0;ne[n].radius+1e-10)return!1;return!0}(e,t)}),i=0,a=0,o,l=[];if(r.length>1){let e=function(t){let e={x:0,y:0};for(let n=0;n-1){let i=t[e.parentIndex[r]],a=Math.atan2(e.x-i.x,e.y-i.y),o=Math.atan2(n.x-i.x,n.y-i.y),l=o-a;l<0&&(l+=2*Math.PI);let u=o-l/2,f=OG(s,{x:i.x+i.radius*Math.sin(u),y:i.y+i.radius*Math.cos(u)});f>2*i.radius&&(f=2*i.radius),(null===c||c.width>f)&&(c={circle:i,width:f,p1:e,p2:n})}null!==c&&(l.push(c),i+=OH(c.circle.radius,c.width),n=e)}}else{let e=t[0];for(o=1;oMath.abs(e.radius-t[o].radius)){n=!0;break}n?i=a=0:(i=e.radius*e.radius*Math.PI,l.push({circle:e,p1:{x:e.x,y:e.y+e.radius},p2:{x:e.x-1e-10,y:e.y+e.radius},width:2*e.radius}))}return a/=2,e&&(e.area=i+a,e.arcArea=i,e.polygonArea=a,e.arcs=l,e.innerPoints=r,e.intersectionPoints=n),i+a}function OH(t,e){return t*t*Math.acos(1-e/t)-(t-e)*Math.sqrt(e*(2*t-e))}function OG(t,e){return Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y))}function Oq(t,e,n){if(n>=t+e)return 0;if(n<=Math.abs(t-e))return Math.PI*Math.min(t,e)*Math.min(t,e);let r=t-(n*n-e*e+t*t)/(2*n),i=e-(n*n-t*t+e*e)/(2*n);return OH(t,r)+OH(e,i)}function OV(t,e){let n=OG(t,e),r=t.radius,i=e.radius;if(n>=r+i||n<=Math.abs(r-i))return[];let a=(r*r-i*i+n*n)/(2*n),o=Math.sqrt(r*r-a*a),l=t.x+a*(e.x-t.x)/n,s=t.y+a*(e.y-t.y)/n,c=-(e.y-t.y)*(o/n),u=-(e.x-t.x)*(o/n);return[{x:l+c,y:s-u},{x:l-c,y:s+u}]}function OY(t,e,n){return Math.min(t,e)*Math.min(t,e)*Math.PI<=n+1e-10?Math.abs(t-e):(0,OW.bisect)(function(r){return Oq(t,e,r)-n},0,t+e)}function OU(t,e){let n=function(t,e){let n;let r=e&&e.lossFunction?e.lossFunction:OQ,i={},a={};for(let e=0;e=Math.min(i[o].size,i[l].size)&&(r=0),a[o].push({set:l,size:n.size,weight:r}),a[l].push({set:o,size:n.size,weight:r})}let o=[];for(n in a)if(a.hasOwnProperty(n)){let t=0;for(let e=0;e=8){let i=function(t,e){let n,r,i;e=e||{};let a=e.restarts||10,o=[],l={};for(n=0;n=Math.min(e[a].size,e[o].size)?u=1:t.size<=1e-10&&(u=-1),i[a][o]=i[o][a]=u}),{distances:r,constraints:i}}(t,o,l),c=s.distances,u=s.constraints,f=(0,OW.norm2)(c.map(OW.norm2))/c.length;c=c.map(function(t){return t.map(function(t){return t/f})});let d=function(t,e){return function(t,e,n,r){let i=0,a;for(a=0;a0&&p<=f||d<0&&p>=f||(i+=2*g*g,e[2*a]+=4*g*(o-c),e[2*a+1]+=4*g*(l-u),e[2*s]+=4*g*(c-o),e[2*s+1]+=4*g*(u-l))}}return i}(t,e,c,u)};for(n=0;n{let{sets:e="sets",size:n="size",as:r=["key","path"],padding:i=0}=t,[a,o]=r;return t=>{let r;let l=t.map(t=>Object.assign(Object.assign({},t),{sets:t[e],size:t[n],[a]:t.sets.join("&")}));l.sort((t,e)=>t.sets.length-e.sets.length);let s=function(t,e){let n;(e=e||{}).maxIterations=e.maxIterations||500;let r=e.initialLayout||OU,i=e.lossFunction||OQ;t=function(t){let e,n,r,i;t=t.slice();let a=[],o={};for(e=0;et>e?1:-1),e=0;e{let n=t[e];return Object.assign(Object.assign({},t),{[o]:t=>{let{width:e,height:a}=t;r=r||function(t,e,n,r){let i=[],a=[];for(let e in t)t.hasOwnProperty(e)&&(a.push(e),i.push(t[e]));e-=2*r,n-=2*r;let o=function(t){let e=function(e){let n=Math.max.apply(null,t.map(function(t){return t[e]+t.radius})),r=Math.min.apply(null,t.map(function(t){return t[e]-t.radius}));return{max:n,min:r}};return{xRange:e("x"),yRange:e("y")}}(i),l=o.xRange,s=o.yRange;if(l.max==l.min||s.max==s.min)return console.log("not scaling solution: zero size detected"),t;let c=e/(l.max-l.min),u=n/(s.max-s.min),f=Math.min(u,c),d=(e-(l.max-l.min)*f)/2,h=(n-(s.max-s.min)*f)/2,p={};for(let t=0;tr[t]),l=function(t){let e={};OZ(t,e);let n=e.arcs;if(0===n.length)return"M 0 0";if(1==n.length){let t=n[0].circle;return function(t,e,n){let r=[],i=t-n;return r.push("M",i,e),r.push("A",n,n,0,1,0,i+2*n,e),r.push("A",n,n,0,1,0,i,e),r.join(" ")}(t.x,t.y,t.radius)}{let t=["\nM",n[0].p2.x,n[0].p2.y];for(let e=0;ei;t.push("\nA",i,i,0,a?1:0,1,r.p1.x,r.p1.y)}return t.join(" ")}}(o);return/[zZ]$/.test(l)||(l+=" Z"),l}})})}};function OK(t,e){var n=e.cx,r=void 0===n?0:n,i=e.cy,a=void 0===i?0:i,o=e.r;t.arc(r,a,o,0,2*Math.PI,!1)}function OJ(t,e){var n=e.cx,r=void 0===n?0:n,i=e.cy,a=void 0===i?0:i,o=e.rx,l=e.ry;if(t.ellipse)t.ellipse(r,a,o,l,0,0,2*Math.PI,!1);else{var s=o>l?o:l,c=o>l?1:o/l,u=o>l?l/o:1;t.save(),t.scale(c,u),t.arc(r,a,s,0,2*Math.PI)}}function O0(t,e){var n,r=e.x1,i=e.y1,a=e.x2,o=e.y2,l=e.markerStart,s=e.markerEnd,c=e.markerStartOffset,u=e.markerEndOffset,f=0,d=0,h=0,p=0,g=0;l&&(0,t_.RV)(l)&&c&&(f=Math.cos(g=Math.atan2(o-i,a-r))*(c||0),d=Math.sin(g)*(c||0)),s&&(0,t_.RV)(s)&&u&&(h=Math.cos(g=Math.atan2(i-o,r-a))*(u||0),p=Math.sin(g)*(u||0)),t.moveTo(r+f,i+d),t.lineTo(a+h,o+p)}function O1(t,e){var n,r=e.markerStart,i=e.markerEnd,a=e.markerStartOffset,o=e.markerEndOffset,l=e.d,s=l.absolutePath,c=l.segments,u=0,f=0,d=0,h=0,p=0;if(r&&(0,t_.RV)(r)&&a){var g=(0,tM.CR)(r.parentNode.getStartTangent(),2),m=g[0],y=g[1];n=m[0]-y[0],u=Math.cos(p=Math.atan2(m[1]-y[1],n))*(a||0),f=Math.sin(p)*(a||0)}if(i&&(0,t_.RV)(i)&&o){var v=(0,tM.CR)(i.parentNode.getEndTangent(),2),m=v[0],y=v[1];n=m[0]-y[0],d=Math.cos(p=Math.atan2(m[1]-y[1],n))*(o||0),h=Math.sin(p)*(o||0)}for(var b=0;bS?A:S,I=A>S?1:A/S,N=A>S?S/A:1;t.translate(C,j),t.rotate(R),t.scale(I,N),t.arc(0,0,L,E,P,!!(1-T)),t.scale(1/I,1/N),t.rotate(-R),t.translate(-C,-j)}M&&t.lineTo(x[6]+d,x[7]+h);break;case"Z":t.closePath()}}}function O2(t,e){var n,r=e.markerStart,i=e.markerEnd,a=e.markerStartOffset,o=e.markerEndOffset,l=e.points.points,s=l.length,c=l[0][0],u=l[0][1],f=l[s-1][0],d=l[s-1][1],h=0,p=0,g=0,m=0,y=0;r&&(0,t_.RV)(r)&&a&&(n=l[1][0]-l[0][0],h=Math.cos(y=Math.atan2(l[1][1]-l[0][1],n))*(a||0),p=Math.sin(y)*(a||0)),i&&(0,t_.RV)(i)&&o&&(n=l[s-1][0]-l[0][0],g=Math.cos(y=Math.atan2(l[s-1][1]-l[0][1],n))*(o||0),m=Math.sin(y)*(o||0)),t.moveTo(c+(h||g),u+(p||m));for(var v=1;v0?1:-1,u=s>0?1:-1,f=c+u===0,d=(0,tM.CR)(o.map(function(t){return(0,tF.Z)(t,0,Math.min(Math.abs(l)/2,Math.abs(s)/2))}),4),h=d[0],p=d[1],g=d[2],m=d[3];t.moveTo(c*h+r,a),t.lineTo(l-c*p+r,a),0!==p&&t.arc(l-c*p+r,u*p+a,p,-u*Math.PI/2,c>0?0:Math.PI,f),t.lineTo(l+r,s-u*g+a),0!==g&&t.arc(l-c*g+r,s-u*g+a,g,c>0?0:Math.PI,u>0?Math.PI/2:1.5*Math.PI,f),t.lineTo(c*m+r,s+a),0!==m&&t.arc(c*m+r,s-u*m+a,m,u>0?Math.PI/2:-Math.PI/2,c>0?Math.PI:0,f),t.lineTo(r,u*h+a),0!==h&&t.arc(c*h+r,u*h+a,h,c>0?Math.PI:0,u>0?1.5*Math.PI:Math.PI/2,f)}else t.rect(r,a,l,s)}OX.props={};var O4=function(t){function e(){var e=t.apply(this,(0,tM.ev)([],(0,tM.CR)(arguments),!1))||this;return e.name="canvas-path-generator",e}return(0,tM.ZT)(e,t),e.prototype.init=function(){var t,e=((t={})[t_.bn.CIRCLE]=OK,t[t_.bn.ELLIPSE]=OJ,t[t_.bn.RECT]=O3,t[t_.bn.LINE]=O0,t[t_.bn.POLYLINE]=O5,t[t_.bn.POLYGON]=O2,t[t_.bn.PATH]=O1,t[t_.bn.TEXT]=void 0,t[t_.bn.GROUP]=void 0,t[t_.bn.IMAGE]=void 0,t[t_.bn.HTML]=void 0,t[t_.bn.MESH]=void 0,t);this.context.pathGeneratorFactory=e},e.prototype.destroy=function(){delete this.context.pathGeneratorFactory},e}(t_.F6),O6=n(56310),O8=n(58963),O9=tS.Ue(),O7=tS.Ue(),wt=tS.Ue(),we=tA.create(),wn=function(){function t(){var t=this;this.isHit=function(e,n,r,i){var a=t.context.pointInPathPickerFactory[e.nodeName];if(a){var o=tA.invert(we,r),l=tS.fF(O7,tS.t8(wt,n[0],n[1],0),o);if(a(e,new t_.E9(l[0],l[1]),i,t.isPointInPath,t.context,t.runtime))return!0}return!1},this.isPointInPath=function(e,n){var r=t.runtime.offscreenCanvasCreator.getOrCreateContext(t.context.config.offscreenCanvas),i=t.context.pathGeneratorFactory[e.nodeName];return i&&(r.beginPath(),i(r,e.parsedStyle),r.closePath()),r.isPointInPath(n.x,n.y)}}return t.prototype.apply=function(e,n){var r,i=this,a=e.renderingService,o=e.renderingContext;this.context=e,this.runtime=n;var l=null===(r=o.root)||void 0===r?void 0:r.ownerDocument;a.hooks.pick.tapPromise(t.tag,function(t){return(0,tM.mG)(i,void 0,void 0,function(){return(0,tM.Jh)(this,function(e){return[2,this.pick(l,t)]})})}),a.hooks.pickSync.tap(t.tag,function(t){return i.pick(l,t)})},t.prototype.pick=function(t,e){var n,r,i=e.topmost,a=e.position,o=a.x,l=a.y,s=tS.t8(O9,o,l,0),c=t.elementsFromBBox(s[0],s[1],s[0],s[1]),u=[];try{for(var f=(0,tM.XA)(c),d=f.next();!d.done;d=f.next()){var h=d.value,p=h.getWorldTransform();if(this.isHit(h,s,p,!1)){var g=(0,t_.Oi)(h);if(g){var m=g.parsedStyle.clipPath;if(this.isHit(m,s,m.getWorldTransform(),!0)){if(i)return e.picked=[h],e;u.push(h)}}else{if(i)return e.picked=[h],e;u.push(h)}}}}catch(t){n={error:t}}finally{try{d&&!d.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}return e.picked=u,e},t.tag="CanvasPicker",t}();function wr(t,e,n){var r=t.parsedStyle,i=r.cx,a=r.cy,o=r.r,l=r.fill,s=r.stroke,c=r.lineWidth,u=r.increasedLineWidthForHitTesting,f=r.pointerEvents,d=((void 0===c?1:c)+(void 0===u?0:u))/2,h=(0,O6.TE)(void 0===i?0:i,void 0===a?0:a,e.x,e.y),p=(0,tM.CR)((0,t_.L1)(void 0===f?"auto":f,l,s),2),g=p[0],m=p[1];return g&&m||n?h<=o+d:g?h<=o:!!m&&h>=o-d&&h<=o+d}function wi(t,e,n){var r,i,a,o,l,s,c=t.parsedStyle,u=c.cx,f=void 0===u?0:u,d=c.cy,h=void 0===d?0:d,p=c.rx,g=c.ry,m=c.fill,y=c.stroke,v=c.lineWidth,b=c.increasedLineWidthForHitTesting,x=c.pointerEvents,O=e.x,w=e.y,_=(0,tM.CR)((0,t_.L1)(void 0===x?"auto":x,m,y),2),M=_[0],k=_[1],C=((void 0===v?1:v)+(void 0===b?0:b))/2,j=(O-f)*(O-f),A=(w-h)*(w-h);return M&&k||n?1>=j/((r=p+C)*r)+A/((i=g+C)*i):M?1>=j/(p*p)+A/(g*g):!!k&&j/((a=p-C)*a)+A/((o=g-C)*o)>=1&&1>=j/((l=p+C)*l)+A/((s=g+C)*s)}function wa(t,e,n,r,i,a){return i>=t&&i<=t+n&&a>=e&&a<=e+r}function wo(t,e,n,r,i,a,o,l){var s=(Math.atan2(l-e,o-t)+2*Math.PI)%(2*Math.PI),c={x:t+n*Math.cos(s),y:e+n*Math.sin(s)};return(0,O6.TE)(c.x,c.y,o,l)<=a/2}function wl(t,e,n,r,i,a,o){var l=Math.min(t,n),s=Math.max(t,n),c=Math.min(e,r),u=Math.max(e,r),f=i/2;return a>=l-f&&a<=s+f&&o>=c-f&&o<=u+f&&(0,O6._x)(t,e,n,r,a,o)<=i/2}function ws(t,e,n,r,i){var a=t.length;if(a<2)return!1;for(var o=0;oMath.abs(t)?0:t<0?-1:1}function wu(t,e,n){var r=!1,i=t.length;if(i<=2)return!1;for(var a=0;a0!=wc(s[1]-n)>0&&0>wc(e-(n-l[1])*(l[0]-s[0])/(l[1]-s[1])-l[0])&&(r=!r)}return r}function wf(t,e,n){for(var r=!1,i=0;ic&&g/p>d,e&&(e.resetTransform?e.resetTransform():e.setTransform(1,0,0,1,0,0),r.clearFullScreen&&r.clearRect(e,0,0,a*n,l*n,i.background))});var p=function(t,e){t.isVisible()&&!t.isCulled()&&r.renderDisplayObject(t,e,r.context,r.restoreStack,n),(t.sortable.sorted||t.childNodes).forEach(function(t){p(t,e)})};o.hooks.endFrame.tap(t.tag,function(){if(0===l.root.childNodes.length){r.clearFullScreenLastFrame=!0;return}r.clearFullScreenLastFrame=!1;var t=u.getContext(),e=u.getDPR();if(tA.fromScaling(r.dprMatrix,[e,e,1]),tA.multiply(r.vpMatrix,r.dprMatrix,a.getOrthoMatrix()),r.clearFullScreen)p(l.root,t);else{var o=r.safeMergeAABB.apply(r,(0,tM.ev)([r.mergeDirtyAABBs(r.renderQueue)],(0,tM.CR)(r.removedRBushNodeAABBs.map(function(t){var e=t.minX,n=t.minY,r=t.maxX,i=t.maxY,a=new t_.mN;return a.setMinMax([e,n,0],[r,i,0]),a})),!1));if(r.removedRBushNodeAABBs=[],t_.mN.isEmpty(o)){r.renderQueue=[];return}var s=r.convertAABB2Rect(o),c=s.x,d=s.y,h=s.width,g=s.height,m=tS.fF(r.vec3a,[c,d,0],r.vpMatrix),y=tS.fF(r.vec3b,[c+h,d,0],r.vpMatrix),v=tS.fF(r.vec3c,[c,d+g,0],r.vpMatrix),b=tS.fF(r.vec3d,[c+h,d+g,0],r.vpMatrix),x=Math.min(m[0],y[0],b[0],v[0]),O=Math.min(m[1],y[1],b[1],v[1]),w=Math.max(m[0],y[0],b[0],v[0]),_=Math.max(m[1],y[1],b[1],v[1]),M=Math.floor(x),k=Math.floor(O),C=Math.ceil(w-x),j=Math.ceil(_-O);t.save(),r.clearRect(t,M,k,C,j,i.background),t.beginPath(),t.rect(M,k,C,j),t.clip(),t.setTransform(r.vpMatrix[0],r.vpMatrix[1],r.vpMatrix[4],r.vpMatrix[5],r.vpMatrix[12],r.vpMatrix[13]),i.renderer.getConfig().enableDirtyRectangleRenderingDebug&&f.dispatchEvent(new t_.Aw(t_.$6.DIRTY_RECTANGLE,{dirtyRect:{x:M,y:k,width:C,height:j}})),r.searchDirtyObjects(o).sort(function(t,e){return t.sortable.renderOrder-e.sortable.renderOrder}).forEach(function(e){e&&e.isVisible()&&!e.isCulled()&&r.renderDisplayObject(e,t,r.context,r.restoreStack,n)}),t.restore(),r.renderQueue.forEach(function(t){r.saveDirtyAABB(t)}),r.renderQueue=[]}r.restoreStack.forEach(function(){t.restore()}),r.restoreStack=[]}),o.hooks.render.tap(t.tag,function(t){r.clearFullScreen||r.renderQueue.push(t)})},t.prototype.clearRect=function(t,e,n,r,i,a){t.clearRect(e,n,r,i),a&&(t.fillStyle=a,t.fillRect(e,n,r,i))},t.prototype.renderDisplayObject=function(t,e,n,r,i){var a=t.nodeName,o=r[r.length-1];o&&!(t.compareDocumentPosition(o)&t_.NB.DOCUMENT_POSITION_CONTAINS)&&(e.restore(),r.pop());var l=this.context.styleRendererFactory[a],s=this.pathGeneratorFactory[a],c=t.parsedStyle.clipPath;if(c){this.applyWorldTransform(e,c);var u=this.pathGeneratorFactory[c.nodeName];u&&(e.save(),r.push(t),e.beginPath(),u(e,c.parsedStyle),e.closePath(),e.clip())}l&&(this.applyWorldTransform(e,t),e.save(),this.applyAttributesToContext(e,t)),s&&(e.beginPath(),s(e,t.parsedStyle),t.nodeName!==t_.bn.LINE&&t.nodeName!==t_.bn.PATH&&t.nodeName!==t_.bn.POLYLINE&&e.closePath()),l&&(l.render(e,t.parsedStyle,t,n,this,i),e.restore()),t.renderable.dirty=!1},t.prototype.convertAABB2Rect=function(t){var e=t.getMin(),n=t.getMax(),r=Math.floor(e[0]),i=Math.floor(e[1]);return{x:r,y:i,width:Math.ceil(n[0])-r,height:Math.ceil(n[1])-i}},t.prototype.mergeDirtyAABBs=function(t){var e=new t_.mN;return t.forEach(function(t){var n=t.getRenderBounds();e.add(n);var r=t.renderable.dirtyRenderBounds;r&&e.add(r)}),e},t.prototype.searchDirtyObjects=function(t){var e=(0,tM.CR)(t.getMin(),2),n=e[0],r=e[1],i=(0,tM.CR)(t.getMax(),2),a=i[0],o=i[1];return this.rBush.search({minX:n,minY:r,maxX:a,maxY:o}).map(function(t){return t.displayObject})},t.prototype.saveDirtyAABB=function(t){var e=t.renderable;e.dirtyRenderBounds||(e.dirtyRenderBounds=new t_.mN);var n=t.getRenderBounds();n&&e.dirtyRenderBounds.update(n.center,n.halfExtents)},t.prototype.applyAttributesToContext=function(t,e){var n=e.parsedStyle,r=n.stroke,i=n.fill,a=n.opacity,o=n.lineDash,l=n.lineDashOffset;o&&t.setLineDash(o),(0,tz.Z)(l)||(t.lineDashOffset=l),(0,tz.Z)(a)||(t.globalAlpha*=a),(0,tz.Z)(r)||Array.isArray(r)||r.isNone||(t.strokeStyle=e.attributes.stroke),(0,tz.Z)(i)||Array.isArray(i)||i.isNone||(t.fillStyle=e.attributes.fill)},t.prototype.applyWorldTransform=function(t,e,n){n?(tA.copy(this.tmpMat4,e.getLocalTransform()),tA.multiply(this.tmpMat4,n,this.tmpMat4),tA.multiply(this.tmpMat4,this.vpMatrix,this.tmpMat4)):(tA.copy(this.tmpMat4,e.getWorldTransform()),tA.multiply(this.tmpMat4,this.vpMatrix,this.tmpMat4)),t.setTransform(this.tmpMat4[0],this.tmpMat4[1],this.tmpMat4[4],this.tmpMat4[5],this.tmpMat4[12],this.tmpMat4[13])},t.prototype.safeMergeAABB=function(){for(var t=[],e=0;e0,M=(null==o?void 0:o.alpha)===0,k=!!(x&&x.length),C=!(0,tz.Z)(v)&&b>0,j=n.nodeName,A="inner"===y,S=_&&C&&(j===t_.bn.PATH||j===t_.bn.LINE||j===t_.bn.POLYLINE||M||A);w&&(t.globalAlpha=c*(void 0===u?1:u),S||wO(n,t,C),wM(t,n,o,l,r,i,a,this.imagePool),S||this.clearShadowAndFilter(t,k,C)),_&&(t.globalAlpha=c*(void 0===d?1:d),t.lineWidth=p,(0,tz.Z)(O)||(t.miterLimit=O),(0,tz.Z)(g)||(t.lineCap=g),(0,tz.Z)(m)||(t.lineJoin=m),S&&(A&&(t.globalCompositeOperation="source-atop"),wO(n,t,!0),A&&(wk(t,n,f,r,i,a,this.imagePool),t.globalCompositeOperation="source-over",this.clearShadowAndFilter(t,k,!0))),wk(t,n,f,r,i,a,this.imagePool))},t.prototype.clearShadowAndFilter=function(t,e,n){if(n&&(t.shadowColor="transparent",t.shadowBlur=0),e){var r=t.filter;!(0,tz.Z)(r)&&r.indexOf("drop-shadow")>-1&&(t.filter=r.replace(/drop-shadow\([^)]*\)/,"").trim()||"none")}},t}();function wO(t,e,n){var r=t.parsedStyle,i=r.filter,a=r.shadowColor,o=r.shadowBlur,l=r.shadowOffsetX,s=r.shadowOffsetY;i&&i.length&&(e.filter=t.style.filter),n&&(e.shadowColor=a.toString(),e.shadowBlur=o||0,e.shadowOffsetX=l||0,e.shadowOffsetY=s||0)}function ww(t,e,n,r,i,a,o){if("rect"===t.image.nodeName){var l,s,c=t.image.parsedStyle,u=c.width,f=c.height;s=r.contextService.getDPR();var d=r.config.offscreenCanvas;(l=a.offscreenCanvasCreator.getOrCreateCanvas(d)).width=u*s,l.height=f*s;var h=a.offscreenCanvasCreator.getOrCreateContext(d),p=[];t.image.forEach(function(t){i.renderDisplayObject(t,h,r,p,a)}),p.forEach(function(){h.restore()})}return o.getOrCreatePatternSync(t,n,l,s,e.getGeometryBounds().min,function(){e.renderable.dirty=!0,r.renderingService.dirtify()})}function w_(t,e,n,r){var i;if(t.type===t_.GL.LinearGradient||t.type===t_.GL.RadialGradient){var a=e.getGeometryBounds(),o=a&&2*a.halfExtents[0]||1,l=a&&2*a.halfExtents[1]||1,s=a&&a.min||[0,0];i=r.getOrCreateGradient((0,tM.pi)((0,tM.pi)({type:t.type},t.value),{min:s,width:o,height:l}),n)}return i}function wM(t,e,n,r,i,a,o,l,s){void 0===s&&(s=!1),Array.isArray(n)?n.forEach(function(n){t.fillStyle=w_(n,e,t,l),s||(r?t.fill(r):t.fill())}):((0,t_.R)(n)&&(t.fillStyle=ww(n,e,t,i,a,o,l)),s||(r?t.fill(r):t.fill()))}function wk(t,e,n,r,i,a,o,l){void 0===l&&(l=!1),Array.isArray(n)?n.forEach(function(n){t.strokeStyle=w_(n,e,t,o),l||t.stroke()}):((0,t_.R)(n)&&(t.strokeStyle=ww(n,e,t,r,i,a,o)),l||t.stroke())}var wC=function(){function t(t){this.imagePool=t}return t.prototype.render=function(t,e,n){var r,i=e.x,a=e.y,o=e.width,l=e.height,s=e.src,c=e.shadowColor,u=e.shadowBlur,f=o,d=l;if((0,tk.Z)(s)?r=this.imagePool.getImageSync(s):(f||(f=s.width),d||(d=s.height),r=s),r){wO(n,t,!(0,tz.Z)(c)&&u>0);try{t.drawImage(r,void 0===i?0:i,void 0===a?0:a,f,d)}catch(t){}}},t}(),wj=function(){function t(t){this.imagePool=t}return t.prototype.render=function(t,e,n,r,i,a){n.getBounds();var o=e.lineWidth,l=void 0===o?1:o,s=e.textAlign,c=void 0===s?"start":s,u=e.textBaseline,f=void 0===u?"alphabetic":u,d=e.lineJoin,h=e.miterLimit,p=void 0===h?10:h,g=e.letterSpacing,m=void 0===g?0:g,y=e.stroke,v=e.fill,b=e.fillRule,x=e.fillOpacity,O=void 0===x?1:x,w=e.strokeOpacity,_=void 0===w?1:w,M=e.opacity,k=void 0===M?1:M,C=e.metrics,j=e.x,A=e.y,S=e.dx,E=e.dy,P=e.shadowColor,R=e.shadowBlur,T=C.font,L=C.lines,I=C.height,N=C.lineHeight,B=C.lineMetrics;t.font=T,t.lineWidth=l,t.textAlign="middle"===c?"center":c;var D=f;a.enableCSSParsing||"alphabetic"!==D||(D="bottom"),t.lineJoin=void 0===d?"miter":d,(0,tz.Z)(p)||(t.miterLimit=p);var F=void 0===A?0:A;"middle"===f?F+=-I/2-N/2:"bottom"===f||"alphabetic"===f||"ideographic"===f?F+=-I:("top"===f||"hanging"===f)&&(F+=-N);var z=(void 0===j?0:j)+(S||0);F+=E||0,1===L.length&&("bottom"===D?(D="middle",F-=.5*I):"top"===D&&(D="middle",F+=.5*I)),t.textBaseline=D,wO(n,t,!(0,tz.Z)(P)&&R>0);for(var $=0;$=1?Math.ceil(n):1,this.dpr=n,this.$canvas&&(this.$canvas.width=this.dpr*t,this.$canvas.height=this.dpr*e,(0,t_.$p)(this.$canvas,t,e)),this.renderingContext.renderReasons.add(t_.Rr.CAMERA_CHANGED)},t.prototype.applyCursorStyle=function(t){this.$container&&this.$container.style&&(this.$container.style.cursor=t)},t.prototype.toDataURL=function(t){return void 0===t&&(t={}),(0,tM.mG)(this,void 0,void 0,function(){var e,n;return(0,tM.Jh)(this,function(r){return e=t.type,n=t.encoderOptions,[2,this.context.canvas.toDataURL(e,n)]})})},t}(),wB=function(t){function e(){var e=t.apply(this,(0,tM.ev)([],(0,tM.CR)(arguments),!1))||this;return e.name="canvas-context-register",e}return(0,tM.ZT)(e,t),e.prototype.init=function(){this.context.ContextService=wN},e.prototype.destroy=function(){delete this.context.ContextService},e}(t_.F6),wD=function(t){function e(e){var n=t.call(this,e)||this;return n.registerPlugin(new wB),n.registerPlugin(new wI),n.registerPlugin(new O4),n.registerPlugin(new wA),n.registerPlugin(new wE),n.registerPlugin(new wv),n.registerPlugin(new wR),n}return(0,tM.ZT)(e,t),e}(t_.I8),wF=n(60788),wz=function(){function t(t){this.dragndropPluginOptions=t}return t.prototype.apply=function(e){var n=this,r=e.renderingService,i=e.renderingContext.root.ownerDocument,a=i.defaultView,o=function(t){var e=t.target,r=e===i,o=r&&n.dragndropPluginOptions.isDocumentDraggable?i:e.closest&&e.closest("[draggable=true]");if(o){var l=!1,s=t.timeStamp,c=[t.clientX,t.clientY],u=null,f=[t.clientX,t.clientY],d=function(t){return(0,tM.mG)(n,void 0,void 0,function(){var n,a,d,h,p,g;return(0,tM.Jh)(this,function(m){switch(m.label){case 0:if(!l){if(n=t.timeStamp-s,a=(0,wF.y)([t.clientX,t.clientY],c),n<=this.dragndropPluginOptions.dragstartTimeThreshold||a<=this.dragndropPluginOptions.dragstartDistanceThreshold)return[2];t.type="dragstart",o.dispatchEvent(t),l=!0}if(t.type="drag",t.dx=t.clientX-f[0],t.dy=t.clientY-f[1],o.dispatchEvent(t),f=[t.clientX,t.clientY],r)return[3,2];return d="pointer"===this.dragndropPluginOptions.overlap?[t.canvasX,t.canvasY]:e.getBounds().center,[4,i.elementsFromPoint(d[0],d[1])];case 1:u!==(g=(null==(p=(h=m.sent())[h.indexOf(e)+1])?void 0:p.closest("[droppable=true]"))||(this.dragndropPluginOptions.isDocumentDroppable?i:null))&&(u&&(t.type="dragleave",t.target=u,u.dispatchEvent(t)),g&&(t.type="dragenter",t.target=g,g.dispatchEvent(t)),(u=g)&&(t.type="dragover",t.target=u,u.dispatchEvent(t))),m.label=2;case 2:return[2]}})})};a.addEventListener("pointermove",d);var h=function(t){if(l){t.detail={preventClick:!0};var e=t.clone();u&&(e.type="drop",e.target=u,u.dispatchEvent(e)),e.type="dragend",o.dispatchEvent(e),l=!1}a.removeEventListener("pointermove",d)};e.addEventListener("pointerup",h,{once:!0}),e.addEventListener("pointerupoutside",h,{once:!0})}};r.hooks.init.tap(t.tag,function(){a.addEventListener("pointerdown",o)}),r.hooks.destroy.tap(t.tag,function(){a.removeEventListener("pointerdown",o)})},t.tag="Dragndrop",t}(),w$=function(t){function e(e){void 0===e&&(e={});var n=t.call(this)||this;return n.options=e,n.name="dragndrop",n}return(0,tM.ZT)(e,t),e.prototype.init=function(){this.addRenderingPlugin(new wz((0,tM.pi)({overlap:"pointer",isDocumentDraggable:!1,isDocumentDroppable:!1,dragstartDistanceThreshold:0,dragstartTimeThreshold:0},this.options)))},e.prototype.destroy=function(){this.removeAllRenderingPlugins()},e.prototype.setOptions=function(t){Object.assign(this.plugins[0].dragndropPluginOptions,t)},e}(t_.F6),wW=function(){function t(){this._events={}}return t.prototype.on=function(t,e,n){return this._events[t]||(this._events[t]=[]),this._events[t].push({callback:e,once:!!n}),this},t.prototype.once=function(t,e){return this.on(t,e,!0)},t.prototype.emit=function(t){for(var e=this,n=[],r=1;re.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let wq=t=>{let{important:e={}}=t,n=wG(t,["important"]);return r=>{let{theme:i,coordinate:a,scales:o}=r;return uc(Object.assign(Object.assign(Object.assign({},n),function(t){let e=t%(2*Math.PI);return e===Math.PI/2?{titleTransform:"translate(0, 50%)"}:e>-Math.PI/2&&eMath.PI/2&&e<3*Math.PI/2?{titleTransform:"translate(-50%, 0)"}:{}}(t.orientation)),{important:Object.assign(Object.assign({},function(t,e,n,r){let{radar:i}=t,[a]=r,o=a.getOptions().name,[l,s]=tw(n),{axisRadar:c={}}=e;return Object.assign(Object.assign({},c),{grid:"position"===o,gridConnect:"line",gridControlAngles:Array(i.count).fill(0).map((t,e)=>{let n=(s-l)/i.count;return n*e})})}(t,i,a,o)),e)}))(r)}};wq.props=Object.assign(Object.assign({},uc.props),{defaultPosition:"center"});let wV=t=>function(){for(var e=arguments.length,n=Array(e),r=0;re=>{let{scales:n}=e,r=ue(n,"size");return u1(Object.assign({},{type:"size",data:r.getTicks().map((t,e)=>({value:t,label:String(t)}))},t))(e)};wY.props=Object.assign(Object.assign({},u1.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let wU=t=>wY(Object.assign({},{block:!0},t));wU.props=Object.assign(Object.assign({},u1.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var wQ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let wX=function(){let{static:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e=>{let{width:n,height:r,depth:i,paddingLeft:a,paddingRight:o,paddingTop:l,paddingBottom:s,padding:c,inset:u,insetLeft:f,insetTop:d,insetRight:h,insetBottom:p,margin:g,marginLeft:m,marginBottom:y,marginTop:v,marginRight:b,data:x,coordinate:O,theme:w,component:_,interaction:M,x:k,y:C,z:j,key:A,frame:S,labelTransform:E,parentKey:P,clip:R,viewStyle:T,title:L}=e,I=wQ(e,["width","height","depth","paddingLeft","paddingRight","paddingTop","paddingBottom","padding","inset","insetLeft","insetTop","insetRight","insetBottom","margin","marginLeft","marginBottom","marginTop","marginRight","data","coordinate","theme","component","interaction","x","y","z","key","frame","labelTransform","parentKey","clip","viewStyle","title"]);return[Object.assign(Object.assign({type:"standardView",x:k,y:C,z:j,key:A,width:n,height:r,depth:i,padding:c,paddingLeft:a,paddingRight:o,paddingTop:l,inset:u,insetLeft:f,insetTop:d,insetRight:h,insetBottom:p,paddingBottom:s,theme:w,coordinate:O,component:_,interaction:M,frame:S,labelTransform:E,margin:g,marginLeft:m,marginBottom:y,marginTop:v,marginRight:b,parentKey:P,clip:R,style:T},!t&&{title:L}),{marks:[Object.assign(Object.assign(Object.assign({},I),{key:"".concat(A,"-0"),data:x}),t&&{title:L})]})]}};wX.props={};var wK=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let wJ=()=>t=>{let{children:e}=t,n=wK(t,["children"]);if(!Array.isArray(e))return[];let{data:r,scale:i={},axis:a={},legend:o={},encode:l={},transform:s=[]}=n,c=wK(n,["data","scale","axis","legend","encode","transform"]),u=e.map(t=>{var{data:e,scale:n={},axis:c={},legend:u={},encode:f={},transform:d=[]}=t,h=wK(t,["data","scale","axis","legend","encode","transform"]);return Object.assign({data:pP(e,r),scale:R({},i,n),encode:R({},l,f),transform:[...s,...d],axis:!!c&&!!a&&R({},a,c),legend:!!u&&!!o&&R({},o,u)},h)});return[Object.assign(Object.assign({},c),{marks:u,type:"standardView"})]};function w0(t,e,n,r){let i=e.length/2,a=e.slice(0,i),o=e.slice(i),l=p9(a,(t,e)=>Math.abs(t[1]-o[e][1]));l=Math.max(Math.min(l,i-2),1);let s=t=>[a[t][0],(a[t][1]+o[t][1])/2],c=s(l),u=s(l-1),f=s(l+1),d=eK(eU(f,u))/Math.PI*180;return{x:c[0],y:c[1],transform:"rotate(".concat(d,")"),textAlign:"center",textBaseline:"middle"}}function w1(t,e,n,r){let{bounds:i}=n,[[a,o],[l,s]]=i,c=l-a,u=s-o;return(t=>{let{x:e,y:r}=t,i=eH(n.x,c),l=eH(n.y,u);return Object.assign(Object.assign({},t),{x:(i||e)+a,y:(l||r)+o})})("left"===t?{x:0,y:u/2,textAlign:"start",textBaseline:"middle"}:"right"===t?{x:c,y:u/2,textAlign:"end",textBaseline:"middle"}:"top"===t?{x:c/2,y:0,textAlign:"center",textBaseline:"top"}:"bottom"===t?{x:c/2,y:u,textAlign:"center",textBaseline:"bottom"}:"top-left"===t?{x:0,y:0,textAlign:"start",textBaseline:"top"}:"top-right"===t?{x:c,y:0,textAlign:"end",textBaseline:"top"}:"bottom-left"===t?{x:0,y:u,textAlign:"start",textBaseline:"bottom"}:"bottom-right"===t?{x:c,y:u,textAlign:"end",textBaseline:"bottom"}:{x:c/2,y:u/2,textAlign:"center",textBaseline:"middle"})}function w2(t,e,n,r){let{y:i,y1:a,autoRotate:o,rotateToAlignArc:l}=n,s=r.getCenter(),c=nP(r,e,[i,a]),{innerRadius:u,outerRadius:f,startAngle:d,endAngle:h}=c,p="inside"===t?(d+h)/2:h,g=w3(p,o,l),m=(()=>{let[n,r]=e,[i,a]="inside"===t?w5(s,p,u+(f-u)*.5):e2(n,r);return{x:i,y:a}})();return Object.assign(Object.assign({},m),{textAlign:"inside"===t?"center":"start",textBaseline:"middle",rotate:g})}function w5(t,e,n){return[t[0]+Math.sin(e)*n,t[1]-Math.cos(e)*n]}function w3(t,e,n){if(!e)return 0;let r=n?0:0>Math.sin(t)?90:-90;return t/Math.PI*180+r}function w4(t,e,n,r){let{y:i,y1:a,autoRotate:o,rotateToAlignArc:l,radius:s=.5,offset:c=0}=n,u=nP(r,e,[i,a]),{startAngle:f,endAngle:d}=u,h=r.getCenter(),p=(f+d)/2,g=w3(p,o,l),{innerRadius:m,outerRadius:y}=u,[v,b]=w5(h,p,m+(y-m)*s+c);return Object.assign({x:v,y:b},{textAlign:"center",textBaseline:"middle",rotate:g})}function w6(t){return void 0===t?null:t}function w8(t,e,n,r){let{bounds:i}=n,[a]=i;return{x:w6(a[0]),y:w6(a[1])}}function w9(t,e,n,r){let{bounds:i}=n;if(1===i.length)return w8(t,e,n,r);let a=tm(r)?w2:tx(r)?w4:w1;return a(t,e,n,r)}function w7(t,e,n){let r=nP(n,t,[e.y,e.y1]),{innerRadius:i,outerRadius:a}=r;return i+(a-i)}function _t(t,e,n){let r=nP(n,t,[e.y,e.y1]),{startAngle:i,endAngle:a}=r;return(i+a)/2}function _e(t,e,n,r){let{autoRotate:i,rotateToAlignArc:a,offset:o=0,connector:l=!0,connectorLength:s=o,connectorLength2:c=0,connectorDistance:u=0}=n,f=r.getCenter(),d=_t(e,n,r),h=Math.sin(d)>0?1:-1,p=w3(d,i,a),g={textAlign:h>0||tm(r)?"start":"end",textBaseline:"middle",rotate:p},m=w7(e,n,r),y=m+(l?s:o),[[v,b],[x,O],[w,_]]=function(t,e,n,r,i){let[a,o]=w5(t,e,n),[l,s]=w5(t,e,r),c=Math.sin(e)>0?1:-1;return[[a,o],[l,s],[l+c*i,s]]}(f,d,m,y,l?c:0),M=l?+u*h:0,k=w+M;return Object.assign(Object.assign({x0:v,y0:b,x:w+M,y:_},g),{connector:l,connectorPoints:[[x-k,O-_],[w-k,_-_]]})}function _n(t,e,n,r){let{bounds:i}=n;if(1===i.length)return w8(t,e,n,r);let a=tm(r)?w2:tx(r)?_e:w1;return a(t,e,n,r)}function _r(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{labelHeight:n=14,height:r}=e,i=fO(t,t=>t.y),a=i.length,o=Array(a);for(let t=0;t0;t--){let e=o[t],n=o[t-1];if(n.y1>e.y){l=!0,n.labels.push(...e.labels),o.splice(t,1),n.y1+=e.y1-e.y;let i=n.y1-n.y;n.y1=Math.max(Math.min(n.y1,r),i),n.y=n.y1-i}}}let s=0;for(let t of o){let{y:e,labels:r}=t,a=e-n;for(let t of r){let e=i[s++],r=a+n,o=r-t;e.connectorPoints[0][1]-=o,e.y=a+n,a+=n}}}function _i(t,e){let n=fO(t,t=>t.y),{height:r,labelHeight:i=14}=e,a=Math.ceil(r/i);if(n.length<=a)return _r(n,e);let o=[];for(let t=0;te.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let _o=new WeakMap;function _l(t,e,n,r,i,a){if(!tx(r))return{};if(_o.has(e))return _o.get(e);let o=a.map(t=>(function(t,e,n){let{connectorLength:r,connectorLength2:i,connectorDistance:a}=e,o=_a(_e("outside",t,e,n),[]),l=n.getCenter(),s=w7(t,e,n),c=_t(t,e,n),u=Math.sin(c)>0?1:-1,f=l[0]+(s+r+i+ +a)*u,{x:d}=o,h=f-d;return o.x+=h,o.connectorPoints[0][0]-=h,o})(t,n,r)),{width:l,height:s}=r.getOptions(),c=o.filter(t=>t.xt.x>=l/2),f=Object.assign(Object.assign({},i),{height:s});return _i(c,f),_i(u,f),o.forEach((t,e)=>_o.set(a[e],t)),_o.get(e)}var _s=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function _c(t,e,n,r){if(!tx(r))return{};let{connectorLength:i,connectorLength2:a,connectorDistance:o}=n,l=_s(_e("outside",e,n,r),[]),{x0:s,y0:c}=l,u=r.getCenter(),f=function(t){if(tx(t)){let[e,n]=t.getSize(),r=t.getOptions().transformations.find(t=>"polar"===t[0]);if(r)return Math.max(e,n)/2*r[4]}return 0}(r),d=eJ([s-u[0],c-u[1]]),h=Math.sin(d)>0?1:-1,[p,g]=w5(u,d,f+i);return l.x=p+(a+o)*h,l.y=g,l}var _u=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let _f=(t,e)=>{let{coordinate:n,theme:r}=e,{render:i}=t;return(e,a,o,l)=>{let{text:s,x:c,y:f,transform:d="",transformOrigin:h,className:p=""}=a,g=_u(a,["text","x","y","transform","transformOrigin","className"]),m=function(t,e,n,r,i,a){let{position:o}=e,{render:l}=i,s=void 0!==o?o:tx(n)?"inside":tp(n)?"right":"top",c=l?"htmlLabel":"inside"===s?"innerLabel":"label",f=r[c],d=Object.assign({},f,e),h=u[hD(s)];if(!h)throw Error("Unknown position: ".concat(s));return Object.assign(Object.assign({},f),h(s,t,d,n,i,a))}(e,a,n,r,t,l),{rotate:y=0,transform:v=""}=m,b=_u(m,["rotate","transform"]);return eV(new al).call(nj,b).style("text","".concat(s)).style("className","".concat(p," g2-label")).style("innerHTML",i?i(s,a.datum,a.index):void 0).style("labelTransform","".concat(v," rotate(").concat(+y,") ").concat(d).trim()).style("labelTransformOrigin",h).style("coordCenter",n.getCenter()).call(nj,g).node()}};_f.props={defaultMarker:"point"};var _d=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function _h(t,e){let n=Object.assign(Object.assign({},{"component.axisRadar":wq,"component.axisLinear":uc,"component.axisArc":uu,"component.legendContinuousBlock":wV,"component.legendContinuousBlockSize":wU,"component.legendContinuousSize":wY,"interaction.event":dK,"composition.mark":wX,"composition.view":wJ,"shape.label.label":_f}),e),r=e=>{if("string"!=typeof e)return e;let r="".concat(t,".").concat(e);return n[r]||eD("Unknown Component: ".concat(r))};return[(t,e)=>{let{type:n}=t,i=_d(t,["type"]);n||eD("Plot type is required!");let a=r(n);return null==a?void 0:a(i,e)},r]}function _p(t){let{canvas:e,group:n}=t;return(null==e?void 0:e.document)||(null==n?void 0:n.ownerDocument)||eD("Cannot find library document")}var _g=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function _m(t,e){let{coordinate:n={},coordinates:r}=t,i=_g(t,["coordinate","coordinates"]);if(r)return t;let{type:a,transform:o=[]}=n,l=_g(n,["type","transform"]);if(!a)return Object.assign(Object.assign({},i),{coordinates:o});let[,s]=_h("coordinate",e),{transform:c=!1}=s(a).props||{};if(c)throw Error("Unknown coordinate: ".concat(a,"."));return Object.assign(Object.assign({},i),{coordinates:[Object.assign({type:a},l),...o]})}function _y(t,e){return t.filter(t=>t.type===e)}function _v(t){return _y(t,"polar").length>0}function _b(t){return _y(t,"transpose").length%2==1}function _x(t){return _y(t,"theta").length>0}function _O(t){return _y(t,"radial").length>0}function _w(t){for(var e=t.length/6|0,n=Array(e),r=0;r(0,_L.hD)(t[t.length-1]),_N=[,,,].concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(_w),_B=_I(_N),_D=[,,,].concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(_w),_F=_I(_D),_z=[,,,].concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(_w),_$=_I(_z),_W=[,,,].concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(_w),_Z=_I(_W),_H=[,,,].concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(_w),_G=_I(_H),_q=[,,,].concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(_w),_V=_I(_q),_Y=[,,,].concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(_w),_U=_I(_Y),_Q=[,,,].concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(_w),_X=_I(_Q),_K=[,,,].concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(_w),_J=_I(_K),_0=[,,,].concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(_w),_1=_I(_0),_2=[,,,].concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(_w),_5=_I(_2),_3=[,,,].concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(_w),_4=_I(_3),_6=[,,,].concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(_w),_8=_I(_6),_9=[,,,].concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(_w),_7=_I(_9),Mt=[,,,].concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(_w),Me=_I(Mt),Mn=[,,,].concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(_w),Mr=_I(Mn),Mi=[,,,].concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(_w),Ma=_I(Mi),Mo=[,,,].concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(_w),Ml=_I(Mo),Ms=[,,,].concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(_w),Mc=_I(Ms),Mu=[,,,].concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(_w),Mf=_I(Mu),Md=[,,,].concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(_w),Mh=_I(Md),Mp=[,,,].concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(_w),Mg=_I(Mp),Mm=[,,,].concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(_w),My=_I(Mm),Mv=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(_w),Mb=_I(Mv),Mx=[,,,].concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(_w),MO=_I(Mx),Mw=[,,,].concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(_w),M_=_I(Mw),MM=[,,,].concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(_w),Mk=_I(MM);function MC(t){return"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-(t=Math.max(0,Math.min(1,t)))*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"}var Mj=n(59918),MA=n(68053);let MS=Math.PI/180,ME=180/Math.PI;var MP=-1.78277*.29227-.1347134789;function MR(t,e,n,r){return 1==arguments.length?function(t){if(t instanceof MT)return new MT(t.h,t.s,t.l,t.opacity);t instanceof MA.Ss||(t=(0,MA.SU)(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(MP*r+-1.7884503806*e-3.5172982438*n)/(MP+-1.7884503806-3.5172982438),a=r-i,o=-((1.97294*(n-i)- -.29227*a)/.90649),l=Math.sqrt(o*o+a*a)/(1.97294*i*(1-i)),s=l?Math.atan2(o,a)*ME-120:NaN;return new MT(s<0?s+360:s,l,i,t.opacity)}(t):new MT(t,e,n,null==r?1:r)}function MT(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}(0,Mj.Z)(MT,MR,(0,Mj.l)(MA.Il,{brighter(t){return t=null==t?MA.J5:Math.pow(MA.J5,t),new MT(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?MA.xV:Math.pow(MA.xV,t),new MT(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=isNaN(this.h)?0:(this.h+120)*MS,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new MA.Ss(255*(e+n*(-.14861*r+1.78277*i)),255*(e+n*(-.29227*r+-.90649*i)),255*(e+n*(1.97294*r)),this.opacity)}}));var ML=n(31271);function MI(t){return function e(n){function r(e,r){var i=t((e=MR(e)).h,(r=MR(r)).h),a=(0,ML.ZP)(e.s,r.s),o=(0,ML.ZP)(e.l,r.l),l=(0,ML.ZP)(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=a(t),e.l=o(Math.pow(t,n)),e.opacity=l(t),e+""}}return n=+n,r.gamma=e,r}(1)}MI(ML.wx);var MN=MI(ML.ZP),MB=MN(MR(300,.5,0),MR(-240,.5,1)),MD=MN(MR(-100,.75,.35),MR(80,1.5,.8)),MF=MN(MR(260,.75,.35),MR(80,1.5,.8)),Mz=MR();function M$(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return Mz.h=360*t-100,Mz.s=1.5-1.5*e,Mz.l=.8-.9*e,Mz+""}var MW=(0,MA.B8)(),MZ=Math.PI/3,MH=2*Math.PI/3;function MG(t){var e;return t=(.5-t)*Math.PI,MW.r=255*(e=Math.sin(t))*e,MW.g=255*(e=Math.sin(t+MZ))*e,MW.b=255*(e=Math.sin(t+MH))*e,MW+""}function Mq(t){return"rgb("+Math.max(0,Math.min(255,Math.round(34.61+(t=Math.max(0,Math.min(1,t)))*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"}function MV(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var MY=MV(_w("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),MU=MV(_w("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),MQ=MV(_w("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),MX=MV(_w("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function MK(t,e){let n=Object.keys(t);for(let r of Object.values(e)){let{name:e}=r.getOptions();if(e in t){let i=n.filter(t=>t.startsWith(e)).map(t=>+(t.replace(e,"")||0)),a=oD(i)+1,o="".concat(e).concat(a);t[o]=r,r.getOptions().key=o}else t[e]=r}return t}function MJ(t,e){let n,r;let[i]=_h("scale",e),{relations:a}=t,[o]=a&&Array.isArray(a)?[t=>{var e;n=t.map.bind(t),r=null===(e=t.invert)||void 0===e?void 0:e.bind(t);let i=a.filter(t=>{let[e]=t;return"function"==typeof e}),o=a.filter(t=>{let[e]=t;return"function"!=typeof e}),l=new Map(o);if(t.map=t=>{for(let[e,n]of i)if(e(t))return n;return l.has(t)?l.get(t):n(t)},!r)return t;let s=new Map(o.map(t=>{let[e,n]=t;return[n,e]})),c=new Map(i.map(t=>{let[e,n]=t;return[n,e]}));return t.invert=t=>c.has(t)?t:s.has(t)?s.get(t):r(t),t},t=>(null!==n&&(t.map=n),null!==r&&(t.invert=r),t)]:[eI,eI],l=i(t);return o(l)}function M0(t,e){let n=t.filter(t=>{let{name:n,facet:r=!0}=t;return r&&n===e}),r=n.flatMap(t=>t.domain),i=n.every(M1)?nw(r):n.every(M2)?Array.from(new Set(r)):null;if(null!==i)for(let t of n)t.domain=i}function M1(t){let{type:e}=t;return"string"==typeof e&&["linear","log","pow","time"].includes(e)}function M2(t){let{type:e}=t;return"string"==typeof e&&["band","point","ordinal"].includes(e)}function M5(t,e,n,r,i){let[a]=_h("palette",i),{category10:o,category20:l}=r,s=Array.from(new Set(n)).length<=o.length?o:l,{palette:c=s,offset:u}=e;if(Array.isArray(c))return c;try{return a({type:c})}catch(e){let t=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>t;if(!t)return null;let r=cH(t),i=f["scheme".concat(r)],a=f["interpolate".concat(r)];if(!i&&!a)return null;if(i){if(!i.some(Array.isArray))return i;let t=i[e.length];if(t)return t}return e.map((t,r)=>a(n(r/e.length)))}(c,n,u);if(t)return t;throw Error("Unknown Component: ".concat(c," "))}}function M3(t,e){return e||(t.startsWith("x")||t.startsWith("y")||t.startsWith("position")||t.startsWith("size")?"point":"ordinal")}function M4(t,e,n){return n||("color"!==t?"linear":e?"linear":"sequential")}function M6(t,e){if(0===t.length)return t;let{domainMin:n,domainMax:r}=e,[i,a]=t;return[null!=n?n:i,null!=r?r:a]}function M8(t){return M7(t,t=>{let e=typeof t;return"string"===e||"boolean"===e})}function M9(t){return M7(t,t=>t instanceof Date)}function M7(t,e){for(let n of t)if(n.some(e))return!0;return!1}let kt={linear:"linear",identity:"identity",log:"log",pow:"pow",sqrt:"sqrt",sequential:"sequential"},ke={threshold:"threshold",quantize:"quantize",quantile:"quantile"},kn={ordinal:"ordinal",band:"band",point:"point"},kr={constant:"constant"};var ki=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function ka(t,e,n,r,i){let[a]=_h("component",r),{scaleInstances:o,scale:l,bbox:s}=t,c=ki(t,["scaleInstances","scale","bbox"]),u=a(c);return u({coordinate:e,library:r,markState:i,scales:o,theme:n,value:{bbox:s,library:r},scale:l})}function ko(t,e){let n=["left","right","bottom","top"],r=eS(t,t=>{let{type:e,position:r,group:i}=t;return n.includes(r)?void 0===i?e.startsWith("legend")?"legend-".concat(r):Symbol("independent"):"independent"===i?Symbol("independent"):i:Symbol("independent")});return r.flatMap(t=>{let[,n]=t;if(1===n.length)return n[0];if(void 0!==e){let t=n.filter(t=>void 0!==t.length).map(t=>t.length),r=gw(t);if(r>e)return n.forEach(t=>t.group=Symbol("independent")),n;let i=n.length-t.length,a=(e-r)/i;n.forEach(t=>{void 0===t.length&&(t.length=a)})}let r=oD(n,t=>t.size),i=oD(n,t=>t.order),a=oD(n,t=>t.crossPadding),o=n[0].position;return{type:"group",size:r,order:i,position:o,children:n,crossPadding:a}})}function kl(t){let e=_y(t,"polar");if(e.length){let t=e[e.length-1],{startAngle:n,endAngle:r}=p(t);return[n,r]}let n=_y(t,"radial");if(n.length){let t=n[n.length-1],{startAngle:e,endAngle:r}=O(t);return[e,r]}return[-Math.PI/2,Math.PI/2*3]}function ks(t,e,n,r,i,a){let{type:o}=t;if(["left","right","bottom","top"].includes(r)&&"string"==typeof o)return(o.startsWith("axis")?kh:o.startsWith("group")?kc:o.startsWith("legendContinuous")?kp:"legendCategory"===o?kg:o.startsWith("slider")?kd:"title"===o?kf:o.startsWith("scrollbar")?ku:()=>{})(t,e,n,r,i,a)}function kc(t,e,n,r,i,a){let{children:o}=t,l=oD(o,t=>t.crossPadding);o.forEach(t=>t.crossPadding=l),o.forEach(t=>ks(t,e,n,r,i,a));let s=oD(o,t=>t.size);t.size=s,o.forEach(t=>t.size=s)}function ku(t,e,n,r,i,a){let{trackSize:o=6}=R({},i.scrollbar,t);t.size=o}function kf(t,e,n,r,i,a){let o=R({},i.title,t),{title:l,subtitle:s,spacing:c=0}=o,u=ki(o,["title","subtitle","spacing"]);if(l){let e=e$(u,"title"),n=kO(l,e);t.size=n.height}if(s){let e=e$(u,"subtitle"),n=kO(s,e);t.size+=c+n.height}}function kd(t,e,n,r,i,a){let{trackSize:o,handleIconSize:l}=(()=>{let{slider:e}=i;return R({},e,t)})(),s=Math.max(o,2.4*l);t.size=s}function kh(t,e,n,r,i,a){var o;t.transform=t.transform||[{type:"hide"}];let l="left"===r||"right"===r,s=kb(t,r,i),{tickLength:c=0,labelSpacing:u=0,titleSpacing:f=0,labelAutoRotate:d}=s,h=ki(s,["tickLength","labelSpacing","titleSpacing","labelAutoRotate"]),p=km(t,a),g=ky(h,p),m=c+u;if(g&&g.length){let r=oD(g,t=>t.width),i=oD(g,t=>t.height);if(l)t.size=r+m;else{let{tickFilter:a,labelTransform:l}=t;(function(t,e,n,r,i){let a=gw(e,t=>t.width);if(a>n)return!0;let o=t.clone();o.update({range:[0,n]});let l=kx(t,i),s=l.map(t=>o.map(t)+function(t,e){if(!t.getBandWidth)return 0;let n=t.getBandWidth(e)/2;return n}(o,t)),c=l.map((t,e)=>e),u=-r[0],f=n+r[1],d=(t,e)=>{let{width:n}=e;return[t-n/2,t+n/2]};for(let t=0;tf)return!0;let a=s[t+1];if(a){let[n]=d(a,e[t+1]);if(i>n)return!0}}return!1})(p,g,e,n,a)&&!l&&!1!==d&&null!==d?(t.labelTransform="rotate(90)",t.size=r+m):(t.labelTransform=null!==(o=t.labelTransform)&&void 0!==o?o:"rotate(0)",t.size=i+m)}}else t.size=c;let y=kv(h);y&&(l?t.size+=f+y.width:t.size+=f+y.height)}function kp(t,e,n,r,i,a){let o=(()=>{let{legendContinuous:e}=i;return R({},e,t)})(),{labelSpacing:l=0,titleSpacing:s=0}=o,c=ki(o,["labelSpacing","titleSpacing"]),u="left"===r||"right"===r,f=e$(c,"ribbon"),{size:d}=f,h=e$(c,"handleIcon"),{size:p}=h,g=Math.max(d,2.4*p);t.size=g;let m=km(t,a),y=ky(c,m);if(y){let e=u?"width":"height",n=oD(y,t=>t[e]);t.size+=n+l}let v=kv(c);v&&(u?t.size=Math.max(t.size,v.width):t.size+=s+v.height)}function kg(t,e,n,r,i,a){let o=(()=>{let{legendCategory:e}=i,{title:n}=t,[r,a]=Array.isArray(n)?[n,void 0]:[void 0,n];return R({title:r},e,Object.assign(Object.assign({},t),{title:a}))})(),{itemSpacing:l,itemMarkerSize:s,titleSpacing:c,rowPadding:u,colPadding:f,maxCols:d=1/0,maxRows:h=1/0}=o,p=ki(o,["itemSpacing","itemMarkerSize","titleSpacing","rowPadding","colPadding","maxCols","maxRows"]),{cols:g,length:m}=t,y=t=>Math.min(t,h),v=t=>Math.min(t,d),b="left"===r||"right"===r,x=void 0===m?e+(b?0:n[0]+n[1]):m,O=kv(p),w=km(t,a),_=ky(p,w,"itemLabel"),M=Math.max(_[0].height,s)+u,k=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return s+t+l[0]+e};b?(()=>{let e=-1/0,n=0,r=1,i=0,a=-1/0,o=-1/0,l=O?O.height:0,s=x-l;for(let{width:t}of _){let l=k(t,f);e=Math.max(e,l),n+M>s?(r++,a=Math.max(a,i),o=Math.max(o,n),i=1,n=M):(n+=M,i++)}r<=1&&(a=i,o=n),t.size=e*v(r),t.length=o+l,R(t,{cols:v(r),gridRow:a})})():"number"==typeof g?(()=>{let e=Math.ceil(_.length/g),n=oD(_,t=>k(t.width))*g;t.size=M*y(e)-u,t.length=Math.min(n,x)})():(()=>{let e=1,n=0,r=-1/0;for(let{width:t}of _){let i=k(t,f);n+i>x?(r=Math.max(r,n),n=i,e++):n+=i}1===e&&(r=n),t.size=M*y(e)-u,t.length=r})(),O&&(b?t.size=Math.max(t.size,O.width):t.size+=c+O.height)}function km(t,e){let[n]=_h("scale",e),{scales:r,tickCount:i,tickMethod:a}=t,o=r.find(t=>"constant"!==t.type&&"identity"!==t.type);return void 0!==i&&(o.tickCount=i),void 0!==a&&(o.tickMethod=a),n(o)}function ky(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"label",{labelFormatter:r,tickFilter:i,label:a=!0}=t,o=ki(t,["labelFormatter","tickFilter","label"]);if(!a)return null;let l=function(t,e,n){let r=kx(t,n),i=r.map(t=>"number"==typeof t?e3(t):t),a=e?"string"==typeof e?yT(e):e:t.getFormatter?t.getFormatter():t=>"".concat(t);return i.map(a)}(e,r,i),s=e$(o,n),c=l.map((t,e)=>Object.fromEntries(Object.entries(s).map(n=>{let[r,i]=n;return[r,"function"==typeof i?i(t,e):i]}))),u=l.map((t,e)=>{let n=c[e];return kO(t,n)}),f=c.some(t=>t.transform);if(!f){let e=l.map((t,e)=>e);t.indexBBox=new Map(e.map(t=>[t,[l[t],u[t]]]))}return u}function kv(t){let{title:e}=t,n=ki(t,["title"]);if(!1===e||null==e)return null;let r=e$(n,"title"),{direction:i,transform:a}=r,o=Array.isArray(e)?e.join(","):e;if("string"!=typeof o)return null;let l=kO(o,Object.assign(Object.assign({},r),{transform:a||("vertical"===i?"rotate(-90)":"")}));return l}function kb(t,e,n){let{title:r}=t,[i,a]=Array.isArray(r)?[r,void 0]:[void 0,r],{axis:o,["axis".concat(eB(e))]:l}=n;return R({title:i},o,l,Object.assign(Object.assign({},t),{title:a}))}function kx(t,e){let n=t.getTicks?t.getTicks():t.getOptions().domain;return e?n.filter(e):n}function kO(t,e){let n=t instanceof t_.s$?t:new t_.xv({style:{text:"".concat(t)}}),{filter:r}=e,i=ki(e,["filter"]);n.attr(Object.assign(Object.assign({},i),{visibility:"none"}));let a=n.getBBox();return a}function kw(t,e,n,r,i,a,o){let l=eA(t,t=>t.position),{padding:s=a.padding,paddingLeft:c=s,paddingRight:u=s,paddingBottom:f=s,paddingTop:d=s}=i,h={paddingBottom:f,paddingLeft:c,paddingTop:d,paddingRight:u};for(let t of r){let r="padding".concat(eB(hD(t))),i=l.get(t)||[],s=h[r],c=t=>{void 0===t.size&&(t.size=t.defaultSize)},u=t=>{"group"===t.type?(t.children.forEach(c),t.size=oD(t.children,t=>t.size)):t.size=t.defaultSize},f=r=>{r.size||("auto"!==s?u(r):(ks(r,e,n,t,a,o),c(r)))},d=t=>{t.type.startsWith("axis")&&void 0===t.labelAutoHide&&(t.labelAutoHide=!0)},p="bottom"===t||"top"===t,g=oB(i,t=>t.order),m=i.filter(t=>t.type.startsWith("axis")&&t.order==g);if(m.length&&(m[0].crossPadding=0),"number"==typeof s)i.forEach(c),i.forEach(d);else if(0===i.length)h[r]=0;else{let t=p?e+n[0]+n[1]:e,a=ko(i,t);a.forEach(f);let o=a.reduce((t,e)=>{let{size:n,crossPadding:r=12}=e;return t+n+r},0);h[r]=o}}return h}function k_(t){let{width:e,height:n,paddingLeft:r,paddingRight:i,paddingTop:a,paddingBottom:o,marginLeft:l,marginTop:s,marginBottom:c,marginRight:u,innerHeight:f,innerWidth:d,insetBottom:h,insetLeft:p,insetRight:g,insetTop:m}=t,y=r+l,v=a+s,b=i+u,x=o+c,O=e-l-u,w=[y+p,v+m,d-p-g,f-m-h,"center",null,null];return{top:[y,0,d,v,"vertical",!0,fd,l,O],right:[e-b,v,b,f,"horizontal",!1,fd],bottom:[y,n-x,d,x,"vertical",!1,fd,l,O],left:[0,v,y,f,"horizontal",!0,fd],"top-left":[y,0,d,v,"vertical",!0,fd],"top-right":[y,0,d,v,"vertical",!0,fd],"bottom-left":[y,n-x,d,x,"vertical",!1,fd],"bottom-right":[y,n-x,d,x,"vertical",!1,fd],center:w,inner:w,outer:w}}var kM=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function kk(t,e,n){let{encode:r={},scale:i={},transform:a=[]}=e,o=kM(e,["encode","scale","transform"]);return[t,Object.assign(Object.assign({},o),{encode:r,scale:i,transform:a})]}function kC(t,e,n){var r,i,a,o;return r=this,i=void 0,a=void 0,o=function*(){let{library:t}=n,{data:r}=e,[i]=_h("data",t),a=function(t){if((0,tC.Z)(t))return{type:"inline",value:t};if(!t)return{type:"inline",value:null};if(Array.isArray(t))return{type:"inline",value:t};let{type:e="inline"}=t,n=kM(t,["type"]);return Object.assign(Object.assign({},n),{type:e})}(r),{transform:o=[]}=a,l=kM(a,["transform"]),s=[l,...o],c=s.map(t=>i(t,n)),u=yield(function(t){return t.reduce((t,e)=>n=>{var r,i,a,o;return r=this,i=void 0,a=void 0,o=function*(){let r=yield t(n);return e(r)},new(a||(a=Promise))(function(t,e){function n(t){try{s(o.next(t))}catch(t){e(t)}}function l(t){try{s(o.throw(t))}catch(t){e(t)}}function s(e){var r;e.done?t(e.value):((r=e.value)instanceof a?r:new a(function(t){t(r)})).then(n,l)}s((o=o.apply(r,i||[])).next())})},eI)})(c)(r),f=!r||Array.isArray(r)||Array.isArray(u)?u:{value:u};return[Array.isArray(u)?nM(u):[],Object.assign(Object.assign({},e),{data:f})]},new(a||(a=Promise))(function(t,e){function n(t){try{s(o.next(t))}catch(t){e(t)}}function l(t){try{s(o.throw(t))}catch(t){e(t)}}function s(e){var r;e.done?t(e.value):((r=e.value)instanceof a?r:new a(function(t){t(r)})).then(n,l)}s((o=o.apply(r,i||[])).next())})}function kj(t,e,n){let{encode:r}=e;if(!r)return[t,e];let i={};for(let[t,e]of Object.entries(r))if(Array.isArray(e))for(let n=0;n{if(function(t){if("object"!=typeof t||t instanceof Date||null===t)return!1;let{type:e}=t;return ez(e)}(t))return t;let e="function"==typeof t?"transform":"string"==typeof t&&Array.isArray(i)&&i.some(e=>void 0!==e[t])?"field":"constant";return{type:e,value:t}});return[t,Object.assign(Object.assign({},e),{encode:a})]}function kS(t,e,n){let{encode:r}=e;if(!r)return[t,e];let i=n_(r,(t,e)=>{var n;let{type:r}=t;return"constant"!==r||(n=e).startsWith("x")||n.startsWith("y")||n.startsWith("position")||"enterDelay"===n||"enterDuration"===n||"updateDelay"===n||"updateDuration"===n||"exitDelay"===n||"exitDuration"===n?t:Object.assign(Object.assign({},t),{constant:!0})});return[t,Object.assign(Object.assign({},e),{encode:i})]}function kE(t,e,n){let{encode:r,data:i}=e;if(!r)return[t,e];let{library:a}=n,o=function(t){let[e]=_h("encode",t);return(t,n)=>void 0===n||void 0===t?null:Object.assign(Object.assign({},n),{type:"column",value:e(n)(t),field:function(t){let{type:e,value:n}=t;return"field"===e&&"string"==typeof n?n:null}(n)})}(a),l=n_(r,t=>o(i,t));return[t,Object.assign(Object.assign({},e),{encode:l})]}function kP(t,e,n){let{tooltip:r={}}=e;return eq(r)?[t,e]:Array.isArray(r)?[t,Object.assign(Object.assign({},e),{tooltip:{items:r}})]:eG(r)&&vj(r)?[t,Object.assign(Object.assign({},e),{tooltip:r})]:[t,Object.assign(Object.assign({},e),{tooltip:{items:[r]}})]}function kR(t,e,n){let{data:r,encode:i,tooltip:a={}}=e;if(eq(a))return[t,e];let o=e=>{if(!e)return e;if("string"==typeof e)return t.map(t=>({name:e,value:r[t][e]}));if(eG(e)){let{field:n,channel:a,color:o,name:l=n,valueFormatter:s=t=>t}=e,c="string"==typeof s?yT(s):s,u=a&&i[a],f=u&&i[a].field,d=l||f||a,h=[];for(let e of t){let t=n?r[e][n]:u?i[a].value[e]:null;h[e]={name:d,color:o,value:c(t)}}return h}if("function"==typeof e){let n=[];for(let a of t){let t=e(r[a],a,r,i);eG(t)?n[a]=t:n[a]={value:t}}return n}return e},{title:l,items:s=[]}=a,c=kM(a,["title","items"]),u=Object.assign({title:o(l),items:Array.isArray(s)?s.map(o):[]},c);return[t,Object.assign(Object.assign({},e),{tooltip:u})]}function kT(t,e,n){let{encode:r}=e,i=kM(e,["encode"]);if(!r)return[t,e];let a=Object.entries(r),o=a.filter(t=>{let[,e]=t,{value:n}=e;return Array.isArray(n[0])}).flatMap(e=>{let[n,r]=e,i=[[n,Array(t.length).fill(void 0)]],{value:a}=r,o=kM(r,["value"]);for(let e=0;e{let[e,n]=t;return[e,Object.assign({type:"column",value:n},o)]})}),l=Object.fromEntries([...a,...o]);return[t,Object.assign(Object.assign({},i),{encode:l})]}function kL(t,e,n){let{axis:r={},legend:i={},slider:a={},scrollbar:o={}}=e,l=(t,e)=>{if("boolean"==typeof t)return t?{}:null;let n=t[e];return void 0===n||n?n:null},s="object"==typeof r?Array.from(new Set(["x","y","z",...Object.keys(r)])):["x","y","z"];return R(e,{scale:Object.assign(Object.assign({},Object.fromEntries(s.map(t=>{let e=l(o,t);return[t,Object.assign({guide:l(r,t),slider:l(a,t),scrollbar:e},e&&{ratio:void 0===e.ratio?.5:e.ratio})]}))),{color:{guide:l(i,"color")},size:{guide:l(i,"size")},shape:{guide:l(i,"shape")},opacity:{guide:l(i,"opacity")}})}),[t,e]}function kI(t,e,n){let{animate:r}=e;return r||void 0===r||R(e,{animate:{enter:{type:null},exit:{type:null},update:{type:null}}}),[t,e]}var kN=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})},kB=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},kD=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})},kF=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function kz(t){t.style("transform",t=>"translate(".concat(t.layout.x,", ").concat(t.layout.y,")"))}function k$(t,e){return kD(this,void 0,void 0,function*(){let{library:n}=e,r=yield function(t,e){return kD(this,void 0,void 0,function*(){let{library:n}=e,[r,i]=_h("mark",n),a=new Set(Object.keys(n).map(t=>{var e;return null===(e=/component\.(.*)/.exec(t))||void 0===e?void 0:e[1]}).filter(ez)),{marks:o}=t,l=[],s=[],c=[...o],{width:u,height:f}=function(t){let{height:e,width:n,padding:r=0,paddingLeft:i=r,paddingRight:a=r,paddingTop:o=r,paddingBottom:l=r,margin:s=16,marginLeft:c=s,marginRight:u=s,marginTop:f=s,marginBottom:d=s,inset:h=0,insetLeft:p=h,insetRight:g=h,insetTop:m=h,insetBottom:y=h}=t,v=t=>"auto"===t?20:t,b=n-v(i)-v(a)-c-u-p-g,x=e-v(o)-v(l)-f-d-m-y;return{width:b,height:x}}(t),d={options:t,width:u,height:f};for(;c.length;){let[t]=c.splice(0,1),n=yield kK(t,e),{type:o=eD("G2Mark type is required."),key:u}=n;if(a.has(o))s.push(n);else{let{props:t={}}=i(o),{composite:e=!0}=t;if(e){let{data:t}=n,e=Object.assign(Object.assign({},n),{data:t?Array.isArray(t)?t:t.value:t}),i=yield r(e,d),a=Array.isArray(i)?i:[i];c.unshift(...a.map((t,e)=>Object.assign(Object.assign({},t),{key:"".concat(u,"-").concat(e)})))}else l.push(n)}}return Object.assign(Object.assign({},t),{marks:l,components:s})})}(t,e),i=function(t){let{coordinate:e={},interaction:n={},style:r={},marks:i}=t,a=kF(t,["coordinate","interaction","style","marks"]),o=i.map(t=>t.coordinate||{}),l=i.map(t=>t.interaction||{}),s=i.map(t=>t.viewStyle||{}),c=[...o,e].reduceRight((t,e)=>R(t,e),{}),u=[n,...l].reduce((t,e)=>R(t,e),{}),f=[...s,r].reduce((t,e)=>R(t,e),{});return Object.assign(Object.assign({},a),{marks:i,coordinate:c,interaction:u,style:f})}(r);t.interaction=i.interaction,t.coordinate=i.coordinate,t.marks=[...i.marks,...i.components];let a=_m(i,n),o=yield kW(a,e);return kH(o,a,n)})}function kW(t,e){return kD(this,void 0,void 0,function*(){let{library:n}=e,[r]=_h("theme",n),[,i]=_h("mark",n),{theme:a,marks:o,coordinates:l=[]}=t,s=r(kQ(a)),c=new Map;for(let t of o){let{type:n}=t,{props:r={}}=i(n),a=yield function(t,e,n){return kN(this,void 0,void 0,function*(){let[r,i]=yield function(t,e,n){return kN(this,void 0,void 0,function*(){let{library:r}=n,[i]=_h("transform",r),{preInference:a=[],postInference:o=[]}=e,{transform:l=[]}=t,s=[kk,kC,kj,kA,kS,kE,kT,kI,kL,kP,...a.map(i),...l.map(i),...o.map(i),kR],c=[],u=t;for(let t of s)[c,u]=yield t(c,u,n);return[c,u]})}(t,e,n),{encode:a,scale:o,data:l,tooltip:s}=i;if(!1===Array.isArray(l))return null;let{channels:c}=e,u=eP(Object.entries(a).filter(t=>{let[,e]=t;return ez(e)}),t=>t.map(t=>{let[e,n]=t;return Object.assign({name:e},n)}),t=>{var e;let[n]=t,r=null===(e=/([^\d]+)\d*$/.exec(n))||void 0===e?void 0:e[1],i=c.find(t=>t.name===r);return(null==i?void 0:i.independent)?n:r}),f=c.filter(t=>{let{name:e,required:n}=t;if(u.find(t=>{let[n]=t;return n===e}))return!0;if(n)throw Error("Missing encoding for channel: ".concat(e,"."));return!1}).flatMap(t=>{let{name:e,scale:n,scaleKey:r,range:i,quantitative:a,ordinal:l}=t,s=u.filter(t=>{let[n]=t;return n.startsWith(e)});return s.map((t,e)=>{let[s,c]=t,u=c.some(t=>t.visual),f=c.some(t=>t.constant),d=o[s]||{},{independent:h=!1,key:p=r||s,type:g=f?"constant":u?"identity":n}=d,m=kB(d,["independent","key","type"]),y="constant"===g;return{name:s,values:c,scaleKey:h||y?Symbol("independent"):p,scale:Object.assign(Object.assign({type:g,range:y?void 0:i},m),{quantitative:a,ordinal:l})}})});return[i,Object.assign(Object.assign({},e),{index:r,channels:f,tooltip:s})]})}(t,r,e);if(a){let[t,e]=a;c.set(t,e)}}let u=eA(Array.from(c.values()).flatMap(t=>t.channels),t=>{let{scaleKey:e}=t;return e});for(let t of u.values()){let e=t.reduce((t,e)=>{let{scale:n}=e;return R(t,n)},{}),{scaleKey:r}=t[0],{values:i}=t[0],a=Array.from(new Set(i.map(t=>t.field).filter(ez))),o=R({guide:{title:0===a.length?void 0:a},field:a[0]},e),{name:c}=t[0],u=t.flatMap(t=>{let{values:e}=t;return e.map(t=>t.value)}),d=Object.assign(Object.assign({},function(t,e,n,r,i,a){let{guide:o={}}=n,l=function(t,e,n){let{type:r,domain:i,range:a,quantitative:o,ordinal:l}=n;return void 0!==r?r:M7(e,eG)?"identity":"string"==typeof a?"linear":(i||a||[]).length>2?M3(t,l):void 0!==i?M8([i])?M3(t,l):M9(e)?"time":M4(t,a,o):M8(e)?M3(t,l):M9(e)?"time":M4(t,a,o)}(t,e,n);if("string"!=typeof l)return n;let s=function(t,e,n,r){let{domain:i}=r;if(void 0!==i)return i;switch(t){case"linear":case"time":case"log":case"pow":case"sqrt":case"quantize":case"threshold":return M6(function(t,e){let{zero:n=!1}=e,r=1/0,i=-1/0;for(let e of t)for(let t of e)ez(t)&&(r=Math.min(r,+t),i=Math.max(i,+t));return r===1/0?[]:n?[Math.min(0,r),i]:[r,i]}(n,r),r);case"band":case"ordinal":case"point":return Array.from(new Set(n.flat()));case"quantile":return n.flat().sort();case"sequential":return M6(function(t){let e=1/0,n=-1/0;for(let r of t)for(let t of r)ez(t)&&(e=Math.min(e,+t),n=Math.max(n,+t));return e===1/0?[]:[e<0?-n:e,n]}(n),r);default:return[]}}(l,0,e,n),c=function(t,e,n){let{ratio:r}=n;return null==r?e:M1({type:t})?function(t,e,n){let r=t.map(Number),i=new nO({domain:r,range:[r[0],r[0]+(r[r.length-1]-r[0])*e]});return"time"===n?t.map(t=>new Date(i.map(t))):t.map(t=>i.map(t))}(e,r,t):M2({type:t})?function(t,e){let n=Math.round(t.length*e);return t.slice(0,n)}(e,r):e}(l,s,n);return Object.assign(Object.assign(Object.assign({},n),function(t,e,n,r,i){switch(t){case"linear":case"time":case"log":case"pow":case"sqrt":return function(t,e){let{interpolate:n=no,nice:r=!1,tickCount:i=5}=e;return Object.assign(Object.assign({},e),{interpolate:n,nice:r,tickCount:i})}(0,r);case"band":case"point":return function(t,e,n,r){if(void 0!==r.padding||void 0!==r.paddingInner||void 0!==r.paddingOuter)return Object.assign(Object.assign({},r),{unknown:NaN});let i="enterDelay"===e||"enterDuration"===e||"size"===e?0:"band"===t?_x(n)?0:.1:"point"===t?.5:0,{paddingInner:a=i,paddingOuter:o=i}=r;return Object.assign(Object.assign({},r),{paddingInner:a,paddingOuter:o,padding:i,unknown:NaN})}(t,e,i,r);case"sequential":return function(t){let{palette:e="ylGnBu",offset:n}=t,r=cH(e),i=f["interpolate".concat(r)];if(!i)throw Error("Unknown palette: ".concat(r));return{interpolator:n?t=>i(n(t)):i}}(r);default:return r}}(l,t,0,n,r)),{domain:c,range:function(t,e,n,r,i,a,o){let{range:l}=r;if("string"==typeof l)return l.split("-");if(void 0!==l)return l;let{rangeMin:s,rangeMax:c}=r;switch(t){case"linear":case"time":case"log":case"pow":case"sqrt":{let t=M5(n,r,i,a,o),[l,u]="enterDelay"===e?[0,1e3]:"enterDuration"==e?[300,1e3]:e.startsWith("y")||e.startsWith("position")?[1,0]:"color"===e?[t[0],nk(t)]:"opacity"===e?[0,1]:"size"===e?[1,10]:[0,1];return[null!=s?s:l,null!=c?c:u]}case"band":case"point":{let t="size"===e?5:0,n="size"===e?10:1;return[null!=s?s:t,null!=c?c:n]}case"ordinal":return M5(n,r,i,a,o);case"sequential":return;case"constant":return[n[0][0]];default:return[]}}(l,t,e,n,c,i,a),expectedDomain:s,guide:o,name:t,type:l})}(c,u,o,l,s,n)),{uid:Symbol("scale"),key:r});t.forEach(t=>t.scale=d)}return c})}function kZ(t,e,n,r){let i=t.theme,a="string"==typeof e&&i[e]||{},o=r(R(a,Object.assign({type:e},n)));return o}function kH(t,e,n){var r;let[i]=_h("mark",n),[a]=_h("theme",n),[o]=_h("labelTransform",n),{key:l,frame:s=!1,theme:c,clip:u,style:f={},labelTransform:d=[]}=e,h=a(kQ(c)),p=Array.from(t.values()),g=function(t,e){var n;let{components:r=[]}=e,i=["scale","encode","axis","legend","data","transform"],a=Array.from(new Set(t.flatMap(t=>t.channels.map(t=>t.scale)))),o=new Map(a.map(t=>[t.name,t]));for(let t of r){let e=function(t){let{channels:e=[],type:n,scale:r={}}=t,i=["shape","color","opacity","size"];return 0!==e.length?e:"axisX"===n?["x"]:"axisY"===n?["y"]:"legends"===n?Object.keys(r).filter(t=>i.includes(t)):[]}(t);for(let r of e){let e=o.get(r),l=(null===(n=t.scale)||void 0===n?void 0:n[r])||{},{independent:s=!1}=l;if(e&&!s){let{guide:n}=e,r="boolean"==typeof n?{}:n;e.guide=R({},r,t),Object.assign(e,l)}else{let e=Object.assign(Object.assign({},l),{expectedDomain:l.domain,name:r,guide:cZ(t,i)});a.push(e)}}}return a}(p,e),m=(function(t,e,n){let{coordinates:r=[],title:i}=e,[,a]=_h("component",n),o=t.filter(t=>{let{guide:e}=t;return null!==e}),l=[],s=function(t,e,n){let[,r]=_h("component",n),{coordinates:i}=t;function a(t,e,n,a){let o=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return"x"===t?_b(n)?"".concat(e,"Y"):"".concat(e,"X"):"y"===t?_b(n)?"".concat(e,"X"):"".concat(e,"Y"):null}(e,t,i);if(!a||!o)return;let{props:l}=r(o),{defaultPosition:s,defaultSize:c,defaultOrder:u,defaultCrossPadding:[f]}=l;return Object.assign(Object.assign({position:s,defaultSize:c,order:u,type:o,crossPadding:f},a),{scales:[n]})}return e.filter(t=>t.slider||t.scrollbar).flatMap(t=>{let{slider:e,scrollbar:n,name:r}=t;return[a("slider",r,t,e),a("scrollbar",r,t,n)]}).filter(t=>!!t)}(e,t,n);if(l.push(...s),i){let{props:t}=a("title"),{defaultPosition:e,defaultOrientation:n,defaultOrder:r,defaultSize:o,defaultCrossPadding:s}=t,c="string"==typeof i?{title:i}:i;l.push(Object.assign({type:"title",position:e,orientation:n,order:r,crossPadding:s[0],defaultSize:o},c))}let c=function(t,e){let n=t.filter(t=>(function(t){if(!t||!t.type)return!1;if("function"==typeof t.type)return!0;let{type:e,domain:n,range:r,interpolator:i}=t,a=n&&n.length>0,o=r&&r.length>0;return!!(["linear","sqrt","log","time","pow","threshold","quantize","quantile","ordinal","band","point"].includes(e)&&a&&o||["sequential"].includes(e)&&a&&(o||i)||["constant","identity"].includes(e)&&o)})(t));return[...function(t,e){let n=["shape","size","color","opacity"],r=(t,e)=>"constant"===t&&"size"===e,i=t.filter(t=>{let{type:e,name:i}=t;return"string"==typeof e&&n.includes(i)&&!r(e,i)}),a=i.filter(t=>{let{type:e}=t;return"constant"===e}),o=i.filter(t=>{let{type:e}=t;return"constant"!==e}),l=eS(o,t=>t.field?t.field:Symbol("independent")).map(t=>{let[e,n]=t;return[e,[...n,...a]]}).filter(t=>{let[,e]=t;return e.some(t=>"constant"!==t.type)}),s=new Map(l);if(0===s.size)return[];let c=t=>t.sort((t,e)=>{let[n]=t,[r]=e;return n.localeCompare(r)}),u=Array.from(s).map(t=>{let[,e]=t,n=(function(t){if(1===t.length)return[t];let e=[];for(let n=1;n<=t.length;n++)e.push(...function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;if(1===n)return e.map(t=>[t]);let r=[];for(let i=0;i{r.push([e[i],...t])})}return r}(t,n));return e})(e).sort((t,e)=>e.length-t.length),r=n.map(t=>({combination:t,option:t.map(t=>[t.name,function(t){let{type:e}=t;return"string"!=typeof e?null:e in kt?"continuous":e in kn?"discrete":e in ke?"distribution":e in kr?"constant":null}(t)])}));for(let{option:t,combination:e}of r)if(!t.every(t=>"constant"===t[1])&&t.every(t=>"discrete"===t[1]||"constant"===t[1]))return["legendCategory",e];for(let[t,e]of wZ)for(let{option:n,combination:i}of r)if(e.some(t=>ft(c(t),c(n))))return[t,i];return null}).filter(ez);return u}(n,0),...n.map(t=>{let{name:n}=t;if(_y(e,"helix").length>0||_x(e)||_b(e)&&(_v(e)||_O(e)))return null;if(n.startsWith("x"))return _v(e)?["axisArc",[t]]:_O(e)?["axisLinear",[t]]:[_b(e)?"axisY":"axisX",[t]];if(n.startsWith("y"))return _v(e)?["axisLinear",[t]]:_O(e)?["axisArc",[t]]:[_b(e)?"axisX":"axisY",[t]];if(n.startsWith("z"))return["axisZ",[t]];if(n.startsWith("position")){if(_y(e,"radar").length>0)return["axisRadar",[t]];if(!_v(e))return["axisY",[t]]}return null}).filter(ez)]}(o,r);return c.forEach(t=>{let[e,n]=t,{props:i}=a(e),{defaultPosition:s,defaultPlane:c="xy",defaultOrientation:u,defaultSize:f,defaultOrder:d,defaultLength:h,defaultPadding:p=[0,0],defaultCrossPadding:g=[0,0]}=i,m=R({},...n),{guide:y,field:v}=m,b=Array.isArray(y)?y:[y];for(let t of b){let[i,a]=function(t,e,n,r,i,a,o){let[l]=kl(o),s=[r.position||e,null!=l?l:n];return"string"==typeof t&&t.startsWith("axis")?function(t,e,n,r,i){let{name:a}=n[0];if("axisRadar"===t){let t=r.filter(t=>t.name.startsWith("position")),e=function(t){let e=/position(\d*)/g.exec(t);return e?+e[1]:null}(a);if(a===t.slice(-1)[0].name||null===e)return[null,null];let[n,o]=kl(i),l=(o-n)/(t.length-1)*e+n;return["center",l]}if("axisY"===t&&_y(i,"parallel").length>0)return _b(i)?["center","horizontal"]:["center","vertical"];if("axisLinear"===t){let[t]=kl(i);return["center",t]}return"axisArc"===t?"inner"===e[0]?["inner",null]:["outer",null]:_v(i)||_O(i)?["center",null]:"axisX"===t&&_y(i,"reflect").length>0||"axisX"===t&&_y(i,"reflectY").length>0?["top",null]:e}(t,s,i,a,o):"string"==typeof t&&t.startsWith("legend")&&_v(o)&&"center"===r.position?["center","vertical"]:s}(e,s,u,t,n,o,r);if(!i&&!a)continue;let m="left"===i||"right"===i,y=m?p[1]:p[0],b=m?g[1]:g[0],{size:x,order:O=d,length:w=h,padding:_=y,crossPadding:M=b}=t;l.push(Object.assign(Object.assign({title:v},t),{defaultSize:f,length:w,position:i,plane:c,orientation:a,padding:_,order:O,crossPadding:M,size:x,type:e,scales:n}))}}),l})(function(t,e,n){var r;for(let[e]of n.entries())if("cell"===e.type)return t.filter(t=>"shape"!==t.name);if(1!==e.length||t.some(t=>"shape"===t.name))return t;let{defaultShape:i}=e[0];if(!["point","line","rect","hollow"].includes(i))return t;let a=(null===(r=t.find(t=>"color"===t.name))||void 0===r?void 0:r.field)||null;return[...t,{field:a,name:"shape",type:"constant",domain:[],range:[{point:"point",line:"hyphen",rect:"square",hollow:"hollow"}[i]]}]}(Array.from(g),p,t),e,n).map(t=>{let e=R(t,t.style);return delete e.style,e}),y=function(t,e,n,r){var i,a;let{width:o,height:l,depth:s,x:c=0,y:u=0,z:f=0,inset:d=null!==(i=n.inset)&&void 0!==i?i:0,insetLeft:h=d,insetTop:p=d,insetBottom:g=d,insetRight:m=d,margin:y=null!==(a=n.margin)&&void 0!==a?a:0,marginLeft:v=y,marginBottom:b=y,marginTop:x=y,marginRight:O=y,padding:w=n.padding,paddingBottom:_=w,paddingLeft:M=w,paddingRight:k=w,paddingTop:C=w}=function(t,e,n,r){let{coordinates:i}=e;if(!_v(i)&&!_O(i))return e;let a=t.filter(t=>"string"==typeof t.type&&t.type.startsWith("axis"));if(0===a.length)return e;let o=a.map(t=>{let e="axisArc"===t.type?"arc":"linear";return kb(t,e,n)}),l=oD(o,t=>{var e;return null!==(e=t.labelSpacing)&&void 0!==e?e:0}),s=a.flatMap((t,e)=>{let n=o[e],i=km(t,r),a=ky(n,i);return a}).filter(ez),c=oD(s,t=>t.height)+l,u=a.flatMap((t,e)=>{let n=o[e];return kv(n)}).filter(t=>null!==t),f=0===u.length?0:oD(u,t=>t.height),{inset:d=c,insetLeft:h=d,insetBottom:p=d,insetTop:g=d+f,insetRight:m=d}=e;return Object.assign(Object.assign({},e),{insetLeft:h,insetBottom:p,insetTop:g,insetRight:m})}(t,e,n,r),j=1/4,A=(t,n,r,i,a)=>{let{marks:o}=e;if(0===o.length||t-i-a-t*j>0)return[i,a];let l=t*(1-j);return["auto"===n?l*i/(i+a):i,"auto"===r?l*a/(i+a):a]},S=t=>"auto"===t?20:null!=t?t:20,E=S(C),P=S(_),R=kw(t,l-E-P,[E+x,P+b],["left","right"],e,n,r),{paddingLeft:T,paddingRight:L}=R,I=o-v-O,[N,B]=A(I,M,k,T,L),D=I-N-B,F=kw(t,D,[N+v,B+O],["bottom","top"],e,n,r),{paddingTop:z,paddingBottom:$}=F,W=l-b-x,[Z,H]=A(W,_,C,$,z),G=W-Z-H;return{width:o,height:l,depth:s,insetLeft:h,insetTop:p,insetBottom:g,insetRight:m,innerWidth:D,innerHeight:G,paddingLeft:N,paddingRight:B,paddingTop:H,paddingBottom:Z,marginLeft:v,marginBottom:b,marginTop:x,marginRight:O,x:c,y:u,z:f}}(m,e,h,n),v=function(t,e,n){let[r]=_h("coordinate",n),{innerHeight:i,innerWidth:a,insetLeft:o,insetTop:l,insetRight:s,insetBottom:c}=t,{coordinates:u=[]}=e,f=u.find(t=>"cartesian"===t.type||"cartesian3D"===t.type)?u:[...u,{type:"cartesian"}],d="cartesian3D"===f[0].type,h=Object.assign(Object.assign({},t),{x:o,y:l,width:a-o-s,height:i-c-l,transformations:f.flatMap(r)}),p=d?new wH.Coordinate3D(h):new wH.Coordinate(h);return p}(y,e,n),b=s?R({mainLineWidth:1,mainStroke:"#000"},f):f;!function(t,e,n){let r=eA(t,t=>"".concat(t.plane||"xy","-").concat(t.position)),{paddingLeft:i,paddingRight:a,paddingTop:o,paddingBottom:l,marginLeft:s,marginTop:c,marginBottom:u,marginRight:f,innerHeight:d,innerWidth:h,insetBottom:p,insetLeft:g,insetRight:m,insetTop:y,height:v,width:b,depth:x}=n,O={xy:k_({width:b,height:v,paddingLeft:i,paddingRight:a,paddingTop:o,paddingBottom:l,marginLeft:s,marginTop:c,marginBottom:u,marginRight:f,innerHeight:d,innerWidth:h,insetBottom:p,insetLeft:g,insetRight:m,insetTop:y}),yz:k_({width:x,height:v,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:x,innerHeight:v,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0}),xz:k_({width:b,height:x,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:b,innerHeight:x,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0})};for(let[t,n]of r.entries()){let[r,i]=t.split("-"),a=O[r][i],[o,l]=nC(n,t=>"string"==typeof t.type&&!!("center"===i||t.type.startsWith("axis")&&["inner","outer"].includes(i)));o.length&&function(t,e,n,r){let[i,a]=nC(t,t=>!!("string"==typeof t.type&&t.type.startsWith("axis")));(function(t,e,n,r){if("center"===r){if(tv(e)&&tg(e))(function(t,e,n,r){let[i,a,o,l]=n;for(let e of t)e.bbox={x:i,y:a,width:o,height:l},e.radar={index:t.indexOf(e),count:t.length}})(t,0,n,0);else{var i;tg(e)?function(t,e,n){let[r,i,a,o]=n;for(let e of t)e.bbox={x:r,y:i,width:a,height:o}}(t,0,n):tv(e)&&("horizontal"===(i=t[0].orientation)?function(t,e,n){let[r,i,a]=n,o=Array(t.length).fill(0),l=e.map(o),s=l.filter((t,e)=>e%2==1).map(t=>t+i);for(let e=0;ee%2==0).map(t=>t+r);for(let e=0;enull==c?void 0:c(t.order,e.order));let x=t=>"title"===t||"group"===t||t.startsWith("legend"),O=(t,e,n)=>void 0===n?e:x(t)?n:e,w=(t,e,n)=>void 0===n?e:x(t)?n:e;for(let e=0,n=s?h+y:h;e"group"===t.type);for(let t of _){let{bbox:e,children:n}=t,r=e[v],i=r/n.length,a=n.reduce((t,e)=>{var n;let r=null===(n=e.layout)||void 0===n?void 0:n.justifyContent;return r||t},"flex-start"),o=n.map((t,e)=>{let{length:r=i,padding:a=0}=t;return r+(e===n.length-1?0:a)}),l=gw(o),s=r-l,c="flex-start"===a?0:"center"===a?s/2:s;for(let t=0,r=e[p]+c;t{let{type:e}=t;return"axisX"===e}),n=t.find(t=>{let{type:e}=t;return"axisY"===e}),r=t.find(t=>{let{type:e}=t;return"axisZ"===e});e&&n&&r&&(e.plane="xy",n.plane="xy",r.plane="yz",r.origin=[e.bbox.x,e.bbox.y,0],r.eulerAngles=[0,-90,0],r.bbox.x=e.bbox.x,r.bbox.y=e.bbox.y,t.push(Object.assign(Object.assign({},e),{plane:"xz",showLabel:!1,showTitle:!1,origin:[e.bbox.x,e.bbox.y,0],eulerAngles:[-90,0,0]})),t.push(Object.assign(Object.assign({},n),{plane:"yz",showLabel:!1,showTitle:!1,origin:[n.bbox.x+n.bbox.width,n.bbox.y,0],eulerAngles:[0,-90,0]})),t.push(Object.assign(Object.assign({},r),{plane:"xz",actualPosition:"left",showLabel:!1,showTitle:!1,eulerAngles:[90,-90,0]})))}(m);let x=new Map(Array.from(t.values()).flatMap(t=>{let{channels:e}=t;return e.map(t=>{let{scale:e}=t;return[e.uid,MJ(e,n)]})}));!function(t,e){let n=Array.from(t.values()).flatMap(t=>t.channels),r=eP(n,t=>t.map(t=>e.get(t.scale.uid)),t=>t.name).filter(t=>{let[,e]=t;return e.some(t=>"function"==typeof t.getOptions().groupTransform)&&e.every(t=>t.getTicks)}).map(t=>t[1]);r.forEach(t=>{let e=t.map(t=>t.getOptions().groupTransform)[0];e(t)})}(t,x);let O={};for(let t of m){let{scales:e=[]}=t,i=[];for(let t of e){let{name:e,uid:a}=t,o=null!==(r=x.get(a))&&void 0!==r?r:MJ(t,n);i.push(o),"y"===e&&o.update(Object.assign(Object.assign({},o.getOptions()),{xScale:O.x})),MK(O,{[e]:o})}t.scaleInstances=i}let w=[];for(let[e,n]of t.entries()){let{children:t,dataDomain:r,modifier:a,key:o}=e,{index:s,channels:c,tooltip:u}=n,f=Object.fromEntries(c.map(t=>{let{name:e,scale:n}=t;return[e,n]})),d=n_(f,t=>{let{uid:e}=t;return x.get(e)});MK(O,d);let h=function(t,e){let n={};for(let r of t){let{values:t,name:i}=r,a=e[i];for(let e of t){let{name:t,value:r}=e;n[t]=r.map(t=>a.map(t))}}return n}(c,d),p=i(e),[g,m,b]=function(t){let[e,n,r]=t;if(r)return[e,n,r];let i=[],a=[];for(let t=0;t{let[e,n]=t;return ez(e)&&ez(n)})&&(i.push(r),a.push(o))}return[i,a]}(p(s,d,h,v)),_=r||g.length,M=a?a(m,_,y):[],k=t=>{var e,n;return null===(n=null===(e=u.title)||void 0===e?void 0:e[t])||void 0===n?void 0:n.value},C=t=>u.items.map(e=>e[t]),j=g.map((t,e)=>{let n=Object.assign({points:m[e],transform:M[e],index:t,markKey:o,viewKey:l},u&&{title:k(t),items:C(t)});for(let[r,i]of Object.entries(h))n[r]=i[t],b&&(n["series".concat(cH(r))]=b[e].map(t=>i[t]));return b&&(n.seriesIndex=b[e]),b&&u&&(n.seriesItems=b[e].map(t=>C(t)),n.seriesTitle=b[e].map(t=>k(t))),n});n.data=j,n.index=g;let A=null==t?void 0:t(j,d,y);w.push(...A||[])}let _={layout:y,theme:h,coordinate:v,markState:t,key:l,clip:u,scale:O,style:b,components:m,labelTransform:eN(d.map(o))};return[_,w]}function kG(t,e,n,r){return kD(this,void 0,void 0,function*(){let{library:i}=r,{components:a,theme:o,layout:l,markState:s,coordinate:c,key:u,style:f,clip:d,scale:h}=t,{x:p,y:g,width:m,height:y}=l,v=kF(l,["x","y","width","height"]),b=["view","plot","main","content"],x=b.map((t,e)=>e),O=b.map(t=>eW(Object.assign({},o.view,f),t)),w=["a","margin","padding","inset"].map(t=>e$(v,t)),_=t=>t.style("x",t=>A[t].x).style("y",t=>A[t].y).style("width",t=>A[t].width).style("height",t=>A[t].height).each(function(t,e,n){!function(t,e){for(let[n,r]of Object.entries(e))t.style(n,r)}(eV(n),O[t])}),M=0,k=0,C=m,j=y,A=x.map(t=>{let e=w[t],{left:n=0,top:r=0,bottom:i=0,right:a=0}=e;return{x:M+=n,y:k+=r,width:C-=n+a,height:j-=r+i}});e.selectAll(k2(de)).data(x.filter(t=>ez(O[t])),t=>b[t]).join(t=>t.append("rect").attr("className",de).style("zIndex",-2).call(_),t=>t.call(_),t=>t.remove());let S=function(t){let e=-1/0,n=1/0;for(let[r,i]of t){let{animate:t={}}=r,{data:a}=i,{enter:o={},update:l={},exit:s={}}=t,{type:c,duration:u=300,delay:f=0}=l,{type:d,duration:h=300,delay:p=0}=o,{type:g,duration:m=300,delay:y=0}=s;for(let t of a){let{updateType:r=c,updateDuration:i=u,updateDelay:a=f,enterType:o=d,enterDuration:l=h,enterDelay:s=p,exitDuration:v=m,exitDelay:b=y,exitType:x=g}=t;(void 0===r||r)&&(e=Math.max(e,i+a),n=Math.min(n,a)),(void 0===x||x)&&(e=Math.max(e,v+b),n=Math.min(n,b)),(void 0===o||o)&&(e=Math.max(e,l+s),n=Math.min(n,s))}}return e===-1/0?null:[n,e-n]}(s),E=!!S&&{duration:S[1]};for(let[,t]of eS(a,t=>"".concat(t.type,"-").concat(t.position)))t.forEach((t,e)=>t.index=e);let P=e.selectAll(k2(f7)).data(a,t=>"".concat(t.type,"-").concat(t.position,"-").concat(t.index)).join(t=>t.append("g").style("zIndex",t=>{let{zIndex:e}=t;return e||-1}).attr("className",f7).append(t=>ka(R({animate:E,scale:h},t),c,o,i,s)),t=>t.transition(function(t,e,n){let{preserve:r=!1}=t;if(r)return;let a=ka(R({animate:E,scale:h},t),c,o,i,s),{attributes:l}=a,[u]=n.childNodes;return u.update(l,!1)})).transitions();n.push(...P.flat().filter(ez));let T=e.selectAll(k2(f9)).data([l],()=>u).join(t=>t.append("rect").style("zIndex",0).style("fill","transparent").attr("className",f9).call(kJ).call(k1,Array.from(s.keys())).call(k5,d),t=>t.call(k1,Array.from(s.keys())).call(t=>S?function(t,e){let[n,r]=e;t.transition(function(t,e,i){let{transform:a,width:o,height:l}=i.style,{paddingLeft:s,paddingTop:c,innerWidth:u,innerHeight:f,marginLeft:d,marginTop:h}=t,p=[{transform:a,width:o,height:l},{transform:"translate(".concat(s+d,", ").concat(c+h,")"),width:u,height:f}];return i.animate(p,{delay:n,duration:r,fill:"both"})})}(t,S):kJ(t)).call(k5,d)).transitions();for(let[a,o]of(n.push(...T.flat()),s.entries())){let{data:l}=o,{key:s,class:c,type:u}=a,f=e.select("#".concat(s)),d=function(t,e,n,r){let{library:i}=r,[a]=_h("shape",i),{data:o,encode:l}=t,{defaultShape:s,data:c,shape:u}=e,f=n_(l,t=>t.value),d=c.map(t=>t.points),{theme:h,coordinate:p}=n,{type:g,style:m={}}=t,y=Object.assign(Object.assign({},r),{document:_p(r),coordinate:p,theme:h});return e=>{let{shape:n=s}=m,{shape:r=n,points:i,seriesIndex:l,index:c}=e,p=kF(e,["shape","points","seriesIndex","index"]),v=Object.assign(Object.assign({},p),{index:c}),b=l?l.map(t=>o[t]):o[c],x=l||c,O=n_(m,t=>kq(t,b,x,o,{channel:f})),w=u[r]?u[r](O,y):a(Object.assign(Object.assign({},O),{type:k0(t,r)}),y),_=kV(h,g,r,s);return w(i,v,_,d)}}(a,o,t,r),h=kY("enter",a,o,t,i),p=kY("update",a,o,t,i),g=kY("exit",a,o,t,i),m=function(t,e,n,r){let i=t.node().parentElement;return i.findAll(t=>void 0!==t.style.facet&&t.style.facet===n&&t!==e.node()).flatMap(t=>t.getElementsByClassName(r))}(e,f,c,"element"),y=f.selectAll(k2(f6)).selectFacetAll(m).data(l,t=>t.key,t=>t.groupKey).join(t=>t.append(d).attr("className",f6).attr("markType",u).transition(function(t,e,n){return h(t,[n])}),t=>t.call(t=>{let e=t.parent(),n=function(t){let e=new Map;return n=>{if(e.has(n))return e.get(n);let r=t(n);return e.set(n,r),r}}(t=>{let[e,n]=t.getBounds().min;return[e,n]});t.transition(function(t,r,i){!function(t,e,n){if(!t.__facet__)return;let r=t.parentNode.parentNode,i=e.parentNode,[a,o]=n(r),[l,s]=n(i),c="translate(".concat(a-l,", ").concat(o-s,")");!function(t,e){let{transform:n}=t.style,r="none"===n||void 0===n?"":n;t.style.transform="".concat(r," ").concat(e).trimStart()}(t,c),e.append(t)}(i,e,n);let a=d(t,r),o=p(t,[i],[a]);return null!==o||(i.nodeName===a.nodeName&&"g"!==a.nodeName?eF(i,a):(i.parentNode.replaceChild(a,i),a.className=f6,a.markType=u,a.__data__=i.__data__)),o}).attr("markType",u).attr("className",f6)}),t=>t.each(function(t,e,n){n.__removed__=!0}).transition(function(t,e,n){return g(t,[n])}).remove(),t=>t.append(d).attr("className",f6).attr("markType",u).transition(function(t,e,n){let{__fromElements__:r}=n,i=p(t,r,[n]),a=new eY(r,null,n.parentNode);return a.transition(i).remove(),i}),t=>t.transition(function(t,e,n){let r=new eY([],n.__toData__,n.parentNode),i=r.append(d).attr("className",f6).attr("markType",u).nodes();return p(t,[n],i)}).remove()).transitions();n.push(...y.flat())}!function(t,e,n,r,i){let[a]=_h("labelTransform",r),{markState:o,labelTransform:l}=t,s=e.select(k2(f4)).node(),c=new Map,u=new Map,f=Array.from(o.entries()).flatMap(n=>{let[a,o]=n,{labels:l=[],key:s}=a,f=function(t,e,n,r,i){let[a]=_h("shape",r),{data:o,encode:l}=t,{data:s,defaultLabelShape:c}=e,u=s.map(t=>t.points),f=n_(l,t=>t.value),{theme:d,coordinate:h}=n,p=Object.assign(Object.assign({},i),{document:_p(i),theme:d,coordinate:h});return t=>{let{index:e,points:n}=t,r=o[e],{formatter:i=t=>"".concat(t),transform:l,style:s,render:h}=t,g=kF(t,["formatter","transform","style","render"]),m=n_(Object.assign(Object.assign({},g),s),t=>kq(t,r,e,o,{channel:f})),{shape:y=c,text:v}=m,b=kF(m,["shape","text"]),x="string"==typeof i?yT(i):i,O=Object.assign(Object.assign({},b),{text:x(v,r,e,o),datum:r}),w=Object.assign({type:"label.".concat(y),render:h},b),_=a(w,p),M=kV(d,"label",y,"label");return _(n,O,M,u)}}(a,o,t,r,i),d=e.select("#".concat(s)).selectAll(k2(f6)).nodes().filter(t=>!t.__removed__);return l.flatMap((t,e)=>{let{transform:n=[]}=t,r=kF(t,["transform"]);return d.flatMap(n=>{let i=function(t,e,n){let{seriesIndex:r,seriesKey:i,points:a,key:o,index:l}=n.__data__,s=function(t){let e=t.cloneNode(),n=t.getAnimations();e.style.visibility="hidden",n.forEach(t=>{let n=t.effect.getKeyframes();e.attr(n[n.length-1])}),t.parentNode.appendChild(e);let r=e.getLocalBounds();e.destroy();let{min:i,max:a}=r;return[i,a]}(n);if(!r)return[Object.assign(Object.assign({},t),{key:"".concat(o,"-").concat(e),bounds:s,index:l,points:a,dependentElement:n})];let c=function(t){let{selector:e}=t;if(!e)return null;if("function"==typeof e)return e;if("first"===e)return t=>[t[0]];if("last"===e)return t=>[t[t.length-1]];throw Error("Unknown selector: ".concat(e))}(t),u=r.map((r,o)=>Object.assign(Object.assign({},t),{key:"".concat(i[o],"-").concat(e),bounds:[a[o]],index:r,points:a,dependentElement:n}));return c?c(u):u}(r,e,n);return i.forEach(e=>{c.set(e,f),u.set(e,t)}),i})})}),d=eV(s).selectAll(k2(dt)).data(f,t=>t.key).join(t=>t.append(t=>c.get(t)(t)).attr("className",dt),t=>t.each(function(t,e,n){let r=c.get(t),i=r(t);eF(n,i)}),t=>t.remove()).nodes(),h=eA(d,t=>u.get(t.__data__)),{coordinate:p}=t,g={canvas:i.canvas,coordinate:p};for(let[t,e]of h){let{transform:n=[]}=t,r=eN(n.map(a));r(e,g)}l&&l(d,g)}(t,e,0,i,r)})}function kq(t,e,n,r,i){return"function"==typeof t?t(e,n,r,i):"string"!=typeof t?t:eG(e)&&void 0!==e[t]?e[t]:t}function kV(t,e,n,r){if("string"!=typeof e)return;let{color:i}=t,a=t[e]||{},o=a[n]||a[r];return Object.assign({color:i},o)}function kY(t,e,n,r,i){var a,o;let[,l]=_h("shape",i),[s]=_h("animation",i),{defaultShape:c,shape:u}=n,{theme:f,coordinate:d}=r,h=cH(t),{["default".concat(h,"Animation")]:p}=(null===(a=u[c])||void 0===a?void 0:a.props)||l(k0(e,c)).props,{[t]:g={}}=f,m=(null===(o=e.animate)||void 0===o?void 0:o[t])||{},y={coordinate:d};return(e,n,r)=>{let{["".concat(t,"Type")]:i,["".concat(t,"Delay")]:a,["".concat(t,"Duration")]:o,["".concat(t,"Easing")]:l}=e,c=Object.assign({type:i||p},m);if(!c.type)return null;let u=s(c,y),f=u(n,r,R(g,{delay:a,duration:o,easing:l}));return Array.isArray(f)?f:[f]}}function kU(t){return t.finished.then(()=>{t.cancel()}),t}function kQ(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("string"==typeof t)return{type:t};let{type:e="light"}=t,n=kF(t,["type"]);return Object.assign(Object.assign({},n),{type:e})}function kX(t){let{interaction:e={}}=t;return Object.entries(R({event:!0,tooltip:!0,sliderFilter:!0,legendFilter:!0,scrollbarFilter:!0},e)).reverse()}function kK(t,e){return kD(this,void 0,void 0,function*(){let{data:n}=t,r=kF(t,["data"]);if(void 0==n)return t;let[,{data:i}]=yield kC([],{data:n},e);return Object.assign({data:i},r)})}function kJ(t){t.style("transform",t=>"translate(".concat(t.paddingLeft+t.marginLeft,", ").concat(t.paddingTop+t.marginTop,")")).style("width",t=>t.innerWidth).style("height",t=>t.innerHeight)}function k0(t,e){let{type:n}=t;return"string"==typeof e?"".concat(n,".").concat(e):e}function k1(t,e){let n=t=>void 0!==t.class?"".concat(t.class):"",r=t.nodes();if(0===r.length)return;t.selectAll(k2(f3)).data(e,t=>t.key).join(t=>t.append("g").attr("className",f3).attr("id",t=>t.key).style("facet",n).style("fill","transparent").style("zIndex",t=>{var e;return null!==(e=t.zIndex)&&void 0!==e?e:0}),t=>t.style("facet",n).style("fill","transparent").style("zIndex",t=>{var e;return null!==(e=t.zIndex)&&void 0!==e?e:0}),t=>t.remove());let i=t.select(k2(f4)).node();i||t.append("g").attr("className",f4).style("zIndex",0)}function k2(){for(var t=arguments.length,e=Array(t),n=0;n".".concat(t)).join("")}function k5(t,e){t.node()&&t.style("clipPath",t=>{if(!e)return null;let{paddingTop:n,paddingLeft:r,marginLeft:i,marginTop:a,innerWidth:o,innerHeight:l}=t;return new t_.UL({style:{x:r+i,y:n+a,width:o,height:l}})})}function k3(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{canvas:r,emitter:i}=e;r&&(function(t){let e=t.getRoot().querySelectorAll(".".concat(f8));null==e||e.forEach(t=>{let{nameInteraction:e=new Map}=t;(null==e?void 0:e.size)>0&&Array.from(null==e?void 0:e.values()).forEach(t=>{null==t||t.destroy()})})}(r),n?r.destroy():r.destroyChildren()),i.off()}let k4=t=>t?parseInt(t):0;function k6(t,e){let n=[t];for(;n.length;){let t=n.shift();e&&e(t);let r=t.children||[];for(let t of r)n.push(t)}}class k8{map(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t=>t,e=t(this.value);return this.value=e,this}attr(t,e){return 1==arguments.length?this.value[t]:this.map(n=>(n[t]=e,n))}append(t){let e=new t({});return e.children=[],this.push(e),e}push(t){return t.parentNode=this,t.index=this.children.length,this.children.push(t),this}remove(){let t=this.parentNode;if(t){let{children:e}=t,n=e.findIndex(t=>t===this);e.splice(n,1)}return this}getNodeByKey(t){let e=null;return k6(this,n=>{t===n.attr("key")&&(e=n)}),e}getNodesByType(t){let e=[];return k6(this,n=>{t===n.type&&e.push(n)}),e}getNodeByType(t){let e=null;return k6(this,n=>{e||t!==n.type||(e=n)}),e}call(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;re.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let k7=["width","height","depth","padding","paddingLeft","paddingRight","paddingBottom","paddingTop","inset","insetLeft","insetRight","insetTop","insetBottom","margin","marginLeft","marginRight","marginTop","marginBottom","autoFit","theme","title"],Ct="__remove__",Ce="__callback__";function Cn(t){return Object.assign(Object.assign({},t.value),{type:t.type})}function Cr(t,e){let{width:n,height:r,autoFit:i,depth:a=0}=t,o=640,l=480;if(i){let{width:t,height:n}=function(t){let e=getComputedStyle(t),n=t.clientWidth||k4(e.width),r=t.clientHeight||k4(e.height),i=k4(e.paddingLeft)+k4(e.paddingRight),a=k4(e.paddingTop)+k4(e.paddingBottom);return{width:n-i,height:r-a}}(e);o=t||o,l=n||l}return o=n||o,l=r||l,{width:Math.max((0,tC.Z)(o)?o:1,1),height:Math.max((0,tC.Z)(l)?l:1,1),depth:a}}function Ci(t){return e=>{for(let[n,r]of Object.entries(t)){let{type:t}=r;"value"===t?function(t,e,n){let{key:r=e}=n;t.prototype[e]=function(t){return 0==arguments.length?this.attr(r):this.attr(r,t)}}(e,n,r):"array"===t?function(t,e,n){let{key:r=e}=n;t.prototype[e]=function(t){if(0==arguments.length)return this.attr(r);if(Array.isArray(t))return this.attr(r,t);let e=[...this.attr(r)||[],t];return this.attr(r,e)}}(e,n,r):"object"===t?function(t,e,n){let{key:r=e}=n;t.prototype[e]=function(t,e){if(0==arguments.length)return this.attr(r);if(1==arguments.length&&"string"!=typeof t)return this.attr(r,t);let n=this.attr(r)||{};return n[t]=1==arguments.length||e,this.attr(r,n)}}(e,n,r):"node"===t?function(t,e,n){let{ctor:r}=n;t.prototype[e]=function(t){let n=this.append(r);return"mark"===e&&(n.type=t),n}}(e,n,r):"container"===t?function(t,e,n){let{ctor:r}=n;t.prototype[e]=function(){return this.type=null,this.append(r)}}(e,n,r):"mix"===t&&function(t,e,n){t.prototype[e]=function(t){if(0==arguments.length)return this.attr(e);if(Array.isArray(t))return this.attr(e,{items:t});if(eG(t)&&(void 0!==t.title||void 0!==t.items)||null===t||!1===t)return this.attr(e,t);let n=this.attr(e)||{},{items:r=[]}=n;return r.push(t),n.items=r,this.attr(e,n)}}(e,n,0)}return e}}function Ca(t){return Object.fromEntries(Object.entries(t).map(t=>{let[e,n]=t;return[e,{type:"node",ctor:n}]}))}let Co={encode:{type:"object"},scale:{type:"object"},data:{type:"value"},transform:{type:"array"},style:{type:"object"},animate:{type:"object"},coordinate:{type:"object"},interaction:{type:"object"},label:{type:"array",key:"labels"},axis:{type:"object"},legend:{type:"object"},slider:{type:"object"},scrollbar:{type:"object"},state:{type:"object"},layout:{type:"object"},theme:{type:"object"},title:{type:"value"}},Cl=Object.assign(Object.assign({},Co),{tooltip:{type:"mix"},viewStyle:{type:"object"}}),Cs=Object.assign(Object.assign({},Co),{labelTransform:{type:"array"}}),Cc=class extends k8{changeData(t){var e;let n=this.getRoot();if(n)return this.attr("data",t),(null===(e=this.children)||void 0===e?void 0:e.length)&&this.children.forEach(e=>{e.attr("data",t)}),null==n?void 0:n.render()}getView(){let t=this.getRoot(),{views:e}=t.getContext();if(null==e?void 0:e.length)return e.find(t=>t.key===this._key)}getScale(){var t;return null===(t=this.getView())||void 0===t?void 0:t.scale}getScaleByChannel(t){let e=this.getScale();if(e)return e[t]}getCoordinate(){var t;return null===(t=this.getView())||void 0===t?void 0:t.coordinate}getTheme(){var t;return null===(t=this.getView())||void 0===t?void 0:t.theme}getGroup(){let t=this._key;if(!t)return;let e=this.getRoot(),n=e.getContext().canvas.getRoot();return n.getElementById(t)}show(){let t=this.getGroup();t&&(t.isVisible()||da(t))}hide(){let t=this.getGroup();t&&t.isVisible()&&di(t)}};Cc=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([Ci(Cs)],Cc);let Cu=class extends k8{changeData(t){let e=this.getRoot();if(e)return this.attr("data",t),null==e?void 0:e.render()}getMark(){var t;let e=null===(t=this.getRoot())||void 0===t?void 0:t.getView();if(!e)return;let{markState:n}=e,r=Array.from(n.keys()).find(t=>t.key===this.attr("key"));return n.get(r)}getScale(){var t;let e=null===(t=this.getRoot())||void 0===t?void 0:t.getView();if(e)return null==e?void 0:e.scale}getScaleByChannel(t){var e,n;let r=null===(e=this.getRoot())||void 0===e?void 0:e.getView();if(r)return null===(n=null==r?void 0:r.scale)||void 0===n?void 0:n[t]}getGroup(){let t=this.attr("key");if(!t)return;let e=this.getRoot(),n=e.getContext().canvas.getRoot();return n.getElementById(t)}};Cu=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([Ci(Cl)],Cu);let Cf={};var Cd=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o},Ch=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let Cp=Object.assign({},Object.assign(Object.assign(Object.assign(Object.assign({},{"composition.geoView":bW,"composition.geoPath":bH}),{"data.arc":Or,"data.cluster":xp,"mark.forceGraph":xr,"mark.tree":xx,"mark.pack":xz,"mark.sankey":x8,"mark.chord":Oc,"mark.treemap":Om}),{"data.venn":OX,"mark.boxplot":OC,"mark.gauge":OT,"mark.wordCloud":oY,"mark.liquid":O$}),{"data.fetch":my,"data.inline":mv,"data.sortBy":mb,"data.sort":mx,"data.filter":mw,"data.pick":m_,"data.rename":mM,"data.fold":mk,"data.slice":mC,"data.custom":mj,"data.map":mA,"data.join":mE,"data.kde":mT,"data.log":mL,"data.wordCloud":mX,"transform.stackY":gs,"transform.binX":gB,"transform.bin":gN,"transform.dodgeX":gF,"transform.jitter":g$,"transform.jitterX":gW,"transform.jitterY":gZ,"transform.symmetryY":gG,"transform.diffY":gq,"transform.stackEnter":gV,"transform.normalizeY":gU,"transform.select":g0,"transform.selectX":g2,"transform.selectY":g3,"transform.groupX":g8,"transform.groupY":g9,"transform.groupColor":g7,"transform.group":g6,"transform.sortX":mn,"transform.sortY":mr,"transform.sortColor":mi,"transform.flexX":ma,"transform.pack":mo,"transform.sample":ms,"transform.filter":mc,"coordinate.cartesian":h,"coordinate.polar":g,"coordinate.transpose":m,"coordinate.theta":v,"coordinate.parallel":b,"coordinate.fisheye":x,"coordinate.radial":w,"coordinate.radar":_,"encode.constant":M,"encode.field":k,"encode.transform":C,"encode.column":j,"mark.interval":ru,"mark.rect":rd,"mark.line":rJ,"mark.point":iQ,"mark.text":ay,"mark.cell":ax,"mark.area":aR,"mark.link":aG,"mark.image":aU,"mark.polygon":a1,"mark.box":a8,"mark.vector":a7,"mark.lineX":oi,"mark.lineY":ol,"mark.connector":od,"mark.range":om,"mark.rangeX":ob,"mark.rangeY":ow,"mark.path":oA,"mark.shape":oR,"mark.density":oN,"mark.heatmap":oG,"mark.wordCloud":oY,"palette.category10":oU,"palette.category20":oQ,"scale.linear":oX,"scale.ordinal":o5,"scale.band":o9,"scale.identity":ll,"scale.point":lc,"scale.time":lX,"scale.log":l3,"scale.pow":l7,"scale.sqrt":se,"scale.threshold":sr,"scale.quantile":sa,"scale.quantize":sl,"scale.sequential":su,"scale.constant":sd,"theme.classic":sm,"theme.classicDark":sb,"theme.academy":sO,"theme.light":sg,"theme.dark":sv,"component.axisX":uf,"component.axisY":ud,"component.legendCategory":uL,"component.legendContinuous":u1,"component.legends":u2,"component.title":u6,"component.sliderX":fP,"component.sliderY":fR,"component.scrollbarX":fN,"component.scrollbarY":fB,"animation.scaleInX":fD,"animation.scaleOutX":(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let[a]=e,{transform:o="",fillOpacity:l=1,strokeOpacity:s=1,opacity:c=1}=a.style,[u,f]=tp(n)?["left bottom","scale(1, ".concat(1e-4,")")]:["left top","scale(".concat(1e-4,", 1)")],d=[{transform:"".concat(o," scale(1, 1)").trimStart(),transformOrigin:u},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c,offset:.99},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],h=a.animate(d,Object.assign(Object.assign({},i),t));return h}},"animation.scaleInY":fF,"animation.scaleOutY":(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let[a]=e,{transform:o="",fillOpacity:l=1,strokeOpacity:s=1,opacity:c=1}=a.style,[u,f]=tp(n)?["left top","scale(".concat(1e-4,", 1)")]:["left bottom","scale(1, ".concat(1e-4,")")],d=[{transform:"".concat(o," scale(1, 1)").trimStart(),transformOrigin:u},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c,offset:.99},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],h=a.animate(d,Object.assign(Object.assign({},i),t));return h}},"animation.waveIn":fz,"animation.fadeIn":f$,"animation.fadeOut":fW,"animation.zoomIn":t=>(e,n,r)=>{let[i]=e,{transform:a="",fillOpacity:o=1,strokeOpacity:l=1,opacity:s=1}=i.style,c="center center",u=[{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s,offset:.01},{transform:"".concat(a," scale(1)").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s}],f=i.animate(u,Object.assign(Object.assign({},r),t));return f},"animation.zoomOut":t=>(e,n,r)=>{let[i]=e,{transform:a="",fillOpacity:o=1,strokeOpacity:l=1,opacity:s=1}=i.style,c="center center",u=[{transform:"".concat(a," scale(1)").trimStart(),transformOrigin:c},{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s,offset:.99},{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(u,Object.assign(Object.assign({},r),t));return f},"animation.pathIn":fZ,"animation.morphing":f0,"animation.growInX":f1,"animation.growInY":f2,"interaction.elementHighlight":dR,"interaction.elementHighlightByX":dT,"interaction.elementHighlightByColor":dL,"interaction.elementSelect":dN,"interaction.elementSelectByX":dB,"interaction.elementSelectByColor":dD,"interaction.fisheye":function(t){let{wait:e=30,leading:n,trailing:r=!1}=t;return t=>{let{options:i,update:a,setState:o,container:l}=t,s=df(l),c=dF(t=>{let e=dh(s,t);if(!e){o("fisheye"),a();return}o("fisheye",t=>{let n=R({},t,{interaction:{tooltip:{preserve:!0}}});for(let t of n.marks)t.animate=!1;let[r,i]=e,a=function(t){let{coordinate:e={}}=t,{transform:n=[]}=e,r=n.find(t=>"fisheye"===t.type);if(r)return r;let i={type:"fisheye"};return n.push(i),e.transform=n,t.coordinate=e,i}(n);return a.focusX=r,a.focusY=i,a.visual=!0,n}),a()},e,{leading:n,trailing:r});return s.addEventListener("pointerenter",c),s.addEventListener("pointermove",c),s.addEventListener("pointerleave",c),()=>{s.removeEventListener("pointerenter",c),s.removeEventListener("pointermove",c),s.removeEventListener("pointerleave",c)}}},"interaction.chartIndex":d$,"interaction.tooltip":ha,"interaction.legendFilter":function(){return(t,e,n)=>{let{container:r}=t,i=e.filter(e=>e!==t),a=i.length>0,o=t=>hh(t).scales.map(t=>t.name),l=[...hf(r),...hd(r)],s=l.flatMap(o),c=a?dF(hg,50,{trailing:!0}):dF(hp,50,{trailing:!0}),u=l.map(e=>{let{name:l,domain:u}=hh(e).scales[0],f=o(e),d={legend:e,channel:l,channels:f,allChannels:s};return e.className===hl?function(t,e){let{legends:n,marker:r,label:i,datum:a,filter:o,emitter:l,channel:s,state:c={}}=e,u=new Map,f=new Map,d=new Map,{unselected:h={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=c,p={unselected:e$(h,"marker")},g={unselected:e$(h,"label")},{setState:m,removeState:y}=dv(p,void 0),{setState:v,removeState:b}=dv(g,void 0),x=Array.from(n(t)),O=x.map(a),w=()=>{for(let t of x){let e=a(t),n=r(t),o=i(t);O.includes(e)?(y(n,"unselected"),b(o,"unselected")):(m(n,"unselected"),v(o,"unselected"))}};for(let e of x){let n=()=>{dk(t,"pointer")},r=()=>{dk(t,t.cursor)},i=t=>ho(this,void 0,void 0,function*(){let n=a(e),r=O.indexOf(n);-1===r?O.push(n):O.splice(r,1),yield o(O),w();let{nativeEvent:i=!0}=t;i&&(O.length===x.length?l.emit("legend:reset",{nativeEvent:i}):l.emit("legend:filter",Object.assign(Object.assign({},t),{nativeEvent:i,data:{channel:s,values:O}})))});e.addEventListener("click",i),e.addEventListener("pointerenter",n),e.addEventListener("pointerout",r),u.set(e,i),f.set(e,n),d.set(e,r)}let _=t=>ho(this,void 0,void 0,function*(){let{nativeEvent:e}=t;if(e)return;let{data:n}=t,{channel:r,values:i}=n;r===s&&(O=i,yield o(O),w())}),M=t=>ho(this,void 0,void 0,function*(){let{nativeEvent:e}=t;e||(O=x.map(a),yield o(O),w())});return l.on("legend:filter",_),l.on("legend:reset",M),()=>{for(let t of x)t.removeEventListener("click",u.get(t)),t.removeEventListener("pointerenter",f.get(t)),t.removeEventListener("pointerout",d.get(t)),l.off("legend:filter",_),l.off("legend:reset",M)}}(r,{legends:hu,marker:hs,label:hc,datum:t=>{let{__data__:e}=t,{index:n}=e;return u[n]},filter:e=>{let n=Object.assign(Object.assign({},d),{value:e,ordinal:!0});a?c(i,n):c(t,n)},state:e.attributes.state,channel:l,emitter:n}):function(t,e){let{legend:n,filter:r,emitter:i,channel:a}=e,o=t=>{let{detail:{value:e}}=t;r(e),i.emit({nativeEvent:!0,data:{channel:a,values:e}})};return n.addEventListener("valuechange",o),()=>{n.removeEventListener("valuechange",o)}}(0,{legend:e,filter:e=>{let n=Object.assign(Object.assign({},d),{value:e,ordinal:!1});a?c(i,n):c(t,n)},emitter:n,channel:l})});return()=>{u.forEach(t=>t())}}},"interaction.legendHighlight":function(){return(t,e,n)=>{let{container:r,view:i,options:a}=t,o=hf(r),l=ds(r),s=t=>hh(t).scales[0].name,c=t=>{let{scale:{[t]:e}}=i;return e},u=dx(a,["active","inactive"]),f=dO(l,dy(i)),d=[];for(let t of o){let e=e=>{let{data:n}=t.attributes,{__data__:r}=e,{index:i}=r;return n[i].label},r=s(t),i=hu(t),a=c(r),o=eA(l,t=>a.invert(t.__data__[r])),{state:h={}}=t.attributes,{inactive:p={}}=h,{setState:g,removeState:m}=dv(u,f),y={inactive:e$(p,"marker")},v={inactive:e$(p,"label")},{setState:b,removeState:x}=dv(y),{setState:O,removeState:w}=dv(v),_=t=>{for(let e of i){let n=hs(e),r=hc(e);e===t||null===t?(x(n,"inactive"),w(r,"inactive")):(b(n,"inactive"),O(r,"inactive"))}},M=(t,i)=>{let a=e(i),s=new Set(o.get(a));for(let t of l)s.has(t)?g(t,"active"):g(t,"inactive");_(i);let{nativeEvent:c=!0}=t;c&&n.emit("legend:highlight",Object.assign(Object.assign({},t),{nativeEvent:c,data:{channel:r,value:a}}))},k=new Map;for(let t of i){let e=e=>{M(e,t)};t.addEventListener("pointerover",e),k.set(t,e)}let C=t=>{for(let t of l)m(t,"inactive","active");_(null);let{nativeEvent:e=!0}=t;e&&n.emit("legend:unhighlight",{nativeEvent:e})},j=t=>{let{nativeEvent:n,data:a}=t;if(n)return;let{channel:o,value:l}=a;if(o!==r)return;let s=i.find(t=>e(t)===l);s&&M({nativeEvent:!1},s)},A=t=>{let{nativeEvent:e}=t;e||C({nativeEvent:!1})};t.addEventListener("pointerleave",C),n.on("legend:highlight",j),n.on("legend:unhighlight",A);let S=()=>{for(let[e,r]of(t.removeEventListener(C),n.off("legend:highlight",j),n.off("legend:unhighlight",A),k))e.removeEventListener(r)};d.push(S)}return()=>d.forEach(t=>t())}},"interaction.brushHighlight":hw,"interaction.brushXHighlight":function(t){return hw(Object.assign(Object.assign({},t),{brushRegion:h_,selectedHandles:["handle-e","handle-w"]}))},"interaction.brushYHighlight":function(t){return hw(Object.assign(Object.assign({},t),{brushRegion:hM,selectedHandles:["handle-n","handle-s"]}))},"interaction.brushAxisHighlight":function(t){return(e,n,r)=>{let{container:i,view:a,options:o}=e,l=df(i),{x:s,y:c}=l.getBBox(),{coordinate:u}=a;return function(t,e){var{axes:n,elements:r,points:i,horizontal:a,datum:o,offsetY:l,offsetX:s,reverse:c=!1,state:u={},emitter:f,coordinate:d}=e,h=hk(e,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);let p=r(t),g=n(t),m=dO(p,o),{setState:y,removeState:v}=dv(u,m),b=new Map,x=e$(h,"mask"),O=t=>Array.from(b.values()).every(e=>{let[n,r,i,a]=e;return t.some(t=>{let[e,o]=t;return e>=n&&e<=i&&o>=r&&o<=a})}),w=g.map(t=>t.attributes.scale),_=t=>t.length>2?[t[0],t[t.length-1]]:t,M=new Map,k=()=>{M.clear();for(let t=0;t{let n=[];for(let t of p){let e=i(t);O(e)?(y(t,"active"),n.push(t)):y(t,"inactive")}M.set(t,A(n,t)),e&&f.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:(()=>{if(!S)return Array.from(M.values());let t=[];for(let[e,n]of M){let r=w[e],{name:i}=r.getOptions();"x"===i?t[0]=n:t[1]=n}return t})()}})},j=t=>{for(let t of p)v(t,"active","inactive");k(),t&&f.emit("brushAxis:remove",{nativeEvent:!0})},A=(t,e)=>{let n=w[e],{name:r}=n.getOptions(),i=t.map(t=>{let e=t.__data__;return n.invert(e[r])});return _(fC(n,i))},S=g.some(a)&&g.some(t=>!a(t)),E=[];for(let t=0;t0&&void 0!==arguments[0]?arguments[0]:{},{nativeEvent:e}=t;e||E.forEach(t=>t.remove(!1))},R=(t,e,n)=>{let[r,i]=t,o=T(r,e,n),l=T(i,e,n)+(e.getStep?e.getStep():0);return a(n)?[o,-1/0,l,1/0]:[-1/0,o,1/0,l]},T=(t,e,n)=>{let{height:r,width:i}=d.getOptions(),o=e.clone();return a(n)?o.update({range:[0,i]}):o.update({range:[r,0]}),o.map(t)},L=t=>{let{nativeEvent:e}=t;if(e)return;let{selection:n}=t.data;for(let t=0;t{E.forEach(t=>t.destroy()),f.off("brushAxis:remove",P),f.off("brushAxis:highlight",L)}}(i,Object.assign({elements:ds,axes:hj,offsetY:c,offsetX:s,points:t=>t.__data__.points,horizontal:t=>{let{startPos:[e,n],endPos:[r,i]}=t.attributes;return e!==r&&n===i},datum:dy(a),state:dx(o,["active",["inactive",{opacity:.5}]]),coordinate:u,emitter:r},t))}},"interaction.brushFilter":hT,"interaction.brushXFilter":function(t){return hT(Object.assign(Object.assign({hideX:!0},t),{brushRegion:h_}))},"interaction.brushYFilter":function(t){return hT(Object.assign(Object.assign({hideY:!0},t),{brushRegion:hM}))},"interaction.sliderFilter":hN,"interaction.scrollbarFilter":function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e,n,r)=>{let{view:i,container:a}=e,o=a.getElementsByClassName(hB);if(!o.length)return()=>{};let{scale:l}=i,{x:s,y:c}=l,u={x:[...s.getOptions().domain],y:[...c.getOptions().domain]};s.update({domain:s.getOptions().expectedDomain}),c.update({domain:c.getOptions().expectedDomain});let f=hN(Object.assign(Object.assign({},t),{initDomain:u,className:hB,prefix:"scrollbar",hasState:!0,setValue:(t,e)=>t.setValue(e[0]),getInitValues:t=>{let e=t.slider.attributes.values;if(0!==e[0])return e}}));return f(e,n,r)}},"interaction.poptip":hW,"interaction.treemapDrillDown":function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{originData:e=[],layout:n}=t,r=ph(t,["originData","layout"]),i=R({},pp,r),a=e$(i,"breadCrumb"),o=e$(i,"active");return t=>{let{update:r,setState:i,container:l,options:s}=t,c=eV(l).select(".".concat(f9)).node(),u=s.marks[0],{state:f}=u,d=new t_.ZA;c.appendChild(d);let h=(t,s)=>{var u,f,p,g;return u=this,f=void 0,p=void 0,g=function*(){if(d.removeChildren(),s){let e="",n=a.y,r=0,i=[],l=c.getBBox().width,s=t.map((o,s)=>{e="".concat(e).concat(o,"/"),i.push(o);let c=new t_.xv({name:e.replace(/\/$/,""),style:Object.assign(Object.assign({text:o,x:r,path:[...i],depth:s},a),{y:n})});d.appendChild(c),r+=c.getBBox().width;let u=new t_.xv({style:Object.assign(Object.assign({x:r,text:" / "},a),{y:n})});return d.appendChild(u),(r+=u.getBBox().width)>l&&(n=d.getBBox().height+a.y,r=0,c.attr({x:r,y:n}),r+=c.getBBox().width,u.attr({x:r,y:n}),r+=u.getBBox().width),s===lt(t)-1&&u.remove(),c});s.forEach((t,e)=>{if(e===lt(s)-1)return;let n=Object.assign({},t.attributes);t.attr("cursor","pointer"),t.addEventListener("mouseenter",()=>{t.attr(o)}),t.addEventListener("mouseleave",()=>{t.attr(n)}),t.addEventListener("click",()=>{h(sJ(t,["style","path"]),sJ(t,["style","depth"]))})})}(function(t,e){let n=[...hf(t),...hd(t)];n.forEach(t=>{e(t,t=>t)})})(l,i),i("treemapDrillDown",r=>{let{marks:i}=r,a=t.join("/"),o=i.map(t=>{if("rect"!==t.type)return t;let r=e;if(s){let t=e.filter(t=>{let e=sJ(t,["id"]);return e&&(e.match("".concat(a,"/"))||a.match(e))}).map(t=>({value:0===t.height?sJ(t,["value"]):void 0,name:sJ(t,["id"])})),{paddingLeft:i,paddingBottom:o,paddingRight:l}=n,c=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||d.getBBox().height+10)/(s+1),paddingLeft:i/(s+1),paddingBottom:o/(s+1),paddingRight:l/(s+1),path:t=>t.name,layer:t=>t.depth===s+1});r=pd(t,c,{value:"value"})[0]}else r=e.filter(t=>1===t.depth);let i=[];return r.forEach(t=>{let{path:e}=t;i.push(uR(e))}),R({},t,{data:r,scale:{color:{domain:i}}})});return Object.assign(Object.assign({},r),{marks:o})}),yield r(void 0,["legendFilter"])},new(p||(p=Promise))(function(t,e){function n(t){try{i(g.next(t))}catch(t){e(t)}}function r(t){try{i(g.throw(t))}catch(t){e(t)}}function i(e){var i;e.done?t(e.value):((i=e.value)instanceof p?i:new p(function(t){t(i)})).then(n,r)}i((g=g.apply(u,f||[])).next())})},p=t=>{let n=t.target;if("rect"!==sJ(n,["markType"]))return;let r=sJ(n,["__data__","key"]),i=hG(e,t=>t.id===r);sJ(i,"height")&&h(sJ(i,"path"),sJ(i,"depth"))};c.addEventListener("click",p);let g=hZ(Object.assign(Object.assign({},f.active),f.inactive)),m=()=>{let t=dS(c);t.forEach(t=>{let n=sJ(t,["style","cursor"]),r=hG(e,e=>e.id===sJ(t,["__data__","key"]));if("pointer"!==n&&(null==r?void 0:r.height)){t.style.cursor="pointer";let e=hV(t.attributes,g);t.addEventListener("mouseenter",()=>{t.attr(f.active)}),t.addEventListener("mouseleave",()=>{t.attr(R(e,f.inactive))})}})};return m(),c.addEventListener("mousemove",m),()=>{d.remove(),c.removeEventListener("click",p),c.removeEventListener("mousemove",m)}}},"interaction.elementPointMove":function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{selection:e=[],precision:n=2}=t,r=pm(t,["selection","precision"]),i=Object.assign(Object.assign({},py),r||{}),a=e$(i,"path"),o=e$(i,"label"),l=e$(i,"point");return(t,r,i)=>{let s;let{update:c,setState:u,container:f,view:d,options:{marks:h,coordinate:p}}=t,g=df(f),m=dS(g),y=e,{transform:v=[],type:b}=p,x=!!hG(v,t=>{let{type:e}=t;return"transpose"===e}),O="polar"===b,w="theta"===b,_=!!hG(m,t=>{let{markType:e}=t;return"area"===e});_&&(m=m.filter(t=>{let{markType:e}=t;return"area"===e}));let M=new t_.ZA({style:{zIndex:2}});g.appendChild(M);let k=()=>{i.emit("element-point:select",{nativeEvent:!0,data:{selection:y}})},C=(t,e)=>{i.emit("element-point:moved",{nativeEvent:!0,data:{changeData:t,data:e}})},j=t=>{let e=t.target;y=[e.parentNode.childNodes.indexOf(e)],k(),S(e)},A=t=>{let{data:{selection:e},nativeEvent:n}=t;if(n)return;y=e;let r=sJ(m,[null==y?void 0:y[0]]);r&&S(r)},S=t=>{let e;let{attributes:r,markType:i,__data__:p}=t,{stroke:g}=r,{points:m,seriesTitle:v,color:b,title:j,seriesX:A,y1:E}=p;if(x&&"interval"!==i)return;let{scale:P,coordinate:T}=(null==s?void 0:s.view)||d,{color:L,y:I,x:N}=P,B=T.getCenter();M.removeChildren();let D=(t,e,n,r)=>pg(this,void 0,void 0,function*(){return u("elementPointMove",i=>{var a;let o=((null===(a=null==s?void 0:s.options)||void 0===a?void 0:a.marks)||h).map(i=>{if(!r.includes(i.type))return i;let{data:a,encode:o}=i,l=Object.keys(o),s=l.reduce((r,i)=>{let a=o[i];return"x"===i&&(r[a]=t),"y"===i&&(r[a]=e),"color"===i&&(r[a]=n),r},{}),c=pO(s,a,o);return C(s,c),R({},i,{data:c,animate:!1})});return Object.assign(Object.assign({},i),{marks:o})}),yield c("elementPointMove")});if(["line","area"].includes(i))m.forEach((r,i)=>{let c=N.invert(A[i]);if(!c)return;let u=new t_.Cd({name:pv,style:Object.assign({cx:r[0],cy:r[1],fill:g},l)}),d=p_(t,i);u.addEventListener("mousedown",h=>{let p=T.output([A[i],0]),g=null==v?void 0:v.length;f.attr("cursor","move"),y[1]!==i&&(y[1]=i,k()),pM(M.childNodes,y,l);let[x,w]=pk(M,u,a,o),C=t=>{let a=r[1]+t.clientY-e[1];if(_){if(O){let o=r[0]+t.clientX-e[0],[l,s]=pj(B,p,[o,a]),[,c]=T.output([1,I.output(0)]),[,f]=T.invert([l,c-(m[i+g][1]-s)]),h=(i+1)%g,y=(i-1+g)%g,b=dA([m[y],[l,s],v[h]&&m[h]]);w.attr("text",d(I.invert(f)).toFixed(n)),x.attr("d",b),u.attr("cx",l),u.attr("cy",s)}else{let[,t]=T.output([1,I.output(0)]),[,e]=T.invert([r[0],t-(m[i+g][1]-a)]),o=dA([m[i-1],[r[0],a],v[i+1]&&m[i+1]]);w.attr("text",d(I.invert(e)).toFixed(n)),x.attr("d",o),u.attr("cy",a)}}else{let[,t]=T.invert([r[0],a]),e=dA([m[i-1],[r[0],a],m[i+1]]);w.attr("text",I.invert(t).toFixed(n)),x.attr("d",e),u.attr("cy",a)}};e=[h.clientX,h.clientY],window.addEventListener("mousemove",C);let j=()=>pg(this,void 0,void 0,function*(){if(f.attr("cursor","default"),window.removeEventListener("mousemove",C),f.removeEventListener("mouseup",j),(0,ns.Z)(w.attr("text")))return;let e=Number(w.attr("text")),n=pC(L,b);s=yield D(c,e,n,["line","area"]),w.remove(),x.remove(),S(t)});f.addEventListener("mouseup",j)}),M.appendChild(u)}),pM(M.childNodes,y,l);else if("interval"===i){let r=[(m[0][0]+m[1][0])/2,m[0][1]];x?r=[m[0][0],(m[0][1]+m[1][1])/2]:w&&(r=m[0]);let c=pw(t),u=new t_.Cd({name:pv,style:Object.assign(Object.assign({cx:r[0],cy:r[1],fill:g},l),{stroke:l.activeStroke})});u.addEventListener("mousedown",l=>{f.attr("cursor","move");let d=pC(L,b),[h,p]=pk(M,u,a,o),g=t=>{if(x){let i=r[0]+t.clientX-e[0],[a]=T.output([I.output(0),I.output(0)]),[,o]=T.invert([a+(i-m[2][0]),r[1]]),l=dA([[i,m[0][1]],[i,m[1][1]],m[2],m[3]],!0);p.attr("text",c(I.invert(o)).toFixed(n)),h.attr("d",l),u.attr("cx",i)}else if(w){let i=r[1]+t.clientY-e[1],a=r[0]+t.clientX-e[0],[o,l]=pj(B,[a,i],r),[s,f]=pj(B,[a,i],m[1]),d=T.invert([o,l])[1],g=E-d;if(g<0)return;let y=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=[["M",...e[1]]],i=dj(t,e[1]),a=dj(t,e[0]);return 0===i?r.push(["L",...e[3]],["A",a,a,0,n,1,...e[0]],["Z"]):r.push(["A",i,i,0,n,0,...e[2]],["L",...e[3]],["A",a,a,0,n,1,...e[0]],["Z"]),r}(B,[[o,l],[s,f],m[2],m[3]],g>.5?1:0);p.attr("text",c(g,!0).toFixed(n)),h.attr("d",y),u.attr("cx",o),u.attr("cy",l)}else{let i=r[1]+t.clientY-e[1],[,a]=T.output([1,I.output(0)]),[,o]=T.invert([r[0],a-(m[2][1]-i)]),l=dA([[m[0][0],i],[m[1][0],i],m[2],m[3]],!0);p.attr("text",c(I.invert(o)).toFixed(n)),h.attr("d",l),u.attr("cy",i)}};e=[l.clientX,l.clientY],window.addEventListener("mousemove",g);let y=()=>pg(this,void 0,void 0,function*(){if(f.attr("cursor","default"),f.removeEventListener("mouseup",y),window.removeEventListener("mousemove",g),(0,ns.Z)(p.attr("text")))return;let e=Number(p.attr("text"));s=yield D(j,e,d,[i]),p.remove(),h.remove(),S(t)});f.addEventListener("mouseup",y)}),M.appendChild(u)}};m.forEach((t,e)=>{y[0]===e&&S(t),t.addEventListener("click",j),t.addEventListener("mouseenter",pb),t.addEventListener("mouseleave",px)});let E=t=>{let e=null==t?void 0:t.target;e&&(e.name===pv||m.includes(e))||(y=[],k(),M.removeChildren())};return i.on("element-point:select",A),i.on("element-point:unselect",E),f.addEventListener("mousedown",E),()=>{M.remove(),i.off("element-point:select",A),i.off("element-point:unselect",E),f.removeEventListener("mousedown",E),m.forEach(t=>{t.removeEventListener("click",j),t.removeEventListener("mouseenter",pb),t.removeEventListener("mouseleave",px)})}}},"composition.spaceLayer":pT,"composition.spaceFlex":pI,"composition.facetRect":pQ,"composition.repeatMatrix":()=>t=>{let e=pN.of(t).call(pW).call(pF).call(pJ).call(p0).call(pz).call(p$).call(pK).value();return[e]},"composition.facetCircle":()=>t=>{let e=pN.of(t).call(pW).call(p3).call(pF).call(p5).call(pZ).call(pH,p6,p4,p4,{frame:!1}).call(pz).call(p$).call(p2).value();return[e]},"composition.timingKeyframe":p8,"labelTransform.overlapHide":t=>{let{priority:e}=t;return t=>{let n=[];return e&&t.sort(e),t.forEach(t=>{da(t);let e=t.getLocalBounds(),r=n.some(t=>(function(t,e){let[n,r]=t,[i,a]=e;return n[0]i[0]&&n[1]i[1]})(mK(e),mK(t.getLocalBounds())));r?di(t):n.push(t)}),t}},"labelTransform.overlapDodgeY":t=>{let{maxIterations:e=10,maxError:n=.1,padding:r=1}=t;return t=>{let i=t.length;if(i<=1)return t;let[a,o]=m0(),[l,s]=m0(),[c,u]=m0(),[f,d]=m0();for(let e of t){let{min:t,max:n}=function(t){let e=t.cloneNode(!0),n=e.getElementById("connector");n&&e.removeChild(n);let{min:r,max:i}=e.getRenderBounds();return e.destroy(),{min:r,max:i}}(e),[r,i]=t,[a,l]=n;o(e,i),s(e,i),u(e,l-i),d(e,[r,a])}for(let a=0;afd(l(t),l(e)));let e=0;for(let n=0;nn&&r>i}(f(a),f(i));)o+=1;if(i){let t=l(a),n=c(a),o=l(i),u=o-(t+n);if(ut=>(t.forEach(t=>{da(t);let e=t.attr("bounds"),n=t.getLocalBounds(),r=function(t,e){let[n,r]=t;return!(mJ(n,e)&&mJ(r,e))}(mK(n),e);r&&di(t)}),t),"labelTransform.contrastReverse":t=>{let{threshold:e=4.5,palette:n=["#000","#fff"]}=t;return t=>(t.forEach(t=>{let r=t.attr("dependentElement").parsedStyle.fill,i=t.parsedStyle.fill,a=m5(i,r);am5(t,"object"==typeof e?e:(0,t_.lu)(e)));return e[n]}(r,n))}),t)},"labelTransform.exceedAdjust":()=>(t,e)=>{let{canvas:n}=e,{width:r,height:i}=n.getConfig();return t.forEach(t=>{da(t);let{max:e,min:n}=t.getRenderBounds(),[a,o]=e,[l,s]=n,c=m3([[l,s],[a,o]],[[0,0],[r,i]]);t.style.connector&&t.style.connectorPoints&&(t.style.connectorPoints[0][0]-=c[0],t.style.connectorPoints[0][1]-=c[1]),t.style.x+=c[0],t.style.y+=c[1]}),t}})),Cg=(l=class extends Cc{render(){if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._context.canvas.getConfig().supportsCSSTransform=!0,this._bindAutoFit(),this._rendering=!0;let t=new Promise((t,e)=>(function(t){var e;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>{throw t},{width:a=640,height:o=480,depth:l=0}=t,s=function(t){let e=R({},t),n=new Map([[e,null]]),r=new Map([[null,-1]]),i=[e];for(;i.length;){let t=i.shift();if(void 0===t.key){let e=n.get(t),i=r.get(t),a=null===e?"".concat(0):"".concat(e.key,"-").concat(i);t.key=a}let{children:e=[]}=t;if(Array.isArray(e))for(let a=0;a(function t(e,n,r){var i;return kD(this,void 0,void 0,function*(){let{library:a}=r,[o]=_h("composition",a),[l]=_h("interaction",a),s=new Set(Object.keys(a).map(t=>{var e;return null===(e=/mark\.(.*)/.exec(t))||void 0===e?void 0:e[1]}).filter(ez)),c=new Set(Object.keys(a).map(t=>{var e;return null===(e=/component\.(.*)/.exec(t))||void 0===e?void 0:e[1]}).filter(ez)),u=t=>{let{type:e}=t;if("function"==typeof e){let{props:t={}}=e,{composite:n=!0}=t;if(n)return"mark"}return"string"!=typeof e?e:s.has(e)||c.has(e)?"mark":e},f=t=>"mark"===u(t),d=t=>"standardView"===u(t),h=t=>{let{type:e}=t;return"string"==typeof e&&!!c.has(e)},p=t=>{if(d(t))return[t];let e=u(t),n=o({type:e,static:h(t)});return n(t)},g=[],m=new Map,y=new Map,v=[e],b=[];for(;v.length;){let t=v.shift();if(d(t)){let e=y.get(t),[n,i]=e?kH(e,t,a):yield k$(t,r);m.set(n,t),g.push(n);let o=i.flatMap(p).map(t=>_m(t,a));if(v.push(...o),o.every(d)){let t=yield Promise.all(o.map(t=>kW(t,r)));!function(t){let e=t.flatMap(t=>Array.from(t.values())).flatMap(t=>t.channels.map(t=>t.scale));M0(e,"x"),M0(e,"y")}(t);for(let e=0;et.key).join(t=>t.append("g").attr("className",f8).attr("id",t=>t.key).call(kz).each(function(t,e,n){kG(t,eV(n),w,r),x.set(t,n)}),t=>t.call(kz).each(function(t,e,n){kG(t,eV(n),w,r),O.set(t,n)}),t=>t.each(function(t,e,n){let r=n.nameInteraction.values();for(let t of r)t.destroy()}).remove());let _=(e,n,i)=>Array.from(e.entries()).map(a=>{let[o,l]=a,s=i||new Map,c=m.get(o),u=function(e,n,r){let{library:i}=r,a=function(t){let[,e]=_h("interaction",t);return t=>{let[n,r]=t;try{return[n,e(n)]}catch(t){return[n,r.type]}}}(i),o=kX(n),l=o.map(a).filter(t=>t[1]&&t[1].props&&t[1].props.reapplyWhenUpdate).map(t=>t[0]);return(n,i,a)=>kD(this,void 0,void 0,function*(){let[o,s]=yield k$(n,r);for(let t of(kG(o,e,[],r),l.filter(t=>t!==i)))!function(t,e,n,r,i){var a;let{library:o}=i,[l]=_h("interaction",o),s=e.node(),c=s.nameInteraction,u=kX(n).find(e=>{let[n]=e;return n===t}),f=c.get(t);if(!f||(null===(a=f.destroy)||void 0===a||a.call(f),!u[1]))return;let d=kZ(r,t,u[1],l),h={options:n,view:r,container:e.node(),update:t=>Promise.resolve(t)},p=d(h,[],i.emitter);c.set(t,{destroy:p})}(t,e,n,o,r);for(let n of s)t(n,e,r);return a(),{options:n,view:o}})}(eV(l),c,r);return{view:o,container:l,options:c,setState:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t;return s.set(t,e)},update:(t,r)=>kD(this,void 0,void 0,function*(){let i=eN(Array.from(s.values())),a=i(c);return yield u(a,t,()=>{(0,A.Z)(r)&&n(e,r,s)})})}}),M=function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,a=_(e,M,i);for(let e of a){let{options:i,container:o}=e,s=o.nameInteraction,c=kX(i);for(let i of(n&&(c=c.filter(t=>n.includes(t[0]))),c)){let[n,o]=i,c=s.get(n);if(c&&(null===(t=c.destroy)||void 0===t||t.call(c)),o){let t=kZ(e.view,n,o,l),i=t(e,a,r.emitter);s.set(n,{destroy:i})}}}},k=_(x,M);for(let t of k){let{options:e}=t,n=new Map;for(let i of(t.container.nameInteraction=n,kX(e))){let[e,a]=i;if(a){let i=kZ(t.view,e,a,l),o=i(t,k,r.emitter);n.set(e,{destroy:o})}}}M();let{width:C,height:j}=e,S=[];for(let e of b){let i=new Promise(i=>kD(this,void 0,void 0,function*(){for(let i of e){let e=Object.assign({width:C,height:j},i);yield t(e,n,r)}i()}));S.push(i)}r.views=g,null===(i=r.animations)||void 0===i||i.forEach(t=>null==t?void 0:t.cancel()),r.animations=w,r.emitter.emit(dU.AFTER_PAINT);let E=w.filter(ez).map(kU).map(t=>t.finished);return Promise.all([...E,...S])})})(Object.assign(Object.assign({},s),{width:a,height:o,depth:l}),p,n)).then(()=>{if(l){let[t,e]=c.document.documentElement.getPosition();c.document.documentElement.setPosition(t,e,-l/2)}c.requestAnimationFrame(()=>{u.emit(dU.AFTER_RENDER),null==r||r()})}).catch(t=>{null==i||i(t)}),"string"==typeof(e=c.getConfig().container)?document.getElementById(e):e})(this._computedOptions(),this._context,this._createResolve(t),this._createReject(e))),[e,n,r]=function(){let t,e;let n=new Promise((n,r)=>{e=n,t=r});return[n,e,t]}();return t.then(n).catch(r).then(()=>this._renderTrailing()),e}options(t){if(0==arguments.length)return function(t){let e=function(t){if(null!==t.type)return t;let e=t.children[t.children.length-1];for(let n of k7)e.attr(n,t.attr(n));return e}(t),n=[e],r=new Map;for(r.set(e,Cn(e));n.length;){let t=n.pop(),e=r.get(t),{children:i=[]}=t;for(let t of i)if(t.type===Ce)e.children=t.value;else{let i=Cn(t),{children:a=[]}=e;a.push(i),n.push(t),r.set(t,i),e.children=a}}return r.get(e)}(this);let{type:e}=t;return e&&(this._previousDefinedType=e),function(t,e,n,r,i){let a=function(t,e,n,r,i){let{type:a}=t,{type:o=n||a}=e;if("function"!=typeof o&&new Set(Object.keys(i)).has(o)){for(let n of k7)void 0!==t.attr(n)&&void 0===e[n]&&(e[n]=t.attr(n));return e}if("function"==typeof o||new Set(Object.keys(r)).has(o)){let t={type:"view"},n=Object.assign({},e);for(let e of k7)void 0!==n[e]&&(t[e]=n[e],delete n[e]);return Object.assign(Object.assign({},t),{children:[n]})}return e}(t,e,n,r,i),o=[[null,t,a]];for(;o.length;){let[t,e,n]=o.shift();if(e){if(n){!function(t,e){let{type:n,children:r}=e,i=k9(e,["type","children"]);t.type===n||void 0===n?function t(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(!(i>=r)){for(let a of Object.keys(n)){let o=n[a];P(o)&&P(e[a])?t(e[a],o,r,i+1):e[a]=o}return e}}(t.value,i):"string"==typeof n&&(t.type=n,t.value=i)}(e,n);let{children:t}=n,{children:r}=e;if(Array.isArray(t)&&Array.isArray(r)){let n=Math.max(t.length,r.length);for(let i=0;i1?e-1:0),r=1;r{this.emit(dU.AFTER_CHANGE_SIZE)}),n}changeSize(t,e){if(t===this._width&&e===this._height)return Promise.resolve(this);this.emit(dU.BEFORE_CHANGE_SIZE),this.attr("width",t),this.attr("height",e);let n=this.render();return n.then(()=>{this.emit(dU.AFTER_CHANGE_SIZE)}),n}_create(){let{library:t}=this._context,e=["mark.mark",...Object.keys(t).filter(t=>t.startsWith("mark.")||"component.axisX"===t||"component.axisY"===t||"component.legends"===t)];for(let t of(this._marks={},e)){let e=t.split(".").pop();class n extends Cu{constructor(){super({},e)}}this._marks[e]=n,this[e]=function(t){let r=this.append(n);return"mark"===e&&(r.type=t),r}}let n=["composition.view",...Object.keys(t).filter(t=>t.startsWith("composition.")&&"composition.mark"!==t)];for(let t of(this._compositions=Object.fromEntries(n.map(t=>{let e=t.split(".").pop(),n=class extends Cc{constructor(){super({},e)}};return n=Cd([Ci(Ca(this._marks))],n),[e,n]})),Object.values(this._compositions)))Ci(Ca(this._compositions))(t);for(let t of n){let e=t.split(".").pop();this[e]=function(){let t=this._compositions[e];return this.type=null,this.append(t)}}}_reset(){let t=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(e=>{let[n]=e;return n.startsWith("margin")||n.startsWith("padding")||n.startsWith("inset")||t.includes(n)})),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{let t=this._trailingResolve.bind(this);this._trailingResolve=null,t(this)}).catch(t=>{let e=this._trailingReject.bind(this);this._trailingReject=null,e(t)}))}_createResolve(t){return()=>{this._rendering=!1,t(this)}}_createReject(t){return e=>{this._rendering=!1,t(e)}}_computedOptions(){let t=this.options(),{key:e="G2_CHART_KEY"}=t,{width:n,height:r,depth:i}=Cr(t,this._container);return this._width=n,this._height=r,this._key=e,Object.assign(Object.assign({key:this._key},t),{width:n,height:r,depth:i})}_createCanvas(){let{width:t,height:e}=Cr(this.options(),this._container);this._plugins.push(new w$),this._plugins.forEach(t=>this._renderer.registerPlugin(t)),this._context.canvas=new t_.Xz({container:this._container,width:t,height:e,renderer:this._renderer})}_addToTrailing(){var t;null===(t=this._trailingResolve)||void 0===t||t.call(this,this),this._trailing=!0;let e=new Promise((t,e)=>{this._trailingResolve=t,this._trailingReject=e});return e}_bindAutoFit(){let t=this.options(),{autoFit:e}=t;if(this._hasBindAutoFit){e||this._unbindAutoFit();return}e&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}constructor(t){let{container:e,canvas:n,renderer:r,plugins:i,lib:a,createCanvas:o}=t,l=Ch(t,["container","canvas","renderer","plugins","lib","createCanvas"]);super(l,"view"),this._hasBindAutoFit=!1,this._rendering=!1,this._trailing=!1,this._trailingResolve=null,this._trailingReject=null,this._previousDefinedType=null,this._onResize=ug(()=>{this.forceFit()},300),this._renderer=r||new wD,this._plugins=i||[],this._container=function(t){if(void 0===t){let t=document.createElement("div");return t[Ct]=!0,t}if("string"==typeof t){let e=document.getElementById(t);return e}return t}(e),this._emitter=new wW,this._context={library:Object.assign(Object.assign({},a),Cf),emitter:this._emitter,canvas:n,createCanvas:o},this._create()}},class extends l{constructor(t){super(Object.assign(Object.assign({},t),{lib:Cp}))}}),Cm=(0,d.forwardRef)((t,e)=>{let{options:n,style:r,onInit:i,renderer:a}=t,o=(0,d.useRef)(null),l=(0,d.useRef)(),[s,c]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{if(!l.current&&o.current)return l.current=new Cg({container:o.current,renderer:a}),c(!0),()=>{l.current&&(l.current.destroy(),l.current=void 0)}},[a]),(0,d.useEffect)(()=>{s&&(null==i||i())},[s,i]),(0,d.useEffect)(()=>{l.current&&n&&(l.current.options(n),l.current.render())},[n]),(0,d.useImperativeHandle)(e,()=>l.current,[s]),d.createElement("div",{ref:o,style:r})})},52539:function(t,e,n){t.exports=n(95178).use(n(96283)).use(n(99134)).use(n(632)).use(n(45849)).use(n(11555)).use(n(82661)).use(n(65598)).use(n(52759)).use(n(34170)).use(n(98123)).use(n(13752)).use(n(11018)).use(n(52061)).use(n(63490)).use(n(84965)).use(n(30368)).use(n(61820)).use(n(8904)).use(n(26301)).use(n(33598)).use(n(37199))},11555:function(t){t.exports=function(t){t.installColorSpace("CMYK",["cyan","magenta","yellow","black","alpha"],{rgb:function(){return new t.RGB(1-this._cyan*(1-this._black)-this._black,1-this._magenta*(1-this._black)-this._black,1-this._yellow*(1-this._black)-this._black,this._alpha)},fromRgb:function(){var e=this._red,n=this._green,r=this._blue,i=1-e,a=1-n,o=1-r,l=1;return e||n||r?(l=Math.min(i,Math.min(a,o)),i=(i-l)/(1-l),a=(a-l)/(1-l),o=(o-l)/(1-l)):l=1,new t.CMYK(i,a,o,l,this._alpha)}})}},45849:function(t,e,n){t.exports=function(t){t.use(n(632)),t.installColorSpace("HSL",["hue","saturation","lightness","alpha"],{hsv:function(){var e,n=2*this._lightness,r=this._saturation*(n<=1?n:2-n);return e=n+r<1e-9?0:2*r/(n+r),new t.HSV(this._hue,e,(n+r)/2,this._alpha)},rgb:function(){return this.hsv().rgb()},fromRgb:function(){return this.hsv().hsl()}})}},632:function(t){t.exports=function(t){t.installColorSpace("HSV",["hue","saturation","value","alpha"],{rgb:function(){var e,n,r,i=this._hue,a=this._saturation,o=this._value,l=Math.min(5,Math.floor(6*i)),s=6*i-l,c=o*(1-a),u=o*(1-s*a),f=o*(1-(1-s)*a);switch(l){case 0:e=o,n=f,r=c;break;case 1:e=u,n=o,r=c;break;case 2:e=c,n=o,r=f;break;case 3:e=c,n=u,r=o;break;case 4:e=f,n=c,r=o;break;case 5:e=o,n=c,r=u}return new t.RGB(e,n,r,this._alpha)},hsl:function(){var e=(2-this._saturation)*this._value,n=this._saturation*this._value,r=e<=1?e:2-e;return new t.HSL(this._hue,r<1e-9?0:n/r,e/2,this._alpha)},fromRgb:function(){var e,n=this._red,r=this._green,i=this._blue,a=Math.max(n,r,i),o=a-Math.min(n,r,i),l=0===a?0:o/a;if(0===o)e=0;else switch(a){case n:e=(r-i)/o/6+(r.008856?e:(t-16/116)/7.87},n=(this._l+16)/116,r=this._a/500+n,i=n-this._b/200;return new t.XYZ(95.047*e(r),100*e(n),108.883*e(i),this._alpha)}})}},96283:function(t){t.exports=function(t){t.installColorSpace("XYZ",["x","y","z","alpha"],{fromRgb:function(){var e=function(t){return t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92},n=e(this._red),r=e(this._green),i=e(this._blue);return new t.XYZ(.4124564*n+.3575761*r+.1804375*i,.2126729*n+.7151522*r+.072175*i,.0193339*n+.119192*r+.9503041*i,this._alpha)},rgb:function(){var e=this._x,n=this._y,r=this._z,i=function(t){return t>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t};return new t.RGB(i(3.2404542*e+-1.5371385*n+-.4985314*r),i(-.969266*e+1.8760108*n+.041556*r),i(.0556434*e+-.2040259*n+1.0572252*r),this._alpha)},lab:function(){var e=function(t){return t>.008856?Math.pow(t,1/3):7.787037*t+4/29},n=e(this._x/95.047),r=e(this._y/100),i=e(this._z/108.883);return new t.LAB(116*r-16,500*(n-r),200*(r-i),this._alpha)}})}},95178:function(t){var e=[],n=function(t){return void 0===t},r=/\s*(\.\d+|\d+(?:\.\d+)?)(%)?\s*/,i=/\s*(\.\d+|100|\d?\d(?:\.\d+)?)%\s*/,a=RegExp("^(rgb|hsl|hsv)a?\\("+r.source+","+r.source+","+r.source+"(?:,"+/\s*(\.\d+|\d+(?:\.\d+)?)\s*/.source+")?\\)$","i");function o(t){if(Array.isArray(t)){if("string"==typeof t[0]&&"function"==typeof o[t[0]])return new o[t[0]](t.slice(1,t.length));if(4===t.length)return new o.RGB(t[0]/255,t[1]/255,t[2]/255,t[3]/255)}else if("string"==typeof t){var e=t.toLowerCase();o.namedColors[e]&&(t="#"+o.namedColors[e]),"transparent"===e&&(t="rgba(0,0,0,0)");var r=t.match(a);if(r){var l=r[1].toUpperCase(),s=n(r[8])?r[8]:parseFloat(r[8]),c="H"===l[0],u=r[3]?100:c?360:255,f=r[5]||c?100:255,d=r[7]||c?100:255;if(n(o[l]))throw Error("color."+l+" is not installed.");return new o[l](parseFloat(r[2])/u,parseFloat(r[4])/f,parseFloat(r[6])/d,s)}t.length<6&&(t=t.replace(/^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i,"$1$1$2$2$3$3"));var h=t.match(/^#?([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])$/i);if(h)return new o.RGB(parseInt(h[1],16)/255,parseInt(h[2],16)/255,parseInt(h[3],16)/255);if(o.CMYK){var p=t.match(RegExp("^cmyk\\("+i.source+","+i.source+","+i.source+","+i.source+"\\)$","i"));if(p)return new o.CMYK(parseFloat(p[1])/100,parseFloat(p[2])/100,parseFloat(p[3])/100,parseFloat(p[4])/100)}}else if("object"==typeof t&&t.isColor)return t;return!1}o.namedColors={},o.installColorSpace=function(t,r,i){o[t]=function(e){var n=Array.isArray(e)?e:arguments;r.forEach(function(e,i){var a=n[i];if("alpha"===e)this._alpha=isNaN(a)||a>1?1:a<0?0:a;else{if(isNaN(a))throw Error("["+t+"]: Invalid color: ("+r.join(",")+")");"hue"===e?this._hue=a<0?a-Math.floor(a):a%1:this["_"+e]=a<0?0:a>1?1:a}},this)},o[t].propertyNames=r;var a=o[t].prototype;for(var l in["valueOf","hex","hexa","css","cssa"].forEach(function(e){a[e]=a[e]||("RGB"===t?a.hex:function(){return this.rgb()[e]()})}),a.isColor=!0,a.equals=function(e,i){n(i)&&(i=1e-10),e=e[t.toLowerCase()]();for(var a=0;ai)return!1;return!0},a.toJSON=function(){return[t].concat(r.map(function(t){return this["_"+t]},this))},i)if(i.hasOwnProperty(l)){var s=l.match(/^from(.*)$/);s?o[s[1].toUpperCase()].prototype[t.toLowerCase()]=i[l]:a[l]=i[l]}function c(t,e){var n={};for(var r in n[e.toLowerCase()]=function(){return this.rgb()[e.toLowerCase()]()},o[e].propertyNames.forEach(function(t){var r="black"===t?"k":t.charAt(0);n[t]=n[r]=function(n,r){return this[e.toLowerCase()]()[t](n,r)}}),n)n.hasOwnProperty(r)&&void 0===o[t].prototype[r]&&(o[t].prototype[r]=n[r])}return a[t.toLowerCase()]=function(){return this},a.toString=function(){return"["+t+" "+r.map(function(t){return this["_"+t]},this).join(", ")+"]"},r.forEach(function(t){var e="black"===t?"k":t.charAt(0);a[t]=a[e]=function(e,n){return void 0===e?this["_"+t]:new this.constructor(n?r.map(function(n){return this["_"+n]+(t===n?e:0)},this):r.map(function(n){return t===n?e:this["_"+n]},this))}}),e.forEach(function(e){c(t,e),c(e,t)}),e.push(t),o},o.pluginList=[],o.use=function(t){return -1===o.pluginList.indexOf(t)&&(this.pluginList.push(t),t(o)),o},o.installMethod=function(t,n){return e.forEach(function(e){o[e].prototype[t]=n}),this},o.installColorSpace("RGB",["red","green","blue","alpha"],{hex:function(){var t=(65536*Math.round(255*this._red)+256*Math.round(255*this._green)+Math.round(255*this._blue)).toString(16);return"#"+"00000".substr(0,6-t.length)+t},hexa:function(){var t=Math.round(255*this._alpha).toString(16);return"#"+"00".substr(0,2-t.length)+t+this.hex().substr(1,6)},css:function(){return"rgb("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+")"},cssa:function(){return"rgba("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+","+this._alpha+")"}}),t.exports=o},65598:function(t){t.exports=function(t){t.installMethod("clearer",function(t){return this.alpha(isNaN(t)?-.1:-t,!0)})}},52759:function(t,e,n){t.exports=function(t){t.use(n(84965)),t.installMethod("contrast",function(t){var e=this.luminance(),n=t.luminance();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)})}},34170:function(t,e,n){t.exports=function(t){t.use(n(45849)),t.installMethod("darken",function(t){return this.lightness(isNaN(t)?-.1:-t,!0)})}},98123:function(t,e,n){t.exports=function(t){t.use(n(45849)),t.installMethod("desaturate",function(t){return this.saturation(isNaN(t)?-.1:-t,!0)})}},13752:function(t){t.exports=function(t){function e(){var e=this.rgb(),n=.3*e._red+.59*e._green+.11*e._blue;return new t.RGB(n,n,n,e._alpha)}t.installMethod("greyscale",e).installMethod("grayscale",e)}},11018:function(t){t.exports=function(t){t.installMethod("isDark",function(){var t=this.rgb();return(76245*t._red+149685*t._green+29070*t._blue)/1e3<128})}},52061:function(t,e,n){t.exports=function(t){t.use(n(11018)),t.installMethod("isLight",function(){return!this.isDark()})}},63490:function(t,e,n){t.exports=function(t){t.use(n(45849)),t.installMethod("lighten",function(t){return this.lightness(isNaN(t)?.1:t,!0)})}},84965:function(t){t.exports=function(t){function e(t){return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}t.installMethod("luminance",function(){var t=this.rgb();return .2126*e(t._red)+.7152*e(t._green)+.0722*e(t._blue)})}},30368:function(t){t.exports=function(t){t.installMethod("mix",function(e,n){e=t(e).rgb();var r=2*(n=1-(isNaN(n)?.5:n))-1,i=this._alpha-e._alpha,a=((r*i==-1?r:(r+i)/(1+r*i))+1)/2,o=1-a,l=this.rgb();return new t.RGB(l._red*a+e._red*o,l._green*a+e._green*o,l._blue*a+e._blue*o,l._alpha*n+e._alpha*(1-n))})}},82661:function(t){t.exports=function(t){t.namedColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",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:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"}}},61820:function(t){t.exports=function(t){t.installMethod("negate",function(){var e=this.rgb();return new t.RGB(1-e._red,1-e._green,1-e._blue,this._alpha)})}},8904:function(t){t.exports=function(t){t.installMethod("opaquer",function(t){return this.alpha(isNaN(t)?.1:t,!0)})}},26301:function(t,e,n){t.exports=function(t){t.use(n(45849)),t.installMethod("rotate",function(t){return this.hue((t||0)/360,!0)})}},33598:function(t,e,n){t.exports=function(t){t.use(n(45849)),t.installMethod("saturate",function(t){return this.saturation(isNaN(t)?.1:t,!0)})}},37199:function(t){t.exports=function(t){t.installMethod("toAlpha",function(t){var e=this.rgb(),n=t(t).rgb(),r=new t.RGB(0,0,0,e._alpha),i=["_red","_green","_blue"];return i.forEach(function(t){e[t]<1e-10?r[t]=e[t]:e[t]>n[t]?r[t]=(e[t]-n[t])/(1-n[t]):e[t]>n[t]?r[t]=(n[t]-e[t])/n[t]:r[t]=0}),r._red>r._green?r._red>r._blue?e._alpha=r._red:e._alpha=r._blue:r._green>r._blue?e._alpha=r._green:e._alpha=r._blue,e._alpha<1e-10||(i.forEach(function(t){e[t]=(e[t]-n[t])/e._alpha+n[t]}),e._alpha*=r._alpha),e})}},41082:function(t){"use strict";var e=t.exports;t.exports.isNumber=function(t){return"number"==typeof t},t.exports.findMin=function(t){if(0===t.length)return 1/0;for(var e=t[0],n=1;n=f.length)){var n=Math.max(e-r,0),i=Math.min(e+r,f.length-1),o=n-(e-r),l=e+r-i,c=p/(p-(h[-r-1+o]||0)-(h[-r-1+l]||0));o>0&&(m+=c*(o-1)*g);var d=Math.max(0,e-r+1);a.inside(0,f.length-1,d)&&(f[d].y+=1*c*g),a.inside(0,f.length-1,e+1)&&(f[e+1].y-=2*c*g),a.inside(0,f.length-1,i+1)&&(f[i+1].y+=1*c*g)}});var y=m,v=0,b=0;return f.forEach(function(t){v+=t.y,y+=v,t.y=y,b+=y}),b>0&&f.forEach(function(t){t.y/=b}),f},t.exports.getExpectedValueFromPdf=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){e+=t.x*t.y}),e}},t.exports.getXWithLeftTailArea=function(t,e){if(t&&0!==t.length){for(var n=0,r=0,i=0;i=e));i++);return t[r].x}},t.exports.getPerplexity=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){var n=Math.log(t.y);isFinite(n)&&(e+=t.y*n)}),Math.pow(2,e=-e/r)}}},98651:function(t){if(!e)var e={map:function(t,e){var n={};return e?t.map(function(t,r){return n.index=r,e.call(n,t)}):t.slice()},naturalOrder:function(t,e){return te?1:0},sum:function(t,e){var n={};return t.reduce(e?function(t,r,i){return n.index=i,t+e.call(n,r)}:function(t,e){return t+e},0)},max:function(t,n){return Math.max.apply(null,n?e.map(t,n):t)}};var n=function(){function t(t,e,n){return(t<<10)+(e<<5)+n}function n(t){var e=[],n=!1;function r(){e.sort(t),n=!0}return{push:function(t){e.push(t),n=!1},peek:function(t){return n||r(),void 0===t&&(t=e.length-1),e[t]},pop:function(){return n||r(),e.pop()},size:function(){return e.length},map:function(t){return e.map(t)},debug:function(){return n||r(),e}}}function r(t,e,n,r,i,a,o){this.r1=t,this.r2=e,this.g1=n,this.g2=r,this.b1=i,this.b2=a,this.histo=o}function i(){this.vboxes=new n(function(t,n){return e.naturalOrder(t.vbox.count()*t.vbox.volume(),n.vbox.count()*n.vbox.volume())})}return r.prototype={volume:function(t){return(!this._volume||t)&&(this._volume=(this.r2-this.r1+1)*(this.g2-this.g1+1)*(this.b2-this.b1+1)),this._volume},count:function(e){var n=this.histo;if(!this._count_set||e){var r,i,a,o=0;for(r=this.r1;r<=this.r2;r++)for(i=this.g1;i<=this.g2;i++)for(a=this.b1;a<=this.b2;a++)o+=n[t(r,i,a)]||0;this._count=o,this._count_set=!0}return this._count},copy:function(){return new r(this.r1,this.r2,this.g1,this.g2,this.b1,this.b2,this.histo)},avg:function(e){var n=this.histo;if(!this._avg||e){var r,i,a,o,l=0,s=0,c=0,u=0;for(i=this.r1;i<=this.r2;i++)for(a=this.g1;a<=this.g2;a++)for(o=this.b1;o<=this.b2;o++)l+=r=n[t(i,a,o)]||0,s+=r*(i+.5)*8,c+=r*(a+.5)*8,u+=r*(o+.5)*8;l?this._avg=[~~(s/l),~~(c/l),~~(u/l)]:this._avg=[~~(8*(this.r1+this.r2+1)/2),~~(8*(this.g1+this.g2+1)/2),~~(8*(this.b1+this.b2+1)/2)]}return this._avg},contains:function(t){var e=t[0]>>3;return gval=t[1]>>3,bval=t[2]>>3,e>=this.r1&&e<=this.r2&&gval>=this.g1&&gval<=this.g2&&bval>=this.b1&&bval<=this.b2}},i.prototype={push:function(t){this.vboxes.push({vbox:t,color:t.avg()})},palette:function(){return this.vboxes.map(function(t){return t.color})},size:function(){return this.vboxes.size()},map:function(t){for(var e=this.vboxes,n=0;n251&&i[1]>251&&i[2]>251&&(t[r].color=[255,255,255])}},{quantize:function(a,o){if(!a.length||o<2||o>256)return!1;var l,s,c,u,f,d,h,p,g,m,y,v=(s=Array(32768),a.forEach(function(e){s[l=t(e[0]>>3,e[1]>>3,e[2]>>3)]=(s[l]||0)+1}),s),b=0;v.forEach(function(){b++});var x=(d=1e6,h=0,p=1e6,g=0,m=1e6,y=0,a.forEach(function(t){c=t[0]>>3,u=t[1]>>3,f=t[2]>>3,ch&&(h=c),ug&&(g=u),fy&&(y=f)}),new r(d,h,p,g,m,y,v)),O=new n(function(t,n){return e.naturalOrder(t.count(),n.count())});function w(n,r){for(var i,a=1,o=0;o<1e3;){if(!(i=n.pop()).count()){n.push(i),o++;continue}var l=function(n,r){if(r.count()){var i=r.r2-r.r1+1,a=r.g2-r.g1+1,o=r.b2-r.b1+1,l=e.max([i,a,o]);if(1==r.count())return[r.copy()];var s,c,u,f,d=0,h=[],p=[];if(l==i)for(s=r.r1;s<=r.r2;s++){for(f=0,c=r.g1;c<=r.g2;c++)for(u=r.b1;u<=r.b2;u++)f+=n[t(s,c,u)]||0;d+=f,h[s]=d}else if(l==a)for(s=r.g1;s<=r.g2;s++){for(f=0,c=r.r1;c<=r.r2;c++)for(u=r.b1;u<=r.b2;u++)f+=n[t(c,s,u)]||0;d+=f,h[s]=d}else for(s=r.b1;s<=r.b2;s++){for(f=0,c=r.r1;c<=r.r2;c++)for(u=r.g1;u<=r.g2;u++)f+=n[t(c,u,s)]||0;d+=f,h[s]=d}return h.forEach(function(t,e){p[e]=d-t}),function(t){var e,n,i,a,o,l=t+"1",c=t+"2",u=0;for(s=r[l];s<=r[c];s++)if(h[s]>d/2){for(i=r.copy(),a=r.copy(),o=(e=s-r[l])<=(n=r[c]-s)?Math.min(r[c]-1,~~(s+n/2)):Math.max(r[l],~~(s-1-e/2));!h[o];)o++;for(u=p[o];!u&&h[o-1];)u=p[--o];return i[c]=o,a[l]=i[c]+1,[i,a]}}(l==i?"r":l==a?"g":"b")}}(v,i),s=l[0],c=l[1];if(!s||(n.push(s),c&&(n.push(c),a++),a>=r||o++>1e3))return}}O.push(x),w(O,.75*o);for(var _=new n(function(t,n){return e.naturalOrder(t.count()*t.volume(),n.count()*n.volume())});O.size();)_.push(O.pop());w(_,o-_.size());for(var M=new i;_.size();)M.push(_.pop());return M}}}();t.exports=n.quantize},66757:function(t,e,n){"use strict";var r=n(93718),i=Array.prototype.concat,a=Array.prototype.slice,o=t.exports=function(t){for(var e=[],n=0,o=t.length;n`if(${t} < _results.length && ((_results.length = ${t+1}), (_results[${t}] = { error: ${e} }), _checkDone())) { -`+r(!0)+"} else {\n"+n()+"}\n",onResult:(t,e,n,r)=>`if(${t} < _results.length && (${e} !== undefined && (_results.length = ${t+1}), (_results[${t}] = { result: ${e} }), _checkDone())) { -`+r(!0)+"} else {\n"+n()+"}\n",onTap:(t,e,n,r)=>{let i="";return t>0&&(i+=`if(${t} >= _results.length) { -`+n()+"} else {\n"),i+=e(),t>0&&(i+="}\n"),i},onDone:n})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},58258:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onDone:e}){return this.callTapsParallel({onError:(e,n,r,i)=>t(n)+i(!0),onDone:e})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},54696:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onResult:e,resultReturns:n,onDone:r}){return this.callTapsSeries({onError:(e,n,r,i)=>t(n)+i(!0),onResult:(t,n,r)=>`if(${n} !== undefined) { -${e(n)} -} else { -${r()}} -`,resultReturns:n,onDone:r})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},42457:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onDone:e}){return this.callTapsSeries({onError:(e,n,r,i)=>t(n)+i(!0),onDone:e})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},64836:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onDone:e}){return this.callTapsLooping({onError:(e,n,r,i)=>t(n)+i(!0),onDone:e})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},42686:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onResult:e,onDone:n}){return this.callTapsSeries({onError:(e,n,r,i)=>t(n)+i(!0),onResult:(t,e,n)=>`if(${e} !== undefined) { -${this._args[0]} = ${e}; -} -`+n(),onDone:()=>e(this._args[0])})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){if(t.length<1)throw Error("Waterfall hooks must have at least one argument");let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},8126:function(t,e,n){"use strict";let r=n(26009),i=r.deprecate(()=>{},"Hook.context is deprecated and will be removed"),a=function(...t){return this.call=this._createCall("sync"),this.call(...t)},o=function(...t){return this.callAsync=this._createCall("async"),this.callAsync(...t)},l=function(...t){return this.promise=this._createCall("promise"),this.promise(...t)};class s{constructor(t=[],e){this._args=t,this.name=e,this.taps=[],this.interceptors=[],this._call=a,this.call=a,this._callAsync=o,this.callAsync=o,this._promise=l,this.promise=l,this._x=void 0,this.compile=this.compile,this.tap=this.tap,this.tapAsync=this.tapAsync,this.tapPromise=this.tapPromise}compile(t){throw Error("Abstract: should be overridden")}_createCall(t){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:t})}_tap(t,e,n){if("string"==typeof e)e={name:e.trim()};else if("object"!=typeof e||null===e)throw Error("Invalid tap options");if("string"!=typeof e.name||""===e.name)throw Error("Missing name for tap");void 0!==e.context&&i(),e=Object.assign({type:t,fn:n},e),e=this._runRegisterInterceptors(e),this._insert(e)}tap(t,e){this._tap("sync",t,e)}tapAsync(t,e){this._tap("async",t,e)}tapPromise(t,e){this._tap("promise",t,e)}_runRegisterInterceptors(t){for(let e of this.interceptors)if(e.register){let n=e.register(t);void 0!==n&&(t=n)}return t}withOptions(t){let e=e=>Object.assign({},t,"string"==typeof e?{name:e}:e);return{name:this.name,tap:(t,n)=>this.tap(e(t),n),tapAsync:(t,n)=>this.tapAsync(e(t),n),tapPromise:(t,n)=>this.tapPromise(e(t),n),intercept:t=>this.intercept(t),isUsed:()=>this.isUsed(),withOptions:t=>this.withOptions(e(t))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(t){if(this._resetCompilation(),this.interceptors.push(Object.assign({},t)),t.register)for(let e=0;e0;){r--;let t=this.taps[r];this.taps[r+1]=t;let i=t.stage||0;if(e){if(e.has(t.name)){e.delete(t.name);continue}if(e.size>0)continue}if(!(i>n)){r++;break}}this.taps[r]=t}}Object.setPrototypeOf(s.prototype,null),t.exports=s},55411:function(t){"use strict";t.exports=class{constructor(t){this.config=t,this.options=void 0,this._args=void 0}create(t){let e;switch(this.init(t),this.options.type){case"sync":e=Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:t=>`throw ${t}; -`,onResult:t=>`return ${t}; -`,resultReturns:!0,onDone:()=>"",rethrowIfPossible:!0}));break;case"async":e=Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:t=>`_callback(${t}); -`,onResult:t=>`_callback(null, ${t}); -`,onDone:()=>"_callback();\n"}));break;case"promise":let n=!1,r=this.contentWithInterceptors({onError:t=>(n=!0,`_error(${t}); -`),onResult:t=>`_resolve(${t}); -`,onDone:()=>"_resolve();\n"}),i="";i+='"use strict";\n'+this.header()+"return new Promise((function(_resolve, _reject) {\n",n&&(i+="var _sync = true;\nfunction _error(_err) {\nif(_sync)\n_resolve(Promise.resolve().then((function() { throw _err; })));\nelse\n_reject(_err);\n};\n"),i+=r,n&&(i+="_sync = false;\n"),i+="}));\n",e=Function(this.args(),i)}return this.deinit(),e}setup(t,e){t._x=e.taps.map(t=>t.fn)}init(t){this.options=t,this._args=t.args.slice()}deinit(){this.options=void 0,this._args=void 0}contentWithInterceptors(t){if(!(this.options.interceptors.length>0))return this.content(t);{let e=t.onError,n=t.onResult,r=t.onDone,i="";for(let t=0;t{let n="";for(let e=0;e{let e="";for(let n=0;n{let t="";for(let e=0;e0&&(t+="var _taps = this.taps;\nvar _interceptors = this.interceptors;\n"),t}needContext(){for(let t of this.options.taps)if(t.context)return!0;return!1}callTap(t,{onError:e,onResult:n,onDone:r,rethrowIfPossible:i}){let a="",o=!1;for(let e=0;e"sync"!==t.type),l=n||i,s="",c=r,u=0;for(let n=this.options.taps.length-1;n>=0;n--){let i=n,f=c!==r&&("sync"!==this.options.taps[i].type||u++>20);f&&(u=0,s+=`function _next${i}() { -`+c()+`} -`,c=()=>`${l?"return ":""}_next${i}(); -`);let d=c,h=t=>t?"":r(),p=this.callTap(i,{onError:e=>t(i,e,d,h),onResult:e&&(t=>e(i,t,d,h)),onDone:!e&&d,rethrowIfPossible:a&&(o<0||ip}return s+c()}callTapsLooping({onError:t,onDone:e,rethrowIfPossible:n}){if(0===this.options.taps.length)return e();let r=this.options.taps.every(t=>"sync"===t.type),i="";r||(i+="var _looper = (function() {\nvar _loopAsync = false;\n"),i+="var _loop;\ndo {\n_loop = false;\n";for(let t=0;t{let a="";return a+=`if(${e} !== undefined) { -_loop = true; -`,r||(a+="if(_loopAsync) _looper();\n"),a+=i(!0)+`} else { -`+n()+`} -`},onDone:e&&(()=>"if(!_loop) {\n"+e()+"}\n"),rethrowIfPossible:n&&r})+"} while(_loop);\n",r||(i+="_loopAsync = true;\n});\n_looper();\n"),i}callTapsParallel({onError:t,onResult:e,onDone:n,rethrowIfPossible:r,onTap:i=(t,e)=>e()}){if(this.options.taps.length<=1)return this.callTapsSeries({onError:t,onResult:e,onDone:n,rethrowIfPossible:r});let a="";a+=`do { -var _counter = ${this.options.taps.length}; -`,n&&(a+="var _done = (function() {\n"+n()+"});\n");for(let o=0;on?"if(--_counter === 0) _done();\n":"--_counter;",s=t=>t||!n?"_counter = 0;\n":"_counter = 0;\n_done();\n";a+="if(_counter <= 0) break;\n"+i(o,()=>this.callTap(o,{onError:e=>"if(_counter > 0) {\n"+t(o,e,l,s)+"}\n",onResult:e&&(t=>"if(_counter > 0) {\n"+e(o,t,l,s)+"}\n"),onDone:!e&&(()=>l()),rethrowIfPossible:r}),l,s)}return a+"} while(false);\n"}args({before:t,after:e}={}){let n=this._args;return(t&&(n=[t].concat(n)),e&&(n=n.concat(e)),0===n.length)?"":n.join(", ")}getTapFn(t){return`_x[${t}]`}getTap(t){return`_taps[${t}]`}getInterceptor(t){return`_interceptors[${t}]`}}},47771:function(t,e,n){"use strict";let r=n(26009),i=(t,e)=>e;class a{constructor(t,e){this._map=new Map,this.name=e,this._factory=t,this._interceptors=[]}get(t){return this._map.get(t)}for(t){let e=this.get(t);if(void 0!==e)return e;let n=this._factory(t),r=this._interceptors;for(let e=0;ee.withOptions(t)),this.name)}}t.exports=r},95176:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onResult:e,resultReturns:n,onDone:r,rethrowIfPossible:i}){return this.callTapsSeries({onError:(e,n)=>t(n),onResult:(t,n,r)=>`if(${n} !== undefined) { -${e(n)}; -} else { -${r()}} -`,resultReturns:n,onDone:r,rethrowIfPossible:i})}},o=()=>{throw Error("tapAsync is not supported on a SyncBailHook")},l=()=>{throw Error("tapPromise is not supported on a SyncBailHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},45851:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onDone:e,rethrowIfPossible:n}){return this.callTapsSeries({onError:(e,n)=>t(n),onDone:e,rethrowIfPossible:n})}},o=()=>{throw Error("tapAsync is not supported on a SyncHook")},l=()=>{throw Error("tapPromise is not supported on a SyncHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},83975:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onDone:e,rethrowIfPossible:n}){return this.callTapsLooping({onError:(e,n)=>t(n),onDone:e,rethrowIfPossible:n})}},o=()=>{throw Error("tapAsync is not supported on a SyncLoopHook")},l=()=>{throw Error("tapPromise is not supported on a SyncLoopHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},45444:function(t,e,n){"use strict";let r=n(8126),i=n(55411),a=new class extends i{content({onError:t,onResult:e,resultReturns:n,rethrowIfPossible:r}){return this.callTapsSeries({onError:(e,n)=>t(n),onResult:(t,e,n)=>`if(${e} !== undefined) { -${this._args[0]} = ${e}; -} -`+n(),onDone:()=>e(this._args[0]),doneReturns:n,rethrowIfPossible:r})}},o=()=>{throw Error("tapAsync is not supported on a SyncWaterfallHook")},l=()=>{throw Error("tapPromise is not supported on a SyncWaterfallHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){if(t.length<1)throw Error("Waterfall hooks must have at least one argument");let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},99477:function(t,e,n){"use strict";e.SyncHook=n(45851),n(95176),n(45444),n(83975),e.AsyncParallelHook=n(58258),n(23769),n(42457),n(54696),n(64836),e.AsyncSeriesWaterfallHook=n(42686),n(47771),n(13290)},26009:function(t,e){"use strict";e.deprecate=(t,e)=>{let n=!0;return function(){return n&&(console.warn("DeprecationWarning: "+e),n=!1),t.apply(this,arguments)}}},56569:function(t,e,n){"use strict";var r=n(56257);e.Z=r}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4457-71f24ebb4d42c420.js b/dbgpt/app/static/web/_next/static/chunks/4457-71f24ebb4d42c420.js deleted file mode 100644 index 45fbd39c7..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4457-71f24ebb4d42c420.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4457,9549],{76243:function(e,l,t){t.d(l,{Z:function(){return c}});var a=t(96469),n=t(32373),s=t(34934),r=t(6618),i=t(42746);function c(e){let{type:l}=e;return"TEXT"===l?(0,a.jsx)(n.Z,{className:"text-[#2AA3FF] mr-2 !text-lg"}):"DOCUMENT"===l?(0,a.jsx)(s.Z,{className:"text-[#2AA3FF] mr-2 !text-lg"}):"YUQUEURL"===l?(0,a.jsx)(r.Z,{className:"text-[#2AA3FF] mr-2 !text-lg"}):(0,a.jsx)(i.Z,{className:"text-[#2AA3FF] mr-2 !text-lg"})}},56982:function(e,l,t){t.d(l,{Z:function(){return en}});var a=t(96469),n=t(27623),s=t(45277),r=t(37022),i=t(56010),c=t(35732),o=t(29766),d=t(32982),u=t(40132),m=t(2537),x=t(52896),h=t(97511),p=t(67144),f=t(28062),j=t(67423),_=t(3936),g=t(16602),v=t(79839),b=t(70351),y=t(42786),N=t(10755),Z=t(55360),k=t(60205),w=t(49030),C=t(67661),S=t(27691),I=t(41999),P=t(67343),E=t(80335),T=t(97818),q=t(87674),F=t(26869),U=t.n(F),R=t(61671),D=t.n(R),A=t(87313),O=t(38497),V=t(56841),L=t(38437),M=t(30994),z=t(5996),G=t(79092),H=t(57668),Y=t(32594);let{TextArea:$}=I.default;function J(e){let{space:l,argumentsShow:t,setArgumentsShow:s}=e,{t:r}=(0,V.$G)(),[i,c]=(0,O.useState)(),[o,d]=(0,O.useState)(!1),u=async()=>{let[e,t]=await (0,n.Vx)((0,n.Tu)(l.name));c(t)};(0,O.useEffect)(()=>{u()},[l.name]);let m=[{key:"Embedding",label:(0,a.jsxs)("div",{children:[(0,a.jsx)(G.Z,{}),r("Embedding")]}),children:(0,a.jsxs)(L.Z,{gutter:24,children:[(0,a.jsx)(M.Z,{span:12,offset:0,children:(0,a.jsx)(Z.default.Item,{tooltip:r("the_top_k_vectors"),rules:[{required:!0}],label:r("topk"),name:["embedding","topk"],children:(0,a.jsx)(I.default,{className:"mb-5 h-12"})})}),(0,a.jsx)(M.Z,{span:12,children:(0,a.jsx)(Z.default.Item,{tooltip:r("Set_a_threshold_score"),rules:[{required:!0}],label:r("recall_score"),name:["embedding","recall_score"],children:(0,a.jsx)(I.default,{className:"mb-5 h-12",placeholder:"请输入"})})}),(0,a.jsx)(M.Z,{span:12,children:(0,a.jsx)(Z.default.Item,{tooltip:r("recall_type"),rules:[{required:!0}],label:r("recall_type"),name:["embedding","recall_type"],children:(0,a.jsx)(I.default,{className:"mb-5 h-12"})})}),(0,a.jsx)(M.Z,{span:12,children:(0,a.jsx)(Z.default.Item,{tooltip:r("A_model_used"),rules:[{required:!0}],label:r("model"),name:["embedding","model"],children:(0,a.jsx)(I.default,{className:"mb-5 h-12"})})}),(0,a.jsx)(M.Z,{span:12,children:(0,a.jsx)(Z.default.Item,{tooltip:r("The_size_of_the_data_chunks"),rules:[{required:!0}],label:r("chunk_size"),name:["embedding","chunk_size"],children:(0,a.jsx)(I.default,{className:"mb-5 h-12"})})}),(0,a.jsx)(M.Z,{span:12,children:(0,a.jsx)(Z.default.Item,{tooltip:r("The_amount_of_overlap"),rules:[{required:!0}],label:r("chunk_overlap"),name:["embedding","chunk_overlap"],children:(0,a.jsx)(I.default,{className:"mb-5 h-12",placeholder:r("Please_input_the_description")})})})]})},{key:"Prompt",label:(0,a.jsxs)("div",{children:[(0,a.jsx)(H.Z,{}),r("Prompt")]}),children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Z.default.Item,{tooltip:r("A_contextual_parameter"),label:r("scene"),name:["prompt","scene"],children:(0,a.jsx)($,{rows:4,className:"mb-2"})}),(0,a.jsx)(Z.default.Item,{tooltip:r("structure_or_format"),label:r("template"),name:["prompt","template"],children:(0,a.jsx)($,{rows:7,className:"mb-2"})}),(0,a.jsx)(Z.default.Item,{tooltip:r("The_maximum_number_of_tokens"),label:r("max_token"),name:["prompt","max_token"],children:(0,a.jsx)(I.default,{className:"mb-2"})})]})},{key:"Summary",label:(0,a.jsxs)("div",{children:[(0,a.jsx)(Y.Z,{}),r("Summary")]}),children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Z.default.Item,{rules:[{required:!0}],label:r("max_iteration"),name:["summary","max_iteration"],children:(0,a.jsx)(I.default,{className:"mb-2"})}),(0,a.jsx)(Z.default.Item,{rules:[{required:!0}],label:r("concurrency_limit"),name:["summary","concurrency_limit"],children:(0,a.jsx)(I.default,{className:"mb-2"})})]})}],x=async e=>{d(!0);let[t,a,r]=await (0,n.Vx)((0,n.iH)(l.name,{argument:JSON.stringify(e)}));d(!1),(null==r?void 0:r.success)&&s(!1)};return(0,a.jsx)(v.default,{width:850,open:t,onCancel:()=>{s(!1)},footer:null,children:(0,a.jsx)(y.Z,{spinning:o,children:(0,a.jsxs)(Z.default,{size:"large",className:"mt-4",layout:"vertical",name:"basic",initialValues:{...i},autoComplete:"off",onFinish:x,children:[(0,a.jsx)(z.Z,{items:m}),(0,a.jsxs)("div",{className:"mt-3 mb-3",children:[(0,a.jsx)(S.ZP,{htmlType:"submit",type:"primary",className:"mr-6",children:r("Submit")}),(0,a.jsx)(S.ZP,{onClick:()=>{s(!1)},children:r("close")})]})]})})})}var W=t(76243),Q=t(26657),B=t(47309),K=t(62971),X=t(99631),ee=t(16156),el=e=>{let{open:l,setOpen:t,space:s}=e,[r]=Z.default.useForm(),[i]=Z.default.useForm(),{data:c=[],run:o}=(0,g.Z)(async()=>{let[,e]=await (0,n.Vx)((0,n.Pg)(s.name+""));return null!=e?e:[]},{manual:!0}),{data:d=[],run:u}=(0,g.Z)(async()=>{let[,e]=await (0,n.Vx)((0,n.UO)(s.name+""));return null!=e?e:[]},{manual:!0,onSuccess:e=>{i.setFieldValue("recall_retrievers",e)}});(0,O.useEffect)(()=>{l&&u()},[l,u,o]);let{run:m,data:x=[],loading:h}=(0,g.Z)(async e=>{let[,l]=await (0,n.Vx)((0,n.Y2)({...e},s.name+""));return null!=l?l:[]},{manual:!0}),p=async()=>{r.validateFields().then(async e=>{let l=i.getFieldsValue();console.log(l),await m({recall_top_k:1,recall_retrievers:d,...e,...l})})};return(0,a.jsxs)(v.default,{title:"召回测试",width:"60%",open:l,footer:!1,onCancel:()=>t(!1),centered:!0,destroyOnClose:!0,children:[(0,a.jsx)(P.Z,{title:"召回配置",size:"small",className:"my-4",extra:(0,a.jsx)(K.Z,{placement:"bottomRight",trigger:"hover",title:"向量检索设置",content:(0,a.jsxs)(Z.default,{form:i,initialValues:{recall_top_k:1},children:[(0,a.jsx)(Z.default.Item,{label:"Topk",tooltip:"基于相似度得分的前 k 个向量",name:"recall_top_k",children:(0,a.jsx)(X.Z,{placeholder:"请输入",className:"w-full"})}),(0,a.jsx)(Z.default.Item,{label:"召回方法",name:"recall_retrievers",children:(0,a.jsx)(ee.default,{mode:"multiple",options:d.map(e=>({label:e,value:e})),className:"w-full",allowClear:!0,disabled:!0})}),(0,a.jsx)(Z.default.Item,{label:"score阈值",name:"recall_score_threshold",children:(0,a.jsx)(X.Z,{placeholder:"请输入",className:"w-full",step:.1})})]}),children:(0,a.jsx)(B.Z,{className:"text-lg"})}),children:(0,a.jsx)(Z.default,{form:r,layout:"vertical",onFinish:p,children:(0,a.jsx)(Z.default.Item,{label:"测试问题",required:!0,name:"question",rules:[{required:!0,message:"请输入测试问题"}],className:"m-0 p-0",children:(0,a.jsxs)("div",{className:"flex w-full items-center gap-8",children:[(0,a.jsx)(I.default,{placeholder:"请输入测试问题",autoComplete:"off",allowClear:!0,className:"w-1/2"}),(0,a.jsx)(S.ZP,{type:"primary",htmlType:"submit",children:"测试"})]})})})}),(0,a.jsx)(P.Z,{title:"召回结果",size:"small",children:(0,a.jsx)(y.Z,{spinning:h,children:x.length>0?(0,a.jsx)("div",{className:"flex flex-col overflow-y-auto",style:{height:"45vh"},children:x.map(e=>(0,a.jsx)(P.Z,{title:(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsxs)(w.Z,{color:"blue",children:["# ",e.chunk_id]}),e.metadata.prop_field.title]}),extra:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"font-semibold",children:"score:"}),(0,a.jsx)("span",{className:"text-blue-500",children:e.score})]}),size:"small",className:"mb-4 border-gray-500 shadow-md",children:(0,a.jsx)(Q.default,{children:e.content})},e.chunk_id))}):(0,a.jsx)(T.Z,{})})})]})};let{confirm:et}=v.default,ea=e=>{let{name:l,id:t}=e,[s,c]=(0,O.useState)(!1),{t:o}=(0,V.$G)(),d=async(e,l)=>{var t;c(!0);let a=await (0,n.Vx)((0,n.Hx)(e,{doc_ids:[l]}));c(!1),(null===(t=a[2])||void 0===t?void 0:t.success)&&b.ZP.success(o("Synchronization_initiated"))};return s?(0,a.jsx)(y.Z,{indicator:(0,a.jsx)(r.Z,{spin:!0})}):(0,a.jsxs)(N.Z,{onClick:()=>{d(l,t)},children:[(0,a.jsx)(i.Z,{}),(0,a.jsx)("span",{children:o("Sync")})]})};function en(e){var l;let[t]=Z.default.useForm(),{space:r,addStatus:i}=e,{t:F}=(0,V.$G)(),R=(0,A.useRouter)(),{isMenuExpand:L}=(0,O.useContext)(s.p),[M,z]=(0,O.useState)([]),[G,H]=(0,O.useState)([]),[Y,$]=(0,O.useState)([]),[Q,B]=(0,O.useState)(!1),[K,X]=(0,O.useState)(0),[ee,en]=(0,O.useState)(!1),[es,er]=(0,O.useState)(),[ei,ec]=(0,O.useState)(!1),eo=(0,O.useRef)(1),ed=(0,O.useMemo)(()=>(null==G?void 0:G.length){et({title:F("Tips"),icon:(0,a.jsx)(c.Z,{}),content:"".concat(F("Del_Document_Tips"),"?"),okText:"Yes",okType:"danger",cancelText:"No",async onOk(){await ef(e)}})},{run:em,refresh:ex,loading:eh}=(0,g.Z)(async()=>await (0,n.Vx)((0,n._Q)(r.name,{page:eo.current,page_size:18})),{manual:!0,onSuccess:e=>{let[,l]=e;H(null==l?void 0:l.data),$(null==l?void 0:l.data),X((null==l?void 0:l.total)||0)}}),ep=async()=>{if(!ed)return;eo.current+=1;let[e,l]=await (0,n.Vx)((0,n._Q)(r.name,{page:eo.current,page_size:18}));H([...G,...l.data]),$([...G,...l.data])},ef=async l=>{await (0,n.Vx)((0,n.n3)(r.name,{doc_name:l.doc_name})),em(),e.onDeleteDoc()},ej=()=>{e.onAddDoc(r.name)},e_=(e,l)=>{let t;switch(e){case"TODO":t="gold";break;case"RUNNING":t="#2db7f5";break;case"FINISHED":t="cyan";break;default:t="red"}return(0,a.jsx)(k.Z,{title:l,children:(0,a.jsx)(w.Z,{color:t,children:e})})};(0,O.useEffect)(()=>{em()},[]),(0,O.useEffect)(()=>{"finish"===i&&em()},[i]),(0,O.useCallback)(async e=>{let{data:l}=await (0,n.Yp)({space_id:r.id,user_nos:e});l.success?b.ZP.success(F("Edit_Success")):C.ZP.error({description:l.err_msg,message:"Update Error"})},[r.id]);let{run:eg,loading:ev}=(0,g.Z)(async(e,l)=>{let[,t]=await (0,n.Vx)((0,n.ey)(r.name,{doc_name:l}));return t},{manual:!0,debounceWait:500,onSuccess:e=>{console.log(e),$(null==e?void 0:e.data)}}),{run:eb,loading:ey}=(0,g.Z)(async l=>{var t;return await (0,n.k7)(e.space.name,{questions:null===(t=l.questions)||void 0===t?void 0:t.map(e=>e.question),doc_id:(null==es?void 0:es.id)||"",doc_name:l.doc_name})},{manual:!0,onSuccess:async e=>{e.data.success?(b.ZP.success(F("Edit_Success")),await em(),en(!1)):b.ZP.error(e.data.err_msg)}});return(0,O.useEffect)(()=>{var e;es&&t.setFieldsValue({doc_name:es.doc_name,questions:null===(e=es.questions)||void 0===e?void 0:e.map(e=>({question:e}))})},[es,t]),(0,a.jsxs)("div",{className:"px-4",children:[(0,a.jsxs)(N.Z,{children:[(0,a.jsx)(S.ZP,{size:"middle",type:"primary",className:"flex items-center",icon:(0,a.jsx)(h.Z,{}),onClick:ej,children:F("Add_Datasource")}),(0,a.jsx)(S.ZP,{size:"middle",className:"flex items-center mx-2",icon:(0,a.jsx)(p.Z,{}),onClick:()=>{B(!0)},children:"Arguments"}),"KnowledgeGraph"===r.vector_type&&(0,a.jsx)(S.ZP,{size:"middle",className:"flex items-center mx-2",icon:(0,a.jsx)(f.Z,{}),onClick:()=>{R.push("/knowledge/graph/?spaceName=".concat(r.name))},children:F("View_Graph")}),(0,a.jsx)(S.ZP,{icon:(0,a.jsx)(j.Z,{}),onClick:()=>ec(!0),children:F("Recall_test")})]}),(0,a.jsx)(q.Z,{}),(0,a.jsx)(y.Z,{spinning:eh,children:(0,a.jsxs)("div",{className:"w-full h-full",children:[(0,a.jsx)("div",{className:"mb-4",children:(0,a.jsx)("div",{className:"flex w-full justify-end",children:(0,a.jsx)(S.ZP,{type:"primary",onClick:async()=>{await ex()},loading:eh,children:F("Refresh_status")})})}),(0,a.jsx)("div",{className:"flex flex-col h-full p-3 border rounded-md",children:(null==G?void 0:G.length)>0?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"flex flex-1 justify-between items-center",children:(0,a.jsx)(I.default,{className:"w-1/3",prefix:(0,a.jsx)(o.Z,{}),placeholder:F("please_enter_the_keywords"),onChange:async e=>{await eg(r.id,e.target.value)},allowClear:!0})}),(0,a.jsxs)(y.Z,{spinning:ev,children:[(0,a.jsx)(a.Fragment,{children:Y.length>0?(0,a.jsx)("div",{className:"h-96 mt-3 grid grid-cols-3 gap-x-6 gap-y-5 overflow-y-auto",children:Y.map(e=>(0,a.jsxs)(P.Z,{className:" dark:bg-[#484848] relative shrink-0 grow-0 cursor-pointer rounded-[10px] border border-gray-200 border-solid w-full max-h-64",title:(0,a.jsx)(k.Z,{title:e.doc_name,children:(0,a.jsxs)("div",{className:"truncate ",children:[(0,a.jsx)(W.Z,{type:e.doc_type}),(0,a.jsx)("span",{children:e.doc_name})]})}),extra:(0,a.jsx)(E.Z,{menu:{items:[{key:"publish",label:(0,a.jsxs)(N.Z,{onClick:()=>{R.push("/construct/knowledge/chunk/?spaceName=".concat(r.name,"&id=").concat(e.id))},children:[(0,a.jsx)(d.Z,{}),(0,a.jsx)("span",{children:F("detail")})]})},{key:"".concat(F("Sync")),label:(0,a.jsx)(ea,{name:r.name,id:e.id})},{key:"edit",label:(0,a.jsxs)(N.Z,{onClick:()=>{en(!0),er(e)},children:[(0,a.jsx)(u.Z,{}),(0,a.jsx)("span",{children:F("Edit")})]})},{key:"del",label:(0,a.jsxs)(N.Z,{onClick:()=>{eu(e)},children:[(0,a.jsx)(m.Z,{}),(0,a.jsx)("span",{children:F("Delete")})]})}]},getPopupContainer:e=>e.parentNode,placement:"bottomRight",autoAdjustOverflow:!1,className:"rounded-md",children:(0,a.jsx)(x.Z,{className:"p-2"})}),children:[(0,a.jsxs)("p",{className:"mt-2 font-semibold ",children:[F("Size"),":"]}),(0,a.jsxs)("p",{children:[e.chunk_size," chunks"]}),(0,a.jsxs)("p",{className:"mt-2 font-semibold ",children:[F("Last_Sync"),":"]}),(0,a.jsx)("p",{children:D()(e.last_sync).format("YYYY-MM-DD HH:MM:SS")}),(0,a.jsx)("p",{className:"mt-2 mb-2",children:e_(e.status,e.result)})]},e.id))}):(0,a.jsx)(T.Z,{className:"flex flex-1 w-full py-10 flex-col items-center justify-center",image:T.Z.PRESENTED_IMAGE_DEFAULT})}),ed&&(0,a.jsx)(q.Z,{children:(0,a.jsx)("span",{className:"cursor-pointer",onClick:ep,children:F("Load_more")})})]})]}):(0,a.jsx)(T.Z,{image:T.Z.PRESENTED_IMAGE_DEFAULT,children:(0,a.jsx)(S.ZP,{type:"primary",className:"flex items-center mx-auto",icon:(0,a.jsx)(h.Z,{}),onClick:ej,children:"Create Now"})})})]})}),(0,a.jsx)(J,{space:r,argumentsShow:Q,setArgumentsShow:B}),(0,a.jsx)(v.default,{title:F("Edit_document"),open:ee,onCancel:()=>en(!1),destroyOnClose:!0,footer:[(0,a.jsx)(S.ZP,{onClick:()=>en(!1),children:F("cancel")},"back"),(0,a.jsx)(S.ZP,{type:"primary",loading:ey,onClick:async()=>{let e=t.getFieldsValue();await eb(e)},children:F("verify")},"submit")],children:(0,a.jsxs)(Z.default,{form:t,initialValues:{doc_name:null==es?void 0:es.doc_name,questions:null==es?void 0:null===(l=es.questions)||void 0===l?void 0:l.map(e=>({question:e}))},children:[(0,a.jsx)(Z.default.Item,{label:F("Document_name"),name:"doc_name",children:(0,a.jsx)(I.default,{})}),(0,a.jsx)(Z.default.Item,{label:F("Correlation_problem"),children:(0,a.jsx)(Z.default.List,{name:"questions",children:(e,l)=>{let{add:t,remove:n}=l;return(0,a.jsxs)(a.Fragment,{children:[e.map((e,l)=>{let{key:t,name:s}=e;return(0,a.jsxs)("div",{className:U()("flex flex-1 items-center gap-8 mb-6"),children:[(0,a.jsx)(Z.default.Item,{label:"",name:[s,"question"],className:"grow",children:(0,a.jsx)(I.default,{placeholder:"请输入"})}),(0,a.jsx)(Z.default.Item,{children:(0,a.jsx)(_.Z,{onClick:()=>{n(s)}})})]},t)}),(0,a.jsx)(Z.default.Item,{children:(0,a.jsx)(S.ZP,{type:"dashed",onClick:()=>{t({question:"",valid:!1})},block:!0,icon:(0,a.jsx)(h.Z,{}),children:F("Add_problem")})})]})}})})]})}),(0,a.jsx)(el,{open:ei,setOpen:ec,space:r})]})}},80053:function(e,l,t){t.d(l,{Z:function(){return i}});var a=t(96469),n=t(67343),s=t(56841),r=t(76243);function i(e){let{t:l}=(0,s.$G)(),{handleStepChange:t}=e,i=[{type:"TEXT",title:l("Text"),subTitle:l("Fill your raw text"),iconType:"TEXT"},{type:"URL",title:l("URL"),subTitle:l("Fetch_the_content_of_a_URL"),iconType:"WEBPAGE"},{type:"DOCUMENT",title:l("Document"),subTitle:l("Upload_a_document"),iconType:"DOCUMENT"},{type:"YUQUEURL",title:l("yuque"),subTitle:l("Get_yuque_document"),iconType:"YUQUEURL"}];return(0,a.jsx)(a.Fragment,{children:i.map((e,l)=>(0,a.jsxs)(n.Z,{className:"mt-4 mb-4 cursor-pointer",onClick:()=>{t({label:"forward",docType:e.type})},children:[(0,a.jsxs)("div",{className:"font-semibold",children:[(0,a.jsx)(r.Z,{type:e.iconType}),e.title]}),(0,a.jsx)("div",{children:e.subTitle})]},l))})}},55868:function(e,l,t){t.d(l,{Z:function(){return b}});var a=t(96469),n=t(27623),s=t(3936),r=t(97511),i=t(62938),c=t(19389),o=t(41999),d=t(55360),u=t(70351),m=t(27691),x=t(42786),h=t(26869),p=t.n(h),f=t(38497),j=t(56841),_=t(21840);let{Dragger:g}=c.default,{TextArea:v}=o.default;function b(e){let{className:l,handleStepChange:t,spaceName:c,docType:h}=e,{t:b}=(0,j.$G)(),[y]=d.default.useForm(),[N,Z]=(0,f.useState)(!1),[k,w]=(0,f.useState)([]),C=async e=>{let l;let{docName:a,textSource:s,text:r,webPageUrl:i,doc_token:o,questions:d=[],originFileObj:m}=e;switch(Z(!0),h){case"URL":[,l]=await (0,n.Vx)((0,n.H_)(c,{doc_name:a,content:i,doc_type:"URL",questions:null==d?void 0:d.map(e=>e.question)}));break;case"TEXT":[,l]=await (0,n.Vx)((0,n.H_)(c,{doc_name:a,source:s,content:r,doc_type:"TEXT",questions:d.map(e=>e.question)}));break;case"YUQUEURL":[,l]=await (0,n.Vx)((0,n.TT)({doc_name:a,space_name:c,content:i,doc_type:"YUQUEURL",doc_token:o||"",questions:null==d?void 0:d.map(e=>e.question)}));break;case"DOCUMENT":let x=new FormData,p=null==m?void 0:m.name,f=d.map(e=>e.question);x.append("doc_name",p),x.append("doc_file",m),x.append("doc_type","DOCUMENT"),x.append("questions",JSON.stringify(f)),[,l]=await (0,n.Vx)((0,n.iG)(c,x)),console.log(l),Number.isInteger(l)&&w(e=>(e.push({name:p,doc_id:l||-1}),e))}return(Z(!1),"DOCUMENT"===h&&k.length<1)?u.ZP.error("Upload failed, please re-upload."):"DOCUMENT"===h||l?void t({label:"forward",files:"DOCUMENT"===h?k:[{name:a,doc_id:l||-1}]}):u.ZP.error("Upload failed, please re-upload.")},S=e=>{let{file:l,fileList:t}=e;0===t.length?y.setFieldValue("originFileObj",null):y.setFieldValue("originFileObj",l)},I=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.default.Item,{label:"".concat(b("Name"),":"),name:"docName",rules:[{required:!0,message:b("Please_input_the_name")}],children:(0,a.jsx)(o.default,{className:"mb-5 h-12",placeholder:b("Please_input_the_name")})}),(0,a.jsx)(d.default.Item,{label:"".concat(b("Text_Source"),":"),name:"textSource",rules:[{required:!0,message:b("Please_input_the_text_source")}],children:(0,a.jsx)(o.default,{className:"mb-5 h-12",placeholder:b("Please_input_the_text_source")})}),(0,a.jsx)(d.default.Item,{label:"".concat(b("Text"),":"),name:"text",rules:[{required:!0,message:b("Please_input_the_description")}],children:(0,a.jsx)(v,{rows:4})}),(0,a.jsx)(d.default.Item,{label:"".concat(b("Correlation_problem"),":"),children:(0,a.jsx)(d.default.List,{name:"questions",children:(e,l)=>{let{add:t,remove:n}=l;return(0,a.jsxs)(a.Fragment,{children:[e.map((e,l)=>{let{key:t,name:r}=e;return(0,a.jsxs)("div",{className:p()("flex flex-1 items-center gap-8 mb-6"),children:[(0,a.jsx)(d.default.Item,{label:"",name:[r,"question"],className:"grow",children:(0,a.jsx)(o.default,{placeholder:b("input_question")})}),(0,a.jsx)(d.default.Item,{children:(0,a.jsx)(s.Z,{onClick:()=>{n(r)}})})]},t)}),(0,a.jsx)(d.default.Item,{children:(0,a.jsx)(m.ZP,{type:"dashed",onClick:()=>{t()},block:!0,icon:(0,a.jsx)(r.Z,{}),children:b("Add_problem")})})]})}})})]}),P=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.default.Item,{label:"".concat(b("Name"),":"),name:"docName",rules:[{required:!0,message:b("Please_input_the_name")}],children:(0,a.jsx)(o.default,{className:"mb-5 h-12",placeholder:b("Please_input_the_name")})}),(0,a.jsx)(d.default.Item,{label:"".concat(b("Web_Page_URL"),":"),name:"webPageUrl",rules:[{required:!0,message:b("Please_input_the_Web_Page_URL")}],children:(0,a.jsx)(o.default,{className:"mb-5 h-12",placeholder:b("Please_input_the_Web_Page_URL")})}),(0,a.jsx)(d.default.Item,{label:"".concat(b("Correlation_problem"),":"),children:(0,a.jsx)(d.default.List,{name:"questions",children:(e,l)=>{let{add:t,remove:n}=l;return(0,a.jsxs)(a.Fragment,{children:[e.map((e,l)=>{let{key:t,name:r}=e;return(0,a.jsxs)("div",{className:p()("flex flex-1 items-center gap-8 mb-6"),children:[(0,a.jsx)(d.default.Item,{label:"",name:[r,"question"],className:"grow",children:(0,a.jsx)(o.default,{placeholder:b("input_question")})}),(0,a.jsx)(d.default.Item,{children:(0,a.jsx)(s.Z,{onClick:()=>{n(r)}})})]},t)}),(0,a.jsx)(d.default.Item,{children:(0,a.jsx)(m.ZP,{type:"dashed",onClick:()=>{t()},block:!0,icon:(0,a.jsx)(r.Z,{}),children:b("Add_problem")})})]})}})})]}),E=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.default.Item,{label:"".concat(b("Name"),":"),name:"docName",rules:[{required:!0,message:b("Please_input_the_name")}],children:(0,a.jsx)(o.default,{className:"mb-5 h-12",placeholder:b("Please_input_the_name")})}),(0,a.jsx)(d.default.Item,{label:b("document_url"),name:"webPageUrl",rules:[{required:!0,message:b("input_document_url")}],children:(0,a.jsx)(o.default,{className:"mb-5 h-12",placeholder:b("input_document_url")})}),(0,a.jsx)(d.default.Item,{label:b("document_token"),name:"doc_token",tooltip:(0,a.jsxs)(a.Fragment,{children:[b("Get_token"),(0,a.jsx)(_.Z.Link,{href:"https://yuque.antfin-inc.com/lark/openapi/dh8zp4",target:"_blank",children:b("Reference_link")})]}),children:(0,a.jsx)(o.default,{className:"mb-5 h-12",placeholder:b("input_document_token")})}),(0,a.jsx)(d.default.Item,{label:"".concat(b("Correlation_problem"),":"),children:(0,a.jsx)(d.default.List,{name:"questions",children:(e,l)=>{let{add:t,remove:n}=l;return(0,a.jsxs)(a.Fragment,{children:[e.map((e,l)=>{let{key:t,name:r}=e;return(0,a.jsxs)("div",{className:p()("flex flex-1 items-center gap-8 mb-6"),children:[(0,a.jsx)(d.default.Item,{label:"",name:[r,"question"],className:"grow",children:(0,a.jsx)(o.default,{placeholder:b("input_question")})}),(0,a.jsx)(d.default.Item,{children:(0,a.jsx)(s.Z,{onClick:()=>{n(r)}})})]},t)}),(0,a.jsx)(d.default.Item,{children:(0,a.jsx)(m.ZP,{type:"dashed",onClick:()=>{t()},block:!0,icon:(0,a.jsx)(r.Z,{}),children:b("Add_problem")})})]})}})})]}),T=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.default.Item,{name:"originFileObj",rules:[{required:!0,message:b("Please_select_file")}],children:(0,a.jsxs)(g,{multiple:!0,beforeUpload:()=>!1,onChange:S,maxCount:1,accept:".pdf,.ppt,.pptx,.xls,.xlsx,.doc,.docx,.txt,.md,.zip",children:[(0,a.jsx)("p",{className:"ant-upload-drag-icon",children:(0,a.jsx)(i.Z,{})}),(0,a.jsx)("p",{style:{color:"rgb(22, 108, 255)",fontSize:"20px"},children:b("Select_or_Drop_file")}),(0,a.jsx)("p",{className:"ant-upload-hint",style:{color:"rgb(22, 108, 255)"},children:"PDF, PowerPoint, Excel, Word, Text, Markdown, Zip1"})]})}),(0,a.jsx)(d.default.Item,{label:"关联问题:",children:(0,a.jsx)(d.default.List,{name:"questions",children:(e,l)=>{let{add:t,remove:n}=l;return(0,a.jsxs)(a.Fragment,{children:[e.map((e,l)=>{let{key:t,name:r}=e;return(0,a.jsxs)("div",{className:p()("flex flex-1 items-center gap-8 mb-6"),children:[(0,a.jsx)(d.default.Item,{label:"",name:[r,"question"],className:"grow",children:(0,a.jsx)(o.default,{placeholder:"请输入问题"})}),(0,a.jsx)(d.default.Item,{children:(0,a.jsx)(s.Z,{onClick:()=>{n(r)}})})]},t)}),(0,a.jsx)(d.default.Item,{children:(0,a.jsx)(m.ZP,{type:"dashed",onClick:()=>{t()},block:!0,icon:(0,a.jsx)(r.Z,{}),children:b("Add_problem")})})]})}})})]});return(0,a.jsx)(x.Z,{spinning:N,children:(0,a.jsxs)(d.default,{form:y,size:"large",className:p()("mt-4",l),layout:"vertical",name:"basic",initialValues:{remember:!0},autoComplete:"off",onFinish:C,children:[(()=>{switch(h){case"URL":return P();case"DOCUMENT":return T();case"YUQUEURL":return E();default:return I()}})(),(0,a.jsxs)(d.default.Item,{children:[(0,a.jsx)(m.ZP,{onClick:()=>{t({label:"back"})},className:"mr-4",children:"".concat(b("Back"))}),(0,a.jsx)(m.ZP,{type:"primary",loading:N,htmlType:"submit",children:b("Next")})]})]})})}},12862:function(e,l,t){let a;t.d(l,{Z:function(){return y}});var n=t(96469),s=t(27623),r=t(55360),i=t(70351),c=t(76914),o=t(86776),d=t(42786),u=t(27691),m=t(42834),x=t(38497),h=t(56841),p=t(41999),f=t(99631),j=t(29223),_=t(76372);let{TextArea:g}=p.default;function v(e){let{strategies:l,docType:t,fileName:a,field:s}=e,[i,o]=(0,x.useState)(),d="";if("DOCUMENT"===t){let e=a.split(".");d=e[e.length-1]}let u=d?l.filter(e=>e.suffix.indexOf(d)>-1):l,{t:m}=(0,h.$G)(),p={strategy:"Automatic",name:m("Automatic"),desc:m("Automatic_desc")};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.default.Item,{name:[s.name,"chunk_parameters","chunk_strategy"],initialValue:p.strategy,children:(0,n.jsxs)(_.ZP.Group,{style:{marginTop:16},onChange:function(e){o(e.target.value)},children:[(0,n.jsx)(_.ZP,{value:p.strategy,children:p.name}),u.map(e=>(0,n.jsx)(_.ZP,{value:e.strategy,children:e.name},"strategy_radio_".concat(e.strategy)))]})}),function(){var e;if(!i)return null;if(i===p.name)return(0,n.jsx)("p",{className:"my-4",children:p.desc});let l=null===(e=null==u?void 0:u.filter(e=>e.strategy===i)[0])||void 0===e?void 0:e.parameters;return l&&l.length?(0,n.jsx)("div",{className:"mt-2",children:null==l?void 0:l.map(e=>(0,n.jsx)(r.default.Item,{label:e.param_name,name:[s.name,"chunk_parameters",e.param_name],rules:[{required:!0,message:m("Please_input_the_name")}],initialValue:e.default_value,valuePropName:"boolean"===e.param_type?"checked":"value",tooltip:e.description,children:function(e){switch(e){case"int":return(0,n.jsx)(f.Z,{className:"w-full",min:1});case"string":return(0,n.jsx)(g,{className:"w-full",rows:2});case"boolean":return(0,n.jsx)(j.Z,{})}}(e.param_type)},"param_".concat(e.param_name)))}):(0,n.jsx)(c.Z,{className:"my-2",type:"warning",message:m("No_parameter")})}()]})}var b=t(67901);function y(e){let{spaceName:l,docType:t,uploadFiles:p,handleStepChange:f}=e;console.log(t,"doctype");let{t:j}=(0,h.$G)(),[_]=r.default.useForm(),[g,y]=(0,x.useState)(p),[N,Z]=(0,x.useState)(),[k,w]=(0,x.useState)([]),[C,S]=(0,x.useState)("");async function I(){var e;Z(!0);let[,l]=await (0,s.Vx)((0,s.iZ)());Z(!1),w(null===(e=l||[])||void 0===e?void 0:e.filter(e=>e.type.indexOf(t)>-1))}localStorage.getItem("cur_space_id"),(0,x.useEffect)(()=>(I(),()=>{a&&clearInterval(a)}),[]);let P=async e=>{if(function(e){let l=!0;"RUNNING"===C&&(l=!1,i.ZP.warning("The task is still running, do not submit it again."));let{fileStrategies:t}=e;return t.map(e=>{var t,a;let n=null==e?void 0:null===(t=e.chunk_parameters)||void 0===t?void 0:t.chunk_strategy;n||(i.ZP.error("Please select chunk strategy for ".concat(e.name,".")),l=!1);let s=k.filter(e=>e.strategy===n)[0],r={chunk_strategy:null==e?void 0:null===(a=e.chunk_parameters)||void 0===a?void 0:a.chunk_strategy};s&&s.parameters&&s.parameters.forEach(l=>{let t=l.param_name;r[t]=(null==e?void 0:e.chunk_parameters)[t]}),e.chunk_parameters=r}),l}(e)){var t;Z(!0);let[,n]=await (0,s.Vx)((0,s.KL)(l,e.fileStrategies));if(Z(!1),(null==n?void 0:n.tasks)&&(null==n?void 0:null===(t=n.tasks)||void 0===t?void 0:t.length)>0){i.ZP.success("Segemation task start successfully. task id: ".concat(null==n?void 0:n.tasks.join(","))),S("RUNNING");let l=e.fileStrategies.map(e=>e.doc_id);a=setInterval(async()=>{let e=await E(l);"FINISHED"===e?(clearInterval(a),S("FINISHED"),i.ZP.success("Congratulation, All files sync successfully."),f({label:"finish"})):"FAILED"===e&&(clearInterval(a),f({label:"finish"}))},3e3)}}};async function E(e){let[,t]=await (0,s.Vx)((0,s._Q)(l,{doc_ids:e}));if((null==t?void 0:t.data)&&(null==t?void 0:t.data.length)>0){let e=[...g];if(null==t||t.data.map(l=>{var t;let a=null===(t=null==e?void 0:e.filter(e=>e.doc_id===l.id))||void 0===t?void 0:t[0];a&&(a.status=l.status)}),y(e),null==t?void 0:t.data.every(e=>"FINISHED"===e.status||"FAILED"===e.status))return"FINISHED"}}return(0,n.jsx)(d.Z,{spinning:N,children:(0,n.jsxs)(r.default,{labelCol:{span:6},wrapperCol:{span:18},labelAlign:"right",form:_,size:"large",className:"mt-4",layout:"horizontal",name:"basic",autoComplete:"off",initialValues:{fileStrategies:g},onFinish:P,children:[k&&k.length?(0,n.jsx)(r.default.List,{name:"fileStrategies",children:e=>{switch(t){case"TEXT":case"URL":case"YUQUEURL":return null==e?void 0:e.map(e=>(0,n.jsx)(v,{strategies:k,docType:t,fileName:g[e.name].name,field:e},e.key));case"DOCUMENT":return(0,n.jsx)(o.Z,{defaultActiveKey:0,size:g.length>5?"small":"middle",children:null==e?void 0:e.map(e=>(0,n.jsx)(o.Z.Panel,{header:"".concat(e.name+1,". ").concat(g[e.name].name),extra:function(e){let l=g[e].status;switch(l){case"FINISHED":return(0,n.jsx)(m.Z,{component:b.qw});case"RUNNING":return(0,n.jsx)(m.Z,{className:"animate-spin animate-infinite",component:b.bn});case"FAILED":return(0,n.jsx)(m.Z,{component:b.FE});default:return(0,n.jsx)(m.Z,{component:b.tu})}}(e.name),children:(0,n.jsx)(v,{strategies:k,docType:t,fileName:g[e.name].name,field:e})},e.key))})}}}):(0,n.jsx)(c.Z,{message:"Cannot find one strategy for ".concat(t," type knowledge."),type:"warning"}),(0,n.jsxs)(r.default.Item,{className:"mt-4",children:[(0,n.jsx)(u.ZP,{onClick:()=>{f({label:"back"})},className:"mr-4",children:"".concat(j("Back"))}),(0,n.jsx)(u.ZP,{type:"primary",htmlType:"submit",loading:N||"RUNNING"===C,children:j("Process")})]})]})})}},78453:function(e,l,t){t.d(l,{Z:function(){return m}});var a=t(96469),n=t(27623),s=t(55360),r=t(42786),i=t(41999),c=t(16156),o=t(27691),d=t(38497),u=t(56841);function m(e){var l;let{t}=(0,u.$G)(),{handleStepChange:m,spaceConfig:x}=e,[h,p]=(0,d.useState)(!1),[f,j]=(0,d.useState)(),[_]=s.default.useForm();(0,d.useEffect)(()=>{_.setFieldValue("storage",null==x?void 0:x[0].name),j(null==x?void 0:x[0].name)},[x]);let g=async e=>{let{spaceName:l,owner:t,description:a,storage:s,field:r}=e;p(!0);let[i,c,o]=await (0,n.Vx)((0,n.be)({name:l,vector_type:s,owner:t,desc:a,domain_type:r}));p(!1);let d="FinancialReport"===r;localStorage.setItem("cur_space_id",JSON.stringify(c)),(null==o?void 0:o.success)&&m({label:"forward",spaceName:l,pace:d?2:1,docType:d?"DOCUMENT":""})};return(0,a.jsx)(r.Z,{spinning:h,children:(0,a.jsxs)(s.default,{form:_,size:"large",className:"mt-4",layout:"vertical",name:"basic",initialValues:{remember:!0},autoComplete:"off",onFinish:g,children:[(0,a.jsx)(s.default.Item,{label:t("Knowledge_Space_Name"),name:"spaceName",rules:[{required:!0,message:t("Please_input_the_name")},()=>({validator:(e,l)=>/[^\u4e00-\u9fa50-9a-zA-Z_-]/.test(l)?Promise.reject(Error(t("the_name_can_only_contain"))):Promise.resolve()})],children:(0,a.jsx)(i.default,{className:"h-12",placeholder:t("Please_input_the_name")})}),(0,a.jsx)(s.default.Item,{label:t("Storage"),name:"storage",rules:[{required:!0,message:t("Please_select_the_storage")}],children:(0,a.jsx)(c.default,{className:"mb-5 h-12",placeholder:t("Please_select_the_storage"),onChange:e=>{j(e)},children:null==x?void 0:x.map(e=>(0,a.jsx)(c.default.Option,{value:e.name,children:e.desc}))})}),(0,a.jsx)(s.default.Item,{label:t("Domain"),name:"field",rules:[{required:!0,message:t("Please_select_the_domain_type")}],children:(0,a.jsx)(c.default,{className:"mb-5 h-12",placeholder:t("Please_select_the_domain_type"),children:null===(l=null==x?void 0:x.find(e=>e.name===f))||void 0===l?void 0:l.domain_types.map(e=>(0,a.jsx)(c.default.Option,{value:e.name,children:e.desc}))})}),(0,a.jsx)(s.default.Item,{label:t("Description"),name:"description",rules:[{required:!0,message:t("Please_input_the_description")}],children:(0,a.jsx)(i.default,{className:"h-12",placeholder:t("Please_input_the_description")})}),(0,a.jsx)(s.default.Item,{children:(0,a.jsx)(o.ZP,{type:"primary",htmlType:"submit",children:t("Next")})})]})})}},51310:function(e,l,t){var a=t(88506);l.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(a.C9))&&void 0!==e?e:"")}},61977:function(e,l,t){var a=t(96469),n=t(27250),s=t(23852),r=t.n(s),i=t(38497);l.Z=(0,i.memo)(e=>{let{width:l,height:t,model:s}=e,c=(0,i.useMemo)(()=>{let e=null==s?void 0:s.replaceAll("-","_").split("_")[0],l=Object.keys(n.Me);for(let t=0;t{let{width:l,height:t,scene:i}=e,c=(0,r.useCallback)(()=>{switch(i){case"chat_knowledge":return n.je;case"chat_with_db_execute":return n.zM;case"chat_excel":return n.DL;case"chat_with_db_qa":case"chat_dba":return n.RD;case"chat_dashboard":return n.In;case"chat_agent":return n.si;case"chat_normal":return n.O7;default:return}},[i]);return(0,a.jsx)(s.Z,{className:"w-".concat(l||7," h-").concat(t||7),component:c()})}},58526:function(e,l,t){var a=t(96890);let n=(0,a.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});l.Z=n},5157:function(e,l,t){t.r(l);var a=t(96469),n=t(26953),s=t(98028),r=t(95891),i=t(21840),c=t(93486),o=t.n(c),d=t(38497),u=t(29549);l.default=(0,d.memo)(()=>{var e;let{appInfo:l}=(0,d.useContext)(u.MobileChatContext),{message:t}=r.Z.useApp(),[c,m]=(0,d.useState)(0);if(!(null==l?void 0:l.app_code))return null;let x=async()=>{let e=o()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));t[e?"success":"error"](e?"复制成功":"复制失败")};return c>6&&t.info(JSON.stringify(window.navigator.userAgent),2,()=>{m(0)}),(0,a.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,a.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>m(c+1),children:[(0,a.jsx)(n.Z,{scene:(null==l?void 0:null===(e=l.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,a.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,a.jsx)(i.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==l?void 0:l.app_name}),(0,a.jsx)(i.Z.Text,{className:"text-sm line-clamp-2",children:null==l?void 0:l.app_describe})]})]}),(0,a.jsx)("div",{onClick:x,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,a.jsx)(s.Z,{className:"text-lg"})})]})})},86364:function(e,l,t){t.r(l);var a=t(96469),n=t(27623),s=t(7289),r=t(88506),i=t(1858),c=t(72828),o=t(37022),d=t(67620),u=t(31676),m=t(44875),x=t(16602),h=t(49030),p=t(62971),f=t(42786),j=t(41999),_=t(27691),g=t(26869),v=t.n(g),b=t(45875),y=t(38497),N=t(29549),Z=t(95433),k=t(14035),w=t(55238),C=t(75299);let S=["magenta","orange","geekblue","purple","cyan","green"];l.default=()=>{var e,l;let t=(0,b.useSearchParams)(),g=null!==(l=null==t?void 0:t.get("ques"))&&void 0!==l?l:"",{history:I,model:P,scene:E,temperature:T,resource:q,conv_uid:F,appInfo:U,scrollViewRef:R,order:D,userInput:A,ctrl:O,canAbort:V,canNewChat:L,setHistory:M,setCanNewChat:z,setCarAbort:G,setUserInput:H}=(0,y.useContext)(N.MobileChatContext),[Y,$]=(0,y.useState)(!1),[J,W]=(0,y.useState)(!1),Q=async e=>{var l,t,a;H(""),O.current=new AbortController;let n={chat_mode:E,model_name:P,user_input:e||A,conv_uid:F,temperature:T,app_code:null==U?void 0:U.app_code,...q&&{select_param:JSON.stringify(q)}};if(I&&I.length>0){let e=null==I?void 0:I.filter(e=>"view"===e.role);D.current=e[e.length-1].order+1}let i=[{role:"human",context:e||A,model_name:P,order:D.current,time_stamp:0},{role:"view",context:"",model_name:P,order:D.current,time_stamp:0,thinking:!0}],c=i.length-1;M([...I,...i]),z(!1);try{await (0,m.L)("".concat(null!==(l=C.env.API_BASE_URL)&&void 0!==l?l:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[r.gp]:null!==(t=(0,s.n5)())&&void 0!==t?t:""},signal:O.current.signal,body:JSON.stringify(n),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===m.a)return},onclose(){var e;null===(e=O.current)||void 0===e||e.abort(),z(!0),G(!1)},onerror(e){throw Error(e)},onmessage:e=>{let l=e.data;try{l=JSON.parse(l).vis}catch(e){l.replaceAll("\\n","\n")}"[DONE]"===l?(z(!0),G(!1)):(null==l?void 0:l.startsWith("[ERROR]"))?(i[c].context=null==l?void 0:l.replace("[ERROR]",""),i[c].thinking=!1,M([...I,...i]),z(!0),G(!1)):(G(!0),i[c].context=l,i[c].thinking=!1,M([...I,...i]))}})}catch(e){null===(a=O.current)||void 0===a||a.abort(),i[c].context="Sorry, we meet some error, please try again later.",i[c].thinking=!1,M([...i]),z(!0),G(!1)}},B=async()=>{A.trim()&&L&&await Q()};(0,y.useEffect)(()=>{var e,l;null===(e=R.current)||void 0===e||e.scrollTo({top:null===(l=R.current)||void 0===l?void 0:l.scrollHeight,behavior:"auto"})},[I,R]);let K=(0,y.useMemo)(()=>{if(!U)return[];let{param_need:e=[]}=U;return null==e?void 0:e.map(e=>e.type)},[U]),X=(0,y.useMemo)(()=>{var e;return 0===I.length&&U&&!!(null==U?void 0:null===(e=U.recommend_questions)||void 0===e?void 0:e.length)},[I,U]),{run:ee,loading:el}=(0,x.Z)(async()=>await (0,n.Vx)((0,n.zR)(F)),{manual:!0,onSuccess:()=>{M([])}});return(0,y.useEffect)(()=>{g&&P&&F&&U&&Q(g)},[U,F,P,g]),(0,a.jsxs)("div",{className:"flex flex-col",children:[X&&(0,a.jsx)("ul",{children:null==U?void 0:null===(e=U.recommend_questions)||void 0===e?void 0:e.map((e,l)=>(0,a.jsx)("li",{className:"mb-3",children:(0,a.jsx)(h.Z,{color:S[l],className:"p-2 rounded-xl",onClick:async()=>{Q(e.question)},children:e.question})},e.id))}),(0,a.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,a.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==K?void 0:K.includes("model"))&&(0,a.jsx)(Z.default,{}),(null==K?void 0:K.includes("resource"))&&(0,a.jsx)(k.default,{}),(null==K?void 0:K.includes("temperature"))&&(0,a.jsx)(w.default,{})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,a.jsx)(p.Z,{content:"暂停回复",trigger:["hover"],children:(0,a.jsx)(i.Z,{className:v()("p-2 cursor-pointer",{"text-[#0c75fc]":V,"text-gray-400":!V}),onClick:()=>{var e;V&&(null===(e=O.current)||void 0===e||e.abort(),setTimeout(()=>{G(!1),z(!0)},100))}})}),(0,a.jsx)(p.Z,{content:"再来一次",trigger:["hover"],children:(0,a.jsx)(c.Z,{className:v()("p-2 cursor-pointer",{"text-gray-400":!I.length||!L}),onClick:()=>{var e,l;if(!L||0===I.length)return;let t=null===(e=null===(l=I.filter(e=>"human"===e.role))||void 0===l?void 0:l.slice(-1))||void 0===e?void 0:e[0];Q((null==t?void 0:t.context)||"")}})}),el?(0,a.jsx)(f.Z,{spinning:el,indicator:(0,a.jsx)(o.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,a.jsx)(p.Z,{content:"清除历史",trigger:["hover"],children:(0,a.jsx)(d.Z,{className:v()("p-2 cursor-pointer",{"text-gray-400":!I.length||!L}),onClick:()=>{L&&ee()}})})]})]}),(0,a.jsxs)("div",{className:v()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":Y}),children:[(0,a.jsx)(j.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:A,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(J){e.preventDefault();return}A.trim()&&(e.preventDefault(),B())}},onChange:e=>{H(e.target.value)},onFocus:()=>{$(!0)},onBlur:()=>$(!1),onCompositionStartCapture:()=>{W(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{W(!1)},0)}}),(0,a.jsx)(_.ZP,{type:"primary",className:v()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!A.trim()||!L}),onClick:B,children:L?(0,a.jsx)(u.Z,{}):(0,a.jsx)(f.Z,{indicator:(0,a.jsx)(o.Z,{className:"text-white"})})})]})]})}},95433:function(e,l,t){t.r(l);var a=t(96469),n=t(61977),s=t(45277),r=t(32857),i=t(80335),c=t(62971),o=t(38497),d=t(29549);l.default=()=>{let{modelList:e}=(0,o.useContext)(s.p),{model:l,setModel:t}=(0,o.useContext)(d.MobileChatContext),u=(0,o.useMemo)(()=>e.length>0?e.map(e=>({label:(0,a.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{t(e)},children:[(0,a.jsx)(n.Z,{width:14,height:14,model:e}),(0,a.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,t]);return(0,a.jsx)(i.Z,{menu:{items:u},placement:"top",trigger:["click"],children:(0,a.jsx)(c.Z,{content:l,children:(0,a.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,a.jsx)(n.Z,{width:16,height:16,model:l}),(0,a.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:l}),(0,a.jsx)(r.Z,{rotate:90})]})})})}},33389:function(e,l,t){t.r(l);var a=t(96469),n=t(23852),s=t.n(n),r=t(38497);l.default=(0,r.memo)(e=>{let{width:l,height:t,src:n,label:r}=e;return(0,a.jsx)(s(),{width:l||14,height:t||14,src:n,alt:r||"db-icon",priority:!0})})},14035:function(e,l,t){t.r(l);var a=t(96469),n=t(27623),s=t(7289),r=t(37022),i=t(32857),c=t(71534),o=t(16602),d=t(42786),u=t(19389),m=t(80335),x=t(38497),h=t(29549),p=t(33389);l.default=()=>{let{appInfo:e,resourceList:l,scene:t,model:f,conv_uid:j,getChatHistoryRun:_,setResource:g,resource:v}=(0,x.useContext)(h.MobileChatContext),[b,y]=(0,x.useState)(null),N=(0,x.useMemo)(()=>{var l,t,a;return null===(l=null==e?void 0:null===(t=e.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===l?void 0:null===(a=l[0])||void 0===a?void 0:a.value},[e]),Z=(0,x.useMemo)(()=>l&&l.length>0?l.map(e=>({label:(0,a.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{y(e),g(e.space_id||e.param)},children:[(0,a.jsx)(p.default,{width:14,height:14,src:s.S$[e.type].icon,label:s.S$[e.type].label}),(0,a.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[l,g]),{run:k,loading:w}=(0,o.Z)(async e=>{let[,l]=await (0,n.Vx)((0,n.qn)({convUid:j,chatMode:t,data:e,model:f,config:{timeout:36e5}}));return g(l),l},{manual:!0,onSuccess:async()=>{await _()}}),C=async e=>{let l=new FormData;l.append("doc_file",null==e?void 0:e.file),await k(l)},S=(0,x.useMemo)(()=>w?(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(d.Z,{size:"small",indicator:(0,a.jsx)(r.Z,{spin:!0})}),(0,a.jsx)("span",{className:"text-xs",children:"上传中"})]}):v?(0,a.jsxs)("div",{className:"flex gap-1",children:[(0,a.jsx)("span",{className:"text-xs",children:v.file_name}),(0,a.jsx)(i.Z,{rotate:90})]}):(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(c.Z,{className:"text-base"}),(0,a.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[w,v]);return(0,a.jsx)(a.Fragment,{children:(()=>{switch(N){case"excel_file":case"text_file":case"image_file":return(0,a.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,a.jsx)(u.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:C,className:"flex h-full w-full items-center justify-center",children:S})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,t,n,r,c;if(!(null==l?void 0:l.length))return null;return(0,a.jsx)(m.Z,{menu:{items:Z},placement:"top",trigger:["click"],children:(0,a.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,a.jsx)(p.default,{width:14,height:14,src:null===(e=s.S$[(null==b?void 0:b.type)||(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.type)])||void 0===e?void 0:e.icon,label:null===(n=s.S$[(null==b?void 0:b.type)||(null==l?void 0:null===(r=l[0])||void 0===r?void 0:r.type)])||void 0===n?void 0:n.label}),(0,a.jsx)("span",{className:"text-xs font-medium",children:(null==b?void 0:b.param)||(null==l?void 0:null===(c=l[0])||void 0===c?void 0:c.param)}),(0,a.jsx)(i.Z,{rotate:90})]})})}})()})}},55238:function(e,l,t){t.r(l);var a=t(96469),n=t(80335),s=t(28822),r=t(38497),i=t(29549),c=t(58526);l.default=()=>{let{temperature:e,setTemperature:l}=(0,r.useContext)(i.MobileChatContext),t=e=>{isNaN(e)||l(e)};return(0,a.jsx)(n.Z,{trigger:["click"],dropdownRender:()=>(0,a.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,a.jsx)(s.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:t,value:e})}),placement:"top",children:(0,a.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,a.jsx)(c.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,a.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},29549:function(e,l,t){t.r(l),t.d(l,{MobileChatContext:function(){return v}});var a=t(96469),n=t(45277),s=t(27623),r=t(51310),i=t(7289),c=t(88506),o=t(44875),d=t(16602),u=t(42786),m=t(28469),x=t.n(m),h=t(45875),p=t(38497),f=t(5157),j=t(86364),_=t(75299);let g=x()(()=>Promise.all([t.e(7521),t.e(5197),t.e(6156),t.e(5996),t.e(9223),t.e(3127),t.e(9631),t.e(9790),t.e(4506),t.e(1657),t.e(5444),t.e(3093),t.e(4399),t.e(7463),t.e(6101),t.e(5883),t.e(5891),t.e(2061),t.e(3695)]).then(t.bind(t,33068)),{loadableGenerated:{webpack:()=>[33068]},ssr:!1}),v=(0,p.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});l.default=()=>{var e,l;let t=(0,h.useSearchParams)(),m=null!==(e=null==t?void 0:t.get("chat_scene"))&&void 0!==e?e:"",x=null!==(l=null==t?void 0:t.get("app_code"))&&void 0!==l?l:"",{modelList:b}=(0,p.useContext)(n.p),[y,N]=(0,p.useState)([]),[Z,k]=(0,p.useState)(""),[w,C]=(0,p.useState)(.5),[S,I]=(0,p.useState)(null),P=(0,p.useRef)(null),[E,T]=(0,p.useState)(""),[q,F]=(0,p.useState)(!1),[U,R]=(0,p.useState)(!0),D=(0,p.useRef)(),A=(0,p.useRef)(1),O=(0,r.Z)(),V=(0,p.useMemo)(()=>"".concat(null==O?void 0:O.user_no,"_").concat(x),[x,O]),{run:L,loading:M}=(0,d.Z)(async()=>await (0,s.Vx)((0,s.$i)("".concat(null==O?void 0:O.user_no,"_").concat(x))),{manual:!0,onSuccess:e=>{let[,l]=e,t=null==l?void 0:l.filter(e=>"view"===e.role);t&&t.length>0&&(A.current=t[t.length-1].order+1),N(l||[])}}),{data:z,run:G,loading:H}=(0,d.Z)(async e=>{let[,l]=await (0,s.Vx)((0,s.BN)(e));return null!=l?l:{}},{manual:!0}),{run:Y,data:$,loading:J}=(0,d.Z)(async()=>{var e,l;let[,t]=await (0,s.Vx)((0,s.vD)(m));return I((null==t?void 0:null===(e=t[0])||void 0===e?void 0:e.space_id)||(null==t?void 0:null===(l=t[0])||void 0===l?void 0:l.param)),null!=t?t:[]},{manual:!0}),{run:W,loading:Q}=(0,d.Z)(async()=>{let[,e]=await (0,s.Vx)((0,s.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var l;let t=null===(l=null==e?void 0:e.filter(e=>e.conv_uid===V))||void 0===l?void 0:l[0];(null==t?void 0:t.select_param)&&I(JSON.parse(null==t?void 0:t.select_param))}});(0,p.useEffect)(()=>{m&&x&&b.length&&G({chat_scene:m,app_code:x})},[x,m,G,b]),(0,p.useEffect)(()=>{x&&L()},[x]),(0,p.useEffect)(()=>{if(b.length>0){var e,l,t;let a=null===(e=null==z?void 0:null===(l=z.param_need)||void 0===l?void 0:l.filter(e=>"model"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value;k(a||b[0])}},[b,z]),(0,p.useEffect)(()=>{var e,l,t;let a=null===(e=null==z?void 0:null===(l=z.param_need)||void 0===l?void 0:l.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value;C(a||.5)},[z]),(0,p.useEffect)(()=>{if(m&&(null==z?void 0:z.app_code)){var e,l,t,a,n,s;let r=null===(e=null==z?void 0:null===(l=z.param_need)||void 0===l?void 0:l.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value,i=null===(a=null==z?void 0:null===(n=z.param_need)||void 0===n?void 0:n.filter(e=>"resource"===e.type))||void 0===a?void 0:null===(s=a[0])||void 0===s?void 0:s.bind_value;i&&I(i),["database","knowledge","plugin","awel_flow"].includes(r)&&!i&&Y()}},[z,m,Y]);let B=async e=>{var l,t,a;T(""),D.current=new AbortController;let n={chat_mode:m,model_name:Z,user_input:e||E,conv_uid:V,temperature:w,app_code:null==z?void 0:z.app_code,...S&&{select_param:S}};if(y&&y.length>0){let e=null==y?void 0:y.filter(e=>"view"===e.role);A.current=e[e.length-1].order+1}let s=[{role:"human",context:e||E,model_name:Z,order:A.current,time_stamp:0},{role:"view",context:"",model_name:Z,order:A.current,time_stamp:0,thinking:!0}],r=s.length-1;N([...y,...s]),R(!1);try{await (0,o.L)("".concat(null!==(l=_.env.API_BASE_URL)&&void 0!==l?l:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[c.gp]:null!==(t=(0,i.n5)())&&void 0!==t?t:""},signal:D.current.signal,body:JSON.stringify(n),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===o.a)return},onclose(){var e;null===(e=D.current)||void 0===e||e.abort(),R(!0),F(!1)},onerror(e){throw Error(e)},onmessage:e=>{let l=e.data;try{l=JSON.parse(l).vis}catch(e){l.replaceAll("\\n","\n")}"[DONE]"===l?(R(!0),F(!1)):(null==l?void 0:l.startsWith("[ERROR]"))?(s[r].context=null==l?void 0:l.replace("[ERROR]",""),s[r].thinking=!1,N([...y,...s]),R(!0),F(!1)):(F(!0),s[r].context=l,s[r].thinking=!1,N([...y,...s]))}})}catch(e){null===(a=D.current)||void 0===a||a.abort(),s[r].context="Sorry, we meet some error, please try again later.",s[r].thinking=!1,N([...s]),R(!0),F(!1)}};return(0,p.useEffect)(()=>{m&&"chat_agent"!==m&&W()},[m,W]),(0,a.jsx)(v.Provider,{value:{model:Z,resource:S,setModel:k,setTemperature:C,setResource:I,temperature:w,appInfo:z,conv_uid:V,scene:m,history:y,scrollViewRef:P,setHistory:N,resourceList:$,order:A,handleChat:B,setCanNewChat:R,ctrl:D,canAbort:q,setCarAbort:F,canNewChat:U,userInput:E,setUserInput:T,getChatHistoryRun:L},children:(0,a.jsx)(u.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:M||H||J||Q,children:(0,a.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,a.jsxs)("div",{ref:P,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,a.jsx)(f.default,{}),(0,a.jsx)(g,{})]}),(null==z?void 0:z.app_code)&&(0,a.jsx)(j.default,{})]})})})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4506-98d8c35de259c82f.js b/dbgpt/app/static/web/_next/static/chunks/4506-98d8c35de259c82f.js deleted file mode 100644 index 90a0f46b9..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4506-98d8c35de259c82f.js +++ /dev/null @@ -1,87 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4506],{62246:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(42096),o=n(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},a=n(75651),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},58964:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(42096),o=n(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},a=n(75651),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},757:function(e,t){t.Z=function(){let e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{let r=n[t];void 0!==r&&(e[t]=r)})}return e}},76372:function(e,t,n){n.d(t,{ZP:function(){return T}});var r=n(38497),o=n(26869),l=n.n(o),a=n(77757),i=n(66168),c=n(63346),d=n(95227),s=n(82014);let u=r.createContext(null),f=u.Provider,p=r.createContext(null),h=p.Provider;var m=n(55385),g=n(7544),v=n(37243),b=n(65925),y=n(3482),x=n(13859),w=n(72178),k=n(60848),E=n(90102),C=n(74934);let S=e=>{let{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},(0,k.Wf)(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},Z=e=>{let{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:o,motionDurationSlow:l,motionDurationMid:a,motionEaseInOutCirc:i,colorBgContainer:c,colorBorder:d,lineWidth:s,colorBgContainerDisabled:u,colorTextDisabled:f,paddingXS:p,dotColorDisabled:h,lineType:m,radioColor:g,radioBgColor:v,calc:b}=e,y=`${t}-inner`,x=b(o).sub(b(4).mul(2)),E=b(1).mul(o).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,k.Wf)(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,w.bf)(s)} ${m} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},(0,k.Wf)(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, - &:hover ${y}`]:{borderColor:r},[`${t}-input:focus-visible + ${y}`]:Object.assign({},(0,k.oN)(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:E,height:E,marginBlockStart:b(1).mul(o).div(-2).equal({unit:!0}),marginInlineStart:b(1).mul(o).div(-2).equal({unit:!0}),backgroundColor:g,borderBlockStart:0,borderInlineStart:0,borderRadius:E,transform:"scale(0)",opacity:0,transition:`all ${l} ${i}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:E,height:E,backgroundColor:c,borderColor:d,borderStyle:"solid",borderWidth:s,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[y]:{borderColor:r,backgroundColor:v,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${l} ${i}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[y]:{backgroundColor:u,borderColor:d,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[y]:{"&::after":{transform:`scale(${b(x).div(o).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:p,paddingInlineEnd:p}})}},$=e=>{let{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:l,colorBorder:a,motionDurationSlow:i,motionDurationMid:c,buttonPaddingInline:d,fontSize:s,buttonBg:u,fontSizeLG:f,controlHeightLG:p,controlHeightSM:h,paddingXS:m,borderRadius:g,borderRadiusSM:v,borderRadiusLG:b,buttonCheckedBg:y,buttonSolidCheckedColor:x,colorTextDisabled:E,colorBgContainerDisabled:C,buttonCheckedBgDisabled:S,buttonCheckedColorDisabled:Z,colorPrimary:$,colorPrimaryHover:N,colorPrimaryActive:K,buttonSolidCheckedBg:O,buttonSolidCheckedHoverBg:I,buttonSolidCheckedActiveBg:R,calc:P}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:d,paddingBlock:0,color:t,fontSize:s,lineHeight:(0,w.bf)(P(n).sub(P(o).mul(2)).equal()),background:u,border:`${(0,w.bf)(o)} ${l} ${a}`,borderBlockStartWidth:P(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:`color ${c},background ${c},box-shadow ${c}`,a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:P(o).mul(-1).equal(),insetInlineStart:P(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:a,transition:`background-color ${i}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,w.bf)(o)} ${l} ${a}`,borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g},"&:first-child:last-child":{borderRadius:g},[`${r}-group-large &`]:{height:p,fontSize:f,lineHeight:(0,w.bf)(P(p).sub(P(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${r}-group-small &`]:{height:h,paddingInline:P(m).sub(o).equal(),paddingBlock:0,lineHeight:(0,w.bf)(P(h).sub(P(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},"&:hover":{position:"relative",color:$},"&:has(:focus-visible)":Object.assign({},(0,k.oN)(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:$,background:y,borderColor:$,"&::before":{backgroundColor:$},"&:first-child":{borderColor:$},"&:hover":{color:N,borderColor:N,"&::before":{backgroundColor:N}},"&:active":{color:K,borderColor:K,"&::before":{backgroundColor:K}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:x,background:O,borderColor:O,"&:hover":{color:x,background:I,borderColor:I},"&:active":{color:x,background:R,borderColor:R}},"&-disabled":{color:E,backgroundColor:C,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:E,backgroundColor:C,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:Z,backgroundColor:S,borderColor:a,boxShadow:"none"}}}};var N=(0,E.I$)("Radio",e=>{let{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${(0,w.bf)(n)} ${t}`,o=(0,C.IX)(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[S(o),Z(o),$(o)]},e=>{let{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:l,colorText:a,colorBgContainer:i,colorTextDisabled:c,controlItemBgActiveDisabled:d,colorTextLightSolid:s,colorPrimary:u,colorPrimaryHover:f,colorPrimaryActive:p,colorWhite:h}=e;return{radioSize:l,dotSize:t?l-8:l-(4+o)*2,dotColorDisabled:c,buttonSolidCheckedColor:s,buttonSolidCheckedBg:u,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:p,buttonBg:i,buttonCheckedBg:i,buttonColor:a,buttonCheckedBgDisabled:d,buttonCheckedColorDisabled:c,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,radioColor:t?u:h,radioBgColor:t?i:u}},{unitless:{radioSize:!0,dotSize:!0}}),K=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let O=r.forwardRef((e,t)=>{var n,o;let a=r.useContext(u),i=r.useContext(p),{getPrefixCls:s,direction:f,radio:h}=r.useContext(c.E_),w=r.useRef(null),k=(0,g.sQ)(t,w),{isFormItemInput:E}=r.useContext(x.aM),{prefixCls:C,className:S,rootClassName:Z,children:$,style:O,title:I}=e,R=K(e,["prefixCls","className","rootClassName","children","style","title"]),P=s("radio",C),D="button"===((null==a?void 0:a.optionType)||i),T=D?`${P}-button`:P,M=(0,d.Z)(P),[L,j,H]=N(P,M),B=Object.assign({},R),z=r.useContext(y.Z);a&&(B.name=a.name,B.onChange=t=>{var n,r;null===(n=e.onChange)||void 0===n||n.call(e,t),null===(r=null==a?void 0:a.onChange)||void 0===r||r.call(a,t)},B.checked=e.value===a.value,B.disabled=null!==(n=B.disabled)&&void 0!==n?n:a.disabled),B.disabled=null!==(o=B.disabled)&&void 0!==o?o:z;let A=l()(`${T}-wrapper`,{[`${T}-wrapper-checked`]:B.checked,[`${T}-wrapper-disabled`]:B.disabled,[`${T}-wrapper-rtl`]:"rtl"===f,[`${T}-wrapper-in-form-item`]:E},null==h?void 0:h.className,S,Z,j,H,M);return L(r.createElement(v.Z,{component:"Radio",disabled:B.disabled},r.createElement("label",{className:A,style:Object.assign(Object.assign({},null==h?void 0:h.style),O),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:I},r.createElement(m.Z,Object.assign({},B,{className:l()(B.className,{[b.A]:!D}),type:"radio",prefixCls:T,ref:k})),void 0!==$?r.createElement("span",null,$):null)))}),I=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:o}=r.useContext(c.E_),[u,p]=(0,a.Z)(e.defaultValue,{value:e.value}),{prefixCls:h,className:m,rootClassName:g,options:v,buttonStyle:b="outline",disabled:y,children:x,size:w,style:k,id:E,onMouseEnter:C,onMouseLeave:S,onFocus:Z,onBlur:$}=e,K=n("radio",h),I=`${K}-group`,R=(0,d.Z)(K),[P,D,T]=N(K,R),M=x;v&&v.length>0&&(M=v.map(e=>"string"==typeof e||"number"==typeof e?r.createElement(O,{key:e.toString(),prefixCls:K,disabled:y,value:e,checked:u===e},e):r.createElement(O,{key:`radio-group-value-options-${e.value}`,prefixCls:K,disabled:e.disabled||y,value:e.value,checked:u===e.value,title:e.title,style:e.style,id:e.id,required:e.required},e.label)));let L=(0,s.Z)(w),j=l()(I,`${I}-${b}`,{[`${I}-${L}`]:L,[`${I}-rtl`]:"rtl"===o},m,g,D,T,R);return P(r.createElement("div",Object.assign({},(0,i.Z)(e,{aria:!0,data:!0}),{className:j,style:k,onMouseEnter:C,onMouseLeave:S,onFocus:Z,onBlur:$,id:E,ref:t}),r.createElement(f,{value:{onChange:t=>{let n=t.target.value;"value"in e||p(n);let{onChange:r}=e;r&&n!==u&&r(t)},value:u,disabled:e.disabled,name:e.name,optionType:e.optionType}},M)))});var R=r.memo(I),P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},D=r.forwardRef((e,t)=>{let{getPrefixCls:n}=r.useContext(c.E_),{prefixCls:o}=e,l=P(e,["prefixCls"]),a=n("radio",o);return r.createElement(h,{value:"button"},r.createElement(O,Object.assign({prefixCls:a},l,{type:"radio",ref:t})))});O.Button=D,O.Group=R,O.__ANT_RADIO=!0;var T=O},54506:function(e,t,n){n.d(t,{Z:function(){return nm}});var r=n(38497),o={},l="rc-table-internal-hook",a=n(65347),i=n(80988),c=n(46644),d=n(9671),s=n(2060);function u(e){var t=r.createContext(void 0);return{Context:t,Provider:function(e){var n=e.value,o=e.children,l=r.useRef(n);l.current=n;var i=r.useState(function(){return{getValue:function(){return l.current},listeners:new Set}}),d=(0,a.Z)(i,1)[0];return(0,c.Z)(function(){(0,s.unstable_batchedUpdates)(function(){d.listeners.forEach(function(e){e(n)})})},[n]),r.createElement(t.Provider,{value:d},o)},defaultValue:e}}function f(e,t){var n=(0,i.Z)("function"==typeof t?t:function(e){if(void 0===t)return e;if(!Array.isArray(t))return e[t];var n={};return t.forEach(function(t){n[t]=e[t]}),n}),o=r.useContext(null==e?void 0:e.Context),l=o||{},s=l.listeners,u=l.getValue,f=r.useRef();f.current=n(o?u():null==e?void 0:e.defaultValue);var p=r.useState({}),h=(0,a.Z)(p,2)[1];return(0,c.Z)(function(){if(o)return s.add(e),function(){s.delete(e)};function e(e){var t=n(e);(0,d.Z)(f.current,t,!0)||h({})}},[o]),f.current}var p=n(42096),h=n(7544);function m(){var e=r.createContext(null);function t(){return r.useContext(e)}return{makeImmutable:function(n,o){var l=(0,h.Yr)(n),a=function(a,i){var c=l?{ref:i}:{},d=r.useRef(0),s=r.useRef(a);return null!==t()?r.createElement(n,(0,p.Z)({},a,c)):((!o||o(s.current,a))&&(d.current+=1),s.current=a,r.createElement(e.Provider,{value:d.current},r.createElement(n,(0,p.Z)({},a,c))))};return l?r.forwardRef(a):a},responseImmutable:function(e,n){var o=(0,h.Yr)(e),l=function(n,l){var a=o?{ref:l}:{};return t(),r.createElement(e,(0,p.Z)({},n,a))};return o?r.memo(r.forwardRef(l),n):r.memo(l,n)},useImmutableMark:t}}var g=m();g.makeImmutable,g.responseImmutable,g.useImmutableMark;var v=m(),b=v.makeImmutable,y=v.responseImmutable,x=v.useImmutableMark,w=u(),k=n(14433),E=n(4247),C=n(65148),S=n(26869),Z=n.n(S),$=n(38263),N=n(82991);n(89842);var K=r.createContext({renderWithProps:!1});function O(e){var t=[],n={};return e.forEach(function(e){for(var r=e||{},o=r.key,l=r.dataIndex,a=o||(null==l?[]:Array.isArray(l)?l:[l]).join("-")||"RC_TABLE_KEY";n[a];)a="".concat(a,"_next");n[a]=!0,t.push(a)}),t}var I=n(81581),R=function(e){var t,n=e.ellipsis,o=e.rowType,l=e.children,a=!0===n?{showTitle:!0}:n;return a&&(a.showTitle||"header"===o)&&("string"==typeof l||"number"==typeof l?t=l.toString():r.isValidElement(l)&&"string"==typeof l.props.children&&(t=l.props.children)),t},P=r.memo(function(e){var t,n,o,l,i,c,s,u,h,m,g=e.component,v=e.children,b=e.ellipsis,y=e.scope,S=e.prefixCls,O=e.className,P=e.align,D=e.record,T=e.render,M=e.dataIndex,L=e.renderIndex,j=e.shouldCellUpdate,H=e.index,B=e.rowType,z=e.colSpan,A=e.rowSpan,_=e.fixLeft,F=e.fixRight,W=e.firstFixLeft,q=e.lastFixLeft,V=e.firstFixRight,X=e.lastFixRight,U=e.appendNode,G=e.additionalProps,Y=void 0===G?{}:G,J=e.isSticky,Q="".concat(S,"-cell"),ee=f(w,["supportSticky","allColumnsFixedLeft","rowHoverable"]),et=ee.supportSticky,en=ee.allColumnsFixedLeft,er=ee.rowHoverable,eo=(t=r.useContext(K),n=x(),(0,$.Z)(function(){if(null!=v)return[v];var e=null==M||""===M?[]:Array.isArray(M)?M:[M],n=(0,N.Z)(D,e),o=n,l=void 0;if(T){var a=T(n,D,L);!a||"object"!==(0,k.Z)(a)||Array.isArray(a)||r.isValidElement(a)?o=a:(o=a.children,l=a.props,t.renderWithProps=!0)}return[o,l]},[n,D,v,M,T,L],function(e,n){if(j){var r=(0,a.Z)(e,2)[1];return j((0,a.Z)(n,2)[1],r)}return!!t.renderWithProps||!(0,d.Z)(e,n,!0)})),el=(0,a.Z)(eo,2),ea=el[0],ei=el[1],ec={},ed="number"==typeof _&&et,es="number"==typeof F&&et;ed&&(ec.position="sticky",ec.left=_),es&&(ec.position="sticky",ec.right=F);var eu=null!==(o=null!==(l=null!==(i=null==ei?void 0:ei.colSpan)&&void 0!==i?i:Y.colSpan)&&void 0!==l?l:z)&&void 0!==o?o:1,ef=null!==(c=null!==(s=null!==(u=null==ei?void 0:ei.rowSpan)&&void 0!==u?u:Y.rowSpan)&&void 0!==s?s:A)&&void 0!==c?c:1,ep=f(w,function(e){var t,n;return[(t=ef||1,n=e.hoverStartRow,H<=e.hoverEndRow&&H+t-1>=n),e.onHover]}),eh=(0,a.Z)(ep,2),em=eh[0],eg=eh[1],ev=(0,I.zX)(function(e){var t;D&&eg(H,H+ef-1),null==Y||null===(t=Y.onMouseEnter)||void 0===t||t.call(Y,e)}),eb=(0,I.zX)(function(e){var t;D&&eg(-1,-1),null==Y||null===(t=Y.onMouseLeave)||void 0===t||t.call(Y,e)});if(0===eu||0===ef)return null;var ey=null!==(h=Y.title)&&void 0!==h?h:R({rowType:B,ellipsis:b,children:ea}),ex=Z()(Q,O,(m={},(0,C.Z)(m,"".concat(Q,"-fix-left"),ed&&et),(0,C.Z)(m,"".concat(Q,"-fix-left-first"),W&&et),(0,C.Z)(m,"".concat(Q,"-fix-left-last"),q&&et),(0,C.Z)(m,"".concat(Q,"-fix-left-all"),q&&en&&et),(0,C.Z)(m,"".concat(Q,"-fix-right"),es&&et),(0,C.Z)(m,"".concat(Q,"-fix-right-first"),V&&et),(0,C.Z)(m,"".concat(Q,"-fix-right-last"),X&&et),(0,C.Z)(m,"".concat(Q,"-ellipsis"),b),(0,C.Z)(m,"".concat(Q,"-with-append"),U),(0,C.Z)(m,"".concat(Q,"-fix-sticky"),(ed||es)&&J&&et),(0,C.Z)(m,"".concat(Q,"-row-hover"),!ei&&em),m),Y.className,null==ei?void 0:ei.className),ew={};P&&(ew.textAlign=P);var ek=(0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)({},ec),Y.style),ew),null==ei?void 0:ei.style),eE=ea;return"object"!==(0,k.Z)(eE)||Array.isArray(eE)||r.isValidElement(eE)||(eE=null),b&&(q||V)&&(eE=r.createElement("span",{className:"".concat(Q,"-content")},eE)),r.createElement(g,(0,p.Z)({},ei,Y,{className:ex,style:ek,title:ey,scope:y,onMouseEnter:er?ev:void 0,onMouseLeave:er?eb:void 0,colSpan:1!==eu?eu:null,rowSpan:1!==ef?ef:null}),U,eE)});function D(e,t,n,r,o){var l,a,i=n[e]||{},c=n[t]||{};"left"===i.fixed?l=r.left["rtl"===o?t:e]:"right"===c.fixed&&(a=r.right["rtl"===o?e:t]);var d=!1,s=!1,u=!1,f=!1,p=n[t+1],h=n[e-1],m=p&&!p.fixed||h&&!h.fixed||n.every(function(e){return"left"===e.fixed});return"rtl"===o?void 0!==l?f=!(h&&"left"===h.fixed)&&m:void 0!==a&&(u=!(p&&"right"===p.fixed)&&m):void 0!==l?d=!(p&&"left"===p.fixed)&&m:void 0!==a&&(s=!(h&&"right"===h.fixed)&&m),{fixLeft:l,fixRight:a,lastFixLeft:d,firstFixRight:s,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}var T=r.createContext({}),M=n(10921),L=["children"];function j(e){return e.children}j.Row=function(e){var t=e.children,n=(0,M.Z)(e,L);return r.createElement("tr",n,t)},j.Cell=function(e){var t=e.className,n=e.index,o=e.children,l=e.colSpan,a=void 0===l?1:l,i=e.rowSpan,c=e.align,d=f(w,["prefixCls","direction"]),s=d.prefixCls,u=d.direction,h=r.useContext(T),m=h.scrollColumnIndex,g=h.stickyOffsets,v=h.flattenColumns,b=n+a-1+1===m?a+1:a,y=D(n,n+b-1,v,g,u);return r.createElement(P,(0,p.Z)({className:t,index:n,component:"td",prefixCls:s,record:null,dataIndex:null,align:c,colSpan:b,rowSpan:i,render:function(){return o}},y))};var H=y(function(e){var t=e.children,n=e.stickyOffsets,o=e.flattenColumns,l=f(w,"prefixCls"),a=o.length-1,i=o[a],c=r.useMemo(function(){return{stickyOffsets:n,flattenColumns:o,scrollColumnIndex:null!=i&&i.scrollbar?a:null}},[i,o,a,n]);return r.createElement(T.Provider,{value:c},r.createElement("tfoot",{className:"".concat(l,"-summary")},t))}),B=n(31617),z=n(62143),A=n(94280),_=n(35394),F=n(66168);function W(e,t,n,o){return r.useMemo(function(){if(null!=n&&n.size){for(var r=[],l=0;l<(null==e?void 0:e.length);l+=1)!function e(t,n,r,o,l,a,i){t.push({record:n,indent:r,index:i});var c=a(n),d=null==l?void 0:l.has(c);if(n&&Array.isArray(n[o])&&d)for(var s=0;s1?n-1:0),o=1;o=1?S:""),style:(0,E.Z)((0,E.Z)({},o),null==x?void 0:x.style)}),v.map(function(e,t){var n=e.render,o=e.dataIndex,c=e.className,d=X(m,e,t,s,a),u=d.key,v=d.fixedInfo,b=d.appendCellNode,y=d.additionalCellProps;return r.createElement(P,(0,p.Z)({className:c,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?h:f,prefixCls:g,key:u,record:l,index:a,renderIndex:i,dataIndex:o,render:n,shouldCellUpdate:e.shouldCellUpdate},v,{appendNode:b,additionalProps:y}))}));if(k&&(C.current||w)){var N=y(l,a,s+1,w);t=r.createElement(V,{expanded:w,className:Z()("".concat(g,"-expanded-row"),"".concat(g,"-expanded-row-level-").concat(s+1),S),prefixCls:g,component:u,cellComponent:f,colSpan:v.length,isEmpty:!1},N)}return r.createElement(r.Fragment,null,$,t)});function G(e){var t=e.columnKey,n=e.onColumnResize,o=r.useRef();return r.useEffect(function(){o.current&&n(t,o.current.offsetWidth)},[]),r.createElement(B.Z,{data:t},r.createElement("td",{ref:o,style:{padding:0,border:0,height:0}},r.createElement("div",{style:{height:0,overflow:"hidden"}},"\xa0")))}function Y(e){var t=e.prefixCls,n=e.columnsKey,o=e.onColumnResize;return r.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},r.createElement(B.Z.Collection,{onBatchResize:function(e){e.forEach(function(e){o(e.data,e.size.offsetWidth)})}},n.map(function(e){return r.createElement(G,{key:e,columnKey:e,onColumnResize:o})})))}var J=y(function(e){var t,n=e.data,o=e.measureColumnWidth,l=f(w,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),a=l.prefixCls,i=l.getComponent,c=l.onColumnResize,d=l.flattenColumns,s=l.getRowKey,u=l.expandedKeys,p=l.childrenColumnName,h=l.emptyNode,m=W(n,p,u,s),g=r.useRef({renderWithProps:!1}),v=i(["body","wrapper"],"tbody"),b=i(["body","row"],"tr"),y=i(["body","cell"],"td"),x=i(["body","cell"],"th");t=n.length?m.map(function(e,t){var n=e.record,o=e.indent,l=e.index,a=s(n,t);return r.createElement(U,{key:a,rowKey:a,record:n,index:t,renderIndex:l,rowComponent:b,cellComponent:y,scopeCellComponent:x,getRowKey:s,indent:o})}):r.createElement(V,{expanded:!0,className:"".concat(a,"-placeholder"),prefixCls:a,component:b,cellComponent:y,colSpan:d.length,isEmpty:!0},h);var k=O(d);return r.createElement(K.Provider,{value:g.current},r.createElement(v,{className:"".concat(a,"-tbody")},o&&r.createElement(Y,{prefixCls:a,columnsKey:k,onColumnResize:c}),t))}),Q=["expandable"],ee="RC_TABLE_INTERNAL_COL_DEFINE",et=["columnType"],en=function(e){for(var t=e.colWidths,n=e.columns,o=e.columCount,l=[],a=o||n.length,i=!1,c=a-1;c>=0;c-=1){var d=t[c],s=n&&n[c],u=s&&s[ee];if(d||u||i){var f=u||{},h=(f.columnType,(0,M.Z)(f,et));l.unshift(r.createElement("col",(0,p.Z)({key:c,style:{width:d}},h))),i=!0}}return r.createElement("colgroup",null,l)},er=n(72991),eo=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"],el=r.forwardRef(function(e,t){var n=e.className,o=e.noData,l=e.columns,a=e.flattenColumns,i=e.colWidths,c=e.columCount,d=e.stickyOffsets,s=e.direction,u=e.fixHeader,p=e.stickyTopOffset,m=e.stickyBottomOffset,g=e.stickyClassName,v=e.onScroll,b=e.maxContentScroll,y=e.children,x=(0,M.Z)(e,eo),k=f(w,["prefixCls","scrollbarSize","isSticky","getComponent"]),S=k.prefixCls,$=k.scrollbarSize,N=k.isSticky,K=(0,k.getComponent)(["header","table"],"table"),O=N&&!u?0:$,I=r.useRef(null),R=r.useCallback(function(e){(0,h.mH)(t,e),(0,h.mH)(I,e)},[]);r.useEffect(function(){var e;function t(e){var t=e.currentTarget,n=e.deltaX;n&&(v({currentTarget:t,scrollLeft:t.scrollLeft+n}),e.preventDefault())}return null===(e=I.current)||void 0===e||e.addEventListener("wheel",t,{passive:!1}),function(){var e;null===(e=I.current)||void 0===e||e.removeEventListener("wheel",t)}},[]);var P=r.useMemo(function(){return a.every(function(e){return e.width})},[a]),D=a[a.length-1],T={fixed:D?D.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(S,"-cell-scrollbar")}}},L=(0,r.useMemo)(function(){return O?[].concat((0,er.Z)(l),[T]):l},[O,l]),j=(0,r.useMemo)(function(){return O?[].concat((0,er.Z)(a),[T]):a},[O,a]),H=(0,r.useMemo)(function(){var e=d.right,t=d.left;return(0,E.Z)((0,E.Z)({},d),{},{left:"rtl"===s?[].concat((0,er.Z)(t.map(function(e){return e+O})),[0]):t,right:"rtl"===s?e:[].concat((0,er.Z)(e.map(function(e){return e+O})),[0]),isSticky:N})},[O,d,N]),B=(0,r.useMemo)(function(){for(var e=[],t=0;t1?"colgroup":"col":null,ellipsis:a.ellipsis,align:a.align,component:i,prefixCls:u,key:m[t]},c,{additionalProps:n,rowType:"header"}))}))},ec=y(function(e){var t=e.stickyOffsets,n=e.columns,o=e.flattenColumns,l=e.onHeaderRow,a=f(w,["prefixCls","getComponent"]),i=a.prefixCls,c=a.getComponent,d=r.useMemo(function(){return function(e){var t=[];!function e(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;t[o]=t[o]||[];var l=r;return n.filter(Boolean).map(function(n){var r={key:n.key,className:n.className||"",children:n.title,column:n,colStart:l},a=1,i=n.children;return i&&i.length>0&&(a=e(i,l,o+1).reduce(function(e,t){return e+t},0),r.hasSubColumns=!0),"colSpan"in n&&(a=n.colSpan),"rowSpan"in n&&(r.rowSpan=n.rowSpan),r.colSpan=a,r.colEnd=r.colStart+a-1,t[o].push(r),l+=a,a})}(e,0);for(var n=t.length,r=function(e){t[e].forEach(function(t){("rowSpan"in t)||t.hasSubColumns||(t.rowSpan=n-e)})},o=0;o1&&void 0!==arguments[1]?arguments[1]:"";return"number"==typeof t?t:t.endsWith("%")?e*parseFloat(t)/100:null}var eu=["children"],ef=["fixed"];function ep(e){return(0,ed.Z)(e).filter(function(e){return r.isValidElement(e)}).map(function(e){var t=e.key,n=e.props,r=n.children,o=(0,M.Z)(n,eu),l=(0,E.Z)({key:t},o);return r&&(l.children=ep(r)),l})}function eh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key";return e.filter(function(e){return e&&"object"===(0,k.Z)(e)}).reduce(function(e,n,r){var o=n.fixed,l=!0===o?"left":o,a="".concat(t,"-").concat(r),i=n.children;return i&&i.length>0?[].concat((0,er.Z)(e),(0,er.Z)(eh(i,a).map(function(e){return(0,E.Z)({fixed:l},e)}))):[].concat((0,er.Z)(e),[(0,E.Z)((0,E.Z)({key:a},n),{},{fixed:l})])},[])}var em=function(e,t){var n=e.prefixCls,l=e.columns,i=e.children,c=e.expandable,d=e.expandedKeys,s=e.columnTitle,u=e.getRowKey,f=e.onTriggerExpand,p=e.expandIcon,h=e.rowExpandable,m=e.expandIconColumnIndex,g=e.direction,v=e.expandRowByClick,b=e.columnWidth,y=e.fixed,x=e.scrollWidth,w=e.clientWidth,S=r.useMemo(function(){return function e(t){return t.filter(function(e){return e&&"object"===(0,k.Z)(e)&&!e.hidden}).map(function(t){var n=t.children;return n&&n.length>0?(0,E.Z)((0,E.Z)({},t),{},{children:e(n)}):t})}((l||ep(i)||[]).slice())},[l,i]),Z=r.useMemo(function(){if(c){var e,t,l=S.slice();if(!l.includes(o)){var a=m||0;a>=0&&l.splice(a,0,o)}var i=l.indexOf(o);l=l.filter(function(e,t){return e!==o||t===i});var g=S[i];t=("left"===y||y)&&!m?"left":("right"===y||y)&&m===S.length?"right":g?g.fixed:null;var x=(e={},(0,C.Z)(e,ee,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,C.Z)(e,"title",s),(0,C.Z)(e,"fixed",t),(0,C.Z)(e,"className","".concat(n,"-row-expand-icon-cell")),(0,C.Z)(e,"width",b),(0,C.Z)(e,"render",function(e,t,o){var l=u(t,o),a=p({prefixCls:n,expanded:d.has(l),expandable:!h||h(t),record:t,onExpand:f});return v?r.createElement("span",{onClick:function(e){return e.stopPropagation()}},a):a}),e);return l.map(function(e){return e===o?x:e})}return S.filter(function(e){return e!==o})},[c,S,u,d,p,g]),$=r.useMemo(function(){var e=Z;return t&&(e=t(e)),e.length||(e=[{render:function(){return null}}]),e},[t,Z,g]),N=r.useMemo(function(){return"rtl"===g?eh($).map(function(e){var t=e.fixed,n=(0,M.Z)(e,ef),r=t;return"left"===t?r="right":"right"===t&&(r="left"),(0,E.Z)({fixed:r},n)}):eh($)},[$,g,x]),K=r.useMemo(function(){for(var e=-1,t=N.length-1;t>=0;t-=1){var n=N[t].fixed;if("left"===n||!0===n){e=t;break}}if(e>=0)for(var r=0;r<=e;r+=1){var o=N[r].fixed;if("left"!==o&&!0!==o)return!0}var l=N.findIndex(function(e){return"right"===e.fixed});if(l>=0){for(var a=l;a0){var e=0,t=0;N.forEach(function(n){var r=es(x,n.width);r?e+=r:t+=1});var n=Math.max(x,w),r=Math.max(n-e,t),o=t,l=r/t,a=0,i=N.map(function(e){var t=(0,E.Z)({},e),n=es(x,t.width);if(n)t.width=n;else{var i=Math.floor(l);t.width=1===o?r:i,r-=i,o-=1}return a+=t.width,t});if(a=p&&(r=p-h),i({scrollLeft:r/p*(u+2)}),x.current.x=e.pageX},R=function(){K.current=(0,ek.Z)(function(){if(l.current){var e=(0,ew.os)(l.current).top,t=e+l.current.offsetHeight,n=d===window?document.documentElement.scrollTop+window.innerHeight:(0,ew.os)(d).top+d.clientHeight;t-(0,_.Z)()<=n||e>=n-c?y(function(e){return(0,E.Z)((0,E.Z)({},e),{},{isHiddenScrollBar:!0})}):y(function(e){return(0,E.Z)((0,E.Z)({},e),{},{isHiddenScrollBar:!1})})}})},P=function(e){y(function(t){return(0,E.Z)((0,E.Z)({},t),{},{scrollLeft:e/u*p||0})})};return(r.useImperativeHandle(t,function(){return{setScrollLeft:P,checkScrollBarVisible:R}}),r.useEffect(function(){var e=(0,ex.Z)(document.body,"mouseup",O,!1),t=(0,ex.Z)(document.body,"mousemove",I,!1);return R(),function(){e.remove(),t.remove()}},[h,$]),r.useEffect(function(){var e=(0,ex.Z)(d,"scroll",R,!1),t=(0,ex.Z)(window,"resize",R,!1);return function(){e.remove(),t.remove()}},[d]),r.useEffect(function(){b.isHiddenScrollBar||y(function(e){var t=l.current;return t?(0,E.Z)((0,E.Z)({},e),{},{scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}):e})},[b.isHiddenScrollBar]),u<=p||!h||b.isHiddenScrollBar)?null:r.createElement("div",{style:{height:(0,_.Z)(),width:p,bottom:c},className:"".concat(s,"-sticky-scroll")},r.createElement("div",{onMouseDown:function(e){e.persist(),x.current.delta=e.pageX-b.scrollLeft,x.current.x=0,N(!0),e.preventDefault()},ref:m,className:Z()("".concat(s,"-sticky-scroll-bar"),(0,C.Z)({},"".concat(s,"-sticky-scroll-bar-active"),$)),style:{width:"".concat(h,"px"),transform:"translate3d(".concat(b.scrollLeft,"px, 0, 0)")}}))}),eC="rc-table",eS=[],eZ={};function e$(){return"No Data"}var eN=r.forwardRef(function(e,t){var n,o=(0,E.Z)({rowKey:"key",prefixCls:eC,emptyText:e$},e),c=o.prefixCls,s=o.className,u=o.rowClassName,f=o.style,h=o.data,m=o.rowKey,g=o.scroll,v=o.tableLayout,b=o.direction,y=o.title,x=o.footer,S=o.summary,K=o.caption,I=o.id,R=o.showHeader,P=o.components,T=o.emptyText,L=o.onRow,W=o.onHeaderRow,q=o.onScroll,V=o.internalHooks,X=o.transformColumns,U=o.internalRefs,G=o.tailor,Y=o.getContainerWidth,ee=o.sticky,et=o.rowHoverable,eo=void 0===et||et,el=h||eS,ei=!!el.length,ed=V===l,es=r.useCallback(function(e,t){return(0,N.Z)(P,e)||t},[P]),eu=r.useMemo(function(){return"function"==typeof m?m:function(e){return e&&e[m]}},[m]),ef=es(["body"]),ep=(tV=r.useState(-1),tU=(tX=(0,a.Z)(tV,2))[0],tG=tX[1],tY=r.useState(-1),tQ=(tJ=(0,a.Z)(tY,2))[0],t0=tJ[1],[tU,tQ,r.useCallback(function(e,t){tG(e),t0(t)},[])]),eh=(0,a.Z)(ep,3),ex=eh[0],ew=eh[1],ek=eh[2],eN=(t2=o.expandable,t4=(0,M.Z)(o,Q),!1===(t1="expandable"in o?(0,E.Z)((0,E.Z)({},t4),t2):t4).showExpandColumn&&(t1.expandIconColumnIndex=-1),t3=t1.expandIcon,t8=t1.expandedRowKeys,t6=t1.defaultExpandedRowKeys,t7=t1.defaultExpandAllRows,t5=t1.expandedRowRender,t9=t1.onExpand,ne=t1.onExpandedRowsChange,nt=t1.childrenColumnName||"children",nn=r.useMemo(function(){return t5?"row":!!(o.expandable&&o.internalHooks===l&&o.expandable.__PARENT_RENDER_ICON__||el.some(function(e){return e&&"object"===(0,k.Z)(e)&&e[nt]}))&&"nest"},[!!t5,el]),nr=r.useState(function(){if(t6)return t6;if(t7){var e;return e=[],function t(n){(n||[]).forEach(function(n,r){e.push(eu(n,r)),t(n[nt])})}(el),e}return[]}),nl=(no=(0,a.Z)(nr,2))[0],na=no[1],ni=r.useMemo(function(){return new Set(t8||nl||[])},[t8,nl]),nc=r.useCallback(function(e){var t,n=eu(e,el.indexOf(e)),r=ni.has(n);r?(ni.delete(n),t=(0,er.Z)(ni)):t=[].concat((0,er.Z)(ni),[n]),na(t),t9&&t9(!r,e),ne&&ne(t)},[eu,ni,el,t9,ne]),[t1,nn,ni,t3||eg,nt,nc]),eK=(0,a.Z)(eN,6),eO=eK[0],eI=eK[1],eR=eK[2],eP=eK[3],eD=eK[4],eT=eK[5],eM=null==g?void 0:g.x,eL=r.useState(0),ej=(0,a.Z)(eL,2),eH=ej[0],eB=ej[1],ez=em((0,E.Z)((0,E.Z)((0,E.Z)({},o),eO),{},{expandable:!!eO.expandedRowRender,columnTitle:eO.columnTitle,expandedKeys:eR,getRowKey:eu,onTriggerExpand:eT,expandIcon:eP,expandIconColumnIndex:eO.expandIconColumnIndex,direction:b,scrollWidth:ed&&G&&"number"==typeof eM?eM:null,clientWidth:eH}),ed?X:null),eA=(0,a.Z)(ez,4),e_=eA[0],eF=eA[1],eW=eA[2],eq=eA[3],eV=null!=eW?eW:eM,eX=r.useMemo(function(){return{columns:e_,flattenColumns:eF}},[e_,eF]),eU=r.useRef(),eG=r.useRef(),eY=r.useRef(),eJ=r.useRef();r.useImperativeHandle(t,function(){return{nativeElement:eU.current,scrollTo:function(e){var t;if(eY.current instanceof HTMLElement){var n=e.index,r=e.top,o=e.key;if(r)null===(l=eY.current)||void 0===l||l.scrollTo({top:r});else{var l,a,i=null!=o?o:eu(el[n]);null===(a=eY.current.querySelector('[data-row-key="'.concat(i,'"]')))||void 0===a||a.scrollIntoView()}}else null!==(t=eY.current)&&void 0!==t&&t.scrollTo&&eY.current.scrollTo(e)}}});var eQ=r.useRef(),e0=r.useState(!1),e1=(0,a.Z)(e0,2),e2=e1[0],e4=e1[1],e3=r.useState(!1),e8=(0,a.Z)(e3,2),e6=e8[0],e7=e8[1],e5=ev(new Map),e9=(0,a.Z)(e5,2),te=e9[0],tt=e9[1],tn=O(eF).map(function(e){return te.get(e)}),tr=r.useMemo(function(){return tn},[tn.join("_")]),to=(0,r.useMemo)(function(){var e=eF.length,t=function(e,t,n){for(var r=[],o=0,l=e;l!==t;l+=n)r.push(o),eF[l].fixed&&(o+=tr[l]||0);return r},n=t(0,e,1),r=t(e-1,-1,-1).reverse();return"rtl"===b?{left:r,right:n}:{left:n,right:r}},[tr,eF,b]),tl=g&&null!=g.y,ta=g&&null!=eV||!!eO.fixed,ti=ta&&eF.some(function(e){return e.fixed}),tc=r.useRef(),td=(nu=void 0===(ns=(nd="object"===(0,k.Z)(ee)?ee:{}).offsetHeader)?0:ns,np=void 0===(nf=nd.offsetSummary)?0:nf,nm=void 0===(nh=nd.offsetScroll)?0:nh,nv=(void 0===(ng=nd.getContainer)?function(){return eb}:ng)()||eb,r.useMemo(function(){var e=!!ee;return{isSticky:e,stickyClassName:e?"".concat(c,"-sticky-holder"):"",offsetHeader:nu,offsetSummary:np,offsetScroll:nm,container:nv}},[nm,nu,np,c,nv])),ts=td.isSticky,tu=td.offsetHeader,tf=td.offsetSummary,tp=td.offsetScroll,th=td.stickyClassName,tm=td.container,tg=r.useMemo(function(){return null==S?void 0:S(el)},[S,el]),tv=(tl||ts)&&r.isValidElement(tg)&&tg.type===j&&tg.props.fixed;tl&&(nx={overflowY:"scroll",maxHeight:g.y}),ta&&(ny={overflowX:"auto"},tl||(nx={overflowY:"hidden"}),nw={width:!0===eV?"auto":eV,minWidth:"100%"});var tb=r.useCallback(function(e,t){(0,z.Z)(eU.current)&&tt(function(n){if(n.get(e)!==t){var r=new Map(n);return r.set(e,t),r}return n})},[]),ty=function(e){var t=(0,r.useRef)(null),n=(0,r.useRef)();function o(){window.clearTimeout(n.current)}return(0,r.useEffect)(function(){return o},[]),[function(e){t.current=e,o(),n.current=window.setTimeout(function(){t.current=null,n.current=void 0},100)},function(){return t.current}]}(0),tx=(0,a.Z)(ty,2),tw=tx[0],tk=tx[1];function tE(e,t){t&&("function"==typeof t?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout(function(){t.scrollLeft=e},0)))}var tC=(0,i.Z)(function(e){var t,n=e.currentTarget,r=e.scrollLeft,o="rtl"===b,l="number"==typeof r?r:n.scrollLeft,a=n||eZ;tk()&&tk()!==a||(tw(a),tE(l,eG.current),tE(l,eY.current),tE(l,eQ.current),tE(l,null===(t=tc.current)||void 0===t?void 0:t.setScrollLeft));var i=n||eG.current;if(i){var c=i.scrollWidth,d=i.clientWidth;if(c===d){e4(!1),e7(!1);return}o?(e4(-l0)):(e4(l>0),e7(l1?x-T:0,L=(0,E.Z)((0,E.Z)((0,E.Z)({},K),u),{},{flex:"0 0 ".concat(T,"px"),width:"".concat(T,"px"),marginRight:M,pointerEvents:"auto"}),j=r.useMemo(function(){return m?D<=1:0===I||0===D||D>1},[D,I,m]);j?L.visibility="hidden":m&&(L.height=null==g?void 0:g(D));var H={};return(0===D||0===I)&&(H.rowSpan=1,H.colSpan=1),r.createElement(P,(0,p.Z)({className:Z()(y,h),ellipsis:o.ellipsis,align:o.align,scope:o.rowScope,component:c,prefixCls:n.prefixCls,key:C,record:s,index:i,renderIndex:d,dataIndex:b,render:j?function(){return null}:v,shouldCellUpdate:o.shouldCellUpdate},S,{appendNode:$,additionalProps:(0,E.Z)((0,E.Z)({},N),{},{style:L},H)}))},eD=["data","index","className","rowKey","style","extra","getHeight"],eT=y(r.forwardRef(function(e,t){var n,o=e.data,l=e.index,a=e.className,i=e.rowKey,c=e.style,d=e.extra,s=e.getHeight,u=(0,M.Z)(e,eD),h=o.record,m=o.indent,g=o.index,v=f(w,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),b=v.scrollX,y=v.flattenColumns,x=v.prefixCls,k=v.fixColumn,S=v.componentWidth,$=f(eI,["getComponent"]).getComponent,N=q(h,i,l,m),K=$(["body","row"],"div"),O=$(["body","cell"],"div"),I=N.rowSupportExpand,R=N.expanded,D=N.rowProps,T=N.expandedRowRender,L=N.expandedRowClassName;if(I&&R){var j=T(h,l,m+1,R),H=null==L?void 0:L(h,l,m),B={};k&&(B={style:(0,C.Z)({},"--virtual-width","".concat(S,"px"))});var z="".concat(x,"-expanded-row-cell");n=r.createElement(K,{className:Z()("".concat(x,"-expanded-row"),"".concat(x,"-expanded-row-level-").concat(m+1),H)},r.createElement(P,{component:O,prefixCls:x,className:Z()(z,(0,C.Z)({},"".concat(z,"-fixed"),k)),additionalProps:B},j))}var A=(0,E.Z)((0,E.Z)({},c),{},{width:b});d&&(A.position="absolute",A.pointerEvents="none");var _=r.createElement(K,(0,p.Z)({},D,u,{"data-row-key":i,ref:I?null:t,className:Z()(a,"".concat(x,"-row"),null==D?void 0:D.className,(0,C.Z)({},"".concat(x,"-row-extra"),d)),style:(0,E.Z)((0,E.Z)({},A),null==D?void 0:D.style)}),y.map(function(e,t){return r.createElement(eP,{key:t,component:O,rowInfo:N,column:e,colIndex:t,indent:m,index:l,renderIndex:g,record:h,inverse:d,getHeight:s})}));return I?r.createElement("div",{ref:t},_,n):_})),eM=y(r.forwardRef(function(e,t){var n,o=e.data,l=e.onScroll,i=f(w,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),c=i.flattenColumns,d=i.onColumnResize,s=i.getRowKey,u=i.expandedKeys,p=i.prefixCls,h=i.childrenColumnName,m=i.emptyNode,g=i.scrollX,v=f(eI),b=v.sticky,y=v.scrollY,x=v.listItemHeight,E=v.getComponent,C=v.onScroll,S=r.useRef(),$=W(o,h,u,s),N=r.useMemo(function(){var e=0;return c.map(function(t){var n=t.width,r=t.key;return e+=n,[r,n,e]})},[c]),K=r.useMemo(function(){return N.map(function(e){return e[2]})},[N]);r.useEffect(function(){N.forEach(function(e){var t=(0,a.Z)(e,2);d(t[0],t[1])})},[N]),r.useImperativeHandle(t,function(){var e={scrollTo:function(e){var t;null===(t=S.current)||void 0===t||t.scrollTo(e)}};return Object.defineProperty(e,"scrollLeft",{get:function(){var e;return(null===(e=S.current)||void 0===e?void 0:e.getScrollInfo().x)||0},set:function(e){var t;null===(t=S.current)||void 0===t||t.scrollTo({left:e})}}),e});var O=function(e,t){var n=null===(o=$[t])||void 0===o?void 0:o.record,r=e.onCell;if(r){var o,l,a=r(n,t);return null!==(l=null==a?void 0:a.rowSpan)&&void 0!==l?l:1}return 1},I=r.useMemo(function(){return{columnsOffset:K}},[K]),R="".concat(p,"-tbody"),D=E(["body","wrapper"]),T=E(["body","row"],"div"),M=E(["body","cell"],"div");if($.length){var L={};b&&(L.position="sticky",L.bottom=0,"object"===(0,k.Z)(b)&&b.offsetScroll&&(L.bottom=b.offsetScroll)),n=r.createElement(eO.Z,{fullHeight:!1,ref:S,prefixCls:"".concat(R,"-virtual"),styles:{horizontalScrollBar:L},className:R,height:y,itemHeight:x||24,data:$,itemKey:function(e){return s(e.record)},component:D,scrollWidth:g,onVirtualScroll:function(e){l({scrollLeft:e.x})},onScroll:C,extraRender:function(e){var t=e.start,n=e.end,o=e.getSize,l=e.offsetY;if(n<0)return null;for(var a=c.filter(function(e){return 0===O(e,t)}),i=t,d=function(e){if(!(a=a.filter(function(t){return 0===O(t,e)})).length)return i=e,1},u=t;u>=0&&!d(u);u-=1);for(var f=c.filter(function(e){return 1!==O(e,n)}),p=n,h=function(e){if(!(f=f.filter(function(t){return 1!==O(t,e)})).length)return p=Math.max(e-1,n),1},m=n;m<$.length&&!h(m);m+=1);for(var g=[],v=function(e){if(!$[e])return 1;c.some(function(t){return O(t,e)>1})&&g.push(e)},b=i;b<=p;b+=1)if(v(b))continue;return g.map(function(e){var t=$[e],n=s(t.record,e),a=o(n);return r.createElement(eT,{key:e,data:t,rowKey:n,index:e,style:{top:-l+a.top},extra:!0,getHeight:function(t){var r=e+t-1,l=o(n,s($[r].record,r));return l.bottom-l.top}})})}},function(e,t,n){var o=s(e.record,t);return r.createElement(eT,{data:e,rowKey:o,index:t,style:n.style})})}else n=r.createElement(T,{className:Z()("".concat(p,"-placeholder"))},r.createElement(P,{component:M,prefixCls:p},m));return r.createElement(eR.Provider,{value:I},n)})),eL=function(e,t){var n=t.ref,o=t.onScroll;return r.createElement(eM,{ref:n,data:e,onScroll:o})},ej=r.forwardRef(function(e,t){var n=e.columns,o=e.scroll,a=e.sticky,i=e.prefixCls,c=void 0===i?eC:i,d=e.className,s=e.listItemHeight,u=e.components,f=e.onScroll,h=o||{},m=h.x,g=h.y;"number"!=typeof m&&(m=1),"number"!=typeof g&&(g=500);var v=(0,I.zX)(function(e,t){return(0,N.Z)(u,e)||t}),b=(0,I.zX)(f),y=r.useMemo(function(){return{sticky:a,scrollY:g,listItemHeight:s,getComponent:v,onScroll:b}},[a,g,s,v,b]);return r.createElement(eI.Provider,{value:y},r.createElement(eK,(0,p.Z)({},e,{className:Z()(d,"".concat(c,"-virtual")),scroll:(0,E.Z)((0,E.Z)({},o),{},{x:m}),components:(0,E.Z)((0,E.Z)({},u),{},{body:eL}),columns:n,internalHooks:l,tailor:!0,ref:t})))});b(ej,void 0);var eH=n(12299),eB=n(74443),ez=n(47940),eA=n(54328),e_=n(77757),eF=n(67478),eW=n(29223),eq=n(80335),eV=n(76372);let eX={},eU="SELECT_ALL",eG="SELECT_INVERT",eY="SELECT_NONE",eJ=[],eQ=(e,t)=>{let n=[];return(t||[]).forEach(t=>{n.push(t),t&&"object"==typeof t&&e in t&&(n=[].concat((0,er.Z)(n),(0,er.Z)(eQ(e,t[e]))))}),n};var e0=(e,t)=>{let{preserveSelectedRowKeys:n,selectedRowKeys:o,defaultSelectedRowKeys:l,getCheckboxProps:a,onChange:i,onSelect:c,onSelectAll:d,onSelectInvert:s,onSelectNone:u,onSelectMultiple:f,columnWidth:p,type:h,selections:m,fixed:g,renderCell:v,hideSelectAll:b,checkStrictly:y=!0}=t||{},{prefixCls:x,data:w,pageData:k,getRecordByKey:E,getRowKey:C,expandType:S,childrenColumnName:$,locale:N,getPopupContainer:K}=e,O=(0,eF.ln)("Table"),[I,R]=function(e){let[t,n]=(0,r.useState)(null),o=(0,r.useCallback)((r,o,l)=>{let a=null!=t?t:r,i=Math.min(a||0,r),c=Math.max(a||0,r),d=o.slice(i,c+1).map(t=>e(t)),s=d.some(e=>!l.has(e)),u=[];return d.forEach(e=>{s?(l.has(e)||u.push(e),l.add(e)):(l.delete(e),u.push(e))}),n(s?c:null),u},[t]);return[o,e=>{n(e)}]}(e=>e),[P,D]=(0,e_.Z)(o||l||eJ,{value:o}),T=r.useRef(new Map),M=(0,r.useCallback)(e=>{if(n){let t=new Map;e.forEach(e=>{let n=E(e);!n&&T.current.has(e)&&(n=T.current.get(e)),t.set(e,n)}),T.current=t}},[E,n]);r.useEffect(()=>{M(P)},[P]);let{keyEntities:L}=(0,r.useMemo)(()=>{if(y)return{keyEntities:null};let e=w;if(n){let t=new Set(w.map((e,t)=>C(e,t))),n=Array.from(T.current).reduce((e,n)=>{let[r,o]=n;return t.has(r)?e:e.concat(o)},[]);e=[].concat((0,er.Z)(e),(0,er.Z)(n))}return(0,eA.I8)(e,{externalGetKey:C,childrenPropName:$})},[w,C,y,$,n]),j=(0,r.useMemo)(()=>eQ($,k),[$,k]),H=(0,r.useMemo)(()=>{let e=new Map;return j.forEach((t,n)=>{let r=C(t,n),o=(a?a(t):null)||{};e.set(r,o)}),e},[j,C,a]),B=(0,r.useCallback)(e=>{var t;return!!(null===(t=H.get(C(e)))||void 0===t?void 0:t.disabled)},[H,C]),[z,A]=(0,r.useMemo)(()=>{if(y)return[P||[],[]];let{checkedKeys:e,halfCheckedKeys:t}=(0,ez.S)(P,!0,L,B);return[e||[],t]},[P,y,L,B]),_=(0,r.useMemo)(()=>{let e="radio"===h?z.slice(0,1):z;return new Set(e)},[z,h]),F=(0,r.useMemo)(()=>"radio"===h?new Set:new Set(A),[A,h]);r.useEffect(()=>{t||D(eJ)},[!!t]);let W=(0,r.useCallback)((e,t)=>{let r,o;M(e),n?(r=e,o=e.map(e=>T.current.get(e))):(r=[],o=[],e.forEach(e=>{let t=E(e);void 0!==t&&(r.push(e),o.push(t))})),D(r),null==i||i(r,o,{type:t})},[D,E,i,n]),q=(0,r.useCallback)((e,t,n,r)=>{if(c){let o=n.map(e=>E(e));c(E(e),t,o,r)}W(n,"single")},[c,E,W]),V=(0,r.useMemo)(()=>{if(!m||b)return null;let e=!0===m?[eU,eG,eY]:m;return e.map(e=>e===eU?{key:"all",text:N.selectionAll,onSelect(){W(w.map((e,t)=>C(e,t)).filter(e=>{let t=H.get(e);return!(null==t?void 0:t.disabled)||_.has(e)}),"all")}}:e===eG?{key:"invert",text:N.selectInvert,onSelect(){let e=new Set(_);k.forEach((t,n)=>{let r=C(t,n),o=H.get(r);(null==o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))});let t=Array.from(e);s&&(O.deprecated(!1,"onSelectInvert","onChange"),s(t)),W(t,"invert")}}:e===eY?{key:"none",text:N.selectNone,onSelect(){null==u||u(),W(Array.from(_).filter(e=>{let t=H.get(e);return null==t?void 0:t.disabled}),"none")}}:e).map(e=>Object.assign(Object.assign({},e),{onSelect:function(){for(var t,n=arguments.length,r=Array(n),o=0;o{var n;let o,l,a;if(!t)return e.filter(e=>e!==eX);let i=(0,er.Z)(e),c=new Set(_),s=j.map(C).filter(e=>!H.get(e).disabled),u=s.every(e=>c.has(e)),w=s.some(e=>c.has(e));if("radio"!==h){let e;if(V){let t={getPopupContainer:K,items:V.map((e,t)=>{let{key:n,text:r,onSelect:o}=e;return{key:null!=n?n:t,onClick:()=>{null==o||o(s)},label:r}})};e=r.createElement("div",{className:`${x}-selection-extra`},r.createElement(eq.Z,{menu:t,getPopupContainer:K},r.createElement("span",null,r.createElement(eH.Z,null))))}let t=j.map((e,t)=>{let n=C(e,t),r=H.get(n)||{};return Object.assign({checked:c.has(n)},r)}).filter(e=>{let{disabled:t}=e;return t}),n=!!t.length&&t.length===j.length,a=n&&t.every(e=>{let{checked:t}=e;return t}),i=n&&t.some(e=>{let{checked:t}=e;return t});l=r.createElement(eW.Z,{checked:n?a:!!j.length&&u,indeterminate:n?!a&&i:!u&&w,onChange:()=>{let e=[];u?s.forEach(t=>{c.delete(t),e.push(t)}):s.forEach(t=>{c.has(t)||(c.add(t),e.push(t))});let t=Array.from(c);null==d||d(!u,t.map(e=>E(e)),e.map(e=>E(e))),W(t,"all"),R(null)},disabled:0===j.length||n,"aria-label":e?"Custom selection":"Select all",skipGroup:!0}),o=!b&&r.createElement("div",{className:`${x}-selection`},l,e)}if(a="radio"===h?(e,t,n)=>{let o=C(t,n),l=c.has(o);return{node:r.createElement(eV.ZP,Object.assign({},H.get(o),{checked:l,onClick:e=>e.stopPropagation(),onChange:e=>{c.has(o)||q(o,!0,[o],e.nativeEvent)}})),checked:l}}:(e,t,n)=>{var o;let l;let a=C(t,n),i=c.has(a),d=F.has(a),u=H.get(a);return l="nest"===S?d:null!==(o=null==u?void 0:u.indeterminate)&&void 0!==o?o:d,{node:r.createElement(eW.Z,Object.assign({},u,{indeterminate:l,checked:i,skipGroup:!0,onClick:e=>e.stopPropagation(),onChange:e=>{let{nativeEvent:t}=e,{shiftKey:n}=t,r=s.findIndex(e=>e===a),o=z.some(e=>s.includes(e));if(n&&y&&o){let e=I(r,s,c),t=Array.from(c);null==f||f(!i,t.map(e=>E(e)),e.map(e=>E(e))),W(t,"multiple")}else if(y){let e=i?(0,eB._5)(z,a):(0,eB.L0)(z,a);q(a,!i,e,t)}else{let e=(0,ez.S)([].concat((0,er.Z)(z),[a]),!0,L,B),{checkedKeys:n,halfCheckedKeys:r}=e,o=n;if(i){let e=new Set(n);e.delete(a),o=(0,ez.S)(Array.from(e),{checked:!1,halfCheckedKeys:r},L,B).checkedKeys}q(a,!i,o,t)}i?R(null):R(r)}})),checked:i}},!i.includes(eX)){if(0===i.findIndex(e=>{var t;return(null===(t=e[ee])||void 0===t?void 0:t.columnType)==="EXPAND_COLUMN"})){let[e,...t]=i;i=[e,eX].concat((0,er.Z)(t))}else i=[eX].concat((0,er.Z)(i))}let k=i.indexOf(eX);i=i.filter((e,t)=>e!==eX||t===k);let $=i[k-1],N=i[k+1],O=g;void 0===O&&((null==N?void 0:N.fixed)!==void 0?O=N.fixed:(null==$?void 0:$.fixed)!==void 0&&(O=$.fixed)),O&&$&&(null===(n=$[ee])||void 0===n?void 0:n.columnType)==="EXPAND_COLUMN"&&void 0===$.fixed&&($.fixed=O);let P=Z()(`${x}-selection-col`,{[`${x}-selection-col-with-dropdown`]:m&&"checkbox"===h}),D={fixed:O,width:p,className:`${x}-selection-column`,title:(null==t?void 0:t.columnTitle)?"function"==typeof t.columnTitle?t.columnTitle(l):t.columnTitle:o,render:(e,t,n)=>{let{node:r,checked:o}=a(e,t,n);return v?v(o,t,n,r):r},onCell:t.onCell,[ee]:{className:P}};return i.map(e=>e===eX?D:e)},[C,j,t,z,_,F,p,V,S,H,f,q,B]);return[X,_]},e1=n(55598),e2=n(537),e4=n(63346),e3=n(10917),e8=n(95227),e6=n(82014),e7=n(81349),e5=n(61013),e9=n(73127),te=n(42786),tt=n(73098);let tn=(e,t)=>"key"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function tr(e,t){return t?`${t}-${e}`:`${e}`}let to=(e,t)=>"function"==typeof e?e(t):e,tl=(e,t)=>{let n=to(e,t);return"[object Object]"===Object.prototype.toString.call(n)?"":n};var ta={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},ti=n(75651),tc=r.forwardRef(function(e,t){return r.createElement(ti.Z,(0,p.Z)({},e,{ref:t,icon:ta}))}),td=n(66767),ts=n(27691),tu=n(97818),tf=n(78984),tp=n(70730),th=n(30281),tm=n(29766),tg=n(41999),tv=e=>{let{value:t,filterSearch:n,tablePrefixCls:o,locale:l,onChange:a}=e;return n?r.createElement("div",{className:`${o}-filter-dropdown-search`},r.createElement(tg.default,{prefix:r.createElement(tm.Z,null),placeholder:l.filterSearchPlaceholder,onChange:a,value:t,htmlSize:1,className:`${o}-filter-dropdown-search-input`})):null},tb=n(16956);let ty=e=>{let{keyCode:t}=e;t===tb.Z.ENTER&&e.stopPropagation()},tx=r.forwardRef((e,t)=>r.createElement("div",{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:ty,ref:t},e.children));function tw(e){let t=[];return(e||[]).forEach(e=>{let{value:n,children:r}=e;t.push(n),r&&(t=[].concat((0,er.Z)(t),(0,er.Z)(tw(r))))}),t}function tk(e,t){return("string"==typeof t||"number"==typeof t)&&(null==t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}var tE=e=>{var t,n;let o,l;let{tablePrefixCls:a,prefixCls:i,column:c,dropdownPrefixCls:s,columnKey:u,filterOnClose:f,filterMultiple:p,filterMode:h="menu",filterSearch:m=!1,filterState:g,triggerFilter:v,locale:b,children:y,getPopupContainer:x,rootClassName:w}=e,{filterDropdownOpen:k,onFilterDropdownOpenChange:E,filterResetToDefaultFilteredValue:C,defaultFilteredValue:S,filterDropdownVisible:$,onFilterDropdownVisibleChange:N}=c,[K,O]=r.useState(!1),I=!!(g&&((null===(t=g.filteredKeys)||void 0===t?void 0:t.length)||g.forceFiltered)),R=e=>{O(e),null==E||E(e),null==N||N(e)},P=null!==(n=null!=k?k:$)&&void 0!==n?n:K,D=null==g?void 0:g.filteredKeys,[T,M]=function(e){let t=r.useRef(e),n=(0,td.Z)();return[()=>t.current,e=>{t.current=e,n()}]}(D||[]),L=e=>{let{selectedKeys:t}=e;M(t)},j=(e,t)=>{let{node:n,checked:r}=t;p?L({selectedKeys:e}):L({selectedKeys:r&&n.key?[n.key]:[]})};r.useEffect(()=>{K&&L({selectedKeys:D||[]})},[D]);let[H,B]=r.useState([]),z=e=>{B(e)},[A,_]=r.useState(""),F=e=>{let{value:t}=e.target;_(t)};r.useEffect(()=>{K||_("")},[K]);let W=e=>{let t=(null==e?void 0:e.length)?e:null;if(null===t&&(!g||!g.filteredKeys)||(0,d.Z)(t,null==g?void 0:g.filteredKeys,!0))return null;v({column:c,key:u,filteredKeys:t})},q=()=>{R(!1),W(T())},V=function(){let{confirm:e,closeDropdown:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1};e&&W([]),t&&R(!1),_(""),C?M((S||[]).map(e=>String(e))):M([])},X=Z()({[`${s}-menu-without-submenu`]:!(c.filters||[]).some(e=>{let{children:t}=e;return t})}),U=e=>{if(e.target.checked){let e=tw(null==c?void 0:c.filters).map(e=>String(e));M(e)}else M([])},G=e=>{let{filters:t}=e;return(t||[]).map((e,t)=>{let n=String(e.value),r={title:e.text,key:void 0!==e.value?n:String(t)};return e.children&&(r.children=G({filters:e.children})),r})},Y=e=>{var t;return Object.assign(Object.assign({},e),{text:e.title,value:e.key,children:(null===(t=e.children)||void 0===t?void 0:t.map(e=>Y(e)))||[]})},{direction:J,renderEmpty:Q}=r.useContext(e4.E_);if("function"==typeof c.filterDropdown)o=c.filterDropdown({prefixCls:`${s}-custom`,setSelectedKeys:e=>L({selectedKeys:e}),selectedKeys:T(),confirm:function(){let{closeDropdown:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e&&R(!1),W(T())},clearFilters:V,filters:c.filters,visible:P,close:()=>{R(!1)}});else if(c.filterDropdown)o=c.filterDropdown;else{let e=T()||[];o=r.createElement(r.Fragment,null,(()=>{var t;let n=null!==(t=null==Q?void 0:Q("Table.filter"))&&void 0!==t?t:r.createElement(tu.Z,{image:tu.Z.PRESENTED_IMAGE_SIMPLE,description:b.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if(0===(c.filters||[]).length)return n;if("tree"===h)return r.createElement(r.Fragment,null,r.createElement(tv,{filterSearch:m,value:A,onChange:F,tablePrefixCls:a,locale:b}),r.createElement("div",{className:`${a}-filter-dropdown-tree`},p?r.createElement(eW.Z,{checked:e.length===tw(c.filters).length,indeterminate:e.length>0&&e.length"function"==typeof m?m(A,Y(e)):tk(A,e.title):void 0})));let o=function e(t){let{filters:n,prefixCls:o,filteredKeys:l,filterMultiple:a,searchValue:i,filterSearch:c}=t;return n.map((t,n)=>{let d=String(t.value);if(t.children)return{key:d||n,label:t.text,popupClassName:`${o}-dropdown-submenu`,children:e({filters:t.children,prefixCls:o,filteredKeys:l,filterMultiple:a,searchValue:i,filterSearch:c})};let s=a?eW.Z:eV.ZP,u={key:void 0!==t.value?d:n,label:r.createElement(r.Fragment,null,r.createElement(s,{checked:l.includes(d)}),r.createElement("span",null,t.text))};return i.trim()?"function"==typeof c?c(i,t)?u:null:tk(i,t.text)?u:null:u})}({filters:c.filters||[],filterSearch:m,prefixCls:i,filteredKeys:T(),filterMultiple:p,searchValue:A}),l=o.every(e=>null===e);return r.createElement(r.Fragment,null,r.createElement(tv,{filterSearch:m,value:A,onChange:F,tablePrefixCls:a,locale:b}),l?n:r.createElement(tf.Z,{selectable:!0,multiple:p,prefixCls:`${s}-menu`,className:X,onSelect:L,onDeselect:L,selectedKeys:e,getPopupContainer:x,openKeys:H,onOpenChange:z,items:o}))})(),r.createElement("div",{className:`${i}-dropdown-btns`},r.createElement(ts.ZP,{type:"link",size:"small",disabled:C?(0,d.Z)((S||[]).map(e=>String(e)),e,!0):0===e.length,onClick:()=>V()},b.filterReset),r.createElement(ts.ZP,{type:"primary",size:"small",onClick:q},b.filterConfirm)))}return c.filterDropdown&&(o=r.createElement(tp.J,{selectable:void 0},o)),l="function"==typeof c.filterIcon?c.filterIcon(I):c.filterIcon?c.filterIcon:r.createElement(tc,null),r.createElement("div",{className:`${i}-column`},r.createElement("span",{className:`${a}-column-title`},y),r.createElement(eq.Z,{dropdownRender:()=>r.createElement(tx,{className:`${i}-dropdown`},o),trigger:["click"],open:P,onOpenChange:(e,t)=>{"trigger"===t.source&&(e&&void 0!==D&&M(D||[]),R(e),e||c.filterDropdown||!f||q())},getPopupContainer:x,placement:"rtl"===J?"bottomLeft":"bottomRight",rootClassName:w},r.createElement("span",{role:"button",tabIndex:-1,className:Z()(`${i}-trigger`,{active:I}),onClick:e=>{e.stopPropagation()}},l)))};let tC=(e,t,n)=>{let r=[];return(e||[]).forEach((e,o)=>{var l;let a=tr(o,n);if(e.filters||"filterDropdown"in e||"onFilter"in e){if("filteredValue"in e){let t=e.filteredValue;"filterDropdown"in e||(t=null!==(l=null==t?void 0:t.map(String))&&void 0!==l?l:t),r.push({column:e,key:tn(e,a),filteredKeys:t,forceFiltered:e.filtered})}else r.push({column:e,key:tn(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered})}"children"in e&&(r=[].concat((0,er.Z)(r),(0,er.Z)(tC(e.children,t,a))))}),r},tS=e=>{let t={};return e.forEach(e=>{let{key:n,filteredKeys:r,column:o}=e,{filters:l,filterDropdown:a}=o;if(a)t[n]=r||null;else if(Array.isArray(r)){let e=tw(l);t[n]=e.filter(e=>r.includes(String(e)))}else t[n]=null}),t},tZ=(e,t,n)=>{let r=t.reduce((e,r)=>{let{column:{onFilter:o,filters:l},filteredKeys:a}=r;return o&&a&&a.length?e.map(e=>Object.assign({},e)).filter(e=>a.some(r=>{let a=tw(l),i=a.findIndex(e=>String(e)===String(r)),c=-1!==i?a[i]:r;return e[n]&&(e[n]=tZ(e[n],t,n)),o(c,e)})):e},e);return r},t$=e=>e.flatMap(e=>"children"in e?[e].concat((0,er.Z)(t$(e.children||[]))):[e]);var tN=e=>{let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:o,onFilterChange:l,getPopupContainer:a,locale:i,rootClassName:c}=e;(0,eF.ln)("Table");let d=r.useMemo(()=>t$(o||[]),[o]),[s,u]=r.useState(()=>tC(d,!0)),f=r.useMemo(()=>{let e=tC(d,!1);if(0===e.length)return e;let t=!0;if(e.forEach(e=>{let{filteredKeys:n}=e;void 0!==n&&(t=!1)}),t){let e=(d||[]).map((e,t)=>tn(e,tr(t)));return s.filter(t=>{let{key:n}=t;return e.includes(n)}).map(t=>{let n=d[e.findIndex(e=>e===t.key)];return Object.assign(Object.assign({},t),{column:Object.assign(Object.assign({},t.column),n),forceFiltered:n.filtered})})}return e},[d,s]),p=r.useMemo(()=>tS(f),[f]),h=e=>{let t=f.filter(t=>{let{key:n}=t;return n!==e.key});t.push(e),u(t),l(tS(t),t)};return[e=>(function e(t,n,o,l,a,i,c,d,s){return o.map((o,u)=>{let f=tr(u,d),{filterOnClose:p=!0,filterMultiple:h=!0,filterMode:m,filterSearch:g}=o,v=o;if(v.filters||v.filterDropdown){let e=tn(v,f),d=l.find(t=>{let{key:n}=t;return e===n});v=Object.assign(Object.assign({},v),{title:l=>r.createElement(tE,{tablePrefixCls:t,prefixCls:`${t}-filter`,dropdownPrefixCls:n,column:v,columnKey:e,filterState:d,filterOnClose:p,filterMultiple:h,filterMode:m,filterSearch:g,triggerFilter:i,locale:a,getPopupContainer:c,rootClassName:s},to(o.title,l))})}return"children"in v&&(v=Object.assign(Object.assign({},v),{children:e(t,n,v.children,l,a,i,c,f,s)})),v})})(t,n,e,f,i,h,a,void 0,c),f,p]},tK=(e,t,n)=>{let o=r.useRef({});return[function(r){var l;if(!o.current||o.current.data!==e||o.current.childrenColumnName!==t||o.current.getRowKey!==n){let r=new Map;!function e(o){o.forEach((o,l)=>{let a=n(o,l);r.set(a,o),o&&"object"==typeof o&&t in o&&e(o[t]||[])})}(e),o.current={data:e,childrenColumnName:t,kvMap:r,getRowKey:n}}return null===(l=o.current.kvMap)||void 0===l?void 0:l.get(r)}]},tO=n(757),tI=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},tR=function(e,t,n){let o=n&&"object"==typeof n?n:{},{total:l=0}=o,a=tI(o,["total"]),[i,c]=(0,r.useState)(()=>({current:"defaultCurrent"in a?a.defaultCurrent:1,pageSize:"defaultPageSize"in a?a.defaultPageSize:10})),d=(0,tO.Z)(i,a,{total:l>0?l:e}),s=Math.ceil((l||e)/d.pageSize);d.current>s&&(d.current=s||1);let u=(e,t)=>{c({current:null!=e?e:1,pageSize:t||d.pageSize})};return!1===n?[{},()=>{}]:[Object.assign(Object.assign({},d),{onChange:(e,r)=>{var o;n&&(null===(o=n.onChange)||void 0===o||o.call(n,e,r)),u(e,r),t(e,r||(null==d?void 0:d.pageSize))}}),u]},tP={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},tD=r.forwardRef(function(e,t){return r.createElement(ti.Z,(0,p.Z)({},e,{ref:t,icon:tP}))}),tT={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},tM=r.forwardRef(function(e,t){return r.createElement(ti.Z,(0,p.Z)({},e,{ref:t,icon:tT}))}),tL=n(60205);let tj="ascend",tH="descend",tB=e=>"object"==typeof e.sorter&&"number"==typeof e.sorter.multiple&&e.sorter.multiple,tz=e=>"function"==typeof e?e:!!e&&"object"==typeof e&&!!e.compare&&e.compare,tA=(e,t)=>t?e[e.indexOf(t)+1]:e[0],t_=(e,t,n)=>{let r=[],o=(e,t)=>{r.push({column:e,key:tn(e,t),multiplePriority:tB(e),sortOrder:e.sortOrder})};return(e||[]).forEach((e,l)=>{let a=tr(l,n);e.children?("sortOrder"in e&&o(e,a),r=[].concat((0,er.Z)(r),(0,er.Z)(t_(e.children,t,a)))):e.sorter&&("sortOrder"in e?o(e,a):t&&e.defaultSortOrder&&r.push({column:e,key:tn(e,a),multiplePriority:tB(e),sortOrder:e.defaultSortOrder}))}),r},tF=(e,t,n,o,l,a,i,c)=>{let d=(t||[]).map((t,d)=>{let s=tr(d,c),u=t;if(u.sorter){let c;let d=u.sortDirections||l,f=void 0===u.showSorterTooltip?i:u.showSorterTooltip,p=tn(u,s),h=n.find(e=>{let{key:t}=e;return t===p}),m=h?h.sortOrder:null,g=tA(d,m);if(t.sortIcon)c=t.sortIcon({sortOrder:m});else{let t=d.includes(tj)&&r.createElement(tM,{className:Z()(`${e}-column-sorter-up`,{active:m===tj})}),n=d.includes(tH)&&r.createElement(tD,{className:Z()(`${e}-column-sorter-down`,{active:m===tH})});c=r.createElement("span",{className:Z()(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(t&&n)})},r.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},t,n))}let{cancelSort:v,triggerAsc:b,triggerDesc:y}=a||{},x=v;g===tH?x=y:g===tj&&(x=b);let w="object"==typeof f?Object.assign({title:x},f):{title:x};u=Object.assign(Object.assign({},u),{className:Z()(u.className,{[`${e}-column-sort`]:m}),title:n=>{let o=`${e}-column-sorters`,l=r.createElement("span",{className:`${e}-column-title`},to(t.title,n)),a=r.createElement("div",{className:o},l,c);return f?"boolean"!=typeof f&&(null==f?void 0:f.target)==="sorter-icon"?r.createElement("div",{className:`${o} ${e}-column-sorters-tooltip-target-sorter`},l,r.createElement(tL.Z,Object.assign({},w),c)):r.createElement(tL.Z,Object.assign({},w),a):a},onHeaderCell:n=>{var r;let l=(null===(r=t.onHeaderCell)||void 0===r?void 0:r.call(t,n))||{},a=l.onClick,i=l.onKeyDown;l.onClick=e=>{o({column:t,key:p,sortOrder:g,multiplePriority:tB(t)}),null==a||a(e)},l.onKeyDown=e=>{e.keyCode===tb.Z.ENTER&&(o({column:t,key:p,sortOrder:g,multiplePriority:tB(t)}),null==i||i(e))};let c=tl(t.title,{}),d=null==c?void 0:c.toString();return m?l["aria-sort"]="ascend"===m?"ascending":"descending":l["aria-label"]=d||"",l.className=Z()(l.className,`${e}-column-has-sorters`),l.tabIndex=0,t.ellipsis&&(l.title=(null!=c?c:"").toString()),l}})}return"children"in u&&(u=Object.assign(Object.assign({},u),{children:tF(e,u.children,n,o,l,a,i,s)})),u});return d},tW=e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},tq=e=>{let t=e.filter(e=>{let{sortOrder:t}=e;return t}).map(tW);if(0===t.length&&e.length){let t=e.length-1;return Object.assign(Object.assign({},tW(e[t])),{column:void 0})}return t.length<=1?t[0]||{}:t},tV=(e,t,n)=>{let r=t.slice().sort((e,t)=>t.multiplePriority-e.multiplePriority),o=e.slice(),l=r.filter(e=>{let{column:{sorter:t},sortOrder:n}=e;return tz(t)&&n});return l.length?o.sort((e,t)=>{for(let n=0;n{let r=e[n];return r?Object.assign(Object.assign({},e),{[n]:tV(r,t,n)}):e}):o};var tX=e=>{let{prefixCls:t,mergedColumns:n,sortDirections:o,tableLocale:l,showSorterTooltip:a,onSorterChange:i}=e,[c,d]=r.useState(t_(n,!0)),s=(e,t)=>{let n=[];return e.forEach((e,r)=>{let o=tr(r,t);if(n.push(tn(e,o)),Array.isArray(e.children)){let t=s(e.children,o);n.push.apply(n,(0,er.Z)(t))}}),n},u=r.useMemo(()=>{let e=!0,t=t_(n,!1);if(!t.length){let e=s(n);return c.filter(t=>{let{key:n}=t;return e.includes(n)})}let r=[];function o(t){e?r.push(t):r.push(Object.assign(Object.assign({},t),{sortOrder:null}))}let l=null;return t.forEach(t=>{null===l?(o(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:l=!0)):(l&&!1!==t.multiplePriority||(e=!1),o(t))}),r},[n,c]),f=r.useMemo(()=>{var e,t;let n=u.map(e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n}});return{sortColumns:n,sortColumn:null===(e=n[0])||void 0===e?void 0:e.column,sortOrder:null===(t=n[0])||void 0===t?void 0:t.order}},[u]),p=e=>{let t;d(t=!1!==e.multiplePriority&&u.length&&!1!==u[0].multiplePriority?[].concat((0,er.Z)(u.filter(t=>{let{key:n}=t;return n!==e.key})),[e]):[e]),i(tq(t),t)};return[e=>tF(t,e,u,p,o,l,a),u,f,()=>tq(u)]};let tU=(e,t)=>{let n=e.map(e=>{let n=Object.assign({},e);return n.title=to(e.title,t),"children"in n&&(n.children=tU(n.children,t)),n});return n};var tG=e=>{let t=r.useCallback(t=>tU(t,e),[e]);return[t]};let tY=b(eN,(e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),tJ=b(ej,(e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r});var tQ=n(72178),t0=n(51084),t1=n(60848),t2=n(90102),t4=n(74934),t3=e=>{let{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:o,tableHeaderBg:l,tablePaddingVertical:a,tablePaddingHorizontal:i,calc:c}=e,d=`${(0,tQ.bf)(n)} ${r} ${o}`,s=(e,r,o)=>({[`&${t}-${e}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{[` - > table > tbody > tr > th, - > table > tbody > tr > td - `]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,tQ.bf)(c(r).mul(-1).equal())} - ${(0,tQ.bf)(c(c(o).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:d,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:d,borderTop:d,[` - > ${t}-content, - > ${t}-header, - > ${t}-body, - > ${t}-summary - `]:{"> table":{[` - > thead > tr > th, - > thead > tr > td, - > tbody > tr > th, - > tbody > tr > td, - > tfoot > tr > th, - > tfoot > tr > td - `]:{borderInlineEnd:d},"> thead":{"> tr:not(:last-child) > th":{borderBottom:d},"> tr > th::before":{backgroundColor:"transparent !important"}},[` - > thead > tr, - > tbody > tr, - > tfoot > tr - `]:{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:d}},[` - > tbody > tr > th, - > tbody > tr > td - `]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,tQ.bf)(c(a).mul(-1).equal())} ${(0,tQ.bf)(c(c(i).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:d,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` - > tr${t}-expanded-row, - > tr${t}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}}},s("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),s("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:d,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,tQ.bf)(n)} 0 ${(0,tQ.bf)(n)} ${l}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:d}}}},t8=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},t1.vS),{wordBreak:"keep-all",[` - &${t}-cell-fix-left-last, - &${t}-cell-fix-right-first - `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},t6=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,[` - &:hover > th, - &:hover > td, - `]:{background:e.colorBgContainer}}}}},t7=n(27494),t5=e=>{let{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:o,paddingXS:l,lineType:a,tableBorderColor:i,tableExpandIconBg:c,tableExpandColumnWidth:d,borderRadius:s,tablePaddingVertical:u,tablePaddingHorizontal:f,tableExpandedRowBg:p,paddingXXS:h,expandIconMarginTop:m,expandIconSize:g,expandIconHalfInner:v,expandIconScale:b,calc:y}=e,x=`${(0,tQ.bf)(o)} ${a} ${i}`,w=y(h).sub(o).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:d},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},(0,t7.N)(e)),{position:"relative",float:"left",boxSizing:"border-box",width:g,height:g,padding:0,color:"inherit",lineHeight:(0,tQ.bf)(g),background:c,border:x,borderRadius:s,transform:`scale(${b})`,transition:`all ${r}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:v,insetInlineEnd:w,insetInlineStart:w,height:o},"&::after":{top:w,bottom:w,insetInlineStart:v,width:o,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:m,marginInlineEnd:l},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:p}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${(0,tQ.bf)(y(u).mul(-1).equal())} ${(0,tQ.bf)(y(f).mul(-1).equal())}`,padding:`${(0,tQ.bf)(u)} ${(0,tQ.bf)(f)}`}}}},t9=e=>{let{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:o,tableFilterDropdownSearchWidth:l,paddingXXS:a,paddingXS:i,colorText:c,lineWidth:d,lineType:s,tableBorderColor:u,headerIconColor:f,fontSizeSM:p,tablePaddingHorizontal:h,borderRadius:m,motionDurationSlow:g,colorTextDescription:v,colorPrimary:b,tableHeaderFilterActiveBg:y,colorTextDisabled:x,tableFilterDropdownBg:w,tableFilterDropdownHeight:k,controlItemBgHover:E,controlItemBgActive:C,boxShadowSecondary:S,filterDropdownMenuBg:Z,calc:$}=e,N=`${n}-dropdown`,K=`${t}-filter-dropdown`,O=`${n}-tree`,I=`${(0,tQ.bf)(d)} ${s} ${u}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:$(a).mul(-1).equal(),marginInline:`${(0,tQ.bf)(a)} ${(0,tQ.bf)($(h).div(2).mul(-1).equal())}`,padding:`0 ${(0,tQ.bf)(a)}`,color:f,fontSize:p,borderRadius:m,cursor:"pointer",transition:`all ${g}`,"&:hover":{color:v,background:y},"&.active":{color:b}}}},{[`${n}-dropdown`]:{[K]:Object.assign(Object.assign({},(0,t1.Wf)(e)),{minWidth:o,backgroundColor:w,borderRadius:m,boxShadow:S,overflow:"hidden",[`${N}-menu`]:{maxHeight:k,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Z,"&:empty::after":{display:"block",padding:`${(0,tQ.bf)(i)} 0`,color:x,fontSize:p,textAlign:"center",content:'"Not Found"'}},[`${K}-tree`]:{paddingBlock:`${(0,tQ.bf)(i)} 0`,paddingInline:i,[O]:{padding:0},[`${O}-treenode ${O}-node-content-wrapper:hover`]:{backgroundColor:E},[`${O}-treenode-checkbox-checked ${O}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:C}}},[`${K}-search`]:{padding:i,borderBottom:I,"&-input":{input:{minWidth:l},[r]:{color:x}}},[`${K}-checkall`]:{width:"100%",marginBottom:a,marginInlineStart:a},[`${K}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,tQ.bf)($(i).sub(d).equal())} ${(0,tQ.bf)(i)}`,overflow:"hidden",borderTop:I}})}},{[`${n}-dropdown ${K}, ${K}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:i,color:c},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},ne=e=>{let{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:o,zIndexTableFixed:l,tableBg:a,zIndexTableSticky:i,calc:c}=e;return{[`${t}-wrapper`]:{[` - ${t}-cell-fix-left, - ${t}-cell-fix-right - `]:{position:"sticky !important",zIndex:l,background:a},[` - ${t}-cell-fix-left-first::after, - ${t}-cell-fix-left-last::after - `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:c(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[` - ${t}-cell-fix-right-first::after, - ${t}-cell-fix-right-last::after - `]:{position:"absolute",top:0,bottom:c(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:c(i).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${r}`},[` - ${t}-cell-fix-left-first::after, - ${t}-cell-fix-left-last::after - `]:{boxShadow:`inset 10px 0 8px -8px ${r}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${r}`},[` - ${t}-cell-fix-right-first::after, - ${t}-cell-fix-right-last::after - `]:{boxShadow:`inset -10px 0 8px -8px ${r}`}},[`${t}-fixed-column-gapped`]:{[` - ${t}-cell-fix-left-first::after, - ${t}-cell-fix-left-last::after, - ${t}-cell-fix-right-first::after, - ${t}-cell-fix-right-last::after - `]:{boxShadow:"none"}}}}},nt=e=>{let{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${(0,tQ.bf)(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},nn=e=>{let{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${(0,tQ.bf)(n)} ${(0,tQ.bf)(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${(0,tQ.bf)(n)} ${(0,tQ.bf)(n)}`}}}}},nr=e=>{let{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},no=e=>{let{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:o,padding:l,paddingXS:a,headerIconColor:i,headerIconHoverColor:c,tableSelectionColumnWidth:d,tableSelectedRowBg:s,tableSelectedRowHoverBg:u,tableRowHoverBg:f,tablePaddingHorizontal:p,calc:h}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:d,[`&${t}-selection-col-with-dropdown`]:{width:h(d).add(o).add(h(l).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:h(d).add(h(a).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:h(d).add(o).add(h(l).div(4)).add(h(a).mul(2)).equal()}},[` - table tr th${t}-selection-column, - table tr td${t}-selection-column, - ${t}-selection-column - `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:h(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,tQ.bf)(h(p).div(4).equal()),[r]:{color:i,fontSize:o,verticalAlign:"baseline","&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:s,"&-row-hover":{background:u}}},[`> ${t}-cell-row-hover`]:{background:f}}}}}},nl=e=>{let{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,o=(e,o,l,a)=>({[`${t}${t}-${e}`]:{fontSize:a,[` - ${t}-title, - ${t}-footer, - ${t}-cell, - ${t}-thead > tr > th, - ${t}-tbody > tr > th, - ${t}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{padding:`${(0,tQ.bf)(o)} ${(0,tQ.bf)(l)}`},[`${t}-filter-trigger`]:{marginInlineEnd:(0,tQ.bf)(r(l).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${(0,tQ.bf)(r(o).mul(-1).equal())} ${(0,tQ.bf)(r(l).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:(0,tQ.bf)(r(o).mul(-1).equal()),marginInline:`${(0,tQ.bf)(r(n).sub(l).equal())} ${(0,tQ.bf)(r(l).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:(0,tQ.bf)(r(l).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},o("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),o("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},na=e=>{let{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:o,headerIconHoverColor:l}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` - &${t}-cell-fix-left:hover, - &${t}-cell-fix-right:hover - `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:n,color:o,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:l}}}},ni=e=>{let{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:o,tableScrollThumbSize:l,tableScrollBg:a,zIndexTableSticky:i,stickyScrollBarBorderRadius:c,lineWidth:d,lineType:s,tableBorderColor:u}=e,f=`${(0,tQ.bf)(d)} ${s} ${u}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:i,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,tQ.bf)(l)} !important`,zIndex:i,display:"flex",alignItems:"center",background:a,borderTop:f,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:l,backgroundColor:r,borderRadius:c,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:o}}}}}}},nc=e=>{let{componentCls:t,lineWidth:n,tableBorderColor:r,calc:o}=e,l=`${(0,tQ.bf)(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:l}}},[`div${t}-summary`]:{boxShadow:`0 ${(0,tQ.bf)(o(n).mul(-1).equal())} 0 ${r}`}}}},nd=e=>{let{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:o,tableBorderColor:l,calc:a}=e,i=`${(0,tQ.bf)(r)} ${o} ${l}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row:not(tr)`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:i,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,tQ.bf)(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:i,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:i,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:a(r).mul(-1).equal(),borderInlineStart:i}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:i,borderBottom:i}}}}}};let ns=e=>{let{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:o,tableExpandColumnWidth:l,lineWidth:a,lineType:i,tableBorderColor:c,tableFontSize:d,tableBg:s,tableRadius:u,tableHeaderTextColor:f,motionDurationMid:p,tableHeaderBg:h,tableHeaderCellSplitColor:m,tableFooterTextColor:g,tableFooterBg:v,calc:b}=e,y=`${(0,tQ.bf)(a)} ${i} ${c}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,t1.dF)()),{[t]:Object.assign(Object.assign({},(0,t1.Wf)(e)),{fontSize:d,background:s,borderRadius:`${(0,tQ.bf)(u)} ${(0,tQ.bf)(u)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,tQ.bf)(u)} ${(0,tQ.bf)(u)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` - ${t}-cell, - ${t}-thead > tr > th, - ${t}-tbody > tr > th, - ${t}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{position:"relative",padding:`${(0,tQ.bf)(r)} ${(0,tQ.bf)(o)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${(0,tQ.bf)(r)} ${(0,tQ.bf)(o)}`},[`${t}-thead`]:{[` - > tr > th, - > tr > td - `]:{position:"relative",color:f,fontWeight:n,textAlign:"start",background:h,borderBottom:y,transition:`background ${p} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:m,transform:"translateY(-50%)",transition:`background-color ${p}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${p}, border-color ${p}`,borderBottom:y,[` - > ${t}-wrapper:only-child, - > ${t}-expanded-row-fixed > ${t}-wrapper:only-child - `]:{[t]:{marginBlock:(0,tQ.bf)(b(r).mul(-1).equal()),marginInline:`${(0,tQ.bf)(b(l).sub(o).equal())} - ${(0,tQ.bf)(b(o).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:h,borderBottom:y,transition:`background ${p} ease`}}},[`${t}-footer`]:{padding:`${(0,tQ.bf)(r)} ${(0,tQ.bf)(o)}`,color:g,background:v}})}};var nu=(0,t2.I$)("Table",e=>{let{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:o,headerBg:l,headerColor:a,headerSortActiveBg:i,headerSortHoverBg:c,bodySortBg:d,rowHoverBg:s,rowSelectedBg:u,rowSelectedHoverBg:f,rowExpandedBg:p,cellPaddingBlock:h,cellPaddingInline:m,cellPaddingBlockMD:g,cellPaddingInlineMD:v,cellPaddingBlockSM:b,cellPaddingInlineSM:y,borderColor:x,footerBg:w,footerColor:k,headerBorderRadius:E,cellFontSize:C,cellFontSizeMD:S,cellFontSizeSM:Z,headerSplitColor:$,fixedHeaderSortActiveBg:N,headerFilterHoverBg:K,filterDropdownBg:O,expandIconBg:I,selectionColumnWidth:R,stickyScrollBarBg:P,calc:D}=e,T=(0,t4.IX)(e,{tableFontSize:C,tableBg:r,tableRadius:E,tablePaddingVertical:h,tablePaddingHorizontal:m,tablePaddingVerticalMiddle:g,tablePaddingHorizontalMiddle:v,tablePaddingVerticalSmall:b,tablePaddingHorizontalSmall:y,tableBorderColor:x,tableHeaderTextColor:a,tableHeaderBg:l,tableFooterTextColor:k,tableFooterBg:w,tableHeaderCellSplitColor:$,tableHeaderSortBg:i,tableHeaderSortHoverBg:c,tableBodySortBg:d,tableFixedHeaderSortActiveBg:N,tableHeaderFilterActiveBg:K,tableFilterDropdownBg:O,tableRowHoverBg:s,tableSelectedRowBg:u,tableSelectedRowHoverBg:f,zIndexTableFixed:2,zIndexTableSticky:D(2).add(1).equal({unit:!1}),tableFontSizeMiddle:S,tableFontSizeSmall:Z,tableSelectionColumnWidth:R,tableExpandIconBg:I,tableExpandColumnWidth:D(o).add(D(e.padding).mul(2)).equal(),tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:P,tableScrollThumbBgHover:t,tableScrollBg:n});return[ns(T),nt(T),nc(T),na(T),t9(T),t3(T),nn(T),t5(T),nc(T),t6(T),no(T),ne(T),ni(T),t8(T),nl(T),nr(T),nd(T)]},e=>{let{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:o,colorFillContent:l,controlItemBgActive:a,controlItemBgActiveHover:i,padding:c,paddingSM:d,paddingXS:s,colorBorderSecondary:u,borderRadiusLG:f,controlHeight:p,colorTextPlaceholder:h,fontSize:m,fontSizeSM:g,lineHeight:v,lineWidth:b,colorIcon:y,colorIconHover:x,opacityLoading:w,controlInteractiveSize:k}=e,E=new t0.C(o).onBackground(n).toHexShortString(),C=new t0.C(l).onBackground(n).toHexShortString(),S=new t0.C(t).onBackground(n).toHexShortString(),Z=new t0.C(y),$=new t0.C(x),N=k/2-b,K=2*N+3*b;return{headerBg:S,headerColor:r,headerSortActiveBg:E,headerSortHoverBg:C,bodySortBg:S,rowHoverBg:S,rowSelectedBg:a,rowSelectedHoverBg:i,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:d,cellPaddingInlineMD:s,cellPaddingBlockSM:s,cellPaddingInlineSM:s,borderColor:u,headerBorderRadius:f,footerBg:S,footerColor:r,cellFontSize:m,cellFontSizeMD:m,cellFontSizeSM:m,headerSplitColor:u,fixedHeaderSortActiveBg:E,headerFilterHoverBg:l,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:p,stickyScrollBarBg:h,stickyScrollBarBorderRadius:100,expandIconMarginTop:(m*v-3*b)/2-Math.ceil((1.4*g-3*b)/2),headerIconColor:Z.clone().setAlpha(Z.getAlpha()*w).toRgbString(),headerIconHoverColor:$.clone().setAlpha($.getAlpha()*w).toRgbString(),expandIconHalfInner:N,expandIconSize:K,expandIconScale:k/K}},{unitless:{expandIconScale:!0}});let nf=[];var np=r.forwardRef((e,t)=>{var n,o,a;let i,c,d;let{prefixCls:s,className:u,rootClassName:f,style:p,size:h,bordered:m,dropdownPrefixCls:g,dataSource:v,pagination:b,rowSelection:y,rowKey:x="key",rowClassName:w,columns:k,children:E,childrenColumnName:C,onChange:S,getPopupContainer:$,loading:N,expandIcon:K,expandable:O,expandedRowRender:I,expandIconColumnIndex:R,indentSize:P,scroll:D,sortDirections:T,locale:M,showSorterTooltip:L={target:"full-header"},virtual:j}=e;(0,eF.ln)("Table");let H=r.useMemo(()=>k||ep(E),[k,E]),B=r.useMemo(()=>H.some(e=>e.responsive),[H]),z=(0,e7.Z)(B),A=r.useMemo(()=>{let e=new Set(Object.keys(z).filter(e=>z[e]));return H.filter(t=>!t.responsive||t.responsive.some(t=>e.has(t)))},[H,z]),_=(0,e1.Z)(e,["className","style","columns"]),{locale:F=e5.Z,direction:W,table:q,renderEmpty:V,getPrefixCls:X,getPopupContainer:U}=r.useContext(e4.E_),G=(0,e6.Z)(h),Y=Object.assign(Object.assign({},F.Table),M),J=v||nf,Q=X("table",s),ee=X("dropdown",g),[,et]=(0,tt.ZP)(),en=(0,e8.Z)(Q),[er,eo,el]=nu(Q,en),ea=Object.assign(Object.assign({childrenColumnName:C,expandIconColumnIndex:R},O),{expandIcon:null!==(n=null==O?void 0:O.expandIcon)&&void 0!==n?n:null===(o=null==q?void 0:q.expandable)||void 0===o?void 0:o.expandIcon}),{childrenColumnName:ei="children"}=ea,ec=r.useMemo(()=>J.some(e=>null==e?void 0:e[ei])?"nest":I||(null==O?void 0:O.expandedRowRender)?"row":null,[J]),ed={body:r.useRef()},es=r.useRef(null),eu=r.useRef(null);a=()=>Object.assign(Object.assign({},eu.current),{nativeElement:es.current}),(0,r.useImperativeHandle)(t,()=>{let e=a(),{nativeElement:t}=e;return"undefined"!=typeof Proxy?new Proxy(t,{get:(t,n)=>e[n]?e[n]:Reflect.get(t,n)}):(t._antProxy=t._antProxy||{},Object.keys(e).forEach(n=>{if(!(n in t._antProxy)){let r=t[n];t._antProxy[n]=r,t[n]=e[n]}}),t)});let ef=r.useMemo(()=>"function"==typeof x?x:e=>null==e?void 0:e[x],[x]),[eh]=tK(J,ei,ef),em={},eg=function(e,t){var n,r,o,l;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=Object.assign(Object.assign({},em),e);a&&(null===(n=em.resetPagination)||void 0===n||n.call(em),(null===(r=i.pagination)||void 0===r?void 0:r.current)&&(i.pagination.current=1),b&&(null===(o=b.onChange)||void 0===o||o.call(b,1,null===(l=i.pagination)||void 0===l?void 0:l.pageSize))),D&&!1!==D.scrollToFirstRowOnChange&&ed.body.current&&(0,e2.Z)(0,{getContainer:()=>ed.body.current}),null==S||S(i.pagination,i.filters,i.sorter,{currentDataSource:tZ(tV(J,i.sorterStates,ei),i.filterStates,ei),action:t})},[ev,eb,ey,ex]=tX({prefixCls:Q,mergedColumns:A,onSorterChange:(e,t)=>{eg({sorter:e,sorterStates:t},"sort",!1)},sortDirections:T||["ascend","descend"],tableLocale:Y,showSorterTooltip:L}),ew=r.useMemo(()=>tV(J,eb,ei),[J,eb]);em.sorter=ex(),em.sorterStates=eb;let[ek,eE,eC]=tN({prefixCls:Q,locale:Y,dropdownPrefixCls:ee,mergedColumns:A,onFilterChange:(e,t)=>{eg({filters:e,filterStates:t},"filter",!0)},getPopupContainer:$||U,rootClassName:Z()(f,en)}),eS=tZ(ew,eE,ei);em.filters=eC,em.filterStates=eE;let eZ=r.useMemo(()=>{let e={};return Object.keys(eC).forEach(t=>{null!==eC[t]&&(e[t]=eC[t])}),Object.assign(Object.assign({},ey),{filters:e})},[ey,eC]),[e$]=tG(eZ),[eN,eK]=tR(eS.length,(e,t)=>{eg({pagination:Object.assign(Object.assign({},em.pagination),{current:e,pageSize:t})},"paginate")},b);em.pagination=!1===b?{}:function(e,t){let n={current:e.current,pageSize:e.pageSize},r=t&&"object"==typeof t?t:{};return Object.keys(r).forEach(t=>{let r=e[t];"function"!=typeof r&&(n[t]=r)}),n}(eN,b),em.resetPagination=eK;let eO=r.useMemo(()=>{if(!1===b||!eN.pageSize)return eS;let{current:e=1,total:t,pageSize:n=10}=eN;return eS.lengthn?eS.slice((e-1)*n,e*n):eS:eS.slice((e-1)*n,e*n)},[!!b,eS,null==eN?void 0:eN.current,null==eN?void 0:eN.pageSize,null==eN?void 0:eN.total]),[eI,eR]=e0({prefixCls:Q,data:eS,pageData:eO,getRowKey:ef,getRecordByKey:eh,expandType:ec,childrenColumnName:ei,locale:Y,getPopupContainer:$||U},y);ea.__PARENT_RENDER_ICON__=ea.expandIcon,ea.expandIcon=ea.expandIcon||K||(e=>{let{prefixCls:t,onExpand:n,record:o,expanded:l,expandable:a}=e,i=`${t}-row-expand-icon`;return r.createElement("button",{type:"button",onClick:e=>{n(o,e),e.stopPropagation()},className:Z()(i,{[`${i}-spaced`]:!a,[`${i}-expanded`]:a&&l,[`${i}-collapsed`]:a&&!l}),"aria-label":l?Y.collapse:Y.expand,"aria-expanded":l})}),"nest"===ec&&void 0===ea.expandIconColumnIndex?ea.expandIconColumnIndex=y?1:0:ea.expandIconColumnIndex>0&&y&&(ea.expandIconColumnIndex-=1),"number"!=typeof ea.indentSize&&(ea.indentSize="number"==typeof P?P:15);let eP=r.useCallback(e=>e$(eI(ek(ev(e)))),[ev,ek,eI]);if(!1!==b&&(null==eN?void 0:eN.total)){let e;e=eN.size?eN.size:"small"===G||"middle"===G?"small":void 0;let t=t=>r.createElement(e9.Z,Object.assign({},eN,{className:Z()(`${Q}-pagination ${Q}-pagination-${t}`,eN.className),size:e})),n="rtl"===W?"left":"right",{position:o}=eN;if(null!==o&&Array.isArray(o)){let e=o.find(e=>e.includes("top")),r=o.find(e=>e.includes("bottom")),l=o.every(e=>"none"==`${e}`);e||r||l||(c=t(n)),e&&(i=t(e.toLowerCase().replace("top",""))),r&&(c=t(r.toLowerCase().replace("bottom","")))}else c=t(n)}"boolean"==typeof N?d={spinning:N}:"object"==typeof N&&(d=Object.assign({spinning:!0},N));let eD=Z()(el,en,`${Q}-wrapper`,null==q?void 0:q.className,{[`${Q}-wrapper-rtl`]:"rtl"===W},u,f,eo),eT=Object.assign(Object.assign({},null==q?void 0:q.style),p),eM=void 0!==(null==M?void 0:M.emptyText)?M.emptyText:(null==V?void 0:V("Table"))||r.createElement(e3.Z,{componentName:"Table"}),eL={},ej=r.useMemo(()=>{let{fontSize:e,lineHeight:t,padding:n,paddingXS:r,paddingSM:o}=et,l=Math.floor(e*t);switch(G){case"large":return 2*n+l;case"small":return 2*r+l;default:return 2*o+l}},[et,G]);return j&&(eL.listItemHeight=ej),er(r.createElement("div",{ref:es,className:eD,style:eT},r.createElement(te.Z,Object.assign({spinning:!1},d),i,r.createElement(j?tJ:tY,Object.assign({},eL,_,{ref:eu,columns:A,direction:W,expandable:ea,prefixCls:Q,className:Z()({[`${Q}-middle`]:"middle"===G,[`${Q}-small`]:"small"===G,[`${Q}-bordered`]:m,[`${Q}-empty`]:0===J.length},el,en,eo),data:eO,rowKey:ef,rowClassName:(e,t,n)=>{let r;return r="function"==typeof w?Z()(w(e,t,n)):Z()(w),Z()({[`${Q}-row-selected`]:eR.has(ef(e,t))},r)},emptyText:eM,internalHooks:l,internalRefs:ed,transformColumns:eP,getContainerWidth:(e,t)=>{let n=e.querySelector(`.${Q}-container`),r=t;if(n){let e=getComputedStyle(n),o=parseInt(e.borderLeftWidth,10),l=parseInt(e.borderRightWidth,10);r=t-o-l}return r}})),c)))});let nh=r.forwardRef((e,t)=>{let n=r.useRef(0);return n.current+=1,r.createElement(np,Object.assign({},e,{ref:t,_renderTimes:n.current}))});nh.SELECTION_COLUMN=eX,nh.EXPAND_COLUMN=o,nh.SELECTION_ALL=eU,nh.SELECTION_INVERT=eG,nh.SELECTION_NONE=eY,nh.Column=e=>null,nh.ColumnGroup=e=>null,nh.Summary=j;var nm=nh},30281:function(e,t,n){n.d(t,{Z:function(){return eP}});var r=n(42096),o=n(14433),l=n(4247),a=n(72991),i=n(97290),c=n(80972),d=n(6228),s=n(63119),u=n(43930),f=n(65148),p=n(26869),h=n.n(p),m=n(16956),g=n(66168),v=n(89842),b=n(38497),y=n(78079),x=n(8874),w=n(65347),k=n(10921),E=n(46644),C=n(13614),S=n(53979),Z=n(69463),$=n(54328),N=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],K=function(e,t){var n,o,l,a,i,c=e.className,d=e.style,s=e.motion,u=e.motionNodes,f=e.motionType,p=e.onMotionStart,m=e.onMotionEnd,g=e.active,v=e.treeNodeRequiredProps,C=(0,k.Z)(e,N),K=b.useState(!0),O=(0,w.Z)(K,2),I=O[0],R=O[1],P=b.useContext(y.k).prefixCls,D=u&&"hide"!==f;(0,E.Z)(function(){u&&D!==I&&R(D)},[u]);var T=b.useRef(!1),M=function(){u&&!T.current&&(T.current=!0,m())};return(n=function(){u&&p()},o=b.useState(!1),a=(l=(0,w.Z)(o,2))[0],i=l[1],(0,E.Z)(function(){if(a)return n(),function(){M()}},[a]),(0,E.Z)(function(){return i(!0),function(){i(!1)}},[]),u)?b.createElement(S.ZP,(0,r.Z)({ref:t,visible:I},s,{motionAppear:"show"===f,onVisibleChanged:function(e){D===e&&M()}}),function(e,t){var n=e.className,o=e.style;return b.createElement("div",{ref:t,className:h()("".concat(P,"-treenode-motion"),n),style:o},u.map(function(e){var t=Object.assign({},((0,x.Z)(e.data),e.data)),n=e.title,o=e.key,l=e.isStart,a=e.isEnd;delete t.children;var i=(0,$.H8)(o,v);return b.createElement(Z.Z,(0,r.Z)({},t,i,{title:n,active:g,data:e.data,key:o,isStart:l,isEnd:a}))}))}):b.createElement(Z.Z,(0,r.Z)({domRef:t,className:c,style:d},C,{active:g}))};K.displayName="MotionTreeNode";var O=b.forwardRef(K);function I(e,t,n){var r=e.findIndex(function(e){return e.key===n}),o=e[r+1],l=t.findIndex(function(e){return e.key===n});if(o){var a=t.findIndex(function(e){return e.key===o.key});return t.slice(l+1,a)}return t.slice(l+1)}var R=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],P={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},D=function(){},T="RC_TREE_MOTION_".concat(Math.random()),M={key:T},L={key:T,level:0,index:0,pos:"0",node:M,nodes:[M]},j={parent:null,children:[],pos:L.pos,data:M,title:null,key:T,isStart:[],isEnd:[]};function H(e,t,n,r){return!1!==t&&n?e.slice(0,Math.ceil(n/r)+1):e}function B(e){var t=e.key,n=e.pos;return(0,$.km)(t,n)}var z=b.forwardRef(function(e,t){var n=e.prefixCls,o=e.data,l=(e.selectable,e.checkable,e.expandedKeys),a=e.selectedKeys,i=e.checkedKeys,c=e.loadedKeys,d=e.loadingKeys,s=e.halfCheckedKeys,u=e.keyEntities,f=e.disabled,p=e.dragging,h=e.dragOverNodeKey,m=e.dropPosition,g=e.motion,v=e.height,y=e.itemHeight,S=e.virtual,Z=e.focusable,N=e.activeItem,K=e.focused,M=e.tabIndex,L=e.onKeyDown,z=e.onFocus,A=e.onBlur,_=e.onActiveChange,F=e.onListChangeStart,W=e.onListChangeEnd,q=(0,k.Z)(e,R),V=b.useRef(null),X=b.useRef(null);b.useImperativeHandle(t,function(){return{scrollTo:function(e){V.current.scrollTo(e)},getIndentWidth:function(){return X.current.offsetWidth}}});var U=b.useState(l),G=(0,w.Z)(U,2),Y=G[0],J=G[1],Q=b.useState(o),ee=(0,w.Z)(Q,2),et=ee[0],en=ee[1],er=b.useState(o),eo=(0,w.Z)(er,2),el=eo[0],ea=eo[1],ei=b.useState([]),ec=(0,w.Z)(ei,2),ed=ec[0],es=ec[1],eu=b.useState(null),ef=(0,w.Z)(eu,2),ep=ef[0],eh=ef[1],em=b.useRef(o);function eg(){var e=em.current;en(e),ea(e),es([]),eh(null),W()}em.current=o,(0,E.Z)(function(){J(l);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,r=t.length;if(1!==Math.abs(n-r))return{add:!1,key:null};function o(e,t){var n=new Map;e.forEach(function(e){n.set(e,!0)});var r=t.filter(function(e){return!n.has(e)});return 1===r.length?r[0]:null}return n ").concat(t);return t}(N)),b.createElement("div",null,b.createElement("input",{style:P,disabled:!1===Z||f,tabIndex:!1!==Z?M:null,onKeyDown:L,onFocus:z,onBlur:A,value:"",onChange:D,"aria-label":"for screen reader"})),b.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},b.createElement("div",{className:"".concat(n,"-indent")},b.createElement("div",{ref:X,className:"".concat(n,"-indent-unit")}))),b.createElement(C.Z,(0,r.Z)({},q,{data:ev,itemKey:B,height:v,fullHeight:!1,virtual:S,itemHeight:y,prefixCls:"".concat(n,"-list"),ref:V,onVisibleChange:function(e,t){var n=new Set(e);t.filter(function(e){return!n.has(e)}).some(function(e){return B(e)===T})&&eg()}}),function(e){var t=e.pos,n=Object.assign({},((0,x.Z)(e.data),e.data)),o=e.title,l=e.key,a=e.isStart,i=e.isEnd,c=(0,$.km)(l,t);delete n.key,delete n.children;var d=(0,$.H8)(c,eb);return b.createElement(O,(0,r.Z)({},n,d,{title:o,active:!!N&&l===N.key,pos:t,data:e.data,isStart:a,isEnd:i,motion:g,motionNodes:l===T?ed:null,motionType:ep,onMotionStart:F,onMotionEnd:eg,treeNodeRequiredProps:eb,onMouseMove:function(){_(null)}}))}))});z.displayName="NodeList";var A=n(74443),_=n(47940),F=n(4289),W=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var r=arguments.length,o=Array(r),c=0;c2&&void 0!==arguments[2]&&arguments[2],a=e.state,i=a.dragChildrenKeys,c=a.dropPosition,d=a.dropTargetKey,s=a.dropTargetPos;if(a.dropAllowed){var u=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==d){var f=(0,l.Z)((0,l.Z)({},(0,$.H8)(d,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===d,data:(0,F.Z)(e.state.keyEntities,d).node}),p=-1!==i.indexOf(d);(0,v.ZP)(!p,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var h=(0,A.yx)(s),m={event:t,node:(0,$.F)(f),dragNode:e.dragNode?(0,$.F)(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(i),dropToGap:0!==c,dropPosition:c+Number(h[h.length-1])};o||null==u||u(m),e.dragNode=null}}}),(0,f.Z)((0,d.Z)(e),"cleanDragState",function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null}),(0,f.Z)((0,d.Z)(e),"triggerExpandActionExpand",function(t,n){var r=e.state,o=r.expandedKeys,a=r.flattenNodes,i=n.expanded,c=n.key;if(!n.isLeaf&&!t.shiftKey&&!t.metaKey&&!t.ctrlKey){var d=a.filter(function(e){return e.key===c})[0],s=(0,$.F)((0,l.Z)((0,l.Z)({},(0,$.H8)(c,e.getTreeNodeRequiredProps())),{},{data:d.data}));e.setExpandedKeys(i?(0,A._5)(o,c):(0,A.L0)(o,c)),e.onNodeExpand(t,s)}}),(0,f.Z)((0,d.Z)(e),"onNodeClick",function(t,n){var r=e.props,o=r.onClick;"click"===r.expandAction&&e.triggerExpandActionExpand(t,n),null==o||o(t,n)}),(0,f.Z)((0,d.Z)(e),"onNodeDoubleClick",function(t,n){var r=e.props,o=r.onDoubleClick;"doubleClick"===r.expandAction&&e.triggerExpandActionExpand(t,n),null==o||o(t,n)}),(0,f.Z)((0,d.Z)(e),"onNodeSelect",function(t,n){var r=e.state.selectedKeys,o=e.state,l=o.keyEntities,a=o.fieldNames,i=e.props,c=i.onSelect,d=i.multiple,s=n.selected,u=n[a.key],f=!s,p=(r=f?d?(0,A.L0)(r,u):[u]:(0,A._5)(r,u)).map(function(e){var t=(0,F.Z)(l,e);return t?t.node:null}).filter(function(e){return e});e.setUncontrolledState({selectedKeys:r}),null==c||c(r,{event:"select",selected:f,node:n,selectedNodes:p,nativeEvent:t.nativeEvent})}),(0,f.Z)((0,d.Z)(e),"onNodeCheck",function(t,n,r){var o,l=e.state,i=l.keyEntities,c=l.checkedKeys,d=l.halfCheckedKeys,s=e.props,u=s.checkStrictly,f=s.onCheck,p=n.key,h={event:"check",node:n,checked:r,nativeEvent:t.nativeEvent};if(u){var m=r?(0,A.L0)(c,p):(0,A._5)(c,p);o={checked:m,halfChecked:(0,A._5)(d,p)},h.checkedNodes=m.map(function(e){return(0,F.Z)(i,e)}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:m})}else{var g=(0,_.S)([].concat((0,a.Z)(c),[p]),!0,i),v=g.checkedKeys,b=g.halfCheckedKeys;if(!r){var y=new Set(v);y.delete(p);var x=(0,_.S)(Array.from(y),{checked:!1,halfCheckedKeys:b},i);v=x.checkedKeys,b=x.halfCheckedKeys}o=v,h.checkedNodes=[],h.checkedNodesPositions=[],h.halfCheckedKeys=b,v.forEach(function(e){var t=(0,F.Z)(i,e);if(t){var n=t.node,r=t.pos;h.checkedNodes.push(n),h.checkedNodesPositions.push({node:n,pos:r})}}),e.setUncontrolledState({checkedKeys:v},!1,{halfCheckedKeys:b})}null==f||f(o,h)}),(0,f.Z)((0,d.Z)(e),"onNodeLoad",function(t){var n,r=t.key,o=e.state.keyEntities,l=(0,F.Z)(o,r);if(null==l||null===(n=l.children)||void 0===n||!n.length){var a=new Promise(function(n,o){e.setState(function(l){var a=l.loadedKeys,i=l.loadingKeys,c=void 0===i?[]:i,d=e.props,s=d.loadData,u=d.onLoad;return s&&-1===(void 0===a?[]:a).indexOf(r)&&-1===c.indexOf(r)?(s(t).then(function(){var o=e.state.loadedKeys,l=(0,A.L0)(o,r);null==u||u(l,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:l}),e.setState(function(e){return{loadingKeys:(0,A._5)(e.loadingKeys,r)}}),n()}).catch(function(t){if(e.setState(function(e){return{loadingKeys:(0,A._5)(e.loadingKeys,r)}}),e.loadingRetryTimes[r]=(e.loadingRetryTimes[r]||0)+1,e.loadingRetryTimes[r]>=10){var l=e.state.loadedKeys;(0,v.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:(0,A.L0)(l,r)}),n()}o(t)}),{loadingKeys:(0,A.L0)(c,r)}):null})});return a.catch(function(){}),a}}),(0,f.Z)((0,d.Z)(e),"onNodeMouseEnter",function(t,n){var r=e.props.onMouseEnter;null==r||r({event:t,node:n})}),(0,f.Z)((0,d.Z)(e),"onNodeMouseLeave",function(t,n){var r=e.props.onMouseLeave;null==r||r({event:t,node:n})}),(0,f.Z)((0,d.Z)(e),"onNodeContextMenu",function(t,n){var r=e.props.onRightClick;r&&(t.preventDefault(),r({event:t,node:n}))}),(0,f.Z)((0,d.Z)(e),"onFocus",function(){var t=e.props.onFocus;e.setState({focused:!0});for(var n=arguments.length,r=Array(n),o=0;o1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var o=!1,a=!0,i={};Object.keys(t).forEach(function(n){if(n in e.props){a=!1;return}o=!0,i[n]=t[n]}),o&&(!n||a)&&e.setState((0,l.Z)((0,l.Z)({},i),r))}}),(0,f.Z)((0,d.Z)(e),"scrollTo",function(t){e.listRef.current.scrollTo(t)}),e}return(0,c.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props,t=e.activeKey,n=e.itemScrollOffset;void 0!==t&&t!==this.state.activeKey&&(this.setState({activeKey:t}),null!==t&&this.scrollTo({key:t,offset:void 0===n?0:n}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,t=this.state,n=t.focused,l=t.flattenNodes,a=t.keyEntities,i=t.draggingNodeKey,c=t.activeKey,d=t.dropLevelOffset,s=t.dropContainerKey,u=t.dropTargetKey,p=t.dropPosition,m=t.dragOverNodeKey,v=t.indent,x=this.props,w=x.prefixCls,k=x.className,E=x.style,C=x.showLine,S=x.focusable,Z=x.tabIndex,$=x.selectable,N=x.showIcon,K=x.icon,O=x.switcherIcon,I=x.draggable,R=x.checkable,P=x.checkStrictly,D=x.disabled,T=x.motion,M=x.loadData,L=x.filterTreeNode,j=x.height,H=x.itemHeight,B=x.virtual,A=x.titleRender,_=x.dropIndicatorRender,F=x.onContextMenu,W=x.onScroll,q=x.direction,V=x.rootClassName,X=x.rootStyle,U=(0,g.Z)(this.props,{aria:!0,data:!0});return I&&(e="object"===(0,o.Z)(I)?I:"function"==typeof I?{nodeDraggable:I}:{}),b.createElement(y.k.Provider,{value:{prefixCls:w,selectable:$,showIcon:N,icon:K,switcherIcon:O,draggable:e,draggingNodeKey:i,checkable:R,checkStrictly:P,disabled:D,keyEntities:a,dropLevelOffset:d,dropContainerKey:s,dropTargetKey:u,dropPosition:p,dragOverNodeKey:m,indent:v,direction:q,dropIndicatorRender:_,loadData:M,filterTreeNode:L,titleRender:A,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},b.createElement("div",{role:"tree",className:h()(w,k,V,(0,f.Z)((0,f.Z)((0,f.Z)({},"".concat(w,"-show-line"),C),"".concat(w,"-focused"),n),"".concat(w,"-active-focused"),null!==c)),style:X},b.createElement(z,(0,r.Z)({ref:this.listRef,prefixCls:w,style:E,data:l,disabled:D,selectable:$,checkable:!!R,motion:T,dragging:null!==i,height:j,itemHeight:H,virtual:B,focusable:S,focused:n,tabIndex:void 0===Z?0:Z,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:F,onScroll:W},this.getTreeNodeRequiredProps(),U))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r,o=t.prevProps,a={prevProps:e};function i(t){return!o&&t in e||o&&o[t]!==e[t]}var c=t.fieldNames;if(i("fieldNames")&&(c=(0,$.w$)(e.fieldNames),a.fieldNames=c),i("treeData")?n=e.treeData:i("children")&&((0,v.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=(0,$.zn)(e.children)),n){a.treeData=n;var d=(0,$.I8)(n,{fieldNames:c});a.keyEntities=(0,l.Z)((0,f.Z)({},T,L),d.keyEntities)}var s=a.keyEntities||t.keyEntities;if(i("expandedKeys")||o&&i("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!o&&e.defaultExpandParent?(0,A.r7)(e.expandedKeys,s):e.expandedKeys;else if(!o&&e.defaultExpandAll){var u=(0,l.Z)({},s);delete u[T],a.expandedKeys=Object.keys(u).map(function(e){return u[e].key})}else!o&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?(0,A.r7)(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,n||a.expandedKeys){var p=(0,$.oH)(n||t.treeData,a.expandedKeys||t.expandedKeys,c);a.flattenNodes=p}if(e.selectable&&(i("selectedKeys")?a.selectedKeys=(0,A.BT)(e.selectedKeys,e):!o&&e.defaultSelectedKeys&&(a.selectedKeys=(0,A.BT)(e.defaultSelectedKeys,e))),e.checkable&&(i("checkedKeys")?r=(0,A.E6)(e.checkedKeys)||{}:!o&&e.defaultCheckedKeys?r=(0,A.E6)(e.defaultCheckedKeys)||{}:n&&(r=(0,A.E6)(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),r)){var h=r,m=h.checkedKeys,g=void 0===m?[]:m,b=h.halfCheckedKeys,y=void 0===b?[]:b;if(!e.checkStrictly){var x=(0,_.S)(g,!0,s);g=x.checkedKeys,y=x.halfCheckedKeys}a.checkedKeys=g,a.halfCheckedKeys=y}return i("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),n}(b.Component);(0,f.Z)(W,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case -1:o.top=0,o.left=-n*r;break;case 1:o.bottom=0,o.left=-n*r;break;case 0:o.bottom=0,o.left=r}return b.createElement("div",{style:o})},allowDrop:function(){return!0},expandAction:!1}),(0,f.Z)(W,"TreeNode",Z.Z);var q=n(62246),V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},X=n(75651),U=b.forwardRef(function(e,t){return b.createElement(X.Z,(0,r.Z)({},e,{ref:t,icon:V}))}),G=n(58964),Y=n(63346),J={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Q=b.forwardRef(function(e,t){return b.createElement(X.Z,(0,r.Z)({},e,{ref:t,icon:J}))}),ee=n(17383),et=n(73098),en=n(72178),er=n(54833),eo=n(60848),el=n(36647),ea=n(74934),ei=n(90102);let ec=new en.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ed=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),es=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,en.bf)(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),eu=(e,t)=>{let{treeCls:n,treeNodeCls:r,treeNodePadding:o,titleHeight:l,nodeSelectedBg:a,nodeHoverBg:i}=t,c=t.paddingXS;return{[n]:Object.assign(Object.assign({},(0,eo.Wf)(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},(0,eo.oN)(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:ec,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[r]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${(0,en.bf)(o)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:l,lineHeight:(0,en.bf)(l),textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:l}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},ed(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:l,margin:0,lineHeight:(0,en.bf)(l),textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:l,height:l,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(l).div(2).equal(),bottom:t.calc(o).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(l).div(2).equal()).mul(.8).equal(),height:t.calc(l).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:c,alignSelf:"flex-start",marginTop:t.marginXXS},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:l,margin:0,padding:`0 ${(0,en.bf)(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:(0,en.bf)(l),background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:i},[`&${n}-node-selected`]:{backgroundColor:a},[`${n}-iconEle`]:{display:"inline-block",width:l,height:l,lineHeight:(0,en.bf)(l),textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:(0,en.bf)(l),userSelect:"none"},es(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(l).div(2).equal(),bottom:t.calc(o).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${(0,en.bf)(t.calc(l).div(2).equal())} !important`}}}}})}},ef=e=>{let{treeCls:t,treeNodeCls:n,treeNodePadding:r,directoryNodeSelectedBg:o,directoryNodeSelectedColor:l}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:l,background:"transparent"}},"&-selected":{[` - &:hover::before, - &::before - `]:{background:o},[`${t}-switcher`]:{color:l},[`${t}-node-content-wrapper`]:{color:l,background:"transparent"}}}}}},ep=(e,t)=>{let n=`.${e}`,r=`${n}-treenode`,o=t.calc(t.paddingXS).div(2).equal(),l=(0,ea.IX)(t,{treeCls:n,treeNodeCls:r,treeNodePadding:o});return[eu(e,l),ef(l)]},eh=e=>{let{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}};var em=(0,ei.I$)("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:(0,er.C2)(`${n}-checkbox`,e)},ep(n,e),(0,el.Z)(e)]},e=>{let{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},eh(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})}),eg=function(e){let{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:o,direction:l="ltr"}=e,a="ltr"===l?"left":"right",i={[a]:-n*o+4,["ltr"===l?"right":"left"]:0};switch(t){case -1:i.top=-3;break;case 1:i.bottom=-3;break;default:i.bottom=-3,i[a]=o+4}return b.createElement("div",{style:i,className:`${r}-drop-indicator`})},ev={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},eb=b.forwardRef(function(e,t){return b.createElement(X.Z,(0,r.Z)({},e,{ref:t,icon:ev}))}),ey=n(37022),ex={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},ew=b.forwardRef(function(e,t){return b.createElement(X.Z,(0,r.Z)({},e,{ref:t,icon:ex}))}),ek={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},eE=b.forwardRef(function(e,t){return b.createElement(X.Z,(0,r.Z)({},e,{ref:t,icon:ek}))}),eC=n(55091),eS=e=>{let t;let{prefixCls:n,switcherIcon:r,treeNodeProps:o,showLine:l,switcherLoadingIcon:a}=e,{isLeaf:i,expanded:c,loading:d}=o;if(d)return b.isValidElement(a)?a:b.createElement(ey.Z,{className:`${n}-switcher-loading-icon`});if(l&&"object"==typeof l&&(t=l.showLeafIcon),i){if(!l)return null;if("boolean"!=typeof t&&t){let e="function"==typeof t?t(o):t,r=`${n}-switcher-line-custom-icon`;return b.isValidElement(e)?(0,eC.Tm)(e,{className:h()(e.props.className||"",r)}):e}return t?b.createElement(q.Z,{className:`${n}-switcher-line-icon`}):b.createElement("span",{className:`${n}-switcher-leaf-line`})}let s=`${n}-switcher-icon`,u="function"==typeof r?r(o):r;return b.isValidElement(u)?(0,eC.Tm)(u,{className:h()(u.props.className||"",s)}):void 0!==u?u:l?c?b.createElement(ew,{className:`${n}-switcher-line-icon`}):b.createElement(eE,{className:`${n}-switcher-line-icon`}):b.createElement(eb,{className:s})};let eZ=b.forwardRef((e,t)=>{var n;let{getPrefixCls:r,direction:o,virtual:l,tree:a}=b.useContext(Y.E_),{prefixCls:i,className:c,showIcon:d=!1,showLine:s,switcherIcon:u,switcherLoadingIcon:f,blockNode:p=!1,children:m,checkable:g=!1,selectable:v=!0,draggable:y,motion:x,style:w}=e,k=r("tree",i),E=r(),C=null!=x?x:Object.assign(Object.assign({},(0,ee.Z)(E)),{motionAppear:!1}),S=Object.assign(Object.assign({},e),{checkable:g,selectable:v,showIcon:d,motion:C,blockNode:p,showLine:!!s,dropIndicatorRender:eg}),[Z,$,N]=em(k),[,K]=(0,et.ZP)(),O=K.paddingXS/2+((null===(n=K.Tree)||void 0===n?void 0:n.titleHeight)||K.controlHeightSM),I=b.useMemo(()=>{if(!y)return!1;let e={};switch(typeof y){case"function":e.nodeDraggable=y;break;case"object":e=Object.assign({},y)}return!1!==e.icon&&(e.icon=e.icon||b.createElement(Q,null)),e},[y]);return Z(b.createElement(W,Object.assign({itemHeight:O,ref:t,virtual:l},S,{style:Object.assign(Object.assign({},null==a?void 0:a.style),w),prefixCls:k,className:h()({[`${k}-icon-hide`]:!d,[`${k}-block-node`]:p,[`${k}-unselectable`]:!v,[`${k}-rtl`]:"rtl"===o},null==a?void 0:a.className,c,$,N),direction:o,checkable:g?b.createElement("span",{className:`${k}-checkbox-inner`}):g,selectable:v,switcherIcon:e=>b.createElement(eS,{prefixCls:k,switcherIcon:u,switcherLoadingIcon:f,treeNodeProps:e,showLine:s}),draggable:I}),m))});function e$(e,t,n){let{key:r,children:o}=n;e.forEach(function(e){let l=e[r],a=e[o];!1!==t(l,e)&&e$(a||[],t,n)})}function eN(e,t,n){let r=(0,a.Z)(t),o=[];return e$(e,(e,t)=>{let n=r.indexOf(e);return -1!==n&&(o.push(t),r.splice(n,1)),!!r.length},(0,$.w$)(n)),o}var eK=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function eO(e){let{isLeaf:t,expanded:n}=e;return t?b.createElement(q.Z,null):n?b.createElement(U,null):b.createElement(G.Z,null)}function eI(e){let{treeData:t,children:n}=e;return t||(0,$.zn)(n)}let eR=b.forwardRef((e,t)=>{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:o}=e,l=eK(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);let i=b.useRef(),c=b.useRef(),d=()=>{let{keyEntities:e}=(0,$.I8)(eI(l));return n?Object.keys(e):r?(0,A.r7)(l.expandedKeys||o||[],e):l.expandedKeys||o||[]},[s,u]=b.useState(l.selectedKeys||l.defaultSelectedKeys||[]),[f,p]=b.useState(()=>d());b.useEffect(()=>{"selectedKeys"in l&&u(l.selectedKeys)},[l.selectedKeys]),b.useEffect(()=>{"expandedKeys"in l&&p(l.expandedKeys)},[l.expandedKeys]);let{getPrefixCls:m,direction:g}=b.useContext(Y.E_),{prefixCls:v,className:y,showIcon:x=!0,expandAction:w="click"}=l,k=eK(l,["prefixCls","className","showIcon","expandAction"]),E=m("tree",v),C=h()(`${E}-directory`,{[`${E}-directory-rtl`]:"rtl"===g},y);return b.createElement(eZ,Object.assign({icon:eO,ref:t,blockNode:!0},k,{showIcon:x,expandAction:w,prefixCls:E,className:C,expandedKeys:f,selectedKeys:s,onSelect:(e,t)=>{var n;let r;let{multiple:o,fieldNames:d}=l,{node:s,nativeEvent:p}=t,{key:h=""}=s,m=eI(l),g=Object.assign(Object.assign({},t),{selected:!0}),v=(null==p?void 0:p.ctrlKey)||(null==p?void 0:p.metaKey),b=null==p?void 0:p.shiftKey;o&&v?(r=e,i.current=h,c.current=r,g.selectedNodes=eN(m,r,d)):o&&b?(r=Array.from(new Set([].concat((0,a.Z)(c.current||[]),(0,a.Z)(function(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:o,fieldNames:l}=e,a=[],i=0;return r&&r===o?[r]:r&&o?(e$(t,e=>{if(2===i)return!1;if(e===r||e===o){if(a.push(e),0===i)i=1;else if(1===i)return i=2,!1}else 1===i&&a.push(e);return n.includes(e)},(0,$.w$)(l)),a):[]}({treeData:m,expandedKeys:f,startKey:h,endKey:i.current,fieldNames:d}))))),g.selectedNodes=eN(m,r,d)):(r=[h],i.current=h,c.current=r,g.selectedNodes=eN(m,r,d)),null===(n=l.onSelect)||void 0===n||n.call(l,r,g),"selectedKeys"in l||u(r)},onExpand:(e,t)=>{var n;return"expandedKeys"in l||p(e),null===(n=l.onExpand)||void 0===n?void 0:n.call(l,e,t)}}))});eZ.DirectoryTree=eR,eZ.TreeNode=Z.Z;var eP=eZ},69463:function(e,t,n){n.d(t,{Z:function(){return S}});var r=n(42096),o=n(10921),l=n(4247),a=n(97290),i=n(80972),c=n(6228),d=n(63119),s=n(43930),u=n(65148),f=n(26869),p=n.n(f),h=n(66168),m=n(38497),g=n(78079),v=m.memo(function(e){for(var t=e.prefixCls,n=e.level,r=e.isStart,o=e.isEnd,l="".concat(t,"-indent-unit"),a=[],i=0;i=0&&n.splice(r,1),n}function c(e,t){var n=(e||[]).slice();return -1===n.indexOf(t)&&n.push(t),n}function d(e){return e.split("-")}function s(e,t){var n=[];return!function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach(function(t){var r=t.key,o=t.children;n.push(r),e(o)})}((0,a.Z)(t,e).children),n}function u(e,t,n,r,o,l,i,c,s,u){var f,p,h=e.clientX,m=e.clientY,g=e.target.getBoundingClientRect(),v=g.top,b=g.height,y=(("rtl"===u?-1:1)*(((null==o?void 0:o.x)||0)-h)-12)/r,x=s.filter(function(e){var t;return null===(t=c[e])||void 0===t||null===(t=t.children)||void 0===t?void 0:t.length}),w=(0,a.Z)(c,n.props.eventKey);if(m-1.5?l({dragNode:O,dropNode:I,dropPosition:1})?$=1:R=!1:l({dragNode:O,dropNode:I,dropPosition:0})?$=0:l({dragNode:O,dropNode:I,dropPosition:1})?$=1:R=!1:l({dragNode:O,dropNode:I,dropPosition:1})?$=1:R=!1,{dropPosition:$,dropLevelOffset:N,dropTargetKey:w.key,dropTargetPos:w.pos,dragOverNodeKey:Z,dropContainerKey:0===$?null:(null===(p=w.parent)||void 0===p?void 0:p.key)||null,dropAllowed:R}}function f(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function p(e){var t;if(!e)return null;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,o.Z)(e))return(0,l.ZP)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function h(e,t){var n=new Set;return(e||[]).forEach(function(e){!function e(r){if(!n.has(r)){var o=(0,a.Z)(t,r);if(o){n.add(r);var l=o.parent;!o.node.disabled&&l&&e(l.key)}}}(e)}),(0,r.Z)(n)}n(54328)},47940:function(e,t,n){n.d(t,{S:function(){return i}});var r=n(89842),o=n(4289);function l(e,t){var n=new Set;return e.forEach(function(e){t.has(e)||n.add(e)}),n}function a(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,o=t.checkable;return!!(n||r)||!1===o}function i(e,t,n,i){var c,d=[];c=i||a;var s=new Set(e.filter(function(e){var t=!!(0,o.Z)(n,e);return t||d.push(e),t})),u=new Map,f=0;return Object.keys(n).forEach(function(e){var t=n[e],r=t.level,o=u.get(r);o||(o=new Set,u.set(r,o)),o.add(t),f=Math.max(f,r)}),(0,r.ZP)(!d.length,"Tree missing follow keys: ".concat(d.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!0===t?function(e,t,n,r){for(var o=new Set(e),a=new Set,i=0;i<=n;i+=1)(t.get(i)||new Set).forEach(function(e){var t=e.key,n=e.node,l=e.children,a=void 0===l?[]:l;o.has(t)&&!r(n)&&a.filter(function(e){return!r(e.node)}).forEach(function(e){o.add(e.key)})});for(var c=new Set,d=n;d>=0;d-=1)(t.get(d)||new Set).forEach(function(e){var t=e.parent;if(!(r(e.node)||!e.parent||c.has(e.parent.key))){if(r(e.parent.node)){c.add(t.key);return}var n=!0,l=!1;(t.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var t=e.key,r=o.has(t);n&&!r&&(n=!1),!l&&(r||a.has(t))&&(l=!0)}),n&&o.add(t.key),l&&a.add(t.key),c.add(t.key)}});return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(l(a,o))}}(s,u,f,c):function(e,t,n,r,o){for(var a=new Set(e),i=new Set(t),c=0;c<=r;c+=1)(n.get(c)||new Set).forEach(function(e){var t=e.key,n=e.node,r=e.children,l=void 0===r?[]:r;a.has(t)||i.has(t)||o(n)||l.filter(function(e){return!o(e.node)}).forEach(function(e){a.delete(e.key)})});i=new Set;for(var d=new Set,s=r;s>=0;s-=1)(n.get(s)||new Set).forEach(function(e){var t=e.parent;if(!(o(e.node)||!e.parent||d.has(e.parent.key))){if(o(e.parent.node)){d.add(t.key);return}var n=!0,r=!1;(t.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var t=e.key,o=a.has(t);n&&!o&&(n=!1),!r&&(o||i.has(t))&&(r=!0)}),n||a.delete(t.key),r&&i.add(t.key),d.add(t.key)}});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(l(i,a))}}(s,t.halfCheckedKeys,u,f,c)}},4289:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e,t){return e[t]}},54328:function(e,t,n){n.d(t,{F:function(){return y},H8:function(){return b},I8:function(){return v},km:function(){return p},oH:function(){return g},w$:function(){return h},zn:function(){return m}});var r=n(14433),o=n(72991),l=n(4247),a=n(10921),i=n(10469),c=n(55598),d=n(89842),s=n(4289),u=["children"];function f(e,t){return"".concat(e,"-").concat(t)}function p(e,t){return null!=e?e:t}function h(e){var t=e||{},n=t.title,r=t._title,o=t.key,l=t.children,a=n||"title";return{title:a,_title:r||[a],key:o||"key",children:l||"children"}}function m(e){return function e(t){return(0,i.Z)(t).map(function(t){if(!(t&&t.type&&t.type.isTreeNode))return(0,d.ZP)(!t,"Tree/TreeNode can only accept TreeNode as children."),null;var n=t.key,r=t.props,o=r.children,i=(0,a.Z)(r,u),c=(0,l.Z)({key:n},i),s=e(o);return s.length&&(c.children=s),c}).filter(function(e){return e})}(e)}function g(e,t,n){var r=h(n),l=r._title,a=r.key,i=r.children,d=new Set(!0===t?[]:t),s=[];return!function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n.map(function(u,h){for(var m,g=f(r?r.pos:"0",h),v=p(u[a],g),b=0;b1&&void 0!==arguments[1]?arguments[1]:{},v=g.initWrapper,b=g.processEntity,y=g.onProcessFinished,x=g.externalGetKey,w=g.childrenPropName,k=g.fieldNames,E=arguments.length>2?arguments[2]:void 0,C={},S={},Z={posEntities:C,keyEntities:S};return v&&(Z=v(Z)||Z),t=function(e){var t=e.node,n=e.index,r=e.pos,o=e.key,l=e.parentPos,a=e.level,i={node:t,nodes:e.nodes,index:n,key:o,pos:r,level:a},c=p(o,r);C[r]=i,S[c]=i,i.parent=C[l],i.parent&&(i.parent.children=i.parent.children||[],i.parent.children.push(i)),b&&b(i,Z)},n={externalGetKey:x||E,childrenPropName:w,fieldNames:k},i=(a=("object"===(0,r.Z)(n)?n:{externalGetKey:n})||{}).childrenPropName,c=a.externalGetKey,s=(d=h(a.fieldNames)).key,u=d.children,m=i||u,c?"string"==typeof c?l=function(e){return e[c]}:"function"==typeof c&&(l=function(e){return c(e)}):l=function(e,t){return p(e[s],t)},function n(r,a,i,c){var d=r?r[m]:e,s=r?f(i.pos,a):"0",u=r?[].concat((0,o.Z)(c),[r]):[];if(r){var p=l(r,s);t({node:r,index:a,pos:s,key:p,parentPos:i.node?i.pos:null,level:i.level+1,nodes:u})}d&&d.forEach(function(e,t){n(e,t,{node:r,pos:s,level:i?i.level+1:-1},u)})}(null),y&&y(Z),Z}function b(e,t){var n=t.expandedKeys,r=t.selectedKeys,o=t.loadedKeys,l=t.loadingKeys,a=t.checkedKeys,i=t.halfCheckedKeys,c=t.dragOverNodeKey,d=t.dropPosition,u=t.keyEntities,f=(0,s.Z)(u,e);return{eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==l.indexOf(e),checked:-1!==a.indexOf(e),halfChecked:-1!==i.indexOf(e),pos:String(f?f.pos:""),dragOver:c===e&&0===d,dragOverGapTop:c===e&&-1===d,dragOverGapBottom:c===e&&1===d}}function y(e){var t=e.data,n=e.expanded,r=e.selected,o=e.checked,a=e.loaded,i=e.loading,c=e.halfChecked,s=e.dragOver,u=e.dragOverGapTop,f=e.dragOverGapBottom,p=e.pos,h=e.active,m=e.eventKey,g=(0,l.Z)((0,l.Z)({},t),{},{expanded:n,selected:r,checked:o,loaded:a,loading:i,halfChecked:c,dragOver:s,dragOverGapTop:u,dragOverGapBottom:f,pos:p,active:h,key:m});return"props"in g||Object.defineProperty(g,"props",{get:function(){return(0,d.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}},93941:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(2060);function o(e,t,n,o){var l=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,l,o),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,l,o)}}}},16213:function(e,t,n){function r(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function o(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}n.d(t,{g1:function(){return r},os:function(){return o}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4514-f64ecf6adf4d9d54.js b/dbgpt/app/static/web/_next/static/chunks/4514-f64ecf6adf4d9d54.js deleted file mode 100644 index e11921071..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4514-f64ecf6adf4d9d54.js +++ /dev/null @@ -1,21 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4514],{2537:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},a=r(75651),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},91158:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},a=r(75651),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},63079:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},a=r(75651),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},80335:function(e,t,r){r.d(t,{Z:function(){return g}});var n=r(749),o=r(38497),i=r(52896),a=r(26869),l=r.n(a),s=r(27691),c=r(63346),u=r(10755),d=r(80214),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let f=e=>{let{getPopupContainer:t,getPrefixCls:r,direction:a}=o.useContext(c.E_),{prefixCls:f,type:m="default",danger:g,disabled:h,loading:b,onClick:v,htmlType:y,children:$,className:w,menu:k,arrow:C,autoFocus:E,overlay:x,trigger:O,align:S,open:j,onOpenChange:Z,placement:I,getPopupContainer:N,href:P,icon:D=o.createElement(i.Z,null),title:R,buttonsRender:z=e=>e,mouseEnterDelay:F,mouseLeaveDelay:M,overlayClassName:A,overlayStyle:T,destroyPopupOnHide:L,dropdownRender:H}=e,B=p(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),X=r("dropdown",f),_=`${X}-button`,W={menu:k,arrow:C,autoFocus:E,align:S,disabled:h,trigger:h?[]:O,onOpenChange:Z,getPopupContainer:N||t,mouseEnterDelay:F,mouseLeaveDelay:M,overlayClassName:A,overlayStyle:T,destroyPopupOnHide:L,dropdownRender:H},{compactSize:q,compactItemClassnames:U}=(0,d.ri)(X,a),V=l()(_,U,w);"overlay"in e&&(W.overlay=x),"open"in e&&(W.open=j),"placement"in e?W.placement=I:W.placement="rtl"===a?"bottomLeft":"bottomRight";let G=o.createElement(s.ZP,{type:m,danger:g,disabled:h,loading:b,onClick:v,htmlType:y,href:P,title:R},$),J=o.createElement(s.ZP,{type:m,danger:g,icon:D}),[K,Q]=z([G,J]);return o.createElement(u.Z.Compact,Object.assign({className:V,size:q,block:!0},B),K,o.createElement(n.Z,Object.assign({},W),Q))};f.__ANT_BUTTON=!0;let m=n.Z;m.Button=f;var g=m},67274:function(e,t,r){r.d(t,{Z:function(){return ea}});var n=r(38497),o=r(16147),i=r(69274),a=r(86298),l=r(84223),s=r(51084),c=r(26869),u=r.n(c),d=r(55598),p=r(63346),f=r(42096),m=r(4247),g=r(10921),h={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},b=function(){var e=(0,n.useRef)([]),t=(0,n.useRef)(null);return(0,n.useEffect)(function(){var r=Date.now(),n=!1;e.current.forEach(function(e){if(e){n=!0;var o=e.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.current&&r-t.current<100&&(o.transitionDuration="0s, 0s")}}),n&&(t.current=Date.now())}),e.current},v=r(14433),y=r(65347),$=r(18943),w=0,k=(0,$.Z)(),C=function(e){var t=n.useState(),r=(0,y.Z)(t,2),o=r[0],i=r[1];return n.useEffect(function(){var e;i("rc_progress_".concat((k?(e=w,w+=1):e="TEST_OR_SSR",e)))},[]),e||o},E=function(e){var t=e.bg,r=e.children;return n.createElement("div",{style:{width:"100%",height:"100%",background:t}},r)};function x(e,t){return Object.keys(e).map(function(r){var n=parseFloat(r);return"".concat(e[r]," ").concat("".concat(Math.floor(n*t),"%"))})}var O=n.forwardRef(function(e,t){var r=e.prefixCls,o=e.color,i=e.gradientId,a=e.radius,l=e.style,s=e.ptg,c=e.strokeLinecap,u=e.strokeWidth,d=e.size,p=e.gapDegree,f=o&&"object"===(0,v.Z)(o),m=d/2,g=n.createElement("circle",{className:"".concat(r,"-circle-path"),r:a,cx:m,cy:m,stroke:f?"#FFF":void 0,strokeLinecap:c,strokeWidth:u,opacity:0===s?0:1,style:l,ref:t});if(!f)return g;var h="".concat(i,"-conic"),b=p?"".concat(180+p/2,"deg"):"0deg",y=x(o,(360-p)/360),$=x(o,1),w="conic-gradient(from ".concat(b,", ").concat(y.join(", "),")"),k="linear-gradient(to ".concat(p?"bottom":"top",", ").concat($.join(", "),")");return n.createElement(n.Fragment,null,n.createElement("mask",{id:h},g),n.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(h,")")},n.createElement(E,{bg:k},n.createElement(E,{bg:w}))))}),S=function(e,t,r,n,o,i,a,l,s,c){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=(100-n)/100*t;return"round"===s&&100!==n&&(d+=c/2)>=t&&(d=t-.01),{stroke:"string"==typeof l?l:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:d+u,transform:"rotate(".concat(o+r/100*360*((360-i)/360)+(0===i?0:({bottom:0,top:180,left:90,right:-90})[a]),"deg)"),transformOrigin:"".concat(50,"px ").concat(50,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},j=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Z(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}var I=function(e){var t,r,o,i,a=(0,m.Z)((0,m.Z)({},h),e),l=a.id,s=a.prefixCls,c=a.steps,d=a.strokeWidth,p=a.trailWidth,y=a.gapDegree,$=void 0===y?0:y,w=a.gapPosition,k=a.trailColor,E=a.strokeLinecap,x=a.style,I=a.className,N=a.strokeColor,P=a.percent,D=(0,g.Z)(a,j),R=C(l),z="".concat(R,"-gradient"),F=50-d/2,M=2*Math.PI*F,A=$>0?90+$/2:-90,T=M*((360-$)/360),L="object"===(0,v.Z)(c)?c:{count:c,gap:2},H=L.count,B=L.gap,X=Z(P),_=Z(N),W=_.find(function(e){return e&&"object"===(0,v.Z)(e)}),q=W&&"object"===(0,v.Z)(W)?"butt":E,U=S(M,T,0,100,A,$,w,k,q,d),V=b();return n.createElement("svg",(0,f.Z)({className:u()("".concat(s,"-circle"),I),viewBox:"0 0 ".concat(100," ").concat(100),style:x,id:l,role:"presentation"},D),!H&&n.createElement("circle",{className:"".concat(s,"-circle-trail"),r:F,cx:50,cy:50,stroke:k,strokeLinecap:q,strokeWidth:p||d,style:U}),H?(t=Math.round(H*(X[0]/100)),r=100/H,o=0,Array(H).fill(null).map(function(e,i){var a=i<=t-1?_[0]:k,l=a&&"object"===(0,v.Z)(a)?"url(#".concat(z,")"):void 0,c=S(M,T,o,r,A,$,w,a,"butt",d,B);return o+=(T-c.strokeDashoffset+B)*100/T,n.createElement("circle",{key:i,className:"".concat(s,"-circle-path"),r:F,cx:50,cy:50,stroke:l,strokeWidth:d,opacity:1,style:c,ref:function(e){V[i]=e}})})):(i=0,X.map(function(e,t){var r=_[t]||_[_.length-1],o=S(M,T,i,e,A,$,w,r,q,d);return i+=e,n.createElement(O,{key:t,color:r,ptg:e,radius:F,prefixCls:s,gradientId:z,style:o,strokeLinecap:q,strokeWidth:d,gapDegree:$,ref:function(e){V[t]=e},size:100})}).reverse()))},N=r(60205),P=r(82650);function D(e){return!e||e<0?0:e>100?100:e}function R(e){let{success:t,successPercent:r}=e,n=r;return t&&"progress"in t&&(n=t.progress),t&&"percent"in t&&(n=t.percent),n}let z=e=>{let{percent:t,success:r,successPercent:n}=e,o=D(R({success:r,successPercent:n}));return[o,D(D(t)-o)]},F=e=>{let{success:t={},strokeColor:r}=e,{strokeColor:n}=t;return[n||P.ez.green,r||null]},M=(e,t,r)=>{var n,o,i,a;let l=-1,s=-1;if("step"===t){let t=r.steps,n=r.strokeWidth;"string"==typeof e||void 0===e?(l="small"===e?2:14,s=null!=n?n:8):"number"==typeof e?[l,s]=[e,e]:[l=14,s=8]=Array.isArray(e)?e:[e.width,e.height],l*=t}else if("line"===t){let t=null==r?void 0:r.strokeWidth;"string"==typeof e||void 0===e?s=t||("small"===e?6:8):"number"==typeof e?[l,s]=[e,e]:[l=-1,s=8]=Array.isArray(e)?e:[e.width,e.height]}else("circle"===t||"dashboard"===t)&&("string"==typeof e||void 0===e?[l,s]="small"===e?[60,60]:[120,120]:"number"==typeof e?[l,s]=[e,e]:Array.isArray(e)&&(l=null!==(o=null!==(n=e[0])&&void 0!==n?n:e[1])&&void 0!==o?o:120,s=null!==(a=null!==(i=e[0])&&void 0!==i?i:e[1])&&void 0!==a?a:120));return[l,s]},A=e=>3/e*100;var T=e=>{let{prefixCls:t,trailColor:r=null,strokeLinecap:o="round",gapPosition:i,gapDegree:a,width:l=120,type:s,children:c,success:d,size:p=l,steps:f}=e,[m,g]=M(p,"circle"),{strokeWidth:h}=e;void 0===h&&(h=Math.max(A(m),6));let b=n.useMemo(()=>a||0===a?a:"dashboard"===s?75:void 0,[a,s]),v=z(e),y=i||"dashboard"===s&&"bottom"||void 0,$="[object Object]"===Object.prototype.toString.call(e.strokeColor),w=F({success:d,strokeColor:e.strokeColor}),k=u()(`${t}-inner`,{[`${t}-circle-gradient`]:$}),C=n.createElement(I,{steps:f,percent:f?v[1]:v,strokeWidth:h,trailWidth:h,strokeColor:f?w[1]:w,strokeLinecap:o,trailColor:r,prefixCls:t,gapDegree:b,gapPosition:y}),E=m<=20,x=n.createElement("div",{className:k,style:{width:m,height:g,fontSize:.15*m+6}},C,!E&&c);return E?n.createElement(N.Z,{title:c},x):x},L=r(72178),H=r(60848),B=r(90102),X=r(74934);let _="--progress-line-stroke-color",W="--progress-percent",q=e=>{let t=e?"100%":"-100%";return new L.E4(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},U=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},(0,H.Wf)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${_})`]},height:"100%",width:`calc(1 / var(${W}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,L.bf)(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:q(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:q(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},V=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},G=e=>{let{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},J=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]:{fontSize:e.fontSizeSM}}}};var K=(0,B.I$)("Progress",e=>{let t=e.calc(e.marginXXS).div(2).equal(),r=(0,X.IX)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[U(r),V(r),G(r),J(r)]},e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`})),Q=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let Y=e=>{let t=[];return Object.keys(e).forEach(r=>{let n=parseFloat(r.replace(/%/g,""));isNaN(n)||t.push({key:n,value:e[r]})}),(t=t.sort((e,t)=>e.key-t.key)).map(e=>{let{key:t,value:r}=e;return`${r} ${t}%`}).join(", ")},ee=(e,t)=>{let{from:r=P.ez.blue,to:n=P.ez.blue,direction:o="rtl"===t?"to left":"to right"}=e,i=Q(e,["from","to","direction"]);if(0!==Object.keys(i).length){let e=Y(i),t=`linear-gradient(${o}, ${e})`;return{background:t,[_]:t}}let a=`linear-gradient(${o}, ${r}, ${n})`;return{background:a,[_]:a}};var et=e=>{let{prefixCls:t,direction:r,percent:o,size:i,strokeWidth:a,strokeColor:l,strokeLinecap:s="round",children:c,trailColor:d=null,percentPosition:p,success:f}=e,{align:m,type:g}=p,h=l&&"string"!=typeof l?ee(l,r):{[_]:l,background:l},b="square"===s||"butt"===s?0:void 0,v=null!=i?i:[-1,a||("small"===i?6:8)],[y,$]=M(v,"line",{strokeWidth:a}),w=Object.assign(Object.assign({width:`${D(o)}%`,height:$,borderRadius:b},h),{[W]:D(o)/100}),k=R(e),C={width:`${D(k)}%`,height:$,borderRadius:b,backgroundColor:null==f?void 0:f.strokeColor},E=n.createElement("div",{className:`${t}-inner`,style:{backgroundColor:d||void 0,borderRadius:b}},n.createElement("div",{className:u()(`${t}-bg`,`${t}-bg-${g}`),style:w},"inner"===g&&c),void 0!==k&&n.createElement("div",{className:`${t}-success-bg`,style:C})),x="outer"===g&&"start"===m,O="outer"===g&&"end"===m;return"outer"===g&&"center"===m?n.createElement("div",{className:`${t}-layout-bottom`},E,c):n.createElement("div",{className:`${t}-outer`,style:{width:y<0?"100%":y}},x&&c,E,O&&c)},er=e=>{let{size:t,steps:r,percent:o=0,strokeWidth:i=8,strokeColor:a,trailColor:l=null,prefixCls:s,children:c}=e,d=Math.round(r*(o/100)),p=null!=t?t:["small"===t?2:14,i],[f,m]=M(p,"step",{steps:r,strokeWidth:i}),g=f/r,h=Array(r);for(let e=0;et.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let eo=["normal","exception","active","success"],ei=n.forwardRef((e,t)=>{let r;let{prefixCls:c,className:f,rootClassName:m,steps:g,strokeColor:h,percent:b=0,size:v="default",showInfo:y=!0,type:$="line",status:w,format:k,style:C,percentPosition:E={}}=e,x=en(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:O="end",type:S="outer"}=E,j=Array.isArray(h)?h[0]:h,Z="string"==typeof h||Array.isArray(h)?h:void 0,I=n.useMemo(()=>{if(j){let e="string"==typeof j?j:Object.values(j)[0];return new s.C(e).isLight()}return!1},[h]),N=n.useMemo(()=>{var t,r;let n=R(e);return parseInt(void 0!==n?null===(t=null!=n?n:0)||void 0===t?void 0:t.toString():null===(r=null!=b?b:0)||void 0===r?void 0:r.toString(),10)},[b,e.success,e.successPercent]),P=n.useMemo(()=>!eo.includes(w)&&N>=100?"success":w||"normal",[w,N]),{getPrefixCls:z,direction:F,progress:A}=n.useContext(p.E_),L=z("progress",c),[H,B,X]=K(L),_="line"===$,W=_&&!g,q=n.useMemo(()=>{let t;if(!y)return null;let r=R(e),s=k||(e=>`${e}%`),c=_&&I&&"inner"===S;return"inner"===S||k||"exception"!==P&&"success"!==P?t=s(D(b),D(r)):"exception"===P?t=_?n.createElement(a.Z,null):n.createElement(l.Z,null):"success"===P&&(t=_?n.createElement(o.Z,null):n.createElement(i.Z,null)),n.createElement("span",{className:u()(`${L}-text`,{[`${L}-text-bright`]:c,[`${L}-text-${O}`]:W,[`${L}-text-${S}`]:W}),title:"string"==typeof t?t:void 0},t)},[y,b,N,P,$,L,k]);"line"===$?r=g?n.createElement(er,Object.assign({},e,{strokeColor:Z,prefixCls:L,steps:"object"==typeof g?g.count:g}),q):n.createElement(et,Object.assign({},e,{strokeColor:j,prefixCls:L,direction:F,percentPosition:{align:O,type:S}}),q):("circle"===$||"dashboard"===$)&&(r=n.createElement(T,Object.assign({},e,{strokeColor:j,prefixCls:L,progressStatus:P}),q));let U=u()(L,`${L}-status-${P}`,{[`${L}-${"dashboard"===$&&"circle"||$}`]:"line"!==$,[`${L}-inline-circle`]:"circle"===$&&M(v,"circle")[0]<=20,[`${L}-line`]:W,[`${L}-line-align-${O}`]:W,[`${L}-line-position-${S}`]:W,[`${L}-steps`]:g,[`${L}-show-info`]:y,[`${L}-${v}`]:"string"==typeof v,[`${L}-rtl`]:"rtl"===F},null==A?void 0:A.className,f,m,B,X);return H(n.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null==A?void 0:A.style),C),className:U,role:"progressbar","aria-valuenow":N,"aria-valuemin":0,"aria-valuemax":100},(0,d.Z)(x,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),r))});var ea=ei},49030:function(e,t,r){r.d(t,{Z:function(){return I}});var n=r(38497),o=r(26869),i=r.n(o),a=r(55598),l=r(55853),s=r(35883),c=r(55091),u=r(37243),d=r(63346),p=r(72178),f=r(51084),m=r(60848),g=r(74934),h=r(90102);let b=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o,calc:i}=e,a=i(n).sub(r).equal(),l=i(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},(0,m.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,o=e.fontSizeSM,i=(0,g.IX)(e,{tagFontSize:o,tagLineHeight:(0,p.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},y=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var $=(0,h.I$)("Tag",e=>{let t=v(e);return b(t)},y),w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let k=n.forwardRef((e,t)=>{let{prefixCls:r,style:o,className:a,checked:l,onChange:s,onClick:c}=e,u=w(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=n.useContext(d.E_),m=p("tag",r),[g,h,b]=$(m),v=i()(m,`${m}-checkable`,{[`${m}-checkable-checked`]:l},null==f?void 0:f.className,a,h,b);return g(n.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==f?void 0:f.style),className:v,onClick:e=>{null==s||s(!l),null==c||c(e)}})))});var C=r(86553);let E=e=>(0,C.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:i,darkColor:a}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:i,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var x=(0,h.bk)(["Tag","preset"],e=>{let t=v(e);return E(t)},y);let O=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var S=(0,h.bk)(["Tag","status"],e=>{let t=v(e);return[O(t,"success","Success"),O(t,"processing","Info"),O(t,"error","Error"),O(t,"warning","Warning")]},y),j=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let Z=n.forwardRef((e,t)=>{let{prefixCls:r,className:o,rootClassName:p,style:f,children:m,icon:g,color:h,onClose:b,bordered:v=!0,visible:y}=e,w=j(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:k,direction:C,tag:E}=n.useContext(d.E_),[O,Z]=n.useState(!0),I=(0,a.Z)(w,["closeIcon","closable"]);n.useEffect(()=>{void 0!==y&&Z(y)},[y]);let N=(0,l.o2)(h),P=(0,l.yT)(h),D=N||P,R=Object.assign(Object.assign({backgroundColor:h&&!D?h:void 0},null==E?void 0:E.style),f),z=k("tag",r),[F,M,A]=$(z),T=i()(z,null==E?void 0:E.className,{[`${z}-${h}`]:D,[`${z}-has-color`]:h&&!D,[`${z}-hidden`]:!O,[`${z}-rtl`]:"rtl"===C,[`${z}-borderless`]:!v},o,p,M,A),L=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||Z(!1)},[,H]=(0,s.Z)((0,s.w)(e),(0,s.w)(E),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${z}-close-icon`,onClick:L},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),L(t)},className:i()(null==e?void 0:e.className,`${z}-close-icon`)}))}}),B="function"==typeof w.onClick||m&&"a"===m.type,X=g||null,_=X?n.createElement(n.Fragment,null,X,m&&n.createElement("span",null,m)):m,W=n.createElement("span",Object.assign({},I,{ref:t,className:T,style:R}),_,H,N&&n.createElement(x,{key:"preset",prefixCls:z}),P&&n.createElement(S,{key:"status",prefixCls:z}));return F(B?n.createElement(u.Z,{component:"Tag"},W):W)});Z.CheckableTag=k;var I=Z},19389:function(e,t,r){r.d(t,{default:function(){return eZ}});var n=r(38497),o=r(72991),i=r(2060),a=r(26869),l=r.n(a),s=r(42096),c=r(97290),u=r(80972),d=r(6228),p=r(63119),f=r(43930),m=r(65148),g=r(4247),h=r(10921),b=r(77160),v=r(14433),y=r(20924),$=r(66168),w=r(89842),k=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return r.some(function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var r=n.toLowerCase(),a=t.toLowerCase(),l=[a];return(".jpg"===a||".jpeg"===a)&&(l=[".jpg",".jpeg"]),l.some(function(e){return r.endsWith(e)})}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&((0,w.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0};function C(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function E(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var r=new FormData;e.data&&Object.keys(e.data).forEach(function(t){var n=e.data[t];if(Array.isArray(n)){n.forEach(function(e){r.append("".concat(t,"[]"),e)});return}r.append(t,n)}),e.file instanceof Blob?r.append(e.filename,e.file,e.file.name):r.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300){var r;return e.onError(((r=Error("cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"))).status=t.status,r.method=e.method,r.url=e.action,r),C(t))}return e.onSuccess(C(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var n=e.headers||{};return null!==n["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(n).forEach(function(e){null!==n[e]&&t.setRequestHeader(e,n[e])}),t.send(r),{abort:function(){t.abort()}}}var x=function(e,t,r){var n=[],i=[];e.forEach(function(e){return i.push(e.webkitGetAsEntry())});var a=function(e,t){if(e){if(e.path=t||"",e.isFile)e.file(function(t){r(t)&&(e.fullPath&&!t.webkitRelativePath&&(Object.defineProperties(t,{webkitRelativePath:{writable:!0}}),t.webkitRelativePath=e.fullPath.replace(/^\//,""),Object.defineProperties(t,{webkitRelativePath:{writable:!1}})),n.push(t))});else if(e.isDirectory){var a;a=e.createReader(),function e(){a.readEntries(function(t){var r=Array.prototype.slice.apply(t);i.push.apply(i,(0,o.Z)(r)),r.length&&e()})}()}}};!function(){for(var e=0;e{let{componentCls:t,iconCls:r}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${(0,B.bf)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${(0,B.bf)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` - &:not(${t}-disabled):hover, - &-hover:not(${t}-disabled) - `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[r]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${(0,B.bf)(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${r}, - p${t}-text, - p${t}-hint - `]:{color:e.colorTextDisabled}}}}}},_=e=>{let{componentCls:t,antCls:r,iconCls:n,fontSize:o,lineHeight:i,calc:a}=e,l=`${t}-list-item`,s=`${l}-actions`,c=`${l}-action`,u=e.fontHeightSM;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},(0,A.dF)()),{lineHeight:e.lineHeight,[l]:{position:"relative",height:a(e.lineHeight).mul(o).equal(),marginTop:e.marginXS,fontSize:o,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${l}-name`]:Object.assign(Object.assign({},A.vS),{padding:`0 ${(0,B.bf)(e.paddingXS)}`,lineHeight:i,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[s]:{whiteSpace:"nowrap",[c]:{opacity:0},[n]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[` - ${c}:focus-visible, - &.picture ${c} - `]:{opacity:1},[`${c}${r}-btn`]:{height:u,border:0,lineHeight:1}},[`${t}-icon ${n}`]:{color:e.colorTextDescription,fontSize:o},[`${l}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:a(o).add(e.paddingXS).equal(),fontSize:o,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${l}:hover ${c}`]:{opacity:1},[`${l}-error`]:{color:e.colorError,[`${l}-name, ${t}-icon ${n}`]:{color:e.colorError},[s]:{[`${n}, ${n}:hover`]:{color:e.colorError},[c]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},W=r(29730),q=e=>{let{componentCls:t}=e,r=new B.E4("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),n=new B.E4("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),o=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${o}-appear, ${o}-enter, ${o}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${o}-appear, ${o}-enter`]:{animationName:r},[`${o}-leave`]:{animationName:n}}},{[`${t}-wrapper`]:(0,W.J$)(e)},r,n]},U=r(82650);let V=e=>{let{componentCls:t,iconCls:r,uploadThumbnailSize:n,uploadProgressOffset:o,calc:i}=e,a=`${t}-list`,l=`${a}-item`;return{[`${t}-wrapper`]:{[` - ${a}${a}-picture, - ${a}${a}-picture-card, - ${a}${a}-picture-circle - `]:{[l]:{position:"relative",height:i(n).add(i(e.lineWidth).mul(2)).add(i(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${(0,B.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${l}-thumbnail`]:Object.assign(Object.assign({},A.vS),{width:n,height:n,lineHeight:(0,B.bf)(i(n).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[r]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${l}-progress`]:{bottom:o,width:`calc(100% - ${(0,B.bf)(i(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:i(n).add(e.paddingXS).equal()}},[`${l}-error`]:{borderColor:e.colorError,[`${l}-thumbnail ${r}`]:{[`svg path[fill='${U.iN[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${U.iN.primary}']`]:{fill:e.colorError}}},[`${l}-uploading`]:{borderStyle:"dashed",[`${l}-name`]:{marginBottom:o}}},[`${a}${a}-picture-circle ${l}`]:{[`&, &::before, ${l}-thumbnail`]:{borderRadius:"50%"}}}}},G=e=>{let{componentCls:t,iconCls:r,fontSizeLG:n,colorTextLightSolid:o,calc:i}=e,a=`${t}-list`,l=`${a}-item`,s=e.uploadPicCardSize;return{[` - ${t}-wrapper${t}-picture-card-wrapper, - ${t}-wrapper${t}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,A.dF)()),{display:"block",[`${t}${t}-select`]:{width:s,height:s,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${(0,B.bf)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${a}${a}-picture-card, ${a}${a}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${a}-item-container`]:{display:"inline-block",width:s,height:s,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[l]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,B.bf)(i(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,B.bf)(i(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${l}:hover`]:{[`&::before, ${l}-actions`]:{opacity:1}},[`${l}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[` - ${r}-eye, - ${r}-download, - ${r}-delete - `]:{zIndex:10,width:n,margin:`0 ${(0,B.bf)(e.marginXXS)}`,fontSize:n,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:o,"&:hover":{color:o},svg:{verticalAlign:"baseline"}}},[`${l}-thumbnail, ${l}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${l}-name`]:{display:"none",textAlign:"center"},[`${l}-file + ${l}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${(0,B.bf)(i(e.paddingXS).mul(2).equal())})`},[`${l}-uploading`]:{[`&${l}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${r}-eye, ${r}-download, ${r}-delete`]:{display:"none"}},[`${l}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${(0,B.bf)(i(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}};var J=e=>{let{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}};let K=e=>{let{componentCls:t,colorTextDisabled:r}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,A.Wf)(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:r,cursor:"not-allowed"}})}};var Q=(0,L.I$)("Upload",e=>{let{fontSizeHeading3:t,fontHeight:r,lineWidth:n,controlHeightLG:o,calc:i}=e,a=(0,H.IX)(e,{uploadThumbnailSize:i(t).mul(2).equal(),uploadProgressOffset:i(i(r).div(2)).add(n).equal(),uploadPicCardSize:i(o).mul(2.55).equal()});return[K(a),X(a),V(a),G(a),_(a),q(a),J(a),(0,T.Z)(a)]},e=>({actionsColor:e.colorTextDescription})),Y={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}}]}},name:"file",theme:"twotone"},ee=r(75651),et=n.forwardRef(function(e,t){return n.createElement(ee.Z,(0,s.Z)({},e,{ref:t,icon:Y}))}),er=r(37022),en=r(63079),eo={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:e}}]}},name:"picture",theme:"twotone"},ei=n.forwardRef(function(e,t){return n.createElement(ee.Z,(0,s.Z)({},e,{ref:t,icon:eo}))}),ea=r(53979),el=r(66767),es=r(17383),ec=r(55091),eu=r(27691);function ed(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function ep(e,t){let r=(0,o.Z)(t),n=r.findIndex(t=>{let{uid:r}=t;return r===e.uid});return -1===n?r.push(e):r[n]=e,r}function ef(e,t){let r=void 0!==e.uid?"uid":"name";return t.filter(t=>t[r]===e[r])[0]}let em=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),r=t[t.length-1],n=r.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]},eg=e=>0===e.indexOf("image/"),eh=e=>{if(e.type&&!e.thumbUrl)return eg(e.type);let t=e.thumbUrl||e.url||"",r=em(t);return!!(/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(r))||!/^data:/.test(t)&&!r};function eb(e){return new Promise(t=>{if(!e.type||!eg(e.type)){t("");return}let r=document.createElement("canvas");r.width=200,r.height=200,r.style.cssText="position: fixed; left: 0; top: 0; width: 200px; height: 200px; z-index: 9999; display: none;",document.body.appendChild(r);let n=r.getContext("2d"),o=new Image;if(o.onload=()=>{let{width:e,height:i}=o,a=200,l=200,s=0,c=0;e>i?c=-((l=i*(200/e))-a)/2:s=-((a=e*(200/i))-l)/2,n.drawImage(o,s,c,a,l);let u=r.toDataURL();document.body.removeChild(r),window.URL.revokeObjectURL(o.src),t(u)},o.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){let t=new FileReader;t.onload=()=>{t.result&&"string"==typeof t.result&&(o.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){let r=new FileReader;r.onload=()=>{r.result&&t(r.result)},r.readAsDataURL(e)}else o.src=window.URL.createObjectURL(e)})}var ev=r(2537),ey=r(91158),e$=r(32982),ew=r(67274),ek=r(60205);let eC=n.forwardRef((e,t)=>{var r,o;let{prefixCls:i,className:a,style:s,locale:c,listType:u,file:d,items:p,progress:f,iconRender:m,actionIconRender:g,itemRender:h,isImgUrl:b,showPreviewIcon:v,showRemoveIcon:y,showDownloadIcon:$,previewIcon:w,removeIcon:k,downloadIcon:C,extra:E,onPreview:x,onDownload:O,onClose:S}=e,{status:j}=d,[Z,I]=n.useState(j);n.useEffect(()=>{"removed"!==j&&I(j)},[j]);let[N,P]=n.useState(!1);n.useEffect(()=>{let e=setTimeout(()=>{P(!0)},300);return()=>{clearTimeout(e)}},[]);let D=m(d),z=n.createElement("div",{className:`${i}-icon`},D);if("picture"===u||"picture-card"===u||"picture-circle"===u){if("uploading"!==Z&&(d.thumbUrl||d.url)){let e=(null==b?void 0:b(d))?n.createElement("img",{src:d.thumbUrl||d.url,alt:d.name,className:`${i}-list-item-image`,crossOrigin:d.crossOrigin}):D,t=l()(`${i}-list-item-thumbnail`,{[`${i}-list-item-file`]:b&&!b(d)});z=n.createElement("a",{className:t,onClick:e=>x(d,e),href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer"},e)}else{let e=l()(`${i}-list-item-thumbnail`,{[`${i}-list-item-file`]:"uploading"!==Z});z=n.createElement("div",{className:e},D)}}let F=l()(`${i}-list-item`,`${i}-list-item-${Z}`),M="string"==typeof d.linkProps?JSON.parse(d.linkProps):d.linkProps,A=y?g(("function"==typeof k?k(d):k)||n.createElement(ev.Z,null),()=>S(d),i,c.removeFile,!0):null,T=$&&"done"===Z?g(("function"==typeof C?C(d):C)||n.createElement(ey.Z,null),()=>O(d),i,c.downloadFile):null,L="picture-card"!==u&&"picture-circle"!==u&&n.createElement("span",{key:"download-delete",className:l()(`${i}-list-item-actions`,{picture:"picture"===u})},T,A),H="function"==typeof E?E(d):E,B=H&&n.createElement("span",{className:`${i}-list-item-extra`},H),X=l()(`${i}-list-item-name`),_=d.url?n.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:X,title:d.name},M,{href:d.url,onClick:e=>x(d,e)}),d.name,B):n.createElement("span",{key:"view",className:X,onClick:e=>x(d,e),title:d.name},d.name,B),W=v&&(d.url||d.thumbUrl)?n.createElement("a",{href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:e=>x(d,e),title:c.previewFile},"function"==typeof w?w(d):w||n.createElement(e$.Z,null)):null,q=("picture-card"===u||"picture-circle"===u)&&"uploading"!==Z&&n.createElement("span",{className:`${i}-list-item-actions`},W,"done"===Z&&T,A),{getPrefixCls:U}=n.useContext(R.E_),V=U(),G=n.createElement("div",{className:F},z,_,L,q,N&&n.createElement(ea.ZP,{motionName:`${V}-fade`,visible:"uploading"===Z,motionDeadline:2e3},e=>{let{className:t}=e,r="percent"in d?n.createElement(ew.Z,Object.assign({},f,{type:"line",percent:d.percent,"aria-label":d["aria-label"],"aria-labelledby":d["aria-labelledby"]})):null;return n.createElement("div",{className:l()(`${i}-list-item-progress`,t)},r)})),J=d.response&&"string"==typeof d.response?d.response:(null===(r=d.error)||void 0===r?void 0:r.statusText)||(null===(o=d.error)||void 0===o?void 0:o.message)||c.uploadError,K="error"===Z?n.createElement(ek.Z,{title:J,getPopupContainer:e=>e.parentNode},G):G;return n.createElement("div",{className:l()(`${i}-list-item-container`,a),style:s,ref:t},h?h(K,d,p,{download:O.bind(null,d),preview:x.bind(null,d),remove:S.bind(null,d)}):K)}),eE=n.forwardRef((e,t)=>{let{listType:r="text",previewFile:i=eb,onPreview:a,onDownload:s,onRemove:c,locale:u,iconRender:d,isImageUrl:p=eh,prefixCls:f,items:m=[],showPreviewIcon:g=!0,showRemoveIcon:h=!0,showDownloadIcon:b=!1,removeIcon:v,previewIcon:y,downloadIcon:$,extra:w,progress:k={size:[-1,2],showInfo:!1},appendAction:C,appendActionVisible:E=!0,itemRender:x,disabled:O}=e,S=(0,el.Z)(),[j,Z]=n.useState(!1);n.useEffect(()=>{("picture"===r||"picture-card"===r||"picture-circle"===r)&&(m||[]).forEach(e=>{"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",i&&i(e.originFileObj).then(t=>{e.thumbUrl=t||"",S()}))})},[r,m,i]),n.useEffect(()=>{Z(!0)},[]);let I=(e,t)=>{if(a)return null==t||t.preventDefault(),a(e)},N=e=>{"function"==typeof s?s(e):e.url&&window.open(e.url)},P=e=>{null==c||c(e)},D=e=>{if(d)return d(e,r);let t="uploading"===e.status,o=(null==p?void 0:p(e))?n.createElement(ei,null):n.createElement(et,null),i=t?n.createElement(er.Z,null):n.createElement(en.Z,null);return"picture"===r?i=t?n.createElement(er.Z,null):o:("picture-card"===r||"picture-circle"===r)&&(i=t?u.uploading:o),i},z=(e,t,r,o,i)=>{let a={type:"text",size:"small",title:o,onClick:r=>{var o,i;t(),n.isValidElement(e)&&(null===(i=(o=e.props).onClick)||void 0===i||i.call(o,r))},className:`${r}-list-item-action`};if(i&&(a.disabled=O),n.isValidElement(e)){let t=(0,ec.Tm)(e,Object.assign(Object.assign({},e.props),{onClick:()=>{}}));return n.createElement(eu.ZP,Object.assign({},a,{icon:t}))}return n.createElement(eu.ZP,Object.assign({},a),n.createElement("span",null,e))};n.useImperativeHandle(t,()=>({handlePreview:I,handleDownload:N}));let{getPrefixCls:F}=n.useContext(R.E_),M=F("upload",f),A=F(),T=l()(`${M}-list`,`${M}-list-${r}`),L=(0,o.Z)(m.map(e=>({key:e.uid,file:e}))),H="picture-card"===r||"picture-circle"===r?"animate-inline":"animate",B={motionDeadline:2e3,motionName:`${M}-${H}`,keys:L,motionAppear:j},X=n.useMemo(()=>{let e=Object.assign({},(0,es.Z)(A));return delete e.onAppearEnd,delete e.onEnterEnd,delete e.onLeaveEnd,e},[A]);return"picture-card"!==r&&"picture-circle"!==r&&(B=Object.assign(Object.assign({},X),B)),n.createElement("div",{className:T},n.createElement(ea.V4,Object.assign({},B,{component:!1}),e=>{let{key:t,file:o,className:i,style:a}=e;return n.createElement(eC,{key:t,locale:u,prefixCls:M,className:i,style:a,file:o,items:m,progress:k,listType:r,isImgUrl:p,showPreviewIcon:g,showRemoveIcon:h,showDownloadIcon:b,removeIcon:v,previewIcon:y,downloadIcon:$,extra:w,iconRender:D,actionIconRender:z,itemRender:x,onPreview:I,onDownload:N,onClose:P})}),C&&n.createElement(ea.ZP,Object.assign({},B,{visible:E,forceRender:!0}),e=>{let{className:t,style:r}=e;return(0,ec.Tm)(C,e=>({className:l()(e.className,t),style:Object.assign(Object.assign(Object.assign({},r),{pointerEvents:t?"none":void 0}),e.style)}))}))}),ex=`__LIST_IGNORE_${Date.now()}__`,eO=n.forwardRef((e,t)=>{let{fileList:r,defaultFileList:a,onRemove:s,showUploadList:c=!0,listType:u="text",onPreview:d,onDownload:p,onChange:f,onDrop:m,previewFile:g,disabled:h,locale:b,iconRender:v,isImageUrl:y,progress:$,prefixCls:w,className:k,type:C="select",children:E,style:x,itemRender:O,maxCount:S,data:j={},multiple:Z=!1,hasControlInside:I=!0,action:N="",accept:A="",supportServerRender:T=!0,rootClassName:L}=e,H=n.useContext(z.Z),B=null!=h?h:H,[X,_]=(0,D.Z)(a||[],{value:r,postState:e=>null!=e?e:[]}),[W,q]=n.useState("drop"),U=n.useRef(null),V=n.useRef(null);n.useMemo(()=>{let e=Date.now();(r||[]).forEach((t,r)=>{t.uid||Object.isFrozen(t)||(t.uid=`__AUTO__${e}_${r}__`)})},[r]);let G=(e,t,r)=>{let n=(0,o.Z)(t),a=!1;1===S?n=n.slice(-1):S&&(a=n.length>S,n=n.slice(0,S)),(0,i.flushSync)(()=>{_(n)});let l={file:e,fileList:n};r&&(l.event=r),(!a||"removed"===e.status||n.some(t=>t.uid===e.uid))&&(0,i.flushSync)(()=>{null==f||f(l)})},J=e=>{let t=e.filter(e=>!e.file[ex]);if(!t.length)return;let r=t.map(e=>ed(e.file)),n=(0,o.Z)(X);r.forEach(e=>{n=ep(e,n)}),r.forEach((e,r)=>{let o=e;if(t[r].parsedFile)e.status="uploading";else{let t;let{originFileObj:r}=e;try{t=new File([r],r.name,{type:r.type})}catch(e){(t=new Blob([r],{type:r.type})).name=r.name,t.lastModifiedDate=new Date,t.lastModified=new Date().getTime()}t.uid=e.uid,o=t}G(o,n)})},K=(e,t,r)=>{try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}if(!ef(t,X))return;let n=ed(t);n.status="done",n.percent=100,n.response=e,n.xhr=r;let o=ep(n,X);G(n,o)},Y=(e,t)=>{if(!ef(t,X))return;let r=ed(t);r.status="uploading",r.percent=e.percent;let n=ep(r,X);G(r,n,e)},ee=(e,t,r)=>{if(!ef(r,X))return;let n=ed(r);n.error=e,n.response=t,n.status="error";let o=ep(n,X);G(n,o)},et=e=>{let t;Promise.resolve("function"==typeof s?s(e):s).then(r=>{var n;if(!1===r)return;let o=function(e,t){let r=void 0!==e.uid?"uid":"name",n=t.filter(t=>t[r]!==e[r]);return n.length===t.length?null:n}(e,X);o&&(t=Object.assign(Object.assign({},e),{status:"removed"}),null==X||X.forEach(e=>{let r=void 0!==t.uid?"uid":"name";e[r]!==t[r]||Object.isFrozen(e)||(e.status="removed")}),null===(n=U.current)||void 0===n||n.abort(t),G(t,o))})},er=e=>{q(e.type),"drop"===e.type&&(null==m||m(e))};n.useImperativeHandle(t,()=>({onBatchStart:J,onSuccess:K,onProgress:Y,onError:ee,fileList:X,upload:U.current,nativeElement:V.current}));let{getPrefixCls:en,direction:eo,upload:ei}=n.useContext(R.E_),ea=en("upload",w),el=Object.assign(Object.assign({onBatchStart:J,onError:ee,onProgress:Y,onSuccess:K},e),{data:j,multiple:Z,action:N,accept:A,supportServerRender:T,prefixCls:ea,disabled:B,beforeUpload:(t,r)=>{var n,o,i,a;return n=void 0,o=void 0,i=void 0,a=function*(){let{beforeUpload:n,transformFile:o}=e,i=t;if(n){let e=yield n(t,r);if(!1===e)return!1;if(delete t[ex],e===ex)return Object.defineProperty(t,ex,{value:!0,configurable:!0}),!1;"object"==typeof e&&e&&(i=e)}return o&&(i=yield o(i)),i},new(i||(i=Promise))(function(e,t){function r(e){try{s(a.next(e))}catch(e){t(e)}}function l(e){try{s(a.throw(e))}catch(e){t(e)}}function s(t){var n;t.done?e(t.value):((n=t.value)instanceof i?n:new i(function(e){e(n)})).then(r,l)}s((a=a.apply(n,o||[])).next())})},onChange:void 0,hasControlInside:I});delete el.className,delete el.style,(!E||B)&&delete el.id;let es=`${ea}-wrapper`,[ec,eu,em]=Q(ea,es),[eg]=(0,F.Z)("Upload",M.Z.Upload),{showRemoveIcon:eh,showPreviewIcon:eb,showDownloadIcon:ev,removeIcon:ey,previewIcon:e$,downloadIcon:ew,extra:ek}="boolean"==typeof c?{}:c,eC=void 0===eh?!B:!!eh,eO=(e,t)=>c?n.createElement(eE,{prefixCls:ea,listType:u,items:X,previewFile:g,onPreview:d,onDownload:p,onRemove:et,showRemoveIcon:eC,showPreviewIcon:eb,showDownloadIcon:ev,removeIcon:ey,previewIcon:e$,downloadIcon:ew,iconRender:v,extra:ek,locale:Object.assign(Object.assign({},eg),b),isImageUrl:y,progress:$,appendAction:e,appendActionVisible:t,itemRender:O,disabled:B}):e,eS=l()(es,k,L,eu,em,null==ei?void 0:ei.className,{[`${ea}-rtl`]:"rtl"===eo,[`${ea}-picture-card-wrapper`]:"picture-card"===u,[`${ea}-picture-circle-wrapper`]:"picture-circle"===u}),ej=Object.assign(Object.assign({},null==ei?void 0:ei.style),x);if("drag"===C){let e=l()(eu,ea,`${ea}-drag`,{[`${ea}-drag-uploading`]:X.some(e=>"uploading"===e.status),[`${ea}-drag-hover`]:"dragover"===W,[`${ea}-disabled`]:B,[`${ea}-rtl`]:"rtl"===eo});return ec(n.createElement("span",{className:eS,ref:V},n.createElement("div",{className:e,style:ej,onDrop:er,onDragOver:er,onDragLeave:er},n.createElement(P,Object.assign({},el,{ref:U,className:`${ea}-btn`}),n.createElement("div",{className:`${ea}-drag-container`},E))),eO()))}let eZ=l()(ea,`${ea}-select`,{[`${ea}-disabled`]:B}),eI=n.createElement("div",{className:eZ,style:E?void 0:{display:"none"}},n.createElement(P,Object.assign({},el,{ref:U})));return ec("picture-card"===u||"picture-circle"===u?n.createElement("span",{className:eS,ref:V},eO(eI,!!E)):n.createElement("span",{className:eS,ref:V},eI,eO()))});var eS=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let ej=n.forwardRef((e,t)=>{var{style:r,height:o,hasControlInside:i=!1}=e,a=eS(e,["style","height","hasControlInside"]);return n.createElement(eO,Object.assign({ref:t,hasControlInside:i},a,{type:"drag",style:Object.assign(Object.assign({},r),{height:o})}))});eO.Dragger=ej,eO.LIST_IGNORE=ex;var eZ=eO}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4681-1595f85e429f4b9a.js b/dbgpt/app/static/web/_next/static/chunks/4681-1595f85e429f4b9a.js deleted file mode 100644 index 5e363eec2..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4681-1595f85e429f4b9a.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4681],{96890:function(e,n,t){t.d(n,{Z:function(){return d}});var r=t(42096),a=t(10921),o=t(38497),l=t(42834),i=["type","children"],c=new Set;function s(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[n];if("string"==typeof t&&t.length&&!c.has(t)){var r=document.createElement("script");r.setAttribute("src",t),r.setAttribute("data-namespace",t),e.length>n+1&&(r.onload=function(){s(e,n+1)},r.onerror=function(){s(e,n+1)}),c.add(t),document.body.appendChild(r)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.scriptUrl,t=e.extraCommonProps,c=void 0===t?{}:t;n&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(n)?s(n.reverse()):s([n]));var d=o.forwardRef(function(e,n){var t=e.type,s=e.children,d=(0,a.Z)(e,i),u=null;return e.type&&(u=o.createElement("use",{xlinkHref:"#".concat(t)})),s&&(u=s),o.createElement(l.Z,(0,r.Z)({},c,d,{ref:n}),u)});return d.displayName="Iconfont",d}},69274:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(42096),a=t(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},l=t(75651),i=a.forwardRef(function(e,n){return a.createElement(l.Z,(0,r.Z)({},e,{ref:n,icon:o}))})},46584:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(42096),a=t(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-200 0H360v-72h304v72z"}}]},name:"delete",theme:"filled"},l=t(75651),i=a.forwardRef(function(e,n){return a.createElement(l.Z,(0,r.Z)({},e,{ref:n,icon:o}))})},72097:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(42096),a=t(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},l=t(75651),i=a.forwardRef(function(e,n){return a.createElement(l.Z,(0,r.Z)({},e,{ref:n,icon:o}))})},1626:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(42096),a=t(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.3 338.4a447.57 447.57 0 00-96.1-143.3 443.09 443.09 0 00-143-96.3A443.91 443.91 0 00512 64h-2c-60.5.3-119 12.3-174.1 35.9a444.08 444.08 0 00-141.7 96.5 445 445 0 00-95 142.8A449.89 449.89 0 0065 514.1c.3 69.4 16.9 138.3 47.9 199.9v152c0 25.4 20.6 46 45.9 46h151.8a447.72 447.72 0 00199.5 48h2.1c59.8 0 117.7-11.6 172.3-34.3A443.2 443.2 0 00827 830.5c41.2-40.9 73.6-88.7 96.3-142 23.5-55.2 35.5-113.9 35.8-174.5.2-60.9-11.6-120-34.8-175.6zM312.4 560c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.4 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48z"}}]},name:"message",theme:"filled"},l=t(75651),i=a.forwardRef(function(e,n){return a.createElement(l.Z,(0,r.Z)({},e,{ref:n,icon:o}))})},629:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(42096),a=t(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},l=t(75651),i=a.forwardRef(function(e,n){return a.createElement(l.Z,(0,r.Z)({},e,{ref:n,icon:o}))})},35732:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(42096),a=t(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},l=t(75651),i=a.forwardRef(function(e,n){return a.createElement(l.Z,(0,r.Z)({},e,{ref:n,icon:o}))})},42041:function(e,n,t){function r(e){return["small","middle","large"].includes(e)}function a(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}t.d(n,{T:function(){return a},n:function(){return r}})},80335:function(e,n,t){t.d(n,{Z:function(){return g}});var r=t(749),a=t(38497),o=t(52896),l=t(26869),i=t.n(l),c=t(27691),s=t(63346),d=t(10755),u=t(80214),m=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);an.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]]);return t};let f=e=>{let{getPopupContainer:n,getPrefixCls:t,direction:l}=a.useContext(s.E_),{prefixCls:f,type:p="default",danger:g,disabled:h,loading:v,onClick:b,htmlType:y,children:$,className:C,menu:O,arrow:w,autoFocus:E,overlay:k,trigger:I,align:S,open:x,onOpenChange:Z,placement:N,getPopupContainer:j,href:P,icon:M=a.createElement(o.Z,null),title:z,buttonsRender:T=e=>e,mouseEnterDelay:H,mouseLeaveDelay:R,overlayClassName:D,overlayStyle:q,destroyPopupOnHide:L,dropdownRender:B}=e,A=m(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),_=t("dropdown",f),W=`${_}-button`,F={menu:O,arrow:w,autoFocus:E,align:S,disabled:h,trigger:h?[]:I,onOpenChange:Z,getPopupContainer:j||n,mouseEnterDelay:H,mouseLeaveDelay:R,overlayClassName:D,overlayStyle:q,destroyPopupOnHide:L,dropdownRender:B},{compactSize:K,compactItemClassnames:X}=(0,u.ri)(_,l),V=i()(W,X,C);"overlay"in e&&(F.overlay=k),"open"in e&&(F.open=x),"placement"in e?F.placement=N:F.placement="rtl"===l?"bottomLeft":"bottomRight";let U=a.createElement(c.ZP,{type:p,danger:g,disabled:h,loading:v,onClick:b,htmlType:y,href:P,title:z},$),G=a.createElement(c.ZP,{type:p,danger:g,icon:M}),[Q,Y]=T([U,G]);return a.createElement(d.Z.Compact,Object.assign({className:V,size:K,block:!0},A),Q,a.createElement(r.Z,Object.assign({},F),Y))};f.__ANT_BUTTON=!0;let p=r.Z;p.Button=f;var g=p},13419:function(e,n,t){t.d(n,{Z:function(){return k}});var r=t(38497),a=t(71836),o=t(26869),l=t.n(o),i=t(77757),c=t(55598),s=t(63346),d=t(62971),u=t(4558),m=t(74156),f=t(27691),p=t(5496),g=t(61261),h=t(61013),v=t(83387),b=t(90102);let y=e=>{let{componentCls:n,iconCls:t,antCls:r,zIndexPopup:a,colorText:o,colorWarning:l,marginXXS:i,marginXS:c,fontSize:s,fontWeightStrong:d,colorTextHeading:u}=e;return{[n]:{zIndex:a,[`&${r}-popover`]:{fontSize:s},[`${n}-message`]:{marginBottom:c,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${n}-message-icon ${t}`]:{color:l,fontSize:s,lineHeight:1,marginInlineEnd:c},[`${n}-title`]:{fontWeight:d,color:u,"&:only-child":{fontWeight:"normal"}},[`${n}-description`]:{marginTop:i,color:o}},[`${n}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:c}}}}};var $=(0,b.I$)("Popconfirm",e=>y(e),e=>{let{zIndexPopupBase:n}=e;return{zIndexPopup:n+60}},{resetStyle:!1}),C=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);an.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]]);return t};let O=e=>{let{prefixCls:n,okButtonProps:t,cancelButtonProps:o,title:l,description:i,cancelText:c,okText:d,okType:v="primary",icon:b=r.createElement(a.Z,null),showCancel:y=!0,close:$,onConfirm:C,onCancel:O,onPopupClick:w}=e,{getPrefixCls:E}=r.useContext(s.E_),[k]=(0,g.Z)("Popconfirm",h.Z.Popconfirm),I=(0,m.Z)(l),S=(0,m.Z)(i);return r.createElement("div",{className:`${n}-inner-content`,onClick:w},r.createElement("div",{className:`${n}-message`},b&&r.createElement("span",{className:`${n}-message-icon`},b),r.createElement("div",{className:`${n}-message-text`},I&&r.createElement("div",{className:`${n}-title`},I),S&&r.createElement("div",{className:`${n}-description`},S))),r.createElement("div",{className:`${n}-buttons`},y&&r.createElement(f.ZP,Object.assign({onClick:O,size:"small"},o),c||(null==k?void 0:k.cancelText)),r.createElement(u.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,p.nx)(v)),t),actionFn:C,close:$,prefixCls:E("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},d||(null==k?void 0:k.okText))))};var w=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);an.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]]);return t};let E=r.forwardRef((e,n)=>{var t,o;let{prefixCls:u,placement:m="top",trigger:f="click",okType:p="primary",icon:g=r.createElement(a.Z,null),children:h,overlayClassName:v,onOpenChange:b,onVisibleChange:y}=e,C=w(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:E}=r.useContext(s.E_),[k,I]=(0,i.Z)(!1,{value:null!==(t=e.open)&&void 0!==t?t:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),S=(e,n)=>{I(e,!0),null==y||y(e),null==b||b(e,n)},x=E("popconfirm",u),Z=l()(x,v),[N]=$(x);return N(r.createElement(d.Z,Object.assign({},(0,c.Z)(C,["title"]),{trigger:f,placement:m,onOpenChange:(n,t)=>{let{disabled:r=!1}=e;r||S(n,t)},open:k,ref:n,overlayClassName:Z,content:r.createElement(O,Object.assign({okType:p,icon:g},e,{prefixCls:x,close:e=>{S(!1,e)},onConfirm:n=>{var t;return null===(t=e.onConfirm)||void 0===t?void 0:t.call(void 0,n)},onCancel:n=>{var t;S(!1,n),null===(t=e.onCancel)||void 0===t||t.call(void 0,n)}})),"data-popover-inject":!0}),h))});E._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:n,placement:t,className:a,style:o}=e,i=C(e,["prefixCls","placement","className","style"]),{getPrefixCls:c}=r.useContext(s.E_),d=c("popconfirm",n),[u]=$(d);return u(r.createElement(v.ZP,{placement:t,className:l()(d,a),style:o,content:r.createElement(O,Object.assign({prefixCls:d},i))}))};var k=E},10755:function(e,n,t){t.d(n,{Z:function(){return h}});var r=t(38497),a=t(26869),o=t.n(a),l=t(10469),i=t(42041),c=t(63346),s=t(80214);let d=r.createContext({latestIndex:0}),u=d.Provider;var m=e=>{let{className:n,index:t,children:a,split:o,style:l}=e,{latestIndex:i}=r.useContext(d);return null==a?null:r.createElement(r.Fragment,null,r.createElement("div",{className:n,style:l},a),tn.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);an.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]]);return t};let g=r.forwardRef((e,n)=>{var t,a,s;let{getPrefixCls:d,space:g,direction:h}=r.useContext(c.E_),{size:v=null!==(t=null==g?void 0:g.size)&&void 0!==t?t:"small",align:b,className:y,rootClassName:$,children:C,direction:O="horizontal",prefixCls:w,split:E,style:k,wrap:I=!1,classNames:S,styles:x}=e,Z=p(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[N,j]=Array.isArray(v)?v:[v,v],P=(0,i.n)(j),M=(0,i.n)(N),z=(0,i.T)(j),T=(0,i.T)(N),H=(0,l.Z)(C,{keepEmpty:!0}),R=void 0===b&&"horizontal"===O?"center":b,D=d("space",w),[q,L,B]=(0,f.Z)(D),A=o()(D,null==g?void 0:g.className,L,`${D}-${O}`,{[`${D}-rtl`]:"rtl"===h,[`${D}-align-${R}`]:R,[`${D}-gap-row-${j}`]:P,[`${D}-gap-col-${N}`]:M},y,$,B),_=o()(`${D}-item`,null!==(a=null==S?void 0:S.item)&&void 0!==a?a:null===(s=null==g?void 0:g.classNames)||void 0===s?void 0:s.item),W=0,F=H.map((e,n)=>{var t,a;null!=e&&(W=n);let o=(null==e?void 0:e.key)||`${_}-${n}`;return r.createElement(m,{className:_,key:o,index:n,split:E,style:null!==(t=null==x?void 0:x.item)&&void 0!==t?t:null===(a=null==g?void 0:g.styles)||void 0===a?void 0:a.item},e)}),K=r.useMemo(()=>({latestIndex:W}),[W]);if(0===H.length)return null;let X={};return I&&(X.flexWrap="wrap"),!M&&T&&(X.columnGap=N),!P&&z&&(X.rowGap=j),q(r.createElement("div",Object.assign({ref:n,className:A,style:Object.assign(Object.assign(Object.assign({},X),null==g?void 0:g.style),k)},Z),r.createElement(u,{value:K},F)))});g.Compact=s.ZP;var h=g},36647:function(e,n){n.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},33445:function(e,n,t){t.d(n,{Fm:function(){return p}});var r=t(72178),a=t(60234);let o=new r.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new r.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),i=new r.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new r.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),s=new r.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new r.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),u=new r.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),m=new r.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),f={"move-up":{inKeyframes:u,outKeyframes:m},"move-down":{inKeyframes:o,outKeyframes:l},"move-left":{inKeyframes:i,outKeyframes:c},"move-right":{inKeyframes:s,outKeyframes:d}},p=(e,n)=>{let{antCls:t}=e,r=`${t}-${n}`,{inKeyframes:o,outKeyframes:l}=f[n];return[(0,a.R)(r,o,l,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},73837:function(e,n,t){t.d(n,{Z:function(){return P}});var r=t(38497),a=t(37022),o=t(26869),l=t.n(o),i=t(42096),c=t(65148),s=t(65347),d=t(10921),u=t(77757),m=t(16956),f=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],p=r.forwardRef(function(e,n){var t,a=e.prefixCls,o=void 0===a?"rc-switch":a,p=e.className,g=e.checked,h=e.defaultChecked,v=e.disabled,b=e.loadingIcon,y=e.checkedChildren,$=e.unCheckedChildren,C=e.onClick,O=e.onChange,w=e.onKeyDown,E=(0,d.Z)(e,f),k=(0,u.Z)(!1,{value:g,defaultValue:h}),I=(0,s.Z)(k,2),S=I[0],x=I[1];function Z(e,n){var t=S;return v||(x(t=e),null==O||O(t,n)),t}var N=l()(o,p,(t={},(0,c.Z)(t,"".concat(o,"-checked"),S),(0,c.Z)(t,"".concat(o,"-disabled"),v),t));return r.createElement("button",(0,i.Z)({},E,{type:"button",role:"switch","aria-checked":S,disabled:v,className:N,ref:n,onKeyDown:function(e){e.which===m.Z.LEFT?Z(!1,e):e.which===m.Z.RIGHT&&Z(!0,e),null==w||w(e)},onClick:function(e){var n=Z(!S,e);null==C||C(n,e)}}),b,r.createElement("span",{className:"".concat(o,"-inner")},r.createElement("span",{className:"".concat(o,"-inner-checked")},y),r.createElement("span",{className:"".concat(o,"-inner-unchecked")},$)))});p.displayName="Switch";var g=t(37243),h=t(63346),v=t(3482),b=t(82014),y=t(72178),$=t(51084),C=t(60848),O=t(90102),w=t(74934);let E=e=>{let{componentCls:n,trackHeightSM:t,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:o,innerMaxMarginSM:l,handleSizeSM:i,calc:c}=e,s=`${n}-inner`,d=(0,y.bf)(c(i).add(c(r).mul(2)).equal()),u=(0,y.bf)(c(l).mul(2).equal());return{[n]:{[`&${n}-small`]:{minWidth:a,height:t,lineHeight:(0,y.bf)(t),[`${n}-inner`]:{paddingInlineStart:l,paddingInlineEnd:o,[`${s}-checked, ${s}-unchecked`]:{minHeight:t},[`${s}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${u})`,marginInlineEnd:`calc(100% - ${d} + ${u})`},[`${s}-unchecked`]:{marginTop:c(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${n}-handle`]:{width:i,height:i},[`${n}-loading-icon`]:{top:c(c(i).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${n}-checked`]:{[`${n}-inner`]:{paddingInlineStart:o,paddingInlineEnd:l,[`${s}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${s}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${u})`,marginInlineEnd:`calc(-100% + ${d} - ${u})`}},[`${n}-handle`]:{insetInlineStart:`calc(100% - ${(0,y.bf)(c(i).add(r).equal())})`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${s}`]:{[`${s}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${n}-checked ${s}`]:{[`${s}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},k=e=>{let{componentCls:n,handleSize:t,calc:r}=e;return{[n]:{[`${n}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(t).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${n}-checked ${n}-loading-icon`]:{color:e.switchColor}}}},I=e=>{let{componentCls:n,trackPadding:t,handleBg:r,handleShadow:a,handleSize:o,calc:l}=e,i=`${n}-handle`;return{[n]:{[i]:{position:"absolute",top:t,insetInlineStart:t,width:o,height:o,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:l(o).div(2).equal(),boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${n}-checked ${i}`]:{insetInlineStart:`calc(100% - ${(0,y.bf)(l(o).add(t).equal())})`},[`&:not(${n}-disabled):active`]:{[`${i}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${n}-checked ${i}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},S=e=>{let{componentCls:n,trackHeight:t,trackPadding:r,innerMinMargin:a,innerMaxMargin:o,handleSize:l,calc:i}=e,c=`${n}-inner`,s=(0,y.bf)(i(l).add(i(r).mul(2)).equal()),d=(0,y.bf)(i(o).mul(2).equal());return{[n]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:o,paddingInlineEnd:a,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${c}-checked, ${c}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:t},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${s} - ${d})`,marginInlineEnd:`calc(100% - ${s} + ${d})`},[`${c}-unchecked`]:{marginTop:i(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${n}-checked ${c}`]:{paddingInlineStart:a,paddingInlineEnd:o,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${s} + ${d})`,marginInlineEnd:`calc(-100% + ${s} - ${d})`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:i(r).mul(2).equal(),marginInlineEnd:i(r).mul(-1).mul(2).equal()}},[`&${n}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:i(r).mul(-1).mul(2).equal(),marginInlineEnd:i(r).mul(2).equal()}}}}}},x=e=>{let{componentCls:n,trackHeight:t,trackMinWidth:r}=e;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,C.Wf)(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:t,lineHeight:(0,y.bf)(t),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${n}-disabled)`]:{background:e.colorTextTertiary}}),(0,C.Qy)(e)),{[`&${n}-checked`]:{background:e.switchColor,[`&:hover:not(${n}-disabled)`]:{background:e.colorPrimaryHover}},[`&${n}-loading, &${n}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${n}-rtl`]:{direction:"rtl"}})}};var Z=(0,O.I$)("Switch",e=>{let n=(0,w.IX)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[x(n),S(n),I(n),k(n),E(n)]},e=>{let{fontSize:n,lineHeight:t,controlHeight:r,colorWhite:a}=e,o=n*t,l=r/2,i=o-4,c=l-4;return{trackHeight:o,trackHeightSM:l,trackMinWidth:2*i+8,trackMinWidthSM:2*c+4,trackPadding:2,handleBg:a,handleSize:i,handleSizeSM:c,handleShadow:`0 2px 4px 0 ${new $.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:i/2,innerMaxMargin:i+2+4,innerMinMarginSM:c/2,innerMaxMarginSM:c+2+4}}),N=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);an.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]]);return t};let j=r.forwardRef((e,n)=>{let{prefixCls:t,size:o,disabled:i,loading:c,className:s,rootClassName:d,style:m,checked:f,value:y,defaultChecked:$,defaultValue:C,onChange:O}=e,w=N(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[E,k]=(0,u.Z)(!1,{value:null!=f?f:y,defaultValue:null!=$?$:C}),{getPrefixCls:I,direction:S,switch:x}=r.useContext(h.E_),j=r.useContext(v.Z),P=(null!=i?i:j)||c,M=I("switch",t),z=r.createElement("div",{className:`${M}-handle`},c&&r.createElement(a.Z,{className:`${M}-loading-icon`})),[T,H,R]=Z(M),D=(0,b.Z)(o),q=l()(null==x?void 0:x.className,{[`${M}-small`]:"small"===D,[`${M}-loading`]:c,[`${M}-rtl`]:"rtl"===S},s,d,H,R),L=Object.assign(Object.assign({},null==x?void 0:x.style),m);return T(r.createElement(g.Z,{component:"Switch"},r.createElement(p,Object.assign({},w,{checked:E,onChange:function(){k(arguments.length<=0?void 0:arguments[0]),null==O||O.apply(void 0,arguments)},prefixCls:M,className:q,style:L,disabled:P,ref:n,loadingIcon:z}))))});j.__ANT_SWITCH=!0;var P=j},49030:function(e,n,t){t.d(n,{Z:function(){return N}});var r=t(38497),a=t(26869),o=t.n(a),l=t(55598),i=t(55853),c=t(35883),s=t(55091),d=t(37243),u=t(63346),m=t(72178),f=t(51084),p=t(60848),g=t(74934),h=t(90102);let v=e=>{let{paddingXXS:n,lineWidth:t,tagPaddingHorizontal:r,componentCls:a,calc:o}=e,l=o(r).sub(t).equal(),i=o(n).sub(t).equal();return{[a]:Object.assign(Object.assign({},(0,p.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,m.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:n,fontSizeIcon:t,calc:r}=e,a=e.fontSizeSM,o=(0,g.IX)(e,{tagFontSize:a,tagLineHeight:(0,m.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(t).sub(r(n).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return o},y=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var $=(0,h.I$)("Tag",e=>{let n=b(e);return v(n)},y),C=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);an.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]]);return t};let O=r.forwardRef((e,n)=>{let{prefixCls:t,style:a,className:l,checked:i,onChange:c,onClick:s}=e,d=C(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:m,tag:f}=r.useContext(u.E_),p=m("tag",t),[g,h,v]=$(p),b=o()(p,`${p}-checkable`,{[`${p}-checkable-checked`]:i},null==f?void 0:f.className,l,h,v);return g(r.createElement("span",Object.assign({},d,{ref:n,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:b,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var w=t(86553);let E=e=>(0,w.Z)(e,(n,t)=>{let{textColor:r,lightBorderColor:a,lightColor:o,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${n}`]:{color:r,background:o,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var k=(0,h.bk)(["Tag","preset"],e=>{let n=b(e);return E(n)},y);let I=(e,n,t)=>{let r=function(e){if("string"!=typeof e)return e;let n=e.charAt(0).toUpperCase()+e.slice(1);return n}(t);return{[`${e.componentCls}${e.componentCls}-${n}`]:{color:e[`color${t}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var S=(0,h.bk)(["Tag","status"],e=>{let n=b(e);return[I(n,"success","Success"),I(n,"processing","Info"),I(n,"error","Error"),I(n,"warning","Warning")]},y),x=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);an.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]]);return t};let Z=r.forwardRef((e,n)=>{let{prefixCls:t,className:a,rootClassName:m,style:f,children:p,icon:g,color:h,onClose:v,bordered:b=!0,visible:y}=e,C=x(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:O,direction:w,tag:E}=r.useContext(u.E_),[I,Z]=r.useState(!0),N=(0,l.Z)(C,["closeIcon","closable"]);r.useEffect(()=>{void 0!==y&&Z(y)},[y]);let j=(0,i.o2)(h),P=(0,i.yT)(h),M=j||P,z=Object.assign(Object.assign({backgroundColor:h&&!M?h:void 0},null==E?void 0:E.style),f),T=O("tag",t),[H,R,D]=$(T),q=o()(T,null==E?void 0:E.className,{[`${T}-${h}`]:M,[`${T}-has-color`]:h&&!M,[`${T}-hidden`]:!I,[`${T}-rtl`]:"rtl"===w,[`${T}-borderless`]:!b},a,m,R,D),L=e=>{e.stopPropagation(),null==v||v(e),e.defaultPrevented||Z(!1)},[,B]=(0,c.Z)((0,c.w)(e),(0,c.w)(E),{closable:!1,closeIconRender:e=>{let n=r.createElement("span",{className:`${T}-close-icon`,onClick:L},e);return(0,s.wm)(e,n,e=>({onClick:n=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,n),L(n)},className:o()(null==e?void 0:e.className,`${T}-close-icon`)}))}}),A="function"==typeof C.onClick||p&&"a"===p.type,_=g||null,W=_?r.createElement(r.Fragment,null,_,p&&r.createElement("span",null,p)):p,F=r.createElement("span",Object.assign({},N,{ref:n,className:q,style:z}),W,B,j&&r.createElement(k,{key:"preset",prefixCls:T}),P&&r.createElement(S,{key:"status",prefixCls:T}));return H(A?r.createElement(d.Z,{component:"Tag"},F):F)});Z.CheckableTag=O;var N=Z}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5286.3dec18a760a5a8b4.js b/dbgpt/app/static/web/_next/static/chunks/5286.3dec18a760a5a8b4.js new file mode 100644 index 000000000..279d32776 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5286.3dec18a760a5a8b4.js @@ -0,0 +1,4 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5286],{20444:function(e,t,r){"use strict";r.d(t,{L:function(){return u}});var n=r(38497),o=r(13454),a=r(77268),i=r(19079);function l(e,t){switch(t.type){case i.Q.blur:case i.Q.escapeKeyDown:return{open:!1};case i.Q.toggle:return{open:!e.open};case i.Q.open:return{open:!0};case i.Q.close:return{open:!1};default:throw Error("Unhandled action")}}var s=r(96469);function u(e){let{children:t,open:r,defaultOpen:u,onOpenChange:c}=e,{contextValue:d}=function(e={}){let{defaultOpen:t,onOpenChange:r,open:o}=e,[s,u]=n.useState(""),[c,d]=n.useState(null),f=n.useRef(null),p=n.useCallback((e,t,n,o)=>{"open"===t&&(null==r||r(e,n)),f.current=o},[r]),v=n.useMemo(()=>void 0!==o?{open:o}:{},[o]),[m,g]=(0,a.r)({controlledProps:v,initialState:t?{open:!0}:{open:!1},onStateChange:p,reducer:l});return n.useEffect(()=>{m.open||null===f.current||f.current===i.Q.blur||null==c||c.focus()},[m.open,c]),{contextValue:{state:m,dispatch:g,popupId:s,registerPopup:u,registerTrigger:d,triggerElement:c},open:m.open}}({defaultOpen:u,onOpenChange:c,open:r});return(0,s.jsx)(o.D.Provider,{value:d,children:t})}},4309:function(e,t,r){"use strict";r.d(t,{r:function(){return eT}});var n,o,a,i,l,s=r(42096),u=r(79760),c=r(38497),d=r(44520),f=r(66268),p=r(78837);function v(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function m(e){var t=v(e).Element;return e instanceof t||e instanceof Element}function g(e){var t=v(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function h(e){if("undefined"==typeof ShadowRoot)return!1;var t=v(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var b=Math.max,x=Math.min,y=Math.round;function S(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Z(){return!/^((?!chrome|android).)*safari/i.test(S())}function k(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),o=1,a=1;t&&g(e)&&(o=e.offsetWidth>0&&y(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&y(n.height)/e.offsetHeight||1);var i=(m(e)?v(e):window).visualViewport,l=!Z()&&r,s=(n.left+(l&&i?i.offsetLeft:0))/o,u=(n.top+(l&&i?i.offsetTop:0))/a,c=n.width/o,d=n.height/a;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function w(e){var t=v(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function C(e){return e?(e.nodeName||"").toLowerCase():null}function z(e){return((m(e)?e.ownerDocument:e.document)||window.document).documentElement}function I(e){return k(z(e)).left+w(e).scrollLeft}function R(e){return v(e).getComputedStyle(e)}function P(e){var t=R(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function O(e){var t=k(e),r=e.offsetWidth,n=e.offsetHeight;return 1>=Math.abs(t.width-r)&&(r=t.width),1>=Math.abs(t.height-n)&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function T(e){return"html"===C(e)?e:e.assignedSlot||e.parentNode||(h(e)?e.host:null)||z(e)}function L(e,t){void 0===t&&(t=[]);var r,n=function e(t){return["html","body","#document"].indexOf(C(t))>=0?t.ownerDocument.body:g(t)&&P(t)?t:e(T(t))}(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),a=v(n),i=o?[a].concat(a.visualViewport||[],P(n)?n:[]):n,l=t.concat(i);return o?l:l.concat(L(T(i)))}function D(e){return g(e)&&"fixed"!==R(e).position?e.offsetParent:null}function M(e){for(var t=v(e),r=D(e);r&&["table","td","th"].indexOf(C(r))>=0&&"static"===R(r).position;)r=D(r);return r&&("html"===C(r)||"body"===C(r)&&"static"===R(r).position)?t:r||function(e){var t=/firefox/i.test(S());if(/Trident/i.test(S())&&g(e)&&"fixed"===R(e).position)return null;var r=T(e);for(h(r)&&(r=r.host);g(r)&&0>["html","body"].indexOf(C(r));){var n=R(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var $="bottom",B="right",E="left",j="auto",A=["top",$,B,E],N="start",H="viewport",V="popper",W=A.reduce(function(e,t){return e.concat([t+"-"+N,t+"-end"])},[]),_=[].concat(A,[j]).reduce(function(e,t){return e.concat([t,t+"-"+N,t+"-end"])},[]),F=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],J={placement:"bottom",modifiers:[],strategy:"absolute"};function q(){for(var e=arguments.length,t=Array(e),r=0;r=0?"x":"y"}function Y(e){var t,r=e.reference,n=e.element,o=e.placement,a=o?G(o):null,i=o?X(o):null,l=r.x+r.width/2-n.width/2,s=r.y+r.height/2-n.height/2;switch(a){case"top":t={x:l,y:r.y-n.height};break;case $:t={x:l,y:r.y+r.height};break;case B:t={x:r.x+r.width,y:s};break;case E:t={x:r.x-n.width,y:s};break;default:t={x:r.x,y:r.y}}var u=a?K(a):null;if(null!=u){var c="y"===u?"height":"width";switch(i){case N:t[u]=t[u]-(r[c]/2-n[c]/2);break;case"end":t[u]=t[u]+(r[c]/2-n[c]/2)}}return t}var Q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var t,r,n,o,a,i,l,s=e.popper,u=e.popperRect,c=e.placement,d=e.variation,f=e.offsets,p=e.position,m=e.gpuAcceleration,g=e.adaptive,h=e.roundOffsets,b=e.isFixed,x=f.x,S=void 0===x?0:x,Z=f.y,k=void 0===Z?0:Z,w="function"==typeof h?h({x:S,y:k}):{x:S,y:k};S=w.x,k=w.y;var C=f.hasOwnProperty("x"),I=f.hasOwnProperty("y"),P=E,O="top",T=window;if(g){var L=M(s),D="clientHeight",j="clientWidth";L===v(s)&&"static"!==R(L=z(s)).position&&"absolute"===p&&(D="scrollHeight",j="scrollWidth"),("top"===c||(c===E||c===B)&&"end"===d)&&(O=$,k-=(b&&L===T&&T.visualViewport?T.visualViewport.height:L[D])-u.height,k*=m?1:-1),(c===E||("top"===c||c===$)&&"end"===d)&&(P=B,S-=(b&&L===T&&T.visualViewport?T.visualViewport.width:L[j])-u.width,S*=m?1:-1)}var A=Object.assign({position:p},g&&Q),N=!0===h?(t={x:S,y:k},r=v(s),n=t.x,o=t.y,{x:y(n*(a=r.devicePixelRatio||1))/a||0,y:y(o*a)/a||0}):{x:S,y:k};return(S=N.x,k=N.y,m)?Object.assign({},A,((l={})[O]=I?"0":"",l[P]=C?"0":"",l.transform=1>=(T.devicePixelRatio||1)?"translate("+S+"px, "+k+"px)":"translate3d("+S+"px, "+k+"px, 0)",l)):Object.assign({},A,((i={})[O]=I?k+"px":"",i[P]=C?S+"px":"",i.transform="",i))}var et={left:"right",right:"left",bottom:"top",top:"bottom"};function er(e){return e.replace(/left|right|bottom|top/g,function(e){return et[e]})}var en={start:"end",end:"start"};function eo(e){return e.replace(/start|end/g,function(e){return en[e]})}function ea(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&h(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ei(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function el(e,t,r){var n,o,a,i,l,s,u,c,d,f;return t===H?ei(function(e,t){var r=v(e),n=z(e),o=r.visualViewport,a=n.clientWidth,i=n.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var u=Z();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+I(e),y:s}}(e,r)):m(t)?((n=k(t,!1,"fixed"===r)).top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n):ei((o=z(e),i=z(o),l=w(o),s=null==(a=o.ownerDocument)?void 0:a.body,u=b(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),c=b(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),d=-l.scrollLeft+I(o),f=-l.scrollTop,"rtl"===R(s||i).direction&&(d+=b(i.clientWidth,s?s.clientWidth:0)-u),{width:u,height:c,x:d,y:f}))}function es(){return{top:0,right:0,bottom:0,left:0}}function eu(e){return Object.assign({},es(),e)}function ec(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}function ed(e,t){void 0===t&&(t={});var r,n,o,a,i,l,s,u=t,c=u.placement,d=void 0===c?e.placement:c,f=u.strategy,p=void 0===f?e.strategy:f,v=u.boundary,h=u.rootBoundary,y=u.elementContext,S=void 0===y?V:y,Z=u.altBoundary,w=u.padding,I=void 0===w?0:w,P=eu("number"!=typeof I?I:ec(I,A)),O=e.rects.popper,D=e.elements[void 0!==Z&&Z?S===V?"reference":V:S],E=(r=m(D)?D:D.contextElement||z(e.elements.popper),l=(i=[].concat("clippingParents"===(n=void 0===v?"clippingParents":v)?(o=L(T(r)),m(a=["absolute","fixed"].indexOf(R(r).position)>=0&&g(r)?M(r):r)?o.filter(function(e){return m(e)&&ea(e,a)&&"body"!==C(e)}):[]):[].concat(n),[void 0===h?H:h]))[0],(s=i.reduce(function(e,t){var n=el(r,t,p);return e.top=b(n.top,e.top),e.right=x(n.right,e.right),e.bottom=x(n.bottom,e.bottom),e.left=b(n.left,e.left),e},el(r,l,p))).width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s),j=k(e.elements.reference),N=Y({reference:j,element:O,strategy:"absolute",placement:d}),W=ei(Object.assign({},O,N)),_=S===V?W:j,F={top:E.top-_.top+P.top,bottom:_.bottom-E.bottom+P.bottom,left:E.left-_.left+P.left,right:_.right-E.right+P.right},J=e.modifiersData.offset;if(S===V&&J){var q=J[d];Object.keys(F).forEach(function(e){var t=[B,$].indexOf(e)>=0?1:-1,r=["top",$].indexOf(e)>=0?"y":"x";F[e]+=q[r]*t})}return F}function ef(e,t,r){return b(e,x(t,r))}function ep(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ev(e){return["top",B,$,E].some(function(t){return e[t]>=0})}var em=(a=void 0===(o=(n={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=void 0===o||o,i=n.resize,l=void 0===i||i,s=v(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(e){e.addEventListener("scroll",r.update,U)}),l&&s.addEventListener("resize",r.update,U),function(){a&&u.forEach(function(e){e.removeEventListener("scroll",r.update,U)}),l&&s.removeEventListener("resize",r.update,U)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=Y({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=r.adaptive,a=r.roundOffsets,i=void 0===a||a,l={placement:G(t.placement),variation:X(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===n||n,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ee(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:i})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ee(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:i})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];g(o)&&C(o)&&(Object.assign(o.style,r),Object.keys(n).forEach(function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce(function(e,t){return e[t]="",e},{});g(n)&&C(n)&&(Object.assign(n.style,a),Object.keys(o).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=void 0===o?[0,0]:o,i=_.reduce(function(e,r){var n,o,i,l,s,u;return e[r]=(n=t.rects,i=[E,"top"].indexOf(o=G(r))>=0?-1:1,s=(l="function"==typeof a?a(Object.assign({},n,{placement:r})):a)[0],u=l[1],s=s||0,u=(u||0)*i,[E,B].indexOf(o)>=0?{x:u,y:s}:{x:s,y:u}),e},{}),l=i[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=void 0===o||o,i=r.altAxis,l=void 0===i||i,s=r.fallbackPlacements,u=r.padding,c=r.boundary,d=r.rootBoundary,f=r.altBoundary,p=r.flipVariations,v=void 0===p||p,m=r.allowedAutoPlacements,g=t.options.placement,h=G(g)===g,b=s||(h||!v?[er(g)]:function(e){if(G(e)===j)return[];var t=er(e);return[eo(e),t,eo(t)]}(g)),x=[g].concat(b).reduce(function(e,r){var n,o,a,i,l,s,f,p,g,h,b,x;return e.concat(G(r)===j?(o=(n={placement:r,boundary:c,rootBoundary:d,padding:u,flipVariations:v,allowedAutoPlacements:m}).placement,a=n.boundary,i=n.rootBoundary,l=n.padding,s=n.flipVariations,p=void 0===(f=n.allowedAutoPlacements)?_:f,0===(b=(h=(g=X(o))?s?W:W.filter(function(e){return X(e)===g}):A).filter(function(e){return p.indexOf(e)>=0})).length&&(b=h),Object.keys(x=b.reduce(function(e,r){return e[r]=ed(t,{placement:r,boundary:a,rootBoundary:i,padding:l})[G(r)],e},{})).sort(function(e,t){return x[e]-x[t]})):r)},[]),y=t.rects.reference,S=t.rects.popper,Z=new Map,k=!0,w=x[0],C=0;C=0,O=P?"width":"height",T=ed(t,{placement:z,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),L=P?R?B:E:R?$:"top";y[O]>S[O]&&(L=er(L));var D=er(L),M=[];if(a&&M.push(T[I]<=0),l&&M.push(T[L]<=0,T[D]<=0),M.every(function(e){return e})){w=z,k=!1;break}Z.set(z,M)}if(k)for(var H=v?3:1,V=function(e){var t=x.find(function(t){var r=Z.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return w=t,"break"},F=H;F>0&&"break"!==V(F);F--);t.placement!==w&&(t.modifiersData[n]._skip=!0,t.placement=w,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=r.altAxis,i=r.boundary,l=r.rootBoundary,s=r.altBoundary,u=r.padding,c=r.tether,d=void 0===c||c,f=r.tetherOffset,p=void 0===f?0:f,v=ed(t,{boundary:i,rootBoundary:l,padding:u,altBoundary:s}),m=G(t.placement),g=X(t.placement),h=!g,y=K(m),S="x"===y?"y":"x",Z=t.modifiersData.popperOffsets,k=t.rects.reference,w=t.rects.popper,C="function"==typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,z="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(Z){if(void 0===o||o){var P,T="y"===y?"top":E,L="y"===y?$:B,D="y"===y?"height":"width",j=Z[y],A=j+v[T],H=j-v[L],V=d?-w[D]/2:0,W=g===N?k[D]:w[D],_=g===N?-w[D]:-k[D],F=t.elements.arrow,J=d&&F?O(F):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:es(),U=q[T],Y=q[L],Q=ef(0,k[D],J[D]),ee=h?k[D]/2-V-Q-U-z.mainAxis:W-Q-U-z.mainAxis,et=h?-k[D]/2+V+Q+Y+z.mainAxis:_+Q+Y+z.mainAxis,er=t.elements.arrow&&M(t.elements.arrow),en=er?"y"===y?er.clientTop||0:er.clientLeft||0:0,eo=null!=(P=null==I?void 0:I[y])?P:0,ea=j+ee-eo-en,ei=j+et-eo,el=ef(d?x(A,ea):A,j,d?b(H,ei):H);Z[y]=el,R[y]=el-j}if(void 0!==a&&a){var eu,ec,ep="x"===y?"top":E,ev="x"===y?$:B,em=Z[S],eg="y"===S?"height":"width",eh=em+v[ep],eb=em-v[ev],ex=-1!==["top",E].indexOf(m),ey=null!=(ec=null==I?void 0:I[S])?ec:0,eS=ex?eh:em-k[eg]-w[eg]-ey+z.altAxis,eZ=ex?em+k[eg]+w[eg]-ey-z.altAxis:eb,ek=d&&ex?(eu=ef(eS,em,eZ))>eZ?eZ:eu:ef(d?eS:eh,em,d?eZ:eb);Z[S]=ek,R[S]=ek-em}t.modifiersData[n]=R}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r,n=e.state,o=e.name,a=e.options,i=n.elements.arrow,l=n.modifiersData.popperOffsets,s=G(n.placement),u=K(s),c=[E,B].indexOf(s)>=0?"height":"width";if(i&&l){var d=eu("number"!=typeof(t="function"==typeof(t=a.padding)?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:ec(t,A)),f=O(i),p="y"===u?"top":E,v="y"===u?$:B,m=n.rects.reference[c]+n.rects.reference[u]-l[u]-n.rects.popper[c],g=l[u]-n.rects.reference[u],h=M(i),b=h?"y"===u?h.clientHeight||0:h.clientWidth||0:0,x=d[p],y=b-f[c]-d[v],S=b/2-f[c]/2+(m/2-g/2),Z=ef(x,S,y);n.modifiersData[o]=((r={})[u]=Z,r.centerOffset=Z-S,r)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&ea(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=ed(t,{elementContext:"reference"}),l=ed(t,{altBoundary:!0}),s=ep(i,n),u=ep(l,o,a),c=ev(s),d=ev(u);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}).defaultModifiers)?[]:o,l=void 0===(i=n.defaultOptions)?J:i,function(e,t,r){void 0===r&&(r=l);var n,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},J,l),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},i=[],s=!1,u={state:o,setOptions:function(r){var n,s,d,f,p,v="function"==typeof r?r(o.options):r;c(),o.options=Object.assign({},l,o.options,v),o.scrollParents={reference:m(e)?L(e):e.contextElement?L(e.contextElement):[],popper:L(t)};var g=(s=Object.keys(n=[].concat(a,o.options.modifiers).reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{})).map(function(e){return n[e]}),d=new Map,f=new Set,p=[],s.forEach(function(e){d.set(e.name,e)}),s.forEach(function(e){f.has(e.name)||function e(t){f.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!f.has(t)){var r=d.get(t);r&&e(r)}}),p.push(t)}(e)}),F.reduce(function(e,t){return e.concat(p.filter(function(e){return e.phase===t}))},[]));return o.orderedModifiers=g.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,n=e.effect;if("function"==typeof n){var a=n({state:o,name:t,instance:u,options:void 0===r?{}:r});i.push(a||function(){})}}),u.update()},forceUpdate:function(){if(!s){var e,t,r,n,a,i,l,c,d,f,p,m,h=o.elements,b=h.reference,x=h.popper;if(q(b,x)){o.rects={reference:(t=M(x),r="fixed"===o.options.strategy,n=g(t),c=g(t)&&(i=y((a=t.getBoundingClientRect()).width)/t.offsetWidth||1,l=y(a.height)/t.offsetHeight||1,1!==i||1!==l),d=z(t),f=k(b,c,r),p={scrollLeft:0,scrollTop:0},m={x:0,y:0},(n||!n&&!r)&&(("body"!==C(t)||P(d))&&(p=(e=t)!==v(e)&&g(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:w(e)),g(t)?(m=k(t,!0),m.x+=t.clientLeft,m.y+=t.clientTop):d&&(m.x=I(d))),{x:f.left+p.scrollLeft-m.x,y:f.top+p.scrollTop-m.y,width:f.width,height:f.height}),popper:O(x)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var S=0;S{!o&&i(("function"==typeof n?n():n)||document.body)},[n,o]),(0,f.Z)(()=>{if(a&&!o)return(0,eb.Z)(t,a),()=>{(0,eb.Z)(t,null)}},[t,a,o]),o)?c.isValidElement(r)?c.cloneElement(r,{ref:l}):(0,ex.jsx)(c.Fragment,{children:r}):(0,ex.jsx)(c.Fragment,{children:a?eh.createPortal(r,a):a})});var eS=r(67230);function eZ(e){return(0,eS.ZP)("MuiPopper",e)}(0,r(14293).Z)("MuiPopper",["root"]);var ek=r(95797);let ew=c.createContext({disableDefaultClasses:!1}),eC=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],ez=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function eI(e){return"function"==typeof e?e():e}let eR=()=>(0,eg.Z)({root:["root"]},function(e){let{disableDefaultClasses:t}=c.useContext(ew);return r=>t?"":e(r)}(eZ)),eP={},eO=c.forwardRef(function(e,t){var r;let{anchorEl:n,children:o,direction:a,disablePortal:i,modifiers:l,open:p,placement:v,popperOptions:m,popperRef:g,slotProps:h={},slots:b={},TransitionProps:x}=e,y=(0,u.Z)(e,eC),S=c.useRef(null),Z=(0,d.Z)(S,t),k=c.useRef(null),w=(0,d.Z)(k,g),C=c.useRef(w);(0,f.Z)(()=>{C.current=w},[w]),c.useImperativeHandle(g,()=>k.current,[]);let z=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(v,a),[I,R]=c.useState(z),[P,O]=c.useState(eI(n));c.useEffect(()=>{k.current&&k.current.forceUpdate()}),c.useEffect(()=>{n&&O(eI(n))},[n]),(0,f.Z)(()=>{if(!P||!p)return;let e=e=>{R(e.placement)},t=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:t})=>{e(t)}}];null!=l&&(t=t.concat(l)),m&&null!=m.modifiers&&(t=t.concat(m.modifiers));let r=em(P,S.current,(0,s.Z)({placement:z},m,{modifiers:t}));return C.current(r),()=>{r.destroy(),C.current(null)}},[P,i,l,p,m,z]);let T={placement:I};null!==x&&(T.TransitionProps=x);let L=eR(),D=null!=(r=b.root)?r:"div",M=(0,ek.y)({elementType:D,externalSlotProps:h.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:Z},ownerState:e,className:L.root});return(0,ex.jsx)(D,(0,s.Z)({},M,{children:"function"==typeof o?o(T):o}))}),eT=c.forwardRef(function(e,t){let r;let{anchorEl:n,children:o,container:a,direction:i="ltr",disablePortal:l=!1,keepMounted:d=!1,modifiers:f,open:v,placement:m="bottom",popperOptions:g=eP,popperRef:h,style:b,transition:x=!1,slotProps:y={},slots:S={}}=e,Z=(0,u.Z)(e,ez),[k,w]=c.useState(!0);if(!d&&!v&&(!x||k))return null;if(a)r=a;else if(n){let e=eI(n);r=e&&void 0!==e.nodeType?(0,p.Z)(e).body:(0,p.Z)(null).body}let C=!v&&d&&(!x||k)?"none":void 0;return(0,ex.jsx)(ey,{disablePortal:l,container:r,children:(0,ex.jsx)(eO,(0,s.Z)({anchorEl:n,direction:i,disablePortal:l,modifiers:f,ref:t,open:x?!k:v,placement:m,popperOptions:g,popperRef:h,slotProps:y,slots:S},Z,{style:(0,s.Z)({position:"fixed",top:0,left:0,display:C},b),TransitionProps:x?{in:v,onEnter:()=>{w(!1)},onExited:()=>{w(!0)}}:void 0,children:o}))})})},53363:function(e,t,r){"use strict";r.d(t,{U:function(){return s}});var n=r(42096),o=r(38497),a=r(15978),i=r(44520),l=r(48017);function s(e={}){let{disabled:t=!1,focusableWhenDisabled:r,href:s,rootRef:u,tabIndex:c,to:d,type:f}=e,p=o.useRef(),[v,m]=o.useState(!1),{isFocusVisibleRef:g,onFocus:h,onBlur:b,ref:x}=(0,a.Z)(),[y,S]=o.useState(!1);t&&!r&&y&&S(!1),o.useEffect(()=>{g.current=y},[y,g]);let[Z,k]=o.useState(""),w=e=>t=>{var r;y&&t.preventDefault(),null==(r=e.onMouseLeave)||r.call(e,t)},C=e=>t=>{var r;b(t),!1===g.current&&S(!1),null==(r=e.onBlur)||r.call(e,t)},z=e=>t=>{var r,n;p.current||(p.current=t.currentTarget),h(t),!0===g.current&&(S(!0),null==(n=e.onFocusVisible)||n.call(e,t)),null==(r=e.onFocus)||r.call(e,t)},I=()=>{let e=p.current;return"BUTTON"===Z||"INPUT"===Z&&["button","submit","reset"].includes(null==e?void 0:e.type)||"A"===Z&&(null==e?void 0:e.href)},R=e=>r=>{if(!t){var n;null==(n=e.onClick)||n.call(e,r)}},P=e=>r=>{var n;t||(m(!0),document.addEventListener("mouseup",()=>{m(!1)},{once:!0})),null==(n=e.onMouseDown)||n.call(e,r)},O=e=>r=>{var n,o;null==(n=e.onKeyDown)||n.call(e,r),!r.defaultMuiPrevented&&(r.target!==r.currentTarget||I()||" "!==r.key||r.preventDefault(),r.target!==r.currentTarget||" "!==r.key||t||m(!0),r.target!==r.currentTarget||I()||"Enter"!==r.key||t||(null==(o=e.onClick)||o.call(e,r),r.preventDefault()))},T=e=>r=>{var n,o;r.target===r.currentTarget&&m(!1),null==(n=e.onKeyUp)||n.call(e,r),r.target!==r.currentTarget||I()||t||" "!==r.key||r.defaultMuiPrevented||null==(o=e.onClick)||o.call(e,r)},L=o.useCallback(e=>{var t;k(null!=(t=null==e?void 0:e.tagName)?t:"")},[]),D=(0,i.Z)(L,u,x,p),M={};return void 0!==c&&(M.tabIndex=c),"BUTTON"===Z?(M.type=null!=f?f:"button",r?M["aria-disabled"]=t:M.disabled=t):""!==Z&&(s||d||(M.role="button",M.tabIndex=null!=c?c:0),t&&(M["aria-disabled"]=t,M.tabIndex=r?null!=c?c:0:-1)),{getRootProps:(t={})=>{let r=(0,n.Z)({},(0,l._)(e),(0,l._)(t)),o=(0,n.Z)({type:f},r,M,t,{onBlur:C(r),onClick:R(r),onFocus:z(r),onKeyDown:O(r),onKeyUp:T(r),onMouseDown:P(r),onMouseLeave:w(r),ref:D});return delete o.onFocusVisible,o},focusVisible:y,setFocusVisible:S,active:v,rootRef:D}}},13454:function(e,t,r){"use strict";r.d(t,{D:function(){return o}});var n=r(38497);let o=n.createContext(null)},19079:function(e,t,r){"use strict";r.d(t,{Q:function(){return n}});let n={blur:"dropdown:blur",escapeKeyDown:"dropdown:escapeKeyDown",toggle:"dropdown:toggle",open:"dropdown:open",close:"dropdown:close"}},33975:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(38497);let o=n.createContext(null)},37012:function(e,t,r){"use strict";r.d(t,{F:function(){return n}});let n={blur:"list:blur",focus:"list:focus",itemClick:"list:itemClick",itemHover:"list:itemHover",itemsChange:"list:itemsChange",keyDown:"list:keyDown",resetHighlight:"list:resetHighlight",textNavigation:"list:textNavigation"}},96322:function(e,t,r){"use strict";r.d(t,{R$:function(){return l},Rl:function(){return a}});var n=r(42096),o=r(37012);function a(e,t,r){var n;let o,a;let{items:i,isItemDisabled:l,disableListWrap:s,disabledItemsFocusable:u,itemComparer:c,focusManagement:d}=r,f=i.length-1,p=null==e?-1:i.findIndex(t=>c(t,e)),v=!s;switch(t){case"reset":if(-1==("DOM"===d?0:-1))return null;o=0,a="next",v=!1;break;case"start":o=0,a="next",v=!1;break;case"end":o=f,a="previous",v=!1;break;default:{let e=p+t;e<0?!v&&-1!==p||Math.abs(t)>1?(o=0,a="next"):(o=f,a="previous"):e>f?!v||Math.abs(t)>1?(o=f,a="previous"):(o=0,a="next"):(o=e,a=t>=0?"next":"previous")}}let m=function(e,t,r,n,o,a){if(0===r.length||!n&&r.every((e,t)=>o(e,t)))return -1;let i=e;for(;;){if(!a&&"next"===t&&i===r.length||!a&&"previous"===t&&-1===i)return -1;let e=!n&&o(r[i],i);if(!e)return i;i+="next"===t?1:-1,a&&(i=(i+r.length)%r.length)}}(o,a,i,u,l,v);return -1!==m||null===e||l(e,p)?null!=(n=i[m])?n:null:e}function i(e,t,r){let{itemComparer:o,isItemDisabled:a,selectionMode:i,items:l}=r,{selectedValues:s}=t,u=l.findIndex(t=>o(e,t));if(a(e,u))return t;let c="none"===i?[]:"single"===i?o(s[0],e)?s:[e]:s.some(t=>o(t,e))?s.filter(t=>!o(t,e)):[...s,e];return(0,n.Z)({},t,{selectedValues:c,highlightedValue:e})}function l(e,t){let{type:r,context:l}=t;switch(r){case o.F.keyDown:return function(e,t,r){let o=t.highlightedValue,{orientation:l,pageSize:s}=r;switch(e){case"Home":return(0,n.Z)({},t,{highlightedValue:a(o,"start",r)});case"End":return(0,n.Z)({},t,{highlightedValue:a(o,"end",r)});case"PageUp":return(0,n.Z)({},t,{highlightedValue:a(o,-s,r)});case"PageDown":return(0,n.Z)({},t,{highlightedValue:a(o,s,r)});case"ArrowUp":if("vertical"!==l)break;return(0,n.Z)({},t,{highlightedValue:a(o,-1,r)});case"ArrowDown":if("vertical"!==l)break;return(0,n.Z)({},t,{highlightedValue:a(o,1,r)});case"ArrowLeft":if("vertical"===l)break;return(0,n.Z)({},t,{highlightedValue:a(o,"horizontal-ltr"===l?-1:1,r)});case"ArrowRight":if("vertical"===l)break;return(0,n.Z)({},t,{highlightedValue:a(o,"horizontal-ltr"===l?1:-1,r)});case"Enter":case" ":if(null===t.highlightedValue)break;return i(t.highlightedValue,t,r)}return t}(t.key,e,l);case o.F.itemClick:return i(t.item,e,l);case o.F.blur:return"DOM"===l.focusManagement?e:(0,n.Z)({},e,{highlightedValue:null});case o.F.textNavigation:return function(e,t,r){let{items:o,isItemDisabled:i,disabledItemsFocusable:l,getItemAsString:s}=r,u=t.length>1,c=u?e.highlightedValue:a(e.highlightedValue,1,r);for(let d=0;ds(e,r.highlightedValue)))?l:null:"DOM"===u&&0===t.length&&(c=a(null,"reset",o));let d=null!=(i=r.selectedValues)?i:[],f=d.filter(t=>e.some(e=>s(e,t)));return(0,n.Z)({},r,{highlightedValue:c,selectedValues:f})}(t.items,t.previousItems,e,l);case o.F.resetHighlight:return(0,n.Z)({},e,{highlightedValue:a(null,"reset",l)});default:return e}}},43953:function(e,t,r){"use strict";r.d(t,{s:function(){return x}});var n=r(42096),o=r(38497),a=r(44520),i=r(37012),l=r(96322);let s="select:change-selection",u="select:change-highlight";var c=r(77268),d=r(1523);function f(e,t){let r=o.useRef(e);return o.useEffect(()=>{r.current=e},null!=t?t:[e]),r}let p={},v=()=>{},m=(e,t)=>e===t,g=()=>!1,h=e=>"string"==typeof e?e:String(e),b=()=>({highlightedValue:null,selectedValues:[]});function x(e){let{controlledProps:t=p,disabledItemsFocusable:r=!1,disableListWrap:x=!1,focusManagement:y="activeDescendant",getInitialState:S=b,getItemDomElement:Z,getItemId:k,isItemDisabled:w=g,rootRef:C,onStateChange:z=v,items:I,itemComparer:R=m,getItemAsString:P=h,onChange:O,onHighlightChange:T,onItemsChange:L,orientation:D="vertical",pageSize:M=5,reducerActionContext:$=p,selectionMode:B="single",stateReducer:E}=e,j=o.useRef(null),A=(0,a.Z)(C,j),N=o.useCallback((e,t,r)=>{if(null==T||T(e,t,r),"DOM"===y&&null!=t&&(r===i.F.itemClick||r===i.F.keyDown||r===i.F.textNavigation)){var n;null==Z||null==(n=Z(t))||n.focus()}},[Z,T,y]),H=o.useMemo(()=>({highlightedValue:R,selectedValues:(e,t)=>(0,d.H)(e,t,R)}),[R]),V=o.useCallback((e,t,r,n,o)=>{switch(null==z||z(e,t,r,n,o),t){case"highlightedValue":N(e,r,n);break;case"selectedValues":null==O||O(e,r,n)}},[N,O,z]),W=o.useMemo(()=>({disabledItemsFocusable:r,disableListWrap:x,focusManagement:y,isItemDisabled:w,itemComparer:R,items:I,getItemAsString:P,onHighlightChange:N,orientation:D,pageSize:M,selectionMode:B,stateComparers:H}),[r,x,y,w,R,I,P,N,D,M,B,H]),_=S(),F=null!=E?E:l.R$,J=o.useMemo(()=>(0,n.Z)({},$,W),[$,W]),[q,U]=(0,c.r)({reducer:F,actionContext:J,initialState:_,controlledProps:t,stateComparers:H,onStateChange:V}),{highlightedValue:G,selectedValues:X}=q,K=function(e){let t=o.useRef({searchString:"",lastTime:null});return o.useCallback(r=>{if(1===r.key.length&&" "!==r.key){let n=t.current,o=r.key.toLowerCase(),a=performance.now();n.searchString.length>0&&n.lastTime&&a-n.lastTime>500?n.searchString=o:(1!==n.searchString.length||o!==n.searchString)&&(n.searchString+=o),n.lastTime=a,e(n.searchString,r)}},[e])}((e,t)=>U({type:i.F.textNavigation,event:t,searchString:e})),Y=f(X),Q=f(G),ee=o.useRef([]);o.useEffect(()=>{(0,d.H)(ee.current,I,R)||(U({type:i.F.itemsChange,event:null,items:I,previousItems:ee.current}),ee.current=I,null==L||L(I))},[I,R,U,L]);let{notifySelectionChanged:et,notifyHighlightChanged:er,registerHighlightChangeHandler:en,registerSelectionChangeHandler:eo}=function(){let e=function(){let e=o.useRef();return e.current||(e.current=function(){let e=new Map;return{subscribe:function(t,r){let n=e.get(t);return n?n.add(r):(n=new Set([r]),e.set(t,n)),()=>{n.delete(r),0===n.size&&e.delete(t)}},publish:function(t,...r){let n=e.get(t);n&&n.forEach(e=>e(...r))}}}()),e.current}(),t=o.useCallback(t=>{e.publish(s,t)},[e]),r=o.useCallback(t=>{e.publish(u,t)},[e]),n=o.useCallback(t=>e.subscribe(s,t),[e]),a=o.useCallback(t=>e.subscribe(u,t),[e]);return{notifySelectionChanged:t,notifyHighlightChanged:r,registerSelectionChangeHandler:n,registerHighlightChangeHandler:a}}();o.useEffect(()=>{et(X)},[X,et]),o.useEffect(()=>{er(G)},[G,er]);let ea=e=>t=>{var r;if(null==(r=e.onKeyDown)||r.call(e,t),t.defaultMuiPrevented)return;let n=["Home","End","PageUp","PageDown"];"vertical"===D?n.push("ArrowUp","ArrowDown"):n.push("ArrowLeft","ArrowRight"),"activeDescendant"===y&&n.push(" ","Enter"),n.includes(t.key)&&t.preventDefault(),U({type:i.F.keyDown,key:t.key,event:t}),K(t)},ei=e=>t=>{var r,n;null==(r=e.onBlur)||r.call(e,t),t.defaultMuiPrevented||null!=(n=j.current)&&n.contains(t.relatedTarget)||U({type:i.F.blur,event:t})},el=o.useCallback(e=>{var t;let r=I.findIndex(t=>R(t,e)),n=(null!=(t=Y.current)?t:[]).some(t=>null!=t&&R(e,t)),o=w(e,r),a=null!=Q.current&&R(e,Q.current),i="DOM"===y;return{disabled:o,focusable:i,highlighted:a,index:r,selected:n}},[I,w,R,Y,Q,y]),es=o.useMemo(()=>({dispatch:U,getItemState:el,registerHighlightChangeHandler:en,registerSelectionChangeHandler:eo}),[U,el,en,eo]);return o.useDebugValue({state:q}),{contextValue:es,dispatch:U,getRootProps:(e={})=>(0,n.Z)({},e,{"aria-activedescendant":"activeDescendant"===y&&null!=G?k(G):void 0,onBlur:ei(e),onKeyDown:ea(e),tabIndex:"DOM"===y?-1:0,ref:A}),rootRef:A,state:q}}},45038:function(e,t,r){"use strict";r.d(t,{J:function(){return u}});var n=r(42096),o=r(38497),a=r(44520),i=r(66268),l=r(37012),s=r(33975);function u(e){let t;let{handlePointerOverEvents:r=!1,item:u,rootRef:c}=e,d=o.useRef(null),f=(0,a.Z)(d,c),p=o.useContext(s.Z);if(!p)throw Error("useListItem must be used within a ListProvider");let{dispatch:v,getItemState:m,registerHighlightChangeHandler:g,registerSelectionChangeHandler:h}=p,{highlighted:b,selected:x,focusable:y}=m(u),S=function(){let[,e]=o.useState({});return o.useCallback(()=>{e({})},[])}();(0,i.Z)(()=>g(function(e){e!==u||b?e!==u&&b&&S():S()})),(0,i.Z)(()=>h(function(e){x?e.includes(u)||S():e.includes(u)&&S()}),[h,S,x,u]);let Z=o.useCallback(e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultPrevented||v({type:l.F.itemClick,item:u,event:t})},[v,u]),k=o.useCallback(e=>t=>{var r;null==(r=e.onMouseOver)||r.call(e,t),t.defaultPrevented||v({type:l.F.itemHover,item:u,event:t})},[v,u]);return y&&(t=b?0:-1),{getRootProps:(e={})=>(0,n.Z)({},e,{onClick:Z(e),onPointerOver:r?k(e):void 0,ref:f,tabIndex:t}),highlighted:b,rootRef:f,selected:x}}},1523:function(e,t,r){"use strict";function n(e,t,r=(e,t)=>e===t){return e.length===t.length&&e.every((e,n)=>r(e,t[n]))}r.d(t,{H:function(){return n}})},1432:function(e,t,r){"use strict";r.d(t,{f:function(){return o}});var n=r(42096);function o(e,t){return function(r={}){let o=(0,n.Z)({},r,e(r)),a=(0,n.Z)({},o,t(o));return a}}},62719:function(e,t,r){"use strict";r.d(t,{Y:function(){return a},s:function(){return o}});var n=r(38497);let o=n.createContext(null);function a(){let[e,t]=n.useState(new Map),r=n.useRef(new Set),o=n.useCallback(function(e){r.current.delete(e),t(t=>{let r=new Map(t);return r.delete(e),r})},[]),a=n.useCallback(function(e,n){let a;return a="function"==typeof e?e(r.current):e,r.current.add(a),t(e=>{let t=new Map(e);return t.set(a,n),t}),{id:a,deregister:()=>o(a)}},[o]),i=n.useMemo(()=>(function(e){let t=Array.from(e.keys()).map(t=>{let r=e.get(t);return{key:t,subitem:r}});return t.sort((e,t)=>{let r=e.subitem.ref.current,n=t.subitem.ref.current;return null===r||null===n||r===n?0:r.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING?1:-1}),new Map(t.map(e=>[e.key,e.subitem]))})(e),[e]),l=n.useCallback(function(e){return Array.from(i.keys()).indexOf(e)},[i]),s=n.useMemo(()=>({getItemIndex:l,registerItem:a,totalSubitemCount:e.size}),[l,a,e.size]);return{contextValue:s,subitems:i}}o.displayName="CompoundComponentContext"},19117:function(e,t,r){"use strict";r.d(t,{B:function(){return i}});var n=r(38497),o=r(66268),a=r(62719);function i(e,t){let r=n.useContext(a.s);if(null===r)throw Error("useCompoundItem must be used within a useCompoundParent");let{registerItem:i}=r,[l,s]=n.useState("function"==typeof e?void 0:e);return(0,o.Z)(()=>{let{id:r,deregister:n}=i(e,t);return s(r),n},[i,t,e]),{id:l,index:void 0!==l?r.getItemIndex(l):-1,totalItemCount:r.totalSubitemCount}}},77268:function(e,t,r){"use strict";r.d(t,{r:function(){return u}});var n=r(42096),o=r(38497);function a(e,t){return e===t}let i={},l=()=>{};function s(e,t){let r=(0,n.Z)({},e);return Object.keys(t).forEach(e=>{void 0!==t[e]&&(r[e]=t[e])}),r}function u(e){let t=o.useRef(null),{reducer:r,initialState:u,controlledProps:c=i,stateComparers:d=i,onStateChange:f=l,actionContext:p}=e,v=o.useCallback((e,n)=>{t.current=n;let o=s(e,c),a=r(o,n);return a},[c,r]),[m,g]=o.useReducer(v,u),h=o.useCallback(e=>{g((0,n.Z)({},e,{context:p}))},[p]);return!function(e){let{nextState:t,initialState:r,stateComparers:n,onStateChange:i,controlledProps:l,lastActionRef:u}=e,c=o.useRef(r);o.useEffect(()=>{if(null===u.current)return;let e=s(c.current,l);Object.keys(t).forEach(r=>{var o,l,s;let c=null!=(o=n[r])?o:a,d=t[r],f=e[r];(null!=f||null==d)&&(null==f||null!=d)&&(null==f||null==d||c(d,f))||null==i||i(null!=(l=u.current.event)?l:null,r,d,null!=(s=u.current.type)?s:"",t)}),c.current=t,u.current=null},[c,t,u,i,n,l])}({nextState:m,initialState:u,stateComparers:null!=d?d:i,onStateChange:null!=f?f:l,controlledProps:c,lastActionRef:t}),[s(m,c),h]}},95797:function(e,t,r){"use strict";r.d(t,{y:function(){return c}});var n=r(42096),o=r(79760),a=r(44520),i=r(11686),l=r(85519),s=r(27045);let u=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function c(e){var t;let{elementType:r,externalSlotProps:c,ownerState:d,skipResolvingSlotProps:f=!1}=e,p=(0,o.Z)(e,u),v=f?{}:(0,s.x)(c,d),{props:m,internalRef:g}=(0,l.L)((0,n.Z)({},p,{externalSlotProps:v})),h=(0,a.Z)(g,null==v?void 0:v.ref,null==(t=e.additionalProps)?void 0:t.ref),b=(0,i.$)(r,(0,n.Z)({},m,{ref:h}),d);return b}},58064:function(e,t,r){"use strict";var n=r(20789),o=r(96469);t.Z=(0,n.Z)((0,o.jsx)("path",{d:"M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"}),"CloseRounded")},1526:function(e,t,r){"use strict";var n=r(20789),o=r(96469);t.Z=(0,n.Z)((0,o.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz")},1905:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(42096),o=r(79760),a=r(38497),i=r(4280),l=r(62967),s=r(42250),u=r(23259),c=r(96454),d=r(96469);let f=["className","component"];var p=r(58409),v=r(15481),m=r(73587);let g=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:p="MuiBox-root",generateClassName:v}=e,m=(0,l.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z),g=a.forwardRef(function(e,a){let l=(0,c.Z)(r),s=(0,u.Z)(e),{className:g,component:h="div"}=s,b=(0,o.Z)(s,f);return(0,d.jsx)(m,(0,n.Z)({as:h,ref:a,className:(0,i.Z)(g,v?v(p):p),theme:t&&l[t]||l},b))});return g}({themeId:m.Z,defaultTheme:v.Z,defaultClassName:"MuiBox-root",generateClassName:p.Z.generate});var h=g},81894:function(e,t,r){"use strict";r.d(t,{Z:function(){return R},f:function(){return C}});var n=r(79760),o=r(42096),a=r(38497),i=r(53363),l=r(95893),s=r(17923),u=r(44520),c=r(74936),d=r(47e3),f=r(63923),p=r(80574),v=r(21198),m=r(73118);function g(e){return(0,m.d6)("MuiButton",e)}let h=(0,m.sI)("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);var b=r(83600),x=r(96469);let y=["children","action","color","variant","size","fullWidth","startDecorator","endDecorator","loading","loadingPosition","loadingIndicator","disabled","component","slots","slotProps"],S=e=>{let{color:t,disabled:r,focusVisible:n,focusVisibleClassName:o,fullWidth:a,size:i,variant:u,loading:c}=e,d={root:["root",r&&"disabled",n&&"focusVisible",a&&"fullWidth",u&&`variant${(0,s.Z)(u)}`,t&&`color${(0,s.Z)(t)}`,i&&`size${(0,s.Z)(i)}`,c&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]},f=(0,l.Z)(d,g,{});return n&&o&&(f.root+=` ${o}`),f},Z=(0,c.Z)("span",{name:"JoyButton",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),k=(0,c.Z)("span",{name:"JoyButton",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),w=(0,c.Z)("span",{name:"JoyButton",slot:"LoadingCenter",overridesResolver:(e,t)=>t.loadingIndicatorCenter})(({theme:e,ownerState:t})=>{var r,n;return(0,o.Z)({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(r=e.variants[t.variant])||null==(r=r[t.color])?void 0:r.color},t.disabled&&{color:null==(n=e.variants[`${t.variant}Disabled`])||null==(n=n[t.color])?void 0:n.color})}),C=({theme:e,ownerState:t})=>{var r,n,a,i;return[(0,o.Z)({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon},"sm"===t.size&&{"--Icon-fontSize":e.vars.fontSize.lg,"--CircularProgress-size":"20px","--CircularProgress-thickness":"2px","--Button-gap":"0.375rem",minHeight:"var(--Button-minHeight, 2rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"2px",paddingInline:"0.75rem"},"md"===t.size&&{"--Icon-fontSize":e.vars.fontSize.xl,"--CircularProgress-size":"24px","--CircularProgress-thickness":"3px","--Button-gap":"0.5rem",minHeight:"var(--Button-minHeight, 2.5rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"0.25rem",paddingInline:"1rem"},"lg"===t.size&&{"--Icon-fontSize":e.vars.fontSize.xl2,"--CircularProgress-size":"28px","--CircularProgress-thickness":"4px","--Button-gap":"0.75rem",minHeight:"var(--Button-minHeight, 3rem)",fontSize:e.vars.fontSize.md,paddingBlock:"0.375rem",paddingInline:"1.5rem"},{WebkitTapHighlightColor:"transparent",borderRadius:`var(--Button-radius, ${e.vars.radius.sm})`,margin:"var(--Button-margin)",border:"none",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",textDecoration:"none",fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.lg,lineHeight:1},t.fullWidth&&{width:"100%"},{[e.focus.selector]:e.focus.default}),(0,o.Z)({},null==(r=e.variants[t.variant])?void 0:r[t.color],{"&:hover":{"@media (hover: hover)":null==(n=e.variants[`${t.variant}Hover`])?void 0:n[t.color]},'&:active, &[aria-pressed="true"]':null==(a=e.variants[`${t.variant}Active`])?void 0:a[t.color],"&:disabled":null==(i=e.variants[`${t.variant}Disabled`])?void 0:i[t.color]},"center"===t.loadingPosition&&{[`&.${h.loading}`]:{color:"transparent"}})]},z=(0,c.Z)("button",{name:"JoyButton",slot:"Root",overridesResolver:(e,t)=>t.root})(C),I=a.forwardRef(function(e,t){var r;let l=(0,d.Z)({props:e,name:"JoyButton"}),{children:s,action:c,color:m="primary",variant:g="solid",size:h="md",fullWidth:C=!1,startDecorator:I,endDecorator:R,loading:P=!1,loadingPosition:O="center",loadingIndicator:T,disabled:L,component:D,slots:M={},slotProps:$={}}=l,B=(0,n.Z)(l,y),E=a.useContext(b.Z),j=e.variant||E.variant||g,A=e.size||E.size||h,{getColor:N}=(0,f.VT)(j),H=N(e.color,E.color||m),V=null!=(r=e.disabled||e.loading)?r:E.disabled||L||P,W=a.useRef(null),_=(0,u.Z)(W,t),{focusVisible:F,setFocusVisible:J,getRootProps:q}=(0,i.U)((0,o.Z)({},l,{disabled:V,rootRef:_})),U=null!=T?T:(0,x.jsx)(v.Z,(0,o.Z)({},"context"!==H&&{color:H},{thickness:{sm:2,md:3,lg:4}[A]||3}));a.useImperativeHandle(c,()=>({focusVisible:()=>{var e;J(!0),null==(e=W.current)||e.focus()}}),[J]);let G=(0,o.Z)({},l,{color:H,fullWidth:C,variant:j,size:A,focusVisible:F,loading:P,loadingPosition:O,disabled:V}),X=S(G),K=(0,o.Z)({},B,{component:D,slots:M,slotProps:$}),[Y,Q]=(0,p.Z)("root",{ref:t,className:X.root,elementType:z,externalForwardedProps:K,getSlotProps:q,ownerState:G}),[ee,et]=(0,p.Z)("startDecorator",{className:X.startDecorator,elementType:Z,externalForwardedProps:K,ownerState:G}),[er,en]=(0,p.Z)("endDecorator",{className:X.endDecorator,elementType:k,externalForwardedProps:K,ownerState:G}),[eo,ea]=(0,p.Z)("loadingIndicatorCenter",{className:X.loadingIndicatorCenter,elementType:w,externalForwardedProps:K,ownerState:G});return(0,x.jsxs)(Y,(0,o.Z)({},Q,{children:[(I||P&&"start"===O)&&(0,x.jsx)(ee,(0,o.Z)({},et,{children:P&&"start"===O?U:I})),s,P&&"center"===O&&(0,x.jsx)(eo,(0,o.Z)({},ea,{children:U})),(R||P&&"end"===O)&&(0,x.jsx)(er,(0,o.Z)({},en,{children:P&&"end"===O?U:R}))]}))});I.muiName="Button";var R=I},83600:function(e,t,r){"use strict";var n=r(38497);let o=n.createContext({});t.Z=o},21198:function(e,t,r){"use strict";r.d(t,{Z:function(){return P}});var n=r(42096),o=r(79760),a=r(38497),i=r(4280),l=r(17923),s=r(95893),u=r(95738),c=r(74936),d=r(47e3),f=r(63923),p=r(80574),v=r(73118);function m(e){return(0,v.d6)("MuiCircularProgress",e)}(0,v.sI)("MuiCircularProgress",["root","determinate","svg","track","progress","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);var g=r(96469);let h=e=>e,b,x=["color","backgroundColor"],y=["children","className","color","size","variant","thickness","determinate","value","component","slots","slotProps"],S=(0,u.F4)({"0%":{transform:"rotate(-90deg)"},"100%":{transform:"rotate(270deg)"}}),Z=e=>{let{determinate:t,color:r,variant:n,size:o}=e,a={root:["root",t&&"determinate",r&&`color${(0,l.Z)(r)}`,n&&`variant${(0,l.Z)(n)}`,o&&`size${(0,l.Z)(o)}`],svg:["svg"],track:["track"],progress:["progress"]};return(0,s.Z)(a,m,{})};function k(e,t){return`var(--CircularProgress-${e}Thickness, var(--CircularProgress-thickness, ${t}))`}let w=(0,c.Z)("span",{name:"JoyCircularProgress",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>{var r;let a=(null==(r=t.variants[e.variant])?void 0:r[e.color])||{},{color:i,backgroundColor:l}=a,s=(0,o.Z)(a,x);return(0,n.Z)({"--Icon-fontSize":"calc(0.4 * var(--_root-size))","--CircularProgress-trackColor":l,"--CircularProgress-progressColor":i,"--CircularProgress-percent":e.value,"--CircularProgress-linecap":"round"},"sm"===e.size&&{"--_root-size":"var(--CircularProgress-size, 24px)","--_track-thickness":k("track","3px"),"--_progress-thickness":k("progress","3px")},"sm"===e.instanceSize&&{"--CircularProgress-size":"24px"},"md"===e.size&&{"--_track-thickness":k("track","6px"),"--_progress-thickness":k("progress","6px"),"--_root-size":"var(--CircularProgress-size, 40px)"},"md"===e.instanceSize&&{"--CircularProgress-size":"40px"},"lg"===e.size&&{"--_track-thickness":k("track","8px"),"--_progress-thickness":k("progress","8px"),"--_root-size":"var(--CircularProgress-size, 64px)"},"lg"===e.instanceSize&&{"--CircularProgress-size":"64px"},e.thickness&&{"--_track-thickness":`${e.thickness}px`,"--_progress-thickness":`${e.thickness}px`},{"--_thickness-diff":"calc(var(--_track-thickness) - var(--_progress-thickness))","--_inner-size":"calc(var(--_root-size) - 2 * var(--variant-borderWidth, 0px))","--_outlined-inset":"max(var(--_track-thickness), var(--_progress-thickness))",width:"var(--_root-size)",height:"var(--_root-size)",borderRadius:"var(--_root-size)",margin:"var(--CircularProgress-margin)",boxSizing:"border-box",display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,position:"relative",color:i},e.children&&{fontFamily:t.vars.fontFamily.body,fontWeight:t.vars.fontWeight.md,fontSize:"calc(0.2 * var(--_root-size))"},s,"outlined"===e.variant&&{"&:before":(0,n.Z)({content:'""',display:"block",position:"absolute",borderRadius:"inherit",top:"var(--_outlined-inset)",left:"var(--_outlined-inset)",right:"var(--_outlined-inset)",bottom:"var(--_outlined-inset)"},s)})}),C=(0,c.Z)("svg",{name:"JoyCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({width:"inherit",height:"inherit",display:"inherit",boxSizing:"inherit",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))"}),z=(0,c.Z)("circle",{name:"JoyCircularProgress",slot:"track",overridesResolver:(e,t)=>t.track})({cx:"50%",cy:"50%",r:"calc(var(--_inner-size) / 2 - var(--_track-thickness) / 2 + min(0px, var(--_thickness-diff) / 2))",fill:"transparent",strokeWidth:"var(--_track-thickness)",stroke:"var(--CircularProgress-trackColor)"}),I=(0,c.Z)("circle",{name:"JoyCircularProgress",slot:"progress",overridesResolver:(e,t)=>t.progress})({"--_progress-radius":"calc(var(--_inner-size) / 2 - var(--_progress-thickness) / 2 - max(0px, var(--_thickness-diff) / 2))","--_progress-length":"calc(2 * 3.1415926535 * var(--_progress-radius))",cx:"50%",cy:"50%",r:"var(--_progress-radius)",fill:"transparent",strokeWidth:"var(--_progress-thickness)",stroke:"var(--CircularProgress-progressColor)",strokeLinecap:"var(--CircularProgress-linecap, round)",strokeDasharray:"var(--_progress-length)",strokeDashoffset:"calc(var(--_progress-length) - var(--CircularProgress-percent) * var(--_progress-length) / 100)",transformOrigin:"center",transform:"rotate(-90deg)"},({ownerState:e})=>!e.determinate&&(0,u.iv)(b||(b=h` + animation: var(--CircularProgress-circulation, 0.8s linear 0s infinite normal none running) + ${0}; + `),S)),R=a.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"JoyCircularProgress"}),{children:a,className:l,color:s="primary",size:u="md",variant:c="soft",thickness:v,determinate:m=!1,value:h=m?0:25,component:b,slots:x={},slotProps:S={}}=r,k=(0,o.Z)(r,y),{getColor:R}=(0,f.VT)(c),P=R(e.color,s),O=(0,n.Z)({},r,{color:P,size:u,variant:c,thickness:v,value:h,determinate:m,instanceSize:e.size}),T=Z(O),L=(0,n.Z)({},k,{component:b,slots:x,slotProps:S}),[D,M]=(0,p.Z)("root",{ref:t,className:(0,i.Z)(T.root,l),elementType:w,externalForwardedProps:L,ownerState:O,additionalProps:(0,n.Z)({role:"progressbar",style:{"--CircularProgress-percent":h}},h&&m&&{"aria-valuenow":"number"==typeof h?Math.round(h):Math.round(Number(h||0))})}),[$,B]=(0,p.Z)("svg",{className:T.svg,elementType:C,externalForwardedProps:L,ownerState:O}),[E,j]=(0,p.Z)("track",{className:T.track,elementType:z,externalForwardedProps:L,ownerState:O}),[A,N]=(0,p.Z)("progress",{className:T.progress,elementType:I,externalForwardedProps:L,ownerState:O});return(0,g.jsxs)(D,(0,n.Z)({},M,{children:[(0,g.jsxs)($,(0,n.Z)({},B,{children:[(0,g.jsx)(E,(0,n.Z)({},j)),(0,g.jsx)(A,(0,n.Z)({},N))]})),a]}))});var P=R},2233:function(e,t,r){"use strict";var n=r(38497);let o=n.createContext(void 0);t.Z=o},65003:function(e,t,r){"use strict";r.d(t,{Z:function(){return H}});var n=r(42096),o=r(79760),a=r(38497),i=r(4280),l=r(95592),s=r(67230),u=r(95893),c=r(76311);let d=(0,c.ZP)();var f=r(65838),p=r(96454),v=r(23259),m=r(51365);let g=(e,t)=>e.filter(e=>t.includes(e)),h=(e,t,r)=>{let n=e.keys[0];if(Array.isArray(t))t.forEach((t,n)=>{r((t,r)=>{n<=e.keys.length-1&&(0===n?Object.assign(t,r):t[e.up(e.keys[n])]=r)},t)});else if(t&&"object"==typeof t){let o=Object.keys(t).length>e.keys.length?e.keys:g(e.keys,Object.keys(t));o.forEach(o=>{if(-1!==e.keys.indexOf(o)){let a=t[o];void 0!==a&&r((t,r)=>{n===o?Object.assign(t,r):t[e.up(o)]=r},a)}})}else("number"==typeof t||"string"==typeof t)&&r((e,t)=>{Object.assign(e,t)},t)};function b(e){return e?`Level${e}`:""}function x(e){return e.unstable_level>0&&e.container}function y(e){return function(t){return`var(--Grid-${t}Spacing${b(e.unstable_level)})`}}function S(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${b(e.unstable_level-1)})`}}function Z(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${b(e.unstable_level-1)})`}let k=({theme:e,ownerState:t})=>{let r=y(t),n={};return h(e.breakpoints,t.gridSize,(e,o)=>{let a={};!0===o&&(a={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===o&&(a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof o&&(a={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${o} / ${Z(t)}${x(t)?` + ${r("column")}`:""})`}),e(n,a)}),n},w=({theme:e,ownerState:t})=>{let r={};return h(e.breakpoints,t.gridOffset,(e,n)=>{let o={};"auto"===n&&(o={marginLeft:"auto"}),"number"==typeof n&&(o={marginLeft:0===n?"0px":`calc(100% * ${n} / ${Z(t)})`}),e(r,o)}),r},C=({theme:e,ownerState:t})=>{if(!t.container)return{};let r=x(t)?{[`--Grid-columns${b(t.unstable_level)}`]:Z(t)}:{"--Grid-columns":12};return h(e.breakpoints,t.columns,(e,n)=>{e(r,{[`--Grid-columns${b(t.unstable_level)}`]:n})}),r},z=({theme:e,ownerState:t})=>{if(!t.container)return{};let r=S(t),n=x(t)?{[`--Grid-rowSpacing${b(t.unstable_level)}`]:r("row")}:{};return h(e.breakpoints,t.rowSpacing,(r,o)=>{var a;r(n,{[`--Grid-rowSpacing${b(t.unstable_level)}`]:"string"==typeof o?o:null==(a=e.spacing)?void 0:a.call(e,o)})}),n},I=({theme:e,ownerState:t})=>{if(!t.container)return{};let r=S(t),n=x(t)?{[`--Grid-columnSpacing${b(t.unstable_level)}`]:r("column")}:{};return h(e.breakpoints,t.columnSpacing,(r,o)=>{var a;r(n,{[`--Grid-columnSpacing${b(t.unstable_level)}`]:"string"==typeof o?o:null==(a=e.spacing)?void 0:a.call(e,o)})}),n},R=({theme:e,ownerState:t})=>{if(!t.container)return{};let r={};return h(e.breakpoints,t.direction,(e,t)=>{e(r,{flexDirection:t})}),r},P=({ownerState:e})=>{let t=y(e),r=S(e);return(0,n.Z)({minWidth:0,boxSizing:"border-box"},e.container&&(0,n.Z)({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||x(e))&&(0,n.Z)({padding:`calc(${r("row")} / 2) calc(${r("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${r("row")} 0px 0px ${r("column")}`}))},O=e=>{let t=[];return Object.entries(e).forEach(([e,r])=>{!1!==r&&void 0!==r&&t.push(`grid-${e}-${String(r)}`)}),t},T=(e,t="xs")=>{function r(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(r(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){let t=[];return Object.entries(e).forEach(([e,n])=>{r(n)&&t.push(`spacing-${e}-${String(n)}`)}),t}return[]},L=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map(([e,t])=>`direction-${e}-${t}`):[`direction-xs-${String(e)}`];var D=r(96469);let M=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],$=(0,m.Z)(),B=d("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function E(e){return(0,f.Z)({props:e,name:"MuiGrid",defaultTheme:$})}var j=r(74936),A=r(47e3);let N=function(e={}){let{createStyledComponent:t=B,useThemeProps:r=E,componentName:c="MuiGrid"}=e,d=a.createContext(void 0),f=(e,t)=>{let{container:r,direction:n,spacing:o,wrap:a,gridSize:i}=e,l={root:["root",r&&"container","wrap"!==a&&`wrap-xs-${String(a)}`,...L(n),...O(i),...r?T(o,t.breakpoints.keys[0]):[]]};return(0,u.Z)(l,e=>(0,s.ZP)(c,e),{})},m=t(C,I,z,k,R,P,w),g=a.forwardRef(function(e,t){var s,u,c,g,h,b,x,y;let S=(0,p.Z)(),Z=r(e),k=(0,v.Z)(Z),w=a.useContext(d),{className:C,children:z,columns:I=12,container:R=!1,component:P="div",direction:O="row",wrap:T="wrap",spacing:L=0,rowSpacing:$=L,columnSpacing:B=L,disableEqualOverflow:E,unstable_level:j=0}=k,A=(0,o.Z)(k,M),N=E;j&&void 0!==E&&(N=e.disableEqualOverflow);let H={},V={},W={};Object.entries(A).forEach(([e,t])=>{void 0!==S.breakpoints.values[e]?H[e]=t:void 0!==S.breakpoints.values[e.replace("Offset","")]?V[e.replace("Offset","")]=t:W[e]=t});let _=null!=(s=e.columns)?s:j?void 0:I,F=null!=(u=e.spacing)?u:j?void 0:L,J=null!=(c=null!=(g=e.rowSpacing)?g:e.spacing)?c:j?void 0:$,q=null!=(h=null!=(b=e.columnSpacing)?b:e.spacing)?h:j?void 0:B,U=(0,n.Z)({},k,{level:j,columns:_,container:R,direction:O,wrap:T,spacing:F,rowSpacing:J,columnSpacing:q,gridSize:H,gridOffset:V,disableEqualOverflow:null!=(x=null!=(y=N)?y:w)&&x,parentDisableEqualOverflow:w}),G=f(U,S),X=(0,D.jsx)(m,(0,n.Z)({ref:t,as:P,ownerState:U,className:(0,i.Z)(G.root,C)},W,{children:a.Children.map(z,e=>{if(a.isValidElement(e)&&(0,l.Z)(e,["Grid"])){var t;return a.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:j+1})}return e})}));return void 0!==N&&N!==(null!=w&&w)&&(X=(0,D.jsx)(d.Provider,{value:N,children:X})),X});return g.muiName="Grid",g}({createStyledComponent:(0,j.Z)("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,A.Z)({props:e,name:"JoyGrid"})});var H=N},88861:function(e,t,r){"use strict";r.d(t,{ZP:function(){return k}});var n=r(79760),o=r(42096),a=r(38497),i=r(17923),l=r(44520),s=r(53363),u=r(95893),c=r(74936),d=r(47e3),f=r(63923),p=r(80574),v=r(73118);function m(e){return(0,v.d6)("MuiIconButton",e)}(0,v.sI)("MuiIconButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg"]);var g=r(83600),h=r(96469);let b=["children","action","component","color","disabled","variant","size","slots","slotProps"],x=e=>{let{color:t,disabled:r,focusVisible:n,focusVisibleClassName:o,size:a,variant:l}=e,s={root:["root",r&&"disabled",n&&"focusVisible",l&&`variant${(0,i.Z)(l)}`,t&&`color${(0,i.Z)(t)}`,a&&`size${(0,i.Z)(a)}`]},c=(0,u.Z)(s,m,{});return n&&o&&(c.root+=` ${o}`),c},y=(0,c.Z)("button")(({theme:e,ownerState:t})=>{var r,n,a,i;return[(0,o.Z)({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon},t.instanceSize&&{"--IconButton-size":({sm:"2rem",md:"2.5rem",lg:"3rem"})[t.instanceSize]},"sm"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2rem) / 1.6)","--CircularProgress-size":"20px","--CircularProgress-thickness":"2px",minWidth:"var(--IconButton-size, 2rem)",minHeight:"var(--IconButton-size, 2rem)",fontSize:e.vars.fontSize.sm,paddingInline:"2px"},"md"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2.5rem) / 1.667)","--CircularProgress-size":"24px","--CircularProgress-thickness":"3px",minWidth:"var(--IconButton-size, 2.5rem)",minHeight:"var(--IconButton-size, 2.5rem)",fontSize:e.vars.fontSize.md,paddingInline:"0.25rem"},"lg"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 3rem) / 1.714)","--CircularProgress-size":"28px","--CircularProgress-thickness":"4px",minWidth:"var(--IconButton-size, 3rem)",minHeight:"var(--IconButton-size, 3rem)",fontSize:e.vars.fontSize.lg,paddingInline:"0.375rem"},{WebkitTapHighlightColor:"transparent",paddingBlock:0,fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.md,margin:"var(--IconButton-margin)",borderRadius:`var(--IconButton-radius, ${e.vars.radius.sm})`,border:"none",boxSizing:"border-box",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",[e.focus.selector]:(0,o.Z)({"--Icon-color":"currentColor"},e.focus.default)}),(0,o.Z)({},null==(r=e.variants[t.variant])?void 0:r[t.color],{"&:hover":{"@media (hover: hover)":(0,o.Z)({"--Icon-color":"currentColor"},null==(n=e.variants[`${t.variant}Hover`])?void 0:n[t.color])},'&:active, &[aria-pressed="true"]':(0,o.Z)({"--Icon-color":"currentColor"},null==(a=e.variants[`${t.variant}Active`])?void 0:a[t.color]),"&:disabled":null==(i=e.variants[`${t.variant}Disabled`])?void 0:i[t.color]})]}),S=(0,c.Z)(y,{name:"JoyIconButton",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Z=a.forwardRef(function(e,t){var r;let i=(0,d.Z)({props:e,name:"JoyIconButton"}),{children:u,action:c,component:v="button",color:m="neutral",disabled:y,variant:Z="plain",size:k="md",slots:w={},slotProps:C={}}=i,z=(0,n.Z)(i,b),I=a.useContext(g.Z),R=e.variant||I.variant||Z,P=e.size||I.size||k,{getColor:O}=(0,f.VT)(R),T=O(e.color,I.color||m),L=null!=(r=e.disabled)?r:I.disabled||y,D=a.useRef(null),M=(0,l.Z)(D,t),{focusVisible:$,setFocusVisible:B,getRootProps:E}=(0,s.U)((0,o.Z)({},i,{disabled:L,rootRef:M}));a.useImperativeHandle(c,()=>({focusVisible:()=>{var e;B(!0),null==(e=D.current)||e.focus()}}),[B]);let j=(0,o.Z)({},i,{component:v,color:T,disabled:L,variant:R,size:P,focusVisible:$,instanceSize:e.size}),A=x(j),N=(0,o.Z)({},z,{component:v,slots:w,slotProps:C}),[H,V]=(0,p.Z)("root",{ref:t,className:A.root,elementType:S,getSlotProps:E,externalForwardedProps:N,ownerState:j});return(0,h.jsx)(H,(0,o.Z)({},V,{children:u}))});Z.muiName="IconButton";var k=Z},21334:function(e,t,r){"use strict";var n=r(38497);let o=n.createContext(void 0);t.Z=o},44551:function(e,t,r){"use strict";r.d(t,{C:function(){return i}});var n=r(42096);r(38497);var o=r(74936),a=r(53415);r(96469);let i=(0,o.Z)("ul")(({theme:e,ownerState:t})=>{var r;let{p:o,padding:i,borderRadius:l}=(0,a.V)({theme:e,ownerState:t},["p","padding","borderRadius"]);function s(r){return"sm"===r?{"--ListDivider-gap":"0.25rem","--ListItem-minHeight":"2rem","--ListItem-paddingY":"0.25rem","--ListItem-paddingX":"0.5rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.5rem":"2rem","--Icon-fontSize":e.vars.fontSize.lg}:"md"===r?{"--ListDivider-gap":"0.375rem","--ListItem-minHeight":"2.5rem","--ListItem-paddingY":"0.375rem","--ListItem-paddingX":"0.75rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.75rem":"2.5rem","--Icon-fontSize":e.vars.fontSize.xl}:"lg"===r?{"--ListDivider-gap":"0.5rem","--ListItem-minHeight":"3rem","--ListItem-paddingY":"0.5rem","--ListItem-paddingX":"1rem","--ListItemDecorator-size":"horizontal"===t.orientation?"2.25rem":"3rem","--Icon-fontSize":e.vars.fontSize.xl2}:{}}return[t.nesting&&(0,n.Z)({},s(t.instanceSize),{"--ListItem-paddingRight":"var(--ListItem-paddingX)","--ListItem-paddingLeft":"var(--NestedListItem-paddingLeft)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px",padding:0,marginInlineStart:"var(--NestedList-marginLeft)",marginInlineEnd:"var(--NestedList-marginRight)",marginBlockStart:"var(--List-gap)",marginBlockEnd:"initial"}),!t.nesting&&(0,n.Z)({},s(t.size),{"--List-gap":"0px","--List-nestedInsetStart":"0px","--ListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItem-paddingRight":"var(--ListItem-paddingX)","--unstable_List-childRadius":"calc(max(var(--List-radius) - var(--List-padding), min(var(--List-padding) / 2, var(--List-radius) / 2)) - var(--variant-borderWidth, 0px))","--ListItem-radius":"var(--unstable_List-childRadius)","--ListItem-startActionTranslateX":"calc(0.5 * var(--ListItem-paddingLeft))","--ListItem-endActionTranslateX":"calc(-0.5 * var(--ListItem-paddingRight))",margin:"initial"},e.typography[`body-${t.size}`],"horizontal"===t.orientation?(0,n.Z)({},t.wrap?{padding:"var(--List-padding)",marginInlineStart:"calc(-1 * var(--List-gap))",marginBlockStart:"calc(-1 * var(--List-gap))"}:{paddingInline:"var(--List-padding, var(--ListDivider-gap))",paddingBlock:"var(--List-padding)"}):{paddingBlock:"var(--List-padding, var(--ListDivider-gap))",paddingInline:"var(--List-padding)"}),(0,n.Z)({boxSizing:"border-box",borderRadius:"var(--List-radius)",listStyle:"none",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"},t.wrap&&{flexWrap:"wrap"},{flexGrow:1,position:"relative"},null==(r=e.variants[t.variant])?void 0:r[t.color],{"--unstable_List-borderWidth":"var(--variant-borderWidth, 0px)"},void 0!==l&&{"--List-radius":l},void 0!==o&&{"--List-padding":o},void 0!==i&&{"--List-padding":i})]});(0,o.Z)(i,{name:"JoyList",slot:"Root",overridesResolver:(e,t)=>t.root})({})},47402:function(e,t,r){"use strict";r.d(t,{Z:function(){return c},M:function(){return u}});var n=r(42096),o=r(38497),a=r(29608);let i=o.createContext(!1),l=o.createContext(!1);var s=r(96469);let u={"--NestedList-marginRight":"0px","--NestedList-marginLeft":"0px","--NestedListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px"};var c=function(e){let{children:t,nested:r,row:u=!1,wrap:c=!1}=e,d=(0,s.jsx)(a.Z.Provider,{value:u,children:(0,s.jsx)(i.Provider,{value:c,children:o.Children.map(t,(e,r)=>o.isValidElement(e)?o.cloneElement(e,(0,n.Z)({},0===r&&{"data-first-child":""},r===o.Children.count(t)-1&&{"data-last-child":""})):e)})});return void 0===r?d:(0,s.jsx)(l.Provider,{value:r,children:d})}},29608:function(e,t,r){"use strict";var n=r(38497);let o=n.createContext(!1);t.Z=o},91601:function(e,t,r){"use strict";r.d(t,{r:function(){return s}});var n=r(42096);r(38497);var o=r(74936),a=r(73118);let i=(0,a.sI)("MuiListItem",["root","startAction","endAction","nested","nesting","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]),l=(0,a.sI)("MuiListItemButton",["root","horizontal","vertical","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","variantPlain","variantSoft","variantOutlined","variantSolid"]);r(96469);let s=(0,o.Z)("div")(({theme:e,ownerState:t})=>{var r,o,a,s,u;return(0,n.Z)({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,WebkitTapHighlightColor:"transparent",boxSizing:"border-box",position:"relative",font:"inherit",display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"stretch"},"vertical"===t.orientation&&{flexDirection:"column",justifyContent:"center"},{textAlign:"initial",textDecoration:"initial",backgroundColor:"initial",cursor:"pointer",marginInline:"var(--ListItemButton-marginInline)",marginBlock:"var(--ListItemButton-marginBlock)"},void 0===t["data-first-child"]&&{marginInlineStart:t.row?"var(--List-gap)":void 0,marginBlockStart:t.row?void 0:"var(--List-gap)"},{paddingBlock:"calc(var(--ListItem-paddingY) - var(--variant-borderWidth, 0px))",paddingInlineStart:"calc(var(--ListItem-paddingLeft) + var(--ListItem-startActionWidth, var(--unstable_startActionWidth, 0px)))",paddingInlineEnd:"calc(var(--ListItem-paddingRight) + var(--ListItem-endActionWidth, var(--unstable_endActionWidth, 0px)))",minBlockSize:"var(--ListItem-minHeight)",border:"1px solid transparent",borderRadius:"var(--ListItem-radius)",flex:"var(--unstable_ListItem-flex, none)",fontSize:"inherit",lineHeight:"inherit",minInlineSize:0,[e.focus.selector]:(0,n.Z)({},e.focus.default,{zIndex:1})},null==(r=e.variants[t.variant])?void 0:r[t.color],{[`.${i.root} > &`]:{"--unstable_ListItem-flex":"1 0 0%"},[`&.${l.selected}`]:(0,n.Z)({},null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color],{"--Icon-color":"currentColor"}),[`&:not(.${l.selected}, [aria-selected="true"])`]:{"&:hover":null==(a=e.variants[`${t.variant}Hover`])?void 0:a[t.color],"&:active":null==(s=e.variants[`${t.variant}Active`])?void 0:s[t.color]},[`&.${l.disabled}`]:(0,n.Z)({},null==(u=e.variants[`${t.variant}Disabled`])?void 0:u[t.color])})});(0,o.Z)(s,{name:"JoyListItemButton",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>(0,n.Z)({},!e.row&&{[`&.${l.selected}`]:{fontWeight:t.vars.fontWeight.md}}))},35802:function(e,t,r){"use strict";r.d(t,{Z:function(){return j}});var n=r(79760),o=r(42096),a=r(38497),i=r(17923),l=r(95893),s=r(44520),u=r(39945),c=r(66268),d=r(37012),f=r(96322);function p(e,t){if(t.type===d.F.itemHover)return e;let r=(0,f.R$)(e,t);if(null===r.highlightedValue&&t.context.items.length>0)return(0,o.Z)({},r,{highlightedValue:t.context.items[0]});if(t.type===d.F.keyDown&&"Escape"===t.event.key)return(0,o.Z)({},r,{open:!1});if(t.type===d.F.blur){var n,a,i;if(!(null!=(n=t.context.listboxRef.current)&&n.contains(t.event.relatedTarget))){let e=null==(a=t.context.listboxRef.current)?void 0:a.getAttribute("id"),n=null==(i=t.event.relatedTarget)?void 0:i.getAttribute("aria-controls");return e&&n&&e===n?r:(0,o.Z)({},r,{open:!1,highlightedValue:t.context.items[0]})}}return r}var v=r(13454),m=r(43953),g=r(19079),h=r(62719),b=r(1432);let x={dispatch:()=>{},popupId:"",registerPopup:()=>{},registerTrigger:()=>{},state:{open:!0},triggerElement:null};var y=r(33975),S=r(96469);function Z(e){let{value:t,children:r}=e,{dispatch:n,getItemIndex:o,getItemState:i,registerHighlightChangeHandler:l,registerSelectionChangeHandler:s,registerItem:u,totalSubitemCount:c}=t,d=a.useMemo(()=>({dispatch:n,getItemState:i,getItemIndex:o,registerHighlightChangeHandler:l,registerSelectionChangeHandler:s}),[n,o,i,l,s]),f=a.useMemo(()=>({getItemIndex:o,registerItem:u,totalSubitemCount:c}),[u,o,c]);return(0,S.jsx)(h.s.Provider,{value:f,children:(0,S.jsx)(y.Z.Provider,{value:d,children:r})})}var k=r(4309),w=r(95797),C=r(44551),z=r(47402),I=r(21334),R=r(74936),P=r(47e3),O=r(71267),T=r(63923),L=r(73118);function D(e){return(0,L.d6)("MuiMenu",e)}(0,L.sI)("MuiMenu",["root","listbox","expanded","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg"]);let M=["actions","children","color","component","disablePortal","keepMounted","id","invertedColors","onItemsChange","modifiers","variant","size","slots","slotProps"],$=e=>{let{open:t,variant:r,color:n,size:o}=e,a={root:["root",t&&"expanded",r&&`variant${(0,i.Z)(r)}`,n&&`color${(0,i.Z)(n)}`,o&&`size${(0,i.Z)(o)}`],listbox:["listbox"]};return(0,l.Z)(a,D,{})},B=(0,R.Z)(C.C,{name:"JoyMenu",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n;let a=null==(r=e.variants[t.variant])?void 0:r[t.color];return[(0,o.Z)({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--ListItem-stickyBackground":(null==a?void 0:a.backgroundColor)||(null==a?void 0:a.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},z.M,{borderRadius:`var(--List-radius, ${e.vars.radius.sm})`,boxShadow:e.shadow.md,overflow:"auto",zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`},!(null!=a&&a.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup}),"context"!==t.color&&t.invertedColors&&(null==(n=e.colorInversion[t.variant])?void 0:n[t.color])]}),E=a.forwardRef(function(e,t){var r;let i=(0,P.Z)({props:e,name:"JoyMenu"}),{actions:l,children:f,color:y="neutral",component:C,disablePortal:R=!1,keepMounted:L=!1,id:D,invertedColors:E=!1,onItemsChange:j,modifiers:A,variant:N="outlined",size:H="md",slots:V={},slotProps:W={}}=i,_=(0,n.Z)(i,M),{getColor:F}=(0,T.VT)(N),J=R?F(e.color,y):y,{contextValue:q,getListboxProps:U,dispatch:G,open:X,triggerElement:K}=function(e={}){var t,r;let{listboxRef:n,onItemsChange:i,id:l}=e,d=a.useRef(null),f=(0,s.Z)(d,n),y=null!=(t=(0,u.Z)(l))?t:"",{state:{open:S},dispatch:Z,triggerElement:k,registerPopup:w}=null!=(r=a.useContext(v.D))?r:x,C=a.useRef(S),{subitems:z,contextValue:I}=(0,h.Y)(),R=a.useMemo(()=>Array.from(z.keys()),[z]),P=a.useCallback(e=>{var t,r;return null==e?null:null!=(t=null==(r=z.get(e))?void 0:r.ref.current)?t:null},[z]),{dispatch:O,getRootProps:T,contextValue:L,state:{highlightedValue:D},rootRef:M}=(0,m.s)({disabledItemsFocusable:!0,focusManagement:"DOM",getItemDomElement:P,getInitialState:()=>({selectedValues:[],highlightedValue:null}),isItemDisabled:e=>{var t;return(null==z||null==(t=z.get(e))?void 0:t.disabled)||!1},items:R,getItemAsString:e=>{var t,r;return(null==(t=z.get(e))?void 0:t.label)||(null==(r=z.get(e))||null==(r=r.ref.current)?void 0:r.innerText)},rootRef:f,onItemsChange:i,reducerActionContext:{listboxRef:d},selectionMode:"none",stateReducer:p});(0,c.Z)(()=>{w(y)},[y,w]),a.useEffect(()=>{if(S&&D===R[0]&&!C.current){var e;null==(e=z.get(R[0]))||null==(e=e.ref)||null==(e=e.current)||e.focus()}},[S,D,z,R]),a.useEffect(()=>{var e,t;null!=(e=d.current)&&e.contains(document.activeElement)&&null!==D&&(null==z||null==(t=z.get(D))||null==(t=t.ref.current)||t.focus())},[D,z]);let $=e=>t=>{var r,n;null==(r=e.onBlur)||r.call(e,t),t.defaultMuiPrevented||null!=(n=d.current)&&n.contains(t.relatedTarget)||t.relatedTarget===k||Z({type:g.Q.blur,event:t})},B=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),t.defaultMuiPrevented||"Escape"!==t.key||Z({type:g.Q.escapeKeyDown,event:t})},E=(e={})=>({onBlur:$(e),onKeyDown:B(e)});return a.useDebugValue({subitems:z,highlightedValue:D}),{contextValue:(0,o.Z)({},I,L),dispatch:O,getListboxProps:(e={})=>{let t=(0,b.f)(E,T);return(0,o.Z)({},t(e),{id:y,role:"menu"})},highlightedValue:D,listboxRef:M,menuItems:z,open:S,triggerElement:k}}({onItemsChange:j,id:D,listboxRef:t});a.useImperativeHandle(l,()=>({dispatch:G,resetHighlight:()=>G({type:d.F.resetHighlight,event:null})}),[G]);let Y=(0,o.Z)({},i,{disablePortal:R,invertedColors:E,color:J,variant:N,size:H,open:X,nesting:!1,row:!1}),Q=$(Y),ee=(0,o.Z)({},_,{component:C,slots:V,slotProps:W}),et=a.useMemo(()=>[{name:"offset",options:{offset:[0,4]}},...A||[]],[A]),er=(0,w.y)({elementType:B,getSlotProps:U,externalForwardedProps:ee,externalSlotProps:{},ownerState:Y,additionalProps:{anchorEl:K,open:X&&null!==K,disablePortal:R,keepMounted:L,modifiers:et},className:Q.root}),en=(0,S.jsx)(Z,{value:q,children:(0,S.jsx)(O.Yb,{variant:E?void 0:N,color:y,children:(0,S.jsx)(I.Z.Provider,{value:"menu",children:(0,S.jsx)(z.Z,{nested:!0,children:f})})})});return E&&(en=(0,S.jsx)(T.do,{variant:N,children:en})),en=(0,S.jsx)(B,(0,o.Z)({},er,!(null!=(r=i.slots)&&r.root)&&{as:k.r,slots:{root:C||"ul"}},{children:en})),R?en:(0,S.jsx)(T.ZP.Provider,{value:void 0,children:en})});var j=E},33464:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});var n=r(79760),o=r(42096),a=r(38497),i=r(44520),l=r(13454),s=r(19079),u=r(53363),c=r(1432),d=r(95893),f=r(17923),p=r(73118);function v(e){return(0,p.d6)("MuiMenuButton",e)}(0,p.sI)("MuiMenuButton",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);var m=r(47e3),g=r(80574),h=r(21198),b=r(81894),x=r(74936),y=r(63923),S=r(83600),Z=r(96469);let k=["children","color","component","disabled","endDecorator","loading","loadingPosition","loadingIndicator","size","slotProps","slots","startDecorator","variant"],w=e=>{let{color:t,disabled:r,fullWidth:n,size:o,variant:a,loading:i}=e,l={root:["root",r&&"disabled",n&&"fullWidth",a&&`variant${(0,f.Z)(a)}`,t&&`color${(0,f.Z)(t)}`,o&&`size${(0,f.Z)(o)}`,i&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]};return(0,d.Z)(l,v,{})},C=(0,x.Z)("button",{name:"JoyMenuButton",slot:"Root",overridesResolver:(e,t)=>t.root})(b.f),z=(0,x.Z)("span",{name:"JoyMenuButton",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),I=(0,x.Z)("span",{name:"JoyMenuButton",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),R=(0,x.Z)("span",{name:"JoyMenuButton",slot:"LoadingCenter",overridesResolver:(e,t)=>t.loadingIndicatorCenter})(({theme:e,ownerState:t})=>{var r,n;return(0,o.Z)({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(r=e.variants[t.variant])||null==(r=r[t.color])?void 0:r.color},t.disabled&&{color:null==(n=e.variants[`${t.variant}Disabled`])||null==(n=n[t.color])?void 0:n.color})}),P=a.forwardRef(function(e,t){var r;let d=(0,m.Z)({props:e,name:"JoyMenuButton"}),{children:f,color:p="neutral",component:v,disabled:b=!1,endDecorator:x,loading:P=!1,loadingPosition:O="center",loadingIndicator:T,size:L="md",slotProps:D={},slots:M={},startDecorator:$,variant:B="outlined"}=d,E=(0,n.Z)(d,k),j=a.useContext(S.Z),A=e.variant||j.variant||B,N=e.size||j.size||L,{getColor:H}=(0,y.VT)(A),V=H(e.color,j.color||p),W=null!=(r=e.disabled)?r:j.disabled||b||P,{getRootProps:_,open:F,active:J}=function(e={}){let{disabled:t=!1,focusableWhenDisabled:r,rootRef:n}=e,d=a.useContext(l.D);if(null===d)throw Error("useMenuButton: no menu context available.");let{state:f,dispatch:p,registerTrigger:v,popupId:m}=d,{getRootProps:g,rootRef:h,active:b}=(0,u.U)({disabled:t,focusableWhenDisabled:r,rootRef:n}),x=(0,i.Z)(h,v),y=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultMuiPrevented||p({type:s.Q.toggle,event:t})},S=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),t.defaultMuiPrevented||"ArrowDown"!==t.key&&"ArrowUp"!==t.key||(t.preventDefault(),p({type:s.Q.open,event:t}))},Z=(e={})=>({onClick:y(e),onKeyDown:S(e)});return{active:b,getRootProps:(e={})=>{let t=(0,c.f)(g,Z);return(0,o.Z)({},t(e),{"aria-haspopup":"menu","aria-expanded":f.open,"aria-controls":m,ref:x})},open:f.open,rootRef:x}}({rootRef:t,disabled:W}),q=null!=T?T:(0,Z.jsx)(h.Z,(0,o.Z)({},"context"!==V&&{color:V},{thickness:{sm:2,md:3,lg:4}[N]||3})),U=(0,o.Z)({},d,{active:J,color:V,disabled:W,open:F,size:N,variant:A}),G=w(U),X=(0,o.Z)({},E,{component:v,slots:M,slotProps:D}),[K,Y]=(0,g.Z)("root",{elementType:C,getSlotProps:_,externalForwardedProps:X,ref:t,ownerState:U,className:G.root}),[Q,ee]=(0,g.Z)("startDecorator",{className:G.startDecorator,elementType:z,externalForwardedProps:X,ownerState:U}),[et,er]=(0,g.Z)("endDecorator",{className:G.endDecorator,elementType:I,externalForwardedProps:X,ownerState:U}),[en,eo]=(0,g.Z)("loadingIndicatorCenter",{className:G.loadingIndicatorCenter,elementType:R,externalForwardedProps:X,ownerState:U});return(0,Z.jsxs)(K,(0,o.Z)({},Y,{children:[($||P&&"start"===O)&&(0,Z.jsx)(Q,(0,o.Z)({},ee,{children:P&&"start"===O?q:$})),f,P&&"center"===O&&(0,Z.jsx)(en,(0,o.Z)({},eo,{children:q})),(x||P&&"end"===O)&&(0,Z.jsx)(et,(0,o.Z)({},er,{children:P&&"end"===O?q:x}))]}))});var O=P},8049:function(e,t,r){"use strict";r.d(t,{Z:function(){return D}});var n=r(42096),o=r(79760),a=r(38497),i=r(17923),l=r(95893),s=r(39945),u=r(44520),c=r(53363),d=r(45038),f=r(19079),p=r(13454),v=r(1432),m=r(19117);function g(e){return`menu-item-${e.size}`}let h={dispatch:()=>{},popupId:"",registerPopup:()=>{},registerTrigger:()=>{},state:{open:!0},triggerElement:null};var b=r(91601),x=r(74936),y=r(47e3),S=r(63923),Z=r(71267),k=r(73118);function w(e){return(0,k.d6)("MuiMenuItem",e)}(0,k.sI)("MuiMenuItem",["root","focusVisible","disabled","selected","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);var C=r(29608);let z=a.createContext("horizontal");var I=r(80574),R=r(96469);let P=["children","disabled","component","selected","color","orientation","variant","slots","slotProps"],O=e=>{let{focusVisible:t,disabled:r,selected:n,color:o,variant:a}=e,s={root:["root",t&&"focusVisible",r&&"disabled",n&&"selected",o&&`color${(0,i.Z)(o)}`,a&&`variant${(0,i.Z)(a)}`]},u=(0,l.Z)(s,w,{});return u},T=(0,x.Z)(b.r,{name:"JoyMenuItem",slot:"Root",overridesResolver:(e,t)=>t.root})({}),L=a.forwardRef(function(e,t){let r=(0,y.Z)({props:e,name:"JoyMenuItem"}),i=a.useContext(C.Z),{children:l,disabled:b=!1,component:x="li",selected:k=!1,color:w="neutral",orientation:L="horizontal",variant:D="plain",slots:M={},slotProps:$={}}=r,B=(0,o.Z)(r,P),{variant:E=D,color:j=w}=(0,Z.yP)(e.variant,e.color),{getColor:A}=(0,S.VT)(E),N=A(e.color,j),{getRootProps:H,disabled:V,focusVisible:W}=function(e){var t;let{disabled:r=!1,id:o,rootRef:i,label:l}=e,b=(0,s.Z)(o),x=a.useRef(null),y=a.useMemo(()=>({disabled:r,id:null!=b?b:"",label:l,ref:x}),[r,b,l]),{dispatch:S}=null!=(t=a.useContext(p.D))?t:h,{getRootProps:Z,highlighted:k,rootRef:w}=(0,d.J)({item:b}),{index:C,totalItemCount:z}=(0,m.B)(null!=b?b:g,y),{getRootProps:I,focusVisible:R,rootRef:P}=(0,c.U)({disabled:r,focusableWhenDisabled:!0}),O=(0,u.Z)(w,P,i,x);a.useDebugValue({id:b,highlighted:k,disabled:r,label:l});let T=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultMuiPrevented||S({type:f.Q.close,event:t})},L=(e={})=>(0,n.Z)({},e,{onClick:T(e)});function D(e={}){let t=(0,v.f)(L,(0,v.f)(I,Z));return(0,n.Z)({},t(e),{ref:O,role:"menuitem"})}return void 0===b?{getRootProps:D,disabled:!1,focusVisible:R,highlighted:!1,index:-1,totalItemCount:0,rootRef:O}:{getRootProps:D,disabled:r,focusVisible:R,highlighted:k,index:C,totalItemCount:z,rootRef:O}}({disabled:b,rootRef:t}),_=(0,n.Z)({},r,{component:x,color:N,disabled:V,focusVisible:W,orientation:L,selected:k,row:i,variant:E}),F=O(_),J=(0,n.Z)({},B,{component:x,slots:M,slotProps:$}),[q,U]=(0,I.Z)("root",{ref:t,elementType:T,getSlotProps:H,externalForwardedProps:J,className:F.root,ownerState:_});return(0,R.jsx)(z.Provider,{value:L,children:(0,R.jsx)(q,(0,n.Z)({},U,{children:l}))})});var D=L},45370:function(e,t,r){"use strict";r.d(t,{Z:function(){return z}});var n=r(42096),o=r(79760),a=r(38497),i=r(95893),l=r(39945),s=r(44520),u=r(45038),c=r(19117),d=r(80574),f=r(91601),p=r(74936),v=r(47e3),m=r(63923),g=r(71267),h=r(73118);function b(e){return(0,h.d6)("MuiOption",e)}let x=(0,h.sI)("MuiOption",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","highlighted","variantPlain","variantSoft","variantOutlined","variantSolid"]);var y=r(29608),S=r(96469);let Z=["component","children","disabled","value","label","variant","color","slots","slotProps"],k=e=>{let{disabled:t,highlighted:r,selected:n}=e;return(0,i.Z)({root:["root",t&&"disabled",r&&"highlighted",n&&"selected"]},b,{})},w=(0,p.Z)(f.r,{name:"JoyOption",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r;let n=null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color];return{[`&.${x.highlighted}:not([aria-selected="true"])`]:{backgroundColor:null==n?void 0:n.backgroundColor}}}),C=a.forwardRef(function(e,t){var r;let i=(0,v.Z)({props:e,name:"JoyOption"}),{component:f="li",children:p,disabled:h=!1,value:b,label:x,variant:C="plain",color:z="neutral",slots:I={},slotProps:R={}}=i,P=(0,o.Z)(i,Z),O=a.useContext(y.Z),{variant:T=C,color:L=z}=(0,g.yP)(e.variant,e.color),D=a.useRef(null),M=(0,s.Z)(D,t),$=null!=x?x:"string"==typeof p?p:null==(r=D.current)?void 0:r.innerText,{getRootProps:B,selected:E,highlighted:j,index:A}=function(e){let{value:t,label:r,disabled:o,rootRef:i,id:d}=e,{getRootProps:f,rootRef:p,highlighted:v,selected:m}=(0,u.J)({item:t}),g=(0,l.Z)(d),h=a.useRef(null),b=a.useMemo(()=>({disabled:o,label:r,value:t,ref:h,id:g}),[o,r,t,g]),{index:x}=(0,c.B)(t,b),y=(0,s.Z)(i,h,p);return{getRootProps:(e={})=>(0,n.Z)({},e,f(e),{id:g,ref:y,role:"option","aria-selected":m}),highlighted:v,index:x,selected:m,rootRef:y}}({disabled:h,label:$,value:b,rootRef:M}),{getColor:N}=(0,m.VT)(T),H=N(e.color,L),V=(0,n.Z)({},i,{disabled:h,selected:E,highlighted:j,index:A,component:f,variant:T,color:H,row:O}),W=k(V),_=(0,n.Z)({},P,{component:f,slots:I,slotProps:R}),[F,J]=(0,d.Z)("root",{ref:t,getSlotProps:B,elementType:w,externalForwardedProps:_,className:W.root,ownerState:V});return(0,S.jsx)(F,(0,n.Z)({},J,{children:p}))});var z=C},77242:function(e,t,r){"use strict";r.d(t,{Z:function(){return el}});var n,o=r(79760),a=r(42096),i=r(38497),l=r(4280),s=r(17923),u=r(44520),c=r(4309),d=r(39945),f=r(66268),p=r(53363);let v={buttonClick:"buttonClick"};var m=r(43953);let g=e=>{let{label:t,value:r}=e;return"string"==typeof t?t:"string"==typeof r?r:String(e)};var h=r(62719),b=r(96322),x=r(37012);function y(e,t){var r,n,o;let{open:i}=e,{context:{selectionMode:l}}=t;if(t.type===v.buttonClick){let n=null!=(r=e.selectedValues[0])?r:(0,b.Rl)(null,"start",t.context);return(0,a.Z)({},e,{open:!i,highlightedValue:i?null:n})}let s=(0,b.R$)(e,t);switch(t.type){case x.F.keyDown:if(e.open){if("Escape"===t.event.key||"single"===l&&("Enter"===t.event.key||" "===t.event.key))return(0,a.Z)({},s,{open:!1})}else{if("Enter"===t.event.key||" "===t.event.key||"ArrowDown"===t.event.key)return(0,a.Z)({},e,{open:!0,highlightedValue:null!=(n=e.selectedValues[0])?n:(0,b.Rl)(null,"start",t.context)});if("ArrowUp"===t.event.key)return(0,a.Z)({},e,{open:!0,highlightedValue:null!=(o=e.selectedValues[0])?o:(0,b.Rl)(null,"end",t.context)})}break;case x.F.itemClick:if("single"===l)return(0,a.Z)({},s,{open:!1});break;case x.F.blur:return(0,a.Z)({},s,{open:!1})}return s}var S=r(1432);let Z={clip:"rect(1px, 1px, 1px, 1px)",clipPath:"inset(50%)",height:"1px",width:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",left:"50%",bottom:0},k=()=>{};function w(e){return Array.isArray(e)?0===e.length?"":JSON.stringify(e.map(e=>e.value)):(null==e?void 0:e.value)==null?"":"string"==typeof e.value||"number"==typeof e.value?e.value:JSON.stringify(e.value)}function C(e){e.preventDefault()}var z=r(33975),I=r(96469);function R(e){let{value:t,children:r}=e,{dispatch:n,getItemIndex:o,getItemState:a,registerHighlightChangeHandler:l,registerSelectionChangeHandler:s,registerItem:u,totalSubitemCount:c}=t,d=i.useMemo(()=>({dispatch:n,getItemState:a,getItemIndex:o,registerHighlightChangeHandler:l,registerSelectionChangeHandler:s}),[n,o,a,l,s]),f=i.useMemo(()=>({getItemIndex:o,registerItem:u,totalSubitemCount:c}),[u,o,c]);return(0,I.jsx)(h.s.Provider,{value:f,children:(0,I.jsx)(z.Z.Provider,{value:d,children:r})})}var P=r(95893),O=r(44551),T=r(47402),L=r(21334),D=r(74936),M=r(47e3),$=r(80574),B=r(73118);function E(e){return(0,B.d6)("MuiSvgIcon",e)}(0,B.sI)("MuiSvgIcon",["root","colorInherit","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","fontSizeInherit","fontSizeXs","fontSizeSm","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXl2","fontSizeXl3","fontSizeXl4","sizeSm","sizeMd","sizeLg"]);let j=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox","size","slots","slotProps"],A=e=>{let{color:t,size:r,fontSize:n}=e,o={root:["root",t&&"inherit"!==t&&`color${(0,s.Z)(t)}`,r&&`size${(0,s.Z)(r)}`,n&&`fontSize${(0,s.Z)(n)}`]};return(0,P.Z)(o,E,{})},N={sm:"xl",md:"xl2",lg:"xl3"},H=(0,D.Z)("svg",{name:"JoySvgIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r;return(0,a.Z)({},t.instanceSize&&{"--Icon-fontSize":e.vars.fontSize[N[t.instanceSize]]},t.instanceFontSize&&"inherit"!==t.instanceFontSize&&{"--Icon-fontSize":e.vars.fontSize[t.instanceFontSize]},{userSelect:"none",margin:"var(--Icon-margin)",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,fontSize:`var(--Icon-fontSize, ${e.vars.fontSize[N[t.size]]||"unset"})`},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.fontSize[t.fontSize]})`},!t.htmlColor&&(0,a.Z)({color:`var(--Icon-color, ${e.vars.palette.text.icon})`},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"context"!==t.color&&e.vars.palette[t.color]&&{color:`rgba(${null==(r=e.vars.palette[t.color])?void 0:r.mainChannel} / 1)`}))}),V=i.forwardRef(function(e,t){let r=(0,M.Z)({props:e,name:"JoySvgIcon"}),{children:n,className:s,color:u,component:c="svg",fontSize:d,htmlColor:f,inheritViewBox:p=!1,titleAccess:v,viewBox:m="0 0 24 24",size:g="md",slots:h={},slotProps:b={}}=r,x=(0,o.Z)(r,j),y=i.isValidElement(n)&&"svg"===n.type,S=(0,a.Z)({},r,{color:u,component:c,size:g,instanceSize:e.size,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:p,viewBox:m,hasSvgAsChild:y}),Z=A(S),k=(0,a.Z)({},x,{component:c,slots:h,slotProps:b}),[w,C]=(0,$.Z)("root",{ref:t,className:(0,l.Z)(Z.root,s),elementType:H,externalForwardedProps:k,ownerState:S,additionalProps:(0,a.Z)({color:f,focusable:!1},v&&{role:"img"},!v&&{"aria-hidden":!0},!p&&{viewBox:m},y&&n.props)});return(0,I.jsxs)(w,(0,a.Z)({},C,{children:[y?n.props.children:n,v?(0,I.jsx)("title",{children:v}):null]}))});var W=function(e,t){function r(r,n){return(0,I.jsx)(V,(0,a.Z)({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return r.muiName=V.muiName,i.memo(i.forwardRef(r))}((0,I.jsx)("path",{d:"m12 5.83 2.46 2.46c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L12.7 3.7a.9959.9959 0 0 0-1.41 0L8.12 6.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 5.83zm0 12.34-2.46-2.46a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l3.17 3.18c.39.39 1.02.39 1.41 0l3.17-3.17c.39-.39.39-1.02 0-1.41a.9959.9959 0 0 0-1.41 0L12 18.17z"}),"Unfold"),_=r(63923),F=r(53415);function J(e){return(0,B.d6)("MuiSelect",e)}let q=(0,B.sI)("MuiSelect",["root","button","indicator","startDecorator","endDecorator","popper","listbox","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","focusVisible","disabled","expanded"]);var U=r(2233),G=r(71267);let X=["action","autoFocus","children","defaultValue","defaultListboxOpen","disabled","getSerializedValue","placeholder","listboxId","listboxOpen","onChange","onListboxOpenChange","onClose","renderValue","required","value","size","variant","color","startDecorator","endDecorator","indicator","aria-describedby","aria-label","aria-labelledby","id","name","slots","slotProps"];function K(e){var t;return null!=(t=null==e?void 0:e.label)?t:""}let Y=[{name:"offset",options:{offset:[0,4]}},{name:"equalWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`}}],Q=e=>{let{color:t,disabled:r,focusVisible:n,size:o,variant:a,open:i}=e,l={root:["root",r&&"disabled",n&&"focusVisible",i&&"expanded",a&&`variant${(0,s.Z)(a)}`,t&&`color${(0,s.Z)(t)}`,o&&`size${(0,s.Z)(o)}`],button:["button"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],indicator:["indicator",i&&"expanded"],listbox:["listbox",i&&"expanded",r&&"disabled"]};return(0,P.Z)(l,J,{})},ee=(0,D.Z)("div",{name:"JoySelect",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n,o,i;let l=null==(r=e.variants[`${t.variant}`])?void 0:r[t.color],{borderRadius:s}=(0,F.V)({theme:e,ownerState:t},["borderRadius"]);return[(0,a.Z)({"--Select-radius":e.vars.radius.sm,"--Select-gap":"0.5rem","--Select-placeholderOpacity":.64,"--Select-decoratorColor":e.vars.palette.text.icon,"--Select-focusedThickness":e.vars.focus.thickness},"context"===t.color?{"--Select-focusedHighlight":e.vars.palette.focusVisible}:{"--Select-focusedHighlight":null==(n=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:n[500]},{"--Select-indicatorColor":null!=l&&l.backgroundColor?null==l?void 0:l.color:e.vars.palette.text.tertiary},"sm"===t.size&&{"--Select-minHeight":"2rem","--Select-paddingInline":"0.5rem","--Select-decoratorChildHeight":"min(1.5rem, var(--Select-minHeight))","--Icon-fontSize":e.vars.fontSize.xl},"md"===t.size&&{"--Select-minHeight":"2.5rem","--Select-paddingInline":"0.75rem","--Select-decoratorChildHeight":"min(2rem, var(--Select-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},"lg"===t.size&&{"--Select-minHeight":"3rem","--Select-paddingInline":"1rem","--Select-decoratorChildHeight":"min(2.375rem, var(--Select-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},{"--Select-decoratorChildOffset":"min(calc(var(--Select-paddingInline) - (var(--Select-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Select-decoratorChildHeight)) / 2), var(--Select-paddingInline))","--_Select-paddingBlock":"max((var(--Select-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Select-decoratorChildHeight)) / 2, 0px)","--Select-decoratorChildRadius":"max(var(--Select-radius) - var(--variant-borderWidth, 0px) - var(--_Select-paddingBlock), min(var(--_Select-paddingBlock) + var(--variant-borderWidth, 0px), var(--Select-radius) / 2))","--Button-minHeight":"var(--Select-decoratorChildHeight)","--IconButton-size":"var(--Select-decoratorChildHeight)","--Button-radius":"var(--Select-decoratorChildRadius)","--IconButton-radius":"var(--Select-decoratorChildRadius)",boxSizing:"border-box"},"plain"!==t.variant&&{boxShadow:e.shadow.xs},{minWidth:0,minHeight:"var(--Select-minHeight)",position:"relative",display:"flex",alignItems:"center",borderRadius:"var(--Select-radius)",cursor:"pointer"},!(null!=l&&l.backgroundColor)&&{backgroundColor:e.vars.palette.background.surface},t.size&&{paddingBlock:({sm:2,md:3,lg:4})[t.size]},{paddingInline:"var(--Select-paddingInline)"},e.typography[`body-${t.size}`],l,{"&::before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)"},[`&.${q.focusVisible}`]:{"--Select-indicatorColor":null==l?void 0:l.color,"&::before":{boxShadow:"inset 0 0 0 var(--Select-focusedThickness) var(--Select-focusedHighlight)"}},[`&.${q.disabled}`]:{"--Select-indicatorColor":"inherit"}}),{"&:hover":null==(o=e.variants[`${t.variant}Hover`])?void 0:o[t.color],[`&.${q.disabled}`]:null==(i=e.variants[`${t.variant}Disabled`])?void 0:i[t.color]},void 0!==s&&{"--Select-radius":s}]}),et=(0,D.Z)("button",{name:"JoySelect",slot:"Button",overridesResolver:(e,t)=>t.button})(({ownerState:e})=>(0,a.Z)({border:0,outline:0,background:"none",padding:0,fontSize:"inherit",color:"inherit",alignSelf:"stretch",display:"flex",alignItems:"center",flex:1,fontFamily:"inherit",cursor:"pointer",whiteSpace:"nowrap",overflow:"hidden"},(null===e.value||void 0===e.value)&&{opacity:"var(--Select-placeholderOpacity)"},{"&::before":{content:'""',display:"block",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))",right:"calc(-1 * var(--variant-borderWidth, 0px))",bottom:"calc(-1 * var(--variant-borderWidth, 0px))",borderRadius:"var(--Select-radius)"}})),er=(0,D.Z)(O.C,{name:"JoySelect",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e,ownerState:t})=>{var r;let n="context"===t.color?void 0:null==(r=e.variants[t.variant])?void 0:r[t.color];return(0,a.Z)({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--ListItem-stickyBackground":(null==n?void 0:n.backgroundColor)||(null==n?void 0:n.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},T.M,{minWidth:"max-content",maxHeight:"44vh",overflow:"auto",outline:0,boxShadow:e.shadow.md,borderRadius:`var(--List-radius, ${e.vars.radius.sm})`,zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`},!(null!=n&&n.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup})}),en=(0,D.Z)("span",{name:"JoySelect",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Button-margin":"0 0 0 calc(var(--Select-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Select-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Select-paddingInline) / -4)",display:"inherit",alignItems:"center",color:"var(--Select-decoratorColor)",marginInlineEnd:"var(--Select-gap)"}),eo=(0,D.Z)("span",{name:"JoySelect",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Button-margin":"0 calc(var(--Select-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Select-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Select-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",color:"var(--Select-decoratorColor)",marginInlineStart:"var(--Select-gap)"}),ea=(0,D.Z)("span",{name:"JoySelect",slot:"Indicator"})(({ownerState:e,theme:t})=>(0,a.Z)({},"sm"===e.size&&{"--Icon-fontSize":t.vars.fontSize.lg},"md"===e.size&&{"--Icon-fontSize":t.vars.fontSize.xl},"lg"===e.size&&{"--Icon-fontSize":t.vars.fontSize.xl2},{"--Icon-color":"neutral"!==e.color||"solid"===e.variant?"currentColor":t.vars.palette.text.icon,display:"inherit",alignItems:"center",marginInlineStart:"var(--Select-gap)",marginInlineEnd:"calc(var(--Select-paddingInline) / -4)",[`.${q.endDecorator} + &`]:{marginInlineStart:"calc(var(--Select-gap) / 2)"},[`&.${q.expanded}, .${q.disabled} > &`]:{"--Icon-color":"currentColor"}})),ei=i.forwardRef(function(e,t){var r,s,b,x,z,P,O;let D=(0,M.Z)({props:e,name:"JoySelect"}),{action:B,autoFocus:E,children:j,defaultValue:A,defaultListboxOpen:N=!1,disabled:H,getSerializedValue:V,placeholder:F,listboxId:J,listboxOpen:ei,onChange:el,onListboxOpenChange:es,onClose:eu,renderValue:ec,required:ed=!1,value:ef,size:ep="md",variant:ev="outlined",color:em="neutral",startDecorator:eg,endDecorator:eh,indicator:eb=n||(n=(0,I.jsx)(W,{})),"aria-describedby":ex,"aria-label":ey,"aria-labelledby":eS,id:eZ,name:ek,slots:ew={},slotProps:eC={}}=D,ez=(0,o.Z)(D,X),eI=i.useContext(U.Z),eR=null!=(r=null!=(s=e.disabled)?s:null==eI?void 0:eI.disabled)?r:H,eP=null!=(b=null!=(x=e.size)?x:null==eI?void 0:eI.size)?b:ep,{getColor:eO}=(0,_.VT)(ev),eT=eO(e.color,null!=eI&&eI.error?"danger":null!=(z=null==eI?void 0:eI.color)?z:em),eL=null!=ec?ec:K,[eD,eM]=i.useState(null),e$=i.useRef(null),eB=i.useRef(null),eE=i.useRef(null),ej=(0,u.Z)(t,e$);i.useImperativeHandle(B,()=>({focusVisible:()=>{var e;null==(e=eB.current)||e.focus()}}),[]),i.useEffect(()=>{eM(e$.current)},[]),i.useEffect(()=>{E&&eB.current.focus()},[E]);let eA=i.useCallback(e=>{null==es||es(e),e||null==eu||eu()},[eu,es]),{buttonActive:eN,buttonFocusVisible:eH,contextValue:eV,disabled:eW,getButtonProps:e_,getListboxProps:eF,getHiddenInputProps:eJ,getOptionMetadata:eq,open:eU,value:eG}=function(e){let t,r,n;let{areOptionsEqual:o,buttonRef:l,defaultOpen:s=!1,defaultValue:c,disabled:b=!1,listboxId:x,listboxRef:z,multiple:I=!1,name:R,required:P,onChange:O,onHighlightChange:T,onOpenChange:L,open:D,options:M,getOptionAsString:$=g,getSerializedValue:B=w,value:E}=e,j=i.useRef(null),A=(0,u.Z)(l,j),N=i.useRef(null),H=(0,d.Z)(x);void 0===E&&void 0===c?t=[]:void 0!==c&&(t=I?c:null==c?[]:[c]);let V=i.useMemo(()=>{if(void 0!==E)return I?E:null==E?[]:[E]},[E,I]),{subitems:W,contextValue:_}=(0,h.Y)(),F=i.useMemo(()=>null!=M?new Map(M.map((e,t)=>[e.value,{value:e.value,label:e.label,disabled:e.disabled,ref:i.createRef(),id:`${H}_${t}`}])):W,[M,W,H]),J=(0,u.Z)(z,N),{getRootProps:q,active:U,focusVisible:G,rootRef:X}=(0,p.U)({disabled:b,rootRef:A}),K=i.useMemo(()=>Array.from(F.keys()),[F]),Y=i.useCallback(e=>{if(void 0!==o){let t=K.find(t=>o(t,e));return F.get(t)}return F.get(e)},[F,o,K]),Q=i.useCallback(e=>{var t;let r=Y(e);return null!=(t=null==r?void 0:r.disabled)&&t},[Y]),ee=i.useCallback(e=>{let t=Y(e);return t?$(t):""},[Y,$]),et=i.useMemo(()=>({selectedValues:V,open:D}),[V,D]),er=i.useCallback(e=>{var t;return null==(t=F.get(e))?void 0:t.id},[F]),en=i.useCallback((e,t)=>{if(I)null==O||O(e,t);else{var r;null==O||O(e,null!=(r=t[0])?r:null)}},[I,O]),eo=i.useCallback((e,t)=>{null==T||T(e,null!=t?t:null)},[T]),ea=i.useCallback((e,t,r)=>{if("open"===t&&(null==L||L(r),!1===r&&(null==e?void 0:e.type)!=="blur")){var n;null==(n=j.current)||n.focus()}},[L]),ei={getInitialState:()=>{var e;return{highlightedValue:null,selectedValues:null!=(e=t)?e:[],open:s}},getItemId:er,controlledProps:et,itemComparer:o,isItemDisabled:Q,rootRef:X,onChange:en,onHighlightChange:eo,onStateChange:ea,reducerActionContext:i.useMemo(()=>({multiple:I}),[I]),items:K,getItemAsString:ee,selectionMode:I?"multiple":"single",stateReducer:y},{dispatch:el,getRootProps:es,contextValue:eu,state:{open:ec,highlightedValue:ed,selectedValues:ef},rootRef:ep}=(0,m.s)(ei),ev=e=>t=>{var r;if(null==e||null==(r=e.onMouseDown)||r.call(e,t),!t.defaultMuiPrevented){let e={type:v.buttonClick,event:t};el(e)}};(0,f.Z)(()=>{if(null!=ed){var e;let t=null==(e=Y(ed))?void 0:e.ref;if(!N.current||!(null!=t&&t.current))return;let r=N.current.getBoundingClientRect(),n=t.current.getBoundingClientRect();n.topr.bottom&&(N.current.scrollTop+=n.bottom-r.bottom)}},[ed,Y]);let em=i.useCallback(e=>Y(e),[Y]),eg=(e={})=>(0,a.Z)({},e,{onMouseDown:ev(e),ref:ep,role:"combobox","aria-expanded":ec,"aria-controls":H});i.useDebugValue({selectedOptions:ef,highlightedOption:ed,open:ec});let eh=i.useMemo(()=>(0,a.Z)({},eu,_),[eu,_]);if(r=e.multiple?ef:ef.length>0?ef[0]:null,I)n=r.map(e=>em(e)).filter(e=>void 0!==e);else{var eb;n=null!=(eb=em(r))?eb:null}return{buttonActive:U,buttonFocusVisible:G,buttonRef:X,contextValue:eh,disabled:b,dispatch:el,getButtonProps:(e={})=>{let t=(0,S.f)(q,es),r=(0,S.f)(t,eg);return r(e)},getHiddenInputProps:(e={})=>(0,a.Z)({name:R,tabIndex:-1,"aria-hidden":!0,required:!!P||void 0,value:B(n),onChange:k,style:Z},e),getListboxProps:(e={})=>(0,a.Z)({},e,{id:H,role:"listbox","aria-multiselectable":I?"true":void 0,ref:J,onMouseDown:C}),getOptionMetadata:em,listboxRef:ep,open:ec,options:K,value:r,highlightedOption:ed}}({buttonRef:eB,defaultOpen:N,defaultValue:A,disabled:eR,getSerializedValue:V,listboxId:J,multiple:!1,name:ek,required:ed,onChange:el,onOpenChange:eA,open:ei,value:ef}),eX=(0,a.Z)({},D,{active:eN,defaultListboxOpen:N,disabled:eW,focusVisible:eH,open:eU,renderValue:eL,value:eG,size:eP,variant:ev,color:eT}),eK=Q(eX),eY=(0,a.Z)({},ez,{slots:ew,slotProps:eC}),eQ=i.useMemo(()=>{var e;return null!=(e=eq(eG))?e:null},[eq,eG]),[e0,e1]=(0,$.Z)("root",{ref:ej,className:eK.root,elementType:ee,externalForwardedProps:eY,ownerState:eX}),[e2,e3]=(0,$.Z)("button",{additionalProps:{"aria-describedby":null!=ex?ex:null==eI?void 0:eI["aria-describedby"],"aria-label":ey,"aria-labelledby":null!=eS?eS:null==eI?void 0:eI.labelId,"aria-required":ed?"true":void 0,id:null!=eZ?eZ:null==eI?void 0:eI.htmlFor,name:ek},className:eK.button,elementType:et,externalForwardedProps:eY,getSlotProps:e_,ownerState:eX}),[e9,e5]=(0,$.Z)("listbox",{additionalProps:{ref:eE,anchorEl:eD,open:eU,placement:"bottom",keepMounted:!0},className:eK.listbox,elementType:er,externalForwardedProps:eY,getSlotProps:eF,ownerState:(0,a.Z)({},eX,{nesting:!1,row:!1,wrap:!1}),getSlotOwnerState:e=>({size:e.size||eP,variant:e.variant||ev,color:e.color||(e.disablePortal?eT:em),disableColorInversion:!e.disablePortal})}),[e4,e6]=(0,$.Z)("startDecorator",{className:eK.startDecorator,elementType:en,externalForwardedProps:eY,ownerState:eX}),[e7,e8]=(0,$.Z)("endDecorator",{className:eK.endDecorator,elementType:eo,externalForwardedProps:eY,ownerState:eX}),[te,tt]=(0,$.Z)("indicator",{className:eK.indicator,elementType:ea,externalForwardedProps:eY,ownerState:eX}),tr=i.useMemo(()=>[...Y,...e5.modifiers||[]],[e5.modifiers]),tn=null;return eD&&(tn=(0,I.jsx)(e9,(0,a.Z)({},e5,{className:(0,l.Z)(e5.className,(null==(P=e5.ownerState)?void 0:P.color)==="context"&&q.colorContext),modifiers:tr},!(null!=(O=D.slots)&&O.listbox)&&{as:c.r,slots:{root:e5.as||"ul"}},{children:(0,I.jsx)(R,{value:eV,children:(0,I.jsx)(G.Yb,{variant:ev,color:em,children:(0,I.jsx)(L.Z.Provider,{value:"select",children:(0,I.jsx)(T.Z,{nested:!0,children:j})})})})})),e5.disablePortal||(tn=(0,I.jsx)(_.ZP.Provider,{value:void 0,children:tn}))),(0,I.jsxs)(i.Fragment,{children:[(0,I.jsxs)(e0,(0,a.Z)({},e1,{children:[eg&&(0,I.jsx)(e4,(0,a.Z)({},e6,{children:eg})),(0,I.jsx)(e2,(0,a.Z)({},e3,{children:eQ?eL(eQ):F})),eh&&(0,I.jsx)(e7,(0,a.Z)({},e8,{children:eh})),eb&&(0,I.jsx)(te,(0,a.Z)({},tt,{children:eb})),(0,I.jsx)("input",(0,a.Z)({},eJ()))]})),tn]})});var el=ei},70224:function(e,t,r){"use strict";r.d(t,{Z:function(){return Z}});var n=r(79760),o=r(42096),a=r(38497),i=r(4280),l=r(95893),s=r(17923),u=r(75559),c=r(47e3),d=r(74936),f=r(53415),p=r(73118);function v(e){return(0,p.d6)("MuiSheet",e)}(0,p.sI)("MuiSheet",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var m=r(63923),g=r(80574),h=r(96469);let b=["className","color","component","variant","invertedColors","slots","slotProps"],x=e=>{let{variant:t,color:r}=e,n={root:["root",t&&`variant${(0,s.Z)(t)}`,r&&`color${(0,s.Z)(r)}`]};return(0,l.Z)(n,v,{})},y=(0,d.Z)("div",{name:"JoySheet",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n;let a=null==(r=e.variants[t.variant])?void 0:r[t.color],{borderRadius:i,bgcolor:l,backgroundColor:s,background:c}=(0,f.V)({theme:e,ownerState:t},["borderRadius","bgcolor","backgroundColor","background"]),d=(0,u.DW)(e,`palette.${l}`)||l||(0,u.DW)(e,`palette.${s}`)||s||c||(null==a?void 0:a.backgroundColor)||(null==a?void 0:a.background)||e.vars.palette.background.surface;return[(0,o.Z)({"--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,"--ListItem-stickyBackground":"transparent"===d?"initial":d,"--Sheet-background":"transparent"===d?"initial":d},void 0!==i&&{"--List-radius":`calc(${i} - var(--variant-borderWidth, 0px))`,"--unstable_actionRadius":`calc(${i} - var(--variant-borderWidth, 0px))`},{backgroundColor:e.vars.palette.background.surface,position:"relative"}),(0,o.Z)({},e.typography["body-md"],a),"context"!==t.color&&t.invertedColors&&(null==(n=e.colorInversion[t.variant])?void 0:n[t.color])]}),S=a.forwardRef(function(e,t){let r=(0,c.Z)({props:e,name:"JoySheet"}),{className:a,color:l="neutral",component:s="div",variant:u="plain",invertedColors:d=!1,slots:f={},slotProps:p={}}=r,v=(0,n.Z)(r,b),{getColor:S}=(0,m.VT)(u),Z=S(e.color,l),k=(0,o.Z)({},r,{color:Z,component:s,invertedColors:d,variant:u}),w=x(k),C=(0,o.Z)({},v,{component:s,slots:f,slotProps:p}),[z,I]=(0,g.Z)("root",{ref:t,className:(0,i.Z)(w.root,a),elementType:y,externalForwardedProps:C,ownerState:k}),R=(0,h.jsx)(z,(0,o.Z)({},I));return d?(0,h.jsx)(m.do,{variant:u,children:R}):R});var Z=S},89809:function(e,t,r){"use strict";let n;r.d(t,{Z:function(){return G}});var o=r(79760),a=r(42096),i=r(38497),l=r(4280),s=r(17923),u=r(95893),c=r(78837),d=r(15978),f=r(44520),p=r(66268),v=function(e){let t=i.useRef(e);return(0,p.Z)(()=>{t.current=e}),i.useRef((...e)=>(0,t.current)(...e)).current},m={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},g=r(1523);function h(e,t){return e-t}function b(e,t,r){return null==e?t:Math.min(Math.max(t,e),r)}function x(e,t){var r;let{index:n}=null!=(r=e.reduce((e,r,n)=>{let o=Math.abs(t-r);return null===e||o({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},C=e=>e;function z(){return void 0===n&&(n="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),n}var I=r(53572),R=r(74936),P=r(47e3),O=r(63923),T=r(80574),L=r(73118);function D(e){return(0,L.d6)("MuiSlider",e)}let M=(0,L.sI)("MuiSlider",["root","disabled","dragging","focusVisible","marked","vertical","trackInverted","trackFalse","rail","track","mark","markActive","markLabel","thumb","thumbStart","thumbEnd","valueLabel","valueLabelOpen","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","disabled","sizeSm","sizeMd","sizeLg","input"]);var $=r(96469);let B=["aria-label","aria-valuetext","className","classes","disableSwap","disabled","defaultValue","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","color","size","variant","component","slots","slotProps"];function E(e){return e}let j=e=>{let{disabled:t,dragging:r,marked:n,orientation:o,track:a,variant:i,color:l,size:c}=e,d={root:["root",t&&"disabled",r&&"dragging",n&&"marked","vertical"===o&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse",i&&`variant${(0,s.Z)(i)}`,l&&`color${(0,s.Z)(l)}`,c&&`size${(0,s.Z)(c)}`],rail:["rail"],track:["track"],thumb:["thumb",t&&"disabled"],input:["input"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],valueLabelOpen:["valueLabelOpen"],active:["active"],focusVisible:["focusVisible"]};return(0,u.Z)(d,D,{})},A=({theme:e,ownerState:t})=>(r={})=>{var n,o;let i=(null==(n=e.variants[`${t.variant}${r.state||""}`])?void 0:n[t.color])||{};return(0,a.Z)({},!r.state&&{"--variant-borderWidth":null!=(o=i["--variant-borderWidth"])?o:"0px"},{"--Slider-trackColor":i.color,"--Slider-thumbBackground":i.color,"--Slider-thumbColor":i.backgroundColor||e.vars.palette.background.surface,"--Slider-trackBackground":i.backgroundColor||e.vars.palette.background.surface,"--Slider-trackBorderColor":i.borderColor,"--Slider-railBackground":e.vars.palette.background.level2})},N=(0,R.Z)("span",{name:"JoySlider",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{let r=A({theme:e,ownerState:t});return[(0,a.Z)({"--Slider-size":"max(42px, max(var(--Slider-thumbSize), var(--Slider-trackSize)))","--Slider-trackRadius":"var(--Slider-size)","--Slider-markBackground":e.vars.palette.text.tertiary,[`& .${M.markActive}`]:{"--Slider-markBackground":"var(--Slider-trackColor)"}},"sm"===t.size&&{"--Slider-markSize":"2px","--Slider-trackSize":"4px","--Slider-thumbSize":"14px","--Slider-valueLabelArrowSize":"6px"},"md"===t.size&&{"--Slider-markSize":"2px","--Slider-trackSize":"6px","--Slider-thumbSize":"18px","--Slider-valueLabelArrowSize":"8px"},"lg"===t.size&&{"--Slider-markSize":"3px","--Slider-trackSize":"8px","--Slider-thumbSize":"24px","--Slider-valueLabelArrowSize":"10px"},{"--Slider-thumbRadius":"calc(var(--Slider-thumbSize) / 2)","--Slider-thumbWidth":"var(--Slider-thumbSize)"},r(),{"&:hover":(0,a.Z)({},r({state:"Hover"})),"&:active":(0,a.Z)({},r({state:"Active"})),[`&.${M.disabled}`]:(0,a.Z)({pointerEvents:"none",color:e.vars.palette.text.tertiary},r({state:"Disabled"})),boxSizing:"border-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent"},"horizontal"===t.orientation&&{padding:"calc(var(--Slider-size) / 2) 0",width:"100%"},"vertical"===t.orientation&&{padding:"0 calc(var(--Slider-size) / 2)",height:"100%"},{"@media print":{colorAdjust:"exact"}})]}),H=(0,R.Z)("span",{name:"JoySlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})(({ownerState:e})=>[(0,a.Z)({display:"block",position:"absolute",backgroundColor:"inverted"===e.track?"var(--Slider-trackBackground)":"var(--Slider-railBackground)",border:"inverted"===e.track?"var(--variant-borderWidth, 0px) solid var(--Slider-trackBorderColor)":"initial",borderRadius:"var(--Slider-trackRadius)"},"horizontal"===e.orientation&&{height:"var(--Slider-trackSize)",top:"50%",left:0,right:0,transform:"translateY(-50%)"},"vertical"===e.orientation&&{width:"var(--Slider-trackSize)",top:0,bottom:0,left:"50%",transform:"translateX(-50%)"},"inverted"===e.track&&{opacity:1})]),V=(0,R.Z)("span",{name:"JoySlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({ownerState:e})=>[(0,a.Z)({display:"block",position:"absolute",color:"var(--Slider-trackColor)",border:"inverted"===e.track?"initial":"var(--variant-borderWidth, 0px) solid var(--Slider-trackBorderColor)",backgroundColor:"inverted"===e.track?"var(--Slider-railBackground)":"var(--Slider-trackBackground)"},"horizontal"===e.orientation&&{height:"var(--Slider-trackSize)",top:"50%",transform:"translateY(-50%)",borderRadius:"var(--Slider-trackRadius) 0 0 var(--Slider-trackRadius)"},"vertical"===e.orientation&&{width:"var(--Slider-trackSize)",left:"50%",transform:"translateX(-50%)",borderRadius:"0 0 var(--Slider-trackRadius) var(--Slider-trackRadius)"},!1===e.track&&{display:"none"})]),W=(0,R.Z)("span",{name:"JoySlider",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({ownerState:e,theme:t})=>{var r;return(0,a.Z)({position:"absolute",boxSizing:"border-box",outline:0,display:"flex",alignItems:"center",justifyContent:"center",width:"var(--Slider-thumbWidth)",height:"var(--Slider-thumbSize)",border:"var(--variant-borderWidth, 0px) solid var(--Slider-trackBorderColor)",borderRadius:"var(--Slider-thumbRadius)",boxShadow:"var(--Slider-thumbShadow)",color:"var(--Slider-thumbColor)",backgroundColor:"var(--Slider-thumbBackground)",[t.focus.selector]:(0,a.Z)({},t.focus.default,{outlineOffset:0,outlineWidth:"max(4px, var(--Slider-thumbSize) / 3.6)"},"context"!==e.color&&{outlineColor:`rgba(${null==(r=t.vars.palette)||null==(r=r[e.color])?void 0:r.mainChannel} / 0.32)`})},"horizontal"===e.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===e.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},{"&::before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",background:"transparent",top:0,left:0,width:"100%",height:"100%",border:"2px solid",borderColor:"var(--Slider-thumbColor)",borderRadius:"inherit"}})}),_=(0,R.Z)("span",{name:"JoySlider",slot:"Mark",overridesResolver:(e,t)=>t.mark})(({ownerState:e})=>(0,a.Z)({position:"absolute",width:"var(--Slider-markSize)",height:"var(--Slider-markSize)",borderRadius:"var(--Slider-markSize)",backgroundColor:"var(--Slider-markBackground)"},"horizontal"===e.orientation&&(0,a.Z)({top:"50%",transform:"translate(calc(var(--Slider-markSize) / -2), -50%)"},0===e.percent&&{transform:"translate(min(var(--Slider-markSize), 3px), -50%)"},100===e.percent&&{transform:"translate(calc(var(--Slider-markSize) * -1 - min(var(--Slider-markSize), 3px)), -50%)"}),"vertical"===e.orientation&&(0,a.Z)({left:"50%",transform:"translate(-50%, calc(var(--Slider-markSize) / 2))"},0===e.percent&&{transform:"translate(-50%, calc(min(var(--Slider-markSize), 3px) * -1))"},100===e.percent&&{transform:"translate(-50%, calc(var(--Slider-markSize) * 1 + min(var(--Slider-markSize), 3px)))"}))),F=(0,R.Z)("span",{name:"JoySlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e,ownerState:t})=>(0,a.Z)({},"sm"===t.size&&{fontSize:e.fontSize.xs,lineHeight:e.lineHeight.md,paddingInline:"0.25rem",minWidth:"20px"},"md"===t.size&&{fontSize:e.fontSize.sm,lineHeight:e.lineHeight.md,paddingInline:"0.375rem",minWidth:"24px"},"lg"===t.size&&{fontSize:e.fontSize.md,lineHeight:e.lineHeight.md,paddingInline:"0.5rem",minWidth:"28px"},{zIndex:1,display:"flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.md,bottom:0,transformOrigin:"bottom center",transform:"translateY(calc((var(--Slider-thumbSize) + var(--Slider-valueLabelArrowSize)) * -1)) scale(0)",position:"absolute",backgroundColor:e.vars.palette.background.tooltip,boxShadow:e.shadow.sm,borderRadius:e.vars.radius.xs,color:"#fff","&::before":{display:"var(--Slider-valueLabelArrowDisplay)",position:"absolute",content:'""',color:e.vars.palette.background.tooltip,bottom:0,border:"calc(var(--Slider-valueLabelArrowSize) / 2) solid",borderColor:"currentColor",borderRightColor:"transparent",borderBottomColor:"transparent",borderLeftColor:"transparent",left:"50%",transform:"translate(-50%, 100%)",backgroundColor:"transparent"},[`&.${M.valueLabelOpen}`]:{transform:"translateY(calc((var(--Slider-thumbSize) + var(--Slider-valueLabelArrowSize)) * -1)) scale(1)"}})),J=(0,R.Z)("span",{name:"JoySlider",slot:"MarkLabel",overridesResolver:(e,t)=>t.markLabel})(({theme:e,ownerState:t})=>(0,a.Z)({fontFamily:e.vars.fontFamily.body},"sm"===t.size&&{fontSize:e.vars.fontSize.xs},"md"===t.size&&{fontSize:e.vars.fontSize.sm},"lg"===t.size&&{fontSize:e.vars.fontSize.md},{color:e.palette.text.tertiary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===t.orientation&&{top:"calc(50% + 4px + (max(var(--Slider-trackSize), var(--Slider-thumbSize)) / 2))",transform:"translateX(-50%)"},"vertical"===t.orientation&&{left:"calc(50% + 8px + (max(var(--Slider-trackSize), var(--Slider-thumbSize)) / 2))",transform:"translateY(50%)"})),q=(0,R.Z)("input",{name:"JoySlider",slot:"Input",overridesResolver:(e,t)=>t.input})({}),U=i.forwardRef(function(e,t){let r=(0,P.Z)({props:e,name:"JoySlider"}),{"aria-label":n,"aria-valuetext":s,className:u,classes:g,disableSwap:R=!1,disabled:L=!1,defaultValue:D,getAriaLabel:M,getAriaValueText:A,marks:U=!1,max:G=100,min:X=0,orientation:K="horizontal",scale:Y=E,step:Q=1,track:ee="normal",valueLabelDisplay:et="off",valueLabelFormat:er=E,isRtl:en=!1,color:eo="primary",size:ea="md",variant:ei="solid",component:el,slots:es={},slotProps:eu={}}=r,ec=(0,o.Z)(r,B),{getColor:ed}=(0,O.VT)("solid"),ef=ed(e.color,eo),ep=(0,a.Z)({},r,{marks:U,classes:g,disabled:L,defaultValue:D,disableSwap:R,isRtl:en,max:G,min:X,orientation:K,scale:Y,step:Q,track:ee,valueLabelDisplay:et,valueLabelFormat:er,color:ef,size:ea,variant:ei}),{axisProps:ev,getRootProps:em,getHiddenInputProps:eg,getThumbProps:eh,open:eb,active:ex,axis:ey,focusedThumbIndex:eS,range:eZ,dragging:ek,marks:ew,values:eC,trackOffset:ez,trackLeap:eI,getThumbStyle:eR}=function(e){let{"aria-labelledby":t,defaultValue:r,disabled:n=!1,disableSwap:o=!1,isRtl:l=!1,marks:s=!1,max:u=100,min:g=0,name:I,onChange:R,onChangeCommitted:P,orientation:O="horizontal",rootRef:T,scale:L=C,step:D=1,tabIndex:M,value:$}=e,B=i.useRef(),[E,j]=i.useState(-1),[A,N]=i.useState(-1),[H,V]=i.useState(!1),W=i.useRef(0),[_,F]=function({controlled:e,default:t,name:r,state:n="value"}){let{current:o}=i.useRef(void 0!==e),[a,l]=i.useState(t),s=o?e:a,u=i.useCallback(e=>{o||l(e)},[]);return[s,u]}({controlled:$,default:null!=r?r:g,name:"Slider"}),J=R&&((e,t,r)=>{let n=e.nativeEvent||e,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:t,name:I}}),R(o,t,r)}),q=Array.isArray(_),U=q?_.slice().sort(h):[_];U=U.map(e=>b(e,g,u));let G=!0===s&&null!==D?[...Array(Math.floor((u-g)/D)+1)].map((e,t)=>({value:g+D*t})):s||[],X=G.map(e=>e.value),{isFocusVisibleRef:K,onBlur:Y,onFocus:Q,ref:ee}=(0,d.Z)(),[et,er]=i.useState(-1),en=i.useRef(),eo=(0,f.Z)(ee,en),ea=(0,f.Z)(T,eo),ei=e=>t=>{var r;let n=Number(t.currentTarget.getAttribute("data-index"));Q(t),!0===K.current&&er(n),N(n),null==e||null==(r=e.onFocus)||r.call(e,t)},el=e=>t=>{var r;Y(t),!1===K.current&&er(-1),N(-1),null==e||null==(r=e.onBlur)||r.call(e,t)};(0,p.Z)(()=>{if(n&&en.current.contains(document.activeElement)){var e;null==(e=document.activeElement)||e.blur()}},[n]),n&&-1!==E&&j(-1),n&&-1!==et&&er(-1);let es=e=>t=>{var r;null==(r=e.onChange)||r.call(e,t);let n=Number(t.currentTarget.getAttribute("data-index")),a=U[n],i=X.indexOf(a),l=t.target.valueAsNumber;if(G&&null==D){let e=X[X.length-1];l=l>e?e:l{let r,n;let{current:a}=en,{width:i,height:l,bottom:s,left:c}=a.getBoundingClientRect();if(r=0===ec.indexOf("vertical")?(s-e.y)/l:(e.x-c)/i,-1!==ec.indexOf("-reverse")&&(r=1-r),n=(u-g)*r+g,D)n=function(e,t,r){let n=Math.round((e-r)/t)*t+r;return Number(n.toFixed(function(e){if(1>Math.abs(e)){let t=e.toExponential().split("e-"),r=t[0].split(".")[1];return(r?r.length:0)+parseInt(t[1],10)}let t=e.toString().split(".")[1];return t?t.length:0}(t)))}(n,D,g);else{let e=x(X,n);n=X[e]}n=b(n,g,u);let d=0;if(q){d=t?eu.current:x(U,n),o&&(n=b(n,U[d-1]||-1/0,U[d+1]||1/0));let e=n;n=S({values:U,newValue:n,index:d}),o&&t||(d=n.indexOf(e),eu.current=d)}return{newValue:n,activeIndex:d}},ef=v(e=>{let t=y(e,B);if(!t)return;if(W.current+=1,"mousemove"===e.type&&0===e.buttons){ep(e);return}let{newValue:r,activeIndex:n}=ed({finger:t,move:!0});Z({sliderRef:en,activeIndex:n,setActive:j}),F(r),!H&&W.current>2&&V(!0),J&&!k(r,_)&&J(e,r,n)}),ep=v(e=>{let t=y(e,B);if(V(!1),!t)return;let{newValue:r}=ed({finger:t,move:!0});j(-1),"touchend"===e.type&&N(-1),P&&P(e,r),B.current=void 0,em()}),ev=v(e=>{if(n)return;z()||e.preventDefault();let t=e.changedTouches[0];null!=t&&(B.current=t.identifier);let r=y(e,B);if(!1!==r){let{newValue:t,activeIndex:n}=ed({finger:r});Z({sliderRef:en,activeIndex:n,setActive:j}),F(t),J&&!k(t,_)&&J(e,t,n)}W.current=0;let o=(0,c.Z)(en.current);o.addEventListener("touchmove",ef),o.addEventListener("touchend",ep)}),em=i.useCallback(()=>{let e=(0,c.Z)(en.current);e.removeEventListener("mousemove",ef),e.removeEventListener("mouseup",ep),e.removeEventListener("touchmove",ef),e.removeEventListener("touchend",ep)},[ep,ef]);i.useEffect(()=>{let{current:e}=en;return e.addEventListener("touchstart",ev,{passive:z()}),()=>{e.removeEventListener("touchstart",ev,{passive:z()}),em()}},[em,ev]),i.useEffect(()=>{n&&em()},[n,em]);let eg=e=>t=>{var r;if(null==(r=e.onMouseDown)||r.call(e,t),n||t.defaultPrevented||0!==t.button)return;t.preventDefault();let o=y(t,B);if(!1!==o){let{newValue:e,activeIndex:r}=ed({finger:o});Z({sliderRef:en,activeIndex:r,setActive:j}),F(e),J&&!k(e,_)&&J(t,e,r)}W.current=0;let a=(0,c.Z)(en.current);a.addEventListener("mousemove",ef),a.addEventListener("mouseup",ep)},eh=((q?U[0]:g)-g)*100/(u-g),eb=(U[U.length-1]-g)*100/(u-g)-eh,ex=e=>t=>{var r;null==(r=e.onMouseOver)||r.call(e,t);let n=Number(t.currentTarget.getAttribute("data-index"));N(n)},ey=e=>t=>{var r;null==(r=e.onMouseLeave)||r.call(e,t),N(-1)};return{active:E,axis:ec,axisProps:w,dragging:H,focusedThumbIndex:et,getHiddenInputProps:(r={})=>{var o;let i={onChange:es(r||{}),onFocus:ei(r||{}),onBlur:el(r||{})},s=(0,a.Z)({},r,i);return(0,a.Z)({tabIndex:M,"aria-labelledby":t,"aria-orientation":O,"aria-valuemax":L(u),"aria-valuemin":L(g),name:I,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(o=e.step)?o:void 0,disabled:n},s,{style:(0,a.Z)({},m,{direction:l?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{let t={onMouseDown:eg(e||{})},r=(0,a.Z)({},e,t);return(0,a.Z)({ref:ea},r)},getThumbProps:(e={})=>{let t={onMouseOver:ex(e||{}),onMouseLeave:ey(e||{})};return(0,a.Z)({},e,t)},marks:G,open:A,range:q,rootRef:ea,trackLeap:eb,trackOffset:eh,values:U,getThumbStyle:e=>({pointerEvents:-1!==E&&E!==e?"none":void 0})}}((0,a.Z)({},ep,{rootRef:t}));ep.marked=ew.length>0&&ew.some(e=>e.label),ep.dragging=ek;let eP=(0,a.Z)({},ev[ey].offset(ez),ev[ey].leap(eI)),eO=j(ep),eT=(0,a.Z)({},ec,{component:el,slots:es,slotProps:eu}),[eL,eD]=(0,T.Z)("root",{ref:t,className:(0,l.Z)(eO.root,u),elementType:N,externalForwardedProps:eT,getSlotProps:em,ownerState:ep}),[eM,e$]=(0,T.Z)("rail",{className:eO.rail,elementType:H,externalForwardedProps:eT,ownerState:ep}),[eB,eE]=(0,T.Z)("track",{additionalProps:{style:eP},className:eO.track,elementType:V,externalForwardedProps:eT,ownerState:ep}),[ej,eA]=(0,T.Z)("mark",{className:eO.mark,elementType:_,externalForwardedProps:eT,ownerState:ep}),[eN,eH]=(0,T.Z)("markLabel",{className:eO.markLabel,elementType:J,externalForwardedProps:eT,ownerState:ep,additionalProps:{"aria-hidden":!0}}),[eV,eW]=(0,T.Z)("thumb",{className:eO.thumb,elementType:W,externalForwardedProps:eT,getSlotProps:eh,ownerState:ep}),[e_,eF]=(0,T.Z)("input",{className:eO.input,elementType:q,externalForwardedProps:eT,getSlotProps:eg,ownerState:ep}),[eJ,eq]=(0,T.Z)("valueLabel",{className:eO.valueLabel,elementType:F,externalForwardedProps:eT,ownerState:ep});return(0,$.jsxs)(eL,(0,a.Z)({},eD,{children:[(0,$.jsx)(eM,(0,a.Z)({},e$)),(0,$.jsx)(eB,(0,a.Z)({},eE)),ew.filter(e=>e.value>=X&&e.value<=G).map((e,t)=>{let r;let n=(e.value-X)*100/(G-X),o=ev[ey].offset(n);return r=!1===ee?-1!==eC.indexOf(e.value):"normal"===ee&&(eZ?e.value>=eC[0]&&e.value<=eC[eC.length-1]:e.value<=eC[0])||"inverted"===ee&&(eZ?e.value<=eC[0]||e.value>=eC[eC.length-1]:e.value>=eC[0]),(0,$.jsxs)(i.Fragment,{children:[(0,$.jsx)(ej,(0,a.Z)({"data-index":t},eA,!(0,I.X)(ej)&&{ownerState:(0,a.Z)({},eA.ownerState,{percent:n})},{style:(0,a.Z)({},o,eA.style),className:(0,l.Z)(eA.className,r&&eO.markActive)})),null!=e.label?(0,$.jsx)(eN,(0,a.Z)({"data-index":t},eH,{style:(0,a.Z)({},o,eH.style),className:(0,l.Z)(eO.markLabel,eH.className,r&&eO.markLabelActive),children:e.label})):null]},e.value)}),eC.map((e,t)=>{let r=(e-X)*100/(G-X),o=ev[ey].offset(r);return(0,$.jsxs)(eV,(0,a.Z)({"data-index":t},eW,{className:(0,l.Z)(eW.className,ex===t&&eO.active,eS===t&&eO.focusVisible),style:(0,a.Z)({},o,eR(t),eW.style),children:[(0,$.jsx)(e_,(0,a.Z)({"data-index":t,"aria-label":M?M(t):n,"aria-valuenow":Y(e),"aria-valuetext":A?A(Y(e),t):s,value:eC[t]},eF)),"off"!==et?(0,$.jsx)(eJ,(0,a.Z)({},eq,{className:(0,l.Z)(eq.className,(eb===t||ex===t||"on"===et)&&eO.valueLabelOpen),children:"function"==typeof er?er(Y(e),t):er})):null]}),t)})]}))});var G=U},75349:function(e,t,r){"use strict";r.d(t,{Z:function(){return j}});var n=r(79760),o=r(42096),a=r(38497),i=r(17923),l=r(95893),s=r(2060),u=r(44520),c=r(78837);function d(e){let t=(0,c.Z)(e);return t.defaultView||window}var f=r(66268),p=r(96469);let v=["onChange","maxRows","minRows","style","value"];function m(e){return parseInt(e,10)||0}let g={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function h(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}let b=a.forwardRef(function(e,t){let{onChange:r,maxRows:i,minRows:l=1,style:c,value:b}=e,x=(0,n.Z)(e,v),{current:y}=a.useRef(null!=b),S=a.useRef(null),Z=(0,u.Z)(t,S),k=a.useRef(null),w=a.useRef(0),[C,z]=a.useState({outerHeightStyle:0}),I=a.useCallback(()=>{let t=S.current,r=d(t),n=r.getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};let o=k.current;o.style.width=n.width,o.value=t.value||e.placeholder||"x","\n"===o.value.slice(-1)&&(o.value+=" ");let a=n.boxSizing,s=m(n.paddingBottom)+m(n.paddingTop),u=m(n.borderBottomWidth)+m(n.borderTopWidth),c=o.scrollHeight;o.value="x";let f=o.scrollHeight,p=c;l&&(p=Math.max(Number(l)*f,p)),i&&(p=Math.min(Number(i)*f,p)),p=Math.max(p,f);let v=p+("border-box"===a?s+u:0),g=1>=Math.abs(p-c);return{outerHeightStyle:v,overflow:g}},[i,l,e.placeholder]),R=(e,t)=>{let{outerHeightStyle:r,overflow:n}=t;return w.current<20&&(r>0&&Math.abs((e.outerHeightStyle||0)-r)>1||e.overflow!==n)?(w.current+=1,{overflow:n,outerHeightStyle:r}):e},P=a.useCallback(()=>{let e=I();h(e)||z(t=>R(t,e))},[I]),O=()=>{let e=I();h(e)||s.flushSync(()=>{z(t=>R(t,e))})};return a.useEffect(()=>{let e;let t=function(e,t=166){let r;function n(...o){clearTimeout(r),r=setTimeout(()=>{e.apply(this,o)},t)}return n.clear=()=>{clearTimeout(r)},n}(()=>{w.current=0,S.current&&O()}),r=S.current,n=d(r);return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(()=>{w.current=0,S.current&&O()})).observe(r),()=>{t.clear(),n.removeEventListener("resize",t),e&&e.disconnect()}}),(0,f.Z)(()=>{P()}),a.useEffect(()=>{w.current=0},[b]),(0,p.jsxs)(a.Fragment,{children:[(0,p.jsx)("textarea",(0,o.Z)({value:b,onChange:e=>{w.current=0,y||P(),r&&r(e)},ref:Z,rows:l,style:(0,o.Z)({height:C.outerHeightStyle,overflow:C.overflow?"hidden":void 0},c)},x)),(0,p.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:k,tabIndex:-1,style:(0,o.Z)({},g.shadow,c,{paddingTop:0,paddingBottom:0})})]})});var x=r(74936),y=r(47e3),S=r(63923),Z=r(80574),k=r(73118);function w(e){return(0,k.d6)("MuiTextarea",e)}let C=(0,k.sI)("MuiTextarea",["root","textarea","startDecorator","endDecorator","formControl","disabled","error","focused","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft"]);var z=r(93605);let I=a.createContext(void 0);var R=r(48017),P=r(2233);let O=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoFocus","className","defaultValue","disabled","error","id","name","onClick","onChange","onKeyDown","onKeyUp","onFocus","onBlur","placeholder","readOnly","required","type","value"],T=["propsToForward","rootStateClasses","inputStateClasses","getRootProps","getInputProps","formControl","focused","error","disabled","size","color","variant","startDecorator","endDecorator","minRows","maxRows","component","slots","slotProps"],L=e=>{let{disabled:t,variant:r,color:n,size:o}=e,a={root:["root",t&&"disabled",r&&`variant${(0,i.Z)(r)}`,n&&`color${(0,i.Z)(n)}`,o&&`size${(0,i.Z)(o)}`],textarea:["textarea"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,l.Z)(a,w,{})},D=(0,x.Z)("div",{name:"JoyTextarea",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n,a,i,l;let s=null==(r=e.variants[`${t.variant}`])?void 0:r[t.color];return[(0,o.Z)({"--Textarea-radius":e.vars.radius.sm,"--Textarea-gap":"0.5rem","--Textarea-placeholderColor":"inherit","--Textarea-placeholderOpacity":.64,"--Textarea-decoratorColor":e.vars.palette.text.icon,"--Textarea-focused":"0","--Textarea-focusedThickness":e.vars.focus.thickness},"context"===t.color?{"--Textarea-focusedHighlight":e.vars.palette.focusVisible}:{"--Textarea-focusedHighlight":null==(n=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:n[500]},"sm"===t.size&&{"--Textarea-minHeight":"2rem","--Textarea-paddingBlock":"calc(0.5rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"0.5rem","--Textarea-decoratorChildHeight":"min(1.5rem, var(--Textarea-minHeight))","--Icon-fontSize":e.vars.fontSize.xl},"md"===t.size&&{"--Textarea-minHeight":"2.5rem","--Textarea-paddingBlock":"calc(0.5rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"0.75rem","--Textarea-decoratorChildHeight":"min(2rem, var(--Textarea-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},"lg"===t.size&&{"--Textarea-minHeight":"3rem","--Textarea-paddingBlock":"calc(0.75rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"1rem","--Textarea-gap":"0.75rem","--Textarea-decoratorChildHeight":"min(2.375rem, var(--Textarea-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},{"--_Textarea-paddingBlock":"max((var(--Textarea-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Textarea-decoratorChildHeight)) / 2, 0px)","--Textarea-decoratorChildRadius":"max(var(--Textarea-radius) - var(--variant-borderWidth, 0px) - var(--_Textarea-paddingBlock), min(var(--_Textarea-paddingBlock) + var(--variant-borderWidth, 0px), var(--Textarea-radius) / 2))","--Button-minHeight":"var(--Textarea-decoratorChildHeight)","--IconButton-size":"var(--Textarea-decoratorChildHeight)","--Button-radius":"var(--Textarea-decoratorChildRadius)","--IconButton-radius":"var(--Textarea-decoratorChildRadius)",boxSizing:"border-box"},"plain"!==t.variant&&{boxShadow:e.shadow.xs},{minWidth:0,minHeight:"var(--Textarea-minHeight)",cursor:"text",position:"relative",display:"flex",flexDirection:"column",paddingInlineStart:"var(--Textarea-paddingInline)",paddingBlock:"var(--Textarea-paddingBlock)",borderRadius:"var(--Textarea-radius)"},e.typography[`body-${t.size}`],s,{backgroundColor:null!=(a=null==s?void 0:s.backgroundColor)?a:e.vars.palette.background.surface,"&:before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)",boxShadow:"var(--Textarea-focusedInset, inset) 0 0 0 calc(var(--Textarea-focused) * var(--Textarea-focusedThickness)) var(--Textarea-focusedHighlight)"}}),{"&:hover":(0,o.Z)({},null==(i=e.variants[`${t.variant}Hover`])?void 0:i[t.color],{backgroundColor:null,cursor:"text"}),[`&.${C.disabled}`]:null==(l=e.variants[`${t.variant}Disabled`])?void 0:l[t.color],"&:focus-within::before":{"--Textarea-focused":"1"}}]}),M=(0,x.Z)(b,{name:"JoyTextarea",slot:"Textarea",overridesResolver:(e,t)=>t.textarea})({resize:"none",border:"none",minWidth:0,outline:0,padding:0,paddingInlineEnd:"var(--Textarea-paddingInline)",flex:"auto",alignSelf:"stretch",color:"inherit",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontWeight:"inherit",lineHeight:"inherit","&::-webkit-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&::-moz-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&:-ms-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&::-ms-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"}}),$=(0,x.Z)("div",{name:"JoyTextarea",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({display:"flex",marginInlineStart:"calc(var(--Textarea-paddingBlock) - var(--Textarea-paddingInline))",marginInlineEnd:"var(--Textarea-paddingBlock)",marginBlockEnd:"var(--Textarea-gap)",color:"var(--Textarea-decoratorColor)",cursor:"initial"}),B=(0,x.Z)("div",{name:"JoyTextarea",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({display:"flex",marginInlineStart:"calc(var(--Textarea-paddingBlock) - var(--Textarea-paddingInline))",marginInlineEnd:"var(--Textarea-paddingBlock)",marginBlockStart:"var(--Textarea-gap)",color:"var(--Textarea-decoratorColor)",cursor:"initial"}),E=a.forwardRef(function(e,t){var r,i,l,s,c,d,f;let v=(0,y.Z)({props:e,name:"JoyTextarea"}),m=function(e,t){let r=a.useContext(P.Z),{"aria-describedby":i,"aria-label":l,"aria-labelledby":s,autoComplete:c,autoFocus:d,className:f,defaultValue:p,disabled:v,error:m,id:g,name:h,onClick:b,onChange:x,onKeyDown:y,onKeyUp:S,onFocus:Z,onBlur:k,placeholder:w,readOnly:C,required:T,type:L,value:D}=e,M=(0,n.Z)(e,O),{getRootProps:$,getInputProps:B,focused:E,error:j,disabled:A}=function(e){let t,r,n,i,l;let{defaultValue:s,disabled:c=!1,error:d=!1,onBlur:f,onChange:p,onFocus:v,required:m=!1,value:g,inputRef:h}=e,b=a.useContext(I);if(b){var x,y,S;t=void 0,r=null!=(x=b.disabled)&&x,n=null!=(y=b.error)&&y,i=null!=(S=b.required)&&S,l=b.value}else t=s,r=c,n=d,i=m,l=g;let{current:Z}=a.useRef(null!=l),k=a.useCallback(e=>{},[]),w=a.useRef(null),C=(0,u.Z)(w,h,k),[P,O]=a.useState(!1);a.useEffect(()=>{!b&&r&&P&&(O(!1),null==f||f())},[b,r,P,f]);let T=e=>t=>{var r,n;if(null!=b&&b.disabled){t.stopPropagation();return}null==(r=e.onFocus)||r.call(e,t),b&&b.onFocus?null==b||null==(n=b.onFocus)||n.call(b):O(!0)},L=e=>t=>{var r;null==(r=e.onBlur)||r.call(e,t),b&&b.onBlur?b.onBlur():O(!1)},D=e=>(t,...r)=>{var n,o;if(!Z){let e=t.target||w.current;if(null==e)throw Error((0,z.Z)(17))}null==b||null==(n=b.onChange)||n.call(b,t),null==(o=e.onChange)||o.call(e,t,...r)},M=e=>t=>{var r;w.current&&t.currentTarget===t.target&&w.current.focus(),null==(r=e.onClick)||r.call(e,t)};return{disabled:r,error:n,focused:P,formControlContext:b,getInputProps:(e={})=>{let a=(0,o.Z)({},{onBlur:f,onChange:p,onFocus:v},(0,R._)(e)),s=(0,o.Z)({},e,a,{onBlur:L(a),onChange:D(a),onFocus:T(a)});return(0,o.Z)({},s,{"aria-invalid":n||void 0,defaultValue:t,ref:C,value:l,required:i,disabled:r})},getRootProps:(t={})=>{let r=(0,R._)(e,["onBlur","onChange","onFocus"]),n=(0,o.Z)({},r,(0,R._)(t));return(0,o.Z)({},t,n,{onClick:M(n)})},inputRef:C,required:i,value:l}}({disabled:null!=v?v:null==r?void 0:r.disabled,defaultValue:p,error:m,onBlur:k,onClick:b,onChange:x,onFocus:Z,required:null!=T?T:null==r?void 0:r.required,value:D}),N={[t.disabled]:A,[t.error]:j,[t.focused]:E,[t.formControl]:!!r,[f]:f},H={[t.disabled]:A};return(0,o.Z)({formControl:r,propsToForward:{"aria-describedby":i,"aria-label":l,"aria-labelledby":s,autoComplete:c,autoFocus:d,disabled:A,id:g,onKeyDown:y,onKeyUp:S,name:h,placeholder:w,readOnly:C,type:L},rootStateClasses:N,inputStateClasses:H,getRootProps:$,getInputProps:B,focused:E,error:j,disabled:A},M)}(v,C),{propsToForward:g,rootStateClasses:h,inputStateClasses:b,getRootProps:x,getInputProps:k,formControl:w,focused:E,error:j=!1,disabled:A=!1,size:N="md",color:H="neutral",variant:V="outlined",startDecorator:W,endDecorator:_,minRows:F,maxRows:J,component:q,slots:U={},slotProps:G={}}=m,X=(0,n.Z)(m,T),K=null!=(r=null!=(i=e.disabled)?i:null==w?void 0:w.disabled)?r:A,Y=null!=(l=null!=(s=e.error)?s:null==w?void 0:w.error)?l:j,Q=null!=(c=null!=(d=e.size)?d:null==w?void 0:w.size)?c:N,{getColor:ee}=(0,S.VT)(V),et=ee(e.color,Y?"danger":null!=(f=null==w?void 0:w.color)?f:H),er=(0,o.Z)({},v,{color:et,disabled:K,error:Y,focused:E,size:Q,variant:V}),en=L(er),eo=(0,o.Z)({},X,{component:q,slots:U,slotProps:G}),[ea,ei]=(0,Z.Z)("root",{ref:t,className:[en.root,h],elementType:D,externalForwardedProps:eo,getSlotProps:x,ownerState:er}),[el,es]=(0,Z.Z)("textarea",{additionalProps:{id:null==w?void 0:w.htmlFor,"aria-describedby":null==w?void 0:w["aria-describedby"]},className:[en.textarea,b],elementType:M,internalForwardedProps:(0,o.Z)({},g,{minRows:F,maxRows:J}),externalForwardedProps:eo,getSlotProps:k,ownerState:er}),[eu,ec]=(0,Z.Z)("startDecorator",{className:en.startDecorator,elementType:$,externalForwardedProps:eo,ownerState:er}),[ed,ef]=(0,Z.Z)("endDecorator",{className:en.endDecorator,elementType:B,externalForwardedProps:eo,ownerState:er});return(0,p.jsxs)(ea,(0,o.Z)({},ei,{children:[W&&(0,p.jsx)(eu,(0,o.Z)({},ec,{children:W})),(0,p.jsx)(el,(0,o.Z)({},es)),_&&(0,p.jsx)(ed,(0,o.Z)({},ef,{children:_}))]}))});var j=E},71267:function(e,t,r){"use strict";r.d(t,{Yb:function(){return l},yP:function(){return i}});var n=r(38497),o=r(96469);let a=n.createContext(void 0);function i(e,t){var r;let o,i;let l=n.useContext(a),[s,u]="string"==typeof l?l.split(":"):[],c=(r=s||void 0,o=u||void 0,i=r,"outlined"===r&&(o="neutral",i="plain"),"plain"===r&&(o="neutral"),{variant:i,color:o});return c.variant=e||c.variant,c.color=t||c.color,c}function l({children:e,color:t,variant:r}){return(0,o.jsx)(a.Provider,{value:`${r||""}:${t||""}`,children:e})}},20789:function(e,t,r){"use strict";r.d(t,{Z:function(){return Y}});var n=r(42096),o=r(38497),a=r(79760),i=r(4280),l=r(95893),s=r(17923).Z,u=r(96228),c=r(96469);let d=o.createContext(void 0);var f=r(22720),p=r(93605),v=r(68178),m=r(426),g=r(42250),h=r(51365),b=r(28907),x={black:"#000",white:"#fff"},y={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},S={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Z={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},k={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},w={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},C={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},z={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};let I=["mode","contrastThreshold","tonalOffset"],R={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:x.white,default:x.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},P={text:{primary:x.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:x.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function O(e,t,r,n){let o=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,b.$n)(e.main,o):"dark"===t&&(e.dark=(0,b._j)(e.main,a)))}let T=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],L={textTransform:"uppercase"},D='"Roboto", "Helvetica", "Arial", sans-serif';function M(...e){return`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2),${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14),${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`}let $=["none",M(0,2,1,-1,0,1,1,0,0,1,3,0),M(0,3,1,-2,0,2,2,0,0,1,5,0),M(0,3,3,-2,0,3,4,0,0,1,8,0),M(0,2,4,-1,0,4,5,0,0,1,10,0),M(0,3,5,-1,0,5,8,0,0,1,14,0),M(0,3,5,-1,0,6,10,0,0,1,18,0),M(0,4,5,-2,0,7,10,1,0,2,16,1),M(0,5,5,-3,0,8,10,1,0,3,14,2),M(0,5,6,-3,0,9,12,1,0,3,16,2),M(0,6,6,-3,0,10,14,1,0,4,18,3),M(0,6,7,-4,0,11,15,1,0,4,20,3),M(0,7,8,-4,0,12,17,2,0,5,22,4),M(0,7,8,-4,0,13,19,2,0,5,24,4),M(0,7,9,-4,0,14,21,2,0,5,26,4),M(0,8,9,-5,0,15,22,2,0,6,28,5),M(0,8,10,-5,0,16,24,2,0,6,30,5),M(0,8,11,-5,0,17,26,2,0,6,32,5),M(0,9,11,-5,0,18,28,2,0,7,34,6),M(0,9,12,-6,0,19,29,2,0,7,36,6),M(0,10,13,-6,0,20,31,3,0,8,38,7),M(0,10,13,-6,0,21,33,3,0,8,40,7),M(0,10,14,-6,0,22,35,3,0,8,42,7),M(0,11,14,-7,0,23,36,3,0,9,44,8),M(0,11,15,-7,0,24,38,3,0,9,46,8)],B=["duration","easing","delay"],E={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},j={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function A(e){return`${Math.round(e)}ms`}function N(e){if(!e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}var H={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};let V=["breakpoints","mixins","spacing","palette","transitions","typography","shape"],W=function(e={}){var t;let{mixins:r={},palette:o={},transitions:i={},typography:l={}}=e,s=(0,a.Z)(e,V);if(e.vars)throw Error((0,p.Z)(18));let u=function(e){let{mode:t="light",contrastThreshold:r=3,tonalOffset:o=.2}=e,i=(0,a.Z)(e,I),l=e.primary||function(e="light"){return"dark"===e?{main:w[200],light:w[50],dark:w[400]}:{main:w[700],light:w[400],dark:w[800]}}(t),s=e.secondary||function(e="light"){return"dark"===e?{main:S[200],light:S[50],dark:S[400]}:{main:S[500],light:S[300],dark:S[700]}}(t),u=e.error||function(e="light"){return"dark"===e?{main:Z[500],light:Z[300],dark:Z[700]}:{main:Z[700],light:Z[400],dark:Z[800]}}(t),c=e.info||function(e="light"){return"dark"===e?{main:C[400],light:C[300],dark:C[700]}:{main:C[700],light:C[500],dark:C[900]}}(t),d=e.success||function(e="light"){return"dark"===e?{main:z[400],light:z[300],dark:z[700]}:{main:z[800],light:z[500],dark:z[900]}}(t),f=e.warning||function(e="light"){return"dark"===e?{main:k[400],light:k[300],dark:k[700]}:{main:"#ed6c02",light:k[500],dark:k[900]}}(t);function m(e){let t=(0,b.mi)(e,P.text.primary)>=r?P.text.primary:R.text.primary;return t}let g=({color:e,name:t,mainShade:r=500,lightShade:a=300,darkShade:i=700})=>{if(!(e=(0,n.Z)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw Error((0,p.Z)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw Error((0,p.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return O(e,"light",a,o),O(e,"dark",i,o),e.contrastText||(e.contrastText=m(e.main)),e},h=(0,v.Z)((0,n.Z)({common:(0,n.Z)({},x),mode:t,primary:g({color:l,name:"primary"}),secondary:g({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:g({color:u,name:"error"}),warning:g({color:f,name:"warning"}),info:g({color:c,name:"info"}),success:g({color:d,name:"success"}),grey:y,contrastThreshold:r,getContrastText:m,augmentColor:g,tonalOffset:o},{dark:P,light:R}[t]),i);return h}(o),c=(0,h.Z)(e),d=(0,v.Z)(c,{mixins:(t=c.breakpoints,(0,n.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},r)),palette:u,shadows:$.slice(),typography:function(e,t){let r="function"==typeof t?t(e):t,{fontFamily:o=D,fontSize:i=14,fontWeightLight:l=300,fontWeightRegular:s=400,fontWeightMedium:u=500,fontWeightBold:c=700,htmlFontSize:d=16,allVariants:f,pxToRem:p}=r,m=(0,a.Z)(r,T),g=i/14,h=p||(e=>`${e/d*g}rem`),b=(e,t,r,a,i)=>(0,n.Z)({fontFamily:o,fontWeight:e,fontSize:h(t),lineHeight:r},o===D?{letterSpacing:`${Math.round(1e5*(a/t))/1e5}em`}:{},i,f),x={h1:b(l,96,1.167,-1.5),h2:b(l,60,1.2,-.5),h3:b(s,48,1.167,0),h4:b(s,34,1.235,.25),h5:b(s,24,1.334,0),h6:b(u,20,1.6,.15),subtitle1:b(s,16,1.75,.15),subtitle2:b(u,14,1.57,.1),body1:b(s,16,1.5,.15),body2:b(s,14,1.43,.15),button:b(u,14,1.75,.4,L),caption:b(s,12,1.66,.4),overline:b(s,12,2.66,1,L),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,v.Z)((0,n.Z)({htmlFontSize:d,pxToRem:h,fontFamily:o,fontSize:i,fontWeightLight:l,fontWeightRegular:s,fontWeightMedium:u,fontWeightBold:c},x),m,{clone:!1})}(u,l),transitions:function(e){let t=(0,n.Z)({},E,e.easing),r=(0,n.Z)({},j,e.duration);return(0,n.Z)({getAutoHeightDuration:N,create:(e=["all"],n={})=>{let{duration:o=r.standard,easing:i=t.easeInOut,delay:l=0}=n;return(0,a.Z)(n,B),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:A(o)} ${i} ${"string"==typeof l?l:A(l)}`).join(",")}},e,{easing:t,duration:r})}(i),zIndex:(0,n.Z)({},H)});return(d=[].reduce((e,t)=>(0,v.Z)(e,t),d=(0,v.Z)(d,s))).unstable_sxConfig=(0,n.Z)({},m.Z,null==s?void 0:s.unstable_sxConfig),d.unstable_sx=function(e){return(0,g.Z)({sx:e,theme:this})},d}(),_=(0,f.ZP)({themeId:"$$material",defaultTheme:W,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var F=r(14293),J=r(67230);function q(e){return(0,J.ZP)("MuiSvgIcon",e)}(0,F.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);let U=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],G=e=>{let{color:t,fontSize:r,classes:n}=e,o={root:["root","inherit"!==t&&`color${s(t)}`,`fontSize${s(r)}`]};return(0,l.Z)(o,q,n)},X=_("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${s(r.color)}`],t[`fontSize${s(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,a,i,l,s,u,c,d,f,p,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:({inherit:"inherit",small:(null==(a=e.typography)||null==(i=a.pxToRem)?void 0:i.call(a,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(f=(e.vars||e).palette)||null==(f=f[t.color])?void 0:f.main)?d:({action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(v=(e.vars||e).palette)||null==(v=v.action)?void 0:v.disabled,inherit:void 0})[t.color]}}),K=o.forwardRef(function(e,t){let r=function({props:e,name:t}){let r=o.useContext(d);return function(e){let{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;let o=t.components[r];return o.defaultProps?(0,u.Z)(o.defaultProps,n):o.styleOverrides||o.variants?n:(0,u.Z)(o,n)}({props:e,name:t,theme:{components:r}})}({props:e,name:"MuiSvgIcon"}),{children:l,className:s,color:f="inherit",component:p="svg",fontSize:v="medium",htmlColor:m,inheritViewBox:g=!1,titleAccess:h,viewBox:b="0 0 24 24"}=r,x=(0,a.Z)(r,U),y=o.isValidElement(l)&&"svg"===l.type,S=(0,n.Z)({},r,{color:f,component:p,fontSize:v,instanceFontSize:e.fontSize,inheritViewBox:g,viewBox:b,hasSvgAsChild:y}),Z={};g||(Z.viewBox=b);let k=G(S);return(0,c.jsxs)(X,(0,n.Z)({as:p,className:(0,i.Z)(k.root,s),focusable:"false",color:m,"aria-hidden":!h||void 0,role:h?"img":void 0,ref:t},Z,x,y&&l.props,{ownerState:S,children:[y?l.props.children:l,h?(0,c.jsx)("title",{children:h}):null]}))});function Y(e,t){function r(r,o){return(0,c.jsx)(K,(0,n.Z)({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return r.muiName=K.muiName,o.memo(o.forwardRef(r))}K.muiName="SvgIcon"},28907:function(e,t,r){"use strict";var n=r(82073);t._j=function(e,t){if(e=l(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return s(e)},t.mi=function(e,t){let r=u(e),n=u(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.$n=function(e,t){if(e=l(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return s(e)};var o=n(r(32388)),a=n(r(34770));function i(e,t=0,r=1){return(0,a.default)(e,t,r)}function l(e){let t;if(e.type)return e;if("#"===e.charAt(0))return l(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),n=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw Error((0,o.default)(9,e));let a=e.substring(r+1,e.length-1);if("color"===n){if(t=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,o.default)(10,t))}else a=a.split(",");return{type:n,values:a=a.map(e=>parseFloat(e)),colorSpace:t}}function s(e){let{type:t,colorSpace:r}=e,{values:n}=e;return -1!==t.indexOf("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),`${t}(${n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`})`}function u(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(function(e){e=l(e);let{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),i=(e,t=(e+r/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1),u="rgb",c=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),s({type:u,values:c})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},22720:function(e,t,r){"use strict";var n=r(82073);t.ZP=function(e={}){let{themeId:t,defaultTheme:r=m,rootShouldForwardProp:n=v,slotShouldForwardProp:s=v}=e,c=e=>(0,u.default)((0,o.default)({},e,{theme:h((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return c.__mui_systemSx=!0,(e,u={})=>{var d;let p;(0,i.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:x,skipVariantsResolver:y,skipSx:S,overridesResolver:Z=(d=g(x))?(e,t)=>t[d]:null}=u,k=(0,a.default)(u,f),w=void 0!==y?y:x&&"Root"!==x&&"root"!==x||!1,C=S||!1,z=v;"Root"===x||"root"===x?z=n:x?z=s:"string"==typeof e&&e.charCodeAt(0)>96&&(z=void 0);let I=(0,i.default)(e,(0,o.default)({shouldForwardProp:z,label:p},k)),R=e=>"function"==typeof e&&e.__emotion_real!==e||(0,l.isPlainObject)(e)?n=>b(e,(0,o.default)({},n,{theme:h({theme:n.theme,defaultTheme:r,themeId:t})})):e,P=(n,...a)=>{let i=R(n),l=a?a.map(R):[];m&&Z&&l.push(e=>{let n=h((0,o.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[m]||!n.components[m].styleOverrides)return null;let a=n.components[m].styleOverrides,i={};return Object.entries(a).forEach(([t,r])=>{i[t]=b(r,(0,o.default)({},e,{theme:n}))}),Z(e,i)}),m&&!w&&l.push(e=>{var n;let a=h((0,o.default)({},e,{defaultTheme:r,themeId:t})),i=null==a||null==(n=a.components)||null==(n=n[m])?void 0:n.variants;return b({variants:i},(0,o.default)({},e,{theme:a}))}),C||l.push(c);let s=l.length-a.length;if(Array.isArray(n)&&s>0){let e=Array(s).fill("");(i=[...n,...e]).raw=[...n.raw,...e]}let u=I(i,...l);return e.muiName&&(u.muiName=e.muiName),u};return I.withConfig&&(P.withConfig=I.withConfig),P}};var o=n(r(58480)),a=n(r(99003)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(62967)),l=r(18321);n(r(55041)),n(r(94042));var s=n(r(89996)),u=n(r(89698));let c=["ownerState"],d=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function v(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,s.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function h({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function b(e,t){let{ownerState:r}=t,n=(0,a.default)(t,c),i="function"==typeof e?e((0,o.default)({ownerState:r},n)):e;if(Array.isArray(i))return i.flatMap(e=>b(e,(0,o.default)({ownerState:r},n)));if(i&&"object"==typeof i&&Array.isArray(i.variants)){let{variants:e=[]}=i,t=(0,a.default)(i,d),l=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,o.default)({ownerState:r},n,r)):Object.keys(e.props).forEach(o=>{(null==r?void 0:r[o])!==e.props[o]&&n[o]!==e.props[o]&&(t=!1)}),t&&(Array.isArray(l)||(l=[l]),l.push("function"==typeof e.style?e.style((0,o.default)({ownerState:r},n,r)):e.style))}),l}return i}},89996:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},private_createBreakpoints:function(){return o.Z},unstable_applyStyles:function(){return a.Z}});var n=r(51365),o=r(58642),a=r(54408)},89698:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},extendSxProp:function(){return o.Z},unstable_createStyleFunctionSx:function(){return n.n},unstable_defaultSxConfig:function(){return a.Z}});var n=r(42250),o=r(23259),a=r(426)},55041:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z}});var n=r(17923)},34770:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});var n=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},18321:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},isPlainObject:function(){return n.P}});var n=r(68178)},32388:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z}});var n=r(93605)},94042:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return s},getFunctionName:function(){return a}});var n=r(69404);let o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function a(e){let t=`${e}`.match(o),r=t&&t[1];return r||""}function i(e,t=""){return e.displayName||e.name||a(e)||t}function l(e,t,r){let n=i(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function s(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return i(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.ForwardRef:return l(e,e.render,"ForwardRef");case n.Memo:return l(e,e.type,"memo")}}}},78837:function(e,t,r){"use strict";function n(e){return e&&e.ownerDocument||document}r.d(t,{Z:function(){return n}})},66268:function(e,t,r){"use strict";var n=r(38497);let o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;t.Z=o},39945:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n,o=r(38497);let a=0,i=(n||(n=r.t(o,2)))["useId".toString()];function l(e){if(void 0!==i){let t=i();return null!=e?e:t}return function(e){let[t,r]=o.useState(e),n=e||t;return o.useEffect(()=>{null==t&&r(`mui-${a+=1}`)},[t]),n}(e)}},15978:function(e,t,r){"use strict";r.d(t,{Z:function(){return f}});var n=r(38497);class o{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new o}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}let a=!0,i=!1,l=new o,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(e){e.metaKey||e.altKey||e.ctrlKey||(a=!0)}function c(){a=!1}function d(){"hidden"===this.visibilityState&&i&&(a=!0)}function f(){let e=n.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",u,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",d,!0)}},[]),t=n.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return a||function(e){let{type:t,tagName:r}=e;return"INPUT"===r&&!!s[t]&&!e.readOnly||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(i=!0,l.start(100,()=>{i=!1}),t.current=!1,!0)},ref:e}}},58480:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var f=n(72178),m=n(60848),p=n(98539),g=n(36647),h=n(74934),b=n(90102),$=e=>{let{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5360],{86522:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(42096),l=n(38497),i={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},o=n(55032),a=l.forwardRef(function(e,t){return l.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},55360:function(e,t,n){n.d(t,{default:function(){return eW}});var r=n(13859),l=n(72991),i=n(38497),o=n(26869),a=n.n(o),s=n(53979),c=n(17383),u=n(95227);function d(e){let[t,n]=i.useState(e);return i.useEffect(()=>{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var f=n(38083),m=n(60848),p=n(98539),g=n(36647),h=n(74934),b=n(90102),$=e=>{let{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}};let y=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},[`input[type='file']:focus, input[type='radio']:focus, @@ -8,4 +8,4 @@ ${r}-col-24${n}-label, ${r}-col-xl-24${n}-label`]:j(e)}},[`@media (max-width: ${(0,f.bf)(e.screenXSMax)})`]:[S(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:j(e)}}}],[`@media (max-width: ${(0,f.bf)(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:j(e)}}},[`@media (max-width: ${(0,f.bf)(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:j(e)}}},[`@media (max-width: ${(0,f.bf)(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:j(e)}}}}},M=e=>{let{formItemCls:t,antCls:n}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label, ${n}-col-24${t}-label, - ${n}-col-xl-24${t}-label`]:j(e),[`@media (max-width: ${(0,f.bf)(e.screenXSMax)})`]:[S(e),{[t]:{[`${n}-col-xs-24${t}-label`]:j(e)}}],[`@media (max-width: ${(0,f.bf)(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:j(e)}},[`@media (max-width: ${(0,f.bf)(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:j(e)}},[`@media (max-width: ${(0,f.bf)(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:j(e)}}}},I=(e,t)=>{let n=(0,h.IX)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t});return n};var k=(0,b.I$)("Form",(e,t)=>{let{rootPrefixCls:n}=t,r=I(e,n);return[x(r),w(r),$(r),O(r,r.componentCls),O(r,r.formItemCls),E(r),C(r),M(r),(0,g.Z)(r),p.kr]},e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),{order:-1e3});let F=[];function Z(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof e?e:`${t}-${r}`,error:e,errorStatus:n}}var N=e=>{let{help:t,helpStatus:n,errors:o=F,warnings:f=F,className:m,fieldId:p,onVisibleChanged:g}=e,{prefixCls:h}=i.useContext(r.Rk),b=`${h}-item-explain`,$=(0,u.Z)(h),[y,v,x]=k(h,$),w=(0,i.useMemo)(()=>(0,c.Z)(h),[h]),O=d(o),E=d(f),j=i.useMemo(()=>null!=t?[Z(t,"help",n)]:[].concat((0,l.Z)(O.map((e,t)=>Z(e,"error","error",t))),(0,l.Z)(E.map((e,t)=>Z(e,"warning","warning",t)))),[t,n,O,E]),S={};return p&&(S.id=`${p}_help`),y(i.createElement(s.ZP,{motionDeadline:w.motionDeadline,motionName:`${h}-show-help`,visible:!!j.length,onVisibleChanged:g},e=>{let{className:t,style:n}=e;return i.createElement("div",Object.assign({},S,{className:a()(b,t,x,$,m,v),style:n,role:"alert"}),i.createElement(s.V4,Object.assign({keys:j},(0,c.Z)(h),{motionName:`${h}-show-help-item`,component:!1}),e=>{let{key:t,error:n,errorStatus:r,className:l,style:o}=e;return i.createElement("div",{key:t,className:a()(l,{[`${b}-${r}`]:r}),style:o},n)}))}))},P=n(9449),W=n(63346),R=n(3482),q=n(82014),_=n(69470),H=n(42502);let z=e=>"object"==typeof e&&null!=e&&1===e.nodeType,T=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,L=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightit||i>e&&o=t&&a>=n?i-e-r:o>t&&an?o-t+l:0,D=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},V=(e,t)=>{var n,r,l,i;if("undefined"==typeof document)return[];let{scrollMode:o,block:a,inline:s,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!z(e))throw TypeError("Invalid target");let f=document.scrollingElement||document.documentElement,m=[],p=e;for(;z(p)&&d(p);){if((p=D(p))===f){m.push(p);break}null!=p&&p===document.body&&L(p)&&!L(document.documentElement)||null!=p&&L(p,u)&&m.push(p)}let g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,h=null!=(i=null==(l=window.visualViewport)?void 0:l.height)?i:innerHeight,{scrollX:b,scrollY:$}=window,{height:y,width:v,top:x,right:w,bottom:O,left:E}=e.getBoundingClientRect(),{top:j,right:S,bottom:C,left:M}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),I="start"===a||"nearest"===a?x-j:"end"===a?O+C:x+y/2-j+C,k="center"===s?E+v/2-M+S:"end"===s?w+S:E-M,F=[];for(let e=0;e=0&&E>=0&&O<=h&&w<=g&&x>=l&&O<=c&&E>=u&&w<=i)break;let d=getComputedStyle(t),p=parseInt(d.borderLeftWidth,10),j=parseInt(d.borderTopWidth,10),S=parseInt(d.borderRightWidth,10),C=parseInt(d.borderBottomWidth,10),M=0,Z=0,N="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-S:0,P="offsetHeight"in t?t.offsetHeight-t.clientHeight-j-C:0,W="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,R="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)M="start"===a?I:"end"===a?I-h:"nearest"===a?A($,$+h,h,j,C,$+I,$+I+y,y):I-h/2,Z="start"===s?k:"center"===s?k-g/2:"end"===s?k-g:A(b,b+g,g,p,S,b+k,b+k+v,v),M=Math.max(0,M+$),Z=Math.max(0,Z+b);else{M="start"===a?I-l-j:"end"===a?I-c+C+P:"nearest"===a?A(l,c,n,j,C+P,I,I+y,y):I-(l+n/2)+P/2,Z="start"===s?k-u-p:"center"===s?k-(u+r/2)+N/2:"end"===s?k-i+S+N:A(u,i,r,p,S+N,k,k+v,v);let{scrollLeft:e,scrollTop:o}=t;M=0===R?0:Math.max(0,Math.min(o+M/R,t.scrollHeight-n/R+P)),Z=0===W?0:Math.max(0,Math.min(e+Z/W,t.scrollWidth-r/W+N)),I+=o-M,k+=e-Z}F.push({el:t,top:M,left:Z})}return F},B=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"},X=["parentNode"];function G(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function Y(e,t){if(!e.length)return;let n=e.join("_");if(t)return`${t}_${n}`;let r=X.includes(n);return r?`form_item_${n}`:n}function K(e,t,n,r,l,i){let o=r;return void 0!==i?o=i:n.validating?o="validating":e.length?o="error":t.length?o="warning":(n.touched||l&&n.validated)&&(o="success"),o}function J(e){let t=G(e);return t.join("_")}function Q(e){let[t]=(0,P.cI)(),n=i.useRef({}),r=i.useMemo(()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{let r=J(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(e,t){let n=t.getFieldInstance(e),r=(0,H.bn)(n);if(r)return r;let l=Y(G(e),t.__INTERNAL__.name);if(l)return document.getElementById(l)}(e,r);n&&function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(V(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:l,top:i,left:o}of V(e,B(t))){let e=i-n.top+n.bottom,t=o-n.left+n.right;l.scroll({top:e,left:t,behavior:r})}}(n,Object.assign({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:e=>{let t=J(e);return n.current[t]}}),[e,t]);return[r]}var U=n(8902),ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let et=i.forwardRef((e,t)=>{let n=i.useContext(R.Z),{getPrefixCls:l,direction:o,form:s}=i.useContext(W.E_),{prefixCls:c,className:d,rootClassName:f,size:m,disabled:p=n,form:g,colon:h,labelAlign:b,labelWrap:$,labelCol:y,wrapperCol:v,hideRequiredMark:x,layout:w="horizontal",scrollToFirstError:O,requiredMark:E,onFinishFailed:j,name:S,style:C,feedbackIcons:M,variant:I}=e,F=ee(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Z=(0,q.Z)(m),N=i.useContext(U.Z),H=(0,i.useMemo)(()=>void 0!==E?E:!x&&(!s||void 0===s.requiredMark||s.requiredMark),[x,E,s]),z=null!=h?h:null==s?void 0:s.colon,T=l("form",c),L=(0,u.Z)(T),[A,D,V]=k(T,L),B=a()(T,`${T}-${w}`,{[`${T}-hide-required-mark`]:!1===H,[`${T}-rtl`]:"rtl"===o,[`${T}-${Z}`]:Z},V,L,D,null==s?void 0:s.className,d,f),[X]=Q(g),{__INTERNAL__:G}=X;G.name=S;let Y=(0,i.useMemo)(()=>({name:S,labelAlign:b,labelCol:y,labelWrap:$,wrapperCol:v,vertical:"vertical"===w,colon:z,requiredMark:H,itemRef:G.itemRef,form:X,feedbackIcons:M}),[S,b,y,v,w,z,H,X,M]),K=i.useRef(null);i.useImperativeHandle(t,()=>{var e;return Object.assign(Object.assign({},X),{nativeElement:null===(e=K.current)||void 0===e?void 0:e.nativeElement})});let J=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),X.scrollToField(t,n)}};return A(i.createElement(r.pg.Provider,{value:I},i.createElement(R.n,{disabled:p},i.createElement(_.Z.Provider,{value:Z},i.createElement(r.RV,{validateMessages:N},i.createElement(r.q3.Provider,{value:Y},i.createElement(P.ZP,Object.assign({id:S},F,{name:S,onFinishFailed:e=>{if(null==j||j(e),e.errorFields.length){let t=e.errorFields[0].name;if(void 0!==O){J(O,t);return}s&&void 0!==s.scrollToFirstError&&J(s.scrollToFirstError,t)}},form:X,ref:K,style:Object.assign(Object.assign({},null==s?void 0:s.style),C),className:B}))))))))});var en=n(9991),er=n(7544),el=n(55091),ei=n(67478),eo=n(10469);let ea=()=>{let{status:e,errors:t=[],warnings:n=[]}=(0,i.useContext)(r.aM);return{status:e,errors:t,warnings:n}};ea.Context=r.aM;var es=n(25043),ec=n(62143),eu=n(46644),ed=n(55598),ef=n(22698),em=n(98606);let ep=e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}};var eg=(0,b.bk)(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t,r=I(e,n);return[ep(r)]}),eh=e=>{let{prefixCls:t,status:n,wrapperCol:l,children:o,errors:s,warnings:c,_internalItemRender:u,extra:d,help:f,fieldId:m,marginBottom:p,onErrorVisibleChanged:g}=e,h=`${t}-item`,b=i.useContext(r.q3),$=l||b.wrapperCol||{},y=a()(`${h}-control`,$.className),v=i.useMemo(()=>Object.assign({},b),[b]);delete v.labelCol,delete v.wrapperCol;let x=i.createElement("div",{className:`${h}-control-input`},i.createElement("div",{className:`${h}-control-input-content`},o)),w=i.useMemo(()=>({prefixCls:t,status:n}),[t,n]),O=null!==p||s.length||c.length?i.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},i.createElement(r.Rk.Provider,{value:w},i.createElement(N,{fieldId:m,errors:s,warnings:c,help:f,helpStatus:n,className:`${h}-explain-connected`,onVisibleChanged:g})),!!p&&i.createElement("div",{style:{width:0,height:p}})):null,E={};m&&(E.id=`${m}_extra`);let j=d?i.createElement("div",Object.assign({},E,{className:`${h}-extra`}),d):null,S=u&&"pro_table_render"===u.mark&&u.render?u.render(e,{input:x,errorList:O,extra:j}):i.createElement(i.Fragment,null,x,O,j);return i.createElement(r.q3.Provider,{value:v},i.createElement(em.Z,Object.assign({},$,{className:y}),S),i.createElement(eg,{prefixCls:t}))},eb=n(86522),e$=n(61261),ey=n(61013),ev=n(60205),ex=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n},ew=e=>{var t;let{prefixCls:n,label:l,htmlFor:o,labelCol:s,labelAlign:c,colon:u,required:d,requiredMark:f,tooltip:m,vertical:p}=e,[g]=(0,e$.Z)("Form"),{labelAlign:h,labelCol:b,labelWrap:$,colon:y}=i.useContext(r.q3);if(!l)return null;let v=s||b||{},x=`${n}-item-label`,w=a()(x,"left"===(c||h)&&`${x}-left`,v.className,{[`${x}-wrap`]:!!$}),O=l,E=!0===u||!1!==y&&!1!==u;E&&!p&&"string"==typeof l&&l.trim()&&(O=l.replace(/[:|:]\s*$/,""));let j=m?"object"!=typeof m||i.isValidElement(m)?{title:m}:m:null;if(j){let{icon:e=i.createElement(eb.Z,null)}=j,t=ex(j,["icon"]),r=i.createElement(ev.Z,Object.assign({},t),i.cloneElement(e,{className:`${n}-item-tooltip`,title:"",onClick:e=>{e.preventDefault()},tabIndex:null}));O=i.createElement(i.Fragment,null,O,r)}let S="optional"===f,C="function"==typeof f;C?O=f(O,{required:!!d}):S&&!d&&(O=i.createElement(i.Fragment,null,O,i.createElement("span",{className:`${n}-item-optional`,title:""},(null==g?void 0:g.optional)||(null===(t=ey.Z.Form)||void 0===t?void 0:t.optional))));let M=a()({[`${n}-item-required`]:d,[`${n}-item-required-mark-optional`]:S||C,[`${n}-item-no-colon`]:!E});return i.createElement(em.Z,Object.assign({},v,{className:w}),i.createElement("label",{htmlFor:o,className:M,title:"string"==typeof l?l:""},O))},eO=n(16147),eE=n(86298),ej=n(71836),eS=n(37022);let eC={success:eO.Z,warning:ej.Z,error:eE.Z,validating:eS.Z};function eM(e){let{children:t,errors:n,warnings:l,hasFeedback:o,validateStatus:s,prefixCls:c,meta:u,noStyle:d}=e,f=`${c}-item`,{feedbackIcons:m}=i.useContext(r.q3),p=K(n,l,u,null,!!o,s),{isFormItemInput:g,status:h,hasFeedback:b,feedbackIcon:$}=i.useContext(r.aM),y=i.useMemo(()=>{var e;let t;if(o){let r=!0!==o&&o.icons||m,s=p&&(null===(e=null==r?void 0:r({status:p,errors:n,warnings:l}))||void 0===e?void 0:e[p]),c=p&&eC[p];t=!1!==s&&c?i.createElement("span",{className:a()(`${f}-feedback-icon`,`${f}-feedback-icon-${p}`)},s||i.createElement(c,null)):null}let r={status:p||"",errors:n,warnings:l,hasFeedback:!!o,feedbackIcon:t,isFormItemInput:!0};return d&&(r.status=(null!=p?p:h)||"",r.isFormItemInput=g,r.hasFeedback=!!(null!=o?o:b),r.feedbackIcon=void 0!==o?r.feedbackIcon:$),r},[p,o,d,g,h]);return i.createElement(r.aM.Provider,{value:y},t)}var eI=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};function ek(e){let{prefixCls:t,className:n,rootClassName:l,style:o,help:s,errors:c,warnings:u,validateStatus:f,meta:m,hasFeedback:p,hidden:g,children:h,fieldId:b,required:$,isRequired:y,onSubItemMetaChange:v,layout:x}=e,w=eI(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),O=`${t}-item`,{requiredMark:E,vertical:j}=i.useContext(r.q3),S=i.useRef(null),C=d(c),M=d(u),I=null!=s,k=!!(I||c.length||u.length),F=!!S.current&&(0,ec.Z)(S.current),[Z,N]=i.useState(null);(0,eu.Z)(()=>{if(k&&S.current){let e=getComputedStyle(S.current);N(parseInt(e.marginBottom,10))}},[k,F]);let P=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?C:m.errors,n=e?M:m.warnings;return K(t,n,m,"",!!p,f)}(),W=a()(O,n,l,{[`${O}-with-help`]:I||C.length||M.length,[`${O}-has-feedback`]:P&&p,[`${O}-has-success`]:"success"===P,[`${O}-has-warning`]:"warning"===P,[`${O}-has-error`]:"error"===P,[`${O}-is-validating`]:"validating"===P,[`${O}-hidden`]:g,[`${O}-${x}`]:x});return i.createElement("div",{className:W,style:o,ref:S},i.createElement(ef.Z,Object.assign({className:`${O}-row`},(0,ed.Z)(w,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),i.createElement(ew,Object.assign({htmlFor:b},e,{requiredMark:E,required:null!=$?$:y,prefixCls:t,vertical:j||"vertical"===x})),i.createElement(eh,Object.assign({},e,m,{errors:C,warnings:M,prefixCls:t,status:P,help:s,marginBottom:Z,onErrorVisibleChanged:e=>{e||N(null)}}),i.createElement(r.qI.Provider,{value:v},i.createElement(eM,{prefixCls:t,meta:m,errors:m.errors,warnings:m.warnings,hasFeedback:p,validateStatus:P},h)))),!!Z&&i.createElement("div",{className:`${O}-margin-offset`,style:{marginBottom:-Z}}))}let eF=i.memo(e=>{let{children:t}=e;return t},(e,t)=>(function(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>{let r=e[n],l=t[n];return r===l||"function"==typeof r||"function"==typeof l})})(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function eZ(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}let eN=function(e){let{name:t,noStyle:n,className:o,dependencies:s,prefixCls:c,shouldUpdate:d,rules:f,children:m,required:p,label:g,messageVariables:h,trigger:b="onChange",validateTrigger:$,hidden:y,help:v,layout:x}=e,{getPrefixCls:w}=i.useContext(W.E_),{name:O}=i.useContext(r.q3),E=function(e){if("function"==typeof e)return e;let t=(0,eo.Z)(e);return t.length<=1?t[0]:t}(m),j="function"==typeof E,S=i.useContext(r.qI),{validateTrigger:C}=i.useContext(P.zb),M=void 0!==$?$:C,I=null!=t,F=w("form",c),Z=(0,u.Z)(F),[N,R,q]=k(F,Z);(0,ei.ln)("Form.Item");let _=i.useContext(P.ZM),H=i.useRef(),[z,T]=function(e){let[t,n]=i.useState(e),r=(0,i.useRef)(null),l=(0,i.useRef)([]),o=(0,i.useRef)(!1);return i.useEffect(()=>(o.current=!1,()=>{o.current=!0,es.Z.cancel(r.current),r.current=null}),[]),[t,function(e){o.current||(null===r.current&&(l.current=[],r.current=(0,es.Z)(()=>{r.current=null,n(e=>{let t=e;return l.current.forEach(e=>{t=e(t)}),t})})),l.current.push(e))}]}({}),[L,A]=(0,en.Z)(()=>eZ()),D=(e,t)=>{T(n=>{let r=Object.assign({},n),i=[].concat((0,l.Z)(e.name.slice(0,-1)),(0,l.Z)(t)),o=i.join("__SPLIT__");return e.destroy?delete r[o]:r[o]=e,r})},[V,B]=i.useMemo(()=>{let e=(0,l.Z)(L.errors),t=(0,l.Z)(L.warnings);return Object.values(z).forEach(n=>{e.push.apply(e,(0,l.Z)(n.errors||[])),t.push.apply(t,(0,l.Z)(n.warnings||[]))}),[e,t]},[z,L.errors,L.warnings]),X=function(){let{itemRef:e}=i.useContext(r.q3),t=i.useRef({});return function(n,r){let l=r&&"object"==typeof r&&r.ref,i=n.join("_");return(t.current.name!==i||t.current.originRef!==l)&&(t.current.name=i,t.current.originRef=l,t.current.ref=(0,er.sQ)(e(n),l)),t.current.ref}}();function K(t,r,l){return n&&!y?i.createElement(eM,{prefixCls:F,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:L,errors:V,warnings:B,noStyle:!0},t):i.createElement(ek,Object.assign({key:"row"},e,{className:a()(o,q,Z,R),prefixCls:F,fieldId:r,isRequired:l,errors:V,warnings:B,meta:L,onSubItemMetaChange:D,layout:x}),t)}if(!I&&!j&&!s)return N(K(E));let J={};return"string"==typeof g?J.label=g:t&&(J.label=String(t)),h&&(J=Object.assign(Object.assign({},J),h)),N(i.createElement(P.gN,Object.assign({},e,{messageVariables:J,trigger:b,validateTrigger:M,onMetaChange:e=>{let t=null==_?void 0:_.getKey(e.name);if(A(e.destroy?eZ():e,!0),n&&!1!==v&&S){let n=e.name;if(e.destroy)n=H.current||n;else if(void 0!==t){let[e,r]=t;n=[e].concat((0,l.Z)(r)),H.current=n}S(e,n)}}}),(n,r,o)=>{let a=G(t).length&&r?r.name:[],c=Y(a,O),u=void 0!==p?p:!!(null==f?void 0:f.some(e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){let t=e(o);return(null==t?void 0:t.required)&&!(null==t?void 0:t.warningOnly)}return!1})),m=Object.assign({},n),g=null;if(Array.isArray(E)&&I)g=E;else if(j&&(!(d||s)||I));else if(!s||j||I){if(i.isValidElement(E)){let t=Object.assign(Object.assign({},E.props),m);if(t.id||(t.id=c),v||V.length>0||B.length>0||e.extra){let n=[];(v||V.length>0)&&n.push(`${c}_help`),e.extra&&n.push(`${c}_extra`),t["aria-describedby"]=n.join(" ")}V.length>0&&(t["aria-invalid"]="true"),u&&(t["aria-required"]="true"),(0,er.Yr)(E)&&(t.ref=X(a,E));let n=new Set([].concat((0,l.Z)(G(b)),(0,l.Z)(G(M))));n.forEach(e=>{t[e]=function(){for(var t,n,r,l=arguments.length,i=Array(l),o=0;ot.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};et.Item=eN,et.List=e=>{var{prefixCls:t,children:n}=e,l=eP(e,["prefixCls","children"]);let{getPrefixCls:o}=i.useContext(W.E_),a=o("form",t),s=i.useMemo(()=>({prefixCls:a,status:"error"}),[a]);return i.createElement(P.aV,Object.assign({},l),(e,t,l)=>i.createElement(r.Rk.Provider,{value:s},n(e.map(e=>Object.assign(Object.assign({},e),{fieldKey:e.key})),t,{errors:l.errors,warnings:l.warnings})))},et.ErrorList=N,et.useForm=Q,et.useFormInstance=function(){let{form:e}=(0,i.useContext)(r.q3);return e},et.useWatch=P.qo,et.Provider=r.RV,et.create=()=>{};var eW=et},54537:function(e,t,n){var r=n(38497);let l=(0,r.createContext)({});t.Z=l},98606:function(e,t,n){var r=n(38497),l=n(26869),i=n.n(l),o=n(63346),a=n(54537),s=n(54009),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};function u(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let d=["xs","sm","md","lg","xl","xxl"],f=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:l}=r.useContext(o.E_),{gutter:f,wrap:m}=r.useContext(a.Z),{prefixCls:p,span:g,order:h,offset:b,push:$,pull:y,className:v,children:x,flex:w,style:O}=e,E=c(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=n("col",p),[S,C,M]=(0,s.cG)(j),I={},k={};d.forEach(t=>{let n={},r=e[t];"number"==typeof r?n.span=r:"object"==typeof r&&(n=r||{}),delete E[t],k=Object.assign(Object.assign({},k),{[`${j}-${t}-${n.span}`]:void 0!==n.span,[`${j}-${t}-order-${n.order}`]:n.order||0===n.order,[`${j}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${j}-${t}-push-${n.push}`]:n.push||0===n.push,[`${j}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${j}-rtl`]:"rtl"===l}),n.flex&&(k[`${j}-${t}-flex`]=!0,I[`--${j}-${t}-flex`]=u(n.flex))});let F=i()(j,{[`${j}-${g}`]:void 0!==g,[`${j}-order-${h}`]:h,[`${j}-offset-${b}`]:b,[`${j}-push-${$}`]:$,[`${j}-pull-${y}`]:y},v,k,C,M),Z={};if(f&&f[0]>0){let e=f[0]/2;Z.paddingLeft=e,Z.paddingRight=e}return w&&(Z.flex=u(w),!1!==m||Z.minWidth||(Z.minWidth=0)),S(r.createElement("div",Object.assign({},E,{style:Object.assign(Object.assign(Object.assign({},Z),O),I),className:F,ref:t}),x))});t.Z=f},22698:function(e,t,n){var r=n(38497),l=n(26869),i=n.n(l),o=n(30432),a=n(63346),s=n(54537),c=n(54009),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};function d(e,t){let[n,l]=r.useState("string"==typeof e?e:""),i=()=>{if("string"==typeof e&&l(e),"object"==typeof e)for(let n=0;n{i()},[JSON.stringify(e),t]),n}let f=r.forwardRef((e,t)=>{let{prefixCls:n,justify:l,align:f,className:m,style:p,children:g,gutter:h=0,wrap:b}=e,$=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:y,direction:v}=r.useContext(a.E_),[x,w]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[O,E]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),j=d(f,O),S=d(l,O),C=r.useRef(h),M=(0,o.ZP)();r.useEffect(()=>{let e=M.subscribe(e=>{E(e);let t=C.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&w(e)});return()=>M.unsubscribe(e)},[]);let I=y("row",n),[k,F,Z]=(0,c.VM)(I),N=(()=>{let e=[void 0,void 0],t=Array.isArray(h)?h:[h,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(N[0]/2):void 0;R&&(W.marginLeft=R,W.marginRight=R);let[q,_]=N;W.rowGap=_;let H=r.useMemo(()=>({gutter:[q,_],wrap:b}),[q,_,b]);return k(r.createElement(s.Z.Provider,{value:H},r.createElement("div",Object.assign({},$,{className:P,style:Object.assign(Object.assign({},W),p),ref:t}),g)))});t.Z=f},54009:function(e,t,n){n.d(t,{VM:function(){return u},cG:function(){return d}});var r=n(72178),l=n(90102),i=n(74934);let o=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},a=(e,t)=>{let{prefixCls:n,componentCls:r,gridColumns:l}=e,i={};for(let e=l;e>=0;e--)0===e?(i[`${r}${t}-${e}`]={display:"none"},i[`${r}-push-${e}`]={insetInlineStart:"auto"},i[`${r}-pull-${e}`]={insetInlineEnd:"auto"},i[`${r}${t}-push-${e}`]={insetInlineStart:"auto"},i[`${r}${t}-pull-${e}`]={insetInlineEnd:"auto"},i[`${r}${t}-offset-${e}`]={marginInlineStart:0},i[`${r}${t}-order-${e}`]={order:0}):(i[`${r}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/l*100}%`,maxWidth:`${e/l*100}%`}],i[`${r}${t}-push-${e}`]={insetInlineStart:`${e/l*100}%`},i[`${r}${t}-pull-${e}`]={insetInlineEnd:`${e/l*100}%`},i[`${r}${t}-offset-${e}`]={marginInlineStart:`${e/l*100}%`},i[`${r}${t}-order-${e}`]={order:e});return i[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},i},s=(e,t)=>a(e,t),c=(e,t,n)=>({[`@media (min-width: ${(0,r.bf)(t)})`]:Object.assign({},s(e,n))}),u=(0,l.I$)("Grid",e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},()=>({})),d=(0,l.I$)("Grid",e=>{let t=(0,i.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[o(t),s(t,""),s(t,"-xs"),Object.keys(n).map(e=>c(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))}}]); \ No newline at end of file + ${n}-col-xl-24${t}-label`]:j(e),[`@media (max-width: ${(0,f.bf)(e.screenXSMax)})`]:[S(e),{[t]:{[`${n}-col-xs-24${t}-label`]:j(e)}}],[`@media (max-width: ${(0,f.bf)(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:j(e)}},[`@media (max-width: ${(0,f.bf)(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:j(e)}},[`@media (max-width: ${(0,f.bf)(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:j(e)}}}},I=(e,t)=>{let n=(0,h.IX)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t});return n};var k=(0,b.I$)("Form",(e,t)=>{let{rootPrefixCls:n}=t,r=I(e,n);return[x(r),w(r),$(r),O(r,r.componentCls),O(r,r.formItemCls),E(r),C(r),M(r),(0,g.Z)(r),p.kr]},e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),{order:-1e3});let F=[];function Z(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof e?e:`${t}-${r}`,error:e,errorStatus:n}}var N=e=>{let{help:t,helpStatus:n,errors:o=F,warnings:f=F,className:m,fieldId:p,onVisibleChanged:g}=e,{prefixCls:h}=i.useContext(r.Rk),b=`${h}-item-explain`,$=(0,u.Z)(h),[y,v,x]=k(h,$),w=(0,i.useMemo)(()=>(0,c.Z)(h),[h]),O=d(o),E=d(f),j=i.useMemo(()=>null!=t?[Z(t,"help",n)]:[].concat((0,l.Z)(O.map((e,t)=>Z(e,"error","error",t))),(0,l.Z)(E.map((e,t)=>Z(e,"warning","warning",t)))),[t,n,O,E]),S={};return p&&(S.id=`${p}_help`),y(i.createElement(s.ZP,{motionDeadline:w.motionDeadline,motionName:`${h}-show-help`,visible:!!j.length,onVisibleChanged:g},e=>{let{className:t,style:n}=e;return i.createElement("div",Object.assign({},S,{className:a()(b,t,x,$,m,v),style:n,role:"alert"}),i.createElement(s.V4,Object.assign({keys:j},(0,c.Z)(h),{motionName:`${h}-show-help-item`,component:!1}),e=>{let{key:t,error:n,errorStatus:r,className:l,style:o}=e;return i.createElement("div",{key:t,className:a()(l,{[`${b}-${r}`]:r}),style:o},n)}))}))},P=n(9449),W=n(63346),R=n(3482),q=n(82014),_=n(69470),H=n(42502);let z=e=>"object"==typeof e&&null!=e&&1===e.nodeType,T=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,L=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightit||i>e&&o=t&&a>=n?i-e-r:o>t&&an?o-t+l:0,D=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},V=(e,t)=>{var n,r,l,i;if("undefined"==typeof document)return[];let{scrollMode:o,block:a,inline:s,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!z(e))throw TypeError("Invalid target");let f=document.scrollingElement||document.documentElement,m=[],p=e;for(;z(p)&&d(p);){if((p=D(p))===f){m.push(p);break}null!=p&&p===document.body&&L(p)&&!L(document.documentElement)||null!=p&&L(p,u)&&m.push(p)}let g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,h=null!=(i=null==(l=window.visualViewport)?void 0:l.height)?i:innerHeight,{scrollX:b,scrollY:$}=window,{height:y,width:v,top:x,right:w,bottom:O,left:E}=e.getBoundingClientRect(),{top:j,right:S,bottom:C,left:M}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),I="start"===a||"nearest"===a?x-j:"end"===a?O+C:x+y/2-j+C,k="center"===s?E+v/2-M+S:"end"===s?w+S:E-M,F=[];for(let e=0;e=0&&E>=0&&O<=h&&w<=g&&x>=l&&O<=c&&E>=u&&w<=i)break;let d=getComputedStyle(t),p=parseInt(d.borderLeftWidth,10),j=parseInt(d.borderTopWidth,10),S=parseInt(d.borderRightWidth,10),C=parseInt(d.borderBottomWidth,10),M=0,Z=0,N="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-S:0,P="offsetHeight"in t?t.offsetHeight-t.clientHeight-j-C:0,W="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,R="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)M="start"===a?I:"end"===a?I-h:"nearest"===a?A($,$+h,h,j,C,$+I,$+I+y,y):I-h/2,Z="start"===s?k:"center"===s?k-g/2:"end"===s?k-g:A(b,b+g,g,p,S,b+k,b+k+v,v),M=Math.max(0,M+$),Z=Math.max(0,Z+b);else{M="start"===a?I-l-j:"end"===a?I-c+C+P:"nearest"===a?A(l,c,n,j,C+P,I,I+y,y):I-(l+n/2)+P/2,Z="start"===s?k-u-p:"center"===s?k-(u+r/2)+N/2:"end"===s?k-i+S+N:A(u,i,r,p,S+N,k,k+v,v);let{scrollLeft:e,scrollTop:o}=t;M=0===R?0:Math.max(0,Math.min(o+M/R,t.scrollHeight-n/R+P)),Z=0===W?0:Math.max(0,Math.min(e+Z/W,t.scrollWidth-r/W+N)),I+=o-M,k+=e-Z}F.push({el:t,top:M,left:Z})}return F},B=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"},X=["parentNode"];function G(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function Y(e,t){if(!e.length)return;let n=e.join("_");if(t)return`${t}_${n}`;let r=X.includes(n);return r?`form_item_${n}`:n}function K(e,t,n,r,l,i){let o=r;return void 0!==i?o=i:n.validating?o="validating":e.length?o="error":t.length?o="warning":(n.touched||l&&n.validated)&&(o="success"),o}function J(e){let t=G(e);return t.join("_")}function Q(e){let[t]=(0,P.cI)(),n=i.useRef({}),r=i.useMemo(()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{let r=J(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(e,t){let n=t.getFieldInstance(e),r=(0,H.bn)(n);if(r)return r;let l=Y(G(e),t.__INTERNAL__.name);if(l)return document.getElementById(l)}(e,r);n&&function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(V(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:l,top:i,left:o}of V(e,B(t))){let e=i-n.top+n.bottom,t=o-n.left+n.right;l.scroll({top:e,left:t,behavior:r})}}(n,Object.assign({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:e=>{let t=J(e);return n.current[t]}}),[e,t]);return[r]}var U=n(8902),ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let et=i.forwardRef((e,t)=>{let n=i.useContext(R.Z),{getPrefixCls:l,direction:o,form:s}=i.useContext(W.E_),{prefixCls:c,className:d,rootClassName:f,size:m,disabled:p=n,form:g,colon:h,labelAlign:b,labelWrap:$,labelCol:y,wrapperCol:v,hideRequiredMark:x,layout:w="horizontal",scrollToFirstError:O,requiredMark:E,onFinishFailed:j,name:S,style:C,feedbackIcons:M,variant:I}=e,F=ee(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Z=(0,q.Z)(m),N=i.useContext(U.Z),H=(0,i.useMemo)(()=>void 0!==E?E:!x&&(!s||void 0===s.requiredMark||s.requiredMark),[x,E,s]),z=null!=h?h:null==s?void 0:s.colon,T=l("form",c),L=(0,u.Z)(T),[A,D,V]=k(T,L),B=a()(T,`${T}-${w}`,{[`${T}-hide-required-mark`]:!1===H,[`${T}-rtl`]:"rtl"===o,[`${T}-${Z}`]:Z},V,L,D,null==s?void 0:s.className,d,f),[X]=Q(g),{__INTERNAL__:G}=X;G.name=S;let Y=(0,i.useMemo)(()=>({name:S,labelAlign:b,labelCol:y,labelWrap:$,wrapperCol:v,vertical:"vertical"===w,colon:z,requiredMark:H,itemRef:G.itemRef,form:X,feedbackIcons:M}),[S,b,y,v,w,z,H,X,M]),K=i.useRef(null);i.useImperativeHandle(t,()=>{var e;return Object.assign(Object.assign({},X),{nativeElement:null===(e=K.current)||void 0===e?void 0:e.nativeElement})});let J=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),X.scrollToField(t,n)}};return A(i.createElement(r.pg.Provider,{value:I},i.createElement(R.n,{disabled:p},i.createElement(_.Z.Provider,{value:Z},i.createElement(r.RV,{validateMessages:N},i.createElement(r.q3.Provider,{value:Y},i.createElement(P.ZP,Object.assign({id:S},F,{name:S,onFinishFailed:e=>{if(null==j||j(e),e.errorFields.length){let t=e.errorFields[0].name;if(void 0!==O){J(O,t);return}s&&void 0!==s.scrollToFirstError&&J(s.scrollToFirstError,t)}},form:X,ref:K,style:Object.assign(Object.assign({},null==s?void 0:s.style),C),className:B}))))))))});var en=n(9991),er=n(7544),el=n(55091),ei=n(67478),eo=n(10469);let ea=()=>{let{status:e,errors:t=[],warnings:n=[]}=(0,i.useContext)(r.aM);return{status:e,errors:t,warnings:n}};ea.Context=r.aM;var es=n(25043),ec=n(62143),eu=n(46644),ed=n(55598),ef=n(22698),em=n(98606);let ep=e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}};var eg=(0,b.bk)(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t,r=I(e,n);return[ep(r)]}),eh=e=>{let{prefixCls:t,status:n,wrapperCol:l,children:o,errors:s,warnings:c,_internalItemRender:u,extra:d,help:f,fieldId:m,marginBottom:p,onErrorVisibleChanged:g}=e,h=`${t}-item`,b=i.useContext(r.q3),$=l||b.wrapperCol||{},y=a()(`${h}-control`,$.className),v=i.useMemo(()=>Object.assign({},b),[b]);delete v.labelCol,delete v.wrapperCol;let x=i.createElement("div",{className:`${h}-control-input`},i.createElement("div",{className:`${h}-control-input-content`},o)),w=i.useMemo(()=>({prefixCls:t,status:n}),[t,n]),O=null!==p||s.length||c.length?i.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},i.createElement(r.Rk.Provider,{value:w},i.createElement(N,{fieldId:m,errors:s,warnings:c,help:f,helpStatus:n,className:`${h}-explain-connected`,onVisibleChanged:g})),!!p&&i.createElement("div",{style:{width:0,height:p}})):null,E={};m&&(E.id=`${m}_extra`);let j=d?i.createElement("div",Object.assign({},E,{className:`${h}-extra`}),d):null,S=u&&"pro_table_render"===u.mark&&u.render?u.render(e,{input:x,errorList:O,extra:j}):i.createElement(i.Fragment,null,x,O,j);return i.createElement(r.q3.Provider,{value:v},i.createElement(em.Z,Object.assign({},$,{className:y}),S),i.createElement(eg,{prefixCls:t}))},eb=n(86522),e$=n(61261),ey=n(44306),ev=n(60205),ex=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n},ew=e=>{var t;let{prefixCls:n,label:l,htmlFor:o,labelCol:s,labelAlign:c,colon:u,required:d,requiredMark:f,tooltip:m,vertical:p}=e,[g]=(0,e$.Z)("Form"),{labelAlign:h,labelCol:b,labelWrap:$,colon:y}=i.useContext(r.q3);if(!l)return null;let v=s||b||{},x=`${n}-item-label`,w=a()(x,"left"===(c||h)&&`${x}-left`,v.className,{[`${x}-wrap`]:!!$}),O=l,E=!0===u||!1!==y&&!1!==u;E&&!p&&"string"==typeof l&&l.trim()&&(O=l.replace(/[:|:]\s*$/,""));let j=m?"object"!=typeof m||i.isValidElement(m)?{title:m}:m:null;if(j){let{icon:e=i.createElement(eb.Z,null)}=j,t=ex(j,["icon"]),r=i.createElement(ev.Z,Object.assign({},t),i.cloneElement(e,{className:`${n}-item-tooltip`,title:"",onClick:e=>{e.preventDefault()},tabIndex:null}));O=i.createElement(i.Fragment,null,O,r)}let S="optional"===f,C="function"==typeof f;C?O=f(O,{required:!!d}):S&&!d&&(O=i.createElement(i.Fragment,null,O,i.createElement("span",{className:`${n}-item-optional`,title:""},(null==g?void 0:g.optional)||(null===(t=ey.Z.Form)||void 0===t?void 0:t.optional))));let M=a()({[`${n}-item-required`]:d,[`${n}-item-required-mark-optional`]:S||C,[`${n}-item-no-colon`]:!E});return i.createElement(em.Z,Object.assign({},v,{className:w}),i.createElement("label",{htmlFor:o,className:M,title:"string"==typeof l?l:""},O))},eO=n(16147),eE=n(86298),ej=n(71836),eS=n(37022);let eC={success:eO.Z,warning:ej.Z,error:eE.Z,validating:eS.Z};function eM(e){let{children:t,errors:n,warnings:l,hasFeedback:o,validateStatus:s,prefixCls:c,meta:u,noStyle:d}=e,f=`${c}-item`,{feedbackIcons:m}=i.useContext(r.q3),p=K(n,l,u,null,!!o,s),{isFormItemInput:g,status:h,hasFeedback:b,feedbackIcon:$}=i.useContext(r.aM),y=i.useMemo(()=>{var e;let t;if(o){let r=!0!==o&&o.icons||m,s=p&&(null===(e=null==r?void 0:r({status:p,errors:n,warnings:l}))||void 0===e?void 0:e[p]),c=p&&eC[p];t=!1!==s&&c?i.createElement("span",{className:a()(`${f}-feedback-icon`,`${f}-feedback-icon-${p}`)},s||i.createElement(c,null)):null}let r={status:p||"",errors:n,warnings:l,hasFeedback:!!o,feedbackIcon:t,isFormItemInput:!0};return d&&(r.status=(null!=p?p:h)||"",r.isFormItemInput=g,r.hasFeedback=!!(null!=o?o:b),r.feedbackIcon=void 0!==o?r.feedbackIcon:$),r},[p,o,d,g,h]);return i.createElement(r.aM.Provider,{value:y},t)}var eI=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};function ek(e){let{prefixCls:t,className:n,rootClassName:l,style:o,help:s,errors:c,warnings:u,validateStatus:f,meta:m,hasFeedback:p,hidden:g,children:h,fieldId:b,required:$,isRequired:y,onSubItemMetaChange:v,layout:x}=e,w=eI(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),O=`${t}-item`,{requiredMark:E,vertical:j}=i.useContext(r.q3),S=i.useRef(null),C=d(c),M=d(u),I=null!=s,k=!!(I||c.length||u.length),F=!!S.current&&(0,ec.Z)(S.current),[Z,N]=i.useState(null);(0,eu.Z)(()=>{if(k&&S.current){let e=getComputedStyle(S.current);N(parseInt(e.marginBottom,10))}},[k,F]);let P=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?C:m.errors,n=e?M:m.warnings;return K(t,n,m,"",!!p,f)}(),W=a()(O,n,l,{[`${O}-with-help`]:I||C.length||M.length,[`${O}-has-feedback`]:P&&p,[`${O}-has-success`]:"success"===P,[`${O}-has-warning`]:"warning"===P,[`${O}-has-error`]:"error"===P,[`${O}-is-validating`]:"validating"===P,[`${O}-hidden`]:g,[`${O}-${x}`]:x});return i.createElement("div",{className:W,style:o,ref:S},i.createElement(ef.Z,Object.assign({className:`${O}-row`},(0,ed.Z)(w,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),i.createElement(ew,Object.assign({htmlFor:b},e,{requiredMark:E,required:null!=$?$:y,prefixCls:t,vertical:j||"vertical"===x})),i.createElement(eh,Object.assign({},e,m,{errors:C,warnings:M,prefixCls:t,status:P,help:s,marginBottom:Z,onErrorVisibleChanged:e=>{e||N(null)}}),i.createElement(r.qI.Provider,{value:v},i.createElement(eM,{prefixCls:t,meta:m,errors:m.errors,warnings:m.warnings,hasFeedback:p,validateStatus:P},h)))),!!Z&&i.createElement("div",{className:`${O}-margin-offset`,style:{marginBottom:-Z}}))}let eF=i.memo(e=>{let{children:t}=e;return t},(e,t)=>(function(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>{let r=e[n],l=t[n];return r===l||"function"==typeof r||"function"==typeof l})})(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function eZ(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}let eN=function(e){let{name:t,noStyle:n,className:o,dependencies:s,prefixCls:c,shouldUpdate:d,rules:f,children:m,required:p,label:g,messageVariables:h,trigger:b="onChange",validateTrigger:$,hidden:y,help:v,layout:x}=e,{getPrefixCls:w}=i.useContext(W.E_),{name:O}=i.useContext(r.q3),E=function(e){if("function"==typeof e)return e;let t=(0,eo.Z)(e);return t.length<=1?t[0]:t}(m),j="function"==typeof E,S=i.useContext(r.qI),{validateTrigger:C}=i.useContext(P.zb),M=void 0!==$?$:C,I=null!=t,F=w("form",c),Z=(0,u.Z)(F),[N,R,q]=k(F,Z);(0,ei.ln)("Form.Item");let _=i.useContext(P.ZM),H=i.useRef(),[z,T]=function(e){let[t,n]=i.useState(e),r=(0,i.useRef)(null),l=(0,i.useRef)([]),o=(0,i.useRef)(!1);return i.useEffect(()=>(o.current=!1,()=>{o.current=!0,es.Z.cancel(r.current),r.current=null}),[]),[t,function(e){o.current||(null===r.current&&(l.current=[],r.current=(0,es.Z)(()=>{r.current=null,n(e=>{let t=e;return l.current.forEach(e=>{t=e(t)}),t})})),l.current.push(e))}]}({}),[L,A]=(0,en.Z)(()=>eZ()),D=(e,t)=>{T(n=>{let r=Object.assign({},n),i=[].concat((0,l.Z)(e.name.slice(0,-1)),(0,l.Z)(t)),o=i.join("__SPLIT__");return e.destroy?delete r[o]:r[o]=e,r})},[V,B]=i.useMemo(()=>{let e=(0,l.Z)(L.errors),t=(0,l.Z)(L.warnings);return Object.values(z).forEach(n=>{e.push.apply(e,(0,l.Z)(n.errors||[])),t.push.apply(t,(0,l.Z)(n.warnings||[]))}),[e,t]},[z,L.errors,L.warnings]),X=function(){let{itemRef:e}=i.useContext(r.q3),t=i.useRef({});return function(n,r){let l=r&&"object"==typeof r&&r.ref,i=n.join("_");return(t.current.name!==i||t.current.originRef!==l)&&(t.current.name=i,t.current.originRef=l,t.current.ref=(0,er.sQ)(e(n),l)),t.current.ref}}();function K(t,r,l){return n&&!y?i.createElement(eM,{prefixCls:F,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:L,errors:V,warnings:B,noStyle:!0},t):i.createElement(ek,Object.assign({key:"row"},e,{className:a()(o,q,Z,R),prefixCls:F,fieldId:r,isRequired:l,errors:V,warnings:B,meta:L,onSubItemMetaChange:D,layout:x}),t)}if(!I&&!j&&!s)return N(K(E));let J={};return"string"==typeof g?J.label=g:t&&(J.label=String(t)),h&&(J=Object.assign(Object.assign({},J),h)),N(i.createElement(P.gN,Object.assign({},e,{messageVariables:J,trigger:b,validateTrigger:M,onMetaChange:e=>{let t=null==_?void 0:_.getKey(e.name);if(A(e.destroy?eZ():e,!0),n&&!1!==v&&S){let n=e.name;if(e.destroy)n=H.current||n;else if(void 0!==t){let[e,r]=t;n=[e].concat((0,l.Z)(r)),H.current=n}S(e,n)}}}),(n,r,o)=>{let a=G(t).length&&r?r.name:[],c=Y(a,O),u=void 0!==p?p:!!(null==f?void 0:f.some(e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){let t=e(o);return(null==t?void 0:t.required)&&!(null==t?void 0:t.warningOnly)}return!1})),m=Object.assign({},n),g=null;if(Array.isArray(E)&&I)g=E;else if(j&&(!(d||s)||I));else if(!s||j||I){if(i.isValidElement(E)){let t=Object.assign(Object.assign({},E.props),m);if(t.id||(t.id=c),v||V.length>0||B.length>0||e.extra){let n=[];(v||V.length>0)&&n.push(`${c}_help`),e.extra&&n.push(`${c}_extra`),t["aria-describedby"]=n.join(" ")}V.length>0&&(t["aria-invalid"]="true"),u&&(t["aria-required"]="true"),(0,er.Yr)(E)&&(t.ref=X(a,E));let n=new Set([].concat((0,l.Z)(G(b)),(0,l.Z)(G(M))));n.forEach(e=>{t[e]=function(){for(var t,n,r,l=arguments.length,i=Array(l),o=0;ot.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};et.Item=eN,et.List=e=>{var{prefixCls:t,children:n}=e,l=eP(e,["prefixCls","children"]);let{getPrefixCls:o}=i.useContext(W.E_),a=o("form",t),s=i.useMemo(()=>({prefixCls:a,status:"error"}),[a]);return i.createElement(P.aV,Object.assign({},l),(e,t,l)=>i.createElement(r.Rk.Provider,{value:s},n(e.map(e=>Object.assign(Object.assign({},e),{fieldKey:e.key})),t,{errors:l.errors,warnings:l.warnings})))},et.ErrorList=N,et.useForm=Q,et.useFormInstance=function(){let{form:e}=(0,i.useContext)(r.q3);return e},et.useWatch=P.qo,et.Provider=r.RV,et.create=()=>{};var eW=et},54537:function(e,t,n){var r=n(38497);let l=(0,r.createContext)({});t.Z=l},98606:function(e,t,n){var r=n(38497),l=n(26869),i=n.n(l),o=n(63346),a=n(54537),s=n(54009),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};function u(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let d=["xs","sm","md","lg","xl","xxl"],f=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:l}=r.useContext(o.E_),{gutter:f,wrap:m}=r.useContext(a.Z),{prefixCls:p,span:g,order:h,offset:b,push:$,pull:y,className:v,children:x,flex:w,style:O}=e,E=c(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=n("col",p),[S,C,M]=(0,s.cG)(j),I={},k={};d.forEach(t=>{let n={},r=e[t];"number"==typeof r?n.span=r:"object"==typeof r&&(n=r||{}),delete E[t],k=Object.assign(Object.assign({},k),{[`${j}-${t}-${n.span}`]:void 0!==n.span,[`${j}-${t}-order-${n.order}`]:n.order||0===n.order,[`${j}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${j}-${t}-push-${n.push}`]:n.push||0===n.push,[`${j}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${j}-rtl`]:"rtl"===l}),n.flex&&(k[`${j}-${t}-flex`]=!0,I[`--${j}-${t}-flex`]=u(n.flex))});let F=i()(j,{[`${j}-${g}`]:void 0!==g,[`${j}-order-${h}`]:h,[`${j}-offset-${b}`]:b,[`${j}-push-${$}`]:$,[`${j}-pull-${y}`]:y},v,k,C,M),Z={};if(f&&f[0]>0){let e=f[0]/2;Z.paddingLeft=e,Z.paddingRight=e}return w&&(Z.flex=u(w),!1!==m||Z.minWidth||(Z.minWidth=0)),S(r.createElement("div",Object.assign({},E,{style:Object.assign(Object.assign(Object.assign({},Z),O),I),className:F,ref:t}),x))});t.Z=f},22698:function(e,t,n){var r=n(38497),l=n(26869),i=n.n(l),o=n(30432),a=n(63346),s=n(54537),c=n(54009),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};function d(e,t){let[n,l]=r.useState("string"==typeof e?e:""),i=()=>{if("string"==typeof e&&l(e),"object"==typeof e)for(let n=0;n{i()},[JSON.stringify(e),t]),n}let f=r.forwardRef((e,t)=>{let{prefixCls:n,justify:l,align:f,className:m,style:p,children:g,gutter:h=0,wrap:b}=e,$=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:y,direction:v}=r.useContext(a.E_),[x,w]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[O,E]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),j=d(f,O),S=d(l,O),C=r.useRef(h),M=(0,o.ZP)();r.useEffect(()=>{let e=M.subscribe(e=>{E(e);let t=C.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&w(e)});return()=>M.unsubscribe(e)},[]);let I=y("row",n),[k,F,Z]=(0,c.VM)(I),N=(()=>{let e=[void 0,void 0],t=Array.isArray(h)?h:[h,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(N[0]/2):void 0;R&&(W.marginLeft=R,W.marginRight=R);let[q,_]=N;W.rowGap=_;let H=r.useMemo(()=>({gutter:[q,_],wrap:b}),[q,_,b]);return k(r.createElement(s.Z.Provider,{value:H},r.createElement("div",Object.assign({},$,{className:P,style:Object.assign(Object.assign({},W),p),ref:t}),g)))});t.Z=f},54009:function(e,t,n){n.d(t,{VM:function(){return u},cG:function(){return d}});var r=n(38083),l=n(90102),i=n(74934);let o=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},a=(e,t)=>{let{prefixCls:n,componentCls:r,gridColumns:l}=e,i={};for(let e=l;e>=0;e--)0===e?(i[`${r}${t}-${e}`]={display:"none"},i[`${r}-push-${e}`]={insetInlineStart:"auto"},i[`${r}-pull-${e}`]={insetInlineEnd:"auto"},i[`${r}${t}-push-${e}`]={insetInlineStart:"auto"},i[`${r}${t}-pull-${e}`]={insetInlineEnd:"auto"},i[`${r}${t}-offset-${e}`]={marginInlineStart:0},i[`${r}${t}-order-${e}`]={order:0}):(i[`${r}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/l*100}%`,maxWidth:`${e/l*100}%`}],i[`${r}${t}-push-${e}`]={insetInlineStart:`${e/l*100}%`},i[`${r}${t}-pull-${e}`]={insetInlineEnd:`${e/l*100}%`},i[`${r}${t}-offset-${e}`]={marginInlineStart:`${e/l*100}%`},i[`${r}${t}-order-${e}`]={order:e});return i[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},i},s=(e,t)=>a(e,t),c=(e,t,n)=>({[`@media (min-width: ${(0,r.bf)(t)})`]:Object.assign({},s(e,n))}),u=(0,l.I$)("Grid",e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},()=>({})),d=(0,l.I$)("Grid",e=>{let t=(0,i.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[o(t),s(t,""),s(t,"-xs"),Object.keys(n).map(e=>c(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5444-ed736be5d9aaa311.js b/dbgpt/app/static/web/_next/static/chunks/5444-be1f9e0facfb966b.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/5444-ed736be5d9aaa311.js rename to dbgpt/app/static/web/_next/static/chunks/5444-be1f9e0facfb966b.js index 2f378f71c..e5c9d0683 100644 --- a/dbgpt/app/static/web/_next/static/chunks/5444-ed736be5d9aaa311.js +++ b/dbgpt/app/static/web/_next/static/chunks/5444-be1f9e0facfb966b.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5444],{197:function(e,t,n){n.d(t,{Z:function(){return z}});var i=n(38497),o=n(26869),a=n.n(o),l=n(42096),r=n(65347),s=n(10921),c=n(65148),d=n(4247),u=n(14433),m=n(77757),b=n(7544),f=n(55598),g=n(53979),v=n(46644),h=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},p=function(e){return void 0!==e?"".concat(e,"px"):void 0};function $(e){var t=e.prefixCls,n=e.containerRef,o=e.value,l=e.getValueIndex,s=e.motionName,c=e.onMotionStart,u=e.onMotionEnd,m=e.direction,f=i.useRef(null),$=i.useState(o),S=(0,r.Z)($,2),C=S[0],w=S[1],O=function(e){var i,o=l(e),a=null===(i=n.current)||void 0===i?void 0:i.querySelectorAll(".".concat(t,"-item"))[o];return(null==a?void 0:a.offsetParent)&&a},k=i.useState(null),E=(0,r.Z)(k,2),x=E[0],Z=E[1],j=i.useState(null),y=(0,r.Z)(j,2),N=y[0],H=y[1];(0,v.Z)(function(){if(C!==o){var e=O(C),t=O(o),n=h(e),i=h(t);w(o),Z(n),H(i),e&&t?c():u()}},[o]);var R=i.useMemo(function(){return"rtl"===m?p(-(null==x?void 0:x.right)):p(null==x?void 0:x.left)},[m,x]),M=i.useMemo(function(){return"rtl"===m?p(-(null==N?void 0:N.right)):p(null==N?void 0:N.left)},[m,N]);return x&&N?i.createElement(g.ZP,{visible:!0,motionName:s,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){Z(null),H(null),u()}},function(e,n){var o=e.className,l=e.style,r=(0,d.Z)((0,d.Z)({},l),{},{"--thumb-start-left":R,"--thumb-start-width":p(null==x?void 0:x.width),"--thumb-active-left":M,"--thumb-active-width":p(null==N?void 0:N.width)}),s={ref:(0,b.sQ)(f,n),style:r,className:a()("".concat(t,"-thumb"),o)};return i.createElement("div",s)}):null}var S=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],C=function(e){var t=e.prefixCls,n=e.className,o=e.disabled,l=e.checked,r=e.label,s=e.title,d=e.value,u=e.onChange;return i.createElement("label",{className:a()(n,(0,c.Z)({},"".concat(t,"-item-disabled"),o))},i.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:o,checked:l,onChange:function(e){o||u(e,d)}}),i.createElement("div",{className:"".concat(t,"-item-label"),title:s},r))},w=i.forwardRef(function(e,t){var n,o,g=e.prefixCls,v=void 0===g?"rc-segmented":g,h=e.direction,p=e.options,w=void 0===p?[]:p,O=e.disabled,k=e.defaultValue,E=e.value,x=e.onChange,Z=e.className,j=void 0===Z?"":Z,y=e.motionName,N=void 0===y?"thumb-motion":y,H=(0,s.Z)(e,S),R=i.useRef(null),M=i.useMemo(function(){return(0,b.sQ)(R,t)},[R,t]),I=i.useMemo(function(){return w.map(function(e){if("object"===(0,u.Z)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,u.Z)(e.label)){var t;return null===(t=e.label)||void 0===t?void 0:t.toString()}}(e);return(0,d.Z)((0,d.Z)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[w]),P=(0,m.Z)(null===(n=I[0])||void 0===n?void 0:n.value,{value:E,defaultValue:k}),z=(0,r.Z)(P,2),B=z[0],A=z[1],q=i.useState(!1),D=(0,r.Z)(q,2),V=D[0],X=D[1],L=function(e,t){O||(A(t),null==x||x(t))},W=(0,f.Z)(H,["children"]);return i.createElement("div",(0,l.Z)({},W,{className:a()(v,(o={},(0,c.Z)(o,"".concat(v,"-rtl"),"rtl"===h),(0,c.Z)(o,"".concat(v,"-disabled"),O),o),j),ref:M}),i.createElement("div",{className:"".concat(v,"-group")},i.createElement($,{prefixCls:v,value:B,containerRef:R,motionName:"".concat(v,"-").concat(N),direction:h,getValueIndex:function(e){return I.findIndex(function(t){return t.value===e})},onMotionStart:function(){X(!0)},onMotionEnd:function(){X(!1)}}),I.map(function(e){return i.createElement(C,(0,l.Z)({},e,{key:e.value,prefixCls:v,className:a()(e.className,"".concat(v,"-item"),(0,c.Z)({},"".concat(v,"-item-selected"),e.value===B&&!V)),checked:e.value===B,onChange:L,disabled:!!O||!!e.disabled}))})))}),O=n(63346),k=n(82014),E=n(72178),x=n(60848),Z=n(90102),j=n(74934);function y(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function N(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}let H=Object.assign({overflow:"hidden"},x.vS),R=e=>{let{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),i=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,x.Wf)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},N(e)),{color:e.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,E.bf)(n),padding:`0 ${(0,E.bf)(e.segmentedPaddingHorizontal)}`},H),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},N(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,E.bf)(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:i,lineHeight:(0,E.bf)(i),padding:`0 ${(0,E.bf)(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:o,lineHeight:(0,E.bf)(o),padding:`0 ${(0,E.bf)(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),y(`&-disabled ${t}-item`,e)),y(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}};var M=(0,Z.I$)("Segmented",e=>{let{lineWidth:t,calc:n}=e,i=(0,j.IX)(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()});return[R(i)]},e=>{let{colorTextLabel:t,colorText:n,colorFillSecondary:i,colorBgElevated:o,colorFill:a,lineWidthBold:l,colorBgLayout:r}=e;return{trackPadding:l,trackBg:r,itemColor:t,itemHoverColor:n,itemHoverBg:i,itemSelectedBg:o,itemActiveBg:a,itemSelectedColor:n}}),I=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};let P=i.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:l,block:r,options:s=[],size:c="middle",style:d}=e,u=I(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:m,direction:b,segmented:f}=i.useContext(O.E_),g=m("segmented",n),[v,h,p]=M(g),$=(0,k.Z)(c),S=i.useMemo(()=>s.map(e=>{if("object"==typeof e&&(null==e?void 0:e.icon)){let{icon:t,label:n}=e,o=I(e,["icon","label"]);return Object.assign(Object.assign({},o),{label:i.createElement(i.Fragment,null,i.createElement("span",{className:`${g}-item-icon`},t),n&&i.createElement("span",null,n))})}return e}),[s,g]),C=a()(o,l,null==f?void 0:f.className,{[`${g}-block`]:r,[`${g}-sm`]:"small"===$,[`${g}-lg`]:"large"===$},h,p),E=Object.assign(Object.assign({},null==f?void 0:f.style),d);return v(i.createElement(w,Object.assign({},u,{className:C,style:E,options:S,ref:t,prefixCls:g,direction:b})))});var z=P}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5444],{197:function(e,t,n){n.d(t,{Z:function(){return z}});var i=n(38497),o=n(26869),a=n.n(o),l=n(42096),r=n(65347),s=n(10921),c=n(65148),d=n(4247),u=n(14433),m=n(77757),b=n(7544),f=n(55598),g=n(53979),v=n(46644),h=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},p=function(e){return void 0!==e?"".concat(e,"px"):void 0};function $(e){var t=e.prefixCls,n=e.containerRef,o=e.value,l=e.getValueIndex,s=e.motionName,c=e.onMotionStart,u=e.onMotionEnd,m=e.direction,f=i.useRef(null),$=i.useState(o),S=(0,r.Z)($,2),C=S[0],w=S[1],O=function(e){var i,o=l(e),a=null===(i=n.current)||void 0===i?void 0:i.querySelectorAll(".".concat(t,"-item"))[o];return(null==a?void 0:a.offsetParent)&&a},k=i.useState(null),E=(0,r.Z)(k,2),x=E[0],Z=E[1],j=i.useState(null),y=(0,r.Z)(j,2),N=y[0],H=y[1];(0,v.Z)(function(){if(C!==o){var e=O(C),t=O(o),n=h(e),i=h(t);w(o),Z(n),H(i),e&&t?c():u()}},[o]);var R=i.useMemo(function(){return"rtl"===m?p(-(null==x?void 0:x.right)):p(null==x?void 0:x.left)},[m,x]),M=i.useMemo(function(){return"rtl"===m?p(-(null==N?void 0:N.right)):p(null==N?void 0:N.left)},[m,N]);return x&&N?i.createElement(g.ZP,{visible:!0,motionName:s,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){Z(null),H(null),u()}},function(e,n){var o=e.className,l=e.style,r=(0,d.Z)((0,d.Z)({},l),{},{"--thumb-start-left":R,"--thumb-start-width":p(null==x?void 0:x.width),"--thumb-active-left":M,"--thumb-active-width":p(null==N?void 0:N.width)}),s={ref:(0,b.sQ)(f,n),style:r,className:a()("".concat(t,"-thumb"),o)};return i.createElement("div",s)}):null}var S=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],C=function(e){var t=e.prefixCls,n=e.className,o=e.disabled,l=e.checked,r=e.label,s=e.title,d=e.value,u=e.onChange;return i.createElement("label",{className:a()(n,(0,c.Z)({},"".concat(t,"-item-disabled"),o))},i.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:o,checked:l,onChange:function(e){o||u(e,d)}}),i.createElement("div",{className:"".concat(t,"-item-label"),title:s},r))},w=i.forwardRef(function(e,t){var n,o,g=e.prefixCls,v=void 0===g?"rc-segmented":g,h=e.direction,p=e.options,w=void 0===p?[]:p,O=e.disabled,k=e.defaultValue,E=e.value,x=e.onChange,Z=e.className,j=void 0===Z?"":Z,y=e.motionName,N=void 0===y?"thumb-motion":y,H=(0,s.Z)(e,S),R=i.useRef(null),M=i.useMemo(function(){return(0,b.sQ)(R,t)},[R,t]),I=i.useMemo(function(){return w.map(function(e){if("object"===(0,u.Z)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,u.Z)(e.label)){var t;return null===(t=e.label)||void 0===t?void 0:t.toString()}}(e);return(0,d.Z)((0,d.Z)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[w]),P=(0,m.Z)(null===(n=I[0])||void 0===n?void 0:n.value,{value:E,defaultValue:k}),z=(0,r.Z)(P,2),B=z[0],A=z[1],q=i.useState(!1),D=(0,r.Z)(q,2),V=D[0],X=D[1],L=function(e,t){O||(A(t),null==x||x(t))},W=(0,f.Z)(H,["children"]);return i.createElement("div",(0,l.Z)({},W,{className:a()(v,(o={},(0,c.Z)(o,"".concat(v,"-rtl"),"rtl"===h),(0,c.Z)(o,"".concat(v,"-disabled"),O),o),j),ref:M}),i.createElement("div",{className:"".concat(v,"-group")},i.createElement($,{prefixCls:v,value:B,containerRef:R,motionName:"".concat(v,"-").concat(N),direction:h,getValueIndex:function(e){return I.findIndex(function(t){return t.value===e})},onMotionStart:function(){X(!0)},onMotionEnd:function(){X(!1)}}),I.map(function(e){return i.createElement(C,(0,l.Z)({},e,{key:e.value,prefixCls:v,className:a()(e.className,"".concat(v,"-item"),(0,c.Z)({},"".concat(v,"-item-selected"),e.value===B&&!V)),checked:e.value===B,onChange:L,disabled:!!O||!!e.disabled}))})))}),O=n(63346),k=n(82014),E=n(38083),x=n(60848),Z=n(90102),j=n(74934);function y(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function N(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}let H=Object.assign({overflow:"hidden"},x.vS),R=e=>{let{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),i=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,x.Wf)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},N(e)),{color:e.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,E.bf)(n),padding:`0 ${(0,E.bf)(e.segmentedPaddingHorizontal)}`},H),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},N(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,E.bf)(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:i,lineHeight:(0,E.bf)(i),padding:`0 ${(0,E.bf)(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:o,lineHeight:(0,E.bf)(o),padding:`0 ${(0,E.bf)(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),y(`&-disabled ${t}-item`,e)),y(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}};var M=(0,Z.I$)("Segmented",e=>{let{lineWidth:t,calc:n}=e,i=(0,j.IX)(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()});return[R(i)]},e=>{let{colorTextLabel:t,colorText:n,colorFillSecondary:i,colorBgElevated:o,colorFill:a,lineWidthBold:l,colorBgLayout:r}=e;return{trackPadding:l,trackBg:r,itemColor:t,itemHoverColor:n,itemHoverBg:i,itemSelectedBg:o,itemActiveBg:a,itemSelectedColor:n}}),I=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};let P=i.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:l,block:r,options:s=[],size:c="middle",style:d}=e,u=I(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:m,direction:b,segmented:f}=i.useContext(O.E_),g=m("segmented",n),[v,h,p]=M(g),$=(0,k.Z)(c),S=i.useMemo(()=>s.map(e=>{if("object"==typeof e&&(null==e?void 0:e.icon)){let{icon:t,label:n}=e,o=I(e,["icon","label"]);return Object.assign(Object.assign({},o),{label:i.createElement(i.Fragment,null,i.createElement("span",{className:`${g}-item-icon`},t),n&&i.createElement("span",null,n))})}return e}),[s,g]),C=a()(o,l,null==f?void 0:f.className,{[`${g}-block`]:r,[`${g}-sm`]:"small"===$,[`${g}-lg`]:"large"===$},h,p),E=Object.assign(Object.assign({},null==f?void 0:f.style),d);return v(i.createElement(w,Object.assign({},u,{className:C,style:E,options:S,ref:t,prefixCls:g,direction:b})))});var z=P}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5677-367b58b297eff6ff.js b/dbgpt/app/static/web/_next/static/chunks/5677-0e98c5765d8153c3.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/5677-367b58b297eff6ff.js rename to dbgpt/app/static/web/_next/static/chunks/5677-0e98c5765d8153c3.js diff --git a/dbgpt/app/static/web/_next/static/chunks/5722-9643b929208dc95c.js b/dbgpt/app/static/web/_next/static/chunks/5722-19de18c530a6eb5a.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/5722-9643b929208dc95c.js rename to dbgpt/app/static/web/_next/static/chunks/5722-19de18c530a6eb5a.js index fbe2a8b68..44dc4d420 100644 --- a/dbgpt/app/static/web/_next/static/chunks/5722-9643b929208dc95c.js +++ b/dbgpt/app/static/web/_next/static/chunks/5722-19de18c530a6eb5a.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5722],{52896:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(42096),o=t(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},l=t(75651),u=o.forwardRef(function(e,n){return o.createElement(l.Z,(0,r.Z)({},e,{ref:n,icon:i}))})},195:function(e,n,t){t.d(n,{Z:function(){return C}});var r=t(42096),o=t(65148),i=t(65347),l=t(10921),u=t(92361),a=t(26869),c=t.n(a),s=t(7544),f=t(38497),d=t(16956),p=t(25043),v=d.Z.ESC,m=d.Z.TAB,b=(0,f.forwardRef)(function(e,n){var t=e.overlay,r=e.arrow,o=e.prefixCls,i=(0,f.useMemo)(function(){return"function"==typeof t?t():t},[t]),l=(0,s.sQ)(n,null==i?void 0:i.ref);return f.createElement(f.Fragment,null,r&&f.createElement("div",{className:"".concat(o,"-arrow")}),f.cloneElement(i,{ref:(0,s.Yr)(i)?l:void 0}))}),y={adjustX:1,adjustY:1},h=[0,0],g={topLeft:{points:["bl","tl"],overflow:y,offset:[0,-4],targetOffset:h},top:{points:["bc","tc"],overflow:y,offset:[0,-4],targetOffset:h},topRight:{points:["br","tr"],overflow:y,offset:[0,-4],targetOffset:h},bottomLeft:{points:["tl","bl"],overflow:y,offset:[0,4],targetOffset:h},bottom:{points:["tc","bc"],overflow:y,offset:[0,4],targetOffset:h},bottomRight:{points:["tr","br"],overflow:y,offset:[0,4],targetOffset:h}},Z=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"],C=f.forwardRef(function(e,n){var t,a,d,y,h,C,E,w,k,R,M,N,P,S,x=e.arrow,I=void 0!==x&&x,K=e.prefixCls,O=void 0===K?"rc-dropdown":K,A=e.transitionName,T=e.animation,L=e.align,D=e.placement,_=e.placements,V=e.getPopupContainer,z=e.showAction,F=e.hideAction,j=e.overlayClassName,B=e.overlayStyle,W=e.visible,H=e.trigger,Y=void 0===H?["hover"]:H,q=e.autoFocus,X=e.overlay,G=e.children,Q=e.onVisibleChange,U=(0,l.Z)(e,Z),J=f.useState(),$=(0,i.Z)(J,2),ee=$[0],en=$[1],et="visible"in e?W:ee,er=f.useRef(null),eo=f.useRef(null),ei=f.useRef(null);f.useImperativeHandle(n,function(){return er.current});var el=function(e){en(e),null==Q||Q(e)};a=(t={visible:et,triggerRef:ei,onVisibleChange:el,autoFocus:q,overlayRef:eo}).visible,d=t.triggerRef,y=t.onVisibleChange,h=t.autoFocus,C=t.overlayRef,E=f.useRef(!1),w=function(){if(a){var e,n;null===(e=d.current)||void 0===e||null===(n=e.focus)||void 0===n||n.call(e),null==y||y(!1)}},k=function(){var e;return null!==(e=C.current)&&void 0!==e&&!!e.focus&&(C.current.focus(),E.current=!0,!0)},R=function(e){switch(e.keyCode){case v:w();break;case m:var n=!1;E.current||(n=k()),n?e.preventDefault():w()}},f.useEffect(function(){return a?(window.addEventListener("keydown",R),h&&(0,p.Z)(k,3),function(){window.removeEventListener("keydown",R),E.current=!1}):function(){E.current=!1}},[a]);var eu=function(){return f.createElement(b,{ref:eo,overlay:X,prefixCls:O,arrow:I})},ea=f.cloneElement(G,{className:c()(null===(S=G.props)||void 0===S?void 0:S.className,et&&(void 0!==(M=e.openClassName)?M:"".concat(O,"-open"))),ref:(0,s.Yr)(G)?(0,s.sQ)(ei,G.ref):void 0}),ec=F;return ec||-1===Y.indexOf("contextMenu")||(ec=["click"]),f.createElement(u.Z,(0,r.Z)({builtinPlacements:void 0===_?g:_},U,{prefixCls:O,ref:er,popupClassName:c()(j,(0,o.Z)({},"".concat(O,"-show-arrow"),I)),popupStyle:B,action:Y,showAction:z,hideAction:ec,popupPlacement:void 0===D?"bottomLeft":D,popupAlign:L,popupTransitionName:A,popupAnimation:T,popupVisible:et,stretch:(N=e.minOverlayWidthMatchTrigger,P=e.alignPoint,"minOverlayWidthMatchTrigger"in e?N:!P)?"minWidth":"",popup:"function"==typeof X?eu:eu(),onPopupVisibleChange:el,onPopupClick:function(n){var t=e.onOverlayClick;en(!1),t&&t(n)},getPopupContainer:V}),ea)})},82843:function(e,n,t){t.d(n,{iz:function(){return eO},ck:function(){return ev},BW:function(){return eL},sN:function(){return ev},Wd:function(){return eI},ZP:function(){return ej},Xl:function(){return N}});var r=t(42096),o=t(65148),i=t(4247),l=t(72991),u=t(65347),a=t(10921),c=t(26869),s=t.n(c),f=t(66979),d=t(77757),p=t(9671),v=t(89842),m=t(38497),b=t(2060),y=m.createContext(null);function h(e,n){return void 0===e?null:"".concat(e,"-").concat(n)}function g(e){return h(m.useContext(y),e)}var Z=t(38263),C=["children","locked"],E=m.createContext(null);function w(e){var n=e.children,t=e.locked,r=(0,a.Z)(e,C),o=m.useContext(E),l=(0,Z.Z)(function(){var e;return e=(0,i.Z)({},o),Object.keys(r).forEach(function(n){var t=r[n];void 0!==t&&(e[n]=t)}),e},[o,r],function(e,n){return!t&&(e[0]!==n[0]||!(0,p.Z)(e[1],n[1],!0))});return m.createElement(E.Provider,{value:l},n)}var k=m.createContext(null);function R(){return m.useContext(k)}var M=m.createContext([]);function N(e){var n=m.useContext(M);return m.useMemo(function(){return void 0!==e?[].concat((0,l.Z)(n),[e]):n},[n,e])}var P=m.createContext(null),S=m.createContext({}),x=t(62143);function I(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,x.Z)(e)){var t=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(t)||e.isContentEditable||"a"===t&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),l=null;return o&&!Number.isNaN(i)?l=i:r&&null===l&&(l=0),r&&e.disabled&&(l=null),null!==l&&(l>=0||n&&l<0)}return!1}var K=t(16956),O=t(25043),A=K.Z.LEFT,T=K.Z.RIGHT,L=K.Z.UP,D=K.Z.DOWN,_=K.Z.ENTER,V=K.Z.ESC,z=K.Z.HOME,F=K.Z.END,j=[L,D,A,T];function B(e,n){return(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=(0,l.Z)(e.querySelectorAll("*")).filter(function(e){return I(e,n)});return I(e,n)&&t.unshift(e),t})(e,!0).filter(function(e){return n.has(e)})}function W(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=B(e,n),i=o.length,l=o.findIndex(function(e){return t===e});return r<0?-1===l?l=i-1:l-=1:r>0&&(l+=1),o[l=(l+i)%i]}var H=function(e,n){var t=new Set,r=new Map,o=new Map;return e.forEach(function(e){var i=document.querySelector("[data-menu-id='".concat(h(n,e),"']"));i&&(t.add(i),o.set(i,e),r.set(e,i))}),{elements:t,key2element:r,element2key:o}},Y="__RC_UTIL_PATH_SPLIT__",q=function(e){return e.join(Y)},X="rc-menu-more";function G(e){var n=m.useRef(e);n.current=e;var t=m.useCallback(function(){for(var e,t=arguments.length,r=Array(t),o=0;o1&&(k.motionAppear=!1);var R=k.onVisibleChanged;return(k.onVisibleChanged=function(e){return b.current||e||Z(!0),null==R?void 0:R(e)},g)?null:m.createElement(w,{mode:a,locked:!b.current},m.createElement(eM.ZP,(0,r.Z)({visible:C},k,{forceRender:f,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(e){var t=e.className,r=e.style;return m.createElement(eb,{id:n,className:t,style:r},l)}))}var eP=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],eS=["active"],ex=m.forwardRef(function(e,n){var t,l=e.style,c=e.className,d=e.title,p=e.eventKey,v=(e.warnKey,e.disabled),b=e.internalPopupClose,y=e.children,h=e.itemIcon,Z=e.expandIcon,C=e.popupClassName,k=e.popupOffset,R=e.popupStyle,M=e.onClick,x=e.onMouseEnter,I=e.onMouseLeave,K=e.onTitleClick,O=e.onTitleMouseEnter,A=e.onTitleMouseLeave,T=(0,a.Z)(e,eP),L=g(p),D=m.useContext(E),_=D.prefixCls,V=D.mode,z=D.openKeys,F=D.disabled,j=D.overflowDisabled,B=D.activeKey,W=D.selectedKeys,H=D.itemIcon,Y=D.expandIcon,q=D.onItemClick,X=D.onOpenChange,Q=D.onActive,U=m.useContext(S)._internalRenderSubMenuItem,J=m.useContext(P).isSubPathKey,$=N(),ee="".concat(_,"-submenu"),en=F||v,et=m.useRef(),er=m.useRef(),eu=null!=Z?Z:Y,ec=z.includes(p),es=!j&&ec,ef=J(W,p),ed=eo(p,en,O,A),ep=ed.active,ev=(0,a.Z)(ed,eS),em=m.useState(!1),ey=(0,u.Z)(em,2),eh=ey[0],eg=ey[1],eZ=function(e){en||eg(e)},eC=m.useMemo(function(){return ep||"inline"!==V&&(eh||J([B],p))},[V,ep,B,eh,p,J]),eE=ei($.length),ew=G(function(e){null==M||M(ea(e)),q(e)}),ek=L&&"".concat(L,"-popup"),eM=m.createElement("div",(0,r.Z)({role:"menuitem",style:eE,className:"".concat(ee,"-title"),tabIndex:en?null:-1,ref:et,title:"string"==typeof d?d:null,"data-menu-id":j&&L?null:L,"aria-expanded":es,"aria-haspopup":!0,"aria-controls":ek,"aria-disabled":en,onClick:function(e){en||(null==K||K({key:p,domEvent:e}),"inline"===V&&X(p,!ec))},onFocus:function(){Q(p)}},ev),d,m.createElement(el,{icon:"horizontal"!==V?eu:void 0,props:(0,i.Z)((0,i.Z)({},e),{},{isOpen:es,isSubMenu:!0})},m.createElement("i",{className:"".concat(ee,"-arrow")}))),ex=m.useRef(V);if("inline"!==V&&$.length>1?ex.current="vertical":ex.current=V,!j){var eI=ex.current;eM=m.createElement(eR,{mode:eI,prefixCls:ee,visible:!b&&es&&"inline"!==V,popupClassName:C,popupOffset:k,popupStyle:R,popup:m.createElement(w,{mode:"horizontal"===eI?"vertical":eI},m.createElement(eb,{id:ek,ref:er},y)),disabled:en,onVisibleChange:function(e){"inline"!==V&&X(p,e)}},eM)}var eK=m.createElement(f.Z.Item,(0,r.Z)({ref:n,role:"none"},T,{component:"li",style:l,className:s()(ee,"".concat(ee,"-").concat(V),c,(t={},(0,o.Z)(t,"".concat(ee,"-open"),es),(0,o.Z)(t,"".concat(ee,"-active"),eC),(0,o.Z)(t,"".concat(ee,"-selected"),ef),(0,o.Z)(t,"".concat(ee,"-disabled"),en),t)),onMouseEnter:function(e){eZ(!0),null==x||x({key:p,domEvent:e})},onMouseLeave:function(e){eZ(!1),null==I||I({key:p,domEvent:e})}}),eM,!j&&m.createElement(eN,{id:ek,open:es,keyPath:$},y));return U&&(eK=U(eK,e,{selected:ef,active:eC,open:es,disabled:en})),m.createElement(w,{onItemClick:ew,mode:"horizontal"===V?"vertical":V,itemIcon:null!=h?h:H,expandIcon:eu},eK)}),eI=m.forwardRef(function(e,n){var t,o=e.eventKey,i=e.children,l=N(o),u=eh(i,l),a=R();return m.useEffect(function(){if(a)return a.registerPath(o,l),function(){a.unregisterPath(o,l)}},[l]),t=a?u:m.createElement(ex,(0,r.Z)({ref:n},e),u),m.createElement(M.Provider,{value:l},t)}),eK=t(14433);function eO(e){var n=e.className,t=e.style,r=m.useContext(E).prefixCls;return R()?null:m.createElement("li",{role:"separator",className:s()("".concat(r,"-item-divider"),n),style:t})}var eA=["className","title","eventKey","children"],eT=m.forwardRef(function(e,n){var t=e.className,o=e.title,i=(e.eventKey,e.children),l=(0,a.Z)(e,eA),u=m.useContext(E).prefixCls,c="".concat(u,"-item-group");return m.createElement("li",(0,r.Z)({ref:n,role:"presentation"},l,{onClick:function(e){return e.stopPropagation()},className:s()(c,t)}),m.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:"string"==typeof o?o:void 0},o),m.createElement("ul",{role:"group",className:"".concat(c,"-list")},i))}),eL=m.forwardRef(function(e,n){var t=e.eventKey,o=eh(e.children,N(t));return R()?o:m.createElement(eT,(0,r.Z)({ref:n},(0,et.Z)(e,["warnKey"])),o)}),eD=["label","children","key","type"];function e_(e,n,t,o){var l=e,u=(0,i.Z)({divider:eO,item:ev,group:eL,submenu:eI},o);return n&&(l=function e(n,t){var o=t.item,i=t.group,l=t.submenu,u=t.divider;return(n||[]).map(function(n,c){if(n&&"object"===(0,eK.Z)(n)){var s=n.label,f=n.children,d=n.key,p=n.type,v=(0,a.Z)(n,eD),b=null!=d?d:"tmp-".concat(c);return f||"group"===p?"group"===p?m.createElement(i,(0,r.Z)({key:b},v,{title:s}),e(f,t)):m.createElement(l,(0,r.Z)({key:b},v,{title:s}),e(f,t)):"divider"===p?m.createElement(u,(0,r.Z)({key:b},v)):m.createElement(o,(0,r.Z)({key:b},v),s)}return null}).filter(function(e){return e})}(n,u)),eh(l,t)}var eV=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],ez=[],eF=m.forwardRef(function(e,n){var t,c,v,h,g,Z,C,E,R,M,N,x,I,K,J,$,ee,en,et,er,eo,ei,el,eu,ec,es,ef,ed=e.prefixCls,ep=void 0===ed?"rc-menu":ed,em=e.rootClassName,eb=e.style,ey=e.className,eh=e.tabIndex,eg=e.items,eZ=e.children,eC=e.direction,eE=e.id,ew=e.mode,ek=void 0===ew?"vertical":ew,eR=e.inlineCollapsed,eM=e.disabled,eN=e.disabledOverflow,eP=e.subMenuOpenDelay,eS=e.subMenuCloseDelay,ex=e.forceSubMenuRender,eK=e.defaultOpenKeys,eO=e.openKeys,eA=e.activeKey,eT=e.defaultActiveFirst,eL=e.selectable,eD=void 0===eL||eL,eF=e.multiple,ej=void 0!==eF&&eF,eB=e.defaultSelectedKeys,eW=e.selectedKeys,eH=e.onSelect,eY=e.onDeselect,eq=e.inlineIndent,eX=e.motion,eG=e.defaultMotions,eQ=e.triggerSubMenuAction,eU=e.builtinPlacements,eJ=e.itemIcon,e$=e.expandIcon,e0=e.overflowedIndicator,e1=void 0===e0?"...":e0,e2=e.overflowedIndicatorPopupClassName,e6=e.getPopupContainer,e5=e.onClick,e4=e.onOpenChange,e9=e.onKeyDown,e3=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),e7=e._internalRenderSubMenuItem,e8=e._internalComponents,ne=(0,a.Z)(e,eV),nn=m.useMemo(function(){return[e_(eZ,eg,ez,e8),e_(eZ,eg,ez,{})]},[eZ,eg,e8]),nt=(0,u.Z)(nn,2),nr=nt[0],no=nt[1],ni=m.useState(!1),nl=(0,u.Z)(ni,2),nu=nl[0],na=nl[1],nc=m.useRef(),ns=(t=(0,d.Z)(eE,{value:eE}),v=(c=(0,u.Z)(t,2))[0],h=c[1],m.useEffect(function(){U+=1;var e="".concat(Q,"-").concat(U);h("rc-menu-uuid-".concat(e))},[]),v),nf="rtl"===eC,nd=(0,d.Z)(eK,{value:eO,postState:function(e){return e||ez}}),np=(0,u.Z)(nd,2),nv=np[0],nm=np[1],nb=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function t(){nm(e),null==e4||e4(e)}n?(0,b.flushSync)(t):t()},ny=m.useState(nv),nh=(0,u.Z)(ny,2),ng=nh[0],nZ=nh[1],nC=m.useRef(!1),nE=m.useMemo(function(){return("inline"===ek||"vertical"===ek)&&eR?["vertical",eR]:[ek,!1]},[ek,eR]),nw=(0,u.Z)(nE,2),nk=nw[0],nR=nw[1],nM="inline"===nk,nN=m.useState(nk),nP=(0,u.Z)(nN,2),nS=nP[0],nx=nP[1],nI=m.useState(nR),nK=(0,u.Z)(nI,2),nO=nK[0],nA=nK[1];m.useEffect(function(){nx(nk),nA(nR),nC.current&&(nM?nm(ng):nb(ez))},[nk,nR]);var nT=m.useState(0),nL=(0,u.Z)(nT,2),nD=nL[0],n_=nL[1],nV=nD>=nr.length-1||"horizontal"!==nS||eN;m.useEffect(function(){nM&&nZ(nv)},[nv]),m.useEffect(function(){return nC.current=!0,function(){nC.current=!1}},[]);var nz=(g=m.useState({}),Z=(0,u.Z)(g,2)[1],C=(0,m.useRef)(new Map),E=(0,m.useRef)(new Map),R=m.useState([]),N=(M=(0,u.Z)(R,2))[0],x=M[1],I=(0,m.useRef)(0),K=(0,m.useRef)(!1),J=function(){K.current||Z({})},$=(0,m.useCallback)(function(e,n){var t=q(n);E.current.set(t,e),C.current.set(e,t),I.current+=1;var r=I.current;Promise.resolve().then(function(){r===I.current&&J()})},[]),ee=(0,m.useCallback)(function(e,n){var t=q(n);E.current.delete(t),C.current.delete(e)},[]),en=(0,m.useCallback)(function(e){x(e)},[]),et=(0,m.useCallback)(function(e,n){var t=(C.current.get(e)||"").split(Y);return n&&N.includes(t[0])&&t.unshift(X),t},[N]),er=(0,m.useCallback)(function(e,n){return e.filter(function(e){return void 0!==e}).some(function(e){return et(e,!0).includes(n)})},[et]),eo=(0,m.useCallback)(function(e){var n="".concat(C.current.get(e)).concat(Y),t=new Set;return(0,l.Z)(E.current.keys()).forEach(function(e){e.startsWith(n)&&t.add(E.current.get(e))}),t},[]),m.useEffect(function(){return function(){K.current=!0}},[]),{registerPath:$,unregisterPath:ee,refreshOverflowKeys:en,isSubPathKey:er,getKeyPath:et,getKeys:function(){var e=(0,l.Z)(C.current.keys());return N.length&&e.push(X),e},getSubPathKeys:eo}),nF=nz.registerPath,nj=nz.unregisterPath,nB=nz.refreshOverflowKeys,nW=nz.isSubPathKey,nH=nz.getKeyPath,nY=nz.getKeys,nq=nz.getSubPathKeys,nX=m.useMemo(function(){return{registerPath:nF,unregisterPath:nj}},[nF,nj]),nG=m.useMemo(function(){return{isSubPathKey:nW}},[nW]);m.useEffect(function(){nB(nV?ez:nr.slice(nD+1).map(function(e){return e.key}))},[nD,nV]);var nQ=(0,d.Z)(eA||eT&&(null===(es=nr[0])||void 0===es?void 0:es.key),{value:eA}),nU=(0,u.Z)(nQ,2),nJ=nU[0],n$=nU[1],n0=G(function(e){n$(e)}),n1=G(function(){n$(void 0)});(0,m.useImperativeHandle)(n,function(){return{list:nc.current,focus:function(e){var n,t,r=H(nY(),ns),o=r.elements,i=r.key2element,l=r.element2key,u=B(nc.current,o),a=null!=nJ?nJ:u[0]?l.get(u[0]):null===(n=nr.find(function(e){return!e.props.disabled}))||void 0===n?void 0:n.key,c=i.get(a);a&&c&&(null==c||null===(t=c.focus)||void 0===t||t.call(c,e))}}});var n2=(0,d.Z)(eB||[],{value:eW,postState:function(e){return Array.isArray(e)?e:null==e?ez:[e]}}),n6=(0,u.Z)(n2,2),n5=n6[0],n4=n6[1],n9=function(e){if(eD){var n,t=e.key,r=n5.includes(t);n4(n=ej?r?n5.filter(function(e){return e!==t}):[].concat((0,l.Z)(n5),[t]):[t]);var o=(0,i.Z)((0,i.Z)({},e),{},{selectedKeys:n});r?null==eY||eY(o):null==eH||eH(o)}!ej&&nv.length&&"inline"!==nS&&nb(ez)},n3=G(function(e){null==e5||e5(ea(e)),n9(e)}),n7=G(function(e,n){var t=nv.filter(function(n){return n!==e});if(n)t.push(e);else if("inline"!==nS){var r=nq(e);t=t.filter(function(e){return!r.has(e)})}(0,p.Z)(nv,t,!0)||nb(t,!0)}),n8=(ei=function(e,n){var t=null!=n?n:!nv.includes(e);n7(e,t)},el=m.useRef(),(eu=m.useRef()).current=nJ,ec=function(){O.Z.cancel(el.current)},m.useEffect(function(){return function(){ec()}},[]),function(e){var n=e.which;if([].concat(j,[_,V,z,F]).includes(n)){var t=nY(),r=H(t,ns),i=r,l=i.elements,u=i.key2element,a=i.element2key,c=function(e,n){for(var t=e||document.activeElement;t;){if(n.has(t))return t;t=t.parentElement}return null}(u.get(nJ),l),s=a.get(c),f=function(e,n,t,r){var i,l,u,a,c="prev",s="next",f="children",d="parent";if("inline"===e&&r===_)return{inlineTrigger:!0};var p=(i={},(0,o.Z)(i,L,c),(0,o.Z)(i,D,s),i),v=(l={},(0,o.Z)(l,A,t?s:c),(0,o.Z)(l,T,t?c:s),(0,o.Z)(l,D,f),(0,o.Z)(l,_,f),l),m=(u={},(0,o.Z)(u,L,c),(0,o.Z)(u,D,s),(0,o.Z)(u,_,f),(0,o.Z)(u,V,d),(0,o.Z)(u,A,t?f:d),(0,o.Z)(u,T,t?d:f),u);switch(null===(a=({inline:p,horizontal:v,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m})["".concat(e).concat(n?"":"Sub")])||void 0===a?void 0:a[r]){case c:return{offset:-1,sibling:!0};case s:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}(nS,1===nH(s,!0).length,nf,n);if(!f&&n!==z&&n!==F)return;(j.includes(n)||[z,F].includes(n))&&e.preventDefault();var d=function(e){if(e){var n=e,t=e.querySelector("a");null!=t&&t.getAttribute("href")&&(n=t);var r=a.get(e);n$(r),ec(),el.current=(0,O.Z)(function(){eu.current===r&&n.focus()})}};if([z,F].includes(n)||f.sibling||!c){var p,v=B(p=c&&"inline"!==nS?function(e){for(var n=e;n;){if(n.getAttribute("data-menu-list"))return n;n=n.parentElement}return null}(c):nc.current,l);d(n===z?v[0]:n===F?v[v.length-1]:W(p,l,c,f.offset))}else if(f.inlineTrigger)ei(s);else if(f.offset>0)ei(s,!0),ec(),el.current=(0,O.Z)(function(){r=H(t,ns);var e=c.getAttribute("aria-controls");d(W(document.getElementById(e),r.elements))},5);else if(f.offset<0){var m=nH(s,!0),b=m[m.length-2],y=u.get(b);ei(b,!1),d(y)}}null==e9||e9(e)});m.useEffect(function(){na(!0)},[]);var te=m.useMemo(function(){return{_internalRenderMenuItem:e3,_internalRenderSubMenuItem:e7}},[e3,e7]),tn="horizontal"!==nS||eN?nr:nr.map(function(e,n){return m.createElement(w,{key:e.key,overflowDisabled:n>nD},e)}),tt=m.createElement(f.Z,(0,r.Z)({id:eE,ref:nc,prefixCls:"".concat(ep,"-overflow"),component:"ul",itemComponent:ev,className:s()(ep,"".concat(ep,"-root"),"".concat(ep,"-").concat(nS),ey,(ef={},(0,o.Z)(ef,"".concat(ep,"-inline-collapsed"),nO),(0,o.Z)(ef,"".concat(ep,"-rtl"),nf),ef),em),dir:eC,style:eb,role:"menu",tabIndex:void 0===eh?0:eh,data:tn,renderRawItem:function(e){return e},renderRawRest:function(e){var n=e.length,t=n?nr.slice(-n):null;return m.createElement(eI,{eventKey:X,title:e1,disabled:nV,internalPopupClose:0===n,popupClassName:e2},t)},maxCount:"horizontal"!==nS||eN?f.Z.INVALIDATE:f.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){n_(e)},onKeyDown:n8},ne));return m.createElement(S.Provider,{value:te},m.createElement(y.Provider,{value:ns},m.createElement(w,{prefixCls:ep,rootClassName:em,mode:nS,openKeys:nv,rtl:nf,disabled:eM,motion:nu?eX:null,defaultMotions:nu?eG:null,activeKey:nJ,onActive:n0,onInactive:n1,selectedKeys:n5,inlineIndent:void 0===eq?24:eq,subMenuOpenDelay:void 0===eP?.1:eP,subMenuCloseDelay:void 0===eS?.1:eS,forceSubMenuRender:ex,builtinPlacements:eU,triggerSubMenuAction:void 0===eQ?"hover":eQ,getPopupContainer:e6,itemIcon:eJ,expandIcon:e$,onItemClick:n3,onOpenChange:n7},m.createElement(P.Provider,{value:nG},tt),m.createElement("div",{style:{display:"none"},"aria-hidden":!0},m.createElement(k.Provider,{value:nX},no)))))});eF.Item=ev,eF.SubMenu=eI,eF.ItemGroup=eL,eF.Divider=eO;var ej=eF}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5722],{52896:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(42096),o=t(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},l=t(55032),u=o.forwardRef(function(e,n){return o.createElement(l.Z,(0,r.Z)({},e,{ref:n,icon:i}))})},195:function(e,n,t){t.d(n,{Z:function(){return C}});var r=t(42096),o=t(65148),i=t(65347),l=t(10921),u=t(92361),a=t(26869),c=t.n(a),s=t(7544),f=t(38497),d=t(16956),p=t(25043),v=d.Z.ESC,m=d.Z.TAB,b=(0,f.forwardRef)(function(e,n){var t=e.overlay,r=e.arrow,o=e.prefixCls,i=(0,f.useMemo)(function(){return"function"==typeof t?t():t},[t]),l=(0,s.sQ)(n,null==i?void 0:i.ref);return f.createElement(f.Fragment,null,r&&f.createElement("div",{className:"".concat(o,"-arrow")}),f.cloneElement(i,{ref:(0,s.Yr)(i)?l:void 0}))}),y={adjustX:1,adjustY:1},h=[0,0],g={topLeft:{points:["bl","tl"],overflow:y,offset:[0,-4],targetOffset:h},top:{points:["bc","tc"],overflow:y,offset:[0,-4],targetOffset:h},topRight:{points:["br","tr"],overflow:y,offset:[0,-4],targetOffset:h},bottomLeft:{points:["tl","bl"],overflow:y,offset:[0,4],targetOffset:h},bottom:{points:["tc","bc"],overflow:y,offset:[0,4],targetOffset:h},bottomRight:{points:["tr","br"],overflow:y,offset:[0,4],targetOffset:h}},Z=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"],C=f.forwardRef(function(e,n){var t,a,d,y,h,C,E,w,k,R,M,N,P,S,x=e.arrow,I=void 0!==x&&x,K=e.prefixCls,O=void 0===K?"rc-dropdown":K,A=e.transitionName,T=e.animation,L=e.align,D=e.placement,_=e.placements,V=e.getPopupContainer,z=e.showAction,F=e.hideAction,j=e.overlayClassName,B=e.overlayStyle,W=e.visible,H=e.trigger,Y=void 0===H?["hover"]:H,q=e.autoFocus,X=e.overlay,G=e.children,Q=e.onVisibleChange,U=(0,l.Z)(e,Z),J=f.useState(),$=(0,i.Z)(J,2),ee=$[0],en=$[1],et="visible"in e?W:ee,er=f.useRef(null),eo=f.useRef(null),ei=f.useRef(null);f.useImperativeHandle(n,function(){return er.current});var el=function(e){en(e),null==Q||Q(e)};a=(t={visible:et,triggerRef:ei,onVisibleChange:el,autoFocus:q,overlayRef:eo}).visible,d=t.triggerRef,y=t.onVisibleChange,h=t.autoFocus,C=t.overlayRef,E=f.useRef(!1),w=function(){if(a){var e,n;null===(e=d.current)||void 0===e||null===(n=e.focus)||void 0===n||n.call(e),null==y||y(!1)}},k=function(){var e;return null!==(e=C.current)&&void 0!==e&&!!e.focus&&(C.current.focus(),E.current=!0,!0)},R=function(e){switch(e.keyCode){case v:w();break;case m:var n=!1;E.current||(n=k()),n?e.preventDefault():w()}},f.useEffect(function(){return a?(window.addEventListener("keydown",R),h&&(0,p.Z)(k,3),function(){window.removeEventListener("keydown",R),E.current=!1}):function(){E.current=!1}},[a]);var eu=function(){return f.createElement(b,{ref:eo,overlay:X,prefixCls:O,arrow:I})},ea=f.cloneElement(G,{className:c()(null===(S=G.props)||void 0===S?void 0:S.className,et&&(void 0!==(M=e.openClassName)?M:"".concat(O,"-open"))),ref:(0,s.Yr)(G)?(0,s.sQ)(ei,G.ref):void 0}),ec=F;return ec||-1===Y.indexOf("contextMenu")||(ec=["click"]),f.createElement(u.Z,(0,r.Z)({builtinPlacements:void 0===_?g:_},U,{prefixCls:O,ref:er,popupClassName:c()(j,(0,o.Z)({},"".concat(O,"-show-arrow"),I)),popupStyle:B,action:Y,showAction:z,hideAction:ec,popupPlacement:void 0===D?"bottomLeft":D,popupAlign:L,popupTransitionName:A,popupAnimation:T,popupVisible:et,stretch:(N=e.minOverlayWidthMatchTrigger,P=e.alignPoint,"minOverlayWidthMatchTrigger"in e?N:!P)?"minWidth":"",popup:"function"==typeof X?eu:eu(),onPopupVisibleChange:el,onPopupClick:function(n){var t=e.onOverlayClick;en(!1),t&&t(n)},getPopupContainer:V}),ea)})},82843:function(e,n,t){t.d(n,{iz:function(){return eO},ck:function(){return ev},BW:function(){return eL},sN:function(){return ev},Wd:function(){return eI},ZP:function(){return ej},Xl:function(){return N}});var r=t(42096),o=t(65148),i=t(4247),l=t(72991),u=t(65347),a=t(10921),c=t(26869),s=t.n(c),f=t(66979),d=t(77757),p=t(9671),v=t(89842),m=t(38497),b=t(2060),y=m.createContext(null);function h(e,n){return void 0===e?null:"".concat(e,"-").concat(n)}function g(e){return h(m.useContext(y),e)}var Z=t(38263),C=["children","locked"],E=m.createContext(null);function w(e){var n=e.children,t=e.locked,r=(0,a.Z)(e,C),o=m.useContext(E),l=(0,Z.Z)(function(){var e;return e=(0,i.Z)({},o),Object.keys(r).forEach(function(n){var t=r[n];void 0!==t&&(e[n]=t)}),e},[o,r],function(e,n){return!t&&(e[0]!==n[0]||!(0,p.Z)(e[1],n[1],!0))});return m.createElement(E.Provider,{value:l},n)}var k=m.createContext(null);function R(){return m.useContext(k)}var M=m.createContext([]);function N(e){var n=m.useContext(M);return m.useMemo(function(){return void 0!==e?[].concat((0,l.Z)(n),[e]):n},[n,e])}var P=m.createContext(null),S=m.createContext({}),x=t(62143);function I(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,x.Z)(e)){var t=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(t)||e.isContentEditable||"a"===t&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),l=null;return o&&!Number.isNaN(i)?l=i:r&&null===l&&(l=0),r&&e.disabled&&(l=null),null!==l&&(l>=0||n&&l<0)}return!1}var K=t(16956),O=t(25043),A=K.Z.LEFT,T=K.Z.RIGHT,L=K.Z.UP,D=K.Z.DOWN,_=K.Z.ENTER,V=K.Z.ESC,z=K.Z.HOME,F=K.Z.END,j=[L,D,A,T];function B(e,n){return(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=(0,l.Z)(e.querySelectorAll("*")).filter(function(e){return I(e,n)});return I(e,n)&&t.unshift(e),t})(e,!0).filter(function(e){return n.has(e)})}function W(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=B(e,n),i=o.length,l=o.findIndex(function(e){return t===e});return r<0?-1===l?l=i-1:l-=1:r>0&&(l+=1),o[l=(l+i)%i]}var H=function(e,n){var t=new Set,r=new Map,o=new Map;return e.forEach(function(e){var i=document.querySelector("[data-menu-id='".concat(h(n,e),"']"));i&&(t.add(i),o.set(i,e),r.set(e,i))}),{elements:t,key2element:r,element2key:o}},Y="__RC_UTIL_PATH_SPLIT__",q=function(e){return e.join(Y)},X="rc-menu-more";function G(e){var n=m.useRef(e);n.current=e;var t=m.useCallback(function(){for(var e,t=arguments.length,r=Array(t),o=0;o1&&(k.motionAppear=!1);var R=k.onVisibleChanged;return(k.onVisibleChanged=function(e){return b.current||e||Z(!0),null==R?void 0:R(e)},g)?null:m.createElement(w,{mode:a,locked:!b.current},m.createElement(eM.ZP,(0,r.Z)({visible:C},k,{forceRender:f,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(e){var t=e.className,r=e.style;return m.createElement(eb,{id:n,className:t,style:r},l)}))}var eP=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],eS=["active"],ex=m.forwardRef(function(e,n){var t,l=e.style,c=e.className,d=e.title,p=e.eventKey,v=(e.warnKey,e.disabled),b=e.internalPopupClose,y=e.children,h=e.itemIcon,Z=e.expandIcon,C=e.popupClassName,k=e.popupOffset,R=e.popupStyle,M=e.onClick,x=e.onMouseEnter,I=e.onMouseLeave,K=e.onTitleClick,O=e.onTitleMouseEnter,A=e.onTitleMouseLeave,T=(0,a.Z)(e,eP),L=g(p),D=m.useContext(E),_=D.prefixCls,V=D.mode,z=D.openKeys,F=D.disabled,j=D.overflowDisabled,B=D.activeKey,W=D.selectedKeys,H=D.itemIcon,Y=D.expandIcon,q=D.onItemClick,X=D.onOpenChange,Q=D.onActive,U=m.useContext(S)._internalRenderSubMenuItem,J=m.useContext(P).isSubPathKey,$=N(),ee="".concat(_,"-submenu"),en=F||v,et=m.useRef(),er=m.useRef(),eu=null!=Z?Z:Y,ec=z.includes(p),es=!j&&ec,ef=J(W,p),ed=eo(p,en,O,A),ep=ed.active,ev=(0,a.Z)(ed,eS),em=m.useState(!1),ey=(0,u.Z)(em,2),eh=ey[0],eg=ey[1],eZ=function(e){en||eg(e)},eC=m.useMemo(function(){return ep||"inline"!==V&&(eh||J([B],p))},[V,ep,B,eh,p,J]),eE=ei($.length),ew=G(function(e){null==M||M(ea(e)),q(e)}),ek=L&&"".concat(L,"-popup"),eM=m.createElement("div",(0,r.Z)({role:"menuitem",style:eE,className:"".concat(ee,"-title"),tabIndex:en?null:-1,ref:et,title:"string"==typeof d?d:null,"data-menu-id":j&&L?null:L,"aria-expanded":es,"aria-haspopup":!0,"aria-controls":ek,"aria-disabled":en,onClick:function(e){en||(null==K||K({key:p,domEvent:e}),"inline"===V&&X(p,!ec))},onFocus:function(){Q(p)}},ev),d,m.createElement(el,{icon:"horizontal"!==V?eu:void 0,props:(0,i.Z)((0,i.Z)({},e),{},{isOpen:es,isSubMenu:!0})},m.createElement("i",{className:"".concat(ee,"-arrow")}))),ex=m.useRef(V);if("inline"!==V&&$.length>1?ex.current="vertical":ex.current=V,!j){var eI=ex.current;eM=m.createElement(eR,{mode:eI,prefixCls:ee,visible:!b&&es&&"inline"!==V,popupClassName:C,popupOffset:k,popupStyle:R,popup:m.createElement(w,{mode:"horizontal"===eI?"vertical":eI},m.createElement(eb,{id:ek,ref:er},y)),disabled:en,onVisibleChange:function(e){"inline"!==V&&X(p,e)}},eM)}var eK=m.createElement(f.Z.Item,(0,r.Z)({ref:n,role:"none"},T,{component:"li",style:l,className:s()(ee,"".concat(ee,"-").concat(V),c,(t={},(0,o.Z)(t,"".concat(ee,"-open"),es),(0,o.Z)(t,"".concat(ee,"-active"),eC),(0,o.Z)(t,"".concat(ee,"-selected"),ef),(0,o.Z)(t,"".concat(ee,"-disabled"),en),t)),onMouseEnter:function(e){eZ(!0),null==x||x({key:p,domEvent:e})},onMouseLeave:function(e){eZ(!1),null==I||I({key:p,domEvent:e})}}),eM,!j&&m.createElement(eN,{id:ek,open:es,keyPath:$},y));return U&&(eK=U(eK,e,{selected:ef,active:eC,open:es,disabled:en})),m.createElement(w,{onItemClick:ew,mode:"horizontal"===V?"vertical":V,itemIcon:null!=h?h:H,expandIcon:eu},eK)}),eI=m.forwardRef(function(e,n){var t,o=e.eventKey,i=e.children,l=N(o),u=eh(i,l),a=R();return m.useEffect(function(){if(a)return a.registerPath(o,l),function(){a.unregisterPath(o,l)}},[l]),t=a?u:m.createElement(ex,(0,r.Z)({ref:n},e),u),m.createElement(M.Provider,{value:l},t)}),eK=t(14433);function eO(e){var n=e.className,t=e.style,r=m.useContext(E).prefixCls;return R()?null:m.createElement("li",{role:"separator",className:s()("".concat(r,"-item-divider"),n),style:t})}var eA=["className","title","eventKey","children"],eT=m.forwardRef(function(e,n){var t=e.className,o=e.title,i=(e.eventKey,e.children),l=(0,a.Z)(e,eA),u=m.useContext(E).prefixCls,c="".concat(u,"-item-group");return m.createElement("li",(0,r.Z)({ref:n,role:"presentation"},l,{onClick:function(e){return e.stopPropagation()},className:s()(c,t)}),m.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:"string"==typeof o?o:void 0},o),m.createElement("ul",{role:"group",className:"".concat(c,"-list")},i))}),eL=m.forwardRef(function(e,n){var t=e.eventKey,o=eh(e.children,N(t));return R()?o:m.createElement(eT,(0,r.Z)({ref:n},(0,et.Z)(e,["warnKey"])),o)}),eD=["label","children","key","type"];function e_(e,n,t,o){var l=e,u=(0,i.Z)({divider:eO,item:ev,group:eL,submenu:eI},o);return n&&(l=function e(n,t){var o=t.item,i=t.group,l=t.submenu,u=t.divider;return(n||[]).map(function(n,c){if(n&&"object"===(0,eK.Z)(n)){var s=n.label,f=n.children,d=n.key,p=n.type,v=(0,a.Z)(n,eD),b=null!=d?d:"tmp-".concat(c);return f||"group"===p?"group"===p?m.createElement(i,(0,r.Z)({key:b},v,{title:s}),e(f,t)):m.createElement(l,(0,r.Z)({key:b},v,{title:s}),e(f,t)):"divider"===p?m.createElement(u,(0,r.Z)({key:b},v)):m.createElement(o,(0,r.Z)({key:b},v),s)}return null}).filter(function(e){return e})}(n,u)),eh(l,t)}var eV=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],ez=[],eF=m.forwardRef(function(e,n){var t,c,v,h,g,Z,C,E,R,M,N,x,I,K,J,$,ee,en,et,er,eo,ei,el,eu,ec,es,ef,ed=e.prefixCls,ep=void 0===ed?"rc-menu":ed,em=e.rootClassName,eb=e.style,ey=e.className,eh=e.tabIndex,eg=e.items,eZ=e.children,eC=e.direction,eE=e.id,ew=e.mode,ek=void 0===ew?"vertical":ew,eR=e.inlineCollapsed,eM=e.disabled,eN=e.disabledOverflow,eP=e.subMenuOpenDelay,eS=e.subMenuCloseDelay,ex=e.forceSubMenuRender,eK=e.defaultOpenKeys,eO=e.openKeys,eA=e.activeKey,eT=e.defaultActiveFirst,eL=e.selectable,eD=void 0===eL||eL,eF=e.multiple,ej=void 0!==eF&&eF,eB=e.defaultSelectedKeys,eW=e.selectedKeys,eH=e.onSelect,eY=e.onDeselect,eq=e.inlineIndent,eX=e.motion,eG=e.defaultMotions,eQ=e.triggerSubMenuAction,eU=e.builtinPlacements,eJ=e.itemIcon,e$=e.expandIcon,e0=e.overflowedIndicator,e1=void 0===e0?"...":e0,e2=e.overflowedIndicatorPopupClassName,e6=e.getPopupContainer,e5=e.onClick,e4=e.onOpenChange,e9=e.onKeyDown,e3=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),e7=e._internalRenderSubMenuItem,e8=e._internalComponents,ne=(0,a.Z)(e,eV),nn=m.useMemo(function(){return[e_(eZ,eg,ez,e8),e_(eZ,eg,ez,{})]},[eZ,eg,e8]),nt=(0,u.Z)(nn,2),nr=nt[0],no=nt[1],ni=m.useState(!1),nl=(0,u.Z)(ni,2),nu=nl[0],na=nl[1],nc=m.useRef(),ns=(t=(0,d.Z)(eE,{value:eE}),v=(c=(0,u.Z)(t,2))[0],h=c[1],m.useEffect(function(){U+=1;var e="".concat(Q,"-").concat(U);h("rc-menu-uuid-".concat(e))},[]),v),nf="rtl"===eC,nd=(0,d.Z)(eK,{value:eO,postState:function(e){return e||ez}}),np=(0,u.Z)(nd,2),nv=np[0],nm=np[1],nb=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function t(){nm(e),null==e4||e4(e)}n?(0,b.flushSync)(t):t()},ny=m.useState(nv),nh=(0,u.Z)(ny,2),ng=nh[0],nZ=nh[1],nC=m.useRef(!1),nE=m.useMemo(function(){return("inline"===ek||"vertical"===ek)&&eR?["vertical",eR]:[ek,!1]},[ek,eR]),nw=(0,u.Z)(nE,2),nk=nw[0],nR=nw[1],nM="inline"===nk,nN=m.useState(nk),nP=(0,u.Z)(nN,2),nS=nP[0],nx=nP[1],nI=m.useState(nR),nK=(0,u.Z)(nI,2),nO=nK[0],nA=nK[1];m.useEffect(function(){nx(nk),nA(nR),nC.current&&(nM?nm(ng):nb(ez))},[nk,nR]);var nT=m.useState(0),nL=(0,u.Z)(nT,2),nD=nL[0],n_=nL[1],nV=nD>=nr.length-1||"horizontal"!==nS||eN;m.useEffect(function(){nM&&nZ(nv)},[nv]),m.useEffect(function(){return nC.current=!0,function(){nC.current=!1}},[]);var nz=(g=m.useState({}),Z=(0,u.Z)(g,2)[1],C=(0,m.useRef)(new Map),E=(0,m.useRef)(new Map),R=m.useState([]),N=(M=(0,u.Z)(R,2))[0],x=M[1],I=(0,m.useRef)(0),K=(0,m.useRef)(!1),J=function(){K.current||Z({})},$=(0,m.useCallback)(function(e,n){var t=q(n);E.current.set(t,e),C.current.set(e,t),I.current+=1;var r=I.current;Promise.resolve().then(function(){r===I.current&&J()})},[]),ee=(0,m.useCallback)(function(e,n){var t=q(n);E.current.delete(t),C.current.delete(e)},[]),en=(0,m.useCallback)(function(e){x(e)},[]),et=(0,m.useCallback)(function(e,n){var t=(C.current.get(e)||"").split(Y);return n&&N.includes(t[0])&&t.unshift(X),t},[N]),er=(0,m.useCallback)(function(e,n){return e.filter(function(e){return void 0!==e}).some(function(e){return et(e,!0).includes(n)})},[et]),eo=(0,m.useCallback)(function(e){var n="".concat(C.current.get(e)).concat(Y),t=new Set;return(0,l.Z)(E.current.keys()).forEach(function(e){e.startsWith(n)&&t.add(E.current.get(e))}),t},[]),m.useEffect(function(){return function(){K.current=!0}},[]),{registerPath:$,unregisterPath:ee,refreshOverflowKeys:en,isSubPathKey:er,getKeyPath:et,getKeys:function(){var e=(0,l.Z)(C.current.keys());return N.length&&e.push(X),e},getSubPathKeys:eo}),nF=nz.registerPath,nj=nz.unregisterPath,nB=nz.refreshOverflowKeys,nW=nz.isSubPathKey,nH=nz.getKeyPath,nY=nz.getKeys,nq=nz.getSubPathKeys,nX=m.useMemo(function(){return{registerPath:nF,unregisterPath:nj}},[nF,nj]),nG=m.useMemo(function(){return{isSubPathKey:nW}},[nW]);m.useEffect(function(){nB(nV?ez:nr.slice(nD+1).map(function(e){return e.key}))},[nD,nV]);var nQ=(0,d.Z)(eA||eT&&(null===(es=nr[0])||void 0===es?void 0:es.key),{value:eA}),nU=(0,u.Z)(nQ,2),nJ=nU[0],n$=nU[1],n0=G(function(e){n$(e)}),n1=G(function(){n$(void 0)});(0,m.useImperativeHandle)(n,function(){return{list:nc.current,focus:function(e){var n,t,r=H(nY(),ns),o=r.elements,i=r.key2element,l=r.element2key,u=B(nc.current,o),a=null!=nJ?nJ:u[0]?l.get(u[0]):null===(n=nr.find(function(e){return!e.props.disabled}))||void 0===n?void 0:n.key,c=i.get(a);a&&c&&(null==c||null===(t=c.focus)||void 0===t||t.call(c,e))}}});var n2=(0,d.Z)(eB||[],{value:eW,postState:function(e){return Array.isArray(e)?e:null==e?ez:[e]}}),n6=(0,u.Z)(n2,2),n5=n6[0],n4=n6[1],n9=function(e){if(eD){var n,t=e.key,r=n5.includes(t);n4(n=ej?r?n5.filter(function(e){return e!==t}):[].concat((0,l.Z)(n5),[t]):[t]);var o=(0,i.Z)((0,i.Z)({},e),{},{selectedKeys:n});r?null==eY||eY(o):null==eH||eH(o)}!ej&&nv.length&&"inline"!==nS&&nb(ez)},n3=G(function(e){null==e5||e5(ea(e)),n9(e)}),n7=G(function(e,n){var t=nv.filter(function(n){return n!==e});if(n)t.push(e);else if("inline"!==nS){var r=nq(e);t=t.filter(function(e){return!r.has(e)})}(0,p.Z)(nv,t,!0)||nb(t,!0)}),n8=(ei=function(e,n){var t=null!=n?n:!nv.includes(e);n7(e,t)},el=m.useRef(),(eu=m.useRef()).current=nJ,ec=function(){O.Z.cancel(el.current)},m.useEffect(function(){return function(){ec()}},[]),function(e){var n=e.which;if([].concat(j,[_,V,z,F]).includes(n)){var t=nY(),r=H(t,ns),i=r,l=i.elements,u=i.key2element,a=i.element2key,c=function(e,n){for(var t=e||document.activeElement;t;){if(n.has(t))return t;t=t.parentElement}return null}(u.get(nJ),l),s=a.get(c),f=function(e,n,t,r){var i,l,u,a,c="prev",s="next",f="children",d="parent";if("inline"===e&&r===_)return{inlineTrigger:!0};var p=(i={},(0,o.Z)(i,L,c),(0,o.Z)(i,D,s),i),v=(l={},(0,o.Z)(l,A,t?s:c),(0,o.Z)(l,T,t?c:s),(0,o.Z)(l,D,f),(0,o.Z)(l,_,f),l),m=(u={},(0,o.Z)(u,L,c),(0,o.Z)(u,D,s),(0,o.Z)(u,_,f),(0,o.Z)(u,V,d),(0,o.Z)(u,A,t?f:d),(0,o.Z)(u,T,t?d:f),u);switch(null===(a=({inline:p,horizontal:v,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m})["".concat(e).concat(n?"":"Sub")])||void 0===a?void 0:a[r]){case c:return{offset:-1,sibling:!0};case s:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}(nS,1===nH(s,!0).length,nf,n);if(!f&&n!==z&&n!==F)return;(j.includes(n)||[z,F].includes(n))&&e.preventDefault();var d=function(e){if(e){var n=e,t=e.querySelector("a");null!=t&&t.getAttribute("href")&&(n=t);var r=a.get(e);n$(r),ec(),el.current=(0,O.Z)(function(){eu.current===r&&n.focus()})}};if([z,F].includes(n)||f.sibling||!c){var p,v=B(p=c&&"inline"!==nS?function(e){for(var n=e;n;){if(n.getAttribute("data-menu-list"))return n;n=n.parentElement}return null}(c):nc.current,l);d(n===z?v[0]:n===F?v[v.length-1]:W(p,l,c,f.offset))}else if(f.inlineTrigger)ei(s);else if(f.offset>0)ei(s,!0),ec(),el.current=(0,O.Z)(function(){r=H(t,ns);var e=c.getAttribute("aria-controls");d(W(document.getElementById(e),r.elements))},5);else if(f.offset<0){var m=nH(s,!0),b=m[m.length-2],y=u.get(b);ei(b,!1),d(y)}}null==e9||e9(e)});m.useEffect(function(){na(!0)},[]);var te=m.useMemo(function(){return{_internalRenderMenuItem:e3,_internalRenderSubMenuItem:e7}},[e3,e7]),tn="horizontal"!==nS||eN?nr:nr.map(function(e,n){return m.createElement(w,{key:e.key,overflowDisabled:n>nD},e)}),tt=m.createElement(f.Z,(0,r.Z)({id:eE,ref:nc,prefixCls:"".concat(ep,"-overflow"),component:"ul",itemComponent:ev,className:s()(ep,"".concat(ep,"-root"),"".concat(ep,"-").concat(nS),ey,(ef={},(0,o.Z)(ef,"".concat(ep,"-inline-collapsed"),nO),(0,o.Z)(ef,"".concat(ep,"-rtl"),nf),ef),em),dir:eC,style:eb,role:"menu",tabIndex:void 0===eh?0:eh,data:tn,renderRawItem:function(e){return e},renderRawRest:function(e){var n=e.length,t=n?nr.slice(-n):null;return m.createElement(eI,{eventKey:X,title:e1,disabled:nV,internalPopupClose:0===n,popupClassName:e2},t)},maxCount:"horizontal"!==nS||eN?f.Z.INVALIDATE:f.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){n_(e)},onKeyDown:n8},ne));return m.createElement(S.Provider,{value:te},m.createElement(y.Provider,{value:ns},m.createElement(w,{prefixCls:ep,rootClassName:em,mode:nS,openKeys:nv,rtl:nf,disabled:eM,motion:nu?eX:null,defaultMotions:nu?eG:null,activeKey:nJ,onActive:n0,onInactive:n1,selectedKeys:n5,inlineIndent:void 0===eq?24:eq,subMenuOpenDelay:void 0===eP?.1:eP,subMenuCloseDelay:void 0===eS?.1:eS,forceSubMenuRender:ex,builtinPlacements:eU,triggerSubMenuAction:void 0===eQ?"hover":eQ,getPopupContainer:e6,itemIcon:eJ,expandIcon:e$,onItemClick:n3,onOpenChange:n7},m.createElement(P.Provider,{value:nG},tt),m.createElement("div",{style:{display:"none"},"aria-hidden":!0},m.createElement(k.Provider,{value:nX},no)))))});eF.Item=ev,eF.SubMenu=eI,eF.ItemGroup=eL,eF.Divider=eO;var ej=eF}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5755-cf98dfc35e3b2627.js b/dbgpt/app/static/web/_next/static/chunks/5755-cf98dfc35e3b2627.js new file mode 100644 index 000000000..30e0aa19f --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5755-cf98dfc35e3b2627.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5755],{69274:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},i=r(55032),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},72097:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},i=r(55032),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},47019:function(e,t,r){var n=r(33587),o=r(85551),a=r.n(o),i=r(38497),l=r(22785),s=r(5655),c=r(60654),d=r(14206);t.Z=function(e,t){d.Z&&!(0,c.mf)(e)&&console.error("useDebounceFn expected parameter is a function, got ".concat(typeof e));var r,o=(0,l.Z)(e),u=null!==(r=null==t?void 0:t.wait)&&void 0!==r?r:1e3,f=(0,i.useMemo)(function(){return a()(function(){for(var e=[],t=0;t{let{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:o,textPaddingInline:a,orientationMargin:i,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,s.Wf)(e)),{borderBlockStart:`${(0,l.bf)(o)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,l.bf)(o)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,l.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,l.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,l.bf)(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${i} * 100%)`},"&::after":{width:`calc(100% - ${i} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${i} * 100%)`},"&::after":{width:`calc(${i} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,l.bf)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,l.bf)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:r}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:r}}})}};var f=(0,c.I$)("Divider",e=>{let t=(0,d.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[u(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},g=e=>{let{getPrefixCls:t,direction:r,divider:o}=n.useContext(i.E_),{prefixCls:l,type:s="horizontal",orientation:c="center",orientationMargin:d,className:u,rootClassName:g,children:p,dashed:b,variant:h="solid",plain:v,style:y}=e,$=m(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),O=t("divider",l),[C,w,x]=f(O),k=!!p,E="left"===c&&null!=d,S="right"===c&&null!=d,I=a()(O,null==o?void 0:o.className,w,x,`${O}-${s}`,{[`${O}-with-text`]:k,[`${O}-with-text-${c}`]:k,[`${O}-dashed`]:!!b,[`${O}-${h}`]:"solid"!==h,[`${O}-plain`]:!!v,[`${O}-rtl`]:"rtl"===r,[`${O}-no-default-orientation-margin-left`]:E,[`${O}-no-default-orientation-margin-right`]:S},u,g),j=n.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),z=Object.assign(Object.assign({},E&&{marginLeft:j}),S&&{marginRight:j});return C(n.createElement("div",Object.assign({className:I,style:Object.assign(Object.assign({},null==o?void 0:o.style),y)},$,{role:"separator"}),p&&"vertical"!==s&&n.createElement("span",{className:`${O}-inner-text`,style:z},p)))}},10755:function(e,t,r){r.d(t,{Z:function(){return b}});var n=r(38497),o=r(26869),a=r.n(o),i=r(10469),l=r(42041),s=r(63346),c=r(80214);let d=n.createContext({latestIndex:0}),u=d.Provider;var f=e=>{let{className:t,index:r,children:o,split:a,style:i}=e,{latestIndex:l}=n.useContext(d);return null==o?null:n.createElement(n.Fragment,null,n.createElement("div",{className:t,style:i},o),rt.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let p=n.forwardRef((e,t)=>{var r,o,c;let{getPrefixCls:d,space:p,direction:b}=n.useContext(s.E_),{size:h=null!==(r=null==p?void 0:p.size)&&void 0!==r?r:"small",align:v,className:y,rootClassName:$,children:O,direction:C="horizontal",prefixCls:w,split:x,style:k,wrap:E=!1,classNames:S,styles:I}=e,j=g(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[z,M]=Array.isArray(h)?h:[h,h],N=(0,l.n)(M),B=(0,l.n)(z),P=(0,l.T)(M),T=(0,l.T)(z),Z=(0,i.Z)(O,{keepEmpty:!0}),H=void 0===v&&"horizontal"===C?"center":v,W=d("space",w),[R,D,L]=(0,m.Z)(W),F=a()(W,null==p?void 0:p.className,D,`${W}-${C}`,{[`${W}-rtl`]:"rtl"===b,[`${W}-align-${H}`]:H,[`${W}-gap-row-${M}`]:N,[`${W}-gap-col-${z}`]:B},y,$,L),G=a()(`${W}-item`,null!==(o=null==S?void 0:S.item)&&void 0!==o?o:null===(c=null==p?void 0:p.classNames)||void 0===c?void 0:c.item),K=0,_=Z.map((e,t)=>{var r,o;null!=e&&(K=t);let a=(null==e?void 0:e.key)||`${G}-${t}`;return n.createElement(f,{className:G,key:a,index:t,split:x,style:null!==(r=null==I?void 0:I.item)&&void 0!==r?r:null===(o=null==p?void 0:p.styles)||void 0===o?void 0:o.item},e)}),A=n.useMemo(()=>({latestIndex:K}),[K]);if(0===Z.length)return null;let q={};return E&&(q.flexWrap="wrap"),!B&&T&&(q.columnGap=z),!N&&P&&(q.rowGap=M),R(n.createElement("div",Object.assign({ref:t,className:F,style:Object.assign(Object.assign(Object.assign({},q),null==p?void 0:p.style),k)},j),n.createElement(u,{value:A},_)))});p.Compact=c.ZP;var b=p},36647:function(e,t){t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},33445:function(e,t,r){r.d(t,{Fm:function(){return g}});var n=r(38083),o=r(60234);let a=new n.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),i=new n.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),l=new n.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new n.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new n.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new n.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),u=new n.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),f=new n.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),m={"move-up":{inKeyframes:u,outKeyframes:f},"move-down":{inKeyframes:a,outKeyframes:i},"move-left":{inKeyframes:l,outKeyframes:s},"move-right":{inKeyframes:c,outKeyframes:d}},g=(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:a,outKeyframes:i}=m[t];return[(0,o.R)(n,a,i,e.motionDurationMid),{[` + ${n}-enter, + ${n}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},49030:function(e,t,r){r.d(t,{Z:function(){return z}});var n=r(38497),o=r(26869),a=r.n(o),i=r(55598),l=r(55853),s=r(35883),c=r(55091),d=r(37243),u=r(63346),f=r(38083),m=r(51084),g=r(60848),p=r(74934),b=r(90102);let h=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o,calc:a}=e,i=a(n).sub(r).equal(),l=a(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,o=e.fontSizeSM,a=(0,p.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var $=(0,b.I$)("Tag",e=>{let t=v(e);return h(t)},y),O=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let C=n.forwardRef((e,t)=>{let{prefixCls:r,style:o,className:i,checked:l,onChange:s,onClick:c}=e,d=O(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:m}=n.useContext(u.E_),g=f("tag",r),[p,b,h]=$(g),v=a()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:l},null==m?void 0:m.className,i,b,h);return p(n.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},o),null==m?void 0:m.style),className:v,onClick:e=>{null==s||s(!l),null==c||c(e)}})))});var w=r(86553);let x=e=>(0,w.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:a,darkColor:i}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var k=(0,b.bk)(["Tag","preset"],e=>{let t=v(e);return x(t)},y);let E=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var S=(0,b.bk)(["Tag","status"],e=>{let t=v(e);return[E(t,"success","Success"),E(t,"processing","Info"),E(t,"error","Error"),E(t,"warning","Warning")]},y),I=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let j=n.forwardRef((e,t)=>{let{prefixCls:r,className:o,rootClassName:f,style:m,children:g,icon:p,color:b,onClose:h,bordered:v=!0,visible:y}=e,O=I(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:C,direction:w,tag:x}=n.useContext(u.E_),[E,j]=n.useState(!0),z=(0,i.Z)(O,["closeIcon","closable"]);n.useEffect(()=>{void 0!==y&&j(y)},[y]);let M=(0,l.o2)(b),N=(0,l.yT)(b),B=M||N,P=Object.assign(Object.assign({backgroundColor:b&&!B?b:void 0},null==x?void 0:x.style),m),T=C("tag",r),[Z,H,W]=$(T),R=a()(T,null==x?void 0:x.className,{[`${T}-${b}`]:B,[`${T}-has-color`]:b&&!B,[`${T}-hidden`]:!E,[`${T}-rtl`]:"rtl"===w,[`${T}-borderless`]:!v},o,f,H,W),D=e=>{e.stopPropagation(),null==h||h(e),e.defaultPrevented||j(!1)},[,L]=(0,s.Z)((0,s.w)(e),(0,s.w)(x),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${T}-close-icon`,onClick:D},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),D(t)},className:a()(null==e?void 0:e.className,`${T}-close-icon`)}))}}),F="function"==typeof O.onClick||g&&"a"===g.type,G=p||null,K=G?n.createElement(n.Fragment,null,G,g&&n.createElement("span",null,g)):g,_=n.createElement("span",Object.assign({},z,{ref:t,className:R,style:P}),K,L,M&&n.createElement(k,{key:"preset",prefixCls:T}),N&&n.createElement(S,{key:"status",prefixCls:T}));return Z(F?n.createElement(d.Z,{component:"Tag"},_):_)});j.CheckableTag=C;var z=j}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5774-c05af7b92e1fb709.js b/dbgpt/app/static/web/_next/static/chunks/5774-c05af7b92e1fb709.js deleted file mode 100644 index 6bc1a5133..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/5774-c05af7b92e1fb709.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5774],{71483:function(e,l,a){var s=a(96469),t=a(38497),r=a(49030),n=a(62971),i=a(60205),d=a(26869),c=a.n(d),o=a(23852),m=a.n(o);l.Z=(0,t.memo)(function(e){let{icon:l,iconBorder:a=!0,title:d,desc:o,tags:u,children:x,disabled:b,operations:p,className:h,extraContent:f,...j}=e,y=(0,t.useMemo)(()=>l?"string"==typeof l?(0,s.jsx)(m(),{className:c()("w-11 h-11 rounded-full mr-4 object-contain bg-white",{"border border-gray-200":a}),width:48,height:48,src:l,alt:d}):l:null,[l]),v=(0,t.useMemo)(()=>u&&u.length?(0,s.jsx)("div",{className:"flex items-center mt-1 flex-wrap",children:u.map((e,l)=>{var a;return"string"==typeof e?(0,s.jsx)(r.Z,{className:"text-xs",bordered:!1,color:"default",children:e},l):(0,s.jsx)(r.Z,{className:"text-xs",bordered:null!==(a=e.border)&&void 0!==a&&a,color:e.color,children:e.text},l)})}):null,[u]);return(0,s.jsxs)("div",{className:c()("group/card relative flex flex-col w-72 rounded justify-between text-black bg-white shadow-[0_8px_16px_-10px_rgba(100,100,100,.08)] hover:shadow-[0_14px_20px_-10px_rgba(100,100,100,.15)] dark:bg-[#232734] dark:text-white dark:hover:border-white transition-[transfrom_shadow] duration-300 hover:-translate-y-1 min-h-fit",{"grayscale cursor-no-drop":b,"cursor-pointer":!b&&!!j.onClick},h),...j,children:[(0,s.jsxs)("div",{className:"p-4 0",children:[(0,s.jsxs)("div",{className:"flex items-center",children:[y,(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)(n.Z,{title:d,children:(0,s.jsx)("h2",{className:"text-sm font-semibold line-clamp-1 pr-8",children:d})}),v]})]}),o&&(0,s.jsx)(i.Z,{title:o,children:(0,s.jsx)("p",{className:"mt-2 text-sm text-gray-500 font-normal line-clamp-2",children:o})})]}),(0,s.jsxs)("div",{children:[x,p&&!!p.length&&(0,s.jsx)("div",{className:"flex flex-wrap items-center justify-center border-t border-solid border-gray-100 dark:border-theme-dark",children:p.map((e,l)=>(0,s.jsx)(i.Z,{title:e.label,children:(0,s.jsxs)("div",{className:"relative flex flex-1 items-center justify-center h-11 text-gray-400 hover:text-blue-500 transition-colors duration-300 cursor-pointer",onClick:l=>{var a;l.stopPropagation(),null===(a=e.onClick)||void 0===a||a.call(e)},children:[e.children,l(0,p.isFileDb)(j,C),[j,C]);(0,x.useEffect)(()=>{a&&k.setFieldValue("db_type",a)},[a]),(0,x.useEffect)(()=>{y&&(k.setFieldsValue({...y}),"omc"===y.db_type&&k.setFieldValue("db_arn",y.db_path))},[y]),(0,x.useEffect)(()=>{l||k.resetFields()},[l]);let I=async e=>{let{db_host:l,db_path:a,db_port:s,db_type:t,...n}=e;if(Z(!0),"omc"===t){let l=null==P?void 0:P.find(l=>l.arn===e.db_name);try{let[a]=await (0,b.Vx)((0,b.Jm)({db_type:"omc",file_path:e.db_arn||"",comment:e.comment,db_name:(null==l?void 0:l.dbName)||e.db_name}));if(a){r.ZP.error(a.message);return}r.ZP.success("success"),null==N||N()}catch(e){r.ZP.error(e.message)}finally{Z(!1)}}if(!y&&v.some(e=>e===n.db_name)){r.ZP.error("The database already exists!");return}let i={db_host:D?void 0:l,db_port:D?void 0:s,db_type:t,file_path:D?a:void 0,...n};try{let[e]=await (0,b.Vx)((0,b.KS)(i));if(e)return;let[l]=await (0,b.Vx)((y?b.mR:b.b_)(i));if(l){r.ZP.error(l.message);return}r.ZP.success("success"),null==N||N()}catch(e){r.ZP.error(e.message)}finally{Z(!1)}};console.log(k.getFieldValue("db_type"));let{run:E}=(0,f.Z)(async e=>{V(!0);let[l,a=[]]=await (0,b.Vx)((0,b.bf)(e));V(!1),S(a.map(e=>({...e,label:e.dbName,value:e.arn})))},{wait:500});console.log("omcDBList",P);let T=(0,x.useMemo)(()=>!!y||!!a,[y,a]);return(0,s.jsx)(n.default,{open:l,width:400,title:w(y?"Edit":"create_database"),maskClosable:!1,footer:null,onCancel:_,children:(0,s.jsxs)(t.default,{form:k,className:"pt-2",labelCol:{span:6},labelAlign:"left",onFinish:I,children:[(0,s.jsx)(t.default.Item,{name:"db_type",label:"DB Type",className:"mb-3",rules:[{required:!0}],children:(0,s.jsx)(i.default,{"aria-readonly":T,disabled:T,options:j})}),"omc"===k.getFieldValue("db_type")?(0,s.jsx)(t.default.Item,{name:"db_name",label:"DB Name",className:"mb-3",rules:[{required:!0}],children:(0,s.jsx)(i.default,{optionRender:(e,l)=>{let{index:a}=l,t=P[a];return(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("span",{className:"text-[18px]",children:null==t?void 0:t.dbName}),(0,s.jsxs)("span",{children:[(0,s.jsx)("span",{children:"env: "}),(0,s.jsx)("span",{className:"text-gray-500",children:t.env})]}),(0,s.jsxs)("span",{children:[(0,s.jsx)("span",{children:"account: "}),(0,s.jsx)("span",{className:"text-gray-500",children:t.account})]}),(0,s.jsxs)("span",{children:[(0,s.jsx)("span",{children:"searchName: "}),(0,s.jsx)(d.Z,{title:t.searchName,children:(0,s.jsx)("span",{className:"text-gray-500",children:t.searchName})})]})]},e.value)},notFoundContent:F?(0,s.jsx)(c.Z,{size:"small"}):null,showSearch:!0,options:P,onSearch:E,onSelect:e=>{console.log(e,"searchName");let l=null==P?void 0:P.find(l=>l.value===e);k.setFieldsValue({db_arn:null==l?void 0:l.arn})}})}):(0,s.jsx)(t.default.Item,{name:"db_name",label:"DB Name",className:"mb-3",rules:[{required:!0}],children:(0,s.jsx)(o.default,{readOnly:!!y,disabled:!!y})}),!0===D&&(0,s.jsx)(t.default.Item,{name:"db_path",label:"Path",className:"mb-3",rules:[{required:!0}],children:(0,s.jsx)(o.default,{})}),!1===D&&"omc"!==k.getFieldValue("db_type")&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.default.Item,{name:"db_user",label:"Username",className:"mb-3",rules:[{required:!0}],children:(0,s.jsx)(o.default,{})}),(0,s.jsx)(t.default.Item,{name:"db_pwd",label:"Password",className:"mb-3",rules:[{required:!1}],children:(0,s.jsx)(o.default,{type:"password"})}),(0,s.jsx)(t.default.Item,{name:"db_host",label:"Host",className:"mb-3",rules:[{required:!0}],children:(0,s.jsx)(o.default,{})}),(0,s.jsx)(t.default.Item,{name:"db_port",label:"Port",className:"mb-3",rules:[{required:!0}],children:(0,s.jsx)(m.Z,{min:1,step:1,max:65535})})]}),"omc"===k.getFieldValue("db_type")&&(0,s.jsx)(t.default.Item,{name:"db_arn",label:"Arn",className:"mb-3",rules:[{required:!0}],children:(0,s.jsx)(o.default,{})}),(0,s.jsx)(t.default.Item,{name:"comment",label:"Remark",className:"mb-3",children:(0,s.jsx)(o.default,{})}),(0,s.jsxs)(t.default.Item,{className:"flex flex-row-reverse pt-1 mb-0",children:[(0,s.jsx)(u.ZP,{htmlType:"submit",type:"primary",size:"middle",className:"mr-1",loading:g,children:"Save"}),(0,s.jsx)(u.ZP,{size:"middle",onClick:_,children:"Cancel"})]})]})})}},22505:function(e,l,a){a.r(l),a.d(l,{isFileDb:function(){return Z}});var s=a(96469),t=a(38497),r=a(77200),n=a(79839),i=a(70351),d=a(27691),c=a(67853),o=a(51657),m=a(42786),u=a(67343),x=a(97818),b=a(18758),p=a(27623),h=a(97511),f=a(72828),j=a(55861),y=a(46584),v=a(18458),_=a(7289),N=a(71483),g=a(56841);function Z(e,l){var a;return null===(a=e.find(e=>e.value===l))||void 0===a?void 0:a.isFileDb}l.default=function(){var e;let{t:l}=(0,g.$G)(),[a,Z]=(0,t.useState)([]),[w,k]=(0,t.useState)([]),[C,P]=(0,t.useState)(!1),[S,F]=(0,t.useState)({open:!1}),[V,D]=(0,t.useState)({open:!1}),[I,E]=(0,t.useState)(!1),T=async()=>{let[,e]=await (0,p.Vx)((0,p.t$)());k(null!=e?e:[])},q=async()=>{P(!0);let[,e]=await (0,p.Vx)((0,p.Bw)());Z(null!=e?e:[]),P(!1)},M=(0,t.useMemo)(()=>{let e=w.map(e=>{let{db_type:l,is_file_db:a}=e;return{..._.S$[l],value:l,isFileDb:a}}),l=Object.keys(_.S$).filter(l=>!e.some(e=>e.value===l)).map(e=>({..._.S$[e],value:_.S$[e].label,disabled:!0}));return[...e,...l]},[w]),$=e=>{F({open:!0,info:e})},B=e=>{n.default.confirm({title:"Tips",content:"Do you Want to delete the ".concat(e.db_name,"?"),onOk:()=>new Promise(async(l,a)=>{try{let[s]=await (0,p.Vx)((0,p.J5)(e.db_name));if(s){i.ZP.error(s.message),a();return}i.ZP.success("success"),q(),l()}catch(e){a()}})})},z=async e=>{E(!0);let[,a]=await (0,p.Vx)((0,p.yx)({db_name:e.db_name,db_type:e.db_type}));a&&i.ZP.success(l("refreshSuccess")),E(!1)},A=(0,t.useMemo)(()=>{let e=M.reduce((e,l)=>(e[l.value]=a.filter(e=>e.db_type===l.value),e),{});return e},[a,M]);(0,r.Z)(async()=>{await q(),await T()},[]);let L=e=>{let l=a.filter(l=>l.db_type===e.value);D({open:!0,dbList:l,name:e.label,type:e.value})};return(0,s.jsxs)("div",{className:"relative p-4 md:p-6 min-h-full overflow-y-auto",children:[(0,s.jsx)(v.Z,{visible:C}),(0,s.jsx)("div",{className:"mb-4",children:(0,s.jsx)(d.ZP,{type:"primary",className:"flex items-center",icon:(0,s.jsx)(h.Z,{}),onClick:()=>{F({open:!0})},children:l("create")})}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2 md:gap-4",children:M.map(l=>(0,s.jsx)(c.Z,{count:A[l.value].length,className:"min-h-fit",children:(0,s.jsx)(N.Z,{className:"h-full",title:l.label,desc:null!==(e=l.desc)&&void 0!==e?e:"",disabled:l.disabled,icon:l.icon,onClick:()=>{l.disabled||L(l)}})},l.value))}),(0,s.jsx)(b.Z,{open:S.open,dbTypeList:M,choiceDBType:S.dbType,editValue:S.info,dbNames:a.map(e=>e.db_name),onSuccess:()=>{F({open:!1}),q()},onClose:()=>{F({open:!1})}}),(0,s.jsx)(o.Z,{title:V.name,placement:"right",onClose:()=>{D({open:!1})},open:V.open,children:V.type&&A[V.type]&&A[V.type].length?(0,s.jsxs)(m.Z,{spinning:I,children:[(0,s.jsx)(d.ZP,{type:"primary",className:"mb-4 flex items-center",icon:(0,s.jsx)(h.Z,{}),onClick:()=>{F({open:!0,dbType:V.type})},children:"Create"}),A[V.type].map(e=>(0,s.jsxs)(u.Z,{title:e.db_name,extra:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(f.Z,{style:{color:"gray"},onClick:()=>{z(e)}}),(0,s.jsx)(j.Z,{className:"mr-2",style:{color:"#1b7eff"},onClick:()=>{$(e)}}),(0,s.jsx)(y.Z,{style:{color:"#ff1b2e"},onClick:()=>{B(e)}})]}),className:"mb-4",children:[e.db_path?(0,s.jsxs)("p",{children:["path: ",e.db_path]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("p",{children:["host: ",e.db_host]}),(0,s.jsxs)("p",{children:["username: ",e.db_user]}),(0,s.jsxs)("p",{children:["port: ",e.db_port]})]}),(0,s.jsxs)("p",{children:["remark: ",e.comment]})]},e.db_name))]}):(0,s.jsx)(x.Z,{image:x.Z.PRESENTED_IMAGE_DEFAULT,children:(0,s.jsx)(d.ZP,{type:"primary",className:"flex items-center mx-auto",icon:(0,s.jsx)(h.Z,{}),onClick:()=>{F({open:!0,dbType:V.type})},children:"Create Now"})})})]})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5851-be2ecf2c518f03d5.js b/dbgpt/app/static/web/_next/static/chunks/5851-be2ecf2c518f03d5.js new file mode 100644 index 000000000..20d92a868 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5851-be2ecf2c518f03d5.js @@ -0,0 +1,41 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5851],{67576:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(42096),l=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},i=n(55032),a=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},40132:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(42096),l=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},i=n(55032),a=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},73395:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(42096),l=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},i=n(55032),a=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},27494:function(e,t,n){n.d(t,{N:function(){return r}});let r=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},85851:function(e,t,n){n.d(t,{Z:function(){return eb}});var r=n(38497),l=n(40132),o=n(26869),i=n.n(o),a=n(31617),c=n(10469),s=n(46644),u=n(77757),d=n(55598),p=n(7544),f=n(94280),m=n(16956),g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let b={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-flex"},v=r.forwardRef((e,t)=>{let{style:n,noStyle:l,disabled:o,tabIndex:i=0}=e,a=g(e,["style","noStyle","disabled","tabIndex"]),c={};return l||(c=Object.assign({},b)),o&&(c.pointerEvents="none"),c=Object.assign(Object.assign({},c),n),r.createElement("div",Object.assign({role:"button",tabIndex:i,ref:t},a,{onKeyDown:e=>{let{keyCode:t}=e;t===m.Z.ENTER&&e.preventDefault()},onKeyUp:t=>{let{keyCode:n}=t,{onClick:r}=e;n===m.Z.ENTER&&r&&r()},style:c}))});var y=n(63346),h=n(61261),O=n(60205),x=n(73395),E=n(55091),w=n(95677),j=n(27494),S=n(90102),k=n(82650),$=n(38083);let C=(e,t,n,r)=>{let{titleMarginBottom:l,fontWeightStrong:o}=r;return{marginBottom:l,color:n,fontWeight:o,fontSize:e,lineHeight:t}},Z=e=>{let t={};return[1,2,3,4,5].forEach(n=>{t[` + h${n}&, + div&-h${n}, + div&-h${n} > textarea, + h${n} + `]=C(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),t},R=e=>{let{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,j.N)(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},H=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:k.EV[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),I=e=>{let{componentCls:t,paddingSM:n}=e;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(n).mul(-1).equal(),marginBottom:`calc(1em - ${(0,$.bf)(n)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},T=e=>({[`${e.componentCls}-copy-success`]:{[` + &, + &:hover, + &:focus`]:{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),M=()=>({[` + a&-ellipsis, + span&-ellipsis + `]:{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),z=e=>{let{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},[` + div&, + p + `]:{marginBottom:"1em"}},Z(e)),{[` + & + h1${t}, + & + h2${t}, + & + h3${t}, + & + h4${t}, + & + h5${t} + `]:{marginTop:n},[` + div, + ul, + li, + p, + h1, + h2, + h3, + h4, + h5`]:{[` + + h1, + + h2, + + h3, + + h4, + + h5 + `]:{marginTop:n}}}),H(e)),R(e)),{[` + ${t}-expand, + ${t}-collapse, + ${t}-edit, + ${t}-copy + `]:Object.assign(Object.assign({},(0,j.N)(e)),{marginInlineStart:e.marginXXS})}),I(e)),T(e)),M()),{"&-rtl":{direction:"rtl"}})}};var P=(0,S.I$)("Typography",e=>[z(e)],()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),B=e=>{let{prefixCls:t,"aria-label":n,className:l,style:o,direction:a,maxLength:c,autoSize:s=!0,value:u,onSave:d,onCancel:p,onEnd:f,component:g,enterIcon:b=r.createElement(x.Z,null)}=e,v=r.useRef(null),y=r.useRef(!1),h=r.useRef(),[O,j]=r.useState(u);r.useEffect(()=>{j(u)},[u]),r.useEffect(()=>{var e;if(null===(e=v.current)||void 0===e?void 0:e.resizableTextArea){let{textArea:e}=v.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let S=()=>{d(O.trim())},k=g?`${t}-${g}`:"",[$,C,Z]=P(t),R=i()(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===a},l,k,C,Z);return $(r.createElement("div",{className:R,style:o},r.createElement(w.Z,{ref:v,maxLength:c,value:O,onChange:e=>{let{target:t}=e;j(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;y.current||(h.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:n,altKey:r,metaKey:l,shiftKey:o}=e;h.current!==t||y.current||n||r||l||o||(t===m.Z.ENTER?(S(),null==f||f()):t===m.Z.ESC&&p())},onCompositionStart:()=>{y.current=!0},onCompositionEnd:()=>{y.current=!1},onBlur:()=>{S()},"aria-label":n,rows:1,autoSize:s}),null!==b?(0,E.Tm)(b,{className:`${t}-edit-content-confirm`}):null))},D=n(93486),N=n.n(D),L=n(81581),W=e=>{let{copyConfig:t,children:n}=e,[l,o]=r.useState(!1),[i,a]=r.useState(!1),c=r.useRef(null),s=()=>{c.current&&clearTimeout(c.current)},u={};t.format&&(u.format=t.format),r.useEffect(()=>s,[]);let d=(0,L.zX)(e=>{var r,l,i,d;return r=void 0,l=void 0,i=void 0,d=function*(){var r;null==e||e.preventDefault(),null==e||e.stopPropagation(),a(!0);try{let l="function"==typeof t.text?yield t.text():t.text;N()(l||String(n)||"",u),a(!1),o(!0),s(),c.current=setTimeout(()=>{o(!1)},3e3),null===(r=t.onCopy)||void 0===r||r.call(t,e)}catch(e){throw a(!1),e}},new(i||(i=Promise))(function(e,t){function n(e){try{a(d.next(e))}catch(e){t(e)}}function o(e){try{a(d.throw(e))}catch(e){t(e)}}function a(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(n,o)}a((d=d.apply(r,l||[])).next())})});return{copied:l,copyLoading:i,onClick:d}};function A(e,t){return r.useMemo(()=>{let n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]},[e])}var F=e=>{let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e}),t.current},V=(e,t)=>{let n=r.useRef(!1);r.useEffect(()=>{n.current?e():n.current=!0},t)},_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let q=r.forwardRef((e,t)=>{let{prefixCls:n,component:l="article",className:o,rootClassName:a,setContentRef:c,children:s,direction:u,style:d}=e,f=_(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:m,direction:g,typography:b}=r.useContext(y.E_),v=t;c&&(v=(0,p.sQ)(t,c));let h=m("typography",n),[O,x,E]=P(h),w=i()(h,null==b?void 0:b.className,{[`${h}-rtl`]:"rtl"===(null!=u?u:g)},o,a,x,E),j=Object.assign(Object.assign({},null==b?void 0:b.style),d);return O(r.createElement(l,Object.assign({className:w,style:j,ref:v},f),s))});var X=n(69274),K=n(67576),G=n(37022);function Q(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function U(e,t,n){return!0===e||void 0===e?t:e||n&&t}var J=e=>{let{prefixCls:t,copied:n,locale:l,iconOnly:o,tooltips:a,icon:c,loading:s,tabIndex:u,onCopy:d}=e,p=Q(a),f=Q(c),{copied:m,copy:g}=null!=l?l:{},b=n?U(p[1],m):U(p[0],g),y=n?m:g;return r.createElement(O.Z,{key:"copy",title:b},r.createElement(v,{className:i()(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:o}),onClick:d,"aria-label":"string"==typeof b?b:y,tabIndex:u},n?U(f[1],r.createElement(X.Z,null),!0):U(f[0],s?r.createElement(G.Z,null):r.createElement(K.Z,null),!0)))},Y=n(72991);let ee=r.forwardRef((e,t)=>{let{style:n,children:l}=e,o=r.useRef(null);return r.useImperativeHandle(t,()=>({isExceed:()=>{let e=o.current;return e.scrollHeight>e.clientHeight},getHeight:()=>o.current.clientHeight})),r.createElement("span",{"aria-hidden":!0,ref:o,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},l)});function et(e){let t=typeof e;return"string"===t||"number"===t}function en(e,t){let n=0,r=[];for(let l=0;lt){let e=t-n;return r.push(String(o).slice(0,e)),r}r.push(o),n=c}return e}let er={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function el(e){let{enableMeasure:t,width:n,text:l,children:o,rows:i,expanded:a,miscDeps:u,onEllipsis:d}=e,p=r.useMemo(()=>(0,c.Z)(l),[l]),f=r.useMemo(()=>{let e;return e=0,p.forEach(t=>{et(t)?e+=String(t).length:e+=1}),e},[l]),m=r.useMemo(()=>o(p,!1),[l]),[g,b]=r.useState(null),v=r.useRef(null),y=r.useRef(null),h=r.useRef(null),O=r.useRef(null),x=r.useRef(null),[E,w]=r.useState(!1),[j,S]=r.useState(0),[k,$]=r.useState(0),[C,Z]=r.useState(null);(0,s.Z)(()=>{t&&n&&f?S(1):S(0)},[n,l,i,t,p]),(0,s.Z)(()=>{var e,t,n,r;if(1===j){S(2);let e=y.current&&getComputedStyle(y.current).whiteSpace;Z(e)}else if(2===j){let l=!!(null===(e=h.current)||void 0===e?void 0:e.isExceed());S(l?3:4),b(l?[0,f]:null),w(l);let o=(null===(t=h.current)||void 0===t?void 0:t.getHeight())||0,a=1===i?0:(null===(n=O.current)||void 0===n?void 0:n.getHeight())||0,c=(null===(r=x.current)||void 0===r?void 0:r.getHeight())||0,s=Math.max(o,a+c);$(s+1),d(l)}},[j]);let R=g?Math.ceil((g[0]+g[1])/2):0;(0,s.Z)(()=>{var e;let[t,n]=g||[0,0];if(t!==n){let r=(null===(e=v.current)||void 0===e?void 0:e.getHeight())||0,l=r>k,o=R;n-t==1&&(o=l?t:n),l?b([t,o]):b([o,n])}},[g,R]);let H=r.useMemo(()=>{if(3!==j||!g||g[0]!==g[1]){let e=o(p,!1);return 4!==j&&0!==j?r.createElement("span",{style:Object.assign(Object.assign({},er),{WebkitLineClamp:i})},e):e}return o(a?p:en(p,g[0]),E)},[a,j,g,p].concat((0,Y.Z)(u))),I={width:n,margin:0,padding:0,whiteSpace:"nowrap"===C?"normal":"inherit"};return r.createElement(r.Fragment,null,H,2===j&&r.createElement(r.Fragment,null,r.createElement(ee,{style:Object.assign(Object.assign(Object.assign({},I),er),{WebkitLineClamp:i}),ref:h},m),r.createElement(ee,{style:Object.assign(Object.assign(Object.assign({},I),er),{WebkitLineClamp:i-1}),ref:O},m),r.createElement(ee,{style:Object.assign(Object.assign(Object.assign({},I),er),{WebkitLineClamp:1}),ref:x},o([],!0))),3===j&&g&&g[0]!==g[1]&&r.createElement(ee,{style:Object.assign(Object.assign({},I),{top:400}),ref:v},o(en(p,R),!0)),1===j&&r.createElement("span",{style:{whiteSpace:"inherit"},ref:y}))}var eo=e=>{let{enableEllipsis:t,isEllipsis:n,children:l,tooltipProps:o}=e;return(null==o?void 0:o.title)&&t?r.createElement(O.Z,Object.assign({open:!!n&&void 0},o),l):l},ei=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let ea=r.forwardRef((e,t)=>{var n,o,m;let{prefixCls:g,className:b,style:x,type:E,disabled:w,children:j,ellipsis:S,editable:k,copyable:$,component:C,title:Z}=e,R=ei(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:H,direction:I}=r.useContext(y.E_),[T]=(0,h.Z)("Text"),M=r.useRef(null),z=r.useRef(null),P=H("typography",g),D=(0,d.Z)(R,["mark","code","delete","underline","strong","keyboard","italic"]),[N,L]=A(k),[_,X]=(0,u.Z)(!1,{value:L.editing}),{triggerType:K=["icon"]}=L,G=e=>{var t;e&&(null===(t=L.onStart)||void 0===t||t.call(L)),X(e)},Q=F(_);V(()=>{var e;!_&&Q&&(null===(e=z.current)||void 0===e||e.focus())},[_]);let U=e=>{null==e||e.preventDefault(),G(!0)},[Y,ee]=A($),{copied:et,copyLoading:en,onClick:er}=W({copyConfig:ee,children:j}),[ea,ec]=r.useState(!1),[es,eu]=r.useState(!1),[ed,ep]=r.useState(!1),[ef,em]=r.useState(!1),[eg,eb]=r.useState(!0),[ev,ey]=A(S,{expandable:!1,symbol:e=>e?null==T?void 0:T.collapse:null==T?void 0:T.expand}),[eh,eO]=(0,u.Z)(ey.defaultExpanded||!1,{value:ey.expanded}),ex=ev&&(!eh||"collapsible"===ey.expandable),{rows:eE=1}=ey,ew=r.useMemo(()=>ex&&(void 0!==ey.suffix||ey.onEllipsis||ey.expandable||N||Y),[ex,ey,N,Y]);(0,s.Z)(()=>{ev&&!ew&&(ec((0,f.G)("webkitLineClamp")),eu((0,f.G)("textOverflow")))},[ew,ev]);let[ej,eS]=r.useState(ex),ek=r.useMemo(()=>!ew&&(1===eE?es:ea),[ew,es,ea]);(0,s.Z)(()=>{eS(ek&&ex)},[ek,ex]);let e$=ex&&(ej?ef:ed),eC=ex&&1===eE&&ej,eZ=ex&&eE>1&&ej,eR=(e,t)=>{var n;eO(t.expanded),null===(n=ey.onExpand)||void 0===n||n.call(ey,e,t)},[eH,eI]=r.useState(0),eT=e=>{var t;ep(e),ed!==e&&(null===(t=ey.onEllipsis)||void 0===t||t.call(ey,e))};r.useEffect(()=>{let e=M.current;if(ev&&ej&&e){let[t,n]=function(e){let t=e.getBoundingClientRect(),{offsetWidth:n,offsetHeight:r}=e,l=n,o=r;return 1>Math.abs(n-t.width)&&1>Math.abs(r-t.height)&&(l=t.width,o=t.height),[l,o]}(e),r=eZ?n{let e=M.current;if("undefined"==typeof IntersectionObserver||!e||!ej||!ex)return;let t=new IntersectionObserver(()=>{eb(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[ej,ex]);let eM={};eM=!0===ey.tooltip?{title:null!==(n=L.text)&&void 0!==n?n:j}:r.isValidElement(ey.tooltip)?{title:ey.tooltip}:"object"==typeof ey.tooltip?Object.assign({title:null!==(o=L.text)&&void 0!==o?o:j},ey.tooltip):{title:ey.tooltip};let ez=r.useMemo(()=>{let e=e=>["string","number"].includes(typeof e);return!ev||ej?void 0:e(L.text)?L.text:e(j)?j:e(Z)?Z:e(eM.title)?eM.title:void 0},[ev,ej,Z,eM.title,e$]);if(_)return r.createElement(B,{value:null!==(m=L.text)&&void 0!==m?m:"string"==typeof j?j:"",onSave:e=>{var t;null===(t=L.onChange)||void 0===t||t.call(L,e),G(!1)},onCancel:()=>{var e;null===(e=L.onCancel)||void 0===e||e.call(L),G(!1)},onEnd:L.onEnd,prefixCls:P,className:b,style:x,direction:I,component:C,maxLength:L.maxLength,autoSize:L.autoSize,enterIcon:L.enterIcon});let eP=()=>{let{expandable:e,symbol:t}=ey;return!e||eh&&"collapsible"!==e?null:r.createElement(v,{key:"expand",className:`${P}-${eh?"collapse":"expand"}`,onClick:e=>eR(e,{expanded:!eh}),"aria-label":eh?T.collapse:null==T?void 0:T.expand},"function"==typeof t?t(eh):t)},eB=()=>{if(!N)return;let{icon:e,tooltip:t,tabIndex:n}=L,o=(0,c.Z)(t)[0]||(null==T?void 0:T.edit);return K.includes("icon")?r.createElement(O.Z,{key:"edit",title:!1===t?"":o},r.createElement(v,{ref:z,className:`${P}-edit`,onClick:U,"aria-label":"string"==typeof o?o:"",tabIndex:n},e||r.createElement(l.Z,{role:"button"}))):null},eD=()=>Y?r.createElement(J,Object.assign({key:"copy"},ee,{prefixCls:P,copied:et,locale:T,onCopy:er,loading:en,iconOnly:null==j})):null,eN=e=>[e&&eP(),eB(),eD()],eL=e=>[e&&!eh&&r.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),ey.suffix,eN(e)];return r.createElement(a.Z,{onResize:e=>{let{offsetWidth:t}=e;eI(t)},disabled:!ex},n=>r.createElement(eo,{tooltipProps:eM,enableEllipsis:ex,isEllipsis:e$},r.createElement(q,Object.assign({className:i()({[`${P}-${E}`]:E,[`${P}-disabled`]:w,[`${P}-ellipsis`]:ev,[`${P}-ellipsis-single-line`]:eC,[`${P}-ellipsis-multiple-line`]:eZ},b),prefixCls:g,style:Object.assign(Object.assign({},x),{WebkitLineClamp:eZ?eE:void 0}),component:C,ref:(0,p.sQ)(n,M,t),direction:I,onClick:K.includes("text")?U:void 0,"aria-label":null==ez?void 0:ez.toString(),title:Z},D),r.createElement(el,{enableMeasure:ex&&!ej,text:j,rows:eE,width:eH,onEllipsis:eT,expanded:eh,miscDeps:[et,eh,en,N,Y]},(t,n)=>(function(e,t){let{mark:n,code:l,underline:o,delete:i,strong:a,keyboard:c,italic:s}=e,u=t;function d(e,t){t&&(u=r.createElement(e,{},u))}return d("strong",a),d("u",o),d("del",i),d("code",l),d("mark",n),d("kbd",c),d("i",s),u})(e,r.createElement(r.Fragment,null,t.length>0&&n&&!eh&&ez?r.createElement("span",{key:"show-content","aria-hidden":!0},t):t,eL(n)))))))});var ec=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let es=r.forwardRef((e,t)=>{var{ellipsis:n,rel:l}=e,o=ec(e,["ellipsis","rel"]);let i=Object.assign(Object.assign({},o),{rel:void 0===l&&"_blank"===o.target?"noopener noreferrer":l});return delete i.navigate,r.createElement(ea,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),eu=r.forwardRef((e,t)=>r.createElement(ea,Object.assign({ref:t},e,{component:"div"})));var ed=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n},ep=r.forwardRef((e,t)=>{var{ellipsis:n}=e,l=ed(e,["ellipsis"]);let o=r.useMemo(()=>n&&"object"==typeof n?(0,d.Z)(n,["expandable","rows"]):n,[n]);return r.createElement(ea,Object.assign({ref:t},l,{ellipsis:o,component:"span"}))}),ef=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let em=[1,2,3,4,5],eg=r.forwardRef((e,t)=>{let n;let{level:l=1}=e,o=ef(e,["level"]);return n=em.includes(l)?`h${l}`:"h1",r.createElement(ea,Object.assign({ref:t},o,{component:n}))});q.Text=ep,q.Link=es,q.Title=eg,q.Paragraph=eu;var eb=q},94280:function(e,t,n){n.d(t,{G:function(){return i}});var r=n(18943),l=function(e){if((0,r.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},o=function(e,t){if(!l(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function i(e,t){return Array.isArray(e)||void 0===t?l(e):o(e,t)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5858-9304f664d83a1590.js b/dbgpt/app/static/web/_next/static/chunks/5858-9304f664d83a1590.js deleted file mode 100644 index ef7809302..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/5858-9304f664d83a1590.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5858],{18458:function(e,t,l){var s=l(96469),r=l(37022);t.Z=function(e){let{visible:t}=e;return t?(0,s.jsx)("div",{className:"absolute w-full h-full top-0 left-0 flex justify-center items-center z-10 bg-white dark:bg-black bg-opacity-50 dark:bg-opacity-50 backdrop-blur-sm text-3xl animate-fade animate-duration-200",children:(0,s.jsx)(r.Z,{})}):null}},53525:function(e,t,l){var s=l(96469),r=l(27623),n=l(97511),a=l(41999),o=l(67853),i=l(62971),c=l(86776),d=l(27691),u=l(38497),p=l(56841),m=l(7289),f=l(28926);let{Search:x}=a.default;t.Z=()=>{let{t:e}=(0,p.$G)(),[t,l]=(0,u.useState)([]),[a,h]=(0,u.useState)([]),[g,j]=(0,u.useState)([]),[v,b]=(0,u.useState)([]),[y,w]=(0,u.useState)("");async function N(){let[e,t]=await (0,r.Vx)((0,r.As)());if(t&&t.length>0){localStorage.setItem(m.zN,JSON.stringify(t));let e=t.filter(e=>"operator"===e.flow_type),s=t.filter(e=>"resource"===e.flow_type);l(e),h(s),j(_(e)),b(_(s))}}function _(e){let t=[],l={};return e.forEach(e=>{let{category:s,category_label:r}=e;l[s]||(l[s]={category:s,categoryLabel:r,nodes:[]},t.push(l[s])),l[s].nodes.push(e)}),t}(0,u.useEffect)(()=>{N()},[]);let Z=(0,u.useMemo)(()=>{if(!y)return g.map(e=>{let{category:t,categoryLabel:l,nodes:r}=e;return{key:t,label:l,children:(0,s.jsx)(f.Z,{nodes:r}),extra:(0,s.jsx)(o.Z,{showZero:!0,count:r.length||0,style:{backgroundColor:r.length>0?"#52c41a":"#7f9474"}})}});{let e=t.filter(e=>e.label.toLowerCase().includes(y.toLowerCase()));return _(e).map(e=>{let{category:t,categoryLabel:l,nodes:r}=e;return{key:t,label:l,children:(0,s.jsx)(f.Z,{nodes:r}),extra:(0,s.jsx)(o.Z,{showZero:!0,count:r.length||0,style:{backgroundColor:r.length>0?"#52c41a":"#7f9474"}})}})}},[g,y]),k=(0,u.useMemo)(()=>{if(!y)return v.map(e=>{let{category:t,categoryLabel:l,nodes:r}=e;return{key:t,label:l,children:(0,s.jsx)(f.Z,{nodes:r}),extra:(0,s.jsx)(o.Z,{showZero:!0,count:r.length||0,style:{backgroundColor:r.length>0?"#52c41a":"#7f9474"}})}});{let e=a.filter(e=>e.label.toLowerCase().includes(y.toLowerCase()));return _(e).map(e=>{let{category:t,categoryLabel:l,nodes:r}=e;return{key:t,label:l,children:(0,s.jsx)(f.Z,{nodes:r}),extra:(0,s.jsx)(o.Z,{showZero:!0,count:r.length||0,style:{backgroundColor:r.length>0?"#52c41a":"#7f9474"}})}})}},[v,y]);return(0,s.jsx)(i.Z,{placement:"bottom",trigger:["click"],content:(0,s.jsxs)("div",{className:"w-[320px] overflow-hidden overflow-y-auto scrollbar-default",children:[(0,s.jsx)("p",{className:"my-2 font-bold",children:e("add_node")}),(0,s.jsx)(x,{placeholder:"Search node",onSearch:function(e){w(e)}}),(0,s.jsx)("h2",{className:"my-2 ml-2 font-semibold",children:e("operators")}),(0,s.jsx)(c.Z,{className:"max-h-[300px] overflow-hidden overflow-y-auto scrollbar-default",size:"small",defaultActiveKey:[""],items:Z}),(0,s.jsx)("h2",{className:"my-2 ml-2 font-semibold",children:e("resource")}),(0,s.jsx)(c.Z,{className:"max-h-[300px] overflow-hidden overflow-y-auto scrollbar-default",size:"small",defaultActiveKey:[""],items:k})]}),children:(0,s.jsx)(d.ZP,{type:"primary",className:"flex items-center justify-center rounded-full left-4 top-4",style:{zIndex:1050},icon:(0,s.jsx)(n.Z,{})})})}},35748:function(e,t,l){var s=l(96469);l(38497);var r=l(71554);t.Z=e=>{let{id:t,sourceX:l,sourceY:n,targetX:a,targetY:o,sourcePosition:i,targetPosition:c,style:d={},data:u,markerEnd:p}=e,[m,f,x]=(0,r.OQ)({sourceX:l,sourceY:n,sourcePosition:i,targetX:a,targetY:o,targetPosition:c}),h=(0,r._K)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.u5,{id:t,style:d,path:m,markerEnd:p}),(0,s.jsx)("foreignObject",{width:40,height:40,x:f-20,y:x-20,className:"bg-transparent w-10 h-10 relative",requiredExtensions:"http://www.w3.org/1999/xhtml",children:(0,s.jsx)("button",{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-5 h-5 rounded-full bg-stone-400 dark:bg-zinc-700 cursor-pointer text-sm",onClick:e=>{e.stopPropagation(),h.setEdges(h.getEdges().filter(e=>e.id!==t))},children:"\xd7"})})]})}},64919:function(e,t,l){l.d(t,{Z:function(){return A}});var s=l(96469),r=l(23852),n=l.n(r),a=l(60205),o=l(99631),i=l(16156),c=l(41999),d=l(29223),u=l(38497),p=e=>{let{optional:t}=e;return t?null:(0,s.jsx)("span",{className:"text-red-600 align-middle inline-block",children:"\xa0*"})},m=l(70351),f=l(21840),x=l(13419),h=l(71554),g=l(97511),j=l(39600),v=l(56841),b=l(26869),y=l.n(b),w=l(7289),N=l(28926),_=e=>{let{node:t,data:l,type:r,label:n,index:o}=e,{t:i}=(0,v.$G)(),c=(0,h._K)(),[d,b]=u.useState([]);function _(){let e=localStorage.getItem(w.zN);if(!e)return;let s=JSON.parse(e),r=l.type_cls,a=[];"inputs"===n?a=s.filter(e=>"operator"===e.flow_type).filter(e=>{var t;return null===(t=e.outputs)||void 0===t?void 0:t.some(e=>e.type_cls===r&&e.is_list===(null==l?void 0:l.is_list))}):"parameters"===n?a=s.filter(e=>"resource"===e.flow_type).filter(e=>{var t;return null===(t=e.parent_cls)||void 0===t?void 0:t.includes(r)}):"outputs"===n&&("operator"===t.flow_type?a=s.filter(e=>"operator"===e.flow_type).filter(e=>{var t;return null===(t=e.inputs)||void 0===t?void 0:t.some(e=>e.type_cls===r&&e.is_list===(null==l?void 0:l.is_list))}):"resource"===t.flow_type&&(a=s.filter(e=>{var l,s;return(null===(l=e.inputs)||void 0===l?void 0:l.some(e=>{var l;return null===(l=t.parent_cls)||void 0===l?void 0:l.includes(e.type_cls)}))||(null===(s=e.parameters)||void 0===s?void 0:s.some(e=>{var l;return null===(l=t.parent_cls)||void 0===l?void 0:l.includes(e.type_cls)}))}))),b(a)}return(0,s.jsxs)("div",{className:y()("relative flex items-center",{"justify-start":"parameters"===n||"inputs"===n,"justify-end":"outputs"===n}),children:[(0,s.jsx)(h.HH,{className:"w-2 h-2",type:r,position:"source"===r?h.Ly.Right:h.Ly.Left,id:"".concat(t.id,"|").concat(n,"|").concat(o),isValidConnection:e=>(function(e){let{sourceHandle:t,targetHandle:l,source:s,target:r}=e,n=c.getNode(s),a=c.getNode(r),{flow_type:o}=null==n?void 0:n.data,{flow_type:d}=null==a?void 0:a.data,u=null==t?void 0:t.split("|")[1],p=null==l?void 0:l.split("|")[1],f=null==t?void 0:t.split("|")[2],x=null==l?void 0:l.split("|")[2],h=null==a?void 0:a.data[p][x].type_cls;if(o===d&&"operator"===o){let e=null==n?void 0:n.data[u][f].type_cls,t=null==n?void 0:n.data[u][f].is_list,l=null==a?void 0:a.data[p][x].is_list;return e===h&&t===l}if("resource"===o&&("operator"===d||"resource"===d)){let e=null==n?void 0:n.data.parent_cls;return e.includes(h)}return m.ZP.warning(i("connect_warning")),!1})(e)}),(0,s.jsxs)(f.Z,{className:y()("p-2",{"pr-4":"outputs"===n}),children:[(0,s.jsx)(x.Z,{placement:"left",icon:null,showCancel:!1,okButtonProps:{className:"hidden"},title:i("related_nodes"),description:(0,s.jsx)("div",{className:"w-60",children:(0,s.jsx)(N.Z,{nodes:d})}),children:["inputs","parameters"].includes(n)&&(0,s.jsx)(g.Z,{className:"mr-2 cursor-pointer",onClick:_})}),l.type_name,":","outputs"!==n&&(0,s.jsx)(p,{optional:l.optional}),l.description&&(0,s.jsx)(a.Z,{title:l.description,children:(0,s.jsx)(j.Z,{className:"ml-2 cursor-pointer"})}),(0,s.jsx)(x.Z,{placement:"right",icon:null,showCancel:!1,okButtonProps:{className:"hidden"},title:i("related_nodes"),description:(0,s.jsx)("div",{className:"w-60",children:(0,s.jsx)(N.Z,{nodes:d})}),children:["outputs"].includes(n)&&(0,s.jsx)(g.Z,{className:"ml-2 cursor-pointer",onClick:_})})]})]})},Z=e=>{let{node:t,data:l,label:r,index:n}=e;function u(e){l.value=e}if("resource"===l.category)return(0,s.jsx)(_,{node:t,data:l,type:"target",label:r,index:n});if("common"===l.category){let e=null!==l.value&&void 0!==l.value?l.value:l.default;switch(l.type_name){case"int":case"float":return(0,s.jsxs)("div",{className:"p-2 text-sm",children:[(0,s.jsxs)("p",{children:[l.label,":",(0,s.jsx)(p,{optional:l.optional}),l.description&&(0,s.jsx)(a.Z,{title:l.description,children:(0,s.jsx)(j.Z,{className:"ml-2 cursor-pointer"})})]}),(0,s.jsx)(o.Z,{className:"w-full",defaultValue:e,onChange:e=>{u(e)}})]});case"str":var m;return(0,s.jsxs)("div",{className:"p-2 text-sm",children:[(0,s.jsxs)("p",{children:[l.label,":",(0,s.jsx)(p,{optional:l.optional}),l.description&&(0,s.jsx)(a.Z,{title:l.description,children:(0,s.jsx)(j.Z,{className:"ml-2 cursor-pointer"})})]}),(null===(m=l.options)||void 0===m?void 0:m.length)>0?(0,s.jsx)(i.default,{className:"w-full nodrag",defaultValue:e,options:l.options.map(e=>({label:e.label,value:e.value})),onChange:u}):(0,s.jsx)(c.default,{className:"w-full",defaultValue:e,onChange:e=>{u(e.target.value)}})]});case"bool":return e="True"===(e="False"!==e&&e)||e,(0,s.jsx)("div",{className:"p-2 text-sm",children:(0,s.jsxs)("p",{children:[l.label,":",(0,s.jsx)(p,{optional:l.optional}),l.description&&(0,s.jsx)(a.Z,{title:l.description,children:(0,s.jsx)(j.Z,{className:"ml-2 cursor-pointer"})}),(0,s.jsx)(d.Z,{className:"ml-2",defaultChecked:e,onChange:e=>{u(e.target.checked)}})]})})}}},k=l(62971),C=l(67576),S=l(2537),z=e=>{let{children:t,className:l}=e;return(0,s.jsx)("div",{className:y()("flex justify-center items-center w-8 h-8 rounded-full dark:bg-zinc-700 hover:bg-stone-200 dark:hover:bg-zinc-900",l),children:t})},E=l(27970),F=l(44766);function L(e){let{label:t}=e;return(0,s.jsx)("div",{className:"w-full h-8 bg-stone-100 dark:bg-zinc-700 px-2 flex items-center justify-center",children:t})}var A=e=>{let{data:t}=e,{inputs:l,outputs:r,parameters:o,flow_type:i}=t,[c,d]=(0,u.useState)(!1),p=(0,h._K)();return(0,s.jsx)(k.Z,{placement:"rightTop",trigger:["hover"],content:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(z,{className:"hover:text-blue-500",children:(0,s.jsx)(C.Z,{className:"h-full text-lg cursor-pointer",onClick:function(e){e.preventDefault(),e.stopPropagation();let l=p.getNodes(),s=l.find(e=>e.id===t.id);if(s){let e=(0,E.VZ)(s,l),t=(0,F.cloneDeep)(s),r={...t,id:e,position:{x:t.position.x+400,y:t.position.y},positionAbsolute:{x:t.positionAbsolute.x+400,y:t.positionAbsolute.y},data:{...t.data,id:e},selected:!1};p.setNodes(e=>[...e,r])}}})}),(0,s.jsx)(z,{className:"mt-2 hover:text-red-500",children:(0,s.jsx)(S.Z,{className:"h-full text-lg cursor-pointer",onClick:function(e){e.preventDefault(),e.stopPropagation(),p.setNodes(e=>e.filter(e=>e.id!==t.id)),p.setEdges(e=>e.filter(e=>e.source!==t.id&&e.target!==t.id))}})}),(0,s.jsx)(z,{className:"mt-2",children:(0,s.jsx)(a.Z,{title:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{className:"font-bold",children:t.label}),(0,s.jsx)("p",{children:t.description})]}),placement:"right",children:(0,s.jsx)(j.Z,{className:"h-full text-lg cursor-pointer"})})})]}),children:(0,s.jsxs)("div",{className:y()("w-72 h-auto rounded-xl shadow-md p-0 border bg-white dark:bg-zinc-800 cursor-grab",{"border-blue-500":t.selected||c,"border-stone-400 dark:border-white":!t.selected&&!c,"border-dashed":"operator"!==i,"border-red-600":t.invalid}),onMouseEnter:function(){d(!0)},onMouseLeave:function(){d(!1)},children:[(0,s.jsxs)("div",{className:"flex flex-row items-center p-2",children:[(0,s.jsx)(n(),{src:"/icons/node/vis.png",width:24,height:24,alt:""}),(0,s.jsx)("p",{className:"ml-2 text-lg font-bold text-ellipsis overflow-hidden whitespace-nowrap",children:t.label})]}),l&&l.length>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(L,{label:"Inputs"}),(l||[]).map((e,l)=>(0,s.jsx)(_,{node:t,data:e,type:"target",label:"inputs",index:l},"".concat(t.id,"_input_").concat(l)))]}),o&&o.length>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(L,{label:"Parameters"}),(o||[]).map((e,l)=>(0,s.jsx)(Z,{node:t,data:e,label:"parameters",index:l},"".concat(t.id,"_param_").concat(l)))]}),"operator"===i&&(null==r?void 0:r.length)>0?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(L,{label:"Outputs"}),(r||[]).map((e,l)=>(0,s.jsx)(_,{node:t,data:e,type:"source",label:"outputs",index:l},"".concat(t.id,"_input_").concat(l)))]}):"resource"===i?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(L,{label:"Outputs"}),(0,s.jsx)(_,{node:t,data:t,type:"source",label:"outputs",index:0},"".concat(t.id,"_input_0"))]}):void 0]})})}},28926:function(e,t,l){var s=l(96469),r=l(82141),n=l(19629),a=l(97818);l(38497);var o=l(56841);t.Z=e=>{let{nodes:t}=e,{t:l}=(0,o.$G)();return(null==t?void 0:t.length)>0?(0,s.jsx)(r.Z,{className:"overflow-hidden overflow-y-auto w-full",itemLayout:"horizontal",dataSource:t,renderItem:e=>(0,s.jsx)(r.Z.Item,{className:"cursor-move hover:bg-[#F1F5F9] dark:hover:bg-theme-dark p-0 py-2",draggable:!0,onDragStart:t=>{t.dataTransfer.setData("application/reactflow",JSON.stringify(e)),t.dataTransfer.effectAllowed="move"},children:(0,s.jsx)(r.Z.Item.Meta,{className:"flex items-center justify-center",avatar:(0,s.jsx)(n.C,{src:"/icons/node/vis.png",size:"large"}),title:(0,s.jsx)("p",{className:"line-clamp-1 font-medium",children:e.label}),description:(0,s.jsx)("p",{className:"line-clamp-2",children:e.description})})})}):(0,s.jsx)(a.Z,{className:"px-2",description:l("no_node")})}},27970:function(e,t,l){l.d(t,{Rv:function(){return a},VZ:function(){return s},Wf:function(){return r},z5:function(){return n}});let s=(e,t)=>{let l=0;return t.forEach(t=>{t.data.name===e.name&&l++}),"".concat(e.id,"_").concat(l)},r=e=>{let{nodes:t,edges:l,...s}=e,r=t.map(e=>{let{positionAbsolute:t,...l}=e;return{position_absolute:t,...l}}),n=l.map(e=>{let{sourceHandle:t,targetHandle:l,...s}=e;return{source_handle:t,target_handle:l,...s}});return{nodes:r,edges:n,...s}},n=e=>{let{nodes:t,edges:l,...s}=e,r=t.map(e=>{let{position_absolute:t,...l}=e;return{positionAbsolute:t,...l}}),n=l.map(e=>{let{source_handle:t,target_handle:l,...s}=e;return{sourceHandle:t,targetHandle:l,...s}});return{nodes:r,edges:n,...s}},a=e=>{let{nodes:t,edges:l}=e,s=[!0,t[0],""];e:for(let e=0;el.targetHandle==="".concat(t[e].id,"|inputs|").concat(a))){s=[!1,t[e],"The input ".concat(n[a].type_name," of node ").concat(r.label," is required")];break e}for(let n=0;nl.targetHandle==="".concat(t[e].id,"|parameters|").concat(n))){if(!o.optional&&"common"===o.category&&(void 0===o.value||null===o.value)){s=[!1,t[e],"The parameter ".concat(o.type_name," of node ").concat(r.label," is required")];break e}}else{s=[!1,t[e],"The parameter ".concat(o.type_name," of node ").concat(r.label," is required")];break e}}}return s}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5883-639c66c44d1ccf6b.js b/dbgpt/app/static/web/_next/static/chunks/5883-59e02153eafa916f.js similarity index 97% rename from dbgpt/app/static/web/_next/static/chunks/5883-639c66c44d1ccf6b.js rename to dbgpt/app/static/web/_next/static/chunks/5883-59e02153eafa916f.js index 28533c1db..e15d339d1 100644 --- a/dbgpt/app/static/web/_next/static/chunks/5883-639c66c44d1ccf6b.js +++ b/dbgpt/app/static/web/_next/static/chunks/5883-59e02153eafa916f.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5883],{60943:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z"}}]},name:"caret-left",theme:"outlined"},l=r(75651),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},47271:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"},l=r(75651),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},27214:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8s0 .1.1.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8 0 0 0 .1-.1.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7zM620 539v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8v.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8v.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7z"}}]},name:"control",theme:"outlined"},l=r(75651),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},67423:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 472a40 40 0 1080 0 40 40 0 10-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z"}}]},name:"experiment",theme:"outlined"},l=r(75651),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},47309:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},l=r(75651),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},1952:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"}}]},name:"share-alt",theme:"outlined"},l=r(75651),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},629:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},l=r(75651),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},72804:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},l=r(75651),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},77200:function(e,t,r){var n=r(33587),a=r(38497),i=r(60654);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),r=!1;return!function(){(0,n.mG)(this,void 0,void 0,function(){return(0,n.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||r)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){r=!0}},t)}},87674:function(e,t,r){r.d(t,{Z:function(){return h}});var n=r(38497),a=r(26869),i=r.n(a),l=r(63346),o=r(72178),c=r(60848),s=r(90102),d=r(74934);let f=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:a,textPaddingInline:i,orientationMargin:l,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,o.bf)(a)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,o.bf)(a)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,o.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,o.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,o.bf)(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,o.bf)(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,o.bf)(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:r}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:r}}})}};var g=(0,s.I$)("Divider",e=>{let t=(0,d.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[f(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},h=e=>{let{getPrefixCls:t,direction:r,divider:a}=n.useContext(l.E_),{prefixCls:o,type:c="horizontal",orientation:s="center",orientationMargin:d,className:f,rootClassName:h,children:b,dashed:m,variant:p="solid",plain:v,style:x}=e,$=u(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),y=t("divider",o),[w,z,S]=g(y),E=!!b,O="left"===s&&null!=d,j="right"===s&&null!=d,B=i()(y,null==a?void 0:a.className,z,S,`${y}-${c}`,{[`${y}-with-text`]:E,[`${y}-with-text-${s}`]:E,[`${y}-dashed`]:!!m,[`${y}-${p}`]:"solid"!==p,[`${y}-plain`]:!!v,[`${y}-rtl`]:"rtl"===r,[`${y}-no-default-orientation-margin-left`]:O,[`${y}-no-default-orientation-margin-right`]:j},f,h),C=n.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),k=Object.assign(Object.assign({},O&&{marginLeft:C}),j&&{marginRight:C});return w(n.createElement("div",Object.assign({className:B,style:Object.assign(Object.assign({},null==a?void 0:a.style),x)},$,{role:"separator"}),b&&"vertical"!==c&&n.createElement("span",{className:`${y}-inner-text`,style:k},b)))}},58898:function(e,t,r){r.d(t,{Z:function(){return E}});var n=r(38497),a=r(26869),i=r.n(a),l=r(55598),o=r(42041),c=r(63346),s=r(90102),d=r(74934);let f=["wrap","nowrap","wrap-reverse"],g=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],u=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let r=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${r}`]:r&&f.includes(r)}},b=(e,t)=>{let r={};return u.forEach(n=>{r[`${e}-align-${n}`]=t.align===n}),r[`${e}-align-stretch`]=!t.align&&!!t.vertical,r},m=(e,t)=>{let r={};return g.forEach(n=>{r[`${e}-justify-${n}`]=t.justify===n}),r},p=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},v=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},x=e=>{let{componentCls:t}=e,r={};return f.forEach(e=>{r[`${t}-wrap-${e}`]={flexWrap:e}}),r},$=e=>{let{componentCls:t}=e,r={};return u.forEach(e=>{r[`${t}-align-${e}`]={alignItems:e}}),r},y=e=>{let{componentCls:t}=e,r={};return g.forEach(e=>{r[`${t}-justify-${e}`]={justifyContent:e}}),r};var w=(0,s.I$)("Flex",e=>{let{paddingXS:t,padding:r,paddingLG:n}=e,a=(0,d.IX)(e,{flexGapSM:t,flexGap:r,flexGapLG:n});return[p(a),v(a),x(a),$(a),y(a)]},()=>({}),{resetStyle:!1}),z=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let S=n.forwardRef((e,t)=>{let{prefixCls:r,rootClassName:a,className:s,style:d,flex:f,gap:g,children:u,vertical:p=!1,component:v="div"}=e,x=z(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:$,direction:y,getPrefixCls:S}=n.useContext(c.E_),E=S("flex",r),[O,j,B]=w(E),C=null!=p?p:null==$?void 0:$.vertical,k=i()(s,a,null==$?void 0:$.className,E,j,B,i()(Object.assign(Object.assign(Object.assign({},h(E,e)),b(E,e)),m(E,e))),{[`${E}-rtl`]:"rtl"===y,[`${E}-gap-${g}`]:(0,o.n)(g),[`${E}-vertical`]:C}),Z=Object.assign(Object.assign({},null==$?void 0:$.style),d);return f&&(Z.flex=f),g&&!(0,o.n)(g)&&(Z.gap=g),O(n.createElement(v,Object.assign({ref:t,className:k,style:Z},(0,l.Z)(x,["justify","wrap","align"])),u))});var E=S},41993:function(e,t,r){r.d(t,{default:function(){return E}});var n=r(72991),a=r(38497),i=r(26869),l=r.n(i),o=r(55598),c=r(63346),s=r(45391),d=r(10469),f=r(38974),g=r(72178),u=r(90102),h=e=>{let{componentCls:t,bodyBg:r,lightSiderBg:n,lightTriggerBg:a,lightTriggerColor:i}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:i,background:a},[`${t}-sider-zero-width-trigger`]:{color:i,background:a,border:`1px solid ${r}`,borderInlineStart:0}}}};let b=e=>{let{antCls:t,componentCls:r,colorText:n,triggerColor:a,footerBg:i,triggerBg:l,headerHeight:o,headerPadding:c,headerColor:s,footerPadding:d,triggerHeight:f,zeroTriggerHeight:u,zeroTriggerWidth:b,motionDurationMid:m,motionDurationSlow:p,fontSize:v,borderRadius:x,bodyBg:$,headerBg:y,siderBg:w}=e;return{[r]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:$,"&, *":{boxSizing:"border-box"},[`&${r}-has-sider`]:{flexDirection:"row",[`> ${r}, > ${r}-content`]:{width:0}},[`${r}-header, &${r}-footer`]:{flex:"0 0 auto"},[`${r}-sider`]:{position:"relative",minWidth:0,background:w,transition:`all ${m}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:a,lineHeight:(0,g.bf)(f),textAlign:"center",background:l,cursor:"pointer",transition:`all ${m}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:o,insetInlineEnd:e.calc(b).mul(-1).equal(),zIndex:1,width:b,height:u,color:a,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:w,borderStartStartRadius:0,borderStartEndRadius:x,borderEndEndRadius:x,borderEndStartRadius:0,cursor:"pointer",transition:`background ${p} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${p}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(b).mul(-1).equal(),borderStartStartRadius:x,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:x}}}}},h(e)),{"&-rtl":{direction:"rtl"}}),[`${r}-header`]:{height:o,padding:c,color:s,lineHeight:(0,g.bf)(o),background:y,[`${t}-menu`]:{lineHeight:"inherit"}},[`${r}-footer`]:{padding:d,color:n,fontSize:v,background:i},[`${r}-content`]:{flex:"auto",color:n,minHeight:0}}};var m=(0,u.I$)("Layout",e=>[b(e)],e=>{let{colorBgLayout:t,controlHeight:r,controlHeightLG:n,colorText:a,controlHeightSM:i,marginXXS:l,colorTextLightSolid:o,colorBgContainer:c}=e,s=1.25*n;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*r,headerPadding:`0 ${s}px`,headerColor:a,footerPadding:`${i}px ${s}px`,footerBg:t,siderBg:"#001529",triggerHeight:n+2*l,triggerBg:"#002140",triggerColor:o,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:a}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};function v(e){let{suffixCls:t,tagName:r,displayName:n}=e;return e=>{let n=a.forwardRef((n,i)=>a.createElement(e,Object.assign({ref:i,suffixCls:t,tagName:r},n)));return n}}let x=a.forwardRef((e,t)=>{let{prefixCls:r,suffixCls:n,className:i,tagName:o}=e,s=p(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:d}=a.useContext(c.E_),f=d("layout",r),[g,u,h]=m(f),b=n?`${f}-${n}`:f;return g(a.createElement(o,Object.assign({className:l()(r||b,i,u,h),ref:t},s)))}),$=a.forwardRef((e,t)=>{let{direction:r}=a.useContext(c.E_),[i,g]=a.useState([]),{prefixCls:u,className:h,rootClassName:b,children:v,hasSider:x,tagName:$,style:y}=e,w=p(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),z=(0,o.Z)(w,["suffixCls"]),{getPrefixCls:S,layout:E}=a.useContext(c.E_),O=S("layout",u),j=function(e,t,r){if("boolean"==typeof r)return r;if(e.length)return!0;let n=(0,d.Z)(t);return n.some(e=>e.type===f.Z)}(i,v,x),[B,C,k]=m(O),Z=l()(O,{[`${O}-has-sider`]:j,[`${O}-rtl`]:"rtl"===r},null==E?void 0:E.className,h,b,C,k),N=a.useMemo(()=>({siderHook:{addSider:e=>{g(t=>[].concat((0,n.Z)(t),[e]))},removeSider:e=>{g(t=>t.filter(t=>t!==e))}}}),[]);return B(a.createElement(s.V.Provider,{value:N},a.createElement($,Object.assign({ref:t,className:Z,style:Object.assign(Object.assign({},null==E?void 0:E.style),y)},z),v)))}),y=v({tagName:"div",displayName:"Layout"})($),w=v({suffixCls:"header",tagName:"header",displayName:"Header"})(x),z=v({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(x),S=v({suffixCls:"content",tagName:"main",displayName:"Content"})(x);y.Header=w,y.Footer=z,y.Content=S,y.Sider=f.Z,y._InternalSiderContext=f.D;var E=y}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5883],{60943:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z"}}]},name:"caret-left",theme:"outlined"},l=r(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},47271:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"},l=r(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},27214:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8s0 .1.1.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8 0 0 0 .1-.1.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7zM620 539v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8v.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8v.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7z"}}]},name:"control",theme:"outlined"},l=r(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},67423:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 472a40 40 0 1080 0 40 40 0 10-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z"}}]},name:"experiment",theme:"outlined"},l=r(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},47309:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},l=r(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},1952:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"}}]},name:"share-alt",theme:"outlined"},l=r(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},629:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},l=r(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},72804:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(42096),a=r(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},l=r(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},77200:function(e,t,r){var n=r(33587),a=r(38497),i=r(60654);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),r=!1;return!function(){(0,n.mG)(this,void 0,void 0,function(){return(0,n.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||r)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){r=!0}},t)}},87674:function(e,t,r){r.d(t,{Z:function(){return h}});var n=r(38497),a=r(26869),i=r.n(a),l=r(63346),o=r(38083),c=r(60848),s=r(90102),d=r(74934);let f=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:a,textPaddingInline:i,orientationMargin:l,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,o.bf)(a)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,o.bf)(a)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,o.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,o.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,o.bf)(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,o.bf)(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,o.bf)(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:r}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:r}}})}};var g=(0,s.I$)("Divider",e=>{let t=(0,d.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[f(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},h=e=>{let{getPrefixCls:t,direction:r,divider:a}=n.useContext(l.E_),{prefixCls:o,type:c="horizontal",orientation:s="center",orientationMargin:d,className:f,rootClassName:h,children:b,dashed:m,variant:p="solid",plain:v,style:x}=e,$=u(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),y=t("divider",o),[w,z,S]=g(y),E=!!b,O="left"===s&&null!=d,j="right"===s&&null!=d,B=i()(y,null==a?void 0:a.className,z,S,`${y}-${c}`,{[`${y}-with-text`]:E,[`${y}-with-text-${s}`]:E,[`${y}-dashed`]:!!m,[`${y}-${p}`]:"solid"!==p,[`${y}-plain`]:!!v,[`${y}-rtl`]:"rtl"===r,[`${y}-no-default-orientation-margin-left`]:O,[`${y}-no-default-orientation-margin-right`]:j},f,h),C=n.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),k=Object.assign(Object.assign({},O&&{marginLeft:C}),j&&{marginRight:C});return w(n.createElement("div",Object.assign({className:B,style:Object.assign(Object.assign({},null==a?void 0:a.style),x)},$,{role:"separator"}),b&&"vertical"!==c&&n.createElement("span",{className:`${y}-inner-text`,style:k},b)))}},58898:function(e,t,r){r.d(t,{Z:function(){return E}});var n=r(38497),a=r(26869),i=r.n(a),l=r(55598),o=r(42041),c=r(63346),s=r(90102),d=r(74934);let f=["wrap","nowrap","wrap-reverse"],g=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],u=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let r=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${r}`]:r&&f.includes(r)}},b=(e,t)=>{let r={};return u.forEach(n=>{r[`${e}-align-${n}`]=t.align===n}),r[`${e}-align-stretch`]=!t.align&&!!t.vertical,r},m=(e,t)=>{let r={};return g.forEach(n=>{r[`${e}-justify-${n}`]=t.justify===n}),r},p=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},v=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},x=e=>{let{componentCls:t}=e,r={};return f.forEach(e=>{r[`${t}-wrap-${e}`]={flexWrap:e}}),r},$=e=>{let{componentCls:t}=e,r={};return u.forEach(e=>{r[`${t}-align-${e}`]={alignItems:e}}),r},y=e=>{let{componentCls:t}=e,r={};return g.forEach(e=>{r[`${t}-justify-${e}`]={justifyContent:e}}),r};var w=(0,s.I$)("Flex",e=>{let{paddingXS:t,padding:r,paddingLG:n}=e,a=(0,d.IX)(e,{flexGapSM:t,flexGap:r,flexGapLG:n});return[p(a),v(a),x(a),$(a),y(a)]},()=>({}),{resetStyle:!1}),z=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let S=n.forwardRef((e,t)=>{let{prefixCls:r,rootClassName:a,className:s,style:d,flex:f,gap:g,children:u,vertical:p=!1,component:v="div"}=e,x=z(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:$,direction:y,getPrefixCls:S}=n.useContext(c.E_),E=S("flex",r),[O,j,B]=w(E),C=null!=p?p:null==$?void 0:$.vertical,k=i()(s,a,null==$?void 0:$.className,E,j,B,i()(Object.assign(Object.assign(Object.assign({},h(E,e)),b(E,e)),m(E,e))),{[`${E}-rtl`]:"rtl"===y,[`${E}-gap-${g}`]:(0,o.n)(g),[`${E}-vertical`]:C}),Z=Object.assign(Object.assign({},null==$?void 0:$.style),d);return f&&(Z.flex=f),g&&!(0,o.n)(g)&&(Z.gap=g),O(n.createElement(v,Object.assign({ref:t,className:k,style:Z},(0,l.Z)(x,["justify","wrap","align"])),u))});var E=S},41993:function(e,t,r){r.d(t,{default:function(){return E}});var n=r(72991),a=r(38497),i=r(26869),l=r.n(i),o=r(55598),c=r(63346),s=r(45391),d=r(10469),f=r(52835),g=r(38083),u=r(90102),h=e=>{let{componentCls:t,bodyBg:r,lightSiderBg:n,lightTriggerBg:a,lightTriggerColor:i}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:i,background:a},[`${t}-sider-zero-width-trigger`]:{color:i,background:a,border:`1px solid ${r}`,borderInlineStart:0}}}};let b=e=>{let{antCls:t,componentCls:r,colorText:n,triggerColor:a,footerBg:i,triggerBg:l,headerHeight:o,headerPadding:c,headerColor:s,footerPadding:d,triggerHeight:f,zeroTriggerHeight:u,zeroTriggerWidth:b,motionDurationMid:m,motionDurationSlow:p,fontSize:v,borderRadius:x,bodyBg:$,headerBg:y,siderBg:w}=e;return{[r]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:$,"&, *":{boxSizing:"border-box"},[`&${r}-has-sider`]:{flexDirection:"row",[`> ${r}, > ${r}-content`]:{width:0}},[`${r}-header, &${r}-footer`]:{flex:"0 0 auto"},[`${r}-sider`]:{position:"relative",minWidth:0,background:w,transition:`all ${m}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:a,lineHeight:(0,g.bf)(f),textAlign:"center",background:l,cursor:"pointer",transition:`all ${m}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:o,insetInlineEnd:e.calc(b).mul(-1).equal(),zIndex:1,width:b,height:u,color:a,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:w,borderStartStartRadius:0,borderStartEndRadius:x,borderEndEndRadius:x,borderEndStartRadius:0,cursor:"pointer",transition:`background ${p} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${p}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(b).mul(-1).equal(),borderStartStartRadius:x,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:x}}}}},h(e)),{"&-rtl":{direction:"rtl"}}),[`${r}-header`]:{height:o,padding:c,color:s,lineHeight:(0,g.bf)(o),background:y,[`${t}-menu`]:{lineHeight:"inherit"}},[`${r}-footer`]:{padding:d,color:n,fontSize:v,background:i},[`${r}-content`]:{flex:"auto",color:n,minHeight:0}}};var m=(0,u.I$)("Layout",e=>[b(e)],e=>{let{colorBgLayout:t,controlHeight:r,controlHeightLG:n,colorText:a,controlHeightSM:i,marginXXS:l,colorTextLightSolid:o,colorBgContainer:c}=e,s=1.25*n;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*r,headerPadding:`0 ${s}px`,headerColor:a,footerPadding:`${i}px ${s}px`,footerBg:t,siderBg:"#001529",triggerHeight:n+2*l,triggerBg:"#002140",triggerColor:o,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:a}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};function v(e){let{suffixCls:t,tagName:r,displayName:n}=e;return e=>{let n=a.forwardRef((n,i)=>a.createElement(e,Object.assign({ref:i,suffixCls:t,tagName:r},n)));return n}}let x=a.forwardRef((e,t)=>{let{prefixCls:r,suffixCls:n,className:i,tagName:o}=e,s=p(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:d}=a.useContext(c.E_),f=d("layout",r),[g,u,h]=m(f),b=n?`${f}-${n}`:f;return g(a.createElement(o,Object.assign({className:l()(r||b,i,u,h),ref:t},s)))}),$=a.forwardRef((e,t)=>{let{direction:r}=a.useContext(c.E_),[i,g]=a.useState([]),{prefixCls:u,className:h,rootClassName:b,children:v,hasSider:x,tagName:$,style:y}=e,w=p(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),z=(0,o.Z)(w,["suffixCls"]),{getPrefixCls:S,layout:E}=a.useContext(c.E_),O=S("layout",u),j=function(e,t,r){if("boolean"==typeof r)return r;if(e.length)return!0;let n=(0,d.Z)(t);return n.some(e=>e.type===f.Z)}(i,v,x),[B,C,k]=m(O),Z=l()(O,{[`${O}-has-sider`]:j,[`${O}-rtl`]:"rtl"===r},null==E?void 0:E.className,h,b,C,k),N=a.useMemo(()=>({siderHook:{addSider:e=>{g(t=>[].concat((0,n.Z)(t),[e]))},removeSider:e=>{g(t=>t.filter(t=>t!==e))}}}),[]);return B(a.createElement(s.V.Provider,{value:N},a.createElement($,Object.assign({ref:t,className:Z,style:Object.assign(Object.assign({},null==E?void 0:E.style),y)},z),v)))}),y=v({tagName:"div",displayName:"Layout"})($),w=v({suffixCls:"header",tagName:"header",displayName:"Header"})(x),z=v({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(x),S=v({suffixCls:"content",tagName:"main",displayName:"Content"})(x);y.Header=w,y.Footer=z,y.Content=S,y.Sider=f.Z,y._InternalSiderContext=f.D;var E=y}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5891-48d547820f495af8.js b/dbgpt/app/static/web/_next/static/chunks/5891-48d547820f495af8.js new file mode 100644 index 000000000..7e43fb5e1 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5891-48d547820f495af8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5891],{93743:function(e,t,l){l.d(t,{_:function(){return I},a:function(){return D}});var a=l(96469),n=l(39069),r=l(38437),s=l(30994),i=l(10755),c=l(60205),d=l(27691),o=l(97818),u=l(30813),m=l(42988),h=l(2),x=l(98922),p=l(44766);let v=e=>{let{charts:t,scopeOfCharts:l,ruleConfig:a}=e,n={};if(null==t||t.forEach(e=>{if(e.chartKnowledge.toSpec){let t=e.chartKnowledge.toSpec;e.chartKnowledge.toSpec=(e,l)=>({...t(e,l),dataProps:l})}else e.chartKnowledge.toSpec=(e,t)=>({dataProps:t});n[e.chartType]=e.chartKnowledge}),(null==l?void 0:l.exclude)&&l.exclude.forEach(e=>{Object.keys(n).includes(e)&&delete n[e]}),null==l?void 0:l.include){let e=l.include;Object.keys(n).forEach(t=>{e.includes(t)||delete n[t]})}let r={...l,custom:n},s={...a},i=new h.w({ckbCfg:r,ruleCfg:s});return i},g=e=>{var t;let{data:l,dataMetaMap:a,myChartAdvisor:n}=e,r=a?Object.keys(a).map(e=>({name:e,...a[e]})):null,s=new x.Z(l).info(),i=(0,p.size)(s)>2?null==s?void 0:s.filter(e=>"string"!==e.recommendation&&"date"!==e.recommendation||e.distinct&&e.distinct>1):s,c=null==n?void 0:n.adviseWithLog({data:l,dataProps:r,fields:null==i?void 0:i.map(e=>e.name)});return null!==(t=null==c?void 0:c.advices)&&void 0!==t?t:[]};var j=l(38497);function f(e,t){return t.every(t=>e.includes(t))}function y(e,t){let l=t.find(t=>t.name===e);return(null==l?void 0:l.recommendation)==="date"?t=>new Date(t[e]):e}function b(e){return e.find(e=>{var t;return e.levelOfMeasurements&&(t=e.levelOfMeasurements,["Time","Ordinal"].some(e=>t.includes(e)))})}function N(e){return e.find(e=>e.levelOfMeasurements&&f(e.levelOfMeasurements,["Nominal"]))}let _=e=>{let{data:t,xField:l}=e,a=(0,p.uniq)(t.map(e=>e[l]));return a.length<=1},k=(e,t,l)=>{let{field4Split:a,field4X:n}=l;if((null==a?void 0:a.name)&&(null==n?void 0:n.name)){let l=e[a.name],r=t.filter(e=>a.name&&e[a.name]===l);return _({data:r,xField:n.name})?5:void 0}return(null==n?void 0:n.name)&&_({data:t,xField:n.name})?5:void 0},Z=e=>{let{data:t,chartType:l,xField:a}=e,n=(0,p.cloneDeep)(t);try{if(l.includes("line")&&(null==a?void 0:a.name)&&"date"===a.recommendation)return n.sort((e,t)=>new Date(e[a.name]).getTime()-new Date(t[a.name]).getTime()),n;l.includes("line")&&(null==a?void 0:a.name)&&["float","integer"].includes(a.recommendation)&&n.sort((e,t)=>e[a.name]-t[a.name])}catch(e){console.error(e)}return n},w=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return e.map(e=>{let l={};return Object.keys(e).forEach(a=>{l[a]=e[a]===t?null:e[a]}),l})},C="multi_line_chart",S="multi_measure_line_chart",O=[{chartType:"multi_line_chart",chartKnowledge:{id:C,name:"multi_line_chart",alias:["multi_line_chart"],family:["LineCharts"],def:"multi_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{var l,a;let n=b(t),r=N(t),s=null!==(l=null!=n?n:r)&&void 0!==l?l:t[0],i=t.filter(e=>e.name!==(null==s?void 0:s.name)),c=null!==(a=i.filter(e=>e.levelOfMeasurements&&f(e.levelOfMeasurements,["Interval"])))&&void 0!==a?a:[i[0]],d=i.filter(e=>!c.find(t=>t.name===e.name)).find(e=>e.levelOfMeasurements&&f(e.levelOfMeasurements,["Nominal"]));if(!s||!c)return null;let o={type:"view",autoFit:!0,data:Z({data:e,chartType:C,xField:s}),children:[]};return c.forEach(l=>{let a={type:"line",encode:{x:y(s.name,t),y:l.name,size:t=>k(t,e,{field4Split:d,field4X:s})},legend:{size:!1}};d&&(a.encode.color=d.name),o.children.push(a)}),o}},chineseName:"折线图"},{chartType:"multi_measure_column_chart",chartKnowledge:{id:"multi_measure_column_chart",name:"multi_measure_column_chart",alias:["multi_measure_column_chart"],family:["ColumnCharts"],def:"multi_measure_column_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{let l=null==t?void 0:t.filter(e=>f(e.levelOfMeasurements,["Interval"])),a=N(t),n=b(t),r=null!=a?a:n;if(!r||!l)return null;let s={type:"view",data:e,children:[]};return null==l||l.forEach(e=>{let t={type:"interval",encode:{x:r.name,y:e.name,color:()=>e.name,series:()=>e.name}};s.children.push(t)}),s}catch(e){return console.log(e),null}}},chineseName:"折线图"},{chartType:"multi_measure_line_chart",chartKnowledge:{id:S,name:"multi_measure_line_chart",alias:["multi_measure_line_chart"],family:["LineCharts"],def:"multi_measure_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{var l,a;let n=null!==(a=null!==(l=N(t))&&void 0!==l?l:b(t))&&void 0!==a?a:t[0],r=null==t?void 0:t.filter(e=>e.name!==(null==n?void 0:n.name)&&f(e.levelOfMeasurements,["Interval"]));if(!n||!r)return null;let s={type:"view",data:Z({data:e,chartType:S,xField:n}),children:[]};return null==r||r.forEach(l=>{let a={type:"line",encode:{x:y(n.name,t),y:l.name,color:()=>l.name,series:()=>l.name,size:t=>k(t,e,{field4X:n})},legend:{size:!1}};s.children.push(a)}),s}catch(e){return console.log(e),null}}},chineseName:"折线图"}];var P=l(45277);let E=e=>{if(!e)return;let t=e.getContainer(),l=t.getElementsByTagName("canvas")[0];return l};var T=l(91158);let D=e=>"response_line_chart"===e?["multi_line_chart","multi_measure_line_chart"]:"response_bar_chart"===e?["multi_measure_column_chart"]:"response_pie_chart"===e?["pie_chart"]:"response_scatter_chart"===e?["scatter_plot"]:"response_area_chart"===e?["area_chart"]:"response_heatmap_chart"===e?["heatmap"]:[],{Option:M}=n.default,I=e=>{let{data:t,chartType:l,scopeOfCharts:h,ruleConfig:x}=e,f=w(t),{mode:y}=(0,j.useContext)(P.p),[b,N]=(0,j.useState)(),[_,k]=(0,j.useState)([]),[C,S]=(0,j.useState)(),D=(0,j.useRef)();(0,j.useEffect)(()=>{N(v({charts:O,scopeOfCharts:{exclude:["area_chart","stacked_area_chart","percent_stacked_area_chart"]},ruleConfig:x}))},[x,h]);let I=e=>{if(!b)return[];let t=function(e){let{advices:t}=e;return t}({advices:e}),a=(0,p.uniq)((0,p.compact)((0,p.concat)(l,e.map(e=>e.type)))),n=a.map(e=>{let l=t.find(t=>t.type===e);if(l)return l;let a=b.dataAnalyzer.execute({data:f});if("data"in a){var n;let t=b.specGenerator.execute({data:a.data,dataProps:a.dataProps,chartTypeRecommendations:[{chartType:e,score:1}]});if("advices"in t)return null===(n=t.advices)||void 0===n?void 0:n[0]}}).filter(e=>null==e?void 0:e.spec);return n};(0,j.useEffect)(()=>{if(f&&b){var e;let t=g({data:f,myChartAdvisor:b}),l=I(t);k(l),S(null===(e=l[0])||void 0===e?void 0:e.type)}},[JSON.stringify(f),b,l]);let R=(0,j.useMemo)(()=>{if((null==_?void 0:_.length)>0){var e,t,l,n;let r=null!=C?C:_[0].type,s=null!==(t=null===(e=null==_?void 0:_.find(e=>e.type===r))||void 0===e?void 0:e.spec)&&void 0!==t?t:void 0;if(s){if(s.data&&["line_chart","step_line_chart"].includes(r)){let e=null==b?void 0:b.dataAnalyzer.execute({data:f});e&&"dataProps"in e&&(s.data=Z({data:s.data,xField:null===(n=e.dataProps)||void 0===n?void 0:n.find(e=>"date"===e.recommendation),chartType:r}))}return"pie_chart"===r&&(null==s?void 0:null===(l=s.encode)||void 0===l?void 0:l.color)&&(s.tooltip={title:{field:s.encode.color}}),(0,a.jsx)(u.k,{options:{...s,autoFit:!0,theme:y,height:300},ref:D},r)}}},[_,y,C]);return C?(0,a.jsxs)("div",{children:[(0,a.jsxs)(r.Z,{justify:"space-between",className:"mb-2",children:[(0,a.jsx)(s.Z,{children:(0,a.jsxs)(i.Z,{children:[(0,a.jsx)("span",{children:m.Z.t("Advices")}),(0,a.jsx)(n.default,{className:"w-52",value:C,placeholder:"Chart Switcher",onChange:e=>S(e),size:"small",children:null==_?void 0:_.map(e=>{let t=m.Z.t(e.type);return(0,a.jsx)(M,{value:e.type,children:(0,a.jsx)(c.Z,{title:t,placement:"right",children:(0,a.jsx)("div",{children:t})})},e.type)})})]})}),(0,a.jsx)(s.Z,{children:(0,a.jsx)(c.Z,{title:m.Z.t("Download"),children:(0,a.jsx)(d.ZP,{onClick:()=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Chart",l=document.createElement("a"),a="".concat(t,".png");setTimeout(()=>{let t=function(e){let t=E(e);if(t){let e=t.toDataURL("image/png");return e}}(e);if(t){l.addEventListener("click",()=>{l.download=a,l.href=t});let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),l.dispatchEvent(e)}},16)})(D.current,m.Z.t(C)),icon:(0,a.jsx)(T.Z,{}),type:"text"})})})]}),(0,a.jsx)("div",{className:"flex",children:R})]}):(0,a.jsx)(o.Z,{image:o.Z.PRESENTED_IMAGE_SIMPLE,description:"暂无合适的可视化视图"})}},45045:function(e,t,l){l.d(t,{_z:function(){return p._},ZP:function(){return v},aG:function(){return p.a}});var a=l(96469),n=l(49841),r=l(62715),s=l(81630),i=l(45277),c=l(30813),d=l(38497);function o(e){let{chart:t}=e,{mode:l}=(0,d.useContext)(i.p);return(0,a.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,a.jsxs)("div",{className:"h-full",children:[(0,a.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,a.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,a.jsx)("div",{className:"h-[300px]",children:(0,a.jsx)(c.k,{style:{height:"100%"},options:{autoFit:!0,theme:l,type:"interval",data:t.values,encode:{x:"name",y:"value",color:"type"},axis:{x:{labelAutoRotate:!1}}}})})]})})}function u(e){let{chart:t}=e,{mode:l}=(0,d.useContext)(i.p);return(0,a.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,a.jsxs)("div",{className:"h-full",children:[(0,a.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,a.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,a.jsx)("div",{className:"h-[300px]",children:(0,a.jsx)(c.k,{style:{height:"100%"},options:{autoFit:!0,theme:l,type:"view",data:t.values,children:[{type:"line",encode:{x:"name",y:"value",color:"type",shape:"smooth"}},{type:"area",encode:{x:"name",y:"value",color:"type",shape:"smooth"},legend:!1,style:{fillOpacity:.15}}],axis:{x:{labelAutoRotate:!1}}}})})]})})}var m=l(84832),h=l(44766);function x(e){var t,l;let{chart:n}=e,r=(0,h.groupBy)(n.values,"type");return(0,a.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,a.jsxs)("div",{className:"h-full",children:[(0,a.jsx)("div",{className:"mb-2",children:n.chart_name}),(0,a.jsx)("div",{className:"opacity-80 text-sm mb-2",children:n.chart_desc}),(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsxs)(m.Z,{"aria-label":"basic table",stripe:"odd",hoverRow:!0,borderAxis:"bothBetween",children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:Object.keys(r).map(e=>(0,a.jsx)("th",{children:e},e))})}),(0,a.jsx)("tbody",{children:null===(t=Object.values(r))||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.map((e,t)=>{var l;return(0,a.jsx)("tr",{children:null===(l=Object.keys(r))||void 0===l?void 0:l.map(e=>{var l;return(0,a.jsx)("td",{children:(null==r?void 0:null===(l=r[e])||void 0===l?void 0:l[t].value)||""},e)})},t)})})]})})]})})}var p=l(93743),v=function(e){let{chartsData:t}=e;console.log(t,"xxx");let l=(0,d.useMemo)(()=>{if(t){let e=[],l=null==t?void 0:t.filter(e=>"IndicatorValue"===e.chart_type);l.length>0&&e.push({charts:l,type:"IndicatorValue"});let a=null==t?void 0:t.filter(e=>"IndicatorValue"!==e.chart_type),n=a.length,r=0;return[[0],[1],[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]][n].forEach(t=>{if(t>0){let l=a.slice(r,r+t);r+=t,e.push({charts:l})}}),e}},[t]);return(0,a.jsx)("div",{className:"flex flex-col gap-3",children:null==l?void 0:l.map((e,t)=>(0,a.jsx)("div",{className:"".concat((null==e?void 0:e.type)!=="IndicatorValue"?"flex gap-3":""),children:e.charts.map(e=>"IndicatorValue"===e.chart_type||"IndicatorValue"===e.type?(0,a.jsx)("div",{className:"flex flex-row gap-3",children:e.values.map(e=>(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)(n.Z,{sx:{background:"transparent"},children:(0,a.jsxs)(r.Z,{className:"justify-around",children:[(0,a.jsx)(s.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,a.jsx)(s.ZP,{children:e.value})]})})},e.name))},e.chart_uid):"LineChart"===e.chart_type||"LineChart"===e.type?(0,a.jsx)(u,{chart:e},e.chart_uid):"BarChart"===e.chart_type||"BarChart"===e.type?(0,a.jsx)(o,{chart:e},e.chart_uid):"Table"===e.chart_type||"TableChartData"===e.type?(0,a.jsx)(x,{chart:e},e.chart_uid):void 0)},"chart_row_".concat(t)))})}},2242:function(e,t,l){l.d(t,{Z:function(){return eN}});var a=l(96469),n=l(86959),r=l(56010),s=l(50374),i=l(50730),c=l(11576),d=l(48339),o=l(49030),u=l(4162),m=l(5996),h=l(45045),x=l(75798),p=l(92677),v=l(61977),g=l(38970),j=l(26657),f=l(85851),y=l(87674),b=l(51657),N=l(87313),_=l(38497);let k=e=>{let{references:t}=e,l=(0,N.useRouter)(),[r,s]=(0,_.useState)(!1),i=(0,_.useMemo)(()=>l.pathname.includes("/mobile"),[l]),c=(0,_.useMemo)(()=>{var e;return null==t?void 0:null===(e=t.knowledge)||void 0===e?void 0:e.map(e=>{var t;return{label:(0,a.jsx)("div",{style:{maxWidth:"120px"},children:(0,a.jsx)(f.Z.Text,{ellipsis:{tooltip:e.name},children:decodeURIComponent(e.name).split("_")[0]})}),key:e.name,children:(0,a.jsx)("div",{className:"h-full overflow-y-auto",children:null==e?void 0:null===(t=e.chunks)||void 0===t?void 0:t.map(e=>(0,a.jsx)(j.default,{children:e.content},e.id))})}})},[t]);return(0,a.jsxs)("div",{children:[(0,a.jsx)(y.Z,{className:"mb-1 mt-0",dashed:!0}),(0,a.jsxs)("div",{className:"flex text-sm gap-2 text-blue-400",onClick:()=>s(!0),children:[(0,a.jsx)(n.Z,{}),(0,a.jsx)("span",{className:"text-sm",children:"查看回复引用"})]}),(0,a.jsx)(b.Z,{open:r,title:"回复引用",placement:i?"bottom":"right",onClose:()=>s(!1),destroyOnClose:!0,className:"p-0",...!i&&{width:"30%"},children:(0,a.jsx)(m.Z,{items:c,size:"small"})})]})};var Z=e=>{let{references:t}=e;try{let e=JSON.parse(t);return(0,a.jsx)(k,{references:e})}catch(e){return null}},w=function(e){let{data:t}=e;return t&&t.length?(0,a.jsx)(a.Fragment,{children:t.map((e,t)=>(0,a.jsxs)("div",{className:"rounded",children:[(0,a.jsxs)("div",{className:"flex items-center mb-3 text-sm",children:[e.model?(0,a.jsx)(v.Z,{model:e.model}):(0,a.jsx)("div",{className:"rounded-full w-6 h-6 bg-gray-100"}),(0,a.jsxs)("div",{className:"ml-2 opacity-70",children:[e.sender,(0,a.jsx)(g.Z,{className:"mx-2 text-base"}),e.receiver]})]}),(0,a.jsx)("div",{className:"whitespace-normal text-sm mb-3",children:(0,a.jsx)(c.Z,{components:eN,remarkPlugins:[p.Z],rehypePlugins:[x.Z],children:e.markdown})}),e.resource&&"null"!==e.resource&&(0,a.jsx)(Z,{references:e.resource})]},t))}):null},C=l(47271),S=l(69274),O=l(39811),P=l(86776),E=function(e){let{data:t}=e;return t&&t.length?(0,a.jsx)(P.Z,{bordered:!0,className:"my-3",expandIcon:e=>{let{isActive:t}=e;return(0,a.jsx)(C.Z,{rotate:t?90:0})},items:t.map((e,t)=>({key:t,label:(0,a.jsxs)("div",{children:[(0,a.jsxs)("span",{children:[e.name," - ",e.agent]}),"complete"===e.status?(0,a.jsx)(S.Z,{className:"!text-green-500 ml-2"}):(0,a.jsx)(O.Z,{className:"!text-gray-500 ml-2"})]}),children:(0,a.jsx)(c.Z,{components:eN,rehypePlugins:[x.Z],remarkPlugins:[p.Z],children:e.markdown})}))}):null},T=l(27691),D=l(70351),M=l(67576),I=l(84909),R=l(81466),q=l(91278),z=l(93486),Q=l.n(z),J=l(45277);function L(e){let{code:t,light:l,dark:n,language:r,customStyle:s}=e,{mode:i}=(0,_.useContext)(J.p);return(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(T.ZP,{className:"absolute right-3 top-2 text-gray-300 hover:!text-gray-200 bg-gray-700",type:"text",icon:(0,a.jsx)(M.Z,{}),onClick:()=>{let e=Q()(t);D.ZP[e?"success":"error"](e?"复制成功":"复制失败")}}),(0,a.jsx)(q.Z,{customStyle:s,language:r,style:"dark"===i?null!=n?n:I.Z:null!=l?l:R.Z,children:t})]})}var A=l(93743),K=l(7289),F=function(e){var t;let{data:l,type:n,sql:r}=e,s=(null==l?void 0:l[0])?null===(t=Object.keys(null==l?void 0:l[0]))||void 0===t?void 0:t.map(e=>({title:e,dataIndex:e,key:e})):[],i={key:"chart",label:"Chart",children:(0,a.jsx)(A._,{data:l,chartType:(0,A.a)(n)})},c={key:"sql",label:"SQL",children:(0,a.jsx)(L,{language:"sql",code:(0,K._m)(null!=r?r:"","mysql")})},d={key:"data",label:"Data",children:(0,a.jsx)(u.Z,{dataSource:l,columns:s,scroll:{x:"auto"}})},o="response_table"===n?[d,c]:[i,c,d];return(0,a.jsx)(m.Z,{defaultActiveKey:"response_table"===n?"data":"chart",items:o,size:"small"})},B=function(e){let{data:t}=e;return t?(0,a.jsx)(F,{data:null==t?void 0:t.data,type:null==t?void 0:t.type,sql:null==t?void 0:t.sql}):null},G=l(26869),V=l.n(G),U=l(84223),W=l(56841),H=l(12772),X=function(e){let{data:t}=e,{t:l}=(0,W.$G)(),[n,r]=(0,_.useState)(0);return(0,a.jsxs)("div",{className:"bg-[#EAEAEB] rounded overflow-hidden border border-theme-primary dark:bg-theme-dark text-sm",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"flex",children:t.code.map((e,t)=>(0,a.jsxs)("div",{className:V()("px-4 py-2 text-[#121417] dark:text-white cursor-pointer",{"bg-white dark:bg-theme-dark-container":t===n}),onClick:()=>{r(t)},children:["CODE ",t+1,": ",e[0]]},t))}),t.code.length&&(0,a.jsx)(L,{language:t.code[n][0],code:t.code[n][1],customStyle:{maxHeight:300,margin:0},light:H.Z,dark:R.Z})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"flex",children:(0,a.jsxs)("div",{className:"bg-white dark:bg-theme-dark-container px-4 py-2 text-[#121417] dark:text-white",children:[l("Terminal")," ",t.exit_success?(0,a.jsx)(S.Z,{className:"text-green-600"}):(0,a.jsx)(U.Z,{className:"text-red-600"})]})}),(0,a.jsx)("div",{className:"p-4 max-h-72 overflow-y-auto whitespace-normal bg-white dark:dark:bg-theme-dark",children:(0,a.jsx)(c.Z,{components:eN,remarkPlugins:[p.Z],children:t.log})})]})]})},$=function(e){let{data:t}=e;return(0,a.jsxs)("div",{className:"rounded overflow-hidden",children:[(0,a.jsx)("div",{className:"p-3 text-white bg-red-500 whitespace-normal",children:t.display_type}),(0,a.jsxs)("div",{className:"p-3 bg-red-50",children:[(0,a.jsx)("div",{className:"mb-2 whitespace-normal",children:t.thought}),(0,a.jsx)(L,{code:(0,K._m)(t.sql),language:"sql"})]})]})};let Y=[[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]];var ee=function(e){let{data:t}=e,l=(0,_.useMemo)(()=>{if(t.chart_count>1){let e=Y[t.chart_count-2],l=0;return e.map(e=>{let a=t.data.slice(l,l+e);return l=e,a})}return[t.data]},[t.data,t.chart_count]);return(0,a.jsx)("div",{className:"flex flex-col gap-3",children:l.map((e,t)=>(0,a.jsx)("div",{className:"flex gap-3",children:e.map((e,t)=>(0,a.jsxs)("div",{className:"flex flex-1 flex-col justify-between p-4 rounded border border-gray-200 dark:border-gray-500 whitespace-normal",children:[(0,a.jsxs)("div",{children:[e.title&&(0,a.jsx)("div",{className:"mb-2 text-lg",children:e.title}),e.describe&&(0,a.jsx)("div",{className:"mb-4 text-sm text-gray-500",children:e.describe})]}),(0,a.jsx)(h._z,{data:e.data,chartType:(0,h.aG)(e.type)})]},"chart-".concat(t)))},"row-".concat(t)))})},et=l(37022);let el={todo:{bgClass:"bg-gray-500",icon:(0,a.jsx)(O.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,a.jsx)(et.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,a.jsx)(U.Z,{className:"ml-2"})},complete:{bgClass:"bg-green-500",icon:(0,a.jsx)(S.Z,{className:"ml-2"})}};var ea=function(e){var t,l;let{data:n}=e,{bgClass:r,icon:s}=null!==(t=el[n.status])&&void 0!==t?t:{};return(0,a.jsxs)("div",{className:"bg-theme-light dark:bg-theme-dark-container rounded overflow-hidden my-2 flex flex-col",children:[(0,a.jsxs)("div",{className:V()("flex px-4 md:px-6 py-2 items-center text-white text-sm",r),children:[n.name,s]}),n.result?(0,a.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm whitespace-normal",children:(0,a.jsx)(c.Z,{components:eN,rehypePlugins:[x.Z],remarkPlugins:[p.Z],children:null!==(l=n.result)&&void 0!==l?l:""})}):(0,a.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:n.err_msg})]})},en=l(26953),er=l(65242),es=l(25951),ei=l(42786),ec=e=>{let{data:t}=e,l=(0,_.useMemo)(()=>{switch(t.status){case"todo":return(0,a.jsx)(O.Z,{});case"failed":return(0,a.jsx)(er.Z,{className:"text-[rgb(255,77,79)]"});case"complete":return(0,a.jsx)(es.Z,{className:"text-[rgb(82,196,26)]"});case"running":return(0,a.jsx)(ei.Z,{indicator:(0,a.jsx)(et.Z,{style:{fontSize:24},spin:!0})});default:return null}},[t]);return t?(0,a.jsxs)("div",{className:"flex flex-col p-2 border pr-4 rounded-md min-w-fit w-2/5",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(en.Z,{scene:"chat_agent",width:8,height:8}),(0,a.jsxs)("div",{className:"flex flex-col flex-1 ml-2",children:[(0,a.jsx)("div",{className:"flex items-center text-sm dark:text-[rgba(255,255,255,0.85)] gap-2",children:null==t?void 0:t.app_name}),(0,a.jsx)(f.Z.Text,{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",ellipsis:{tooltip:!0},children:null==t?void 0:t.app_desc})]})]}),(0,a.jsx)("div",{className:"text-2xl ml-1",children:l})]}),"failed"===t.status&&t.msg&&(0,a.jsx)(f.Z.Text,{type:"danger",className:"pl-12 text-xs mt-2",children:t.msg})]}):null},ed=l(12061),eo=l(29549),eu=e=>{let{children:t,msg:l}=e,{handleChat:n}=(0,_.useContext)(ed.ChatContentContext),{handleChat:r}=(0,_.useContext)(eo.MobileChatContext);return(0,a.jsx)(T.ZP,{className:"ml-1 inline text-xs",onClick:()=>{null==r||r(l),null==n||n(l)},type:"dashed",size:"small",children:t||"点击分析当前异常"})},em=l(59510),eh=l(60855),ex=l(95679),ep=l(76914),ev=e=>{let{data:t}=e,{mode:l}=(0,_.useContext)(J.p),n=(0,_.useMemo)(()=>{switch(t.status){case"complete":return"success";case"failed":return"error";case"running":return"warning"}},[t]);if(!t)return null;let r="dark"===l?eh.R:ex.K;return(0,a.jsxs)("div",{className:"flex flex-1 flex-col",children:[(0,a.jsx)(ep.Z,{className:V()("mb-4",{"bg-[#fafafa] border-[transparent]":!n}),message:t.name,type:n,...n&&{showIcon:!0},..."warning"===n&&{icon:(0,a.jsx)(ei.Z,{indicator:(0,a.jsx)(et.Z,{spin:!0})})}}),t.result&&(0,a.jsx)(em.ZP,{style:{...r,width:"100%",padding:10},className:V()({"bg-[#fafafa]":"light"===l}),value:JSON.parse(t.result||"{}"),enableClipboard:!1,displayDataTypes:!1,objectSortKeys:!1}),t.err_msg&&(0,a.jsx)(c.Z,{components:eN,remarkPlugins:[p.Z],rehypePlugins:[x.Z],children:t.err_msg})]})};let eg=["custom-view","chart-view","references","summary"],ej={code:(0,i.r)({languageRenderers:{"agent-plans":e=>{let{node:t,className:l,children:n,style:r}=e,s=String(n),i=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(s);return(0,a.jsx)(E,{data:e})}catch(e){return(0,a.jsx)(L,{language:i,code:s})}},"agent-messages":e=>{let{node:t,className:l,children:n,style:r}=e,s=String(n),i=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(s);return(0,a.jsx)(w,{data:e})}catch(e){return(0,a.jsx)(L,{language:i,code:s})}},"vis-convert-error":e=>{let{node:t,className:l,children:n,style:r}=e,s=String(n),i=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(s);return(0,a.jsx)($,{data:e})}catch(e){return(0,a.jsx)(L,{language:i,code:s})}},"vis-dashboard":e=>{let{node:t,className:l,children:n,style:r}=e,s=String(n),i=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(s);return(0,a.jsx)(ee,{data:e})}catch(e){return(0,a.jsx)(L,{language:i,code:s})}},"vis-chart":e=>{let{node:t,className:l,children:n,style:r}=e,s=String(n),i=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(s);return(0,a.jsx)(B,{data:e})}catch(e){return(0,a.jsx)(L,{language:i,code:s})}},"vis-plugin":e=>{let{node:t,className:l,children:n,style:r}=e,s=String(n),i=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(s);return(0,a.jsx)(ea,{data:e})}catch(e){return(0,a.jsx)(L,{language:i,code:s})}},"vis-code":e=>{let{node:t,className:l,children:n,style:r,...s}=e,i=String(n),c=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(i);return(0,a.jsx)(X,{data:e})}catch(e){return(0,a.jsx)(L,{language:c,code:i})}},"vis-app-link":e=>{let{node:t,className:l,children:n,style:r,...s}=e,i=String(n),c=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(i);return(0,a.jsx)(ec,{data:e})}catch(e){return(0,a.jsx)(L,{language:c,code:i})}},"vis-api-response":e=>{let{node:t,className:l,children:n,style:r,...s}=e,i=String(n),c=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(i);return(0,a.jsx)(ev,{data:e})}catch(e){return(0,a.jsx)(L,{language:c,code:i})}}},defaultRenderer(e){let{node:t,className:l,children:n,style:r,...s}=e,i=String(n),d=(null==l?void 0:l.replace("language-",""))||"",{context:o,matchValues:u}=function(e){let t=eg.reduce((t,l)=>{let a=RegExp("<".concat(l,"[^>]*/?>"),"gi");return e=e.replace(a,e=>(t.push(e),"")),t},[]);return{context:e,matchValues:t}}(i);return console.log(111,{node:t,className:l,children:n,style:r,...s},d),(0,a.jsxs)(a.Fragment,{children:[d?(0,a.jsx)(L,{code:o,language:d||"javascript"}):(0,a.jsx)("code",{...s,style:r,className:"p-1 mx-1 rounded bg-theme-light dark:bg-theme-dark text-sm",children:n}),(0,a.jsx)(c.Z,{components:eb,rehypePlugins:[x.Z],remarkPlugins:[p.Z],children:u.join("\n")})]})}})},ef={...ej,ul(e){let{children:t}=e;return(0,a.jsx)("ul",{className:"py-1",children:t})},ol(e){let{children:t}=e;return(0,a.jsx)("ol",{className:"py-1",children:t})},li(e){let{children:t,ordered:l}=e;return(0,a.jsx)("li",{className:"text-sm leading-7 ml-5 pl-2 text-gray-600 dark:text-gray-300 ".concat(l?"list-decimal":"list-disc"),children:t})},table(e){let{children:t}=e;return(0,a.jsx)("table",{className:"my-2 rounded-tl-md rounded-tr-md bg-white dark:bg-gray-800 text-sm rounded-lg overflow-hidden",children:t})},thead(e){let{children:t}=e;return(0,a.jsx)("thead",{className:"bg-[#fafafa] dark:bg-black font-semibold",children:t})},th(e){let{children:t}=e;return(0,a.jsx)("th",{className:"!text-left p-4",children:t})},td(e){let{children:t}=e;return(0,a.jsx)("td",{className:"p-4 border-t border-[#f0f0f0] dark:border-gray-700",children:t})},h1(e){let{children:t}=e;return(0,a.jsx)("h3",{className:"text-2xl font-bold my-4 border-b border-slate-300 pb-4",children:t})},h2(e){let{children:t}=e;return(0,a.jsx)("h3",{className:"text-xl font-bold my-3",children:t})},h3(e){let{children:t}=e;return(0,a.jsx)("h3",{className:"text-lg font-semibold my-2",children:t})},h4(e){let{children:t}=e;return(0,a.jsx)("h3",{className:"text-base font-semibold my-1",children:t})},a(e){let{children:t,href:l}=e;return(0,a.jsxs)("div",{className:"inline-block text-blue-600 dark:text-blue-400",children:[(0,a.jsx)(n.Z,{className:"mr-1"}),(0,a.jsx)("a",{href:l,target:"_blank",children:t})]})},img(e){let{src:t,alt:l}=e;return(0,a.jsx)("div",{children:(0,a.jsx)(d.Z,{className:"min-h-[1rem] max-w-full max-h-full border rounded",src:t,alt:l,placeholder:(0,a.jsx)(o.Z,{icon:(0,a.jsx)(r.Z,{spin:!0}),color:"processing",children:"Image Loading..."}),fallback:"/pictures/fallback.png"})})},blockquote(e){let{children:t}=e;return(0,a.jsx)("blockquote",{className:"py-4 px-6 border-l-4 border-blue-600 rounded bg-white my-2 text-gray-500 dark:bg-slate-800 dark:text-gray-200 dark:border-white shadow-sm",children:t})},button(e){let{children:t,className:l,...n}=e;if("chat-link"===l){let e=null==n?void 0:n["data-msg"];return(0,a.jsx)(eu,{msg:e,children:t})}return(0,a.jsx)("button",{className:l,...n,children:t})}},ey=e=>{let t={",":",","。":".","?":"?","!":"!",":":":",";":";","“":'"',"”":'"',"‘":"'","’":"'","(":"(",")":")","【":"[","】":"]","《":"<","》":">","—":"-","、":",","…":"..."},l=RegExp(Object.keys(t).join("|"),"g");return e.replace(l,e=>t[e])},eb={...ef,"chart-view":function(e){var t,l,n;let r,{content:s,children:i}=e;try{r=JSON.parse(s)}catch(e){console.log(e,s),r={type:"response_table",sql:"",data:[]}}console.log(111,r);let c=(null==r?void 0:null===(t=r.data)||void 0===t?void 0:t[0])?null===(l=Object.keys(null==r?void 0:null===(n=r.data)||void 0===n?void 0:n[0]))||void 0===l?void 0:l.map(e=>({title:e,dataIndex:e,key:e})):[],d={key:"chart",label:"Chart",children:(0,a.jsx)(h._z,{data:null==r?void 0:r.data,chartType:(0,h.aG)(null==r?void 0:r.type)})},o={key:"sql",label:"SQL",children:(0,a.jsx)(L,{code:(0,K._m)(ey(null==r?void 0:r.sql),"mysql"),language:"sql"})},x={key:"data",label:"Data",children:(0,a.jsx)(u.Z,{dataSource:null==r?void 0:r.data,columns:c,scroll:{x:!0},virtual:!0})},p=(null==r?void 0:r.type)==="response_table"?[x,o]:[d,o,x];return(0,a.jsxs)("div",{children:[(0,a.jsx)(m.Z,{defaultActiveKey:(null==r?void 0:r.type)==="response_table"?"data":"chart",items:p,size:"small"}),i]})},references:function(e){let{title:t,references:l,children:n}=e;if(n)try{let e=JSON.parse(n),t=e.references;return(0,a.jsx)(Z,{references:t})}catch(e){return null}},summary:function(e){let{children:t}=e;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{className:"mb-2",children:[(0,a.jsx)(s.Z,{className:"mr-2"}),(0,a.jsx)("span",{className:"font-semibold",children:"Document Summary"})]}),(0,a.jsx)("div",{children:t})]})}};var eN=eb},26657:function(e,t,l){l.r(t);var a=l(96469),n=l(2242);l(38497);var r=l(11576),s=l(75798),i=l(92677);t.default=e=>{let{children:t}=e;return(0,a.jsx)(r.Z,{components:{...n.Z},rehypePlugins:[s.Z],remarkPlugins:[i.Z],children:t})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5891-d315b2af15a12d65.js b/dbgpt/app/static/web/_next/static/chunks/5891-d315b2af15a12d65.js deleted file mode 100644 index 0d08894ba..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/5891-d315b2af15a12d65.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5891],{93743:function(e,t,a){a.d(t,{_:function(){return I},a:function(){return T}});var l=a(96469),n=a(16156),r=a(38437),s=a(30994),i=a(10755),c=a(60205),d=a(27691),o=a(97818),u=a(48495),m=a(33573),h=a(2),x=a(98922),p=a(44766);let v=e=>{let{charts:t,scopeOfCharts:a,ruleConfig:l}=e,n={};if(null==t||t.forEach(e=>{if(e.chartKnowledge.toSpec){let t=e.chartKnowledge.toSpec;e.chartKnowledge.toSpec=(e,a)=>({...t(e,a),dataProps:a})}else e.chartKnowledge.toSpec=(e,t)=>({dataProps:t});n[e.chartType]=e.chartKnowledge}),(null==a?void 0:a.exclude)&&a.exclude.forEach(e=>{Object.keys(n).includes(e)&&delete n[e]}),null==a?void 0:a.include){let e=a.include;Object.keys(n).forEach(t=>{e.includes(t)||delete n[t]})}let r={...a,custom:n},s={...l},i=new h.w({ckbCfg:r,ruleCfg:s});return i},f=e=>{var t;let{data:a,dataMetaMap:l,myChartAdvisor:n}=e,r=l?Object.keys(l).map(e=>({name:e,...l[e]})):null,s=new x.Z(a).info(),i=(0,p.size)(s)>2?null==s?void 0:s.filter(e=>"string"!==e.recommendation&&"date"!==e.recommendation||e.distinct&&e.distinct>1):s,c=null==n?void 0:n.adviseWithLog({data:a,dataProps:r,fields:null==i?void 0:i.map(e=>e.name)});return null!==(t=null==c?void 0:c.advices)&&void 0!==t?t:[]};var g=a(38497);function j(e,t){return t.every(t=>e.includes(t))}function y(e,t){let a=t.find(t=>t.name===e);return(null==a?void 0:a.recommendation)==="date"?t=>new Date(t[e]):e}function b(e){return e.find(e=>{var t;return e.levelOfMeasurements&&(t=e.levelOfMeasurements,["Time","Ordinal"].some(e=>t.includes(e)))})}function N(e){return e.find(e=>e.levelOfMeasurements&&j(e.levelOfMeasurements,["Nominal"]))}let _=e=>{let{data:t,xField:a}=e,l=(0,p.uniq)(t.map(e=>e[a]));return l.length<=1},k=(e,t,a)=>{let{field4Split:l,field4X:n}=a;if((null==l?void 0:l.name)&&(null==n?void 0:n.name)){let a=e[l.name],r=t.filter(e=>l.name&&e[l.name]===a);return _({data:r,xField:n.name})?5:void 0}return(null==n?void 0:n.name)&&_({data:t,xField:n.name})?5:void 0},w=e=>{let{data:t,chartType:a,xField:l}=e,n=(0,p.cloneDeep)(t);try{if(a.includes("line")&&(null==l?void 0:l.name)&&"date"===l.recommendation)return n.sort((e,t)=>new Date(e[l.name]).getTime()-new Date(t[l.name]).getTime()),n;a.includes("line")&&(null==l?void 0:l.name)&&["float","integer"].includes(l.recommendation)&&n.sort((e,t)=>e[l.name]-t[l.name])}catch(e){console.error(e)}return n},Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return e.map(e=>{let a={};return Object.keys(e).forEach(l=>{a[l]=e[l]===t?null:e[l]}),a})},C="multi_line_chart",S="multi_measure_line_chart",O=[{chartType:"multi_line_chart",chartKnowledge:{id:C,name:"multi_line_chart",alias:["multi_line_chart"],family:["LineCharts"],def:"multi_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{var a,l;let n=b(t),r=N(t),s=null!==(a=null!=n?n:r)&&void 0!==a?a:t[0],i=t.filter(e=>e.name!==(null==s?void 0:s.name)),c=null!==(l=i.filter(e=>e.levelOfMeasurements&&j(e.levelOfMeasurements,["Interval"])))&&void 0!==l?l:[i[0]],d=i.filter(e=>!c.find(t=>t.name===e.name)).find(e=>e.levelOfMeasurements&&j(e.levelOfMeasurements,["Nominal"]));if(!s||!c)return null;let o={type:"view",autoFit:!0,data:w({data:e,chartType:C,xField:s}),children:[]};return c.forEach(a=>{let l={type:"line",encode:{x:y(s.name,t),y:a.name,size:t=>k(t,e,{field4Split:d,field4X:s})},legend:{size:!1}};d&&(l.encode.color=d.name),o.children.push(l)}),o}},chineseName:"折线图"},{chartType:"multi_measure_column_chart",chartKnowledge:{id:"multi_measure_column_chart",name:"multi_measure_column_chart",alias:["multi_measure_column_chart"],family:["ColumnCharts"],def:"multi_measure_column_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{let a=null==t?void 0:t.filter(e=>j(e.levelOfMeasurements,["Interval"])),l=N(t),n=b(t),r=null!=l?l:n;if(!r||!a)return null;let s={type:"view",data:e,children:[]};return null==a||a.forEach(e=>{let t={type:"interval",encode:{x:r.name,y:e.name,color:()=>e.name,series:()=>e.name}};s.children.push(t)}),s}catch(e){return console.log(e),null}}},chineseName:"折线图"},{chartType:"multi_measure_line_chart",chartKnowledge:{id:S,name:"multi_measure_line_chart",alias:["multi_measure_line_chart"],family:["LineCharts"],def:"multi_measure_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{var a,l;let n=null!==(l=null!==(a=N(t))&&void 0!==a?a:b(t))&&void 0!==l?l:t[0],r=null==t?void 0:t.filter(e=>e.name!==(null==n?void 0:n.name)&&j(e.levelOfMeasurements,["Interval"]));if(!n||!r)return null;let s={type:"view",data:w({data:e,chartType:S,xField:n}),children:[]};return null==r||r.forEach(a=>{let l={type:"line",encode:{x:y(n.name,t),y:a.name,color:()=>a.name,series:()=>a.name,size:t=>k(t,e,{field4X:n})},legend:{size:!1}};s.children.push(l)}),s}catch(e){return console.log(e),null}}},chineseName:"折线图"}];var P=a(45277);let E=e=>{if(!e)return;let t=e.getContainer(),a=t.getElementsByTagName("canvas")[0];return a};var D=a(91158);let T=e=>"response_line_chart"===e?["multi_line_chart","multi_measure_line_chart"]:"response_bar_chart"===e?["multi_measure_column_chart"]:"response_pie_chart"===e?["pie_chart"]:"response_scatter_chart"===e?["scatter_plot"]:"response_area_chart"===e?["area_chart"]:"response_heatmap_chart"===e?["heatmap"]:[],{Option:M}=n.default,I=e=>{let{data:t,chartType:a,scopeOfCharts:h,ruleConfig:x}=e,j=Z(t),{mode:y}=(0,g.useContext)(P.p),[b,N]=(0,g.useState)(),[_,k]=(0,g.useState)([]),[C,S]=(0,g.useState)(),T=(0,g.useRef)();(0,g.useEffect)(()=>{N(v({charts:O,scopeOfCharts:{exclude:["area_chart","stacked_area_chart","percent_stacked_area_chart"]},ruleConfig:x}))},[x,h]);let I=e=>{if(!b)return[];let t=function(e){let{advices:t}=e;return t}({advices:e}),l=(0,p.uniq)((0,p.compact)((0,p.concat)(a,e.map(e=>e.type)))),n=l.map(e=>{let a=t.find(t=>t.type===e);if(a)return a;let l=b.dataAnalyzer.execute({data:j});if("data"in l){var n;let t=b.specGenerator.execute({data:l.data,dataProps:l.dataProps,chartTypeRecommendations:[{chartType:e,score:1}]});if("advices"in t)return null===(n=t.advices)||void 0===n?void 0:n[0]}}).filter(e=>null==e?void 0:e.spec);return n};(0,g.useEffect)(()=>{if(j&&b){var e;let t=f({data:j,myChartAdvisor:b}),a=I(t);k(a),S(null===(e=a[0])||void 0===e?void 0:e.type)}},[JSON.stringify(j),b,a]);let R=(0,g.useMemo)(()=>{if((null==_?void 0:_.length)>0){var e,t,a,n;let r=null!=C?C:_[0].type,s=null!==(t=null===(e=null==_?void 0:_.find(e=>e.type===r))||void 0===e?void 0:e.spec)&&void 0!==t?t:void 0;if(s){if(s.data&&["line_chart","step_line_chart"].includes(r)){let e=null==b?void 0:b.dataAnalyzer.execute({data:j});e&&"dataProps"in e&&(s.data=w({data:s.data,xField:null===(n=e.dataProps)||void 0===n?void 0:n.find(e=>"date"===e.recommendation),chartType:r}))}return"pie_chart"===r&&(null==s?void 0:null===(a=s.encode)||void 0===a?void 0:a.color)&&(s.tooltip={title:{field:s.encode.color}}),(0,l.jsx)(u.k,{options:{...s,autoFit:!0,theme:y,height:300},ref:T},r)}}},[_,y,C]);return C?(0,l.jsxs)("div",{children:[(0,l.jsxs)(r.Z,{justify:"space-between",className:"mb-2",children:[(0,l.jsx)(s.Z,{children:(0,l.jsxs)(i.Z,{children:[(0,l.jsx)("span",{children:m.Z.t("Advices")}),(0,l.jsx)(n.default,{className:"w-52",value:C,placeholder:"Chart Switcher",onChange:e=>S(e),size:"small",children:null==_?void 0:_.map(e=>{let t=m.Z.t(e.type);return(0,l.jsx)(M,{value:e.type,children:(0,l.jsx)(c.Z,{title:t,placement:"right",children:(0,l.jsx)("div",{children:t})})},e.type)})})]})}),(0,l.jsx)(s.Z,{children:(0,l.jsx)(c.Z,{title:m.Z.t("Download"),children:(0,l.jsx)(d.ZP,{onClick:()=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Chart",a=document.createElement("a"),l="".concat(t,".png");setTimeout(()=>{let t=function(e){let t=E(e);if(t){let e=t.toDataURL("image/png");return e}}(e);if(t){a.addEventListener("click",()=>{a.download=l,a.href=t});let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),a.dispatchEvent(e)}},16)})(T.current,m.Z.t(C)),icon:(0,l.jsx)(D.Z,{}),type:"text"})})})]}),(0,l.jsx)("div",{className:"flex",children:R})]}):(0,l.jsx)(o.Z,{image:o.Z.PRESENTED_IMAGE_SIMPLE,description:"暂无合适的可视化视图"})}},45045:function(e,t,a){a.d(t,{_z:function(){return p._},ZP:function(){return v},aG:function(){return p.a}});var l=a(96469),n=a(49841),r=a(62715),s=a(81630),i=a(45277),c=a(48495),d=a(38497);function o(e){let{chart:t}=e,{mode:a}=(0,d.useContext)(i.p);return(0,l.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,l.jsxs)("div",{className:"h-full",children:[(0,l.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,l.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,l.jsx)("div",{className:"h-[300px]",children:(0,l.jsx)(c.k,{style:{height:"100%"},options:{autoFit:!0,theme:a,type:"interval",data:t.values,encode:{x:"name",y:"value",color:"type"},axis:{x:{labelAutoRotate:!1}}}})})]})})}function u(e){let{chart:t}=e,{mode:a}=(0,d.useContext)(i.p);return(0,l.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,l.jsxs)("div",{className:"h-full",children:[(0,l.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,l.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,l.jsx)("div",{className:"h-[300px]",children:(0,l.jsx)(c.k,{style:{height:"100%"},options:{autoFit:!0,theme:a,type:"view",data:t.values,children:[{type:"line",encode:{x:"name",y:"value",color:"type",shape:"smooth"}},{type:"area",encode:{x:"name",y:"value",color:"type",shape:"smooth"},legend:!1,style:{fillOpacity:.15}}],axis:{x:{labelAutoRotate:!1}}}})})]})})}var m=a(84832),h=a(44766);function x(e){var t,a;let{chart:n}=e,r=(0,h.groupBy)(n.values,"type");return(0,l.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,l.jsxs)("div",{className:"h-full",children:[(0,l.jsx)("div",{className:"mb-2",children:n.chart_name}),(0,l.jsx)("div",{className:"opacity-80 text-sm mb-2",children:n.chart_desc}),(0,l.jsx)("div",{className:"flex-1",children:(0,l.jsxs)(m.Z,{"aria-label":"basic table",stripe:"odd",hoverRow:!0,borderAxis:"bothBetween",children:[(0,l.jsx)("thead",{children:(0,l.jsx)("tr",{children:Object.keys(r).map(e=>(0,l.jsx)("th",{children:e},e))})}),(0,l.jsx)("tbody",{children:null===(t=Object.values(r))||void 0===t?void 0:null===(a=t[0])||void 0===a?void 0:a.map((e,t)=>{var a;return(0,l.jsx)("tr",{children:null===(a=Object.keys(r))||void 0===a?void 0:a.map(e=>{var a;return(0,l.jsx)("td",{children:(null==r?void 0:null===(a=r[e])||void 0===a?void 0:a[t].value)||""},e)})},t)})})]})})]})})}var p=a(93743),v=function(e){let{chartsData:t}=e;console.log(t,"xxx");let a=(0,d.useMemo)(()=>{if(t){let e=[],a=null==t?void 0:t.filter(e=>"IndicatorValue"===e.chart_type);a.length>0&&e.push({charts:a,type:"IndicatorValue"});let l=null==t?void 0:t.filter(e=>"IndicatorValue"!==e.chart_type),n=l.length,r=0;return[[0],[1],[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]][n].forEach(t=>{if(t>0){let a=l.slice(r,r+t);r+=t,e.push({charts:a})}}),e}},[t]);return(0,l.jsx)("div",{className:"flex flex-col gap-3",children:null==a?void 0:a.map((e,t)=>(0,l.jsx)("div",{className:"".concat((null==e?void 0:e.type)!=="IndicatorValue"?"flex gap-3":""),children:e.charts.map(e=>"IndicatorValue"===e.chart_type||"IndicatorValue"===e.type?(0,l.jsx)("div",{className:"flex flex-row gap-3",children:e.values.map(e=>(0,l.jsx)("div",{className:"flex-1",children:(0,l.jsx)(n.Z,{sx:{background:"transparent"},children:(0,l.jsxs)(r.Z,{className:"justify-around",children:[(0,l.jsx)(s.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,l.jsx)(s.ZP,{children:e.value})]})})},e.name))},e.chart_uid):"LineChart"===e.chart_type||"LineChart"===e.type?(0,l.jsx)(u,{chart:e},e.chart_uid):"BarChart"===e.chart_type||"BarChart"===e.type?(0,l.jsx)(o,{chart:e},e.chart_uid):"Table"===e.chart_type||"TableChartData"===e.type?(0,l.jsx)(x,{chart:e},e.chart_uid):void 0)},"chart_row_".concat(t)))})}},2242:function(e,t,a){a.d(t,{Z:function(){return ej}});var l=a(96469),n=a(45045),r=a(86959),s=a(56010),i=a(50374),c=a(17148),d=a(49030),o=a(54506),u=a(5996),m=a(83455),h=a(73304),x=a(94090),p=a(61977),v=a(38970),f=a(26657),g=a(21840),j=a(87674),y=a(51657),b=a(87313),N=a(38497);let _=e=>{let{references:t}=e,a=(0,b.useRouter)(),[n,s]=(0,N.useState)(!1),i=(0,N.useMemo)(()=>a.pathname.includes("/mobile"),[a]),c=(0,N.useMemo)(()=>{var e;return null==t?void 0:null===(e=t.knowledge)||void 0===e?void 0:e.map(e=>{var t;return{label:(0,l.jsx)("div",{style:{maxWidth:"120px"},children:(0,l.jsx)(g.Z.Text,{ellipsis:{tooltip:e.name},children:decodeURIComponent(e.name).split("_")[0]})}),key:e.name,children:(0,l.jsx)("div",{className:"h-full overflow-y-auto",children:null==e?void 0:null===(t=e.chunks)||void 0===t?void 0:t.map(e=>(0,l.jsx)(f.default,{children:e.content},e.id))})}})},[t]);return(0,l.jsxs)("div",{children:[(0,l.jsx)(j.Z,{className:"mb-1 mt-0",dashed:!0}),(0,l.jsxs)("div",{className:"flex text-sm gap-2 text-blue-400",onClick:()=>s(!0),children:[(0,l.jsx)(r.Z,{}),(0,l.jsx)("span",{className:"text-sm",children:"查看回复引用"})]}),(0,l.jsx)(y.Z,{open:n,title:"回复引用",placement:i?"bottom":"right",onClose:()=>s(!1),destroyOnClose:!0,className:"p-0",...!i&&{width:"30%"},children:(0,l.jsx)(u.Z,{items:c,size:"small"})})]})};var k=e=>{let{references:t}=e;try{let e=JSON.parse(t);return(0,l.jsx)(_,{references:e})}catch(e){return null}},w=function(e){let{data:t}=e;return t&&t.length?(0,l.jsx)(l.Fragment,{children:t.map((e,t)=>(0,l.jsxs)("div",{className:"rounded",children:[(0,l.jsxs)("div",{className:"flex items-center mb-3 text-sm",children:[e.model?(0,l.jsx)(p.Z,{model:e.model}):(0,l.jsx)("div",{className:"rounded-full w-6 h-6 bg-gray-100"}),(0,l.jsxs)("div",{className:"ml-2 opacity-70",children:[e.sender,(0,l.jsx)(v.Z,{className:"mx-2 text-base"}),e.receiver]})]}),(0,l.jsx)("div",{className:"whitespace-normal text-sm mb-3",children:(0,l.jsx)(m.D,{components:ej,remarkPlugins:[x.Z],rehypePlugins:[h.Z],children:e.markdown})}),e.resource&&"null"!==e.resource&&(0,l.jsx)(k,{references:e.resource})]},t))}):null},Z=a(47271),C=a(69274),S=a(39811),O=a(86776),P=function(e){let{data:t}=e;return t&&t.length?(0,l.jsx)(O.Z,{bordered:!0,className:"my-3",expandIcon:e=>{let{isActive:t}=e;return(0,l.jsx)(Z.Z,{rotate:t?90:0})},items:t.map((e,t)=>({key:t,label:(0,l.jsxs)("div",{children:[(0,l.jsxs)("span",{children:[e.name," - ",e.agent]}),"complete"===e.status?(0,l.jsx)(C.Z,{className:"!text-green-500 ml-2"}):(0,l.jsx)(S.Z,{className:"!text-gray-500 ml-2"})]}),children:(0,l.jsx)(m.D,{components:ej,rehypePlugins:[h.Z],remarkPlugins:[x.Z],children:e.markdown})}))}):null},E=a(27691),D=a(70351),T=a(67576),M=a(84909),I=a(81466),R=a(91278),q=a(93486),z=a.n(q),Q=a(45277);function J(e){let{code:t,light:a,dark:n,language:r,customStyle:s}=e,{mode:i}=(0,N.useContext)(Q.p);return(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(E.ZP,{className:"absolute right-3 top-2 text-gray-300 hover:!text-gray-200 bg-gray-700",type:"text",icon:(0,l.jsx)(T.Z,{}),onClick:()=>{let e=z()(t);D.ZP[e?"success":"error"](e?"复制成功":"复制失败")}}),(0,l.jsx)(R.Z,{customStyle:s,language:r,style:"dark"===i?null!=n?n:M.Z:null!=a?a:I.Z,children:t})]})}var L=a(93743),A=a(7289),K=function(e){var t;let{data:a,type:n,sql:r}=e,s=(null==a?void 0:a[0])?null===(t=Object.keys(null==a?void 0:a[0]))||void 0===t?void 0:t.map(e=>({title:e,dataIndex:e,key:e})):[],i={key:"chart",label:"Chart",children:(0,l.jsx)(L._,{data:a,chartType:(0,L.a)(n)})},c={key:"sql",label:"SQL",children:(0,l.jsx)(J,{language:"sql",code:(0,A._m)(null!=r?r:"","mysql")})},d={key:"data",label:"Data",children:(0,l.jsx)(o.Z,{dataSource:a,columns:s,scroll:{x:"auto"}})},m="response_table"===n?[d,c]:[i,c,d];return(0,l.jsx)(u.Z,{defaultActiveKey:"response_table"===n?"data":"chart",items:m,size:"small"})},F=function(e){let{data:t}=e;return t?(0,l.jsx)(K,{data:null==t?void 0:t.data,type:null==t?void 0:t.type,sql:null==t?void 0:t.sql}):null},B=a(26869),G=a.n(B),V=a(84223),U=a(56841),W=a(12772),H=function(e){let{data:t}=e,{t:a}=(0,U.$G)(),[n,r]=(0,N.useState)(0);return(0,l.jsxs)("div",{className:"bg-[#EAEAEB] rounded overflow-hidden border border-theme-primary dark:bg-theme-dark text-sm",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"flex",children:t.code.map((e,t)=>(0,l.jsxs)("div",{className:G()("px-4 py-2 text-[#121417] dark:text-white cursor-pointer",{"bg-white dark:bg-theme-dark-container":t===n}),onClick:()=>{r(t)},children:["CODE ",t+1,": ",e[0]]},t))}),t.code.length&&(0,l.jsx)(J,{language:t.code[n][0],code:t.code[n][1],customStyle:{maxHeight:300,margin:0},light:W.Z,dark:I.Z})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"flex",children:(0,l.jsxs)("div",{className:"bg-white dark:bg-theme-dark-container px-4 py-2 text-[#121417] dark:text-white",children:[a("Terminal")," ",t.exit_success?(0,l.jsx)(C.Z,{className:"text-green-600"}):(0,l.jsx)(V.Z,{className:"text-red-600"})]})}),(0,l.jsx)("div",{className:"p-4 max-h-72 overflow-y-auto whitespace-normal bg-white dark:dark:bg-theme-dark",children:(0,l.jsx)(m.D,{components:ej,remarkPlugins:[x.Z],children:t.log})})]})]})},X=function(e){let{data:t}=e;return(0,l.jsxs)("div",{className:"rounded overflow-hidden",children:[(0,l.jsx)("div",{className:"p-3 text-white bg-red-500 whitespace-normal",children:t.display_type}),(0,l.jsxs)("div",{className:"p-3 bg-red-50",children:[(0,l.jsx)("div",{className:"mb-2 whitespace-normal",children:t.thought}),(0,l.jsx)(J,{code:(0,A._m)(t.sql),language:"sql"})]})]})};let $=[[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]];var Y=function(e){let{data:t}=e,a=(0,N.useMemo)(()=>{if(t.chart_count>1){let e=$[t.chart_count-2],a=0;return e.map(e=>{let l=t.data.slice(a,a+e);return a=e,l})}return[t.data]},[t.data,t.chart_count]);return(0,l.jsx)("div",{className:"flex flex-col gap-3",children:a.map((e,t)=>(0,l.jsx)("div",{className:"flex gap-3",children:e.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-1 flex-col justify-between p-4 rounded border border-gray-200 dark:border-gray-500 whitespace-normal",children:[(0,l.jsxs)("div",{children:[e.title&&(0,l.jsx)("div",{className:"mb-2 text-lg",children:e.title}),e.describe&&(0,l.jsx)("div",{className:"mb-4 text-sm text-gray-500",children:e.describe})]}),(0,l.jsx)(n._z,{data:e.data,chartType:(0,n.aG)(e.type)})]},"chart-".concat(t)))},"row-".concat(t)))})},ee=a(37022);let et={todo:{bgClass:"bg-gray-500",icon:(0,l.jsx)(S.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,l.jsx)(ee.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,l.jsx)(V.Z,{className:"ml-2"})},complete:{bgClass:"bg-green-500",icon:(0,l.jsx)(C.Z,{className:"ml-2"})}};var ea=function(e){var t,a;let{data:n}=e,{bgClass:r,icon:s}=null!==(t=et[n.status])&&void 0!==t?t:{};return(0,l.jsxs)("div",{className:"bg-theme-light dark:bg-theme-dark-container rounded overflow-hidden my-2 flex flex-col",children:[(0,l.jsxs)("div",{className:G()("flex px-4 md:px-6 py-2 items-center text-white text-sm",r),children:[n.name,s]}),n.result?(0,l.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm whitespace-normal",children:(0,l.jsx)(m.D,{components:ej,rehypePlugins:[h.Z],remarkPlugins:[x.Z],children:null!==(a=n.result)&&void 0!==a?a:""})}):(0,l.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:n.err_msg})]})},el=a(26953),en=a(65242),er=a(25951),es=a(42786),ei=e=>{let{data:t}=e,a=(0,N.useMemo)(()=>{switch(t.status){case"todo":return(0,l.jsx)(S.Z,{});case"failed":return(0,l.jsx)(en.Z,{className:"text-[rgb(255,77,79)]"});case"complete":return(0,l.jsx)(er.Z,{className:"text-[rgb(82,196,26)]"});case"running":return(0,l.jsx)(es.Z,{indicator:(0,l.jsx)(ee.Z,{style:{fontSize:24},spin:!0})});default:return null}},[t]);return t?(0,l.jsxs)("div",{className:"flex flex-col p-2 border pr-4 rounded-md min-w-fit w-2/5",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(el.Z,{scene:"chat_agent",width:8,height:8}),(0,l.jsxs)("div",{className:"flex flex-col flex-1 ml-2",children:[(0,l.jsx)("div",{className:"flex items-center text-sm dark:text-[rgba(255,255,255,0.85)] gap-2",children:null==t?void 0:t.app_name}),(0,l.jsx)(g.Z.Text,{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",ellipsis:{tooltip:!0},children:null==t?void 0:t.app_desc})]})]}),(0,l.jsx)("div",{className:"text-2xl ml-1",children:a})]}),"failed"===t.status&&t.msg&&(0,l.jsx)(g.Z.Text,{type:"danger",className:"pl-12 text-xs mt-2",children:t.msg})]}):null},ec=a(12061),ed=a(29549),eo=e=>{let{children:t,msg:a}=e,{handleChat:n}=(0,N.useContext)(ec.ChatContentContext),{handleChat:r}=(0,N.useContext)(ed.MobileChatContext);return(0,l.jsx)(E.ZP,{className:"ml-1 inline text-xs",onClick:()=>{null==r||r(a),null==n||n(a)},type:"dashed",size:"small",children:t||"点击分析当前异常"})},eu=a(59510),em=a(60855),eh=a(95679),ex=a(76914),ep=e=>{let{data:t}=e,{mode:a}=(0,N.useContext)(Q.p),n=(0,N.useMemo)(()=>{switch(t.status){case"complete":return"success";case"failed":return"error";case"running":return"warning"}},[t]);if(!t)return null;let r="dark"===a?em.R:eh.K;return(0,l.jsxs)("div",{className:"flex flex-1 flex-col",children:[(0,l.jsx)(ex.Z,{className:G()("mb-4",{"bg-[#fafafa] border-[transparent]":!n}),message:t.name,type:n,...n&&{showIcon:!0},..."warning"===n&&{icon:(0,l.jsx)(es.Z,{indicator:(0,l.jsx)(ee.Z,{spin:!0})})}}),t.result&&(0,l.jsx)(eu.ZP,{style:{...r,width:"100%",padding:10},className:G()({"bg-[#fafafa]":"light"===a}),value:JSON.parse(t.result||"{}"),enableClipboard:!1,displayDataTypes:!1,objectSortKeys:!1}),t.err_msg&&(0,l.jsx)(m.D,{components:ej,remarkPlugins:[x.Z],rehypePlugins:[h.Z],children:t.err_msg})]})};let ev=["custom-view","chart-view","references","summary"],ef=e=>{let t={",":",","。":".","?":"?","!":"!",":":":",";":";","“":'"',"”":'"',"‘":"'","’":"'","(":"(",")":")","【":"[","】":"]","《":"<","》":">","—":"-","、":",","…":"..."},a=RegExp(Object.keys(t).join("|"),"g");return e.replace(a,e=>t[e])},eg={code(e){let{inline:t,node:a,className:n,children:r,style:s,...i}=e,c=String(r),{context:d,matchValues:o}=function(e){let t=ev.reduce((t,a)=>{let l=RegExp("<".concat(a,"[^>]*/?>"),"gi");return e=e.replace(l,e=>(t.push(e),"")),t},[]);return{context:e,matchValues:t}}(c),u=(null==n?void 0:n.replace("language-",""))||"javascript";if("agent-plans"===u)try{let e=JSON.parse(c);return(0,l.jsx)(P,{data:e})}catch(e){return(0,l.jsx)(J,{language:u,code:c})}if("agent-messages"===u)try{let e=JSON.parse(c);return(0,l.jsx)(w,{data:e})}catch(e){return(0,l.jsx)(J,{language:u,code:c})}if("vis-convert-error"===u)try{let e=JSON.parse(c);return(0,l.jsx)(X,{data:e})}catch(e){return(0,l.jsx)(J,{language:u,code:c})}if("vis-dashboard"===u)try{let e=JSON.parse(c);return(0,l.jsx)(Y,{data:e})}catch(e){return(0,l.jsx)(J,{language:u,code:c})}if("vis-chart"===u)try{let e=JSON.parse(c);return(0,l.jsx)(F,{data:e})}catch(e){return(0,l.jsx)(J,{language:u,code:c})}if("vis-plugin"===u)try{let e=JSON.parse(c);return(0,l.jsx)(ea,{data:e})}catch(e){return(0,l.jsx)(J,{language:u,code:c})}if("vis-code"===u)try{let e=JSON.parse(c);return(0,l.jsx)(H,{data:e})}catch(e){return(0,l.jsx)(J,{language:u,code:c})}if("vis-app-link"===u)try{let e=JSON.parse(c);return(0,l.jsx)(ei,{data:e})}catch(e){return(0,l.jsx)(J,{language:u,code:c})}if("vis-api-response"===u)try{let e=JSON.parse(c);return(0,l.jsx)(ep,{data:e})}catch(e){return(0,l.jsx)(J,{language:u,code:c})}return(0,l.jsxs)(l.Fragment,{children:[t?(0,l.jsx)("code",{...i,style:s,className:"p-1 mx-1 rounded bg-theme-light dark:bg-theme-dark text-sm",children:r}):(0,l.jsx)(J,{code:d,language:u}),(0,l.jsx)(m.D,{components:eg,rehypePlugins:[h.Z],remarkPlugins:[x.Z],children:o.join("\n")})]})},ul(e){let{children:t}=e;return(0,l.jsx)("ul",{className:"py-1",children:t})},ol(e){let{children:t}=e;return(0,l.jsx)("ol",{className:"py-1",children:t})},li(e){let{children:t,ordered:a}=e;return(0,l.jsx)("li",{className:"text-sm leading-7 ml-5 pl-2 text-gray-600 dark:text-gray-300 ".concat(a?"list-decimal":"list-disc"),children:t})},table(e){let{children:t}=e;return(0,l.jsx)("table",{className:"my-2 rounded-tl-md rounded-tr-md bg-white dark:bg-gray-800 text-sm rounded-lg overflow-hidden",children:t})},thead(e){let{children:t}=e;return(0,l.jsx)("thead",{className:"bg-[#fafafa] dark:bg-black font-semibold",children:t})},th(e){let{children:t}=e;return(0,l.jsx)("th",{className:"!text-left p-4",children:t})},td(e){let{children:t}=e;return(0,l.jsx)("td",{className:"p-4 border-t border-[#f0f0f0] dark:border-gray-700",children:t})},h1(e){let{children:t}=e;return(0,l.jsx)("h3",{className:"text-2xl font-bold my-4 border-b border-slate-300 pb-4",children:t})},h2(e){let{children:t}=e;return(0,l.jsx)("h3",{className:"text-xl font-bold my-3",children:t})},h3(e){let{children:t}=e;return(0,l.jsx)("h3",{className:"text-lg font-semibold my-2",children:t})},h4(e){let{children:t}=e;return(0,l.jsx)("h3",{className:"text-base font-semibold my-1",children:t})},a(e){let{children:t,href:a}=e;return(0,l.jsxs)("div",{className:"inline-block text-blue-600 dark:text-blue-400",children:[(0,l.jsx)(r.Z,{className:"mr-1"}),(0,l.jsx)("a",{href:a,target:"_blank",children:t})]})},img(e){let{src:t,alt:a}=e;return(0,l.jsx)("div",{children:(0,l.jsx)(c.Z,{className:"min-h-[1rem] max-w-full max-h-full border rounded",src:t,alt:a,placeholder:(0,l.jsx)(d.Z,{icon:(0,l.jsx)(s.Z,{spin:!0}),color:"processing",children:"Image Loading..."}),fallback:"/pictures/fallback.png"})})},blockquote(e){let{children:t}=e;return(0,l.jsx)("blockquote",{className:"py-4 px-6 border-l-4 border-blue-600 rounded bg-white my-2 text-gray-500 dark:bg-slate-800 dark:text-gray-200 dark:border-white shadow-sm",children:t})},button(e){let{children:t,className:a,...n}=e;if("chat-link"===a){let e=null==n?void 0:n["data-msg"];return(0,l.jsx)(eo,{msg:e,children:t})}return(0,l.jsx)("button",{className:a,...n,children:t})},"chart-view":function(e){var t,a,r;let s,{content:i,children:c}=e;try{s=JSON.parse(i)}catch(e){console.log(e,i),s={type:"response_table",sql:"",data:[]}}let d=(null==s?void 0:null===(t=s.data)||void 0===t?void 0:t[0])?null===(a=Object.keys(null==s?void 0:null===(r=s.data)||void 0===r?void 0:r[0]))||void 0===a?void 0:a.map(e=>({title:e,dataIndex:e,key:e})):[],m={key:"chart",label:"Chart",children:(0,l.jsx)(n._z,{data:null==s?void 0:s.data,chartType:(0,n.aG)(null==s?void 0:s.type)})},h={key:"sql",label:"SQL",children:(0,l.jsx)(J,{code:(0,A._m)(ef(null==s?void 0:s.sql),"mysql"),language:"sql"})},x={key:"data",label:"Data",children:(0,l.jsx)(o.Z,{dataSource:null==s?void 0:s.data,columns:d,scroll:{x:!0},virtual:!0})},p=(null==s?void 0:s.type)==="response_table"?[x,h]:[m,h,x];return(0,l.jsxs)("div",{children:[(0,l.jsx)(u.Z,{defaultActiveKey:(null==s?void 0:s.type)==="response_table"?"data":"chart",items:p,size:"small"}),c]})},references:function(e){let{title:t,references:a,children:n}=e;if(n)try{let e=JSON.parse(n),t=e.references;return(0,l.jsx)(k,{references:t})}catch(e){return null}},summary:function(e){let{children:t}=e;return(0,l.jsxs)("div",{children:[(0,l.jsxs)("p",{className:"mb-2",children:[(0,l.jsx)(i.Z,{className:"mr-2"}),(0,l.jsx)("span",{className:"font-semibold",children:"Document Summary"})]}),(0,l.jsx)("div",{children:t})]})}};var ej=eg},26657:function(e,t,a){a.r(t);var l=a(96469),n=a(2242);a(38497);var r=a(83455),s=a(73304),i=a(94090);t.default=e=>{let{children:t}=e;return(0,l.jsx)(r.D,{components:{...n.Z},rehypePlugins:[s.Z],remarkPlugins:[i.Z],children:t})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5956-836988ef1086feb1.js b/dbgpt/app/static/web/_next/static/chunks/5956-836988ef1086feb1.js deleted file mode 100644 index 6195936a3..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/5956-836988ef1086feb1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5956],{96890:function(e,t,n){n.d(t,{Z:function(){return f}});var r=n(42096),a=n(10921),i=n(38497),o=n(42834),c=["type","children"],l=new Set;function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e[t];if("string"==typeof n&&n.length&&!l.has(n)){var r=document.createElement("script");r.setAttribute("src",n),r.setAttribute("data-namespace",n),e.length>t+1&&(r.onload=function(){d(e,t+1)},r.onerror=function(){d(e,t+1)}),l.add(n),document.body.appendChild(r)}}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,l=void 0===n?{}:n;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?d(t.reverse()):d([t]));var f=i.forwardRef(function(e,t){var n=e.type,d=e.children,f=(0,a.Z)(e,c),s=null;return e.type&&(s=i.createElement("use",{xlinkHref:"#".concat(n)})),d&&(s=d),i.createElement(o.Z,(0,r.Z)({},l,f,{ref:t}),s)});return f.displayName="Iconfont",f}},67620:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(42096),a=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},o=n(75651),c=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},74552:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(42096),a=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},o=n(75651),c=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},98028:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(42096),a=n(38497),i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},o=n(75651),c=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},71534:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(42096),a=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},o=n(75651),c=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},16559:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(42096),a=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},o=n(75651),c=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},1858:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(42096),a=n(38497),i={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},o=n(75651),c=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},72828:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(42096),a=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},o=n(75651),c=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},31676:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(42096),a=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(75651),c=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},32857:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(42096),a=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(75651),c=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},87674:function(e,t,n){n.d(t,{Z:function(){return g}});var r=n(38497),a=n(26869),i=n.n(a),o=n(63346),c=n(72178),l=n(60848),d=n(90102),f=n(74934);let s=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:a,textPaddingInline:i,orientationMargin:o,verticalMarginInline:d}=e;return{[t]:Object.assign(Object.assign({},(0,l.Wf)(e)),{borderBlockStart:`${(0,c.bf)(a)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:d,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,c.bf)(a)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,c.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,c.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,c.bf)(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${o} * 100%)`},"&::after":{width:`calc(100% - ${o} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${o} * 100%)`},"&::after":{width:`calc(${o} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${(0,c.bf)(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${(0,c.bf)(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}};var h=(0,d.I$)("Divider",e=>{let t=(0,f.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[s(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},g=e=>{let{getPrefixCls:t,direction:n,divider:a}=r.useContext(o.E_),{prefixCls:c,type:l="horizontal",orientation:d="center",orientationMargin:f,className:s,rootClassName:g,children:v,dashed:m,variant:b="solid",plain:p,style:w}=e,$=u(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),z=t("divider",c),[x,y,Z]=h(z),H=!!v,E="left"===d&&null!=f,M="right"===d&&null!=f,S=i()(z,null==a?void 0:a.className,y,Z,`${z}-${l}`,{[`${z}-with-text`]:H,[`${z}-with-text-${d}`]:H,[`${z}-dashed`]:!!m,[`${z}-${b}`]:"solid"!==b,[`${z}-plain`]:!!p,[`${z}-rtl`]:"rtl"===n,[`${z}-no-default-orientation-margin-left`]:E,[`${z}-no-default-orientation-margin-right`]:M},s,g),k=r.useMemo(()=>"number"==typeof f?f:/^\d+$/.test(f)?Number(f):f,[f]),B=Object.assign(Object.assign({},E&&{marginLeft:k}),M&&{marginRight:k});return x(r.createElement("div",Object.assign({className:S,style:Object.assign(Object.assign({},null==a?void 0:a.style),w)},$,{role:"separator"}),v&&"vertical"!==l&&r.createElement("span",{className:`${z}-inner-text`,style:B},v)))}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5996-c1e24dfed981f028.js b/dbgpt/app/static/web/_next/static/chunks/5996-3826de4c64db3a45.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/5996-c1e24dfed981f028.js rename to dbgpt/app/static/web/_next/static/chunks/5996-3826de4c64db3a45.js index 3901b2678..e3eb90dc9 100644 --- a/dbgpt/app/static/web/_next/static/chunks/5996-c1e24dfed981f028.js +++ b/dbgpt/app/static/web/_next/static/chunks/5996-3826de4c64db3a45.js @@ -1,3 +1,3 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5996],{97511:function(e,t,n){n.d(t,{Z:function(){return l}});var a=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},i=n(75651),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:r}))})},5996:function(e,t,n){n.d(t,{Z:function(){return e_}});var a=n(38497),o=n(84223),r=n(52896),i=n(97511),l=n(26869),c=n.n(l),d=n(42096),s=n(65148),u=n(4247),f=n(65347),v=n(14433),b=n(10921),p=n(77757),m=n(61193),h=(0,a.createContext)(null),g=n(72991),$=n(31617),k=n(80988),y=n(7544),x=n(25043),_=function(e){var t=e.activeTabOffset,n=e.horizontal,o=e.rtl,r=e.indicator,i=void 0===r?{}:r,l=i.size,c=i.align,d=void 0===c?"center":c,s=(0,a.useState)(),u=(0,f.Z)(s,2),v=u[0],b=u[1],p=(0,a.useRef)(),m=a.useCallback(function(e){return"function"==typeof l?l(e):"number"==typeof l?l:e},[l]);function h(){x.Z.cancel(p.current)}return(0,a.useEffect)(function(){var e={};if(t){if(n){e.width=m(t.width);var a=o?"right":"left";"start"===d&&(e[a]=t[a]),"center"===d&&(e[a]=t[a]+t.width/2,e.transform=o?"translateX(50%)":"translateX(-50%)"),"end"===d&&(e[a]=t[a]+t.width,e.transform="translateX(-100%)")}else e.height=m(t.height),"start"===d&&(e.top=t.top),"center"===d&&(e.top=t.top+t.height/2,e.transform="translateY(-50%)"),"end"===d&&(e.top=t.top+t.height,e.transform="translateY(-100%)")}return h(),p.current=(0,x.Z)(function(){b(e)}),h},[t,n,o,d,m]),{style:v}},w={width:0,height:0,left:0,top:0};function S(e,t){var n=a.useRef(e),o=a.useState({}),r=(0,f.Z)(o,2)[1];return[n.current,function(e){var a="function"==typeof e?e(n.current):e;a!==n.current&&t(a,n.current),n.current=a,r({})}]}var E=n(46644);function Z(e){var t=(0,a.useState)(0),n=(0,f.Z)(t,2),o=n[0],r=n[1],i=(0,a.useRef)(0),l=(0,a.useRef)();return l.current=e,(0,E.o)(function(){var e;null===(e=l.current)||void 0===e||e.call(l)},[o]),function(){i.current===o&&(i.current+=1,r(i.current))}}var C={width:0,height:0,left:0,top:0,right:0};function R(e){var t;return e instanceof Map?(t={},e.forEach(function(e,n){t[n]=e})):t=e,JSON.stringify(t)}function P(e){return String(e).replace(/"/g,"TABS_DQ")}function T(e,t,n,a){return!!n&&!a&&!1!==e&&(void 0!==e||!1!==t&&null!==t)}var I=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.editable,r=e.locale,i=e.style;return o&&!1!==o.showAdd?a.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){o.onEdit("add",{event:e})}},o.addIcon||"+"):null}),L=a.forwardRef(function(e,t){var n,o=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var l={};return"object"!==(0,v.Z)(i)||a.isValidElement(i)?l.right=i:l=i,"right"===o&&(n=l.right),"left"===o&&(n=l.left),n?a.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},n):null}),M=n(195),N=n(82843),z=n(16956),O=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.id,r=e.tabs,i=e.locale,l=e.mobile,u=e.more,v=void 0===u?{}:u,b=e.style,p=e.className,m=e.editable,h=e.tabBarGutter,g=e.rtl,$=e.removeAriaLabel,k=e.onTabClick,y=e.getPopupContainer,x=e.popupClassName,_=(0,a.useState)(!1),w=(0,f.Z)(_,2),S=w[0],E=w[1],Z=(0,a.useState)(null),C=(0,f.Z)(Z,2),R=C[0],P=C[1],L=v.icon,O=void 0===L?"More":L,B="".concat(o,"-more-popup"),D="".concat(n,"-dropdown"),j=null!==R?"".concat(B,"-").concat(R):null,G=null==i?void 0:i.dropdownAriaLabel,W=a.createElement(N.ZP,{onClick:function(e){k(e.key,e.domEvent),E(!1)},prefixCls:"".concat(D,"-menu"),id:B,tabIndex:-1,role:"listbox","aria-activedescendant":j,selectedKeys:[R],"aria-label":void 0!==G?G:"expanded dropdown"},r.map(function(e){var t=e.closable,n=e.disabled,r=e.closeIcon,i=e.key,l=e.label,c=T(t,r,m,n);return a.createElement(N.sN,{key:i,id:"".concat(B,"-").concat(i),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(i),disabled:n},a.createElement("span",null,l),c&&a.createElement("button",{type:"button","aria-label":$||"remove",tabIndex:0,className:"".concat(D,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),e.preventDefault(),e.stopPropagation(),m.onEdit("remove",{key:i,event:e})}},r||m.removeIcon||"\xd7"))}));function X(e){for(var t=r.filter(function(e){return!e.disabled}),n=t.findIndex(function(e){return e.key===R})||0,a=t.length,o=0;oMath.abs(l-n)?[l,c,d-t.x,s-t.y]:[n,a,r,o]},G=function(e){var t=e.current||{},n=t.offsetWidth,a=void 0===n?0:n,o=t.offsetHeight;if(e.current){var r=e.current.getBoundingClientRect(),i=r.width,l=r.height;if(1>Math.abs(i-a))return[i,l]}return[a,void 0===o?0:o]},W=function(e,t){return e[t?0:1]},X=a.forwardRef(function(e,t){var n,o,r,i,l,v,b,p,m,x,E,T,M,N,z,O,X,A,H,q,K,F,V,Y,Q,J,U,ee,et,en,ea,eo,er,ei,el,ec,ed,es,eu,ef=e.className,ev=e.style,eb=e.id,ep=e.animated,em=e.activeKey,eh=e.rtl,eg=e.extra,e$=e.editable,ek=e.locale,ey=e.tabPosition,ex=e.tabBarGutter,e_=e.children,ew=e.onTabClick,eS=e.onTabScroll,eE=e.indicator,eZ=a.useContext(h),eC=eZ.prefixCls,eR=eZ.tabs,eP=(0,a.useRef)(null),eT=(0,a.useRef)(null),eI=(0,a.useRef)(null),eL=(0,a.useRef)(null),eM=(0,a.useRef)(null),eN=(0,a.useRef)(null),ez=(0,a.useRef)(null),eO="top"===ey||"bottom"===ey,eB=S(0,function(e,t){eO&&eS&&eS({direction:e>t?"left":"right"})}),eD=(0,f.Z)(eB,2),ej=eD[0],eG=eD[1],eW=S(0,function(e,t){!eO&&eS&&eS({direction:e>t?"top":"bottom"})}),eX=(0,f.Z)(eW,2),eA=eX[0],eH=eX[1],eq=(0,a.useState)([0,0]),eK=(0,f.Z)(eq,2),eF=eK[0],eV=eK[1],eY=(0,a.useState)([0,0]),eQ=(0,f.Z)(eY,2),eJ=eQ[0],eU=eQ[1],e0=(0,a.useState)([0,0]),e1=(0,f.Z)(e0,2),e2=e1[0],e8=e1[1],e9=(0,a.useState)([0,0]),e4=(0,f.Z)(e9,2),e6=e4[0],e7=e4[1],e5=(n=new Map,o=(0,a.useRef)([]),r=(0,a.useState)({}),i=(0,f.Z)(r,2)[1],l=(0,a.useRef)("function"==typeof n?n():n),v=Z(function(){var e=l.current;o.current.forEach(function(t){e=t(e)}),o.current=[],l.current=e,i({})}),[l.current,function(e){o.current.push(e),v()}]),e3=(0,f.Z)(e5,2),te=e3[0],tt=e3[1],tn=(b=eJ[0],(0,a.useMemo)(function(){for(var e=new Map,t=te.get(null===(o=eR[0])||void 0===o?void 0:o.key)||w,n=t.left+t.width,a=0;atu?tu:e}eO&&eh?(ts=0,tu=Math.max(0,to-tc)):(ts=Math.min(0,tc-to),tu=0);var tv=(0,a.useRef)(null),tb=(0,a.useState)(),tp=(0,f.Z)(tb,2),tm=tp[0],th=tp[1];function tg(){th(Date.now())}function t$(){tv.current&&clearTimeout(tv.current)}p=function(e,t){function n(e,t){e(function(e){return tf(e+t)})}return!!tl&&(eO?n(eG,e):n(eH,t),t$(),tg(),!0)},m=(0,a.useState)(),E=(x=(0,f.Z)(m,2))[0],T=x[1],M=(0,a.useState)(0),z=(N=(0,f.Z)(M,2))[0],O=N[1],X=(0,a.useState)(0),H=(A=(0,f.Z)(X,2))[0],q=A[1],K=(0,a.useState)(),V=(F=(0,f.Z)(K,2))[0],Y=F[1],Q=(0,a.useRef)(),J=(0,a.useRef)(),(U=(0,a.useRef)(null)).current={onTouchStart:function(e){var t=e.touches[0];T({x:t.screenX,y:t.screenY}),window.clearInterval(Q.current)},onTouchMove:function(e){if(E){e.preventDefault();var t=e.touches[0],n=t.screenX,a=t.screenY;T({x:n,y:a});var o=n-E.x,r=a-E.y;p(o,r);var i=Date.now();O(i),q(i-z),Y({x:o,y:r})}},onTouchEnd:function(){if(E&&(T(null),Y(null),V)){var e=V.x/H,t=V.y/H;if(!(.1>Math.max(Math.abs(e),Math.abs(t)))){var n=e,a=t;Q.current=window.setInterval(function(){if(.01>Math.abs(n)&&.01>Math.abs(a)){window.clearInterval(Q.current);return}p(20*(n*=.9046104802746175),20*(a*=.9046104802746175))},20)}}},onWheel:function(e){var t=e.deltaX,n=e.deltaY,a=0,o=Math.abs(t),r=Math.abs(n);o===r?a="x"===J.current?t:n:o>r?(a=t,J.current="x"):(a=n,J.current="y"),p(-a,-a)&&e.preventDefault()}},a.useEffect(function(){function e(e){U.current.onTouchMove(e)}function t(e){U.current.onTouchEnd(e)}return document.addEventListener("touchmove",e,{passive:!1}),document.addEventListener("touchend",t,{passive:!0}),eL.current.addEventListener("touchstart",function(e){U.current.onTouchStart(e)},{passive:!0}),eL.current.addEventListener("wheel",function(e){U.current.onWheel(e)},{passive:!1}),function(){document.removeEventListener("touchmove",e),document.removeEventListener("touchend",t)}},[]),(0,a.useEffect)(function(){return t$(),tm&&(tv.current=setTimeout(function(){th(0)},100)),t$},[tm]);var tk=(ee=eO?ej:eA,er=(et=(0,u.Z)((0,u.Z)({},e),{},{tabs:eR})).tabs,ei=et.tabPosition,el=et.rtl,["top","bottom"].includes(ei)?(en="width",ea=el?"right":"left",eo=Math.abs(ee)):(en="height",ea="top",eo=-ee),(0,a.useMemo)(function(){if(!er.length)return[0,0];for(var e=er.length,t=e,n=0;neo+tc){t=n-1;break}}for(var o=0,r=e-1;r>=0;r-=1)if((tn.get(er[r].key)||C)[ea]=t?[0,0]:[o,t]},[tn,tc,to,tr,ti,eo,ei,er.map(function(e){return e.key}).join("_"),el])),ty=(0,f.Z)(tk,2),tx=ty[0],t_=ty[1],tw=(0,k.Z)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:em,t=tn.get(e)||{width:0,height:0,left:0,right:0,top:0};if(eO){var n=ej;eh?t.rightej+tc&&(n=t.right+t.width-tc):t.left<-ej?n=-t.left:t.left+t.width>-ej+tc&&(n=-(t.left+t.width-tc)),eH(0),eG(tf(n))}else{var a=eA;t.top<-eA?a=-t.top:t.top+t.height>-eA+tc&&(a=-(t.top+t.height-tc)),eG(0),eH(tf(a))}}),tS={};"top"===ey||"bottom"===ey?tS[eh?"marginRight":"marginLeft"]=ex:tS.marginTop=ex;var tE=eR.map(function(e,t){var n=e.key;return a.createElement(D,{id:eb,prefixCls:eC,key:n,tab:e,style:0===t?void 0:tS,closable:e.closable,editable:e$,active:n===em,renderWrapper:e_,removeAriaLabel:null==ek?void 0:ek.removeAriaLabel,onClick:function(e){ew(n,e)},onFocus:function(){tw(n),tg(),eL.current&&(eh||(eL.current.scrollLeft=0),eL.current.scrollTop=0)}})}),tZ=function(){return tt(function(){var e,t=new Map,n=null===(e=eM.current)||void 0===e?void 0:e.getBoundingClientRect();return eR.forEach(function(e){var a,o=e.key,r=null===(a=eM.current)||void 0===a?void 0:a.querySelector('[data-node-key="'.concat(P(o),'"]'));if(r){var i=j(r,n),l=(0,f.Z)(i,4),c=l[0],d=l[1],s=l[2],u=l[3];t.set(o,{width:c,height:d,left:s,top:u})}}),t})};(0,a.useEffect)(function(){tZ()},[eR.map(function(e){return e.key}).join("_")]);var tC=Z(function(){var e=G(eP),t=G(eT),n=G(eI);eV([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var a=G(ez);e8(a),e7(G(eN));var o=G(eM);eU([o[0]-a[0],o[1]-a[1]]),tZ()}),tR=eR.slice(0,tx),tP=eR.slice(t_+1),tT=[].concat((0,g.Z)(tR),(0,g.Z)(tP)),tI=tn.get(em),tL=_({activeTabOffset:tI,horizontal:eO,indicator:eE,rtl:eh}).style;(0,a.useEffect)(function(){tw()},[em,ts,tu,R(tI),R(tn),eO]),(0,a.useEffect)(function(){tC()},[eh]);var tM=!!tT.length,tN="".concat(eC,"-nav-wrap");return eO?eh?(ed=ej>0,ec=ej!==tu):(ec=ej<0,ed=ej!==ts):(es=eA<0,eu=eA!==ts),a.createElement($.Z,{onResize:tC},a.createElement("div",{ref:(0,y.x1)(t,eP),role:"tablist",className:c()("".concat(eC,"-nav"),ef),style:ev,onKeyDown:function(){tg()}},a.createElement(L,{ref:eT,position:"left",extra:eg,prefixCls:eC}),a.createElement($.Z,{onResize:tC},a.createElement("div",{className:c()(tN,(0,s.Z)((0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(tN,"-ping-left"),ec),"".concat(tN,"-ping-right"),ed),"".concat(tN,"-ping-top"),es),"".concat(tN,"-ping-bottom"),eu)),ref:eL},a.createElement($.Z,{onResize:tC},a.createElement("div",{ref:eM,className:"".concat(eC,"-nav-list"),style:{transform:"translate(".concat(ej,"px, ").concat(eA,"px)"),transition:tm?"none":void 0}},tE,a.createElement(I,{ref:ez,prefixCls:eC,locale:ek,editable:e$,style:(0,u.Z)((0,u.Z)({},0===tE.length?void 0:tS),{},{visibility:tM?"hidden":null})}),a.createElement("div",{className:c()("".concat(eC,"-ink-bar"),(0,s.Z)({},"".concat(eC,"-ink-bar-animated"),ep.inkBar)),style:tL}))))),a.createElement(B,(0,d.Z)({},e,{removeAriaLabel:null==ek?void 0:ek.removeAriaLabel,ref:eN,prefixCls:eC,tabs:tT,className:!tM&&td,tabMoving:!!tm})),a.createElement(L,{ref:eI,position:"right",extra:eg,prefixCls:eC})))}),A=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.className,r=e.style,i=e.id,l=e.active,d=e.tabKey,s=e.children;return a.createElement("div",{id:i&&"".concat(i,"-panel-").concat(d),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(d),"aria-hidden":!l,style:r,className:c()(n,l&&"".concat(n,"-active"),o),ref:t},s)}),H=["renderTabBar"],q=["label","key"],K=function(e){var t=e.renderTabBar,n=(0,b.Z)(e,H),o=a.useContext(h).tabs;return t?t((0,u.Z)((0,u.Z)({},n),{},{panes:o.map(function(e){var t=e.label,n=e.key,o=(0,b.Z)(e,q);return a.createElement(A,(0,d.Z)({tab:t,key:n,tabKey:n},o))})}),X):a.createElement(X,n)},F=n(53979),V=["key","forceRender","style","className","destroyInactiveTabPane"],Y=function(e){var t=e.id,n=e.activeKey,o=e.animated,r=e.tabPosition,i=e.destroyInactiveTabPane,l=a.useContext(h),f=l.prefixCls,v=l.tabs,p=o.tabPane,m="".concat(f,"-tabpane");return a.createElement("div",{className:c()("".concat(f,"-content-holder"))},a.createElement("div",{className:c()("".concat(f,"-content"),"".concat(f,"-content-").concat(r),(0,s.Z)({},"".concat(f,"-content-animated"),p))},v.map(function(e){var r=e.key,l=e.forceRender,s=e.style,f=e.className,v=e.destroyInactiveTabPane,h=(0,b.Z)(e,V),g=r===n;return a.createElement(F.ZP,(0,d.Z)({key:r,visible:g,forceRender:l,removeOnLeave:!!(i||v),leavedClassName:"".concat(m,"-hidden")},o.tabPaneMotion),function(e,n){var o=e.style,i=e.className;return a.createElement(A,(0,d.Z)({},h,{prefixCls:m,id:t,tabKey:r,animated:p,active:g,style:(0,u.Z)((0,u.Z)({},s),o),className:c()(f,i),ref:n}))})})))};n(89842);var Q=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],J=0,U=a.forwardRef(function(e,t){var n=e.id,o=e.prefixCls,r=void 0===o?"rc-tabs":o,i=e.className,l=e.items,g=e.direction,$=e.activeKey,k=e.defaultActiveKey,y=e.editable,x=e.animated,_=e.tabPosition,w=void 0===_?"top":_,S=e.tabBarGutter,E=e.tabBarStyle,Z=e.tabBarExtraContent,C=e.locale,R=e.more,P=e.destroyInactiveTabPane,T=e.renderTabBar,I=e.onChange,L=e.onTabClick,M=e.onTabScroll,N=e.getPopupContainer,z=e.popupClassName,O=e.indicator,B=(0,b.Z)(e,Q),D=a.useMemo(function(){return(l||[]).filter(function(e){return e&&"object"===(0,v.Z)(e)&&"key"in e})},[l]),j="rtl"===g,G=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,u.Z)({inkBar:!0},"object"===(0,v.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(x),W=(0,a.useState)(!1),X=(0,f.Z)(W,2),A=X[0],H=X[1];(0,a.useEffect)(function(){H((0,m.Z)())},[]);var q=(0,p.Z)(function(){var e;return null===(e=D[0])||void 0===e?void 0:e.key},{value:$,defaultValue:k}),F=(0,f.Z)(q,2),V=F[0],U=F[1],ee=(0,a.useState)(function(){return D.findIndex(function(e){return e.key===V})}),et=(0,f.Z)(ee,2),en=et[0],ea=et[1];(0,a.useEffect)(function(){var e,t=D.findIndex(function(e){return e.key===V});-1===t&&(t=Math.max(0,Math.min(en,D.length-1)),U(null===(e=D[t])||void 0===e?void 0:e.key)),ea(t)},[D.map(function(e){return e.key}).join("_"),V,en]);var eo=(0,p.Z)(null,{value:n}),er=(0,f.Z)(eo,2),ei=er[0],el=er[1];(0,a.useEffect)(function(){n||(el("rc-tabs-".concat(J)),J+=1)},[]);var ec={id:ei,activeKey:V,animated:G,tabPosition:w,rtl:j,mobile:A},ed=(0,u.Z)((0,u.Z)({},ec),{},{editable:y,locale:C,more:R,tabBarGutter:S,onTabClick:function(e,t){null==L||L(e,t);var n=e!==V;U(e),n&&(null==I||I(e))},onTabScroll:M,extra:Z,style:E,panes:null,getPopupContainer:N,popupClassName:z,indicator:O});return a.createElement(h.Provider,{value:{tabs:D,prefixCls:r}},a.createElement("div",(0,d.Z)({ref:t,id:n,className:c()(r,"".concat(r,"-").concat(w),(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(r,"-mobile"),A),"".concat(r,"-editable"),y),"".concat(r,"-rtl"),j),i)},B),a.createElement(K,(0,d.Z)({},ed,{renderTabBar:T})),a.createElement(Y,(0,d.Z)({destroyInactiveTabPane:P},ec,{animated:G}))))}),ee=n(63346),et=n(95227),en=n(82014),ea=n(17383);let eo={motionAppear:!1,motionEnter:!0,motionLeave:!0};var er=n(10469),ei=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n},el=n(72178),ec=n(60848),ed=n(90102),es=n(74934),eu=n(57723),ef=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,eu.oN)(e,"slide-up"),(0,eu.oN)(e,"slide-down")]]};let ev=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:a,cardGutter:o,colorBorderSecondary:r,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:a,border:`${(0,el.bf)(e.lineWidth)} ${e.lineType} ${r}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,el.bf)(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,el.bf)(e.borderRadiusLG)} ${(0,el.bf)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,el.bf)(e.borderRadiusLG)} ${(0,el.bf)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,el.bf)(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,el.bf)(e.borderRadiusLG)} 0 0 ${(0,el.bf)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,el.bf)(e.borderRadiusLG)} ${(0,el.bf)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},eb=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:a}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,ec.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,el.bf)(a)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},ec.vS),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,el.bf)(e.paddingXXS)} ${(0,el.bf)(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},ep=e=>{let{componentCls:t,margin:n,colorBorderSecondary:a,horizontalMargin:o,verticalItemPadding:r,verticalItemMargin:i,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,el.bf)(e.lineWidth)} ${e.lineType} ${a}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5996],{97511:function(e,t,n){n.d(t,{Z:function(){return l}});var a=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},i=n(55032),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:r}))})},5996:function(e,t,n){n.d(t,{Z:function(){return e_}});var a=n(38497),o=n(84223),r=n(52896),i=n(97511),l=n(26869),c=n.n(l),d=n(42096),s=n(65148),u=n(4247),f=n(65347),v=n(14433),b=n(10921),p=n(77757),m=n(61193),h=(0,a.createContext)(null),g=n(72991),$=n(31617),k=n(80988),y=n(7544),x=n(25043),_=function(e){var t=e.activeTabOffset,n=e.horizontal,o=e.rtl,r=e.indicator,i=void 0===r?{}:r,l=i.size,c=i.align,d=void 0===c?"center":c,s=(0,a.useState)(),u=(0,f.Z)(s,2),v=u[0],b=u[1],p=(0,a.useRef)(),m=a.useCallback(function(e){return"function"==typeof l?l(e):"number"==typeof l?l:e},[l]);function h(){x.Z.cancel(p.current)}return(0,a.useEffect)(function(){var e={};if(t){if(n){e.width=m(t.width);var a=o?"right":"left";"start"===d&&(e[a]=t[a]),"center"===d&&(e[a]=t[a]+t.width/2,e.transform=o?"translateX(50%)":"translateX(-50%)"),"end"===d&&(e[a]=t[a]+t.width,e.transform="translateX(-100%)")}else e.height=m(t.height),"start"===d&&(e.top=t.top),"center"===d&&(e.top=t.top+t.height/2,e.transform="translateY(-50%)"),"end"===d&&(e.top=t.top+t.height,e.transform="translateY(-100%)")}return h(),p.current=(0,x.Z)(function(){b(e)}),h},[t,n,o,d,m]),{style:v}},w={width:0,height:0,left:0,top:0};function S(e,t){var n=a.useRef(e),o=a.useState({}),r=(0,f.Z)(o,2)[1];return[n.current,function(e){var a="function"==typeof e?e(n.current):e;a!==n.current&&t(a,n.current),n.current=a,r({})}]}var E=n(46644);function Z(e){var t=(0,a.useState)(0),n=(0,f.Z)(t,2),o=n[0],r=n[1],i=(0,a.useRef)(0),l=(0,a.useRef)();return l.current=e,(0,E.o)(function(){var e;null===(e=l.current)||void 0===e||e.call(l)},[o]),function(){i.current===o&&(i.current+=1,r(i.current))}}var C={width:0,height:0,left:0,top:0,right:0};function R(e){var t;return e instanceof Map?(t={},e.forEach(function(e,n){t[n]=e})):t=e,JSON.stringify(t)}function P(e){return String(e).replace(/"/g,"TABS_DQ")}function T(e,t,n,a){return!!n&&!a&&!1!==e&&(void 0!==e||!1!==t&&null!==t)}var I=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.editable,r=e.locale,i=e.style;return o&&!1!==o.showAdd?a.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){o.onEdit("add",{event:e})}},o.addIcon||"+"):null}),L=a.forwardRef(function(e,t){var n,o=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var l={};return"object"!==(0,v.Z)(i)||a.isValidElement(i)?l.right=i:l=i,"right"===o&&(n=l.right),"left"===o&&(n=l.left),n?a.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},n):null}),M=n(195),N=n(82843),z=n(16956),O=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.id,r=e.tabs,i=e.locale,l=e.mobile,u=e.more,v=void 0===u?{}:u,b=e.style,p=e.className,m=e.editable,h=e.tabBarGutter,g=e.rtl,$=e.removeAriaLabel,k=e.onTabClick,y=e.getPopupContainer,x=e.popupClassName,_=(0,a.useState)(!1),w=(0,f.Z)(_,2),S=w[0],E=w[1],Z=(0,a.useState)(null),C=(0,f.Z)(Z,2),R=C[0],P=C[1],L=v.icon,O=void 0===L?"More":L,B="".concat(o,"-more-popup"),D="".concat(n,"-dropdown"),j=null!==R?"".concat(B,"-").concat(R):null,G=null==i?void 0:i.dropdownAriaLabel,W=a.createElement(N.ZP,{onClick:function(e){k(e.key,e.domEvent),E(!1)},prefixCls:"".concat(D,"-menu"),id:B,tabIndex:-1,role:"listbox","aria-activedescendant":j,selectedKeys:[R],"aria-label":void 0!==G?G:"expanded dropdown"},r.map(function(e){var t=e.closable,n=e.disabled,r=e.closeIcon,i=e.key,l=e.label,c=T(t,r,m,n);return a.createElement(N.sN,{key:i,id:"".concat(B,"-").concat(i),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(i),disabled:n},a.createElement("span",null,l),c&&a.createElement("button",{type:"button","aria-label":$||"remove",tabIndex:0,className:"".concat(D,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),e.preventDefault(),e.stopPropagation(),m.onEdit("remove",{key:i,event:e})}},r||m.removeIcon||"\xd7"))}));function X(e){for(var t=r.filter(function(e){return!e.disabled}),n=t.findIndex(function(e){return e.key===R})||0,a=t.length,o=0;oMath.abs(l-n)?[l,c,d-t.x,s-t.y]:[n,a,r,o]},G=function(e){var t=e.current||{},n=t.offsetWidth,a=void 0===n?0:n,o=t.offsetHeight;if(e.current){var r=e.current.getBoundingClientRect(),i=r.width,l=r.height;if(1>Math.abs(i-a))return[i,l]}return[a,void 0===o?0:o]},W=function(e,t){return e[t?0:1]},X=a.forwardRef(function(e,t){var n,o,r,i,l,v,b,p,m,x,E,T,M,N,z,O,X,A,H,q,K,F,V,Y,Q,J,U,ee,et,en,ea,eo,er,ei,el,ec,ed,es,eu,ef=e.className,ev=e.style,eb=e.id,ep=e.animated,em=e.activeKey,eh=e.rtl,eg=e.extra,e$=e.editable,ek=e.locale,ey=e.tabPosition,ex=e.tabBarGutter,e_=e.children,ew=e.onTabClick,eS=e.onTabScroll,eE=e.indicator,eZ=a.useContext(h),eC=eZ.prefixCls,eR=eZ.tabs,eP=(0,a.useRef)(null),eT=(0,a.useRef)(null),eI=(0,a.useRef)(null),eL=(0,a.useRef)(null),eM=(0,a.useRef)(null),eN=(0,a.useRef)(null),ez=(0,a.useRef)(null),eO="top"===ey||"bottom"===ey,eB=S(0,function(e,t){eO&&eS&&eS({direction:e>t?"left":"right"})}),eD=(0,f.Z)(eB,2),ej=eD[0],eG=eD[1],eW=S(0,function(e,t){!eO&&eS&&eS({direction:e>t?"top":"bottom"})}),eX=(0,f.Z)(eW,2),eA=eX[0],eH=eX[1],eq=(0,a.useState)([0,0]),eK=(0,f.Z)(eq,2),eF=eK[0],eV=eK[1],eY=(0,a.useState)([0,0]),eQ=(0,f.Z)(eY,2),eJ=eQ[0],eU=eQ[1],e0=(0,a.useState)([0,0]),e1=(0,f.Z)(e0,2),e2=e1[0],e8=e1[1],e9=(0,a.useState)([0,0]),e4=(0,f.Z)(e9,2),e6=e4[0],e5=e4[1],e7=(n=new Map,o=(0,a.useRef)([]),r=(0,a.useState)({}),i=(0,f.Z)(r,2)[1],l=(0,a.useRef)("function"==typeof n?n():n),v=Z(function(){var e=l.current;o.current.forEach(function(t){e=t(e)}),o.current=[],l.current=e,i({})}),[l.current,function(e){o.current.push(e),v()}]),e3=(0,f.Z)(e7,2),te=e3[0],tt=e3[1],tn=(b=eJ[0],(0,a.useMemo)(function(){for(var e=new Map,t=te.get(null===(o=eR[0])||void 0===o?void 0:o.key)||w,n=t.left+t.width,a=0;atu?tu:e}eO&&eh?(ts=0,tu=Math.max(0,to-tc)):(ts=Math.min(0,tc-to),tu=0);var tv=(0,a.useRef)(null),tb=(0,a.useState)(),tp=(0,f.Z)(tb,2),tm=tp[0],th=tp[1];function tg(){th(Date.now())}function t$(){tv.current&&clearTimeout(tv.current)}p=function(e,t){function n(e,t){e(function(e){return tf(e+t)})}return!!tl&&(eO?n(eG,e):n(eH,t),t$(),tg(),!0)},m=(0,a.useState)(),E=(x=(0,f.Z)(m,2))[0],T=x[1],M=(0,a.useState)(0),z=(N=(0,f.Z)(M,2))[0],O=N[1],X=(0,a.useState)(0),H=(A=(0,f.Z)(X,2))[0],q=A[1],K=(0,a.useState)(),V=(F=(0,f.Z)(K,2))[0],Y=F[1],Q=(0,a.useRef)(),J=(0,a.useRef)(),(U=(0,a.useRef)(null)).current={onTouchStart:function(e){var t=e.touches[0];T({x:t.screenX,y:t.screenY}),window.clearInterval(Q.current)},onTouchMove:function(e){if(E){e.preventDefault();var t=e.touches[0],n=t.screenX,a=t.screenY;T({x:n,y:a});var o=n-E.x,r=a-E.y;p(o,r);var i=Date.now();O(i),q(i-z),Y({x:o,y:r})}},onTouchEnd:function(){if(E&&(T(null),Y(null),V)){var e=V.x/H,t=V.y/H;if(!(.1>Math.max(Math.abs(e),Math.abs(t)))){var n=e,a=t;Q.current=window.setInterval(function(){if(.01>Math.abs(n)&&.01>Math.abs(a)){window.clearInterval(Q.current);return}p(20*(n*=.9046104802746175),20*(a*=.9046104802746175))},20)}}},onWheel:function(e){var t=e.deltaX,n=e.deltaY,a=0,o=Math.abs(t),r=Math.abs(n);o===r?a="x"===J.current?t:n:o>r?(a=t,J.current="x"):(a=n,J.current="y"),p(-a,-a)&&e.preventDefault()}},a.useEffect(function(){function e(e){U.current.onTouchMove(e)}function t(e){U.current.onTouchEnd(e)}return document.addEventListener("touchmove",e,{passive:!1}),document.addEventListener("touchend",t,{passive:!0}),eL.current.addEventListener("touchstart",function(e){U.current.onTouchStart(e)},{passive:!0}),eL.current.addEventListener("wheel",function(e){U.current.onWheel(e)},{passive:!1}),function(){document.removeEventListener("touchmove",e),document.removeEventListener("touchend",t)}},[]),(0,a.useEffect)(function(){return t$(),tm&&(tv.current=setTimeout(function(){th(0)},100)),t$},[tm]);var tk=(ee=eO?ej:eA,er=(et=(0,u.Z)((0,u.Z)({},e),{},{tabs:eR})).tabs,ei=et.tabPosition,el=et.rtl,["top","bottom"].includes(ei)?(en="width",ea=el?"right":"left",eo=Math.abs(ee)):(en="height",ea="top",eo=-ee),(0,a.useMemo)(function(){if(!er.length)return[0,0];for(var e=er.length,t=e,n=0;neo+tc){t=n-1;break}}for(var o=0,r=e-1;r>=0;r-=1)if((tn.get(er[r].key)||C)[ea]=t?[0,0]:[o,t]},[tn,tc,to,tr,ti,eo,ei,er.map(function(e){return e.key}).join("_"),el])),ty=(0,f.Z)(tk,2),tx=ty[0],t_=ty[1],tw=(0,k.Z)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:em,t=tn.get(e)||{width:0,height:0,left:0,right:0,top:0};if(eO){var n=ej;eh?t.rightej+tc&&(n=t.right+t.width-tc):t.left<-ej?n=-t.left:t.left+t.width>-ej+tc&&(n=-(t.left+t.width-tc)),eH(0),eG(tf(n))}else{var a=eA;t.top<-eA?a=-t.top:t.top+t.height>-eA+tc&&(a=-(t.top+t.height-tc)),eG(0),eH(tf(a))}}),tS={};"top"===ey||"bottom"===ey?tS[eh?"marginRight":"marginLeft"]=ex:tS.marginTop=ex;var tE=eR.map(function(e,t){var n=e.key;return a.createElement(D,{id:eb,prefixCls:eC,key:n,tab:e,style:0===t?void 0:tS,closable:e.closable,editable:e$,active:n===em,renderWrapper:e_,removeAriaLabel:null==ek?void 0:ek.removeAriaLabel,onClick:function(e){ew(n,e)},onFocus:function(){tw(n),tg(),eL.current&&(eh||(eL.current.scrollLeft=0),eL.current.scrollTop=0)}})}),tZ=function(){return tt(function(){var e,t=new Map,n=null===(e=eM.current)||void 0===e?void 0:e.getBoundingClientRect();return eR.forEach(function(e){var a,o=e.key,r=null===(a=eM.current)||void 0===a?void 0:a.querySelector('[data-node-key="'.concat(P(o),'"]'));if(r){var i=j(r,n),l=(0,f.Z)(i,4),c=l[0],d=l[1],s=l[2],u=l[3];t.set(o,{width:c,height:d,left:s,top:u})}}),t})};(0,a.useEffect)(function(){tZ()},[eR.map(function(e){return e.key}).join("_")]);var tC=Z(function(){var e=G(eP),t=G(eT),n=G(eI);eV([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var a=G(ez);e8(a),e5(G(eN));var o=G(eM);eU([o[0]-a[0],o[1]-a[1]]),tZ()}),tR=eR.slice(0,tx),tP=eR.slice(t_+1),tT=[].concat((0,g.Z)(tR),(0,g.Z)(tP)),tI=tn.get(em),tL=_({activeTabOffset:tI,horizontal:eO,indicator:eE,rtl:eh}).style;(0,a.useEffect)(function(){tw()},[em,ts,tu,R(tI),R(tn),eO]),(0,a.useEffect)(function(){tC()},[eh]);var tM=!!tT.length,tN="".concat(eC,"-nav-wrap");return eO?eh?(ed=ej>0,ec=ej!==tu):(ec=ej<0,ed=ej!==ts):(es=eA<0,eu=eA!==ts),a.createElement($.Z,{onResize:tC},a.createElement("div",{ref:(0,y.x1)(t,eP),role:"tablist",className:c()("".concat(eC,"-nav"),ef),style:ev,onKeyDown:function(){tg()}},a.createElement(L,{ref:eT,position:"left",extra:eg,prefixCls:eC}),a.createElement($.Z,{onResize:tC},a.createElement("div",{className:c()(tN,(0,s.Z)((0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(tN,"-ping-left"),ec),"".concat(tN,"-ping-right"),ed),"".concat(tN,"-ping-top"),es),"".concat(tN,"-ping-bottom"),eu)),ref:eL},a.createElement($.Z,{onResize:tC},a.createElement("div",{ref:eM,className:"".concat(eC,"-nav-list"),style:{transform:"translate(".concat(ej,"px, ").concat(eA,"px)"),transition:tm?"none":void 0}},tE,a.createElement(I,{ref:ez,prefixCls:eC,locale:ek,editable:e$,style:(0,u.Z)((0,u.Z)({},0===tE.length?void 0:tS),{},{visibility:tM?"hidden":null})}),a.createElement("div",{className:c()("".concat(eC,"-ink-bar"),(0,s.Z)({},"".concat(eC,"-ink-bar-animated"),ep.inkBar)),style:tL}))))),a.createElement(B,(0,d.Z)({},e,{removeAriaLabel:null==ek?void 0:ek.removeAriaLabel,ref:eN,prefixCls:eC,tabs:tT,className:!tM&&td,tabMoving:!!tm})),a.createElement(L,{ref:eI,position:"right",extra:eg,prefixCls:eC})))}),A=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.className,r=e.style,i=e.id,l=e.active,d=e.tabKey,s=e.children;return a.createElement("div",{id:i&&"".concat(i,"-panel-").concat(d),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(d),"aria-hidden":!l,style:r,className:c()(n,l&&"".concat(n,"-active"),o),ref:t},s)}),H=["renderTabBar"],q=["label","key"],K=function(e){var t=e.renderTabBar,n=(0,b.Z)(e,H),o=a.useContext(h).tabs;return t?t((0,u.Z)((0,u.Z)({},n),{},{panes:o.map(function(e){var t=e.label,n=e.key,o=(0,b.Z)(e,q);return a.createElement(A,(0,d.Z)({tab:t,key:n,tabKey:n},o))})}),X):a.createElement(X,n)},F=n(53979),V=["key","forceRender","style","className","destroyInactiveTabPane"],Y=function(e){var t=e.id,n=e.activeKey,o=e.animated,r=e.tabPosition,i=e.destroyInactiveTabPane,l=a.useContext(h),f=l.prefixCls,v=l.tabs,p=o.tabPane,m="".concat(f,"-tabpane");return a.createElement("div",{className:c()("".concat(f,"-content-holder"))},a.createElement("div",{className:c()("".concat(f,"-content"),"".concat(f,"-content-").concat(r),(0,s.Z)({},"".concat(f,"-content-animated"),p))},v.map(function(e){var r=e.key,l=e.forceRender,s=e.style,f=e.className,v=e.destroyInactiveTabPane,h=(0,b.Z)(e,V),g=r===n;return a.createElement(F.ZP,(0,d.Z)({key:r,visible:g,forceRender:l,removeOnLeave:!!(i||v),leavedClassName:"".concat(m,"-hidden")},o.tabPaneMotion),function(e,n){var o=e.style,i=e.className;return a.createElement(A,(0,d.Z)({},h,{prefixCls:m,id:t,tabKey:r,animated:p,active:g,style:(0,u.Z)((0,u.Z)({},s),o),className:c()(f,i),ref:n}))})})))};n(89842);var Q=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],J=0,U=a.forwardRef(function(e,t){var n=e.id,o=e.prefixCls,r=void 0===o?"rc-tabs":o,i=e.className,l=e.items,g=e.direction,$=e.activeKey,k=e.defaultActiveKey,y=e.editable,x=e.animated,_=e.tabPosition,w=void 0===_?"top":_,S=e.tabBarGutter,E=e.tabBarStyle,Z=e.tabBarExtraContent,C=e.locale,R=e.more,P=e.destroyInactiveTabPane,T=e.renderTabBar,I=e.onChange,L=e.onTabClick,M=e.onTabScroll,N=e.getPopupContainer,z=e.popupClassName,O=e.indicator,B=(0,b.Z)(e,Q),D=a.useMemo(function(){return(l||[]).filter(function(e){return e&&"object"===(0,v.Z)(e)&&"key"in e})},[l]),j="rtl"===g,G=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,u.Z)({inkBar:!0},"object"===(0,v.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(x),W=(0,a.useState)(!1),X=(0,f.Z)(W,2),A=X[0],H=X[1];(0,a.useEffect)(function(){H((0,m.Z)())},[]);var q=(0,p.Z)(function(){var e;return null===(e=D[0])||void 0===e?void 0:e.key},{value:$,defaultValue:k}),F=(0,f.Z)(q,2),V=F[0],U=F[1],ee=(0,a.useState)(function(){return D.findIndex(function(e){return e.key===V})}),et=(0,f.Z)(ee,2),en=et[0],ea=et[1];(0,a.useEffect)(function(){var e,t=D.findIndex(function(e){return e.key===V});-1===t&&(t=Math.max(0,Math.min(en,D.length-1)),U(null===(e=D[t])||void 0===e?void 0:e.key)),ea(t)},[D.map(function(e){return e.key}).join("_"),V,en]);var eo=(0,p.Z)(null,{value:n}),er=(0,f.Z)(eo,2),ei=er[0],el=er[1];(0,a.useEffect)(function(){n||(el("rc-tabs-".concat(J)),J+=1)},[]);var ec={id:ei,activeKey:V,animated:G,tabPosition:w,rtl:j,mobile:A},ed=(0,u.Z)((0,u.Z)({},ec),{},{editable:y,locale:C,more:R,tabBarGutter:S,onTabClick:function(e,t){null==L||L(e,t);var n=e!==V;U(e),n&&(null==I||I(e))},onTabScroll:M,extra:Z,style:E,panes:null,getPopupContainer:N,popupClassName:z,indicator:O});return a.createElement(h.Provider,{value:{tabs:D,prefixCls:r}},a.createElement("div",(0,d.Z)({ref:t,id:n,className:c()(r,"".concat(r,"-").concat(w),(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(r,"-mobile"),A),"".concat(r,"-editable"),y),"".concat(r,"-rtl"),j),i)},B),a.createElement(K,(0,d.Z)({},ed,{renderTabBar:T})),a.createElement(Y,(0,d.Z)({destroyInactiveTabPane:P},ec,{animated:G}))))}),ee=n(63346),et=n(95227),en=n(82014),ea=n(17383);let eo={motionAppear:!1,motionEnter:!0,motionLeave:!0};var er=n(10469),ei=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n},el=n(38083),ec=n(60848),ed=n(90102),es=n(74934),eu=n(57723),ef=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,eu.oN)(e,"slide-up"),(0,eu.oN)(e,"slide-down")]]};let ev=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:a,cardGutter:o,colorBorderSecondary:r,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:a,border:`${(0,el.bf)(e.lineWidth)} ${e.lineType} ${r}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,el.bf)(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,el.bf)(e.borderRadiusLG)} ${(0,el.bf)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,el.bf)(e.borderRadiusLG)} ${(0,el.bf)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,el.bf)(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,el.bf)(e.borderRadiusLG)} 0 0 ${(0,el.bf)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,el.bf)(e.borderRadiusLG)} ${(0,el.bf)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},eb=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:a}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,ec.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,el.bf)(a)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},ec.vS),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,el.bf)(e.paddingXXS)} ${(0,el.bf)(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},ep=e=>{let{componentCls:t,margin:n,colorBorderSecondary:a,horizontalMargin:o,verticalItemPadding:r,verticalItemMargin:i,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,el.bf)(e.lineWidth)} ${e.lineType} ${a}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:r,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,el.bf)(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,el.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,el.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},em=e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:a,horizontalItemPaddingSM:o,horizontalItemPaddingLG:r}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,el.bf)(e.borderRadius)} ${(0,el.bf)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,el.bf)(e.borderRadius)} ${(0,el.bf)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,el.bf)(e.borderRadius)} ${(0,el.bf)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,el.bf)(e.borderRadius)} 0 0 ${(0,el.bf)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a}}}}}},eh=e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:a,iconCls:o,tabsHorizontalItemMargin:r,horizontalItemPadding:i,itemSelectedColor:l,itemColor:c}=e,d=`${t}-tab`;return{[d]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,ec.Qy)(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${d}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:a},[`&${d}-active ${d}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${d}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${d}-disabled ${d}-btn, &${d}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${d}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${d} + ${d}`]:{margin:{_skip_check_:!0,value:r}}}},eg=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:a,cardGutter:o,calc:r}=e,i=`${t}-rtl`;return{[i]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[a]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,el.bf)(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,el.bf)(e.marginXS)},marginLeft:{_skip_check_:!0,value:(0,el.bf)(r(e.marginXXS).mul(-1).equal())},[a]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},e$=e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:a,cardGutter:o,itemHoverColor:r,itemActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ec.Wf)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:a,minHeight:a,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${(0,el.bf)(e.paddingXS)}`,background:"transparent",border:`${(0,el.bf)(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${(0,el.bf)(e.borderRadiusLG)} ${(0,el.bf)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:r},"&:active, &:focus:not(:focus-visible)":{color:i}},(0,ec.Qy)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),eh(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var ek=(0,ed.I$)("Tabs",e=>{let t=(0,es.IX)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,el.bf)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,el.bf)(e.horizontalItemGutter)}`});return[em(t),eg(t),ep(t),eb(t),ev(t),e$(t),ef(t)]},e=>{let t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),ey=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let ex=e=>{var t,n,l,d,s,u,f,v,b,p,m;let h;let{type:g,className:$,rootClassName:k,size:y,onEdit:x,hideAdd:_,centered:w,addIcon:S,removeIcon:E,moreIcon:Z,more:C,popupClassName:R,children:P,items:T,animated:I,style:L,indicatorSize:M,indicator:N}=e,z=ey(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:O}=z,{direction:B,tabs:D,getPrefixCls:j,getPopupContainer:G}=a.useContext(ee.E_),W=j("tabs",O),X=(0,et.Z)(W),[A,H,q]=ek(W,X);"editable-card"===g&&(h={onEdit:(e,t)=>{let{key:n,event:a}=t;null==x||x("add"===e?a:n,e)},removeIcon:null!==(t=null!=E?E:null==D?void 0:D.removeIcon)&&void 0!==t?t:a.createElement(o.Z,null),addIcon:(null!=S?S:null==D?void 0:D.addIcon)||a.createElement(i.Z,null),showAdd:!0!==_});let K=j(),F=(0,en.Z)(y),V=function(e,t){if(e)return e;let n=(0,er.Z)(t).map(e=>{if(a.isValidElement(e)){let{key:t,props:n}=e,a=n||{},{tab:o}=a,r=ei(a,["tab"]),i=Object.assign(Object.assign({key:String(t)},r),{label:o});return i}return null});return n.filter(e=>e)}(T,P),Y=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},eo),{motionName:(0,ea.m)(e,"switch")})),t}(W,I),Q=Object.assign(Object.assign({},null==D?void 0:D.style),L),J={align:null!==(n=null==N?void 0:N.align)&&void 0!==n?n:null===(l=null==D?void 0:D.indicator)||void 0===l?void 0:l.align,size:null!==(f=null!==(s=null!==(d=null==N?void 0:N.size)&&void 0!==d?d:M)&&void 0!==s?s:null===(u=null==D?void 0:D.indicator)||void 0===u?void 0:u.size)&&void 0!==f?f:null==D?void 0:D.indicatorSize};return A(a.createElement(U,Object.assign({direction:B,getPopupContainer:G},z,{items:V,className:c()({[`${W}-${F}`]:F,[`${W}-card`]:["card","editable-card"].includes(g),[`${W}-editable-card`]:"editable-card"===g,[`${W}-centered`]:w},null==D?void 0:D.className,$,k,H,q,X),popupClassName:c()(R,H,q,X),style:Q,editable:h,more:Object.assign({icon:null!==(m=null!==(p=null!==(b=null===(v=null==D?void 0:D.more)||void 0===v?void 0:v.icon)&&void 0!==b?b:null==D?void 0:D.moreIcon)&&void 0!==p?p:Z)&&void 0!==m?m:a.createElement(r.Z,null),transitionName:`${K}-slide-up`},C),prefixCls:W,animated:Y,indicator:J})))};ex.TabPane=()=>null;var e_=ex}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/3355-7ea3de2f9aebf620.js b/dbgpt/app/static/web/_next/static/chunks/6089-219f66cd3e3b8279.js similarity index 83% rename from dbgpt/app/static/web/_next/static/chunks/3355-7ea3de2f9aebf620.js rename to dbgpt/app/static/web/_next/static/chunks/6089-219f66cd3e3b8279.js index 7ae197d11..9f1197991 100644 --- a/dbgpt/app/static/web/_next/static/chunks/3355-7ea3de2f9aebf620.js +++ b/dbgpt/app/static/web/_next/static/chunks/6089-219f66cd3e3b8279.js @@ -1,6 +1,6 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3355],{96890:function(e,t,o){o.d(t,{Z:function(){return d}});var n=o(42096),i=o(10921),r=o(38497),l=o(42834),s=["type","children"],a=new Set;function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=e[t];if("string"==typeof o&&o.length&&!a.has(o)){var n=document.createElement("script");n.setAttribute("src",o),n.setAttribute("data-namespace",o),e.length>t+1&&(n.onload=function(){c(e,t+1)},n.onerror=function(){c(e,t+1)}),a.add(o),document.body.appendChild(n)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,o=e.extraCommonProps,a=void 0===o?{}:o;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?c(t.reverse()):c([t]));var d=r.forwardRef(function(e,t){var o=e.type,c=e.children,d=(0,i.Z)(e,s),u=null;return e.type&&(u=r.createElement("use",{xlinkHref:"#".concat(o)})),c&&(u=c),r.createElement(l.Z,(0,n.Z)({},a,d,{ref:t}),u)});return d.displayName="Iconfont",d}},69274:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(42096),i=o(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},l=o(75651),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},72097:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(42096),i=o(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},l=o(75651),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},97511:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(42096),i=o(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},l=o(75651),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},629:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(42096),i=o(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},l=o(75651),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},72804:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(42096),i=o(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},l=o(75651),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},42041:function(e,t,o){function n(e){return["small","middle","large"].includes(e)}function i(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}o.d(t,{T:function(){return i},n:function(){return n}})},87674:function(e,t,o){o.d(t,{Z:function(){return p}});var n=o(38497),i=o(26869),r=o.n(i),l=o(63346),s=o(72178),a=o(60848),c=o(90102),d=o(74934);let u=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:o,colorSplit:n,lineWidth:i,textPaddingInline:r,orientationMargin:l,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,a.Wf)(e)),{borderBlockStart:`${(0,s.bf)(i)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,s.bf)(i)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,s.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,s.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,s.bf)(i)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:r},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,s.bf)(i)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,s.bf)(i)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:o}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:o}}})}};var h=(0,c.I$)("Divider",e=>{let t=(0,d.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[u(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),f=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o},p=e=>{let{getPrefixCls:t,direction:o,divider:i}=n.useContext(l.E_),{prefixCls:s,type:a="horizontal",orientation:c="center",orientationMargin:d,className:u,rootClassName:p,children:m,dashed:g,variant:v="solid",plain:_,style:S}=e,y=f(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),C=t("divider",s),[w,x,b]=h(C),R=!!m,z="left"===c&&null!=d,T="right"===c&&null!=d,I=r()(C,null==i?void 0:i.className,x,b,`${C}-${a}`,{[`${C}-with-text`]:R,[`${C}-with-text-${c}`]:R,[`${C}-dashed`]:!!g,[`${C}-${v}`]:"solid"!==v,[`${C}-plain`]:!!_,[`${C}-rtl`]:"rtl"===o,[`${C}-no-default-orientation-margin-left`]:z,[`${C}-no-default-orientation-margin-right`]:T},u,p),Z=n.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),O=Object.assign(Object.assign({},z&&{marginLeft:Z}),T&&{marginRight:Z});return w(n.createElement("div",Object.assign({className:I,style:Object.assign(Object.assign({},null==i?void 0:i.style),S)},y,{role:"separator"}),m&&"vertical"!==a&&n.createElement("span",{className:`${C}-inner-text`,style:O},m)))}},80335:function(e,t,o){o.d(t,{Z:function(){return m}});var n=o(749),i=o(38497),r=o(52896),l=o(26869),s=o.n(l),a=o(27691),c=o(63346),d=o(10755),u=o(80214),h=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o};let f=e=>{let{getPopupContainer:t,getPrefixCls:o,direction:l}=i.useContext(c.E_),{prefixCls:f,type:p="default",danger:m,disabled:g,loading:v,onClick:_,htmlType:S,children:y,className:C,menu:w,arrow:x,autoFocus:b,overlay:R,trigger:z,align:T,open:I,onOpenChange:Z,placement:O,getPopupContainer:M,href:P,icon:k=i.createElement(r.Z,null),title:L,buttonsRender:E=e=>e,mouseEnterDelay:G,mouseLeaveDelay:A,overlayClassName:D,overlayStyle:W,destroyPopupOnHide:H,dropdownRender:F}=e,N=h(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),j=o("dropdown",f),U=`${j}-button`,B={menu:w,arrow:x,autoFocus:b,align:T,disabled:g,trigger:g?[]:z,onOpenChange:Z,getPopupContainer:M||t,mouseEnterDelay:G,mouseLeaveDelay:A,overlayClassName:D,overlayStyle:W,destroyPopupOnHide:H,dropdownRender:F},{compactSize:$,compactItemClassnames:V}=(0,u.ri)(j,l),q=s()(U,V,C);"overlay"in e&&(B.overlay=R),"open"in e&&(B.open=I),"placement"in e?B.placement=O:B.placement="rtl"===l?"bottomLeft":"bottomRight";let K=i.createElement(a.ZP,{type:p,danger:m,disabled:g,loading:v,onClick:_,htmlType:S,href:P,title:L},y),X=i.createElement(a.ZP,{type:p,danger:m,icon:k}),[Y,Q]=E([K,X]);return i.createElement(d.Z.Compact,Object.assign({className:q,size:$,block:!0},N),Y,i.createElement(n.Z,Object.assign({},B),Q))};f.__ANT_BUTTON=!0;let p=n.Z;p.Button=f;var m=p},10755:function(e,t,o){o.d(t,{Z:function(){return g}});var n=o(38497),i=o(26869),r=o.n(i),l=o(10469),s=o(42041),a=o(63346),c=o(80214);let d=n.createContext({latestIndex:0}),u=d.Provider;var h=e=>{let{className:t,index:o,children:i,split:r,style:l}=e,{latestIndex:s}=n.useContext(d);return null==i?null:n.createElement(n.Fragment,null,n.createElement("div",{className:t,style:l},i),ot.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o};let m=n.forwardRef((e,t)=>{var o,i,c;let{getPrefixCls:d,space:m,direction:g}=n.useContext(a.E_),{size:v=null!==(o=null==m?void 0:m.size)&&void 0!==o?o:"small",align:_,className:S,rootClassName:y,children:C,direction:w="horizontal",prefixCls:x,split:b,style:R,wrap:z=!1,classNames:T,styles:I}=e,Z=p(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[O,M]=Array.isArray(v)?v:[v,v],P=(0,s.n)(M),k=(0,s.n)(O),L=(0,s.T)(M),E=(0,s.T)(O),G=(0,l.Z)(C,{keepEmpty:!0}),A=void 0===_&&"horizontal"===w?"center":_,D=d("space",x),[W,H,F]=(0,f.Z)(D),N=r()(D,null==m?void 0:m.className,H,`${D}-${w}`,{[`${D}-rtl`]:"rtl"===g,[`${D}-align-${A}`]:A,[`${D}-gap-row-${M}`]:P,[`${D}-gap-col-${O}`]:k},S,y,F),j=r()(`${D}-item`,null!==(i=null==T?void 0:T.item)&&void 0!==i?i:null===(c=null==m?void 0:m.classNames)||void 0===c?void 0:c.item),U=0,B=G.map((e,t)=>{var o,i;null!=e&&(U=t);let r=(null==e?void 0:e.key)||`${j}-${t}`;return n.createElement(h,{className:j,key:r,index:t,split:b,style:null!==(o=null==I?void 0:I.item)&&void 0!==o?o:null===(i=null==m?void 0:m.styles)||void 0===i?void 0:i.item},e)}),$=n.useMemo(()=>({latestIndex:U}),[U]);if(0===G.length)return null;let V={};return z&&(V.flexWrap="wrap"),!k&&E&&(V.columnGap=O),!P&&L&&(V.rowGap=M),W(n.createElement("div",Object.assign({ref:t,className:N,style:Object.assign(Object.assign(Object.assign({},V),null==m?void 0:m.style),R)},Z),n.createElement(u,{value:$},B)))});m.Compact=c.ZP;var g=m},36647:function(e,t){t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6089],{96890:function(e,t,o){o.d(t,{Z:function(){return d}});var n=o(42096),i=o(10921),r=o(38497),l=o(42834),s=["type","children"],a=new Set;function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=e[t];if("string"==typeof o&&o.length&&!a.has(o)){var n=document.createElement("script");n.setAttribute("src",o),n.setAttribute("data-namespace",o),e.length>t+1&&(n.onload=function(){c(e,t+1)},n.onerror=function(){c(e,t+1)}),a.add(o),document.body.appendChild(n)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,o=e.extraCommonProps,a=void 0===o?{}:o;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?c(t.reverse()):c([t]));var d=r.forwardRef(function(e,t){var o=e.type,c=e.children,d=(0,i.Z)(e,s),u=null;return e.type&&(u=r.createElement("use",{xlinkHref:"#".concat(o)})),c&&(u=c),r.createElement(l.Z,(0,n.Z)({},a,d,{ref:t}),u)});return d.displayName="Iconfont",d}},69274:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(42096),i=o(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},l=o(55032),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},72097:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(42096),i=o(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},l=o(55032),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},97511:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(42096),i=o(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},l=o(55032),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},629:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(42096),i=o(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},l=o(55032),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},72804:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(42096),i=o(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},l=o(55032),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},42041:function(e,t,o){function n(e){return["small","middle","large"].includes(e)}function i(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}o.d(t,{T:function(){return i},n:function(){return n}})},87674:function(e,t,o){o.d(t,{Z:function(){return p}});var n=o(38497),i=o(26869),r=o.n(i),l=o(63346),s=o(38083),a=o(60848),c=o(90102),d=o(74934);let u=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:o,colorSplit:n,lineWidth:i,textPaddingInline:r,orientationMargin:l,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,a.Wf)(e)),{borderBlockStart:`${(0,s.bf)(i)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,s.bf)(i)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,s.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,s.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,s.bf)(i)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:r},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,s.bf)(i)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,s.bf)(i)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:o}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:o}}})}};var h=(0,c.I$)("Divider",e=>{let t=(0,d.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[u(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),f=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o},p=e=>{let{getPrefixCls:t,direction:o,divider:i}=n.useContext(l.E_),{prefixCls:s,type:a="horizontal",orientation:c="center",orientationMargin:d,className:u,rootClassName:p,children:m,dashed:g,variant:v="solid",plain:_,style:S}=e,y=f(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),w=t("divider",s),[C,x,R]=h(w),b=!!m,z="left"===c&&null!=d,T="right"===c&&null!=d,I=r()(w,null==i?void 0:i.className,x,R,`${w}-${a}`,{[`${w}-with-text`]:b,[`${w}-with-text-${c}`]:b,[`${w}-dashed`]:!!g,[`${w}-${v}`]:"solid"!==v,[`${w}-plain`]:!!_,[`${w}-rtl`]:"rtl"===o,[`${w}-no-default-orientation-margin-left`]:z,[`${w}-no-default-orientation-margin-right`]:T},u,p),Z=n.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),M=Object.assign(Object.assign({},z&&{marginLeft:Z}),T&&{marginRight:Z});return C(n.createElement("div",Object.assign({className:I,style:Object.assign(Object.assign({},null==i?void 0:i.style),S)},y,{role:"separator"}),m&&"vertical"!==a&&n.createElement("span",{className:`${w}-inner-text`,style:M},m)))}},10755:function(e,t,o){o.d(t,{Z:function(){return g}});var n=o(38497),i=o(26869),r=o.n(i),l=o(10469),s=o(42041),a=o(63346),c=o(80214);let d=n.createContext({latestIndex:0}),u=d.Provider;var h=e=>{let{className:t,index:o,children:i,split:r,style:l}=e,{latestIndex:s}=n.useContext(d);return null==i?null:n.createElement(n.Fragment,null,n.createElement("div",{className:t,style:l},i),ot.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o};let m=n.forwardRef((e,t)=>{var o,i,c;let{getPrefixCls:d,space:m,direction:g}=n.useContext(a.E_),{size:v=null!==(o=null==m?void 0:m.size)&&void 0!==o?o:"small",align:_,className:S,rootClassName:y,children:w,direction:C="horizontal",prefixCls:x,split:R,style:b,wrap:z=!1,classNames:T,styles:I}=e,Z=p(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[M,O]=Array.isArray(v)?v:[v,v],P=(0,s.n)(O),k=(0,s.n)(M),L=(0,s.T)(O),E=(0,s.T)(M),G=(0,l.Z)(w,{keepEmpty:!0}),A=void 0===_&&"horizontal"===C?"center":_,D=d("space",x),[W,H,F]=(0,f.Z)(D),N=r()(D,null==m?void 0:m.className,H,`${D}-${C}`,{[`${D}-rtl`]:"rtl"===g,[`${D}-align-${A}`]:A,[`${D}-gap-row-${O}`]:P,[`${D}-gap-col-${M}`]:k},S,y,F),j=r()(`${D}-item`,null!==(i=null==T?void 0:T.item)&&void 0!==i?i:null===(c=null==m?void 0:m.classNames)||void 0===c?void 0:c.item),U=0,B=G.map((e,t)=>{var o,i;null!=e&&(U=t);let r=(null==e?void 0:e.key)||`${j}-${t}`;return n.createElement(h,{className:j,key:r,index:t,split:R,style:null!==(o=null==I?void 0:I.item)&&void 0!==o?o:null===(i=null==m?void 0:m.styles)||void 0===i?void 0:i.item},e)}),$=n.useMemo(()=>({latestIndex:U}),[U]);if(0===G.length)return null;let V={};return z&&(V.flexWrap="wrap"),!k&&E&&(V.columnGap=M),!P&&L&&(V.rowGap=O),W(n.createElement("div",Object.assign({ref:t,className:N,style:Object.assign(Object.assign(Object.assign({},V),null==m?void 0:m.style),b)},Z),n.createElement(u,{value:$},B)))});m.Compact=c.ZP;var g=m},36647:function(e,t){t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},33445:function(e,t,o){o.d(t,{Fm:function(){return p}});var n=o(72178),i=o(60234);let r=new n.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new n.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),s=new n.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new n.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new n.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new n.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),u=new n.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),h=new n.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),f={"move-up":{inKeyframes:u,outKeyframes:h},"move-down":{inKeyframes:r,outKeyframes:l},"move-left":{inKeyframes:s,outKeyframes:a},"move-right":{inKeyframes:c,outKeyframes:d}},p=(e,t)=>{let{antCls:o}=e,n=`${o}-${t}`,{inKeyframes:r,outKeyframes:l}=f[t];return[(0,i.R)(n,r,l,e.motionDurationMid),{[` + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},33445:function(e,t,o){o.d(t,{Fm:function(){return p}});var n=o(38083),i=o(60234);let r=new n.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new n.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),s=new n.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new n.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new n.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new n.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),u=new n.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),h=new n.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),f={"move-up":{inKeyframes:u,outKeyframes:h},"move-down":{inKeyframes:r,outKeyframes:l},"move-left":{inKeyframes:s,outKeyframes:a},"move-right":{inKeyframes:c,outKeyframes:d}},p=(e,t)=>{let{antCls:o}=e,n=`${o}-${t}`,{inKeyframes:r,outKeyframes:l}=f[t];return[(0,i.R)(n,r,l,e.motionDurationMid),{[` ${n}-enter, ${n}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},97084:function(e,t,o){o.d(t,{qj:function(){return et},rj:function(){return K},b2:function(){return eh}});var n,i,r,l,s,a,c,d,u,h,f,p,m,g,v,_,S=o(97290),y=o(80972),C=o(75734),w=o(10496),x=o(6228),b=o(63119),R=o(65148),z=o(38497);function T(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState((function(t){var o=this.constructor.getDerivedStateFromProps(e,t);return null!=o?o:null}).bind(this))}function Z(e,t){try{var o=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(o,n)}finally{this.props=o,this.state=n}}function O(e){var t=e.prototype;if(!t||!t.isReactComponent)throw Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var o=null,n=null,i=null;if("function"==typeof t.componentWillMount?o="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(o="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?n="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(n="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?i="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==o||null!==n||null!==i)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==o?"\n "+o:"")+(null!==n?"\n "+n:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=T,t.componentWillReceiveProps=I),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Z;var r=t.componentDidUpdate;t.componentDidUpdate=function(e,t,o){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:o;r.call(this,e,t,n)}}return e}T.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,Z.__suppressDeprecationWarning=!0;var M=o(42096),P=function(){for(var e,t,o=0,n="";o=0&&a===s&&c())}var L=o(10921),E=function(){function e(t){var o=t.cellCount,n=t.cellSizeGetter,i=t.estimatedCellSize;(0,S.Z)(this,e),(0,R.Z)(this,"_cellSizeAndPositionData",{}),(0,R.Z)(this,"_lastMeasuredIndex",-1),(0,R.Z)(this,"_lastBatchedIndex",-1),(0,R.Z)(this,"_cellCount",void 0),(0,R.Z)(this,"_cellSizeGetter",void 0),(0,R.Z)(this,"_estimatedCellSize",void 0),this._cellSizeGetter=n,this._cellCount=o,this._estimatedCellSize=i}return(0,y.Z)(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,o=e.estimatedCellSize,n=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=o,this._cellSizeGetter=n}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),o=t.offset+t.size,n=this._lastMeasuredIndex+1;n<=e;n++){var i=this._cellSizeGetter({index:n});if(void 0===i||isNaN(i))throw Error("Invalid size returned for cell ".concat(n," of value ").concat(i));null===i?(this._cellSizeAndPositionData[n]={offset:o,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[n]={offset:o,size:i},o+=i,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t,o=e.align,n=e.containerSize,i=e.currentOffset,r=e.targetIndex;if(n<=0)return 0;var l=this.getSizeAndPositionOfCell(r),s=l.offset,a=s-n+l.size;switch(void 0===o?"auto":o){case"start":t=s;break;case"end":t=a;break;case"center":t=s-(n-l.size)/2;break;default:t=Math.max(a,Math.min(s,i))}return Math.max(0,Math.min(this.getTotalSize()-n,t))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,o=e.offset;if(0===this.getTotalSize())return{};var n=o+t,i=this._findNearestCell(o),r=this.getSizeAndPositionOfCell(i);o=r.offset+r.size;for(var l=i;oo&&(e=n-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var o=1;e=e?this._binarySearch(o,0,e):this._exponentialSearch(o,e)}}]),e}(),G=function(){function e(t){var o=t.maxScrollSize,n=void 0===o?"undefined"!=typeof window&&window.chrome?16777100:15e5:o,i=(0,L.Z)(t,["maxScrollSize"]);(0,S.Z)(this,e),(0,R.Z)(this,"_cellSizeAndPositionManager",void 0),(0,R.Z)(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new E(i),this._maxScrollSize=n}return(0,y.Z)(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();return Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:i})*(i-n))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,o=e.containerSize,n=e.currentOffset,i=e.targetIndex;n=this._safeOffsetToOffset({containerSize:o,offset:n});var r=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:void 0===t?"auto":t,containerSize:o,currentOffset:n,targetIndex:i});return this._offsetToSafeOffset({containerSize:o,offset:r})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,o=e.offset;return o=this._safeOffsetToOffset({containerSize:t,offset:o}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:o})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,o=e.offset,n=e.totalSize;return n<=t?0:o/(n-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();return n===i?o:Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:n})*(i-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();return n===i?o:Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:i})*(n-t))}}]),e}();function A(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t={};return function(o){var n=o.callback,i=o.indices,r=Object.keys(i),l=!e||r.every(function(e){var t=i[e];return Array.isArray(t)?t.length>0:t>=0}),s=r.length!==Object.keys(t).length||r.some(function(e){var o=t[e],n=i[e];return Array.isArray(n)?o.join(",")!==n.join(","):o!==n});t=i,l&&s&&n(i)}}function D(e){var t=e.cellSize,o=e.cellSizeAndPositionManager,n=e.previousCellsCount,i=e.previousCellSize,r=e.previousScrollToAlignment,l=e.previousScrollToIndex,s=e.previousSize,a=e.scrollOffset,c=e.scrollToAlignment,d=e.scrollToIndex,u=e.size,h=e.sizeJustIncreasedFromZero,f=e.updateScrollIndexCallback,p=o.getCellCount(),m=d>=0&&d0&&(uo.getTotalSize()-u&&f(p-1)}var W=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function H(e){if((!n&&0!==n||e)&&W){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),n=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return n}var F=(i="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||i.webkitRequestAnimationFrame||i.mozRequestAnimationFrame||i.oRequestAnimationFrame||i.msRequestAnimationFrame||function(e){return i.setTimeout(e,1e3/60)},N=i.cancelAnimationFrame||i.webkitCancelAnimationFrame||i.mozCancelAnimationFrame||i.oCancelAnimationFrame||i.msCancelAnimationFrame||function(e){i.clearTimeout(e)},j=function(e){return N(e.id)},U=function(e,t){Promise.resolve().then(function(){o=Date.now()});var o,n={id:F(function i(){Date.now()-o>=t?e.call():n.id=F(i)})};return n};function B(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function $(e){for(var t=1;t0&&(o._initialScrollTop=o._getCalculatedScrollTop(e,o.state)),e.scrollToColumn>0&&(o._initialScrollLeft=o._getCalculatedScrollLeft(e,o.state)),o}return(0,b.Z)(t,e),(0,y.Z)(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,o=void 0===t?this.props.scrollToAlignment:t,n=e.columnIndex,i=void 0===n?this.props.scrollToColumn:n,r=e.rowIndex,l=void 0===r?this.props.scrollToRow:r,s=$({},this.props,{scrollToAlignment:o,scrollToColumn:i,scrollToRow:l});return{scrollLeft:this._getCalculatedScrollLeft(s),scrollTop:this._getCalculatedScrollTop(s)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,o=e.scrollTop,n=void 0===o?0:o;if(!(n<0)){this._debounceScrollEnded();var i=this.props,r=i.autoHeight,l=i.autoWidth,s=i.height,a=i.width,c=this.state.instanceProps,d=c.scrollbarSize,u=c.rowSizeAndPositionManager.getTotalSize(),h=c.columnSizeAndPositionManager.getTotalSize(),f=Math.min(Math.max(0,h-a+d),void 0===t?0:t),p=Math.min(Math.max(0,u-s+d),n);if(this.state.scrollLeft!==f||this.state.scrollTop!==p){var m={isScrolling:!0,scrollDirectionHorizontal:f!==this.state.scrollLeft?f>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:p!==this.state.scrollTop?p>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:V.OBSERVED};r||(m.scrollTop=p),l||(m.scrollLeft=f),m.needToResetStyleCache=!1,this.setState(m)}this._invokeOnScrollMemoizer({scrollLeft:f,scrollTop:p,totalColumnsWidth:h,totalRowsHeight:u})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,o=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,o):o}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,o=e.rowCount,n=this.state.instanceProps;n.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),n.rowSizeAndPositionManager.getSizeAndPositionOfCell(o-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,i=void 0===n?0:n,r=this.props,l=r.scrollToColumn,s=r.scrollToRow,a=this.state.instanceProps;a.columnSizeAndPositionManager.resetCell(o),a.rowSizeAndPositionManager.resetCell(i),this._recomputeScrollLeftFlag=l>=0&&(1===this.state.scrollDirectionHorizontal?o<=l:o>=l),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?i<=s:i>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,o=e.rowIndex,n=this.props.columnCount,i=this.props;n>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn($({},i,{scrollToColumn:t})),void 0!==o&&this._updateScrollTopForScrollToRow($({},i,{scrollToRow:o}))}},{key:"componentDidMount",value:function(){var e=this.props,o=e.getScrollbarSize,n=e.height,i=e.scrollLeft,r=e.scrollToColumn,l=e.scrollTop,s=e.scrollToRow,a=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState(function(e){var t=$({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=o(),t.instanceProps.scrollbarSizeMeasured=!0,t}),"number"==typeof i&&i>=0||"number"==typeof l&&l>=0){var d=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:i,scrollTop:l});d&&(d.needToResetStyleCache=!1,this.setState(d))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var u=n>0&&a>0;r>=0&&u&&this._updateScrollLeftForScrollToColumn(),s>=0&&u&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:i||0,scrollTop:l||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var o=this,n=this.props,i=n.autoHeight,r=n.autoWidth,l=n.columnCount,s=n.height,a=n.rowCount,c=n.scrollToAlignment,d=n.scrollToColumn,u=n.scrollToRow,h=n.width,f=this.state,p=f.scrollLeft,m=f.scrollPositionChangeReason,g=f.scrollTop,v=f.instanceProps;this._handleInvalidatedGridSize();var _=l>0&&0===e.columnCount||a>0&&0===e.rowCount;m===V.REQUESTED&&(!r&&p>=0&&(p!==this._scrollingContainer.scrollLeft||_)&&(this._scrollingContainer.scrollLeft=p),!i&&g>=0&&(g!==this._scrollingContainer.scrollTop||_)&&(this._scrollingContainer.scrollTop=g));var S=(0===e.width||0===e.height)&&s>0&&h>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):D({cellSizeAndPositionManager:v.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:p,scrollToAlignment:c,scrollToIndex:d,size:h,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return o._updateScrollLeftForScrollToColumn(o.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):D({cellSizeAndPositionManager:v.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:g,scrollToAlignment:c,scrollToIndex:u,size:s,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return o._updateScrollTopForScrollToRow(o.props)}}),this._invokeOnGridRenderedHelper(),p!==t.scrollLeft||g!==t.scrollTop){var y=v.rowSizeAndPositionManager.getTotalSize(),C=v.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:g,totalColumnsWidth:C,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&j(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,o=e.autoHeight,n=e.autoWidth,i=e.className,r=e.containerProps,l=e.containerRole,s=e.containerStyle,a=e.height,c=e.id,d=e.noContentRenderer,u=e.role,h=e.style,f=e.tabIndex,p=e.width,m=this.state,g=m.instanceProps,v=m.needToResetStyleCache,_=this._isScrolling(),S={boxSizing:"border-box",direction:"ltr",height:o?"auto":a,position:"relative",width:n?"auto":p,WebkitOverflowScrolling:"touch",willChange:"transform"};v&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var y=g.columnSizeAndPositionManager.getTotalSize(),C=g.rowSizeAndPositionManager.getTotalSize(),w=C>a?g.scrollbarSize:0,x=y>p?g.scrollbarSize:0;(x!==this._horizontalScrollBarSize||w!==this._verticalScrollBarSize)&&(this._horizontalScrollBarSize=x,this._verticalScrollBarSize=w,this._scrollbarPresenceChanged=!0),S.overflowX=y+w<=p?"hidden":"auto",S.overflowY=C+x<=a?"hidden":"auto";var b=this._childrenToDisplay,R=0===b.length&&a>0&&p>0;return z.createElement("div",(0,M.Z)({ref:this._setScrollingContainerRef},r,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:P("ReactVirtualized__Grid",i),id:c,onScroll:this._onScroll,role:u,style:$({},S,{},h),tabIndex:f}),b.length>0&&z.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:$({width:t?"auto":y,height:C,maxWidth:y,maxHeight:C,overflow:"hidden",pointerEvents:_?"none":"",position:"relative"},s)},b),R&&d())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=e.cellRenderer,n=e.cellRangeRenderer,i=e.columnCount,r=e.deferredMeasurementCache,l=e.height,s=e.overscanColumnCount,a=e.overscanIndicesGetter,c=e.overscanRowCount,d=e.rowCount,u=e.width,h=e.isScrollingOptOut,f=t.scrollDirectionHorizontal,p=t.scrollDirectionVertical,m=t.instanceProps,g=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,v=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,_=this._isScrolling(e,t);if(this._childrenToDisplay=[],l>0&&u>0){var S=m.columnSizeAndPositionManager.getVisibleCellRange({containerSize:u,offset:v}),y=m.rowSizeAndPositionManager.getVisibleCellRange({containerSize:l,offset:g}),C=m.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:u,offset:v}),w=m.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:l,offset:g});this._renderedColumnStartIndex=S.start,this._renderedColumnStopIndex=S.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var x=a({direction:"horizontal",cellCount:i,overscanCellsCount:s,scrollDirection:f,startIndex:"number"==typeof S.start?S.start:0,stopIndex:"number"==typeof S.stop?S.stop:-1}),b=a({direction:"vertical",cellCount:d,overscanCellsCount:c,scrollDirection:p,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),R=x.overscanStartIndex,z=x.overscanStopIndex,T=b.overscanStartIndex,I=b.overscanStopIndex;if(r){if(!r.hasFixedHeight()){for(var Z=T;Z<=I;Z++)if(!r.has(Z,0)){R=0,z=i-1;break}}if(!r.hasFixedWidth()){for(var O=R;O<=z;O++)if(!r.has(0,O)){T=0,I=d-1;break}}}this._childrenToDisplay=n({cellCache:this._cellCache,cellRenderer:o,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:R,columnStopIndex:z,deferredMeasurementCache:r,horizontalOffsetAdjustment:C,isScrolling:_,isScrollingOptOut:h,parent:this,rowSizeAndPositionManager:m.rowSizeAndPositionManager,rowStartIndex:T,rowStopIndex:I,scrollLeft:v,scrollTop:g,styleCache:this._styleCache,verticalOffsetAdjustment:w,visibleColumnIndices:S,visibleRowIndices:y}),this._columnStartIndex=R,this._columnStopIndex=z,this._rowStartIndex=T,this._rowStopIndex=I}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&j(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,o=e.scrollLeft,n=e.scrollTop,i=e.totalColumnsWidth,r=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var o=e.scrollLeft,n=e.scrollTop,l=t.props,s=l.height;(0,l.onScroll)({clientHeight:s,clientWidth:l.width,scrollHeight:r,scrollLeft:o,scrollTop:n,scrollWidth:i})},indices:{scrollLeft:o,scrollTop:n}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?!!e.isScrolling:!!t.isScrolling}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var o=e.scrollLeft,n=e.scrollTop,i=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:n});i&&(i.needToResetStyleCache=!1,this.setState(i))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,o)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollLeftForScrollToColumnStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,o)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,o=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var n=this._rowStartIndex;n<=this._rowStopIndex;n++)for(var i=this._columnStartIndex;i<=this._columnStopIndex;i++){var r="".concat(n,"-").concat(i);this._styleCache[r]=e[r],o&&(this._cellCache[r]=t[r])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollTopForScrollToRowStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}}],[{key:"getDerivedStateFromProps",value:function(e,o){var n,i,r={};0===e.columnCount&&0!==o.scrollLeft||0===e.rowCount&&0!==o.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==o.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==o.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var l=o.instanceProps;return r.needToResetStyleCache=!1,(e.columnWidth!==l.prevColumnWidth||e.rowHeight!==l.prevRowHeight)&&(r.needToResetStyleCache=!0),l.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),l.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),(0===l.prevColumnCount||0===l.prevRowCount)&&(l.prevColumnCount=0,l.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===l.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),k({cellCount:l.prevColumnCount,cellSize:"number"==typeof l.prevColumnWidth?l.prevColumnWidth:null,computeMetadataCallback:function(){return l.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:l.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){n=t._getScrollLeftForScrollToColumnStateUpdate(e,o)}}),k({cellCount:l.prevRowCount,cellSize:"number"==typeof l.prevRowHeight?l.prevRowHeight:null,computeMetadataCallback:function(){return l.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:l.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,o)}}),l.prevColumnCount=e.columnCount,l.prevColumnWidth=e.columnWidth,l.prevIsScrolling=!0===e.isScrolling,l.prevRowCount=e.rowCount,l.prevRowHeight=e.rowHeight,l.prevScrollToColumn=e.scrollToColumn,l.prevScrollToRow=e.scrollToRow,l.scrollbarSize=e.getScrollbarSize(),void 0===l.scrollbarSize?(l.scrollbarSizeMeasured=!1,l.scrollbarSize=0):l.scrollbarSizeMeasured=!0,r.instanceProps=l,$({},r,{},n,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,o=e.scrollLeft,n=e.scrollTop,i={scrollPositionChangeReason:V.REQUESTED};return("number"==typeof o&&o>=0&&(i.scrollDirectionHorizontal=o>t.scrollLeft?1:-1,i.scrollLeft=o),"number"==typeof n&&n>=0&&(i.scrollDirectionVertical=n>t.scrollTop?1:-1,i.scrollTop=n),"number"==typeof o&&o>=0&&o!==t.scrollLeft||"number"==typeof n&&n>=0&&n!==t.scrollTop)?i:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var o=e.columnCount,n=e.height,i=e.scrollToAlignment,r=e.scrollToColumn,l=e.width,s=t.scrollLeft,a=t.instanceProps;if(o>0){var c=o-1,d=a.rowSizeAndPositionManager.getTotalSize(),u=a.scrollbarSizeMeasured&&d>n?a.scrollbarSize:0;return a.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:l-u,currentOffset:s,targetIndex:r<0?c:Math.min(c,r)})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,o){var n=o.scrollLeft,i=t._getCalculatedScrollLeft(e,o);return"number"==typeof i&&i>=0&&n!==i?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:i,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var o=e.height,n=e.rowCount,i=e.scrollToAlignment,r=e.scrollToRow,l=e.width,s=t.scrollTop,a=t.instanceProps;if(n>0){var c=n-1,d=a.columnSizeAndPositionManager.getTotalSize(),u=a.scrollbarSizeMeasured&&d>l?a.scrollbarSize:0;return a.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:o-u,currentOffset:s,targetIndex:r<0?c:Math.min(c,r)})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,o){var n=o.scrollTop,i=t._getCalculatedScrollTop(e,o);return"number"==typeof i&&i>=0&&n!==i?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:i}):{}}}]),t}(z.PureComponent),(0,R.Z)(r,"propTypes",null),l);(0,R.Z)(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,o=e.cellRenderer,n=e.columnSizeAndPositionManager,i=e.columnStartIndex,r=e.columnStopIndex,l=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,a=e.isScrolling,c=e.isScrollingOptOut,d=e.parent,u=e.rowSizeAndPositionManager,h=e.rowStartIndex,f=e.rowStopIndex,p=e.styleCache,m=e.verticalOffsetAdjustment,g=e.visibleColumnIndices,v=e.visibleRowIndices,_=[],S=n.areOffsetsAdjusted()||u.areOffsetsAdjusted(),y=!a&&!S,C=h;C<=f;C++)for(var w=u.getSizeAndPositionOfCell(C),x=i;x<=r;x++){var b=n.getSizeAndPositionOfCell(x),R=x>=g.start&&x<=g.stop&&C>=v.start&&C<=v.stop,z="".concat(C,"-").concat(x),T=void 0;y&&p[z]?T=p[z]:l&&!l.has(C,x)?T={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(T={height:w.size,left:b.offset+s,position:"absolute",top:w.offset+m,width:b.size},p[z]=T);var I={columnIndex:x,isScrolling:a,isVisible:R,key:z,parent:d,rowIndex:C,style:T},Z=void 0;(c||a)&&!s&&!m?(t[z]||(t[z]=o(I)),Z=t[z]):Z=o(I),null!=Z&&!1!==Z&&_.push(Z)}return _},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:H,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,o=e.overscanCellsCount,n=e.scrollDirection,i=e.startIndex,r=e.stopIndex;return 1===n?{overscanStartIndex:Math.max(0,i),overscanStopIndex:Math.min(t-1,r+o)}:{overscanStartIndex:Math.max(0,i-o),overscanStopIndex:Math.min(t-1,r)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),O(q);var K=q;function X(e){var t=e.cellCount,o=e.overscanCellsCount,n=e.scrollDirection,i=e.startIndex,r=e.stopIndex;return(o=Math.max(1,o),1===n)?{overscanStartIndex:Math.max(0,i-1),overscanStopIndex:Math.min(t-1,r+o)}:{overscanStartIndex:Math.max(0,i-o),overscanStopIndex:Math.min(t-1,r+1)}}function Y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}var Q=(a=s=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;re.target.className.indexOf("contract-trigger")&&0>e.target.className.indexOf("expand-trigger"))){var t=this;c(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=s(function(){(t.offsetWidth!=t.__resizeLast__.width||t.offsetHeight!=t.__resizeLast__.height)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach(function(o){o.call(t,e)}))})}},u=!1,h="",f="animationstart",p="Webkit Moz O ms".split(" "),m="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=n.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u){for(var v=0;v div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',n=t.head||t.getElementsByTagName("head")[0],i=t.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=o:i.appendChild(t.createTextNode(o)),n.appendChild(i)}};return{addResizeListener:function(e,t){if(i)e.attachEvent("onresize",t);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,r=n.getComputedStyle(e);r&&"static"==r.position&&(e.style.position="relative"),C(o),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=o.createElement("div")).className="resize-triggers";var l='
    ';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return l}});e.__resizeTriggers__.innerHTML=s.createHTML("")}else e.__resizeTriggers__.innerHTML=l;e.appendChild(e.__resizeTriggers__),c(e),e.addEventListener("scroll",d,!0),f&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==_&&c(e)},e.__resizeTriggers__.addEventListener(f,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(t)}},removeResizeListener:function(e,t){if(i)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",d,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}(0,R.Z)(Q,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),O(Q);var et=(d=c=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;r=0){var d=t.getScrollPositionForCell({align:i,cellIndex:r,height:n,scrollLeft:a,scrollTop:c,width:l});(d.scrollLeft!==a||d.scrollTop!==c)&&o._setScrollPosition(d)}}),(0,R.Z)((0,x.Z)(o),"_onScroll",function(e){if(e.target===o._scrollingContainer){o._enablePointerEventsAfterDelay();var t=o.props,n=t.cellLayoutManager,i=t.height,r=t.isScrollingChange,l=t.width,s=o._scrollbarSize,a=n.getTotalSize(),c=a.height,d=a.width,u=Math.max(0,Math.min(d-l+s,e.target.scrollLeft)),h=Math.max(0,Math.min(c-i+s,e.target.scrollTop));if(o.state.scrollLeft!==u||o.state.scrollTop!==h){var f=e.cancelable?er.OBSERVED:er.REQUESTED;o.state.isScrolling||r(!0),o.setState({isScrolling:!0,scrollLeft:u,scrollPositionChangeReason:f,scrollTop:h})}o._invokeOnScrollMemoizer({scrollLeft:u,scrollTop:h,totalWidth:d,totalHeight:c})}}),o._scrollbarSize=H(),void 0===o._scrollbarSize?(o._scrollbarSizeMeasured=!1,o._scrollbarSize=0):o._scrollbarSizeMeasured=!0,o}return(0,b.Z)(t,e),(0,y.Z)(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,o=e.scrollLeft,n=e.scrollToCell,i=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=H(),this._scrollbarSizeMeasured=!0,this.setState({})),n>=0?this._updateScrollPositionForScrollToCell():(o>=0||i>=0)&&this._setScrollPosition({scrollLeft:o,scrollTop:i}),this._invokeOnSectionRenderedHelper();var r=t.getTotalSize(),l=r.height,s=r.width;this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:i||0,totalHeight:l,totalWidth:s})}},{key:"componentDidUpdate",value:function(e,t){var o=this.props,n=o.height,i=o.scrollToAlignment,r=o.scrollToCell,l=o.width,s=this.state,a=s.scrollLeft,c=s.scrollPositionChangeReason,d=s.scrollTop;c===er.REQUESTED&&(a>=0&&a!==t.scrollLeft&&a!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=a),d>=0&&d!==t.scrollTop&&d!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=d)),(n!==e.height||i!==e.scrollToAlignment||r!==e.scrollToCell||l!==e.width)&&this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoHeight,o=e.cellCount,n=e.cellLayoutManager,i=e.className,r=e.height,l=e.horizontalOverscanSize,s=e.id,a=e.noContentRenderer,c=e.style,d=e.verticalOverscanSize,u=e.width,h=this.state,f=h.isScrolling,p=h.scrollLeft,m=h.scrollTop;(this._lastRenderedCellCount!==o||this._lastRenderedCellLayoutManager!==n||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=o,this._lastRenderedCellLayoutManager=n,this._calculateSizeAndPositionDataOnNextUpdate=!1,n.calculateSizeAndPositionData());var g=n.getTotalSize(),v=g.height,_=g.width,S=Math.max(0,p-l),y=Math.max(0,m-d),C=Math.min(_,p+u+l),w=Math.min(v,m+r+d),x=r>0&&u>0?n.cellRenderers({height:w-y,isScrolling:f,width:C-S,x:S,y:y}):[],b={boxSizing:"border-box",direction:"ltr",height:t?"auto":r,position:"relative",WebkitOverflowScrolling:"touch",width:u,willChange:"transform"},T=v>r?this._scrollbarSize:0,I=_>u?this._scrollbarSize:0;return b.overflowX=_+T<=u?"hidden":"auto",b.overflowY=v+I<=r?"hidden":"auto",z.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:P("ReactVirtualized__Collection",i),id:s,onScroll:this._onScroll,role:"grid",style:function(e){for(var t=1;t0&&z.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:v,maxHeight:v,maxWidth:_,overflow:"hidden",pointerEvents:f?"none":"",width:_}},x),0===o&&a())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})},150)}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,o=e.scrollLeft,n=e.scrollTop,i=e.totalHeight,r=e.totalWidth;this._onScrollMemoizer({callback:function(e){var o=e.scrollLeft,n=e.scrollTop,l=t.props,s=l.height;(0,l.onScroll)({clientHeight:s,clientWidth:l.width,scrollHeight:i,scrollLeft:o,scrollTop:n,scrollWidth:r})},indices:{scrollLeft:o,scrollTop:n}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,o=e.scrollTop,n={scrollPositionChangeReason:er.REQUESTED};t>=0&&(n.scrollLeft=t),o>=0&&(n.scrollTop=o),(t>=0&&t!==this.state.scrollLeft||o>=0&&o!==this.state.scrollTop)&&this.setState(n)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 0===e.cellCount&&(0!==t.scrollLeft||0!==t.scrollTop)?{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:er.REQUESTED}:e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop?e.scrollTop:t.scrollTop,scrollPositionChangeReason:er.REQUESTED}:null}}]),t}(z.PureComponent);(0,R.Z)(el,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),el.propTypes={},O(el);var es=function(){function e(t){var o=t.height,n=t.width,i=t.x,r=t.y;(0,S.Z)(this,e),this.height=o,this.width=n,this.x=i,this.y=r,this._indexMap={},this._indices=[]}return(0,y.Z)(e,[{key:"addCellIndex",value:function(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),e}(),ea=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;(0,S.Z)(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return(0,y.Z)(e,[{key:"getCellIndices",value:function(e){var t=e.height,o=e.width,n=e.x,i=e.y,r={};return this.getSections({height:t,width:o,x:n,y:i}).forEach(function(e){return e.getCellIndices().forEach(function(e){r[e]=e})}),Object.keys(r).map(function(e){return r[e]})}},{key:"getCellMetadata",value:function(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function(e){for(var t=e.height,o=e.width,n=e.x,i=e.y,r=Math.floor(n/this._sectionSize),l=Math.floor((n+o-1)/this._sectionSize),s=Math.floor(i/this._sectionSize),a=Math.floor((i+t-1)/this._sectionSize),c=[],d=r;d<=l;d++)for(var u=s;u<=a;u++){var h="".concat(d,".").concat(u);this._sections[h]||(this._sections[h]=new es({height:this._sectionSize,width:this._sectionSize,x:d*this._sectionSize,y:u*this._sectionSize})),c.push(this._sections[h])}return c}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var e=this;return Object.keys(this._sections).map(function(t){return e._sections[t].toString()})}},{key:"registerCell",value:function(e){var t=e.cellMetadatum,o=e.index;this._cellMetadata[o]=t,this.getSections(t).forEach(function(e){return e.addCellIndex({index:o})})}}]),e}();function ec(e){var t=e.align,o=e.cellOffset,n=e.cellSize,i=e.containerSize,r=e.currentOffset,l=o-i+n;switch(void 0===t?"auto":t){case"start":return o;case"end":return l;case"center":return o-(i-n)/2;default:return Math.max(l,Math.min(o,r))}}var ed=function(e){function t(e,o){var n;return(0,S.Z)(this,t),(n=(0,C.Z)(this,(0,w.Z)(t).call(this,e,o)))._cellMetadata=[],n._lastRenderedCellIndices=[],n._cellCache=[],n._isScrollingChange=n._isScrollingChange.bind((0,x.Z)(n)),n._setCollectionViewRef=n._setCollectionViewRef.bind((0,x.Z)(n)),n}return(0,b.Z)(t,e),(0,y.Z)(t,[{key:"forceUpdate",value:function(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var e=(0,M.Z)({},this.props);return z.createElement(el,(0,M.Z)({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},e))}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=function(e){for(var t=e.cellCount,o=e.cellSizeAndPositionGetter,n=e.sectionSize,i=[],r=new ea(n),l=0,s=0,a=0;a=0&&oi||l1&&void 0!==arguments[1]?arguments[1]:0,o="function"==typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;o?o.call(e,t):e.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)})})}},{key:"_onRowsRendered",value:function(e){var t=e.startIndex,o=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=o,this._doStuff(t,o)}},{key:"_doStuff",value:function(e,t){var o,n=this,i=this.props,r=i.isRowLoaded,l=i.minimumBatchSize,s=i.rowCount,a=i.threshold,c=function(e){for(var t=e.isRowLoaded,o=e.minimumBatchSize,n=e.rowCount,i=e.startIndex,r=e.stopIndex,l=[],s=null,a=null,c=i;c<=r;c++)t({index:c})?null!==a&&(l.push({startIndex:s,stopIndex:a}),s=a=null):(a=c,null===s&&(s=c));if(null!==a){for(var d=Math.min(Math.max(a,s+o-1),n-1),u=a+1;u<=d&&!t({index:u});u++)a=u;l.push({startIndex:s,stopIndex:a})}if(l.length)for(var h=l[0];h.stopIndex-h.startIndex+10;){var f=h.startIndex-1;if(t({index:f}))break;h.startIndex=f}return l}({isRowLoaded:r,minimumBatchSize:l,rowCount:s,startIndex:Math.max(0,e-a),stopIndex:Math.min(s-1,t+a)}),d=(o=[]).concat.apply(o,(0,eu.Z)(c.map(function(e){return[e.startIndex,e.stopIndex]})));this._loadMoreRowsMemoizer({callback:function(){n._loadUnloadedRanges(c)},indices:{squashedUnloadedRanges:d}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}]),t}(z.PureComponent);(0,R.Z)(eh,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),eh.propTypes={};var ef=(p=f=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.recomputeGridSize({rowIndex:void 0===o?0:o,columnIndex:void 0===t?0:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,o=e.noRowsRenderer,n=e.scrollToIndex,i=e.width,r=P("ReactVirtualized__List",t);return z.createElement(K,(0,M.Z)({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:r,columnWidth:i,columnCount:1,noContentRenderer:o,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:n}))}}]),t}(z.PureComponent),(0,R.Z)(f,"propTypes",null),p);(0,R.Z)(ef,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:X,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});var ep=o(65347),em={ge:function(e,t,o,n,i){return"function"==typeof o?function(e,t,o,n,i){for(var r=o+1;t<=o;){var l=t+o>>>1;i(e[l],n)>=0?(r=l,o=l-1):t=l+1}return r}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(var i=o+1;t<=o;){var r=t+o>>>1;e[r]>=n?(i=r,o=r-1):t=r+1}return i}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},gt:function(e,t,o,n,i){return"function"==typeof o?function(e,t,o,n,i){for(var r=o+1;t<=o;){var l=t+o>>>1;i(e[l],n)>0?(r=l,o=l-1):t=l+1}return r}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(var i=o+1;t<=o;){var r=t+o>>>1;e[r]>n?(i=r,o=r-1):t=r+1}return i}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},lt:function(e,t,o,n,i){return"function"==typeof o?function(e,t,o,n,i){for(var r=t-1;t<=o;){var l=t+o>>>1;0>i(e[l],n)?(r=l,t=l+1):o=l-1}return r}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(var i=t-1;t<=o;){var r=t+o>>>1;e[r]>>1;0>=i(e[l],n)?(r=l,t=l+1):o=l-1}return r}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(var i=t-1;t<=o;){var r=t+o>>>1;e[r]<=n?(i=r,t=r+1):o=r-1}return i}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},eq:function(e,t,o,n,i){return"function"==typeof o?function(e,t,o,n,i){for(;t<=o;){var r=t+o>>>1,l=i(e[r],n);if(0===l)return r;l<=0?t=r+1:o=r-1}return -1}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(;t<=o;){var i=t+o>>>1,r=e[i];if(r===n)return i;r<=n?t=i+1:o=i-1}return -1}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)}};function eg(e,t,o,n,i){this.mid=e,this.left=t,this.right=o,this.leftPoints=n,this.rightPoints=i,this.count=(t?t.count:0)+(o?o.count:0)+n.length}var ev=eg.prototype;function e_(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function eS(e,t){var o=eI(t);e.mid=o.mid,e.left=o.left,e.right=o.right,e.leftPoints=o.leftPoints,e.rightPoints=o.rightPoints,e.count=o.count}function ey(e,t){var o=e.intervals([]);o.push(t),eS(e,o)}function eC(e,t){var o=e.intervals([]),n=o.indexOf(t);return n<0?0:(o.splice(n,1),eS(e,o),1)}function ew(e,t,o){for(var n=0;n=0&&e[n][1]>=t;--n){var i=o(e[n]);if(i)return i}}function eb(e,t){for(var o=0;o>1],i=[],r=[],l=[],o=0;o3*(t+1)?ey(this,e):this.left.insert(e):this.left=eI([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?ey(this,e):this.right.insert(e):this.right=eI([e]);else{var o=em.ge(this.leftPoints,e,ez),n=em.ge(this.rightPoints,e,eT);this.leftPoints.splice(o,0,e),this.rightPoints.splice(n,0,e)}},ev.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1))return eC(this,e);var o=this.left.remove(e);return 2===o?(this.left=null,this.count-=1,1):(1===o&&(this.count-=1),o)}if(e[0]>this.mid){if(!this.right)return 0;if(4*(this.left?this.left.count:0)>3*(t-1))return eC(this,e);var o=this.right.remove(e);return 2===o?(this.right=null,this.count-=1,1):(1===o&&(this.count-=1),o)}if(1===this.count)return this.leftPoints[0]===e?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){for(var n=this,i=this.left;i.right;)n=i,i=i.right;if(n===this)i.right=this.right;else{var r=this.left,o=this.right;n.count-=i.count,n.right=i.left,i.left=r,i.right=o}e_(this,i),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?e_(this,this.left):e_(this,this.right);return 1}for(var r=em.ge(this.leftPoints,e,ez);rthis.mid))return eb(this.leftPoints,t);if(this.right){var o=this.right.queryPoint(e,t);if(o)return o}return ex(this.rightPoints,e,t)},ev.queryInterval=function(e,t,o){if(ethis.mid&&this.right){var n=this.right.queryInterval(e,t,o);if(n)return n}return tthis.mid?ex(this.rightPoints,e,o):eb(this.leftPoints,o)};var eO=eZ.prototype;eO.insert=function(e){this.root?this.root.insert(e):this.root=new eg(e[0],null,null,[e],[e])},eO.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},eO.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},eO.queryInterval=function(e,t,o){if(e<=t&&this.root)return this.root.queryInterval(e,t,o)},Object.defineProperty(eO,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(eO,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var eM=function(){function e(){var t;(0,S.Z)(this,e),(0,R.Z)(this,"_columnSizeMap",{}),(0,R.Z)(this,"_intervalTree",new eZ(t&&0!==t.length?eI(t):null)),(0,R.Z)(this,"_leftMap",{})}return(0,y.Z)(e,[{key:"estimateTotalHeight",value:function(e,t,o){var n=e-this.count;return this.tallestColumnSize+Math.ceil(n/t)*o}},{key:"range",value:function(e,t,o){var n=this;this._intervalTree.queryInterval(e,e+t,function(e){var t=(0,ep.Z)(e,3),i=t[0],r=(t[1],t[2]);return o(r,n._leftMap[r],i)})}},{key:"setPosition",value:function(e,t,o,n){this._intervalTree.insert([o,o+n,e]),this._leftMap[e]=t;var i=this._columnSizeMap,r=i[t];void 0===r?i[t]=o+n:i[t]=Math.max(r,o+n)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e){var n=e[o];t=0===t?n:Math.min(t,n)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e)t=Math.max(t,e[o]);return t}}]),e}();function eP(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}var ek=(g=m=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};(0,S.Z)(this,e),(0,R.Z)(this,"_cellMeasurerCache",void 0),(0,R.Z)(this,"_columnIndexOffset",void 0),(0,R.Z)(this,"_rowIndexOffset",void 0),(0,R.Z)(this,"columnWidth",function(e){var o=e.index;t._cellMeasurerCache.columnWidth({index:o+t._columnIndexOffset})}),(0,R.Z)(this,"rowHeight",function(e){var o=e.index;t._cellMeasurerCache.rowHeight({index:o+t._rowIndexOffset})});var n=o.cellMeasurerCache,i=o.columnIndexOffset,r=o.rowIndexOffset;this._cellMeasurerCache=n,this._columnIndexOffset=void 0===i?0:i,this._rowIndexOffset=void 0===r?0:r}return(0,y.Z)(e,[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"set",value:function(e,t,o,n){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,o,n)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function eG(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function eA(e){for(var t=1;t0?new eE({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:l}):i,n._deferredMeasurementCacheBottomRightGrid=r>0||l>0?new eE({cellMeasurerCache:i,columnIndexOffset:r,rowIndexOffset:l}):i,n._deferredMeasurementCacheTopRightGrid=r>0?new eE({cellMeasurerCache:i,columnIndexOffset:r,rowIndexOffset:0}):i),n}return(0,b.Z)(t,e),(0,y.Z)(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,i=void 0===n?0:n;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,o):o,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,i):i}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,i=void 0===n?0:n,r=this.props,l=r.fixedColumnCount,s=r.fixedRowCount,a=Math.max(0,o-l),c=Math.max(0,i-s);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:o,rowIndex:c}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:a,rowIndex:c}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:o,rowIndex:i}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:a,rowIndex:i}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,o=e.scrollTop;if(t>0||o>0){var n={};t>0&&(n.scrollLeft=t),o>0&&(n.scrollTop=o),this.setState(n)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,o=e.onSectionRendered,n=(e.onScrollbarPresenceChange,e.scrollLeft,e.scrollToColumn),i=(e.scrollTop,e.scrollToRow),r=(0,L.Z)(e,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var l=this.state,s=l.scrollLeft,a=l.scrollTop;return z.createElement("div",{style:this._containerOuterStyle},z.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(r),this._renderTopRightGrid(eA({},r,{onScroll:t,scrollLeft:s}))),z.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(eA({},r,{onScroll:t,scrollTop:a})),this._renderBottomRightGrid(eA({},r,{onScroll:t,onSectionRendered:o,scrollLeft:s,scrollToColumn:n,scrollToRow:i,scrollTop:a}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,o=e.columnWidth;if(null==this._leftGridWidth){if("function"==typeof o){for(var n=0,i=0;i=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(z.PureComponent);function eW(e){var t=e.className,o=e.columns,n=e.style;return z.createElement("div",{className:t,role:"row",style:n},o)}(0,R.Z)(eD,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),eD.propTypes={},O(eD),function(e){function t(e,o){var n;return(0,S.Z)(this,t),(n=(0,C.Z)(this,(0,w.Z)(t).call(this,e,o))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},n._onScroll=n._onScroll.bind((0,x.Z)(n)),n}return(0,b.Z)(t,e),(0,y.Z)(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.clientHeight,n=t.clientWidth,i=t.scrollHeight,r=t.scrollLeft,l=t.scrollTop,s=t.scrollWidth;return e({clientHeight:o,clientWidth:n,onScroll:this._onScroll,scrollHeight:i,scrollLeft:r,scrollTop:l,scrollWidth:s})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.clientWidth,n=e.scrollHeight,i=e.scrollLeft,r=e.scrollTop,l=e.scrollWidth;this.setState({clientHeight:t,clientWidth:o,scrollHeight:n,scrollLeft:i,scrollTop:r,scrollWidth:l})}}]),t}(z.PureComponent).propTypes={},eW.propTypes=null;var eH={ASC:"ASC",DESC:"DESC"};function eF(e){var t=e.sortDirection,o=P("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===eH.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===eH.DESC});return z.createElement("svg",{className:o,width:18,height:18,viewBox:"0 0 24 24"},t===eH.ASC?z.createElement("path",{d:"M7 14l5-5 5 5z"}):z.createElement("path",{d:"M7 10l5 5 5-5z"}),z.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function eN(e){var t=e.dataKey,o=e.label,n=e.sortBy,i=e.sortDirection,r=[z.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof o?o:null},o)];return n===t&&r.push(z.createElement(eF,{key:"SortIndicator",sortDirection:i})),r}function ej(e){var t=e.className,o=e.columns,n=e.index,i=e.key,r=e.onRowClick,l=e.onRowDoubleClick,s=e.onRowMouseOut,a=e.onRowMouseOver,c=e.onRowRightClick,d=e.rowData,u=e.style,h={"aria-rowindex":n+1};return(r||l||s||a||c)&&(h["aria-label"]="row",h.tabIndex=0,r&&(h.onClick=function(e){return r({event:e,index:n,rowData:d})}),l&&(h.onDoubleClick=function(e){return l({event:e,index:n,rowData:d})}),s&&(h.onMouseOut=function(e){return s({event:e,index:n,rowData:d})}),a&&(h.onMouseOver=function(e){return a({event:e,index:n,rowData:d})}),c&&(h.onContextMenu=function(e){return c({event:e,index:n,rowData:d})})),z.createElement("div",(0,M.Z)({},h,{className:t,key:i,role:"row",style:u}),o)}eF.propTypes={},eN.propTypes=null,ej.propTypes=null;var eU=function(e){function t(){return(0,S.Z)(this,t),(0,C.Z)(this,(0,w.Z)(t).apply(this,arguments))}return(0,b.Z)(t,e),t}(z.Component);function eB(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function e$(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.recomputeGridSize({rowIndex:void 0===o?0:o,columnIndex:void 0===t?0:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=(0,eo.findDOMNode)(this.Grid),t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,o=t.children,n=t.className,i=t.disableHeader,r=t.gridClassName,l=t.gridStyle,s=t.headerHeight,a=t.headerRowRenderer,c=t.height,d=t.id,u=t.noRowsRenderer,h=t.rowClassName,f=t.rowStyle,p=t.scrollToIndex,m=t.style,g=t.width,v=this.state.scrollbarWidth,_=i?c:c-s,S="function"==typeof h?h({index:-1}):h,y="function"==typeof f?f({index:-1}):f;return this._cachedColumnStyles=[],z.Children.toArray(o).forEach(function(t,o){var n=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[o]=e$({overflow:"hidden"},n)}),z.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":z.Children.toArray(o).length,"aria-rowcount":this.props.rowCount,className:P("ReactVirtualized__Table",n),id:d,role:"grid",style:m},!i&&a({className:P("ReactVirtualized__Table__headerRow",S),columns:this._getHeaderColumns(),style:e$({height:s,overflow:"hidden",paddingRight:v,width:g},y)}),z.createElement(K,(0,M.Z)({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:P("ReactVirtualized__Table__Grid",r),cellRenderer:this._createRow,columnWidth:g,columnCount:1,height:_,id:void 0,noContentRenderer:u,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:v,scrollToRow:p,style:e$({},l,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,o=e.columnIndex,n=e.isScrolling,i=e.parent,r=e.rowData,l=e.rowIndex,s=this.props.onColumnClick,a=t.props,c=a.cellDataGetter,d=a.cellRenderer,u=a.className,h=a.columnData,f=a.dataKey,p=a.id,m=d({cellData:c({columnData:h,dataKey:f,rowData:r}),columnData:h,columnIndex:o,dataKey:f,isScrolling:n,parent:i,rowData:r,rowIndex:l}),g=this._cachedColumnStyles[o],v="string"==typeof m?m:null;return z.createElement("div",{"aria-colindex":o+1,"aria-describedby":p,className:P("ReactVirtualized__Table__rowColumn",u),key:"Row"+l+"-Col"+o,onClick:function(e){s&&s({columnData:h,dataKey:f,event:e})},role:"gridcell",style:g,title:v},m)}},{key:"_createHeader",value:function(e){var t,o,n,i,r,l=e.column,s=e.index,a=this.props,c=a.headerClassName,d=a.headerStyle,u=a.onHeaderClick,h=a.sort,f=a.sortBy,p=a.sortDirection,m=l.props,g=m.columnData,v=m.dataKey,_=m.defaultSortDirection,S=m.disableSort,y=m.headerRenderer,C=m.id,w=m.label,x=!S&&h,b=P("ReactVirtualized__Table__headerColumn",c,l.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:x}),R=this._getFlexStyleForColumn(l,e$({},d,{},l.props.headerStyle)),T=y({columnData:g,dataKey:v,disableSort:S,label:w,sortBy:f,sortDirection:p});if(x||u){var I=f!==v?_:p===eH.DESC?eH.ASC:eH.DESC,Z=function(e){x&&h({defaultSortDirection:_,event:e,sortBy:v,sortDirection:I}),u&&u({columnData:g,dataKey:v,event:e})};r=l.props["aria-label"]||w||v,i="none",n=0,t=Z,o=function(e){("Enter"===e.key||" "===e.key)&&Z(e)}}return f===v&&(i=p===eH.ASC?"ascending":"descending"),z.createElement("div",{"aria-label":r,"aria-sort":i,className:b,id:C,key:"Header-Col"+s,onClick:t,onKeyDown:o,role:"columnheader",style:R,tabIndex:n},T)}},{key:"_createRow",value:function(e){var t=this,o=e.rowIndex,n=e.isScrolling,i=e.key,r=e.parent,l=e.style,s=this.props,a=s.children,c=s.onRowClick,d=s.onRowDoubleClick,u=s.onRowRightClick,h=s.onRowMouseOver,f=s.onRowMouseOut,p=s.rowClassName,m=s.rowGetter,g=s.rowRenderer,v=s.rowStyle,_=this.state.scrollbarWidth,S="function"==typeof p?p({index:o}):p,y="function"==typeof v?v({index:o}):v,C=m({index:o}),w=z.Children.toArray(a).map(function(e,i){return t._createColumn({column:e,columnIndex:i,isScrolling:n,parent:r,rowData:C,rowIndex:o,scrollbarWidth:_})}),x=P("ReactVirtualized__Table__row",S),b=e$({},l,{height:this._getRowHeight(o),overflow:"hidden",paddingRight:_},y);return g({className:x,columns:w,index:o,isScrolling:n,key:i,onRowClick:c,onRowDoubleClick:d,onRowRightClick:u,onRowMouseOver:h,onRowMouseOut:f,rowData:C,style:b})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),n=e$({},t,{flex:o,msFlex:o,WebkitFlex:o});return e.props.maxWidth&&(n.maxWidth=e.props.maxWidth),e.props.minWidth&&(n.minWidth=e.props.minWidth),n}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,o=t.children;return(t.disableHeader?[]:z.Children.toArray(o)).map(function(t,o){return e._createHeader({column:t,index:o})})}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"==typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.scrollHeight,n=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:o,scrollTop:n})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,o=e.rowOverscanStopIndex,n=e.rowStartIndex,i=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:o,startIndex:n,stopIndex:i})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(z.PureComponent);(0,R.Z)(eV,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:X,overscanRowCount:10,rowRenderer:ej,headerRowRenderer:eW,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),eV.propTypes={};var eq=[],eK=null,eX=null;function eY(){eX&&(eX=null,document.body&&null!=eK&&(document.body.style.pointerEvents=eK),eK=null)}function eQ(){eY(),eq.forEach(function(e){return e.__resetIsScrolling()})}function eJ(e){var t;e.currentTarget===window&&null==eK&&document.body&&(eK=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),eX&&j(eX),t=0,eq.forEach(function(e){t=Math.max(t,e.props.scrollingResetTimeInterval)}),eX=U(eQ,t),eq.forEach(function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()})}function e0(e,t){eq.some(function(e){return e.props.scrollElement===t})||t.addEventListener("scroll",eJ),eq.push(e)}function e1(e,t){!(eq=eq.filter(function(t){return t!==e})).length&&(t.removeEventListener("scroll",eJ),eX&&(j(eX),eY()))}var e3=function(e){return e===window},e2=function(e){return e.getBoundingClientRect()};function e4(e,t){if(!e)return{height:t.serverHeight,width:t.serverWidth};if(!e3(e))return e2(e);var o=window,n=o.innerHeight,i=o.innerWidth;return{height:"number"==typeof n?n:0,width:"number"==typeof i?i:0}}function e6(e){return e3(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}function e9(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}var e8=function(){return"undefined"!=typeof window?window:void 0},e5=(_=v=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,o=this.state,n=o.height,i=o.width,r=this._child||eo.findDOMNode(this);if(r instanceof Element&&e){var l=function(e,t){if(e3(t)&&document.documentElement){var o=document.documentElement,n=e2(e),i=e2(o);return{top:n.top-i.top,left:n.left-i.left}}var r=e6(t),l=e2(e),s=e2(t);return{top:l.top+r.top-s.top,left:l.left+r.left-s.left}}(r,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var s=e4(e,this.props);(n!==s.height||i!==s.width)&&(this.setState({height:s.height,width:s.width}),t({height:s.height,width:s.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(e0(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var o=this.props.scrollElement,n=e.scrollElement;n!==o&&null!=n&&null!=o&&(this.updatePosition(o),e1(this,n),e0(this,o),this._unregisterResizeListener(n),this._registerResizeListener(o))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(e1(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.isScrolling,n=t.scrollTop,i=t.scrollLeft,r=t.height,l=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:r,isScrolling:o,scrollLeft:i,scrollTop:n,width:l})}}]),t}(z.PureComponent),(0,R.Z)(v,"propTypes",null),_);(0,R.Z)(e5,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:e8(),serverHeight:0,serverWidth:0})}}]); \ No newline at end of file + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},97084:function(e,t,o){o.d(t,{qj:function(){return et},rj:function(){return K},b2:function(){return eh}});var n,i,r,l,s,a,c,d,u,h,f,p,m,g,v,_,S=o(97290),y=o(80972),w=o(75734),C=o(10496),x=o(6228),R=o(63119),b=o(65148),z=o(38497);function T(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState((function(t){var o=this.constructor.getDerivedStateFromProps(e,t);return null!=o?o:null}).bind(this))}function Z(e,t){try{var o=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(o,n)}finally{this.props=o,this.state=n}}function M(e){var t=e.prototype;if(!t||!t.isReactComponent)throw Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var o=null,n=null,i=null;if("function"==typeof t.componentWillMount?o="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(o="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?n="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(n="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?i="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==o||null!==n||null!==i)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==o?"\n "+o:"")+(null!==n?"\n "+n:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=T,t.componentWillReceiveProps=I),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Z;var r=t.componentDidUpdate;t.componentDidUpdate=function(e,t,o){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:o;r.call(this,e,t,n)}}return e}T.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,Z.__suppressDeprecationWarning=!0;var O=o(42096),P=function(){for(var e,t,o=0,n="";o=0&&a===s&&c())}var L=o(10921),E=function(){function e(t){var o=t.cellCount,n=t.cellSizeGetter,i=t.estimatedCellSize;(0,S.Z)(this,e),(0,b.Z)(this,"_cellSizeAndPositionData",{}),(0,b.Z)(this,"_lastMeasuredIndex",-1),(0,b.Z)(this,"_lastBatchedIndex",-1),(0,b.Z)(this,"_cellCount",void 0),(0,b.Z)(this,"_cellSizeGetter",void 0),(0,b.Z)(this,"_estimatedCellSize",void 0),this._cellSizeGetter=n,this._cellCount=o,this._estimatedCellSize=i}return(0,y.Z)(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,o=e.estimatedCellSize,n=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=o,this._cellSizeGetter=n}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),o=t.offset+t.size,n=this._lastMeasuredIndex+1;n<=e;n++){var i=this._cellSizeGetter({index:n});if(void 0===i||isNaN(i))throw Error("Invalid size returned for cell ".concat(n," of value ").concat(i));null===i?(this._cellSizeAndPositionData[n]={offset:o,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[n]={offset:o,size:i},o+=i,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t,o=e.align,n=e.containerSize,i=e.currentOffset,r=e.targetIndex;if(n<=0)return 0;var l=this.getSizeAndPositionOfCell(r),s=l.offset,a=s-n+l.size;switch(void 0===o?"auto":o){case"start":t=s;break;case"end":t=a;break;case"center":t=s-(n-l.size)/2;break;default:t=Math.max(a,Math.min(s,i))}return Math.max(0,Math.min(this.getTotalSize()-n,t))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,o=e.offset;if(0===this.getTotalSize())return{};var n=o+t,i=this._findNearestCell(o),r=this.getSizeAndPositionOfCell(i);o=r.offset+r.size;for(var l=i;oo&&(e=n-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var o=1;e=e?this._binarySearch(o,0,e):this._exponentialSearch(o,e)}}]),e}(),G=function(){function e(t){var o=t.maxScrollSize,n=void 0===o?"undefined"!=typeof window&&window.chrome?16777100:15e5:o,i=(0,L.Z)(t,["maxScrollSize"]);(0,S.Z)(this,e),(0,b.Z)(this,"_cellSizeAndPositionManager",void 0),(0,b.Z)(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new E(i),this._maxScrollSize=n}return(0,y.Z)(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();return Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:i})*(i-n))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,o=e.containerSize,n=e.currentOffset,i=e.targetIndex;n=this._safeOffsetToOffset({containerSize:o,offset:n});var r=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:void 0===t?"auto":t,containerSize:o,currentOffset:n,targetIndex:i});return this._offsetToSafeOffset({containerSize:o,offset:r})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,o=e.offset;return o=this._safeOffsetToOffset({containerSize:t,offset:o}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:o})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,o=e.offset,n=e.totalSize;return n<=t?0:o/(n-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();return n===i?o:Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:n})*(i-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();return n===i?o:Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:i})*(n-t))}}]),e}();function A(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t={};return function(o){var n=o.callback,i=o.indices,r=Object.keys(i),l=!e||r.every(function(e){var t=i[e];return Array.isArray(t)?t.length>0:t>=0}),s=r.length!==Object.keys(t).length||r.some(function(e){var o=t[e],n=i[e];return Array.isArray(n)?o.join(",")!==n.join(","):o!==n});t=i,l&&s&&n(i)}}function D(e){var t=e.cellSize,o=e.cellSizeAndPositionManager,n=e.previousCellsCount,i=e.previousCellSize,r=e.previousScrollToAlignment,l=e.previousScrollToIndex,s=e.previousSize,a=e.scrollOffset,c=e.scrollToAlignment,d=e.scrollToIndex,u=e.size,h=e.sizeJustIncreasedFromZero,f=e.updateScrollIndexCallback,p=o.getCellCount(),m=d>=0&&d0&&(uo.getTotalSize()-u&&f(p-1)}var W=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function H(e){if((!n&&0!==n||e)&&W){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),n=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return n}var F=(i="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||i.webkitRequestAnimationFrame||i.mozRequestAnimationFrame||i.oRequestAnimationFrame||i.msRequestAnimationFrame||function(e){return i.setTimeout(e,1e3/60)},N=i.cancelAnimationFrame||i.webkitCancelAnimationFrame||i.mozCancelAnimationFrame||i.oCancelAnimationFrame||i.msCancelAnimationFrame||function(e){i.clearTimeout(e)},j=function(e){return N(e.id)},U=function(e,t){Promise.resolve().then(function(){o=Date.now()});var o,n={id:F(function i(){Date.now()-o>=t?e.call():n.id=F(i)})};return n};function B(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function $(e){for(var t=1;t0&&(o._initialScrollTop=o._getCalculatedScrollTop(e,o.state)),e.scrollToColumn>0&&(o._initialScrollLeft=o._getCalculatedScrollLeft(e,o.state)),o}return(0,R.Z)(t,e),(0,y.Z)(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,o=void 0===t?this.props.scrollToAlignment:t,n=e.columnIndex,i=void 0===n?this.props.scrollToColumn:n,r=e.rowIndex,l=void 0===r?this.props.scrollToRow:r,s=$({},this.props,{scrollToAlignment:o,scrollToColumn:i,scrollToRow:l});return{scrollLeft:this._getCalculatedScrollLeft(s),scrollTop:this._getCalculatedScrollTop(s)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,o=e.scrollTop,n=void 0===o?0:o;if(!(n<0)){this._debounceScrollEnded();var i=this.props,r=i.autoHeight,l=i.autoWidth,s=i.height,a=i.width,c=this.state.instanceProps,d=c.scrollbarSize,u=c.rowSizeAndPositionManager.getTotalSize(),h=c.columnSizeAndPositionManager.getTotalSize(),f=Math.min(Math.max(0,h-a+d),void 0===t?0:t),p=Math.min(Math.max(0,u-s+d),n);if(this.state.scrollLeft!==f||this.state.scrollTop!==p){var m={isScrolling:!0,scrollDirectionHorizontal:f!==this.state.scrollLeft?f>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:p!==this.state.scrollTop?p>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:V.OBSERVED};r||(m.scrollTop=p),l||(m.scrollLeft=f),m.needToResetStyleCache=!1,this.setState(m)}this._invokeOnScrollMemoizer({scrollLeft:f,scrollTop:p,totalColumnsWidth:h,totalRowsHeight:u})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,o=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,o):o}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,o=e.rowCount,n=this.state.instanceProps;n.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),n.rowSizeAndPositionManager.getSizeAndPositionOfCell(o-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,i=void 0===n?0:n,r=this.props,l=r.scrollToColumn,s=r.scrollToRow,a=this.state.instanceProps;a.columnSizeAndPositionManager.resetCell(o),a.rowSizeAndPositionManager.resetCell(i),this._recomputeScrollLeftFlag=l>=0&&(1===this.state.scrollDirectionHorizontal?o<=l:o>=l),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?i<=s:i>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,o=e.rowIndex,n=this.props.columnCount,i=this.props;n>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn($({},i,{scrollToColumn:t})),void 0!==o&&this._updateScrollTopForScrollToRow($({},i,{scrollToRow:o}))}},{key:"componentDidMount",value:function(){var e=this.props,o=e.getScrollbarSize,n=e.height,i=e.scrollLeft,r=e.scrollToColumn,l=e.scrollTop,s=e.scrollToRow,a=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState(function(e){var t=$({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=o(),t.instanceProps.scrollbarSizeMeasured=!0,t}),"number"==typeof i&&i>=0||"number"==typeof l&&l>=0){var d=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:i,scrollTop:l});d&&(d.needToResetStyleCache=!1,this.setState(d))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var u=n>0&&a>0;r>=0&&u&&this._updateScrollLeftForScrollToColumn(),s>=0&&u&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:i||0,scrollTop:l||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var o=this,n=this.props,i=n.autoHeight,r=n.autoWidth,l=n.columnCount,s=n.height,a=n.rowCount,c=n.scrollToAlignment,d=n.scrollToColumn,u=n.scrollToRow,h=n.width,f=this.state,p=f.scrollLeft,m=f.scrollPositionChangeReason,g=f.scrollTop,v=f.instanceProps;this._handleInvalidatedGridSize();var _=l>0&&0===e.columnCount||a>0&&0===e.rowCount;m===V.REQUESTED&&(!r&&p>=0&&(p!==this._scrollingContainer.scrollLeft||_)&&(this._scrollingContainer.scrollLeft=p),!i&&g>=0&&(g!==this._scrollingContainer.scrollTop||_)&&(this._scrollingContainer.scrollTop=g));var S=(0===e.width||0===e.height)&&s>0&&h>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):D({cellSizeAndPositionManager:v.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:p,scrollToAlignment:c,scrollToIndex:d,size:h,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return o._updateScrollLeftForScrollToColumn(o.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):D({cellSizeAndPositionManager:v.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:g,scrollToAlignment:c,scrollToIndex:u,size:s,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return o._updateScrollTopForScrollToRow(o.props)}}),this._invokeOnGridRenderedHelper(),p!==t.scrollLeft||g!==t.scrollTop){var y=v.rowSizeAndPositionManager.getTotalSize(),w=v.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:g,totalColumnsWidth:w,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&j(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,o=e.autoHeight,n=e.autoWidth,i=e.className,r=e.containerProps,l=e.containerRole,s=e.containerStyle,a=e.height,c=e.id,d=e.noContentRenderer,u=e.role,h=e.style,f=e.tabIndex,p=e.width,m=this.state,g=m.instanceProps,v=m.needToResetStyleCache,_=this._isScrolling(),S={boxSizing:"border-box",direction:"ltr",height:o?"auto":a,position:"relative",width:n?"auto":p,WebkitOverflowScrolling:"touch",willChange:"transform"};v&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var y=g.columnSizeAndPositionManager.getTotalSize(),w=g.rowSizeAndPositionManager.getTotalSize(),C=w>a?g.scrollbarSize:0,x=y>p?g.scrollbarSize:0;(x!==this._horizontalScrollBarSize||C!==this._verticalScrollBarSize)&&(this._horizontalScrollBarSize=x,this._verticalScrollBarSize=C,this._scrollbarPresenceChanged=!0),S.overflowX=y+C<=p?"hidden":"auto",S.overflowY=w+x<=a?"hidden":"auto";var R=this._childrenToDisplay,b=0===R.length&&a>0&&p>0;return z.createElement("div",(0,O.Z)({ref:this._setScrollingContainerRef},r,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:P("ReactVirtualized__Grid",i),id:c,onScroll:this._onScroll,role:u,style:$({},S,{},h),tabIndex:f}),R.length>0&&z.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:$({width:t?"auto":y,height:w,maxWidth:y,maxHeight:w,overflow:"hidden",pointerEvents:_?"none":"",position:"relative"},s)},R),b&&d())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=e.cellRenderer,n=e.cellRangeRenderer,i=e.columnCount,r=e.deferredMeasurementCache,l=e.height,s=e.overscanColumnCount,a=e.overscanIndicesGetter,c=e.overscanRowCount,d=e.rowCount,u=e.width,h=e.isScrollingOptOut,f=t.scrollDirectionHorizontal,p=t.scrollDirectionVertical,m=t.instanceProps,g=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,v=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,_=this._isScrolling(e,t);if(this._childrenToDisplay=[],l>0&&u>0){var S=m.columnSizeAndPositionManager.getVisibleCellRange({containerSize:u,offset:v}),y=m.rowSizeAndPositionManager.getVisibleCellRange({containerSize:l,offset:g}),w=m.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:u,offset:v}),C=m.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:l,offset:g});this._renderedColumnStartIndex=S.start,this._renderedColumnStopIndex=S.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var x=a({direction:"horizontal",cellCount:i,overscanCellsCount:s,scrollDirection:f,startIndex:"number"==typeof S.start?S.start:0,stopIndex:"number"==typeof S.stop?S.stop:-1}),R=a({direction:"vertical",cellCount:d,overscanCellsCount:c,scrollDirection:p,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),b=x.overscanStartIndex,z=x.overscanStopIndex,T=R.overscanStartIndex,I=R.overscanStopIndex;if(r){if(!r.hasFixedHeight()){for(var Z=T;Z<=I;Z++)if(!r.has(Z,0)){b=0,z=i-1;break}}if(!r.hasFixedWidth()){for(var M=b;M<=z;M++)if(!r.has(0,M)){T=0,I=d-1;break}}}this._childrenToDisplay=n({cellCache:this._cellCache,cellRenderer:o,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:b,columnStopIndex:z,deferredMeasurementCache:r,horizontalOffsetAdjustment:w,isScrolling:_,isScrollingOptOut:h,parent:this,rowSizeAndPositionManager:m.rowSizeAndPositionManager,rowStartIndex:T,rowStopIndex:I,scrollLeft:v,scrollTop:g,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:S,visibleRowIndices:y}),this._columnStartIndex=b,this._columnStopIndex=z,this._rowStartIndex=T,this._rowStopIndex=I}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&j(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,o=e.scrollLeft,n=e.scrollTop,i=e.totalColumnsWidth,r=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var o=e.scrollLeft,n=e.scrollTop,l=t.props,s=l.height;(0,l.onScroll)({clientHeight:s,clientWidth:l.width,scrollHeight:r,scrollLeft:o,scrollTop:n,scrollWidth:i})},indices:{scrollLeft:o,scrollTop:n}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?!!e.isScrolling:!!t.isScrolling}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var o=e.scrollLeft,n=e.scrollTop,i=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:n});i&&(i.needToResetStyleCache=!1,this.setState(i))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,o)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollLeftForScrollToColumnStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,o)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,o=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var n=this._rowStartIndex;n<=this._rowStopIndex;n++)for(var i=this._columnStartIndex;i<=this._columnStopIndex;i++){var r="".concat(n,"-").concat(i);this._styleCache[r]=e[r],o&&(this._cellCache[r]=t[r])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollTopForScrollToRowStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}}],[{key:"getDerivedStateFromProps",value:function(e,o){var n,i,r={};0===e.columnCount&&0!==o.scrollLeft||0===e.rowCount&&0!==o.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==o.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==o.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var l=o.instanceProps;return r.needToResetStyleCache=!1,(e.columnWidth!==l.prevColumnWidth||e.rowHeight!==l.prevRowHeight)&&(r.needToResetStyleCache=!0),l.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),l.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),(0===l.prevColumnCount||0===l.prevRowCount)&&(l.prevColumnCount=0,l.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===l.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),k({cellCount:l.prevColumnCount,cellSize:"number"==typeof l.prevColumnWidth?l.prevColumnWidth:null,computeMetadataCallback:function(){return l.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:l.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){n=t._getScrollLeftForScrollToColumnStateUpdate(e,o)}}),k({cellCount:l.prevRowCount,cellSize:"number"==typeof l.prevRowHeight?l.prevRowHeight:null,computeMetadataCallback:function(){return l.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:l.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,o)}}),l.prevColumnCount=e.columnCount,l.prevColumnWidth=e.columnWidth,l.prevIsScrolling=!0===e.isScrolling,l.prevRowCount=e.rowCount,l.prevRowHeight=e.rowHeight,l.prevScrollToColumn=e.scrollToColumn,l.prevScrollToRow=e.scrollToRow,l.scrollbarSize=e.getScrollbarSize(),void 0===l.scrollbarSize?(l.scrollbarSizeMeasured=!1,l.scrollbarSize=0):l.scrollbarSizeMeasured=!0,r.instanceProps=l,$({},r,{},n,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,o=e.scrollLeft,n=e.scrollTop,i={scrollPositionChangeReason:V.REQUESTED};return("number"==typeof o&&o>=0&&(i.scrollDirectionHorizontal=o>t.scrollLeft?1:-1,i.scrollLeft=o),"number"==typeof n&&n>=0&&(i.scrollDirectionVertical=n>t.scrollTop?1:-1,i.scrollTop=n),"number"==typeof o&&o>=0&&o!==t.scrollLeft||"number"==typeof n&&n>=0&&n!==t.scrollTop)?i:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var o=e.columnCount,n=e.height,i=e.scrollToAlignment,r=e.scrollToColumn,l=e.width,s=t.scrollLeft,a=t.instanceProps;if(o>0){var c=o-1,d=a.rowSizeAndPositionManager.getTotalSize(),u=a.scrollbarSizeMeasured&&d>n?a.scrollbarSize:0;return a.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:l-u,currentOffset:s,targetIndex:r<0?c:Math.min(c,r)})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,o){var n=o.scrollLeft,i=t._getCalculatedScrollLeft(e,o);return"number"==typeof i&&i>=0&&n!==i?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:i,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var o=e.height,n=e.rowCount,i=e.scrollToAlignment,r=e.scrollToRow,l=e.width,s=t.scrollTop,a=t.instanceProps;if(n>0){var c=n-1,d=a.columnSizeAndPositionManager.getTotalSize(),u=a.scrollbarSizeMeasured&&d>l?a.scrollbarSize:0;return a.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:o-u,currentOffset:s,targetIndex:r<0?c:Math.min(c,r)})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,o){var n=o.scrollTop,i=t._getCalculatedScrollTop(e,o);return"number"==typeof i&&i>=0&&n!==i?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:i}):{}}}]),t}(z.PureComponent),(0,b.Z)(r,"propTypes",null),l);(0,b.Z)(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,o=e.cellRenderer,n=e.columnSizeAndPositionManager,i=e.columnStartIndex,r=e.columnStopIndex,l=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,a=e.isScrolling,c=e.isScrollingOptOut,d=e.parent,u=e.rowSizeAndPositionManager,h=e.rowStartIndex,f=e.rowStopIndex,p=e.styleCache,m=e.verticalOffsetAdjustment,g=e.visibleColumnIndices,v=e.visibleRowIndices,_=[],S=n.areOffsetsAdjusted()||u.areOffsetsAdjusted(),y=!a&&!S,w=h;w<=f;w++)for(var C=u.getSizeAndPositionOfCell(w),x=i;x<=r;x++){var R=n.getSizeAndPositionOfCell(x),b=x>=g.start&&x<=g.stop&&w>=v.start&&w<=v.stop,z="".concat(w,"-").concat(x),T=void 0;y&&p[z]?T=p[z]:l&&!l.has(w,x)?T={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(T={height:C.size,left:R.offset+s,position:"absolute",top:C.offset+m,width:R.size},p[z]=T);var I={columnIndex:x,isScrolling:a,isVisible:b,key:z,parent:d,rowIndex:w,style:T},Z=void 0;(c||a)&&!s&&!m?(t[z]||(t[z]=o(I)),Z=t[z]):Z=o(I),null!=Z&&!1!==Z&&_.push(Z)}return _},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:H,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,o=e.overscanCellsCount,n=e.scrollDirection,i=e.startIndex,r=e.stopIndex;return 1===n?{overscanStartIndex:Math.max(0,i),overscanStopIndex:Math.min(t-1,r+o)}:{overscanStartIndex:Math.max(0,i-o),overscanStopIndex:Math.min(t-1,r)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),M(q);var K=q;function X(e){var t=e.cellCount,o=e.overscanCellsCount,n=e.scrollDirection,i=e.startIndex,r=e.stopIndex;return(o=Math.max(1,o),1===n)?{overscanStartIndex:Math.max(0,i-1),overscanStopIndex:Math.min(t-1,r+o)}:{overscanStartIndex:Math.max(0,i-o),overscanStopIndex:Math.min(t-1,r+1)}}function Y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}var Q=(a=s=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;re.target.className.indexOf("contract-trigger")&&0>e.target.className.indexOf("expand-trigger"))){var t=this;c(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=s(function(){(t.offsetWidth!=t.__resizeLast__.width||t.offsetHeight!=t.__resizeLast__.height)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach(function(o){o.call(t,e)}))})}},u=!1,h="",f="animationstart",p="Webkit Moz O ms".split(" "),m="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=n.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u){for(var v=0;v div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',n=t.head||t.getElementsByTagName("head")[0],i=t.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=o:i.appendChild(t.createTextNode(o)),n.appendChild(i)}};return{addResizeListener:function(e,t){if(i)e.attachEvent("onresize",t);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,r=n.getComputedStyle(e);r&&"static"==r.position&&(e.style.position="relative"),w(o),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=o.createElement("div")).className="resize-triggers";var l='
    ';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return l}});e.__resizeTriggers__.innerHTML=s.createHTML("")}else e.__resizeTriggers__.innerHTML=l;e.appendChild(e.__resizeTriggers__),c(e),e.addEventListener("scroll",d,!0),f&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==_&&c(e)},e.__resizeTriggers__.addEventListener(f,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(t)}},removeResizeListener:function(e,t){if(i)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",d,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}(0,b.Z)(Q,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),M(Q);var et=(d=c=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;r=0){var d=t.getScrollPositionForCell({align:i,cellIndex:r,height:n,scrollLeft:a,scrollTop:c,width:l});(d.scrollLeft!==a||d.scrollTop!==c)&&o._setScrollPosition(d)}}),(0,b.Z)((0,x.Z)(o),"_onScroll",function(e){if(e.target===o._scrollingContainer){o._enablePointerEventsAfterDelay();var t=o.props,n=t.cellLayoutManager,i=t.height,r=t.isScrollingChange,l=t.width,s=o._scrollbarSize,a=n.getTotalSize(),c=a.height,d=a.width,u=Math.max(0,Math.min(d-l+s,e.target.scrollLeft)),h=Math.max(0,Math.min(c-i+s,e.target.scrollTop));if(o.state.scrollLeft!==u||o.state.scrollTop!==h){var f=e.cancelable?er.OBSERVED:er.REQUESTED;o.state.isScrolling||r(!0),o.setState({isScrolling:!0,scrollLeft:u,scrollPositionChangeReason:f,scrollTop:h})}o._invokeOnScrollMemoizer({scrollLeft:u,scrollTop:h,totalWidth:d,totalHeight:c})}}),o._scrollbarSize=H(),void 0===o._scrollbarSize?(o._scrollbarSizeMeasured=!1,o._scrollbarSize=0):o._scrollbarSizeMeasured=!0,o}return(0,R.Z)(t,e),(0,y.Z)(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,o=e.scrollLeft,n=e.scrollToCell,i=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=H(),this._scrollbarSizeMeasured=!0,this.setState({})),n>=0?this._updateScrollPositionForScrollToCell():(o>=0||i>=0)&&this._setScrollPosition({scrollLeft:o,scrollTop:i}),this._invokeOnSectionRenderedHelper();var r=t.getTotalSize(),l=r.height,s=r.width;this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:i||0,totalHeight:l,totalWidth:s})}},{key:"componentDidUpdate",value:function(e,t){var o=this.props,n=o.height,i=o.scrollToAlignment,r=o.scrollToCell,l=o.width,s=this.state,a=s.scrollLeft,c=s.scrollPositionChangeReason,d=s.scrollTop;c===er.REQUESTED&&(a>=0&&a!==t.scrollLeft&&a!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=a),d>=0&&d!==t.scrollTop&&d!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=d)),(n!==e.height||i!==e.scrollToAlignment||r!==e.scrollToCell||l!==e.width)&&this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoHeight,o=e.cellCount,n=e.cellLayoutManager,i=e.className,r=e.height,l=e.horizontalOverscanSize,s=e.id,a=e.noContentRenderer,c=e.style,d=e.verticalOverscanSize,u=e.width,h=this.state,f=h.isScrolling,p=h.scrollLeft,m=h.scrollTop;(this._lastRenderedCellCount!==o||this._lastRenderedCellLayoutManager!==n||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=o,this._lastRenderedCellLayoutManager=n,this._calculateSizeAndPositionDataOnNextUpdate=!1,n.calculateSizeAndPositionData());var g=n.getTotalSize(),v=g.height,_=g.width,S=Math.max(0,p-l),y=Math.max(0,m-d),w=Math.min(_,p+u+l),C=Math.min(v,m+r+d),x=r>0&&u>0?n.cellRenderers({height:C-y,isScrolling:f,width:w-S,x:S,y:y}):[],R={boxSizing:"border-box",direction:"ltr",height:t?"auto":r,position:"relative",WebkitOverflowScrolling:"touch",width:u,willChange:"transform"},T=v>r?this._scrollbarSize:0,I=_>u?this._scrollbarSize:0;return R.overflowX=_+T<=u?"hidden":"auto",R.overflowY=v+I<=r?"hidden":"auto",z.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:P("ReactVirtualized__Collection",i),id:s,onScroll:this._onScroll,role:"grid",style:function(e){for(var t=1;t0&&z.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:v,maxHeight:v,maxWidth:_,overflow:"hidden",pointerEvents:f?"none":"",width:_}},x),0===o&&a())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})},150)}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,o=e.scrollLeft,n=e.scrollTop,i=e.totalHeight,r=e.totalWidth;this._onScrollMemoizer({callback:function(e){var o=e.scrollLeft,n=e.scrollTop,l=t.props,s=l.height;(0,l.onScroll)({clientHeight:s,clientWidth:l.width,scrollHeight:i,scrollLeft:o,scrollTop:n,scrollWidth:r})},indices:{scrollLeft:o,scrollTop:n}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,o=e.scrollTop,n={scrollPositionChangeReason:er.REQUESTED};t>=0&&(n.scrollLeft=t),o>=0&&(n.scrollTop=o),(t>=0&&t!==this.state.scrollLeft||o>=0&&o!==this.state.scrollTop)&&this.setState(n)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 0===e.cellCount&&(0!==t.scrollLeft||0!==t.scrollTop)?{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:er.REQUESTED}:e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop?e.scrollTop:t.scrollTop,scrollPositionChangeReason:er.REQUESTED}:null}}]),t}(z.PureComponent);(0,b.Z)(el,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),el.propTypes={},M(el);var es=function(){function e(t){var o=t.height,n=t.width,i=t.x,r=t.y;(0,S.Z)(this,e),this.height=o,this.width=n,this.x=i,this.y=r,this._indexMap={},this._indices=[]}return(0,y.Z)(e,[{key:"addCellIndex",value:function(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),e}(),ea=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;(0,S.Z)(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return(0,y.Z)(e,[{key:"getCellIndices",value:function(e){var t=e.height,o=e.width,n=e.x,i=e.y,r={};return this.getSections({height:t,width:o,x:n,y:i}).forEach(function(e){return e.getCellIndices().forEach(function(e){r[e]=e})}),Object.keys(r).map(function(e){return r[e]})}},{key:"getCellMetadata",value:function(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function(e){for(var t=e.height,o=e.width,n=e.x,i=e.y,r=Math.floor(n/this._sectionSize),l=Math.floor((n+o-1)/this._sectionSize),s=Math.floor(i/this._sectionSize),a=Math.floor((i+t-1)/this._sectionSize),c=[],d=r;d<=l;d++)for(var u=s;u<=a;u++){var h="".concat(d,".").concat(u);this._sections[h]||(this._sections[h]=new es({height:this._sectionSize,width:this._sectionSize,x:d*this._sectionSize,y:u*this._sectionSize})),c.push(this._sections[h])}return c}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var e=this;return Object.keys(this._sections).map(function(t){return e._sections[t].toString()})}},{key:"registerCell",value:function(e){var t=e.cellMetadatum,o=e.index;this._cellMetadata[o]=t,this.getSections(t).forEach(function(e){return e.addCellIndex({index:o})})}}]),e}();function ec(e){var t=e.align,o=e.cellOffset,n=e.cellSize,i=e.containerSize,r=e.currentOffset,l=o-i+n;switch(void 0===t?"auto":t){case"start":return o;case"end":return l;case"center":return o-(i-n)/2;default:return Math.max(l,Math.min(o,r))}}var ed=function(e){function t(e,o){var n;return(0,S.Z)(this,t),(n=(0,w.Z)(this,(0,C.Z)(t).call(this,e,o)))._cellMetadata=[],n._lastRenderedCellIndices=[],n._cellCache=[],n._isScrollingChange=n._isScrollingChange.bind((0,x.Z)(n)),n._setCollectionViewRef=n._setCollectionViewRef.bind((0,x.Z)(n)),n}return(0,R.Z)(t,e),(0,y.Z)(t,[{key:"forceUpdate",value:function(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var e=(0,O.Z)({},this.props);return z.createElement(el,(0,O.Z)({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},e))}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=function(e){for(var t=e.cellCount,o=e.cellSizeAndPositionGetter,n=e.sectionSize,i=[],r=new ea(n),l=0,s=0,a=0;a=0&&oi||l1&&void 0!==arguments[1]?arguments[1]:0,o="function"==typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;o?o.call(e,t):e.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)})})}},{key:"_onRowsRendered",value:function(e){var t=e.startIndex,o=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=o,this._doStuff(t,o)}},{key:"_doStuff",value:function(e,t){var o,n=this,i=this.props,r=i.isRowLoaded,l=i.minimumBatchSize,s=i.rowCount,a=i.threshold,c=function(e){for(var t=e.isRowLoaded,o=e.minimumBatchSize,n=e.rowCount,i=e.startIndex,r=e.stopIndex,l=[],s=null,a=null,c=i;c<=r;c++)t({index:c})?null!==a&&(l.push({startIndex:s,stopIndex:a}),s=a=null):(a=c,null===s&&(s=c));if(null!==a){for(var d=Math.min(Math.max(a,s+o-1),n-1),u=a+1;u<=d&&!t({index:u});u++)a=u;l.push({startIndex:s,stopIndex:a})}if(l.length)for(var h=l[0];h.stopIndex-h.startIndex+10;){var f=h.startIndex-1;if(t({index:f}))break;h.startIndex=f}return l}({isRowLoaded:r,minimumBatchSize:l,rowCount:s,startIndex:Math.max(0,e-a),stopIndex:Math.min(s-1,t+a)}),d=(o=[]).concat.apply(o,(0,eu.Z)(c.map(function(e){return[e.startIndex,e.stopIndex]})));this._loadMoreRowsMemoizer({callback:function(){n._loadUnloadedRanges(c)},indices:{squashedUnloadedRanges:d}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}]),t}(z.PureComponent);(0,b.Z)(eh,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),eh.propTypes={};var ef=(p=f=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.recomputeGridSize({rowIndex:void 0===o?0:o,columnIndex:void 0===t?0:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,o=e.noRowsRenderer,n=e.scrollToIndex,i=e.width,r=P("ReactVirtualized__List",t);return z.createElement(K,(0,O.Z)({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:r,columnWidth:i,columnCount:1,noContentRenderer:o,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:n}))}}]),t}(z.PureComponent),(0,b.Z)(f,"propTypes",null),p);(0,b.Z)(ef,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:X,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});var ep=o(65347),em={ge:function(e,t,o,n,i){return"function"==typeof o?function(e,t,o,n,i){for(var r=o+1;t<=o;){var l=t+o>>>1;i(e[l],n)>=0?(r=l,o=l-1):t=l+1}return r}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(var i=o+1;t<=o;){var r=t+o>>>1;e[r]>=n?(i=r,o=r-1):t=r+1}return i}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},gt:function(e,t,o,n,i){return"function"==typeof o?function(e,t,o,n,i){for(var r=o+1;t<=o;){var l=t+o>>>1;i(e[l],n)>0?(r=l,o=l-1):t=l+1}return r}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(var i=o+1;t<=o;){var r=t+o>>>1;e[r]>n?(i=r,o=r-1):t=r+1}return i}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},lt:function(e,t,o,n,i){return"function"==typeof o?function(e,t,o,n,i){for(var r=t-1;t<=o;){var l=t+o>>>1;0>i(e[l],n)?(r=l,t=l+1):o=l-1}return r}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(var i=t-1;t<=o;){var r=t+o>>>1;e[r]>>1;0>=i(e[l],n)?(r=l,t=l+1):o=l-1}return r}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(var i=t-1;t<=o;){var r=t+o>>>1;e[r]<=n?(i=r,t=r+1):o=r-1}return i}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},eq:function(e,t,o,n,i){return"function"==typeof o?function(e,t,o,n,i){for(;t<=o;){var r=t+o>>>1,l=i(e[r],n);if(0===l)return r;l<=0?t=r+1:o=r-1}return -1}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(;t<=o;){var i=t+o>>>1,r=e[i];if(r===n)return i;r<=n?t=i+1:o=i-1}return -1}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)}};function eg(e,t,o,n,i){this.mid=e,this.left=t,this.right=o,this.leftPoints=n,this.rightPoints=i,this.count=(t?t.count:0)+(o?o.count:0)+n.length}var ev=eg.prototype;function e_(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function eS(e,t){var o=eI(t);e.mid=o.mid,e.left=o.left,e.right=o.right,e.leftPoints=o.leftPoints,e.rightPoints=o.rightPoints,e.count=o.count}function ey(e,t){var o=e.intervals([]);o.push(t),eS(e,o)}function ew(e,t){var o=e.intervals([]),n=o.indexOf(t);return n<0?0:(o.splice(n,1),eS(e,o),1)}function eC(e,t,o){for(var n=0;n=0&&e[n][1]>=t;--n){var i=o(e[n]);if(i)return i}}function eR(e,t){for(var o=0;o>1],i=[],r=[],l=[],o=0;o3*(t+1)?ey(this,e):this.left.insert(e):this.left=eI([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?ey(this,e):this.right.insert(e):this.right=eI([e]);else{var o=em.ge(this.leftPoints,e,ez),n=em.ge(this.rightPoints,e,eT);this.leftPoints.splice(o,0,e),this.rightPoints.splice(n,0,e)}},ev.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1))return ew(this,e);var o=this.left.remove(e);return 2===o?(this.left=null,this.count-=1,1):(1===o&&(this.count-=1),o)}if(e[0]>this.mid){if(!this.right)return 0;if(4*(this.left?this.left.count:0)>3*(t-1))return ew(this,e);var o=this.right.remove(e);return 2===o?(this.right=null,this.count-=1,1):(1===o&&(this.count-=1),o)}if(1===this.count)return this.leftPoints[0]===e?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){for(var n=this,i=this.left;i.right;)n=i,i=i.right;if(n===this)i.right=this.right;else{var r=this.left,o=this.right;n.count-=i.count,n.right=i.left,i.left=r,i.right=o}e_(this,i),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?e_(this,this.left):e_(this,this.right);return 1}for(var r=em.ge(this.leftPoints,e,ez);rthis.mid))return eR(this.leftPoints,t);if(this.right){var o=this.right.queryPoint(e,t);if(o)return o}return ex(this.rightPoints,e,t)},ev.queryInterval=function(e,t,o){if(ethis.mid&&this.right){var n=this.right.queryInterval(e,t,o);if(n)return n}return tthis.mid?ex(this.rightPoints,e,o):eR(this.leftPoints,o)};var eM=eZ.prototype;eM.insert=function(e){this.root?this.root.insert(e):this.root=new eg(e[0],null,null,[e],[e])},eM.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},eM.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},eM.queryInterval=function(e,t,o){if(e<=t&&this.root)return this.root.queryInterval(e,t,o)},Object.defineProperty(eM,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(eM,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var eO=function(){function e(){var t;(0,S.Z)(this,e),(0,b.Z)(this,"_columnSizeMap",{}),(0,b.Z)(this,"_intervalTree",new eZ(t&&0!==t.length?eI(t):null)),(0,b.Z)(this,"_leftMap",{})}return(0,y.Z)(e,[{key:"estimateTotalHeight",value:function(e,t,o){var n=e-this.count;return this.tallestColumnSize+Math.ceil(n/t)*o}},{key:"range",value:function(e,t,o){var n=this;this._intervalTree.queryInterval(e,e+t,function(e){var t=(0,ep.Z)(e,3),i=t[0],r=(t[1],t[2]);return o(r,n._leftMap[r],i)})}},{key:"setPosition",value:function(e,t,o,n){this._intervalTree.insert([o,o+n,e]),this._leftMap[e]=t;var i=this._columnSizeMap,r=i[t];void 0===r?i[t]=o+n:i[t]=Math.max(r,o+n)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e){var n=e[o];t=0===t?n:Math.min(t,n)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e)t=Math.max(t,e[o]);return t}}]),e}();function eP(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}var ek=(g=m=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};(0,S.Z)(this,e),(0,b.Z)(this,"_cellMeasurerCache",void 0),(0,b.Z)(this,"_columnIndexOffset",void 0),(0,b.Z)(this,"_rowIndexOffset",void 0),(0,b.Z)(this,"columnWidth",function(e){var o=e.index;t._cellMeasurerCache.columnWidth({index:o+t._columnIndexOffset})}),(0,b.Z)(this,"rowHeight",function(e){var o=e.index;t._cellMeasurerCache.rowHeight({index:o+t._rowIndexOffset})});var n=o.cellMeasurerCache,i=o.columnIndexOffset,r=o.rowIndexOffset;this._cellMeasurerCache=n,this._columnIndexOffset=void 0===i?0:i,this._rowIndexOffset=void 0===r?0:r}return(0,y.Z)(e,[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"set",value:function(e,t,o,n){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,o,n)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function eG(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function eA(e){for(var t=1;t0?new eE({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:l}):i,n._deferredMeasurementCacheBottomRightGrid=r>0||l>0?new eE({cellMeasurerCache:i,columnIndexOffset:r,rowIndexOffset:l}):i,n._deferredMeasurementCacheTopRightGrid=r>0?new eE({cellMeasurerCache:i,columnIndexOffset:r,rowIndexOffset:0}):i),n}return(0,R.Z)(t,e),(0,y.Z)(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,i=void 0===n?0:n;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,o):o,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,i):i}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,i=void 0===n?0:n,r=this.props,l=r.fixedColumnCount,s=r.fixedRowCount,a=Math.max(0,o-l),c=Math.max(0,i-s);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:o,rowIndex:c}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:a,rowIndex:c}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:o,rowIndex:i}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:a,rowIndex:i}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,o=e.scrollTop;if(t>0||o>0){var n={};t>0&&(n.scrollLeft=t),o>0&&(n.scrollTop=o),this.setState(n)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,o=e.onSectionRendered,n=(e.onScrollbarPresenceChange,e.scrollLeft,e.scrollToColumn),i=(e.scrollTop,e.scrollToRow),r=(0,L.Z)(e,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var l=this.state,s=l.scrollLeft,a=l.scrollTop;return z.createElement("div",{style:this._containerOuterStyle},z.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(r),this._renderTopRightGrid(eA({},r,{onScroll:t,scrollLeft:s}))),z.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(eA({},r,{onScroll:t,scrollTop:a})),this._renderBottomRightGrid(eA({},r,{onScroll:t,onSectionRendered:o,scrollLeft:s,scrollToColumn:n,scrollToRow:i,scrollTop:a}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,o=e.columnWidth;if(null==this._leftGridWidth){if("function"==typeof o){for(var n=0,i=0;i=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(z.PureComponent);function eW(e){var t=e.className,o=e.columns,n=e.style;return z.createElement("div",{className:t,role:"row",style:n},o)}(0,b.Z)(eD,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),eD.propTypes={},M(eD),function(e){function t(e,o){var n;return(0,S.Z)(this,t),(n=(0,w.Z)(this,(0,C.Z)(t).call(this,e,o))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},n._onScroll=n._onScroll.bind((0,x.Z)(n)),n}return(0,R.Z)(t,e),(0,y.Z)(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.clientHeight,n=t.clientWidth,i=t.scrollHeight,r=t.scrollLeft,l=t.scrollTop,s=t.scrollWidth;return e({clientHeight:o,clientWidth:n,onScroll:this._onScroll,scrollHeight:i,scrollLeft:r,scrollTop:l,scrollWidth:s})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.clientWidth,n=e.scrollHeight,i=e.scrollLeft,r=e.scrollTop,l=e.scrollWidth;this.setState({clientHeight:t,clientWidth:o,scrollHeight:n,scrollLeft:i,scrollTop:r,scrollWidth:l})}}]),t}(z.PureComponent).propTypes={},eW.propTypes=null;var eH={ASC:"ASC",DESC:"DESC"};function eF(e){var t=e.sortDirection,o=P("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===eH.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===eH.DESC});return z.createElement("svg",{className:o,width:18,height:18,viewBox:"0 0 24 24"},t===eH.ASC?z.createElement("path",{d:"M7 14l5-5 5 5z"}):z.createElement("path",{d:"M7 10l5 5 5-5z"}),z.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function eN(e){var t=e.dataKey,o=e.label,n=e.sortBy,i=e.sortDirection,r=[z.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof o?o:null},o)];return n===t&&r.push(z.createElement(eF,{key:"SortIndicator",sortDirection:i})),r}function ej(e){var t=e.className,o=e.columns,n=e.index,i=e.key,r=e.onRowClick,l=e.onRowDoubleClick,s=e.onRowMouseOut,a=e.onRowMouseOver,c=e.onRowRightClick,d=e.rowData,u=e.style,h={"aria-rowindex":n+1};return(r||l||s||a||c)&&(h["aria-label"]="row",h.tabIndex=0,r&&(h.onClick=function(e){return r({event:e,index:n,rowData:d})}),l&&(h.onDoubleClick=function(e){return l({event:e,index:n,rowData:d})}),s&&(h.onMouseOut=function(e){return s({event:e,index:n,rowData:d})}),a&&(h.onMouseOver=function(e){return a({event:e,index:n,rowData:d})}),c&&(h.onContextMenu=function(e){return c({event:e,index:n,rowData:d})})),z.createElement("div",(0,O.Z)({},h,{className:t,key:i,role:"row",style:u}),o)}eF.propTypes={},eN.propTypes=null,ej.propTypes=null;var eU=function(e){function t(){return(0,S.Z)(this,t),(0,w.Z)(this,(0,C.Z)(t).apply(this,arguments))}return(0,R.Z)(t,e),t}(z.Component);function eB(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function e$(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.recomputeGridSize({rowIndex:void 0===o?0:o,columnIndex:void 0===t?0:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=(0,eo.findDOMNode)(this.Grid),t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,o=t.children,n=t.className,i=t.disableHeader,r=t.gridClassName,l=t.gridStyle,s=t.headerHeight,a=t.headerRowRenderer,c=t.height,d=t.id,u=t.noRowsRenderer,h=t.rowClassName,f=t.rowStyle,p=t.scrollToIndex,m=t.style,g=t.width,v=this.state.scrollbarWidth,_=i?c:c-s,S="function"==typeof h?h({index:-1}):h,y="function"==typeof f?f({index:-1}):f;return this._cachedColumnStyles=[],z.Children.toArray(o).forEach(function(t,o){var n=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[o]=e$({overflow:"hidden"},n)}),z.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":z.Children.toArray(o).length,"aria-rowcount":this.props.rowCount,className:P("ReactVirtualized__Table",n),id:d,role:"grid",style:m},!i&&a({className:P("ReactVirtualized__Table__headerRow",S),columns:this._getHeaderColumns(),style:e$({height:s,overflow:"hidden",paddingRight:v,width:g},y)}),z.createElement(K,(0,O.Z)({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:P("ReactVirtualized__Table__Grid",r),cellRenderer:this._createRow,columnWidth:g,columnCount:1,height:_,id:void 0,noContentRenderer:u,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:v,scrollToRow:p,style:e$({},l,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,o=e.columnIndex,n=e.isScrolling,i=e.parent,r=e.rowData,l=e.rowIndex,s=this.props.onColumnClick,a=t.props,c=a.cellDataGetter,d=a.cellRenderer,u=a.className,h=a.columnData,f=a.dataKey,p=a.id,m=d({cellData:c({columnData:h,dataKey:f,rowData:r}),columnData:h,columnIndex:o,dataKey:f,isScrolling:n,parent:i,rowData:r,rowIndex:l}),g=this._cachedColumnStyles[o],v="string"==typeof m?m:null;return z.createElement("div",{"aria-colindex":o+1,"aria-describedby":p,className:P("ReactVirtualized__Table__rowColumn",u),key:"Row"+l+"-Col"+o,onClick:function(e){s&&s({columnData:h,dataKey:f,event:e})},role:"gridcell",style:g,title:v},m)}},{key:"_createHeader",value:function(e){var t,o,n,i,r,l=e.column,s=e.index,a=this.props,c=a.headerClassName,d=a.headerStyle,u=a.onHeaderClick,h=a.sort,f=a.sortBy,p=a.sortDirection,m=l.props,g=m.columnData,v=m.dataKey,_=m.defaultSortDirection,S=m.disableSort,y=m.headerRenderer,w=m.id,C=m.label,x=!S&&h,R=P("ReactVirtualized__Table__headerColumn",c,l.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:x}),b=this._getFlexStyleForColumn(l,e$({},d,{},l.props.headerStyle)),T=y({columnData:g,dataKey:v,disableSort:S,label:C,sortBy:f,sortDirection:p});if(x||u){var I=f!==v?_:p===eH.DESC?eH.ASC:eH.DESC,Z=function(e){x&&h({defaultSortDirection:_,event:e,sortBy:v,sortDirection:I}),u&&u({columnData:g,dataKey:v,event:e})};r=l.props["aria-label"]||C||v,i="none",n=0,t=Z,o=function(e){("Enter"===e.key||" "===e.key)&&Z(e)}}return f===v&&(i=p===eH.ASC?"ascending":"descending"),z.createElement("div",{"aria-label":r,"aria-sort":i,className:R,id:w,key:"Header-Col"+s,onClick:t,onKeyDown:o,role:"columnheader",style:b,tabIndex:n},T)}},{key:"_createRow",value:function(e){var t=this,o=e.rowIndex,n=e.isScrolling,i=e.key,r=e.parent,l=e.style,s=this.props,a=s.children,c=s.onRowClick,d=s.onRowDoubleClick,u=s.onRowRightClick,h=s.onRowMouseOver,f=s.onRowMouseOut,p=s.rowClassName,m=s.rowGetter,g=s.rowRenderer,v=s.rowStyle,_=this.state.scrollbarWidth,S="function"==typeof p?p({index:o}):p,y="function"==typeof v?v({index:o}):v,w=m({index:o}),C=z.Children.toArray(a).map(function(e,i){return t._createColumn({column:e,columnIndex:i,isScrolling:n,parent:r,rowData:w,rowIndex:o,scrollbarWidth:_})}),x=P("ReactVirtualized__Table__row",S),R=e$({},l,{height:this._getRowHeight(o),overflow:"hidden",paddingRight:_},y);return g({className:x,columns:C,index:o,isScrolling:n,key:i,onRowClick:c,onRowDoubleClick:d,onRowRightClick:u,onRowMouseOver:h,onRowMouseOut:f,rowData:w,style:R})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),n=e$({},t,{flex:o,msFlex:o,WebkitFlex:o});return e.props.maxWidth&&(n.maxWidth=e.props.maxWidth),e.props.minWidth&&(n.minWidth=e.props.minWidth),n}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,o=t.children;return(t.disableHeader?[]:z.Children.toArray(o)).map(function(t,o){return e._createHeader({column:t,index:o})})}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"==typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.scrollHeight,n=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:o,scrollTop:n})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,o=e.rowOverscanStopIndex,n=e.rowStartIndex,i=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:o,startIndex:n,stopIndex:i})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(z.PureComponent);(0,b.Z)(eV,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:X,overscanRowCount:10,rowRenderer:ej,headerRowRenderer:eW,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),eV.propTypes={};var eq=[],eK=null,eX=null;function eY(){eX&&(eX=null,document.body&&null!=eK&&(document.body.style.pointerEvents=eK),eK=null)}function eQ(){eY(),eq.forEach(function(e){return e.__resetIsScrolling()})}function eJ(e){var t;e.currentTarget===window&&null==eK&&document.body&&(eK=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),eX&&j(eX),t=0,eq.forEach(function(e){t=Math.max(t,e.props.scrollingResetTimeInterval)}),eX=U(eQ,t),eq.forEach(function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()})}function e0(e,t){eq.some(function(e){return e.props.scrollElement===t})||t.addEventListener("scroll",eJ),eq.push(e)}function e1(e,t){!(eq=eq.filter(function(t){return t!==e})).length&&(t.removeEventListener("scroll",eJ),eX&&(j(eX),eY()))}var e3=function(e){return e===window},e2=function(e){return e.getBoundingClientRect()};function e4(e,t){if(!e)return{height:t.serverHeight,width:t.serverWidth};if(!e3(e))return e2(e);var o=window,n=o.innerHeight,i=o.innerWidth;return{height:"number"==typeof n?n:0,width:"number"==typeof i?i:0}}function e6(e){return e3(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}function e9(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}var e8=function(){return"undefined"!=typeof window?window:void 0},e5=(_=v=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,o=this.state,n=o.height,i=o.width,r=this._child||eo.findDOMNode(this);if(r instanceof Element&&e){var l=function(e,t){if(e3(t)&&document.documentElement){var o=document.documentElement,n=e2(e),i=e2(o);return{top:n.top-i.top,left:n.left-i.left}}var r=e6(t),l=e2(e),s=e2(t);return{top:l.top+r.top-s.top,left:l.left+r.left-s.left}}(r,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var s=e4(e,this.props);(n!==s.height||i!==s.width)&&(this.setState({height:s.height,width:s.width}),t({height:s.height,width:s.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(e0(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var o=this.props.scrollElement,n=e.scrollElement;n!==o&&null!=n&&null!=o&&(this.updatePosition(o),e1(this,n),e0(this,o),this._unregisterResizeListener(n),this._registerResizeListener(o))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(e1(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.isScrolling,n=t.scrollTop,i=t.scrollLeft,r=t.height,l=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:r,isScrolling:o,scrollLeft:i,scrollTop:n,width:l})}}]),t}(z.PureComponent),(0,b.Z)(v,"propTypes",null),_);(0,b.Z)(e5,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:e8(),serverHeight:0,serverWidth:0})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6101-7afbe8539d81ebe1.js b/dbgpt/app/static/web/_next/static/chunks/6101-7afbe8539d81ebe1.js deleted file mode 100644 index 2a08f39f3..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/6101-7afbe8539d81ebe1.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6101],{59510:function(e,r,a){a.d(r,{ZP:function(){return rk}});var t=a(42096),n=a(79760),l=a(38497),o=a(96469),s={},i=(0,l.createContext)(s),c=(e,r)=>(0,t.Z)({},e,r),v=()=>(0,l.useContext)(i),u=(0,l.createContext)(()=>{});function d(){return(0,l.useContext)(u)}u.displayName="JVR.DispatchShowTools";var p=e=>{var{initial:r,dispatch:a,children:t}=e;return(0,o.jsx)(i.Provider,{value:r,children:(0,o.jsx)(u.Provider,{value:a,children:t})})};p.displayName="JVR.ShowTools";var y={},m=(0,l.createContext)(y),f=(e,r)=>(0,t.Z)({},e,r),j=()=>(0,l.useContext)(m),N=(0,l.createContext)(()=>{});N.displayName="JVR.DispatchExpands";var h=e=>{var{initial:r,dispatch:a,children:t}=e;return(0,o.jsx)(m.Provider,{value:r,children:(0,o.jsx)(N.Provider,{value:a,children:t})})};h.displayName="JVR.Expands";var w={Str:{as:"span","data-type":"string",style:{color:"var(--w-rjv-type-string-color, #cb4b16)"},className:"w-rjv-type",children:"string"},Url:{as:"a",style:{color:"var(--w-rjv-type-url-color, #0969da)"},"data-type":"url",className:"w-rjv-type",children:"url"},Undefined:{style:{color:"var(--w-rjv-type-undefined-color, #586e75)"},as:"span","data-type":"undefined",className:"w-rjv-type",children:"undefined"},Null:{style:{color:"var(--w-rjv-type-null-color, #d33682)"},as:"span","data-type":"null",className:"w-rjv-type",children:"null"},Map:{style:{color:"var(--w-rjv-type-map-color, #268bd2)",marginRight:3},as:"span","data-type":"map",className:"w-rjv-type",children:"Map"},Nan:{style:{color:"var(--w-rjv-type-nan-color, #859900)"},as:"span","data-type":"nan",className:"w-rjv-type",children:"NaN"},Bigint:{style:{color:"var(--w-rjv-type-bigint-color, #268bd2)"},as:"span","data-type":"bigint",className:"w-rjv-type",children:"bigint"},Int:{style:{color:"var(--w-rjv-type-int-color, #268bd2)"},as:"span","data-type":"int",className:"w-rjv-type",children:"int"},Set:{style:{color:"var(--w-rjv-type-set-color, #268bd2)",marginRight:3},as:"span","data-type":"set",className:"w-rjv-type",children:"Set"},Float:{style:{color:"var(--w-rjv-type-float-color, #859900)"},as:"span","data-type":"float",className:"w-rjv-type",children:"float"},True:{style:{color:"var(--w-rjv-type-boolean-color, #2aa198)"},as:"span","data-type":"bool",className:"w-rjv-type",children:"bool"},False:{style:{color:"var(--w-rjv-type-boolean-color, #2aa198)"},as:"span","data-type":"bool",className:"w-rjv-type",children:"bool"},Date:{style:{color:"var(--w-rjv-type-date-color, #268bd2)"},as:"span","data-type":"date",className:"w-rjv-type",children:"date"}},x=(0,l.createContext)(w),Z=(e,r)=>(0,t.Z)({},e,r),g=()=>(0,l.useContext)(x),b=(0,l.createContext)(()=>{});function C(e){var{initial:r,dispatch:a,children:t}=e;return(0,o.jsx)(x.Provider,{value:r,children:(0,o.jsx)(b.Provider,{value:a,children:t})})}b.displayName="JVR.DispatchTypes",C.displayName="JVR.Types";var R=["style"];function V(e){var{style:r}=e,a=(0,n.Z)(e,R),l=(0,t.Z)({cursor:"pointer",height:"1em",width:"1em",userSelect:"none",display:"inline-flex"},r);return(0,o.jsx)("svg",(0,t.Z)({viewBox:"0 0 24 24",fill:"var(--w-rjv-arrow-color, currentColor)",style:l},a,{children:(0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"})}))}V.displayName="JVR.TriangleArrow";var L={Arrow:{as:"span",className:"w-rjv-arrow",style:{transform:"rotate(0deg)",transition:"all 0.3s"},children:(0,o.jsx)(V,{})},Colon:{as:"span",style:{color:"var(--w-rjv-colon-color, var(--w-rjv-color))",marginLeft:0,marginRight:2},className:"w-rjv-colon",children:":"},Quote:{as:"span",style:{color:"var(--w-rjv-quotes-color, #236a7c)"},className:"w-rjv-quotes",children:'"'},ValueQuote:{as:"span",style:{color:"var(--w-rjv-quotes-string-color, #cb4b16)"},className:"w-rjv-quotes",children:'"'},BracketsLeft:{as:"span",style:{color:"var(--w-rjv-brackets-color, #236a7c)"},className:"w-rjv-brackets-start",children:"["},BracketsRight:{as:"span",style:{color:"var(--w-rjv-brackets-color, #236a7c)"},className:"w-rjv-brackets-end",children:"]"},BraceLeft:{as:"span",style:{color:"var(--w-rjv-curlybraces-color, #236a7c)"},className:"w-rjv-curlybraces-start",children:"{"},BraceRight:{as:"span",style:{color:"var(--w-rjv-curlybraces-color, #236a7c)"},className:"w-rjv-curlybraces-end",children:"}"}},k=(0,l.createContext)(L),J=(e,r)=>(0,t.Z)({},e,r),S=()=>(0,l.useContext)(k),E=(0,l.createContext)(()=>{});E.displayName="JVR.DispatchSymbols";var I=e=>{var{initial:r,dispatch:a,children:t}=e;return(0,o.jsx)(k.Provider,{value:r,children:(0,o.jsx)(E.Provider,{value:a,children:t})})};I.displayName="JVR.Symbols";var $={Copied:{className:"w-rjv-copied",style:{height:"1em",width:"1em",cursor:"pointer",verticalAlign:"middle",marginLeft:5}},CountInfo:{as:"span",className:"w-rjv-object-size",style:{color:"var(--w-rjv-info-color, #0000004d)",paddingLeft:8,fontStyle:"italic"}},CountInfoExtra:{as:"span",className:"w-rjv-object-extra",style:{paddingLeft:8}},Ellipsis:{as:"span",style:{cursor:"pointer",color:"var(--w-rjv-ellipsis-color, #cb4b16)",userSelect:"none"},className:"w-rjv-ellipsis",children:"..."},Row:{as:"div",className:"w-rjv-line"},KeyName:{as:"span",className:"w-rjv-object-key"}},B=(0,l.createContext)($),M=(e,r)=>(0,t.Z)({},e,r),T=()=>(0,l.useContext)(B),O=(0,l.createContext)(()=>{});O.displayName="JVR.DispatchSection";var F=e=>{var{initial:r,dispatch:a,children:t}=e;return(0,o.jsx)(B.Provider,{value:r,children:(0,o.jsx)(O.Provider,{value:a,children:t})})};F.displayName="JVR.Section";var A={objectSortKeys:!1,indentWidth:15},D=(0,l.createContext)(A);D.displayName="JVR.Context";var P=(0,l.createContext)(()=>{});function K(e,r){return(0,t.Z)({},e,r)}P.displayName="JVR.DispatchContext";var Q=()=>(0,l.useContext)(D),U=e=>{var{children:r,initialState:a,initialTypes:n}=e,[i,v]=(0,l.useReducer)(K,Object.assign({},A,a)),[u,d]=(0,l.useReducer)(c,s),[m,j]=(0,l.useReducer)(f,y),[N,x]=(0,l.useReducer)(Z,w),[g,b]=(0,l.useReducer)(J,L),[R,V]=(0,l.useReducer)(M,$);return(0,l.useEffect)(()=>v((0,t.Z)({},a)),[a]),(0,o.jsx)(D.Provider,{value:i,children:(0,o.jsx)(P.Provider,{value:v,children:(0,o.jsx)(p,{initial:u,dispatch:d,children:(0,o.jsx)(h,{initial:m,dispatch:j,children:(0,o.jsx)(C,{initial:(0,t.Z)({},N,n),dispatch:x,children:(0,o.jsx)(I,{initial:g,dispatch:b,children:(0,o.jsx)(F,{initial:R,dispatch:V,children:r})})})})})})})};U.displayName="JVR.Provider";var z=a(8874),H=["isNumber"],q=["as","render"],W=["as","render"],_=["as","render"],G=["as","style","render"],X=["as","render"],Y=["as","render"],ee=["as","render"],er=["as","render"],ea=e=>{var{Quote:r={}}=S(),{isNumber:a}=e,l=(0,n.Z)(e,H);if(a)return null;var{as:s,render:i}=r,c=(0,n.Z)(r,q),v=s||"span",u=(0,t.Z)({},l,c);return i&&"function"==typeof i&&i(u)||(0,o.jsx)(v,(0,t.Z)({},u))};ea.displayName="JVR.Quote";var et=e=>{var{ValueQuote:r={}}=S(),a=(0,t.Z)({},((0,z.Z)(e),e)),{as:l,render:s}=r,i=(0,n.Z)(r,W),c=l||"span",v=(0,t.Z)({},a,i);return s&&"function"==typeof s&&s(v)||(0,o.jsx)(c,(0,t.Z)({},v))};et.displayName="JVR.ValueQuote";var en=()=>{var{Colon:e={}}=S(),{as:r,render:a}=e,l=(0,n.Z)(e,_),s=r||"span";return a&&"function"==typeof a&&a(l)||(0,o.jsx)(s,(0,t.Z)({},l))};en.displayName="JVR.Colon";var el=e=>{var{Arrow:r={}}=S(),a=j(),{expandKey:l}=e,s=!!a[l],{as:i,style:c,render:v}=r,u=(0,n.Z)(r,G),d=i||"span";return v&&"function"==typeof v&&v((0,t.Z)({},u,{"data-expanded":s,style:(0,t.Z)({},c,e.style)}))||(0,o.jsx)(d,(0,t.Z)({},u,{style:(0,t.Z)({},c,e.style)}))};el.displayName="JVR.Arrow";var eo=e=>{var{isBrackets:r}=e,{BracketsLeft:a={},BraceLeft:l={}}=S();if(r){var{as:s,render:i}=a,c=(0,n.Z)(a,X),v=s||"span";return i&&"function"==typeof i&&i(c)||(0,o.jsx)(v,(0,t.Z)({},c))}var{as:u,render:d}=l,p=(0,n.Z)(l,Y),y=u||"span";return d&&"function"==typeof d&&d(p)||(0,o.jsx)(y,(0,t.Z)({},p))};eo.displayName="JVR.BracketsOpen";var es=e=>{var{isBrackets:r,isVisiable:a}=e;if(!a)return null;var{BracketsRight:l={},BraceRight:s={}}=S();if(r){var{as:i,render:c}=l,v=(0,n.Z)(l,ee),u=i||"span";return c&&"function"==typeof c&&c(v)||(0,o.jsx)(u,(0,t.Z)({},v))}var{as:d,render:p}=s,y=(0,n.Z)(s,er),m=d||"span";return p&&"function"==typeof p&&p(y)||(0,o.jsx)(m,(0,t.Z)({},y))};es.displayName="JVR.BracketsClose";var ei=e=>{var r,{value:a,expandKey:t,level:n}=e,l=j(),s=Array.isArray(a),{collapsed:i}=Q(),c=a instanceof Set,v=null!=(r=l[t])?r:"boolean"==typeof i?i:"number"==typeof i&&n>i,u=Object.keys(a).length;return v||0===u?null:(0,o.jsx)("div",{style:{paddingLeft:4},children:(0,o.jsx)(es,{isBrackets:s||c,isVisiable:!0})})};ei.displayName="JVR.NestedClose";var ec=["as","render"],ev=["as","render"],eu=["as","render"],ed=["as","render"],ep=["as","render"],ey=["as","render"],em=["as","render"],ef=["as","render"],ej=["as","render"],eN=["as","render"],eh=["as","render"],ew=["as","render"],ex=["as","render"],eZ=e=>{if(void 0===e)return"0n";if("string"==typeof e)try{e=BigInt(e)}catch(e){return"0n"}return e?e.toString()+"n":"0n"},eg=e=>{var{value:r,keyName:a}=e,{Set:l={},displayDataTypes:s}=g();if(!(r instanceof Set)||!s)return null;var{as:i,render:c}=l,v=(0,n.Z)(l,ec),u=c&&"function"==typeof c&&c(v,{type:"type",value:r,keyName:a});if(u)return u;var d=i||"span";return(0,o.jsx)(d,(0,t.Z)({},v))};eg.displayName="JVR.SetComp";var eb=e=>{var{value:r,keyName:a}=e,{Map:l={},displayDataTypes:s}=g();if(!(r instanceof Map)||!s)return null;var{as:i,render:c}=l,v=(0,n.Z)(l,ev),u=c&&"function"==typeof c&&c(v,{type:"type",value:r,keyName:a});if(u)return u;var d=i||"span";return(0,o.jsx)(d,(0,t.Z)({},v))};eb.displayName="JVR.MapComp";var eC={opacity:.75,paddingRight:4},eR=e=>{var{children:r="",keyName:a}=e,{Str:s={},displayDataTypes:i}=g(),{shortenTextAfterLength:c=30}=Q(),{as:v,render:u}=s,d=(0,n.Z)(s,eu),[p,y]=(0,l.useState)(c&&r.length>c);(0,l.useEffect)(()=>y(c&&r.length>c),[c]);var m=v||"span",f=(0,t.Z)({},eC,s.style||{});c>0&&(d.style=(0,t.Z)({},d.style,{cursor:r.length<=c?"initial":"pointer"}),r.length>c&&(d.onClick=()=>{y(!p)}));var j=p?r.slice(0,c)+"...":r,N=u&&"function"==typeof u,h=N&&u((0,t.Z)({},d,{style:f}),{type:"type",value:r,keyName:a}),w=N&&u((0,t.Z)({},d,{children:j,className:"w-rjv-value"}),{type:"value",value:r,keyName:a});return(0,o.jsxs)(l.Fragment,{children:[i&&(h||(0,o.jsx)(m,(0,t.Z)({},d,{style:f}))),w||(0,o.jsxs)(l.Fragment,{children:[(0,o.jsx)(et,{}),(0,o.jsx)(m,(0,t.Z)({},d,{className:"w-rjv-value",children:j})),(0,o.jsx)(et,{})]})]})};eR.displayName="JVR.TypeString";var eV=e=>{var{children:r,keyName:a}=e,{True:s={},displayDataTypes:i}=g(),{as:c,render:v}=s,u=(0,n.Z)(s,ed),d=c||"span",p=(0,t.Z)({},eC,s.style||{}),y=v&&"function"==typeof v,m=y&&v((0,t.Z)({},u,{style:p}),{type:"type",value:r,keyName:a}),f=y&&v((0,t.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:a});return(0,o.jsxs)(l.Fragment,{children:[i&&(m||(0,o.jsx)(d,(0,t.Z)({},u,{style:p}))),f||(0,o.jsx)(d,(0,t.Z)({},u,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};eV.displayName="JVR.TypeTrue";var eL=e=>{var{children:r,keyName:a}=e,{False:s={},displayDataTypes:i}=g(),{as:c,render:v}=s,u=(0,n.Z)(s,ep),d=c||"span",p=(0,t.Z)({},eC,s.style||{}),y=v&&"function"==typeof v,m=y&&v((0,t.Z)({},u,{style:p}),{type:"type",value:r,keyName:a}),f=y&&v((0,t.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:a});return(0,o.jsxs)(l.Fragment,{children:[i&&(m||(0,o.jsx)(d,(0,t.Z)({},u,{style:p}))),f||(0,o.jsx)(d,(0,t.Z)({},u,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};eL.displayName="JVR.TypeFalse";var ek=e=>{var{children:r,keyName:a}=e,{Float:s={},displayDataTypes:i}=g(),{as:c,render:v}=s,u=(0,n.Z)(s,ey),d=c||"span",p=(0,t.Z)({},eC,s.style||{}),y=v&&"function"==typeof v,m=y&&v((0,t.Z)({},u,{style:p}),{type:"type",value:r,keyName:a}),f=y&&v((0,t.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:a});return(0,o.jsxs)(l.Fragment,{children:[i&&(m||(0,o.jsx)(d,(0,t.Z)({},u,{style:p}))),f||(0,o.jsx)(d,(0,t.Z)({},u,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};ek.displayName="JVR.TypeFloat";var eJ=e=>{var{children:r,keyName:a}=e,{Int:s={},displayDataTypes:i}=g(),{as:c,render:v}=s,u=(0,n.Z)(s,em),d=c||"span",p=(0,t.Z)({},eC,s.style||{}),y=v&&"function"==typeof v,m=y&&v((0,t.Z)({},u,{style:p}),{type:"type",value:r,keyName:a}),f=y&&v((0,t.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:a});return(0,o.jsxs)(l.Fragment,{children:[i&&(m||(0,o.jsx)(d,(0,t.Z)({},u,{style:p}))),f||(0,o.jsx)(d,(0,t.Z)({},u,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};eJ.displayName="JVR.TypeInt";var eS=e=>{var{children:r,keyName:a}=e,{Bigint:s={},displayDataTypes:i}=g(),{as:c,render:v}=s,u=(0,n.Z)(s,ef),d=c||"span",p=(0,t.Z)({},eC,s.style||{}),y=v&&"function"==typeof v,m=y&&v((0,t.Z)({},u,{style:p}),{type:"type",value:r,keyName:a}),f=y&&v((0,t.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:a});return(0,o.jsxs)(l.Fragment,{children:[i&&(m||(0,o.jsx)(d,(0,t.Z)({},u,{style:p}))),f||(0,o.jsx)(d,(0,t.Z)({},u,{className:"w-rjv-value",children:eZ(null==r?void 0:r.toString())}))]})};eS.displayName="JVR.TypeFloat";var eE=e=>{var{children:r,keyName:a}=e,{Url:s={},displayDataTypes:i}=g(),{as:c,render:v}=s,u=(0,n.Z)(s,ej),d=c||"span",p=(0,t.Z)({},eC,s.style),y=v&&"function"==typeof v,m=y&&v((0,t.Z)({},u,{style:p}),{type:"type",value:r,keyName:a}),f=y&&v((0,t.Z)({},u,{children:null==r?void 0:r.href,className:"w-rjv-value"}),{type:"value",value:r,keyName:a});return(0,o.jsxs)(l.Fragment,{children:[i&&(m||(0,o.jsx)(d,(0,t.Z)({},u,{style:p}))),f||(0,o.jsxs)("a",(0,t.Z)({href:null==r?void 0:r.href,target:"_blank"},u,{className:"w-rjv-value",children:[(0,o.jsx)(et,{}),null==r?void 0:r.href,(0,o.jsx)(et,{})]}))]})};eE.displayName="JVR.TypeUrl";var eI=e=>{var{children:r,keyName:a}=e,{Date:s={},displayDataTypes:i}=g(),{as:c,render:v}=s,u=(0,n.Z)(s,eN),d=c||"span",p=(0,t.Z)({},eC,s.style||{}),y=v&&"function"==typeof v,m=y&&v((0,t.Z)({},u,{style:p}),{type:"type",value:r,keyName:a}),f=r instanceof Date?r.toLocaleString():r,j=y&&v((0,t.Z)({},u,{children:f,className:"w-rjv-value"}),{type:"value",value:r,keyName:a});return(0,o.jsxs)(l.Fragment,{children:[i&&(m||(0,o.jsx)(d,(0,t.Z)({},u,{style:p}))),j||(0,o.jsx)(d,(0,t.Z)({},u,{className:"w-rjv-value",children:f}))]})};eI.displayName="JVR.TypeDate";var e$=e=>{var{children:r,keyName:a}=e,{Undefined:s={},displayDataTypes:i}=g(),{as:c,render:v}=s,u=(0,n.Z)(s,eh),d=c||"span",p=(0,t.Z)({},eC,s.style||{}),y=v&&"function"==typeof v,m=y&&v((0,t.Z)({},u,{style:p}),{type:"type",value:r,keyName:a}),f=y&&v((0,t.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:a});return(0,o.jsxs)(l.Fragment,{children:[i&&(m||(0,o.jsx)(d,(0,t.Z)({},u,{style:p}))),f]})};e$.displayName="JVR.TypeUndefined";var eB=e=>{var{children:r,keyName:a}=e,{Null:s={},displayDataTypes:i}=g(),{as:c,render:v}=s,u=(0,n.Z)(s,ew),d=c||"span",p=(0,t.Z)({},eC,s.style||{}),y=v&&"function"==typeof v,m=y&&v((0,t.Z)({},u,{style:p}),{type:"type",value:r,keyName:a}),f=y&&v((0,t.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:a});return(0,o.jsxs)(l.Fragment,{children:[i&&(m||(0,o.jsx)(d,(0,t.Z)({},u,{style:p}))),f]})};eB.displayName="JVR.TypeNull";var eM=e=>{var{children:r,keyName:a}=e,{Nan:s={},displayDataTypes:i}=g(),{as:c,render:v}=s,u=(0,n.Z)(s,ex),d=c||"span",p=(0,t.Z)({},eC,s.style||{}),y=v&&"function"==typeof v,m=y&&v((0,t.Z)({},u,{style:p}),{type:"type",value:r,keyName:a}),f=y&&v((0,t.Z)({},u,{children:null==r?void 0:r.toString(),className:"w-rjv-value"}),{type:"value",value:r,keyName:a});return(0,o.jsxs)(l.Fragment,{children:[i&&(m||(0,o.jsx)(d,(0,t.Z)({},u,{style:p}))),f]})};eM.displayName="JVR.TypeNan";var eT=e=>Number(e)===e&&e%1!=0||isNaN(e),eO=e=>{var{value:r,keyName:a}=e,n={keyName:a};return r instanceof URL?(0,o.jsx)(eE,(0,t.Z)({},n,{children:r})):"string"==typeof r?(0,o.jsx)(eR,(0,t.Z)({},n,{children:r})):!0===r?(0,o.jsx)(eV,(0,t.Z)({},n,{children:r})):!1===r?(0,o.jsx)(eL,(0,t.Z)({},n,{children:r})):null===r?(0,o.jsx)(eB,(0,t.Z)({},n,{children:r})):void 0===r?(0,o.jsx)(e$,(0,t.Z)({},n,{children:r})):r instanceof Date?(0,o.jsx)(eI,(0,t.Z)({},n,{children:r})):"number"==typeof r&&isNaN(r)?(0,o.jsx)(eM,(0,t.Z)({},n,{children:r})):"number"==typeof r&&eT(r)?(0,o.jsx)(ek,(0,t.Z)({},n,{children:r})):"bigint"==typeof r?(0,o.jsx)(eS,(0,t.Z)({},n,{children:r})):"number"==typeof r?(0,o.jsx)(eJ,(0,t.Z)({},n,{children:r})):null};function eF(e,r,a){var n=(0,l.useContext)(E),o=[e.className,r.className].filter(Boolean).join(" "),s=(0,t.Z)({},e,r,{className:o,style:(0,t.Z)({},e.style,r.style),children:r.children||e.children});(0,l.useEffect)(()=>n({[a]:s}),[r])}function eA(e,r,a){var n=(0,l.useContext)(b),o=[e.className,r.className].filter(Boolean).join(" "),s=(0,t.Z)({},e,r,{className:o,style:(0,t.Z)({},e.style,r.style),children:r.children||e.children});(0,l.useEffect)(()=>n({[a]:s}),[r])}function eD(e,r,a){var n=(0,l.useContext)(O),o=[e.className,r.className].filter(Boolean).join(" "),s=(0,t.Z)({},e,r,{className:o,style:(0,t.Z)({},e.style,r.style),children:r.children||e.children});(0,l.useEffect)(()=>n({[a]:s}),[r])}eO.displayName="JVR.Value";var eP=["as","render"],eK=e=>{var{KeyName:r={}}=T();return eD(r,e,"KeyName"),null};eK.displayName="JVR.KeyName";var eQ=e=>{var{children:r,value:a,parentValue:l,keyName:s,keys:i}=e,c="number"==typeof r,{KeyName:v={}}=T(),{as:u,render:d}=v,p=(0,n.Z)(v,eP);p.style=(0,t.Z)({},p.style,{color:c?"var(--w-rjv-key-number, #268bd2)":"var(--w-rjv-key-string, #002b36)"});var y=u||"span";return d&&"function"==typeof d&&d((0,t.Z)({},p,{children:r}),{value:a,parentValue:l,keyName:s,keys:i||(s?[s]:[])})||(0,o.jsx)(y,(0,t.Z)({},p,{children:r}))};eQ.displayName="JVR.KeyNameComp";var eU=["children","value","parentValue","keyName","keys"],ez=["as","render","children"],eH=e=>{var{Row:r={}}=T();return eD(r,e,"Row"),null};eH.displayName="JVR.Row";var eq=e=>{var{children:r,value:a,parentValue:l,keyName:s,keys:i}=e,c=(0,n.Z)(e,eU),{Row:v={}}=T(),{as:u,render:d}=v,p=(0,n.Z)(v,ez),y=u||"div";return d&&"function"==typeof d&&d((0,t.Z)({},c,p,{children:r}),{value:a,keyName:s,parentValue:l,keys:i})||(0,o.jsx)(y,(0,t.Z)({},c,p,{children:r}))};eq.displayName="JVR.RowComp";var eW=["keyName","value","parentValue","expandKey","keys"],e_=["as","render"],eG=e=>{var{keyName:r,value:a,parentValue:s,expandKey:i,keys:c}=e,u=(0,n.Z)(e,eW),{onCopied:d,enableClipboard:p}=Q(),y=v()[i],[m,f]=(0,l.useState)(!1),{Copied:j={}}=T();if(!1===p||!y)return null;var N={style:{display:"inline-flex"},fill:m?"var(--w-rjv-copied-success-color, #28a745)":"var(--w-rjv-copied-color, currentColor)",onClick:e=>{e.stopPropagation();var r="";r="number"==typeof a&&a===1/0?"Infinity":"number"==typeof a&&isNaN(a)?"NaN":"bigint"==typeof a?eZ(a):a instanceof Date?a.toLocaleString():JSON.stringify(a,(e,r)=>"bigint"==typeof r?eZ(r):r,2),d&&d(r,a),f(!0),(navigator.clipboard||{writeText:e=>new Promise((r,a)=>{var t=document.createElement("textarea");t.style.position="absolute",t.style.opacity="0",t.style.left="-99999999px",t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy")?r():a(),t.remove()})}).writeText(r).then(()=>{var e=setTimeout(()=>{f(!1),clearTimeout(e)},3e3)}).catch(e=>{})}},{render:h}=j,w=(0,n.Z)(j,e_),x=(0,t.Z)({},w,u,N,{style:(0,t.Z)({},w.style,u.style,N.style)});return h&&"function"==typeof h&&h((0,t.Z)({},x,{"data-copied":m}),{value:a,keyName:r,keys:c,parentValue:s})||(m?(0,o.jsx)("svg",(0,t.Z)({viewBox:"0 0 32 36"},x,{children:(0,o.jsx)("path",{d:"M27.5,33 L2.5,33 L2.5,12.5 L27.5,12.5 L27.5,15.2249049 C29.1403264,13.8627542 29.9736597,13.1778155 30,13.1700887 C30,11.9705278 30,10.0804982 30,7.5 C30,6.1 28.9,5 27.5,5 L20,5 C20,2.2 17.8,0 15,0 C12.2,0 10,2.2 10,5 L2.5,5 C1.1,5 0,6.1 0,7.5 L0,33 C0,34.4 1.1,36 2.5,36 L27.5,36 C28.9,36 30,34.4 30,33 L30,26.1114493 L27.5,28.4926435 L27.5,33 Z M7.5,7.5 L10,7.5 C10,7.5 12.5,6.4 12.5,5 C12.5,3.6 13.6,2.5 15,2.5 C16.4,2.5 17.5,3.6 17.5,5 C17.5,6.4 18.8,7.5 20,7.5 L22.5,7.5 C22.5,7.5 25,8.6 25,10 L5,10 C5,8.5 6.1,7.5 7.5,7.5 Z M5,27.5 L10,27.5 L10,25 L5,25 L5,27.5 Z M28.5589286,16 L32,19.6 L21.0160714,30.5382252 L13.5303571,24.2571429 L17.1303571,20.6571429 L21.0160714,24.5428571 L28.5589286,16 Z M17.5,15 L5,15 L5,17.5 L17.5,17.5 L17.5,15 Z M10,20 L5,20 L5,22.5 L10,22.5 L10,20 Z"})})):(0,o.jsx)("svg",(0,t.Z)({viewBox:"0 0 32 36"},x,{children:(0,o.jsx)("path",{d:"M27.5,33 L2.5,33 L2.5,12.5 L27.5,12.5 L27.5,20 L30,20 L30,7.5 C30,6.1 28.9,5 27.5,5 L20,5 C20,2.2 17.8,0 15,0 C12.2,0 10,2.2 10,5 L2.5,5 C1.1,5 0,6.1 0,7.5 L0,33 C0,34.4 1.1,36 2.5,36 L27.5,36 C28.9,36 30,34.4 30,33 L30,29 L27.5,29 L27.5,33 Z M7.5,7.5 L10,7.5 C10,7.5 12.5,6.4 12.5,5 C12.5,3.6 13.6,2.5 15,2.5 C16.4,2.5 17.5,3.6 17.5,5 C17.5,6.4 18.8,7.5 20,7.5 L22.5,7.5 C22.5,7.5 25,8.6 25,10 L5,10 C5,8.5 6.1,7.5 7.5,7.5 Z M5,27.5 L10,27.5 L10,25 L5,25 L5,27.5 Z M22.5,21.5 L22.5,16.5 L12.5,24 L22.5,31.5 L22.5,26.5 L32,26.5 L32,21.5 L22.5,21.5 Z M17.5,15 L5,15 L5,17.5 L17.5,17.5 L17.5,15 Z M10,20 L5,20 L5,22.5 L10,22.5 L10,20 Z"})})))};eG.displayName="JVR.Copied";var eX=e=>{var r,{value:a,expandKey:t="",level:n,keys:l=[]}=e,s=j(),{objectSortKeys:i,indentWidth:c,collapsed:v}=Q(),u=Array.isArray(a);if(null!=(r=s[t])?r:"boolean"==typeof v?v:"number"==typeof v&&n>v)return null;var d=u?Object.entries(a).map(e=>[Number(e[0]),e[1]]):Object.entries(a);return i&&(d=!0===i?d.sort((e,r)=>{var[a]=e,[t]=r;return"string"==typeof a&&"string"==typeof t?a.localeCompare(t):0}):d.sort((e,r)=>{var[a,t]=e,[n,l]=r;return"string"==typeof a&&"string"==typeof n?i(a,n,t,l):0})),(0,o.jsx)("div",{className:"w-rjv-wrap",style:{borderLeft:"var(--w-rjv-border-left-width, 1px) var(--w-rjv-line-style, solid) var(--w-rjv-line-color, #ebebeb)",paddingLeft:c,marginLeft:6},children:d.map((e,r)=>{var[t,s]=e;return(0,o.jsx)(e0,{parentValue:a,keyName:t,keys:[...l,t],value:s,level:n},r)})})};eX.displayName="JVR.KeyValues";var eY=e=>{var{keyName:r,parentValue:a,keys:t,value:n}=e,{highlightUpdates:s}=Q(),i="number"==typeof r,c=(0,l.useRef)(null);return!function(e){var r,{value:a,highlightUpdates:t,highlightContainer:n}=e,o=(r=(0,l.useRef)(),(0,l.useEffect)(()=>{r.current=a}),r.current),s=(0,l.useMemo)(()=>!!t&&void 0!==o&&(typeof a!=typeof o||("number"==typeof a?!(isNaN(a)&&isNaN(o))&&a!==o:Array.isArray(a)!==Array.isArray(o)||"object"!=typeof a&&"function"!=typeof a&&(a!==o||void 0))),[t,a]);(0,l.useEffect)(()=>{n&&n.current&&s&&"animate"in n.current&&n.current.animate([{backgroundColor:"var(--w-rjv-update-color, #ebcb8b)"},{backgroundColor:""}],{duration:1e3,easing:"ease-in"})},[s,a,n])}({value:n,highlightUpdates:s,highlightContainer:c}),(0,o.jsxs)(l.Fragment,{children:[(0,o.jsxs)("span",{ref:c,children:[(0,o.jsx)(ea,{isNumber:i,"data-placement":"left"}),(0,o.jsx)(eQ,{keyName:r,value:n,keys:t,parentValue:a,children:r}),(0,o.jsx)(ea,{isNumber:i,"data-placement":"right"})]}),(0,o.jsx)(en,{})]})};eY.displayName="JVR.KayName";var e0=e=>{var{keyName:r,value:a,parentValue:n,level:s=0,keys:i=[]}=e,c=d(),v=(0,l.useId)(),u=Array.isArray(a),p=a instanceof Set,y=a instanceof Map,m=a instanceof Date,f=a instanceof URL;if(a&&"object"==typeof a&&!u&&!p&&!y&&!m&&!f||u||p||y){var j=p?Array.from(a):y?Object.fromEntries(a):a;return(0,o.jsx)(rn,{keyName:r,value:j,parentValue:n,initialValue:a,keys:i,level:s+1})}return(0,o.jsxs)(eq,(0,t.Z)({className:"w-rjv-line",value:a,keyName:r,keys:i,parentValue:n},{onMouseEnter:()=>c({[v]:!0}),onMouseLeave:()=>c({[v]:!1})},{children:[(0,o.jsx)(eY,{keyName:r,value:a,keys:i,parentValue:n}),(0,o.jsx)(eO,{keyName:r,value:a}),(0,o.jsx)(eG,{keyName:r,value:a,keys:i,parentValue:n,expandKey:v})]}))};e0.displayName="JVR.KeyValuesItem";var e5=["value","keyName"],e2=["as","render"],e1=e=>{var{CountInfoExtra:r={}}=T();return eD(r,e,"CountInfoExtra"),null};e1.displayName="JVR.CountInfoExtra";var e7=e=>{var{value:r={},keyName:a}=e,l=(0,n.Z)(e,e5),{CountInfoExtra:s={}}=T(),{as:i,render:c}=s,v=(0,n.Z)(s,e2);if(!c&&!v.children)return null;var u=i||"span",d=(0,t.Z)({},v,l);return c&&"function"==typeof c&&c(d,{value:r,keyName:a})||(0,o.jsx)(u,(0,t.Z)({},d))};e7.displayName="JVR.CountInfoExtraComps";var e3=["value","keyName"],e6=["as","render"],e9=e=>{var{CountInfo:r={}}=T();return eD(r,e,"CountInfo"),null};e9.displayName="JVR.CountInfo";var e8=e=>{var{value:r={},keyName:a}=e,l=(0,n.Z)(e,e3),{displayObjectSize:s}=Q(),{CountInfo:i={}}=T();if(!s)return null;var{as:c,render:v}=i,u=(0,n.Z)(i,e6),d=c||"span";u.style=(0,t.Z)({},u.style,e.style);var p=Object.keys(r).length;u.children||(u.children=p+" item"+(1===p?"":"s"));var y=(0,t.Z)({},u,l);return v&&"function"==typeof v&&v((0,t.Z)({},y,{"data-length":p}),{value:r,keyName:a})||(0,o.jsx)(d,(0,t.Z)({},y))};e8.displayName="JVR.CountInfoComp";var e4=["as","render"],re=e=>{var{Ellipsis:r={}}=T();return eD(r,e,"Ellipsis"),null};re.displayName="JVR.Ellipsis";var rr=e=>{var{isExpanded:r,value:a,keyName:l}=e,{Ellipsis:s={}}=T(),{as:i,render:c}=s,v=(0,n.Z)(s,e4),u=i||"span";return c&&"function"==typeof c&&c((0,t.Z)({},v,{"data-expanded":r}),{value:a,keyName:l})||(r&&("object"!=typeof a||0!=Object.keys(a).length)?(0,o.jsx)(u,(0,t.Z)({},v)):null)};rr.displayName="JVR.EllipsisComp";var ra=e=>{var r,{keyName:a,expandKey:n,keys:s,initialValue:i,value:c,parentValue:v,level:u}=e,d=j(),p=(0,l.useContext)(N),{onExpand:y,collapsed:m}=Q(),f=Array.isArray(c),h=c instanceof Set,w=null!=(r=d[n])?r:"boolean"==typeof m?m:"number"==typeof m&&u>m,x="object"==typeof c,Z=0!==Object.keys(c).length&&(f||h||x),g={style:{display:"inline-flex",alignItems:"center"}};return Z&&(g.onClick=()=>{var e={expand:!w,value:c,keyid:n,keyName:a};y&&y(e),p({[n]:e.expand})}),(0,o.jsxs)("span",(0,t.Z)({},g,{children:[Z&&(0,o.jsx)(el,{style:{transform:"rotate("+(w?"-90":"0")+"deg)",transition:"all 0.3s"},expandKey:n}),(a||"number"==typeof a)&&(0,o.jsx)(eY,{keyName:a}),(0,o.jsx)(eg,{value:i,keyName:a}),(0,o.jsx)(eb,{value:i,keyName:a}),(0,o.jsx)(eo,{isBrackets:f||h}),(0,o.jsx)(rr,{keyName:a,value:c,isExpanded:w}),(0,o.jsx)(es,{isVisiable:w||!Z,isBrackets:f||h}),(0,o.jsx)(e8,{value:c,keyName:a}),(0,o.jsx)(e7,{value:c,keyName:a}),(0,o.jsx)(eG,{keyName:a,value:c,expandKey:n,parentValue:v,keys:s})]}))};ra.displayName="JVR.NestedOpen";var rt=["className","children","parentValue","keyid","level","value","initialValue","keys","keyName"],rn=(0,l.forwardRef)((e,r)=>{var{className:a="",parentValue:s,level:i=1,value:c,initialValue:v,keys:u,keyName:p}=e,y=(0,n.Z)(e,rt),m=d(),f=(0,l.useId)(),j=[a,"w-rjv-inner"].filter(Boolean).join(" ");return(0,o.jsxs)("div",(0,t.Z)({className:j,ref:r},y,{onMouseEnter:()=>m({[f]:!0}),onMouseLeave:()=>m({[f]:!1})},{children:[(0,o.jsx)(ra,{expandKey:f,value:c,level:i,keys:u,parentValue:s,keyName:p,initialValue:v}),(0,o.jsx)(eX,{expandKey:f,value:c,level:i,keys:u,parentValue:s,keyName:p}),(0,o.jsx)(ei,{expandKey:f,value:c,level:i})]}))});rn.displayName="JVR.Container";var rl=e=>{var{BraceLeft:r={}}=S();return eF(r,e,"BraceLeft"),null};rl.displayName="JVR.BraceLeft";var ro=e=>{var{BraceRight:r={}}=S();return eF(r,e,"BraceRight"),null};ro.displayName="JVR.BraceRight";var rs=e=>{var{BracketsLeft:r={}}=S();return eF(r,e,"BracketsLeft"),null};rs.displayName="JVR.BracketsLeft";var ri=e=>{var{BracketsRight:r={}}=S();return eF(r,e,"BracketsRight"),null};ri.displayName="JVR.BracketsRight";var rc=e=>{var{Arrow:r={}}=S();return eF(r,e,"Arrow"),null};rc.displayName="JVR.Arrow";var rv=e=>{var{Colon:r={}}=S();return eF(r,e,"Colon"),null};rv.displayName="JVR.Colon";var ru=e=>{var{Quote:r={}}=S();return eF(r,e,"Quote"),null};ru.displayName="JVR.Quote";var rd=e=>{var{ValueQuote:r={}}=S();return eF(r,e,"ValueQuote"),null};rd.displayName="JVR.ValueQuote";var rp=e=>{var{Bigint:r={}}=g();return eA(r,e,"Bigint"),null};rp.displayName="JVR.Bigint";var ry=e=>{var{Date:r={}}=g();return eA(r,e,"Date"),null};ry.displayName="JVR.Date";var rm=e=>{var{False:r={}}=g();return eA(r,e,"False"),null};rm.displayName="JVR.False";var rf=e=>{var{Float:r={}}=g();return eA(r,e,"Float"),null};rf.displayName="JVR.Float";var rj=e=>{var{Int:r={}}=g();return eA(r,e,"Int"),null};rj.displayName="JVR.Int";var rN=e=>{var{Map:r={}}=g();return eA(r,e,"Map"),null};rN.displayName="JVR.Map";var rh=e=>{var{Nan:r={}}=g();return eA(r,e,"Nan"),null};rh.displayName="JVR.Nan";var rw=e=>{var{Null:r={}}=g();return eA(r,e,"Null"),null};rw.displayName="JVR.Null";var rx=e=>{var{Set:r={}}=g();return eA(r,e,"Set"),null};rx.displayName="JVR.Set";var rZ=e=>{var{Str:r={}}=g();return eA(r,e,"Str"),null};rZ.displayName="JVR.StringText";var rg=e=>{var{True:r={}}=g();return eA(r,e,"True"),null};rg.displayName="JVR.True";var rb=e=>{var{Undefined:r={}}=g();return eA(r,e,"Undefined"),null};rb.displayName="JVR.Undefined";var rC=e=>{var{Url:r={}}=g();return eA(r,e,"Url"),null};rC.displayName="JVR.Url";var rR=e=>{var{Copied:r={}}=T();return eD(r,e,"Copied"),null};rR.displayName="JVR.Copied";var rV=["className","style","value","children","collapsed","indentWidth","displayObjectSize","shortenTextAfterLength","highlightUpdates","enableClipboard","displayDataTypes","objectSortKeys","onExpand","onCopied"],rL=(0,l.forwardRef)((e,r)=>{var{className:a="",style:l,value:s,children:i,collapsed:c,indentWidth:v=15,displayObjectSize:u=!0,shortenTextAfterLength:d=30,highlightUpdates:p=!0,enableClipboard:y=!0,displayDataTypes:m=!0,objectSortKeys:f=!1,onExpand:j,onCopied:N}=e,h=(0,n.Z)(e,rV),w=(0,t.Z)({lineHeight:1.4,fontFamily:"var(--w-rjv-font-family, Menlo, monospace)",color:"var(--w-rjv-color, #002b36)",backgroundColor:"var(--w-rjv-background-color, #00000000)",fontSize:13},l),x=["w-json-view-container","w-rjv",a].filter(Boolean).join(" ");return(0,o.jsxs)(U,{initialState:{value:s,objectSortKeys:f,indentWidth:v,displayObjectSize:u,collapsed:c,enableClipboard:y,shortenTextAfterLength:d,highlightUpdates:p,onCopied:N,onExpand:j},initialTypes:{displayDataTypes:m},children:[(0,o.jsx)(rn,(0,t.Z)({value:s},h,{ref:r,className:x,style:w})),i]})});rL.Bigint=rp,rL.Date=ry,rL.False=rm,rL.Float=rf,rL.Int=rj,rL.Map=rN,rL.Nan=rh,rL.Null=rw,rL.Set=rx,rL.String=rZ,rL.True=rg,rL.Undefined=rb,rL.Url=rC,rL.ValueQuote=rd,rL.Arrow=rc,rL.Colon=rv,rL.Quote=ru,rL.Ellipsis=re,rL.BraceLeft=rl,rL.BraceRight=ro,rL.BracketsLeft=rs,rL.BracketsRight=ri,rL.Copied=rR,rL.CountInfo=e9,rL.CountInfoExtra=e1,rL.KeyName=eK,rL.Row=eH,rL.displayName="JVR.JsonView";var rk=rL},60855:function(e,r,a){a.d(r,{R:function(){return t}});var t={"--w-rjv-font-family":"monospace","--w-rjv-color":"#79c0ff","--w-rjv-key-string":"#79c0ff","--w-rjv-background-color":"#0d1117","--w-rjv-line-color":"#94949480","--w-rjv-arrow-color":"#ccc","--w-rjv-edit-color":"var(--w-rjv-color)","--w-rjv-info-color":"#7b7b7b","--w-rjv-update-color":"#ebcb8b","--w-rjv-copied-color":"#79c0ff","--w-rjv-copied-success-color":"#28a745","--w-rjv-curlybraces-color":"#8b949e","--w-rjv-colon-color":"#c9d1d9","--w-rjv-brackets-color":"#8b949e","--w-rjv-quotes-color":"var(--w-rjv-key-string)","--w-rjv-quotes-string-color":"var(--w-rjv-type-string-color)","--w-rjv-type-string-color":"#a5d6ff","--w-rjv-type-int-color":"#79c0ff","--w-rjv-type-float-color":"#79c0ff","--w-rjv-type-bigint-color":"#79c0ff","--w-rjv-type-boolean-color":"#ffab70","--w-rjv-type-date-color":"#79c0ff","--w-rjv-type-url-color":"#4facff","--w-rjv-type-null-color":"#ff7b72","--w-rjv-type-nan-color":"#859900","--w-rjv-type-undefined-color":"#79c0ff"}},95679:function(e,r,a){a.d(r,{K:function(){return t}});var t={"--w-rjv-font-family":"monospace","--w-rjv-color":"#6f42c1","--w-rjv-key-string":"#6f42c1","--w-rjv-background-color":"#ffffff","--w-rjv-line-color":"#ddd","--w-rjv-arrow-color":"#6e7781","--w-rjv-edit-color":"var(--w-rjv-color)","--w-rjv-info-color":"#0000004d","--w-rjv-update-color":"#ebcb8b","--w-rjv-copied-color":"#002b36","--w-rjv-copied-success-color":"#28a745","--w-rjv-curlybraces-color":"#6a737d","--w-rjv-colon-color":"#24292e","--w-rjv-brackets-color":"#6a737d","--w-rjv-quotes-color":"var(--w-rjv-key-string)","--w-rjv-quotes-string-color":"var(--w-rjv-type-string-color)","--w-rjv-type-string-color":"#032f62","--w-rjv-type-int-color":"#005cc5","--w-rjv-type-float-color":"#005cc5","--w-rjv-type-bigint-color":"#005cc5","--w-rjv-type-boolean-color":"#d73a49","--w-rjv-type-date-color":"#005cc5","--w-rjv-type-url-color":"#0969da","--w-rjv-type-null-color":"#d73a49","--w-rjv-type-nan-color":"#859900","--w-rjv-type-undefined-color":"#005cc5"}},76914:function(e,r,a){a.d(r,{Z:function(){return M}});var t=a(38497),n=a(16147),l=a(86298),o=a(84223),s=a(71836),i=a(44661),c=a(26869),v=a.n(c),u=a(53979),d=a(66168),p=a(7544),y=a(55091),m=a(63346),f=a(72178),j=a(60848),N=a(90102);let h=(e,r,a,t,n)=>({background:e,border:`${(0,f.bf)(t.lineWidth)} ${t.lineType} ${r}`,[`${n}-icon`]:{color:a}}),w=e=>{let{componentCls:r,motionDurationSlow:a,marginXS:t,marginSM:n,fontSize:l,fontSizeLG:o,lineHeight:s,borderRadiusLG:i,motionEaseInOutCirc:c,withDescriptionIconSize:v,colorText:u,colorTextHeading:d,withDescriptionPadding:p,defaultPadding:y}=e;return{[r]:Object.assign(Object.assign({},(0,j.Wf)(e)),{position:"relative",display:"flex",alignItems:"center",padding:y,wordWrap:"break-word",borderRadius:i,[`&${r}-rtl`]:{direction:"rtl"},[`${r}-content`]:{flex:1,minWidth:0},[`${r}-icon`]:{marginInlineEnd:t,lineHeight:0},"&-description":{display:"none",fontSize:l,lineHeight:s},"&-message":{color:d},[`&${r}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${a} ${c}, opacity ${a} ${c}, - padding-top ${a} ${c}, padding-bottom ${a} ${c}, - margin-bottom ${a} ${c}`},[`&${r}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${r}-with-description`]:{alignItems:"flex-start",padding:p,[`${r}-icon`]:{marginInlineEnd:n,fontSize:v,lineHeight:0},[`${r}-message`]:{display:"block",marginBottom:t,color:d,fontSize:o},[`${r}-description`]:{display:"block",color:u}},[`${r}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},x=e=>{let{componentCls:r,colorSuccess:a,colorSuccessBorder:t,colorSuccessBg:n,colorWarning:l,colorWarningBorder:o,colorWarningBg:s,colorError:i,colorErrorBorder:c,colorErrorBg:v,colorInfo:u,colorInfoBorder:d,colorInfoBg:p}=e;return{[r]:{"&-success":h(n,t,a,e,r),"&-info":h(p,d,u,e,r),"&-warning":h(s,o,l,e,r),"&-error":Object.assign(Object.assign({},h(v,c,i,e,r)),{[`${r}-description > pre`]:{margin:0,padding:0}})}}},Z=e=>{let{componentCls:r,iconCls:a,motionDurationMid:t,marginXS:n,fontSizeIcon:l,colorIcon:o,colorIconHover:s}=e;return{[r]:{"&-action":{marginInlineStart:n},[`${r}-close-icon`]:{marginInlineStart:n,padding:0,overflow:"hidden",fontSize:l,lineHeight:(0,f.bf)(l),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${a}-close`]:{color:o,transition:`color ${t}`,"&:hover":{color:s}}},"&-close-text":{color:o,transition:`color ${t}`,"&:hover":{color:s}}}}};var g=(0,N.I$)("Alert",e=>[w(e),x(e),Z(e)],e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`})),b=function(e,r){var a={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&0>r.indexOf(t)&&(a[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,t=Object.getOwnPropertySymbols(e);nr.indexOf(t[n])&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(a[t[n]]=e[t[n]]);return a};let C={success:n.Z,info:i.Z,error:l.Z,warning:s.Z},R=e=>{let{icon:r,prefixCls:a,type:n}=e,l=C[n]||null;return r?(0,y.wm)(r,t.createElement("span",{className:`${a}-icon`},r),()=>({className:v()(`${a}-icon`,{[r.props.className]:r.props.className})})):t.createElement(l,{className:`${a}-icon`})},V=e=>{let{isClosable:r,prefixCls:a,closeIcon:n,handleClose:l,ariaProps:s}=e,i=!0===n||void 0===n?t.createElement(o.Z,null):n;return r?t.createElement("button",Object.assign({type:"button",onClick:l,className:`${a}-close-icon`,tabIndex:0},s),i):null},L=t.forwardRef((e,r)=>{let{description:a,prefixCls:n,message:l,banner:o,className:s,rootClassName:i,style:c,onMouseEnter:y,onMouseLeave:f,onClick:j,afterClose:N,showIcon:h,closable:w,closeText:x,closeIcon:Z,action:C,id:L}=e,k=b(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[J,S]=t.useState(!1),E=t.useRef(null);t.useImperativeHandle(r,()=>({nativeElement:E.current}));let{getPrefixCls:I,direction:$,alert:B}=t.useContext(m.E_),M=I("alert",n),[T,O,F]=g(M),A=r=>{var a;S(!0),null===(a=e.onClose)||void 0===a||a.call(e,r)},D=t.useMemo(()=>void 0!==e.type?e.type:o?"warning":"info",[e.type,o]),P=t.useMemo(()=>"object"==typeof w&&!!w.closeIcon||!!x||("boolean"==typeof w?w:!1!==Z&&null!=Z||!!(null==B?void 0:B.closable)),[x,Z,w,null==B?void 0:B.closable]),K=!!o&&void 0===h||h,Q=v()(M,`${M}-${D}`,{[`${M}-with-description`]:!!a,[`${M}-no-icon`]:!K,[`${M}-banner`]:!!o,[`${M}-rtl`]:"rtl"===$},null==B?void 0:B.className,s,i,F,O),U=(0,d.Z)(k,{aria:!0,data:!0}),z=t.useMemo(()=>{var e,r;return"object"==typeof w&&w.closeIcon?w.closeIcon:x||(void 0!==Z?Z:"object"==typeof(null==B?void 0:B.closable)&&(null===(e=null==B?void 0:B.closable)||void 0===e?void 0:e.closeIcon)?null===(r=null==B?void 0:B.closable)||void 0===r?void 0:r.closeIcon:null==B?void 0:B.closeIcon)},[Z,w,x,null==B?void 0:B.closeIcon]),H=t.useMemo(()=>{let e=null!=w?w:null==B?void 0:B.closable;if("object"==typeof e){let{closeIcon:r}=e,a=b(e,["closeIcon"]);return a}return{}},[w,null==B?void 0:B.closable]);return T(t.createElement(u.ZP,{visible:!J,motionName:`${M}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:N},(r,n)=>{let{className:o,style:s}=r;return t.createElement("div",Object.assign({id:L,ref:(0,p.sQ)(E,n),"data-show":!J,className:v()(Q,o),style:Object.assign(Object.assign(Object.assign({},null==B?void 0:B.style),c),s),onMouseEnter:y,onMouseLeave:f,onClick:j,role:"alert"},U),K?t.createElement(R,{description:a,icon:e.icon,prefixCls:M,type:D}):null,t.createElement("div",{className:`${M}-content`},l?t.createElement("div",{className:`${M}-message`},l):null,a?t.createElement("div",{className:`${M}-description`},a):null),C?t.createElement("div",{className:`${M}-action`},C):null,t.createElement(V,{isClosable:P,prefixCls:M,closeIcon:z,handleClose:A,ariaProps:H}))}))});var k=a(97290),J=a(80972),S=a(10496),E=a(48307),I=a(75734),$=a(63119);let B=function(e){function r(){var e,a,t;return(0,k.Z)(this,r),a=r,t=arguments,a=(0,S.Z)(a),(e=(0,I.Z)(this,(0,E.Z)()?Reflect.construct(a,t||[],(0,S.Z)(this).constructor):a.apply(this,t))).state={error:void 0,info:{componentStack:""}},e}return(0,$.Z)(r,e),(0,J.Z)(r,[{key:"componentDidCatch",value:function(e,r){this.setState({error:e,info:r})}},{key:"render",value:function(){let{message:e,description:r,id:a,children:n}=this.props,{error:l,info:o}=this.state,s=(null==o?void 0:o.componentStack)||null,i=void 0===e?(l||"").toString():e;return l?t.createElement(L,{id:a,type:"error",message:i,description:t.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},void 0===r?s:r)}):n}}])}(t.Component);L.ErrorBoundary=B;var M=L},8874:function(e,r,a){a.d(r,{Z:function(){return t}});function t(e){if(null==e)throw TypeError("Cannot destructure "+e)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6156-1dc967c50cac16d8.js b/dbgpt/app/static/web/_next/static/chunks/6156-1dc967c50cac16d8.js deleted file mode 100644 index 9aed83167..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/6156-1dc967c50cac16d8.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6156],{12299:function(e,t,n){n.d(t,{Z:function(){return a}});var o=n(42096),r=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},l=n(75651),a=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:i}))})},10917:function(e,t,n){var o=n(38497),r=n(63346),i=n(97818);t.Z=e=>{let{componentName:t}=e,{getPrefixCls:n}=(0,o.useContext)(r.E_),l=n("empty");switch(t){case"Table":case"List":return o.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE,className:`${l}-small`});case"Table.filter":return null;default:return o.createElement(i.Z,null)}}},97818:function(e,t,n){n.d(t,{Z:function(){return b}});var o=n(38497),r=n(26869),i=n.n(r),l=n(63346),a=n(61261),c=n(51084),u=n(73098),s=n(90102),d=n(74934);let f=e=>{let{componentCls:t,margin:n,marginXS:o,marginXL:r,fontSize:i,lineHeight:l}=e;return{[t]:{marginInline:o,fontSize:i,lineHeight:l,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:o,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:r,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:o,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}};var p=(0,s.I$)("Empty",e=>{let{componentCls:t,controlHeightLG:n,calc:o}=e,r=(0,d.IX)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:o(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:o(n).mul(.875).equal()});return[f(r)]}),m=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let v=o.createElement(()=>{let[,e]=(0,u.ZP)(),t=new c.C(e.colorBgBase),n=t.toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,"empty image"),o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),o.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),o.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),o.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),o.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),g=o.createElement(()=>{let[,e]=(0,u.ZP)(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:i}=e,{borderColor:l,shadowColor:a,contentColor:s}=(0,o.useMemo)(()=>({borderColor:new c.C(t).onBackground(i).toHexShortString(),shadowColor:new c.C(n).onBackground(i).toHexShortString(),contentColor:new c.C(r).onBackground(i).toHexShortString()}),[t,n,r,i]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,"Simple Empty"),o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:a,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:l},o.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),o.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},null),h=e=>{var{className:t,rootClassName:n,prefixCls:r,image:c=v,description:u,children:s,imageStyle:d,style:f}=e,h=m(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);let{getPrefixCls:b,direction:S,empty:w}=o.useContext(l.E_),E=b("empty",r),[y,C,Z]=p(E),[x]=(0,a.Z)("Empty"),$=void 0!==u?u:null==x?void 0:x.description,I="string"==typeof $?$:"empty",M=null;return M="string"==typeof c?o.createElement("img",{alt:I,src:c}):c,y(o.createElement("div",Object.assign({className:i()(C,Z,E,null==w?void 0:w.className,{[`${E}-normal`]:c===g,[`${E}-rtl`]:"rtl"===S},t,n),style:Object.assign(Object.assign({},null==w?void 0:w.style),f)},h),o.createElement("div",{className:`${E}-image`,style:d},M),$&&o.createElement("div",{className:`${E}-description`},$),s&&o.createElement("div",{className:`${E}-footer`},s)))};h.PRESENTED_IMAGE_DEFAULT=v,h.PRESENTED_IMAGE_SIMPLE=g;var b=h},16156:function(e,t,n){n.d(t,{default:function(){return tl}});var o=n(38497),r=n(26869),i=n.n(r),l=n(42096),a=n(72991),c=n(65148),u=n(4247),s=n(65347),d=n(10921),f=n(14433),p=n(77757),m=n(89842),v=n(46644),g=n(61193),h=n(7544),b=function(e){var t=e.className,n=e.customizeIcon,r=e.customizeIconProps,l=e.children,a=e.onMouseDown,c=e.onClick,u="function"==typeof n?n(r):n;return o.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),null==a||a(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:c,"aria-hidden":!0},void 0!==u?u:o.createElement("span",{className:i()(t.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},l))},S=function(e,t,n,r,i){var l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,u=o.useMemo(function(){return"object"===(0,f.Z)(r)?r.clearIcon:i||void 0},[r,i]);return{allowClear:o.useMemo(function(){return!l&&!!r&&(!!n.length||!!a)&&!("combobox"===c&&""===a)},[r,l,n.length,a,c]),clearIcon:o.createElement(b,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:u},"\xd7")}},w=o.createContext(null);function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=o.useRef(null),n=o.useRef(null);return o.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]),[function(){return t.current},function(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}]}var y=n(16956),C=n(66168),Z=n(66979),x=o.forwardRef(function(e,t){var n,r=e.prefixCls,l=e.id,a=e.inputElement,c=e.disabled,s=e.tabIndex,d=e.autoFocus,f=e.autoComplete,p=e.editable,v=e.activeDescendantId,g=e.value,b=e.maxLength,S=e.onKeyDown,w=e.onMouseDown,E=e.onChange,y=e.onPaste,C=e.onCompositionStart,Z=e.onCompositionEnd,x=e.open,$=e.attrs,I=a||o.createElement("input",null),M=I,R=M.ref,O=M.props,D=O.onKeyDown,N=O.onChange,H=O.onMouseDown,P=O.onCompositionStart,z=O.onCompositionEnd,T=O.style;return(0,m.Kp)(!("maxLength"in I.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),I=o.cloneElement(I,(0,u.Z)((0,u.Z)((0,u.Z)({type:"search"},O),{},{id:l,ref:(0,h.sQ)(t,R),disabled:c,tabIndex:s,autoComplete:f||"off",autoFocus:d,className:i()("".concat(r,"-selection-search-input"),null===(n=I)||void 0===n||null===(n=n.props)||void 0===n?void 0:n.className),role:"combobox","aria-expanded":x||!1,"aria-haspopup":"listbox","aria-owns":"".concat(l,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(l,"_list"),"aria-activedescendant":x?v:void 0},$),{},{value:p?g:"",maxLength:b,readOnly:!p,unselectable:p?null:"on",style:(0,u.Z)((0,u.Z)({},T),{},{opacity:p?null:0}),onKeyDown:function(e){S(e),D&&D(e)},onMouseDown:function(e){w(e),H&&H(e)},onChange:function(e){E(e),N&&N(e)},onCompositionStart:function(e){C(e),P&&P(e)},onCompositionEnd:function(e){Z(e),z&&z(e)},onPaste:y}))});function $(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var I="undefined"!=typeof window&&window.document&&window.document.documentElement;function M(e){return["string","number"].includes((0,f.Z)(e))}function R(e){var t=void 0;return e&&(M(e.title)?t=e.title.toString():M(e.label)&&(t=e.label.toString())),t}function O(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var D=function(e){e.preventDefault(),e.stopPropagation()},N=function(e){var t,n,r=e.id,l=e.prefixCls,a=e.values,u=e.open,d=e.searchValue,f=e.autoClearSearchValue,p=e.inputRef,m=e.placeholder,v=e.disabled,g=e.mode,h=e.showSearch,S=e.autoFocus,w=e.autoComplete,E=e.activeDescendantId,y=e.tabIndex,$=e.removeIcon,M=e.maxTagCount,N=e.maxTagTextLength,H=e.maxTagPlaceholder,P=void 0===H?function(e){return"+ ".concat(e.length," ...")}:H,z=e.tagRender,T=e.onToggleOpen,k=e.onRemove,L=e.onInputChange,j=e.onInputPaste,B=e.onInputKeyDown,V=e.onInputMouseDown,F=e.onInputCompositionStart,A=e.onInputCompositionEnd,W=o.useRef(null),_=(0,o.useState)(0),K=(0,s.Z)(_,2),X=K[0],Y=K[1],G=(0,o.useState)(!1),q=(0,s.Z)(G,2),U=q[0],Q=q[1],J="".concat(l,"-selection"),ee=u||"multiple"===g&&!1===f||"tags"===g?d:"",et="tags"===g||"multiple"===g&&!1===f||h&&(u||U);t=function(){Y(W.current.scrollWidth)},n=[ee],I?o.useLayoutEffect(t,n):o.useEffect(t,n);var en=function(e,t,n,r,l){return o.createElement("span",{title:R(e),className:i()("".concat(J,"-item"),(0,c.Z)({},"".concat(J,"-item-disabled"),n))},o.createElement("span",{className:"".concat(J,"-item-content")},t),r&&o.createElement(b,{className:"".concat(J,"-item-remove"),onMouseDown:D,onClick:l,customizeIcon:$},"\xd7"))},eo=function(e,t,n,r,i,l){return o.createElement("span",{onMouseDown:function(e){D(e),T(!u)}},z({label:t,value:e,disabled:n,closable:r,onClose:i,isMaxTag:!!l}))},er=o.createElement("div",{className:"".concat(J,"-search"),style:{width:X},onFocus:function(){Q(!0)},onBlur:function(){Q(!1)}},o.createElement(x,{ref:p,open:u,prefixCls:l,id:r,inputElement:null,disabled:v,autoFocus:S,autoComplete:w,editable:et,activeDescendantId:E,value:ee,onKeyDown:B,onMouseDown:V,onChange:L,onPaste:j,onCompositionStart:F,onCompositionEnd:A,tabIndex:y,attrs:(0,C.Z)(e,!0)}),o.createElement("span",{ref:W,className:"".concat(J,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),ei=o.createElement(Z.Z,{prefixCls:"".concat(J,"-overflow"),data:a,renderItem:function(e){var t=e.disabled,n=e.label,o=e.value,r=!v&&!t,i=n;if("number"==typeof N&&("string"==typeof n||"number"==typeof n)){var l=String(i);l.length>N&&(i="".concat(l.slice(0,N),"..."))}var a=function(t){t&&t.stopPropagation(),k(e)};return"function"==typeof z?eo(o,i,t,r,a):en(e,i,t,r,a)},renderRest:function(e){var t="function"==typeof P?P(e):P;return"function"==typeof z?eo(void 0,t,!1,!1,void 0,!0):en({title:t},t,!1)},suffix:er,itemKey:O,maxCount:M});return o.createElement(o.Fragment,null,ei,!a.length&&!ee&&o.createElement("span",{className:"".concat(J,"-placeholder")},m))},H=function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,i=e.inputRef,l=e.disabled,a=e.autoFocus,c=e.autoComplete,u=e.activeDescendantId,d=e.mode,f=e.open,p=e.values,m=e.placeholder,v=e.tabIndex,g=e.showSearch,h=e.searchValue,b=e.activeValue,S=e.maxLength,w=e.onInputKeyDown,E=e.onInputMouseDown,y=e.onInputChange,Z=e.onInputPaste,$=e.onInputCompositionStart,I=e.onInputCompositionEnd,M=e.title,O=o.useState(!1),D=(0,s.Z)(O,2),N=D[0],H=D[1],P="combobox"===d,z=P||g,T=p[0],k=h||"";P&&b&&!N&&(k=b),o.useEffect(function(){P&&H(!1)},[P,b]);var L=("combobox"===d||!!f||!!g)&&!!k,j=void 0===M?R(T):M,B=o.useMemo(function(){return T?null:o.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:L?{visibility:"hidden"}:void 0},m)},[T,L,m,n]);return o.createElement(o.Fragment,null,o.createElement("span",{className:"".concat(n,"-selection-search")},o.createElement(x,{ref:i,prefixCls:n,id:r,open:f,inputElement:t,disabled:l,autoFocus:a,autoComplete:c,editable:z,activeDescendantId:u,value:k,onKeyDown:w,onMouseDown:E,onChange:function(e){H(!0),y(e)},onPaste:Z,onCompositionStart:$,onCompositionEnd:I,tabIndex:v,attrs:(0,C.Z)(e,!0),maxLength:P?S:void 0})),!P&&T?o.createElement("span",{className:"".concat(n,"-selection-item"),title:j,style:L?{visibility:"hidden"}:void 0},T.label):null,B)},P=o.forwardRef(function(e,t){var n=(0,o.useRef)(null),r=(0,o.useRef)(!1),i=e.prefixCls,a=e.open,c=e.mode,u=e.showSearch,d=e.tokenWithEnter,f=e.disabled,p=e.autoClearSearchValue,m=e.onSearch,v=e.onSearchSubmit,g=e.onToggleOpen,h=e.onInputKeyDown,b=e.domRef;o.useImperativeHandle(t,function(){return{focus:function(e){n.current.focus(e)},blur:function(){n.current.blur()}}});var S=E(0),w=(0,s.Z)(S,2),C=w[0],Z=w[1],x=(0,o.useRef)(null),$=function(e){!1!==m(e,!0,r.current)&&g(!0)},I={inputRef:n,onInputKeyDown:function(e){var t=e.which;(t===y.Z.UP||t===y.Z.DOWN)&&e.preventDefault(),h&&h(e),t!==y.Z.ENTER||"tags"!==c||r.current||a||null==v||v(e.target.value),[y.Z.ESC,y.Z.SHIFT,y.Z.BACKSPACE,y.Z.TAB,y.Z.WIN_KEY,y.Z.ALT,y.Z.META,y.Z.WIN_KEY_RIGHT,y.Z.CTRL,y.Z.SEMICOLON,y.Z.EQUALS,y.Z.CAPS_LOCK,y.Z.CONTEXT_MENU,y.Z.F1,y.Z.F2,y.Z.F3,y.Z.F4,y.Z.F5,y.Z.F6,y.Z.F7,y.Z.F8,y.Z.F9,y.Z.F10,y.Z.F11,y.Z.F12].includes(t)||g(!0)},onInputMouseDown:function(){Z(!0)},onInputChange:function(e){var t=e.target.value;if(d&&x.current&&/[\r\n]/.test(x.current)){var n=x.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,x.current)}x.current=null,$(t)},onInputPaste:function(e){var t=e.clipboardData,n=null==t?void 0:t.getData("text");x.current=n||""},onInputCompositionStart:function(){r.current=!0},onInputCompositionEnd:function(e){r.current=!1,"combobox"!==c&&$(e.target.value)}},M="multiple"===c||"tags"===c?o.createElement(N,(0,l.Z)({},e,I)):o.createElement(H,(0,l.Z)({},e,I));return o.createElement("div",{ref:b,className:"".concat(i,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){n.current.focus()}):n.current.focus())},onMouseDown:function(e){var t=C();e.target===n.current||t||"combobox"===c&&f||e.preventDefault(),("combobox"===c||u&&t)&&a||(a&&!1!==p&&m("",!0,!1),g())}},M)}),z=n(92361),T=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],k=function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}},L=o.forwardRef(function(e,t){var n=e.prefixCls,r=(e.disabled,e.visible),a=e.children,s=e.popupElement,f=e.animation,p=e.transitionName,m=e.dropdownStyle,v=e.dropdownClassName,g=e.direction,h=e.placement,b=e.builtinPlacements,S=e.dropdownMatchSelectWidth,w=e.dropdownRender,E=e.dropdownAlign,y=e.getPopupContainer,C=e.empty,Z=e.getTriggerDOMNode,x=e.onPopupVisibleChange,$=e.onPopupMouseEnter,I=(0,d.Z)(e,T),M="".concat(n,"-dropdown"),R=s;w&&(R=w(s));var O=o.useMemo(function(){return b||k(S)},[b,S]),D=f?"".concat(M,"-").concat(f):p,N="number"==typeof S,H=o.useMemo(function(){return N?null:!1===S?"minWidth":"width"},[S,N]),P=m;N&&(P=(0,u.Z)((0,u.Z)({},P),{},{width:S}));var L=o.useRef(null);return o.useImperativeHandle(t,function(){return{getPopupElement:function(){var e;return null===(e=L.current)||void 0===e?void 0:e.popupElement}}}),o.createElement(z.Z,(0,l.Z)({},I,{showAction:x?["click"]:[],hideAction:x?["click"]:[],popupPlacement:h||("rtl"===(void 0===g?"ltr":g)?"bottomRight":"bottomLeft"),builtinPlacements:O,prefixCls:M,popupTransitionName:D,popup:o.createElement("div",{onMouseEnter:$},R),ref:L,stretch:H,popupAlign:E,popupVisible:r,getPopupContainer:y,popupClassName:i()(v,(0,c.Z)({},"".concat(M,"-empty"),C)),popupStyle:P,getTriggerDOMNode:Z,onPopupVisibleChange:x}),a)}),j=n(19644);function B(e,t){var n,o=e.key;return("value"in e&&(n=e.value),null!=o)?o:void 0!==n?n:"rc-index-key-".concat(t)}function V(e){return void 0!==e&&!Number.isNaN(e)}function F(e,t){var n=e||{},o=n.label,r=n.value,i=n.options,l=n.groupLabel,a=o||(t?"children":"label");return{label:a,value:r||"value",options:i||"options",groupLabel:l||a}}function A(e){var t=(0,u.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,m.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var W=function(e,t,n){if(!t||!t.length)return null;var o=!1,r=function e(t,n){var r=(0,j.Z)(n),i=r[0],l=r.slice(1);if(!i)return[t];var c=t.split(i);return o=o||c.length>1,c.reduce(function(t,n){return[].concat((0,a.Z)(t),(0,a.Z)(e(n,l)))},[]).filter(Boolean)}(e,t);return o?void 0!==n?r.slice(0,n):r:null},_=o.createContext(null);function K(e){var t=e.visible,n=e.values;return t?o.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,50).map(function(e){var t=e.label,n=e.value;return["number","string"].includes((0,f.Z)(t))?t:n}).join(", ")),n.length>50?", ...":null):null}var X=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Y=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],G=function(e){return"tags"===e||"multiple"===e},q=o.forwardRef(function(e,t){var n,r,f,m,y,C,Z,x=e.id,$=e.prefixCls,I=e.className,M=e.showSearch,R=e.tagRender,O=e.direction,D=e.omitDomProps,N=e.displayValues,H=e.onDisplayValuesChange,z=e.emptyOptions,T=e.notFoundContent,k=void 0===T?"Not Found":T,j=e.onClear,B=e.mode,F=e.disabled,A=e.loading,q=e.getInputElement,U=e.getRawInputElement,Q=e.open,J=e.defaultOpen,ee=e.onDropdownVisibleChange,et=e.activeValue,en=e.onActiveValueChange,eo=e.activeDescendantId,er=e.searchValue,ei=e.autoClearSearchValue,el=e.onSearch,ea=e.onSearchSplit,ec=e.tokenSeparators,eu=e.allowClear,es=e.suffixIcon,ed=e.clearIcon,ef=e.OptionList,ep=e.animation,em=e.transitionName,ev=e.dropdownStyle,eg=e.dropdownClassName,eh=e.dropdownMatchSelectWidth,eb=e.dropdownRender,eS=e.dropdownAlign,ew=e.placement,eE=e.builtinPlacements,ey=e.getPopupContainer,eC=e.showAction,eZ=void 0===eC?[]:eC,ex=e.onFocus,e$=e.onBlur,eI=e.onKeyUp,eM=e.onKeyDown,eR=e.onMouseDown,eO=(0,d.Z)(e,X),eD=G(B),eN=(void 0!==M?M:eD)||"combobox"===B,eH=(0,u.Z)({},eO);Y.forEach(function(e){delete eH[e]}),null==D||D.forEach(function(e){delete eH[e]});var eP=o.useState(!1),ez=(0,s.Z)(eP,2),eT=ez[0],ek=ez[1];o.useEffect(function(){ek((0,g.Z)())},[]);var eL=o.useRef(null),ej=o.useRef(null),eB=o.useRef(null),eV=o.useRef(null),eF=o.useRef(null),eA=o.useRef(!1),eW=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=o.useState(!1),n=(0,s.Z)(t,2),r=n[0],i=n[1],l=o.useRef(null),a=function(){window.clearTimeout(l.current)};return o.useEffect(function(){return a},[]),[r,function(t,n){a(),l.current=window.setTimeout(function(){i(t),n&&n()},e)},a]}(),e_=(0,s.Z)(eW,3),eK=e_[0],eX=e_[1],eY=e_[2];o.useImperativeHandle(t,function(){var e,t;return{focus:null===(e=eV.current)||void 0===e?void 0:e.focus,blur:null===(t=eV.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=eF.current)||void 0===t?void 0:t.scrollTo(e)},nativeElement:eL.current||ej.current}});var eG=o.useMemo(function(){if("combobox"!==B)return er;var e,t=null===(e=N[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[er,B,N]),eq="combobox"===B&&"function"==typeof q&&q()||null,eU="function"==typeof U&&U(),eQ=(0,h.x1)(ej,null==eU||null===(m=eU.props)||void 0===m?void 0:m.ref),eJ=o.useState(!1),e0=(0,s.Z)(eJ,2),e1=e0[0],e2=e0[1];(0,v.Z)(function(){e2(!0)},[]);var e4=(0,p.Z)(!1,{defaultValue:J,value:Q}),e6=(0,s.Z)(e4,2),e3=e6[0],e9=e6[1],e5=!!e1&&e3,e7=!k&&z;(F||e7&&e5&&"combobox"===B)&&(e5=!1);var e8=!e7&&e5,te=o.useCallback(function(e){var t=void 0!==e?e:!e5;F||(e9(t),e5!==t&&(null==ee||ee(t)))},[F,e5,e9,ee]),tt=o.useMemo(function(){return(ec||[]).some(function(e){return["\n","\r\n"].includes(e)})},[ec]),tn=o.useContext(_)||{},to=tn.maxCount,tr=tn.rawValues,ti=function(e,t,n){if(!(eD&&V(to))||!((null==tr?void 0:tr.size)>=to)){var o=!0,r=e;null==en||en(null);var i=W(e,ec,V(to)?to-tr.size:void 0),l=n?null:i;return"combobox"!==B&&l&&(r="",null==ea||ea(l),te(!1),o=!1),el&&eG!==r&&el(r,{source:t?"typing":"effect"}),o}};o.useEffect(function(){e5||eD||"combobox"===B||ti("",!1,!1)},[e5]),o.useEffect(function(){e3&&F&&e9(!1),F&&!eA.current&&eX(!1)},[F]);var tl=E(),ta=(0,s.Z)(tl,2),tc=ta[0],tu=ta[1],ts=o.useRef(!1),td=o.useRef(!1),tf=[];o.useEffect(function(){return function(){tf.forEach(function(e){return clearTimeout(e)}),tf.splice(0,tf.length)}},[]);var tp=o.useState({}),tm=(0,s.Z)(tp,2)[1];eU&&(y=function(e){te(e)}),n=function(){var e;return[eL.current,null===(e=eB.current)||void 0===e?void 0:e.getPopupElement()]},r=!!eU,(f=o.useRef(null)).current={open:e8,triggerOpen:te,customizedTrigger:r},o.useEffect(function(){function e(e){if(null===(t=f.current)||void 0===t||!t.customizedTrigger){var t,o=e.target;o.shadowRoot&&e.composed&&(o=e.composedPath()[0]||o),f.current.open&&n().filter(function(e){return e}).every(function(e){return!e.contains(o)&&e!==o})&&f.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}},[]);var tv=o.useMemo(function(){return(0,u.Z)((0,u.Z)({},e),{},{notFoundContent:k,open:e5,triggerOpen:e8,id:x,showSearch:eN,multiple:eD,toggleOpen:te})},[e,k,e8,e5,x,eN,eD,te]),tg=!!es||A;tg&&(C=o.createElement(b,{className:i()("".concat($,"-arrow"),(0,c.Z)({},"".concat($,"-arrow-loading"),A)),customizeIcon:es,customizeIconProps:{loading:A,searchValue:eG,open:e5,focused:eK,showSearch:eN}}));var th=S($,function(){var e;null==j||j(),null===(e=eV.current)||void 0===e||e.focus(),H([],{type:"clear",values:N}),ti("",!1,!1)},N,eu,ed,F,eG,B),tb=th.allowClear,tS=th.clearIcon,tw=o.createElement(ef,{ref:eF}),tE=i()($,I,(0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)({},"".concat($,"-focused"),eK),"".concat($,"-multiple"),eD),"".concat($,"-single"),!eD),"".concat($,"-allow-clear"),eu),"".concat($,"-show-arrow"),tg),"".concat($,"-disabled"),F),"".concat($,"-loading"),A),"".concat($,"-open"),e5),"".concat($,"-customize-input"),eq),"".concat($,"-show-search"),eN)),ty=o.createElement(L,{ref:eB,disabled:F,prefixCls:$,visible:e8,popupElement:tw,animation:ep,transitionName:em,dropdownStyle:ev,dropdownClassName:eg,direction:O,dropdownMatchSelectWidth:eh,dropdownRender:eb,dropdownAlign:eS,placement:ew,builtinPlacements:eE,getPopupContainer:ey,empty:z,getTriggerDOMNode:function(e){return ej.current||e},onPopupVisibleChange:y,onPopupMouseEnter:function(){tm({})}},eU?o.cloneElement(eU,{ref:eQ}):o.createElement(P,(0,l.Z)({},e,{domRef:ej,prefixCls:$,inputElement:eq,ref:eV,id:x,showSearch:eN,autoClearSearchValue:ei,mode:B,activeDescendantId:eo,tagRender:R,values:N,open:e5,onToggleOpen:te,activeValue:et,searchValue:eG,onSearch:ti,onSearchSubmit:function(e){e&&e.trim()&&el(e,{source:"submit"})},onRemove:function(e){H(N.filter(function(t){return t!==e}),{type:"remove",values:[e]})},tokenWithEnter:tt})));return Z=eU?ty:o.createElement("div",(0,l.Z)({className:tE},eH,{ref:eL,onMouseDown:function(e){var t,n=e.target,o=null===(t=eB.current)||void 0===t?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout(function(){var e,t=tf.indexOf(r);-1!==t&&tf.splice(t,1),eY(),eT||o.contains(document.activeElement)||null===(e=eV.current)||void 0===e||e.focus()});tf.push(r)}for(var i=arguments.length,l=Array(i>1?i-1:0),a=1;a=0;c-=1){var u=i[c];if(!u.disabled){i.splice(c,1),l=u;break}}l&&H(i,{type:"remove",values:[l]})}for(var s=arguments.length,d=Array(s>1?s-1:0),f=1;f1?n-1:0),r=1;r=Z},[p,Z,null==O?void 0:O.size]),F=function(e){e.preventDefault()},A=function(e){var t;null===(t=j.current)||void 0===t||t.scrollTo("number"==typeof e?{index:e}:e)},W=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=L.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];G(e);var n={source:t?"keyboard":"mouse"},o=L[e];if(!o){$(null,-1,n);return}$(o.value,e,n)};(0,o.useEffect)(function(){q(!1!==I?W(0):-1)},[L.length,v]);var U=o.useCallback(function(e){return O.has(e)&&"combobox"!==m},[m,(0,a.Z)(O).toString(),O.size]);(0,o.useEffect)(function(){var e,t=setTimeout(function(){if(!p&&f&&1===O.size){var e=Array.from(O)[0],t=L.findIndex(function(t){return t.data.value===e});-1!==t&&(q(t),A(t))}});return f&&(null===(e=j.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[f,v]);var Q=function(e){void 0!==e&&M(e,{selected:!O.has(e)}),p||g(!1)};if(o.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case y.Z.N:case y.Z.P:case y.Z.UP:case y.Z.DOWN:var o=0;if(t===y.Z.UP?o=-1:t===y.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===y.Z.N?o=1:t===y.Z.P&&(o=-1)),0!==o){var r=W(Y+o,o);A(r),q(r,!0)}break;case y.Z.ENTER:var i,l=L[Y];!l||null!=l&&null!==(i=l.data)&&void 0!==i&&i.disabled||B?Q(void 0):Q(l.value),f&&e.preventDefault();break;case y.Z.ESC:g(!1),f&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){A(e)}}}),0===L.length)return o.createElement("div",{role:"listbox",id:"".concat(u,"_list"),className:"".concat(k,"-empty"),onMouseDown:F},h);var er=Object.keys(D).map(function(e){return D[e]}),ei=function(e){return e.label};function el(e,t){return{role:e.group?"presentation":"option",id:"".concat(u,"_list_").concat(t)}}var ea=function(e){var t=L[e];if(!t)return null;var n=t.data||{},r=n.value,i=t.group,a=(0,C.Z)(n,!0),c=ei(t);return t?o.createElement("div",(0,l.Z)({"aria-label":"string"!=typeof c||i?null:c},a,{key:e},el(t,e),{"aria-selected":U(r)}),r):null},ec={role:"listbox",id:"".concat(u,"_list")};return o.createElement(o.Fragment,null,N&&o.createElement("div",(0,l.Z)({},ec,{style:{height:0,width:0,overflow:"hidden"}}),ea(Y-1),ea(Y),ea(Y+1)),o.createElement(et.Z,{itemKey:"key",ref:j,data:L,height:P,itemHeight:z,fullHeight:!1,onMouseDown:F,onScroll:S,virtual:N,direction:H,innerProps:N?null:ec},function(e,t){var n=e.group,r=e.groupOption,a=e.data,u=e.label,s=e.value,f=a.key;if(n){var p,m=null!==(p=a.title)&&void 0!==p?p:eo(u)?u.toString():void 0;return o.createElement("div",{className:i()(k,"".concat(k,"-group"),a.className),title:m},void 0!==u?u:f)}var v=a.disabled,g=a.title,h=(a.children,a.style),S=a.className,w=(0,d.Z)(a,en),E=(0,ee.Z)(w,er),y=U(s),Z=v||!y&&B,x="".concat(k,"-option"),$=i()(k,x,S,(0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)({},"".concat(x,"-grouped"),r),"".concat(x,"-active"),Y===t&&!Z),"".concat(x,"-disabled"),Z),"".concat(x,"-selected"),y)),I=ei(e),M=!R||"function"==typeof R||y,O="number"==typeof I?I:I||s,D=eo(O)?O.toString():void 0;return void 0!==g&&(D=g),o.createElement("div",(0,l.Z)({},(0,C.Z)(E),N?{}:el(e,t),{"aria-selected":y,className:$,title:D,onMouseMove:function(){Y===t||Z||q(t)},onClick:function(){Z||Q(s)},style:h}),o.createElement("div",{className:"".concat(x,"-content")},"function"==typeof T?T(e,{index:t}):O),o.isValidElement(R)||y,M&&o.createElement(b,{className:"".concat(k,"-option-state"),customizeIcon:R,customizeIconProps:{value:s,disabled:Z,isSelected:y}},y?"✓":null))}))}),ei=function(e,t){var n=o.useRef({values:new Map,options:new Map});return[o.useMemo(function(){var o=n.current,r=o.values,i=o.options,l=e.map(function(e){if(void 0===e.label){var t;return(0,u.Z)((0,u.Z)({},e),{},{label:null===(t=r.get(e.value))||void 0===t?void 0:t.label})}return e}),a=new Map,c=new Map;return l.forEach(function(e){a.set(e.value,e),c.set(e.value,t.get(e.value)||i.get(e.value))}),n.current.values=a,n.current.options=c,l},[e,t]),o.useCallback(function(e){return t.get(e)||n.current.options.get(e)},[t])]};function el(e,t){return $(e).join("").toUpperCase().includes(t)}var ea=n(18943),ec=0,eu=(0,ea.Z)(),es=n(10469),ed=["children","value"],ef=["children"];function ep(e){var t=o.useRef();return t.current=e,o.useCallback(function(){return t.current.apply(t,arguments)},[])}var em=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],ev=["inputValue"],eg=o.forwardRef(function(e,t){var n,r,i,m,v,g=e.id,h=e.mode,b=e.prefixCls,S=e.backfill,w=e.fieldNames,E=e.inputValue,y=e.searchValue,C=e.onSearch,Z=e.autoClearSearchValue,x=void 0===Z||Z,I=e.onSelect,M=e.onDeselect,R=e.dropdownMatchSelectWidth,O=void 0===R||R,D=e.filterOption,N=e.filterSort,H=e.optionFilterProp,P=e.optionLabelProp,z=e.options,T=e.optionRender,k=e.children,L=e.defaultActiveFirstOption,j=e.menuItemSelectedIcon,V=e.virtual,W=e.direction,K=e.listHeight,X=void 0===K?200:K,Y=e.listItemHeight,U=void 0===Y?20:Y,Q=e.labelRender,J=e.value,ee=e.defaultValue,et=e.labelInValue,en=e.onChange,eo=e.maxCount,ea=(0,d.Z)(e,em),eg=(n=o.useState(),i=(r=(0,s.Z)(n,2))[0],m=r[1],o.useEffect(function(){var e;m("rc_select_".concat((eu?(e=ec,ec+=1):e="TEST_OR_SSR",e)))},[]),g||i),eh=G(h),eb=!!(!z&&k),eS=o.useMemo(function(){return(void 0!==D||"combobox"!==h)&&D},[D,h]),ew=o.useMemo(function(){return F(w,eb)},[JSON.stringify(w),eb]),eE=(0,p.Z)("",{value:void 0!==y?y:E,postState:function(e){return e||""}}),ey=(0,s.Z)(eE,2),eC=ey[0],eZ=ey[1],ex=o.useMemo(function(){var e=z;z||(e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,es.Z)(t).map(function(t,r){if(!o.isValidElement(t)||!t.type)return null;var i,l,a,c,s,f=t.type.isSelectOptGroup,p=t.key,m=t.props,v=m.children,g=(0,d.Z)(m,ef);return n||!f?(i=t.key,a=(l=t.props).children,c=l.value,s=(0,d.Z)(l,ed),(0,u.Z)({key:i,value:void 0!==c?c:i,children:a},s)):(0,u.Z)((0,u.Z)({key:"__RC_SELECT_GRP__".concat(null===p?r:p,"__"),label:p},g),{},{options:e(v)})}).filter(function(e){return e})}(k));var t=new Map,n=new Map,r=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(o){for(var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=0;l1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],i=F(n,!1),l=i.label,a=i.value,c=i.options,u=i.groupLabel;return!function e(t,n){Array.isArray(t)&&t.forEach(function(t){if(!n&&c in t){var i=t[u];void 0===i&&o&&(i=t.label),r.push({key:B(t,r.length),group:!0,data:t,label:i}),e(t[c],!0)}else{var s=t[a];r.push({key:B(t,r.length),groupOption:n,data:t,label:t[l],value:s})}})}(e,!1),r}(eA,{fieldNames:ew,childrenAsData:eb})},[eA,ew,eb]),e_=function(e){var t=eR(e);if(eH(t),en&&(t.length!==eT.length||t.some(function(e,t){var n;return(null===(n=eT[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=et?t:t.map(function(e){return e.value}),o=t.map(function(e){return A(ek(e.value))});en(eh?n:n[0],eh?o:o[0])}},eK=o.useState(null),eX=(0,s.Z)(eK,2),eY=eX[0],eG=eX[1],eq=o.useState(0),eU=(0,s.Z)(eq,2),eQ=eU[0],eJ=eU[1],e0=void 0!==L?L:"combobox"!==h,e1=o.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source;eJ(t),S&&"combobox"===h&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eG(String(e))},[S,h]),e2=function(e,t,n){var o=function(){var t,n=ek(e);return[et?{label:null==n?void 0:n[ew.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,A(n)]};if(t&&I){var r=o(),i=(0,s.Z)(r,2);I(i[0],i[1])}else if(!t&&M&&"clear"!==n){var l=o(),a=(0,s.Z)(l,2);M(a[0],a[1])}},e4=ep(function(e,t){var n=!eh||t.selected;e_(n?eh?[].concat((0,a.Z)(eT),[e]):[e]:eT.filter(function(t){return t.value!==e})),e2(e,n),"combobox"===h?eG(""):(!G||x)&&(eZ(""),eG(""))}),e6=o.useMemo(function(){var e=!1!==V&&!1!==O;return(0,u.Z)((0,u.Z)({},ex),{},{flattenOptions:eW,onActiveValue:e1,defaultActiveFirstOption:e0,onSelect:e4,menuItemSelectedIcon:j,rawValues:ej,fieldNames:ew,virtual:e,direction:W,listHeight:X,listItemHeight:U,childrenAsData:eb,maxCount:eo,optionRender:T})},[eo,ex,eW,e1,e0,e4,j,ej,ew,V,O,W,X,U,eb,T]);return o.createElement(_.Provider,{value:e6},o.createElement(q,(0,l.Z)({},ea,{id:eg,prefixCls:void 0===b?"rc-select":b,ref:t,omitDomProps:ev,mode:h,displayValues:eL,onDisplayValuesChange:function(e,t){e_(e);var n=t.type,o=t.values;("remove"===n||"clear"===n)&&o.forEach(function(e){e2(e.value,!1,n)})},direction:W,searchValue:eC,onSearch:function(e,t){if(eZ(e),eG(null),"submit"===t.source){var n=(e||"").trim();n&&(e_(Array.from(new Set([].concat((0,a.Z)(ej),[n])))),e2(n,!0),eZ(""));return}"blur"!==t.source&&("combobox"===h&&e_(e),null==C||C(e))},autoClearSearchValue:x,onSearchSplit:function(e){var t=e;"tags"!==h&&(t=e.map(function(e){var t=eI.get(e);return null==t?void 0:t.value}).filter(function(e){return void 0!==e}));var n=Array.from(new Set([].concat((0,a.Z)(ej),(0,a.Z)(t))));e_(n),n.forEach(function(e){e2(e,!0)})},dropdownMatchSelectWidth:O,OptionList:er,emptyOptions:!eW.length,activeValue:eY,activeDescendantId:"".concat(eg,"_list_").concat(eQ)})))});eg.Option=Q,eg.OptGroup=U;var eh=n(58416),eb=n(17383),eS=n(99851),ew=n(40690),eE=n(63346),ey=n(10917),eC=n(3482),eZ=n(95227),ex=n(82014),e$=n(13859),eI=n(25641),eM=n(80214),eR=n(73098);let eO=e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}};var eD=n(60848),eN=n(31909),eH=n(90102),eP=n(74934),ez=n(57723),eT=n(33445);let ek=e=>{let{optionHeight:t,optionFontSize:n,optionLineHeight:o,optionPadding:r}=e;return{position:"relative",display:"block",minHeight:t,padding:r,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:o,boxSizing:"border-box"}};var eL=e=>{let{antCls:t,componentCls:n}=e,o=`${n}-item`,r=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,l=`&${t}-slide-up-leave${t}-slide-up-leave-active`,a=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},(0,eD.Wf)(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` - ${r}${a}bottomLeft, - ${i}${a}bottomLeft - `]:{animationName:ez.fJ},[` - ${r}${a}topLeft, - ${i}${a}topLeft, - ${r}${a}topRight, - ${i}${a}topRight - `]:{animationName:ez.Qt},[`${l}${a}bottomLeft`]:{animationName:ez.Uw},[` - ${l}${a}topLeft, - ${l}${a}topRight - `]:{animationName:ez.ly},"&-hidden":{display:"none"},[o]:Object.assign(Object.assign({},ek(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},eD.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${o}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${o}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${o}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${o}-option-selected:not(${o}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${o}-option-selected:not(${o}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${o}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},ek(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},(0,ez.oN)(e,"slide-up"),(0,ez.oN)(e,"slide-down"),(0,eT.Fm)(e,"move-up"),(0,eT.Fm)(e,"move-down")]},ej=n(72178);let eB=e=>{let{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:o,INTERNAL_FIXED_ITEM_MARGIN:r}=e,i=e.max(e.calc(n).sub(o).equal(),0),l=e.max(e.calc(i).sub(r).equal(),0);return{basePadding:i,containerPadding:l,itemHeight:(0,ej.bf)(t),itemLineHeight:(0,ej.bf)(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},eV=e=>{let{multipleSelectItemHeight:t,selectHeight:n,lineWidth:o}=e,r=e.calc(n).sub(t).div(2).sub(o).equal();return r},eF=e=>{let{componentCls:t,iconCls:n,borderRadiusSM:o,motionDurationSlow:r,paddingXS:i,multipleItemColorDisabled:l,multipleItemBorderColorDisabled:a,colorIcon:c,colorIconHover:u,INTERNAL_FIXED_ITEM_MARGIN:s}=e,d=`${t}-selection-overflow`;return{[d]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:s,borderRadius:o,cursor:"default",transition:`font-size ${r}, line-height ${r}, height ${r}`,marginInlineEnd:e.calc(s).mul(2).equal(),paddingInlineStart:i,paddingInlineEnd:e.calc(i).div(2).equal(),[`${t}-disabled&`]:{color:l,borderColor:a,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(i).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,eD.Ro)()),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},eA=(e,t)=>{let{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:o}=e,r=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,l=eV(e),a=t?`${n}-${t}`:"",c=eB(e);return{[`${n}-multiple${a}`]:Object.assign(Object.assign({},eF(e)),{[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:c.basePadding,paddingBlock:c.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,ej.bf)(o)} 0`,lineHeight:(0,ej.bf)(i),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:c.itemHeight,lineHeight:(0,ej.bf)(c.itemLineHeight)},[`${r}-item + ${r}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${r}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(l).equal(),[` - &-input, - &-mirror - `]:{height:i,fontFamily:e.fontFamily,lineHeight:(0,ej.bf)(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function eW(e,t){let{componentCls:n}=e,o=t?`${n}-${t}`:"",r={[`${n}-multiple${o}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` - &${n}-show-arrow ${n}-selector, - &${n}-allow-clear ${n}-selector - `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[eA(e,t),r]}var e_=e=>{let{componentCls:t}=e,n=(0,eP.IX)(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=(0,eP.IX)(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[eW(e),eW(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},eW(o,"lg")]};function eK(e,t){let{componentCls:n,inputPaddingHorizontalBase:o,borderRadius:r}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),l=t?`${n}-${t}`:"";return{[`${n}-single${l}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},(0,eD.Wf)(e,!0)),{display:"flex",borderRadius:r,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:o,insetInlineEnd:o,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` - ${n}-selection-item, - ${n}-selection-placeholder - `]:{padding:0,lineHeight:(0,ej.bf)(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[`&:after,${n}-selection-item:empty:after,${n}-selection-placeholder:empty:after`]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` - &${n}-show-arrow ${n}-selection-item, - &${n}-show-arrow ${n}-selection-placeholder - `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${(0,ej.bf)(o)}`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:(0,ej.bf)(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,ej.bf)(o)}`,"&:after":{display:"none"}}}}}}}let eX=(e,t)=>{let{componentCls:n,antCls:o,controlOutlineWidth:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${(0,ej.bf)(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${o}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${(0,ej.bf)(r)} ${t.activeShadowColor}`,outline:0}}}},eY=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},eX(e,t))}),eG=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},eX(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),eY(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),eY(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,ej.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),eq=(e,t)=>{let{componentCls:n,antCls:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${(0,ej.bf)(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${o}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},eU=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},eq(e,t))}),eQ=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},eq(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),eU(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),eU(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${(0,ej.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),eJ=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,ej.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-selection-item`]:{color:e.colorWarning}}}});var e0=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},eG(e)),eQ(e)),eJ(e))});let e1=e=>{let{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},e2=e=>{let{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},e4=e=>{let{antCls:t,componentCls:n,inputPaddingHorizontalBase:o,iconCls:r}=e;return{[n]:Object.assign(Object.assign({},(0,eD.Wf)(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},e1(e)),e2(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},eD.vS),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},eD.vS),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},(0,eD.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[r]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${n}-clear`]:{opacity:1},[`${n}-arrow:not(:last-child)`]:{opacity:0}}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(o).add(e.fontSize).add(e.paddingXS).equal()}}}},e6=e=>{let{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},e4(e),function(e){let{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[eK(e),eK((0,eP.IX)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${(0,ej.bf)(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` - &${t}-show-arrow ${t}-selection-item, - &${t}-show-arrow ${t}-selection-placeholder - `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},eK((0,eP.IX)(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}(e),e_(e),eL(e),{[`${t}-rtl`]:{direction:"rtl"}},(0,eN.c)(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]};var e3=(0,eH.I$)("Select",(e,t)=>{let{rootPrefixCls:n}=t,o=(0,eP.IX)(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[e6(o),e0(o)]},e=>{let{fontSize:t,lineHeight:n,lineWidth:o,controlHeight:r,controlHeightSM:i,controlHeightLG:l,paddingXXS:a,controlPaddingHorizontal:c,zIndexPopupBase:u,colorText:s,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:p,colorBgContainer:m,colorFillSecondary:v,colorBgContainerDisabled:g,colorTextDisabled:h}=e,b=2*a,S=2*o;return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(a/2),zIndexPopup:u+50,optionSelectedColor:s,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:p,optionPadding:`${(r-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:m,clearBg:m,singleItemHeightLG:l,multipleItemBg:v,multipleItemBorderColor:"transparent",multipleItemHeight:Math.min(r-b,r-S),multipleItemHeightSM:Math.min(i-b,i-S),multipleItemHeightLG:Math.min(l-b,l-S),multipleSelectorBgDisabled:g,multipleItemColorDisabled:h,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize)}},{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}}),e9=n(69274),e5=n(86298),e7=n(84223),e8=n(12299),te=n(37022),tt=n(29766),tn=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let to="SECRET_COMBOBOX_MODE_DO_NOT_USE",tr=o.forwardRef((e,t)=>{var n,r,l;let a;let{prefixCls:c,bordered:u,className:s,rootClassName:d,getPopupContainer:f,popupClassName:p,dropdownClassName:m,listHeight:v=256,placement:g,listItemHeight:h,size:b,disabled:S,notFoundContent:w,status:E,builtinPlacements:y,dropdownMatchSelectWidth:C,popupMatchSelectWidth:Z,direction:x,style:$,allowClear:I,variant:M,dropdownStyle:R,transitionName:O,tagRender:D,maxCount:N}=e,H=tn(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:P,getPrefixCls:z,renderEmpty:T,direction:k,virtual:L,popupMatchSelectWidth:j,popupOverflow:B,select:V}=o.useContext(eE.E_),[,F]=(0,eR.ZP)(),A=null!=h?h:null==F?void 0:F.controlHeight,W=z("select",c),_=z(),K=null!=x?x:k,{compactSize:X,compactItemClassnames:Y}=(0,eM.ri)(W,K),[G,q]=(0,eI.Z)("select",M,u),U=(0,eZ.Z)(W),[Q,J,et]=e3(W,U),en=o.useMemo(()=>{let{mode:t}=e;return"combobox"===t?void 0:t===to?"combobox":t},[e.mode]),eo="multiple"===en||"tags"===en,er=(r=e.suffixIcon,void 0!==(l=e.showArrow)?l:null!==r),ei=null!==(n=null!=Z?Z:C)&&void 0!==n?n:j,{status:el,hasFeedback:ea,isFormItemInput:ec,feedbackIcon:eu}=o.useContext(e$.aM),es=(0,ew.F)(el,E);a=void 0!==w?w:"combobox"===en?null:(null==T?void 0:T("Select"))||o.createElement(ey.Z,{componentName:"Select"});let{suffixIcon:ed,itemIcon:ef,removeIcon:ep,clearIcon:em}=function(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:i,loading:l,multiple:a,hasFeedback:c,prefixCls:u,showSuffixIcon:s,feedbackIcon:d,showArrow:f,componentName:p}=e,m=null!=n?n:o.createElement(e5.Z,null),v=e=>null!==t||c||f?o.createElement(o.Fragment,null,!1!==s&&e,c&&d):null,g=null;if(void 0!==t)g=v(t);else if(l)g=v(o.createElement(te.Z,{spin:!0}));else{let e=`${u}-suffix`;g=t=>{let{open:n,showSearch:r}=t;return n&&r?v(o.createElement(tt.Z,{className:e})):v(o.createElement(e8.Z,{className:e}))}}let h=null;return h=void 0!==r?r:a?o.createElement(e9.Z,null):null,{clearIcon:m,suffixIcon:g,itemIcon:h,removeIcon:void 0!==i?i:o.createElement(e7.Z,null)}}(Object.assign(Object.assign({},H),{multiple:eo,hasFeedback:ea,feedbackIcon:eu,showSuffixIcon:er,prefixCls:W,componentName:"Select"})),ev=(0,ee.Z)(H,["suffixIcon","itemIcon"]),eS=i()(p||m,{[`${W}-dropdown-${K}`]:"rtl"===K},d,et,U,J),eD=(0,ex.Z)(e=>{var t;return null!==(t=null!=b?b:X)&&void 0!==t?t:e}),eN=o.useContext(eC.Z),eH=i()({[`${W}-lg`]:"large"===eD,[`${W}-sm`]:"small"===eD,[`${W}-rtl`]:"rtl"===K,[`${W}-${G}`]:q,[`${W}-in-form-item`]:ec},(0,ew.Z)(W,es,ea),Y,null==V?void 0:V.className,s,d,et,U,J),eP=o.useMemo(()=>void 0!==g?g:"rtl"===K?"bottomRight":"bottomLeft",[g,K]),[ez]=(0,eh.Cn)("SelectLike",null==R?void 0:R.zIndex);return Q(o.createElement(eg,Object.assign({ref:t,virtual:L,showSearch:null==V?void 0:V.showSearch},ev,{style:Object.assign(Object.assign({},null==V?void 0:V.style),$),dropdownMatchSelectWidth:ei,transitionName:(0,eb.m)(_,"slide-up",O),builtinPlacements:y||eO(B),listHeight:v,listItemHeight:A,mode:en,prefixCls:W,placement:eP,direction:K,suffixIcon:ed,menuItemSelectedIcon:ef,removeIcon:ep,allowClear:!0===I?{clearIcon:em}:I,notFoundContent:a,className:eH,getPopupContainer:f||P,dropdownClassName:eS,disabled:null!=S?S:eN,dropdownStyle:Object.assign(Object.assign({},R),{zIndex:ez}),maxCount:eo?N:void 0,tagRender:eo?D:void 0})))}),ti=(0,eS.Z)(tr);tr.SECRET_COMBOBOX_MODE_DO_NOT_USE=to,tr.Option=Q,tr.OptGroup=U,tr._InternalPanelDoNotUseOrYouWillBeFired=ti;var tl=tr},13614:function(e,t,n){n.d(t,{Z:function(){return H}});var o=n(42096),r=n(14433),i=n(4247),l=n(65148),a=n(65347),c=n(10921),u=n(26869),s=n.n(u),d=n(31617),f=n(81581),p=n(46644),m=n(38497),v=n(2060),g=m.forwardRef(function(e,t){var n=e.height,r=e.offsetY,a=e.offsetX,c=e.children,u=e.prefixCls,f=e.onInnerResize,p=e.innerProps,v=e.rtl,g=e.extra,h={},b={display:"flex",flexDirection:"column"};return void 0!==r&&(h={height:n,position:"relative",overflow:"hidden"},b=(0,i.Z)((0,i.Z)({},b),{},(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({transform:"translateY(".concat(r,"px)")},v?"marginRight":"marginLeft",-a),"position","absolute"),"left",0),"right",0),"top",0))),m.createElement("div",{style:h},m.createElement(d.Z,{onResize:function(e){e.offsetHeight&&f&&f()}},m.createElement("div",(0,o.Z)({style:b,className:s()((0,l.Z)({},"".concat(u,"-holder-inner"),u)),ref:t},p),c,g)))});function h(e){var t=e.children,n=e.setRef,o=m.useCallback(function(e){n(e)},[]);return m.cloneElement(t,{ref:o})}g.displayName="Filler";var b=n(25043),S=("undefined"==typeof navigator?"undefined":(0,r.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),w=function(e,t,n,o){var r=(0,m.useRef)(!1),i=(0,m.useRef)(null),l=(0,m.useRef)({top:e,bottom:t,left:n,right:o});return l.current.top=e,l.current.bottom=t,l.current.left=n,l.current.right=o,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e?t<0&&l.current.left||t>0&&l.current.right:t<0&&l.current.top||t>0&&l.current.bottom;return n&&o?(clearTimeout(i.current),r.current=!1):(!o||r.current)&&(clearTimeout(i.current),r.current=!0,i.current=setTimeout(function(){r.current=!1},50)),!r.current&&o}},E=n(42502),y=n(97290),C=n(80972),Z=function(){function e(){(0,y.Z)(this,e),(0,l.Z)(this,"maps",void 0),(0,l.Z)(this,"id",0),this.maps=Object.create(null)}return(0,C.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),x=14/15;function $(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}var I=m.forwardRef(function(e,t){var n=e.prefixCls,o=e.rtl,r=e.scrollOffset,c=e.scrollRange,u=e.onStartMove,d=e.onStopMove,f=e.onScroll,p=e.horizontal,v=e.spinSize,g=e.containerSize,h=e.style,S=e.thumbStyle,w=m.useState(!1),E=(0,a.Z)(w,2),y=E[0],C=E[1],Z=m.useState(null),x=(0,a.Z)(Z,2),I=x[0],M=x[1],R=m.useState(null),O=(0,a.Z)(R,2),D=O[0],N=O[1],H=!o,P=m.useRef(),z=m.useRef(),T=m.useState(!1),k=(0,a.Z)(T,2),L=k[0],j=k[1],B=m.useRef(),V=function(){clearTimeout(B.current),j(!0),B.current=setTimeout(function(){j(!1)},3e3)},F=c-g||0,A=g-v||0,W=m.useMemo(function(){return 0===r||0===F?0:r/F*A},[r,F,A]),_=m.useRef({top:W,dragging:y,pageY:I,startTop:D});_.current={top:W,dragging:y,pageY:I,startTop:D};var K=function(e){C(!0),M($(e,p)),N(_.current.top),u(),e.stopPropagation(),e.preventDefault()};m.useEffect(function(){var e=function(e){e.preventDefault()},t=P.current,n=z.current;return t.addEventListener("touchstart",e,{passive:!1}),n.addEventListener("touchstart",K,{passive:!1}),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",K)}},[]);var X=m.useRef();X.current=F;var Y=m.useRef();Y.current=A,m.useEffect(function(){if(y){var e,t=function(t){var n=_.current,o=n.dragging,r=n.pageY,i=n.startTop;b.Z.cancel(e);var l=P.current.getBoundingClientRect(),a=g/(p?l.width:l.height);if(o){var c=($(t,p)-r)*a,u=i;!H&&p?u-=c:u+=c;var s=X.current,d=Y.current,m=Math.ceil((d?u/d:0)*s);m=Math.min(m=Math.max(m,0),s),e=(0,b.Z)(function(){f(m,p)})}},n=function(){C(!1),d()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",n,{passive:!0}),window.addEventListener("touchend",n,{passive:!0}),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),b.Z.cancel(e)}}},[y]),m.useEffect(function(){return V(),function(){clearTimeout(B.current)}},[r]),m.useImperativeHandle(t,function(){return{delayHidden:V}});var G="".concat(n,"-scrollbar"),q={position:"absolute",visibility:L?null:"hidden"},U={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return p?(q.height=8,q.left=0,q.right=0,q.bottom=0,U.height="100%",U.width=v,H?U.left=W:U.right=W):(q.width=8,q.top=0,q.bottom=0,H?q.right=0:q.left=0,U.width="100%",U.height=v,U.top=W),m.createElement("div",{ref:P,className:s()(G,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(G,"-horizontal"),p),"".concat(G,"-vertical"),!p),"".concat(G,"-visible"),L)),style:(0,i.Z)((0,i.Z)({},q),h),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:V},m.createElement("div",{ref:z,className:s()("".concat(G,"-thumb"),(0,l.Z)({},"".concat(G,"-thumb-moving"),y)),style:(0,i.Z)((0,i.Z)({},U),S),onMouseDown:K}))});function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),Math.floor(n=Math.max(n,20))}var R=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],O=[],D={overflowY:"auto",overflowAnchor:"none"},N=m.forwardRef(function(e,t){var n,u,y,C,$,N,H,P,z,T,k,L,j,B,V,F,A,W,_,K,X,Y,G,q,U,Q,J,ee,et,en,eo,er,ei,el,ea,ec,eu=e.prefixCls,es=void 0===eu?"rc-virtual-list":eu,ed=e.className,ef=e.height,ep=e.itemHeight,em=e.fullHeight,ev=e.style,eg=e.data,eh=e.children,eb=e.itemKey,eS=e.virtual,ew=e.direction,eE=e.scrollWidth,ey=e.component,eC=void 0===ey?"div":ey,eZ=e.onScroll,ex=e.onVirtualScroll,e$=e.onVisibleChange,eI=e.innerProps,eM=e.extraRender,eR=e.styles,eO=(0,c.Z)(e,R),eD=m.useCallback(function(e){return"function"==typeof eb?eb(e):null==e?void 0:e[eb]},[eb]),eN=function(e,t,n){var o=m.useState(0),r=(0,a.Z)(o,2),i=r[0],l=r[1],c=(0,m.useRef)(new Map),u=(0,m.useRef)(new Z),s=(0,m.useRef)();function d(){b.Z.cancel(s.current)}function f(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d();var t=function(){c.current.forEach(function(e,t){if(e&&e.offsetParent){var n=(0,E.ZP)(e),o=n.offsetHeight;u.current.get(t)!==o&&u.current.set(t,n.offsetHeight)}}),l(function(e){return e+1})};e?t():s.current=(0,b.Z)(t)}return(0,m.useEffect)(function(){return d},[]),[function(o,r){var i=e(o),l=c.current.get(i);r?(c.current.set(i,r),f()):c.current.delete(i),!l!=!r&&(r?null==t||t(o):null==n||n(o))},f,u.current,i]}(eD,null,null),eH=(0,a.Z)(eN,4),eP=eH[0],ez=eH[1],eT=eH[2],ek=eH[3],eL=!!(!1!==eS&&ef&&ep),ej=m.useMemo(function(){return Object.values(eT.maps).reduce(function(e,t){return e+t},0)},[eT.id,eT.maps]),eB=eL&&eg&&(Math.max(ep*eg.length,ej)>ef||!!eE),eV="rtl"===ew,eF=s()(es,(0,l.Z)({},"".concat(es,"-rtl"),eV),ed),eA=eg||O,eW=(0,m.useRef)(),e_=(0,m.useRef)(),eK=(0,m.useRef)(),eX=(0,m.useState)(0),eY=(0,a.Z)(eX,2),eG=eY[0],eq=eY[1],eU=(0,m.useState)(0),eQ=(0,a.Z)(eU,2),eJ=eQ[0],e0=eQ[1],e1=(0,m.useState)(!1),e2=(0,a.Z)(e1,2),e4=e2[0],e6=e2[1],e3=function(){e6(!0)},e9=function(){e6(!1)};function e5(e){eq(function(t){var n,o=(n="function"==typeof e?e(t):e,Number.isNaN(tg.current)||(n=Math.min(n,tg.current)),n=Math.max(n,0));return eW.current.scrollTop=o,o})}var e7=(0,m.useRef)({start:0,end:eA.length}),e8=(0,m.useRef)(),te=(u=m.useState(eA),C=(y=(0,a.Z)(u,2))[0],$=y[1],N=m.useState(null),P=(H=(0,a.Z)(N,2))[0],z=H[1],m.useEffect(function(){var e=function(e,t,n){var o,r,i=e.length,l=t.length;if(0===i&&0===l)return null;i=eG&&void 0===t&&(t=l,n=r),u>eG+ef&&void 0===o&&(o=l),r=u}return void 0===t&&(t=0,n=0,o=Math.ceil(ef/ep)),void 0===o&&(o=eA.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,eA.length-1),offset:n}},[eB,eL,eG,eA,ek,ef]),to=tn.scrollHeight,tr=tn.start,ti=tn.end,tl=tn.offset;e7.current.start=tr,e7.current.end=ti;var ta=m.useState({width:0,height:ef}),tc=(0,a.Z)(ta,2),tu=tc[0],ts=tc[1],td=(0,m.useRef)(),tf=(0,m.useRef)(),tp=m.useMemo(function(){return M(tu.width,eE)},[tu.width,eE]),tm=m.useMemo(function(){return M(tu.height,to)},[tu.height,to]),tv=to-ef,tg=(0,m.useRef)(tv);tg.current=tv;var th=eG<=0,tb=eG>=tv,tS=eJ<=0,tw=eJ>=eE,tE=w(th,tb,tS,tw),ty=function(){return{x:eV?-eJ:eJ,y:eG}},tC=(0,m.useRef)(ty()),tZ=(0,f.zX)(function(e){if(ex){var t=(0,i.Z)((0,i.Z)({},ty()),e);(tC.current.x!==t.x||tC.current.y!==t.y)&&(ex(t),tC.current=t)}});function tx(e,t){t?((0,v.flushSync)(function(){e0(e)}),tZ()):e5(e)}var t$=function(e){var t=e,n=eE?eE-tu.width:0;return Math.min(t=Math.max(t,0),n)},tI=(0,f.zX)(function(e,t){t?((0,v.flushSync)(function(){e0(function(t){return t$(t+(eV?-e:e))})}),tZ()):e5(function(t){return t+e})}),tM=(T=!!eE,k=(0,m.useRef)(0),L=(0,m.useRef)(null),j=(0,m.useRef)(null),B=(0,m.useRef)(!1),V=w(th,tb,tS,tw),F=(0,m.useRef)(null),A=(0,m.useRef)(null),[function(e){if(eL){b.Z.cancel(A.current),A.current=(0,b.Z)(function(){F.current=null},2);var t,n=e.deltaX,o=e.deltaY,r=e.shiftKey,i=n,l=o;("sx"===F.current||!F.current&&r&&o&&!n)&&(i=o,l=0,F.current="sx");var a=Math.abs(i),c=Math.abs(l);(null===F.current&&(F.current=T&&a>c?"x":"y"),"y"===F.current)?(t=l,b.Z.cancel(L.current),k.current+=t,j.current=t,V(!1,t)||(S||e.preventDefault(),L.current=(0,b.Z)(function(){var e=B.current?10:1;tI(k.current*e),k.current=0}))):(tI(i,!0),S||e.preventDefault())}},function(e){eL&&(B.current=e.detail===j.current)}]),tR=(0,a.Z)(tM,2),tO=tR[0],tD=tR[1];W=function(e,t,n){return!tE(e,t,n)&&(tO({preventDefault:function(){},deltaX:e?t:0,deltaY:e?0:t}),!0)},K=(0,m.useRef)(!1),X=(0,m.useRef)(0),Y=(0,m.useRef)(0),G=(0,m.useRef)(null),q=(0,m.useRef)(null),U=function(e){if(K.current){var t=Math.ceil(e.touches[0].pageX),n=Math.ceil(e.touches[0].pageY),o=X.current-t,r=Y.current-n,i=Math.abs(o)>Math.abs(r);i?X.current=t:Y.current=n,W(i,i?o:r)&&e.preventDefault(),clearInterval(q.current),q.current=setInterval(function(){i?o*=x:r*=x;var e=Math.floor(i?o:r);(!W(i,e,!0)||.1>=Math.abs(e))&&clearInterval(q.current)},16)}},Q=function(){K.current=!1,_()},J=function(e){_(),1!==e.touches.length||K.current||(K.current=!0,X.current=Math.ceil(e.touches[0].pageX),Y.current=Math.ceil(e.touches[0].pageY),G.current=e.target,G.current.addEventListener("touchmove",U,{passive:!1}),G.current.addEventListener("touchend",Q,{passive:!0}))},_=function(){G.current&&(G.current.removeEventListener("touchmove",U),G.current.removeEventListener("touchend",Q))},(0,p.Z)(function(){return eL&&eW.current.addEventListener("touchstart",J,{passive:!0}),function(){var e;null===(e=eW.current)||void 0===e||e.removeEventListener("touchstart",J),_(),clearInterval(q.current)}},[eL]),(0,p.Z)(function(){function e(e){eL&&e.preventDefault()}var t=eW.current;return t.addEventListener("wheel",tO,{passive:!1}),t.addEventListener("DOMMouseScroll",tD,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){t.removeEventListener("wheel",tO),t.removeEventListener("DOMMouseScroll",tD),t.removeEventListener("MozMousePixelScroll",e)}},[eL]),(0,p.Z)(function(){if(eE){var e=t$(eJ);e0(e),tZ({x:e})}},[tu.width,eE]);var tN=function(){var e,t;null===(e=td.current)||void 0===e||e.delayHidden(),null===(t=tf.current)||void 0===t||t.delayHidden()},tH=(ee=m.useRef(),et=m.useState(null),eo=(en=(0,a.Z)(et,2))[0],er=en[1],(0,p.Z)(function(){if(eo&&eo.times<10){if(!eW.current){er(function(e){return(0,i.Z)({},e)});return}ez(!0);var e=eo.targetAlign,t=eo.originAlign,n=eo.index,o=eo.offset,r=eW.current.clientHeight,l=!1,a=e,c=null;if(r){for(var u=e||t,s=0,d=0,f=0,p=Math.min(eA.length-1,n),m=0;m<=p;m+=1){var v=eD(eA[m]);d=s;var g=eT.get(v);s=f=d+(void 0===g?ep:g)}for(var h="top"===u?o:r-o,b=p;b>=0;b-=1){var S=eD(eA[b]),w=eT.get(S);if(void 0===w){l=!0;break}if((h-=w)<=0)break}switch(u){case"top":c=d-o;break;case"bottom":c=f-r+o;break;default:var E=eW.current.scrollTop;dE+r&&(a="bottom")}null!==c&&e5(c),c!==eo.lastTop&&(l=!0)}l&&er((0,i.Z)((0,i.Z)({},eo),{},{times:eo.times+1,targetAlign:a,lastTop:c}))}},[eo,eW.current]),function(e){if(null==e){tN();return}if(b.Z.cancel(ee.current),"number"==typeof e)e5(e);else if(e&&"object"===(0,r.Z)(e)){var t,n=e.align;t="index"in e?e.index:eA.findIndex(function(t){return eD(t)===e.key});var o=e.offset;er({times:0,index:t,offset:void 0===o?0:o,originAlign:n})}});m.useImperativeHandle(t,function(){return{nativeElement:eK.current,getScrollInfo:ty,scrollTo:function(e){e&&"object"===(0,r.Z)(e)&&("left"in e||"top"in e)?(void 0!==e.left&&e0(t$(e.left)),tH(e.top)):tH(e)}}}),(0,p.Z)(function(){e$&&e$(eA.slice(tr,ti+1),eA)},[tr,ti,eA]);var tP=(ei=m.useMemo(function(){return[new Map,[]]},[eA,eT.id,ep]),ea=(el=(0,a.Z)(ei,2))[0],ec=el[1],function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=ea.get(e),o=ea.get(t);if(void 0===n||void 0===o)for(var r=eA.length,i=ec.length;ief&&m.createElement(I,{ref:td,prefixCls:es,scrollOffset:eG,scrollRange:to,rtl:eV,onScroll:tx,onStartMove:e3,onStopMove:e9,spinSize:tm,containerSize:tu.height,style:null==eR?void 0:eR.verticalScrollBar,thumbStyle:null==eR?void 0:eR.verticalScrollBarThumb}),eB&&eE>tu.width&&m.createElement(I,{ref:tf,prefixCls:es,scrollOffset:eJ,scrollRange:eE,rtl:eV,onScroll:tx,onStartMove:e3,onStopMove:e9,spinSize:tp,containerSize:tu.width,horizontal:!0,style:null==eR?void 0:eR.horizontalScrollBar,thumbStyle:null==eR?void 0:eR.horizontalScrollBarThumb}))});N.displayName="List";var H=N}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6253-5e1529b585a09158.js b/dbgpt/app/static/web/_next/static/chunks/6253-5e1529b585a09158.js deleted file mode 100644 index 527b5cc11..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/6253-5e1529b585a09158.js +++ /dev/null @@ -1,18 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6253],{69274:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},l=n(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},72097:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},l=n(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},44875:function(e,t,n){"use strict";async function r(e,t){let n;let r=e.getReader();for(;!(n=await r.read()).done;)t(n.value)}function a(){return{data:"",event:"",id:"",retry:void 0}}n.d(t,{a:function(){return l},L:function(){return u}});var o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let l="text/event-stream",i="last-event-id";function u(e,t){var{signal:n,headers:u,onopen:c,onmessage:d,onclose:f,onerror:m,openWhenHidden:v,fetch:g}=t,p=o(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,o)=>{let h;let b=Object.assign({},u);function y(){h.abort(),document.hidden||O()}b.accept||(b.accept=l),v||document.addEventListener("visibilitychange",y);let C=1e3,k=0;function E(){document.removeEventListener("visibilitychange",y),window.clearTimeout(k),h.abort()}null==n||n.addEventListener("abort",()=>{E(),t()});let x=null!=g?g:window.fetch,w=null!=c?c:s;async function O(){var n,l;h=new AbortController;try{let n,o,u,s;let c=await x(e,Object.assign(Object.assign({},p),{headers:b,signal:h.signal}));await w(c),await r(c.body,(l=function(e,t,n){let r=a(),o=new TextDecoder;return function(l,i){if(0===l.length)null==n||n(r),r=a();else if(i>0){let n=o.decode(l.subarray(0,i)),a=i+(32===l[i+1]?2:1),u=o.decode(l.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+u:u;break;case"event":r.event=u;break;case"id":e(r.id=u);break;case"retry":let s=parseInt(u,10);isNaN(s)||t(r.retry=s)}}}}(e=>{e?b[i]=e:delete b[i]},e=>{C=e},d),s=!1,function(e){void 0===n?(n=e,o=0,u=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;o130&&v<_.length),z(a,r,f)},p=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",g),document.removeEventListener("touchend",e),document.removeEventListener("touchmove",g),R.current=null,F.current=null,s(f),x(-1),Z(!1)};document.addEventListener("mouseup",p),document.addEventListener("mousemove",g),document.addEventListener("touchend",p),document.addEventListener("touchmove",g),R.current=g,F.current=p}]},I=r.forwardRef(function(e,t){var n,a,g,p,h,b,y,C=e.prefixCls,E=void 0===C?"rc-slider":C,x=e.className,w=e.style,O=e.classNames,Z=e.styles,M=e.disabled,P=void 0!==M&&M,B=e.keyboard,I=void 0===B||B,N=e.autoFocus,R=e.onFocus,F=e.onBlur,L=e.min,H=void 0===L?0:L,T=e.max,A=void 0===T?100:T,z=e.step,q=void 0===z?1:z,V=e.value,X=e.defaultValue,W=e.range,G=e.count,K=e.onChange,Y=e.onBeforeChange,U=e.onAfterChange,Q=e.onChangeComplete,J=e.allowCross,ee=e.pushable,et=void 0!==ee&&ee,en=e.reverse,er=e.vertical,ea=e.included,eo=void 0===ea||ea,el=e.startPoint,ei=e.trackStyle,eu=e.handleStyle,es=e.railStyle,ec=e.dotStyle,ed=e.activeDotStyle,ef=e.marks,em=e.dots,ev=e.handleRender,eg=e.activeHandleRender,ep=e.track,eh=e.tabIndex,eb=void 0===eh?0:eh,ey=e.ariaLabelForHandle,eC=e.ariaLabelledByForHandle,ek=e.ariaValueTextFormatterForHandle,eE=r.useRef(null),ex=r.useRef(null),ew=r.useMemo(function(){return er?en?"ttb":"btt":en?"rtl":"ltr"},[en,er]),eO=(0,r.useMemo)(function(){if(!0===W||!W)return[!!W,!1,!1,0];var e=W.editable,t=W.draggableTrack;return[!0,e,!e&&t,W.minCount||0,W.maxCount]},[W]),e$=(0,c.Z)(eO,5),eZ=e$[0],eS=e$[1],eM=e$[2],e_=e$[3],eP=e$[4],eD=r.useMemo(function(){return isFinite(H)?H:0},[H]),eB=r.useMemo(function(){return isFinite(A)?A:100},[A]),ej=r.useMemo(function(){return null!==q&&q<=0?1:q},[q]),eI=r.useMemo(function(){return"boolean"==typeof et?!!et&&ej:et>=0&&et},[et,ej]),eN=r.useMemo(function(){return Object.keys(ef||{}).map(function(e){var t=ef[e],n={value:Number(e)};return t&&"object"===(0,s.Z)(t)&&!r.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(function(e){var t=e.label;return t||"number"==typeof t}).sort(function(e,t){return e.value-t.value})},[ef]),eR=(n=void 0===J||J,a=r.useCallback(function(e){return Math.max(eD,Math.min(eB,e))},[eD,eB]),g=r.useCallback(function(e){if(null!==ej){var t=eD+Math.round((a(e)-eD)/ej)*ej,n=function(e){return(String(e).split(".")[1]||"").length},r=Math.max(n(ej),n(eB),n(eD)),o=Number(t.toFixed(r));return eD<=o&&o<=eB?o:null}return null},[ej,eD,eB,a]),p=r.useCallback(function(e){var t=a(e),n=eN.map(function(e){return e.value});null!==ej&&n.push(g(e)),n.push(eD,eB);var r=n[0],o=eB-eD;return n.forEach(function(e){var n=Math.abs(t-e);n<=o&&(r=e,o=n)}),r},[eD,eB,eN,ej,a,g]),h=function e(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"==typeof n){var o,l=t[r],i=l+n,s=[];eN.forEach(function(e){s.push(e.value)}),s.push(eD,eB),s.push(g(l));var c=n>0?1:-1;"unit"===a?s.push(g(l+c*ej)):s.push(g(i)),s=s.filter(function(e){return null!==e}).filter(function(e){return n<0?e<=l:e>=l}),"unit"===a&&(s=s.filter(function(e){return e!==l}));var d="unit"===a?l:i,f=Math.abs((o=s[0])-d);if(s.forEach(function(e){var t=Math.abs(e-d);t1){var m=(0,u.Z)(t);return m[r]=o,e(m,n-c,r,a)}return o}return"min"===n?eD:"max"===n?eB:void 0},b=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",a=e[n],o=h(e,t,n,r);return{value:o,changed:o!==a}},y=function(e){return null===eI&&0===e||"number"==typeof eI&&e3&&void 0!==arguments[3]?arguments[3]:"unit",o=e.map(p),l=o[r],i=h(o,t,r,a);if(o[r]=i,!1===n){var u=eI||0;r>0&&o[r-1]!==l&&(o[r]=Math.max(o[r],o[r-1]+u)),r0;f-=1)for(var m=!0;y(o[f]-o[f-1])&&m;){var v=b(o,-1,f-1);o[f-1]=v.value,m=v.changed}for(var g=o.length-1;g>0;g-=1)for(var C=!0;y(o[g]-o[g-1])&&C;){var k=b(o,-1,g-1);o[g-1]=k.value,C=k.changed}for(var E=0;E=0?G+1:2;for(r=r.slice(0,o);r.length=0&&eE.current.focus(e)}e7(null)},[e6]);var e8=r.useMemo(function(){return(!eM||null!==ej)&&eM},[eM,ej]),e9=(0,d.zX)(function(e,t){e1(e,t),null==Y||Y(eX(eV))}),e5=-1!==eU;r.useEffect(function(){if(!e5){var e=eV.lastIndexOf(eQ);eE.current.focus(e)}},[e5]);var te=r.useMemo(function(){return(0,u.Z)(e0).sort(function(e,t){return e-t})},[e0]),tt=r.useMemo(function(){return eZ?[te[0],te[te.length-1]]:[eD,te[0]]},[te,eZ,eD]),tn=(0,c.Z)(tt,2),tr=tn[0],ta=tn[1];r.useImperativeHandle(t,function(){return{focus:function(){eE.current.focus(0)},blur:function(){var e,t=document.activeElement;null!==(e=ex.current)&&void 0!==e&&e.contains(t)&&(null==t||t.blur())}}}),r.useEffect(function(){N&&eE.current.focus(0)},[]);var to=r.useMemo(function(){return{min:eD,max:eB,direction:ew,disabled:P,keyboard:I,step:ej,included:eo,includedStart:tr,includedEnd:ta,range:eZ,tabIndex:eb,ariaLabelForHandle:ey,ariaLabelledByForHandle:eC,ariaValueTextFormatterForHandle:ek,styles:Z||{},classNames:O||{}}},[eD,eB,ew,P,I,ej,eo,tr,ta,eZ,eb,ey,eC,ek,Z,O]);return r.createElement(k.Provider,{value:to},r.createElement("div",{ref:ex,className:o()(E,x,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(E,"-disabled"),P),"".concat(E,"-vertical"),er),"".concat(E,"-horizontal"),!er),"".concat(E,"-with-marks"),eN.length)),style:w,onMouseDown:function(e){e.preventDefault();var t,n=ex.current.getBoundingClientRect(),r=n.width,a=n.height,o=n.left,l=n.top,i=n.bottom,u=n.right,s=e.clientX,c=e.clientY;switch(ew){case"btt":t=(i-c)/a;break;case"ttb":t=(c-l)/a;break;case"rtl":t=(u-s)/r;break;default:t=(s-o)/r}e2(eL(eD+t*(eB-eD)),e)}},r.createElement("div",{className:o()("".concat(E,"-rail"),null==O?void 0:O.rail),style:(0,l.Z)((0,l.Z)({},es),null==Z?void 0:Z.rail)}),!1!==ep&&r.createElement(D,{prefixCls:E,style:ei,values:eV,startPoint:el,onStartMove:e8?e9:void 0}),r.createElement(_,{prefixCls:E,marks:eN,dots:em,style:ec,activeStyle:ed}),r.createElement($,{ref:eE,prefixCls:E,style:eu,values:e0,draggingIndex:eU,draggingDelete:eJ,onStartMove:e9,onOffsetChange:function(e,t){if(!P){var n=eH(eV,e,t);null==Y||Y(eX(eV)),eW(n.values),e7(n.value)}},onFocus:R,onBlur:F,handleRender:ev,activeHandleRender:eg,onChangeComplete:eG,onDelete:eS?function(e){if(!P&&eS&&!(eV.length<=e_)){var t=(0,u.Z)(eV);t.splice(e,1),null==Y||Y(eX(t)),eW(t);var n=Math.max(0,e-1);eE.current.hideHelp(),eE.current.focus(n)}}:void 0}),r.createElement(S,{prefixCls:E,marks:eN,onClick:e2})))}),N=n(25043),R=n(63346),F=n(3482),L=n(7544),H=n(60205);let T=r.forwardRef((e,t)=>{let{open:n,draggingDelete:a}=e,o=(0,r.useRef)(null),l=n&&!a,i=(0,r.useRef)(null);function u(){N.Z.cancel(i.current),i.current=null}return r.useEffect(()=>(l?i.current=(0,N.Z)(()=>{var e;null===(e=o.current)||void 0===e||e.forceAlign(),i.current=null}):u(),u),[l,e.title]),r.createElement(H.Z,Object.assign({ref:(0,L.sQ)(o,t)},e,{open:l}))});var A=n(72178),z=n(51084),q=n(60848),V=n(90102),X=n(74934);let W=e=>{let{componentCls:t,antCls:n,controlSize:r,dotSize:a,marginFull:o,marginPart:l,colorFillContentHover:i,handleColorDisabled:u,calc:s,handleSize:c,handleSizeHover:d,handleActiveColor:f,handleActiveOutlineColor:m,handleLineWidth:v,handleLineWidthHover:g,motionDurationMid:p}=e;return{[t]:Object.assign(Object.assign({},(0,q.Wf)(e)),{position:"relative",height:r,margin:`${(0,A.bf)(l)} ${(0,A.bf)(o)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${(0,A.bf)(o)} ${(0,A.bf)(l)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${p}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${p}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:i},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${(0,A.bf)(v)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:c,height:c,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:s(v).mul(-1).equal(),insetBlockStart:s(v).mul(-1).equal(),width:s(c).add(s(v).mul(2)).equal(),height:s(c).add(s(v).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:c,height:c,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${(0,A.bf)(v)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:` - inset-inline-start ${p}, - inset-block-start ${p}, - width ${p}, - height ${p}, - box-shadow ${p}, - outline ${p} - `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:s(d).sub(c).div(2).add(g).mul(-1).equal(),insetBlockStart:s(d).sub(c).div(2).add(g).mul(-1).equal(),width:s(d).add(s(g).mul(2)).equal(),height:s(d).add(s(g).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${(0,A.bf)(g)} ${f}`,outline:`6px solid ${m}`,width:d,height:d,insetInlineStart:e.calc(c).sub(d).div(2).equal(),insetBlockStart:e.calc(c).sub(d).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:"none"}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:a,height:a,backgroundColor:e.colorBgElevated,border:`${(0,A.bf)(v)} solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` - ${t}-dot - `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:c,height:c,boxShadow:`0 0 0 ${(0,A.bf)(v)} ${u}`,insetInlineStart:0,insetBlockStart:0},[` - ${t}-mark-text, - ${t}-dot - `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},G=(e,t)=>{let{componentCls:n,railSize:r,handleSize:a,dotSize:o,marginFull:l,calc:i}=e,u=t?"paddingBlock":"paddingInline",s=t?"width":"height",c=t?"height":"width",d=t?"insetBlockStart":"insetInlineStart",f=t?"top":"insetInlineStart",m=i(r).mul(3).sub(a).div(2).equal(),v=i(a).sub(r).div(2).equal(),g=t?{borderWidth:`${(0,A.bf)(v)} 0`,transform:`translateY(${(0,A.bf)(i(v).mul(-1).equal())})`}:{borderWidth:`0 ${(0,A.bf)(v)}`,transform:`translateX(${(0,A.bf)(e.calc(v).mul(-1).equal())})`};return{[u]:r,[c]:i(r).mul(3).equal(),[`${n}-rail`]:{[s]:"100%",[c]:r},[`${n}-track,${n}-tracks`]:{[c]:r},[`${n}-track-draggable`]:Object.assign({},g),[`${n}-handle`]:{[d]:m},[`${n}-mark`]:{insetInlineStart:0,top:0,[f]:i(r).mul(3).add(t?0:l).equal(),[s]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[f]:r,[s]:"100%",[c]:r},[`${n}-dot`]:{position:"absolute",[d]:i(r).sub(o).div(2).equal()}}},K=e=>{let{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},G(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},Y=e=>{let{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},G(e,!1)),{height:"100%"})}};var U=(0,V.I$)("Slider",e=>{let t=(0,X.IX)(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[W(t),K(t),Y(t)]},e=>{let t=e.controlHeightLG/4,n=e.controlHeightSM/2,r=e.lineWidth+1,a=e.lineWidth+1.5,o=e.colorPrimary,l=new z.C(o).setAlpha(.2).toRgbString();return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:n,dotSize:8,handleLineWidth:r,handleLineWidthHover:a,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:o,handleActiveOutlineColor:l,handleColorDisabled:new z.C(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}});let Q=(0,r.createContext)({});function J(){let[e,t]=r.useState(!1),n=r.useRef(),a=()=>{N.Z.cancel(n.current)};return r.useEffect(()=>a,[]),[e,e=>{a(),e?t(e):n.current=(0,N.Z)(()=>{t(e)})}]}var ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let et=r.forwardRef((e,t)=>{let{prefixCls:n,range:a,className:l,rootClassName:i,style:u,disabled:s,tooltipPrefixCls:c,tipFormatter:d,tooltipVisible:f,getTooltipPopupContainer:m,tooltipPlacement:v,tooltip:g={},onChangeComplete:p}=e,h=ee(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:b}=e,{direction:y,slider:C,getPrefixCls:k,getPopupContainer:E}=r.useContext(R.E_),x=r.useContext(F.Z),{handleRender:w,direction:O}=r.useContext(Q),$="rtl"===(O||y),[Z,S]=J(),[M,_]=J(),P=Object.assign({},g),{open:D,placement:B,getPopupContainer:j,prefixCls:L,formatter:H}=P,A=null!=D?D:f,z=(Z||M)&&!1!==A,q=H||null===H?H:d||null===d?d:e=>"number"==typeof e?e.toString():"",[V,X]=J(),W=(e,t)=>e||(t?$?"left":"right":"top"),G=k("slider",n),[K,Y,et]=U(G),en=o()(l,null==C?void 0:C.className,i,{[`${G}-rtl`]:$,[`${G}-lock`]:V},Y,et);$&&!h.vertical&&(h.reverse=!h.reverse),r.useEffect(()=>{let e=()=>{(0,N.Z)(()=>{_(!1)},1)};return document.addEventListener("mouseup",e),()=>{document.removeEventListener("mouseup",e)}},[]);let er=a&&!A,ea=w||((e,t)=>{let{index:n}=t,a=e.props;function o(e,t,n){var r,o;n&&(null===(r=h[e])||void 0===r||r.call(h,t)),null===(o=a[e])||void 0===o||o.call(a,t)}let l=Object.assign(Object.assign({},a),{onMouseEnter:e=>{S(!0),o("onMouseEnter",e)},onMouseLeave:e=>{S(!1),o("onMouseLeave",e)},onMouseDown:e=>{_(!0),X(!0),o("onMouseDown",e)},onFocus:e=>{var t;_(!0),null===(t=h.onFocus)||void 0===t||t.call(h,e),o("onFocus",e,!0)},onBlur:e=>{var t;_(!1),null===(t=h.onBlur)||void 0===t||t.call(h,e),o("onBlur",e,!0)}}),i=r.cloneElement(e,l);return er?i:r.createElement(T,Object.assign({},P,{prefixCls:k("tooltip",null!=L?L:c),title:q?q(t.value):"",open:(!!A||z)&&null!==q,placement:W(null!=B?B:v,b),key:n,overlayClassName:`${G}-tooltip`,getPopupContainer:j||m||E}),i)}),eo=er?(e,t)=>{let n=r.cloneElement(e,{style:Object.assign(Object.assign({},e.props.style),{visibility:"hidden"})});return r.createElement(T,Object.assign({},P,{prefixCls:k("tooltip",null!=L?L:c),title:q?q(t.value):"",open:null!==q&&z,placement:W(null!=B?B:v,b),key:"tooltip",overlayClassName:`${G}-tooltip`,getPopupContainer:j||m||E,draggingDelete:t.draggingDelete}),n)}:void 0,el=Object.assign(Object.assign({},null==C?void 0:C.style),u);return K(r.createElement(I,Object.assign({},h,{step:h.step,range:a,className:en,style:el,disabled:null!=s?s:x,ref:t,prefixCls:G,handleRender:ea,activeHandleRender:eo,onChangeComplete:e=>{null==p||p(e),X(!1)}})))});var en=et},10755:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(38497),a=n(26869),o=n.n(a),l=n(10469),i=n(42041),u=n(63346),s=n(80214);let c=r.createContext({latestIndex:0}),d=c.Provider;var f=e=>{let{className:t,index:n,children:a,split:o,style:l}=e,{latestIndex:i}=r.useContext(c);return null==a?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:l},a),nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let g=r.forwardRef((e,t)=>{var n,a,s;let{getPrefixCls:c,space:g,direction:p}=r.useContext(u.E_),{size:h=null!==(n=null==g?void 0:g.size)&&void 0!==n?n:"small",align:b,className:y,rootClassName:C,children:k,direction:E="horizontal",prefixCls:x,split:w,style:O,wrap:$=!1,classNames:Z,styles:S}=e,M=v(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[_,P]=Array.isArray(h)?h:[h,h],D=(0,i.n)(P),B=(0,i.n)(_),j=(0,i.T)(P),I=(0,i.T)(_),N=(0,l.Z)(k,{keepEmpty:!0}),R=void 0===b&&"horizontal"===E?"center":b,F=c("space",x),[L,H,T]=(0,m.Z)(F),A=o()(F,null==g?void 0:g.className,H,`${F}-${E}`,{[`${F}-rtl`]:"rtl"===p,[`${F}-align-${R}`]:R,[`${F}-gap-row-${P}`]:D,[`${F}-gap-col-${_}`]:B},y,C,T),z=o()(`${F}-item`,null!==(a=null==Z?void 0:Z.item)&&void 0!==a?a:null===(s=null==g?void 0:g.classNames)||void 0===s?void 0:s.item),q=0,V=N.map((e,t)=>{var n,a;null!=e&&(q=t);let o=(null==e?void 0:e.key)||`${z}-${t}`;return r.createElement(f,{className:z,key:o,index:t,split:w,style:null!==(n=null==S?void 0:S.item)&&void 0!==n?n:null===(a=null==g?void 0:g.styles)||void 0===a?void 0:a.item},e)}),X=r.useMemo(()=>({latestIndex:q}),[q]);if(0===N.length)return null;let W={};return $&&(W.flexWrap="wrap"),!B&&I&&(W.columnGap=_),!D&&j&&(W.rowGap=P),L(r.createElement("div",Object.assign({ref:t,className:A,style:Object.assign(Object.assign(Object.assign({},W),null==g?void 0:g.style),O)},M),r.createElement(d,{value:X},V)))});g.Compact=s.ZP;var p=g},36647:function(e,t){"use strict";t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},33445:function(e,t,n){"use strict";n.d(t,{Fm:function(){return v}});var r=n(72178),a=n(60234);let o=new r.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new r.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),i=new r.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=new r.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),s=new r.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new r.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),d=new r.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),f=new r.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),m={"move-up":{inKeyframes:d,outKeyframes:f},"move-down":{inKeyframes:o,outKeyframes:l},"move-left":{inKeyframes:i,outKeyframes:u},"move-right":{inKeyframes:s,outKeyframes:c}},v=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:l}=m[t];return[(0,a.R)(r,o,l,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},18402:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{noSSR:function(){return l},default:function(){return i}});let r=n(77130),a=(n(38497),r._(n(91516)));function o(e){return{default:(null==e?void 0:e.default)||e}}function l(e,t){return delete t.webpack,delete t.modules,e(t)}function i(e,t){let n=a.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e}),r={...r,...t};let i=r.loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=i?i().then(o):Promise.resolve(o(()=>null))}):(delete r.webpack,delete r.modules,l(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56777:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return o}});let r=n(77130),a=r._(n(38497)),o=a.default.createContext(null)},91516:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});let r=n(77130),a=r._(n(38497)),o=n(56777),l=[],i=[],u=!1;function s(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function l(){if(!r){let t=new c(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!u){let e=n.webpack?n.webpack():n.modules;e&&i.push(t=>{for(let n of e)if(t.includes(n))return l()})}function s(e,t){!function(){l();let e=a.default.useContext(o.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let i=a.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:r.retry}),[]),a.default.useMemo(()=>{var t;return i.loading||i.error?a.default.createElement(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:r.retry}):i.loaded?a.default.createElement((t=i.loaded)&&t.default?t.default:t,e):null},[e,i])}return s.preload=()=>l(),s.displayName="LoadableComponent",a.default.forwardRef(s)}(s,e)}function f(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return f(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{f(l).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(u=!0,t());f(i,e).then(n,n)})),window.__NEXT_PRELOADREADY=d.preloadReady;let m=d},28469:function(e,t,n){e.exports=n(18402)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6537-c79001d682f4717e.js b/dbgpt/app/static/web/_next/static/chunks/6537-c79001d682f4717e.js new file mode 100644 index 000000000..1cc4cd189 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/6537-c79001d682f4717e.js @@ -0,0 +1,13 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6537,7343,9788,1708,9383,100,9305,2117],{96890:function(e,t,r){r.d(t,{Z:function(){return d}});var n=r(42096),o=r(10921),a=r(38497),l=r(42834),i=["type","children"],c=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[t];if("string"==typeof r&&r.length&&!c.has(r)){var n=document.createElement("script");n.setAttribute("src",r),n.setAttribute("data-namespace",r),e.length>t+1&&(n.onload=function(){s(e,t+1)},n.onerror=function(){s(e,t+1)}),c.add(r),document.body.appendChild(n)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,r=e.extraCommonProps,c=void 0===r?{}:r;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var d=a.forwardRef(function(e,t){var r=e.type,s=e.children,d=(0,o.Z)(e,i),u=null;return e.type&&(u=a.createElement("use",{xlinkHref:"#".concat(r)})),s&&(u=s),a.createElement(l.Z,(0,n.Z)({},c,d,{ref:t}),u)});return d.displayName="Iconfont",d}},67620:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},98028:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},71534:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},3936:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},1858:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},72828:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},31676:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},32857:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),o=r(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=r(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},92670:function(e,t,r){r.d(t,{Z:function(){return z}});var n=r(38497),o=r(26869),a=r.n(o),l=r(10469),i=r(66168),c=r(55091),s=r(63346),d=r(12299),u=r(749);let f=e=>{let{children:t}=e,{getPrefixCls:r}=n.useContext(s.E_),o=r("breadcrumb");return n.createElement("li",{className:`${o}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};f.__ANT_BREADCRUMB_SEPARATOR=!0;var b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function g(e,t,r,o){if(null==r)return null;let{className:l,onClick:c}=t,s=b(t,["className","onClick"]),d=Object.assign(Object.assign({},(0,i.Z)(s,{data:!0,aria:!0})),{onClick:c});return void 0!==o?n.createElement("a",Object.assign({},d,{className:a()(`${e}-link`,l),href:o}),r):n.createElement("span",Object.assign({},d,{className:a()(`${e}-link`,l)}),r)}var p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let m=e=>{let{prefixCls:t,separator:r="/",children:o,menu:a,overlay:l,dropdownProps:i,href:c}=e,s=(e=>{if(a||l){let r=Object.assign({},i);if(a){let e=a||{},{items:t}=e,o=p(e,["items"]);r.menu=Object.assign(Object.assign({},o),{items:null==t?void 0:t.map((e,t)=>{var{key:r,title:o,label:a,path:l}=e,i=p(e,["key","title","label","path"]);let s=null!=a?a:o;return l&&(s=n.createElement("a",{href:`${c}${l}`},s)),Object.assign(Object.assign({},i),{key:null!=r?r:t,label:s})})})}else l&&(r.overlay=l);return n.createElement(u.Z,Object.assign({placement:"bottom"},r),n.createElement("span",{className:`${t}-overlay-link`},e,n.createElement(d.Z,null)))}return e})(o);return null!=s?n.createElement(n.Fragment,null,n.createElement("li",null,s),r&&n.createElement(f,null,r)):null},h=e=>{let{prefixCls:t,children:r,href:o}=e,a=p(e,["prefixCls","children","href"]),{getPrefixCls:l}=n.useContext(s.E_),i=l("breadcrumb",t);return n.createElement(m,Object.assign({},a,{prefixCls:i}),g(i,a,r,o))};h.__ANT_BREADCRUMB_ITEM=!0;var v=r(38083),y=r(60848),$=r(90102),O=r(74934);let S=e=>{let{componentCls:t,iconCls:r,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,y.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[r]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${(0,v.bf)(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:n(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,y.Qy)(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` + > ${r} + span, + > ${r} + a + `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${(0,v.bf)(e.paddingXXS)}`,marginInline:n(e.marginXXS).mul(-1).equal(),[`> ${r}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}};var x=(0,$.I$)("Breadcrumb",e=>{let t=(0,O.IX)(e,{});return S(t)},e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS})),C=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function j(e){let{breadcrumbName:t,children:r}=e,n=C(e,["breadcrumbName","children"]),o=Object.assign({title:t},n);return r&&(o.menu={items:r.map(e=>{var{breadcrumbName:t}=e;return Object.assign(Object.assign({},C(e,["breadcrumbName"])),{title:t})})}),o}var E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let w=(e,t)=>{if(void 0===t)return t;let r=(t||"").replace(/^\//,"");return Object.keys(e).forEach(t=>{r=r.replace(`:${t}`,e[t])}),r},k=e=>{let t;let{prefixCls:r,separator:o="/",style:d,className:u,rootClassName:b,routes:p,items:h,children:v,itemRender:y,params:$={}}=e,O=E(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:S,direction:C,breadcrumb:k}=n.useContext(s.E_),z=S("breadcrumb",r),[H,N,I]=x(z),T=(0,n.useMemo)(()=>h||(p?p.map(j):null),[h,p]),R=(e,t,r,n,o)=>{if(y)return y(e,t,r,n);let a=function(e,t){if(void 0===e.title||null===e.title)return null;let r=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(RegExp(`:(${r})`,"g"),(e,r)=>t[r]||e)}(e,t);return g(z,e,a,o)};if(T&&T.length>0){let e=[],r=h||p;t=T.map((t,a)=>{let{path:l,key:c,type:s,menu:d,overlay:u,onClick:b,className:g,separator:p,dropdownProps:h}=t,v=w($,l);void 0!==v&&e.push(v);let y=null!=c?c:a;if("separator"===s)return n.createElement(f,{key:y},p);let O={},S=a===T.length-1;d?O.menu=d:u&&(O.overlay=u);let{href:x}=t;return e.length&&void 0!==v&&(x=`#/${e.join("/")}`),n.createElement(m,Object.assign({key:y},O,(0,i.Z)(t,{data:!0,aria:!0}),{className:g,dropdownProps:h,href:x,separator:S?"":o,onClick:b,prefixCls:z}),R(t,$,r,e,x))})}else if(v){let e=(0,l.Z)(v).length;t=(0,l.Z)(v).map((t,r)=>t?(0,c.Tm)(t,{separator:r===e-1?"":o,key:r}):t)}let Z=a()(z,null==k?void 0:k.className,{[`${z}-rtl`]:"rtl"===C},u,b,N,I),B=Object.assign(Object.assign({},null==k?void 0:k.style),d);return H(n.createElement("nav",Object.assign({className:Z,style:B},O),n.createElement("ol",null,t)))};k.Item=h,k.Separator=f;var z=k},67343:function(e,t,r){r.d(t,{Z:function(){return H}});var n=r(38497),o=r(26869),a=r.n(o),l=r(55598),i=r(63346),c=r(82014),s=r(64009),d=r(5996),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},f=e=>{var{prefixCls:t,className:r,hoverable:o=!0}=e,l=u(e,["prefixCls","className","hoverable"]);let{getPrefixCls:c}=n.useContext(i.E_),s=c("card",t),d=a()(`${s}-grid`,r,{[`${s}-grid-hoverable`]:o});return n.createElement("div",Object.assign({},l,{className:d}))},b=r(38083),g=r(60848),p=r(90102),m=r(74934);let h=e=>{let{antCls:t,componentCls:r,headerHeight:n,cardPaddingBase:o,tabsMarginBottom:a}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${(0,b.bf)(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)} 0 0`},(0,g.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},g.vS),{[` + > ${r}-typography, + > ${r}-typography-edit-content + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:a,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},v=e=>{let{cardPaddingBase:t,colorBorderSecondary:r,cardShadow:n,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` + ${(0,b.bf)(o)} 0 0 0 ${r}, + 0 ${(0,b.bf)(o)} 0 0 ${r}, + ${(0,b.bf)(o)} ${(0,b.bf)(o)} 0 0 ${r}, + ${(0,b.bf)(o)} 0 0 0 ${r} inset, + 0 ${(0,b.bf)(o)} 0 0 ${r} inset; + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},y=e=>{let{componentCls:t,iconCls:r,actionsLiMargin:n,cardActionsIconSize:o,colorBorderSecondary:a,actionsBg:l}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:l,borderTop:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${a}`,display:"flex",borderRadius:`0 0 ${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)}`},(0,g.dF)()),{"& > li":{margin:n,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${r}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,b.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${r}`]:{fontSize:o,lineHeight:(0,b.bf)(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${a}`}}})},$=e=>Object.assign(Object.assign({margin:`${(0,b.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,g.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},g.vS),"&-description":{color:e.colorTextDescription}}),O=e=>{let{componentCls:t,cardPaddingBase:r,colorFillAlter:n}=e;return{[`${t}-head`]:{padding:`0 ${(0,b.bf)(r)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,b.bf)(e.padding)} ${(0,b.bf)(r)}`}}},S=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},x=e=>{let{componentCls:t,cardShadow:r,cardHeadPadding:n,colorBorderSecondary:o,boxShadowTertiary:a,cardPaddingBase:l,extraColor:i}=e;return{[t]:Object.assign(Object.assign({},(0,g.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:a},[`${t}-head`]:h(e),[`${t}-extra`]:{marginInlineStart:"auto",color:i,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:l,borderRadius:`0 0 ${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)}`},(0,g.dF)()),[`${t}-grid`]:v(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:y(e),[`${t}-meta`]:$(e)}),[`${t}-bordered`]:{border:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${o}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${t}-contain-grid`]:{borderRadius:`${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:n}}},[`${t}-type-inner`]:O(e),[`${t}-loading`]:S(e),[`${t}-rtl`]:{direction:"rtl"}}},C=e=>{let{componentCls:t,cardPaddingSM:r,headerHeightSM:n,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:n,padding:`0 ${(0,b.bf)(r)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:r}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}};var j=(0,p.I$)("Card",e=>{let t=(0,m.IX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[x(t),C(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let w=e=>{let{actionClasses:t,actions:r=[],actionStyle:o}=e;return n.createElement("ul",{className:t,style:o},r.map((e,t)=>{let o=`action-${t}`;return n.createElement("li",{style:{width:`${100/r.length}%`},key:o},n.createElement("span",null,e))}))},k=n.forwardRef((e,t)=>{let r;let{prefixCls:o,className:u,rootClassName:b,style:g,extra:p,headStyle:m={},bodyStyle:h={},title:v,loading:y,bordered:$=!0,size:O,type:S,cover:x,actions:C,tabList:k,children:z,activeTabKey:H,defaultActiveTabKey:N,tabBarExtraContent:I,hoverable:T,tabProps:R={},classNames:Z,styles:B}=e,P=E(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:M,direction:L,card:W}=n.useContext(i.E_),X=e=>{var t;return a()(null===(t=null==W?void 0:W.classNames)||void 0===t?void 0:t[e],null==Z?void 0:Z[e])},_=e=>{var t;return Object.assign(Object.assign({},null===(t=null==W?void 0:W.styles)||void 0===t?void 0:t[e]),null==B?void 0:B[e])},A=n.useMemo(()=>{let e=!1;return n.Children.forEach(z,t=>{(null==t?void 0:t.type)===f&&(e=!0)}),e},[z]),D=M("card",o),[G,V,F]=j(D),q=n.createElement(s.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},z),K=void 0!==H,U=Object.assign(Object.assign({},R),{[K?"activeKey":"defaultActiveKey"]:K?H:N,tabBarExtraContent:I}),Q=(0,c.Z)(O),J=k?n.createElement(d.Z,Object.assign({size:Q&&"default"!==Q?Q:"large"},U,{className:`${D}-head-tabs`,onChange:t=>{var r;null===(r=e.onTabChange)||void 0===r||r.call(e,t)},items:k.map(e=>{var{tab:t}=e;return Object.assign({label:t},E(e,["tab"]))})})):null;if(v||p||J){let e=a()(`${D}-head`,X("header")),t=a()(`${D}-head-title`,X("title")),o=a()(`${D}-extra`,X("extra")),l=Object.assign(Object.assign({},m),_("header"));r=n.createElement("div",{className:e,style:l},n.createElement("div",{className:`${D}-head-wrapper`},v&&n.createElement("div",{className:t,style:_("title")},v),p&&n.createElement("div",{className:o,style:_("extra")},p)),J)}let Y=a()(`${D}-cover`,X("cover")),ee=x?n.createElement("div",{className:Y,style:_("cover")},x):null,et=a()(`${D}-body`,X("body")),er=Object.assign(Object.assign({},h),_("body")),en=n.createElement("div",{className:et,style:er},y?q:z),eo=a()(`${D}-actions`,X("actions")),ea=(null==C?void 0:C.length)?n.createElement(w,{actionClasses:eo,actionStyle:_("actions"),actions:C}):null,el=(0,l.Z)(P,["onTabChange"]),ei=a()(D,null==W?void 0:W.className,{[`${D}-loading`]:y,[`${D}-bordered`]:$,[`${D}-hoverable`]:T,[`${D}-contain-grid`]:A,[`${D}-contain-tabs`]:null==k?void 0:k.length,[`${D}-${Q}`]:Q,[`${D}-type-${S}`]:!!S,[`${D}-rtl`]:"rtl"===L},u,b,V,F),ec=Object.assign(Object.assign({},null==W?void 0:W.style),g);return G(n.createElement("div",Object.assign({ref:t},el,{className:ei,style:ec}),r,ee,en,ea))});var z=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};k.Grid=f,k.Meta=e=>{let{prefixCls:t,className:r,avatar:o,title:l,description:c}=e,s=z(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:d}=n.useContext(i.E_),u=d("card",t),f=a()(`${u}-meta`,r),b=o?n.createElement("div",{className:`${u}-meta-avatar`},o):null,g=l?n.createElement("div",{className:`${u}-meta-title`},l):null,p=c?n.createElement("div",{className:`${u}-meta-description`},c):null,m=g||p?n.createElement("div",{className:`${u}-meta-detail`},g,p):null;return n.createElement("div",Object.assign({},s,{className:f}),b,m)};var H=k},49030:function(e,t,r){r.d(t,{Z:function(){return H}});var n=r(38497),o=r(26869),a=r.n(o),l=r(55598),i=r(55853),c=r(35883),s=r(55091),d=r(37243),u=r(63346),f=r(38083),b=r(51084),g=r(60848),p=r(74934),m=r(90102);let h=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o,calc:a}=e,l=a(n).sub(r).equal(),i=a(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,o=e.fontSizeSM,a=(0,p.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},y=e=>({defaultBg:new b.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var $=(0,m.I$)("Tag",e=>{let t=v(e);return h(t)},y),O=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let S=n.forwardRef((e,t)=>{let{prefixCls:r,style:o,className:l,checked:i,onChange:c,onClick:s}=e,d=O(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:b}=n.useContext(u.E_),g=f("tag",r),[p,m,h]=$(g),v=a()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:i},null==b?void 0:b.className,l,m,h);return p(n.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},o),null==b?void 0:b.style),className:v,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var x=r(86553);let C=e=>(0,x.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:a,darkColor:l}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var j=(0,m.bk)(["Tag","preset"],e=>{let t=v(e);return C(t)},y);let E=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var w=(0,m.bk)(["Tag","status"],e=>{let t=v(e);return[E(t,"success","Success"),E(t,"processing","Info"),E(t,"error","Error"),E(t,"warning","Warning")]},y),k=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let z=n.forwardRef((e,t)=>{let{prefixCls:r,className:o,rootClassName:f,style:b,children:g,icon:p,color:m,onClose:h,bordered:v=!0,visible:y}=e,O=k(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:x,tag:C}=n.useContext(u.E_),[E,z]=n.useState(!0),H=(0,l.Z)(O,["closeIcon","closable"]);n.useEffect(()=>{void 0!==y&&z(y)},[y]);let N=(0,i.o2)(m),I=(0,i.yT)(m),T=N||I,R=Object.assign(Object.assign({backgroundColor:m&&!T?m:void 0},null==C?void 0:C.style),b),Z=S("tag",r),[B,P,M]=$(Z),L=a()(Z,null==C?void 0:C.className,{[`${Z}-${m}`]:T,[`${Z}-has-color`]:m&&!T,[`${Z}-hidden`]:!E,[`${Z}-rtl`]:"rtl"===x,[`${Z}-borderless`]:!v},o,f,P,M),W=e=>{e.stopPropagation(),null==h||h(e),e.defaultPrevented||z(!1)},[,X]=(0,c.Z)((0,c.w)(e),(0,c.w)(C),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${Z}-close-icon`,onClick:W},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),W(t)},className:a()(null==e?void 0:e.className,`${Z}-close-icon`)}))}}),_="function"==typeof O.onClick||g&&"a"===g.type,A=p||null,D=A?n.createElement(n.Fragment,null,A,g&&n.createElement("span",null,g)):g,G=n.createElement("span",Object.assign({},H,{ref:t,className:L,style:R}),D,X,N&&n.createElement(j,{key:"preset",prefixCls:Z}),I&&n.createElement(w,{key:"status",prefixCls:Z}));return B(_?n.createElement(d.Z,{component:"Tag"},G):G)});z.CheckableTag=S;var H=z}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6573.9c1015eaad1cd578.js b/dbgpt/app/static/web/_next/static/chunks/6573.9c1015eaad1cd578.js new file mode 100644 index 000000000..25ceae463 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/6573.9c1015eaad1cd578.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6573],{13250:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(42096),a=l(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zM464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z"}}]},name:"appstore",theme:"filled"},r=l(55032),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},31097:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(42096),a=l(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z"}}]},name:"save",theme:"filled"},r=l(55032),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},64698:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(42096),a=l(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 00-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z"}}]},name:"select",theme:"outlined"},r=l(55032),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},20222:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(42096),a=l(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},r=l(55032),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},54537:function(e,t,l){"use strict";var n=l(38497);let a=(0,n.createContext)({});t.Z=a},98606:function(e,t,l){"use strict";var n=l(38497),a=l(26869),i=l.n(a),r=l(63346),s=l(54537),o=l(54009),d=function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(l[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(l[n[a]]=e[n[a]]);return l};function c(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let u=["xs","sm","md","lg","xl","xxl"],h=n.forwardRef((e,t)=>{let{getPrefixCls:l,direction:a}=n.useContext(r.E_),{gutter:h,wrap:m}=n.useContext(s.Z),{prefixCls:v,span:f,order:p,offset:x,push:y,pull:g,className:j,children:w,flex:b,style:_}=e,N=d(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),C=l("col",v),[$,Z,k]=(0,o.cG)(C),S={},O={};u.forEach(t=>{let l={},n=e[t];"number"==typeof n?l.span=n:"object"==typeof n&&(l=n||{}),delete N[t],O=Object.assign(Object.assign({},O),{[`${C}-${t}-${l.span}`]:void 0!==l.span,[`${C}-${t}-order-${l.order}`]:l.order||0===l.order,[`${C}-${t}-offset-${l.offset}`]:l.offset||0===l.offset,[`${C}-${t}-push-${l.push}`]:l.push||0===l.push,[`${C}-${t}-pull-${l.pull}`]:l.pull||0===l.pull,[`${C}-rtl`]:"rtl"===a}),l.flex&&(O[`${C}-${t}-flex`]=!0,S[`--${C}-${t}-flex`]=c(l.flex))});let E=i()(C,{[`${C}-${f}`]:void 0!==f,[`${C}-order-${p}`]:p,[`${C}-offset-${x}`]:x,[`${C}-push-${y}`]:y,[`${C}-pull-${g}`]:g},j,O,Z,k),P={};if(h&&h[0]>0){let e=h[0]/2;P.paddingLeft=e,P.paddingRight=e}return b&&(P.flex=c(b),!1!==m||P.minWidth||(P.minWidth=0)),$(n.createElement("div",Object.assign({},N,{style:Object.assign(Object.assign(Object.assign({},P),_),S),className:E,ref:t}),w))});t.Z=h},22698:function(e,t,l){"use strict";var n=l(38497),a=l(26869),i=l.n(a),r=l(30432),s=l(63346),o=l(54537),d=l(54009),c=function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(l[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(l[n[a]]=e[n[a]]);return l};function u(e,t){let[l,a]=n.useState("string"==typeof e?e:""),i=()=>{if("string"==typeof e&&a(e),"object"==typeof e)for(let l=0;l{i()},[JSON.stringify(e),t]),l}let h=n.forwardRef((e,t)=>{let{prefixCls:l,justify:a,align:h,className:m,style:v,children:f,gutter:p=0,wrap:x}=e,y=c(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:g,direction:j}=n.useContext(s.E_),[w,b]=n.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[_,N]=n.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),C=u(h,_),$=u(a,_),Z=n.useRef(p),k=(0,r.ZP)();n.useEffect(()=>{let e=k.subscribe(e=>{N(e);let t=Z.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&b(e)});return()=>k.unsubscribe(e)},[]);let S=g("row",l),[O,E,P]=(0,d.VM)(S),M=(()=>{let e=[void 0,void 0],t=Array.isArray(p)?p:[p,void 0];return t.forEach((t,l)=>{if("object"==typeof t)for(let n=0;n0?-(M[0]/2):void 0;I&&(V.marginLeft=I,V.marginRight=I);let[R,T]=M;V.rowGap=T;let D=n.useMemo(()=>({gutter:[R,T],wrap:x}),[R,T,x]);return O(n.createElement(o.Z.Provider,{value:D},n.createElement("div",Object.assign({},y,{className:z,style:Object.assign(Object.assign({},V),v),ref:t}),f)))});t.Z=h},54009:function(e,t,l){"use strict";l.d(t,{VM:function(){return c},cG:function(){return u}});var n=l(38083),a=l(90102),i=l(74934);let r=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},s=(e,t)=>{let{prefixCls:l,componentCls:n,gridColumns:a}=e,i={};for(let e=a;e>=0;e--)0===e?(i[`${n}${t}-${e}`]={display:"none"},i[`${n}-push-${e}`]={insetInlineStart:"auto"},i[`${n}-pull-${e}`]={insetInlineEnd:"auto"},i[`${n}${t}-push-${e}`]={insetInlineStart:"auto"},i[`${n}${t}-pull-${e}`]={insetInlineEnd:"auto"},i[`${n}${t}-offset-${e}`]={marginInlineStart:0},i[`${n}${t}-order-${e}`]={order:0}):(i[`${n}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/a*100}%`,maxWidth:`${e/a*100}%`}],i[`${n}${t}-push-${e}`]={insetInlineStart:`${e/a*100}%`},i[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/a*100}%`},i[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/a*100}%`},i[`${n}${t}-order-${e}`]={order:e});return i[`${n}${t}-flex`]={flex:`var(--${l}${t}-flex)`},i},o=(e,t)=>s(e,t),d=(e,t,l)=>({[`@media (min-width: ${(0,n.bf)(t)})`]:Object.assign({},o(e,l))}),c=(0,a.I$)("Grid",e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},()=>({})),u=(0,a.I$)("Grid",e=>{let t=(0,i.IX)(e,{gridColumns:24}),l={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[r(t),o(t,""),o(t,"-xs"),Object.keys(l).map(e=>d(t,l[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},93743:function(e,t,l){"use strict";l.d(t,{_:function(){return V},a:function(){return M}});var n=l(96469),a=l(39069),i=l(38437),r=l(30994),s=l(10755),o=l(60205),d=l(27691),c=l(97818),u=l(30813),h=l(42988),m=l(2),v=l(98922),f=l(44766);let p=e=>{let{charts:t,scopeOfCharts:l,ruleConfig:n}=e,a={};if(null==t||t.forEach(e=>{if(e.chartKnowledge.toSpec){let t=e.chartKnowledge.toSpec;e.chartKnowledge.toSpec=(e,l)=>({...t(e,l),dataProps:l})}else e.chartKnowledge.toSpec=(e,t)=>({dataProps:t});a[e.chartType]=e.chartKnowledge}),(null==l?void 0:l.exclude)&&l.exclude.forEach(e=>{Object.keys(a).includes(e)&&delete a[e]}),null==l?void 0:l.include){let e=l.include;Object.keys(a).forEach(t=>{e.includes(t)||delete a[t]})}let i={...l,custom:a},r={...n},s=new m.w({ckbCfg:i,ruleCfg:r});return s},x=e=>{var t;let{data:l,dataMetaMap:n,myChartAdvisor:a}=e,i=n?Object.keys(n).map(e=>({name:e,...n[e]})):null,r=new v.Z(l).info(),s=(0,f.size)(r)>2?null==r?void 0:r.filter(e=>"string"!==e.recommendation&&"date"!==e.recommendation||e.distinct&&e.distinct>1):r,o=null==a?void 0:a.adviseWithLog({data:l,dataProps:i,fields:null==s?void 0:s.map(e=>e.name)});return null!==(t=null==o?void 0:o.advices)&&void 0!==t?t:[]};var y=l(38497);function g(e,t){return t.every(t=>e.includes(t))}function j(e,t){let l=t.find(t=>t.name===e);return(null==l?void 0:l.recommendation)==="date"?t=>new Date(t[e]):e}function w(e){return e.find(e=>{var t;return e.levelOfMeasurements&&(t=e.levelOfMeasurements,["Time","Ordinal"].some(e=>t.includes(e)))})}function b(e){return e.find(e=>e.levelOfMeasurements&&g(e.levelOfMeasurements,["Nominal"]))}let _=e=>{let{data:t,xField:l}=e,n=(0,f.uniq)(t.map(e=>e[l]));return n.length<=1},N=(e,t,l)=>{let{field4Split:n,field4X:a}=l;if((null==n?void 0:n.name)&&(null==a?void 0:a.name)){let l=e[n.name],i=t.filter(e=>n.name&&e[n.name]===l);return _({data:i,xField:a.name})?5:void 0}return(null==a?void 0:a.name)&&_({data:t,xField:a.name})?5:void 0},C=e=>{let{data:t,chartType:l,xField:n}=e,a=(0,f.cloneDeep)(t);try{if(l.includes("line")&&(null==n?void 0:n.name)&&"date"===n.recommendation)return a.sort((e,t)=>new Date(e[n.name]).getTime()-new Date(t[n.name]).getTime()),a;l.includes("line")&&(null==n?void 0:n.name)&&["float","integer"].includes(n.recommendation)&&a.sort((e,t)=>e[n.name]-t[n.name])}catch(e){console.error(e)}return a},$=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return e.map(e=>{let l={};return Object.keys(e).forEach(n=>{l[n]=e[n]===t?null:e[n]}),l})},Z="multi_line_chart",k="multi_measure_line_chart",S=[{chartType:"multi_line_chart",chartKnowledge:{id:Z,name:"multi_line_chart",alias:["multi_line_chart"],family:["LineCharts"],def:"multi_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{var l,n;let a=w(t),i=b(t),r=null!==(l=null!=a?a:i)&&void 0!==l?l:t[0],s=t.filter(e=>e.name!==(null==r?void 0:r.name)),o=null!==(n=s.filter(e=>e.levelOfMeasurements&&g(e.levelOfMeasurements,["Interval"])))&&void 0!==n?n:[s[0]],d=s.filter(e=>!o.find(t=>t.name===e.name)).find(e=>e.levelOfMeasurements&&g(e.levelOfMeasurements,["Nominal"]));if(!r||!o)return null;let c={type:"view",autoFit:!0,data:C({data:e,chartType:Z,xField:r}),children:[]};return o.forEach(l=>{let n={type:"line",encode:{x:j(r.name,t),y:l.name,size:t=>N(t,e,{field4Split:d,field4X:r})},legend:{size:!1}};d&&(n.encode.color=d.name),c.children.push(n)}),c}},chineseName:"折线图"},{chartType:"multi_measure_column_chart",chartKnowledge:{id:"multi_measure_column_chart",name:"multi_measure_column_chart",alias:["multi_measure_column_chart"],family:["ColumnCharts"],def:"multi_measure_column_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{let l=null==t?void 0:t.filter(e=>g(e.levelOfMeasurements,["Interval"])),n=b(t),a=w(t),i=null!=n?n:a;if(!i||!l)return null;let r={type:"view",data:e,children:[]};return null==l||l.forEach(e=>{let t={type:"interval",encode:{x:i.name,y:e.name,color:()=>e.name,series:()=>e.name}};r.children.push(t)}),r}catch(e){return console.log(e),null}}},chineseName:"折线图"},{chartType:"multi_measure_line_chart",chartKnowledge:{id:k,name:"multi_measure_line_chart",alias:["multi_measure_line_chart"],family:["LineCharts"],def:"multi_measure_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{var l,n;let a=null!==(n=null!==(l=b(t))&&void 0!==l?l:w(t))&&void 0!==n?n:t[0],i=null==t?void 0:t.filter(e=>e.name!==(null==a?void 0:a.name)&&g(e.levelOfMeasurements,["Interval"]));if(!a||!i)return null;let r={type:"view",data:C({data:e,chartType:k,xField:a}),children:[]};return null==i||i.forEach(l=>{let n={type:"line",encode:{x:j(a.name,t),y:l.name,color:()=>l.name,series:()=>l.name,size:t=>N(t,e,{field4X:a})},legend:{size:!1}};r.children.push(n)}),r}catch(e){return console.log(e),null}}},chineseName:"折线图"}];var O=l(45277);let E=e=>{if(!e)return;let t=e.getContainer(),l=t.getElementsByTagName("canvas")[0];return l};var P=l(91158);let M=e=>"response_line_chart"===e?["multi_line_chart","multi_measure_line_chart"]:"response_bar_chart"===e?["multi_measure_column_chart"]:"response_pie_chart"===e?["pie_chart"]:"response_scatter_chart"===e?["scatter_plot"]:"response_area_chart"===e?["area_chart"]:"response_heatmap_chart"===e?["heatmap"]:[],{Option:z}=a.default,V=e=>{let{data:t,chartType:l,scopeOfCharts:m,ruleConfig:v}=e,g=$(t),{mode:j}=(0,y.useContext)(O.p),[w,b]=(0,y.useState)(),[_,N]=(0,y.useState)([]),[Z,k]=(0,y.useState)(),M=(0,y.useRef)();(0,y.useEffect)(()=>{b(p({charts:S,scopeOfCharts:{exclude:["area_chart","stacked_area_chart","percent_stacked_area_chart"]},ruleConfig:v}))},[v,m]);let V=e=>{if(!w)return[];let t=function(e){let{advices:t}=e;return t}({advices:e}),n=(0,f.uniq)((0,f.compact)((0,f.concat)(l,e.map(e=>e.type)))),a=n.map(e=>{let l=t.find(t=>t.type===e);if(l)return l;let n=w.dataAnalyzer.execute({data:g});if("data"in n){var a;let t=w.specGenerator.execute({data:n.data,dataProps:n.dataProps,chartTypeRecommendations:[{chartType:e,score:1}]});if("advices"in t)return null===(a=t.advices)||void 0===a?void 0:a[0]}}).filter(e=>null==e?void 0:e.spec);return a};(0,y.useEffect)(()=>{if(g&&w){var e;let t=x({data:g,myChartAdvisor:w}),l=V(t);N(l),k(null===(e=l[0])||void 0===e?void 0:e.type)}},[JSON.stringify(g),w,l]);let I=(0,y.useMemo)(()=>{if((null==_?void 0:_.length)>0){var e,t,l,a;let i=null!=Z?Z:_[0].type,r=null!==(t=null===(e=null==_?void 0:_.find(e=>e.type===i))||void 0===e?void 0:e.spec)&&void 0!==t?t:void 0;if(r){if(r.data&&["line_chart","step_line_chart"].includes(i)){let e=null==w?void 0:w.dataAnalyzer.execute({data:g});e&&"dataProps"in e&&(r.data=C({data:r.data,xField:null===(a=e.dataProps)||void 0===a?void 0:a.find(e=>"date"===e.recommendation),chartType:i}))}return"pie_chart"===i&&(null==r?void 0:null===(l=r.encode)||void 0===l?void 0:l.color)&&(r.tooltip={title:{field:r.encode.color}}),(0,n.jsx)(u.k,{options:{...r,autoFit:!0,theme:j,height:300},ref:M},i)}}},[_,j,Z]);return Z?(0,n.jsxs)("div",{children:[(0,n.jsxs)(i.Z,{justify:"space-between",className:"mb-2",children:[(0,n.jsx)(r.Z,{children:(0,n.jsxs)(s.Z,{children:[(0,n.jsx)("span",{children:h.Z.t("Advices")}),(0,n.jsx)(a.default,{className:"w-52",value:Z,placeholder:"Chart Switcher",onChange:e=>k(e),size:"small",children:null==_?void 0:_.map(e=>{let t=h.Z.t(e.type);return(0,n.jsx)(z,{value:e.type,children:(0,n.jsx)(o.Z,{title:t,placement:"right",children:(0,n.jsx)("div",{children:t})})},e.type)})})]})}),(0,n.jsx)(r.Z,{children:(0,n.jsx)(o.Z,{title:h.Z.t("Download"),children:(0,n.jsx)(d.ZP,{onClick:()=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Chart",l=document.createElement("a"),n="".concat(t,".png");setTimeout(()=>{let t=function(e){let t=E(e);if(t){let e=t.toDataURL("image/png");return e}}(e);if(t){l.addEventListener("click",()=>{l.download=n,l.href=t});let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),l.dispatchEvent(e)}},16)})(M.current,h.Z.t(Z)),icon:(0,n.jsx)(P.Z,{}),type:"text"})})})]}),(0,n.jsx)("div",{className:"flex",children:I})]}):(0,n.jsx)(c.Z,{image:c.Z.PRESENTED_IMAGE_SIMPLE,description:"暂无合适的可视化视图"})}},45045:function(e,t,l){"use strict";l.d(t,{_z:function(){return f._},ZP:function(){return p},aG:function(){return f.a}});var n=l(96469),a=l(49841),i=l(62715),r=l(81630),s=l(45277),o=l(30813),d=l(38497);function c(e){let{chart:t}=e,{mode:l}=(0,d.useContext)(s.p);return(0,n.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,n.jsxs)("div",{className:"h-full",children:[(0,n.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,n.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,n.jsx)("div",{className:"h-[300px]",children:(0,n.jsx)(o.k,{style:{height:"100%"},options:{autoFit:!0,theme:l,type:"interval",data:t.values,encode:{x:"name",y:"value",color:"type"},axis:{x:{labelAutoRotate:!1}}}})})]})})}function u(e){let{chart:t}=e,{mode:l}=(0,d.useContext)(s.p);return(0,n.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,n.jsxs)("div",{className:"h-full",children:[(0,n.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,n.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,n.jsx)("div",{className:"h-[300px]",children:(0,n.jsx)(o.k,{style:{height:"100%"},options:{autoFit:!0,theme:l,type:"view",data:t.values,children:[{type:"line",encode:{x:"name",y:"value",color:"type",shape:"smooth"}},{type:"area",encode:{x:"name",y:"value",color:"type",shape:"smooth"},legend:!1,style:{fillOpacity:.15}}],axis:{x:{labelAutoRotate:!1}}}})})]})})}var h=l(84832),m=l(44766);function v(e){var t,l;let{chart:a}=e,i=(0,m.groupBy)(a.values,"type");return(0,n.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,n.jsxs)("div",{className:"h-full",children:[(0,n.jsx)("div",{className:"mb-2",children:a.chart_name}),(0,n.jsx)("div",{className:"opacity-80 text-sm mb-2",children:a.chart_desc}),(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsxs)(h.Z,{"aria-label":"basic table",stripe:"odd",hoverRow:!0,borderAxis:"bothBetween",children:[(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{children:Object.keys(i).map(e=>(0,n.jsx)("th",{children:e},e))})}),(0,n.jsx)("tbody",{children:null===(t=Object.values(i))||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.map((e,t)=>{var l;return(0,n.jsx)("tr",{children:null===(l=Object.keys(i))||void 0===l?void 0:l.map(e=>{var l;return(0,n.jsx)("td",{children:(null==i?void 0:null===(l=i[e])||void 0===l?void 0:l[t].value)||""},e)})},t)})})]})})]})})}var f=l(93743),p=function(e){let{chartsData:t}=e;console.log(t,"xxx");let l=(0,d.useMemo)(()=>{if(t){let e=[],l=null==t?void 0:t.filter(e=>"IndicatorValue"===e.chart_type);l.length>0&&e.push({charts:l,type:"IndicatorValue"});let n=null==t?void 0:t.filter(e=>"IndicatorValue"!==e.chart_type),a=n.length,i=0;return[[0],[1],[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]][a].forEach(t=>{if(t>0){let l=n.slice(i,i+t);i+=t,e.push({charts:l})}}),e}},[t]);return(0,n.jsx)("div",{className:"flex flex-col gap-3",children:null==l?void 0:l.map((e,t)=>(0,n.jsx)("div",{className:"".concat((null==e?void 0:e.type)!=="IndicatorValue"?"flex gap-3":""),children:e.charts.map(e=>"IndicatorValue"===e.chart_type||"IndicatorValue"===e.type?(0,n.jsx)("div",{className:"flex flex-row gap-3",children:e.values.map(e=>(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)(a.Z,{sx:{background:"transparent"},children:(0,n.jsxs)(i.Z,{className:"justify-around",children:[(0,n.jsx)(r.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,n.jsx)(r.ZP,{children:e.value})]})})},e.name))},e.chart_uid):"LineChart"===e.chart_type||"LineChart"===e.type?(0,n.jsx)(u,{chart:e},e.chart_uid):"BarChart"===e.chart_type||"BarChart"===e.type?(0,n.jsx)(c,{chart:e},e.chart_uid):"Table"===e.chart_type||"TableChartData"===e.type?(0,n.jsx)(v,{chart:e},e.chart_uid):void 0)},"chart_row_".concat(t)))})}},21601:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return P}});var n=l(96469),a=l(38497),i=l(16602),r=l(4162),s=l(60205),o=l(39069),d=l(27691),c=l(42834),u=l(71841),h=l(62263),m=l(22672),v=l(94078),f=l(45875),p=l(53047),x=l(45045),y=l(72097),g=l(86944),j=l(47271),w=l(31097);function b(){return(0,n.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"49817",width:"1em",height:"1em",children:[(0,n.jsx)("path",{d:"M512 64c-247.424 0-448 62.72-448 140.032v112c0 77.312 200.576 139.968 448 139.968s448-62.72 448-140.032v-112C960 126.72 759.424 64 512 64z m0 728c-247.424 0-448-62.72-448-140.032v168.064C64 897.28 264.576 960 512 960s448-62.72 448-140.032v-167.936c0 77.312-200.576 139.968-448 139.968z",fill:"#3699FF","p-id":"49818"}),(0,n.jsx)("path",{d:"M512 540.032c-247.424 0-448-62.72-448-140.032v168c0 77.312 200.576 140.032 448 140.032s448-62.72 448-140.032V400c0 77.312-200.576 140.032-448 140.032z",fill:"#3699FF",opacity:".32","p-id":"49819"})]})}function _(){return(0,n.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"59847",width:"1em",height:"1em",children:[(0,n.jsx)("path",{d:"M149.2 99.7h726.6c27.7 0 50.1 22.4 50.1 50.1V336H99.1V149.8c0-27.6 22.4-50.1 50.1-50.1z",fill:"#1ECD93","p-id":"59848"}),(0,n.jsx)("path",{d:"M99.1 395h236.2v236.3H99.1zM99.1 690.3h236.2v236.2H149.2c-27.7 0-50.1-22.4-50.1-50.1V690.3zM394.4 395h236.2v236.3H394.4z",fill:"#1ECD93","fill-opacity":".5","p-id":"59849"}),(0,n.jsx)("path",{d:"M394.4 690.3h236.2v236.3H394.4z",fill:"#A1E6C9","p-id":"59850","data-spm-anchor-id":"a313x.search_index.0.i13.27343a81CqKUWU"}),(0,n.jsx)("path",{d:"M689.7 395h236.2v236.3H689.7z",fill:"#1ECD93","fill-opacity":".5","p-id":"59851"}),(0,n.jsx)("path",{d:"M689.7 690.3h236.2v186.1c0 27.7-22.4 50.1-50.1 50.1H689.7V690.3z",fill:"#A1E6C9","p-id":"59852","data-spm-anchor-id":"a313x.search_index.0.i17.27343a81CqKUWU"})]})}function N(){return(0,n.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"67616",width:"1em",height:"1em",children:(0,n.jsx)("path",{d:"M39.385 204.83h346.571L252.054 976.74l-23.63 39.383h259.929v-31.506L614.379 204.83H771.91S960.951 220.584 984.581 0.038H236.3S94.52-7.84 39.384 204.83",fill:"#1296db","p-id":"67617"})})}var C=l(26869),$=l.n(C),Z=l(76592),k=function(){return(0,n.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",version:"1.1",children:(0,n.jsx)("path",{d:"M171.85792 110.9504a58.65472 58.65472 0 0 0-58.65472 58.65472v701.9008a58.7264 58.7264 0 0 0 58.65472 58.65472h680.28416a58.7264 58.7264 0 0 0 58.65472-58.65472V169.64608a57.98912 57.98912 0 0 0-17.08032-41.41056 58.1632 58.1632 0 0 0-41.472-17.27488H171.85792z m670.60736 750.77632H181.53472V554.77248h660.93056v306.95424z m0-375.38816H181.53472V179.38432h660.93056v306.95424z","p-id":"14553"})})},S=function(){return(0,n.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",version:"1.1",children:(0,n.jsx)("path",{d:"M161.05472 919.3472h701.9008a58.71616 58.71616 0 0 0 58.65472-58.65472V180.40832a58.71616 58.71616 0 0 0-58.65472-58.65472H161.09568a58.03008 58.03008 0 0 0-41.4208 17.08032A58.1632 58.1632 0 0 0 102.4 180.30592v680.38656a58.64448 58.64448 0 0 0 58.65472 58.65472z m385.15712-589.568V190.08512h306.95424v660.93056H546.21184V329.7792zM170.83392 190.08512h306.95424v660.93056H170.83392V190.08512z","p-id":"13913"})})};let{Search:O}=u.default;function E(e){let{layout:t="LR",editorValue:l,chartData:i,tableData:s,tables:o,handleChange:d}=e,c=(0,a.useMemo)(()=>i?(0,n.jsx)("div",{className:"flex-1 overflow-auto p-2",style:{flexShrink:0,overflow:"hidden"},children:(0,n.jsx)(x.ZP,{chartsData:[i]})}):null,[i]),{columns:u,dataSource:h}=(0,a.useMemo)(()=>{let{columns:e=[],values:t=[]}=null!=s?s:{},l=e.map(e=>({key:e,dataIndex:e,title:e})),n=t.map(t=>t.reduce((t,l,n)=>(t[e[n]]=l,t),{}));return{columns:l,dataSource:n}},[s]),v=(0,a.useMemo)(()=>{let e={},t=null==o?void 0:o.data,l=null==t?void 0:t.children;return null==l||l.forEach(t=>{e[t.title]=t.children.map(e=>({columnName:e.title,columnType:e.type}))}),{getTableList:async e=>e&&e!==(null==t?void 0:t.title)?[]:(null==l?void 0:l.map(e=>e.title))||[],getTableColumns:async t=>e[t]||[],getSchemaList:async()=>(null==t?void 0:t.title)?[null==t?void 0:t.title]:[]}},[o]);return(0,n.jsxs)("div",{className:$()("flex w-full flex-1 h-full gap-2 overflow-hidden",{"flex-col":"TB"===t,"flex-row":"LR"===t}),children:[(0,n.jsx)("div",{className:"flex-1 flex overflow-hidden rounded",children:(0,n.jsx)(m.Z,{value:(null==l?void 0:l.sql)||"",language:"mysql",onChange:d,thoughts:(null==l?void 0:l.thoughts)||"",session:v})}),(0,n.jsxs)("div",{className:"flex-1 h-full overflow-auto bg-white dark:bg-theme-dark-container rounded p-4",children:[(null==s?void 0:s.values.length)?(0,n.jsx)(r.Z,{bordered:!0,scroll:{x:"auto"},rowKey:u[0].key,columns:u,dataSource:h}):(0,n.jsx)("div",{className:"h-full flex justify-center items-center",children:(0,n.jsx)(Z.Z,{})}),c]})]})}var P=function(){var e,t,l,r,u;let[m,x]=(0,a.useState)([]),[C,Z]=(0,a.useState)(""),[P,M]=(0,a.useState)(),[z,V]=(0,a.useState)(!0),[I,R]=(0,a.useState)(),[T,D]=(0,a.useState)(),[H,L]=(0,a.useState)(),[q,A]=(0,a.useState)(),[B,F]=(0,a.useState)(),[U,Q]=(0,a.useState)(!1),[G,K]=(0,a.useState)("TB"),W=(0,f.useSearchParams)(),X=null==W?void 0:W.get("id"),J=null==W?void 0:W.get("scene"),{data:Y,loading:ee}=(0,i.Z)(async()=>await (0,v.Tk)("/v1/editor/sql/rounds",{con_uid:X}),{onSuccess:e=>{var t,l;let n=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t[(null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.length)-1];n&&M(null==n?void 0:n.round)}}),{run:et,loading:el}=(0,i.Z)(async()=>{var e,t;let l=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name;return await (0,v.PR)("/api/v1/editor/sql/run",{db_name:l,sql:null==H?void 0:H.sql})},{manual:!0,onSuccess:e=>{var t,l;A({columns:null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.colunms,values:null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.values})}}),{run:en,loading:ea}=(0,i.Z)(async()=>{var e,t;let l=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name,n={db_name:l,sql:null==H?void 0:H.sql};return"chat_dashboard"===J&&(n.chart_type=null==H?void 0:H.showcase),await (0,v.PR)("/api/v1/editor/chart/run",n)},{manual:!0,ready:!!(null==H?void 0:H.sql),onSuccess:e=>{if(null==e?void 0:e.success){var t,l,n,a,i,r,s;A({columns:(null==e?void 0:null===(t=e.data)||void 0===t?void 0:null===(l=t.sql_data)||void 0===l?void 0:l.colunms)||[],values:(null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(a=n.sql_data)||void 0===a?void 0:a.values)||[]}),(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.chart_values)?R({type:null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.chart_type,values:null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.chart_values,title:null==H?void 0:H.title,description:null==H?void 0:H.thoughts}):R(void 0)}}}),{run:ei,loading:er}=(0,i.Z)(async()=>{var e,t,l,n,a;let i=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name;return await (0,v.PR)("/api/v1/sql/editor/submit",{conv_uid:X,db_name:i,conv_round:P,old_sql:null==T?void 0:T.sql,old_speak:null==T?void 0:T.thoughts,new_sql:null==H?void 0:H.sql,new_speak:(null===(l=null==H?void 0:null===(n=H.thoughts)||void 0===n?void 0:n.match(/^\n--(.*)\n\n$/))||void 0===l?void 0:null===(a=l[1])||void 0===a?void 0:a.trim())||(null==H?void 0:H.thoughts)})},{manual:!0,onSuccess:e=>{(null==e?void 0:e.success)&&et()}}),{run:es,loading:eo}=(0,i.Z)(async()=>{var e,t,l,n,a,i;let r=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name;return await (0,v.PR)("/api/v1/chart/editor/submit",{conv_uid:X,chart_title:null==H?void 0:H.title,db_name:r,old_sql:null==T?void 0:null===(l=T[B])||void 0===l?void 0:l.sql,new_chart_type:null==H?void 0:H.showcase,new_sql:null==H?void 0:H.sql,new_comment:(null===(n=null==H?void 0:null===(a=H.thoughts)||void 0===a?void 0:a.match(/^\n--(.*)\n\n$/))||void 0===n?void 0:null===(i=n[1])||void 0===i?void 0:i.trim())||(null==H?void 0:H.thoughts),gmt_create:new Date().getTime()})},{manual:!0,onSuccess:e=>{(null==e?void 0:e.success)&&en()}}),{data:ed}=(0,i.Z)(async()=>{var e,t;let l=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name;return await (0,v.Tk)("/v1/editor/db/tables",{db_name:l,page_index:1,page_size:200})},{ready:!!(null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name),refreshDeps:[null===(l=null==Y?void 0:null===(r=Y.data)||void 0===r?void 0:r.find(e=>e.round===P))||void 0===l?void 0:l.db_name]}),{run:ec}=(0,i.Z)(async e=>await (0,v.Tk)("/v1/editor/sql",{con_uid:X,round:e}),{manual:!0,onSuccess:e=>{let t;try{if(Array.isArray(null==e?void 0:e.data))t=null==e?void 0:e.data,F(0);else if("string"==typeof(null==e?void 0:e.data)){let l=JSON.parse(null==e?void 0:e.data);t=l}else t=null==e?void 0:e.data}catch(e){console.log(e)}finally{D(t),Array.isArray(t)?L(null==t?void 0:t[Number(B||0)]):L(t)}}}),eu=(0,a.useMemo)(()=>{let e=(t,l)=>t.map(t=>{let a=t.title,i=a.indexOf(C),r=a.substring(0,i),o=a.slice(i+C.length),d=e=>{switch(e){case"db":return(0,n.jsx)(b,{});case"table":return(0,n.jsx)(_,{});default:return(0,n.jsx)(N,{})}},c=i>-1?(0,n.jsx)(s.Z,{title:((null==t?void 0:t.comment)||(null==t?void 0:t.title))+((null==t?void 0:t.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,n.jsxs)("div",{className:"flex items-center",children:[d(t.type),"\xa0\xa0\xa0",r,(0,n.jsx)("span",{className:"text-[#1677ff]",children:C}),o,"\xa0",(null==t?void 0:t.type)&&(0,n.jsx)("div",{className:"text-gray-400",children:null==t?void 0:t.type})]})}):(0,n.jsx)(s.Z,{title:((null==t?void 0:t.comment)||(null==t?void 0:t.title))+((null==t?void 0:t.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,n.jsxs)("div",{className:"flex items-center",children:[d(t.type),"\xa0\xa0\xa0",a,"\xa0",(null==t?void 0:t.type)&&(0,n.jsx)("div",{className:"text-gray-400",children:null==t?void 0:t.type})]})});if(t.children){let n=l?String(l)+"_"+t.key:t.key;return{title:a,showTitle:c,key:n,children:e(t.children,n)}}return{title:a,showTitle:c,key:t.key}});return(null==ed?void 0:ed.data)?(x([null==ed?void 0:ed.data.key]),e([null==ed?void 0:ed.data])):[]},[C,ed]),eh=(0,a.useMemo)(()=>{let e=[],t=(l,n)=>{if(l&&!((null==l?void 0:l.length)<=0))for(let a=0;a{let l;for(let n=0;nt.key===e)?l=a.key:em(e,a.children)&&(l=em(e,a.children)))}return l};function ev(e){let t;if(!e)return{sql:"",thoughts:""};let l=e&&e.match(/(--.*)\n([\s\S]*)/),n="";return l&&l.length>=3&&(n=l[1],t=l[2]),{sql:t,thoughts:n}}return(0,a.useEffect)(()=>{P&&ec(P)},[ec,P]),(0,a.useEffect)(()=>{T&&"chat_dashboard"===J&&B&&en()},[B,J,T,en]),(0,a.useEffect)(()=>{T&&"chat_dashboard"!==J&&et()},[J,T,et]),(0,n.jsxs)("div",{className:"flex flex-col w-full h-full overflow-hidden",children:[(0,n.jsx)(p.Z,{}),(0,n.jsxs)("div",{className:"relative flex flex-1 p-4 pt-0 overflow-hidden",children:[(0,n.jsxs)("div",{className:"relative flex overflow-hidden mr-4",children:[(0,n.jsx)("div",{className:$()("h-full relative transition-[width] overflow-hidden",{"w-0":U,"w-64":!U}),children:(0,n.jsxs)("div",{className:"relative w-64 h-full overflow-hidden flex flex-col rounded bg-white dark:bg-theme-dark-container p-4",children:[(0,n.jsx)(o.default,{size:"middle",className:"w-full mb-2",value:P,options:null==Y?void 0:null===(u=Y.data)||void 0===u?void 0:u.map(e=>({label:e.round_name,value:e.round})),onChange:e=>{M(e)}}),(0,n.jsx)(O,{className:"mb-2",placeholder:"Search",onChange:e=>{let{value:t}=e.target;if(null==ed?void 0:ed.data){if(t){let e=eh.map(e=>e.title.indexOf(t)>-1?em(e.key,eu):null).filter((e,t,l)=>e&&l.indexOf(e)===t);x(e)}else x([]);Z(t),V(!0)}}}),eu&&eu.length>0&&(0,n.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,n.jsx)(h.Z,{onExpand:e=>{x(e),V(!1)},expandedKeys:m,autoExpandParent:z,treeData:eu,fieldNames:{title:"showTitle"}})})]})}),(0,n.jsx)("div",{className:"absolute right-0 top-0 translate-x-full h-full flex items-center justify-center opacity-0 hover:opacity-100 group-hover/side:opacity-100 transition-opacity",children:(0,n.jsx)("div",{className:"bg-white w-4 h-10 flex items-center justify-center dark:bg-theme-dark-container rounded-tr rounded-br z-10 text-xs cursor-pointer shadow-[4px_0_10px_rgba(0,0,0,0.06)] text-opacity-80",onClick:()=>{Q(!U)},children:U?(0,n.jsx)(g.Z,{}):(0,n.jsx)(y.Z,{})})})]}),(0,n.jsxs)("div",{className:"flex flex-col flex-1 max-w-full overflow-hidden",children:[(0,n.jsxs)("div",{className:"mb-2 bg-white dark:bg-theme-dark-container p-2 flex justify-between items-center",children:[(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(d.ZP,{className:"text-xs rounded-none",size:"small",type:"primary",icon:(0,n.jsx)(j.Z,{}),loading:el||ea,onClick:async()=>{"chat_dashboard"===J?en():et()},children:"Run"}),(0,n.jsx)(d.ZP,{className:"text-xs rounded-none",type:"primary",size:"small",loading:er||eo,icon:(0,n.jsx)(w.Z,{}),onClick:async()=>{"chat_dashboard"===J?await es():await ei()},children:"Save"})]}),(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(c.Z,{className:$()("flex items-center justify-center w-6 h-6 text-lg rounded",{"bg-theme-primary bg-opacity-10":"TB"===G}),component:k,onClick:()=>{K("TB")}}),(0,n.jsx)(c.Z,{className:$()("flex items-center justify-center w-6 h-6 text-lg rounded",{"bg-theme-primary bg-opacity-10":"LR"===G}),component:S,onClick:()=>{K("LR")}})]})]}),Array.isArray(T)?(0,n.jsxs)("div",{className:"flex flex-col h-full overflow-hidden",children:[(0,n.jsx)("div",{className:"w-full whitespace-nowrap overflow-x-auto bg-white dark:bg-theme-dark-container mb-2 text-[0px]",children:T.map((e,t)=>(0,n.jsx)(s.Z,{className:"inline-block",title:e.title,children:(0,n.jsx)("div",{className:$()("max-w-[240px] px-3 h-10 text-ellipsis overflow-hidden whitespace-nowrap text-sm leading-10 cursor-pointer font-semibold hover:text-theme-primary transition-colors mr-2 last-of-type:mr-0",{"border-b-2 border-solid border-theme-primary text-theme-primary":B===t}),onClick:()=>{F(t),L(null==T?void 0:T[t])},children:e.title})},e.title))}),(0,n.jsx)("div",{className:"flex flex-1 overflow-hidden",children:T.map((e,t)=>(0,n.jsx)("div",{className:$()("w-full overflow-hidden",{hidden:t!==B,"block flex-1":t===B}),children:(0,n.jsx)(E,{layout:G,editorValue:e,handleChange:e=>{let{sql:t,thoughts:l}=ev(e);L(e=>Object.assign({},e,{sql:t,thoughts:l}))},tableData:q,chartData:I})},e.title))})]}):(0,n.jsx)(E,{layout:G,editorValue:T,handleChange:e=>{let{sql:t,thoughts:l}=ev(e);L(e=>Object.assign({},e,{sql:t,thoughts:l}))},tableData:q,chartData:void 0,tables:ed})]})]})]})}},53047:function(e,t,l){"use strict";l.d(t,{Z:function(){return O}});var n=l(96469),a=l(38497),i=l(70351),r=l(60205),s=l(32818),o=l(27691),d=l(64698),c=l(20222),u=l(86959),h=l(27623),m=l(45277),v=function(e){var t;let{convUid:l,chatMode:v,onComplete:f,...p}=e,[x,y]=(0,a.useState)(!1),[g,j]=i.ZP.useMessage(),[w,b]=(0,a.useState)([]),[_,N]=(0,a.useState)(),{model:C}=(0,a.useContext)(m.p),$=async e=>{var t;if(!e){i.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(t=e.file.name)&&void 0!==t?t:"")){i.ZP.error("File type must be csv, xlsx or xls");return}b([e.file])},Z=async()=>{y(!0);try{let e=new FormData;e.append("doc_file",w[0]),g.open({content:"Uploading ".concat(w[0].name),type:"loading",duration:0});let[t]=await (0,h.Vx)((0,h.qn)({convUid:l,chatMode:v,data:e,model:C,config:{timeout:36e5,onUploadProgress:e=>{let t=Math.ceil(e.loaded/(e.total||0)*100);N(t)}}}));if(t)return;i.ZP.success("success"),null==f||f()}catch(e){i.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{y(!1),g.destroy()}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[j,(0,n.jsx)(r.Z,{placement:"bottom",title:"File cannot be changed after upload",children:(0,n.jsx)(s.default,{disabled:x,className:"mr-1",beforeUpload:()=>!1,fileList:w,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:$,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,n.jsx)(n.Fragment,{}),...p,children:(0,n.jsx)(o.ZP,{className:"flex justify-center items-center",type:"primary",disabled:x,icon:(0,n.jsx)(d.Z,{}),children:"Select File"})})}),(0,n.jsx)(o.ZP,{type:"primary",loading:x,className:"flex justify-center items-center",disabled:!w.length,icon:(0,n.jsx)(c.Z,{}),onClick:Z,children:x?100===_?"Analysis":"Uploading":"Upload"}),!!w.length&&(0,n.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",onClick:()=>b([]),children:[(0,n.jsx)(u.Z,{className:"mr-2"}),(0,n.jsx)("span",{children:null===(t=w[0])||void 0===t?void 0:t.name})]})]})})},f=function(e){let{onComplete:t}=e,{currentDialogue:l,scene:i,chatId:r}=(0,a.useContext)(m.p);return"chat_excel"!==i?null:(0,n.jsx)("div",{className:"max-w-md h-full relative",children:l?(0,n.jsxs)("div",{className:"flex h-8 overflow-hidden rounded",children:[(0,n.jsx)("div",{className:"flex items-center justify-center px-2 bg-gray-600 text-lg",children:(0,n.jsx)(u.Z,{className:"text-white"})}),(0,n.jsx)("div",{className:"flex items-center justify-center px-3 bg-gray-100 text-xs rounded-tr rounded-br dark:text-gray-800 truncate",children:l.select_param})]}):(0,n.jsx)(v,{convUid:r,chatMode:i,onComplete:t})})};l(65282);var p=l(76372),x=l(42834),y=l(13250),g=l(67901);function j(){let{isContract:e,setIsContract:t,scene:l}=(0,a.useContext)(m.p),i=l&&["chat_with_db_execute","chat_dashboard"].includes(l);return i?(0,n.jsxs)(p.ZP.Group,{value:e,defaultValue:!0,buttonStyle:"solid",onChange:()=>{t(!e)},children:[(0,n.jsxs)(p.ZP.Button,{value:!1,children:[(0,n.jsx)(x.Z,{component:g.ig,className:"mr-1"}),"Preview"]}),(0,n.jsxs)(p.ZP.Button,{value:!0,children:[(0,n.jsx)(y.Z,{className:"mr-1"}),"Editor"]})]}):null}var w=l(57064),b=l(7289),_=l(77200),N=l(39069),C=l(59321),$=function(){let{scene:e,dbParam:t,setDbParam:l}=(0,a.useContext)(m.p),[i,r]=(0,a.useState)([]);(0,_.Z)(async()=>{let[,t]=await (0,h.Vx)((0,h.vD)(e));r(null!=t?t:[])},[e]);let s=(0,a.useMemo)(()=>{var e;return null===(e=i.map)||void 0===e?void 0:e.call(i,e=>({name:e.param,...b.S$[e.type]}))},[i]);return((0,a.useEffect)(()=>{(null==s?void 0:s.length)&&!t&&l(s[0].name)},[s,l,t]),null==s?void 0:s.length)?(0,n.jsx)(N.default,{value:t,className:"w-36",onChange:e=>{l(e)},children:s.map(e=>(0,n.jsxs)(N.default.Option,{children:[(0,n.jsx)(C.Z,{width:24,height:24,src:e.icon,label:e.label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.name]},e.name))}):null},Z=l(16602),k=l(56841),S=function(){let{t:e}=(0,k.$G)(),{agent:t,setAgent:l}=(0,a.useContext)(m.p),{data:i=[]}=(0,Z.Z)(async()=>{let[,e]=await (0,h.Vx)((0,h.H4)());return null!=e?e:[]});return(0,n.jsx)(N.default,{className:"w-60",value:t,placeholder:e("Select_Plugins"),options:i.map(e=>({label:e.app_name,value:e.app_code})),allowClear:!0,onChange:e=>{null==l||l(e)}})},O=function(e){let{refreshHistory:t,modelChange:l}=e,{scene:i,refreshDialogList:r}=(0,a.useContext)(m.p);return(0,n.jsxs)("div",{className:"w-full py-2 px-4 md:px-4 flex flex-wrap items-center justify-center gap-1 md:gap-4",children:[(0,n.jsx)(w.Z,{onChange:l}),(0,n.jsx)($,{}),"chat_excel"===i&&(0,n.jsx)(f,{onComplete:()=>{null==r||r(),null==t||t()}}),"chat_agent"===i&&(0,n.jsx)(S,{}),(0,n.jsx)(j,{})]})}},57064:function(e,t,l){"use strict";l.d(t,{A:function(){return h}});var n=l(96469),a=l(45277),i=l(27250),r=l(39069),s=l(23852),o=l.n(s),d=l(38497),c=l(56841);let u="/models/huggingface.svg";function h(e,t){var l,a;let{width:r,height:s}=t||{};return e?(0,n.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:r||24,height:s||24,src:(null===(l=i.Hf[e])||void 0===l?void 0:l.icon)||u,alt:"llm"},(null===(a=i.Hf[e])||void 0===a?void 0:a.icon)||u):null}t.Z=function(e){let{onChange:t}=e,{t:l}=(0,c.$G)(),{modelList:s,model:o}=(0,d.useContext)(a.p);return!s||s.length<=0?null:(0,n.jsx)(r.default,{value:o,placeholder:l("choose_model"),className:"w-52",onChange:e=>{null==t||t(e)},children:s.map(e=>{var t;return(0,n.jsx)(r.default.Option,{children:(0,n.jsxs)("div",{className:"flex items-center",children:[h(e),(0,n.jsx)("span",{className:"ml-2",children:(null===(t=i.Hf[e])||void 0===t?void 0:t.label)||e})]})},e)})})}},76592:function(e,t,l){"use strict";var n=l(96469),a=l(97818),i=l(27691),r=l(26869),s=l.n(r),o=l(56841);t.Z=function(e){let{className:t,error:l,description:r,refresh:d}=e,{t:c}=(0,o.$G)();return(0,n.jsx)(a.Z,{image:"/empty.png",imageStyle:{width:320,height:196,margin:"0 auto",maxWidth:"100%",maxHeight:"100%"},className:s()("flex items-center justify-center flex-col h-full w-full",t),description:l?(0,n.jsx)(i.ZP,{type:"primary",onClick:d,children:c("try_again")}):null!=r?r:c("no_data")})}},94078:function(e,t,l){"use strict";l.d(t,{Tk:function(){return d},PR:function(){return c}});var n=l(70351),a=l(81366),i=l(75299);let r=a.default.create({baseURL:i.env.API_BASE_URL});r.defaults.timeout=1e4,r.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),l(44766);var s=l(7289);let o={"content-type":"application/json","User-Id":(0,s.n5)()},d=(e,t)=>{if(t){let l=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");l&&(e+="?".concat(l))}return r.get("/api"+e,{headers:o}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},c=(e,t)=>r.post(e,t,{headers:o}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},65282:function(){},8874:function(e,t,l){"use strict";function n(e){if(null==e)throw TypeError("Cannot destructure "+e)}l.d(t,{Z:function(){return n}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6779-54fab8e3e25d4028.js b/dbgpt/app/static/web/_next/static/chunks/6779-54fab8e3e25d4028.js new file mode 100644 index 000000000..f3c9443fb --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/6779-54fab8e3e25d4028.js @@ -0,0 +1,18 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6779],{69274:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},l=n(55032),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},72097:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},l=n(55032),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},42041:function(e,t,n){function r(e){return["small","middle","large"].includes(e)}function a(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}n.d(t,{T:function(){return a},n:function(){return r}})},28822:function(e,t,n){n.d(t,{Z:function(){return en}});var r=n(38497),a=n(26869),o=n.n(a),l=n(4247),i=n(65148),u=n(72991),c=n(14433),s=n(65347),d=n(81581),f=n(77757),v=n(9671),m=n(89842),g=n(42096),p=n(10921),h=n(2060);function b(e,t,n,r){var a=(t-n)/(r-n),o={};switch(e){case"rtl":o.right="".concat(100*a,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(100*a,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(100*a,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(100*a,"%"),o.transform="translateX(-50%)"}return o}function y(e,t){return Array.isArray(e)?e[t]:e}var C=n(16956),k=r.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),x=r.createContext({}),E=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],$=r.forwardRef(function(e,t){var n,a=e.prefixCls,u=e.value,c=e.valueIndex,s=e.onStartMove,d=e.onDelete,f=e.style,v=e.render,m=e.dragging,h=e.draggingDelete,x=e.onOffsetChange,$=e.onChangeComplete,Z=e.onFocus,S=e.onMouseEnter,w=(0,p.Z)(e,E),O=r.useContext(k),M=O.min,B=O.max,D=O.direction,I=O.disabled,N=O.keyboard,P=O.range,R=O.tabIndex,F=O.ariaLabelForHandle,H=O.ariaLabelledByForHandle,j=O.ariaValueTextFormatterForHandle,L=O.styles,z=O.classNames,A="".concat(a,"-handle"),T=function(e){I||s(e,c)},q=b(D,u,M,B),X={};null!==c&&(X={tabIndex:I?null:y(R,c),role:"slider","aria-valuemin":M,"aria-valuemax":B,"aria-valuenow":u,"aria-disabled":I,"aria-label":y(F,c),"aria-labelledby":y(H,c),"aria-valuetext":null===(n=y(j,c))||void 0===n?void 0:n(u),"aria-orientation":"ltr"===D||"rtl"===D?"horizontal":"vertical",onMouseDown:T,onTouchStart:T,onFocus:function(e){null==Z||Z(e,c)},onMouseEnter:function(e){S(e,c)},onKeyDown:function(e){if(!I&&N){var t=null;switch(e.which||e.keyCode){case C.Z.LEFT:t="ltr"===D||"btt"===D?-1:1;break;case C.Z.RIGHT:t="ltr"===D||"btt"===D?1:-1;break;case C.Z.UP:t="ttb"!==D?1:-1;break;case C.Z.DOWN:t="ttb"!==D?-1:1;break;case C.Z.HOME:t="min";break;case C.Z.END:t="max";break;case C.Z.PAGE_UP:t=2;break;case C.Z.PAGE_DOWN:t=-2;break;case C.Z.BACKSPACE:case C.Z.DELETE:d(c)}null!==t&&(e.preventDefault(),x(t,c))}},onKeyUp:function(e){switch(e.which||e.keyCode){case C.Z.LEFT:case C.Z.RIGHT:case C.Z.UP:case C.Z.DOWN:case C.Z.HOME:case C.Z.END:case C.Z.PAGE_UP:case C.Z.PAGE_DOWN:null==$||$()}}});var V=r.createElement("div",(0,g.Z)({ref:t,className:o()(A,(0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(A,"-").concat(c+1),null!==c&&P),"".concat(A,"-dragging"),m),"".concat(A,"-dragging-delete"),h),z.handle),style:(0,l.Z)((0,l.Z)((0,l.Z)({},q),f),L.handle)},X,w));return v&&(V=v(V,{index:c,prefixCls:a,value:u,dragging:m,draggingDelete:h})),V}),Z=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],S=r.forwardRef(function(e,t){var n=e.prefixCls,a=e.style,o=e.onStartMove,i=e.onOffsetChange,u=e.values,c=e.handleRender,d=e.activeHandleRender,f=e.draggingIndex,v=e.draggingDelete,m=e.onFocus,b=(0,p.Z)(e,Z),C=r.useRef({}),k=r.useState(!1),x=(0,s.Z)(k,2),E=x[0],S=x[1],w=r.useState(-1),O=(0,s.Z)(w,2),M=O[0],B=O[1],D=function(e){B(e),S(!0)};r.useImperativeHandle(t,function(){return{focus:function(e){var t;null===(t=C.current[e])||void 0===t||t.focus()},hideHelp:function(){(0,h.flushSync)(function(){S(!1)})}}});var I=(0,l.Z)({prefixCls:n,onStartMove:o,onOffsetChange:i,render:c,onFocus:function(e,t){D(t),null==m||m(e)},onMouseEnter:function(e,t){D(t)}},b);return r.createElement(r.Fragment,null,u.map(function(e,t){var n=f===t;return r.createElement($,(0,g.Z)({ref:function(e){e?C.current[t]=e:delete C.current[t]},dragging:n,draggingDelete:n&&v,style:y(a,t),key:t,value:e,valueIndex:t},I))}),d&&E&&r.createElement($,(0,g.Z)({key:"a11y"},I,{value:u[M],valueIndex:null,dragging:-1!==f,draggingDelete:v,render:d,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),w=function(e){var t=e.prefixCls,n=e.style,a=e.children,u=e.value,c=e.onClick,s=r.useContext(k),d=s.min,f=s.max,v=s.direction,m=s.includedStart,g=s.includedEnd,p=s.included,h="".concat(t,"-text"),y=b(v,u,d,f);return r.createElement("span",{className:o()(h,(0,i.Z)({},"".concat(h,"-active"),p&&m<=u&&u<=g)),style:(0,l.Z)((0,l.Z)({},y),n),onMouseDown:function(e){e.stopPropagation()},onClick:function(){c(u)}},a)},O=function(e){var t=e.prefixCls,n=e.marks,a=e.onClick,o="".concat(t,"-mark");return n.length?r.createElement("div",{className:o},n.map(function(e){var t=e.value,n=e.style,l=e.label;return r.createElement(w,{key:t,prefixCls:o,style:n,value:t,onClick:a},l)})):null},M=function(e){var t=e.prefixCls,n=e.value,a=e.style,u=e.activeStyle,c=r.useContext(k),s=c.min,d=c.max,f=c.direction,v=c.included,m=c.includedStart,g=c.includedEnd,p="".concat(t,"-dot"),h=v&&m<=n&&n<=g,y=(0,l.Z)((0,l.Z)({},b(f,n,s,d)),"function"==typeof a?a(n):a);return h&&(y=(0,l.Z)((0,l.Z)({},y),"function"==typeof u?u(n):u)),r.createElement("span",{className:o()(p,(0,i.Z)({},"".concat(p,"-active"),h)),style:y})},B=function(e){var t=e.prefixCls,n=e.marks,a=e.dots,o=e.style,l=e.activeStyle,i=r.useContext(k),u=i.min,c=i.max,s=i.step,d=r.useMemo(function(){var e=new Set;if(n.forEach(function(t){e.add(t.value)}),a&&null!==s)for(var t=u;t<=c;)e.add(t),t+=s;return Array.from(e)},[u,c,s,a,n]);return r.createElement("div",{className:"".concat(t,"-step")},d.map(function(e){return r.createElement(M,{prefixCls:t,key:e,value:e,style:o,activeStyle:l})}))},D=function(e){var t=e.prefixCls,n=e.style,a=e.start,u=e.end,c=e.index,s=e.onStartMove,d=e.replaceCls,f=r.useContext(k),v=f.direction,m=f.min,g=f.max,p=f.disabled,h=f.range,b=f.classNames,y="".concat(t,"-track"),C=(a-m)/(g-m),x=(u-m)/(g-m),E=function(e){!p&&s&&s(e,-1)},$={};switch(v){case"rtl":$.right="".concat(100*C,"%"),$.width="".concat(100*x-100*C,"%");break;case"btt":$.bottom="".concat(100*C,"%"),$.height="".concat(100*x-100*C,"%");break;case"ttb":$.top="".concat(100*C,"%"),$.height="".concat(100*x-100*C,"%");break;default:$.left="".concat(100*C,"%"),$.width="".concat(100*x-100*C,"%")}var Z=d||o()(y,(0,i.Z)((0,i.Z)({},"".concat(y,"-").concat(c+1),null!==c&&h),"".concat(t,"-track-draggable"),s),b.track);return r.createElement("div",{className:Z,style:(0,l.Z)((0,l.Z)({},$),n),onMouseDown:E,onTouchStart:E})},I=function(e){var t=e.prefixCls,n=e.style,a=e.values,i=e.startPoint,u=e.onStartMove,c=r.useContext(k),s=c.included,d=c.range,f=c.min,v=c.styles,m=c.classNames,g=r.useMemo(function(){if(!d){if(0===a.length)return[];var e=null!=i?i:f,t=a[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],r=0;r130&&m=0&&et},[et,eP]),eF=r.useMemo(function(){return Object.keys(ef||{}).map(function(e){var t=ef[e],n={value:Number(e)};return t&&"object"===(0,c.Z)(t)&&!r.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(function(e){var t=e.label;return t||"number"==typeof t}).sort(function(e,t){return e.value-t.value})},[ef]),eH=(n=void 0===J||J,a=r.useCallback(function(e){return Math.max(eI,Math.min(eN,e))},[eI,eN]),g=r.useCallback(function(e){if(null!==eP){var t=eI+Math.round((a(e)-eI)/eP)*eP,n=function(e){return(String(e).split(".")[1]||"").length},r=Math.max(n(eP),n(eN),n(eI)),o=Number(t.toFixed(r));return eI<=o&&o<=eN?o:null}return null},[eP,eI,eN,a]),p=r.useCallback(function(e){var t=a(e),n=eF.map(function(e){return e.value});null!==eP&&n.push(g(e)),n.push(eI,eN);var r=n[0],o=eN-eI;return n.forEach(function(e){var n=Math.abs(t-e);n<=o&&(r=e,o=n)}),r},[eI,eN,eF,eP,a,g]),h=function e(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"==typeof n){var o,l=t[r],i=l+n,c=[];eF.forEach(function(e){c.push(e.value)}),c.push(eI,eN),c.push(g(l));var s=n>0?1:-1;"unit"===a?c.push(g(l+s*eP)):c.push(g(i)),c=c.filter(function(e){return null!==e}).filter(function(e){return n<0?e<=l:e>=l}),"unit"===a&&(c=c.filter(function(e){return e!==l}));var d="unit"===a?l:i,f=Math.abs((o=c[0])-d);if(c.forEach(function(e){var t=Math.abs(e-d);t1){var v=(0,u.Z)(t);return v[r]=o,e(v,n-s,r,a)}return o}return"min"===n?eI:"max"===n?eN:void 0},b=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",a=e[n],o=h(e,t,n,r);return{value:o,changed:o!==a}},y=function(e){return null===eR&&0===e||"number"==typeof eR&&e3&&void 0!==arguments[3]?arguments[3]:"unit",o=e.map(p),l=o[r],i=h(o,t,r,a);if(o[r]=i,!1===n){var u=eR||0;r>0&&o[r-1]!==l&&(o[r]=Math.max(o[r],o[r-1]+u)),r0;f-=1)for(var v=!0;y(o[f]-o[f-1])&&v;){var m=b(o,-1,f-1);o[f-1]=m.value,v=m.changed}for(var g=o.length-1;g>0;g-=1)for(var C=!0;y(o[g]-o[g-1])&&C;){var k=b(o,-1,g-1);o[g-1]=k.value,C=k.changed}for(var x=0;x=0?G+1:2;for(r=r.slice(0,o);r.length=0&&ex.current.focus(e)}e8(null)},[e6]);var e7=r.useMemo(function(){return(!eM||null!==eP)&&eM},[eM,eP]),e9=(0,d.zX)(function(e,t){e1(e,t),null==Y||Y(eW(eV))}),e5=-1!==eU;r.useEffect(function(){if(!e5){var e=eV.lastIndexOf(eQ);ex.current.focus(e)}},[e5]);var te=r.useMemo(function(){return(0,u.Z)(e0).sort(function(e,t){return e-t})},[e0]),tt=r.useMemo(function(){return ew?[te[0],te[te.length-1]]:[eI,te[0]]},[te,ew,eI]),tn=(0,s.Z)(tt,2),tr=tn[0],ta=tn[1];r.useImperativeHandle(t,function(){return{focus:function(){ex.current.focus(0)},blur:function(){var e,t=document.activeElement;null!==(e=eE.current)&&void 0!==e&&e.contains(t)&&(null==t||t.blur())}}}),r.useEffect(function(){F&&ex.current.focus(0)},[]);var to=r.useMemo(function(){return{min:eI,max:eN,direction:e$,disabled:D,keyboard:R,step:eP,included:eo,includedStart:tr,includedEnd:ta,range:ew,tabIndex:eb,ariaLabelForHandle:ey,ariaLabelledByForHandle:eC,ariaValueTextFormatterForHandle:ek,styles:w||{},classNames:Z||{}}},[eI,eN,e$,D,R,eP,eo,tr,ta,ew,eb,ey,eC,ek,w,Z]);return r.createElement(k.Provider,{value:to},r.createElement("div",{ref:eE,className:o()(x,E,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(x,"-disabled"),D),"".concat(x,"-vertical"),er),"".concat(x,"-horizontal"),!er),"".concat(x,"-with-marks"),eF.length)),style:$,onMouseDown:function(e){e.preventDefault();var t,n=eE.current.getBoundingClientRect(),r=n.width,a=n.height,o=n.left,l=n.top,i=n.bottom,u=n.right,c=e.clientX,s=e.clientY;switch(e$){case"btt":t=(i-s)/a;break;case"ttb":t=(s-l)/a;break;case"rtl":t=(u-c)/r;break;default:t=(c-o)/r}e2(eL(eI+t*(eN-eI)),e)}},r.createElement("div",{className:o()("".concat(x,"-rail"),null==Z?void 0:Z.rail),style:(0,l.Z)((0,l.Z)({},ec),null==w?void 0:w.rail)}),!1!==ep&&r.createElement(I,{prefixCls:x,style:ei,values:eV,startPoint:el,onStartMove:e7?e9:void 0}),r.createElement(B,{prefixCls:x,marks:eF,dots:ev,style:es,activeStyle:ed}),r.createElement(S,{ref:ex,prefixCls:x,style:eu,values:e0,draggingIndex:eU,draggingDelete:eJ,onStartMove:e9,onOffsetChange:function(e,t){if(!D){var n=ez(eV,e,t);null==Y||Y(eW(eV)),eK(n.values),e8(n.value)}},onFocus:H,onBlur:j,handleRender:em,activeHandleRender:eg,onChangeComplete:eG,onDelete:eO?function(e){if(!D&&eO&&!(eV.length<=eB)){var t=(0,u.Z)(eV);t.splice(e,1),null==Y||Y(eW(t)),eK(t);var n=Math.max(0,e-1);ex.current.hideHelp(),ex.current.focus(n)}}:void 0}),r.createElement(O,{prefixCls:x,marks:eF,onClick:e2})))}),F=n(25043),H=n(63346),j=n(3482),L=n(7544),z=n(60205);let A=r.forwardRef((e,t)=>{let{open:n,draggingDelete:a}=e,o=(0,r.useRef)(null),l=n&&!a,i=(0,r.useRef)(null);function u(){F.Z.cancel(i.current),i.current=null}return r.useEffect(()=>(l?i.current=(0,F.Z)(()=>{var e;null===(e=o.current)||void 0===e||e.forceAlign(),i.current=null}):u(),u),[l,e.title]),r.createElement(z.Z,Object.assign({ref:(0,L.sQ)(o,t)},e,{open:l}))});var T=n(38083),q=n(51084),X=n(60848),V=n(90102),W=n(74934);let K=e=>{let{componentCls:t,antCls:n,controlSize:r,dotSize:a,marginFull:o,marginPart:l,colorFillContentHover:i,handleColorDisabled:u,calc:c,handleSize:s,handleSizeHover:d,handleActiveColor:f,handleActiveOutlineColor:v,handleLineWidth:m,handleLineWidthHover:g,motionDurationMid:p}=e;return{[t]:Object.assign(Object.assign({},(0,X.Wf)(e)),{position:"relative",height:r,margin:`${(0,T.bf)(l)} ${(0,T.bf)(o)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${(0,T.bf)(o)} ${(0,T.bf)(l)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${p}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${p}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:i},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${(0,T.bf)(m)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:s,height:s,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:c(m).mul(-1).equal(),insetBlockStart:c(m).mul(-1).equal(),width:c(s).add(c(m).mul(2)).equal(),height:c(s).add(c(m).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:s,height:s,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${(0,T.bf)(m)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:` + inset-inline-start ${p}, + inset-block-start ${p}, + width ${p}, + height ${p}, + box-shadow ${p}, + outline ${p} + `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:c(d).sub(s).div(2).add(g).mul(-1).equal(),insetBlockStart:c(d).sub(s).div(2).add(g).mul(-1).equal(),width:c(d).add(c(g).mul(2)).equal(),height:c(d).add(c(g).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${(0,T.bf)(g)} ${f}`,outline:`6px solid ${v}`,width:d,height:d,insetInlineStart:e.calc(s).sub(d).div(2).equal(),insetBlockStart:e.calc(s).sub(d).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:"none"}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:a,height:a,backgroundColor:e.colorBgElevated,border:`${(0,T.bf)(m)} solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` + ${t}-dot + `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:s,height:s,boxShadow:`0 0 0 ${(0,T.bf)(m)} ${u}`,insetInlineStart:0,insetBlockStart:0},[` + ${t}-mark-text, + ${t}-dot + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},G=(e,t)=>{let{componentCls:n,railSize:r,handleSize:a,dotSize:o,marginFull:l,calc:i}=e,u=t?"paddingBlock":"paddingInline",c=t?"width":"height",s=t?"height":"width",d=t?"insetBlockStart":"insetInlineStart",f=t?"top":"insetInlineStart",v=i(r).mul(3).sub(a).div(2).equal(),m=i(a).sub(r).div(2).equal(),g=t?{borderWidth:`${(0,T.bf)(m)} 0`,transform:`translateY(${(0,T.bf)(i(m).mul(-1).equal())})`}:{borderWidth:`0 ${(0,T.bf)(m)}`,transform:`translateX(${(0,T.bf)(e.calc(m).mul(-1).equal())})`};return{[u]:r,[s]:i(r).mul(3).equal(),[`${n}-rail`]:{[c]:"100%",[s]:r},[`${n}-track,${n}-tracks`]:{[s]:r},[`${n}-track-draggable`]:Object.assign({},g),[`${n}-handle`]:{[d]:v},[`${n}-mark`]:{insetInlineStart:0,top:0,[f]:i(r).mul(3).add(t?0:l).equal(),[c]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[f]:r,[c]:"100%",[s]:r},[`${n}-dot`]:{position:"absolute",[d]:i(r).sub(o).div(2).equal()}}},_=e=>{let{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},G(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},Y=e=>{let{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},G(e,!1)),{height:"100%"})}};var U=(0,V.I$)("Slider",e=>{let t=(0,W.IX)(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[K(t),_(t),Y(t)]},e=>{let t=e.controlHeightLG/4,n=e.controlHeightSM/2,r=e.lineWidth+1,a=e.lineWidth+1.5,o=e.colorPrimary,l=new q.C(o).setAlpha(.2).toRgbString();return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:n,dotSize:8,handleLineWidth:r,handleLineWidthHover:a,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:o,handleActiveOutlineColor:l,handleColorDisabled:new q.C(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}});let Q=(0,r.createContext)({});function J(){let[e,t]=r.useState(!1),n=r.useRef(),a=()=>{F.Z.cancel(n.current)};return r.useEffect(()=>a,[]),[e,e=>{a(),e?t(e):n.current=(0,F.Z)(()=>{t(e)})}]}var ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let et=r.forwardRef((e,t)=>{let{prefixCls:n,range:a,className:l,rootClassName:i,style:u,disabled:c,tooltipPrefixCls:s,tipFormatter:d,tooltipVisible:f,getTooltipPopupContainer:v,tooltipPlacement:m,tooltip:g={},onChangeComplete:p}=e,h=ee(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:b}=e,{direction:y,slider:C,getPrefixCls:k,getPopupContainer:x}=r.useContext(H.E_),E=r.useContext(j.Z),{handleRender:$,direction:Z}=r.useContext(Q),S="rtl"===(Z||y),[w,O]=J(),[M,B]=J(),D=Object.assign({},g),{open:I,placement:N,getPopupContainer:P,prefixCls:L,formatter:z}=D,T=null!=I?I:f,q=(w||M)&&!1!==T,X=z||null===z?z:d||null===d?d:e=>"number"==typeof e?e.toString():"",[V,W]=J(),K=(e,t)=>e||(t?S?"left":"right":"top"),G=k("slider",n),[_,Y,et]=U(G),en=o()(l,null==C?void 0:C.className,i,{[`${G}-rtl`]:S,[`${G}-lock`]:V},Y,et);S&&!h.vertical&&(h.reverse=!h.reverse),r.useEffect(()=>{let e=()=>{(0,F.Z)(()=>{B(!1)},1)};return document.addEventListener("mouseup",e),()=>{document.removeEventListener("mouseup",e)}},[]);let er=a&&!T,ea=$||((e,t)=>{let{index:n}=t,a=e.props;function o(e,t,n){var r,o;n&&(null===(r=h[e])||void 0===r||r.call(h,t)),null===(o=a[e])||void 0===o||o.call(a,t)}let l=Object.assign(Object.assign({},a),{onMouseEnter:e=>{O(!0),o("onMouseEnter",e)},onMouseLeave:e=>{O(!1),o("onMouseLeave",e)},onMouseDown:e=>{B(!0),W(!0),o("onMouseDown",e)},onFocus:e=>{var t;B(!0),null===(t=h.onFocus)||void 0===t||t.call(h,e),o("onFocus",e,!0)},onBlur:e=>{var t;B(!1),null===(t=h.onBlur)||void 0===t||t.call(h,e),o("onBlur",e,!0)}}),i=r.cloneElement(e,l);return er?i:r.createElement(A,Object.assign({},D,{prefixCls:k("tooltip",null!=L?L:s),title:X?X(t.value):"",open:(!!T||q)&&null!==X,placement:K(null!=N?N:m,b),key:n,overlayClassName:`${G}-tooltip`,getPopupContainer:P||v||x}),i)}),eo=er?(e,t)=>{let n=r.cloneElement(e,{style:Object.assign(Object.assign({},e.props.style),{visibility:"hidden"})});return r.createElement(A,Object.assign({},D,{prefixCls:k("tooltip",null!=L?L:s),title:X?X(t.value):"",open:null!==X&&q,placement:K(null!=N?N:m,b),key:"tooltip",overlayClassName:`${G}-tooltip`,getPopupContainer:P||v||x,draggingDelete:t.draggingDelete}),n)}:void 0,el=Object.assign(Object.assign({},null==C?void 0:C.style),u);return _(r.createElement(R,Object.assign({},h,{step:h.step,range:a,className:en,style:el,disabled:null!=c?c:E,ref:t,prefixCls:G,handleRender:ea,activeHandleRender:eo,onChangeComplete:e=>{null==p||p(e),W(!1)}})))});var en=et},10755:function(e,t,n){n.d(t,{Z:function(){return p}});var r=n(38497),a=n(26869),o=n.n(a),l=n(10469),i=n(42041),u=n(63346),c=n(80214);let s=r.createContext({latestIndex:0}),d=s.Provider;var f=e=>{let{className:t,index:n,children:a,split:o,style:l}=e,{latestIndex:i}=r.useContext(s);return null==a?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:l},a),nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let g=r.forwardRef((e,t)=>{var n,a,c;let{getPrefixCls:s,space:g,direction:p}=r.useContext(u.E_),{size:h=null!==(n=null==g?void 0:g.size)&&void 0!==n?n:"small",align:b,className:y,rootClassName:C,children:k,direction:x="horizontal",prefixCls:E,split:$,style:Z,wrap:S=!1,classNames:w,styles:O}=e,M=m(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[B,D]=Array.isArray(h)?h:[h,h],I=(0,i.n)(D),N=(0,i.n)(B),P=(0,i.T)(D),R=(0,i.T)(B),F=(0,l.Z)(k,{keepEmpty:!0}),H=void 0===b&&"horizontal"===x?"center":b,j=s("space",E),[L,z,A]=(0,v.Z)(j),T=o()(j,null==g?void 0:g.className,z,`${j}-${x}`,{[`${j}-rtl`]:"rtl"===p,[`${j}-align-${H}`]:H,[`${j}-gap-row-${D}`]:I,[`${j}-gap-col-${B}`]:N},y,C,A),q=o()(`${j}-item`,null!==(a=null==w?void 0:w.item)&&void 0!==a?a:null===(c=null==g?void 0:g.classNames)||void 0===c?void 0:c.item),X=0,V=F.map((e,t)=>{var n,a;null!=e&&(X=t);let o=(null==e?void 0:e.key)||`${q}-${t}`;return r.createElement(f,{className:q,key:o,index:t,split:$,style:null!==(n=null==O?void 0:O.item)&&void 0!==n?n:null===(a=null==g?void 0:g.styles)||void 0===a?void 0:a.item},e)}),W=r.useMemo(()=>({latestIndex:X}),[X]);if(0===F.length)return null;let K={};return S&&(K.flexWrap="wrap"),!N&&R&&(K.columnGap=B),!I&&P&&(K.rowGap=D),L(r.createElement("div",Object.assign({ref:t,className:T,style:Object.assign(Object.assign(Object.assign({},K),null==g?void 0:g.style),Z)},M),r.createElement(d,{value:W},V)))});g.Compact=c.ZP;var p=g},36647:function(e,t){t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},33445:function(e,t,n){n.d(t,{Fm:function(){return m}});var r=n(38083),a=n(60234);let o=new r.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new r.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),i=new r.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=new r.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new r.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new r.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),d=new r.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),f=new r.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),v={"move-up":{inKeyframes:d,outKeyframes:f},"move-down":{inKeyframes:o,outKeyframes:l},"move-left":{inKeyframes:i,outKeyframes:u},"move-right":{inKeyframes:c,outKeyframes:s}},m=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:l}=v[t];return[(0,a.R)(r,o,l,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6858.5cf58cbabe348f73.js b/dbgpt/app/static/web/_next/static/chunks/6858.0878899841afca90.js similarity index 50% rename from dbgpt/app/static/web/_next/static/chunks/6858.5cf58cbabe348f73.js rename to dbgpt/app/static/web/_next/static/chunks/6858.0878899841afca90.js index f9f4b3c73..5f11e70d2 100644 --- a/dbgpt/app/static/web/_next/static/chunks/6858.5cf58cbabe348f73.js +++ b/dbgpt/app/static/web/_next/static/chunks/6858.0878899841afca90.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6858],{62048:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return eD}});var n=l(96469),a=l(38497),s=l(77200),r=l(78638),o=l(45277),i=l(27623),c=()=>{let{history:e,setHistory:t,chatId:l,model:n,docId:s}=(0,a.useContext)(o.p),{chat:c}=(0,r.Z)({queryAgentURL:"/knowledge/document/summary"}),d=(0,a.useCallback)(async e=>{let[,a]=await (0,i.Vx)((0,i.$i)(l)),r=[...a,{role:"human",context:"",model_name:n,order:0,time_stamp:0},{role:"view",context:"",model_name:n,order:0,time_stamp:0,retry:!0}],o=r.length-1;t([...r]),await c({data:{doc_id:e||s,model_name:n},chatId:l,onMessage:e=>{r[o].context=e,t([...r])}})},[e,n,s,l]);return d},d=l(7289),u=l(72828),x=l(67576),m=l(81894),h=l(88861),p=l(70351),f=l(60205),v=l(79839),g=l(26869),j=l.n(g),w=l(93486),b=l.n(w),y=l(44766),_=l(45875),Z=l(56841),N=l(31676),C=l(41999),P=l(27691),k=l(87313),S=l(67901),R=l(86560);function D(e){let{document:t}=e;switch(t.status){case"RUNNING":return(0,n.jsx)(S.Rp,{});case"FINISHED":default:return(0,n.jsx)(S.s2,{});case"FAILED":return(0,n.jsx)(R.Z,{})}}function E(e){let{documents:t,dbParam:l}=e,a=(0,k.useRouter)(),s=e=>{a.push("/knowledge/chunk/?spaceName=".concat(l,"&id=").concat(e))};return(null==t?void 0:t.length)?(0,n.jsx)("div",{className:"absolute flex overflow-scroll h-12 top-[-35px] w-full z-10",children:t.map(e=>{let t;switch(e.status){case"RUNNING":t="#2db7f5";break;case"FINISHED":default:t="#87d068";break;case"FAILED":t="#f50"}return(0,n.jsx)(f.Z,{title:e.result,children:(0,n.jsxs)(P.ZP,{style:{color:t},onClick:()=>{s(e.id)},className:"shrink flex items-center mr-3",children:[(0,n.jsx)(D,{document:e}),e.doc_name]})},e.id)})}):null}var I=l(63079),F=l(19389);function M(e){let{dbParam:t,setDocId:l}=(0,a.useContext)(o.p),{onUploadFinish:s,handleFinish:r}=e,d=c(),[u,x]=(0,a.useState)(!1),m=async e=>{x(!0);let n=new FormData;n.append("doc_name",e.file.name),n.append("doc_file",e.file),n.append("doc_type","DOCUMENT");let a=await (0,i.Vx)((0,i.iG)(t||"default",n));if(!a[1]){x(!1);return}l(a[1]),s(),x(!1),null==r||r(!0),await d(a[1]),null==r||r(!1)};return(0,n.jsx)(F.default,{customRequest:m,showUploadList:!1,maxCount:1,multiple:!1,className:"absolute z-10 top-2 left-2",accept:".pdf,.ppt,.pptx,.xls,.xlsx,.doc,.docx,.txt,.md",children:(0,n.jsx)(P.ZP,{loading:u,size:"small",shape:"circle",icon:(0,n.jsx)(I.Z,{})})})}var U=l(82141),L=l(42518),O=l(62971),$=l(55360),A=l(16156),V=l(89928),G=l(16602),z=l(94078);let H=e=>{let{data:t,loading:l,submit:a,close:s}=e,{t:r}=(0,Z.$G)(),o=e=>()=>{a(e),s()};return(0,n.jsx)("div",{style:{maxHeight:400,overflow:"auto"},children:(0,n.jsx)(U.Z,{dataSource:null==t?void 0:t.data,loading:l,rowKey:e=>e.prompt_name,renderItem:e=>(0,n.jsx)(U.Z.Item,{onClick:o(e.content),children:(0,n.jsx)(f.Z,{title:e.content,children:(0,n.jsx)(U.Z.Item.Meta,{style:{cursor:"copy"},title:e.prompt_name,description:r("Prompt_Info_Scene")+":".concat(e.chat_scene,",")+r("Prompt_Info_Sub_Scene")+":".concat(e.sub_chat_scene)})})},e.prompt_name)})})};var q=e=>{let{submit:t}=e,{t:l}=(0,Z.$G)(),[s,r]=(0,a.useState)(!1),[o,i]=(0,a.useState)("common"),{data:c,loading:d}=(0,G.Z)(()=>(0,z.PR)("/prompt/list",{prompt_type:o}),{refreshDeps:[o],onError:e=>{p.ZP.error(null==e?void 0:e.message)}});return(0,n.jsx)(L.ZP,{theme:{components:{Popover:{minWidth:250}}},children:(0,n.jsx)(O.Z,{title:(0,n.jsx)($.default.Item,{label:"Prompt "+l("Type"),children:(0,n.jsx)(A.default,{style:{width:150},value:o,onChange:e=>{i(e)},options:[{label:l("Public")+" Prompts",value:"common"},{label:l("Private")+" Prompts",value:"private"}]})}),content:(0,n.jsx)(H,{data:c,loading:d,submit:t,close:()=>{r(!1)}}),placement:"topRight",trigger:"click",open:s,onOpenChange:e=>{r(e)},children:(0,n.jsx)(f.Z,{title:l("Click_Select")+" Prompt",children:(0,n.jsx)(V.Z,{className:"bottom-[30%]"})})})})},T=function(e){let{children:t,loading:l,onSubmit:s,handleFinish:r,placeholder:c,...d}=e,{dbParam:u,scene:x}=(0,a.useContext)(o.p),[m,h]=(0,a.useState)(""),p=(0,a.useMemo)(()=>"chat_knowledge"===x,[x]),[f,v]=(0,a.useState)([]),g=(0,a.useRef)(0);async function j(){if(!u)return null;let[e,t]=await (0,i.Vx)((0,i._Q)(u,{page:1,page_size:g.current}));v(null==t?void 0:t.data)}(0,a.useEffect)(()=>{p&&j()},[u]);let w=async()=>{g.current+=1,await j()};return(0,n.jsxs)("div",{className:"flex-1 relative",children:[(0,n.jsx)(E,{documents:f,dbParam:u}),p&&(0,n.jsx)(M,{handleFinish:r,onUploadFinish:w,className:"absolute z-10 top-2 left-2"}),(0,n.jsx)(C.default.TextArea,{className:"flex-1 ".concat(p?"pl-10":""," pr-10"),size:"large",value:m,autoSize:{minRows:1,maxRows:4},...d,onPressEnter:e=>{if(m.trim()&&13===e.keyCode){if(e.shiftKey){e.preventDefault(),h(e=>e+"\n");return}s(m),setTimeout(()=>{h("")},0)}},onChange:e=>{if("number"==typeof d.maxLength){h(e.target.value.substring(0,d.maxLength));return}h(e.target.value)},placeholder:c}),(0,n.jsx)(P.ZP,{className:"ml-2 flex items-center justify-center absolute right-0 bottom-0",size:"large",type:"text",loading:l,icon:(0,n.jsx)(N.Z,{}),onClick:()=>{s(m)}}),(0,n.jsx)(q,{submit:e=>{h(m+e)}}),t]})},B=l(83455),J=l(2242),Q=l(73304),W=(0,a.memo)(function(e){var t;let{content:l}=e,{scene:s}=(0,a.useContext)(o.p),r="view"===l.role;return(0,n.jsx)("div",{className:j()("relative w-full p-2 md:p-4 rounded-xl break-words",{"bg-white dark:bg-[#232734]":r,"lg:w-full xl:w-full pl-0":["chat_with_db_execute","chat_dashboard"].includes(s)}),children:r?(0,n.jsx)(B.D,{components:J.Z,rehypePlugins:[Q.Z],children:null==(t=l.context)?void 0:t.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}):(0,n.jsx)("div",{className:"",children:l.context})})}),K=l(39811),X=l(37022),Y=l(84223),ee=l(69274),et=l(39639),el=l(90082),en=l(15484),ea=l(49030),es=l(57064);let er={todo:{bgClass:"bg-gray-500",icon:(0,n.jsx)(K.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,n.jsx)(X.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,n.jsx)(Y.Z,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,n.jsx)(ee.Z,{className:"ml-2"})}};function eo(e){return e.replaceAll("\\n","\n").replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}var ei=(0,a.memo)(function(e){let{children:t,content:l,isChartChat:s,onLinkClick:r}=e,{scene:i}=(0,a.useContext)(o.p),{context:c,model_name:d,role:u}=l,x="view"===u,{relations:m,value:h,cachePluginContext:p}=(0,a.useMemo)(()=>{if("string"!=typeof c)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=c.split(" relations:"),l=t?t.split(","):[],n=[],a=0,s=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let l=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),s=JSON.parse(l),r="".concat(a,"");return n.push({...s,result:eo(null!==(t=s.result)&&void 0!==t?t:"")}),a++,r}catch(t){return console.log(t.message,t),e}});return{relations:l,cachePluginContext:n,value:s}},[c]),f=(0,a.useMemo)(()=>({"custom-view"(e){var t;let{children:l}=e,a=+l.toString();if(!p[a])return l;let{name:s,status:r,err_msg:o,result:i}=p[a],{bgClass:c,icon:d}=null!==(t=er[r])&&void 0!==t?t:{};return(0,n.jsxs)("div",{className:"bg-white dark:bg-[#212121] rounded-lg overflow-hidden my-2 flex flex-col lg:max-w-[80%]",children:[(0,n.jsxs)("div",{className:j()("flex px-4 md:px-6 py-2 items-center text-white text-sm",c),children:[s,d]}),i?(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,n.jsx)(B.D,{components:J.Z,rehypePlugins:[Q.Z],children:null!=i?i:""})}):(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:o})]})}}),[c,p]);return x||c?(0,n.jsxs)("div",{className:j()("relative flex flex-wrap w-full p-2 md:p-4 rounded-xl break-words",{"bg-white dark:bg-[#232734]":x,"lg:w-full xl:w-full pl-0":["chat_with_db_execute","chat_dashboard"].includes(i)}),children:[(0,n.jsx)("div",{className:"mr-2 flex flex-shrink-0 items-center justify-center h-7 w-7 rounded-full text-lg sm:mr-4",children:x?(0,es.A)(d)||(0,n.jsx)(et.Z,{}):(0,n.jsx)(el.Z,{})}),(0,n.jsxs)("div",{className:"flex-1 overflow-hidden items-center text-md leading-8 pb-2",children:[!x&&"string"==typeof c&&c,x&&s&&"object"==typeof c&&(0,n.jsxs)("div",{children:["[".concat(c.template_name,"]: "),(0,n.jsxs)("span",{className:"text-theme-primary cursor-pointer",onClick:r,children:[(0,n.jsx)(en.Z,{className:"mr-1"}),c.template_introduce||"More Details"]})]}),x&&"string"==typeof c&&(0,n.jsx)(B.D,{components:{...J.Z,...f},rehypePlugins:[Q.Z],children:eo(h)}),!!(null==m?void 0:m.length)&&(0,n.jsx)("div",{className:"flex flex-wrap mt-2",children:null==m?void 0:m.map((e,t)=>(0,n.jsx)(ea.Z,{color:"#108ee9",children:e},e+t))})]}),t]}):(0,n.jsx)("div",{className:"h-12"})}),ec=l(1526),ed=l(58064),eu=l(74936),ex=l(70224),em=l(20444),eh=l(33464),ep=l(35802),ef=l(8049),ev=l(1905),eg=l(65003),ej=l(77242),ew=l(45370),eb=l(13854),ey=l(17256),e_=l(81630),eZ=e=>{var t;let{conv_index:l,question:s,knowledge_space:r,select_param:c}=e,{t:d}=(0,Z.$G)(),{chatId:u}=(0,a.useContext)(o.p),[x,v]=(0,a.useState)(""),[g,j]=(0,a.useState)(4),[w,b]=(0,a.useState)(""),y=(0,a.useRef)(null),[_,N]=p.ZP.useMessage(),C=(0,a.useCallback)((e,t)=>{t?(0,i.Vx)((0,i.Eb)(u,l)).then(e=>{var t,l,n,a;let s=null!==(t=e[1])&&void 0!==t?t:{};v(null!==(l=s.ques_type)&&void 0!==l?l:""),j(parseInt(null!==(n=s.score)&&void 0!==n?n:"4")),b(null!==(a=s.messages)&&void 0!==a?a:"")}).catch(e=>{console.log(e)}):(v(""),j(4),b(""))},[u,l]),P=(0,eu.Z)(ex.Z)(e=>{let{theme:t}=e;return{backgroundColor:"dark"===t.palette.mode?"#FBFCFD":"#0E0E10",...t.typography["body-sm"],padding:t.spacing(1),display:"flex",alignItems:"center",justifyContent:"center",borderRadius:4,width:"100%",height:"100%"}});return(0,n.jsxs)(em.L,{onOpenChange:C,children:[N,(0,n.jsx)(f.Z,{title:d("Rating"),children:(0,n.jsx)(eh.Z,{slots:{root:h.ZP},slotProps:{root:{variant:"plain",color:"primary"}},sx:{borderRadius:40},children:(0,n.jsx)(ec.Z,{})})}),(0,n.jsxs)(ep.Z,{children:[(0,n.jsx)(ef.Z,{disabled:!0,sx:{minHeight:0}}),(0,n.jsx)(ev.Z,{sx:{width:"100%",maxWidth:350,display:"grid",gap:3,padding:1},children:(0,n.jsx)("form",{onSubmit:e=>{e.preventDefault();let t={conv_uid:u,conv_index:l,question:s,knowledge_space:r,score:g,ques_type:x,messages:w};console.log(t),(0,i.Vx)((0,i.VC)({data:t})).then(e=>{_.open({type:"success",content:"save success"})}).catch(e=>{_.open({type:"error",content:"save error"})})},children:(0,n.jsxs)(eg.Z,{container:!0,spacing:.5,columns:13,sx:{flexGrow:1},children:[(0,n.jsx)(eg.Z,{xs:3,children:(0,n.jsx)(P,{children:d("Q_A_Category")})}),(0,n.jsx)(eg.Z,{xs:10,children:(0,n.jsx)(ej.Z,{action:y,value:x,placeholder:"Choose one…",onChange:(e,t)=>v(null!=t?t:""),...x&&{endDecorator:(0,n.jsx)(h.ZP,{size:"sm",variant:"plain",color:"neutral",onMouseDown:e=>{e.stopPropagation()},onClick:()=>{var e;v(""),null===(e=y.current)||void 0===e||e.focusVisible()},children:(0,n.jsx)(ed.Z,{})}),indicator:null},sx:{width:"100%"},children:c&&(null===(t=Object.keys(c))||void 0===t?void 0:t.map(e=>(0,n.jsx)(ew.Z,{value:e,children:c[e]},e)))})}),(0,n.jsx)(eg.Z,{xs:3,children:(0,n.jsx)(P,{children:(0,n.jsx)(f.Z,{title:(0,n.jsx)(ev.Z,{children:(0,n.jsx)("div",{children:d("feed_back_desc")})}),variant:"solid",placement:"left",children:d("Q_A_Rating")})})}),(0,n.jsx)(eg.Z,{xs:10,sx:{pl:0,ml:0},children:(0,n.jsx)(eb.Z,{"aria-label":"Custom",step:1,min:0,max:5,valueLabelFormat:function(e){return({0:d("Lowest"),1:d("Missed"),2:d("Lost"),3:d("Incorrect"),4:d("Verbose"),5:d("Best")})[e]},valueLabelDisplay:"on",marks:[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"}],sx:{width:"90%",pt:3,m:2,ml:1},onChange:e=>{var t;return j(null===(t=e.target)||void 0===t?void 0:t.value)},value:g})}),(0,n.jsx)(eg.Z,{xs:13,children:(0,n.jsx)(ey.Z,{placeholder:d("Please_input_the_text"),value:w,onChange:e=>b(e.target.value),minRows:2,maxRows:4,endDecorator:(0,n.jsx)(e_.ZP,{level:"body-xs",sx:{ml:"auto"},children:d("input_count")+w.length+d("input_unit")}),sx:{width:"100%",fontSize:14}})}),(0,n.jsx)(eg.Z,{xs:13,children:(0,n.jsx)(m.Z,{type:"submit",variant:"outlined",sx:{width:"100%",height:"100%"},children:d("submit")})})]})})})]})]})},eN=l(22672),eC=l(76592),eP=e=>{var t,l;let{messages:r,onSubmit:g}=e,{dbParam:w,currentDialogue:N,scene:C,model:P,refreshDialogList:k,chatId:S,agent:R,docId:D}=(0,a.useContext)(o.p),{t:E}=(0,Z.$G)(),I=(0,_.useSearchParams)(),F=null!==(t=I&&I.get("select_param"))&&void 0!==t?t:"",M=null!==(l=I&&I.get("spaceNameOriginal"))&&void 0!==l?l:"",[U,L]=(0,a.useState)(!1),[O,$]=(0,a.useState)(!1),[A,V]=(0,a.useState)(r),[G,z]=(0,a.useState)(""),[H,q]=(0,a.useState)(),B=(0,a.useRef)(null),J=(0,a.useMemo)(()=>"chat_dashboard"===C,[C]),Q=c(),K=(0,a.useMemo)(()=>{switch(C){case"chat_agent":return R;case"chat_excel":return null==N?void 0:N.select_param;case"chat_flow":return F;default:return M||w}},[C,R,N,w,M,F]),X=async e=>{if(!U&&e.trim()){if("chat_agent"===C&&!R){p.ZP.warning(E("choice_agent_tip"));return}try{L(!0),await g(e,{select_param:null!=K?K:""})}finally{L(!1)}}},Y=e=>{try{return JSON.parse(e)}catch(t){return e}},[ee,et]=p.ZP.useMessage(),el=async e=>{let t=null==e?void 0:e.replace(/\trelations:.*/g,""),l=b()(t);l?t?ee.open({type:"success",content:E("copy_success")}):ee.open({type:"warning",content:E("copy_nothing")}):ee.open({type:"error",content:E("copy_failed")})},en=async()=>{!U&&D&&(L(!0),await Q(D),L(!1))};return(0,s.Z)(async()=>{let e=(0,d.a_)();e&&e.id===S&&(await X(e.message),k(),localStorage.removeItem(d.rU))},[S]),(0,a.useEffect)(()=>{let e=r;J&&(e=(0,y.cloneDeep)(r).map(e=>((null==e?void 0:e.role)==="view"&&"string"==typeof(null==e?void 0:e.context)&&(e.context=Y(null==e?void 0:e.context)),e))),V(e.filter(e=>["view","human"].includes(e.role)))},[J,r]),(0,a.useEffect)(()=>{(0,i.Vx)((0,i.Lu)()).then(e=>{var t;q(null!==(t=e[1])&&void 0!==t?t:{})}).catch(e=>{console.log(e)})},[]),(0,a.useEffect)(()=>{setTimeout(()=>{var e;null===(e=B.current)||void 0===e||e.scrollTo(0,B.current.scrollHeight)},50)},[r]),(0,n.jsxs)(n.Fragment,{children:[et,(0,n.jsx)("div",{ref:B,className:"flex flex-1 overflow-y-auto pb-8 w-full flex-col",children:(0,n.jsx)("div",{className:"flex items-center flex-1 flex-col text-sm leading-6 text-slate-900 dark:text-slate-300 sm:text-base sm:leading-7",children:A.length?A.map((e,t)=>{var l;return"chat_agent"===C?(0,n.jsx)(W,{content:e},t):(0,n.jsx)(ei,{content:e,isChartChat:J,onLinkClick:()=>{$(!0),z(JSON.stringify(null==e?void 0:e.context,null,2))},children:"view"===e.role&&(0,n.jsxs)("div",{className:"flex w-full border-t border-gray-200 dark:border-theme-dark",children:["chat_knowledge"===C&&e.retry?(0,n.jsxs)(m.Z,{onClick:en,slots:{root:h.ZP},slotProps:{root:{variant:"plain",color:"primary"}},children:[(0,n.jsx)(u.Z,{}),"\xa0",(0,n.jsx)("span",{className:"text-sm",children:E("Retry")})]}):null,(0,n.jsxs)("div",{className:"flex w-full flex-row-reverse",children:[(0,n.jsx)(eZ,{select_param:H,conv_index:Math.ceil((t+1)/2),question:null===(l=null==A?void 0:A.filter(t=>(null==t?void 0:t.role)==="human"&&(null==t?void 0:t.order)===e.order)[0])||void 0===l?void 0:l.context,knowledge_space:M||w||""}),(0,n.jsx)(f.Z,{title:E("copy"),children:(0,n.jsx)(m.Z,{onClick:()=>el(null==e?void 0:e.context),slots:{root:h.ZP},slotProps:{root:{variant:"plain",color:"primary"}},sx:{borderRadius:40},children:(0,n.jsx)(x.Z,{})})})]})]})},t)}):(0,n.jsx)(eC.Z,{description:"Start a conversation"})})}),(0,n.jsx)("div",{className:j()("relative after:absolute after:-top-8 after:h-8 after:w-full after:bg-gradient-to-t after:from-theme-light after:to-transparent dark:after:from-theme-dark",{"cursor-not-allowed":"chat_excel"===C&&!(null==N?void 0:N.select_param)}),children:(0,n.jsxs)("div",{className:"flex flex-wrap w-full py-2 sm:pt-6 sm:pb-10 items-center",children:[P&&(0,n.jsx)("div",{className:"mr-2 flex",children:(0,es.A)(P)}),(0,n.jsx)(T,{loading:U,onSubmit:X,handleFinish:L})]})}),(0,n.jsx)(v.default,{title:"JSON Editor",open:O,width:"60%",cancelButtonProps:{hidden:!0},onOk:()=>{$(!1)},onCancel:()=>{$(!1)},children:(0,n.jsx)(eN.Z,{className:"w-full h-[500px]",language:"json",value:G})})]})},ek=l(53047),eS=l(45045),eR=l(18458),eD=()=>{var e;let t=(0,_.useSearchParams)(),{scene:l,chatId:c,model:u,agent:x,setModel:m,history:h,setHistory:p}=(0,a.useContext)(o.p),{chat:f}=(0,r.Z)({}),v=null!==(e=t&&t.get("initMessage"))&&void 0!==e?e:"",[g,w]=(0,a.useState)(!1),[b,y]=(0,a.useState)(),Z=async()=>{w(!0);let[,e]=await (0,i.Vx)((0,i.$i)(c));p(null!=e?e:[]),w(!1)},N=e=>{var t;let l=null===(t=e[e.length-1])||void 0===t?void 0:t.context;if(l)try{let e="string"==typeof l?JSON.parse(l):l;console.log("contextObj",e),y((null==e?void 0:e.template_name)==="report"?null==e?void 0:e.charts:void 0)}catch(e){console.log(e),y([])}};(0,s.Z)(async()=>{let e=(0,d.a_)();e&&e.id===c||await Z()},[v,c]),(0,a.useEffect)(()=>{var e,t;if(!h.length)return;let l=null===(e=null===(t=h.filter(e=>"view"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];(null==l?void 0:l.model_name)&&m(l.model_name),N(h)},[h.length]),(0,a.useEffect)(()=>()=>{p([])},[]);let C=(0,a.useCallback)((e,t)=>new Promise(n=>{let a=[...h,{role:"human",context:e,model_name:u,order:0,time_stamp:0},{role:"view",context:"",model_name:u,order:0,time_stamp:0}],s=a.length-1;p([...a]),f({data:{...t,chat_mode:l||"chat_normal",model_name:u,user_input:e},chatId:c,onMessage:e=>{(null==t?void 0:t.incremental)?a[s].context+=e:a[s].context=e,p([...a])},onDone:()=>{N(a),n()},onClose:()=>{N(a),n()},onError:e=>{a[s].context=e,p([...a]),n()}})}),[h,f,c,u,x,l]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eR.Z,{visible:g}),(0,n.jsx)(ek.Z,{refreshHistory:Z,modelChange:e=>{m(e)}}),(0,n.jsxs)("div",{className:"px-4 flex flex-1 flex-wrap overflow-hidden relative",children:[!!(null==b?void 0:b.length)&&(0,n.jsx)("div",{className:"w-full pb-4 xl:w-3/4 h-1/2 xl:pr-4 xl:h-full overflow-y-auto",children:(0,n.jsx)(eS.ZP,{chartsData:b})}),!(null==b?void 0:b.length)&&"chat_dashboard"===l&&(0,n.jsx)(eC.Z,{className:"w-full xl:w-3/4 h-1/2 xl:h-full"}),(0,n.jsx)("div",{className:j()("flex flex-1 flex-col overflow-hidden",{"px-0 xl:pl-4 h-1/2 w-full xl:w-auto xl:h-full border-t xl:border-t-0 xl:border-l dark:border-gray-800":"chat_dashboard"===l,"h-full lg:px-8":"chat_dashboard"!==l}),children:(0,n.jsx)(eP,{messages:h,onSubmit:C})})]})]})}},53047:function(e,t,l){"use strict";l.d(t,{Z:function(){return R}});var n=l(96469),a=l(38497),s=l(70351),r=l(60205),o=l(19389),i=l(27691),c=l(64698),d=l(20222),u=l(86959),x=l(27623),m=l(45277),h=function(e){var t;let{convUid:l,chatMode:h,onComplete:p,...f}=e,[v,g]=(0,a.useState)(!1),[j,w]=s.ZP.useMessage(),[b,y]=(0,a.useState)([]),[_,Z]=(0,a.useState)(),{model:N}=(0,a.useContext)(m.p),C=async e=>{var t;if(!e){s.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(t=e.file.name)&&void 0!==t?t:"")){s.ZP.error("File type must be csv, xlsx or xls");return}y([e.file])},P=async()=>{g(!0);try{let e=new FormData;e.append("doc_file",b[0]),j.open({content:"Uploading ".concat(b[0].name),type:"loading",duration:0});let[t]=await (0,x.Vx)((0,x.qn)({convUid:l,chatMode:h,data:e,model:N,config:{timeout:36e5,onUploadProgress:e=>{let t=Math.ceil(e.loaded/(e.total||0)*100);Z(t)}}}));if(t)return;s.ZP.success("success"),null==p||p()}catch(e){s.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{g(!1),j.destroy()}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[w,(0,n.jsx)(r.Z,{placement:"bottom",title:"File cannot be changed after upload",children:(0,n.jsx)(o.default,{disabled:v,className:"mr-1",beforeUpload:()=>!1,fileList:b,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:C,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,n.jsx)(n.Fragment,{}),...f,children:(0,n.jsx)(i.ZP,{className:"flex justify-center items-center",type:"primary",disabled:v,icon:(0,n.jsx)(c.Z,{}),children:"Select File"})})}),(0,n.jsx)(i.ZP,{type:"primary",loading:v,className:"flex justify-center items-center",disabled:!b.length,icon:(0,n.jsx)(d.Z,{}),onClick:P,children:v?100===_?"Analysis":"Uploading":"Upload"}),!!b.length&&(0,n.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",onClick:()=>y([]),children:[(0,n.jsx)(u.Z,{className:"mr-2"}),(0,n.jsx)("span",{children:null===(t=b[0])||void 0===t?void 0:t.name})]})]})})},p=function(e){let{onComplete:t}=e,{currentDialogue:l,scene:s,chatId:r}=(0,a.useContext)(m.p);return"chat_excel"!==s?null:(0,n.jsx)("div",{className:"max-w-md h-full relative",children:l?(0,n.jsxs)("div",{className:"flex h-8 overflow-hidden rounded",children:[(0,n.jsx)("div",{className:"flex items-center justify-center px-2 bg-gray-600 text-lg",children:(0,n.jsx)(u.Z,{className:"text-white"})}),(0,n.jsx)("div",{className:"flex items-center justify-center px-3 bg-gray-100 text-xs rounded-tr rounded-br dark:text-gray-800 truncate",children:l.select_param})]}):(0,n.jsx)(h,{convUid:r,chatMode:s,onComplete:t})})};l(65282);var f=l(76372),v=l(42834),g=l(13250),j=l(67901);function w(){let{isContract:e,setIsContract:t,scene:l}=(0,a.useContext)(m.p),s=l&&["chat_with_db_execute","chat_dashboard"].includes(l);return s?(0,n.jsxs)(f.ZP.Group,{value:e,defaultValue:!0,buttonStyle:"solid",onChange:()=>{t(!e)},children:[(0,n.jsxs)(f.ZP.Button,{value:!1,children:[(0,n.jsx)(v.Z,{component:j.ig,className:"mr-1"}),"Preview"]}),(0,n.jsxs)(f.ZP.Button,{value:!0,children:[(0,n.jsx)(g.Z,{className:"mr-1"}),"Editor"]})]}):null}var b=l(57064),y=l(7289),_=l(77200),Z=l(16156),N=l(59321),C=function(){let{scene:e,dbParam:t,setDbParam:l}=(0,a.useContext)(m.p),[s,r]=(0,a.useState)([]);(0,_.Z)(async()=>{let[,t]=await (0,x.Vx)((0,x.vD)(e));r(null!=t?t:[])},[e]);let o=(0,a.useMemo)(()=>{var e;return null===(e=s.map)||void 0===e?void 0:e.call(s,e=>({name:e.param,...y.S$[e.type]}))},[s]);return((0,a.useEffect)(()=>{(null==o?void 0:o.length)&&!t&&l(o[0].name)},[o,l,t]),null==o?void 0:o.length)?(0,n.jsx)(Z.default,{value:t,className:"w-36",onChange:e=>{l(e)},children:o.map(e=>(0,n.jsxs)(Z.default.Option,{children:[(0,n.jsx)(N.Z,{width:24,height:24,src:e.icon,label:e.label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.name]},e.name))}):null},P=l(16602),k=l(56841),S=function(){let{t:e}=(0,k.$G)(),{agent:t,setAgent:l}=(0,a.useContext)(m.p),{data:s=[]}=(0,P.Z)(async()=>{let[,e]=await (0,x.Vx)((0,x.H4)());return null!=e?e:[]});return(0,n.jsx)(Z.default,{className:"w-60",value:t,placeholder:e("Select_Plugins"),options:s.map(e=>({label:e.app_name,value:e.app_code})),allowClear:!0,onChange:e=>{null==l||l(e)}})},R=function(e){let{refreshHistory:t,modelChange:l}=e,{scene:s,refreshDialogList:r}=(0,a.useContext)(m.p);return(0,n.jsxs)("div",{className:"w-full py-2 px-4 md:px-4 flex flex-wrap items-center justify-center gap-1 md:gap-4",children:[(0,n.jsx)(b.Z,{onChange:l}),(0,n.jsx)(C,{}),"chat_excel"===s&&(0,n.jsx)(p,{onComplete:()=>{null==r||r(),null==t||t()}}),"chat_agent"===s&&(0,n.jsx)(S,{}),(0,n.jsx)(w,{})]})}},57064:function(e,t,l){"use strict";l.d(t,{A:function(){return x}});var n=l(96469),a=l(45277),s=l(27250),r=l(16156),o=l(23852),i=l.n(o),c=l(38497),d=l(56841);let u="/models/huggingface.svg";function x(e,t){var l,a;let{width:r,height:o}=t||{};return e?(0,n.jsx)(i(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:r||24,height:o||24,src:(null===(l=s.Hf[e])||void 0===l?void 0:l.icon)||u,alt:"llm"},(null===(a=s.Hf[e])||void 0===a?void 0:a.icon)||u):null}t.Z=function(e){let{onChange:t}=e,{t:l}=(0,d.$G)(),{modelList:o,model:i}=(0,c.useContext)(a.p);return!o||o.length<=0?null:(0,n.jsx)(r.default,{value:i,placeholder:l("choose_model"),className:"w-52",onChange:e=>{null==t||t(e)},children:o.map(e=>{var t;return(0,n.jsx)(r.default.Option,{children:(0,n.jsxs)("div",{className:"flex items-center",children:[x(e),(0,n.jsx)("span",{className:"ml-2",children:(null===(t=s.Hf[e])||void 0===t?void 0:t.label)||e})]})},e)})})}},76592:function(e,t,l){"use strict";var n=l(96469),a=l(97818),s=l(27691),r=l(26869),o=l.n(r),i=l(56841);t.Z=function(e){let{className:t,error:l,description:r,refresh:c}=e,{t:d}=(0,i.$G)();return(0,n.jsx)(a.Z,{image:"/empty.png",imageStyle:{width:320,height:196,margin:"0 auto",maxWidth:"100%",maxHeight:"100%"},className:o()("flex items-center justify-center flex-col h-full w-full",t),description:l?(0,n.jsx)(s.ZP,{type:"primary",onClick:c,children:d("try_again")}):null!=r?r:d("no_data")})}},18458:function(e,t,l){"use strict";var n=l(96469),a=l(37022);t.Z=function(e){let{visible:t}=e;return t?(0,n.jsx)("div",{className:"absolute w-full h-full top-0 left-0 flex justify-center items-center z-10 bg-white dark:bg-black bg-opacity-50 dark:bg-opacity-50 backdrop-blur-sm text-3xl animate-fade animate-duration-200",children:(0,n.jsx)(a.Z,{})}):null}},51310:function(e,t,l){"use strict";var n=l(88506);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},94078:function(e,t,l){"use strict";l.d(t,{Tk:function(){return c},PR:function(){return d}});var n=l(70351),a=l(81366),s=l(75299);let r=a.default.create({baseURL:s.env.API_BASE_URL});r.defaults.timeout=1e4,r.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),l(44766);var o=l(7289);let i={"content-type":"application/json","User-Id":(0,o.n5)()},c=(e,t)=>{if(t){let l=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");l&&(e+="?".concat(l))}return r.get("/api"+e,{headers:i}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},d=(e,t)=>r.post(e,t,{headers:i}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},65282:function(){}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6858],{62048:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return eE}});var n=l(96469),a=l(38497),s=l(77200),r=l(78638),o=l(45277),i=l(27623),c=()=>{let{history:e,setHistory:t,chatId:l,model:n,docId:s}=(0,a.useContext)(o.p),{chat:c}=(0,r.Z)({queryAgentURL:"/knowledge/document/summary"}),d=(0,a.useCallback)(async e=>{let[,a]=await (0,i.Vx)((0,i.$i)(l)),r=[...a,{role:"human",context:"",model_name:n,order:0,time_stamp:0},{role:"view",context:"",model_name:n,order:0,time_stamp:0,retry:!0}],o=r.length-1;t([...r]),await c({data:{doc_id:e||s,model_name:n},chatId:l,onMessage:e=>{r[o].context=e,t([...r])}})},[e,n,s,l]);return d},d=l(7289),u=l(72828),x=l(67576),m=l(81894),h=l(88861),p=l(70351),f=l(60205),v=l(79839),g=l(26869),j=l.n(g),w=l(93486),b=l.n(w),y=l(44766),Z=l(45875),_=l(56841),N=l(31676),C=l(71841),P=l(27691),k=l(87313),S=l(67901),R=l(86560);function E(e){let{document:t}=e;switch(t.status){case"RUNNING":return(0,n.jsx)(S.Rp,{});case"FINISHED":default:return(0,n.jsx)(S.s2,{});case"FAILED":return(0,n.jsx)(R.Z,{})}}function I(e){let{documents:t,dbParam:l}=e,a=(0,k.useRouter)(),s=e=>{a.push("/knowledge/chunk/?spaceName=".concat(l,"&id=").concat(e))};return(null==t?void 0:t.length)?(0,n.jsx)("div",{className:"absolute flex overflow-scroll h-12 top-[-35px] w-full z-10",children:t.map(e=>{let t;switch(e.status){case"RUNNING":t="#2db7f5";break;case"FINISHED":default:t="#87d068";break;case"FAILED":t="#f50"}return(0,n.jsx)(f.Z,{title:e.result,children:(0,n.jsxs)(P.ZP,{style:{color:t},onClick:()=>{s(e.id)},className:"shrink flex items-center mr-3",children:[(0,n.jsx)(E,{document:e}),e.doc_name]})},e.id)})}):null}var D=l(63079),F=l(32818);function M(e){let{dbParam:t,setDocId:l}=(0,a.useContext)(o.p),{onUploadFinish:s,handleFinish:r}=e,d=c(),[u,x]=(0,a.useState)(!1),m=async e=>{x(!0);let n=new FormData;n.append("doc_name",e.file.name),n.append("doc_file",e.file),n.append("doc_type","DOCUMENT");let a=await (0,i.Vx)((0,i.iG)(t||"default",n));if(!a[1]){x(!1);return}l(a[1]),s(),x(!1),null==r||r(!0),await d(a[1]),null==r||r(!1)};return(0,n.jsx)(F.default,{customRequest:m,showUploadList:!1,maxCount:1,multiple:!1,className:"absolute z-10 top-2 left-2",accept:".pdf,.ppt,.pptx,.xls,.xlsx,.doc,.docx,.txt,.md",children:(0,n.jsx)(P.ZP,{loading:u,size:"small",shape:"circle",icon:(0,n.jsx)(D.Z,{})})})}var U=l(82141),L=l(42518),O=l(62971),$=l(55360),A=l(39069),V=l(35854),G=l(16602),z=l(94078);let H=e=>{let{data:t,loading:l,submit:a,close:s}=e,{t:r}=(0,_.$G)(),o=e=>()=>{a(e),s()};return(0,n.jsx)("div",{style:{maxHeight:400,overflow:"auto"},children:(0,n.jsx)(U.Z,{dataSource:null==t?void 0:t.data,loading:l,rowKey:e=>e.prompt_name,renderItem:e=>(0,n.jsx)(U.Z.Item,{onClick:o(e.content),children:(0,n.jsx)(f.Z,{title:e.content,children:(0,n.jsx)(U.Z.Item.Meta,{style:{cursor:"copy"},title:e.prompt_name,description:r("Prompt_Info_Scene")+":".concat(e.chat_scene,",")+r("Prompt_Info_Sub_Scene")+":".concat(e.sub_chat_scene)})})},e.prompt_name)})})};var q=e=>{let{submit:t}=e,{t:l}=(0,_.$G)(),[s,r]=(0,a.useState)(!1),[o,i]=(0,a.useState)("common"),{data:c,loading:d}=(0,G.Z)(()=>(0,z.PR)("/prompt/list",{prompt_type:o}),{refreshDeps:[o],onError:e=>{p.ZP.error(null==e?void 0:e.message)}});return(0,n.jsx)(L.ZP,{theme:{components:{Popover:{minWidth:250}}},children:(0,n.jsx)(O.Z,{title:(0,n.jsx)($.default.Item,{label:"Prompt "+l("Type"),children:(0,n.jsx)(A.default,{style:{width:150},value:o,onChange:e=>{i(e)},options:[{label:l("Public")+" Prompts",value:"common"},{label:l("Private")+" Prompts",value:"private"}]})}),content:(0,n.jsx)(H,{data:c,loading:d,submit:t,close:()=>{r(!1)}}),placement:"topRight",trigger:"click",open:s,onOpenChange:e=>{r(e)},children:(0,n.jsx)(f.Z,{title:l("Click_Select")+" Prompt",children:(0,n.jsx)(V.Z,{className:"bottom-[30%]"})})})})},B=function(e){let{children:t,loading:l,onSubmit:s,handleFinish:r,placeholder:c,...d}=e,{dbParam:u,scene:x}=(0,a.useContext)(o.p),[m,h]=(0,a.useState)(""),p=(0,a.useMemo)(()=>"chat_knowledge"===x,[x]),[f,v]=(0,a.useState)([]),g=(0,a.useRef)(0);async function j(){if(!u)return null;let[e,t]=await (0,i.Vx)((0,i._Q)(u,{page:1,page_size:g.current}));v(null==t?void 0:t.data)}(0,a.useEffect)(()=>{p&&j()},[u]);let w=async()=>{g.current+=1,await j()};return(0,n.jsxs)("div",{className:"flex-1 relative",children:[(0,n.jsx)(I,{documents:f,dbParam:u}),p&&(0,n.jsx)(M,{handleFinish:r,onUploadFinish:w,className:"absolute z-10 top-2 left-2"}),(0,n.jsx)(C.default.TextArea,{className:"flex-1 ".concat(p?"pl-10":""," pr-10"),size:"large",value:m,autoSize:{minRows:1,maxRows:4},...d,onPressEnter:e=>{if(m.trim()&&13===e.keyCode){if(e.shiftKey){e.preventDefault(),h(e=>e+"\n");return}s(m),setTimeout(()=>{h("")},0)}},onChange:e=>{if("number"==typeof d.maxLength){h(e.target.value.substring(0,d.maxLength));return}h(e.target.value)},placeholder:c}),(0,n.jsx)(P.ZP,{className:"ml-2 flex items-center justify-center absolute right-0 bottom-0",size:"large",type:"text",loading:l,icon:(0,n.jsx)(N.Z,{}),onClick:()=>{s(m)}}),(0,n.jsx)(q,{submit:e=>{h(m+e)}}),t]})},T=l(11576),J=l(2242),Q=l(75798),W=(0,a.memo)(function(e){var t;let{content:l}=e,{scene:s}=(0,a.useContext)(o.p),r="view"===l.role;return(0,n.jsx)("div",{className:j()("relative w-full p-2 md:p-4 rounded-xl break-words",{"bg-white dark:bg-[#232734]":r,"lg:w-full xl:w-full pl-0":["chat_with_db_execute","chat_dashboard"].includes(s)}),children:r?(0,n.jsx)(T.Z,{components:J.Z,rehypePlugins:[Q.Z],children:null==(t=l.context)?void 0:t.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}):(0,n.jsx)("div",{className:"",children:l.context})})}),K=l(39811),X=l(37022),Y=l(84223),ee=l(69274),et=l(39639),el=l(90082),en=l(15484),ea=l(49030),es=l(57064);let er={todo:{bgClass:"bg-gray-500",icon:(0,n.jsx)(K.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,n.jsx)(X.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,n.jsx)(Y.Z,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,n.jsx)(ee.Z,{className:"ml-2"})}};function eo(e){return e.replaceAll("\\n","\n").replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}var ei=(0,a.memo)(function(e){let{children:t,content:l,isChartChat:s,onLinkClick:r}=e,{scene:i}=(0,a.useContext)(o.p),{context:c,model_name:d,role:u}=l,x="view"===u,{relations:m,value:h,cachePluginContext:p}=(0,a.useMemo)(()=>{if("string"!=typeof c)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=c.split(" relations:"),l=t?t.split(","):[],n=[],a=0,s=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let l=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),s=JSON.parse(l),r="".concat(a,"");return n.push({...s,result:eo(null!==(t=s.result)&&void 0!==t?t:"")}),a++,r}catch(t){return console.log(t.message,t),e}});return{relations:l,cachePluginContext:n,value:s}},[c]),f=(0,a.useMemo)(()=>({"custom-view"(e){var t;let{children:l}=e,a=+l.toString();if(!p[a])return l;let{name:s,status:r,err_msg:o,result:i}=p[a],{bgClass:c,icon:d}=null!==(t=er[r])&&void 0!==t?t:{};return(0,n.jsxs)("div",{className:"bg-white dark:bg-[#212121] rounded-lg overflow-hidden my-2 flex flex-col lg:max-w-[80%]",children:[(0,n.jsxs)("div",{className:j()("flex px-4 md:px-6 py-2 items-center text-white text-sm",c),children:[s,d]}),i?(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,n.jsx)(T.Z,{components:J.Z,rehypePlugins:[Q.Z],children:null!=i?i:""})}):(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:o})]})}}),[c,p]);return x||c?(0,n.jsxs)("div",{className:j()("relative flex flex-wrap w-full p-2 md:p-4 rounded-xl break-words",{"bg-white dark:bg-[#232734]":x,"lg:w-full xl:w-full pl-0":["chat_with_db_execute","chat_dashboard"].includes(i)}),children:[(0,n.jsx)("div",{className:"mr-2 flex flex-shrink-0 items-center justify-center h-7 w-7 rounded-full text-lg sm:mr-4",children:x?(0,es.A)(d)||(0,n.jsx)(et.Z,{}):(0,n.jsx)(el.Z,{})}),(0,n.jsxs)("div",{className:"flex-1 overflow-hidden items-center text-md leading-8 pb-2",children:[!x&&"string"==typeof c&&c,x&&s&&"object"==typeof c&&(0,n.jsxs)("div",{children:["[".concat(c.template_name,"]: "),(0,n.jsxs)("span",{className:"text-theme-primary cursor-pointer",onClick:r,children:[(0,n.jsx)(en.Z,{className:"mr-1"}),c.template_introduce||"More Details"]})]}),x&&"string"==typeof c&&(0,n.jsx)(T.Z,{components:{...J.Z,...f},rehypePlugins:[Q.Z],children:eo(h)}),!!(null==m?void 0:m.length)&&(0,n.jsx)("div",{className:"flex flex-wrap mt-2",children:null==m?void 0:m.map((e,t)=>(0,n.jsx)(ea.Z,{color:"#108ee9",children:e},e+t))})]}),t]}):(0,n.jsx)("div",{className:"h-12"})}),ec=l(1526),ed=l(58064),eu=l(74936),ex=l(70224),em=l(20444),eh=l(33464),ep=l(35802),ef=l(8049),ev=l(1905),eg=l(65003),ej=l(77242),ew=l(45370),eb=l(89809),ey=l(75349),eZ=l(81630),e_=e=>{var t;let{conv_index:l,question:s,knowledge_space:r,select_param:c}=e,{t:d}=(0,_.$G)(),{chatId:u}=(0,a.useContext)(o.p),[x,v]=(0,a.useState)(""),[g,j]=(0,a.useState)(4),[w,b]=(0,a.useState)(""),y=(0,a.useRef)(null),[Z,N]=p.ZP.useMessage(),C=(0,a.useCallback)((e,t)=>{t?(0,i.Vx)((0,i.Eb)(u,l)).then(e=>{var t,l,n,a;let s=null!==(t=e[1])&&void 0!==t?t:{};v(null!==(l=s.ques_type)&&void 0!==l?l:""),j(parseInt(null!==(n=s.score)&&void 0!==n?n:"4")),b(null!==(a=s.messages)&&void 0!==a?a:"")}).catch(e=>{console.log(e)}):(v(""),j(4),b(""))},[u,l]),P=(0,eu.Z)(ex.Z)(e=>{let{theme:t}=e;return{backgroundColor:"dark"===t.palette.mode?"#FBFCFD":"#0E0E10",...t.typography["body-sm"],padding:t.spacing(1),display:"flex",alignItems:"center",justifyContent:"center",borderRadius:4,width:"100%",height:"100%"}});return(0,n.jsxs)(em.L,{onOpenChange:C,children:[N,(0,n.jsx)(f.Z,{title:d("Rating"),children:(0,n.jsx)(eh.Z,{slots:{root:h.ZP},slotProps:{root:{variant:"plain",color:"primary"}},sx:{borderRadius:40},children:(0,n.jsx)(ec.Z,{})})}),(0,n.jsxs)(ep.Z,{children:[(0,n.jsx)(ef.Z,{disabled:!0,sx:{minHeight:0}}),(0,n.jsx)(ev.Z,{sx:{width:"100%",maxWidth:350,display:"grid",gap:3,padding:1},children:(0,n.jsx)("form",{onSubmit:e=>{e.preventDefault();let t={conv_uid:u,conv_index:l,question:s,knowledge_space:r,score:g,ques_type:x,messages:w};console.log(t),(0,i.Vx)((0,i.VC)({data:t})).then(e=>{Z.open({type:"success",content:"save success"})}).catch(e=>{Z.open({type:"error",content:"save error"})})},children:(0,n.jsxs)(eg.Z,{container:!0,spacing:.5,columns:13,sx:{flexGrow:1},children:[(0,n.jsx)(eg.Z,{xs:3,children:(0,n.jsx)(P,{children:d("Q_A_Category")})}),(0,n.jsx)(eg.Z,{xs:10,children:(0,n.jsx)(ej.Z,{action:y,value:x,placeholder:"Choose one…",onChange:(e,t)=>v(null!=t?t:""),...x&&{endDecorator:(0,n.jsx)(h.ZP,{size:"sm",variant:"plain",color:"neutral",onMouseDown:e=>{e.stopPropagation()},onClick:()=>{var e;v(""),null===(e=y.current)||void 0===e||e.focusVisible()},children:(0,n.jsx)(ed.Z,{})}),indicator:null},sx:{width:"100%"},children:c&&(null===(t=Object.keys(c))||void 0===t?void 0:t.map(e=>(0,n.jsx)(ew.Z,{value:e,children:c[e]},e)))})}),(0,n.jsx)(eg.Z,{xs:3,children:(0,n.jsx)(P,{children:(0,n.jsx)(f.Z,{title:(0,n.jsx)(ev.Z,{children:(0,n.jsx)("div",{children:d("feed_back_desc")})}),variant:"solid",placement:"left",children:d("Q_A_Rating")})})}),(0,n.jsx)(eg.Z,{xs:10,sx:{pl:0,ml:0},children:(0,n.jsx)(eb.Z,{"aria-label":"Custom",step:1,min:0,max:5,valueLabelFormat:function(e){return({0:d("Lowest"),1:d("Missed"),2:d("Lost"),3:d("Incorrect"),4:d("Verbose"),5:d("Best")})[e]},valueLabelDisplay:"on",marks:[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"}],sx:{width:"90%",pt:3,m:2,ml:1},onChange:e=>{var t;return j(null===(t=e.target)||void 0===t?void 0:t.value)},value:g})}),(0,n.jsx)(eg.Z,{xs:13,children:(0,n.jsx)(ey.Z,{placeholder:d("Please_input_the_text"),value:w,onChange:e=>b(e.target.value),minRows:2,maxRows:4,endDecorator:(0,n.jsx)(eZ.ZP,{level:"body-xs",sx:{ml:"auto"},children:d("input_count")+w.length+d("input_unit")}),sx:{width:"100%",fontSize:14}})}),(0,n.jsx)(eg.Z,{xs:13,children:(0,n.jsx)(m.Z,{type:"submit",variant:"outlined",sx:{width:"100%",height:"100%"},children:d("submit")})})]})})})]})]})},eN=l(22672),eC=l(76592),eP=e=>{var t,l;let{messages:r,onSubmit:g}=e,{dbParam:w,currentDialogue:N,scene:C,model:P,refreshDialogList:k,chatId:S,agent:R,docId:E}=(0,a.useContext)(o.p),{t:I}=(0,_.$G)(),D=(0,Z.useSearchParams)(),F=null!==(t=D&&D.get("select_param"))&&void 0!==t?t:"",M=null!==(l=D&&D.get("spaceNameOriginal"))&&void 0!==l?l:"",[U,L]=(0,a.useState)(!1),[O,$]=(0,a.useState)(!1),[A,V]=(0,a.useState)(r),[G,z]=(0,a.useState)(""),[H,q]=(0,a.useState)(),T=(0,a.useRef)(null),J=(0,a.useMemo)(()=>"chat_dashboard"===C,[C]),Q=c(),K=(0,a.useMemo)(()=>{switch(C){case"chat_agent":return R;case"chat_excel":return null==N?void 0:N.select_param;case"chat_flow":return F;default:return M||w}},[C,R,N,w,M,F]),X=async e=>{if(!U&&e.trim()){if("chat_agent"===C&&!R){p.ZP.warning(I("choice_agent_tip"));return}try{L(!0),await g(e,{select_param:null!=K?K:""})}finally{L(!1)}}},Y=e=>{try{return JSON.parse(e)}catch(t){return e}},[ee,et]=p.ZP.useMessage(),el=async e=>{let t=null==e?void 0:e.replace(/\trelations:.*/g,""),l=b()(t);l?t?ee.open({type:"success",content:I("copy_success")}):ee.open({type:"warning",content:I("copy_nothing")}):ee.open({type:"error",content:I("copy_failed")})},en=async()=>{!U&&E&&(L(!0),await Q(E),L(!1))};return(0,s.Z)(async()=>{let e=(0,d.a_)();e&&e.id===S&&(await X(e.message),k(),localStorage.removeItem(d.rU))},[S]),(0,a.useEffect)(()=>{let e=r;J&&(e=(0,y.cloneDeep)(r).map(e=>((null==e?void 0:e.role)==="view"&&"string"==typeof(null==e?void 0:e.context)&&(e.context=Y(null==e?void 0:e.context)),e))),V(e.filter(e=>["view","human"].includes(e.role)))},[J,r]),(0,a.useEffect)(()=>{(0,i.Vx)((0,i.Lu)()).then(e=>{var t;q(null!==(t=e[1])&&void 0!==t?t:{})}).catch(e=>{console.log(e)})},[]),(0,a.useEffect)(()=>{setTimeout(()=>{var e;null===(e=T.current)||void 0===e||e.scrollTo(0,T.current.scrollHeight)},50)},[r]),(0,n.jsxs)(n.Fragment,{children:[et,(0,n.jsx)("div",{ref:T,className:"flex flex-1 overflow-y-auto pb-8 w-full flex-col",children:(0,n.jsx)("div",{className:"flex items-center flex-1 flex-col text-sm leading-6 text-slate-900 dark:text-slate-300 sm:text-base sm:leading-7",children:A.length?A.map((e,t)=>{var l;return"chat_agent"===C?(0,n.jsx)(W,{content:e},t):(0,n.jsx)(ei,{content:e,isChartChat:J,onLinkClick:()=>{$(!0),z(JSON.stringify(null==e?void 0:e.context,null,2))},children:"view"===e.role&&(0,n.jsxs)("div",{className:"flex w-full border-t border-gray-200 dark:border-theme-dark",children:["chat_knowledge"===C&&e.retry?(0,n.jsxs)(m.Z,{onClick:en,slots:{root:h.ZP},slotProps:{root:{variant:"plain",color:"primary"}},children:[(0,n.jsx)(u.Z,{}),"\xa0",(0,n.jsx)("span",{className:"text-sm",children:I("Retry")})]}):null,(0,n.jsxs)("div",{className:"flex w-full flex-row-reverse",children:[(0,n.jsx)(e_,{select_param:H,conv_index:Math.ceil((t+1)/2),question:null===(l=null==A?void 0:A.filter(t=>(null==t?void 0:t.role)==="human"&&(null==t?void 0:t.order)===e.order)[0])||void 0===l?void 0:l.context,knowledge_space:M||w||""}),(0,n.jsx)(f.Z,{title:I("Copy_Btn"),children:(0,n.jsx)(m.Z,{onClick:()=>el(null==e?void 0:e.context),slots:{root:h.ZP},slotProps:{root:{variant:"plain",color:"primary"}},sx:{borderRadius:40},children:(0,n.jsx)(x.Z,{})})})]})]})},t)}):(0,n.jsx)(eC.Z,{description:"Start a conversation"})})}),(0,n.jsx)("div",{className:j()("relative after:absolute after:-top-8 after:h-8 after:w-full after:bg-gradient-to-t after:from-theme-light after:to-transparent dark:after:from-theme-dark",{"cursor-not-allowed":"chat_excel"===C&&!(null==N?void 0:N.select_param)}),children:(0,n.jsxs)("div",{className:"flex flex-wrap w-full py-2 sm:pt-6 sm:pb-10 items-center",children:[P&&(0,n.jsx)("div",{className:"mr-2 flex",children:(0,es.A)(P)}),(0,n.jsx)(B,{loading:U,onSubmit:X,handleFinish:L})]})}),(0,n.jsx)(v.default,{title:"JSON Editor",open:O,width:"60%",cancelButtonProps:{hidden:!0},onOk:()=>{$(!1)},onCancel:()=>{$(!1)},children:(0,n.jsx)(eN.Z,{className:"w-full h-[500px]",language:"json",value:G})})]})},ek=l(53047),eS=l(45045),eR=l(18458),eE=()=>{var e;let t=(0,Z.useSearchParams)(),{scene:l,chatId:c,model:u,agent:x,setModel:m,history:h,setHistory:p}=(0,a.useContext)(o.p),{chat:f}=(0,r.Z)({}),v=null!==(e=t&&t.get("initMessage"))&&void 0!==e?e:"",[g,w]=(0,a.useState)(!1),[b,y]=(0,a.useState)(),_=async()=>{w(!0);let[,e]=await (0,i.Vx)((0,i.$i)(c));p(null!=e?e:[]),w(!1)},N=e=>{var t;let l=null===(t=e[e.length-1])||void 0===t?void 0:t.context;if(l)try{let e="string"==typeof l?JSON.parse(l):l;console.log("contextObj",e),y((null==e?void 0:e.template_name)==="report"?null==e?void 0:e.charts:void 0)}catch(e){console.log(e),y([])}};(0,s.Z)(async()=>{let e=(0,d.a_)();e&&e.id===c||await _()},[v,c]),(0,a.useEffect)(()=>{var e,t;if(!h.length)return;let l=null===(e=null===(t=h.filter(e=>"view"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];(null==l?void 0:l.model_name)&&m(l.model_name),N(h)},[h.length]),(0,a.useEffect)(()=>()=>{p([])},[]);let C=(0,a.useCallback)((e,t)=>new Promise(n=>{let a=[...h,{role:"human",context:e,model_name:u,order:0,time_stamp:0},{role:"view",context:"",model_name:u,order:0,time_stamp:0}],s=a.length-1;p([...a]),f({data:{...t,chat_mode:l||"chat_normal",model_name:u,user_input:e},chatId:c,onMessage:e=>{(null==t?void 0:t.incremental)?a[s].context+=e:a[s].context=e,p([...a])},onDone:()=>{N(a),n()},onClose:()=>{N(a),n()},onError:e=>{a[s].context=e,p([...a]),n()}})}),[h,f,c,u,x,l]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eR.Z,{visible:g}),(0,n.jsx)(ek.Z,{refreshHistory:_,modelChange:e=>{m(e)}}),(0,n.jsxs)("div",{className:"px-4 flex flex-1 flex-wrap overflow-hidden relative",children:[!!(null==b?void 0:b.length)&&(0,n.jsx)("div",{className:"w-full pb-4 xl:w-3/4 h-1/2 xl:pr-4 xl:h-full overflow-y-auto",children:(0,n.jsx)(eS.ZP,{chartsData:b})}),!(null==b?void 0:b.length)&&"chat_dashboard"===l&&(0,n.jsx)(eC.Z,{className:"w-full xl:w-3/4 h-1/2 xl:h-full"}),(0,n.jsx)("div",{className:j()("flex flex-1 flex-col overflow-hidden",{"px-0 xl:pl-4 h-1/2 w-full xl:w-auto xl:h-full border-t xl:border-t-0 xl:border-l dark:border-gray-800":"chat_dashboard"===l,"h-full lg:px-8":"chat_dashboard"!==l}),children:(0,n.jsx)(eP,{messages:h,onSubmit:C})})]})]})}},53047:function(e,t,l){"use strict";l.d(t,{Z:function(){return R}});var n=l(96469),a=l(38497),s=l(70351),r=l(60205),o=l(32818),i=l(27691),c=l(64698),d=l(20222),u=l(86959),x=l(27623),m=l(45277),h=function(e){var t;let{convUid:l,chatMode:h,onComplete:p,...f}=e,[v,g]=(0,a.useState)(!1),[j,w]=s.ZP.useMessage(),[b,y]=(0,a.useState)([]),[Z,_]=(0,a.useState)(),{model:N}=(0,a.useContext)(m.p),C=async e=>{var t;if(!e){s.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(t=e.file.name)&&void 0!==t?t:"")){s.ZP.error("File type must be csv, xlsx or xls");return}y([e.file])},P=async()=>{g(!0);try{let e=new FormData;e.append("doc_file",b[0]),j.open({content:"Uploading ".concat(b[0].name),type:"loading",duration:0});let[t]=await (0,x.Vx)((0,x.qn)({convUid:l,chatMode:h,data:e,model:N,config:{timeout:36e5,onUploadProgress:e=>{let t=Math.ceil(e.loaded/(e.total||0)*100);_(t)}}}));if(t)return;s.ZP.success("success"),null==p||p()}catch(e){s.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{g(!1),j.destroy()}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[w,(0,n.jsx)(r.Z,{placement:"bottom",title:"File cannot be changed after upload",children:(0,n.jsx)(o.default,{disabled:v,className:"mr-1",beforeUpload:()=>!1,fileList:b,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:C,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,n.jsx)(n.Fragment,{}),...f,children:(0,n.jsx)(i.ZP,{className:"flex justify-center items-center",type:"primary",disabled:v,icon:(0,n.jsx)(c.Z,{}),children:"Select File"})})}),(0,n.jsx)(i.ZP,{type:"primary",loading:v,className:"flex justify-center items-center",disabled:!b.length,icon:(0,n.jsx)(d.Z,{}),onClick:P,children:v?100===Z?"Analysis":"Uploading":"Upload"}),!!b.length&&(0,n.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",onClick:()=>y([]),children:[(0,n.jsx)(u.Z,{className:"mr-2"}),(0,n.jsx)("span",{children:null===(t=b[0])||void 0===t?void 0:t.name})]})]})})},p=function(e){let{onComplete:t}=e,{currentDialogue:l,scene:s,chatId:r}=(0,a.useContext)(m.p);return"chat_excel"!==s?null:(0,n.jsx)("div",{className:"max-w-md h-full relative",children:l?(0,n.jsxs)("div",{className:"flex h-8 overflow-hidden rounded",children:[(0,n.jsx)("div",{className:"flex items-center justify-center px-2 bg-gray-600 text-lg",children:(0,n.jsx)(u.Z,{className:"text-white"})}),(0,n.jsx)("div",{className:"flex items-center justify-center px-3 bg-gray-100 text-xs rounded-tr rounded-br dark:text-gray-800 truncate",children:l.select_param})]}):(0,n.jsx)(h,{convUid:r,chatMode:s,onComplete:t})})};l(65282);var f=l(76372),v=l(42834),g=l(13250),j=l(67901);function w(){let{isContract:e,setIsContract:t,scene:l}=(0,a.useContext)(m.p),s=l&&["chat_with_db_execute","chat_dashboard"].includes(l);return s?(0,n.jsxs)(f.ZP.Group,{value:e,defaultValue:!0,buttonStyle:"solid",onChange:()=>{t(!e)},children:[(0,n.jsxs)(f.ZP.Button,{value:!1,children:[(0,n.jsx)(v.Z,{component:j.ig,className:"mr-1"}),"Preview"]}),(0,n.jsxs)(f.ZP.Button,{value:!0,children:[(0,n.jsx)(g.Z,{className:"mr-1"}),"Editor"]})]}):null}var b=l(57064),y=l(7289),Z=l(77200),_=l(39069),N=l(59321),C=function(){let{scene:e,dbParam:t,setDbParam:l}=(0,a.useContext)(m.p),[s,r]=(0,a.useState)([]);(0,Z.Z)(async()=>{let[,t]=await (0,x.Vx)((0,x.vD)(e));r(null!=t?t:[])},[e]);let o=(0,a.useMemo)(()=>{var e;return null===(e=s.map)||void 0===e?void 0:e.call(s,e=>({name:e.param,...y.S$[e.type]}))},[s]);return((0,a.useEffect)(()=>{(null==o?void 0:o.length)&&!t&&l(o[0].name)},[o,l,t]),null==o?void 0:o.length)?(0,n.jsx)(_.default,{value:t,className:"w-36",onChange:e=>{l(e)},children:o.map(e=>(0,n.jsxs)(_.default.Option,{children:[(0,n.jsx)(N.Z,{width:24,height:24,src:e.icon,label:e.label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.name]},e.name))}):null},P=l(16602),k=l(56841),S=function(){let{t:e}=(0,k.$G)(),{agent:t,setAgent:l}=(0,a.useContext)(m.p),{data:s=[]}=(0,P.Z)(async()=>{let[,e]=await (0,x.Vx)((0,x.H4)());return null!=e?e:[]});return(0,n.jsx)(_.default,{className:"w-60",value:t,placeholder:e("Select_Plugins"),options:s.map(e=>({label:e.app_name,value:e.app_code})),allowClear:!0,onChange:e=>{null==l||l(e)}})},R=function(e){let{refreshHistory:t,modelChange:l}=e,{scene:s,refreshDialogList:r}=(0,a.useContext)(m.p);return(0,n.jsxs)("div",{className:"w-full py-2 px-4 md:px-4 flex flex-wrap items-center justify-center gap-1 md:gap-4",children:[(0,n.jsx)(b.Z,{onChange:l}),(0,n.jsx)(C,{}),"chat_excel"===s&&(0,n.jsx)(p,{onComplete:()=>{null==r||r(),null==t||t()}}),"chat_agent"===s&&(0,n.jsx)(S,{}),(0,n.jsx)(w,{})]})}},57064:function(e,t,l){"use strict";l.d(t,{A:function(){return x}});var n=l(96469),a=l(45277),s=l(27250),r=l(39069),o=l(23852),i=l.n(o),c=l(38497),d=l(56841);let u="/models/huggingface.svg";function x(e,t){var l,a;let{width:r,height:o}=t||{};return e?(0,n.jsx)(i(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:r||24,height:o||24,src:(null===(l=s.Hf[e])||void 0===l?void 0:l.icon)||u,alt:"llm"},(null===(a=s.Hf[e])||void 0===a?void 0:a.icon)||u):null}t.Z=function(e){let{onChange:t}=e,{t:l}=(0,d.$G)(),{modelList:o,model:i}=(0,c.useContext)(a.p);return!o||o.length<=0?null:(0,n.jsx)(r.default,{value:i,placeholder:l("choose_model"),className:"w-52",onChange:e=>{null==t||t(e)},children:o.map(e=>{var t;return(0,n.jsx)(r.default.Option,{children:(0,n.jsxs)("div",{className:"flex items-center",children:[x(e),(0,n.jsx)("span",{className:"ml-2",children:(null===(t=s.Hf[e])||void 0===t?void 0:t.label)||e})]})},e)})})}},76592:function(e,t,l){"use strict";var n=l(96469),a=l(97818),s=l(27691),r=l(26869),o=l.n(r),i=l(56841);t.Z=function(e){let{className:t,error:l,description:r,refresh:c}=e,{t:d}=(0,i.$G)();return(0,n.jsx)(a.Z,{image:"/empty.png",imageStyle:{width:320,height:196,margin:"0 auto",maxWidth:"100%",maxHeight:"100%"},className:o()("flex items-center justify-center flex-col h-full w-full",t),description:l?(0,n.jsx)(s.ZP,{type:"primary",onClick:c,children:d("try_again")}):null!=r?r:d("no_data")})}},18458:function(e,t,l){"use strict";var n=l(96469),a=l(37022);t.Z=function(e){let{visible:t}=e;return t?(0,n.jsx)("div",{className:"absolute w-full h-full top-0 left-0 flex justify-center items-center z-10 bg-white dark:bg-black bg-opacity-50 dark:bg-opacity-50 backdrop-blur-sm text-3xl animate-fade animate-duration-200",children:(0,n.jsx)(a.Z,{})}):null}},51310:function(e,t,l){"use strict";var n=l(88506);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},94078:function(e,t,l){"use strict";l.d(t,{Tk:function(){return c},PR:function(){return d}});var n=l(70351),a=l(81366),s=l(75299);let r=a.default.create({baseURL:s.env.API_BASE_URL});r.defaults.timeout=1e4,r.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),l(44766);var o=l(7289);let i={"content-type":"application/json","User-Id":(0,o.n5)()},c=(e,t)=>{if(t){let l=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");l&&(e+="?".concat(l))}return r.get("/api"+e,{headers:i}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},d=(e,t)=>r.post(e,t,{headers:i}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},65282:function(){}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6573.7000c2ac5c9146ce.js b/dbgpt/app/static/web/_next/static/chunks/6966.26300fe20042668a.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/6573.7000c2ac5c9146ce.js rename to dbgpt/app/static/web/_next/static/chunks/6966.26300fe20042668a.js index a0e6dc301..e5fe0a103 100644 --- a/dbgpt/app/static/web/_next/static/chunks/6573.7000c2ac5c9146ce.js +++ b/dbgpt/app/static/web/_next/static/chunks/6966.26300fe20042668a.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6573],{26573:function(e,_,t){t.r(_),t.d(_,{conf:function(){return r},language:function(){return i}});/*!----------------------------------------------------------------------------- +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6966],{26573:function(e,_,t){t.r(_),t.d(_,{conf:function(){return r},language:function(){return i}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) * Released under the MIT license diff --git a/dbgpt/app/static/web/_next/static/chunks/7123-b9c8128290122b31.js b/dbgpt/app/static/web/_next/static/chunks/7123-b9c8128290122b31.js new file mode 100644 index 000000000..77af4c82b --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/7123-b9c8128290122b31.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7123],{13250:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(42096),a=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zM464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z"}}]},name:"appstore",theme:"filled"},l=n(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},15484:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(42096),a=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},l=n(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},39639:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(42096),a=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"},l=n(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},64698:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(42096),a=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 00-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z"}}]},name:"select",theme:"outlined"},l=n(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},31676:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(42096),a=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=n(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},32857:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(42096),a=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=n(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},20222:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(42096),a=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},l=n(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},90082:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(42096),a=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},l=n(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},82141:function(e,t,n){n.d(t,{Z:function(){return M}});var i=n(72991),a=n(38497),r=n(26869),l=n.n(r),o=n(757),c=n(30432),s=n(63346),d=n(10917),m=n(82014),f=n(22698),g=n(81349),u=n(91320),p=n(42786);let $=a.createContext({});$.Consumer;var h=n(55091),v=n(98606),b=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,i=Object.getOwnPropertySymbols(e);at.indexOf(i[a])&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]]);return n};let y=a.forwardRef((e,t)=>{let n;let{prefixCls:i,children:r,actions:o,extra:c,styles:d,className:m,classNames:f,colStyle:g}=e,u=b(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:p,itemLayout:y}=(0,a.useContext)($),{getPrefixCls:x,list:S}=(0,a.useContext)(s.E_),E=e=>{var t,n;return l()(null===(n=null===(t=null==S?void 0:S.item)||void 0===t?void 0:t.classNames)||void 0===n?void 0:n[e],null==f?void 0:f[e])},z=e=>{var t,n;return Object.assign(Object.assign({},null===(n=null===(t=null==S?void 0:S.item)||void 0===t?void 0:t.styles)||void 0===n?void 0:n[e]),null==d?void 0:d[e])},w=x("list",i),k=o&&o.length>0&&a.createElement("ul",{className:l()(`${w}-item-action`,E("actions")),key:"actions",style:z("actions")},o.map((e,t)=>a.createElement("li",{key:`${w}-item-action-${t}`},e,t!==o.length-1&&a.createElement("em",{className:`${w}-item-action-split`})))),Z=p?"div":"li",C=a.createElement(Z,Object.assign({},u,p?{}:{ref:t},{className:l()(`${w}-item`,{[`${w}-item-no-flex`]:!("vertical"===y?!!c:(n=!1,a.Children.forEach(r,e=>{"string"==typeof e&&(n=!0)}),!(n&&a.Children.count(r)>1)))},m)}),"vertical"===y&&c?[a.createElement("div",{className:`${w}-item-main`,key:"content"},r,k),a.createElement("div",{className:l()(`${w}-item-extra`,E("extra")),key:"extra",style:z("extra")},c)]:[r,k,(0,h.Tm)(c,{key:"extra"})]);return p?a.createElement(v.Z,{ref:t,flex:1,style:g},C):C});y.Meta=e=>{var{prefixCls:t,className:n,avatar:i,title:r,description:o}=e,c=b(e,["prefixCls","className","avatar","title","description"]);let{getPrefixCls:d}=(0,a.useContext)(s.E_),m=d("list",t),f=l()(`${m}-item-meta`,n),g=a.createElement("div",{className:`${m}-item-meta-content`},r&&a.createElement("h4",{className:`${m}-item-meta-title`},r),o&&a.createElement("div",{className:`${m}-item-meta-description`},o));return a.createElement("div",Object.assign({},c,{className:f}),i&&a.createElement("div",{className:`${m}-item-meta-avatar`},i),(r||o)&&g)};var x=n(38083),S=n(60848),E=n(90102),z=n(74934);let w=e=>{let{listBorderedCls:t,componentCls:n,paddingLG:i,margin:a,itemPaddingSM:r,itemPaddingLG:l,marginLG:o,borderRadiusLG:c}=e;return{[t]:{border:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:i},[`${n}-pagination`]:{margin:`${(0,x.bf)(a)} ${(0,x.bf)(o)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:r}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:l}}}},k=e=>{let{componentCls:t,screenSM:n,screenMD:i,marginLG:a,marginSM:r,margin:l}=e;return{[`@media screen and (max-width:${i}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:a}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:r}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${(0,x.bf)(l)}`}}}}}},Z=e=>{let{componentCls:t,antCls:n,controlHeight:i,minHeight:a,paddingSM:r,marginLG:l,padding:o,itemPadding:c,colorPrimary:s,itemPaddingSM:d,itemPaddingLG:m,paddingXS:f,margin:g,colorText:u,colorTextDescription:p,motionDurationSlow:$,lineWidth:h,headerBg:v,footerBg:b,emptyTextPadding:y,metaMarginBottom:E,avatarMarginRight:z,titleMarginBottom:w,descriptionFontSize:k}=e;return{[t]:Object.assign(Object.assign({},(0,S.Wf)(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:v},[`${t}-footer`]:{background:b},[`${t}-header, ${t}-footer`]:{paddingBlock:r},[`${t}-pagination`]:{marginBlockStart:l,[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:a,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:c,color:u,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:z},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:u},[`${t}-item-meta-title`]:{margin:`0 0 ${(0,x.bf)(e.marginXXS)} 0`,color:u,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:u,transition:`all ${$}`,"&:hover":{color:s}}},[`${t}-item-meta-description`]:{color:p,fontSize:k,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${(0,x.bf)(f)}`,color:p,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:h,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${(0,x.bf)(o)} 0`,color:p,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:y,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:g,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:l},[`${t}-item-meta`]:{marginBlockEnd:E,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:w,color:u,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:o,marginInlineStart:"auto","> li":{padding:`0 ${(0,x.bf)(o)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:i},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:m},[`${t}-sm ${t}-item`]:{padding:d},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}};var C=(0,E.I$)("List",e=>{let t=(0,z.IX)(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[Z(t),w(t),k(t)]},e=>({contentWidth:220,itemPadding:`${(0,x.bf)(e.paddingContentVertical)} 0`,itemPaddingSM:`${(0,x.bf)(e.paddingContentVerticalSM)} ${(0,x.bf)(e.paddingContentHorizontal)}`,itemPaddingLG:`${(0,x.bf)(e.paddingContentVerticalLG)} ${(0,x.bf)(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize})),O=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,i=Object.getOwnPropertySymbols(e);at.indexOf(i[a])&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]]);return n};function H(e){var{pagination:t=!1,prefixCls:n,bordered:r=!1,split:h=!0,className:v,rootClassName:b,style:y,children:x,itemLayout:S,loadMore:E,grid:z,dataSource:w=[],size:k,header:Z,footer:H,loading:M=!1,rowKey:N,renderItem:B,locale:j}=e,I=O(e,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]);let L=t&&"object"==typeof t?t:{},[V,W]=a.useState(L.defaultCurrent||1),[P,R]=a.useState(L.defaultPageSize||10),{getPrefixCls:T,renderEmpty:A,direction:X,list:_}=a.useContext(s.E_),G=e=>(n,i)=>{var a;W(n),R(i),t&&(null===(a=null==t?void 0:t[e])||void 0===a||a.call(t,n,i))},F=G("onChange"),J=G("onShowSizeChange"),q=(e,t)=>{let n;return B?((n="function"==typeof N?N(e):N?e[N]:e.key)||(n=`list-item-${t}`),a.createElement(a.Fragment,{key:n},B(e,t))):null},D=T("list",n),[K,Y,Q]=C(D),U=M;"boolean"==typeof U&&(U={spinning:U});let ee=!!(null==U?void 0:U.spinning),et=(0,m.Z)(k),en="";switch(et){case"large":en="lg";break;case"small":en="sm"}let ei=l()(D,{[`${D}-vertical`]:"vertical"===S,[`${D}-${en}`]:en,[`${D}-split`]:h,[`${D}-bordered`]:r,[`${D}-loading`]:ee,[`${D}-grid`]:!!z,[`${D}-something-after-last-item`]:!!(E||t||H),[`${D}-rtl`]:"rtl"===X},null==_?void 0:_.className,v,b,Y,Q),ea=(0,o.Z)({current:1,total:0},{total:w.length,current:V,pageSize:P},t||{}),er=Math.ceil(ea.total/ea.pageSize);ea.current>er&&(ea.current=er);let el=t&&a.createElement("div",{className:l()(`${D}-pagination`)},a.createElement(u.Z,Object.assign({align:"end"},ea,{onChange:F,onShowSizeChange:J}))),eo=(0,i.Z)(w);t&&w.length>(ea.current-1)*ea.pageSize&&(eo=(0,i.Z)(w).splice((ea.current-1)*ea.pageSize,ea.pageSize));let ec=Object.keys(z||{}).some(e=>["xs","sm","md","lg","xl","xxl"].includes(e)),es=(0,g.Z)(ec),ed=a.useMemo(()=>{for(let e=0;e{if(!z)return;let e=ed&&z[ed]?z[ed]:z.column;if(e)return{width:`${100/e}%`,maxWidth:`${100/e}%`}},[JSON.stringify(z),ed]),ef=ee&&a.createElement("div",{style:{minHeight:53}});if(eo.length>0){let e=eo.map((e,t)=>q(e,t));ef=z?a.createElement(f.Z,{gutter:z.gutter},a.Children.map(e,e=>a.createElement("div",{key:null==e?void 0:e.key,style:em},e))):a.createElement("ul",{className:`${D}-items`},e)}else x||ee||(ef=a.createElement("div",{className:`${D}-empty-text`},(null==j?void 0:j.emptyText)||(null==A?void 0:A("List"))||a.createElement(d.Z,{componentName:"List"})));let eg=ea.position||"bottom",eu=a.useMemo(()=>({grid:z,itemLayout:S}),[JSON.stringify(z),S]);return K(a.createElement($.Provider,{value:eu},a.createElement("div",Object.assign({style:Object.assign(Object.assign({},null==_?void 0:_.style),y),className:ei},I),("top"===eg||"both"===eg)&&el,Z&&a.createElement("div",{className:`${D}-header`},Z),a.createElement(p.Z,Object.assign({},U),ef,x),H&&a.createElement("div",{className:`${D}-footer`},H),E||("bottom"===eg||"both"===eg)&&el)))}H.Item=y;var M=H}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7218-34fdbba9551065cf.js b/dbgpt/app/static/web/_next/static/chunks/7218-34fdbba9551065cf.js deleted file mode 100644 index 903c5c41a..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/7218-34fdbba9551065cf.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7218],{2537:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},l=n(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},45863:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM512 533c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4C420 636.1 461.5 597 512 597s92.1 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533z"}}]},name:"frown",theme:"outlined"},l=n(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},97511:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},l=n(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},86944:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},l=n(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},16283:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},l=n(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},757:function(e,t){t.Z=function(){let e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{let r=n[t];void 0!==r&&(e[t]=r)})}return e}},86776:function(e,t,n){n.d(t,{Z:function(){return q}});var r=n(38497),a=n(86944),o=n(26869),l=n.n(o),i=n(42096),c=n(72991),d=n(65347),s=n(14433),f=n(77757),u=n(89842),m=n(10921),p=n(10469),v=n(65148),h=n(53979),b=n(16956),g=r.forwardRef(function(e,t){var n=e.prefixCls,a=e.forceRender,o=e.className,i=e.style,c=e.children,s=e.isActive,f=e.role,u=r.useState(s||a),m=(0,d.Z)(u,2),p=m[0],h=m[1];return(r.useEffect(function(){(a||s)&&h(!0)},[a,s]),p)?r.createElement("div",{ref:t,className:l()("".concat(n,"-content"),(0,v.Z)((0,v.Z)({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),o),style:i,role:f},r.createElement("div",{className:"".concat(n,"-content-box")},c)):null});g.displayName="PanelContent";var $=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],x=r.forwardRef(function(e,t){var n=e.showArrow,a=void 0===n||n,o=e.headerClass,c=e.isActive,d=e.onItemClick,s=e.forceRender,f=e.className,u=e.prefixCls,p=e.collapsible,x=e.accordion,w=e.panelKey,y=e.extra,C=e.header,E=e.expandIcon,I=e.openMotion,Z=e.destroyInactivePanel,z=e.children,k=(0,m.Z)(e,$),S="disabled"===p,M="header"===p,N="icon"===p,O=null!=y&&"boolean"!=typeof y,B=function(){null==d||d(w)},H="function"==typeof E?E(e):r.createElement("i",{className:"arrow"});H&&(H=r.createElement("div",{className:"".concat(u,"-expand-icon"),onClick:["header","icon"].includes(p)?B:void 0},H));var A=l()((0,v.Z)((0,v.Z)((0,v.Z)({},"".concat(u,"-item"),!0),"".concat(u,"-item-active"),c),"".concat(u,"-item-disabled"),S),f),j={className:l()(o,(0,v.Z)((0,v.Z)((0,v.Z)({},"".concat(u,"-header"),!0),"".concat(u,"-header-collapsible-only"),M),"".concat(u,"-icon-collapsible-only"),N)),"aria-expanded":c,"aria-disabled":S,onKeyDown:function(e){("Enter"===e.key||e.keyCode===b.Z.ENTER||e.which===b.Z.ENTER)&&B()}};return M||N||(j.onClick=B,j.role=x?"tab":"button",j.tabIndex=S?-1:0),r.createElement("div",(0,i.Z)({},k,{ref:t,className:A}),r.createElement("div",j,a&&H,r.createElement("span",{className:"".concat(u,"-header-text"),onClick:"header"===p?B:void 0},C),O&&r.createElement("div",{className:"".concat(u,"-extra")},y)),r.createElement(h.ZP,(0,i.Z)({visible:c,leavedClassName:"".concat(u,"-content-hidden")},I,{forceRender:s,removeOnLeave:Z}),function(e,t){var n=e.className,a=e.style;return r.createElement(g,{ref:t,prefixCls:u,className:n,style:a,isActive:c,forceRender:s,role:x?"tabpanel":void 0},z)}))}),w=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],y=function(e,t){var n=t.prefixCls,a=t.accordion,o=t.collapsible,l=t.destroyInactivePanel,c=t.onItemClick,d=t.activeKey,s=t.openMotion,f=t.expandIcon;return e.map(function(e,t){var u=e.children,p=e.label,v=e.key,h=e.collapsible,b=e.onItemClick,g=e.destroyInactivePanel,$=(0,m.Z)(e,w),y=String(null!=v?v:t),C=null!=h?h:o,E=!1;return E=a?d[0]===y:d.indexOf(y)>-1,r.createElement(x,(0,i.Z)({},$,{prefixCls:n,key:y,panelKey:y,isActive:E,accordion:a,openMotion:s,expandIcon:f,header:p,collapsible:C,onItemClick:function(e){"disabled"!==C&&(c(e),null==b||b(e))},destroyInactivePanel:null!=g?g:l}),u)})},C=function(e,t,n){if(!e)return null;var a=n.prefixCls,o=n.accordion,l=n.collapsible,i=n.destroyInactivePanel,c=n.onItemClick,d=n.activeKey,s=n.openMotion,f=n.expandIcon,u=e.key||String(t),m=e.props,p=m.header,v=m.headerClass,h=m.destroyInactivePanel,b=m.collapsible,g=m.onItemClick,$=!1;$=o?d[0]===u:d.indexOf(u)>-1;var x=null!=b?b:l,w={key:u,panelKey:u,header:p,headerClass:v,isActive:$,prefixCls:a,destroyInactivePanel:null!=h?h:i,openMotion:s,accordion:o,children:e.props.children,onItemClick:function(e){"disabled"!==x&&(c(e),null==g||g(e))},expandIcon:f,collapsible:x};return"string"==typeof e.type?e:(Object.keys(w).forEach(function(e){void 0===w[e]&&delete w[e]}),r.cloneElement(e,w))},E=n(66168);function I(e){var t=e;if(!Array.isArray(t)){var n=(0,s.Z)(t);t="number"===n||"string"===n?[t]:[]}return t.map(function(e){return String(e)})}var Z=Object.assign(r.forwardRef(function(e,t){var n,a=e.prefixCls,o=void 0===a?"rc-collapse":a,s=e.destroyInactivePanel,m=e.style,v=e.accordion,h=e.className,b=e.children,g=e.collapsible,$=e.openMotion,x=e.expandIcon,w=e.activeKey,Z=e.defaultActiveKey,z=e.onChange,k=e.items,S=l()(o,h),M=(0,f.Z)([],{value:w,onChange:function(e){return null==z?void 0:z(e)},defaultValue:Z,postState:I}),N=(0,d.Z)(M,2),O=N[0],B=N[1];(0,u.ZP)(!b,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var H=(n={prefixCls:o,accordion:v,openMotion:$,expandIcon:x,collapsible:g,destroyInactivePanel:void 0!==s&&s,onItemClick:function(e){return B(function(){return v?O[0]===e?[]:[e]:O.indexOf(e)>-1?O.filter(function(t){return t!==e}):[].concat((0,c.Z)(O),[e])})},activeKey:O},Array.isArray(k)?y(k,n):(0,p.Z)(b).map(function(e,t){return C(e,t,n)}));return r.createElement("div",(0,i.Z)({ref:t,className:S,style:m,role:v?"tablist":void 0},(0,E.Z)(e,{aria:!0,data:!0})),H)}),{Panel:x});Z.Panel;var z=n(55598),k=n(17383),S=n(55091),M=n(63346),N=n(82014);let O=r.forwardRef((e,t)=>{let{getPrefixCls:n}=r.useContext(M.E_),{prefixCls:a,className:o,showArrow:i=!0}=e,c=n("collapse",a),d=l()({[`${c}-no-arrow`]:!i},o);return r.createElement(Z.Panel,Object.assign({ref:t},e,{prefixCls:c,className:d}))});var B=n(72178),H=n(60848),A=n(36647),j=n(90102),P=n(74934);let R=e=>{let{componentCls:t,contentBg:n,padding:r,headerBg:a,headerPadding:o,collapseHeaderPaddingSM:l,collapseHeaderPaddingLG:i,collapsePanelBorderRadius:c,lineWidth:d,lineType:s,colorBorder:f,colorText:u,colorTextHeading:m,colorTextDisabled:p,fontSizeLG:v,lineHeight:h,lineHeightLG:b,marginSM:g,paddingSM:$,paddingLG:x,paddingXS:w,motionDurationSlow:y,fontSizeIcon:C,contentPadding:E,fontHeight:I,fontHeightLG:Z}=e,z=`${(0,B.bf)(d)} ${s} ${f}`;return{[t]:Object.assign(Object.assign({},(0,H.Wf)(e)),{backgroundColor:a,border:z,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:z,"&:last-child":{[` - &, - & > ${t}-header`]:{borderRadius:`0 0 ${(0,B.bf)(c)} ${(0,B.bf)(c)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:o,color:m,lineHeight:h,cursor:"pointer",transition:`all ${y}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:I,display:"flex",alignItems:"center",paddingInlineEnd:g},[`${t}-arrow`]:Object.assign(Object.assign({},(0,H.Ro)()),{fontSize:C,transition:`transform ${y}`,svg:{transition:`transform ${y}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:u,backgroundColor:n,borderTop:z,[`& > ${t}-content-box`]:{padding:E},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:l,paddingInlineStart:w,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc($).sub(w).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:$}}},"&-large":{[`> ${t}-item`]:{fontSize:v,lineHeight:b,[`> ${t}-header`]:{padding:i,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:Z,marginInlineStart:e.calc(x).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:x}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,B.bf)(c)} ${(0,B.bf)(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{[` - &, - & > .arrow - `]:{color:p,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:g}}}}})}},_=e=>{let{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},V=e=>{let{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` - > ${t}-item:last-child, - > ${t}-item:last-child ${t}-header - `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},T=e=>{let{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}};var W=(0,j.I$)("Collapse",e=>{let t=(0,P.IX)(e,{collapseHeaderPaddingSM:`${(0,B.bf)(e.paddingXS)} ${(0,B.bf)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,B.bf)(e.padding)} ${(0,B.bf)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[R(t),V(t),T(t),_(t),(0,A.Z)(t)]},e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}));let K=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:o,collapse:i}=r.useContext(M.E_),{prefixCls:c,className:d,rootClassName:s,style:f,bordered:u=!0,ghost:m,size:v,expandIconPosition:h="start",children:b,expandIcon:g}=e,$=(0,N.Z)(e=>{var t;return null!==(t=null!=v?v:e)&&void 0!==t?t:"middle"}),x=n("collapse",c),w=n(),[y,C,E]=W(x),I=r.useMemo(()=>"left"===h?"start":"right"===h?"end":h,[h]),O=null!=g?g:null==i?void 0:i.expandIcon,B=r.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="function"==typeof O?O(e):r.createElement(a.Z,{rotate:e.isActive?90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,S.Tm)(t,()=>{var e;return{className:l()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,`${x}-arrow`)}})},[O,x]),H=l()(`${x}-icon-position-${I}`,{[`${x}-borderless`]:!u,[`${x}-rtl`]:"rtl"===o,[`${x}-ghost`]:!!m,[`${x}-${$}`]:"middle"!==$},null==i?void 0:i.className,d,s,C,E),A=Object.assign(Object.assign({},(0,k.Z)(w)),{motionAppear:!1,leavedClassName:`${x}-content-hidden`}),j=r.useMemo(()=>b?(0,p.Z)(b).map((e,t)=>{var n,r;if(null===(n=e.props)||void 0===n?void 0:n.disabled){let n=null!==(r=e.key)&&void 0!==r?r:String(t),{disabled:a,collapsible:o}=e.props,l=Object.assign(Object.assign({},(0,z.Z)(e.props,["disabled"])),{key:n,collapsible:null!=o?o:a?"disabled":void 0});return(0,S.Tm)(e,l)}return e}):null,[b]);return y(r.createElement(Z,Object.assign({ref:t,openMotion:A},(0,z.Z)(e,["rootClassName"]),{expandIcon:B,prefixCls:x,className:H,style:Object.assign(Object.assign({},null==i?void 0:i.style),f)}),j))});var q=Object.assign(K,{Panel:O})},87674:function(e,t,n){n.d(t,{Z:function(){return p}});var r=n(38497),a=n(26869),o=n.n(a),l=n(63346),i=n(72178),c=n(60848),d=n(90102),s=n(74934);let f=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:a,textPaddingInline:o,orientationMargin:l,verticalMarginInline:d}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,i.bf)(a)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:d,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,i.bf)(a)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,i.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,i.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,i.bf)(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:o},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${(0,i.bf)(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${(0,i.bf)(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}};var u=(0,d.I$)("Divider",e=>{let t=(0,s.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[f(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},p=e=>{let{getPrefixCls:t,direction:n,divider:a}=r.useContext(l.E_),{prefixCls:i,type:c="horizontal",orientation:d="center",orientationMargin:s,className:f,rootClassName:p,children:v,dashed:h,variant:b="solid",plain:g,style:$}=e,x=m(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),w=t("divider",i),[y,C,E]=u(w),I=!!v,Z="left"===d&&null!=s,z="right"===d&&null!=s,k=o()(w,null==a?void 0:a.className,C,E,`${w}-${c}`,{[`${w}-with-text`]:I,[`${w}-with-text-${d}`]:I,[`${w}-dashed`]:!!h,[`${w}-${b}`]:"solid"!==b,[`${w}-plain`]:!!g,[`${w}-rtl`]:"rtl"===n,[`${w}-no-default-orientation-margin-left`]:Z,[`${w}-no-default-orientation-margin-right`]:z},f,p),S=r.useMemo(()=>"number"==typeof s?s:/^\d+$/.test(s)?Number(s):s,[s]),M=Object.assign(Object.assign({},Z&&{marginLeft:S}),z&&{marginRight:S});return y(r.createElement("div",Object.assign({className:k,style:Object.assign(Object.assign({},null==a?void 0:a.style),$)},x,{role:"separator"}),v&&"vertical"!==c&&r.createElement("span",{className:`${w}-inner-text`,style:M},v)))}},18660:function(e,t,n){n.d(t,{Z:function(){return v}});var r=n(38497),a=n(56434),o=n(61486),l=n(71554);function i(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},r.createElement("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"}))}function c(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5"},r.createElement("path",{d:"M0 0h32v4.2H0z"}))}function d(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30"},r.createElement("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"}))}function s(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},r.createElement("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"}))}function f(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},r.createElement("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"}))}let u=({children:e,className:t,...n})=>r.createElement("button",{type:"button",className:(0,a.Z)(["react-flow__controls-button",t]),...n},e);u.displayName="ControlButton";let m=e=>({isInteractive:e.nodesDraggable||e.nodesConnectable||e.elementsSelectable,minZoomReached:e.transform[2]<=e.minZoom,maxZoomReached:e.transform[2]>=e.maxZoom}),p=({style:e,showZoom:t=!0,showFitView:n=!0,showInteractive:p=!0,fitViewOptions:v,onZoomIn:h,onZoomOut:b,onFitView:g,onInteractiveChange:$,className:x,children:w,position:y="bottom-left"})=>{let C=(0,l.AC)(),[E,I]=(0,r.useState)(!1),{isInteractive:Z,minZoomReached:z,maxZoomReached:k}=(0,l.oR)(m,o.X),{zoomIn:S,zoomOut:M,fitView:N}=(0,l._K)();return((0,r.useEffect)(()=>{I(!0)},[]),E)?r.createElement(l.s_,{className:(0,a.Z)(["react-flow__controls",x]),position:y,style:e,"data-testid":"rf__controls"},t&&r.createElement(r.Fragment,null,r.createElement(u,{onClick:()=>{S(),h?.()},className:"react-flow__controls-zoomin",title:"zoom in","aria-label":"zoom in",disabled:k},r.createElement(i,null)),r.createElement(u,{onClick:()=>{M(),b?.()},className:"react-flow__controls-zoomout",title:"zoom out","aria-label":"zoom out",disabled:z},r.createElement(c,null))),n&&r.createElement(u,{className:"react-flow__controls-fitview",onClick:()=>{N(v),g?.()},title:"fit view","aria-label":"fit view"},r.createElement(d,null)),p&&r.createElement(u,{className:"react-flow__controls-interactive",onClick:()=>{C.setState({nodesDraggable:!Z,nodesConnectable:!Z,elementsSelectable:!Z}),$?.(!Z)},title:"toggle interactivity","aria-label":"toggle interactivity"},Z?r.createElement(f,null):r.createElement(s,null)),w):null};p.displayName="Controls";var v=(0,r.memo)(p)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7343-f5f24a50984e32db.js b/dbgpt/app/static/web/_next/static/chunks/7343-9134667597de242e.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/7343-f5f24a50984e32db.js rename to dbgpt/app/static/web/_next/static/chunks/7343-9134667597de242e.js index bfdae2722..53244fe72 100644 --- a/dbgpt/app/static/web/_next/static/chunks/7343-f5f24a50984e32db.js +++ b/dbgpt/app/static/web/_next/static/chunks/7343-9134667597de242e.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7343],{67343:function(e,t,a){a.d(t,{Z:function(){return T}});var n=a(38497),r=a(26869),i=a.n(r),o=a(55598),l=a(63346),d=a(82014),s=a(15247),c=a(5996),b=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a},g=e=>{var{prefixCls:t,className:a,hoverable:r=!0}=e,o=b(e,["prefixCls","className","hoverable"]);let{getPrefixCls:d}=n.useContext(l.E_),s=d("card",t),c=i()(`${s}-grid`,a,{[`${s}-grid-hoverable`]:r});return n.createElement("div",Object.assign({},o,{className:c}))},$=a(72178),p=a(60848),f=a(90102),u=a(74934);let m=e=>{let{antCls:t,componentCls:a,headerHeight:n,cardPaddingBase:r,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${(0,$.bf)(r)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,$.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,$.bf)(e.borderRadiusLG)} ${(0,$.bf)(e.borderRadiusLG)} 0 0`},(0,p.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},p.vS),{[` +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7343],{67343:function(e,t,a){a.d(t,{Z:function(){return T}});var n=a(38497),r=a(26869),i=a.n(r),o=a(55598),l=a(63346),d=a(82014),s=a(64009),c=a(5996),b=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a},g=e=>{var{prefixCls:t,className:a,hoverable:r=!0}=e,o=b(e,["prefixCls","className","hoverable"]);let{getPrefixCls:d}=n.useContext(l.E_),s=d("card",t),c=i()(`${s}-grid`,a,{[`${s}-grid-hoverable`]:r});return n.createElement("div",Object.assign({},o,{className:c}))},$=a(38083),p=a(60848),f=a(90102),u=a(74934);let m=e=>{let{antCls:t,componentCls:a,headerHeight:n,cardPaddingBase:r,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${(0,$.bf)(r)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,$.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,$.bf)(e.borderRadiusLG)} ${(0,$.bf)(e.borderRadiusLG)} 0 0`},(0,p.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},p.vS),{[` > ${a}-typography, > ${a}-typography-edit-content `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,$.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},h=e=>{let{cardPaddingBase:t,colorBorderSecondary:a,cardShadow:n,lineWidth:r}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` diff --git a/dbgpt/app/static/web/_next/static/chunks/9975.88340916a73af207.js b/dbgpt/app/static/web/_next/static/chunks/7389.05ab9ede3bc3a90e.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/9975.88340916a73af207.js rename to dbgpt/app/static/web/_next/static/chunks/7389.05ab9ede3bc3a90e.js index 2f5964cc4..94cbe6990 100644 --- a/dbgpt/app/static/web/_next/static/chunks/9975.88340916a73af207.js +++ b/dbgpt/app/static/web/_next/static/chunks/7389.05ab9ede3bc3a90e.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9975],{48629:function(e,t,i){"use strict";i.r(t),i.d(t,{CancellationTokenSource:function(){return re},Emitter:function(){return rt},KeyCode:function(){return ri},KeyMod:function(){return rn},MarkerSeverity:function(){return ra},MarkerTag:function(){return rd},Position:function(){return rs},Range:function(){return ro},Selection:function(){return rr},SelectionDirection:function(){return rl},Token:function(){return ru},Uri:function(){return rh},default:function(){return rm},editor:function(){return rc},languages:function(){return rg}});var n,s,o,r,l,a,d,h,u,c,g,p,m,f,_,v,b,C,w,y,S,L,k,D={};i.r(D),i.d(D,{CancellationTokenSource:function(){return re},Emitter:function(){return rt},KeyCode:function(){return ri},KeyMod:function(){return rn},MarkerSeverity:function(){return ra},MarkerTag:function(){return rd},Position:function(){return rs},Range:function(){return ro},Selection:function(){return rr},SelectionDirection:function(){return rl},Token:function(){return ru},Uri:function(){return rh},editor:function(){return rc},languages:function(){return rg}}),i(77390),i(46671),i(31415),i(50081),i(55155),i(92550),i(87776);var x=i(79624);i(12525),i(99844),i(88788),i(57938),i(2127),i(99173),i(36465),i(40763),i(27479),i(37536),i(1231),i(50931),i(13564),i(40627),i(63518),i(72229),i(41854),i(16690),i(38820),i(29627),i(97045),i(87325),i(39987),i(46912),i(44366),i(57032),i(46893),i(25061),i(64512),i(55067),i(94922),i(80831),i(94441),i(51049),i(15148),i(49563),i(96415),i(5885),i(62893),i(34889),i(8934),i(47446),i(81200),i(44968),i(16173),i(68656),i(41078),i(19516),i(44623),i(58162),i(88584),i(78781),i(56054),i(82154),i(16636),i(20883),i(22379),i(24479);var N=i(43364),E=i(38486),I=i(44709),T=i(70784),M=i(95612),R=i(5482);i(9820);var A=i(66219),P=i(82508),O=i(70208),F=i(16783),B=i(44356);class W extends B.Q8{constructor(e,t,i){super(e,i.keepIdleModels||!1,i.label,t),this._foreignModuleId=i.moduleId,this._foreignModuleCreateData=i.createData||null,this._foreignModuleHost=i.host||null,this._foreignProxy=null}fhr(e,t){if(!this._foreignModuleHost||"function"!=typeof this._foreignModuleHost[e])return Promise.reject(Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(e){return Promise.reject(e)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(e=>{let t=this._foreignModuleHost?(0,F.$E)(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,t).then(t=>{this._foreignModuleCreateData=null;let i=(t,i)=>e.fmr(t,i),n=(e,t)=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},s={};for(let e of t)s[e]=n(e,i);return s})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then(e=>this.getProxy())}}var H=i(66597),V=i(9148),z=i(25777),K=i(1863),U=i(77233),$=i(32712),q=i(27281),j=i(46481),G=i(41407),Q=i(98334),Z=i(60989),Y=i(39813),J=i(94458),X=i(53429),ee=i(20910);function et(e){return"string"==typeof e}function ei(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function en(e){return e.replace(/[&<>'"_]/g,"-")}function es(e,t){return Error(`${e.languageId}: ${t}`)}function eo(e,t,i,n,s){let o=null;return t.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,function(t,r,l,a,d,h,u,c,g){return l?"$":a?ei(e,i):d&&d0;){let t=e.tokenizer[i];if(t)return t;let n=i.lastIndexOf(".");i=n<0?null:i.substr(0,n)}return null}var el=i(78426);class ea{static create(e,t){return this._INSTANCE.create(e,t)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new ed(e,t);let i=ed.getStackElementId(e);i.length>0&&(i+="|"),i+=t;let n=this._entries[i];return n||(n=new ed(e,t),this._entries[i]=n),n}}ea._INSTANCE=new ea(5);class ed{constructor(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(e){let t="";for(;null!==e;)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t}static _equals(e,t){for(;null!==e&&null!==t;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t}equals(e){return ed._equals(this,e)}push(e){return ea.create(this,e)}pop(){return this.parent}popall(){let e=this;for(;e.parent;)e=e.parent;return e}switchTo(e){return ea.create(this.parent,e)}}class eh{constructor(e,t){this.languageId=e,this.state=t}equals(e){return this.languageId===e.languageId&&this.state.equals(e.state)}clone(){let e=this.state.clone();return e===this.state?this:new eh(this.languageId,this.state)}}class eu{static create(e,t){return this._INSTANCE.create(e,t)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,t){if(null!==t||null!==e&&e.depth>=this._maxCacheDepth)return new ec(e,t);let i=ed.getStackElementId(e),n=this._entries[i];return n||(n=new ec(e,null),this._entries[i]=n),n}}eu._INSTANCE=new eu(5);class ec{constructor(e,t){this.stack=e,this.embeddedLanguageData=t}clone(){let e=this.embeddedLanguageData?this.embeddedLanguageData.clone():null;return e===this.embeddedLanguageData?this:eu.create(this.stack,this.embeddedLanguageData)}equals(e){return!!(e instanceof ec&&this.stack.equals(e.stack))&&(null===this.embeddedLanguageData&&null===e.embeddedLanguageData||null!==this.embeddedLanguageData&&null!==e.embeddedLanguageData&&this.embeddedLanguageData.equals(e.embeddedLanguageData))}}class eg{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(e){this._languageId=e}emit(e,t){(this._lastTokenType!==t||this._lastTokenLanguage!==this._languageId)&&(this._lastTokenType=t,this._lastTokenLanguage=this._languageId,this._tokens.push(new K.WU(e,t,this._languageId)))}nestedLanguageTokenize(e,t,i,n){let s=i.languageId,o=i.state,r=K.RW.get(s);if(!r)return this.enterLanguage(s),this.emit(n,""),o;let l=r.tokenize(e,t,o);if(0!==n)for(let e of l.tokens)this._tokens.push(new K.WU(e.offset+n,e.type,e.language));else this._tokens=this._tokens.concat(l.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,l.endState}finalize(e){return new K.hG(this._tokens,e)}}class ep{constructor(e,t){this._languageService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(e){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(e)}emit(e,t){let i=1024|this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==i&&(this._lastTokenMetadata=i,this._tokens.push(e),this._tokens.push(i))}static _merge(e,t,i){let n=null!==e?e.length:0,s=t.length,o=null!==i?i.length:0;if(0===n&&0===s&&0===o)return new Uint32Array(0);if(0===n&&0===s)return i;if(0===s&&0===o)return e;let r=new Uint32Array(n+s+o);null!==e&&r.set(e);for(let e=0;e{if(o)return;let t=!1;for(let i=0,n=e.changedLanguages.length;i{e.affectsConfiguration("editor.maxTokenizationLineLength")&&(this._maxTokenizationLineLength=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:this._languageId}))}))}getLoadStatus(){let e=[];for(let t in this._embeddedLanguages){let i=K.RW.get(t);if(i){if(i instanceof p){let t=i.getLoadStatus();!1===t.loaded&&e.push(t.promise)}continue}K.RW.isResolved(t)||e.push(K.RW.getOrCreate(t))}return 0===e.length?{loaded:!0}:{loaded:!1,promise:Promise.all(e).then(e=>void 0)}}getInitialState(){let e=ea.create(null,this._lexer.start);return eu.create(e,null)}tokenize(e,t,i){if(e.length>=this._maxTokenizationLineLength)return(0,j.Ri)(this._languageId,i);let n=new eg,s=this._tokenize(e,t,i,n);return n.finalize(s)}tokenizeEncoded(e,t,i){if(e.length>=this._maxTokenizationLineLength)return(0,j.Dy)(this._languageService.languageIdCodec.encodeLanguageId(this._languageId),i);let n=new ep(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),s=this._tokenize(e,t,i,n);return n.finalize(s)}_tokenize(e,t,i,n){return i.embeddedLanguageData?this._nestedTokenize(e,t,i,0,n):this._myTokenize(e,t,i,0,n)}_findLeavingNestedLanguageOffset(e,t){let i=this._lexer.tokenizer[t.stack.state];if(!i&&!(i=er(this._lexer,t.stack.state)))throw es(this._lexer,"tokenizer state is not defined: "+t.stack.state);let n=-1,s=!1;for(let o of i){if(et(o.action)||"@pop"!==o.action.nextEmbedded)continue;s=!0;let i=o.resolveRegex(t.stack.state),r=i.source;if("^(?:"===r.substr(0,4)&&")"===r.substr(r.length-1,1)){let e=(i.ignoreCase?"i":"")+(i.unicode?"u":"");i=new RegExp(r.substr(4,r.length-5),e)}let l=e.search(i);-1!==l&&(0===l||!o.matchOnlyAtLineStart)&&(-1===n||l0&&s.nestedLanguageTokenize(r,!1,i.embeddedLanguageData,n);let l=e.substring(o);return this._myTokenize(l,t,i,n+o,s)}_safeRuleName(e){return e?e.name:"(unknown)"}_myTokenize(e,t,i,n,s){s.enterLanguage(this._languageId);let o=e.length,r=t&&this._lexer.includeLF?e+"\n":e,l=r.length,a=i.embeddedLanguageData,d=i.stack,h=0,u=null,c=!0;for(;c||h=l)break;c=!1;let e=this._lexer.tokenizer[m];if(!e&&!(e=er(this._lexer,m)))throw es(this._lexer,"tokenizer state is not defined: "+m);let t=r.substr(h);for(let i of e)if((0===h||!i.matchOnlyAtLineStart)&&(f=t.match(i.resolveRegex(m)))){_=f[0],v=i.action;break}}if(f||(f=[""],_=""),v||(h=this._lexer.maxStack)throw es(this._lexer,"maximum tokenizer stack size reached: ["+d.state+","+d.parent.state+",...]");d=d.push(m)}else if("@pop"===v.next){if(d.depth<=1)throw es(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(b));d=d.pop()}else if("@popall"===v.next)d=d.popall();else{let e=eo(this._lexer,v.next,_,f,m);if("@"===e[0]&&(e=e.substr(1)),er(this._lexer,e))d=d.push(e);else throw es(this._lexer,"trying to set a next state '"+e+"' that is undefined in rule: "+this._safeRuleName(b))}}v.log&&"string"==typeof v.log&&console.log(`${this._lexer.languageId}: ${this._lexer.languageId+": "+eo(this._lexer,v.log,_,f,m)}`)}if(null===w)throw es(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(b));let y=i=>{let o=this._languageService.getLanguageIdByLanguageName(i)||this._languageService.getLanguageIdByMimeType(i)||i,r=this._getNestedEmbeddedLanguageData(o);if(!(h0)throw es(this._lexer,"groups cannot be nested: "+this._safeRuleName(b));if(f.length!==w.length+1)throw es(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(b));let e=0;for(let t=1;t=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=el.Ui,function(e,t){n(e,t,4)})],em);let ef=(0,Y.Z)("standaloneColorizer",{createHTML:e=>e});class e_{static colorizeElement(e,t,i,n){n=n||{};let s=n.theme||"vs",o=n.mimeType||i.getAttribute("lang")||i.getAttribute("data-lang");if(!o)return console.error("Mode not detected"),Promise.resolve();let r=t.getLanguageIdByMimeType(o)||o;e.setTheme(s);let l=i.firstChild?i.firstChild.nodeValue:"";return i.className+=" "+s,this.colorize(t,l||"",r,n).then(e=>{var t;let n=null!==(t=null==ef?void 0:ef.createHTML(e))&&void 0!==t?t:e;i.innerHTML=n},e=>console.error(e))}static async colorize(e,t,i,n){var s;let o=e.languageIdCodec,r=4;n&&"number"==typeof n.tabSize&&(r=n.tabSize),M.uS(t)&&(t=t.substr(1));let l=M.uq(t);if(!e.isRegisteredLanguageId(i))return ev(l,r,o);let a=await K.RW.getOrCreate(i);return a?(s=r,new Promise((e,t)=>{let i=()=>{let n=function(e,t,i,n){let s=[],o=i.getInitialState();for(let r=0,l=e.length;r"),o=a.endState}return s.join("")}(l,s,a,o);if(a instanceof em){let e=a.getLoadStatus();if(!1===e.loaded){e.promise.then(i,t);return}}e(n)};i()})):ev(l,r,o)}static colorizeLine(e,t,i,n,s=4){let o=ee.wA.isBasicASCII(e,t),r=ee.wA.containsRTL(e,o,i),l=(0,X.tF)(new X.IJ(!1,!0,e,!1,o,r,0,n,[],s,0,0,0,0,-1,"none",!1,!1,null));return l.html}static colorizeModelLine(e,t,i=4){let n=e.getLineContent(t);e.tokenization.forceTokenization(t);let s=e.tokenization.getLineTokens(t),o=s.inflate();return this.colorizeLine(n,e.mightContainNonBasicASCII(),e.mightContainRTL(),o,i)}}function ev(e,t,i){let n=[],s=new Uint32Array(2);s[0]=0,s[1]=33587200;for(let o=0,r=e.length;o")}return n.join("")}var eb=i(16506),eC=i(20897),ew=i(81845),ey=i(72249),eS=i(79915),eL=i(92270),ek=i(55150);let eD=class extends T.JT{constructor(e){super(),this._themeService=e,this._onWillCreateCodeEditor=this._register(new eS.Q5),this._onCodeEditorAdd=this._register(new eS.Q5),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new eS.Q5),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onWillCreateDiffEditor=this._register(new eS.Q5),this._onDiffEditorAdd=this._register(new eS.Q5),this.onDiffEditorAdd=this._onDiffEditorAdd.event,this._onDiffEditorRemove=this._register(new eS.Q5),this.onDiffEditorRemove=this._onDiffEditorRemove.event,this._decorationOptionProviders=new Map,this._codeEditorOpenHandlers=new eL.S,this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null),this._globalStyleSheet=null}willCreateCodeEditor(){this._onWillCreateCodeEditor.fire()}addCodeEditor(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)}removeCodeEditor(e){(delete this._codeEditors[e.getId()])&&this._onCodeEditorRemove.fire(e)}listCodeEditors(){return Object.keys(this._codeEditors).map(e=>this._codeEditors[e])}willCreateDiffEditor(){this._onWillCreateDiffEditor.fire()}addDiffEditor(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)}listDiffEditors(){return Object.keys(this._diffEditors).map(e=>this._diffEditors[e])}getFocusedCodeEditor(){let e=null,t=this.listCodeEditors();for(let i of t){if(i.hasTextFocus())return i;i.hasWidgetFocus()&&(e=i)}return e}removeDecorationType(e){let t=this._decorationOptionProviders.get(e);t&&(t.refCount--,t.refCount<=0&&(this._decorationOptionProviders.delete(e),t.dispose(),this.listCodeEditors().forEach(t=>t.removeDecorationsByType(e))))}setModelProperty(e,t,i){let n;let s=e.toString();this._modelProperties.has(s)?n=this._modelProperties.get(s):(n=new Map,this._modelProperties.set(s,n)),n.set(t,i)}getModelProperty(e,t){let i=e.toString();if(this._modelProperties.has(i)){let e=this._modelProperties.get(i);return e.get(t)}}async openCodeEditor(e,t,i){for(let n of this._codeEditorOpenHandlers){let s=await n(e,t,i);if(null!==s)return s}return null}registerCodeEditorOpenHandler(e){let t=this._codeEditorOpenHandlers.unshift(e);return(0,T.OF)(t)}};eD=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(s=ek.XE,function(e,t){s(e,t,0)})],eD);var ex=i(33336),eN=i(66653),eE=function(e,t){return function(i,n){t(i,n,e)}};let eI=class extends eD{constructor(e,t){super(t),this._register(this.onCodeEditorAdd(()=>this._checkContextKey())),this._register(this.onCodeEditorRemove(()=>this._checkContextKey())),this._editorIsOpen=e.createKey("editorIsOpen",!1),this._activeCodeEditor=null,this._register(this.registerCodeEditorOpenHandler(async(e,t,i)=>t?this.doOpenEditor(t,e):null))}_checkContextKey(){let e=!1;for(let t of this.listCodeEditors())if(!t.isSimpleWidget){e=!0;break}this._editorIsOpen.set(e)}setActiveCodeEditor(e){this._activeCodeEditor=e}getActiveCodeEditor(){return this._activeCodeEditor}doOpenEditor(e,t){let i=this.findModel(e,t.resource);if(!i){if(t.resource){let i=t.resource.scheme;if(i===ey.lg.http||i===ey.lg.https)return(0,ew.V3)(t.resource.toString()),e}return null}let n=t.options?t.options.selection:null;if(n){if("number"==typeof n.endLineNumber&&"number"==typeof n.endColumn)e.setSelection(n),e.revealRangeInCenter(n,1);else{let t={lineNumber:n.startLineNumber,column:n.startColumn};e.setPosition(t),e.revealPositionInCenter(t,1)}}return e}findModel(e,t){let i=e.getModel();return i&&i.uri.toString()!==t.toString()?null:i}};eI=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eE(0,ex.i6),eE(1,ek.XE)],eI),(0,eN.z)(O.$,eI,0);var eT=i(40789),eM=i(85327);let eR=(0,eM.yh)("layoutService");var eA=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},eP=function(e,t){return function(i,n){t(i,n,e)}};let eO=class{get mainContainer(){var e,t;return null!==(t=null===(e=(0,eT.Xh)(this._codeEditorService.listCodeEditors()))||void 0===e?void 0:e.getContainerDomNode())&&void 0!==t?t:I.E.document.body}get activeContainer(){var e,t;let i=null!==(e=this._codeEditorService.getFocusedCodeEditor())&&void 0!==e?e:this._codeEditorService.getActiveCodeEditor();return null!==(t=null==i?void 0:i.getContainerDomNode())&&void 0!==t?t:this.mainContainer}get mainContainerDimension(){return ew.D6(this.mainContainer)}get activeContainerDimension(){return ew.D6(this.activeContainer)}get containers(){return(0,eT.kX)(this._codeEditorService.listCodeEditors().map(e=>e.getContainerDomNode()))}getContainer(){return this.activeContainer}whenContainerStylesLoaded(){}focus(){var e;null===(e=this._codeEditorService.getFocusedCodeEditor())||void 0===e||e.focus()}constructor(e){this._codeEditorService=e,this.onDidLayoutMainContainer=eS.ju.None,this.onDidLayoutActiveContainer=eS.ju.None,this.onDidLayoutContainer=eS.ju.None,this.onDidChangeActiveContainer=eS.ju.None,this.onDidAddContainer=eS.ju.None,this.mainContainerOffset={top:0,quickPickTop:0},this.activeContainerOffset={top:0,quickPickTop:0}}};eO=eA([eP(0,O.$)],eO);let eF=class extends eO{get mainContainer(){return this._container}constructor(e,t){super(t),this._container=e}};eF=eA([eP(1,O.$)],eF),(0,eN.z)(eR,eO,1);var eB=i(32378),eW=i(31510),eH=i(82801),eV=i(45754),ez=i(16575),eK=i(32109),eU=function(e,t){return function(i,n){t(i,n,e)}};function e$(e){return e.scheme===ey.lg.file?e.fsPath:e.path}let eq=0;class ej{constructor(e,t,i,n,s,o,r){this.id=++eq,this.type=0,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabel=t,this.strResource=i,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=n,this.groupOrder=s,this.sourceId=o,this.sourceOrder=r,this.isValid=!0}setValid(e){this.isValid=e}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.isValid?" VALID":"INVALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class eG{constructor(e,t){this.resourceLabel=e,this.reason=t}}class eQ{constructor(){this.elements=new Map}createMessage(){let e=[],t=[];for(let[,i]of this.elements){let n=0===i.reason?e:t;n.push(i.resourceLabel)}let i=[];return e.length>0&&i.push(eH.NC({key:"externalRemoval",comment:["{0} is a list of filenames"]},"The following files have been closed and modified on disk: {0}.",e.join(", "))),t.length>0&&i.push(eH.NC({key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",t.join(", "))),i.join("\n")}get size(){return this.elements.size}has(e){return this.elements.has(e)}set(e,t){this.elements.set(e,t)}delete(e){return this.elements.delete(e)}}class eZ{constructor(e,t,i,n,s,o,r){this.id=++eq,this.type=1,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabels=t,this.strResources=i,this.groupId=n,this.groupOrder=s,this.sourceId=o,this.sourceOrder=r,this.removedResources=null,this.invalidatedResources=null}canSplit(){return"function"==typeof this.actual.split}removeResource(e,t,i){this.removedResources||(this.removedResources=new eQ),this.removedResources.has(t)||this.removedResources.set(t,new eG(e,i))}setValid(e,t,i){i?this.invalidatedResources&&(this.invalidatedResources.delete(t),0===this.invalidatedResources.size&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new eQ),this.invalidatedResources.has(t)||this.invalidatedResources.set(t,new eG(e,0)))}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.invalidatedResources?"INVALID":" VALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class eY{constructor(e,t){this.resourceLabel=e,this.strResource=t,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(let e of this._past)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);for(let e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){let e=[];e.push(`* ${this.strResource}:`);for(let t=0;t=0;t--)e.push(` * [REDO] ${this._future[t]}`);return e.join("\n")}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(e,t){1===e.type?e.setValid(this.resourceLabel,this.strResource,t):e.setValid(t)}setElementsValidFlag(e,t){for(let i of this._past)t(i.actual)&&this._setElementValidFlag(i,e);for(let i of this._future)t(i.actual)&&this._setElementValidFlag(i,e)}pushElement(e){for(let e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,1);this._future=[],this._past.push(e),this.versionId++}createSnapshot(e){let t=[];for(let e=0,i=this._past.length;e=0;e--)t.push(this._future[e].id);return new eK.YO(e,t)}restoreSnapshot(e){let t=e.elements.length,i=!0,n=0,s=-1;for(let o=0,r=this._past.length;o=t||r.id!==e.elements[n])&&(i=!1,s=0),i||1!==r.type||r.removeResource(this.resourceLabel,this.strResource,0)}let o=-1;for(let s=this._future.length-1;s>=0;s--,n++){let r=this._future[s];i&&(n>=t||r.id!==e.elements[n])&&(i=!1,o=s),i||1!==r.type||r.removeResource(this.resourceLabel,this.strResource,0)}-1!==s&&(this._past=this._past.slice(0,s)),-1!==o&&(this._future=this._future.slice(o+1)),this.versionId++}getElements(){let e=[],t=[];for(let t of this._past)e.push(t.actual);for(let e of this._future)t.push(e.actual);return{past:e,future:t}}getClosestPastElement(){return 0===this._past.length?null:this._past[this._past.length-1]}getSecondClosestPastElement(){return this._past.length<2?null:this._past[this._past.length-2]}getClosestFutureElement(){return 0===this._future.length?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(e,t){for(let i=this._past.length-1;i>=0;i--)if(this._past[i]===e){t.has(this.strResource)?this._past[i]=t.get(this.strResource):this._past.splice(i,1);break}this.versionId++}splitFutureWorkspaceElement(e,t){for(let i=this._future.length-1;i>=0;i--)if(this._future[i]===e){t.has(this.strResource)?this._future[i]=t.get(this.strResource):this._future.splice(i,1);break}this.versionId++}moveBackward(e){this._past.pop(),this._future.push(e),this.versionId++}moveForward(e){this._future.pop(),this._past.push(e),this.versionId++}}class eJ{constructor(e){this.editStacks=e,this._versionIds=[];for(let e=0,t=this.editStacks.length;et.sourceOrder)&&(t=o,i=n)}return[t,i]}canUndo(e){if(e instanceof eK.gJ){let[,t]=this._findClosestUndoElementWithSource(e.id);return!!t}let t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){let e=this._editStacks.get(t);return e.hasPastElements()}return!1}_onError(e,t){for(let i of((0,eB.dL)(e),t.strResources))this.removeElements(i);this._notificationService.error(e)}_acquireLocks(e){for(let t of e.editStacks)if(t.locked)throw Error("Cannot acquire edit stack lock");for(let t of e.editStacks)t.locked=!0;return()=>{for(let t of e.editStacks)t.locked=!1}}_safeInvokeWithLocks(e,t,i,n,s){let o;let r=this._acquireLocks(i);try{o=t()}catch(t){return r(),n.dispose(),this._onError(t,e)}return o?o.then(()=>(r(),n.dispose(),s()),t=>(r(),n.dispose(),this._onError(t,e))):(r(),n.dispose(),s())}async _invokeWorkspacePrepare(e){if(void 0===e.actual.prepareUndoRedo)return T.JT.None;let t=e.actual.prepareUndoRedo();return void 0===t?T.JT.None:t}_invokeResourcePrepare(e,t){if(1!==e.actual.type||void 0===e.actual.prepareUndoRedo)return t(T.JT.None);let i=e.actual.prepareUndoRedo();return i?(0,T.Wf)(i)?t(i):i.then(e=>t(e)):t(T.JT.None)}_getAffectedEditStacks(e){let t=[];for(let i of e.strResources)t.push(this._editStacks.get(i)||eX);return new eJ(t)}_tryToSplitAndUndo(e,t,i,n){if(t.canSplit())return this._splitPastWorkspaceElement(t,i),this._notificationService.warn(n),new e1(this._undo(e,0,!0));for(let e of t.strResources)this.removeElements(e);return this._notificationService.warn(n),new e1}_checkWorkspaceUndo(e,t,i,n){if(t.removedResources)return this._tryToSplitAndUndo(e,t,t.removedResources,eH.NC({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(n&&t.invalidatedResources)return this._tryToSplitAndUndo(e,t,t.invalidatedResources,eH.NC({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));let s=[];for(let e of i.editStacks)e.getClosestPastElement()!==t&&s.push(e.resourceLabel);if(s.length>0)return this._tryToSplitAndUndo(e,t,null,eH.NC({key:"cannotWorkspaceUndoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because changes were made to {1}",t.label,s.join(", ")));let o=[];for(let e of i.editStacks)e.locked&&o.push(e.resourceLabel);return o.length>0?this._tryToSplitAndUndo(e,t,null,eH.NC({key:"cannotWorkspaceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,o.join(", "))):i.isValid()?null:this._tryToSplitAndUndo(e,t,null,eH.NC({key:"cannotWorkspaceUndoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceUndo(e,t,i){let n=this._getAffectedEditStacks(t),s=this._checkWorkspaceUndo(e,t,n,!1);return s?s.returnValue:this._confirmAndExecuteWorkspaceUndo(e,t,n,i)}_isPartOfUndoGroup(e){if(!e.groupId)return!1;for(let[,t]of this._editStacks){let i=t.getClosestPastElement();if(i){if(i===e){let i=t.getSecondClosestPastElement();if(i&&i.groupId===e.groupId)return!0}if(i.groupId===e.groupId)return!0}}return!1}async _confirmAndExecuteWorkspaceUndo(e,t,i,n){let s;if(t.canSplit()&&!this._isPartOfUndoGroup(t)){var o;let s;(o=s||(s={}))[o.All=0]="All",o[o.This=1]="This",o[o.Cancel=2]="Cancel";let{result:r}=await this._dialogService.prompt({type:eW.Z.Info,message:eH.NC("confirmWorkspace","Would you like to undo '{0}' across all files?",t.label),buttons:[{label:eH.NC({key:"ok",comment:["{0} denotes a number that is > 1, && denotes a mnemonic"]},"&&Undo in {0} Files",i.editStacks.length),run:()=>s.All},{label:eH.NC({key:"nok",comment:["&& denotes a mnemonic"]},"Undo this &&File"),run:()=>s.This}],cancelButton:{run:()=>s.Cancel}});if(r===s.Cancel)return;if(r===s.This)return this._splitPastWorkspaceElement(t,null),this._undo(e,0,!0);let l=this._checkWorkspaceUndo(e,t,i,!1);if(l)return l.returnValue;n=!0}try{s=await this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}let r=this._checkWorkspaceUndo(e,t,i,!0);if(r)return s.dispose(),r.returnValue;for(let e of i.editStacks)e.moveBackward(t);return this._safeInvokeWithLocks(t,()=>t.actual.undo(),i,s,()=>this._continueUndoInGroup(t.groupId,n))}_resourceUndo(e,t,i){if(!t.isValid){e.flushAllElements();return}if(e.locked){let e=eH.NC({key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.warn(e);return}return this._invokeResourcePrepare(t,n=>(e.moveBackward(t),this._safeInvokeWithLocks(t,()=>t.actual.undo(),new eJ([e]),n,()=>this._continueUndoInGroup(t.groupId,i))))}_findClosestUndoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(let[n,s]of this._editStacks){let o=s.getClosestPastElement();o&&o.groupId===e&&(!t||o.groupOrder>t.groupOrder)&&(t=o,i=n)}return[t,i]}_continueUndoInGroup(e,t){if(!e)return;let[,i]=this._findClosestUndoElementInGroup(e);if(i)return this._undo(i,0,t)}undo(e){if(e instanceof eK.gJ){let[,t]=this._findClosestUndoElementWithSource(e.id);return t?this._undo(t,e.id,!1):void 0}return"string"==typeof e?this._undo(e,0,!1):this._undo(this.getUriComparisonKey(e),0,!1)}_undo(e,t=0,i){if(!this._editStacks.has(e))return;let n=this._editStacks.get(e),s=n.getClosestPastElement();if(!s)return;if(s.groupId){let[e,n]=this._findClosestUndoElementInGroup(s.groupId);if(s!==e&&n)return this._undo(n,t,i)}let o=s.sourceId!==t||s.confirmBeforeUndo;return o&&!i?this._confirmAndContinueUndo(e,t,s):1===s.type?this._workspaceUndo(e,s,i):this._resourceUndo(n,s,i)}async _confirmAndContinueUndo(e,t,i){let n=await this._dialogService.confirm({message:eH.NC("confirmDifferentSource","Would you like to undo '{0}'?",i.label),primaryButton:eH.NC({key:"confirmDifferentSource.yes",comment:["&& denotes a mnemonic"]},"&&Yes"),cancelButton:eH.NC("confirmDifferentSource.no","No")});if(n.confirmed)return this._undo(e,t,!0)}_findClosestRedoElementWithSource(e){if(!e)return[null,null];let t=null,i=null;for(let[n,s]of this._editStacks){let o=s.getClosestFutureElement();o&&o.sourceId===e&&(!t||o.sourceOrder0)return this._tryToSplitAndRedo(e,t,null,eH.NC({key:"cannotWorkspaceRedoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because changes were made to {1}",t.label,s.join(", ")));let o=[];for(let e of i.editStacks)e.locked&&o.push(e.resourceLabel);return o.length>0?this._tryToSplitAndRedo(e,t,null,eH.NC({key:"cannotWorkspaceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,o.join(", "))):i.isValid()?null:this._tryToSplitAndRedo(e,t,null,eH.NC({key:"cannotWorkspaceRedoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceRedo(e,t){let i=this._getAffectedEditStacks(t),n=this._checkWorkspaceRedo(e,t,i,!1);return n?n.returnValue:this._executeWorkspaceRedo(e,t,i)}async _executeWorkspaceRedo(e,t,i){let n;try{n=await this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}let s=this._checkWorkspaceRedo(e,t,i,!0);if(s)return n.dispose(),s.returnValue;for(let e of i.editStacks)e.moveForward(t);return this._safeInvokeWithLocks(t,()=>t.actual.redo(),i,n,()=>this._continueRedoInGroup(t.groupId))}_resourceRedo(e,t){if(!t.isValid){e.flushAllElements();return}if(e.locked){let e=eH.NC({key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.warn(e);return}return this._invokeResourcePrepare(t,i=>(e.moveForward(t),this._safeInvokeWithLocks(t,()=>t.actual.redo(),new eJ([e]),i,()=>this._continueRedoInGroup(t.groupId))))}_findClosestRedoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(let[n,s]of this._editStacks){let o=s.getClosestFutureElement();o&&o.groupId===e&&(!t||o.groupOrder=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eU(0,eV.S),eU(1,ez.lT)],e0);class e1{constructor(e){this.returnValue=e}}(0,eN.z)(eK.tJ,e0,1),i(86756);var e2=i(99078),e4=i(8185),e5=i(42458),e3=function(e,t){return function(i,n){t(i,n,e)}};let e7=class extends T.JT{constructor(e,t,i){super(),this._themeService=e,this._logService=t,this._languageService=i,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}getStyling(e){return this._caches.has(e)||this._caches.set(e,new e4.$(e.getLegend(),this._themeService,this._languageService,this._logService)),this._caches.get(e)}};e7=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([e3(0,ek.XE),e3(1,e2.VZ),e3(2,U.O)],e7),(0,eN.z)(e5.s,e7,1);var e8=i(97987);class e6{constructor(e,t,i,n){this.uri=e,this.languageId=t,this.notebookUri=i,this.notebookType=n}equals(e){var t,i;return this.notebookType===e.notebookType&&this.languageId===e.languageId&&this.uri.toString()===e.uri.toString()&&(null===(t=this.notebookUri)||void 0===t?void 0:t.toString())===(null===(i=e.notebookUri)||void 0===i?void 0:i.toString())}}class e9{constructor(e){this._notebookInfoResolver=e,this._clock=0,this._entries=[],this._onDidChange=new eS.Q5,this.onDidChange=this._onDidChange.event}register(e,t){let i={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(i),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),(0,T.OF)(()=>{if(i){let e=this._entries.indexOf(i);e>=0&&(this._entries.splice(e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),i=void 0)}})}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e);let t=[];for(let e of this._entries)e._score>0&&t.push(e.provider);return t}ordered(e){let t=[];return this._orderedForEach(e,e=>t.push(e.provider)),t}orderedGroups(e){let t,i;let n=[];return this._orderedForEach(e,e=>{t&&i===e._score?t.push(e.provider):(i=e._score,t=[e.provider],n.push(t))}),n}_orderedForEach(e,t){for(let i of(this._updateScores(e),this._entries))i._score>0&&t(i)}_updateScores(e){var t,i;let n=null===(t=this._notebookInfoResolver)||void 0===t?void 0:t.call(this,e.uri),s=n?new e6(e.uri,e.getLanguageId(),n.uri,n.type):new e6(e.uri,e.getLanguageId(),void 0,void 0);if(null===(i=this._lastCandidate)||void 0===i||!i.equals(s)){for(let t of(this._lastCandidate=s,this._entries))if(t._score=(0,e8.G)(t.selector,s.uri,s.languageId,(0,G.pt)(e),s.notebookUri,s.notebookType),function e(t){return"string"!=typeof t&&(Array.isArray(t)?t.every(e):!!t.exclusive)}(t.selector)&&t._score>0){for(let e of this._entries)e._score=0;t._score=1e3;break}this._entries.sort(e9._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._scoret._score?-1:te(e.selector)&&!te(t.selector)?1:!te(e.selector)&&te(t.selector)?-1:e._timet._time?-1:0}}function te(e){return"string"!=typeof e&&(Array.isArray(e)?e.some(te):!!e.isBuiltin)}var tt=i(64106);(0,eN.z)(tt.p,class{constructor(){this.referenceProvider=new e9(this._score.bind(this)),this.renameProvider=new e9(this._score.bind(this)),this.newSymbolNamesProvider=new e9(this._score.bind(this)),this.codeActionProvider=new e9(this._score.bind(this)),this.definitionProvider=new e9(this._score.bind(this)),this.typeDefinitionProvider=new e9(this._score.bind(this)),this.declarationProvider=new e9(this._score.bind(this)),this.implementationProvider=new e9(this._score.bind(this)),this.documentSymbolProvider=new e9(this._score.bind(this)),this.inlayHintsProvider=new e9(this._score.bind(this)),this.colorProvider=new e9(this._score.bind(this)),this.codeLensProvider=new e9(this._score.bind(this)),this.documentFormattingEditProvider=new e9(this._score.bind(this)),this.documentRangeFormattingEditProvider=new e9(this._score.bind(this)),this.onTypeFormattingEditProvider=new e9(this._score.bind(this)),this.signatureHelpProvider=new e9(this._score.bind(this)),this.hoverProvider=new e9(this._score.bind(this)),this.documentHighlightProvider=new e9(this._score.bind(this)),this.multiDocumentHighlightProvider=new e9(this._score.bind(this)),this.selectionRangeProvider=new e9(this._score.bind(this)),this.foldingRangeProvider=new e9(this._score.bind(this)),this.linkProvider=new e9(this._score.bind(this)),this.inlineCompletionsProvider=new e9(this._score.bind(this)),this.inlineEditProvider=new e9(this._score.bind(this)),this.completionProvider=new e9(this._score.bind(this)),this.linkedEditingRangeProvider=new e9(this._score.bind(this)),this.documentRangeSemanticTokensProvider=new e9(this._score.bind(this)),this.documentSemanticTokensProvider=new e9(this._score.bind(this)),this.documentDropEditProvider=new e9(this._score.bind(this)),this.documentPasteEditProvider=new e9(this._score.bind(this))}_score(e){var t;return null===(t=this._notebookTypeResolver)||void 0===t?void 0:t.call(this,e)}},1);var ti=i(43616),tn=i(96748),ts=i(10727);i(26843);var to=i(46417),tr=i(38862),tl=i(95021),ta=i(45902),td=i(77585),th=i(42891),tu=i(58022),tc=i(15232),tg=function(e,t){return function(i,n){t(i,n,e)}};let tp=ew.$,tm=class extends tl.${get _targetWindow(){return ew.Jj(this._target.targetElements[0])}get _targetDocumentElement(){return ew.Jj(this._target.targetElements[0]).document.documentElement}get isDisposed(){return this._isDisposed}get isMouseIn(){return this._lockMouseTracker.isMouseIn}get domNode(){return this._hover.containerDomNode}get onDispose(){return this._onDispose.event}get onRequestLayout(){return this._onRequestLayout.event}get anchor(){return 2===this._hoverPosition?0:1}get x(){return this._x}get y(){return this._y}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this._hoverContainer.classList.toggle("locked",this._isLocked))}constructor(e,t,i,n,s,o){var r,l,a,d,h,u,c,g;let p;super(),this._keybindingService=t,this._configurationService=i,this._openerService=n,this._instantiationService=s,this._accessibilityService=o,this._messageListeners=new T.SL,this._isDisposed=!1,this._forcePosition=!1,this._x=0,this._y=0,this._isLocked=!1,this._enableFocusTraps=!1,this._addedFocusTrap=!1,this._onDispose=this._register(new eS.Q5),this._onRequestLayout=this._register(new eS.Q5),this._linkHandler=e.linkHandler||(t=>(0,td.N)(this._openerService,t,(0,th.Fr)(e.content)?e.content.isTrusted:void 0)),this._target="targetElements"in e.target?e.target:new t_(e.target),this._hoverPointer=(null===(r=e.appearance)||void 0===r?void 0:r.showPointer)?tp("div.workbench-hover-pointer"):void 0,this._hover=this._register(new tr.c8),this._hover.containerDomNode.classList.add("workbench-hover","fadeIn"),(null===(l=e.appearance)||void 0===l?void 0:l.compact)&&this._hover.containerDomNode.classList.add("workbench-hover","compact"),(null===(a=e.appearance)||void 0===a?void 0:a.skipFadeInAnimation)&&this._hover.containerDomNode.classList.add("skip-fade-in"),e.additionalClasses&&this._hover.containerDomNode.classList.add(...e.additionalClasses),(null===(d=e.position)||void 0===d?void 0:d.forcePosition)&&(this._forcePosition=!0),e.trapFocus&&(this._enableFocusTraps=!0),this._hoverPosition=null!==(u=null===(h=e.position)||void 0===h?void 0:h.hoverPosition)&&void 0!==u?u:3,this.onmousedown(this._hover.containerDomNode,e=>e.stopPropagation()),this.onkeydown(this._hover.containerDomNode,e=>{e.equals(9)&&this.dispose()}),this._register(ew.nm(this._targetWindow,"blur",()=>this.dispose()));let m=tp("div.hover-row.markdown-hover"),f=tp("div.hover-contents");if("string"==typeof e.content)f.textContent=e.content,f.style.whiteSpace="pre-wrap";else if(ew.Re(e.content))f.appendChild(e.content),f.classList.add("html-hover-contents");else{let t=e.content,i=this._instantiationService.createInstance(td.$,{codeBlockFontFamily:this._configurationService.getValue("editor").fontFamily||N.hL.fontFamily}),{element:n}=i.render(t,{actionHandler:{callback:e=>this._linkHandler(e),disposables:this._messageListeners},asyncRenderCallback:()=>{f.classList.add("code-hover-contents"),this.layout(),this._onRequestLayout.fire()}});f.appendChild(n)}if(m.appendChild(f),this._hover.contentsDomNode.appendChild(m),e.actions&&e.actions.length>0){let t=tp("div.hover-row.status-bar"),i=tp("div.actions");e.actions.forEach(e=>{let t=this._keybindingService.lookupKeybinding(e.commandId),n=t?t.getLabel():null;tr.Sr.render(i,{label:e.label,commandId:e.commandId,run:t=>{e.run(t),this.dispose()},iconClass:e.iconClass},n)}),t.appendChild(i),this._hover.containerDomNode.appendChild(t)}if(this._hoverContainer=tp("div.workbench-hover-container"),this._hoverPointer&&this._hoverContainer.appendChild(this._hoverPointer),this._hoverContainer.appendChild(this._hover.containerDomNode),(p=(!e.actions||!(e.actions.length>0))&&((null===(c=e.persistence)||void 0===c?void 0:c.hideOnHover)===void 0?"string"==typeof e.content||(0,th.Fr)(e.content)&&!e.content.value.includes("](")&&!e.content.value.includes(""):e.persistence.hideOnHover))&&(null===(g=e.appearance)||void 0===g?void 0:g.showHoverHint)){let e=tp("div.hover-row.status-bar"),t=tp("div.info");t.textContent=(0,eH.NC)("hoverhint","Hold {0} key to mouse over",tu.dz?"Option":"Alt"),e.appendChild(t),this._hover.containerDomNode.appendChild(e)}let _=[...this._target.targetElements];p||_.push(this._hoverContainer);let v=this._register(new tf(_));if(this._register(v.onMouseOut(()=>{this._isLocked||this.dispose()})),p){let e=[...this._target.targetElements,this._hoverContainer];this._lockMouseTracker=this._register(new tf(e)),this._register(this._lockMouseTracker.onMouseOut(()=>{this._isLocked||this.dispose()}))}else this._lockMouseTracker=v}addFocusTrap(){if(!this._enableFocusTraps||this._addedFocusTrap)return;this._addedFocusTrap=!0;let e=this._hover.containerDomNode,t=this.findLastFocusableChild(this._hover.containerDomNode);if(t){let i=ew.Ce(this._hoverContainer,tp("div")),n=ew.R3(this._hoverContainer,tp("div"));i.tabIndex=0,n.tabIndex=0,this._register(ew.nm(n,"focus",t=>{e.focus(),t.preventDefault()})),this._register(ew.nm(i,"focus",e=>{t.focus(),e.preventDefault()}))}}findLastFocusableChild(e){if(e.hasChildNodes())for(let t=0;t=0)return i;let n=this.findLastFocusableChild(i);if(n)return n}}render(e){var t;e.appendChild(this._hoverContainer);let i=this._hoverContainer.contains(this._hoverContainer.ownerDocument.activeElement),n=i&&(0,tr.uX)(!0===this._configurationService.getValue("accessibility.verbosity.hover")&&this._accessibilityService.isScreenReaderOptimized(),null===(t=this._keybindingService.lookupKeybinding("editor.action.accessibleView"))||void 0===t?void 0:t.getAriaLabel());n&&(0,eb.i7)(n),this.layout(),this.addFocusTrap()}layout(){this._hover.containerDomNode.classList.remove("right-aligned"),this._hover.contentsDomNode.style.maxHeight="";let e=e=>{let t=ew.I8(e),i=e.getBoundingClientRect();return{top:i.top*t,bottom:i.bottom*t,right:i.right*t,left:i.left*t}},t=this._target.targetElements.map(t=>e(t)),{top:i,right:n,bottom:s,left:o}=t[0],r=n-o,l=s-i,a={top:i,right:n,bottom:s,left:o,width:r,height:l,center:{x:o+r/2,y:i+l/2}};if(this.adjustHorizontalHoverPosition(a),this.adjustVerticalHoverPosition(a),this.adjustHoverMaxHeight(a),this._hoverContainer.style.padding="",this._hoverContainer.style.margin="",this._hoverPointer){switch(this._hoverPosition){case 1:a.left+=3,a.right+=3,this._hoverContainer.style.paddingLeft="3px",this._hoverContainer.style.marginLeft="-3px";break;case 0:a.left-=3,a.right-=3,this._hoverContainer.style.paddingRight="3px",this._hoverContainer.style.marginRight="-3px";break;case 2:a.top+=3,a.bottom+=3,this._hoverContainer.style.paddingTop="3px",this._hoverContainer.style.marginTop="-3px";break;case 3:a.top-=3,a.bottom-=3,this._hoverContainer.style.paddingBottom="3px",this._hoverContainer.style.marginBottom="-3px"}a.center.x=a.left+r/2,a.center.y=a.top+l/2}this.computeXCordinate(a),this.computeYCordinate(a),this._hoverPointer&&(this._hoverPointer.classList.remove("top"),this._hoverPointer.classList.remove("left"),this._hoverPointer.classList.remove("right"),this._hoverPointer.classList.remove("bottom"),this.setHoverPointerPosition(a)),this._hover.onContentsChanged()}computeXCordinate(e){let t=this._hover.containerDomNode.clientWidth+2;void 0!==this._target.x?this._x=this._target.x:1===this._hoverPosition?this._x=e.right:0===this._hoverPosition?this._x=e.left-t:(this._hoverPointer?this._x=e.center.x-this._hover.containerDomNode.clientWidth/2:this._x=e.left,this._x+t>=this._targetDocumentElement.clientWidth&&(this._hover.containerDomNode.classList.add("right-aligned"),this._x=Math.max(this._targetDocumentElement.clientWidth-t-2,this._targetDocumentElement.clientLeft))),this._xthis._targetWindow.innerHeight&&(this._y=e.bottom)}adjustHorizontalHoverPosition(e){if(void 0!==this._target.x)return;let t=this._hoverPointer?3:0;if(this._forcePosition){let i=t+2;1===this._hoverPosition?this._hover.containerDomNode.style.maxWidth=`${this._targetDocumentElement.clientWidth-e.right-i}px`:0===this._hoverPosition&&(this._hover.containerDomNode.style.maxWidth=`${e.left-i}px`);return}if(1===this._hoverPosition){let i=this._targetDocumentElement.clientWidth-e.right;if(i=this._hover.containerDomNode.clientWidth+t?this._hoverPosition=0:this._hoverPosition=2}}else if(0===this._hoverPosition){let i=e.left;if(i=this._hover.containerDomNode.clientWidth+t?this._hoverPosition=1:this._hoverPosition=2}e.left-this._hover.containerDomNode.clientWidth-t<=this._targetDocumentElement.clientLeft&&(this._hoverPosition=1)}}adjustVerticalHoverPosition(e){if(void 0!==this._target.y||this._forcePosition)return;let t=this._hoverPointer?3:0;3===this._hoverPosition?e.top-this._hover.containerDomNode.clientHeight-t<0&&(this._hoverPosition=2):2===this._hoverPosition&&e.bottom+this._hover.containerDomNode.clientHeight+t>this._targetWindow.innerHeight&&(this._hoverPosition=3)}adjustHoverMaxHeight(e){let t=this._targetWindow.innerHeight/2;if(this._forcePosition){let i=(this._hoverPointer?3:0)+2;3===this._hoverPosition?t=Math.min(t,e.top-i):2===this._hoverPosition&&(t=Math.min(t,this._targetWindow.innerHeight-e.bottom-i))}if(this._hover.containerDomNode.style.maxHeight=`${t}px`,this._hover.contentsDomNode.clientHeighte.height?this._hoverPointer.style.top=`${e.center.y-(this._y-t)-3}px`:this._hoverPointer.style.top=`${Math.round(t/2)-3}px`;break}case 3:case 2:{this._hoverPointer.classList.add(3===this._hoverPosition?"bottom":"top");let t=this._hover.containerDomNode.clientWidth,i=Math.round(t/2)-3,n=this._x+i;(ne.right)&&(i=e.center.x-this._x-3),this._hoverPointer.style.left=`${i}px`}}}focus(){this._hover.containerDomNode.focus()}dispose(){this._isDisposed||(this._onDispose.fire(),this._hoverContainer.remove(),this._messageListeners.dispose(),this._target.dispose(),super.dispose()),this._isDisposed=!0}};tm=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([tg(1,to.d),tg(2,el.Ui),tg(3,ta.v),tg(4,eM.TG),tg(5,tc.F)],tm);class tf extends tl.${get onMouseOut(){return this._onMouseOut.event}get isMouseIn(){return this._isMouseIn}constructor(e){super(),this._elements=e,this._isMouseIn=!0,this._onMouseOut=this._register(new eS.Q5),this._elements.forEach(e=>this.onmouseover(e,()=>this._onTargetMouseOver(e))),this._elements.forEach(e=>this.onmouseleave(e,()=>this._onTargetMouseLeave(e)))}_onTargetMouseOver(e){this._isMouseIn=!0,this._clearEvaluateMouseStateTimeout(e)}_onTargetMouseLeave(e){this._isMouseIn=!1,this._evaluateMouseState(e)}_evaluateMouseState(e){this._clearEvaluateMouseStateTimeout(e),this._mouseTimeout=ew.Jj(e).setTimeout(()=>this._fireIfMouseOutside(),0)}_clearEvaluateMouseStateTimeout(e){this._mouseTimeout&&(ew.Jj(e).clearTimeout(this._mouseTimeout),this._mouseTimeout=void 0)}_fireIfMouseOutside(){this._isMouseIn||this._onMouseOut.fire()}}class t_{constructor(e){this._element=e,this.targetElements=[this._element]}dispose(){}}var tv=i(69629),tb=i(67346),tC=i(50798);function tw(e,t,i){let n=i.mode===m.ALIGN?i.offset:i.offset+i.size,s=i.mode===m.ALIGN?i.offset+i.size:i.offset;return 0===i.position?t<=e-n?n:t<=s?s-t:Math.max(e-t,0):t<=s?s-t:t<=e-n?n:0}i(89666),(o=m||(m={}))[o.AVOID=0]="AVOID",o[o.ALIGN=1]="ALIGN";class ty extends T.JT{constructor(e,t){super(),this.container=null,this.useFixedPosition=!1,this.useShadowDOM=!1,this.delegate=null,this.toDisposeOnClean=T.JT.None,this.toDisposeOnSetContainer=T.JT.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=ew.$(".context-view"),ew.Cp(this.view),this.setContainer(e,t),this._register((0,T.OF)(()=>this.setContainer(null,1)))}setContainer(e,t){var i;this.useFixedPosition=1!==t;let n=this.useShadowDOM;if(this.useShadowDOM=3===t,(e!==this.container||n!==this.useShadowDOM)&&(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,null===(i=this.shadowRootHostElement)||void 0===i||i.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),e)){if(this.container=e,this.useShadowDOM){this.shadowRootHostElement=ew.$(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"});let e=document.createElement("style");e.textContent=tS,this.shadowRoot.appendChild(e),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(ew.$("slot"))}else this.container.appendChild(this.view);let t=new T.SL;ty.BUBBLE_UP_EVENTS.forEach(e=>{t.add(ew.mu(this.container,e,e=>{this.onDOMEvent(e,!1)}))}),ty.BUBBLE_DOWN_EVENTS.forEach(e=>{t.add(ew.mu(this.container,e,e=>{this.onDOMEvent(e,!0)},!0))}),this.toDisposeOnSetContainer=t}}show(e){var t,i,n;this.isVisible()&&this.hide(),ew.PO(this.view),this.view.className="context-view monaco-component",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex=`${2575+(null!==(t=e.layer)&&void 0!==t?t:0)}`,this.view.style.position=this.useFixedPosition?"fixed":"absolute",ew.$Z(this.view),this.toDisposeOnClean=e.render(this.view)||T.JT.None,this.delegate=e,this.doLayout(),null===(n=(i=this.delegate).focus)||void 0===n||n.call(i)}getViewElement(){return this.view}layout(){var e,t;if(this.isVisible()){if(!1===this.delegate.canRelayout&&!(tu.gn&&tb.D.pointerEvents)){this.hide();return}null===(t=null===(e=this.delegate)||void 0===e?void 0:e.layout)||void 0===t||t.call(e),this.doLayout()}}doLayout(){let e,t,i;if(!this.isVisible())return;let n=this.delegate.getAnchor();if(ew.Re(n)){let t=ew.i(n),i=ew.I8(n);e={top:t.top*i,left:t.left*i,width:t.width*i,height:t.height*i}}else e=n&&"number"==typeof n.x&&"number"==typeof n.y?{top:n.y,left:n.x,width:n.width||1,height:n.height||2}:{top:n.posy,left:n.posx,width:2,height:2};let s=ew.w(this.view),o=ew.wn(this.view),r=this.delegate.anchorPosition||0,l=this.delegate.anchorAlignment||0,a=this.delegate.anchorAxisAlignment||0,d=ew.WN();if(0===a){let n={offset:e.top-d.pageYOffset,size:e.height,position:0===r?0:1},a={offset:e.left,size:e.width,position:0===l?0:1,mode:m.ALIGN};t=tw(d.innerHeight,o,n)+d.pageYOffset,tC.e.intersects({start:t,end:t+o},{start:n.offset,end:n.offset+n.size})&&(a.mode=m.AVOID),i=tw(d.innerWidth,s,a)}else{let n={offset:e.left,size:e.width,position:0===l?0:1},a={offset:e.top,size:e.height,position:0===r?0:1,mode:m.ALIGN};i=tw(d.innerWidth,s,n),tC.e.intersects({start:i,end:i+s},{start:n.offset,end:n.offset+n.size})&&(a.mode=m.AVOID),t=tw(d.innerHeight,o,a)+d.pageYOffset}this.view.classList.remove("top","bottom","left","right"),this.view.classList.add(0===r?"bottom":"top"),this.view.classList.add(0===l?"left":"right"),this.view.classList.toggle("fixed",this.useFixedPosition);let h=ew.i(this.container);this.view.style.top=`${t-(this.useFixedPosition?ew.i(this.view).top:h.top)}px`,this.view.style.left=`${i-(this.useFixedPosition?ew.i(this.view).left:h.left)}px`,this.view.style.width="initial"}hide(e){let t=this.delegate;this.delegate=null,(null==t?void 0:t.onHide)&&t.onHide(e),this.toDisposeOnClean.dispose(),ew.Cp(this.view)}isVisible(){return!!this.delegate}onDOMEvent(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,ew.Jj(e).document.activeElement):t&&!ew.jg(e.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}ty.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],ty.BUBBLE_DOWN_EVENTS=["click"];let tS=` +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7389],{48629:function(e,t,i){"use strict";i.r(t),i.d(t,{CancellationTokenSource:function(){return re},Emitter:function(){return rt},KeyCode:function(){return ri},KeyMod:function(){return rn},MarkerSeverity:function(){return ra},MarkerTag:function(){return rd},Position:function(){return rs},Range:function(){return ro},Selection:function(){return rr},SelectionDirection:function(){return rl},Token:function(){return ru},Uri:function(){return rh},default:function(){return rm},editor:function(){return rc},languages:function(){return rg}});var n,s,o,r,l,a,d,h,u,c,g,p,m,f,_,v,b,C,w,y,S,L,k,D={};i.r(D),i.d(D,{CancellationTokenSource:function(){return re},Emitter:function(){return rt},KeyCode:function(){return ri},KeyMod:function(){return rn},MarkerSeverity:function(){return ra},MarkerTag:function(){return rd},Position:function(){return rs},Range:function(){return ro},Selection:function(){return rr},SelectionDirection:function(){return rl},Token:function(){return ru},Uri:function(){return rh},editor:function(){return rc},languages:function(){return rg}}),i(77390),i(46671),i(31415),i(50081),i(55155),i(92550),i(87776);var x=i(79624);i(12525),i(99844),i(88788),i(57938),i(2127),i(99173),i(36465),i(40763),i(27479),i(37536),i(1231),i(50931),i(13564),i(40627),i(63518),i(72229),i(41854),i(16690),i(38820),i(29627),i(97045),i(87325),i(39987),i(46912),i(44366),i(57032),i(46893),i(25061),i(64512),i(55067),i(94922),i(80831),i(94441),i(51049),i(15148),i(49563),i(96415),i(5885),i(62893),i(34889),i(8934),i(47446),i(81200),i(44968),i(16173),i(68656),i(41078),i(19516),i(44623),i(58162),i(88584),i(78781),i(56054),i(82154),i(16636),i(20883),i(22379),i(24479);var N=i(43364),E=i(38486),I=i(44709),T=i(70784),M=i(95612),R=i(5482);i(9820);var A=i(66219),P=i(82508),O=i(70208),F=i(16783),B=i(44356);class W extends B.Q8{constructor(e,t,i){super(e,i.keepIdleModels||!1,i.label,t),this._foreignModuleId=i.moduleId,this._foreignModuleCreateData=i.createData||null,this._foreignModuleHost=i.host||null,this._foreignProxy=null}fhr(e,t){if(!this._foreignModuleHost||"function"!=typeof this._foreignModuleHost[e])return Promise.reject(Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(e){return Promise.reject(e)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(e=>{let t=this._foreignModuleHost?(0,F.$E)(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,t).then(t=>{this._foreignModuleCreateData=null;let i=(t,i)=>e.fmr(t,i),n=(e,t)=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},s={};for(let e of t)s[e]=n(e,i);return s})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then(e=>this.getProxy())}}var H=i(66597),V=i(9148),z=i(25777),K=i(1863),U=i(77233),$=i(32712),q=i(27281),j=i(46481),G=i(41407),Q=i(98334),Z=i(60989),Y=i(39813),J=i(94458),X=i(53429),ee=i(20910);function et(e){return"string"==typeof e}function ei(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function en(e){return e.replace(/[&<>'"_]/g,"-")}function es(e,t){return Error(`${e.languageId}: ${t}`)}function eo(e,t,i,n,s){let o=null;return t.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,function(t,r,l,a,d,h,u,c,g){return l?"$":a?ei(e,i):d&&d0;){let t=e.tokenizer[i];if(t)return t;let n=i.lastIndexOf(".");i=n<0?null:i.substr(0,n)}return null}var el=i(78426);class ea{static create(e,t){return this._INSTANCE.create(e,t)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new ed(e,t);let i=ed.getStackElementId(e);i.length>0&&(i+="|"),i+=t;let n=this._entries[i];return n||(n=new ed(e,t),this._entries[i]=n),n}}ea._INSTANCE=new ea(5);class ed{constructor(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(e){let t="";for(;null!==e;)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t}static _equals(e,t){for(;null!==e&&null!==t;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t}equals(e){return ed._equals(this,e)}push(e){return ea.create(this,e)}pop(){return this.parent}popall(){let e=this;for(;e.parent;)e=e.parent;return e}switchTo(e){return ea.create(this.parent,e)}}class eh{constructor(e,t){this.languageId=e,this.state=t}equals(e){return this.languageId===e.languageId&&this.state.equals(e.state)}clone(){let e=this.state.clone();return e===this.state?this:new eh(this.languageId,this.state)}}class eu{static create(e,t){return this._INSTANCE.create(e,t)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,t){if(null!==t||null!==e&&e.depth>=this._maxCacheDepth)return new ec(e,t);let i=ed.getStackElementId(e),n=this._entries[i];return n||(n=new ec(e,null),this._entries[i]=n),n}}eu._INSTANCE=new eu(5);class ec{constructor(e,t){this.stack=e,this.embeddedLanguageData=t}clone(){let e=this.embeddedLanguageData?this.embeddedLanguageData.clone():null;return e===this.embeddedLanguageData?this:eu.create(this.stack,this.embeddedLanguageData)}equals(e){return!!(e instanceof ec&&this.stack.equals(e.stack))&&(null===this.embeddedLanguageData&&null===e.embeddedLanguageData||null!==this.embeddedLanguageData&&null!==e.embeddedLanguageData&&this.embeddedLanguageData.equals(e.embeddedLanguageData))}}class eg{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(e){this._languageId=e}emit(e,t){(this._lastTokenType!==t||this._lastTokenLanguage!==this._languageId)&&(this._lastTokenType=t,this._lastTokenLanguage=this._languageId,this._tokens.push(new K.WU(e,t,this._languageId)))}nestedLanguageTokenize(e,t,i,n){let s=i.languageId,o=i.state,r=K.RW.get(s);if(!r)return this.enterLanguage(s),this.emit(n,""),o;let l=r.tokenize(e,t,o);if(0!==n)for(let e of l.tokens)this._tokens.push(new K.WU(e.offset+n,e.type,e.language));else this._tokens=this._tokens.concat(l.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,l.endState}finalize(e){return new K.hG(this._tokens,e)}}class ep{constructor(e,t){this._languageService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(e){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(e)}emit(e,t){let i=1024|this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==i&&(this._lastTokenMetadata=i,this._tokens.push(e),this._tokens.push(i))}static _merge(e,t,i){let n=null!==e?e.length:0,s=t.length,o=null!==i?i.length:0;if(0===n&&0===s&&0===o)return new Uint32Array(0);if(0===n&&0===s)return i;if(0===s&&0===o)return e;let r=new Uint32Array(n+s+o);null!==e&&r.set(e);for(let e=0;e{if(o)return;let t=!1;for(let i=0,n=e.changedLanguages.length;i{e.affectsConfiguration("editor.maxTokenizationLineLength")&&(this._maxTokenizationLineLength=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:this._languageId}))}))}getLoadStatus(){let e=[];for(let t in this._embeddedLanguages){let i=K.RW.get(t);if(i){if(i instanceof p){let t=i.getLoadStatus();!1===t.loaded&&e.push(t.promise)}continue}K.RW.isResolved(t)||e.push(K.RW.getOrCreate(t))}return 0===e.length?{loaded:!0}:{loaded:!1,promise:Promise.all(e).then(e=>void 0)}}getInitialState(){let e=ea.create(null,this._lexer.start);return eu.create(e,null)}tokenize(e,t,i){if(e.length>=this._maxTokenizationLineLength)return(0,j.Ri)(this._languageId,i);let n=new eg,s=this._tokenize(e,t,i,n);return n.finalize(s)}tokenizeEncoded(e,t,i){if(e.length>=this._maxTokenizationLineLength)return(0,j.Dy)(this._languageService.languageIdCodec.encodeLanguageId(this._languageId),i);let n=new ep(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),s=this._tokenize(e,t,i,n);return n.finalize(s)}_tokenize(e,t,i,n){return i.embeddedLanguageData?this._nestedTokenize(e,t,i,0,n):this._myTokenize(e,t,i,0,n)}_findLeavingNestedLanguageOffset(e,t){let i=this._lexer.tokenizer[t.stack.state];if(!i&&!(i=er(this._lexer,t.stack.state)))throw es(this._lexer,"tokenizer state is not defined: "+t.stack.state);let n=-1,s=!1;for(let o of i){if(et(o.action)||"@pop"!==o.action.nextEmbedded)continue;s=!0;let i=o.resolveRegex(t.stack.state),r=i.source;if("^(?:"===r.substr(0,4)&&")"===r.substr(r.length-1,1)){let e=(i.ignoreCase?"i":"")+(i.unicode?"u":"");i=new RegExp(r.substr(4,r.length-5),e)}let l=e.search(i);-1!==l&&(0===l||!o.matchOnlyAtLineStart)&&(-1===n||l0&&s.nestedLanguageTokenize(r,!1,i.embeddedLanguageData,n);let l=e.substring(o);return this._myTokenize(l,t,i,n+o,s)}_safeRuleName(e){return e?e.name:"(unknown)"}_myTokenize(e,t,i,n,s){s.enterLanguage(this._languageId);let o=e.length,r=t&&this._lexer.includeLF?e+"\n":e,l=r.length,a=i.embeddedLanguageData,d=i.stack,h=0,u=null,c=!0;for(;c||h=l)break;c=!1;let e=this._lexer.tokenizer[m];if(!e&&!(e=er(this._lexer,m)))throw es(this._lexer,"tokenizer state is not defined: "+m);let t=r.substr(h);for(let i of e)if((0===h||!i.matchOnlyAtLineStart)&&(f=t.match(i.resolveRegex(m)))){_=f[0],v=i.action;break}}if(f||(f=[""],_=""),v||(h=this._lexer.maxStack)throw es(this._lexer,"maximum tokenizer stack size reached: ["+d.state+","+d.parent.state+",...]");d=d.push(m)}else if("@pop"===v.next){if(d.depth<=1)throw es(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(b));d=d.pop()}else if("@popall"===v.next)d=d.popall();else{let e=eo(this._lexer,v.next,_,f,m);if("@"===e[0]&&(e=e.substr(1)),er(this._lexer,e))d=d.push(e);else throw es(this._lexer,"trying to set a next state '"+e+"' that is undefined in rule: "+this._safeRuleName(b))}}v.log&&"string"==typeof v.log&&console.log(`${this._lexer.languageId}: ${this._lexer.languageId+": "+eo(this._lexer,v.log,_,f,m)}`)}if(null===w)throw es(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(b));let y=i=>{let o=this._languageService.getLanguageIdByLanguageName(i)||this._languageService.getLanguageIdByMimeType(i)||i,r=this._getNestedEmbeddedLanguageData(o);if(!(h0)throw es(this._lexer,"groups cannot be nested: "+this._safeRuleName(b));if(f.length!==w.length+1)throw es(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(b));let e=0;for(let t=1;t=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=el.Ui,function(e,t){n(e,t,4)})],em);let ef=(0,Y.Z)("standaloneColorizer",{createHTML:e=>e});class e_{static colorizeElement(e,t,i,n){n=n||{};let s=n.theme||"vs",o=n.mimeType||i.getAttribute("lang")||i.getAttribute("data-lang");if(!o)return console.error("Mode not detected"),Promise.resolve();let r=t.getLanguageIdByMimeType(o)||o;e.setTheme(s);let l=i.firstChild?i.firstChild.nodeValue:"";return i.className+=" "+s,this.colorize(t,l||"",r,n).then(e=>{var t;let n=null!==(t=null==ef?void 0:ef.createHTML(e))&&void 0!==t?t:e;i.innerHTML=n},e=>console.error(e))}static async colorize(e,t,i,n){var s;let o=e.languageIdCodec,r=4;n&&"number"==typeof n.tabSize&&(r=n.tabSize),M.uS(t)&&(t=t.substr(1));let l=M.uq(t);if(!e.isRegisteredLanguageId(i))return ev(l,r,o);let a=await K.RW.getOrCreate(i);return a?(s=r,new Promise((e,t)=>{let i=()=>{let n=function(e,t,i,n){let s=[],o=i.getInitialState();for(let r=0,l=e.length;r"),o=a.endState}return s.join("")}(l,s,a,o);if(a instanceof em){let e=a.getLoadStatus();if(!1===e.loaded){e.promise.then(i,t);return}}e(n)};i()})):ev(l,r,o)}static colorizeLine(e,t,i,n,s=4){let o=ee.wA.isBasicASCII(e,t),r=ee.wA.containsRTL(e,o,i),l=(0,X.tF)(new X.IJ(!1,!0,e,!1,o,r,0,n,[],s,0,0,0,0,-1,"none",!1,!1,null));return l.html}static colorizeModelLine(e,t,i=4){let n=e.getLineContent(t);e.tokenization.forceTokenization(t);let s=e.tokenization.getLineTokens(t),o=s.inflate();return this.colorizeLine(n,e.mightContainNonBasicASCII(),e.mightContainRTL(),o,i)}}function ev(e,t,i){let n=[],s=new Uint32Array(2);s[0]=0,s[1]=33587200;for(let o=0,r=e.length;o")}return n.join("")}var eb=i(16506),eC=i(20897),ew=i(81845),ey=i(72249),eS=i(79915),eL=i(92270),ek=i(55150);let eD=class extends T.JT{constructor(e){super(),this._themeService=e,this._onWillCreateCodeEditor=this._register(new eS.Q5),this._onCodeEditorAdd=this._register(new eS.Q5),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new eS.Q5),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onWillCreateDiffEditor=this._register(new eS.Q5),this._onDiffEditorAdd=this._register(new eS.Q5),this.onDiffEditorAdd=this._onDiffEditorAdd.event,this._onDiffEditorRemove=this._register(new eS.Q5),this.onDiffEditorRemove=this._onDiffEditorRemove.event,this._decorationOptionProviders=new Map,this._codeEditorOpenHandlers=new eL.S,this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null),this._globalStyleSheet=null}willCreateCodeEditor(){this._onWillCreateCodeEditor.fire()}addCodeEditor(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)}removeCodeEditor(e){(delete this._codeEditors[e.getId()])&&this._onCodeEditorRemove.fire(e)}listCodeEditors(){return Object.keys(this._codeEditors).map(e=>this._codeEditors[e])}willCreateDiffEditor(){this._onWillCreateDiffEditor.fire()}addDiffEditor(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)}listDiffEditors(){return Object.keys(this._diffEditors).map(e=>this._diffEditors[e])}getFocusedCodeEditor(){let e=null,t=this.listCodeEditors();for(let i of t){if(i.hasTextFocus())return i;i.hasWidgetFocus()&&(e=i)}return e}removeDecorationType(e){let t=this._decorationOptionProviders.get(e);t&&(t.refCount--,t.refCount<=0&&(this._decorationOptionProviders.delete(e),t.dispose(),this.listCodeEditors().forEach(t=>t.removeDecorationsByType(e))))}setModelProperty(e,t,i){let n;let s=e.toString();this._modelProperties.has(s)?n=this._modelProperties.get(s):(n=new Map,this._modelProperties.set(s,n)),n.set(t,i)}getModelProperty(e,t){let i=e.toString();if(this._modelProperties.has(i)){let e=this._modelProperties.get(i);return e.get(t)}}async openCodeEditor(e,t,i){for(let n of this._codeEditorOpenHandlers){let s=await n(e,t,i);if(null!==s)return s}return null}registerCodeEditorOpenHandler(e){let t=this._codeEditorOpenHandlers.unshift(e);return(0,T.OF)(t)}};eD=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(s=ek.XE,function(e,t){s(e,t,0)})],eD);var ex=i(33336),eN=i(66653),eE=function(e,t){return function(i,n){t(i,n,e)}};let eI=class extends eD{constructor(e,t){super(t),this._register(this.onCodeEditorAdd(()=>this._checkContextKey())),this._register(this.onCodeEditorRemove(()=>this._checkContextKey())),this._editorIsOpen=e.createKey("editorIsOpen",!1),this._activeCodeEditor=null,this._register(this.registerCodeEditorOpenHandler(async(e,t,i)=>t?this.doOpenEditor(t,e):null))}_checkContextKey(){let e=!1;for(let t of this.listCodeEditors())if(!t.isSimpleWidget){e=!0;break}this._editorIsOpen.set(e)}setActiveCodeEditor(e){this._activeCodeEditor=e}getActiveCodeEditor(){return this._activeCodeEditor}doOpenEditor(e,t){let i=this.findModel(e,t.resource);if(!i){if(t.resource){let i=t.resource.scheme;if(i===ey.lg.http||i===ey.lg.https)return(0,ew.V3)(t.resource.toString()),e}return null}let n=t.options?t.options.selection:null;if(n){if("number"==typeof n.endLineNumber&&"number"==typeof n.endColumn)e.setSelection(n),e.revealRangeInCenter(n,1);else{let t={lineNumber:n.startLineNumber,column:n.startColumn};e.setPosition(t),e.revealPositionInCenter(t,1)}}return e}findModel(e,t){let i=e.getModel();return i&&i.uri.toString()!==t.toString()?null:i}};eI=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eE(0,ex.i6),eE(1,ek.XE)],eI),(0,eN.z)(O.$,eI,0);var eT=i(40789),eM=i(85327);let eR=(0,eM.yh)("layoutService");var eA=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},eP=function(e,t){return function(i,n){t(i,n,e)}};let eO=class{get mainContainer(){var e,t;return null!==(t=null===(e=(0,eT.Xh)(this._codeEditorService.listCodeEditors()))||void 0===e?void 0:e.getContainerDomNode())&&void 0!==t?t:I.E.document.body}get activeContainer(){var e,t;let i=null!==(e=this._codeEditorService.getFocusedCodeEditor())&&void 0!==e?e:this._codeEditorService.getActiveCodeEditor();return null!==(t=null==i?void 0:i.getContainerDomNode())&&void 0!==t?t:this.mainContainer}get mainContainerDimension(){return ew.D6(this.mainContainer)}get activeContainerDimension(){return ew.D6(this.activeContainer)}get containers(){return(0,eT.kX)(this._codeEditorService.listCodeEditors().map(e=>e.getContainerDomNode()))}getContainer(){return this.activeContainer}whenContainerStylesLoaded(){}focus(){var e;null===(e=this._codeEditorService.getFocusedCodeEditor())||void 0===e||e.focus()}constructor(e){this._codeEditorService=e,this.onDidLayoutMainContainer=eS.ju.None,this.onDidLayoutActiveContainer=eS.ju.None,this.onDidLayoutContainer=eS.ju.None,this.onDidChangeActiveContainer=eS.ju.None,this.onDidAddContainer=eS.ju.None,this.mainContainerOffset={top:0,quickPickTop:0},this.activeContainerOffset={top:0,quickPickTop:0}}};eO=eA([eP(0,O.$)],eO);let eF=class extends eO{get mainContainer(){return this._container}constructor(e,t){super(t),this._container=e}};eF=eA([eP(1,O.$)],eF),(0,eN.z)(eR,eO,1);var eB=i(32378),eW=i(31510),eH=i(82801),eV=i(45754),ez=i(16575),eK=i(32109),eU=function(e,t){return function(i,n){t(i,n,e)}};function e$(e){return e.scheme===ey.lg.file?e.fsPath:e.path}let eq=0;class ej{constructor(e,t,i,n,s,o,r){this.id=++eq,this.type=0,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabel=t,this.strResource=i,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=n,this.groupOrder=s,this.sourceId=o,this.sourceOrder=r,this.isValid=!0}setValid(e){this.isValid=e}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.isValid?" VALID":"INVALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class eG{constructor(e,t){this.resourceLabel=e,this.reason=t}}class eQ{constructor(){this.elements=new Map}createMessage(){let e=[],t=[];for(let[,i]of this.elements){let n=0===i.reason?e:t;n.push(i.resourceLabel)}let i=[];return e.length>0&&i.push(eH.NC({key:"externalRemoval",comment:["{0} is a list of filenames"]},"The following files have been closed and modified on disk: {0}.",e.join(", "))),t.length>0&&i.push(eH.NC({key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",t.join(", "))),i.join("\n")}get size(){return this.elements.size}has(e){return this.elements.has(e)}set(e,t){this.elements.set(e,t)}delete(e){return this.elements.delete(e)}}class eZ{constructor(e,t,i,n,s,o,r){this.id=++eq,this.type=1,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabels=t,this.strResources=i,this.groupId=n,this.groupOrder=s,this.sourceId=o,this.sourceOrder=r,this.removedResources=null,this.invalidatedResources=null}canSplit(){return"function"==typeof this.actual.split}removeResource(e,t,i){this.removedResources||(this.removedResources=new eQ),this.removedResources.has(t)||this.removedResources.set(t,new eG(e,i))}setValid(e,t,i){i?this.invalidatedResources&&(this.invalidatedResources.delete(t),0===this.invalidatedResources.size&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new eQ),this.invalidatedResources.has(t)||this.invalidatedResources.set(t,new eG(e,0)))}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.invalidatedResources?"INVALID":" VALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class eY{constructor(e,t){this.resourceLabel=e,this.strResource=t,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(let e of this._past)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);for(let e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){let e=[];e.push(`* ${this.strResource}:`);for(let t=0;t=0;t--)e.push(` * [REDO] ${this._future[t]}`);return e.join("\n")}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(e,t){1===e.type?e.setValid(this.resourceLabel,this.strResource,t):e.setValid(t)}setElementsValidFlag(e,t){for(let i of this._past)t(i.actual)&&this._setElementValidFlag(i,e);for(let i of this._future)t(i.actual)&&this._setElementValidFlag(i,e)}pushElement(e){for(let e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,1);this._future=[],this._past.push(e),this.versionId++}createSnapshot(e){let t=[];for(let e=0,i=this._past.length;e=0;e--)t.push(this._future[e].id);return new eK.YO(e,t)}restoreSnapshot(e){let t=e.elements.length,i=!0,n=0,s=-1;for(let o=0,r=this._past.length;o=t||r.id!==e.elements[n])&&(i=!1,s=0),i||1!==r.type||r.removeResource(this.resourceLabel,this.strResource,0)}let o=-1;for(let s=this._future.length-1;s>=0;s--,n++){let r=this._future[s];i&&(n>=t||r.id!==e.elements[n])&&(i=!1,o=s),i||1!==r.type||r.removeResource(this.resourceLabel,this.strResource,0)}-1!==s&&(this._past=this._past.slice(0,s)),-1!==o&&(this._future=this._future.slice(o+1)),this.versionId++}getElements(){let e=[],t=[];for(let t of this._past)e.push(t.actual);for(let e of this._future)t.push(e.actual);return{past:e,future:t}}getClosestPastElement(){return 0===this._past.length?null:this._past[this._past.length-1]}getSecondClosestPastElement(){return this._past.length<2?null:this._past[this._past.length-2]}getClosestFutureElement(){return 0===this._future.length?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(e,t){for(let i=this._past.length-1;i>=0;i--)if(this._past[i]===e){t.has(this.strResource)?this._past[i]=t.get(this.strResource):this._past.splice(i,1);break}this.versionId++}splitFutureWorkspaceElement(e,t){for(let i=this._future.length-1;i>=0;i--)if(this._future[i]===e){t.has(this.strResource)?this._future[i]=t.get(this.strResource):this._future.splice(i,1);break}this.versionId++}moveBackward(e){this._past.pop(),this._future.push(e),this.versionId++}moveForward(e){this._future.pop(),this._past.push(e),this.versionId++}}class eJ{constructor(e){this.editStacks=e,this._versionIds=[];for(let e=0,t=this.editStacks.length;et.sourceOrder)&&(t=o,i=n)}return[t,i]}canUndo(e){if(e instanceof eK.gJ){let[,t]=this._findClosestUndoElementWithSource(e.id);return!!t}let t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){let e=this._editStacks.get(t);return e.hasPastElements()}return!1}_onError(e,t){for(let i of((0,eB.dL)(e),t.strResources))this.removeElements(i);this._notificationService.error(e)}_acquireLocks(e){for(let t of e.editStacks)if(t.locked)throw Error("Cannot acquire edit stack lock");for(let t of e.editStacks)t.locked=!0;return()=>{for(let t of e.editStacks)t.locked=!1}}_safeInvokeWithLocks(e,t,i,n,s){let o;let r=this._acquireLocks(i);try{o=t()}catch(t){return r(),n.dispose(),this._onError(t,e)}return o?o.then(()=>(r(),n.dispose(),s()),t=>(r(),n.dispose(),this._onError(t,e))):(r(),n.dispose(),s())}async _invokeWorkspacePrepare(e){if(void 0===e.actual.prepareUndoRedo)return T.JT.None;let t=e.actual.prepareUndoRedo();return void 0===t?T.JT.None:t}_invokeResourcePrepare(e,t){if(1!==e.actual.type||void 0===e.actual.prepareUndoRedo)return t(T.JT.None);let i=e.actual.prepareUndoRedo();return i?(0,T.Wf)(i)?t(i):i.then(e=>t(e)):t(T.JT.None)}_getAffectedEditStacks(e){let t=[];for(let i of e.strResources)t.push(this._editStacks.get(i)||eX);return new eJ(t)}_tryToSplitAndUndo(e,t,i,n){if(t.canSplit())return this._splitPastWorkspaceElement(t,i),this._notificationService.warn(n),new e1(this._undo(e,0,!0));for(let e of t.strResources)this.removeElements(e);return this._notificationService.warn(n),new e1}_checkWorkspaceUndo(e,t,i,n){if(t.removedResources)return this._tryToSplitAndUndo(e,t,t.removedResources,eH.NC({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(n&&t.invalidatedResources)return this._tryToSplitAndUndo(e,t,t.invalidatedResources,eH.NC({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));let s=[];for(let e of i.editStacks)e.getClosestPastElement()!==t&&s.push(e.resourceLabel);if(s.length>0)return this._tryToSplitAndUndo(e,t,null,eH.NC({key:"cannotWorkspaceUndoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because changes were made to {1}",t.label,s.join(", ")));let o=[];for(let e of i.editStacks)e.locked&&o.push(e.resourceLabel);return o.length>0?this._tryToSplitAndUndo(e,t,null,eH.NC({key:"cannotWorkspaceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,o.join(", "))):i.isValid()?null:this._tryToSplitAndUndo(e,t,null,eH.NC({key:"cannotWorkspaceUndoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceUndo(e,t,i){let n=this._getAffectedEditStacks(t),s=this._checkWorkspaceUndo(e,t,n,!1);return s?s.returnValue:this._confirmAndExecuteWorkspaceUndo(e,t,n,i)}_isPartOfUndoGroup(e){if(!e.groupId)return!1;for(let[,t]of this._editStacks){let i=t.getClosestPastElement();if(i){if(i===e){let i=t.getSecondClosestPastElement();if(i&&i.groupId===e.groupId)return!0}if(i.groupId===e.groupId)return!0}}return!1}async _confirmAndExecuteWorkspaceUndo(e,t,i,n){let s;if(t.canSplit()&&!this._isPartOfUndoGroup(t)){var o;let s;(o=s||(s={}))[o.All=0]="All",o[o.This=1]="This",o[o.Cancel=2]="Cancel";let{result:r}=await this._dialogService.prompt({type:eW.Z.Info,message:eH.NC("confirmWorkspace","Would you like to undo '{0}' across all files?",t.label),buttons:[{label:eH.NC({key:"ok",comment:["{0} denotes a number that is > 1, && denotes a mnemonic"]},"&&Undo in {0} Files",i.editStacks.length),run:()=>s.All},{label:eH.NC({key:"nok",comment:["&& denotes a mnemonic"]},"Undo this &&File"),run:()=>s.This}],cancelButton:{run:()=>s.Cancel}});if(r===s.Cancel)return;if(r===s.This)return this._splitPastWorkspaceElement(t,null),this._undo(e,0,!0);let l=this._checkWorkspaceUndo(e,t,i,!1);if(l)return l.returnValue;n=!0}try{s=await this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}let r=this._checkWorkspaceUndo(e,t,i,!0);if(r)return s.dispose(),r.returnValue;for(let e of i.editStacks)e.moveBackward(t);return this._safeInvokeWithLocks(t,()=>t.actual.undo(),i,s,()=>this._continueUndoInGroup(t.groupId,n))}_resourceUndo(e,t,i){if(!t.isValid){e.flushAllElements();return}if(e.locked){let e=eH.NC({key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.warn(e);return}return this._invokeResourcePrepare(t,n=>(e.moveBackward(t),this._safeInvokeWithLocks(t,()=>t.actual.undo(),new eJ([e]),n,()=>this._continueUndoInGroup(t.groupId,i))))}_findClosestUndoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(let[n,s]of this._editStacks){let o=s.getClosestPastElement();o&&o.groupId===e&&(!t||o.groupOrder>t.groupOrder)&&(t=o,i=n)}return[t,i]}_continueUndoInGroup(e,t){if(!e)return;let[,i]=this._findClosestUndoElementInGroup(e);if(i)return this._undo(i,0,t)}undo(e){if(e instanceof eK.gJ){let[,t]=this._findClosestUndoElementWithSource(e.id);return t?this._undo(t,e.id,!1):void 0}return"string"==typeof e?this._undo(e,0,!1):this._undo(this.getUriComparisonKey(e),0,!1)}_undo(e,t=0,i){if(!this._editStacks.has(e))return;let n=this._editStacks.get(e),s=n.getClosestPastElement();if(!s)return;if(s.groupId){let[e,n]=this._findClosestUndoElementInGroup(s.groupId);if(s!==e&&n)return this._undo(n,t,i)}let o=s.sourceId!==t||s.confirmBeforeUndo;return o&&!i?this._confirmAndContinueUndo(e,t,s):1===s.type?this._workspaceUndo(e,s,i):this._resourceUndo(n,s,i)}async _confirmAndContinueUndo(e,t,i){let n=await this._dialogService.confirm({message:eH.NC("confirmDifferentSource","Would you like to undo '{0}'?",i.label),primaryButton:eH.NC({key:"confirmDifferentSource.yes",comment:["&& denotes a mnemonic"]},"&&Yes"),cancelButton:eH.NC("confirmDifferentSource.no","No")});if(n.confirmed)return this._undo(e,t,!0)}_findClosestRedoElementWithSource(e){if(!e)return[null,null];let t=null,i=null;for(let[n,s]of this._editStacks){let o=s.getClosestFutureElement();o&&o.sourceId===e&&(!t||o.sourceOrder0)return this._tryToSplitAndRedo(e,t,null,eH.NC({key:"cannotWorkspaceRedoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because changes were made to {1}",t.label,s.join(", ")));let o=[];for(let e of i.editStacks)e.locked&&o.push(e.resourceLabel);return o.length>0?this._tryToSplitAndRedo(e,t,null,eH.NC({key:"cannotWorkspaceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,o.join(", "))):i.isValid()?null:this._tryToSplitAndRedo(e,t,null,eH.NC({key:"cannotWorkspaceRedoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceRedo(e,t){let i=this._getAffectedEditStacks(t),n=this._checkWorkspaceRedo(e,t,i,!1);return n?n.returnValue:this._executeWorkspaceRedo(e,t,i)}async _executeWorkspaceRedo(e,t,i){let n;try{n=await this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}let s=this._checkWorkspaceRedo(e,t,i,!0);if(s)return n.dispose(),s.returnValue;for(let e of i.editStacks)e.moveForward(t);return this._safeInvokeWithLocks(t,()=>t.actual.redo(),i,n,()=>this._continueRedoInGroup(t.groupId))}_resourceRedo(e,t){if(!t.isValid){e.flushAllElements();return}if(e.locked){let e=eH.NC({key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.warn(e);return}return this._invokeResourcePrepare(t,i=>(e.moveForward(t),this._safeInvokeWithLocks(t,()=>t.actual.redo(),new eJ([e]),i,()=>this._continueRedoInGroup(t.groupId))))}_findClosestRedoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(let[n,s]of this._editStacks){let o=s.getClosestFutureElement();o&&o.groupId===e&&(!t||o.groupOrder=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eU(0,eV.S),eU(1,ez.lT)],e0);class e1{constructor(e){this.returnValue=e}}(0,eN.z)(eK.tJ,e0,1),i(86756);var e2=i(99078),e4=i(8185),e5=i(42458),e3=function(e,t){return function(i,n){t(i,n,e)}};let e7=class extends T.JT{constructor(e,t,i){super(),this._themeService=e,this._logService=t,this._languageService=i,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}getStyling(e){return this._caches.has(e)||this._caches.set(e,new e4.$(e.getLegend(),this._themeService,this._languageService,this._logService)),this._caches.get(e)}};e7=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([e3(0,ek.XE),e3(1,e2.VZ),e3(2,U.O)],e7),(0,eN.z)(e5.s,e7,1);var e8=i(97987);class e6{constructor(e,t,i,n){this.uri=e,this.languageId=t,this.notebookUri=i,this.notebookType=n}equals(e){var t,i;return this.notebookType===e.notebookType&&this.languageId===e.languageId&&this.uri.toString()===e.uri.toString()&&(null===(t=this.notebookUri)||void 0===t?void 0:t.toString())===(null===(i=e.notebookUri)||void 0===i?void 0:i.toString())}}class e9{constructor(e){this._notebookInfoResolver=e,this._clock=0,this._entries=[],this._onDidChange=new eS.Q5,this.onDidChange=this._onDidChange.event}register(e,t){let i={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(i),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),(0,T.OF)(()=>{if(i){let e=this._entries.indexOf(i);e>=0&&(this._entries.splice(e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),i=void 0)}})}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e);let t=[];for(let e of this._entries)e._score>0&&t.push(e.provider);return t}ordered(e){let t=[];return this._orderedForEach(e,e=>t.push(e.provider)),t}orderedGroups(e){let t,i;let n=[];return this._orderedForEach(e,e=>{t&&i===e._score?t.push(e.provider):(i=e._score,t=[e.provider],n.push(t))}),n}_orderedForEach(e,t){for(let i of(this._updateScores(e),this._entries))i._score>0&&t(i)}_updateScores(e){var t,i;let n=null===(t=this._notebookInfoResolver)||void 0===t?void 0:t.call(this,e.uri),s=n?new e6(e.uri,e.getLanguageId(),n.uri,n.type):new e6(e.uri,e.getLanguageId(),void 0,void 0);if(null===(i=this._lastCandidate)||void 0===i||!i.equals(s)){for(let t of(this._lastCandidate=s,this._entries))if(t._score=(0,e8.G)(t.selector,s.uri,s.languageId,(0,G.pt)(e),s.notebookUri,s.notebookType),function e(t){return"string"!=typeof t&&(Array.isArray(t)?t.every(e):!!t.exclusive)}(t.selector)&&t._score>0){for(let e of this._entries)e._score=0;t._score=1e3;break}this._entries.sort(e9._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._scoret._score?-1:te(e.selector)&&!te(t.selector)?1:!te(e.selector)&&te(t.selector)?-1:e._timet._time?-1:0}}function te(e){return"string"!=typeof e&&(Array.isArray(e)?e.some(te):!!e.isBuiltin)}var tt=i(64106);(0,eN.z)(tt.p,class{constructor(){this.referenceProvider=new e9(this._score.bind(this)),this.renameProvider=new e9(this._score.bind(this)),this.newSymbolNamesProvider=new e9(this._score.bind(this)),this.codeActionProvider=new e9(this._score.bind(this)),this.definitionProvider=new e9(this._score.bind(this)),this.typeDefinitionProvider=new e9(this._score.bind(this)),this.declarationProvider=new e9(this._score.bind(this)),this.implementationProvider=new e9(this._score.bind(this)),this.documentSymbolProvider=new e9(this._score.bind(this)),this.inlayHintsProvider=new e9(this._score.bind(this)),this.colorProvider=new e9(this._score.bind(this)),this.codeLensProvider=new e9(this._score.bind(this)),this.documentFormattingEditProvider=new e9(this._score.bind(this)),this.documentRangeFormattingEditProvider=new e9(this._score.bind(this)),this.onTypeFormattingEditProvider=new e9(this._score.bind(this)),this.signatureHelpProvider=new e9(this._score.bind(this)),this.hoverProvider=new e9(this._score.bind(this)),this.documentHighlightProvider=new e9(this._score.bind(this)),this.multiDocumentHighlightProvider=new e9(this._score.bind(this)),this.selectionRangeProvider=new e9(this._score.bind(this)),this.foldingRangeProvider=new e9(this._score.bind(this)),this.linkProvider=new e9(this._score.bind(this)),this.inlineCompletionsProvider=new e9(this._score.bind(this)),this.inlineEditProvider=new e9(this._score.bind(this)),this.completionProvider=new e9(this._score.bind(this)),this.linkedEditingRangeProvider=new e9(this._score.bind(this)),this.documentRangeSemanticTokensProvider=new e9(this._score.bind(this)),this.documentSemanticTokensProvider=new e9(this._score.bind(this)),this.documentDropEditProvider=new e9(this._score.bind(this)),this.documentPasteEditProvider=new e9(this._score.bind(this))}_score(e){var t;return null===(t=this._notebookTypeResolver)||void 0===t?void 0:t.call(this,e)}},1);var ti=i(43616),tn=i(96748),ts=i(10727);i(26843);var to=i(46417),tr=i(38862),tl=i(66067),ta=i(45902),td=i(77585),th=i(42891),tu=i(58022),tc=i(15232),tg=function(e,t){return function(i,n){t(i,n,e)}};let tp=ew.$,tm=class extends tl.${get _targetWindow(){return ew.Jj(this._target.targetElements[0])}get _targetDocumentElement(){return ew.Jj(this._target.targetElements[0]).document.documentElement}get isDisposed(){return this._isDisposed}get isMouseIn(){return this._lockMouseTracker.isMouseIn}get domNode(){return this._hover.containerDomNode}get onDispose(){return this._onDispose.event}get onRequestLayout(){return this._onRequestLayout.event}get anchor(){return 2===this._hoverPosition?0:1}get x(){return this._x}get y(){return this._y}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this._hoverContainer.classList.toggle("locked",this._isLocked))}constructor(e,t,i,n,s,o){var r,l,a,d,h,u,c,g;let p;super(),this._keybindingService=t,this._configurationService=i,this._openerService=n,this._instantiationService=s,this._accessibilityService=o,this._messageListeners=new T.SL,this._isDisposed=!1,this._forcePosition=!1,this._x=0,this._y=0,this._isLocked=!1,this._enableFocusTraps=!1,this._addedFocusTrap=!1,this._onDispose=this._register(new eS.Q5),this._onRequestLayout=this._register(new eS.Q5),this._linkHandler=e.linkHandler||(t=>(0,td.N)(this._openerService,t,(0,th.Fr)(e.content)?e.content.isTrusted:void 0)),this._target="targetElements"in e.target?e.target:new t_(e.target),this._hoverPointer=(null===(r=e.appearance)||void 0===r?void 0:r.showPointer)?tp("div.workbench-hover-pointer"):void 0,this._hover=this._register(new tr.c8),this._hover.containerDomNode.classList.add("workbench-hover","fadeIn"),(null===(l=e.appearance)||void 0===l?void 0:l.compact)&&this._hover.containerDomNode.classList.add("workbench-hover","compact"),(null===(a=e.appearance)||void 0===a?void 0:a.skipFadeInAnimation)&&this._hover.containerDomNode.classList.add("skip-fade-in"),e.additionalClasses&&this._hover.containerDomNode.classList.add(...e.additionalClasses),(null===(d=e.position)||void 0===d?void 0:d.forcePosition)&&(this._forcePosition=!0),e.trapFocus&&(this._enableFocusTraps=!0),this._hoverPosition=null!==(u=null===(h=e.position)||void 0===h?void 0:h.hoverPosition)&&void 0!==u?u:3,this.onmousedown(this._hover.containerDomNode,e=>e.stopPropagation()),this.onkeydown(this._hover.containerDomNode,e=>{e.equals(9)&&this.dispose()}),this._register(ew.nm(this._targetWindow,"blur",()=>this.dispose()));let m=tp("div.hover-row.markdown-hover"),f=tp("div.hover-contents");if("string"==typeof e.content)f.textContent=e.content,f.style.whiteSpace="pre-wrap";else if(ew.Re(e.content))f.appendChild(e.content),f.classList.add("html-hover-contents");else{let t=e.content,i=this._instantiationService.createInstance(td.$,{codeBlockFontFamily:this._configurationService.getValue("editor").fontFamily||N.hL.fontFamily}),{element:n}=i.render(t,{actionHandler:{callback:e=>this._linkHandler(e),disposables:this._messageListeners},asyncRenderCallback:()=>{f.classList.add("code-hover-contents"),this.layout(),this._onRequestLayout.fire()}});f.appendChild(n)}if(m.appendChild(f),this._hover.contentsDomNode.appendChild(m),e.actions&&e.actions.length>0){let t=tp("div.hover-row.status-bar"),i=tp("div.actions");e.actions.forEach(e=>{let t=this._keybindingService.lookupKeybinding(e.commandId),n=t?t.getLabel():null;tr.Sr.render(i,{label:e.label,commandId:e.commandId,run:t=>{e.run(t),this.dispose()},iconClass:e.iconClass},n)}),t.appendChild(i),this._hover.containerDomNode.appendChild(t)}if(this._hoverContainer=tp("div.workbench-hover-container"),this._hoverPointer&&this._hoverContainer.appendChild(this._hoverPointer),this._hoverContainer.appendChild(this._hover.containerDomNode),(p=(!e.actions||!(e.actions.length>0))&&((null===(c=e.persistence)||void 0===c?void 0:c.hideOnHover)===void 0?"string"==typeof e.content||(0,th.Fr)(e.content)&&!e.content.value.includes("](")&&!e.content.value.includes(""):e.persistence.hideOnHover))&&(null===(g=e.appearance)||void 0===g?void 0:g.showHoverHint)){let e=tp("div.hover-row.status-bar"),t=tp("div.info");t.textContent=(0,eH.NC)("hoverhint","Hold {0} key to mouse over",tu.dz?"Option":"Alt"),e.appendChild(t),this._hover.containerDomNode.appendChild(e)}let _=[...this._target.targetElements];p||_.push(this._hoverContainer);let v=this._register(new tf(_));if(this._register(v.onMouseOut(()=>{this._isLocked||this.dispose()})),p){let e=[...this._target.targetElements,this._hoverContainer];this._lockMouseTracker=this._register(new tf(e)),this._register(this._lockMouseTracker.onMouseOut(()=>{this._isLocked||this.dispose()}))}else this._lockMouseTracker=v}addFocusTrap(){if(!this._enableFocusTraps||this._addedFocusTrap)return;this._addedFocusTrap=!0;let e=this._hover.containerDomNode,t=this.findLastFocusableChild(this._hover.containerDomNode);if(t){let i=ew.Ce(this._hoverContainer,tp("div")),n=ew.R3(this._hoverContainer,tp("div"));i.tabIndex=0,n.tabIndex=0,this._register(ew.nm(n,"focus",t=>{e.focus(),t.preventDefault()})),this._register(ew.nm(i,"focus",e=>{t.focus(),e.preventDefault()}))}}findLastFocusableChild(e){if(e.hasChildNodes())for(let t=0;t=0)return i;let n=this.findLastFocusableChild(i);if(n)return n}}render(e){var t;e.appendChild(this._hoverContainer);let i=this._hoverContainer.contains(this._hoverContainer.ownerDocument.activeElement),n=i&&(0,tr.uX)(!0===this._configurationService.getValue("accessibility.verbosity.hover")&&this._accessibilityService.isScreenReaderOptimized(),null===(t=this._keybindingService.lookupKeybinding("editor.action.accessibleView"))||void 0===t?void 0:t.getAriaLabel());n&&(0,eb.i7)(n),this.layout(),this.addFocusTrap()}layout(){this._hover.containerDomNode.classList.remove("right-aligned"),this._hover.contentsDomNode.style.maxHeight="";let e=e=>{let t=ew.I8(e),i=e.getBoundingClientRect();return{top:i.top*t,bottom:i.bottom*t,right:i.right*t,left:i.left*t}},t=this._target.targetElements.map(t=>e(t)),{top:i,right:n,bottom:s,left:o}=t[0],r=n-o,l=s-i,a={top:i,right:n,bottom:s,left:o,width:r,height:l,center:{x:o+r/2,y:i+l/2}};if(this.adjustHorizontalHoverPosition(a),this.adjustVerticalHoverPosition(a),this.adjustHoverMaxHeight(a),this._hoverContainer.style.padding="",this._hoverContainer.style.margin="",this._hoverPointer){switch(this._hoverPosition){case 1:a.left+=3,a.right+=3,this._hoverContainer.style.paddingLeft="3px",this._hoverContainer.style.marginLeft="-3px";break;case 0:a.left-=3,a.right-=3,this._hoverContainer.style.paddingRight="3px",this._hoverContainer.style.marginRight="-3px";break;case 2:a.top+=3,a.bottom+=3,this._hoverContainer.style.paddingTop="3px",this._hoverContainer.style.marginTop="-3px";break;case 3:a.top-=3,a.bottom-=3,this._hoverContainer.style.paddingBottom="3px",this._hoverContainer.style.marginBottom="-3px"}a.center.x=a.left+r/2,a.center.y=a.top+l/2}this.computeXCordinate(a),this.computeYCordinate(a),this._hoverPointer&&(this._hoverPointer.classList.remove("top"),this._hoverPointer.classList.remove("left"),this._hoverPointer.classList.remove("right"),this._hoverPointer.classList.remove("bottom"),this.setHoverPointerPosition(a)),this._hover.onContentsChanged()}computeXCordinate(e){let t=this._hover.containerDomNode.clientWidth+2;void 0!==this._target.x?this._x=this._target.x:1===this._hoverPosition?this._x=e.right:0===this._hoverPosition?this._x=e.left-t:(this._hoverPointer?this._x=e.center.x-this._hover.containerDomNode.clientWidth/2:this._x=e.left,this._x+t>=this._targetDocumentElement.clientWidth&&(this._hover.containerDomNode.classList.add("right-aligned"),this._x=Math.max(this._targetDocumentElement.clientWidth-t-2,this._targetDocumentElement.clientLeft))),this._xthis._targetWindow.innerHeight&&(this._y=e.bottom)}adjustHorizontalHoverPosition(e){if(void 0!==this._target.x)return;let t=this._hoverPointer?3:0;if(this._forcePosition){let i=t+2;1===this._hoverPosition?this._hover.containerDomNode.style.maxWidth=`${this._targetDocumentElement.clientWidth-e.right-i}px`:0===this._hoverPosition&&(this._hover.containerDomNode.style.maxWidth=`${e.left-i}px`);return}if(1===this._hoverPosition){let i=this._targetDocumentElement.clientWidth-e.right;if(i=this._hover.containerDomNode.clientWidth+t?this._hoverPosition=0:this._hoverPosition=2}}else if(0===this._hoverPosition){let i=e.left;if(i=this._hover.containerDomNode.clientWidth+t?this._hoverPosition=1:this._hoverPosition=2}e.left-this._hover.containerDomNode.clientWidth-t<=this._targetDocumentElement.clientLeft&&(this._hoverPosition=1)}}adjustVerticalHoverPosition(e){if(void 0!==this._target.y||this._forcePosition)return;let t=this._hoverPointer?3:0;3===this._hoverPosition?e.top-this._hover.containerDomNode.clientHeight-t<0&&(this._hoverPosition=2):2===this._hoverPosition&&e.bottom+this._hover.containerDomNode.clientHeight+t>this._targetWindow.innerHeight&&(this._hoverPosition=3)}adjustHoverMaxHeight(e){let t=this._targetWindow.innerHeight/2;if(this._forcePosition){let i=(this._hoverPointer?3:0)+2;3===this._hoverPosition?t=Math.min(t,e.top-i):2===this._hoverPosition&&(t=Math.min(t,this._targetWindow.innerHeight-e.bottom-i))}if(this._hover.containerDomNode.style.maxHeight=`${t}px`,this._hover.contentsDomNode.clientHeighte.height?this._hoverPointer.style.top=`${e.center.y-(this._y-t)-3}px`:this._hoverPointer.style.top=`${Math.round(t/2)-3}px`;break}case 3:case 2:{this._hoverPointer.classList.add(3===this._hoverPosition?"bottom":"top");let t=this._hover.containerDomNode.clientWidth,i=Math.round(t/2)-3,n=this._x+i;(ne.right)&&(i=e.center.x-this._x-3),this._hoverPointer.style.left=`${i}px`}}}focus(){this._hover.containerDomNode.focus()}dispose(){this._isDisposed||(this._onDispose.fire(),this._hoverContainer.remove(),this._messageListeners.dispose(),this._target.dispose(),super.dispose()),this._isDisposed=!0}};tm=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([tg(1,to.d),tg(2,el.Ui),tg(3,ta.v),tg(4,eM.TG),tg(5,tc.F)],tm);class tf extends tl.${get onMouseOut(){return this._onMouseOut.event}get isMouseIn(){return this._isMouseIn}constructor(e){super(),this._elements=e,this._isMouseIn=!0,this._onMouseOut=this._register(new eS.Q5),this._elements.forEach(e=>this.onmouseover(e,()=>this._onTargetMouseOver(e))),this._elements.forEach(e=>this.onmouseleave(e,()=>this._onTargetMouseLeave(e)))}_onTargetMouseOver(e){this._isMouseIn=!0,this._clearEvaluateMouseStateTimeout(e)}_onTargetMouseLeave(e){this._isMouseIn=!1,this._evaluateMouseState(e)}_evaluateMouseState(e){this._clearEvaluateMouseStateTimeout(e),this._mouseTimeout=ew.Jj(e).setTimeout(()=>this._fireIfMouseOutside(),0)}_clearEvaluateMouseStateTimeout(e){this._mouseTimeout&&(ew.Jj(e).clearTimeout(this._mouseTimeout),this._mouseTimeout=void 0)}_fireIfMouseOutside(){this._isMouseIn||this._onMouseOut.fire()}}class t_{constructor(e){this._element=e,this.targetElements=[this._element]}dispose(){}}var tv=i(69629),tb=i(67346),tC=i(50798);function tw(e,t,i){let n=i.mode===m.ALIGN?i.offset:i.offset+i.size,s=i.mode===m.ALIGN?i.offset+i.size:i.offset;return 0===i.position?t<=e-n?n:t<=s?s-t:Math.max(e-t,0):t<=s?s-t:t<=e-n?n:0}i(89666),(o=m||(m={}))[o.AVOID=0]="AVOID",o[o.ALIGN=1]="ALIGN";class ty extends T.JT{constructor(e,t){super(),this.container=null,this.useFixedPosition=!1,this.useShadowDOM=!1,this.delegate=null,this.toDisposeOnClean=T.JT.None,this.toDisposeOnSetContainer=T.JT.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=ew.$(".context-view"),ew.Cp(this.view),this.setContainer(e,t),this._register((0,T.OF)(()=>this.setContainer(null,1)))}setContainer(e,t){var i;this.useFixedPosition=1!==t;let n=this.useShadowDOM;if(this.useShadowDOM=3===t,(e!==this.container||n!==this.useShadowDOM)&&(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,null===(i=this.shadowRootHostElement)||void 0===i||i.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),e)){if(this.container=e,this.useShadowDOM){this.shadowRootHostElement=ew.$(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"});let e=document.createElement("style");e.textContent=tS,this.shadowRoot.appendChild(e),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(ew.$("slot"))}else this.container.appendChild(this.view);let t=new T.SL;ty.BUBBLE_UP_EVENTS.forEach(e=>{t.add(ew.mu(this.container,e,e=>{this.onDOMEvent(e,!1)}))}),ty.BUBBLE_DOWN_EVENTS.forEach(e=>{t.add(ew.mu(this.container,e,e=>{this.onDOMEvent(e,!0)},!0))}),this.toDisposeOnSetContainer=t}}show(e){var t,i,n;this.isVisible()&&this.hide(),ew.PO(this.view),this.view.className="context-view monaco-component",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex=`${2575+(null!==(t=e.layer)&&void 0!==t?t:0)}`,this.view.style.position=this.useFixedPosition?"fixed":"absolute",ew.$Z(this.view),this.toDisposeOnClean=e.render(this.view)||T.JT.None,this.delegate=e,this.doLayout(),null===(n=(i=this.delegate).focus)||void 0===n||n.call(i)}getViewElement(){return this.view}layout(){var e,t;if(this.isVisible()){if(!1===this.delegate.canRelayout&&!(tu.gn&&tb.D.pointerEvents)){this.hide();return}null===(t=null===(e=this.delegate)||void 0===e?void 0:e.layout)||void 0===t||t.call(e),this.doLayout()}}doLayout(){let e,t,i;if(!this.isVisible())return;let n=this.delegate.getAnchor();if(ew.Re(n)){let t=ew.i(n),i=ew.I8(n);e={top:t.top*i,left:t.left*i,width:t.width*i,height:t.height*i}}else e=n&&"number"==typeof n.x&&"number"==typeof n.y?{top:n.y,left:n.x,width:n.width||1,height:n.height||2}:{top:n.posy,left:n.posx,width:2,height:2};let s=ew.w(this.view),o=ew.wn(this.view),r=this.delegate.anchorPosition||0,l=this.delegate.anchorAlignment||0,a=this.delegate.anchorAxisAlignment||0,d=ew.WN();if(0===a){let n={offset:e.top-d.pageYOffset,size:e.height,position:0===r?0:1},a={offset:e.left,size:e.width,position:0===l?0:1,mode:m.ALIGN};t=tw(d.innerHeight,o,n)+d.pageYOffset,tC.e.intersects({start:t,end:t+o},{start:n.offset,end:n.offset+n.size})&&(a.mode=m.AVOID),i=tw(d.innerWidth,s,a)}else{let n={offset:e.left,size:e.width,position:0===l?0:1},a={offset:e.top,size:e.height,position:0===r?0:1,mode:m.ALIGN};i=tw(d.innerWidth,s,n),tC.e.intersects({start:i,end:i+s},{start:n.offset,end:n.offset+n.size})&&(a.mode=m.AVOID),t=tw(d.innerHeight,o,a)+d.pageYOffset}this.view.classList.remove("top","bottom","left","right"),this.view.classList.add(0===r?"bottom":"top"),this.view.classList.add(0===l?"left":"right"),this.view.classList.toggle("fixed",this.useFixedPosition);let h=ew.i(this.container);this.view.style.top=`${t-(this.useFixedPosition?ew.i(this.view).top:h.top)}px`,this.view.style.left=`${i-(this.useFixedPosition?ew.i(this.view).left:h.left)}px`,this.view.style.width="initial"}hide(e){let t=this.delegate;this.delegate=null,(null==t?void 0:t.onHide)&&t.onHide(e),this.toDisposeOnClean.dispose(),ew.Cp(this.view)}isVisible(){return!!this.delegate}onDOMEvent(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,ew.Jj(e).document.activeElement):t&&!ew.jg(e.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}ty.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],ty.BUBBLE_DOWN_EVENTS=["click"];let tS=` :host { all: initial; /* 1st rule so subsequent properties are reset. */ } @@ -408,7 +408,7 @@ ${ij(iF.l.menuSubmenu)} `);return e.join("\n")}findCycleSlow(){for(let[e,t]of this._nodes){let i=new Set([e]),n=this._findCycle(t,i);if(n)return n}}_findCycle(e,t){for(let[i,n]of e.outgoing){if(t.has(i))return[...t,i].join(" -> ");t.add(i);let e=this._findCycle(n,t);if(e)return e;t.delete(i)}}}var sY=i(92477);class sJ extends Error{constructor(e){var t;super("cyclic dependency between services"),this.message=null!==(t=e.findCycleSlow())&&void 0!==t?t:`UNABLE to detect cycle, dumping graph: ${e.toString()}`}}class sX{constructor(e=new sY.y,t=!1,i,n=!1){var s;this._services=e,this._strict=t,this._parent=i,this._enableTracing=n,this._isDisposed=!1,this._servicesToMaybeDispose=new Set,this._children=new Set,this._activeInstantiations=new Set,this._services.set(eM.TG,this),this._globalGraph=n?null!==(s=null==i?void 0:i._globalGraph)&&void 0!==s?s:new sZ(e=>e):void 0}dispose(){if(!this._isDisposed){for(let e of(this._isDisposed=!0,(0,T.B9)(this._children),this._children.clear(),this._servicesToMaybeDispose))(0,T.Wf)(e)&&e.dispose();this._servicesToMaybeDispose.clear()}}_throwIfDisposed(){if(this._isDisposed)throw Error("InstantiationService has been disposed")}createChild(e,t){this._throwIfDisposed();let i=this,n=new class extends sX{dispose(){i._children.delete(n),super.dispose()}}(e,this._strict,this,this._enableTracing);return this._children.add(n),null==t||t.add(n),n}invokeFunction(e,...t){this._throwIfDisposed();let i=s0.traceInvocation(this._enableTracing,e),n=!1;try{return e({get:e=>{if(n)throw(0,eB.L6)("service accessor is only valid during the invocation of its target method");let t=this._getOrCreateServiceInstance(e,i);if(!t)throw Error(`[invokeFunction] unknown service '${e}'`);return t}},...t)}finally{n=!0,i.stop()}}createInstance(e,...t){let i,n;return this._throwIfDisposed(),e instanceof sG.M?(i=s0.traceCreation(this._enableTracing,e.ctor),n=this._createInstance(e.ctor,e.staticArguments.concat(t),i)):(i=s0.traceCreation(this._enableTracing,e),n=this._createInstance(e,t,i)),i.stop(),n}_createInstance(e,t=[],i){let n=eM.I8.getServiceDependencies(e).sort((e,t)=>e.index-t.index),s=[];for(let t of n){let n=this._getOrCreateServiceInstance(t.id,i);n||this._throwIfStrict(`[createInstance] ${e.name} depends on UNKNOWN service ${t.id}.`,!1),s.push(n)}let o=n.length>0?n[0].index:t.length;if(t.length!==o){console.trace(`[createInstance] First service dependency of ${e.name} at position ${o+1} conflicts with ${t.length} static arguments`);let i=o-t.length;t=i>0?t.concat(Array(i)):t.slice(0,o)}return Reflect.construct(e,t.concat(s))}_setCreatedServiceInstance(e,t){if(this._services.get(e) instanceof sG.M)this._services.set(e,t);else if(this._parent)this._parent._setCreatedServiceInstance(e,t);else throw Error("illegalState - setting UNKNOWN service instance")}_getServiceInstanceOrDescriptor(e){let t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t}_getOrCreateServiceInstance(e,t){this._globalGraph&&this._globalGraphImplicitDependency&&this._globalGraph.insertEdge(this._globalGraphImplicitDependency,String(e));let i=this._getServiceInstanceOrDescriptor(e);return i instanceof sG.M?this._safeCreateAndCacheServiceInstance(e,i,t.branch(e,!0)):(t.branch(e,!1),i)}_safeCreateAndCacheServiceInstance(e,t,i){if(this._activeInstantiations.has(e))throw Error(`illegal state - RECURSIVELY instantiating service '${e}'`);this._activeInstantiations.add(e);try{return this._createAndCacheServiceInstance(e,t,i)}finally{this._activeInstantiations.delete(e)}}_createAndCacheServiceInstance(e,t,i){var n;let s=new sZ(e=>e.id.toString()),o=0,r=[{id:e,desc:t,_trace:i}];for(;r.length;){let t=r.pop();if(s.lookupOrInsertNode(t),o++>1e3)throw new sJ(s);for(let i of eM.I8.getServiceDependencies(t.desc.ctor)){let o=this._getServiceInstanceOrDescriptor(i.id);if(o||this._throwIfStrict(`[createInstance] ${e} depends on ${i.id} which is NOT registered.`,!0),null===(n=this._globalGraph)||void 0===n||n.insertEdge(String(t.id),String(i.id)),o instanceof sG.M){let e={id:i.id,desc:o,_trace:t._trace.branch(i.id,!0)};s.insertEdge(t,e),r.push(e)}}}for(;;){let e=s.roots();if(0===e.length){if(!s.isEmpty())throw new sJ(s);break}for(let{data:t}of e){let e=this._getServiceInstanceOrDescriptor(t.id);if(e instanceof sG.M){let e=this._createServiceInstanceWithOwner(t.id,t.desc.ctor,t.desc.staticArguments,t.desc.supportsDelayedInstantiation,t._trace);this._setCreatedServiceInstance(t.id,e)}s.removeNode(t)}}return this._getServiceInstanceOrDescriptor(e)}_createServiceInstanceWithOwner(e,t,i=[],n,s){if(this._services.get(e) instanceof sG.M)return this._createServiceInstance(e,t,i,n,s,this._servicesToMaybeDispose);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,i,n,s);throw Error(`illegalState - creating UNKNOWN service instance ${t.name}`)}_createServiceInstance(e,t,i=[],n,s,o){if(n){let n=new sX(void 0,this._strict,this,this._enableTracing);n._globalGraphImplicitDependency=String(e);let r=new Map,l=new tE.R5(()=>{let e=n._createInstance(t,i,s);for(let[t,i]of r){let n=e[t];if("function"==typeof n)for(let t of i)t.disposable=n.apply(e,t.listener)}return r.clear(),o.add(e),e});return new Proxy(Object.create(null),{get(e,t){if(!l.isInitialized&&"string"==typeof t&&(t.startsWith("onDid")||t.startsWith("onWill"))){let e=r.get(t);return e||(e=new eL.S,r.set(t,e)),(i,n,s)=>{if(l.isInitialized)return l.value[t](i,n,s);{let t={listener:[i,n,s],disposable:void 0},o=e.push(t),r=(0,T.OF)(()=>{var e;o(),null===(e=t.disposable)||void 0===e||e.dispose()});return r}}}if(t in e)return e[t];let i=l.value,n=i[t];return"function"!=typeof n||(n=n.bind(i),e[t]=n),n},set:(e,t,i)=>(l.value[t]=i,!0),getPrototypeOf:e=>t.prototype})}{let e=this._createInstance(t,i,s);return o.add(e),e}}_throwIfStrict(e,t){if(t&&console.warn(e),this._strict)throw Error(e)}}class s0{static traceInvocation(e,t){return e?new s0(2,t.name||Error().stack.split("\n").slice(3,4).join("\n")):s0._None}static traceCreation(e,t){return e?new s0(1,t.name):s0._None}constructor(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}branch(e,t){let i=new s0(3,e.toString());return this._dep.push([e,t,i]),i}stop(){let e=Date.now()-this._start;s0._totals+=e;let t=!1,i=[`${1===this.type?"CREATE":"CALL"} ${this.name}`,`${function e(i,n){let s=[],o=Array(i+1).join(" ");for(let[r,l,a]of n._dep)if(l&&a){t=!0,s.push(`${o}CREATES -> ${r}`);let n=e(i+1,a);n&&s.push(n)}else s.push(`${o}uses -> ${r}`);return s.join("\n")}(1,this)}`,`DONE, took ${e.toFixed(2)}ms (grand total ${s0._totals.toFixed(2)}ms)`];(e>2||t)&&s0.all.add(i.join("\n"))}}s0.all=new Set,s0._None=new class extends s0{constructor(){super(0,null)}stop(){}branch(){return this}},s0._totals=0;let s1=new Set([ey.lg.inMemory,ey.lg.vscodeSourceControl,ey.lg.walkThrough,ey.lg.walkThroughSnippet,ey.lg.vscodeChatCodeBlock,ey.lg.vscodeCopilotBackingChatCodeBlock]);class s2{constructor(){this._byResource=new tU.Y9,this._byOwner=new Map}set(e,t,i){let n=this._byResource.get(e);n||(n=new Map,this._byResource.set(e,n)),n.set(t,i);let s=this._byOwner.get(t);s||(s=new tU.Y9,this._byOwner.set(t,s)),s.set(e,i)}get(e,t){let i=this._byResource.get(e);return null==i?void 0:i.get(t)}delete(e,t){let i=!1,n=!1,s=this._byResource.get(e);s&&(i=s.delete(t));let o=this._byOwner.get(t);if(o&&(n=o.delete(e)),i!==n)throw Error("illegal state");return i&&n}values(e){var t,i,n,s;return"string"==typeof e?null!==(i=null===(t=this._byOwner.get(e))||void 0===t?void 0:t.values())&&void 0!==i?i:sP.$.empty():R.o.isUri(e)?null!==(s=null===(n=this._byResource.get(e))||void 0===n?void 0:n.values())&&void 0!==s?s:sP.$.empty():sP.$.map(sP.$.concat(...this._byOwner.values()),e=>e[1])}}class s4{constructor(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new tU.Y9,this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(e){for(let t of e){let e=this._data.get(t);e&&this._substract(e);let i=this._resourceStats(t);this._add(i),this._data.set(t,i)}}_resourceStats(e){let t={errors:0,warnings:0,infos:0,unknowns:0};if(s1.has(e.scheme))return t;for(let{severity:i}of this._service.read({resource:e}))i===i3.ZL.Error?t.errors+=1:i===i3.ZL.Warning?t.warnings+=1:i===i3.ZL.Info?t.infos+=1:t.unknowns+=1;return t}_substract(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns}_add(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns}}class s5{constructor(){this._onMarkerChanged=new eS.D0({delay:0,merge:s5._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new s2,this._stats=new s4(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(e,t){for(let i of t||[])this.changeOne(e,i,[])}changeOne(e,t,i){if((0,eT.XY)(i)){let i=this._data.delete(t,e);i&&this._onMarkerChanged.fire([t])}else{let n=[];for(let s of i){let i=s5._toMarker(e,t,s);i&&n.push(i)}this._data.set(t,e,n),this._onMarkerChanged.fire([t])}}static _toMarker(e,t,i){let{code:n,severity:s,message:o,source:r,startLineNumber:l,startColumn:a,endLineNumber:d,endColumn:h,relatedInformation:u,tags:c}=i;if(o)return{resource:t,owner:e,code:n,severity:s,message:o,source:r,startLineNumber:l,startColumn:a=a>0?a:1,endLineNumber:d=d>=(l=l>0?l:1)?d:l,endColumn:h=h>0?h:a,relatedInformation:u,tags:c}}changeAll(e,t){let i=[],n=this._data.values(e);if(n)for(let t of n){let n=sP.$.first(t);n&&(i.push(n.resource),this._data.delete(n.resource,e))}if((0,eT.Of)(t)){let n=new tU.Y9;for(let{resource:s,marker:o}of t){let t=s5._toMarker(e,s,o);if(!t)continue;let r=n.get(s);r?r.push(t):(n.set(s,[t]),i.push(s))}for(let[t,i]of n)this._data.set(t,e,i)}i.length>0&&this._onMarkerChanged.fire(i)}read(e=Object.create(null)){let{owner:t,resource:i,severities:n,take:s}=e;if((!s||s<0)&&(s=-1),t&&i){let e=this._data.get(i,t);if(!e)return[];{let t=[];for(let i of e)if(s5._accept(i,n)){let e=t.push(i);if(s>0&&e===s)break}return t}}if(t||i){let e=this._data.values(null!=i?i:t),o=[];for(let t of e)for(let e of t)if(s5._accept(e,n)){let t=o.push(e);if(s>0&&t===s)return o}return o}{let e=[];for(let t of this._data.values())for(let i of t)if(s5._accept(i,n)){let t=e.push(i);if(s>0&&t===s)return e}return e}}static _accept(e,t){return void 0===t||(t&e.severity)===e.severity}static _merge(e){let t=new tU.Y9;for(let i of e)for(let e of i)t.set(e,!0);return Array.from(t.keys())}}var s3=i(63179);class s7 extends T.JT{get configurationModel(){return this._configurationModel}constructor(e){super(),this.logService=e,this._configurationModel=tG.createEmptyModel(this.logService)}reload(){return this.resetConfigurationModel(),this.configurationModel}getConfigurationDefaultOverrides(){return{}}resetConfigurationModel(){this._configurationModel=tG.createEmptyModel(this.logService);let e=tq.B.as(t$.IP.Configuration).getConfigurationProperties();this.updateConfigurationModel(Object.keys(e),e)}updateConfigurationModel(e,t){let i=this.getConfigurationDefaultOverrides();for(let n of e){let e=i[n],s=t[n];void 0!==e?this._configurationModel.addValue(n,e):s?this._configurationModel.addValue(n,s.default):this._configurationModel.removeValue(n)}}}var s8=i(7634);class s6 extends T.JT{constructor(e,t=[]){super(),this.logger=new e2.qA([e,...t]),this._register(e.onDidChangeLogLevel(e=>this.setLevel(e)))}get onDidChangeLogLevel(){return this.logger.onDidChangeLogLevel}setLevel(e){this.logger.setLevel(e)}getLevel(){return this.logger.getLevel()}trace(e,...t){this.logger.trace(e,...t)}debug(e,...t){this.logger.debug(e,...t)}info(e,...t){this.logger.info(e,...t)}warn(e,...t){this.logger.warn(e,...t)}error(e,...t){this.logger.error(e,...t)}}var s9=i(88964),oe=i(47578),ot=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},oi=function(e,t){return function(i,n){t(i,n,e)}};class on{constructor(e){this.disposed=!1,this.model=e,this._onWillDispose=new eS.Q5}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let os=class{constructor(e){this.modelService=e}createModelReference(e){let t=this.modelService.getModel(e);return t?Promise.resolve(new T.Jz(new on(t))):Promise.reject(Error("Model not found"))}};os=ot([oi(0,Q.q)],os);class oo{show(){return oo.NULL_PROGRESS_RUNNER}async showWhile(e,t){await e}}oo.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class or{info(e){return this.notify({severity:eW.Z.Info,message:e})}warn(e){return this.notify({severity:eW.Z.Warning,message:e})}error(e){return this.notify({severity:eW.Z.Error,message:e})}notify(e){switch(e.severity){case eW.Z.Error:console.error(e.message);break;case eW.Z.Warning:console.warn(e.message);break;default:console.log(e.message)}return or.NO_OP}prompt(e,t,i,n){return or.NO_OP}status(e,t){return T.JT.None}}or.NO_OP=new ez.EO;let ol=class{constructor(e){this._onWillExecuteCommand=new eS.Q5,this._onDidExecuteCommand=new eS.Q5,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=e}executeCommand(e,...t){let i=tK.P.getCommand(e);if(!i)return Promise.reject(Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});let n=this._instantiationService.invokeFunction.apply(this._instantiationService,[i.handler,...t]);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(n)}catch(e){return Promise.reject(e)}}};ol=ot([oi(0,eM.TG)],ol);let oa=class extends t7{constructor(e,t,i,n,s,o){super(e,t,i,n,s),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];let r=e=>{let t=new T.SL;t.add(ew.nm(e,ew.tw.KEY_DOWN,e=>{let t=new tv.y(e),i=this._dispatch(t,t.target);i&&(t.preventDefault(),t.stopPropagation())})),t.add(ew.nm(e,ew.tw.KEY_UP,e=>{let t=new tv.y(e),i=this._singleModifierDispatch(t,t.target);i&&t.preventDefault()})),this._domNodeListeners.push(new od(e,t))},l=e=>{for(let t=0;t{e.getOption(61)||r(e.getContainerDomNode())};this._register(o.onCodeEditorAdd(a)),this._register(o.onCodeEditorRemove(e=>{e.getOption(61)||l(e.getContainerDomNode())})),o.listCodeEditors().forEach(a);let d=e=>{r(e.getContainerDomNode())};this._register(o.onDiffEditorAdd(d)),this._register(o.onDiffEditorRemove(e=>{l(e.getContainerDomNode())})),o.listDiffEditors().forEach(d)}addDynamicKeybinding(e,t,i,n){return(0,T.F8)(tK.P.registerCommand(e,i),this.addDynamicKeybindings([{keybinding:t,command:e,when:n}]))}addDynamicKeybindings(e){let t=e.map(e=>{var t;let i=(0,tP.Z9)(e.keybinding,tu.OS);return{keybinding:i,command:null!==(t=e.command)&&void 0!==t?t:null,commandArgs:e.commandArgs,when:e.when,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}});return this._dynamicKeybindings=this._dynamicKeybindings.concat(t),this.updateResolver(),(0,T.OF)(()=>{for(let e=0;ethis._log(e))}return this._cachedResolver}_documentHasFocus(){return I.E.document.hasFocus()}_toNormalizedKeybindingItems(e,t){let i=[],n=0;for(let s of e){let e=s.when||void 0,o=s.keybinding;if(o){let r=io.resolveKeybinding(o,tu.OS);for(let o of r)i[n++]=new t9(o,s.command,s.commandArgs,e,t,null,!1)}else i[n++]=new t9(void 0,s.command,s.commandArgs,e,t,null,!1)}return i}resolveKeyboardEvent(e){let t=new tP.$M(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode);return new io([t],tu.OS)}};oa=ot([oi(0,ex.i6),oi(1,tK.H),oi(2,ia.b),oi(3,ez.lT),oi(4,e2.VZ),oi(5,O.$)],oa);class od extends T.JT{constructor(e,t){super(),this.domNode=e,this._register(t)}}function oh(e){return e&&"object"==typeof e&&(!e.overrideIdentifier||"string"==typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof R.o)}let ou=class{constructor(e){this.logService=e,this._onDidChangeConfiguration=new eS.Q5,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event;let t=new s7(e);this._configuration=new tY(t.reload(),tG.createEmptyModel(e),tG.createEmptyModel(e),tG.createEmptyModel(e),tG.createEmptyModel(e),tG.createEmptyModel(e),new tU.Y9,tG.createEmptyModel(e),new tU.Y9,e),t.dispose()}getValue(e,t){let i="string"==typeof e?e:void 0,n=oh(e)?e:oh(t)?t:{};return this._configuration.getValue(i,n,void 0)}updateValues(e){let t={data:this._configuration.toData()},i=[];for(let t of e){let[e,n]=t;this.getValue(e)!==n&&(this._configuration.updateValue(e,n),i.push(e))}if(i.length>0){let e=new tJ({keys:i,overrides:[]},t,this._configuration,void 0,this.logService);e.source=8,this._onDidChangeConfiguration.fire(e)}return Promise.resolve()}updateValue(e,t,i,n){return this.updateValues([[e,t]])}inspect(e,t={}){return this._configuration.inspect(e,t,void 0)}};ou=ot([oi(0,e2.VZ)],ou);let oc=class{constructor(e,t,i){this.configurationService=e,this.modelService=t,this.languageService=i,this._onDidChangeConfiguration=new eS.Q5,this.configurationService.onDidChangeConfiguration(e=>{this._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:(t,i)=>e.affectsConfiguration(i)})})}getValue(e,t,i){let n=tW.L.isIPosition(t)?t:null,s=n?"string"==typeof i?i:void 0:"string"==typeof t?t:void 0,o=e?this.getLanguage(e,n):void 0;return void 0===s?this.configurationService.getValue({resource:e,overrideIdentifier:o}):this.configurationService.getValue(s,{resource:e,overrideIdentifier:o})}getLanguage(e,t){let i=this.modelService.getModel(e);return i?t?i.getLanguageIdAtPosition(t.lineNumber,t.column):i.getLanguageId():this.languageService.guessLanguageIdByFilepathOrFirstLine(e)}};oc=ot([oi(0,el.Ui),oi(1,Q.q),oi(2,U.O)],oc);let og=class{constructor(e){this.configurationService=e}getEOL(e,t){let i=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e});return i&&"string"==typeof i&&"auto"!==i?i:tu.IJ||tu.dz?"\n":"\r\n"}};og=ot([oi(0,el.Ui)],og);class op{constructor(){let e=R.o.from({scheme:op.SCHEME,authority:"model",path:"/"});this.workspace={id:id.p$,folders:[new id.md({uri:e,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(e){return e&&e.scheme===op.SCHEME?this.workspace.folders[0]:null}}function om(e,t,i){if(!t||!(e instanceof ou))return;let n=[];Object.keys(t).forEach(e=>{(0,tF.ei)(e)&&n.push([`editor.${e}`,t[e]]),i&&(0,tF.Pe)(e)&&n.push([`diffEditor.${e}`,t[e]])}),n.length>0&&e.updateValues(n)}op.SCHEME="inmemory";let of=class{constructor(e){this._modelService=e}hasPreviewHandler(){return!1}async apply(e,t){let i=Array.isArray(e)?e:tO.fo.convert(e),n=new Map;for(let e of i){if(!(e instanceof tO.Gl))throw Error("bad edit - only text edits are supported");let t=this._modelService.getModel(e.resource);if(!t)throw Error("bad edit - model not found");if("number"==typeof e.versionId&&t.getVersionId()!==e.versionId)throw Error("bad state - model changed in the meantime");let i=n.get(t);i||(i=[],n.set(t,i)),i.push(tB.h.replaceMove(tH.e.lift(e.textEdit.range),e.textEdit.text))}let s=0,o=0;for(let[e,t]of n)e.pushStackElement(),e.pushEditOperations([],t,()=>[]),e.pushStackElement(),o+=1,s+=t.length;return{ariaSummary:M.WU(ih.iN.bulkEditServiceSummary,s,o),isApplied:s>0}}};of=ot([oi(0,Q.q)],of);let o_=class extends tk{constructor(e,t){super(e),this._codeEditorService=t}showContextView(e,t,i){if(!t){let e=this._codeEditorService.getFocusedCodeEditor()||this._codeEditorService.getActiveCodeEditor();e&&(t=e.getContainerDomNode())}return super.showContextView(e,t,i)}};o_=ot([oi(0,eR),oi(1,O.$)],o_);let ov=class extends iY{constructor(e,t,i,n,s,o){super(e,t,i,n,s,o),this.configure({blockMouse:!1})}};ov=ot([oi(0,ia.b),oi(1,ez.lT),oi(2,ts.u),oi(3,to.d),oi(4,iI.co),oi(5,ex.i6)],ov),(0,eN.z)(e2.VZ,class extends s6{constructor(){super(new e2.kw)}},0),(0,eN.z)(el.Ui,ou,0),(0,eN.z)(tz.V,oc,0),(0,eN.z)(tz.y,og,0),(0,eN.z)(id.ec,op,0),(0,eN.z)(ir.e,class{getUriLabel(e,t){return"file"===e.scheme?e.fsPath:e.path}getUriBasenameLabel(e){return(0,iu.EZ)(e)}},0),(0,eN.z)(ia.b,class{publicLog2(){}},0),(0,eN.z)(eV.S,class{async confirm(e){let t=this.doConfirm(e.message,e.detail);return{confirmed:t,checkboxChecked:!1}}doConfirm(e,t){let i=e;return t&&(i=i+"\n\n"+t),I.E.confirm(i)}async prompt(e){var t,i;let n;let s=this.doConfirm(e.message,e.detail);if(s){let s=[...null!==(t=e.buttons)&&void 0!==t?t:[]];e.cancelButton&&"string"!=typeof e.cancelButton&&"boolean"!=typeof e.cancelButton&&s.push(e.cancelButton),n=await (null===(i=s[0])||void 0===i?void 0:i.run({checkboxChecked:!1}))}return{result:n}}async error(e,t){await this.prompt({type:eW.Z.Error,message:e,detail:t})}},0),(0,eN.z)(oe.Y,class{constructor(){this.isExtensionDevelopment=!1,this.isBuilt=!1}},0),(0,eN.z)(ez.lT,or,0),(0,eN.z)(i3.lT,s5,0),(0,eN.z)(U.O,class extends iD{constructor(){super()}},0),(0,eN.z)(sN.Z,sx.nI,0),(0,eN.z)(Q.q,nu,0),(0,eN.z)(nt.i,i9,0),(0,eN.z)(ex.i6,sq,0),(0,eN.z)(il.R9,class{withProgress(e,t,i){return t({report:()=>{}})}},0),(0,eN.z)(il.ek,oo,0),(0,eN.z)(s3.Uy,s3.vm,0),(0,eN.z)(i5.p,B.eu,0),(0,eN.z)(tO.vu,of,0),(0,eN.z)(ic.Y,class{constructor(){this._neverEmitter=new eS.Q5,this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}},0),(0,eN.z)(tV.S,os,0),(0,eN.z)(tc.F,sI,0),(0,eN.z)(nJ.Lw,nJ.XN,0),(0,eN.z)(tK.H,ol,0),(0,eN.z)(to.d,oa,0),(0,eN.z)(np.eJ,sL,0),(0,eN.z)(ts.u,o_,0),(0,eN.z)(ta.v,i4,0),(0,eN.z)(sA.p,sR,0),(0,eN.z)(ts.i,ov,0),(0,eN.z)(iI.co,sT.h,0),(0,eN.z)(s8.IV,class{async playSignal(e,t){}},0),function(e){let t=new sY.y;for(let[e,i]of(0,eN.d)())t.set(e,i);let i=new sX(t,!0);t.set(eM.TG,i),e.get=function(e){n||o({});let s=t.get(e);if(!s)throw Error("Missing service "+e);return s instanceof sG.M?i.invokeFunction(t=>t.get(e)):s};let n=!1,s=new eS.Q5;function o(e){if(n)return i;for(let[e,i]of(n=!0,(0,eN.d)()))t.get(e)||t.set(e,i);for(let i in e)if(e.hasOwnProperty(i)){let n=(0,eM.yh)(i),s=t.get(n);s instanceof sG.M&&t.set(n,e[i])}let o=(0,s9.n)();for(let e of o)try{i.createInstance(e)}catch(e){(0,eB.dL)(e)}return s.fire(),i}e.initialize=o,e.withServices=function(e){if(n)return e();let t=new T.SL,i=t.add(s.event(()=>{i.dispose(),t.add(e())}));return t}}(k||(k={}));var ob=i(22946),oC=i(82905),ow=i(85432),oy=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},oS=function(e,t){return function(i,n){t(i,n,e)}};let oL=0,ok=!1,oD=class extends x.Gm{constructor(e,t,i,n,s,o,r,l,a,d,h,u,c){let g={...t};g.ariaLabel=g.ariaLabel||ih.B8.editorViewAccessibleLabel,g.ariaLabel=g.ariaLabel+";"+ih.B8.accessibilityHelpMessage,super(e,g,{},i,n,s,o,a,d,h,u,c),l instanceof oa?this._standaloneKeybindingService=l:this._standaloneKeybindingService=null,function(e){if(!e){if(ok)return;ok=!0}eb.wW(e||I.E.document.body)}(g.ariaContainerElement),(0,oC.rM)((e,t)=>i.createInstance(tn.mQ,e,t,{})),(0,ow.r)(r)}addCommand(e,t,i){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;let n="DYNAMIC_"+ ++oL,s=ex.Ao.deserialize(i);return this._standaloneKeybindingService.addDynamicKeybinding(n,e,t,s),n}createContextKey(e,t){return this._contextKeyService.createKey(e,t)}addAction(e){if("string"!=typeof e.id||"string"!=typeof e.label||"function"!=typeof e.run)throw Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),T.JT.None;let t=e.id,i=e.label,n=ex.Ao.and(ex.Ao.equals("editorId",this.getId()),ex.Ao.deserialize(e.precondition)),s=e.keybindings,o=ex.Ao.and(n,ex.Ao.deserialize(e.keybindingContext)),r=e.contextMenuGroupId||null,l=e.contextMenuOrder||0,a=(t,...i)=>Promise.resolve(e.run(this,...i)),d=new T.SL,h=this.getId()+":"+t;if(d.add(tK.P.registerCommand(h,a)),r&&d.add(iI.BH.appendMenuItem(iI.eH.EditorContext,{command:{id:h,title:i},when:n,group:r,order:l})),Array.isArray(s))for(let e of s)d.add(this._standaloneKeybindingService.addDynamicKeybinding(h,e,a,o));let u=new eC.p(h,i,i,void 0,n,(...t)=>Promise.resolve(e.run(this,...t)),this._contextKeyService);return this._actions.set(t,u),d.add((0,T.OF)(()=>{this._actions.delete(t)})),d}_triggerCommand(e,t){if(this._codeEditorService instanceof eI)try{this._codeEditorService.setActiveCodeEditor(this),super._triggerCommand(e,t)}finally{this._codeEditorService.setActiveCodeEditor(null)}else super._triggerCommand(e,t)}};oD=oy([oS(2,eM.TG),oS(3,O.$),oS(4,tK.H),oS(5,ex.i6),oS(6,tn.Bs),oS(7,to.d),oS(8,ek.XE),oS(9,ez.lT),oS(10,tc.F),oS(11,$.c_),oS(12,tt.p)],oD);let ox=class extends oD{constructor(e,t,i,n,s,o,r,l,a,d,h,u,c,g,p,m){let f;let _={...t};om(h,_,!1);let v=a.registerEditorContainer(e);"string"==typeof _.theme&&a.setTheme(_.theme),void 0!==_.autoDetectHighContrast&&a.setAutoDetectHighContrast(!!_.autoDetectHighContrast);let b=_.model;if(delete _.model,super(e,_,i,n,s,o,r,l,a,d,u,p,m),this._configurationService=h,this._standaloneThemeService=a,this._register(v),void 0===b){let e=g.getLanguageIdByMimeType(_.language)||_.language||q.bd;f=oE(c,g,_.value||"",e,void 0),this._ownsModel=!0}else f=b,this._ownsModel=!1;if(this._attachModel(f),f){let e={oldModelUrl:null,newModelUrl:f.uri};this._onDidChangeModel.fire(e)}}dispose(){super.dispose()}updateOptions(e){om(this._configurationService,e,!1),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),void 0!==e.autoDetectHighContrast&&this._standaloneThemeService.setAutoDetectHighContrast(!!e.autoDetectHighContrast),super.updateOptions(e)}_postDetachModelCleanup(e){super._postDetachModelCleanup(e),e&&this._ownsModel&&(e.dispose(),this._ownsModel=!1)}};ox=oy([oS(2,eM.TG),oS(3,O.$),oS(4,tK.H),oS(5,ex.i6),oS(6,tn.Bs),oS(7,to.d),oS(8,sN.Z),oS(9,ez.lT),oS(10,el.Ui),oS(11,tc.F),oS(12,Q.q),oS(13,U.O),oS(14,$.c_),oS(15,tt.p)],ox);let oN=class extends ob.p{constructor(e,t,i,n,s,o,r,l,a,d,h,u){let c={...t};om(l,c,!0);let g=o.registerEditorContainer(e);"string"==typeof c.theme&&o.setTheme(c.theme),void 0!==c.autoDetectHighContrast&&o.setAutoDetectHighContrast(!!c.autoDetectHighContrast),super(e,c,{},n,i,s,u,d),this._configurationService=l,this._standaloneThemeService=o,this._register(g)}dispose(){super.dispose()}updateOptions(e){om(this._configurationService,e,!0),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),void 0!==e.autoDetectHighContrast&&this._standaloneThemeService.setAutoDetectHighContrast(!!e.autoDetectHighContrast),super.updateOptions(e)}_createInnerEditor(e,t,i){return e.createInstance(oD,t,i)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(e,t,i){return this.getModifiedEditor().addCommand(e,t,i)}createContextKey(e,t){return this.getModifiedEditor().createContextKey(e,t)}addAction(e){return this.getModifiedEditor().addAction(e)}};function oE(e,t,i,n,s){if(i=i||"",!n){let n=i.indexOf("\n"),o=i;return -1!==n&&(o=i.substring(0,n)),oI(e,i,t.createByFilepathOrFirstLine(s||null,o),s)}return oI(e,i,t.createById(n),s)}function oI(e,t,i,n){return e.createModel(t,i,n)}oN=oy([oS(2,eM.TG),oS(3,ex.i6),oS(4,O.$),oS(5,sN.Z),oS(6,ez.lT),oS(7,el.Ui),oS(8,ts.i),oS(9,il.ek),oS(10,sA.p),oS(11,s8.IV)],oN);var oT=i(43495),oM=i(81719),oR=i(70365),oA=i(15769),oP=i(98101);i(28904);var oO=i(81294),oF=i(84781),oB=i(73440),oW=i(77081),oH=i(57996);class oV{constructor(e,t){this.viewModel=e,this.deltaScrollVertical=t}getId(){return this.viewModel}}let oz=class extends T.JT{constructor(e,t,i,n){super(),this._container=e,this._overflowWidgetsDomNode=t,this._workbenchUIElementFactory=i,this._instantiationService=n,this._viewModel=(0,oA.uh)(this,void 0),this._collapsed=(0,oT.nK)(this,e=>{var t;return null===(t=this._viewModel.read(e))||void 0===t?void 0:t.collapsed.read(e)}),this._editorContentHeight=(0,oA.uh)(this,500),this.contentHeight=(0,oT.nK)(this,e=>{let t=this._collapsed.read(e)?0:this._editorContentHeight.read(e);return t+this._outerEditorHeight}),this._modifiedContentWidth=(0,oA.uh)(this,0),this._modifiedWidth=(0,oA.uh)(this,0),this._originalContentWidth=(0,oA.uh)(this,0),this._originalWidth=(0,oA.uh)(this,0),this.maxScroll=(0,oT.nK)(this,e=>{let t=this._modifiedContentWidth.read(e)-this._modifiedWidth.read(e),i=this._originalContentWidth.read(e)-this._originalWidth.read(e);return t>i?{maxScroll:t,width:this._modifiedWidth.read(e)}:{maxScroll:i,width:this._originalWidth.read(e)}}),this._elements=(0,ew.h)("div.multiDiffEntry",[(0,ew.h)("div.header@header",[(0,ew.h)("div.header-content",[(0,ew.h)("div.collapse-button@collapseButton"),(0,ew.h)("div.file-path",[(0,ew.h)("div.title.modified.show-file-icons@primaryPath",[]),(0,ew.h)("div.status.deleted@status",["R"]),(0,ew.h)("div.title.original.show-file-icons@secondaryPath",[])]),(0,ew.h)("div.actions@actions")])]),(0,ew.h)("div.editorParent",[(0,ew.h)("div.editorContainer@editor")])]),this.editor=this._register(this._instantiationService.createInstance(ob.p,this._elements.editor,{overflowWidgetsDomNode:this._overflowWidgetsDomNode},{})),this.isModifedFocused=oK(this.editor.getModifiedEditor()),this.isOriginalFocused=oK(this.editor.getOriginalEditor()),this.isFocused=(0,oT.nK)(this,e=>this.isModifedFocused.read(e)||this.isOriginalFocused.read(e)),this._resourceLabel=this._workbenchUIElementFactory.createResourceLabel?this._register(this._workbenchUIElementFactory.createResourceLabel(this._elements.primaryPath)):void 0,this._resourceLabel2=this._workbenchUIElementFactory.createResourceLabel?this._register(this._workbenchUIElementFactory.createResourceLabel(this._elements.secondaryPath)):void 0,this._dataStore=new T.SL,this._headerHeight=40,this._lastScrollTop=-1,this._isSettingScrollTop=!1;let s=new nV.z(this._elements.collapseButton,{});this._register((0,oT.EH)(e=>{s.element.className="",s.icon=this._collapsed.read(e)?iF.l.chevronRight:iF.l.chevronDown})),this._register(s.onDidClick(()=>{var e;null===(e=this._viewModel.get())||void 0===e||e.collapsed.set(!this._collapsed.get(),void 0)})),this._register((0,oT.EH)(e=>{this._elements.editor.style.display=this._collapsed.read(e)?"none":"block"})),this._register(this.editor.getModifiedEditor().onDidLayoutChange(e=>{let t=this.editor.getModifiedEditor().getLayoutInfo().contentWidth;this._modifiedWidth.set(t,void 0)})),this._register(this.editor.getOriginalEditor().onDidLayoutChange(e=>{let t=this.editor.getOriginalEditor().getLayoutInfo().contentWidth;this._originalWidth.set(t,void 0)})),this._register(this.editor.onDidContentSizeChange(e=>{(0,oA.Bl)(t=>{this._editorContentHeight.set(e.contentHeight,t),this._modifiedContentWidth.set(this.editor.getModifiedEditor().getContentWidth(),t),this._originalContentWidth.set(this.editor.getOriginalEditor().getContentWidth(),t)})})),this._register(this.editor.getOriginalEditor().onDidScrollChange(e=>{if(this._isSettingScrollTop||!e.scrollTopChanged||!this._data)return;let t=e.scrollTop-this._lastScrollTop;this._data.deltaScrollVertical(t)})),this._register((0,oT.EH)(e=>{var t;let i=null===(t=this._viewModel.read(e))||void 0===t?void 0:t.isActive.read(e);this._elements.root.classList.toggle("active",i)})),this._container.appendChild(this._elements.root),this._outerEditorHeight=this._headerHeight,this._register(this._instantiationService.createInstance(oW.r,this._elements.actions,iI.eH.MultiDiffEditorFileToolbar,{actionRunner:this._register(new oH.D(()=>{var e;return null===(e=this._viewModel.get())||void 0===e?void 0:e.modifiedUri})),menuOptions:{shouldForwardArgs:!0},toolbarOptions:{primaryGroup:e=>e.startsWith("navigation")},actionViewItemProvider:(e,t)=>(0,iE.Id)(n,e,t)}))}setScrollLeft(e){this._modifiedContentWidth.get()-this._modifiedWidth.get()>this._originalContentWidth.get()-this._originalWidth.get()?this.editor.getModifiedEditor().setScrollLeft(e):this.editor.getOriginalEditor().setScrollLeft(e)}setData(e){function t(e){return{...e,scrollBeyondLastLine:!1,hideUnchangedRegions:{enabled:!0},scrollbar:{vertical:"hidden",horizontal:"hidden",handleMouseWheel:!1,useShadows:!1},renderOverviewRuler:!1,fixedOverflowWidgets:!0,overviewRulerBorder:!1}}this._data=e;let i=e.viewModel.entry.value;i.onOptionsDidChange&&this._dataStore.add(i.onOptionsDidChange(()=>{var e;this.editor.updateOptions(t(null!==(e=i.options)&&void 0!==e?e:{}))})),(0,oA.Bl)(n=>{var s,o,r,l;null===(s=this._resourceLabel)||void 0===s||s.setUri(null!==(o=e.viewModel.modifiedUri)&&void 0!==o?o:e.viewModel.originalUri,{strikethrough:void 0===e.viewModel.modifiedUri});let a=!1,d=!1,h=!1,u="";e.viewModel.modifiedUri&&e.viewModel.originalUri&&e.viewModel.modifiedUri.path!==e.viewModel.originalUri.path?(u="R",a=!0):e.viewModel.modifiedUri?e.viewModel.originalUri||(u="A",h=!0):(u="D",d=!0),this._elements.status.classList.toggle("renamed",a),this._elements.status.classList.toggle("deleted",d),this._elements.status.classList.toggle("added",h),this._elements.status.innerText=u,null===(r=this._resourceLabel2)||void 0===r||r.setUri(a?e.viewModel.originalUri:void 0,{strikethrough:!0}),this._dataStore.clear(),this._viewModel.set(e.viewModel,n),this.editor.setModel(e.viewModel.diffEditorViewModel,n),this.editor.updateOptions(t(null!==(l=i.options)&&void 0!==l?l:{}))})}render(e,t,i,n){this._elements.root.style.visibility="visible",this._elements.root.style.top=`${e.start}px`,this._elements.root.style.height=`${e.length}px`,this._elements.root.style.width=`${t}px`,this._elements.root.style.position="absolute";let s=e.length-this._headerHeight,o=Math.max(0,Math.min(n.start-e.start,s));this._elements.header.style.transform=`translateY(${o}px)`,(0,oA.Bl)(i=>{this.editor.layout({width:t-16-2,height:e.length-this._outerEditorHeight})});try{this._isSettingScrollTop=!0,this._lastScrollTop=i,this.editor.getOriginalEditor().setScrollTop(i)}finally{this._isSettingScrollTop=!1}this._elements.header.classList.toggle("shadow",o>0||i>0),this._elements.header.classList.toggle("collapsed",o===s)}hide(){this._elements.root.style.top="-100000px",this._elements.root.style.visibility="hidden"}};function oK(e){return(0,oT.rD)(t=>{let i=new T.SL;return i.add(e.onDidFocusEditorWidget(()=>t(!0))),i.add(e.onDidBlurEditorWidget(()=>t(!1))),i},()=>e.hasTextFocus())}oz=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(u=eM.TG,function(e,t){u(e,t,3)})],oz);class oU{constructor(e){this._create=e,this._unused=new Set,this._used=new Set,this._itemData=new Map}getUnusedObj(e){var t;let i;if(0===this._unused.size)i=this._create(e),this._itemData.set(i,e);else{let n=[...this._unused.values()];i=null!==(t=n.find(t=>this._itemData.get(t).getId()===e.getId()))&&void 0!==t?t:n[0],this._unused.delete(i),this._itemData.set(i,e),i.setData(e)}return this._used.add(i),{object:i,dispose:()=>{this._used.delete(i),this._unused.size>5?i.dispose():this._unused.add(i)}}}dispose(){for(let e of this._used)e.dispose();for(let e of this._unused)e.dispose();this._used.clear(),this._unused.clear()}}var o$=function(e,t){return function(i,n){t(i,n,e)}};let oq=class extends T.JT{constructor(e,t,i,n,s,o){super(),this._element=e,this._dimension=t,this._viewModel=i,this._workbenchUIElementFactory=n,this._parentContextKeyService=s,this._parentInstantiationService=o,this._scrollableElements=(0,ew.h)("div.scrollContent",[(0,ew.h)("div@content",{style:{overflow:"hidden"}}),(0,ew.h)("div.monaco-editor@overflowWidgetsDomNode",{})]),this._scrollable=this._register(new oP.Rm({forceIntegerValues:!1,scheduleAtNextAnimationFrame:e=>(0,ew.jL)((0,ew.Jj)(this._element),e),smoothScrollDuration:100})),this._scrollableElement=this._register(new iO.$Z(this._scrollableElements.root,{vertical:1,horizontal:1,useShadows:!1},this._scrollable)),this._elements=(0,ew.h)("div.monaco-component.multiDiffEditor",{},[(0,ew.h)("div",{},[this._scrollableElement.getDomNode()]),(0,ew.h)("div.placeholder@placeholder",{},[(0,ew.h)("div",[(0,eH.NC)("noChangedFiles","No Changed Files")])])]),this._sizeObserver=this._register(new oM.DU(this._element,void 0)),this._objectPool=this._register(new oU(e=>{let t=this._instantiationService.createInstance(oz,this._scrollableElements.content,this._scrollableElements.overflowWidgetsDomNode,this._workbenchUIElementFactory);return t.setData(e),t})),this.scrollTop=(0,oT.rD)(this._scrollableElement.onScroll,()=>this._scrollableElement.getScrollPosition().scrollTop),this.scrollLeft=(0,oT.rD)(this._scrollableElement.onScroll,()=>this._scrollableElement.getScrollPosition().scrollLeft),this._viewItemsInfo=(0,oT.Be)(this,(e,t)=>{let i=this._viewModel.read(e);if(!i)return{items:[],getItem:e=>{throw new eB.he}};let n=i.items.read(e),s=new Map,o=n.map(e=>{var i;let n=t.add(new oj(e,this._objectPool,this.scrollLeft,e=>{this._scrollableElement.setScrollPosition({scrollTop:this._scrollableElement.getScrollPosition().scrollTop+e})})),o=null===(i=this._lastDocStates)||void 0===i?void 0:i[n.getKey()];return o&&(0,oA.PS)(e=>{n.setViewState(o,e)}),s.set(e,n),n});return{items:o,getItem:e=>s.get(e)}}),this._viewItems=this._viewItemsInfo.map(this,e=>e.items),this._spaceBetweenPx=0,this._totalHeight=this._viewItems.map(this,(e,t)=>e.reduce((e,i)=>e+i.contentHeight.read(t)+this._spaceBetweenPx,0)),this._contextKeyService=this._register(this._parentContextKeyService.createScoped(this._element)),this._instantiationService=this._register(this._parentInstantiationService.createChild(new sY.y([ex.i6,this._contextKeyService]))),this._lastDocStates={},this._contextKeyService.createKey(oB.u.inMultiDiffEditor.key,!0),this._register((0,oT.gp)((e,t)=>{let i=this._viewModel.read(e);if(i&&i.contextKeys)for(let[e,n]of Object.entries(i.contextKeys)){let i=this._contextKeyService.createKey(e,void 0);i.set(n),t.add((0,T.OF)(()=>i.reset()))}}));let r=this._parentContextKeyService.createKey(oB.u.multiDiffEditorAllCollapsed.key,!1);this._register((0,oT.EH)(e=>{let t=this._viewModel.read(e);if(t){let i=t.items.read(e).every(t=>t.collapsed.read(e));r.set(i)}})),this._register((0,oT.EH)(e=>{let t=this._dimension.read(e);this._sizeObserver.observe(t)})),this._register((0,oT.EH)(e=>{let t=this._viewItems.read(e);this._elements.placeholder.classList.toggle("visible",0===t.length)})),this._scrollableElements.content.style.position="relative",this._register((0,oT.EH)(e=>{let t=this._sizeObserver.height.read(e);this._scrollableElements.root.style.height=`${t}px`;let i=this._totalHeight.read(e);this._scrollableElements.content.style.height=`${i}px`;let n=this._sizeObserver.width.read(e),s=n,o=this._viewItems.read(e),r=(0,oR.hV)(o,(0,eT.tT)(t=>t.maxScroll.read(e).maxScroll,eT.fv));if(r){let t=r.maxScroll.read(e);s=n+t.maxScroll}this._scrollableElement.setScrollDimensions({width:n,height:t,scrollHeight:i,scrollWidth:s})})),e.replaceChildren(this._elements.root),this._register((0,T.OF)(()=>{e.replaceChildren()})),this._register(this._register((0,oT.EH)(e=>{(0,oA.Bl)(t=>{this.render(e)})})))}render(e){let t=this.scrollTop.read(e),i=0,n=0,s=0,o=this._sizeObserver.height.read(e),r=oO.q.ofStartAndLength(t,o),l=this._sizeObserver.width.read(e);for(let a of this._viewItems.read(e)){let d=a.contentHeight.read(e),h=Math.min(d,o),u=oO.q.ofStartAndLength(n,h),c=oO.q.ofStartAndLength(s,d);if(c.isBefore(r))i-=d-h,a.hide();else if(c.isAfter(r))a.hide();else{let e=Math.max(0,Math.min(r.start-c.start,d-h));i-=e;let n=oO.q.ofStartAndLength(t+i,o);a.render(u,e,l,n)}n+=h+this._spaceBetweenPx,s+=d+this._spaceBetweenPx}this._scrollableElements.content.style.transform=`translateY(${-(t+i)}px)`}};oq=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([o$(4,ex.i6),o$(5,eM.TG)],oq);class oj extends T.JT{constructor(e,t,i,n){super(),this.viewModel=e,this._objectPool=t,this._scrollLeft=i,this._deltaScrollVertical=n,this._templateRef=this._register((0,oA.DN)(this,void 0)),this.contentHeight=(0,oT.nK)(this,e=>{var t,i,n;return null!==(n=null===(i=null===(t=this._templateRef.read(e))||void 0===t?void 0:t.object.contentHeight)||void 0===i?void 0:i.read(e))&&void 0!==n?n:this.viewModel.lastTemplateData.read(e).contentHeight}),this.maxScroll=(0,oT.nK)(this,e=>{var t,i;return null!==(i=null===(t=this._templateRef.read(e))||void 0===t?void 0:t.object.maxScroll.read(e))&&void 0!==i?i:{maxScroll:0,scrollWidth:0}}),this.template=(0,oT.nK)(this,e=>{var t;return null===(t=this._templateRef.read(e))||void 0===t?void 0:t.object}),this._isHidden=(0,oT.uh)(this,!1),this._isFocused=(0,oT.nK)(this,e=>{var t,i;return null!==(i=null===(t=this.template.read(e))||void 0===t?void 0:t.isFocused.read(e))&&void 0!==i&&i}),this.viewModel.setIsFocused(this._isFocused,void 0),this._register((0,oT.EH)(e=>{var t;let i=this._scrollLeft.read(e);null===(t=this._templateRef.read(e))||void 0===t||t.object.setScrollLeft(i)})),this._register((0,oT.EH)(e=>{let t=this._templateRef.read(e);if(!t)return;let i=this._isHidden.read(e);if(!i)return;let n=t.object.isFocused.read(e);n||this._clear()}))}dispose(){this._clear(),super.dispose()}toString(){var e;return`VirtualViewItem(${null===(e=this.viewModel.entry.value.modified)||void 0===e?void 0:e.uri.toString()})`}getKey(){return this.viewModel.getKey()}setViewState(e,t){var i;this.viewModel.collapsed.set(e.collapsed,t),this._updateTemplateData(t);let n=this.viewModel.lastTemplateData.get(),s=null===(i=e.selections)||void 0===i?void 0:i.map(oF.Y.liftSelection);this.viewModel.lastTemplateData.set({...n,selections:s},t);let o=this._templateRef.get();o&&s&&o.object.editor.setSelections(s)}_updateTemplateData(e){var t;let i=this._templateRef.get();i&&this.viewModel.lastTemplateData.set({contentHeight:i.object.contentHeight.get(),selections:null!==(t=i.object.editor.getSelections())&&void 0!==t?t:void 0},e)}_clear(){let e=this._templateRef.get();e&&(0,oA.PS)(t=>{this._updateTemplateData(t),e.object.hide(),this._templateRef.set(void 0,t)})}hide(){this._isHidden.set(!0,void 0)}render(e,t,i,n){this._isHidden.set(!1,void 0);let s=this._templateRef.get();if(!s){s=this._objectPool.getUnusedObj(new oV(this.viewModel,this._deltaScrollVertical)),this._templateRef.set(s,void 0);let e=this.viewModel.lastTemplateData.get().selections;e&&s.object.editor.setSelections(e)}s.object.render(e,i,t,n)}}(0,ti.P6G)("multiDiffEditor.headerBackground",{dark:"#262626",light:"tab.inactiveBackground",hcDark:"tab.inactiveBackground",hcLight:"tab.inactiveBackground"},(0,eH.NC)("multiDiffEditor.headerBackground","The background color of the diff editor's header")),(0,ti.P6G)("multiDiffEditor.background",{dark:"editorBackground",light:"editorBackground",hcDark:"editorBackground",hcLight:"editorBackground"},(0,eH.NC)("multiDiffEditor.background","The background color of the multi file diff editor")),(0,ti.P6G)("multiDiffEditor.border",{dark:"sideBarSectionHeader.border",light:"#cccccc",hcDark:"sideBarSectionHeader.border",hcLight:"#cccccc"},(0,eH.NC)("multiDiffEditor.border","The border color of the multi file diff editor"));let oG=class extends T.JT{constructor(e,t,i){super(),this._element=e,this._workbenchUIElementFactory=t,this._instantiationService=i,this._dimension=(0,oT.uh)(this,void 0),this._viewModel=(0,oT.uh)(this,void 0),this._widgetImpl=(0,oT.Be)(this,(e,t)=>((0,oM.NW)(oz,e),t.add(this._instantiationService.createInstance((0,oM.NW)(oq,e),this._element,this._dimension,this._viewModel,this._workbenchUIElementFactory)))),this._register((0,oT.jx)(this._widgetImpl))}};function oQ(e){let t=k.get(to.d);return t instanceof oa?t.addDynamicKeybindings(e.map(e=>({keybinding:e.keybinding,command:e.command,commandArgs:e.commandArgs,when:ex.Ao.deserialize(e.when)}))):(console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),T.JT.None)}oG=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(c=eM.TG,function(e,t){c(e,t,2)})],oG);var oZ=i(76515);function oY(e,t){return"boolean"==typeof e?e:t}function oJ(e,t){return"string"==typeof e?e:t}function oX(e,t=!1){t&&(e=e.map(function(e){return e.toLowerCase()}));let i=function(e){let t={};for(let i of e)t[i]=!0;return t}(e);return t?function(e){return void 0!==i[e.toLowerCase()]&&i.hasOwnProperty(e.toLowerCase())}:function(e){return void 0!==i[e]&&i.hasOwnProperty(e)}}function o0(e,t,i){let n;t=t.replace(/@@/g,`\x01`);let s=0;do n=!1,t=t.replace(/@(\w+)/g,function(i,s){n=!0;let o="";if("string"==typeof e[s])o=e[s];else if(e[s]&&e[s]instanceof RegExp)o=e[s].source;else{if(void 0===e[s])throw es(e,"language definition does not contain attribute '"+s+"', used at: "+t);throw es(e,"attribute reference '"+s+"' must be a string, used at: "+t)}return o?"(?:"+o+")":""}),s++;while(n&&s<5);t=t.replace(/\x01/g,"@");let o=(e.ignoreCase?"i":"")+(e.unicode?"u":"");if(i){let i=t.match(/\$[sS](\d\d?)/g);if(i){let i=null,n=null;return s=>{let r;return n&&i===s?n:(i=s,n=new RegExp((r=null,t.replace(/\$[sS](\d\d?)/g,function(t,i){return(null===r&&(r=s.split(".")).unshift(s),i&&i0&&"^"===i[0],this.name=this.name+": "+i,this.regex=o0(e,"^(?:"+(this.matchOnlyAtLineStart?i.substr(1):i)+")",!0)}setAction(e,t){this.action=function e(t,i,n){if(!n)return{token:""};if("string"==typeof n)return n;if(n.token||""===n.token){if("string"!=typeof n.token)throw es(t,"a 'token' attribute must be of type string, in rule: "+i);{let e={token:n.token};if(n.token.indexOf("$")>=0&&(e.tokenSubst=!0),"string"==typeof n.bracket){if("@open"===n.bracket)e.bracket=1;else if("@close"===n.bracket)e.bracket=-1;else throw es(t,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+i)}if(n.next){if("string"!=typeof n.next)throw es(t,"the next state must be a string value in rule: "+i);{let s=n.next;if(!/^(@pop|@push|@popall)$/.test(s)&&("@"===s[0]&&(s=s.substr(1)),0>s.indexOf("$")&&!function(e,t){let i=t;for(;i&&i.length>0;){let t=e.stateNames[i];if(t)return!0;let n=i.lastIndexOf(".");i=n<0?null:i.substr(0,n)}return!1}(t,eo(t,s,"",[],""))))throw es(t,"the next state '"+n.next+"' is not defined in rule: "+i);e.next=s}}return"number"==typeof n.goBack&&(e.goBack=n.goBack),"string"==typeof n.switchTo&&(e.switchTo=n.switchTo),"string"==typeof n.log&&(e.log=n.log),"string"==typeof n.nextEmbedded&&(e.nextEmbedded=n.nextEmbedded,t.usesEmbedded=!0),e}}if(Array.isArray(n)){let s=[];for(let o=0,r=n.length;od.indexOf("$")){let t=o0(e,"^"+d+"$",!1);s=function(e){return"~"===a?t.test(e):!t.test(e)}}else s=function(t,i,n,s){let o=o0(e,"^"+eo(e,d,i,n,s)+"$",!1);return o.test(t)}}else if(0>d.indexOf("$")){let t=ei(e,d);s=function(e){return"=="===a?e===t:e!==t}}else{let t=ei(e,d);s=function(i,n,s,o,r){let l=eo(e,t,n,s,o);return"=="===a?i===l:i!==l}}return -1===o?{name:i,value:n,test:function(e,t,i,n){return s(e,e,t,i,n)}}:{name:i,value:n,test:function(e,t,i,n){let r=function(e,t,i,n){if(n<0)return e;if(n=100){n-=100;let e=i.split(".");if(e.unshift(i),n=1&&r.length<=3){if(e.setRegex(t,r[0]),r.length>=3){if("string"==typeof r[1])e.setAction(t,{token:r[1],next:r[2]});else if("object"==typeof r[1]){let i=r[1];i.next=r[2],e.setAction(t,i)}else throw es(i,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+n)}else e.setAction(t,r[1])}else{if(!r.regex)throw es(i,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+n);r.name&&"string"==typeof r.name&&(e.name=r.name),r.matchOnlyAtStart&&(e.matchOnlyAtLineStart=oY(r.matchOnlyAtLineStart,!1)),e.setRegex(t,r.regex),e.setAction(t,r.action)}s.push(e)}}}("tokenizer."+e,i.tokenizer[e],n)}if(i.usesEmbedded=t.usesEmbedded,t.brackets){if(!Array.isArray(t.brackets))throw es(i,"the 'brackets' attribute must be defined as an array")}else t.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];let n=[];for(let e of t.brackets){let t=e;if(t&&Array.isArray(t)&&3===t.length&&(t={token:t[2],open:t[0],close:t[1]}),t.open===t.close)throw es(i,"open and close brackets in a 'brackets' attribute must be different: "+t.open+"\n hint: use the 'bracket' attribute if matching on equal brackets is required.");if("string"==typeof t.open&&"string"==typeof t.token&&"string"==typeof t.close)n.push({token:t.token+i.tokenPostfix,open:ei(i,t.open),close:ei(i,t.close)});else throw es(i,"every element in the 'brackets' array must be a '{open,close,token}' object or array")}return i.brackets=n,i.noThrow=!0,i}class o4{constructor(e,t){this._languageId=e,this._actual=t}dispose(){}getInitialState(){return this._actual.getInitialState()}tokenize(e,t,i){if("function"==typeof this._actual.tokenize)return o5.adaptTokenize(this._languageId,this._actual,e,i);throw Error("Not supported!")}tokenizeEncoded(e,t,i){let n=this._actual.tokenizeEncoded(e,i);return new K.DI(n.tokens,n.endState)}}class o5{constructor(e,t,i,n){this._languageId=e,this._actual=t,this._languageService=i,this._standaloneThemeService=n}dispose(){}getInitialState(){return this._actual.getInitialState()}static _toClassicTokens(e,t){let i=[],n=0;for(let s=0,o=e.length;s0&&s[o-1]===a)continue;let d=l.startIndex;0===e?d=0:d{let i=await Promise.resolve(t.create());return i?"function"==typeof i.getInitialState?o7(e,i):new em(k.get(U.O),k.get(sN.Z),e,o2(e,i),k.get(el.Ui)):null});return K.RW.registerFactory(e,i)}var o6=i(83323);N.BH.wrappingIndent.defaultValue=0,N.BH.glyphMargin.defaultValue=!1,N.BH.autoIndent.defaultValue=3,N.BH.overviewRulerLanes.defaultValue=2,o6.xC.setFormatterSelector((e,t,i)=>Promise.resolve(e[0]));let o9=(0,E.O)();o9.editor={create:function(e,t,i){let n=k.initialize(i||{});return n.createInstance(ox,e,t)},getEditors:function(){let e=k.get(O.$);return e.listCodeEditors()},getDiffEditors:function(){let e=k.get(O.$);return e.listDiffEditors()},onDidCreateEditor:function(e){let t=k.get(O.$);return t.onCodeEditorAdd(t=>{e(t)})},onDidCreateDiffEditor:function(e){let t=k.get(O.$);return t.onDiffEditorAdd(t=>{e(t)})},createDiffEditor:function(e,t,i){let n=k.initialize(i||{});return n.createInstance(oN,e,t)},addCommand:function(e){if("string"!=typeof e.id||"function"!=typeof e.run)throw Error("Invalid command descriptor, `id` and `run` are required properties!");return tK.P.registerCommand(e.id,e.run)},addEditorAction:function(e){if("string"!=typeof e.id||"string"!=typeof e.label||"function"!=typeof e.run)throw Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");let t=ex.Ao.deserialize(e.precondition),i=new T.SL;if(i.add(tK.P.registerCommand(e.id,(i,...n)=>P._l.runEditorCommand(i,n,t,(t,i,n)=>Promise.resolve(e.run(i,...n))))),e.contextMenuGroupId){let n={command:{id:e.id,title:e.label},when:t,group:e.contextMenuGroupId,order:e.contextMenuOrder||0};i.add(iI.BH.appendMenuItem(iI.eH.EditorContext,n))}if(Array.isArray(e.keybindings)){let n=k.get(to.d);if(n instanceof oa){let s=ex.Ao.and(t,ex.Ao.deserialize(e.keybindingContext));i.add(n.addDynamicKeybindings(e.keybindings.map(t=>({keybinding:t,command:e.id,when:s}))))}else console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService")}return i},addKeybindingRule:function(e){return oQ([e])},addKeybindingRules:oQ,createModel:function(e,t,i){let n=k.get(U.O),s=n.getLanguageIdByMimeType(t)||t;return oE(k.get(Q.q),n,e,s,i)},setModelLanguage:function(e,t){let i=k.get(U.O),n=i.getLanguageIdByMimeType(t)||t||q.bd;e.setLanguage(i.createById(n))},setModelMarkers:function(e,t,i){if(e){let n=k.get(i3.lT);n.changeOne(t,e.uri,i)}},getModelMarkers:function(e){let t=k.get(i3.lT);return t.read(e)},removeAllMarkers:function(e){let t=k.get(i3.lT);t.changeAll(e,[])},onDidChangeMarkers:function(e){let t=k.get(i3.lT);return t.onMarkerChanged(e)},getModels:function(){let e=k.get(Q.q);return e.getModels()},getModel:function(e){let t=k.get(Q.q);return t.getModel(e)},onDidCreateModel:function(e){let t=k.get(Q.q);return t.onModelAdded(e)},onWillDisposeModel:function(e){let t=k.get(Q.q);return t.onModelRemoved(e)},onDidChangeModelLanguage:function(e){let t=k.get(Q.q);return t.onModelLanguageChanged(t=>{e({model:t.model,oldLanguage:t.oldLanguageId})})},createWebWorker:function(e){var t,i;return t=k.get(Q.q),i=k.get($.c_),new W(t,i,e)},colorizeElement:function(e,t){let i=k.get(U.O),n=k.get(sN.Z);return e_.colorizeElement(n,i,e,t).then(()=>{n.registerEditorContainer(e)})},colorize:function(e,t,i){let n=k.get(U.O),s=k.get(sN.Z);return s.registerEditorContainer(I.E.document.body),e_.colorize(n,e,t,i)},colorizeModelLine:function(e,t,i=4){let n=k.get(sN.Z);return n.registerEditorContainer(I.E.document.body),e_.colorizeModelLine(e,t,i)},tokenize:function(e,t){K.RW.getOrCreate(t);let i=function(e){let t=K.RW.get(e);return t||{getInitialState:()=>j.TJ,tokenize:(t,i,n)=>(0,j.Ri)(e,n)}}(t),n=(0,M.uq)(e),s=[],o=i.getInitialState();for(let e=0,t=n.length;e("string"==typeof t&&(t=R.o.parse(t)),e.open(t))})},registerEditorOpener:function(e){let t=k.get(O.$);return t.registerCodeEditorOpenHandler(async(t,i,n)=>{var s;let o;if(!i)return null;let r=null===(s=t.options)||void 0===s?void 0:s.selection;return(r&&"number"==typeof r.endLineNumber&&"number"==typeof r.endColumn?o=r:r&&(o={lineNumber:r.startLineNumber,column:r.startColumn}),await e.openCodeEditor(i,t.resource,o))?i:null})},AccessibilitySupport:Z.ao,ContentWidgetPositionPreference:Z.r3,CursorChangeReason:Z.Vi,DefaultEndOfLine:Z._x,EditorAutoIndentStrategy:Z.rf,EditorOption:Z.wT,EndOfLinePreference:Z.gm,EndOfLineSequence:Z.jl,MinimapPosition:Z.F5,MinimapSectionHeaderStyle:Z.WG,MouseTargetType:Z.MG,OverlayWidgetPositionPreference:Z.E$,OverviewRulerLane:Z.sh,GlyphMarginLane:Z.U,RenderLineNumbersType:Z.Lu,RenderMinimap:Z.vQ,ScrollbarVisibility:Z.g_,ScrollType:Z.g4,TextEditorCursorBlinkingStyle:Z.In,TextEditorCursorStyle:Z.d2,TrackedRangeStickiness:Z.OI,WrappingIndent:Z.up,InjectedTextCursorStops:Z.RM,PositionAffinity:Z.py,ShowLightbulbIconMode:Z.$r,ConfigurationChangedEvent:N.Bb,BareFontInfo:V.E4,FontInfo:V.pR,TextModelResolvedOptions:G.dJ,FindMatch:G.tk,ApplyUpdateResult:N.rk,EditorZoom:H.C,createMultiFileDiffEditor:function(e,t){let i=k.initialize(t||{});return new oG(e,{},i)},EditorType:z.g,EditorOptions:N.BH},o9.languages={register:function(e){q.dQ.registerLanguage(e)},getLanguages:function(){return[].concat(q.dQ.getLanguages())},onLanguage:function(e,t){return k.withServices(()=>{let i=k.get(U.O),n=i.onDidRequestRichLanguageFeatures(i=>{i===e&&(n.dispose(),t())});return n})},onLanguageEncountered:function(e,t){return k.withServices(()=>{let i=k.get(U.O),n=i.onDidRequestBasicLanguageFeatures(i=>{i===e&&(n.dispose(),t())});return n})},getEncodedLanguageId:function(e){let t=k.get(U.O);return t.languageIdCodec.encodeLanguageId(e)},setLanguageConfiguration:function(e,t){let i=k.get(U.O);if(!i.isRegisteredLanguageId(e))throw Error(`Cannot set configuration for unknown language ${e}`);let n=k.get($.c_);return n.register(e,t,100)},setColorMap:function(e){let t=k.get(sN.Z);if(e){let i=[null];for(let t=1,n=e.length;tt}):K.RW.register(e,o7(e,t))},setMonarchTokensProvider:function(e,t){return o3(t)?o8(e,{create:()=>t}):K.RW.register(e,new em(k.get(U.O),k.get(sN.Z),e,o2(e,t),k.get(el.Ui)))},registerReferenceProvider:function(e,t){let i=k.get(tt.p);return i.referenceProvider.register(e,t)},registerRenameProvider:function(e,t){let i=k.get(tt.p);return i.renameProvider.register(e,t)},registerNewSymbolNameProvider:function(e,t){let i=k.get(tt.p);return i.newSymbolNamesProvider.register(e,t)},registerCompletionItemProvider:function(e,t){let i=k.get(tt.p);return i.completionProvider.register(e,t)},registerSignatureHelpProvider:function(e,t){let i=k.get(tt.p);return i.signatureHelpProvider.register(e,t)},registerHoverProvider:function(e,t){let i=k.get(tt.p);return i.hoverProvider.register(e,{provideHover:async(e,i,n,s)=>{let o=e.getWordAtPosition(i);return Promise.resolve(t.provideHover(e,i,n,s)).then(e=>{if(e)return!e.range&&o&&(e.range=new tH.e(i.lineNumber,o.startColumn,i.lineNumber,o.endColumn)),e.range||(e.range=new tH.e(i.lineNumber,i.column,i.lineNumber,i.column)),e})}})},registerDocumentSymbolProvider:function(e,t){let i=k.get(tt.p);return i.documentSymbolProvider.register(e,t)},registerDocumentHighlightProvider:function(e,t){let i=k.get(tt.p);return i.documentHighlightProvider.register(e,t)},registerLinkedEditingRangeProvider:function(e,t){let i=k.get(tt.p);return i.linkedEditingRangeProvider.register(e,t)},registerDefinitionProvider:function(e,t){let i=k.get(tt.p);return i.definitionProvider.register(e,t)},registerImplementationProvider:function(e,t){let i=k.get(tt.p);return i.implementationProvider.register(e,t)},registerTypeDefinitionProvider:function(e,t){let i=k.get(tt.p);return i.typeDefinitionProvider.register(e,t)},registerCodeLensProvider:function(e,t){let i=k.get(tt.p);return i.codeLensProvider.register(e,t)},registerCodeActionProvider:function(e,t,i){let n=k.get(tt.p);return n.codeActionProvider.register(e,{providedCodeActionKinds:null==i?void 0:i.providedCodeActionKinds,documentation:null==i?void 0:i.documentation,provideCodeActions:(e,i,n,s)=>{let o=k.get(i3.lT),r=o.read({resource:e.uri}).filter(e=>tH.e.areIntersectingOrTouching(e,i));return t.provideCodeActions(e,i,{markers:r,only:n.only,trigger:n.trigger},s)},resolveCodeAction:t.resolveCodeAction})},registerDocumentFormattingEditProvider:function(e,t){let i=k.get(tt.p);return i.documentFormattingEditProvider.register(e,t)},registerDocumentRangeFormattingEditProvider:function(e,t){let i=k.get(tt.p);return i.documentRangeFormattingEditProvider.register(e,t)},registerOnTypeFormattingEditProvider:function(e,t){let i=k.get(tt.p);return i.onTypeFormattingEditProvider.register(e,t)},registerLinkProvider:function(e,t){let i=k.get(tt.p);return i.linkProvider.register(e,t)},registerColorProvider:function(e,t){let i=k.get(tt.p);return i.colorProvider.register(e,t)},registerFoldingRangeProvider:function(e,t){let i=k.get(tt.p);return i.foldingRangeProvider.register(e,t)},registerDeclarationProvider:function(e,t){let i=k.get(tt.p);return i.declarationProvider.register(e,t)},registerSelectionRangeProvider:function(e,t){let i=k.get(tt.p);return i.selectionRangeProvider.register(e,t)},registerDocumentSemanticTokensProvider:function(e,t){let i=k.get(tt.p);return i.documentSemanticTokensProvider.register(e,t)},registerDocumentRangeSemanticTokensProvider:function(e,t){let i=k.get(tt.p);return i.documentRangeSemanticTokensProvider.register(e,t)},registerInlineCompletionsProvider:function(e,t){let i=k.get(tt.p);return i.inlineCompletionsProvider.register(e,t)},registerInlineEditProvider:function(e,t){let i=k.get(tt.p);return i.inlineEditProvider.register(e,t)},registerInlayHintsProvider:function(e,t){let i=k.get(tt.p);return i.inlayHintsProvider.register(e,t)},DocumentHighlightKind:Z.MY,CompletionItemKind:Z.cm,CompletionItemTag:Z.we,CompletionItemInsertTextRule:Z.a7,SymbolKind:Z.cR,SymbolTag:Z.r4,IndentAction:Z.wU,CompletionTriggerKind:Z.Ij,SignatureHelpTriggerKind:Z.WW,InlayHintKind:Z.gl,InlineCompletionTriggerKind:Z.bw,InlineEditTriggerKind:Z.rn,CodeActionTriggerType:Z.np,NewSymbolNameTag:Z.w,NewSymbolNameTriggerKind:Z.Ll,PartialAcceptTriggerKind:Z.NA,HoverVerbosityAction:Z.bq,FoldingRangeKind:K.AD,SelectedSuggestionInfo:K.ln};let re=o9.CancellationTokenSource,rt=o9.Emitter,ri=o9.KeyCode,rn=o9.KeyMod,rs=o9.Position,ro=o9.Range,rr=o9.Selection,rl=o9.SelectionDirection,ra=o9.MarkerSeverity,rd=o9.MarkerTag,rh=o9.Uri,ru=o9.Token,rc=o9.editor,rg=o9.languages,rp=globalThis.MonacoEnvironment;((null==rp?void 0:rp.globalAPI)||"function"==typeof define&&i.amdO)&&(globalThis.monaco=o9),void 0!==globalThis.require&&"function"==typeof globalThis.require.config&&globalThis.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]}),i(88429),self.MonacoEnvironment=(g={editorWorkerService:"static/editor.worker.js"},{globalAPI:!1,getWorkerUrl:function(e,t){var n=i.p,s=(n?n.replace(/\/$/,"")+"/":"")+g[t];if(/^((http:)|(https:)|(file:)|(\/\/))/.test(s)){var o=String(window.location),r=o.substr(0,o.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(s.substring(0,r.length)!==r){/^(\/\/)/.test(s)&&(s=window.location.protocol+s);var l="/*"+t+'*/importScripts("'+s+'");',a=new Blob([l],{type:"application/javascript"});return URL.createObjectURL(a)}}return s}});var rm=D},5938:function(e,t,i){"use strict";i.d(t,{$W:function(){return m},Dt:function(){return g},G6:function(){return u},MG:function(){return c},Pf:function(){return d},i7:function(){return h},ie:function(){return r},uB:function(){return o},vU:function(){return a}});var n=i(44709);class s{constructor(){this.mapWindowIdToZoomFactor=new Map}getZoomFactor(e){var t;return null!==(t=this.mapWindowIdToZoomFactor.get(this.getWindowId(e)))&&void 0!==t?t:1}getWindowId(e){return e.vscodeWindowId}}function o(e,t,i){"string"==typeof t&&(t=e.matchMedia(t)),t.addEventListener("change",i)}function r(e){return s.INSTANCE.getZoomFactor(e)}s.INSTANCE=new s;let l=navigator.userAgent,a=l.indexOf("Firefox")>=0,d=l.indexOf("AppleWebKit")>=0,h=l.indexOf("Chrome")>=0,u=!h&&l.indexOf("Safari")>=0,c=!h&&!u&&d;l.indexOf("Electron/");let g=l.indexOf("Android")>=0,p=!1;if("function"==typeof n.E.matchMedia){let e=n.E.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),t=n.E.matchMedia("(display-mode: fullscreen)");p=e.matches,o(n.E,e,({matches:e})=>{p&&t.matches||(p=e)})}function m(){return p}},67346:function(e,t,i){"use strict";i.d(t,{D:function(){return r}});var n=i(5938),s=i(44709),o=i(58022);let r={clipboard:{writeText:o.tY||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:o.tY||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:o.tY||n.$W()?0:navigator.keyboard||n.G6?1:2,touch:"ontouchstart"in s.E||navigator.maxTouchPoints>0,pointerEvents:s.E.PointerEvent&&("ontouchstart"in s.E||navigator.maxTouchPoints>0)}},38431:function(e,t,i){"use strict";i.d(t,{g:function(){return s}});var n=i(16735);let s={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:n.v.text,INTERNAL_URI_LIST:"application/vnd.code.uri-list"}},81845:function(e,t,i){"use strict";let n,s;i.d(t,{$:function(){return eR},$Z:function(){return eP},Ay:function(){return ei},Ce:function(){return eE},Cp:function(){return eO},D6:function(){return function e(t,i){let n=w(t),s=n.document;if(t!==s.body)return new K(t.clientWidth,t.clientHeight);if(_.gn&&(null==n?void 0:n.visualViewport))return new K(n.visualViewport.width,n.visualViewport.height);if((null==n?void 0:n.innerWidth)&&n.innerHeight)return new K(n.innerWidth,n.innerHeight);if(s.body&&s.body.clientWidth&&s.body.clientHeight)return new K(s.body.clientWidth,s.body.clientHeight);if(s.documentElement&&s.documentElement.clientWidth&&s.documentElement.clientHeight)return new K(s.documentElement.clientWidth,s.documentElement.clientHeight);if(i)return e(i);throw Error("Unable to figure out browser width and height")}},Dx:function(){return V},FK:function(){return Q},GQ:function(){return O},H9:function(){return es},I8:function(){return j},If:function(){return Z},Jc:function(){return E},Jj:function(){return w},N5:function(){return ev},OO:function(){return et},PO:function(){return T},R3:function(){return eN},Re:function(){return ef},Ro:function(){return K},Uh:function(){return eF},V3:function(){return eB},WN:function(){return el},XT:function(){return function e(t,i){if(void 0!==t){let n=t.match(/^\s*var\((.+)\)$/);if(n){let t=n[1].split(",",2);return 2===t.length&&(i=e(t[1].trim(),i)),`var(${t[0]}, ${i})`}return t}return i}},Xo:function(){return N},ZY:function(){return k},_0:function(){return eL},_F:function(){return ez},_h:function(){return eV},_q:function(){return eU},aU:function(){return ed},b5:function(){return eo},bg:function(){return e_},cl:function(){return ew},dS:function(){return eu},dp:function(){return $},e4:function(){return ex},ed:function(){return D},eg:function(){return e$},ey:function(){return I},fk:function(){return function e(t,i,n=ep()){var s,o;if(n&&i)for(let r of(null===(s=n.sheet)||void 0===s||s.insertRule(`${t} {${i}}`,0),null!==(o=ea.get(n))&&void 0!==o?o:[]))e(t,i,r)}},go:function(){return eD},h:function(){return ej},i:function(){return q},iJ:function(){return eA},jL:function(){return s},jg:function(){return J},jt:function(){return eW},lI:function(){return n},mc:function(){return eI},mu:function(){return P},ne:function(){return W},nm:function(){return R},sQ:function(){return eK},se:function(){return F},tw:function(){return eC},uN:function(){return function e(t,i=ep()){var n,s;if(!i)return;let o=em(i),r=[];for(let e=0;e=0;e--)null===(n=i.sheet)||void 0===n||n.deleteRule(r[e]);for(let n of null!==(s=ea.get(i))&&void 0!==s?s:[])e(t,n)}},uP:function(){return er},uU:function(){return X},vL:function(){return eS},vY:function(){return en},vd:function(){return eb},vx:function(){return B},w:function(){return G},wY:function(){return eH},wn:function(){return Y},xQ:function(){return U},zB:function(){return ey}});var o,r,l=i(5938),a=i(67346),d=i(69629),h=i(69362),u=i(44532),c=i(32378),g=i(79915),p=i(91064),m=i(70784),f=i(72249),_=i(58022),v=i(36922),b=i(44709);let{registerWindow:C,getWindow:w,getDocument:y,getWindows:S,getWindowsCount:L,getWindowId:k,getWindowById:D,hasWindow:x,onDidRegisterWindow:N,onWillUnregisterWindow:E,onDidUnregisterWindow:I}=function(){let e=new Map;(0,b.H)(b.E,1);let t={window:b.E,disposables:new m.SL};e.set(b.E.vscodeWindowId,t);let i=new g.Q5,n=new g.Q5,s=new g.Q5;return{onDidRegisterWindow:i.event,onWillUnregisterWindow:s.event,onDidUnregisterWindow:n.event,registerWindow(t){if(e.has(t.vscodeWindowId))return m.JT.None;let o=new m.SL,r={window:t,disposables:o.add(new m.SL)};return e.set(t.vscodeWindowId,r),o.add((0,m.OF)(()=>{e.delete(t.vscodeWindowId),n.fire(t)})),o.add(R(t,eC.BEFORE_UNLOAD,()=>{s.fire(t)})),i.fire(r),o},getWindows:()=>e.values(),getWindowsCount:()=>e.size,getWindowId:e=>e.vscodeWindowId,hasWindow:t=>e.has(t),getWindowById:function(i,n){let s="number"==typeof i?e.get(i):void 0;return null!=s?s:n?t:void 0},getWindow(e){var t;return(null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)?e.ownerDocument.defaultView.window:(null==e?void 0:e.view)?e.view.window:b.E},getDocument:e=>w(e).document}}();function T(e){for(;e.firstChild;)e.firstChild.remove()}class M{constructor(e,t,i,n){this._node=e,this._type=t,this._handler=i,this._options=n||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function R(e,t,i,n){return new M(e,t,i,n)}function A(e,t){return function(i){return t(new h.n(e,i))}}let P=function(e,t,i,n){let s=i;return"click"===t||"mousedown"===t||"contextmenu"===t?s=A(w(e),i):("keydown"===t||"keypress"===t||"keyup"===t)&&(s=function(e){return i(new d.y(e))}),R(e,t,s,n)},O=function(e,t,i){let n=A(w(e),t);return R(e,_.gn&&a.D.pointerEvents?eC.POINTER_DOWN:eC.MOUSE_DOWN,n,i)};function F(e,t,i){return(0,u.y5)(e,t,i)}class B extends u.hF{constructor(e,t){super(e,t)}}class W extends u.zh{constructor(e){super(),this.defaultTarget=e&&w(e)}cancelAndSet(e,t,i){return super.cancelAndSet(e,t,null!=i?i:this.defaultTarget)}}class H{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){(0,c.dL)(e)}}static sort(e,t){return t.priority-e.priority}}function V(e){return w(e).getComputedStyle(e,null)}!function(){let e=new Map,t=new Map,i=new Map,o=new Map,r=n=>{var s;i.set(n,!1);let r=null!==(s=e.get(n))&&void 0!==s?s:[];for(t.set(n,r),e.set(n,[]),o.set(n,!0);r.length>0;){r.sort(H.sort);let e=r.shift();e.execute()}o.set(n,!1)};s=(t,n,s=0)=>{let o=k(t),l=new H(n,s),a=e.get(o);return a||(a=[],e.set(o,a)),a.push(l),i.get(o)||(i.set(o,!0),t.requestAnimationFrame(()=>r(o))),l},n=(e,i,n)=>{let r=k(e);if(!o.get(r))return s(e,i,n);{let e=new H(i,n),s=t.get(r);return s||(s=[],t.set(r,s)),s.push(e),e}}}();class z{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,i){let n=V(e),s=n?n.getPropertyValue(t):"0";return z.convertToPixels(e,s)}static getBorderLeftWidth(e){return z.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return z.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return z.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return z.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return z.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return z.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return z.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return z.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return z.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return z.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return z.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return z.getDimension(e,"margin-bottom","marginBottom")}}class K{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new K(e,t):this}static is(e){return"object"==typeof e&&"number"==typeof e.height&&"number"==typeof e.width}static lift(e){return e instanceof K?e:new K(e.width,e.height)}static equals(e,t){return e===t||!!e&&!!t&&e.width===t.width&&e.height===t.height}}function U(e){let t=e.offsetParent,i=e.offsetTop,n=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==e.ownerDocument.body&&e!==e.ownerDocument.documentElement;){i-=e.scrollTop;let s=ee(e)?null:V(e);s&&(n-="rtl"!==s.direction?e.scrollLeft:-e.scrollLeft),e===t&&(n+=z.getBorderLeftWidth(e),i+=z.getBorderTopWidth(e)+e.offsetTop,n+=e.offsetLeft,t=e.offsetParent)}return{left:n,top:i}}function $(e,t,i){"number"==typeof t&&(e.style.width=`${t}px`),"number"==typeof i&&(e.style.height=`${i}px`)}function q(e){let t=e.getBoundingClientRect(),i=w(e);return{left:t.left+i.scrollX,top:t.top+i.scrollY,width:t.width,height:t.height}}function j(e){let t=e,i=1;do{let e=V(t).zoom;null!=e&&"1"!==e&&(i*=e),t=t.parentElement}while(null!==t&&t!==t.ownerDocument.documentElement);return i}function G(e){let t=z.getMarginLeft(e)+z.getMarginRight(e);return e.offsetWidth+t}function Q(e){let t=z.getBorderLeftWidth(e)+z.getBorderRightWidth(e),i=z.getPaddingLeft(e)+z.getPaddingRight(e);return e.offsetWidth-t-i}function Z(e){let t=z.getBorderTopWidth(e)+z.getBorderBottomWidth(e),i=z.getPaddingTop(e)+z.getPaddingBottom(e);return e.offsetHeight-t-i}function Y(e){let t=z.getMarginTop(e)+z.getMarginBottom(e);return e.offsetHeight+t}function J(e,t){return!!(null==t?void 0:t.contains(e))}function X(e,t,i){return!!function(e,t,i){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e.classList.contains(t))return e;if(i){if("string"==typeof i){if(e.classList.contains(i))break}else if(e===i)break}e=e.parentNode}return null}(e,t,i)}function ee(e){return e&&!!e.host&&!!e.mode}function et(e){return!!ei(e)}function ei(e){for(var t;e.parentNode;){if(e===(null===(t=e.ownerDocument)||void 0===t?void 0:t.body))return null;e=e.parentNode}return ee(e)?e:null}function en(){let e=er().activeElement;for(;null==e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function es(e){return en()===e}function eo(e){return J(en(),e)}function er(){var e;if(1>=L())return b.E.document;let t=Array.from(S()).map(({window:e})=>e.document);return null!==(e=t.find(e=>e.hasFocus()))&&void 0!==e?e:b.E.document}function el(){var e,t;let i=er();return null!==(t=null===(e=i.defaultView)||void 0===e?void 0:e.window)&&void 0!==t?t:b.E}K.None=new K(0,0);let ea=new Map;function ed(){return new eh}class eh{constructor(){this._currentCssStyle="",this._styleSheet=void 0}setStyle(e){e!==this._currentCssStyle&&(this._currentCssStyle=e,this._styleSheet?this._styleSheet.innerText=e:this._styleSheet=eu(b.E.document.head,t=>t.innerText=e))}dispose(){this._styleSheet&&(this._styleSheet.remove(),this._styleSheet=void 0)}}function eu(e=b.E.document.head,t,i){let n=document.createElement("style");if(n.type="text/css",n.media="screen",null==t||t(n),e.appendChild(n),i&&i.add((0,m.OF)(()=>e.removeChild(n))),e===b.E.document.head){let e=new Set;for(let{window:t,disposables:s}of(ea.set(n,e),S())){if(t===b.E)continue;let o=s.add(function(e,t,i){var n,s;let o=new m.SL,r=e.cloneNode(!0);for(let t of(i.document.head.appendChild(r),o.add((0,m.OF)(()=>i.document.head.removeChild(r))),em(e)))null===(n=r.sheet)||void 0===n||n.insertRule(t.cssText,null===(s=r.sheet)||void 0===s?void 0:s.cssRules.length);return o.add(ec.observe(e,o,{childList:!0})(()=>{r.textContent=e.textContent})),t.add(r),o.add((0,m.OF)(()=>t.delete(r))),o}(n,e,t));null==i||i.add(o)}}return n}let ec=new class{constructor(){this.mutationObservers=new Map}observe(e,t,i){let n=this.mutationObservers.get(e);n||(n=new Map,this.mutationObservers.set(e,n));let s=(0,v.vp)(i),o=n.get(s);if(o)o.users+=1;else{let r=new g.Q5,l=new MutationObserver(e=>r.fire(e));l.observe(e,i);let a=o={users:1,observer:l,onDidMutate:r.event};t.add((0,m.OF)(()=>{a.users-=1,0===a.users&&(r.dispose(),l.disconnect(),null==n||n.delete(s),(null==n?void 0:n.size)===0&&this.mutationObservers.delete(e))})),n.set(s,o)}return o.onDidMutate}},eg=null;function ep(){return eg||(eg=eu()),eg}function em(e){var t,i;return(null===(t=null==e?void 0:e.sheet)||void 0===t?void 0:t.rules)?e.sheet.rules:(null===(i=null==e?void 0:e.sheet)||void 0===i?void 0:i.cssRules)?e.sheet.cssRules:[]}function ef(e){return e instanceof HTMLElement||e instanceof w(e).HTMLElement}function e_(e){return e instanceof HTMLAnchorElement||e instanceof w(e).HTMLAnchorElement}function ev(e){return e instanceof MouseEvent||e instanceof w(e).MouseEvent}function eb(e){return e instanceof KeyboardEvent||e instanceof w(e).KeyboardEvent}let eC={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",POINTER_LEAVE:"pointerleave",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",PAGE_SHOW:"pageshow",PAGE_HIDE:"pagehide",PASTE:"paste",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:l.Pf?"webkitAnimationStart":"animationstart",ANIMATION_END:l.Pf?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:l.Pf?"webkitAnimationIteration":"animationiteration"};function ew(e){return!!(e&&"function"==typeof e.preventDefault&&"function"==typeof e.stopPropagation)}let ey={stop:(e,t)=>(e.preventDefault(),t&&e.stopPropagation(),e)};function eS(e){let t=[];for(let i=0;e&&e.nodeType===e.ELEMENT_NODE;i++)t[i]=e.scrollTop,e=e.parentNode;return t}function eL(e,t){for(let i=0;e&&e.nodeType===e.ELEMENT_NODE;i++)e.scrollTop!==t[i]&&(e.scrollTop=t[i]),e=e.parentNode}class ek extends m.JT{static hasFocusWithin(e){if(!ef(e))return J(e.document.activeElement,e.document);{let t=ei(e),i=t?t.activeElement:e.ownerDocument.activeElement;return J(i,e)}}constructor(e){super(),this._onDidFocus=this._register(new g.Q5),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new g.Q5),this.onDidBlur=this._onDidBlur.event;let t=ek.hasFocusWithin(e),i=!1,n=()=>{i=!1,t||(t=!0,this._onDidFocus.fire())},s=()=>{t&&(i=!0,(ef(e)?w(e):e).setTimeout(()=>{i&&(i=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{let i=ek.hasFocusWithin(e);i!==t&&(t?s():n())},this._register(R(e,eC.FOCUS,n,!0)),this._register(R(e,eC.BLUR,s,!0)),ef(e)&&(this._register(R(e,eC.FOCUS_IN,()=>this._refreshStateHandler())),this._register(R(e,eC.FOCUS_OUT,()=>this._refreshStateHandler())))}}function eD(e){return new ek(e)}function ex(e,t){return e.after(t),t}function eN(e,...t){if(e.append(...t),1===t.length&&"string"!=typeof t[0])return t[0]}function eE(e,t){return e.insertBefore(t,e.firstChild),t}function eI(e,...t){e.innerText="",eN(e,...t)}let eT=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;function eM(e,t,i,...n){let s;let o=eT.exec(t);if(!o)throw Error("Bad use of emmet");let l=o[1]||"div";return s=e!==r.HTML?document.createElementNS(e,l):document.createElement(l),o[3]&&(s.id=o[3]),o[4]&&(s.className=o[4].replace(/\./g," ").trim()),i&&Object.entries(i).forEach(([e,t])=>{void 0!==t&&(/^on\w+$/.test(e)?s[e]=t:"selected"===e?t&&s.setAttribute(e,"true"):s.setAttribute(e,t))}),s.append(...n),s}function eR(e,t,...i){return eM(r.HTML,e,t,...i)}function eA(e,...t){e?eP(...t):eO(...t)}function eP(...e){for(let t of e)t.style.display="",t.removeAttribute("aria-hidden")}function eO(...e){for(let t of e)t.style.display="none",t.setAttribute("aria-hidden","true")}function eF(e,t){let i=e.devicePixelRatio*t;return Math.max(1,Math.floor(i))/e.devicePixelRatio}function eB(e){b.E.open(e,"_blank","noopener")}function eW(e,t){let i=()=>{t(),n=s(e,i)},n=s(e,i);return(0,m.OF)(()=>n.dispose())}function eH(e){return e?`url('${f.Gi.uriToBrowserUri(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"}function eV(e){return`'${e.replace(/'/g,"%27")}'`}function ez(e,t=!1){let i=document.createElement("a");return p.v5("afterSanitizeAttributes",n=>{for(let s of["href","src"])if(n.hasAttribute(s)){let o=n.getAttribute(s);if("href"===s&&o.startsWith("#"))continue;if(i.href=o,!e.includes(i.protocol.replace(/:$/,""))){if(t&&"src"===s&&i.href.startsWith("data:"))continue;n.removeAttribute(s)}}}),(0,m.OF)(()=>{p.ok("afterSanitizeAttributes")})}(o=r||(r={})).HTML="http://www.w3.org/1999/xhtml",o.SVG="http://www.w3.org/2000/svg",eR.SVG=function(e,t,...i){return eM(r.SVG,e,t,...i)},f.WX.setPreferredWebSchema(/^https:/.test(b.E.location.href)?"https":"http");let eK=Object.freeze(["a","abbr","b","bdo","blockquote","br","caption","cite","code","col","colgroup","dd","del","details","dfn","div","dl","dt","em","figcaption","figure","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","label","li","mark","ol","p","pre","q","rp","rt","ruby","samp","small","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","time","tr","tt","u","ul","var","video","wbr"]);Object.freeze({ALLOWED_TAGS:["a","button","blockquote","code","div","h1","h2","h3","h4","h5","h6","hr","input","label","li","p","pre","select","small","span","strong","textarea","ul","ol"],ALLOWED_ATTR:["href","data-href","data-command","target","title","name","src","alt","class","id","role","tabindex","style","data-code","width","height","align","x-dispatch","required","checked","placeholder","type","start"],RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1,RETURN_TRUSTED_TYPE:!0});class eU extends g.Q5{constructor(){super(),this._subscriptions=new m.SL,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(g.ju.runAndSubscribe(N,({window:e,disposables:t})=>this.registerListeners(e,t),{window:b.E,disposables:this._subscriptions}))}registerListeners(e,t){t.add(R(e,"keydown",e=>{if(e.defaultPrevented)return;let t=new d.y(e);if(6!==t.keyCode||!e.repeat){if(e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else{if(6===t.keyCode)return;this._keyStatus.lastKeyPressed=void 0}this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=e,this.fire(this._keyStatus))}},!0)),t.add(R(e,"keyup",e=>{!e.defaultPrevented&&(!e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!e.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased="shift":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=e,this.fire(this._keyStatus)))},!0)),t.add(R(e.document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),t.add(R(e.document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),t.add(R(e.document.body,"mousemove",e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),t.add(R(e,"blur",()=>{this.resetKeyStatus()}))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return eU.instance||(eU.instance=new eU),eU.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}class e$ extends m.JT{constructor(e,t){super(),this.element=e,this.callbacks=t,this.counter=0,this.dragStartTime=0,this.registerListeners()}registerListeners(){this.callbacks.onDragStart&&this._register(R(this.element,eC.DRAG_START,e=>{var t,i;null===(i=(t=this.callbacks).onDragStart)||void 0===i||i.call(t,e)})),this.callbacks.onDrag&&this._register(R(this.element,eC.DRAG,e=>{var t,i;null===(i=(t=this.callbacks).onDrag)||void 0===i||i.call(t,e)})),this._register(R(this.element,eC.DRAG_ENTER,e=>{var t,i;this.counter++,this.dragStartTime=e.timeStamp,null===(i=(t=this.callbacks).onDragEnter)||void 0===i||i.call(t,e)})),this._register(R(this.element,eC.DRAG_OVER,e=>{var t,i;e.preventDefault(),null===(i=(t=this.callbacks).onDragOver)||void 0===i||i.call(t,e,e.timeStamp-this.dragStartTime)})),this._register(R(this.element,eC.DRAG_LEAVE,e=>{var t,i;this.counter--,0===this.counter&&(this.dragStartTime=0,null===(i=(t=this.callbacks).onDragLeave)||void 0===i||i.call(t,e))})),this._register(R(this.element,eC.DRAG_END,e=>{var t,i;this.counter=0,this.dragStartTime=0,null===(i=(t=this.callbacks).onDragEnd)||void 0===i||i.call(t,e)})),this._register(R(this.element,eC.DROP,e=>{var t,i;this.counter=0,this.dragStartTime=0,null===(i=(t=this.callbacks).onDrop)||void 0===i||i.call(t,e)}))}}let eq=/(?[\w\-]+)?(?:#(?[\w\-]+))?(?(?:\.(?:[\w\-]+))*)(?:@(?(?:[\w\_])+))?/;function ej(e,...t){let i,n;Array.isArray(t[0])?(i={},n=t[0]):(i=t[0]||{},n=t[1]);let s=eq.exec(e);if(!s||!s.groups)throw Error("Bad use of h");let o=s.groups.tag||"div",r=document.createElement(o);s.groups.id&&(r.id=s.groups.id);let l=[];if(s.groups.class)for(let e of s.groups.class.split("."))""!==e&&l.push(e);if(void 0!==i.className)for(let e of i.className.split("."))""!==e&&l.push(e);l.length>0&&(r.className=l.join(" "));let a={};if(s.groups.name&&(a[s.groups.name]=r),n)for(let e of n)ef(e)?r.appendChild(e):"string"==typeof e?r.append(e):"root"in e&&(Object.assign(a,e),r.appendChild(e.root));for(let[e,t]of Object.entries(i))if("className"!==e){if("style"===e)for(let[e,i]of Object.entries(t))r.style.setProperty(eG(e),"number"==typeof i?i+"px":""+i);else"tabIndex"===e?r.tabIndex=t:r.setAttribute(eG(e),t.toString())}return a.root=r,a}function eG(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}},91064:function(e,t,i){"use strict";i.d(t,{Nw:function(){return X},ok:function(){return et},v5:function(){return ee}});/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */let{entries:n,setPrototypeOf:s,isFrozen:o,getPrototypeOf:r,getOwnPropertyDescriptor:l}=Object,{freeze:a,seal:d,create:h}=Object,{apply:u,construct:c}="undefined"!=typeof Reflect&&Reflect;u||(u=function(e,t,i){return e.apply(t,i)}),a||(a=function(e){return e}),d||(d=function(e){return e}),c||(c=function(e,t){return new e(...t)});let g=L(Array.prototype.forEach),p=L(Array.prototype.pop),m=L(Array.prototype.push),f=L(String.prototype.toLowerCase),_=L(String.prototype.toString),v=L(String.prototype.match),b=L(String.prototype.replace),C=L(String.prototype.indexOf),w=L(String.prototype.trim),y=L(RegExp.prototype.test),S=(G=TypeError,function(){for(var e=arguments.length,t=Array(e),i=0;i1?i-1:0),s=1;s/gm),V=d(/\${[\w\W]*}/gm),z=d(/^data-[\-\w.\u00B7-\uFFFF]/),K=d(/^aria-[\-\w]+$/),U=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=d(/^(?:\w+script|data):/i),q=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),j=d(/^html$/i);var G,Q=Object.freeze({__proto__:null,MUSTACHE_EXPR:W,ERB_EXPR:H,TMPLIT_EXPR:V,DATA_ATTR:z,ARIA_ATTR:K,IS_ALLOWED_URI:U,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:q,DOCTYPE_NAME:j});let Z=()=>"undefined"==typeof window?null:window,Y=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let i=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(i=t.getAttribute(n));let s="dompurify"+(i?"#"+i:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}};var J=function e(){let t,i,s,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z(),r=t=>e(t);if(r.version="3.0.5",r.removed=[],!o||!o.document||9!==o.document.nodeType)return r.isSupported=!1,r;let l=o.document,d=l.currentScript,{document:h}=o,{DocumentFragment:u,HTMLTemplateElement:c,Node:L,Element:W,NodeFilter:H,NamedNodeMap:V=o.NamedNodeMap||o.MozNamedAttrMap,HTMLFormElement:z,DOMParser:K,trustedTypes:$}=o,q=W.prototype,G=x(q,"cloneNode"),J=x(q,"nextSibling"),X=x(q,"childNodes"),ee=x(q,"parentNode");if("function"==typeof c){let e=h.createElement("template");e.content&&e.content.ownerDocument&&(h=e.content.ownerDocument)}let et="",{implementation:ei,createNodeIterator:en,createDocumentFragment:es,getElementsByTagName:eo}=h,{importNode:er}=l,el={};r.isSupported="function"==typeof n&&"function"==typeof ee&&ei&&void 0!==ei.createHTMLDocument;let{MUSTACHE_EXPR:ea,ERB_EXPR:ed,TMPLIT_EXPR:eh,DATA_ATTR:eu,ARIA_ATTR:ec,IS_SCRIPT_OR_DATA:eg,ATTR_WHITESPACE:ep}=Q,{IS_ALLOWED_URI:em}=Q,ef=null,e_=k({},[...N,...E,...I,...M,...A]),ev=null,eb=k({},[...P,...O,...F,...B]),eC=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ew=null,ey=null,eS=!0,eL=!0,ek=!1,eD=!0,ex=!1,eN=!1,eE=!1,eI=!1,eT=!1,eM=!1,eR=!1,eA=!0,eP=!1,eO=!0,eF=!1,eB={},eW=null,eH=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eV=null,ez=k({},["audio","video","img","source","image","track"]),eK=null,eU=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),e$="http://www.w3.org/1998/Math/MathML",eq="http://www.w3.org/2000/svg",ej="http://www.w3.org/1999/xhtml",eG=ej,eQ=!1,eZ=null,eY=k({},[e$,eq,ej],_),eJ=["application/xhtml+xml","text/html"],eX=null,e0=h.createElement("form"),e1=function(e){return e instanceof RegExp||e instanceof Function},e2=function(e){if(!eX||eX!==e){if(e&&"object"==typeof e||(e={}),e=D(e),s="application/xhtml+xml"===(i=i=-1===eJ.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?_:f,ef="ALLOWED_TAGS"in e?k({},e.ALLOWED_TAGS,s):e_,ev="ALLOWED_ATTR"in e?k({},e.ALLOWED_ATTR,s):eb,eZ="ALLOWED_NAMESPACES"in e?k({},e.ALLOWED_NAMESPACES,_):eY,eK="ADD_URI_SAFE_ATTR"in e?k(D(eU),e.ADD_URI_SAFE_ATTR,s):eU,eV="ADD_DATA_URI_TAGS"in e?k(D(ez),e.ADD_DATA_URI_TAGS,s):ez,eW="FORBID_CONTENTS"in e?k({},e.FORBID_CONTENTS,s):eH,ew="FORBID_TAGS"in e?k({},e.FORBID_TAGS,s):{},ey="FORBID_ATTR"in e?k({},e.FORBID_ATTR,s):{},eB="USE_PROFILES"in e&&e.USE_PROFILES,eS=!1!==e.ALLOW_ARIA_ATTR,eL=!1!==e.ALLOW_DATA_ATTR,ek=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eD=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ex=e.SAFE_FOR_TEMPLATES||!1,eN=e.WHOLE_DOCUMENT||!1,eT=e.RETURN_DOM||!1,eM=e.RETURN_DOM_FRAGMENT||!1,eR=e.RETURN_TRUSTED_TYPE||!1,eI=e.FORCE_BODY||!1,eA=!1!==e.SANITIZE_DOM,eP=e.SANITIZE_NAMED_PROPS||!1,eO=!1!==e.KEEP_CONTENT,eF=e.IN_PLACE||!1,em=e.ALLOWED_URI_REGEXP||U,eG=e.NAMESPACE||ej,eC=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&e1(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eC.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&e1(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eC.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eC.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ex&&(eL=!1),eM&&(eT=!0),eB&&(ef=k({},[...A]),ev=[],!0===eB.html&&(k(ef,N),k(ev,P)),!0===eB.svg&&(k(ef,E),k(ev,O),k(ev,B)),!0===eB.svgFilters&&(k(ef,I),k(ev,O),k(ev,B)),!0===eB.mathMl&&(k(ef,M),k(ev,F),k(ev,B))),e.ADD_TAGS&&(ef===e_&&(ef=D(ef)),k(ef,e.ADD_TAGS,s)),e.ADD_ATTR&&(ev===eb&&(ev=D(ev)),k(ev,e.ADD_ATTR,s)),e.ADD_URI_SAFE_ATTR&&k(eK,e.ADD_URI_SAFE_ATTR,s),e.FORBID_CONTENTS&&(eW===eH&&(eW=D(eW)),k(eW,e.FORBID_CONTENTS,s)),eO&&(ef["#text"]=!0),eN&&k(ef,["html","head","body"]),ef.table&&(k(ef,["tbody"]),delete ew.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');et=(t=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===t&&(t=Y($,d)),null!==t&&"string"==typeof et&&(et=t.createHTML(""));a&&a(e),eX=e}},e4=k({},["mi","mo","mn","ms","mtext"]),e5=k({},["foreignobject","desc","title","annotation-xml"]),e3=k({},["title","style","font","a","script"]),e7=k({},E);k(e7,I),k(e7,T);let e8=k({},M);k(e8,R);let e6=function(e){let t=ee(e);t&&t.tagName||(t={namespaceURI:eG,tagName:"template"});let n=f(e.tagName),s=f(t.tagName);return!!eZ[e.namespaceURI]&&(e.namespaceURI===eq?t.namespaceURI===ej?"svg"===n:t.namespaceURI===e$?"svg"===n&&("annotation-xml"===s||e4[s]):!!e7[n]:e.namespaceURI===e$?t.namespaceURI===ej?"math"===n:t.namespaceURI===eq?"math"===n&&e5[s]:!!e8[n]:e.namespaceURI===ej?(t.namespaceURI!==eq||!!e5[s])&&(t.namespaceURI!==e$||!!e4[s])&&!e8[n]&&(e3[n]||!e7[n]):"application/xhtml+xml"===i&&!!eZ[e.namespaceURI])},e9=function(e){m(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},te=function(e,t){try{m(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ev[e]){if(eT||eM)try{e9(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}}},tt=function(e){let n,s;if(eI)e=""+e;else{let t=v(e,/^[\r\n\t ]+/);s=t&&t[0]}"application/xhtml+xml"===i&&eG===ej&&(e=''+e+"");let o=t?t.createHTML(e):e;if(eG===ej)try{n=new K().parseFromString(o,i)}catch(e){}if(!n||!n.documentElement){n=ei.createDocument(eG,"template",null);try{n.documentElement.innerHTML=eQ?et:o}catch(e){}}let r=n.body||n.documentElement;return(e&&s&&r.insertBefore(h.createTextNode(s),r.childNodes[0]||null),eG===ej)?eo.call(n,eN?"html":"body")[0]:eN?n.documentElement:r},ti=function(e){return en.call(e.ownerDocument||e,e,H.SHOW_ELEMENT|H.SHOW_COMMENT|H.SHOW_TEXT,null,!1)},tn=function(e){return"object"==typeof L?e instanceof L:e&&"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},ts=function(e,t,i){el[e]&&g(el[e],e=>{e.call(r,t,i,eX)})},to=function(e){let t;if(ts("beforeSanitizeElements",e,null),e instanceof z&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof V)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes))return e9(e),!0;let i=s(e.nodeName);if(ts("uponSanitizeElement",e,{tagName:i,allowedTags:ef}),e.hasChildNodes()&&!tn(e.firstElementChild)&&(!tn(e.content)||!tn(e.content.firstElementChild))&&y(/<[/\w]/g,e.innerHTML)&&y(/<[/\w]/g,e.textContent))return e9(e),!0;if(!ef[i]||ew[i]){if(!ew[i]&&tl(i)&&(eC.tagNameCheck instanceof RegExp&&y(eC.tagNameCheck,i)||eC.tagNameCheck instanceof Function&&eC.tagNameCheck(i)))return!1;if(eO&&!eW[i]){let t=ee(e)||e.parentNode,i=X(e)||e.childNodes;if(i&&t){let n=i.length;for(let s=n-1;s>=0;--s)t.insertBefore(G(i[s],!0),J(e))}}return e9(e),!0}return e instanceof W&&!e6(e)||("noscript"===i||"noembed"===i||"noframes"===i)&&y(/<\/no(script|embed|frames)/i,e.innerHTML)?(e9(e),!0):(ex&&3===e.nodeType&&(t=b(t=e.textContent,ea," "),t=b(t,ed," "),t=b(t,eh," "),e.textContent!==t&&(m(r.removed,{element:e.cloneNode()}),e.textContent=t)),ts("afterSanitizeElements",e,null),!1)},tr=function(e,t,i){if(eA&&("id"===t||"name"===t)&&(i in h||i in e0))return!1;if(eL&&!ey[t]&&y(eu,t));else if(eS&&y(ec,t));else if(!ev[t]||ey[t]){if(!(tl(e)&&(eC.tagNameCheck instanceof RegExp&&y(eC.tagNameCheck,e)||eC.tagNameCheck instanceof Function&&eC.tagNameCheck(e))&&(eC.attributeNameCheck instanceof RegExp&&y(eC.attributeNameCheck,t)||eC.attributeNameCheck instanceof Function&&eC.attributeNameCheck(t))||"is"===t&&eC.allowCustomizedBuiltInElements&&(eC.tagNameCheck instanceof RegExp&&y(eC.tagNameCheck,i)||eC.tagNameCheck instanceof Function&&eC.tagNameCheck(i))))return!1}else if(eK[t]);else if(y(em,b(i,ep,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===C(i,"data:")&&eV[e]);else if(ek&&!y(eg,b(i,ep,"")));else if(i)return!1;return!0},tl=function(e){return e.indexOf("-")>0},ta=function(e){let i,n,o,l;ts("beforeSanitizeAttributes",e,null);let{attributes:a}=e;if(!a)return;let d={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ev};for(l=a.length;l--;){i=a[l];let{name:h,namespaceURI:u}=i;if(n="value"===h?i.value:w(i.value),o=s(h),d.attrName=o,d.attrValue=n,d.keepAttr=!0,d.forceKeepAttr=void 0,ts("uponSanitizeAttribute",e,d),n=d.attrValue,d.forceKeepAttr||(te(h,e),!d.keepAttr))continue;if(!eD&&y(/\/>/i,n)){te(h,e);continue}ex&&(n=b(n,ea," "),n=b(n,ed," "),n=b(n,eh," "));let c=s(e.nodeName);if(tr(c,o,n)){if(eP&&("id"===o||"name"===o)&&(te(h,e),n="user-content-"+n),t&&"object"==typeof $&&"function"==typeof $.getAttributeType){if(u);else switch($.getAttributeType(c,o)){case"TrustedHTML":n=t.createHTML(n);break;case"TrustedScriptURL":n=t.createScriptURL(n)}}try{u?e.setAttributeNS(u,h,n):e.setAttribute(h,n),p(r.removed)}catch(e){}}}ts("afterSanitizeAttributes",e,null)},td=function e(t){let i;let n=ti(t);for(ts("beforeSanitizeShadowDOM",t,null);i=n.nextNode();)ts("uponSanitizeShadowNode",i,null),to(i)||(i.content instanceof u&&e(i.content),ta(i));ts("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let i,n,o,a,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((eQ=!e)&&(e=""),"string"!=typeof e&&!tn(e)){if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw S("dirty is not a string, aborting")}else throw S("toString is not a function")}if(!r.isSupported)return e;if(eE||e2(d),r.removed=[],"string"==typeof e&&(eF=!1),eF){if(e.nodeName){let t=s(e.nodeName);if(!ef[t]||ew[t])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof L)1===(n=(i=tt("")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===n.nodeName?i=n:"HTML"===n.nodeName?i=n:i.appendChild(n);else{if(!eT&&!ex&&!eN&&-1===e.indexOf("<"))return t&&eR?t.createHTML(e):e;if(!(i=tt(e)))return eT?null:eR?et:""}i&&eI&&e9(i.firstChild);let h=ti(eF?e:i);for(;o=h.nextNode();)to(o)||(o.content instanceof u&&td(o.content),ta(o));if(eF)return e;if(eT){if(eM)for(a=es.call(i.ownerDocument);i.firstChild;)a.appendChild(i.firstChild);else a=i;return(ev.shadowroot||ev.shadowrootmode)&&(a=er.call(l,a,!0)),a}let c=eN?i.outerHTML:i.innerHTML;return eN&&ef["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&y(j,i.ownerDocument.doctype.name)&&(c="\n"+c),ex&&(c=b(c,ea," "),c=b(c,ed," "),c=b(c,eh," ")),t&&eR?t.createHTML(c):c},r.setConfig=function(e){e2(e),eE=!0},r.clearConfig=function(){eX=null,eE=!1},r.isValidAttribute=function(e,t,i){eX||e2({});let n=s(e),o=s(t);return tr(n,o,i)},r.addHook=function(e,t){"function"==typeof t&&(el[e]=el[e]||[],m(el[e],t))},r.removeHook=function(e){if(el[e])return p(el[e])},r.removeHooks=function(e){el[e]&&(el[e]=[])},r.removeAllHooks=function(){el={}},r}();J.version,J.isSupported;let X=J.sanitize;J.setConfig,J.clearConfig,J.isValidAttribute;let ee=J.addHook,et=J.removeHook;J.removeHooks,J.removeAllHooks},21887:function(e,t,i){"use strict";i.d(t,{Y:function(){return s}});var n=i(79915);class s{get event(){return this.emitter.event}constructor(e,t,i){let s=e=>this.emitter.fire(e);this.emitter=new n.Q5({onWillAddFirstListener:()=>e.addEventListener(t,s,i),onDidRemoveLastListener:()=>e.removeEventListener(t,s,i)})}dispose(){this.emitter.dispose()}}},82878:function(e,t,i){"use strict";i.d(t,{X:function(){return o},Z:function(){return n}});class n{constructor(e){this.domNode=e,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._paddingLeft="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._fontVariationSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(e){let t=s(e);this._maxWidth!==t&&(this._maxWidth=t,this.domNode.style.maxWidth=this._maxWidth)}setWidth(e){let t=s(e);this._width!==t&&(this._width=t,this.domNode.style.width=this._width)}setHeight(e){let t=s(e);this._height!==t&&(this._height=t,this.domNode.style.height=this._height)}setTop(e){let t=s(e);this._top!==t&&(this._top=t,this.domNode.style.top=this._top)}setLeft(e){let t=s(e);this._left!==t&&(this._left=t,this.domNode.style.left=this._left)}setBottom(e){let t=s(e);this._bottom!==t&&(this._bottom=t,this.domNode.style.bottom=this._bottom)}setRight(e){let t=s(e);this._right!==t&&(this._right=t,this.domNode.style.right=this._right)}setPaddingLeft(e){let t=s(e);this._paddingLeft!==t&&(this._paddingLeft=t,this.domNode.style.paddingLeft=this._paddingLeft)}setFontFamily(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(e){let t=s(e);this._fontSize!==t&&(this._fontSize=t,this.domNode.style.fontSize=this._fontSize)}setFontStyle(e){this._fontStyle!==e&&(this._fontStyle=e,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setFontVariationSettings(e){this._fontVariationSettings!==e&&(this._fontVariationSettings=e,this.domNode.style.fontVariationSettings=this._fontVariationSettings)}setTextDecoration(e){this._textDecoration!==e&&(this._textDecoration=e,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(e){let t=s(e);this._lineHeight!==t&&(this._lineHeight=t,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(e){let t=s(e);this._letterSpacing!==t&&(this._letterSpacing=t,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}toggleClassName(e,t){this.domNode.classList.toggle(e,t),this._className=this.domNode.className}setDisplay(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}setPosition(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}setColor(e){this._color!==e&&(this._color=e,this.domNode.style.color=this._color)}setBackgroundColor(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}setContain(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}setAttribute(e,t){this.domNode.setAttribute(e,t)}removeAttribute(e){this.domNode.removeAttribute(e)}appendChild(e){this.domNode.appendChild(e.domNode)}removeChild(e){this.domNode.removeChild(e.domNode)}}function s(e){return"number"==typeof e?`${e}px`:e}function o(e){return new n(e)}},83206:function(e,t,i){"use strict";i.d(t,{BO:function(){return o},IY:function(){return s},az:function(){return r}});var n=i(81845);function s(e,t={}){let i=r(t);return i.textContent=e,i}function o(e,t={}){let i=r(t);return function e(t,i,s,o){let r;if(2===i.type)r=document.createTextNode(i.content||"");else if(3===i.type)r=document.createElement("b");else if(4===i.type)r=document.createElement("i");else if(7===i.type&&o)r=document.createElement("code");else if(5===i.type&&s){let e=document.createElement("a");s.disposables.add(n.mu(e,"click",e=>{s.callback(String(i.index),e)})),r=e}else 8===i.type?r=document.createElement("br"):1===i.type&&(r=t);r&&t!==r&&t.appendChild(r),r&&Array.isArray(i.children)&&i.children.forEach(t=>{e(r,t,s,o)})}(i,function(e,t){let i={type:1,children:[]},n=0,s=i,o=[],r=new l(e);for(;!r.eos();){let e=r.next(),i="\\"===e&&0!==a(r.peek(),t);if(i&&(e=r.next()),i||0===a(e,t)||e!==r.peek()){if("\n"===e)2===s.type&&(s=o.pop()),s.children.push({type:8});else if(2!==s.type){let t={type:2,content:e};s.children.push(t),o.push(s),s=t}else s.content+=e}else{r.advance(),2===s.type&&(s=o.pop());let i=a(e,t);if(s.type===i||5===s.type&&6===i)s=o.pop();else{let e={type:i,children:[]};5===i&&(e.index=n,n++),s.children.push(e),o.push(s),s=e}}}return 2===s.type&&(s=o.pop()),o.length,i}(e,!!t.renderCodeSegments),t.actionHandler,t.renderCodeSegments),i}function r(e){let t=e.inline?"span":"div",i=document.createElement(t);return e.className&&(i.className=e.className),i}class l{constructor(e){this.source=e,this.index=0}eos(){return this.index>=this.source.length}next(){let e=this.peek();return this.advance(),e}peek(){return this.source[this.index]}advance(){this.index++}}function a(e,t){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;case"`":return t?7:0;default:return 0}}},94278:function(e,t,i){"use strict";i.d(t,{C:function(){return o}});var n=i(81845),s=i(70784);class o{constructor(){this._hooks=new s.SL,this._pointerMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(e,t){if(!this.isMonitoring())return;this._hooks.clear(),this._pointerMoveCallback=null;let i=this._onStopCallback;this._onStopCallback=null,e&&i&&i(t)}isMonitoring(){return!!this._pointerMoveCallback}startMonitoring(e,t,i,o,r){this.isMonitoring()&&this.stopMonitoring(!1),this._pointerMoveCallback=o,this._onStopCallback=r;let l=e;try{e.setPointerCapture(t),this._hooks.add((0,s.OF)(()=>{try{e.releasePointerCapture(t)}catch(e){}}))}catch(t){l=n.Jj(e)}this._hooks.add(n.nm(l,n.tw.POINTER_MOVE,e=>{if(e.buttons!==i){this.stopMonitoring(!0);return}e.preventDefault(),this._pointerMoveCallback(e)})),this._hooks.add(n.nm(l,n.tw.POINTER_UP,e=>this.stopMonitoring(!0)))}}},69629:function(e,t,i){"use strict";i.d(t,{y:function(){return d}});var n=i(5938),s=i(57231),o=i(70070),r=i(58022);let l=r.dz?256:2048,a=r.dz?2048:256;class d{constructor(e){var t;this._standardKeyboardEventBrand=!0,this.browserEvent=e,this.target=e.target,this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,this.altGraphKey=null===(t=e.getModifierState)||void 0===t?void 0:t.call(e,"AltGraph"),this.keyCode=function(e){if(e.charCode){let t=String.fromCharCode(e.charCode).toUpperCase();return s.kL.fromString(t)}let t=e.keyCode;if(3===t)return 7;if(n.vU)switch(t){case 59:return 85;case 60:if(r.IJ)return 97;break;case 61:return 86;case 107:return 109;case 109:return 111;case 173:return 88;case 224:if(r.dz)return 57}else if(n.Pf&&(r.dz&&93===t||!r.dz&&92===t))return 57;return s.H_[t]||0}(e),this.code=e.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asKeyCodeChord=this._computeKeyCodeChord()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeyCodeChord(){return this._asKeyCodeChord}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=l),this.altKey&&(t|=512),this.shiftKey&&(t|=1024),this.metaKey&&(t|=a),t|=e}_computeKeyCodeChord(){let e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new o.$M(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}},7802:function(e,t,i){"use strict";i.d(t,{ap:function(){return D},et:function(){return M}});var n=i(81845),s=i(91064),o=i(21887),r=i(83206),l=i(69629),a=i(69362),d=i(29475),h=i(32378),u=i(79915),c=i(42891),g=i(25625),p=i(30397),m=i(68126),f=i(70784);let _={};!function(){var e;function t(e,t){t(_)}t.amd=!0,e=this,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i=e.length?{done:!0}:{done:!1,value:e[s++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.defaults=n();var s=/[&<>"']/,o=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,a={"&":"&","<":"<",">":">",'"':""","'":"'"},d=function(e){return a[e]};function h(e,t){if(t){if(s.test(e))return e.replace(o,d)}else if(r.test(e))return e.replace(l,d);return e}var u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function c(e){return e.replace(u,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}var g=/(^|[^\[])\^/g;function p(e,t){e="string"==typeof e?e:e.source,t=t||"";var i={replace:function(t,n){return n=(n=n.source||n).replace(g,"$1"),e=e.replace(t,n),i},getRegex:function(){return new RegExp(e,t)}};return i}var m=/[^\w:]/g,f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function _(e,t,i){var n,s,o,r;if(e){try{n=decodeURIComponent(c(i)).replace(m,"").toLowerCase()}catch(e){return null}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}t&&!f.test(i)&&(s=t,o=i,v[" "+s]||(b.test(s)?v[" "+s]=s+"/":v[" "+s]=k(s,"/",!0)),r=-1===(s=v[" "+s]).indexOf(":"),i="//"===o.substring(0,2)?r?o:s.replace(C,"$1")+o:"/"!==o.charAt(0)?s+o:r?o:s.replace(w,"$1")+o);try{i=encodeURI(i).replace(/%25/g,"%")}catch(e){return null}return i}var v={},b=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,w=/^([^:]+:\/*[^/]*)[\s\S]*$/,y={exec:function(){}};function S(e){for(var t,i,n=1;n=0&&"\\"===i[s];)n=!n;return n?"|":" |"}).split(/ \|/),n=0;if(i[0].trim()||i.shift(),i.length>0&&!i[i.length-1].trim()&&i.pop(),i.length>t)i.splice(t);else for(;i.length1;)1&t&&(i+=e),t>>=1,e+=e;return i+e}function N(e,t,i,n){var s=t.href,o=t.title?h(t.title):null,r=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;var l={type:"link",raw:i,href:s,title:o,text:r,tokens:n.inlineTokens(r)};return n.state.inLink=!1,l}return{type:"image",raw:i,href:s,title:o,text:h(r)}}var E=function(){function t(t){this.options=t||e.defaults}var n=t.prototype;return n.space=function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}},n.code=function(e){var t=this.rules.block.code.exec(e);if(t){var i=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?i:k(i,"\n")}}},n.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var i=t[0],n=function(e,t){var i=e.match(/^(\s+)(?:```)/);if(null===i)return t;var n=i[1];return t.split("\n").map(function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=n.length?e.slice(n.length):e}).join("\n")}(i,t[3]||"");return{type:"code",raw:i,lang:t[2]?t[2].trim():t[2],text:n}}},n.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var i=t[2].trim();if(/#$/.test(i)){var n=k(i,"#");this.options.pedantic?i=n.trim():(!n||/ $/.test(n))&&(i=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:i,tokens:this.lexer.inline(i)}}},n.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},n.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var i=t[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(i,[]),text:i}}},n.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,s,o,r,l,a,d,h,u,c,g,p,m=t[1].trim(),f=m.length>1,_={type:"list",raw:"",ordered:f,start:f?+m.slice(0,-1):"",loose:!1,items:[]};m=f?"\\d{1,9}\\"+m.slice(-1):"\\"+m,this.options.pedantic&&(m=f?m:"[*+-]");for(var v=RegExp("^( {0,3}"+m+")((?:[ ][^\\n]*)?(?:\\n|$))");e&&(p=!1,!(!(t=v.exec(e))||this.rules.block.hr.test(e)));){if(n=t[0],e=e.substring(n.length),h=t[2].split("\n",1)[0],u=e.split("\n",1)[0],this.options.pedantic?(r=2,g=h.trimLeft()):(r=(r=t[2].search(/[^ ]/))>4?1:r,g=h.slice(r),r+=t[1].length),a=!1,!h&&/^ *$/.test(u)&&(n+=u+"\n",e=e.substring(u.length+1),p=!0),!p)for(var b=RegExp("^ {0,"+Math.min(3,r-1)+"}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"),C=RegExp("^ {0,"+Math.min(3,r-1)+"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"),w=RegExp("^ {0,"+Math.min(3,r-1)+"}(?:```|~~~)"),y=RegExp("^ {0,"+Math.min(3,r-1)+"}#");e&&(h=c=e.split("\n",1)[0],this.options.pedantic&&(h=h.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(w.test(h)||y.test(h)||b.test(h)||C.test(e)));){if(h.search(/[^ ]/)>=r||!h.trim())g+="\n"+h.slice(r);else if(a)break;else g+="\n"+h;a||h.trim()||(a=!0),n+=c+"\n",e=e.substring(c.length+1)}!_.loose&&(d?_.loose=!0:/\n *\n *$/.test(n)&&(d=!0)),this.options.gfm&&(s=/^\[[ xX]\] /.exec(g))&&(o="[ ] "!==s[0],g=g.replace(/^\[[ xX]\] +/,"")),_.items.push({type:"list_item",raw:n,task:!!s,checked:o,loose:!1,text:g}),_.raw+=n}_.items[_.items.length-1].raw=n.trimRight(),_.items[_.items.length-1].text=g.trimRight(),_.raw=_.raw.trimRight();var S=_.items.length;for(l=0;l1)return!0;return!1});!_.loose&&L.length&&k&&(_.loose=!0,_.items[l].loose=!0)}return _}},n.html=function(e){var t=this.rules.block.html.exec(e);if(t){var i={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};if(this.options.sanitize){var n=this.options.sanitizer?this.options.sanitizer(t[0]):h(t[0]);i.type="paragraph",i.text=n,i.tokens=this.lexer.inline(n)}return i}},n.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},n.table=function(e){var t=this.rules.block.table.exec(e);if(t){var i={type:"table",header:L(t[1]).map(function(e){return{text:e}}),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(i.header.length===i.align.length){i.raw=t[0];var n,s,o,r,l=i.align.length;for(n=0;n/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):h(t[0]):t[0]}},n.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var i=t[2].trim();if(!this.options.pedantic&&/^$/.test(i))return;var n=k(i.slice(0,-1),"\\");if((i.length-n.length)%2==0)return}else{var s=function(e,t){if(-1===e.indexOf(t[1]))return -1;for(var i=e.length,n=0,s=0;s-1){var o=(0===t[0].indexOf("!")?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,o).trim(),t[3]=""}}var r=t[2],l="";if(this.options.pedantic){var a=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);a&&(r=a[1],l=a[3])}else l=t[3]?t[3].slice(1,-1):"";return r=r.trim(),/^$/.test(i)?r.slice(1):r.slice(1,-1)),N(t,{href:r?r.replace(this.rules.inline._escapes,"$1"):r,title:l?l.replace(this.rules.inline._escapes,"$1"):l},t[0],this.lexer)}},n.reflink=function(e,t){var i;if((i=this.rules.inline.reflink.exec(e))||(i=this.rules.inline.nolink.exec(e))){var n=(i[2]||i[1]).replace(/\s+/g," ");if(!(n=t[n.toLowerCase()])||!n.href){var s=i[0].charAt(0);return{type:"text",raw:s,text:s}}return N(i,n,i[0],this.lexer)}},n.emStrong=function(e,t,i){void 0===i&&(i="");var n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&!(n[3]&&i.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var s=n[1]||n[2]||"";if(!s||s&&(""===i||this.rules.inline.punctuation.exec(i))){var o,r,l=n[0].length-1,a=l,d=0,h="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(h.lastIndex=0,t=t.slice(-1*e.length+l);null!=(n=h.exec(t));)if(o=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]){if(r=o.length,n[3]||n[4]){a+=r;continue}if((n[5]||n[6])&&l%3&&!((l+r)%3)){d+=r;continue}if(!((a-=r)>0)){if(Math.min(l,r=Math.min(r,r+a+d))%2){var u=e.slice(1,l+n.index+r);return{type:"em",raw:e.slice(0,l+n.index+r+1),text:u,tokens:this.lexer.inlineTokens(u)}}var c=e.slice(2,l+n.index+r-1);return{type:"strong",raw:e.slice(0,l+n.index+r+1),text:c,tokens:this.lexer.inlineTokens(c)}}}}}},n.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var i=t[2].replace(/\n/g," "),n=/[^ ]/.test(i),s=/^ /.test(i)&&/ $/.test(i);return n&&s&&(i=i.substring(1,i.length-1)),i=h(i,!0),{type:"codespan",raw:t[0],text:i}}},n.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},n.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}},n.autolink=function(e,t){var i,n,s=this.rules.inline.autolink.exec(e);if(s)return n="@"===s[2]?"mailto:"+(i=h(this.options.mangle?t(s[1]):s[1])):i=h(s[1]),{type:"link",raw:s[0],text:i,href:n,tokens:[{type:"text",raw:i,text:i}]}},n.url=function(e,t){var i,n,s,o;if(i=this.rules.inline.url.exec(e)){if("@"===i[2])s="mailto:"+(n=h(this.options.mangle?t(i[0]):i[0]));else{do o=i[0],i[0]=this.rules.inline._backpedal.exec(i[0])[0];while(o!==i[0]);n=h(i[0]),s="www."===i[1]?"http://"+n:n}return{type:"link",raw:i[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}},n.inlineText=function(e,t){var i,n=this.rules.inline.text.exec(e);if(n)return i=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):h(n[0]):n[0]:h(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:i}},t}(),I={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:y,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};I._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,I._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,I.def=p(I.def).replace("label",I._label).replace("title",I._title).getRegex(),I.bullet=/(?:[*+-]|\d{1,9}[.)])/,I.listItemStart=p(/^( *)(bull) */).replace("bull",I.bullet).getRegex(),I.list=p(I.list).replace(/bull/g,I.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+I.def.source+")").getRegex(),I._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",I._comment=/|$)/,I.html=p(I.html,"i").replace("comment",I._comment).replace("tag",I._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),I.paragraph=p(I._paragraph).replace("hr",I.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",I._tag).getRegex(),I.blockquote=p(I.blockquote).replace("paragraph",I.paragraph).getRegex(),I.normal=S({},I),I.gfm=S({},I.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),I.gfm.table=p(I.gfm.table).replace("hr",I.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",I._tag).getRegex(),I.gfm.paragraph=p(I._paragraph).replace("hr",I.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",I.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",I._tag).getRegex(),I.pedantic=S({},I.normal,{html:p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",I._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:y,paragraph:p(I.normal._paragraph).replace("hr",I.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",I.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var T={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:y,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:y,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(i="x"+i.toString(16)),n+="&#"+i+";";return n}T._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",T.punctuation=p(T.punctuation).replace(/punctuation/g,T._punctuation).getRegex(),T.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,T.escapedEmSt=/\\\*|\\_/g,T._comment=p(I._comment).replace("(?:-->|$)","-->").getRegex(),T.emStrong.lDelim=p(T.emStrong.lDelim).replace(/punct/g,T._punctuation).getRegex(),T.emStrong.rDelimAst=p(T.emStrong.rDelimAst,"g").replace(/punct/g,T._punctuation).getRegex(),T.emStrong.rDelimUnd=p(T.emStrong.rDelimUnd,"g").replace(/punct/g,T._punctuation).getRegex(),T._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,T._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,T._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,T.autolink=p(T.autolink).replace("scheme",T._scheme).replace("email",T._email).getRegex(),T._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,T.tag=p(T.tag).replace("comment",T._comment).replace("attribute",T._attribute).getRegex(),T._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,T._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,T._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,T.link=p(T.link).replace("label",T._label).replace("href",T._href).replace("title",T._title).getRegex(),T.reflink=p(T.reflink).replace("label",T._label).replace("ref",I._label).getRegex(),T.nolink=p(T.nolink).replace("ref",I._label).getRegex(),T.reflinkSearch=p(T.reflinkSearch,"g").replace("reflink",T.reflink).replace("nolink",T.nolink).getRegex(),T.normal=S({},T),T.pedantic=S({},T.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",T._label).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",T._label).getRegex()}),T.gfm=S({},T.normal,{escape:p(T.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\0?t[t.length-1].raw+="\n":t.push(i);continue}if(i=this.tokenizer.code(e)){e=e.substring(i.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(i);continue}if((i=this.tokenizer.fences(e))||(i=this.tokenizer.heading(e))||(i=this.tokenizer.hr(e))||(i=this.tokenizer.blockquote(e))||(i=this.tokenizer.list(e))||(i=this.tokenizer.html(e))){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.def(e)){e=e.substring(i.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+i.raw,n.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if((i=this.tokenizer.table(e))||(i=this.tokenizer.lheading(e))){e=e.substring(i.raw.length),t.push(i);continue}if(s=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,i=e.slice(1),n=void 0;r.options.extensions.startBlock.forEach(function(e){"number"==typeof(n=e.call({lexer:this},i))&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(s=e.substring(0,t+1))}(),this.state.top&&(i=this.tokenizer.paragraph(s))){n=t[t.length-1],o&&"paragraph"===n.type?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(i),o=s.length!==e.length,e=e.substring(i.raw.length);continue}if(i=this.tokenizer.text(e)){e=e.substring(i.raw.length),(n=t[t.length-1])&&"text"===n.type?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(i);continue}if(e){var l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}throw Error(l)}}return this.state.top=!0,t},n.inline=function(e,t){return void 0===t&&(t=[]),this.inlineQueue.push({src:e,tokens:t}),t},n.inlineTokens=function(e,t){var i,n,s,o,r,l,a=this;void 0===t&&(t=[]);var d=e;if(this.tokens.links){var h=Object.keys(this.tokens.links);if(h.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(d));)h.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(d=d.slice(0,o.index)+"["+x("a",o[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(d));)d=d.slice(0,o.index)+"["+x("a",o[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.escapedEmSt.exec(d));)d=d.slice(0,o.index)+"++"+d.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(r||(l=""),r=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(n){return!!(i=n.call({lexer:a},e,t))&&(e=e.substring(i.raw.length),t.push(i),!0)}))){if(i=this.tokenizer.escape(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.tag(e)){e=e.substring(i.raw.length),(n=t[t.length-1])&&"text"===i.type&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);continue}if(i=this.tokenizer.link(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(i.raw.length),(n=t[t.length-1])&&"text"===i.type&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);continue}if((i=this.tokenizer.emStrong(e,d,l))||(i=this.tokenizer.codespan(e))||(i=this.tokenizer.br(e))||(i=this.tokenizer.del(e))||(i=this.tokenizer.autolink(e,R))||!this.state.inLink&&(i=this.tokenizer.url(e,R))){e=e.substring(i.raw.length),t.push(i);continue}if(s=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,i=e.slice(1),n=void 0;a.options.extensions.startInline.forEach(function(e){"number"==typeof(n=e.call({lexer:this},i))&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(s=e.substring(0,t+1))}(),i=this.tokenizer.inlineText(s,M)){e=e.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(l=i.raw.slice(-1)),r=!0,(n=t[t.length-1])&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);continue}if(e){var u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}throw Error(u)}}return t},i=[{key:"rules",get:function(){return{block:I,inline:T}}}],function(e,t){for(var i=0;i'+(i?e:h(e,!0))+"\n":"
    "+(i?e:h(e,!0))+"
    \n"},i.blockquote=function(e){return"
    \n"+e+"
    \n"},i.html=function(e){return e},i.heading=function(e,t,i,n){return this.options.headerIds?"'+e+"\n":""+e+"\n"},i.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},i.list=function(e,t,i){var n=t?"ol":"ul";return"<"+n+(t&&1!==i?' start="'+i+'"':"")+">\n"+e+"\n"},i.listitem=function(e){return"
  • "+e+"
  • \n"},i.checkbox=function(e){return" "},i.paragraph=function(e){return"

    "+e+"

    \n"},i.table=function(e,t){return t&&(t="
    "+t+""),"
    \n\n"+e+"\n"+t+"
    \n"},i.tablerow=function(e){return"\n"+e+"\n"},i.tablecell=function(e,t){var i=t.header?"th":"td";return(t.align?"<"+i+' align="'+t.align+'">':"<"+i+">")+e+"\n"},i.strong=function(e){return""+e+""},i.em=function(e){return""+e+""},i.codespan=function(e){return""+e+""},i.br=function(){return this.options.xhtml?"
    ":"
    "},i.del=function(e){return""+e+""},i.link=function(e,t,i){if(null===(e=_(this.options.sanitize,this.options.baseUrl,e)))return i;var n='"},i.image=function(e,t,i){if(null===(e=_(this.options.sanitize,this.options.baseUrl,e)))return i;var n=''+i+'":">"},i.text=function(e){return e},t}(),O=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,i){return""+i},t.image=function(e,t,i){return""+i},t.br=function(){return""},e}(),F=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var i=e,n=0;if(this.seen.hasOwnProperty(i)){n=this.seen[e];do i=e+"-"+ ++n;while(this.seen.hasOwnProperty(i))}return t||(this.seen[e]=n,this.seen[i]=0),i},t.slug=function(e,t){void 0===t&&(t={});var i=this.serialize(e);return this.getNextSafeSlug(i,t.dryrun)},e}(),B=function(){function t(t){this.options=t||e.defaults,this.options.renderer=this.options.renderer||new P,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new O,this.slugger=new F}t.parse=function(e,i){return new t(i).parse(e)},t.parseInline=function(e,i){return new t(i).parseInline(e)};var i=t.prototype;return i.parse=function(e,t){void 0===t&&(t=!0);var i,n,s,o,r,l,a,d,h,u,g,p,m,f,_,v,b,C,w,y="",S=e.length;for(i=0;i0&&"paragraph"===_.tokens[0].type?(_.tokens[0].text=C+" "+_.tokens[0].text,_.tokens[0].tokens&&_.tokens[0].tokens.length>0&&"text"===_.tokens[0].tokens[0].type&&(_.tokens[0].tokens[0].text=C+" "+_.tokens[0].tokens[0].text)):_.tokens.unshift({type:"text",text:C}):f+=C),f+=this.parse(_.tokens,m),h+=this.renderer.listitem(f,b,v);y+=this.renderer.list(h,g,p);continue;case"html":y+=this.renderer.html(u.text);continue;case"paragraph":y+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case"text":for(h=u.tokens?this.parseInline(u.tokens):u.text;i+1An error occurred:

    "+h(e.message+"",!0)+"
    ";throw e}try{var a=A.lex(e,t);if(t.walkTokens){if(t.async)return Promise.all(W.walkTokens(a,t.walkTokens)).then(function(){return B.parse(a,t)}).catch(l);W.walkTokens(a,t.walkTokens)}return B.parse(a,t)}catch(e){l(e)}}W.options=W.setOptions=function(t){var i;return S(W.defaults,t),i=W.defaults,e.defaults=i,W},W.getDefaults=n,W.defaults=e.defaults,W.use=function(){for(var e,t=arguments.length,i=Array(t),n=0;nAn error occurred:

    "+h(e.message+"",!0)+"
    ";throw e}},W.Parser=B,W.parser=B.parse,W.Renderer=P,W.TextRenderer=O,W.Lexer=A,W.lexer=A.lex,W.Tokenizer=E,W.Slugger=F,W.parse=W;var H=W.options,V=W.setOptions,z=W.use,K=W.walkTokens,U=W.parseInline,$=B.parse,q=A.lex;e.Lexer=A,e.Parser=B,e.Renderer=P,e.Slugger=F,e.TextRenderer=O,e.Tokenizer=E,e.getDefaults=n,e.lexer=q,e.marked=W,e.options=H,e.parse=W,e.parseInline=U,e.parser=$,e.setOptions=V,e.use=z,e.walkTokens=K,Object.defineProperty(e,"__esModule",{value:!0})}(t.amd?_:"object"==typeof exports?exports:(e="undefined"!=typeof globalThis?globalThis:e||self).marked={})}(),_.Lexer||exports.Lexer,_.Parser||exports.Parser,_.Renderer||exports.Renderer,_.Slugger||exports.Slugger,_.TextRenderer||exports.TextRenderer,_.Tokenizer||exports.Tokenizer,_.getDefaults||exports.getDefaults,_.lexer||exports.lexer;var v=_.marked||exports.marked;_.options||exports.options,_.parse||exports.parse,_.parseInline||exports.parseInline,_.parser||exports.parser,_.setOptions||exports.setOptions,_.use||exports.use,_.walkTokens||exports.walkTokens;var b=i(85729),C=i(72249),w=i(16783),y=i(1271),S=i(95612),L=i(5482);let k=Object.freeze({image:(e,t,i)=>{let n=[],s=[];return e&&({href:e,dimensions:n}=(0,c.v1)(e),s.push(`src="${(0,c.d9)(e)}"`)),i&&s.push(`alt="${(0,c.d9)(i)}"`),t&&s.push(`title="${(0,c.d9)(t)}"`),n.length&&(s=s.concat(n)),""},paragraph:e=>`

    ${e}

    `,link:(e,t,i)=>"string"!=typeof e?"":(e===i&&(i=(0,c.oR)(i)),t="string"==typeof t?(0,c.d9)((0,c.oR)(t)):"",e=(e=(0,c.oR)(e)).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),`
    ${i}`)});function D(e,t={},i={}){var s,c;let m;let _=new f.SL,y=!1,D=(0,r.az)(t),E=function(t){let i;try{i=(0,b.Qc)(decodeURIComponent(t))}catch(e){}return i?encodeURIComponent(JSON.stringify(i=(0,w.rs)(i,t=>e.uris&&e.uris[t]?L.o.revive(e.uris[t]):void 0))):t},T=function(t,i){let n=e.uris&&e.uris[t],s=L.o.revive(n);return i?t.startsWith(C.lg.data+":")?t:(s||(s=L.o.parse(t)),C.Gi.uriToBrowserUri(s).toString(!0)):s&&L.o.parse(t).toString()!==s.toString()?(s.query&&(s=s.with({query:E(s.query)})),s.toString()):t},M=new v.Renderer;M.image=k.image,M.link=k.link,M.paragraph=k.paragraph;let R=[],A=[];if(t.codeBlockRendererSync?M.code=(e,i)=>{let n=p.a.nextId(),s=t.codeBlockRendererSync(x(i),e);return A.push([n,s]),`
    ${(0,S.YU)(e)}
    `}:t.codeBlockRenderer&&(M.code=(e,i)=>{let n=p.a.nextId(),s=t.codeBlockRenderer(x(i),e);return R.push(s.then(e=>[n,e])),`
    ${(0,S.YU)(e)}
    `}),t.actionHandler){let i=function(i){let n=i.target;if("A"===n.tagName||(n=n.parentElement)&&"A"===n.tagName)try{let s=n.dataset.href;s&&(e.baseUri&&(s=N(L.o.from(e.baseUri),s)),t.actionHandler.callback(s,i))}catch(e){(0,h.dL)(e)}finally{i.preventDefault()}},s=t.actionHandler.disposables.add(new o.Y(D,"click")),r=t.actionHandler.disposables.add(new o.Y(D,"auxclick"));t.actionHandler.disposables.add(u.ju.any(s.event,r.event)(e=>{let t=new a.n(n.Jj(D),e);(t.leftButton||t.middleButton)&&i(t)})),t.actionHandler.disposables.add(n.nm(D,"keydown",e=>{let t=new l.y(e);(t.equals(10)||t.equals(3))&&i(t)}))}e.supportHtml||(i.sanitizer=i=>{var n;if(null===(n=t.sanitizerOptions)||void 0===n?void 0:n.replaceWithPlaintext)return(0,S.YU)(i);let s=e.isTrusted?i.match(/^(]+>)|(<\/\s*span>)$/):void 0;return s?i:""},i.sanitize=!0,i.silent=!0),i.renderer=M;let P=null!==(s=e.value)&&void 0!==s?s:"";if(P.length>1e5&&(P=`${P.substr(0,1e5)}…`),e.supportThemeIcons&&(P=(0,g.f$)(P)),t.fillInIncompleteTokens){let e={...v.defaults,...i},t=v.lexer(P,e),n=function(e){for(let t=0;t<3;t++){let t=function(e){let t,i;for(t=0;t0){let e=s?n.slice(0,-1).join("\n"):i,o=!!e.match(/\|\s*$/),r=e+(o?"":"|")+` -|${" --- |".repeat(t)}`;return v.lexer(r)}}(e.slice(t));break}if(t===e.length-1&&"list"===s.type){let e=function(e){var t;let i;let n=e.items[e.items.length-1],s=n.tokens?n.tokens[n.tokens.length-1]:void 0;if((null==s?void 0:s.type)!=="text"||"inRawBlock"in n||(i=F(s)),!i||"paragraph"!==i.type)return;let o=O(e.items.slice(0,-1)),r=null===(t=n.raw.match(/^(\s*(-|\d+\.) +)/))||void 0===t?void 0:t[0];if(!r)return;let l=r+O(n.tokens.slice(0,-1))+i.raw,a=v.lexer(o+l)[0];if("list"===a.type)return a}(s);if(e){i=[e];break}}if(t===e.length-1&&"paragraph"===s.type){let e=F(s);if(e){i=[e];break}}}if(i){let n=[...e.slice(0,t),...i];return n.links=e.links,n}return null}(e);if(t)e=t;else break}return e}(t);m=v.parser(n,e)}else m=v.parse(P,i);if(e.supportThemeIcons){let e=(0,d.T)(m);m=e.map(e=>"string"==typeof e?e:e.outerHTML).join("")}let B=new DOMParser,W=B.parseFromString(I({isTrusted:e.isTrusted,...t.sanitizerOptions},m),"text/html");if(W.body.querySelectorAll("img, audio, video, source").forEach(i=>{let s=i.getAttribute("src");if(s){let o=s;try{e.baseUri&&(o=N(L.o.from(e.baseUri),o))}catch(e){}if(i.setAttribute("src",T(o,!0)),t.remoteImageIsAllowed){let e=L.o.parse(o);e.scheme===C.lg.file||e.scheme===C.lg.data||t.remoteImageIsAllowed(e)||i.replaceWith(n.$("",void 0,i.outerHTML))}}}),W.body.querySelectorAll("a").forEach(t=>{let i=t.getAttribute("href");if(t.setAttribute("href",""),!i||/^data:|javascript:/i.test(i)||/^command:/i.test(i)&&!e.isTrusted||/^command:(\/\/\/)?_workbench\.downloadResource/i.test(i))t.replaceWith(...t.childNodes);else{let n=T(i,!1);e.baseUri&&(n=N(L.o.from(e.baseUri),i)),t.dataset.href=n}}),D.innerHTML=I({isTrusted:e.isTrusted,...t.sanitizerOptions},W.body.innerHTML),R.length>0)Promise.all(R).then(e=>{var i,s;if(y)return;let o=new Map(e),r=D.querySelectorAll("div[data-code]");for(let e of r){let t=o.get(null!==(i=e.dataset.code)&&void 0!==i?i:"");t&&n.mc(e,t)}null===(s=t.asyncRenderCallback)||void 0===s||s.call(t)});else if(A.length>0){let e=new Map(A),t=D.querySelectorAll("div[data-code]");for(let i of t){let t=e.get(null!==(c=i.dataset.code)&&void 0!==c?c:"");t&&n.mc(i,t)}}if(t.asyncRenderCallback)for(let e of D.getElementsByTagName("img")){let i=_.add(n.nm(e,"load",()=>{i.dispose(),t.asyncRenderCallback()}))}return{element:D,dispose:()=>{y=!0,_.dispose()}}}function x(e){if(!e)return"";let t=e.split(/[\s+|:|,|\{|\?]/,1);return t.length?t[0]:e}function N(e,t){let i=/^\w[\w\d+.-]*:/.test(t);return i?t:e.path.endsWith("/")?(0,y.i3)(e,t).toString():(0,y.i3)((0,y.XX)(e),t).toString()}let E=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function I(e,t){let{config:i,allowedSchemes:o}=function(e){var t;let i=[C.lg.http,C.lg.https,C.lg.mailto,C.lg.data,C.lg.file,C.lg.vscodeFileResource,C.lg.vscodeRemote,C.lg.vscodeRemoteResource];return e.isTrusted&&i.push(C.lg.command),{config:{ALLOWED_TAGS:null!==(t=e.allowedTags)&&void 0!==t?t:[...n.sQ],ALLOWED_ATTR:T,ALLOW_UNKNOWN_PROTOCOLS:!0},allowedSchemes:i}}(e),r=new f.SL;r.add(W("uponSanitizeAttribute",(e,t)=>{var i;if("style"===t.attrName||"class"===t.attrName){if("SPAN"===e.tagName){if("style"===t.attrName){t.keepAttr=/^(color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?(background-color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?$/.test(t.attrValue);return}if("class"===t.attrName){t.keepAttr=/^codicon codicon-[a-z\-]+( codicon-modifier-[a-z\-]+)?$/.test(t.attrValue);return}}t.keepAttr=!1;return}if("INPUT"===e.tagName&&(null===(i=e.attributes.getNamedItem("type"))||void 0===i?void 0:i.value)==="checkbox"){if("type"===t.attrName&&"checkbox"===t.attrValue||"disabled"===t.attrName||"checked"===t.attrName){t.keepAttr=!0;return}t.keepAttr=!1}})),r.add(W("uponSanitizeElement",(t,i)=>{var n,s;if("input"!==i.tagName||((null===(n=t.attributes.getNamedItem("type"))||void 0===n?void 0:n.value)==="checkbox"?t.setAttribute("disabled",""):e.replaceWithPlaintext||null===(s=t.parentElement)||void 0===s||s.removeChild(t)),e.replaceWithPlaintext&&!i.allowedTags[i.tagName]&&"body"!==i.tagName&&t.parentElement){let e,n;if("#comment"===i.tagName)e=``;else{let s=E.includes(i.tagName),o=t.attributes.length?" "+Array.from(t.attributes).map(e=>`${e.name}="${e.value}"`).join(" "):"";e=`<${i.tagName}${o}>`,s||(n=``)}let s=document.createDocumentFragment(),o=t.parentElement.ownerDocument.createTextNode(e);s.appendChild(o);let r=n?t.parentElement.ownerDocument.createTextNode(n):void 0;for(;t.firstChild;)s.appendChild(t.firstChild);r&&s.appendChild(r),t.parentElement.replaceChild(s,t)}})),r.add(n._F(o));try{return s.Nw(t,{...i,RETURN_TRUSTED_TYPE:!0})}finally{r.dispose()}}let T=["align","autoplay","alt","checked","class","controls","data-code","data-href","disabled","draggable","height","href","loop","muted","playsinline","poster","src","style","target","title","type","width","start"];function M(e){return"string"==typeof e?e:function(e,t){var i;let n=null!==(i=e.value)&&void 0!==i?i:"";n.length>1e5&&(n=`${n.substr(0,1e5)}…`);let s=v.parse(n,{renderer:P.value}).replace(/&(#\d+|[a-zA-Z]+);/g,e=>{var t;return null!==(t=R.get(e))&&void 0!==t?t:e});return I({isTrusted:!1},s).toString()}(e)}let R=new Map([[""",'"'],[" "," "],["&","&"],["'","'"],["<","<"],[">",">"]]);function A(){let e=new v.Renderer;return e.code=e=>e,e.blockquote=e=>e,e.html=e=>"",e.heading=(e,t,i)=>e+"\n",e.hr=()=>"",e.list=(e,t)=>e,e.listitem=e=>e+"\n",e.paragraph=e=>e+"\n",e.table=(e,t)=>e+t+"\n",e.tablerow=e=>e,e.tablecell=(e,t)=>e+" ",e.strong=e=>e,e.em=e=>e,e.codespan=e=>e,e.br=()=>"\n",e.del=e=>e,e.image=(e,t,i)=>"",e.text=e=>e,e.link=(e,t,i)=>i,e}let P=new m.o(e=>A());function O(e){let t="";return e.forEach(e=>{t+=e.raw}),t}function F(e){var t,i;if(e.tokens)for(let n=e.tokens.length-1;n>=0;n--){let s=e.tokens[n];if("text"===s.type){let o=s.raw.split("\n"),r=o[o.length-1];if(r.includes("`"))return B(e,"`");if(r.includes("**"))return B(e,"**");if(r.match(/\*\w/))return B(e,"*");if(r.match(/(^|\s)__\w/))return B(e,"__");if(r.match(/(^|\s)_\w/))return B(e,"_");if(r.match(/(^|\s)\[.*\]\(\w*/)||r.match(/^[^\[]*\]\([^\)]*$/)&&e.tokens.slice(0,n).some(e=>"text"===e.type&&e.raw.match(/\[[^\]]*$/))){let s=e.tokens.slice(n+1);if((null===(t=s[0])||void 0===t?void 0:t.type)==="link"&&(null===(i=s[1])||void 0===i?void 0:i.type)==="text"&&s[1].raw.match(/^ *"[^"]*$/)||r.match(/^[^"]* +"[^"]*$/))return B(e,'")');return B(e,")")}if(r.match(/(^|\s)\[\w*/))return B(e,"](https://microsoft.com)")}}}function B(e,t){let i=O(Array.isArray(e)?e:[e]);return v.lexer(i+t)[0]}function W(e,t){return s.v5(e,t),(0,f.OF)(()=>s.ok(e))}new m.o(()=>{let e=A();return e.code=e=>"\n```"+e+"```\n",e})},69362:function(e,t,i){"use strict";i.d(t,{n:function(){return l},q:function(){return a}});var n=i(5938);let s=new WeakMap;class o{static getSameOriginWindowChain(e){let t=s.get(e);if(!t){let i;t=[],s.set(e,t);let n=e;do(i=function(e){if(!e.parent||e.parent===e)return null;try{let t=e.location,i=e.parent.location;if("null"!==t.origin&&"null"!==i.origin&&t.origin!==i.origin)return null}catch(e){return null}return e.parent}(n))?t.push({window:new WeakRef(n),iframeElement:n.frameElement||null}):t.push({window:new WeakRef(n),iframeElement:null}),n=i;while(n)}return t.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){var i,n;if(!t||e===t)return{top:0,left:0};let s=0,o=0,r=this.getSameOriginWindowChain(e);for(let e of r){let r=e.window.deref();if(s+=null!==(i=null==r?void 0:r.scrollY)&&void 0!==i?i:0,o+=null!==(n=null==r?void 0:r.scrollX)&&void 0!==n?n:0,r===t||!e.iframeElement)break;let l=e.iframeElement.getBoundingClientRect();s+=l.top,o+=l.left}return{top:s,left:o}}}var r=i(58022);class l{constructor(e,t){this.timestamp=Date.now(),this.browserEvent=t,this.leftButton=0===t.button,this.middleButton=1===t.button,this.rightButton=2===t.button,this.buttons=t.buttons,this.target=t.target,this.detail=t.detail||1,"dblclick"===t.type&&(this.detail=2),this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,"number"==typeof t.pageX?(this.posx=t.pageX,this.posy=t.pageY):(this.posx=t.clientX+this.target.ownerDocument.body.scrollLeft+this.target.ownerDocument.documentElement.scrollLeft,this.posy=t.clientY+this.target.ownerDocument.body.scrollTop+this.target.ownerDocument.documentElement.scrollTop);let i=o.getPositionOfChildWindowRelativeToAncestorWindow(e,t.view);this.posx-=i.left,this.posy-=i.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class a{constructor(e,t=0,i=0){var s;this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=i,this.deltaX=t;let o=!1;if(n.i7){let e=navigator.userAgent.match(/Chrome\/(\d+)/),t=e?parseInt(e[1]):123;o=t<=122}if(e){let t=(null===(s=e.view)||void 0===s?void 0:s.devicePixelRatio)||1;void 0!==e.wheelDeltaY?o?this.deltaY=e.wheelDeltaY/(120*t):this.deltaY=e.wheelDeltaY/120:void 0!==e.VERTICAL_AXIS&&e.axis===e.VERTICAL_AXIS?this.deltaY=-e.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?n.vU&&!r.dz?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40),void 0!==e.wheelDeltaX?n.G6&&r.ED?this.deltaX=-(e.wheelDeltaX/120):o?this.deltaX=e.wheelDeltaX/(120*t):this.deltaX=e.wheelDeltaX/120:void 0!==e.HORIZONTAL_AXIS&&e.axis===e.HORIZONTAL_AXIS?this.deltaX=-e.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?n.vU&&!r.dz?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40),0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(o?this.deltaY=e.wheelDelta/(120*t):this.deltaY=e.wheelDelta/120)}}preventDefault(){var e;null===(e=this.browserEvent)||void 0===e||e.preventDefault()}stopPropagation(){var e;null===(e=this.browserEvent)||void 0===e||e.stopPropagation()}}},44634:function(e,t,i){"use strict";var n;i.d(t,{B:function(){return n}}),function(e){let t={total:0,min:Number.MAX_VALUE,max:0},i={...t},n={...t},s={...t},o=0,r={keydown:0,input:0,render:0};function l(){1===r.keydown&&(performance.mark("keydown/end"),r.keydown=2)}function a(){performance.mark("input/start"),r.input=1,u()}function d(){1===r.input&&(performance.mark("input/end"),r.input=2)}function h(){1===r.render&&(performance.mark("render/end"),r.render=2)}function u(){setTimeout(c)}function c(){2===r.keydown&&2===r.input&&2===r.render&&(performance.mark("inputlatency/end"),performance.measure("keydown","keydown/start","keydown/end"),performance.measure("input","input/start","input/end"),performance.measure("render","render/start","render/end"),performance.measure("inputlatency","inputlatency/start","inputlatency/end"),g("keydown",t),g("input",i),g("render",n),g("inputlatency",s),o++,performance.clearMarks("keydown/start"),performance.clearMarks("keydown/end"),performance.clearMarks("input/start"),performance.clearMarks("input/end"),performance.clearMarks("render/start"),performance.clearMarks("render/end"),performance.clearMarks("inputlatency/start"),performance.clearMarks("inputlatency/end"),performance.clearMeasures("keydown"),performance.clearMeasures("input"),performance.clearMeasures("render"),performance.clearMeasures("inputlatency"),r.keydown=0,r.input=0,r.render=0)}function g(e,t){let i=performance.getEntriesByName(e)[0].duration;t.total+=i,t.min=Math.min(t.min,i),t.max=Math.max(t.max,i)}function p(e){return{average:e.total/o,max:e.max,min:e.min}}function m(e){e.total=0,e.min=Number.MAX_VALUE,e.max=0}e.onKeyDown=function(){c(),performance.mark("inputlatency/start"),performance.mark("keydown/start"),r.keydown=1,queueMicrotask(l)},e.onBeforeInput=a,e.onInput=function(){0===r.input&&a(),queueMicrotask(d)},e.onKeyUp=function(){c()},e.onSelectionChange=function(){c()},e.onRenderStart=function(){2===r.keydown&&2===r.input&&0===r.render&&(performance.mark("render/start"),r.render=1,queueMicrotask(h),u())},e.getAndClearMeasurements=function(){if(0===o)return;let e={keydown:p(t),input:p(i),render:p(n),total:p(s),sampleCount:o};return m(t),m(i),m(n),m(s),o=0,e}}(n||(n={}))},96825:function(e,t,i){"use strict";i.d(t,{T:function(){return a}});var n=i(81845),s=i(79915),o=i(70784);class r extends o.JT{constructor(e){super(),this._onDidChange=this._register(new s.Q5),this.onDidChange=this._onDidChange.event,this._listener=()=>this._handleChange(e,!0),this._mediaQueryList=null,this._handleChange(e,!1)}_handleChange(e,t){var i;null===(i=this._mediaQueryList)||void 0===i||i.removeEventListener("change",this._listener),this._mediaQueryList=e.matchMedia(`(resolution: ${e.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),t&&this._onDidChange.fire()}}class l extends o.JT{get value(){return this._value}constructor(e){super(),this._onDidChange=this._register(new s.Q5),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio(e);let t=this._register(new r(e));this._register(t.onDidChange(()=>{this._value=this._getPixelRatio(e),this._onDidChange.fire(this._value)}))}_getPixelRatio(e){let t=document.createElement("canvas").getContext("2d"),i=e.devicePixelRatio||1,n=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return i/n}}let a=new class{constructor(){this.mapWindowIdToPixelRatioMonitor=new Map}_getOrCreatePixelRatioMonitor(e){let t=(0,n.ZY)(e),i=this.mapWindowIdToPixelRatioMonitor.get(t);return i||(i=(0,o.dk)(new l(e)),this.mapWindowIdToPixelRatioMonitor.set(t,i),(0,o.dk)(s.ju.once(n.ey)(({vscodeWindowId:e})=>{e===t&&(null==i||i.dispose(),this.mapWindowIdToPixelRatioMonitor.delete(t))}))),i}getInstance(e){return this._getOrCreatePixelRatioMonitor(e)}}},598:function(e,t,i){"use strict";i.d(t,{o:function(){return c},t:function(){return s}});var n,s,o=i(81845),r=i(44709),l=i(40789),a=i(12435),d=i(79915),h=i(70784),u=i(92270);(n=s||(s={})).Tap="-monaco-gesturetap",n.Change="-monaco-gesturechange",n.Start="-monaco-gesturestart",n.End="-monaco-gesturesend",n.Contextmenu="-monaco-gesturecontextmenu";class c extends h.JT{constructor(){super(),this.dispatched=!1,this.targets=new u.S,this.ignoreTargets=new u.S,this.activeTouches={},this.handle=null,this._lastSetTapCountTime=0,this._register(d.ju.runAndSubscribe(o.Xo,({window:e,disposables:t})=>{t.add(o.nm(e.document,"touchstart",e=>this.onTouchStart(e),{passive:!1})),t.add(o.nm(e.document,"touchend",t=>this.onTouchEnd(e,t))),t.add(o.nm(e.document,"touchmove",e=>this.onTouchMove(e),{passive:!1}))},{window:r.E,disposables:this._store}))}static addTarget(e){if(!c.isTouchDevice())return h.JT.None;c.INSTANCE||(c.INSTANCE=(0,h.dk)(new c));let t=c.INSTANCE.targets.push(e);return(0,h.OF)(t)}static ignoreTarget(e){if(!c.isTouchDevice())return h.JT.None;c.INSTANCE||(c.INSTANCE=(0,h.dk)(new c));let t=c.INSTANCE.ignoreTargets.push(e);return(0,h.OF)(t)}static isTouchDevice(){return"ontouchstart"in r.E||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){let t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let i=0,n=e.targetTouches.length;iMath.abs(a.initialPageX-l.Gb(a.rollingPageX))&&30>Math.abs(a.initialPageY-l.Gb(a.rollingPageY))){let e=this.newGestureEvent(s.Tap,a.initialTarget);e.pageX=l.Gb(a.rollingPageX),e.pageY=l.Gb(a.rollingPageY),this.dispatchEvent(e)}else if(d>=c.HOLD_DELAY&&30>Math.abs(a.initialPageX-l.Gb(a.rollingPageX))&&30>Math.abs(a.initialPageY-l.Gb(a.rollingPageY))){let e=this.newGestureEvent(s.Contextmenu,a.initialTarget);e.pageX=l.Gb(a.rollingPageX),e.pageY=l.Gb(a.rollingPageY),this.dispatchEvent(e)}else if(1===n){let t=l.Gb(a.rollingPageX),n=l.Gb(a.rollingPageY),s=l.Gb(a.rollingTimestamps)-a.rollingTimestamps[0],o=t-a.rollingPageX[0],r=n-a.rollingPageY[0],d=[...this.targets].filter(e=>a.initialTarget instanceof Node&&e.contains(a.initialTarget));this.inertia(e,d,i,Math.abs(o)/s,o>0?1:-1,t,Math.abs(r)/s,r>0?1:-1,n)}this.dispatchEvent(this.newGestureEvent(s.End,a.initialTarget)),delete this.activeTouches[r.identifier]}this.dispatched&&(t.preventDefault(),t.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,t){let i=document.createEvent("CustomEvent");return i.initEvent(e,!1,!0),i.initialTarget=t,i.tapCount=0,i}dispatchEvent(e){if(e.type===s.Tap){let t=new Date().getTime(),i=0;i=t-this._lastSetTapCountTime>c.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=t,e.tapCount=i}else(e.type===s.Change||e.type===s.Contextmenu)&&(this._lastSetTapCountTime=0);if(e.initialTarget instanceof Node){for(let t of this.ignoreTargets)if(t.contains(e.initialTarget))return;let t=[];for(let i of this.targets)if(i.contains(e.initialTarget)){let n=0,s=e.initialTarget;for(;s&&s!==i;)n++,s=s.parentElement;t.push([n,i])}for(let[i,n]of(t.sort((e,t)=>e[0]-t[0]),t))n.dispatchEvent(e),this.dispatched=!0}}inertia(e,t,i,n,r,l,a,d,h){this.handle=o.jL(e,()=>{let o=Date.now(),u=o-i,g=0,p=0,m=!0;n+=c.SCROLL_FRICTION*u,a+=c.SCROLL_FRICTION*u,n>0&&(m=!1,g=r*n*u),a>0&&(m=!1,p=d*a*u);let f=this.newGestureEvent(s.Change);f.translationX=g,f.translationY=p,t.forEach(e=>e.dispatchEvent(f)),m||this.inertia(e,t,o,n,r,l+g,a,d,h+p)})}onTouchMove(e){let t=Date.now();for(let i=0,n=e.changedTouches.length;i3&&(o.rollingPageX.shift(),o.rollingPageY.shift(),o.rollingTimestamps.shift()),o.rollingPageX.push(n.pageX),o.rollingPageY.push(n.pageY),o.rollingTimestamps.push(t)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}}c.SCROLL_FRICTION=-.005,c.HOLD_DELAY=700,c.CLEAR_TAP_COUNT_TIME=400,function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);o>3&&r&&Object.defineProperty(t,i,r)}([a.H],c,"isTouchDevice",null)},39813:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var n=i(44709),s=i(32378);function o(e,t){var i;let o=globalThis.MonacoEnvironment;if(null==o?void 0:o.createTrustedTypesPolicy)try{return o.createTrustedTypesPolicy(e,t)}catch(e){(0,s.dL)(e);return}try{return null===(i=n.E.trustedTypes)||void 0===i?void 0:i.createPolicy(e,t)}catch(e){(0,s.dL)(e);return}}},13546:function(e,t,i){"use strict";i.d(t,{gU:function(){return E},YH:function(){return N},Lc:function(){return I}});var n=i(5938),s=i(38431),o=i(81845),r=i(598),l=i(82905),a=i(21887),d=i(69629),h=i(7802),u=i(85432),c=i(56240),g=i(40789),p=i(79915),m=i(57231),f=i(70784),_=i(58022);i(31121);var v=i(82801);let b=o.$,C="selectOption.entry.template";class w{get templateId(){return C}renderTemplate(e){let t=Object.create(null);return t.root=e,t.text=o.R3(e,b(".option-text")),t.detail=o.R3(e,b(".option-detail")),t.decoratorRight=o.R3(e,b(".option-decorator-right")),t}renderElement(e,t,i){let n=e.text,s=e.detail,o=e.decoratorRight,r=e.isDisabled;i.text.textContent=n,i.detail.textContent=s||"",i.decoratorRight.innerText=o||"",r?i.root.classList.add("option-disabled"):i.root.classList.remove("option-disabled")}disposeTemplate(e){}}class y extends f.JT{constructor(e,t,i,n,s){super(),this.options=[],this._currentSelection=0,this._hasDetails=!1,this._skipLayout=!1,this._sticky=!1,this._isVisible=!1,this.styles=n,this.selectBoxOptions=s||Object.create(null),"number"!=typeof this.selectBoxOptions.minBottomMargin?this.selectBoxOptions.minBottomMargin=y.DEFAULT_DROPDOWN_MINIMUM_BOTTOM_MARGIN:this.selectBoxOptions.minBottomMargin<0&&(this.selectBoxOptions.minBottomMargin=0),this.selectElement=document.createElement("select"),this.selectElement.className="monaco-select-box monaco-select-box-dropdown-padding","string"==typeof this.selectBoxOptions.ariaLabel&&this.selectElement.setAttribute("aria-label",this.selectBoxOptions.ariaLabel),"string"==typeof this.selectBoxOptions.ariaDescription&&this.selectElement.setAttribute("aria-description",this.selectBoxOptions.ariaDescription),this._onDidSelect=new p.Q5,this._register(this._onDidSelect),this.registerListeners(),this.constructSelectDropDown(i),this.selected=t||0,e&&this.setOptions(e,t),this.initStyleSheet()}setTitle(e){!this._hover&&e?this._hover=this._register((0,u.B)().setupUpdatableHover((0,l.tM)("mouse"),this.selectElement,e)):this._hover&&this._hover.update(e)}getHeight(){return 22}getTemplateId(){return C}constructSelectDropDown(e){this.contextViewProvider=e,this.selectDropDownContainer=o.$(".monaco-select-box-dropdown-container"),this.selectDropDownContainer.classList.add("monaco-select-box-dropdown-padding"),this.selectionDetailsPane=o.R3(this.selectDropDownContainer,b(".select-box-details-pane"));let t=o.R3(this.selectDropDownContainer,b(".select-box-dropdown-container-width-control")),i=o.R3(t,b(".width-control-div"));this.widthControlElement=document.createElement("span"),this.widthControlElement.className="option-text-width-control",o.R3(i,this.widthControlElement),this._dropDownPosition=0,this.styleElement=o.dS(this.selectDropDownContainer),this.selectDropDownContainer.setAttribute("draggable","true"),this._register(o.nm(this.selectDropDownContainer,o.tw.DRAG_START,e=>{o.zB.stop(e,!0)}))}registerListeners(){let e;this._register(o.mu(this.selectElement,"change",e=>{this.selected=e.target.selectedIndex,this._onDidSelect.fire({index:e.target.selectedIndex,selected:e.target.value}),this.options[this.selected]&&this.options[this.selected].text&&this.setTitle(this.options[this.selected].text)})),this._register(o.nm(this.selectElement,o.tw.CLICK,e=>{o.zB.stop(e),this._isVisible?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(o.nm(this.selectElement,o.tw.MOUSE_DOWN,e=>{o.zB.stop(e)})),this._register(o.nm(this.selectElement,"touchstart",t=>{e=this._isVisible})),this._register(o.nm(this.selectElement,"touchend",t=>{o.zB.stop(t),e?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(o.nm(this.selectElement,o.tw.KEY_DOWN,e=>{let t=new d.y(e),i=!1;_.dz?(18===t.keyCode||16===t.keyCode||10===t.keyCode||3===t.keyCode)&&(i=!0):(18===t.keyCode&&t.altKey||16===t.keyCode&&t.altKey||10===t.keyCode||3===t.keyCode)&&(i=!0),i&&(this.showSelectDropDown(),o.zB.stop(e,!0))}))}get onDidSelect(){return this._onDidSelect.event}setOptions(e,t){g.fS(this.options,e)||(this.options=e,this.selectElement.options.length=0,this._hasDetails=!1,this._cachedMaxDetailsHeight=void 0,this.options.forEach((e,t)=>{this.selectElement.add(this.createOption(e.text,t,e.isDisabled)),"string"==typeof e.description&&(this._hasDetails=!0)})),void 0!==t&&(this.select(t),this._currentSelection=this.selected)}setOptionsList(){var e;null===(e=this.selectList)||void 0===e||e.splice(0,this.selectList.length,this.options)}select(e){e>=0&&ethis.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.options[this.selected]&&this.options[this.selected].text&&this.setTitle(this.options[this.selected].text)}focus(){this.selectElement&&(this.selectElement.tabIndex=0,this.selectElement.focus())}blur(){this.selectElement&&(this.selectElement.tabIndex=-1,this.selectElement.blur())}setFocusable(e){this.selectElement.tabIndex=e?0:-1}render(e){this.container=e,e.classList.add("select-container"),e.appendChild(this.selectElement),this.styleSelectElement()}initStyleSheet(){let e=[];this.styles.listFocusBackground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { background-color: ${this.styles.listFocusBackground} !important; }`),this.styles.listFocusForeground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { color: ${this.styles.listFocusForeground} !important; }`),this.styles.decoratorRightForeground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.focused) .option-decorator-right { color: ${this.styles.decoratorRightForeground}; }`),this.styles.selectBackground&&this.styles.selectBorder&&this.styles.selectBorder!==this.styles.selectBackground?(e.push(`.monaco-select-box-dropdown-container { border: 1px solid ${this.styles.selectBorder} } `),e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectBorder} } `),e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectBorder} } `)):this.styles.selectListBorder&&(e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectListBorder} } `),e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectListBorder} } `)),this.styles.listHoverForeground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { color: ${this.styles.listHoverForeground} !important; }`),this.styles.listHoverBackground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { background-color: ${this.styles.listHoverBackground} !important; }`),this.styles.listFocusOutline&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { outline: 1.6px dotted ${this.styles.listFocusOutline} !important; outline-offset: -1.6px !important; }`),this.styles.listHoverOutline&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { outline: 1.6px dashed ${this.styles.listHoverOutline} !important; outline-offset: -1.6px !important; }`),e.push(".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled.focused { background-color: transparent !important; color: inherit !important; outline: none !important; }"),e.push(".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled:hover { background-color: transparent !important; color: inherit !important; outline: none !important; }"),this.styleElement.textContent=e.join("\n")}styleSelectElement(){var e,t,i;let n=null!==(e=this.styles.selectBackground)&&void 0!==e?e:"",s=null!==(t=this.styles.selectForeground)&&void 0!==t?t:"",o=null!==(i=this.styles.selectBorder)&&void 0!==i?i:"";this.selectElement.style.backgroundColor=n,this.selectElement.style.color=s,this.selectElement.style.borderColor=o}styleList(){var e,t;let i=null!==(e=this.styles.selectBackground)&&void 0!==e?e:"",n=o.XT(this.styles.selectListBackground,i);this.selectDropDownListContainer.style.backgroundColor=n,this.selectionDetailsPane.style.backgroundColor=n;let s=null!==(t=this.styles.focusBorder)&&void 0!==t?t:"";this.selectDropDownContainer.style.outlineColor=s,this.selectDropDownContainer.style.outlineOffset="-1px",this.selectList.style(this.styles)}createOption(e,t,i){let n=document.createElement("option");return n.value=e,n.text=e,n.disabled=!!i,n}showSelectDropDown(){this.selectionDetailsPane.innerText="",this.contextViewProvider&&!this._isVisible&&(this.createSelectList(this.selectDropDownContainer),this.setOptionsList(),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:e=>this.renderSelectDropDown(e,!0),layout:()=>{this.layoutSelectDropDown()},onHide:()=>{this.selectDropDownContainer.classList.remove("visible"),this.selectElement.classList.remove("synthetic-focus")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._isVisible=!0,this.hideSelectDropDown(!1),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:e=>this.renderSelectDropDown(e),layout:()=>this.layoutSelectDropDown(),onHide:()=>{this.selectDropDownContainer.classList.remove("visible"),this.selectElement.classList.remove("synthetic-focus")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._currentSelection=this.selected,this._isVisible=!0,this.selectElement.setAttribute("aria-expanded","true"))}hideSelectDropDown(e){this.contextViewProvider&&this._isVisible&&(this._isVisible=!1,this.selectElement.setAttribute("aria-expanded","false"),e&&this.selectElement.focus(),this.contextViewProvider.hideContextView())}renderSelectDropDown(e,t){return e.appendChild(this.selectDropDownContainer),this.layoutSelectDropDown(t),{dispose:()=>{try{e.removeChild(this.selectDropDownContainer)}catch(e){}}}}measureMaxDetailsHeight(){let e=0;return this.options.forEach((t,i)=>{this.updateDetail(i),this.selectionDetailsPane.offsetHeight>e&&(e=this.selectionDetailsPane.offsetHeight)}),e}layoutSelectDropDown(e){if(this._skipLayout||!this.selectList)return!1;{this.selectDropDownContainer.classList.add("visible");let t=o.Jj(this.selectElement),i=o.i(this.selectElement),n=o.Jj(this.selectElement).getComputedStyle(this.selectElement),s=parseFloat(n.getPropertyValue("--dropdown-padding-top"))+parseFloat(n.getPropertyValue("--dropdown-padding-bottom")),r=t.innerHeight-i.top-i.height-(this.selectBoxOptions.minBottomMargin||0),l=i.top-y.DEFAULT_DROPDOWN_MINIMUM_TOP_MARGIN,a=this.selectElement.offsetWidth,d=this.setWidthControlElement(this.widthControlElement),h=Math.max(d,Math.round(a)).toString()+"px";this.selectDropDownContainer.style.width=h,this.selectList.getHTMLElement().style.height="",this.selectList.layout();let u=this.selectList.contentHeight;this._hasDetails&&void 0===this._cachedMaxDetailsHeight&&(this._cachedMaxDetailsHeight=this.measureMaxDetailsHeight());let c=this._hasDetails?this._cachedMaxDetailsHeight:0,g=u+s+c,p=Math.floor((r-s-c)/this.getHeight()),m=Math.floor((l-s-c)/this.getHeight());if(e)return!(i.top+i.height>t.innerHeight-22)&&!(i.topp&&this.options.length>p?(this._dropDownPosition=1,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectionDetailsPane.classList.remove("border-top"),this.selectionDetailsPane.classList.add("border-bottom")):(this._dropDownPosition=0,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectionDetailsPane.classList.remove("border-bottom"),this.selectionDetailsPane.classList.add("border-top")),!0);if(i.top+i.height>t.innerHeight-22||i.topr&&(u=p*this.getHeight())}else g>l&&(u=m*this.getHeight());return this.selectList.layout(u),this.selectList.domFocus(),this.selectList.length>0&&(this.selectList.setFocus([this.selected||0]),this.selectList.reveal(this.selectList.getFocus()[0]||0)),this._hasDetails?(this.selectList.getHTMLElement().style.height=u+s+"px",this.selectDropDownContainer.style.height=""):this.selectDropDownContainer.style.height=u+s+"px",this.updateDetail(this.selected),this.selectDropDownContainer.style.width=h,this.selectDropDownListContainer.setAttribute("tabindex","0"),this.selectElement.classList.add("synthetic-focus"),this.selectDropDownContainer.classList.add("synthetic-focus"),!0}}setWidthControlElement(e){let t=0;if(e){let i=0,n=0;this.options.forEach((e,t)=>{let s=e.detail?e.detail.length:0,o=e.decoratorRight?e.decoratorRight.length:0,r=e.text.length+s+o;r>n&&(i=t,n=r)}),e.textContent=this.options[i].text+(this.options[i].decoratorRight?this.options[i].decoratorRight+" ":""),t=o.w(e)}return t}createSelectList(e){if(this.selectList)return;this.selectDropDownListContainer=o.R3(e,b(".select-box-dropdown-list-container")),this.listRenderer=new w,this.selectList=new c.aV("SelectBoxCustom",this.selectDropDownListContainer,this,[this.listRenderer],{useShadows:!1,verticalScrollMode:3,keyboardSupport:!1,mouseSupport:!1,accessibilityProvider:{getAriaLabel:e=>{let t=e.text;return e.detail&&(t+=`. ${e.detail}`),e.decoratorRight&&(t+=`. ${e.decoratorRight}`),e.description&&(t+=`. ${e.description}`),t},getWidgetAriaLabel:()=>(0,v.NC)({key:"selectBox",comment:["Behave like native select dropdown element."]},"Select Box"),getRole:()=>_.dz?"":"option",getWidgetRole:()=>"listbox"}}),this.selectBoxOptions.ariaLabel&&(this.selectList.ariaLabel=this.selectBoxOptions.ariaLabel);let t=this._register(new a.Y(this.selectDropDownListContainer,"keydown")),i=p.ju.chain(t.event,e=>e.filter(()=>this.selectList.length>0).map(e=>new d.y(e)));this._register(p.ju.chain(i,e=>e.filter(e=>3===e.keyCode))(this.onEnter,this)),this._register(p.ju.chain(i,e=>e.filter(e=>2===e.keyCode))(this.onEnter,this)),this._register(p.ju.chain(i,e=>e.filter(e=>9===e.keyCode))(this.onEscape,this)),this._register(p.ju.chain(i,e=>e.filter(e=>16===e.keyCode))(this.onUpArrow,this)),this._register(p.ju.chain(i,e=>e.filter(e=>18===e.keyCode))(this.onDownArrow,this)),this._register(p.ju.chain(i,e=>e.filter(e=>12===e.keyCode))(this.onPageDown,this)),this._register(p.ju.chain(i,e=>e.filter(e=>11===e.keyCode))(this.onPageUp,this)),this._register(p.ju.chain(i,e=>e.filter(e=>14===e.keyCode))(this.onHome,this)),this._register(p.ju.chain(i,e=>e.filter(e=>13===e.keyCode))(this.onEnd,this)),this._register(p.ju.chain(i,e=>e.filter(e=>e.keyCode>=21&&e.keyCode<=56||e.keyCode>=85&&e.keyCode<=113))(this.onCharacter,this)),this._register(o.nm(this.selectList.getHTMLElement(),o.tw.POINTER_UP,e=>this.onPointerUp(e))),this._register(this.selectList.onMouseOver(e=>void 0!==e.index&&this.selectList.setFocus([e.index]))),this._register(this.selectList.onDidChangeFocus(e=>this.onListFocus(e))),this._register(o.nm(this.selectDropDownContainer,o.tw.FOCUS_OUT,e=>{!this._isVisible||o.jg(e.relatedTarget,this.selectDropDownContainer)||this.onListBlur()})),this.selectList.getHTMLElement().setAttribute("aria-label",this.selectBoxOptions.ariaLabel||""),this.selectList.getHTMLElement().setAttribute("aria-expanded","true"),this.styleList()}onPointerUp(e){if(!this.selectList.length)return;o.zB.stop(e);let t=e.target;if(!t||t.classList.contains("slider"))return;let i=t.closest(".monaco-list-row");if(!i)return;let n=Number(i.getAttribute("data-index")),s=i.classList.contains("option-disabled");n>=0&&n{for(let t=0;tthis.selected+2)this.selected+=2;else{if(t)return;this.selected++}this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0])}}onUpArrow(e){if(this.selected>0){o.zB.stop(e,!0);let t=this.options[this.selected-1].isDisabled;t&&this.selected>1?this.selected-=2:this.selected--,this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0])}}onPageUp(e){o.zB.stop(e),this.selectList.focusPreviousPage(),setTimeout(()=>{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected>0&&(this.selected--,this.selectList.setFocus([this.selected])),this.selectList.reveal(this.selected),this.select(this.selected)},1)}onHome(e){o.zB.stop(e),this.options.length<2||(this.selected=0,this.options[this.selected].isDisabled&&this.selected>1&&this.selected++,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onEnd(e){o.zB.stop(e),this.options.length<2||(this.selected=this.options.length-1,this.options[this.selected].isDisabled&&this.selected>1&&this.selected--,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onCharacter(e){let t=m.kL.toString(e.keyCode),i=-1;for(let n=0;n{this._register(o.nm(this.selectElement,e,e=>{this.selectElement.focus()}))}),this._register(o.mu(this.selectElement,"click",e=>{o.zB.stop(e,!0)})),this._register(o.mu(this.selectElement,"change",e=>{this.selectElement.title=e.target.value,this._onDidSelect.fire({index:e.target.selectedIndex,selected:e.target.value})})),this._register(o.mu(this.selectElement,"keydown",e=>{let t=!1;_.dz?(18===e.keyCode||16===e.keyCode||10===e.keyCode)&&(t=!0):(18===e.keyCode&&e.altKey||10===e.keyCode||3===e.keyCode)&&(t=!0),t&&e.stopPropagation()}))}get onDidSelect(){return this._onDidSelect.event}setOptions(e,t){this.options&&g.fS(this.options,e)||(this.options=e,this.selectElement.options.length=0,this.options.forEach((e,t)=>{this.selectElement.add(this.createOption(e.text,t,e.isDisabled))})),void 0!==t&&this.select(t)}select(e){0===this.options.length?this.selected=0:e>=0&&ethis.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.selected{this.element&&this.handleActionChangeEvent(e)}))}handleActionChangeEvent(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new D.Wi)),this._actionRunner}set actionRunner(e){this._actionRunner=e}isEnabled(){return this._action.enabled}setActionContext(e){this._context=e}render(e){let t=this.element=e;this._register(r.o.addTarget(e));let i=this.options&&this.options.draggable;i&&(e.draggable=!0,n.vU&&this._register((0,o.nm)(e,o.tw.DRAG_START,e=>{var t;return null===(t=e.dataTransfer)||void 0===t?void 0:t.setData(s.g.TEXT,this._action.label)}))),this._register((0,o.nm)(t,r.t.Tap,e=>this.onClick(e,!0))),this._register((0,o.nm)(t,o.tw.MOUSE_DOWN,e=>{i||o.zB.stop(e,!0),this._action.enabled&&0===e.button&&t.classList.add("active")})),_.dz&&this._register((0,o.nm)(t,o.tw.CONTEXT_MENU,e=>{0===e.button&&!0===e.ctrlKey&&this.onClick(e)})),this._register((0,o.nm)(t,o.tw.CLICK,e=>{o.zB.stop(e,!0),this.options&&this.options.isMenu||this.onClick(e)})),this._register((0,o.nm)(t,o.tw.DBLCLICK,e=>{o.zB.stop(e,!0)})),[o.tw.MOUSE_UP,o.tw.MOUSE_OUT].forEach(e=>{this._register((0,o.nm)(t,e,e=>{o.zB.stop(e),t.classList.remove("active")}))})}onClick(e,t=!1){var i;o.zB.stop(e,!0);let n=x.Jp(this._context)?(null===(i=this.options)||void 0===i?void 0:i.useEventAsContext)?e:{preserveFocus:t}:this._context;this.actionRunner.run(this._action,n)}focus(){this.element&&(this.element.tabIndex=0,this.element.focus(),this.element.classList.add("focused"))}blur(){this.element&&(this.element.blur(),this.element.tabIndex=-1,this.element.classList.remove("focused"))}setFocusable(e){this.element&&(this.element.tabIndex=e?0:-1)}get trapsArrowNavigation(){return!1}updateEnabled(){}updateLabel(){}getClass(){return this.action.class}getTooltip(){return this.action.tooltip}updateTooltip(){var e,t,i;if(!this.element)return;let n=null!==(e=this.getTooltip())&&void 0!==e?e:"";if(this.updateAriaLabel(),null===(t=this.options.hoverDelegate)||void 0===t?void 0:t.showNativeHover)this.element.title=n;else if(this.customHover||""===n)this.customHover&&this.customHover.update(n);else{let e=null!==(i=this.options.hoverDelegate)&&void 0!==i?i:(0,l.tM)("element");this.customHover=this._store.add((0,u.B)().setupUpdatableHover(e,this.element,n))}}updateAriaLabel(){var e;if(this.element){let t=null!==(e=this.getTooltip())&&void 0!==e?e:"";this.element.setAttribute("aria-label",t)}}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),this._context=void 0,super.dispose()}}class E extends N{constructor(e,t,i){super(e,t,i),this.options=i,this.options.icon=void 0!==i.icon&&i.icon,this.options.label=void 0===i.label||i.label,this.cssClass=""}render(e){super.render(e),x.p_(this.element);let t=document.createElement("a");if(t.classList.add("action-label"),t.setAttribute("role",this.getDefaultAriaRole()),this.label=t,this.element.appendChild(t),this.options.label&&this.options.keybinding){let e=document.createElement("span");e.classList.add("keybinding"),e.textContent=this.options.keybinding,this.element.appendChild(e)}this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}getDefaultAriaRole(){return this._action.id===D.Z0.ID?"presentation":this.options.isMenu?"menuitem":"button"}focus(){this.label&&(this.label.tabIndex=0,this.label.focus())}blur(){this.label&&(this.label.tabIndex=-1)}setFocusable(e){this.label&&(this.label.tabIndex=e?0:-1)}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.action.label)}getTooltip(){let e=null;return this.action.tooltip?e=this.action.tooltip:!this.options.label&&this.action.label&&this.options.icon&&(e=this.action.label,this.options.keybinding&&(e=v.NC({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),null!=e?e:void 0}updateClass(){var e;this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(" ")),this.options.icon?(this.cssClass=this.getClass(),this.label&&(this.label.classList.add("codicon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" "))),this.updateEnabled()):null===(e=this.label)||void 0===e||e.classList.remove("codicon")}updateEnabled(){var e,t;this.action.enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),this.label.classList.remove("disabled")),null===(e=this.element)||void 0===e||e.classList.remove("disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),this.label.classList.add("disabled")),null===(t=this.element)||void 0===t||t.classList.add("disabled"))}updateAriaLabel(){var e;if(this.label){let t=null!==(e=this.getTooltip())&&void 0!==e?e:"";this.label.setAttribute("aria-label",t)}}updateChecked(){this.label&&(void 0!==this.action.checked?(this.label.classList.toggle("checked",this.action.checked),this.label.setAttribute("aria-checked",this.action.checked?"true":"false"),this.label.setAttribute("role","checkbox")):(this.label.classList.remove("checked"),this.label.removeAttribute("aria-checked"),this.label.setAttribute("role",this.getDefaultAriaRole())))}}class I extends N{constructor(e,t,i,n,s,o,r){super(e,t),this.selectBox=new k(i,n,s,o,r),this.selectBox.setFocusable(!1),this._register(this.selectBox),this.registerListeners()}select(e){this.selectBox.select(e)}registerListeners(){this._register(this.selectBox.onDidSelect(e=>this.runAction(e.selected,e.index)))}runAction(e,t){this.actionRunner.run(this._action,this.getActionContext(e,t))}getActionContext(e,t){return e}setFocusable(e){this.selectBox.setFocusable(e)}focus(){var e;null===(e=this.selectBox)||void 0===e||e.focus()}blur(){var e;null===(e=this.selectBox)||void 0===e||e.blur()}render(e){this.selectBox.render(e)}}},21489:function(e,t,i){"use strict";i.d(t,{o:function(){return u}});var n=i(81845),s=i(69629),o=i(13546),r=i(82905),l=i(76886),a=i(79915),d=i(70784),h=i(24162);i(24816);class u extends d.JT{constructor(e,t={}){var i,h,u,c,g,p,m;let f,_;switch(super(),this._actionRunnerDisposables=this._register(new d.SL),this.viewItemDisposables=this._register(new d.b2),this.triggerKeyDown=!1,this.focusable=!0,this._onDidBlur=this._register(new a.Q5),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new a.Q5({onWillAddFirstListener:()=>this.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new a.Q5),this.onDidRun=this._onDidRun.event,this._onWillRun=this._register(new a.Q5),this.onWillRun=this._onWillRun.event,this.options=t,this._context=null!==(i=t.context)&&void 0!==i?i:null,this._orientation=null!==(h=this.options.orientation)&&void 0!==h?h:0,this._triggerKeys={keyDown:null!==(c=null===(u=this.options.triggerKeys)||void 0===u?void 0:u.keyDown)&&void 0!==c&&c,keys:null!==(p=null===(g=this.options.triggerKeys)||void 0===g?void 0:g.keys)&&void 0!==p?p:[3,10]},this._hoverDelegate=null!==(m=t.hoverDelegate)&&void 0!==m?m:this._register((0,r.p0)()),this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new l.Wi,this._actionRunnerDisposables.add(this._actionRunner)),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(e=>this._onDidRun.fire(e))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(e=>this._onWillRun.fire(e))),this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",this._orientation){case 0:f=[15],_=[17];break;case 1:f=[16],_=[18],this.domNode.className+=" vertical"}this._register(n.nm(this.domNode,n.tw.KEY_DOWN,e=>{let t=new s.y(e),i=!0,n="number"==typeof this.focusedItem?this.viewItems[this.focusedItem]:void 0;f&&(t.equals(f[0])||t.equals(f[1]))?i=this.focusPrevious():_&&(t.equals(_[0])||t.equals(_[1]))?i=this.focusNext():t.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():t.equals(14)?i=this.focusFirst():t.equals(13)?i=this.focusLast():t.equals(2)&&n instanceof o.YH&&n.trapsArrowNavigation?i=this.focusNext():this.isTriggerKeyEvent(t)?this._triggerKeys.keyDown?this.doTrigger(t):this.triggerKeyDown=!0:i=!1,i&&(t.preventDefault(),t.stopPropagation())})),this._register(n.nm(this.domNode,n.tw.KEY_UP,e=>{let t=new s.y(e);this.isTriggerKeyEvent(t)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(t)),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026)||t.equals(16)||t.equals(18)||t.equals(15)||t.equals(17))&&this.updateFocusedItem()})),this.focusTracker=this._register(n.go(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{n.vY()!==this.domNode&&n.jg(n.vY(),this.domNode)||(this._onDidBlur.fire(),this.previouslyFocusedItem=this.focusedItem,this.focusedItem=void 0,this.triggerKeyDown=!1)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.options.highlightToggledItems&&this.actionsList.classList.add("highlight-toggled"),this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),e.appendChild(this.domNode)}refreshRole(){this.length()>=1?this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"):this.actionsList.setAttribute("role","presentation")}setFocusable(e){if(this.focusable=e,this.focusable){let e=this.viewItems.find(e=>e instanceof o.YH&&e.isEnabled());e instanceof o.YH&&e.setFocusable(!0)}else this.viewItems.forEach(e=>{e instanceof o.YH&&e.setFocusable(!1)})}isTriggerKeyEvent(e){let t=!1;return this._triggerKeys.keys.forEach(i=>{t=t||e.equals(i)}),t}updateFocusedItem(){var e,t;for(let i=0;it.setActionContext(e))}get actionRunner(){return this._actionRunner}set actionRunner(e){this._actionRunner=e,this._actionRunnerDisposables.clear(),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(e=>this._onDidRun.fire(e))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(e=>this._onWillRun.fire(e))),this.viewItems.forEach(t=>t.actionRunner=e)}getContainer(){return this.domNode}getAction(e){var t;if("number"==typeof e)return null===(t=this.viewItems[e])||void 0===t?void 0:t.action;if(n.Re(e)){for(;e.parentElement!==this.actionsList;){if(!e.parentElement)return;e=e.parentElement}for(let t=0;t{let i;let r=document.createElement("li");r.className="action-item",r.setAttribute("role","presentation");let l={hoverDelegate:this._hoverDelegate,...t};this.options.actionViewItemProvider&&(i=this.options.actionViewItemProvider(e,l)),i||(i=new o.gU(this.context,e,l)),this.options.allowContextMenu||this.viewItemDisposables.set(i,n.nm(r,n.tw.CONTEXT_MENU,e=>{n.zB.stop(e,!0)})),i.actionRunner=this._actionRunner,i.setActionContext(this.context),i.render(r),this.focusable&&i instanceof o.YH&&0===this.viewItems.length&&i.setFocusable(!0),null===s||s<0||s>=this.actionsList.children.length?(this.actionsList.appendChild(r),this.viewItems.push(i)):(this.actionsList.insertBefore(r,this.actionsList.children[s]),this.viewItems.splice(s,0,i),s++)}),"number"==typeof this.focusedItem&&this.focus(this.focusedItem),this.refreshRole()}clear(){this.isEmpty()||(this.viewItems=(0,d.B9)(this.viewItems),this.viewItemDisposables.clearAndDisposeAll(),n.PO(this.actionsList),this.refreshRole())}length(){return this.viewItems.length}isEmpty(){return 0===this.viewItems.length}focus(e){let t,i=!1;if(void 0===e?i=!0:"number"==typeof e?t=e:"boolean"==typeof e&&(i=e),i&&void 0===this.focusedItem){let e=this.viewItems.findIndex(e=>e.isEnabled());this.focusedItem=-1===e?void 0:e,this.updateFocus(void 0,void 0,!0)}else void 0!==t&&(this.focusedItem=t),this.updateFocus(void 0,void 0,!0)}focusFirst(){return this.focusedItem=this.length()-1,this.focusNext(!0)}focusLast(){return this.focusedItem=0,this.focusPrevious(!0)}focusNext(e){let t;if(void 0===this.focusedItem)this.focusedItem=this.viewItems.length-1;else if(this.viewItems.length<=1)return!1;let i=this.focusedItem;do{if(!e&&this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=i,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,t=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!t.isEnabled()||t.action.id===l.Z0.ID));return this.updateFocus(),!0}focusPrevious(e){let t;if(void 0===this.focusedItem)this.focusedItem=0;else if(this.viewItems.length<=1)return!1;let i=this.focusedItem;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(!e&&this.options.preventLoopNavigation)return this.focusedItem=i,!1;this.focusedItem=this.viewItems.length-1}t=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!t.isEnabled()||t.action.id===l.Z0.ID));return this.updateFocus(!0),!0}updateFocus(e,t,i=!1){var n,s;void 0===this.focusedItem&&this.actionsList.focus({preventScroll:t}),void 0!==this.previouslyFocusedItem&&this.previouslyFocusedItem!==this.focusedItem&&(null===(n=this.viewItems[this.previouslyFocusedItem])||void 0===n||n.blur());let o=void 0!==this.focusedItem?this.viewItems[this.focusedItem]:void 0;if(o){let n=!0;h.mf(o.focus)||(n=!1),this.options.focusOnlyEnabledItems&&h.mf(o.isEnabled)&&!o.isEnabled()&&(n=!1),o.action.id===l.Z0.ID&&(n=!1),n?(i||this.previouslyFocusedItem!==this.focusedItem)&&(o.focus(e),this.previouslyFocusedItem=this.focusedItem):(this.actionsList.focus({preventScroll:t}),this.previouslyFocusedItem=void 0),n&&(null===(s=o.showHover)||void 0===s||s.call(o))}}doTrigger(e){if(void 0===this.focusedItem)return;let t=this.viewItems[this.focusedItem];if(t instanceof o.YH){let i=null===t._context||void 0===t._context?e:t._context;this.run(t._action,i)}}async run(e,t){await this._actionRunner.run(e,t)}dispose(){this._context=void 0,this.viewItems=(0,d.B9)(this.viewItems),this.getContainer().remove(),super.dispose()}}},16506:function(e,t,i){"use strict";let n,s,o,r,l;i.d(t,{Z9:function(){return h},i7:function(){return u},wW:function(){return d}});var a=i(81845);function d(e){(n=document.createElement("div")).className="monaco-aria-container";let t=()=>{let e=document.createElement("div");return e.className="monaco-alert",e.setAttribute("role","alert"),e.setAttribute("aria-atomic","true"),n.appendChild(e),e};s=t(),o=t();let i=()=>{let e=document.createElement("div");return e.className="monaco-status",e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),n.appendChild(e),e};r=i(),l=i(),e.appendChild(n)}function h(e){n&&(s.textContent!==e?(a.PO(o),c(s,e)):(a.PO(s),c(o,e)))}function u(e){n&&(r.textContent!==e?(a.PO(l),c(r,e)):(a.PO(r),c(l,e)))}function c(e,t){a.PO(e),t.length>2e4&&(t=t.substr(0,2e4)),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}i(38828)},10652:function(e,t,i){"use strict";i.d(t,{z:function(){return f}});var n=i(81845),s=i(91064),o=i(69629),r=i(7802),l=i(598),a=i(82905),d=i(29475),h=i(76515),u=i(79915),c=i(42891),g=i(70784),p=i(29527);i(89294);var m=i(85432);h.Il.white.toString(),h.Il.white.toString();class f extends g.JT{get onDidClick(){return this._onDidClick.event}constructor(e,t){super(),this._label="",this._onDidClick=this._register(new u.Q5),this._onDidEscape=this._register(new u.Q5),this.options=t,this._element=document.createElement("a"),this._element.classList.add("monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),this._element.classList.toggle("secondary",!!t.secondary);let i=t.secondary?t.buttonSecondaryBackground:t.buttonBackground,s=t.secondary?t.buttonSecondaryForeground:t.buttonForeground;this._element.style.color=s||"",this._element.style.backgroundColor=i||"",t.supportShortLabel&&(this._labelShortElement=document.createElement("div"),this._labelShortElement.classList.add("monaco-button-label-short"),this._element.appendChild(this._labelShortElement),this._labelElement=document.createElement("div"),this._labelElement.classList.add("monaco-button-label"),this._element.appendChild(this._labelElement),this._element.classList.add("monaco-text-button-with-short-label")),"string"==typeof t.title&&this.setTitle(t.title),"string"==typeof t.ariaLabel&&this._element.setAttribute("aria-label",t.ariaLabel),e.appendChild(this._element),this._register(l.o.addTarget(this._element)),[n.tw.CLICK,l.t.Tap].forEach(e=>{this._register((0,n.nm)(this._element,e,e=>{if(!this.enabled){n.zB.stop(e);return}this._onDidClick.fire(e)}))}),this._register((0,n.nm)(this._element,n.tw.KEY_DOWN,e=>{let t=new o.y(e),i=!1;this.enabled&&(t.equals(3)||t.equals(10))?(this._onDidClick.fire(e),i=!0):t.equals(9)&&(this._onDidEscape.fire(e),this._element.blur(),i=!0),i&&n.zB.stop(t,!0)})),this._register((0,n.nm)(this._element,n.tw.MOUSE_OVER,e=>{this._element.classList.contains("disabled")||this.updateBackground(!0)})),this._register((0,n.nm)(this._element,n.tw.MOUSE_OUT,e=>{this.updateBackground(!1)})),this.focusTracker=this._register((0,n.go)(this._element)),this._register(this.focusTracker.onDidFocus(()=>{this.enabled&&this.updateBackground(!0)})),this._register(this.focusTracker.onDidBlur(()=>{this.enabled&&this.updateBackground(!1)}))}dispose(){super.dispose(),this._element.remove()}getContentElements(e){let t=[];for(let i of(0,d.T)(e))if("string"==typeof i){if(""===(i=i.trim()))continue;let e=document.createElement("span");e.textContent=i,t.push(e)}else t.push(i);return t}updateBackground(e){let t;(t=this.options.secondary?e?this.options.buttonSecondaryHoverBackground:this.options.buttonSecondaryBackground:e?this.options.buttonHoverBackground:this.options.buttonBackground)&&(this._element.style.backgroundColor=t)}get element(){return this._element}set label(e){var t;if(this._label===e||(0,c.Fr)(this._label)&&(0,c.Fr)(e)&&(0,c.g_)(this._label,e))return;this._element.classList.add("monaco-text-button");let i=this.options.supportShortLabel?this._labelElement:this._element;if((0,c.Fr)(e)){let o=(0,r.ap)(e,{inline:!0});o.dispose();let l=null===(t=o.element.querySelector("p"))||void 0===t?void 0:t.innerHTML;if(l){let e=(0,s.Nw)(l,{ADD_TAGS:["b","i","u","code","span"],ALLOWED_ATTR:["class"],RETURN_TRUSTED_TYPE:!0});i.innerHTML=e}else(0,n.mc)(i)}else this.options.supportIcons?(0,n.mc)(i,...this.getContentElements(e)):i.textContent=e;let o="";"string"==typeof this.options.title?o=this.options.title:this.options.title&&(o=(0,r.et)(e)),this.setTitle(o),"string"==typeof this.options.ariaLabel?this._element.setAttribute("aria-label",this.options.ariaLabel):this.options.ariaLabel&&this._element.setAttribute("aria-label",o),this._label=e}get label(){return this._label}set icon(e){this._element.classList.add(...p.k.asClassNameArray(e))}set enabled(e){e?(this._element.classList.remove("disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(this._element.classList.add("disabled"),this._element.setAttribute("aria-disabled",String(!0)))}get enabled(){return!this._element.classList.contains("disabled")}setTitle(e){var t;this._hover||""===e?this._hover&&this._hover.update(e):this._hover=this._register((0,m.B)().setupUpdatableHover(null!==(t=this.options.hoverDelegate)&&void 0!==t?t:(0,a.tM)("mouse"),this._element,e))}}},14910:function(e,t,i){"use strict";i(99548),i(54956)},40288:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var n=i(81845),s=i(95612);i(2983);class o{constructor(e,t,i){this.options=t,this.styles=i,this.count=0,this.element=(0,n.R3)(e,(0,n.$)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(e){this.count=e,this.render()}setTitleFormat(e){this.titleFormat=e,this.render()}render(){var e,t;this.element.textContent=(0,s.WU)(this.countFormat,this.count),this.element.title=(0,s.WU)(this.titleFormat,this.count),this.element.style.backgroundColor=null!==(e=this.styles.badgeBackground)&&void 0!==e?e:"",this.element.style.color=null!==(t=this.styles.badgeForeground)&&void 0!==t?t:"",this.styles.badgeBorder&&(this.element.style.border=`1px solid ${this.styles.badgeBorder}`)}}},30496:function(e,t,i){"use strict";i.d(t,{C:function(){return g}});var n=i(81845),s=i(13546),o=i(69629),r=i(598),l=i(76886),a=i(79915);i(25523);class d extends l.Wi{constructor(e,t){super(),this._onDidChangeVisibility=this._register(new a.Q5),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=(0,n.R3)(e,(0,n.$)(".monaco-dropdown")),this._label=(0,n.R3)(this._element,(0,n.$)(".dropdown-label"));let i=t.labelRenderer;for(let e of(i||(i=e=>(e.textContent=t.label||"",null)),[n.tw.CLICK,n.tw.MOUSE_DOWN,r.t.Tap]))this._register((0,n.nm)(this.element,e,e=>n.zB.stop(e,!0)));for(let e of[n.tw.MOUSE_DOWN,r.t.Tap])this._register((0,n.nm)(this._label,e,e=>{(0,n.N5)(e)&&(e.detail>1||0!==e.button)||(this.visible?this.hide():this.show())}));this._register((0,n.nm)(this._label,n.tw.KEY_UP,e=>{let t=new o.y(e);(t.equals(3)||t.equals(10))&&(n.zB.stop(e,!0),this.visible?this.hide():this.show())}));let s=i(this._label);s&&this._register(s),this._register(r.o.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class h extends d{constructor(e,t){super(e,t),this._options=t,this._actions=[],this.actions=t.actions||[]}set menuOptions(e){this._menuOptions=e}get menuOptions(){return this._menuOptions}get actions(){return this._options.actionProvider?this._options.actionProvider.getActions():this._actions}set actions(e){this._actions=e}show(){super.show(),this.element.classList.add("active"),this._options.contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:(e,t)=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(e,t):void 0,getKeyBinding:e=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(e):void 0,getMenuClassName:()=>this._options.menuClassName||"",onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this._options.menuAsChild?this.element:void 0,skipTelemetry:this._options.skipTelemetry})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove("active")}}var u=i(82905),c=i(85432);class g extends s.YH{constructor(e,t,i,n=Object.create(null)){super(null,e,n),this.actionItem=null,this._onDidChangeVisibility=this._register(new a.Q5),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this.menuActionsOrProvider=t,this.contextMenuProvider=i,this.options=n,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(e){this.actionItem=e;let t=Array.isArray(this.menuActionsOrProvider),i={contextMenuProvider:this.contextMenuProvider,labelRenderer:e=>{var t;this.element=(0,n.R3)(e,(0,n.$)("a.action-label"));let i=[];return"string"==typeof this.options.classNames?i=this.options.classNames.split(/\s+/g).filter(e=>!!e):this.options.classNames&&(i=this.options.classNames),i.find(e=>"icon"===e)||i.push("codicon"),this.element.classList.add(...i),this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this._action.label&&this._register((0,c.B)().setupUpdatableHover(null!==(t=this.options.hoverDelegate)&&void 0!==t?t:(0,u.tM)("mouse"),this.element,this._action.label)),this.element.ariaLabel=this._action.label||"",null},menuAsChild:this.options.menuAsChild,actions:t?this.menuActionsOrProvider:void 0,actionProvider:t?void 0:this.menuActionsOrProvider,skipTelemetry:this.options.skipTelemetry};if(this.dropdownMenu=this._register(new h(e,i)),this._register(this.dropdownMenu.onDidChangeVisibility(e=>{var t;null===(t=this.element)||void 0===t||t.setAttribute("aria-expanded",`${e}`),this._onDidChangeVisibility.fire(e)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){let e=this;this.dropdownMenu.menuOptions={...this.dropdownMenu.menuOptions,get anchorAlignment(){return e.options.anchorAlignmentProvider()}}}this.updateTooltip(),this.updateEnabled()}getTooltip(){let e=null;return this.action.tooltip?e=this.action.tooltip:this.action.label&&(e=this.action.label),null!=e?e:void 0}setActionContext(e){super.setActionContext(e),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=e:this.dropdownMenu.menuOptions={context:e})}show(){var e;null===(e=this.dropdownMenu)||void 0===e||e.show()}updateEnabled(){var e,t;let i=!this.action.enabled;null===(e=this.actionItem)||void 0===e||e.classList.toggle("disabled",i),null===(t=this.element)||void 0===t||t.classList.toggle("disabled",i)}}},49544:function(e,t,i){"use strict";i.d(t,{V:function(){return c}});var n=i(81845),s=i(31110),o=i(37690),r=i(95021),l=i(79915);i(9239);var a=i(82801),d=i(70784),h=i(82905);let u=a.NC("defaultLabel","input");class c extends r.${constructor(e,t,i){super(),this.fixFocusOnOptionClickEnabled=!0,this.imeSessionInProgress=!1,this.additionalTogglesDisposables=this._register(new d.XK),this.additionalToggles=[],this._onDidOptionChange=this._register(new l.Q5),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new l.Q5),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new l.Q5),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new l.Q5),this._onKeyUp=this._register(new l.Q5),this._onCaseSensitiveKeyDown=this._register(new l.Q5),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new l.Q5),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.placeholder=i.placeholder||"",this.validation=i.validation,this.label=i.label||u,this.showCommonFindToggles=!!i.showCommonFindToggles;let r=i.appendCaseSensitiveLabel||"",a=i.appendWholeWordsLabel||"",c=i.appendRegexLabel||"",g=i.history||[],p=!!i.flexibleHeight,m=!!i.flexibleWidth,f=i.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new o.pG(this.domNode,t,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},history:g,showHistoryHint:i.showHistoryHint,flexibleHeight:p,flexibleWidth:m,flexibleMaxHeight:f,inputBoxStyles:i.inputBoxStyles}));let _=this._register((0,h.p0)());if(this.showCommonFindToggles){this.regex=this._register(new s.eH({appendTitle:c,isChecked:!1,hoverDelegate:_,...i.toggleStyles})),this._register(this.regex.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(e=>{this._onRegexKeyDown.fire(e)})),this.wholeWords=this._register(new s.Qx({appendTitle:a,isChecked:!1,hoverDelegate:_,...i.toggleStyles})),this._register(this.wholeWords.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new s.rk({appendTitle:r,isChecked:!1,hoverDelegate:_,...i.toggleStyles})),this._register(this.caseSensitive.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(e=>{this._onCaseSensitiveKeyDown.fire(e)}));let e=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,t=>{if(t.equals(15)||t.equals(17)||t.equals(9)){let i=e.indexOf(this.domNode.ownerDocument.activeElement);if(i>=0){let s=-1;t.equals(17)?s=(i+1)%e.length:t.equals(15)&&(s=0===i?e.length-1:i-1),t.equals(9)?(e[i].blur(),this.inputBox.focus()):s>=0&&e[s].focus(),n.zB.stop(t,!0)}}})}this.controls=document.createElement("div"),this.controls.className="controls",this.controls.style.display=this.showCommonFindToggles?"":"none",this.caseSensitive&&this.controls.append(this.caseSensitive.domNode),this.wholeWords&&this.controls.appendChild(this.wholeWords.domNode),this.regex&&this.controls.appendChild(this.regex.domNode),this.setAdditionalToggles(null==i?void 0:i.additionalToggles),this.controls&&this.domNode.appendChild(this.controls),null==e||e.appendChild(this.domNode),this._register(n.nm(this.inputBox.inputElement,"compositionstart",e=>{this.imeSessionInProgress=!0})),this._register(n.nm(this.inputBox.inputElement,"compositionend",e=>{this.imeSessionInProgress=!1,this._onInput.fire()})),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}get onDidChange(){return this.inputBox.onDidChange}layout(e){this.inputBox.layout(),this.updateInputBoxPadding(e.collapsedFindWidget)}enable(){var e,t,i;for(let n of(this.domNode.classList.remove("disabled"),this.inputBox.enable(),null===(e=this.regex)||void 0===e||e.enable(),null===(t=this.wholeWords)||void 0===t||t.enable(),null===(i=this.caseSensitive)||void 0===i||i.enable(),this.additionalToggles))n.enable()}disable(){var e,t,i;for(let n of(this.domNode.classList.add("disabled"),this.inputBox.disable(),null===(e=this.regex)||void 0===e||e.disable(),null===(t=this.wholeWords)||void 0===t||t.disable(),null===(i=this.caseSensitive)||void 0===i||i.disable(),this.additionalToggles))n.disable()}setFocusInputOnOptionClick(e){this.fixFocusOnOptionClickEnabled=e}setEnabled(e){e?this.enable():this.disable()}setAdditionalToggles(e){for(let e of this.additionalToggles)e.domNode.remove();for(let t of(this.additionalToggles=[],this.additionalTogglesDisposables.value=new d.SL,null!=e?e:[]))this.additionalTogglesDisposables.value.add(t),this.controls.appendChild(t.domNode),this.additionalTogglesDisposables.value.add(t.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus()})),this.additionalToggles.push(t);this.additionalToggles.length>0&&(this.controls.style.display=""),this.updateInputBoxPadding()}updateInputBoxPadding(e=!1){var t,i,n,s,o,r;e?this.inputBox.paddingRight=0:this.inputBox.paddingRight=(null!==(i=null===(t=this.caseSensitive)||void 0===t?void 0:t.width())&&void 0!==i?i:0)+(null!==(s=null===(n=this.wholeWords)||void 0===n?void 0:n.width())&&void 0!==s?s:0)+(null!==(r=null===(o=this.regex)||void 0===o?void 0:o.width())&&void 0!==r?r:0)+this.additionalToggles.reduce((e,t)=>e+t.width(),0)}getValue(){return this.inputBox.value}setValue(e){this.inputBox.value!==e&&(this.inputBox.value=e)}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){var e,t;return null!==(t=null===(e=this.caseSensitive)||void 0===e?void 0:e.checked)&&void 0!==t&&t}setCaseSensitive(e){this.caseSensitive&&(this.caseSensitive.checked=e)}getWholeWords(){var e,t;return null!==(t=null===(e=this.wholeWords)||void 0===e?void 0:e.checked)&&void 0!==t&&t}setWholeWords(e){this.wholeWords&&(this.wholeWords.checked=e)}getRegex(){var e,t;return null!==(t=null===(e=this.regex)||void 0===e?void 0:e.checked)&&void 0!==t&&t}setRegex(e){this.regex&&(this.regex.checked=e,this.validate())}focusOnCaseSensitive(){var e;null===(e=this.caseSensitive)||void 0===e||e.focus()}highlightFindOptions(){this.domNode.classList.remove("highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,this.domNode.classList.add("highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}showMessage(e){this.inputBox.showMessage(e)}clearMessage(){this.inputBox.hideMessage()}}},31110:function(e,t,i){"use strict";i.d(t,{Qx:function(){return u},eH:function(){return c},rk:function(){return h}});var n=i(82905),s=i(74571),o=i(47039),r=i(82801);let l=r.NC("caseDescription","Match Case"),a=r.NC("wordsDescription","Match Whole Word"),d=r.NC("regexDescription","Use Regular Expression");class h extends s.Z{constructor(e){var t;super({icon:o.l.caseSensitive,title:l+e.appendTitle,isChecked:e.isChecked,hoverDelegate:null!==(t=e.hoverDelegate)&&void 0!==t?t:(0,n.tM)("element"),inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class u extends s.Z{constructor(e){var t;super({icon:o.l.wholeWord,title:a+e.appendTitle,isChecked:e.isChecked,hoverDelegate:null!==(t=e.hoverDelegate)&&void 0!==t?t:(0,n.tM)("element"),inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class c extends s.Z{constructor(e){var t;super({icon:o.l.regex,title:d+e.appendTitle,isChecked:e.isChecked,hoverDelegate:null!==(t=e.hoverDelegate)&&void 0!==t?t:(0,n.tM)("element"),inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}},19912:function(e,t,i){"use strict";i.d(t,{q:function(){return d}});var n=i(81845),s=i(85432),o=i(82905),r=i(29475),l=i(70784),a=i(16783);class d extends l.JT{constructor(e,t){var i;super(),this.options=t,this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.supportIcons=null!==(i=null==t?void 0:t.supportIcons)&&void 0!==i&&i,this.domNode=n.R3(e,n.$("span.monaco-highlighted-label"))}get element(){return this.domNode}set(e,t=[],i="",n){e||(e=""),n&&(e=d.escapeNewLines(e,t)),this.didEverRender&&this.text===e&&this.title===i&&a.fS(this.highlights,t)||(this.text=e,this.title=i,this.highlights=t,this.render())}render(){var e,t,i,l;let a=[],d=0;for(let e of this.highlights){if(e.end===e.start)continue;if(d{for(let o of(n="\r\n"===e?-1:0,s+=i,t))!(o.end<=s)&&(o.start>=s&&(o.start+=n),o.end>=s&&(o.end+=n));return i+=n,"⏎"})}}},85432:function(e,t,i){"use strict";i.d(t,{B:function(){return o},r:function(){return s}});let n={showHover:()=>void 0,hideHover:()=>void 0,showAndFocusLastHover:()=>void 0,setupUpdatableHover:()=>null,triggerUpdatableHover:()=>void 0};function s(e){n=e}function o(){return n}},82905:function(e,t,i){"use strict";i.d(t,{p0:function(){return d},rM:function(){return l},tM:function(){return a}});var n=i(68126);let s=()=>({get delay(){return -1},dispose:()=>{},showHover:()=>{}}),o=new n.o(()=>s("mouse",!1)),r=new n.o(()=>s("element",!1));function l(e){s=e}function a(e){return"element"===e?r.value:o.value}function d(){return s("element",!0)}},38862:function(e,t,i){"use strict";i.d(t,{R0:function(){return c},Sr:function(){return h},c8:function(){return d},rb:function(){return g},uX:function(){return u}});var n=i(81845),s=i(69629),o=i(49524),r=i(70784);i(51673);var l=i(82801);let a=n.$;class d extends r.JT{constructor(){super(),this.containerDomNode=document.createElement("div"),this.containerDomNode.className="monaco-hover",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute("role","tooltip"),this.contentsDomNode=document.createElement("div"),this.contentsDomNode.className="monaco-hover-content",this.scrollbar=this._register(new o.s$(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this.scrollbar.getDomNode())}onContentsChanged(){this.scrollbar.scanDomNode()}}class h extends r.JT{static render(e,t,i){return new h(e,t,i)}constructor(e,t,i){super(),this.actionContainer=n.R3(e,a("div.action-container")),this.actionContainer.setAttribute("tabindex","0"),this.action=n.R3(this.actionContainer,a("a.action")),this.action.setAttribute("role","button"),t.iconClass&&n.R3(this.action,a(`span.icon.${t.iconClass}`));let s=n.R3(this.action,a("span"));s.textContent=i?`${t.label} (${i})`:t.label,this._store.add(new c(this.actionContainer,t.run)),this._store.add(new g(this.actionContainer,t.run,[3,10])),this.setEnabled(!0)}setEnabled(e){e?(this.actionContainer.classList.remove("disabled"),this.actionContainer.removeAttribute("aria-disabled")):(this.actionContainer.classList.add("disabled"),this.actionContainer.setAttribute("aria-disabled","true"))}}function u(e,t){return e&&t?(0,l.NC)("acessibleViewHint","Inspect this in the accessible view with {0}.",t):e?(0,l.NC)("acessibleViewHintNoKbOpen","Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding."):""}class c extends r.JT{constructor(e,t){super(),this._register(n.nm(e,n.tw.CLICK,i=>{i.stopPropagation(),i.preventDefault(),t(e)}))}}class g extends r.JT{constructor(e,t,i){super(),this._register(n.nm(e,n.tw.KEY_DOWN,n=>{let o=new s.y(n);i.some(e=>o.equals(e))&&(n.stopPropagation(),n.preventDefault(),t(e))}))}}},40314:function(e,t,i){"use strict";i.d(t,{g:function(){return g}}),i(58879);var n=i(81845),s=i(19912),o=i(70784),r=i(16783),l=i(50798),a=i(82905),d=i(85432),h=i(24162),u=i(25625);class c{constructor(e){this._element=e}get element(){return this._element}set textContent(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)}set className(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)}set empty(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":"")}dispose(){this.disposed=!0}}class g extends o.JT{constructor(e,t){var i;super(),this.customHovers=new Map,this.creationOptions=t,this.domNode=this._register(new c(n.R3(e,n.$(".monaco-icon-label")))),this.labelContainer=n.R3(this.domNode.element,n.$(".monaco-icon-label-container")),this.nameContainer=n.R3(this.labelContainer,n.$("span.monaco-icon-name-container")),(null==t?void 0:t.supportHighlights)||(null==t?void 0:t.supportIcons)?this.nameNode=this._register(new m(this.nameContainer,!!t.supportIcons)):this.nameNode=new p(this.nameContainer),this.hoverDelegate=null!==(i=null==t?void 0:t.hoverDelegate)&&void 0!==i?i:(0,a.tM)("mouse")}get element(){return this.domNode.element}setLabel(e,t,i){var o;let r=["monaco-icon-label"],l=["monaco-icon-label-container"],a="";i&&(i.extraClasses&&r.push(...i.extraClasses),i.italic&&r.push("italic"),i.strikethrough&&r.push("strikethrough"),i.disabledCommand&&l.push("disabled"),i.title&&("string"==typeof i.title?a+=i.title:a+=e));let d=this.domNode.element.querySelector(".monaco-icon-label-iconpath");if(null==i?void 0:i.iconPath){let e;d&&n.Re(d)?e=d:(e=n.$(".monaco-icon-label-iconpath"),this.domNode.element.prepend(e)),e.style.backgroundImage=n.wY(null==i?void 0:i.iconPath)}else d&&d.remove();if(this.domNode.className=r.join(" "),this.domNode.element.setAttribute("aria-label",a),this.labelContainer.className=l.join(" "),this.setupHover((null==i?void 0:i.descriptionTitle)?this.labelContainer:this.element,null==i?void 0:i.title),this.nameNode.setLabel(e,i),t||this.descriptionNode){let e=this.getOrCreateDescriptionNode();e instanceof s.q?(e.set(t||"",i?i.descriptionMatches:void 0,void 0,null==i?void 0:i.labelEscapeNewLines),this.setupHover(e.element,null==i?void 0:i.descriptionTitle)):(e.textContent=t&&(null==i?void 0:i.labelEscapeNewLines)?s.q.escapeNewLines(t,[]):t||"",this.setupHover(e.element,(null==i?void 0:i.descriptionTitle)||""),e.empty=!t)}if((null==i?void 0:i.suffix)||this.suffixNode){let e=this.getOrCreateSuffixNode();e.textContent=null!==(o=null==i?void 0:i.suffix)&&void 0!==o?o:""}}setupHover(e,t){let i=this.customHovers.get(e);if(i&&(i.dispose(),this.customHovers.delete(e)),!t){e.removeAttribute("title");return}if(this.hoverDelegate.showNativeHover)(0,h.HD)(t)?e.title=(0,u.x$)(t):(null==t?void 0:t.markdownNotSupportedFallback)?e.title=t.markdownNotSupportedFallback:e.removeAttribute("title");else{let i=(0,d.B)().setupUpdatableHover(this.hoverDelegate,e,t);i&&this.customHovers.set(e,i)}}dispose(){for(let e of(super.dispose(),this.customHovers.values()))e.dispose();this.customHovers.clear()}getOrCreateSuffixNode(){if(!this.suffixNode){let e=this._register(new c(n.e4(this.nameContainer,n.$("span.monaco-icon-suffix-container"))));this.suffixNode=this._register(new c(n.R3(e.element,n.$("span.label-suffix"))))}return this.suffixNode}getOrCreateDescriptionNode(){var e;if(!this.descriptionNode){let t=this._register(new c(n.R3(this.labelContainer,n.$("span.monaco-icon-description-container"))));(null===(e=this.creationOptions)||void 0===e?void 0:e.supportDescriptionHighlights)?this.descriptionNode=this._register(new s.q(n.R3(t.element,n.$("span.label-description")),{supportIcons:!!this.creationOptions.supportIcons})):this.descriptionNode=this._register(new c(n.R3(t.element,n.$("span.label-description"))))}return this.descriptionNode}}class p{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(!(this.label===e&&(0,r.fS)(this.options,t))){if(this.label=e,this.options=t,"string"==typeof e)this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=n.R3(this.container,n.$("a.label-name",{id:null==t?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(let i=0;i{let s={start:n,end:n+e.length},o=i.map(e=>l.e.intersect(s,e)).filter(e=>!l.e.isEmpty(e)).map(({start:e,end:t})=>({start:e-n,end:t-n}));return n=s.end+t.length,o})}(e,i,null==t?void 0:t.matches);for(let r=0;r=this._elements.length-1}isNowhere(){return null===this._navigator.current()}has(e){return this._history.has(e)}_onChange(){this._reduceToLimit();let e=this._elements;this._navigator=new g(e,0,e.length,e.length)}_reduceToLimit(){let e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))}_currentPosition(){let e=this._navigator.current();return e?this._elements.indexOf(e):-1}_initialize(e){for(let t of(this._history=new Set,e))this._history.add(t)}get _elements(){let e=[];return this._history.forEach(t=>e.push(t)),e}}var m=i(16783);i(58224);var f=i(82801);let _=n.$,v={inputBackground:"#3C3C3C",inputForeground:"#CCCCCC",inputValidationInfoBorder:"#55AAFF",inputValidationInfoBackground:"#063B49",inputValidationWarningBorder:"#B89500",inputValidationWarningBackground:"#352A05",inputValidationErrorBorder:"#BE1100",inputValidationErrorBackground:"#5A1D1D",inputBorder:void 0,inputValidationErrorForeground:void 0,inputValidationInfoForeground:void 0,inputValidationWarningForeground:void 0};class b extends u.${constructor(e,t,i){var o;super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new c.Q5),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new c.Q5),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=t,this.options=i,this.message=null,this.placeholder=this.options.placeholder||"",this.tooltip=null!==(o=this.options.tooltip)&&void 0!==o?o:this.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=n.R3(e,_(".monaco-inputbox.idle"));let l=this.options.flexibleHeight?"textarea":"input",a=n.R3(this.element,_(".ibwrapper"));if(this.input=n.R3(a,_(l+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight="number"==typeof this.options.flexibleMaxHeight?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=n.R3(a,_("div.mirror")),this.mirror.innerText="\xa0",this.scrollableElement=new h.NB(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),n.R3(e,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(e=>this.input.scrollTop=e.scrollTop));let t=this._register(new s.Y(e.ownerDocument,"selectionchange")),i=c.ju.filter(t.event,()=>{let t=e.ownerDocument.getSelection();return(null==t?void 0:t.anchorNode)===a});this._register(i(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&!this.options.showPlaceholderOnFocus&&this.setPlaceHolder(this.placeholder),this.tooltip&&this.setTooltip(this.tooltip),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this._register(this.ignoreGesture(this.input)),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new r.o(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder","")}onFocus(){this._showMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder",this.placeholder||"")}setPlaceHolder(e){this.placeholder=e,this.input.setAttribute("placeholder",e)}setTooltip(e){this.tooltip=e,this.hover?this.hover.update(e):this.hover=this._register((0,a.B)().setupUpdatableHover((0,d.tM)("mouse"),this.input,e))}get inputElement(){return this.input}get value(){return this.input.value}set value(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())}get height(){return"number"==typeof this.cachedHeight?this.cachedHeight:n.wn(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return n.H9(this.input)}select(e=null){this.input.select(),e&&(this.input.setSelectionRange(e.start,e.end),e.end===this.input.value.length&&(this.input.scrollLeft=this.input.scrollWidth))}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}getSelection(){var e;let t=this.input.selectionStart;if(null===t)return null;let i=null!==(e=this.input.selectionEnd)&&void 0!==e?e:t;return{start:t,end:i}}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}set paddingRight(e){this.input.style.width=`calc(100% - ${e}px)`,this.mirror&&(this.mirror.style.paddingRight=e+"px")}updateScrollDimensions(){if("number"!=typeof this.cachedContentHeight||"number"!=typeof this.cachedHeight||!this.scrollableElement)return;let e=this.cachedContentHeight,t=this.cachedHeight,i=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:i})}showMessage(e,t){if("open"===this.state&&(0,m.fS)(this.message,e))return;this.message=e,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(e.type));let i=this.stylesForType(this.message.type);this.element.style.border=`1px solid ${n.XT(i.border,"transparent")}`,this.message.content&&(this.hasFocus()||t)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let e=null;return this.validation&&((e=this.validation(this.value))?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),null==e?void 0:e.type}stylesForType(e){let t=this.options.inputBoxStyles;switch(e){case 1:return{border:t.inputValidationInfoBorder,background:t.inputValidationInfoBackground,foreground:t.inputValidationInfoForeground};case 2:return{border:t.inputValidationWarningBorder,background:t.inputValidationWarningBackground,foreground:t.inputValidationWarningForeground};default:return{border:t.inputValidationErrorBorder,background:t.inputValidationErrorBackground,foreground:t.inputValidationErrorForeground}}}classForType(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){let e,t;if(!this.contextViewProvider||!this.message)return;let i=()=>e.style.width=n.w(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:t=>{var s,r;if(!this.message)return null;e=n.R3(t,_(".monaco-inputbox-container")),i();let l={inline:!0,className:"monaco-inputbox-message"},a=this.message.formatContent?(0,o.BO)(this.message.content,l):(0,o.IY)(this.message.content,l);a.classList.add(this.classForType(this.message.type));let d=this.stylesForType(this.message.type);return a.style.backgroundColor=null!==(s=d.background)&&void 0!==s?s:"",a.style.color=null!==(r=d.foreground)&&void 0!==r?r:"",a.style.border=d.border?`1px solid ${d.border}`:"",n.R3(e,a),null},onHide:()=>{this.state="closed"},layout:i}),t=3===this.message.type?f.NC("alertErrorMessage","Error: {0}",this.message.content):2===this.message.type?f.NC("alertWarningMessage","Warning: {0}",this.message.content):f.NC("alertInfoMessage","Info: {0}",this.message.content),l.Z9(t),this.state="open"}_hideMessage(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;let e=this.value,t=e.charCodeAt(e.length-1),i=10===t?" ":"",n=(e+i).replace(/\u000c/g,"");n?this.mirror.textContent=e+i:this.mirror.innerText="\xa0",this.layout()}applyStyles(){var e,t,i;let s=this.options.inputBoxStyles,o=null!==(e=s.inputBackground)&&void 0!==e?e:"",r=null!==(t=s.inputForeground)&&void 0!==t?t:"",l=null!==(i=s.inputBorder)&&void 0!==i?i:"";this.element.style.backgroundColor=o,this.element.style.color=r,this.input.style.backgroundColor="inherit",this.input.style.color=r,this.element.style.border=`1px solid ${n.XT(l,"transparent")}`}layout(){if(!this.mirror)return;let e=this.cachedContentHeight;this.cachedContentHeight=n.wn(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(e){let t=this.inputElement,i=t.selectionStart,n=t.selectionEnd,s=t.value;null!==i&&null!==n&&(this.value=s.substr(0,i)+e+s.substr(n),t.setSelectionRange(i+1,i+1),this.layout())}dispose(){var e;this._hideMessage(),this.message=null,null===(e=this.actionbar)||void 0===e||e.dispose(),super.dispose()}}class C extends b{constructor(e,t,i){let s=f.NC({key:"history.inputbox.hint.suffix.noparens",comment:['Text is the suffix of an input field placeholder coming after the action the input field performs, this will be used when the input field ends in a closing parenthesis ")", for example "Filter (e.g. text, !exclude)". The character inserted into the final string is ⇅ to represent the up and down arrow keys.']}," or {0} for history",`\u21C5`),o=f.NC({key:"history.inputbox.hint.suffix.inparens",comment:['Text is the suffix of an input field placeholder coming after the action the input field performs, this will be used when the input field does NOT end in a closing parenthesis (eg. "Find"). The character inserted into the final string is ⇅ to represent the up and down arrow keys.']}," ({0} for history)",`\u21C5`);super(e,t,i),this._onDidFocus=this._register(new c.Q5),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new c.Q5),this.onDidBlur=this._onDidBlur.event,this.history=new p(i.history,100);let r=()=>{if(i.showHistoryHint&&i.showHistoryHint()&&!this.placeholder.endsWith(s)&&!this.placeholder.endsWith(o)&&this.history.getHistory().length){let e=this.placeholder.endsWith(")")?s:o,t=this.placeholder+e;i.showPlaceholderOnFocus&&!n.H9(this.input)?this.placeholder=t:this.setPlaceHolder(t)}};this.observer=new MutationObserver((e,t)=>{e.forEach(e=>{e.target.textContent||r()})}),this.observer.observe(this.input,{attributeFilter:["class"]}),this.onfocus(this.input,()=>r()),this.onblur(this.input,()=>{let e=e=>{if(!this.placeholder.endsWith(e))return!1;{let t=this.placeholder.slice(0,this.placeholder.length-e.length);return i.showPlaceholderOnFocus?this.placeholder=t:this.setPlaceHolder(t),!0}};e(o)||e(s)})}dispose(){super.dispose(),this.observer&&(this.observer.disconnect(),this.observer=void 0)}addToHistory(e){this.value&&(e||this.value!==this.getCurrentValue())&&this.history.add(this.value)}isAtLastInHistory(){return this.history.isLast()}isNowhereInHistory(){return this.history.isNowhere()}showNextValue(){this.history.has(this.value)||this.addToHistory();let e=this.getNextValue();e&&(e=e===this.value?this.getNextValue():e),this.value=null!=e?e:"",l.i7(this.value?this.value:f.NC("clearedInput","Cleared Input"))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let e=this.getPreviousValue();e&&(e=e===this.value?this.getPreviousValue():e),e&&(this.value=e,l.i7(this.value))}setPlaceHolder(e){super.setPlaceHolder(e),this.setTooltip(e)}onBlur(){super.onBlur(),this._onDidBlur.fire()}onFocus(){super.onFocus(),this._onDidFocus.fire()}getCurrentValue(){let e=this.history.current();return e||(e=this.history.last(),this.history.next()),e}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()}}},37804:function(e,t,i){"use strict";i.d(t,{F:function(){return u},e:function(){return c}});var n=i(81845),s=i(85432),o=i(82905),r=i(25168),l=i(70784),a=i(16783);i(64078);var d=i(82801);let h=n.$,u={keybindingLabelBackground:void 0,keybindingLabelForeground:void 0,keybindingLabelBorder:void 0,keybindingLabelBottomBorder:void 0,keybindingLabelShadow:void 0};class c extends l.JT{constructor(e,t,i){super(),this.os=t,this.keyElements=new Set,this.options=i||Object.create(null);let r=this.options.keybindingLabelForeground;this.domNode=n.R3(e,h(".monaco-keybinding")),r&&(this.domNode.style.color=r),this.hover=this._register((0,s.B)().setupUpdatableHover((0,o.tM)("mouse"),this.domNode,"")),this.didEverRender=!1,e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t){this.didEverRender&&this.keybinding===e&&c.areSame(this.matches,t)||(this.keybinding=e,this.matches=t,this.render())}render(){var e;if(this.clear(),this.keybinding){let t=this.keybinding.getChords();t[0]&&this.renderChord(this.domNode,t[0],this.matches?this.matches.firstPart:null);for(let e=1;e=n.range.end)continue;if(e.end({range:f(e.range,n),size:e.size})),r=i.map((t,i)=>({range:{start:e+i,end:e+i+1},size:t.size}));this.groups=function(...e){return function(e){let t=[],i=null;for(let n of e){let e=n.range.start,s=n.range.end,o=n.size;if(i&&o===i.size){i.range.end=s;continue}i={range:{start:e,end:s},size:o},t.push(i)}return t}(e.reduce((e,t)=>e.concat(t),[]))}(s,r,o),this._size=this._paddingTop+this.groups.reduce((e,t)=>e+t.size*(t.range.end-t.range.start),0)}get count(){let e=this.groups.length;return e?this.groups[e-1].range.end:0}get size(){return this._size}indexAt(e){if(e<0)return -1;if(e{for(let i of e){let e=this.getRenderer(t);e.disposeTemplate(i.templateData),i.templateData=null}}),this.cache.clear(),this.transactionNodesPendingRemoval.clear()}getRenderer(e){let t=this.renderers.get(e);if(!t)throw Error(`No renderer found for ${e}`);return t}}var b=i(32378),C=i(39175),w=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r};let y={CurrentDragAndDropData:void 0},S={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:e=>[e],getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){},dispose(){}},horizontalScrolling:!1,transformOptimization:!0,alwaysConsumeMouseWheel:!0};class L{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class k{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class D{constructor(){this.types=[],this.files=[]}update(e){if(e.types&&this.types.splice(0,this.types.length,...e.types),e.files){this.files.splice(0,this.files.length);for(let t=0;ti,(null==e?void 0:e.getPosInSet)?this.getPosInSet=e.getPosInSet.bind(e):this.getPosInSet=(e,t)=>t+1,(null==e?void 0:e.getRole)?this.getRole=e.getRole.bind(e):this.getRole=e=>"listitem",(null==e?void 0:e.isChecked)?this.isChecked=e.isChecked.bind(e):this.isChecked=e=>void 0}}class N{get contentHeight(){return this.rangeMap.size}get onDidScroll(){return this.scrollableElement.onScroll}get scrollableElementDomNode(){return this.scrollableElement.getDomNode()}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(e){if(e!==this._horizontalScrolling){if(e&&this.supportDynamicHeights)throw Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=e,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(let e of this.items)this.measureItemWidth(e);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:(0,s.FK)(this.domNode)}),this.rowsContainer.style.width=`${Math.max(this.scrollWidth||0,this.renderWidth)}px`}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}constructor(e,t,i,n=S){var o,a,h,g,m,f,_,b,C,w,y,L,k;if(this.virtualDelegate=t,this.domId=`list_id_${++N.InstanceCount}`,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new d.vp(50),this.splicing=!1,this.dragOverAnimationStopDisposable=c.JT.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=c.JT.None,this.onDragLeaveTimeout=c.JT.None,this.disposables=new c.SL,this._onDidChangeContentHeight=new u.Q5,this._onDidChangeContentWidth=new u.Q5,this.onDidChangeContentHeight=u.ju.latch(this._onDidChangeContentHeight.event,void 0,this.disposables),this._horizontalScrolling=!1,n.horizontalScrolling&&n.supportDynamicHeights)throw Error("Horizontal scrolling and dynamic heights not supported simultaneously");for(let e of(this.items=[],this.itemId=0,this.rangeMap=this.createRangeMap(null!==(o=n.paddingTop)&&void 0!==o?o:0),i))this.renderers.set(e.templateId,e);this.cache=this.disposables.add(new v(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",this.domNode.classList.add(this.domId),this.domNode.tabIndex=0,this.domNode.classList.toggle("mouse-support","boolean"!=typeof n.mouseSupport||n.mouseSupport),this._horizontalScrolling=null!==(a=n.horizontalScrolling)&&void 0!==a?a:S.horizontalScrolling,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.paddingBottom=void 0===n.paddingBottom?0:n.paddingBottom,this.accessibilityProvider=new x(n.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows";let D=null!==(h=n.transformOptimization)&&void 0!==h?h:S.transformOptimization;D&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)",this.rowsContainer.style.overflow="hidden",this.rowsContainer.style.contain="strict"),this.disposables.add(r.o.addTarget(this.rowsContainer)),this.scrollable=this.disposables.add(new p.Rm({forceIntegerValues:!0,smoothScrollDuration:null!==(g=n.smoothScrolling)&&void 0!==g&&g?125:0,scheduleAtNextAnimationFrame:e=>(0,s.jL)((0,s.Jj)(this.domNode),e)})),this.scrollableElement=this.disposables.add(new l.$Z(this.rowsContainer,{alwaysConsumeMouseWheel:null!==(m=n.alwaysConsumeMouseWheel)&&void 0!==m?m:S.alwaysConsumeMouseWheel,horizontal:1,vertical:null!==(f=n.verticalScrollMode)&&void 0!==f?f:S.verticalScrollMode,useShadows:null!==(_=n.useShadows)&&void 0!==_?_:S.useShadows,mouseWheelScrollSensitivity:n.mouseWheelScrollSensitivity,fastScrollSensitivity:n.fastScrollSensitivity,scrollByPage:n.scrollByPage},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add((0,s.nm)(this.rowsContainer,r.t.Change,e=>this.onTouchChange(e))),this.disposables.add((0,s.nm)(this.scrollableElement.getDomNode(),"scroll",e=>e.target.scrollTop=0)),this.disposables.add((0,s.nm)(this.domNode,"dragover",e=>this.onDragOver(this.toDragEvent(e)))),this.disposables.add((0,s.nm)(this.domNode,"drop",e=>this.onDrop(this.toDragEvent(e)))),this.disposables.add((0,s.nm)(this.domNode,"dragleave",e=>this.onDragLeave(this.toDragEvent(e)))),this.disposables.add((0,s.nm)(this.domNode,"dragend",e=>this.onDragEnd(e))),this.setRowLineHeight=null!==(b=n.setRowLineHeight)&&void 0!==b?b:S.setRowLineHeight,this.setRowHeight=null!==(C=n.setRowHeight)&&void 0!==C?C:S.setRowHeight,this.supportDynamicHeights=null!==(w=n.supportDynamicHeights)&&void 0!==w?w:S.supportDynamicHeights,this.dnd=null!==(y=n.dnd)&&void 0!==y?y:this.disposables.add(S.dnd),this.layout(null===(L=n.initialSize)||void 0===L?void 0:L.height,null===(k=n.initialSize)||void 0===k?void 0:k.width)}updateOptions(e){let t;if(void 0!==e.paddingBottom&&(this.paddingBottom=e.paddingBottom,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),void 0!==e.smoothScrolling&&this.scrollable.setSmoothScrollDuration(e.smoothScrolling?125:0),void 0!==e.horizontalScrolling&&(this.horizontalScrolling=e.horizontalScrolling),void 0!==e.scrollByPage&&(t={...null!=t?t:{},scrollByPage:e.scrollByPage}),void 0!==e.mouseWheelScrollSensitivity&&(t={...null!=t?t:{},mouseWheelScrollSensitivity:e.mouseWheelScrollSensitivity}),void 0!==e.fastScrollSensitivity&&(t={...null!=t?t:{},fastScrollSensitivity:e.fastScrollSensitivity}),t&&this.scrollableElement.updateOptions(t),void 0!==e.paddingTop&&e.paddingTop!==this.rangeMap.paddingTop){let t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),i=e.paddingTop-this.rangeMap.paddingTop;this.rangeMap.paddingTop=e.paddingTop,this.render(t,Math.max(0,this.lastRenderTop+i),this.lastRenderHeight,void 0,void 0,!0),this.setScrollTop(this.lastRenderTop),this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.lastRenderTop,this.lastRenderHeight)}}createRangeMap(e){return new _(e)}splice(e,t,i=[]){if(this.splicing)throw Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,i)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(e,t,i=[]){let n;let s=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),o=g.e.intersect(s,{start:e,end:e+t}),r=new Map;for(let e=o.end-1;e>=o.start;e--){let t=this.items[e];if(t.dragStartDisposable.dispose(),t.checkedDisposable.dispose(),t.row){let i=r.get(t.templateId);i||(i=[],r.set(t.templateId,i));let n=this.renderers.get(t.templateId);n&&n.disposeElement&&n.disposeElement(t.element,e,t.row.templateData,t.size),i.unshift(t.row)}t.row=null,t.stale=!0}let l={start:e+t,end:this.items.length},a=g.e.intersect(l,s),d=g.e.relativeComplement(l,s),h=i.map(e=>({id:String(this.itemId++),element:e,templateId:this.virtualDelegate.getTemplateId(e),size:this.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:c.JT.None,checkedDisposable:c.JT.None,stale:!1}));0===e&&t>=this.items.length?(this.rangeMap=this.createRangeMap(this.rangeMap.paddingTop),this.rangeMap.splice(0,0,h),n=this.items,this.items=h):(this.rangeMap.splice(e,t,h),n=this.items.splice(e,t,...h));let u=i.length-t,p=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),m=f(a,u),_=g.e.intersect(p,m);for(let e=_.start;e<_.end;e++)this.updateItemInDOM(this.items[e],e);let v=g.e.relativeComplement(m,p);for(let e of v)for(let t=e.start;tf(e,u)),C={start:e,end:e+i.length},w=[C,...b].map(e=>g.e.intersect(p,e)).reverse();for(let e of w)for(let t=e.end-1;t>=e.start;t--){let e=this.items[t],i=r.get(e.templateId),n=null==i?void 0:i.pop();this.insertItemInDOM(t,n)}for(let e of r.values())for(let t of e)this.cache.release(t);return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),n.map(e=>e.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=`${this._scrollHeight}px`,this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=(0,s.jL)((0,s.Jj)(this.domNode),()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null}))}eventuallyUpdateScrollWidth(){if(!this.horizontalScrolling){this.scrollableElementWidthDelayer.cancel();return}this.scrollableElementWidthDelayer.trigger(()=>this.updateScrollWidth())}updateScrollWidth(){if(!this.horizontalScrolling)return;let e=0;for(let t of this.items)void 0!==t.width&&(e=Math.max(e,t.width));this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:0===e?0:e+10}),this._onDidChangeContentWidth.fire(this.scrollWidth)}rerender(){if(this.supportDynamicHeights){for(let e of this.items)e.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){let e=this.scrollableElement.getScrollDimensions();return e.height}get firstVisibleIndex(){let e=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);return e.start}element(e){return this.items[e].element}indexOf(e){return this.items.findIndex(t=>t.element===e)}domElement(e){let t=this.items[e].row;return t&&t.domNode}elementHeight(e){return this.items[e].size}elementTop(e){return this.rangeMap.positionAt(e)}indexAt(e){return this.rangeMap.indexAt(e)}indexAfter(e){return this.rangeMap.indexAfter(e)}layout(e,t){let i={height:"number"==typeof e?e:(0,s.If)(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,i.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(i),void 0!==t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight)),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof t?t:(0,s.FK)(this.domNode)})}render(e,t,i,n,s,o=!1){let r=this.getRenderRange(t,i),l=g.e.relativeComplement(r,e).reverse(),a=g.e.relativeComplement(e,r);if(o){let t=g.e.intersect(e,r);for(let e=t.start;e{for(let e of a)for(let t=e.start;t=e.start;t--)this.insertItemInDOM(t)}),void 0!==n&&(this.rowsContainer.style.left=`-${n}px`),this.rowsContainer.style.top=`-${t}px`,this.horizontalScrolling&&void 0!==s&&(this.rowsContainer.style.width=`${Math.max(s,this.renderWidth)}px`),this.lastRenderTop=t,this.lastRenderHeight=i}insertItemInDOM(e,t){var i,n,o;let r=this.items[e];if(!r.row){if(t)r.row=t,r.stale=!0;else{let e=this.cache.alloc(r.templateId);r.row=e.row,r.stale||(r.stale=e.isReusingConnectedDomNode)}}let l=this.accessibilityProvider.getRole(r.element)||"listitem";r.row.domNode.setAttribute("role",l);let a=this.accessibilityProvider.isChecked(r.element);if("boolean"==typeof a)r.row.domNode.setAttribute("aria-checked",String(!!a));else if(a){let e=e=>r.row.domNode.setAttribute("aria-checked",String(!!e));e(a.value),r.checkedDisposable=a.onDidChange(()=>e(a.value))}if(r.stale||!r.row.domNode.parentElement){let t=null!==(o=null===(n=null===(i=this.items.at(e+1))||void 0===i?void 0:i.row)||void 0===n?void 0:n.domNode)&&void 0!==o?o:null;(r.row.domNode.parentElement!==this.rowsContainer||r.row.domNode.nextElementSibling!==t)&&this.rowsContainer.insertBefore(r.row.domNode,t),r.stale=!1}this.updateItemInDOM(r,e);let d=this.renderers.get(r.templateId);if(!d)throw Error(`No renderer found for template id ${r.templateId}`);null==d||d.renderElement(r.element,e,r.row.templateData,r.size);let h=this.dnd.getDragURI(r.element);r.dragStartDisposable.dispose(),r.row.domNode.draggable=!!h,h&&(r.dragStartDisposable=(0,s.nm)(r.row.domNode,"dragstart",e=>this.onDragStart(r.element,h,e))),this.horizontalScrolling&&(this.measureItemWidth(r),this.eventuallyUpdateScrollWidth())}measureItemWidth(e){if(!e.row||!e.row.domNode)return;e.row.domNode.style.width="fit-content",e.width=(0,s.FK)(e.row.domNode);let t=(0,s.Jj)(e.row.domNode).getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=""}updateItemInDOM(e,t){e.row.domNode.style.top=`${this.elementTop(t)}px`,this.setRowHeight&&(e.row.domNode.style.height=`${e.size}px`),this.setRowLineHeight&&(e.row.domNode.style.lineHeight=`${e.size}px`),e.row.domNode.setAttribute("data-index",`${t}`),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("data-parity",t%2==0?"even":"odd"),e.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),e.row.domNode.classList.toggle("drop-target",e.dropTarget)}removeItemFromDOM(e){let t=this.items[e];if(t.dragStartDisposable.dispose(),t.checkedDisposable.dispose(),t.row){let i=this.renderers.get(t.templateId);i&&i.disposeElement&&i.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){let e=this.scrollableElement.getScrollPosition();return e.scrollTop}setScrollTop(e,t){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e,reuseAnimation:t})}get scrollTop(){return this.getScrollTop()}set scrollTop(e){this.setScrollTop(e)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.paddingBottom}get onMouseClick(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"click")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseDblClick(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"dblclick")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseMiddleClick(){return u.ju.filter(u.ju.map(this.disposables.add(new o.Y(this.domNode,"auxclick")).event,e=>this.toMouseEvent(e),this.disposables),e=>1===e.browserEvent.button,this.disposables)}get onMouseDown(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"mousedown")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseOver(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"mouseover")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseOut(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"mouseout")).event,e=>this.toMouseEvent(e),this.disposables)}get onContextMenu(){return u.ju.any(u.ju.map(this.disposables.add(new o.Y(this.domNode,"contextmenu")).event,e=>this.toMouseEvent(e),this.disposables),u.ju.map(this.disposables.add(new o.Y(this.domNode,r.t.Contextmenu)).event,e=>this.toGestureEvent(e),this.disposables))}get onTouchStart(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"touchstart")).event,e=>this.toTouchEvent(e),this.disposables)}get onTap(){return u.ju.map(this.disposables.add(new o.Y(this.rowsContainer,r.t.Tap)).event,e=>this.toGestureEvent(e),this.disposables)}toMouseEvent(e){let t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toTouchEvent(e){let t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toGestureEvent(e){let t=this.getItemIndexFromEventTarget(e.initialTarget||null),i=void 0===t?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toDragEvent(e){let t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t],n=i&&i.element,s=this.getTargetSector(e,t);return{browserEvent:e,index:t,element:n,sector:s}}onScroll(e){try{let t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(t,e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height,e.inSmoothScrolling)}catch(t){throw console.error("Got bad scroll event:",e),t}}onTouchChange(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY}onDragStart(e,t,i){var o,r;if(!i.dataTransfer)return;let l=this.dnd.getDragElements(e);if(i.dataTransfer.effectAllowed="copyMove",i.dataTransfer.setData(n.g.TEXT,t),i.dataTransfer.setDragImage){let e;this.dnd.getDragLabel&&(e=this.dnd.getDragLabel(l,i)),void 0===e&&(e=String(l.length));let t=(0,s.$)(".monaco-drag-image");t.textContent=e;let n=(e=>{for(;e&&!e.classList.contains("monaco-workbench");)e=e.parentElement;return e||this.domNode.ownerDocument})(this.domNode);n.appendChild(t),i.dataTransfer.setDragImage(t,-10,-10),setTimeout(()=>n.removeChild(t),0)}this.domNode.classList.add("dragging"),this.currentDragData=new L(l),y.CurrentDragAndDropData=new k(l),null===(r=(o=this.dnd).onDragStart)||void 0===r||r.call(o,this.currentDragData,i)}onDragOver(e){var t,i,n,s;let o;if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),y.CurrentDragAndDropData&&"vscode-ui"===y.CurrentDragAndDropData.getData()||(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer))return!1;if(!this.currentDragData){if(y.CurrentDragAndDropData)this.currentDragData=y.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new D}}let r=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.sector,e.browserEvent);if(this.canDrop="boolean"==typeof r?r:r.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;e.browserEvent.dataTransfer.dropEffect="boolean"!=typeof r&&(null===(t=r.effect)||void 0===t?void 0:t.type)===0?"copy":"move",o="boolean"!=typeof r&&r.feedback?r.feedback:void 0===e.index?[-1]:[e.index],o=-1===(o=(0,a.EB)(o).filter(e=>e>=-1&&ee-t))[0]?[-1]:o;let l="boolean"!=typeof r&&r.effect&&r.effect.position?r.effect.position:"drop-target";if(n=this.currentDragFeedback,s=o,(Array.isArray(n)&&Array.isArray(s)?(0,a.fS)(n,s):n===s)&&this.currentDragFeedbackPosition===l)return!0;if(this.currentDragFeedback=o,this.currentDragFeedbackPosition=l,this.currentDragFeedbackDisposable.dispose(),-1===o[0])this.domNode.classList.add(l),this.rowsContainer.classList.add(l),this.currentDragFeedbackDisposable=(0,c.OF)(()=>{this.domNode.classList.remove(l),this.rowsContainer.classList.remove(l)});else{if(o.length>1&&"drop-target"!==l)throw Error("Can't use multiple feedbacks with position different than 'over'");for(let e of("drop-target-after"===l&&o[0]{var e;for(let t of o){let i=this.items[t];i.dropTarget=!1,null===(e=i.row)||void 0===e||e.domNode.classList.remove(l)}})}return!0}onDragLeave(e){var t,i;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=(0,d.Vg)(()=>this.clearDragOverFeedback(),100,this.disposables),this.currentDragData&&(null===(i=(t=this.dnd).onDragLeave)||void 0===i||i.call(t,this.currentDragData,e.element,e.index,e.browserEvent))}onDrop(e){if(!this.canDrop)return;let t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove("dragging"),this.currentDragData=void 0,y.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.sector,e.browserEvent))}onDragEnd(e){var t,i;this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove("dragging"),this.currentDragData=void 0,y.CurrentDragAndDropData=void 0,null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackPosition=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=c.JT.None}setupDragAndDropScrollTopAnimation(e){if(!this.dragOverAnimationDisposable){let e=(0,s.xQ)(this.domNode).top;this.dragOverAnimationDisposable=(0,s.jt)((0,s.Jj)(this.domNode),this.animateDragAndDropScrollTop.bind(this,e))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=(0,d.Vg)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3,this.disposables),this.dragOverMouseY=e.pageY}animateDragAndDropScrollTop(e){if(void 0===this.dragOverMouseY)return;let t=this.dragOverMouseY-e,i=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>i&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-i))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getTargetSector(e,t){if(void 0===t)return;let i=e.offsetY/this.items[t].size;return(0,C.uZ)(Math.floor(i/.25),0,3)}getItemIndexFromEventTarget(e){let t=this.scrollableElement.getDomNode(),i=e;for(;(0,s.Re)(i)&&i!==this.rowsContainer&&t.contains(i);){let e=i.getAttribute("data-index");if(e){let t=Number(e);if(!isNaN(t))return t}i=i.parentElement}}getRenderRange(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}}_rerender(e,t,i){let n,s;let o=this.getRenderRange(e,t);e===this.elementTop(o.start)?(n=o.start,s=0):o.end-o.start>1&&(n=o.start+1,s=this.elementTop(n)-e);let r=0;for(;;){let l=this.getRenderRange(e,t),a=!1;for(let e=l.start;e=e.start;t--)this.insertItemInDOM(t);for(let e=l.start;en.splice(e,t,i))}}var g=i(40789),p=i(44532),m=i(76515),f=i(12435),_=i(79915),v=i(79814),b=i(70784),C=i(39175),w=i(58022),y=i(24162);i(72119);class S extends Error{constructor(e,t){super(`ListError [${e}] ${t}`)}}var L=i(78438),k=i(69362),D=i(43495),x=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r};class N{constructor(e){this.trait=e,this.renderedElements=[]}get templateId(){return`template:${this.trait.name}`}renderTemplate(e){return e}renderElement(e,t,i){let n=this.renderedElements.findIndex(e=>e.templateData===i);if(n>=0){let e=this.renderedElements[n];this.trait.unrender(i),e.index=t}else this.renderedElements.push({index:t,templateData:i});this.trait.renderIndex(t,i)}splice(e,t,i){let n=[];for(let s of this.renderedElements)s.index=e+t&&n.push({index:s.index+i-t,templateData:s.templateData});this.renderedElements=n}renderIndexes(e){for(let{index:t,templateData:i}of this.renderedElements)e.indexOf(t)>-1&&this.trait.renderIndex(t,i)}disposeTemplate(e){let t=this.renderedElements.findIndex(t=>t.templateData===e);t<0||this.renderedElements.splice(t,1)}}class E{get name(){return this._trait}get renderer(){return new N(this)}constructor(e){this._trait=e,this.indexes=[],this.sortedIndexes=[],this._onChange=new _.Q5,this.onChange=this._onChange.event}splice(e,t,i){let n=i.length-t,s=e+t,o=[],r=0;for(;r=s;)o.push(this.sortedIndexes[r++]+n);this.renderer.splice(e,t,i.length),this._set(o,o)}renderIndex(e,t){t.classList.toggle(this._trait,this.contains(e))}unrender(e){e.classList.remove(this._trait)}set(e,t){return this._set(e,[...e].sort(Y),t)}_set(e,t,i){let n=this.indexes,s=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;let o=Z(s,e);return this.renderer.renderIndexes(o),this._onChange.fire({indexes:e,browserEvent:i}),n}get(){return this.indexes}contains(e){return(0,g.ry)(this.sortedIndexes,e,Y)>=0}dispose(){(0,b.B9)(this._onChange)}}x([f.H],E.prototype,"renderer",null);class I extends E{constructor(e){super("selected"),this.setAriaSelected=e}renderIndex(e,t){super.renderIndex(e,t),this.setAriaSelected&&(this.contains(e)?t.setAttribute("aria-selected","true"):t.setAttribute("aria-selected","false"))}}class T{constructor(e,t,i){this.trait=e,this.view=t,this.identityProvider=i}splice(e,t,i){if(!this.identityProvider)return this.trait.splice(e,t,Array(i.length).fill(!1));let n=this.trait.get().map(e=>this.identityProvider.getId(this.view.element(e)).toString());if(0===n.length)return this.trait.splice(e,t,Array(i.length).fill(!1));let s=new Set(n),o=i.map(e=>s.has(this.identityProvider.getId(e).toString()));this.trait.splice(e,t,o)}}function M(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function R(e,t){return!!e.classList.contains(t)||!e.classList.contains("monaco-list")&&!!e.parentElement&&R(e.parentElement,t)}function A(e){return R(e,"monaco-editor")}function P(e){return R(e,"monaco-custom-toggle")}function O(e){return R(e,"action-item")}function F(e){return R(e,"monaco-tree-sticky-row")}function B(e){return e.classList.contains("monaco-tree-sticky-container")}class W{get onKeyDown(){return _.ju.chain(this.disposables.add(new a.Y(this.view.domNode,"keydown")).event,e=>e.filter(e=>!M(e.target)).map(e=>new d.y(e)))}constructor(e,t,i){this.list=e,this.view=t,this.disposables=new b.SL,this.multipleSelectionDisposables=new b.SL,this.multipleSelectionSupport=i.multipleSelectionSupport,this.disposables.add(this.onKeyDown(e=>{switch(e.keyCode){case 3:return this.onEnter(e);case 16:return this.onUpArrow(e);case 18:return this.onDownArrow(e);case 11:return this.onPageUpArrow(e);case 12:return this.onPageDownArrow(e);case 9:return this.onEscape(e);case 31:this.multipleSelectionSupport&&(w.dz?e.metaKey:e.ctrlKey)&&this.onCtrlA(e)}}))}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionSupport=e.multipleSelectionSupport)}onEnter(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent)}onUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onPageUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onPageDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onCtrlA(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection((0,g.w6)(this.list.length),e.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus()}onEscape(e){this.list.getSelection().length&&(e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus())}dispose(){this.disposables.dispose(),this.multipleSelectionDisposables.dispose()}}x([f.H],W.prototype,"onKeyDown",null),(n=o||(o={}))[n.Automatic=0]="Automatic",n[n.Trigger=1]="Trigger",(s=r||(r={}))[s.Idle=0]="Idle",s[s.Typing=1]="Typing";let H=new class{mightProducePrintableCharacter(e){return!e.ctrlKey&&!e.metaKey&&!e.altKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30||e.keyCode>=98&&e.keyCode<=107||e.keyCode>=85&&e.keyCode<=95)}};class V{constructor(e,t,i,n,s){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=i,this.keyboardNavigationEventFilter=n,this.delegate=s,this.enabled=!1,this.state=r.Idle,this.mode=o.Automatic,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new b.SL,this.disposables=new b.SL,this.updateOptions(e.options)}updateOptions(e){var t,i;null===(t=e.typeNavigationEnabled)||void 0===t||t?this.enable():this.disable(),this.mode=null!==(i=e.typeNavigationMode)&&void 0!==i?i:o.Automatic}enable(){if(this.enabled)return;let e=!1,t=_.ju.chain(this.enabledDisposables.add(new a.Y(this.view.domNode,"keydown")).event,t=>t.filter(e=>!M(e.target)).filter(()=>this.mode===o.Automatic||this.triggered).map(e=>new d.y(e)).filter(t=>e||this.keyboardNavigationEventFilter(t)).filter(e=>this.delegate.mightProducePrintableCharacter(e)).forEach(e=>l.zB.stop(e,!0)).map(e=>e.browserEvent.key)),i=_.ju.debounce(t,()=>null,800,void 0,void 0,void 0,this.enabledDisposables),n=_.ju.reduce(_.ju.any(t,i),(e,t)=>null===t?null:(e||"")+t,void 0,this.enabledDisposables);n(this.onInput,this,this.enabledDisposables),i(this.onClear,this,this.enabledDisposables),t(()=>e=!0,void 0,this.enabledDisposables),i(()=>e=!1,void 0,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var e;let t=this.list.getFocus();if(t.length>0&&t[0]===this.previouslyFocused){let i=null===(e=this.list.options.accessibilityProvider)||void 0===e?void 0:e.getAriaLabel(this.list.element(t[0]));"string"==typeof i?(0,u.Z9)(i):i&&(0,u.Z9)(i.get())}this.previouslyFocused=-1}onInput(e){if(!e){this.state=r.Idle,this.triggered=!1;return}let t=this.list.getFocus(),i=t.length>0?t[0]:0,n=this.state===r.Idle?1:0;this.state=r.Typing;for(let t=0;t1&&1===t.length){this.previouslyFocused=i,this.list.setFocus([s]),this.list.reveal(s);return}}}}else if(void 0===r||(0,v.Ji)(e,r)){this.previouslyFocused=i,this.list.setFocus([s]),this.list.reveal(s);return}}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class z{constructor(e,t){this.list=e,this.view=t,this.disposables=new b.SL;let i=_.ju.chain(this.disposables.add(new a.Y(t.domNode,"keydown")).event,e=>e.filter(e=>!M(e.target)).map(e=>new d.y(e))),n=_.ju.chain(i,e=>e.filter(e=>2===e.keyCode&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey));n(this.onTab,this,this.disposables)}onTab(e){if(e.target!==this.view.domNode)return;let t=this.list.getFocus();if(0===t.length)return;let i=this.view.domElement(t[0]);if(!i)return;let n=i.querySelector("[tabIndex]");if(!n||!(0,l.Re)(n)||-1===n.tabIndex)return;let s=(0,l.Jj)(n).getComputedStyle(n);"hidden"!==s.visibility&&"none"!==s.display&&(e.preventDefault(),e.stopPropagation(),n.focus())}dispose(){this.disposables.dispose()}}function K(e){return w.dz?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function U(e){return e.browserEvent.shiftKey}let $={isSelectionSingleChangeEvent:K,isSelectionRangeChangeEvent:U};class q{constructor(e){this.list=e,this.disposables=new b.SL,this._onPointer=new _.Q5,this.onPointer=this._onPointer.event,!1!==e.options.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||$),this.mouseSupport=void 0===e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(h.o.addTarget(e.getHTMLElement()))),_.ju.any(e.onMouseClick,e.onMouseMiddleClick,e.onTap)(this.onViewPointer,this,this.disposables)}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionController=void 0,e.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||$))}isSelectionSingleChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionSingleChangeEvent(e)}isSelectionRangeChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionRangeChangeEvent(e)}isSelectionChangeEvent(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)}onMouseDown(e){A(e.browserEvent.target)||(0,l.vY)()===e.browserEvent.target||this.list.domFocus()}onContextMenu(e){if(M(e.browserEvent.target)||A(e.browserEvent.target))return;let t=void 0===e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)}onViewPointer(e){var t;if(!this.mouseSupport||M(e.browserEvent.target)||A(e.browserEvent.target)||e.browserEvent.isHandledByList)return;e.browserEvent.isHandledByList=!0;let i=e.index;if(void 0===i){this.list.setFocus([],e.browserEvent),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0);return}if(this.isSelectionChangeEvent(e))return this.changeSelection(e);this.list.setFocus([i],e.browserEvent),this.list.setAnchor(i),t=e.browserEvent,(0,l.N5)(t)&&2===t.button||this.list.setSelection([i],e.browserEvent),this._onPointer.fire(e)}onDoubleClick(e){if(M(e.browserEvent.target)||A(e.browserEvent.target)||this.isSelectionChangeEvent(e)||e.browserEvent.isHandledByList)return;e.browserEvent.isHandledByList=!0;let t=this.list.getFocus();this.list.setSelection(t,e.browserEvent)}changeSelection(e){let t=e.index,i=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(e)){if(void 0===i){let e=this.list.getFocus()[0];i=null!=e?e:t,this.list.setAnchor(i)}let n=Math.min(i,t),s=Math.max(i,t),o=(0,g.w6)(n,s+1),r=this.list.getSelection(),l=function(e,t){let i=e.indexOf(t);if(-1===i)return[];let n=[],s=i-1;for(;s>=0&&e[s]===t-(i-s);)n.push(e[s--]);for(n.reverse(),s=i;s=e.length)i.push(t[s++]);else if(s>=t.length)i.push(e[n++]);else if(e[n]===t[s]){n++,s++;continue}else e[n]e!==t);this.list.setFocus([t]),this.list.setAnchor(t),i.length===n.length?this.list.setSelection([...n,t],e.browserEvent):this.list.setSelection(n,e.browserEvent)}}dispose(){this.disposables.dispose()}}class j{constructor(e,t){this.styleElement=e,this.selectorSuffix=t}style(e){var t,i;let n=this.selectorSuffix&&`.${this.selectorSuffix}`,s=[];e.listBackground&&s.push(`.monaco-list${n} .monaco-list-rows { background: ${e.listBackground}; }`),e.listFocusBackground&&(s.push(`.monaco-list${n}:focus .monaco-list-row.focused { background-color: ${e.listFocusBackground}; }`),s.push(`.monaco-list${n}:focus .monaco-list-row.focused:hover { background-color: ${e.listFocusBackground}; }`)),e.listFocusForeground&&s.push(`.monaco-list${n}:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),e.listActiveSelectionBackground&&(s.push(`.monaco-list${n}:focus .monaco-list-row.selected { background-color: ${e.listActiveSelectionBackground}; }`),s.push(`.monaco-list${n}:focus .monaco-list-row.selected:hover { background-color: ${e.listActiveSelectionBackground}; }`)),e.listActiveSelectionForeground&&s.push(`.monaco-list${n}:focus .monaco-list-row.selected { color: ${e.listActiveSelectionForeground}; }`),e.listActiveSelectionIconForeground&&s.push(`.monaco-list${n}:focus .monaco-list-row.selected .codicon { color: ${e.listActiveSelectionIconForeground}; }`),e.listFocusAndSelectionBackground&&s.push(` +|${" --- |".repeat(t)}`;return v.lexer(r)}}(e.slice(t));break}if(t===e.length-1&&"list"===s.type){let e=function(e){var t;let i;let n=e.items[e.items.length-1],s=n.tokens?n.tokens[n.tokens.length-1]:void 0;if((null==s?void 0:s.type)!=="text"||"inRawBlock"in n||(i=F(s)),!i||"paragraph"!==i.type)return;let o=O(e.items.slice(0,-1)),r=null===(t=n.raw.match(/^(\s*(-|\d+\.) +)/))||void 0===t?void 0:t[0];if(!r)return;let l=r+O(n.tokens.slice(0,-1))+i.raw,a=v.lexer(o+l)[0];if("list"===a.type)return a}(s);if(e){i=[e];break}}if(t===e.length-1&&"paragraph"===s.type){let e=F(s);if(e){i=[e];break}}}if(i){let n=[...e.slice(0,t),...i];return n.links=e.links,n}return null}(e);if(t)e=t;else break}return e}(t);m=v.parser(n,e)}else m=v.parse(P,i);if(e.supportThemeIcons){let e=(0,d.T)(m);m=e.map(e=>"string"==typeof e?e:e.outerHTML).join("")}let B=new DOMParser,W=B.parseFromString(I({isTrusted:e.isTrusted,...t.sanitizerOptions},m),"text/html");if(W.body.querySelectorAll("img, audio, video, source").forEach(i=>{let s=i.getAttribute("src");if(s){let o=s;try{e.baseUri&&(o=N(L.o.from(e.baseUri),o))}catch(e){}if(i.setAttribute("src",T(o,!0)),t.remoteImageIsAllowed){let e=L.o.parse(o);e.scheme===C.lg.file||e.scheme===C.lg.data||t.remoteImageIsAllowed(e)||i.replaceWith(n.$("",void 0,i.outerHTML))}}}),W.body.querySelectorAll("a").forEach(t=>{let i=t.getAttribute("href");if(t.setAttribute("href",""),!i||/^data:|javascript:/i.test(i)||/^command:/i.test(i)&&!e.isTrusted||/^command:(\/\/\/)?_workbench\.downloadResource/i.test(i))t.replaceWith(...t.childNodes);else{let n=T(i,!1);e.baseUri&&(n=N(L.o.from(e.baseUri),i)),t.dataset.href=n}}),D.innerHTML=I({isTrusted:e.isTrusted,...t.sanitizerOptions},W.body.innerHTML),R.length>0)Promise.all(R).then(e=>{var i,s;if(y)return;let o=new Map(e),r=D.querySelectorAll("div[data-code]");for(let e of r){let t=o.get(null!==(i=e.dataset.code)&&void 0!==i?i:"");t&&n.mc(e,t)}null===(s=t.asyncRenderCallback)||void 0===s||s.call(t)});else if(A.length>0){let e=new Map(A),t=D.querySelectorAll("div[data-code]");for(let i of t){let t=e.get(null!==(c=i.dataset.code)&&void 0!==c?c:"");t&&n.mc(i,t)}}if(t.asyncRenderCallback)for(let e of D.getElementsByTagName("img")){let i=_.add(n.nm(e,"load",()=>{i.dispose(),t.asyncRenderCallback()}))}return{element:D,dispose:()=>{y=!0,_.dispose()}}}function x(e){if(!e)return"";let t=e.split(/[\s+|:|,|\{|\?]/,1);return t.length?t[0]:e}function N(e,t){let i=/^\w[\w\d+.-]*:/.test(t);return i?t:e.path.endsWith("/")?(0,y.i3)(e,t).toString():(0,y.i3)((0,y.XX)(e),t).toString()}let E=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function I(e,t){let{config:i,allowedSchemes:o}=function(e){var t;let i=[C.lg.http,C.lg.https,C.lg.mailto,C.lg.data,C.lg.file,C.lg.vscodeFileResource,C.lg.vscodeRemote,C.lg.vscodeRemoteResource];return e.isTrusted&&i.push(C.lg.command),{config:{ALLOWED_TAGS:null!==(t=e.allowedTags)&&void 0!==t?t:[...n.sQ],ALLOWED_ATTR:T,ALLOW_UNKNOWN_PROTOCOLS:!0},allowedSchemes:i}}(e),r=new f.SL;r.add(W("uponSanitizeAttribute",(e,t)=>{var i;if("style"===t.attrName||"class"===t.attrName){if("SPAN"===e.tagName){if("style"===t.attrName){t.keepAttr=/^(color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?(background-color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?$/.test(t.attrValue);return}if("class"===t.attrName){t.keepAttr=/^codicon codicon-[a-z\-]+( codicon-modifier-[a-z\-]+)?$/.test(t.attrValue);return}}t.keepAttr=!1;return}if("INPUT"===e.tagName&&(null===(i=e.attributes.getNamedItem("type"))||void 0===i?void 0:i.value)==="checkbox"){if("type"===t.attrName&&"checkbox"===t.attrValue||"disabled"===t.attrName||"checked"===t.attrName){t.keepAttr=!0;return}t.keepAttr=!1}})),r.add(W("uponSanitizeElement",(t,i)=>{var n,s;if("input"!==i.tagName||((null===(n=t.attributes.getNamedItem("type"))||void 0===n?void 0:n.value)==="checkbox"?t.setAttribute("disabled",""):e.replaceWithPlaintext||null===(s=t.parentElement)||void 0===s||s.removeChild(t)),e.replaceWithPlaintext&&!i.allowedTags[i.tagName]&&"body"!==i.tagName&&t.parentElement){let e,n;if("#comment"===i.tagName)e=``;else{let s=E.includes(i.tagName),o=t.attributes.length?" "+Array.from(t.attributes).map(e=>`${e.name}="${e.value}"`).join(" "):"";e=`<${i.tagName}${o}>`,s||(n=``)}let s=document.createDocumentFragment(),o=t.parentElement.ownerDocument.createTextNode(e);s.appendChild(o);let r=n?t.parentElement.ownerDocument.createTextNode(n):void 0;for(;t.firstChild;)s.appendChild(t.firstChild);r&&s.appendChild(r),t.parentElement.replaceChild(s,t)}})),r.add(n._F(o));try{return s.Nw(t,{...i,RETURN_TRUSTED_TYPE:!0})}finally{r.dispose()}}let T=["align","autoplay","alt","checked","class","controls","data-code","data-href","disabled","draggable","height","href","loop","muted","playsinline","poster","src","style","target","title","type","width","start"];function M(e){return"string"==typeof e?e:function(e,t){var i;let n=null!==(i=e.value)&&void 0!==i?i:"";n.length>1e5&&(n=`${n.substr(0,1e5)}…`);let s=v.parse(n,{renderer:P.value}).replace(/&(#\d+|[a-zA-Z]+);/g,e=>{var t;return null!==(t=R.get(e))&&void 0!==t?t:e});return I({isTrusted:!1},s).toString()}(e)}let R=new Map([[""",'"'],[" "," "],["&","&"],["'","'"],["<","<"],[">",">"]]);function A(){let e=new v.Renderer;return e.code=e=>e,e.blockquote=e=>e,e.html=e=>"",e.heading=(e,t,i)=>e+"\n",e.hr=()=>"",e.list=(e,t)=>e,e.listitem=e=>e+"\n",e.paragraph=e=>e+"\n",e.table=(e,t)=>e+t+"\n",e.tablerow=e=>e,e.tablecell=(e,t)=>e+" ",e.strong=e=>e,e.em=e=>e,e.codespan=e=>e,e.br=()=>"\n",e.del=e=>e,e.image=(e,t,i)=>"",e.text=e=>e,e.link=(e,t,i)=>i,e}let P=new m.o(e=>A());function O(e){let t="";return e.forEach(e=>{t+=e.raw}),t}function F(e){var t,i;if(e.tokens)for(let n=e.tokens.length-1;n>=0;n--){let s=e.tokens[n];if("text"===s.type){let o=s.raw.split("\n"),r=o[o.length-1];if(r.includes("`"))return B(e,"`");if(r.includes("**"))return B(e,"**");if(r.match(/\*\w/))return B(e,"*");if(r.match(/(^|\s)__\w/))return B(e,"__");if(r.match(/(^|\s)_\w/))return B(e,"_");if(r.match(/(^|\s)\[.*\]\(\w*/)||r.match(/^[^\[]*\]\([^\)]*$/)&&e.tokens.slice(0,n).some(e=>"text"===e.type&&e.raw.match(/\[[^\]]*$/))){let s=e.tokens.slice(n+1);if((null===(t=s[0])||void 0===t?void 0:t.type)==="link"&&(null===(i=s[1])||void 0===i?void 0:i.type)==="text"&&s[1].raw.match(/^ *"[^"]*$/)||r.match(/^[^"]* +"[^"]*$/))return B(e,'")');return B(e,")")}if(r.match(/(^|\s)\[\w*/))return B(e,"](https://microsoft.com)")}}}function B(e,t){let i=O(Array.isArray(e)?e:[e]);return v.lexer(i+t)[0]}function W(e,t){return s.v5(e,t),(0,f.OF)(()=>s.ok(e))}new m.o(()=>{let e=A();return e.code=e=>"\n```"+e+"```\n",e})},69362:function(e,t,i){"use strict";i.d(t,{n:function(){return l},q:function(){return a}});var n=i(5938);let s=new WeakMap;class o{static getSameOriginWindowChain(e){let t=s.get(e);if(!t){let i;t=[],s.set(e,t);let n=e;do(i=function(e){if(!e.parent||e.parent===e)return null;try{let t=e.location,i=e.parent.location;if("null"!==t.origin&&"null"!==i.origin&&t.origin!==i.origin)return null}catch(e){return null}return e.parent}(n))?t.push({window:new WeakRef(n),iframeElement:n.frameElement||null}):t.push({window:new WeakRef(n),iframeElement:null}),n=i;while(n)}return t.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){var i,n;if(!t||e===t)return{top:0,left:0};let s=0,o=0,r=this.getSameOriginWindowChain(e);for(let e of r){let r=e.window.deref();if(s+=null!==(i=null==r?void 0:r.scrollY)&&void 0!==i?i:0,o+=null!==(n=null==r?void 0:r.scrollX)&&void 0!==n?n:0,r===t||!e.iframeElement)break;let l=e.iframeElement.getBoundingClientRect();s+=l.top,o+=l.left}return{top:s,left:o}}}var r=i(58022);class l{constructor(e,t){this.timestamp=Date.now(),this.browserEvent=t,this.leftButton=0===t.button,this.middleButton=1===t.button,this.rightButton=2===t.button,this.buttons=t.buttons,this.target=t.target,this.detail=t.detail||1,"dblclick"===t.type&&(this.detail=2),this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,"number"==typeof t.pageX?(this.posx=t.pageX,this.posy=t.pageY):(this.posx=t.clientX+this.target.ownerDocument.body.scrollLeft+this.target.ownerDocument.documentElement.scrollLeft,this.posy=t.clientY+this.target.ownerDocument.body.scrollTop+this.target.ownerDocument.documentElement.scrollTop);let i=o.getPositionOfChildWindowRelativeToAncestorWindow(e,t.view);this.posx-=i.left,this.posy-=i.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class a{constructor(e,t=0,i=0){var s;this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=i,this.deltaX=t;let o=!1;if(n.i7){let e=navigator.userAgent.match(/Chrome\/(\d+)/),t=e?parseInt(e[1]):123;o=t<=122}if(e){let t=(null===(s=e.view)||void 0===s?void 0:s.devicePixelRatio)||1;void 0!==e.wheelDeltaY?o?this.deltaY=e.wheelDeltaY/(120*t):this.deltaY=e.wheelDeltaY/120:void 0!==e.VERTICAL_AXIS&&e.axis===e.VERTICAL_AXIS?this.deltaY=-e.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?n.vU&&!r.dz?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40),void 0!==e.wheelDeltaX?n.G6&&r.ED?this.deltaX=-(e.wheelDeltaX/120):o?this.deltaX=e.wheelDeltaX/(120*t):this.deltaX=e.wheelDeltaX/120:void 0!==e.HORIZONTAL_AXIS&&e.axis===e.HORIZONTAL_AXIS?this.deltaX=-e.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?n.vU&&!r.dz?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40),0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(o?this.deltaY=e.wheelDelta/(120*t):this.deltaY=e.wheelDelta/120)}}preventDefault(){var e;null===(e=this.browserEvent)||void 0===e||e.preventDefault()}stopPropagation(){var e;null===(e=this.browserEvent)||void 0===e||e.stopPropagation()}}},65185:function(e,t,i){"use strict";var n;i.d(t,{B:function(){return n}}),function(e){let t={total:0,min:Number.MAX_VALUE,max:0},i={...t},n={...t},s={...t},o=0,r={keydown:0,input:0,render:0};function l(){1===r.keydown&&(performance.mark("keydown/end"),r.keydown=2)}function a(){performance.mark("input/start"),r.input=1,u()}function d(){1===r.input&&(performance.mark("input/end"),r.input=2)}function h(){1===r.render&&(performance.mark("render/end"),r.render=2)}function u(){setTimeout(c)}function c(){2===r.keydown&&2===r.input&&2===r.render&&(performance.mark("inputlatency/end"),performance.measure("keydown","keydown/start","keydown/end"),performance.measure("input","input/start","input/end"),performance.measure("render","render/start","render/end"),performance.measure("inputlatency","inputlatency/start","inputlatency/end"),g("keydown",t),g("input",i),g("render",n),g("inputlatency",s),o++,performance.clearMarks("keydown/start"),performance.clearMarks("keydown/end"),performance.clearMarks("input/start"),performance.clearMarks("input/end"),performance.clearMarks("render/start"),performance.clearMarks("render/end"),performance.clearMarks("inputlatency/start"),performance.clearMarks("inputlatency/end"),performance.clearMeasures("keydown"),performance.clearMeasures("input"),performance.clearMeasures("render"),performance.clearMeasures("inputlatency"),r.keydown=0,r.input=0,r.render=0)}function g(e,t){let i=performance.getEntriesByName(e)[0].duration;t.total+=i,t.min=Math.min(t.min,i),t.max=Math.max(t.max,i)}function p(e){return{average:e.total/o,max:e.max,min:e.min}}function m(e){e.total=0,e.min=Number.MAX_VALUE,e.max=0}e.onKeyDown=function(){c(),performance.mark("inputlatency/start"),performance.mark("keydown/start"),r.keydown=1,queueMicrotask(l)},e.onBeforeInput=a,e.onInput=function(){0===r.input&&a(),queueMicrotask(d)},e.onKeyUp=function(){c()},e.onSelectionChange=function(){c()},e.onRenderStart=function(){2===r.keydown&&2===r.input&&0===r.render&&(performance.mark("render/start"),r.render=1,queueMicrotask(h),u())},e.getAndClearMeasurements=function(){if(0===o)return;let e={keydown:p(t),input:p(i),render:p(n),total:p(s),sampleCount:o};return m(t),m(i),m(n),m(s),o=0,e}}(n||(n={}))},96825:function(e,t,i){"use strict";i.d(t,{T:function(){return a}});var n=i(81845),s=i(79915),o=i(70784);class r extends o.JT{constructor(e){super(),this._onDidChange=this._register(new s.Q5),this.onDidChange=this._onDidChange.event,this._listener=()=>this._handleChange(e,!0),this._mediaQueryList=null,this._handleChange(e,!1)}_handleChange(e,t){var i;null===(i=this._mediaQueryList)||void 0===i||i.removeEventListener("change",this._listener),this._mediaQueryList=e.matchMedia(`(resolution: ${e.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),t&&this._onDidChange.fire()}}class l extends o.JT{get value(){return this._value}constructor(e){super(),this._onDidChange=this._register(new s.Q5),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio(e);let t=this._register(new r(e));this._register(t.onDidChange(()=>{this._value=this._getPixelRatio(e),this._onDidChange.fire(this._value)}))}_getPixelRatio(e){let t=document.createElement("canvas").getContext("2d"),i=e.devicePixelRatio||1,n=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return i/n}}let a=new class{constructor(){this.mapWindowIdToPixelRatioMonitor=new Map}_getOrCreatePixelRatioMonitor(e){let t=(0,n.ZY)(e),i=this.mapWindowIdToPixelRatioMonitor.get(t);return i||(i=(0,o.dk)(new l(e)),this.mapWindowIdToPixelRatioMonitor.set(t,i),(0,o.dk)(s.ju.once(n.ey)(({vscodeWindowId:e})=>{e===t&&(null==i||i.dispose(),this.mapWindowIdToPixelRatioMonitor.delete(t))}))),i}getInstance(e){return this._getOrCreatePixelRatioMonitor(e)}}},598:function(e,t,i){"use strict";i.d(t,{o:function(){return c},t:function(){return s}});var n,s,o=i(81845),r=i(44709),l=i(40789),a=i(12435),d=i(79915),h=i(70784),u=i(92270);(n=s||(s={})).Tap="-monaco-gesturetap",n.Change="-monaco-gesturechange",n.Start="-monaco-gesturestart",n.End="-monaco-gesturesend",n.Contextmenu="-monaco-gesturecontextmenu";class c extends h.JT{constructor(){super(),this.dispatched=!1,this.targets=new u.S,this.ignoreTargets=new u.S,this.activeTouches={},this.handle=null,this._lastSetTapCountTime=0,this._register(d.ju.runAndSubscribe(o.Xo,({window:e,disposables:t})=>{t.add(o.nm(e.document,"touchstart",e=>this.onTouchStart(e),{passive:!1})),t.add(o.nm(e.document,"touchend",t=>this.onTouchEnd(e,t))),t.add(o.nm(e.document,"touchmove",e=>this.onTouchMove(e),{passive:!1}))},{window:r.E,disposables:this._store}))}static addTarget(e){if(!c.isTouchDevice())return h.JT.None;c.INSTANCE||(c.INSTANCE=(0,h.dk)(new c));let t=c.INSTANCE.targets.push(e);return(0,h.OF)(t)}static ignoreTarget(e){if(!c.isTouchDevice())return h.JT.None;c.INSTANCE||(c.INSTANCE=(0,h.dk)(new c));let t=c.INSTANCE.ignoreTargets.push(e);return(0,h.OF)(t)}static isTouchDevice(){return"ontouchstart"in r.E||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){let t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let i=0,n=e.targetTouches.length;iMath.abs(a.initialPageX-l.Gb(a.rollingPageX))&&30>Math.abs(a.initialPageY-l.Gb(a.rollingPageY))){let e=this.newGestureEvent(s.Tap,a.initialTarget);e.pageX=l.Gb(a.rollingPageX),e.pageY=l.Gb(a.rollingPageY),this.dispatchEvent(e)}else if(d>=c.HOLD_DELAY&&30>Math.abs(a.initialPageX-l.Gb(a.rollingPageX))&&30>Math.abs(a.initialPageY-l.Gb(a.rollingPageY))){let e=this.newGestureEvent(s.Contextmenu,a.initialTarget);e.pageX=l.Gb(a.rollingPageX),e.pageY=l.Gb(a.rollingPageY),this.dispatchEvent(e)}else if(1===n){let t=l.Gb(a.rollingPageX),n=l.Gb(a.rollingPageY),s=l.Gb(a.rollingTimestamps)-a.rollingTimestamps[0],o=t-a.rollingPageX[0],r=n-a.rollingPageY[0],d=[...this.targets].filter(e=>a.initialTarget instanceof Node&&e.contains(a.initialTarget));this.inertia(e,d,i,Math.abs(o)/s,o>0?1:-1,t,Math.abs(r)/s,r>0?1:-1,n)}this.dispatchEvent(this.newGestureEvent(s.End,a.initialTarget)),delete this.activeTouches[r.identifier]}this.dispatched&&(t.preventDefault(),t.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,t){let i=document.createEvent("CustomEvent");return i.initEvent(e,!1,!0),i.initialTarget=t,i.tapCount=0,i}dispatchEvent(e){if(e.type===s.Tap){let t=new Date().getTime(),i=0;i=t-this._lastSetTapCountTime>c.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=t,e.tapCount=i}else(e.type===s.Change||e.type===s.Contextmenu)&&(this._lastSetTapCountTime=0);if(e.initialTarget instanceof Node){for(let t of this.ignoreTargets)if(t.contains(e.initialTarget))return;let t=[];for(let i of this.targets)if(i.contains(e.initialTarget)){let n=0,s=e.initialTarget;for(;s&&s!==i;)n++,s=s.parentElement;t.push([n,i])}for(let[i,n]of(t.sort((e,t)=>e[0]-t[0]),t))n.dispatchEvent(e),this.dispatched=!0}}inertia(e,t,i,n,r,l,a,d,h){this.handle=o.jL(e,()=>{let o=Date.now(),u=o-i,g=0,p=0,m=!0;n+=c.SCROLL_FRICTION*u,a+=c.SCROLL_FRICTION*u,n>0&&(m=!1,g=r*n*u),a>0&&(m=!1,p=d*a*u);let f=this.newGestureEvent(s.Change);f.translationX=g,f.translationY=p,t.forEach(e=>e.dispatchEvent(f)),m||this.inertia(e,t,o,n,r,l+g,a,d,h+p)})}onTouchMove(e){let t=Date.now();for(let i=0,n=e.changedTouches.length;i3&&(o.rollingPageX.shift(),o.rollingPageY.shift(),o.rollingTimestamps.shift()),o.rollingPageX.push(n.pageX),o.rollingPageY.push(n.pageY),o.rollingTimestamps.push(t)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}}c.SCROLL_FRICTION=-.005,c.HOLD_DELAY=700,c.CLEAR_TAP_COUNT_TIME=400,function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);o>3&&r&&Object.defineProperty(t,i,r)}([a.H],c,"isTouchDevice",null)},39813:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var n=i(44709),s=i(32378);function o(e,t){var i;let o=globalThis.MonacoEnvironment;if(null==o?void 0:o.createTrustedTypesPolicy)try{return o.createTrustedTypesPolicy(e,t)}catch(e){(0,s.dL)(e);return}try{return null===(i=n.E.trustedTypes)||void 0===i?void 0:i.createPolicy(e,t)}catch(e){(0,s.dL)(e);return}}},13546:function(e,t,i){"use strict";i.d(t,{gU:function(){return E},YH:function(){return N},Lc:function(){return I}});var n=i(5938),s=i(38431),o=i(81845),r=i(598),l=i(82905),a=i(21887),d=i(69629),h=i(7802),u=i(85432),c=i(56240),g=i(40789),p=i(79915),m=i(57231),f=i(70784),_=i(58022);i(31121);var v=i(82801);let b=o.$,C="selectOption.entry.template";class w{get templateId(){return C}renderTemplate(e){let t=Object.create(null);return t.root=e,t.text=o.R3(e,b(".option-text")),t.detail=o.R3(e,b(".option-detail")),t.decoratorRight=o.R3(e,b(".option-decorator-right")),t}renderElement(e,t,i){let n=e.text,s=e.detail,o=e.decoratorRight,r=e.isDisabled;i.text.textContent=n,i.detail.textContent=s||"",i.decoratorRight.innerText=o||"",r?i.root.classList.add("option-disabled"):i.root.classList.remove("option-disabled")}disposeTemplate(e){}}class y extends f.JT{constructor(e,t,i,n,s){super(),this.options=[],this._currentSelection=0,this._hasDetails=!1,this._skipLayout=!1,this._sticky=!1,this._isVisible=!1,this.styles=n,this.selectBoxOptions=s||Object.create(null),"number"!=typeof this.selectBoxOptions.minBottomMargin?this.selectBoxOptions.minBottomMargin=y.DEFAULT_DROPDOWN_MINIMUM_BOTTOM_MARGIN:this.selectBoxOptions.minBottomMargin<0&&(this.selectBoxOptions.minBottomMargin=0),this.selectElement=document.createElement("select"),this.selectElement.className="monaco-select-box monaco-select-box-dropdown-padding","string"==typeof this.selectBoxOptions.ariaLabel&&this.selectElement.setAttribute("aria-label",this.selectBoxOptions.ariaLabel),"string"==typeof this.selectBoxOptions.ariaDescription&&this.selectElement.setAttribute("aria-description",this.selectBoxOptions.ariaDescription),this._onDidSelect=new p.Q5,this._register(this._onDidSelect),this.registerListeners(),this.constructSelectDropDown(i),this.selected=t||0,e&&this.setOptions(e,t),this.initStyleSheet()}setTitle(e){!this._hover&&e?this._hover=this._register((0,u.B)().setupUpdatableHover((0,l.tM)("mouse"),this.selectElement,e)):this._hover&&this._hover.update(e)}getHeight(){return 22}getTemplateId(){return C}constructSelectDropDown(e){this.contextViewProvider=e,this.selectDropDownContainer=o.$(".monaco-select-box-dropdown-container"),this.selectDropDownContainer.classList.add("monaco-select-box-dropdown-padding"),this.selectionDetailsPane=o.R3(this.selectDropDownContainer,b(".select-box-details-pane"));let t=o.R3(this.selectDropDownContainer,b(".select-box-dropdown-container-width-control")),i=o.R3(t,b(".width-control-div"));this.widthControlElement=document.createElement("span"),this.widthControlElement.className="option-text-width-control",o.R3(i,this.widthControlElement),this._dropDownPosition=0,this.styleElement=o.dS(this.selectDropDownContainer),this.selectDropDownContainer.setAttribute("draggable","true"),this._register(o.nm(this.selectDropDownContainer,o.tw.DRAG_START,e=>{o.zB.stop(e,!0)}))}registerListeners(){let e;this._register(o.mu(this.selectElement,"change",e=>{this.selected=e.target.selectedIndex,this._onDidSelect.fire({index:e.target.selectedIndex,selected:e.target.value}),this.options[this.selected]&&this.options[this.selected].text&&this.setTitle(this.options[this.selected].text)})),this._register(o.nm(this.selectElement,o.tw.CLICK,e=>{o.zB.stop(e),this._isVisible?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(o.nm(this.selectElement,o.tw.MOUSE_DOWN,e=>{o.zB.stop(e)})),this._register(o.nm(this.selectElement,"touchstart",t=>{e=this._isVisible})),this._register(o.nm(this.selectElement,"touchend",t=>{o.zB.stop(t),e?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(o.nm(this.selectElement,o.tw.KEY_DOWN,e=>{let t=new d.y(e),i=!1;_.dz?(18===t.keyCode||16===t.keyCode||10===t.keyCode||3===t.keyCode)&&(i=!0):(18===t.keyCode&&t.altKey||16===t.keyCode&&t.altKey||10===t.keyCode||3===t.keyCode)&&(i=!0),i&&(this.showSelectDropDown(),o.zB.stop(e,!0))}))}get onDidSelect(){return this._onDidSelect.event}setOptions(e,t){g.fS(this.options,e)||(this.options=e,this.selectElement.options.length=0,this._hasDetails=!1,this._cachedMaxDetailsHeight=void 0,this.options.forEach((e,t)=>{this.selectElement.add(this.createOption(e.text,t,e.isDisabled)),"string"==typeof e.description&&(this._hasDetails=!0)})),void 0!==t&&(this.select(t),this._currentSelection=this.selected)}setOptionsList(){var e;null===(e=this.selectList)||void 0===e||e.splice(0,this.selectList.length,this.options)}select(e){e>=0&&ethis.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.options[this.selected]&&this.options[this.selected].text&&this.setTitle(this.options[this.selected].text)}focus(){this.selectElement&&(this.selectElement.tabIndex=0,this.selectElement.focus())}blur(){this.selectElement&&(this.selectElement.tabIndex=-1,this.selectElement.blur())}setFocusable(e){this.selectElement.tabIndex=e?0:-1}render(e){this.container=e,e.classList.add("select-container"),e.appendChild(this.selectElement),this.styleSelectElement()}initStyleSheet(){let e=[];this.styles.listFocusBackground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { background-color: ${this.styles.listFocusBackground} !important; }`),this.styles.listFocusForeground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { color: ${this.styles.listFocusForeground} !important; }`),this.styles.decoratorRightForeground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.focused) .option-decorator-right { color: ${this.styles.decoratorRightForeground}; }`),this.styles.selectBackground&&this.styles.selectBorder&&this.styles.selectBorder!==this.styles.selectBackground?(e.push(`.monaco-select-box-dropdown-container { border: 1px solid ${this.styles.selectBorder} } `),e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectBorder} } `),e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectBorder} } `)):this.styles.selectListBorder&&(e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectListBorder} } `),e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectListBorder} } `)),this.styles.listHoverForeground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { color: ${this.styles.listHoverForeground} !important; }`),this.styles.listHoverBackground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { background-color: ${this.styles.listHoverBackground} !important; }`),this.styles.listFocusOutline&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { outline: 1.6px dotted ${this.styles.listFocusOutline} !important; outline-offset: -1.6px !important; }`),this.styles.listHoverOutline&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { outline: 1.6px dashed ${this.styles.listHoverOutline} !important; outline-offset: -1.6px !important; }`),e.push(".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled.focused { background-color: transparent !important; color: inherit !important; outline: none !important; }"),e.push(".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled:hover { background-color: transparent !important; color: inherit !important; outline: none !important; }"),this.styleElement.textContent=e.join("\n")}styleSelectElement(){var e,t,i;let n=null!==(e=this.styles.selectBackground)&&void 0!==e?e:"",s=null!==(t=this.styles.selectForeground)&&void 0!==t?t:"",o=null!==(i=this.styles.selectBorder)&&void 0!==i?i:"";this.selectElement.style.backgroundColor=n,this.selectElement.style.color=s,this.selectElement.style.borderColor=o}styleList(){var e,t;let i=null!==(e=this.styles.selectBackground)&&void 0!==e?e:"",n=o.XT(this.styles.selectListBackground,i);this.selectDropDownListContainer.style.backgroundColor=n,this.selectionDetailsPane.style.backgroundColor=n;let s=null!==(t=this.styles.focusBorder)&&void 0!==t?t:"";this.selectDropDownContainer.style.outlineColor=s,this.selectDropDownContainer.style.outlineOffset="-1px",this.selectList.style(this.styles)}createOption(e,t,i){let n=document.createElement("option");return n.value=e,n.text=e,n.disabled=!!i,n}showSelectDropDown(){this.selectionDetailsPane.innerText="",this.contextViewProvider&&!this._isVisible&&(this.createSelectList(this.selectDropDownContainer),this.setOptionsList(),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:e=>this.renderSelectDropDown(e,!0),layout:()=>{this.layoutSelectDropDown()},onHide:()=>{this.selectDropDownContainer.classList.remove("visible"),this.selectElement.classList.remove("synthetic-focus")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._isVisible=!0,this.hideSelectDropDown(!1),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:e=>this.renderSelectDropDown(e),layout:()=>this.layoutSelectDropDown(),onHide:()=>{this.selectDropDownContainer.classList.remove("visible"),this.selectElement.classList.remove("synthetic-focus")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._currentSelection=this.selected,this._isVisible=!0,this.selectElement.setAttribute("aria-expanded","true"))}hideSelectDropDown(e){this.contextViewProvider&&this._isVisible&&(this._isVisible=!1,this.selectElement.setAttribute("aria-expanded","false"),e&&this.selectElement.focus(),this.contextViewProvider.hideContextView())}renderSelectDropDown(e,t){return e.appendChild(this.selectDropDownContainer),this.layoutSelectDropDown(t),{dispose:()=>{try{e.removeChild(this.selectDropDownContainer)}catch(e){}}}}measureMaxDetailsHeight(){let e=0;return this.options.forEach((t,i)=>{this.updateDetail(i),this.selectionDetailsPane.offsetHeight>e&&(e=this.selectionDetailsPane.offsetHeight)}),e}layoutSelectDropDown(e){if(this._skipLayout||!this.selectList)return!1;{this.selectDropDownContainer.classList.add("visible");let t=o.Jj(this.selectElement),i=o.i(this.selectElement),n=o.Jj(this.selectElement).getComputedStyle(this.selectElement),s=parseFloat(n.getPropertyValue("--dropdown-padding-top"))+parseFloat(n.getPropertyValue("--dropdown-padding-bottom")),r=t.innerHeight-i.top-i.height-(this.selectBoxOptions.minBottomMargin||0),l=i.top-y.DEFAULT_DROPDOWN_MINIMUM_TOP_MARGIN,a=this.selectElement.offsetWidth,d=this.setWidthControlElement(this.widthControlElement),h=Math.max(d,Math.round(a)).toString()+"px";this.selectDropDownContainer.style.width=h,this.selectList.getHTMLElement().style.height="",this.selectList.layout();let u=this.selectList.contentHeight;this._hasDetails&&void 0===this._cachedMaxDetailsHeight&&(this._cachedMaxDetailsHeight=this.measureMaxDetailsHeight());let c=this._hasDetails?this._cachedMaxDetailsHeight:0,g=u+s+c,p=Math.floor((r-s-c)/this.getHeight()),m=Math.floor((l-s-c)/this.getHeight());if(e)return!(i.top+i.height>t.innerHeight-22)&&!(i.topp&&this.options.length>p?(this._dropDownPosition=1,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectionDetailsPane.classList.remove("border-top"),this.selectionDetailsPane.classList.add("border-bottom")):(this._dropDownPosition=0,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectionDetailsPane.classList.remove("border-bottom"),this.selectionDetailsPane.classList.add("border-top")),!0);if(i.top+i.height>t.innerHeight-22||i.topr&&(u=p*this.getHeight())}else g>l&&(u=m*this.getHeight());return this.selectList.layout(u),this.selectList.domFocus(),this.selectList.length>0&&(this.selectList.setFocus([this.selected||0]),this.selectList.reveal(this.selectList.getFocus()[0]||0)),this._hasDetails?(this.selectList.getHTMLElement().style.height=u+s+"px",this.selectDropDownContainer.style.height=""):this.selectDropDownContainer.style.height=u+s+"px",this.updateDetail(this.selected),this.selectDropDownContainer.style.width=h,this.selectDropDownListContainer.setAttribute("tabindex","0"),this.selectElement.classList.add("synthetic-focus"),this.selectDropDownContainer.classList.add("synthetic-focus"),!0}}setWidthControlElement(e){let t=0;if(e){let i=0,n=0;this.options.forEach((e,t)=>{let s=e.detail?e.detail.length:0,o=e.decoratorRight?e.decoratorRight.length:0,r=e.text.length+s+o;r>n&&(i=t,n=r)}),e.textContent=this.options[i].text+(this.options[i].decoratorRight?this.options[i].decoratorRight+" ":""),t=o.w(e)}return t}createSelectList(e){if(this.selectList)return;this.selectDropDownListContainer=o.R3(e,b(".select-box-dropdown-list-container")),this.listRenderer=new w,this.selectList=new c.aV("SelectBoxCustom",this.selectDropDownListContainer,this,[this.listRenderer],{useShadows:!1,verticalScrollMode:3,keyboardSupport:!1,mouseSupport:!1,accessibilityProvider:{getAriaLabel:e=>{let t=e.text;return e.detail&&(t+=`. ${e.detail}`),e.decoratorRight&&(t+=`. ${e.decoratorRight}`),e.description&&(t+=`. ${e.description}`),t},getWidgetAriaLabel:()=>(0,v.NC)({key:"selectBox",comment:["Behave like native select dropdown element."]},"Select Box"),getRole:()=>_.dz?"":"option",getWidgetRole:()=>"listbox"}}),this.selectBoxOptions.ariaLabel&&(this.selectList.ariaLabel=this.selectBoxOptions.ariaLabel);let t=this._register(new a.Y(this.selectDropDownListContainer,"keydown")),i=p.ju.chain(t.event,e=>e.filter(()=>this.selectList.length>0).map(e=>new d.y(e)));this._register(p.ju.chain(i,e=>e.filter(e=>3===e.keyCode))(this.onEnter,this)),this._register(p.ju.chain(i,e=>e.filter(e=>2===e.keyCode))(this.onEnter,this)),this._register(p.ju.chain(i,e=>e.filter(e=>9===e.keyCode))(this.onEscape,this)),this._register(p.ju.chain(i,e=>e.filter(e=>16===e.keyCode))(this.onUpArrow,this)),this._register(p.ju.chain(i,e=>e.filter(e=>18===e.keyCode))(this.onDownArrow,this)),this._register(p.ju.chain(i,e=>e.filter(e=>12===e.keyCode))(this.onPageDown,this)),this._register(p.ju.chain(i,e=>e.filter(e=>11===e.keyCode))(this.onPageUp,this)),this._register(p.ju.chain(i,e=>e.filter(e=>14===e.keyCode))(this.onHome,this)),this._register(p.ju.chain(i,e=>e.filter(e=>13===e.keyCode))(this.onEnd,this)),this._register(p.ju.chain(i,e=>e.filter(e=>e.keyCode>=21&&e.keyCode<=56||e.keyCode>=85&&e.keyCode<=113))(this.onCharacter,this)),this._register(o.nm(this.selectList.getHTMLElement(),o.tw.POINTER_UP,e=>this.onPointerUp(e))),this._register(this.selectList.onMouseOver(e=>void 0!==e.index&&this.selectList.setFocus([e.index]))),this._register(this.selectList.onDidChangeFocus(e=>this.onListFocus(e))),this._register(o.nm(this.selectDropDownContainer,o.tw.FOCUS_OUT,e=>{!this._isVisible||o.jg(e.relatedTarget,this.selectDropDownContainer)||this.onListBlur()})),this.selectList.getHTMLElement().setAttribute("aria-label",this.selectBoxOptions.ariaLabel||""),this.selectList.getHTMLElement().setAttribute("aria-expanded","true"),this.styleList()}onPointerUp(e){if(!this.selectList.length)return;o.zB.stop(e);let t=e.target;if(!t||t.classList.contains("slider"))return;let i=t.closest(".monaco-list-row");if(!i)return;let n=Number(i.getAttribute("data-index")),s=i.classList.contains("option-disabled");n>=0&&n{for(let t=0;tthis.selected+2)this.selected+=2;else{if(t)return;this.selected++}this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0])}}onUpArrow(e){if(this.selected>0){o.zB.stop(e,!0);let t=this.options[this.selected-1].isDisabled;t&&this.selected>1?this.selected-=2:this.selected--,this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0])}}onPageUp(e){o.zB.stop(e),this.selectList.focusPreviousPage(),setTimeout(()=>{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected>0&&(this.selected--,this.selectList.setFocus([this.selected])),this.selectList.reveal(this.selected),this.select(this.selected)},1)}onHome(e){o.zB.stop(e),this.options.length<2||(this.selected=0,this.options[this.selected].isDisabled&&this.selected>1&&this.selected++,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onEnd(e){o.zB.stop(e),this.options.length<2||(this.selected=this.options.length-1,this.options[this.selected].isDisabled&&this.selected>1&&this.selected--,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onCharacter(e){let t=m.kL.toString(e.keyCode),i=-1;for(let n=0;n{this._register(o.nm(this.selectElement,e,e=>{this.selectElement.focus()}))}),this._register(o.mu(this.selectElement,"click",e=>{o.zB.stop(e,!0)})),this._register(o.mu(this.selectElement,"change",e=>{this.selectElement.title=e.target.value,this._onDidSelect.fire({index:e.target.selectedIndex,selected:e.target.value})})),this._register(o.mu(this.selectElement,"keydown",e=>{let t=!1;_.dz?(18===e.keyCode||16===e.keyCode||10===e.keyCode)&&(t=!0):(18===e.keyCode&&e.altKey||10===e.keyCode||3===e.keyCode)&&(t=!0),t&&e.stopPropagation()}))}get onDidSelect(){return this._onDidSelect.event}setOptions(e,t){this.options&&g.fS(this.options,e)||(this.options=e,this.selectElement.options.length=0,this.options.forEach((e,t)=>{this.selectElement.add(this.createOption(e.text,t,e.isDisabled))})),void 0!==t&&this.select(t)}select(e){0===this.options.length?this.selected=0:e>=0&&ethis.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.selected{this.element&&this.handleActionChangeEvent(e)}))}handleActionChangeEvent(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new D.Wi)),this._actionRunner}set actionRunner(e){this._actionRunner=e}isEnabled(){return this._action.enabled}setActionContext(e){this._context=e}render(e){let t=this.element=e;this._register(r.o.addTarget(e));let i=this.options&&this.options.draggable;i&&(e.draggable=!0,n.vU&&this._register((0,o.nm)(e,o.tw.DRAG_START,e=>{var t;return null===(t=e.dataTransfer)||void 0===t?void 0:t.setData(s.g.TEXT,this._action.label)}))),this._register((0,o.nm)(t,r.t.Tap,e=>this.onClick(e,!0))),this._register((0,o.nm)(t,o.tw.MOUSE_DOWN,e=>{i||o.zB.stop(e,!0),this._action.enabled&&0===e.button&&t.classList.add("active")})),_.dz&&this._register((0,o.nm)(t,o.tw.CONTEXT_MENU,e=>{0===e.button&&!0===e.ctrlKey&&this.onClick(e)})),this._register((0,o.nm)(t,o.tw.CLICK,e=>{o.zB.stop(e,!0),this.options&&this.options.isMenu||this.onClick(e)})),this._register((0,o.nm)(t,o.tw.DBLCLICK,e=>{o.zB.stop(e,!0)})),[o.tw.MOUSE_UP,o.tw.MOUSE_OUT].forEach(e=>{this._register((0,o.nm)(t,e,e=>{o.zB.stop(e),t.classList.remove("active")}))})}onClick(e,t=!1){var i;o.zB.stop(e,!0);let n=x.Jp(this._context)?(null===(i=this.options)||void 0===i?void 0:i.useEventAsContext)?e:{preserveFocus:t}:this._context;this.actionRunner.run(this._action,n)}focus(){this.element&&(this.element.tabIndex=0,this.element.focus(),this.element.classList.add("focused"))}blur(){this.element&&(this.element.blur(),this.element.tabIndex=-1,this.element.classList.remove("focused"))}setFocusable(e){this.element&&(this.element.tabIndex=e?0:-1)}get trapsArrowNavigation(){return!1}updateEnabled(){}updateLabel(){}getClass(){return this.action.class}getTooltip(){return this.action.tooltip}updateTooltip(){var e,t,i;if(!this.element)return;let n=null!==(e=this.getTooltip())&&void 0!==e?e:"";if(this.updateAriaLabel(),null===(t=this.options.hoverDelegate)||void 0===t?void 0:t.showNativeHover)this.element.title=n;else if(this.customHover||""===n)this.customHover&&this.customHover.update(n);else{let e=null!==(i=this.options.hoverDelegate)&&void 0!==i?i:(0,l.tM)("element");this.customHover=this._store.add((0,u.B)().setupUpdatableHover(e,this.element,n))}}updateAriaLabel(){var e;if(this.element){let t=null!==(e=this.getTooltip())&&void 0!==e?e:"";this.element.setAttribute("aria-label",t)}}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),this._context=void 0,super.dispose()}}class E extends N{constructor(e,t,i){super(e,t,i),this.options=i,this.options.icon=void 0!==i.icon&&i.icon,this.options.label=void 0===i.label||i.label,this.cssClass=""}render(e){super.render(e),x.p_(this.element);let t=document.createElement("a");if(t.classList.add("action-label"),t.setAttribute("role",this.getDefaultAriaRole()),this.label=t,this.element.appendChild(t),this.options.label&&this.options.keybinding){let e=document.createElement("span");e.classList.add("keybinding"),e.textContent=this.options.keybinding,this.element.appendChild(e)}this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}getDefaultAriaRole(){return this._action.id===D.Z0.ID?"presentation":this.options.isMenu?"menuitem":"button"}focus(){this.label&&(this.label.tabIndex=0,this.label.focus())}blur(){this.label&&(this.label.tabIndex=-1)}setFocusable(e){this.label&&(this.label.tabIndex=e?0:-1)}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.action.label)}getTooltip(){let e=null;return this.action.tooltip?e=this.action.tooltip:!this.options.label&&this.action.label&&this.options.icon&&(e=this.action.label,this.options.keybinding&&(e=v.NC({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),null!=e?e:void 0}updateClass(){var e;this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(" ")),this.options.icon?(this.cssClass=this.getClass(),this.label&&(this.label.classList.add("codicon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" "))),this.updateEnabled()):null===(e=this.label)||void 0===e||e.classList.remove("codicon")}updateEnabled(){var e,t;this.action.enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),this.label.classList.remove("disabled")),null===(e=this.element)||void 0===e||e.classList.remove("disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),this.label.classList.add("disabled")),null===(t=this.element)||void 0===t||t.classList.add("disabled"))}updateAriaLabel(){var e;if(this.label){let t=null!==(e=this.getTooltip())&&void 0!==e?e:"";this.label.setAttribute("aria-label",t)}}updateChecked(){this.label&&(void 0!==this.action.checked?(this.label.classList.toggle("checked",this.action.checked),this.label.setAttribute("aria-checked",this.action.checked?"true":"false"),this.label.setAttribute("role","checkbox")):(this.label.classList.remove("checked"),this.label.removeAttribute("aria-checked"),this.label.setAttribute("role",this.getDefaultAriaRole())))}}class I extends N{constructor(e,t,i,n,s,o,r){super(e,t),this.selectBox=new k(i,n,s,o,r),this.selectBox.setFocusable(!1),this._register(this.selectBox),this.registerListeners()}select(e){this.selectBox.select(e)}registerListeners(){this._register(this.selectBox.onDidSelect(e=>this.runAction(e.selected,e.index)))}runAction(e,t){this.actionRunner.run(this._action,this.getActionContext(e,t))}getActionContext(e,t){return e}setFocusable(e){this.selectBox.setFocusable(e)}focus(){var e;null===(e=this.selectBox)||void 0===e||e.focus()}blur(){var e;null===(e=this.selectBox)||void 0===e||e.blur()}render(e){this.selectBox.render(e)}}},21489:function(e,t,i){"use strict";i.d(t,{o:function(){return u}});var n=i(81845),s=i(69629),o=i(13546),r=i(82905),l=i(76886),a=i(79915),d=i(70784),h=i(24162);i(24816);class u extends d.JT{constructor(e,t={}){var i,h,u,c,g,p,m;let f,_;switch(super(),this._actionRunnerDisposables=this._register(new d.SL),this.viewItemDisposables=this._register(new d.b2),this.triggerKeyDown=!1,this.focusable=!0,this._onDidBlur=this._register(new a.Q5),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new a.Q5({onWillAddFirstListener:()=>this.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new a.Q5),this.onDidRun=this._onDidRun.event,this._onWillRun=this._register(new a.Q5),this.onWillRun=this._onWillRun.event,this.options=t,this._context=null!==(i=t.context)&&void 0!==i?i:null,this._orientation=null!==(h=this.options.orientation)&&void 0!==h?h:0,this._triggerKeys={keyDown:null!==(c=null===(u=this.options.triggerKeys)||void 0===u?void 0:u.keyDown)&&void 0!==c&&c,keys:null!==(p=null===(g=this.options.triggerKeys)||void 0===g?void 0:g.keys)&&void 0!==p?p:[3,10]},this._hoverDelegate=null!==(m=t.hoverDelegate)&&void 0!==m?m:this._register((0,r.p0)()),this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new l.Wi,this._actionRunnerDisposables.add(this._actionRunner)),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(e=>this._onDidRun.fire(e))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(e=>this._onWillRun.fire(e))),this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",this._orientation){case 0:f=[15],_=[17];break;case 1:f=[16],_=[18],this.domNode.className+=" vertical"}this._register(n.nm(this.domNode,n.tw.KEY_DOWN,e=>{let t=new s.y(e),i=!0,n="number"==typeof this.focusedItem?this.viewItems[this.focusedItem]:void 0;f&&(t.equals(f[0])||t.equals(f[1]))?i=this.focusPrevious():_&&(t.equals(_[0])||t.equals(_[1]))?i=this.focusNext():t.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():t.equals(14)?i=this.focusFirst():t.equals(13)?i=this.focusLast():t.equals(2)&&n instanceof o.YH&&n.trapsArrowNavigation?i=this.focusNext():this.isTriggerKeyEvent(t)?this._triggerKeys.keyDown?this.doTrigger(t):this.triggerKeyDown=!0:i=!1,i&&(t.preventDefault(),t.stopPropagation())})),this._register(n.nm(this.domNode,n.tw.KEY_UP,e=>{let t=new s.y(e);this.isTriggerKeyEvent(t)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(t)),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026)||t.equals(16)||t.equals(18)||t.equals(15)||t.equals(17))&&this.updateFocusedItem()})),this.focusTracker=this._register(n.go(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{n.vY()!==this.domNode&&n.jg(n.vY(),this.domNode)||(this._onDidBlur.fire(),this.previouslyFocusedItem=this.focusedItem,this.focusedItem=void 0,this.triggerKeyDown=!1)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.options.highlightToggledItems&&this.actionsList.classList.add("highlight-toggled"),this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),e.appendChild(this.domNode)}refreshRole(){this.length()>=1?this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"):this.actionsList.setAttribute("role","presentation")}setFocusable(e){if(this.focusable=e,this.focusable){let e=this.viewItems.find(e=>e instanceof o.YH&&e.isEnabled());e instanceof o.YH&&e.setFocusable(!0)}else this.viewItems.forEach(e=>{e instanceof o.YH&&e.setFocusable(!1)})}isTriggerKeyEvent(e){let t=!1;return this._triggerKeys.keys.forEach(i=>{t=t||e.equals(i)}),t}updateFocusedItem(){var e,t;for(let i=0;it.setActionContext(e))}get actionRunner(){return this._actionRunner}set actionRunner(e){this._actionRunner=e,this._actionRunnerDisposables.clear(),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(e=>this._onDidRun.fire(e))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(e=>this._onWillRun.fire(e))),this.viewItems.forEach(t=>t.actionRunner=e)}getContainer(){return this.domNode}getAction(e){var t;if("number"==typeof e)return null===(t=this.viewItems[e])||void 0===t?void 0:t.action;if(n.Re(e)){for(;e.parentElement!==this.actionsList;){if(!e.parentElement)return;e=e.parentElement}for(let t=0;t{let i;let r=document.createElement("li");r.className="action-item",r.setAttribute("role","presentation");let l={hoverDelegate:this._hoverDelegate,...t};this.options.actionViewItemProvider&&(i=this.options.actionViewItemProvider(e,l)),i||(i=new o.gU(this.context,e,l)),this.options.allowContextMenu||this.viewItemDisposables.set(i,n.nm(r,n.tw.CONTEXT_MENU,e=>{n.zB.stop(e,!0)})),i.actionRunner=this._actionRunner,i.setActionContext(this.context),i.render(r),this.focusable&&i instanceof o.YH&&0===this.viewItems.length&&i.setFocusable(!0),null===s||s<0||s>=this.actionsList.children.length?(this.actionsList.appendChild(r),this.viewItems.push(i)):(this.actionsList.insertBefore(r,this.actionsList.children[s]),this.viewItems.splice(s,0,i),s++)}),"number"==typeof this.focusedItem&&this.focus(this.focusedItem),this.refreshRole()}clear(){this.isEmpty()||(this.viewItems=(0,d.B9)(this.viewItems),this.viewItemDisposables.clearAndDisposeAll(),n.PO(this.actionsList),this.refreshRole())}length(){return this.viewItems.length}isEmpty(){return 0===this.viewItems.length}focus(e){let t,i=!1;if(void 0===e?i=!0:"number"==typeof e?t=e:"boolean"==typeof e&&(i=e),i&&void 0===this.focusedItem){let e=this.viewItems.findIndex(e=>e.isEnabled());this.focusedItem=-1===e?void 0:e,this.updateFocus(void 0,void 0,!0)}else void 0!==t&&(this.focusedItem=t),this.updateFocus(void 0,void 0,!0)}focusFirst(){return this.focusedItem=this.length()-1,this.focusNext(!0)}focusLast(){return this.focusedItem=0,this.focusPrevious(!0)}focusNext(e){let t;if(void 0===this.focusedItem)this.focusedItem=this.viewItems.length-1;else if(this.viewItems.length<=1)return!1;let i=this.focusedItem;do{if(!e&&this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=i,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,t=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!t.isEnabled()||t.action.id===l.Z0.ID));return this.updateFocus(),!0}focusPrevious(e){let t;if(void 0===this.focusedItem)this.focusedItem=0;else if(this.viewItems.length<=1)return!1;let i=this.focusedItem;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(!e&&this.options.preventLoopNavigation)return this.focusedItem=i,!1;this.focusedItem=this.viewItems.length-1}t=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!t.isEnabled()||t.action.id===l.Z0.ID));return this.updateFocus(!0),!0}updateFocus(e,t,i=!1){var n,s;void 0===this.focusedItem&&this.actionsList.focus({preventScroll:t}),void 0!==this.previouslyFocusedItem&&this.previouslyFocusedItem!==this.focusedItem&&(null===(n=this.viewItems[this.previouslyFocusedItem])||void 0===n||n.blur());let o=void 0!==this.focusedItem?this.viewItems[this.focusedItem]:void 0;if(o){let n=!0;h.mf(o.focus)||(n=!1),this.options.focusOnlyEnabledItems&&h.mf(o.isEnabled)&&!o.isEnabled()&&(n=!1),o.action.id===l.Z0.ID&&(n=!1),n?(i||this.previouslyFocusedItem!==this.focusedItem)&&(o.focus(e),this.previouslyFocusedItem=this.focusedItem):(this.actionsList.focus({preventScroll:t}),this.previouslyFocusedItem=void 0),n&&(null===(s=o.showHover)||void 0===s||s.call(o))}}doTrigger(e){if(void 0===this.focusedItem)return;let t=this.viewItems[this.focusedItem];if(t instanceof o.YH){let i=null===t._context||void 0===t._context?e:t._context;this.run(t._action,i)}}async run(e,t){await this._actionRunner.run(e,t)}dispose(){this._context=void 0,this.viewItems=(0,d.B9)(this.viewItems),this.getContainer().remove(),super.dispose()}}},16506:function(e,t,i){"use strict";let n,s,o,r,l;i.d(t,{Z9:function(){return h},i7:function(){return u},wW:function(){return d}});var a=i(81845);function d(e){(n=document.createElement("div")).className="monaco-aria-container";let t=()=>{let e=document.createElement("div");return e.className="monaco-alert",e.setAttribute("role","alert"),e.setAttribute("aria-atomic","true"),n.appendChild(e),e};s=t(),o=t();let i=()=>{let e=document.createElement("div");return e.className="monaco-status",e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),n.appendChild(e),e};r=i(),l=i(),e.appendChild(n)}function h(e){n&&(s.textContent!==e?(a.PO(o),c(s,e)):(a.PO(s),c(o,e)))}function u(e){n&&(r.textContent!==e?(a.PO(l),c(r,e)):(a.PO(r),c(l,e)))}function c(e,t){a.PO(e),t.length>2e4&&(t=t.substr(0,2e4)),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}i(38828)},10652:function(e,t,i){"use strict";i.d(t,{z:function(){return f}});var n=i(81845),s=i(91064),o=i(69629),r=i(7802),l=i(598),a=i(82905),d=i(29475),h=i(76515),u=i(79915),c=i(42891),g=i(70784),p=i(29527);i(89294);var m=i(85432);h.Il.white.toString(),h.Il.white.toString();class f extends g.JT{get onDidClick(){return this._onDidClick.event}constructor(e,t){super(),this._label="",this._onDidClick=this._register(new u.Q5),this._onDidEscape=this._register(new u.Q5),this.options=t,this._element=document.createElement("a"),this._element.classList.add("monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),this._element.classList.toggle("secondary",!!t.secondary);let i=t.secondary?t.buttonSecondaryBackground:t.buttonBackground,s=t.secondary?t.buttonSecondaryForeground:t.buttonForeground;this._element.style.color=s||"",this._element.style.backgroundColor=i||"",t.supportShortLabel&&(this._labelShortElement=document.createElement("div"),this._labelShortElement.classList.add("monaco-button-label-short"),this._element.appendChild(this._labelShortElement),this._labelElement=document.createElement("div"),this._labelElement.classList.add("monaco-button-label"),this._element.appendChild(this._labelElement),this._element.classList.add("monaco-text-button-with-short-label")),"string"==typeof t.title&&this.setTitle(t.title),"string"==typeof t.ariaLabel&&this._element.setAttribute("aria-label",t.ariaLabel),e.appendChild(this._element),this._register(l.o.addTarget(this._element)),[n.tw.CLICK,l.t.Tap].forEach(e=>{this._register((0,n.nm)(this._element,e,e=>{if(!this.enabled){n.zB.stop(e);return}this._onDidClick.fire(e)}))}),this._register((0,n.nm)(this._element,n.tw.KEY_DOWN,e=>{let t=new o.y(e),i=!1;this.enabled&&(t.equals(3)||t.equals(10))?(this._onDidClick.fire(e),i=!0):t.equals(9)&&(this._onDidEscape.fire(e),this._element.blur(),i=!0),i&&n.zB.stop(t,!0)})),this._register((0,n.nm)(this._element,n.tw.MOUSE_OVER,e=>{this._element.classList.contains("disabled")||this.updateBackground(!0)})),this._register((0,n.nm)(this._element,n.tw.MOUSE_OUT,e=>{this.updateBackground(!1)})),this.focusTracker=this._register((0,n.go)(this._element)),this._register(this.focusTracker.onDidFocus(()=>{this.enabled&&this.updateBackground(!0)})),this._register(this.focusTracker.onDidBlur(()=>{this.enabled&&this.updateBackground(!1)}))}dispose(){super.dispose(),this._element.remove()}getContentElements(e){let t=[];for(let i of(0,d.T)(e))if("string"==typeof i){if(""===(i=i.trim()))continue;let e=document.createElement("span");e.textContent=i,t.push(e)}else t.push(i);return t}updateBackground(e){let t;(t=this.options.secondary?e?this.options.buttonSecondaryHoverBackground:this.options.buttonSecondaryBackground:e?this.options.buttonHoverBackground:this.options.buttonBackground)&&(this._element.style.backgroundColor=t)}get element(){return this._element}set label(e){var t;if(this._label===e||(0,c.Fr)(this._label)&&(0,c.Fr)(e)&&(0,c.g_)(this._label,e))return;this._element.classList.add("monaco-text-button");let i=this.options.supportShortLabel?this._labelElement:this._element;if((0,c.Fr)(e)){let o=(0,r.ap)(e,{inline:!0});o.dispose();let l=null===(t=o.element.querySelector("p"))||void 0===t?void 0:t.innerHTML;if(l){let e=(0,s.Nw)(l,{ADD_TAGS:["b","i","u","code","span"],ALLOWED_ATTR:["class"],RETURN_TRUSTED_TYPE:!0});i.innerHTML=e}else(0,n.mc)(i)}else this.options.supportIcons?(0,n.mc)(i,...this.getContentElements(e)):i.textContent=e;let o="";"string"==typeof this.options.title?o=this.options.title:this.options.title&&(o=(0,r.et)(e)),this.setTitle(o),"string"==typeof this.options.ariaLabel?this._element.setAttribute("aria-label",this.options.ariaLabel):this.options.ariaLabel&&this._element.setAttribute("aria-label",o),this._label=e}get label(){return this._label}set icon(e){this._element.classList.add(...p.k.asClassNameArray(e))}set enabled(e){e?(this._element.classList.remove("disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(this._element.classList.add("disabled"),this._element.setAttribute("aria-disabled",String(!0)))}get enabled(){return!this._element.classList.contains("disabled")}setTitle(e){var t;this._hover||""===e?this._hover&&this._hover.update(e):this._hover=this._register((0,m.B)().setupUpdatableHover(null!==(t=this.options.hoverDelegate)&&void 0!==t?t:(0,a.tM)("mouse"),this._element,e))}}},14910:function(e,t,i){"use strict";i(99548),i(54956)},40288:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var n=i(81845),s=i(95612);i(2983);class o{constructor(e,t,i){this.options=t,this.styles=i,this.count=0,this.element=(0,n.R3)(e,(0,n.$)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(e){this.count=e,this.render()}setTitleFormat(e){this.titleFormat=e,this.render()}render(){var e,t;this.element.textContent=(0,s.WU)(this.countFormat,this.count),this.element.title=(0,s.WU)(this.titleFormat,this.count),this.element.style.backgroundColor=null!==(e=this.styles.badgeBackground)&&void 0!==e?e:"",this.element.style.color=null!==(t=this.styles.badgeForeground)&&void 0!==t?t:"",this.styles.badgeBorder&&(this.element.style.border=`1px solid ${this.styles.badgeBorder}`)}}},30496:function(e,t,i){"use strict";i.d(t,{C:function(){return g}});var n=i(81845),s=i(13546),o=i(69629),r=i(598),l=i(76886),a=i(79915);i(25523);class d extends l.Wi{constructor(e,t){super(),this._onDidChangeVisibility=this._register(new a.Q5),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=(0,n.R3)(e,(0,n.$)(".monaco-dropdown")),this._label=(0,n.R3)(this._element,(0,n.$)(".dropdown-label"));let i=t.labelRenderer;for(let e of(i||(i=e=>(e.textContent=t.label||"",null)),[n.tw.CLICK,n.tw.MOUSE_DOWN,r.t.Tap]))this._register((0,n.nm)(this.element,e,e=>n.zB.stop(e,!0)));for(let e of[n.tw.MOUSE_DOWN,r.t.Tap])this._register((0,n.nm)(this._label,e,e=>{(0,n.N5)(e)&&(e.detail>1||0!==e.button)||(this.visible?this.hide():this.show())}));this._register((0,n.nm)(this._label,n.tw.KEY_UP,e=>{let t=new o.y(e);(t.equals(3)||t.equals(10))&&(n.zB.stop(e,!0),this.visible?this.hide():this.show())}));let s=i(this._label);s&&this._register(s),this._register(r.o.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class h extends d{constructor(e,t){super(e,t),this._options=t,this._actions=[],this.actions=t.actions||[]}set menuOptions(e){this._menuOptions=e}get menuOptions(){return this._menuOptions}get actions(){return this._options.actionProvider?this._options.actionProvider.getActions():this._actions}set actions(e){this._actions=e}show(){super.show(),this.element.classList.add("active"),this._options.contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:(e,t)=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(e,t):void 0,getKeyBinding:e=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(e):void 0,getMenuClassName:()=>this._options.menuClassName||"",onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this._options.menuAsChild?this.element:void 0,skipTelemetry:this._options.skipTelemetry})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove("active")}}var u=i(82905),c=i(85432);class g extends s.YH{constructor(e,t,i,n=Object.create(null)){super(null,e,n),this.actionItem=null,this._onDidChangeVisibility=this._register(new a.Q5),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this.menuActionsOrProvider=t,this.contextMenuProvider=i,this.options=n,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(e){this.actionItem=e;let t=Array.isArray(this.menuActionsOrProvider),i={contextMenuProvider:this.contextMenuProvider,labelRenderer:e=>{var t;this.element=(0,n.R3)(e,(0,n.$)("a.action-label"));let i=[];return"string"==typeof this.options.classNames?i=this.options.classNames.split(/\s+/g).filter(e=>!!e):this.options.classNames&&(i=this.options.classNames),i.find(e=>"icon"===e)||i.push("codicon"),this.element.classList.add(...i),this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this._action.label&&this._register((0,c.B)().setupUpdatableHover(null!==(t=this.options.hoverDelegate)&&void 0!==t?t:(0,u.tM)("mouse"),this.element,this._action.label)),this.element.ariaLabel=this._action.label||"",null},menuAsChild:this.options.menuAsChild,actions:t?this.menuActionsOrProvider:void 0,actionProvider:t?void 0:this.menuActionsOrProvider,skipTelemetry:this.options.skipTelemetry};if(this.dropdownMenu=this._register(new h(e,i)),this._register(this.dropdownMenu.onDidChangeVisibility(e=>{var t;null===(t=this.element)||void 0===t||t.setAttribute("aria-expanded",`${e}`),this._onDidChangeVisibility.fire(e)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){let e=this;this.dropdownMenu.menuOptions={...this.dropdownMenu.menuOptions,get anchorAlignment(){return e.options.anchorAlignmentProvider()}}}this.updateTooltip(),this.updateEnabled()}getTooltip(){let e=null;return this.action.tooltip?e=this.action.tooltip:this.action.label&&(e=this.action.label),null!=e?e:void 0}setActionContext(e){super.setActionContext(e),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=e:this.dropdownMenu.menuOptions={context:e})}show(){var e;null===(e=this.dropdownMenu)||void 0===e||e.show()}updateEnabled(){var e,t;let i=!this.action.enabled;null===(e=this.actionItem)||void 0===e||e.classList.toggle("disabled",i),null===(t=this.element)||void 0===t||t.classList.toggle("disabled",i)}}},49544:function(e,t,i){"use strict";i.d(t,{V:function(){return c}});var n=i(81845),s=i(31110),o=i(37690),r=i(66067),l=i(79915);i(9239);var a=i(82801),d=i(70784),h=i(82905);let u=a.NC("defaultLabel","input");class c extends r.${constructor(e,t,i){super(),this.fixFocusOnOptionClickEnabled=!0,this.imeSessionInProgress=!1,this.additionalTogglesDisposables=this._register(new d.XK),this.additionalToggles=[],this._onDidOptionChange=this._register(new l.Q5),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new l.Q5),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new l.Q5),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new l.Q5),this._onKeyUp=this._register(new l.Q5),this._onCaseSensitiveKeyDown=this._register(new l.Q5),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new l.Q5),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.placeholder=i.placeholder||"",this.validation=i.validation,this.label=i.label||u,this.showCommonFindToggles=!!i.showCommonFindToggles;let r=i.appendCaseSensitiveLabel||"",a=i.appendWholeWordsLabel||"",c=i.appendRegexLabel||"",g=i.history||[],p=!!i.flexibleHeight,m=!!i.flexibleWidth,f=i.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new o.pG(this.domNode,t,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},history:g,showHistoryHint:i.showHistoryHint,flexibleHeight:p,flexibleWidth:m,flexibleMaxHeight:f,inputBoxStyles:i.inputBoxStyles}));let _=this._register((0,h.p0)());if(this.showCommonFindToggles){this.regex=this._register(new s.eH({appendTitle:c,isChecked:!1,hoverDelegate:_,...i.toggleStyles})),this._register(this.regex.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(e=>{this._onRegexKeyDown.fire(e)})),this.wholeWords=this._register(new s.Qx({appendTitle:a,isChecked:!1,hoverDelegate:_,...i.toggleStyles})),this._register(this.wholeWords.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new s.rk({appendTitle:r,isChecked:!1,hoverDelegate:_,...i.toggleStyles})),this._register(this.caseSensitive.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(e=>{this._onCaseSensitiveKeyDown.fire(e)}));let e=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,t=>{if(t.equals(15)||t.equals(17)||t.equals(9)){let i=e.indexOf(this.domNode.ownerDocument.activeElement);if(i>=0){let s=-1;t.equals(17)?s=(i+1)%e.length:t.equals(15)&&(s=0===i?e.length-1:i-1),t.equals(9)?(e[i].blur(),this.inputBox.focus()):s>=0&&e[s].focus(),n.zB.stop(t,!0)}}})}this.controls=document.createElement("div"),this.controls.className="controls",this.controls.style.display=this.showCommonFindToggles?"":"none",this.caseSensitive&&this.controls.append(this.caseSensitive.domNode),this.wholeWords&&this.controls.appendChild(this.wholeWords.domNode),this.regex&&this.controls.appendChild(this.regex.domNode),this.setAdditionalToggles(null==i?void 0:i.additionalToggles),this.controls&&this.domNode.appendChild(this.controls),null==e||e.appendChild(this.domNode),this._register(n.nm(this.inputBox.inputElement,"compositionstart",e=>{this.imeSessionInProgress=!0})),this._register(n.nm(this.inputBox.inputElement,"compositionend",e=>{this.imeSessionInProgress=!1,this._onInput.fire()})),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}get onDidChange(){return this.inputBox.onDidChange}layout(e){this.inputBox.layout(),this.updateInputBoxPadding(e.collapsedFindWidget)}enable(){var e,t,i;for(let n of(this.domNode.classList.remove("disabled"),this.inputBox.enable(),null===(e=this.regex)||void 0===e||e.enable(),null===(t=this.wholeWords)||void 0===t||t.enable(),null===(i=this.caseSensitive)||void 0===i||i.enable(),this.additionalToggles))n.enable()}disable(){var e,t,i;for(let n of(this.domNode.classList.add("disabled"),this.inputBox.disable(),null===(e=this.regex)||void 0===e||e.disable(),null===(t=this.wholeWords)||void 0===t||t.disable(),null===(i=this.caseSensitive)||void 0===i||i.disable(),this.additionalToggles))n.disable()}setFocusInputOnOptionClick(e){this.fixFocusOnOptionClickEnabled=e}setEnabled(e){e?this.enable():this.disable()}setAdditionalToggles(e){for(let e of this.additionalToggles)e.domNode.remove();for(let t of(this.additionalToggles=[],this.additionalTogglesDisposables.value=new d.SL,null!=e?e:[]))this.additionalTogglesDisposables.value.add(t),this.controls.appendChild(t.domNode),this.additionalTogglesDisposables.value.add(t.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus()})),this.additionalToggles.push(t);this.additionalToggles.length>0&&(this.controls.style.display=""),this.updateInputBoxPadding()}updateInputBoxPadding(e=!1){var t,i,n,s,o,r;e?this.inputBox.paddingRight=0:this.inputBox.paddingRight=(null!==(i=null===(t=this.caseSensitive)||void 0===t?void 0:t.width())&&void 0!==i?i:0)+(null!==(s=null===(n=this.wholeWords)||void 0===n?void 0:n.width())&&void 0!==s?s:0)+(null!==(r=null===(o=this.regex)||void 0===o?void 0:o.width())&&void 0!==r?r:0)+this.additionalToggles.reduce((e,t)=>e+t.width(),0)}getValue(){return this.inputBox.value}setValue(e){this.inputBox.value!==e&&(this.inputBox.value=e)}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){var e,t;return null!==(t=null===(e=this.caseSensitive)||void 0===e?void 0:e.checked)&&void 0!==t&&t}setCaseSensitive(e){this.caseSensitive&&(this.caseSensitive.checked=e)}getWholeWords(){var e,t;return null!==(t=null===(e=this.wholeWords)||void 0===e?void 0:e.checked)&&void 0!==t&&t}setWholeWords(e){this.wholeWords&&(this.wholeWords.checked=e)}getRegex(){var e,t;return null!==(t=null===(e=this.regex)||void 0===e?void 0:e.checked)&&void 0!==t&&t}setRegex(e){this.regex&&(this.regex.checked=e,this.validate())}focusOnCaseSensitive(){var e;null===(e=this.caseSensitive)||void 0===e||e.focus()}highlightFindOptions(){this.domNode.classList.remove("highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,this.domNode.classList.add("highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}showMessage(e){this.inputBox.showMessage(e)}clearMessage(){this.inputBox.hideMessage()}}},31110:function(e,t,i){"use strict";i.d(t,{Qx:function(){return u},eH:function(){return c},rk:function(){return h}});var n=i(82905),s=i(74571),o=i(47039),r=i(82801);let l=r.NC("caseDescription","Match Case"),a=r.NC("wordsDescription","Match Whole Word"),d=r.NC("regexDescription","Use Regular Expression");class h extends s.Z{constructor(e){var t;super({icon:o.l.caseSensitive,title:l+e.appendTitle,isChecked:e.isChecked,hoverDelegate:null!==(t=e.hoverDelegate)&&void 0!==t?t:(0,n.tM)("element"),inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class u extends s.Z{constructor(e){var t;super({icon:o.l.wholeWord,title:a+e.appendTitle,isChecked:e.isChecked,hoverDelegate:null!==(t=e.hoverDelegate)&&void 0!==t?t:(0,n.tM)("element"),inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class c extends s.Z{constructor(e){var t;super({icon:o.l.regex,title:d+e.appendTitle,isChecked:e.isChecked,hoverDelegate:null!==(t=e.hoverDelegate)&&void 0!==t?t:(0,n.tM)("element"),inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}},19912:function(e,t,i){"use strict";i.d(t,{q:function(){return d}});var n=i(81845),s=i(85432),o=i(82905),r=i(29475),l=i(70784),a=i(16783);class d extends l.JT{constructor(e,t){var i;super(),this.options=t,this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.supportIcons=null!==(i=null==t?void 0:t.supportIcons)&&void 0!==i&&i,this.domNode=n.R3(e,n.$("span.monaco-highlighted-label"))}get element(){return this.domNode}set(e,t=[],i="",n){e||(e=""),n&&(e=d.escapeNewLines(e,t)),this.didEverRender&&this.text===e&&this.title===i&&a.fS(this.highlights,t)||(this.text=e,this.title=i,this.highlights=t,this.render())}render(){var e,t,i,l;let a=[],d=0;for(let e of this.highlights){if(e.end===e.start)continue;if(d{for(let o of(n="\r\n"===e?-1:0,s+=i,t))!(o.end<=s)&&(o.start>=s&&(o.start+=n),o.end>=s&&(o.end+=n));return i+=n,"⏎"})}}},85432:function(e,t,i){"use strict";i.d(t,{B:function(){return o},r:function(){return s}});let n={showHover:()=>void 0,hideHover:()=>void 0,showAndFocusLastHover:()=>void 0,setupUpdatableHover:()=>null,triggerUpdatableHover:()=>void 0};function s(e){n=e}function o(){return n}},82905:function(e,t,i){"use strict";i.d(t,{p0:function(){return d},rM:function(){return l},tM:function(){return a}});var n=i(68126);let s=()=>({get delay(){return -1},dispose:()=>{},showHover:()=>{}}),o=new n.o(()=>s("mouse",!1)),r=new n.o(()=>s("element",!1));function l(e){s=e}function a(e){return"element"===e?r.value:o.value}function d(){return s("element",!0)}},38862:function(e,t,i){"use strict";i.d(t,{R0:function(){return c},Sr:function(){return h},c8:function(){return d},rb:function(){return g},uX:function(){return u}});var n=i(81845),s=i(69629),o=i(49524),r=i(70784);i(51673);var l=i(82801);let a=n.$;class d extends r.JT{constructor(){super(),this.containerDomNode=document.createElement("div"),this.containerDomNode.className="monaco-hover",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute("role","tooltip"),this.contentsDomNode=document.createElement("div"),this.contentsDomNode.className="monaco-hover-content",this.scrollbar=this._register(new o.s$(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this.scrollbar.getDomNode())}onContentsChanged(){this.scrollbar.scanDomNode()}}class h extends r.JT{static render(e,t,i){return new h(e,t,i)}constructor(e,t,i){super(),this.actionContainer=n.R3(e,a("div.action-container")),this.actionContainer.setAttribute("tabindex","0"),this.action=n.R3(this.actionContainer,a("a.action")),this.action.setAttribute("role","button"),t.iconClass&&n.R3(this.action,a(`span.icon.${t.iconClass}`));let s=n.R3(this.action,a("span"));s.textContent=i?`${t.label} (${i})`:t.label,this._store.add(new c(this.actionContainer,t.run)),this._store.add(new g(this.actionContainer,t.run,[3,10])),this.setEnabled(!0)}setEnabled(e){e?(this.actionContainer.classList.remove("disabled"),this.actionContainer.removeAttribute("aria-disabled")):(this.actionContainer.classList.add("disabled"),this.actionContainer.setAttribute("aria-disabled","true"))}}function u(e,t){return e&&t?(0,l.NC)("acessibleViewHint","Inspect this in the accessible view with {0}.",t):e?(0,l.NC)("acessibleViewHintNoKbOpen","Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding."):""}class c extends r.JT{constructor(e,t){super(),this._register(n.nm(e,n.tw.CLICK,i=>{i.stopPropagation(),i.preventDefault(),t(e)}))}}class g extends r.JT{constructor(e,t,i){super(),this._register(n.nm(e,n.tw.KEY_DOWN,n=>{let o=new s.y(n);i.some(e=>o.equals(e))&&(n.stopPropagation(),n.preventDefault(),t(e))}))}}},40314:function(e,t,i){"use strict";i.d(t,{g:function(){return g}}),i(58879);var n=i(81845),s=i(19912),o=i(70784),r=i(16783),l=i(50798),a=i(82905),d=i(85432),h=i(24162),u=i(25625);class c{constructor(e){this._element=e}get element(){return this._element}set textContent(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)}set className(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)}set empty(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":"")}dispose(){this.disposed=!0}}class g extends o.JT{constructor(e,t){var i;super(),this.customHovers=new Map,this.creationOptions=t,this.domNode=this._register(new c(n.R3(e,n.$(".monaco-icon-label")))),this.labelContainer=n.R3(this.domNode.element,n.$(".monaco-icon-label-container")),this.nameContainer=n.R3(this.labelContainer,n.$("span.monaco-icon-name-container")),(null==t?void 0:t.supportHighlights)||(null==t?void 0:t.supportIcons)?this.nameNode=this._register(new m(this.nameContainer,!!t.supportIcons)):this.nameNode=new p(this.nameContainer),this.hoverDelegate=null!==(i=null==t?void 0:t.hoverDelegate)&&void 0!==i?i:(0,a.tM)("mouse")}get element(){return this.domNode.element}setLabel(e,t,i){var o;let r=["monaco-icon-label"],l=["monaco-icon-label-container"],a="";i&&(i.extraClasses&&r.push(...i.extraClasses),i.italic&&r.push("italic"),i.strikethrough&&r.push("strikethrough"),i.disabledCommand&&l.push("disabled"),i.title&&("string"==typeof i.title?a+=i.title:a+=e));let d=this.domNode.element.querySelector(".monaco-icon-label-iconpath");if(null==i?void 0:i.iconPath){let e;d&&n.Re(d)?e=d:(e=n.$(".monaco-icon-label-iconpath"),this.domNode.element.prepend(e)),e.style.backgroundImage=n.wY(null==i?void 0:i.iconPath)}else d&&d.remove();if(this.domNode.className=r.join(" "),this.domNode.element.setAttribute("aria-label",a),this.labelContainer.className=l.join(" "),this.setupHover((null==i?void 0:i.descriptionTitle)?this.labelContainer:this.element,null==i?void 0:i.title),this.nameNode.setLabel(e,i),t||this.descriptionNode){let e=this.getOrCreateDescriptionNode();e instanceof s.q?(e.set(t||"",i?i.descriptionMatches:void 0,void 0,null==i?void 0:i.labelEscapeNewLines),this.setupHover(e.element,null==i?void 0:i.descriptionTitle)):(e.textContent=t&&(null==i?void 0:i.labelEscapeNewLines)?s.q.escapeNewLines(t,[]):t||"",this.setupHover(e.element,(null==i?void 0:i.descriptionTitle)||""),e.empty=!t)}if((null==i?void 0:i.suffix)||this.suffixNode){let e=this.getOrCreateSuffixNode();e.textContent=null!==(o=null==i?void 0:i.suffix)&&void 0!==o?o:""}}setupHover(e,t){let i=this.customHovers.get(e);if(i&&(i.dispose(),this.customHovers.delete(e)),!t){e.removeAttribute("title");return}if(this.hoverDelegate.showNativeHover)(0,h.HD)(t)?e.title=(0,u.x$)(t):(null==t?void 0:t.markdownNotSupportedFallback)?e.title=t.markdownNotSupportedFallback:e.removeAttribute("title");else{let i=(0,d.B)().setupUpdatableHover(this.hoverDelegate,e,t);i&&this.customHovers.set(e,i)}}dispose(){for(let e of(super.dispose(),this.customHovers.values()))e.dispose();this.customHovers.clear()}getOrCreateSuffixNode(){if(!this.suffixNode){let e=this._register(new c(n.e4(this.nameContainer,n.$("span.monaco-icon-suffix-container"))));this.suffixNode=this._register(new c(n.R3(e.element,n.$("span.label-suffix"))))}return this.suffixNode}getOrCreateDescriptionNode(){var e;if(!this.descriptionNode){let t=this._register(new c(n.R3(this.labelContainer,n.$("span.monaco-icon-description-container"))));(null===(e=this.creationOptions)||void 0===e?void 0:e.supportDescriptionHighlights)?this.descriptionNode=this._register(new s.q(n.R3(t.element,n.$("span.label-description")),{supportIcons:!!this.creationOptions.supportIcons})):this.descriptionNode=this._register(new c(n.R3(t.element,n.$("span.label-description"))))}return this.descriptionNode}}class p{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(!(this.label===e&&(0,r.fS)(this.options,t))){if(this.label=e,this.options=t,"string"==typeof e)this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=n.R3(this.container,n.$("a.label-name",{id:null==t?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(let i=0;i{let s={start:n,end:n+e.length},o=i.map(e=>l.e.intersect(s,e)).filter(e=>!l.e.isEmpty(e)).map(({start:e,end:t})=>({start:e-n,end:t-n}));return n=s.end+t.length,o})}(e,i,null==t?void 0:t.matches);for(let r=0;r=this._elements.length-1}isNowhere(){return null===this._navigator.current()}has(e){return this._history.has(e)}_onChange(){this._reduceToLimit();let e=this._elements;this._navigator=new g(e,0,e.length,e.length)}_reduceToLimit(){let e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))}_currentPosition(){let e=this._navigator.current();return e?this._elements.indexOf(e):-1}_initialize(e){for(let t of(this._history=new Set,e))this._history.add(t)}get _elements(){let e=[];return this._history.forEach(t=>e.push(t)),e}}var m=i(16783);i(58224);var f=i(82801);let _=n.$,v={inputBackground:"#3C3C3C",inputForeground:"#CCCCCC",inputValidationInfoBorder:"#55AAFF",inputValidationInfoBackground:"#063B49",inputValidationWarningBorder:"#B89500",inputValidationWarningBackground:"#352A05",inputValidationErrorBorder:"#BE1100",inputValidationErrorBackground:"#5A1D1D",inputBorder:void 0,inputValidationErrorForeground:void 0,inputValidationInfoForeground:void 0,inputValidationWarningForeground:void 0};class b extends u.${constructor(e,t,i){var o;super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new c.Q5),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new c.Q5),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=t,this.options=i,this.message=null,this.placeholder=this.options.placeholder||"",this.tooltip=null!==(o=this.options.tooltip)&&void 0!==o?o:this.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=n.R3(e,_(".monaco-inputbox.idle"));let l=this.options.flexibleHeight?"textarea":"input",a=n.R3(this.element,_(".ibwrapper"));if(this.input=n.R3(a,_(l+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight="number"==typeof this.options.flexibleMaxHeight?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=n.R3(a,_("div.mirror")),this.mirror.innerText="\xa0",this.scrollableElement=new h.NB(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),n.R3(e,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(e=>this.input.scrollTop=e.scrollTop));let t=this._register(new s.Y(e.ownerDocument,"selectionchange")),i=c.ju.filter(t.event,()=>{let t=e.ownerDocument.getSelection();return(null==t?void 0:t.anchorNode)===a});this._register(i(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&!this.options.showPlaceholderOnFocus&&this.setPlaceHolder(this.placeholder),this.tooltip&&this.setTooltip(this.tooltip),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this._register(this.ignoreGesture(this.input)),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new r.o(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder","")}onFocus(){this._showMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder",this.placeholder||"")}setPlaceHolder(e){this.placeholder=e,this.input.setAttribute("placeholder",e)}setTooltip(e){this.tooltip=e,this.hover?this.hover.update(e):this.hover=this._register((0,a.B)().setupUpdatableHover((0,d.tM)("mouse"),this.input,e))}get inputElement(){return this.input}get value(){return this.input.value}set value(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())}get height(){return"number"==typeof this.cachedHeight?this.cachedHeight:n.wn(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return n.H9(this.input)}select(e=null){this.input.select(),e&&(this.input.setSelectionRange(e.start,e.end),e.end===this.input.value.length&&(this.input.scrollLeft=this.input.scrollWidth))}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}getSelection(){var e;let t=this.input.selectionStart;if(null===t)return null;let i=null!==(e=this.input.selectionEnd)&&void 0!==e?e:t;return{start:t,end:i}}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}set paddingRight(e){this.input.style.width=`calc(100% - ${e}px)`,this.mirror&&(this.mirror.style.paddingRight=e+"px")}updateScrollDimensions(){if("number"!=typeof this.cachedContentHeight||"number"!=typeof this.cachedHeight||!this.scrollableElement)return;let e=this.cachedContentHeight,t=this.cachedHeight,i=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:i})}showMessage(e,t){if("open"===this.state&&(0,m.fS)(this.message,e))return;this.message=e,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(e.type));let i=this.stylesForType(this.message.type);this.element.style.border=`1px solid ${n.XT(i.border,"transparent")}`,this.message.content&&(this.hasFocus()||t)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let e=null;return this.validation&&((e=this.validation(this.value))?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),null==e?void 0:e.type}stylesForType(e){let t=this.options.inputBoxStyles;switch(e){case 1:return{border:t.inputValidationInfoBorder,background:t.inputValidationInfoBackground,foreground:t.inputValidationInfoForeground};case 2:return{border:t.inputValidationWarningBorder,background:t.inputValidationWarningBackground,foreground:t.inputValidationWarningForeground};default:return{border:t.inputValidationErrorBorder,background:t.inputValidationErrorBackground,foreground:t.inputValidationErrorForeground}}}classForType(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){let e,t;if(!this.contextViewProvider||!this.message)return;let i=()=>e.style.width=n.w(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:t=>{var s,r;if(!this.message)return null;e=n.R3(t,_(".monaco-inputbox-container")),i();let l={inline:!0,className:"monaco-inputbox-message"},a=this.message.formatContent?(0,o.BO)(this.message.content,l):(0,o.IY)(this.message.content,l);a.classList.add(this.classForType(this.message.type));let d=this.stylesForType(this.message.type);return a.style.backgroundColor=null!==(s=d.background)&&void 0!==s?s:"",a.style.color=null!==(r=d.foreground)&&void 0!==r?r:"",a.style.border=d.border?`1px solid ${d.border}`:"",n.R3(e,a),null},onHide:()=>{this.state="closed"},layout:i}),t=3===this.message.type?f.NC("alertErrorMessage","Error: {0}",this.message.content):2===this.message.type?f.NC("alertWarningMessage","Warning: {0}",this.message.content):f.NC("alertInfoMessage","Info: {0}",this.message.content),l.Z9(t),this.state="open"}_hideMessage(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;let e=this.value,t=e.charCodeAt(e.length-1),i=10===t?" ":"",n=(e+i).replace(/\u000c/g,"");n?this.mirror.textContent=e+i:this.mirror.innerText="\xa0",this.layout()}applyStyles(){var e,t,i;let s=this.options.inputBoxStyles,o=null!==(e=s.inputBackground)&&void 0!==e?e:"",r=null!==(t=s.inputForeground)&&void 0!==t?t:"",l=null!==(i=s.inputBorder)&&void 0!==i?i:"";this.element.style.backgroundColor=o,this.element.style.color=r,this.input.style.backgroundColor="inherit",this.input.style.color=r,this.element.style.border=`1px solid ${n.XT(l,"transparent")}`}layout(){if(!this.mirror)return;let e=this.cachedContentHeight;this.cachedContentHeight=n.wn(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(e){let t=this.inputElement,i=t.selectionStart,n=t.selectionEnd,s=t.value;null!==i&&null!==n&&(this.value=s.substr(0,i)+e+s.substr(n),t.setSelectionRange(i+1,i+1),this.layout())}dispose(){var e;this._hideMessage(),this.message=null,null===(e=this.actionbar)||void 0===e||e.dispose(),super.dispose()}}class C extends b{constructor(e,t,i){let s=f.NC({key:"history.inputbox.hint.suffix.noparens",comment:['Text is the suffix of an input field placeholder coming after the action the input field performs, this will be used when the input field ends in a closing parenthesis ")", for example "Filter (e.g. text, !exclude)". The character inserted into the final string is ⇅ to represent the up and down arrow keys.']}," or {0} for history",`\u21C5`),o=f.NC({key:"history.inputbox.hint.suffix.inparens",comment:['Text is the suffix of an input field placeholder coming after the action the input field performs, this will be used when the input field does NOT end in a closing parenthesis (eg. "Find"). The character inserted into the final string is ⇅ to represent the up and down arrow keys.']}," ({0} for history)",`\u21C5`);super(e,t,i),this._onDidFocus=this._register(new c.Q5),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new c.Q5),this.onDidBlur=this._onDidBlur.event,this.history=new p(i.history,100);let r=()=>{if(i.showHistoryHint&&i.showHistoryHint()&&!this.placeholder.endsWith(s)&&!this.placeholder.endsWith(o)&&this.history.getHistory().length){let e=this.placeholder.endsWith(")")?s:o,t=this.placeholder+e;i.showPlaceholderOnFocus&&!n.H9(this.input)?this.placeholder=t:this.setPlaceHolder(t)}};this.observer=new MutationObserver((e,t)=>{e.forEach(e=>{e.target.textContent||r()})}),this.observer.observe(this.input,{attributeFilter:["class"]}),this.onfocus(this.input,()=>r()),this.onblur(this.input,()=>{let e=e=>{if(!this.placeholder.endsWith(e))return!1;{let t=this.placeholder.slice(0,this.placeholder.length-e.length);return i.showPlaceholderOnFocus?this.placeholder=t:this.setPlaceHolder(t),!0}};e(o)||e(s)})}dispose(){super.dispose(),this.observer&&(this.observer.disconnect(),this.observer=void 0)}addToHistory(e){this.value&&(e||this.value!==this.getCurrentValue())&&this.history.add(this.value)}isAtLastInHistory(){return this.history.isLast()}isNowhereInHistory(){return this.history.isNowhere()}showNextValue(){this.history.has(this.value)||this.addToHistory();let e=this.getNextValue();e&&(e=e===this.value?this.getNextValue():e),this.value=null!=e?e:"",l.i7(this.value?this.value:f.NC("clearedInput","Cleared Input"))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let e=this.getPreviousValue();e&&(e=e===this.value?this.getPreviousValue():e),e&&(this.value=e,l.i7(this.value))}setPlaceHolder(e){super.setPlaceHolder(e),this.setTooltip(e)}onBlur(){super.onBlur(),this._onDidBlur.fire()}onFocus(){super.onFocus(),this._onDidFocus.fire()}getCurrentValue(){let e=this.history.current();return e||(e=this.history.last(),this.history.next()),e}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()}}},37804:function(e,t,i){"use strict";i.d(t,{F:function(){return u},e:function(){return c}});var n=i(81845),s=i(85432),o=i(82905),r=i(25168),l=i(70784),a=i(16783);i(64078);var d=i(82801);let h=n.$,u={keybindingLabelBackground:void 0,keybindingLabelForeground:void 0,keybindingLabelBorder:void 0,keybindingLabelBottomBorder:void 0,keybindingLabelShadow:void 0};class c extends l.JT{constructor(e,t,i){super(),this.os=t,this.keyElements=new Set,this.options=i||Object.create(null);let r=this.options.keybindingLabelForeground;this.domNode=n.R3(e,h(".monaco-keybinding")),r&&(this.domNode.style.color=r),this.hover=this._register((0,s.B)().setupUpdatableHover((0,o.tM)("mouse"),this.domNode,"")),this.didEverRender=!1,e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t){this.didEverRender&&this.keybinding===e&&c.areSame(this.matches,t)||(this.keybinding=e,this.matches=t,this.render())}render(){var e;if(this.clear(),this.keybinding){let t=this.keybinding.getChords();t[0]&&this.renderChord(this.domNode,t[0],this.matches?this.matches.firstPart:null);for(let e=1;e=n.range.end)continue;if(e.end({range:f(e.range,n),size:e.size})),r=i.map((t,i)=>({range:{start:e+i,end:e+i+1},size:t.size}));this.groups=function(...e){return function(e){let t=[],i=null;for(let n of e){let e=n.range.start,s=n.range.end,o=n.size;if(i&&o===i.size){i.range.end=s;continue}i={range:{start:e,end:s},size:o},t.push(i)}return t}(e.reduce((e,t)=>e.concat(t),[]))}(s,r,o),this._size=this._paddingTop+this.groups.reduce((e,t)=>e+t.size*(t.range.end-t.range.start),0)}get count(){let e=this.groups.length;return e?this.groups[e-1].range.end:0}get size(){return this._size}indexAt(e){if(e<0)return -1;if(e{for(let i of e){let e=this.getRenderer(t);e.disposeTemplate(i.templateData),i.templateData=null}}),this.cache.clear(),this.transactionNodesPendingRemoval.clear()}getRenderer(e){let t=this.renderers.get(e);if(!t)throw Error(`No renderer found for ${e}`);return t}}var b=i(32378),C=i(39175),w=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r};let y={CurrentDragAndDropData:void 0},S={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:e=>[e],getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){},dispose(){}},horizontalScrolling:!1,transformOptimization:!0,alwaysConsumeMouseWheel:!0};class L{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class k{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class D{constructor(){this.types=[],this.files=[]}update(e){if(e.types&&this.types.splice(0,this.types.length,...e.types),e.files){this.files.splice(0,this.files.length);for(let t=0;ti,(null==e?void 0:e.getPosInSet)?this.getPosInSet=e.getPosInSet.bind(e):this.getPosInSet=(e,t)=>t+1,(null==e?void 0:e.getRole)?this.getRole=e.getRole.bind(e):this.getRole=e=>"listitem",(null==e?void 0:e.isChecked)?this.isChecked=e.isChecked.bind(e):this.isChecked=e=>void 0}}class N{get contentHeight(){return this.rangeMap.size}get onDidScroll(){return this.scrollableElement.onScroll}get scrollableElementDomNode(){return this.scrollableElement.getDomNode()}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(e){if(e!==this._horizontalScrolling){if(e&&this.supportDynamicHeights)throw Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=e,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(let e of this.items)this.measureItemWidth(e);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:(0,s.FK)(this.domNode)}),this.rowsContainer.style.width=`${Math.max(this.scrollWidth||0,this.renderWidth)}px`}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}constructor(e,t,i,n=S){var o,a,h,g,m,f,_,b,C,w,y,L,k;if(this.virtualDelegate=t,this.domId=`list_id_${++N.InstanceCount}`,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new d.vp(50),this.splicing=!1,this.dragOverAnimationStopDisposable=c.JT.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=c.JT.None,this.onDragLeaveTimeout=c.JT.None,this.disposables=new c.SL,this._onDidChangeContentHeight=new u.Q5,this._onDidChangeContentWidth=new u.Q5,this.onDidChangeContentHeight=u.ju.latch(this._onDidChangeContentHeight.event,void 0,this.disposables),this._horizontalScrolling=!1,n.horizontalScrolling&&n.supportDynamicHeights)throw Error("Horizontal scrolling and dynamic heights not supported simultaneously");for(let e of(this.items=[],this.itemId=0,this.rangeMap=this.createRangeMap(null!==(o=n.paddingTop)&&void 0!==o?o:0),i))this.renderers.set(e.templateId,e);this.cache=this.disposables.add(new v(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",this.domNode.classList.add(this.domId),this.domNode.tabIndex=0,this.domNode.classList.toggle("mouse-support","boolean"!=typeof n.mouseSupport||n.mouseSupport),this._horizontalScrolling=null!==(a=n.horizontalScrolling)&&void 0!==a?a:S.horizontalScrolling,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.paddingBottom=void 0===n.paddingBottom?0:n.paddingBottom,this.accessibilityProvider=new x(n.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows";let D=null!==(h=n.transformOptimization)&&void 0!==h?h:S.transformOptimization;D&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)",this.rowsContainer.style.overflow="hidden",this.rowsContainer.style.contain="strict"),this.disposables.add(r.o.addTarget(this.rowsContainer)),this.scrollable=this.disposables.add(new p.Rm({forceIntegerValues:!0,smoothScrollDuration:null!==(g=n.smoothScrolling)&&void 0!==g&&g?125:0,scheduleAtNextAnimationFrame:e=>(0,s.jL)((0,s.Jj)(this.domNode),e)})),this.scrollableElement=this.disposables.add(new l.$Z(this.rowsContainer,{alwaysConsumeMouseWheel:null!==(m=n.alwaysConsumeMouseWheel)&&void 0!==m?m:S.alwaysConsumeMouseWheel,horizontal:1,vertical:null!==(f=n.verticalScrollMode)&&void 0!==f?f:S.verticalScrollMode,useShadows:null!==(_=n.useShadows)&&void 0!==_?_:S.useShadows,mouseWheelScrollSensitivity:n.mouseWheelScrollSensitivity,fastScrollSensitivity:n.fastScrollSensitivity,scrollByPage:n.scrollByPage},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add((0,s.nm)(this.rowsContainer,r.t.Change,e=>this.onTouchChange(e))),this.disposables.add((0,s.nm)(this.scrollableElement.getDomNode(),"scroll",e=>e.target.scrollTop=0)),this.disposables.add((0,s.nm)(this.domNode,"dragover",e=>this.onDragOver(this.toDragEvent(e)))),this.disposables.add((0,s.nm)(this.domNode,"drop",e=>this.onDrop(this.toDragEvent(e)))),this.disposables.add((0,s.nm)(this.domNode,"dragleave",e=>this.onDragLeave(this.toDragEvent(e)))),this.disposables.add((0,s.nm)(this.domNode,"dragend",e=>this.onDragEnd(e))),this.setRowLineHeight=null!==(b=n.setRowLineHeight)&&void 0!==b?b:S.setRowLineHeight,this.setRowHeight=null!==(C=n.setRowHeight)&&void 0!==C?C:S.setRowHeight,this.supportDynamicHeights=null!==(w=n.supportDynamicHeights)&&void 0!==w?w:S.supportDynamicHeights,this.dnd=null!==(y=n.dnd)&&void 0!==y?y:this.disposables.add(S.dnd),this.layout(null===(L=n.initialSize)||void 0===L?void 0:L.height,null===(k=n.initialSize)||void 0===k?void 0:k.width)}updateOptions(e){let t;if(void 0!==e.paddingBottom&&(this.paddingBottom=e.paddingBottom,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),void 0!==e.smoothScrolling&&this.scrollable.setSmoothScrollDuration(e.smoothScrolling?125:0),void 0!==e.horizontalScrolling&&(this.horizontalScrolling=e.horizontalScrolling),void 0!==e.scrollByPage&&(t={...null!=t?t:{},scrollByPage:e.scrollByPage}),void 0!==e.mouseWheelScrollSensitivity&&(t={...null!=t?t:{},mouseWheelScrollSensitivity:e.mouseWheelScrollSensitivity}),void 0!==e.fastScrollSensitivity&&(t={...null!=t?t:{},fastScrollSensitivity:e.fastScrollSensitivity}),t&&this.scrollableElement.updateOptions(t),void 0!==e.paddingTop&&e.paddingTop!==this.rangeMap.paddingTop){let t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),i=e.paddingTop-this.rangeMap.paddingTop;this.rangeMap.paddingTop=e.paddingTop,this.render(t,Math.max(0,this.lastRenderTop+i),this.lastRenderHeight,void 0,void 0,!0),this.setScrollTop(this.lastRenderTop),this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.lastRenderTop,this.lastRenderHeight)}}createRangeMap(e){return new _(e)}splice(e,t,i=[]){if(this.splicing)throw Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,i)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(e,t,i=[]){let n;let s=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),o=g.e.intersect(s,{start:e,end:e+t}),r=new Map;for(let e=o.end-1;e>=o.start;e--){let t=this.items[e];if(t.dragStartDisposable.dispose(),t.checkedDisposable.dispose(),t.row){let i=r.get(t.templateId);i||(i=[],r.set(t.templateId,i));let n=this.renderers.get(t.templateId);n&&n.disposeElement&&n.disposeElement(t.element,e,t.row.templateData,t.size),i.unshift(t.row)}t.row=null,t.stale=!0}let l={start:e+t,end:this.items.length},a=g.e.intersect(l,s),d=g.e.relativeComplement(l,s),h=i.map(e=>({id:String(this.itemId++),element:e,templateId:this.virtualDelegate.getTemplateId(e),size:this.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:c.JT.None,checkedDisposable:c.JT.None,stale:!1}));0===e&&t>=this.items.length?(this.rangeMap=this.createRangeMap(this.rangeMap.paddingTop),this.rangeMap.splice(0,0,h),n=this.items,this.items=h):(this.rangeMap.splice(e,t,h),n=this.items.splice(e,t,...h));let u=i.length-t,p=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),m=f(a,u),_=g.e.intersect(p,m);for(let e=_.start;e<_.end;e++)this.updateItemInDOM(this.items[e],e);let v=g.e.relativeComplement(m,p);for(let e of v)for(let t=e.start;tf(e,u)),C={start:e,end:e+i.length},w=[C,...b].map(e=>g.e.intersect(p,e)).reverse();for(let e of w)for(let t=e.end-1;t>=e.start;t--){let e=this.items[t],i=r.get(e.templateId),n=null==i?void 0:i.pop();this.insertItemInDOM(t,n)}for(let e of r.values())for(let t of e)this.cache.release(t);return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),n.map(e=>e.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=`${this._scrollHeight}px`,this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=(0,s.jL)((0,s.Jj)(this.domNode),()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null}))}eventuallyUpdateScrollWidth(){if(!this.horizontalScrolling){this.scrollableElementWidthDelayer.cancel();return}this.scrollableElementWidthDelayer.trigger(()=>this.updateScrollWidth())}updateScrollWidth(){if(!this.horizontalScrolling)return;let e=0;for(let t of this.items)void 0!==t.width&&(e=Math.max(e,t.width));this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:0===e?0:e+10}),this._onDidChangeContentWidth.fire(this.scrollWidth)}rerender(){if(this.supportDynamicHeights){for(let e of this.items)e.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){let e=this.scrollableElement.getScrollDimensions();return e.height}get firstVisibleIndex(){let e=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);return e.start}element(e){return this.items[e].element}indexOf(e){return this.items.findIndex(t=>t.element===e)}domElement(e){let t=this.items[e].row;return t&&t.domNode}elementHeight(e){return this.items[e].size}elementTop(e){return this.rangeMap.positionAt(e)}indexAt(e){return this.rangeMap.indexAt(e)}indexAfter(e){return this.rangeMap.indexAfter(e)}layout(e,t){let i={height:"number"==typeof e?e:(0,s.If)(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,i.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(i),void 0!==t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight)),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof t?t:(0,s.FK)(this.domNode)})}render(e,t,i,n,s,o=!1){let r=this.getRenderRange(t,i),l=g.e.relativeComplement(r,e).reverse(),a=g.e.relativeComplement(e,r);if(o){let t=g.e.intersect(e,r);for(let e=t.start;e{for(let e of a)for(let t=e.start;t=e.start;t--)this.insertItemInDOM(t)}),void 0!==n&&(this.rowsContainer.style.left=`-${n}px`),this.rowsContainer.style.top=`-${t}px`,this.horizontalScrolling&&void 0!==s&&(this.rowsContainer.style.width=`${Math.max(s,this.renderWidth)}px`),this.lastRenderTop=t,this.lastRenderHeight=i}insertItemInDOM(e,t){var i,n,o;let r=this.items[e];if(!r.row){if(t)r.row=t,r.stale=!0;else{let e=this.cache.alloc(r.templateId);r.row=e.row,r.stale||(r.stale=e.isReusingConnectedDomNode)}}let l=this.accessibilityProvider.getRole(r.element)||"listitem";r.row.domNode.setAttribute("role",l);let a=this.accessibilityProvider.isChecked(r.element);if("boolean"==typeof a)r.row.domNode.setAttribute("aria-checked",String(!!a));else if(a){let e=e=>r.row.domNode.setAttribute("aria-checked",String(!!e));e(a.value),r.checkedDisposable=a.onDidChange(()=>e(a.value))}if(r.stale||!r.row.domNode.parentElement){let t=null!==(o=null===(n=null===(i=this.items.at(e+1))||void 0===i?void 0:i.row)||void 0===n?void 0:n.domNode)&&void 0!==o?o:null;(r.row.domNode.parentElement!==this.rowsContainer||r.row.domNode.nextElementSibling!==t)&&this.rowsContainer.insertBefore(r.row.domNode,t),r.stale=!1}this.updateItemInDOM(r,e);let d=this.renderers.get(r.templateId);if(!d)throw Error(`No renderer found for template id ${r.templateId}`);null==d||d.renderElement(r.element,e,r.row.templateData,r.size);let h=this.dnd.getDragURI(r.element);r.dragStartDisposable.dispose(),r.row.domNode.draggable=!!h,h&&(r.dragStartDisposable=(0,s.nm)(r.row.domNode,"dragstart",e=>this.onDragStart(r.element,h,e))),this.horizontalScrolling&&(this.measureItemWidth(r),this.eventuallyUpdateScrollWidth())}measureItemWidth(e){if(!e.row||!e.row.domNode)return;e.row.domNode.style.width="fit-content",e.width=(0,s.FK)(e.row.domNode);let t=(0,s.Jj)(e.row.domNode).getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=""}updateItemInDOM(e,t){e.row.domNode.style.top=`${this.elementTop(t)}px`,this.setRowHeight&&(e.row.domNode.style.height=`${e.size}px`),this.setRowLineHeight&&(e.row.domNode.style.lineHeight=`${e.size}px`),e.row.domNode.setAttribute("data-index",`${t}`),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("data-parity",t%2==0?"even":"odd"),e.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),e.row.domNode.classList.toggle("drop-target",e.dropTarget)}removeItemFromDOM(e){let t=this.items[e];if(t.dragStartDisposable.dispose(),t.checkedDisposable.dispose(),t.row){let i=this.renderers.get(t.templateId);i&&i.disposeElement&&i.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){let e=this.scrollableElement.getScrollPosition();return e.scrollTop}setScrollTop(e,t){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e,reuseAnimation:t})}get scrollTop(){return this.getScrollTop()}set scrollTop(e){this.setScrollTop(e)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.paddingBottom}get onMouseClick(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"click")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseDblClick(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"dblclick")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseMiddleClick(){return u.ju.filter(u.ju.map(this.disposables.add(new o.Y(this.domNode,"auxclick")).event,e=>this.toMouseEvent(e),this.disposables),e=>1===e.browserEvent.button,this.disposables)}get onMouseDown(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"mousedown")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseOver(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"mouseover")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseOut(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"mouseout")).event,e=>this.toMouseEvent(e),this.disposables)}get onContextMenu(){return u.ju.any(u.ju.map(this.disposables.add(new o.Y(this.domNode,"contextmenu")).event,e=>this.toMouseEvent(e),this.disposables),u.ju.map(this.disposables.add(new o.Y(this.domNode,r.t.Contextmenu)).event,e=>this.toGestureEvent(e),this.disposables))}get onTouchStart(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"touchstart")).event,e=>this.toTouchEvent(e),this.disposables)}get onTap(){return u.ju.map(this.disposables.add(new o.Y(this.rowsContainer,r.t.Tap)).event,e=>this.toGestureEvent(e),this.disposables)}toMouseEvent(e){let t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toTouchEvent(e){let t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toGestureEvent(e){let t=this.getItemIndexFromEventTarget(e.initialTarget||null),i=void 0===t?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toDragEvent(e){let t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t],n=i&&i.element,s=this.getTargetSector(e,t);return{browserEvent:e,index:t,element:n,sector:s}}onScroll(e){try{let t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(t,e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height,e.inSmoothScrolling)}catch(t){throw console.error("Got bad scroll event:",e),t}}onTouchChange(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY}onDragStart(e,t,i){var o,r;if(!i.dataTransfer)return;let l=this.dnd.getDragElements(e);if(i.dataTransfer.effectAllowed="copyMove",i.dataTransfer.setData(n.g.TEXT,t),i.dataTransfer.setDragImage){let e;this.dnd.getDragLabel&&(e=this.dnd.getDragLabel(l,i)),void 0===e&&(e=String(l.length));let t=(0,s.$)(".monaco-drag-image");t.textContent=e;let n=(e=>{for(;e&&!e.classList.contains("monaco-workbench");)e=e.parentElement;return e||this.domNode.ownerDocument})(this.domNode);n.appendChild(t),i.dataTransfer.setDragImage(t,-10,-10),setTimeout(()=>n.removeChild(t),0)}this.domNode.classList.add("dragging"),this.currentDragData=new L(l),y.CurrentDragAndDropData=new k(l),null===(r=(o=this.dnd).onDragStart)||void 0===r||r.call(o,this.currentDragData,i)}onDragOver(e){var t,i,n,s;let o;if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),y.CurrentDragAndDropData&&"vscode-ui"===y.CurrentDragAndDropData.getData()||(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer))return!1;if(!this.currentDragData){if(y.CurrentDragAndDropData)this.currentDragData=y.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new D}}let r=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.sector,e.browserEvent);if(this.canDrop="boolean"==typeof r?r:r.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;e.browserEvent.dataTransfer.dropEffect="boolean"!=typeof r&&(null===(t=r.effect)||void 0===t?void 0:t.type)===0?"copy":"move",o="boolean"!=typeof r&&r.feedback?r.feedback:void 0===e.index?[-1]:[e.index],o=-1===(o=(0,a.EB)(o).filter(e=>e>=-1&&ee-t))[0]?[-1]:o;let l="boolean"!=typeof r&&r.effect&&r.effect.position?r.effect.position:"drop-target";if(n=this.currentDragFeedback,s=o,(Array.isArray(n)&&Array.isArray(s)?(0,a.fS)(n,s):n===s)&&this.currentDragFeedbackPosition===l)return!0;if(this.currentDragFeedback=o,this.currentDragFeedbackPosition=l,this.currentDragFeedbackDisposable.dispose(),-1===o[0])this.domNode.classList.add(l),this.rowsContainer.classList.add(l),this.currentDragFeedbackDisposable=(0,c.OF)(()=>{this.domNode.classList.remove(l),this.rowsContainer.classList.remove(l)});else{if(o.length>1&&"drop-target"!==l)throw Error("Can't use multiple feedbacks with position different than 'over'");for(let e of("drop-target-after"===l&&o[0]{var e;for(let t of o){let i=this.items[t];i.dropTarget=!1,null===(e=i.row)||void 0===e||e.domNode.classList.remove(l)}})}return!0}onDragLeave(e){var t,i;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=(0,d.Vg)(()=>this.clearDragOverFeedback(),100,this.disposables),this.currentDragData&&(null===(i=(t=this.dnd).onDragLeave)||void 0===i||i.call(t,this.currentDragData,e.element,e.index,e.browserEvent))}onDrop(e){if(!this.canDrop)return;let t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove("dragging"),this.currentDragData=void 0,y.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.sector,e.browserEvent))}onDragEnd(e){var t,i;this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove("dragging"),this.currentDragData=void 0,y.CurrentDragAndDropData=void 0,null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackPosition=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=c.JT.None}setupDragAndDropScrollTopAnimation(e){if(!this.dragOverAnimationDisposable){let e=(0,s.xQ)(this.domNode).top;this.dragOverAnimationDisposable=(0,s.jt)((0,s.Jj)(this.domNode),this.animateDragAndDropScrollTop.bind(this,e))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=(0,d.Vg)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3,this.disposables),this.dragOverMouseY=e.pageY}animateDragAndDropScrollTop(e){if(void 0===this.dragOverMouseY)return;let t=this.dragOverMouseY-e,i=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>i&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-i))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getTargetSector(e,t){if(void 0===t)return;let i=e.offsetY/this.items[t].size;return(0,C.uZ)(Math.floor(i/.25),0,3)}getItemIndexFromEventTarget(e){let t=this.scrollableElement.getDomNode(),i=e;for(;(0,s.Re)(i)&&i!==this.rowsContainer&&t.contains(i);){let e=i.getAttribute("data-index");if(e){let t=Number(e);if(!isNaN(t))return t}i=i.parentElement}}getRenderRange(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}}_rerender(e,t,i){let n,s;let o=this.getRenderRange(e,t);e===this.elementTop(o.start)?(n=o.start,s=0):o.end-o.start>1&&(n=o.start+1,s=this.elementTop(n)-e);let r=0;for(;;){let l=this.getRenderRange(e,t),a=!1;for(let e=l.start;e=e.start;t--)this.insertItemInDOM(t);for(let e=l.start;en.splice(e,t,i))}}var g=i(40789),p=i(44532),m=i(76515),f=i(12435),_=i(79915),v=i(79814),b=i(70784),C=i(39175),w=i(58022),y=i(24162);i(72119);class S extends Error{constructor(e,t){super(`ListError [${e}] ${t}`)}}var L=i(78438),k=i(69362),D=i(43495),x=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r};class N{constructor(e){this.trait=e,this.renderedElements=[]}get templateId(){return`template:${this.trait.name}`}renderTemplate(e){return e}renderElement(e,t,i){let n=this.renderedElements.findIndex(e=>e.templateData===i);if(n>=0){let e=this.renderedElements[n];this.trait.unrender(i),e.index=t}else this.renderedElements.push({index:t,templateData:i});this.trait.renderIndex(t,i)}splice(e,t,i){let n=[];for(let s of this.renderedElements)s.index=e+t&&n.push({index:s.index+i-t,templateData:s.templateData});this.renderedElements=n}renderIndexes(e){for(let{index:t,templateData:i}of this.renderedElements)e.indexOf(t)>-1&&this.trait.renderIndex(t,i)}disposeTemplate(e){let t=this.renderedElements.findIndex(t=>t.templateData===e);t<0||this.renderedElements.splice(t,1)}}class E{get name(){return this._trait}get renderer(){return new N(this)}constructor(e){this._trait=e,this.indexes=[],this.sortedIndexes=[],this._onChange=new _.Q5,this.onChange=this._onChange.event}splice(e,t,i){let n=i.length-t,s=e+t,o=[],r=0;for(;r=s;)o.push(this.sortedIndexes[r++]+n);this.renderer.splice(e,t,i.length),this._set(o,o)}renderIndex(e,t){t.classList.toggle(this._trait,this.contains(e))}unrender(e){e.classList.remove(this._trait)}set(e,t){return this._set(e,[...e].sort(Y),t)}_set(e,t,i){let n=this.indexes,s=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;let o=Z(s,e);return this.renderer.renderIndexes(o),this._onChange.fire({indexes:e,browserEvent:i}),n}get(){return this.indexes}contains(e){return(0,g.ry)(this.sortedIndexes,e,Y)>=0}dispose(){(0,b.B9)(this._onChange)}}x([f.H],E.prototype,"renderer",null);class I extends E{constructor(e){super("selected"),this.setAriaSelected=e}renderIndex(e,t){super.renderIndex(e,t),this.setAriaSelected&&(this.contains(e)?t.setAttribute("aria-selected","true"):t.setAttribute("aria-selected","false"))}}class T{constructor(e,t,i){this.trait=e,this.view=t,this.identityProvider=i}splice(e,t,i){if(!this.identityProvider)return this.trait.splice(e,t,Array(i.length).fill(!1));let n=this.trait.get().map(e=>this.identityProvider.getId(this.view.element(e)).toString());if(0===n.length)return this.trait.splice(e,t,Array(i.length).fill(!1));let s=new Set(n),o=i.map(e=>s.has(this.identityProvider.getId(e).toString()));this.trait.splice(e,t,o)}}function M(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function R(e,t){return!!e.classList.contains(t)||!e.classList.contains("monaco-list")&&!!e.parentElement&&R(e.parentElement,t)}function A(e){return R(e,"monaco-editor")}function P(e){return R(e,"monaco-custom-toggle")}function O(e){return R(e,"action-item")}function F(e){return R(e,"monaco-tree-sticky-row")}function B(e){return e.classList.contains("monaco-tree-sticky-container")}class W{get onKeyDown(){return _.ju.chain(this.disposables.add(new a.Y(this.view.domNode,"keydown")).event,e=>e.filter(e=>!M(e.target)).map(e=>new d.y(e)))}constructor(e,t,i){this.list=e,this.view=t,this.disposables=new b.SL,this.multipleSelectionDisposables=new b.SL,this.multipleSelectionSupport=i.multipleSelectionSupport,this.disposables.add(this.onKeyDown(e=>{switch(e.keyCode){case 3:return this.onEnter(e);case 16:return this.onUpArrow(e);case 18:return this.onDownArrow(e);case 11:return this.onPageUpArrow(e);case 12:return this.onPageDownArrow(e);case 9:return this.onEscape(e);case 31:this.multipleSelectionSupport&&(w.dz?e.metaKey:e.ctrlKey)&&this.onCtrlA(e)}}))}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionSupport=e.multipleSelectionSupport)}onEnter(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent)}onUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onPageUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onPageDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onCtrlA(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection((0,g.w6)(this.list.length),e.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus()}onEscape(e){this.list.getSelection().length&&(e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus())}dispose(){this.disposables.dispose(),this.multipleSelectionDisposables.dispose()}}x([f.H],W.prototype,"onKeyDown",null),(n=o||(o={}))[n.Automatic=0]="Automatic",n[n.Trigger=1]="Trigger",(s=r||(r={}))[s.Idle=0]="Idle",s[s.Typing=1]="Typing";let H=new class{mightProducePrintableCharacter(e){return!e.ctrlKey&&!e.metaKey&&!e.altKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30||e.keyCode>=98&&e.keyCode<=107||e.keyCode>=85&&e.keyCode<=95)}};class V{constructor(e,t,i,n,s){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=i,this.keyboardNavigationEventFilter=n,this.delegate=s,this.enabled=!1,this.state=r.Idle,this.mode=o.Automatic,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new b.SL,this.disposables=new b.SL,this.updateOptions(e.options)}updateOptions(e){var t,i;null===(t=e.typeNavigationEnabled)||void 0===t||t?this.enable():this.disable(),this.mode=null!==(i=e.typeNavigationMode)&&void 0!==i?i:o.Automatic}enable(){if(this.enabled)return;let e=!1,t=_.ju.chain(this.enabledDisposables.add(new a.Y(this.view.domNode,"keydown")).event,t=>t.filter(e=>!M(e.target)).filter(()=>this.mode===o.Automatic||this.triggered).map(e=>new d.y(e)).filter(t=>e||this.keyboardNavigationEventFilter(t)).filter(e=>this.delegate.mightProducePrintableCharacter(e)).forEach(e=>l.zB.stop(e,!0)).map(e=>e.browserEvent.key)),i=_.ju.debounce(t,()=>null,800,void 0,void 0,void 0,this.enabledDisposables),n=_.ju.reduce(_.ju.any(t,i),(e,t)=>null===t?null:(e||"")+t,void 0,this.enabledDisposables);n(this.onInput,this,this.enabledDisposables),i(this.onClear,this,this.enabledDisposables),t(()=>e=!0,void 0,this.enabledDisposables),i(()=>e=!1,void 0,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var e;let t=this.list.getFocus();if(t.length>0&&t[0]===this.previouslyFocused){let i=null===(e=this.list.options.accessibilityProvider)||void 0===e?void 0:e.getAriaLabel(this.list.element(t[0]));"string"==typeof i?(0,u.Z9)(i):i&&(0,u.Z9)(i.get())}this.previouslyFocused=-1}onInput(e){if(!e){this.state=r.Idle,this.triggered=!1;return}let t=this.list.getFocus(),i=t.length>0?t[0]:0,n=this.state===r.Idle?1:0;this.state=r.Typing;for(let t=0;t1&&1===t.length){this.previouslyFocused=i,this.list.setFocus([s]),this.list.reveal(s);return}}}}else if(void 0===r||(0,v.Ji)(e,r)){this.previouslyFocused=i,this.list.setFocus([s]),this.list.reveal(s);return}}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class z{constructor(e,t){this.list=e,this.view=t,this.disposables=new b.SL;let i=_.ju.chain(this.disposables.add(new a.Y(t.domNode,"keydown")).event,e=>e.filter(e=>!M(e.target)).map(e=>new d.y(e))),n=_.ju.chain(i,e=>e.filter(e=>2===e.keyCode&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey));n(this.onTab,this,this.disposables)}onTab(e){if(e.target!==this.view.domNode)return;let t=this.list.getFocus();if(0===t.length)return;let i=this.view.domElement(t[0]);if(!i)return;let n=i.querySelector("[tabIndex]");if(!n||!(0,l.Re)(n)||-1===n.tabIndex)return;let s=(0,l.Jj)(n).getComputedStyle(n);"hidden"!==s.visibility&&"none"!==s.display&&(e.preventDefault(),e.stopPropagation(),n.focus())}dispose(){this.disposables.dispose()}}function K(e){return w.dz?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function U(e){return e.browserEvent.shiftKey}let $={isSelectionSingleChangeEvent:K,isSelectionRangeChangeEvent:U};class q{constructor(e){this.list=e,this.disposables=new b.SL,this._onPointer=new _.Q5,this.onPointer=this._onPointer.event,!1!==e.options.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||$),this.mouseSupport=void 0===e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(h.o.addTarget(e.getHTMLElement()))),_.ju.any(e.onMouseClick,e.onMouseMiddleClick,e.onTap)(this.onViewPointer,this,this.disposables)}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionController=void 0,e.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||$))}isSelectionSingleChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionSingleChangeEvent(e)}isSelectionRangeChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionRangeChangeEvent(e)}isSelectionChangeEvent(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)}onMouseDown(e){A(e.browserEvent.target)||(0,l.vY)()===e.browserEvent.target||this.list.domFocus()}onContextMenu(e){if(M(e.browserEvent.target)||A(e.browserEvent.target))return;let t=void 0===e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)}onViewPointer(e){var t;if(!this.mouseSupport||M(e.browserEvent.target)||A(e.browserEvent.target)||e.browserEvent.isHandledByList)return;e.browserEvent.isHandledByList=!0;let i=e.index;if(void 0===i){this.list.setFocus([],e.browserEvent),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0);return}if(this.isSelectionChangeEvent(e))return this.changeSelection(e);this.list.setFocus([i],e.browserEvent),this.list.setAnchor(i),t=e.browserEvent,(0,l.N5)(t)&&2===t.button||this.list.setSelection([i],e.browserEvent),this._onPointer.fire(e)}onDoubleClick(e){if(M(e.browserEvent.target)||A(e.browserEvent.target)||this.isSelectionChangeEvent(e)||e.browserEvent.isHandledByList)return;e.browserEvent.isHandledByList=!0;let t=this.list.getFocus();this.list.setSelection(t,e.browserEvent)}changeSelection(e){let t=e.index,i=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(e)){if(void 0===i){let e=this.list.getFocus()[0];i=null!=e?e:t,this.list.setAnchor(i)}let n=Math.min(i,t),s=Math.max(i,t),o=(0,g.w6)(n,s+1),r=this.list.getSelection(),l=function(e,t){let i=e.indexOf(t);if(-1===i)return[];let n=[],s=i-1;for(;s>=0&&e[s]===t-(i-s);)n.push(e[s--]);for(n.reverse(),s=i;s=e.length)i.push(t[s++]);else if(s>=t.length)i.push(e[n++]);else if(e[n]===t[s]){n++,s++;continue}else e[n]e!==t);this.list.setFocus([t]),this.list.setAnchor(t),i.length===n.length?this.list.setSelection([...n,t],e.browserEvent):this.list.setSelection(n,e.browserEvent)}}dispose(){this.disposables.dispose()}}class j{constructor(e,t){this.styleElement=e,this.selectorSuffix=t}style(e){var t,i;let n=this.selectorSuffix&&`.${this.selectorSuffix}`,s=[];e.listBackground&&s.push(`.monaco-list${n} .monaco-list-rows { background: ${e.listBackground}; }`),e.listFocusBackground&&(s.push(`.monaco-list${n}:focus .monaco-list-row.focused { background-color: ${e.listFocusBackground}; }`),s.push(`.monaco-list${n}:focus .monaco-list-row.focused:hover { background-color: ${e.listFocusBackground}; }`)),e.listFocusForeground&&s.push(`.monaco-list${n}:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),e.listActiveSelectionBackground&&(s.push(`.monaco-list${n}:focus .monaco-list-row.selected { background-color: ${e.listActiveSelectionBackground}; }`),s.push(`.monaco-list${n}:focus .monaco-list-row.selected:hover { background-color: ${e.listActiveSelectionBackground}; }`)),e.listActiveSelectionForeground&&s.push(`.monaco-list${n}:focus .monaco-list-row.selected { color: ${e.listActiveSelectionForeground}; }`),e.listActiveSelectionIconForeground&&s.push(`.monaco-list${n}:focus .monaco-list-row.selected .codicon { color: ${e.listActiveSelectionIconForeground}; }`),e.listFocusAndSelectionBackground&&s.push(` .monaco-drag-image, .monaco-list${n}:focus .monaco-list-row.selected.focused { background-color: ${e.listFocusAndSelectionBackground}; } `),e.listFocusAndSelectionForeground&&s.push(` @@ -450,14 +450,14 @@ ${t}`)}(e.slice(t),s);break}if("paragraph"===s.type&&s.raw.match(/(\n|^)\|/)){i= .monaco-table .monaco-list:not(.focused) .monaco-list-row[data-parity=odd].focused:not(.selected):not(:hover) .monaco-table-tr { background-color: ${e.tableOddRowsBackgroundColor}; } - `),this.styleElement.textContent=s.join("\n")}}let G={listFocusBackground:"#7FB0D0",listActiveSelectionBackground:"#0E639C",listActiveSelectionForeground:"#FFFFFF",listActiveSelectionIconForeground:"#FFFFFF",listFocusAndSelectionOutline:"#90C2F9",listFocusAndSelectionBackground:"#094771",listFocusAndSelectionForeground:"#FFFFFF",listInactiveSelectionBackground:"#3F3F46",listInactiveSelectionIconForeground:"#FFFFFF",listHoverBackground:"#2A2D2E",listDropOverBackground:"#383B3D",listDropBetweenBackground:"#EEEEEE",treeIndentGuidesStroke:"#a9a9a9",treeInactiveIndentGuidesStroke:m.Il.fromHex("#a9a9a9").transparent(.4).toString(),tableColumnsBorder:m.Il.fromHex("#cccccc").transparent(.2).toString(),tableOddRowsBackgroundColor:m.Il.fromHex("#cccccc").transparent(.04).toString(),listBackground:void 0,listFocusForeground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusForeground:void 0,listInactiveFocusBackground:void 0,listHoverForeground:void 0,listFocusOutline:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listHoverOutline:void 0,treeStickyScrollBackground:void 0,treeStickyScrollBorder:void 0,treeStickyScrollShadow:void 0},Q={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){},dispose(){}}};function Z(e,t){let i=[],n=0,s=0;for(;n=e.length)i.push(t[s++]);else if(s>=t.length)i.push(e[n++]);else if(e[n]===t[s]){i.push(e[n]),n++,s++;continue}else e[n]e-t;class J{constructor(e,t){this._templateId=e,this.renderers=t}get templateId(){return this._templateId}renderTemplate(e){return this.renderers.map(t=>t.renderTemplate(e))}renderElement(e,t,i,n){let s=0;for(let o of this.renderers)o.renderElement(e,t,i[s++],n)}disposeElement(e,t,i,n){var s;let o=0;for(let r of this.renderers)null===(s=r.disposeElement)||void 0===s||s.call(r,e,t,i[o],n),o+=1}disposeTemplate(e){let t=0;for(let i of this.renderers)i.disposeTemplate(e[t++])}}class X{constructor(e){this.accessibilityProvider=e,this.templateId="a18n"}renderTemplate(e){return{container:e,disposables:new b.SL}}renderElement(e,t,i){let n=this.accessibilityProvider.getAriaLabel(e),s=n&&"string"!=typeof n?n:(0,D.Dz)(n);i.disposables.add((0,D.EH)(e=>{this.setAriaLabel(e.readObservable(s),i.container)}));let o=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"==typeof o?i.container.setAttribute("aria-level",`${o}`):i.container.removeAttribute("aria-level")}setAriaLabel(e,t){e?t.setAttribute("aria-label",e):t.removeAttribute("aria-label")}disposeElement(e,t,i,n){i.disposables.clear()}disposeTemplate(e){e.disposables.dispose()}}class ee{constructor(e,t){this.list=e,this.dnd=t}getDragElements(e){let t=this.list.getSelectedElements(),i=t.indexOf(e)>-1?t:[e];return i}getDragURI(e){return this.dnd.getDragURI(e)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e,t)}onDragStart(e,t){var i,n;null===(n=(i=this.dnd).onDragStart)||void 0===n||n.call(i,e,t)}onDragOver(e,t,i,n,s){return this.dnd.onDragOver(e,t,i,n,s)}onDragLeave(e,t,i,n){var s,o;null===(o=(s=this.dnd).onDragLeave)||void 0===o||o.call(s,e,t,i,n)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}drop(e,t,i,n,s){this.dnd.drop(e,t,i,n,s)}dispose(){this.dnd.dispose()}}class et{get onDidChangeFocus(){return _.ju.map(this.eventBufferer.wrapEvent(this.focus.onChange),e=>this.toListEvent(e),this.disposables)}get onDidChangeSelection(){return _.ju.map(this.eventBufferer.wrapEvent(this.selection.onChange),e=>this.toListEvent(e),this.disposables)}get domId(){return this.view.domId}get onDidScroll(){return this.view.onDidScroll}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onMouseOver(){return this.view.onMouseOver}get onMouseOut(){return this.view.onMouseOut}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let e=!1,t=_.ju.chain(this.disposables.add(new a.Y(this.view.domNode,"keydown")).event,t=>t.map(e=>new d.y(e)).filter(t=>e=58===t.keyCode||t.shiftKey&&68===t.keyCode).map(e=>l.zB.stop(e,!0)).filter(()=>!1)),i=_.ju.chain(this.disposables.add(new a.Y(this.view.domNode,"keyup")).event,t=>t.forEach(()=>e=!1).map(e=>new d.y(e)).filter(e=>58===e.keyCode||e.shiftKey&&68===e.keyCode).map(e=>l.zB.stop(e,!0)).map(({browserEvent:e})=>{let t=this.getFocus(),i=t.length?t[0]:void 0,n=void 0!==i?this.view.element(i):void 0,s=void 0!==i?this.view.domElement(i):this.view.domNode;return{index:i,element:n,anchor:s,browserEvent:e}})),n=_.ju.chain(this.view.onContextMenu,t=>t.filter(t=>!e).map(({element:e,index:t,browserEvent:i})=>({element:e,index:t,anchor:new k.n((0,l.Jj)(this.view.domNode),i),browserEvent:i})));return _.ju.any(t,i,n)}get onKeyDown(){return this.disposables.add(new a.Y(this.view.domNode,"keydown")).event}get onDidFocus(){return _.ju.signal(this.disposables.add(new a.Y(this.view.domNode,"focus",!0)).event)}get onDidBlur(){return _.ju.signal(this.disposables.add(new a.Y(this.view.domNode,"blur",!0)).event)}constructor(e,t,i,n,s=Q){var o,r,a,d;this.user=e,this._options=s,this.focus=new E("focused"),this.anchor=new E("anchor"),this.eventBufferer=new _.E7,this._ariaLabel="",this.disposables=new b.SL,this._onDidDispose=new _.Q5,this.onDidDispose=this._onDidDispose.event;let h=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?null===(o=this._options.accessibilityProvider)||void 0===o?void 0:o.getWidgetRole():"list";this.selection=new I("listbox"!==h);let u=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=s.accessibilityProvider,this.accessibilityProvider&&(u.push(new X(this.accessibilityProvider)),null===(a=(r=this.accessibilityProvider).onDidChangeActiveDescendant)||void 0===a||a.call(r,this.onDidChangeActiveDescendant,this,this.disposables)),n=n.map(e=>new J(e.templateId,[...u,e]));let g={...s,dnd:s.dnd&&new ee(this,s.dnd)};if(this.view=this.createListView(t,i,n,g),this.view.domNode.setAttribute("role",h),s.styleController)this.styleController=s.styleController(this.view.domId);else{let e=(0,l.dS)(this.view.domNode);this.styleController=new j(e,this.view.domId)}if(this.spliceable=new c([new T(this.focus,this.view,s.identityProvider),new T(this.selection,this.view,s.identityProvider),new T(this.anchor,this.view,s.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.anchor),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.disposables.add(new z(this,this.view)),("boolean"!=typeof s.keyboardSupport||s.keyboardSupport)&&(this.keyboardController=new W(this,this.view,s),this.disposables.add(this.keyboardController)),s.keyboardNavigationLabelProvider){let e=s.keyboardNavigationDelegate||H;this.typeNavigationController=new V(this,this.view,s.keyboardNavigationLabelProvider,null!==(d=s.keyboardNavigationEventFilter)&&void 0!==d?d:()=>!0,e),this.disposables.add(this.typeNavigationController)}this.mouseController=this.createMouseController(s),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),!1!==this._options.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}createListView(e,t,i,n){return new L.Bv(e,t,i,n)}createMouseController(e){return new q(this)}updateOptions(e={}){var t,i;this._options={...this._options,...e},null===(t=this.typeNavigationController)||void 0===t||t.updateOptions(this._options),void 0!==this._options.multipleSelectionController&&(this._options.multipleSelectionSupport?this.view.domNode.setAttribute("aria-multiselectable","true"):this.view.domNode.removeAttribute("aria-multiselectable")),this.mouseController.updateOptions(e),null===(i=this.keyboardController)||void 0===i||i.updateOptions(e),this.view.updateOptions(e)}get options(){return this._options}splice(e,t,i=[]){if(e<0||e>this.view.length)throw new S(this.user,`Invalid start index: ${e}`);if(t<0)throw new S(this.user,`Invalid delete count: ${t}`);(0!==t||0!==i.length)&&this.eventBufferer.bufferEvents(()=>this.spliceable.splice(e,t,i))}rerender(){this.view.rerender()}element(e){return this.view.element(e)}indexOf(e){return this.view.indexOf(e)}indexAt(e){return this.view.indexAt(e)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get onDidChangeContentHeight(){return this.view.onDidChangeContentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(e){this.view.setScrollTop(e)}get scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}get firstVisibleIndex(){return this.view.firstVisibleIndex}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.view.domNode.setAttribute("aria-label",e)}domFocus(){this.view.domNode.focus({preventScroll:!0})}layout(e,t){this.view.layout(e,t)}setSelection(e,t){for(let t of e)if(t<0||t>=this.length)throw new S(this.user,`Invalid index ${t}`);this.selection.set(e,t)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(e=>this.view.element(e))}setAnchor(e){if(void 0===e){this.anchor.set([]);return}if(e<0||e>=this.length)throw new S(this.user,`Invalid index ${e}`);this.anchor.set([e])}getAnchor(){return(0,g.Xh)(this.anchor.get(),void 0)}getAnchorElement(){let e=this.getAnchor();return void 0===e?void 0:this.element(e)}setFocus(e,t){for(let t of e)if(t<0||t>=this.length)throw new S(this.user,`Invalid index ${t}`);this.focus.set(e,t)}focusNext(e=1,t=!1,i,n){if(0===this.length)return;let s=this.focus.get(),o=this.findNextIndex(s.length>0?s[0]+e:0,t,n);o>-1&&this.setFocus([o],i)}focusPrevious(e=1,t=!1,i,n){if(0===this.length)return;let s=this.focus.get(),o=this.findPreviousIndex(s.length>0?s[0]-e:0,t,n);o>-1&&this.setFocus([o],i)}async focusNextPage(e,t){let i=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);i=0===i?0:i-1;let n=this.getFocus()[0];if(n!==i&&(void 0===n||i>n)){let s=this.findPreviousIndex(i,!1,t);s>-1&&n!==s?this.setFocus([s],e):this.setFocus([i],e)}else{let s=this.view.getScrollTop(),o=s+this.view.renderHeight;i>n&&(o-=this.view.elementHeight(i)),this.view.setScrollTop(o),this.view.getScrollTop()!==s&&(this.setFocus([]),await (0,p.Vs)(0),await this.focusNextPage(e,t))}}async focusPreviousPage(e,t,i=()=>0){let n;let s=i(),o=this.view.getScrollTop()+s;n=0===o?this.view.indexAt(o):this.view.indexAfter(o-1);let r=this.getFocus()[0];if(r!==n&&(void 0===r||r>=n)){let i=this.findNextIndex(n,!1,t);i>-1&&r!==i?this.setFocus([i],e):this.setFocus([n],e)}else this.view.setScrollTop(o-this.view.renderHeight-s),this.view.getScrollTop()+i()!==o&&(this.setFocus([]),await (0,p.Vs)(0),await this.focusPreviousPage(e,t,i))}focusLast(e,t){if(0===this.length)return;let i=this.findPreviousIndex(this.length-1,!1,t);i>-1&&this.setFocus([i],e)}focusFirst(e,t){this.focusNth(0,e,t)}focusNth(e,t,i){if(0===this.length)return;let n=this.findNextIndex(e,!1,i);n>-1&&this.setFocus([n],t)}findNextIndex(e,t=!1,i){for(let n=0;n=this.length)||t);n++){if(e%=this.length,!i||i(this.element(e)))return e;e++}return -1}findPreviousIndex(e,t=!1,i){for(let n=0;nthis.view.element(e))}reveal(e,t,i=0){if(e<0||e>=this.length)throw new S(this.user,`Invalid index ${e}`);let n=this.view.getScrollTop(),s=this.view.elementTop(e),o=this.view.elementHeight(e);if((0,y.hj)(t)){let e=o-this.view.renderHeight+i;this.view.setScrollTop(e*(0,C.uZ)(t,0,1)+s-i)}else{let e=s+o,t=n+this.view.renderHeight;s=t||(s=t&&o>=this.view.renderHeight?this.view.setScrollTop(s-i):e>=t&&this.view.setScrollTop(e-this.view.renderHeight))}}getRelativeTop(e,t=0){if(e<0||e>=this.length)throw new S(this.user,`Invalid index ${e}`);let i=this.view.getScrollTop(),n=this.view.elementTop(e),s=this.view.elementHeight(e);if(ni+this.view.renderHeight)return null;let o=s-this.view.renderHeight+t;return Math.abs((i+t-n)/o)}getHTMLElement(){return this.view.domNode}getScrollableElement(){return this.view.scrollableElementDomNode}getElementID(e){return this.view.getElementDomId(e)}getElementTop(e){return this.view.elementTop(e)}style(e){this.styleController.style(e)}toListEvent({indexes:e,browserEvent:t}){return{indexes:e,elements:e.map(e=>this.view.element(e)),browserEvent:t}}_onFocusChange(){let e=this.focus.get();this.view.domNode.classList.toggle("element-focused",e.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var e;let t=this.focus.get();if(t.length>0){let i;(null===(e=this.accessibilityProvider)||void 0===e?void 0:e.getActiveDescendantId)&&(i=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute("aria-activedescendant",i||this.view.getElementDomId(t[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")}_onSelectionChange(){let e=this.selection.get();this.view.domNode.classList.toggle("selection-none",0===e.length),this.view.domNode.classList.toggle("selection-single",1===e.length),this.view.domNode.classList.toggle("selection-multiple",e.length>1)}dispose(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}x([f.H],et.prototype,"onDidChangeFocus",null),x([f.H],et.prototype,"onDidChangeSelection",null),x([f.H],et.prototype,"onContextMenu",null),x([f.H],et.prototype,"onKeyDown",null),x([f.H],et.prototype,"onDidFocus",null),x([f.H],et.prototype,"onDidBlur",null)},23778:function(e,t,i){"use strict";i.d(t,{f:function(){return l}});var n=i(81845),s=i(56274),o=i(79915),r=i(70784);class l{constructor(){let e;this._onDidWillResize=new o.Q5,this.onDidWillResize=this._onDidWillResize.event,this._onDidResize=new o.Q5,this.onDidResize=this._onDidResize.event,this._sashListener=new r.SL,this._size=new n.Ro(0,0),this._minSize=new n.Ro(0,0),this._maxSize=new n.Ro(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),this.domNode=document.createElement("div"),this._eastSash=new s.g(this.domNode,{getVerticalSashLeft:()=>this._size.width},{orientation:0}),this._westSash=new s.g(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new s.g(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:s.l.North}),this._southSash=new s.g(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:s.l.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let t=0,i=0;this._sashListener.add(o.ju.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)(()=>{void 0===e&&(this._onDidWillResize.fire(),e=this._size,t=0,i=0)})),this._sashListener.add(o.ju.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)(()=>{void 0!==e&&(e=void 0,t=0,i=0,this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(this._eastSash.onDidChange(n=>{e&&(i=n.currentX-n.startX,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))})),this._sashListener.add(this._westSash.onDidChange(n=>{e&&(i=-(n.currentX-n.startX),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))})),this._sashListener.add(this._northSash.onDidChange(n=>{e&&(t=-(n.currentY-n.startY),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))})),this._sashListener.add(this._southSash.onDidChange(n=>{e&&(t=n.currentY-n.startY,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))})),this._sashListener.add(o.ju.any(this._eastSash.onDidReset,this._westSash.onDidReset)(e=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(o.ju.any(this._northSash.onDidReset,this._southSash.onDidReset)(e=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this._onDidResize.dispose(),this._onDidWillResize.dispose(),this.domNode.remove()}enableSashes(e,t,i,n){this._northSash.state=e?3:0,this._eastSash.state=t?3:0,this._southSash.state=i?3:0,this._westSash.state=n?3:0}layout(e=this.size.height,t=this.size.width){let{height:i,width:s}=this._minSize,{height:o,width:r}=this._maxSize;e=Math.max(i,Math.min(o,e)),t=Math.max(s,Math.min(r,t));let l=new n.Ro(t,e);n.Ro.equals(l,this._size)||(this.domNode.style.height=e+"px",this.domNode.style.width=t+"px",this._size=l,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}clearSashHoverState(){this._eastSash.clearSashHoverState(),this._westSash.clearSashHoverState(),this._northSash.clearSashHoverState(),this._southSash.clearSashHoverState()}get size(){return this._size}set maxSize(e){this._maxSize=e}get maxSize(){return this._maxSize}set minSize(e){this._minSize=e}get minSize(){return this._minSize}set preferredSize(e){this._preferredSize=e}get preferredSize(){return this._preferredSize}}},56274:function(e,t,i){"use strict";i.d(t,{g:function(){return C},l:function(){return s}});var n,s,o=i(81845),r=i(21887),l=i(598),a=i(44532),d=i(12435),h=i(79915),u=i(70784),c=i(58022);i(87148);var g=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r};(n=s||(s={})).North="north",n.South="south",n.East="east",n.West="west";let p=new h.Q5,m=new h.Q5;class f{constructor(e){this.el=e,this.disposables=new u.SL}get onPointerMove(){return this.disposables.add(new r.Y((0,o.Jj)(this.el),"mousemove")).event}get onPointerUp(){return this.disposables.add(new r.Y((0,o.Jj)(this.el),"mouseup")).event}dispose(){this.disposables.dispose()}}g([d.H],f.prototype,"onPointerMove",null),g([d.H],f.prototype,"onPointerUp",null);class _{get onPointerMove(){return this.disposables.add(new r.Y(this.el,l.t.Change)).event}get onPointerUp(){return this.disposables.add(new r.Y(this.el,l.t.End)).event}constructor(e){this.el=e,this.disposables=new u.SL}dispose(){this.disposables.dispose()}}g([d.H],_.prototype,"onPointerMove",null),g([d.H],_.prototype,"onPointerUp",null);class v{get onPointerMove(){return this.factory.onPointerMove}get onPointerUp(){return this.factory.onPointerUp}constructor(e){this.factory=e}dispose(){}}g([d.H],v.prototype,"onPointerMove",null),g([d.H],v.prototype,"onPointerUp",null);let b="pointer-events-disabled";class C extends u.JT{get state(){return this._state}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}set state(e){this._state!==e&&(this.el.classList.toggle("disabled",0===e),this.el.classList.toggle("minimum",1===e),this.el.classList.toggle("maximum",2===e),this._state=e,this.onDidEnablementChange.fire(e))}set orthogonalStartSash(e){if(this._orthogonalStartSash!==e){if(this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),e){let t=t=>{this.orthogonalStartDragHandleDisposables.clear(),0!==t&&(this._orthogonalStartDragHandle=(0,o.R3)(this.el,(0,o.$)(".orthogonal-drag-handle.start")),this.orthogonalStartDragHandleDisposables.add((0,u.OF)(()=>this._orthogonalStartDragHandle.remove())),this.orthogonalStartDragHandleDisposables.add(new r.Y(this._orthogonalStartDragHandle,"mouseenter")).event(()=>C.onMouseEnter(e),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new r.Y(this._orthogonalStartDragHandle,"mouseleave")).event(()=>C.onMouseLeave(e),void 0,this.orthogonalStartDragHandleDisposables))};this.orthogonalStartSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalStartSash=e}}set orthogonalEndSash(e){if(this._orthogonalEndSash!==e){if(this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),e){let t=t=>{this.orthogonalEndDragHandleDisposables.clear(),0!==t&&(this._orthogonalEndDragHandle=(0,o.R3)(this.el,(0,o.$)(".orthogonal-drag-handle.end")),this.orthogonalEndDragHandleDisposables.add((0,u.OF)(()=>this._orthogonalEndDragHandle.remove())),this.orthogonalEndDragHandleDisposables.add(new r.Y(this._orthogonalEndDragHandle,"mouseenter")).event(()=>C.onMouseEnter(e),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new r.Y(this._orthogonalEndDragHandle,"mouseleave")).event(()=>C.onMouseLeave(e),void 0,this.orthogonalEndDragHandleDisposables))};this.orthogonalEndSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalEndSash=e}}constructor(e,t,i){let n;super(),this.hoverDelay=300,this.hoverDelayer=this._register(new a.vp(this.hoverDelay)),this._state=3,this.onDidEnablementChange=this._register(new h.Q5),this._onDidStart=this._register(new h.Q5),this._onDidChange=this._register(new h.Q5),this._onDidReset=this._register(new h.Q5),this._onDidEnd=this._register(new h.Q5),this.orthogonalStartSashDisposables=this._register(new u.SL),this.orthogonalStartDragHandleDisposables=this._register(new u.SL),this.orthogonalEndSashDisposables=this._register(new u.SL),this.orthogonalEndDragHandleDisposables=this._register(new u.SL),this.onDidStart=this._onDidStart.event,this.onDidChange=this._onDidChange.event,this.onDidReset=this._onDidReset.event,this.onDidEnd=this._onDidEnd.event,this.linkedSash=void 0,this.el=(0,o.R3)(e,(0,o.$)(".monaco-sash")),i.orthogonalEdge&&this.el.classList.add(`orthogonal-edge-${i.orthogonalEdge}`),c.dz&&this.el.classList.add("mac");let s=this._register(new r.Y(this.el,"mousedown")).event;this._register(s(t=>this.onPointerStart(t,new f(e)),this));let d=this._register(new r.Y(this.el,"dblclick")).event;this._register(d(this.onPointerDoublePress,this));let g=this._register(new r.Y(this.el,"mouseenter")).event;this._register(g(()=>C.onMouseEnter(this)));let v=this._register(new r.Y(this.el,"mouseleave")).event;this._register(v(()=>C.onMouseLeave(this))),this._register(l.o.addTarget(this.el));let b=this._register(new r.Y(this.el,l.t.Start)).event;this._register(b(e=>this.onPointerStart(e,new _(this.el)),this));let w=this._register(new r.Y(this.el,l.t.Tap)).event;this._register(w(e=>{if(n){clearTimeout(n),n=void 0,this.onPointerDoublePress(e);return}clearTimeout(n),n=setTimeout(()=>n=void 0,250)},this)),"number"==typeof i.size?(this.size=i.size,0===i.orientation?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=4,this._register(p.event(e=>{this.size=e,this.layout()}))),this._register(m.event(e=>this.hoverDelay=e)),this.layoutProvider=t,this.orthogonalStartSash=i.orthogonalStartSash,this.orthogonalEndSash=i.orthogonalEndSash,this.orientation=i.orientation||0,1===this.orientation?(this.el.classList.add("horizontal"),this.el.classList.remove("vertical")):(this.el.classList.remove("horizontal"),this.el.classList.add("vertical")),this.el.classList.toggle("debug",!1),this.layout()}onPointerStart(e,t){o.zB.stop(e);let i=!1;if(!e.__orthogonalSashEvent){let n=this.getOrthogonalSash(e);n&&(i=!0,e.__orthogonalSashEvent=!0,n.onPointerStart(e,new v(t)))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onPointerStart(e,new v(t))),!this.state)return;let n=this.el.ownerDocument.getElementsByTagName("iframe");for(let e of n)e.classList.add(b);let s=e.pageX,r=e.pageY,l=e.altKey;this.el.classList.add("active"),this._onDidStart.fire({startX:s,currentX:s,startY:r,currentY:r,altKey:l});let a=(0,o.dS)(this.el),d=()=>{let e="";e=i?"all-scroll":1===this.orientation?1===this.state?"s-resize":2===this.state?"n-resize":c.dz?"row-resize":"ns-resize":1===this.state?"e-resize":2===this.state?"w-resize":c.dz?"col-resize":"ew-resize",a.textContent=`* { cursor: ${e} !important; }`},h=new u.SL;d(),i||this.onDidEnablementChange.event(d,null,h),t.onPointerMove(e=>{o.zB.stop(e,!1);let t={startX:s,currentX:e.pageX,startY:r,currentY:e.pageY,altKey:l};this._onDidChange.fire(t)},null,h),t.onPointerUp(e=>{for(let t of(o.zB.stop(e,!1),this.el.removeChild(a),this.el.classList.remove("active"),this._onDidEnd.fire(),h.dispose(),n))t.classList.remove(b)},null,h),h.add(t)}onPointerDoublePress(e){let t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}static onMouseEnter(e,t=!1){e.el.classList.contains("active")?(e.hoverDelayer.cancel(),e.el.classList.add("hover")):e.hoverDelayer.trigger(()=>e.el.classList.add("hover"),e.hoverDelay).then(void 0,()=>{}),!t&&e.linkedSash&&C.onMouseEnter(e.linkedSash,!0)}static onMouseLeave(e,t=!1){e.hoverDelayer.cancel(),e.el.classList.remove("hover"),!t&&e.linkedSash&&C.onMouseLeave(e.linkedSash,!0)}clearSashHoverState(){C.onMouseLeave(this)}layout(){if(0===this.orientation){let e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{let e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}getOrthogonalSash(e){var t;let i=null!==(t=e.initialTarget)&&void 0!==t?t:e.target;if(i&&(0,o.Re)(i)&&i.classList.contains("orthogonal-drag-handle"))return i.classList.contains("start")?this.orthogonalStartSash:this.orthogonalEndSash}dispose(){super.dispose(),this.el.remove()}}},49524:function(e,t,i){"use strict";i.d(t,{s$:function(){return x},Io:function(){return S},NB:function(){return k},$Z:function(){return D}});var n=i(5938),s=i(81845),o=i(82878),r=i(69362),l=i(94278),a=i(95021),d=i(44532),h=i(29527);class u extends a.${constructor(e){super(),this._onActivate=e.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=e.bgWidth+"px",this.bgDomNode.style.height=e.bgHeight+"px",void 0!==e.top&&(this.bgDomNode.style.top="0px"),void 0!==e.left&&(this.bgDomNode.style.left="0px"),void 0!==e.bottom&&(this.bgDomNode.style.bottom="0px"),void 0!==e.right&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=e.className,this.domNode.classList.add(...h.k.asClassNameArray(e.icon)),this.domNode.style.position="absolute",this.domNode.style.width="11px",this.domNode.style.height="11px",void 0!==e.top&&(this.domNode.style.top=e.top+"px"),void 0!==e.left&&(this.domNode.style.left=e.left+"px"),void 0!==e.bottom&&(this.domNode.style.bottom=e.bottom+"px"),void 0!==e.right&&(this.domNode.style.right=e.right+"px"),this._pointerMoveMonitor=this._register(new l.C),this._register(s.mu(this.bgDomNode,s.tw.POINTER_DOWN,e=>this._arrowPointerDown(e))),this._register(s.mu(this.domNode,s.tw.POINTER_DOWN,e=>this._arrowPointerDown(e))),this._pointerdownRepeatTimer=this._register(new s.ne),this._pointerdownScheduleRepeatTimer=this._register(new d._F)}_arrowPointerDown(e){e.target&&e.target instanceof Element&&(this._onActivate(),this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancelAndSet(()=>{this._pointerdownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24,s.Jj(e))},200),this._pointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>{},()=>{this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancel()}),e.preventDefault())}}var c=i(70784);class g extends c.JT{constructor(e,t,i){super(),this._visibility=e,this._visibleClassName=t,this._invisibleClassName=i,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new d._F)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this._updateShouldBeVisible())}setShouldBeVisible(e){this._rawShouldBeVisible=e,this._updateShouldBeVisible()}_applyVisibilitySetting(){return 2!==this._visibility&&(3===this._visibility||this._rawShouldBeVisible)}_updateShouldBeVisible(){let e=this._applyVisibilitySetting();this._shouldBeVisible!==e&&(this._shouldBeVisible=e,this.ensureVisibility())}setIsNeeded(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())}setDomNode(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){if(!this._isNeeded){this._hide(!1);return}this._shouldBeVisible?this._reveal():this._hide(!0)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(()=>{var e;null===(e=this._domNode)||void 0===e||e.setClassName(this._visibleClassName)},0))}_hide(e){var t;this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,null===(t=this._domNode)||void 0===t||t.setClassName(this._invisibleClassName+(e?" fade":"")))}}var p=i(58022);class m extends a.${constructor(e){super(),this._lazyRender=e.lazyRender,this._host=e.host,this._scrollable=e.scrollable,this._scrollByPage=e.scrollByPage,this._scrollbarState=e.scrollbarState,this._visibilityController=this._register(new g(e.visibility,"visible scrollbar "+e.extraScrollbarClassName,"invisible scrollbar "+e.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._pointerMoveMonitor=this._register(new l.C),this._shouldRender=!0,this.domNode=(0,o.X)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this._register(s.nm(this.domNode.domNode,s.tw.POINTER_DOWN,e=>this._domNodePointerDown(e)))}_createArrow(e){let t=this._register(new u(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)}_createSlider(e,t,i,n){this.slider=(0,o.X)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"==typeof i&&this.slider.setWidth(i),"number"==typeof n&&this.slider.setHeight(n),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this._register(s.nm(this.slider.domNode,s.tw.POINTER_DOWN,e=>{0===e.button&&(e.preventDefault(),this._sliderPointerDown(e))})),this.onclick(this.slider.domNode,e=>{e.leftButton&&e.stopPropagation()})}_onElementSize(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodePointerDown(e){e.target===this.domNode.domNode&&this._onPointerDown(e)}delegatePointerDown(e){let t=this.domNode.domNode.getClientRects()[0].top,i=t+this._scrollbarState.getSliderPosition(),n=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),s=this._sliderPointerPosition(e);i<=s&&s<=n?0===e.button&&(e.preventDefault(),this._sliderPointerDown(e)):this._onPointerDown(e)}_onPointerDown(e){let t,i;if(e.target===this.domNode.domNode&&"number"==typeof e.offsetX&&"number"==typeof e.offsetY)t=e.offsetX,i=e.offsetY;else{let n=s.i(this.domNode.domNode);t=e.pageX-n.left,i=e.pageY-n.top}let n=this._pointerDownRelativePosition(t,i);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(n):this._scrollbarState.getDesiredScrollPositionFromOffset(n)),0===e.button&&(e.preventDefault(),this._sliderPointerDown(e))}_sliderPointerDown(e){if(!e.target||!(e.target instanceof Element))return;let t=this._sliderPointerPosition(e),i=this._sliderOrthogonalPointerPosition(e),n=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._pointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>{let s=this._sliderOrthogonalPointerPosition(e);if(p.ED&&Math.abs(s-i)>140){this._setDesiredScrollPositionNow(n.getScrollPosition());return}let o=this._sliderPointerPosition(e);this._setDesiredScrollPositionNow(n.getDesiredScrollPositionFromDelta(o-t))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd()}),this._host.onDragStart()}_setDesiredScrollPositionNow(e){let t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)}updateScrollbarSize(e){this._updateScrollbarSize(e),this._scrollbarState.setScrollbarSize(e),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}var f=i(4767),_=i(47039);class v extends m{constructor(e,t,i){let n=e.getScrollDimensions(),s=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:i,scrollbarState:new f.M(t.horizontalHasArrows?t.arrowSize:0,2===t.horizontal?0:t.horizontalScrollbarSize,2===t.vertical?0:t.verticalScrollbarSize,n.width,n.scrollWidth,s.scrollLeft),visibility:t.horizontal,extraScrollbarClassName:"horizontal",scrollable:e,scrollByPage:t.scrollByPage}),t.horizontalHasArrows){let e=(t.arrowSize-11)/2,i=(t.horizontalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:_.l.scrollbarButtonLeft,top:i,left:e,bottom:void 0,right:void 0,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new r.q(null,1,0))}),this._createArrow({className:"scra",icon:_.l.scrollbarButtonRight,top:i,left:void 0,bottom:void 0,right:e,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new r.q(null,-1,0))})}this._createSlider(Math.floor((t.horizontalScrollbarSize-t.horizontalSliderSize)/2),0,void 0,t.horizontalSliderSize)}_updateSlider(e,t){this.slider.setWidth(e),this.slider.setLeft(t)}_renderDomNode(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(e,t){return e}_sliderPointerPosition(e){return e.pageX}_sliderOrthogonalPointerPosition(e){return e.pageY}_updateScrollbarSize(e){this.slider.setHeight(e)}writeScrollPosition(e,t){e.scrollLeft=t}updateOptions(e){this.updateScrollbarSize(2===e.horizontal?0:e.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._visibilityController.setVisibility(e.horizontal),this._scrollByPage=e.scrollByPage}}class b extends m{constructor(e,t,i){let n=e.getScrollDimensions(),s=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:i,scrollbarState:new f.M(t.verticalHasArrows?t.arrowSize:0,2===t.vertical?0:t.verticalScrollbarSize,0,n.height,n.scrollHeight,s.scrollTop),visibility:t.vertical,extraScrollbarClassName:"vertical",scrollable:e,scrollByPage:t.scrollByPage}),t.verticalHasArrows){let e=(t.arrowSize-11)/2,i=(t.verticalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:_.l.scrollbarButtonUp,top:e,left:i,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new r.q(null,0,1))}),this._createArrow({className:"scra",icon:_.l.scrollbarButtonDown,top:void 0,left:i,bottom:e,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new r.q(null,0,-1))})}this._createSlider(0,Math.floor((t.verticalScrollbarSize-t.verticalSliderSize)/2),t.verticalSliderSize,void 0)}_updateSlider(e,t){this.slider.setHeight(e),this.slider.setTop(t)}_renderDomNode(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(e,t){return t}_sliderPointerPosition(e){return e.pageY}_sliderOrthogonalPointerPosition(e){return e.pageX}_updateScrollbarSize(e){this.slider.setWidth(e)}writeScrollPosition(e,t){e.scrollTop=t}updateOptions(e){this.updateScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(e.vertical),this._scrollByPage=e.scrollByPage}}var C=i(79915),w=i(98101);i(21373);class y{constructor(e,t,i){this.timestamp=e,this.deltaX=t,this.deltaY=i,this.score=0}}class S{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(-1===this._front&&-1===this._rear)return!1;let e=1,t=0,i=1,n=this._rear;for(;;){let s=n===this._front?e:Math.pow(2,-i);if(e-=s,t+=this._memory[n].score*s,n===this._front)break;n=(this._capacity+n-1)%this._capacity,i++}return t<=.5}acceptStandardWheelEvent(e){if(n.i7){let t=s.Jj(e.browserEvent),i=(0,n.ie)(t);this.accept(Date.now(),e.deltaX*i,e.deltaY*i)}else this.accept(Date.now(),e.deltaX,e.deltaY)}accept(e,t,i){let n=null,s=new y(e,t,i);-1===this._front&&-1===this._rear?(this._memory[0]=s,this._front=0,this._rear=0):(n=this._memory[this._rear],this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=s),s.score=this._computeScore(s,n)}_computeScore(e,t){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;let i=.5;if(this._isAlmostInt(e.deltaX)&&this._isAlmostInt(e.deltaY)||(i+=.25),t){let n=Math.abs(e.deltaX),s=Math.abs(e.deltaY),o=Math.abs(t.deltaX),r=Math.abs(t.deltaY);Math.max(n,o)%Math.max(Math.min(n,o),1)==0&&Math.max(s,r)%Math.max(Math.min(s,r),1)==0&&(i-=.5)}return Math.min(Math.max(i,0),1)}_isAlmostInt(e){return .01>Math.abs(Math.round(e)-e)}}S.INSTANCE=new S;class L extends a.${get options(){return this._options}constructor(e,t,i){super(),this._onScroll=this._register(new C.Q5),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new C.Q5),e.style.overflow="hidden",this._options=function(e){let t={lazyRender:void 0!==e.lazyRender&&e.lazyRender,className:void 0!==e.className?e.className:"",useShadows:void 0===e.useShadows||e.useShadows,handleMouseWheel:void 0===e.handleMouseWheel||e.handleMouseWheel,flipAxes:void 0!==e.flipAxes&&e.flipAxes,consumeMouseWheelIfScrollbarIsNeeded:void 0!==e.consumeMouseWheelIfScrollbarIsNeeded&&e.consumeMouseWheelIfScrollbarIsNeeded,alwaysConsumeMouseWheel:void 0!==e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:void 0!==e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:void 0!==e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==e.fastScrollSensitivity?e.fastScrollSensitivity:5,scrollPredominantAxis:void 0===e.scrollPredominantAxis||e.scrollPredominantAxis,mouseWheelSmoothScroll:void 0===e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:void 0!==e.arrowSize?e.arrowSize:11,listenOnDomNode:void 0!==e.listenOnDomNode?e.listenOnDomNode:null,horizontal:void 0!==e.horizontal?e.horizontal:1,horizontalScrollbarSize:void 0!==e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:void 0!==e.horizontalHasArrows&&e.horizontalHasArrows,vertical:void 0!==e.vertical?e.vertical:1,verticalScrollbarSize:void 0!==e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:void 0!==e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:void 0!==e.verticalSliderSize?e.verticalSliderSize:0,scrollByPage:void 0!==e.scrollByPage&&e.scrollByPage};return t.horizontalSliderSize=void 0!==e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize=void 0!==e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,p.dz&&(t.className+=" mac"),t}(t),this._scrollable=i,this._register(this._scrollable.onScroll(e=>{this._onWillScroll.fire(e),this._onDidScroll(e),this._onScroll.fire(e)}));let n={onMouseWheel:e=>this._onMouseWheel(e),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new b(this._scrollable,this._options,n)),this._horizontalScrollbar=this._register(new v(this._scrollable,this._options,n)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(e),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=(0,o.X)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=(0,o.X)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=(0,o.X)(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,e=>this._onMouseOver(e)),this.onmouseleave(this._listenOnDomNode,e=>this._onMouseLeave(e)),this._hideTimeout=this._register(new d._F),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=(0,c.B9)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarPointerDown(e){this._verticalScrollbar.delegatePointerDown(e)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(e){this._scrollable.setScrollDimensions(e,!1)}updateClassName(e){this._options.className=e,p.dz&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(e){void 0!==e.handleMouseWheel&&(this._options.handleMouseWheel=e.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),void 0!==e.mouseWheelScrollSensitivity&&(this._options.mouseWheelScrollSensitivity=e.mouseWheelScrollSensitivity),void 0!==e.fastScrollSensitivity&&(this._options.fastScrollSensitivity=e.fastScrollSensitivity),void 0!==e.scrollPredominantAxis&&(this._options.scrollPredominantAxis=e.scrollPredominantAxis),void 0!==e.horizontal&&(this._options.horizontal=e.horizontal),void 0!==e.vertical&&(this._options.vertical=e.vertical),void 0!==e.horizontalScrollbarSize&&(this._options.horizontalScrollbarSize=e.horizontalScrollbarSize),void 0!==e.verticalScrollbarSize&&(this._options.verticalScrollbarSize=e.verticalScrollbarSize),void 0!==e.scrollByPage&&(this._options.scrollByPage=e.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}delegateScrollFromMouseWheelEvent(e){this._onMouseWheel(new r.q(e))}_setListeningToMouseWheel(e){let t=this._mouseWheelToDispose.length>0;t!==e&&(this._mouseWheelToDispose=(0,c.B9)(this._mouseWheelToDispose),e&&this._mouseWheelToDispose.push(s.nm(this._listenOnDomNode,s.tw.MOUSE_WHEEL,e=>{this._onMouseWheel(new r.q(e))},{passive:!1})))}_onMouseWheel(e){var t;if(null===(t=e.browserEvent)||void 0===t?void 0:t.defaultPrevented)return;let i=S.INSTANCE;i.acceptStandardWheelEvent(e);let n=!1;if(e.deltaY||e.deltaX){let t=e.deltaY*this._options.mouseWheelScrollSensitivity,s=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(this._options.scrollYToX&&s+t===0?s=t=0:Math.abs(t)>=Math.abs(s)?s=0:t=0),this._options.flipAxes&&([t,s]=[s,t]);let o=!p.dz&&e.browserEvent&&e.browserEvent.shiftKey;(this._options.scrollYToX||o)&&!s&&(s=t,t=0),e.browserEvent&&e.browserEvent.altKey&&(s*=this._options.fastScrollSensitivity,t*=this._options.fastScrollSensitivity);let r=this._scrollable.getFutureScrollPosition(),l={};if(t){let e=50*t,i=r.scrollTop-(e<0?Math.floor(e):Math.ceil(e));this._verticalScrollbar.writeScrollPosition(l,i)}if(s){let e=50*s,t=r.scrollLeft-(e<0?Math.floor(e):Math.ceil(e));this._horizontalScrollbar.writeScrollPosition(l,t)}if(l=this._scrollable.validateScrollPosition(l),r.scrollLeft!==l.scrollLeft||r.scrollTop!==l.scrollTop){let e=this._options.mouseWheelSmoothScroll&&i.isPhysicalMouseWheel();e?this._scrollable.setScrollPositionSmooth(l):this._scrollable.setScrollPositionNow(l),n=!0}}let s=n;!s&&this._options.alwaysConsumeMouseWheel&&(s=!0),!s&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(s=!0),s&&(e.preventDefault(),e.stopPropagation())}_onDidScroll(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){let e=this._scrollable.getCurrentScrollPosition(),t=e.scrollTop>0,i=e.scrollLeft>0,n=i?" left":"",s=t?" top":"",o=i||t?" top-left-corner":"";this._leftShadowDomNode.setClassName(`shadow${n}`),this._topShadowDomNode.setClassName(`shadow${s}`),this._topLeftShadowDomNode.setClassName(`shadow${o}${s}${n}`)}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseLeave(e){this._mouseIsOver=!1,this._hide()}_onMouseOver(e){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet(()=>this._hide(),500)}}class k extends L{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;let i=new w.Rm({forceIntegerValues:!0,smoothScrollDuration:0,scheduleAtNextAnimationFrame:t=>s.jL(s.Jj(e),t)});super(e,t,i),this._register(i)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}}class D extends L{constructor(e,t,i){super(e,t,i)}setScrollPosition(e){e.reuseAnimation?this._scrollable.setScrollPositionSmooth(e,e.reuseAnimation):this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class x extends L{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;let i=new w.Rm({forceIntegerValues:!1,smoothScrollDuration:0,scheduleAtNextAnimationFrame:t=>s.jL(s.Jj(e),t)});super(e,t,i),this._register(i),this._element=e,this._register(this.onScroll(e=>{e.scrollTopChanged&&(this._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this._element.scrollLeft=e.scrollLeft)})),this.scanDomNode()}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}},4767:function(e,t,i){"use strict";i.d(t,{M:function(){return n}});class n{constructor(e,t,i,n,s,o){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(i),this._arrowSize=Math.round(e),this._visibleSize=n,this._scrollSize=s,this._scrollPosition=o,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new n(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(e){let t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)}setScrollSize(e){let t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)}setScrollPosition(e){let t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)}setScrollbarSize(e){this._scrollbarSize=Math.round(e)}setOppositeScrollbarSize(e){this._oppositeScrollbarSize=Math.round(e)}static _computeValues(e,t,i,n,s){let o=Math.max(0,i-e),r=Math.max(0,o-2*t),l=n>0&&n>i;if(!l)return{computedAvailableSize:Math.round(o),computedIsNeeded:l,computedSliderSize:Math.round(r),computedSliderRatio:0,computedSliderPosition:0};let a=Math.round(Math.max(20,Math.floor(i*r/n))),d=(r-a)/(n-i);return{computedAvailableSize:Math.round(o),computedIsNeeded:l,computedSliderSize:Math.round(a),computedSliderRatio:d,computedSliderPosition:Math.round(s*d)}}_refreshComputedValues(){let e=n._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=e.computedAvailableSize,this._computedIsNeeded=e.computedIsNeeded,this._computedSliderSize=e.computedSliderSize,this._computedSliderRatio=e.computedSliderRatio,this._computedSliderPosition=e.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(e){if(!this._computedIsNeeded)return 0;let t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(e){if(!this._computedIsNeeded)return 0;let t=e-this._arrowSize,i=this._scrollPosition;return t(0,l.jL)((0,l.Jj)(this.el),e)})),this.scrollableElement=this._register(new h.$Z(this.viewContainer,{vertical:0===this.orientation?null!==(r=t.scrollbarVisibility)&&void 0!==r?r:1:2,horizontal:1===this.orientation?null!==(d=t.scrollbarVisibility)&&void 0!==d?d:1:2},this.scrollable));let u=this._register(new a.Y(this.viewContainer,"scroll")).event;this._register(u(e=>{let t=this.scrollableElement.getScrollPosition(),i=1>=Math.abs(this.viewContainer.scrollLeft-t.scrollLeft)?void 0:this.viewContainer.scrollLeft,n=1>=Math.abs(this.viewContainer.scrollTop-t.scrollTop)?void 0:this.viewContainer.scrollTop;(void 0!==i||void 0!==n)&&this.scrollableElement.setScrollPosition({scrollLeft:i,scrollTop:n})})),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll(e=>{e.scrollTopChanged&&(this.viewContainer.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this.viewContainer.scrollLeft=e.scrollLeft)})),(0,l.R3)(this.el,this.scrollableElement.getDomNode()),this.style(t.styles||v),t.descriptor&&(this.size=t.descriptor.size,t.descriptor.views.forEach((e,t)=>{let i=_.o8(e.visible)||e.visible?e.size:{type:"invisible",cachedVisibleSize:e.size},n=e.view;this.doAddView(n,i,t,!0)}),this._contentSize=this.viewItems.reduce((e,t)=>e+t.size,0),this.saveProportions())}style(e){e.separatorBorder.isTransparent()?(this.el.classList.remove("separator-border"),this.el.style.removeProperty("--separator-border")):(this.el.classList.add("separator-border"),this.el.style.setProperty("--separator-border",e.separatorBorder.toString()))}addView(e,t,i=this.viewItems.length,n){this.doAddView(e,t,i,n)}layout(e,t){let i=Math.max(this.size,this._contentSize);if(this.size=e,this.layoutContext=t,this.proportions){let t=0;for(let i=0;i0&&(n.size=(0,m.uZ)(Math.round(s*e/t),n.minimumSize,n.maximumSize))}}else{let t=(0,u.w6)(this.viewItems.length),n=t.filter(e=>1===this.viewItems[e].priority),s=t.filter(e=>2===this.viewItems[e].priority);this.resize(this.viewItems.length-1,e-i,void 0,n,s)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this._contentSize>0&&(this.proportions=this.viewItems.map(e=>e.proportionalLayout&&e.visible?e.size/this._contentSize:void 0))}onSashStart({sash:e,start:t,alt:i}){for(let e of this.viewItems)e.enabled=!1;let n=this.sashItems.findIndex(t=>t.sash===e),s=(0,p.F8)((0,l.nm)(this.el.ownerDocument.body,"keydown",e=>o(this.sashDragState.current,e.altKey)),(0,l.nm)(this.el.ownerDocument.body,"keyup",()=>o(this.sashDragState.current,!1))),o=(e,t)=>{let i,o;let r=this.viewItems.map(e=>e.size),l=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(t=!t),t){let e=n===this.sashItems.length-1;if(e){let e=this.viewItems[n];l=(e.minimumSize-e.size)/2,a=(e.maximumSize-e.size)/2}else{let e=this.viewItems[n+1];l=(e.size-e.maximumSize)/2,a=(e.size-e.minimumSize)/2}}if(!t){let e=(0,u.w6)(n,-1),t=(0,u.w6)(n+1,this.viewItems.length),s=e.reduce((e,t)=>e+(this.viewItems[t].minimumSize-r[t]),0),l=e.reduce((e,t)=>e+(this.viewItems[t].viewMaximumSize-r[t]),0),a=0===t.length?Number.POSITIVE_INFINITY:t.reduce((e,t)=>e+(r[t]-this.viewItems[t].minimumSize),0),d=0===t.length?Number.NEGATIVE_INFINITY:t.reduce((e,t)=>e+(r[t]-this.viewItems[t].viewMaximumSize),0),h=Math.max(s,d),c=Math.min(a,l),g=this.findFirstSnapIndex(e),p=this.findFirstSnapIndex(t);if("number"==typeof g){let e=this.viewItems[g],t=Math.floor(e.viewMinimumSize/2);i={index:g,limitDelta:e.visible?h-t:h+t,size:e.size}}if("number"==typeof p){let e=this.viewItems[p],t=Math.floor(e.viewMinimumSize/2);o={index:p,limitDelta:e.visible?c+t:c-t,size:e.size}}}this.sashDragState={start:e,current:e,index:n,sizes:r,minDelta:l,maxDelta:a,alt:t,snapBefore:i,snapAfter:o,disposable:s}};o(t,i)}onSashChange({current:e}){let{index:t,start:i,sizes:n,alt:s,minDelta:o,maxDelta:r,snapBefore:l,snapAfter:a}=this.sashDragState;this.sashDragState.current=e;let d=this.resize(t,e-i,n,void 0,void 0,o,r,l,a);if(s){let e=t===this.sashItems.length-1,i=this.viewItems.map(e=>e.size),n=e?t:t+1,s=this.viewItems[n],o=s.size-s.maximumSize,r=s.size-s.minimumSize,l=e?t-1:t+1;this.resize(l,-d,i,void 0,void 0,o,r)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(e){for(let t of(this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions(),this.viewItems))t.enabled=!0}onViewChange(e,t){let i=this.viewItems.indexOf(e);i<0||i>=this.viewItems.length||(t="number"==typeof t?t:e.size,t=(0,m.uZ)(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&i>0?(this.resize(i-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout([i],void 0)))}resizeView(e,t){if(!(e<0)&&!(e>=this.viewItems.length)){if(this.state!==o.Idle)throw Error("Cant modify splitview");this.state=o.Busy;try{let i=(0,u.w6)(this.viewItems.length).filter(t=>t!==e),n=[...i.filter(e=>1===this.viewItems[e].priority),e],s=i.filter(e=>2===this.viewItems[e].priority),o=this.viewItems[e];t=Math.round(t),t=(0,m.uZ)(t,o.minimumSize,Math.min(o.maximumSize,this.size)),o.size=t,this.relayout(n,s)}finally{this.state=o.Idle}}}distributeViewSizes(){let e=[],t=0;for(let i of this.viewItems)i.maximumSize-i.minimumSize>0&&(e.push(i),t+=i.size);let i=Math.floor(t/e.length);for(let t of e)t.size=(0,m.uZ)(i,t.minimumSize,t.maximumSize);let n=(0,u.w6)(this.viewItems.length),s=n.filter(e=>1===this.viewItems[e].priority),o=n.filter(e=>2===this.viewItems[e].priority);this.relayout(s,o)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}doAddView(e,t,i=this.viewItems.length,n){if(this.state!==o.Idle)throw Error("Cant modify splitview");this.state=o.Busy;try{let s,o;let r=(0,l.$)(".split-view-view");i===this.viewItems.length?this.viewContainer.appendChild(r):this.viewContainer.insertBefore(r,this.viewContainer.children.item(i));let a=e.onDidChange(e=>this.onViewChange(m,e)),h=(0,p.OF)(()=>this.viewContainer.removeChild(r)),c=(0,p.F8)(a,h);"number"==typeof t?s=t:("auto"===t.type&&(t=this.areViewsDistributed()?{type:"distribute"}:{type:"split",index:t.index}),s="split"===t.type?this.getViewSize(t.index)/2:"invisible"===t.type?{cachedVisibleSize:t.cachedVisibleSize}:e.minimumSize);let m=0===this.orientation?new C(r,e,s,c):new w(r,e,s,c);if(this.viewItems.splice(i,0,m),this.viewItems.length>1){let e={orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash},t=0===this.orientation?new d.g(this.sashContainer,{getHorizontalSashTop:e=>this.getSashPosition(e),getHorizontalSashWidth:this.getSashOrthogonalSize},{...e,orientation:1}):new d.g(this.sashContainer,{getVerticalSashLeft:e=>this.getSashPosition(e),getVerticalSashHeight:this.getSashOrthogonalSize},{...e,orientation:0}),n=0===this.orientation?e=>({sash:t,start:e.startY,current:e.currentY,alt:e.altKey}):e=>({sash:t,start:e.startX,current:e.currentX,alt:e.altKey}),s=g.ju.map(t.onDidStart,n),o=s(this.onSashStart,this),r=g.ju.map(t.onDidChange,n),l=r(this.onSashChange,this),a=g.ju.map(t.onDidEnd,()=>this.sashItems.findIndex(e=>e.sash===t)),h=a(this.onSashEnd,this),c=t.onDidReset(()=>{let e=this.sashItems.findIndex(e=>e.sash===t),i=(0,u.w6)(e,-1),n=(0,u.w6)(e+1,this.viewItems.length),s=this.findFirstSnapIndex(i),o=this.findFirstSnapIndex(n);("number"!=typeof s||this.viewItems[s].visible)&&("number"!=typeof o||this.viewItems[o].visible)&&this._onDidSashReset.fire(e)}),m=(0,p.F8)(o,l,h,c,t);this.sashItems.splice(i-1,0,{sash:t,disposable:m})}r.appendChild(e.element),"number"!=typeof t&&"split"===t.type&&(o=[t.index]),n||this.relayout([i],o),n||"number"==typeof t||"distribute"!==t.type||this.distributeViewSizes()}finally{this.state=o.Idle}}relayout(e,t){let i=this.viewItems.reduce((e,t)=>e+t.size,0);this.resize(this.viewItems.length-1,this.size-i,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(e,t,i=this.viewItems.map(e=>e.size),n,s,o=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY,l,a){if(e<0||e>=this.viewItems.length)return 0;let d=(0,u.w6)(e,-1),h=(0,u.w6)(e+1,this.viewItems.length);if(s)for(let e of s)(0,u.zI)(d,e),(0,u.zI)(h,e);if(n)for(let e of n)(0,u.al)(d,e),(0,u.al)(h,e);let c=d.map(e=>this.viewItems[e]),g=d.map(e=>i[e]),p=h.map(e=>this.viewItems[e]),f=h.map(e=>i[e]),_=d.reduce((e,t)=>e+(this.viewItems[t].minimumSize-i[t]),0),v=d.reduce((e,t)=>e+(this.viewItems[t].maximumSize-i[t]),0),b=0===h.length?Number.POSITIVE_INFINITY:h.reduce((e,t)=>e+(i[t]-this.viewItems[t].minimumSize),0),C=0===h.length?Number.NEGATIVE_INFINITY:h.reduce((e,t)=>e+(i[t]-this.viewItems[t].maximumSize),0),w=Math.max(_,C,o),y=Math.min(b,v,r),S=!1;if(l){let e=this.viewItems[l.index],i=t>=l.limitDelta;S=i!==e.visible,e.setVisible(i,l.size)}if(!S&&a){let e=this.viewItems[a.index],i=te+t.size,0),i=this.size-t,n=(0,u.w6)(this.viewItems.length-1,-1),s=n.filter(e=>1===this.viewItems[e].priority),o=n.filter(e=>2===this.viewItems[e].priority);for(let e of o)(0,u.zI)(n,e);for(let e of s)(0,u.al)(n,e);"number"==typeof e&&(0,u.al)(n,e);for(let e=0;0!==i&&ee+t.size,0);let e=0;for(let t of this.viewItems)t.layout(e,this.layoutContext),e+=t.size;this.sashItems.forEach(e=>e.sash.layout()),this.updateSashEnablement(),this.updateScrollableElement()}updateScrollableElement(){0===this.orientation?this.scrollableElement.setScrollDimensions({height:this.size,scrollHeight:this._contentSize}):this.scrollableElement.setScrollDimensions({width:this.size,scrollWidth:this._contentSize})}updateSashEnablement(){let e=!1,t=this.viewItems.map(t=>e=t.size-t.minimumSize>0||e);e=!1;let i=this.viewItems.map(t=>e=t.maximumSize-t.size>0||e),n=[...this.viewItems].reverse();e=!1;let s=n.map(t=>e=t.size-t.minimumSize>0||e).reverse();e=!1;let o=n.map(t=>e=t.maximumSize-t.size>0||e).reverse(),r=0;for(let e=0;e0||this.startSnappingEnabled)?n.state=1:h&&t[e]&&(r0)break;if(!e.visible&&e.snap)return t}}areViewsDistributed(){let e,t;for(let i of this.viewItems)if(e=void 0===e?i.size:Math.min(e,i.size),(t=void 0===t?i.size:Math.max(t,i.size))-e>2)return!1;return!0}dispose(){var e;null===(e=this.sashDragState)||void 0===e||e.disposable.dispose(),(0,p.B9)(this.viewItems),this.viewItems=[],this.sashItems.forEach(e=>e.disposable.dispose()),this.sashItems=[],super.dispose()}}},74571:function(e,t,i){"use strict";i.d(t,{D:function(){return a},Z:function(){return d}});var n=i(95021),s=i(29527),o=i(79915);i(93897);var r=i(82905),l=i(85432);let a={inputActiveOptionBorder:"#007ACC00",inputActiveOptionForeground:"#FFFFFF",inputActiveOptionBackground:"#0E639C50"};class d extends n.${constructor(e){var t;super(),this._onChange=this._register(new o.Q5),this.onChange=this._onChange.event,this._onKeyDown=this._register(new o.Q5),this.onKeyDown=this._onKeyDown.event,this._opts=e,this._checked=this._opts.isChecked;let i=["monaco-custom-toggle"];this._opts.icon&&(this._icon=this._opts.icon,i.push(...s.k.asClassNameArray(this._icon))),this._opts.actionClassName&&i.push(...this._opts.actionClassName.split(" ")),this._checked&&i.push("checked"),this.domNode=document.createElement("div"),this._hover=this._register((0,l.B)().setupUpdatableHover(null!==(t=e.hoverDelegate)&&void 0!==t?t:(0,r.tM)("mouse"),this.domNode,this._opts.title)),this.domNode.classList.add(...i),this._opts.notFocusable||(this.domNode.tabIndex=0),this.domNode.setAttribute("role","checkbox"),this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.setAttribute("aria-label",this._opts.title),this.applyStyles(),this.onclick(this.domNode,e=>{this.enabled&&(this.checked=!this._checked,this._onChange.fire(!1),e.preventDefault())}),this._register(this.ignoreGesture(this.domNode)),this.onkeydown(this.domNode,e=>{if(10===e.keyCode||3===e.keyCode){this.checked=!this._checked,this._onChange.fire(!0),e.preventDefault(),e.stopPropagation();return}this._onKeyDown.fire(e)})}get enabled(){return"true"!==this.domNode.getAttribute("aria-disabled")}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.classList.toggle("checked",this._checked),this.applyStyles()}width(){return 22}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder||"",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground||"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground||"")}enable(){this.domNode.setAttribute("aria-disabled",String(!1))}disable(){this.domNode.setAttribute("aria-disabled",String(!0))}}},7374:function(e,t,i){"use strict";i.d(t,{CH:function(){return Z},E4:function(){return r},Zd:function(){return a},cz:function(){return M},sZ:function(){return l}});var n,s,o,r,l,a,d=i(81845);i(21887);var h=i(69629);i(21489),i(49544);var u=i(37690),c=i(78438),g=i(56240),p=i(74571),m=i(94936),f=i(68712);i(76886);var _=i(40789),v=i(44532),b=i(47039),C=i(29527),w=i(10289),y=i(79915),S=i(79814),L=i(70784),k=i(39175),D=i(24162);i(21805);var x=i(82801);i(82905);var N=i(43495);class E extends c.kX{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function I(e){return e instanceof c.kX?new E(e):e}class T{constructor(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=L.JT.None,this.disposables=new L.SL}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){var i,n;null===(n=(i=this.dnd).onDragStart)||void 0===n||n.call(i,I(e),t)}onDragOver(e,t,i,n,s,o=!0){let r=this.dnd.onDragOver(I(e),t&&t.element,i,n,s),l=this.autoExpandNode!==t;if(l&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),void 0===t)return r;if(l&&"boolean"!=typeof r&&r.autoExpand&&(this.autoExpandDisposable=(0,v.Vg)(()=>{let e=this.modelProvider(),i=e.getNodeLocation(t);e.isCollapsed(i)&&e.setCollapsed(i,!1),this.autoExpandNode=void 0},500,this.disposables)),"boolean"==typeof r||!r.accept||void 0===r.bubble||r.feedback){if(!o){let e="boolean"==typeof r?r:r.accept,t="boolean"==typeof r?void 0:r.effect;return{accept:e,effect:t,feedback:[i]}}return r}if(1===r.bubble){let i=this.modelProvider(),o=i.getNodeLocation(t),r=i.getParentNodeLocation(o),l=i.getNode(r),a=r&&i.getListIndex(r);return this.onDragOver(e,l,a,n,s,!1)}let a=this.modelProvider(),d=a.getNodeLocation(t),h=a.getListIndex(d),u=a.getListRenderCount(d);return{...r,feedback:(0,_.w6)(h,h+u)}}drop(e,t,i,n,s){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(I(e),t&&t.element,i,n,s)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}dispose(){this.disposables.dispose(),this.dnd.dispose()}}class M{constructor(e){this.delegate=e}getHeight(e){return this.delegate.getHeight(e.element)}getTemplateId(e){return this.delegate.getTemplateId(e.element)}hasDynamicHeight(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)}setDynamicHeight(e,t){var i,n;null===(n=(i=this.delegate).setDynamicHeight)||void 0===n||n.call(i,e.element,t)}}(n=r||(r={})).None="none",n.OnHover="onHover",n.Always="always";class R{get elements(){return this._elements}constructor(e,t=[]){this._elements=t,this.disposables=new L.SL,this.onDidChange=y.ju.forEach(e,e=>this._elements=e,this.disposables)}dispose(){this.disposables.dispose()}}class A{constructor(e,t,i,n,s,o={}){var r;this.renderer=e,this.modelProvider=t,this.activeNodes=n,this.renderedIndentGuides=s,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=A.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.activeIndentNodes=new Set,this.indentGuidesDisposable=L.JT.None,this.disposables=new L.SL,this.templateId=e.templateId,this.updateOptions(o),y.ju.map(i,e=>e.node)(this.onDidChangeNodeTwistieState,this,this.disposables),null===(r=e.onDidChangeTwistieState)||void 0===r||r.call(e,this.onDidChangeTwistieState,this,this.disposables)}updateOptions(e={}){if(void 0!==e.indent){let t=(0,k.uZ)(e.indent,0,40);if(t!==this.indent)for(let[e,i]of(this.indent=t,this.renderedNodes))this.renderTreeElement(e,i)}if(void 0!==e.renderIndentGuides){let t=e.renderIndentGuides!==r.None;if(t!==this.shouldRenderIndentGuides){for(let[e,i]of(this.shouldRenderIndentGuides=t,this.renderedNodes))this._renderIndentGuides(e,i);if(this.indentGuidesDisposable.dispose(),t){let e=new L.SL;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,e),this.indentGuidesDisposable=e,this._onDidChangeActiveNodes(this.activeNodes.elements)}}}void 0!==e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)}renderTemplate(e){let t=(0,d.R3)(e,(0,d.$)(".monaco-tl-row")),i=(0,d.R3)(t,(0,d.$)(".monaco-tl-indent")),n=(0,d.R3)(t,(0,d.$)(".monaco-tl-twistie")),s=(0,d.R3)(t,(0,d.$)(".monaco-tl-contents")),o=this.renderer.renderTemplate(s);return{container:e,indent:i,twistie:n,indentGuidesDisposable:L.JT.None,templateData:o}}renderElement(e,t,i,n){this.renderedNodes.set(e,i),this.renderedElements.set(e.element,e),this.renderTreeElement(e,i),this.renderer.renderElement(e,t,i.templateData,n)}disposeElement(e,t,i,n){var s,o;i.indentGuidesDisposable.dispose(),null===(o=(s=this.renderer).disposeElement)||void 0===o||o.call(s,e,t,i.templateData,n),"number"==typeof n&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}onDidChangeTwistieState(e){let t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)}onDidChangeNodeTwistieState(e){let t=this.renderedNodes.get(e);t&&(this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderTreeElement(e,t))}renderTreeElement(e,t){let i=A.DefaultIndent+(e.depth-1)*this.indent;t.twistie.style.paddingLeft=`${i}px`,t.indent.style.width=`${i+this.indent-16}px`,e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded"),t.twistie.classList.remove(...C.k.asClassNameArray(b.l.treeItemExpanded));let n=!1;this.renderer.renderTwistie&&(n=this.renderer.renderTwistie(e.element,t.twistie)),e.collapsible&&(!this.hideTwistiesOfChildlessElements||e.visibleChildrenCount>0)?(n||t.twistie.classList.add(...C.k.asClassNameArray(b.l.treeItemExpanded)),t.twistie.classList.add("collapsible"),t.twistie.classList.toggle("collapsed",e.collapsed)):t.twistie.classList.remove("collapsible","collapsed"),this._renderIndentGuides(e,t)}_renderIndentGuides(e,t){if((0,d.PO)(t.indent),t.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;let i=new L.SL,n=this.modelProvider();for(;;){let s=n.getNodeLocation(e),o=n.getParentNodeLocation(s);if(!o)break;let r=n.getNode(o),l=(0,d.$)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(r)&&l.classList.add("active"),0===t.indent.childElementCount?t.indent.appendChild(l):t.indent.insertBefore(l,t.indent.firstElementChild),this.renderedIndentGuides.add(r,l),i.add((0,L.OF)(()=>this.renderedIndentGuides.delete(r,l))),e=r}t.indentGuidesDisposable=i}_onDidChangeActiveNodes(e){if(!this.shouldRenderIndentGuides)return;let t=new Set,i=this.modelProvider();e.forEach(e=>{let n=i.getNodeLocation(e);try{let s=i.getParentNodeLocation(n);e.collapsible&&e.children.length>0&&!e.collapsed?t.add(e):s&&t.add(i.getNode(s))}catch(e){}}),this.activeIndentNodes.forEach(e=>{t.has(e)||this.renderedIndentGuides.forEach(e,e=>e.classList.remove("active"))}),t.forEach(e=>{this.activeIndentNodes.has(e)||this.renderedIndentGuides.forEach(e,e=>e.classList.add("active"))}),this.activeIndentNodes=t}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),(0,L.B9)(this.disposables)}}A.DefaultIndent=8;class P{get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}constructor(e,t,i){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=i,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new L.SL,e.onWillRefilter(this.reset,this,this.disposables)}filter(e,t){let i=1;if(this._filter){let n=this._filter.filter(e,t);if(0===(i="boolean"==typeof n?n?1:0:(0,m.gB)(n)?(0,m.aG)(n.visibility):n))return!1}if(this._totalCount++,!this._pattern)return this._matchCount++,{data:S.CL.Default,visibility:i};let n=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),s=Array.isArray(n)?n:[n];for(let e of s){let t;let n=e&&e.toString();if(void 0===n)return{data:S.CL.Default,visibility:i};if(this.tree.findMatchType===a.Contiguous){let e=n.toLowerCase().indexOf(this._lowercasePattern);if(e>-1){t=[Number.MAX_SAFE_INTEGER,0];for(let i=this._lowercasePattern.length;i>0;i--)t.push(e+i-1)}}else t=(0,S.EW)(this._pattern,this._lowercasePattern,0,n,n.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});if(t)return this._matchCount++,1===s.length?{data:t,visibility:i}:{data:{label:n,score:t},visibility:i}}return this.tree.findMode!==l.Filter?{data:S.CL.Default,visibility:i}:"number"==typeof this.tree.options.defaultFindVisibility?this.tree.options.defaultFindVisibility:this.tree.options.defaultFindVisibility?this.tree.options.defaultFindVisibility(e):2}reset(){this._totalCount=0,this._matchCount=0}dispose(){(0,L.B9)(this.disposables)}}u.g4,p.D,(s=l||(l={}))[s.Highlight=0]="Highlight",s[s.Filter=1]="Filter",(o=a||(a={}))[o.Fuzzy=0]="Fuzzy",o[o.Contiguous=1]="Contiguous";class O{get pattern(){return this._pattern}get mode(){return this._mode}set mode(e){e!==this._mode&&(this._mode=e,this.widget&&(this.widget.mode=this._mode),this.tree.refilter(),this.render(),this._onDidChangeMode.fire(e))}get matchType(){return this._matchType}set matchType(e){e!==this._matchType&&(this._matchType=e,this.widget&&(this.widget.matchType=this._matchType),this.tree.refilter(),this.render(),this._onDidChangeMatchType.fire(e))}constructor(e,t,i,n,s,o={}){var r,d;this.tree=e,this.view=i,this.filter=n,this.contextViewProvider=s,this.options=o,this._pattern="",this.width=0,this._onDidChangeMode=new y.Q5,this.onDidChangeMode=this._onDidChangeMode.event,this._onDidChangeMatchType=new y.Q5,this.onDidChangeMatchType=this._onDidChangeMatchType.event,this._onDidChangePattern=new y.Q5,this._onDidChangeOpenState=new y.Q5,this.onDidChangeOpenState=this._onDidChangeOpenState.event,this.enabledDisposables=new L.SL,this.disposables=new L.SL,this._mode=null!==(r=e.options.defaultFindMode)&&void 0!==r?r:l.Highlight,this._matchType=null!==(d=e.options.defaultFindMatchType)&&void 0!==d?d:a.Fuzzy,t.onDidSplice(this.onDidSpliceModel,this,this.disposables)}updateOptions(e={}){void 0!==e.defaultFindMode&&(this.mode=e.defaultFindMode),void 0!==e.defaultFindMatchType&&(this.matchType=e.defaultFindMatchType)}onDidSpliceModel(){this.widget&&0!==this.pattern.length&&(this.tree.refilter(),this.render())}render(){var e,t,i,n;let s=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&s?null===(e=this.tree.options.showNotFoundMessage)||void 0===e||e?null===(t=this.widget)||void 0===t||t.showMessage({type:2,content:(0,x.NC)("not found","No elements found.")}):null===(i=this.widget)||void 0===i||i.showMessage({type:2}):null===(n=this.widget)||void 0===n||n.clearMessage()}shouldAllowFocus(e){return!this.widget||!this.pattern||this.filter.totalCount>0&&this.filter.matchCount<=1||!S.CL.isDefault(e.filterData)}layout(e){var t;this.width=e,null===(t=this.widget)||void 0===t||t.layout(e)}dispose(){this._history=void 0,this._onDidChangePattern.dispose(),this.enabledDisposables.dispose(),this.disposables.dispose()}}function F(e,t){return e.position===t.position&&B(e,t)}function B(e,t){return e.node.element===t.node.element&&e.startIndex===t.startIndex&&e.height===t.height&&e.endIndex===t.endIndex}class W{constructor(e=[]){this.stickyNodes=e}get count(){return this.stickyNodes.length}equal(e){return(0,_.fS)(this.stickyNodes,e.stickyNodes,F)}lastNodePartiallyVisible(){if(0===this.count)return!1;let e=this.stickyNodes[this.count-1];if(1===this.count)return 0!==e.position;let t=this.stickyNodes[this.count-2];return t.position+t.height!==e.position}animationStateChanged(e){if(!(0,_.fS)(this.stickyNodes,e.stickyNodes,B)||0===this.count)return!1;let t=this.stickyNodes[this.count-1],i=e.stickyNodes[e.count-1];return t.position!==i.position}}class H{constrainStickyScrollNodes(e,t,i){for(let n=0;ni||n>=t)return e.slice(0,n)}return e}}class V extends L.JT{constructor(e,t,i,n,s,o={}){var r;super(),this.tree=e,this.model=t,this.view=i,this.treeDelegate=s,this.maxWidgetViewRatio=.4;let l=this.validateStickySettings(o);this.stickyScrollMaxItemCount=l.stickyScrollMaxItemCount,this.stickyScrollDelegate=null!==(r=o.stickyScrollDelegate)&&void 0!==r?r:new H,this._widget=this._register(new z(i.getScrollableElement(),i,e,n,s,o.accessibilityProvider)),this.onDidChangeHasFocus=this._widget.onDidChangeHasFocus,this.onContextMenu=this._widget.onContextMenu,this._register(i.onDidScroll(()=>this.update())),this._register(i.onDidChangeContentHeight(()=>this.update())),this._register(e.onDidChangeCollapseState(()=>this.update())),this.update()}get height(){return this._widget.height}getNodeAtHeight(e){let t;if(!((t=0===e?this.view.firstVisibleIndex:this.view.indexAt(e+this.view.scrollTop))<0)&&!(t>=this.view.length))return this.view.element(t)}update(){let e=this.getNodeAtHeight(0);if(!e||0===this.tree.scrollTop){this._widget.setState(void 0);return}let t=this.findStickyState(e);this._widget.setState(t)}findStickyState(e){let t=[],i=e,n=0,s=this.getNextStickyNode(i,void 0,n);for(;s&&(t.push(s),n+=s.height,!(t.length<=this.stickyScrollMaxItemCount)||(i=this.getNextVisibleNode(s)));)s=this.getNextStickyNode(i,s.node,n);let o=this.constrainStickyNodes(t);return o.length?new W(o):void 0}getNextVisibleNode(e){return this.getNodeAtHeight(e.position+e.height)}getNextStickyNode(e,t,i){let n=this.getAncestorUnderPrevious(e,t);if(!(!n||n===e&&(!this.nodeIsUncollapsedParent(e)||this.nodeTopAlignsWithStickyNodesBottom(e,i))))return this.createStickyScrollNode(n,i)}nodeTopAlignsWithStickyNodesBottom(e,t){let i=this.getNodeIndex(e),n=this.view.getElementTop(i);return this.view.scrollTop===n-t}createStickyScrollNode(e,t){let i=this.treeDelegate.getHeight(e),{startIndex:n,endIndex:s}=this.getNodeRange(e),o=this.calculateStickyNodePosition(s,t,i);return{node:e,position:o,height:i,startIndex:n,endIndex:s}}getAncestorUnderPrevious(e,t){let i=e,n=this.getParentNode(i);for(;n;){if(n===t)return i;i=n,n=this.getParentNode(i)}if(void 0===t)return i}calculateStickyNodePosition(e,t,i){let n=this.view.getRelativeTop(e);if(null===n&&this.view.firstVisibleIndex===e&&e+1l&&t<=l?l-i:t}constrainStickyNodes(e){if(0===e.length)return[];let t=this.view.renderHeight*this.maxWidgetViewRatio,i=e[e.length-1];if(e.length<=this.stickyScrollMaxItemCount&&i.position+i.height<=t)return e;let n=this.stickyScrollDelegate.constrainStickyScrollNodes(e,this.stickyScrollMaxItemCount,t);if(!n.length)return[];let s=n[n.length-1];if(n.length>this.stickyScrollMaxItemCount||s.position+s.height>t)throw Error("stickyScrollDelegate violates constraints");return n}getParentNode(e){let t=this.model.getNodeLocation(e),i=this.model.getParentNodeLocation(t);return i?this.model.getNode(i):void 0}nodeIsUncollapsedParent(e){let t=this.model.getNodeLocation(e);return this.model.getListRenderCount(t)>1}getNodeIndex(e){let t=this.model.getNodeLocation(e),i=this.model.getListIndex(t);return i}getNodeRange(e){let t=this.model.getNodeLocation(e),i=this.model.getListIndex(t);if(i<0)throw Error("Node not found in tree");let n=this.model.getListRenderCount(t);return{startIndex:i,endIndex:i+n-1}}nodePositionTopBelowWidget(e){let t=[],i=this.getParentNode(e);for(;i;)t.push(i),i=this.getParentNode(i);let n=0;for(let e=0;e0,i=!!e&&e.count>0;if(!t&&!i||t&&i&&this._previousState.equal(e))return;if(t!==i&&this.setVisible(i),!i){this._previousState=void 0,this._previousElements=[],this._previousStateDisposables.clear();return}let n=e.stickyNodes[e.count-1];if(this._previousState&&e.animationStateChanged(this._previousState))this._previousElements[this._previousState.count-1].style.top=`${n.position}px`;else{this._previousStateDisposables.clear();let t=Array(e.count);for(let i=e.count-1;i>=0;i--){let n=e.stickyNodes[i],{element:s,disposable:o}=this.createElement(n,i,e.count);t[i]=s,this._rootDomNode.appendChild(s),this._previousStateDisposables.add(o)}this.stickyScrollFocus.updateElements(t,e),this._previousElements=t}this._previousState=e,this._rootDomNode.style.height=`${n.position+n.height}px`}createElement(e,t,i){let n=e.startIndex,s=document.createElement("div");s.style.top=`${e.position}px`,!1!==this.tree.options.setRowHeight&&(s.style.height=`${e.height}px`),!1!==this.tree.options.setRowLineHeight&&(s.style.lineHeight=`${e.height}px`),s.classList.add("monaco-tree-sticky-row"),s.classList.add("monaco-list-row"),s.setAttribute("data-index",`${n}`),s.setAttribute("data-parity",n%2==0?"even":"odd"),s.setAttribute("id",this.view.getElementID(n));let o=this.setAccessibilityAttributes(s,e.node.element,t,i),r=this.treeDelegate.getTemplateId(e.node),l=this.treeRenderers.find(e=>e.templateId===r);if(!l)throw Error(`No renderer found for template id ${r}`);let a=e.node;a===this.tree.getNode(this.tree.getNodeLocation(e.node))&&(a=new Proxy(e.node,{}));let d=l.renderTemplate(s);l.renderElement(a,e.startIndex,d,e.height);let h=(0,L.OF)(()=>{o.dispose(),l.disposeElement(a,e.startIndex,d,e.height),l.disposeTemplate(d),s.remove()});return{element:s,disposable:h}}setAccessibilityAttributes(e,t,i,n){var s;if(!this.accessibilityProvider)return L.JT.None;this.accessibilityProvider.getSetSize&&e.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(t,i,n))),this.accessibilityProvider.getPosInSet&&e.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(t,i))),this.accessibilityProvider.getRole&&e.setAttribute("role",null!==(s=this.accessibilityProvider.getRole(t))&&void 0!==s?s:"treeitem");let o=this.accessibilityProvider.getAriaLabel(t),r=o&&"string"!=typeof o?o:(0,N.Dz)(o),l=(0,N.EH)(t=>{let i=t.readObservable(r);i?e.setAttribute("aria-label",i):e.removeAttribute("aria-label")});"string"==typeof o||o&&e.setAttribute("aria-label",o.get());let a=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(t);return"number"==typeof a&&e.setAttribute("aria-level",`${a}`),e.setAttribute("aria-selected",String(!1)),l}setVisible(e){this._rootDomNode.classList.toggle("empty",!e),e||this.stickyScrollFocus.updateElements([],void 0)}domFocus(){this.stickyScrollFocus.domFocus()}focusedLast(){return this.stickyScrollFocus.focusedLast()}dispose(){this.stickyScrollFocus.dispose(),this._previousStateDisposables.dispose(),this._rootDomNode.remove()}}class K extends L.JT{get domHasFocus(){return this._domHasFocus}set domHasFocus(e){e!==this._domHasFocus&&(this._onDidChangeHasFocus.fire(e),this._domHasFocus=e)}constructor(e,t){super(),this.container=e,this.view=t,this.focusedIndex=-1,this.elements=[],this._onDidChangeHasFocus=new y.Q5,this.onDidChangeHasFocus=this._onDidChangeHasFocus.event,this._onContextMenu=new y.Q5,this.onContextMenu=this._onContextMenu.event,this._domHasFocus=!1,this.container.addEventListener("focus",()=>this.onFocus()),this.container.addEventListener("blur",()=>this.onBlur()),this._register(this.view.onDidFocus(()=>this.toggleStickyScrollFocused(!1))),this._register(this.view.onKeyDown(e=>this.onKeyDown(e))),this._register(this.view.onMouseDown(e=>this.onMouseDown(e))),this._register(this.view.onContextMenu(e=>this.handleContextMenu(e)))}handleContextMenu(e){let t=e.browserEvent.target;if(!(0,g.xf)(t)&&!(0,g.Et)(t)){this.focusedLast()&&this.view.domFocus();return}if(!(0,d.vd)(e.browserEvent)){if(!this.state)throw Error("Context menu should not be triggered when state is undefined");let t=this.state.stickyNodes.findIndex(t=>{var i;return t.node.element===(null===(i=e.element)||void 0===i?void 0:i.element)});if(-1===t)throw Error("Context menu should not be triggered when element is not in sticky scroll widget");this.container.focus(),this.setFocus(t);return}if(!this.state||this.focusedIndex<0)throw Error("Context menu key should not be triggered when focus is not in sticky scroll widget");let i=this.state.stickyNodes[this.focusedIndex],n=i.node.element,s=this.elements[this.focusedIndex];this._onContextMenu.fire({element:n,anchor:s,browserEvent:e.browserEvent,isStickyScroll:!0})}onKeyDown(e){if(this.domHasFocus&&this.state){if("ArrowUp"===e.key)this.setFocusedElement(Math.max(0,this.focusedIndex-1)),e.preventDefault(),e.stopPropagation();else if("ArrowDown"===e.key||"ArrowRight"===e.key){if(this.focusedIndex>=this.state.count-1){let e=this.state.stickyNodes[this.state.count-1].startIndex+1;this.view.domFocus(),this.view.setFocus([e]),this.scrollNodeUnderWidget(e,this.state)}else this.setFocusedElement(this.focusedIndex+1);e.preventDefault(),e.stopPropagation()}}}onMouseDown(e){let t=e.browserEvent.target;((0,g.xf)(t)||(0,g.Et)(t))&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation())}updateElements(e,t){if(t&&0===t.count)throw Error("Sticky scroll state must be undefined when there are no sticky nodes");if(t&&t.count!==e.length)throw Error("Sticky scroll focus received illigel state");let i=this.focusedIndex;if(this.removeFocus(),this.elements=e,this.state=t,t){let e=(0,k.uZ)(i,0,t.count-1);this.setFocus(e)}else this.domHasFocus&&this.view.domFocus();this.container.tabIndex=t?0:-1}setFocusedElement(e){let t=this.state;if(!t)throw Error("Cannot set focus when state is undefined");if(this.setFocus(e),!(e1?t.stickyNodes[t.count-2]:void 0,s=this.view.getElementTop(e),o=n?n.position+n.height+i.height:i.height;this.view.scrollTop=s-o}domFocus(){if(!this.state)throw Error("Cannot focus when state is undefined");this.container.focus()}focusedLast(){return!!this.state&&this.view.getHTMLElement().classList.contains("sticky-scroll-focused")}removeFocus(){-1!==this.focusedIndex&&(this.toggleElementFocus(this.elements[this.focusedIndex],!1),this.focusedIndex=-1)}setFocus(e){if(0>e)throw Error("addFocus() can not remove focus");if(!this.state&&e>=0)throw Error("Cannot set focus index when state is undefined");if(this.state&&e>=this.state.count)throw Error("Cannot set focus index to an index that does not exist");let t=this.focusedIndex;t>=0&&this.toggleElementFocus(this.elements[t],!1),e>=0&&this.toggleElementFocus(this.elements[e],!0),this.focusedIndex=e}toggleElementFocus(e,t){this.toggleElementActiveFocus(e,t&&this.domHasFocus),this.toggleElementPassiveFocus(e,t)}toggleCurrentElementActiveFocus(e){-1!==this.focusedIndex&&this.toggleElementActiveFocus(this.elements[this.focusedIndex],e)}toggleElementActiveFocus(e,t){e.classList.toggle("focused",t)}toggleElementPassiveFocus(e,t){e.classList.toggle("passive-focused",t)}toggleStickyScrollFocused(e){this.view.getHTMLElement().classList.toggle("sticky-scroll-focused",e)}onFocus(){if(!this.state||0===this.elements.length)throw Error("Cannot focus when state is undefined or elements are empty");this.domHasFocus=!0,this.toggleStickyScrollFocused(!0),this.toggleCurrentElementActiveFocus(!0),-1===this.focusedIndex&&this.setFocus(0)}onBlur(){this.domHasFocus=!1,this.toggleCurrentElementActiveFocus(!1)}dispose(){this.toggleStickyScrollFocused(!1),this._onDidChangeHasFocus.fire(!1),super.dispose()}}function U(e){let t=f.sD.Unknown;return(0,d.uU)(e.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?t=f.sD.Twistie:(0,d.uU)(e.browserEvent.target,"monaco-tl-contents","monaco-tl-row")?t=f.sD.Element:(0,d.uU)(e.browserEvent.target,"monaco-tree-type-filter","monaco-list")&&(t=f.sD.Filter),{browserEvent:e.browserEvent,element:e.element?e.element.element:null,target:t}}function $(e){let t=(0,g.xf)(e.browserEvent.target);return{element:e.element?e.element.element:null,browserEvent:e.browserEvent,anchor:e.anchor,isStickyScroll:t}}function q(e,t){t(e),e.children.forEach(e=>q(e,t))}class j{get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}constructor(e,t){this.getFirstViewElementWithTrait=e,this.identityProvider=t,this.nodes=[],this._onDidChange=new y.Q5,this.onDidChange=this._onDidChange.event}set(e,t){!(null==t?void 0:t.__forceEvent)&&(0,_.fS)(this.nodes,e)||this._set(e,!1,t)}_set(e,t,i){if(this.nodes=[...e],this.elements=void 0,this._nodeSet=void 0,!t){let e=this;this._onDidChange.fire({get elements(){return e.get()},browserEvent:i})}}get(){return this.elements||(this.elements=this.nodes.map(e=>e.element)),[...this.elements]}getNodes(){return this.nodes}has(e){return this.nodeSet.has(e)}onDidModelSplice({insertedNodes:e,deletedNodes:t}){if(!this.identityProvider){let e=this.createNodeSet(),i=t=>e.delete(t);t.forEach(e=>q(e,i)),this.set([...e.values()]);return}let i=new Set,n=e=>i.add(this.identityProvider.getId(e.element).toString());t.forEach(e=>q(e,n));let s=new Map,o=e=>s.set(this.identityProvider.getId(e.element).toString(),e);e.forEach(e=>q(e,o));let r=[];for(let e of this.nodes){let t=this.identityProvider.getId(e.element).toString(),n=i.has(t);if(n){let e=s.get(t);e&&e.visible&&r.push(e)}else r.push(e)}if(this.nodes.length>0&&0===r.length){let e=this.getFirstViewElementWithTrait();e&&r.push(e)}this._set(r,!0)}createNodeSet(){let e=new Set;for(let t of this.nodes)e.add(t);return e}}class G extends g.sx{constructor(e,t,i){super(e),this.tree=t,this.stickyScrollProvider=i}onViewPointer(e){if((0,g.iK)(e.browserEvent.target)||(0,g.cK)(e.browserEvent.target)||(0,g.hD)(e.browserEvent.target)||e.browserEvent.isHandledByList)return;let t=e.element;if(!t||this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return super.onViewPointer(e);let i=e.browserEvent.target,n=i.classList.contains("monaco-tl-twistie")||i.classList.contains("monaco-icon-label")&&i.classList.contains("folder-icon")&&e.browserEvent.offsetX<16,s=(0,g.Et)(e.browserEvent.target),o=!1;if(o=!!s||("function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(t.element):!!this.tree.expandOnlyOnTwistieClick),s)this.handleStickyScrollMouseEvent(e,t);else if(o&&!n&&2!==e.browserEvent.detail||!this.tree.expandOnDoubleClick&&2===e.browserEvent.detail)return super.onViewPointer(e);if(t.collapsible&&(!s||n)){let i=this.tree.getNodeLocation(t),s=e.browserEvent.altKey;if(this.tree.setFocus([i]),this.tree.toggleCollapsed(i,s),n){e.browserEvent.isHandledByList=!0;return}}s||super.onViewPointer(e)}handleStickyScrollMouseEvent(e,t){if((0,g.$B)(e.browserEvent.target)||(0,g.dk)(e.browserEvent.target))return;let i=this.stickyScrollProvider();if(!i)throw Error("Sticky scroll controller not found");let n=this.list.indexOf(t),s=this.list.getElementTop(n),o=i.nodePositionTopBelowWidget(t);this.tree.scrollTop=s-o,this.list.domFocus(),this.list.setFocus([n]),this.list.setSelection([n])}onDoubleClick(e){let t=e.browserEvent.target.classList.contains("monaco-tl-twistie");t||!this.tree.expandOnDoubleClick||e.browserEvent.isHandledByList||super.onDoubleClick(e)}onMouseDown(e){let t=e.browserEvent.target;if(!(0,g.xf)(t)&&!(0,g.Et)(t)){super.onMouseDown(e);return}}onContextMenu(e){let t=e.browserEvent.target;if(!(0,g.xf)(t)&&!(0,g.Et)(t)){super.onContextMenu(e);return}}}class Q extends g.aV{constructor(e,t,i,n,s,o,r,l){super(e,t,i,n,l),this.focusTrait=s,this.selectionTrait=o,this.anchorTrait=r}createMouseController(e){return new G(this,e.tree,e.stickyScrollProvider)}splice(e,t,i=[]){let n;if(super.splice(e,t,i),0===i.length)return;let s=[],o=[];i.forEach((t,i)=>{this.focusTrait.has(t)&&s.push(e+i),this.selectionTrait.has(t)&&o.push(e+i),this.anchorTrait.has(t)&&(n=e+i)}),s.length>0&&super.setFocus((0,_.EB)([...super.getFocus(),...s])),o.length>0&&super.setSelection((0,_.EB)([...super.getSelection(),...o])),"number"==typeof n&&super.setAnchor(n)}setFocus(e,t,i=!1){super.setFocus(e,t),i||this.focusTrait.set(e.map(e=>this.element(e)),t)}setSelection(e,t,i=!1){super.setSelection(e,t),i||this.selectionTrait.set(e.map(e=>this.element(e)),t)}setAnchor(e,t=!1){super.setAnchor(e),t||(void 0===e?this.anchorTrait.set([]):this.anchorTrait.set([this.element(e)]))}}class Z{get onDidScroll(){return this.view.onDidScroll}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return y.ju.filter(y.ju.map(this.view.onMouseDblClick,U),e=>e.target!==f.sD.Filter)}get onMouseOver(){return y.ju.map(this.view.onMouseOver,U)}get onMouseOut(){return y.ju.map(this.view.onMouseOut,U)}get onContextMenu(){var e,t;return y.ju.any(y.ju.filter(y.ju.map(this.view.onContextMenu,$),e=>!e.isStickyScroll),null!==(t=null===(e=this.stickyScrollController)||void 0===e?void 0:e.onContextMenu)&&void 0!==t?t:y.ju.None)}get onPointer(){return y.ju.map(this.view.onPointer,U)}get onKeyDown(){return this.view.onKeyDown}get onDidFocus(){return this.view.onDidFocus}get onDidChangeModel(){return y.ju.signal(this.model.onDidSplice)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get findMode(){var e,t;return null!==(t=null===(e=this.findController)||void 0===e?void 0:e.mode)&&void 0!==t?t:l.Highlight}set findMode(e){this.findController&&(this.findController.mode=e)}get findMatchType(){var e,t;return null!==(t=null===(e=this.findController)||void 0===e?void 0:e.matchType)&&void 0!==t?t:a.Fuzzy}set findMatchType(e){this.findController&&(this.findController.matchType=e)}get expandOnDoubleClick(){return void 0===this._options.expandOnDoubleClick||this._options.expandOnDoubleClick}get expandOnlyOnTwistieClick(){return void 0===this._options.expandOnlyOnTwistieClick||this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}constructor(e,t,i,n,s={}){var o,l,a;let u;this._user=e,this._options=s,this.eventBufferer=new y.E7,this.onDidChangeFindOpenState=y.ju.None,this.onDidChangeStickyScrollFocused=y.ju.None,this.disposables=new L.SL,this._onWillRefilter=new y.Q5,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new y.Q5,this.treeDelegate=new M(i);let c=new y.ZD,p=new y.ZD,m=this.disposables.add(new R(p.event)),f=new w.ri;for(let e of(this.renderers=n.map(e=>new A(e,()=>this.model,c.event,m,f,s)),this.renderers))this.disposables.add(e);s.keyboardNavigationLabelProvider&&(u=new P(this,s.keyboardNavigationLabelProvider,s.filter),s={...s,filter:u},this.disposables.add(u)),this.focus=new j(()=>this.view.getFocusedElements()[0],s.identityProvider),this.selection=new j(()=>this.view.getSelectedElements()[0],s.identityProvider),this.anchor=new j(()=>this.view.getAnchorElement(),s.identityProvider),this.view=new Q(e,t,this.treeDelegate,this.renderers,this.focus,this.selection,this.anchor,{...(l=()=>this.model,(a=s)&&{...a,identityProvider:a.identityProvider&&{getId:e=>a.identityProvider.getId(e.element)},dnd:a.dnd&&new T(l,a.dnd),multipleSelectionController:a.multipleSelectionController&&{isSelectionSingleChangeEvent:e=>a.multipleSelectionController.isSelectionSingleChangeEvent({...e,element:e.element}),isSelectionRangeChangeEvent:e=>a.multipleSelectionController.isSelectionRangeChangeEvent({...e,element:e.element})},accessibilityProvider:a.accessibilityProvider&&{...a.accessibilityProvider,getSetSize(e){let t=l(),i=t.getNodeLocation(e),n=t.getParentNodeLocation(i),s=t.getNode(n);return s.visibleChildrenCount},getPosInSet:e=>e.visibleChildIndex+1,isChecked:a.accessibilityProvider&&a.accessibilityProvider.isChecked?e=>a.accessibilityProvider.isChecked(e.element):void 0,getRole:a.accessibilityProvider&&a.accessibilityProvider.getRole?e=>a.accessibilityProvider.getRole(e.element):()=>"treeitem",getAriaLabel:e=>a.accessibilityProvider.getAriaLabel(e.element),getWidgetAriaLabel:()=>a.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:a.accessibilityProvider&&a.accessibilityProvider.getWidgetRole?()=>a.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:a.accessibilityProvider&&a.accessibilityProvider.getAriaLevel?e=>a.accessibilityProvider.getAriaLevel(e.element):e=>e.depth,getActiveDescendantId:a.accessibilityProvider.getActiveDescendantId&&(e=>a.accessibilityProvider.getActiveDescendantId(e.element))},keyboardNavigationLabelProvider:a.keyboardNavigationLabelProvider&&{...a.keyboardNavigationLabelProvider,getKeyboardNavigationLabel:e=>a.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}}),tree:this,stickyScrollProvider:()=>this.stickyScrollController}),this.model=this.createModel(e,this.view,s),c.input=this.model.onDidChangeCollapseState;let _=y.ju.forEach(this.model.onDidSplice,e=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice(e),this.selection.onDidModelSplice(e)})},this.disposables);_(()=>null,null,this.disposables);let b=this.disposables.add(new y.Q5),C=this.disposables.add(new v.vp(0));if(this.disposables.add(y.ju.any(_,this.focus.onDidChange,this.selection.onDidChange)(()=>{C.trigger(()=>{let e=new Set;for(let t of this.focus.getNodes())e.add(t);for(let t of this.selection.getNodes())e.add(t);b.fire([...e.values()])})})),p.input=b.event,!1!==s.keyboardSupport){let e=y.ju.chain(this.view.onKeyDown,e=>e.filter(e=>!(0,g.cK)(e.target)).map(e=>new h.y(e)));y.ju.chain(e,e=>e.filter(e=>15===e.keyCode))(this.onLeftArrow,this,this.disposables),y.ju.chain(e,e=>e.filter(e=>17===e.keyCode))(this.onRightArrow,this,this.disposables),y.ju.chain(e,e=>e.filter(e=>10===e.keyCode))(this.onSpace,this,this.disposables)}if((null===(o=s.findWidgetEnabled)||void 0===o||o)&&s.keyboardNavigationLabelProvider&&s.contextViewProvider){let e=this.options.findWidgetStyles?{styles:this.options.findWidgetStyles}:void 0;this.findController=new O(this,this.model,this.view,u,s.contextViewProvider,e),this.focusNavigationFilter=e=>this.findController.shouldAllowFocus(e),this.onDidChangeFindOpenState=this.findController.onDidChangeOpenState,this.disposables.add(this.findController),this.onDidChangeFindMode=this.findController.onDidChangeMode,this.onDidChangeFindMatchType=this.findController.onDidChangeMatchType}else this.onDidChangeFindMode=y.ju.None,this.onDidChangeFindMatchType=y.ju.None;s.enableStickyScroll&&(this.stickyScrollController=new V(this,this.model,this.view,this.renderers,this.treeDelegate,s),this.onDidChangeStickyScrollFocused=this.stickyScrollController.onDidChangeHasFocus),this.styleElement=(0,d.dS)(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===r.Always)}updateOptions(e={}){var t;for(let t of(this._options={...this._options,...e},this.renderers))t.updateOptions(e);this.view.updateOptions(this._options),null===(t=this.findController)||void 0===t||t.updateOptions(e),this.updateStickyScroll(e),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===r.Always)}get options(){return this._options}updateStickyScroll(e){var t;!this.stickyScrollController&&this._options.enableStickyScroll?(this.stickyScrollController=new V(this,this.model,this.view,this.renderers,this.treeDelegate,this._options),this.onDidChangeStickyScrollFocused=this.stickyScrollController.onDidChangeHasFocus):this.stickyScrollController&&!this._options.enableStickyScroll&&(this.onDidChangeStickyScrollFocused=y.ju.None,this.stickyScrollController.dispose(),this.stickyScrollController=void 0),null===(t=this.stickyScrollController)||void 0===t||t.updateOptions(e)}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(e){this.view.scrollTop=e}get scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}get ariaLabel(){return this.view.ariaLabel}set ariaLabel(e){this.view.ariaLabel=e}domFocus(){var e;(null===(e=this.stickyScrollController)||void 0===e?void 0:e.focusedLast())?this.stickyScrollController.domFocus():this.view.domFocus()}layout(e,t){var i;this.view.layout(e,t),(0,D.hj)(t)&&(null===(i=this.findController)||void 0===i||i.layout(t))}style(e){var t,i;let n=`.${this.view.domId}`,s=[];e.treeIndentGuidesStroke&&(s.push(`.monaco-list${n}:hover .monaco-tl-indent > .indent-guide, .monaco-list${n}.always .monaco-tl-indent > .indent-guide { border-color: ${e.treeInactiveIndentGuidesStroke}; }`),s.push(`.monaco-list${n} .monaco-tl-indent > .indent-guide.active { border-color: ${e.treeIndentGuidesStroke}; }`));let o=null!==(t=e.treeStickyScrollBackground)&&void 0!==t?t:e.listBackground;o&&(s.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container { background-color: ${o}; }`),s.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row { background-color: ${o}; }`)),e.treeStickyScrollBorder&&s.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container { border-bottom: 1px solid ${e.treeStickyScrollBorder}; }`),e.treeStickyScrollShadow&&s.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-container-shadow { box-shadow: ${e.treeStickyScrollShadow} 0 6px 6px -6px inset; height: 3px; }`),e.listFocusForeground&&(s.push(`.monaco-list${n}.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),s.push(`.monaco-list${n}:not(.sticky-scroll-focused) .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.focused { color: inherit; }`));let r=(0,d.XT)(e.listFocusAndSelectionOutline,(0,d.XT)(e.listSelectionOutline,null!==(i=e.listFocusOutline)&&void 0!==i?i:""));r&&(s.push(`.monaco-list${n}.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container:focus .monaco-list-row.focused.selected { outline: 1px solid ${r}; outline-offset: -1px;}`),s.push(`.monaco-list${n}:not(.sticky-scroll-focused) .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.focused.selected { outline: inherit;}`)),e.listFocusOutline&&(s.push(`.monaco-list${n}.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }`),s.push(`.monaco-list${n}:not(.sticky-scroll-focused) .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.focused { outline: inherit; }`),s.push(`.monaco-workbench.context-menu-visible .monaco-list${n}.last-focused.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.passive-focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }`),s.push(`.monaco-workbench.context-menu-visible .monaco-list${n}.last-focused.sticky-scroll-focused .monaco-list-rows .monaco-list-row.focused { outline: inherit; }`),s.push(`.monaco-workbench.context-menu-visible .monaco-list${n}.last-focused:not(.sticky-scroll-focused) .monaco-tree-sticky-container .monaco-list-rows .monaco-list-row.focused { outline: inherit; }`)),this.styleElement.textContent=s.join("\n"),this.view.style(e)}getParentElement(e){let t=this.model.getParentNodeLocation(e),i=this.model.getNode(t);return i.element}getFirstElementChild(e){return this.model.getFirstElementChild(e)}getNode(e){return this.model.getNode(e)}getNodeLocation(e){return this.model.getNodeLocation(e)}collapse(e,t=!1){return this.model.setCollapsed(e,!0,t)}expand(e,t=!1){return this.model.setCollapsed(e,!1,t)}toggleCollapsed(e,t=!1){return this.model.setCollapsed(e,void 0,t)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(e,t){this.eventBufferer.bufferEvents(()=>{let i=e.map(e=>this.model.getNode(e));this.selection.set(i,t);let n=e.map(e=>this.model.getListIndex(e)).filter(e=>e>-1);this.view.setSelection(n,t,!0)})}getSelection(){return this.selection.get()}setFocus(e,t){this.eventBufferer.bufferEvents(()=>{let i=e.map(e=>this.model.getNode(e));this.focus.set(i,t);let n=e.map(e=>this.model.getListIndex(e)).filter(e=>e>-1);this.view.setFocus(n,t,!0)})}focusNext(e=1,t=!1,i,n=(0,d.vd)(i)&&i.altKey?void 0:this.focusNavigationFilter){this.view.focusNext(e,t,i,n)}focusPrevious(e=1,t=!1,i,n=(0,d.vd)(i)&&i.altKey?void 0:this.focusNavigationFilter){this.view.focusPrevious(e,t,i,n)}focusNextPage(e,t=(0,d.vd)(e)&&e.altKey?void 0:this.focusNavigationFilter){return this.view.focusNextPage(e,t)}focusPreviousPage(e,t=(0,d.vd)(e)&&e.altKey?void 0:this.focusNavigationFilter){return this.view.focusPreviousPage(e,t,()=>{var e,t;return null!==(t=null===(e=this.stickyScrollController)||void 0===e?void 0:e.height)&&void 0!==t?t:0})}focusFirst(e,t=(0,d.vd)(e)&&e.altKey?void 0:this.focusNavigationFilter){this.view.focusFirst(e,t)}getFocus(){return this.focus.get()}reveal(e,t){this.model.expandTo(e);let i=this.model.getListIndex(e);if(-1!==i){if(this.stickyScrollController){let n=this.stickyScrollController.nodePositionTopBelowWidget(this.getNode(e));this.view.reveal(i,t,n)}else this.view.reveal(i,t)}}onLeftArrow(e){e.preventDefault(),e.stopPropagation();let t=this.view.getFocusedElements();if(0===t.length)return;let i=t[0],n=this.model.getNodeLocation(i),s=this.model.setCollapsed(n,!0);if(!s){let e=this.model.getParentNodeLocation(n);if(!e)return;let t=this.model.getListIndex(e);this.view.reveal(t),this.view.setFocus([t])}}onRightArrow(e){e.preventDefault(),e.stopPropagation();let t=this.view.getFocusedElements();if(0===t.length)return;let i=t[0],n=this.model.getNodeLocation(i),s=this.model.setCollapsed(n,!1);if(!s){if(!i.children.some(e=>e.visible))return;let[e]=this.view.getFocus(),t=e+1;this.view.reveal(t),this.view.setFocus([t])}}onSpace(e){e.preventDefault(),e.stopPropagation();let t=this.view.getFocusedElements();if(0===t.length)return;let i=t[0],n=this.model.getNodeLocation(i),s=e.browserEvent.altKey;this.model.setCollapsed(n,void 0,s)}dispose(){var e;(0,L.B9)(this.disposables),null===(e=this.stickyScrollController)||void 0===e||e.dispose(),this.view.dispose()}}},94936:function(e,t,i){"use strict";i.d(t,{X:function(){return g},aG:function(){return u},gB:function(){return h}});var n=i(68712),s=i(40789),o=i(44532),r=i(4414),l=i(39970),a=i(79915),d=i(93072);function h(e){return"object"==typeof e&&"visibility"in e&&"data"in e}function u(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function c(e){return"boolean"==typeof e.collapsible}class g{constructor(e,t,i,n={}){var s;this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new a.E7,this._onDidChangeCollapseState=new a.Q5,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new a.Q5,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new a.Q5,this.onDidSplice=this._onDidSplice.event,this.refilterDelayer=new o.vp(r.n),this.collapseByDefault=void 0!==n.collapseByDefault&&n.collapseByDefault,this.allowNonCollapsibleParents=null!==(s=n.allowNonCollapsibleParents)&&void 0!==s&&s,this.filter=n.filter,this.autoExpandSingleChildren=void 0!==n.autoExpandSingleChildren&&n.autoExpandSingleChildren,this.root={parent:void 0,element:i,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(e,t,i=d.$.empty(),s={}){if(0===e.length)throw new n.ac(this.user,"Invalid tree location");s.diffIdentityProvider?this.spliceSmart(s.diffIdentityProvider,e,t,i,s):this.spliceSimple(e,t,i,s)}spliceSmart(e,t,i,n,s,o){var r;void 0===n&&(n=d.$.empty()),void 0===o&&(o=null!==(r=s.diffDepth)&&void 0!==r?r:0);let{parentNode:a}=this.getParentNodeWithListIndex(t);if(!a.lastDiffIds)return this.spliceSimple(t,i,n,s);let h=[...n],u=t[t.length-1],c=new l.Hs({getElements:()=>a.lastDiffIds},{getElements:()=>[...a.children.slice(0,u),...h,...a.children.slice(u+i)].map(t=>e.getId(t.element).toString())}).ComputeDiff(!1);if(c.quitEarly)return a.lastDiffIds=void 0,this.spliceSimple(t,i,h,s);let g=t.slice(0,-1),p=(t,i,n)=>{if(o>0)for(let r=0;rt.originalStart-e.originalStart))p(m,f,m-(e.originalStart+e.originalLength)),m=e.originalStart,f=e.modifiedStart-u,this.spliceSimple([...g,m],e.originalLength,d.$.slice(h,f,f+e.modifiedLength),s);p(m,f,m)}spliceSimple(e,t,i=d.$.empty(),{onDidCreateNode:n,onDidDeleteNode:o,diffIdentityProvider:r}){let{parentNode:l,listIndex:a,revealed:h,visible:u}=this.getParentNodeWithListIndex(e),c=[],g=d.$.map(i,e=>this.createTreeNode(e,l,l.visible?1:0,h,c,n)),p=e[e.length-1],m=0;for(let e=p;e>=0&&er.getId(e.element).toString())):l.lastDiffIds=l.children.map(e=>r.getId(e.element).toString()):l.lastDiffIds=void 0;let C=0;for(let e of b)e.visible&&C++;if(0!==C)for(let e=p+f.length;ee+(t.visible?t.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(l,v-e),this.list.splice(a,e,c)}if(b.length>0&&o){let e=t=>{o(t),t.children.forEach(e)};b.forEach(e)}this._onDidSplice.fire({insertedNodes:f,deletedNodes:b});let w=l;for(;w;){if(2===w.visibility){this.refilterDelayer.trigger(()=>this.refilter());break}w=w.parent}}rerender(e){if(0===e.length)throw new n.ac(this.user,"Invalid tree location");let{node:t,listIndex:i,revealed:s}=this.getTreeNodeWithListIndex(e);t.visible&&s&&this.list.splice(i,1,[t])}has(e){return this.hasTreeNode(e)}getListIndex(e){let{listIndex:t,visible:i,revealed:n}=this.getTreeNodeWithListIndex(e);return i&&n?t:-1}getListRenderCount(e){return this.getTreeNode(e).renderNodeCount}isCollapsible(e){return this.getTreeNode(e).collapsible}setCollapsible(e,t){let i=this.getTreeNode(e);void 0===t&&(t=!i.collapsible);let n={collapsible:t};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,n))}isCollapsed(e){return this.getTreeNode(e).collapsed}setCollapsed(e,t,i){let n=this.getTreeNode(e);void 0===t&&(t=!n.collapsed);let s={collapsed:t,recursive:i||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,s))}_setCollapseState(e,t){let{node:i,listIndex:n,revealed:s}=this.getTreeNodeWithListIndex(e),o=this._setListNodeCollapseState(i,n,s,t);if(i!==this.root&&this.autoExpandSingleChildren&&o&&!c(t)&&i.collapsible&&!i.collapsed&&!t.recursive){let n=-1;for(let e=0;e-1){n=-1;break}n=e}}n>-1&&this._setCollapseState([...e,n],t)}return o}_setListNodeCollapseState(e,t,i,n){let s=this._setNodeCollapseState(e,n,!1);if(!i||!e.visible||!s)return s;let o=e.renderNodeCount,r=this.updateNodeAfterCollapseChange(e),l=o-(-1===t?0:1);return this.list.splice(t+1,l,r.slice(1)),s}_setNodeCollapseState(e,t,i){let n;if(e===this.root?n=!1:(c(t)?(n=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(n=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):n=!1,n&&this._onDidChangeCollapseState.fire({node:e,deep:i})),!c(t)&&t.recursive)for(let i of e.children)n=this._setNodeCollapseState(i,t,!0)||n;return n}expandTo(e){this.eventBufferer.bufferEvents(()=>{let t=this.getTreeNode(e);for(;t.parent;)t=t.parent,e=e.slice(0,e.length-1),t.collapsed&&this._setCollapseState(e,{collapsed:!1,recursive:!1})})}refilter(){let e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t),this.refilterDelayer.cancel()}createTreeNode(e,t,i,n,s,o){let r={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"==typeof e.collapsible?e.collapsible:void 0!==e.collapsed,collapsed:void 0===e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},l=this._filterNode(r,i);r.visibility=l,n&&s.push(r);let a=e.children||d.$.empty(),h=n&&0!==l&&!r.collapsed,u=0,c=1;for(let e of a){let t=this.createTreeNode(e,r,l,h,s,o);r.children.push(t),c+=t.renderNodeCount,t.visible&&(t.visibleChildIndex=u++)}return this.allowNonCollapsibleParents||(r.collapsible=r.collapsible||r.children.length>0),r.visibleChildrenCount=u,r.visible=2===l?u>0:1===l,r.visible?r.collapsed||(r.renderNodeCount=c):(r.renderNodeCount=0,n&&s.pop()),null==o||o(r),r}updateNodeAfterCollapseChange(e){let t=e.renderNodeCount,i=[];return this._updateNodeAfterCollapseChange(e,i),this._updateAncestorsRenderNodeCount(e.parent,i.length-t),i}_updateNodeAfterCollapseChange(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(let i of e.children)e.renderNodeCount+=this._updateNodeAfterCollapseChange(i,t);return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount}updateNodeAfterFilterChange(e){let t=e.renderNodeCount,i=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,i),this._updateAncestorsRenderNodeCount(e.parent,i.length-t),i}_updateNodeAfterFilterChange(e,t,i,n=!0){let s;if(e!==this.root){if(0===(s=this._filterNode(e,t)))return e.visible=!1,e.renderNodeCount=0,!1;n&&i.push(e)}let o=i.length;e.renderNodeCount=e===this.root?0:1;let r=!1;if(e.collapsed&&0===s)e.visibleChildrenCount=0;else{let t=0;for(let o of e.children)r=this._updateNodeAfterFilterChange(o,s,i,n&&!e.collapsed)||r,o.visible&&(o.visibleChildIndex=t++);e.visibleChildrenCount=t}return e!==this.root&&(e.visible=2===s?r:1===s,e.visibility=s),e.visible?e.collapsed||(e.renderNodeCount+=i.length-o):(e.renderNodeCount=0,n&&i.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible}_updateAncestorsRenderNodeCount(e,t){if(0!==t)for(;e;)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent}_filterNode(e,t){let i=this.filter?this.filter.filter(e.element,t):1;return"boolean"==typeof i?(e.filterData=void 0,i?1:0):h(i)?(e.filterData=i.data,u(i.visibility)):(e.filterData=void 0,u(i))}hasTreeNode(e,t=this.root){if(!e||0===e.length)return!0;let[i,...n]=e;return!(i<0)&&!(i>t.children.length)&&this.hasTreeNode(n,t.children[i])}getTreeNode(e,t=this.root){if(!e||0===e.length)return t;let[i,...s]=e;if(i<0||i>t.children.length)throw new n.ac(this.user,"Invalid tree location");return this.getTreeNode(s,t.children[i])}getTreeNodeWithListIndex(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};let{parentNode:t,listIndex:i,revealed:s,visible:o}=this.getParentNodeWithListIndex(e),r=e[e.length-1];if(r<0||r>t.children.length)throw new n.ac(this.user,"Invalid tree location");let l=t.children[r];return{node:l,listIndex:i,revealed:s,visible:o&&l.visible}}getParentNodeWithListIndex(e,t=this.root,i=0,s=!0,o=!0){let[r,...l]=e;if(r<0||r>t.children.length)throw new n.ac(this.user,"Invalid tree location");for(let e=0;et(new o.n(n.Jj(e),i))))}onmousedown(e,t){this._register(n.nm(e,n.tw.MOUSE_DOWN,i=>t(new o.n(n.Jj(e),i))))}onmouseover(e,t){this._register(n.nm(e,n.tw.MOUSE_OVER,i=>t(new o.n(n.Jj(e),i))))}onmouseleave(e,t){this._register(n.nm(e,n.tw.MOUSE_LEAVE,i=>t(new o.n(n.Jj(e),i))))}onkeydown(e,t){this._register(n.nm(e,n.tw.KEY_DOWN,e=>t(new s.y(e))))}onkeyup(e,t){this._register(n.nm(e,n.tw.KEY_UP,e=>t(new s.y(e))))}oninput(e,t){this._register(n.nm(e,n.tw.INPUT,t))}onblur(e,t){this._register(n.nm(e,n.tw.BLUR,t))}onfocus(e,t){this._register(n.nm(e,n.tw.FOCUS,t))}ignoreGesture(e){return r.o.ignoreTarget(e)}}},44709:function(e,t,i){"use strict";function n(e,t){"number"!=typeof e.vscodeWindowId&&Object.defineProperty(e,"vscodeWindowId",{get:()=>t})}i.d(t,{E:function(){return s},H:function(){return n}});let s=window},76886:function(e,t,i){"use strict";i.d(t,{Wi:function(){return l},Z0:function(){return a},aU:function(){return r},eZ:function(){return h},wY:function(){return d},xw:function(){return u}});var n=i(79915),s=i(70784),o=i(82801);class r extends s.JT{constructor(e,t="",i="",s=!0,o){super(),this._onDidChange=this._register(new n.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=e,this._label=t,this._cssClass=i,this._enabled=s,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}async run(e,t){this._actionCallback&&await this._actionCallback(e)}}class l extends s.JT{constructor(){super(...arguments),this._onWillRun=this._register(new n.Q5),this.onWillRun=this._onWillRun.event,this._onDidRun=this._register(new n.Q5),this.onDidRun=this._onDidRun.event}async run(e,t){let i;if(e.enabled){this._onWillRun.fire({action:e});try{await this.runAction(e,t)}catch(e){i=e}this._onDidRun.fire({action:e,error:i})}}async runAction(e,t){await e.run(t)}}class a{constructor(){this.id=a.ID,this.label="",this.tooltip="",this.class="separator",this.enabled=!1,this.checked=!1}static join(...e){let t=[];for(let i of e)i.length&&(t=t.length?[...t,new a,...i]:i);return t}async run(){}}a.ID="vs.actions.separator";class d{get actions(){return this._actions}constructor(e,t,i,n){this.tooltip="",this.enabled=!0,this.checked=void 0,this.id=e,this.label=t,this.class=n,this._actions=i}async run(){}}class h extends r{constructor(){super(h.ID,o.NC("submenu.empty","(empty)"),void 0,!1)}}function u(e){var t,i;return{id:e.id,label:e.label,tooltip:null!==(t=e.tooltip)&&void 0!==t?t:e.label,class:e.class,enabled:null===(i=e.enabled)||void 0===i||i,checked:e.checked,run:async(...t)=>e.run(...t)}}h.ID="vs.actions.empty"},40789:function(e,t,i){"use strict";var n,s;function o(e,t=0){return e[e.length-(1+t)]}function r(e){if(0===e.length)throw Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function l(e,t,i=(e,t)=>e===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0,s=e.length;n0))return e;n=e-1}}return-(i+1)}(e.length,n=>i(e[n],t))}function h(e,t){let i;let n=[];for(let s of e.slice(0).sort(t))i&&0===t(i[0],s)?i.push(s):(i=[s],n.push(i));return n}function*u(e,t){let i,n;for(let s of e)void 0!==n&&t(n,s)?i.push(s):(i&&(yield i),i=[s]),n=s;i&&(yield i)}function c(e,t){for(let i=0;i<=e.length;i++)t(0===i?void 0:e[i-1],i===e.length?void 0:e[i])}function g(e,t){for(let i=0;i!!e)}function m(e){let t=0;for(let i=0;i0}function v(e,t=e=>e){let i=new Set;return e.filter(e=>{let n=t(e);return!i.has(n)&&(i.add(n),!0)})}function b(e,t){return e.length>0?e[0]:t}function C(e,t){let i="number"==typeof t?e:0;"number"==typeof t?i=e:(i=0,t=e);let n=[];if(i<=t)for(let e=i;et;e--)n.push(e);return n}function w(e,t,i){let n=e.slice(0,t),s=e.slice(t);return n.concat(i,s)}function y(e,t){let i=e.indexOf(t);i>-1&&(e.splice(i,1),e.unshift(t))}function S(e,t){let i=e.indexOf(t);i>-1&&(e.splice(i,1),e.push(t))}function L(e,t){for(let i of t)e.push(i)}function k(e){return Array.isArray(e)?e:[e]}function D(e,t,i,n){let s=x(e,t),o=e.splice(s,i);return void 0===o&&(o=[]),!function(e,t,i){let n=x(e,t),s=e.length,o=i.length;e.length=s+o;for(let t=s-1;t>=n;t--)e[t+o]=e[t];for(let t=0;tt(e(i),e(n))}function E(...e){return(t,i)=>{for(let s of e){let e=s(t,i);if(!n.isNeitherLessOrGreaterThan(e))return e}return n.neitherLessOrGreaterThan}}i.d(t,{BV:function(){return M},EB:function(){return v},Gb:function(){return o},H9:function(){return R},HW:function(){return function e(t,i,n){if((t|=0)>=i.length)throw TypeError("invalid index");let s=i[Math.floor(i.length*Math.random())],o=[],r=[],l=[];for(let e of i){let t=n(e,s);t<0?o.push(e):t>0?r.push(e):l.push(e)}return t0},s.isNeitherLessOrGreaterThan=function(e){return 0===e},s.greaterThan=1,s.lessThan=-1,s.neitherLessOrGreaterThan=0;let I=(e,t)=>e-t,T=(e,t)=>I(e?1:0,t?1:0);function M(e){return(t,i)=>-e(t,i)}class R{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;let i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(0!==this.length)return this.items[this.firstIdx]}dequeue(){let e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){let t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}class A{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new A(t=>this.iterate(i=>!e(i)||t(i)))}map(e){return new A(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t;let i=!0;return this.iterate(s=>((i||n.isGreaterThan(e(s,t)))&&(i=!1,t=s),!0)),t}}A.empty=new A(e=>{});class P{constructor(e){this._indexMap=e}static createSortPermutation(e,t){let i=Array.from(e.keys()).sort((i,n)=>t(e[i],e[n]));return new P(i)}apply(e){return e.map((t,i)=>e[this._indexMap[i]])}inverse(){let e=this._indexMap.slice();for(let t=0;t=0;n--){let i=e[n];if(t(i))return n}return -1}(e,t);if(-1!==i)return e[i]}function s(e,t){let i=o(e,t);return -1===i?void 0:e[i]}function o(e,t,i=0,n=e.length){let s=i,o=n;for(;s0&&(i=s)}return i}function h(e,t){if(0===e.length)return;let i=e[0];for(let n=1;n=0&&(i=s)}return i}function u(e,t){return d(e,(e,i)=>-t(e,i))}function c(e,t){if(0===e.length)return -1;let i=0;for(let n=1;n0&&(i=n)}return i}function g(e,t){for(let i of e){let e=t(i);if(void 0!==e)return e}}a.assertInvariants=!1},61413:function(e,t,i){"use strict";i.d(t,{DM:function(){return a},eZ:function(){return l},ok:function(){return s},vE:function(){return o},wN:function(){return r}});var n=i(32378);function s(e,t){if(!e)throw Error(t?`Assertion failed (${t})`:"Assertion Failed")}function o(e,t="Unreachable"){throw Error(t)}function r(e){e||(0,n.dL)(new n.he("Soft Assertion Failed"))}function l(e){e()||(e(),(0,n.dL)(new n.he("Assertion Failed")))}function a(e,t){let i=0;for(;i{let s=setTimeout(()=>{o.dispose(),e()},t),o=i.onCancellationRequested(()=>{clearTimeout(s),o.dispose(),n(new l.FU)})}):g(i=>e(t,i))}},_F:function(){return y},eP:function(){return p},hF:function(){return k},jT:function(){return o},jg:function(){return n},pY:function(){return L},rH:function(){return b},vp:function(){return v},y5:function(){return s},zS:function(){return I},zh:function(){return S}});var o,r=i(9424),l=i(32378),a=i(79915),d=i(70784),h=i(58022),u=i(4414);function c(e){return!!e&&"function"==typeof e.then}function g(e){let t=new r.AU,i=e(t.token),n=new Promise((e,n)=>{let s=t.token.onCancellationRequested(()=>{s.dispose(),n(new l.FU)});Promise.resolve(i).then(i=>{s.dispose(),t.dispose(),e(i)},e=>{s.dispose(),t.dispose(),n(e)})});return new class{cancel(){t.cancel(),t.dispose()}then(e,t){return n.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return n.finally(e)}}}function p(e,t,i){return new Promise((n,s)=>{let o=t.onCancellationRequested(()=>{o.dispose(),n(i)});e.then(n,s).finally(()=>o.dispose())})}class m{constructor(){this.isDisposed=!1,this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.isDisposed)return Promise.reject(Error("Throttler is disposed"));if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){let e=()=>{if(this.queuedPromise=null,this.isDisposed)return;let e=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,e};this.queuedPromise=new Promise(t=>{this.activePromise.then(e,e).then(t)})}return new Promise((e,t)=>{this.queuedPromise.then(e,t)})}return this.activePromise=e(),new Promise((e,t)=>{this.activePromise.then(t=>{this.activePromise=null,e(t)},e=>{this.activePromise=null,t(e)})})}dispose(){this.isDisposed=!0}}let f=(e,t)=>{let i=!0,n=setTimeout(()=>{i=!1,t()},e);return{isTriggered:()=>i,dispose:()=>{clearTimeout(n),i=!1}}},_=e=>{let t=!0;return queueMicrotask(()=>{t&&(t=!1,e())}),{isTriggered:()=>t,dispose:()=>{t=!1}}};class v{constructor(e){this.defaultDelay=e,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((e,t)=>{this.doResolve=e,this.doReject=t}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){let e=this.task;return this.task=null,e()}}));let i=()=>{var e;this.deferred=null,null===(e=this.doResolve)||void 0===e||e.call(this,null)};return this.deferred=t===u.n?_(i):f(t,i),this.completionPromise}isTriggered(){var e;return!!(null===(e=this.deferred)||void 0===e?void 0:e.isTriggered())}cancel(){var e;this.cancelTimeout(),this.completionPromise&&(null===(e=this.doReject)||void 0===e||e.call(this,new l.FU),this.completionPromise=null)}cancelTimeout(){var e;null===(e=this.deferred)||void 0===e||e.dispose(),this.deferred=null}dispose(){this.cancel()}}class b{constructor(e){this.delayer=new v(e),this.throttler=new m}trigger(e,t){return this.delayer.trigger(()=>this.throttler.queue(e),t)}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose(),this.throttler.dispose()}}function C(e,t=0,i){let n=setTimeout(()=>{e(),i&&s.dispose()},t),s=(0,d.OF)(()=>{clearTimeout(n),null==i||i.deleteAndLeak(s)});return null==i||i.add(s),s}function w(e,t=e=>!!e,i=null){let n=0,s=e.length,o=()=>{if(n>=s)return Promise.resolve(i);let r=e[n++],l=Promise.resolve(r());return l.then(e=>t(e)?Promise.resolve(e):o())};return o()}class y{constructor(e,t){this._isDisposed=!1,this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel(),this._isDisposed=!0}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){if(this._isDisposed)throw new l.he("Calling 'cancelAndSet' on a disposed TimeoutTimer");this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){if(this._isDisposed)throw new l.he("Calling 'setIfNotSet' on a disposed TimeoutTimer");-1===this._token&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class S{constructor(){this.disposable=void 0,this.isDisposed=!1}cancel(){var e;null===(e=this.disposable)||void 0===e||e.dispose(),this.disposable=void 0}cancelAndSet(e,t,i=globalThis){if(this.isDisposed)throw new l.he("Calling 'cancelAndSet' on a disposed IntervalTimer");this.cancel();let n=i.setInterval(()=>{e()},t);this.disposable=(0,d.OF)(()=>{i.clearInterval(n),this.disposable=void 0})}dispose(){this.cancel(),this.isDisposed=!0}}class L{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return -1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){var e;null===(e=this.runner)||void 0===e||e.call(this)}}s="function"!=typeof globalThis.requestIdleCallback||"function"!=typeof globalThis.cancelIdleCallback?(e,t)=>{(0,h.fn)(()=>{if(i)return;let e=Date.now()+15;t(Object.freeze({didTimeout:!0,timeRemaining:()=>Math.max(0,e-Date.now())}))});let i=!1;return{dispose(){i||(i=!0)}}}:(e,t,i)=>{let n=e.requestIdleCallback(t,"number"==typeof i?{timeout:i}:void 0),s=!1;return{dispose(){s||(s=!0,e.cancelIdleCallback(n))}}},n=e=>s(globalThis,e);class k{constructor(e,t){this._didRun=!1,this._executor=()=>{try{this._value=t()}catch(e){this._error=e}finally{this._didRun=!0}},this._handle=s(e,()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}class D extends k{constructor(e){super(globalThis,e)}}class x{get isRejected(){var e;return(null===(e=this.outcome)||void 0===e?void 0:e.outcome)===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((e,t)=>{this.completeCallback=e,this.errorCallback=t})}complete(e){return new Promise(t=>{this.completeCallback(e),this.outcome={outcome:0,value:e},t()})}error(e){return new Promise(t=>{this.errorCallback(e),this.outcome={outcome:1,value:e},t()})}cancel(){return this.error(new l.FU)}}!function(e){async function t(e){let t;let i=await Promise.all(e.map(e=>e.then(e=>e,e=>{t||(t=e)})));if(void 0!==t)throw t;return i}e.settled=t,e.withAsyncBody=function(e){return new Promise(async(t,i)=>{try{await e(t,i)}catch(e){i(e)}})}}(o||(o={}));class N{static fromArray(e){return new N(t=>{t.emitMany(e)})}static fromPromise(e){return new N(async t=>{t.emitMany(await e)})}static fromPromises(e){return new N(async t=>{await Promise.all(e.map(async e=>t.emitOne(await e)))})}static merge(e){return new N(async t=>{await Promise.all(e.map(async e=>{for await(let i of e)t.emitOne(i)}))})}constructor(e,t){this._state=0,this._results=[],this._error=null,this._onReturn=t,this._onStateChanged=new a.Q5,queueMicrotask(async()=>{let t={emitOne:e=>this.emitOne(e),emitMany:e=>this.emitMany(e),reject:e=>this.reject(e)};try{await Promise.resolve(e(t)),this.resolve()}catch(e){this.reject(e)}finally{t.emitOne=void 0,t.emitMany=void 0,t.reject=void 0}})}[Symbol.asyncIterator](){let e=0;return{next:async()=>{for(;;){if(2===this._state)throw this._error;if(e{var e;return null===(e=this._onReturn)||void 0===e||e.call(this),{done:!0,value:void 0}}}}static map(e,t){return new N(async i=>{for await(let n of e)i.emitOne(t(n))})}map(e){return N.map(this,e)}static filter(e,t){return new N(async i=>{for await(let n of e)t(n)&&i.emitOne(n)})}filter(e){return N.filter(this,e)}static coalesce(e){return N.filter(e,e=>!!e)}coalesce(){return N.coalesce(this)}static async toPromise(e){let t=[];for await(let i of e)t.push(i);return t}toPromise(){return N.toPromise(this)}emitOne(e){0===this._state&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){0===this._state&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){0===this._state&&(this._state=1,this._onStateChanged.fire())}reject(e){0===this._state&&(this._state=2,this._error=e,this._onStateChanged.fire())}}N.EMPTY=N.fromArray([]);class E extends N{constructor(e,t){super(t),this._source=e}cancel(){this._source.cancel()}}function I(e){let t=new r.AU,i=e(t.token);return new E(t,async e=>{let n=t.token.onCancellationRequested(()=>{n.dispose(),t.dispose(),e.reject(new l.FU)});try{for await(let n of i){if(t.token.isCancellationRequested)return;e.emitOne(n)}n.dispose(),t.dispose()}catch(i){n.dispose(),t.dispose(),e.reject(i)}})}},31387:function(e,t,i){"use strict";let n;i.d(t,{Ag:function(){return h},Cg:function(){return g},KN:function(){return l},Q$:function(){return c},T4:function(){return u},mP:function(){return a},oq:function(){return d}});var s=i(68126),o=i(17766).lW;let r=void 0!==o;new s.o(()=>new Uint8Array(256));class l{static wrap(e){return r&&!o.isBuffer(e)&&(e=o.from(e.buffer,e.byteOffset,e.byteLength)),new l(e)}constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}toString(){return r?this.buffer.toString():(n||(n=new TextDecoder),n.decode(this.buffer))}}function a(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function d(e,t,i){e[i+0]=255&t,t>>>=8,e[i+1]=255&t}function h(e,t){return 16777216*e[t]+65536*e[t+1]+256*e[t+2]+e[t+3]}function u(e,t,i){e[i+3]=t,t>>>=8,e[i+2]=t,t>>>=8,e[i+1]=t,t>>>=8,e[i]=t}function c(e,t){return e[t]}function g(e,t,i){e[i]=t}},63752:function(e,t,i){"use strict";function n(e){return e}i.d(t,{bQ:function(){return o},t2:function(){return s}});class s{constructor(e,t){this.lastCache=void 0,this.lastArgKey=void 0,"function"==typeof e?(this._fn=e,this._computeKey=n):(this._fn=t,this._computeKey=e.getCacheKey)}get(e){let t=this._computeKey(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this._fn(e)),this.lastCache}}class o{get cachedValues(){return this._map}constructor(e,t){this._map=new Map,this._map2=new Map,"function"==typeof e?(this._fn=e,this._computeKey=n):(this._fn=t,this._computeKey=e.getCacheKey)}get(e){let t=this._computeKey(e);if(this._map2.has(t))return this._map2.get(t);let i=this._fn(e);return this._map.set(e,i),this._map2.set(t,i),i}}},9424:function(e,t,i){"use strict";i.d(t,{AU:function(){return a},Ts:function(){return s},bP:function(){return d}});var n,s,o=i(79915);let r=Object.freeze(function(e,t){let i=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(i)}}});(n=s||(s={})).isCancellationToken=function(e){return e===n.None||e===n.Cancelled||e instanceof l||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:o.ju.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:r});class l{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?r:(this._emitter||(this._emitter=new o.Q5),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class a{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new l),this._token}cancel(){this._token?this._token instanceof l&&this._token.cancel():this._token=s.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof l&&this._token.dispose():this._token=s.None}}function d(e){let t=new a;return e.add({dispose(){t.cancel()}}),t.token}},47039:function(e,t,i){"use strict";i.d(t,{l:function(){return r}});var n=i(71216);let s={add:(0,n.z)("add",6e4),plus:(0,n.z)("plus",6e4),gistNew:(0,n.z)("gist-new",6e4),repoCreate:(0,n.z)("repo-create",6e4),lightbulb:(0,n.z)("lightbulb",60001),lightBulb:(0,n.z)("light-bulb",60001),repo:(0,n.z)("repo",60002),repoDelete:(0,n.z)("repo-delete",60002),gistFork:(0,n.z)("gist-fork",60003),repoForked:(0,n.z)("repo-forked",60003),gitPullRequest:(0,n.z)("git-pull-request",60004),gitPullRequestAbandoned:(0,n.z)("git-pull-request-abandoned",60004),recordKeys:(0,n.z)("record-keys",60005),keyboard:(0,n.z)("keyboard",60005),tag:(0,n.z)("tag",60006),gitPullRequestLabel:(0,n.z)("git-pull-request-label",60006),tagAdd:(0,n.z)("tag-add",60006),tagRemove:(0,n.z)("tag-remove",60006),person:(0,n.z)("person",60007),personFollow:(0,n.z)("person-follow",60007),personOutline:(0,n.z)("person-outline",60007),personFilled:(0,n.z)("person-filled",60007),gitBranch:(0,n.z)("git-branch",60008),gitBranchCreate:(0,n.z)("git-branch-create",60008),gitBranchDelete:(0,n.z)("git-branch-delete",60008),sourceControl:(0,n.z)("source-control",60008),mirror:(0,n.z)("mirror",60009),mirrorPublic:(0,n.z)("mirror-public",60009),star:(0,n.z)("star",60010),starAdd:(0,n.z)("star-add",60010),starDelete:(0,n.z)("star-delete",60010),starEmpty:(0,n.z)("star-empty",60010),comment:(0,n.z)("comment",60011),commentAdd:(0,n.z)("comment-add",60011),alert:(0,n.z)("alert",60012),warning:(0,n.z)("warning",60012),search:(0,n.z)("search",60013),searchSave:(0,n.z)("search-save",60013),logOut:(0,n.z)("log-out",60014),signOut:(0,n.z)("sign-out",60014),logIn:(0,n.z)("log-in",60015),signIn:(0,n.z)("sign-in",60015),eye:(0,n.z)("eye",60016),eyeUnwatch:(0,n.z)("eye-unwatch",60016),eyeWatch:(0,n.z)("eye-watch",60016),circleFilled:(0,n.z)("circle-filled",60017),primitiveDot:(0,n.z)("primitive-dot",60017),closeDirty:(0,n.z)("close-dirty",60017),debugBreakpoint:(0,n.z)("debug-breakpoint",60017),debugBreakpointDisabled:(0,n.z)("debug-breakpoint-disabled",60017),debugHint:(0,n.z)("debug-hint",60017),terminalDecorationSuccess:(0,n.z)("terminal-decoration-success",60017),primitiveSquare:(0,n.z)("primitive-square",60018),edit:(0,n.z)("edit",60019),pencil:(0,n.z)("pencil",60019),info:(0,n.z)("info",60020),issueOpened:(0,n.z)("issue-opened",60020),gistPrivate:(0,n.z)("gist-private",60021),gitForkPrivate:(0,n.z)("git-fork-private",60021),lock:(0,n.z)("lock",60021),mirrorPrivate:(0,n.z)("mirror-private",60021),close:(0,n.z)("close",60022),removeClose:(0,n.z)("remove-close",60022),x:(0,n.z)("x",60022),repoSync:(0,n.z)("repo-sync",60023),sync:(0,n.z)("sync",60023),clone:(0,n.z)("clone",60024),desktopDownload:(0,n.z)("desktop-download",60024),beaker:(0,n.z)("beaker",60025),microscope:(0,n.z)("microscope",60025),vm:(0,n.z)("vm",60026),deviceDesktop:(0,n.z)("device-desktop",60026),file:(0,n.z)("file",60027),fileText:(0,n.z)("file-text",60027),more:(0,n.z)("more",60028),ellipsis:(0,n.z)("ellipsis",60028),kebabHorizontal:(0,n.z)("kebab-horizontal",60028),mailReply:(0,n.z)("mail-reply",60029),reply:(0,n.z)("reply",60029),organization:(0,n.z)("organization",60030),organizationFilled:(0,n.z)("organization-filled",60030),organizationOutline:(0,n.z)("organization-outline",60030),newFile:(0,n.z)("new-file",60031),fileAdd:(0,n.z)("file-add",60031),newFolder:(0,n.z)("new-folder",60032),fileDirectoryCreate:(0,n.z)("file-directory-create",60032),trash:(0,n.z)("trash",60033),trashcan:(0,n.z)("trashcan",60033),history:(0,n.z)("history",60034),clock:(0,n.z)("clock",60034),folder:(0,n.z)("folder",60035),fileDirectory:(0,n.z)("file-directory",60035),symbolFolder:(0,n.z)("symbol-folder",60035),logoGithub:(0,n.z)("logo-github",60036),markGithub:(0,n.z)("mark-github",60036),github:(0,n.z)("github",60036),terminal:(0,n.z)("terminal",60037),console:(0,n.z)("console",60037),repl:(0,n.z)("repl",60037),zap:(0,n.z)("zap",60038),symbolEvent:(0,n.z)("symbol-event",60038),error:(0,n.z)("error",60039),stop:(0,n.z)("stop",60039),variable:(0,n.z)("variable",60040),symbolVariable:(0,n.z)("symbol-variable",60040),array:(0,n.z)("array",60042),symbolArray:(0,n.z)("symbol-array",60042),symbolModule:(0,n.z)("symbol-module",60043),symbolPackage:(0,n.z)("symbol-package",60043),symbolNamespace:(0,n.z)("symbol-namespace",60043),symbolObject:(0,n.z)("symbol-object",60043),symbolMethod:(0,n.z)("symbol-method",60044),symbolFunction:(0,n.z)("symbol-function",60044),symbolConstructor:(0,n.z)("symbol-constructor",60044),symbolBoolean:(0,n.z)("symbol-boolean",60047),symbolNull:(0,n.z)("symbol-null",60047),symbolNumeric:(0,n.z)("symbol-numeric",60048),symbolNumber:(0,n.z)("symbol-number",60048),symbolStructure:(0,n.z)("symbol-structure",60049),symbolStruct:(0,n.z)("symbol-struct",60049),symbolParameter:(0,n.z)("symbol-parameter",60050),symbolTypeParameter:(0,n.z)("symbol-type-parameter",60050),symbolKey:(0,n.z)("symbol-key",60051),symbolText:(0,n.z)("symbol-text",60051),symbolReference:(0,n.z)("symbol-reference",60052),goToFile:(0,n.z)("go-to-file",60052),symbolEnum:(0,n.z)("symbol-enum",60053),symbolValue:(0,n.z)("symbol-value",60053),symbolRuler:(0,n.z)("symbol-ruler",60054),symbolUnit:(0,n.z)("symbol-unit",60054),activateBreakpoints:(0,n.z)("activate-breakpoints",60055),archive:(0,n.z)("archive",60056),arrowBoth:(0,n.z)("arrow-both",60057),arrowDown:(0,n.z)("arrow-down",60058),arrowLeft:(0,n.z)("arrow-left",60059),arrowRight:(0,n.z)("arrow-right",60060),arrowSmallDown:(0,n.z)("arrow-small-down",60061),arrowSmallLeft:(0,n.z)("arrow-small-left",60062),arrowSmallRight:(0,n.z)("arrow-small-right",60063),arrowSmallUp:(0,n.z)("arrow-small-up",60064),arrowUp:(0,n.z)("arrow-up",60065),bell:(0,n.z)("bell",60066),bold:(0,n.z)("bold",60067),book:(0,n.z)("book",60068),bookmark:(0,n.z)("bookmark",60069),debugBreakpointConditionalUnverified:(0,n.z)("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:(0,n.z)("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:(0,n.z)("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:(0,n.z)("debug-breakpoint-data-unverified",60072),debugBreakpointData:(0,n.z)("debug-breakpoint-data",60073),debugBreakpointDataDisabled:(0,n.z)("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:(0,n.z)("debug-breakpoint-log-unverified",60074),debugBreakpointLog:(0,n.z)("debug-breakpoint-log",60075),debugBreakpointLogDisabled:(0,n.z)("debug-breakpoint-log-disabled",60075),briefcase:(0,n.z)("briefcase",60076),broadcast:(0,n.z)("broadcast",60077),browser:(0,n.z)("browser",60078),bug:(0,n.z)("bug",60079),calendar:(0,n.z)("calendar",60080),caseSensitive:(0,n.z)("case-sensitive",60081),check:(0,n.z)("check",60082),checklist:(0,n.z)("checklist",60083),chevronDown:(0,n.z)("chevron-down",60084),chevronLeft:(0,n.z)("chevron-left",60085),chevronRight:(0,n.z)("chevron-right",60086),chevronUp:(0,n.z)("chevron-up",60087),chromeClose:(0,n.z)("chrome-close",60088),chromeMaximize:(0,n.z)("chrome-maximize",60089),chromeMinimize:(0,n.z)("chrome-minimize",60090),chromeRestore:(0,n.z)("chrome-restore",60091),circleOutline:(0,n.z)("circle-outline",60092),circle:(0,n.z)("circle",60092),debugBreakpointUnverified:(0,n.z)("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:(0,n.z)("terminal-decoration-incomplete",60092),circleSlash:(0,n.z)("circle-slash",60093),circuitBoard:(0,n.z)("circuit-board",60094),clearAll:(0,n.z)("clear-all",60095),clippy:(0,n.z)("clippy",60096),closeAll:(0,n.z)("close-all",60097),cloudDownload:(0,n.z)("cloud-download",60098),cloudUpload:(0,n.z)("cloud-upload",60099),code:(0,n.z)("code",60100),collapseAll:(0,n.z)("collapse-all",60101),colorMode:(0,n.z)("color-mode",60102),commentDiscussion:(0,n.z)("comment-discussion",60103),creditCard:(0,n.z)("credit-card",60105),dash:(0,n.z)("dash",60108),dashboard:(0,n.z)("dashboard",60109),database:(0,n.z)("database",60110),debugContinue:(0,n.z)("debug-continue",60111),debugDisconnect:(0,n.z)("debug-disconnect",60112),debugPause:(0,n.z)("debug-pause",60113),debugRestart:(0,n.z)("debug-restart",60114),debugStart:(0,n.z)("debug-start",60115),debugStepInto:(0,n.z)("debug-step-into",60116),debugStepOut:(0,n.z)("debug-step-out",60117),debugStepOver:(0,n.z)("debug-step-over",60118),debugStop:(0,n.z)("debug-stop",60119),debug:(0,n.z)("debug",60120),deviceCameraVideo:(0,n.z)("device-camera-video",60121),deviceCamera:(0,n.z)("device-camera",60122),deviceMobile:(0,n.z)("device-mobile",60123),diffAdded:(0,n.z)("diff-added",60124),diffIgnored:(0,n.z)("diff-ignored",60125),diffModified:(0,n.z)("diff-modified",60126),diffRemoved:(0,n.z)("diff-removed",60127),diffRenamed:(0,n.z)("diff-renamed",60128),diff:(0,n.z)("diff",60129),diffSidebyside:(0,n.z)("diff-sidebyside",60129),discard:(0,n.z)("discard",60130),editorLayout:(0,n.z)("editor-layout",60131),emptyWindow:(0,n.z)("empty-window",60132),exclude:(0,n.z)("exclude",60133),extensions:(0,n.z)("extensions",60134),eyeClosed:(0,n.z)("eye-closed",60135),fileBinary:(0,n.z)("file-binary",60136),fileCode:(0,n.z)("file-code",60137),fileMedia:(0,n.z)("file-media",60138),filePdf:(0,n.z)("file-pdf",60139),fileSubmodule:(0,n.z)("file-submodule",60140),fileSymlinkDirectory:(0,n.z)("file-symlink-directory",60141),fileSymlinkFile:(0,n.z)("file-symlink-file",60142),fileZip:(0,n.z)("file-zip",60143),files:(0,n.z)("files",60144),filter:(0,n.z)("filter",60145),flame:(0,n.z)("flame",60146),foldDown:(0,n.z)("fold-down",60147),foldUp:(0,n.z)("fold-up",60148),fold:(0,n.z)("fold",60149),folderActive:(0,n.z)("folder-active",60150),folderOpened:(0,n.z)("folder-opened",60151),gear:(0,n.z)("gear",60152),gift:(0,n.z)("gift",60153),gistSecret:(0,n.z)("gist-secret",60154),gist:(0,n.z)("gist",60155),gitCommit:(0,n.z)("git-commit",60156),gitCompare:(0,n.z)("git-compare",60157),compareChanges:(0,n.z)("compare-changes",60157),gitMerge:(0,n.z)("git-merge",60158),githubAction:(0,n.z)("github-action",60159),githubAlt:(0,n.z)("github-alt",60160),globe:(0,n.z)("globe",60161),grabber:(0,n.z)("grabber",60162),graph:(0,n.z)("graph",60163),gripper:(0,n.z)("gripper",60164),heart:(0,n.z)("heart",60165),home:(0,n.z)("home",60166),horizontalRule:(0,n.z)("horizontal-rule",60167),hubot:(0,n.z)("hubot",60168),inbox:(0,n.z)("inbox",60169),issueReopened:(0,n.z)("issue-reopened",60171),issues:(0,n.z)("issues",60172),italic:(0,n.z)("italic",60173),jersey:(0,n.z)("jersey",60174),json:(0,n.z)("json",60175),kebabVertical:(0,n.z)("kebab-vertical",60176),key:(0,n.z)("key",60177),law:(0,n.z)("law",60178),lightbulbAutofix:(0,n.z)("lightbulb-autofix",60179),linkExternal:(0,n.z)("link-external",60180),link:(0,n.z)("link",60181),listOrdered:(0,n.z)("list-ordered",60182),listUnordered:(0,n.z)("list-unordered",60183),liveShare:(0,n.z)("live-share",60184),loading:(0,n.z)("loading",60185),location:(0,n.z)("location",60186),mailRead:(0,n.z)("mail-read",60187),mail:(0,n.z)("mail",60188),markdown:(0,n.z)("markdown",60189),megaphone:(0,n.z)("megaphone",60190),mention:(0,n.z)("mention",60191),milestone:(0,n.z)("milestone",60192),gitPullRequestMilestone:(0,n.z)("git-pull-request-milestone",60192),mortarBoard:(0,n.z)("mortar-board",60193),move:(0,n.z)("move",60194),multipleWindows:(0,n.z)("multiple-windows",60195),mute:(0,n.z)("mute",60196),noNewline:(0,n.z)("no-newline",60197),note:(0,n.z)("note",60198),octoface:(0,n.z)("octoface",60199),openPreview:(0,n.z)("open-preview",60200),package:(0,n.z)("package",60201),paintcan:(0,n.z)("paintcan",60202),pin:(0,n.z)("pin",60203),play:(0,n.z)("play",60204),run:(0,n.z)("run",60204),plug:(0,n.z)("plug",60205),preserveCase:(0,n.z)("preserve-case",60206),preview:(0,n.z)("preview",60207),project:(0,n.z)("project",60208),pulse:(0,n.z)("pulse",60209),question:(0,n.z)("question",60210),quote:(0,n.z)("quote",60211),radioTower:(0,n.z)("radio-tower",60212),reactions:(0,n.z)("reactions",60213),references:(0,n.z)("references",60214),refresh:(0,n.z)("refresh",60215),regex:(0,n.z)("regex",60216),remoteExplorer:(0,n.z)("remote-explorer",60217),remote:(0,n.z)("remote",60218),remove:(0,n.z)("remove",60219),replaceAll:(0,n.z)("replace-all",60220),replace:(0,n.z)("replace",60221),repoClone:(0,n.z)("repo-clone",60222),repoForcePush:(0,n.z)("repo-force-push",60223),repoPull:(0,n.z)("repo-pull",60224),repoPush:(0,n.z)("repo-push",60225),report:(0,n.z)("report",60226),requestChanges:(0,n.z)("request-changes",60227),rocket:(0,n.z)("rocket",60228),rootFolderOpened:(0,n.z)("root-folder-opened",60229),rootFolder:(0,n.z)("root-folder",60230),rss:(0,n.z)("rss",60231),ruby:(0,n.z)("ruby",60232),saveAll:(0,n.z)("save-all",60233),saveAs:(0,n.z)("save-as",60234),save:(0,n.z)("save",60235),screenFull:(0,n.z)("screen-full",60236),screenNormal:(0,n.z)("screen-normal",60237),searchStop:(0,n.z)("search-stop",60238),server:(0,n.z)("server",60240),settingsGear:(0,n.z)("settings-gear",60241),settings:(0,n.z)("settings",60242),shield:(0,n.z)("shield",60243),smiley:(0,n.z)("smiley",60244),sortPrecedence:(0,n.z)("sort-precedence",60245),splitHorizontal:(0,n.z)("split-horizontal",60246),splitVertical:(0,n.z)("split-vertical",60247),squirrel:(0,n.z)("squirrel",60248),starFull:(0,n.z)("star-full",60249),starHalf:(0,n.z)("star-half",60250),symbolClass:(0,n.z)("symbol-class",60251),symbolColor:(0,n.z)("symbol-color",60252),symbolConstant:(0,n.z)("symbol-constant",60253),symbolEnumMember:(0,n.z)("symbol-enum-member",60254),symbolField:(0,n.z)("symbol-field",60255),symbolFile:(0,n.z)("symbol-file",60256),symbolInterface:(0,n.z)("symbol-interface",60257),symbolKeyword:(0,n.z)("symbol-keyword",60258),symbolMisc:(0,n.z)("symbol-misc",60259),symbolOperator:(0,n.z)("symbol-operator",60260),symbolProperty:(0,n.z)("symbol-property",60261),wrench:(0,n.z)("wrench",60261),wrenchSubaction:(0,n.z)("wrench-subaction",60261),symbolSnippet:(0,n.z)("symbol-snippet",60262),tasklist:(0,n.z)("tasklist",60263),telescope:(0,n.z)("telescope",60264),textSize:(0,n.z)("text-size",60265),threeBars:(0,n.z)("three-bars",60266),thumbsdown:(0,n.z)("thumbsdown",60267),thumbsup:(0,n.z)("thumbsup",60268),tools:(0,n.z)("tools",60269),triangleDown:(0,n.z)("triangle-down",60270),triangleLeft:(0,n.z)("triangle-left",60271),triangleRight:(0,n.z)("triangle-right",60272),triangleUp:(0,n.z)("triangle-up",60273),twitter:(0,n.z)("twitter",60274),unfold:(0,n.z)("unfold",60275),unlock:(0,n.z)("unlock",60276),unmute:(0,n.z)("unmute",60277),unverified:(0,n.z)("unverified",60278),verified:(0,n.z)("verified",60279),versions:(0,n.z)("versions",60280),vmActive:(0,n.z)("vm-active",60281),vmOutline:(0,n.z)("vm-outline",60282),vmRunning:(0,n.z)("vm-running",60283),watch:(0,n.z)("watch",60284),whitespace:(0,n.z)("whitespace",60285),wholeWord:(0,n.z)("whole-word",60286),window:(0,n.z)("window",60287),wordWrap:(0,n.z)("word-wrap",60288),zoomIn:(0,n.z)("zoom-in",60289),zoomOut:(0,n.z)("zoom-out",60290),listFilter:(0,n.z)("list-filter",60291),listFlat:(0,n.z)("list-flat",60292),listSelection:(0,n.z)("list-selection",60293),selection:(0,n.z)("selection",60293),listTree:(0,n.z)("list-tree",60294),debugBreakpointFunctionUnverified:(0,n.z)("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:(0,n.z)("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:(0,n.z)("debug-breakpoint-function-disabled",60296),debugStackframeActive:(0,n.z)("debug-stackframe-active",60297),circleSmallFilled:(0,n.z)("circle-small-filled",60298),debugStackframeDot:(0,n.z)("debug-stackframe-dot",60298),terminalDecorationMark:(0,n.z)("terminal-decoration-mark",60298),debugStackframe:(0,n.z)("debug-stackframe",60299),debugStackframeFocused:(0,n.z)("debug-stackframe-focused",60299),debugBreakpointUnsupported:(0,n.z)("debug-breakpoint-unsupported",60300),symbolString:(0,n.z)("symbol-string",60301),debugReverseContinue:(0,n.z)("debug-reverse-continue",60302),debugStepBack:(0,n.z)("debug-step-back",60303),debugRestartFrame:(0,n.z)("debug-restart-frame",60304),debugAlt:(0,n.z)("debug-alt",60305),callIncoming:(0,n.z)("call-incoming",60306),callOutgoing:(0,n.z)("call-outgoing",60307),menu:(0,n.z)("menu",60308),expandAll:(0,n.z)("expand-all",60309),feedback:(0,n.z)("feedback",60310),gitPullRequestReviewer:(0,n.z)("git-pull-request-reviewer",60310),groupByRefType:(0,n.z)("group-by-ref-type",60311),ungroupByRefType:(0,n.z)("ungroup-by-ref-type",60312),account:(0,n.z)("account",60313),gitPullRequestAssignee:(0,n.z)("git-pull-request-assignee",60313),bellDot:(0,n.z)("bell-dot",60314),debugConsole:(0,n.z)("debug-console",60315),library:(0,n.z)("library",60316),output:(0,n.z)("output",60317),runAll:(0,n.z)("run-all",60318),syncIgnored:(0,n.z)("sync-ignored",60319),pinned:(0,n.z)("pinned",60320),githubInverted:(0,n.z)("github-inverted",60321),serverProcess:(0,n.z)("server-process",60322),serverEnvironment:(0,n.z)("server-environment",60323),pass:(0,n.z)("pass",60324),issueClosed:(0,n.z)("issue-closed",60324),stopCircle:(0,n.z)("stop-circle",60325),playCircle:(0,n.z)("play-circle",60326),record:(0,n.z)("record",60327),debugAltSmall:(0,n.z)("debug-alt-small",60328),vmConnect:(0,n.z)("vm-connect",60329),cloud:(0,n.z)("cloud",60330),merge:(0,n.z)("merge",60331),export:(0,n.z)("export",60332),graphLeft:(0,n.z)("graph-left",60333),magnet:(0,n.z)("magnet",60334),notebook:(0,n.z)("notebook",60335),redo:(0,n.z)("redo",60336),checkAll:(0,n.z)("check-all",60337),pinnedDirty:(0,n.z)("pinned-dirty",60338),passFilled:(0,n.z)("pass-filled",60339),circleLargeFilled:(0,n.z)("circle-large-filled",60340),circleLarge:(0,n.z)("circle-large",60341),circleLargeOutline:(0,n.z)("circle-large-outline",60341),combine:(0,n.z)("combine",60342),gather:(0,n.z)("gather",60342),table:(0,n.z)("table",60343),variableGroup:(0,n.z)("variable-group",60344),typeHierarchy:(0,n.z)("type-hierarchy",60345),typeHierarchySub:(0,n.z)("type-hierarchy-sub",60346),typeHierarchySuper:(0,n.z)("type-hierarchy-super",60347),gitPullRequestCreate:(0,n.z)("git-pull-request-create",60348),runAbove:(0,n.z)("run-above",60349),runBelow:(0,n.z)("run-below",60350),notebookTemplate:(0,n.z)("notebook-template",60351),debugRerun:(0,n.z)("debug-rerun",60352),workspaceTrusted:(0,n.z)("workspace-trusted",60353),workspaceUntrusted:(0,n.z)("workspace-untrusted",60354),workspaceUnknown:(0,n.z)("workspace-unknown",60355),terminalCmd:(0,n.z)("terminal-cmd",60356),terminalDebian:(0,n.z)("terminal-debian",60357),terminalLinux:(0,n.z)("terminal-linux",60358),terminalPowershell:(0,n.z)("terminal-powershell",60359),terminalTmux:(0,n.z)("terminal-tmux",60360),terminalUbuntu:(0,n.z)("terminal-ubuntu",60361),terminalBash:(0,n.z)("terminal-bash",60362),arrowSwap:(0,n.z)("arrow-swap",60363),copy:(0,n.z)("copy",60364),personAdd:(0,n.z)("person-add",60365),filterFilled:(0,n.z)("filter-filled",60366),wand:(0,n.z)("wand",60367),debugLineByLine:(0,n.z)("debug-line-by-line",60368),inspect:(0,n.z)("inspect",60369),layers:(0,n.z)("layers",60370),layersDot:(0,n.z)("layers-dot",60371),layersActive:(0,n.z)("layers-active",60372),compass:(0,n.z)("compass",60373),compassDot:(0,n.z)("compass-dot",60374),compassActive:(0,n.z)("compass-active",60375),azure:(0,n.z)("azure",60376),issueDraft:(0,n.z)("issue-draft",60377),gitPullRequestClosed:(0,n.z)("git-pull-request-closed",60378),gitPullRequestDraft:(0,n.z)("git-pull-request-draft",60379),debugAll:(0,n.z)("debug-all",60380),debugCoverage:(0,n.z)("debug-coverage",60381),runErrors:(0,n.z)("run-errors",60382),folderLibrary:(0,n.z)("folder-library",60383),debugContinueSmall:(0,n.z)("debug-continue-small",60384),beakerStop:(0,n.z)("beaker-stop",60385),graphLine:(0,n.z)("graph-line",60386),graphScatter:(0,n.z)("graph-scatter",60387),pieChart:(0,n.z)("pie-chart",60388),bracket:(0,n.z)("bracket",60175),bracketDot:(0,n.z)("bracket-dot",60389),bracketError:(0,n.z)("bracket-error",60390),lockSmall:(0,n.z)("lock-small",60391),azureDevops:(0,n.z)("azure-devops",60392),verifiedFilled:(0,n.z)("verified-filled",60393),newline:(0,n.z)("newline",60394),layout:(0,n.z)("layout",60395),layoutActivitybarLeft:(0,n.z)("layout-activitybar-left",60396),layoutActivitybarRight:(0,n.z)("layout-activitybar-right",60397),layoutPanelLeft:(0,n.z)("layout-panel-left",60398),layoutPanelCenter:(0,n.z)("layout-panel-center",60399),layoutPanelJustify:(0,n.z)("layout-panel-justify",60400),layoutPanelRight:(0,n.z)("layout-panel-right",60401),layoutPanel:(0,n.z)("layout-panel",60402),layoutSidebarLeft:(0,n.z)("layout-sidebar-left",60403),layoutSidebarRight:(0,n.z)("layout-sidebar-right",60404),layoutStatusbar:(0,n.z)("layout-statusbar",60405),layoutMenubar:(0,n.z)("layout-menubar",60406),layoutCentered:(0,n.z)("layout-centered",60407),target:(0,n.z)("target",60408),indent:(0,n.z)("indent",60409),recordSmall:(0,n.z)("record-small",60410),errorSmall:(0,n.z)("error-small",60411),terminalDecorationError:(0,n.z)("terminal-decoration-error",60411),arrowCircleDown:(0,n.z)("arrow-circle-down",60412),arrowCircleLeft:(0,n.z)("arrow-circle-left",60413),arrowCircleRight:(0,n.z)("arrow-circle-right",60414),arrowCircleUp:(0,n.z)("arrow-circle-up",60415),layoutSidebarRightOff:(0,n.z)("layout-sidebar-right-off",60416),layoutPanelOff:(0,n.z)("layout-panel-off",60417),layoutSidebarLeftOff:(0,n.z)("layout-sidebar-left-off",60418),blank:(0,n.z)("blank",60419),heartFilled:(0,n.z)("heart-filled",60420),map:(0,n.z)("map",60421),mapHorizontal:(0,n.z)("map-horizontal",60421),foldHorizontal:(0,n.z)("fold-horizontal",60421),mapFilled:(0,n.z)("map-filled",60422),mapHorizontalFilled:(0,n.z)("map-horizontal-filled",60422),foldHorizontalFilled:(0,n.z)("fold-horizontal-filled",60422),circleSmall:(0,n.z)("circle-small",60423),bellSlash:(0,n.z)("bell-slash",60424),bellSlashDot:(0,n.z)("bell-slash-dot",60425),commentUnresolved:(0,n.z)("comment-unresolved",60426),gitPullRequestGoToChanges:(0,n.z)("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:(0,n.z)("git-pull-request-new-changes",60428),searchFuzzy:(0,n.z)("search-fuzzy",60429),commentDraft:(0,n.z)("comment-draft",60430),send:(0,n.z)("send",60431),sparkle:(0,n.z)("sparkle",60432),insert:(0,n.z)("insert",60433),mic:(0,n.z)("mic",60434),thumbsdownFilled:(0,n.z)("thumbsdown-filled",60435),thumbsupFilled:(0,n.z)("thumbsup-filled",60436),coffee:(0,n.z)("coffee",60437),snake:(0,n.z)("snake",60438),game:(0,n.z)("game",60439),vr:(0,n.z)("vr",60440),chip:(0,n.z)("chip",60441),piano:(0,n.z)("piano",60442),music:(0,n.z)("music",60443),micFilled:(0,n.z)("mic-filled",60444),repoFetch:(0,n.z)("repo-fetch",60445),copilot:(0,n.z)("copilot",60446),lightbulbSparkle:(0,n.z)("lightbulb-sparkle",60447),robot:(0,n.z)("robot",60448),sparkleFilled:(0,n.z)("sparkle-filled",60449),diffSingle:(0,n.z)("diff-single",60450),diffMultiple:(0,n.z)("diff-multiple",60451),surroundWith:(0,n.z)("surround-with",60452),share:(0,n.z)("share",60453),gitStash:(0,n.z)("git-stash",60454),gitStashApply:(0,n.z)("git-stash-apply",60455),gitStashPop:(0,n.z)("git-stash-pop",60456),vscode:(0,n.z)("vscode",60457),vscodeInsiders:(0,n.z)("vscode-insiders",60458),codeOss:(0,n.z)("code-oss",60459),runCoverage:(0,n.z)("run-coverage",60460),runAllCoverage:(0,n.z)("run-all-coverage",60461),coverage:(0,n.z)("coverage",60462),githubProject:(0,n.z)("github-project",60463),mapVertical:(0,n.z)("map-vertical",60464),foldVertical:(0,n.z)("fold-vertical",60464),mapVerticalFilled:(0,n.z)("map-vertical-filled",60465),foldVerticalFilled:(0,n.z)("fold-vertical-filled",60465),goToSearch:(0,n.z)("go-to-search",60466),percentage:(0,n.z)("percentage",60467),sortPercentage:(0,n.z)("sort-percentage",60467),attach:(0,n.z)("attach",60468)},o={dialogError:(0,n.z)("dialog-error","error"),dialogWarning:(0,n.z)("dialog-warning","warning"),dialogInfo:(0,n.z)("dialog-info","info"),dialogClose:(0,n.z)("dialog-close","close"),treeItemExpanded:(0,n.z)("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:(0,n.z)("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:(0,n.z)("tree-filter-on-type-off","list-selection"),treeFilterClear:(0,n.z)("tree-filter-clear","close"),treeItemLoading:(0,n.z)("tree-item-loading","loading"),menuSelection:(0,n.z)("menu-selection","check"),menuSubmenu:(0,n.z)("menu-submenu","chevron-right"),menuBarMore:(0,n.z)("menubar-more","more"),scrollbarButtonLeft:(0,n.z)("scrollbar-button-left","triangle-left"),scrollbarButtonRight:(0,n.z)("scrollbar-button-right","triangle-right"),scrollbarButtonUp:(0,n.z)("scrollbar-button-up","triangle-up"),scrollbarButtonDown:(0,n.z)("scrollbar-button-down","triangle-down"),toolBarMore:(0,n.z)("toolbar-more","more"),quickInputBack:(0,n.z)("quick-input-back","arrow-left"),dropDownButton:(0,n.z)("drop-down-button",60084),symbolCustomColor:(0,n.z)("symbol-customcolor",60252),exportIcon:(0,n.z)("export",60332),workspaceUnspecified:(0,n.z)("workspace-unspecified",60355),newLine:(0,n.z)("newline",60394),thumbsDownFilled:(0,n.z)("thumbsdown-filled",60435),thumbsUpFilled:(0,n.z)("thumbsup-filled",60436),gitFetch:(0,n.z)("git-fetch",60445),lightbulbSparkleAutofix:(0,n.z)("lightbulb-sparkle-autofix",60447),debugBreakpointPending:(0,n.z)("debug-breakpoint-pending",60377)},r={...s,...o}},71216:function(e,t,i){"use strict";i.d(t,{u:function(){return r},z:function(){return o}});var n=i(24162);let s=Object.create(null);function o(e,t){if((0,n.HD)(t)){let i=s[t];if(void 0===i)throw Error(`${e} references an unknown codicon: ${t}`);t=i}return s[e]=t,{id:e}}function r(){return s}},6988:function(e,t,i){"use strict";function n(e,t){let i=[],n=[];for(let n of e)t.has(n)||i.push(n);for(let i of t)e.has(i)||n.push(i);return{removed:i,added:n}}function s(e,t){let i=new Set;for(let n of t)e.has(n)&&i.add(n);return i}i.d(t,{j:function(){return s},q:function(){return n}})},76515:function(e,t,i){"use strict";var n,s;function o(e,t){let i=Math.pow(10,t);return Math.round(e*i)/i}i.d(t,{Il:function(){return d},Oz:function(){return l},VS:function(){return r},tx:function(){return a}});class r{constructor(e,t,i,n=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,i)),this.a=o(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class l{constructor(e,t,i,n){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=o(Math.max(Math.min(1,t),0),3),this.l=o(Math.max(Math.min(1,i),0),3),this.a=o(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,i=e.g/255,n=e.b/255,s=e.a,o=Math.max(t,i,n),r=Math.min(t,i,n),a=0,d=0,h=(r+o)/2,u=o-r;if(u>0){switch(d=Math.min(h<=.5?u/(2*h):u/(2-2*h),1),o){case t:a=(i-n)/u+(i1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}static toRGBA(e){let t,i,n;let s=e.h/360,{s:o,l:a,a:d}=e;if(0===o)t=i=n=a;else{let e=a<.5?a*(1+o):a+o-a*o,r=2*a-e;t=l._hue2rgb(r,e,s+1/3),i=l._hue2rgb(r,e,s),n=l._hue2rgb(r,e,s-1/3)}return new r(Math.round(255*t),Math.round(255*i),Math.round(255*n),d)}}class a{constructor(e,t,i,n){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=o(Math.max(Math.min(1,t),0),3),this.v=o(Math.max(Math.min(1,i),0),3),this.a=o(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let i=e.r/255,n=e.g/255,s=e.b/255,o=Math.max(i,n,s),r=Math.min(i,n,s),l=o-r,d=0===o?0:l/o;return t=0===l?0:o===i?((n-s)/l%6+6)%6:o===n?(s-i)/l+2:(i-n)/l+4,new a(Math.round(60*t),d,o,e.a)}static toRGBA(e){let{h:t,s:i,v:n,a:s}=e,o=n*i,l=o*(1-Math.abs(t/60%2-1)),a=n-o,[d,h,u]=[0,0,0];return t<60?(d=o,h=l):t<120?(d=l,h=o):t<180?(h=o,u=l):t<240?(h=l,u=o):t<300?(d=l,u=o):t<=360&&(d=o,u=l),d=Math.round((d+a)*255),h=Math.round((h+a)*255),u=Math.round((u+a)*255),new r(d,h,u,s)}}class d{static fromHex(e){return d.Format.CSS.parseHex(e)||d.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:l.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:a.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof r)this.rgba=e;else if(e instanceof l)this._hsla=e,this.rgba=l.toRGBA(e);else if(e instanceof a)this._hsva=e,this.rgba=a.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&r.equals(this.rgba,e.rgba)&&l.equals(this.hsla,e.hsla)&&a.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=d._relativeLuminanceForComponent(this.rgba.r),t=d._relativeLuminanceForComponent(this.rgba.g),i=d._relativeLuminanceForComponent(this.rgba.b);return o(.2126*e+.7152*t+.0722*i,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){let e=(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3;return e>=128}isLighterThan(e){let t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return t>i}isDarkerThan(e){let t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return te,asFile:()=>void 0,value:"string"==typeof e?e:void 0}}function l(e,t,i){let n={id:(0,o.R)(),name:e,uri:t,data:i};return{asString:async()=>"",asFile:()=>n,value:void 0}}class a{constructor(){this._entries=new Map}get size(){let e=0;for(let t of this._entries)e++;return e}has(e){return this._entries.has(this.toKey(e))}matches(e){let t=[...this._entries.keys()];return s.$.some(this,([e,t])=>t.asFile())&&t.push("files"),u(d(e),t)}get(e){var t;return null===(t=this._entries.get(this.toKey(e)))||void 0===t?void 0:t[0]}append(e,t){let i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*[Symbol.iterator](){for(let[e,t]of this._entries)for(let i of t)yield[e,i]}toKey(e){return d(e)}}function d(e){return e.toLowerCase()}function h(e,t){return u(d(e),t.map(d))}function u(e,t){if("*/*"===e)return t.length>0;if(t.includes(e))return!0;let i=e.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!i)return!1;let[n,s,o]=i;return"*"===o&&t.some(e=>e.startsWith(s+"/"))}let c=Object.freeze({create:e=>(0,n.EB)(e.map(e=>e.toString())).join("\r\n"),split:e=>e.split("\r\n"),parse:e=>c.split(e).filter(e=>!e.startsWith("#"))})},12435:function(e,t,i){"use strict";function n(e,t,i){let n=null,s=null;if("function"==typeof i.value?(n="value",0!==(s=i.value).length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"==typeof i.get&&(n="get",s=i.get),!s)throw Error("not supported");let o=`$memoize$${t}`;i[n]=function(...e){return this.hasOwnProperty(o)||Object.defineProperty(this,o,{configurable:!1,enumerable:!1,writable:!1,value:s.apply(this,e)}),this[o]}}i.d(t,{H:function(){return n}})},39970:function(e,t,i){"use strict";i.d(t,{Hs:function(){return h},a$:function(){return r}});class n{constructor(e,t,i,n){this.originalStart=e,this.originalLength=t,this.modifiedStart=i,this.modifiedLength=n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var s=i(36922);class o{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let i=0,n=e.length;i0||this.m_modifiedCount>0)&&this.m_changes.push(new n(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class h{constructor(e,t,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=t;let[n,s,o]=h._getElements(e),[r,l,a]=h._getElements(t);this._hasStrings=o&&a,this._originalStringElements=n,this._originalElementsOrHash=s,this._modifiedStringElements=r,this._modifiedElementsOrHash=l,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(h._isStringArray(t)){let e=new Int32Array(t.length);for(let i=0,n=t.length;i=e&&s>=i&&this.ElementsAreEqual(t,s);)t--,s--;if(e>t||i>s){let o;return i<=s?(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new n(e,0,i,s-i+1)]):e<=t?(l.Assert(i===s+1,"modifiedStart should only be one more than modifiedEnd"),o=[new n(e,t-e+1,i,0)]):(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),l.Assert(i===s+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}let r=[0],a=[0],d=this.ComputeRecursionPoint(e,t,i,s,r,a,o),h=r[0],u=a[0];if(null!==d)return d;if(!o[0]){let r=this.ComputeDiffRecursive(e,h,i,u,o),l=[];return l=o[0]?[new n(h+1,t-(h+1)+1,u+1,s-(u+1)+1)]:this.ComputeDiffRecursive(h+1,t,u+1,s,o),this.ConcatenateChanges(r,l)}return[new n(e,t-e+1,i,s-i+1)]}WALKTRACE(e,t,i,s,o,r,l,a,h,u,c,g,p,m,f,_,v,b){let C=null,w=null,y=new d,S=t,L=i,k=p[0]-_[0]-s,D=-1073741824,x=this.m_forwardHistory.length-1;do{let t=k+e;t===S||t=0&&(e=(h=this.m_forwardHistory[x])[0],S=1,L=h.length-1)}while(--x>=-1);if(C=y.getReverseChanges(),b[0]){let e=p[0]+1,t=_[0]+1;if(null!==C&&C.length>0){let i=C[C.length-1];e=Math.max(e,i.getOriginalEnd()),t=Math.max(t,i.getModifiedEnd())}w=[new n(e,g-e+1,t,f-t+1)]}else{y=new d,S=r,L=l,k=p[0]-_[0]-a,D=1073741824,x=v?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=k+o;e===S||e=u[e+1]?(m=(c=u[e+1]-1)-k-a,c>D&&y.MarkNextChange(),D=c+1,y.AddOriginalElement(c+1,m+1),k=e+1-o):(m=(c=u[e-1])-k-a,c>D&&y.MarkNextChange(),D=c,y.AddModifiedElement(c+1,m+1),k=e-1-o),x>=0&&(o=(u=this.m_reverseHistory[x])[0],S=1,L=u.length-1)}while(--x>=-1);w=y.getChanges()}return this.ConcatenateChanges(C,w)}ComputeRecursionPoint(e,t,i,s,o,r,l){let d=0,h=0,u=0,c=0,g=0,p=0;e--,i--,o[0]=0,r[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let m=t-e+(s-i),f=m+1,_=new Int32Array(f),v=new Int32Array(f),b=s-i,C=t-e,w=e-i,y=t-s,S=C-b,L=S%2==0;_[b]=e,v[C]=t,l[0]=!1;for(let S=1;S<=m/2+1;S++){let m=0,k=0;u=this.ClipDiagonalBound(b-S,S,b,f),c=this.ClipDiagonalBound(b+S,S,b,f);for(let e=u;e<=c;e+=2){h=(d=e===u||em+k&&(m=d,k=h),!L&&Math.abs(e-C)<=S-1&&d>=v[e]){if(o[0]=d,r[0]=h,i<=v[e]&&S<=1448)return this.WALKTRACE(b,u,c,w,C,g,p,y,_,v,d,t,o,h,s,r,L,l);return null}}let D=(m-e+(k-i)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(m,D)){if(l[0]=!0,o[0]=m,r[0]=k,!(D>0)||!(S<=1448))return e++,i++,[new n(e,t-e+1,i,s-i+1)];break}g=this.ClipDiagonalBound(C-S,S,C,f),p=this.ClipDiagonalBound(C+S,S,C,f);for(let n=g;n<=p;n+=2){h=(d=n===g||n=v[n+1]?v[n+1]-1:v[n-1])-(n-C)-y;let a=d;for(;d>e&&h>i&&this.ElementsAreEqual(d,h);)d--,h--;if(v[n]=d,L&&Math.abs(n-b)<=S&&d<=_[n]){if(o[0]=d,r[0]=h,a>=_[n]&&S<=1448)return this.WALKTRACE(b,u,c,w,C,g,p,y,_,v,d,t,o,h,s,r,L,l);return null}}if(S<=1447){let e=new Int32Array(c-u+2);e[0]=b-u+1,a.Copy2(_,u,e,1,c-u+1),this.m_forwardHistory.push(e),(e=new Int32Array(p-g+2))[0]=C-g+1,a.Copy2(v,g,e,1,p-g+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,u,c,w,C,g,p,y,_,v,d,t,o,h,s,r,L,l)}PrettifyChanges(e){for(let t=0;t0,r=i.modifiedLength>0;for(;i.originalStart+i.originalLength=0;t--){let i=e[t],n=0,s=0;if(t>0){let i=e[t-1];n=i.originalStart+i.originalLength,s=i.modifiedStart+i.modifiedLength}let o=i.originalLength>0,r=i.modifiedLength>0,l=0,a=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let e=1;;e++){let t=i.originalStart-e,d=i.modifiedStart-e;if(ta&&(a=u,l=e)}i.originalStart-=l,i.modifiedStart-=l;let d=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],d)){e[t-1]=d[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,i=e.length;t0&&i>l&&(l=i,a=t,d=e)}return l>0?[a,d]:null}_contiguousSequenceScore(e,t,i){let n=0;for(let s=0;s=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,t,i,n){let s=this._OriginalRegionIsBoundary(e,t)?1:0,o=this._ModifiedRegionIsBoundary(i,n)?1:0;return s+o}ConcatenateChanges(e,t){let i=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],i)){let n=Array(e.length+t.length-1);return a.Copy(e,0,n,0,e.length-1),n[e.length-1]=i[0],a.Copy(t,1,n,e.length,t.length-1),n}{let i=Array(e.length+t.length);return a.Copy(e,0,i,0,e.length),a.Copy(t,0,i,e.length,t.length),i}}ChangesOverlap(e,t,i){if(l.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),l.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return i[0]=null,!1;{let s=e.originalStart,o=e.originalLength,r=e.modifiedStart,l=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(l=t.modifiedStart+t.modifiedLength-e.modifiedStart),i[0]=new n(s,o,r,l),!0}}ClipDiagonalBound(e,t,i,n){if(e>=0&&ee===t;function o(e=s){return(t,i)=>n.fS(t,i,e)}function r(){return(e,t)=>e.equals(t)}function l(e,t,i){return e&&t?i(e,t):e===t}new WeakMap},24809:function(e,t,i){"use strict";i.d(t,{y:function(){return function e(t=null,i=!1){if(!t)return o.NC("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(t)){let s=n.kX(t),r=e(s[0],i);return s.length>1?o.NC("error.moreErrors","{0} ({1} errors in total)",r,s.length):r}if(s.HD(t))return t;if(t.detail){let e=t.detail;if(e.error)return r(e.error,i);if(e.exception)return r(e.exception,i)}return t.stack?r(t,i):t.message?t.message:o.NC("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}}});var n=i(40789),s=i(24162),o=i(82801);function r(e,t){return t&&(e.stack||e.stacktrace)?o.NC("stackTrace.format","{0}: {1}",a(e),l(e.stack)||l(e.stacktrace)):a(e)}function l(e){return Array.isArray(e)?e.join("\n"):e}function a(e){return"ERR_UNC_HOST_NOT_ALLOWED"===e.code?`${e.message}. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.`:"string"==typeof e.code&&"number"==typeof e.errno&&"string"==typeof e.syscall?o.NC("nodeExceptionMessage","A system error occurred ({0})",e.message):e.message||o.NC("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}},32378:function(e,t,i){"use strict";i.d(t,{B8:function(){return g},Cp:function(){return o},F0:function(){return h},FU:function(){return d},L6:function(){return c},b1:function(){return u},dL:function(){return s},he:function(){return m},n2:function(){return a},ri:function(){return r}});let n=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(p.isErrorNoTelemetry(e))throw new p(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function s(e){a(e)||n.onUnexpectedError(e)}function o(e){a(e)||n.onUnexpectedExternalError(e)}function r(e){if(e instanceof Error){let{name:t,message:i}=e,n=e.stacktrace||e.stack;return{$isError:!0,name:t,message:i,stack:n,noTelemetry:p.isErrorNoTelemetry(e)}}return e}let l="Canceled";function a(e){return e instanceof d||e instanceof Error&&e.name===l&&e.message===l}class d extends Error{constructor(){super(l),this.name=this.message}}function h(){let e=Error(l);return e.name=e.message,e}function u(e){return e?Error(`Illegal argument: ${e}`):Error("Illegal argument")}function c(e){return e?Error(`Illegal state: ${e}`):Error("Illegal state")}class g extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}class p extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof p)return e;let t=new p;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class m extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,m.prototype)}}},79915:function(e,t,i){"use strict";i.d(t,{D0:function(){return C},E7:function(){return S},K3:function(){return b},Q5:function(){return f},SZ:function(){return w},Sp:function(){return _},ZD:function(){return L},ju:function(){return n},z5:function(){return y}});var n,s=i(32378),o=i(97946),r=i(70784),l=i(92270),a=i(44129);!function(e){function t(e){return(t,i=null,n)=>{let s,o=!1;return s=e(e=>o?void 0:(s?s.dispose():o=!0,t.call(i,e)),null,n),o&&s.dispose(),s}}function i(e,t,i){return s((i,n=null,s)=>e(e=>i.call(n,t(e)),null,s),i)}function n(e,t,i){return s((i,n=null,s)=>e(e=>t(e)&&i.call(n,e),null,s),i)}function s(e,t){let i;let n=new f({onWillAddFirstListener(){i=e(n.fire,n)},onDidRemoveLastListener(){null==i||i.dispose()}});return null==t||t.add(n),n.event}function o(e,t,i=100,n=!1,s=!1,o,r){let l,a,d,h;let u=0,c=new f({leakWarningThreshold:o,onWillAddFirstListener(){l=e(e=>{u++,d=t(d,e),n&&!h&&(c.fire(d),d=void 0),a=()=>{let e=d;d=void 0,h=void 0,(!n||u>1)&&c.fire(e),u=0},"number"==typeof i?(clearTimeout(h),h=setTimeout(a,i)):void 0===h&&(h=0,queueMicrotask(a))})},onWillRemoveListener(){s&&u>0&&(null==a||a())},onDidRemoveLastListener(){a=void 0,l.dispose()}});return null==r||r.add(c),c.event}e.None=()=>r.JT.None,e.defer=function(e,t){return o(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=t,e.map=i,e.forEach=function(e,t,i){return s((i,n=null,s)=>e(e=>{t(e),i.call(n,e)},null,s),i)},e.filter=n,e.signal=function(e){return e},e.any=function(...e){return(t,i=null,n)=>{let s=(0,r.F8)(...e.map(e=>e(e=>t.call(i,e))));return n instanceof Array?n.push(s):n&&n.add(s),s}},e.reduce=function(e,t,n,s){let o=n;return i(e,e=>o=t(o,e),s)},e.debounce=o,e.accumulate=function(t,i=0,n){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],i,void 0,!0,void 0,n)},e.latch=function(e,t=(e,t)=>e===t,i){let s,o=!0;return n(e,e=>{let i=o||!t(e,s);return o=!1,s=e,i},i)},e.split=function(t,i,n){return[e.filter(t,i,n),e.filter(t,e=>!i(e),n)]},e.buffer=function(e,t=!1,i=[],n){let s=i.slice(),o=e(e=>{s?s.push(e):l.fire(e)});n&&n.add(o);let r=()=>{null==s||s.forEach(e=>l.fire(e)),s=null},l=new f({onWillAddFirstListener(){!o&&(o=e(e=>l.fire(e)),n&&n.add(o))},onDidAddFirstListener(){s&&(t?setTimeout(r):r())},onDidRemoveLastListener(){o&&o.dispose(),o=null}});return n&&n.add(l),l.event},e.chain=function(e,t){return(i,n,s)=>{let o=t(new a);return e(function(e){let t=o.evaluate(e);t!==l&&i.call(n,t)},void 0,s)}};let l=Symbol("HaltChainable");class a{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push(t=>(e(t),t)),this}filter(e){return this.steps.push(t=>e(t)?t:l),this}reduce(e,t){let i=t;return this.steps.push(t=>i=e(i,t)),this}latch(e=(e,t)=>e===t){let t,i=!0;return this.steps.push(n=>{let s=i||!e(n,t);return i=!1,t=n,s?n:l}),this}evaluate(e){for(let t of this.steps)if((e=t(e))===l)break;return e}}e.fromNodeEventEmitter=function(e,t,i=e=>e){let n=(...e)=>s.fire(i(...e)),s=new f({onWillAddFirstListener:()=>e.on(t,n),onDidRemoveLastListener:()=>e.removeListener(t,n)});return s.event},e.fromDOMEventEmitter=function(e,t,i=e=>e){let n=(...e)=>s.fire(i(...e)),s=new f({onWillAddFirstListener:()=>e.addEventListener(t,n),onDidRemoveLastListener:()=>e.removeEventListener(t,n)});return s.event},e.toPromise=function(e){return new Promise(i=>t(e)(i))},e.fromPromise=function(e){let t=new f;return e.then(e=>{t.fire(e)},()=>{t.fire(void 0)}).finally(()=>{t.dispose()}),t.event},e.runAndSubscribe=function(e,t,i){return t(i),e(e=>t(e))};class d{constructor(e,t){this._observable=e,this._counter=0,this._hasChanged=!1;this.emitter=new f({onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}}),t&&t.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){let i=new d(e,t);return i.emitter.event},e.fromObservableLight=function(e){return(t,i,n)=>{let s=0,o=!1,l={beginUpdate(){s++},endUpdate(){0==--s&&(e.reportChanges(),o&&(o=!1,t.call(i)))},handlePossibleChange(){},handleChange(){o=!0}};e.addObserver(l),e.reportChanges();let a={dispose(){e.removeObserver(l)}};return n instanceof r.SL?n.add(a):Array.isArray(n)&&n.push(a),a}}}(n||(n={}));class d{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${d._idPool++}`,d.all.add(this)}start(e){this._stopWatch=new a.G,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}d.all=new Set,d._idPool=0;class h{constructor(e,t,i=Math.random().toString(18).slice(2,5)){this._errorHandler=e,this.threshold=t,this.name=i,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let i=this.threshold;if(i<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}getMostFrequentStack(){let e;if(!this._stacks)return;let t=0;for(let[i,n]of this._stacks)(!e||t{var n,o,l,a,d,h,c;let f;if(this._leakageMon&&this._size>this._leakageMon.threshold**2){let e=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(e);let t=null!==(n=this._leakageMon.getMostFrequentStack())&&void 0!==n?n:["UNKNOWN stack",-1],i=new g(`${e}. HINT: Stack shows most frequent listener (${t[1]}-times)`,t[0]),l=(null===(o=this._options)||void 0===o?void 0:o.onListenerError)||s.dL;return l(i),r.JT.None}if(this._disposed)return r.JT.None;t&&(e=e.bind(t));let _=new p(e);this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(_.stack=u.create(),f=this._leakageMon.check(_.stack,this._size+1)),this._listeners?this._listeners instanceof p?(null!==(c=this._deliveryQueue)&&void 0!==c||(this._deliveryQueue=new v),this._listeners=[this._listeners,_]):this._listeners.push(_):(null===(a=null===(l=this._options)||void 0===l?void 0:l.onWillAddFirstListener)||void 0===a||a.call(l,this),this._listeners=_,null===(h=null===(d=this._options)||void 0===d?void 0:d.onDidAddFirstListener)||void 0===h||h.call(d,this)),this._size++;let b=(0,r.OF)(()=>{null==m||m.unregister(b),null==f||f(),this._removeListener(_)});if(i instanceof r.SL?i.add(b):Array.isArray(i)&&i.push(b),m){let e=Error().stack.split("\n").slice(2).join("\n").trim();m.register(b,e,b)}return b}),this._event}_removeListener(e){var t,i,n,s;if(null===(i=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===i||i.call(t,this),!this._listeners)return;if(1===this._size){this._listeners=void 0,null===(s=null===(n=this._options)||void 0===n?void 0:n.onDidRemoveLastListener)||void 0===s||s.call(n,this),this._size=0;return}let o=this._listeners,r=o.indexOf(e);if(-1===r)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),Error("Attempted to dispose unknown listener");this._size--,o[r]=void 0;let l=this._deliveryQueue.current===this;if(2*this._size<=o.length){let e=0;for(let t=0;t0}}let _=()=>new v;class v{constructor(){this.i=-1,this.end=0}enqueue(e,t,i){this.i=0,this.end=i,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class b extends f{constructor(e){super(e),this._isPaused=0,this._eventQueue=new l.S,this._mergeFn=null==e?void 0:e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused){if(this._mergeFn){if(this._eventQueue.size>0){let e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}}fire(e){this._size&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class C extends b{constructor(e){var t;super(e),this._delay=null!==(t=e.delay)&&void 0!==t?t:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class w extends f{constructor(e){super(e),this._queuedEvents=[],this._mergeFn=null==e?void 0:e.merge}fire(e){this.hasListeners()&&(this._queuedEvents.push(e),1===this._queuedEvents.length&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(e=>super.fire(e)),this._queuedEvents=[]}))}}class y{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new f({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(e){let t={event:e,listener:null};return this.events.push(t),this.hasListeners&&this.hook(t),(0,r.OF)((0,o.M)(()=>{this.hasListeners&&this.unhook(t);let e=this.events.indexOf(t);this.events.splice(e,1)}))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(e=>this.hook(e))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(e=>this.unhook(e))}hook(e){e.listener=e.event(e=>this.emitter.fire(e))}unhook(e){var t;null===(t=e.listener)||void 0===t||t.dispose(),e.listener=null}dispose(){var e;for(let t of(this.emitter.dispose(),this.events))null===(e=t.listener)||void 0===e||e.dispose();this.events=[]}}class S{constructor(){this.data=[]}wrapEvent(e,t,i){return(n,s,o)=>e(e=>{var o;let r=this.data[this.data.length-1];if(!t){r?r.buffers.push(()=>n.call(s,e)):n.call(s,e);return}if(!r){n.call(s,t(i,e));return}null!==(o=r.items)&&void 0!==o||(r.items=[]),r.items.push(e),0===r.buffers.length&&r.buffers.push(()=>{var e;null!==(e=r.reducedResult)&&void 0!==e||(r.reducedResult=i?r.items.reduce(t,i):r.items.reduce(t)),n.call(s,r.reducedResult)})},void 0,o)}bufferEvents(e){let t={buffers:[]};this.data.push(t);let i=e();return this.data.pop(),t.buffers.forEach(e=>e()),i}}class L{constructor(){this.listening=!1,this.inputEvent=n.None,this.inputEventListener=r.JT.None,this.emitter=new f({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},47306:function(e,t,i){"use strict";i.d(t,{KM:function(){return h},ej:function(){return l},fn:function(){return a},oP:function(){return c},yj:function(){return d}});var n=i(75380),s=i(58022),o=i(95612);function r(e){return 47===e||92===e}function l(e){return e.replace(/[\\/]/g,n.KR.sep)}function a(e){return -1===e.indexOf("/")&&(e=l(e)),/^[a-zA-Z]:(\/|$)/.test(e)&&(e="/"+e),e}function d(e,t=n.KR.sep){if(!e)return"";let i=e.length,s=e.charCodeAt(0);if(r(s)){if(r(e.charCodeAt(1))&&!r(e.charCodeAt(2))){let n=3,s=n;for(;ne.length)return!1;if(i){let i=(0,o.ok)(e,t);if(!i)return!1;if(t.length===e.length)return!0;let n=t.length;return t.charAt(t.length-1)===s&&n--,e.charAt(n)===s}return t.charAt(t.length-1)!==s&&(t+=s),0===e.indexOf(t)}function u(e){return e>=65&&e<=90||e>=97&&e<=122}function c(e,t=s.ED){return!!t&&u(e.charCodeAt(0))&&58===e.charCodeAt(1)}},79814:function(e,t,i){"use strict";i.d(t,{CL:function(){return s},mX:function(){return Z},jB:function(){return W},mB:function(){return H},EW:function(){return Y},l7:function(){return J},ir:function(){return _},Oh:function(){return F},XU:function(){return B},Ji:function(){return m},Sy:function(){return v},KZ:function(){return M},or:function(){return p}});var n,s,o=i(10289);let r=0,l=new Uint32Array(10);function a(e,t,i){var n;e>=i&&e>8&&(l[r++]=n>>8&255),n>>16&&(l[r++]=n>>16&255))}let d=new Uint8Array([114,82,115,101,69,102,97,113,81,116,84,100,119,87,99,122,120,118,103]),h=new Uint16Array([107,111,105,79,106,112,117,80,104,27496,28520,27752,121,110,27246,28782,27758,98,109,27757,108]),u=new Uint16Array([114,82,29810,115,30579,26483,101,102,29286,24934,29030,29798,30822,30310,26470,97,113,29809,116,84,100,119,99,122,120,118,103]),c=new Uint16Array([114,82,29810,115,30579,26483,101,69,102,29286,24934,29030,29798,30822,30310,26470,97,113,81,29809,116,84,100,119,87,99,122,120,118,103,107,111,105,79,106,112,117,80,104,27496,28520,27752,121,110,27246,28782,27758,98,109,27757,108]);var g=i(95612);function p(...e){return function(t,i){for(let n=0,s=e.length;n0?[{start:0,end:t.length}]:[]:null}function _(e,t){let i=t.toLowerCase().indexOf(e.toLowerCase());return -1===i?null:[{start:i,end:i+e.length}]}function v(e,t){return function e(t,i,n,s){if(n===t.length)return[];if(s===i.length)return null;if(t[n]===i[s]){let o=null;return(o=e(t,i,n+1,s+1))?E({start:s,end:s+1},o):null}return e(t,i,n,s+1)}(e.toLowerCase(),t.toLowerCase(),0,0)}function b(e){return 97<=e&&e<=122}function C(e){return 65<=e&&e<=90}function w(e){return 48<=e&&e<=57}function y(e){return 32===e||9===e||10===e||13===e}let S=new Set;function L(e){return y(e)||S.has(e)}function k(e,t){return e===t||L(e)&&L(t)}"()[]{}<>`'\"-/;:,.?!".split("").forEach(e=>S.add(e.charCodeAt(0)));let D=new Map;function x(e){let t;if(D.has(e))return D.get(e);let i=function(e){let t=function(e){if(r=0,a(e,d,4352),r>0||(a(e,h,4449),r>0)||(a(e,u,4520),r>0)||(a(e,c,12593),r))return l.subarray(0,r);if(e>=44032&&e<=55203){let t=e-44032,i=t%588,n=Math.floor(t/588),s=Math.floor(i/28),o=i%28-1;if(n=0&&(o0)return l.subarray(0,r)}}(e);if(t&&t.length>0)return new Uint32Array(t)}(e);return i&&(t=i),D.set(e,t),t}function N(e){return b(e)||C(e)||w(e)}function E(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function I(e,t){for(let i=t;i0&&!N(e.charCodeAt(i-1)))return i}return e.length}function T(e,t){if(!t||0===(t=t.trim()).length||!function(e){let t=0,i=0,n=0,s=0;for(let o=0;o60&&(t=t.substring(0,60));let i=function(e){let t=0,i=0,n=0,s=0,o=0;for(let r=0;r.2&&t<.8&&n>.6&&s<.2}(i)){if(!function(e){let{upperPercent:t,lowerPercent:i}=e;return 0===i&&t>.6}(i))return null;t=t.toLowerCase()}let n=null,s=0;for(e=e.toLowerCase();s0&&L(e.charCodeAt(i-1)))return i;return e.length}let A=p(m,T,_),P=p(m,T,v),O=new o.z6(1e4);function F(e,t,i=!1){if("string"!=typeof e||"string"!=typeof t)return null;let n=O.get(e);n||(n=RegExp(g.un(e),"i"),O.set(e,n));let s=n.exec(t);return s?[{start:s.index,end:s.index+s[0].length}]:i?P(e,t):A(e,t)}function B(e,t){let i=Y(e,e.toLowerCase(),0,t,t.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return i?H(i):null}function W(e,t,i,n,s,o){let r=Math.min(13,e.length);for(;i1;n--){let s=e[n]+i,o=t[t.length-1];o&&o.end===s?o.end=s+1:t.push({start:s,end:s+1})}return t}function V(){let e=[],t=[];for(let e=0;e<=128;e++)t[e]=0;for(let i=0;i<=128;i++)e.push(t.slice(0));return e}function z(e){let t=[];for(let i=0;i<=e;i++)t[i]=0;return t}let K=z(256),U=z(256),$=V(),q=V(),j=V();function G(e,t){if(t<0||t>=e.length)return!1;let i=e.codePointAt(t);switch(i){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 62:case 40:case 41:case 91:case 93:case 123:case 125:return!0;case void 0:return!1;default:if(g.C8(i))return!0;return!1}}function Q(e,t){if(t<0||t>=e.length)return!1;let i=e.charCodeAt(t);switch(i){case 32:case 9:return!0;default:return!1}}(n=s||(s={})).Default=[-100,0],n.isDefault=function(e){return!e||2===e.length&&-100===e[0]&&0===e[1]};class Z{constructor(e,t){this.firstMatchCanBeWeak=e,this.boostFullMatch=t}}function Y(e,t,i,n,s,o,r=Z.default){var l;let a=e.length>128?128:e.length,d=n.length>128?128:n.length;if(i>=a||o>=d||a-i>d-o||!function(e,t,i,n,s,o,r=!1){for(;t=i&&l>=n;)s[r]===o[l]&&(U[r]=l,r--),l--}(a,d,i,o,t,s);let h=1,u=1,c=i,g=o,p=[!1];for(h=1,c=i;c1&&i===n&&(h[0]=!0),g||(g=s[r]!==o[r]||G(o,r-1)||Q(o,r-1)),i===n?r>a&&(c-=g?3:5):d?c+=g?2:0:c+=g?0:1,r+1===l&&(c-=g?3:5),c}(e,t,c,i,n,s,g,d,o,0===$[h-1][u-1],p));let f=0;a!==Number.MAX_SAFE_INTEGER&&(m=!0,f=a+q[h-1][u-1]);let _=g>r,v=_?q[h][u-1]+($[h][u-1]>0?-5:0):0,b=g>r+1&&$[h][u-1]>0,C=b?q[h][u-2]+($[h][u-2]>0?-5:0):0;if(b&&(!_||C>=v)&&(!m||C>=f))q[h][u]=C,j[h][u]=3,$[h][u]=0;else if(_&&(!m||v>=f))q[h][u]=v,j[h][u]=2,$[h][u]=0;else if(m)q[h][u]=f,j[h][u]=1,$[h][u]=$[h-1][u-1]+1;else throw Error("not possible")}}if(!p[0]&&!r.firstMatchCanBeWeak)return;h--,u--;let m=[q[h][u],o],f=0,_=0;for(;h>=1;){let e=u;do{let t=j[h][e];if(3===t)e-=2;else if(2===t)e-=1;else break}while(e>=1);f>1&&t[i+h-1]===s[o+u-1]&&n[l=e+o-1]===s[l]&&f+1>$[h][e]&&(e=u),e===u?f++:f=1,_||(_=e),h--,u=e-1,m.push(u)}d-o===a&&r.boostFullMatch&&(m[0]+=2);let v=_-a;return m[0]-=v,m}function J(e,t,i,n,s,o,r){return function(e,t,i,n,s,o,r,l){let a=Y(e,t,i,n,s,o,l);if(a&&!r)return a;if(e.length>=3){let t=Math.min(7,e.length-1);for(let r=i+1;r=e.length)return;let i=e[t],n=e[t+1];if(i!==n)return e.slice(0,t)+n+i+e.slice(t+2)}(e,r);if(t){let e=Y(t,t.toLowerCase(),i,n,s,o,l);e&&(e[0]-=3,(!a||e[0]>a[0])&&(a=e))}}}return a}(e,t,i,n,s,o,!0,r)}Z.default={boostFullMatch:!0,firstMatchCanBeWeak:!1}},97946:function(e,t,i){"use strict";function n(e,t){let i;let n=this,s=!1;return function(){if(s)return i;if(s=!0,t)try{i=e.apply(n,arguments)}finally{t()}else i=e.apply(n,arguments);return i}}i.d(t,{M:function(){return n}})},76088:function(e,t,i){"use strict";i.d(t,{EQ:function(){return D},Qc:function(){return x}});var n=i(44532),s=i(47306),o=i(10289),r=i(75380),l=i(58022),a=i(95612);let d="[/\\\\]",h="[^/\\\\]",u=/\//g;function c(e,t){switch(e){case 0:return"";case 1:return`${h}*?`;default:return`(?:${d}|${h}+${d}${t?`|${d}${h}+`:""})*?`}}function g(e,t){if(!e)return[];let i=[],n=!1,s=!1,o="";for(let r of e){switch(r){case t:if(!n&&!s){i.push(o),o="";continue}break;case"{":n=!0;break;case"}":n=!1;break;case"[":s=!0;break;case"]":s=!1}o+=r}return o&&i.push(o),i}let p=/^\*\*\/\*\.[\w\.-]+$/,m=/^\*\*\/([\w\.-]+)\/?$/,f=/^{\*\*\/\*?[\w\.-]+\/?(,\*\*\/\*?[\w\.-]+\/?)*}$/,_=/^{\*\*\/\*?[\w\.-]+(\/(\*\*)?)?(,\*\*\/\*?[\w\.-]+(\/(\*\*)?)?)*}$/,v=/^\*\*((\/[\w\.-]+)+)\/?$/,b=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,C=new o.z6(1e4),w=function(){return!1},y=function(){return null};function S(e,t){var i,n;let o,u;if(!e)return y;o=(o="string"!=typeof e?e.pattern:e).trim();let w=`${o}_${!!t.trimForExclusions}`,D=C.get(w);return D||(D=p.test(o)?(i=o.substr(4),n=o,function(e,t){return"string"==typeof e&&e.endsWith(i)?n:null}):(u=m.exec(L(o,t)))?function(e,t){let i=`/${e}`,n=`\\${e}`,s=function(s,o){return"string"!=typeof s?null:o?o===e?t:null:s===e||s.endsWith(i)||s.endsWith(n)?t:null},o=[e];return s.basenames=o,s.patterns=[t],s.allBasenames=o,s}(u[1],o):(t.trimForExclusions?_:f).test(o)?function(e,t){let i=N(e.slice(1,-1).split(",").map(e=>S(e,t)).filter(e=>e!==y),e),n=i.length;if(!n)return y;if(1===n)return i[0];let s=function(t,n){for(let s=0,o=i.length;s!!e.allBasenames);o&&(s.allBasenames=o.allBasenames);let r=i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return r.length&&(s.allPaths=r),s}(o,t):(u=v.exec(L(o,t)))?k(u[1].substr(1),o,!0):(u=b.exec(L(o,t)))?k(u[1],o,!1):function(e){try{let t=RegExp(`^${function e(t){if(!t)return"";let i="",n=g(t,"/");if(n.every(e=>"**"===e))i=".*";else{let t=!1;n.forEach((s,o)=>{if("**"===s){if(t)return;i+=c(2,o===n.length-1)}else{let t=!1,r="",l=!1,u="";for(let n of s){if("}"!==n&&t){r+=n;continue}if(l&&("]"!==n||!u)){let e;e="-"===n?n:"^"!==n&&"!"!==n||u?"/"===n?"":(0,a.ec)(n):"^",u+=e;continue}switch(n){case"{":t=!0;continue;case"[":l=!0;continue;case"}":{let n=g(r,","),s=`(?:${n.map(t=>e(t)).join("|")})`;i+=s,t=!1,r="";break}case"]":i+="["+u+"]",l=!1,u="";break;case"?":i+=h;continue;case"*":i+=c(1);continue;default:i+=(0,a.ec)(n)}}o(function(e,t,i){if(!1===t)return y;let s=S(e,i);if(s===y)return y;if("boolean"==typeof t)return s;if(t){let i=t.when;if("string"==typeof i){let t=(t,o,r,l)=>{if(!l||!s(t,o))return null;let a=i.replace("$(basename)",()=>r),d=l(a);return(0,n.J8)(d)?d.then(t=>t?e:null):d?e:null};return t.requiresSiblings=!0,t}}return s})(i,e[i],t)).filter(e=>e!==y)),s=i.length;if(!s)return y;if(!i.some(e=>!!e.requiresSiblings)){if(1===s)return i[0];let e=function(e,t){let s;for(let o=0,r=i.length;o{for(let e of s){let t=await e;if("string"==typeof t)return t}return null})():null},t=i.find(e=>!!e.allBasenames);t&&(e.allBasenames=t.allBasenames);let o=i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return o.length&&(e.allPaths=o),e}let o=function(e,t,s){let o,l;for(let a=0,d=i.length;a{for(let e of l){let t=await e;if("string"==typeof t)return t}return null})():null},l=i.find(e=>!!e.allBasenames);l&&(o.allBasenames=l.allBasenames);let a=i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return a.length&&(o.allPaths=a),o}(e,t)}function N(e,t){let i;let n=e.filter(e=>!!e.basenames);if(n.length<2)return e;let s=n.reduce((e,t)=>{let i=t.basenames;return i?e.concat(i):e},[]);if(t){i=[];for(let e=0,n=s.length;e{let i=t.patterns;return i?e.concat(i):e},[]);let o=function(e,t){if("string"!=typeof e)return null;if(!t){let i;for(i=e.length;i>0;i--){let t=e.charCodeAt(i-1);if(47===t||92===t)break}t=e.substr(i)}let n=s.indexOf(t);return -1!==n?i[n]:null};o.basenames=s,o.patterns=i,o.allBasenames=s;let r=e.filter(e=>!e.basenames);return r.push(o),r}},36922:function(e,t,i){"use strict";i.d(t,{Cv:function(){return l},SP:function(){return o},vp:function(){return s},yP:function(){return u}});var n=i(95612);function s(e){return o(e,0)}function o(e,t){switch(typeof e){case"object":var i,n;if(null===e)return r(349,t);if(Array.isArray(e))return i=r(104579,i=t),e.reduce((e,t)=>o(t,e),i);return n=r(181387,n=t),Object.keys(e).sort().reduce((t,i)=>(t=l(i,t),o(e[i],t)),n);case"string":return l(e,t);case"boolean":return r(e?433:863,t);case"number":return r(e,t);case"undefined":return r(937,t);default:return r(617,t)}}function r(e,t){return(t<<5)-t+e|0}function l(e,t){t=r(149417,t);for(let i=0,n=e.length;i>>n)>>>0}function d(e,t=0,i=e.byteLength,n=0){for(let s=0;se.toString(16).padStart(2,"0")).join(""):function(e,t,i="0"){for(;e.length>>0).toString(16),t/4)}class u{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,i;let s=e.length;if(0===s)return;let o=this._buff,r=this._buffLen,l=this._leftoverHighSurrogate;for(0!==l?(t=l,i=-1,l=0):(t=e.charCodeAt(0),i=0);;){let a=t;if(n.ZG(t)){if(i+1>>6,e[t++]=128|(63&i)>>>0):i<65536?(e[t++]=224|(61440&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0):(e[t++]=240|(1835008&i)>>>18,e[t++]=128|(258048&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),h(this._h0)+h(this._h1)+h(this._h2)+h(this._h3)+h(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,d(this._buff,this._buffLen),this._buffLen>56&&(this._step(),d(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e,t,i;let n=u._bigBlock32,s=this._buffDV;for(let e=0;e<64;e+=4)n.setUint32(e,s.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)n.setUint32(e,a(n.getUint32(e-12,!1)^n.getUint32(e-32,!1)^n.getUint32(e-56,!1)^n.getUint32(e-64,!1),1),!1);let o=this._h0,r=this._h1,l=this._h2,d=this._h3,h=this._h4;for(let s=0;s<80;s++)s<20?(e=r&l|~r&d,t=1518500249):s<40?(e=r^l^d,t=1859775393):s<60?(e=r&l|r&d|l&d,t=2400959708):(e=r^l^d,t=3395469782),i=a(o,5)+e+h+t+n.getUint32(4*s,!1)&4294967295,h=d,d=l,l=a(r,30),r=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+l&4294967295,this._h3=this._h3+d&4294967295,this._h4=this._h4+h&4294967295}}u._bigBlock32=new DataView(new ArrayBuffer(320))},10396:function(e,t,i){"use strict";i.d(t,{o:function(){return n}});class n{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||""===this.value||e.value.startsWith(this.value+n.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(...e){return new n((this.value?[this.value,...e]:e).join(n.sep))}}n.sep=".",n.None=new n("@@none@@"),n.Empty=new n("")},42891:function(e,t,i){"use strict";i.d(t,{CP:function(){return d},Fr:function(){return h},W5:function(){return a},d9:function(){return c},g_:function(){return u},oR:function(){return g},v1:function(){return p}});var n=i(32378),s=i(25625),o=i(1271),r=i(95612),l=i(5482);class a{constructor(e="",t=!1){var i,s,o;if(this.value=e,"string"!=typeof this.value)throw(0,n.b1)("value");"boolean"==typeof t?(this.isTrusted=t,this.supportThemeIcons=!1,this.supportHtml=!1):(this.isTrusted=null!==(i=t.isTrusted)&&void 0!==i?i:void 0,this.supportThemeIcons=null!==(s=t.supportThemeIcons)&&void 0!==s&&s,this.supportHtml=null!==(o=t.supportHtml)&&void 0!==o&&o)}appendText(e,t=0){return this.value+=(this.supportThemeIcons?(0,s.Qo)(e):e).replace(/[\\`*_{}[\]()#+\-!~]/g,"\\$&").replace(/([ \t]+)/g,(e,t)=>" ".repeat(t.length)).replace(/\>/gm,"\\>").replace(/\n/g,1===t?"\\\n":"\n\n"),this}appendMarkdown(e){return this.value+=e,this}appendCodeblock(e,t){return this.value+=` + `),this.styleElement.textContent=s.join("\n")}}let G={listFocusBackground:"#7FB0D0",listActiveSelectionBackground:"#0E639C",listActiveSelectionForeground:"#FFFFFF",listActiveSelectionIconForeground:"#FFFFFF",listFocusAndSelectionOutline:"#90C2F9",listFocusAndSelectionBackground:"#094771",listFocusAndSelectionForeground:"#FFFFFF",listInactiveSelectionBackground:"#3F3F46",listInactiveSelectionIconForeground:"#FFFFFF",listHoverBackground:"#2A2D2E",listDropOverBackground:"#383B3D",listDropBetweenBackground:"#EEEEEE",treeIndentGuidesStroke:"#a9a9a9",treeInactiveIndentGuidesStroke:m.Il.fromHex("#a9a9a9").transparent(.4).toString(),tableColumnsBorder:m.Il.fromHex("#cccccc").transparent(.2).toString(),tableOddRowsBackgroundColor:m.Il.fromHex("#cccccc").transparent(.04).toString(),listBackground:void 0,listFocusForeground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusForeground:void 0,listInactiveFocusBackground:void 0,listHoverForeground:void 0,listFocusOutline:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listHoverOutline:void 0,treeStickyScrollBackground:void 0,treeStickyScrollBorder:void 0,treeStickyScrollShadow:void 0},Q={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){},dispose(){}}};function Z(e,t){let i=[],n=0,s=0;for(;n=e.length)i.push(t[s++]);else if(s>=t.length)i.push(e[n++]);else if(e[n]===t[s]){i.push(e[n]),n++,s++;continue}else e[n]e-t;class J{constructor(e,t){this._templateId=e,this.renderers=t}get templateId(){return this._templateId}renderTemplate(e){return this.renderers.map(t=>t.renderTemplate(e))}renderElement(e,t,i,n){let s=0;for(let o of this.renderers)o.renderElement(e,t,i[s++],n)}disposeElement(e,t,i,n){var s;let o=0;for(let r of this.renderers)null===(s=r.disposeElement)||void 0===s||s.call(r,e,t,i[o],n),o+=1}disposeTemplate(e){let t=0;for(let i of this.renderers)i.disposeTemplate(e[t++])}}class X{constructor(e){this.accessibilityProvider=e,this.templateId="a18n"}renderTemplate(e){return{container:e,disposables:new b.SL}}renderElement(e,t,i){let n=this.accessibilityProvider.getAriaLabel(e),s=n&&"string"!=typeof n?n:(0,D.Dz)(n);i.disposables.add((0,D.EH)(e=>{this.setAriaLabel(e.readObservable(s),i.container)}));let o=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"==typeof o?i.container.setAttribute("aria-level",`${o}`):i.container.removeAttribute("aria-level")}setAriaLabel(e,t){e?t.setAttribute("aria-label",e):t.removeAttribute("aria-label")}disposeElement(e,t,i,n){i.disposables.clear()}disposeTemplate(e){e.disposables.dispose()}}class ee{constructor(e,t){this.list=e,this.dnd=t}getDragElements(e){let t=this.list.getSelectedElements(),i=t.indexOf(e)>-1?t:[e];return i}getDragURI(e){return this.dnd.getDragURI(e)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e,t)}onDragStart(e,t){var i,n;null===(n=(i=this.dnd).onDragStart)||void 0===n||n.call(i,e,t)}onDragOver(e,t,i,n,s){return this.dnd.onDragOver(e,t,i,n,s)}onDragLeave(e,t,i,n){var s,o;null===(o=(s=this.dnd).onDragLeave)||void 0===o||o.call(s,e,t,i,n)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}drop(e,t,i,n,s){this.dnd.drop(e,t,i,n,s)}dispose(){this.dnd.dispose()}}class et{get onDidChangeFocus(){return _.ju.map(this.eventBufferer.wrapEvent(this.focus.onChange),e=>this.toListEvent(e),this.disposables)}get onDidChangeSelection(){return _.ju.map(this.eventBufferer.wrapEvent(this.selection.onChange),e=>this.toListEvent(e),this.disposables)}get domId(){return this.view.domId}get onDidScroll(){return this.view.onDidScroll}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onMouseOver(){return this.view.onMouseOver}get onMouseOut(){return this.view.onMouseOut}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let e=!1,t=_.ju.chain(this.disposables.add(new a.Y(this.view.domNode,"keydown")).event,t=>t.map(e=>new d.y(e)).filter(t=>e=58===t.keyCode||t.shiftKey&&68===t.keyCode).map(e=>l.zB.stop(e,!0)).filter(()=>!1)),i=_.ju.chain(this.disposables.add(new a.Y(this.view.domNode,"keyup")).event,t=>t.forEach(()=>e=!1).map(e=>new d.y(e)).filter(e=>58===e.keyCode||e.shiftKey&&68===e.keyCode).map(e=>l.zB.stop(e,!0)).map(({browserEvent:e})=>{let t=this.getFocus(),i=t.length?t[0]:void 0,n=void 0!==i?this.view.element(i):void 0,s=void 0!==i?this.view.domElement(i):this.view.domNode;return{index:i,element:n,anchor:s,browserEvent:e}})),n=_.ju.chain(this.view.onContextMenu,t=>t.filter(t=>!e).map(({element:e,index:t,browserEvent:i})=>({element:e,index:t,anchor:new k.n((0,l.Jj)(this.view.domNode),i),browserEvent:i})));return _.ju.any(t,i,n)}get onKeyDown(){return this.disposables.add(new a.Y(this.view.domNode,"keydown")).event}get onDidFocus(){return _.ju.signal(this.disposables.add(new a.Y(this.view.domNode,"focus",!0)).event)}get onDidBlur(){return _.ju.signal(this.disposables.add(new a.Y(this.view.domNode,"blur",!0)).event)}constructor(e,t,i,n,s=Q){var o,r,a,d;this.user=e,this._options=s,this.focus=new E("focused"),this.anchor=new E("anchor"),this.eventBufferer=new _.E7,this._ariaLabel="",this.disposables=new b.SL,this._onDidDispose=new _.Q5,this.onDidDispose=this._onDidDispose.event;let h=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?null===(o=this._options.accessibilityProvider)||void 0===o?void 0:o.getWidgetRole():"list";this.selection=new I("listbox"!==h);let u=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=s.accessibilityProvider,this.accessibilityProvider&&(u.push(new X(this.accessibilityProvider)),null===(a=(r=this.accessibilityProvider).onDidChangeActiveDescendant)||void 0===a||a.call(r,this.onDidChangeActiveDescendant,this,this.disposables)),n=n.map(e=>new J(e.templateId,[...u,e]));let g={...s,dnd:s.dnd&&new ee(this,s.dnd)};if(this.view=this.createListView(t,i,n,g),this.view.domNode.setAttribute("role",h),s.styleController)this.styleController=s.styleController(this.view.domId);else{let e=(0,l.dS)(this.view.domNode);this.styleController=new j(e,this.view.domId)}if(this.spliceable=new c([new T(this.focus,this.view,s.identityProvider),new T(this.selection,this.view,s.identityProvider),new T(this.anchor,this.view,s.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.anchor),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.disposables.add(new z(this,this.view)),("boolean"!=typeof s.keyboardSupport||s.keyboardSupport)&&(this.keyboardController=new W(this,this.view,s),this.disposables.add(this.keyboardController)),s.keyboardNavigationLabelProvider){let e=s.keyboardNavigationDelegate||H;this.typeNavigationController=new V(this,this.view,s.keyboardNavigationLabelProvider,null!==(d=s.keyboardNavigationEventFilter)&&void 0!==d?d:()=>!0,e),this.disposables.add(this.typeNavigationController)}this.mouseController=this.createMouseController(s),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),!1!==this._options.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}createListView(e,t,i,n){return new L.Bv(e,t,i,n)}createMouseController(e){return new q(this)}updateOptions(e={}){var t,i;this._options={...this._options,...e},null===(t=this.typeNavigationController)||void 0===t||t.updateOptions(this._options),void 0!==this._options.multipleSelectionController&&(this._options.multipleSelectionSupport?this.view.domNode.setAttribute("aria-multiselectable","true"):this.view.domNode.removeAttribute("aria-multiselectable")),this.mouseController.updateOptions(e),null===(i=this.keyboardController)||void 0===i||i.updateOptions(e),this.view.updateOptions(e)}get options(){return this._options}splice(e,t,i=[]){if(e<0||e>this.view.length)throw new S(this.user,`Invalid start index: ${e}`);if(t<0)throw new S(this.user,`Invalid delete count: ${t}`);(0!==t||0!==i.length)&&this.eventBufferer.bufferEvents(()=>this.spliceable.splice(e,t,i))}rerender(){this.view.rerender()}element(e){return this.view.element(e)}indexOf(e){return this.view.indexOf(e)}indexAt(e){return this.view.indexAt(e)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get onDidChangeContentHeight(){return this.view.onDidChangeContentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(e){this.view.setScrollTop(e)}get scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}get firstVisibleIndex(){return this.view.firstVisibleIndex}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.view.domNode.setAttribute("aria-label",e)}domFocus(){this.view.domNode.focus({preventScroll:!0})}layout(e,t){this.view.layout(e,t)}setSelection(e,t){for(let t of e)if(t<0||t>=this.length)throw new S(this.user,`Invalid index ${t}`);this.selection.set(e,t)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(e=>this.view.element(e))}setAnchor(e){if(void 0===e){this.anchor.set([]);return}if(e<0||e>=this.length)throw new S(this.user,`Invalid index ${e}`);this.anchor.set([e])}getAnchor(){return(0,g.Xh)(this.anchor.get(),void 0)}getAnchorElement(){let e=this.getAnchor();return void 0===e?void 0:this.element(e)}setFocus(e,t){for(let t of e)if(t<0||t>=this.length)throw new S(this.user,`Invalid index ${t}`);this.focus.set(e,t)}focusNext(e=1,t=!1,i,n){if(0===this.length)return;let s=this.focus.get(),o=this.findNextIndex(s.length>0?s[0]+e:0,t,n);o>-1&&this.setFocus([o],i)}focusPrevious(e=1,t=!1,i,n){if(0===this.length)return;let s=this.focus.get(),o=this.findPreviousIndex(s.length>0?s[0]-e:0,t,n);o>-1&&this.setFocus([o],i)}async focusNextPage(e,t){let i=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);i=0===i?0:i-1;let n=this.getFocus()[0];if(n!==i&&(void 0===n||i>n)){let s=this.findPreviousIndex(i,!1,t);s>-1&&n!==s?this.setFocus([s],e):this.setFocus([i],e)}else{let s=this.view.getScrollTop(),o=s+this.view.renderHeight;i>n&&(o-=this.view.elementHeight(i)),this.view.setScrollTop(o),this.view.getScrollTop()!==s&&(this.setFocus([]),await (0,p.Vs)(0),await this.focusNextPage(e,t))}}async focusPreviousPage(e,t,i=()=>0){let n;let s=i(),o=this.view.getScrollTop()+s;n=0===o?this.view.indexAt(o):this.view.indexAfter(o-1);let r=this.getFocus()[0];if(r!==n&&(void 0===r||r>=n)){let i=this.findNextIndex(n,!1,t);i>-1&&r!==i?this.setFocus([i],e):this.setFocus([n],e)}else this.view.setScrollTop(o-this.view.renderHeight-s),this.view.getScrollTop()+i()!==o&&(this.setFocus([]),await (0,p.Vs)(0),await this.focusPreviousPage(e,t,i))}focusLast(e,t){if(0===this.length)return;let i=this.findPreviousIndex(this.length-1,!1,t);i>-1&&this.setFocus([i],e)}focusFirst(e,t){this.focusNth(0,e,t)}focusNth(e,t,i){if(0===this.length)return;let n=this.findNextIndex(e,!1,i);n>-1&&this.setFocus([n],t)}findNextIndex(e,t=!1,i){for(let n=0;n=this.length)||t);n++){if(e%=this.length,!i||i(this.element(e)))return e;e++}return -1}findPreviousIndex(e,t=!1,i){for(let n=0;nthis.view.element(e))}reveal(e,t,i=0){if(e<0||e>=this.length)throw new S(this.user,`Invalid index ${e}`);let n=this.view.getScrollTop(),s=this.view.elementTop(e),o=this.view.elementHeight(e);if((0,y.hj)(t)){let e=o-this.view.renderHeight+i;this.view.setScrollTop(e*(0,C.uZ)(t,0,1)+s-i)}else{let e=s+o,t=n+this.view.renderHeight;s=t||(s=t&&o>=this.view.renderHeight?this.view.setScrollTop(s-i):e>=t&&this.view.setScrollTop(e-this.view.renderHeight))}}getRelativeTop(e,t=0){if(e<0||e>=this.length)throw new S(this.user,`Invalid index ${e}`);let i=this.view.getScrollTop(),n=this.view.elementTop(e),s=this.view.elementHeight(e);if(ni+this.view.renderHeight)return null;let o=s-this.view.renderHeight+t;return Math.abs((i+t-n)/o)}getHTMLElement(){return this.view.domNode}getScrollableElement(){return this.view.scrollableElementDomNode}getElementID(e){return this.view.getElementDomId(e)}getElementTop(e){return this.view.elementTop(e)}style(e){this.styleController.style(e)}toListEvent({indexes:e,browserEvent:t}){return{indexes:e,elements:e.map(e=>this.view.element(e)),browserEvent:t}}_onFocusChange(){let e=this.focus.get();this.view.domNode.classList.toggle("element-focused",e.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var e;let t=this.focus.get();if(t.length>0){let i;(null===(e=this.accessibilityProvider)||void 0===e?void 0:e.getActiveDescendantId)&&(i=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute("aria-activedescendant",i||this.view.getElementDomId(t[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")}_onSelectionChange(){let e=this.selection.get();this.view.domNode.classList.toggle("selection-none",0===e.length),this.view.domNode.classList.toggle("selection-single",1===e.length),this.view.domNode.classList.toggle("selection-multiple",e.length>1)}dispose(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}x([f.H],et.prototype,"onDidChangeFocus",null),x([f.H],et.prototype,"onDidChangeSelection",null),x([f.H],et.prototype,"onContextMenu",null),x([f.H],et.prototype,"onKeyDown",null),x([f.H],et.prototype,"onDidFocus",null),x([f.H],et.prototype,"onDidBlur",null)},23778:function(e,t,i){"use strict";i.d(t,{f:function(){return l}});var n=i(81845),s=i(56274),o=i(79915),r=i(70784);class l{constructor(){let e;this._onDidWillResize=new o.Q5,this.onDidWillResize=this._onDidWillResize.event,this._onDidResize=new o.Q5,this.onDidResize=this._onDidResize.event,this._sashListener=new r.SL,this._size=new n.Ro(0,0),this._minSize=new n.Ro(0,0),this._maxSize=new n.Ro(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),this.domNode=document.createElement("div"),this._eastSash=new s.g(this.domNode,{getVerticalSashLeft:()=>this._size.width},{orientation:0}),this._westSash=new s.g(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new s.g(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:s.l.North}),this._southSash=new s.g(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:s.l.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let t=0,i=0;this._sashListener.add(o.ju.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)(()=>{void 0===e&&(this._onDidWillResize.fire(),e=this._size,t=0,i=0)})),this._sashListener.add(o.ju.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)(()=>{void 0!==e&&(e=void 0,t=0,i=0,this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(this._eastSash.onDidChange(n=>{e&&(i=n.currentX-n.startX,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))})),this._sashListener.add(this._westSash.onDidChange(n=>{e&&(i=-(n.currentX-n.startX),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))})),this._sashListener.add(this._northSash.onDidChange(n=>{e&&(t=-(n.currentY-n.startY),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))})),this._sashListener.add(this._southSash.onDidChange(n=>{e&&(t=n.currentY-n.startY,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))})),this._sashListener.add(o.ju.any(this._eastSash.onDidReset,this._westSash.onDidReset)(e=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(o.ju.any(this._northSash.onDidReset,this._southSash.onDidReset)(e=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this._onDidResize.dispose(),this._onDidWillResize.dispose(),this.domNode.remove()}enableSashes(e,t,i,n){this._northSash.state=e?3:0,this._eastSash.state=t?3:0,this._southSash.state=i?3:0,this._westSash.state=n?3:0}layout(e=this.size.height,t=this.size.width){let{height:i,width:s}=this._minSize,{height:o,width:r}=this._maxSize;e=Math.max(i,Math.min(o,e)),t=Math.max(s,Math.min(r,t));let l=new n.Ro(t,e);n.Ro.equals(l,this._size)||(this.domNode.style.height=e+"px",this.domNode.style.width=t+"px",this._size=l,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}clearSashHoverState(){this._eastSash.clearSashHoverState(),this._westSash.clearSashHoverState(),this._northSash.clearSashHoverState(),this._southSash.clearSashHoverState()}get size(){return this._size}set maxSize(e){this._maxSize=e}get maxSize(){return this._maxSize}set minSize(e){this._minSize=e}get minSize(){return this._minSize}set preferredSize(e){this._preferredSize=e}get preferredSize(){return this._preferredSize}}},56274:function(e,t,i){"use strict";i.d(t,{g:function(){return C},l:function(){return s}});var n,s,o=i(81845),r=i(21887),l=i(598),a=i(44532),d=i(12435),h=i(79915),u=i(70784),c=i(58022);i(87148);var g=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r};(n=s||(s={})).North="north",n.South="south",n.East="east",n.West="west";let p=new h.Q5,m=new h.Q5;class f{constructor(e){this.el=e,this.disposables=new u.SL}get onPointerMove(){return this.disposables.add(new r.Y((0,o.Jj)(this.el),"mousemove")).event}get onPointerUp(){return this.disposables.add(new r.Y((0,o.Jj)(this.el),"mouseup")).event}dispose(){this.disposables.dispose()}}g([d.H],f.prototype,"onPointerMove",null),g([d.H],f.prototype,"onPointerUp",null);class _{get onPointerMove(){return this.disposables.add(new r.Y(this.el,l.t.Change)).event}get onPointerUp(){return this.disposables.add(new r.Y(this.el,l.t.End)).event}constructor(e){this.el=e,this.disposables=new u.SL}dispose(){this.disposables.dispose()}}g([d.H],_.prototype,"onPointerMove",null),g([d.H],_.prototype,"onPointerUp",null);class v{get onPointerMove(){return this.factory.onPointerMove}get onPointerUp(){return this.factory.onPointerUp}constructor(e){this.factory=e}dispose(){}}g([d.H],v.prototype,"onPointerMove",null),g([d.H],v.prototype,"onPointerUp",null);let b="pointer-events-disabled";class C extends u.JT{get state(){return this._state}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}set state(e){this._state!==e&&(this.el.classList.toggle("disabled",0===e),this.el.classList.toggle("minimum",1===e),this.el.classList.toggle("maximum",2===e),this._state=e,this.onDidEnablementChange.fire(e))}set orthogonalStartSash(e){if(this._orthogonalStartSash!==e){if(this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),e){let t=t=>{this.orthogonalStartDragHandleDisposables.clear(),0!==t&&(this._orthogonalStartDragHandle=(0,o.R3)(this.el,(0,o.$)(".orthogonal-drag-handle.start")),this.orthogonalStartDragHandleDisposables.add((0,u.OF)(()=>this._orthogonalStartDragHandle.remove())),this.orthogonalStartDragHandleDisposables.add(new r.Y(this._orthogonalStartDragHandle,"mouseenter")).event(()=>C.onMouseEnter(e),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new r.Y(this._orthogonalStartDragHandle,"mouseleave")).event(()=>C.onMouseLeave(e),void 0,this.orthogonalStartDragHandleDisposables))};this.orthogonalStartSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalStartSash=e}}set orthogonalEndSash(e){if(this._orthogonalEndSash!==e){if(this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),e){let t=t=>{this.orthogonalEndDragHandleDisposables.clear(),0!==t&&(this._orthogonalEndDragHandle=(0,o.R3)(this.el,(0,o.$)(".orthogonal-drag-handle.end")),this.orthogonalEndDragHandleDisposables.add((0,u.OF)(()=>this._orthogonalEndDragHandle.remove())),this.orthogonalEndDragHandleDisposables.add(new r.Y(this._orthogonalEndDragHandle,"mouseenter")).event(()=>C.onMouseEnter(e),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new r.Y(this._orthogonalEndDragHandle,"mouseleave")).event(()=>C.onMouseLeave(e),void 0,this.orthogonalEndDragHandleDisposables))};this.orthogonalEndSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalEndSash=e}}constructor(e,t,i){let n;super(),this.hoverDelay=300,this.hoverDelayer=this._register(new a.vp(this.hoverDelay)),this._state=3,this.onDidEnablementChange=this._register(new h.Q5),this._onDidStart=this._register(new h.Q5),this._onDidChange=this._register(new h.Q5),this._onDidReset=this._register(new h.Q5),this._onDidEnd=this._register(new h.Q5),this.orthogonalStartSashDisposables=this._register(new u.SL),this.orthogonalStartDragHandleDisposables=this._register(new u.SL),this.orthogonalEndSashDisposables=this._register(new u.SL),this.orthogonalEndDragHandleDisposables=this._register(new u.SL),this.onDidStart=this._onDidStart.event,this.onDidChange=this._onDidChange.event,this.onDidReset=this._onDidReset.event,this.onDidEnd=this._onDidEnd.event,this.linkedSash=void 0,this.el=(0,o.R3)(e,(0,o.$)(".monaco-sash")),i.orthogonalEdge&&this.el.classList.add(`orthogonal-edge-${i.orthogonalEdge}`),c.dz&&this.el.classList.add("mac");let s=this._register(new r.Y(this.el,"mousedown")).event;this._register(s(t=>this.onPointerStart(t,new f(e)),this));let d=this._register(new r.Y(this.el,"dblclick")).event;this._register(d(this.onPointerDoublePress,this));let g=this._register(new r.Y(this.el,"mouseenter")).event;this._register(g(()=>C.onMouseEnter(this)));let v=this._register(new r.Y(this.el,"mouseleave")).event;this._register(v(()=>C.onMouseLeave(this))),this._register(l.o.addTarget(this.el));let b=this._register(new r.Y(this.el,l.t.Start)).event;this._register(b(e=>this.onPointerStart(e,new _(this.el)),this));let w=this._register(new r.Y(this.el,l.t.Tap)).event;this._register(w(e=>{if(n){clearTimeout(n),n=void 0,this.onPointerDoublePress(e);return}clearTimeout(n),n=setTimeout(()=>n=void 0,250)},this)),"number"==typeof i.size?(this.size=i.size,0===i.orientation?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=4,this._register(p.event(e=>{this.size=e,this.layout()}))),this._register(m.event(e=>this.hoverDelay=e)),this.layoutProvider=t,this.orthogonalStartSash=i.orthogonalStartSash,this.orthogonalEndSash=i.orthogonalEndSash,this.orientation=i.orientation||0,1===this.orientation?(this.el.classList.add("horizontal"),this.el.classList.remove("vertical")):(this.el.classList.remove("horizontal"),this.el.classList.add("vertical")),this.el.classList.toggle("debug",!1),this.layout()}onPointerStart(e,t){o.zB.stop(e);let i=!1;if(!e.__orthogonalSashEvent){let n=this.getOrthogonalSash(e);n&&(i=!0,e.__orthogonalSashEvent=!0,n.onPointerStart(e,new v(t)))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onPointerStart(e,new v(t))),!this.state)return;let n=this.el.ownerDocument.getElementsByTagName("iframe");for(let e of n)e.classList.add(b);let s=e.pageX,r=e.pageY,l=e.altKey;this.el.classList.add("active"),this._onDidStart.fire({startX:s,currentX:s,startY:r,currentY:r,altKey:l});let a=(0,o.dS)(this.el),d=()=>{let e="";e=i?"all-scroll":1===this.orientation?1===this.state?"s-resize":2===this.state?"n-resize":c.dz?"row-resize":"ns-resize":1===this.state?"e-resize":2===this.state?"w-resize":c.dz?"col-resize":"ew-resize",a.textContent=`* { cursor: ${e} !important; }`},h=new u.SL;d(),i||this.onDidEnablementChange.event(d,null,h),t.onPointerMove(e=>{o.zB.stop(e,!1);let t={startX:s,currentX:e.pageX,startY:r,currentY:e.pageY,altKey:l};this._onDidChange.fire(t)},null,h),t.onPointerUp(e=>{for(let t of(o.zB.stop(e,!1),this.el.removeChild(a),this.el.classList.remove("active"),this._onDidEnd.fire(),h.dispose(),n))t.classList.remove(b)},null,h),h.add(t)}onPointerDoublePress(e){let t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}static onMouseEnter(e,t=!1){e.el.classList.contains("active")?(e.hoverDelayer.cancel(),e.el.classList.add("hover")):e.hoverDelayer.trigger(()=>e.el.classList.add("hover"),e.hoverDelay).then(void 0,()=>{}),!t&&e.linkedSash&&C.onMouseEnter(e.linkedSash,!0)}static onMouseLeave(e,t=!1){e.hoverDelayer.cancel(),e.el.classList.remove("hover"),!t&&e.linkedSash&&C.onMouseLeave(e.linkedSash,!0)}clearSashHoverState(){C.onMouseLeave(this)}layout(){if(0===this.orientation){let e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{let e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}getOrthogonalSash(e){var t;let i=null!==(t=e.initialTarget)&&void 0!==t?t:e.target;if(i&&(0,o.Re)(i)&&i.classList.contains("orthogonal-drag-handle"))return i.classList.contains("start")?this.orthogonalStartSash:this.orthogonalEndSash}dispose(){super.dispose(),this.el.remove()}}},49524:function(e,t,i){"use strict";i.d(t,{s$:function(){return x},Io:function(){return S},NB:function(){return k},$Z:function(){return D}});var n=i(5938),s=i(81845),o=i(82878),r=i(69362),l=i(94278),a=i(66067),d=i(44532),h=i(29527);class u extends a.${constructor(e){super(),this._onActivate=e.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=e.bgWidth+"px",this.bgDomNode.style.height=e.bgHeight+"px",void 0!==e.top&&(this.bgDomNode.style.top="0px"),void 0!==e.left&&(this.bgDomNode.style.left="0px"),void 0!==e.bottom&&(this.bgDomNode.style.bottom="0px"),void 0!==e.right&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=e.className,this.domNode.classList.add(...h.k.asClassNameArray(e.icon)),this.domNode.style.position="absolute",this.domNode.style.width="11px",this.domNode.style.height="11px",void 0!==e.top&&(this.domNode.style.top=e.top+"px"),void 0!==e.left&&(this.domNode.style.left=e.left+"px"),void 0!==e.bottom&&(this.domNode.style.bottom=e.bottom+"px"),void 0!==e.right&&(this.domNode.style.right=e.right+"px"),this._pointerMoveMonitor=this._register(new l.C),this._register(s.mu(this.bgDomNode,s.tw.POINTER_DOWN,e=>this._arrowPointerDown(e))),this._register(s.mu(this.domNode,s.tw.POINTER_DOWN,e=>this._arrowPointerDown(e))),this._pointerdownRepeatTimer=this._register(new s.ne),this._pointerdownScheduleRepeatTimer=this._register(new d._F)}_arrowPointerDown(e){e.target&&e.target instanceof Element&&(this._onActivate(),this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancelAndSet(()=>{this._pointerdownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24,s.Jj(e))},200),this._pointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>{},()=>{this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancel()}),e.preventDefault())}}var c=i(70784);class g extends c.JT{constructor(e,t,i){super(),this._visibility=e,this._visibleClassName=t,this._invisibleClassName=i,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new d._F)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this._updateShouldBeVisible())}setShouldBeVisible(e){this._rawShouldBeVisible=e,this._updateShouldBeVisible()}_applyVisibilitySetting(){return 2!==this._visibility&&(3===this._visibility||this._rawShouldBeVisible)}_updateShouldBeVisible(){let e=this._applyVisibilitySetting();this._shouldBeVisible!==e&&(this._shouldBeVisible=e,this.ensureVisibility())}setIsNeeded(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())}setDomNode(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){if(!this._isNeeded){this._hide(!1);return}this._shouldBeVisible?this._reveal():this._hide(!0)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(()=>{var e;null===(e=this._domNode)||void 0===e||e.setClassName(this._visibleClassName)},0))}_hide(e){var t;this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,null===(t=this._domNode)||void 0===t||t.setClassName(this._invisibleClassName+(e?" fade":"")))}}var p=i(58022);class m extends a.${constructor(e){super(),this._lazyRender=e.lazyRender,this._host=e.host,this._scrollable=e.scrollable,this._scrollByPage=e.scrollByPage,this._scrollbarState=e.scrollbarState,this._visibilityController=this._register(new g(e.visibility,"visible scrollbar "+e.extraScrollbarClassName,"invisible scrollbar "+e.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._pointerMoveMonitor=this._register(new l.C),this._shouldRender=!0,this.domNode=(0,o.X)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this._register(s.nm(this.domNode.domNode,s.tw.POINTER_DOWN,e=>this._domNodePointerDown(e)))}_createArrow(e){let t=this._register(new u(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)}_createSlider(e,t,i,n){this.slider=(0,o.X)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"==typeof i&&this.slider.setWidth(i),"number"==typeof n&&this.slider.setHeight(n),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this._register(s.nm(this.slider.domNode,s.tw.POINTER_DOWN,e=>{0===e.button&&(e.preventDefault(),this._sliderPointerDown(e))})),this.onclick(this.slider.domNode,e=>{e.leftButton&&e.stopPropagation()})}_onElementSize(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodePointerDown(e){e.target===this.domNode.domNode&&this._onPointerDown(e)}delegatePointerDown(e){let t=this.domNode.domNode.getClientRects()[0].top,i=t+this._scrollbarState.getSliderPosition(),n=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),s=this._sliderPointerPosition(e);i<=s&&s<=n?0===e.button&&(e.preventDefault(),this._sliderPointerDown(e)):this._onPointerDown(e)}_onPointerDown(e){let t,i;if(e.target===this.domNode.domNode&&"number"==typeof e.offsetX&&"number"==typeof e.offsetY)t=e.offsetX,i=e.offsetY;else{let n=s.i(this.domNode.domNode);t=e.pageX-n.left,i=e.pageY-n.top}let n=this._pointerDownRelativePosition(t,i);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(n):this._scrollbarState.getDesiredScrollPositionFromOffset(n)),0===e.button&&(e.preventDefault(),this._sliderPointerDown(e))}_sliderPointerDown(e){if(!e.target||!(e.target instanceof Element))return;let t=this._sliderPointerPosition(e),i=this._sliderOrthogonalPointerPosition(e),n=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._pointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>{let s=this._sliderOrthogonalPointerPosition(e);if(p.ED&&Math.abs(s-i)>140){this._setDesiredScrollPositionNow(n.getScrollPosition());return}let o=this._sliderPointerPosition(e);this._setDesiredScrollPositionNow(n.getDesiredScrollPositionFromDelta(o-t))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd()}),this._host.onDragStart()}_setDesiredScrollPositionNow(e){let t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)}updateScrollbarSize(e){this._updateScrollbarSize(e),this._scrollbarState.setScrollbarSize(e),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}var f=i(4767),_=i(47039);class v extends m{constructor(e,t,i){let n=e.getScrollDimensions(),s=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:i,scrollbarState:new f.M(t.horizontalHasArrows?t.arrowSize:0,2===t.horizontal?0:t.horizontalScrollbarSize,2===t.vertical?0:t.verticalScrollbarSize,n.width,n.scrollWidth,s.scrollLeft),visibility:t.horizontal,extraScrollbarClassName:"horizontal",scrollable:e,scrollByPage:t.scrollByPage}),t.horizontalHasArrows){let e=(t.arrowSize-11)/2,i=(t.horizontalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:_.l.scrollbarButtonLeft,top:i,left:e,bottom:void 0,right:void 0,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new r.q(null,1,0))}),this._createArrow({className:"scra",icon:_.l.scrollbarButtonRight,top:i,left:void 0,bottom:void 0,right:e,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new r.q(null,-1,0))})}this._createSlider(Math.floor((t.horizontalScrollbarSize-t.horizontalSliderSize)/2),0,void 0,t.horizontalSliderSize)}_updateSlider(e,t){this.slider.setWidth(e),this.slider.setLeft(t)}_renderDomNode(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(e,t){return e}_sliderPointerPosition(e){return e.pageX}_sliderOrthogonalPointerPosition(e){return e.pageY}_updateScrollbarSize(e){this.slider.setHeight(e)}writeScrollPosition(e,t){e.scrollLeft=t}updateOptions(e){this.updateScrollbarSize(2===e.horizontal?0:e.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._visibilityController.setVisibility(e.horizontal),this._scrollByPage=e.scrollByPage}}class b extends m{constructor(e,t,i){let n=e.getScrollDimensions(),s=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:i,scrollbarState:new f.M(t.verticalHasArrows?t.arrowSize:0,2===t.vertical?0:t.verticalScrollbarSize,0,n.height,n.scrollHeight,s.scrollTop),visibility:t.vertical,extraScrollbarClassName:"vertical",scrollable:e,scrollByPage:t.scrollByPage}),t.verticalHasArrows){let e=(t.arrowSize-11)/2,i=(t.verticalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:_.l.scrollbarButtonUp,top:e,left:i,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new r.q(null,0,1))}),this._createArrow({className:"scra",icon:_.l.scrollbarButtonDown,top:void 0,left:i,bottom:e,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new r.q(null,0,-1))})}this._createSlider(0,Math.floor((t.verticalScrollbarSize-t.verticalSliderSize)/2),t.verticalSliderSize,void 0)}_updateSlider(e,t){this.slider.setHeight(e),this.slider.setTop(t)}_renderDomNode(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(e,t){return t}_sliderPointerPosition(e){return e.pageY}_sliderOrthogonalPointerPosition(e){return e.pageX}_updateScrollbarSize(e){this.slider.setWidth(e)}writeScrollPosition(e,t){e.scrollTop=t}updateOptions(e){this.updateScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(e.vertical),this._scrollByPage=e.scrollByPage}}var C=i(79915),w=i(98101);i(21373);class y{constructor(e,t,i){this.timestamp=e,this.deltaX=t,this.deltaY=i,this.score=0}}class S{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(-1===this._front&&-1===this._rear)return!1;let e=1,t=0,i=1,n=this._rear;for(;;){let s=n===this._front?e:Math.pow(2,-i);if(e-=s,t+=this._memory[n].score*s,n===this._front)break;n=(this._capacity+n-1)%this._capacity,i++}return t<=.5}acceptStandardWheelEvent(e){if(n.i7){let t=s.Jj(e.browserEvent),i=(0,n.ie)(t);this.accept(Date.now(),e.deltaX*i,e.deltaY*i)}else this.accept(Date.now(),e.deltaX,e.deltaY)}accept(e,t,i){let n=null,s=new y(e,t,i);-1===this._front&&-1===this._rear?(this._memory[0]=s,this._front=0,this._rear=0):(n=this._memory[this._rear],this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=s),s.score=this._computeScore(s,n)}_computeScore(e,t){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;let i=.5;if(this._isAlmostInt(e.deltaX)&&this._isAlmostInt(e.deltaY)||(i+=.25),t){let n=Math.abs(e.deltaX),s=Math.abs(e.deltaY),o=Math.abs(t.deltaX),r=Math.abs(t.deltaY);Math.max(n,o)%Math.max(Math.min(n,o),1)==0&&Math.max(s,r)%Math.max(Math.min(s,r),1)==0&&(i-=.5)}return Math.min(Math.max(i,0),1)}_isAlmostInt(e){return .01>Math.abs(Math.round(e)-e)}}S.INSTANCE=new S;class L extends a.${get options(){return this._options}constructor(e,t,i){super(),this._onScroll=this._register(new C.Q5),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new C.Q5),e.style.overflow="hidden",this._options=function(e){let t={lazyRender:void 0!==e.lazyRender&&e.lazyRender,className:void 0!==e.className?e.className:"",useShadows:void 0===e.useShadows||e.useShadows,handleMouseWheel:void 0===e.handleMouseWheel||e.handleMouseWheel,flipAxes:void 0!==e.flipAxes&&e.flipAxes,consumeMouseWheelIfScrollbarIsNeeded:void 0!==e.consumeMouseWheelIfScrollbarIsNeeded&&e.consumeMouseWheelIfScrollbarIsNeeded,alwaysConsumeMouseWheel:void 0!==e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:void 0!==e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:void 0!==e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==e.fastScrollSensitivity?e.fastScrollSensitivity:5,scrollPredominantAxis:void 0===e.scrollPredominantAxis||e.scrollPredominantAxis,mouseWheelSmoothScroll:void 0===e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:void 0!==e.arrowSize?e.arrowSize:11,listenOnDomNode:void 0!==e.listenOnDomNode?e.listenOnDomNode:null,horizontal:void 0!==e.horizontal?e.horizontal:1,horizontalScrollbarSize:void 0!==e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:void 0!==e.horizontalHasArrows&&e.horizontalHasArrows,vertical:void 0!==e.vertical?e.vertical:1,verticalScrollbarSize:void 0!==e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:void 0!==e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:void 0!==e.verticalSliderSize?e.verticalSliderSize:0,scrollByPage:void 0!==e.scrollByPage&&e.scrollByPage};return t.horizontalSliderSize=void 0!==e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize=void 0!==e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,p.dz&&(t.className+=" mac"),t}(t),this._scrollable=i,this._register(this._scrollable.onScroll(e=>{this._onWillScroll.fire(e),this._onDidScroll(e),this._onScroll.fire(e)}));let n={onMouseWheel:e=>this._onMouseWheel(e),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new b(this._scrollable,this._options,n)),this._horizontalScrollbar=this._register(new v(this._scrollable,this._options,n)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(e),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=(0,o.X)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=(0,o.X)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=(0,o.X)(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,e=>this._onMouseOver(e)),this.onmouseleave(this._listenOnDomNode,e=>this._onMouseLeave(e)),this._hideTimeout=this._register(new d._F),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=(0,c.B9)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarPointerDown(e){this._verticalScrollbar.delegatePointerDown(e)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(e){this._scrollable.setScrollDimensions(e,!1)}updateClassName(e){this._options.className=e,p.dz&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(e){void 0!==e.handleMouseWheel&&(this._options.handleMouseWheel=e.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),void 0!==e.mouseWheelScrollSensitivity&&(this._options.mouseWheelScrollSensitivity=e.mouseWheelScrollSensitivity),void 0!==e.fastScrollSensitivity&&(this._options.fastScrollSensitivity=e.fastScrollSensitivity),void 0!==e.scrollPredominantAxis&&(this._options.scrollPredominantAxis=e.scrollPredominantAxis),void 0!==e.horizontal&&(this._options.horizontal=e.horizontal),void 0!==e.vertical&&(this._options.vertical=e.vertical),void 0!==e.horizontalScrollbarSize&&(this._options.horizontalScrollbarSize=e.horizontalScrollbarSize),void 0!==e.verticalScrollbarSize&&(this._options.verticalScrollbarSize=e.verticalScrollbarSize),void 0!==e.scrollByPage&&(this._options.scrollByPage=e.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}delegateScrollFromMouseWheelEvent(e){this._onMouseWheel(new r.q(e))}_setListeningToMouseWheel(e){let t=this._mouseWheelToDispose.length>0;t!==e&&(this._mouseWheelToDispose=(0,c.B9)(this._mouseWheelToDispose),e&&this._mouseWheelToDispose.push(s.nm(this._listenOnDomNode,s.tw.MOUSE_WHEEL,e=>{this._onMouseWheel(new r.q(e))},{passive:!1})))}_onMouseWheel(e){var t;if(null===(t=e.browserEvent)||void 0===t?void 0:t.defaultPrevented)return;let i=S.INSTANCE;i.acceptStandardWheelEvent(e);let n=!1;if(e.deltaY||e.deltaX){let t=e.deltaY*this._options.mouseWheelScrollSensitivity,s=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(this._options.scrollYToX&&s+t===0?s=t=0:Math.abs(t)>=Math.abs(s)?s=0:t=0),this._options.flipAxes&&([t,s]=[s,t]);let o=!p.dz&&e.browserEvent&&e.browserEvent.shiftKey;(this._options.scrollYToX||o)&&!s&&(s=t,t=0),e.browserEvent&&e.browserEvent.altKey&&(s*=this._options.fastScrollSensitivity,t*=this._options.fastScrollSensitivity);let r=this._scrollable.getFutureScrollPosition(),l={};if(t){let e=50*t,i=r.scrollTop-(e<0?Math.floor(e):Math.ceil(e));this._verticalScrollbar.writeScrollPosition(l,i)}if(s){let e=50*s,t=r.scrollLeft-(e<0?Math.floor(e):Math.ceil(e));this._horizontalScrollbar.writeScrollPosition(l,t)}if(l=this._scrollable.validateScrollPosition(l),r.scrollLeft!==l.scrollLeft||r.scrollTop!==l.scrollTop){let e=this._options.mouseWheelSmoothScroll&&i.isPhysicalMouseWheel();e?this._scrollable.setScrollPositionSmooth(l):this._scrollable.setScrollPositionNow(l),n=!0}}let s=n;!s&&this._options.alwaysConsumeMouseWheel&&(s=!0),!s&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(s=!0),s&&(e.preventDefault(),e.stopPropagation())}_onDidScroll(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){let e=this._scrollable.getCurrentScrollPosition(),t=e.scrollTop>0,i=e.scrollLeft>0,n=i?" left":"",s=t?" top":"",o=i||t?" top-left-corner":"";this._leftShadowDomNode.setClassName(`shadow${n}`),this._topShadowDomNode.setClassName(`shadow${s}`),this._topLeftShadowDomNode.setClassName(`shadow${o}${s}${n}`)}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseLeave(e){this._mouseIsOver=!1,this._hide()}_onMouseOver(e){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet(()=>this._hide(),500)}}class k extends L{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;let i=new w.Rm({forceIntegerValues:!0,smoothScrollDuration:0,scheduleAtNextAnimationFrame:t=>s.jL(s.Jj(e),t)});super(e,t,i),this._register(i)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}}class D extends L{constructor(e,t,i){super(e,t,i)}setScrollPosition(e){e.reuseAnimation?this._scrollable.setScrollPositionSmooth(e,e.reuseAnimation):this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class x extends L{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;let i=new w.Rm({forceIntegerValues:!1,smoothScrollDuration:0,scheduleAtNextAnimationFrame:t=>s.jL(s.Jj(e),t)});super(e,t,i),this._register(i),this._element=e,this._register(this.onScroll(e=>{e.scrollTopChanged&&(this._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this._element.scrollLeft=e.scrollLeft)})),this.scanDomNode()}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}},4767:function(e,t,i){"use strict";i.d(t,{M:function(){return n}});class n{constructor(e,t,i,n,s,o){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(i),this._arrowSize=Math.round(e),this._visibleSize=n,this._scrollSize=s,this._scrollPosition=o,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new n(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(e){let t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)}setScrollSize(e){let t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)}setScrollPosition(e){let t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)}setScrollbarSize(e){this._scrollbarSize=Math.round(e)}setOppositeScrollbarSize(e){this._oppositeScrollbarSize=Math.round(e)}static _computeValues(e,t,i,n,s){let o=Math.max(0,i-e),r=Math.max(0,o-2*t),l=n>0&&n>i;if(!l)return{computedAvailableSize:Math.round(o),computedIsNeeded:l,computedSliderSize:Math.round(r),computedSliderRatio:0,computedSliderPosition:0};let a=Math.round(Math.max(20,Math.floor(i*r/n))),d=(r-a)/(n-i);return{computedAvailableSize:Math.round(o),computedIsNeeded:l,computedSliderSize:Math.round(a),computedSliderRatio:d,computedSliderPosition:Math.round(s*d)}}_refreshComputedValues(){let e=n._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=e.computedAvailableSize,this._computedIsNeeded=e.computedIsNeeded,this._computedSliderSize=e.computedSliderSize,this._computedSliderRatio=e.computedSliderRatio,this._computedSliderPosition=e.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(e){if(!this._computedIsNeeded)return 0;let t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(e){if(!this._computedIsNeeded)return 0;let t=e-this._arrowSize,i=this._scrollPosition;return t(0,l.jL)((0,l.Jj)(this.el),e)})),this.scrollableElement=this._register(new h.$Z(this.viewContainer,{vertical:0===this.orientation?null!==(r=t.scrollbarVisibility)&&void 0!==r?r:1:2,horizontal:1===this.orientation?null!==(d=t.scrollbarVisibility)&&void 0!==d?d:1:2},this.scrollable));let u=this._register(new a.Y(this.viewContainer,"scroll")).event;this._register(u(e=>{let t=this.scrollableElement.getScrollPosition(),i=1>=Math.abs(this.viewContainer.scrollLeft-t.scrollLeft)?void 0:this.viewContainer.scrollLeft,n=1>=Math.abs(this.viewContainer.scrollTop-t.scrollTop)?void 0:this.viewContainer.scrollTop;(void 0!==i||void 0!==n)&&this.scrollableElement.setScrollPosition({scrollLeft:i,scrollTop:n})})),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll(e=>{e.scrollTopChanged&&(this.viewContainer.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this.viewContainer.scrollLeft=e.scrollLeft)})),(0,l.R3)(this.el,this.scrollableElement.getDomNode()),this.style(t.styles||v),t.descriptor&&(this.size=t.descriptor.size,t.descriptor.views.forEach((e,t)=>{let i=_.o8(e.visible)||e.visible?e.size:{type:"invisible",cachedVisibleSize:e.size},n=e.view;this.doAddView(n,i,t,!0)}),this._contentSize=this.viewItems.reduce((e,t)=>e+t.size,0),this.saveProportions())}style(e){e.separatorBorder.isTransparent()?(this.el.classList.remove("separator-border"),this.el.style.removeProperty("--separator-border")):(this.el.classList.add("separator-border"),this.el.style.setProperty("--separator-border",e.separatorBorder.toString()))}addView(e,t,i=this.viewItems.length,n){this.doAddView(e,t,i,n)}layout(e,t){let i=Math.max(this.size,this._contentSize);if(this.size=e,this.layoutContext=t,this.proportions){let t=0;for(let i=0;i0&&(n.size=(0,m.uZ)(Math.round(s*e/t),n.minimumSize,n.maximumSize))}}else{let t=(0,u.w6)(this.viewItems.length),n=t.filter(e=>1===this.viewItems[e].priority),s=t.filter(e=>2===this.viewItems[e].priority);this.resize(this.viewItems.length-1,e-i,void 0,n,s)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this._contentSize>0&&(this.proportions=this.viewItems.map(e=>e.proportionalLayout&&e.visible?e.size/this._contentSize:void 0))}onSashStart({sash:e,start:t,alt:i}){for(let e of this.viewItems)e.enabled=!1;let n=this.sashItems.findIndex(t=>t.sash===e),s=(0,p.F8)((0,l.nm)(this.el.ownerDocument.body,"keydown",e=>o(this.sashDragState.current,e.altKey)),(0,l.nm)(this.el.ownerDocument.body,"keyup",()=>o(this.sashDragState.current,!1))),o=(e,t)=>{let i,o;let r=this.viewItems.map(e=>e.size),l=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(t=!t),t){let e=n===this.sashItems.length-1;if(e){let e=this.viewItems[n];l=(e.minimumSize-e.size)/2,a=(e.maximumSize-e.size)/2}else{let e=this.viewItems[n+1];l=(e.size-e.maximumSize)/2,a=(e.size-e.minimumSize)/2}}if(!t){let e=(0,u.w6)(n,-1),t=(0,u.w6)(n+1,this.viewItems.length),s=e.reduce((e,t)=>e+(this.viewItems[t].minimumSize-r[t]),0),l=e.reduce((e,t)=>e+(this.viewItems[t].viewMaximumSize-r[t]),0),a=0===t.length?Number.POSITIVE_INFINITY:t.reduce((e,t)=>e+(r[t]-this.viewItems[t].minimumSize),0),d=0===t.length?Number.NEGATIVE_INFINITY:t.reduce((e,t)=>e+(r[t]-this.viewItems[t].viewMaximumSize),0),h=Math.max(s,d),c=Math.min(a,l),g=this.findFirstSnapIndex(e),p=this.findFirstSnapIndex(t);if("number"==typeof g){let e=this.viewItems[g],t=Math.floor(e.viewMinimumSize/2);i={index:g,limitDelta:e.visible?h-t:h+t,size:e.size}}if("number"==typeof p){let e=this.viewItems[p],t=Math.floor(e.viewMinimumSize/2);o={index:p,limitDelta:e.visible?c+t:c-t,size:e.size}}}this.sashDragState={start:e,current:e,index:n,sizes:r,minDelta:l,maxDelta:a,alt:t,snapBefore:i,snapAfter:o,disposable:s}};o(t,i)}onSashChange({current:e}){let{index:t,start:i,sizes:n,alt:s,minDelta:o,maxDelta:r,snapBefore:l,snapAfter:a}=this.sashDragState;this.sashDragState.current=e;let d=this.resize(t,e-i,n,void 0,void 0,o,r,l,a);if(s){let e=t===this.sashItems.length-1,i=this.viewItems.map(e=>e.size),n=e?t:t+1,s=this.viewItems[n],o=s.size-s.maximumSize,r=s.size-s.minimumSize,l=e?t-1:t+1;this.resize(l,-d,i,void 0,void 0,o,r)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(e){for(let t of(this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions(),this.viewItems))t.enabled=!0}onViewChange(e,t){let i=this.viewItems.indexOf(e);i<0||i>=this.viewItems.length||(t="number"==typeof t?t:e.size,t=(0,m.uZ)(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&i>0?(this.resize(i-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout([i],void 0)))}resizeView(e,t){if(!(e<0)&&!(e>=this.viewItems.length)){if(this.state!==o.Idle)throw Error("Cant modify splitview");this.state=o.Busy;try{let i=(0,u.w6)(this.viewItems.length).filter(t=>t!==e),n=[...i.filter(e=>1===this.viewItems[e].priority),e],s=i.filter(e=>2===this.viewItems[e].priority),o=this.viewItems[e];t=Math.round(t),t=(0,m.uZ)(t,o.minimumSize,Math.min(o.maximumSize,this.size)),o.size=t,this.relayout(n,s)}finally{this.state=o.Idle}}}distributeViewSizes(){let e=[],t=0;for(let i of this.viewItems)i.maximumSize-i.minimumSize>0&&(e.push(i),t+=i.size);let i=Math.floor(t/e.length);for(let t of e)t.size=(0,m.uZ)(i,t.minimumSize,t.maximumSize);let n=(0,u.w6)(this.viewItems.length),s=n.filter(e=>1===this.viewItems[e].priority),o=n.filter(e=>2===this.viewItems[e].priority);this.relayout(s,o)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}doAddView(e,t,i=this.viewItems.length,n){if(this.state!==o.Idle)throw Error("Cant modify splitview");this.state=o.Busy;try{let s,o;let r=(0,l.$)(".split-view-view");i===this.viewItems.length?this.viewContainer.appendChild(r):this.viewContainer.insertBefore(r,this.viewContainer.children.item(i));let a=e.onDidChange(e=>this.onViewChange(m,e)),h=(0,p.OF)(()=>this.viewContainer.removeChild(r)),c=(0,p.F8)(a,h);"number"==typeof t?s=t:("auto"===t.type&&(t=this.areViewsDistributed()?{type:"distribute"}:{type:"split",index:t.index}),s="split"===t.type?this.getViewSize(t.index)/2:"invisible"===t.type?{cachedVisibleSize:t.cachedVisibleSize}:e.minimumSize);let m=0===this.orientation?new C(r,e,s,c):new w(r,e,s,c);if(this.viewItems.splice(i,0,m),this.viewItems.length>1){let e={orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash},t=0===this.orientation?new d.g(this.sashContainer,{getHorizontalSashTop:e=>this.getSashPosition(e),getHorizontalSashWidth:this.getSashOrthogonalSize},{...e,orientation:1}):new d.g(this.sashContainer,{getVerticalSashLeft:e=>this.getSashPosition(e),getVerticalSashHeight:this.getSashOrthogonalSize},{...e,orientation:0}),n=0===this.orientation?e=>({sash:t,start:e.startY,current:e.currentY,alt:e.altKey}):e=>({sash:t,start:e.startX,current:e.currentX,alt:e.altKey}),s=g.ju.map(t.onDidStart,n),o=s(this.onSashStart,this),r=g.ju.map(t.onDidChange,n),l=r(this.onSashChange,this),a=g.ju.map(t.onDidEnd,()=>this.sashItems.findIndex(e=>e.sash===t)),h=a(this.onSashEnd,this),c=t.onDidReset(()=>{let e=this.sashItems.findIndex(e=>e.sash===t),i=(0,u.w6)(e,-1),n=(0,u.w6)(e+1,this.viewItems.length),s=this.findFirstSnapIndex(i),o=this.findFirstSnapIndex(n);("number"!=typeof s||this.viewItems[s].visible)&&("number"!=typeof o||this.viewItems[o].visible)&&this._onDidSashReset.fire(e)}),m=(0,p.F8)(o,l,h,c,t);this.sashItems.splice(i-1,0,{sash:t,disposable:m})}r.appendChild(e.element),"number"!=typeof t&&"split"===t.type&&(o=[t.index]),n||this.relayout([i],o),n||"number"==typeof t||"distribute"!==t.type||this.distributeViewSizes()}finally{this.state=o.Idle}}relayout(e,t){let i=this.viewItems.reduce((e,t)=>e+t.size,0);this.resize(this.viewItems.length-1,this.size-i,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(e,t,i=this.viewItems.map(e=>e.size),n,s,o=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY,l,a){if(e<0||e>=this.viewItems.length)return 0;let d=(0,u.w6)(e,-1),h=(0,u.w6)(e+1,this.viewItems.length);if(s)for(let e of s)(0,u.zI)(d,e),(0,u.zI)(h,e);if(n)for(let e of n)(0,u.al)(d,e),(0,u.al)(h,e);let c=d.map(e=>this.viewItems[e]),g=d.map(e=>i[e]),p=h.map(e=>this.viewItems[e]),f=h.map(e=>i[e]),_=d.reduce((e,t)=>e+(this.viewItems[t].minimumSize-i[t]),0),v=d.reduce((e,t)=>e+(this.viewItems[t].maximumSize-i[t]),0),b=0===h.length?Number.POSITIVE_INFINITY:h.reduce((e,t)=>e+(i[t]-this.viewItems[t].minimumSize),0),C=0===h.length?Number.NEGATIVE_INFINITY:h.reduce((e,t)=>e+(i[t]-this.viewItems[t].maximumSize),0),w=Math.max(_,C,o),y=Math.min(b,v,r),S=!1;if(l){let e=this.viewItems[l.index],i=t>=l.limitDelta;S=i!==e.visible,e.setVisible(i,l.size)}if(!S&&a){let e=this.viewItems[a.index],i=te+t.size,0),i=this.size-t,n=(0,u.w6)(this.viewItems.length-1,-1),s=n.filter(e=>1===this.viewItems[e].priority),o=n.filter(e=>2===this.viewItems[e].priority);for(let e of o)(0,u.zI)(n,e);for(let e of s)(0,u.al)(n,e);"number"==typeof e&&(0,u.al)(n,e);for(let e=0;0!==i&&ee+t.size,0);let e=0;for(let t of this.viewItems)t.layout(e,this.layoutContext),e+=t.size;this.sashItems.forEach(e=>e.sash.layout()),this.updateSashEnablement(),this.updateScrollableElement()}updateScrollableElement(){0===this.orientation?this.scrollableElement.setScrollDimensions({height:this.size,scrollHeight:this._contentSize}):this.scrollableElement.setScrollDimensions({width:this.size,scrollWidth:this._contentSize})}updateSashEnablement(){let e=!1,t=this.viewItems.map(t=>e=t.size-t.minimumSize>0||e);e=!1;let i=this.viewItems.map(t=>e=t.maximumSize-t.size>0||e),n=[...this.viewItems].reverse();e=!1;let s=n.map(t=>e=t.size-t.minimumSize>0||e).reverse();e=!1;let o=n.map(t=>e=t.maximumSize-t.size>0||e).reverse(),r=0;for(let e=0;e0||this.startSnappingEnabled)?n.state=1:h&&t[e]&&(r0)break;if(!e.visible&&e.snap)return t}}areViewsDistributed(){let e,t;for(let i of this.viewItems)if(e=void 0===e?i.size:Math.min(e,i.size),(t=void 0===t?i.size:Math.max(t,i.size))-e>2)return!1;return!0}dispose(){var e;null===(e=this.sashDragState)||void 0===e||e.disposable.dispose(),(0,p.B9)(this.viewItems),this.viewItems=[],this.sashItems.forEach(e=>e.disposable.dispose()),this.sashItems=[],super.dispose()}}},74571:function(e,t,i){"use strict";i.d(t,{D:function(){return a},Z:function(){return d}});var n=i(66067),s=i(29527),o=i(79915);i(93897);var r=i(82905),l=i(85432);let a={inputActiveOptionBorder:"#007ACC00",inputActiveOptionForeground:"#FFFFFF",inputActiveOptionBackground:"#0E639C50"};class d extends n.${constructor(e){var t;super(),this._onChange=this._register(new o.Q5),this.onChange=this._onChange.event,this._onKeyDown=this._register(new o.Q5),this.onKeyDown=this._onKeyDown.event,this._opts=e,this._checked=this._opts.isChecked;let i=["monaco-custom-toggle"];this._opts.icon&&(this._icon=this._opts.icon,i.push(...s.k.asClassNameArray(this._icon))),this._opts.actionClassName&&i.push(...this._opts.actionClassName.split(" ")),this._checked&&i.push("checked"),this.domNode=document.createElement("div"),this._hover=this._register((0,l.B)().setupUpdatableHover(null!==(t=e.hoverDelegate)&&void 0!==t?t:(0,r.tM)("mouse"),this.domNode,this._opts.title)),this.domNode.classList.add(...i),this._opts.notFocusable||(this.domNode.tabIndex=0),this.domNode.setAttribute("role","checkbox"),this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.setAttribute("aria-label",this._opts.title),this.applyStyles(),this.onclick(this.domNode,e=>{this.enabled&&(this.checked=!this._checked,this._onChange.fire(!1),e.preventDefault())}),this._register(this.ignoreGesture(this.domNode)),this.onkeydown(this.domNode,e=>{if(10===e.keyCode||3===e.keyCode){this.checked=!this._checked,this._onChange.fire(!0),e.preventDefault(),e.stopPropagation();return}this._onKeyDown.fire(e)})}get enabled(){return"true"!==this.domNode.getAttribute("aria-disabled")}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.classList.toggle("checked",this._checked),this.applyStyles()}width(){return 22}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder||"",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground||"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground||"")}enable(){this.domNode.setAttribute("aria-disabled",String(!1))}disable(){this.domNode.setAttribute("aria-disabled",String(!0))}}},7374:function(e,t,i){"use strict";i.d(t,{CH:function(){return Z},E4:function(){return r},Zd:function(){return a},cz:function(){return M},sZ:function(){return l}});var n,s,o,r,l,a,d=i(81845);i(21887);var h=i(69629);i(21489),i(49544);var u=i(37690),c=i(78438),g=i(56240),p=i(74571),m=i(94936),f=i(68712);i(76886);var _=i(40789),v=i(44532),b=i(47039),C=i(29527),w=i(10289),y=i(79915),S=i(79814),L=i(70784),k=i(39175),D=i(24162);i(21805);var x=i(82801);i(82905);var N=i(43495);class E extends c.kX{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function I(e){return e instanceof c.kX?new E(e):e}class T{constructor(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=L.JT.None,this.disposables=new L.SL}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){var i,n;null===(n=(i=this.dnd).onDragStart)||void 0===n||n.call(i,I(e),t)}onDragOver(e,t,i,n,s,o=!0){let r=this.dnd.onDragOver(I(e),t&&t.element,i,n,s),l=this.autoExpandNode!==t;if(l&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),void 0===t)return r;if(l&&"boolean"!=typeof r&&r.autoExpand&&(this.autoExpandDisposable=(0,v.Vg)(()=>{let e=this.modelProvider(),i=e.getNodeLocation(t);e.isCollapsed(i)&&e.setCollapsed(i,!1),this.autoExpandNode=void 0},500,this.disposables)),"boolean"==typeof r||!r.accept||void 0===r.bubble||r.feedback){if(!o){let e="boolean"==typeof r?r:r.accept,t="boolean"==typeof r?void 0:r.effect;return{accept:e,effect:t,feedback:[i]}}return r}if(1===r.bubble){let i=this.modelProvider(),o=i.getNodeLocation(t),r=i.getParentNodeLocation(o),l=i.getNode(r),a=r&&i.getListIndex(r);return this.onDragOver(e,l,a,n,s,!1)}let a=this.modelProvider(),d=a.getNodeLocation(t),h=a.getListIndex(d),u=a.getListRenderCount(d);return{...r,feedback:(0,_.w6)(h,h+u)}}drop(e,t,i,n,s){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(I(e),t&&t.element,i,n,s)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}dispose(){this.disposables.dispose(),this.dnd.dispose()}}class M{constructor(e){this.delegate=e}getHeight(e){return this.delegate.getHeight(e.element)}getTemplateId(e){return this.delegate.getTemplateId(e.element)}hasDynamicHeight(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)}setDynamicHeight(e,t){var i,n;null===(n=(i=this.delegate).setDynamicHeight)||void 0===n||n.call(i,e.element,t)}}(n=r||(r={})).None="none",n.OnHover="onHover",n.Always="always";class R{get elements(){return this._elements}constructor(e,t=[]){this._elements=t,this.disposables=new L.SL,this.onDidChange=y.ju.forEach(e,e=>this._elements=e,this.disposables)}dispose(){this.disposables.dispose()}}class A{constructor(e,t,i,n,s,o={}){var r;this.renderer=e,this.modelProvider=t,this.activeNodes=n,this.renderedIndentGuides=s,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=A.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.activeIndentNodes=new Set,this.indentGuidesDisposable=L.JT.None,this.disposables=new L.SL,this.templateId=e.templateId,this.updateOptions(o),y.ju.map(i,e=>e.node)(this.onDidChangeNodeTwistieState,this,this.disposables),null===(r=e.onDidChangeTwistieState)||void 0===r||r.call(e,this.onDidChangeTwistieState,this,this.disposables)}updateOptions(e={}){if(void 0!==e.indent){let t=(0,k.uZ)(e.indent,0,40);if(t!==this.indent)for(let[e,i]of(this.indent=t,this.renderedNodes))this.renderTreeElement(e,i)}if(void 0!==e.renderIndentGuides){let t=e.renderIndentGuides!==r.None;if(t!==this.shouldRenderIndentGuides){for(let[e,i]of(this.shouldRenderIndentGuides=t,this.renderedNodes))this._renderIndentGuides(e,i);if(this.indentGuidesDisposable.dispose(),t){let e=new L.SL;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,e),this.indentGuidesDisposable=e,this._onDidChangeActiveNodes(this.activeNodes.elements)}}}void 0!==e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)}renderTemplate(e){let t=(0,d.R3)(e,(0,d.$)(".monaco-tl-row")),i=(0,d.R3)(t,(0,d.$)(".monaco-tl-indent")),n=(0,d.R3)(t,(0,d.$)(".monaco-tl-twistie")),s=(0,d.R3)(t,(0,d.$)(".monaco-tl-contents")),o=this.renderer.renderTemplate(s);return{container:e,indent:i,twistie:n,indentGuidesDisposable:L.JT.None,templateData:o}}renderElement(e,t,i,n){this.renderedNodes.set(e,i),this.renderedElements.set(e.element,e),this.renderTreeElement(e,i),this.renderer.renderElement(e,t,i.templateData,n)}disposeElement(e,t,i,n){var s,o;i.indentGuidesDisposable.dispose(),null===(o=(s=this.renderer).disposeElement)||void 0===o||o.call(s,e,t,i.templateData,n),"number"==typeof n&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}onDidChangeTwistieState(e){let t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)}onDidChangeNodeTwistieState(e){let t=this.renderedNodes.get(e);t&&(this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderTreeElement(e,t))}renderTreeElement(e,t){let i=A.DefaultIndent+(e.depth-1)*this.indent;t.twistie.style.paddingLeft=`${i}px`,t.indent.style.width=`${i+this.indent-16}px`,e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded"),t.twistie.classList.remove(...C.k.asClassNameArray(b.l.treeItemExpanded));let n=!1;this.renderer.renderTwistie&&(n=this.renderer.renderTwistie(e.element,t.twistie)),e.collapsible&&(!this.hideTwistiesOfChildlessElements||e.visibleChildrenCount>0)?(n||t.twistie.classList.add(...C.k.asClassNameArray(b.l.treeItemExpanded)),t.twistie.classList.add("collapsible"),t.twistie.classList.toggle("collapsed",e.collapsed)):t.twistie.classList.remove("collapsible","collapsed"),this._renderIndentGuides(e,t)}_renderIndentGuides(e,t){if((0,d.PO)(t.indent),t.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;let i=new L.SL,n=this.modelProvider();for(;;){let s=n.getNodeLocation(e),o=n.getParentNodeLocation(s);if(!o)break;let r=n.getNode(o),l=(0,d.$)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(r)&&l.classList.add("active"),0===t.indent.childElementCount?t.indent.appendChild(l):t.indent.insertBefore(l,t.indent.firstElementChild),this.renderedIndentGuides.add(r,l),i.add((0,L.OF)(()=>this.renderedIndentGuides.delete(r,l))),e=r}t.indentGuidesDisposable=i}_onDidChangeActiveNodes(e){if(!this.shouldRenderIndentGuides)return;let t=new Set,i=this.modelProvider();e.forEach(e=>{let n=i.getNodeLocation(e);try{let s=i.getParentNodeLocation(n);e.collapsible&&e.children.length>0&&!e.collapsed?t.add(e):s&&t.add(i.getNode(s))}catch(e){}}),this.activeIndentNodes.forEach(e=>{t.has(e)||this.renderedIndentGuides.forEach(e,e=>e.classList.remove("active"))}),t.forEach(e=>{this.activeIndentNodes.has(e)||this.renderedIndentGuides.forEach(e,e=>e.classList.add("active"))}),this.activeIndentNodes=t}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),(0,L.B9)(this.disposables)}}A.DefaultIndent=8;class P{get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}constructor(e,t,i){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=i,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new L.SL,e.onWillRefilter(this.reset,this,this.disposables)}filter(e,t){let i=1;if(this._filter){let n=this._filter.filter(e,t);if(0===(i="boolean"==typeof n?n?1:0:(0,m.gB)(n)?(0,m.aG)(n.visibility):n))return!1}if(this._totalCount++,!this._pattern)return this._matchCount++,{data:S.CL.Default,visibility:i};let n=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),s=Array.isArray(n)?n:[n];for(let e of s){let t;let n=e&&e.toString();if(void 0===n)return{data:S.CL.Default,visibility:i};if(this.tree.findMatchType===a.Contiguous){let e=n.toLowerCase().indexOf(this._lowercasePattern);if(e>-1){t=[Number.MAX_SAFE_INTEGER,0];for(let i=this._lowercasePattern.length;i>0;i--)t.push(e+i-1)}}else t=(0,S.EW)(this._pattern,this._lowercasePattern,0,n,n.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});if(t)return this._matchCount++,1===s.length?{data:t,visibility:i}:{data:{label:n,score:t},visibility:i}}return this.tree.findMode!==l.Filter?{data:S.CL.Default,visibility:i}:"number"==typeof this.tree.options.defaultFindVisibility?this.tree.options.defaultFindVisibility:this.tree.options.defaultFindVisibility?this.tree.options.defaultFindVisibility(e):2}reset(){this._totalCount=0,this._matchCount=0}dispose(){(0,L.B9)(this.disposables)}}u.g4,p.D,(s=l||(l={}))[s.Highlight=0]="Highlight",s[s.Filter=1]="Filter",(o=a||(a={}))[o.Fuzzy=0]="Fuzzy",o[o.Contiguous=1]="Contiguous";class O{get pattern(){return this._pattern}get mode(){return this._mode}set mode(e){e!==this._mode&&(this._mode=e,this.widget&&(this.widget.mode=this._mode),this.tree.refilter(),this.render(),this._onDidChangeMode.fire(e))}get matchType(){return this._matchType}set matchType(e){e!==this._matchType&&(this._matchType=e,this.widget&&(this.widget.matchType=this._matchType),this.tree.refilter(),this.render(),this._onDidChangeMatchType.fire(e))}constructor(e,t,i,n,s,o={}){var r,d;this.tree=e,this.view=i,this.filter=n,this.contextViewProvider=s,this.options=o,this._pattern="",this.width=0,this._onDidChangeMode=new y.Q5,this.onDidChangeMode=this._onDidChangeMode.event,this._onDidChangeMatchType=new y.Q5,this.onDidChangeMatchType=this._onDidChangeMatchType.event,this._onDidChangePattern=new y.Q5,this._onDidChangeOpenState=new y.Q5,this.onDidChangeOpenState=this._onDidChangeOpenState.event,this.enabledDisposables=new L.SL,this.disposables=new L.SL,this._mode=null!==(r=e.options.defaultFindMode)&&void 0!==r?r:l.Highlight,this._matchType=null!==(d=e.options.defaultFindMatchType)&&void 0!==d?d:a.Fuzzy,t.onDidSplice(this.onDidSpliceModel,this,this.disposables)}updateOptions(e={}){void 0!==e.defaultFindMode&&(this.mode=e.defaultFindMode),void 0!==e.defaultFindMatchType&&(this.matchType=e.defaultFindMatchType)}onDidSpliceModel(){this.widget&&0!==this.pattern.length&&(this.tree.refilter(),this.render())}render(){var e,t,i,n;let s=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&s?null===(e=this.tree.options.showNotFoundMessage)||void 0===e||e?null===(t=this.widget)||void 0===t||t.showMessage({type:2,content:(0,x.NC)("not found","No elements found.")}):null===(i=this.widget)||void 0===i||i.showMessage({type:2}):null===(n=this.widget)||void 0===n||n.clearMessage()}shouldAllowFocus(e){return!this.widget||!this.pattern||this.filter.totalCount>0&&this.filter.matchCount<=1||!S.CL.isDefault(e.filterData)}layout(e){var t;this.width=e,null===(t=this.widget)||void 0===t||t.layout(e)}dispose(){this._history=void 0,this._onDidChangePattern.dispose(),this.enabledDisposables.dispose(),this.disposables.dispose()}}function F(e,t){return e.position===t.position&&B(e,t)}function B(e,t){return e.node.element===t.node.element&&e.startIndex===t.startIndex&&e.height===t.height&&e.endIndex===t.endIndex}class W{constructor(e=[]){this.stickyNodes=e}get count(){return this.stickyNodes.length}equal(e){return(0,_.fS)(this.stickyNodes,e.stickyNodes,F)}lastNodePartiallyVisible(){if(0===this.count)return!1;let e=this.stickyNodes[this.count-1];if(1===this.count)return 0!==e.position;let t=this.stickyNodes[this.count-2];return t.position+t.height!==e.position}animationStateChanged(e){if(!(0,_.fS)(this.stickyNodes,e.stickyNodes,B)||0===this.count)return!1;let t=this.stickyNodes[this.count-1],i=e.stickyNodes[e.count-1];return t.position!==i.position}}class H{constrainStickyScrollNodes(e,t,i){for(let n=0;ni||n>=t)return e.slice(0,n)}return e}}class V extends L.JT{constructor(e,t,i,n,s,o={}){var r;super(),this.tree=e,this.model=t,this.view=i,this.treeDelegate=s,this.maxWidgetViewRatio=.4;let l=this.validateStickySettings(o);this.stickyScrollMaxItemCount=l.stickyScrollMaxItemCount,this.stickyScrollDelegate=null!==(r=o.stickyScrollDelegate)&&void 0!==r?r:new H,this._widget=this._register(new z(i.getScrollableElement(),i,e,n,s,o.accessibilityProvider)),this.onDidChangeHasFocus=this._widget.onDidChangeHasFocus,this.onContextMenu=this._widget.onContextMenu,this._register(i.onDidScroll(()=>this.update())),this._register(i.onDidChangeContentHeight(()=>this.update())),this._register(e.onDidChangeCollapseState(()=>this.update())),this.update()}get height(){return this._widget.height}getNodeAtHeight(e){let t;if(!((t=0===e?this.view.firstVisibleIndex:this.view.indexAt(e+this.view.scrollTop))<0)&&!(t>=this.view.length))return this.view.element(t)}update(){let e=this.getNodeAtHeight(0);if(!e||0===this.tree.scrollTop){this._widget.setState(void 0);return}let t=this.findStickyState(e);this._widget.setState(t)}findStickyState(e){let t=[],i=e,n=0,s=this.getNextStickyNode(i,void 0,n);for(;s&&(t.push(s),n+=s.height,!(t.length<=this.stickyScrollMaxItemCount)||(i=this.getNextVisibleNode(s)));)s=this.getNextStickyNode(i,s.node,n);let o=this.constrainStickyNodes(t);return o.length?new W(o):void 0}getNextVisibleNode(e){return this.getNodeAtHeight(e.position+e.height)}getNextStickyNode(e,t,i){let n=this.getAncestorUnderPrevious(e,t);if(!(!n||n===e&&(!this.nodeIsUncollapsedParent(e)||this.nodeTopAlignsWithStickyNodesBottom(e,i))))return this.createStickyScrollNode(n,i)}nodeTopAlignsWithStickyNodesBottom(e,t){let i=this.getNodeIndex(e),n=this.view.getElementTop(i);return this.view.scrollTop===n-t}createStickyScrollNode(e,t){let i=this.treeDelegate.getHeight(e),{startIndex:n,endIndex:s}=this.getNodeRange(e),o=this.calculateStickyNodePosition(s,t,i);return{node:e,position:o,height:i,startIndex:n,endIndex:s}}getAncestorUnderPrevious(e,t){let i=e,n=this.getParentNode(i);for(;n;){if(n===t)return i;i=n,n=this.getParentNode(i)}if(void 0===t)return i}calculateStickyNodePosition(e,t,i){let n=this.view.getRelativeTop(e);if(null===n&&this.view.firstVisibleIndex===e&&e+1l&&t<=l?l-i:t}constrainStickyNodes(e){if(0===e.length)return[];let t=this.view.renderHeight*this.maxWidgetViewRatio,i=e[e.length-1];if(e.length<=this.stickyScrollMaxItemCount&&i.position+i.height<=t)return e;let n=this.stickyScrollDelegate.constrainStickyScrollNodes(e,this.stickyScrollMaxItemCount,t);if(!n.length)return[];let s=n[n.length-1];if(n.length>this.stickyScrollMaxItemCount||s.position+s.height>t)throw Error("stickyScrollDelegate violates constraints");return n}getParentNode(e){let t=this.model.getNodeLocation(e),i=this.model.getParentNodeLocation(t);return i?this.model.getNode(i):void 0}nodeIsUncollapsedParent(e){let t=this.model.getNodeLocation(e);return this.model.getListRenderCount(t)>1}getNodeIndex(e){let t=this.model.getNodeLocation(e),i=this.model.getListIndex(t);return i}getNodeRange(e){let t=this.model.getNodeLocation(e),i=this.model.getListIndex(t);if(i<0)throw Error("Node not found in tree");let n=this.model.getListRenderCount(t);return{startIndex:i,endIndex:i+n-1}}nodePositionTopBelowWidget(e){let t=[],i=this.getParentNode(e);for(;i;)t.push(i),i=this.getParentNode(i);let n=0;for(let e=0;e0,i=!!e&&e.count>0;if(!t&&!i||t&&i&&this._previousState.equal(e))return;if(t!==i&&this.setVisible(i),!i){this._previousState=void 0,this._previousElements=[],this._previousStateDisposables.clear();return}let n=e.stickyNodes[e.count-1];if(this._previousState&&e.animationStateChanged(this._previousState))this._previousElements[this._previousState.count-1].style.top=`${n.position}px`;else{this._previousStateDisposables.clear();let t=Array(e.count);for(let i=e.count-1;i>=0;i--){let n=e.stickyNodes[i],{element:s,disposable:o}=this.createElement(n,i,e.count);t[i]=s,this._rootDomNode.appendChild(s),this._previousStateDisposables.add(o)}this.stickyScrollFocus.updateElements(t,e),this._previousElements=t}this._previousState=e,this._rootDomNode.style.height=`${n.position+n.height}px`}createElement(e,t,i){let n=e.startIndex,s=document.createElement("div");s.style.top=`${e.position}px`,!1!==this.tree.options.setRowHeight&&(s.style.height=`${e.height}px`),!1!==this.tree.options.setRowLineHeight&&(s.style.lineHeight=`${e.height}px`),s.classList.add("monaco-tree-sticky-row"),s.classList.add("monaco-list-row"),s.setAttribute("data-index",`${n}`),s.setAttribute("data-parity",n%2==0?"even":"odd"),s.setAttribute("id",this.view.getElementID(n));let o=this.setAccessibilityAttributes(s,e.node.element,t,i),r=this.treeDelegate.getTemplateId(e.node),l=this.treeRenderers.find(e=>e.templateId===r);if(!l)throw Error(`No renderer found for template id ${r}`);let a=e.node;a===this.tree.getNode(this.tree.getNodeLocation(e.node))&&(a=new Proxy(e.node,{}));let d=l.renderTemplate(s);l.renderElement(a,e.startIndex,d,e.height);let h=(0,L.OF)(()=>{o.dispose(),l.disposeElement(a,e.startIndex,d,e.height),l.disposeTemplate(d),s.remove()});return{element:s,disposable:h}}setAccessibilityAttributes(e,t,i,n){var s;if(!this.accessibilityProvider)return L.JT.None;this.accessibilityProvider.getSetSize&&e.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(t,i,n))),this.accessibilityProvider.getPosInSet&&e.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(t,i))),this.accessibilityProvider.getRole&&e.setAttribute("role",null!==(s=this.accessibilityProvider.getRole(t))&&void 0!==s?s:"treeitem");let o=this.accessibilityProvider.getAriaLabel(t),r=o&&"string"!=typeof o?o:(0,N.Dz)(o),l=(0,N.EH)(t=>{let i=t.readObservable(r);i?e.setAttribute("aria-label",i):e.removeAttribute("aria-label")});"string"==typeof o||o&&e.setAttribute("aria-label",o.get());let a=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(t);return"number"==typeof a&&e.setAttribute("aria-level",`${a}`),e.setAttribute("aria-selected",String(!1)),l}setVisible(e){this._rootDomNode.classList.toggle("empty",!e),e||this.stickyScrollFocus.updateElements([],void 0)}domFocus(){this.stickyScrollFocus.domFocus()}focusedLast(){return this.stickyScrollFocus.focusedLast()}dispose(){this.stickyScrollFocus.dispose(),this._previousStateDisposables.dispose(),this._rootDomNode.remove()}}class K extends L.JT{get domHasFocus(){return this._domHasFocus}set domHasFocus(e){e!==this._domHasFocus&&(this._onDidChangeHasFocus.fire(e),this._domHasFocus=e)}constructor(e,t){super(),this.container=e,this.view=t,this.focusedIndex=-1,this.elements=[],this._onDidChangeHasFocus=new y.Q5,this.onDidChangeHasFocus=this._onDidChangeHasFocus.event,this._onContextMenu=new y.Q5,this.onContextMenu=this._onContextMenu.event,this._domHasFocus=!1,this.container.addEventListener("focus",()=>this.onFocus()),this.container.addEventListener("blur",()=>this.onBlur()),this._register(this.view.onDidFocus(()=>this.toggleStickyScrollFocused(!1))),this._register(this.view.onKeyDown(e=>this.onKeyDown(e))),this._register(this.view.onMouseDown(e=>this.onMouseDown(e))),this._register(this.view.onContextMenu(e=>this.handleContextMenu(e)))}handleContextMenu(e){let t=e.browserEvent.target;if(!(0,g.xf)(t)&&!(0,g.Et)(t)){this.focusedLast()&&this.view.domFocus();return}if(!(0,d.vd)(e.browserEvent)){if(!this.state)throw Error("Context menu should not be triggered when state is undefined");let t=this.state.stickyNodes.findIndex(t=>{var i;return t.node.element===(null===(i=e.element)||void 0===i?void 0:i.element)});if(-1===t)throw Error("Context menu should not be triggered when element is not in sticky scroll widget");this.container.focus(),this.setFocus(t);return}if(!this.state||this.focusedIndex<0)throw Error("Context menu key should not be triggered when focus is not in sticky scroll widget");let i=this.state.stickyNodes[this.focusedIndex],n=i.node.element,s=this.elements[this.focusedIndex];this._onContextMenu.fire({element:n,anchor:s,browserEvent:e.browserEvent,isStickyScroll:!0})}onKeyDown(e){if(this.domHasFocus&&this.state){if("ArrowUp"===e.key)this.setFocusedElement(Math.max(0,this.focusedIndex-1)),e.preventDefault(),e.stopPropagation();else if("ArrowDown"===e.key||"ArrowRight"===e.key){if(this.focusedIndex>=this.state.count-1){let e=this.state.stickyNodes[this.state.count-1].startIndex+1;this.view.domFocus(),this.view.setFocus([e]),this.scrollNodeUnderWidget(e,this.state)}else this.setFocusedElement(this.focusedIndex+1);e.preventDefault(),e.stopPropagation()}}}onMouseDown(e){let t=e.browserEvent.target;((0,g.xf)(t)||(0,g.Et)(t))&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation())}updateElements(e,t){if(t&&0===t.count)throw Error("Sticky scroll state must be undefined when there are no sticky nodes");if(t&&t.count!==e.length)throw Error("Sticky scroll focus received illigel state");let i=this.focusedIndex;if(this.removeFocus(),this.elements=e,this.state=t,t){let e=(0,k.uZ)(i,0,t.count-1);this.setFocus(e)}else this.domHasFocus&&this.view.domFocus();this.container.tabIndex=t?0:-1}setFocusedElement(e){let t=this.state;if(!t)throw Error("Cannot set focus when state is undefined");if(this.setFocus(e),!(e1?t.stickyNodes[t.count-2]:void 0,s=this.view.getElementTop(e),o=n?n.position+n.height+i.height:i.height;this.view.scrollTop=s-o}domFocus(){if(!this.state)throw Error("Cannot focus when state is undefined");this.container.focus()}focusedLast(){return!!this.state&&this.view.getHTMLElement().classList.contains("sticky-scroll-focused")}removeFocus(){-1!==this.focusedIndex&&(this.toggleElementFocus(this.elements[this.focusedIndex],!1),this.focusedIndex=-1)}setFocus(e){if(0>e)throw Error("addFocus() can not remove focus");if(!this.state&&e>=0)throw Error("Cannot set focus index when state is undefined");if(this.state&&e>=this.state.count)throw Error("Cannot set focus index to an index that does not exist");let t=this.focusedIndex;t>=0&&this.toggleElementFocus(this.elements[t],!1),e>=0&&this.toggleElementFocus(this.elements[e],!0),this.focusedIndex=e}toggleElementFocus(e,t){this.toggleElementActiveFocus(e,t&&this.domHasFocus),this.toggleElementPassiveFocus(e,t)}toggleCurrentElementActiveFocus(e){-1!==this.focusedIndex&&this.toggleElementActiveFocus(this.elements[this.focusedIndex],e)}toggleElementActiveFocus(e,t){e.classList.toggle("focused",t)}toggleElementPassiveFocus(e,t){e.classList.toggle("passive-focused",t)}toggleStickyScrollFocused(e){this.view.getHTMLElement().classList.toggle("sticky-scroll-focused",e)}onFocus(){if(!this.state||0===this.elements.length)throw Error("Cannot focus when state is undefined or elements are empty");this.domHasFocus=!0,this.toggleStickyScrollFocused(!0),this.toggleCurrentElementActiveFocus(!0),-1===this.focusedIndex&&this.setFocus(0)}onBlur(){this.domHasFocus=!1,this.toggleCurrentElementActiveFocus(!1)}dispose(){this.toggleStickyScrollFocused(!1),this._onDidChangeHasFocus.fire(!1),super.dispose()}}function U(e){let t=f.sD.Unknown;return(0,d.uU)(e.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?t=f.sD.Twistie:(0,d.uU)(e.browserEvent.target,"monaco-tl-contents","monaco-tl-row")?t=f.sD.Element:(0,d.uU)(e.browserEvent.target,"monaco-tree-type-filter","monaco-list")&&(t=f.sD.Filter),{browserEvent:e.browserEvent,element:e.element?e.element.element:null,target:t}}function $(e){let t=(0,g.xf)(e.browserEvent.target);return{element:e.element?e.element.element:null,browserEvent:e.browserEvent,anchor:e.anchor,isStickyScroll:t}}function q(e,t){t(e),e.children.forEach(e=>q(e,t))}class j{get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}constructor(e,t){this.getFirstViewElementWithTrait=e,this.identityProvider=t,this.nodes=[],this._onDidChange=new y.Q5,this.onDidChange=this._onDidChange.event}set(e,t){!(null==t?void 0:t.__forceEvent)&&(0,_.fS)(this.nodes,e)||this._set(e,!1,t)}_set(e,t,i){if(this.nodes=[...e],this.elements=void 0,this._nodeSet=void 0,!t){let e=this;this._onDidChange.fire({get elements(){return e.get()},browserEvent:i})}}get(){return this.elements||(this.elements=this.nodes.map(e=>e.element)),[...this.elements]}getNodes(){return this.nodes}has(e){return this.nodeSet.has(e)}onDidModelSplice({insertedNodes:e,deletedNodes:t}){if(!this.identityProvider){let e=this.createNodeSet(),i=t=>e.delete(t);t.forEach(e=>q(e,i)),this.set([...e.values()]);return}let i=new Set,n=e=>i.add(this.identityProvider.getId(e.element).toString());t.forEach(e=>q(e,n));let s=new Map,o=e=>s.set(this.identityProvider.getId(e.element).toString(),e);e.forEach(e=>q(e,o));let r=[];for(let e of this.nodes){let t=this.identityProvider.getId(e.element).toString(),n=i.has(t);if(n){let e=s.get(t);e&&e.visible&&r.push(e)}else r.push(e)}if(this.nodes.length>0&&0===r.length){let e=this.getFirstViewElementWithTrait();e&&r.push(e)}this._set(r,!0)}createNodeSet(){let e=new Set;for(let t of this.nodes)e.add(t);return e}}class G extends g.sx{constructor(e,t,i){super(e),this.tree=t,this.stickyScrollProvider=i}onViewPointer(e){if((0,g.iK)(e.browserEvent.target)||(0,g.cK)(e.browserEvent.target)||(0,g.hD)(e.browserEvent.target)||e.browserEvent.isHandledByList)return;let t=e.element;if(!t||this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return super.onViewPointer(e);let i=e.browserEvent.target,n=i.classList.contains("monaco-tl-twistie")||i.classList.contains("monaco-icon-label")&&i.classList.contains("folder-icon")&&e.browserEvent.offsetX<16,s=(0,g.Et)(e.browserEvent.target),o=!1;if(o=!!s||("function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(t.element):!!this.tree.expandOnlyOnTwistieClick),s)this.handleStickyScrollMouseEvent(e,t);else if(o&&!n&&2!==e.browserEvent.detail||!this.tree.expandOnDoubleClick&&2===e.browserEvent.detail)return super.onViewPointer(e);if(t.collapsible&&(!s||n)){let i=this.tree.getNodeLocation(t),s=e.browserEvent.altKey;if(this.tree.setFocus([i]),this.tree.toggleCollapsed(i,s),n){e.browserEvent.isHandledByList=!0;return}}s||super.onViewPointer(e)}handleStickyScrollMouseEvent(e,t){if((0,g.$B)(e.browserEvent.target)||(0,g.dk)(e.browserEvent.target))return;let i=this.stickyScrollProvider();if(!i)throw Error("Sticky scroll controller not found");let n=this.list.indexOf(t),s=this.list.getElementTop(n),o=i.nodePositionTopBelowWidget(t);this.tree.scrollTop=s-o,this.list.domFocus(),this.list.setFocus([n]),this.list.setSelection([n])}onDoubleClick(e){let t=e.browserEvent.target.classList.contains("monaco-tl-twistie");t||!this.tree.expandOnDoubleClick||e.browserEvent.isHandledByList||super.onDoubleClick(e)}onMouseDown(e){let t=e.browserEvent.target;if(!(0,g.xf)(t)&&!(0,g.Et)(t)){super.onMouseDown(e);return}}onContextMenu(e){let t=e.browserEvent.target;if(!(0,g.xf)(t)&&!(0,g.Et)(t)){super.onContextMenu(e);return}}}class Q extends g.aV{constructor(e,t,i,n,s,o,r,l){super(e,t,i,n,l),this.focusTrait=s,this.selectionTrait=o,this.anchorTrait=r}createMouseController(e){return new G(this,e.tree,e.stickyScrollProvider)}splice(e,t,i=[]){let n;if(super.splice(e,t,i),0===i.length)return;let s=[],o=[];i.forEach((t,i)=>{this.focusTrait.has(t)&&s.push(e+i),this.selectionTrait.has(t)&&o.push(e+i),this.anchorTrait.has(t)&&(n=e+i)}),s.length>0&&super.setFocus((0,_.EB)([...super.getFocus(),...s])),o.length>0&&super.setSelection((0,_.EB)([...super.getSelection(),...o])),"number"==typeof n&&super.setAnchor(n)}setFocus(e,t,i=!1){super.setFocus(e,t),i||this.focusTrait.set(e.map(e=>this.element(e)),t)}setSelection(e,t,i=!1){super.setSelection(e,t),i||this.selectionTrait.set(e.map(e=>this.element(e)),t)}setAnchor(e,t=!1){super.setAnchor(e),t||(void 0===e?this.anchorTrait.set([]):this.anchorTrait.set([this.element(e)]))}}class Z{get onDidScroll(){return this.view.onDidScroll}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return y.ju.filter(y.ju.map(this.view.onMouseDblClick,U),e=>e.target!==f.sD.Filter)}get onMouseOver(){return y.ju.map(this.view.onMouseOver,U)}get onMouseOut(){return y.ju.map(this.view.onMouseOut,U)}get onContextMenu(){var e,t;return y.ju.any(y.ju.filter(y.ju.map(this.view.onContextMenu,$),e=>!e.isStickyScroll),null!==(t=null===(e=this.stickyScrollController)||void 0===e?void 0:e.onContextMenu)&&void 0!==t?t:y.ju.None)}get onPointer(){return y.ju.map(this.view.onPointer,U)}get onKeyDown(){return this.view.onKeyDown}get onDidFocus(){return this.view.onDidFocus}get onDidChangeModel(){return y.ju.signal(this.model.onDidSplice)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get findMode(){var e,t;return null!==(t=null===(e=this.findController)||void 0===e?void 0:e.mode)&&void 0!==t?t:l.Highlight}set findMode(e){this.findController&&(this.findController.mode=e)}get findMatchType(){var e,t;return null!==(t=null===(e=this.findController)||void 0===e?void 0:e.matchType)&&void 0!==t?t:a.Fuzzy}set findMatchType(e){this.findController&&(this.findController.matchType=e)}get expandOnDoubleClick(){return void 0===this._options.expandOnDoubleClick||this._options.expandOnDoubleClick}get expandOnlyOnTwistieClick(){return void 0===this._options.expandOnlyOnTwistieClick||this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}constructor(e,t,i,n,s={}){var o,l,a;let u;this._user=e,this._options=s,this.eventBufferer=new y.E7,this.onDidChangeFindOpenState=y.ju.None,this.onDidChangeStickyScrollFocused=y.ju.None,this.disposables=new L.SL,this._onWillRefilter=new y.Q5,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new y.Q5,this.treeDelegate=new M(i);let c=new y.ZD,p=new y.ZD,m=this.disposables.add(new R(p.event)),f=new w.ri;for(let e of(this.renderers=n.map(e=>new A(e,()=>this.model,c.event,m,f,s)),this.renderers))this.disposables.add(e);s.keyboardNavigationLabelProvider&&(u=new P(this,s.keyboardNavigationLabelProvider,s.filter),s={...s,filter:u},this.disposables.add(u)),this.focus=new j(()=>this.view.getFocusedElements()[0],s.identityProvider),this.selection=new j(()=>this.view.getSelectedElements()[0],s.identityProvider),this.anchor=new j(()=>this.view.getAnchorElement(),s.identityProvider),this.view=new Q(e,t,this.treeDelegate,this.renderers,this.focus,this.selection,this.anchor,{...(l=()=>this.model,(a=s)&&{...a,identityProvider:a.identityProvider&&{getId:e=>a.identityProvider.getId(e.element)},dnd:a.dnd&&new T(l,a.dnd),multipleSelectionController:a.multipleSelectionController&&{isSelectionSingleChangeEvent:e=>a.multipleSelectionController.isSelectionSingleChangeEvent({...e,element:e.element}),isSelectionRangeChangeEvent:e=>a.multipleSelectionController.isSelectionRangeChangeEvent({...e,element:e.element})},accessibilityProvider:a.accessibilityProvider&&{...a.accessibilityProvider,getSetSize(e){let t=l(),i=t.getNodeLocation(e),n=t.getParentNodeLocation(i),s=t.getNode(n);return s.visibleChildrenCount},getPosInSet:e=>e.visibleChildIndex+1,isChecked:a.accessibilityProvider&&a.accessibilityProvider.isChecked?e=>a.accessibilityProvider.isChecked(e.element):void 0,getRole:a.accessibilityProvider&&a.accessibilityProvider.getRole?e=>a.accessibilityProvider.getRole(e.element):()=>"treeitem",getAriaLabel:e=>a.accessibilityProvider.getAriaLabel(e.element),getWidgetAriaLabel:()=>a.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:a.accessibilityProvider&&a.accessibilityProvider.getWidgetRole?()=>a.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:a.accessibilityProvider&&a.accessibilityProvider.getAriaLevel?e=>a.accessibilityProvider.getAriaLevel(e.element):e=>e.depth,getActiveDescendantId:a.accessibilityProvider.getActiveDescendantId&&(e=>a.accessibilityProvider.getActiveDescendantId(e.element))},keyboardNavigationLabelProvider:a.keyboardNavigationLabelProvider&&{...a.keyboardNavigationLabelProvider,getKeyboardNavigationLabel:e=>a.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}}),tree:this,stickyScrollProvider:()=>this.stickyScrollController}),this.model=this.createModel(e,this.view,s),c.input=this.model.onDidChangeCollapseState;let _=y.ju.forEach(this.model.onDidSplice,e=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice(e),this.selection.onDidModelSplice(e)})},this.disposables);_(()=>null,null,this.disposables);let b=this.disposables.add(new y.Q5),C=this.disposables.add(new v.vp(0));if(this.disposables.add(y.ju.any(_,this.focus.onDidChange,this.selection.onDidChange)(()=>{C.trigger(()=>{let e=new Set;for(let t of this.focus.getNodes())e.add(t);for(let t of this.selection.getNodes())e.add(t);b.fire([...e.values()])})})),p.input=b.event,!1!==s.keyboardSupport){let e=y.ju.chain(this.view.onKeyDown,e=>e.filter(e=>!(0,g.cK)(e.target)).map(e=>new h.y(e)));y.ju.chain(e,e=>e.filter(e=>15===e.keyCode))(this.onLeftArrow,this,this.disposables),y.ju.chain(e,e=>e.filter(e=>17===e.keyCode))(this.onRightArrow,this,this.disposables),y.ju.chain(e,e=>e.filter(e=>10===e.keyCode))(this.onSpace,this,this.disposables)}if((null===(o=s.findWidgetEnabled)||void 0===o||o)&&s.keyboardNavigationLabelProvider&&s.contextViewProvider){let e=this.options.findWidgetStyles?{styles:this.options.findWidgetStyles}:void 0;this.findController=new O(this,this.model,this.view,u,s.contextViewProvider,e),this.focusNavigationFilter=e=>this.findController.shouldAllowFocus(e),this.onDidChangeFindOpenState=this.findController.onDidChangeOpenState,this.disposables.add(this.findController),this.onDidChangeFindMode=this.findController.onDidChangeMode,this.onDidChangeFindMatchType=this.findController.onDidChangeMatchType}else this.onDidChangeFindMode=y.ju.None,this.onDidChangeFindMatchType=y.ju.None;s.enableStickyScroll&&(this.stickyScrollController=new V(this,this.model,this.view,this.renderers,this.treeDelegate,s),this.onDidChangeStickyScrollFocused=this.stickyScrollController.onDidChangeHasFocus),this.styleElement=(0,d.dS)(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===r.Always)}updateOptions(e={}){var t;for(let t of(this._options={...this._options,...e},this.renderers))t.updateOptions(e);this.view.updateOptions(this._options),null===(t=this.findController)||void 0===t||t.updateOptions(e),this.updateStickyScroll(e),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===r.Always)}get options(){return this._options}updateStickyScroll(e){var t;!this.stickyScrollController&&this._options.enableStickyScroll?(this.stickyScrollController=new V(this,this.model,this.view,this.renderers,this.treeDelegate,this._options),this.onDidChangeStickyScrollFocused=this.stickyScrollController.onDidChangeHasFocus):this.stickyScrollController&&!this._options.enableStickyScroll&&(this.onDidChangeStickyScrollFocused=y.ju.None,this.stickyScrollController.dispose(),this.stickyScrollController=void 0),null===(t=this.stickyScrollController)||void 0===t||t.updateOptions(e)}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(e){this.view.scrollTop=e}get scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}get ariaLabel(){return this.view.ariaLabel}set ariaLabel(e){this.view.ariaLabel=e}domFocus(){var e;(null===(e=this.stickyScrollController)||void 0===e?void 0:e.focusedLast())?this.stickyScrollController.domFocus():this.view.domFocus()}layout(e,t){var i;this.view.layout(e,t),(0,D.hj)(t)&&(null===(i=this.findController)||void 0===i||i.layout(t))}style(e){var t,i;let n=`.${this.view.domId}`,s=[];e.treeIndentGuidesStroke&&(s.push(`.monaco-list${n}:hover .monaco-tl-indent > .indent-guide, .monaco-list${n}.always .monaco-tl-indent > .indent-guide { border-color: ${e.treeInactiveIndentGuidesStroke}; }`),s.push(`.monaco-list${n} .monaco-tl-indent > .indent-guide.active { border-color: ${e.treeIndentGuidesStroke}; }`));let o=null!==(t=e.treeStickyScrollBackground)&&void 0!==t?t:e.listBackground;o&&(s.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container { background-color: ${o}; }`),s.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row { background-color: ${o}; }`)),e.treeStickyScrollBorder&&s.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container { border-bottom: 1px solid ${e.treeStickyScrollBorder}; }`),e.treeStickyScrollShadow&&s.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-container-shadow { box-shadow: ${e.treeStickyScrollShadow} 0 6px 6px -6px inset; height: 3px; }`),e.listFocusForeground&&(s.push(`.monaco-list${n}.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),s.push(`.monaco-list${n}:not(.sticky-scroll-focused) .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.focused { color: inherit; }`));let r=(0,d.XT)(e.listFocusAndSelectionOutline,(0,d.XT)(e.listSelectionOutline,null!==(i=e.listFocusOutline)&&void 0!==i?i:""));r&&(s.push(`.monaco-list${n}.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container:focus .monaco-list-row.focused.selected { outline: 1px solid ${r}; outline-offset: -1px;}`),s.push(`.monaco-list${n}:not(.sticky-scroll-focused) .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.focused.selected { outline: inherit;}`)),e.listFocusOutline&&(s.push(`.monaco-list${n}.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }`),s.push(`.monaco-list${n}:not(.sticky-scroll-focused) .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.focused { outline: inherit; }`),s.push(`.monaco-workbench.context-menu-visible .monaco-list${n}.last-focused.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.passive-focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }`),s.push(`.monaco-workbench.context-menu-visible .monaco-list${n}.last-focused.sticky-scroll-focused .monaco-list-rows .monaco-list-row.focused { outline: inherit; }`),s.push(`.monaco-workbench.context-menu-visible .monaco-list${n}.last-focused:not(.sticky-scroll-focused) .monaco-tree-sticky-container .monaco-list-rows .monaco-list-row.focused { outline: inherit; }`)),this.styleElement.textContent=s.join("\n"),this.view.style(e)}getParentElement(e){let t=this.model.getParentNodeLocation(e),i=this.model.getNode(t);return i.element}getFirstElementChild(e){return this.model.getFirstElementChild(e)}getNode(e){return this.model.getNode(e)}getNodeLocation(e){return this.model.getNodeLocation(e)}collapse(e,t=!1){return this.model.setCollapsed(e,!0,t)}expand(e,t=!1){return this.model.setCollapsed(e,!1,t)}toggleCollapsed(e,t=!1){return this.model.setCollapsed(e,void 0,t)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(e,t){this.eventBufferer.bufferEvents(()=>{let i=e.map(e=>this.model.getNode(e));this.selection.set(i,t);let n=e.map(e=>this.model.getListIndex(e)).filter(e=>e>-1);this.view.setSelection(n,t,!0)})}getSelection(){return this.selection.get()}setFocus(e,t){this.eventBufferer.bufferEvents(()=>{let i=e.map(e=>this.model.getNode(e));this.focus.set(i,t);let n=e.map(e=>this.model.getListIndex(e)).filter(e=>e>-1);this.view.setFocus(n,t,!0)})}focusNext(e=1,t=!1,i,n=(0,d.vd)(i)&&i.altKey?void 0:this.focusNavigationFilter){this.view.focusNext(e,t,i,n)}focusPrevious(e=1,t=!1,i,n=(0,d.vd)(i)&&i.altKey?void 0:this.focusNavigationFilter){this.view.focusPrevious(e,t,i,n)}focusNextPage(e,t=(0,d.vd)(e)&&e.altKey?void 0:this.focusNavigationFilter){return this.view.focusNextPage(e,t)}focusPreviousPage(e,t=(0,d.vd)(e)&&e.altKey?void 0:this.focusNavigationFilter){return this.view.focusPreviousPage(e,t,()=>{var e,t;return null!==(t=null===(e=this.stickyScrollController)||void 0===e?void 0:e.height)&&void 0!==t?t:0})}focusFirst(e,t=(0,d.vd)(e)&&e.altKey?void 0:this.focusNavigationFilter){this.view.focusFirst(e,t)}getFocus(){return this.focus.get()}reveal(e,t){this.model.expandTo(e);let i=this.model.getListIndex(e);if(-1!==i){if(this.stickyScrollController){let n=this.stickyScrollController.nodePositionTopBelowWidget(this.getNode(e));this.view.reveal(i,t,n)}else this.view.reveal(i,t)}}onLeftArrow(e){e.preventDefault(),e.stopPropagation();let t=this.view.getFocusedElements();if(0===t.length)return;let i=t[0],n=this.model.getNodeLocation(i),s=this.model.setCollapsed(n,!0);if(!s){let e=this.model.getParentNodeLocation(n);if(!e)return;let t=this.model.getListIndex(e);this.view.reveal(t),this.view.setFocus([t])}}onRightArrow(e){e.preventDefault(),e.stopPropagation();let t=this.view.getFocusedElements();if(0===t.length)return;let i=t[0],n=this.model.getNodeLocation(i),s=this.model.setCollapsed(n,!1);if(!s){if(!i.children.some(e=>e.visible))return;let[e]=this.view.getFocus(),t=e+1;this.view.reveal(t),this.view.setFocus([t])}}onSpace(e){e.preventDefault(),e.stopPropagation();let t=this.view.getFocusedElements();if(0===t.length)return;let i=t[0],n=this.model.getNodeLocation(i),s=e.browserEvent.altKey;this.model.setCollapsed(n,void 0,s)}dispose(){var e;(0,L.B9)(this.disposables),null===(e=this.stickyScrollController)||void 0===e||e.dispose(),this.view.dispose()}}},94936:function(e,t,i){"use strict";i.d(t,{X:function(){return g},aG:function(){return u},gB:function(){return h}});var n=i(68712),s=i(40789),o=i(44532),r=i(4414),l=i(39970),a=i(79915),d=i(93072);function h(e){return"object"==typeof e&&"visibility"in e&&"data"in e}function u(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function c(e){return"boolean"==typeof e.collapsible}class g{constructor(e,t,i,n={}){var s;this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new a.E7,this._onDidChangeCollapseState=new a.Q5,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new a.Q5,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new a.Q5,this.onDidSplice=this._onDidSplice.event,this.refilterDelayer=new o.vp(r.n),this.collapseByDefault=void 0!==n.collapseByDefault&&n.collapseByDefault,this.allowNonCollapsibleParents=null!==(s=n.allowNonCollapsibleParents)&&void 0!==s&&s,this.filter=n.filter,this.autoExpandSingleChildren=void 0!==n.autoExpandSingleChildren&&n.autoExpandSingleChildren,this.root={parent:void 0,element:i,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(e,t,i=d.$.empty(),s={}){if(0===e.length)throw new n.ac(this.user,"Invalid tree location");s.diffIdentityProvider?this.spliceSmart(s.diffIdentityProvider,e,t,i,s):this.spliceSimple(e,t,i,s)}spliceSmart(e,t,i,n,s,o){var r;void 0===n&&(n=d.$.empty()),void 0===o&&(o=null!==(r=s.diffDepth)&&void 0!==r?r:0);let{parentNode:a}=this.getParentNodeWithListIndex(t);if(!a.lastDiffIds)return this.spliceSimple(t,i,n,s);let h=[...n],u=t[t.length-1],c=new l.Hs({getElements:()=>a.lastDiffIds},{getElements:()=>[...a.children.slice(0,u),...h,...a.children.slice(u+i)].map(t=>e.getId(t.element).toString())}).ComputeDiff(!1);if(c.quitEarly)return a.lastDiffIds=void 0,this.spliceSimple(t,i,h,s);let g=t.slice(0,-1),p=(t,i,n)=>{if(o>0)for(let r=0;rt.originalStart-e.originalStart))p(m,f,m-(e.originalStart+e.originalLength)),m=e.originalStart,f=e.modifiedStart-u,this.spliceSimple([...g,m],e.originalLength,d.$.slice(h,f,f+e.modifiedLength),s);p(m,f,m)}spliceSimple(e,t,i=d.$.empty(),{onDidCreateNode:n,onDidDeleteNode:o,diffIdentityProvider:r}){let{parentNode:l,listIndex:a,revealed:h,visible:u}=this.getParentNodeWithListIndex(e),c=[],g=d.$.map(i,e=>this.createTreeNode(e,l,l.visible?1:0,h,c,n)),p=e[e.length-1],m=0;for(let e=p;e>=0&&er.getId(e.element).toString())):l.lastDiffIds=l.children.map(e=>r.getId(e.element).toString()):l.lastDiffIds=void 0;let C=0;for(let e of b)e.visible&&C++;if(0!==C)for(let e=p+f.length;ee+(t.visible?t.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(l,v-e),this.list.splice(a,e,c)}if(b.length>0&&o){let e=t=>{o(t),t.children.forEach(e)};b.forEach(e)}this._onDidSplice.fire({insertedNodes:f,deletedNodes:b});let w=l;for(;w;){if(2===w.visibility){this.refilterDelayer.trigger(()=>this.refilter());break}w=w.parent}}rerender(e){if(0===e.length)throw new n.ac(this.user,"Invalid tree location");let{node:t,listIndex:i,revealed:s}=this.getTreeNodeWithListIndex(e);t.visible&&s&&this.list.splice(i,1,[t])}has(e){return this.hasTreeNode(e)}getListIndex(e){let{listIndex:t,visible:i,revealed:n}=this.getTreeNodeWithListIndex(e);return i&&n?t:-1}getListRenderCount(e){return this.getTreeNode(e).renderNodeCount}isCollapsible(e){return this.getTreeNode(e).collapsible}setCollapsible(e,t){let i=this.getTreeNode(e);void 0===t&&(t=!i.collapsible);let n={collapsible:t};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,n))}isCollapsed(e){return this.getTreeNode(e).collapsed}setCollapsed(e,t,i){let n=this.getTreeNode(e);void 0===t&&(t=!n.collapsed);let s={collapsed:t,recursive:i||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,s))}_setCollapseState(e,t){let{node:i,listIndex:n,revealed:s}=this.getTreeNodeWithListIndex(e),o=this._setListNodeCollapseState(i,n,s,t);if(i!==this.root&&this.autoExpandSingleChildren&&o&&!c(t)&&i.collapsible&&!i.collapsed&&!t.recursive){let n=-1;for(let e=0;e-1){n=-1;break}n=e}}n>-1&&this._setCollapseState([...e,n],t)}return o}_setListNodeCollapseState(e,t,i,n){let s=this._setNodeCollapseState(e,n,!1);if(!i||!e.visible||!s)return s;let o=e.renderNodeCount,r=this.updateNodeAfterCollapseChange(e),l=o-(-1===t?0:1);return this.list.splice(t+1,l,r.slice(1)),s}_setNodeCollapseState(e,t,i){let n;if(e===this.root?n=!1:(c(t)?(n=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(n=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):n=!1,n&&this._onDidChangeCollapseState.fire({node:e,deep:i})),!c(t)&&t.recursive)for(let i of e.children)n=this._setNodeCollapseState(i,t,!0)||n;return n}expandTo(e){this.eventBufferer.bufferEvents(()=>{let t=this.getTreeNode(e);for(;t.parent;)t=t.parent,e=e.slice(0,e.length-1),t.collapsed&&this._setCollapseState(e,{collapsed:!1,recursive:!1})})}refilter(){let e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t),this.refilterDelayer.cancel()}createTreeNode(e,t,i,n,s,o){let r={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"==typeof e.collapsible?e.collapsible:void 0!==e.collapsed,collapsed:void 0===e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},l=this._filterNode(r,i);r.visibility=l,n&&s.push(r);let a=e.children||d.$.empty(),h=n&&0!==l&&!r.collapsed,u=0,c=1;for(let e of a){let t=this.createTreeNode(e,r,l,h,s,o);r.children.push(t),c+=t.renderNodeCount,t.visible&&(t.visibleChildIndex=u++)}return this.allowNonCollapsibleParents||(r.collapsible=r.collapsible||r.children.length>0),r.visibleChildrenCount=u,r.visible=2===l?u>0:1===l,r.visible?r.collapsed||(r.renderNodeCount=c):(r.renderNodeCount=0,n&&s.pop()),null==o||o(r),r}updateNodeAfterCollapseChange(e){let t=e.renderNodeCount,i=[];return this._updateNodeAfterCollapseChange(e,i),this._updateAncestorsRenderNodeCount(e.parent,i.length-t),i}_updateNodeAfterCollapseChange(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(let i of e.children)e.renderNodeCount+=this._updateNodeAfterCollapseChange(i,t);return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount}updateNodeAfterFilterChange(e){let t=e.renderNodeCount,i=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,i),this._updateAncestorsRenderNodeCount(e.parent,i.length-t),i}_updateNodeAfterFilterChange(e,t,i,n=!0){let s;if(e!==this.root){if(0===(s=this._filterNode(e,t)))return e.visible=!1,e.renderNodeCount=0,!1;n&&i.push(e)}let o=i.length;e.renderNodeCount=e===this.root?0:1;let r=!1;if(e.collapsed&&0===s)e.visibleChildrenCount=0;else{let t=0;for(let o of e.children)r=this._updateNodeAfterFilterChange(o,s,i,n&&!e.collapsed)||r,o.visible&&(o.visibleChildIndex=t++);e.visibleChildrenCount=t}return e!==this.root&&(e.visible=2===s?r:1===s,e.visibility=s),e.visible?e.collapsed||(e.renderNodeCount+=i.length-o):(e.renderNodeCount=0,n&&i.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible}_updateAncestorsRenderNodeCount(e,t){if(0!==t)for(;e;)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent}_filterNode(e,t){let i=this.filter?this.filter.filter(e.element,t):1;return"boolean"==typeof i?(e.filterData=void 0,i?1:0):h(i)?(e.filterData=i.data,u(i.visibility)):(e.filterData=void 0,u(i))}hasTreeNode(e,t=this.root){if(!e||0===e.length)return!0;let[i,...n]=e;return!(i<0)&&!(i>t.children.length)&&this.hasTreeNode(n,t.children[i])}getTreeNode(e,t=this.root){if(!e||0===e.length)return t;let[i,...s]=e;if(i<0||i>t.children.length)throw new n.ac(this.user,"Invalid tree location");return this.getTreeNode(s,t.children[i])}getTreeNodeWithListIndex(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};let{parentNode:t,listIndex:i,revealed:s,visible:o}=this.getParentNodeWithListIndex(e),r=e[e.length-1];if(r<0||r>t.children.length)throw new n.ac(this.user,"Invalid tree location");let l=t.children[r];return{node:l,listIndex:i,revealed:s,visible:o&&l.visible}}getParentNodeWithListIndex(e,t=this.root,i=0,s=!0,o=!0){let[r,...l]=e;if(r<0||r>t.children.length)throw new n.ac(this.user,"Invalid tree location");for(let e=0;et(new o.n(n.Jj(e),i))))}onmousedown(e,t){this._register(n.nm(e,n.tw.MOUSE_DOWN,i=>t(new o.n(n.Jj(e),i))))}onmouseover(e,t){this._register(n.nm(e,n.tw.MOUSE_OVER,i=>t(new o.n(n.Jj(e),i))))}onmouseleave(e,t){this._register(n.nm(e,n.tw.MOUSE_LEAVE,i=>t(new o.n(n.Jj(e),i))))}onkeydown(e,t){this._register(n.nm(e,n.tw.KEY_DOWN,e=>t(new s.y(e))))}onkeyup(e,t){this._register(n.nm(e,n.tw.KEY_UP,e=>t(new s.y(e))))}oninput(e,t){this._register(n.nm(e,n.tw.INPUT,t))}onblur(e,t){this._register(n.nm(e,n.tw.BLUR,t))}onfocus(e,t){this._register(n.nm(e,n.tw.FOCUS,t))}ignoreGesture(e){return r.o.ignoreTarget(e)}}},44709:function(e,t,i){"use strict";function n(e,t){"number"!=typeof e.vscodeWindowId&&Object.defineProperty(e,"vscodeWindowId",{get:()=>t})}i.d(t,{E:function(){return s},H:function(){return n}});let s=window},76886:function(e,t,i){"use strict";i.d(t,{Wi:function(){return l},Z0:function(){return a},aU:function(){return r},eZ:function(){return h},wY:function(){return d},xw:function(){return u}});var n=i(79915),s=i(70784),o=i(82801);class r extends s.JT{constructor(e,t="",i="",s=!0,o){super(),this._onDidChange=this._register(new n.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=e,this._label=t,this._cssClass=i,this._enabled=s,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}async run(e,t){this._actionCallback&&await this._actionCallback(e)}}class l extends s.JT{constructor(){super(...arguments),this._onWillRun=this._register(new n.Q5),this.onWillRun=this._onWillRun.event,this._onDidRun=this._register(new n.Q5),this.onDidRun=this._onDidRun.event}async run(e,t){let i;if(e.enabled){this._onWillRun.fire({action:e});try{await this.runAction(e,t)}catch(e){i=e}this._onDidRun.fire({action:e,error:i})}}async runAction(e,t){await e.run(t)}}class a{constructor(){this.id=a.ID,this.label="",this.tooltip="",this.class="separator",this.enabled=!1,this.checked=!1}static join(...e){let t=[];for(let i of e)i.length&&(t=t.length?[...t,new a,...i]:i);return t}async run(){}}a.ID="vs.actions.separator";class d{get actions(){return this._actions}constructor(e,t,i,n){this.tooltip="",this.enabled=!0,this.checked=void 0,this.id=e,this.label=t,this.class=n,this._actions=i}async run(){}}class h extends r{constructor(){super(h.ID,o.NC("submenu.empty","(empty)"),void 0,!1)}}function u(e){var t,i;return{id:e.id,label:e.label,tooltip:null!==(t=e.tooltip)&&void 0!==t?t:e.label,class:e.class,enabled:null===(i=e.enabled)||void 0===i||i,checked:e.checked,run:async(...t)=>e.run(...t)}}h.ID="vs.actions.empty"},40789:function(e,t,i){"use strict";var n,s;function o(e,t=0){return e[e.length-(1+t)]}function r(e){if(0===e.length)throw Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function l(e,t,i=(e,t)=>e===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0,s=e.length;n0))return e;n=e-1}}return-(i+1)}(e.length,n=>i(e[n],t))}function h(e,t){let i;let n=[];for(let s of e.slice(0).sort(t))i&&0===t(i[0],s)?i.push(s):(i=[s],n.push(i));return n}function*u(e,t){let i,n;for(let s of e)void 0!==n&&t(n,s)?i.push(s):(i&&(yield i),i=[s]),n=s;i&&(yield i)}function c(e,t){for(let i=0;i<=e.length;i++)t(0===i?void 0:e[i-1],i===e.length?void 0:e[i])}function g(e,t){for(let i=0;i!!e)}function m(e){let t=0;for(let i=0;i0}function v(e,t=e=>e){let i=new Set;return e.filter(e=>{let n=t(e);return!i.has(n)&&(i.add(n),!0)})}function b(e,t){return e.length>0?e[0]:t}function C(e,t){let i="number"==typeof t?e:0;"number"==typeof t?i=e:(i=0,t=e);let n=[];if(i<=t)for(let e=i;et;e--)n.push(e);return n}function w(e,t,i){let n=e.slice(0,t),s=e.slice(t);return n.concat(i,s)}function y(e,t){let i=e.indexOf(t);i>-1&&(e.splice(i,1),e.unshift(t))}function S(e,t){let i=e.indexOf(t);i>-1&&(e.splice(i,1),e.push(t))}function L(e,t){for(let i of t)e.push(i)}function k(e){return Array.isArray(e)?e:[e]}function D(e,t,i,n){let s=x(e,t),o=e.splice(s,i);return void 0===o&&(o=[]),!function(e,t,i){let n=x(e,t),s=e.length,o=i.length;e.length=s+o;for(let t=s-1;t>=n;t--)e[t+o]=e[t];for(let t=0;tt(e(i),e(n))}function E(...e){return(t,i)=>{for(let s of e){let e=s(t,i);if(!n.isNeitherLessOrGreaterThan(e))return e}return n.neitherLessOrGreaterThan}}i.d(t,{BV:function(){return M},EB:function(){return v},Gb:function(){return o},H9:function(){return R},HW:function(){return function e(t,i,n){if((t|=0)>=i.length)throw TypeError("invalid index");let s=i[Math.floor(i.length*Math.random())],o=[],r=[],l=[];for(let e of i){let t=n(e,s);t<0?o.push(e):t>0?r.push(e):l.push(e)}return t0},s.isNeitherLessOrGreaterThan=function(e){return 0===e},s.greaterThan=1,s.lessThan=-1,s.neitherLessOrGreaterThan=0;let I=(e,t)=>e-t,T=(e,t)=>I(e?1:0,t?1:0);function M(e){return(t,i)=>-e(t,i)}class R{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;let i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(0!==this.length)return this.items[this.firstIdx]}dequeue(){let e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){let t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}class A{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new A(t=>this.iterate(i=>!e(i)||t(i)))}map(e){return new A(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t;let i=!0;return this.iterate(s=>((i||n.isGreaterThan(e(s,t)))&&(i=!1,t=s),!0)),t}}A.empty=new A(e=>{});class P{constructor(e){this._indexMap=e}static createSortPermutation(e,t){let i=Array.from(e.keys()).sort((i,n)=>t(e[i],e[n]));return new P(i)}apply(e){return e.map((t,i)=>e[this._indexMap[i]])}inverse(){let e=this._indexMap.slice();for(let t=0;t=0;n--){let i=e[n];if(t(i))return n}return -1}(e,t);if(-1!==i)return e[i]}function s(e,t){let i=o(e,t);return -1===i?void 0:e[i]}function o(e,t,i=0,n=e.length){let s=i,o=n;for(;s0&&(i=s)}return i}function h(e,t){if(0===e.length)return;let i=e[0];for(let n=1;n=0&&(i=s)}return i}function u(e,t){return d(e,(e,i)=>-t(e,i))}function c(e,t){if(0===e.length)return -1;let i=0;for(let n=1;n0&&(i=n)}return i}function g(e,t){for(let i of e){let e=t(i);if(void 0!==e)return e}}a.assertInvariants=!1},61413:function(e,t,i){"use strict";i.d(t,{DM:function(){return a},eZ:function(){return l},ok:function(){return s},vE:function(){return o},wN:function(){return r}});var n=i(32378);function s(e,t){if(!e)throw Error(t?`Assertion failed (${t})`:"Assertion Failed")}function o(e,t="Unreachable"){throw Error(t)}function r(e){e||(0,n.dL)(new n.he("Soft Assertion Failed"))}function l(e){e()||(e(),(0,n.dL)(new n.he("Assertion Failed")))}function a(e,t){let i=0;for(;i{let s=setTimeout(()=>{o.dispose(),e()},t),o=i.onCancellationRequested(()=>{clearTimeout(s),o.dispose(),n(new l.FU)})}):g(i=>e(t,i))}},_F:function(){return y},eP:function(){return p},hF:function(){return k},jT:function(){return o},jg:function(){return n},pY:function(){return L},rH:function(){return b},vp:function(){return v},y5:function(){return s},zS:function(){return I},zh:function(){return S}});var o,r=i(9424),l=i(32378),a=i(79915),d=i(70784),h=i(58022),u=i(4414);function c(e){return!!e&&"function"==typeof e.then}function g(e){let t=new r.AU,i=e(t.token),n=new Promise((e,n)=>{let s=t.token.onCancellationRequested(()=>{s.dispose(),n(new l.FU)});Promise.resolve(i).then(i=>{s.dispose(),t.dispose(),e(i)},e=>{s.dispose(),t.dispose(),n(e)})});return new class{cancel(){t.cancel(),t.dispose()}then(e,t){return n.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return n.finally(e)}}}function p(e,t,i){return new Promise((n,s)=>{let o=t.onCancellationRequested(()=>{o.dispose(),n(i)});e.then(n,s).finally(()=>o.dispose())})}class m{constructor(){this.isDisposed=!1,this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.isDisposed)return Promise.reject(Error("Throttler is disposed"));if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){let e=()=>{if(this.queuedPromise=null,this.isDisposed)return;let e=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,e};this.queuedPromise=new Promise(t=>{this.activePromise.then(e,e).then(t)})}return new Promise((e,t)=>{this.queuedPromise.then(e,t)})}return this.activePromise=e(),new Promise((e,t)=>{this.activePromise.then(t=>{this.activePromise=null,e(t)},e=>{this.activePromise=null,t(e)})})}dispose(){this.isDisposed=!0}}let f=(e,t)=>{let i=!0,n=setTimeout(()=>{i=!1,t()},e);return{isTriggered:()=>i,dispose:()=>{clearTimeout(n),i=!1}}},_=e=>{let t=!0;return queueMicrotask(()=>{t&&(t=!1,e())}),{isTriggered:()=>t,dispose:()=>{t=!1}}};class v{constructor(e){this.defaultDelay=e,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((e,t)=>{this.doResolve=e,this.doReject=t}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){let e=this.task;return this.task=null,e()}}));let i=()=>{var e;this.deferred=null,null===(e=this.doResolve)||void 0===e||e.call(this,null)};return this.deferred=t===u.n?_(i):f(t,i),this.completionPromise}isTriggered(){var e;return!!(null===(e=this.deferred)||void 0===e?void 0:e.isTriggered())}cancel(){var e;this.cancelTimeout(),this.completionPromise&&(null===(e=this.doReject)||void 0===e||e.call(this,new l.FU),this.completionPromise=null)}cancelTimeout(){var e;null===(e=this.deferred)||void 0===e||e.dispose(),this.deferred=null}dispose(){this.cancel()}}class b{constructor(e){this.delayer=new v(e),this.throttler=new m}trigger(e,t){return this.delayer.trigger(()=>this.throttler.queue(e),t)}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose(),this.throttler.dispose()}}function C(e,t=0,i){let n=setTimeout(()=>{e(),i&&s.dispose()},t),s=(0,d.OF)(()=>{clearTimeout(n),null==i||i.deleteAndLeak(s)});return null==i||i.add(s),s}function w(e,t=e=>!!e,i=null){let n=0,s=e.length,o=()=>{if(n>=s)return Promise.resolve(i);let r=e[n++],l=Promise.resolve(r());return l.then(e=>t(e)?Promise.resolve(e):o())};return o()}class y{constructor(e,t){this._isDisposed=!1,this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel(),this._isDisposed=!0}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){if(this._isDisposed)throw new l.he("Calling 'cancelAndSet' on a disposed TimeoutTimer");this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){if(this._isDisposed)throw new l.he("Calling 'setIfNotSet' on a disposed TimeoutTimer");-1===this._token&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class S{constructor(){this.disposable=void 0,this.isDisposed=!1}cancel(){var e;null===(e=this.disposable)||void 0===e||e.dispose(),this.disposable=void 0}cancelAndSet(e,t,i=globalThis){if(this.isDisposed)throw new l.he("Calling 'cancelAndSet' on a disposed IntervalTimer");this.cancel();let n=i.setInterval(()=>{e()},t);this.disposable=(0,d.OF)(()=>{i.clearInterval(n),this.disposable=void 0})}dispose(){this.cancel(),this.isDisposed=!0}}class L{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return -1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){var e;null===(e=this.runner)||void 0===e||e.call(this)}}s="function"!=typeof globalThis.requestIdleCallback||"function"!=typeof globalThis.cancelIdleCallback?(e,t)=>{(0,h.fn)(()=>{if(i)return;let e=Date.now()+15;t(Object.freeze({didTimeout:!0,timeRemaining:()=>Math.max(0,e-Date.now())}))});let i=!1;return{dispose(){i||(i=!0)}}}:(e,t,i)=>{let n=e.requestIdleCallback(t,"number"==typeof i?{timeout:i}:void 0),s=!1;return{dispose(){s||(s=!0,e.cancelIdleCallback(n))}}},n=e=>s(globalThis,e);class k{constructor(e,t){this._didRun=!1,this._executor=()=>{try{this._value=t()}catch(e){this._error=e}finally{this._didRun=!0}},this._handle=s(e,()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}class D extends k{constructor(e){super(globalThis,e)}}class x{get isRejected(){var e;return(null===(e=this.outcome)||void 0===e?void 0:e.outcome)===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((e,t)=>{this.completeCallback=e,this.errorCallback=t})}complete(e){return new Promise(t=>{this.completeCallback(e),this.outcome={outcome:0,value:e},t()})}error(e){return new Promise(t=>{this.errorCallback(e),this.outcome={outcome:1,value:e},t()})}cancel(){return this.error(new l.FU)}}!function(e){async function t(e){let t;let i=await Promise.all(e.map(e=>e.then(e=>e,e=>{t||(t=e)})));if(void 0!==t)throw t;return i}e.settled=t,e.withAsyncBody=function(e){return new Promise(async(t,i)=>{try{await e(t,i)}catch(e){i(e)}})}}(o||(o={}));class N{static fromArray(e){return new N(t=>{t.emitMany(e)})}static fromPromise(e){return new N(async t=>{t.emitMany(await e)})}static fromPromises(e){return new N(async t=>{await Promise.all(e.map(async e=>t.emitOne(await e)))})}static merge(e){return new N(async t=>{await Promise.all(e.map(async e=>{for await(let i of e)t.emitOne(i)}))})}constructor(e,t){this._state=0,this._results=[],this._error=null,this._onReturn=t,this._onStateChanged=new a.Q5,queueMicrotask(async()=>{let t={emitOne:e=>this.emitOne(e),emitMany:e=>this.emitMany(e),reject:e=>this.reject(e)};try{await Promise.resolve(e(t)),this.resolve()}catch(e){this.reject(e)}finally{t.emitOne=void 0,t.emitMany=void 0,t.reject=void 0}})}[Symbol.asyncIterator](){let e=0;return{next:async()=>{for(;;){if(2===this._state)throw this._error;if(e{var e;return null===(e=this._onReturn)||void 0===e||e.call(this),{done:!0,value:void 0}}}}static map(e,t){return new N(async i=>{for await(let n of e)i.emitOne(t(n))})}map(e){return N.map(this,e)}static filter(e,t){return new N(async i=>{for await(let n of e)t(n)&&i.emitOne(n)})}filter(e){return N.filter(this,e)}static coalesce(e){return N.filter(e,e=>!!e)}coalesce(){return N.coalesce(this)}static async toPromise(e){let t=[];for await(let i of e)t.push(i);return t}toPromise(){return N.toPromise(this)}emitOne(e){0===this._state&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){0===this._state&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){0===this._state&&(this._state=1,this._onStateChanged.fire())}reject(e){0===this._state&&(this._state=2,this._error=e,this._onStateChanged.fire())}}N.EMPTY=N.fromArray([]);class E extends N{constructor(e,t){super(t),this._source=e}cancel(){this._source.cancel()}}function I(e){let t=new r.AU,i=e(t.token);return new E(t,async e=>{let n=t.token.onCancellationRequested(()=>{n.dispose(),t.dispose(),e.reject(new l.FU)});try{for await(let n of i){if(t.token.isCancellationRequested)return;e.emitOne(n)}n.dispose(),t.dispose()}catch(i){n.dispose(),t.dispose(),e.reject(i)}})}},31387:function(e,t,i){"use strict";let n;i.d(t,{Ag:function(){return h},Cg:function(){return g},KN:function(){return l},Q$:function(){return c},T4:function(){return u},mP:function(){return a},oq:function(){return d}});var s=i(68126),o=i(17766).lW;let r=void 0!==o;new s.o(()=>new Uint8Array(256));class l{static wrap(e){return r&&!o.isBuffer(e)&&(e=o.from(e.buffer,e.byteOffset,e.byteLength)),new l(e)}constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}toString(){return r?this.buffer.toString():(n||(n=new TextDecoder),n.decode(this.buffer))}}function a(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function d(e,t,i){e[i+0]=255&t,t>>>=8,e[i+1]=255&t}function h(e,t){return 16777216*e[t]+65536*e[t+1]+256*e[t+2]+e[t+3]}function u(e,t,i){e[i+3]=t,t>>>=8,e[i+2]=t,t>>>=8,e[i+1]=t,t>>>=8,e[i]=t}function c(e,t){return e[t]}function g(e,t,i){e[i]=t}},63752:function(e,t,i){"use strict";function n(e){return e}i.d(t,{bQ:function(){return o},t2:function(){return s}});class s{constructor(e,t){this.lastCache=void 0,this.lastArgKey=void 0,"function"==typeof e?(this._fn=e,this._computeKey=n):(this._fn=t,this._computeKey=e.getCacheKey)}get(e){let t=this._computeKey(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this._fn(e)),this.lastCache}}class o{get cachedValues(){return this._map}constructor(e,t){this._map=new Map,this._map2=new Map,"function"==typeof e?(this._fn=e,this._computeKey=n):(this._fn=t,this._computeKey=e.getCacheKey)}get(e){let t=this._computeKey(e);if(this._map2.has(t))return this._map2.get(t);let i=this._fn(e);return this._map.set(e,i),this._map2.set(t,i),i}}},9424:function(e,t,i){"use strict";i.d(t,{AU:function(){return a},Ts:function(){return s},bP:function(){return d}});var n,s,o=i(79915);let r=Object.freeze(function(e,t){let i=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(i)}}});(n=s||(s={})).isCancellationToken=function(e){return e===n.None||e===n.Cancelled||e instanceof l||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:o.ju.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:r});class l{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?r:(this._emitter||(this._emitter=new o.Q5),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class a{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new l),this._token}cancel(){this._token?this._token instanceof l&&this._token.cancel():this._token=s.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof l&&this._token.dispose():this._token=s.None}}function d(e){let t=new a;return e.add({dispose(){t.cancel()}}),t.token}},47039:function(e,t,i){"use strict";i.d(t,{l:function(){return r}});var n=i(71216);let s={add:(0,n.z)("add",6e4),plus:(0,n.z)("plus",6e4),gistNew:(0,n.z)("gist-new",6e4),repoCreate:(0,n.z)("repo-create",6e4),lightbulb:(0,n.z)("lightbulb",60001),lightBulb:(0,n.z)("light-bulb",60001),repo:(0,n.z)("repo",60002),repoDelete:(0,n.z)("repo-delete",60002),gistFork:(0,n.z)("gist-fork",60003),repoForked:(0,n.z)("repo-forked",60003),gitPullRequest:(0,n.z)("git-pull-request",60004),gitPullRequestAbandoned:(0,n.z)("git-pull-request-abandoned",60004),recordKeys:(0,n.z)("record-keys",60005),keyboard:(0,n.z)("keyboard",60005),tag:(0,n.z)("tag",60006),gitPullRequestLabel:(0,n.z)("git-pull-request-label",60006),tagAdd:(0,n.z)("tag-add",60006),tagRemove:(0,n.z)("tag-remove",60006),person:(0,n.z)("person",60007),personFollow:(0,n.z)("person-follow",60007),personOutline:(0,n.z)("person-outline",60007),personFilled:(0,n.z)("person-filled",60007),gitBranch:(0,n.z)("git-branch",60008),gitBranchCreate:(0,n.z)("git-branch-create",60008),gitBranchDelete:(0,n.z)("git-branch-delete",60008),sourceControl:(0,n.z)("source-control",60008),mirror:(0,n.z)("mirror",60009),mirrorPublic:(0,n.z)("mirror-public",60009),star:(0,n.z)("star",60010),starAdd:(0,n.z)("star-add",60010),starDelete:(0,n.z)("star-delete",60010),starEmpty:(0,n.z)("star-empty",60010),comment:(0,n.z)("comment",60011),commentAdd:(0,n.z)("comment-add",60011),alert:(0,n.z)("alert",60012),warning:(0,n.z)("warning",60012),search:(0,n.z)("search",60013),searchSave:(0,n.z)("search-save",60013),logOut:(0,n.z)("log-out",60014),signOut:(0,n.z)("sign-out",60014),logIn:(0,n.z)("log-in",60015),signIn:(0,n.z)("sign-in",60015),eye:(0,n.z)("eye",60016),eyeUnwatch:(0,n.z)("eye-unwatch",60016),eyeWatch:(0,n.z)("eye-watch",60016),circleFilled:(0,n.z)("circle-filled",60017),primitiveDot:(0,n.z)("primitive-dot",60017),closeDirty:(0,n.z)("close-dirty",60017),debugBreakpoint:(0,n.z)("debug-breakpoint",60017),debugBreakpointDisabled:(0,n.z)("debug-breakpoint-disabled",60017),debugHint:(0,n.z)("debug-hint",60017),terminalDecorationSuccess:(0,n.z)("terminal-decoration-success",60017),primitiveSquare:(0,n.z)("primitive-square",60018),edit:(0,n.z)("edit",60019),pencil:(0,n.z)("pencil",60019),info:(0,n.z)("info",60020),issueOpened:(0,n.z)("issue-opened",60020),gistPrivate:(0,n.z)("gist-private",60021),gitForkPrivate:(0,n.z)("git-fork-private",60021),lock:(0,n.z)("lock",60021),mirrorPrivate:(0,n.z)("mirror-private",60021),close:(0,n.z)("close",60022),removeClose:(0,n.z)("remove-close",60022),x:(0,n.z)("x",60022),repoSync:(0,n.z)("repo-sync",60023),sync:(0,n.z)("sync",60023),clone:(0,n.z)("clone",60024),desktopDownload:(0,n.z)("desktop-download",60024),beaker:(0,n.z)("beaker",60025),microscope:(0,n.z)("microscope",60025),vm:(0,n.z)("vm",60026),deviceDesktop:(0,n.z)("device-desktop",60026),file:(0,n.z)("file",60027),fileText:(0,n.z)("file-text",60027),more:(0,n.z)("more",60028),ellipsis:(0,n.z)("ellipsis",60028),kebabHorizontal:(0,n.z)("kebab-horizontal",60028),mailReply:(0,n.z)("mail-reply",60029),reply:(0,n.z)("reply",60029),organization:(0,n.z)("organization",60030),organizationFilled:(0,n.z)("organization-filled",60030),organizationOutline:(0,n.z)("organization-outline",60030),newFile:(0,n.z)("new-file",60031),fileAdd:(0,n.z)("file-add",60031),newFolder:(0,n.z)("new-folder",60032),fileDirectoryCreate:(0,n.z)("file-directory-create",60032),trash:(0,n.z)("trash",60033),trashcan:(0,n.z)("trashcan",60033),history:(0,n.z)("history",60034),clock:(0,n.z)("clock",60034),folder:(0,n.z)("folder",60035),fileDirectory:(0,n.z)("file-directory",60035),symbolFolder:(0,n.z)("symbol-folder",60035),logoGithub:(0,n.z)("logo-github",60036),markGithub:(0,n.z)("mark-github",60036),github:(0,n.z)("github",60036),terminal:(0,n.z)("terminal",60037),console:(0,n.z)("console",60037),repl:(0,n.z)("repl",60037),zap:(0,n.z)("zap",60038),symbolEvent:(0,n.z)("symbol-event",60038),error:(0,n.z)("error",60039),stop:(0,n.z)("stop",60039),variable:(0,n.z)("variable",60040),symbolVariable:(0,n.z)("symbol-variable",60040),array:(0,n.z)("array",60042),symbolArray:(0,n.z)("symbol-array",60042),symbolModule:(0,n.z)("symbol-module",60043),symbolPackage:(0,n.z)("symbol-package",60043),symbolNamespace:(0,n.z)("symbol-namespace",60043),symbolObject:(0,n.z)("symbol-object",60043),symbolMethod:(0,n.z)("symbol-method",60044),symbolFunction:(0,n.z)("symbol-function",60044),symbolConstructor:(0,n.z)("symbol-constructor",60044),symbolBoolean:(0,n.z)("symbol-boolean",60047),symbolNull:(0,n.z)("symbol-null",60047),symbolNumeric:(0,n.z)("symbol-numeric",60048),symbolNumber:(0,n.z)("symbol-number",60048),symbolStructure:(0,n.z)("symbol-structure",60049),symbolStruct:(0,n.z)("symbol-struct",60049),symbolParameter:(0,n.z)("symbol-parameter",60050),symbolTypeParameter:(0,n.z)("symbol-type-parameter",60050),symbolKey:(0,n.z)("symbol-key",60051),symbolText:(0,n.z)("symbol-text",60051),symbolReference:(0,n.z)("symbol-reference",60052),goToFile:(0,n.z)("go-to-file",60052),symbolEnum:(0,n.z)("symbol-enum",60053),symbolValue:(0,n.z)("symbol-value",60053),symbolRuler:(0,n.z)("symbol-ruler",60054),symbolUnit:(0,n.z)("symbol-unit",60054),activateBreakpoints:(0,n.z)("activate-breakpoints",60055),archive:(0,n.z)("archive",60056),arrowBoth:(0,n.z)("arrow-both",60057),arrowDown:(0,n.z)("arrow-down",60058),arrowLeft:(0,n.z)("arrow-left",60059),arrowRight:(0,n.z)("arrow-right",60060),arrowSmallDown:(0,n.z)("arrow-small-down",60061),arrowSmallLeft:(0,n.z)("arrow-small-left",60062),arrowSmallRight:(0,n.z)("arrow-small-right",60063),arrowSmallUp:(0,n.z)("arrow-small-up",60064),arrowUp:(0,n.z)("arrow-up",60065),bell:(0,n.z)("bell",60066),bold:(0,n.z)("bold",60067),book:(0,n.z)("book",60068),bookmark:(0,n.z)("bookmark",60069),debugBreakpointConditionalUnverified:(0,n.z)("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:(0,n.z)("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:(0,n.z)("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:(0,n.z)("debug-breakpoint-data-unverified",60072),debugBreakpointData:(0,n.z)("debug-breakpoint-data",60073),debugBreakpointDataDisabled:(0,n.z)("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:(0,n.z)("debug-breakpoint-log-unverified",60074),debugBreakpointLog:(0,n.z)("debug-breakpoint-log",60075),debugBreakpointLogDisabled:(0,n.z)("debug-breakpoint-log-disabled",60075),briefcase:(0,n.z)("briefcase",60076),broadcast:(0,n.z)("broadcast",60077),browser:(0,n.z)("browser",60078),bug:(0,n.z)("bug",60079),calendar:(0,n.z)("calendar",60080),caseSensitive:(0,n.z)("case-sensitive",60081),check:(0,n.z)("check",60082),checklist:(0,n.z)("checklist",60083),chevronDown:(0,n.z)("chevron-down",60084),chevronLeft:(0,n.z)("chevron-left",60085),chevronRight:(0,n.z)("chevron-right",60086),chevronUp:(0,n.z)("chevron-up",60087),chromeClose:(0,n.z)("chrome-close",60088),chromeMaximize:(0,n.z)("chrome-maximize",60089),chromeMinimize:(0,n.z)("chrome-minimize",60090),chromeRestore:(0,n.z)("chrome-restore",60091),circleOutline:(0,n.z)("circle-outline",60092),circle:(0,n.z)("circle",60092),debugBreakpointUnverified:(0,n.z)("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:(0,n.z)("terminal-decoration-incomplete",60092),circleSlash:(0,n.z)("circle-slash",60093),circuitBoard:(0,n.z)("circuit-board",60094),clearAll:(0,n.z)("clear-all",60095),clippy:(0,n.z)("clippy",60096),closeAll:(0,n.z)("close-all",60097),cloudDownload:(0,n.z)("cloud-download",60098),cloudUpload:(0,n.z)("cloud-upload",60099),code:(0,n.z)("code",60100),collapseAll:(0,n.z)("collapse-all",60101),colorMode:(0,n.z)("color-mode",60102),commentDiscussion:(0,n.z)("comment-discussion",60103),creditCard:(0,n.z)("credit-card",60105),dash:(0,n.z)("dash",60108),dashboard:(0,n.z)("dashboard",60109),database:(0,n.z)("database",60110),debugContinue:(0,n.z)("debug-continue",60111),debugDisconnect:(0,n.z)("debug-disconnect",60112),debugPause:(0,n.z)("debug-pause",60113),debugRestart:(0,n.z)("debug-restart",60114),debugStart:(0,n.z)("debug-start",60115),debugStepInto:(0,n.z)("debug-step-into",60116),debugStepOut:(0,n.z)("debug-step-out",60117),debugStepOver:(0,n.z)("debug-step-over",60118),debugStop:(0,n.z)("debug-stop",60119),debug:(0,n.z)("debug",60120),deviceCameraVideo:(0,n.z)("device-camera-video",60121),deviceCamera:(0,n.z)("device-camera",60122),deviceMobile:(0,n.z)("device-mobile",60123),diffAdded:(0,n.z)("diff-added",60124),diffIgnored:(0,n.z)("diff-ignored",60125),diffModified:(0,n.z)("diff-modified",60126),diffRemoved:(0,n.z)("diff-removed",60127),diffRenamed:(0,n.z)("diff-renamed",60128),diff:(0,n.z)("diff",60129),diffSidebyside:(0,n.z)("diff-sidebyside",60129),discard:(0,n.z)("discard",60130),editorLayout:(0,n.z)("editor-layout",60131),emptyWindow:(0,n.z)("empty-window",60132),exclude:(0,n.z)("exclude",60133),extensions:(0,n.z)("extensions",60134),eyeClosed:(0,n.z)("eye-closed",60135),fileBinary:(0,n.z)("file-binary",60136),fileCode:(0,n.z)("file-code",60137),fileMedia:(0,n.z)("file-media",60138),filePdf:(0,n.z)("file-pdf",60139),fileSubmodule:(0,n.z)("file-submodule",60140),fileSymlinkDirectory:(0,n.z)("file-symlink-directory",60141),fileSymlinkFile:(0,n.z)("file-symlink-file",60142),fileZip:(0,n.z)("file-zip",60143),files:(0,n.z)("files",60144),filter:(0,n.z)("filter",60145),flame:(0,n.z)("flame",60146),foldDown:(0,n.z)("fold-down",60147),foldUp:(0,n.z)("fold-up",60148),fold:(0,n.z)("fold",60149),folderActive:(0,n.z)("folder-active",60150),folderOpened:(0,n.z)("folder-opened",60151),gear:(0,n.z)("gear",60152),gift:(0,n.z)("gift",60153),gistSecret:(0,n.z)("gist-secret",60154),gist:(0,n.z)("gist",60155),gitCommit:(0,n.z)("git-commit",60156),gitCompare:(0,n.z)("git-compare",60157),compareChanges:(0,n.z)("compare-changes",60157),gitMerge:(0,n.z)("git-merge",60158),githubAction:(0,n.z)("github-action",60159),githubAlt:(0,n.z)("github-alt",60160),globe:(0,n.z)("globe",60161),grabber:(0,n.z)("grabber",60162),graph:(0,n.z)("graph",60163),gripper:(0,n.z)("gripper",60164),heart:(0,n.z)("heart",60165),home:(0,n.z)("home",60166),horizontalRule:(0,n.z)("horizontal-rule",60167),hubot:(0,n.z)("hubot",60168),inbox:(0,n.z)("inbox",60169),issueReopened:(0,n.z)("issue-reopened",60171),issues:(0,n.z)("issues",60172),italic:(0,n.z)("italic",60173),jersey:(0,n.z)("jersey",60174),json:(0,n.z)("json",60175),kebabVertical:(0,n.z)("kebab-vertical",60176),key:(0,n.z)("key",60177),law:(0,n.z)("law",60178),lightbulbAutofix:(0,n.z)("lightbulb-autofix",60179),linkExternal:(0,n.z)("link-external",60180),link:(0,n.z)("link",60181),listOrdered:(0,n.z)("list-ordered",60182),listUnordered:(0,n.z)("list-unordered",60183),liveShare:(0,n.z)("live-share",60184),loading:(0,n.z)("loading",60185),location:(0,n.z)("location",60186),mailRead:(0,n.z)("mail-read",60187),mail:(0,n.z)("mail",60188),markdown:(0,n.z)("markdown",60189),megaphone:(0,n.z)("megaphone",60190),mention:(0,n.z)("mention",60191),milestone:(0,n.z)("milestone",60192),gitPullRequestMilestone:(0,n.z)("git-pull-request-milestone",60192),mortarBoard:(0,n.z)("mortar-board",60193),move:(0,n.z)("move",60194),multipleWindows:(0,n.z)("multiple-windows",60195),mute:(0,n.z)("mute",60196),noNewline:(0,n.z)("no-newline",60197),note:(0,n.z)("note",60198),octoface:(0,n.z)("octoface",60199),openPreview:(0,n.z)("open-preview",60200),package:(0,n.z)("package",60201),paintcan:(0,n.z)("paintcan",60202),pin:(0,n.z)("pin",60203),play:(0,n.z)("play",60204),run:(0,n.z)("run",60204),plug:(0,n.z)("plug",60205),preserveCase:(0,n.z)("preserve-case",60206),preview:(0,n.z)("preview",60207),project:(0,n.z)("project",60208),pulse:(0,n.z)("pulse",60209),question:(0,n.z)("question",60210),quote:(0,n.z)("quote",60211),radioTower:(0,n.z)("radio-tower",60212),reactions:(0,n.z)("reactions",60213),references:(0,n.z)("references",60214),refresh:(0,n.z)("refresh",60215),regex:(0,n.z)("regex",60216),remoteExplorer:(0,n.z)("remote-explorer",60217),remote:(0,n.z)("remote",60218),remove:(0,n.z)("remove",60219),replaceAll:(0,n.z)("replace-all",60220),replace:(0,n.z)("replace",60221),repoClone:(0,n.z)("repo-clone",60222),repoForcePush:(0,n.z)("repo-force-push",60223),repoPull:(0,n.z)("repo-pull",60224),repoPush:(0,n.z)("repo-push",60225),report:(0,n.z)("report",60226),requestChanges:(0,n.z)("request-changes",60227),rocket:(0,n.z)("rocket",60228),rootFolderOpened:(0,n.z)("root-folder-opened",60229),rootFolder:(0,n.z)("root-folder",60230),rss:(0,n.z)("rss",60231),ruby:(0,n.z)("ruby",60232),saveAll:(0,n.z)("save-all",60233),saveAs:(0,n.z)("save-as",60234),save:(0,n.z)("save",60235),screenFull:(0,n.z)("screen-full",60236),screenNormal:(0,n.z)("screen-normal",60237),searchStop:(0,n.z)("search-stop",60238),server:(0,n.z)("server",60240),settingsGear:(0,n.z)("settings-gear",60241),settings:(0,n.z)("settings",60242),shield:(0,n.z)("shield",60243),smiley:(0,n.z)("smiley",60244),sortPrecedence:(0,n.z)("sort-precedence",60245),splitHorizontal:(0,n.z)("split-horizontal",60246),splitVertical:(0,n.z)("split-vertical",60247),squirrel:(0,n.z)("squirrel",60248),starFull:(0,n.z)("star-full",60249),starHalf:(0,n.z)("star-half",60250),symbolClass:(0,n.z)("symbol-class",60251),symbolColor:(0,n.z)("symbol-color",60252),symbolConstant:(0,n.z)("symbol-constant",60253),symbolEnumMember:(0,n.z)("symbol-enum-member",60254),symbolField:(0,n.z)("symbol-field",60255),symbolFile:(0,n.z)("symbol-file",60256),symbolInterface:(0,n.z)("symbol-interface",60257),symbolKeyword:(0,n.z)("symbol-keyword",60258),symbolMisc:(0,n.z)("symbol-misc",60259),symbolOperator:(0,n.z)("symbol-operator",60260),symbolProperty:(0,n.z)("symbol-property",60261),wrench:(0,n.z)("wrench",60261),wrenchSubaction:(0,n.z)("wrench-subaction",60261),symbolSnippet:(0,n.z)("symbol-snippet",60262),tasklist:(0,n.z)("tasklist",60263),telescope:(0,n.z)("telescope",60264),textSize:(0,n.z)("text-size",60265),threeBars:(0,n.z)("three-bars",60266),thumbsdown:(0,n.z)("thumbsdown",60267),thumbsup:(0,n.z)("thumbsup",60268),tools:(0,n.z)("tools",60269),triangleDown:(0,n.z)("triangle-down",60270),triangleLeft:(0,n.z)("triangle-left",60271),triangleRight:(0,n.z)("triangle-right",60272),triangleUp:(0,n.z)("triangle-up",60273),twitter:(0,n.z)("twitter",60274),unfold:(0,n.z)("unfold",60275),unlock:(0,n.z)("unlock",60276),unmute:(0,n.z)("unmute",60277),unverified:(0,n.z)("unverified",60278),verified:(0,n.z)("verified",60279),versions:(0,n.z)("versions",60280),vmActive:(0,n.z)("vm-active",60281),vmOutline:(0,n.z)("vm-outline",60282),vmRunning:(0,n.z)("vm-running",60283),watch:(0,n.z)("watch",60284),whitespace:(0,n.z)("whitespace",60285),wholeWord:(0,n.z)("whole-word",60286),window:(0,n.z)("window",60287),wordWrap:(0,n.z)("word-wrap",60288),zoomIn:(0,n.z)("zoom-in",60289),zoomOut:(0,n.z)("zoom-out",60290),listFilter:(0,n.z)("list-filter",60291),listFlat:(0,n.z)("list-flat",60292),listSelection:(0,n.z)("list-selection",60293),selection:(0,n.z)("selection",60293),listTree:(0,n.z)("list-tree",60294),debugBreakpointFunctionUnverified:(0,n.z)("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:(0,n.z)("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:(0,n.z)("debug-breakpoint-function-disabled",60296),debugStackframeActive:(0,n.z)("debug-stackframe-active",60297),circleSmallFilled:(0,n.z)("circle-small-filled",60298),debugStackframeDot:(0,n.z)("debug-stackframe-dot",60298),terminalDecorationMark:(0,n.z)("terminal-decoration-mark",60298),debugStackframe:(0,n.z)("debug-stackframe",60299),debugStackframeFocused:(0,n.z)("debug-stackframe-focused",60299),debugBreakpointUnsupported:(0,n.z)("debug-breakpoint-unsupported",60300),symbolString:(0,n.z)("symbol-string",60301),debugReverseContinue:(0,n.z)("debug-reverse-continue",60302),debugStepBack:(0,n.z)("debug-step-back",60303),debugRestartFrame:(0,n.z)("debug-restart-frame",60304),debugAlt:(0,n.z)("debug-alt",60305),callIncoming:(0,n.z)("call-incoming",60306),callOutgoing:(0,n.z)("call-outgoing",60307),menu:(0,n.z)("menu",60308),expandAll:(0,n.z)("expand-all",60309),feedback:(0,n.z)("feedback",60310),gitPullRequestReviewer:(0,n.z)("git-pull-request-reviewer",60310),groupByRefType:(0,n.z)("group-by-ref-type",60311),ungroupByRefType:(0,n.z)("ungroup-by-ref-type",60312),account:(0,n.z)("account",60313),gitPullRequestAssignee:(0,n.z)("git-pull-request-assignee",60313),bellDot:(0,n.z)("bell-dot",60314),debugConsole:(0,n.z)("debug-console",60315),library:(0,n.z)("library",60316),output:(0,n.z)("output",60317),runAll:(0,n.z)("run-all",60318),syncIgnored:(0,n.z)("sync-ignored",60319),pinned:(0,n.z)("pinned",60320),githubInverted:(0,n.z)("github-inverted",60321),serverProcess:(0,n.z)("server-process",60322),serverEnvironment:(0,n.z)("server-environment",60323),pass:(0,n.z)("pass",60324),issueClosed:(0,n.z)("issue-closed",60324),stopCircle:(0,n.z)("stop-circle",60325),playCircle:(0,n.z)("play-circle",60326),record:(0,n.z)("record",60327),debugAltSmall:(0,n.z)("debug-alt-small",60328),vmConnect:(0,n.z)("vm-connect",60329),cloud:(0,n.z)("cloud",60330),merge:(0,n.z)("merge",60331),export:(0,n.z)("export",60332),graphLeft:(0,n.z)("graph-left",60333),magnet:(0,n.z)("magnet",60334),notebook:(0,n.z)("notebook",60335),redo:(0,n.z)("redo",60336),checkAll:(0,n.z)("check-all",60337),pinnedDirty:(0,n.z)("pinned-dirty",60338),passFilled:(0,n.z)("pass-filled",60339),circleLargeFilled:(0,n.z)("circle-large-filled",60340),circleLarge:(0,n.z)("circle-large",60341),circleLargeOutline:(0,n.z)("circle-large-outline",60341),combine:(0,n.z)("combine",60342),gather:(0,n.z)("gather",60342),table:(0,n.z)("table",60343),variableGroup:(0,n.z)("variable-group",60344),typeHierarchy:(0,n.z)("type-hierarchy",60345),typeHierarchySub:(0,n.z)("type-hierarchy-sub",60346),typeHierarchySuper:(0,n.z)("type-hierarchy-super",60347),gitPullRequestCreate:(0,n.z)("git-pull-request-create",60348),runAbove:(0,n.z)("run-above",60349),runBelow:(0,n.z)("run-below",60350),notebookTemplate:(0,n.z)("notebook-template",60351),debugRerun:(0,n.z)("debug-rerun",60352),workspaceTrusted:(0,n.z)("workspace-trusted",60353),workspaceUntrusted:(0,n.z)("workspace-untrusted",60354),workspaceUnknown:(0,n.z)("workspace-unknown",60355),terminalCmd:(0,n.z)("terminal-cmd",60356),terminalDebian:(0,n.z)("terminal-debian",60357),terminalLinux:(0,n.z)("terminal-linux",60358),terminalPowershell:(0,n.z)("terminal-powershell",60359),terminalTmux:(0,n.z)("terminal-tmux",60360),terminalUbuntu:(0,n.z)("terminal-ubuntu",60361),terminalBash:(0,n.z)("terminal-bash",60362),arrowSwap:(0,n.z)("arrow-swap",60363),copy:(0,n.z)("copy",60364),personAdd:(0,n.z)("person-add",60365),filterFilled:(0,n.z)("filter-filled",60366),wand:(0,n.z)("wand",60367),debugLineByLine:(0,n.z)("debug-line-by-line",60368),inspect:(0,n.z)("inspect",60369),layers:(0,n.z)("layers",60370),layersDot:(0,n.z)("layers-dot",60371),layersActive:(0,n.z)("layers-active",60372),compass:(0,n.z)("compass",60373),compassDot:(0,n.z)("compass-dot",60374),compassActive:(0,n.z)("compass-active",60375),azure:(0,n.z)("azure",60376),issueDraft:(0,n.z)("issue-draft",60377),gitPullRequestClosed:(0,n.z)("git-pull-request-closed",60378),gitPullRequestDraft:(0,n.z)("git-pull-request-draft",60379),debugAll:(0,n.z)("debug-all",60380),debugCoverage:(0,n.z)("debug-coverage",60381),runErrors:(0,n.z)("run-errors",60382),folderLibrary:(0,n.z)("folder-library",60383),debugContinueSmall:(0,n.z)("debug-continue-small",60384),beakerStop:(0,n.z)("beaker-stop",60385),graphLine:(0,n.z)("graph-line",60386),graphScatter:(0,n.z)("graph-scatter",60387),pieChart:(0,n.z)("pie-chart",60388),bracket:(0,n.z)("bracket",60175),bracketDot:(0,n.z)("bracket-dot",60389),bracketError:(0,n.z)("bracket-error",60390),lockSmall:(0,n.z)("lock-small",60391),azureDevops:(0,n.z)("azure-devops",60392),verifiedFilled:(0,n.z)("verified-filled",60393),newline:(0,n.z)("newline",60394),layout:(0,n.z)("layout",60395),layoutActivitybarLeft:(0,n.z)("layout-activitybar-left",60396),layoutActivitybarRight:(0,n.z)("layout-activitybar-right",60397),layoutPanelLeft:(0,n.z)("layout-panel-left",60398),layoutPanelCenter:(0,n.z)("layout-panel-center",60399),layoutPanelJustify:(0,n.z)("layout-panel-justify",60400),layoutPanelRight:(0,n.z)("layout-panel-right",60401),layoutPanel:(0,n.z)("layout-panel",60402),layoutSidebarLeft:(0,n.z)("layout-sidebar-left",60403),layoutSidebarRight:(0,n.z)("layout-sidebar-right",60404),layoutStatusbar:(0,n.z)("layout-statusbar",60405),layoutMenubar:(0,n.z)("layout-menubar",60406),layoutCentered:(0,n.z)("layout-centered",60407),target:(0,n.z)("target",60408),indent:(0,n.z)("indent",60409),recordSmall:(0,n.z)("record-small",60410),errorSmall:(0,n.z)("error-small",60411),terminalDecorationError:(0,n.z)("terminal-decoration-error",60411),arrowCircleDown:(0,n.z)("arrow-circle-down",60412),arrowCircleLeft:(0,n.z)("arrow-circle-left",60413),arrowCircleRight:(0,n.z)("arrow-circle-right",60414),arrowCircleUp:(0,n.z)("arrow-circle-up",60415),layoutSidebarRightOff:(0,n.z)("layout-sidebar-right-off",60416),layoutPanelOff:(0,n.z)("layout-panel-off",60417),layoutSidebarLeftOff:(0,n.z)("layout-sidebar-left-off",60418),blank:(0,n.z)("blank",60419),heartFilled:(0,n.z)("heart-filled",60420),map:(0,n.z)("map",60421),mapHorizontal:(0,n.z)("map-horizontal",60421),foldHorizontal:(0,n.z)("fold-horizontal",60421),mapFilled:(0,n.z)("map-filled",60422),mapHorizontalFilled:(0,n.z)("map-horizontal-filled",60422),foldHorizontalFilled:(0,n.z)("fold-horizontal-filled",60422),circleSmall:(0,n.z)("circle-small",60423),bellSlash:(0,n.z)("bell-slash",60424),bellSlashDot:(0,n.z)("bell-slash-dot",60425),commentUnresolved:(0,n.z)("comment-unresolved",60426),gitPullRequestGoToChanges:(0,n.z)("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:(0,n.z)("git-pull-request-new-changes",60428),searchFuzzy:(0,n.z)("search-fuzzy",60429),commentDraft:(0,n.z)("comment-draft",60430),send:(0,n.z)("send",60431),sparkle:(0,n.z)("sparkle",60432),insert:(0,n.z)("insert",60433),mic:(0,n.z)("mic",60434),thumbsdownFilled:(0,n.z)("thumbsdown-filled",60435),thumbsupFilled:(0,n.z)("thumbsup-filled",60436),coffee:(0,n.z)("coffee",60437),snake:(0,n.z)("snake",60438),game:(0,n.z)("game",60439),vr:(0,n.z)("vr",60440),chip:(0,n.z)("chip",60441),piano:(0,n.z)("piano",60442),music:(0,n.z)("music",60443),micFilled:(0,n.z)("mic-filled",60444),repoFetch:(0,n.z)("repo-fetch",60445),copilot:(0,n.z)("copilot",60446),lightbulbSparkle:(0,n.z)("lightbulb-sparkle",60447),robot:(0,n.z)("robot",60448),sparkleFilled:(0,n.z)("sparkle-filled",60449),diffSingle:(0,n.z)("diff-single",60450),diffMultiple:(0,n.z)("diff-multiple",60451),surroundWith:(0,n.z)("surround-with",60452),share:(0,n.z)("share",60453),gitStash:(0,n.z)("git-stash",60454),gitStashApply:(0,n.z)("git-stash-apply",60455),gitStashPop:(0,n.z)("git-stash-pop",60456),vscode:(0,n.z)("vscode",60457),vscodeInsiders:(0,n.z)("vscode-insiders",60458),codeOss:(0,n.z)("code-oss",60459),runCoverage:(0,n.z)("run-coverage",60460),runAllCoverage:(0,n.z)("run-all-coverage",60461),coverage:(0,n.z)("coverage",60462),githubProject:(0,n.z)("github-project",60463),mapVertical:(0,n.z)("map-vertical",60464),foldVertical:(0,n.z)("fold-vertical",60464),mapVerticalFilled:(0,n.z)("map-vertical-filled",60465),foldVerticalFilled:(0,n.z)("fold-vertical-filled",60465),goToSearch:(0,n.z)("go-to-search",60466),percentage:(0,n.z)("percentage",60467),sortPercentage:(0,n.z)("sort-percentage",60467),attach:(0,n.z)("attach",60468)},o={dialogError:(0,n.z)("dialog-error","error"),dialogWarning:(0,n.z)("dialog-warning","warning"),dialogInfo:(0,n.z)("dialog-info","info"),dialogClose:(0,n.z)("dialog-close","close"),treeItemExpanded:(0,n.z)("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:(0,n.z)("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:(0,n.z)("tree-filter-on-type-off","list-selection"),treeFilterClear:(0,n.z)("tree-filter-clear","close"),treeItemLoading:(0,n.z)("tree-item-loading","loading"),menuSelection:(0,n.z)("menu-selection","check"),menuSubmenu:(0,n.z)("menu-submenu","chevron-right"),menuBarMore:(0,n.z)("menubar-more","more"),scrollbarButtonLeft:(0,n.z)("scrollbar-button-left","triangle-left"),scrollbarButtonRight:(0,n.z)("scrollbar-button-right","triangle-right"),scrollbarButtonUp:(0,n.z)("scrollbar-button-up","triangle-up"),scrollbarButtonDown:(0,n.z)("scrollbar-button-down","triangle-down"),toolBarMore:(0,n.z)("toolbar-more","more"),quickInputBack:(0,n.z)("quick-input-back","arrow-left"),dropDownButton:(0,n.z)("drop-down-button",60084),symbolCustomColor:(0,n.z)("symbol-customcolor",60252),exportIcon:(0,n.z)("export",60332),workspaceUnspecified:(0,n.z)("workspace-unspecified",60355),newLine:(0,n.z)("newline",60394),thumbsDownFilled:(0,n.z)("thumbsdown-filled",60435),thumbsUpFilled:(0,n.z)("thumbsup-filled",60436),gitFetch:(0,n.z)("git-fetch",60445),lightbulbSparkleAutofix:(0,n.z)("lightbulb-sparkle-autofix",60447),debugBreakpointPending:(0,n.z)("debug-breakpoint-pending",60377)},r={...s,...o}},71216:function(e,t,i){"use strict";i.d(t,{u:function(){return r},z:function(){return o}});var n=i(24162);let s=Object.create(null);function o(e,t){if((0,n.HD)(t)){let i=s[t];if(void 0===i)throw Error(`${e} references an unknown codicon: ${t}`);t=i}return s[e]=t,{id:e}}function r(){return s}},6988:function(e,t,i){"use strict";function n(e,t){let i=[],n=[];for(let n of e)t.has(n)||i.push(n);for(let i of t)e.has(i)||n.push(i);return{removed:i,added:n}}function s(e,t){let i=new Set;for(let n of t)e.has(n)&&i.add(n);return i}i.d(t,{j:function(){return s},q:function(){return n}})},76515:function(e,t,i){"use strict";var n,s;function o(e,t){let i=Math.pow(10,t);return Math.round(e*i)/i}i.d(t,{Il:function(){return d},Oz:function(){return l},VS:function(){return r},tx:function(){return a}});class r{constructor(e,t,i,n=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,i)),this.a=o(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class l{constructor(e,t,i,n){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=o(Math.max(Math.min(1,t),0),3),this.l=o(Math.max(Math.min(1,i),0),3),this.a=o(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,i=e.g/255,n=e.b/255,s=e.a,o=Math.max(t,i,n),r=Math.min(t,i,n),a=0,d=0,h=(r+o)/2,u=o-r;if(u>0){switch(d=Math.min(h<=.5?u/(2*h):u/(2-2*h),1),o){case t:a=(i-n)/u+(i1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}static toRGBA(e){let t,i,n;let s=e.h/360,{s:o,l:a,a:d}=e;if(0===o)t=i=n=a;else{let e=a<.5?a*(1+o):a+o-a*o,r=2*a-e;t=l._hue2rgb(r,e,s+1/3),i=l._hue2rgb(r,e,s),n=l._hue2rgb(r,e,s-1/3)}return new r(Math.round(255*t),Math.round(255*i),Math.round(255*n),d)}}class a{constructor(e,t,i,n){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=o(Math.max(Math.min(1,t),0),3),this.v=o(Math.max(Math.min(1,i),0),3),this.a=o(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let i=e.r/255,n=e.g/255,s=e.b/255,o=Math.max(i,n,s),r=Math.min(i,n,s),l=o-r,d=0===o?0:l/o;return t=0===l?0:o===i?((n-s)/l%6+6)%6:o===n?(s-i)/l+2:(i-n)/l+4,new a(Math.round(60*t),d,o,e.a)}static toRGBA(e){let{h:t,s:i,v:n,a:s}=e,o=n*i,l=o*(1-Math.abs(t/60%2-1)),a=n-o,[d,h,u]=[0,0,0];return t<60?(d=o,h=l):t<120?(d=l,h=o):t<180?(h=o,u=l):t<240?(h=l,u=o):t<300?(d=l,u=o):t<=360&&(d=o,u=l),d=Math.round((d+a)*255),h=Math.round((h+a)*255),u=Math.round((u+a)*255),new r(d,h,u,s)}}class d{static fromHex(e){return d.Format.CSS.parseHex(e)||d.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:l.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:a.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof r)this.rgba=e;else if(e instanceof l)this._hsla=e,this.rgba=l.toRGBA(e);else if(e instanceof a)this._hsva=e,this.rgba=a.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&r.equals(this.rgba,e.rgba)&&l.equals(this.hsla,e.hsla)&&a.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=d._relativeLuminanceForComponent(this.rgba.r),t=d._relativeLuminanceForComponent(this.rgba.g),i=d._relativeLuminanceForComponent(this.rgba.b);return o(.2126*e+.7152*t+.0722*i,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){let e=(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3;return e>=128}isLighterThan(e){let t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return t>i}isDarkerThan(e){let t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return te,asFile:()=>void 0,value:"string"==typeof e?e:void 0}}function l(e,t,i){let n={id:(0,o.R)(),name:e,uri:t,data:i};return{asString:async()=>"",asFile:()=>n,value:void 0}}class a{constructor(){this._entries=new Map}get size(){let e=0;for(let t of this._entries)e++;return e}has(e){return this._entries.has(this.toKey(e))}matches(e){let t=[...this._entries.keys()];return s.$.some(this,([e,t])=>t.asFile())&&t.push("files"),u(d(e),t)}get(e){var t;return null===(t=this._entries.get(this.toKey(e)))||void 0===t?void 0:t[0]}append(e,t){let i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*[Symbol.iterator](){for(let[e,t]of this._entries)for(let i of t)yield[e,i]}toKey(e){return d(e)}}function d(e){return e.toLowerCase()}function h(e,t){return u(d(e),t.map(d))}function u(e,t){if("*/*"===e)return t.length>0;if(t.includes(e))return!0;let i=e.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!i)return!1;let[n,s,o]=i;return"*"===o&&t.some(e=>e.startsWith(s+"/"))}let c=Object.freeze({create:e=>(0,n.EB)(e.map(e=>e.toString())).join("\r\n"),split:e=>e.split("\r\n"),parse:e=>c.split(e).filter(e=>!e.startsWith("#"))})},12435:function(e,t,i){"use strict";function n(e,t,i){let n=null,s=null;if("function"==typeof i.value?(n="value",0!==(s=i.value).length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"==typeof i.get&&(n="get",s=i.get),!s)throw Error("not supported");let o=`$memoize$${t}`;i[n]=function(...e){return this.hasOwnProperty(o)||Object.defineProperty(this,o,{configurable:!1,enumerable:!1,writable:!1,value:s.apply(this,e)}),this[o]}}i.d(t,{H:function(){return n}})},39970:function(e,t,i){"use strict";i.d(t,{Hs:function(){return h},a$:function(){return r}});class n{constructor(e,t,i,n){this.originalStart=e,this.originalLength=t,this.modifiedStart=i,this.modifiedLength=n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var s=i(36922);class o{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let i=0,n=e.length;i0||this.m_modifiedCount>0)&&this.m_changes.push(new n(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class h{constructor(e,t,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=t;let[n,s,o]=h._getElements(e),[r,l,a]=h._getElements(t);this._hasStrings=o&&a,this._originalStringElements=n,this._originalElementsOrHash=s,this._modifiedStringElements=r,this._modifiedElementsOrHash=l,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(h._isStringArray(t)){let e=new Int32Array(t.length);for(let i=0,n=t.length;i=e&&s>=i&&this.ElementsAreEqual(t,s);)t--,s--;if(e>t||i>s){let o;return i<=s?(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new n(e,0,i,s-i+1)]):e<=t?(l.Assert(i===s+1,"modifiedStart should only be one more than modifiedEnd"),o=[new n(e,t-e+1,i,0)]):(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),l.Assert(i===s+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}let r=[0],a=[0],d=this.ComputeRecursionPoint(e,t,i,s,r,a,o),h=r[0],u=a[0];if(null!==d)return d;if(!o[0]){let r=this.ComputeDiffRecursive(e,h,i,u,o),l=[];return l=o[0]?[new n(h+1,t-(h+1)+1,u+1,s-(u+1)+1)]:this.ComputeDiffRecursive(h+1,t,u+1,s,o),this.ConcatenateChanges(r,l)}return[new n(e,t-e+1,i,s-i+1)]}WALKTRACE(e,t,i,s,o,r,l,a,h,u,c,g,p,m,f,_,v,b){let C=null,w=null,y=new d,S=t,L=i,k=p[0]-_[0]-s,D=-1073741824,x=this.m_forwardHistory.length-1;do{let t=k+e;t===S||t=0&&(e=(h=this.m_forwardHistory[x])[0],S=1,L=h.length-1)}while(--x>=-1);if(C=y.getReverseChanges(),b[0]){let e=p[0]+1,t=_[0]+1;if(null!==C&&C.length>0){let i=C[C.length-1];e=Math.max(e,i.getOriginalEnd()),t=Math.max(t,i.getModifiedEnd())}w=[new n(e,g-e+1,t,f-t+1)]}else{y=new d,S=r,L=l,k=p[0]-_[0]-a,D=1073741824,x=v?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=k+o;e===S||e=u[e+1]?(m=(c=u[e+1]-1)-k-a,c>D&&y.MarkNextChange(),D=c+1,y.AddOriginalElement(c+1,m+1),k=e+1-o):(m=(c=u[e-1])-k-a,c>D&&y.MarkNextChange(),D=c,y.AddModifiedElement(c+1,m+1),k=e-1-o),x>=0&&(o=(u=this.m_reverseHistory[x])[0],S=1,L=u.length-1)}while(--x>=-1);w=y.getChanges()}return this.ConcatenateChanges(C,w)}ComputeRecursionPoint(e,t,i,s,o,r,l){let d=0,h=0,u=0,c=0,g=0,p=0;e--,i--,o[0]=0,r[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let m=t-e+(s-i),f=m+1,_=new Int32Array(f),v=new Int32Array(f),b=s-i,C=t-e,w=e-i,y=t-s,S=C-b,L=S%2==0;_[b]=e,v[C]=t,l[0]=!1;for(let S=1;S<=m/2+1;S++){let m=0,k=0;u=this.ClipDiagonalBound(b-S,S,b,f),c=this.ClipDiagonalBound(b+S,S,b,f);for(let e=u;e<=c;e+=2){h=(d=e===u||em+k&&(m=d,k=h),!L&&Math.abs(e-C)<=S-1&&d>=v[e]){if(o[0]=d,r[0]=h,i<=v[e]&&S<=1448)return this.WALKTRACE(b,u,c,w,C,g,p,y,_,v,d,t,o,h,s,r,L,l);return null}}let D=(m-e+(k-i)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(m,D)){if(l[0]=!0,o[0]=m,r[0]=k,!(D>0)||!(S<=1448))return e++,i++,[new n(e,t-e+1,i,s-i+1)];break}g=this.ClipDiagonalBound(C-S,S,C,f),p=this.ClipDiagonalBound(C+S,S,C,f);for(let n=g;n<=p;n+=2){h=(d=n===g||n=v[n+1]?v[n+1]-1:v[n-1])-(n-C)-y;let a=d;for(;d>e&&h>i&&this.ElementsAreEqual(d,h);)d--,h--;if(v[n]=d,L&&Math.abs(n-b)<=S&&d<=_[n]){if(o[0]=d,r[0]=h,a>=_[n]&&S<=1448)return this.WALKTRACE(b,u,c,w,C,g,p,y,_,v,d,t,o,h,s,r,L,l);return null}}if(S<=1447){let e=new Int32Array(c-u+2);e[0]=b-u+1,a.Copy2(_,u,e,1,c-u+1),this.m_forwardHistory.push(e),(e=new Int32Array(p-g+2))[0]=C-g+1,a.Copy2(v,g,e,1,p-g+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,u,c,w,C,g,p,y,_,v,d,t,o,h,s,r,L,l)}PrettifyChanges(e){for(let t=0;t0,r=i.modifiedLength>0;for(;i.originalStart+i.originalLength=0;t--){let i=e[t],n=0,s=0;if(t>0){let i=e[t-1];n=i.originalStart+i.originalLength,s=i.modifiedStart+i.modifiedLength}let o=i.originalLength>0,r=i.modifiedLength>0,l=0,a=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let e=1;;e++){let t=i.originalStart-e,d=i.modifiedStart-e;if(ta&&(a=u,l=e)}i.originalStart-=l,i.modifiedStart-=l;let d=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],d)){e[t-1]=d[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,i=e.length;t0&&i>l&&(l=i,a=t,d=e)}return l>0?[a,d]:null}_contiguousSequenceScore(e,t,i){let n=0;for(let s=0;s=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,t,i,n){let s=this._OriginalRegionIsBoundary(e,t)?1:0,o=this._ModifiedRegionIsBoundary(i,n)?1:0;return s+o}ConcatenateChanges(e,t){let i=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],i)){let n=Array(e.length+t.length-1);return a.Copy(e,0,n,0,e.length-1),n[e.length-1]=i[0],a.Copy(t,1,n,e.length,t.length-1),n}{let i=Array(e.length+t.length);return a.Copy(e,0,i,0,e.length),a.Copy(t,0,i,e.length,t.length),i}}ChangesOverlap(e,t,i){if(l.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),l.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return i[0]=null,!1;{let s=e.originalStart,o=e.originalLength,r=e.modifiedStart,l=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(l=t.modifiedStart+t.modifiedLength-e.modifiedStart),i[0]=new n(s,o,r,l),!0}}ClipDiagonalBound(e,t,i,n){if(e>=0&&ee===t;function o(e=s){return(t,i)=>n.fS(t,i,e)}function r(){return(e,t)=>e.equals(t)}function l(e,t,i){return e&&t?i(e,t):e===t}new WeakMap},24809:function(e,t,i){"use strict";i.d(t,{y:function(){return function e(t=null,i=!1){if(!t)return o.NC("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(t)){let s=n.kX(t),r=e(s[0],i);return s.length>1?o.NC("error.moreErrors","{0} ({1} errors in total)",r,s.length):r}if(s.HD(t))return t;if(t.detail){let e=t.detail;if(e.error)return r(e.error,i);if(e.exception)return r(e.exception,i)}return t.stack?r(t,i):t.message?t.message:o.NC("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}}});var n=i(40789),s=i(24162),o=i(82801);function r(e,t){return t&&(e.stack||e.stacktrace)?o.NC("stackTrace.format","{0}: {1}",a(e),l(e.stack)||l(e.stacktrace)):a(e)}function l(e){return Array.isArray(e)?e.join("\n"):e}function a(e){return"ERR_UNC_HOST_NOT_ALLOWED"===e.code?`${e.message}. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.`:"string"==typeof e.code&&"number"==typeof e.errno&&"string"==typeof e.syscall?o.NC("nodeExceptionMessage","A system error occurred ({0})",e.message):e.message||o.NC("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}},32378:function(e,t,i){"use strict";i.d(t,{B8:function(){return g},Cp:function(){return o},F0:function(){return h},FU:function(){return d},L6:function(){return c},b1:function(){return u},dL:function(){return s},he:function(){return m},n2:function(){return a},ri:function(){return r}});let n=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(p.isErrorNoTelemetry(e))throw new p(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function s(e){a(e)||n.onUnexpectedError(e)}function o(e){a(e)||n.onUnexpectedExternalError(e)}function r(e){if(e instanceof Error){let{name:t,message:i}=e,n=e.stacktrace||e.stack;return{$isError:!0,name:t,message:i,stack:n,noTelemetry:p.isErrorNoTelemetry(e)}}return e}let l="Canceled";function a(e){return e instanceof d||e instanceof Error&&e.name===l&&e.message===l}class d extends Error{constructor(){super(l),this.name=this.message}}function h(){let e=Error(l);return e.name=e.message,e}function u(e){return e?Error(`Illegal argument: ${e}`):Error("Illegal argument")}function c(e){return e?Error(`Illegal state: ${e}`):Error("Illegal state")}class g extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}class p extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof p)return e;let t=new p;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class m extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,m.prototype)}}},79915:function(e,t,i){"use strict";i.d(t,{D0:function(){return C},E7:function(){return S},K3:function(){return b},Q5:function(){return f},SZ:function(){return w},Sp:function(){return _},ZD:function(){return L},ju:function(){return n},z5:function(){return y}});var n,s=i(32378),o=i(97946),r=i(70784),l=i(92270),a=i(44129);!function(e){function t(e){return(t,i=null,n)=>{let s,o=!1;return s=e(e=>o?void 0:(s?s.dispose():o=!0,t.call(i,e)),null,n),o&&s.dispose(),s}}function i(e,t,i){return s((i,n=null,s)=>e(e=>i.call(n,t(e)),null,s),i)}function n(e,t,i){return s((i,n=null,s)=>e(e=>t(e)&&i.call(n,e),null,s),i)}function s(e,t){let i;let n=new f({onWillAddFirstListener(){i=e(n.fire,n)},onDidRemoveLastListener(){null==i||i.dispose()}});return null==t||t.add(n),n.event}function o(e,t,i=100,n=!1,s=!1,o,r){let l,a,d,h;let u=0,c=new f({leakWarningThreshold:o,onWillAddFirstListener(){l=e(e=>{u++,d=t(d,e),n&&!h&&(c.fire(d),d=void 0),a=()=>{let e=d;d=void 0,h=void 0,(!n||u>1)&&c.fire(e),u=0},"number"==typeof i?(clearTimeout(h),h=setTimeout(a,i)):void 0===h&&(h=0,queueMicrotask(a))})},onWillRemoveListener(){s&&u>0&&(null==a||a())},onDidRemoveLastListener(){a=void 0,l.dispose()}});return null==r||r.add(c),c.event}e.None=()=>r.JT.None,e.defer=function(e,t){return o(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=t,e.map=i,e.forEach=function(e,t,i){return s((i,n=null,s)=>e(e=>{t(e),i.call(n,e)},null,s),i)},e.filter=n,e.signal=function(e){return e},e.any=function(...e){return(t,i=null,n)=>{let s=(0,r.F8)(...e.map(e=>e(e=>t.call(i,e))));return n instanceof Array?n.push(s):n&&n.add(s),s}},e.reduce=function(e,t,n,s){let o=n;return i(e,e=>o=t(o,e),s)},e.debounce=o,e.accumulate=function(t,i=0,n){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],i,void 0,!0,void 0,n)},e.latch=function(e,t=(e,t)=>e===t,i){let s,o=!0;return n(e,e=>{let i=o||!t(e,s);return o=!1,s=e,i},i)},e.split=function(t,i,n){return[e.filter(t,i,n),e.filter(t,e=>!i(e),n)]},e.buffer=function(e,t=!1,i=[],n){let s=i.slice(),o=e(e=>{s?s.push(e):l.fire(e)});n&&n.add(o);let r=()=>{null==s||s.forEach(e=>l.fire(e)),s=null},l=new f({onWillAddFirstListener(){!o&&(o=e(e=>l.fire(e)),n&&n.add(o))},onDidAddFirstListener(){s&&(t?setTimeout(r):r())},onDidRemoveLastListener(){o&&o.dispose(),o=null}});return n&&n.add(l),l.event},e.chain=function(e,t){return(i,n,s)=>{let o=t(new a);return e(function(e){let t=o.evaluate(e);t!==l&&i.call(n,t)},void 0,s)}};let l=Symbol("HaltChainable");class a{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push(t=>(e(t),t)),this}filter(e){return this.steps.push(t=>e(t)?t:l),this}reduce(e,t){let i=t;return this.steps.push(t=>i=e(i,t)),this}latch(e=(e,t)=>e===t){let t,i=!0;return this.steps.push(n=>{let s=i||!e(n,t);return i=!1,t=n,s?n:l}),this}evaluate(e){for(let t of this.steps)if((e=t(e))===l)break;return e}}e.fromNodeEventEmitter=function(e,t,i=e=>e){let n=(...e)=>s.fire(i(...e)),s=new f({onWillAddFirstListener:()=>e.on(t,n),onDidRemoveLastListener:()=>e.removeListener(t,n)});return s.event},e.fromDOMEventEmitter=function(e,t,i=e=>e){let n=(...e)=>s.fire(i(...e)),s=new f({onWillAddFirstListener:()=>e.addEventListener(t,n),onDidRemoveLastListener:()=>e.removeEventListener(t,n)});return s.event},e.toPromise=function(e){return new Promise(i=>t(e)(i))},e.fromPromise=function(e){let t=new f;return e.then(e=>{t.fire(e)},()=>{t.fire(void 0)}).finally(()=>{t.dispose()}),t.event},e.runAndSubscribe=function(e,t,i){return t(i),e(e=>t(e))};class d{constructor(e,t){this._observable=e,this._counter=0,this._hasChanged=!1;this.emitter=new f({onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}}),t&&t.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){let i=new d(e,t);return i.emitter.event},e.fromObservableLight=function(e){return(t,i,n)=>{let s=0,o=!1,l={beginUpdate(){s++},endUpdate(){0==--s&&(e.reportChanges(),o&&(o=!1,t.call(i)))},handlePossibleChange(){},handleChange(){o=!0}};e.addObserver(l),e.reportChanges();let a={dispose(){e.removeObserver(l)}};return n instanceof r.SL?n.add(a):Array.isArray(n)&&n.push(a),a}}}(n||(n={}));class d{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${d._idPool++}`,d.all.add(this)}start(e){this._stopWatch=new a.G,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}d.all=new Set,d._idPool=0;class h{constructor(e,t,i=Math.random().toString(18).slice(2,5)){this._errorHandler=e,this.threshold=t,this.name=i,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let i=this.threshold;if(i<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}getMostFrequentStack(){let e;if(!this._stacks)return;let t=0;for(let[i,n]of this._stacks)(!e||t{var n,o,l,a,d,h,c;let f;if(this._leakageMon&&this._size>this._leakageMon.threshold**2){let e=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(e);let t=null!==(n=this._leakageMon.getMostFrequentStack())&&void 0!==n?n:["UNKNOWN stack",-1],i=new g(`${e}. HINT: Stack shows most frequent listener (${t[1]}-times)`,t[0]),l=(null===(o=this._options)||void 0===o?void 0:o.onListenerError)||s.dL;return l(i),r.JT.None}if(this._disposed)return r.JT.None;t&&(e=e.bind(t));let _=new p(e);this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(_.stack=u.create(),f=this._leakageMon.check(_.stack,this._size+1)),this._listeners?this._listeners instanceof p?(null!==(c=this._deliveryQueue)&&void 0!==c||(this._deliveryQueue=new v),this._listeners=[this._listeners,_]):this._listeners.push(_):(null===(a=null===(l=this._options)||void 0===l?void 0:l.onWillAddFirstListener)||void 0===a||a.call(l,this),this._listeners=_,null===(h=null===(d=this._options)||void 0===d?void 0:d.onDidAddFirstListener)||void 0===h||h.call(d,this)),this._size++;let b=(0,r.OF)(()=>{null==m||m.unregister(b),null==f||f(),this._removeListener(_)});if(i instanceof r.SL?i.add(b):Array.isArray(i)&&i.push(b),m){let e=Error().stack.split("\n").slice(2).join("\n").trim();m.register(b,e,b)}return b}),this._event}_removeListener(e){var t,i,n,s;if(null===(i=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===i||i.call(t,this),!this._listeners)return;if(1===this._size){this._listeners=void 0,null===(s=null===(n=this._options)||void 0===n?void 0:n.onDidRemoveLastListener)||void 0===s||s.call(n,this),this._size=0;return}let o=this._listeners,r=o.indexOf(e);if(-1===r)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),Error("Attempted to dispose unknown listener");this._size--,o[r]=void 0;let l=this._deliveryQueue.current===this;if(2*this._size<=o.length){let e=0;for(let t=0;t0}}let _=()=>new v;class v{constructor(){this.i=-1,this.end=0}enqueue(e,t,i){this.i=0,this.end=i,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class b extends f{constructor(e){super(e),this._isPaused=0,this._eventQueue=new l.S,this._mergeFn=null==e?void 0:e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused){if(this._mergeFn){if(this._eventQueue.size>0){let e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}}fire(e){this._size&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class C extends b{constructor(e){var t;super(e),this._delay=null!==(t=e.delay)&&void 0!==t?t:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class w extends f{constructor(e){super(e),this._queuedEvents=[],this._mergeFn=null==e?void 0:e.merge}fire(e){this.hasListeners()&&(this._queuedEvents.push(e),1===this._queuedEvents.length&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(e=>super.fire(e)),this._queuedEvents=[]}))}}class y{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new f({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(e){let t={event:e,listener:null};return this.events.push(t),this.hasListeners&&this.hook(t),(0,r.OF)((0,o.M)(()=>{this.hasListeners&&this.unhook(t);let e=this.events.indexOf(t);this.events.splice(e,1)}))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(e=>this.hook(e))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(e=>this.unhook(e))}hook(e){e.listener=e.event(e=>this.emitter.fire(e))}unhook(e){var t;null===(t=e.listener)||void 0===t||t.dispose(),e.listener=null}dispose(){var e;for(let t of(this.emitter.dispose(),this.events))null===(e=t.listener)||void 0===e||e.dispose();this.events=[]}}class S{constructor(){this.data=[]}wrapEvent(e,t,i){return(n,s,o)=>e(e=>{var o;let r=this.data[this.data.length-1];if(!t){r?r.buffers.push(()=>n.call(s,e)):n.call(s,e);return}if(!r){n.call(s,t(i,e));return}null!==(o=r.items)&&void 0!==o||(r.items=[]),r.items.push(e),0===r.buffers.length&&r.buffers.push(()=>{var e;null!==(e=r.reducedResult)&&void 0!==e||(r.reducedResult=i?r.items.reduce(t,i):r.items.reduce(t)),n.call(s,r.reducedResult)})},void 0,o)}bufferEvents(e){let t={buffers:[]};this.data.push(t);let i=e();return this.data.pop(),t.buffers.forEach(e=>e()),i}}class L{constructor(){this.listening=!1,this.inputEvent=n.None,this.inputEventListener=r.JT.None,this.emitter=new f({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},47306:function(e,t,i){"use strict";i.d(t,{KM:function(){return h},ej:function(){return l},fn:function(){return a},oP:function(){return c},yj:function(){return d}});var n=i(75380),s=i(58022),o=i(95612);function r(e){return 47===e||92===e}function l(e){return e.replace(/[\\/]/g,n.KR.sep)}function a(e){return -1===e.indexOf("/")&&(e=l(e)),/^[a-zA-Z]:(\/|$)/.test(e)&&(e="/"+e),e}function d(e,t=n.KR.sep){if(!e)return"";let i=e.length,s=e.charCodeAt(0);if(r(s)){if(r(e.charCodeAt(1))&&!r(e.charCodeAt(2))){let n=3,s=n;for(;ne.length)return!1;if(i){let i=(0,o.ok)(e,t);if(!i)return!1;if(t.length===e.length)return!0;let n=t.length;return t.charAt(t.length-1)===s&&n--,e.charAt(n)===s}return t.charAt(t.length-1)!==s&&(t+=s),0===e.indexOf(t)}function u(e){return e>=65&&e<=90||e>=97&&e<=122}function c(e,t=s.ED){return!!t&&u(e.charCodeAt(0))&&58===e.charCodeAt(1)}},79814:function(e,t,i){"use strict";i.d(t,{CL:function(){return s},mX:function(){return Z},jB:function(){return W},mB:function(){return H},EW:function(){return Y},l7:function(){return J},ir:function(){return _},Oh:function(){return F},XU:function(){return B},Ji:function(){return m},Sy:function(){return v},KZ:function(){return M},or:function(){return p}});var n,s,o=i(10289);let r=0,l=new Uint32Array(10);function a(e,t,i){var n;e>=i&&e>8&&(l[r++]=n>>8&255),n>>16&&(l[r++]=n>>16&255))}let d=new Uint8Array([114,82,115,101,69,102,97,113,81,116,84,100,119,87,99,122,120,118,103]),h=new Uint16Array([107,111,105,79,106,112,117,80,104,27496,28520,27752,121,110,27246,28782,27758,98,109,27757,108]),u=new Uint16Array([114,82,29810,115,30579,26483,101,102,29286,24934,29030,29798,30822,30310,26470,97,113,29809,116,84,100,119,99,122,120,118,103]),c=new Uint16Array([114,82,29810,115,30579,26483,101,69,102,29286,24934,29030,29798,30822,30310,26470,97,113,81,29809,116,84,100,119,87,99,122,120,118,103,107,111,105,79,106,112,117,80,104,27496,28520,27752,121,110,27246,28782,27758,98,109,27757,108]);var g=i(95612);function p(...e){return function(t,i){for(let n=0,s=e.length;n0?[{start:0,end:t.length}]:[]:null}function _(e,t){let i=t.toLowerCase().indexOf(e.toLowerCase());return -1===i?null:[{start:i,end:i+e.length}]}function v(e,t){return function e(t,i,n,s){if(n===t.length)return[];if(s===i.length)return null;if(t[n]===i[s]){let o=null;return(o=e(t,i,n+1,s+1))?E({start:s,end:s+1},o):null}return e(t,i,n,s+1)}(e.toLowerCase(),t.toLowerCase(),0,0)}function b(e){return 97<=e&&e<=122}function C(e){return 65<=e&&e<=90}function w(e){return 48<=e&&e<=57}function y(e){return 32===e||9===e||10===e||13===e}let S=new Set;function L(e){return y(e)||S.has(e)}function k(e,t){return e===t||L(e)&&L(t)}"()[]{}<>`'\"-/;:,.?!".split("").forEach(e=>S.add(e.charCodeAt(0)));let D=new Map;function x(e){let t;if(D.has(e))return D.get(e);let i=function(e){let t=function(e){if(r=0,a(e,d,4352),r>0||(a(e,h,4449),r>0)||(a(e,u,4520),r>0)||(a(e,c,12593),r))return l.subarray(0,r);if(e>=44032&&e<=55203){let t=e-44032,i=t%588,n=Math.floor(t/588),s=Math.floor(i/28),o=i%28-1;if(n=0&&(o0)return l.subarray(0,r)}}(e);if(t&&t.length>0)return new Uint32Array(t)}(e);return i&&(t=i),D.set(e,t),t}function N(e){return b(e)||C(e)||w(e)}function E(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function I(e,t){for(let i=t;i0&&!N(e.charCodeAt(i-1)))return i}return e.length}function T(e,t){if(!t||0===(t=t.trim()).length||!function(e){let t=0,i=0,n=0,s=0;for(let o=0;o60&&(t=t.substring(0,60));let i=function(e){let t=0,i=0,n=0,s=0,o=0;for(let r=0;r.2&&t<.8&&n>.6&&s<.2}(i)){if(!function(e){let{upperPercent:t,lowerPercent:i}=e;return 0===i&&t>.6}(i))return null;t=t.toLowerCase()}let n=null,s=0;for(e=e.toLowerCase();s0&&L(e.charCodeAt(i-1)))return i;return e.length}let A=p(m,T,_),P=p(m,T,v),O=new o.z6(1e4);function F(e,t,i=!1){if("string"!=typeof e||"string"!=typeof t)return null;let n=O.get(e);n||(n=RegExp(g.un(e),"i"),O.set(e,n));let s=n.exec(t);return s?[{start:s.index,end:s.index+s[0].length}]:i?P(e,t):A(e,t)}function B(e,t){let i=Y(e,e.toLowerCase(),0,t,t.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return i?H(i):null}function W(e,t,i,n,s,o){let r=Math.min(13,e.length);for(;i1;n--){let s=e[n]+i,o=t[t.length-1];o&&o.end===s?o.end=s+1:t.push({start:s,end:s+1})}return t}function V(){let e=[],t=[];for(let e=0;e<=128;e++)t[e]=0;for(let i=0;i<=128;i++)e.push(t.slice(0));return e}function z(e){let t=[];for(let i=0;i<=e;i++)t[i]=0;return t}let K=z(256),U=z(256),$=V(),q=V(),j=V();function G(e,t){if(t<0||t>=e.length)return!1;let i=e.codePointAt(t);switch(i){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 62:case 40:case 41:case 91:case 93:case 123:case 125:return!0;case void 0:return!1;default:if(g.C8(i))return!0;return!1}}function Q(e,t){if(t<0||t>=e.length)return!1;let i=e.charCodeAt(t);switch(i){case 32:case 9:return!0;default:return!1}}(n=s||(s={})).Default=[-100,0],n.isDefault=function(e){return!e||2===e.length&&-100===e[0]&&0===e[1]};class Z{constructor(e,t){this.firstMatchCanBeWeak=e,this.boostFullMatch=t}}function Y(e,t,i,n,s,o,r=Z.default){var l;let a=e.length>128?128:e.length,d=n.length>128?128:n.length;if(i>=a||o>=d||a-i>d-o||!function(e,t,i,n,s,o,r=!1){for(;t=i&&l>=n;)s[r]===o[l]&&(U[r]=l,r--),l--}(a,d,i,o,t,s);let h=1,u=1,c=i,g=o,p=[!1];for(h=1,c=i;c1&&i===n&&(h[0]=!0),g||(g=s[r]!==o[r]||G(o,r-1)||Q(o,r-1)),i===n?r>a&&(c-=g?3:5):d?c+=g?2:0:c+=g?0:1,r+1===l&&(c-=g?3:5),c}(e,t,c,i,n,s,g,d,o,0===$[h-1][u-1],p));let f=0;a!==Number.MAX_SAFE_INTEGER&&(m=!0,f=a+q[h-1][u-1]);let _=g>r,v=_?q[h][u-1]+($[h][u-1]>0?-5:0):0,b=g>r+1&&$[h][u-1]>0,C=b?q[h][u-2]+($[h][u-2]>0?-5:0):0;if(b&&(!_||C>=v)&&(!m||C>=f))q[h][u]=C,j[h][u]=3,$[h][u]=0;else if(_&&(!m||v>=f))q[h][u]=v,j[h][u]=2,$[h][u]=0;else if(m)q[h][u]=f,j[h][u]=1,$[h][u]=$[h-1][u-1]+1;else throw Error("not possible")}}if(!p[0]&&!r.firstMatchCanBeWeak)return;h--,u--;let m=[q[h][u],o],f=0,_=0;for(;h>=1;){let e=u;do{let t=j[h][e];if(3===t)e-=2;else if(2===t)e-=1;else break}while(e>=1);f>1&&t[i+h-1]===s[o+u-1]&&n[l=e+o-1]===s[l]&&f+1>$[h][e]&&(e=u),e===u?f++:f=1,_||(_=e),h--,u=e-1,m.push(u)}d-o===a&&r.boostFullMatch&&(m[0]+=2);let v=_-a;return m[0]-=v,m}function J(e,t,i,n,s,o,r){return function(e,t,i,n,s,o,r,l){let a=Y(e,t,i,n,s,o,l);if(a&&!r)return a;if(e.length>=3){let t=Math.min(7,e.length-1);for(let r=i+1;r=e.length)return;let i=e[t],n=e[t+1];if(i!==n)return e.slice(0,t)+n+i+e.slice(t+2)}(e,r);if(t){let e=Y(t,t.toLowerCase(),i,n,s,o,l);e&&(e[0]-=3,(!a||e[0]>a[0])&&(a=e))}}}return a}(e,t,i,n,s,o,!0,r)}Z.default={boostFullMatch:!0,firstMatchCanBeWeak:!1}},97946:function(e,t,i){"use strict";function n(e,t){let i;let n=this,s=!1;return function(){if(s)return i;if(s=!0,t)try{i=e.apply(n,arguments)}finally{t()}else i=e.apply(n,arguments);return i}}i.d(t,{M:function(){return n}})},76088:function(e,t,i){"use strict";i.d(t,{EQ:function(){return D},Qc:function(){return x}});var n=i(44532),s=i(47306),o=i(10289),r=i(75380),l=i(58022),a=i(95612);let d="[/\\\\]",h="[^/\\\\]",u=/\//g;function c(e,t){switch(e){case 0:return"";case 1:return`${h}*?`;default:return`(?:${d}|${h}+${d}${t?`|${d}${h}+`:""})*?`}}function g(e,t){if(!e)return[];let i=[],n=!1,s=!1,o="";for(let r of e){switch(r){case t:if(!n&&!s){i.push(o),o="";continue}break;case"{":n=!0;break;case"}":n=!1;break;case"[":s=!0;break;case"]":s=!1}o+=r}return o&&i.push(o),i}let p=/^\*\*\/\*\.[\w\.-]+$/,m=/^\*\*\/([\w\.-]+)\/?$/,f=/^{\*\*\/\*?[\w\.-]+\/?(,\*\*\/\*?[\w\.-]+\/?)*}$/,_=/^{\*\*\/\*?[\w\.-]+(\/(\*\*)?)?(,\*\*\/\*?[\w\.-]+(\/(\*\*)?)?)*}$/,v=/^\*\*((\/[\w\.-]+)+)\/?$/,b=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,C=new o.z6(1e4),w=function(){return!1},y=function(){return null};function S(e,t){var i,n;let o,u;if(!e)return y;o=(o="string"!=typeof e?e.pattern:e).trim();let w=`${o}_${!!t.trimForExclusions}`,D=C.get(w);return D||(D=p.test(o)?(i=o.substr(4),n=o,function(e,t){return"string"==typeof e&&e.endsWith(i)?n:null}):(u=m.exec(L(o,t)))?function(e,t){let i=`/${e}`,n=`\\${e}`,s=function(s,o){return"string"!=typeof s?null:o?o===e?t:null:s===e||s.endsWith(i)||s.endsWith(n)?t:null},o=[e];return s.basenames=o,s.patterns=[t],s.allBasenames=o,s}(u[1],o):(t.trimForExclusions?_:f).test(o)?function(e,t){let i=N(e.slice(1,-1).split(",").map(e=>S(e,t)).filter(e=>e!==y),e),n=i.length;if(!n)return y;if(1===n)return i[0];let s=function(t,n){for(let s=0,o=i.length;s!!e.allBasenames);o&&(s.allBasenames=o.allBasenames);let r=i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return r.length&&(s.allPaths=r),s}(o,t):(u=v.exec(L(o,t)))?k(u[1].substr(1),o,!0):(u=b.exec(L(o,t)))?k(u[1],o,!1):function(e){try{let t=RegExp(`^${function e(t){if(!t)return"";let i="",n=g(t,"/");if(n.every(e=>"**"===e))i=".*";else{let t=!1;n.forEach((s,o)=>{if("**"===s){if(t)return;i+=c(2,o===n.length-1)}else{let t=!1,r="",l=!1,u="";for(let n of s){if("}"!==n&&t){r+=n;continue}if(l&&("]"!==n||!u)){let e;e="-"===n?n:"^"!==n&&"!"!==n||u?"/"===n?"":(0,a.ec)(n):"^",u+=e;continue}switch(n){case"{":t=!0;continue;case"[":l=!0;continue;case"}":{let n=g(r,","),s=`(?:${n.map(t=>e(t)).join("|")})`;i+=s,t=!1,r="";break}case"]":i+="["+u+"]",l=!1,u="";break;case"?":i+=h;continue;case"*":i+=c(1);continue;default:i+=(0,a.ec)(n)}}o(function(e,t,i){if(!1===t)return y;let s=S(e,i);if(s===y)return y;if("boolean"==typeof t)return s;if(t){let i=t.when;if("string"==typeof i){let t=(t,o,r,l)=>{if(!l||!s(t,o))return null;let a=i.replace("$(basename)",()=>r),d=l(a);return(0,n.J8)(d)?d.then(t=>t?e:null):d?e:null};return t.requiresSiblings=!0,t}}return s})(i,e[i],t)).filter(e=>e!==y)),s=i.length;if(!s)return y;if(!i.some(e=>!!e.requiresSiblings)){if(1===s)return i[0];let e=function(e,t){let s;for(let o=0,r=i.length;o{for(let e of s){let t=await e;if("string"==typeof t)return t}return null})():null},t=i.find(e=>!!e.allBasenames);t&&(e.allBasenames=t.allBasenames);let o=i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return o.length&&(e.allPaths=o),e}let o=function(e,t,s){let o,l;for(let a=0,d=i.length;a{for(let e of l){let t=await e;if("string"==typeof t)return t}return null})():null},l=i.find(e=>!!e.allBasenames);l&&(o.allBasenames=l.allBasenames);let a=i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return a.length&&(o.allPaths=a),o}(e,t)}function N(e,t){let i;let n=e.filter(e=>!!e.basenames);if(n.length<2)return e;let s=n.reduce((e,t)=>{let i=t.basenames;return i?e.concat(i):e},[]);if(t){i=[];for(let e=0,n=s.length;e{let i=t.patterns;return i?e.concat(i):e},[]);let o=function(e,t){if("string"!=typeof e)return null;if(!t){let i;for(i=e.length;i>0;i--){let t=e.charCodeAt(i-1);if(47===t||92===t)break}t=e.substr(i)}let n=s.indexOf(t);return -1!==n?i[n]:null};o.basenames=s,o.patterns=i,o.allBasenames=s;let r=e.filter(e=>!e.basenames);return r.push(o),r}},36922:function(e,t,i){"use strict";i.d(t,{Cv:function(){return l},SP:function(){return o},vp:function(){return s},yP:function(){return u}});var n=i(95612);function s(e){return o(e,0)}function o(e,t){switch(typeof e){case"object":var i,n;if(null===e)return r(349,t);if(Array.isArray(e))return i=r(104579,i=t),e.reduce((e,t)=>o(t,e),i);return n=r(181387,n=t),Object.keys(e).sort().reduce((t,i)=>(t=l(i,t),o(e[i],t)),n);case"string":return l(e,t);case"boolean":return r(e?433:863,t);case"number":return r(e,t);case"undefined":return r(937,t);default:return r(617,t)}}function r(e,t){return(t<<5)-t+e|0}function l(e,t){t=r(149417,t);for(let i=0,n=e.length;i>>n)>>>0}function d(e,t=0,i=e.byteLength,n=0){for(let s=0;se.toString(16).padStart(2,"0")).join(""):function(e,t,i="0"){for(;e.length>>0).toString(16),t/4)}class u{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,i;let s=e.length;if(0===s)return;let o=this._buff,r=this._buffLen,l=this._leftoverHighSurrogate;for(0!==l?(t=l,i=-1,l=0):(t=e.charCodeAt(0),i=0);;){let a=t;if(n.ZG(t)){if(i+1>>6,e[t++]=128|(63&i)>>>0):i<65536?(e[t++]=224|(61440&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0):(e[t++]=240|(1835008&i)>>>18,e[t++]=128|(258048&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),h(this._h0)+h(this._h1)+h(this._h2)+h(this._h3)+h(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,d(this._buff,this._buffLen),this._buffLen>56&&(this._step(),d(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e,t,i;let n=u._bigBlock32,s=this._buffDV;for(let e=0;e<64;e+=4)n.setUint32(e,s.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)n.setUint32(e,a(n.getUint32(e-12,!1)^n.getUint32(e-32,!1)^n.getUint32(e-56,!1)^n.getUint32(e-64,!1),1),!1);let o=this._h0,r=this._h1,l=this._h2,d=this._h3,h=this._h4;for(let s=0;s<80;s++)s<20?(e=r&l|~r&d,t=1518500249):s<40?(e=r^l^d,t=1859775393):s<60?(e=r&l|r&d|l&d,t=2400959708):(e=r^l^d,t=3395469782),i=a(o,5)+e+h+t+n.getUint32(4*s,!1)&4294967295,h=d,d=l,l=a(r,30),r=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+l&4294967295,this._h3=this._h3+d&4294967295,this._h4=this._h4+h&4294967295}}u._bigBlock32=new DataView(new ArrayBuffer(320))},10396:function(e,t,i){"use strict";i.d(t,{o:function(){return n}});class n{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||""===this.value||e.value.startsWith(this.value+n.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(...e){return new n((this.value?[this.value,...e]:e).join(n.sep))}}n.sep=".",n.None=new n("@@none@@"),n.Empty=new n("")},42891:function(e,t,i){"use strict";i.d(t,{CP:function(){return d},Fr:function(){return h},W5:function(){return a},d9:function(){return c},g_:function(){return u},oR:function(){return g},v1:function(){return p}});var n=i(32378),s=i(25625),o=i(1271),r=i(95612),l=i(5482);class a{constructor(e="",t=!1){var i,s,o;if(this.value=e,"string"!=typeof this.value)throw(0,n.b1)("value");"boolean"==typeof t?(this.isTrusted=t,this.supportThemeIcons=!1,this.supportHtml=!1):(this.isTrusted=null!==(i=t.isTrusted)&&void 0!==i?i:void 0,this.supportThemeIcons=null!==(s=t.supportThemeIcons)&&void 0!==s&&s,this.supportHtml=null!==(o=t.supportHtml)&&void 0!==o&&o)}appendText(e,t=0){return this.value+=(this.supportThemeIcons?(0,s.Qo)(e):e).replace(/[\\`*_{}[\]()#+\-!~]/g,"\\$&").replace(/([ \t]+)/g,(e,t)=>" ".repeat(t.length)).replace(/\>/gm,"\\>").replace(/\n/g,1===t?"\\\n":"\n\n"),this}appendMarkdown(e){return this.value+=e,this}appendCodeblock(e,t){return this.value+=` ${function(e,t){var i,n;let s=null!==(n=null===(i=e.match(/^`+/gm))||void 0===i?void 0:i.reduce((e,t)=>e.length>t.length?e:t).length)&&void 0!==n?n:0,o=s>=3?s+1:3;return[`${"`".repeat(o)}${t}`,e,`${"`".repeat(o)}`].join("\n")}(t,e)} `,this}appendLink(e,t,i){return this.value+="[",this.value+=this._escape(t,"]"),this.value+="](",this.value+=this._escape(String(e),")"),i&&(this.value+=` "${this._escape(this._escape(i,'"'),")")}"`),this.value+=")",this}_escape(e,t){let i=RegExp((0,r.ec)(t),"g");return e.replace(i,(t,i)=>"\\"!==e.charAt(i-1)?`\\${t}`:t)}}function d(e){return h(e)?!e.value:!Array.isArray(e)||e.every(d)}function h(e){return e instanceof a||!!e&&"object"==typeof e&&"string"==typeof e.value&&("boolean"==typeof e.isTrusted||"object"==typeof e.isTrusted||void 0===e.isTrusted)&&("boolean"==typeof e.supportThemeIcons||void 0===e.supportThemeIcons)}function u(e,t){return e===t||!!e&&!!t&&e.value===t.value&&e.isTrusted===t.isTrusted&&e.supportThemeIcons===t.supportThemeIcons&&e.supportHtml===t.supportHtml&&(e.baseUri===t.baseUri||!!e.baseUri&&!!t.baseUri&&(0,o.Xy)(l.o.from(e.baseUri),l.o.from(t.baseUri)))}function c(e){return e.replace(/"/g,""")}function g(e){return e?e.replace(/\\([\\`*_{}[\]()#+\-.!~])/g,"$1"):e}function p(e){let t=[],i=e.split("|").map(e=>e.trim());e=i[0];let n=i[1];if(n){let e=/height=(\d+)/.exec(n),i=/width=(\d+)/.exec(n),s=e?e[1]:"",o=i?i[1]:"",r=isFinite(parseInt(o)),l=isFinite(parseInt(s));r&&t.push(`width="${o}"`),l&&t.push(`height="${s}"`)}return{href:e,dimensions:t}}},25625:function(e,t,i){"use strict";i.d(t,{Gt:function(){return f},Ho:function(){return m},JL:function(){return g},Qo:function(){return a},f$:function(){return h},x$:function(){return c}});var n=i(79814),s=i(95612),o=i(29527);let r=RegExp(`\\$\\(${o.k.iconNameExpression}(?:${o.k.iconModifierExpression})?\\)`,"g"),l=RegExp(`(\\\\)?${r.source}`,"g");function a(e){return e.replace(l,(e,t)=>t?e:`\\${e}`)}let d=RegExp(`\\\\${r.source}`,"g");function h(e){return e.replace(d,e=>`\\${e}`)}let u=RegExp(`(\\s)?(\\\\)?${r.source}(\\s)?`,"g");function c(e){return -1===e.indexOf("$(")?e:e.replace(u,(e,t,i,n)=>i?e:t||n||"")}function g(e){return e?e.replace(/\$\((.*?)\)/g,(e,t)=>` ${t} `).trim():""}let p=RegExp(`\\$\\(${o.k.iconNameCharacter}+\\)`,"g");function m(e){p.lastIndex=0;let t="",i=[],n=0;for(;;){let s=p.lastIndex,o=p.exec(e),r=e.substring(s,null==o?void 0:o.index);if(r.length>0){t+=r;for(let e=0;e=0;t--)yield e[t]},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(let i of e)if(t(i))return!0;return!1},e.find=function(e,t){for(let i of e)if(t(i))return i},e.filter=function*(e,t){for(let i of e)t(i)&&(yield i)},e.map=function*(e,t){let i=0;for(let n of e)yield t(n,i++)},e.concat=function*(...e){for(let t of e)yield*t},e.reduce=function(e,t,i){let n=i;for(let i of e)n=t(n,i);return n},e.slice=function*(e,t,i=e.length){for(t<0&&(t+=e.length),i<0?i+=e.length:i>e.length&&(i=e.length);ts}]},e.asyncToArray=s}(n||(n={}))},57231:function(e,t,i){"use strict";var n,s;i.d(t,{H_:function(){return d},Vd:function(){return p},gx:function(){return f},kL:function(){return n}});class o{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let r=new o,l=new o,a=new o,d=Array(230),h={},u=[],c=Object.create(null),g=Object.create(null),p=[],m=[];for(let e=0;e<=193;e++)p[e]=-1;for(let e=0;e<=132;e++)m[e]=-1;function f(e,t){return(e|(65535&t)<<16>>>0)>>>0}!function(){let e=[],t=[];for(let i of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[n,s,o,f,_,v,b,C,w]=i;if(!t[s]&&(t[s]=!0,u[s]=o,c[o]=s,g[o.toLowerCase()]=s,n&&(p[s]=f,0!==f&&3!==f&&5!==f&&4!==f&&6!==f&&57!==f&&(m[f]=s))),!e[f]){if(e[f]=!0,!_)throw Error(`String representation missing for key code ${f} around scan code ${o}`);r.define(f,_),l.define(f,C||_),a.define(f,w||C||_)}v&&(d[v]=f),b&&(h[b]=f)}m[3]=46}(),(s=n||(n={})).toString=function(e){return r.keyCodeToStr(e)},s.fromString=function(e){return r.strToKeyCode(e)},s.toUserSettingsUS=function(e){return l.keyCodeToStr(e)},s.toUserSettingsGeneral=function(e){return a.keyCodeToStr(e)},s.fromUserSettings=function(e){return l.strToKeyCode(e)||a.strToKeyCode(e)},s.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return r.keyCodeToStr(e)}},25168:function(e,t,i){"use strict";i.d(t,{X4:function(){return r},jC:function(){return l},r6:function(){return a},xo:function(){return o}});var n=i(82801);class s{constructor(e,t,i=t){this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=i}toLabel(e,t,i){if(0===t.length)return null;let n=[];for(let s=0,o=t.length;s>>0,n=(4294901760&e)>>>16;return new l(0!==n?[o(i,t),o(n,t)]:[o(i,t)])}{let i=[];for(let n=0;n1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function u(...e){let t=c(()=>h(e));return t}function c(e){let t={dispose:(0,n.M)(()=>{e()})};return t}class g{constructor(){var e;this._toDispose=new Set,this._isDisposed=!1,e=this}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{h(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return this._isDisposed?g.DISABLE_DISPOSED_WARNING||console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){e&&this._toDispose.has(e)&&this._toDispose.delete(e)}}g.DISABLE_DISPOSED_WARNING=!1;class p{constructor(){var e;this._store=new g,e=this,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}p.None=Object.freeze({dispose(){}});class m{constructor(){var e;this._isDisposed=!1,e=this}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null===(t=this._value)||void 0===t||t.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,null===(e=this._value)||void 0===e||e.dispose(),this._value=void 0}}class f{constructor(e){this._disposable=e,this._counter=1}acquire(){return this._counter++,this}release(){return 0==--this._counter&&this._disposable.dispose(),this}}class _{constructor(e){this.object=e}dispose(){}}class v{constructor(){var e;this._store=new Map,this._isDisposed=!1,e=this}dispose(){this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{h(this._store.values())}finally{this._store.clear()}}get(e){return this._store.get(e)}set(e,t,i=!1){var n;this._isDisposed&&console.warn(Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),i||null===(n=this._store.get(e))||void 0===n||n.dispose(),this._store.set(e,t)}deleteAndDispose(e){var t;null===(t=this._store.get(e))||void 0===t||t.dispose(),this._store.delete(e)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}},92270:function(e,t,i){"use strict";i.d(t,{S:function(){return s}});class n{constructor(e){this.element=e,this.next=n.Undefined,this.prev=n.Undefined}}n.Undefined=new n(void 0);class s{constructor(){this._first=n.Undefined,this._last=n.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===n.Undefined}clear(){let e=this._first;for(;e!==n.Undefined;){let t=e.next;e.prev=n.Undefined,e.next=n.Undefined,e=t}this._first=n.Undefined,this._last=n.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let i=new n(e);if(this._first===n.Undefined)this._first=i,this._last=i;else if(t){let e=this._last;this._last=i,i.prev=e,e.next=i}else{let e=this._first;this._first=i,i.next=e,e.prev=i}this._size+=1;let s=!1;return()=>{s||(s=!0,this._remove(i))}}shift(){if(this._first!==n.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==n.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==n.Undefined&&e.next!==n.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===n.Undefined&&e.next===n.Undefined?(this._first=n.Undefined,this._last=n.Undefined):e.next===n.Undefined?(this._last=this._last.prev,this._last.next=n.Undefined):e.prev===n.Undefined&&(this._first=this._first.next,this._first.prev=n.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==n.Undefined;)yield e.element,e=e.next}}},10289:function(e,t,i){"use strict";var n,s;i.d(t,{Y9:function(){return r},YQ:function(){return h},ri:function(){return u},z6:function(){return d}});class o{constructor(e,t){this.uri=e,this.value=t}}class r{constructor(e,t){if(this[n]="ResourceMap",e instanceof r)this.map=new Map(e.map),this.toKey=null!=t?t:r.defaultToKey;else if(Array.isArray(e))for(let[i,n]of(this.map=new Map,this.toKey=null!=t?t:r.defaultToKey,e))this.set(i,n);else this.map=new Map,this.toKey=null!=e?e:r.defaultToKey}set(e,t){return this.map.set(this.toKey(e),new o(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){for(let[i,n]of(void 0!==t&&(e=e.bind(t)),this.map))e(n.value,n.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(n=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}r.defaultToKey=e=>e.toString();class l{constructor(){this[s]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null===(e=this._head)||void 0===e?void 0:e.value}get last(){var e;return null===(e=this._tail)||void 0===e?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){let i=this._map.get(e);if(i)return 0!==t&&this.touch(i,t),i.value}set(e,t,i=0){let n=this._map.get(e);if(n)n.value=t,0!==i&&this.touch(n,i);else{switch(n={key:e,value:t,next:void 0,previous:void 0},i){case 0:case 2:default:this.addItemLast(n);break;case 1:this.addItemFirst(n)}this._map.set(e,n),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){let i=this._state,n=this._head;for(;n;){if(t?e.bind(t)(n.value,n.key,this):e(n.value,n.key,this),this._state!==i)throw Error("LinkedMap got modified during iteration.");n=n.next}}keys(){let e=this,t=this._state,i=this._head,n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!i)return{value:void 0,done:!0};{let e={value:i.key,done:!1};return i=i.next,e}}};return n}values(){let e=this,t=this._state,i=this._head,n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!i)return{value:void 0,done:!0};{let e={value:i.value,done:!1};return i=i.next,e}}};return n}entries(){let e=this,t=this._state,i=this._head,n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!i)return{value:void 0,done:!0};{let e={value:[i.key,i.value],done:!1};return i=i.next,e}}};return n}[(s=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e){this.clear();return}let t=this._head,i=this.size;for(;t&&i>e;)this._map.delete(t.key),t=t.next,i--;this._head=t,this._size=i,t&&(t.previous=void 0),this._state++}trimNew(e){if(e>=this.size)return;if(0===e){this.clear();return}let t=this._tail,i=this.size;for(;t&&i>e;)this._map.delete(t.key),t=t.previous,i--;this._tail=t,this._size=i,t&&(t.next=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(this._head)e.next=this._head,this._head.previous=e;else throw Error("Invalid list")}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(this._tail)e.previous=this._tail,this._tail.next=e;else throw Error("Invalid list")}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let t=e.next,i=e.previous;if(!t||!i)throw Error("Invalid list");t.previous=i,i.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw Error("Invalid list");if(1===t||2===t){if(1===t){if(e===this._head)return;let t=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(t.previous=i,i.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(2===t){if(e===this._tail)return;let t=e.next,i=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=i,i.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((t,i)=>{e.push([i,t])}),e}fromJSON(e){for(let[t,i]of(this.clear(),e))this.set(t,i)}}class a extends l{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}}class d extends a{constructor(e,t=1){super(e,t)}trim(e){this.trimOld(e)}set(e,t){return super.set(e,t),this.checkTrim(),this}}class h{constructor(e){if(this._m1=new Map,this._m2=new Map,e)for(let[t,i]of e)this.set(t,i)}clear(){this._m1.clear(),this._m2.clear()}set(e,t){this._m1.set(e,t),this._m2.set(t,e)}get(e){return this._m1.get(e)}getKey(e){return this._m2.get(e)}delete(e){let t=this._m1.get(e);return void 0!==t&&(this._m1.delete(e),this._m2.delete(t),!0)}keys(){return this._m1.keys()}values(){return this._m1.values()}}class u{constructor(){this.map=new Map}add(e,t){let i=this.map.get(e);i||(i=new Set,this.map.set(e,i)),i.add(t)}delete(e,t){let i=this.map.get(e);i&&(i.delete(t),0===i.size&&this.map.delete(e))}forEach(e,t){let i=this.map.get(e);i&&i.forEach(t)}get(e){let t=this.map.get(e);return t||new Set}}},85729:function(e,t,i){"use strict";i.d(t,{Pz:function(){return o},Qc:function(){return r}});var n=i(31387),s=i(5482);function o(e){return JSON.stringify(e,l)}function r(e){return function e(t,i=0){if(!t||i>200)return t;if("object"==typeof t){switch(t.$mid){case 1:return s.o.revive(t);case 2:return new RegExp(t.source,t.flags);case 17:return new Date(t.source)}if(t instanceof n.KN||t instanceof Uint8Array)return t;if(Array.isArray(t))for(let n=0;nu(e,t))}(n=s||(s={})).inMemory="inmemory",n.vscode="vscode",n.internal="private",n.walkThrough="walkThrough",n.walkThroughSnippet="walkThroughSnippet",n.http="http",n.https="https",n.file="file",n.mailto="mailto",n.untitled="untitled",n.data="data",n.command="command",n.vscodeRemote="vscode-remote",n.vscodeRemoteResource="vscode-remote-resource",n.vscodeManagedRemoteResource="vscode-managed-remote-resource",n.vscodeUserData="vscode-userdata",n.vscodeCustomEditor="vscode-custom-editor",n.vscodeNotebookCell="vscode-notebook-cell",n.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",n.vscodeNotebookCellOutput="vscode-notebook-cell-output",n.vscodeInteractiveInput="vscode-interactive-input",n.vscodeSettings="vscode-settings",n.vscodeWorkspaceTrust="vscode-workspace-trust",n.vscodeTerminal="vscode-terminal",n.vscodeChatCodeBlock="vscode-chat-code-block",n.vscodeCopilotBackingChatCodeBlock="vscode-copilot-chat-code-block",n.vscodeChatCodeCompareBlock="vscode-chat-code-compare-block",n.vscodeChatSesssion="vscode-chat-editor",n.webviewPanel="webview-panel",n.vscodeWebview="vscode-webview",n.extension="extension",n.vscodeFileResource="vscode-file",n.tmp="tmp",n.vsls="vsls",n.vscodeSourceControl="vscode-scm",n.commentsInput="comment",n.codeSetting="code-setting";let g=new class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._serverRootPath="/"}setPreferredWebSchema(e){this._preferredWebSchema=e}get _remoteResourcesPath(){return h.KR.join(this._serverRootPath,s.vscodeRemoteResource)}rewrite(e){if(this._delegate)try{return this._delegate(e)}catch(t){return r.dL(t),e}let t=e.authority,i=this._hosts[t];i&&-1!==i.indexOf(":")&&-1===i.indexOf("[")&&(i=`[${i}]`);let n=this._ports[t],o=this._connectionTokens[t],a=`path=${encodeURIComponent(e.path)}`;return"string"==typeof o&&(a+=`&tkn=${encodeURIComponent(o)}`),d.o.from({scheme:l.$L?this._preferredWebSchema:s.vscodeRemoteResource,authority:`${i}:${n}`,path:this._remoteResourcesPath,query:a})}};class p{uriToBrowserUri(e){return e.scheme===s.vscodeRemote?g.rewrite(e):e.scheme===s.file&&(l.tY||l.qB===`${s.vscodeFileResource}://${p.FALLBACK_AUTHORITY}`)?e.with({scheme:s.vscodeFileResource,authority:e.authority||p.FALLBACK_AUTHORITY,query:null,fragment:null}):e}}p.FALLBACK_AUTHORITY="vscode-app";let m=new p;!function(e){let t=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);e.CoopAndCoep=Object.freeze(t.get("3"));let i="vscode-coi";e.getHeadersFromQuery=function(e){let n;"string"==typeof e?n=new URL(e).searchParams:e instanceof URL?n=e.searchParams:d.o.isUri(e)&&(n=new URL(e.toString(!0)).searchParams);let s=null==n?void 0:n.get(i);if(s)return t.get(s)},e.addSearchParam=function(e,t,n){if(!globalThis.crossOriginIsolated)return;let s=t&&n?"3":n?"2":"1";e instanceof URLSearchParams?e.set(i,s):e[i]=s}}(o||(o={}))},39175:function(e,t,i){"use strict";function n(e,t,i){return Math.min(Math.max(e,t),i)}i.d(t,{N:function(){return o},nM:function(){return s},uZ:function(){return n}});class s{constructor(){this._n=1,this._val=0}update(e){return this._val=this._val+(e-this._val)/this._n,this._n+=1,this._val}get value(){return this._val}}class o{constructor(e){this._n=0,this._val=0,this._values=[],this._index=0,this._sum=0,this._values=Array(e),this._values.fill(0,0,e)}update(e){let t=this._values[this._index];return this._values[this._index]=e,this._index=(this._index+1)%this._values.length,this._sum-=t,this._sum+=e,this._n{i[t]=n&&"object"==typeof n?e(n):n}),i}},IU:function(){return a},_A:function(){return s},fS:function(){return function e(t,i){let n,s;if(t===i)return!0;if(null==t||null==i||typeof t!=typeof i||"object"!=typeof t||Array.isArray(t)!==Array.isArray(i))return!1;if(Array.isArray(t)){if(t.length!==i.length)return!1;for(n=0;n{o in t?s&&((0,n.Kn)(t[o])&&(0,n.Kn)(i[o])?e(t[o],i[o],s):t[o]=i[o]):t[o]=i[o]}),t):i}},rs:function(){return r}});var n=i(24162);function s(e){if(!e||"object"!=typeof e)return e;let t=[e];for(;t.length>0;){let e=t.shift();for(let i in Object.freeze(e),e)if(o.call(e,i)){let s=e[i];"object"!=typeof s||Object.isFrozen(s)||(0,n.fU)(s)||t.push(s)}}return e}let o=Object.prototype.hasOwnProperty;function r(e,t){return function e(t,i,s){if((0,n.Jp)(t))return t;let r=i(t);if(void 0!==r)return r;if(Array.isArray(t)){let n=[];for(let o of t)n.push(e(o,i,s));return n}if((0,n.Kn)(t)){if(s.has(t))throw Error("Cannot clone recursive data-structure");s.add(t);let n={};for(let r in t)o.call(t,r)&&(n[r]=e(t[r],i,s));return s.delete(t),n}return t}(e,t,new Set)}function l(e){let t=[];for(let i of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"==typeof e[i]&&t.push(i);return t}function a(e,t){let i=e=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},n={};for(let t of e)n[t]=i(t);return n}},43495:function(e,t,i){"use strict";i.d(t,{EH:function(){return d},nJ:function(){return u},UV:function(){return h},gp:function(){return c},Dz:function(){return p.Dz},nK:function(){return s.nK},aK:function(){return s.aK},bx:function(){return p.bx},bk:function(){return s.bk},Be:function(){return s.Be},DN:function(){return n.DN},rD:function(){return p.rD},GN:function(){return p.GN},aq:function(){return p.aq},uh:function(){return n.uh},jx:function(){return p.DN},c8:function(){return n.c8},PS:function(){return n.PS},F_:function(){return f}});var n=i(15769),s=i(48053),o=i(61413),r=i(70784),l=i(95422),a=i(10014);function d(e){return new g(new l.IZ(void 0,void 0,e),e,void 0,void 0)}function h(e,t){var i;return new g(new l.IZ(e.owner,e.debugName,null!==(i=e.debugReferenceFn)&&void 0!==i?i:t),t,void 0,void 0)}function u(e,t){var i;return new g(new l.IZ(e.owner,e.debugName,null!==(i=e.debugReferenceFn)&&void 0!==i?i:t),t,e.createEmptyChangeSummary,e.handleChange)}function c(e){let t=new r.SL,i=h({owner:void 0,debugName:void 0,debugReferenceFn:e},i=>{t.clear(),e(i,t)});return(0,r.OF)(()=>{i.dispose(),t.dispose()})}class g{get debugName(){var e;return null!==(e=this._debugNameData.getDebugName(this))&&void 0!==e?e:"(anonymous)"}constructor(e,t,i,n){var s,o;this._debugNameData=e,this._runFn=t,this.createChangeSummary=i,this._handleChange=n,this.state=2,this.updateCount=0,this.disposed=!1,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=null===(s=this.createChangeSummary)||void 0===s?void 0:s.call(this),null===(o=(0,a.jl)())||void 0===o||o.handleAutorunCreated(this),this._runIfNeeded(),(0,r.wi)(this)}dispose(){for(let e of(this.disposed=!0,this.dependencies))e.removeObserver(this);this.dependencies.clear(),(0,r.Nq)(this)}_runIfNeeded(){var e,t,i;if(3===this.state)return;let n=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=n,this.state=3;let s=this.disposed;try{if(!s){null===(e=(0,a.jl)())||void 0===e||e.handleAutorunTriggered(this);let i=this.changeSummary;this.changeSummary=null===(t=this.createChangeSummary)||void 0===t?void 0:t.call(this),this._runFn(this,i)}}finally{for(let e of(s||null===(i=(0,a.jl)())||void 0===i||i.handleAutorunFinished(this),this.dependenciesToBeRemoved))e.removeObserver(this);this.dependenciesToBeRemoved.clear()}}toString(){return`Autorun<${this.debugName}>`}beginUpdate(){3===this.state&&(this.state=1),this.updateCount++}endUpdate(){if(1===this.updateCount)do{if(1===this.state){for(let e of(this.state=3,this.dependencies))if(e.reportChanges(),2===this.state)break}this._runIfNeeded()}while(3!==this.state);this.updateCount--,(0,o.eZ)(()=>this.updateCount>=0)}handlePossibleChange(e){3===this.state&&this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)&&(this.state=1)}handleChange(e,t){if(this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)){let i=!this._handleChange||this._handleChange({changedObservable:e,change:t,didChange:t=>t===e},this.changeSummary);i&&(this.state=2)}}readObservable(e){if(this.disposed)return e.get();e.addObserver(this);let t=e.get();return this.dependencies.add(e),this.dependenciesToBeRemoved.delete(e),t}}(d||(d={})).Observer=g;var p=i(9596),m=i(32378);function f(e,t,i,n){return t||(t=e=>null!=e),new Promise((s,o)=>{let r=!0,l=!1,a=e.map(e=>({isFinished:t(e),error:!!i&&i(e),state:e})),h=d(e=>{let{isFinished:t,error:i,state:n}=a.read(e);(t||i)&&(r?l=!0:h.dispose(),i?o(!0===i?n:i):s(n))});if(n){let e=n.onCancellationRequested(()=>{h.dispose(),e.dispose(),o(new m.FU)});if(n.isCancellationRequested){h.dispose(),e.dispose(),o(new m.FU);return}}r=!1,l&&h.dispose()})}},15769:function(e,t,i){"use strict";let n,s,o;i.d(t,{Bl:function(){return m},DN:function(){return y},Hr:function(){return f},Jn:function(){return h},Ku:function(){return C},MK:function(){return d},Nc:function(){return c},PS:function(){return p},c8:function(){return _},hm:function(){return g},mT:function(){return u},uh:function(){return b}});var r=i(56755),l=i(95422),a=i(10014);function d(e){n=e}function h(e){}function u(e){s=e}class c{get TChange(){return null}reportChanges(){this.get()}read(e){return e?e.readObservable(this):this.get()}map(e,t){let i=void 0===t?void 0:e,n=void 0===t?e:t;return s({owner:i,debugName:()=>{let e=(0,l.$P)(n);if(void 0!==e)return e;let t=/^\s*\(?\s*([a-zA-Z_$][a-zA-Z_$0-9]*)\s*\)?\s*=>\s*\1(?:\??)\.([a-zA-Z_$][a-zA-Z_$0-9]*)\s*$/.exec(n.toString());return t?`${this.debugName}.${t[2]}`:i?void 0:`${this.debugName} (mapped)`},debugReferenceFn:n},e=>n(this.read(e),e))}recomputeInitiallyAndOnChange(e,t){return e.add(n(this,t)),this}}class g extends c{constructor(){super(...arguments),this.observers=new Set}addObserver(e){let t=this.observers.size;this.observers.add(e),0===t&&this.onFirstObserverAdded()}removeObserver(e){let t=this.observers.delete(e);t&&0===this.observers.size&&this.onLastObserverRemoved()}onFirstObserverAdded(){}onLastObserverRemoved(){}}function p(e,t){let i=new v(e,t);try{e(i)}finally{i.finish()}}function m(e){if(o)e(o);else{let t=new v(e,void 0);o=t;try{e(t)}finally{t.finish(),o=void 0}}}async function f(e,t){let i=new v(e,t);try{await e(i)}finally{i.finish()}}function _(e,t,i){e?t(e):p(t,i)}class v{constructor(e,t){var i;this._fn=e,this._getDebugName=t,this.updatingObservers=[],null===(i=(0,a.jl)())||void 0===i||i.handleBeginTransaction(this)}getDebugName(){return this._getDebugName?this._getDebugName():(0,l.$P)(this._fn)}updateObserver(e,t){this.updatingObservers.push({observer:e,observable:t}),e.beginUpdate(t)}finish(){var e;let t=this.updatingObservers;for(let e=0;e{},()=>`Setting ${this.debugName}`));try{let s=this._value;for(let o of(this._setValue(e),null===(n=(0,a.jl)())||void 0===n||n.handleObservableChanged(this,{oldValue:s,newValue:e,change:i,didChange:!0,hadValue:!0}),this.observers))t.updateObserver(o,this),o.handleChange(this,i)}finally{s&&s.finish()}}}toString(){return`${this.debugName}: ${this._value}`}_setValue(e){this._value=e}}function y(e,t){let i;return i="string"==typeof e?new l.IZ(void 0,e,void 0):new l.IZ(e,void 0,void 0),new S(i,t,r.ht)}class S extends w{_setValue(e){this._value!==e&&(this._value&&this._value.dispose(),this._value=e)}dispose(){var e;null===(e=this._value)||void 0===e||e.dispose()}}},95422:function(e,t,i){"use strict";i.d(t,{$P:function(){return a},IZ:function(){return n}});class n{constructor(e,t,i){this.owner=e,this.debugNameSource=t,this.referenceFn=i}getDebugName(e){return function(e,t){var i;let n=o.get(e);if(n)return n;let d=function(e,t){let i;let n=o.get(e);if(n)return n;let s=t.owner?function(e){var t;let i=l.get(e);if(i)return i;let n=function(e){let t=e.constructor;return t?t.name:"Object"}(e),s=null!==(t=r.get(n))&&void 0!==t?t:0;s++,r.set(n,s);let o=1===s?n:`${n}#${s}`;return l.set(e,o),o}(t.owner)+".":"",d=t.debugNameSource;if(void 0!==d){if("function"!=typeof d)return s+d;if(void 0!==(i=d()))return s+i}let h=t.referenceFn;if(void 0!==h&&void 0!==(i=a(h)))return s+i;if(void 0!==t.owner){let i=function(e,t){for(let i in e)if(e[i]===t)return i}(t.owner,e);if(void 0!==i)return s+i}}(e,t);if(d){let t=null!==(i=s.get(d))&&void 0!==i?i:0;t++,s.set(d,t);let n=1===t?d:`${d}#${t}`;return o.set(e,n),n}}(e,this)}}let s=new Map,o=new WeakMap,r=new Map,l=new WeakMap;function a(e){let t=e.toString(),i=/\/\*\*\s*@description\s*([^*]*)\*\//.exec(t),n=i?i[1]:void 0;return null==n?void 0:n.trim()}},48053:function(e,t,i){"use strict";i.d(t,{B5:function(){return h},Be:function(){return g},aK:function(){return c},bk:function(){return u},kA:function(){return p},nK:function(){return d}});var n=i(61413),s=i(56755),o=i(70784),r=i(15769),l=i(95422),a=i(10014);function d(e,t){return void 0!==t?new m(new l.IZ(e,void 0,t),t,void 0,void 0,void 0,s.ht):new m(new l.IZ(void 0,void 0,e),e,void 0,void 0,void 0,s.ht)}function h(e,t,i){return new f(new l.IZ(e,void 0,t),t,void 0,void 0,void 0,s.ht,i)}function u(e,t){var i;return new m(new l.IZ(e.owner,e.debugName,e.debugReferenceFn),t,void 0,void 0,e.onLastObserverRemoved,null!==(i=e.equalsFn)&&void 0!==i?i:s.ht)}function c(e,t){var i;return new m(new l.IZ(e.owner,e.debugName,void 0),t,e.createEmptyChangeSummary,e.handleChange,void 0,null!==(i=e.equalityComparer)&&void 0!==i?i:s.ht)}function g(e,t){let i,n;void 0===t?(i=e,n=void 0):(n=e,i=t);let r=new o.SL;return new m(new l.IZ(n,void 0,i),e=>(r.clear(),i(e,r)),void 0,void 0,()=>r.dispose(),s.ht)}function p(e,t){let i,n;void 0===t?(i=e,n=void 0):(n=e,i=t);let r=new o.SL;return new m(new l.IZ(n,void 0,i),e=>{r.clear();let t=i(e);return t&&r.add(t),t},void 0,void 0,()=>r.dispose(),s.ht)}(0,r.mT)(u);class m extends r.hm{get debugName(){var e;return null!==(e=this._debugNameData.getDebugName(this))&&void 0!==e?e:"(anonymous)"}constructor(e,t,i,n,s,o){var r,l;super(),this._debugNameData=e,this._computeFn=t,this.createChangeSummary=i,this._handleChange=n,this._handleLastObserverRemoved=s,this._equalityComparator=o,this.state=0,this.value=void 0,this.updateCount=0,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=void 0,this.changeSummary=null===(r=this.createChangeSummary)||void 0===r?void 0:r.call(this),null===(l=(0,a.jl)())||void 0===l||l.handleDerivedCreated(this)}onLastObserverRemoved(){var e;for(let e of(this.state=0,this.value=void 0,this.dependencies))e.removeObserver(this);this.dependencies.clear(),null===(e=this._handleLastObserverRemoved)||void 0===e||e.call(this)}get(){var e;if(0===this.observers.size){let t=this._computeFn(this,null===(e=this.createChangeSummary)||void 0===e?void 0:e.call(this));return this.onLastObserverRemoved(),t}do{if(1===this.state){for(let e of this.dependencies)if(e.reportChanges(),2===this.state)break}1===this.state&&(this.state=3),this._recomputeIfNeeded()}while(3!==this.state);return this.value}_recomputeIfNeeded(){var e,t;if(3===this.state)return;let i=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=i;let n=0!==this.state,s=this.value;this.state=3;let o=this.changeSummary;this.changeSummary=null===(e=this.createChangeSummary)||void 0===e?void 0:e.call(this);try{this.value=this._computeFn(this,o)}finally{for(let e of this.dependenciesToBeRemoved)e.removeObserver(this);this.dependenciesToBeRemoved.clear()}let r=n&&!this._equalityComparator(s,this.value);if(null===(t=(0,a.jl)())||void 0===t||t.handleDerivedRecomputed(this,{oldValue:s,newValue:this.value,change:void 0,didChange:r,hadValue:n}),r)for(let e of this.observers)e.handleChange(this,void 0)}toString(){return`LazyDerived<${this.debugName}>`}beginUpdate(e){this.updateCount++;let t=1===this.updateCount;if(3===this.state&&(this.state=1,!t))for(let e of this.observers)e.handlePossibleChange(this);if(t)for(let e of this.observers)e.beginUpdate(this)}endUpdate(e){if(this.updateCount--,0===this.updateCount){let e=[...this.observers];for(let t of e)t.endUpdate(this)}(0,n.eZ)(()=>this.updateCount>=0)}handlePossibleChange(e){if(3===this.state&&this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e))for(let e of(this.state=1,this.observers))e.handlePossibleChange(this)}handleChange(e,t){if(this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)){let i=!this._handleChange||this._handleChange({changedObservable:e,change:t,didChange:t=>t===e},this.changeSummary),n=3===this.state;if(i&&(1===this.state||n)&&(this.state=2,n))for(let e of this.observers)e.handlePossibleChange(this)}}readObservable(e){e.addObserver(this);let t=e.get();return this.dependencies.add(e),this.dependenciesToBeRemoved.delete(e),t}addObserver(e){let t=!this.observers.has(e)&&this.updateCount>0;super.addObserver(e),t&&e.beginUpdate(this)}removeObserver(e){let t=this.observers.has(e)&&this.updateCount>0;super.removeObserver(e),t&&e.endUpdate(this)}}class f extends m{constructor(e,t,i,n,s,o,r){super(e,t,i,n,s,o),this.set=r}}},10014:function(e,t,i){"use strict";let n;function s(e){n=e}function o(){return n}i.d(t,{EK:function(){return s},Qy:function(){return r},jl:function(){return o}});class r{constructor(){this.indentation=0,this.changedObservablesSets=new WeakMap}textToConsoleArgs(e){return function(e){let t=[],i=[],n="";!function e(s){if("length"in s)for(let t of s)t&&e(t);else"text"in s?(n+=`%c${s.text}`,t.push(s.style),s.data&&i.push(...s.data)):"data"in s&&i.push(...s.data)}(e);let s=[n,...t];return s.push(...i),s}([l(function(e,t){let i="";for(let e=1;e<=t;e++)i+="| ";return i}(0,this.indentation)),e])}formatInfo(e){return e.hadValue?e.didChange?[l(" "),d(h(e.oldValue,70),{color:"red",strikeThrough:!0}),l(" "),d(h(e.newValue,60),{color:"green"})]:[l(" (unchanged)")]:[l(" "),d(h(e.newValue,60),{color:"green"}),l(" (initial)")]}handleObservableChanged(e,t){console.log(...this.textToConsoleArgs([a("observable value changed"),d(e.debugName,{color:"BlueViolet"}),...this.formatInfo(t)]))}formatChanges(e){if(0!==e.size)return d(" (changed deps: "+[...e].map(e=>e.debugName).join(", ")+")",{color:"gray"})}handleDerivedCreated(e){let t=e.handleChange;this.changedObservablesSets.set(e,new Set),e.handleChange=(i,n)=>(this.changedObservablesSets.get(e).add(i),t.apply(e,[i,n]))}handleDerivedRecomputed(e,t){let i=this.changedObservablesSets.get(e);console.log(...this.textToConsoleArgs([a("derived recomputed"),d(e.debugName,{color:"BlueViolet"}),...this.formatInfo(t),this.formatChanges(i),{data:[{fn:e._computeFn}]}])),i.clear()}handleFromEventObservableTriggered(e,t){console.log(...this.textToConsoleArgs([a("observable from event triggered"),d(e.debugName,{color:"BlueViolet"}),...this.formatInfo(t),{data:[{fn:e._getValue}]}]))}handleAutorunCreated(e){let t=e.handleChange;this.changedObservablesSets.set(e,new Set),e.handleChange=(i,n)=>(this.changedObservablesSets.get(e).add(i),t.apply(e,[i,n]))}handleAutorunTriggered(e){let t=this.changedObservablesSets.get(e);console.log(...this.textToConsoleArgs([a("autorun"),d(e.debugName,{color:"BlueViolet"}),this.formatChanges(t),{data:[{fn:e._runFn}]}])),t.clear(),this.indentation++}handleAutorunFinished(e){this.indentation--}handleBeginTransaction(e){let t=e.getDebugName();void 0===t&&(t=""),console.log(...this.textToConsoleArgs([a("transaction"),d(t,{color:"BlueViolet"}),{data:[{fn:e._fn}]}])),this.indentation++}handleEndTransaction(){this.indentation--}}function l(e){return d(e,{color:"black"})}function a(e){return d(function(e,t){for(;e.length<10;)e+=" ";return e}(`${e}: `,0),{color:"black",bold:!0})}function d(e,t={color:"black"}){let i={color:t.color};return t.strikeThrough&&(i["text-decoration"]="line-through"),t.bold&&(i["font-weight"]="bold"),{text:e,style:Object.entries(i).reduce((e,[t,i])=>`${e}${t}:${i};`,"")}}function h(e,t){switch(typeof e){case"number":default:return""+e;case"string":if(e.length+2<=t)return`"${e}"`;return`"${e.substr(0,t-7)}"+...`;case"boolean":return e?"true":"false";case"undefined":return"undefined";case"object":if(null===e)return"null";if(Array.isArray(e))return function(e,t){let i="[ ",n=!0;for(let s of e){if(n||(i+=", "),i.length-5>t){i+="...";break}n=!1,i+=`${h(s,t-i.length)}`}return i+" ]"}(e,t);return function(e,t){let i="{ ",n=!0;for(let[s,o]of Object.entries(e)){if(n||(i+=", "),i.length-5>t){i+="...";break}n=!1,i+=`${s}: ${h(o,t-i.length)}`}return i+" }"}(e,t);case"symbol":return e.toString();case"function":return`[[Function${e.name?" "+e.name:""}]]`}}},9596:function(e,t,i){"use strict";i.d(t,{DN:function(){return _},Dz:function(){return d},GN:function(){return m},Zg:function(){return C},aq:function(){return g},bx:function(){return b},rD:function(){return u}}),i(79915);var n,s=i(70784),o=i(15769),r=i(95422),l=i(48053),a=i(10014);function d(e){return new h(e)}class h extends o.Nc{constructor(e){super(),this.value=e}get debugName(){return this.toString()}get(){return this.value}addObserver(e){}removeObserver(e){}toString(){return`Const: ${this.value}`}}function u(e,t){return new c(e,t)}class c extends o.hm{constructor(e,t){super(),this.event=e,this._getValue=t,this.hasValue=!1,this.handleEvent=e=>{var t;let i=this._getValue(e),n=this.value,s=!this.hasValue||n!==i,r=!1;s&&(this.value=i,this.hasValue&&(r=!0,(0,o.c8)(c.globalTransaction,e=>{var t;for(let o of(null===(t=(0,a.jl)())||void 0===t||t.handleFromEventObservableTriggered(this,{oldValue:n,newValue:i,change:void 0,didChange:s,hadValue:this.hasValue}),this.observers))e.updateObserver(o,this),o.handleChange(this,void 0)},()=>{let e=this.getDebugName();return"Event fired"+(e?`: ${e}`:"")})),this.hasValue=!0),r||null===(t=(0,a.jl)())||void 0===t||t.handleFromEventObservableTriggered(this,{oldValue:n,newValue:i,change:void 0,didChange:s,hadValue:this.hasValue})}}getDebugName(){return(0,r.$P)(this._getValue)}get debugName(){let e=this.getDebugName();return"From Event"+(e?`: ${e}`:"")}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0,this.hasValue=!1,this.value=void 0}get(){if(this.subscription)return this.hasValue||this.handleEvent(void 0),this.value;{let e=this._getValue(void 0);return e}}}function g(e,t){return new p(e,t)}(n=u||(u={})).Observer=c,n.batchEventsGlobally=function(e,t){let i=!1;void 0===c.globalTransaction&&(c.globalTransaction=e,i=!0);try{t()}finally{i&&(c.globalTransaction=void 0)}};class p extends o.hm{constructor(e,t){super(),this.debugName=e,this.event=t,this.handleEvent=()=>{(0,o.PS)(e=>{for(let t of this.observers)e.updateObserver(t,this),t.handleChange(this,void 0)},()=>this.debugName)}}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0}get(){}}function m(e){return"string"==typeof e?new f(e):new f(void 0,e)}class f extends o.hm{get debugName(){var e;return null!==(e=new r.IZ(this._owner,this._debugName,void 0).getDebugName(this))&&void 0!==e?e:"Observable Signal"}constructor(e,t){super(),this._debugName=e,this._owner=t}trigger(e,t){if(!e){(0,o.PS)(e=>{this.trigger(e,t)},()=>`Trigger signal ${this.debugName}`);return}for(let i of this.observers)e.updateObserver(i,this),i.handleChange(this,t)}get(){}}function _(e,t){let i=new v(!0,t);return e.addObserver(i),t?t(e.get()):e.reportChanges(),(0,s.OF)(()=>{e.removeObserver(i)})}(0,o.Jn)(function(e){let t=new v(!1,void 0);return e.addObserver(t),(0,s.OF)(()=>{e.removeObserver(t)})}),(0,o.MK)(_);class v{constructor(e,t){this._forceRecompute=e,this._handleValue=t,this._counter=0}beginUpdate(e){this._counter++}endUpdate(e){this._counter--,0===this._counter&&this._forceRecompute&&(this._handleValue?this._handleValue(e.get()):e.reportChanges())}handlePossibleChange(e){}handleChange(e,t){}}function b(e,t){let i;let n=(0,l.nK)(e,e=>i=t(e,i));return n}function C(e,t,i,n){let s=new w(i,n),o=(0,l.bk)({debugReferenceFn:i,owner:e,onLastObserverRemoved:()=>{s.dispose(),s=new w(i)}},e=>(s.setItems(t.read(e)),s.getItems()));return o}class w{constructor(e,t){this._map=e,this._keySelector=t,this._cache=new Map,this._items=[]}dispose(){this._cache.forEach(e=>e.store.dispose()),this._cache.clear()}setItems(e){let t=[],i=new Set(this._cache.keys());for(let n of e){let e=this._keySelector?this._keySelector(n):n,o=this._cache.get(e);if(o)i.delete(e);else{let t=new s.SL,i=this._map(n,t);o={out:i,store:t},this._cache.set(e,o)}t.push(o.out)}for(let e of i){let t=this._cache.get(e);t.store.dispose(),this._cache.delete(e)}this._items=t}getItems(){return this._items}}},75380:function(e,t,i){"use strict";i.d(t,{DB:function(){return f},DZ:function(){return C},EZ:function(){return b},Fv:function(){return m},Gf:function(){return _},KR:function(){return p},Ku:function(){return c},XX:function(){return v},ir:function(){return w}});var n=i(85580);class s extends Error{constructor(e,t,i){let n;"string"==typeof t&&0===t.indexOf("not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let s=-1!==e.indexOf(".")?"property":"argument",o=`The "${e}" ${s} ${n} of type ${t}`;super(o+=`. Received type ${typeof i}`),this.code="ERR_INVALID_ARG_TYPE"}}function o(e,t){if("string"!=typeof e)throw new s(t,"string",e)}let r="win32"===n.Jv;function l(e){return 47===e||92===e}function a(e){return 47===e}function d(e){return e>=65&&e<=90||e>=97&&e<=122}function h(e,t,i,n){let s="",o=0,r=-1,l=0,a=0;for(let d=0;d<=e.length;++d){if(d2){let e=s.lastIndexOf(i);-1===e?(s="",o=0):o=(s=s.slice(0,e)).length-1-s.lastIndexOf(i),r=d,l=0;continue}if(0!==s.length){s="",o=0,r=d,l=0;continue}}t&&(s+=s.length>0?`${i}..`:"..",o=2)}else s.length>0?s+=`${i}${e.slice(r+1,d)}`:s=e.slice(r+1,d),o=d-r-1;r=d,l=0}else 46===a&&-1!==l?++l:l=-1}return s}function u(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new s(t,"Object",e)}(t,"pathObject");let i=t.dir||t.root,n=t.base||`${t.name||""}${t.ext||""}`;return i?i===t.root?`${i}${n}`:`${i}${e}${n}`:n}let c={resolve(...e){let t="",i="",s=!1;for(let r=e.length-1;r>=-1;r--){let a;if(r>=0){if(o(a=e[r],"path"),0===a.length)continue}else 0===t.length?a=n.Vj():(void 0===(a=n.OB[`=${t}`]||n.Vj())||a.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===a.charCodeAt(2))&&(a=`${t}\\`);let h=a.length,u=0,c="",g=!1,p=a.charCodeAt(0);if(1===h)l(p)&&(u=1,g=!0);else if(l(p)){if(g=!0,l(a.charCodeAt(1))){let e=2,t=2;for(;e2&&l(a.charCodeAt(2))&&(g=!0,u=3));if(c.length>0){if(t.length>0){if(c.toLowerCase()!==t.toLowerCase())continue}else t=c}if(s){if(t.length>0)break}else if(i=`${a.slice(u)}\\${i}`,s=g,g&&t.length>0)break}return i=h(i,!s,"\\",l),s?`${t}\\${i}`:`${t}${i}`||"."},normalize(e){let t;o(e,"path");let i=e.length;if(0===i)return".";let n=0,s=!1,r=e.charCodeAt(0);if(1===i)return a(r)?"\\":e;if(l(r)){if(s=!0,l(e.charCodeAt(1))){let s=2,o=2;for(;s2&&l(e.charCodeAt(2))&&(s=!0,n=3));let u=n0&&l(e.charCodeAt(i-1))&&(u+="\\"),void 0===t)?s?`\\${u}`:u:s?`${t}\\${u}`:`${t}${u}`},isAbsolute(e){o(e,"path");let t=e.length;if(0===t)return!1;let i=e.charCodeAt(0);return l(i)||t>2&&d(i)&&58===e.charCodeAt(1)&&l(e.charCodeAt(2))},join(...e){let t,i;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=i=s:t+=`\\${s}`)}if(void 0===t)return".";let n=!0,s=0;if("string"==typeof i&&l(i.charCodeAt(0))){++s;let e=i.length;e>1&&l(i.charCodeAt(1))&&(++s,e>2&&(l(i.charCodeAt(2))?++s:n=!1))}if(n){for(;s=2&&(t=`\\${t.slice(s)}`)}return c.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";let i=c.resolve(e),n=c.resolve(t);if(i===n||(e=i.toLowerCase())===(t=n.toLowerCase()))return"";let s=0;for(;ss&&92===e.charCodeAt(r-1);)r--;let l=r-s,a=0;for(;aa&&92===t.charCodeAt(d-1);)d--;let h=d-a,u=lu){if(92===t.charCodeAt(a+p))return n.slice(a+p+1);if(2===p)return n.slice(a+p)}l>u&&(92===e.charCodeAt(s+p)?g=p:2===p&&(g=3)),-1===g&&(g=0)}let m="";for(p=s+g+1;p<=r;++p)(p===r||92===e.charCodeAt(p))&&(m+=0===m.length?"..":"\\..");return(a+=g,m.length>0)?`${m}${n.slice(a,d)}`:(92===n.charCodeAt(a)&&++a,n.slice(a,d))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=c.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(d(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){o(e,"path");let t=e.length;if(0===t)return".";let i=-1,n=0,s=e.charCodeAt(0);if(1===t)return l(s)?e:".";if(l(s)){if(i=n=1,l(e.charCodeAt(1))){let s=2,o=2;for(;s2&&l(e.charCodeAt(2))?3:2);let r=-1,a=!0;for(let i=t-1;i>=n;--i)if(l(e.charCodeAt(i))){if(!a){r=i;break}}else a=!1;if(-1===r){if(-1===i)return".";r=i}return e.slice(0,r)},basename(e,t){let i;void 0!==t&&o(t,"ext"),o(e,"path");let n=0,s=-1,r=!0;if(e.length>=2&&d(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(n=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(i=e.length-1;i>=n;--i){let d=e.charCodeAt(i);if(l(d)){if(!r){n=i+1;break}}else -1===a&&(r=!1,a=i+1),o>=0&&(d===t.charCodeAt(o)?-1==--o&&(s=i):(o=-1,s=a))}return n===s?s=a:-1===s&&(s=e.length),e.slice(n,s)}for(i=e.length-1;i>=n;--i)if(l(e.charCodeAt(i))){if(!r){n=i+1;break}}else -1===s&&(r=!1,s=i+1);return -1===s?"":e.slice(n,s)},extname(e){o(e,"path");let t=0,i=-1,n=0,s=-1,r=!0,a=0;e.length>=2&&58===e.charCodeAt(1)&&d(e.charCodeAt(0))&&(t=n=2);for(let o=e.length-1;o>=t;--o){let t=e.charCodeAt(o);if(l(t)){if(!r){n=o+1;break}continue}-1===s&&(r=!1,s=o+1),46===t?-1===i?i=o:1!==a&&(a=1):-1!==i&&(a=-1)}return -1===i||-1===s||0===a||1===a&&i===s-1&&i===n+1?"":e.slice(i,s)},format:u.bind(null,"\\"),parse(e){o(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let i=e.length,n=0,s=e.charCodeAt(0);if(1===i)return l(s)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(l(s)){if(n=1,l(e.charCodeAt(1))){let t=2,s=2;for(;t0&&(t.root=e.slice(0,n));let r=-1,a=n,h=-1,u=!0,c=e.length-1,g=0;for(;c>=n;--c){if(l(s=e.charCodeAt(c))){if(!u){a=c+1;break}continue}-1===h&&(u=!1,h=c+1),46===s?-1===r?r=c:1!==g&&(g=1):-1!==r&&(g=-1)}return -1!==h&&(-1===r||0===g||1===g&&r===h-1&&r===a+1?t.base=t.name=e.slice(a,h):(t.name=e.slice(a,r),t.base=e.slice(a,h),t.ext=e.slice(r,h))),a>0&&a!==n?t.dir=e.slice(0,a-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},g=(()=>{if(r){let e=/\\/g;return()=>{let t=n.Vj().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>n.Vj()})(),p={resolve(...e){let t="",i=!1;for(let n=e.length-1;n>=-1&&!i;n--){let s=n>=0?e[n]:g();o(s,"path"),0!==s.length&&(t=`${s}/${t}`,i=47===s.charCodeAt(0))}return(t=h(t,!i,"/",a),i)?`/${t}`:t.length>0?t:"."},normalize(e){if(o(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0===(e=h(e,!t,"/",a)).length?t?"/":i?"./":".":(i&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(o(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let i=0;i0&&(void 0===t?t=n:t+=`/${n}`)}return void 0===t?".":p.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t||(e=p.resolve(e))===(t=p.resolve(t)))return"";let i=e.length,n=i-1,s=t.length-1,r=nr){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else n>r&&(47===e.charCodeAt(1+a)?l=a:0===a&&(l=0))}let d="";for(a=1+l+1;a<=i;++a)(a===i||47===e.charCodeAt(a))&&(d+=0===d.length?"..":"/..");return`${d}${t.slice(1+l)}`},toNamespacedPath:e=>e,dirname(e){if(o(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=-1,n=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!n){i=t;break}}else n=!1;return -1===i?t?"/":".":t&&1===i?"//":e.slice(0,i)},basename(e,t){let i;void 0!==t&&o(t,"ext"),o(e,"path");let n=0,s=-1,r=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,l=-1;for(i=e.length-1;i>=0;--i){let a=e.charCodeAt(i);if(47===a){if(!r){n=i+1;break}}else -1===l&&(r=!1,l=i+1),o>=0&&(a===t.charCodeAt(o)?-1==--o&&(s=i):(o=-1,s=l))}return n===s?s=l:-1===s&&(s=e.length),e.slice(n,s)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!r){n=i+1;break}}else -1===s&&(r=!1,s=i+1);return -1===s?"":e.slice(n,s)},extname(e){o(e,"path");let t=-1,i=0,n=-1,s=!0,r=0;for(let o=e.length-1;o>=0;--o){let l=e.charCodeAt(o);if(47===l){if(!s){i=o+1;break}continue}-1===n&&(s=!1,n=o+1),46===l?-1===t?t=o:1!==r&&(r=1):-1!==t&&(r=-1)}return -1===t||-1===n||0===r||1===r&&t===n-1&&t===i+1?"":e.slice(t,n)},format:u.bind(null,"/"),parse(e){let t;o(e,"path");let i={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return i;let n=47===e.charCodeAt(0);n?(i.root="/",t=1):t=0;let s=-1,r=0,l=-1,a=!0,d=e.length-1,h=0;for(;d>=t;--d){let t=e.charCodeAt(d);if(47===t){if(!a){r=d+1;break}continue}-1===l&&(a=!1,l=d+1),46===t?-1===s?s=d:1!==h&&(h=1):-1!==s&&(h=-1)}if(-1!==l){let t=0===r&&n?1:r;-1===s||0===h||1===h&&s===l-1&&s===r+1?i.base=i.name=e.slice(t,l):(i.name=e.slice(t,s),i.base=e.slice(t,l),i.ext=e.slice(s,l))}return r>0?i.dir=e.slice(0,r-1):n&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};p.win32=c.win32=c,p.posix=c.posix=p;let m=r?c.normalize:p.normalize,f=r?c.resolve:p.resolve,_=r?c.relative:p.relative,v=r?c.dirname:p.dirname,b=r?c.basename:p.basename,C=r?c.extname:p.extname,w=r?c.sep:p.sep},58022:function(e,t,i){"use strict";let n,s;i.d(t,{$L:function(){return L},Dt:function(){return V},ED:function(){return C},G6:function(){return W},IJ:function(){return y},OS:function(){return R},dK:function(){return I},dz:function(){return w},fn:function(){return M},gn:function(){return x},i7:function(){return F},qB:function(){return D},r:function(){return O},tY:function(){return S},tq:function(){return N},un:function(){return H},vU:function(){return B}});var o,r,l=i(82801),a=i(75299);let d=!1,h=!1,u=!1,c=!1,g=!1,p=!1,m=!1,f="en",_=globalThis;void 0!==_.vscode&&void 0!==_.vscode.process?s=_.vscode.process:void 0!==a&&"string"==typeof(null===(o=null==a?void 0:a.versions)||void 0===o?void 0:o.node)&&(s=a);let v="string"==typeof(null===(r=null==s?void 0:s.versions)||void 0===r?void 0:r.electron),b=v&&(null==s?void 0:s.type)==="renderer";if("object"==typeof s){d="win32"===s.platform,h="darwin"===s.platform,(u="linux"===s.platform)&&s.env.SNAP&&s.env.SNAP_REVISION,s.env.CI||s.env.BUILD_ARTIFACTSTAGINGDIRECTORY,f="en";let e=s.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),i=t.availableLanguages["*"];t.locale,t.osLocale,f=i||"en",t._translationsConfigFile}catch(e){}c=!0}else if("object"!=typeof navigator||b)console.error("Unable to resolve platform.");else{d=(n=navigator.userAgent).indexOf("Windows")>=0,h=n.indexOf("Macintosh")>=0,p=(n.indexOf("Macintosh")>=0||n.indexOf("iPad")>=0||n.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,u=n.indexOf("Linux")>=0,m=(null==n?void 0:n.indexOf("Mobi"))>=0,g=!0;let e=l.aj(l.NC({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"));f=e||"en",navigator.language}let C=d,w=h,y=u,S=c,L=g,k=g&&"function"==typeof _.importScripts,D=k?_.origin:void 0,x=p,N=m,E=n,I=f,T="function"==typeof _.postMessage&&!_.importScripts,M=(()=>{if(T){let e=[];_.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=e.length;i{let n=++t;e.push({id:n,callback:i}),_.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})(),R=h||p?2:d?1:3,A=!0,P=!1;function O(){if(!P){P=!0;let e=new Uint8Array(2);e[0]=1,e[1]=2;let t=new Uint16Array(e.buffer);A=513===t[0]}return A}let F=!!(E&&E.indexOf("Chrome")>=0),B=!!(E&&E.indexOf("Firefox")>=0),W=!!(!F&&E&&E.indexOf("Safari")>=0),H=!!(E&&E.indexOf("Edg/")>=0),V=!!(E&&E.indexOf("Android")>=0)},85580:function(e,t,i){"use strict";let n;i.d(t,{Jv:function(){return d},OB:function(){return a},Vj:function(){return l}});var s=i(58022),o=i(75299);let r=globalThis.vscode;if(void 0!==r&&void 0!==r.process){let e=r.process;n={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd:()=>e.cwd()}}else n=void 0!==o?{get platform(){return o.platform},get arch(){return o.arch},get env(){return o.env},cwd:()=>o.env.VSCODE_CWD||o.cwd()}:{get platform(){return s.ED?"win32":s.dz?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let l=n.cwd,a=n.env,d=n.platform},50798:function(e,t,i){"use strict";var n;i.d(t,{e:function(){return n}}),function(e){function t(e,t){if(e.start>=t.end||t.start>=e.end)return{start:0,end:0};let i=Math.max(e.start,t.start),n=Math.min(e.end,t.end);return n-i<=0?{start:0,end:0}:{start:i,end:n}}function i(e){return e.end-e.start<=0}e.intersect=t,e.isEmpty=i,e.intersects=function(e,n){return!i(t(e,n))},e.relativeComplement=function(e,t){let n=[],s={start:e.start,end:Math.min(t.start,e.end)},o={start:Math.max(t.end,e.start),end:e.end};return i(s)||n.push(s),i(o)||n.push(o),n}}(n||(n={}))},1271:function(e,t,i){"use strict";i.d(t,{AH:function(){return C},DZ:function(){return _},EZ:function(){return f},Hx:function(){return m},SF:function(){return g},Vb:function(){return s},Vo:function(){return b},XX:function(){return v},Xy:function(){return p},i3:function(){return y},lX:function(){return w},z_:function(){return u}});var n,s,o=i(47306),r=i(72249),l=i(75380),a=i(58022),d=i(95612),h=i(5482);function u(e){return(0,h.q)(e,!0)}class c{constructor(e){this._ignorePathCasing=e}compare(e,t,i=!1){return e===t?0:(0,d.qu)(this.getComparisonKey(e,i),this.getComparisonKey(t,i))}isEqual(e,t,i=!1){return e===t||!!e&&!!t&&this.getComparisonKey(e,i)===this.getComparisonKey(t,i)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}isEqualOrParent(e,t,i=!1){if(e.scheme===t.scheme){if(e.scheme===r.lg.file)return o.KM(u(e),u(t),this._ignorePathCasing(e))&&e.query===t.query&&(i||e.fragment===t.fragment);if(S(e.authority,t.authority))return o.KM(e.path,t.path,this._ignorePathCasing(e),"/")&&e.query===t.query&&(i||e.fragment===t.fragment)}return!1}joinPath(e,...t){return h.o.joinPath(e,...t)}basenameOrAuthority(e){return f(e)||e.authority}basename(e){return l.KR.basename(e.path)}extname(e){return l.KR.extname(e.path)}dirname(e){let t;return 0===e.path.length?e:(e.scheme===r.lg.file?t=h.o.file(l.XX(u(e))).path:(t=l.KR.dirname(e.path),e.authority&&t.length&&47!==t.charCodeAt(0)&&(console.error(`dirname("${e.toString})) resulted in a relative path`),t="/")),e.with({path:t}))}normalizePath(e){let t;return e.path.length?(t=e.scheme===r.lg.file?h.o.file(l.Fv(u(e))).path:l.KR.normalize(e.path),e.with({path:t})):e}relativePath(e,t){if(e.scheme!==t.scheme||!S(e.authority,t.authority))return;if(e.scheme===r.lg.file){let i=l.Gf(u(e),u(t));return a.ED?o.ej(i):i}let i=e.path||"/",n=t.path||"/";if(this._ignorePathCasing(e)){let e=0;for(let t=Math.min(i.length,n.length);eo.yj(i).length&&i[i.length-1]===t}{let t=e.path;return t.length>1&&47===t.charCodeAt(t.length-1)&&!/^[a-zA-Z]:(\/$|\\$)/.test(e.fsPath)}}removeTrailingPathSeparator(e,t=l.ir){return L(e,t)?e.with({path:e.path.substr(0,e.path.length-1)}):e}addTrailingPathSeparator(e,t=l.ir){let i=!1;if(e.scheme===r.lg.file){let n=u(e);i=void 0!==n&&n.length===o.yj(n).length&&n[n.length-1]===t}else{t="/";let n=e.path;i=1===n.length&&47===n.charCodeAt(n.length-1)}return i||L(e,t)?e:e.with({path:e.path+"/"})}}let g=new c(()=>!1);new c(e=>e.scheme!==r.lg.file||!a.IJ),new c(e=>!0);let p=g.isEqual.bind(g);g.isEqualOrParent.bind(g),g.getComparisonKey.bind(g);let m=g.basenameOrAuthority.bind(g),f=g.basename.bind(g),_=g.extname.bind(g),v=g.dirname.bind(g),b=g.joinPath.bind(g),C=g.normalizePath.bind(g),w=g.relativePath.bind(g),y=g.resolvePath.bind(g);g.isAbsolutePath.bind(g);let S=g.isEqualAuthority.bind(g),L=g.hasTrailingPathSeparator.bind(g);g.removeTrailingPathSeparator.bind(g),g.addTrailingPathSeparator.bind(g),(n=s||(s={})).META_DATA_LABEL="label",n.META_DATA_DESCRIPTION="description",n.META_DATA_SIZE="size",n.META_DATA_MIME="mime",n.parseMetaData=function(e){let t=new Map,i=e.path.substring(e.path.indexOf(";")+1,e.path.lastIndexOf(";"));i.split(";").forEach(e=>{let[i,n]=e.split(":");i&&n&&t.set(i,n)});let s=e.path.substring(0,e.path.indexOf(";"));return s&&t.set(n.META_DATA_MIME,s),t}},98101:function(e,t,i){"use strict";i.d(t,{Rm:function(){return r}});var n=i(79915),s=i(70784);class o{constructor(e,t,i,n,s,o,r){this._forceIntegerValues=e,this._scrollStateBrand=void 0,this._forceIntegerValues&&(t|=0,i|=0,n|=0,s|=0,o|=0,r|=0),this.rawScrollLeft=n,this.rawScrollTop=r,t<0&&(t=0),n+t>i&&(n=i-t),n<0&&(n=0),s<0&&(s=0),r+s>o&&(r=o-s),r<0&&(r=0),this.width=t,this.scrollWidth=i,this.scrollLeft=n,this.height=s,this.scrollHeight=o,this.scrollTop=r}equals(e){return this.rawScrollLeft===e.rawScrollLeft&&this.rawScrollTop===e.rawScrollTop&&this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop}withScrollDimensions(e,t){return new o(this._forceIntegerValues,void 0!==e.width?e.width:this.width,void 0!==e.scrollWidth?e.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,void 0!==e.height?e.height:this.height,void 0!==e.scrollHeight?e.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(e){return new o(this._forceIntegerValues,this.width,this.scrollWidth,void 0!==e.scrollLeft?e.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,void 0!==e.scrollTop?e.scrollTop:this.rawScrollTop)}createScrollEvent(e,t){let i=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,s=this.scrollLeft!==e.scrollLeft,o=this.height!==e.height,r=this.scrollHeight!==e.scrollHeight,l=this.scrollTop!==e.scrollTop;return{inSmoothScrolling:t,oldWidth:e.width,oldScrollWidth:e.scrollWidth,oldScrollLeft:e.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:e.height,oldScrollHeight:e.scrollHeight,oldScrollTop:e.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:i,scrollWidthChanged:n,scrollLeftChanged:s,heightChanged:o,scrollHeightChanged:r,scrollTopChanged:l}}}class r extends s.JT{constructor(e){super(),this._scrollableBrand=void 0,this._onScroll=this._register(new n.Q5),this.onScroll=this._onScroll.event,this._smoothScrollDuration=e.smoothScrollDuration,this._scheduleAtNextAnimationFrame=e.scheduleAtNextAnimationFrame,this._state=new o(e.forceIntegerValues,0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(e){this._smoothScrollDuration=e}validateScrollPosition(e){return this._state.withScrollPosition(e)}getScrollDimensions(){return this._state}setScrollDimensions(e,t){var i;let n=this._state.withScrollDimensions(e,t);this._setState(n,!!this._smoothScrolling),null===(i=this._smoothScrolling)||void 0===i||i.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(e){let t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t,!1)}setScrollPositionSmooth(e,t){if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){let i;e={scrollLeft:void 0===e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:void 0===e.scrollTop?this._smoothScrolling.to.scrollTop:e.scrollTop};let n=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===n.scrollLeft&&this._smoothScrolling.to.scrollTop===n.scrollTop)return;i=t?new d(this._smoothScrolling.from,n,this._smoothScrolling.startTime,this._smoothScrolling.duration):this._smoothScrolling.combine(this._state,n,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=i}else{let t=this._state.withScrollPosition(e);this._smoothScrolling=d.start(this._state,t,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}hasPendingScrollAnimation(){return!!this._smoothScrolling}_performSmoothScrolling(){if(!this._smoothScrolling)return;let e=this._smoothScrolling.tick(),t=this._state.withScrollPosition(e);if(this._setState(t,!0),this._smoothScrolling){if(e.isDone){this._smoothScrolling.dispose(),this._smoothScrolling=null;return}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}}_setState(e,t){let i=this._state;i.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(i,t)))}}class l{constructor(e,t,i){this.scrollLeft=e,this.scrollTop=t,this.isDone=i}}function a(e,t){let i=t-e;return function(t){return e+i*(1-Math.pow(1-t,3))}}class d{constructor(e,t,i,n){this.from=e,this.to=t,this.duration=n,this.startTime=i,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(e,t,i){let n=Math.abs(e-t);if(n>2.5*i){var s,o;let n,r;return e=t.length?e:t[n]})}function h(e){return e.replace(/[<>"'&]/g,e=>{switch(e){case"<":return"<";case">":return">";case'"':return""";case"'":return"'";case"&":return"&"}return e})}function u(e){return e.replace(/[<>&]/g,function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}})}function c(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function g(e,t=" "){let i=p(e,t);return m(i,t)}function p(e,t){if(!e||!t)return e;let i=t.length;if(0===i||0===e.length)return e;let n=0;for(;e.indexOf(t,n)===n;)n+=i;return e.substring(n)}function m(e,t){if(!e||!t)return e;let i=t.length,n=e.length;if(0===i||0===n)return e;let s=n,o=-1;for(;-1!==(o=e.lastIndexOf(t,s-1))&&o+i===s;){if(0===o)return"";s=o}return e.substring(0,s)}function f(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function _(e){return e.replace(/\*/g,"")}function v(e,t,i={}){if(!e)throw Error("Cannot create regex from empty string");t||(e=c(e)),i.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let n="";return i.global&&(n+="g"),i.matchCase||(n+="i"),i.multiline&&(n+="m"),i.unicode&&(n+="u"),new RegExp(e,n)}function b(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;let t=e.exec("");return!!(t&&0===e.lastIndex)}function C(e){return e.split(/\r\n|\r|\n/)}function w(e){var t;let i=[],n=e.split(/(\r\n|\r|\n)/);for(let e=0;e=0;i--){let t=e.charCodeAt(i);if(32!==t&&9!==t)return i}return -1}function k(e,t){return et?1:0}function D(e,t,i=0,n=e.length,s=0,o=t.length){for(;io)return 1}let r=n-i,l=o-s;return rl?1:0}function x(e,t){return N(e,t,0,e.length,0,t.length)}function N(e,t,i=0,n=e.length,s=0,o=t.length){for(;i=128||l>=128)return D(e.toLowerCase(),t.toLowerCase(),i,n,s,o);I(r)&&(r-=32),I(l)&&(l-=32);let a=r-l;if(0!==a)return a}let r=n-i,l=o-s;return rl?1:0}function E(e){return e>=48&&e<=57}function I(e){return e>=97&&e<=122}function T(e){return e>=65&&e<=90}function M(e,t){return e.length===t.length&&0===N(e,t)}function R(e,t){let i=t.length;return!(t.length>e.length)&&0===N(e,t,0,i)}function A(e,t){let i;let n=Math.min(e.length,t.length);for(i=0;i1){let n=e.charCodeAt(t-2);if(O(n))return B(n,i)}return i}(this._str,this._offset);return this._offset-=e>=65536?2:1,e}nextCodePoint(){let e=W(this._str,this._len,this._offset);return this._offset+=e>=65536?2:1,e}eol(){return this._offset>=this._len}}class V{get offset(){return this._iterator.offset}constructor(e,t=0){this._iterator=new H(e,t)}nextGraphemeLength(){let e=en.getInstance(),t=this._iterator,i=t.offset,n=e.getGraphemeBreakType(t.nextCodePoint());for(;!t.eol();){let i=t.offset,s=e.getGraphemeBreakType(t.nextCodePoint());if(ei(n,s)){t.setOffset(i);break}n=s}return t.offset-i}prevGraphemeLength(){let e=en.getInstance(),t=this._iterator,i=t.offset,n=e.getGraphemeBreakType(t.prevCodePoint());for(;t.offset>0;){let i=t.offset,s=e.getGraphemeBreakType(t.prevCodePoint());if(ei(s,n)){t.setOffset(i);break}n=s}return i-t.offset}eol(){return this._iterator.eol()}}function z(e,t){let i=new V(e,t);return i.nextGraphemeLength()}function K(e,t){let i=new V(e,t);return i.prevGraphemeLength()}function U(e,t){t>0&&F(e.charCodeAt(t))&&t--;let i=t+z(e,t),n=i-K(e,i);return[n,i]}function $(e){return n||(n=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/),n.test(e)}let q=/^[\t\n\r\x20-\x7E]*$/;function j(e){return q.test(e)}let G=/[\u2028\u2029]/;function Q(e){return G.test(e)}function Z(e){return e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Y(e){return e>=127462&&e<=127487||8986===e||8987===e||9200===e||9203===e||e>=9728&&e<=10175||11088===e||11093===e||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129008||e>=129280&&e<=129535||e>=129648&&e<=129782}let J=String.fromCharCode(65279);function X(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function ee(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function et(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function ei(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&(11!==e&&9!==e||9!==t&&10!==t)&&(12!==e&&10!==e||10!==t)&&5!==t&&13!==t&&7!==t&&1!==e&&(13!==e||14!==t)&&(6!==e||6!==t))}class en{static getInstance(){return en._INSTANCE||(en._INSTANCE=new en),en._INSTANCE}constructor(){this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,i=t.length/3,n=1;for(;n<=i;)if(et[3*n+1]))return t[3*n+2];n=2*n+1}return 0}}function es(e,t){if(0===e)return 0;let i=function(e,t){var i;let n=new H(t,e),s=n.prevCodePoint();for(;127995<=(i=s)&&i<=127999||65039===s||8419===s;){if(0===n.offset)return;s=n.prevCodePoint()}if(!Y(s))return;let o=n.offset;if(o>0){let e=n.prevCodePoint();8205===e&&(o=n.offset)}return o}(e,t);if(void 0!==i)return i;let n=new H(t,e);return n.prevCodePoint(),n.offset}en._INSTANCE=null;let eo="\xa0";class er{static getInstance(e){return s.cache.get(Array.from(e))}static getLocales(){return s._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}s=er,er.ambiguousCharacterData=new r.o(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),er.cache=new o.t2({getCacheKey:JSON.stringify},e=>{let t;function i(e){let t=new Map;for(let i=0;i!e.startsWith("_")&&e in n);for(let e of(0===o.length&&(o=["_default"]),o)){let s=i(n[e]);t=function(e,t){if(!e)return t;let i=new Map;for(let[n,s]of e)t.has(n)&&i.set(n,s);return i}(t,s)}let r=i(n._common),l=function(e,t){let i=new Map(e);for(let[e,n]of t)i.set(e,n);return i}(r,t);return new s(l)}),er._locales=new r.o(()=>Object.keys(s.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class el{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(el.getRawData())),this._data}static isInvisibleCharacter(e){return el.getData().has(e)}static get codePoints(){return el.getData()}}el._data=void 0},4414:function(e,t,i){"use strict";i.d(t,{n:function(){return n}});let n=Symbol("MicrotaskDelay")},13234:function(e,t,i){"use strict";i.d(t,{Id:function(){return d}});var n=i(95612);class s{constructor(){this._value="",this._pos=0}reset(e){return this._value=e,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos=0;t--,this._valueLen--){let e=this._value.charCodeAt(t);if(!(47===e||this._splitOnBackslash&&92===e))break}return this.next()}hasNext(){return this._to!1,t=()=>!1){return new d(new l(e,t))}static forStrings(){return new d(new s)}static forConfigKeys(){return new d(new o)}constructor(e){this._iter=e}clear(){this._root=void 0}set(e,t){let i;let n=this._iter.reset(e);this._root||(this._root=new a,this._root.segment=n.value());let s=[];for(i=this._root;;){let e=n.cmp(i.segment);if(e>0)i.left||(i.left=new a,i.left.segment=n.value()),s.push([-1,i]),i=i.left;else if(e<0)i.right||(i.right=new a,i.right.segment=n.value()),s.push([1,i]),i=i.right;else if(n.hasNext())n.next(),i.mid||(i.mid=new a,i.mid.segment=n.value()),s.push([0,i]),i=i.mid;else break}let o=i.value;i.value=t,i.key=e;for(let e=s.length-1;e>=0;e--){let t=s[e][1];t.updateHeight();let i=t.balanceFactor();if(i<-1||i>1){let i=s[e][0],n=s[e+1][0];if(1===i&&1===n)s[e][1]=t.rotateLeft();else if(-1===i&&-1===n)s[e][1]=t.rotateRight();else if(1===i&&-1===n)t.right=s[e+1][1]=s[e+1][1].rotateRight(),s[e][1]=t.rotateLeft();else if(-1===i&&1===n)t.left=s[e+1][1]=s[e+1][1].rotateLeft(),s[e][1]=t.rotateRight();else throw Error();if(e>0)switch(s[e-1][0]){case -1:s[e-1][1].left=s[e][1];break;case 1:s[e-1][1].right=s[e][1];break;case 0:s[e-1][1].mid=s[e][1]}else this._root=s[0][1]}}return o}get(e){var t;return null===(t=this._getNode(e))||void 0===t?void 0:t.value}_getNode(e){let t=this._iter.reset(e),i=this._root;for(;i;){let e=t.cmp(i.segment);if(e>0)i=i.left;else if(e<0)i=i.right;else if(t.hasNext())t.next(),i=i.mid;else break}return i}has(e){let t=this._getNode(e);return!((null==t?void 0:t.value)===void 0&&(null==t?void 0:t.mid)===void 0)}delete(e){return this._delete(e,!1)}deleteSuperstr(e){return this._delete(e,!0)}_delete(e,t){var i;let n=this._iter.reset(e),s=[],o=this._root;for(;o;){let e=n.cmp(o.segment);if(e>0)s.push([-1,o]),o=o.left;else if(e<0)s.push([1,o]),o=o.right;else if(n.hasNext())n.next(),s.push([0,o]),o=o.mid;else break}if(o){if(t?(o.left=void 0,o.mid=void 0,o.right=void 0,o.height=1):(o.key=void 0,o.value=void 0),!o.mid&&!o.value){if(o.left&&o.right){let e=this._min(o.right);if(e.key){let{key:t,value:i,segment:n}=e;this._delete(e.key,!1),o.key=t,o.value=i,o.segment=n}}else{let e=null!==(i=o.left)&&void 0!==i?i:o.right;if(s.length>0){let[t,i]=s[s.length-1];switch(t){case -1:i.left=e;break;case 0:i.mid=e;break;case 1:i.right=e}}else this._root=e}}for(let e=s.length-1;e>=0;e--){let t=s[e][1];t.updateHeight();let i=t.balanceFactor();if(i>1?(t.right.balanceFactor()>=0||(t.right=t.right.rotateRight()),s[e][1]=t.rotateLeft()):i<-1&&(0>=t.left.balanceFactor()||(t.left=t.left.rotateLeft()),s[e][1]=t.rotateRight()),e>0)switch(s[e-1][0]){case -1:s[e-1][1].left=s[e][1];break;case 1:s[e-1][1].right=s[e][1];break;case 0:s[e-1][1].mid=s[e][1]}else this._root=s[0][1]}}}_min(e){for(;e.left;)e=e.left;return e}findSubstr(e){let t;let i=this._iter.reset(e),n=this._root;for(;n;){let e=i.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else if(i.hasNext())i.next(),t=n.value||t,n=n.mid;else break}return n&&n.value||t}findSuperstr(e){return this._findSuperstrOrElement(e,!1)}_findSuperstrOrElement(e,t){let i=this._iter.reset(e),n=this._root;for(;n;){let e=i.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else if(i.hasNext())i.next(),n=n.mid;else{if(n.mid)return this._entries(n.mid);if(t)return n.value;break}}}forEach(e){for(let[t,i]of this)e(i,t)}*[Symbol.iterator](){yield*this._entries(this._root)}_entries(e){let t=[];return this._dfsEntries(e,t),t[Symbol.iterator]()}_dfsEntries(e,t){e&&(e.left&&this._dfsEntries(e.left,t),e.value&&t.push([e.key,e.value]),e.mid&&this._dfsEntries(e.mid,t),e.right&&this._dfsEntries(e.right,t))}}},29527:function(e,t,i){"use strict";i.d(t,{k:function(){return s}});var n,s,o=i(47039);(n||(n={})).isThemeColor=function(e){return e&&"object"==typeof e&&"string"==typeof e.id},function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9-]+",e.iconModifierExpression="~[A-Za-z]+",e.iconNameCharacter="[A-Za-z0-9~-]";let t=RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function i(e){let n=t.exec(e.id);if(!n)return i(o.l.error);let[,s,r]=n,l=["codicon","codicon-"+s];return r&&l.push("codicon-modifier-"+r.substring(1)),l}e.asClassNameArray=i,e.asClassName=function(e){return i(e).join(" ")},e.asCSSSelector=function(e){return"."+i(e).join(".")},e.isThemeIcon=function(e){return e&&"object"==typeof e&&"string"==typeof e.id&&(void 0===e.color||n.isThemeColor(e.color))};let s=RegExp(`^\\$\\((${e.iconNameExpression}(?:${e.iconModifierExpression})?)\\)$`);e.fromString=function(e){let t=s.exec(e);if(!t)return;let[,i]=t;return{id:i}},e.fromId=function(e){return{id:e}},e.modify=function(e,t){let i=e.id,n=i.lastIndexOf("~");return -1!==n&&(i=i.substring(0,n)),t&&(i=`${i}~${t}`),{id:i}},e.getModifier=function(e){let t=e.id.lastIndexOf("~");if(-1!==t)return e.id.substring(t+1)},e.isEqual=function(e,t){var i,n;return e.id===t.id&&(null===(i=e.color)||void 0===i?void 0:i.id)===(null===(n=t.color)||void 0===n?void 0:n.id)}}(s||(s={}))},24162:function(e,t,i){"use strict";function n(e){return"string"==typeof e}function s(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function o(e){let t=Object.getPrototypeOf(Uint8Array);return"object"==typeof e&&e instanceof t}function r(e){return"number"==typeof e&&!isNaN(e)}function l(e){return!!e&&"function"==typeof e[Symbol.iterator]}function a(e){return!0===e||!1===e}function d(e){return void 0===e}function h(e){return!u(e)}function u(e){return d(e)||null===e}function c(e,t){if(!e)throw Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function g(e){if(u(e))throw Error("Assertion Failed: argument is undefined or null");return e}function p(e){return"function"==typeof e}function m(e,t){let i=Math.min(e.length,t.length);for(let s=0;s255?255:0|e}function s(e){return e<0?0:e>4294967295?4294967295:0|e}i.d(t,{A:function(){return s},K:function(){return n}})},5482:function(e,t,i){"use strict";i.d(t,{o:function(){return d},q:function(){return m}});var n=i(75380),s=i(58022);let o=/^\w[\w\d+.-]*$/,r=/^\//,l=/^\/\//,a=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class d{static isUri(e){return e instanceof d||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,i,n,s,a=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=e||a?e:"file",this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,i||""),this.query=n||"",this.fragment=s||"",function(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!o.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!r.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,a))}get fsPath(){return m(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:i,path:n,query:s,fragment:o}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===i?i=this.authority:null===i&&(i=""),void 0===n?n=this.path:null===n&&(n=""),void 0===s?s=this.query:null===s&&(s=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&i===this.authority&&n===this.path&&s===this.query&&o===this.fragment)?this:new u(t,i,n,s,o)}static parse(e,t=!1){let i=a.exec(e);return i?new u(i[2]||"",v(i[4]||""),v(i[5]||""),v(i[7]||""),v(i[9]||""),t):new u("","","","","")}static file(e){let t="";if(s.ED&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){let i=e.indexOf("/",2);-1===i?(t=e.substring(2),e="/"):(t=e.substring(2,i),e=e.substring(i)||"/")}return new u("file",t,e,"","")}static from(e,t){let i=new u(e.scheme,e.authority,e.path,e.query,e.fragment,t);return i}static joinPath(e,...t){let i;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return i=s.ED&&"file"===e.scheme?d.file(n.Ku.join(m(e,!0),...t)).path:n.KR.join(e.path,...t),e.with({path:i})}toString(e=!1){return f(this,e)}toJSON(){return this}static revive(e){var t,i;if(!e||e instanceof d)return e;{let n=new u(e);return n._formatted=null!==(t=e.external)&&void 0!==t?t:null,n._fsPath=e._sep===h&&null!==(i=e.fsPath)&&void 0!==i?i:null,n}}}let h=s.ED?1:void 0;class u extends d{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=m(this,!1)),this._fsPath}toString(e=!1){return e?f(this,!0):(this._formatted||(this._formatted=f(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=h),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let c={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function g(e,t,i){let n;let s=-1;for(let o=0;o=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r||i&&91===r||i&&93===r||i&&58===r)-1!==s&&(n+=encodeURIComponent(e.substring(s,o)),s=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));let t=c[r];void 0!==t?(-1!==s&&(n+=encodeURIComponent(e.substring(s,o)),s=-1),n+=t):-1===s&&(s=o)}}return -1!==s&&(n+=encodeURIComponent(e.substring(s))),void 0!==n?n:e}function p(e){let t;for(let i=0;i1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,s.ED&&(i=i.replace(/\//g,"\\")),i}function f(e,t){let i=t?p:g,n="",{scheme:s,authority:o,path:r,query:l,fragment:a}=e;if(s&&(n+=s+":"),(o||"file"===s)&&(n+="//"),o){let e=o.indexOf("@");if(-1!==e){let t=o.substr(0,e);o=o.substr(e+1),-1===(e=t.lastIndexOf(":"))?n+=i(t,!1,!1):n+=i(t.substr(0,e),!1,!1)+":"+i(t.substr(e+1),!1,!0),n+="@"}-1===(e=(o=o.toLowerCase()).lastIndexOf(":"))?n+=i(o,!1,!0):n+=i(o.substr(0,e),!1,!0)+o.substr(e)}if(r){if(r.length>=3&&47===r.charCodeAt(0)&&58===r.charCodeAt(2)){let e=r.charCodeAt(1);e>=65&&e<=90&&(r=`/${String.fromCharCode(e+32)}:${r.substr(3)}`)}else if(r.length>=2&&58===r.charCodeAt(1)){let e=r.charCodeAt(0);e>=65&&e<=90&&(r=`${String.fromCharCode(e+32)}:${r.substr(2)}`)}n+=i(r,!0,!1)}return l&&(n+="?"+i(l,!1,!1)),a&&(n+="#"+(t?a:g(a,!1,!1))),n}let _=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function v(e){return e.match(_)?e.replace(_,e=>(function e(t){try{return decodeURIComponent(t)}catch(i){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}},2645:function(e,t,i){"use strict";i.d(t,{R:function(){return n}});let n=function(){let e;if("object"==typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID.bind(crypto);e="object"==typeof crypto&&"function"==typeof crypto.getRandomValues?crypto.getRandomValues.bind(crypto):function(e){for(let t=0;t{if(t&&"object"==typeof t||"function"==typeof t)for(let s of l(t))a.call(e,s)||s===i||o(e,s,{get:()=>t[s],enumerable:!(n=r(t,s))||n.enumerable});return e},h={};d(h,s,"default"),n&&d(n,s,"default");var u={},c={},g=class e{static getOrCreate(t){return c[t]||(c[t]=new e(t)),c[t]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((e,t)=>{this._lazyLoadPromiseResolve=e,this._lazyLoadPromiseReject=t})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,u[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}};function p(e){let t=e.id;u[t]=e,h.languages.register(e);let i=g.getOrCreate(t);h.languages.registerTokensProviderFactory(t,{create:async()=>{let e=await i.load();return e.language}}),h.languages.onLanguageEncountered(t,async()=>{let e=await i.load();h.languages.setLanguageConfiguration(t,e.conf)})}},88429:function(e,t,i){"use strict";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,i(43607).H)({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>i.e(1114).then(i.bind(i,41114))})},50950:function(e,t,i){"use strict";i.d(t,{N:function(){return s}});var n=i(82878);function s(e,t){e instanceof n.Z?(e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setFontVariationSettings(t.fontVariationSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)):(e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.fontVariationSettings=t.fontVariationSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px")}},87733:function(e,t,i){"use strict";i.d(t,{I:function(){return r}});var n=i(70784),s=i(79915),o=i(81845);class r extends n.JT{constructor(e,t){super(),this._onDidChange=this._register(new s.Q5),this.onDidChange=this._onDidChange.event,this._referenceDomElement=e,this._width=-1,this._height=-1,this._resizeObserver=null,this.measureReferenceDomElement(!1,t)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this._width}getHeight(){return this._height}startObserving(){if(!this._resizeObserver&&this._referenceDomElement){let e=null,t=()=>{e?this.observe({width:e.width,height:e.height}):this.observe()},i=!1,n=!1,s=()=>{if(i&&!n)try{i=!1,n=!0,t()}finally{(0,o.jL)((0,o.Jj)(this._referenceDomElement),()=>{n=!1,s()})}};this._resizeObserver=new ResizeObserver(t=>{e=t&&t[0]&&t[0].contentRect?{width:t[0].contentRect.width,height:t[0].contentRect.height}:null,i=!0,s()}),this._resizeObserver.observe(this._referenceDomElement)}}stopObserving(){this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}observe(e){this.measureReferenceDomElement(!0,e)}measureReferenceDomElement(e,t){let i=0,n=0;t?(i=t.width,n=t.height):this._referenceDomElement&&(i=this._referenceDomElement.clientWidth,n=this._referenceDomElement.clientHeight),i=Math.max(5,i),n=Math.max(5,n),(this._width!==i||this._height!==n)&&(this._width=i,this._height=n,e&&this._onDidChange.fire())}}},66219:function(e,t,i){"use strict";i.d(t,{g:function(){return p}});var n=i(81845),s=i(96825),o=i(79915),r=i(70784),l=i(50950);class a{constructor(e,t){this.chr=e,this.type=t,this.width=0}fulfill(e){this.width=e}}class d{constructor(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}read(e){this._createDomElements(),e.document.body.appendChild(this._container),this._readFromDomElements(),e.document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){let e=document.createElement("div");e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px";let t=document.createElement("div");(0,l.N)(t,this._bareFontInfo),e.appendChild(t);let i=document.createElement("div");(0,l.N)(i,this._bareFontInfo),i.style.fontWeight="bold",e.appendChild(i);let n=document.createElement("div");(0,l.N)(n,this._bareFontInfo),n.style.fontStyle="italic",e.appendChild(n);let s=[];for(let e of this._requests){let o;0===e.type&&(o=t),2===e.type&&(o=i),1===e.type&&(o=n),o.appendChild(document.createElement("br"));let r=document.createElement("span");d._render(r,e),o.appendChild(r),s.push(r)}this._container=e,this._testElements=s}static _render(e,t){if(" "===t.chr){let t="\xa0";for(let e=0;e<8;e++)t+=t;e.innerText=t}else{let i=t.chr;for(let e=0;e<8;e++)i+=i;e.textContent=i}}_readFromDomElements(){for(let e=0,t=this._requests.length;e{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings(e)},5e3))}_evictUntrustedReadings(e){let t=this._ensureCache(e),i=t.getValues(),n=!1;for(let e of i)e.isTrusted||(n=!0,t.remove(e));n&&this._onDidChange.fire()}readFontInfo(e,t){let i=this._ensureCache(e);if(!i.has(t)){let i=this._actualReadFontInfo(e,t);(i.typicalHalfwidthCharacterWidth<=2||i.typicalFullwidthCharacterWidth<=2||i.spaceWidth<=2||i.maxDigitWidth<=2)&&(i=new u.pR({pixelRatio:s.T.getInstance(e).value,fontFamily:i.fontFamily,fontWeight:i.fontWeight,fontSize:i.fontSize,fontFeatureSettings:i.fontFeatureSettings,fontVariationSettings:i.fontVariationSettings,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing,isMonospace:i.isMonospace,typicalHalfwidthCharacterWidth:Math.max(i.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(i.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:i.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(i.spaceWidth,5),middotWidth:Math.max(i.middotWidth,5),wsmiddotWidth:Math.max(i.wsmiddotWidth,5),maxDigitWidth:Math.max(i.maxDigitWidth,5)},!1)),this._writeToCache(e,t,i)}return i.get(t)}_createRequest(e,t,i,n){let s=new a(e,t);return i.push(s),null==n||n.push(s),s}_actualReadFontInfo(e,t){let i=[],n=[],o=this._createRequest("n",0,i,n),r=this._createRequest("m",0,i,null),l=this._createRequest(" ",0,i,n),a=this._createRequest("0",0,i,n),c=this._createRequest("1",0,i,n),g=this._createRequest("2",0,i,n),p=this._createRequest("3",0,i,n),m=this._createRequest("4",0,i,n),f=this._createRequest("5",0,i,n),_=this._createRequest("6",0,i,n),v=this._createRequest("7",0,i,n),b=this._createRequest("8",0,i,n),C=this._createRequest("9",0,i,n),w=this._createRequest("→",0,i,n),y=this._createRequest("→",0,i,null),S=this._createRequest("\xb7",0,i,n),L=this._createRequest(String.fromCharCode(11825),0,i,null),k="|/-_ilm%";for(let e=0,t=k.length;e.001){x=!1;break}}let E=!0;return x&&y.width!==N&&(E=!1),y.width>w.width&&(E=!1),new u.pR({pixelRatio:s.T.getInstance(e).value,fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,fontFeatureSettings:t.fontFeatureSettings,fontVariationSettings:t.fontVariationSettings,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:x,typicalHalfwidthCharacterWidth:o.width,typicalFullwidthCharacterWidth:r.width,canUseHalfwidthRightwardsArrow:E,spaceWidth:l.width,middotWidth:S.width,wsmiddotWidth:L.width,maxDigitWidth:D},!0)}}class g{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(e){let t=e.getId();return!!this._values[t]}get(e){let t=e.getId();return this._values[t]}put(e,t){let i=e.getId();this._keys[i]=e,this._values[i]=t}remove(e){let t=e.getId();delete this._keys[t],delete this._values[t]}getValues(){return Object.keys(this._keys).map(e=>this._values[e])}}let p=new c},3643:function(e,t,i){"use strict";i.d(t,{n:function(){return s}});var n=i(79915);let s=new class{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new n.Q5,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(e){this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus)}}},62432:function(e,t,i){"use strict";i.d(t,{Fz:function(){return y},Nl:function(){return C},RA:function(){return b},Tj:function(){return L},b6:function(){return S},pd:function(){return n}});var n,s=i(5938),o=i(81845),r=i(21887),l=i(69629),a=i(44634),d=i(44532),h=i(79915),u=i(70784),c=i(16735),g=i(95612),p=i(69217),m=i(84781),f=i(15232),_=i(99078),v=function(e,t){return function(i,n){t(i,n,e)}};(n||(n={})).Tap="-monaco-textarea-synthetic-tap";let b={forceCopyWithSyntaxHighlighting:!1};class C{constructor(){this._lastState=null}set(e,t){this._lastState={lastCopiedValue:e,data:t}}get(e){return this._lastState&&this._lastState.lastCopiedValue===e?this._lastState.data:(this._lastState=null,null)}}C.INSTANCE=new C;class w{constructor(){this._lastTypeTextLength=0}handleCompositionUpdate(e){e=e||"";let t={text:e,replacePrevCharCnt:this._lastTypeTextLength,replaceNextCharCnt:0,positionDelta:0};return this._lastTypeTextLength=e.length,t}}let y=class extends u.JT{get textAreaState(){return this._textAreaState}constructor(e,t,i,n,s,o){super(),this._host=e,this._textArea=t,this._OS=i,this._browser=n,this._accessibilityService=s,this._logService=o,this._onFocus=this._register(new h.Q5),this.onFocus=this._onFocus.event,this._onBlur=this._register(new h.Q5),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new h.Q5),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new h.Q5),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new h.Q5),this.onCut=this._onCut.event,this._onPaste=this._register(new h.Q5),this.onPaste=this._onPaste.event,this._onType=this._register(new h.Q5),this.onType=this._onType.event,this._onCompositionStart=this._register(new h.Q5),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new h.Q5),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new h.Q5),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new h.Q5),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._asyncFocusGainWriteScreenReaderContent=this._register(new u.XK),this._asyncTriggerCut=this._register(new d.pY(()=>this._onCut.fire(),0)),this._textAreaState=p.un.EMPTY,this._selectionChangeListener=null,this._accessibilityService.isScreenReaderOptimized()&&this.writeNativeTextAreaContent("ctor"),this._register(h.ju.runAndSubscribe(this._accessibilityService.onDidChangeScreenReaderOptimized,()=>{this._accessibilityService.isScreenReaderOptimized()&&!this._asyncFocusGainWriteScreenReaderContent.value?this._asyncFocusGainWriteScreenReaderContent.value=this._register(new d.pY(()=>this.writeNativeTextAreaContent("asyncFocusGain"),0)):this._asyncFocusGainWriteScreenReaderContent.clear()})),this._hasFocus=!1,this._currentComposition=null;let r=null;this._register(this._textArea.onKeyDown(e=>{let t=new l.y(e);(114===t.keyCode||this._currentComposition&&1===t.keyCode)&&t.stopPropagation(),t.equals(9)&&t.preventDefault(),r=t,this._onKeyDown.fire(t)})),this._register(this._textArea.onKeyUp(e=>{let t=new l.y(e);this._onKeyUp.fire(t)})),this._register(this._textArea.onCompositionStart(e=>{p.al&&console.log("[compositionstart]",e);let t=new w;if(this._currentComposition){this._currentComposition=t;return}if(this._currentComposition=t,2===this._OS&&r&&r.equals(114)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===e.data&&("ArrowRight"===r.code||"ArrowLeft"===r.code)){p.al&&console.log("[compositionstart] Handling long press case on macOS + arrow key",e),t.handleCompositionUpdate("x"),this._onCompositionStart.fire({data:e.data});return}if(this._browser.isAndroid){this._onCompositionStart.fire({data:e.data});return}this._onCompositionStart.fire({data:e.data})})),this._register(this._textArea.onCompositionUpdate(e=>{p.al&&console.log("[compositionupdate]",e);let t=this._currentComposition;if(!t)return;if(this._browser.isAndroid){let t=p.un.readFromTextArea(this._textArea,this._textAreaState),i=p.un.deduceAndroidCompositionInput(this._textAreaState,t);this._textAreaState=t,this._onType.fire(i),this._onCompositionUpdate.fire(e);return}let i=t.handleCompositionUpdate(e.data);this._textAreaState=p.un.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(i),this._onCompositionUpdate.fire(e)})),this._register(this._textArea.onCompositionEnd(e=>{p.al&&console.log("[compositionend]",e);let t=this._currentComposition;if(!t)return;if(this._currentComposition=null,this._browser.isAndroid){let e=p.un.readFromTextArea(this._textArea,this._textAreaState),t=p.un.deduceAndroidCompositionInput(this._textAreaState,e);this._textAreaState=e,this._onType.fire(t),this._onCompositionEnd.fire();return}let i=t.handleCompositionUpdate(e.data);this._textAreaState=p.un.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(i),this._onCompositionEnd.fire()})),this._register(this._textArea.onInput(e=>{if(p.al&&console.log("[input]",e),this._textArea.setIgnoreSelectionChangeTime("received input event"),this._currentComposition)return;let t=p.un.readFromTextArea(this._textArea,this._textAreaState),i=p.un.deduceInput(this._textAreaState,t,2===this._OS);0===i.replacePrevCharCnt&&1===i.text.length&&(g.ZG(i.text.charCodeAt(0))||127===i.text.charCodeAt(0))||(this._textAreaState=t,(""!==i.text||0!==i.replacePrevCharCnt||0!==i.replaceNextCharCnt||0!==i.positionDelta)&&this._onType.fire(i))})),this._register(this._textArea.onCut(e=>{this._textArea.setIgnoreSelectionChangeTime("received cut event"),this._ensureClipboardGetsEditorSelection(e),this._asyncTriggerCut.schedule()})),this._register(this._textArea.onCopy(e=>{this._ensureClipboardGetsEditorSelection(e)})),this._register(this._textArea.onPaste(e=>{if(this._textArea.setIgnoreSelectionChangeTime("received paste event"),e.preventDefault(),!e.clipboardData)return;let[t,i]=S.getTextData(e.clipboardData);t&&(i=i||C.INSTANCE.get(t),this._onPaste.fire({text:t,metadata:i}))})),this._register(this._textArea.onFocus(()=>{let e=this._hasFocus;this._setHasFocus(!0),this._accessibilityService.isScreenReaderOptimized()&&this._browser.isSafari&&!e&&this._hasFocus&&(this._asyncFocusGainWriteScreenReaderContent.value||(this._asyncFocusGainWriteScreenReaderContent.value=new d.pY(()=>this.writeNativeTextAreaContent("asyncFocusGain"),0)),this._asyncFocusGainWriteScreenReaderContent.value.schedule())})),this._register(this._textArea.onBlur(()=>{this._currentComposition&&(this._currentComposition=null,this.writeNativeTextAreaContent("blurWithoutCompositionEnd"),this._onCompositionEnd.fire()),this._setHasFocus(!1)})),this._register(this._textArea.onSyntheticTap(()=>{this._browser.isAndroid&&this._currentComposition&&(this._currentComposition=null,this.writeNativeTextAreaContent("tapWithoutCompositionEnd"),this._onCompositionEnd.fire())}))}_installSelectionChangeListener(){let e=0;return o.nm(this._textArea.ownerDocument,"selectionchange",t=>{if(a.B.onSelectionChange(),!this._hasFocus||this._currentComposition||!this._browser.isChrome)return;let i=Date.now(),n=i-e;if(e=i,n<5)return;let s=i-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),s<100||!this._textAreaState.selection)return;let o=this._textArea.getValue();if(this._textAreaState.value!==o)return;let r=this._textArea.getSelectionStart(),l=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===r&&this._textAreaState.selectionEnd===l)return;let d=this._textAreaState.deduceEditorPosition(r),h=this._host.deduceModelPosition(d[0],d[1],d[2]),u=this._textAreaState.deduceEditorPosition(l),c=this._host.deduceModelPosition(u[0],u[1],u[2]),g=new m.Y(h.lineNumber,h.column,c.lineNumber,c.column);this._onSelectionChangeRequest.fire(g)})}dispose(){super.dispose(),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}focusTextArea(){this._setHasFocus(!0),this.refreshFocusState()}isFocused(){return this._hasFocus}refreshFocusState(){this._setHasFocus(this._textArea.hasFocus())}_setHasFocus(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&this.writeNativeTextAreaContent("focusgain"),this._hasFocus?this._onFocus.fire():this._onBlur.fire())}_setAndWriteTextAreaState(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t}writeNativeTextAreaContent(e){(this._accessibilityService.isScreenReaderOptimized()||"render"!==e)&&!this._currentComposition&&(this._logService.trace(`writeTextAreaState(reason: ${e})`),this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent()))}_ensureClipboardGetsEditorSelection(e){let t=this._host.getDataToCopy(),i={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};C.INSTANCE.set(this._browser.isFirefox?t.text.replace(/\r\n/g,"\n"):t.text,i),e.preventDefault(),e.clipboardData&&S.setTextData(e.clipboardData,t.text,t.html,i)}};y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([v(4,f.F),v(5,_.VZ)],y);let S={getTextData(e){let t=e.getData(c.v.text),i=null,n=e.getData("vscode-editor-data");if("string"==typeof n)try{i=JSON.parse(n),1!==i.version&&(i=null)}catch(e){}if(0===t.length&&null===i&&e.files.length>0){let t=Array.prototype.slice.call(e.files,0);return[t.map(e=>e.name).join("\n"),null]}return[t,i]},setTextData(e,t,i,n){e.setData(c.v.text,t),"string"==typeof i&&e.setData("text/html",i),e.setData("vscode-editor-data",JSON.stringify(n))}};class L extends u.JT{get ownerDocument(){return this._actual.ownerDocument}constructor(e){super(),this._actual=e,this.onKeyDown=this._register(new r.Y(this._actual,"keydown")).event,this.onKeyUp=this._register(new r.Y(this._actual,"keyup")).event,this.onCompositionStart=this._register(new r.Y(this._actual,"compositionstart")).event,this.onCompositionUpdate=this._register(new r.Y(this._actual,"compositionupdate")).event,this.onCompositionEnd=this._register(new r.Y(this._actual,"compositionend")).event,this.onBeforeInput=this._register(new r.Y(this._actual,"beforeinput")).event,this.onInput=this._register(new r.Y(this._actual,"input")).event,this.onCut=this._register(new r.Y(this._actual,"cut")).event,this.onCopy=this._register(new r.Y(this._actual,"copy")).event,this.onPaste=this._register(new r.Y(this._actual,"paste")).event,this.onFocus=this._register(new r.Y(this._actual,"focus")).event,this.onBlur=this._register(new r.Y(this._actual,"blur")).event,this._onSyntheticTap=this._register(new h.Q5),this.onSyntheticTap=this._onSyntheticTap.event,this._ignoreSelectionChangeTime=0,this._register(this.onKeyDown(()=>a.B.onKeyDown())),this._register(this.onBeforeInput(()=>a.B.onBeforeInput())),this._register(this.onInput(()=>a.B.onInput())),this._register(this.onKeyUp(()=>a.B.onKeyUp())),this._register(o.nm(this._actual,n.Tap,()=>this._onSyntheticTap.fire()))}hasFocus(){let e=o.Ay(this._actual);return e?e.activeElement===this._actual:!!this._actual.isConnected&&o.vY()===this._actual}setIgnoreSelectionChangeTime(e){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.value}setValue(e,t){let i=this._actual;i.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),i.value=t)}getSelectionStart(){return"backward"===this._actual.selectionDirection?this._actual.selectionEnd:this._actual.selectionStart}getSelectionEnd(){return"backward"===this._actual.selectionDirection?this._actual.selectionStart:this._actual.selectionEnd}setSelectionRange(e,t,i){let n=this._actual,r=null,l=o.Ay(n);r=l?l.activeElement:o.vY();let a=o.Jj(r),d=r===n,h=n.selectionStart,u=n.selectionEnd;if(d&&h===t&&u===i){s.vU&&a.parent!==a&&n.focus();return}if(d){this.setIgnoreSelectionChangeTime("setSelectionRange"),n.setSelectionRange(t,i),s.vU&&a.parent!==a&&n.focus();return}try{let e=o.vL(n);this.setIgnoreSelectionChangeTime("setSelectionRange"),n.focus(),n.setSelectionRange(t,i),o._0(n,e)}catch(e){}}}},69217:function(e,t,i){"use strict";i.d(t,{al:function(){return o},ee:function(){return l},un:function(){return r}});var n=i(95612),s=i(70209);let o=!1;class r{constructor(e,t,i,n,s){this.value=e,this.selectionStart=t,this.selectionEnd=i,this.selection=n,this.newlineCountBeforeSelection=s}toString(){return`[ <${this.value}>, selectionStart: ${this.selectionStart}, selectionEnd: ${this.selectionEnd}]`}static readFromTextArea(e,t){let i;let n=e.getValue(),s=e.getSelectionStart(),o=e.getSelectionEnd();if(t){let e=n.substring(0,s),o=t.value.substring(0,t.selectionStart);e===o&&(i=t.newlineCountBeforeSelection)}return new r(n,s,o,null,i)}collapseSelection(){return this.selectionStart===this.value.length?this:new r(this.value,this.value.length,this.value.length,null,void 0)}writeToTextArea(e,t,i){o&&console.log(`writeToTextArea ${e}: ${this.toString()}`),t.setValue(e,this.value),i&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)}deduceEditorPosition(e){var t,i,n,s,o,r,l,a;if(e<=this.selectionStart){let n=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(null!==(i=null===(t=this.selection)||void 0===t?void 0:t.getStartPosition())&&void 0!==i?i:null,n,-1)}if(e>=this.selectionEnd){let t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(null!==(s=null===(n=this.selection)||void 0===n?void 0:n.getEndPosition())&&void 0!==s?s:null,t,1)}let d=this.value.substring(this.selectionStart,e);if(-1===d.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(null!==(r=null===(o=this.selection)||void 0===o?void 0:o.getStartPosition())&&void 0!==r?r:null,d,1);let h=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(null!==(a=null===(l=this.selection)||void 0===l?void 0:l.getEndPosition())&&void 0!==a?a:null,h,-1)}_finishDeduceEditorPosition(e,t,i){let n=0,s=-1;for(;-1!==(s=t.indexOf("\n",s+1));)n++;return[e,i*t.length,n]}static deduceInput(e,t,i){if(!e)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};o&&(console.log("------------------------deduceInput"),console.log(`PREVIOUS STATE: ${e.toString()}`),console.log(`CURRENT STATE: ${t.toString()}`));let s=Math.min(n.Mh(e.value,t.value),e.selectionStart,t.selectionStart),r=Math.min(n.P1(e.value,t.value),e.value.length-e.selectionEnd,t.value.length-t.selectionEnd),l=e.value.substring(s,e.value.length-r),a=t.value.substring(s,t.value.length-r),d=e.selectionStart-s,h=e.selectionEnd-s,u=t.selectionStart-s,c=t.selectionEnd-s;if(o&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${l}>, selectionStart: ${d}, selectionEnd: ${h}`),console.log(`AFTER DIFFING CURRENT STATE: <${a}>, selectionStart: ${u}, selectionEnd: ${c}`)),u===c){let t=e.selectionStart-s;return o&&console.log(`REMOVE PREVIOUS: ${t} chars`),{text:a,replacePrevCharCnt:t,replaceNextCharCnt:0,positionDelta:0}}return{text:a,replacePrevCharCnt:h-d,replaceNextCharCnt:0,positionDelta:0}}static deduceAndroidCompositionInput(e,t){if(!e)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};if(o&&(console.log("------------------------deduceAndroidCompositionInput"),console.log(`PREVIOUS STATE: ${e.toString()}`),console.log(`CURRENT STATE: ${t.toString()}`)),e.value===t.value)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:t.selectionEnd-e.selectionEnd};let i=Math.min(n.Mh(e.value,t.value),e.selectionEnd),s=Math.min(n.P1(e.value,t.value),e.value.length-e.selectionEnd),r=e.value.substring(i,e.value.length-s),l=t.value.substring(i,t.value.length-s),a=e.selectionStart-i,d=e.selectionEnd-i,h=t.selectionStart-i,u=t.selectionEnd-i;return o&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${r}>, selectionStart: ${a}, selectionEnd: ${d}`),console.log(`AFTER DIFFING CURRENT STATE: <${l}>, selectionStart: ${h}, selectionEnd: ${u}`)),{text:l,replacePrevCharCnt:d,replaceNextCharCnt:r.length-d,positionDelta:u-l.length}}}r.EMPTY=new r("",0,0,null,void 0);class l{static _getPageOfLine(e,t){return Math.floor((e-1)/t)}static _getRangeForPage(e,t){let i=e*t;return new s.e(i+1,1,i+t+1,1)}static fromEditorSelection(e,t,i,n){let o;let a=l._getPageOfLine(t.startLineNumber,i),d=l._getRangeForPage(a,i),h=l._getPageOfLine(t.endLineNumber,i),u=l._getRangeForPage(h,i),c=d.intersectRanges(new s.e(1,1,t.startLineNumber,t.startColumn));if(n&&e.getValueLengthInRange(c,1)>500){let t=e.modifyPosition(c.getEndPosition(),-500);c=s.e.fromPositions(t,c.getEndPosition())}let g=e.getValueInRange(c,1),p=e.getLineCount(),m=e.getLineMaxColumn(p),f=u.intersectRanges(new s.e(t.endLineNumber,t.endColumn,p,m));if(n&&e.getValueLengthInRange(f,1)>500){let t=e.modifyPosition(f.getStartPosition(),500);f=s.e.fromPositions(f.getStartPosition(),t)}let _=e.getValueInRange(f,1);if(a===h||a+1===h)o=e.getValueInRange(t,1);else{let i=d.intersectRanges(t),n=u.intersectRanges(t);o=e.getValueInRange(i,1)+String.fromCharCode(8230)+e.getValueInRange(n,1)}return n&&o.length>1e3&&(o=o.substring(0,500)+String.fromCharCode(8230)+o.substring(o.length-500,o.length)),new r(g+o+_,g.length,g.length+o.length,t,c.endLineNumber-c.startLineNumber)}}},31415:function(e,t,i){"use strict";i.d(t,{wk:function(){return a},Ox:function(){return l}});var n,s,o,r,l,a,d=i(82801),h=i(5938),u=i(24162),c=i(16506),g=i(82508),p=i(70208),m=i(2474),f=i(86570),_=i(70209);class v{static columnSelect(e,t,i,n,s,o){let r=Math.abs(s-i)+1,l=i>s,a=n>o,d=no||pn||g0&&n--,v.columnSelect(e,t,i.fromViewLineNumber,i.fromViewVisualColumn,i.toViewLineNumber,n)}static columnSelectRight(e,t,i){let n=0,s=Math.min(i.fromViewLineNumber,i.toViewLineNumber),o=Math.max(i.fromViewLineNumber,i.toViewLineNumber);for(let i=s;i<=o;i++){let s=t.getLineMaxColumn(i),o=e.visibleColumnFromColumn(t,new f.L(i,s));n=Math.max(n,o)}let r=i.toViewVisualColumn;return ri.e(1114).then(i.bind(i,41114))})},50950:function(e,t,i){"use strict";i.d(t,{N:function(){return s}});var n=i(82878);function s(e,t){e instanceof n.Z?(e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setFontVariationSettings(t.fontVariationSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)):(e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.fontVariationSettings=t.fontVariationSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px")}},87733:function(e,t,i){"use strict";i.d(t,{I:function(){return r}});var n=i(70784),s=i(79915),o=i(81845);class r extends n.JT{constructor(e,t){super(),this._onDidChange=this._register(new s.Q5),this.onDidChange=this._onDidChange.event,this._referenceDomElement=e,this._width=-1,this._height=-1,this._resizeObserver=null,this.measureReferenceDomElement(!1,t)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this._width}getHeight(){return this._height}startObserving(){if(!this._resizeObserver&&this._referenceDomElement){let e=null,t=()=>{e?this.observe({width:e.width,height:e.height}):this.observe()},i=!1,n=!1,s=()=>{if(i&&!n)try{i=!1,n=!0,t()}finally{(0,o.jL)((0,o.Jj)(this._referenceDomElement),()=>{n=!1,s()})}};this._resizeObserver=new ResizeObserver(t=>{e=t&&t[0]&&t[0].contentRect?{width:t[0].contentRect.width,height:t[0].contentRect.height}:null,i=!0,s()}),this._resizeObserver.observe(this._referenceDomElement)}}stopObserving(){this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}observe(e){this.measureReferenceDomElement(!0,e)}measureReferenceDomElement(e,t){let i=0,n=0;t?(i=t.width,n=t.height):this._referenceDomElement&&(i=this._referenceDomElement.clientWidth,n=this._referenceDomElement.clientHeight),i=Math.max(5,i),n=Math.max(5,n),(this._width!==i||this._height!==n)&&(this._width=i,this._height=n,e&&this._onDidChange.fire())}}},66219:function(e,t,i){"use strict";i.d(t,{g:function(){return p}});var n=i(81845),s=i(96825),o=i(79915),r=i(70784),l=i(50950);class a{constructor(e,t){this.chr=e,this.type=t,this.width=0}fulfill(e){this.width=e}}class d{constructor(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}read(e){this._createDomElements(),e.document.body.appendChild(this._container),this._readFromDomElements(),e.document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){let e=document.createElement("div");e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px";let t=document.createElement("div");(0,l.N)(t,this._bareFontInfo),e.appendChild(t);let i=document.createElement("div");(0,l.N)(i,this._bareFontInfo),i.style.fontWeight="bold",e.appendChild(i);let n=document.createElement("div");(0,l.N)(n,this._bareFontInfo),n.style.fontStyle="italic",e.appendChild(n);let s=[];for(let e of this._requests){let o;0===e.type&&(o=t),2===e.type&&(o=i),1===e.type&&(o=n),o.appendChild(document.createElement("br"));let r=document.createElement("span");d._render(r,e),o.appendChild(r),s.push(r)}this._container=e,this._testElements=s}static _render(e,t){if(" "===t.chr){let t="\xa0";for(let e=0;e<8;e++)t+=t;e.innerText=t}else{let i=t.chr;for(let e=0;e<8;e++)i+=i;e.textContent=i}}_readFromDomElements(){for(let e=0,t=this._requests.length;e{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings(e)},5e3))}_evictUntrustedReadings(e){let t=this._ensureCache(e),i=t.getValues(),n=!1;for(let e of i)e.isTrusted||(n=!0,t.remove(e));n&&this._onDidChange.fire()}readFontInfo(e,t){let i=this._ensureCache(e);if(!i.has(t)){let i=this._actualReadFontInfo(e,t);(i.typicalHalfwidthCharacterWidth<=2||i.typicalFullwidthCharacterWidth<=2||i.spaceWidth<=2||i.maxDigitWidth<=2)&&(i=new u.pR({pixelRatio:s.T.getInstance(e).value,fontFamily:i.fontFamily,fontWeight:i.fontWeight,fontSize:i.fontSize,fontFeatureSettings:i.fontFeatureSettings,fontVariationSettings:i.fontVariationSettings,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing,isMonospace:i.isMonospace,typicalHalfwidthCharacterWidth:Math.max(i.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(i.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:i.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(i.spaceWidth,5),middotWidth:Math.max(i.middotWidth,5),wsmiddotWidth:Math.max(i.wsmiddotWidth,5),maxDigitWidth:Math.max(i.maxDigitWidth,5)},!1)),this._writeToCache(e,t,i)}return i.get(t)}_createRequest(e,t,i,n){let s=new a(e,t);return i.push(s),null==n||n.push(s),s}_actualReadFontInfo(e,t){let i=[],n=[],o=this._createRequest("n",0,i,n),r=this._createRequest("m",0,i,null),l=this._createRequest(" ",0,i,n),a=this._createRequest("0",0,i,n),c=this._createRequest("1",0,i,n),g=this._createRequest("2",0,i,n),p=this._createRequest("3",0,i,n),m=this._createRequest("4",0,i,n),f=this._createRequest("5",0,i,n),_=this._createRequest("6",0,i,n),v=this._createRequest("7",0,i,n),b=this._createRequest("8",0,i,n),C=this._createRequest("9",0,i,n),w=this._createRequest("→",0,i,n),y=this._createRequest("→",0,i,null),S=this._createRequest("\xb7",0,i,n),L=this._createRequest(String.fromCharCode(11825),0,i,null),k="|/-_ilm%";for(let e=0,t=k.length;e.001){x=!1;break}}let E=!0;return x&&y.width!==N&&(E=!1),y.width>w.width&&(E=!1),new u.pR({pixelRatio:s.T.getInstance(e).value,fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,fontFeatureSettings:t.fontFeatureSettings,fontVariationSettings:t.fontVariationSettings,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:x,typicalHalfwidthCharacterWidth:o.width,typicalFullwidthCharacterWidth:r.width,canUseHalfwidthRightwardsArrow:E,spaceWidth:l.width,middotWidth:S.width,wsmiddotWidth:L.width,maxDigitWidth:D},!0)}}class g{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(e){let t=e.getId();return!!this._values[t]}get(e){let t=e.getId();return this._values[t]}put(e,t){let i=e.getId();this._keys[i]=e,this._values[i]=t}remove(e){let t=e.getId();delete this._keys[t],delete this._values[t]}getValues(){return Object.keys(this._keys).map(e=>this._values[e])}}let p=new c},3643:function(e,t,i){"use strict";i.d(t,{n:function(){return s}});var n=i(79915);let s=new class{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new n.Q5,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(e){this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus)}}},62432:function(e,t,i){"use strict";i.d(t,{Fz:function(){return y},Nl:function(){return C},RA:function(){return b},Tj:function(){return L},b6:function(){return S},pd:function(){return n}});var n,s=i(5938),o=i(81845),r=i(21887),l=i(69629),a=i(65185),d=i(44532),h=i(79915),u=i(70784),c=i(16735),g=i(95612),p=i(69217),m=i(84781),f=i(15232),_=i(99078),v=function(e,t){return function(i,n){t(i,n,e)}};(n||(n={})).Tap="-monaco-textarea-synthetic-tap";let b={forceCopyWithSyntaxHighlighting:!1};class C{constructor(){this._lastState=null}set(e,t){this._lastState={lastCopiedValue:e,data:t}}get(e){return this._lastState&&this._lastState.lastCopiedValue===e?this._lastState.data:(this._lastState=null,null)}}C.INSTANCE=new C;class w{constructor(){this._lastTypeTextLength=0}handleCompositionUpdate(e){e=e||"";let t={text:e,replacePrevCharCnt:this._lastTypeTextLength,replaceNextCharCnt:0,positionDelta:0};return this._lastTypeTextLength=e.length,t}}let y=class extends u.JT{get textAreaState(){return this._textAreaState}constructor(e,t,i,n,s,o){super(),this._host=e,this._textArea=t,this._OS=i,this._browser=n,this._accessibilityService=s,this._logService=o,this._onFocus=this._register(new h.Q5),this.onFocus=this._onFocus.event,this._onBlur=this._register(new h.Q5),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new h.Q5),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new h.Q5),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new h.Q5),this.onCut=this._onCut.event,this._onPaste=this._register(new h.Q5),this.onPaste=this._onPaste.event,this._onType=this._register(new h.Q5),this.onType=this._onType.event,this._onCompositionStart=this._register(new h.Q5),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new h.Q5),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new h.Q5),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new h.Q5),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._asyncFocusGainWriteScreenReaderContent=this._register(new u.XK),this._asyncTriggerCut=this._register(new d.pY(()=>this._onCut.fire(),0)),this._textAreaState=p.un.EMPTY,this._selectionChangeListener=null,this._accessibilityService.isScreenReaderOptimized()&&this.writeNativeTextAreaContent("ctor"),this._register(h.ju.runAndSubscribe(this._accessibilityService.onDidChangeScreenReaderOptimized,()=>{this._accessibilityService.isScreenReaderOptimized()&&!this._asyncFocusGainWriteScreenReaderContent.value?this._asyncFocusGainWriteScreenReaderContent.value=this._register(new d.pY(()=>this.writeNativeTextAreaContent("asyncFocusGain"),0)):this._asyncFocusGainWriteScreenReaderContent.clear()})),this._hasFocus=!1,this._currentComposition=null;let r=null;this._register(this._textArea.onKeyDown(e=>{let t=new l.y(e);(114===t.keyCode||this._currentComposition&&1===t.keyCode)&&t.stopPropagation(),t.equals(9)&&t.preventDefault(),r=t,this._onKeyDown.fire(t)})),this._register(this._textArea.onKeyUp(e=>{let t=new l.y(e);this._onKeyUp.fire(t)})),this._register(this._textArea.onCompositionStart(e=>{p.al&&console.log("[compositionstart]",e);let t=new w;if(this._currentComposition){this._currentComposition=t;return}if(this._currentComposition=t,2===this._OS&&r&&r.equals(114)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===e.data&&("ArrowRight"===r.code||"ArrowLeft"===r.code)){p.al&&console.log("[compositionstart] Handling long press case on macOS + arrow key",e),t.handleCompositionUpdate("x"),this._onCompositionStart.fire({data:e.data});return}if(this._browser.isAndroid){this._onCompositionStart.fire({data:e.data});return}this._onCompositionStart.fire({data:e.data})})),this._register(this._textArea.onCompositionUpdate(e=>{p.al&&console.log("[compositionupdate]",e);let t=this._currentComposition;if(!t)return;if(this._browser.isAndroid){let t=p.un.readFromTextArea(this._textArea,this._textAreaState),i=p.un.deduceAndroidCompositionInput(this._textAreaState,t);this._textAreaState=t,this._onType.fire(i),this._onCompositionUpdate.fire(e);return}let i=t.handleCompositionUpdate(e.data);this._textAreaState=p.un.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(i),this._onCompositionUpdate.fire(e)})),this._register(this._textArea.onCompositionEnd(e=>{p.al&&console.log("[compositionend]",e);let t=this._currentComposition;if(!t)return;if(this._currentComposition=null,this._browser.isAndroid){let e=p.un.readFromTextArea(this._textArea,this._textAreaState),t=p.un.deduceAndroidCompositionInput(this._textAreaState,e);this._textAreaState=e,this._onType.fire(t),this._onCompositionEnd.fire();return}let i=t.handleCompositionUpdate(e.data);this._textAreaState=p.un.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(i),this._onCompositionEnd.fire()})),this._register(this._textArea.onInput(e=>{if(p.al&&console.log("[input]",e),this._textArea.setIgnoreSelectionChangeTime("received input event"),this._currentComposition)return;let t=p.un.readFromTextArea(this._textArea,this._textAreaState),i=p.un.deduceInput(this._textAreaState,t,2===this._OS);0===i.replacePrevCharCnt&&1===i.text.length&&(g.ZG(i.text.charCodeAt(0))||127===i.text.charCodeAt(0))||(this._textAreaState=t,(""!==i.text||0!==i.replacePrevCharCnt||0!==i.replaceNextCharCnt||0!==i.positionDelta)&&this._onType.fire(i))})),this._register(this._textArea.onCut(e=>{this._textArea.setIgnoreSelectionChangeTime("received cut event"),this._ensureClipboardGetsEditorSelection(e),this._asyncTriggerCut.schedule()})),this._register(this._textArea.onCopy(e=>{this._ensureClipboardGetsEditorSelection(e)})),this._register(this._textArea.onPaste(e=>{if(this._textArea.setIgnoreSelectionChangeTime("received paste event"),e.preventDefault(),!e.clipboardData)return;let[t,i]=S.getTextData(e.clipboardData);t&&(i=i||C.INSTANCE.get(t),this._onPaste.fire({text:t,metadata:i}))})),this._register(this._textArea.onFocus(()=>{let e=this._hasFocus;this._setHasFocus(!0),this._accessibilityService.isScreenReaderOptimized()&&this._browser.isSafari&&!e&&this._hasFocus&&(this._asyncFocusGainWriteScreenReaderContent.value||(this._asyncFocusGainWriteScreenReaderContent.value=new d.pY(()=>this.writeNativeTextAreaContent("asyncFocusGain"),0)),this._asyncFocusGainWriteScreenReaderContent.value.schedule())})),this._register(this._textArea.onBlur(()=>{this._currentComposition&&(this._currentComposition=null,this.writeNativeTextAreaContent("blurWithoutCompositionEnd"),this._onCompositionEnd.fire()),this._setHasFocus(!1)})),this._register(this._textArea.onSyntheticTap(()=>{this._browser.isAndroid&&this._currentComposition&&(this._currentComposition=null,this.writeNativeTextAreaContent("tapWithoutCompositionEnd"),this._onCompositionEnd.fire())}))}_installSelectionChangeListener(){let e=0;return o.nm(this._textArea.ownerDocument,"selectionchange",t=>{if(a.B.onSelectionChange(),!this._hasFocus||this._currentComposition||!this._browser.isChrome)return;let i=Date.now(),n=i-e;if(e=i,n<5)return;let s=i-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),s<100||!this._textAreaState.selection)return;let o=this._textArea.getValue();if(this._textAreaState.value!==o)return;let r=this._textArea.getSelectionStart(),l=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===r&&this._textAreaState.selectionEnd===l)return;let d=this._textAreaState.deduceEditorPosition(r),h=this._host.deduceModelPosition(d[0],d[1],d[2]),u=this._textAreaState.deduceEditorPosition(l),c=this._host.deduceModelPosition(u[0],u[1],u[2]),g=new m.Y(h.lineNumber,h.column,c.lineNumber,c.column);this._onSelectionChangeRequest.fire(g)})}dispose(){super.dispose(),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}focusTextArea(){this._setHasFocus(!0),this.refreshFocusState()}isFocused(){return this._hasFocus}refreshFocusState(){this._setHasFocus(this._textArea.hasFocus())}_setHasFocus(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&this.writeNativeTextAreaContent("focusgain"),this._hasFocus?this._onFocus.fire():this._onBlur.fire())}_setAndWriteTextAreaState(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t}writeNativeTextAreaContent(e){(this._accessibilityService.isScreenReaderOptimized()||"render"!==e)&&!this._currentComposition&&(this._logService.trace(`writeTextAreaState(reason: ${e})`),this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent()))}_ensureClipboardGetsEditorSelection(e){let t=this._host.getDataToCopy(),i={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};C.INSTANCE.set(this._browser.isFirefox?t.text.replace(/\r\n/g,"\n"):t.text,i),e.preventDefault(),e.clipboardData&&S.setTextData(e.clipboardData,t.text,t.html,i)}};y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([v(4,f.F),v(5,_.VZ)],y);let S={getTextData(e){let t=e.getData(c.v.text),i=null,n=e.getData("vscode-editor-data");if("string"==typeof n)try{i=JSON.parse(n),1!==i.version&&(i=null)}catch(e){}if(0===t.length&&null===i&&e.files.length>0){let t=Array.prototype.slice.call(e.files,0);return[t.map(e=>e.name).join("\n"),null]}return[t,i]},setTextData(e,t,i,n){e.setData(c.v.text,t),"string"==typeof i&&e.setData("text/html",i),e.setData("vscode-editor-data",JSON.stringify(n))}};class L extends u.JT{get ownerDocument(){return this._actual.ownerDocument}constructor(e){super(),this._actual=e,this.onKeyDown=this._register(new r.Y(this._actual,"keydown")).event,this.onKeyUp=this._register(new r.Y(this._actual,"keyup")).event,this.onCompositionStart=this._register(new r.Y(this._actual,"compositionstart")).event,this.onCompositionUpdate=this._register(new r.Y(this._actual,"compositionupdate")).event,this.onCompositionEnd=this._register(new r.Y(this._actual,"compositionend")).event,this.onBeforeInput=this._register(new r.Y(this._actual,"beforeinput")).event,this.onInput=this._register(new r.Y(this._actual,"input")).event,this.onCut=this._register(new r.Y(this._actual,"cut")).event,this.onCopy=this._register(new r.Y(this._actual,"copy")).event,this.onPaste=this._register(new r.Y(this._actual,"paste")).event,this.onFocus=this._register(new r.Y(this._actual,"focus")).event,this.onBlur=this._register(new r.Y(this._actual,"blur")).event,this._onSyntheticTap=this._register(new h.Q5),this.onSyntheticTap=this._onSyntheticTap.event,this._ignoreSelectionChangeTime=0,this._register(this.onKeyDown(()=>a.B.onKeyDown())),this._register(this.onBeforeInput(()=>a.B.onBeforeInput())),this._register(this.onInput(()=>a.B.onInput())),this._register(this.onKeyUp(()=>a.B.onKeyUp())),this._register(o.nm(this._actual,n.Tap,()=>this._onSyntheticTap.fire()))}hasFocus(){let e=o.Ay(this._actual);return e?e.activeElement===this._actual:!!this._actual.isConnected&&o.vY()===this._actual}setIgnoreSelectionChangeTime(e){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.value}setValue(e,t){let i=this._actual;i.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),i.value=t)}getSelectionStart(){return"backward"===this._actual.selectionDirection?this._actual.selectionEnd:this._actual.selectionStart}getSelectionEnd(){return"backward"===this._actual.selectionDirection?this._actual.selectionStart:this._actual.selectionEnd}setSelectionRange(e,t,i){let n=this._actual,r=null,l=o.Ay(n);r=l?l.activeElement:o.vY();let a=o.Jj(r),d=r===n,h=n.selectionStart,u=n.selectionEnd;if(d&&h===t&&u===i){s.vU&&a.parent!==a&&n.focus();return}if(d){this.setIgnoreSelectionChangeTime("setSelectionRange"),n.setSelectionRange(t,i),s.vU&&a.parent!==a&&n.focus();return}try{let e=o.vL(n);this.setIgnoreSelectionChangeTime("setSelectionRange"),n.focus(),n.setSelectionRange(t,i),o._0(n,e)}catch(e){}}}},69217:function(e,t,i){"use strict";i.d(t,{al:function(){return o},ee:function(){return l},un:function(){return r}});var n=i(95612),s=i(70209);let o=!1;class r{constructor(e,t,i,n,s){this.value=e,this.selectionStart=t,this.selectionEnd=i,this.selection=n,this.newlineCountBeforeSelection=s}toString(){return`[ <${this.value}>, selectionStart: ${this.selectionStart}, selectionEnd: ${this.selectionEnd}]`}static readFromTextArea(e,t){let i;let n=e.getValue(),s=e.getSelectionStart(),o=e.getSelectionEnd();if(t){let e=n.substring(0,s),o=t.value.substring(0,t.selectionStart);e===o&&(i=t.newlineCountBeforeSelection)}return new r(n,s,o,null,i)}collapseSelection(){return this.selectionStart===this.value.length?this:new r(this.value,this.value.length,this.value.length,null,void 0)}writeToTextArea(e,t,i){o&&console.log(`writeToTextArea ${e}: ${this.toString()}`),t.setValue(e,this.value),i&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)}deduceEditorPosition(e){var t,i,n,s,o,r,l,a;if(e<=this.selectionStart){let n=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(null!==(i=null===(t=this.selection)||void 0===t?void 0:t.getStartPosition())&&void 0!==i?i:null,n,-1)}if(e>=this.selectionEnd){let t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(null!==(s=null===(n=this.selection)||void 0===n?void 0:n.getEndPosition())&&void 0!==s?s:null,t,1)}let d=this.value.substring(this.selectionStart,e);if(-1===d.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(null!==(r=null===(o=this.selection)||void 0===o?void 0:o.getStartPosition())&&void 0!==r?r:null,d,1);let h=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(null!==(a=null===(l=this.selection)||void 0===l?void 0:l.getEndPosition())&&void 0!==a?a:null,h,-1)}_finishDeduceEditorPosition(e,t,i){let n=0,s=-1;for(;-1!==(s=t.indexOf("\n",s+1));)n++;return[e,i*t.length,n]}static deduceInput(e,t,i){if(!e)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};o&&(console.log("------------------------deduceInput"),console.log(`PREVIOUS STATE: ${e.toString()}`),console.log(`CURRENT STATE: ${t.toString()}`));let s=Math.min(n.Mh(e.value,t.value),e.selectionStart,t.selectionStart),r=Math.min(n.P1(e.value,t.value),e.value.length-e.selectionEnd,t.value.length-t.selectionEnd),l=e.value.substring(s,e.value.length-r),a=t.value.substring(s,t.value.length-r),d=e.selectionStart-s,h=e.selectionEnd-s,u=t.selectionStart-s,c=t.selectionEnd-s;if(o&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${l}>, selectionStart: ${d}, selectionEnd: ${h}`),console.log(`AFTER DIFFING CURRENT STATE: <${a}>, selectionStart: ${u}, selectionEnd: ${c}`)),u===c){let t=e.selectionStart-s;return o&&console.log(`REMOVE PREVIOUS: ${t} chars`),{text:a,replacePrevCharCnt:t,replaceNextCharCnt:0,positionDelta:0}}return{text:a,replacePrevCharCnt:h-d,replaceNextCharCnt:0,positionDelta:0}}static deduceAndroidCompositionInput(e,t){if(!e)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};if(o&&(console.log("------------------------deduceAndroidCompositionInput"),console.log(`PREVIOUS STATE: ${e.toString()}`),console.log(`CURRENT STATE: ${t.toString()}`)),e.value===t.value)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:t.selectionEnd-e.selectionEnd};let i=Math.min(n.Mh(e.value,t.value),e.selectionEnd),s=Math.min(n.P1(e.value,t.value),e.value.length-e.selectionEnd),r=e.value.substring(i,e.value.length-s),l=t.value.substring(i,t.value.length-s),a=e.selectionStart-i,d=e.selectionEnd-i,h=t.selectionStart-i,u=t.selectionEnd-i;return o&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${r}>, selectionStart: ${a}, selectionEnd: ${d}`),console.log(`AFTER DIFFING CURRENT STATE: <${l}>, selectionStart: ${h}, selectionEnd: ${u}`)),{text:l,replacePrevCharCnt:d,replaceNextCharCnt:r.length-d,positionDelta:u-l.length}}}r.EMPTY=new r("",0,0,null,void 0);class l{static _getPageOfLine(e,t){return Math.floor((e-1)/t)}static _getRangeForPage(e,t){let i=e*t;return new s.e(i+1,1,i+t+1,1)}static fromEditorSelection(e,t,i,n){let o;let a=l._getPageOfLine(t.startLineNumber,i),d=l._getRangeForPage(a,i),h=l._getPageOfLine(t.endLineNumber,i),u=l._getRangeForPage(h,i),c=d.intersectRanges(new s.e(1,1,t.startLineNumber,t.startColumn));if(n&&e.getValueLengthInRange(c,1)>500){let t=e.modifyPosition(c.getEndPosition(),-500);c=s.e.fromPositions(t,c.getEndPosition())}let g=e.getValueInRange(c,1),p=e.getLineCount(),m=e.getLineMaxColumn(p),f=u.intersectRanges(new s.e(t.endLineNumber,t.endColumn,p,m));if(n&&e.getValueLengthInRange(f,1)>500){let t=e.modifyPosition(f.getStartPosition(),500);f=s.e.fromPositions(f.getStartPosition(),t)}let _=e.getValueInRange(f,1);if(a===h||a+1===h)o=e.getValueInRange(t,1);else{let i=d.intersectRanges(t),n=u.intersectRanges(t);o=e.getValueInRange(i,1)+String.fromCharCode(8230)+e.getValueInRange(n,1)}return n&&o.length>1e3&&(o=o.substring(0,500)+String.fromCharCode(8230)+o.substring(o.length-500,o.length)),new r(g+o+_,g.length,g.length+o.length,t,c.endLineNumber-c.startLineNumber)}}},31415:function(e,t,i){"use strict";i.d(t,{wk:function(){return a},Ox:function(){return l}});var n,s,o,r,l,a,d=i(82801),h=i(5938),u=i(24162),c=i(16506),g=i(82508),p=i(70208),m=i(2474),f=i(86570),_=i(70209);class v{static columnSelect(e,t,i,n,s,o){let r=Math.abs(s-i)+1,l=i>s,a=n>o,d=no||pn||g0&&n--,v.columnSelect(e,t,i.fromViewLineNumber,i.fromViewVisualColumn,i.toViewLineNumber,n)}static columnSelectRight(e,t,i){let n=0,s=Math.min(i.fromViewLineNumber,i.toViewLineNumber),o=Math.max(i.fromViewLineNumber,i.toViewLineNumber);for(let i=s;i<=o;i++){let s=t.getLineMaxColumn(i),o=e.visibleColumnFromColumn(t,new f.L(i,s));n=Math.max(n,o)}let r=i.toViewVisualColumn;return r{let i=e.get(p.$).getFocusedCodeEditor();return!!(i&&i.hasTextFocus())&&this._runEditorCommand(e,i,t)}),e.addImplementation(1e3,"generic-dom-input-textarea",(e,t)=>{let i=(0,k.vY)();return!!(i&&["input","textarea"].indexOf(i.tagName.toLowerCase())>=0)&&(this.runDOMCommand(i),!0)}),e.addImplementation(0,"generic-dom",(e,t)=>{let i=e.get(p.$).getActiveCodeEditor();return!!i&&(i.focus(),this._runEditorCommand(e,i,t))})}_runEditorCommand(e,t,i){let n=this.runEditorCommand(e,t,i);return!n||n}}!function(e){class t extends D{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){if(!t.position)return;e.model.pushStackElement();let i=e.setCursorStates(t.source,3,[C.P.moveTo(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position,t.viewPosition)]);i&&2!==t.revealType&&e.revealAllCursors(t.source,!0,!0)}}e.MoveTo=(0,g.fK)(new t({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),e.MoveToSelect=(0,g.fK)(new t({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));class i extends D{runCoreEditorCommand(e,t){e.model.pushStackElement();let i=this._getColumnSelectResult(e,e.getPrimaryCursorState(),e.getCursorColumnSelectData(),t);null!==i&&(e.setCursorStates(t.source,3,i.viewStates.map(e=>m.Vi.fromViewState(e))),e.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:i.fromLineNumber,fromViewVisualColumn:i.fromVisualColumn,toViewLineNumber:i.toLineNumber,toViewVisualColumn:i.toVisualColumn}),i.reversed?e.revealTopMostCursor(t.source):e.revealBottomMostCursor(t.source))}}e.ColumnSelect=(0,g.fK)(new class extends i{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(e,t,i,n){if(void 0===n.position||void 0===n.viewPosition||void 0===n.mouseColumn)return null;let s=e.model.validatePosition(n.position),o=e.coordinatesConverter.validateViewPosition(new f.L(n.viewPosition.lineNumber,n.viewPosition.column),s),r=n.doColumnSelect?i.fromViewLineNumber:o.lineNumber,l=n.doColumnSelect?i.fromViewVisualColumn:n.mouseColumn-1;return v.columnSelect(e.cursorConfig,e,r,l,o.lineNumber,n.mouseColumn-1)}}),e.CursorColumnSelectLeft=(0,g.fK)(new class extends i{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(e,t,i,n){return v.columnSelectLeft(e.cursorConfig,e,i)}}),e.CursorColumnSelectRight=(0,g.fK)(new class extends i{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(e,t,i,n){return v.columnSelectRight(e.cursorConfig,e,i)}});class n extends i{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,i,n){return v.columnSelectUp(e.cursorConfig,e,i,this._isPaged)}}e.CursorColumnSelectUp=(0,g.fK)(new n({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3600,linux:{primary:0}}})),e.CursorColumnSelectPageUp=(0,g.fK)(new n({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3595,linux:{primary:0}}}));class s extends i{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,i,n){return v.columnSelectDown(e.cursorConfig,e,i,this._isPaged)}}e.CursorColumnSelectDown=(0,g.fK)(new s({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3602,linux:{primary:0}}})),e.CursorColumnSelectPageDown=(0,g.fK)(new s({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3596,linux:{primary:0}}}));class l extends D{constructor(){super({id:"cursorMove",precondition:void 0,metadata:C.N.metadata})}runCoreEditorCommand(e,t){let i=C.N.parse(t);i&&this._runCursorMove(e,t.source,i)}_runCursorMove(e,t,i){e.model.pushStackElement(),e.setCursorStates(t,3,l._move(e,e.getCursorStates(),i)),e.revealAllCursors(t,!0)}static _move(e,t,i){let n=i.select,s=i.value;switch(i.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:return C.P.simpleMove(e,t,i.direction,n,s,i.unit);case 11:case 13:case 12:case 14:return C.P.viewportMove(e,t,i.direction,n,s);default:return null}}}e.CursorMoveImpl=l,e.CursorMove=(0,g.fK)(new l);class a extends D{constructor(e){super(e),this._staticArgs=e.args}runCoreEditorCommand(e,t){let i=this._staticArgs;-1===this._staticArgs.value&&(i={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:t.pageSize||e.cursorConfig.pageSize}),e.model.pushStackElement(),e.setCursorStates(t.source,3,C.P.simpleMove(e,e.getCursorStates(),i.direction,i.select,i.value,i.unit)),e.revealAllCursors(t.source,!0)}}e.CursorLeft=(0,g.fK)(new a({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),e.CursorLeftSelect=(0,g.fK)(new a({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1039}})),e.CursorRight=(0,g.fK)(new a({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),e.CursorRightSelect=(0,g.fK)(new a({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1041}})),e.CursorUp=(0,g.fK)(new a({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),e.CursorUpSelect=(0,g.fK)(new a({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),e.CursorPageUp=(0,g.fK)(new a({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:11}})),e.CursorPageUpSelect=(0,g.fK)(new a({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1035}})),e.CursorDown=(0,g.fK)(new a({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),e.CursorDownSelect=(0,g.fK)(new a({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),e.CursorPageDown=(0,g.fK)(new a({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:12}})),e.CursorPageDownSelect=(0,g.fK)(new a({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1036}})),e.CreateCursor=(0,g.fK)(new class extends D{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(e,t){let i;if(!t.position)return;i=t.wholeLine?C.P.line(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition):C.P.moveTo(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition);let n=e.getCursorStates();if(n.length>1){let s=i.modelState?i.modelState.position:null,o=i.viewState?i.viewState.position:null;for(let i=0,r=n.length;is&&(n=s);let o=new _.e(n,1,n,e.model.getLineMaxColumn(n)),l=0;if(t.at)switch(t.at){case r.RawAtArgument.Top:l=3;break;case r.RawAtArgument.Center:l=1;break;case r.RawAtArgument.Bottom:l=4}let a=e.coordinatesConverter.convertModelRangeToViewRange(o);e.revealRange(t.source,!1,a,l,0)}}),e.SelectAll=new class extends x{constructor(){super(g.Sq)}runDOMCommand(e){h.vU&&(e.focus(),e.select()),e.ownerDocument.execCommand("selectAll")}runEditorCommand(e,t,i){let n=t._getViewModel();n&&this.runCoreEditorCommand(n,i)}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates("keyboard",3,[C.P.selectAll(e,e.getPrimaryCursorState())])}},e.SetSelection=(0,g.fK)(new class extends D{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(e,t){t.selection&&(e.model.pushStackElement(),e.setCursorStates(t.source,3,[m.Vi.fromModelSelection(t.selection)]))}})}(l||(l={}));let N=S.Ao.and(y.u.textInputFocus,y.u.columnSelection);function E(e,t){L.W.registerKeybindingRule({id:e,primary:t,when:N,weight:1})}function I(e){return e.register(),e}E(l.CursorColumnSelectLeft.id,1039),E(l.CursorColumnSelectRight.id,1041),E(l.CursorColumnSelectUp.id,1040),E(l.CursorColumnSelectPageUp.id,1035),E(l.CursorColumnSelectDown.id,1042),E(l.CursorColumnSelectPageDown.id,1036),function(e){class t extends g._l{runEditorCommand(e,t,i){let n=t._getViewModel();n&&this.runCoreEditingCommand(t,n,i||{})}}e.CoreEditingCommand=t,e.LineBreakInsert=(0,g.fK)(new class extends t{constructor(){super({id:"lineBreakInsert",precondition:y.u.writable,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,w.u6.lineBreakInsert(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection)))}}),e.Outdent=(0,g.fK)(new class extends t{constructor(){super({id:"outdent",precondition:y.u.writable,kbOpts:{weight:0,kbExpr:S.Ao.and(y.u.editorTextFocus,y.u.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,w.u6.outdent(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),e.Tab=(0,g.fK)(new class extends t{constructor(){super({id:"tab",precondition:y.u.writable,kbOpts:{weight:0,kbExpr:S.Ao.and(y.u.editorTextFocus,y.u.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,w.u6.tab(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),e.DeleteLeft=(0,g.fK)(new class extends t{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(e,t,i){let[n,s]=b.A.deleteLeft(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection),t.getCursorAutoClosedCharacters());n&&e.pushUndoStop(),e.executeCommands(this.id,s),t.setPrevEditOperationType(2)}}),e.DeleteRight=(0,g.fK)(new class extends t{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(e,t,i){let[n,s]=b.A.deleteRight(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection));n&&e.pushUndoStop(),e.executeCommands(this.id,s),t.setPrevEditOperationType(3)}}),e.Undo=new class extends x{constructor(){super(g.n_)}runDOMCommand(e){e.ownerDocument.execCommand("undo")}runEditorCommand(e,t,i){if(t.hasModel()&&!0!==t.getOption(91))return t.getModel().undo()}},e.Redo=new class extends x{constructor(){super(g.kz)}runDOMCommand(e){e.ownerDocument.execCommand("redo")}runEditorCommand(e,t,i){if(t.hasModel()&&!0!==t.getOption(91))return t.getModel().redo()}}}(a||(a={}));class T extends g.mY{constructor(e,t,i){super({id:e,precondition:void 0,metadata:i}),this._handlerId=t}runCommand(e,t){let i=e.get(p.$).getFocusedCodeEditor();i&&i.trigger("keyboard",this._handlerId,t)}}function M(e,t){I(new T("default:"+e,e)),I(new T(e,e,t))}M("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),M("replacePreviousChar"),M("compositionType"),M("compositionStart"),M("compositionEnd"),M("paste"),M("cut")},70312:function(e,t,i){"use strict";i.d(t,{B:function(){return a},L:function(){return h}});var n=i(38431),s=i(88946),o=i(16735),r=i(5482),l=i(72944);function a(e){let t=new s.Hl;for(let i of e.items){let e=i.type;if("string"===i.kind){let n=new Promise(e=>i.getAsString(e));t.append(e,(0,s.ZO)(n))}else if("file"===i.kind){let n=i.getAsFile();n&&t.append(e,function(e){let t=e.path?r.o.parse(e.path):void 0;return(0,s.Ix)(e.name,t,async()=>new Uint8Array(await e.arrayBuffer()))}(n))}}return t}let d=Object.freeze([l.Km.EDITORS,l.Km.FILES,n.g.RESOURCES,n.g.INTERNAL_URI_LIST]);function h(e,t=!1){let i=a(e),l=i.get(n.g.INTERNAL_URI_LIST);if(l)i.replace(o.v.uriList,l);else if(t||!i.has(o.v.uriList)){let t=[];for(let i of e.items){let e=i.getAsFile();if(e){let i=e.path;try{i?t.push(r.o.file(i).toString()):t.push(r.o.parse(e.name,!0).toString())}catch(e){}}}t.length&&i.replace(o.v.uriList,(0,s.ZO)(s.Z0.create(t)))}for(let e of d)i.delete(e);return i}},2197:function(e,t,i){"use strict";i.d(t,{CL:function(){return s},Pi:function(){return r},QI:function(){return o}});var n=i(25777);function s(e){return!!e&&"function"==typeof e.getEditorType&&e.getEditorType()===n.g.ICodeEditor}function o(e){return!!e&&"function"==typeof e.getEditorType&&e.getEditorType()===n.g.IDiffEditor}function r(e){return s(e)?e:o(e)?e.getModifiedEditor():e&&"object"==typeof e&&"function"==typeof e.onDidChangeActiveEditor&&s(e.activeCodeEditor)?e.activeCodeEditor:null}},2318:function(e,t,i){"use strict";i.d(t,{AL:function(){return v},N5:function(){return f},Pp:function(){return p},YN:function(){return d},gy:function(){return m},kG:function(){return g},rU:function(){return h},t7:function(){return b},tC:function(){return _}});var n=i(81845),s=i(94278),o=i(69362),r=i(44532),l=i(70784),a=i(43616);class d{constructor(e,t){this.x=e,this.y=t,this._pageCoordinatesBrand=void 0}toClientCoordinates(e){return new h(this.x-e.scrollX,this.y-e.scrollY)}}class h{constructor(e,t){this.clientX=e,this.clientY=t,this._clientCoordinatesBrand=void 0}toPageCoordinates(e){return new d(this.clientX+e.scrollX,this.clientY+e.scrollY)}}class u{constructor(e,t,i,n){this.x=e,this.y=t,this.width=i,this.height=n,this._editorPagePositionBrand=void 0}}class c{constructor(e,t){this.x=e,this.y=t,this._positionRelativeToEditorBrand=void 0}}function g(e){let t=n.i(e);return new u(t.left,t.top,t.width,t.height)}function p(e,t,i){let n=t.width/e.offsetWidth,s=t.height/e.offsetHeight,o=(i.x-t.x)/n,r=(i.y-t.y)/s;return new c(o,r)}class m extends o.n{constructor(e,t,i){super(n.Jj(i),e),this._editorMouseEventBrand=void 0,this.isFromPointerCapture=t,this.pos=new d(this.posx,this.posy),this.editorPos=g(i),this.relativePos=p(i,this.editorPos,this.pos)}}class f{constructor(e){this._editorViewDomNode=e}_create(e){return new m(e,!1,this._editorViewDomNode)}onContextMenu(e,t){return n.nm(e,"contextmenu",e=>{t(this._create(e))})}onMouseUp(e,t){return n.nm(e,"mouseup",e=>{t(this._create(e))})}onMouseDown(e,t){return n.nm(e,n.tw.MOUSE_DOWN,e=>{t(this._create(e))})}onPointerDown(e,t){return n.nm(e,n.tw.POINTER_DOWN,e=>{t(this._create(e),e.pointerId)})}onMouseLeave(e,t){return n.nm(e,n.tw.MOUSE_LEAVE,e=>{t(this._create(e))})}onMouseMove(e,t){return n.nm(e,"mousemove",e=>t(this._create(e)))}}class _{constructor(e){this._editorViewDomNode=e}_create(e){return new m(e,!1,this._editorViewDomNode)}onPointerUp(e,t){return n.nm(e,"pointerup",e=>{t(this._create(e))})}onPointerDown(e,t){return n.nm(e,n.tw.POINTER_DOWN,e=>{t(this._create(e),e.pointerId)})}onPointerLeave(e,t){return n.nm(e,n.tw.POINTER_LEAVE,e=>{t(this._create(e))})}onPointerMove(e,t){return n.nm(e,"pointermove",e=>t(this._create(e)))}}class v extends l.JT{constructor(e){super(),this._editorViewDomNode=e,this._globalPointerMoveMonitor=this._register(new s.C),this._keydownListener=null}startMonitoring(e,t,i,s,o){this._keydownListener=n.mu(e.ownerDocument,"keydown",e=>{let t=e.toKeyCodeChord();t.isModifierKey()||this._globalPointerMoveMonitor.stopMonitoring(!0,e.browserEvent)},!0),this._globalPointerMoveMonitor.startMonitoring(e,t,i,e=>{s(new m(e,!0,this._editorViewDomNode))},e=>{this._keydownListener.dispose(),o(e)})}stopMonitoring(){this._globalPointerMoveMonitor.stopMonitoring(!0)}}class b{constructor(e){this._editor=e,this._instanceId=++b._idPool,this._counter=0,this._rules=new Map,this._garbageCollectionScheduler=new r.pY(()=>this.garbageCollect(),1e3)}createClassNameRef(e){let t=this.getOrCreateRule(e);return t.increaseRefCount(),{className:t.className,dispose:()=>{t.decreaseRefCount(),this._garbageCollectionScheduler.schedule()}}}getOrCreateRule(e){let t=this.computeUniqueKey(e),i=this._rules.get(t);if(!i){let s=this._counter++;i=new C(t,`dyn-rule-${this._instanceId}-${s}`,n.OO(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0,e),this._rules.set(t,i)}return i}computeUniqueKey(e){return JSON.stringify(e)}garbageCollect(){for(let e of this._rules.values())e.hasReferences()||(this._rules.delete(e.key),e.dispose())}}b._idPool=0;class C{constructor(e,t,i,s){this.key=e,this.className=t,this.properties=s,this._referenceCount=0,this._styleElementDisposables=new l.SL,this._styleElement=n.dS(i,void 0,this._styleElementDisposables),this._styleElement.textContent=this.getCssText(this.className,this.properties)}getCssText(e,t){let i=`.${e} {`;for(let e in t){let n;let s=t[e];n="object"==typeof s?(0,a.n_1)(s.id):s;let o=e.replace(/(^[A-Z])/,([e])=>e.toLowerCase()).replace(/([A-Z])/g,([e])=>`-${e.toLowerCase()}`);i+=` ${o}: ${n};`}return i+` -}`}dispose(){this._styleElementDisposables.dispose(),this._styleElement=void 0}increaseRefCount(){this._referenceCount++}decreaseRefCount(){this._referenceCount--}hasReferences(){return this._referenceCount>0}}},82508:function(e,t,i){"use strict";i.d(t,{AJ:function(){return y},QG:function(){return M},Qr:function(){return I},R6:function(){return k},Sq:function(){return B},Uc:function(){return s},_K:function(){return R},_l:function(){return L},fK:function(){return E},jY:function(){return D},kz:function(){return F},mY:function(){return w},n_:function(){return O},rn:function(){return T},sb:function(){return N},x1:function(){return x}});var n,s,o=i(82801),r=i(5482),l=i(70208),a=i(86570),d=i(98334),h=i(883),u=i(30467),c=i(81903),g=i(33336),p=i(85327),m=i(93589),f=i(34089),_=i(77207),v=i(24162),b=i(99078),C=i(81845);class w{constructor(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this.metadata=e.metadata}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){let e=Array.isArray(this._kbOpts)?this._kbOpts:[this._kbOpts];for(let t of e){let e=t.kbExpr;this.precondition&&(e=e?g.Ao.and(e,this.precondition):this.precondition);let i={id:this.id,weight:t.weight,args:t.args,when:e,primary:t.primary,secondary:t.secondary,win:t.win,linux:t.linux,mac:t.mac};m.W.registerKeybindingRule(i)}}c.P.registerCommand({id:this.id,handler:(e,t)=>this.runCommand(e,t),metadata:this.metadata})}_registerMenuItem(e){u.BH.appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title,icon:e.icon,precondition:this.precondition},when:e.when,order:e.order})}}class y extends w{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t,i,n){return this._implementations.push({priority:e,name:t,implementation:i,when:n}),this._implementations.sort((e,t)=>t.priority-e.priority),{dispose:()=>{for(let e=0;e{let s=e.get(g.i6);if(s.contextMatchesRules(null!=i?i:void 0))return n(e,o,t)})}runCommand(e,t){return L.runEditorCommand(e,t,this.precondition,(e,t,i)=>this.runEditorCommand(e,t,i))}}class k extends L{static convertOptions(e){let t;function i(t){return t.menuId||(t.menuId=u.eH.EditorContext),t.title||(t.title=e.label),t.when=g.Ao.and(e.precondition,t.when),t}return t=Array.isArray(e.menuOpts)?e.menuOpts:e.menuOpts?[e.menuOpts]:[],Array.isArray(e.contextMenuOpts)?t.push(...e.contextMenuOpts.map(i)):e.contextMenuOpts&&t.push(i(e.contextMenuOpts)),e.menuOpts=t,e}constructor(e){super(k.convertOptions(e)),this.label=e.label,this.alias=e.alias}runEditorCommand(e,t,i){return this.reportTelemetry(e,t),this.run(e,t,i||{})}reportTelemetry(e,t){e.get(_.b).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}class D extends k{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t){return this._implementations.push([e,t]),this._implementations.sort((e,t)=>t[0]-e[0]),{dispose:()=>{for(let e=0;e{var i,s;let o=e.get(g.i6),r=e.get(b.VZ),l=o.contextMatchesRules(null!==(i=this.desc.precondition)&&void 0!==i?i:void 0);if(!l){r.debug("[EditorAction2] NOT running command because its precondition is FALSE",this.desc.id,null===(s=this.desc.precondition)||void 0===s?void 0:s.serialize());return}return this.runEditorCommand(e,n,...t)})}}function N(e,t){c.P.registerCommand(e,function(e,...i){let n=e.get(p.TG),[s,o]=i;(0,v.p_)(r.o.isUri(s)),(0,v.p_)(a.L.isIPosition(o));let l=e.get(d.q).getModel(s);if(l){let e=a.L.lift(o);return n.invokeFunction(t,l,e,...i.slice(2))}return e.get(h.S).createModelReference(s).then(e=>new Promise((s,r)=>{try{let r=n.invokeFunction(t,e.object.textEditorModel,a.L.lift(o),i.slice(2));s(r)}catch(e){r(e)}}).finally(()=>{e.dispose()}))})}function E(e){return A.INSTANCE.registerEditorCommand(e),e}function I(e){let t=new e;return A.INSTANCE.registerEditorAction(t),t}function T(e){return A.INSTANCE.registerEditorAction(e),e}function M(e){A.INSTANCE.registerEditorAction(e)}function R(e,t,i){A.INSTANCE.registerEditorContribution(e,t,i)}(n=s||(s={})).getEditorCommand=function(e){return A.INSTANCE.getEditorCommand(e)},n.getEditorActions=function(){return A.INSTANCE.getEditorActions()},n.getEditorContributions=function(){return A.INSTANCE.getEditorContributions()},n.getSomeEditorContributions=function(e){return A.INSTANCE.getEditorContributions().filter(t=>e.indexOf(t.id)>=0)},n.getDiffEditorContributions=function(){return A.INSTANCE.getDiffEditorContributions()};class A{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(e,t,i){this.editorContributions.push({id:e,ctor:t,instantiation:i})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(e){e.register(),this.editorActions.push(e)}getEditorActions(){return this.editorActions}registerEditorCommand(e){e.register(),this.editorCommands[e.id]=e}getEditorCommand(e){return this.editorCommands[e]||null}}function P(e){return e.register(),e}A.INSTANCE=new A,f.B.add("editor.contributions",A.INSTANCE);let O=P(new y({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:u.eH.MenubarEditMenu,group:"1_do",title:o.NC({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:u.eH.CommandPalette,group:"",title:o.NC("undo","Undo"),order:1}]}));P(new S(O,{id:"default:undo",precondition:void 0}));let F=P(new y({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:u.eH.MenubarEditMenu,group:"1_do",title:o.NC({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:u.eH.CommandPalette,group:"",title:o.NC("redo","Redo"),order:1}]}));P(new S(F,{id:"default:redo",precondition:void 0}));let B=P(new y({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:u.eH.MenubarSelectionMenu,group:"1_basic",title:o.NC({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:u.eH.CommandPalette,group:"",title:o.NC("selectAll","Select All"),order:1}]}))},88338:function(e,t,i){"use strict";i.d(t,{Gl:function(){return a},fo:function(){return l},vu:function(){return r}});var n=i(85327),s=i(5482),o=i(24162);let r=(0,n.yh)("IWorkspaceEditService");class l{constructor(e){this.metadata=e}static convert(e){return e.edits.map(e=>{if(a.is(e))return a.lift(e);if(d.is(e))return d.lift(e);throw Error("Unsupported edit")})}}class a extends l{static is(e){return e instanceof a||(0,o.Kn)(e)&&s.o.isUri(e.resource)&&(0,o.Kn)(e.textEdit)}static lift(e){return e instanceof a?e:new a(e.resource,e.textEdit,e.versionId,e.metadata)}constructor(e,t,i,n){super(n),this.resource=e,this.textEdit=t,this.versionId=i}}class d extends l{static is(e){return e instanceof d||(0,o.Kn)(e)&&(!!e.newResource||!!e.oldResource)}static lift(e){return e instanceof d?e:new d(e.oldResource,e.newResource,e.options,e.metadata)}constructor(e,t,i={},n){super(n),this.oldResource=e,this.newResource=t,this.options=i}}},70208:function(e,t,i){"use strict";i.d(t,{$:function(){return s}});var n=i(85327);let s=(0,n.yh)("codeEditorService")},44356:function(e,t,i){"use strict";i.d(t,{Q8:function(){return eR},eu:function(){return ex}});var n=i(44532),s=i(70784),o=i(32378),r=i(79915),l=i(16783),a=i(58022),d=i(95612);let h=!1;function u(e){a.$L&&(h||(h=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq")),console.warn(e.message))}class c{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.method=i,this.args=n,this.type=0}}class g{constructor(e,t,i,n){this.vsWorker=e,this.seq=t,this.res=i,this.err=n,this.type=1}}class p{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.eventName=i,this.arg=n,this.type=2}}class m{constructor(e,t,i){this.vsWorker=e,this.req=t,this.event=i,this.type=3}}class f{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class _{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let i=String(++this._lastSentReq);return new Promise((n,s)=>{this._pendingReplies[i]={resolve:n,reject:s},this._send(new c(this._workerId,i,e,t))})}listen(e,t){let i=null,n=new r.Q5({onWillAddFirstListener:()=>{i=String(++this._lastSentReq),this._pendingEmitters.set(i,n),this._send(new p(this._workerId,i,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(i),this._send(new f(this._workerId,i)),i=null}});return n.event}handleMessage(e){e&&e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId)&&this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let i=e.err;e.err.$isError&&((i=Error()).name=e.err.name,i.message=e.err.message,i.stack=e.err.stack),t.reject(i);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req,i=this._handler.handleMessage(e.method,e.args);i.then(e=>{this._send(new g(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=(0,o.ri)(e.detail)),this._send(new g(this._workerId,t,void 0,(0,o.ri)(e)))})}_handleSubscribeEventMessage(e){let t=e.req,i=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new m(this._workerId,t,e))});this._pendingEvents.set(t,i)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let i=0;i{this._protocol.handleMessage(e)},e=>{null==n||n(e)})),this._protocol=new _({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof i[e])return Promise.reject(Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(i[e].apply(i,t))}catch(e){return Promise.reject(e)}},handleEvent:(e,t)=>{if(C(e)){let n=i[e].call(i,t);if("function"!=typeof n)throw Error(`Missing dynamic event ${e} on main thread host.`);return n}if(b(e)){let t=i[e];if("function"!=typeof t)throw Error(`Missing event ${e} on main thread host.`);return t}throw Error(`Malformed event name ${e}`)}}),this._protocol.setWorkerId(this._worker.getId());let s=null,o=globalThis.require;void 0!==o&&"function"==typeof o.getConfig?s=o.getConfig():void 0!==globalThis.requirejs&&(s=globalThis.requirejs.s.contexts._.config);let r=(0,l.$E)(i);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(s)),t,r]);let a=(e,t)=>this._request(e,t),d=(e,t)=>this._protocol.listen(e,t);this._lazyProxy=new Promise((e,i)=>{n=i,this._onModuleLoaded.then(t=>{e(function(e,t,i){let n=e=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},s=e=>function(t){return i(e,t)},o={};for(let t of e){if(C(t)){o[t]=s(t);continue}if(b(t)){o[t]=i(t,void 0);continue}o[t]=n(t)}return o}(t,a,d))},e=>{i(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((i,n)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(i,n)},n)})}_onError(e,t){console.error(e),console.info(t)}}function b(e){return"o"===e[0]&&"n"===e[1]&&d.df(e.charCodeAt(2))}function C(e){return/^onDynamic/.test(e)&&d.df(e.charCodeAt(9))}var w=i(39813);let y=(0,w.Z)("defaultWorkerFactory",{createScriptURL:e=>e});class S extends s.JT{constructor(e,t,i,n,o){super(),this.id=t,this.label=i;let r=function(e){let t=globalThis.MonacoEnvironment;if(t){if("function"==typeof t.getWorker)return t.getWorker("workerMain.js",e);if("function"==typeof t.getWorkerUrl){let i=t.getWorkerUrl("workerMain.js",e);return new Worker(y?y.createScriptURL(i):i,{name:e})}}throw Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}(i);("function"==typeof r.then?0:1)?this.worker=Promise.resolve(r):this.worker=r,this.postMessage(e,[]),this.worker.then(e=>{e.onmessage=function(e){n(e.data)},e.onmessageerror=o,"function"==typeof e.addEventListener&&e.addEventListener("error",o)}),this._register((0,s.OF)(()=>{var e;null===(e=this.worker)||void 0===e||e.then(e=>{e.onmessage=null,e.onmessageerror=null,e.removeEventListener("error",o),e.terminate()}),this.worker=null}))}getId(){return this.id}postMessage(e,t){var i;null===(i=this.worker)||void 0===i||i.then(i=>{try{i.postMessage(e,t)}catch(e){(0,o.dL)(e),(0,o.dL)(Error(`FAILED to post message to '${this.label}'-worker`,{cause:e}))}})}}class L{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,i){let n=++L.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new S(e,n,this._label||"anonymous"+n,t,e=>{u(e),this._webWorkerFailedBeforeError=e,i(e)})}}L.LAST_WORKER_ID=0;var k=i(70209),D=i(32712),x=i(39970),N=i(5482),E=i(86570),I=i(83591);class T{constructor(e,t,i,n){this._uri=e,this._lines=t,this._eol=i,this._versionId=n,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);let t=e.changes;for(let e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new E.L(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,i=new Uint32Array(t);for(let n=0;nt&&(t=o),s>i&&(i=s),r>i&&(i=r)}t++,i++;let n=new A(i,t,0);for(let t=0,i=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let O=null;function F(){return null===O&&(O=new P([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),O}let B=null;class W{static _createLink(e,t,i,n,s){let o=s-1;do{let i=t.charCodeAt(o),n=e.get(i);if(2!==n)break;o--}while(o>n);if(n>0){let e=t.charCodeAt(n-1),i=t.charCodeAt(o);(40===e&&41===i||91===e&&93===i||123===e&&125===i)&&o--}return{range:{startLineNumber:i,startColumn:n+1,endLineNumber:i,endColumn:o+2},url:t.substring(n,o+1)}}static computeLinks(e,t=F()){let i=function(){if(null===B){B=new R.N(0);let e=" <>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let t=0;t=0?((n+=i?1:-1)<0?n=e.length-1:n%=e.length,e[n]):null}}H.INSTANCE=new H;var V=i(38486),z=i(44129),K=i(15365),U=i(10775),$=i(61234),q=i(61413),j=i(63144);class G{computeDiff(e,t,i){var n;let s=new ee(e,t,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}),o=s.computeDiff(),r=[],l=null;for(let e of o.changes){let t,i;t=0===e.originalEndLineNumber?new j.z(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new j.z(e.originalStartLineNumber,e.originalEndLineNumber+1),i=0===e.modifiedEndLineNumber?new j.z(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new j.z(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1);let s=new $.gB(t,i,null===(n=e.charChanges)||void 0===n?void 0:n.map(e=>new $.iy(new k.e(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new k.e(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));l&&(l.modified.endLineNumberExclusive===s.modified.startLineNumber||l.original.endLineNumberExclusive===s.original.startLineNumber)&&(s=new $.gB(l.original.join(s.original),l.modified.join(s.modified),l.innerChanges&&s.innerChanges?l.innerChanges.concat(s.innerChanges):void 0),r.pop()),r.push(s),l=s}return(0,q.eZ)(()=>(0,q.DM)(r,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class J{constructor(e,t,i,n,s,o,r,l){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=i,this.originalEndColumn=n,this.modifiedStartLineNumber=s,this.modifiedStartColumn=o,this.modifiedEndLineNumber=r,this.modifiedEndColumn=l}static createFromDiffChange(e,t,i){let n=t.getStartLineNumber(e.originalStart),s=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),r=t.getEndColumn(e.originalStart+e.originalLength-1),l=i.getStartLineNumber(e.modifiedStart),a=i.getStartColumn(e.modifiedStart),d=i.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),h=i.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new J(n,s,o,r,l,a,d,h)}}class X{constructor(e,t,i,n,s){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=n,this.charChanges=s}static createFromDiffResult(e,t,i,n,s,o,r){let l,a,d,h,u;if(0===t.originalLength?(l=i.getStartLineNumber(t.originalStart)-1,a=0):(l=i.getStartLineNumber(t.originalStart),a=i.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(d=n.getStartLineNumber(t.modifiedStart)-1,h=0):(d=n.getStartLineNumber(t.modifiedStart),h=n.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&s()){let o=i.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),l=n.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(o.getElements().length>0&&l.getElements().length>0){let e=Q(o,l,s,!0).changes;r&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],i=t[0];for(let n=1,s=e.length;n1&&r>1;){let n=e.charCodeAt(i-2),s=t.charCodeAt(r-2);if(n!==s)break;i--,r--}(i>1||r>1)&&this._pushTrimWhitespaceCharChange(n,s+1,1,i,o+1,1,r)}{let i=ei(e,1),r=ei(t,1),l=e.length+1,a=t.length+1;for(;i!0;let t=Date.now();return()=>Date.now()-tnew G,getDefault:()=>new es.DW};var er=i(76515);function el(e){let t=[];for(let i of e){let e=Number(i);(e||0===e&&""!==i.replace(/\s/g,""))&&t.push(e)}return t}function ea(e,t,i,n){return{red:e/255,blue:i/255,green:t/255,alpha:n}}function ed(e,t){let i=t.index,n=t[0].length;if(!i)return;let s=e.positionAt(i),o={startLineNumber:s.lineNumber,startColumn:s.column,endLineNumber:s.lineNumber,endColumn:s.column+n};return o}function eh(e,t,i){if(!e||1!==t.length)return;let n=t[0],s=n.values(),o=el(s);return{range:e,color:ea(o[0],o[1],o[2],i?o[3]:1)}}function eu(e,t,i){if(!e||1!==t.length)return;let n=t[0],s=n.values(),o=el(s),r=new er.Il(new er.Oz(o[0],o[1]/100,o[2]/100,i?o[3]:1));return{range:e,color:ea(r.rgba.r,r.rgba.g,r.rgba.b,r.rgba.a)}}function ec(e,t){return"string"==typeof e?[...e.matchAll(t)]:e.findMatches(t)}let eg=RegExp("\\bMARK:\\s*(.*)$","d"),ep=/^-+|-+$/g;function em(e){e=e.trim();let t=e.startsWith("-");return{text:e=e.replace(ep,""),hasSeparatorLine:t}}class ef extends T{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){let t=[];for(let i=0;ithis._lines.length)t=this._lines.length,i=this._lines[t-1].length+1,n=!0;else{let e=this._lines[t-1].length+1;i<1?(i=1,n=!0):i>e&&(i=e,n=!0)}return n?{lineNumber:t,column:i}:e}}class e_{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new ef(N.o.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;let i=this._models[e];i.onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}async computeUnicodeHighlights(e,t,i){let n=this._getModel(e);return n?K.a.computeUnicodeHighlights(n,t,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async findSectionHeaders(e,t){let i=this._getModel(e);return i?function(e,t){var i;let n=[];if(t.findRegionSectionHeaders&&(null===(i=t.foldingRules)||void 0===i?void 0:i.markers)){let i=function(e,t){let i=[],n=e.getLineCount();for(let s=1;s<=n;s++){let n=e.getLineContent(s),o=n.match(t.foldingRules.markers.start);if(o){let e={startLineNumber:s,startColumn:o[0].length+1,endLineNumber:s,endColumn:n.length+1};if(e.endColumn>e.startColumn){let t={range:e,...em(n.substring(o[0].length)),shouldBeInComments:!1};(t.text||t.hasSeparatorLine)&&i.push(t)}}}return i}(e,t);n=n.concat(i)}if(t.findMarkSectionHeaders){let t=function(e){let t=[],i=e.getLineCount();for(let n=1;n<=i;n++){let i=e.getLineContent(n);!function(e,t,i){eg.lastIndex=0;let n=eg.exec(e);if(n){let e=n.indices[1][0]+1,s=n.indices[1][1]+1,o={startLineNumber:t,startColumn:e,endLineNumber:t,endColumn:s};if(o.endColumn>o.startColumn){let e={range:o,...em(n[1]),shouldBeInComments:!0};(e.text||e.hasSeparatorLine)&&i.push(e)}}}(i,n,t)}return t}(e);n=n.concat(t)}return n}(i,t):[]}async computeDiff(e,t,i,n){let s=this._getModel(e),o=this._getModel(t);if(!s||!o)return null;let r=e_.computeDiff(s,o,i,n);return r}static computeDiff(e,t,i,n){let s="advanced"===n?eo.getDefault():eo.getLegacy(),o=e.getLinesContent(),r=t.getLinesContent(),l=s.computeDiff(o,r,i),a=!(l.changes.length>0)&&this._modelsAreIdentical(e,t);function d(e){return e.map(e=>{var t;return[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}return{identical:a,quitEarly:l.hitTimeout,changes:d(l.changes),moves:l.moves.map(e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,d(e.changes)])}}static _modelsAreIdentical(e,t){let i=e.getLineCount(),n=t.getLineCount();if(i!==n)return!1;for(let n=1;n<=i;n++){let i=e.getLineContent(n),s=t.getLineContent(n);if(i!==s)return!1}return!0}async computeMoreMinimalEdits(e,t,i){let n;let s=this._getModel(e);if(!s)return t;let o=[];t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return k.e.compareRangesUsingStarts(e.range,t.range);let i=e.range?0:1,n=t.range?0:1;return i-n});let r=0;for(let e=1;ee_._diffLimit){o.push({range:e,text:l});continue}let r=(0,x.a$)(t,l,i),d=s.offsetAt(k.e.lift(e).getStartPosition());for(let e of r){let t=s.positionAt(d+e.originalStart),i=s.positionAt(d+e.originalStart+e.originalLength),n={text:l.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:i.lineNumber,endColumn:i.column}};s.getValueInRange(n.range)!==n.text&&o.push(n)}}return"number"==typeof n&&o.push({eol:n,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),o}async computeLinks(e){let t=this._getModel(e);return t?t&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?W.computeLinks(t):[]:null}async computeDefaultDocumentColors(e){let t=this._getModel(e);return t?t&&"function"==typeof t.getValue&&"function"==typeof t.positionAt?function(e){let t=[],i=ec(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(i.length>0)for(let n of i){let i;let s=n.filter(e=>void 0!==e),o=s[1],r=s[2];if(r){if("rgb"===o){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;i=eh(ed(e,n),ec(r,t),!1)}else if("rgba"===o){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=eh(ed(e,n),ec(r,t),!0)}else if("hsl"===o){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;i=eu(ed(e,n),ec(r,t),!1)}else if("hsla"===o){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=eu(ed(e,n),ec(r,t),!0)}else"#"===o&&(i=function(e,t){if(!e)return;let i=er.Il.Format.CSS.parseHex(t);if(i)return{range:e,color:ea(i.rgba.r,i.rgba.g,i.rgba.b,i.rgba.a)}}(ed(e,n),o+r));i&&t.push(i)}}return t}(t):[]:null}async textualSuggest(e,t,i,n){let s=new z.G,o=new RegExp(i,n),r=new Set;e:for(let i of e){let e=this._getModel(i);if(e){for(let i of e.words(o))if(i!==t&&isNaN(Number(i))&&(r.add(i),r.size>e_._suggestionsLimit))break e}}return{words:Array.from(r),duration:s.elapsed()}}async computeWordRanges(e,t,i,n){let s=this._getModel(e);if(!s)return Object.create(null);let o=new RegExp(i,n),r=Object.create(null);for(let e=t.startLineNumber;ethis._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:n,getMirrorModels:()=>this._getModels()},t),Promise.resolve((0,l.$E)(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}e_._diffLimit=1e5,e_._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco=(0,V.O)());var ev=i(98334),eb=i(78318),eC=i(40789),ew=i(99078),ey=i(64106),eS=i(44709),eL=i(81845),ek=function(e,t){return function(i,n){t(i,n,e)}};function eD(e,t){let i=e.getModel(t);return!(!i||i.isTooLargeForSyncing())}let ex=class extends s.JT{constructor(e,t,i,n,s){super(),this._modelService=e,this._workerManager=this._register(new eE(this._modelService,n)),this._logService=i,this._register(s.linkProvider.register({language:"*",hasAccessToAllModels:!0},{provideLinks:(e,t)=>eD(this._modelService,e.uri)?this._workerManager.withWorker().then(t=>t.computeLinks(e.uri)).then(e=>e&&{links:e}):Promise.resolve({links:[]})})),this._register(s.completionProvider.register("*",new eN(this._workerManager,t,this._modelService,n)))}dispose(){super.dispose()}canComputeUnicodeHighlights(e){return eD(this._modelService,e)}computedUnicodeHighlights(e,t,i){return this._workerManager.withWorker().then(n=>n.computedUnicodeHighlights(e,t,i))}async computeDiff(e,t,i,n){let s=await this._workerManager.withWorker().then(s=>s.computeDiff(e,t,i,n));if(!s)return null;let o={identical:s.identical,quitEarly:s.quitEarly,changes:r(s.changes),moves:s.moves.map(e=>new U.y(new $.f0(new j.z(e[0],e[1]),new j.z(e[2],e[3])),r(e[4])))};return o;function r(e){return e.map(e=>{var t;return new $.gB(new j.z(e[0],e[1]),new j.z(e[2],e[3]),null===(t=e[4])||void 0===t?void 0:t.map(e=>new $.iy(new k.e(e[0],e[1],e[2],e[3]),new k.e(e[4],e[5],e[6],e[7]))))})}}computeMoreMinimalEdits(e,t,i=!1){if(!(0,eC.Of)(t))return Promise.resolve(void 0);{if(!eD(this._modelService,e))return Promise.resolve(t);let s=z.G.create(),o=this._workerManager.withWorker().then(n=>n.computeMoreMinimalEdits(e,t,i));return o.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),s.elapsed())),Promise.race([o,(0,n.Vs)(1e3).then(()=>t)])}}canNavigateValueSet(e){return eD(this._modelService,e)}navigateValueSet(e,t,i){return this._workerManager.withWorker().then(n=>n.navigateValueSet(e,t,i))}canComputeWordRanges(e){return eD(this._modelService,e)}computeWordRanges(e,t){return this._workerManager.withWorker().then(i=>i.computeWordRanges(e,t))}findSectionHeaders(e,t){return this._workerManager.withWorker().then(i=>i.findSectionHeaders(e,t))}};ex=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ek(0,ev.q),ek(1,eb.V),ek(2,ew.VZ),ek(3,D.c_),ek(4,ey.p)],ex);class eN{constructor(e,t,i,n){this.languageConfigurationService=n,this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=t,this._modelService=i}async provideCompletionItems(e,t){let i=this._configurationService.getValue(e.uri,t,"editor");if("off"===i.wordBasedSuggestions)return;let n=[];if("currentDocument"===i.wordBasedSuggestions)eD(this._modelService,e.uri)&&n.push(e.uri);else for(let t of this._modelService.getModels())eD(this._modelService,t.uri)&&(t===e?n.unshift(t.uri):("allDocuments"===i.wordBasedSuggestions||t.getLanguageId()===e.getLanguageId())&&n.push(t.uri));if(0===n.length)return;let s=this.languageConfigurationService.getLanguageConfiguration(e.getLanguageId()).getWordDefinition(),o=e.getWordAtPosition(t),r=o?new k.e(t.lineNumber,o.startColumn,t.lineNumber,o.endColumn):k.e.fromPositions(t),l=r.setEndPosition(t.lineNumber,t.column),a=await this._workerManager.withWorker(),d=await a.textualSuggest(n,null==o?void 0:o.word,s);if(d)return{duration:d.duration,suggestions:d.words.map(e=>({kind:18,label:e,insertText:e,range:{insert:l,replace:r}}))}}}class eE extends s.JT{constructor(e,t){super(),this.languageConfigurationService=t,this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime();let i=this._register(new eL.ne);i.cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(15e4),eS.E),this._register(this._modelService.onModelRemoved(e=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;let e=this._modelService.getModels();0===e.length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;let e=new Date().getTime()-this._lastWorkerUsedTime;e>3e5&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new eR(this._modelService,!1,"editorWorkerService",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}}class eI extends s.JT{constructor(e,t,i){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=t,!i){let e=new n.zh;e.cancelAndSet(()=>this._checkStopModelSync(),Math.round(3e4)),this._register(e)}}dispose(){for(let e in this._syncedModels)(0,s.B9)(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e,t){for(let i of e){let e=i.toString();this._syncedModels[e]||this._beginModelSync(i,t),this._syncedModels[e]&&(this._syncedModelsLastUsedTime[e]=new Date().getTime())}}_checkStopModelSync(){let e=new Date().getTime(),t=[];for(let i in this._syncedModelsLastUsedTime){let n=e-this._syncedModelsLastUsedTime[i];n>6e4&&t.push(i)}for(let e of t)this._stopModelSync(e)}_beginModelSync(e,t){let i=this._modelService.getModel(e);if(!i||!t&&i.isTooLargeForSyncing())return;let n=e.toString();this._proxy.acceptNewModel({url:i.uri.toString(),lines:i.getLinesContent(),EOL:i.getEOL(),versionId:i.getVersionId()});let o=new s.SL;o.add(i.onDidChangeContent(e=>{this._proxy.acceptModelChanged(n.toString(),e)})),o.add(i.onWillDispose(()=>{this._stopModelSync(n)})),o.add((0,s.OF)(()=>{this._proxy.acceptRemovedModel(n)})),this._syncedModels[n]=o}_stopModelSync(e){let t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],(0,s.B9)(t)}}class eT{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class eM{constructor(e){this._workerClient=e}fhr(e,t){return this._workerClient.fhr(e,t)}}class eR extends s.JT{constructor(e,t,i,n){super(),this.languageConfigurationService=n,this._disposed=!1,this._modelService=e,this._keepIdleModels=t,this._workerFactory=new L(i),this._worker=null,this._modelManager=null}fhr(e,t){throw Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new v(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new eM(this)))}catch(e){u(e),this._worker=new eT(new e_(new eM(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,e=>(u(e),this._worker=new eT(new e_(new eM(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new eI(e,this._modelService,this._keepIdleModels))),this._modelManager}async _withSyncedResources(e,t=!1){return this._disposed?Promise.reject((0,o.F0)()):this._getProxy().then(i=>(this._getOrCreateModelManager(i).ensureSyncedResources(e,t),i))}computedUnicodeHighlights(e,t,i){return this._withSyncedResources([e]).then(n=>n.computeUnicodeHighlights(e.toString(),t,i))}computeDiff(e,t,i,n){return this._withSyncedResources([e,t],!0).then(s=>s.computeDiff(e.toString(),t.toString(),i,n))}computeMoreMinimalEdits(e,t,i){return this._withSyncedResources([e]).then(n=>n.computeMoreMinimalEdits(e.toString(),t,i))}computeLinks(e){return this._withSyncedResources([e]).then(t=>t.computeLinks(e.toString()))}computeDefaultDocumentColors(e){return this._withSyncedResources([e]).then(t=>t.computeDefaultDocumentColors(e.toString()))}async textualSuggest(e,t,i){let n=await this._withSyncedResources(e),s=i.source,o=i.flags;return n.textualSuggest(e.map(e=>e.toString()),t,s,o)}computeWordRanges(e,t){return this._withSyncedResources([e]).then(i=>{let n=this._modelService.getModel(e);if(!n)return Promise.resolve(null);let s=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId()).getWordDefinition(),o=s.source,r=s.flags;return i.computeWordRanges(e.toString(),t,o,r)})}navigateValueSet(e,t,i){return this._withSyncedResources([e]).then(n=>{let s=this._modelService.getModel(e);if(!s)return null;let o=this.languageConfigurationService.getLanguageConfiguration(s.getLanguageId()).getWordDefinition(),r=o.source,l=o.flags;return n.navigateValueSet(e.toString(),t,i,r,l)})}findSectionHeaders(e,t){return this._withSyncedResources([e]).then(i=>i.findSectionHeaders(e.toString(),t))}dispose(){super.dispose(),this._disposed=!0}}},24846:function(e,t,i){"use strict";i.d(t,{Z:function(){return n}});class n{static capture(e){if(0===e.getScrollTop()||e.hasPendingScrollAnimation())return new n(e.getScrollTop(),e.getContentHeight(),null,0,null);let t=null,i=0,s=e.getVisibleRanges();if(s.length>0){t=s[0].getStartPosition();let n=e.getTopForPosition(t.lineNumber,t.column);i=e.getScrollTop()-n}return new n(e.getScrollTop(),e.getContentHeight(),t,i,e.getPosition())}constructor(e,t,i,n,s){this._initialScrollTop=e,this._initialContentHeight=t,this._visiblePosition=i,this._visiblePositionScrollDelta=n,this._cursorPosition=s}restore(e){if((this._initialContentHeight!==e.getContentHeight()||this._initialScrollTop!==e.getScrollTop())&&this._visiblePosition){let t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(e){if(this._initialContentHeight===e.getContentHeight()&&this._initialScrollTop===e.getScrollTop())return;let t=e.getPosition();if(!this._cursorPosition||!t)return;let i=e.getTopForLineNumber(t.lineNumber)-e.getTopForLineNumber(this._cursorPosition.lineNumber);e.setScrollTop(e.getScrollTop()+i,1)}}},18069:function(e,t,i){"use strict";i.d(t,{CH:function(){return d},CR:function(){return l},D4:function(){return a},u7:function(){return o},xh:function(){return s},yu:function(){return r}});class n{constructor(e,t){this._restrictedRenderingContextBrand=void 0,this._viewLayout=e,this.viewportData=t,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;let i=this._viewLayout.getCurrentViewport();this.scrollTop=i.top,this.scrollLeft=i.left,this.viewportWidth=i.width,this.viewportHeight=i.height}getScrolledTopFromAbsoluteTop(e){return e-this.scrollTop}getVerticalOffsetForLineNumber(e,t){return this._viewLayout.getVerticalOffsetForLineNumber(e,t)}getVerticalOffsetAfterLineNumber(e,t){return this._viewLayout.getVerticalOffsetAfterLineNumber(e,t)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}class s extends n{constructor(e,t,i){super(e,t),this._renderingContextBrand=void 0,this._viewLines=i}linesVisibleRangesForRange(e,t){return this._viewLines.linesVisibleRangesForRange(e,t)}visibleRangeForPosition(e){return this._viewLines.visibleRangeForPosition(e)}}class o{constructor(e,t,i,n){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=i,this.continuesOnNextLine=n}}class r{static from(e){let t=Array(e.length);for(let i=0,n=e.length;i=o.left?n.width=Math.max(n.width,o.left+o.width-n.left):(t[i++]=n,n=o)}return t[i++]=n,t}static _createHorizontalRangesFromClientRects(e,t,i){if(!e||0===e.length)return null;let n=[];for(let s=0,o=e.length;sr)return null;if((t=Math.min(r,Math.max(0,t)))===(n=Math.min(r,Math.max(0,n)))&&i===s&&0===i&&!e.children[t].firstChild){let i=e.children[t].getClientRects();return o.markDidDomLayout(),this._createHorizontalRangesFromClientRects(i,o.clientRectDeltaLeft,o.clientRectScale)}t!==n&&n>0&&0===s&&(n--,s=1073741824);let l=e.children[t].firstChild,a=e.children[n].firstChild;if(l&&a||(!l&&0===i&&t>0&&(l=e.children[t-1].firstChild,i=1073741824),a||0!==s||!(n>0)||(a=e.children[n-1].firstChild,s=1073741824)),!l||!a)return null;i=Math.min(l.textContent.length,Math.max(0,i)),s=Math.min(a.textContent.length,Math.max(0,s));let d=this._readClientRects(l,i,a,s,o.endNode);return o.markDidDomLayout(),this._createHorizontalRangesFromClientRects(d,o.clientRectDeltaLeft,o.clientRectScale)}}var a=i(90252),d=i(53429),h=i(42042),u=i(43364);let c=!!o.tY||!o.IJ&&!n.vU&&!n.G6,g=!0;class p{constructor(e,t){this.themeType=t;let i=e.options,n=i.get(50),s=i.get(38);"off"===s?this.renderWhitespace=i.get(99):this.renderWhitespace="none",this.renderControlCharacters=i.get(94),this.spaceWidth=n.spaceWidth,this.middotWidth=n.middotWidth,this.wsmiddotWidth=n.wsmiddotWidth,this.useMonospaceOptimizations=n.isMonospace&&!i.get(33),this.canUseHalfwidthRightwardsArrow=n.canUseHalfwidthRightwardsArrow,this.lineHeight=i.get(67),this.stopRenderingLineAfter=i.get(117),this.fontLigatures=i.get(51)}equals(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures}}class m{constructor(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(e){if(this._renderedViewLine)this._renderedViewLine.domNode=(0,s.X)(e);else throw Error("I have no rendered view line to set the dom node to...")}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(e){this._isMaybeInvalid=!0,this._options=e}onSelectionChanged(){return(!!(0,h.c3)(this._options.themeType)||"selection"===this._options.renderWhitespace)&&(this._isMaybeInvalid=!0,!0)}renderLine(e,t,i,n,s){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;let o=n.getViewLineRenderingData(e),r=this._options,l=a.Kp.filter(o.inlineDecorations,e,o.minColumn,o.maxColumn),p=null;if((0,h.c3)(r.themeType)||"selection"===this._options.renderWhitespace){let t=n.selections;for(let i of t){if(i.endLineNumbere)continue;let t=i.startLineNumber===e?i.startColumn:o.minColumn,n=i.endLineNumber===e?i.endColumn:o.maxColumn;t');let v=(0,d.d1)(_,s);s.appendString("");let C=null;return g&&c&&o.isBasicASCII&&r.useMonospaceOptimizations&&0===v.containsForeignElements&&(C=new f(this._renderedViewLine?this._renderedViewLine.domNode:null,_,v.characterMapping)),C||(C=b(this._renderedViewLine?this._renderedViewLine.domNode:null,_,v.characterMapping,v.containsRTL,v.containsForeignElements)),this._renderedViewLine=C,!0}layoutLine(e,t,i){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(i))}getWidth(e){return this._renderedViewLine?this._renderedViewLine.getWidth(e):0}getWidthIsFast(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()}needsMonospaceFontCheck(){return!!this._renderedViewLine&&this._renderedViewLine instanceof f}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof f?this._renderedViewLine.monospaceAssumptionsAreValid():g}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof f&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(e,t,i,n){if(!this._renderedViewLine)return null;t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t)),i=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,i));let s=this._renderedViewLine.input.stopRenderingLineAfter;if(-1!==s&&t>s+1&&i>s+1)return new r.CH(!0,[new r.CR(this.getWidth(n),0)]);-1!==s&&t>s+1&&(t=s+1),-1!==s&&i>s+1&&(i=s+1);let o=this._renderedViewLine.getVisibleRangesForRange(e,t,i,n);return o&&o.length>0?new r.CH(!1,o):null}getColumnOfNodeOffset(e,t){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t):1}}m.CLASS_NAME="view-line";class f{constructor(e,t,i){this._cachedWidth=-1,this.domNode=e,this.input=t;let n=Math.floor(t.lineContent.length/300);if(n>0){this._keyColumnPixelOffsetCache=new Float32Array(n);for(let e=0;e=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),g=!1)}return g}toSlowRenderedLine(){return b(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(e,t,i,n){let s=this._getColumnPixelOffset(e,t,n),o=this._getColumnPixelOffset(e,i,n);return[new r.CR(s,o-s)]}_getColumnPixelOffset(e,t,i){if(t<=300){let e=this._characterMapping.getHorizontalOffset(t);return this._charWidth*e}let n=Math.floor((t-1)/300)-1,s=(n+1)*300+1,o=-1;if(this._keyColumnPixelOffsetCache&&-1===(o=this._keyColumnPixelOffsetCache[n])&&(o=this._actualReadPixelOffset(e,s,i),this._keyColumnPixelOffsetCache[n]=o),-1===o){let e=this._characterMapping.getHorizontalOffset(t);return this._charWidth*e}let r=this._characterMapping.getHorizontalOffset(s),l=this._characterMapping.getHorizontalOffset(t);return o+this._charWidth*(l-r)}_getReadingTarget(e){return e.domNode.firstChild}_actualReadPixelOffset(e,t,i){if(!this.domNode)return -1;let n=this._characterMapping.getDomPosition(t),s=l.readHorizontalRanges(this._getReadingTarget(this.domNode),n.partIndex,n.charIndex,n.partIndex,n.charIndex,i);return s&&0!==s.length?s[0].left:-1}getColumnOfNodeOffset(e,t){return C(this._characterMapping,e,t)}}class _{constructor(e,t,i,n,s){if(this.domNode=e,this.input=t,this._characterMapping=i,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=s,this._cachedWidth=-1,this._pixelOffsetCache=null,!n||0===this._characterMapping.length){this._pixelOffsetCache=new Float32Array(Math.max(2,this._characterMapping.length+1));for(let e=0,t=this._characterMapping.length;e<=t;e++)this._pixelOffsetCache[e]=-1}}_getReadingTarget(e){return e.domNode.firstChild}getWidth(e){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth,null==e||e.markDidDomLayout()),this._cachedWidth):0}getWidthIsFast(){return -1!==this._cachedWidth}getVisibleRangesForRange(e,t,i,n){if(!this.domNode)return null;if(null!==this._pixelOffsetCache){let s=this._readPixelOffset(this.domNode,e,t,n);if(-1===s)return null;let o=this._readPixelOffset(this.domNode,e,i,n);return -1===o?null:[new r.CR(s,o-s)]}return this._readVisibleRangesForRange(this.domNode,e,t,i,n)}_readVisibleRangesForRange(e,t,i,n,s){if(i!==n)return this._readRawVisibleRangesForRange(e,i,n,s);{let n=this._readPixelOffset(e,t,i,s);return -1===n?null:[new r.CR(n,0)]}}_readPixelOffset(e,t,i,n){if(0===this._characterMapping.length){if(0===this._containsForeignElements||2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth(n);let t=this._getReadingTarget(e);return t.firstChild?(n.markDidDomLayout(),t.firstChild.offsetWidth):0}if(null!==this._pixelOffsetCache){let s=this._pixelOffsetCache[i];if(-1!==s)return s;let o=this._actualReadPixelOffset(e,t,i,n);return this._pixelOffsetCache[i]=o,o}return this._actualReadPixelOffset(e,t,i,n)}_actualReadPixelOffset(e,t,i,n){if(0===this._characterMapping.length){let t=l.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,n);return t&&0!==t.length?t[0].left:-1}if(i===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth(n);let s=this._characterMapping.getDomPosition(i),o=l.readHorizontalRanges(this._getReadingTarget(e),s.partIndex,s.charIndex,s.partIndex,s.charIndex,n);if(!o||0===o.length)return -1;let r=o[0].left;if(this.input.isBasicASCII){let e=this._characterMapping.getHorizontalOffset(i),t=Math.round(this.input.spaceWidth*e);if(1>=Math.abs(t-r))return t}return r}_readRawVisibleRangesForRange(e,t,i,n){if(1===t&&i===this._characterMapping.length)return[new r.CR(0,this.getWidth(n))];let s=this._characterMapping.getDomPosition(t),o=this._characterMapping.getDomPosition(i);return l.readHorizontalRanges(this._getReadingTarget(e),s.partIndex,s.charIndex,o.partIndex,o.charIndex,n)}getColumnOfNodeOffset(e,t){return C(this._characterMapping,e,t)}}class v extends _{_readVisibleRangesForRange(e,t,i,n,s){let o=super._readVisibleRangesForRange(e,t,i,n,s);if(!o||0===o.length||i===n||1===i&&n===this._characterMapping.length)return o;if(!this.input.containsRTL){let i=this._readPixelOffset(e,t,n,s);if(-1!==i){let e=o[o.length-1];e.left=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=h.i,function(e,t){n(e,t,1)})],c),(0,u._K)(c.ID,c,0);var g=i(81845),p=i(32378),m=i(79915),f=i(70784),_=i(72249);i(4403);var v=i(50950),b=i(5938),C=i(40789),w=i(16783),y=i(58022),S=i(87733),L=i(66219);class k{constructor(e,t){this.key=e,this.migrate=t}apply(e){let t=k._read(e,this.key);this.migrate(t,t=>k._read(e,t),(t,i)=>k._write(e,t,i))}static _read(e,t){if(void 0===e)return;let i=t.indexOf(".");if(i>=0){let n=t.substring(0,i);return this._read(e[n],t.substring(i+1))}return e[t]}static _write(e,t,i){let n=t.indexOf(".");if(n>=0){let s=t.substring(0,n);e[s]=e[s]||{},this._write(e[s],t.substring(n+1),i);return}e[t]=i}}function D(e,t){k.items.push(new k(e,t))}function x(e,t){D(e,(i,n,s)=>{if(void 0!==i){for(let[n,o]of t)if(i===n){s(e,o);return}}})}k.items=[],x("wordWrap",[[!0,"on"],[!1,"off"]]),x("lineNumbers",[[!0,"on"],[!1,"off"]]),x("cursorBlinking",[["visible","solid"]]),x("renderWhitespace",[[!0,"boundary"],[!1,"none"]]),x("renderLineHighlight",[[!0,"line"],[!1,"none"]]),x("acceptSuggestionOnEnter",[[!0,"on"],[!1,"off"]]),x("tabCompletion",[[!1,"off"],[!0,"onlySnippets"]]),x("hover",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),x("parameterHints",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),x("autoIndent",[[!1,"advanced"],[!0,"full"]]),x("matchBrackets",[[!0,"always"],[!1,"never"]]),x("renderFinalNewline",[[!0,"on"],[!1,"off"]]),x("cursorSmoothCaretAnimation",[[!0,"on"],[!1,"off"]]),x("occurrencesHighlight",[[!0,"singleFile"],[!1,"off"]]),x("wordBasedSuggestions",[[!0,"matchingDocuments"],[!1,"off"]]),D("autoClosingBrackets",(e,t,i)=>{!1===e&&(i("autoClosingBrackets","never"),void 0===t("autoClosingQuotes")&&i("autoClosingQuotes","never"),void 0===t("autoSurround")&&i("autoSurround","never"))}),D("renderIndentGuides",(e,t,i)=>{void 0!==e&&(i("renderIndentGuides",void 0),void 0===t("guides.indentation")&&i("guides.indentation",!!e))}),D("highlightActiveIndentGuide",(e,t,i)=>{void 0!==e&&(i("highlightActiveIndentGuide",void 0),void 0===t("guides.highlightActiveIndentation")&&i("guides.highlightActiveIndentation",!!e))});let N={method:"showMethods",function:"showFunctions",constructor:"showConstructors",deprecated:"showDeprecated",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};D("suggest.filteredTypes",(e,t,i)=>{if(e&&"object"==typeof e){for(let n of Object.entries(N)){let s=e[n[0]];!1===s&&void 0===t(`suggest.${n[1]}`)&&i(`suggest.${n[1]}`,!1)}i("suggest.filteredTypes",void 0)}}),D("quickSuggestions",(e,t,i)=>{if("boolean"==typeof e){let t=e?"on":"off";i("quickSuggestions",{comments:t,strings:t,other:t})}}),D("experimental.stickyScroll.enabled",(e,t,i)=>{"boolean"==typeof e&&(i("experimental.stickyScroll.enabled",void 0),void 0===t("stickyScroll.enabled")&&i("stickyScroll.enabled",e))}),D("experimental.stickyScroll.maxLineCount",(e,t,i)=>{"number"==typeof e&&(i("experimental.stickyScroll.maxLineCount",void 0),void 0===t("stickyScroll.maxLineCount")&&i("stickyScroll.maxLineCount",e))}),D("codeActionsOnSave",(e,t,i)=>{if(e&&"object"==typeof e){let t=!1,n={};for(let i of Object.entries(e))"boolean"==typeof i[1]?(t=!0,n[i[0]]=i[1]?"explicit":"never"):n[i[0]]=i[1];t&&i("codeActionsOnSave",n)}}),D("codeActionWidget.includeNearbyQuickfixes",(e,t,i)=>{"boolean"==typeof e&&(i("codeActionWidget.includeNearbyQuickfixes",void 0),void 0===t("codeActionWidget.includeNearbyQuickFixes")&&i("codeActionWidget.includeNearbyQuickFixes",e))}),D("lightbulb.enabled",(e,t,i)=>{"boolean"==typeof e&&i("lightbulb.enabled",e?void 0:"off")});var E=i(3643),I=i(43364),T=i(66597),M=i(9148),R=i(15232),A=i(96825);let P=class extends f.JT{constructor(e,t,i,n,s){super(),this._accessibilityService=s,this._onDidChange=this._register(new m.Q5),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new m.Q5),this.onDidChangeFast=this._onDidChangeFast.event,this._isDominatedByLongLines=!1,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._reservedHeight=0,this._glyphMarginDecorationLaneCount=1,this._computeOptionsMemory=new I.LJ,this.isSimpleWidget=e,this.contextMenuId=t,this._containerObserver=this._register(new S.I(n,i.dimension)),this._targetWindowId=(0,g.Jj)(n).vscodeWindowId,this._rawOptions=W(i),this._validatedOptions=B.validateOptions(this._rawOptions),this.options=this._computeOptions(),this.options.get(13)&&this._containerObserver.startObserving(),this._register(T.C.onDidChangeZoomLevel(()=>this._recomputeOptions())),this._register(E.n.onDidChangeTabFocus(()=>this._recomputeOptions())),this._register(this._containerObserver.onDidChange(()=>this._recomputeOptions())),this._register(L.g.onDidChange(()=>this._recomputeOptions())),this._register(A.T.getInstance((0,g.Jj)(n)).onDidChange(()=>this._recomputeOptions())),this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions()))}_recomputeOptions(){let e=this._computeOptions(),t=B.checkEquals(this.options,e);null!==t&&(this.options=e,this._onDidChangeFast.fire(t),this._onDidChange.fire(t))}_computeOptions(){let e=this._readEnvConfiguration(),t=M.E4.createFromValidatedSettings(this._validatedOptions,e.pixelRatio,this.isSimpleWidget),i=this._readFontInfo(t),n={memory:this._computeOptionsMemory,outerWidth:e.outerWidth,outerHeight:e.outerHeight-this._reservedHeight,fontInfo:i,extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:E.n.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport,glyphMarginDecorationLaneCount:this._glyphMarginDecorationLaneCount};return B.computeOptions(this._validatedOptions,n)}_readEnvConfiguration(){let e;return{extraEditorClassName:(e="",b.G6||b.MG||(e+="no-user-select "),b.G6&&(e+="no-minimap-shadow enable-user-select "),y.dz&&(e+="mac "),e),outerWidth:this._containerObserver.getWidth(),outerHeight:this._containerObserver.getHeight(),emptySelectionClipboard:b.Pf||b.vU,pixelRatio:A.T.getInstance((0,g.ed)(this._targetWindowId,!0).window).value,accessibilitySupport:this._accessibilityService.isScreenReaderOptimized()?2:this._accessibilityService.getAccessibilitySupport()}}_readFontInfo(e){return L.g.readFontInfo((0,g.ed)(this._targetWindowId,!0).window,e)}getRawOptions(){return this._rawOptions}updateOptions(e){let t=W(e),i=B.applyUpdate(this._rawOptions,t);i&&(this._validatedOptions=B.validateOptions(this._rawOptions),this._recomputeOptions())}observeContainer(e){this._containerObserver.observe(e)}setIsDominatedByLongLines(e){this._isDominatedByLongLines!==e&&(this._isDominatedByLongLines=e,this._recomputeOptions())}setModelLineCount(e){let t=function(e){let t=0;for(;e;)e=Math.floor(e/10),t++;return t||1}(e);this._lineNumbersDigitCount!==t&&(this._lineNumbersDigitCount=t,this._recomputeOptions())}setViewLineCount(e){this._viewLineCount!==e&&(this._viewLineCount=e,this._recomputeOptions())}setReservedHeight(e){this._reservedHeight!==e&&(this._reservedHeight=e,this._recomputeOptions())}setGlyphMarginDecorationLaneCount(e){this._glyphMarginDecorationLaneCount!==e&&(this._glyphMarginDecorationLaneCount=e,this._recomputeOptions())}};P=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(s=R.F,function(e,t){s(e,t,4)})],P);class O{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class F{constructor(){this._values=[]}_read(e){if(e>=this._values.length)throw Error("Cannot read uninitialized value");return this._values[e]}get(e){return this._read(e)}_write(e,t){this._values[e]=t}}class B{static validateOptions(e){let t=new O;for(let i of I.Bc){let n="_never_"===i.name?void 0:e[i.name];t._write(i.id,i.validate(n))}return t}static computeOptions(e,t){let i=new F;for(let n of I.Bc)i._write(n.id,n.compute(t,i,e._read(n.id)));return i}static _deepEquals(e,t){if("object"!=typeof e||"object"!=typeof t||!e||!t)return e===t;if(Array.isArray(e)||Array.isArray(t))return!!(Array.isArray(e)&&Array.isArray(t))&&C.fS(e,t);if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let i in e)if(!B._deepEquals(e[i],t[i]))return!1;return!0}static checkEquals(e,t){let i=[],n=!1;for(let s of I.Bc){let o=!B._deepEquals(e._read(s.id),t._read(s.id));i[s.id]=o,o&&(n=!0)}return n?new I.Bb(i):null}static applyUpdate(e,t){let i=!1;for(let n of I.Bc)if(t.hasOwnProperty(n.name)){let s=n.applyUpdate(e[n.name],t[n.name]);e[n.name]=s.newValue,i=i||s.didChange}return i}}function W(e){let t=w.I8(e);return k.items.forEach(e=>e.apply(t)),t}var H=i(70208),V=i(82878),z=i(44634),K=i(2318);class U extends f.JT{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onCompositionStart(e){return!1}onCompositionEnd(e){return!1}onConfigurationChanged(e){return!1}onCursorStateChanged(e){return!1}onDecorationsChanged(e){return!1}onFlushed(e){return!1}onFocusChanged(e){return!1}onLanguageConfigurationChanged(e){return!1}onLineMappingChanged(e){return!1}onLinesChanged(e){return!1}onLinesDeleted(e){return!1}onLinesInserted(e){return!1}onRevealRangeRequest(e){return!1}onScrollChanged(e){return!1}onThemeChanged(e){return!1}onTokensChanged(e){return!1}onTokensColorsChanged(e){return!1}onZonesChanged(e){return!1}handleEvents(e){let t=!1;for(let i=0,n=e.length;i=4&&3===e[0]&&8===e[3]}static isStrictChildOfViewLines(e){return e.length>4&&3===e[0]&&8===e[3]}static isChildOfScrollableElement(e){return e.length>=2&&3===e[0]&&6===e[1]}static isChildOfMinimap(e){return e.length>=2&&3===e[0]&&9===e[1]}static isChildOfContentWidgets(e){return e.length>=4&&3===e[0]&&1===e[3]}static isChildOfOverflowGuard(e){return e.length>=1&&3===e[0]}static isChildOfOverflowingContentWidgets(e){return e.length>=1&&2===e[0]}static isChildOfOverlayWidgets(e){return e.length>=2&&3===e[0]&&4===e[1]}static isChildOfOverflowingOverlayWidgets(e){return e.length>=1&&5===e[0]}}class es{constructor(e,t,i){this.viewModel=e.viewModel;let n=e.configuration.options;this.layoutInfo=n.get(145),this.viewDomNode=t.viewDomNode,this.lineHeight=n.get(67),this.stickyTabStops=n.get(116),this.typicalHalfwidthCharacterWidth=n.get(50).typicalHalfwidthCharacterWidth,this.lastRenderData=i,this._context=e,this._viewHelper=t}getZoneAtCoord(e){return es.getZoneAtCoord(this._context,e)}static getZoneAtCoord(e,t){let i=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(i){let n;let s=i.verticalOffset+i.height/2,o=e.viewModel.getLineCount(),r=null,l=null;return i.afterLineNumber!==o&&(l=new G.L(i.afterLineNumber+1,1)),i.afterLineNumber>0&&(r=new G.L(i.afterLineNumber,e.viewModel.getLineMaxColumn(i.afterLineNumber))),n=null===l?r:null===r?l:t=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,ed._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}}class er extends eo{get target(){return this._useHitTestTarget?this.hitTestResult.value.hitTarget:this._eventTarget}get targetPath(){return this._targetPathCacheElement!==this.target&&(this._targetPathCacheElement=this.target,this._targetPathCacheValue=q.collect(this.target,this._ctx.viewDomNode)),this._targetPathCacheValue}constructor(e,t,i,n,s){super(e,t,i,n),this.hitTestResult=new J.o(()=>ed.doHitTest(this._ctx,this)),this._targetPathCacheElement=null,this._targetPathCacheValue=new Uint8Array(0),this._ctx=e,this._eventTarget=s;let o=!!this._eventTarget;this._useHitTestTarget=!o}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), relativePos(${this.relativePos.x},${this.relativePos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset} - target: ${this.target?this.target.outerHTML:null}`}get wouldBenefitFromHitTestTargetSwitch(){return!this._useHitTestTarget&&null!==this.hitTestResult.value.hitTarget&&this.target!==this.hitTestResult.value.hitTarget}switchToHitTestTarget(){this._useHitTestTarget=!0}_getMouseColumn(e=null){return e&&e.columno.contentLeft+o.width)continue;let i=e.getVerticalOffsetForLineNumber(o.position.lineNumber);if(i<=s&&s<=i+o.height)return t.fulfillContentText(o.position,null,{mightBeForeignElement:!1,injectedText:null})}}return null}static _hitTestViewZone(e,t){let i=e.getZoneAtCoord(t.mouseVerticalOffset);if(i){let e=t.isInContentArea?8:5;return t.fulfillViewZone(e,i.position,i)}return null}static _hitTestTextArea(e,t){return en.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfillContentText(e.lastRenderData.lastTextareaPosition,null,{mightBeForeignElement:!1,injectedText:null}):t.fulfillTextarea():null}static _hitTestMargin(e,t){if(t.isInMarginArea){let i=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),n=i.range.getStartPosition(),s=Math.abs(t.relativePos.x),o={isAfterLines:i.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:s};if((s-=e.layoutInfo.glyphMarginLeft)<=e.layoutInfo.glyphMarginWidth){let r=e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(i.range.getStartPosition()),l=e.viewModel.glyphLanes.getLanesAtLine(r.lineNumber);return o.glyphMarginLane=l[Math.floor(s/e.lineHeight)],t.fulfillMargin(2,n,i.range,o)}return(s-=e.layoutInfo.glyphMarginWidth)<=e.layoutInfo.lineNumbersWidth?t.fulfillMargin(3,n,i.range,o):(s-=e.layoutInfo.lineNumbersWidth,t.fulfillMargin(4,n,i.range,o))}return null}static _hitTestViewLines(e,t){if(!en.isChildOfViewLines(t.targetPath))return null;if(e.isInTopPadding(t.mouseVerticalOffset))return t.fulfillContentEmpty(new G.L(1,1),el);if(e.isAfterLines(t.mouseVerticalOffset)||e.isInBottomPadding(t.mouseVerticalOffset)){let i=e.viewModel.getLineCount(),n=e.viewModel.getLineMaxColumn(i);return t.fulfillContentEmpty(new G.L(i,n),el)}if(en.isStrictChildOfViewLines(t.targetPath)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(0===e.viewModel.getLineLength(i)){let n=e.getLineWidth(i),s=ea(t.mouseContentHorizontalOffset-n);return t.fulfillContentEmpty(new G.L(i,1),s)}let n=e.getLineWidth(i);if(t.mouseContentHorizontalOffset>=n){let s=ea(t.mouseContentHorizontalOffset-n),o=new G.L(i,e.viewModel.getLineMaxColumn(i));return t.fulfillContentEmpty(o,s)}}let i=t.hitTestResult.value;return 1===i.type?ed.createMouseTargetFromHitTestPosition(e,t,i.spanNode,i.position,i.injectedText):t.wouldBenefitFromHitTestTargetSwitch?(t.switchToHitTestTarget(),this._createMouseTarget(e,t)):t.fulfillUnknown()}static _hitTestMinimap(e,t){if(en.isChildOfMinimap(t.targetPath)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new G.L(i,n))}return null}static _hitTestScrollbarSlider(e,t){if(en.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){let i=t.target.className;if(i&&/\b(slider|scrollbar)\b/.test(i)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new G.L(i,n))}}return null}static _hitTestScrollbar(e,t){if(en.isChildOfScrollableElement(t.targetPath)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new G.L(i,n))}return null}getMouseColumn(e){let t=this._context.configuration.options,i=t.get(145),n=this._context.viewLayout.getCurrentScrollLeft()+e.x-i.contentLeft;return ed._getMouseColumn(n,t.get(50).typicalHalfwidthCharacterWidth)}static _getMouseColumn(e,t){return e<0?1:Math.round(e/t)+1}static createMouseTargetFromHitTestPosition(e,t,i,n,s){let o=n.lineNumber,r=n.column,l=e.getLineWidth(o);if(t.mouseContentHorizontalOffset>l){let e=ea(t.mouseContentHorizontalOffset-l);return t.fulfillContentEmpty(n,e)}let a=e.visibleRangeForPosition(o,r);if(!a)return t.fulfillUnknown(n);let d=a.left;if(1>Math.abs(t.mouseContentHorizontalOffset-d))return t.fulfillContentText(n,null,{mightBeForeignElement:!!s,injectedText:s});let h=[];if(h.push({offset:a.left,column:r}),r>1){let t=e.visibleRangeForPosition(o,r-1);t&&h.push({offset:t.left,column:r-1})}let u=e.viewModel.getLineMaxColumn(o);if(re.offset-t.offset);let c=t.pos.toClientCoordinates(g.Jj(e.viewDomNode)),p=i.getBoundingClientRect(),m=p.left<=c.clientX&&c.clientX<=p.right,f=null;for(let e=1;es;if(!o){let i=t.pos.y+(Math.floor((n+s)/2)-t.mouseVerticalOffset);i<=t.editorPos.y&&(i=t.editorPos.y+1),i>=t.editorPos.y+t.editorPos.height&&(i=t.editorPos.y+t.editorPos.height-1);let o=new K.YN(t.pos.x,i),r=this._actualDoHitTestWithCaretRangeFromPoint(e,o.toClientCoordinates(g.Jj(e.viewDomNode)));if(1===r.type)return r}return this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates(g.Jj(e.viewDomNode)))}static _actualDoHitTestWithCaretRangeFromPoint(e,t){let i;let n=g.Ay(e.viewDomNode);if(!(i=n?void 0===n.caretRangeFromPoint?function(e,t,i){let n=document.createRange(),s=e.elementFromPoint(t,i);if(null!==s){let e;for(;s&&s.firstChild&&s.firstChild.nodeType!==s.firstChild.TEXT_NODE&&s.lastChild&&s.lastChild.firstChild;)s=s.lastChild;let i=s.getBoundingClientRect(),o=g.Jj(s),r=o.getComputedStyle(s,null).getPropertyValue("font-style"),l=o.getComputedStyle(s,null).getPropertyValue("font-variant"),a=o.getComputedStyle(s,null).getPropertyValue("font-weight"),d=o.getComputedStyle(s,null).getPropertyValue("font-size"),h=o.getComputedStyle(s,null).getPropertyValue("line-height"),u=o.getComputedStyle(s,null).getPropertyValue("font-family"),c=`${r} ${l} ${a} ${d}/${h} ${u}`,p=s.innerText,m=i.left,f=0;if(t>i.left+i.width)f=p.length;else{let i=eh.getInstance();for(let n=0;nthis._createMouseTarget(e,t),e=>this._getMouseColumn(e))),this.lastMouseLeaveTime=-1,this._height=this._context.configuration.options.get(145).height;let n=new K.N5(this.viewHelper.viewDomNode);this._register(n.onContextMenu(this.viewHelper.viewDomNode,e=>this._onContextMenu(e,!0))),this._register(n.onMouseMove(this.viewHelper.viewDomNode,e=>{this._onMouseMove(e),this._mouseLeaveMonitor||(this._mouseLeaveMonitor=g.nm(this.viewHelper.viewDomNode.ownerDocument,"mousemove",e=>{this.viewHelper.viewDomNode.contains(e.target)||this._onMouseLeave(new K.gy(e,!1,this.viewHelper.viewDomNode))}))})),this._register(n.onMouseUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(n.onMouseLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e)));let s=0;this._register(n.onPointerDown(this.viewHelper.viewDomNode,(e,t)=>{s=t})),this._register(g.nm(this.viewHelper.viewDomNode,g.tw.POINTER_UP,e=>{this._mouseDownOperation.onPointerUp()})),this._register(n.onMouseDown(this.viewHelper.viewDomNode,e=>this._onMouseDown(e,s))),this._setupMouseWheelZoomListener(),this._context.addEventHandler(this)}_setupMouseWheelZoomListener(){let e=ef.Io.INSTANCE,t=0,i=T.C.getZoomLevel(),n=!1,s=0;function o(e){return y.dz?(e.metaKey||e.ctrlKey)&&!e.shiftKey&&!e.altKey:e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey}this._register(g.nm(this.viewHelper.viewDomNode,g.tw.MOUSE_WHEEL,r=>{if(this.viewController.emitMouseWheel(r),!this._context.configuration.options.get(76))return;let l=new ep.q(r);if(e.acceptStandardWheelEvent(l),e.isPhysicalMouseWheel()){if(o(r)){let e=T.C.getZoomLevel(),t=l.deltaY>0?1:-1;T.C.setZoomLevel(e+t),l.preventDefault(),l.stopPropagation()}}else Date.now()-t>50&&(i=T.C.getZoomLevel(),n=o(r),s=0),t=Date.now(),s+=l.deltaY,n&&(T.C.setZoomLevel(i+s/5),l.preventDefault(),l.stopPropagation())},{capture:!0,passive:!1}))}dispose(){this._context.removeEventHandler(this),this._mouseLeaveMonitor&&(this._mouseLeaveMonitor.dispose(),this._mouseLeaveMonitor=null),super.dispose()}onConfigurationChanged(e){if(e.hasChanged(145)){let e=this._context.configuration.options.get(145).height;this._height!==e&&(this._height=e,this._mouseDownOperation.onHeightChanged())}return!1}onCursorStateChanged(e){return this._mouseDownOperation.onCursorStateChanged(e),!1}onFocusChanged(e){return!1}getTargetAtClientPoint(e,t){let i=new K.rU(e,t),n=i.toPageCoordinates(g.Jj(this.viewHelper.viewDomNode)),s=(0,K.kG)(this.viewHelper.viewDomNode);if(n.ys.y+s.height||n.xs.x+s.width)return null;let o=(0,K.Pp)(this.viewHelper.viewDomNode,s,n);return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),s,n,o,null)}_createMouseTarget(e,t){let i=e.target;if(!this.viewHelper.viewDomNode.contains(i)){let t=g.Ay(this.viewHelper.viewDomNode);t&&(i=t.elementsFromPoint(e.posx,e.posy).find(e=>this.viewHelper.viewDomNode.contains(e)))}return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,e.relativePos,t?i:null)}_getMouseColumn(e){return this.mouseTargetFactory.getMouseColumn(e.relativePos)}_onContextMenu(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})}_onMouseMove(e){let t=this.mouseTargetFactory.mouseTargetIsWidget(e);if(t||e.preventDefault(),this._mouseDownOperation.isActive())return;let i=e.timestamp;i{e.preventDefault(),this.viewHelper.focusTextArea()};if(d&&(n||o&&r))h(),this._mouseDownOperation.start(i.type,e,t);else if(s)e.preventDefault();else if(l){let n=i.detail;d&&this.viewHelper.shouldSuppressMouseDownOnViewZone(n.viewZoneId)&&(h(),this._mouseDownOperation.start(i.type,e,t),e.preventDefault())}else a&&this.viewHelper.shouldSuppressMouseDownOnWidget(i.detail)&&(h(),e.preventDefault());this.viewController.emitMouseDown({event:e,target:i})}}class ev extends f.JT{constructor(e,t,i,n,s,o){super(),this._context=e,this._viewController=t,this._viewHelper=i,this._mouseTargetFactory=n,this._createMouseTarget=s,this._getMouseColumn=o,this._mouseMoveMonitor=this._register(new K.AL(this._viewHelper.viewDomNode)),this._topBottomDragScrolling=this._register(new eb(this._context,this._viewHelper,this._mouseTargetFactory,(e,t,i)=>this._dispatchMouse(e,t,i))),this._mouseState=new ew,this._currentSelection=new em.Y(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);let t=this._findMousePosition(e,!1);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):13===t.type&&("above"===t.outsidePosition||"below"===t.outsidePosition)?this._topBottomDragScrolling.start(t,e):(this._topBottomDragScrolling.stop(),this._dispatchMouse(t,!0,1)))}start(e,t,i){this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(3===e),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t);let n=this._findMousePosition(t,!0);if(!n||!n.position)return;this._mouseState.trySetCount(t.detail,n.position),t.detail=this._mouseState.count;let s=this._context.configuration.options;if(!s.get(91)&&s.get(35)&&!s.get(22)&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===n.type&&n.position&&this._currentSelection.containsPosition(n.position)){this._mouseState.isDragAndDrop=!0,this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,i,t.buttons,e=>this._onMouseDownThenMove(e),e=>{let t=this._findMousePosition(this._lastMouseEvent,!1);g.vd(e)?this._viewController.emitMouseDropCanceled():this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:t?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()});return}this._mouseState.isDragAndDrop=!1,this._dispatchMouse(n,t.shiftKey,1),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,i,t.buttons,e=>this._onMouseDownThenMove(e),()=>this._stop()))}_stop(){this._isActive=!1,this._topBottomDragScrolling.stop()}onHeightChanged(){this._mouseMoveMonitor.stopMonitoring()}onPointerUp(){this._mouseMoveMonitor.stopMonitoring()}onCursorStateChanged(e){this._currentSelection=e.selections[0]}_getPositionOutsideEditor(e){let t=e.editorPos,i=this._context.viewModel,n=this._context.viewLayout,s=this._getMouseColumn(e);if(e.posyt.y+t.height){let o=e.posy-t.y-t.height,r=n.getCurrentScrollTop()+e.relativePos.y,l=es.getZoneAtCoord(this._context,r);if(l){let e=this._helpPositionJumpOverViewZone(l);if(e)return ei.createOutsideEditor(s,e,"below",o)}let a=n.getLineNumberAtVerticalOffset(r);return ei.createOutsideEditor(s,new G.L(a,i.getLineMaxColumn(a)),"below",o)}let o=n.getLineNumberAtVerticalOffset(n.getCurrentScrollTop()+e.relativePos.y);if(e.posxt.x+t.width){let n=e.posx-t.x-t.width;return ei.createOutsideEditor(s,new G.L(o,i.getLineMaxColumn(o)),"right",n)}return null}_findMousePosition(e,t){let i=this._getPositionOutsideEditor(e);if(i)return i;let n=this._createMouseTarget(e,t),s=n.position;if(!s)return null;if(8===n.type||5===n.type){let e=this._helpPositionJumpOverViewZone(n.detail);if(e)return ei.createViewZone(n.type,n.element,n.mouseColumn,e,n.detail)}return n}_helpPositionJumpOverViewZone(e){let t=new G.L(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),i=e.positionBefore,n=e.positionAfter;return i&&n?i.isBefore(t)?i:n:null}_dispatchMouse(e,t,i){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,revealType:i,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton,onInjectedText:6===e.type&&null!==e.detail.injectedText})}}class eb extends f.JT{constructor(e,t,i,n){super(),this._context=e,this._viewHelper=t,this._mouseTargetFactory=i,this._dispatchMouse=n,this._operation=null}dispose(){super.dispose(),this.stop()}start(e,t){this._operation?this._operation.setPosition(e,t):this._operation=new eC(this._context,this._viewHelper,this._mouseTargetFactory,this._dispatchMouse,e,t)}stop(){this._operation&&(this._operation.dispose(),this._operation=null)}}class eC extends f.JT{constructor(e,t,i,n,s,o){super(),this._context=e,this._viewHelper=t,this._mouseTargetFactory=i,this._dispatchMouse=n,this._position=s,this._mouseEvent=o,this._lastTime=Date.now(),this._animationFrameDisposable=g.jL(g.Jj(o.browserEvent),()=>this._execute())}dispose(){this._animationFrameDisposable.dispose(),super.dispose()}setPosition(e,t){this._position=e,this._mouseEvent=t}_tick(){let e=Date.now(),t=e-this._lastTime;return this._lastTime=e,t}_getScrollSpeed(){let e=this._context.configuration.options.get(67),t=this._context.configuration.options.get(145).height/e,i=this._position.outsideDistance/e;return i<=1.5?Math.max(30,t*(1+i)):i<=3?Math.max(60,t*(2+i)):Math.max(200,t*(7+i))}_execute(){let e;let t=this._context.configuration.options.get(67),i=this._getScrollSpeed(),n=this._tick(),s=i*(n/1e3)*t,o="above"===this._position.outsidePosition?-s:s;this._context.viewModel.viewLayout.deltaScrollNow(0,o),this._viewHelper.renderNow();let r=this._context.viewLayout.getLinesViewportData(),l="above"===this._position.outsidePosition?r.startLineNumber:r.endLineNumber;{let t=(0,K.kG)(this._viewHelper.viewDomNode),i=this._context.configuration.options.get(145).horizontalScrollbarHeight,n=new K.YN(this._mouseEvent.pos.x,t.y+t.height-i-.1),s=(0,K.Pp)(this._viewHelper.viewDomNode,t,n);e=this._mouseTargetFactory.createMouseTarget(this._viewHelper.getLastRenderData(),t,n,s,null)}e.position&&e.position.lineNumber===l||(e="above"===this._position.outsidePosition?ei.createOutsideEditor(this._position.mouseColumn,new G.L(l,1),"above",this._position.outsideDistance):ei.createOutsideEditor(this._position.mouseColumn,new G.L(l,this._context.viewModel.getLineMaxColumn(l)),"below",this._position.outsideDistance)),this._dispatchMouse(e,!0,2),this._animationFrameDisposable=g.jL(g.Jj(e.element),()=>this._execute())}}class ew{get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get count(){return this._lastMouseDownCount}setModifiers(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey}setStartButtons(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton}setStartedOnLineNumbers(e){this._startedOnLineNumbers=e}trySetCount(e,t){let i=new Date().getTime();i-this._lastSetMouseDownCountTime>ew.CLEAR_MOUSE_DOWN_COUNT_TIME&&(e=1),this._lastSetMouseDownCountTime=i,e>this._lastMouseDownCount+1&&(e=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(t)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=t,this._lastMouseDownCount=Math.min(e,this._lastMouseDownPositionEqualCount)}}ew.CLEAR_MOUSE_DOWN_COUNT_TIME=400;var ey=i(62432);class eS extends e_{constructor(e,t,i){super(e,t,i),this._register(ec.o.addTarget(this.viewHelper.linesContentDomNode)),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Tap,e=>this.onTap(e))),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Change,e=>this.onChange(e))),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Contextmenu,e=>this._onContextMenu(new K.gy(e,!1,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(g.nm(this.viewHelper.linesContentDomNode,"pointerdown",e=>{let t=e.pointerType;if("mouse"===t){this._lastPointerType="mouse";return}"touch"===t?this._lastPointerType="touch":this._lastPointerType="pen"}));let n=new K.tC(this.viewHelper.viewDomNode);this._register(n.onPointerMove(this.viewHelper.viewDomNode,e=>this._onMouseMove(e))),this._register(n.onPointerUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(n.onPointerLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(n.onPointerDown(this.viewHelper.viewDomNode,(e,t)=>this._onMouseDown(e,t)))}onTap(e){e.initialTarget&&this.viewHelper.linesContentDomNode.contains(e.initialTarget)&&(e.preventDefault(),this.viewHelper.focusTextArea(),this._dispatchGesture(e,!1))}onChange(e){"touch"===this._lastPointerType&&this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY),"pen"===this._lastPointerType&&this._dispatchGesture(e,!0)}_dispatchGesture(e,t){let i=this._createMouseTarget(new K.gy(e,!1,this.viewHelper.viewDomNode),!1);i.position&&this.viewController.dispatchMouse({position:i.position,mouseColumn:i.position.column,startedOnLineNumbers:!1,revealType:1,mouseDownCount:e.tapCount,inSelectionMode:t,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1,onInjectedText:6===i.type&&null!==i.detail.injectedText})}_onMouseDown(e,t){"touch"!==e.browserEvent.pointerType&&super._onMouseDown(e,t)}}class eL extends e_{constructor(e,t,i){super(e,t,i),this._register(ec.o.addTarget(this.viewHelper.linesContentDomNode)),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Tap,e=>this.onTap(e))),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Change,e=>this.onChange(e))),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Contextmenu,e=>this._onContextMenu(new K.gy(e,!1,this.viewHelper.viewDomNode),!1)))}onTap(e){e.preventDefault(),this.viewHelper.focusTextArea();let t=this._createMouseTarget(new K.gy(e,!1,this.viewHelper.viewDomNode),!1);if(t.position){let e=document.createEvent("CustomEvent");e.initEvent(ey.pd.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(e),this.viewController.moveTo(t.position,1)}}onChange(e){this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)}}class ek extends f.JT{constructor(e,t,i){super();let n=y.gn||y.Dt&&y.tq;n&&eu.D.pointerEvents?this.handler=this._register(new eS(e,t,i)):eg.E.TouchEvent?this.handler=this._register(new eL(e,t,i)):this.handler=this._register(new e_(e,t,i))}getTargetAtClientPoint(e,t){return this.handler.getTargetAtClientPoint(e,t)}}i(55660);var eD=i(82801),ex=i(95612),eN=i(69217);i(36023);class eE extends U{}var eI=i(55150),eT=i(34109);class eM extends eE{constructor(e){super(),this._context=e,this._readConfig(),this._lastCursorModelPosition=new G.L(1,1),this._renderResult=null,this._activeLineNumber=1,this._context.addEventHandler(this)}_readConfig(){let e=this._context.configuration.options;this._lineHeight=e.get(67);let t=e.get(68);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(95);let i=e.get(145);this._lineNumbersLeft=i.lineNumbersLeft,this._lineNumbersWidth=i.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return this._readConfig(),!0}onCursorStateChanged(e){let t=e.selections[0].getPosition();this._lastCursorModelPosition=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(t);let i=!1;return this._activeLineNumber!==t.lineNumber&&(this._activeLineNumber=t.lineNumber,i=!0),(2===this._renderLineNumbers||3===this._renderLineNumbers)&&(i=!0),i}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onDecorationsChanged(e){return e.affectsLineNumber}_getLineRenderLineNumber(e){let t=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new G.L(e,1));if(1!==t.column)return"";let i=t.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(i);if(2===this._renderLineNumbers){let e=Math.abs(this._lastCursorModelPosition.lineNumber-i);return 0===e?''+i+"":String(e)}if(3===this._renderLineNumbers){if(this._lastCursorModelPosition.lineNumber===i||i%10==0)return String(i);let e=this._context.viewModel.getLineCount();return i===e?String(i):""}return String(i)}prepareRender(e){if(0===this._renderLineNumbers){this._renderResult=null;return}let t=y.IJ?this._lineHeight%2==0?" lh-even":" lh-odd":"",i=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,s=this._context.viewModel.getDecorationsInViewport(e.visibleRange).filter(e=>!!e.options.lineNumberClassName);s.sort((e,t)=>Q.e.compareRangesUsingEnds(e.range,t.range));let o=0,r=this._context.viewModel.getLineCount(),l=[];for(let e=i;e<=n;e++){let n=e-i,a=this._getLineRenderLineNumber(e),d="";for(;o${a}`}this._renderResult=l}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}eM.CLASS_NAME="line-numbers",(0,eI.Ic)((e,t)=>{let i=e.getColor(eT.hw),n=e.getColor(eT.Bj);n?t.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${n}; }`):i&&t.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${i.transparent(.4)}; }`)}),i(51771);class eR extends ${constructor(e){super(e);let t=this._context.configuration.options,i=t.get(145);this._canUseLayerHinting=!t.get(32),this._contentLeft=i.contentLeft,this._glyphMarginLeft=i.glyphMarginLeft,this._glyphMarginWidth=i.glyphMarginWidth,this._domNode=(0,V.X)(document.createElement("div")),this._domNode.setClassName(eR.OUTER_CLASS_NAME),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=(0,V.X)(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName(eR.CLASS_NAME),this._domNode.appendChild(this._glyphMarginBackgroundDomNode)}dispose(){super.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._canUseLayerHinting=!t.get(32),this._contentLeft=i.contentLeft,this._glyphMarginLeft=i.glyphMarginLeft,this._glyphMarginWidth=i.glyphMarginWidth,!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollTopChanged}prepareRender(e){}render(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");let t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);let i=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(i),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(i)}}eR.CLASS_NAME="glyph-margin",eR.OUTER_CLASS_NAME="margin";var eA=i(41117);i(65725);let eP="monaco-mouse-cursor-text";var eO=i(1863),eF=i(76515),eB=i(33010),eW=i(46417),eH=i(85327),eV=function(e,t){return function(i,n){t(i,n,e)}};class ez{constructor(e,t,i,n,s){this._context=e,this.modelLineNumber=t,this.distanceToModelLineStart=i,this.widthOfHiddenLineTextBefore=n,this.distanceToModelLineEnd=s,this._visibleTextAreaBrand=void 0,this.startPosition=null,this.endPosition=null,this.visibleTextareaStart=null,this.visibleTextareaEnd=null,this._previousPresentation=null}prepareRender(e){let t=new G.L(this.modelLineNumber,this.distanceToModelLineStart+1),i=new G.L(this.modelLineNumber,this._context.viewModel.model.getLineMaxColumn(this.modelLineNumber)-this.distanceToModelLineEnd);this.startPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(t),this.endPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i),this.startPosition.lineNumber===this.endPosition.lineNumber?(this.visibleTextareaStart=e.visibleRangeForPosition(this.startPosition),this.visibleTextareaEnd=e.visibleRangeForPosition(this.endPosition)):(this.visibleTextareaStart=null,this.visibleTextareaEnd=null)}definePresentation(e){return this._previousPresentation||(e?this._previousPresentation=e:this._previousPresentation={foreground:1,italic:!1,bold:!1,underline:!1,strikethrough:!1}),this._previousPresentation}}let eK=b.vU,eU=class extends ${constructor(e,t,i,n,s){super(e),this._keybindingService=n,this._instantiationService=s,this._primaryCursorPosition=new G.L(1,1),this._primaryCursorVisibleRange=null,this._viewController=t,this._visibleRangeProvider=i,this._scrollLeft=0,this._scrollTop=0;let o=this._context.configuration.options,r=o.get(145);this._setAccessibilityOptions(o),this._contentLeft=r.contentLeft,this._contentWidth=r.contentWidth,this._contentHeight=r.height,this._fontInfo=o.get(50),this._lineHeight=o.get(67),this._emptySelectionClipboard=o.get(37),this._copyWithSyntaxHighlighting=o.get(25),this._visibleTextArea=null,this._selections=[new em.Y(1,1,1,1)],this._modelSelections=[new em.Y(1,1,1,1)],this._lastRenderPosition=null,this.textArea=(0,V.X)(document.createElement("textarea")),q.write(this.textArea,7),this.textArea.setClassName(`inputarea ${eP}`),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off");let{tabSize:l}=this._context.viewModel.model.getOptions();this.textArea.domNode.style.tabSize=`${l*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(o)),this.textArea.setAttribute("aria-required",o.get(5)?"true":"false"),this.textArea.setAttribute("tabindex",String(o.get(124))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",eD.NC("editor","editor")),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-autocomplete",o.get(91)?"none":"both"),this._ensureReadOnlyAttribute(),this.textAreaCover=(0,V.X)(document.createElement("div")),this.textAreaCover.setPosition("absolute");let a={getLineCount:()=>this._context.viewModel.getLineCount(),getLineMaxColumn:e=>this._context.viewModel.getLineMaxColumn(e),getValueInRange:(e,t)=>this._context.viewModel.getValueInRange(e,t),getValueLengthInRange:(e,t)=>this._context.viewModel.getValueLengthInRange(e,t),modifyPosition:(e,t)=>this._context.viewModel.modifyPosition(e,t)},d=this._register(new ey.Tj(this.textArea.domNode));this._textAreaInput=this._register(this._instantiationService.createInstance(ey.Fz,{getDataToCopy:()=>{let e;let t=this._context.viewModel.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,y.ED),i=this._context.viewModel.model.getEOL(),n=this._emptySelectionClipboard&&1===this._modelSelections.length&&this._modelSelections[0].isEmpty(),s=Array.isArray(t)?t:null,o=Array.isArray(t)?t.join(i):t,r=null;if(ey.RA.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&o.length<65536){let t=this._context.viewModel.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);t&&(e=t.html,r=t.mode)}return{isFromEmptySelection:n,multicursorText:s,text:o,html:e,mode:r}},getScreenReaderContent:()=>{if(1===this._accessibilitySupport){let e=this._selections[0];if(y.dz&&e.isEmpty()){let t=e.getStartPosition(),i=this._getWordBeforePosition(t);if(0===i.length&&(i=this._getCharacterBeforePosition(t)),i.length>0)return new eN.un(i,i.length,i.length,Q.e.fromPositions(t),0)}if(y.dz&&!e.isEmpty()&&500>a.getValueLengthInRange(e,0)){let t=a.getValueInRange(e,0);return new eN.un(t,0,t.length,e,0)}if(b.G6&&!e.isEmpty()){let e="vscode-placeholder";return new eN.un(e,0,e.length,null,void 0)}return eN.un.EMPTY}if(b.Dt){let e=this._selections[0];if(e.isEmpty()){let t=e.getStartPosition(),[i,n]=this._getAndroidWordAtPosition(t);if(i.length>0)return new eN.un(i,n,n,Q.e.fromPositions(t),0)}return eN.un.EMPTY}return eN.ee.fromEditorSelection(a,this._selections[0],this._accessibilityPageSize,0===this._accessibilitySupport)},deduceModelPosition:(e,t,i)=>this._context.viewModel.deduceModelPositionRelativeToViewPosition(e,t,i)},d,y.OS,{isAndroid:b.Dt,isChrome:b.i7,isFirefox:b.vU,isSafari:b.G6})),this._register(this._textAreaInput.onKeyDown(e=>{this._viewController.emitKeyDown(e)})),this._register(this._textAreaInput.onKeyUp(e=>{this._viewController.emitKeyUp(e)})),this._register(this._textAreaInput.onPaste(e=>{let t=!1,i=null,n=null;e.metadata&&(t=this._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,i=void 0!==e.metadata.multicursorText?e.metadata.multicursorText:null,n=e.metadata.mode),this._viewController.paste(e.text,t,i,n)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(e=>{e.replacePrevCharCnt||e.replaceNextCharCnt||e.positionDelta?(eN.al&&console.log(` => compositionType: <<${e.text}>>, ${e.replacePrevCharCnt}, ${e.replaceNextCharCnt}, ${e.positionDelta}`),this._viewController.compositionType(e.text,e.replacePrevCharCnt,e.replaceNextCharCnt,e.positionDelta)):(eN.al&&console.log(` => type: <<${e.text}>>`),this._viewController.type(e.text))})),this._register(this._textAreaInput.onSelectionChangeRequest(e=>{this._viewController.setSelection(e)})),this._register(this._textAreaInput.onCompositionStart(e=>{let t=this.textArea.domNode,i=this._modelSelections[0],{distanceToModelLineStart:n,widthOfHiddenTextBefore:s}=(()=>{let e=t.value.substring(0,Math.min(t.selectionStart,t.selectionEnd)),n=e.lastIndexOf("\n"),s=e.substring(n+1),o=s.lastIndexOf(" "),r=s.length-o-1,l=i.getStartPosition(),a=Math.min(l.column-1,r),d=l.column-1-a,h=s.substring(0,s.length-a),{tabSize:u}=this._context.viewModel.model.getOptions(),c=function(e,t,i,n){if(0===t.length)return 0;let s=e.createElement("div");s.style.position="absolute",s.style.top="-50000px",s.style.width="50000px";let o=e.createElement("span");(0,v.N)(o,i),o.style.whiteSpace="pre",o.style.tabSize=`${n*i.spaceWidth}px`,o.append(t),s.appendChild(o),e.body.appendChild(s);let r=o.offsetWidth;return e.body.removeChild(s),r}(this.textArea.domNode.ownerDocument,h,this._fontInfo,u);return{distanceToModelLineStart:d,widthOfHiddenTextBefore:c}})(),{distanceToModelLineEnd:o}=(()=>{let e=t.value.substring(Math.max(t.selectionStart,t.selectionEnd)),n=e.indexOf("\n"),s=-1===n?e:e.substring(0,n),o=s.indexOf(" "),r=-1===o?s.length:s.length-o-1,l=i.getEndPosition(),a=Math.min(this._context.viewModel.model.getLineMaxColumn(l.lineNumber)-l.column,r),d=this._context.viewModel.model.getLineMaxColumn(l.lineNumber)-l.column-a;return{distanceToModelLineEnd:d}})();this._context.viewModel.revealRange("keyboard",!0,Q.e.fromPositions(this._selections[0].getStartPosition()),0,1),this._visibleTextArea=new ez(this._context,i.startLineNumber,n,s,o),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off"),this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render(),this.textArea.setClassName(`inputarea ${eP} ime-input`),this._viewController.compositionStart(),this._context.viewModel.onCompositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(e=>{this._visibleTextArea&&(this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render())})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off"),this._render(),this.textArea.setClassName(`inputarea ${eP}`),this._viewController.compositionEnd(),this._context.viewModel.onCompositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.viewModel.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.viewModel.setHasFocus(!1)})),this._register(eB.F.onDidChange(()=>{this._ensureReadOnlyAttribute()}))}writeScreenReaderContent(e){this._textAreaInput.writeNativeTextAreaContent(e)}dispose(){super.dispose()}_getAndroidWordAtPosition(e){let t=this._context.viewModel.getLineContent(e.lineNumber),i=(0,eA.u)('`~!@#$%^&*()-=+[{]}\\|;:",.<>/?',[]),n=!0,s=e.column,o=!0,r=e.column,l=0;for(;l<50&&(n||o);){if(n&&s<=1&&(n=!1),n){let e=t.charCodeAt(s-2),o=i.get(e);0!==o?n=!1:s--}if(o&&r>t.length&&(o=!1),o){let e=t.charCodeAt(r-1),n=i.get(e);0!==n?o=!1:r++}l++}return[t.substring(s-1,r-1),e.column-s]}_getWordBeforePosition(e){let t=this._context.viewModel.getLineContent(e.lineNumber),i=(0,eA.u)(this._context.configuration.options.get(131),[]),n=e.column,s=0;for(;n>1;){let o=t.charCodeAt(n-2),r=i.get(o);if(0!==r||s>50)return t.substring(n-1,e.column-1);s++,n--}return t.substring(0,e.column-1)}_getCharacterBeforePosition(e){if(e.column>1){let t=this._context.viewModel.getLineContent(e.lineNumber),i=t.charAt(e.column-2);if(!ex.ZG(i.charCodeAt(0)))return i}return""}_getAriaLabel(e){var t,i,n;let s=e.get(2);if(1===s){let e=null===(t=this._keybindingService.lookupKeybinding("editor.action.toggleScreenReaderAccessibilityMode"))||void 0===t?void 0:t.getAriaLabel(),s=null===(i=this._keybindingService.lookupKeybinding("workbench.action.showCommands"))||void 0===i?void 0:i.getAriaLabel(),o=null===(n=this._keybindingService.lookupKeybinding("workbench.action.openGlobalKeybindings"))||void 0===n?void 0:n.getAriaLabel(),r=eD.NC("accessibilityModeOff","The editor is not accessible at this time.");return e?eD.NC("accessibilityOffAriaLabel","{0} To enable screen reader optimized mode, use {1}",r,e):s?eD.NC("accessibilityOffAriaLabelNoKb","{0} To enable screen reader optimized mode, open the quick pick with {1} and run the command Toggle Screen Reader Accessibility Mode, which is currently not triggerable via keyboard.",r,s):o?eD.NC("accessibilityOffAriaLabelNoKbs","{0} Please assign a keybinding for the command Toggle Screen Reader Accessibility Mode by accessing the keybindings editor with {1} and run it.",r,o):r}return e.get(4)}_setAccessibilityOptions(e){this._accessibilitySupport=e.get(2);let t=e.get(3);2===this._accessibilitySupport&&t===I.BH.accessibilityPageSize.defaultValue?this._accessibilityPageSize=500:this._accessibilityPageSize=t;let i=e.get(145),n=i.wrappingColumn;if(-1!==n&&1!==this._accessibilitySupport){let t=e.get(50);this._textAreaWrapping=!0,this._textAreaWidth=Math.round(n*t.typicalHalfwidthCharacterWidth)}else this._textAreaWrapping=!1,this._textAreaWidth=eK?0:1}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);this._setAccessibilityOptions(t),this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,this._contentHeight=i.height,this._fontInfo=t.get(50),this._lineHeight=t.get(67),this._emptySelectionClipboard=t.get(37),this._copyWithSyntaxHighlighting=t.get(25),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off");let{tabSize:n}=this._context.viewModel.model.getOptions();return this.textArea.domNode.style.tabSize=`${n*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute("aria-label",this._getAriaLabel(t)),this.textArea.setAttribute("aria-required",t.get(5)?"true":"false"),this.textArea.setAttribute("tabindex",String(t.get(124))),(e.hasChanged(34)||e.hasChanged(91))&&this._ensureReadOnlyAttribute(),e.hasChanged(2)&&this._textAreaInput.writeNativeTextAreaContent("strategy changed"),!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeNativeTextAreaContent("selection changed"),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0}onZonesChanged(e){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(e){e.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",e.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),e.role&&this.textArea.setAttribute("role",e.role)}_ensureReadOnlyAttribute(){let e=this._context.configuration.options,t=!eB.F.enabled||e.get(34)&&e.get(91);t?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")}prepareRender(e){var t;this._primaryCursorPosition=new G.L(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition),null===(t=this._visibleTextArea)||void 0===t||t.prepareRender(e)}render(e){this._textAreaInput.writeNativeTextAreaContent("render"),this._render()}_render(){var e;if(this._visibleTextArea){let e=this._visibleTextArea.visibleTextareaStart,t=this._visibleTextArea.visibleTextareaEnd,i=this._visibleTextArea.startPosition,n=this._visibleTextArea.endPosition;if(i&&n&&e&&t&&t.left>=this._scrollLeft&&e.left<=this._scrollLeft+this._contentWidth){let s=this._context.viewLayout.getVerticalOffsetForLineNumber(this._primaryCursorPosition.lineNumber)-this._scrollTop,o=this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart)),r=this._visibleTextArea.widthOfHiddenLineTextBefore,l=this._contentLeft+e.left-this._scrollLeft,a=t.left-e.left+1;if(lthis._contentWidth&&(a=this._contentWidth);let d=this._context.viewModel.getViewLineData(i.lineNumber),h=d.tokens.findTokenIndexAtOffset(i.column-1),u=d.tokens.findTokenIndexAtOffset(n.column-1),c=h===u,g=this._visibleTextArea.definePresentation(c?d.tokens.getPresentation(h):null);this.textArea.domNode.scrollTop=o*this._lineHeight,this.textArea.domNode.scrollLeft=r,this._doRender({lastRenderPosition:null,top:s,left:l,width:a,height:this._lineHeight,useCover:!1,color:(eO.RW.getColorMap()||[])[g.foreground],italic:g.italic,bold:g.bold,underline:g.underline,strikethrough:g.strikethrough})}return}if(!this._primaryCursorVisibleRange){this._renderAtTopLeft();return}let t=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(tthis._contentLeft+this._contentWidth){this._renderAtTopLeft();return}let i=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;if(i<0||i>this._contentHeight){this._renderAtTopLeft();return}if(y.dz||2===this._accessibilitySupport){this._doRender({lastRenderPosition:this._primaryCursorPosition,top:i,left:this._textAreaWrapping?this._contentLeft:t,width:this._textAreaWidth,height:this._lineHeight,useCover:!1}),this.textArea.domNode.scrollLeft=this._primaryCursorVisibleRange.left;let n=null!==(e=this._textAreaInput.textAreaState.newlineCountBeforeSelection)&&void 0!==e?e:this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));this.textArea.domNode.scrollTop=n*this._lineHeight;return}this._doRender({lastRenderPosition:this._primaryCursorPosition,top:i,left:this._textAreaWrapping?this._contentLeft:t,width:this._textAreaWidth,height:eK?0:1,useCover:!1})}_newlinecount(e){let t=0,i=-1;for(;-1!==(i=e.indexOf("\n",i+1));)t++;return t}_renderAtTopLeft(){this._doRender({lastRenderPosition:null,top:0,left:0,width:this._textAreaWidth,height:eK?0:1,useCover:!0})}_doRender(e){this._lastRenderPosition=e.lastRenderPosition;let t=this.textArea,i=this.textAreaCover;(0,v.N)(t,this._fontInfo),t.setTop(e.top),t.setLeft(e.left),t.setWidth(e.width),t.setHeight(e.height),t.setColor(e.color?eF.Il.Format.CSS.formatHex(e.color):""),t.setFontStyle(e.italic?"italic":""),e.bold&&t.setFontWeight("bold"),t.setTextDecoration(`${e.underline?" underline":""}${e.strikethrough?" line-through":""}`),i.setTop(e.useCover?e.top:0),i.setLeft(e.useCover?e.left:0),i.setWidth(e.useCover?e.width:0),i.setHeight(e.useCover?e.height:0);let n=this._context.configuration.options;n.get(57)?i.setClassName("monaco-editor-background textAreaCover "+eR.OUTER_CLASS_NAME):0!==n.get(68).renderType?i.setClassName("monaco-editor-background textAreaCover "+eM.CLASS_NAME):i.setClassName("monaco-editor-background textAreaCover")}};eU=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eV(3,eW.d),eV(4,eH.TG)],eU);var e$=i(18069),eq=i(31415);class ej{constructor(e,t,i,n){this.configuration=e,this.viewModel=t,this.userInputEvents=i,this.commandDelegate=n}paste(e,t,i,n){this.commandDelegate.paste(e,t,i,n)}type(e){this.commandDelegate.type(e)}compositionType(e,t,i,n){this.commandDelegate.compositionType(e,t,i,n)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(e){eq.Ox.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:e})}_validateViewColumn(e){let t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column=4?this._selectAll():3===e.mouseDownCount?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position,e.revealType):this._lastCursorLineSelect(e.position,e.revealType):e.inSelectionMode?this._lineSelectDrag(e.position,e.revealType):this._lineSelect(e.position,e.revealType):2===e.mouseDownCount?e.onInjectedText||(this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position,e.revealType):e.inSelectionMode?this._wordSelectDrag(e.position,e.revealType):this._wordSelect(e.position,e.revealType)):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position,e.revealType):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey?this._columnSelect(e.position,e.mouseColumn,!0):n?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position,e.revealType):this.moveTo(e.position,e.revealType)}_usualArgs(e,t){return e=this._validateViewColumn(e),{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,revealType:t}}moveTo(e,t){eq.Ox.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_moveToSelect(e,t){eq.Ox.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_columnSelect(e,t,i){e=this._validateViewColumn(e),eq.Ox.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:i})}_createCursor(e,t){e=this._validateViewColumn(e),eq.Ox.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})}_lastCursorMoveToSelect(e,t){eq.Ox.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_wordSelect(e,t){eq.Ox.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_wordSelectDrag(e,t){eq.Ox.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lastCursorWordSelect(e,t){eq.Ox.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lineSelect(e,t){eq.Ox.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lineSelectDrag(e,t){eq.Ox.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lastCursorLineSelect(e,t){eq.Ox.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lastCursorLineSelectDrag(e,t){eq.Ox.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_selectAll(){eq.Ox.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}_convertViewToModelPosition(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)}emitKeyDown(e){this.userInputEvents.emitKeyDown(e)}emitKeyUp(e){this.userInputEvents.emitKeyUp(e)}emitContextMenu(e){this.userInputEvents.emitContextMenu(e)}emitMouseMove(e){this.userInputEvents.emitMouseMove(e)}emitMouseLeave(e){this.userInputEvents.emitMouseLeave(e)}emitMouseUp(e){this.userInputEvents.emitMouseUp(e)}emitMouseDown(e){this.userInputEvents.emitMouseDown(e)}emitMouseDrag(e){this.userInputEvents.emitMouseDrag(e)}emitMouseDrop(e){this.userInputEvents.emitMouseDrop(e)}emitMouseDropCanceled(){this.userInputEvents.emitMouseDropCanceled()}emitMouseWheel(e){this.userInputEvents.emitMouseWheel(e)}}var eG=i(39813),eQ=i(91797);class eZ{constructor(e){this._createLine=e,this._set(1,[])}flush(){this._set(1,[])}_set(e,t){this._lines=t,this._rendLineNumberStart=e}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(e){let t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new p.he("Illegal value for lineNumber");return this._lines[t]}onLinesDeleted(e,t){if(0===this.getCount())return null;let i=this.getStartLineNumber(),n=this.getEndLineNumber();if(tn)return null;let s=0,o=0;for(let r=i;r<=n;r++){let i=r-this._rendLineNumberStart;e<=r&&r<=t&&(0===o?(s=i,o=1):o++)}if(e=n&&t<=s&&(this._lines[t-this._rendLineNumberStart].onContentChanged(),o=!0);return o}onLinesInserted(e,t){if(0===this.getCount())return null;let i=t-e+1,n=this.getStartLineNumber(),s=this.getEndLineNumber();if(e<=n)return this._rendLineNumberStart+=i,null;if(e>s)return null;if(i+e>s){let t=this._lines.splice(e-this._rendLineNumberStart,s-e+1);return t}let o=[];for(let e=0;ei)continue;let r=Math.max(t,o.fromLineNumber),l=Math.min(i,o.toLineNumber);for(let e=r;e<=l;e++){let t=e-this._rendLineNumberStart;this._lines[t].onTokensChanged(),n=!0}}return n}}class eY{constructor(e){this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new eZ(()=>this._host.createVisibleLine())}_createDomNode(){let e=(0,V.X)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e}onConfigurationChanged(e){return!!e.hasChanged(145)}onFlushed(e){return this._linesCollection.flush(),!0}onLinesChanged(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.count)}onLinesDeleted(e){let t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(let e=0,i=t.length;et){let e=Math.min(i,s.rendLineNumberStart-1);t<=e&&(this._insertLinesBefore(s,t,e,n,t),s.linesLength+=e-t+1)}else if(s.rendLineNumberStart0&&(this._removeLinesBefore(s,e),s.linesLength-=e)}if(s.rendLineNumberStart=t,s.rendLineNumberStart+s.linesLength-1i){let e=Math.max(0,i-s.rendLineNumberStart+1),t=s.linesLength-1,n=t-e+1;n>0&&(this._removeLinesAfter(s,n),s.linesLength-=n)}return this._finishRendering(s,!1,n),s}_renderUntouchedLines(e,t,i,n,s){let o=e.rendLineNumberStart,r=e.lines;for(let e=t;e<=i;e++){let t=o+e;r[e].layoutLine(t,n[t-s],this.viewportData.lineHeight)}}_insertLinesBefore(e,t,i,n,s){let o=[],r=0;for(let e=t;e<=i;e++)o[r++]=this.host.createVisibleLine();e.lines=o.concat(e.lines)}_removeLinesBefore(e,t){for(let i=0;i=0;t--){let i=e.lines[t];n[t]&&(i.setDomNode(o),o=o.previousSibling)}}_finishRenderingInvalidLines(e,t,i){let n=document.createElement("div");eJ._ttPolicy&&(t=eJ._ttPolicy.createHTML(t)),n.innerHTML=t;for(let t=0;te}),eJ._sb=new eQ.HT(1e5);class eX extends ${constructor(e){super(e),this._visibleLines=new eY(this),this.domNode=this._visibleLines.domNode;let t=this._context.configuration.options,i=t.get(50);(0,v.N)(this.domNode,i),this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let e=0,t=this._dynamicOverlays.length;ee.shouldRender());for(let i=0,n=t.length;i'),s.appendString(o),s.appendString(""),!0)}layoutLine(e,t,i){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(i))}}class e1 extends eX{constructor(e){super(e);let t=this._context.configuration.options,i=t.get(145);this._contentWidth=i.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._contentWidth=i.contentWidth,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollWidthChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e),this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth))}}class e2 extends eX{constructor(e){super(e);let t=this._context.configuration.options,i=t.get(145);this._contentLeft=i.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),(0,v.N)(this.domNode,t.get(50))}onConfigurationChanged(e){let t=this._context.configuration.options;(0,v.N)(this.domNode,t.get(50));let i=t.get(145);return this._contentLeft=i.contentLeft,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollHeightChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e);let t=Math.min(e.scrollHeight,1e6);this.domNode.setHeight(t),this.domNode.setWidth(this._contentLeft)}}class e4{constructor(e){this.onKeyDown=null,this.onKeyUp=null,this.onContextMenu=null,this.onMouseMove=null,this.onMouseLeave=null,this.onMouseDown=null,this.onMouseUp=null,this.onMouseDrag=null,this.onMouseDrop=null,this.onMouseDropCanceled=null,this.onMouseWheel=null,this._coordinatesConverter=e}emitKeyDown(e){var t;null===(t=this.onKeyDown)||void 0===t||t.call(this,e)}emitKeyUp(e){var t;null===(t=this.onKeyUp)||void 0===t||t.call(this,e)}emitContextMenu(e){var t;null===(t=this.onContextMenu)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseMove(e){var t;null===(t=this.onMouseMove)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseLeave(e){var t;null===(t=this.onMouseLeave)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDown(e){var t;null===(t=this.onMouseDown)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseUp(e){var t;null===(t=this.onMouseUp)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDrag(e){var t;null===(t=this.onMouseDrag)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDrop(e){var t;null===(t=this.onMouseDrop)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDropCanceled(){var e;null===(e=this.onMouseDropCanceled)||void 0===e||e.call(this)}emitMouseWheel(e){var t;null===(t=this.onMouseWheel)||void 0===t||t.call(this,e)}_convertViewToModelMouseEvent(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e}_convertViewToModelMouseTarget(e){return e4.convertViewToModelMouseTarget(e,this._coordinatesConverter)}static convertViewToModelMouseTarget(e,t){let i={...e};return i.position&&(i.position=t.convertViewPositionToModelPosition(i.position)),i.range&&(i.range=t.convertViewRangeToModelRange(i.range)),(5===i.type||8===i.type)&&(i.detail=this.convertViewToModelViewZoneData(i.detail,t)),i}static convertViewToModelViewZoneData(e,t){return{viewZoneId:e.viewZoneId,positionBefore:e.positionBefore?t.convertViewPositionToModelPosition(e.positionBefore):e.positionBefore,positionAfter:e.positionAfter?t.convertViewPositionToModelPosition(e.positionAfter):e.positionAfter,position:t.convertViewPositionToModelPosition(e.position),afterLineNumber:t.convertViewPositionToModelPosition(new G.L(e.afterLineNumber,1)).lineNumber}}}i(94050);class e5 extends ${constructor(e){super(e),this.blocks=[],this.contentWidth=-1,this.contentLeft=0,this.domNode=(0,V.X)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("blockDecorations-container"),this.update()}update(){let e=!1,t=this._context.configuration.options,i=t.get(145),n=i.contentWidth-i.verticalScrollbarWidth;this.contentWidth!==n&&(this.contentWidth=n,e=!0);let s=i.contentLeft;return this.contentLeft!==s&&(this.contentLeft=s,e=!0),e}dispose(){super.dispose()}onConfigurationChanged(e){return this.update()}onScrollChanged(e){return e.scrollTopChanged||e.scrollLeftChanged}onDecorationsChanged(e){return!0}onZonesChanged(e){return!0}prepareRender(e){}render(e){var t;let i=0,n=e.getDecorationsInViewport();for(let s of n){let n,o;if(!s.options.blockClassName)continue;let r=this.blocks[i];r||(r=this.blocks[i]=(0,V.X)(document.createElement("div")),this.domNode.appendChild(r)),s.options.blockIsAfterEnd?(n=e.getVerticalOffsetAfterLineNumber(s.range.endLineNumber,!1),o=e.getVerticalOffsetAfterLineNumber(s.range.endLineNumber,!0)):(n=e.getVerticalOffsetForLineNumber(s.range.startLineNumber,!0),o=s.range.isEmpty()&&!s.options.blockDoesNotCollapse?e.getVerticalOffsetForLineNumber(s.range.startLineNumber,!1):e.getVerticalOffsetAfterLineNumber(s.range.endLineNumber,!0));let[l,a,d,h]=null!==(t=s.options.blockPadding)&&void 0!==t?t:[0,0,0,0];r.setClassName("blockDecorations-block "+s.options.blockClassName),r.setLeft(this.contentLeft-h),r.setWidth(this.contentWidth+h+a),r.setTop(n-e.scrollTop-l),r.setHeight(o-n+l+d),i++}for(let e=i;e0?this.domNode.setDisplay("block"):this.domNode.setDisplay("none"),this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1}_layoutBoxInViewport(e,t,i,n){let s=e.top,o=e.top+e.height,r=n.viewportHeight-o,l=e.left;return l+t>n.scrollLeft+n.viewportWidth&&(l=n.scrollLeft+n.viewportWidth-t),l=i,aboveTop:s-i,fitsBelow:r>=i,belowTop:o,left:l}}_layoutHorizontalSegmentInPage(e,t,i,n){var s;let o=Math.max(15,t.left-n),r=Math.min(t.left+t.width+n,e.width-15),l=this._viewDomNode.domNode.ownerDocument,a=l.defaultView,d=t.left+i-(null!==(s=null==a?void 0:a.scrollX)&&void 0!==s?s:0);if(d+n>r){let e=d-(r-n);d-=e,i-=e}if(d=22,v=c+i<=p.height-22;return this._fixedOverflowWidgets?{fitsAbove:_,aboveTop:Math.max(u,22),fitsBelow:v,belowTop:c,left:f}:{fitsAbove:_,aboveTop:r,fitsBelow:v,belowTop:l,left:m}}_prepareRenderWidgetAtExactPositionOverflowing(e){return new e6(e.top,e.left+this._contentLeft)}_getAnchorsCoordinates(e){var t,i;let n=r(this._primaryAnchor.viewPosition,this._affinity,this._lineHeight),s=(null===(t=this._secondaryAnchor.viewPosition)||void 0===t?void 0:t.lineNumber)===(null===(i=this._primaryAnchor.viewPosition)||void 0===i?void 0:i.lineNumber)?this._secondaryAnchor.viewPosition:null,o=r(s,this._affinity,this._lineHeight);return{primary:n,secondary:o};function r(t,i,n){if(!t)return null;let s=e.visibleRangeForPosition(t);if(!s)return null;let o=1===t.column&&3===i?0:s.left,r=e.getVerticalOffsetForLineNumber(t.lineNumber)-e.scrollTop;return new e9(r,o,n)}}_reduceAnchorCoordinates(e,t,i){if(!t)return e;let n=this._context.configuration.options.get(50),s=t.left;return s=se.endLineNumber)&&this.domNode.setMaxWidth(this._maxWidth)}prepareRender(e){this._renderData=this._prepareRenderWidget(e)}render(e){var t;if(!this._renderData||"offViewport"===this._renderData.kind){this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,(null===(t=this._renderData)||void 0===t?void 0:t.kind)==="offViewport"&&this._renderData.preserveFocus?this.domNode.setTop(-1e3):this.domNode.setVisibility("hidden")),"function"==typeof this._actual.afterRender&&te(this._actual.afterRender,this._actual,null);return}this.allowEditorOverflow?(this.domNode.setTop(this._renderData.coordinate.top),this.domNode.setLeft(this._renderData.coordinate.left)):(this.domNode.setTop(this._renderData.coordinate.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.coordinate.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0),"function"==typeof this._actual.afterRender&&te(this._actual.afterRender,this._actual,this._renderData.position)}}class e8{constructor(e,t){this.modelPosition=e,this.viewPosition=t}}class e6{constructor(e,t){this.top=e,this.left=t,this._coordinateBrand=void 0}}class e9{constructor(e,t,i){this.top=e,this.left=t,this.height=i,this._anchorCoordinateBrand=void 0}}function te(e,t,...i){try{return e.call(t,...i)}catch(e){return null}}i(77717);var tt=i(42042);class ti extends eE{constructor(e){super(),this._context=e;let t=this._context.configuration.options,i=t.get(145);this._renderLineHighlight=t.get(96),this._renderLineHighlightOnlyWhenFocus=t.get(97),this._wordWrap=i.isViewportWrapping,this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new em.Y(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let e=!1,t=new Set;for(let e of this._selections)t.add(e.positionLineNumber);let i=Array.from(t);i.sort((e,t)=>e-t),C.fS(this._cursorLineNumbers,i)||(this._cursorLineNumbers=i,e=!0);let n=this._selections.every(e=>e.isEmpty());return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,e=!0),e}onThemeChanged(e){return this._readFromSelections()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._renderLineHighlight=t.get(96),this._renderLineHighlightOnlyWhenFocus=t.get(97),this._wordWrap=i.isViewportWrapping,this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,!0}onCursorStateChanged(e){return this._selections=e.selections,this._readFromSelections()}onFlushed(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollWidthChanged||e.scrollTopChanged}onZonesChanged(e){return!0}onFocusChanged(e){return!!this._renderLineHighlightOnlyWhenFocus&&(this._focused=e.isFocused,!0)}prepareRender(e){if(!this._shouldRenderThis()){this._renderData=null;return}let t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,n=[];for(let e=t;e<=i;e++){let i=e-t;n[i]=""}if(this._wordWrap){let s=this._renderOne(e,!1);for(let e of this._cursorLineNumbers){let o=this._context.viewModel.coordinatesConverter,r=o.convertViewPositionToModelPosition(new G.L(e,1)).lineNumber,l=o.convertModelPositionToViewPosition(new G.L(r,1)).lineNumber,a=o.convertModelPositionToViewPosition(new G.L(r,this._context.viewModel.model.getLineMaxColumn(r))).lineNumber,d=Math.max(l,t),h=Math.min(a,i);for(let e=d;e<=h;e++){let i=e-t;n[i]=s}}}let s=this._renderOne(e,!0);for(let e of this._cursorLineNumbers){if(ei)continue;let o=e-t;n[o]=s}this._renderData=n}render(e,t){if(!this._renderData)return"";let i=t-e;return i>=this._renderData.length?"":this._renderData[i]}_shouldRenderInMargin(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderInContent(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}class tn extends ti{_renderOne(e,t){let i="current-line"+(this._shouldRenderInMargin()?" current-line-both":"")+(t?" current-line-exact":"");return`
    `}_shouldRenderThis(){return this._shouldRenderInContent()}_shouldRenderOther(){return this._shouldRenderInMargin()}}class ts extends ti{_renderOne(e,t){let i="current-line"+(this._shouldRenderInMargin()?" current-line-margin":"")+(this._shouldRenderOther()?" current-line-margin-both":"")+(this._shouldRenderInMargin()&&t?" current-line-exact-margin":"");return`
    `}_shouldRenderThis(){return!0}_shouldRenderOther(){return this._shouldRenderInContent()}}(0,eI.Ic)((e,t)=>{let i=e.getColor(eT.Kh);if(i&&(t.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${i}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${i}; border: none; }`)),!i||i.isTransparent()||e.defines(eT.Mm)){let i=e.getColor(eT.Mm);i&&(t.addRule(`.monaco-editor .view-overlays .current-line-exact { border: 2px solid ${i}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-exact-margin { border: 2px solid ${i}; }`),(0,tt.c3)(e.type)&&(t.addRule(".monaco-editor .view-overlays .current-line-exact { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-exact-margin { border-width: 1px; }")))}}),i(18610);class to extends eE{constructor(e){super(),this._context=e;let t=this._context.configuration.options;this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}prepareRender(e){let t=e.getDecorationsInViewport(),i=[],n=0;for(let e=0,s=t.length;e{if(e.options.zIndext.options.zIndex)return 1;let i=e.options.className,n=t.options.className;return in?1:Q.e.compareRangesUsingStarts(e.range,t.range)});let s=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber,r=[];for(let e=s;e<=o;e++){let t=e-s;r[t]=""}this._renderWholeLineDecorations(e,i,r),this._renderNormalDecorations(e,i,r),this._renderResult=r}_renderWholeLineDecorations(e,t,i){let n=e.visibleRange.startLineNumber,s=e.visibleRange.endLineNumber;for(let e=0,o=t.length;e',l=Math.max(o.range.startLineNumber,n),a=Math.min(o.range.endLineNumber,s);for(let e=l;e<=a;e++){let t=e-n;i[t]+=r}}}_renderNormalDecorations(e,t,i){var n;let s=e.visibleRange.startLineNumber,o=null,r=!1,l=null,a=!1;for(let d=0,h=t.length;d';r[a]+=d}}}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}class tr extends ${constructor(e,t,i,n){super(e);let s=this._context.configuration.options,o=s.get(103),r=s.get(75),l=s.get(40),a=s.get(106),d={listenOnDomNode:i.domNode,className:"editor-scrollable "+(0,eI.m6)(e.theme.type),useShadows:!1,lazyRender:!0,vertical:o.vertical,horizontal:o.horizontal,verticalHasArrows:o.verticalHasArrows,horizontalHasArrows:o.horizontalHasArrows,verticalScrollbarSize:o.verticalScrollbarSize,verticalSliderSize:o.verticalSliderSize,horizontalScrollbarSize:o.horizontalScrollbarSize,horizontalSliderSize:o.horizontalSliderSize,handleMouseWheel:o.handleMouseWheel,alwaysConsumeMouseWheel:o.alwaysConsumeMouseWheel,arrowSize:o.arrowSize,mouseWheelScrollSensitivity:r,fastScrollSensitivity:l,scrollPredominantAxis:a,scrollByPage:o.scrollByPage};this.scrollbar=this._register(new ef.$Z(t.domNode,d,this._context.viewLayout.getScrollable())),q.write(this.scrollbar.getDomNode(),6),this.scrollbarDomNode=(0,V.X)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();let h=(e,t,i)=>{let n={};if(t){let t=e.scrollTop;t&&(n.scrollTop=this._context.viewLayout.getCurrentScrollTop()+t,e.scrollTop=0)}if(i){let t=e.scrollLeft;t&&(n.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+t,e.scrollLeft=0)}this._context.viewModel.viewLayout.setScrollPosition(n,1)};this._register(g.nm(i.domNode,"scroll",e=>h(i.domNode,!0,!0))),this._register(g.nm(t.domNode,"scroll",e=>h(t.domNode,!0,!1))),this._register(g.nm(n.domNode,"scroll",e=>h(n.domNode,!0,!1))),this._register(g.nm(this.scrollbarDomNode.domNode,"scroll",e=>h(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){let e=this._context.configuration.options,t=e.get(145);this.scrollbarDomNode.setLeft(t.contentLeft);let i=e.get(73),n=i.side;"right"===n?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimap.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarPointerDown(e){this.scrollbar.delegateVerticalScrollbarPointerDown(e)}delegateScrollFromMouseWheelEvent(e){this.scrollbar.delegateScrollFromMouseWheelEvent(e)}onConfigurationChanged(e){if(e.hasChanged(103)||e.hasChanged(75)||e.hasChanged(40)){let e=this._context.configuration.options,t=e.get(103),i=e.get(75),n=e.get(40),s=e.get(106),o={vertical:t.vertical,horizontal:t.horizontal,verticalScrollbarSize:t.verticalScrollbarSize,horizontalScrollbarSize:t.horizontalScrollbarSize,scrollByPage:t.scrollByPage,handleMouseWheel:t.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:n,scrollPredominantAxis:s};this.scrollbar.updateOptions(o)}return e.hasChanged(145)&&this._setLayout(),!0}onScrollChanged(e){return!0}onThemeChanged(e){return this.scrollbar.updateClassName("editor-scrollable "+(0,eI.m6)(this._context.theme.type)),!0}prepareRender(e){}render(e){this.scrollbar.renderNow()}}i(2713);var tl=i(41407);class ta{constructor(e,t,i,n,s){this.startLineNumber=e,this.endLineNumber=t,this.className=i,this.tooltip=n,this._decorationToRenderBrand=void 0,this.zIndex=null!=s?s:0}}class td{constructor(e,t,i){this.className=e,this.zIndex=t,this.tooltip=i}}class th{constructor(){this.decorations=[]}add(e){this.decorations.push(e)}getDecorations(){return this.decorations}}class tu extends eE{_render(e,t,i){let n=[];for(let i=e;i<=t;i++){let t=i-e;n[t]=new th}if(0===i.length)return n;i.sort((e,t)=>e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.classNamen)continue;let l=Math.max(o,i),a=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new G.L(l,0)),d=this._context.viewModel.glyphLanes.getLanesAtLine(a.lineNumber).indexOf(e.preference.lane);t.push(new tp(l,d,e.preference.zIndex,e))}}_collectSortedGlyphRenderRequests(e){let t=[];return this._collectDecorationBasedGlyphRenderRequest(e,t),this._collectWidgetBasedGlyphRenderRequest(e,t),t.sort((e,t)=>{if(e.lineNumber===t.lineNumber){if(e.laneIndex===t.laneIndex)return e.zIndex===t.zIndex?t.type===e.type?0===e.type&&0===t.type?e.className0;){let e=t.peek();if(!e)break;let n=t.takeWhile(t=>t.lineNumber===e.lineNumber&&t.laneIndex===e.laneIndex);if(!n||0===n.length)break;let s=n[0];if(0===s.type){let e=[];for(let t of n){if(t.zIndex!==s.zIndex||t.type!==s.type)break;(0===e.length||e[e.length-1]!==t.className)&&e.push(t.className)}i.push(s.accept(e.join(" ")))}else s.widget.renderInfo={lineNumber:s.lineNumber,laneIndex:s.laneIndex}}this._decorationGlyphsToRender=i}render(e){if(!this._glyphMargin){for(let e of Object.values(this._widgets))e.domNode.setDisplay("none");for(;this._managedDomNodes.length>0;){let e=this._managedDomNodes.pop();null==e||e.domNode.remove()}return}let t=Math.round(this._glyphMarginWidth/this._glyphMarginDecorationLaneCount);for(let i of Object.values(this._widgets))if(i.renderInfo){let n=e.viewportData.relativeVerticalOffset[i.renderInfo.lineNumber-e.viewportData.startLineNumber],s=this._glyphMarginLeft+i.renderInfo.laneIndex*this._lineHeight;i.domNode.setDisplay("block"),i.domNode.setTop(n),i.domNode.setLeft(s),i.domNode.setWidth(t),i.domNode.setHeight(this._lineHeight)}else i.domNode.setDisplay("none");for(let i=0;ithis._decorationGlyphsToRender.length;){let e=this._managedDomNodes.pop();null==e||e.domNode.remove()}}}class tg{constructor(e,t,i,n){this.lineNumber=e,this.laneIndex=t,this.zIndex=i,this.className=n,this.type=0}accept(e){return new tm(this.lineNumber,this.laneIndex,e)}}class tp{constructor(e,t,i,n){this.lineNumber=e,this.laneIndex=t,this.zIndex=i,this.widget=n,this.type=1}}class tm{constructor(e,t,i){this.lineNumber=e,this.laneIndex=t,this.combinedClassName=i}}i(69082);var tf=i(24162),t_=i(1957),tv=i(98965);class tb extends eE{constructor(e){super(),this._context=e,this._primaryPosition=null;let t=this._context.configuration.options,i=t.get(146),n=t.get(50);this._spaceWidth=n.spaceWidth,this._maxIndentLeft=-1===i.wrappingColumn?-1:i.wrappingColumn*n.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(16),this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(146),n=t.get(50);return this._spaceWidth=n.spaceWidth,this._maxIndentLeft=-1===i.wrappingColumn?-1:i.wrappingColumn*n.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(16),!0}onCursorStateChanged(e){var t;let i=e.selections[0],n=i.getPosition();return(null===(t=this._primaryPosition)||void 0===t||!t.equals(n))&&(this._primaryPosition=n,!0)}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onLanguageConfigurationChanged(e){return!0}prepareRender(e){var t,i,n,s;if(!this._bracketPairGuideOptions.indentation&&!1===this._bracketPairGuideOptions.bracketPairs){this._renderResult=null;return}let o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,l=e.scrollWidth,a=this._primaryPosition,d=this.getGuidesByLine(o,Math.min(r+1,this._context.viewModel.getLineCount()),a),h=[];for(let a=o;a<=r;a++){let r=a-o,u=d[r],c="",g=null!==(i=null===(t=e.visibleRangeForPosition(new G.L(a,1)))||void 0===t?void 0:t.left)&&void 0!==i?i:0;for(let t of u){let i=-1===t.column?g+(t.visibleColumn-1)*this._spaceWidth:e.visibleRangeForPosition(new G.L(a,t.column)).left;if(i>l||this._maxIndentLeft>0&&i>this._maxIndentLeft)break;let o=t.horizontalLine?t.horizontalLine.top?"horizontal-top":"horizontal-bottom":"vertical",r=t.horizontalLine?(null!==(s=null===(n=e.visibleRangeForPosition(new G.L(a,t.horizontalLine.endColumn)))||void 0===n?void 0:n.left)&&void 0!==s?s:i+this._spaceWidth)-i:this._spaceWidth;c+=`
    `}h[r]=c}this._renderResult=h}getGuidesByLine(e,t,i){let n=!1!==this._bracketPairGuideOptions.bracketPairs?this._context.viewModel.getBracketGuidesInRangeByLine(e,t,i,{highlightActive:this._bracketPairGuideOptions.highlightActiveBracketPair,horizontalGuides:!0===this._bracketPairGuideOptions.bracketPairsHorizontal?tv.s6.Enabled:"active"===this._bracketPairGuideOptions.bracketPairsHorizontal?tv.s6.EnabledForActive:tv.s6.Disabled,includeInactive:!0===this._bracketPairGuideOptions.bracketPairs}):null,s=this._bracketPairGuideOptions.indentation?this._context.viewModel.getLinesIndentGuides(e,t):null,o=0,r=0,l=0;if(!1!==this._bracketPairGuideOptions.highlightActiveIndentation&&i){let n=this._context.viewModel.getActiveIndentGuide(i.lineNumber,e,t);o=n.startLineNumber,r=n.endLineNumber,l=n.indent}let{indentSize:a}=this._context.viewModel.model.getOptions(),d=[];for(let i=e;i<=t;i++){let t=[];d.push(t);let h=n?n[i-e]:[],u=new C.H9(h),c=s?s[i-e]:0;for(let e=1;e<=c;e++){let n=(e-1)*a+1,s=("always"===this._bracketPairGuideOptions.highlightActiveIndentation||0===h.length)&&o<=i&&i<=r&&e===l;t.push(...u.takeWhile(e=>e.visibleColumn!0)||[])}return d}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}function tC(e){if(!(e&&e.isTransparent()))return e}(0,eI.Ic)((e,t)=>{let i=[{bracketColor:eT.zJ,guideColor:eT.oV,guideColorActive:eT.Qb},{bracketColor:eT.Vs,guideColor:eT.m$,guideColorActive:eT.m3},{bracketColor:eT.CE,guideColor:eT.DS,guideColorActive:eT.To},{bracketColor:eT.UP,guideColor:eT.lS,guideColorActive:eT.L7},{bracketColor:eT.r0,guideColor:eT.Jn,guideColorActive:eT.HV},{bracketColor:eT.m1,guideColor:eT.YF,guideColorActive:eT.f9}],n=new t_.W,s=[{indentColor:eT.gS,indentColorActive:eT.qe},{indentColor:eT.Tf,indentColorActive:eT.Xy},{indentColor:eT.H_,indentColorActive:eT.cK},{indentColor:eT.h1,indentColorActive:eT.N8},{indentColor:eT.vP,indentColorActive:eT.zd},{indentColor:eT.e9,indentColorActive:eT.ll}],o=i.map(t=>{var i,n;let s=e.getColor(t.bracketColor),o=e.getColor(t.guideColor),r=e.getColor(t.guideColorActive),l=tC(null!==(i=tC(o))&&void 0!==i?i:null==s?void 0:s.transparent(.3)),a=tC(null!==(n=tC(r))&&void 0!==n?n:s);if(l&&a)return{guideColor:l,guideColorActive:a}}).filter(tf.$K),r=s.map(t=>{let i=e.getColor(t.indentColor),n=e.getColor(t.indentColorActive),s=tC(i),o=tC(n);if(s&&o)return{indentColor:s,indentColorActive:o}}).filter(tf.$K);if(o.length>0){for(let e=0;e<30;e++){let i=o[e%o.length];t.addRule(`.monaco-editor .${n.getInlineClassNameOfLevel(e).replace(/ /g,".")} { --guide-color: ${i.guideColor}; --guide-color-active: ${i.guideColorActive}; }`)}t.addRule(".monaco-editor .vertical { box-shadow: 1px 0 0 0 var(--guide-color) inset; }"),t.addRule(".monaco-editor .horizontal-top { border-top: 1px solid var(--guide-color); }"),t.addRule(".monaco-editor .horizontal-bottom { border-bottom: 1px solid var(--guide-color); }"),t.addRule(`.monaco-editor .vertical.${n.activeClassName} { box-shadow: 1px 0 0 0 var(--guide-color-active) inset; }`),t.addRule(`.monaco-editor .horizontal-top.${n.activeClassName} { border-top: 1px solid var(--guide-color-active); }`),t.addRule(`.monaco-editor .horizontal-bottom.${n.activeClassName} { border-bottom: 1px solid var(--guide-color-active); }`)}if(r.length>0){for(let e=0;e<30;e++){let i=r[e%r.length];t.addRule(`.monaco-editor .lines-content .core-guide-indent.lvl-${e} { --indent-color: ${i.indentColor}; --indent-color-active: ${i.indentColorActive}; }`)}t.addRule(".monaco-editor .lines-content .core-guide-indent { box-shadow: 1px 0 0 0 var(--indent-color) inset; }"),t.addRule(".monaco-editor .lines-content .core-guide-indent.indent-active { box-shadow: 1px 0 0 0 var(--indent-color-active) inset; }")}});var tw=i(44532);i(33074);class ty{get didDomLayout(){return this._didDomLayout}readClientRect(){if(!this._clientRectRead){this._clientRectRead=!0;let e=this._domNode.getBoundingClientRect();this.markDidDomLayout(),this._clientRectDeltaLeft=e.left,this._clientRectScale=e.width/this._domNode.offsetWidth}}get clientRectDeltaLeft(){return this._clientRectRead||this.readClientRect(),this._clientRectDeltaLeft}get clientRectScale(){return this._clientRectRead||this.readClientRect(),this._clientRectScale}constructor(e,t){this._domNode=e,this.endNode=t,this._didDomLayout=!1,this._clientRectDeltaLeft=0,this._clientRectScale=1,this._clientRectRead=!1}markDidDomLayout(){this._didDomLayout=!0}}class tS{constructor(){this._currentVisibleRange=new Q.e(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(e){this._currentVisibleRange=e}}class tL{constructor(e,t,i,n,s,o,r){this.minimalReveal=e,this.lineNumber=t,this.startColumn=i,this.endColumn=n,this.startScrollTop=s,this.stopScrollTop=o,this.scrollType=r,this.type="range",this.minLineNumber=t,this.maxLineNumber=t}}class tk{constructor(e,t,i,n,s){this.minimalReveal=e,this.selections=t,this.startScrollTop=i,this.stopScrollTop=n,this.scrollType=s,this.type="selections";let o=t[0].startLineNumber,r=t[0].endLineNumber;for(let e=1,i=t.length;e{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new tw.pY(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new tS,this._horizontalRevealRequest=null,this._stickyScrollEnabled=n.get(115).enabled,this._maxNumberStickyLines=n.get(115).maxLineCount}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new j.Nt(this._viewLineOptions)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(146)&&(this._maxLineWidth=0);let t=this._context.configuration.options,i=t.get(50),n=t.get(146);return this._lineHeight=t.get(67),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._isViewportWrapping=n.isViewportWrapping,this._revealHorizontalRightPadding=t.get(100),this._cursorSurroundingLines=t.get(29),this._cursorSurroundingLinesStyle=t.get(30),this._canUseLayerHinting=!t.get(32),this._stickyScrollEnabled=t.get(115).enabled,this._maxNumberStickyLines=t.get(115).maxLineCount,(0,v.N)(this.domNode,i),this._onOptionsMaybeChanged(),e.hasChanged(145)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){let e=this._context.configuration,t=new j.ob(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;let e=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let t=e;t<=i;t++){let e=this._visibleLines.getVisibleLine(t);e.onOptionsChanged(this._viewLineOptions)}return!0}return!1}onCursorStateChanged(e){let t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber(),n=!1;for(let e=t;e<=i;e++)n=this._visibleLines.getVisibleLine(e).onSelectionChanged()||n;return n}onDecorationsChanged(e){{let e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let i=e;i<=t;i++)this._visibleLines.getVisibleLine(i).onDecorationsChanged()}return!0}onFlushed(e){let t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onRevealRangeRequest(e){let t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.minimalReveal,e.range,e.selections,e.verticalType);if(-1===t)return!1;let i=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range&&e.range.startLineNumber!==e.range.endLineNumber?i={scrollTop:i.scrollTop,scrollLeft:0}:e.range?this._horizontalRevealRequest=new tL(e.minimalReveal,e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),i.scrollTop,e.scrollType):e.selections&&e.selections.length>0&&(this._horizontalRevealRequest=new tk(e.minimalReveal,e.selections,this._context.viewLayout.getCurrentScrollTop(),i.scrollTop,e.scrollType)):this._horizontalRevealRequest=null;let n=Math.abs(this._context.viewLayout.getCurrentScrollTop()-i.scrollTop),s=n<=this._lineHeight?1:e.scrollType;return this._context.viewModel.viewLayout.setScrollPosition(i,s),!0}onScrollChanged(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){let t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),i=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTopi)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._context.viewModel.viewLayout.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(e)}onThemeChanged(e){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(e,t){let i=this._getViewLineDomNode(e);if(null===i)return null;let n=this._getLineNumberFor(i);if(-1===n||n<1||n>this._context.viewModel.getLineCount())return null;if(1===this._context.viewModel.getLineMaxColumn(n))return new G.L(n,1);let s=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();if(no)return null;let r=this._visibleLines.getVisibleLine(n).getColumnOfNodeOffset(e,t),l=this._context.viewModel.getLineMinColumn(n);return ri)return -1;let n=new ty(this.domNode.domNode,this._textRangeRestingSpot),s=this._visibleLines.getVisibleLine(e).getWidth(n);return this._updateLineWidthsSlowIfDomDidLayout(n),s}linesVisibleRangesForRange(e,t){if(this.shouldRender())return null;let i=e.endLineNumber,n=Q.e.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!n)return null;let s=[],o=0,r=new ty(this.domNode.domNode,this._textRangeRestingSpot),l=0;t&&(l=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new G.L(n.startLineNumber,1)).lineNumber);let a=this._visibleLines.getStartLineNumber(),d=this._visibleLines.getEndLineNumber();for(let e=n.startLineNumber;e<=n.endLineNumber;e++){if(ed)continue;let h=e===n.startLineNumber?n.startColumn:1,u=e!==n.endLineNumber,c=u?this._context.viewModel.getLineMaxColumn(e):n.endColumn,g=this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(e,h,c,r);if(g){if(t&&ethis._visibleLines.getEndLineNumber())return null;let n=new ty(this.domNode.domNode,this._textRangeRestingSpot),s=this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(e,t,i,n);return this._updateLineWidthsSlowIfDomDidLayout(n),s}visibleRangeForPosition(e){let t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new e$.D4(t.outsideRenderedLine,t.ranges[0].left):null}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidthsSlowIfDomDidLayout(e){!e.didDomLayout||this._asyncUpdateLineWidths.isScheduled()||(this._asyncUpdateLineWidths.cancel(),this._updateLineWidthsSlow())}_updateLineWidths(e){let t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber(),n=1,s=!0;for(let o=t;o<=i;o++){let t=this._visibleLines.getVisibleLine(o);if(e&&!t.getWidthIsFast()){s=!1;continue}n=Math.max(n,t.getWidth(null))}return s&&1===t&&i===this._context.viewModel.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(n),s}_checkMonospaceFontAssumptions(){let e=-1,t=-1,i=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let s=i;s<=n;s++){let i=this._visibleLines.getVisibleLine(s);if(i.needsMonospaceFontCheck()){let n=i.getWidth(null);n>t&&(t=n,e=s)}}if(-1!==e&&!this._visibleLines.getVisibleLine(e).monospaceAssumptionsAreValid())for(let e=i;e<=n;e++){let t=this._visibleLines.getVisibleLine(e);t.onMonospaceAssumptionsInvalidated()}}prepareRender(){throw Error("Not supported")}render(){throw Error("Not supported")}renderText(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){let t=this._horizontalRevealRequest;if(e.startLineNumber<=t.minLineNumber&&t.maxLineNumber<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();let e=this._computeScrollLeftToReveal(t);e&&(this._isViewportWrapping||this._ensureMaxLineWidth(e.maxHorizontalOffset),this._context.viewModel.viewLayout.setScrollPosition({scrollLeft:e.scrollLeft},t.scrollType))}}if(this._updateLineWidthsFast()?this._asyncUpdateLineWidths.cancel():this._asyncUpdateLineWidths.schedule(),y.IJ&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){let e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let i=e;i<=t;i++){let e=this._visibleLines.getVisibleLine(i);if(e.needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");let t=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-t),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(e){let t=Math.ceil(e);this._maxLineWidth0){let e=s[0].startLineNumber,t=s[0].endLineNumber;for(let i=1,n=s.length;iu){if(!r)return -1;d=l}else if(5===o||6===o){if(6===o&&h<=l&&a<=c)d=h;else{let e=Math.max(5*this._lineHeight,.2*u),t=l-e,i=a-u;d=Math.max(i,t)}}else if(1===o||2===o){if(2===o&&h<=l&&a<=c)d=h;else{let e=(l+a)/2;d=Math.max(0,e-u/2)}}else d=this._computeMinimumScrolling(h,c,l,a,3===o,4===o);return d}_computeScrollLeftToReveal(e){let t=this._context.viewLayout.getCurrentViewport(),i=this._context.configuration.options.get(145),n=t.left,s=n+t.width-i.verticalScrollbarWidth,o=1073741824,r=0;if("range"===e.type){let t=this._visibleRangesForLineRange(e.lineNumber,e.startColumn,e.endColumn);if(!t)return null;for(let e of t.ranges)o=Math.min(o,Math.round(e.left)),r=Math.max(r,Math.round(e.left+e.width))}else for(let t of e.selections){if(t.startLineNumber!==t.endLineNumber)return null;let e=this._visibleRangesForLineRange(t.startLineNumber,t.startColumn,t.endColumn);if(!e)return null;for(let t of e.ranges)o=Math.min(o,Math.round(t.left)),r=Math.max(r,Math.round(t.left+t.width))}if(e.minimalReveal||(o=Math.max(0,o-tD.HORIZONTAL_EXTRA_PX),r+=this._revealHorizontalRightPadding),"selections"===e.type&&r-o>t.width)return null;let l=this._computeMinimumScrolling(n,s,o,r);return{scrollLeft:l,maxHorizontalOffset:r}}_computeMinimumScrolling(e,t,i,n,s,o){e|=0,t|=0,i|=0,n|=0,s=!!s,o=!!o;let r=t-e,l=n-i;return!(lt?Math.max(0,n-r):e}}tD.HORIZONTAL_EXTRA_PX=30,i(85448);class tx extends tu{constructor(e){super(),this._context=e;let t=this._context.configuration.options,i=t.get(145);this._decorationsLeft=i.decorationsLeft,this._decorationsWidth=i.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._decorationsLeft=i.decorationsLeft,this._decorationsWidth=i.decorationsWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){var t,i;let n=e.getDecorationsInViewport(),s=[],o=0;for(let e=0,r=n.length;e',l=[];for(let e=t;e<=i;e++){let i=e-t,s=n[i].getDecorations(),o="";for(let e of s){let t='
    ';s[i]=r}this._renderResult=s}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}i(71191);var tE=i(94278);class tI{constructor(e,t,i,n){this._rgba8Brand=void 0,this.r=tI._clamp(e),this.g=tI._clamp(t),this.b=tI._clamp(i),this.a=tI._clamp(n)}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}static _clamp(e){return e<0?0:e>255?255:0|e}}tI.Empty=new tI(0,0,0,0);class tT extends f.JT{static getInstance(){return this._INSTANCE||(this._INSTANCE=(0,f.dk)(new tT)),this._INSTANCE}constructor(){super(),this._onDidChange=new m.Q5,this.onDidChange=this._onDidChange.event,this._updateColorMap(),this._register(eO.RW.onDidChange(e=>{e.changedColorMap&&this._updateColorMap()}))}_updateColorMap(){let e=eO.RW.getColorMap();if(!e){this._colors=[tI.Empty],this._backgroundIsLight=!0;return}this._colors=[tI.Empty];for(let t=1;t=.5,this._onDidChange.fire(void 0)}getColor(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]}backgroundIsLight(){return this._backgroundIsLight}}tT._INSTANCE=null;var tM=i(20910),tR=i(43616);let tA=(()=>{let e=[];for(let t=32;t<=126;t++)e.push(t);return e.push(65533),e})(),tP=(e,t)=>(e-=32)<0||e>96?t<=2?(e+96)%96:95:e;var tO=i(91763);class tF{constructor(e,t){this.scale=t,this._minimapCharRendererBrand=void 0,this.charDataNormal=tF.soften(e,.8),this.charDataLight=tF.soften(e,50/60)}static soften(e,t){let i=new Uint8ClampedArray(e.length);for(let n=0,s=e.length;ne.width||i+g>e.height){console.warn("bad render request outside image data");return}let p=d?this.charDataLight:this.charDataNormal,m=tP(n,a),f=4*e.width,_=r.r,v=r.g,b=r.b,C=s.r-_,w=s.g-v,y=s.b-b,S=Math.max(o,l),L=e.data,k=m*u*c,D=i*f+4*t;for(let e=0;ee.width||i+h>e.height){console.warn("bad render request outside image data");return}let u=4*e.width,c=.5*(s/255),g=o.r,p=o.g,m=o.b,f=n.r-g,_=n.g-p,v=n.b-m,b=g+f*c,C=p+_*c,w=m+v*c,y=Math.max(s,r),S=e.data,L=i*u+4*t;for(let e=0;e{let t=new Uint8ClampedArray(e.length/2);for(let i=0;i>1]=tW[e[i]]<<4|15&tW[e[i+1]];return t},tV={1:(0,tB.M)(()=>tH("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:(0,tB.M)(()=>tH("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))};class tz{static create(e,t){let i;return this.lastCreated&&e===this.lastCreated.scale&&t===this.lastFontFamily?this.lastCreated:(i=tV[e]?new tF(tV[e](),e):tz.createFromSampleData(tz.createSampleData(t).data,e),this.lastFontFamily=t,this.lastCreated=i,i)}static createSampleData(e){let t=document.createElement("canvas"),i=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",i.fillStyle="#ffffff",i.font=`bold 16px ${e}`,i.textBaseline="middle";let n=0;for(let e of tA)i.fillText(String.fromCharCode(e),n,8),n+=10;return i.getImageData(0,0,960,16)}static createFromSampleData(e,t){if(61440!==e.length)throw Error("Unexpected source in MinimapCharRenderer");let i=tz._downsample(e,t);return new tF(i,t)}static _downsampleChar(e,t,i,n,s){let o=1*s,r=2*s,l=n,a=0;for(let n=0;n0){let e=255/l;for(let t=0;ttz.create(this.fontScale,l.fontFamily)),this.defaultBackgroundColor=i.getColor(2),this.backgroundColor=t$._getMinimapBackground(t,this.defaultBackgroundColor),this.foregroundAlpha=t$._getMinimapForegroundOpacity(t)}static _getMinimapBackground(e,t){let i=e.getColor(tR.kVY);return i?new tI(i.rgba.r,i.rgba.g,i.rgba.b,Math.round(255*i.rgba.a)):t}static _getMinimapForegroundOpacity(e){let t=e.getColor(tR.Itd);return t?tI._clamp(Math.round(255*t.rgba.a)):255}static _getSectionHeaderColor(e,t){let i=e.getColor(tR.NOs);return i?new tI(i.rgba.r,i.rgba.g,i.rgba.b,Math.round(255*i.rgba.a)):t}equals(e){return this.renderMinimap===e.renderMinimap&&this.size===e.size&&this.minimapHeightIsEditorHeight===e.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.paddingTop===e.paddingTop&&this.paddingBottom===e.paddingBottom&&this.showSlider===e.showSlider&&this.autohide===e.autohide&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight&&this.isSampling===e.isSampling&&this.editorHeight===e.editorHeight&&this.fontScale===e.fontScale&&this.minimapLineHeight===e.minimapLineHeight&&this.minimapCharWidth===e.minimapCharWidth&&this.sectionHeaderFontSize===e.sectionHeaderFontSize&&this.sectionHeaderLetterSpacing===e.sectionHeaderLetterSpacing&&this.defaultBackgroundColor&&this.defaultBackgroundColor.equals(e.defaultBackgroundColor)&&this.backgroundColor&&this.backgroundColor.equals(e.backgroundColor)&&this.foregroundAlpha===e.foregroundAlpha}}class tq{constructor(e,t,i,n,s,o,r,l,a){this.scrollTop=e,this.scrollHeight=t,this.sliderNeeded=i,this._computedSliderRatio=n,this.sliderTop=s,this.sliderHeight=o,this.topPaddingLineCount=r,this.startLineNumber=l,this.endLineNumber=a}getDesiredScrollTopFromDelta(e){return Math.round(this.scrollTop+e/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)}intersectWithViewport(e){let t=Math.max(this.startLineNumber,e.startLineNumber),i=Math.min(this.endLineNumber,e.endLineNumber);return t>i?null:[t,i]}getYForLineNumber(e,t){return+(e-this.startLineNumber+this.topPaddingLineCount)*t}static create(e,t,i,n,s,o,r,l,a,d,h){let u,c;let g=e.pixelRatio,p=e.minimapLineHeight,m=Math.floor(e.canvasInnerHeight/p),f=e.lineHeight;if(e.minimapHeightIsEditorHeight){let t=l*e.lineHeight+e.paddingTop+e.paddingBottom;e.scrollBeyondLastLine&&(t+=Math.max(0,s-e.lineHeight-e.paddingBottom));let i=Math.max(1,Math.floor(s*s/t)),n=Math.max(0,e.minimapHeight-i),o=n/(d-s),h=a*o,u=Math.floor(e.canvasInnerHeight/e.minimapLineHeight),c=Math.floor(e.paddingTop/e.lineHeight);return new tq(a,d,n>0,o,h,i,c,1,Math.min(r,u))}u=o&&i!==r?Math.floor((i-t+1)*p/g):Math.floor(s/f*p/g);let _=Math.floor(e.paddingTop/f),v=Math.floor(e.paddingBottom/f);e.scrollBeyondLastLine&&(v=Math.max(v,s/f-1)),c=v>0?(_+r+v-s/f-1)*p/g:Math.max(0,(_+r)*p/g-u),c=Math.min(e.minimapHeight-u,c);let b=c/(d-s),C=a*b;if(m>=_+r+v){let e=c>0;return new tq(a,d,e,b,C,u,_,1,r)}{let i,s;let o=Math.max(1,Math.floor((t>1?t+_:Math.max(1,a/f))-C*g/p));o<_?(i=_-o+1,o=1):(i=0,o=Math.max(1,o-_)),h&&h.scrollHeight===d&&(h.scrollTop>a&&(o=Math.min(o,h.startLineNumber),i=Math.max(i,h.topPaddingLineCount)),h.scrollTop=e.paddingTop?(t-o+i+c)*p/g:a/e.paddingTop*(i+c)*p/g,new tq(a,d,!0,b,s,u,i,o,l)}}}class tj{constructor(e){this.dy=e}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}tj.INVALID=new tj(-1);class tG{constructor(e,t,i){this.renderedLayout=e,this._imageData=t,this._renderedLines=new eZ(()=>tj.INVALID),this._renderedLines._set(e.startLineNumber,i)}linesEquals(e){if(!this.scrollEquals(e))return!1;let t=this._renderedLines._get(),i=t.lines;for(let e=0,t=i.length;e1){for(let t=0,i=n-1;t0&&this.minimapLines[i-1]>=e;)i--;let n=this.modelLineToMinimapLine(t)-1;for(;n+1t)return null}return[i+1,n+1]}decorationLineRangeToMinimapLineRange(e,t){let i=this.modelLineToMinimapLine(e),n=this.modelLineToMinimapLine(t);return e!==t&&n===i&&(n===this.minimapLines.length?i>1&&i--:n++),[i,n]}onLinesDeleted(e){let t=e.toLineNumber-e.fromLineNumber+1,i=this.minimapLines.length,n=0;for(let s=this.minimapLines.length-1;s>=0&&!(this.minimapLines[s]=0&&!(this.minimapLines[i]0,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,viewportStartLineNumber:t,viewportEndLineNumber:i,viewportStartLineNumberVerticalOffset:e.getVerticalOffsetForLineNumber(t),scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,viewportWidth:e.viewportWidth,viewportHeight:e.viewportHeight};this._actual.render(n)}_recreateLineSampling(){this._minimapSelections=null;let e=!!this._samplingState,[t,i]=tZ.compute(this.options,this._context.viewModel.getLineCount(),this._samplingState);if(this._samplingState=t,e&&this._samplingState)for(let e of i)switch(e.type){case"deleted":this._actual.onLinesDeleted(e.deleteFromLineNumber,e.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(e.insertFromLineNumber,e.insertToLineNumber);break;case"flush":this._actual.onFlushed()}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.viewModel.getLineCount()}getRealLineCount(){return this._context.viewModel.getLineCount()}getLineContent(e){return this._samplingState?this._context.viewModel.getLineContent(this._samplingState.minimapLines[e-1]):this._context.viewModel.getLineContent(e)}getLineMaxColumn(e){return this._samplingState?this._context.viewModel.getLineMaxColumn(this._samplingState.minimapLines[e-1]):this._context.viewModel.getLineMaxColumn(e)}getMinimapLinesRenderingData(e,t,i){if(this._samplingState){let n=[];for(let s=0,o=t-e+1;s{var t;return!(null===(t=e.options.minimap)||void 0===t?void 0:t.sectionHeaderStyle)});if(this._samplingState){let e=[];for(let t of i){if(!t.options.minimap)continue;let i=t.range,n=this._samplingState.modelLineToMinimapLine(i.startLineNumber),s=this._samplingState.modelLineToMinimapLine(i.endLineNumber);e.push(new tM.$l(new Q.e(n,i.startColumn,s,i.endColumn),t.options))}return e}return i}getSectionHeaderDecorationsInViewport(e,t){let i=this.options.minimapLineHeight,n=this.options.sectionHeaderFontSize;return e=Math.floor(Math.max(1,e-n/i)),this._getMinimapDecorationsInViewport(e,t).filter(e=>{var t;return!!(null===(t=e.options.minimap)||void 0===t?void 0:t.sectionHeaderStyle)})}_getMinimapDecorationsInViewport(e,t){let i;if(this._samplingState){let n=this._samplingState.minimapLines[e-1],s=this._samplingState.minimapLines[t-1];i=new Q.e(n,1,s,this._context.viewModel.getLineMaxColumn(s))}else i=new Q.e(e,1,t,this._context.viewModel.getLineMaxColumn(t));return this._context.viewModel.getMinimapDecorationsInRange(i)}getSectionHeaderText(e,t){var i;let n=null===(i=e.options.minimap)||void 0===i?void 0:i.sectionHeaderText;if(!n)return null;let s=this._sectionHeaderCache.get(n);if(s)return s;let o=t(n);return this._sectionHeaderCache.set(n,o),o}getOptions(){return this._context.viewModel.model.getOptions()}revealLineNumber(e){this._samplingState&&(e=this._samplingState.minimapLines[e-1]),this._context.viewModel.revealRange("mouse",!1,new Q.e(e,1,e,1),1,0)}setScrollTop(e){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:e},1)}}class tJ extends f.JT{constructor(e,t){super(),this._renderDecorations=!1,this._gestureInProgress=!1,this._theme=e,this._model=t,this._lastRenderData=null,this._buffers=null,this._selectionColor=this._theme.getColor(tR.ov3),this._domNode=(0,V.X)(document.createElement("div")),q.write(this._domNode,9),this._domNode.setClassName(this._getMinimapDomNodeClassName()),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._shadow=(0,V.X)(document.createElement("div")),this._shadow.setClassName("minimap-shadow-hidden"),this._domNode.appendChild(this._shadow),this._canvas=(0,V.X)(document.createElement("canvas")),this._canvas.setPosition("absolute"),this._canvas.setLeft(0),this._domNode.appendChild(this._canvas),this._decorationsCanvas=(0,V.X)(document.createElement("canvas")),this._decorationsCanvas.setPosition("absolute"),this._decorationsCanvas.setClassName("minimap-decorations-layer"),this._decorationsCanvas.setLeft(0),this._domNode.appendChild(this._decorationsCanvas),this._slider=(0,V.X)(document.createElement("div")),this._slider.setPosition("absolute"),this._slider.setClassName("minimap-slider"),this._slider.setLayerHinting(!0),this._slider.setContain("strict"),this._domNode.appendChild(this._slider),this._sliderHorizontal=(0,V.X)(document.createElement("div")),this._sliderHorizontal.setPosition("absolute"),this._sliderHorizontal.setClassName("minimap-slider-horizontal"),this._slider.appendChild(this._sliderHorizontal),this._applyLayout(),this._pointerDownListener=g.mu(this._domNode.domNode,g.tw.POINTER_DOWN,e=>{e.preventDefault();let t=this._model.options.renderMinimap;if(0===t||!this._lastRenderData)return;if("proportional"!==this._model.options.size){if(0===e.button&&this._lastRenderData){let t=g.i(this._slider.domNode),i=t.top+t.height/2;this._startSliderDragging(e,i,this._lastRenderData.renderedLayout)}return}let i=this._model.options.minimapLineHeight,n=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*e.offsetY,s=Math.floor(n/i)+this._lastRenderData.renderedLayout.startLineNumber-this._lastRenderData.renderedLayout.topPaddingLineCount;s=Math.min(s,this._model.getLineCount()),this._model.revealLineNumber(s)}),this._sliderPointerMoveMonitor=new tE.C,this._sliderPointerDownListener=g.mu(this._slider.domNode,g.tw.POINTER_DOWN,e=>{e.preventDefault(),e.stopPropagation(),0===e.button&&this._lastRenderData&&this._startSliderDragging(e,e.pageY,this._lastRenderData.renderedLayout)}),this._gestureDisposable=ec.o.addTarget(this._domNode.domNode),this._sliderTouchStartListener=g.nm(this._domNode.domNode,ec.t.Start,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(e))},{passive:!1}),this._sliderTouchMoveListener=g.nm(this._domNode.domNode,ec.t.Change,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(e)},{passive:!1}),this._sliderTouchEndListener=g.mu(this._domNode.domNode,ec.t.End,e=>{e.preventDefault(),e.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(e,t,i){if(!e.target||!(e.target instanceof Element))return;let n=e.pageX;this._slider.toggleClassName("active",!0);let s=(e,s)=>{let o=g.i(this._domNode.domNode),r=Math.min(Math.abs(s-n),Math.abs(s-o.left),Math.abs(s-o.left-o.width));if(y.ED&&r>140){this._model.setScrollTop(i.scrollTop);return}this._model.setScrollTop(i.getDesiredScrollTopFromDelta(e-t))};e.pageY!==t&&s(e.pageY,n),this._sliderPointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>s(e.pageY,e.pageX),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(e){let t=this._domNode.domNode.getBoundingClientRect().top,i=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._model.setScrollTop(i)}dispose(){this._pointerDownListener.dispose(),this._sliderPointerMoveMonitor.dispose(),this._sliderPointerDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){let e=["minimap"];return"always"===this._model.options.showSlider?e.push("slider-always"):e.push("slider-mouseover"),this._model.options.autohide&&e.push("autohide"),e.join(" ")}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return!this._buffers&&this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new tQ(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(e,t){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e,t)}onLinesDeleted(e,t){var i;return null===(i=this._lastRenderData)||void 0===i||i.onLinesDeleted(e,t),!0}onLinesInserted(e,t){var i;return null===(i=this._lastRenderData)||void 0===i||i.onLinesInserted(e,t),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(tR.ov3),this._renderDecorations=!0,!0}onTokensChanged(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(e){let t=this._model.options.renderMinimap;if(0===t){this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),this._sliderHorizontal.setHeight(0);return}e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");let i=tq.create(this._model.options,e.viewportStartLineNumber,e.viewportEndLineNumber,e.viewportStartLineNumberVerticalOffset,e.viewportHeight,e.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(i.sliderNeeded?"block":"none"),this._slider.setTop(i.sliderTop),this._slider.setHeight(i.sliderHeight),this._sliderHorizontal.setLeft(0),this._sliderHorizontal.setWidth(this._model.options.minimapWidth),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(i.sliderHeight),this.renderDecorations(i),this._lastRenderData=this.renderLines(i)}renderDecorations(e){if(this._renderDecorations){this._renderDecorations=!1;let t=this._model.getSelections();t.sort(Q.e.compareRangesUsingStarts);let i=this._model.getMinimapDecorationsInViewport(e.startLineNumber,e.endLineNumber);i.sort((e,t)=>(e.options.zIndex||0)-(t.options.zIndex||0));let{canvasInnerWidth:n,canvasInnerHeight:s}=this._model.options,o=this._model.options.minimapLineHeight,r=this._model.options.minimapCharWidth,l=this._model.getOptions().tabSize,a=this._decorationsCanvas.domNode.getContext("2d");a.clearRect(0,0,n,s);let d=new tX(e.startLineNumber,e.endLineNumber,!1);this._renderSelectionLineHighlights(a,t,d,e,o),this._renderDecorationsLineHighlights(a,i,d,e,o);let h=new tX(e.startLineNumber,e.endLineNumber,null);this._renderSelectionsHighlights(a,t,h,e,o,l,r,n),this._renderDecorationsHighlights(a,i,h,e,o,l,r,n),this._renderSectionHeaders(e)}}_renderSelectionLineHighlights(e,t,i,n,s){if(!this._selectionColor||this._selectionColor.isTransparent())return;e.fillStyle=this._selectionColor.transparent(.5).toString();let o=0,r=0;for(let l of t){let t=n.intersectWithViewport(l);if(!t)continue;let[a,d]=t;for(let e=a;e<=d;e++)i.set(e,!0);let h=n.getYForLineNumber(a,s),u=n.getYForLineNumber(d,s);r>=h||(r>o&&e.fillRect(I.y0,o,e.canvas.width,r-o),o=h),r=u}r>o&&e.fillRect(I.y0,o,e.canvas.width,r-o)}_renderDecorationsLineHighlights(e,t,i,n,s){let o=new Map;for(let r=t.length-1;r>=0;r--){let l=t[r],a=l.options.minimap;if(!a||1!==a.position)continue;let d=n.intersectWithViewport(l.range);if(!d)continue;let[h,u]=d,c=a.getColor(this._theme.value);if(!c||c.isTransparent())continue;let g=o.get(c.toString());g||(g=c.transparent(.5).toString(),o.set(c.toString(),g)),e.fillStyle=g;for(let t=h;t<=u;t++){if(i.has(t))continue;i.set(t,!0);let o=n.getYForLineNumber(h,s);e.fillRect(I.y0,o,e.canvas.width,s)}}}_renderSelectionsHighlights(e,t,i,n,s,o,r,l){if(!(!this._selectionColor||this._selectionColor.isTransparent()))for(let a of t){let t=n.intersectWithViewport(a);if(!t)continue;let[d,h]=t;for(let t=d;t<=h;t++)this.renderDecorationOnLine(e,i,a,this._selectionColor,n,t,s,s,o,r,l)}}_renderDecorationsHighlights(e,t,i,n,s,o,r,l){for(let a of t){let t=a.options.minimap;if(!t)continue;let d=n.intersectWithViewport(a.range);if(!d)continue;let[h,u]=d,c=t.getColor(this._theme.value);if(!(!c||c.isTransparent()))for(let d=h;d<=u;d++)switch(t.position){case 1:this.renderDecorationOnLine(e,i,a.range,c,n,d,s,s,o,r,l);continue;case 2:{let t=n.getYForLineNumber(d,s);this.renderDecoration(e,c,2,t,2,s);continue}}}}renderDecorationOnLine(e,t,i,n,s,o,r,l,a,d,h){let u=s.getYForLineNumber(o,l);if(u+r<0||u>this._model.options.canvasInnerHeight)return;let{startLineNumber:c,endLineNumber:g}=i,p=c===o?i.startColumn:1,m=g===o?i.endColumn:this._model.getLineMaxColumn(o),f=this.getXOffsetForPosition(t,o,p,a,d,h),_=this.getXOffsetForPosition(t,o,m,a,d,h);this.renderDecoration(e,n,f,u,_-f,r)}getXOffsetForPosition(e,t,i,n,s,o){if(1===i)return I.y0;if((i-1)*s>=o)return o;let r=e.get(t);if(!r){let i=this._model.getLineContent(t);r=[I.y0];let l=I.y0;for(let e=1;e=o){r[e]=o;break}r[e]=d,l=d}e.set(t,r)}return i-1e.range.startLineNumber-t.range.startLineNumber);let g=tJ._fitSectionHeader.bind(null,u,r-I.y0);for(let s of c){let l=e.getYForLineNumber(s.range.startLineNumber,i)+n,d=l-n,c=d+2,p=this._model.getSectionHeaderText(s,g);tJ._renderSectionLabel(u,p,(null===(t=s.options.minimap)||void 0===t?void 0:t.sectionHeaderStyle)===2,a,h,r,d,o,l,c)}}static _fitSectionHeader(e,t,i){if(!i)return i;let n=e.measureText(i).width,s=e.measureText("…").width;if(n<=t||n<=s)return i;let o=i.length,r=n/i.length,l=Math.floor((t-s)/r)-1,a=Math.ceil(l/2);for(;a>0&&/\s/.test(i[a-1]);)--a;return i.substring(0,a)+"…"+i.substring(o-(l-a))}static _renderSectionLabel(e,t,i,n,s,o,r,l,a,d){t&&(e.fillStyle=n,e.fillRect(0,r,o,l),e.fillStyle=s,e.fillText(t,I.y0,a)),i&&(e.beginPath(),e.moveTo(0,d),e.lineTo(o,d),e.closePath(),e.stroke())}renderLines(e){let t=e.startLineNumber,i=e.endLineNumber,n=this._model.options.minimapLineHeight;if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){let t=this._lastRenderData._get();return new tG(e,t.imageData,t.lines)}let s=this._getBuffer();if(!s)return null;let[o,r,l]=tJ._renderUntouchedLines(s,e.topPaddingLineCount,t,i,n,this._lastRenderData),a=this._model.getMinimapLinesRenderingData(t,i,l),d=this._model.getOptions().tabSize,h=this._model.options.defaultBackgroundColor,u=this._model.options.backgroundColor,c=this._model.options.foregroundAlpha,g=this._model.tokensColorTracker,p=g.backgroundIsLight(),m=this._model.options.renderMinimap,f=this._model.options.charRenderer(),_=this._model.options.fontScale,v=this._model.options.minimapCharWidth,b=1===m?2:3,C=b*_,w=n>C?Math.floor((n-C)/2):0,y=u.a/255,S=new tI(Math.round((u.r-h.r)*y+h.r),Math.round((u.g-h.g)*y+h.g),Math.round((u.b-h.b)*y+h.b),255),L=e.topPaddingLineCount*n,k=[];for(let e=0,o=i-t+1;e=0&&n_)return;let r=m.charCodeAt(C);if(9===r){let e=u-(C+w)%u;w+=e-1,b+=e*o}else if(32===r)b+=o;else{let u=ex.K7(r)?2:1;for(let c=0;c_)return}}}}}class tX{constructor(e,t,i){this._startLineNumber=e,this._endLineNumber=t,this._defaultValue=i,this._values=[];for(let e=0,t=this._endLineNumber-this._startLineNumber+1;ethis._endLineNumber||(this._values[e-this._startLineNumber]=t)}get(e){return ethis._endLineNumber?this._defaultValue:this._values[e-this._startLineNumber]}}i(92370);class t0 extends ${constructor(e,t){super(e),this._viewDomNode=t;let i=this._context.configuration.options,n=i.get(145);this._widgets={},this._verticalScrollbarWidth=n.verticalScrollbarWidth,this._minimapWidth=n.minimap.minimapWidth,this._horizontalScrollbarHeight=n.horizontalScrollbarHeight,this._editorHeight=n.height,this._editorWidth=n.width,this._viewDomNodeRect={top:0,left:0,width:0,height:0},this._domNode=(0,V.X)(document.createElement("div")),q.write(this._domNode,4),this._domNode.setClassName("overlayWidgets"),this.overflowingOverlayWidgetsDomNode=(0,V.X)(document.createElement("div")),q.write(this.overflowingOverlayWidgetsDomNode,5),this.overflowingOverlayWidgetsDomNode.setClassName("overflowingOverlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._verticalScrollbarWidth=i.verticalScrollbarWidth,this._minimapWidth=i.minimap.minimapWidth,this._horizontalScrollbarHeight=i.horizontalScrollbarHeight,this._editorHeight=i.height,this._editorWidth=i.width,!0}addWidget(e){let t=(0,V.X)(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),e.allowEditorOverflow?this.overflowingOverlayWidgetsDomNode.appendChild(t):this._domNode.appendChild(t),this.setShouldRender(),this._updateMaxMinWidth()}setWidgetPosition(e,t){let i=this._widgets[e.getId()],n=t?t.preference:null,s=null==t?void 0:t.stackOridinal;return i.preference===n&&i.stack===s?(this._updateMaxMinWidth(),!1):(i.preference=n,i.stack=s,this.setShouldRender(),this._updateMaxMinWidth(),!0)}removeWidget(e){let t=e.getId();if(this._widgets.hasOwnProperty(t)){let e=this._widgets[t],i=e.domNode.domNode;delete this._widgets[t],i.remove(),this.setShouldRender(),this._updateMaxMinWidth()}}_updateMaxMinWidth(){var e,t;let i=0,n=Object.keys(this._widgets);for(let s=0,o=n.length;s0);t.sort((e,t)=>(this._widgets[e].stack||0)-(this._widgets[t].stack||0));for(let e=0,n=t.length;e=3){let t=Math.floor(n/3),i=Math.floor(n/3),s=n-t-i,o=e+t;return[[0,e,o,e,e+t+s,e,o,e],[0,t,s,t+s,i,t+s+i,s+i,t+s+i]]}if(2!==i)return[[0,e,e,e,e,e,e,e],[0,n,n,n,n,n,n,n]];{let t=Math.floor(n/2),i=n-t;return[[0,e,e,e,e+t,e,e,e],[0,t,t,t,i,t+i,t+i,t+i]]}}equals(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColorSingle===e.cursorColorSingle&&this.cursorColorPrimary===e.cursorColorPrimary&&this.cursorColorSecondary===e.cursorColorSecondary&&this.themeType===e.themeType&&eF.Il.equals(this.backgroundColor,e.backgroundColor)&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight}}class t2 extends ${constructor(e){super(e),this._actualShouldRender=0,this._renderedDecorations=[],this._renderedCursorPositions=[],this._domNode=(0,V.X)(document.createElement("canvas")),this._domNode.setClassName("decorationsOverviewRuler"),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._domNode.setAttribute("aria-hidden","true"),this._updateSettings(!1),this._tokensColorTrackerListener=eO.RW.onDidChange(e=>{e.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[{position:new G.L(1,1),color:this._settings.cursorColorSingle}]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(e){let t=new t1(this._context.configuration,this._context.theme);return!(this._settings&&this._settings.equals(t))&&(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)}_markRenderingIsNeeded(){return this._actualShouldRender=2,!0}_markRenderingIsMaybeNeeded(){return this._actualShouldRender=1,!0}onConfigurationChanged(e){return!!this._updateSettings(!1)&&this._markRenderingIsNeeded()}onCursorStateChanged(e){this._cursorPositions=[];for(let t=0,i=e.selections.length;t1&&(n=0===t?this._settings.cursorColorPrimary:this._settings.cursorColorSecondary),this._cursorPositions.push({position:e.selections[t].getPosition(),color:n})}return this._cursorPositions.sort((e,t)=>G.L.compare(e.position,t.position)),this._markRenderingIsMaybeNeeded()}onDecorationsChanged(e){return!!e.affectsOverviewRuler&&this._markRenderingIsMaybeNeeded()}onFlushed(e){return this._markRenderingIsNeeded()}onScrollChanged(e){return!!e.scrollHeightChanged&&this._markRenderingIsNeeded()}onZonesChanged(e){return this._markRenderingIsNeeded()}onThemeChanged(e){return!!this._updateSettings(!1)&&this._markRenderingIsNeeded()}getDomNode(){return this._domNode.domNode}prepareRender(e){}render(e){this._render(),this._actualShouldRender=0}_render(){let e=this._settings.backgroundColor;if(0===this._settings.overviewRulerLanes){this._domNode.setBackgroundColor(e?eF.Il.Format.CSS.formatHexA(e):""),this._domNode.setDisplay("none");return}let t=this._context.viewModel.getAllOverviewRulerDecorations(this._context.theme);if(t.sort(tM.SQ.compareByRenderingProps),1!==this._actualShouldRender||tM.SQ.equalsArr(this._renderedDecorations,t)||(this._actualShouldRender=2),1!==this._actualShouldRender||(0,C.fS)(this._renderedCursorPositions,this._cursorPositions,(e,t)=>e.position.lineNumber===t.position.lineNumber&&e.color===t.color)||(this._actualShouldRender=2),1===this._actualShouldRender)return;this._renderedDecorations=t,this._renderedCursorPositions=this._cursorPositions,this._domNode.setDisplay("block");let i=this._settings.canvasWidth,n=this._settings.canvasHeight,s=this._settings.lineHeight,o=this._context.viewLayout,r=this._context.viewLayout.getScrollHeight(),l=n/r,a=6*this._settings.pixelRatio|0,d=a/2|0,h=this._domNode.domNode.getContext("2d");e?e.isOpaque()?(h.fillStyle=eF.Il.Format.CSS.formatHexA(e),h.fillRect(0,0,i,n)):(h.clearRect(0,0,i,n),h.fillStyle=eF.Il.Format.CSS.formatHexA(e),h.fillRect(0,0,i,n)):h.clearRect(0,0,i,n);let u=this._settings.x,c=this._settings.w;for(let e of t){let t=e.color,i=e.data;h.fillStyle=t;let r=0,g=0,p=0;for(let e=0,t=i.length/3;en&&(e=n-d),_=e-d,v=e+d}_>p+1||t!==r?(0!==e&&h.fillRect(u[r],g,c[r],p-g),r=t,g=_,p=v):v>p&&(p=v)}h.fillRect(u[r],g,c[r],p-g)}if(!this._settings.hideCursor){let e=2*this._settings.pixelRatio|0,t=e/2|0,i=this._settings.x[7],s=this._settings.w[7],r=-100,a=-100,d=null;for(let u=0,c=this._cursorPositions.length;un&&(p=n-t);let m=p-t,f=m+e;m>a+1||c!==d?(0!==u&&d&&h.fillRect(i,r,s,a-r),r=m,a=f):f>a&&(a=f),d=c,h.fillStyle=c}d&&h.fillRect(i,r,s,a-r)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(h.beginPath(),h.lineWidth=1,h.strokeStyle=this._settings.borderColor,h.moveTo(0,0),h.lineTo(0,n),h.stroke(),h.moveTo(0,0),h.lineTo(i,0),h.stroke())}}var t4=i(68757);class t5 extends U{constructor(e,t){super(),this._context=e;let i=this._context.configuration.options;this._domNode=(0,V.X)(document.createElement("canvas")),this._domNode.setClassName(t),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._zoneManager=new t4.Tj(e=>this._context.viewLayout.getVerticalOffsetForLineNumber(e)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(i.get(67)),this._zoneManager.setPixelRatio(i.get(143)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return e.hasChanged(67)&&(this._zoneManager.setLineHeight(t.get(67)),this._render()),e.hasChanged(143)&&(this._zoneManager.setPixelRatio(t.get(143)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(e){return this._render(),!0}onScrollChanged(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0}onZonesChanged(e){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);let t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,(t=this._zoneManager.setDOMHeight(e.height)||t)&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(e){this._zoneManager.setZones(e),this._render()}_render(){if(0===this._zoneManager.getOuterHeight())return!1;let e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),i=this._zoneManager.resolveColorZones(),n=this._zoneManager.getId2Color(),s=this._domNode.domNode.getContext("2d");return s.clearRect(0,0,e,t),i.length>0&&this._renderOneLane(s,i,n,e),!0}_renderOneLane(e,t,i,n){let s=0,o=0,r=0;for(let l of t){let t=l.colorId,a=l.from,d=l.to;t!==s?(e.fillRect(0,o,n,r-o),s=t,e.fillStyle=i[s],o=a,r=d):r>=a?r=Math.max(r,d):(e.fillRect(0,o,n,r-o),o=a,r=d)}e.fillRect(0,o,n,r-o)}}i(56389);class t3 extends ${constructor(e){super(e),this.domNode=(0,V.X)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("view-rulers"),this._renderedRulers=[];let t=this._context.configuration.options;this._rulers=t.get(102),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return this._rulers=t.get(102),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,!0}onScrollChanged(e){return e.scrollHeightChanged}prepareRender(e){}_ensureRulersCount(){let e=this._renderedRulers.length,t=this._rulers.length;if(e===t)return;if(e0;){let e=(0,V.X)(document.createElement("div"));e.setClassName("view-ruler"),e.setWidth(i),this.domNode.appendChild(e),this._renderedRulers.push(e),n--}return}let i=e-t;for(;i>0;){let e=this._renderedRulers.pop();this.domNode.removeChild(e),i--}}render(e){this._ensureRulersCount();for(let t=0,i=this._rulers.length;t0;return this._shouldShow!==e&&(this._shouldShow=e,!0)}getDomNode(){return this._domNode}_updateWidth(){let e=this._context.configuration.options,t=e.get(145);0===t.minimap.renderMinimap||t.minimap.minimapWidth>0&&0===t.minimap.minimapLeft?this._width=t.width:this._width=t.width-t.verticalScrollbarWidth}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(103);return this._useShadows=i.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()}prepareRender(e){}render(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}i(33557);class t8{constructor(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null}}class t6{constructor(e,t){this.lineNumber=e,this.ranges=t}}function t9(e){return new t8(e)}function ie(e){return new t6(e.lineNumber,e.ranges.map(t9))}class it extends eE{constructor(e){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=e;let t=this._context.configuration.options;this._roundedSelection=t.get(101),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return this._roundedSelection=t.get(101),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_visibleRangesHaveGaps(e){for(let t=0,i=e.length;t1)return!0}return!1}_enrichVisibleRangesWithStyle(e,t,i){let n=this._typicalHalfwidthCharacterWidth/4,s=null,o=null;if(i&&i.length>0&&t.length>0){let n=t[0].lineNumber;if(n===e.startLineNumber)for(let e=0;!s&&e=0;e--)i[e].lineNumber===r&&(o=i[e].ranges[0]);s&&!s.startStyle&&(s=null),o&&!o.startStyle&&(o=null)}for(let e=0,i=t.length;e0){let i=t[e-1].ranges[0].left,s=t[e-1].ranges[0].left+t[e-1].ranges[0].width;ii(l-i)i&&(d.top=1),ii(a-s)'}_actualRenderOneSelection(e,t,i,n){if(0===n.length)return;let s=!!n[0].ranges[0].startStyle,o=n[0].lineNumber,r=n[n.length-1].lineNumber;for(let l=0,a=n.length;l1,r)}this._previousFrameVisibleRangesWithStyle=s,this._renderResult=t.map(([e,t])=>e+t)}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}function ii(e){return e<0?-e:e}it.SELECTION_CLASS_NAME="selected-text",it.SELECTION_TOP_LEFT="top-left-radius",it.SELECTION_BOTTOM_LEFT="bottom-left-radius",it.SELECTION_TOP_RIGHT="top-right-radius",it.SELECTION_BOTTOM_RIGHT="bottom-right-radius",it.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",it.ROUNDED_PIECE_WIDTH=10,(0,eI.Ic)((e,t)=>{let i=e.getColor(tR.yb5);i&&!i.isTransparent()&&t.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${i}; }`)}),i(25459);class is{constructor(e,t,i,n,s,o,r){this.top=e,this.left=t,this.paddingLeft=i,this.width=n,this.height=s,this.textContent=o,this.textContentClassName=r}}(o=a||(a={}))[o.Single=0]="Single",o[o.MultiPrimary=1]="MultiPrimary",o[o.MultiSecondary=2]="MultiSecondary";class io{constructor(e,t){this._context=e;let i=this._context.configuration.options,n=i.get(50);this._cursorStyle=i.get(28),this._lineHeight=i.get(67),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(i.get(31),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=(0,V.X)(document.createElement("div")),this._domNode.setClassName(`cursor ${eP}`),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),(0,v.N)(this._domNode,n),this._domNode.setDisplay("none"),this._position=new G.L(1,1),this._pluralityClass="",this.setPlurality(t),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}setPlurality(e){switch(e){default:case a.Single:this._pluralityClass="";break;case a.MultiPrimary:this._pluralityClass="cursor-primary";break;case a.MultiSecondary:this._pluralityClass="cursor-secondary"}}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(50);return this._cursorStyle=t.get(28),this._lineHeight=t.get(67),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(31),this._typicalHalfwidthCharacterWidth),(0,v.N)(this._domNode,i),!0}onCursorPositionChanged(e,t){return t?this._domNode.domNode.style.transitionProperty="none":this._domNode.domNode.style.transitionProperty="",this._position=e,!0}_getGraphemeAwarePosition(){let{lineNumber:e,column:t}=this._position,i=this._context.viewModel.getLineContent(e),[n,s]=ex.J_(i,t-1);return[new G.L(e,n+1),i.substring(n,s)]}_prepareRender(e){let t="",i="",[n,s]=this._getGraphemeAwarePosition();if(this._cursorStyle===I.d2.Line||this._cursorStyle===I.d2.LineThin){let o;let r=e.visibleRangeForPosition(n);if(!r||r.outsideRenderedLine)return null;let l=g.Jj(this._domNode.domNode);this._cursorStyle===I.d2.Line?(o=g.Uh(l,this._lineCursorWidth>0?this._lineCursorWidth:2))>2&&(t=s,i=this._getTokenClassName(n)):o=g.Uh(l,1);let a=r.left,d=0;o>=2&&a>=1&&(a-=d=1);let h=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.bigNumbersDelta;return new is(h,a,d,o,this._lineHeight,t,i)}let o=e.linesVisibleRangesForRange(new Q.e(n.lineNumber,n.column,n.lineNumber,n.column+s.length),!1);if(!o||0===o.length)return null;let r=o[0];if(r.outsideRenderedLine||0===r.ranges.length)return null;let l=r.ranges[0],a=" "===s?this._typicalHalfwidthCharacterWidth:l.width<1?this._typicalHalfwidthCharacterWidth:l.width;this._cursorStyle===I.d2.Block&&(t=s,i=this._getTokenClassName(n));let d=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.bigNumbersDelta,h=this._lineHeight;return(this._cursorStyle===I.d2.Underline||this._cursorStyle===I.d2.UnderlineThin)&&(d+=this._lineHeight-2,h=2),new is(d,l.left,0,a,h,t,i)}_getTokenClassName(e){let t=this._context.viewModel.getViewLineData(e.lineNumber),i=t.tokens.findTokenIndexAtOffset(e.column-1);return t.tokens.getClassName(i)}prepareRender(e){this._renderData=this._prepareRender(e)}render(e){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${this._pluralityClass} ${eP} ${this._renderData.textContentClassName}`),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setPaddingLeft(this._renderData.paddingLeft),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)}}class ir extends ${constructor(e){super(e);let t=this._context.configuration.options;this._readOnly=t.get(91),this._cursorBlinking=t.get(26),this._cursorStyle=t.get(28),this._cursorSmoothCaretAnimation=t.get(27),this._selectionIsEmpty=!0,this._isComposingInput=!1,this._isVisible=!1,this._primaryCursor=new io(this._context,a.Single),this._secondaryCursors=[],this._renderData=[],this._domNode=(0,V.X)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new tw._F,this._cursorFlatBlinkInterval=new g.ne,this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onCompositionStart(e){return this._isComposingInput=!0,this._updateBlinking(),!0}onCompositionEnd(e){return this._isComposingInput=!1,this._updateBlinking(),!0}onConfigurationChanged(e){let t=this._context.configuration.options;this._readOnly=t.get(91),this._cursorBlinking=t.get(26),this._cursorStyle=t.get(28),this._cursorSmoothCaretAnimation=t.get(27),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(let t=0,i=this._secondaryCursors.length;tt.length){let e=this._secondaryCursors.length-t.length;for(let t=0;t{for(let i=0,n=e.ranges.length;i{this._isVisible?this._hide():this._show()},ir.BLINK_INTERVAL,(0,g.Jj)(this._domNode.domNode)):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},ir.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let e="cursors-layer";switch(this._selectionIsEmpty||(e+=" has-selection"),this._cursorStyle){case I.d2.Line:e+=" cursor-line-style";break;case I.d2.Block:e+=" cursor-block-style";break;case I.d2.Underline:e+=" cursor-underline-style";break;case I.d2.LineThin:e+=" cursor-line-thin-style";break;case I.d2.BlockOutline:e+=" cursor-block-outline-style";break;case I.d2.UnderlineThin:e+=" cursor-underline-thin-style";break;default:e+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:e+=" cursor-blink";break;case 2:e+=" cursor-smooth";break;case 3:e+=" cursor-phase";break;case 4:e+=" cursor-expand";break;default:e+=" cursor-solid"}else e+=" cursor-solid";return("on"===this._cursorSmoothCaretAnimation||"explicit"===this._cursorSmoothCaretAnimation)&&(e+=" cursor-smooth-caret-animation"),e}_show(){this._primaryCursor.show();for(let e=0,t=this._secondaryCursors.length;e{let i=[{class:".cursor",foreground:eT.n0,background:eT.fY},{class:".cursor-primary",foreground:eT.jD,background:eT.s2},{class:".cursor-secondary",foreground:eT.x_,background:eT.P0}];for(let n of i){let i=e.getColor(n.foreground);if(i){let s=e.getColor(n.background);s||(s=i.opposite()),t.addRule(`.monaco-editor .cursors-layer ${n.class} { background-color: ${i}; border-color: ${i}; color: ${s}; }`),(0,tt.c3)(e.type)&&t.addRule(`.monaco-editor .cursors-layer.has-selection ${n.class} { border-left: 1px solid ${s}; border-right: 1px solid ${s}; }`)}}});let il=()=>{throw Error("Invalid change accessor")};class ia extends ${constructor(e){super(e);let t=this._context.configuration.options,i=t.get(145);this._lineHeight=t.get(67),this._contentWidth=i.contentWidth,this._contentLeft=i.contentLeft,this.domNode=(0,V.X)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=(0,V.X)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){let e=this._context.viewLayout.getWhitespaces(),t=new Map;for(let i of e)t.set(i.id,i);let i=!1;return this._context.viewModel.changeWhitespace(e=>{let n=Object.keys(this._zones);for(let s=0,o=n.length;s{let n={addZone:e=>(t=!0,this._addZone(i,e)),removeZone:e=>{e&&(t=this._removeZone(i,e)||t)},layoutZone:e=>{e&&(t=this._layoutZone(i,e)||t)}};(function(e,t){try{e(t)}catch(e){(0,p.dL)(e)}})(e,n),n.addZone=il,n.removeZone=il,n.layoutZone=il}),t}_addZone(e,t){let i=this._computeWhitespaceProps(t),n=e.insertWhitespace(i.afterViewLineNumber,this._getZoneOrdinal(t),i.heightInPx,i.minWidthInPx),s={whitespaceId:n,delegate:t,isInHiddenArea:i.isInHiddenArea,isVisible:!1,domNode:(0,V.X)(t.domNode),marginDomNode:t.marginDomNode?(0,V.X)(t.marginDomNode):null};return this._safeCallOnComputedHeight(s.delegate,i.heightInPx),s.domNode.setPosition("absolute"),s.domNode.domNode.style.width="100%",s.domNode.setDisplay("none"),s.domNode.setAttribute("monaco-view-zone",s.whitespaceId),this.domNode.appendChild(s.domNode),s.marginDomNode&&(s.marginDomNode.setPosition("absolute"),s.marginDomNode.domNode.style.width="100%",s.marginDomNode.setDisplay("none"),s.marginDomNode.setAttribute("monaco-view-zone",s.whitespaceId),this.marginDomNode.appendChild(s.marginDomNode)),this._zones[s.whitespaceId]=s,this.setShouldRender(),s.whitespaceId}_removeZone(e,t){if(this._zones.hasOwnProperty(t)){let i=this._zones[t];return delete this._zones[t],e.removeWhitespace(i.whitespaceId),i.domNode.removeAttribute("monaco-visible-view-zone"),i.domNode.removeAttribute("monaco-view-zone"),i.domNode.domNode.parentNode.removeChild(i.domNode.domNode),i.marginDomNode&&(i.marginDomNode.removeAttribute("monaco-visible-view-zone"),i.marginDomNode.removeAttribute("monaco-view-zone"),i.marginDomNode.domNode.parentNode.removeChild(i.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(e,t){if(this._zones.hasOwnProperty(t)){let i=this._zones[t],n=this._computeWhitespaceProps(i.delegate);return i.isInHiddenArea=n.isInHiddenArea,e.changeOneWhitespace(i.whitespaceId,n.afterViewLineNumber,n.heightInPx),this._safeCallOnComputedHeight(i.delegate,n.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(e){if(this._zones.hasOwnProperty(e)){let t=this._zones[e];return!!t.delegate.suppressMouseDown}return!1}_heightInPixels(e){return"number"==typeof e.heightInPx?e.heightInPx:"number"==typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight}_minWidthInPixels(e){return"number"==typeof e.minWidthInPx?e.minWidthInPx:0}_safeCallOnComputedHeight(e,t){if("function"==typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(e){(0,p.dL)(e)}}_safeCallOnDomNodeTop(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(e){(0,p.dL)(e)}}prepareRender(e){}render(e){let t=e.viewportData.whitespaceViewportData,i={},n=!1;for(let e of t)this._zones[e.id].isInHiddenArea||(i[e.id]=e,n=!0);let s=Object.keys(this._zones);for(let t=0,n=s.length;tt)continue;let e=i.startLineNumber===t?i.startColumn:n.minColumn,o=i.endLineNumber===t?i.endColumn:n.maxColumn;e=k.endOffset&&(L++,k=i&&i[L]),9!==o&&32!==o||c&&!y&&n<=s)continue;if(u&&n>=S&&n<=s&&32===o){let e=n-1>=0?l.charCodeAt(n-1):0,t=n+1=0?l.charCodeAt(n-1):0,t=32===o&&32!==e&&9!==e;if(t)continue}if(i&&(!k||k.startOffset>n||k.endOffset<=n))continue;let h=e.visibleRangeForPosition(new G.L(t,n+1));h&&(r?(D=Math.max(D,h.left),9===o?w+=this._renderArrow(g,f,h.left):w+=``):9===o?w+=`
    ${C?String.fromCharCode(65515):String.fromCharCode(8594)}
    `:w+=`
    ${String.fromCharCode(b)}
    `)}return r?(D=Math.round(D+f),``+w+""):w}_renderArrow(e,t,i){let n=e/2,s={x:0,y:t/7/2},o={x:.8*t,y:s.y},r={x:o.x-.2*o.x,y:o.y+.2*o.x},l={x:r.x+.1*o.x,y:r.y+.1*o.x},a={x:l.x+.35*o.x,y:l.y-.35*o.x},d={x:a.x,y:-a.y},h={x:l.x,y:-l.y},u={x:r.x,y:-r.y},c={x:o.x,y:-o.y},g={x:s.x,y:-s.y},p=[s,o,r,l,a,d,h,u,c,g].map(e=>`${(i+e.x).toFixed(2)} ${(n+e.y).toFixed(2)}`).join(" L ");return``}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}class iu{constructor(e){let t=e.options,i=t.get(50),n=t.get(38);"off"===n?(this.renderWhitespace="none",this.renderWithSVG=!1):"svg"===n?(this.renderWhitespace=t.get(99),this.renderWithSVG=!0):(this.renderWhitespace=t.get(99),this.renderWithSVG=!1),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=t.get(67),this.stopRenderingLineAfter=t.get(117)}equals(e){return this.renderWhitespace===e.renderWhitespace&&this.renderWithSVG===e.renderWithSVG&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter}}class ic{constructor(e,t,i,n){this.selections=e,this.startLineNumber=0|t.startLineNumber,this.endLineNumber=0|t.endLineNumber,this.relativeVerticalOffset=t.relativeVerticalOffset,this.bigNumbersDelta=0|t.bigNumbersDelta,this.lineHeight=0|t.lineHeight,this.whitespaceViewportData=i,this._model=n,this.visibleRange=new Q.e(t.startLineNumber,this._model.getLineMinColumn(t.startLineNumber),t.endLineNumber,this._model.getLineMaxColumn(t.endLineNumber))}getViewLineRenderingData(e){return this._model.getViewportViewLineRenderingData(this.visibleRange,e)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}class ig{get type(){return this._theme.type}get value(){return this._theme}constructor(e){this._theme=e}update(e){this._theme=e}getColor(e){return this._theme.getColor(e)}}class ip{constructor(e,t,i){this.configuration=e,this.theme=new ig(t),this.viewModel=i,this.viewLayout=i.viewLayout}addEventHandler(e){this.viewModel.addViewEventHandler(e)}removeEventHandler(e){this.viewModel.removeViewEventHandler(e)}}let im=class extends U{constructor(e,t,i,n,s,o,r){super(),this._instantiationService=r,this._shouldRecomputeGlyphMarginLanes=!1,this._selections=[new em.Y(1,1,1,1)],this._renderAnimationFrame=null;let l=new ej(t,n,s,e);this._context=new ip(t,i,n),this._context.addEventHandler(this),this._viewParts=[],this._textAreaHandler=this._instantiationService.createInstance(eU,this._context,l,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=(0,V.X)(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=(0,V.X)(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=(0,V.X)(document.createElement("div")),q.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new tr(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new tD(this._context,this._linesContent),this._viewZones=new ia(this._context),this._viewParts.push(this._viewZones);let a=new t2(this._context);this._viewParts.push(a);let d=new t7(this._context);this._viewParts.push(d);let h=new e1(this._context);this._viewParts.push(h),h.addDynamicOverlay(new tn(this._context)),h.addDynamicOverlay(new it(this._context)),h.addDynamicOverlay(new tb(this._context)),h.addDynamicOverlay(new to(this._context)),h.addDynamicOverlay(new ih(this._context));let u=new e2(this._context);this._viewParts.push(u),u.addDynamicOverlay(new ts(this._context)),u.addDynamicOverlay(new tN(this._context)),u.addDynamicOverlay(new tx(this._context)),u.addDynamicOverlay(new eM(this._context)),this._glyphMarginWidgets=new tc(this._context),this._viewParts.push(this._glyphMarginWidgets);let c=new eR(this._context);c.getDomNode().appendChild(this._viewZones.marginDomNode),c.getDomNode().appendChild(u.getDomNode()),c.getDomNode().appendChild(this._glyphMarginWidgets.domNode),this._viewParts.push(c),this._contentWidgets=new e3(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new ir(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new t0(this._context,this.domNode),this._viewParts.push(this._overlayWidgets);let g=new t3(this._context);this._viewParts.push(g);let p=new e5(this._context);this._viewParts.push(p);let m=new tY(this._context);if(this._viewParts.push(m),a){let e=this._scrollbar.getOverviewRulerLayoutInfo();e.parent.insertBefore(a.getDomNode(),e.insertBefore)}this._linesContent.appendChild(h.getDomNode()),this._linesContent.appendChild(g.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(c.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(d.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(m.getDomNode()),this._overflowGuardContainer.appendChild(p.domNode),this.domNode.appendChild(this._overflowGuardContainer),o?(o.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode),o.appendChild(this._overlayWidgets.overflowingOverlayWidgetsDomNode.domNode)):(this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this.domNode.appendChild(this._overlayWidgets.overflowingOverlayWidgetsDomNode)),this._applyLayout(),this._pointerHandler=this._register(new ek(this._context,l,this._createPointerHandlerHelper()))}_computeGlyphMarginLanes(){let e=this._context.viewModel.model,t=this._context.viewModel.glyphLanes,i=[],n=0;for(let s of((i=(i=i.concat(e.getAllMarginDecorations().map(e=>{var t,i,s;let o=null!==(i=null===(t=e.options.glyphMargin)||void 0===t?void 0:t.position)&&void 0!==i?i:tl.U.Center;return n=Math.max(n,e.range.endLineNumber),{range:e.range,lane:o,persist:null===(s=e.options.glyphMargin)||void 0===s?void 0:s.persistLane}}))).concat(this._glyphMarginWidgets.getWidgets().map(t=>{let i=e.validateRange(t.preference.range);return n=Math.max(n,i.endLineNumber),{range:i,lane:t.preference.lane}}))).sort((e,t)=>Q.e.compareRangesUsingStarts(e.range,t.range)),t.reset(n),i))t.push(s.lane,s.range,s.persist);return t}_createPointerHandlerHelper(){return{viewDomNode:this.domNode.domNode,linesContentDomNode:this._linesContent.domNode,viewLinesDomNode:this._viewLines.getDomNode().domNode,focusTextArea:()=>{this.focus()},dispatchTextAreaEvent:e=>{this._textAreaHandler.textArea.domNode.dispatchEvent(e)},getLastRenderData:()=>{let e=this._viewCursors.getLastRenderData()||[],t=this._textAreaHandler.getLastRenderData();return new et(e,t)},renderNow:()=>{this.render(!0,!1)},shouldSuppressMouseDownOnViewZone:e=>this._viewZones.shouldSuppressMouseDownOnViewZone(e),shouldSuppressMouseDownOnWidget:e=>this._contentWidgets.shouldSuppressMouseDownOnWidget(e),getPositionFromDOMInfo:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(e,t)),visibleRangeForPosition:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new G.L(e,t))),getLineWidth:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(e))}}_createTextAreaHandlerHelper(){return{visibleRangeForPosition:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(e))}}_applyLayout(){let e=this._context.configuration.options,t=e.get(145);this.domNode.setWidth(t.width),this.domNode.setHeight(t.height),this._overflowGuardContainer.setWidth(t.width),this._overflowGuardContainer.setHeight(t.height),this._linesContent.setWidth(16777216),this._linesContent.setHeight(16777216)}_getEditorClassName(){let e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(142)+" "+(0,eI.m6)(this._context.theme.type)+e}handleEvents(e){super.handleEvents(e),this._scheduleRender()}onConfigurationChanged(e){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(e){return this._selections=e.selections,!1}onDecorationsChanged(e){return e.affectsGlyphMargin&&(this._shouldRecomputeGlyphMarginLanes=!0),!1}onFocusChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(e){return this._context.theme.update(e.theme),this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){for(let e of(null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose(),this._viewParts))e.dispose();super.dispose()}_scheduleRender(){if(this._store.isDisposed)throw new p.he;if(null===this._renderAnimationFrame){let e=this._createCoordinatedRendering();this._renderAnimationFrame=iv.INSTANCE.scheduleCoordinatedRendering({window:g.Jj(this.domNode.domNode),prepareRenderText:()=>{if(this._store.isDisposed)throw new p.he;try{return e.prepareRenderText()}finally{this._renderAnimationFrame=null}},renderText:()=>{if(this._store.isDisposed)throw new p.he;return e.renderText()},prepareRender:(t,i)=>{if(this._store.isDisposed)throw new p.he;return e.prepareRender(t,i)},render:(t,i)=>{if(this._store.isDisposed)throw new p.he;return e.render(t,i)}})}}_flushAccumulatedAndRenderNow(){let e=this._createCoordinatedRendering();i_(()=>e.prepareRenderText());let t=i_(()=>e.renderText());if(t){let[i,n]=t;i_(()=>e.prepareRender(i,n)),i_(()=>e.render(i,n))}}_getViewPartsToRender(){let e=[],t=0;for(let i of this._viewParts)i.shouldRender()&&(e[t++]=i);return e}_createCoordinatedRendering(){return{prepareRenderText:()=>{if(this._shouldRecomputeGlyphMarginLanes){this._shouldRecomputeGlyphMarginLanes=!1;let e=this._computeGlyphMarginLanes();this._context.configuration.setGlyphMarginDecorationLaneCount(e.requiredLanes)}z.B.onRenderStart()},renderText:()=>{if(!this.domNode.domNode.isConnected)return null;let e=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&0===e.length)return null;let t=this._context.viewLayout.getLinesViewportData();this._context.viewModel.setViewport(t.startLineNumber,t.endLineNumber,t.centeredLineNumber);let i=new ic(this._selections,t,this._context.viewLayout.getWhitespaceViewportData(),this._context.viewModel);return this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(i),this._viewLines.shouldRender()&&(this._viewLines.renderText(i),this._viewLines.onDidRender(),e=this._getViewPartsToRender()),[e,new e$.xh(this._context.viewLayout,i,this._viewLines)]},prepareRender:(e,t)=>{for(let i of e)i.prepareRender(t)},render:(e,t)=>{for(let i of e)i.render(t),i.onDidRender()}}}delegateVerticalScrollbarPointerDown(e){this._scrollbar.delegateVerticalScrollbarPointerDown(e)}delegateScrollFromMouseWheelEvent(e){this._scrollbar.delegateScrollFromMouseWheelEvent(e)}restoreState(e){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft},1),this._context.viewModel.visibleLinesStabilized()}getOffsetForColumn(e,t){let i=this._context.viewModel.model.validatePosition({lineNumber:e,column:t}),n=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i);this._flushAccumulatedAndRenderNow();let s=this._viewLines.visibleRangeForPosition(new G.L(n.lineNumber,n.column));return s?s.left:-1}getTargetAtClientPoint(e,t){let i=this._pointerHandler.getTargetAtClientPoint(e,t);return i?e4.convertViewToModelMouseTarget(i,this._context.viewModel.coordinatesConverter):null}createOverviewRuler(e){return new t5(this._context,e)}change(e){this._viewZones.changeViewZones(e),this._scheduleRender()}render(e,t){if(t)for(let e of(this._viewLines.forceShouldRender(),this._viewParts))e.forceShouldRender();e?this._flushAccumulatedAndRenderNow():this._scheduleRender()}writeScreenReaderContent(e){this._textAreaHandler.writeScreenReaderContent(e)}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(e){this._textAreaHandler.setAriaOptions(e)}addContentWidget(e){this._contentWidgets.addWidget(e.widget),this.layoutContentWidget(e),this._scheduleRender()}layoutContentWidget(e){var t,i,n,s,o,r,l,a;this._contentWidgets.setWidgetPosition(e.widget,null!==(i=null===(t=e.position)||void 0===t?void 0:t.position)&&void 0!==i?i:null,null!==(s=null===(n=e.position)||void 0===n?void 0:n.secondaryPosition)&&void 0!==s?s:null,null!==(r=null===(o=e.position)||void 0===o?void 0:o.preference)&&void 0!==r?r:null,null!==(a=null===(l=e.position)||void 0===l?void 0:l.positionAffinity)&&void 0!==a?a:null),this._scheduleRender()}removeContentWidget(e){this._contentWidgets.removeWidget(e.widget),this._scheduleRender()}addOverlayWidget(e){this._overlayWidgets.addWidget(e.widget),this.layoutOverlayWidget(e),this._scheduleRender()}layoutOverlayWidget(e){let t=this._overlayWidgets.setWidgetPosition(e.widget,e.position);t&&this._scheduleRender()}removeOverlayWidget(e){this._overlayWidgets.removeWidget(e.widget),this._scheduleRender()}addGlyphMarginWidget(e){this._glyphMarginWidgets.addWidget(e.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}layoutGlyphMarginWidget(e){let t=e.position,i=this._glyphMarginWidgets.setWidgetPosition(e.widget,t);i&&(this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender())}removeGlyphMarginWidget(e){this._glyphMarginWidgets.removeWidget(e.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}};function i_(e){try{return e()}catch(e){return(0,p.dL)(e),null}}im=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(r=eH.TG,function(e,t){r(e,t,6)})],im);class iv{constructor(){this._coordinatedRenderings=[],this._animationFrameRunners=new Map}scheduleCoordinatedRendering(e){return this._coordinatedRenderings.push(e),this._scheduleRender(e.window),{dispose:()=>{let t=this._coordinatedRenderings.indexOf(e);if(-1!==t&&(this._coordinatedRenderings.splice(t,1),0===this._coordinatedRenderings.length)){for(let[e,t]of this._animationFrameRunners)t.dispose();this._animationFrameRunners.clear()}}}}_scheduleRender(e){this._animationFrameRunners.has(e)||this._animationFrameRunners.set(e,g.lI(e,()=>{this._animationFrameRunners.delete(e),this._onRenderScheduled()},100))}_onRenderScheduled(){let e=this._coordinatedRenderings.slice(0);for(let t of(this._coordinatedRenderings=[],e))i_(()=>t.prepareRenderText());let t=[];for(let i=0,n=e.length;in.renderText())}for(let i=0,n=e.length;in.prepareRender(o,r))}for(let i=0,n=e.length;in.render(o,r))}}}iv.INSTANCE=new iv;var ib=i(61413);class iC{constructor(e,t,i,n,s){this.injectionOffsets=e,this.injectionOptions=t,this.breakOffsets=i,this.breakOffsetsVisibleColumn=n,this.wrappedTextIndentLength=s}getOutputLineCount(){return this.breakOffsets.length}getMinOutputOffset(e){return e>0?this.wrappedTextIndentLength:0}getLineLength(e){let t=e>0?this.breakOffsets[e-1]:0,i=this.breakOffsets[e],n=i-t;return e>0&&(n+=this.wrappedTextIndentLength),n}getMaxOutputOffset(e){return this.getLineLength(e)}translateToInputOffset(e,t){e>0&&(t=Math.max(0,t-this.wrappedTextIndentLength));let i=0===e?t:this.breakOffsets[e-1]+t,n=i;if(null!==this.injectionOffsets)for(let e=0;ethis.injectionOffsets[e])n0?this.breakOffsets[s-1]:0,0===t){if(e<=o)n=s-1;else if(e>r)i=s+1;else break}else if(e=r)i=s+1;else break}let r=e-o;return s>0&&(r+=this.wrappedTextIndentLength),new iS(s,r)}normalizeOutputPosition(e,t,i){if(null!==this.injectionOffsets){let n=this.outputPositionToOffsetInInputWithInjections(e,t),s=this.normalizeOffsetInInputWithInjectionsAroundInjections(n,i);if(s!==n)return this.offsetInInputWithInjectionsToOutputPosition(s,i)}if(0===i){if(e>0&&t===this.getMinOutputOffset(e))return new iS(e-1,this.getMaxOutputOffset(e-1))}else if(1===i){let i=this.getOutputLineCount()-1;if(e0&&(t=Math.max(0,t-this.wrappedTextIndentLength));let i=(e>0?this.breakOffsets[e-1]:0)+t;return i}normalizeOffsetInInputWithInjectionsAroundInjections(e,t){let i=this.getInjectedTextAtOffset(e);if(!i)return e;if(2===t){if(e===i.offsetInInputWithInjections+i.length&&iw(this.injectionOptions[i.injectedTextIndex].cursorStops))return i.offsetInInputWithInjections+i.length;{let e=i.offsetInInputWithInjections;if(iy(this.injectionOptions[i.injectedTextIndex].cursorStops))return e;let t=i.injectedTextIndex-1;for(;t>=0&&this.injectionOffsets[t]===this.injectionOffsets[i.injectedTextIndex]&&!iw(this.injectionOptions[t].cursorStops)&&(e-=this.injectionOptions[t].content.length,!iy(this.injectionOptions[t].cursorStops));)t--;return e}}if(1===t||4===t){let e=i.offsetInInputWithInjections+i.length,t=i.injectedTextIndex;for(;t+1=0&&this.injectionOffsets[t-1]===this.injectionOffsets[t];)e-=this.injectionOptions[t-1].content.length,t--;return e}(0,ib.vE)(t)}getInjectedText(e,t){let i=this.outputPositionToOffsetInInputWithInjections(e,t),n=this.getInjectedTextAtOffset(i);return n?{options:this.injectionOptions[n.injectedTextIndex]}:null}getInjectedTextAtOffset(e){let t=this.injectionOffsets,i=this.injectionOptions;if(null!==t){let n=0;for(let s=0;se)break;if(e<=l)return{injectedTextIndex:s,offsetInInputWithInjections:r,length:o};n+=o}}}}function iw(e){return null==e||e===tl.RM.Right||e===tl.RM.Both}function iy(e){return null==e||e===tl.RM.Left||e===tl.RM.Both}class iS{constructor(e,t){this.outputLineIndex=e,this.outputOffset=t}toString(){return`${this.outputLineIndex}:${this.outputOffset}`}toPosition(e){return new G.L(e+this.outputLineIndex,this.outputOffset+1)}}var iL=i(60646);let ik=(0,eG.Z)("domLineBreaksComputer",{createHTML:e=>e});class iD{static create(e){return new iD(new WeakRef(e))}constructor(e){this.targetWindow=e}createLineBreaksComputer(e,t,i,n,s){let o=[],r=[];return{addRequest:(e,t,i)=>{o.push(e),r.push(t)},finalize:()=>(function(e,t,i,n,s,o,r,l){var a;function d(e){let i=l[e];if(!i)return null;{let n=iL.gk.applyInjectedText(t[e],i),s=i.map(e=>e.options),o=i.map(e=>e.column-1);return new iC(o,s,[n.length],[],0)}}if(-1===s){let e=[];for(let i=0,n=t.length;ih?(r=0,a=0):d=h-e}}let u=s.substr(r),g=function(e,t,i,n,s,o){if(0!==o){let e=String(o);s.appendString('
    ');let r=e.length,l=t,a=0,d=[],h=[],u=0");for(let t=0;t"),d[t]=a,h[t]=l;let n=u;u=t+1"),d[e.length]=a,h[e.length]=l,s.appendString("
    "),[d,h]}(u,a,n,d,p,c);m[e]=r,f[e]=a,_[e]=u,b[e]=g[0],C[e]=g[1]}let w=p.build(),y=null!==(a=null==ik?void 0:ik.createHTML(w))&&void 0!==a?a:w;g.innerHTML=y,g.style.position="absolute",g.style.top="10000","keepAll"===r?(g.style.wordBreak="keep-all",g.style.overflowWrap="anywhere"):(g.style.wordBreak="inherit",g.style.overflowWrap="break-word"),e.document.body.appendChild(g);let S=document.createRange(),L=Array.prototype.slice.call(g.children,0),k=[];for(let e=0;e=Math.abs(o[0].top-l[0].top)))return;if(s+1===r){a.push(r);return}let d=s+(r-s)/2|0,h=ix(t,i,n[d],n[d+1]);e(t,i,n,s,o,d,h,a),e(t,i,n,d,h,r,l,a)}(e,s,n,0,null,i.length-1,null,o)}catch(e){return console.log(e),null}return 0===o.length?null:(o.push(i.length),o)}(S,n,_[e],b[e]);if(null===s){k[e]=d(e);continue}let o=m[e],r=f[e]+u,a=C[e],h=[];for(let e=0,t=s.length;ee.options),i=c.map(e=>e.column-1)):(t=null,i=null),k[e]=new iC(i,t,s,h,r)}return e.document.body.removeChild(g),k})((0,tf.cW)(this.targetWindow.deref()),o,e,t,i,n,s,r)}}}function ix(e,t,i,n){return e.setStart(t[i/16384|0].firstChild,i%16384),e.setEnd(t[n/16384|0].firstChild,n%16384),e.getClientRects()}class iN extends f.JT{constructor(){super(),this._editor=null,this._instantiationService=null,this._instances=this._register(new f.b2),this._pending=new Map,this._finishedInstantiation=[],this._finishedInstantiation[0]=!1,this._finishedInstantiation[1]=!1,this._finishedInstantiation[2]=!1,this._finishedInstantiation[3]=!1}initialize(e,t,i){for(let n of(this._editor=e,this._instantiationService=i,t)){if(this._pending.has(n.id)){(0,p.dL)(Error(`Cannot have two contributions with the same id ${n.id}`));continue}this._pending.set(n.id,n)}this._instantiateSome(0),this._register((0,g.se)((0,g.Jj)(this._editor.getDomNode()),()=>{this._instantiateSome(1)})),this._register((0,g.se)((0,g.Jj)(this._editor.getDomNode()),()=>{this._instantiateSome(2)})),this._register((0,g.se)((0,g.Jj)(this._editor.getDomNode()),()=>{this._instantiateSome(3)},5e3))}saveViewState(){let e={};for(let[t,i]of this._instances)"function"==typeof i.saveViewState&&(e[t]=i.saveViewState());return e}restoreViewState(e){for(let[t,i]of this._instances)"function"==typeof i.restoreViewState&&i.restoreViewState(e[t])}get(e){return this._instantiateById(e),this._instances.get(e)||null}onBeforeInteractionEvent(){this._instantiateSome(2)}onAfterModelAttached(){var e;return(0,g.se)((0,g.Jj)(null===(e=this._editor)||void 0===e?void 0:e.getDomNode()),()=>{this._instantiateSome(1)},50)}_instantiateSome(e){if(this._finishedInstantiation[e])return;this._finishedInstantiation[e]=!0;let t=this._findPendingContributionsByInstantiation(e);for(let e of t)this._instantiateById(e.id)}_findPendingContributionsByInstantiation(e){let t=[];for(let[,i]of this._pending)i.instantiation===e&&t.push(i);return t}_instantiateById(e){let t=this._pending.get(e);if(t){if(this._pending.delete(e),!this._instantiationService||!this._editor)throw Error("Cannot instantiate contributions before being initialized!");try{let e=this._instantiationService.createInstance(t.ctor,this._editor);this._instances.set(t.id,e),"function"==typeof e.restoreViewState&&0!==t.instantiation&&console.warn(`Editor contribution '${t.id}' should be eager instantiated because it uses saveViewState / restoreViewState.`)}catch(e){(0,p.dL)(e)}}}}var iE=i(42525),iI=i(20897),iT=i(25777),iM=i(73440),iR=i(32712),iA=i(66629),iP=i(64106),iO=i(32035);class iF{static create(e){return new iF(e.get(134),e.get(133))}constructor(e,t){this.classifier=new iB(e,t)}createLineBreaksComputer(e,t,i,n,s){let o=[],r=[],l=[];return{addRequest:(e,t,i)=>{o.push(e),r.push(t),l.push(i)},finalize:()=>{let a=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth,d=[];for(let e=0,h=o.length;e0?(a=i.map(e=>e.options),d=i.map(e=>e.column-1)):(a=null,d=null),-1===s)return a?new iC(d,a,[h.length],[],0):null;let u=h.length;if(u<=1)return a?new iC(d,a,[h.length],[],0):null;let c="keepAll"===l,g=iK(h,n,s,o,r),p=s-g,m=[],f=[],_=0,v=0,b=0,C=s,w=h.charCodeAt(0),y=e.get(w),S=iV(w,0,n,o),L=1;ex.ZG(w)&&(S+=1,w=h.charCodeAt(1),y=e.get(w),L++);for(let t=L;tC&&((0===v||S-b>p)&&(v=r,b=S-s),m[_]=v,f[_]=b,_++,C=b+p,v=0),w=l,y=i}return 0!==_||i&&0!==i.length?(m[_]=u,f[_]=S,new iC(d,a,m,f,g)):null}(this.classifier,o[e],h,t,i,a,n,s):d[e]=function(e,t,i,n,s,o,r,l){if(-1===s)return null;let a=i.length;if(a<=1)return null;let d="keepAll"===l,h=t.breakOffsets,u=t.breakOffsetsVisibleColumn,c=iK(i,n,s,o,r),g=s-c,p=iW,m=iH,f=0,_=0,v=0,b=s,C=h.length,w=0;{let e=Math.abs(u[w]-b);for(;w+1=e)break;e=t,w++}}for(;wt&&(t=_,s=v);let r=0,l=0,c=0,y=0;if(s<=b){let v=s,C=0===t?0:i.charCodeAt(t-1),w=0===t?0:e.get(C),S=!0;for(let s=t;s_&&iz(C,w,u,t,d)&&(r=h,l=v),(v+=a)>b){h>_?(c=h,y=v-a):(c=s+1,y=v),v-l>g&&(r=0),S=!1;break}C=u,w=t}if(S){f>0&&(p[f]=h[h.length-1],m[f]=u[h.length-1],f++);break}}if(0===r){let a=s,h=i.charCodeAt(t),u=e.get(h),p=!1;for(let n=t-1;n>=_;n--){let t,s;let m=n+1,f=i.charCodeAt(n);if(9===f){p=!0;break}if(ex.YK(f)?(n--,t=0,s=2):(t=e.get(f),s=ex.K7(f)?o:1),a<=b){if(0===c&&(c=m,y=a),a<=b-g)break;if(iz(f,t,h,u,d)){r=m,l=a;break}}a-=s,h=f,u=t}if(0!==r){let e=g-(y-l);if(e<=n){let t=i.charCodeAt(c);e-(ex.ZG(t)?2:iV(t,y,n,o))<0&&(r=0)}}if(p){w--;continue}}if(0===r&&(r=c,l=y),r<=_){let e=i.charCodeAt(_);ex.ZG(e)?(r=_+2,l=v+2):(r=_+1,l=v+iV(e,v,n,o))}for(_=r,p[f]=r,v=l,m[f]=l,f++,b=l+g;w<0||w=S)break;S=e,w++}}return 0===f?null:(p.length=f,m.length=f,iW=t.breakOffsets,iH=t.breakOffsetsVisibleColumn,t.breakOffsets=p,t.breakOffsetsVisibleColumn=m,t.wrappedTextIndentLength=c,t)}(this.classifier,u,o[e],t,i,a,n,s)}return iW.length=0,iH.length=0,d}}}}class iB extends iO.N{constructor(e,t){super(0);for(let t=0;t=0&&e<256?this._asciiMap[e]:e>=12352&&e<=12543||e>=13312&&e<=19903||e>=19968&&e<=40959?3:this._map.get(e)||this._defaultValue}}let iW=[],iH=[];function iV(e,t,i,n){return 9===e?i-t%i:ex.K7(e)||e<32?n:1}function iz(e,t,i,n,s){return 32!==i&&(2===t&&2!==n||1!==t&&1===n||!s&&3===t&&2!==n||!s&&3===n&&1!==t)}function iK(e,t,i,n,s){let o=0;if(0!==s){let r=ex.LC(e);if(-1!==r){for(let i=0;ii&&(o=0)}}return o}var iU=i(70365),i$=i(2474);class iq{constructor(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new i$.rS(new Q.e(1,1,1,1),0,0,new G.L(1,1),0),new i$.rS(new Q.e(1,1,1,1),0,0,new G.L(1,1),0))}dispose(e){this._removeTrackedRange(e)}startTrackingSelection(e){this._trackSelection=!0,this._updateTrackedRange(e)}stopTrackingSelection(e){this._trackSelection=!1,this._removeTrackedRange(e)}_updateTrackedRange(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))}_removeTrackedRange(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)}asCursorState(){return new i$.Vi(this.modelState,this.viewState)}readSelectionFromMarkers(e){let t=e.model._getTrackedRange(this._selTrackedRange);return this.modelState.selection.isEmpty()&&!t.isEmpty()?em.Y.fromRange(t.collapseToEnd(),this.modelState.selection.getDirection()):em.Y.fromRange(t,this.modelState.selection.getDirection())}ensureValidState(e){this._setState(e,this.modelState,this.viewState)}setState(e,t,i){this._setState(e,t,i)}static _validatePositionWithCache(e,t,i,n){return t.equals(i)?n:e.normalizePosition(t,2)}static _validateViewState(e,t){let i=t.position,n=t.selectionStart.getStartPosition(),s=t.selectionStart.getEndPosition(),o=e.normalizePosition(i,2),r=this._validatePositionWithCache(e,n,i,o),l=this._validatePositionWithCache(e,s,n,r);return i.equals(o)&&n.equals(r)&&s.equals(l)?t:new i$.rS(Q.e.fromPositions(r,l),t.selectionStartKind,t.selectionStartLeftoverVisibleColumns+n.column-r.column,o,t.leftoverVisibleColumns+i.column-o.column)}_setState(e,t,i){if(i&&(i=iq._validateViewState(e.viewModel,i)),t){let i=e.model.validateRange(t.selectionStart),n=t.selectionStart.equalsRange(i)?t.selectionStartLeftoverVisibleColumns:0,s=e.model.validatePosition(t.position),o=t.position.equals(s)?t.leftoverVisibleColumns:0;t=new i$.rS(i,t.selectionStartKind,n,s,o)}else{if(!i)return;let n=e.model.validateRange(e.coordinatesConverter.convertViewRangeToModelRange(i.selectionStart)),s=e.model.validatePosition(e.coordinatesConverter.convertViewPositionToModelPosition(i.position));t=new i$.rS(n,i.selectionStartKind,i.selectionStartLeftoverVisibleColumns,s,i.leftoverVisibleColumns)}if(i){let n=e.coordinatesConverter.validateViewRange(i.selectionStart,t.selectionStart),s=e.coordinatesConverter.validateViewPosition(i.position,t.position);i=new i$.rS(n,t.selectionStartKind,t.selectionStartLeftoverVisibleColumns,s,t.leftoverVisibleColumns)}else{let n=e.coordinatesConverter.convertModelPositionToViewPosition(new G.L(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),s=e.coordinatesConverter.convertModelPositionToViewPosition(new G.L(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),o=new Q.e(n.lineNumber,n.column,s.lineNumber,s.column),r=e.coordinatesConverter.convertModelPositionToViewPosition(t.position);i=new i$.rS(o,t.selectionStartKind,t.selectionStartLeftoverVisibleColumns,r,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=i,this._updateTrackedRange(e)}}class ij{constructor(e){this.context=e,this.cursors=[new iq(e)],this.lastAddedCursorIndex=0}dispose(){for(let e of this.cursors)e.dispose(this.context)}startTrackingSelections(){for(let e of this.cursors)e.startTrackingSelection(this.context)}stopTrackingSelections(){for(let e of this.cursors)e.stopTrackingSelection(this.context)}updateContext(e){this.context=e}ensureValidState(){for(let e of this.cursors)e.ensureValidState(this.context)}readSelectionFromMarkers(){return this.cursors.map(e=>e.readSelectionFromMarkers(this.context))}getAll(){return this.cursors.map(e=>e.asCursorState())}getViewPositions(){return this.cursors.map(e=>e.viewState.position)}getTopMostViewPosition(){return(0,iU.vm)(this.cursors,(0,C.tT)(e=>e.viewState.position,G.L.compare)).viewState.position}getBottomMostViewPosition(){return(0,iU.BS)(this.cursors,(0,C.tT)(e=>e.viewState.position,G.L.compare)).viewState.position}getSelections(){return this.cursors.map(e=>e.modelState.selection)}getViewSelections(){return this.cursors.map(e=>e.viewState.selection)}setSelections(e){this.setStates(i$.Vi.fromModelSelections(e))}getPrimaryCursor(){return this.cursors[0].asCursorState()}setStates(e){null!==e&&(this.cursors[0].setState(this.context,e[0].modelState,e[0].viewState),this._setSecondaryStates(e.slice(1)))}_setSecondaryStates(e){let t=this.cursors.length-1,i=e.length;if(ti){let e=t-i;for(let t=0;t=e+1&&this.lastAddedCursorIndex--,this.cursors[e+1].dispose(this.context),this.cursors.splice(e+1,1)}normalize(){if(1===this.cursors.length)return;let e=this.cursors.slice(0),t=[];for(let i=0,n=e.length;ie.selection,Q.e.compareRangesUsingStarts));for(let i=0;il&&e.index--;e.splice(l,1),t.splice(r,1),this._removeSecondaryCursor(l-1),i--}}}}class iG{constructor(e,t,i,n){this._cursorContextBrand=void 0,this.model=e,this.viewModel=t,this.coordinatesConverter=i,this.cursorConfig=n}}var iQ=i(31768),iZ=i(73348);class iY{constructor(){this.type=0}}class iJ{constructor(){this.type=1}}class iX{constructor(e){this.type=2,this._source=e}hasChanged(e){return this._source.hasChanged(e)}}class i0{constructor(e,t,i){this.selections=e,this.modelSelections=t,this.reason=i,this.type=3}}class i1{constructor(e){this.type=4,e?(this.affectsMinimap=e.affectsMinimap,this.affectsOverviewRuler=e.affectsOverviewRuler,this.affectsGlyphMargin=e.affectsGlyphMargin,this.affectsLineNumber=e.affectsLineNumber):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0,this.affectsGlyphMargin=!0,this.affectsLineNumber=!0)}}class i2{constructor(){this.type=5}}class i4{constructor(e){this.type=6,this.isFocused=e}}class i5{constructor(){this.type=7}}class i3{constructor(){this.type=8}}class i7{constructor(e,t){this.fromLineNumber=e,this.count=t,this.type=9}}class i8{constructor(e,t){this.type=10,this.fromLineNumber=e,this.toLineNumber=t}}class i6{constructor(e,t){this.type=11,this.fromLineNumber=e,this.toLineNumber=t}}class i9{constructor(e,t,i,n,s,o,r){this.source=e,this.minimalReveal=t,this.range=i,this.selections=n,this.verticalType=s,this.revealHorizontal=o,this.scrollType=r,this.type=12}}class ne{constructor(e){this.type=13,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged}}class nt{constructor(e){this.theme=e,this.type=14}}class ni{constructor(e){this.type=15,this.ranges=e}}class nn{constructor(){this.type=16}}class ns{constructor(){this.type=17}}class no extends f.JT{constructor(){super(),this._onEvent=this._register(new m.Q5),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(e){this._addOutgoingEvent(e),this._emitOutgoingEvents()}_addOutgoingEvent(e){for(let t=0,i=this._outgoingEvents.length;t0;){if(this._collector||this._isConsumingViewEventQueue)return;let e=this._outgoingEvents.shift();e.isNoOp()||this._onEvent.fire(e)}}addViewEventHandler(e){for(let t=0,i=this._eventHandlers.length;t0&&this._emitMany(t)}this._emitOutgoingEvents()}emitSingleViewEvent(e){try{let t=this.beginEmitViewEvents();t.emitViewEvent(e)}finally{this.endEmitViewEvents()}}_emitMany(e){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(e):this._viewEventQueue=e,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){for(;this._viewEventQueue;){let e=this._viewEventQueue;this._viewEventQueue=null;let t=this._eventHandlers.slice(0);for(let i of t)i.handleEvents(e)}}}class nr{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(e){this.viewEvents.push(e)}emitOutgoingEvent(e){this.outgoingEvents.push(e)}}class nl{constructor(e,t,i,n){this.kind=0,this._oldContentWidth=e,this._oldContentHeight=t,this.contentWidth=i,this.contentHeight=n,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}attemptToMerge(e){return e.kind!==this.kind?null:new nl(this._oldContentWidth,this._oldContentHeight,e.contentWidth,e.contentHeight)}}class na{constructor(e,t){this.kind=1,this.oldHasFocus=e,this.hasFocus=t}isNoOp(){return this.oldHasFocus===this.hasFocus}attemptToMerge(e){return e.kind!==this.kind?null:new na(this.oldHasFocus,e.hasFocus)}}class nd{constructor(e,t,i,n,s,o,r,l){this.kind=2,this._oldScrollWidth=e,this._oldScrollLeft=t,this._oldScrollHeight=i,this._oldScrollTop=n,this.scrollWidth=s,this.scrollLeft=o,this.scrollHeight=r,this.scrollTop=l,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!this.scrollWidthChanged&&!this.scrollLeftChanged&&!this.scrollHeightChanged&&!this.scrollTopChanged}attemptToMerge(e){return e.kind!==this.kind?null:new nd(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop)}}class nh{constructor(){this.kind=3}isNoOp(){return!1}attemptToMerge(e){return e.kind!==this.kind?null:this}}class nu{constructor(){this.kind=4}isNoOp(){return!1}attemptToMerge(e){return e.kind!==this.kind?null:this}}class nc{constructor(e,t,i,n,s,o,r){this.kind=6,this.oldSelections=e,this.selections=t,this.oldModelVersionId=i,this.modelVersionId=n,this.source=s,this.reason=o,this.reachedMaxCursorCount=r}static _selectionsAreEqual(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;let i=e.length,n=t.length;if(i!==n)return!1;for(let n=0;n0){let e=this._cursors.getSelections();for(let t=0;to&&(n=n.slice(0,o),s=!0);let r=nw.from(this._model,this);return this._cursors.setStates(n),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,t,i,r,s)}setCursorColumnSelectData(e){this._columnSelectData=e}revealAll(e,t,i,n,s,o){let r=this._cursors.getViewPositions(),l=null,a=null;r.length>1?a=this._cursors.getViewSelections():l=Q.e.fromPositions(r[0],r[0]),e.emitViewEvent(new i9(t,i,l,a,n,s,o))}revealPrimary(e,t,i,n,s,o){let r=this._cursors.getPrimaryCursor(),l=[r.viewState.selection];e.emitViewEvent(new i9(t,i,null,l,n,s,o))}saveState(){let e=[],t=this._cursors.getSelections();for(let i=0,n=t.length;i0){let t=i$.Vi.fromModelSelections(i.resultingSelection);this.setStates(e,"modelChange",i.isUndoing?5:i.isRedoing?6:2,t)&&this.revealAll(e,"modelChange",!1,0,!0,0)}else{let t=this._cursors.readSelectionFromMarkers();this.setStates(e,"modelChange",2,i$.Vi.fromModelSelections(t))}}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;let e=this._cursors.getPrimaryCursor(),t=e.viewState.selectionStart.getStartPosition(),i=e.viewState.position;return{isReal:!1,fromViewLineNumber:t.lineNumber,fromViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,t),toViewLineNumber:i.lineNumber,toViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,i)}}getSelections(){return this._cursors.getSelections()}setSelections(e,t,i,n){this.setStates(e,t,n,i$.Vi.fromModelSelections(i))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(e){this._prevEditOperationType=e}_pushAutoClosedAction(e,t){let i=[],n=[];for(let s=0,o=e.length;s0&&this._pushAutoClosedAction(i,n),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()}_emitStateChangedIfNecessary(e,t,i,n,s){let o=nw.from(this._model,this);if(o.equals(n))return!1;let r=this._cursors.getSelections(),l=this._cursors.getViewSelections();if(e.emitViewEvent(new i0(l,r,i)),!n||n.cursorState.length!==o.cursorState.length||o.cursorState.some((e,t)=>!e.modelState.equals(n.cursorState[t].modelState))){let l=n?n.cursorState.map(e=>e.modelState.selection):null,a=n?n.modelVersionId:0;e.emitOutgoingEvent(new nc(l,r,a,o.modelVersionId,t||"keyboard",i,s))}return!0}_findAutoClosingPairs(e){if(!e.length)return null;let t=[];for(let i=0,n=e.length;i=0)return null;let s=n.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!s)return null;let o=s[1],r=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(o);if(!r||1!==r.length)return null;let l=r[0].open,a=n.text.length-s[2].length-1,d=n.text.lastIndexOf(l,a-1);if(-1===d)return null;t.push([d,a])}return t}executeEdits(e,t,i,n){let s=null;"snippet"===t&&(s=this._findAutoClosingPairs(i)),s&&(i[0]._isTracked=!0);let o=[],r=[],l=this._model.pushEditOperations(this.getSelections(),i,e=>{if(s)for(let t=0,i=s.length;t0&&this._pushAutoClosedAction(o,r)}_executeEdit(e,t,i,n=0){if(this.context.cursorConfig.readOnly)return;let s=nw.from(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),e()}catch(e){(0,p.dL)(e)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,i,n,s,!1)&&this.revealAll(t,i,!1,0,!0,0)}getAutoClosedCharacters(){return ny.getAllAutoClosedCharacters(this._autoClosedActions)}startComposition(e){this._compositionState=new nk(this._model,this.getSelections())}endComposition(e,t){let i=this._compositionState?this._compositionState.deduceOutcome(this._model,this.getSelections()):null;this._compositionState=null,this._executeEdit(()=>{"keyboard"===t&&this._executeEditOperation(iZ.u6.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,i,this.getSelections(),this.getAutoClosedCharacters()))},e,t)}type(e,t,i){this._executeEdit(()=>{if("keyboard"===i){let e=t.length,i=0;for(;i{let t=e.getPosition();return new em.Y(t.lineNumber,t.column+s,t.lineNumber,t.column+s)});this.setSelections(e,o,t,0)}return}this._executeEdit(()=>{this._executeEditOperation(iZ.u6.compositionType(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t,i,n,s))},e,o)}paste(e,t,i,n,s){this._executeEdit(()=>{this._executeEditOperation(iZ.u6.paste(this.context.cursorConfig,this._model,this.getSelections(),t,i,n||[]))},e,s,4)}cut(e,t){this._executeEdit(()=>{this._executeEditOperation(iQ.A.cut(this.context.cursorConfig,this._model,this.getSelections()))},e,t)}executeCommand(e,t,i){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new i$.Tp(0,[t],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,i)}executeCommands(e,t,i){this._executeEdit(()=>{this._executeEditOperation(new i$.Tp(0,t,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,i)}}class nw{static from(e,t){return new nw(e.getVersionId(),t.getCursorStates())}constructor(e,t){this.modelVersionId=e,this.cursorState=t}equals(e){if(!e||this.modelVersionId!==e.modelVersionId||this.cursorState.length!==e.cursorState.length)return!1;for(let t=0,i=this.cursorState.length;t=t.length||!t[i].strictContainsRange(e[i]))return!1;return!0}}class nS{static executeCommands(e,t,i){let n={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},s=this._innerExecuteCommands(n,i);for(let e=0,t=n.trackedRanges.length;e0&&(o[0]._isTracked=!0);let r=e.model.pushEditOperations(e.selectionsBefore,o,i=>{let n=[];for(let t=0;te.identifier.minor-t.identifier.minor,o=[];for(let i=0;i0?(n[i].sort(s),o[i]=t[i].computeCursorState(e.model,{getInverseEditOperations:()=>n[i],getTrackedSelection:t=>{let i=parseInt(t,10),n=e.model._getTrackedRange(e.trackedRanges[i]);return 0===e.trackedRangesDirection[i]?new em.Y(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):new em.Y(n.endLineNumber,n.endColumn,n.startLineNumber,n.startColumn)}})):o[i]=e.selectionsBefore[i];return o});r||(r=e.selectionsBefore);let l=[];for(let e in s)s.hasOwnProperty(e)&&l.push(parseInt(e,10));for(let e of(l.sort((e,t)=>t-e),l))r.splice(e,1);return r}static _arrayIsEmpty(e){for(let t=0,i=e.length;t{Q.e.isEmpty(e)&&""===o||n.push({identifier:{major:t,minor:s++},range:e,text:o,forceMoveMarkers:r,isAutoWhitespaceEdit:i.insertsAutoWhitespace})},r=!1;try{i.getEditOperations(e.model,{addEditOperation:o,addTrackedEditOperation:(e,t,i)=>{r=!0,o(e,t,i)},trackSelection:(t,i)=>{let n;let s=em.Y.liftSelection(t);if(s.isEmpty()){if("boolean"==typeof i)n=i?2:3;else{let t=e.model.getLineMaxColumn(s.startLineNumber);n=s.startColumn===t?2:3}}else n=1;let o=e.trackedRanges.length,r=e.model._setTrackedRange(null,s,n);return e.trackedRanges[o]=r,e.trackedRangesDirection[o]=s.getDirection(),o.toString()}})}catch(e){return(0,p.dL)(e),{operations:[],hadTrackedEditOperation:!1}}return{operations:n,hadTrackedEditOperation:r}}static _getLoserCursorMap(e){(e=e.slice(0)).sort((e,t)=>-Q.e.compareRangesUsingEnds(e.range,t.range));let t={};for(let i=1;is.identifier.major?n.identifier.major:s.identifier.major).toString()]=!0;for(let t=0;t0&&i--}}return t}}class nL{constructor(e,t,i){this.text=e,this.startSelection=t,this.endSelection=i}}class nk{static _capture(e,t){let i=[];for(let n of t){if(n.startLineNumber!==n.endLineNumber)return null;i.push(new nL(e.getLineContent(n.startLineNumber),n.startColumn-1,n.endColumn-1))}return i}constructor(e,t){this._original=nk._capture(e,t)}deduceOutcome(e,t){if(!this._original)return null;let i=nk._capture(e,t);if(!i||this._original.length!==i.length)return null;let n=[];for(let e=0,t=this._original.length;e>>1;t===e[o].afterLineNumber?i{t=!0,e|=0,i|=0,n|=0,s|=0;let o=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new nI(o,e,i,n,s)),o},changeOneWhitespace:(e,i,n)=>{t=!0,i|=0,n|=0,this._pendingChanges.change({id:e,newAfterLineNumber:i,newHeight:n})},removeWhitespace:e=>{t=!0,this._pendingChanges.remove({id:e})}};e(i)}finally{this._pendingChanges.commit(this)}return t}_commitPendingChanges(e,t,i){if((e.length>0||i.length>0)&&(this._minWidth=-1),e.length+t.length+i.length<=1){for(let t of e)this._insertWhitespace(t);for(let e of t)this._changeOneWhitespace(e.id,e.newAfterLineNumber,e.newHeight);for(let e of i){let t=this._findWhitespaceIndex(e.id);-1!==t&&this._removeWhitespace(t)}return}let n=new Set;for(let e of i)n.add(e.id);let s=new Map;for(let e of t)s.set(e.id,e);let o=e=>{let t=[];for(let i of e)if(!n.has(i.id)){if(s.has(i.id)){let e=s.get(i.id);i.afterLineNumber=e.newAfterLineNumber,i.height=e.newHeight}t.push(i)}return t},r=o(this._arr).concat(o(e));r.sort((e,t)=>e.afterLineNumber===t.afterLineNumber?e.ordinal-t.ordinal:e.afterLineNumber-t.afterLineNumber),this._arr=r,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(e){let t=nT.findInsertionIndex(this._arr,e.afterLineNumber,e.ordinal);this._arr.splice(t,0,e),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)}_findWhitespaceIndex(e){let t=this._arr;for(let i=0,n=t.length;it&&(this._arr[i].afterLineNumber-=t-e+1)}}onLinesInserted(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount+=t-e+1;for(let i=0,n=this._arr.length;i=t.length||t[r+1].afterLineNumber>=e)return r;i=r+1|0}else n=r-1|0}return -1}_findFirstWhitespaceAfterLineNumber(e){e|=0;let t=this._findLastWhitespaceBeforeLineNumber(e),i=t+1;return i1?this._lineHeight*(e-1):0;let n=this.getWhitespaceAccumulatedHeightBeforeLineNumber(e-(t?1:0));return i+n+this._paddingTop}getVerticalOffsetAfterLineNumber(e,t=!1){this._checkPendingChanges(),e|=0;let i=this._lineHeight*e,n=this.getWhitespaceAccumulatedHeightBeforeLineNumber(e+(t?1:0));return i+n+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),-1===this._minWidth){let e=0;for(let t=0,i=this._arr.length;tt}isInTopPadding(e){return 0!==this._paddingTop&&(this._checkPendingChanges(),e=t-this._paddingBottom}getLineNumberAtOrAfterVerticalOffset(e){if(this._checkPendingChanges(),(e|=0)<0)return 1;let t=0|this._lineCount,i=this._lineHeight,n=1,s=t;for(;n=o+i)n=t+1;else{if(e>=o)return t;s=t}}return n>t?t:n}getLinesViewportData(e,t){let i,n;this._checkPendingChanges(),e|=0,t|=0;let s=this._lineHeight,o=0|this.getLineNumberAtOrAfterVerticalOffset(e),r=0|this.getVerticalOffsetForLineNumber(o),l=0|this._lineCount,a=0|this.getFirstWhitespaceIndexAfterLineNumber(o),d=0|this.getWhitespacesCount();-1===a?(a=d,n=l+1,i=0):(n=0|this.getAfterLineNumberForWhitespaceIndex(a),i=0|this.getHeightForWhitespaceIndex(a));let h=r,u=h,c=0;r>=5e5&&(u-=c=Math.floor((c=5e5*Math.floor(r/5e5))/s)*s);let g=[],p=e+(t-e)/2,m=-1;for(let e=o;e<=l;e++){if(-1===m){let t=h,i=h+s;(t<=p&&pp)&&(m=e)}for(h+=s,g[e-o]=u,u+=s;n===e;)u+=i,h+=i,++a>=d?n=l+1:(n=0|this.getAfterLineNumberForWhitespaceIndex(a),i=0|this.getHeightForWhitespaceIndex(a));if(h>=t){l=e;break}}-1===m&&(m=l);let f=0|this.getVerticalOffsetForLineNumber(l),_=o,v=l;return _t&&v--,{bigNumbersDelta:c,startLineNumber:o,endLineNumber:l,relativeVerticalOffset:g,centeredLineNumber:m,completelyVisibleStartLineNumber:_,completelyVisibleEndLineNumber:v,lineHeight:this._lineHeight}}getVerticalOffsetForWhitespaceIndex(e){this._checkPendingChanges(),e|=0;let t=this.getAfterLineNumberForWhitespaceIndex(e);return(t>=1?this._lineHeight*t:0)+(e>0?this.getWhitespacesAccumulatedHeight(e-1):0)+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(e){this._checkPendingChanges(),e|=0;let t=0,i=this.getWhitespacesCount()-1;if(i<0)return -1;let n=this.getVerticalOffsetForWhitespaceIndex(i),s=this.getHeightForWhitespaceIndex(i);if(e>=n+s)return -1;for(;t=s+o)t=n+1;else{if(e>=s)return n;i=n}}return t}getWhitespaceAtVerticalOffset(e){this._checkPendingChanges(),e|=0;let t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0||t>=this.getWhitespacesCount())return null;let i=this.getVerticalOffsetForWhitespaceIndex(t);if(i>e)return null;let n=this.getHeightForWhitespaceIndex(t),s=this.getIdForWhitespaceIndex(t),o=this.getAfterLineNumberForWhitespaceIndex(t);return{id:s,afterLineNumber:o,verticalOffset:i,height:n}}getWhitespaceViewportData(e,t){this._checkPendingChanges(),e|=0,t|=0;let i=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),n=this.getWhitespacesCount()-1;if(i<0)return[];let s=[];for(let e=i;e<=n;e++){let i=this.getVerticalOffsetForWhitespaceIndex(e),n=this.getHeightForWhitespaceIndex(e);if(i>=t)break;s.push({id:this.getIdForWhitespaceIndex(e),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(e),verticalOffset:i,height:n})}return s}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].id}getAfterLineNumberForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].afterLineNumber}getHeightForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].height}}nT.INSTANCE_COUNT=0;class nM{constructor(e,t,i,n){(e|=0)<0&&(e=0),(t|=0)<0&&(t=0),(i|=0)<0&&(i=0),(n|=0)<0&&(n=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=i,this.contentHeight=n,this.scrollHeight=Math.max(i,n)}equals(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight}}class nR extends f.JT{constructor(e,t){super(),this._onDidContentSizeChange=this._register(new m.Q5),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._dimensions=new nM(0,0,0,0),this._scrollable=this._register(new nN.Rm({forceIntegerValues:!0,smoothScrollDuration:e,scheduleAtNextAnimationFrame:t})),this.onDidScroll=this._scrollable.onScroll}getScrollable(){return this._scrollable}setSmoothScrollDuration(e){this._scrollable.setSmoothScrollDuration(e)}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}getScrollDimensions(){return this._dimensions}setScrollDimensions(e){if(this._dimensions.equals(e))return;let t=this._dimensions;this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight},!0);let i=t.contentWidth!==e.contentWidth,n=t.contentHeight!==e.contentHeight;(i||n)&&this._onDidContentSizeChange.fire(new nl(t.contentWidth,t.contentHeight,e.contentWidth,e.contentHeight))}getFutureScrollPosition(){return this._scrollable.getFutureScrollPosition()}getCurrentScrollPosition(){return this._scrollable.getCurrentScrollPosition()}setScrollPositionNow(e){this._scrollable.setScrollPositionNow(e)}setScrollPositionSmooth(e){this._scrollable.setScrollPositionSmooth(e)}hasPendingScrollAnimation(){return this._scrollable.hasPendingScrollAnimation()}}class nA extends f.JT{constructor(e,t,i){super(),this._configuration=e;let n=this._configuration.options,s=n.get(145),o=n.get(84);this._linesLayout=new nT(t,n.get(67),o.top,o.bottom),this._maxLineWidth=0,this._overlayWidgetsMinWidth=0,this._scrollable=this._register(new nR(0,i)),this._configureSmoothScrollDuration(),this._scrollable.setScrollDimensions(new nM(s.contentWidth,0,s.height,0)),this.onDidScroll=this._scrollable.onDidScroll,this.onDidContentSizeChange=this._scrollable.onDidContentSizeChange,this._updateHeight()}dispose(){super.dispose()}getScrollable(){return this._scrollable.getScrollable()}onHeightMaybeChanged(){this._updateHeight()}_configureSmoothScrollDuration(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(114)?125:0)}onConfigurationChanged(e){let t=this._configuration.options;if(e.hasChanged(67)&&this._linesLayout.setLineHeight(t.get(67)),e.hasChanged(84)){let e=t.get(84);this._linesLayout.setPadding(e.top,e.bottom)}if(e.hasChanged(145)){let e=t.get(145),i=e.contentWidth,n=e.height,s=this._scrollable.getScrollDimensions(),o=s.contentWidth;this._scrollable.setScrollDimensions(new nM(i,s.contentWidth,n,this._getContentHeight(i,n,o)))}else this._updateHeight();e.hasChanged(114)&&this._configureSmoothScrollDuration()}onFlushed(e){this._linesLayout.onFlushed(e)}onLinesDeleted(e,t){this._linesLayout.onLinesDeleted(e,t)}onLinesInserted(e,t){this._linesLayout.onLinesInserted(e,t)}_getHorizontalScrollbarHeight(e,t){let i=this._configuration.options,n=i.get(103);return 2===n.horizontal||e>=t?0:n.horizontalScrollbarSize}_getContentHeight(e,t,i){let n=this._configuration.options,s=this._linesLayout.getLinesTotalHeight();return n.get(105)?s+=Math.max(0,t-n.get(67)-n.get(84).bottom):n.get(103).ignoreHorizontalScrollbarInContentHeight||(s+=this._getHorizontalScrollbarHeight(e,i)),s}_updateHeight(){let e=this._scrollable.getScrollDimensions(),t=e.width,i=e.height,n=e.contentWidth;this._scrollable.setScrollDimensions(new nM(t,e.contentWidth,i,this._getContentHeight(t,i,n)))}getCurrentViewport(){let e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new tM.l_(t.scrollTop,t.scrollLeft,e.width,e.height)}getFutureViewport(){let e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new tM.l_(t.scrollTop,t.scrollLeft,e.width,e.height)}_computeContentWidth(){let e=this._configuration.options,t=this._maxLineWidth,i=e.get(146),n=e.get(50),s=e.get(145);if(i.isViewportWrapping){let i=e.get(73);return t>s.contentWidth+n.typicalHalfwidthCharacterWidth&&i.enabled&&"right"===i.side?t+s.verticalScrollbarWidth:t}{let i=e.get(104)*n.typicalHalfwidthCharacterWidth,o=this._linesLayout.getWhitespaceMinWidth();return Math.max(t+i+s.verticalScrollbarWidth,o,this._overlayWidgetsMinWidth)}}setMaxLineWidth(e){this._maxLineWidth=e,this._updateContentWidth()}setOverlayWidgetsMinWidth(e){this._overlayWidgetsMinWidth=e,this._updateContentWidth()}_updateContentWidth(){let e=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new nM(e.width,this._computeContentWidth(),e.height,e.contentHeight)),this._updateHeight()}saveState(){let e=this._scrollable.getFutureScrollPosition(),t=e.scrollTop,i=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t),n=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(i);return{scrollTop:t,scrollTopWithoutViewZones:t-n,scrollLeft:e.scrollLeft}}changeWhitespace(e){let t=this._linesLayout.changeWhitespace(e);return t&&this.onHeightMaybeChanged(),t}getVerticalOffsetForLineNumber(e,t=!1){return this._linesLayout.getVerticalOffsetForLineNumber(e,t)}getVerticalOffsetAfterLineNumber(e,t=!1){return this._linesLayout.getVerticalOffsetAfterLineNumber(e,t)}isAfterLines(e){return this._linesLayout.isAfterLines(e)}isInTopPadding(e){return this._linesLayout.isInTopPadding(e)}isInBottomPadding(e){return this._linesLayout.isInBottomPadding(e)}getLineNumberAtVerticalOffset(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)}getWhitespaceAtVerticalOffset(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)}getLinesViewportData(){let e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)}getLinesViewportDataAtScrollTop(e){let t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)}getWhitespaceViewportData(){let e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){let e=this._scrollable.getScrollDimensions();return e.contentWidth}getScrollWidth(){let e=this._scrollable.getScrollDimensions();return e.scrollWidth}getContentHeight(){let e=this._scrollable.getScrollDimensions();return e.contentHeight}getScrollHeight(){let e=this._scrollable.getScrollDimensions();return e.scrollHeight}getCurrentScrollLeft(){let e=this._scrollable.getCurrentScrollPosition();return e.scrollLeft}getCurrentScrollTop(){let e=this._scrollable.getCurrentScrollPosition();return e.scrollTop}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}setScrollPosition(e,t){1===t?this._scrollable.setScrollPositionNow(e):this._scrollable.setScrollPositionSmooth(e)}hasPendingScrollAnimation(){return this._scrollable.hasPendingScrollAnimation()}deltaScrollNow(e,t){let i=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:i.scrollLeft+e,scrollTop:i.scrollTop+t})}}var nP=i(60699),nO=i(94458);function nF(e,t){return null!==e?new nB(e,t):t?nW.INSTANCE:nH.INSTANCE}class nB{constructor(e,t){this._projectionData=e,this._isVisible=t}isVisible(){return this._isVisible}setVisible(e){return this._isVisible=e,this}getProjectionData(){return this._projectionData}getViewLineCount(){return this._isVisible?this._projectionData.getOutputLineCount():0}getViewLineContent(e,t,i){let n;this._assertVisible();let s=i>0?this._projectionData.breakOffsets[i-1]:0,o=this._projectionData.breakOffsets[i];if(null!==this._projectionData.injectionOffsets){let i=this._projectionData.injectionOffsets.map((e,t)=>new iL.gk(0,0,e+1,this._projectionData.injectionOptions[t],0)),r=iL.gk.applyInjectedText(e.getLineContent(t),i);n=r.substring(s,o)}else n=e.getValueInRange({startLineNumber:t,startColumn:s+1,endLineNumber:t,endColumn:o+1});return i>0&&(n=nz(this._projectionData.wrappedTextIndentLength)+n),n}getViewLineLength(e,t,i){return this._assertVisible(),this._projectionData.getLineLength(i)}getViewLineMinColumn(e,t,i){return this._assertVisible(),this._projectionData.getMinOutputOffset(i)+1}getViewLineMaxColumn(e,t,i){return this._assertVisible(),this._projectionData.getMaxOutputOffset(i)+1}getViewLineData(e,t,i){let n=[];return this.getViewLinesData(e,t,i,1,0,[!0],n),n[0]}getViewLinesData(e,t,i,n,s,o,r){let l;this._assertVisible();let a=this._projectionData,d=a.injectionOffsets,h=a.injectionOptions,u=null;if(d){u=[];let e=0,t=0;for(let i=0;i0?a.breakOffsets[i-1]:0,o=a.breakOffsets[i];for(;to)break;if(s0?a.wrappedTextIndentLength:0,r=t+Math.max(l-s,0),d=t+Math.min(u-s,o-s);r!==d&&n.push(new tM.Wx(r,d,e.inlineClassName,e.inlineClassNameAffectsLetterSpacing))}}if(u<=o)e+=r,t++;else break}}}l=d?e.tokenization.getLineTokens(t).withInserted(d.map((e,t)=>({offset:e,text:h[t].content,tokenMetadata:nO.A.defaultTokenMetadata}))):e.tokenization.getLineTokens(t);for(let e=i;e0?n.wrappedTextIndentLength:0,o=i>0?n.breakOffsets[i-1]:0,r=n.breakOffsets[i],l=e.sliceAndInflate(o,r,s),a=l.getLineContent();i>0&&(a=nz(n.wrappedTextIndentLength)+a);let d=this._projectionData.getMinOutputOffset(i)+1,h=a.length+1,u=i+1=nV.length)for(let t=1;t<=e;t++)nV[t]=Array(t+1).join(" ");return nV[e]}var nK=i(83591);class nU{constructor(e,t,i,n,s,o,r,l,a,d){this._editorId=e,this.model=t,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=i,this._monospaceLineBreaksComputerFactory=n,this.fontInfo=s,this.tabSize=o,this.wrappingStrategy=r,this.wrappingColumn=l,this.wrappingIndent=a,this.wordBreak=d,this._constructLines(!0,null)}dispose(){this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[])}createCoordinatesConverter(){return new nj(this)}_constructLines(e,t){this.modelLineProjections=[],e&&(this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[]));let i=this.model.getLinesContent(),n=this.model.getInjectedTextDecorations(this._editorId),s=i.length,o=this.createLineBreaksComputer(),r=new C.H9(iL.gk.fromDecorations(n));for(let e=0;et.lineNumber===e+1);o.addRequest(i[e],n,t?t[e]:null)}let l=o.finalize(),a=[],d=this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e)).sort(Q.e.compareRangesUsingStarts),h=1,u=0,c=-1,g=0=h&&t<=u,n=nF(l[e],!i);a[e]=n.getViewLineCount(),this.modelLineProjections[e]=n}this._validModelVersionId=this.model.getVersionId(),this.projectedModelLineLineCounts=new nK.Ck(a)}getHiddenAreas(){return this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e))}setHiddenAreas(e){let t=e.map(e=>this.model.validateRange(e)),i=function(e){if(0===e.length)return[];let t=e.slice();t.sort(Q.e.compareRangesUsingStarts);let i=[],n=t[0].startLineNumber,s=t[0].endLineNumber;for(let e=1,o=t.length;es+1?(i.push(new Q.e(n,1,s,1)),n=o.startLineNumber,s=o.endLineNumber):o.endLineNumber>s&&(s=o.endLineNumber)}return i.push(new Q.e(n,1,s,1)),i}(t),n=this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e)).sort(Q.e.compareRangesUsingStarts);if(i.length===n.length){let e=!1;for(let t=0;t({range:e,options:iA.qx.EMPTY}));this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,s);let o=1,r=0,l=-1,a=0=o&&t<=r?this.modelLineProjections[e].isVisible()&&(this.modelLineProjections[e]=this.modelLineProjections[e].setVisible(!1),n=!0):(d=!0,this.modelLineProjections[e].isVisible()||(this.modelLineProjections[e]=this.modelLineProjections[e].setVisible(!0),n=!0)),n){let t=this.modelLineProjections[e].getViewLineCount();this.projectedModelLineLineCounts.setValue(e,t)}}return d||this.setHiddenAreas([]),!0}modelPositionIsVisible(e,t){return!(e<1)&&!(e>this.modelLineProjections.length)&&this.modelLineProjections[e-1].isVisible()}getModelLineViewLineCount(e){return e<1||e>this.modelLineProjections.length?1:this.modelLineProjections[e-1].getViewLineCount()}setTabSize(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)}setWrappingSettings(e,t,i,n,s){let o=this.fontInfo.equals(e),r=this.wrappingStrategy===t,l=this.wrappingColumn===i,a=this.wrappingIndent===n,d=this.wordBreak===s;if(o&&r&&l&&a&&d)return!1;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=i,this.wrappingIndent=n,this.wordBreak=s;let h=null;if(o&&r&&!l&&a&&d){h=[];for(let e=0,t=this.modelLineProjections.length;e2&&!this.modelLineProjections[t-2].isVisible(),o=1===t?1:this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,r=0,l=[],a=[];for(let e=0,t=n.length;el?(p=(g=(h=(d=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1)+l-1)+1)+(s-l)-1,a=!0):st?t:0|e}getActiveIndentGuide(e,t,i){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),i=this._toValidViewLineNumber(i);let n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),s=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),o=this.convertViewPositionToModelPosition(i,this.getViewLineMinColumn(i)),r=this.model.guides.getActiveIndentGuide(n.lineNumber,s.lineNumber,o.lineNumber),l=this.convertModelPositionToViewPosition(r.startLineNumber,1),a=this.convertModelPositionToViewPosition(r.endLineNumber,this.model.getLineMaxColumn(r.endLineNumber));return{startLineNumber:l.lineNumber,endLineNumber:a.lineNumber,indent:r.indent}}getViewLineInfo(e){e=this._toValidViewLineNumber(e);let t=this.projectedModelLineLineCounts.getIndexOf(e-1),i=t.index,n=t.remainder;return new n$(i+1,n)}getMinColumnOfViewLine(e){return this.modelLineProjections[e.modelLineNumber-1].getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx)}getMaxColumnOfViewLine(e){return this.modelLineProjections[e.modelLineNumber-1].getViewLineMaxColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx)}getModelStartPositionOfViewLine(e){let t=this.modelLineProjections[e.modelLineNumber-1],i=t.getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),n=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,i);return new G.L(e.modelLineNumber,n)}getModelEndPositionOfViewLine(e){let t=this.modelLineProjections[e.modelLineNumber-1],i=t.getViewLineMaxColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),n=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,i);return new G.L(e.modelLineNumber,n)}getViewLineInfosGroupedByModelRanges(e,t){let i=this.getViewLineInfo(e),n=this.getViewLineInfo(t),s=[],o=this.getModelStartPositionOfViewLine(i),r=[];for(let e=i.modelLineNumber;e<=n.modelLineNumber;e++){let t=this.modelLineProjections[e-1];if(t.isVisible()){let s=e===i.modelLineNumber?i.modelLineWrappedLineIdx:0,o=e===n.modelLineNumber?n.modelLineWrappedLineIdx+1:t.getViewLineCount();for(let t=s;t{if(-1!==e.forWrappedLinesAfterColumn){let t=this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.forWrappedLinesAfterColumn);if(t.lineNumber>=n.modelLineWrappedLineIdx)return}if(-1!==e.forWrappedLinesBeforeOrAtColumn){let t=this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.forWrappedLinesBeforeOrAtColumn);if(t.lineNumbern.modelLineWrappedLineIdx)return}let i=this.convertModelPositionToViewPosition(n.modelLineNumber,e.horizontalLine.endColumn),s=this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.horizontalLine.endColumn);return s.lineNumber===n.modelLineWrappedLineIdx?new tv.UO(e.visibleColumn,t,e.className,new tv.vW(e.horizontalLine.top,i.column),-1,-1):s.lineNumber!!e))}}return o}getViewLinesIndentGuides(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);let i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),n=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),s=[],o=[],r=[],l=i.lineNumber-1,a=n.lineNumber-1,d=null;for(let e=l;e<=a;e++){let t=this.modelLineProjections[e];if(t.isVisible()){let n=t.getViewLineNumberOfModelPosition(0,e===l?i.column:1),s=t.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(e+1)),a=s-n+1,h=0;a>1&&1===t.getViewLineMinColumn(this.model,e+1,s)&&(h=0===n?1:2),o.push(a),r.push(h),null===d&&(d=new G.L(e+1,0))}else null!==d&&(s=s.concat(this.model.guides.getLinesIndentGuides(d.lineNumber,e)),d=null)}null!==d&&(s=s.concat(this.model.guides.getLinesIndentGuides(d.lineNumber,n.lineNumber)),d=null);let h=t-e+1,u=Array(h),c=0;for(let e=0,t=s.length;et&&(u=!0,h=t-s+1),a.getViewLinesData(this.model,n+1,d,h,s-e,i,l),s+=h,u)break}return l}validateViewPosition(e,t,i){e=this._toValidViewLineNumber(e);let n=this.projectedModelLineLineCounts.getIndexOf(e-1),s=n.index,o=n.remainder,r=this.modelLineProjections[s],l=r.getViewLineMinColumn(this.model,s+1,o),a=r.getViewLineMaxColumn(this.model,s+1,o);ta&&(t=a);let d=r.getModelColumnOfViewPosition(o,t),h=this.model.validatePosition(new G.L(s+1,d));return h.equals(i)?new G.L(e,t):this.convertModelPositionToViewPosition(i.lineNumber,i.column)}validateViewRange(e,t){let i=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),n=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new Q.e(i.lineNumber,i.column,n.lineNumber,n.column)}convertViewPositionToModelPosition(e,t){let i=this.getViewLineInfo(e),n=this.modelLineProjections[i.modelLineNumber-1].getModelColumnOfViewPosition(i.modelLineWrappedLineIdx,t);return this.model.validatePosition(new G.L(i.modelLineNumber,n))}convertViewRangeToModelRange(e){let t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),i=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new Q.e(t.lineNumber,t.column,i.lineNumber,i.column)}convertModelPositionToViewPosition(e,t,i=2,n=!1,s=!1){let o=this.model.validatePosition(new G.L(e,t)),r=o.lineNumber,l=o.column,a=r-1,d=!1;if(s)for(;a0&&!this.modelLineProjections[a].isVisible();)a--,d=!0;if(0===a&&!this.modelLineProjections[a].isVisible())return new G.L(n?0:1,1);let h=1+this.projectedModelLineLineCounts.getPrefixSum(a);return d?s?this.modelLineProjections[a].getViewPositionOfModelPosition(h,1,i):this.modelLineProjections[a].getViewPositionOfModelPosition(h,this.model.getLineMaxColumn(a+1),i):this.modelLineProjections[r-1].getViewPositionOfModelPosition(h,l,i)}convertModelRangeToViewRange(e,t=0){if(e.isEmpty()){let i=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,t);return Q.e.fromPositions(i)}{let t=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,1),i=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn,0);return new Q.e(t.lineNumber,t.column,i.lineNumber,i.column)}}getViewLineNumberOfModelPosition(e,t){let i=e-1;if(this.modelLineProjections[i].isVisible()){let e=1+this.projectedModelLineLineCounts.getPrefixSum(i);return this.modelLineProjections[i].getViewLineNumberOfModelPosition(e,t)}for(;i>0&&!this.modelLineProjections[i].isVisible();)i--;if(0===i&&!this.modelLineProjections[i].isVisible())return 1;let n=1+this.projectedModelLineLineCounts.getPrefixSum(i);return this.modelLineProjections[i].getViewLineNumberOfModelPosition(n,this.model.getLineMaxColumn(i+1))}getDecorationsInRange(e,t,i,n,s){let o=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),r=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(r.lineNumber-o.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new Q.e(o.lineNumber,1,r.lineNumber,r.column),t,i,n,s);let l=[],a=o.lineNumber-1,d=r.lineNumber-1,h=null;for(let e=a;e<=d;e++){let s=this.modelLineProjections[e];if(s.isVisible())null===h&&(h=new G.L(e+1,e===a?o.column:1));else if(null!==h){let s=this.model.getLineMaxColumn(e);l=l.concat(this.model.getDecorationsInRange(new Q.e(h.lineNumber,h.column,e,s),t,i,n)),h=null}}null!==h&&(l=l.concat(this.model.getDecorationsInRange(new Q.e(h.lineNumber,h.column,r.lineNumber,r.column),t,i,n)),h=null),l.sort((e,t)=>{let i=Q.e.compareRangesUsingStarts(e.range,t.range);return 0===i?e.idt.id?1:0:i});let u=[],c=0,g=null;for(let e of l){let t=e.id;g!==t&&(g=t,u[c++]=e)}return u}getInjectedTextAt(e){let t=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[t.modelLineNumber-1].getInjectedTextAt(t.modelLineWrappedLineIdx,e.column)}normalizePosition(e,t){let i=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[i.modelLineNumber-1].normalizePosition(i.modelLineWrappedLineIdx,e,t)}getLineIndentColumn(e){let t=this.getViewLineInfo(e);return 0===t.modelLineWrappedLineIdx?this.model.getLineIndentColumn(t.modelLineNumber):0}}class n${constructor(e,t){this.modelLineNumber=e,this.modelLineWrappedLineIdx=t}}class nq{constructor(e,t){this.modelRange=e,this.viewLines=t}}class nj{constructor(e){this._lines=e}convertViewPositionToModelPosition(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)}convertViewRangeToModelRange(e){return this._lines.convertViewRangeToModelRange(e)}validateViewPosition(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)}validateViewRange(e,t){return this._lines.validateViewRange(e,t)}convertModelPositionToViewPosition(e,t,i,n){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column,t,i,n)}convertModelRangeToViewRange(e,t){return this._lines.convertModelRangeToViewRange(e,t)}modelPositionIsVisible(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)}getModelLineViewLineCount(e){return this._lines.getModelLineViewLineCount(e)}getViewLineNumberOfModelPosition(e,t){return this._lines.getViewLineNumberOfModelPosition(e,t)}}class nG{constructor(e){this.model=e}dispose(){}createCoordinatesConverter(){return new nQ(this)}getHiddenAreas(){return[]}setHiddenAreas(e){return!1}setTabSize(e){return!1}setWrappingSettings(e,t,i,n){return!1}createLineBreaksComputer(){let e=[];return{addRequest:(t,i,n)=>{e.push(null)},finalize:()=>e}}onModelFlushed(){}onModelLinesDeleted(e,t,i){return new i8(t,i)}onModelLinesInserted(e,t,i,n){return new i6(t,i)}onModelLineChanged(e,t,i){return[!1,new i7(t,1),null,null]}acceptVersionId(e){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(e,t,i){return{startLineNumber:e,endLineNumber:e,indent:0}}getViewLinesBracketGuides(e,t,i){return Array(t-e+1).fill([])}getViewLinesIndentGuides(e,t){let i=t-e+1,n=Array(i);for(let e=0;et)}getModelLineViewLineCount(e){return 1}getViewLineNumberOfModelPosition(e,t){return e}}let nZ=tl.U.Right;class nY{constructor(e){this.persist=0,this._requiredLanes=1,this.lanes=new Uint8Array(Math.ceil((e+1)*nZ/8))}reset(e){let t=Math.ceil((e+1)*nZ/8);this.lanes.length>>3]|=1<>>3]&1<>>3]&1<this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStart=nX.create(this.model),this.glyphLanes=new nY(0),this.model.isTooLargeForTokenization())this._lines=new nG(this.model);else{let e=this._configuration.options,t=e.get(50),i=e.get(139),o=e.get(146),r=e.get(138),l=e.get(129);this._lines=new nU(this._editorId,this.model,n,s,t,this.model.getOptions().tabSize,i,o.wrappingColumn,r,l)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new nC(i,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new nA(this._configuration,this.getLineCount(),o)),this._register(this.viewLayout.onDidScroll(e=>{e.scrollTopChanged&&this._handleVisibleLinesChanged(),e.scrollTopChanged&&this._viewportStart.invalidate(),this._eventDispatcher.emitSingleViewEvent(new ne(e)),this._eventDispatcher.emitOutgoingEvent(new nd(e.oldScrollWidth,e.oldScrollLeft,e.oldScrollHeight,e.oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(e=>{this._eventDispatcher.emitOutgoingEvent(e)})),this._decorations=new nP.CU(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(e=>{try{let t=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(tT.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new nn)})),this._register(this._themeService.onDidColorThemeChange(e=>{this._invalidateDecorationsColorCache(),this._eventDispatcher.emitSingleViewEvent(new nt(e))})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this._viewportStart.dispose(),this._eventDispatcher.dispose()}createLineBreaksComputer(){return this._lines.createLineBreaksComputer()}addViewEventHandler(e){this._eventDispatcher.addViewEventHandler(e)}removeViewEventHandler(e){this._eventDispatcher.removeViewEventHandler(e)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}getModelVisibleRanges(){let e=this.viewLayout.getLinesViewportData(),t=new Q.e(e.startLineNumber,this.getLineMinColumn(e.startLineNumber),e.endLineNumber,this.getLineMaxColumn(e.endLineNumber)),i=this._toModelVisibleRanges(t);return i}visibleLinesStabilized(){let e=this.getModelVisibleRanges();this._attachedView.setVisibleLines(e,!0)}_handleVisibleLinesChanged(){let e=this.getModelVisibleRanges();this._attachedView.setVisibleLines(e,!1)}setHasFocus(e){this._hasFocus=e,this._cursor.setHasFocus(e),this._eventDispatcher.emitSingleViewEvent(new i4(e)),this._eventDispatcher.emitOutgoingEvent(new na(!e,e))}onCompositionStart(){this._eventDispatcher.emitSingleViewEvent(new iY)}onCompositionEnd(){this._eventDispatcher.emitSingleViewEvent(new iJ)}_captureStableViewport(){if(this._viewportStart.isValid&&this.viewLayout.getCurrentScrollTop()>0){let e=new G.L(this._viewportStart.viewLineNumber,this.getLineMinColumn(this._viewportStart.viewLineNumber)),t=this.coordinatesConverter.convertViewPositionToModelPosition(e);return new n4(t,this._viewportStart.startLineDelta)}return new n4(null,0)}_onConfigurationChanged(e,t){let i=this._captureStableViewport(),n=this._configuration.options,s=n.get(50),o=n.get(139),r=n.get(146),l=n.get(138),a=n.get(129);this._lines.setWrappingSettings(s,o,r.wrappingColumn,l,a)&&(e.emitViewEvent(new i2),e.emitViewEvent(new i3),e.emitViewEvent(new i1(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this._updateConfigurationViewLineCount.schedule()),t.hasChanged(91)&&(this._decorations.reset(),e.emitViewEvent(new i1(null))),t.hasChanged(98)&&(this._decorations.reset(),e.emitViewEvent(new i1(null))),e.emitViewEvent(new iX(t)),this.viewLayout.onConfigurationChanged(t),i.recoverViewportStart(this.coordinatesConverter,this.viewLayout),i$.LM.shouldRecreate(t)&&(this.cursorConfig=new i$.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeContentOrInjectedText(e=>{try{let t=this._eventDispatcher.beginEmitViewEvents(),i=!1,n=!1,s=e instanceof iL.fV?e.rawContentChangedEvent.changes:e.changes,o=e instanceof iL.fV?e.rawContentChangedEvent.versionId:null,r=this._lines.createLineBreaksComputer();for(let e of s)switch(e.changeType){case 4:for(let t=0;t!e.ownerId||e.ownerId===this._editorId)),r.addRequest(i,n,null)}break;case 2:{let t=null;e.injectedText&&(t=e.injectedText.filter(e=>!e.ownerId||e.ownerId===this._editorId)),r.addRequest(e.detail,t,null)}}let l=r.finalize(),a=new C.H9(l);for(let e of s)switch(e.changeType){case 1:this._lines.onModelFlushed(),t.emitViewEvent(new i2),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),i=!0;break;case 3:{let n=this._lines.onModelLinesDeleted(o,e.fromLineNumber,e.toLineNumber);null!==n&&(t.emitViewEvent(n),this.viewLayout.onLinesDeleted(n.fromLineNumber,n.toLineNumber)),i=!0;break}case 4:{let n=a.takeCount(e.detail.length),s=this._lines.onModelLinesInserted(o,e.fromLineNumber,e.toLineNumber,n);null!==s&&(t.emitViewEvent(s),this.viewLayout.onLinesInserted(s.fromLineNumber,s.toLineNumber)),i=!0;break}case 2:{let i=a.dequeue(),[s,r,l,d]=this._lines.onModelLineChanged(o,e.lineNumber,i);n=s,r&&t.emitViewEvent(r),l&&(t.emitViewEvent(l),this.viewLayout.onLinesInserted(l.fromLineNumber,l.toLineNumber)),d&&(t.emitViewEvent(d),this.viewLayout.onLinesDeleted(d.fromLineNumber,d.toLineNumber))}}null!==o&&this._lines.acceptVersionId(o),this.viewLayout.onHeightMaybeChanged(),!i&&n&&(t.emitViewEvent(new i3),t.emitViewEvent(new i1(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}let t=this._viewportStart.isValid;if(this._viewportStart.invalidate(),this._configuration.setModelLineCount(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&t){let e=this.model._getTrackedRange(this._viewportStart.modelTrackedRange);if(e){let t=this.coordinatesConverter.convertModelPositionToViewPosition(e.getStartPosition()),i=this.viewLayout.getVerticalOffsetForLineNumber(t.lineNumber);this.viewLayout.setScrollPosition({scrollTop:i+this._viewportStart.startLineDelta},1)}}try{let t=this._eventDispatcher.beginEmitViewEvents();e instanceof iL.fV&&t.emitOutgoingEvent(new n_(e.contentChangedEvent)),this._cursor.onModelContentChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}this._handleVisibleLinesChanged()})),this._register(this.model.onDidChangeTokens(e=>{let t=[];for(let i=0,n=e.ranges.length;i{this._eventDispatcher.emitSingleViewEvent(new i5),this.cursorConfig=new i$.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new nf(e))})),this._register(this.model.onDidChangeLanguage(e=>{this.cursorConfig=new i$.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new nm(e))})),this._register(this.model.onDidChangeOptions(e=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{let e=this._eventDispatcher.beginEmitViewEvents();e.emitViewEvent(new i2),e.emitViewEvent(new i3),e.emitViewEvent(new i1(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new i$.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new nv(e))})),this._register(this.model.onDidChangeDecorations(e=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new i1(e)),this._eventDispatcher.emitOutgoingEvent(new np(e))}))}setHiddenAreas(e,t){var i;this.hiddenAreasModel.setHiddenAreas(t,e);let n=this.hiddenAreasModel.getMergedRanges();if(n===this.previousHiddenAreas)return;this.previousHiddenAreas=n;let s=this._captureStableViewport(),o=!1;try{let e=this._eventDispatcher.beginEmitViewEvents();(o=this._lines.setHiddenAreas(n))&&(e.emitViewEvent(new i2),e.emitViewEvent(new i3),e.emitViewEvent(new i1(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged());let t=null===(i=s.viewportStartModelPosition)||void 0===i?void 0:i.lineNumber,r=t&&n.some(e=>e.startLineNumber<=t&&t<=e.endLineNumber);r||s.recoverViewportStart(this.coordinatesConverter,this.viewLayout)}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule(),o&&this._eventDispatcher.emitOutgoingEvent(new nu)}getVisibleRangesPlusViewportAboveBelow(){let e=this._configuration.options.get(145),t=this._configuration.options.get(67),i=Math.max(20,Math.round(e.height/t)),n=this.viewLayout.getLinesViewportData(),s=Math.max(1,n.completelyVisibleStartLineNumber-i),o=Math.min(this.getLineCount(),n.completelyVisibleEndLineNumber+i);return this._toModelVisibleRanges(new Q.e(s,this.getLineMinColumn(s),o,this.getLineMaxColumn(o)))}getVisibleRanges(){let e=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(e)}getHiddenAreas(){return this._lines.getHiddenAreas()}_toModelVisibleRanges(e){let t=this.coordinatesConverter.convertViewRangeToModelRange(e),i=this._lines.getHiddenAreas();if(0===i.length)return[t];let n=[],s=0,o=t.startLineNumber,r=t.startColumn,l=t.endLineNumber,a=t.endColumn;for(let e=0,t=i.length;el||(ot.toInlineDecoration(e))]),new tM.wA(o.minColumn,o.maxColumn,o.content,o.continuesWithWrappedLine,i,n,o.tokens,t,s,o.startVisibleColumn)}getViewLineData(e){return this._lines.getViewLineData(e)}getMinimapLinesRenderingData(e,t,i){let n=this._lines.getViewLinesData(e,t,i);return new tM.ud(this.getTabSize(),n)}getAllOverviewRulerDecorations(e){let t=this.model.getOverviewRulerDecorations(this._editorId,(0,I.$J)(this._configuration.options)),i=new n0;for(let n of t){let t=n.options,s=t.overviewRuler;if(!s)continue;let o=s.position;if(0===o)continue;let r=s.getColor(e.value),l=this.coordinatesConverter.getViewLineNumberOfModelPosition(n.range.startLineNumber,n.range.startColumn),a=this.coordinatesConverter.getViewLineNumberOfModelPosition(n.range.endLineNumber,n.range.endColumn);i.accept(r,t.zIndex,l,a,o)}return i.asArray}_invalidateDecorationsColorCache(){let e=this.model.getOverviewRulerDecorations();for(let t of e){let e=t.options.overviewRuler;null==e||e.invalidateCachedColor();let i=t.options.minimap;null==i||i.invalidateCachedColor()}}getValueInRange(e,t){let i=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(i,t)}getValueLengthInRange(e,t){let i=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueLengthInRange(i,t)}modifyPosition(e,t){let i=this.coordinatesConverter.convertViewPositionToModelPosition(e),n=this.model.modifyPosition(i,t);return this.coordinatesConverter.convertModelPositionToViewPosition(n)}deduceModelPositionRelativeToViewPosition(e,t,i){let n=this.coordinatesConverter.convertViewPositionToModelPosition(e);2===this.model.getEOL().length&&(t<0?t-=i:t+=i);let s=this.model.getOffsetAt(n),o=s+t;return this.model.getPositionAt(o)}getPlainTextToCopy(e,t,i){let n=i?"\r\n":this.model.getEOL();(e=e.slice(0)).sort(Q.e.compareRangesUsingStarts);let s=!1,o=!1;for(let t of e)t.isEmpty()?s=!0:o=!0;if(!o){if(!t)return"";let i=e.map(e=>e.startLineNumber),s="";for(let e=0;e0&&i[e-1]===i[e]||(s+=this.model.getLineContent(i[e])+n);return s}if(s&&t){let t=[],n=0;for(let s of e){let e=s.startLineNumber;s.isEmpty()?e!==n&&t.push(this.model.getLineContent(e)):t.push(this.model.getValueInRange(s,i?2:0)),n=e}return 1===t.length?t[0]:t}let r=[];for(let t of e)t.isEmpty()||r.push(this.model.getValueInRange(t,i?2:0));return 1===r.length?r[0]:r}getRichTextToCopy(e,t){let i;let n=this.model.getLanguageId();if(n===nD.bd||1!==e.length)return null;let s=e[0];if(s.isEmpty()){if(!t)return null;let e=s.startLineNumber;s=new Q.e(e,this.model.getLineMinColumn(e),e,this.model.getLineMaxColumn(e))}let o=this._configuration.options.get(50),r=this._getColorMap(),l=/[:;\\\/<>]/.test(o.fontFamily),a=l||o.fontFamily===I.hL.fontFamily;if(a)i=I.hL.fontFamily;else{i=(i=o.fontFamily).replace(/"/g,"'");let e=/[,']/.test(i);if(!e){let e=/[+ ]/.test(i);e&&(i=`'${i}'`)}i=`${i}, ${I.hL.fontFamily}`}return{mode:n,html:`
    `+this._getHTMLToCopy(s,r)+"
    "}}_getHTMLToCopy(e,t){let i=e.startLineNumber,n=e.startColumn,s=e.endLineNumber,o=e.endColumn,r=this.getTabSize(),l="";for(let e=i;e<=s;e++){let a=this.model.tokenization.getLineTokens(e),d=a.getLineContent(),h=e===i?n-1:0,u=e===s?o-1:d.length;""===d?l+="
    ":l+=(0,nx.Fq)(d,a.inflate(),t,h,u,r,y.ED)}return l}_getColorMap(){let e=eO.RW.getColorMap(),t=["#000000"];if(e)for(let i=1,n=e.length;ithis._cursor.setStates(n,e,t,i))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}getCursorAutoClosedCharacters(){return this._cursor.getAutoClosedCharacters()}setCursorColumnSelectData(e){this._cursor.setCursorColumnSelectData(e)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(e){this._cursor.setPrevEditOperationType(e)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(e,t,i=0){this._withViewEventsCollector(n=>this._cursor.setSelections(n,e,t,i))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(e){this._withViewEventsCollector(t=>this._cursor.restoreState(t,e))}_executeCursorEdit(e){if(this._cursor.context.cursorConfig.readOnly){this._eventDispatcher.emitOutgoingEvent(new ng);return}this._withViewEventsCollector(e)}executeEdits(e,t,i){this._executeCursorEdit(n=>this._cursor.executeEdits(n,e,t,i))}startComposition(){this._executeCursorEdit(e=>this._cursor.startComposition(e))}endComposition(e){this._executeCursorEdit(t=>this._cursor.endComposition(t,e))}type(e,t){this._executeCursorEdit(i=>this._cursor.type(i,e,t))}compositionType(e,t,i,n,s){this._executeCursorEdit(o=>this._cursor.compositionType(o,e,t,i,n,s))}paste(e,t,i,n){this._executeCursorEdit(s=>this._cursor.paste(s,e,t,i,n))}cut(e){this._executeCursorEdit(t=>this._cursor.cut(t,e))}executeCommand(e,t){this._executeCursorEdit(i=>this._cursor.executeCommand(i,e,t))}executeCommands(e,t){this._executeCursorEdit(i=>this._cursor.executeCommands(i,e,t))}revealAllCursors(e,t,i=!1){this._withViewEventsCollector(n=>this._cursor.revealAll(n,e,i,0,t,0))}revealPrimaryCursor(e,t,i=!1){this._withViewEventsCollector(n=>this._cursor.revealPrimary(n,e,i,0,t,0))}revealTopMostCursor(e){let t=this._cursor.getTopMostViewPosition(),i=new Q.e(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new i9(e,!1,i,null,0,!0,0)))}revealBottomMostCursor(e){let t=this._cursor.getBottomMostViewPosition(),i=new Q.e(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new i9(e,!1,i,null,0,!0,0)))}revealRange(e,t,i,n,s){this._withViewEventsCollector(o=>o.emitViewEvent(new i9(e,!1,i,null,n,t,s)))}changeWhitespace(e){let t=this.viewLayout.changeWhitespace(e);t&&(this._eventDispatcher.emitSingleViewEvent(new ns),this._eventDispatcher.emitOutgoingEvent(new nh))}_withViewEventsCollector(e){try{let t=this._eventDispatcher.beginEmitViewEvents();return e(t)}finally{this._eventDispatcher.endEmitViewEvents()}}batchEvents(e){this._withViewEventsCollector(()=>{e()})}normalizePosition(e,t){return this._lines.normalizePosition(e,t)}getLineIndentColumn(e){return this._lines.getLineIndentColumn(e)}}class nX{static create(e){let t=e._setTrackedRange(null,new Q.e(1,1,1,1),1);return new nX(e,1,!1,t,0)}get viewLineNumber(){return this._viewLineNumber}get isValid(){return this._isValid}get modelTrackedRange(){return this._modelTrackedRange}get startLineDelta(){return this._startLineDelta}constructor(e,t,i,n,s){this._model=e,this._viewLineNumber=t,this._isValid=i,this._modelTrackedRange=n,this._startLineDelta=s}dispose(){this._model._setTrackedRange(this._modelTrackedRange,null,1)}update(e,t){let i=e.coordinatesConverter.convertViewPositionToModelPosition(new G.L(t,e.getLineMinColumn(t))),n=e.model._setTrackedRange(this._modelTrackedRange,new Q.e(i.lineNumber,i.column,i.lineNumber,i.column),1),s=e.viewLayout.getVerticalOffsetForLineNumber(t),o=e.viewLayout.getCurrentScrollTop();this._viewLineNumber=t,this._isValid=!0,this._modelTrackedRange=n,this._startLineDelta=o-s}invalidate(){this._isValid=!1}}class n0{constructor(){this._asMap=Object.create(null),this.asArray=[]}accept(e,t,i,n,s){let o=this._asMap[e];if(o){let e=o.data,t=e[e.length-3],r=e[e.length-1];if(t===s&&r+1>=i){n>r&&(e[e.length-1]=n);return}e.push(s,i,n)}else{let o=new tM.SQ(e,t,[s,i,n]);this._asMap[e]=o,this.asArray.push(o)}}}class n1{constructor(){this.hiddenAreas=new Map,this.shouldRecompute=!1,this.ranges=[]}setHiddenAreas(e,t){let i=this.hiddenAreas.get(e);i&&n2(i,t)||(this.hiddenAreas.set(e,t),this.shouldRecompute=!0)}getMergedRanges(){if(!this.shouldRecompute)return this.ranges;this.shouldRecompute=!1;let e=Array.from(this.hiddenAreas.values()).reduce((e,t)=>(function(e,t){let i=[],n=0,s=0;for(;n{this._onDidChangeConfiguration.fire(e);let t=this._configuration.options;if(e.hasChanged(145)){let e=t.get(145);this._onDidLayoutChange.fire(e)}})),this._contextKeyService=this._register(r.createScoped(this._domElement)),this._notificationService=a,this._codeEditorService=s,this._commandService=o,this._themeService=l,this._register(new so(this,this._contextKeyService)),this._register(new sr(this,this._contextKeyService,c)),this._instantiationService=this._register(n.createChild(new n7.y([n3.i6,this._contextKeyService]))),this._modelData=null,this._focusTracker=new sl(e,this._overflowWidgetsDomNode),this._register(this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())})),this._contentWidgets={},this._overlayWidgets={},this._glyphMarginWidgets={},v=Array.isArray(i.contributions)?i.contributions:u.Uc.getEditorContributions(),this._contributions.initialize(this,v,this._instantiationService),u.Uc.getEditorActions())){if(this._actions.has(t.id)){(0,p.dL)(Error(`Cannot have two actions with the same id ${t.id}`));continue}let e=new iI.p(t.id,t.label,t.alias,t.metadata,null!==(_=t.precondition)&&void 0!==_?_:void 0,e=>this._instantiationService.invokeFunction(i=>Promise.resolve(t.runEditorCommand(i,this,e))),this._contextKeyService);this._actions.set(e.id,e)}let C=()=>!this._configuration.options.get(91)&&this._configuration.options.get(36).enabled;this._register(new g.eg(this._domElement,{onDragOver:e=>{if(!C())return;let t=this.getTargetAtClientPoint(e.clientX,e.clientY);(null==t?void 0:t.position)&&this.showDropIndicatorAt(t.position)},onDrop:async e=>{if(!C()||(this.removeDropIndicator(),!e.dataTransfer))return;let t=this.getTargetAtClientPoint(e.clientX,e.clientY);(null==t?void 0:t.position)&&this._onDropIntoEditor.fire({position:t.position,event:e})},onDragLeave:()=>{this.removeDropIndicator()},onDragEnd:()=>{this.removeDropIndicator()}})),this._codeEditorService.addCodeEditor(this)}writeScreenReaderContent(e){var t;null===(t=this._modelData)||void 0===t||t.view.writeScreenReaderContent(e)}_createConfiguration(e,t,i,n){return new P(e,t,i,this._domElement,n)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return iT.g.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose(),this._actions.clear(),this._contentWidgets={},this._overlayWidgets={},this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),super.dispose()}invokeWithinContext(e){return this._instantiationService.invokeFunction(e)}updateOptions(e){this._configuration.updateOptions(e||{})}getOptions(){return this._configuration.options}getOption(e){return this._configuration.options.get(e)}getRawOptions(){return this._configuration.getRawOptions()}getOverflowWidgetsDomNode(){return this._overflowWidgetsDomNode}getConfiguredWordAtPosition(e){return this._modelData?iE.w.getWordAtPosition(this._modelData.model,this._configuration.options.get(131),this._configuration.options.get(130),e):null}getValue(e=null){if(!this._modelData)return"";let t=!!e&&!!e.preserveBOM,i=0;return e&&e.lineEnding&&"\n"===e.lineEnding?i=1:e&&e.lineEnding&&"\r\n"===e.lineEnding&&(i=2),this._modelData.model.getValue(i,t)}setValue(e){try{if(this._beginUpdate(),!this._modelData)return;this._modelData.model.setValue(e)}finally{this._endUpdate()}}getModel(){return this._modelData?this._modelData.model:null}setModel(e=null){var t;try{if(this._beginUpdate(),null===this._modelData&&null===e||this._modelData&&this._modelData.model===e)return;let i={oldModelUrl:(null===(t=this._modelData)||void 0===t?void 0:t.model.uri)||null,newModelUrl:(null==e?void 0:e.uri)||null};this._onWillChangeModel.fire(i);let n=this.hasTextFocus(),s=this._detachModel();this._attachModel(e),n&&this.hasModel()&&this.focus(),this._removeDecorationTypes(),this._onDidChangeModel.fire(i),this._postDetachModelCleanup(s),this._contributionsDisposable=this._contributions.onAfterModelAttached()}finally{this._endUpdate()}}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(let e in this._decorationTypeSubtypes){let t=this._decorationTypeSubtypes[e];for(let i in t)this._removeDecorationType(e+"-"+i)}this._decorationTypeSubtypes={}}}getVisibleRanges(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}getVisibleRangesPlusViewportAboveBelow(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}getWhitespaces(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}static _getVerticalOffsetAfterPosition(e,t,i,n){let s=e.model.validatePosition({lineNumber:t,column:i}),o=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(s);return e.viewModel.viewLayout.getVerticalOffsetAfterLineNumber(o.lineNumber,n)}getTopForLineNumber(e,t=!1){return this._modelData?d._getVerticalOffsetForPosition(this._modelData,e,1,t):-1}getTopForPosition(e,t){return this._modelData?d._getVerticalOffsetForPosition(this._modelData,e,t,!1):-1}static _getVerticalOffsetForPosition(e,t,i,n=!1){let s=e.model.validatePosition({lineNumber:t,column:i}),o=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(s);return e.viewModel.viewLayout.getVerticalOffsetForLineNumber(o.lineNumber,n)}getBottomForLineNumber(e,t=!1){return this._modelData?d._getVerticalOffsetAfterPosition(this._modelData,e,1,t):-1}setHiddenAreas(e,t){var i;null===(i=this._modelData)||void 0===i||i.viewModel.setHiddenAreas(e.map(e=>Q.e.lift(e)),t)}getVisibleColumnFromPosition(e){if(!this._modelData)return e.column;let t=this._modelData.model.validatePosition(e),i=this._modelData.model.getOptions().tabSize;return Z.i.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,i)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(e,t="api"){if(this._modelData){if(!G.L.isIPosition(e))throw Error("Invalid arguments");this._modelData.viewModel.setSelections(t,[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}}_sendRevealRange(e,t,i,n){if(!this._modelData)return;if(!Q.e.isIRange(e))throw Error("Invalid arguments");let s=this._modelData.model.validateRange(e),o=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(s);this._modelData.viewModel.revealRange("api",i,o,t,n)}revealLine(e,t=0){this._revealLine(e,0,t)}revealLineInCenter(e,t=0){this._revealLine(e,1,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._revealLine(e,2,t)}revealLineNearTop(e,t=0){this._revealLine(e,5,t)}_revealLine(e,t,i){if("number"!=typeof e)throw Error("Invalid arguments");this._sendRevealRange(new Q.e(e,1,e,1),t,!1,i)}revealPosition(e,t=0){this._revealPosition(e,0,!0,t)}revealPositionInCenter(e,t=0){this._revealPosition(e,1,!0,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._revealPosition(e,2,!0,t)}revealPositionNearTop(e,t=0){this._revealPosition(e,5,!0,t)}_revealPosition(e,t,i,n){if(!G.L.isIPosition(e))throw Error("Invalid arguments");this._sendRevealRange(new Q.e(e.lineNumber,e.column,e.lineNumber,e.column),t,i,n)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(e,t="api"){let i=em.Y.isISelection(e),n=Q.e.isIRange(e);if(!i&&!n)throw Error("Invalid arguments");if(i)this._setSelectionImpl(e,t);else if(n){let i={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(i,t)}}_setSelectionImpl(e,t){if(!this._modelData)return;let i=new em.Y(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.viewModel.setSelections(t,[i])}revealLines(e,t,i=0){this._revealLines(e,t,0,i)}revealLinesInCenter(e,t,i=0){this._revealLines(e,t,1,i)}revealLinesInCenterIfOutsideViewport(e,t,i=0){this._revealLines(e,t,2,i)}revealLinesNearTop(e,t,i=0){this._revealLines(e,t,5,i)}_revealLines(e,t,i,n){if("number"!=typeof e||"number"!=typeof t)throw Error("Invalid arguments");this._sendRevealRange(new Q.e(e,1,t,1),i,!1,n)}revealRange(e,t=0,i=!1,n=!0){this._revealRange(e,i?1:0,n,t)}revealRangeInCenter(e,t=0){this._revealRange(e,1,!0,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._revealRange(e,2,!0,t)}revealRangeNearTop(e,t=0){this._revealRange(e,5,!0,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._revealRange(e,6,!0,t)}revealRangeAtTop(e,t=0){this._revealRange(e,3,!0,t)}_revealRange(e,t,i,n){if(!Q.e.isIRange(e))throw Error("Invalid arguments");this._sendRevealRange(Q.e.lift(e),t,i,n)}setSelections(e,t="api",i=0){if(this._modelData){if(!e||0===e.length)throw Error("Invalid arguments");for(let t=0,i=e.length;t0&&this._modelData.viewModel.restoreCursorState(t):this._modelData.viewModel.restoreCursorState([t]),this._contributions.restoreViewState(e.contributionsState||{});let i=this._modelData.viewModel.reduceRestoreState(e.viewState);this._modelData.view.restoreState(i)}}handleInitialized(){var e;null===(e=this._getViewModel())||void 0===e||e.visibleLinesStabilized()}getContribution(e){return this._contributions.get(e)}getActions(){return Array.from(this._actions.values())}getSupportedActions(){return this.getActions().filter(e=>e.isSupported())}getAction(e){return this._actions.get(e)||null}trigger(e,t,i){i=i||{};try{switch(this._beginUpdate(),t){case"compositionStart":this._startComposition();return;case"compositionEnd":this._endComposition(e);return;case"type":{let t=i;this._type(e,t.text||"");return}case"replacePreviousChar":{let t=i;this._compositionType(e,t.text||"",t.replaceCharCnt||0,0,0);return}case"compositionType":{let t=i;this._compositionType(e,t.text||"",t.replacePrevCharCnt||0,t.replaceNextCharCnt||0,t.positionDelta||0);return}case"paste":{let t=i;this._paste(e,t.text||"",t.pasteOnNewLine||!1,t.multicursorText||null,t.mode||null,t.clipboardEvent);return}case"cut":this._cut(e);return}let n=this.getAction(t);if(n){Promise.resolve(n.run(i)).then(void 0,p.dL);return}if(!this._modelData||this._triggerEditorCommand(e,t,i))return;this._triggerCommand(t,i)}finally{this._endUpdate()}}_triggerCommand(e,t){this._commandService.executeCommand(e,t)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(e){this._modelData&&(this._modelData.viewModel.endComposition(e),this._onDidCompositionEnd.fire())}_type(e,t){this._modelData&&0!==t.length&&("keyboard"===e&&this._onWillType.fire(t),this._modelData.viewModel.type(t,e),"keyboard"===e&&this._onDidType.fire(t))}_compositionType(e,t,i,n,s){this._modelData&&this._modelData.viewModel.compositionType(t,i,n,s,e)}_paste(e,t,i,n,s,o){if(!this._modelData)return;let r=this._modelData.viewModel,l=r.getSelection().getStartPosition();r.paste(t,i,n,e);let a=r.getSelection().getStartPosition();"keyboard"===e&&this._onDidPaste.fire({clipboardEvent:o,range:new Q.e(l.lineNumber,l.column,a.lineNumber,a.column),languageId:s})}_cut(e){this._modelData&&this._modelData.viewModel.cut(e)}_triggerEditorCommand(e,t,i){let n=u.Uc.getEditorCommand(t);return!!n&&((i=i||{}).source=e,this._instantiationService.invokeFunction(e=>{Promise.resolve(n.runEditorCommand(e,this,i)).then(void 0,p.dL)}),!0)}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!(!this._modelData||this._configuration.options.get(91))&&(this._modelData.model.pushStackElement(),!0)}popUndoStop(){return!(!this._modelData||this._configuration.options.get(91))&&(this._modelData.model.popStackElement(),!0)}executeEdits(e,t,i){let n;return!(!this._modelData||this._configuration.options.get(91))&&(n=i?Array.isArray(i)?()=>i:i:()=>null,this._modelData.viewModel.executeEdits(e,t,n),!0)}executeCommand(e,t){this._modelData&&this._modelData.viewModel.executeCommand(t,e)}executeCommands(e,t){this._modelData&&this._modelData.viewModel.executeCommands(t,e)}createDecorationsCollection(e){return new sa(this,e)}changeDecorations(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null}getLineDecorations(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,(0,I.$J)(this._configuration.options)):null}getDecorationsInRange(e){return this._modelData?this._modelData.model.getDecorationsInRange(e,this._id,(0,I.$J)(this._configuration.options)):null}deltaDecorations(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]}removeDecorations(e){this._modelData&&0!==e.length&&this._modelData.model.changeDecorations(t=>{t.deltaDecorations(e,[])})}removeDecorationsByType(e){let t=this._decorationTypeKeysToIds[e];t&&this.changeDecorations(e=>e.deltaDecorations(t,[])),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]}getLayoutInfo(){let e=this._configuration.options,t=e.get(145);return t}createOverviewRuler(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null}getContainerDomNode(){return this._domElement}getDomNode(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null}delegateVerticalScrollbarPointerDown(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarPointerDown(e)}delegateScrollFromMouseWheelEvent(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateScrollFromMouseWheelEvent(e)}layout(e,t=!1){this._configuration.observeContainer(e),t||this.render()}focus(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()}hasTextFocus(){return!!this._modelData&&!!this._modelData.hasRealView&&this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(e){let t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting a content widget with the same id:"+e.getId()),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)}layoutContentWidget(e){let t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){let i=this._contentWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(i)}}removeContentWidget(e){let t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){let e=this._contentWidgets[t];delete this._contentWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(e)}}addOverlayWidget(e){let t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)}layoutOverlayWidget(e){let t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){let i=this._overlayWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(i)}}removeOverlayWidget(e){let t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){let e=this._overlayWidgets[t];delete this._overlayWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(e)}}addGlyphMarginWidget(e){let t={widget:e,position:e.getPosition()};this._glyphMarginWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting a glyph margin widget with the same id."),this._glyphMarginWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addGlyphMarginWidget(t)}layoutGlyphMarginWidget(e){let t=e.getId();if(this._glyphMarginWidgets.hasOwnProperty(t)){let i=this._glyphMarginWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutGlyphMarginWidget(i)}}removeGlyphMarginWidget(e){let t=e.getId();if(this._glyphMarginWidgets.hasOwnProperty(t)){let e=this._glyphMarginWidgets[t];delete this._glyphMarginWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeGlyphMarginWidget(e)}}changeViewZones(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.change(e)}getTargetAtClientPoint(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null}getScrolledVisiblePosition(e){if(!this._modelData||!this._modelData.hasRealView)return null;let t=this._modelData.model.validatePosition(e),i=this._configuration.options,n=i.get(145),s=d._getVerticalOffsetForPosition(this._modelData,t.lineNumber,t.column)-this.getScrollTop(),o=this._modelData.view.getOffsetForColumn(t.lineNumber,t.column)+n.glyphMarginWidth+n.lineNumbersWidth+n.decorationsWidth-this.getScrollLeft();return{top:s,left:o,height:i.get(67)}}getOffsetForColumn(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1}render(e=!1){this._modelData&&this._modelData.hasRealView&&this._modelData.viewModel.batchEvents(()=>{this._modelData.view.render(!0,e)})}setAriaOptions(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(e)}applyFontInfo(e){(0,v.N)(e,this._configuration.options.get(50))}setBanner(e,t){this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),this._bannerDomNode=e,this._configuration.setReservedHeight(e?t:0),this._bannerDomNode&&this._domElement.prepend(this._bannerDomNode)}_attachModel(e){if(!e){this._modelData=null;return}let t=[];this._domElement.setAttribute("data-mode-id",e.getLanguageId()),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setModelLineCount(e.getLineCount());let i=e.onBeforeAttached(),n=new nJ(this._id,this._configuration,e,iD.create(g.Jj(this._domElement)),iF.create(this._configuration.options),e=>g.jL(g.Jj(this._domElement),e),this.languageConfigurationService,this._themeService,i);t.push(e.onWillDispose(()=>this.setModel(null))),t.push(n.onEvent(t=>{switch(t.kind){case 0:this._onDidContentSizeChange.fire(t);break;case 1:this._editorTextFocus.setValue(t.hasFocus);break;case 2:this._onDidScrollChange.fire(t);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidChangeHiddenAreas.fire();break;case 5:this._onDidAttemptReadOnlyEdit.fire();break;case 6:{if(t.reachedMaxCursorCount){let e=this.getOption(80),t=eD.NC("cursors.maximum","The number of cursors has been limited to {0}. Consider using [find and replace](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) for larger changes or increase the editor multi cursor limit setting.",e);this._notificationService.prompt(n8.zb.Warning,t,[{label:"Find and Replace",run:()=>{this._commandService.executeCommand("editor.action.startFindReplaceAction")}},{label:eD.NC("goToSetting","Increase Multi Cursor Limit"),run:()=>{this._commandService.executeCommand("workbench.action.openSettings2",{query:"editor.multiCursorLimit"})}}])}let e=[];for(let i=0,n=t.selections.length;i{this._paste("keyboard",e,t,i,n)},type:e=>{this._type("keyboard",e)},compositionType:(e,t,i,n)=>{this._compositionType("keyboard",e,t,i,n)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:{paste:(e,t,i,n)=>{this._commandService.executeCommand("paste",{text:e,pasteOnNewLine:t,multicursorText:i,mode:n})},type:e=>{this._commandService.executeCommand("type",{text:e})},compositionType:(e,t,i,n)=>{i||n?this._commandService.executeCommand("compositionType",{text:e,replacePrevCharCnt:t,replaceNextCharCnt:i,positionDelta:n}):this._commandService.executeCommand("replacePreviousChar",{text:e,replaceCharCnt:t})},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};let i=new e4(e.coordinatesConverter);i.onKeyDown=e=>this._onKeyDown.fire(e),i.onKeyUp=e=>this._onKeyUp.fire(e),i.onContextMenu=e=>this._onContextMenu.fire(e),i.onMouseMove=e=>this._onMouseMove.fire(e),i.onMouseLeave=e=>this._onMouseLeave.fire(e),i.onMouseDown=e=>this._onMouseDown.fire(e),i.onMouseUp=e=>this._onMouseUp.fire(e),i.onMouseDrag=e=>this._onMouseDrag.fire(e),i.onMouseDrop=e=>this._onMouseDrop.fire(e),i.onMouseDropCanceled=e=>this._onMouseDropCanceled.fire(e),i.onMouseWheel=e=>this._onMouseWheel.fire(e);let n=new im(t,this._configuration,this._themeService.getColorTheme(),e,i,this._overflowWidgetsDomNode,this._instantiationService);return[n,!0]}_postDetachModelCleanup(e){null==e||e.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){var e;if(null===(e=this._contributionsDisposable)||void 0===e||e.dispose(),this._contributionsDisposable=void 0,!this._modelData)return null;let t=this._modelData.model,i=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),i&&this._domElement.contains(i)&&this._domElement.removeChild(i),this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),t}_removeDecorationType(e){this._codeEditorService.removeDecorationType(e)}hasModel(){return null!==this._modelData}showDropIndicatorAt(e){let t=[{range:new Q.e(e.lineNumber,e.column,e.lineNumber,e.column),options:d.dropIntoEditorDecorationOptions}];this._dropIntoEditorDecorations.set(t),this.revealPosition(e,1)}removeDropIndicator(){this._dropIntoEditorDecorations.clear()}setContextValue(e,t){this._contextKeyService.createKey(e,t)}_beginUpdate(){this._updateCounter++,1===this._updateCounter&&this._onBeginUpdate.fire()}_endUpdate(){this._updateCounter--,0===this._updateCounter&&this._onEndUpdate.fire()}};se.dropIntoEditorDecorationOptions=iA.qx.register({description:"workbench-dnd-target",className:"dnd-target"}),se=d=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([n9(3,eH.TG),n9(4,H.$),n9(5,n5.H),n9(6,n3.i6),n9(7,eI.XE),n9(8,n8.lT),n9(9,R.F),n9(10,iR.c_),n9(11,iP.p)],se);let st=0;class si{constructor(e,t,i,n,s,o){this.model=e,this.viewModel=t,this.view=i,this.hasRealView=n,this.listenersToRemove=s,this.attachedView=o}dispose(){(0,f.B9)(this.listenersToRemove),this.model.onBeforeDetached(this.attachedView),this.hasRealView&&this.view.dispose(),this.viewModel.dispose()}}class sn extends f.JT{constructor(e){super(),this._emitterOptions=e,this._onDidChangeToTrue=this._register(new m.Q5(this._emitterOptions)),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new m.Q5(this._emitterOptions)),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(e){let t=e?2:1;this._value!==t&&(this._value=t,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())}}class ss extends m.Q5{constructor(e,t){super({deliveryQueue:t}),this._contributions=e}fire(e){this._contributions.onBeforeInteractionEvent(),super.fire(e)}}class so extends f.JT{constructor(e,t){super(),this._editor=e,t.createKey("editorId",e.getId()),this._editorSimpleInput=iM.u.editorSimpleInput.bindTo(t),this._editorFocus=iM.u.focus.bindTo(t),this._textInputFocus=iM.u.textInputFocus.bindTo(t),this._editorTextFocus=iM.u.editorTextFocus.bindTo(t),this._tabMovesFocus=iM.u.tabMovesFocus.bindTo(t),this._editorReadonly=iM.u.readOnly.bindTo(t),this._inDiffEditor=iM.u.inDiffEditor.bindTo(t),this._editorColumnSelection=iM.u.columnSelection.bindTo(t),this._hasMultipleSelections=iM.u.hasMultipleSelections.bindTo(t),this._hasNonEmptySelection=iM.u.hasNonEmptySelection.bindTo(t),this._canUndo=iM.u.canUndo.bindTo(t),this._canRedo=iM.u.canRedo.bindTo(t),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._register(E.n.onDidChangeTabFocus(e=>this._tabMovesFocus.set(e))),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){let e=this._editor.getOptions();this._tabMovesFocus.set(E.n.getTabFocusMode()),this._editorReadonly.set(e.get(91)),this._inDiffEditor.set(e.get(61)),this._editorColumnSelection.set(e.get(22))}_updateFromSelection(){let e=this._editor.getSelections();e?(this._hasMultipleSelections.set(e.length>1),this._hasNonEmptySelection.set(e.some(e=>!e.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){let e=this._editor.getModel();this._canUndo.set(!!(e&&e.canUndo())),this._canRedo.set(!!(e&&e.canRedo()))}}class sr extends f.JT{constructor(e,t,i){super(),this._editor=e,this._contextKeyService=t,this._languageFeaturesService=i,this._langId=iM.u.languageId.bindTo(t),this._hasCompletionItemProvider=iM.u.hasCompletionItemProvider.bindTo(t),this._hasCodeActionsProvider=iM.u.hasCodeActionsProvider.bindTo(t),this._hasCodeLensProvider=iM.u.hasCodeLensProvider.bindTo(t),this._hasDefinitionProvider=iM.u.hasDefinitionProvider.bindTo(t),this._hasDeclarationProvider=iM.u.hasDeclarationProvider.bindTo(t),this._hasImplementationProvider=iM.u.hasImplementationProvider.bindTo(t),this._hasTypeDefinitionProvider=iM.u.hasTypeDefinitionProvider.bindTo(t),this._hasHoverProvider=iM.u.hasHoverProvider.bindTo(t),this._hasDocumentHighlightProvider=iM.u.hasDocumentHighlightProvider.bindTo(t),this._hasDocumentSymbolProvider=iM.u.hasDocumentSymbolProvider.bindTo(t),this._hasReferenceProvider=iM.u.hasReferenceProvider.bindTo(t),this._hasRenameProvider=iM.u.hasRenameProvider.bindTo(t),this._hasSignatureHelpProvider=iM.u.hasSignatureHelpProvider.bindTo(t),this._hasInlayHintsProvider=iM.u.hasInlayHintsProvider.bindTo(t),this._hasDocumentFormattingProvider=iM.u.hasDocumentFormattingProvider.bindTo(t),this._hasDocumentSelectionFormattingProvider=iM.u.hasDocumentSelectionFormattingProvider.bindTo(t),this._hasMultipleDocumentFormattingProvider=iM.u.hasMultipleDocumentFormattingProvider.bindTo(t),this._hasMultipleDocumentSelectionFormattingProvider=iM.u.hasMultipleDocumentSelectionFormattingProvider.bindTo(t),this._isInEmbeddedEditor=iM.u.isInEmbeddedEditor.bindTo(t);let n=()=>this._update();this._register(e.onDidChangeModel(n)),this._register(e.onDidChangeModelLanguage(n)),this._register(i.completionProvider.onDidChange(n)),this._register(i.codeActionProvider.onDidChange(n)),this._register(i.codeLensProvider.onDidChange(n)),this._register(i.definitionProvider.onDidChange(n)),this._register(i.declarationProvider.onDidChange(n)),this._register(i.implementationProvider.onDidChange(n)),this._register(i.typeDefinitionProvider.onDidChange(n)),this._register(i.hoverProvider.onDidChange(n)),this._register(i.documentHighlightProvider.onDidChange(n)),this._register(i.documentSymbolProvider.onDidChange(n)),this._register(i.referenceProvider.onDidChange(n)),this._register(i.renameProvider.onDidChange(n)),this._register(i.documentFormattingEditProvider.onDidChange(n)),this._register(i.documentRangeFormattingEditProvider.onDidChange(n)),this._register(i.signatureHelpProvider.onDidChange(n)),this._register(i.inlayHintsProvider.onDidChange(n)),n()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInEmbeddedEditor.reset()})}_update(){let e=this._editor.getModel();if(!e){this.reset();return}this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(e.getLanguageId()),this._hasCompletionItemProvider.set(this._languageFeaturesService.completionProvider.has(e)),this._hasCodeActionsProvider.set(this._languageFeaturesService.codeActionProvider.has(e)),this._hasCodeLensProvider.set(this._languageFeaturesService.codeLensProvider.has(e)),this._hasDefinitionProvider.set(this._languageFeaturesService.definitionProvider.has(e)),this._hasDeclarationProvider.set(this._languageFeaturesService.declarationProvider.has(e)),this._hasImplementationProvider.set(this._languageFeaturesService.implementationProvider.has(e)),this._hasTypeDefinitionProvider.set(this._languageFeaturesService.typeDefinitionProvider.has(e)),this._hasHoverProvider.set(this._languageFeaturesService.hoverProvider.has(e)),this._hasDocumentHighlightProvider.set(this._languageFeaturesService.documentHighlightProvider.has(e)),this._hasDocumentSymbolProvider.set(this._languageFeaturesService.documentSymbolProvider.has(e)),this._hasReferenceProvider.set(this._languageFeaturesService.referenceProvider.has(e)),this._hasRenameProvider.set(this._languageFeaturesService.renameProvider.has(e)),this._hasSignatureHelpProvider.set(this._languageFeaturesService.signatureHelpProvider.has(e)),this._hasInlayHintsProvider.set(this._languageFeaturesService.inlayHintsProvider.has(e)),this._hasDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.has(e)||this._languageFeaturesService.documentRangeFormattingEditProvider.has(e)),this._hasDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.has(e)),this._hasMultipleDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.all(e).length+this._languageFeaturesService.documentRangeFormattingEditProvider.all(e).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.all(e).length>1),this._isInEmbeddedEditor.set(e.uri.scheme===_.lg.walkThroughSnippet||e.uri.scheme===_.lg.vscodeChatCodeBlock)})}}class sl extends f.JT{constructor(e,t){super(),this._onChange=this._register(new m.Q5),this.onChange=this._onChange.event,this._hadFocus=void 0,this._hasDomElementFocus=!1,this._domFocusTracker=this._register(g.go(e)),this._overflowWidgetsDomNodeHasFocus=!1,this._register(this._domFocusTracker.onDidFocus(()=>{this._hasDomElementFocus=!0,this._update()})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasDomElementFocus=!1,this._update()})),t&&(this._overflowWidgetsDomNode=this._register(g.go(t)),this._register(this._overflowWidgetsDomNode.onDidFocus(()=>{this._overflowWidgetsDomNodeHasFocus=!0,this._update()})),this._register(this._overflowWidgetsDomNode.onDidBlur(()=>{this._overflowWidgetsDomNodeHasFocus=!1,this._update()})))}_update(){let e=this._hasDomElementFocus||this._overflowWidgetsDomNodeHasFocus;this._hadFocus!==e&&(this._hadFocus=e,this._onChange.fire(void 0))}hasFocus(){var e;return null!==(e=this._hadFocus)&&void 0!==e&&e}}class sa{get length(){return this._decorationIds.length}constructor(e,t){this._editor=e,this._decorationIds=[],this._isChangingDecorations=!1,Array.isArray(t)&&t.length>0&&this.set(t)}onDidChange(e,t,i){return this._editor.onDidChangeModelDecorations(i=>{this._isChangingDecorations||e.call(t,i)},i)}getRange(e){return!this._editor.hasModel()||e>=this._decorationIds.length?null:this._editor.getModel().getDecorationRange(this._decorationIds[e])}getRanges(){if(!this._editor.hasModel())return[];let e=this._editor.getModel(),t=[];for(let i of this._decorationIds){let n=e.getDecorationRange(i);n&&t.push(n)}return t}has(e){return this._decorationIds.includes(e.id)}clear(){0!==this._decorationIds.length&&this.set([])}set(e){try{this._isChangingDecorations=!0,this._editor.changeDecorations(t=>{this._decorationIds=t.deltaDecorations(this._decorationIds,e)})}finally{this._isChangingDecorations=!1}return this._decorationIds}append(e){let t=[];try{this._isChangingDecorations=!0,this._editor.changeDecorations(i=>{t=i.deltaDecorations([],e),this._decorationIds=this._decorationIds.concat(t)})}finally{this._isChangingDecorations=!1}return t}}let sd=encodeURIComponent("");function su(e){return sd+encodeURIComponent(e.toString())+sh}let sc=encodeURIComponent('');(0,eI.Ic)((e,t)=>{let i=e.getColor(tR.lXJ);i&&t.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${su(i)}") repeat-x bottom left; }`);let n=e.getColor(tR.uoC);n&&t.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${su(n)}") repeat-x bottom left; }`);let s=e.getColor(tR.c63);s&&t.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${su(s)}") repeat-x bottom left; }`);let o=e.getColor(tR.Dut);o&&t.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${sc+encodeURIComponent(o.toString())+sg}") no-repeat bottom left; }`);let r=e.getColor(eT.zu);r&&t.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${r.rgba.a}; }`)})},98549:function(e,t,i){"use strict";i.d(t,{H:function(){return m}});var n=i(16783),s=i(70208),o=i(79624),r=i(32712),l=i(64106),a=i(15232),d=i(81903),h=i(33336),u=i(85327),c=i(16575),g=i(55150),p=function(e,t){return function(i,n){t(i,n,e)}};let m=class extends o.Gm{constructor(e,t,i,n,s,o,r,l,a,d,h,u,c){super(e,{...n.getRawOptions(),overflowWidgetsDomNode:n.getOverflowWidgetsDomNode()},i,s,o,r,l,a,d,h,u,c),this._parentEditor=n,this._overwriteOptions=t,super.updateOptions(this._overwriteOptions),this._register(n.onDidChangeConfiguration(e=>this._onParentConfigurationChanged(e)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(e){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(e){n.jB(this._overwriteOptions,e,!0),super.updateOptions(this._overwriteOptions)}};m=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([p(4,u.TG),p(5,s.$),p(6,d.H),p(7,h.i6),p(8,g.XE),p(9,c.lT),p(10,a.F),p(11,r.c_),p(12,l.p)],m)},36465:function(e,t,i){"use strict";var n=i(47039),s=i(81845),o=i(82508),r=i(70208),l=i(22946),a=i(73440),d=i(82801),h=i(30467),u=i(78426),c=i(33336);i(27774);class g extends h.Ke{constructor(){super({id:"diffEditor.toggleCollapseUnchangedRegions",title:(0,d.vv)("toggleCollapseUnchangedRegions","Toggle Collapse Unchanged Regions"),icon:n.l.map,toggled:c.Ao.has("config.diffEditor.hideUnchangedRegions.enabled"),precondition:c.Ao.has("isInDiffEditor"),menu:{when:c.Ao.has("isInDiffEditor"),id:h.eH.EditorTitle,order:22,group:"navigation"}})}run(e,...t){let i=e.get(u.Ui),n=!i.getValue("diffEditor.hideUnchangedRegions.enabled");i.updateValue("diffEditor.hideUnchangedRegions.enabled",n)}}class p extends h.Ke{constructor(){super({id:"diffEditor.toggleShowMovedCodeBlocks",title:(0,d.vv)("toggleShowMovedCodeBlocks","Toggle Show Moved Code Blocks"),precondition:c.Ao.has("isInDiffEditor")})}run(e,...t){let i=e.get(u.Ui),n=!i.getValue("diffEditor.experimental.showMoves");i.updateValue("diffEditor.experimental.showMoves",n)}}class m extends h.Ke{constructor(){super({id:"diffEditor.toggleUseInlineViewWhenSpaceIsLimited",title:(0,d.vv)("toggleUseInlineViewWhenSpaceIsLimited","Toggle Use Inline View When Space Is Limited"),precondition:c.Ao.has("isInDiffEditor")})}run(e,...t){let i=e.get(u.Ui),n=!i.getValue("diffEditor.useInlineViewWhenSpaceIsLimited");i.updateValue("diffEditor.useInlineViewWhenSpaceIsLimited",n)}}let f=(0,d.vv)("diffEditor","Diff Editor");class _ extends o.x1{constructor(){super({id:"diffEditor.switchSide",title:(0,d.vv)("switchSide","Switch Side"),icon:n.l.arrowSwap,precondition:c.Ao.has("isInDiffEditor"),f1:!0,category:f})}runEditorCommand(e,t,i){let n=k(e);if(n instanceof l.p){if(i&&i.dryRun)return{destinationSelection:n.mapToOtherSide().destinationSelection};n.switchSide()}}}class v extends o.x1{constructor(){super({id:"diffEditor.exitCompareMove",title:(0,d.vv)("exitCompareMove","Exit Compare Move"),icon:n.l.close,precondition:a.u.comparingMovedCode,f1:!1,category:f,keybinding:{weight:1e4,primary:9}})}runEditorCommand(e,t,...i){let n=k(e);n instanceof l.p&&n.exitCompareMove()}}class b extends o.x1{constructor(){super({id:"diffEditor.collapseAllUnchangedRegions",title:(0,d.vv)("collapseAllUnchangedRegions","Collapse All Unchanged Regions"),icon:n.l.fold,precondition:c.Ao.has("isInDiffEditor"),f1:!0,category:f})}runEditorCommand(e,t,...i){let n=k(e);n instanceof l.p&&n.collapseAllUnchangedRegions()}}class C extends o.x1{constructor(){super({id:"diffEditor.showAllUnchangedRegions",title:(0,d.vv)("showAllUnchangedRegions","Show All Unchanged Regions"),icon:n.l.unfold,precondition:c.Ao.has("isInDiffEditor"),f1:!0,category:f})}runEditorCommand(e,t,...i){let n=k(e);n instanceof l.p&&n.showAllUnchangedRegions()}}class w extends h.Ke{constructor(){super({id:"diffEditor.revert",title:(0,d.vv)("revert","Revert"),f1:!1,category:f})}run(e,t){var i;let n=function(e,t,i){let n=e.get(r.$),s=n.listDiffEditors();return s.find(e=>{var n,s;let o=e.getModifiedEditor(),r=e.getOriginalEditor();return o&&(null===(n=o.getModel())||void 0===n?void 0:n.uri.toString())===i.toString()&&r&&(null===(s=r.getModel())||void 0===s?void 0:s.uri.toString())===t.toString()})||null}(e,t.originalUri,t.modifiedUri);n instanceof l.p&&n.revertRangeMappings(null!==(i=t.mapping.innerChanges)&&void 0!==i?i:[])}}let y=(0,d.vv)("accessibleDiffViewer","Accessible Diff Viewer");class S extends h.Ke{constructor(){super({id:S.id,title:(0,d.vv)("editor.action.accessibleDiffViewer.next","Go to Next Difference"),category:y,precondition:c.Ao.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(e){let t=k(e);null==t||t.accessibleDiffViewerNext()}}S.id="editor.action.accessibleDiffViewer.next";class L extends h.Ke{constructor(){super({id:L.id,title:(0,d.vv)("editor.action.accessibleDiffViewer.prev","Go to Previous Difference"),category:y,precondition:c.Ao.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(e){let t=k(e);null==t||t.accessibleDiffViewerPrev()}}function k(e){let t=e.get(r.$),i=t.listDiffEditors(),n=(0,s.vY)();if(n)for(let e of i){let t=e.getContainerDomNode();if(function(e,t){let i=t;for(;i;){if(i===e)return!0;i=i.parentElement}return!1}(t,n))return e}return null}L.id="editor.action.accessibleDiffViewer.prev";var D=i(81903);for(let e of((0,h.r1)(g),(0,h.r1)(p),(0,h.r1)(m),h.BH.appendMenuItem(h.eH.EditorTitle,{command:{id:new m().desc.id,title:(0,d.NC)("useInlineViewWhenSpaceIsLimited","Use Inline View When Space Is Limited"),toggled:c.Ao.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),precondition:c.Ao.has("isInDiffEditor")},order:11,group:"1_diff",when:c.Ao.and(a.u.diffEditorRenderSideBySideInlineBreakpointReached,c.Ao.has("isInDiffEditor"))}),h.BH.appendMenuItem(h.eH.EditorTitle,{command:{id:new p().desc.id,title:(0,d.NC)("showMoves","Show Moved Code Blocks"),icon:n.l.move,toggled:c.cP.create("config.diffEditor.experimental.showMoves",!0),precondition:c.Ao.has("isInDiffEditor")},order:10,group:"1_diff",when:c.Ao.has("isInDiffEditor")}),(0,h.r1)(w),[{icon:n.l.arrowRight,key:a.u.diffEditorInlineMode.toNegated()},{icon:n.l.discard,key:a.u.diffEditorInlineMode}]))h.BH.appendMenuItem(h.eH.DiffEditorHunkToolbar,{command:{id:new w().desc.id,title:(0,d.NC)("revertHunk","Revert Block"),icon:e.icon},when:c.Ao.and(a.u.diffEditorModifiedWritable,e.key),order:5,group:"primary"}),h.BH.appendMenuItem(h.eH.DiffEditorSelectionToolbar,{command:{id:new w().desc.id,title:(0,d.NC)("revertSelection","Revert Selection"),icon:e.icon},when:c.Ao.and(a.u.diffEditorModifiedWritable,e.key),order:5,group:"primary"});(0,h.r1)(_),(0,h.r1)(v),(0,h.r1)(b),(0,h.r1)(C),h.BH.appendMenuItem(h.eH.EditorTitle,{command:{id:S.id,title:(0,d.NC)("Open Accessible Diff Viewer","Open Accessible Diff Viewer"),precondition:c.Ao.has("isInDiffEditor")},order:10,group:"2_diff",when:c.Ao.and(a.u.accessibleDiffViewerVisible.negate(),c.Ao.has("isInDiffEditor"))}),D.P.registerCommandAlias("editor.action.diffReview.next",S.id),(0,h.r1)(S),D.P.registerCommandAlias("editor.action.diffReview.prev",L.id),(0,h.r1)(L)},22946:function(e,t,i){"use strict";i.d(t,{p:function(){return tx}});var n,s,o,r,l,a,d=i(81845),h=i(70365),u=i(32378),c=i(79915),g=i(70784),p=i(43495),m=i(48053);i(33590);var f=i(82508),_=i(70208),v=i(24846),b=i(79624),C=i(39813),w=i(21489),y=i(49524),S=i(76886),L=i(40789),k=i(47039),D=i(29527),x=i(50950),N=i(81719),E=i(43364),I=i(63144),T=i(81294),M=i(86570),R=i(70209),A=i(61234),P=i(77233),O=i(94458),F=i(53429),B=i(20910),W=i(82801),H=i(7634),V=i(85327),z=i(79939);i(50707);var K=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},U=function(e,t){return function(i,n){t(i,n,e)}};let $=(0,z.q5)("diff-review-insert",k.l.add,(0,W.NC)("accessibleDiffViewerInsertIcon","Icon for 'Insert' in accessible diff viewer.")),q=(0,z.q5)("diff-review-remove",k.l.remove,(0,W.NC)("accessibleDiffViewerRemoveIcon","Icon for 'Remove' in accessible diff viewer.")),j=(0,z.q5)("diff-review-close",k.l.close,(0,W.NC)("accessibleDiffViewerCloseIcon","Icon for 'Close' in accessible diff viewer.")),G=class extends g.JT{constructor(e,t,i,n,s,o,r,l,a){super(),this._parentNode=e,this._visible=t,this._setVisible=i,this._canClose=n,this._width=s,this._height=o,this._diffs=r,this._models=l,this._instantiationService=a,this._state=(0,p.Be)(this,(e,t)=>{let i=this._visible.read(e);if(this._parentNode.style.visibility=i?"visible":"hidden",!i)return null;let n=t.add(this._instantiationService.createInstance(Q,this._diffs,this._models,this._setVisible,this._canClose)),s=t.add(this._instantiationService.createInstance(et,this._parentNode,n,this._width,this._height,this._models));return{model:n,view:s}}).recomputeInitiallyAndOnChange(this._store)}next(){(0,p.PS)(e=>{let t=this._visible.get();this._setVisible(!0,e),t&&this._state.get().model.nextGroup(e)})}prev(){(0,p.PS)(e=>{this._setVisible(!0,e),this._state.get().model.previousGroup(e)})}close(){(0,p.PS)(e=>{this._setVisible(!1,e)})}};G._ttPolicy=(0,C.Z)("diffReview",{createHTML:e=>e}),G=K([U(8,V.TG)],G);let Q=class extends g.JT{constructor(e,t,i,n,s){super(),this._diffs=e,this._models=t,this._setVisible=i,this.canClose=n,this._accessibilitySignalService=s,this._groups=(0,p.uh)(this,[]),this._currentGroupIdx=(0,p.uh)(this,0),this._currentElementIdx=(0,p.uh)(this,0),this.groups=this._groups,this.currentGroup=this._currentGroupIdx.map((e,t)=>this._groups.read(t)[e]),this.currentGroupIndex=this._currentGroupIdx,this.currentElement=this._currentElementIdx.map((e,t)=>{var i;return null===(i=this.currentGroup.read(t))||void 0===i?void 0:i.lines[e]}),this._register((0,p.EH)(e=>{let t=this._diffs.read(e);if(!t){this._groups.set([],void 0);return}let i=function(e,t,i){let n=[];for(let s of(0,L.mw)(e,(e,t)=>t.modified.startLineNumber-e.modified.endLineNumberExclusive<6)){let e=[];e.push(new Y);let o=new I.z(Math.max(1,s[0].original.startLineNumber-3),Math.min(s[s.length-1].original.endLineNumberExclusive+3,t+1)),r=new I.z(Math.max(1,s[0].modified.startLineNumber-3),Math.min(s[s.length-1].modified.endLineNumberExclusive+3,i+1));(0,L.zy)(s,(t,i)=>{let n=new I.z(t?t.original.endLineNumberExclusive:o.startLineNumber,i?i.original.startLineNumber:o.endLineNumberExclusive),s=new I.z(t?t.modified.endLineNumberExclusive:r.startLineNumber,i?i.modified.startLineNumber:r.endLineNumberExclusive);n.forEach(t=>{e.push(new ee(t,s.startLineNumber+(t-n.startLineNumber)))}),i&&(i.original.forEach(t=>{e.push(new J(i,t))}),i.modified.forEach(t=>{e.push(new X(i,t))}))});let l=s[0].modified.join(s[s.length-1].modified),a=s[0].original.join(s[s.length-1].original);n.push(new Z(new A.f0(l,a),e))}return n}(t,this._models.getOriginalModel().getLineCount(),this._models.getModifiedModel().getLineCount());(0,p.PS)(e=>{let t=this._models.getModifiedPosition();if(t){let n=i.findIndex(e=>(null==t?void 0:t.lineNumber){let t=this.currentElement.read(e);(null==t?void 0:t.type)===r.Deleted?this._accessibilitySignalService.playSignal(H.iP.diffLineDeleted,{source:"accessibleDiffViewer.currentElementChanged"}):(null==t?void 0:t.type)===r.Added&&this._accessibilitySignalService.playSignal(H.iP.diffLineInserted,{source:"accessibleDiffViewer.currentElementChanged"})})),this._register((0,p.EH)(e=>{var t;let i=this.currentElement.read(e);if(i&&i.type!==r.Header){let e=null!==(t=i.modifiedLineNumber)&&void 0!==t?t:i.diff.modified.startLineNumber;this._models.modifiedSetSelection(R.e.fromPositions(new M.L(e,1)))}}))}_goToGroupDelta(e,t){let i=this.groups.get();i&&!(i.length<=1)&&(0,p.c8)(t,t=>{this._currentGroupIdx.set(T.q.ofLength(i.length).clipCyclic(this._currentGroupIdx.get()+e),t),this._currentElementIdx.set(0,t)})}nextGroup(e){this._goToGroupDelta(1,e)}previousGroup(e){this._goToGroupDelta(-1,e)}_goToLineDelta(e){let t=this.currentGroup.get();t&&!(t.lines.length<=1)&&(0,p.PS)(i=>{this._currentElementIdx.set(T.q.ofLength(t.lines.length).clip(this._currentElementIdx.get()+e),i)})}goToNextLine(){this._goToLineDelta(1)}goToPreviousLine(){this._goToLineDelta(-1)}goToLine(e){let t=this.currentGroup.get();if(!t)return;let i=t.lines.indexOf(e);-1!==i&&(0,p.PS)(e=>{this._currentElementIdx.set(i,e)})}revealCurrentElementInEditor(){if(!this.canClose.get())return;this._setVisible(!1,void 0);let e=this.currentElement.get();e&&(e.type===r.Deleted?this._models.originalReveal(R.e.fromPositions(new M.L(e.originalLineNumber,1))):this._models.modifiedReveal(e.type!==r.Header?R.e.fromPositions(new M.L(e.modifiedLineNumber,1)):void 0))}close(){this.canClose.get()&&(this._setVisible(!1,void 0),this._models.modifiedFocus())}};Q=K([U(4,H.IV)],Q),(n=r||(r={}))[n.Header=0]="Header",n[n.Unchanged=1]="Unchanged",n[n.Deleted=2]="Deleted",n[n.Added=3]="Added";class Z{constructor(e,t){this.range=e,this.lines=t}}class Y{constructor(){this.type=r.Header}}class J{constructor(e,t){this.diff=e,this.originalLineNumber=t,this.type=r.Deleted,this.modifiedLineNumber=void 0}}class X{constructor(e,t){this.diff=e,this.modifiedLineNumber=t,this.type=r.Added,this.originalLineNumber=void 0}}class ee{constructor(e,t){this.originalLineNumber=e,this.modifiedLineNumber=t,this.type=r.Unchanged}}let et=class extends g.JT{constructor(e,t,i,n,s,o){super(),this._element=e,this._model=t,this._width=i,this._height=n,this._models=s,this._languageService=o,this.domNode=this._element,this.domNode.className="monaco-component diff-review monaco-editor-background";let r=document.createElement("div");r.className="diff-review-actions",this._actionBar=this._register(new w.o(r)),this._register((0,p.EH)(e=>{this._actionBar.clear(),this._model.canClose.read(e)&&this._actionBar.push(new S.aU("diffreview.close",(0,W.NC)("label.close","Close"),"close-diff-review "+D.k.asClassName(j),!0,async()=>t.close()),{label:!1,icon:!0})})),this._content=document.createElement("div"),this._content.className="diff-review-content",this._content.setAttribute("role","code"),this._scrollbar=this._register(new y.s$(this._content,{})),(0,d.mc)(this.domNode,this._scrollbar.getDomNode(),r),this._register((0,p.EH)(e=>{this._height.read(e),this._width.read(e),this._scrollbar.scanDomNode()})),this._register((0,g.OF)(()=>{(0,d.mc)(this.domNode)})),this._register((0,N.bg)(this.domNode,{width:this._width,height:this._height})),this._register((0,N.bg)(this._content,{width:this._width,height:this._height})),this._register((0,p.gp)((e,t)=>{this._model.currentGroup.read(e),this._render(t)})),this._register((0,d.mu)(this.domNode,"keydown",e=>{(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),this._model.goToNextLine()),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),this._model.goToPreviousLine()),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),this._model.close()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),this._model.revealCurrentElementInEditor())}))}_render(e){let t=this._models.getOriginalOptions(),i=this._models.getModifiedOptions(),n=document.createElement("div");n.className="diff-review-table",n.setAttribute("role","list"),n.setAttribute("aria-label",(0,W.NC)("ariaLabel","Accessible Diff Viewer. Use arrow up and down to navigate.")),(0,x.N)(n,i.get(50)),(0,d.mc)(this._content,n);let s=this._models.getOriginalModel(),o=this._models.getModifiedModel();if(!s||!o)return;let l=s.getOptions(),a=o.getOptions(),h=i.get(67),u=this._model.currentGroup.get();for(let c of(null==u?void 0:u.lines)||[]){let g;if(!u)break;if(c.type===r.Header){let e=document.createElement("div");e.className="diff-review-row",e.setAttribute("role","listitem");let t=u.range,i=this._model.currentGroupIndex.get(),n=this._model.groups.get().length,s=e=>0===e?(0,W.NC)("no_lines_changed","no lines changed"):1===e?(0,W.NC)("one_line_changed","1 line changed"):(0,W.NC)("more_lines_changed","{0} lines changed",e),o=s(t.original.length),r=s(t.modified.length);e.setAttribute("aria-label",(0,W.NC)({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines changed", "1 line changed" or "X lines changed", localized separately.']},"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}",i+1,n,t.original.startLineNumber,o,t.modified.startLineNumber,r));let l=document.createElement("div");l.className="diff-review-cell diff-review-summary",l.appendChild(document.createTextNode(`${i+1}/${n}: @@ -${t.original.startLineNumber},${t.original.length} +${t.modified.startLineNumber},${t.modified.length} @@`)),e.appendChild(l),g=e}else g=this._createRow(c,h,this._width.get(),t,s,l,i,o,a);n.appendChild(g);let m=(0,p.nK)(e=>this._model.currentElement.read(e)===c);e.add((0,p.EH)(e=>{let t=m.read(e);g.tabIndex=t?0:-1,t&&g.focus()})),e.add((0,d.nm)(g,"focus",()=>{this._model.goToLine(c)}))}this._scrollbar.scanDomNode()}_createRow(e,t,i,n,s,o,l,a,d){let h;let u=n.get(145),c=u.glyphMarginWidth+u.lineNumbersWidth,g=l.get(145),p=10+g.glyphMarginWidth+g.lineNumbersWidth,m="diff-review-row",f="",_=null;switch(e.type){case r.Added:m="diff-review-row line-insert",f=" char-insert",_=$;break;case r.Deleted:m="diff-review-row line-delete",f=" char-delete",_=q}let v=document.createElement("div");v.style.minWidth=i+"px",v.className=m,v.setAttribute("role","listitem"),v.ariaLevel="";let b=document.createElement("div");b.className="diff-review-cell",b.style.height=`${t}px`,v.appendChild(b);let C=document.createElement("span");C.style.width=c+"px",C.style.minWidth=c+"px",C.className="diff-review-line-number"+f,void 0!==e.originalLineNumber?C.appendChild(document.createTextNode(String(e.originalLineNumber))):C.innerText="\xa0",b.appendChild(C);let w=document.createElement("span");w.style.width=p+"px",w.style.minWidth=p+"px",w.style.paddingRight="10px",w.className="diff-review-line-number"+f,void 0!==e.modifiedLineNumber?w.appendChild(document.createTextNode(String(e.modifiedLineNumber))):w.innerText="\xa0",b.appendChild(w);let y=document.createElement("span");if(y.className="diff-review-spacer",_){let e=document.createElement("span");e.className=D.k.asClassName(_),e.innerText="\xa0\xa0",y.appendChild(e)}else y.innerText="\xa0\xa0";if(b.appendChild(y),void 0!==e.modifiedLineNumber){let t=this._getLineHtml(a,l,d.tabSize,e.modifiedLineNumber,this._languageService.languageIdCodec);G._ttPolicy&&(t=G._ttPolicy.createHTML(t)),b.insertAdjacentHTML("beforeend",t),h=a.getLineContent(e.modifiedLineNumber)}else{let t=this._getLineHtml(s,n,o.tabSize,e.originalLineNumber,this._languageService.languageIdCodec);G._ttPolicy&&(t=G._ttPolicy.createHTML(t)),b.insertAdjacentHTML("beforeend",t),h=s.getLineContent(e.originalLineNumber)}0===h.length&&(h=(0,W.NC)("blankLine","blank"));let S="";switch(e.type){case r.Unchanged:S=e.originalLineNumber===e.modifiedLineNumber?(0,W.NC)({key:"unchangedLine",comment:["The placeholders are contents of the line and should not be translated."]},"{0} unchanged line {1}",h,e.originalLineNumber):(0,W.NC)("equalLine","{0} original line {1} modified line {2}",h,e.originalLineNumber,e.modifiedLineNumber);break;case r.Added:S=(0,W.NC)("insertLine","+ {0} modified line {1}",h,e.modifiedLineNumber);break;case r.Deleted:S=(0,W.NC)("deleteLine","- {0} original line {1}",h,e.originalLineNumber)}return v.setAttribute("aria-label",S),v}_getLineHtml(e,t,i,n,s){let o=e.getLineContent(n),r=t.get(50),l=O.A.createEmpty(o,s),a=B.wA.isBasicASCII(o,e.mightContainNonBasicASCII()),d=B.wA.containsRTL(o,a,e.mightContainRTL()),h=(0,F.tF)(new F.IJ(r.isMonospace&&!t.get(33),r.canUseHalfwidthRightwardsArrow,o,!1,a,d,0,l,[],i,0,r.spaceWidth,r.middotWidth,r.wsmiddotWidth,t.get(117),t.get(99),t.get(94),t.get(51)!==E.n0.OFF,null));return h.html}};et=K([U(5,P.O)],et);class ei{constructor(e){this.editors=e}getOriginalModel(){return this.editors.original.getModel()}getOriginalOptions(){return this.editors.original.getOptions()}originalReveal(e){this.editors.original.revealRange(e),this.editors.original.setSelection(e),this.editors.original.focus()}getModifiedModel(){return this.editors.modified.getModel()}getModifiedOptions(){return this.editors.modified.getOptions()}modifiedReveal(e){e&&(this.editors.modified.revealRange(e),this.editors.modified.setSelection(e)),this.editors.modified.focus()}modifiedSetSelection(e){this.editors.modified.setSelection(e)}modifiedFocus(){this.editors.modified.focus()}getModifiedPosition(){var e;return null!==(e=this.editors.modified.getPosition())&&void 0!==e?e:void 0}}class en extends g.JT{constructor(e,t,i,n,s){super(),this._rootElement=e,this._diffModel=t,this._originalEditorLayoutInfo=i,this._modifiedEditorLayoutInfo=n,this._editors=s,this._originalScrollTop=(0,p.rD)(this._editors.original.onDidScrollChange,()=>this._editors.original.getScrollTop()),this._modifiedScrollTop=(0,p.rD)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._viewZonesChanged=(0,p.aq)("onDidChangeViewZones",this._editors.modified.onDidChangeViewZones),this.width=(0,p.uh)(this,0),this._modifiedViewZonesChangedSignal=(0,p.aq)("modified.onDidChangeViewZones",this._editors.modified.onDidChangeViewZones),this._originalViewZonesChangedSignal=(0,p.aq)("original.onDidChangeViewZones",this._editors.original.onDidChangeViewZones),this._state=(0,p.Be)(this,(e,t)=>{var i;this._element.replaceChildren();let n=this._diffModel.read(e),s=null===(i=null==n?void 0:n.diff.read(e))||void 0===i?void 0:i.movedTexts;if(!s||0===s.length){this.width.set(0,void 0);return}this._viewZonesChanged.read(e);let o=this._originalEditorLayoutInfo.read(e),r=this._modifiedEditorLayoutInfo.read(e);if(!o||!r){this.width.set(0,void 0);return}this._modifiedViewZonesChangedSignal.read(e),this._originalViewZonesChangedSignal.read(e);let l=s.map(t=>{function i(e,t){let i=t.getTopForLineNumber(e.startLineNumber,!0),n=t.getTopForLineNumber(e.endLineNumberExclusive,!0);return(i+n)/2}let n=i(t.lineRangeMapping.original,this._editors.original),s=this._originalScrollTop.read(e),o=i(t.lineRangeMapping.modified,this._editors.modified),r=this._modifiedScrollTop.read(e),l=n-s,a=o-r,d=Math.min(n,o),h=Math.max(n,o);return{range:new T.q(d,h),from:l,to:a,fromWithoutScroll:n,toWithoutScroll:o,move:t}});l.sort((0,L.f_)((0,L.tT)(e=>e.fromWithoutScroll>e.toWithoutScroll,L.nW),(0,L.tT)(e=>e.fromWithoutScroll>e.toWithoutScroll?e.fromWithoutScroll:-e.toWithoutScroll,L.fv)));let a=es.compute(l.map(e=>e.range)),d=o.verticalScrollbarWidth,h=(a.getTrackCount()-1)*10+20,u=d+h+(r.contentLeft-en.movedCodeBlockPadding),c=0;for(let e of l){let i=a.getTrack(c),s=d+10+10*i,o=r.glyphMarginWidth+r.lineNumbersWidth,l=document.createElementNS("http://www.w3.org/2000/svg","rect");l.classList.add("arrow-rectangle"),l.setAttribute("x",`${u-o}`),l.setAttribute("y",`${e.to-9}`),l.setAttribute("width",`${o}`),l.setAttribute("height","18"),this._element.appendChild(l);let h=document.createElementNS("http://www.w3.org/2000/svg","g"),g=document.createElementNS("http://www.w3.org/2000/svg","path");g.setAttribute("d",`M 0 ${e.from} L ${s} ${e.from} L ${s} ${e.to} L ${u-15} ${e.to}`),g.setAttribute("fill","none"),h.appendChild(g);let m=document.createElementNS("http://www.w3.org/2000/svg","polygon");m.classList.add("arrow"),t.add((0,p.EH)(t=>{g.classList.toggle("currentMove",e.move===n.activeMovedText.read(t)),m.classList.toggle("currentMove",e.move===n.activeMovedText.read(t))})),m.setAttribute("points",`${u-15},${e.to-7.5} ${u},${e.to} ${u-15},${e.to+7.5}`),h.appendChild(m),this._element.appendChild(h),c++}this.width.set(h,void 0)}),this._element=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("class","moved-blocks-lines"),this._rootElement.appendChild(this._element),this._register((0,g.OF)(()=>this._element.remove())),this._register((0,p.EH)(e=>{let t=this._originalEditorLayoutInfo.read(e),i=this._modifiedEditorLayoutInfo.read(e);t&&i&&(this._element.style.left=`${t.width-t.verticalScrollbarWidth}px`,this._element.style.height=`${t.height}px`,this._element.style.width=`${t.verticalScrollbarWidth+t.contentLeft-en.movedCodeBlockPadding+this.width.read(e)}px`)})),this._register((0,p.jx)(this._state));let o=(0,p.nK)(e=>{let t=this._diffModel.read(e),i=null==t?void 0:t.diff.read(e);return i?i.movedTexts.map(e=>({move:e,original:new N.GD((0,p.Dz)(e.lineRangeMapping.original.startLineNumber-1),18),modified:new N.GD((0,p.Dz)(e.lineRangeMapping.modified.startLineNumber-1),18)})):[]});this._register((0,N.Sv)(this._editors.original,o.map(e=>e.map(e=>e.original)))),this._register((0,N.Sv)(this._editors.modified,o.map(e=>e.map(e=>e.modified)))),this._register((0,p.gp)((e,t)=>{let i=o.read(e);for(let e of i)t.add(new eo(this._editors.original,e.original,e.move,"original",this._diffModel.get())),t.add(new eo(this._editors.modified,e.modified,e.move,"modified",this._diffModel.get()))}));let r=(0,p.aq)("original.onDidFocusEditorWidget",e=>this._editors.original.onDidFocusEditorWidget(()=>setTimeout(()=>e(void 0),0))),l=(0,p.aq)("modified.onDidFocusEditorWidget",e=>this._editors.modified.onDidFocusEditorWidget(()=>setTimeout(()=>e(void 0),0))),a="modified";this._register((0,p.nJ)({createEmptyChangeSummary:()=>void 0,handleChange:(e,t)=>(e.didChange(r)&&(a="original"),e.didChange(l)&&(a="modified"),!0)},e=>{let t;r.read(e),l.read(e);let i=this._diffModel.read(e);if(!i)return;let n=i.diff.read(e);if(n&&"original"===a){let i=this._editors.originalCursor.read(e);i&&(t=n.movedTexts.find(e=>e.lineRangeMapping.original.contains(i.lineNumber)))}if(n&&"modified"===a){let i=this._editors.modifiedCursor.read(e);i&&(t=n.movedTexts.find(e=>e.lineRangeMapping.modified.contains(i.lineNumber)))}t!==i.movedTextToCompare.get()&&i.movedTextToCompare.set(void 0,void 0),i.setActiveMovedText(t)}))}}en.movedCodeBlockPadding=4;class es{static compute(e){let t=[],i=[];for(let n of e){let e=t.findIndex(e=>!e.intersectsStrict(n));-1===e&&(t.length>=6?e=(0,h.Y0)(t,(0,L.tT)(e=>e.intersectWithRangeLength(n),L.fv)):(e=t.length,t.push(new T.M))),t[e].addRange(n),i.push(e)}return new es(t.length,i)}constructor(e,t){this._trackCount=e,this.trackPerLineIdx=t}getTrack(e){return this.trackPerLineIdx[e]}getTrackCount(){return this._trackCount}}class eo extends N.N9{constructor(e,t,i,n,s){let o;let r=(0,d.h)("div.diff-hidden-lines-widget");super(e,t,r.root),this._editor=e,this._move=i,this._kind=n,this._diffModel=s,this._nodes=(0,d.h)("div.diff-moved-code-block",{style:{marginRight:"4px"}},[(0,d.h)("div.text-content@textContent"),(0,d.h)("div.action-bar@actionBar")]),r.root.appendChild(this._nodes.root);let l=(0,p.rD)(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this._register((0,N.bg)(this._nodes.root,{paddingRight:l.map(e=>e.verticalScrollbarWidth)})),o=i.changes.length>0?"original"===this._kind?(0,W.NC)("codeMovedToWithChanges","Code moved with changes to line {0}-{1}",this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive-1):(0,W.NC)("codeMovedFromWithChanges","Code moved with changes from line {0}-{1}",this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive-1):"original"===this._kind?(0,W.NC)("codeMovedTo","Code moved to line {0}-{1}",this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive-1):(0,W.NC)("codeMovedFrom","Code moved from line {0}-{1}",this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive-1);let a=this._register(new w.o(this._nodes.actionBar,{highlightToggledItems:!0})),h=new S.aU("",o,"",!1);a.push(h,{icon:!1,label:!0});let u=new S.aU("","Compare",D.k.asClassName(k.l.compareChanges),!0,()=>{this._editor.focus(),this._diffModel.movedTextToCompare.set(this._diffModel.movedTextToCompare.get()===i?void 0:this._move,void 0)});this._register((0,p.EH)(e=>{let t=this._diffModel.movedTextToCompare.read(e)===i;u.checked=t})),a.push(u,{icon:!1,label:!0})}}var er=i(27774);class el extends g.JT{constructor(e,t,i,n){super(),this._editors=e,this._diffModel=t,this._options=i,this._decorations=(0,p.nK)(this,e=>{var t;let i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.diff.read(e);if(!i)return null;let n=this._diffModel.read(e).movedTextToCompare.read(e),s=this._options.renderIndicators.read(e),o=this._options.showEmptyDecorations.read(e),r=[],l=[];if(!n)for(let e of i.mappings)if(e.lineRangeMapping.original.isEmpty||r.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:s?er.iq:er.i_}),e.lineRangeMapping.modified.isEmpty||l.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:s?er.vv:er.rd}),e.lineRangeMapping.modified.isEmpty||e.lineRangeMapping.original.isEmpty)e.lineRangeMapping.original.isEmpty||r.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:er.W3}),e.lineRangeMapping.modified.isEmpty||l.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:er.Jv});else for(let t of e.lineRangeMapping.innerChanges||[])e.lineRangeMapping.original.contains(t.originalRange.startLineNumber)&&r.push({range:t.originalRange,options:t.originalRange.isEmpty()&&o?er.$F:er.rq}),e.lineRangeMapping.modified.contains(t.modifiedRange.startLineNumber)&&l.push({range:t.modifiedRange,options:t.modifiedRange.isEmpty()&&o?er.n_:er.LE});if(n)for(let e of n.changes){let t=e.original.toInclusiveRange();t&&r.push({range:t,options:s?er.iq:er.i_});let i=e.modified.toInclusiveRange();for(let t of(i&&l.push({range:i,options:s?er.vv:er.rd}),e.innerChanges||[]))r.push({range:t.originalRange,options:er.rq}),l.push({range:t.modifiedRange,options:er.LE})}let a=this._diffModel.read(e).activeMovedText.read(e);for(let e of i.movedTexts)r.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:{description:"moved",blockClassName:"movedOriginal"+(e===a?" currentMove":""),blockPadding:[en.movedCodeBlockPadding,0,en.movedCodeBlockPadding,en.movedCodeBlockPadding]}}),l.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:{description:"moved",blockClassName:"movedModified"+(e===a?" currentMove":""),blockPadding:[4,0,4,4]}});return{originalDecorations:r,modifiedDecorations:l}}),this._register((0,N.RP)(this._editors.original,this._decorations.map(e=>(null==e?void 0:e.originalDecorations)||[]))),this._register((0,N.RP)(this._editors.modified,this._decorations.map(e=>(null==e?void 0:e.modifiedDecorations)||[])))}}var ea=i(56274);class ed{resetSash(){this._sashRatio.set(void 0,void 0)}constructor(e,t){this._options=e,this.dimensions=t,this.sashLeft=(0,m.B5)(this,e=>{var t;let i=null!==(t=this._sashRatio.read(e))&&void 0!==t?t:this._options.splitViewDefaultRatio.read(e);return this._computeSashLeft(i,e)},(e,t)=>{let i=this.dimensions.width.get();this._sashRatio.set(e/i,t)}),this._sashRatio=(0,p.uh)(this,void 0)}_computeSashLeft(e,t){let i=this.dimensions.width.read(t),n=Math.floor(this._options.splitViewDefaultRatio.read(t)*i),s=this._options.enableSplitViewResizing.read(t)?Math.floor(e*i):n;return i<=200?n:s<100?100:s>i-100?i-100:s}}class eh extends g.JT{constructor(e,t,i,n,s,o){super(),this._domNode=e,this._dimensions=t,this._enabled=i,this._boundarySashes=n,this.sashLeft=s,this._resetSash=o,this._sash=this._register(new ea.g(this._domNode,{getVerticalSashTop:e=>0,getVerticalSashLeft:e=>this.sashLeft.get(),getVerticalSashHeight:e=>this._dimensions.height.get()},{orientation:0})),this._startSashPosition=void 0,this._register(this._sash.onDidStart(()=>{this._startSashPosition=this.sashLeft.get()})),this._register(this._sash.onDidChange(e=>{this.sashLeft.set(this._startSashPosition+(e.currentX-e.startX),void 0)})),this._register(this._sash.onDidEnd(()=>this._sash.layout())),this._register(this._sash.onDidReset(()=>this._resetSash())),this._register((0,p.EH)(e=>{let t=this._boundarySashes.read(e);t&&(this._sash.orthogonalEndSash=t.bottom)})),this._register((0,p.EH)(e=>{let t=this._enabled.read(e);this._sash.state=t?3:0,this.sashLeft.read(e),this._dimensions.height.read(e),this._sash.layout()}))}}var eu=i(44532),ec=i(24162),eg=i(9424),ep=i(66653),em=i(44129),ef=i(87999),e_=i(77207),ev=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},eb=function(e,t){return function(i,n){t(i,n,e)}};let eC=(0,V.yh)("diffProviderFactoryService"),ew=class{constructor(e){this.instantiationService=e}createDiffProvider(e){return this.instantiationService.createInstance(ey,e)}};ew=ev([eb(0,V.TG)],ew),(0,ep.z)(eC,ew,1);let ey=l=class{constructor(e,t,i){this.editorWorkerService=t,this.telemetryService=i,this.onDidChangeEventEmitter=new c.Q5,this.onDidChange=this.onDidChangeEventEmitter.event,this.diffAlgorithm="advanced",this.diffAlgorithmOnDidChangeSubscription=void 0,this.setOptions(e)}dispose(){var e;null===(e=this.diffAlgorithmOnDidChangeSubscription)||void 0===e||e.dispose()}async computeDiff(e,t,i,n){var s,o;if("string"!=typeof this.diffAlgorithm)return this.diffAlgorithm.computeDiff(e,t,i,n);if(e.isDisposed()||t.isDisposed())return{changes:[],identical:!0,quitEarly:!1,moves:[]};if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return 1===t.getLineCount()&&1===t.getLineMaxColumn(1)?{changes:[],identical:!0,quitEarly:!1,moves:[]}:{changes:[new A.gB(new I.z(1,2),new I.z(1,t.getLineCount()+1),[new A.iy(e.getFullModelRange(),t.getFullModelRange())])],identical:!1,quitEarly:!1,moves:[]};let r=JSON.stringify([e.uri.toString(),t.uri.toString()]),a=JSON.stringify([e.id,t.id,e.getAlternativeVersionId(),t.getAlternativeVersionId(),JSON.stringify(i)]),d=l.diffCache.get(r);if(d&&d.context===a)return d.result;let h=em.G.create(),u=await this.editorWorkerService.computeDiff(e.uri,t.uri,i,this.diffAlgorithm),c=h.elapsed();if(this.telemetryService.publicLog2("diffEditor.computeDiff",{timeMs:c,timedOut:null===(s=null==u?void 0:u.quitEarly)||void 0===s||s,detectedMoves:i.computeMoves?null!==(o=null==u?void 0:u.moves.length)&&void 0!==o?o:0:-1}),n.isCancellationRequested)return{changes:[],identical:!1,quitEarly:!0,moves:[]};if(!u)throw Error("no diff result available");return l.diffCache.size>10&&l.diffCache.delete(l.diffCache.keys().next().value),l.diffCache.set(r,{result:u,context:a}),u}setOptions(e){var t;let i=!1;e.diffAlgorithm&&this.diffAlgorithm!==e.diffAlgorithm&&(null===(t=this.diffAlgorithmOnDidChangeSubscription)||void 0===t||t.dispose(),this.diffAlgorithmOnDidChangeSubscription=void 0,this.diffAlgorithm=e.diffAlgorithm,"string"!=typeof e.diffAlgorithm&&(this.diffAlgorithmOnDidChangeSubscription=e.diffAlgorithm.onDidChange(()=>this.onDidChangeEventEmitter.fire())),i=!0),i&&this.onDidChangeEventEmitter.fire()}};ey.diffCache=new Map,ey=l=ev([eb(1,ef.p),eb(2,e_.b)],ey);var eS=i(78586),eL=i(52404),ek=i(7976),eD=i(18084),ex=i(61413);let eN=class extends g.JT{setActiveMovedText(e){this._activeMovedText.set(e,void 0)}constructor(e,t,i){super(),this.model=e,this._options=t,this._diffProviderFactoryService=i,this._isDiffUpToDate=(0,p.uh)(this,!1),this.isDiffUpToDate=this._isDiffUpToDate,this._diff=(0,p.uh)(this,void 0),this.diff=this._diff,this._unchangedRegions=(0,p.uh)(this,void 0),this.unchangedRegions=(0,p.nK)(this,e=>{var t,i;return this._options.hideUnchangedRegions.read(e)?null!==(i=null===(t=this._unchangedRegions.read(e))||void 0===t?void 0:t.regions)&&void 0!==i?i:[]:((0,p.PS)(e=>{var t;for(let i of(null===(t=this._unchangedRegions.get())||void 0===t?void 0:t.regions)||[])i.collapseAll(e)}),[])}),this.movedTextToCompare=(0,p.uh)(this,void 0),this._activeMovedText=(0,p.uh)(this,void 0),this._hoveredMovedText=(0,p.uh)(this,void 0),this.activeMovedText=(0,p.nK)(this,e=>{var t,i;return null!==(i=null!==(t=this.movedTextToCompare.read(e))&&void 0!==t?t:this._hoveredMovedText.read(e))&&void 0!==i?i:this._activeMovedText.read(e)}),this._cancellationTokenSource=new eg.AU,this._diffProvider=(0,p.nK)(this,e=>{let t=this._diffProviderFactoryService.createDiffProvider({diffAlgorithm:this._options.diffAlgorithm.read(e)}),i=(0,p.aq)("onDidChange",t.onDidChange);return{diffProvider:t,onChangeSignal:i}}),this._register((0,g.OF)(()=>this._cancellationTokenSource.cancel()));let n=(0,p.GN)("contentChangedSignal"),s=this._register(new eu.pY(()=>n.trigger(void 0),200));this._register((0,p.EH)(t=>{let i=this._unchangedRegions.read(t);if(!i||i.regions.some(e=>e.isDragged.read(t)))return;let n=i.originalDecorationIds.map(t=>e.original.getDecorationRange(t)).map(e=>e?I.z.fromRangeInclusive(e):void 0),s=i.modifiedDecorationIds.map(t=>e.modified.getDecorationRange(t)).map(e=>e?I.z.fromRangeInclusive(e):void 0),o=i.regions.map((e,i)=>n[i]&&s[i]?new eT(n[i].startLineNumber,s[i].startLineNumber,n[i].length,e.visibleLineCountTop.read(t),e.visibleLineCountBottom.read(t)):void 0).filter(ec.$K),r=[],l=!1;for(let e of(0,L.mw)(o,(e,i)=>e.getHiddenModifiedRange(t).endLineNumberExclusive===i.getHiddenModifiedRange(t).startLineNumber))if(e.length>1){l=!0;let t=e.reduce((e,t)=>e+t.lineCount,0),i=new eT(e[0].originalLineNumber,e[0].modifiedLineNumber,t,e[0].visibleLineCountTop.get(),e[e.length-1].visibleLineCountBottom.get());r.push(i)}else r.push(e[0]);if(l){let t=e.original.deltaDecorations(i.originalDecorationIds,r.map(e=>({range:e.originalUnchangedRange.toInclusiveRange(),options:{description:"unchanged"}}))),n=e.modified.deltaDecorations(i.modifiedDecorationIds,r.map(e=>({range:e.modifiedUnchangedRange.toInclusiveRange(),options:{description:"unchanged"}})));(0,p.PS)(e=>{this._unchangedRegions.set({regions:r,originalDecorationIds:t,modifiedDecorationIds:n},e)})}}));let o=(t,i,n)=>{let s;let o=eT.fromDiffs(t.changes,e.original.getLineCount(),e.modified.getLineCount(),this._options.hideUnchangedRegionsMinimumLineCount.read(n),this._options.hideUnchangedRegionsContextLineCount.read(n)),r=this._unchangedRegions.get();if(r){let t=r.originalDecorationIds.map(t=>e.original.getDecorationRange(t)).map(e=>e?I.z.fromRangeInclusive(e):void 0),i=r.modifiedDecorationIds.map(t=>e.modified.getDecorationRange(t)).map(e=>e?I.z.fromRangeInclusive(e):void 0),o=(0,N.W7)(r.regions.map((e,n)=>{if(!t[n]||!i[n])return;let s=t[n].length;return new eT(t[n].startLineNumber,i[n].startLineNumber,s,Math.min(e.visibleLineCountTop.get(),s),Math.min(e.visibleLineCountBottom.get(),s-e.visibleLineCountTop.get()))}).filter(ec.$K),(e,t)=>!t||e.modifiedLineNumber>=t.modifiedLineNumber+t.lineCount&&e.originalLineNumber>=t.originalLineNumber+t.lineCount),l=o.map(e=>new A.f0(e.getHiddenOriginalRange(n),e.getHiddenModifiedRange(n)));l=A.f0.clip(l,I.z.ofLength(1,e.original.getLineCount()),I.z.ofLength(1,e.modified.getLineCount())),s=A.f0.inverse(l,e.original.getLineCount(),e.modified.getLineCount())}let l=[];if(s)for(let e of o){let t=s.filter(t=>t.original.intersectsStrict(e.originalUnchangedRange)&&t.modified.intersectsStrict(e.modifiedUnchangedRange));l.push(...e.setVisibleRanges(t,i))}else l.push(...o);let a=e.original.deltaDecorations((null==r?void 0:r.originalDecorationIds)||[],l.map(e=>({range:e.originalUnchangedRange.toInclusiveRange(),options:{description:"unchanged"}}))),d=e.modified.deltaDecorations((null==r?void 0:r.modifiedDecorationIds)||[],l.map(e=>({range:e.modifiedUnchangedRange.toInclusiveRange(),options:{description:"unchanged"}})));this._unchangedRegions.set({regions:l,originalDecorationIds:a,modifiedDecorationIds:d},i)};this._register(e.modified.onDidChangeContent(t=>{let i=this._diff.get();if(i){let i=eL.Q.fromModelContentChanges(t.changes),n=eR(this._lastDiff,i,e.original,e.modified);n&&(this._lastDiff=n,(0,p.PS)(e=>{this._diff.set(eE.fromDiffResult(this._lastDiff),e),o(n,e);let t=this.movedTextToCompare.get();this.movedTextToCompare.set(t?this._lastDiff.moves.find(e=>e.lineRangeMapping.modified.intersect(t.lineRangeMapping.modified)):void 0,e)}))}this._isDiffUpToDate.set(!1,void 0),s.schedule()})),this._register(e.original.onDidChangeContent(t=>{let i=this._diff.get();if(i){let i=eL.Q.fromModelContentChanges(t.changes),n=eM(this._lastDiff,i,e.original,e.modified);n&&(this._lastDiff=n,(0,p.PS)(e=>{this._diff.set(eE.fromDiffResult(this._lastDiff),e),o(n,e);let t=this.movedTextToCompare.get();this.movedTextToCompare.set(t?this._lastDiff.moves.find(e=>e.lineRangeMapping.modified.intersect(t.lineRangeMapping.modified)):void 0,e)}))}this._isDiffUpToDate.set(!1,void 0),s.schedule()})),this._register((0,p.gp)(async(t,i)=>{var r,l,a,d,h;this._options.hideUnchangedRegionsMinimumLineCount.read(t),this._options.hideUnchangedRegionsContextLineCount.read(t),s.cancel(),n.read(t);let u=this._diffProvider.read(t);u.onChangeSignal.read(t),(0,N.NW)(eS.DW,t),(0,N.NW)(eD.xG,t),this._isDiffUpToDate.set(!1,void 0);let c=[];i.add(e.original.onDidChangeContent(e=>{let t=eL.Q.fromModelContentChanges(e.changes);c=(0,ek.o)(c,t)}));let g=[];i.add(e.modified.onDidChangeContent(e=>{let t=eL.Q.fromModelContentChanges(e.changes);g=(0,ek.o)(g,t)}));let m=await u.diffProvider.computeDiff(e.original,e.modified,{ignoreTrimWhitespace:this._options.ignoreTrimWhitespace.read(t),maxComputationTimeMs:this._options.maxComputationTimeMs.read(t),computeMoves:this._options.showMoves.read(t)},this._cancellationTokenSource.token);!(this._cancellationTokenSource.token.isCancellationRequested||e.original.isDisposed()||e.modified.isDisposed())&&(m=null!==(l=eR(m=null!==(r=eM((a=m,d=e.original,h=e.modified,m={changes:a.changes.map(e=>new A.gB(e.original,e.modified,e.innerChanges?e.innerChanges.map(e=>{let t,i;return t=e.originalRange,i=e.modifiedRange,(1!==t.endColumn||1!==i.endColumn)&&t.endColumn===d.getLineMaxColumn(t.endLineNumber)&&i.endColumn===h.getLineMaxColumn(i.endLineNumber)&&t.endLineNumber{o(m,e),this._lastDiff=m;let t=eE.fromDiffResult(m);this._diff.set(t,e),this._isDiffUpToDate.set(!0,e);let i=this.movedTextToCompare.get();this.movedTextToCompare.set(i?this._lastDiff.moves.find(e=>e.lineRangeMapping.modified.intersect(i.lineRangeMapping.modified)):void 0,e)}))}))}ensureModifiedLineIsVisible(e,t,i){var n,s;if((null===(n=this.diff.get())||void 0===n?void 0:n.mappings.length)===0)return;let o=(null===(s=this._unchangedRegions.get())||void 0===s?void 0:s.regions)||[];for(let n of o)if(n.getHiddenModifiedRange(void 0).contains(e)){n.showModifiedLine(e,t,i);return}}ensureOriginalLineIsVisible(e,t,i){var n,s;if((null===(n=this.diff.get())||void 0===n?void 0:n.mappings.length)===0)return;let o=(null===(s=this._unchangedRegions.get())||void 0===s?void 0:s.regions)||[];for(let n of o)if(n.getHiddenOriginalRange(void 0).contains(e)){n.showOriginalLine(e,t,i);return}}async waitForDiff(){await (0,p.F_)(this.isDiffUpToDate,e=>e)}serializeState(){let e=this._unchangedRegions.get();return{collapsedRegions:null==e?void 0:e.regions.map(e=>({range:e.getHiddenModifiedRange(void 0).serialize()}))}}restoreSerializedState(e){var t;let i=null===(t=e.collapsedRegions)||void 0===t?void 0:t.map(e=>I.z.deserialize(e.range)),n=this._unchangedRegions.get();n&&i&&(0,p.PS)(e=>{for(let t of n.regions)for(let n of i)if(t.modifiedUnchangedRange.intersect(n)){t.setHiddenModifiedRange(n,e);break}})}};eN=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([function(e,t){eC(e,t,2)}],eN);class eE{static fromDiffResult(e){return new eE(e.changes.map(e=>new eI(e)),e.moves||[],e.identical,e.quitEarly)}constructor(e,t,i,n){this.mappings=e,this.movedTexts=t,this.identical=i,this.quitEarly=n}}class eI{constructor(e){this.lineRangeMapping=e}}class eT{static fromDiffs(e,t,i,n,s){let o=A.gB.inverse(e,t,i),r=[];for(let e of o){let o=e.original.startLineNumber,l=e.modified.startLineNumber,a=e.original.length,d=1===o&&1===l,h=o+a===t+1&&l+a===i+1;(d||h)&&a>=s+n?(d&&!h&&(a-=s),h&&!d&&(o+=s,l+=s,a-=s),r.push(new eT(o,l,a,0,0))):a>=2*s+n&&(o+=s,l+=s,a-=2*s,r.push(new eT(o,l,a,0,0)))}return r}get originalUnchangedRange(){return I.z.ofLength(this.originalLineNumber,this.lineCount)}get modifiedUnchangedRange(){return I.z.ofLength(this.modifiedLineNumber,this.lineCount)}constructor(e,t,i,n,s){this.originalLineNumber=e,this.modifiedLineNumber=t,this.lineCount=i,this._visibleLineCountTop=(0,p.uh)(this,0),this.visibleLineCountTop=this._visibleLineCountTop,this._visibleLineCountBottom=(0,p.uh)(this,0),this.visibleLineCountBottom=this._visibleLineCountBottom,this._shouldHideControls=(0,p.nK)(this,e=>this.visibleLineCountTop.read(e)+this.visibleLineCountBottom.read(e)===this.lineCount&&!this.isDragged.read(e)),this.isDragged=(0,p.uh)(this,void 0);let o=Math.max(Math.min(n,this.lineCount),0),r=Math.max(Math.min(s,this.lineCount-n),0);(0,ex.wN)(n===o),(0,ex.wN)(s===r),this._visibleLineCountTop.set(o,void 0),this._visibleLineCountBottom.set(r,void 0)}setVisibleRanges(e,t){let i=[],n=new I.i(e.map(e=>e.modified)).subtractFrom(this.modifiedUnchangedRange),s=this.originalLineNumber,o=this.modifiedLineNumber,r=this.modifiedLineNumber+this.lineCount;if(0===n.ranges.length)this.showAll(t),i.push(this);else{let e=0;for(let l of n.ranges){let a=e===n.ranges.length-1;e++;let d=(a?r:l.endLineNumberExclusive)-o,h=new eT(s,o,d,0,0);h.setHiddenModifiedRange(l,t),i.push(h),s=h.originalUnchangedRange.endLineNumberExclusive,o=h.modifiedUnchangedRange.endLineNumberExclusive}}return i}shouldHideControls(e){return this._shouldHideControls.read(e)}getHiddenOriginalRange(e){return I.z.ofLength(this.originalLineNumber+this._visibleLineCountTop.read(e),this.lineCount-this._visibleLineCountTop.read(e)-this._visibleLineCountBottom.read(e))}getHiddenModifiedRange(e){return I.z.ofLength(this.modifiedLineNumber+this._visibleLineCountTop.read(e),this.lineCount-this._visibleLineCountTop.read(e)-this._visibleLineCountBottom.read(e))}setHiddenModifiedRange(e,t){let i=e.startLineNumber-this.modifiedLineNumber,n=this.modifiedLineNumber+this.lineCount-e.endLineNumberExclusive;this.setState(i,n,t)}getMaxVisibleLineCountTop(){return this.lineCount-this._visibleLineCountBottom.get()}getMaxVisibleLineCountBottom(){return this.lineCount-this._visibleLineCountTop.get()}showMoreAbove(e=10,t){let i=this.getMaxVisibleLineCountTop();this._visibleLineCountTop.set(Math.min(this._visibleLineCountTop.get()+e,i),t)}showMoreBelow(e=10,t){let i=this.lineCount-this._visibleLineCountTop.get();this._visibleLineCountBottom.set(Math.min(this._visibleLineCountBottom.get()+e,i),t)}showAll(e){this._visibleLineCountBottom.set(this.lineCount-this._visibleLineCountTop.get(),e)}showModifiedLine(e,t,i){let n=e+1-(this.modifiedLineNumber+this._visibleLineCountTop.get()),s=this.modifiedLineNumber-this._visibleLineCountBottom.get()+this.lineCount-e;0===t&&n{var s;this._contextMenuService.showContextMenu({domForShadowRoot:c&&null!==(s=i.getDomNode())&&void 0!==s?s:void 0,getAnchor:()=>({x:e,y:t}),getActions:()=>{let e=[],t=n.modified.isEmpty;e.push(new S.aU("diff.clipboard.copyDeletedContent",t?n.original.length>1?(0,W.NC)("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):(0,W.NC)("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"):n.original.length>1?(0,W.NC)("diff.clipboard.copyChangedLinesContent.label","Copy changed lines"):(0,W.NC)("diff.clipboard.copyChangedLinesContent.single.label","Copy changed line"),void 0,!0,async()=>{let e=this._originalTextModel.getValueInRange(n.original.toExclusiveRange());await this._clipboardService.writeText(e)})),n.original.length>1&&e.push(new S.aU("diff.clipboard.copyDeletedLineContent",t?(0,W.NC)("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",n.original.startLineNumber+u):(0,W.NC)("diff.clipboard.copyChangedLineContent.label","Copy changed line ({0})",n.original.startLineNumber+u),void 0,!0,async()=>{let e=this._originalTextModel.getLineContent(n.original.startLineNumber+u);if(""===e){let t=this._originalTextModel.getEndOfLineSequence();e=0===t?"\n":"\r\n"}await this._clipboardService.writeText(e)}));let s=i.getOption(91);return s||e.push(new S.aU("diff.inline.revertChange",(0,W.NC)("diff.inline.revertChange.label","Revert this change"),void 0,!0,async()=>{this._editor.revert(this._diff)})),e},autoSelectFirstItem:!0})};this._register((0,d.mu)(this._diffActions,"mousedown",e=>{if(!e.leftButton)return;let{top:t,height:i}=(0,d.i)(this._diffActions),n=Math.floor(h/3);e.preventDefault(),g(e.posx,t+i+n)})),this._register(i.onMouseMove(e=>{(8===e.target.type||5===e.target.type)&&e.target.detail.viewZoneId===this._getViewZoneId()?(u=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,h),this.visibility=!0):this.visibility=!1})),this._register(i.onMouseDown(e=>{if(e.event.leftButton&&(8===e.target.type||5===e.target.type)){let t=e.target.detail.viewZoneId;t===this._getViewZoneId()&&(e.event.preventDefault(),u=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,h),g(e.event.posx,e.event.posy+h))}}))}_updateLightBulbPosition(e,t,i){let{top:n}=(0,d.i)(e),s=Math.floor((t-n)/i);if(this._diffActions.style.top=`${s*i}px`,this._viewLineCounts){let e=0;for(let t=0;te});class eW{constructor(e,t,i,n){this.lineTokens=e,this.lineBreakData=t,this.mightContainNonBasicASCII=i,this.mightContainRTL=n}}class eH{static fromEditor(e){var t;let i=e.getOptions(),n=i.get(50),s=i.get(145);return new eH((null===(t=e.getModel())||void 0===t?void 0:t.getOptions().tabSize)||0,n,i.get(33),n.typicalHalfwidthCharacterWidth,i.get(104),i.get(67),s.decorationsWidth,i.get(117),i.get(99),i.get(94),i.get(51))}constructor(e,t,i,n,s,o,r,l,a,d,h){this.tabSize=e,this.fontInfo=t,this.disableMonospaceOptimizations=i,this.typicalHalfwidthCharacterWidth=n,this.scrollBeyondLastColumn=s,this.lineHeight=o,this.lineDecorationsWidth=r,this.stopRenderingLineAfter=l,this.renderWhitespace=a,this.renderControlCharacters=d,this.fontLigatures=h}}function eV(e,t,i,n,s,o,r,l){l.appendString('
    ');let a=t.getLineContent(),d=B.wA.isBasicASCII(a,s),h=B.wA.containsRTL(a,d,o),u=(0,F.d1)(new F.IJ(r.fontInfo.isMonospace&&!r.disableMonospaceOptimizations,r.fontInfo.canUseHalfwidthRightwardsArrow,a,!1,d,h,0,t,i,r.tabSize,0,r.fontInfo.spaceWidth,r.fontInfo.middotWidth,r.fontInfo.wsmiddotWidth,r.stopRenderingLineAfter,r.renderWhitespace,r.renderControlCharacters,r.fontLigatures!==E.n0.OFF,null),l);return l.appendString("
    "),u.characterMapping.getHorizontalOffset(u.characterMapping.length)}var ez=i(59203),eK=i(10727),eU=function(e,t){return function(i,n){t(i,n,e)}};let e$=class extends g.JT{constructor(e,t,i,n,s,o,r,l,a,h){super(),this._targetWindow=e,this._editors=t,this._diffModel=i,this._options=n,this._diffEditorWidget=s,this._canIgnoreViewZoneUpdateEvent=o,this._origViewZonesToIgnore=r,this._modViewZonesToIgnore=l,this._clipboardService=a,this._contextMenuService=h,this._originalTopPadding=(0,p.uh)(this,0),this._originalScrollOffset=(0,p.uh)(this,0),this._originalScrollOffsetAnimated=(0,N.Vm)(this._targetWindow,this._originalScrollOffset,this._store),this._modifiedTopPadding=(0,p.uh)(this,0),this._modifiedScrollOffset=(0,p.uh)(this,0),this._modifiedScrollOffsetAnimated=(0,N.Vm)(this._targetWindow,this._modifiedScrollOffset,this._store);let u=(0,p.uh)("invalidateAlignmentsState",0),c=this._register(new eu.pY(()=>{u.set(u.get()+1,void 0)},0));this._register(this._editors.original.onDidChangeViewZones(e=>{this._canIgnoreViewZoneUpdateEvent()||c.schedule()})),this._register(this._editors.modified.onDidChangeViewZones(e=>{this._canIgnoreViewZoneUpdateEvent()||c.schedule()})),this._register(this._editors.original.onDidChangeConfiguration(e=>{(e.hasChanged(146)||e.hasChanged(67))&&c.schedule()})),this._register(this._editors.modified.onDidChangeConfiguration(e=>{(e.hasChanged(146)||e.hasChanged(67))&&c.schedule()}));let m=this._diffModel.map(e=>e?(0,p.rD)(e.model.original.onDidChangeTokens,()=>2===e.model.original.tokenization.backgroundTokenizationState):void 0).map((e,t)=>null==e?void 0:e.read(t)),f=(0,p.nK)(e=>{let t=this._diffModel.read(e),i=null==t?void 0:t.diff.read(e);if(!t||!i)return null;u.read(e);let n=this._options.renderSideBySide.read(e);return eq(this._editors.original,this._editors.modified,i.mappings,this._origViewZonesToIgnore,this._modViewZonesToIgnore,n)}),_=(0,p.nK)(e=>{var t;let i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.movedTextToCompare.read(e);if(!i)return null;u.read(e);let n=i.changes.map(e=>new eI(e));return eq(this._editors.original,this._editors.modified,n,this._origViewZonesToIgnore,this._modViewZonesToIgnore,!0)});function v(){let e=document.createElement("div");return e.className="diagonal-fill",e}let b=this._register(new g.SL);this.viewZones=(0,p.Be)(this,(e,t)=>{var i,n,o,r,l,a,h,u;b.clear();let c=f.read(e)||[],g=[],p=[],C=this._modifiedTopPadding.read(e);C>0&&p.push({afterLineNumber:0,domNode:document.createElement("div"),heightInPx:C,showInHiddenAreas:!0,suppressMouseDown:!0});let w=this._originalTopPadding.read(e);w>0&&g.push({afterLineNumber:0,domNode:document.createElement("div"),heightInPx:w,showInHiddenAreas:!0,suppressMouseDown:!0});let y=this._options.renderSideBySide.read(e),S=y?void 0:null===(i=this._editors.modified._getViewModel())||void 0===i?void 0:i.createLineBreaksComputer();if(S){let e=this._editors.original.getModel();for(let t of c)if(t.diff)for(let i=t.originalRange.startLineNumber;ie.getLineCount())return{orig:g,mod:p};null==S||S.addRequest(e.getLineContent(i),null,null)}}let L=null!==(n=null==S?void 0:S.finalize())&&void 0!==n?n:[],N=0,E=this._editors.modified.getOption(67),I=null===(o=this._diffModel.read(e))||void 0===o?void 0:o.movedTextToCompare.read(e),T=null!==(l=null===(r=this._editors.original.getModel())||void 0===r?void 0:r.mightContainNonBasicASCII())&&void 0!==l&&l,M=null!==(h=null===(a=this._editors.original.getModel())||void 0===a?void 0:a.mightContainRTL())&&void 0!==h&&h,R=eH.fromEditor(this._editors.modified);for(let i of c)if(i.diff&&!y){if(!i.originalRange.isEmpty){let t;m.read(e);let n=document.createElement("div");n.classList.add("view-lines","line-delete","monaco-mouse-cursor-text");let s=this._editors.original.getModel();if(i.originalRange.endLineNumberExclusive-1>s.getLineCount())return{orig:g,mod:p};let o=new eW(i.originalRange.mapToLineArray(e=>s.tokenization.getLineTokens(e)),i.originalRange.mapToLineArray(e=>L[N++]),T,M),r=[];for(let e of i.diff.innerChanges||[])r.push(new B.$t(e.originalRange.delta(-(i.diff.original.startLineNumber-1)),er.rq.className,0));let l=function(e,t,i,n){(0,x.N)(n,t.fontInfo);let s=i.length>0,o=new eO.HT(1e4),r=0,l=0,a=[];for(let n=0;n(0,ec.cW)(t),a,this._editors.modified,i.diff,this._diffEditorWidget,l.viewLineCounts,this._editors.original.getModel(),this._contextMenuService,this._clipboardService));for(let e=0;e1&&g.push({afterLineNumber:i.originalRange.startLineNumber+e,domNode:v(),heightInPx:(t-1)*E,showInHiddenAreas:!0,suppressMouseDown:!0})}p.push({afterLineNumber:i.modifiedRange.startLineNumber-1,domNode:n,heightInPx:l.heightInLines*E,minWidthInPx:l.minWidthInPx,marginDomNode:a,setZoneId(e){t=e},showInHiddenAreas:!0,suppressMouseDown:!0})}let t=document.createElement("div");t.className="gutter-delete",g.push({afterLineNumber:i.originalRange.endLineNumberExclusive-1,domNode:v(),heightInPx:i.modifiedHeightInPx,marginDomNode:t,showInHiddenAreas:!0,suppressMouseDown:!0})}else{let n=i.modifiedHeightInPx-i.originalHeightInPx;if(n>0){if(null==I?void 0:I.lineRangeMapping.original.delta(-1).deltaLength(2).contains(i.originalRange.endLineNumberExclusive-1))continue;g.push({afterLineNumber:i.originalRange.endLineNumberExclusive-1,domNode:v(),heightInPx:n,showInHiddenAreas:!0,suppressMouseDown:!0})}else{let o;if(null==I?void 0:I.lineRangeMapping.modified.delta(-1).deltaLength(2).contains(i.modifiedRange.endLineNumberExclusive-1))continue;i.diff&&i.diff.modified.isEmpty&&this._options.shouldRenderOldRevertArrows.read(e)&&(o=function(){let e=document.createElement("div");return e.className="arrow-revert-change "+D.k.asClassName(k.l.arrowRight),t.add((0,d.nm)(e,"mousedown",e=>e.stopPropagation())),t.add((0,d.nm)(e,"click",e=>{e.stopPropagation(),s.revert(i.diff)})),(0,d.$)("div",{},e)}()),p.push({afterLineNumber:i.modifiedRange.endLineNumberExclusive-1,domNode:v(),heightInPx:-n,marginDomNode:o,showInHiddenAreas:!0,suppressMouseDown:!0})}}for(let t of null!==(u=_.read(e))&&void 0!==u?u:[]){if(!(null==I?void 0:I.lineRangeMapping.original.intersect(t.originalRange))||!(null==I?void 0:I.lineRangeMapping.modified.intersect(t.modifiedRange)))continue;let e=t.modifiedHeightInPx-t.originalHeightInPx;e>0?g.push({afterLineNumber:t.originalRange.endLineNumberExclusive-1,domNode:v(),heightInPx:e,showInHiddenAreas:!0,suppressMouseDown:!0}):p.push({afterLineNumber:t.modifiedRange.endLineNumberExclusive-1,domNode:v(),heightInPx:-e,showInHiddenAreas:!0,suppressMouseDown:!0})}return{orig:g,mod:p}});let C=!1;this._register(this._editors.original.onDidScrollChange(e=>{e.scrollLeftChanged&&!C&&(C=!0,this._editors.modified.setScrollLeft(e.scrollLeft),C=!1)})),this._register(this._editors.modified.onDidScrollChange(e=>{e.scrollLeftChanged&&!C&&(C=!0,this._editors.original.setScrollLeft(e.scrollLeft),C=!1)})),this._originalScrollTop=(0,p.rD)(this._editors.original.onDidScrollChange,()=>this._editors.original.getScrollTop()),this._modifiedScrollTop=(0,p.rD)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._register((0,p.EH)(e=>{let t=this._originalScrollTop.read(e)-(this._originalScrollOffsetAnimated.get()-this._modifiedScrollOffsetAnimated.read(e))-(this._originalTopPadding.get()-this._modifiedTopPadding.read(e));t!==this._editors.modified.getScrollTop()&&this._editors.modified.setScrollTop(t,1)})),this._register((0,p.EH)(e=>{let t=this._modifiedScrollTop.read(e)-(this._modifiedScrollOffsetAnimated.get()-this._originalScrollOffsetAnimated.read(e))-(this._modifiedTopPadding.get()-this._originalTopPadding.read(e));t!==this._editors.original.getScrollTop()&&this._editors.original.setScrollTop(t,1)})),this._register((0,p.EH)(e=>{var t;let i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.movedTextToCompare.read(e),n=0;if(i){let e=this._editors.original.getTopForLineNumber(i.lineRangeMapping.original.startLineNumber,!0)-this._originalTopPadding.get(),t=this._editors.modified.getTopForLineNumber(i.lineRangeMapping.modified.startLineNumber,!0)-this._modifiedTopPadding.get();n=t-e}n>0?(this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(n,void 0)):n<0?(this._modifiedTopPadding.set(-n,void 0),this._originalTopPadding.set(0,void 0)):setTimeout(()=>{this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(0,void 0)},400),this._editors.modified.hasTextFocus()?this._originalScrollOffset.set(this._modifiedScrollOffset.get()-n,void 0,!0):this._modifiedScrollOffset.set(this._originalScrollOffset.get()+n,void 0,!0)}))}};function eq(e,t,i,n,s,o){let r=new L.H9(ej(e,n)),l=new L.H9(ej(t,s)),a=e.getOption(67),d=t.getOption(67),h=[],u=0,c=0;function g(e,t){for(;;){let i=r.peek(),n=l.peek();if(i&&i.lineNumber>=e&&(i=void 0),n&&n.lineNumber>=t&&(n=void 0),!i&&!n)break;let s=i?i.lineNumber-u:Number.MAX_VALUE,o=n?n.lineNumber-c:Number.MAX_VALUE;so?(l.dequeue(),i={lineNumber:n.lineNumber-c+u,heightInPx:0}):(r.dequeue(),l.dequeue()),h.push({originalRange:I.z.ofLength(i.lineNumber,1),modifiedRange:I.z.ofLength(n.lineNumber,1),originalHeightInPx:a+i.heightInPx,modifiedHeightInPx:d+n.heightInPx,diff:void 0})}}for(let t of i){let i=t.lineRangeMapping;g(i.original.startLineNumber,i.modified.startLineNumber);let n=!0,s=i.modified.startLineNumber,m=i.original.startLineNumber;function p(e,i){var o,u,c,g;if(et.lineNumbere+t.heightInPx,0))&&void 0!==u?u:0,v=null!==(g=null===(c=l.takeWhile(e=>e.lineNumbere+t.heightInPx,0))&&void 0!==g?g:0;h.push({originalRange:p,modifiedRange:f,originalHeightInPx:p.length*a+_,modifiedHeightInPx:f.length*d+v,diff:t.lineRangeMapping}),m=e,s=i}if(o)for(let t of i.innerChanges||[]){t.originalRange.startColumn>1&&t.modifiedRange.startColumn>1&&p(t.originalRange.startLineNumber,t.modifiedRange.startLineNumber);let i=e.getModel(),n=t.originalRange.endLineNumber<=i.getLineCount()?i.getLineMaxColumn(t.originalRange.endLineNumber):Number.MAX_SAFE_INTEGER;t.originalRange.endColumn1&&n.push({lineNumber:t,heightInPx:r*(e-1)})}for(let n of e.getWhitespaces()){if(t.has(n.id))continue;let e=0===n.afterLineNumber?0:o.convertViewPositionToModelPosition(new M.L(n.afterLineNumber,1)).lineNumber;i.push({lineNumber:e,heightInPx:n.height})}let l=(0,N.Ap)(i,n,e=>e.lineNumber,(e,t)=>({lineNumber:e.lineNumber,heightInPx:e.heightInPx+t.heightInPx}));return l}e$=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eU(8,ez.p),eU(9,eK.i)],e$);class eG extends g.JT{constructor(e,t,i){super(),this._editor=e,this._domNode=t,this.itemProvider=i,this.scrollTop=(0,p.rD)(this._editor.onDidScrollChange,e=>this._editor.getScrollTop()),this.isScrollTopZero=this.scrollTop.map(e=>0===e),this.modelAttached=(0,p.rD)(this._editor.onDidChangeModel,e=>this._editor.hasModel()),this.editorOnDidChangeViewZones=(0,p.aq)("onDidChangeViewZones",this._editor.onDidChangeViewZones),this.editorOnDidContentSizeChange=(0,p.aq)("onDidContentSizeChange",this._editor.onDidContentSizeChange),this.domNodeSizeChanged=(0,p.GN)("domNodeSizeChanged"),this.views=new Map,this._domNode.className="gutter monaco-editor";let n=this._domNode.appendChild((0,d.h)("div.scroll-decoration",{role:"presentation",ariaHidden:"true",style:{width:"100%"}}).root),s=new ResizeObserver(()=>{(0,p.PS)(e=>{this.domNodeSizeChanged.trigger(e)})});s.observe(this._domNode),this._register((0,g.OF)(()=>s.disconnect())),this._register((0,p.EH)(e=>{n.className=this.isScrollTopZero.read(e)?"":"scroll-decoration"})),this._register((0,p.EH)(e=>this.render(e)))}dispose(){super.dispose(),(0,d.mc)(this._domNode)}render(e){if(!this.modelAttached.read(e))return;this.domNodeSizeChanged.read(e),this.editorOnDidChangeViewZones.read(e),this.editorOnDidContentSizeChange.read(e);let t=this.scrollTop.read(e),i=this._editor.getVisibleRanges(),n=new Set(this.views.keys()),s=T.q.ofStartAndLength(0,this._domNode.clientHeight);if(!s.isEmpty)for(let o of i){let i=new I.z(o.startLineNumber,o.endLineNumber+1),r=this.itemProvider.getIntersectingGutterItems(i,e);(0,p.PS)(e=>{for(let o of r){if(!o.range.intersect(i))continue;n.delete(o.id);let r=this.views.get(o.id);if(r)r.item.set(o,e);else{let e=document.createElement("div");this._domNode.appendChild(e);let t=(0,p.uh)("item",o),i=this.itemProvider.createView(t,e);r=new eQ(t,i,e),this.views.set(o.id,r)}let l=o.range.startLineNumber<=this._editor.getModel().getLineCount()?this._editor.getTopForLineNumber(o.range.startLineNumber,!0)-t:this._editor.getBottomForLineNumber(o.range.startLineNumber-1,!1)-t,a=o.range.isEmpty?l:this._editor.getBottomForLineNumber(o.range.endLineNumberExclusive-1,!0)-t,d=a-l;r.domNode.style.top=`${l}px`,r.domNode.style.height=`${d}px`,r.gutterItemView.layout(T.q.ofStartAndLength(l,d),s)}})}for(let e of n){let t=this.views.get(e);t.gutterItemView.dispose(),this._domNode.removeChild(t.domNode),this.views.delete(e)}}}class eQ{constructor(e,t,i){this.item=e,this.gutterItemView=t,this.domNode=i}}var eZ=i(57996),eY=i(28977),eJ=i(98467);class eX extends eY.MS{constructor(e){super(),this._textModel=e}getValueOfRange(e){return this._textModel.getValueInRange(e)}get length(){let e=this._textModel.getLineCount(),t=this._textModel.getLineLength(e);return new eJ.A(e-1,t)}}var e0=i(77081),e1=i(30467),e2=i(33336),e4=i(96748),e5=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},e3=function(e,t){return function(i,n){t(i,n,e)}};let e7=[],e8=class extends g.JT{constructor(e,t,i,n,s,o,r,l,a){super(),this._diffModel=t,this._editors=i,this._options=n,this._sashLayout=s,this._boundarySashes=o,this._instantiationService=r,this._contextKeyService=l,this._menuService=a,this._menu=this._register(this._menuService.createMenu(e1.eH.DiffEditorHunkToolbar,this._contextKeyService)),this._actions=(0,p.rD)(this._menu.onDidChange,()=>this._menu.getActions()),this._hasActions=this._actions.map(e=>e.length>0),this._showSash=(0,p.nK)(this,e=>this._options.renderSideBySide.read(e)&&this._hasActions.read(e)),this.width=(0,p.nK)(this,e=>this._hasActions.read(e)?35:0),this.elements=(0,d.h)("div.gutter@gutter",{style:{position:"absolute",height:"100%",width:"35px"}},[]),this._currentDiff=(0,p.nK)(this,e=>{var t;let i=this._diffModel.read(e);if(!i)return;let n=null===(t=i.diff.read(e))||void 0===t?void 0:t.mappings,s=this._editors.modifiedCursor.read(e);if(s)return null==n?void 0:n.find(e=>e.lineRangeMapping.modified.contains(s.lineNumber))}),this._selectedDiffs=(0,p.nK)(this,e=>{let t=this._diffModel.read(e),i=null==t?void 0:t.diff.read(e);if(!i)return e7;let n=this._editors.modifiedSelections.read(e);if(n.every(e=>e.isEmpty()))return e7;let s=new I.i(n.map(e=>I.z.fromRangeInclusive(e))),o=i.mappings.filter(e=>e.lineRangeMapping.innerChanges&&s.intersects(e.lineRangeMapping.modified)),r=o.map(e=>({mapping:e,rangeMappings:e.lineRangeMapping.innerChanges.filter(e=>n.some(t=>R.e.areIntersecting(e.modifiedRange,t)))}));return 0===r.length||r.every(e=>0===e.rangeMappings.length)?e7:r}),this._register((0,N.RL)(e,this.elements.root)),this._register((0,d.nm)(this.elements.root,"click",()=>{this._editors.modified.focus()})),this._register((0,N.bg)(this.elements.root,{display:this._hasActions.map(e=>e?"block":"none")})),(0,m.kA)(this,t=>{let i=this._showSash.read(t);return i?new eh(e,this._sashLayout.dimensions,this._options.enableSplitViewResizing,this._boundarySashes,(0,m.B5)(this,e=>this._sashLayout.sashLeft.read(e)-35,(e,t)=>this._sashLayout.sashLeft.set(e+35,t)),()=>this._sashLayout.resetSash()):void 0}).recomputeInitiallyAndOnChange(this._store),this._register(new eG(this._editors.modified,this.elements.root,{getIntersectingGutterItems:(e,t)=>{let i=this._diffModel.read(t);if(!i)return[];let n=i.diff.read(t);if(!n)return[];let s=this._selectedDiffs.read(t);if(s.length>0){let e=A.gB.fromRangeMappings(s.flatMap(e=>e.rangeMappings));return[new e6(e,!0,e1.eH.DiffEditorSelectionToolbar,void 0,i.model.original.uri,i.model.modified.uri)]}let o=this._currentDiff.read(t);return n.mappings.map(e=>new e6(e.lineRangeMapping.withInnerChangesFromLineRanges(),e.lineRangeMapping===(null==o?void 0:o.lineRangeMapping),e1.eH.DiffEditorHunkToolbar,void 0,i.model.original.uri,i.model.modified.uri))},createView:(e,t)=>this._instantiationService.createInstance(e9,e,t,this)})),this._register((0,d.nm)(this.elements.gutter,d.tw.MOUSE_WHEEL,e=>{this._editors.modified.getOption(103).handleMouseWheel&&this._editors.modified.delegateScrollFromMouseWheelEvent(e)},{passive:!1}))}computeStagedValue(e){var t;let i=null!==(t=e.innerChanges)&&void 0!==t?t:[],n=new eX(this._editors.modifiedModel.get()),s=new eX(this._editors.original.getModel()),o=new eY.PY(i.map(e=>e.toTextEdit(n))),r=o.apply(s);return r}layout(e){this.elements.gutter.style.left=e+"px"}};e8=e5([e3(6,V.TG),e3(7,e2.i6),e3(8,e1.co)],e8);class e6{constructor(e,t,i,n,s,o){this.mapping=e,this.showAlways=t,this.menuId=i,this.rangeOverride=n,this.originalUri=s,this.modifiedUri=o}get id(){return this.mapping.modified.toString()}get range(){var e;return null!==(e=this.rangeOverride)&&void 0!==e?e:this.mapping.modified}}let e9=class extends g.JT{constructor(e,t,i,n){super(),this._item=e,this._elements=(0,d.h)("div.gutterItem",{style:{height:"20px",width:"34px"}},[(0,d.h)("div.background@background",{},[]),(0,d.h)("div.buttons@buttons",{},[])]),this._showAlways=this._item.map(this,e=>e.showAlways),this._menuId=this._item.map(this,e=>e.menuId),this._isSmall=(0,p.uh)(this,!1),this._lastItemRange=void 0,this._lastViewRange=void 0;let s=this._register(n.createInstance(e4.mQ,"element",!0,{position:{hoverPosition:1}}));this._register((0,N.xx)(t,this._elements.root)),this._register((0,p.EH)(e=>{let t=this._showAlways.read(e);this._elements.root.classList.toggle("noTransition",!0),this._elements.root.classList.toggle("showAlways",t),setTimeout(()=>{this._elements.root.classList.toggle("noTransition",!1)},0)})),this._register((0,p.gp)((e,t)=>{this._elements.buttons.replaceChildren();let o=t.add(n.createInstance(e0.r,this._elements.buttons,this._menuId.read(e),{orientation:1,hoverDelegate:s,toolbarOptions:{primaryGroup:e=>e.startsWith("primary")},overflowBehavior:{maxItems:this._isSmall.read(e)?1:3},hiddenItemStrategy:0,actionRunner:new eZ.D(()=>{let e=this._item.get(),t=e.mapping;return{mapping:t,originalWithModifiedChanges:i.computeStagedValue(t),originalUri:e.originalUri,modifiedUri:e.modifiedUri}}),menuOptions:{shouldForwardArgs:!0}}));t.add(o.onDidChangeMenuItems(()=>{this._lastItemRange&&this.layout(this._lastItemRange,this._lastViewRange)}))}))}layout(e,t){this._lastItemRange=e,this._lastViewRange=t;let i=this._elements.buttons.clientHeight;this._isSmall.set(1===this._item.get().mapping.original.startLineNumber&&e.length<30,void 0),i=this._elements.buttons.clientHeight;let n=e.length/2-i/2,s=i,o=e.start+n,r=T.q.tryCreate(s,t.endExclusive-s-i),l=T.q.tryCreate(e.start+s,e.endExclusive-i-s);l&&r&&l.startthis._themeService.getColorTheme()),h=(0,p.nK)(e=>{let t=l.read(e),i=t.getColor(ts.P6Y)||(t.getColor(ts.ypS)||ts.CzK).transparent(2),n=t.getColor(ts.F9q)||(t.getColor(ts.P4M)||ts.keg).transparent(2);return{insertColor:i,removeColor:n}}),u=(0,tt.X)(document.createElement("div"));u.setClassName("diffViewport"),u.setPosition("absolute");let c=(0,d.h)("div.diffOverview",{style:{position:"absolute",top:"0px",width:a.ENTIRE_DIFF_OVERVIEW_WIDTH+"px"}}).root;this._register((0,N.xx)(c,u.domNode)),this._register((0,d.mu)(c,d.tw.POINTER_DOWN,e=>{this._editors.modified.delegateVerticalScrollbarPointerDown(e)})),this._register((0,d.nm)(c,d.tw.MOUSE_WHEEL,e=>{this._editors.modified.delegateScrollFromMouseWheelEvent(e)},{passive:!1})),this._register((0,N.xx)(this._rootElement,c)),this._register((0,p.gp)((e,t)=>{let i=this._diffModel.read(e),n=this._editors.original.createOverviewRuler("original diffOverviewRuler");n&&(t.add(n),t.add((0,N.xx)(c,n.getDomNode())));let s=this._editors.modified.createOverviewRuler("modified diffOverviewRuler");if(s&&(t.add(s),t.add((0,N.xx)(c,s.getDomNode()))),!n||!s)return;let o=(0,p.aq)("viewZoneChanged",this._editors.original.onDidChangeViewZones),r=(0,p.aq)("viewZoneChanged",this._editors.modified.onDidChangeViewZones),l=(0,p.aq)("hiddenRangesChanged",this._editors.original.onDidChangeHiddenAreas),d=(0,p.aq)("hiddenRangesChanged",this._editors.modified.onDidChangeHiddenAreas);t.add((0,p.EH)(e=>{var t;o.read(e),r.read(e),l.read(e),d.read(e);let a=h.read(e),u=null===(t=null==i?void 0:i.diff.read(e))||void 0===t?void 0:t.mappings;function c(e,t,i){let n=i._getViewModel();return n?e.filter(e=>e.length>0).map(e=>{let i=n.coordinatesConverter.convertModelPositionToViewPosition(new M.L(e.startLineNumber,1)),s=n.coordinatesConverter.convertModelPositionToViewPosition(new M.L(e.endLineNumberExclusive,1)),o=s.lineNumber-i.lineNumber;return new tn.EY(i.lineNumber,s.lineNumber,o,t.toString())}):[]}let g=c((u||[]).map(e=>e.lineRangeMapping.original),a.removeColor,this._editors.original),p=c((u||[]).map(e=>e.lineRangeMapping.modified),a.insertColor,this._editors.modified);null==n||n.setZones(g),null==s||s.setZones(p)})),t.add((0,p.EH)(e=>{let t=this._rootHeight.read(e),i=this._rootWidth.read(e),o=this._modifiedEditorLayoutInfo.read(e);if(o){let i=a.ENTIRE_DIFF_OVERVIEW_WIDTH-2*a.ONE_OVERVIEW_WIDTH;n.setLayout({top:0,height:t,right:i+a.ONE_OVERVIEW_WIDTH,width:a.ONE_OVERVIEW_WIDTH}),s.setLayout({top:0,height:t,right:0,width:a.ONE_OVERVIEW_WIDTH});let r=this._editors.modifiedScrollTop.read(e),l=this._editors.modifiedScrollHeight.read(e),d=this._editors.modified.getOption(103),h=new ti.M(d.verticalHasArrows?d.arrowSize:0,d.verticalScrollbarSize,0,o.height,l,r);u.setTop(h.getSliderPosition()),u.setHeight(h.getSliderSize())}else u.setTop(0),u.setHeight(0);c.style.height=t+"px",c.style.left=i-a.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",u.setWidth(a.ENTIRE_DIFF_OVERVIEW_WIDTH)}))}))}};tr.ONE_OVERVIEW_WIDTH=15,tr.ENTIRE_DIFF_OVERVIEW_WIDTH=2*a.ONE_OVERVIEW_WIDTH,tr=a=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(s=to.XE,function(e,t){s(e,t,6)})],tr);var tl=i(29475),ta=i(41407);let td=[];class th extends g.JT{constructor(e,t,i,n){super(),this._editors=e,this._diffModel=t,this._options=i,this._widget=n,this._selectedDiffs=(0,p.nK)(this,e=>{let t=this._diffModel.read(e),i=null==t?void 0:t.diff.read(e);if(!i)return td;let n=this._editors.modifiedSelections.read(e);if(n.every(e=>e.isEmpty()))return td;let s=new I.i(n.map(e=>I.z.fromRangeInclusive(e))),o=i.mappings.filter(e=>e.lineRangeMapping.innerChanges&&s.intersects(e.lineRangeMapping.modified)),r=o.map(e=>({mapping:e,rangeMappings:e.lineRangeMapping.innerChanges.filter(e=>n.some(t=>R.e.areIntersecting(e.modifiedRange,t)))}));return 0===r.length||r.every(e=>0===e.rangeMappings.length)?td:r}),this._register((0,p.gp)((e,t)=>{if(!this._options.shouldRenderOldRevertArrows.read(e))return;let i=this._diffModel.read(e),n=null==i?void 0:i.diff.read(e);if(!i||!n||i.movedTextToCompare.read(e))return;let s=[],o=this._selectedDiffs.read(e),r=new Set(o.map(e=>e.mapping));if(o.length>0){let i=this._editors.modifiedSelections.read(e),n=t.add(new tu(i[i.length-1].positionLineNumber,this._widget,o.flatMap(e=>e.rangeMappings),!0));this._editors.modified.addGlyphMarginWidget(n),s.push(n)}for(let e of n.mappings)if(!r.has(e)&&!e.lineRangeMapping.modified.isEmpty&&e.lineRangeMapping.innerChanges){let i=t.add(new tu(e.lineRangeMapping.modified.startLineNumber,this._widget,e.lineRangeMapping,!1));this._editors.modified.addGlyphMarginWidget(i),s.push(i)}t.add((0,g.OF)(()=>{for(let e of s)this._editors.modified.removeGlyphMarginWidget(e)}))}))}}class tu extends g.JT{getId(){return this._id}constructor(e,t,i,n){super(),this._lineNumber=e,this._widget=t,this._diffs=i,this._revertSelection=n,this._id=`revertButton${tu.counter++}`,this._domNode=(0,d.h)("div.revertButton",{title:this._revertSelection?(0,W.NC)("revertSelectedChanges","Revert Selected Changes"):(0,W.NC)("revertChange","Revert Change")},[(0,tl.h)(k.l.arrowRight)]).root,this._register((0,d.nm)(this._domNode,d.tw.MOUSE_DOWN,e=>{2!==e.button&&(e.stopPropagation(),e.preventDefault())})),this._register((0,d.nm)(this._domNode,d.tw.MOUSE_UP,e=>{e.stopPropagation(),e.preventDefault()})),this._register((0,d.nm)(this._domNode,d.tw.CLICK,e=>{this._diffs instanceof A.f0?this._widget.revert(this._diffs):this._widget.revertRangeMappings(this._diffs),e.stopPropagation(),e.preventDefault()}))}getDomNode(){return this._domNode}getPosition(){return{lane:ta.U.Right,range:{startColumn:1,startLineNumber:this._lineNumber,endColumn:1,endLineNumber:this._lineNumber},zIndex:10001}}}function tc(e,t,i){let n=e.bindTo(t);return(0,p.UV)({debugName:()=>`Set Context Key "${e.key}"`},e=>{n.set(i(e))})}tu.counter=0;var tg=i(25777),tp=i(73440),tm=i(92477),tf=i(14588);class t_{static get(e){let t=t_._map.get(e);if(!t){t=new t_(e),t_._map.set(e,t);let i=e.onDidDispose(()=>{t_._map.delete(e),i.dispose()})}return t}constructor(e){this.editor=e,this.model=(0,p.rD)(this.editor.onDidChangeModel,()=>this.editor.getModel())}}t_._map=new Map;var tv=i(46417),tb=function(e,t){return function(i,n){t(i,n,e)}};let tC=class extends g.JT{get onDidContentSizeChange(){return this._onDidContentSizeChange.event}constructor(e,t,i,n,s,o,r){var l;super(),this.originalEditorElement=e,this.modifiedEditorElement=t,this._options=i,this._argCodeEditorWidgetOptions=n,this._createInnerEditor=s,this._instantiationService=o,this._keybindingService=r,this.original=this._register(this._createLeftHandSideEditor(this._options.editorOptions.get(),this._argCodeEditorWidgetOptions.originalEditor||{})),this.modified=this._register(this._createRightHandSideEditor(this._options.editorOptions.get(),this._argCodeEditorWidgetOptions.modifiedEditor||{})),this._onDidContentSizeChange=this._register(new c.Q5),this.modifiedScrollTop=(0,p.rD)(this.modified.onDidScrollChange,()=>this.modified.getScrollTop()),this.modifiedScrollHeight=(0,p.rD)(this.modified.onDidScrollChange,()=>this.modified.getScrollHeight()),this.modifiedModel=(l=this.modified,t_.get(l)).model,this.modifiedSelections=(0,p.rD)(this.modified.onDidChangeCursorSelection,()=>{var e;return null!==(e=this.modified.getSelections())&&void 0!==e?e:[]}),this.modifiedCursor=(0,p.bk)({owner:this,equalsFn:M.L.equals},e=>{var t,i;return null!==(i=null===(t=this.modifiedSelections.read(e)[0])||void 0===t?void 0:t.getPosition())&&void 0!==i?i:new M.L(1,1)}),this.originalCursor=(0,p.rD)(this.original.onDidChangeCursorPosition,()=>{var e;return null!==(e=this.original.getPosition())&&void 0!==e?e:new M.L(1,1)}),this._argCodeEditorWidgetOptions=null,this._register((0,p.nJ)({createEmptyChangeSummary:()=>({}),handleChange:(e,t)=>(e.didChange(i.editorOptions)&&Object.assign(t,e.change.changedOptions),!0)},(e,t)=>{i.editorOptions.read(e),this._options.renderSideBySide.read(e),this.modified.updateOptions(this._adjustOptionsForRightHandSide(e,t)),this.original.updateOptions(this._adjustOptionsForLeftHandSide(e,t))}))}_createLeftHandSideEditor(e,t){let i=this._adjustOptionsForLeftHandSide(void 0,e),n=this._constructInnerEditor(this._instantiationService,this.originalEditorElement,i,t);return n.setContextValue("isInDiffLeftEditor",!0),n}_createRightHandSideEditor(e,t){let i=this._adjustOptionsForRightHandSide(void 0,e),n=this._constructInnerEditor(this._instantiationService,this.modifiedEditorElement,i,t);return n.setContextValue("isInDiffRightEditor",!0),n}_constructInnerEditor(e,t,i,n){let s=this._createInnerEditor(e,t,i,n);return this._register(s.onDidContentSizeChange(e=>{let t=this.original.getContentWidth()+this.modified.getContentWidth()+tr.ENTIRE_DIFF_OVERVIEW_WIDTH,i=Math.max(this.modified.getContentHeight(),this.original.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:i,contentWidth:t,contentHeightChanged:e.contentHeightChanged,contentWidthChanged:e.contentWidthChanged})})),s}_adjustOptionsForLeftHandSide(e,t){let i=this._adjustOptionsForSubEditor(t);return this._options.renderSideBySide.get()?(i.unicodeHighlight=this._options.editorOptions.get().unicodeHighlight||{},i.wordWrapOverride1=this._options.diffWordWrap.get()):(i.wordWrapOverride1="off",i.wordWrapOverride2="off",i.stickyScroll={enabled:!1},i.unicodeHighlight={nonBasicASCII:!1,ambiguousCharacters:!1,invisibleCharacters:!1}),i.glyphMargin=this._options.renderSideBySide.get(),t.originalAriaLabel&&(i.ariaLabel=t.originalAriaLabel),i.ariaLabel=this._updateAriaLabel(i.ariaLabel),i.readOnly=!this._options.originalEditable.get(),i.dropIntoEditor={enabled:!i.readOnly},i.extraEditorClassName="original-in-monaco-diff-editor",i}_adjustOptionsForRightHandSide(e,t){let i=this._adjustOptionsForSubEditor(t);return t.modifiedAriaLabel&&(i.ariaLabel=t.modifiedAriaLabel),i.ariaLabel=this._updateAriaLabel(i.ariaLabel),i.wordWrapOverride1=this._options.diffWordWrap.get(),i.revealHorizontalRightPadding=E.BH.revealHorizontalRightPadding.defaultValue+tr.ENTIRE_DIFF_OVERVIEW_WIDTH,i.scrollbar.verticalHasArrows=!1,i.extraEditorClassName="modified-in-monaco-diff-editor",i}_adjustOptionsForSubEditor(e){let t={...e,dimension:{height:0,width:0}};return t.inDiffEditor=!0,t.automaticLayout=!1,t.scrollbar={...t.scrollbar||{}},t.folding=!1,t.codeLens=this._options.diffCodeLens.get(),t.fixedOverflowWidgets=!0,t.minimap={...t.minimap||{}},t.minimap.enabled=!1,this._options.hideUnchangedRegions.get()?t.stickyScroll={enabled:!1}:t.stickyScroll=this._options.editorOptions.get().stickyScroll,t}_updateAriaLabel(e){var t;e||(e="");let i=(0,W.NC)("diff-aria-navigation-tip"," use {0} to open the accessibility help.",null===(t=this._keybindingService.lookupKeybinding("editor.action.accessibilityHelp"))||void 0===t?void 0:t.getAriaLabel());return this._options.accessibilityVerbose.get()?e+i:e?e.replaceAll(i,""):""}};tC=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([tb(5,V.TG),tb(6,tv.d)],tC);class tw extends g.JT{constructor(){super(...arguments),this._id=++tw.idCounter,this._onDidDispose=this._register(new c.Q5),this.onDidDispose=this._onDidDispose.event}getId(){return this.getEditorType()+":v2:"+this._id}getVisibleColumnFromPosition(e){return this._targetEditor.getVisibleColumnFromPosition(e)}getPosition(){return this._targetEditor.getPosition()}setPosition(e,t="api"){this._targetEditor.setPosition(e,t)}revealLine(e,t=0){this._targetEditor.revealLine(e,t)}revealLineInCenter(e,t=0){this._targetEditor.revealLineInCenter(e,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._targetEditor.revealLineInCenterIfOutsideViewport(e,t)}revealLineNearTop(e,t=0){this._targetEditor.revealLineNearTop(e,t)}revealPosition(e,t=0){this._targetEditor.revealPosition(e,t)}revealPositionInCenter(e,t=0){this._targetEditor.revealPositionInCenter(e,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._targetEditor.revealPositionInCenterIfOutsideViewport(e,t)}revealPositionNearTop(e,t=0){this._targetEditor.revealPositionNearTop(e,t)}getSelection(){return this._targetEditor.getSelection()}getSelections(){return this._targetEditor.getSelections()}setSelection(e,t="api"){this._targetEditor.setSelection(e,t)}setSelections(e,t="api"){this._targetEditor.setSelections(e,t)}revealLines(e,t,i=0){this._targetEditor.revealLines(e,t,i)}revealLinesInCenter(e,t,i=0){this._targetEditor.revealLinesInCenter(e,t,i)}revealLinesInCenterIfOutsideViewport(e,t,i=0){this._targetEditor.revealLinesInCenterIfOutsideViewport(e,t,i)}revealLinesNearTop(e,t,i=0){this._targetEditor.revealLinesNearTop(e,t,i)}revealRange(e,t=0,i=!1,n=!0){this._targetEditor.revealRange(e,t,i,n)}revealRangeInCenter(e,t=0){this._targetEditor.revealRangeInCenter(e,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._targetEditor.revealRangeInCenterIfOutsideViewport(e,t)}revealRangeNearTop(e,t=0){this._targetEditor.revealRangeNearTop(e,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._targetEditor.revealRangeNearTopIfOutsideViewport(e,t)}revealRangeAtTop(e,t=0){this._targetEditor.revealRangeAtTop(e,t)}getSupportedActions(){return this._targetEditor.getSupportedActions()}focus(){this._targetEditor.focus()}trigger(e,t,i){this._targetEditor.trigger(e,t,i)}createDecorationsCollection(e){return this._targetEditor.createDecorationsCollection(e)}changeDecorations(e){return this._targetEditor.changeDecorations(e)}}tw.idCounter=0;var ty=i(66825),tS=i(15232);let tL=class{get editorOptions(){return this._options}constructor(e,t){this._accessibilityService=t,this._diffEditorWidth=(0,p.uh)(this,0),this._screenReaderMode=(0,p.rD)(this._accessibilityService.onDidChangeScreenReaderOptimized,()=>this._accessibilityService.isScreenReaderOptimized()),this.couldShowInlineViewBecauseOfSize=(0,p.nK)(this,e=>this._options.read(e).renderSideBySide&&this._diffEditorWidth.read(e)<=this._options.read(e).renderSideBySideInlineBreakpoint),this.renderOverviewRuler=(0,p.nK)(this,e=>this._options.read(e).renderOverviewRuler),this.renderSideBySide=(0,p.nK)(this,e=>this._options.read(e).renderSideBySide&&!(this._options.read(e).useInlineViewWhenSpaceIsLimited&&this.couldShowInlineViewBecauseOfSize.read(e)&&!this._screenReaderMode.read(e))),this.readOnly=(0,p.nK)(this,e=>this._options.read(e).readOnly),this.shouldRenderOldRevertArrows=(0,p.nK)(this,e=>!(!this._options.read(e).renderMarginRevertIcon||!this.renderSideBySide.read(e)||this.readOnly.read(e)||this.shouldRenderGutterMenu.read(e))),this.shouldRenderGutterMenu=(0,p.nK)(this,e=>this._options.read(e).renderGutterMenu),this.renderIndicators=(0,p.nK)(this,e=>this._options.read(e).renderIndicators),this.enableSplitViewResizing=(0,p.nK)(this,e=>this._options.read(e).enableSplitViewResizing),this.splitViewDefaultRatio=(0,p.nK)(this,e=>this._options.read(e).splitViewDefaultRatio),this.ignoreTrimWhitespace=(0,p.nK)(this,e=>this._options.read(e).ignoreTrimWhitespace),this.maxComputationTimeMs=(0,p.nK)(this,e=>this._options.read(e).maxComputationTime),this.showMoves=(0,p.nK)(this,e=>this._options.read(e).experimental.showMoves&&this.renderSideBySide.read(e)),this.isInEmbeddedEditor=(0,p.nK)(this,e=>this._options.read(e).isInEmbeddedEditor),this.diffWordWrap=(0,p.nK)(this,e=>this._options.read(e).diffWordWrap),this.originalEditable=(0,p.nK)(this,e=>this._options.read(e).originalEditable),this.diffCodeLens=(0,p.nK)(this,e=>this._options.read(e).diffCodeLens),this.accessibilityVerbose=(0,p.nK)(this,e=>this._options.read(e).accessibilityVerbose),this.diffAlgorithm=(0,p.nK)(this,e=>this._options.read(e).diffAlgorithm),this.showEmptyDecorations=(0,p.nK)(this,e=>this._options.read(e).experimental.showEmptyDecorations),this.onlyShowAccessibleDiffViewer=(0,p.nK)(this,e=>this._options.read(e).onlyShowAccessibleDiffViewer),this.hideUnchangedRegions=(0,p.nK)(this,e=>this._options.read(e).hideUnchangedRegions.enabled),this.hideUnchangedRegionsRevealLineCount=(0,p.nK)(this,e=>this._options.read(e).hideUnchangedRegions.revealLineCount),this.hideUnchangedRegionsContextLineCount=(0,p.nK)(this,e=>this._options.read(e).hideUnchangedRegions.contextLineCount),this.hideUnchangedRegionsMinimumLineCount=(0,p.nK)(this,e=>this._options.read(e).hideUnchangedRegions.minimumLineCount);let i={...e,...tk(e,ty.k)};this._options=(0,p.uh)(this,i)}updateOptions(e){let t=tk(e,this._options.get()),i={...this._options.get(),...e,...t};this._options.set(i,void 0,{changedOptions:e})}setWidth(e){this._diffEditorWidth.set(e,void 0)}};function tk(e,t){var i,n,s,o,r,l,a,d;return{enableSplitViewResizing:(0,E.O7)(e.enableSplitViewResizing,t.enableSplitViewResizing),splitViewDefaultRatio:(0,E.L_)(e.splitViewDefaultRatio,.5,.1,.9),renderSideBySide:(0,E.O7)(e.renderSideBySide,t.renderSideBySide),renderMarginRevertIcon:(0,E.O7)(e.renderMarginRevertIcon,t.renderMarginRevertIcon),maxComputationTime:(0,E.Zc)(e.maxComputationTime,t.maxComputationTime,0,1073741824),maxFileSize:(0,E.Zc)(e.maxFileSize,t.maxFileSize,0,1073741824),ignoreTrimWhitespace:(0,E.O7)(e.ignoreTrimWhitespace,t.ignoreTrimWhitespace),renderIndicators:(0,E.O7)(e.renderIndicators,t.renderIndicators),originalEditable:(0,E.O7)(e.originalEditable,t.originalEditable),diffCodeLens:(0,E.O7)(e.diffCodeLens,t.diffCodeLens),renderOverviewRuler:(0,E.O7)(e.renderOverviewRuler,t.renderOverviewRuler),diffWordWrap:(0,E.NY)(e.diffWordWrap,t.diffWordWrap,["off","on","inherit"]),diffAlgorithm:(0,E.NY)(e.diffAlgorithm,t.diffAlgorithm,["legacy","advanced"],{smart:"legacy",experimental:"advanced"}),accessibilityVerbose:(0,E.O7)(e.accessibilityVerbose,t.accessibilityVerbose),experimental:{showMoves:(0,E.O7)(null===(i=e.experimental)||void 0===i?void 0:i.showMoves,t.experimental.showMoves),showEmptyDecorations:(0,E.O7)(null===(n=e.experimental)||void 0===n?void 0:n.showEmptyDecorations,t.experimental.showEmptyDecorations)},hideUnchangedRegions:{enabled:(0,E.O7)(null!==(o=null===(s=e.hideUnchangedRegions)||void 0===s?void 0:s.enabled)&&void 0!==o?o:null===(r=e.experimental)||void 0===r?void 0:r.collapseUnchangedRegions,t.hideUnchangedRegions.enabled),contextLineCount:(0,E.Zc)(null===(l=e.hideUnchangedRegions)||void 0===l?void 0:l.contextLineCount,t.hideUnchangedRegions.contextLineCount,0,1073741824),minimumLineCount:(0,E.Zc)(null===(a=e.hideUnchangedRegions)||void 0===a?void 0:a.minimumLineCount,t.hideUnchangedRegions.minimumLineCount,0,1073741824),revealLineCount:(0,E.Zc)(null===(d=e.hideUnchangedRegions)||void 0===d?void 0:d.revealLineCount,t.hideUnchangedRegions.revealLineCount,0,1073741824)},isInEmbeddedEditor:(0,E.O7)(e.isInEmbeddedEditor,t.isInEmbeddedEditor),onlyShowAccessibleDiffViewer:(0,E.O7)(e.onlyShowAccessibleDiffViewer,t.onlyShowAccessibleDiffViewer),renderSideBySideInlineBreakpoint:(0,E.Zc)(e.renderSideBySideInlineBreakpoint,t.renderSideBySideInlineBreakpoint,0,1073741824),useInlineViewWhenSpaceIsLimited:(0,E.O7)(e.useInlineViewWhenSpaceIsLimited,t.useInlineViewWhenSpaceIsLimited),renderGutterMenu:(0,E.O7)(e.renderGutterMenu,t.renderGutterMenu)}}tL=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(o=tS.F,function(e,t){o(e,t,1)})],tL);var tD=function(e,t){return function(i,n){t(i,n,e)}};let tx=class extends tw{get onDidContentSizeChange(){return this._editors.onDidContentSizeChange}constructor(e,t,i,n,s,o,r,l){var a;let h;super(),this._domElement=e,this._parentContextKeyService=n,this._parentInstantiationService=s,this._accessibilitySignalService=r,this._editorProgressService=l,this.elements=(0,d.h)("div.monaco-diff-editor.side-by-side",{style:{position:"relative",height:"100%"}},[(0,d.h)("div.editor.original@original",{style:{position:"absolute",height:"100%"}}),(0,d.h)("div.editor.modified@modified",{style:{position:"absolute",height:"100%"}}),(0,d.h)("div.accessibleDiffViewer@accessibleDiffViewer",{style:{position:"absolute",height:"100%"}})]),this._diffModel=(0,p.uh)(this,void 0),this._shouldDisposeDiffModel=!1,this.onDidChangeModel=c.ju.fromObservableLight(this._diffModel),this._contextKeyService=this._register(this._parentContextKeyService.createScoped(this._domElement)),this._instantiationService=this._register(this._parentInstantiationService.createChild(new tm.y([e2.i6,this._contextKeyService]))),this._boundarySashes=(0,p.uh)(this,void 0),this._accessibleDiffViewerShouldBeVisible=(0,p.uh)(this,!1),this._accessibleDiffViewerVisible=(0,p.nK)(this,e=>!!this._options.onlyShowAccessibleDiffViewer.read(e)||this._accessibleDiffViewerShouldBeVisible.read(e)),this._movedBlocksLinesPart=(0,p.uh)(this,void 0),this._layoutInfo=(0,p.nK)(this,e=>{var t,i,n,s,o;let r,l,a,d,h;let u=this._rootSizeObserver.width.read(e),c=this._rootSizeObserver.height.read(e);this._rootSizeObserver.automaticLayout?this.elements.root.style.height="100%":this.elements.root.style.height=c+"px";let g=this._sash.read(e),p=this._gutter.read(e),m=null!==(t=null==p?void 0:p.width.read(e))&&void 0!==t?t:0,f=null!==(n=null===(i=this._overviewRulerPart.read(e))||void 0===i?void 0:i.width)&&void 0!==n?n:0;if(g){let t=g.sashLeft.read(e),i=null!==(o=null===(s=this._movedBlocksLinesPart.read(e))||void 0===s?void 0:s.width.read(e))&&void 0!==o?o:0;r=0,l=t-m-i,h=t-m,d=u-(a=t)-f}else h=0,r=m,d=u-(a=m+(l=Math.max(5,this._editors.original.getLayoutInfo().decorationsLeft)))-f;return this.elements.original.style.left=r+"px",this.elements.original.style.width=l+"px",this._editors.original.layout({width:l,height:c},!0),null==p||p.layout(h),this.elements.modified.style.left=a+"px",this.elements.modified.style.width=d+"px",this._editors.modified.layout({width:d,height:c},!0),{modifiedEditor:this._editors.modified.getLayoutInfo(),originalEditor:this._editors.original.getLayoutInfo()}}),this._diffValue=this._diffModel.map((e,t)=>null==e?void 0:e.diff.read(t)),this.onDidUpdateDiff=c.ju.fromObservableLight(this._diffValue),o.willCreateDiffEditor(),this._contextKeyService.createKey("isInDiffEditor",!0),this._domElement.appendChild(this.elements.root),this._register((0,g.OF)(()=>this._domElement.removeChild(this.elements.root))),this._rootSizeObserver=this._register(new N.DU(this.elements.root,t.dimension)),this._rootSizeObserver.setAutomaticLayout(null!==(a=t.automaticLayout)&&void 0!==a&&a),this._options=this._instantiationService.createInstance(tL,t),this._register((0,p.EH)(e=>{this._options.setWidth(this._rootSizeObserver.width.read(e))})),this._contextKeyService.createKey(tp.u.isEmbeddedDiffEditor.key,!1),this._register(tc(tp.u.isEmbeddedDiffEditor,this._contextKeyService,e=>this._options.isInEmbeddedEditor.read(e))),this._register(tc(tp.u.comparingMovedCode,this._contextKeyService,e=>{var t;return!!(null===(t=this._diffModel.read(e))||void 0===t?void 0:t.movedTextToCompare.read(e))})),this._register(tc(tp.u.diffEditorRenderSideBySideInlineBreakpointReached,this._contextKeyService,e=>this._options.couldShowInlineViewBecauseOfSize.read(e))),this._register(tc(tp.u.diffEditorInlineMode,this._contextKeyService,e=>!this._options.renderSideBySide.read(e))),this._register(tc(tp.u.hasChanges,this._contextKeyService,e=>{var t,i,n;return(null!==(n=null===(i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.diff.read(e))||void 0===i?void 0:i.mappings.length)&&void 0!==n?n:0)>0})),this._editors=this._register(this._instantiationService.createInstance(tC,this.elements.original,this.elements.modified,this._options,i,(e,t,i,n)=>this._createInnerEditor(e,t,i,n))),this._register(tc(tp.u.diffEditorOriginalWritable,this._contextKeyService,e=>this._options.originalEditable.read(e))),this._register(tc(tp.u.diffEditorModifiedWritable,this._contextKeyService,e=>!this._options.readOnly.read(e))),this._register(tc(tp.u.diffEditorOriginalUri,this._contextKeyService,e=>{var t,i;return null!==(i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.model.original.uri.toString())&&void 0!==i?i:""})),this._register(tc(tp.u.diffEditorModifiedUri,this._contextKeyService,e=>{var t,i;return null!==(i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.model.modified.uri.toString())&&void 0!==i?i:""})),this._overviewRulerPart=(0,m.kA)(this,e=>this._options.renderOverviewRuler.read(e)?this._instantiationService.createInstance((0,N.NW)(tr,e),this._editors,this.elements.root,this._diffModel,this._rootSizeObserver.width,this._rootSizeObserver.height,this._layoutInfo.map(e=>e.modifiedEditor)):void 0).recomputeInitiallyAndOnChange(this._store);let u={height:this._rootSizeObserver.height,width:this._rootSizeObserver.width.map((e,t)=>{var i,n;return e-(null!==(n=null===(i=this._overviewRulerPart.read(t))||void 0===i?void 0:i.width)&&void 0!==n?n:0)})};this._sashLayout=new ed(this._options,u),this._sash=(0,m.kA)(this,e=>{let t=this._options.renderSideBySide.read(e);return this.elements.root.classList.toggle("side-by-side",t),t?new eh(this.elements.root,u,this._options.enableSplitViewResizing,this._boundarySashes,this._sashLayout.sashLeft,()=>this._sashLayout.resetSash()):void 0}).recomputeInitiallyAndOnChange(this._store);let f=(0,m.kA)(this,e=>this._instantiationService.createInstance((0,N.NW)(te.O,e),this._editors,this._diffModel,this._options)).recomputeInitiallyAndOnChange(this._store);(0,m.kA)(this,e=>this._instantiationService.createInstance((0,N.NW)(el,e),this._editors,this._diffModel,this._options,this)).recomputeInitiallyAndOnChange(this._store);let _=new Set,b=new Set,C=!1,w=(0,m.kA)(this,e=>this._instantiationService.createInstance((0,N.NW)(e$,e),(0,d.Jj)(this._domElement),this._editors,this._diffModel,this._options,this,()=>C||f.get().isUpdatingHiddenAreas,_,b)).recomputeInitiallyAndOnChange(this._store),y=(0,p.nK)(this,e=>{let t=w.read(e).viewZones.read(e).orig,i=f.read(e).viewZones.read(e).origViewZones;return t.concat(i)}),S=(0,p.nK)(this,e=>{let t=w.read(e).viewZones.read(e).mod,i=f.read(e).viewZones.read(e).modViewZones;return t.concat(i)});this._register((0,N.Sv)(this._editors.original,y,e=>{C=e},_)),this._register((0,N.Sv)(this._editors.modified,S,e=>{(C=e)?h=v.Z.capture(this._editors.modified):(null==h||h.restore(this._editors.modified),h=void 0)},b)),this._accessibleDiffViewer=(0,m.kA)(this,e=>this._instantiationService.createInstance((0,N.NW)(G,e),this.elements.accessibleDiffViewer,this._accessibleDiffViewerVisible,(e,t)=>this._accessibleDiffViewerShouldBeVisible.set(e,t),this._options.onlyShowAccessibleDiffViewer.map(e=>!e),this._rootSizeObserver.width,this._rootSizeObserver.height,this._diffModel.map((e,t)=>{var i;return null===(i=null==e?void 0:e.diff.read(t))||void 0===i?void 0:i.mappings.map(e=>e.lineRangeMapping)}),new ei(this._editors))).recomputeInitiallyAndOnChange(this._store);let L=this._accessibleDiffViewerVisible.map(e=>e?"hidden":"visible");this._register((0,N.bg)(this.elements.modified,{visibility:L})),this._register((0,N.bg)(this.elements.original,{visibility:L})),this._createDiffEditorContributions(),o.addDiffEditor(this),this._gutter=(0,m.kA)(this,e=>this._options.shouldRenderGutterMenu.read(e)?this._instantiationService.createInstance((0,N.NW)(e8,e),this.elements.root,this._diffModel,this._editors,this._options,this._sashLayout,this._boundarySashes):void 0),this._register((0,p.jx)(this._layoutInfo)),(0,m.kA)(this,e=>new((0,N.NW)(en,e))(this.elements.root,this._diffModel,this._layoutInfo.map(e=>e.originalEditor),this._layoutInfo.map(e=>e.modifiedEditor),this._editors)).recomputeInitiallyAndOnChange(this._store,e=>{this._movedBlocksLinesPart.set(e,void 0)}),this._register(c.ju.runAndSubscribe(this._editors.modified.onDidChangeCursorPosition,e=>this._handleCursorPositionChange(e,!0))),this._register(c.ju.runAndSubscribe(this._editors.original.onDidChangeCursorPosition,e=>this._handleCursorPositionChange(e,!1)));let k=this._diffModel.map(this,(e,t)=>{if(e)return void 0===e.diff.read(t)&&!e.isDiffUpToDate.read(t)});this._register((0,p.gp)((e,t)=>{if(!0===k.read(e)){let e=this._editorProgressService.show(!0,1e3);t.add((0,g.OF)(()=>e.done()))}})),this._register((0,g.OF)(()=>{var e;this._shouldDisposeDiffModel&&(null===(e=this._diffModel.get())||void 0===e||e.dispose())})),this._register((0,p.gp)((e,t)=>{t.add(new((0,N.NW)(th,e))(this._editors,this._diffModel,this._options,this))}))}_createInnerEditor(e,t,i,n){let s=e.createInstance(b.Gm,t,i,n);return s}_createDiffEditorContributions(){let e=f.Uc.getDiffEditorContributions();for(let t of e)try{this._register(this._instantiationService.createInstance(t.ctor,this))}catch(e){(0,u.dL)(e)}}get _targetEditor(){return this._editors.modified}getEditorType(){return tg.g.IDiffEditor}layout(e){this._rootSizeObserver.observe(e)}hasTextFocus(){return this._editors.original.hasTextFocus()||this._editors.modified.hasTextFocus()}saveViewState(){var e;let t=this._editors.original.saveViewState(),i=this._editors.modified.saveViewState();return{original:t,modified:i,modelState:null===(e=this._diffModel.get())||void 0===e?void 0:e.serializeState()}}restoreViewState(e){var t;e&&e.original&&e.modified&&(this._editors.original.restoreViewState(e.original),this._editors.modified.restoreViewState(e.modified),e.modelState&&(null===(t=this._diffModel.get())||void 0===t||t.restoreSerializedState(e.modelState)))}handleInitialized(){this._editors.original.handleInitialized(),this._editors.modified.handleInitialized()}createViewModel(e){return this._instantiationService.createInstance(eN,e,this._options)}getModel(){var e,t;return null!==(t=null===(e=this._diffModel.get())||void 0===e?void 0:e.model)&&void 0!==t?t:null}setModel(e,t){!e&&this._diffModel.get()&&this._accessibleDiffViewer.get().close();let i=e?"model"in e?{model:e,shouldDispose:!1}:{model:this.createViewModel(e),shouldDispose:!0}:void 0;this._diffModel.get()!==(null==i?void 0:i.model)&&(0,p.c8)(t,e=>{var t;p.rD.batchEventsGlobally(e,()=>{this._editors.original.setModel(i?i.model.model.original:null),this._editors.modified.setModel(i?i.model.model.modified:null)});let n=this._diffModel.get(),s=this._shouldDisposeDiffModel;this._shouldDisposeDiffModel=null!==(t=null==i?void 0:i.shouldDispose)&&void 0!==t&&t,this._diffModel.set(null==i?void 0:i.model,e),s&&(null==n||n.dispose())})}updateOptions(e){this._options.updateOptions(e)}getContainerDomNode(){return this._domElement}getOriginalEditor(){return this._editors.original}getModifiedEditor(){return this._editors.modified}getLineChanges(){var e;let t=null===(e=this._diffModel.get())||void 0===e?void 0:e.diff.get();return t?t.mappings.map(e=>{let t,i,n,s;let o=e.lineRangeMapping,r=o.innerChanges;return o.original.isEmpty?(t=o.original.startLineNumber-1,i=0,r=void 0):(t=o.original.startLineNumber,i=o.original.endLineNumberExclusive-1),o.modified.isEmpty?(n=o.modified.startLineNumber-1,s=0,r=void 0):(n=o.modified.startLineNumber,s=o.modified.endLineNumberExclusive-1),{originalStartLineNumber:t,originalEndLineNumber:i,modifiedStartLineNumber:n,modifiedEndLineNumber:s,charChanges:null==r?void 0:r.map(e=>({originalStartLineNumber:e.originalRange.startLineNumber,originalStartColumn:e.originalRange.startColumn,originalEndLineNumber:e.originalRange.endLineNumber,originalEndColumn:e.originalRange.endColumn,modifiedStartLineNumber:e.modifiedRange.startLineNumber,modifiedStartColumn:e.modifiedRange.startColumn,modifiedEndLineNumber:e.modifiedRange.endLineNumber,modifiedEndColumn:e.modifiedRange.endColumn}))}}):null}revert(e){let t=this._diffModel.get();t&&t.isDiffUpToDate.get()&&this._editors.modified.executeEdits("diffEditor",[{range:e.modified.toExclusiveRange(),text:t.model.original.getValueInRange(e.original.toExclusiveRange())}])}revertRangeMappings(e){let t=this._diffModel.get();if(!t||!t.isDiffUpToDate.get())return;let i=e.map(e=>({range:e.modifiedRange,text:t.model.original.getValueInRange(e.originalRange)}));this._editors.modified.executeEdits("diffEditor",i)}_goTo(e){this._editors.modified.setPosition(new M.L(e.lineRangeMapping.modified.startLineNumber,1)),this._editors.modified.revealRangeInCenter(e.lineRangeMapping.modified.toExclusiveRange())}goToDiff(e){var t,i,n,s;let o;let r=null===(i=null===(t=this._diffModel.get())||void 0===t?void 0:t.diff.get())||void 0===i?void 0:i.mappings;if(!r||0===r.length)return;let l=this._editors.modified.getPosition().lineNumber;o="next"===e?null!==(n=r.find(e=>e.lineRangeMapping.modified.startLineNumber>l))&&void 0!==n?n:r[0]:null!==(s=(0,h.dF)(r,e=>e.lineRangeMapping.modified.startLineNumber{var t;let i=null===(t=e.diff.get())||void 0===t?void 0:t.mappings;i&&0!==i.length&&this._goTo(i[0])})}accessibleDiffViewerNext(){this._accessibleDiffViewer.get().next()}accessibleDiffViewerPrev(){this._accessibleDiffViewer.get().prev()}async waitForDiff(){let e=this._diffModel.get();e&&await e.waitForDiff()}mapToOtherSide(){var e,t;let i;let n=this._editors.modified.hasWidgetFocus(),s=n?this._editors.modified:this._editors.original,o=n?this._editors.original:this._editors.modified,r=s.getSelection();if(r){let s=null===(t=null===(e=this._diffModel.get())||void 0===e?void 0:e.diff.get())||void 0===t?void 0:t.mappings.map(e=>n?e.lineRangeMapping.flip():e.lineRangeMapping);if(s){let e=(0,N.cV)(r.getStartPosition(),s),t=(0,N.cV)(r.getEndPosition(),s);i=R.e.plusRange(e,t)}}return{destination:o,destinationSelection:i}}switchSide(){let{destination:e,destinationSelection:t}=this.mapToOtherSide();e.focus(),t&&e.setSelection(t)}exitCompareMove(){let e=this._diffModel.get();e&&e.movedTextToCompare.set(void 0,void 0)}collapseAllUnchangedRegions(){var e;let t=null===(e=this._diffModel.get())||void 0===e?void 0:e.unchangedRegions.get();t&&(0,p.PS)(e=>{for(let i of t)i.collapseAll(e)})}showAllUnchangedRegions(){var e;let t=null===(e=this._diffModel.get())||void 0===e?void 0:e.unchangedRegions.get();t&&(0,p.PS)(e=>{for(let i of t)i.showAll(e)})}_handleCursorPositionChange(e,t){var i,n;if((null==e?void 0:e.reason)===3){let s=null===(n=null===(i=this._diffModel.get())||void 0===i?void 0:i.diff.get())||void 0===n?void 0:n.mappings.find(i=>t?i.lineRangeMapping.modified.contains(e.position.lineNumber):i.lineRangeMapping.original.contains(e.position.lineNumber));(null==s?void 0:s.lineRangeMapping.modified.isEmpty)?this._accessibilitySignalService.playSignal(H.iP.diffLineDeleted,{source:"diffEditor.cursorPositionChanged"}):(null==s?void 0:s.lineRangeMapping.original.isEmpty)?this._accessibilitySignalService.playSignal(H.iP.diffLineInserted,{source:"diffEditor.cursorPositionChanged"}):s&&this._accessibilitySignalService.playSignal(H.iP.diffLineModified,{source:"diffEditor.cursorPositionChanged"})}}};tx=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([tD(3,e2.i6),tD(4,V.TG),tD(5,_.$),tD(6,H.IV),tD(7,tf.ek)],tx)},39561:function(e,t,i){"use strict";i.d(t,{O:function(){return w}});var n,s,o=i(81845),r=i(29475),l=i(47039),a=i(42891),d=i(70784),h=i(43495),u=i(48053),c=i(29527),g=i(24162),p=i(81719),m=i(63144),f=i(86570),_=i(70209),v=i(1863),b=i(82801),C=i(85327);let w=s=class extends d.JT{static setBreadcrumbsSourceFactory(e){this._breadcrumbsSourceFactory.set(e,void 0)}get isUpdatingHiddenAreas(){return this._isUpdatingHiddenAreas}constructor(e,t,i,n){super(),this._editors=e,this._diffModel=t,this._options=i,this._instantiationService=n,this._modifiedOutlineSource=(0,u.kA)(this,e=>{let t=this._editors.modifiedModel.read(e),i=s._breadcrumbsSourceFactory.read(e);return t&&i?i(t,this._instantiationService):void 0}),this._isUpdatingHiddenAreas=!1,this._register(this._editors.original.onDidChangeCursorPosition(e=>{if(1===e.reason)return;let t=this._diffModel.get();(0,h.PS)(e=>{for(let i of this._editors.original.getSelections()||[])null==t||t.ensureOriginalLineIsVisible(i.getStartPosition().lineNumber,0,e),null==t||t.ensureOriginalLineIsVisible(i.getEndPosition().lineNumber,0,e)})})),this._register(this._editors.modified.onDidChangeCursorPosition(e=>{if(1===e.reason)return;let t=this._diffModel.get();(0,h.PS)(e=>{for(let i of this._editors.modified.getSelections()||[])null==t||t.ensureModifiedLineIsVisible(i.getStartPosition().lineNumber,0,e),null==t||t.ensureModifiedLineIsVisible(i.getEndPosition().lineNumber,0,e)})}));let o=this._diffModel.map((e,t)=>{var i,n;let s=null!==(i=null==e?void 0:e.unchangedRegions.read(t))&&void 0!==i?i:[];return 1===s.length&&1===s[0].modifiedLineNumber&&s[0].lineCount===(null===(n=this._editors.modifiedModel.read(t))||void 0===n?void 0:n.getLineCount())?[]:s});this.viewZones=(0,h.Be)(this,(e,t)=>{let i=this._modifiedOutlineSource.read(e);if(!i)return{origViewZones:[],modViewZones:[]};let n=[],s=[],r=this._options.renderSideBySide.read(e),l=o.read(e);for(let o of l)if(!o.shouldHideControls(e)){{let e=(0,h.nK)(this,e=>o.getHiddenOriginalRange(e).startLineNumber-1),s=new p.GD(e,24);n.push(s),t.add(new y(this._editors.original,s,o,o.originalUnchangedRange,!r,i,e=>this._diffModel.get().ensureModifiedLineIsVisible(e,2,void 0),this._options))}{let e=(0,h.nK)(this,e=>o.getHiddenModifiedRange(e).startLineNumber-1),n=new p.GD(e,24);s.push(n),t.add(new y(this._editors.modified,n,o,o.modifiedUnchangedRange,!1,i,e=>this._diffModel.get().ensureModifiedLineIsVisible(e,2,void 0),this._options))}}return{origViewZones:n,modViewZones:s}});let r={description:"unchanged lines",className:"diff-unchanged-lines",isWholeLine:!0},d={description:"Fold Unchanged",glyphMarginHoverMessage:new a.W5(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown((0,b.NC)("foldUnchanged","Fold Unchanged Region")),glyphMarginClassName:"fold-unchanged "+c.k.asClassName(l.l.fold),zIndex:10001};this._register((0,p.RP)(this._editors.original,(0,h.nK)(this,e=>{let t=o.read(e),i=t.map(e=>({range:e.originalUnchangedRange.toInclusiveRange(),options:r}));for(let n of t)n.shouldHideControls(e)&&i.push({range:_.e.fromPositions(new f.L(n.originalLineNumber,1)),options:d});return i}))),this._register((0,p.RP)(this._editors.modified,(0,h.nK)(this,e=>{let t=o.read(e),i=t.map(e=>({range:e.modifiedUnchangedRange.toInclusiveRange(),options:r}));for(let n of t)n.shouldHideControls(e)&&i.push({range:m.z.ofLength(n.modifiedLineNumber,1).toInclusiveRange(),options:d});return i}))),this._register((0,h.EH)(e=>{let t=o.read(e);this._isUpdatingHiddenAreas=!0;try{this._editors.original.setHiddenAreas(t.map(t=>t.getHiddenOriginalRange(e).toInclusiveRange()).filter(g.$K)),this._editors.modified.setHiddenAreas(t.map(t=>t.getHiddenModifiedRange(e).toInclusiveRange()).filter(g.$K))}finally{this._isUpdatingHiddenAreas=!1}})),this._register(this._editors.modified.onMouseUp(e=>{var t;if(!e.event.rightButton&&e.target.position&&(null===(t=e.target.element)||void 0===t?void 0:t.className.includes("fold-unchanged"))){let t=e.target.position.lineNumber,i=this._diffModel.get();if(!i)return;let n=i.unchangedRegions.get().find(e=>e.modifiedUnchangedRange.includes(t));if(!n)return;n.collapseAll(void 0),e.event.stopPropagation(),e.event.preventDefault()}})),this._register(this._editors.original.onMouseUp(e=>{var t;if(!e.event.rightButton&&e.target.position&&(null===(t=e.target.element)||void 0===t?void 0:t.className.includes("fold-unchanged"))){let t=e.target.position.lineNumber,i=this._diffModel.get();if(!i)return;let n=i.unchangedRegions.get().find(e=>e.originalUnchangedRange.includes(t));if(!n)return;n.collapseAll(void 0),e.event.stopPropagation(),e.event.preventDefault()}}))}};w._breadcrumbsSourceFactory=(0,h.uh)("breadcrumbsSourceFactory",void 0),w=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=C.TG,function(e,t){n(e,t,3)})],w);class y extends p.N9{constructor(e,t,i,n,s,a,d,u){let c=(0,o.h)("div.diff-hidden-lines-widget");super(e,t,c.root),this._editor=e,this._unchangedRegion=i,this._unchangedRegionRange=n,this._hide=s,this._modifiedOutlineSource=a,this._revealModifiedHiddenLine=d,this._options=u,this._nodes=(0,o.h)("div.diff-hidden-lines",[(0,o.h)("div.top@top",{title:(0,b.NC)("diff.hiddenLines.top","Click or drag to show more above")}),(0,o.h)("div.center@content",{style:{display:"flex"}},[(0,o.h)("div@first",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0"}},[(0,o.$)("a",{title:(0,b.NC)("showUnchangedRegion","Show Unchanged Region"),role:"button",onclick:()=>{this._unchangedRegion.showAll(void 0)}},...(0,r.T)("$(unfold)"))]),(0,o.h)("div@others",{style:{display:"flex",justifyContent:"center",alignItems:"center"}})]),(0,o.h)("div.bottom@bottom",{title:(0,b.NC)("diff.bottom","Click or drag to show more below"),role:"button"})]),c.root.appendChild(this._nodes.root);let g=(0,h.rD)(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this._hide?(0,o.mc)(this._nodes.first):this._register((0,p.bg)(this._nodes.first,{width:g.map(e=>e.contentLeft)})),this._register((0,h.EH)(e=>{let t=this._unchangedRegion.visibleLineCountTop.read(e)+this._unchangedRegion.visibleLineCountBottom.read(e)===this._unchangedRegion.lineCount;this._nodes.bottom.classList.toggle("canMoveTop",!t),this._nodes.bottom.classList.toggle("canMoveBottom",this._unchangedRegion.visibleLineCountBottom.read(e)>0),this._nodes.top.classList.toggle("canMoveTop",this._unchangedRegion.visibleLineCountTop.read(e)>0),this._nodes.top.classList.toggle("canMoveBottom",!t);let i=this._unchangedRegion.isDragged.read(e),n=this._editor.getDomNode();n&&(n.classList.toggle("draggingUnchangedRegion",!!i),"top"===i?(n.classList.toggle("canMoveTop",this._unchangedRegion.visibleLineCountTop.read(e)>0),n.classList.toggle("canMoveBottom",!t)):"bottom"===i?(n.classList.toggle("canMoveTop",!t),n.classList.toggle("canMoveBottom",this._unchangedRegion.visibleLineCountBottom.read(e)>0)):(n.classList.toggle("canMoveTop",!1),n.classList.toggle("canMoveBottom",!1)))}));let m=this._editor;this._register((0,o.nm)(this._nodes.top,"mousedown",e=>{if(0!==e.button)return;this._nodes.top.classList.toggle("dragging",!0),this._nodes.root.classList.toggle("dragging",!0),e.preventDefault();let t=e.clientY,i=!1,n=this._unchangedRegion.visibleLineCountTop.get();this._unchangedRegion.isDragged.set("top",void 0);let s=(0,o.Jj)(this._nodes.top),r=(0,o.nm)(s,"mousemove",e=>{let s=e.clientY,o=s-t;i=i||Math.abs(o)>2;let r=Math.round(o/m.getOption(67)),l=Math.max(0,Math.min(n+r,this._unchangedRegion.getMaxVisibleLineCountTop()));this._unchangedRegion.visibleLineCountTop.set(l,void 0)}),l=(0,o.nm)(s,"mouseup",e=>{i||this._unchangedRegion.showMoreAbove(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0),this._nodes.top.classList.toggle("dragging",!1),this._nodes.root.classList.toggle("dragging",!1),this._unchangedRegion.isDragged.set(void 0,void 0),r.dispose(),l.dispose()})})),this._register((0,o.nm)(this._nodes.bottom,"mousedown",e=>{if(0!==e.button)return;this._nodes.bottom.classList.toggle("dragging",!0),this._nodes.root.classList.toggle("dragging",!0),e.preventDefault();let t=e.clientY,i=!1,n=this._unchangedRegion.visibleLineCountBottom.get();this._unchangedRegion.isDragged.set("bottom",void 0);let s=(0,o.Jj)(this._nodes.bottom),r=(0,o.nm)(s,"mousemove",e=>{let s=e.clientY,o=s-t;i=i||Math.abs(o)>2;let r=Math.round(o/m.getOption(67)),l=Math.max(0,Math.min(n-r,this._unchangedRegion.getMaxVisibleLineCountBottom())),a=this._unchangedRegionRange.endLineNumberExclusive>m.getModel().getLineCount()?m.getContentHeight():m.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.visibleLineCountBottom.set(l,void 0);let d=this._unchangedRegionRange.endLineNumberExclusive>m.getModel().getLineCount()?m.getContentHeight():m.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);m.setScrollTop(m.getScrollTop()+(d-a))}),l=(0,o.nm)(s,"mouseup",e=>{if(this._unchangedRegion.isDragged.set(void 0,void 0),!i){let e=m.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.showMoreBelow(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0);let t=m.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);m.setScrollTop(m.getScrollTop()+(t-e))}this._nodes.bottom.classList.toggle("dragging",!1),this._nodes.root.classList.toggle("dragging",!1),r.dispose(),l.dispose()})})),this._register((0,h.EH)(e=>{let t=[];if(!this._hide){let n=i.getHiddenModifiedRange(e).length,s=(0,b.NC)("hiddenLines","{0} hidden lines",n),a=(0,o.$)("span",{title:(0,b.NC)("diff.hiddenLines.expandAll","Double click to unfold")},s);a.addEventListener("dblclick",e=>{0===e.button&&(e.preventDefault(),this._unchangedRegion.showAll(void 0))}),t.push(a);let d=this._unchangedRegion.getHiddenModifiedRange(e),h=this._modifiedOutlineSource.getBreadcrumbItems(d,e);if(h.length>0){t.push((0,o.$)("span",void 0,"\xa0\xa0|\xa0\xa0"));for(let e=0;e{this._revealModifiedHiddenLine(i.startLineNumber)}}}}(0,o.mc)(this._nodes.others,...t)}))}}},27774:function(e,t,i){"use strict";i.d(t,{$F:function(){return C},Jv:function(){return f},LE:function(){return m},W3:function(){return b},fO:function(){return h},i_:function(){return p},iq:function(){return c},n_:function(){return _},rd:function(){return g},rq:function(){return v},vv:function(){return u}});var n=i(47039),s=i(29527),o=i(66629),r=i(82801),l=i(43616),a=i(79939);(0,l.P6G)("diffEditor.move.border",{dark:"#8b8b8b9c",light:"#8b8b8b9c",hcDark:"#8b8b8b9c",hcLight:"#8b8b8b9c"},(0,r.NC)("diffEditor.move.border","The border color for text that got moved in the diff editor.")),(0,l.P6G)("diffEditor.moveActive.border",{dark:"#FFA500",light:"#FFA500",hcDark:"#FFA500",hcLight:"#FFA500"},(0,r.NC)("diffEditor.moveActive.border","The active border color for text that got moved in the diff editor.")),(0,l.P6G)("diffEditor.unchangedRegionShadow",{dark:"#000000",light:"#737373BF",hcDark:"#000000",hcLight:"#737373BF"},(0,r.NC)("diffEditor.unchangedRegionShadow","The color of the shadow around unchanged region widgets."));let d=(0,a.q5)("diff-insert",n.l.add,(0,r.NC)("diffInsertIcon","Line decoration for inserts in the diff editor.")),h=(0,a.q5)("diff-remove",n.l.remove,(0,r.NC)("diffRemoveIcon","Line decoration for removals in the diff editor.")),u=o.qx.register({className:"line-insert",description:"line-insert",isWholeLine:!0,linesDecorationsClassName:"insert-sign "+s.k.asClassName(d),marginClassName:"gutter-insert"}),c=o.qx.register({className:"line-delete",description:"line-delete",isWholeLine:!0,linesDecorationsClassName:"delete-sign "+s.k.asClassName(h),marginClassName:"gutter-delete"}),g=o.qx.register({className:"line-insert",description:"line-insert",isWholeLine:!0,marginClassName:"gutter-insert"}),p=o.qx.register({className:"line-delete",description:"line-delete",isWholeLine:!0,marginClassName:"gutter-delete"}),m=o.qx.register({className:"char-insert",description:"char-insert",shouldFillLineOnLineBreak:!0}),f=o.qx.register({className:"char-insert",description:"char-insert",isWholeLine:!0}),_=o.qx.register({className:"char-insert diff-range-empty",description:"char-insert diff-range-empty"}),v=o.qx.register({className:"char-delete",description:"char-delete",shouldFillLineOnLineBreak:!0}),b=o.qx.register({className:"char-delete",description:"char-delete",isWholeLine:!0}),C=o.qx.register({className:"char-delete diff-range-empty",description:"char-delete diff-range-empty"})},81719:function(e,t,i){"use strict";let n;i.d(t,{t2:function(){return x},DU:function(){return b},GD:function(){return y},N9:function(){return w},Vm:function(){return C},xx:function(){return _},RP:function(){return f},bg:function(){return L},Sv:function(){return D},W7:function(){return E},Ap:function(){return m},RL:function(){return v},NW:function(){return k},cV:function(){return N}});var s=i(70365),o=i(9424),r=i(85580);function l(){return r.OB&&!!r.OB.VSCODE_DEV}function a(e){if(!l())return{dispose(){}};{let t=function(){n||(n=new Set);let e=globalThis;return e.$hotReload_applyNewExports||(e.$hotReload_applyNewExports=e=>{let t={config:{mode:void 0},...e};for(let e of n){let i=e(t);if(i)return i}}),n}();return t.add(e),{dispose(){t.delete(e)}}}}l()&&a(({oldExports:e,newSrc:t,config:i})=>{if("patch-prototype"===i.mode)return t=>{var i,n;for(let s in t){let o=t[s];if(console.log(`[hot-reload] Patching prototype methods of '${s}'`,{exportedItem:o}),"function"==typeof o&&o.prototype){let r=e[s];if(r){for(let e of Object.getOwnPropertyNames(o.prototype)){let t=Object.getOwnPropertyDescriptor(o.prototype,e),l=Object.getOwnPropertyDescriptor(r.prototype,e);(null===(i=null==t?void 0:t.value)||void 0===i?void 0:i.toString())!==(null===(n=null==l?void 0:l.value)||void 0===n?void 0:n.toString())&&console.log(`[hot-reload] Patching prototype method '${s}.${e}'`),Object.defineProperty(r.prototype,e,t)}t[s]=r}}}return!0}});var d=i(70784),h=i(43495),u=i(87733),c=i(86570),g=i(70209),p=i(98467);function m(e,t,i,n){if(0===e.length)return t;if(0===t.length)return e;let s=[],o=0,r=0;for(;oh?(s.push(a),r++):(s.push(n(l,a)),o++,r++)}for(;o`Apply decorations from ${t.debugName}`},e=>{let i=t.read(e);n.set(i)})),i.add({dispose:()=>{n.clear()}}),i}function _(e,t){return e.appendChild(t),(0,d.OF)(()=>{e.removeChild(t)})}function v(e,t){return e.prepend(t),(0,d.OF)(()=>{e.removeChild(t)})}class b extends d.JT{get width(){return this._width}get height(){return this._height}get automaticLayout(){return this._automaticLayout}constructor(e,t){super(),this._automaticLayout=!1,this.elementSizeObserver=this._register(new u.I(e,t)),this._width=(0,h.uh)(this,this.elementSizeObserver.getWidth()),this._height=(0,h.uh)(this,this.elementSizeObserver.getHeight()),this._register(this.elementSizeObserver.onDidChange(e=>(0,h.PS)(e=>{this._width.set(this.elementSizeObserver.getWidth(),e),this._height.set(this.elementSizeObserver.getHeight(),e)})))}observe(e){this.elementSizeObserver.observe(e)}setAutomaticLayout(e){this._automaticLayout=e,e?this.elementSizeObserver.startObserving():this.elementSizeObserver.stopObserving()}}function C(e,t,i){let n,s=t.get(),o=s,r=s,l=(0,h.uh)("animatedValue",s),a=-1;return i.add((0,h.nJ)({createEmptyChangeSummary:()=>({animate:!1}),handleChange:(e,i)=>(e.didChange(t)&&(i.animate=i.animate||e.change),!0)},(i,d)=>{void 0!==n&&(e.cancelAnimationFrame(n),n=void 0),o=r,s=t.read(i),a=Date.now()-(d.animate?0:300),function t(){var i,d;let h=Date.now()-a;r=Math.floor((i=o,d=s-o,300===h?i+d:d*(-Math.pow(2,-10*h/300)+1)+i)),h<300?n=e.requestAnimationFrame(t):r=s,l.set(r,void 0)}()})),l}class w extends d.JT{constructor(e,t,i){super(),this._register(new S(e,i)),this._register(L(i,{height:t.actualHeight,top:t.actualTop}))}}class y{get afterLineNumber(){return this._afterLineNumber.get()}constructor(e,t){this._afterLineNumber=e,this.heightInPx=t,this.domNode=document.createElement("div"),this._actualTop=(0,h.uh)(this,void 0),this._actualHeight=(0,h.uh)(this,void 0),this.actualTop=this._actualTop,this.actualHeight=this._actualHeight,this.showInHiddenAreas=!0,this.onChange=this._afterLineNumber,this.onDomNodeTop=e=>{this._actualTop.set(e,void 0)},this.onComputedHeight=e=>{this._actualHeight.set(e,void 0)}}}class S{constructor(e,t){this._editor=e,this._domElement=t,this._overlayWidgetId=`managedOverlayWidget-${S._counter++}`,this._overlayWidget={getId:()=>this._overlayWidgetId,getDomNode:()=>this._domElement,getPosition:()=>null},this._editor.addOverlayWidget(this._overlayWidget)}dispose(){this._editor.removeOverlayWidget(this._overlayWidget)}}function L(e,t){return(0,h.EH)(i=>{for(let[n,s]of Object.entries(t))s&&"object"==typeof s&&"read"in s&&(s=s.read(i)),"number"==typeof s&&(s=`${s}px`),n=n.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),e.style[n]=s})}function k(e,t){return function(e,t){if(l()){let i=(0,h.aq)("reload",t=>a(({oldExports:i})=>{if([...Object.values(i)].some(t=>e.includes(t)))return e=>(t(void 0),!0)}));i.read(t)}}([e],t),e}function D(e,t,i,n){let s=new d.SL,o=[];return s.add((0,h.gp)((s,r)=>{let l=t.read(s),a=new Map,d=new Map;i&&i(!0),e.changeViewZones(e=>{for(let t of o)e.removeZone(t),null==n||n.delete(t);for(let t of(o.length=0,l)){let i=e.addZone(t);t.setZoneId&&t.setZoneId(i),o.push(i),null==n||n.add(i),a.set(t,i)}}),i&&i(!1),r.add((0,h.nJ)({createEmptyChangeSummary:()=>({zoneIds:[]}),handleChange(e,t){let i=d.get(e.changedObservable);return void 0!==i&&t.zoneIds.push(i),!0}},(t,n)=>{for(let e of l)e.onChange&&(d.set(e.onChange,a.get(e)),e.onChange.read(t));i&&i(!0),e.changeViewZones(e=>{for(let t of n.zoneIds)e.layoutZone(t)}),i&&i(!1)}))})),s.add({dispose(){i&&i(!0),e.changeViewZones(e=>{for(let t of o)e.removeZone(t)}),null==n||n.clear(),i&&i(!1)}}),s}S._counter=0;class x extends o.AU{dispose(){super.dispose(!0)}}function N(e,t){let i=(0,s.dF)(t,t=>t.original.startLineNumber<=e.lineNumber);if(!i)return g.e.fromPositions(e);if(i.original.endLineNumberExclusive<=e.lineNumber){let t=e.lineNumber-i.original.endLineNumberExclusive+i.modified.endLineNumberExclusive;return g.e.fromPositions(new c.L(t,e.column))}if(!i.innerChanges)return g.e.fromPositions(new c.L(i.modified.startLineNumber,1));let n=(0,s.dF)(i.innerChanges,t=>t.originalRange.getStartPosition().isBeforeOrEqual(e));if(!n){let t=e.lineNumber-i.original.startLineNumber+i.modified.startLineNumber;return g.e.fromPositions(new c.L(t,e.column))}if(n.originalRange.containsPosition(e))return n.modifiedRange;{var o;let t=(o=n.originalRange.getEndPosition()).lineNumber===e.lineNumber?new p.A(0,e.column-o.column):new p.A(e.lineNumber-o.lineNumber,e.column-1);return g.e.fromPositions(t.addToPosition(n.modifiedRange.getEndPosition()))}}function E(e,t){let i;return e.filter(e=>{let n=t(e,i);return i=e,n})}},77585:function(e,t,i){"use strict";i.d(t,{$:function(){return m},N:function(){return f}});var n,s=i(7802),o=i(39813),r=i(32378),l=i(79915),a=i(70784);i(70892);var d=i(50950),h=i(77233),u=i(27281),c=i(57221),g=i(45902),p=function(e,t){return function(i,n){t(i,n,e)}};let m=n=class{constructor(e,t,i){this._options=e,this._languageService=t,this._openerService=i,this._onDidRenderAsync=new l.Q5,this.onDidRenderAsync=this._onDidRenderAsync.event}dispose(){this._onDidRenderAsync.dispose()}render(e,t,i){if(!e){let e=document.createElement("span");return{element:e,dispose:()=>{}}}let n=new a.SL,o=n.add((0,s.ap)(e,{...this._getRenderOptions(e,n),...t},i));return o.element.classList.add("rendered-markdown"),{element:o.element,dispose:()=>n.dispose()}}_getRenderOptions(e,t){return{codeBlockRenderer:async(e,t)=>{var i,s,o;let r;e?r=this._languageService.getLanguageIdByLanguageName(e):this._options.editor&&(r=null===(i=this._options.editor.getModel())||void 0===i?void 0:i.getLanguageId()),r||(r=u.bd);let l=await (0,c.C2)(this._languageService,t,r),a=document.createElement("span");if(a.innerHTML=null!==(o=null===(s=n._ttpTokenizer)||void 0===s?void 0:s.createHTML(l))&&void 0!==o?o:l,this._options.editor){let e=this._options.editor.getOption(50);(0,d.N)(a,e)}else this._options.codeBlockFontFamily&&(a.style.fontFamily=this._options.codeBlockFontFamily);return void 0!==this._options.codeBlockFontSize&&(a.style.fontSize=this._options.codeBlockFontSize),a},asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:t=>f(this._openerService,t,e.isTrusted),disposables:t}}}};async function f(e,t,i){try{return await e.open(t,{fromUserGesture:!0,allowContributedOpeners:!0,allowCommands:!0===i||!!(i&&Array.isArray(i.enabledCommands))&&i.enabledCommands})}catch(e){return(0,r.dL)(e),!1}}m._ttpTokenizer=(0,o.Z)("tokenizeToString",{createHTML:e=>e}),m=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([p(1,h.O),p(2,g.v)],m)},57996:function(e,t,i){"use strict";i.d(t,{D:function(){return s}});var n=i(76886);class s extends n.Wi{constructor(e){super(),this._getContext=e}runAction(e,t){let i=this._getContext();return super.runAction(e,i)}}},77786:function(e,t,i){"use strict";i.d(t,{OY:function(){return o},Sj:function(){return r},T4:function(){return s},Uo:function(){return l},hP:function(){return a}});var n=i(84781);class s{constructor(e,t,i=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=i}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),s=i[0].range;return n.Y.fromPositions(s.getEndPosition())}}class o{constructor(e,t){this._range=e,this._text=t}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),s=i[0].range;return n.Y.fromRange(s,0)}}class r{constructor(e,t,i=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=i}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),s=i[0].range;return n.Y.fromPositions(s.getStartPosition())}}class l{constructor(e,t,i,n,s=!1){this._range=e,this._text=t,this._columnDeltaOffset=n,this._lineNumberDeltaOffset=i,this.insertsAutoWhitespace=s}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),s=i[0].range;return n.Y.fromPositions(s.getEndPosition().delta(this._lineNumberDeltaOffset,this._columnDeltaOffset))}}class a{constructor(e,t,i,n=!1){this._range=e,this._text=t,this._initialSelection=i,this._forceMoveMarkers=n,this._selectionId=null}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}},2021:function(e,t,i){"use strict";i.d(t,{U:function(){return g}});var n,s,o=i(95612),r=i(64762),l=i(70209),a=i(84781),d=i(92037),h=i(32712);let u=Object.create(null);function c(e,t){if(t<=0)return"";u[e]||(u[e]=["",e]);let i=u[e];for(let n=i.length;n<=t;n++)i[n]=i[n-1]+e;return i[t]}let g=s=class{static unshiftIndent(e,t,i,n,s){let o=r.i.visibleColumnFromColumn(e,t,i);if(s){let e=c(" ",n),t=r.i.prevIndentTabStop(o,n),i=t/n;return c(e,i)}{let e=r.i.prevRenderTabStop(o,i),t=e/i;return c(" ",t)}}static shiftIndent(e,t,i,n,s){let o=r.i.visibleColumnFromColumn(e,t,i);if(s){let e=c(" ",n),t=r.i.nextIndentTabStop(o,n),i=t/n;return c(e,i)}{let e=r.i.nextRenderTabStop(o,i),t=e/i;return c(" ",t)}}constructor(e,t,i){this._languageConfigurationService=i,this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}_addEditOperation(e,t,i){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,i):e.addEditOperation(t,i)}getEditOperations(e,t){let i=this._selection.startLineNumber,n=this._selection.endLineNumber;1===this._selection.endColumn&&i!==n&&(n-=1);let{tabSize:a,indentSize:h,insertSpaces:u}=this._opts,g=i===n;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(e.getLineContent(i))&&(this._useLastEditRangeForCursorEndPosition=!0);let c=0,p=0;for(let m=i;m<=n;m++,c=p){let n;p=0;let f=e.getLineContent(m),_=o.LC(f);if((!this._opts.isUnshift||0!==f.length&&0!==_)&&(g||this._opts.isUnshift||0!==f.length)){if(-1===_&&(_=f.length),m>1){let t=r.i.visibleColumnFromColumn(f,_+1,a);if(t%h!=0&&e.tokenization.isCheapToTokenize(m-1)){let t=(0,d.A)(this._opts.autoIndent,e,new l.e(m-1,e.getLineMaxColumn(m-1),m-1,e.getLineMaxColumn(m-1)),this._languageConfigurationService);if(t){if(p=c,t.appendText)for(let e=0,i=t.appendText.length;e=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=h.c_,function(e,t){n(e,t,2)})],g)},66825:function(e,t,i){"use strict";i.d(t,{k:function(){return n}});let n={enableSplitViewResizing:!0,splitViewDefaultRatio:.5,renderSideBySide:!0,renderMarginRevertIcon:!0,renderGutterMenu:!0,maxComputationTime:5e3,maxFileSize:50,ignoreTrimWhitespace:!0,renderIndicators:!0,originalEditable:!1,diffCodeLens:!1,renderOverviewRuler:!0,diffWordWrap:"inherit",diffAlgorithm:"advanced",accessibilityVerbose:!1,experimental:{showMoves:!1,showEmptyDecorations:!0},hideUnchangedRegions:{enabled:!1,contextLineCount:3,minimumLineCount:3,revealLineCount:20},isInEmbeddedEditor:!1,onlyShowAccessibleDiffViewer:!1,renderSideBySideInlineBreakpoint:900,useInlineViewWhenSpaceIsLimited:!0}},1990:function(e,t,i){"use strict";i.d(t,{Pe:function(){return p},ei:function(){return g},wk:function(){return d}});var n=i(66825),s=i(43364),o=i(23945),r=i(82801),l=i(73004),a=i(34089);let d=Object.freeze({id:"editor",order:5,type:"object",title:r.NC("editorConfigurationTitle","Editor"),scope:5}),h={...d,properties:{"editor.tabSize":{type:"number",default:o.D.tabSize,minimum:1,markdownDescription:r.NC("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when {0} is on.","`#editor.detectIndentation#`")},"editor.indentSize":{anyOf:[{type:"string",enum:["tabSize"]},{type:"number",minimum:1}],default:"tabSize",markdownDescription:r.NC("indentSize",'The number of spaces used for indentation or `"tabSize"` to use the value from `#editor.tabSize#`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.')},"editor.insertSpaces":{type:"boolean",default:o.D.insertSpaces,markdownDescription:r.NC("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when {0} is on.","`#editor.detectIndentation#`")},"editor.detectIndentation":{type:"boolean",default:o.D.detectIndentation,markdownDescription:r.NC("detectIndentation","Controls whether {0} and {1} will be automatically detected when a file is opened based on the file contents.","`#editor.tabSize#`","`#editor.insertSpaces#`")},"editor.trimAutoWhitespace":{type:"boolean",default:o.D.trimAutoWhitespace,description:r.NC("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:o.D.largeFileOptimizations,description:r.NC("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{enum:["off","currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[r.NC("wordBasedSuggestions.off","Turn off Word Based Suggestions."),r.NC("wordBasedSuggestions.currentDocument","Only suggest words from the active document."),r.NC("wordBasedSuggestions.matchingDocuments","Suggest words from all open documents of the same language."),r.NC("wordBasedSuggestions.allDocuments","Suggest words from all open documents.")],description:r.NC("wordBasedSuggestions","Controls whether completions should be computed based on words in the document and from which documents they are computed.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[r.NC("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),r.NC("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),r.NC("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:r.NC("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:r.NC("stablePeek","Keep peek editors open even when double-clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:r.NC("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"editor.experimental.asyncTokenization":{type:"boolean",default:!1,description:r.NC("editor.experimental.asyncTokenization","Controls whether the tokenization should happen asynchronously on a web worker."),tags:["experimental"]},"editor.experimental.asyncTokenizationLogging":{type:"boolean",default:!1,description:r.NC("editor.experimental.asyncTokenizationLogging","Controls whether async tokenization should be logged. For debugging only.")},"editor.experimental.asyncTokenizationVerification":{type:"boolean",default:!1,description:r.NC("editor.experimental.asyncTokenizationVerification","Controls whether async tokenization should be verified against legacy background tokenization. Might slow down tokenization. For debugging only."),tags:["experimental"]},"editor.language.brackets":{type:["array","null"],default:null,description:r.NC("schema.brackets","Defines the bracket symbols that increase or decrease the indentation."),items:{type:"array",items:[{type:"string",description:r.NC("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:r.NC("schema.closeBracket","The closing bracket character or string sequence.")}]}},"editor.language.colorizedBracketPairs":{type:["array","null"],default:null,description:r.NC("schema.colorizedBracketPairs","Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled."),items:{type:"array",items:[{type:"string",description:r.NC("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:r.NC("schema.closeBracket","The closing bracket character or string sequence.")}]}},"diffEditor.maxComputationTime":{type:"number",default:n.k.maxComputationTime,description:r.NC("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.maxFileSize":{type:"number",default:n.k.maxFileSize,description:r.NC("maxFileSize","Maximum file size in MB for which to compute diffs. Use 0 for no limit.")},"diffEditor.renderSideBySide":{type:"boolean",default:n.k.renderSideBySide,description:r.NC("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.renderSideBySideInlineBreakpoint":{type:"number",default:n.k.renderSideBySideInlineBreakpoint,description:r.NC("renderSideBySideInlineBreakpoint","If the diff editor width is smaller than this value, the inline view is used.")},"diffEditor.useInlineViewWhenSpaceIsLimited":{type:"boolean",default:n.k.useInlineViewWhenSpaceIsLimited,description:r.NC("useInlineViewWhenSpaceIsLimited","If enabled and the editor width is too small, the inline view is used.")},"diffEditor.renderMarginRevertIcon":{type:"boolean",default:n.k.renderMarginRevertIcon,description:r.NC("renderMarginRevertIcon","When enabled, the diff editor shows arrows in its glyph margin to revert changes.")},"diffEditor.renderGutterMenu":{type:"boolean",default:n.k.renderGutterMenu,description:r.NC("renderGutterMenu","When enabled, the diff editor shows a special gutter for revert and stage actions.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:n.k.ignoreTrimWhitespace,description:r.NC("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:n.k.renderIndicators,description:r.NC("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:n.k.diffCodeLens,description:r.NC("codeLens","Controls whether the editor shows CodeLens.")},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:n.k.diffWordWrap,markdownEnumDescriptions:[r.NC("wordWrap.off","Lines will never wrap."),r.NC("wordWrap.on","Lines will wrap at the viewport width."),r.NC("wordWrap.inherit","Lines will wrap according to the {0} setting.","`#editor.wordWrap#`")]},"diffEditor.diffAlgorithm":{type:"string",enum:["legacy","advanced"],default:n.k.diffAlgorithm,markdownEnumDescriptions:[r.NC("diffAlgorithm.legacy","Uses the legacy diffing algorithm."),r.NC("diffAlgorithm.advanced","Uses the advanced diffing algorithm.")],tags:["experimental"]},"diffEditor.hideUnchangedRegions.enabled":{type:"boolean",default:n.k.hideUnchangedRegions.enabled,markdownDescription:r.NC("hideUnchangedRegions.enabled","Controls whether the diff editor shows unchanged regions.")},"diffEditor.hideUnchangedRegions.revealLineCount":{type:"integer",default:n.k.hideUnchangedRegions.revealLineCount,markdownDescription:r.NC("hideUnchangedRegions.revealLineCount","Controls how many lines are used for unchanged regions."),minimum:1},"diffEditor.hideUnchangedRegions.minimumLineCount":{type:"integer",default:n.k.hideUnchangedRegions.minimumLineCount,markdownDescription:r.NC("hideUnchangedRegions.minimumLineCount","Controls how many lines are used as a minimum for unchanged regions."),minimum:1},"diffEditor.hideUnchangedRegions.contextLineCount":{type:"integer",default:n.k.hideUnchangedRegions.contextLineCount,markdownDescription:r.NC("hideUnchangedRegions.contextLineCount","Controls how many lines are used as context when comparing unchanged regions."),minimum:1},"diffEditor.experimental.showMoves":{type:"boolean",default:n.k.experimental.showMoves,markdownDescription:r.NC("showMoves","Controls whether the diff editor should show detected code moves.")},"diffEditor.experimental.showEmptyDecorations":{type:"boolean",default:n.k.experimental.showEmptyDecorations,description:r.NC("showEmptyDecorations","Controls whether the diff editor shows empty decorations to see where characters got inserted or deleted.")}}};for(let e of s.Bc){let t=e.schema;if(void 0!==t){if(void 0!==t.type||void 0!==t.anyOf)h.properties[`editor.${e.name}`]=t;else for(let e in t)Object.hasOwnProperty.call(t,e)&&(h.properties[e]=t[e])}}let u=null;function c(){return null===u&&(u=Object.create(null),Object.keys(h.properties).forEach(e=>{u[e]=!0})),u}function g(e){let t=c();return t[`editor.${e}`]||!1}function p(e){let t=c();return t[`diffEditor.${e}`]||!1}let m=a.B.as(l.IP.Configuration);m.registerConfiguration(h)},66597:function(e,t,i){"use strict";i.d(t,{C:function(){return s}});var n=i(79915);let s=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new n.Q5,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}},9148:function(e,t,i){"use strict";i.d(t,{E4:function(){return l},pR:function(){return a}});var n=i(58022),s=i(43364),o=i(66597);let r=n.dz?1.5:1.35;class l{static createFromValidatedSettings(e,t,i){let n=e.get(49),s=e.get(53),o=e.get(52),r=e.get(51),a=e.get(54),d=e.get(67),h=e.get(64);return l._create(n,s,o,r,a,d,h,t,i)}static _create(e,t,i,n,a,d,h,u,c){0===d?d=r*i:d<8&&(d*=i),(d=Math.round(d))<8&&(d=8);let g=1+(c?0:.1*o.C.getZoomLevel());if(i*=g,d*=g,a===s.Bo.TRANSLATE){if("normal"===t||"bold"===t)a=s.Bo.OFF;else{let e=parseInt(t,10);a=`'wght' ${e}`,t="normal"}}return new l({pixelRatio:u,fontFamily:e,fontWeight:t,fontSize:i,fontFeatureSettings:n,fontVariationSettings:a,lineHeight:d,letterSpacing:h})}constructor(e){this._bareFontInfoBrand=void 0,this.pixelRatio=e.pixelRatio,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.fontVariationSettings=e.fontVariationSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}getId(){return`${this.pixelRatio}-${this.fontFamily}-${this.fontWeight}-${this.fontSize}-${this.fontFeatureSettings}-${this.fontVariationSettings}-${this.lineHeight}-${this.letterSpacing}`}getMassagedFontFamily(){let e=s.hL.fontFamily,t=l._wrapInQuotes(this.fontFamily);return e&&this.fontFamily!==e?`${t}, ${e}`:t}static _wrapInQuotes(e){return/[,"']/.test(e)?e:/[+ ]/.test(e)?`"${e}"`:e}}class a extends l{constructor(e,t){super(e),this._editorStylingBrand=void 0,this.version=2,this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.fontVariationSettings===e.fontVariationSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}},32035:function(e,t,i){"use strict";i.d(t,{N:function(){return s},q:function(){return o}});var n=i(91763);class s{constructor(e){let t=(0,n.K)(e);this._defaultValue=t,this._asciiMap=s._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let i=(0,n.K)(t);e>=0&&e<256?this._asciiMap[e]=i:this._map.set(e,i)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class o{constructor(){this._actual=new s(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}clear(){return this._actual.clear()}}},64762:function(e,t,i){"use strict";i.d(t,{i:function(){return s}});var n=i(95612);class s{static _nextVisibleColumn(e,t,i){return 9===e?s.nextRenderTabStop(t,i):n.K7(e)||n.C8(e)?t+2:t+1}static visibleColumnFromColumn(e,t,i){let s=Math.min(t-1,e.length),o=e.substring(0,s),r=new n.W1(o),l=0;for(;!r.eol();){let e=n.ZH(o,s,r.offset);r.nextGraphemeLength(),l=this._nextVisibleColumn(e,l,i)}return l}static columnFromVisibleColumn(e,t,i){if(t<=0)return 1;let s=e.length,o=new n.W1(e),r=0,l=1;for(;!o.eol();){let a=n.ZH(e,s,o.offset);o.nextGraphemeLength();let d=this._nextVisibleColumn(a,r,i),h=o.offset+1;if(d>=t){let e=t-r,i=d-t;if(i{let i=e.getColor(o.cvW),n=e.getColor(l),s=n&&!n.isTransparent()?n:i;s&&t.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${s}; }`)})},50453:function(e,t,i){"use strict";function n(e){let t=0,i=0,n=0,s=0;for(let o=0,r=e.length;ot)throw new n.he(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&et.endLineNumberExclusive>=e.startLineNumber),i=(0,r.Jw)(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)this._normalizedRanges.splice(t,0,e);else if(t===i-1){let i=this._normalizedRanges[t];this._normalizedRanges[t]=i.join(e)}else{let n=this._normalizedRanges[t].join(this._normalizedRanges[i-1]).join(e);this._normalizedRanges.splice(t,i-t,n)}}contains(e){let t=(0,r.ti)(this._normalizedRanges,t=>t.startLineNumber<=e);return!!t&&t.endLineNumberExclusive>e}intersects(e){let t=(0,r.ti)(this._normalizedRanges,t=>t.startLineNumbere.startLineNumber}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;let t=[],i=0,n=0,s=null;for(;i=o.startLineNumber?s=new l(s.startLineNumber,Math.max(s.endLineNumberExclusive,o.endLineNumberExclusive)):(t.push(s),s=o)}return null!==s&&t.push(s),new a(t)}subtractFrom(e){let t=(0,r.J_)(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),i=(0,r.Jw)(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)return new a([e]);let n=[],s=e.startLineNumber;for(let e=t;es&&n.push(new l(s,t.startLineNumber)),s=t.endLineNumberExclusive}return se.toString()).join(", ")}getIntersection(e){let t=[],i=0,n=0;for(;it.delta(e)))}}},81294:function(e,t,i){"use strict";i.d(t,{M:function(){return o},q:function(){return s}});var n=i(32378);class s{static addRange(e,t){let i=0;for(;it))return new s(e,t)}static ofLength(e){return new s(0,e)}static ofStartAndLength(e,t){return new s(e,e+t)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new n.he(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new s(this.start+e,this.endExclusive+e)}deltaStart(e){return new s(this.start+e,this.endExclusive)}deltaEnd(e){return new s(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}contains(e){return this.start<=e&&e=e.endExclusive}slice(e){return e.slice(this.start,this.endExclusive)}substring(e){return e.substring(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new n.he(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new n.he(`Invalid clipping range: ${this.toString()}`);return e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;te.toString()).join(", ")}intersectsStrict(e){let t=0;for(;te+t.length,0)}}},86570:function(e,t,i){"use strict";i.d(t,{L:function(){return n}});class n{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new n(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return n.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return n.isBefore(this,e)}static isBefore(e,t){return e.lineNumberi||e===i&&t>n?(this.startLineNumber=i,this.startColumn=n,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=i,this.endColumn=n)}isEmpty(){return s.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return s.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))}containsRange(e){return s.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))}strictContainsRange(e){return s.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))}plusRange(e){return s.plusRange(this,e)}static plusRange(e,t){let i,n,o,r;return t.startLineNumbere.endLineNumber?(o=t.endLineNumber,r=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,r=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,r=e.endColumn),new s(i,n,o,r)}intersectRanges(e){return s.intersectRanges(this,e)}static intersectRanges(e,t){let i=e.startLineNumber,n=e.startColumn,o=e.endLineNumber,r=e.endColumn,l=t.startLineNumber,a=t.startColumn,d=t.endLineNumber,h=t.endColumn;return(id?(o=d,r=h):o===d&&(r=Math.min(r,h)),i>o||i===o&&n>r)?null:new s(i,n,o,r)}equalsRange(e){return s.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return s.getEndPosition(this)}static getEndPosition(e){return new n.L(e.endLineNumber,e.endColumn)}getStartPosition(){return s.getStartPosition(this)}static getStartPosition(e){return new n.L(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new s(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new s(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return s.collapseToStart(this)}static collapseToStart(e){return new s(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return s.collapseToEnd(this)}static collapseToEnd(e){return new s(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new s(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new s(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new s(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}},84781:function(e,t,i){"use strict";i.d(t,{Y:function(){return o}});var n=i(86570),s=i(70209);class o extends s.e{constructor(e,t,i,n){super(e,t,i,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=i,this.positionColumn=n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new n.L(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new n.L(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new o(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new o(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let i=0,n=e.length;i0&&(65279===n[0]||65534===n[0])?function(e,t,i){let n=[],s=0;for(let o=0;o=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=e;return}for(let i=0;i(0,n.DM)(e,(e,t)=>e.range.getEndPosition().isBeforeOrEqual(t.range.getStartPosition())))}apply(e){let t="",i=new o.L(1,1);for(let n of this.edits){let s=n.range,o=s.getStartPosition(),r=s.getEndPosition(),l=c(i,o);l.isEmpty()||(t+=e.getValueOfRange(l)),t+=n.text,i=r}let n=c(i,e.endPositionExclusive);return n.isEmpty()||(t+=e.getValueOfRange(n)),t}applyToString(e){let t=new p(e);return this.apply(t)}getNewRanges(){let e=[],t=0,i=0,n=0;for(let s of this.edits){let r=l.A.ofText(s.text),a=o.L.lift({lineNumber:s.range.startLineNumber+i,column:s.range.startColumn+(s.range.startLineNumber===t?n:0)}),d=r.createRange(a);e.push(d),i=d.endLineNumber-s.range.endLineNumber,n=d.endColumn-s.range.endColumn,t=s.range.endLineNumber}return e}}class u{constructor(e,t){this.range=e,this.text=t}}function c(e,t){if(e.lineNumber===t.lineNumber&&e.column===Number.MAX_SAFE_INTEGER)return d.e.fromPositions(t,t);if(!e.isBeforeOrEqual(t))throw new s.he("start must be before end");return new d.e(e.lineNumber,e.column,t.lineNumber,t.column)}class g{get endPositionExclusive(){return this.length.addToPosition(new o.L(1,1))}}class p extends g{constructor(e){super(),this.value=e,this._t=new a(this.value)}getValueOfRange(e){return this._t.getOffsetRange(e).substring(this.value)}get length(){return this._t.textLength}}},98467:function(e,t,i){"use strict";i.d(t,{A:function(){return o}});var n=i(86570),s=i(70209);class o{static betweenPositions(e,t){return e.lineNumber===t.lineNumber?new o(0,t.column-e.column):new o(t.lineNumber-e.lineNumber,t.column-1)}static ofRange(e){return o.betweenPositions(e.getStartPosition(),e.getEndPosition())}static ofText(e){let t=0,i=0;for(let n of e)"\n"===n?(t++,i=0):i++;return new o(t,i)}constructor(e,t){this.lineCount=e,this.columnCount=t}isGreaterThanOrEqualTo(e){return this.lineCount!==e.lineCount?this.lineCount>e.lineCount:this.columnCount>=e.columnCount}createRange(e){return 0===this.lineCount?new s.e(e.lineNumber,e.column,e.lineNumber,e.column+this.columnCount):new s.e(e.lineNumber,e.column,e.lineNumber+this.lineCount,this.columnCount+1)}addToPosition(e){return 0===this.lineCount?new n.L(e.lineNumber,e.column+this.columnCount):new n.L(e.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}}o.zero=new o(0,0)},23945:function(e,t,i){"use strict";i.d(t,{D:function(){return n}});let n={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}}},41117:function(e,t,i){"use strict";i.d(t,{u:function(){return l}});var n=i(10289),s=i(32035);class o extends s.N{constructor(e,t){super(0),this._segmenter=null,this._cachedLine=null,this._cachedSegments=[],this.intlSegmenterLocales=t,this.intlSegmenterLocales.length>0?this._segmenter=new Intl.Segmenter(this.intlSegmenterLocales,{granularity:"word"}):this._segmenter=null;for(let t=0,i=e.length;tt)break;i=n}return i}findNextIntlWordAtOrAfterOffset(e,t){for(let i of this._getIntlSegmenterWordsOnLine(e))if(!(i.indexr.maxLen){let n=t-r.maxLen/2;return n<0?n=0:o+=n,s=s.substring(n,t+r.maxLen/2),e(t,i,s,o,r)}let d=Date.now(),h=t-1-o,u=-1,c=null;for(let e=1;!(Date.now()-d>=r.timeBudget);e++){let t=h-r.windowSize*e;i.lastIndex=Math.max(0,t);let n=function(e,t,i,n){let s;for(;s=e.exec(t);){let t=s.index||0;if(t<=i&&e.lastIndex>=i)return s;if(n>0&&t>n)break}return null}(i,s,h,u);if(!n&&c||(c=n,t<=0))break;u=t}if(c){let e={word:c[0],startColumn:o+1+c.index,endColumn:o+1+c.index+c[0].length};return i.lastIndex=0,e}return null}},vu:function(){return o}});var n=i(93072),s=i(92270);let o="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",r=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(let i of o)e.indexOf(i)>=0||(t+="\\"+i);return RegExp(t+="\\s]+)","g")}();function l(e){let t=r;if(e&&e instanceof RegExp){if(e.global)t=e;else{let i="g";e.ignoreCase&&(i+="i"),e.multiline&&(i+="m"),e.unicode&&(i+="u"),t=new RegExp(e.source,i)}}return t.lastIndex=0,t}let a=new s.S;a.unshift({maxLen:1e3,windowSize:15,timeBudget:150})},90036:function(e,t,i){"use strict";i.d(t,{l:function(){return s}});var n=i(64762);class s{static whitespaceVisibleColumn(e,t,i){let s=e.length,o=0,r=-1,l=-1;for(let a=0;a=u.length+1)return!1;let c=u.charAt(h.column-2),g=n.get(c);if(!g)return!1;if((0,o.LN)(c)){if("never"===i)return!1}else if("never"===t)return!1;let p=u.charAt(h.column-1),m=!1;for(let e of g)e.open===c&&e.close===p&&(m=!0);if(!m)return!1;if("auto"===e){let e=!1;for(let t=0,i=l.length;t1){let e=t.getLineContent(s.lineNumber),o=n.LC(e),l=-1===o?e.length+1:o+1;if(s.column<=l){let e=i.visibleColumnFromColumn(t,s),n=r.i.prevIndentTabStop(e,i.indentSize),o=i.columnFromVisibleColumn(t,s.lineNumber,n);return new a.e(s.lineNumber,o,s.lineNumber,s.column)}}return a.e.fromPositions(h.getPositionAfterDeleteLeft(s,t),s)}static getPositionAfterDeleteLeft(e,t){if(e.column>1){let i=n.oH(e.column-1,t.getLineContent(e.lineNumber));return e.with(void 0,i+1)}if(!(e.lineNumber>1))return e;{let i=e.lineNumber-1;return new d.L(i,t.getLineMaxColumn(i))}}static cut(e,t,i){let n=[],r=null;i.sort((e,t)=>d.L.compare(e.getStartPosition(),t.getEndPosition()));for(let o=0,l=i.length;o1&&(null==r?void 0:r.endLineNumber)!==u.lineNumber?(e=u.lineNumber-1,i=t.getLineMaxColumn(u.lineNumber-1),d=u.lineNumber,h=t.getLineMaxColumn(u.lineNumber)):(e=u.lineNumber,i=1,d=u.lineNumber,h=t.getLineMaxColumn(u.lineNumber));let c=new a.e(e,i,d,h);r=c,c.isEmpty()?n[o]=null:n[o]=new s.T4(c,"")}else n[o]=null}else n[o]=new s.T4(l,"")}return new o.Tp(0,n,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}},65151:function(e,t,i){"use strict";i.d(t,{N:function(){return s},P:function(){return u}});var n,s,o=i(24162),r=i(2474),l=i(81998),a=i(42525),d=i(86570),h=i(70209);class u{static addCursorDown(e,t,i){let n=[],s=0;for(let o=0,a=t.length;ot&&(i=t,n=e.model.getLineMaxColumn(i)),r.Vi.fromModelState(new r.rS(new h.e(o.lineNumber,1,i,n),2,0,new d.L(i,n),0))}let a=t.modelState.selectionStart.getStartPosition().lineNumber;if(o.lineNumbera){let i=e.getLineCount(),n=l.lineNumber+1,s=1;return n>i&&(n=i,s=e.getLineMaxColumn(n)),r.Vi.fromViewState(t.viewState.move(!0,n,s,0))}{let e=t.modelState.selectionStart.getEndPosition();return r.Vi.fromModelState(t.modelState.move(!0,e.lineNumber,e.column,0))}}static word(e,t,i,n){let s=e.model.validatePosition(n);return r.Vi.fromModelState(a.w.word(e.cursorConfig,e.model,t.modelState,i,s))}static cancelSelection(e,t){if(!t.modelState.hasSelection())return new r.Vi(t.modelState,t.viewState);let i=t.viewState.position.lineNumber,n=t.viewState.position.column;return r.Vi.fromViewState(new r.rS(new h.e(i,n,i,n),0,0,new d.L(i,n),0))}static moveTo(e,t,i,n,s){if(i){if(1===t.modelState.selectionStartKind)return this.word(e,t,i,n);if(2===t.modelState.selectionStartKind)return this.line(e,t,i,n,s)}let o=e.model.validatePosition(n),l=s?e.coordinatesConverter.validateViewPosition(new d.L(s.lineNumber,s.column),o):e.coordinatesConverter.convertModelPositionToViewPosition(o);return r.Vi.fromViewState(t.viewState.move(i,l.lineNumber,l.column,0))}static simpleMove(e,t,i,n,s,o){switch(i){case 0:if(4===o)return this._moveHalfLineLeft(e,t,n);return this._moveLeft(e,t,n,s);case 1:if(4===o)return this._moveHalfLineRight(e,t,n);return this._moveRight(e,t,n,s);case 2:if(2===o)return this._moveUpByViewLines(e,t,n,s);return this._moveUpByModelLines(e,t,n,s);case 3:if(2===o)return this._moveDownByViewLines(e,t,n,s);return this._moveDownByModelLines(e,t,n,s);case 4:if(2===o)return t.map(t=>r.Vi.fromViewState(l.o.moveToPrevBlankLine(e.cursorConfig,e,t.viewState,n)));return t.map(t=>r.Vi.fromModelState(l.o.moveToPrevBlankLine(e.cursorConfig,e.model,t.modelState,n)));case 5:if(2===o)return t.map(t=>r.Vi.fromViewState(l.o.moveToNextBlankLine(e.cursorConfig,e,t.viewState,n)));return t.map(t=>r.Vi.fromModelState(l.o.moveToNextBlankLine(e.cursorConfig,e.model,t.modelState,n)));case 6:return this._moveToViewMinColumn(e,t,n);case 7:return this._moveToViewFirstNonWhitespaceColumn(e,t,n);case 8:return this._moveToViewCenterColumn(e,t,n);case 9:return this._moveToViewMaxColumn(e,t,n);case 10:return this._moveToViewLastNonWhitespaceColumn(e,t,n);default:return null}}static viewportMove(e,t,i,n,s){let o=e.getCompletelyVisibleViewRange(),r=e.coordinatesConverter.convertViewRangeToModelRange(o);switch(i){case 11:{let i=this._firstLineNumberInRange(e.model,r,s),o=e.model.getLineFirstNonWhitespaceColumn(i);return[this._moveToModelPosition(e,t[0],n,i,o)]}case 13:{let i=this._lastLineNumberInRange(e.model,r,s),o=e.model.getLineFirstNonWhitespaceColumn(i);return[this._moveToModelPosition(e,t[0],n,i,o)]}case 12:{let i=Math.round((r.startLineNumber+r.endLineNumber)/2),s=e.model.getLineFirstNonWhitespaceColumn(i);return[this._moveToModelPosition(e,t[0],n,i,s)]}case 14:{let i=[];for(let s=0,r=t.length;si.endLineNumber-1?i.endLineNumber-1:sr.Vi.fromViewState(l.o.moveLeft(e.cursorConfig,e,t.viewState,i,n)))}static _moveHalfLineLeft(e,t,i){let n=[];for(let s=0,o=t.length;sr.Vi.fromViewState(l.o.moveRight(e.cursorConfig,e,t.viewState,i,n)))}static _moveHalfLineRight(e,t,i){let n=[];for(let s=0,o=t.length;s0}}},82508:function(e,t,i){"use strict";i.d(t,{AJ:function(){return y},QG:function(){return M},Qr:function(){return I},R6:function(){return k},Sq:function(){return B},Uc:function(){return s},_K:function(){return R},_l:function(){return L},fK:function(){return E},jY:function(){return D},kz:function(){return F},mY:function(){return w},n_:function(){return O},rn:function(){return T},sb:function(){return N},x1:function(){return x}});var n,s,o=i(82801),r=i(5482),l=i(70208),a=i(86570),d=i(98334),h=i(883),u=i(30467),c=i(81903),g=i(33336),p=i(85327),m=i(93589),f=i(34089),_=i(77207),v=i(24162),b=i(99078),C=i(81845);class w{constructor(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this.metadata=e.metadata}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){let e=Array.isArray(this._kbOpts)?this._kbOpts:[this._kbOpts];for(let t of e){let e=t.kbExpr;this.precondition&&(e=e?g.Ao.and(e,this.precondition):this.precondition);let i={id:this.id,weight:t.weight,args:t.args,when:e,primary:t.primary,secondary:t.secondary,win:t.win,linux:t.linux,mac:t.mac};m.W.registerKeybindingRule(i)}}c.P.registerCommand({id:this.id,handler:(e,t)=>this.runCommand(e,t),metadata:this.metadata})}_registerMenuItem(e){u.BH.appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title,icon:e.icon,precondition:this.precondition},when:e.when,order:e.order})}}class y extends w{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t,i,n){return this._implementations.push({priority:e,name:t,implementation:i,when:n}),this._implementations.sort((e,t)=>t.priority-e.priority),{dispose:()=>{for(let e=0;e{let s=e.get(g.i6);if(s.contextMatchesRules(null!=i?i:void 0))return n(e,o,t)})}runCommand(e,t){return L.runEditorCommand(e,t,this.precondition,(e,t,i)=>this.runEditorCommand(e,t,i))}}class k extends L{static convertOptions(e){let t;function i(t){return t.menuId||(t.menuId=u.eH.EditorContext),t.title||(t.title=e.label),t.when=g.Ao.and(e.precondition,t.when),t}return t=Array.isArray(e.menuOpts)?e.menuOpts:e.menuOpts?[e.menuOpts]:[],Array.isArray(e.contextMenuOpts)?t.push(...e.contextMenuOpts.map(i)):e.contextMenuOpts&&t.push(i(e.contextMenuOpts)),e.menuOpts=t,e}constructor(e){super(k.convertOptions(e)),this.label=e.label,this.alias=e.alias}runEditorCommand(e,t,i){return this.reportTelemetry(e,t),this.run(e,t,i||{})}reportTelemetry(e,t){e.get(_.b).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}class D extends k{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t){return this._implementations.push([e,t]),this._implementations.sort((e,t)=>t[0]-e[0]),{dispose:()=>{for(let e=0;e{var i,s;let o=e.get(g.i6),r=e.get(b.VZ),l=o.contextMatchesRules(null!==(i=this.desc.precondition)&&void 0!==i?i:void 0);if(!l){r.debug("[EditorAction2] NOT running command because its precondition is FALSE",this.desc.id,null===(s=this.desc.precondition)||void 0===s?void 0:s.serialize());return}return this.runEditorCommand(e,n,...t)})}}function N(e,t){c.P.registerCommand(e,function(e,...i){let n=e.get(p.TG),[s,o]=i;(0,v.p_)(r.o.isUri(s)),(0,v.p_)(a.L.isIPosition(o));let l=e.get(d.q).getModel(s);if(l){let e=a.L.lift(o);return n.invokeFunction(t,l,e,...i.slice(2))}return e.get(h.S).createModelReference(s).then(e=>new Promise((s,r)=>{try{let r=n.invokeFunction(t,e.object.textEditorModel,a.L.lift(o),i.slice(2));s(r)}catch(e){r(e)}}).finally(()=>{e.dispose()}))})}function E(e){return A.INSTANCE.registerEditorCommand(e),e}function I(e){let t=new e;return A.INSTANCE.registerEditorAction(t),t}function T(e){return A.INSTANCE.registerEditorAction(e),e}function M(e){A.INSTANCE.registerEditorAction(e)}function R(e,t,i){A.INSTANCE.registerEditorContribution(e,t,i)}(n=s||(s={})).getEditorCommand=function(e){return A.INSTANCE.getEditorCommand(e)},n.getEditorActions=function(){return A.INSTANCE.getEditorActions()},n.getEditorContributions=function(){return A.INSTANCE.getEditorContributions()},n.getSomeEditorContributions=function(e){return A.INSTANCE.getEditorContributions().filter(t=>e.indexOf(t.id)>=0)},n.getDiffEditorContributions=function(){return A.INSTANCE.getDiffEditorContributions()};class A{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(e,t,i){this.editorContributions.push({id:e,ctor:t,instantiation:i})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(e){e.register(),this.editorActions.push(e)}getEditorActions(){return this.editorActions}registerEditorCommand(e){e.register(),this.editorCommands[e.id]=e}getEditorCommand(e){return this.editorCommands[e]||null}}function P(e){return e.register(),e}A.INSTANCE=new A,f.B.add("editor.contributions",A.INSTANCE);let O=P(new y({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:u.eH.MenubarEditMenu,group:"1_do",title:o.NC({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:u.eH.CommandPalette,group:"",title:o.NC("undo","Undo"),order:1}]}));P(new S(O,{id:"default:undo",precondition:void 0}));let F=P(new y({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:u.eH.MenubarEditMenu,group:"1_do",title:o.NC({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:u.eH.CommandPalette,group:"",title:o.NC("redo","Redo"),order:1}]}));P(new S(F,{id:"default:redo",precondition:void 0}));let B=P(new y({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:u.eH.MenubarSelectionMenu,group:"1_basic",title:o.NC({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:u.eH.CommandPalette,group:"",title:o.NC("selectAll","Select All"),order:1}]}))},88338:function(e,t,i){"use strict";i.d(t,{Gl:function(){return a},fo:function(){return l},vu:function(){return r}});var n=i(85327),s=i(5482),o=i(24162);let r=(0,n.yh)("IWorkspaceEditService");class l{constructor(e){this.metadata=e}static convert(e){return e.edits.map(e=>{if(a.is(e))return a.lift(e);if(d.is(e))return d.lift(e);throw Error("Unsupported edit")})}}class a extends l{static is(e){return e instanceof a||(0,o.Kn)(e)&&s.o.isUri(e.resource)&&(0,o.Kn)(e.textEdit)}static lift(e){return e instanceof a?e:new a(e.resource,e.textEdit,e.versionId,e.metadata)}constructor(e,t,i,n){super(n),this.resource=e,this.textEdit=t,this.versionId=i}}class d extends l{static is(e){return e instanceof d||(0,o.Kn)(e)&&(!!e.newResource||!!e.oldResource)}static lift(e){return e instanceof d?e:new d(e.oldResource,e.newResource,e.options,e.metadata)}constructor(e,t,i={},n){super(n),this.oldResource=e,this.newResource=t,this.options=i}}},70208:function(e,t,i){"use strict";i.d(t,{$:function(){return s}});var n=i(85327);let s=(0,n.yh)("codeEditorService")},44356:function(e,t,i){"use strict";i.d(t,{Q8:function(){return eR},eu:function(){return ex}});var n=i(44532),s=i(70784),o=i(32378),r=i(79915),l=i(16783),a=i(58022),d=i(95612);let h=!1;function u(e){a.$L&&(h||(h=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq")),console.warn(e.message))}class c{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.method=i,this.args=n,this.type=0}}class g{constructor(e,t,i,n){this.vsWorker=e,this.seq=t,this.res=i,this.err=n,this.type=1}}class p{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.eventName=i,this.arg=n,this.type=2}}class m{constructor(e,t,i){this.vsWorker=e,this.req=t,this.event=i,this.type=3}}class f{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class _{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let i=String(++this._lastSentReq);return new Promise((n,s)=>{this._pendingReplies[i]={resolve:n,reject:s},this._send(new c(this._workerId,i,e,t))})}listen(e,t){let i=null,n=new r.Q5({onWillAddFirstListener:()=>{i=String(++this._lastSentReq),this._pendingEmitters.set(i,n),this._send(new p(this._workerId,i,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(i),this._send(new f(this._workerId,i)),i=null}});return n.event}handleMessage(e){e&&e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId)&&this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let i=e.err;e.err.$isError&&((i=Error()).name=e.err.name,i.message=e.err.message,i.stack=e.err.stack),t.reject(i);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req,i=this._handler.handleMessage(e.method,e.args);i.then(e=>{this._send(new g(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=(0,o.ri)(e.detail)),this._send(new g(this._workerId,t,void 0,(0,o.ri)(e)))})}_handleSubscribeEventMessage(e){let t=e.req,i=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new m(this._workerId,t,e))});this._pendingEvents.set(t,i)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let i=0;i{this._protocol.handleMessage(e)},e=>{null==n||n(e)})),this._protocol=new _({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof i[e])return Promise.reject(Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(i[e].apply(i,t))}catch(e){return Promise.reject(e)}},handleEvent:(e,t)=>{if(C(e)){let n=i[e].call(i,t);if("function"!=typeof n)throw Error(`Missing dynamic event ${e} on main thread host.`);return n}if(b(e)){let t=i[e];if("function"!=typeof t)throw Error(`Missing event ${e} on main thread host.`);return t}throw Error(`Malformed event name ${e}`)}}),this._protocol.setWorkerId(this._worker.getId());let s=null,o=globalThis.require;void 0!==o&&"function"==typeof o.getConfig?s=o.getConfig():void 0!==globalThis.requirejs&&(s=globalThis.requirejs.s.contexts._.config);let r=(0,l.$E)(i);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(s)),t,r]);let a=(e,t)=>this._request(e,t),d=(e,t)=>this._protocol.listen(e,t);this._lazyProxy=new Promise((e,i)=>{n=i,this._onModuleLoaded.then(t=>{e(function(e,t,i){let n=e=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},s=e=>function(t){return i(e,t)},o={};for(let t of e){if(C(t)){o[t]=s(t);continue}if(b(t)){o[t]=i(t,void 0);continue}o[t]=n(t)}return o}(t,a,d))},e=>{i(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((i,n)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(i,n)},n)})}_onError(e,t){console.error(e),console.info(t)}}function b(e){return"o"===e[0]&&"n"===e[1]&&d.df(e.charCodeAt(2))}function C(e){return/^onDynamic/.test(e)&&d.df(e.charCodeAt(9))}var w=i(39813);let y=(0,w.Z)("defaultWorkerFactory",{createScriptURL:e=>e});class S extends s.JT{constructor(e,t,i,n,o){super(),this.id=t,this.label=i;let r=function(e){let t=globalThis.MonacoEnvironment;if(t){if("function"==typeof t.getWorker)return t.getWorker("workerMain.js",e);if("function"==typeof t.getWorkerUrl){let i=t.getWorkerUrl("workerMain.js",e);return new Worker(y?y.createScriptURL(i):i,{name:e})}}throw Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}(i);("function"==typeof r.then?0:1)?this.worker=Promise.resolve(r):this.worker=r,this.postMessage(e,[]),this.worker.then(e=>{e.onmessage=function(e){n(e.data)},e.onmessageerror=o,"function"==typeof e.addEventListener&&e.addEventListener("error",o)}),this._register((0,s.OF)(()=>{var e;null===(e=this.worker)||void 0===e||e.then(e=>{e.onmessage=null,e.onmessageerror=null,e.removeEventListener("error",o),e.terminate()}),this.worker=null}))}getId(){return this.id}postMessage(e,t){var i;null===(i=this.worker)||void 0===i||i.then(i=>{try{i.postMessage(e,t)}catch(e){(0,o.dL)(e),(0,o.dL)(Error(`FAILED to post message to '${this.label}'-worker`,{cause:e}))}})}}class L{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,i){let n=++L.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new S(e,n,this._label||"anonymous"+n,t,e=>{u(e),this._webWorkerFailedBeforeError=e,i(e)})}}L.LAST_WORKER_ID=0;var k=i(70209),D=i(32712),x=i(39970),N=i(5482),E=i(86570),I=i(83591);class T{constructor(e,t,i,n){this._uri=e,this._lines=t,this._eol=i,this._versionId=n,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);let t=e.changes;for(let e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new E.L(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,i=new Uint32Array(t);for(let n=0;nt&&(t=o),s>i&&(i=s),r>i&&(i=r)}t++,i++;let n=new A(i,t,0);for(let t=0,i=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let O=null;function F(){return null===O&&(O=new P([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),O}let B=null;class W{static _createLink(e,t,i,n,s){let o=s-1;do{let i=t.charCodeAt(o),n=e.get(i);if(2!==n)break;o--}while(o>n);if(n>0){let e=t.charCodeAt(n-1),i=t.charCodeAt(o);(40===e&&41===i||91===e&&93===i||123===e&&125===i)&&o--}return{range:{startLineNumber:i,startColumn:n+1,endLineNumber:i,endColumn:o+2},url:t.substring(n,o+1)}}static computeLinks(e,t=F()){let i=function(){if(null===B){B=new R.N(0);let e=" <>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let t=0;t=0?((n+=i?1:-1)<0?n=e.length-1:n%=e.length,e[n]):null}}H.INSTANCE=new H;var V=i(38486),z=i(44129),K=i(15365),U=i(10775),$=i(61234),q=i(61413),j=i(63144);class G{computeDiff(e,t,i){var n;let s=new ee(e,t,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}),o=s.computeDiff(),r=[],l=null;for(let e of o.changes){let t,i;t=0===e.originalEndLineNumber?new j.z(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new j.z(e.originalStartLineNumber,e.originalEndLineNumber+1),i=0===e.modifiedEndLineNumber?new j.z(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new j.z(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1);let s=new $.gB(t,i,null===(n=e.charChanges)||void 0===n?void 0:n.map(e=>new $.iy(new k.e(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new k.e(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));l&&(l.modified.endLineNumberExclusive===s.modified.startLineNumber||l.original.endLineNumberExclusive===s.original.startLineNumber)&&(s=new $.gB(l.original.join(s.original),l.modified.join(s.modified),l.innerChanges&&s.innerChanges?l.innerChanges.concat(s.innerChanges):void 0),r.pop()),r.push(s),l=s}return(0,q.eZ)(()=>(0,q.DM)(r,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class J{constructor(e,t,i,n,s,o,r,l){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=i,this.originalEndColumn=n,this.modifiedStartLineNumber=s,this.modifiedStartColumn=o,this.modifiedEndLineNumber=r,this.modifiedEndColumn=l}static createFromDiffChange(e,t,i){let n=t.getStartLineNumber(e.originalStart),s=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),r=t.getEndColumn(e.originalStart+e.originalLength-1),l=i.getStartLineNumber(e.modifiedStart),a=i.getStartColumn(e.modifiedStart),d=i.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),h=i.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new J(n,s,o,r,l,a,d,h)}}class X{constructor(e,t,i,n,s){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=n,this.charChanges=s}static createFromDiffResult(e,t,i,n,s,o,r){let l,a,d,h,u;if(0===t.originalLength?(l=i.getStartLineNumber(t.originalStart)-1,a=0):(l=i.getStartLineNumber(t.originalStart),a=i.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(d=n.getStartLineNumber(t.modifiedStart)-1,h=0):(d=n.getStartLineNumber(t.modifiedStart),h=n.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&s()){let o=i.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),l=n.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(o.getElements().length>0&&l.getElements().length>0){let e=Q(o,l,s,!0).changes;r&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],i=t[0];for(let n=1,s=e.length;n1&&r>1;){let n=e.charCodeAt(i-2),s=t.charCodeAt(r-2);if(n!==s)break;i--,r--}(i>1||r>1)&&this._pushTrimWhitespaceCharChange(n,s+1,1,i,o+1,1,r)}{let i=ei(e,1),r=ei(t,1),l=e.length+1,a=t.length+1;for(;i!0;let t=Date.now();return()=>Date.now()-tnew G,getDefault:()=>new es.DW};var er=i(76515);function el(e){let t=[];for(let i of e){let e=Number(i);(e||0===e&&""!==i.replace(/\s/g,""))&&t.push(e)}return t}function ea(e,t,i,n){return{red:e/255,blue:i/255,green:t/255,alpha:n}}function ed(e,t){let i=t.index,n=t[0].length;if(!i)return;let s=e.positionAt(i),o={startLineNumber:s.lineNumber,startColumn:s.column,endLineNumber:s.lineNumber,endColumn:s.column+n};return o}function eh(e,t,i){if(!e||1!==t.length)return;let n=t[0],s=n.values(),o=el(s);return{range:e,color:ea(o[0],o[1],o[2],i?o[3]:1)}}function eu(e,t,i){if(!e||1!==t.length)return;let n=t[0],s=n.values(),o=el(s),r=new er.Il(new er.Oz(o[0],o[1]/100,o[2]/100,i?o[3]:1));return{range:e,color:ea(r.rgba.r,r.rgba.g,r.rgba.b,r.rgba.a)}}function ec(e,t){return"string"==typeof e?[...e.matchAll(t)]:e.findMatches(t)}let eg=RegExp("\\bMARK:\\s*(.*)$","d"),ep=/^-+|-+$/g;function em(e){e=e.trim();let t=e.startsWith("-");return{text:e=e.replace(ep,""),hasSeparatorLine:t}}class ef extends T{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){let t=[];for(let i=0;ithis._lines.length)t=this._lines.length,i=this._lines[t-1].length+1,n=!0;else{let e=this._lines[t-1].length+1;i<1?(i=1,n=!0):i>e&&(i=e,n=!0)}return n?{lineNumber:t,column:i}:e}}class e_{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new ef(N.o.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;let i=this._models[e];i.onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}async computeUnicodeHighlights(e,t,i){let n=this._getModel(e);return n?K.a.computeUnicodeHighlights(n,t,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async findSectionHeaders(e,t){let i=this._getModel(e);return i?function(e,t){var i;let n=[];if(t.findRegionSectionHeaders&&(null===(i=t.foldingRules)||void 0===i?void 0:i.markers)){let i=function(e,t){let i=[],n=e.getLineCount();for(let s=1;s<=n;s++){let n=e.getLineContent(s),o=n.match(t.foldingRules.markers.start);if(o){let e={startLineNumber:s,startColumn:o[0].length+1,endLineNumber:s,endColumn:n.length+1};if(e.endColumn>e.startColumn){let t={range:e,...em(n.substring(o[0].length)),shouldBeInComments:!1};(t.text||t.hasSeparatorLine)&&i.push(t)}}}return i}(e,t);n=n.concat(i)}if(t.findMarkSectionHeaders){let t=function(e){let t=[],i=e.getLineCount();for(let n=1;n<=i;n++){let i=e.getLineContent(n);!function(e,t,i){eg.lastIndex=0;let n=eg.exec(e);if(n){let e=n.indices[1][0]+1,s=n.indices[1][1]+1,o={startLineNumber:t,startColumn:e,endLineNumber:t,endColumn:s};if(o.endColumn>o.startColumn){let e={range:o,...em(n[1]),shouldBeInComments:!0};(e.text||e.hasSeparatorLine)&&i.push(e)}}}(i,n,t)}return t}(e);n=n.concat(t)}return n}(i,t):[]}async computeDiff(e,t,i,n){let s=this._getModel(e),o=this._getModel(t);if(!s||!o)return null;let r=e_.computeDiff(s,o,i,n);return r}static computeDiff(e,t,i,n){let s="advanced"===n?eo.getDefault():eo.getLegacy(),o=e.getLinesContent(),r=t.getLinesContent(),l=s.computeDiff(o,r,i),a=!(l.changes.length>0)&&this._modelsAreIdentical(e,t);function d(e){return e.map(e=>{var t;return[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}return{identical:a,quitEarly:l.hitTimeout,changes:d(l.changes),moves:l.moves.map(e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,d(e.changes)])}}static _modelsAreIdentical(e,t){let i=e.getLineCount(),n=t.getLineCount();if(i!==n)return!1;for(let n=1;n<=i;n++){let i=e.getLineContent(n),s=t.getLineContent(n);if(i!==s)return!1}return!0}async computeMoreMinimalEdits(e,t,i){let n;let s=this._getModel(e);if(!s)return t;let o=[];t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return k.e.compareRangesUsingStarts(e.range,t.range);let i=e.range?0:1,n=t.range?0:1;return i-n});let r=0;for(let e=1;ee_._diffLimit){o.push({range:e,text:l});continue}let r=(0,x.a$)(t,l,i),d=s.offsetAt(k.e.lift(e).getStartPosition());for(let e of r){let t=s.positionAt(d+e.originalStart),i=s.positionAt(d+e.originalStart+e.originalLength),n={text:l.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:i.lineNumber,endColumn:i.column}};s.getValueInRange(n.range)!==n.text&&o.push(n)}}return"number"==typeof n&&o.push({eol:n,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),o}async computeLinks(e){let t=this._getModel(e);return t?t&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?W.computeLinks(t):[]:null}async computeDefaultDocumentColors(e){let t=this._getModel(e);return t?t&&"function"==typeof t.getValue&&"function"==typeof t.positionAt?function(e){let t=[],i=ec(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(i.length>0)for(let n of i){let i;let s=n.filter(e=>void 0!==e),o=s[1],r=s[2];if(r){if("rgb"===o){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;i=eh(ed(e,n),ec(r,t),!1)}else if("rgba"===o){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=eh(ed(e,n),ec(r,t),!0)}else if("hsl"===o){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;i=eu(ed(e,n),ec(r,t),!1)}else if("hsla"===o){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=eu(ed(e,n),ec(r,t),!0)}else"#"===o&&(i=function(e,t){if(!e)return;let i=er.Il.Format.CSS.parseHex(t);if(i)return{range:e,color:ea(i.rgba.r,i.rgba.g,i.rgba.b,i.rgba.a)}}(ed(e,n),o+r));i&&t.push(i)}}return t}(t):[]:null}async textualSuggest(e,t,i,n){let s=new z.G,o=new RegExp(i,n),r=new Set;e:for(let i of e){let e=this._getModel(i);if(e){for(let i of e.words(o))if(i!==t&&isNaN(Number(i))&&(r.add(i),r.size>e_._suggestionsLimit))break e}}return{words:Array.from(r),duration:s.elapsed()}}async computeWordRanges(e,t,i,n){let s=this._getModel(e);if(!s)return Object.create(null);let o=new RegExp(i,n),r=Object.create(null);for(let e=t.startLineNumber;ethis._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:n,getMirrorModels:()=>this._getModels()},t),Promise.resolve((0,l.$E)(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}e_._diffLimit=1e5,e_._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco=(0,V.O)());var ev=i(98334),eb=i(78318),eC=i(40789),ew=i(99078),ey=i(64106),eS=i(44709),eL=i(81845),ek=function(e,t){return function(i,n){t(i,n,e)}};function eD(e,t){let i=e.getModel(t);return!(!i||i.isTooLargeForSyncing())}let ex=class extends s.JT{constructor(e,t,i,n,s){super(),this._modelService=e,this._workerManager=this._register(new eE(this._modelService,n)),this._logService=i,this._register(s.linkProvider.register({language:"*",hasAccessToAllModels:!0},{provideLinks:(e,t)=>eD(this._modelService,e.uri)?this._workerManager.withWorker().then(t=>t.computeLinks(e.uri)).then(e=>e&&{links:e}):Promise.resolve({links:[]})})),this._register(s.completionProvider.register("*",new eN(this._workerManager,t,this._modelService,n)))}dispose(){super.dispose()}canComputeUnicodeHighlights(e){return eD(this._modelService,e)}computedUnicodeHighlights(e,t,i){return this._workerManager.withWorker().then(n=>n.computedUnicodeHighlights(e,t,i))}async computeDiff(e,t,i,n){let s=await this._workerManager.withWorker().then(s=>s.computeDiff(e,t,i,n));if(!s)return null;let o={identical:s.identical,quitEarly:s.quitEarly,changes:r(s.changes),moves:s.moves.map(e=>new U.y(new $.f0(new j.z(e[0],e[1]),new j.z(e[2],e[3])),r(e[4])))};return o;function r(e){return e.map(e=>{var t;return new $.gB(new j.z(e[0],e[1]),new j.z(e[2],e[3]),null===(t=e[4])||void 0===t?void 0:t.map(e=>new $.iy(new k.e(e[0],e[1],e[2],e[3]),new k.e(e[4],e[5],e[6],e[7]))))})}}computeMoreMinimalEdits(e,t,i=!1){if(!(0,eC.Of)(t))return Promise.resolve(void 0);{if(!eD(this._modelService,e))return Promise.resolve(t);let s=z.G.create(),o=this._workerManager.withWorker().then(n=>n.computeMoreMinimalEdits(e,t,i));return o.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),s.elapsed())),Promise.race([o,(0,n.Vs)(1e3).then(()=>t)])}}canNavigateValueSet(e){return eD(this._modelService,e)}navigateValueSet(e,t,i){return this._workerManager.withWorker().then(n=>n.navigateValueSet(e,t,i))}canComputeWordRanges(e){return eD(this._modelService,e)}computeWordRanges(e,t){return this._workerManager.withWorker().then(i=>i.computeWordRanges(e,t))}findSectionHeaders(e,t){return this._workerManager.withWorker().then(i=>i.findSectionHeaders(e,t))}};ex=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ek(0,ev.q),ek(1,eb.V),ek(2,ew.VZ),ek(3,D.c_),ek(4,ey.p)],ex);class eN{constructor(e,t,i,n){this.languageConfigurationService=n,this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=t,this._modelService=i}async provideCompletionItems(e,t){let i=this._configurationService.getValue(e.uri,t,"editor");if("off"===i.wordBasedSuggestions)return;let n=[];if("currentDocument"===i.wordBasedSuggestions)eD(this._modelService,e.uri)&&n.push(e.uri);else for(let t of this._modelService.getModels())eD(this._modelService,t.uri)&&(t===e?n.unshift(t.uri):("allDocuments"===i.wordBasedSuggestions||t.getLanguageId()===e.getLanguageId())&&n.push(t.uri));if(0===n.length)return;let s=this.languageConfigurationService.getLanguageConfiguration(e.getLanguageId()).getWordDefinition(),o=e.getWordAtPosition(t),r=o?new k.e(t.lineNumber,o.startColumn,t.lineNumber,o.endColumn):k.e.fromPositions(t),l=r.setEndPosition(t.lineNumber,t.column),a=await this._workerManager.withWorker(),d=await a.textualSuggest(n,null==o?void 0:o.word,s);if(d)return{duration:d.duration,suggestions:d.words.map(e=>({kind:18,label:e,insertText:e,range:{insert:l,replace:r}}))}}}class eE extends s.JT{constructor(e,t){super(),this.languageConfigurationService=t,this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime();let i=this._register(new eL.ne);i.cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(15e4),eS.E),this._register(this._modelService.onModelRemoved(e=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;let e=this._modelService.getModels();0===e.length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;let e=new Date().getTime()-this._lastWorkerUsedTime;e>3e5&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new eR(this._modelService,!1,"editorWorkerService",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}}class eI extends s.JT{constructor(e,t,i){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=t,!i){let e=new n.zh;e.cancelAndSet(()=>this._checkStopModelSync(),Math.round(3e4)),this._register(e)}}dispose(){for(let e in this._syncedModels)(0,s.B9)(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e,t){for(let i of e){let e=i.toString();this._syncedModels[e]||this._beginModelSync(i,t),this._syncedModels[e]&&(this._syncedModelsLastUsedTime[e]=new Date().getTime())}}_checkStopModelSync(){let e=new Date().getTime(),t=[];for(let i in this._syncedModelsLastUsedTime){let n=e-this._syncedModelsLastUsedTime[i];n>6e4&&t.push(i)}for(let e of t)this._stopModelSync(e)}_beginModelSync(e,t){let i=this._modelService.getModel(e);if(!i||!t&&i.isTooLargeForSyncing())return;let n=e.toString();this._proxy.acceptNewModel({url:i.uri.toString(),lines:i.getLinesContent(),EOL:i.getEOL(),versionId:i.getVersionId()});let o=new s.SL;o.add(i.onDidChangeContent(e=>{this._proxy.acceptModelChanged(n.toString(),e)})),o.add(i.onWillDispose(()=>{this._stopModelSync(n)})),o.add((0,s.OF)(()=>{this._proxy.acceptRemovedModel(n)})),this._syncedModels[n]=o}_stopModelSync(e){let t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],(0,s.B9)(t)}}class eT{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class eM{constructor(e){this._workerClient=e}fhr(e,t){return this._workerClient.fhr(e,t)}}class eR extends s.JT{constructor(e,t,i,n){super(),this.languageConfigurationService=n,this._disposed=!1,this._modelService=e,this._keepIdleModels=t,this._workerFactory=new L(i),this._worker=null,this._modelManager=null}fhr(e,t){throw Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new v(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new eM(this)))}catch(e){u(e),this._worker=new eT(new e_(new eM(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,e=>(u(e),this._worker=new eT(new e_(new eM(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new eI(e,this._modelService,this._keepIdleModels))),this._modelManager}async _withSyncedResources(e,t=!1){return this._disposed?Promise.reject((0,o.F0)()):this._getProxy().then(i=>(this._getOrCreateModelManager(i).ensureSyncedResources(e,t),i))}computedUnicodeHighlights(e,t,i){return this._withSyncedResources([e]).then(n=>n.computeUnicodeHighlights(e.toString(),t,i))}computeDiff(e,t,i,n){return this._withSyncedResources([e,t],!0).then(s=>s.computeDiff(e.toString(),t.toString(),i,n))}computeMoreMinimalEdits(e,t,i){return this._withSyncedResources([e]).then(n=>n.computeMoreMinimalEdits(e.toString(),t,i))}computeLinks(e){return this._withSyncedResources([e]).then(t=>t.computeLinks(e.toString()))}computeDefaultDocumentColors(e){return this._withSyncedResources([e]).then(t=>t.computeDefaultDocumentColors(e.toString()))}async textualSuggest(e,t,i){let n=await this._withSyncedResources(e),s=i.source,o=i.flags;return n.textualSuggest(e.map(e=>e.toString()),t,s,o)}computeWordRanges(e,t){return this._withSyncedResources([e]).then(i=>{let n=this._modelService.getModel(e);if(!n)return Promise.resolve(null);let s=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId()).getWordDefinition(),o=s.source,r=s.flags;return i.computeWordRanges(e.toString(),t,o,r)})}navigateValueSet(e,t,i){return this._withSyncedResources([e]).then(n=>{let s=this._modelService.getModel(e);if(!s)return null;let o=this.languageConfigurationService.getLanguageConfiguration(s.getLanguageId()).getWordDefinition(),r=o.source,l=o.flags;return n.navigateValueSet(e.toString(),t,i,r,l)})}findSectionHeaders(e,t){return this._withSyncedResources([e]).then(i=>i.findSectionHeaders(e.toString(),t))}dispose(){super.dispose(),this._disposed=!0}}},24846:function(e,t,i){"use strict";i.d(t,{Z:function(){return n}});class n{static capture(e){if(0===e.getScrollTop()||e.hasPendingScrollAnimation())return new n(e.getScrollTop(),e.getContentHeight(),null,0,null);let t=null,i=0,s=e.getVisibleRanges();if(s.length>0){t=s[0].getStartPosition();let n=e.getTopForPosition(t.lineNumber,t.column);i=e.getScrollTop()-n}return new n(e.getScrollTop(),e.getContentHeight(),t,i,e.getPosition())}constructor(e,t,i,n,s){this._initialScrollTop=e,this._initialContentHeight=t,this._visiblePosition=i,this._visiblePositionScrollDelta=n,this._cursorPosition=s}restore(e){if((this._initialContentHeight!==e.getContentHeight()||this._initialScrollTop!==e.getScrollTop())&&this._visiblePosition){let t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(e){if(this._initialContentHeight===e.getContentHeight()&&this._initialScrollTop===e.getScrollTop())return;let t=e.getPosition();if(!this._cursorPosition||!t)return;let i=e.getTopForLineNumber(t.lineNumber)-e.getTopForLineNumber(this._cursorPosition.lineNumber);e.setScrollTop(e.getScrollTop()+i,1)}}},18069:function(e,t,i){"use strict";i.d(t,{CH:function(){return d},CR:function(){return l},D4:function(){return a},u7:function(){return o},xh:function(){return s},yu:function(){return r}});class n{constructor(e,t){this._restrictedRenderingContextBrand=void 0,this._viewLayout=e,this.viewportData=t,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;let i=this._viewLayout.getCurrentViewport();this.scrollTop=i.top,this.scrollLeft=i.left,this.viewportWidth=i.width,this.viewportHeight=i.height}getScrolledTopFromAbsoluteTop(e){return e-this.scrollTop}getVerticalOffsetForLineNumber(e,t){return this._viewLayout.getVerticalOffsetForLineNumber(e,t)}getVerticalOffsetAfterLineNumber(e,t){return this._viewLayout.getVerticalOffsetAfterLineNumber(e,t)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}class s extends n{constructor(e,t,i){super(e,t),this._renderingContextBrand=void 0,this._viewLines=i}linesVisibleRangesForRange(e,t){return this._viewLines.linesVisibleRangesForRange(e,t)}visibleRangeForPosition(e){return this._viewLines.visibleRangeForPosition(e)}}class o{constructor(e,t,i,n){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=i,this.continuesOnNextLine=n}}class r{static from(e){let t=Array(e.length);for(let i=0,n=e.length;i=o.left?n.width=Math.max(n.width,o.left+o.width-n.left):(t[i++]=n,n=o)}return t[i++]=n,t}static _createHorizontalRangesFromClientRects(e,t,i){if(!e||0===e.length)return null;let n=[];for(let s=0,o=e.length;sr)return null;if((t=Math.min(r,Math.max(0,t)))===(n=Math.min(r,Math.max(0,n)))&&i===s&&0===i&&!e.children[t].firstChild){let i=e.children[t].getClientRects();return o.markDidDomLayout(),this._createHorizontalRangesFromClientRects(i,o.clientRectDeltaLeft,o.clientRectScale)}t!==n&&n>0&&0===s&&(n--,s=1073741824);let l=e.children[t].firstChild,a=e.children[n].firstChild;if(l&&a||(!l&&0===i&&t>0&&(l=e.children[t-1].firstChild,i=1073741824),a||0!==s||!(n>0)||(a=e.children[n-1].firstChild,s=1073741824)),!l||!a)return null;i=Math.min(l.textContent.length,Math.max(0,i)),s=Math.min(a.textContent.length,Math.max(0,s));let d=this._readClientRects(l,i,a,s,o.endNode);return o.markDidDomLayout(),this._createHorizontalRangesFromClientRects(d,o.clientRectDeltaLeft,o.clientRectScale)}}var a=i(90252),d=i(53429),h=i(42042),u=i(43364);let c=!!o.tY||!o.IJ&&!n.vU&&!n.G6,g=!0;class p{constructor(e,t){this.themeType=t;let i=e.options,n=i.get(50),s=i.get(38);"off"===s?this.renderWhitespace=i.get(99):this.renderWhitespace="none",this.renderControlCharacters=i.get(94),this.spaceWidth=n.spaceWidth,this.middotWidth=n.middotWidth,this.wsmiddotWidth=n.wsmiddotWidth,this.useMonospaceOptimizations=n.isMonospace&&!i.get(33),this.canUseHalfwidthRightwardsArrow=n.canUseHalfwidthRightwardsArrow,this.lineHeight=i.get(67),this.stopRenderingLineAfter=i.get(117),this.fontLigatures=i.get(51)}equals(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures}}class m{constructor(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(e){if(this._renderedViewLine)this._renderedViewLine.domNode=(0,s.X)(e);else throw Error("I have no rendered view line to set the dom node to...")}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(e){this._isMaybeInvalid=!0,this._options=e}onSelectionChanged(){return(!!(0,h.c3)(this._options.themeType)||"selection"===this._options.renderWhitespace)&&(this._isMaybeInvalid=!0,!0)}renderLine(e,t,i,n,s){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;let o=n.getViewLineRenderingData(e),r=this._options,l=a.Kp.filter(o.inlineDecorations,e,o.minColumn,o.maxColumn),p=null;if((0,h.c3)(r.themeType)||"selection"===this._options.renderWhitespace){let t=n.selections;for(let i of t){if(i.endLineNumbere)continue;let t=i.startLineNumber===e?i.startColumn:o.minColumn,n=i.endLineNumber===e?i.endColumn:o.maxColumn;t');let v=(0,d.d1)(_,s);s.appendString("");let C=null;return g&&c&&o.isBasicASCII&&r.useMonospaceOptimizations&&0===v.containsForeignElements&&(C=new f(this._renderedViewLine?this._renderedViewLine.domNode:null,_,v.characterMapping)),C||(C=b(this._renderedViewLine?this._renderedViewLine.domNode:null,_,v.characterMapping,v.containsRTL,v.containsForeignElements)),this._renderedViewLine=C,!0}layoutLine(e,t,i){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(i))}getWidth(e){return this._renderedViewLine?this._renderedViewLine.getWidth(e):0}getWidthIsFast(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()}needsMonospaceFontCheck(){return!!this._renderedViewLine&&this._renderedViewLine instanceof f}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof f?this._renderedViewLine.monospaceAssumptionsAreValid():g}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof f&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(e,t,i,n){if(!this._renderedViewLine)return null;t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t)),i=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,i));let s=this._renderedViewLine.input.stopRenderingLineAfter;if(-1!==s&&t>s+1&&i>s+1)return new r.CH(!0,[new r.CR(this.getWidth(n),0)]);-1!==s&&t>s+1&&(t=s+1),-1!==s&&i>s+1&&(i=s+1);let o=this._renderedViewLine.getVisibleRangesForRange(e,t,i,n);return o&&o.length>0?new r.CH(!1,o):null}getColumnOfNodeOffset(e,t){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t):1}}m.CLASS_NAME="view-line";class f{constructor(e,t,i){this._cachedWidth=-1,this.domNode=e,this.input=t;let n=Math.floor(t.lineContent.length/300);if(n>0){this._keyColumnPixelOffsetCache=new Float32Array(n);for(let e=0;e=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),g=!1)}return g}toSlowRenderedLine(){return b(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(e,t,i,n){let s=this._getColumnPixelOffset(e,t,n),o=this._getColumnPixelOffset(e,i,n);return[new r.CR(s,o-s)]}_getColumnPixelOffset(e,t,i){if(t<=300){let e=this._characterMapping.getHorizontalOffset(t);return this._charWidth*e}let n=Math.floor((t-1)/300)-1,s=(n+1)*300+1,o=-1;if(this._keyColumnPixelOffsetCache&&-1===(o=this._keyColumnPixelOffsetCache[n])&&(o=this._actualReadPixelOffset(e,s,i),this._keyColumnPixelOffsetCache[n]=o),-1===o){let e=this._characterMapping.getHorizontalOffset(t);return this._charWidth*e}let r=this._characterMapping.getHorizontalOffset(s),l=this._characterMapping.getHorizontalOffset(t);return o+this._charWidth*(l-r)}_getReadingTarget(e){return e.domNode.firstChild}_actualReadPixelOffset(e,t,i){if(!this.domNode)return -1;let n=this._characterMapping.getDomPosition(t),s=l.readHorizontalRanges(this._getReadingTarget(this.domNode),n.partIndex,n.charIndex,n.partIndex,n.charIndex,i);return s&&0!==s.length?s[0].left:-1}getColumnOfNodeOffset(e,t){return C(this._characterMapping,e,t)}}class _{constructor(e,t,i,n,s){if(this.domNode=e,this.input=t,this._characterMapping=i,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=s,this._cachedWidth=-1,this._pixelOffsetCache=null,!n||0===this._characterMapping.length){this._pixelOffsetCache=new Float32Array(Math.max(2,this._characterMapping.length+1));for(let e=0,t=this._characterMapping.length;e<=t;e++)this._pixelOffsetCache[e]=-1}}_getReadingTarget(e){return e.domNode.firstChild}getWidth(e){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth,null==e||e.markDidDomLayout()),this._cachedWidth):0}getWidthIsFast(){return -1!==this._cachedWidth}getVisibleRangesForRange(e,t,i,n){if(!this.domNode)return null;if(null!==this._pixelOffsetCache){let s=this._readPixelOffset(this.domNode,e,t,n);if(-1===s)return null;let o=this._readPixelOffset(this.domNode,e,i,n);return -1===o?null:[new r.CR(s,o-s)]}return this._readVisibleRangesForRange(this.domNode,e,t,i,n)}_readVisibleRangesForRange(e,t,i,n,s){if(i!==n)return this._readRawVisibleRangesForRange(e,i,n,s);{let n=this._readPixelOffset(e,t,i,s);return -1===n?null:[new r.CR(n,0)]}}_readPixelOffset(e,t,i,n){if(0===this._characterMapping.length){if(0===this._containsForeignElements||2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth(n);let t=this._getReadingTarget(e);return t.firstChild?(n.markDidDomLayout(),t.firstChild.offsetWidth):0}if(null!==this._pixelOffsetCache){let s=this._pixelOffsetCache[i];if(-1!==s)return s;let o=this._actualReadPixelOffset(e,t,i,n);return this._pixelOffsetCache[i]=o,o}return this._actualReadPixelOffset(e,t,i,n)}_actualReadPixelOffset(e,t,i,n){if(0===this._characterMapping.length){let t=l.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,n);return t&&0!==t.length?t[0].left:-1}if(i===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth(n);let s=this._characterMapping.getDomPosition(i),o=l.readHorizontalRanges(this._getReadingTarget(e),s.partIndex,s.charIndex,s.partIndex,s.charIndex,n);if(!o||0===o.length)return -1;let r=o[0].left;if(this.input.isBasicASCII){let e=this._characterMapping.getHorizontalOffset(i),t=Math.round(this.input.spaceWidth*e);if(1>=Math.abs(t-r))return t}return r}_readRawVisibleRangesForRange(e,t,i,n){if(1===t&&i===this._characterMapping.length)return[new r.CR(0,this.getWidth(n))];let s=this._characterMapping.getDomPosition(t),o=this._characterMapping.getDomPosition(i);return l.readHorizontalRanges(this._getReadingTarget(e),s.partIndex,s.charIndex,o.partIndex,o.charIndex,n)}getColumnOfNodeOffset(e,t){return C(this._characterMapping,e,t)}}class v extends _{_readVisibleRangesForRange(e,t,i,n,s){let o=super._readVisibleRangesForRange(e,t,i,n,s);if(!o||0===o.length||i===n||1===i&&n===this._characterMapping.length)return o;if(!this.input.containsRTL){let i=this._readPixelOffset(e,t,n,s);if(-1!==i){let e=o[o.length-1];e.left=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=h.i,function(e,t){n(e,t,1)})],c),(0,u._K)(c.ID,c,0);var g=i(81845),p=i(32378),m=i(79915),f=i(70784),_=i(72249);i(4403);var v=i(50950),b=i(5938),C=i(40789),w=i(16783),y=i(58022),S=i(87733),L=i(66219);class k{constructor(e,t){this.key=e,this.migrate=t}apply(e){let t=k._read(e,this.key);this.migrate(t,t=>k._read(e,t),(t,i)=>k._write(e,t,i))}static _read(e,t){if(void 0===e)return;let i=t.indexOf(".");if(i>=0){let n=t.substring(0,i);return this._read(e[n],t.substring(i+1))}return e[t]}static _write(e,t,i){let n=t.indexOf(".");if(n>=0){let s=t.substring(0,n);e[s]=e[s]||{},this._write(e[s],t.substring(n+1),i);return}e[t]=i}}function D(e,t){k.items.push(new k(e,t))}function x(e,t){D(e,(i,n,s)=>{if(void 0!==i){for(let[n,o]of t)if(i===n){s(e,o);return}}})}k.items=[],x("wordWrap",[[!0,"on"],[!1,"off"]]),x("lineNumbers",[[!0,"on"],[!1,"off"]]),x("cursorBlinking",[["visible","solid"]]),x("renderWhitespace",[[!0,"boundary"],[!1,"none"]]),x("renderLineHighlight",[[!0,"line"],[!1,"none"]]),x("acceptSuggestionOnEnter",[[!0,"on"],[!1,"off"]]),x("tabCompletion",[[!1,"off"],[!0,"onlySnippets"]]),x("hover",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),x("parameterHints",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),x("autoIndent",[[!1,"advanced"],[!0,"full"]]),x("matchBrackets",[[!0,"always"],[!1,"never"]]),x("renderFinalNewline",[[!0,"on"],[!1,"off"]]),x("cursorSmoothCaretAnimation",[[!0,"on"],[!1,"off"]]),x("occurrencesHighlight",[[!0,"singleFile"],[!1,"off"]]),x("wordBasedSuggestions",[[!0,"matchingDocuments"],[!1,"off"]]),D("autoClosingBrackets",(e,t,i)=>{!1===e&&(i("autoClosingBrackets","never"),void 0===t("autoClosingQuotes")&&i("autoClosingQuotes","never"),void 0===t("autoSurround")&&i("autoSurround","never"))}),D("renderIndentGuides",(e,t,i)=>{void 0!==e&&(i("renderIndentGuides",void 0),void 0===t("guides.indentation")&&i("guides.indentation",!!e))}),D("highlightActiveIndentGuide",(e,t,i)=>{void 0!==e&&(i("highlightActiveIndentGuide",void 0),void 0===t("guides.highlightActiveIndentation")&&i("guides.highlightActiveIndentation",!!e))});let N={method:"showMethods",function:"showFunctions",constructor:"showConstructors",deprecated:"showDeprecated",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};D("suggest.filteredTypes",(e,t,i)=>{if(e&&"object"==typeof e){for(let n of Object.entries(N)){let s=e[n[0]];!1===s&&void 0===t(`suggest.${n[1]}`)&&i(`suggest.${n[1]}`,!1)}i("suggest.filteredTypes",void 0)}}),D("quickSuggestions",(e,t,i)=>{if("boolean"==typeof e){let t=e?"on":"off";i("quickSuggestions",{comments:t,strings:t,other:t})}}),D("experimental.stickyScroll.enabled",(e,t,i)=>{"boolean"==typeof e&&(i("experimental.stickyScroll.enabled",void 0),void 0===t("stickyScroll.enabled")&&i("stickyScroll.enabled",e))}),D("experimental.stickyScroll.maxLineCount",(e,t,i)=>{"number"==typeof e&&(i("experimental.stickyScroll.maxLineCount",void 0),void 0===t("stickyScroll.maxLineCount")&&i("stickyScroll.maxLineCount",e))}),D("codeActionsOnSave",(e,t,i)=>{if(e&&"object"==typeof e){let t=!1,n={};for(let i of Object.entries(e))"boolean"==typeof i[1]?(t=!0,n[i[0]]=i[1]?"explicit":"never"):n[i[0]]=i[1];t&&i("codeActionsOnSave",n)}}),D("codeActionWidget.includeNearbyQuickfixes",(e,t,i)=>{"boolean"==typeof e&&(i("codeActionWidget.includeNearbyQuickfixes",void 0),void 0===t("codeActionWidget.includeNearbyQuickFixes")&&i("codeActionWidget.includeNearbyQuickFixes",e))}),D("lightbulb.enabled",(e,t,i)=>{"boolean"==typeof e&&i("lightbulb.enabled",e?void 0:"off")});var E=i(3643),I=i(43364),T=i(66597),M=i(9148),R=i(15232),A=i(96825);let P=class extends f.JT{constructor(e,t,i,n,s){super(),this._accessibilityService=s,this._onDidChange=this._register(new m.Q5),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new m.Q5),this.onDidChangeFast=this._onDidChangeFast.event,this._isDominatedByLongLines=!1,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._reservedHeight=0,this._glyphMarginDecorationLaneCount=1,this._computeOptionsMemory=new I.LJ,this.isSimpleWidget=e,this.contextMenuId=t,this._containerObserver=this._register(new S.I(n,i.dimension)),this._targetWindowId=(0,g.Jj)(n).vscodeWindowId,this._rawOptions=W(i),this._validatedOptions=B.validateOptions(this._rawOptions),this.options=this._computeOptions(),this.options.get(13)&&this._containerObserver.startObserving(),this._register(T.C.onDidChangeZoomLevel(()=>this._recomputeOptions())),this._register(E.n.onDidChangeTabFocus(()=>this._recomputeOptions())),this._register(this._containerObserver.onDidChange(()=>this._recomputeOptions())),this._register(L.g.onDidChange(()=>this._recomputeOptions())),this._register(A.T.getInstance((0,g.Jj)(n)).onDidChange(()=>this._recomputeOptions())),this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions()))}_recomputeOptions(){let e=this._computeOptions(),t=B.checkEquals(this.options,e);null!==t&&(this.options=e,this._onDidChangeFast.fire(t),this._onDidChange.fire(t))}_computeOptions(){let e=this._readEnvConfiguration(),t=M.E4.createFromValidatedSettings(this._validatedOptions,e.pixelRatio,this.isSimpleWidget),i=this._readFontInfo(t),n={memory:this._computeOptionsMemory,outerWidth:e.outerWidth,outerHeight:e.outerHeight-this._reservedHeight,fontInfo:i,extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:E.n.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport,glyphMarginDecorationLaneCount:this._glyphMarginDecorationLaneCount};return B.computeOptions(this._validatedOptions,n)}_readEnvConfiguration(){let e;return{extraEditorClassName:(e="",b.G6||b.MG||(e+="no-user-select "),b.G6&&(e+="no-minimap-shadow enable-user-select "),y.dz&&(e+="mac "),e),outerWidth:this._containerObserver.getWidth(),outerHeight:this._containerObserver.getHeight(),emptySelectionClipboard:b.Pf||b.vU,pixelRatio:A.T.getInstance((0,g.ed)(this._targetWindowId,!0).window).value,accessibilitySupport:this._accessibilityService.isScreenReaderOptimized()?2:this._accessibilityService.getAccessibilitySupport()}}_readFontInfo(e){return L.g.readFontInfo((0,g.ed)(this._targetWindowId,!0).window,e)}getRawOptions(){return this._rawOptions}updateOptions(e){let t=W(e),i=B.applyUpdate(this._rawOptions,t);i&&(this._validatedOptions=B.validateOptions(this._rawOptions),this._recomputeOptions())}observeContainer(e){this._containerObserver.observe(e)}setIsDominatedByLongLines(e){this._isDominatedByLongLines!==e&&(this._isDominatedByLongLines=e,this._recomputeOptions())}setModelLineCount(e){let t=function(e){let t=0;for(;e;)e=Math.floor(e/10),t++;return t||1}(e);this._lineNumbersDigitCount!==t&&(this._lineNumbersDigitCount=t,this._recomputeOptions())}setViewLineCount(e){this._viewLineCount!==e&&(this._viewLineCount=e,this._recomputeOptions())}setReservedHeight(e){this._reservedHeight!==e&&(this._reservedHeight=e,this._recomputeOptions())}setGlyphMarginDecorationLaneCount(e){this._glyphMarginDecorationLaneCount!==e&&(this._glyphMarginDecorationLaneCount=e,this._recomputeOptions())}};P=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(s=R.F,function(e,t){s(e,t,4)})],P);class O{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class F{constructor(){this._values=[]}_read(e){if(e>=this._values.length)throw Error("Cannot read uninitialized value");return this._values[e]}get(e){return this._read(e)}_write(e,t){this._values[e]=t}}class B{static validateOptions(e){let t=new O;for(let i of I.Bc){let n="_never_"===i.name?void 0:e[i.name];t._write(i.id,i.validate(n))}return t}static computeOptions(e,t){let i=new F;for(let n of I.Bc)i._write(n.id,n.compute(t,i,e._read(n.id)));return i}static _deepEquals(e,t){if("object"!=typeof e||"object"!=typeof t||!e||!t)return e===t;if(Array.isArray(e)||Array.isArray(t))return!!(Array.isArray(e)&&Array.isArray(t))&&C.fS(e,t);if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let i in e)if(!B._deepEquals(e[i],t[i]))return!1;return!0}static checkEquals(e,t){let i=[],n=!1;for(let s of I.Bc){let o=!B._deepEquals(e._read(s.id),t._read(s.id));i[s.id]=o,o&&(n=!0)}return n?new I.Bb(i):null}static applyUpdate(e,t){let i=!1;for(let n of I.Bc)if(t.hasOwnProperty(n.name)){let s=n.applyUpdate(e[n.name],t[n.name]);e[n.name]=s.newValue,i=i||s.didChange}return i}}function W(e){let t=w.I8(e);return k.items.forEach(e=>e.apply(t)),t}var H=i(70208),V=i(82878),z=i(65185),K=i(2318);class U extends f.JT{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onCompositionStart(e){return!1}onCompositionEnd(e){return!1}onConfigurationChanged(e){return!1}onCursorStateChanged(e){return!1}onDecorationsChanged(e){return!1}onFlushed(e){return!1}onFocusChanged(e){return!1}onLanguageConfigurationChanged(e){return!1}onLineMappingChanged(e){return!1}onLinesChanged(e){return!1}onLinesDeleted(e){return!1}onLinesInserted(e){return!1}onRevealRangeRequest(e){return!1}onScrollChanged(e){return!1}onThemeChanged(e){return!1}onTokensChanged(e){return!1}onTokensColorsChanged(e){return!1}onZonesChanged(e){return!1}handleEvents(e){let t=!1;for(let i=0,n=e.length;i=4&&3===e[0]&&8===e[3]}static isStrictChildOfViewLines(e){return e.length>4&&3===e[0]&&8===e[3]}static isChildOfScrollableElement(e){return e.length>=2&&3===e[0]&&6===e[1]}static isChildOfMinimap(e){return e.length>=2&&3===e[0]&&9===e[1]}static isChildOfContentWidgets(e){return e.length>=4&&3===e[0]&&1===e[3]}static isChildOfOverflowGuard(e){return e.length>=1&&3===e[0]}static isChildOfOverflowingContentWidgets(e){return e.length>=1&&2===e[0]}static isChildOfOverlayWidgets(e){return e.length>=2&&3===e[0]&&4===e[1]}static isChildOfOverflowingOverlayWidgets(e){return e.length>=1&&5===e[0]}}class es{constructor(e,t,i){this.viewModel=e.viewModel;let n=e.configuration.options;this.layoutInfo=n.get(145),this.viewDomNode=t.viewDomNode,this.lineHeight=n.get(67),this.stickyTabStops=n.get(116),this.typicalHalfwidthCharacterWidth=n.get(50).typicalHalfwidthCharacterWidth,this.lastRenderData=i,this._context=e,this._viewHelper=t}getZoneAtCoord(e){return es.getZoneAtCoord(this._context,e)}static getZoneAtCoord(e,t){let i=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(i){let n;let s=i.verticalOffset+i.height/2,o=e.viewModel.getLineCount(),r=null,l=null;return i.afterLineNumber!==o&&(l=new G.L(i.afterLineNumber+1,1)),i.afterLineNumber>0&&(r=new G.L(i.afterLineNumber,e.viewModel.getLineMaxColumn(i.afterLineNumber))),n=null===l?r:null===r?l:t=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,ed._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}}class er extends eo{get target(){return this._useHitTestTarget?this.hitTestResult.value.hitTarget:this._eventTarget}get targetPath(){return this._targetPathCacheElement!==this.target&&(this._targetPathCacheElement=this.target,this._targetPathCacheValue=q.collect(this.target,this._ctx.viewDomNode)),this._targetPathCacheValue}constructor(e,t,i,n,s){super(e,t,i,n),this.hitTestResult=new J.o(()=>ed.doHitTest(this._ctx,this)),this._targetPathCacheElement=null,this._targetPathCacheValue=new Uint8Array(0),this._ctx=e,this._eventTarget=s;let o=!!this._eventTarget;this._useHitTestTarget=!o}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), relativePos(${this.relativePos.x},${this.relativePos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset} + target: ${this.target?this.target.outerHTML:null}`}get wouldBenefitFromHitTestTargetSwitch(){return!this._useHitTestTarget&&null!==this.hitTestResult.value.hitTarget&&this.target!==this.hitTestResult.value.hitTarget}switchToHitTestTarget(){this._useHitTestTarget=!0}_getMouseColumn(e=null){return e&&e.columno.contentLeft+o.width)continue;let i=e.getVerticalOffsetForLineNumber(o.position.lineNumber);if(i<=s&&s<=i+o.height)return t.fulfillContentText(o.position,null,{mightBeForeignElement:!1,injectedText:null})}}return null}static _hitTestViewZone(e,t){let i=e.getZoneAtCoord(t.mouseVerticalOffset);if(i){let e=t.isInContentArea?8:5;return t.fulfillViewZone(e,i.position,i)}return null}static _hitTestTextArea(e,t){return en.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfillContentText(e.lastRenderData.lastTextareaPosition,null,{mightBeForeignElement:!1,injectedText:null}):t.fulfillTextarea():null}static _hitTestMargin(e,t){if(t.isInMarginArea){let i=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),n=i.range.getStartPosition(),s=Math.abs(t.relativePos.x),o={isAfterLines:i.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:s};if((s-=e.layoutInfo.glyphMarginLeft)<=e.layoutInfo.glyphMarginWidth){let r=e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(i.range.getStartPosition()),l=e.viewModel.glyphLanes.getLanesAtLine(r.lineNumber);return o.glyphMarginLane=l[Math.floor(s/e.lineHeight)],t.fulfillMargin(2,n,i.range,o)}return(s-=e.layoutInfo.glyphMarginWidth)<=e.layoutInfo.lineNumbersWidth?t.fulfillMargin(3,n,i.range,o):(s-=e.layoutInfo.lineNumbersWidth,t.fulfillMargin(4,n,i.range,o))}return null}static _hitTestViewLines(e,t){if(!en.isChildOfViewLines(t.targetPath))return null;if(e.isInTopPadding(t.mouseVerticalOffset))return t.fulfillContentEmpty(new G.L(1,1),el);if(e.isAfterLines(t.mouseVerticalOffset)||e.isInBottomPadding(t.mouseVerticalOffset)){let i=e.viewModel.getLineCount(),n=e.viewModel.getLineMaxColumn(i);return t.fulfillContentEmpty(new G.L(i,n),el)}if(en.isStrictChildOfViewLines(t.targetPath)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(0===e.viewModel.getLineLength(i)){let n=e.getLineWidth(i),s=ea(t.mouseContentHorizontalOffset-n);return t.fulfillContentEmpty(new G.L(i,1),s)}let n=e.getLineWidth(i);if(t.mouseContentHorizontalOffset>=n){let s=ea(t.mouseContentHorizontalOffset-n),o=new G.L(i,e.viewModel.getLineMaxColumn(i));return t.fulfillContentEmpty(o,s)}}let i=t.hitTestResult.value;return 1===i.type?ed.createMouseTargetFromHitTestPosition(e,t,i.spanNode,i.position,i.injectedText):t.wouldBenefitFromHitTestTargetSwitch?(t.switchToHitTestTarget(),this._createMouseTarget(e,t)):t.fulfillUnknown()}static _hitTestMinimap(e,t){if(en.isChildOfMinimap(t.targetPath)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new G.L(i,n))}return null}static _hitTestScrollbarSlider(e,t){if(en.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){let i=t.target.className;if(i&&/\b(slider|scrollbar)\b/.test(i)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new G.L(i,n))}}return null}static _hitTestScrollbar(e,t){if(en.isChildOfScrollableElement(t.targetPath)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new G.L(i,n))}return null}getMouseColumn(e){let t=this._context.configuration.options,i=t.get(145),n=this._context.viewLayout.getCurrentScrollLeft()+e.x-i.contentLeft;return ed._getMouseColumn(n,t.get(50).typicalHalfwidthCharacterWidth)}static _getMouseColumn(e,t){return e<0?1:Math.round(e/t)+1}static createMouseTargetFromHitTestPosition(e,t,i,n,s){let o=n.lineNumber,r=n.column,l=e.getLineWidth(o);if(t.mouseContentHorizontalOffset>l){let e=ea(t.mouseContentHorizontalOffset-l);return t.fulfillContentEmpty(n,e)}let a=e.visibleRangeForPosition(o,r);if(!a)return t.fulfillUnknown(n);let d=a.left;if(1>Math.abs(t.mouseContentHorizontalOffset-d))return t.fulfillContentText(n,null,{mightBeForeignElement:!!s,injectedText:s});let h=[];if(h.push({offset:a.left,column:r}),r>1){let t=e.visibleRangeForPosition(o,r-1);t&&h.push({offset:t.left,column:r-1})}let u=e.viewModel.getLineMaxColumn(o);if(re.offset-t.offset);let c=t.pos.toClientCoordinates(g.Jj(e.viewDomNode)),p=i.getBoundingClientRect(),m=p.left<=c.clientX&&c.clientX<=p.right,f=null;for(let e=1;es;if(!o){let i=t.pos.y+(Math.floor((n+s)/2)-t.mouseVerticalOffset);i<=t.editorPos.y&&(i=t.editorPos.y+1),i>=t.editorPos.y+t.editorPos.height&&(i=t.editorPos.y+t.editorPos.height-1);let o=new K.YN(t.pos.x,i),r=this._actualDoHitTestWithCaretRangeFromPoint(e,o.toClientCoordinates(g.Jj(e.viewDomNode)));if(1===r.type)return r}return this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates(g.Jj(e.viewDomNode)))}static _actualDoHitTestWithCaretRangeFromPoint(e,t){let i;let n=g.Ay(e.viewDomNode);if(!(i=n?void 0===n.caretRangeFromPoint?function(e,t,i){let n=document.createRange(),s=e.elementFromPoint(t,i);if(null!==s){let e;for(;s&&s.firstChild&&s.firstChild.nodeType!==s.firstChild.TEXT_NODE&&s.lastChild&&s.lastChild.firstChild;)s=s.lastChild;let i=s.getBoundingClientRect(),o=g.Jj(s),r=o.getComputedStyle(s,null).getPropertyValue("font-style"),l=o.getComputedStyle(s,null).getPropertyValue("font-variant"),a=o.getComputedStyle(s,null).getPropertyValue("font-weight"),d=o.getComputedStyle(s,null).getPropertyValue("font-size"),h=o.getComputedStyle(s,null).getPropertyValue("line-height"),u=o.getComputedStyle(s,null).getPropertyValue("font-family"),c=`${r} ${l} ${a} ${d}/${h} ${u}`,p=s.innerText,m=i.left,f=0;if(t>i.left+i.width)f=p.length;else{let i=eh.getInstance();for(let n=0;nthis._createMouseTarget(e,t),e=>this._getMouseColumn(e))),this.lastMouseLeaveTime=-1,this._height=this._context.configuration.options.get(145).height;let n=new K.N5(this.viewHelper.viewDomNode);this._register(n.onContextMenu(this.viewHelper.viewDomNode,e=>this._onContextMenu(e,!0))),this._register(n.onMouseMove(this.viewHelper.viewDomNode,e=>{this._onMouseMove(e),this._mouseLeaveMonitor||(this._mouseLeaveMonitor=g.nm(this.viewHelper.viewDomNode.ownerDocument,"mousemove",e=>{this.viewHelper.viewDomNode.contains(e.target)||this._onMouseLeave(new K.gy(e,!1,this.viewHelper.viewDomNode))}))})),this._register(n.onMouseUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(n.onMouseLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e)));let s=0;this._register(n.onPointerDown(this.viewHelper.viewDomNode,(e,t)=>{s=t})),this._register(g.nm(this.viewHelper.viewDomNode,g.tw.POINTER_UP,e=>{this._mouseDownOperation.onPointerUp()})),this._register(n.onMouseDown(this.viewHelper.viewDomNode,e=>this._onMouseDown(e,s))),this._setupMouseWheelZoomListener(),this._context.addEventHandler(this)}_setupMouseWheelZoomListener(){let e=ef.Io.INSTANCE,t=0,i=T.C.getZoomLevel(),n=!1,s=0;function o(e){return y.dz?(e.metaKey||e.ctrlKey)&&!e.shiftKey&&!e.altKey:e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey}this._register(g.nm(this.viewHelper.viewDomNode,g.tw.MOUSE_WHEEL,r=>{if(this.viewController.emitMouseWheel(r),!this._context.configuration.options.get(76))return;let l=new ep.q(r);if(e.acceptStandardWheelEvent(l),e.isPhysicalMouseWheel()){if(o(r)){let e=T.C.getZoomLevel(),t=l.deltaY>0?1:-1;T.C.setZoomLevel(e+t),l.preventDefault(),l.stopPropagation()}}else Date.now()-t>50&&(i=T.C.getZoomLevel(),n=o(r),s=0),t=Date.now(),s+=l.deltaY,n&&(T.C.setZoomLevel(i+s/5),l.preventDefault(),l.stopPropagation())},{capture:!0,passive:!1}))}dispose(){this._context.removeEventHandler(this),this._mouseLeaveMonitor&&(this._mouseLeaveMonitor.dispose(),this._mouseLeaveMonitor=null),super.dispose()}onConfigurationChanged(e){if(e.hasChanged(145)){let e=this._context.configuration.options.get(145).height;this._height!==e&&(this._height=e,this._mouseDownOperation.onHeightChanged())}return!1}onCursorStateChanged(e){return this._mouseDownOperation.onCursorStateChanged(e),!1}onFocusChanged(e){return!1}getTargetAtClientPoint(e,t){let i=new K.rU(e,t),n=i.toPageCoordinates(g.Jj(this.viewHelper.viewDomNode)),s=(0,K.kG)(this.viewHelper.viewDomNode);if(n.ys.y+s.height||n.xs.x+s.width)return null;let o=(0,K.Pp)(this.viewHelper.viewDomNode,s,n);return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),s,n,o,null)}_createMouseTarget(e,t){let i=e.target;if(!this.viewHelper.viewDomNode.contains(i)){let t=g.Ay(this.viewHelper.viewDomNode);t&&(i=t.elementsFromPoint(e.posx,e.posy).find(e=>this.viewHelper.viewDomNode.contains(e)))}return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,e.relativePos,t?i:null)}_getMouseColumn(e){return this.mouseTargetFactory.getMouseColumn(e.relativePos)}_onContextMenu(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})}_onMouseMove(e){let t=this.mouseTargetFactory.mouseTargetIsWidget(e);if(t||e.preventDefault(),this._mouseDownOperation.isActive())return;let i=e.timestamp;i{e.preventDefault(),this.viewHelper.focusTextArea()};if(d&&(n||o&&r))h(),this._mouseDownOperation.start(i.type,e,t);else if(s)e.preventDefault();else if(l){let n=i.detail;d&&this.viewHelper.shouldSuppressMouseDownOnViewZone(n.viewZoneId)&&(h(),this._mouseDownOperation.start(i.type,e,t),e.preventDefault())}else a&&this.viewHelper.shouldSuppressMouseDownOnWidget(i.detail)&&(h(),e.preventDefault());this.viewController.emitMouseDown({event:e,target:i})}}class ev extends f.JT{constructor(e,t,i,n,s,o){super(),this._context=e,this._viewController=t,this._viewHelper=i,this._mouseTargetFactory=n,this._createMouseTarget=s,this._getMouseColumn=o,this._mouseMoveMonitor=this._register(new K.AL(this._viewHelper.viewDomNode)),this._topBottomDragScrolling=this._register(new eb(this._context,this._viewHelper,this._mouseTargetFactory,(e,t,i)=>this._dispatchMouse(e,t,i))),this._mouseState=new ew,this._currentSelection=new em.Y(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);let t=this._findMousePosition(e,!1);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):13===t.type&&("above"===t.outsidePosition||"below"===t.outsidePosition)?this._topBottomDragScrolling.start(t,e):(this._topBottomDragScrolling.stop(),this._dispatchMouse(t,!0,1)))}start(e,t,i){this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(3===e),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t);let n=this._findMousePosition(t,!0);if(!n||!n.position)return;this._mouseState.trySetCount(t.detail,n.position),t.detail=this._mouseState.count;let s=this._context.configuration.options;if(!s.get(91)&&s.get(35)&&!s.get(22)&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===n.type&&n.position&&this._currentSelection.containsPosition(n.position)){this._mouseState.isDragAndDrop=!0,this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,i,t.buttons,e=>this._onMouseDownThenMove(e),e=>{let t=this._findMousePosition(this._lastMouseEvent,!1);g.vd(e)?this._viewController.emitMouseDropCanceled():this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:t?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()});return}this._mouseState.isDragAndDrop=!1,this._dispatchMouse(n,t.shiftKey,1),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,i,t.buttons,e=>this._onMouseDownThenMove(e),()=>this._stop()))}_stop(){this._isActive=!1,this._topBottomDragScrolling.stop()}onHeightChanged(){this._mouseMoveMonitor.stopMonitoring()}onPointerUp(){this._mouseMoveMonitor.stopMonitoring()}onCursorStateChanged(e){this._currentSelection=e.selections[0]}_getPositionOutsideEditor(e){let t=e.editorPos,i=this._context.viewModel,n=this._context.viewLayout,s=this._getMouseColumn(e);if(e.posyt.y+t.height){let o=e.posy-t.y-t.height,r=n.getCurrentScrollTop()+e.relativePos.y,l=es.getZoneAtCoord(this._context,r);if(l){let e=this._helpPositionJumpOverViewZone(l);if(e)return ei.createOutsideEditor(s,e,"below",o)}let a=n.getLineNumberAtVerticalOffset(r);return ei.createOutsideEditor(s,new G.L(a,i.getLineMaxColumn(a)),"below",o)}let o=n.getLineNumberAtVerticalOffset(n.getCurrentScrollTop()+e.relativePos.y);if(e.posxt.x+t.width){let n=e.posx-t.x-t.width;return ei.createOutsideEditor(s,new G.L(o,i.getLineMaxColumn(o)),"right",n)}return null}_findMousePosition(e,t){let i=this._getPositionOutsideEditor(e);if(i)return i;let n=this._createMouseTarget(e,t),s=n.position;if(!s)return null;if(8===n.type||5===n.type){let e=this._helpPositionJumpOverViewZone(n.detail);if(e)return ei.createViewZone(n.type,n.element,n.mouseColumn,e,n.detail)}return n}_helpPositionJumpOverViewZone(e){let t=new G.L(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),i=e.positionBefore,n=e.positionAfter;return i&&n?i.isBefore(t)?i:n:null}_dispatchMouse(e,t,i){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,revealType:i,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton,onInjectedText:6===e.type&&null!==e.detail.injectedText})}}class eb extends f.JT{constructor(e,t,i,n){super(),this._context=e,this._viewHelper=t,this._mouseTargetFactory=i,this._dispatchMouse=n,this._operation=null}dispose(){super.dispose(),this.stop()}start(e,t){this._operation?this._operation.setPosition(e,t):this._operation=new eC(this._context,this._viewHelper,this._mouseTargetFactory,this._dispatchMouse,e,t)}stop(){this._operation&&(this._operation.dispose(),this._operation=null)}}class eC extends f.JT{constructor(e,t,i,n,s,o){super(),this._context=e,this._viewHelper=t,this._mouseTargetFactory=i,this._dispatchMouse=n,this._position=s,this._mouseEvent=o,this._lastTime=Date.now(),this._animationFrameDisposable=g.jL(g.Jj(o.browserEvent),()=>this._execute())}dispose(){this._animationFrameDisposable.dispose(),super.dispose()}setPosition(e,t){this._position=e,this._mouseEvent=t}_tick(){let e=Date.now(),t=e-this._lastTime;return this._lastTime=e,t}_getScrollSpeed(){let e=this._context.configuration.options.get(67),t=this._context.configuration.options.get(145).height/e,i=this._position.outsideDistance/e;return i<=1.5?Math.max(30,t*(1+i)):i<=3?Math.max(60,t*(2+i)):Math.max(200,t*(7+i))}_execute(){let e;let t=this._context.configuration.options.get(67),i=this._getScrollSpeed(),n=this._tick(),s=i*(n/1e3)*t,o="above"===this._position.outsidePosition?-s:s;this._context.viewModel.viewLayout.deltaScrollNow(0,o),this._viewHelper.renderNow();let r=this._context.viewLayout.getLinesViewportData(),l="above"===this._position.outsidePosition?r.startLineNumber:r.endLineNumber;{let t=(0,K.kG)(this._viewHelper.viewDomNode),i=this._context.configuration.options.get(145).horizontalScrollbarHeight,n=new K.YN(this._mouseEvent.pos.x,t.y+t.height-i-.1),s=(0,K.Pp)(this._viewHelper.viewDomNode,t,n);e=this._mouseTargetFactory.createMouseTarget(this._viewHelper.getLastRenderData(),t,n,s,null)}e.position&&e.position.lineNumber===l||(e="above"===this._position.outsidePosition?ei.createOutsideEditor(this._position.mouseColumn,new G.L(l,1),"above",this._position.outsideDistance):ei.createOutsideEditor(this._position.mouseColumn,new G.L(l,this._context.viewModel.getLineMaxColumn(l)),"below",this._position.outsideDistance)),this._dispatchMouse(e,!0,2),this._animationFrameDisposable=g.jL(g.Jj(e.element),()=>this._execute())}}class ew{get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get count(){return this._lastMouseDownCount}setModifiers(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey}setStartButtons(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton}setStartedOnLineNumbers(e){this._startedOnLineNumbers=e}trySetCount(e,t){let i=new Date().getTime();i-this._lastSetMouseDownCountTime>ew.CLEAR_MOUSE_DOWN_COUNT_TIME&&(e=1),this._lastSetMouseDownCountTime=i,e>this._lastMouseDownCount+1&&(e=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(t)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=t,this._lastMouseDownCount=Math.min(e,this._lastMouseDownPositionEqualCount)}}ew.CLEAR_MOUSE_DOWN_COUNT_TIME=400;var ey=i(62432);class eS extends e_{constructor(e,t,i){super(e,t,i),this._register(ec.o.addTarget(this.viewHelper.linesContentDomNode)),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Tap,e=>this.onTap(e))),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Change,e=>this.onChange(e))),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Contextmenu,e=>this._onContextMenu(new K.gy(e,!1,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(g.nm(this.viewHelper.linesContentDomNode,"pointerdown",e=>{let t=e.pointerType;if("mouse"===t){this._lastPointerType="mouse";return}"touch"===t?this._lastPointerType="touch":this._lastPointerType="pen"}));let n=new K.tC(this.viewHelper.viewDomNode);this._register(n.onPointerMove(this.viewHelper.viewDomNode,e=>this._onMouseMove(e))),this._register(n.onPointerUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(n.onPointerLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(n.onPointerDown(this.viewHelper.viewDomNode,(e,t)=>this._onMouseDown(e,t)))}onTap(e){e.initialTarget&&this.viewHelper.linesContentDomNode.contains(e.initialTarget)&&(e.preventDefault(),this.viewHelper.focusTextArea(),this._dispatchGesture(e,!1))}onChange(e){"touch"===this._lastPointerType&&this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY),"pen"===this._lastPointerType&&this._dispatchGesture(e,!0)}_dispatchGesture(e,t){let i=this._createMouseTarget(new K.gy(e,!1,this.viewHelper.viewDomNode),!1);i.position&&this.viewController.dispatchMouse({position:i.position,mouseColumn:i.position.column,startedOnLineNumbers:!1,revealType:1,mouseDownCount:e.tapCount,inSelectionMode:t,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1,onInjectedText:6===i.type&&null!==i.detail.injectedText})}_onMouseDown(e,t){"touch"!==e.browserEvent.pointerType&&super._onMouseDown(e,t)}}class eL extends e_{constructor(e,t,i){super(e,t,i),this._register(ec.o.addTarget(this.viewHelper.linesContentDomNode)),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Tap,e=>this.onTap(e))),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Change,e=>this.onChange(e))),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Contextmenu,e=>this._onContextMenu(new K.gy(e,!1,this.viewHelper.viewDomNode),!1)))}onTap(e){e.preventDefault(),this.viewHelper.focusTextArea();let t=this._createMouseTarget(new K.gy(e,!1,this.viewHelper.viewDomNode),!1);if(t.position){let e=document.createEvent("CustomEvent");e.initEvent(ey.pd.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(e),this.viewController.moveTo(t.position,1)}}onChange(e){this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)}}class ek extends f.JT{constructor(e,t,i){super();let n=y.gn||y.Dt&&y.tq;n&&eu.D.pointerEvents?this.handler=this._register(new eS(e,t,i)):eg.E.TouchEvent?this.handler=this._register(new eL(e,t,i)):this.handler=this._register(new e_(e,t,i))}getTargetAtClientPoint(e,t){return this.handler.getTargetAtClientPoint(e,t)}}i(55660);var eD=i(82801),ex=i(95612),eN=i(69217);i(36023);class eE extends U{}var eI=i(55150),eT=i(34109);class eM extends eE{constructor(e){super(),this._context=e,this._readConfig(),this._lastCursorModelPosition=new G.L(1,1),this._renderResult=null,this._activeLineNumber=1,this._context.addEventHandler(this)}_readConfig(){let e=this._context.configuration.options;this._lineHeight=e.get(67);let t=e.get(68);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(95);let i=e.get(145);this._lineNumbersLeft=i.lineNumbersLeft,this._lineNumbersWidth=i.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return this._readConfig(),!0}onCursorStateChanged(e){let t=e.selections[0].getPosition();this._lastCursorModelPosition=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(t);let i=!1;return this._activeLineNumber!==t.lineNumber&&(this._activeLineNumber=t.lineNumber,i=!0),(2===this._renderLineNumbers||3===this._renderLineNumbers)&&(i=!0),i}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onDecorationsChanged(e){return e.affectsLineNumber}_getLineRenderLineNumber(e){let t=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new G.L(e,1));if(1!==t.column)return"";let i=t.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(i);if(2===this._renderLineNumbers){let e=Math.abs(this._lastCursorModelPosition.lineNumber-i);return 0===e?''+i+"":String(e)}if(3===this._renderLineNumbers){if(this._lastCursorModelPosition.lineNumber===i||i%10==0)return String(i);let e=this._context.viewModel.getLineCount();return i===e?String(i):""}return String(i)}prepareRender(e){if(0===this._renderLineNumbers){this._renderResult=null;return}let t=y.IJ?this._lineHeight%2==0?" lh-even":" lh-odd":"",i=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,s=this._context.viewModel.getDecorationsInViewport(e.visibleRange).filter(e=>!!e.options.lineNumberClassName);s.sort((e,t)=>Q.e.compareRangesUsingEnds(e.range,t.range));let o=0,r=this._context.viewModel.getLineCount(),l=[];for(let e=i;e<=n;e++){let n=e-i,a=this._getLineRenderLineNumber(e),d="";for(;o${a}`}this._renderResult=l}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}eM.CLASS_NAME="line-numbers",(0,eI.Ic)((e,t)=>{let i=e.getColor(eT.hw),n=e.getColor(eT.Bj);n?t.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${n}; }`):i&&t.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${i.transparent(.4)}; }`)}),i(51771);class eR extends ${constructor(e){super(e);let t=this._context.configuration.options,i=t.get(145);this._canUseLayerHinting=!t.get(32),this._contentLeft=i.contentLeft,this._glyphMarginLeft=i.glyphMarginLeft,this._glyphMarginWidth=i.glyphMarginWidth,this._domNode=(0,V.X)(document.createElement("div")),this._domNode.setClassName(eR.OUTER_CLASS_NAME),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=(0,V.X)(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName(eR.CLASS_NAME),this._domNode.appendChild(this._glyphMarginBackgroundDomNode)}dispose(){super.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._canUseLayerHinting=!t.get(32),this._contentLeft=i.contentLeft,this._glyphMarginLeft=i.glyphMarginLeft,this._glyphMarginWidth=i.glyphMarginWidth,!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollTopChanged}prepareRender(e){}render(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");let t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);let i=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(i),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(i)}}eR.CLASS_NAME="glyph-margin",eR.OUTER_CLASS_NAME="margin";var eA=i(41117);i(65725);let eP="monaco-mouse-cursor-text";var eO=i(1863),eF=i(76515),eB=i(33010),eW=i(46417),eH=i(85327),eV=function(e,t){return function(i,n){t(i,n,e)}};class ez{constructor(e,t,i,n,s){this._context=e,this.modelLineNumber=t,this.distanceToModelLineStart=i,this.widthOfHiddenLineTextBefore=n,this.distanceToModelLineEnd=s,this._visibleTextAreaBrand=void 0,this.startPosition=null,this.endPosition=null,this.visibleTextareaStart=null,this.visibleTextareaEnd=null,this._previousPresentation=null}prepareRender(e){let t=new G.L(this.modelLineNumber,this.distanceToModelLineStart+1),i=new G.L(this.modelLineNumber,this._context.viewModel.model.getLineMaxColumn(this.modelLineNumber)-this.distanceToModelLineEnd);this.startPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(t),this.endPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i),this.startPosition.lineNumber===this.endPosition.lineNumber?(this.visibleTextareaStart=e.visibleRangeForPosition(this.startPosition),this.visibleTextareaEnd=e.visibleRangeForPosition(this.endPosition)):(this.visibleTextareaStart=null,this.visibleTextareaEnd=null)}definePresentation(e){return this._previousPresentation||(e?this._previousPresentation=e:this._previousPresentation={foreground:1,italic:!1,bold:!1,underline:!1,strikethrough:!1}),this._previousPresentation}}let eK=b.vU,eU=class extends ${constructor(e,t,i,n,s){super(e),this._keybindingService=n,this._instantiationService=s,this._primaryCursorPosition=new G.L(1,1),this._primaryCursorVisibleRange=null,this._viewController=t,this._visibleRangeProvider=i,this._scrollLeft=0,this._scrollTop=0;let o=this._context.configuration.options,r=o.get(145);this._setAccessibilityOptions(o),this._contentLeft=r.contentLeft,this._contentWidth=r.contentWidth,this._contentHeight=r.height,this._fontInfo=o.get(50),this._lineHeight=o.get(67),this._emptySelectionClipboard=o.get(37),this._copyWithSyntaxHighlighting=o.get(25),this._visibleTextArea=null,this._selections=[new em.Y(1,1,1,1)],this._modelSelections=[new em.Y(1,1,1,1)],this._lastRenderPosition=null,this.textArea=(0,V.X)(document.createElement("textarea")),q.write(this.textArea,7),this.textArea.setClassName(`inputarea ${eP}`),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off");let{tabSize:l}=this._context.viewModel.model.getOptions();this.textArea.domNode.style.tabSize=`${l*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(o)),this.textArea.setAttribute("aria-required",o.get(5)?"true":"false"),this.textArea.setAttribute("tabindex",String(o.get(124))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",eD.NC("editor","editor")),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-autocomplete",o.get(91)?"none":"both"),this._ensureReadOnlyAttribute(),this.textAreaCover=(0,V.X)(document.createElement("div")),this.textAreaCover.setPosition("absolute");let a={getLineCount:()=>this._context.viewModel.getLineCount(),getLineMaxColumn:e=>this._context.viewModel.getLineMaxColumn(e),getValueInRange:(e,t)=>this._context.viewModel.getValueInRange(e,t),getValueLengthInRange:(e,t)=>this._context.viewModel.getValueLengthInRange(e,t),modifyPosition:(e,t)=>this._context.viewModel.modifyPosition(e,t)},d=this._register(new ey.Tj(this.textArea.domNode));this._textAreaInput=this._register(this._instantiationService.createInstance(ey.Fz,{getDataToCopy:()=>{let e;let t=this._context.viewModel.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,y.ED),i=this._context.viewModel.model.getEOL(),n=this._emptySelectionClipboard&&1===this._modelSelections.length&&this._modelSelections[0].isEmpty(),s=Array.isArray(t)?t:null,o=Array.isArray(t)?t.join(i):t,r=null;if(ey.RA.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&o.length<65536){let t=this._context.viewModel.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);t&&(e=t.html,r=t.mode)}return{isFromEmptySelection:n,multicursorText:s,text:o,html:e,mode:r}},getScreenReaderContent:()=>{if(1===this._accessibilitySupport){let e=this._selections[0];if(y.dz&&e.isEmpty()){let t=e.getStartPosition(),i=this._getWordBeforePosition(t);if(0===i.length&&(i=this._getCharacterBeforePosition(t)),i.length>0)return new eN.un(i,i.length,i.length,Q.e.fromPositions(t),0)}if(y.dz&&!e.isEmpty()&&500>a.getValueLengthInRange(e,0)){let t=a.getValueInRange(e,0);return new eN.un(t,0,t.length,e,0)}if(b.G6&&!e.isEmpty()){let e="vscode-placeholder";return new eN.un(e,0,e.length,null,void 0)}return eN.un.EMPTY}if(b.Dt){let e=this._selections[0];if(e.isEmpty()){let t=e.getStartPosition(),[i,n]=this._getAndroidWordAtPosition(t);if(i.length>0)return new eN.un(i,n,n,Q.e.fromPositions(t),0)}return eN.un.EMPTY}return eN.ee.fromEditorSelection(a,this._selections[0],this._accessibilityPageSize,0===this._accessibilitySupport)},deduceModelPosition:(e,t,i)=>this._context.viewModel.deduceModelPositionRelativeToViewPosition(e,t,i)},d,y.OS,{isAndroid:b.Dt,isChrome:b.i7,isFirefox:b.vU,isSafari:b.G6})),this._register(this._textAreaInput.onKeyDown(e=>{this._viewController.emitKeyDown(e)})),this._register(this._textAreaInput.onKeyUp(e=>{this._viewController.emitKeyUp(e)})),this._register(this._textAreaInput.onPaste(e=>{let t=!1,i=null,n=null;e.metadata&&(t=this._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,i=void 0!==e.metadata.multicursorText?e.metadata.multicursorText:null,n=e.metadata.mode),this._viewController.paste(e.text,t,i,n)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(e=>{e.replacePrevCharCnt||e.replaceNextCharCnt||e.positionDelta?(eN.al&&console.log(` => compositionType: <<${e.text}>>, ${e.replacePrevCharCnt}, ${e.replaceNextCharCnt}, ${e.positionDelta}`),this._viewController.compositionType(e.text,e.replacePrevCharCnt,e.replaceNextCharCnt,e.positionDelta)):(eN.al&&console.log(` => type: <<${e.text}>>`),this._viewController.type(e.text))})),this._register(this._textAreaInput.onSelectionChangeRequest(e=>{this._viewController.setSelection(e)})),this._register(this._textAreaInput.onCompositionStart(e=>{let t=this.textArea.domNode,i=this._modelSelections[0],{distanceToModelLineStart:n,widthOfHiddenTextBefore:s}=(()=>{let e=t.value.substring(0,Math.min(t.selectionStart,t.selectionEnd)),n=e.lastIndexOf("\n"),s=e.substring(n+1),o=s.lastIndexOf(" "),r=s.length-o-1,l=i.getStartPosition(),a=Math.min(l.column-1,r),d=l.column-1-a,h=s.substring(0,s.length-a),{tabSize:u}=this._context.viewModel.model.getOptions(),c=function(e,t,i,n){if(0===t.length)return 0;let s=e.createElement("div");s.style.position="absolute",s.style.top="-50000px",s.style.width="50000px";let o=e.createElement("span");(0,v.N)(o,i),o.style.whiteSpace="pre",o.style.tabSize=`${n*i.spaceWidth}px`,o.append(t),s.appendChild(o),e.body.appendChild(s);let r=o.offsetWidth;return e.body.removeChild(s),r}(this.textArea.domNode.ownerDocument,h,this._fontInfo,u);return{distanceToModelLineStart:d,widthOfHiddenTextBefore:c}})(),{distanceToModelLineEnd:o}=(()=>{let e=t.value.substring(Math.max(t.selectionStart,t.selectionEnd)),n=e.indexOf("\n"),s=-1===n?e:e.substring(0,n),o=s.indexOf(" "),r=-1===o?s.length:s.length-o-1,l=i.getEndPosition(),a=Math.min(this._context.viewModel.model.getLineMaxColumn(l.lineNumber)-l.column,r),d=this._context.viewModel.model.getLineMaxColumn(l.lineNumber)-l.column-a;return{distanceToModelLineEnd:d}})();this._context.viewModel.revealRange("keyboard",!0,Q.e.fromPositions(this._selections[0].getStartPosition()),0,1),this._visibleTextArea=new ez(this._context,i.startLineNumber,n,s,o),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off"),this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render(),this.textArea.setClassName(`inputarea ${eP} ime-input`),this._viewController.compositionStart(),this._context.viewModel.onCompositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(e=>{this._visibleTextArea&&(this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render())})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off"),this._render(),this.textArea.setClassName(`inputarea ${eP}`),this._viewController.compositionEnd(),this._context.viewModel.onCompositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.viewModel.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.viewModel.setHasFocus(!1)})),this._register(eB.F.onDidChange(()=>{this._ensureReadOnlyAttribute()}))}writeScreenReaderContent(e){this._textAreaInput.writeNativeTextAreaContent(e)}dispose(){super.dispose()}_getAndroidWordAtPosition(e){let t=this._context.viewModel.getLineContent(e.lineNumber),i=(0,eA.u)('`~!@#$%^&*()-=+[{]}\\|;:",.<>/?',[]),n=!0,s=e.column,o=!0,r=e.column,l=0;for(;l<50&&(n||o);){if(n&&s<=1&&(n=!1),n){let e=t.charCodeAt(s-2),o=i.get(e);0!==o?n=!1:s--}if(o&&r>t.length&&(o=!1),o){let e=t.charCodeAt(r-1),n=i.get(e);0!==n?o=!1:r++}l++}return[t.substring(s-1,r-1),e.column-s]}_getWordBeforePosition(e){let t=this._context.viewModel.getLineContent(e.lineNumber),i=(0,eA.u)(this._context.configuration.options.get(131),[]),n=e.column,s=0;for(;n>1;){let o=t.charCodeAt(n-2),r=i.get(o);if(0!==r||s>50)return t.substring(n-1,e.column-1);s++,n--}return t.substring(0,e.column-1)}_getCharacterBeforePosition(e){if(e.column>1){let t=this._context.viewModel.getLineContent(e.lineNumber),i=t.charAt(e.column-2);if(!ex.ZG(i.charCodeAt(0)))return i}return""}_getAriaLabel(e){var t,i,n;let s=e.get(2);if(1===s){let e=null===(t=this._keybindingService.lookupKeybinding("editor.action.toggleScreenReaderAccessibilityMode"))||void 0===t?void 0:t.getAriaLabel(),s=null===(i=this._keybindingService.lookupKeybinding("workbench.action.showCommands"))||void 0===i?void 0:i.getAriaLabel(),o=null===(n=this._keybindingService.lookupKeybinding("workbench.action.openGlobalKeybindings"))||void 0===n?void 0:n.getAriaLabel(),r=eD.NC("accessibilityModeOff","The editor is not accessible at this time.");return e?eD.NC("accessibilityOffAriaLabel","{0} To enable screen reader optimized mode, use {1}",r,e):s?eD.NC("accessibilityOffAriaLabelNoKb","{0} To enable screen reader optimized mode, open the quick pick with {1} and run the command Toggle Screen Reader Accessibility Mode, which is currently not triggerable via keyboard.",r,s):o?eD.NC("accessibilityOffAriaLabelNoKbs","{0} Please assign a keybinding for the command Toggle Screen Reader Accessibility Mode by accessing the keybindings editor with {1} and run it.",r,o):r}return e.get(4)}_setAccessibilityOptions(e){this._accessibilitySupport=e.get(2);let t=e.get(3);2===this._accessibilitySupport&&t===I.BH.accessibilityPageSize.defaultValue?this._accessibilityPageSize=500:this._accessibilityPageSize=t;let i=e.get(145),n=i.wrappingColumn;if(-1!==n&&1!==this._accessibilitySupport){let t=e.get(50);this._textAreaWrapping=!0,this._textAreaWidth=Math.round(n*t.typicalHalfwidthCharacterWidth)}else this._textAreaWrapping=!1,this._textAreaWidth=eK?0:1}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);this._setAccessibilityOptions(t),this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,this._contentHeight=i.height,this._fontInfo=t.get(50),this._lineHeight=t.get(67),this._emptySelectionClipboard=t.get(37),this._copyWithSyntaxHighlighting=t.get(25),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off");let{tabSize:n}=this._context.viewModel.model.getOptions();return this.textArea.domNode.style.tabSize=`${n*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute("aria-label",this._getAriaLabel(t)),this.textArea.setAttribute("aria-required",t.get(5)?"true":"false"),this.textArea.setAttribute("tabindex",String(t.get(124))),(e.hasChanged(34)||e.hasChanged(91))&&this._ensureReadOnlyAttribute(),e.hasChanged(2)&&this._textAreaInput.writeNativeTextAreaContent("strategy changed"),!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeNativeTextAreaContent("selection changed"),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0}onZonesChanged(e){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(e){e.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",e.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),e.role&&this.textArea.setAttribute("role",e.role)}_ensureReadOnlyAttribute(){let e=this._context.configuration.options,t=!eB.F.enabled||e.get(34)&&e.get(91);t?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")}prepareRender(e){var t;this._primaryCursorPosition=new G.L(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition),null===(t=this._visibleTextArea)||void 0===t||t.prepareRender(e)}render(e){this._textAreaInput.writeNativeTextAreaContent("render"),this._render()}_render(){var e;if(this._visibleTextArea){let e=this._visibleTextArea.visibleTextareaStart,t=this._visibleTextArea.visibleTextareaEnd,i=this._visibleTextArea.startPosition,n=this._visibleTextArea.endPosition;if(i&&n&&e&&t&&t.left>=this._scrollLeft&&e.left<=this._scrollLeft+this._contentWidth){let s=this._context.viewLayout.getVerticalOffsetForLineNumber(this._primaryCursorPosition.lineNumber)-this._scrollTop,o=this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart)),r=this._visibleTextArea.widthOfHiddenLineTextBefore,l=this._contentLeft+e.left-this._scrollLeft,a=t.left-e.left+1;if(lthis._contentWidth&&(a=this._contentWidth);let d=this._context.viewModel.getViewLineData(i.lineNumber),h=d.tokens.findTokenIndexAtOffset(i.column-1),u=d.tokens.findTokenIndexAtOffset(n.column-1),c=h===u,g=this._visibleTextArea.definePresentation(c?d.tokens.getPresentation(h):null);this.textArea.domNode.scrollTop=o*this._lineHeight,this.textArea.domNode.scrollLeft=r,this._doRender({lastRenderPosition:null,top:s,left:l,width:a,height:this._lineHeight,useCover:!1,color:(eO.RW.getColorMap()||[])[g.foreground],italic:g.italic,bold:g.bold,underline:g.underline,strikethrough:g.strikethrough})}return}if(!this._primaryCursorVisibleRange){this._renderAtTopLeft();return}let t=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(tthis._contentLeft+this._contentWidth){this._renderAtTopLeft();return}let i=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;if(i<0||i>this._contentHeight){this._renderAtTopLeft();return}if(y.dz||2===this._accessibilitySupport){this._doRender({lastRenderPosition:this._primaryCursorPosition,top:i,left:this._textAreaWrapping?this._contentLeft:t,width:this._textAreaWidth,height:this._lineHeight,useCover:!1}),this.textArea.domNode.scrollLeft=this._primaryCursorVisibleRange.left;let n=null!==(e=this._textAreaInput.textAreaState.newlineCountBeforeSelection)&&void 0!==e?e:this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));this.textArea.domNode.scrollTop=n*this._lineHeight;return}this._doRender({lastRenderPosition:this._primaryCursorPosition,top:i,left:this._textAreaWrapping?this._contentLeft:t,width:this._textAreaWidth,height:eK?0:1,useCover:!1})}_newlinecount(e){let t=0,i=-1;for(;-1!==(i=e.indexOf("\n",i+1));)t++;return t}_renderAtTopLeft(){this._doRender({lastRenderPosition:null,top:0,left:0,width:this._textAreaWidth,height:eK?0:1,useCover:!0})}_doRender(e){this._lastRenderPosition=e.lastRenderPosition;let t=this.textArea,i=this.textAreaCover;(0,v.N)(t,this._fontInfo),t.setTop(e.top),t.setLeft(e.left),t.setWidth(e.width),t.setHeight(e.height),t.setColor(e.color?eF.Il.Format.CSS.formatHex(e.color):""),t.setFontStyle(e.italic?"italic":""),e.bold&&t.setFontWeight("bold"),t.setTextDecoration(`${e.underline?" underline":""}${e.strikethrough?" line-through":""}`),i.setTop(e.useCover?e.top:0),i.setLeft(e.useCover?e.left:0),i.setWidth(e.useCover?e.width:0),i.setHeight(e.useCover?e.height:0);let n=this._context.configuration.options;n.get(57)?i.setClassName("monaco-editor-background textAreaCover "+eR.OUTER_CLASS_NAME):0!==n.get(68).renderType?i.setClassName("monaco-editor-background textAreaCover "+eM.CLASS_NAME):i.setClassName("monaco-editor-background textAreaCover")}};eU=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eV(3,eW.d),eV(4,eH.TG)],eU);var e$=i(18069),eq=i(31415);class ej{constructor(e,t,i,n){this.configuration=e,this.viewModel=t,this.userInputEvents=i,this.commandDelegate=n}paste(e,t,i,n){this.commandDelegate.paste(e,t,i,n)}type(e){this.commandDelegate.type(e)}compositionType(e,t,i,n){this.commandDelegate.compositionType(e,t,i,n)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(e){eq.Ox.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:e})}_validateViewColumn(e){let t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column=4?this._selectAll():3===e.mouseDownCount?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position,e.revealType):this._lastCursorLineSelect(e.position,e.revealType):e.inSelectionMode?this._lineSelectDrag(e.position,e.revealType):this._lineSelect(e.position,e.revealType):2===e.mouseDownCount?e.onInjectedText||(this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position,e.revealType):e.inSelectionMode?this._wordSelectDrag(e.position,e.revealType):this._wordSelect(e.position,e.revealType)):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position,e.revealType):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey?this._columnSelect(e.position,e.mouseColumn,!0):n?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position,e.revealType):this.moveTo(e.position,e.revealType)}_usualArgs(e,t){return e=this._validateViewColumn(e),{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,revealType:t}}moveTo(e,t){eq.Ox.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_moveToSelect(e,t){eq.Ox.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_columnSelect(e,t,i){e=this._validateViewColumn(e),eq.Ox.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:i})}_createCursor(e,t){e=this._validateViewColumn(e),eq.Ox.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})}_lastCursorMoveToSelect(e,t){eq.Ox.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_wordSelect(e,t){eq.Ox.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_wordSelectDrag(e,t){eq.Ox.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lastCursorWordSelect(e,t){eq.Ox.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lineSelect(e,t){eq.Ox.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lineSelectDrag(e,t){eq.Ox.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lastCursorLineSelect(e,t){eq.Ox.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lastCursorLineSelectDrag(e,t){eq.Ox.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_selectAll(){eq.Ox.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}_convertViewToModelPosition(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)}emitKeyDown(e){this.userInputEvents.emitKeyDown(e)}emitKeyUp(e){this.userInputEvents.emitKeyUp(e)}emitContextMenu(e){this.userInputEvents.emitContextMenu(e)}emitMouseMove(e){this.userInputEvents.emitMouseMove(e)}emitMouseLeave(e){this.userInputEvents.emitMouseLeave(e)}emitMouseUp(e){this.userInputEvents.emitMouseUp(e)}emitMouseDown(e){this.userInputEvents.emitMouseDown(e)}emitMouseDrag(e){this.userInputEvents.emitMouseDrag(e)}emitMouseDrop(e){this.userInputEvents.emitMouseDrop(e)}emitMouseDropCanceled(){this.userInputEvents.emitMouseDropCanceled()}emitMouseWheel(e){this.userInputEvents.emitMouseWheel(e)}}var eG=i(39813),eQ=i(91797);class eZ{constructor(e){this._createLine=e,this._set(1,[])}flush(){this._set(1,[])}_set(e,t){this._lines=t,this._rendLineNumberStart=e}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(e){let t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new p.he("Illegal value for lineNumber");return this._lines[t]}onLinesDeleted(e,t){if(0===this.getCount())return null;let i=this.getStartLineNumber(),n=this.getEndLineNumber();if(tn)return null;let s=0,o=0;for(let r=i;r<=n;r++){let i=r-this._rendLineNumberStart;e<=r&&r<=t&&(0===o?(s=i,o=1):o++)}if(e=n&&t<=s&&(this._lines[t-this._rendLineNumberStart].onContentChanged(),o=!0);return o}onLinesInserted(e,t){if(0===this.getCount())return null;let i=t-e+1,n=this.getStartLineNumber(),s=this.getEndLineNumber();if(e<=n)return this._rendLineNumberStart+=i,null;if(e>s)return null;if(i+e>s){let t=this._lines.splice(e-this._rendLineNumberStart,s-e+1);return t}let o=[];for(let e=0;ei)continue;let r=Math.max(t,o.fromLineNumber),l=Math.min(i,o.toLineNumber);for(let e=r;e<=l;e++){let t=e-this._rendLineNumberStart;this._lines[t].onTokensChanged(),n=!0}}return n}}class eY{constructor(e){this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new eZ(()=>this._host.createVisibleLine())}_createDomNode(){let e=(0,V.X)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e}onConfigurationChanged(e){return!!e.hasChanged(145)}onFlushed(e){return this._linesCollection.flush(),!0}onLinesChanged(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.count)}onLinesDeleted(e){let t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(let e=0,i=t.length;et){let e=Math.min(i,s.rendLineNumberStart-1);t<=e&&(this._insertLinesBefore(s,t,e,n,t),s.linesLength+=e-t+1)}else if(s.rendLineNumberStart0&&(this._removeLinesBefore(s,e),s.linesLength-=e)}if(s.rendLineNumberStart=t,s.rendLineNumberStart+s.linesLength-1i){let e=Math.max(0,i-s.rendLineNumberStart+1),t=s.linesLength-1,n=t-e+1;n>0&&(this._removeLinesAfter(s,n),s.linesLength-=n)}return this._finishRendering(s,!1,n),s}_renderUntouchedLines(e,t,i,n,s){let o=e.rendLineNumberStart,r=e.lines;for(let e=t;e<=i;e++){let t=o+e;r[e].layoutLine(t,n[t-s],this.viewportData.lineHeight)}}_insertLinesBefore(e,t,i,n,s){let o=[],r=0;for(let e=t;e<=i;e++)o[r++]=this.host.createVisibleLine();e.lines=o.concat(e.lines)}_removeLinesBefore(e,t){for(let i=0;i=0;t--){let i=e.lines[t];n[t]&&(i.setDomNode(o),o=o.previousSibling)}}_finishRenderingInvalidLines(e,t,i){let n=document.createElement("div");eJ._ttPolicy&&(t=eJ._ttPolicy.createHTML(t)),n.innerHTML=t;for(let t=0;te}),eJ._sb=new eQ.HT(1e5);class eX extends ${constructor(e){super(e),this._visibleLines=new eY(this),this.domNode=this._visibleLines.domNode;let t=this._context.configuration.options,i=t.get(50);(0,v.N)(this.domNode,i),this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let e=0,t=this._dynamicOverlays.length;ee.shouldRender());for(let i=0,n=t.length;i'),s.appendString(o),s.appendString(""),!0)}layoutLine(e,t,i){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(i))}}class e1 extends eX{constructor(e){super(e);let t=this._context.configuration.options,i=t.get(145);this._contentWidth=i.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._contentWidth=i.contentWidth,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollWidthChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e),this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth))}}class e2 extends eX{constructor(e){super(e);let t=this._context.configuration.options,i=t.get(145);this._contentLeft=i.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),(0,v.N)(this.domNode,t.get(50))}onConfigurationChanged(e){let t=this._context.configuration.options;(0,v.N)(this.domNode,t.get(50));let i=t.get(145);return this._contentLeft=i.contentLeft,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollHeightChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e);let t=Math.min(e.scrollHeight,1e6);this.domNode.setHeight(t),this.domNode.setWidth(this._contentLeft)}}class e4{constructor(e){this.onKeyDown=null,this.onKeyUp=null,this.onContextMenu=null,this.onMouseMove=null,this.onMouseLeave=null,this.onMouseDown=null,this.onMouseUp=null,this.onMouseDrag=null,this.onMouseDrop=null,this.onMouseDropCanceled=null,this.onMouseWheel=null,this._coordinatesConverter=e}emitKeyDown(e){var t;null===(t=this.onKeyDown)||void 0===t||t.call(this,e)}emitKeyUp(e){var t;null===(t=this.onKeyUp)||void 0===t||t.call(this,e)}emitContextMenu(e){var t;null===(t=this.onContextMenu)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseMove(e){var t;null===(t=this.onMouseMove)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseLeave(e){var t;null===(t=this.onMouseLeave)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDown(e){var t;null===(t=this.onMouseDown)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseUp(e){var t;null===(t=this.onMouseUp)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDrag(e){var t;null===(t=this.onMouseDrag)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDrop(e){var t;null===(t=this.onMouseDrop)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDropCanceled(){var e;null===(e=this.onMouseDropCanceled)||void 0===e||e.call(this)}emitMouseWheel(e){var t;null===(t=this.onMouseWheel)||void 0===t||t.call(this,e)}_convertViewToModelMouseEvent(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e}_convertViewToModelMouseTarget(e){return e4.convertViewToModelMouseTarget(e,this._coordinatesConverter)}static convertViewToModelMouseTarget(e,t){let i={...e};return i.position&&(i.position=t.convertViewPositionToModelPosition(i.position)),i.range&&(i.range=t.convertViewRangeToModelRange(i.range)),(5===i.type||8===i.type)&&(i.detail=this.convertViewToModelViewZoneData(i.detail,t)),i}static convertViewToModelViewZoneData(e,t){return{viewZoneId:e.viewZoneId,positionBefore:e.positionBefore?t.convertViewPositionToModelPosition(e.positionBefore):e.positionBefore,positionAfter:e.positionAfter?t.convertViewPositionToModelPosition(e.positionAfter):e.positionAfter,position:t.convertViewPositionToModelPosition(e.position),afterLineNumber:t.convertViewPositionToModelPosition(new G.L(e.afterLineNumber,1)).lineNumber}}}i(94050);class e5 extends ${constructor(e){super(e),this.blocks=[],this.contentWidth=-1,this.contentLeft=0,this.domNode=(0,V.X)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("blockDecorations-container"),this.update()}update(){let e=!1,t=this._context.configuration.options,i=t.get(145),n=i.contentWidth-i.verticalScrollbarWidth;this.contentWidth!==n&&(this.contentWidth=n,e=!0);let s=i.contentLeft;return this.contentLeft!==s&&(this.contentLeft=s,e=!0),e}dispose(){super.dispose()}onConfigurationChanged(e){return this.update()}onScrollChanged(e){return e.scrollTopChanged||e.scrollLeftChanged}onDecorationsChanged(e){return!0}onZonesChanged(e){return!0}prepareRender(e){}render(e){var t;let i=0,n=e.getDecorationsInViewport();for(let s of n){let n,o;if(!s.options.blockClassName)continue;let r=this.blocks[i];r||(r=this.blocks[i]=(0,V.X)(document.createElement("div")),this.domNode.appendChild(r)),s.options.blockIsAfterEnd?(n=e.getVerticalOffsetAfterLineNumber(s.range.endLineNumber,!1),o=e.getVerticalOffsetAfterLineNumber(s.range.endLineNumber,!0)):(n=e.getVerticalOffsetForLineNumber(s.range.startLineNumber,!0),o=s.range.isEmpty()&&!s.options.blockDoesNotCollapse?e.getVerticalOffsetForLineNumber(s.range.startLineNumber,!1):e.getVerticalOffsetAfterLineNumber(s.range.endLineNumber,!0));let[l,a,d,h]=null!==(t=s.options.blockPadding)&&void 0!==t?t:[0,0,0,0];r.setClassName("blockDecorations-block "+s.options.blockClassName),r.setLeft(this.contentLeft-h),r.setWidth(this.contentWidth+h+a),r.setTop(n-e.scrollTop-l),r.setHeight(o-n+l+d),i++}for(let e=i;e0?this.domNode.setDisplay("block"):this.domNode.setDisplay("none"),this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1}_layoutBoxInViewport(e,t,i,n){let s=e.top,o=e.top+e.height,r=n.viewportHeight-o,l=e.left;return l+t>n.scrollLeft+n.viewportWidth&&(l=n.scrollLeft+n.viewportWidth-t),l=i,aboveTop:s-i,fitsBelow:r>=i,belowTop:o,left:l}}_layoutHorizontalSegmentInPage(e,t,i,n){var s;let o=Math.max(15,t.left-n),r=Math.min(t.left+t.width+n,e.width-15),l=this._viewDomNode.domNode.ownerDocument,a=l.defaultView,d=t.left+i-(null!==(s=null==a?void 0:a.scrollX)&&void 0!==s?s:0);if(d+n>r){let e=d-(r-n);d-=e,i-=e}if(d=22,v=c+i<=p.height-22;return this._fixedOverflowWidgets?{fitsAbove:_,aboveTop:Math.max(u,22),fitsBelow:v,belowTop:c,left:f}:{fitsAbove:_,aboveTop:r,fitsBelow:v,belowTop:l,left:m}}_prepareRenderWidgetAtExactPositionOverflowing(e){return new e6(e.top,e.left+this._contentLeft)}_getAnchorsCoordinates(e){var t,i;let n=r(this._primaryAnchor.viewPosition,this._affinity,this._lineHeight),s=(null===(t=this._secondaryAnchor.viewPosition)||void 0===t?void 0:t.lineNumber)===(null===(i=this._primaryAnchor.viewPosition)||void 0===i?void 0:i.lineNumber)?this._secondaryAnchor.viewPosition:null,o=r(s,this._affinity,this._lineHeight);return{primary:n,secondary:o};function r(t,i,n){if(!t)return null;let s=e.visibleRangeForPosition(t);if(!s)return null;let o=1===t.column&&3===i?0:s.left,r=e.getVerticalOffsetForLineNumber(t.lineNumber)-e.scrollTop;return new e9(r,o,n)}}_reduceAnchorCoordinates(e,t,i){if(!t)return e;let n=this._context.configuration.options.get(50),s=t.left;return s=se.endLineNumber)&&this.domNode.setMaxWidth(this._maxWidth)}prepareRender(e){this._renderData=this._prepareRenderWidget(e)}render(e){var t;if(!this._renderData||"offViewport"===this._renderData.kind){this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,(null===(t=this._renderData)||void 0===t?void 0:t.kind)==="offViewport"&&this._renderData.preserveFocus?this.domNode.setTop(-1e3):this.domNode.setVisibility("hidden")),"function"==typeof this._actual.afterRender&&te(this._actual.afterRender,this._actual,null);return}this.allowEditorOverflow?(this.domNode.setTop(this._renderData.coordinate.top),this.domNode.setLeft(this._renderData.coordinate.left)):(this.domNode.setTop(this._renderData.coordinate.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.coordinate.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0),"function"==typeof this._actual.afterRender&&te(this._actual.afterRender,this._actual,this._renderData.position)}}class e8{constructor(e,t){this.modelPosition=e,this.viewPosition=t}}class e6{constructor(e,t){this.top=e,this.left=t,this._coordinateBrand=void 0}}class e9{constructor(e,t,i){this.top=e,this.left=t,this.height=i,this._anchorCoordinateBrand=void 0}}function te(e,t,...i){try{return e.call(t,...i)}catch(e){return null}}i(77717);var tt=i(42042);class ti extends eE{constructor(e){super(),this._context=e;let t=this._context.configuration.options,i=t.get(145);this._renderLineHighlight=t.get(96),this._renderLineHighlightOnlyWhenFocus=t.get(97),this._wordWrap=i.isViewportWrapping,this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new em.Y(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let e=!1,t=new Set;for(let e of this._selections)t.add(e.positionLineNumber);let i=Array.from(t);i.sort((e,t)=>e-t),C.fS(this._cursorLineNumbers,i)||(this._cursorLineNumbers=i,e=!0);let n=this._selections.every(e=>e.isEmpty());return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,e=!0),e}onThemeChanged(e){return this._readFromSelections()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._renderLineHighlight=t.get(96),this._renderLineHighlightOnlyWhenFocus=t.get(97),this._wordWrap=i.isViewportWrapping,this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,!0}onCursorStateChanged(e){return this._selections=e.selections,this._readFromSelections()}onFlushed(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollWidthChanged||e.scrollTopChanged}onZonesChanged(e){return!0}onFocusChanged(e){return!!this._renderLineHighlightOnlyWhenFocus&&(this._focused=e.isFocused,!0)}prepareRender(e){if(!this._shouldRenderThis()){this._renderData=null;return}let t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,n=[];for(let e=t;e<=i;e++){let i=e-t;n[i]=""}if(this._wordWrap){let s=this._renderOne(e,!1);for(let e of this._cursorLineNumbers){let o=this._context.viewModel.coordinatesConverter,r=o.convertViewPositionToModelPosition(new G.L(e,1)).lineNumber,l=o.convertModelPositionToViewPosition(new G.L(r,1)).lineNumber,a=o.convertModelPositionToViewPosition(new G.L(r,this._context.viewModel.model.getLineMaxColumn(r))).lineNumber,d=Math.max(l,t),h=Math.min(a,i);for(let e=d;e<=h;e++){let i=e-t;n[i]=s}}}let s=this._renderOne(e,!0);for(let e of this._cursorLineNumbers){if(ei)continue;let o=e-t;n[o]=s}this._renderData=n}render(e,t){if(!this._renderData)return"";let i=t-e;return i>=this._renderData.length?"":this._renderData[i]}_shouldRenderInMargin(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderInContent(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}class tn extends ti{_renderOne(e,t){let i="current-line"+(this._shouldRenderInMargin()?" current-line-both":"")+(t?" current-line-exact":"");return`
    `}_shouldRenderThis(){return this._shouldRenderInContent()}_shouldRenderOther(){return this._shouldRenderInMargin()}}class ts extends ti{_renderOne(e,t){let i="current-line"+(this._shouldRenderInMargin()?" current-line-margin":"")+(this._shouldRenderOther()?" current-line-margin-both":"")+(this._shouldRenderInMargin()&&t?" current-line-exact-margin":"");return`
    `}_shouldRenderThis(){return!0}_shouldRenderOther(){return this._shouldRenderInContent()}}(0,eI.Ic)((e,t)=>{let i=e.getColor(eT.Kh);if(i&&(t.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${i}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${i}; border: none; }`)),!i||i.isTransparent()||e.defines(eT.Mm)){let i=e.getColor(eT.Mm);i&&(t.addRule(`.monaco-editor .view-overlays .current-line-exact { border: 2px solid ${i}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-exact-margin { border: 2px solid ${i}; }`),(0,tt.c3)(e.type)&&(t.addRule(".monaco-editor .view-overlays .current-line-exact { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-exact-margin { border-width: 1px; }")))}}),i(18610);class to extends eE{constructor(e){super(),this._context=e;let t=this._context.configuration.options;this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}prepareRender(e){let t=e.getDecorationsInViewport(),i=[],n=0;for(let e=0,s=t.length;e{if(e.options.zIndext.options.zIndex)return 1;let i=e.options.className,n=t.options.className;return in?1:Q.e.compareRangesUsingStarts(e.range,t.range)});let s=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber,r=[];for(let e=s;e<=o;e++){let t=e-s;r[t]=""}this._renderWholeLineDecorations(e,i,r),this._renderNormalDecorations(e,i,r),this._renderResult=r}_renderWholeLineDecorations(e,t,i){let n=e.visibleRange.startLineNumber,s=e.visibleRange.endLineNumber;for(let e=0,o=t.length;e',l=Math.max(o.range.startLineNumber,n),a=Math.min(o.range.endLineNumber,s);for(let e=l;e<=a;e++){let t=e-n;i[t]+=r}}}_renderNormalDecorations(e,t,i){var n;let s=e.visibleRange.startLineNumber,o=null,r=!1,l=null,a=!1;for(let d=0,h=t.length;d';r[a]+=d}}}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}class tr extends ${constructor(e,t,i,n){super(e);let s=this._context.configuration.options,o=s.get(103),r=s.get(75),l=s.get(40),a=s.get(106),d={listenOnDomNode:i.domNode,className:"editor-scrollable "+(0,eI.m6)(e.theme.type),useShadows:!1,lazyRender:!0,vertical:o.vertical,horizontal:o.horizontal,verticalHasArrows:o.verticalHasArrows,horizontalHasArrows:o.horizontalHasArrows,verticalScrollbarSize:o.verticalScrollbarSize,verticalSliderSize:o.verticalSliderSize,horizontalScrollbarSize:o.horizontalScrollbarSize,horizontalSliderSize:o.horizontalSliderSize,handleMouseWheel:o.handleMouseWheel,alwaysConsumeMouseWheel:o.alwaysConsumeMouseWheel,arrowSize:o.arrowSize,mouseWheelScrollSensitivity:r,fastScrollSensitivity:l,scrollPredominantAxis:a,scrollByPage:o.scrollByPage};this.scrollbar=this._register(new ef.$Z(t.domNode,d,this._context.viewLayout.getScrollable())),q.write(this.scrollbar.getDomNode(),6),this.scrollbarDomNode=(0,V.X)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();let h=(e,t,i)=>{let n={};if(t){let t=e.scrollTop;t&&(n.scrollTop=this._context.viewLayout.getCurrentScrollTop()+t,e.scrollTop=0)}if(i){let t=e.scrollLeft;t&&(n.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+t,e.scrollLeft=0)}this._context.viewModel.viewLayout.setScrollPosition(n,1)};this._register(g.nm(i.domNode,"scroll",e=>h(i.domNode,!0,!0))),this._register(g.nm(t.domNode,"scroll",e=>h(t.domNode,!0,!1))),this._register(g.nm(n.domNode,"scroll",e=>h(n.domNode,!0,!1))),this._register(g.nm(this.scrollbarDomNode.domNode,"scroll",e=>h(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){let e=this._context.configuration.options,t=e.get(145);this.scrollbarDomNode.setLeft(t.contentLeft);let i=e.get(73),n=i.side;"right"===n?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimap.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarPointerDown(e){this.scrollbar.delegateVerticalScrollbarPointerDown(e)}delegateScrollFromMouseWheelEvent(e){this.scrollbar.delegateScrollFromMouseWheelEvent(e)}onConfigurationChanged(e){if(e.hasChanged(103)||e.hasChanged(75)||e.hasChanged(40)){let e=this._context.configuration.options,t=e.get(103),i=e.get(75),n=e.get(40),s=e.get(106),o={vertical:t.vertical,horizontal:t.horizontal,verticalScrollbarSize:t.verticalScrollbarSize,horizontalScrollbarSize:t.horizontalScrollbarSize,scrollByPage:t.scrollByPage,handleMouseWheel:t.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:n,scrollPredominantAxis:s};this.scrollbar.updateOptions(o)}return e.hasChanged(145)&&this._setLayout(),!0}onScrollChanged(e){return!0}onThemeChanged(e){return this.scrollbar.updateClassName("editor-scrollable "+(0,eI.m6)(this._context.theme.type)),!0}prepareRender(e){}render(e){this.scrollbar.renderNow()}}i(2713);var tl=i(41407);class ta{constructor(e,t,i,n,s){this.startLineNumber=e,this.endLineNumber=t,this.className=i,this.tooltip=n,this._decorationToRenderBrand=void 0,this.zIndex=null!=s?s:0}}class td{constructor(e,t,i){this.className=e,this.zIndex=t,this.tooltip=i}}class th{constructor(){this.decorations=[]}add(e){this.decorations.push(e)}getDecorations(){return this.decorations}}class tu extends eE{_render(e,t,i){let n=[];for(let i=e;i<=t;i++){let t=i-e;n[t]=new th}if(0===i.length)return n;i.sort((e,t)=>e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.classNamen)continue;let l=Math.max(o,i),a=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new G.L(l,0)),d=this._context.viewModel.glyphLanes.getLanesAtLine(a.lineNumber).indexOf(e.preference.lane);t.push(new tp(l,d,e.preference.zIndex,e))}}_collectSortedGlyphRenderRequests(e){let t=[];return this._collectDecorationBasedGlyphRenderRequest(e,t),this._collectWidgetBasedGlyphRenderRequest(e,t),t.sort((e,t)=>{if(e.lineNumber===t.lineNumber){if(e.laneIndex===t.laneIndex)return e.zIndex===t.zIndex?t.type===e.type?0===e.type&&0===t.type?e.className0;){let e=t.peek();if(!e)break;let n=t.takeWhile(t=>t.lineNumber===e.lineNumber&&t.laneIndex===e.laneIndex);if(!n||0===n.length)break;let s=n[0];if(0===s.type){let e=[];for(let t of n){if(t.zIndex!==s.zIndex||t.type!==s.type)break;(0===e.length||e[e.length-1]!==t.className)&&e.push(t.className)}i.push(s.accept(e.join(" ")))}else s.widget.renderInfo={lineNumber:s.lineNumber,laneIndex:s.laneIndex}}this._decorationGlyphsToRender=i}render(e){if(!this._glyphMargin){for(let e of Object.values(this._widgets))e.domNode.setDisplay("none");for(;this._managedDomNodes.length>0;){let e=this._managedDomNodes.pop();null==e||e.domNode.remove()}return}let t=Math.round(this._glyphMarginWidth/this._glyphMarginDecorationLaneCount);for(let i of Object.values(this._widgets))if(i.renderInfo){let n=e.viewportData.relativeVerticalOffset[i.renderInfo.lineNumber-e.viewportData.startLineNumber],s=this._glyphMarginLeft+i.renderInfo.laneIndex*this._lineHeight;i.domNode.setDisplay("block"),i.domNode.setTop(n),i.domNode.setLeft(s),i.domNode.setWidth(t),i.domNode.setHeight(this._lineHeight)}else i.domNode.setDisplay("none");for(let i=0;ithis._decorationGlyphsToRender.length;){let e=this._managedDomNodes.pop();null==e||e.domNode.remove()}}}class tg{constructor(e,t,i,n){this.lineNumber=e,this.laneIndex=t,this.zIndex=i,this.className=n,this.type=0}accept(e){return new tm(this.lineNumber,this.laneIndex,e)}}class tp{constructor(e,t,i,n){this.lineNumber=e,this.laneIndex=t,this.zIndex=i,this.widget=n,this.type=1}}class tm{constructor(e,t,i){this.lineNumber=e,this.laneIndex=t,this.combinedClassName=i}}i(69082);var tf=i(24162),t_=i(1957),tv=i(98965);class tb extends eE{constructor(e){super(),this._context=e,this._primaryPosition=null;let t=this._context.configuration.options,i=t.get(146),n=t.get(50);this._spaceWidth=n.spaceWidth,this._maxIndentLeft=-1===i.wrappingColumn?-1:i.wrappingColumn*n.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(16),this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(146),n=t.get(50);return this._spaceWidth=n.spaceWidth,this._maxIndentLeft=-1===i.wrappingColumn?-1:i.wrappingColumn*n.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(16),!0}onCursorStateChanged(e){var t;let i=e.selections[0],n=i.getPosition();return(null===(t=this._primaryPosition)||void 0===t||!t.equals(n))&&(this._primaryPosition=n,!0)}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onLanguageConfigurationChanged(e){return!0}prepareRender(e){var t,i,n,s;if(!this._bracketPairGuideOptions.indentation&&!1===this._bracketPairGuideOptions.bracketPairs){this._renderResult=null;return}let o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,l=e.scrollWidth,a=this._primaryPosition,d=this.getGuidesByLine(o,Math.min(r+1,this._context.viewModel.getLineCount()),a),h=[];for(let a=o;a<=r;a++){let r=a-o,u=d[r],c="",g=null!==(i=null===(t=e.visibleRangeForPosition(new G.L(a,1)))||void 0===t?void 0:t.left)&&void 0!==i?i:0;for(let t of u){let i=-1===t.column?g+(t.visibleColumn-1)*this._spaceWidth:e.visibleRangeForPosition(new G.L(a,t.column)).left;if(i>l||this._maxIndentLeft>0&&i>this._maxIndentLeft)break;let o=t.horizontalLine?t.horizontalLine.top?"horizontal-top":"horizontal-bottom":"vertical",r=t.horizontalLine?(null!==(s=null===(n=e.visibleRangeForPosition(new G.L(a,t.horizontalLine.endColumn)))||void 0===n?void 0:n.left)&&void 0!==s?s:i+this._spaceWidth)-i:this._spaceWidth;c+=`
    `}h[r]=c}this._renderResult=h}getGuidesByLine(e,t,i){let n=!1!==this._bracketPairGuideOptions.bracketPairs?this._context.viewModel.getBracketGuidesInRangeByLine(e,t,i,{highlightActive:this._bracketPairGuideOptions.highlightActiveBracketPair,horizontalGuides:!0===this._bracketPairGuideOptions.bracketPairsHorizontal?tv.s6.Enabled:"active"===this._bracketPairGuideOptions.bracketPairsHorizontal?tv.s6.EnabledForActive:tv.s6.Disabled,includeInactive:!0===this._bracketPairGuideOptions.bracketPairs}):null,s=this._bracketPairGuideOptions.indentation?this._context.viewModel.getLinesIndentGuides(e,t):null,o=0,r=0,l=0;if(!1!==this._bracketPairGuideOptions.highlightActiveIndentation&&i){let n=this._context.viewModel.getActiveIndentGuide(i.lineNumber,e,t);o=n.startLineNumber,r=n.endLineNumber,l=n.indent}let{indentSize:a}=this._context.viewModel.model.getOptions(),d=[];for(let i=e;i<=t;i++){let t=[];d.push(t);let h=n?n[i-e]:[],u=new C.H9(h),c=s?s[i-e]:0;for(let e=1;e<=c;e++){let n=(e-1)*a+1,s=("always"===this._bracketPairGuideOptions.highlightActiveIndentation||0===h.length)&&o<=i&&i<=r&&e===l;t.push(...u.takeWhile(e=>e.visibleColumn!0)||[])}return d}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}function tC(e){if(!(e&&e.isTransparent()))return e}(0,eI.Ic)((e,t)=>{let i=[{bracketColor:eT.zJ,guideColor:eT.oV,guideColorActive:eT.Qb},{bracketColor:eT.Vs,guideColor:eT.m$,guideColorActive:eT.m3},{bracketColor:eT.CE,guideColor:eT.DS,guideColorActive:eT.To},{bracketColor:eT.UP,guideColor:eT.lS,guideColorActive:eT.L7},{bracketColor:eT.r0,guideColor:eT.Jn,guideColorActive:eT.HV},{bracketColor:eT.m1,guideColor:eT.YF,guideColorActive:eT.f9}],n=new t_.W,s=[{indentColor:eT.gS,indentColorActive:eT.qe},{indentColor:eT.Tf,indentColorActive:eT.Xy},{indentColor:eT.H_,indentColorActive:eT.cK},{indentColor:eT.h1,indentColorActive:eT.N8},{indentColor:eT.vP,indentColorActive:eT.zd},{indentColor:eT.e9,indentColorActive:eT.ll}],o=i.map(t=>{var i,n;let s=e.getColor(t.bracketColor),o=e.getColor(t.guideColor),r=e.getColor(t.guideColorActive),l=tC(null!==(i=tC(o))&&void 0!==i?i:null==s?void 0:s.transparent(.3)),a=tC(null!==(n=tC(r))&&void 0!==n?n:s);if(l&&a)return{guideColor:l,guideColorActive:a}}).filter(tf.$K),r=s.map(t=>{let i=e.getColor(t.indentColor),n=e.getColor(t.indentColorActive),s=tC(i),o=tC(n);if(s&&o)return{indentColor:s,indentColorActive:o}}).filter(tf.$K);if(o.length>0){for(let e=0;e<30;e++){let i=o[e%o.length];t.addRule(`.monaco-editor .${n.getInlineClassNameOfLevel(e).replace(/ /g,".")} { --guide-color: ${i.guideColor}; --guide-color-active: ${i.guideColorActive}; }`)}t.addRule(".monaco-editor .vertical { box-shadow: 1px 0 0 0 var(--guide-color) inset; }"),t.addRule(".monaco-editor .horizontal-top { border-top: 1px solid var(--guide-color); }"),t.addRule(".monaco-editor .horizontal-bottom { border-bottom: 1px solid var(--guide-color); }"),t.addRule(`.monaco-editor .vertical.${n.activeClassName} { box-shadow: 1px 0 0 0 var(--guide-color-active) inset; }`),t.addRule(`.monaco-editor .horizontal-top.${n.activeClassName} { border-top: 1px solid var(--guide-color-active); }`),t.addRule(`.monaco-editor .horizontal-bottom.${n.activeClassName} { border-bottom: 1px solid var(--guide-color-active); }`)}if(r.length>0){for(let e=0;e<30;e++){let i=r[e%r.length];t.addRule(`.monaco-editor .lines-content .core-guide-indent.lvl-${e} { --indent-color: ${i.indentColor}; --indent-color-active: ${i.indentColorActive}; }`)}t.addRule(".monaco-editor .lines-content .core-guide-indent { box-shadow: 1px 0 0 0 var(--indent-color) inset; }"),t.addRule(".monaco-editor .lines-content .core-guide-indent.indent-active { box-shadow: 1px 0 0 0 var(--indent-color-active) inset; }")}});var tw=i(44532);i(33074);class ty{get didDomLayout(){return this._didDomLayout}readClientRect(){if(!this._clientRectRead){this._clientRectRead=!0;let e=this._domNode.getBoundingClientRect();this.markDidDomLayout(),this._clientRectDeltaLeft=e.left,this._clientRectScale=e.width/this._domNode.offsetWidth}}get clientRectDeltaLeft(){return this._clientRectRead||this.readClientRect(),this._clientRectDeltaLeft}get clientRectScale(){return this._clientRectRead||this.readClientRect(),this._clientRectScale}constructor(e,t){this._domNode=e,this.endNode=t,this._didDomLayout=!1,this._clientRectDeltaLeft=0,this._clientRectScale=1,this._clientRectRead=!1}markDidDomLayout(){this._didDomLayout=!0}}class tS{constructor(){this._currentVisibleRange=new Q.e(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(e){this._currentVisibleRange=e}}class tL{constructor(e,t,i,n,s,o,r){this.minimalReveal=e,this.lineNumber=t,this.startColumn=i,this.endColumn=n,this.startScrollTop=s,this.stopScrollTop=o,this.scrollType=r,this.type="range",this.minLineNumber=t,this.maxLineNumber=t}}class tk{constructor(e,t,i,n,s){this.minimalReveal=e,this.selections=t,this.startScrollTop=i,this.stopScrollTop=n,this.scrollType=s,this.type="selections";let o=t[0].startLineNumber,r=t[0].endLineNumber;for(let e=1,i=t.length;e{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new tw.pY(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new tS,this._horizontalRevealRequest=null,this._stickyScrollEnabled=n.get(115).enabled,this._maxNumberStickyLines=n.get(115).maxLineCount}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new j.Nt(this._viewLineOptions)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(146)&&(this._maxLineWidth=0);let t=this._context.configuration.options,i=t.get(50),n=t.get(146);return this._lineHeight=t.get(67),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._isViewportWrapping=n.isViewportWrapping,this._revealHorizontalRightPadding=t.get(100),this._cursorSurroundingLines=t.get(29),this._cursorSurroundingLinesStyle=t.get(30),this._canUseLayerHinting=!t.get(32),this._stickyScrollEnabled=t.get(115).enabled,this._maxNumberStickyLines=t.get(115).maxLineCount,(0,v.N)(this.domNode,i),this._onOptionsMaybeChanged(),e.hasChanged(145)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){let e=this._context.configuration,t=new j.ob(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;let e=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let t=e;t<=i;t++){let e=this._visibleLines.getVisibleLine(t);e.onOptionsChanged(this._viewLineOptions)}return!0}return!1}onCursorStateChanged(e){let t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber(),n=!1;for(let e=t;e<=i;e++)n=this._visibleLines.getVisibleLine(e).onSelectionChanged()||n;return n}onDecorationsChanged(e){{let e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let i=e;i<=t;i++)this._visibleLines.getVisibleLine(i).onDecorationsChanged()}return!0}onFlushed(e){let t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onRevealRangeRequest(e){let t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.minimalReveal,e.range,e.selections,e.verticalType);if(-1===t)return!1;let i=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range&&e.range.startLineNumber!==e.range.endLineNumber?i={scrollTop:i.scrollTop,scrollLeft:0}:e.range?this._horizontalRevealRequest=new tL(e.minimalReveal,e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),i.scrollTop,e.scrollType):e.selections&&e.selections.length>0&&(this._horizontalRevealRequest=new tk(e.minimalReveal,e.selections,this._context.viewLayout.getCurrentScrollTop(),i.scrollTop,e.scrollType)):this._horizontalRevealRequest=null;let n=Math.abs(this._context.viewLayout.getCurrentScrollTop()-i.scrollTop),s=n<=this._lineHeight?1:e.scrollType;return this._context.viewModel.viewLayout.setScrollPosition(i,s),!0}onScrollChanged(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){let t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),i=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTopi)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._context.viewModel.viewLayout.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(e)}onThemeChanged(e){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(e,t){let i=this._getViewLineDomNode(e);if(null===i)return null;let n=this._getLineNumberFor(i);if(-1===n||n<1||n>this._context.viewModel.getLineCount())return null;if(1===this._context.viewModel.getLineMaxColumn(n))return new G.L(n,1);let s=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();if(no)return null;let r=this._visibleLines.getVisibleLine(n).getColumnOfNodeOffset(e,t),l=this._context.viewModel.getLineMinColumn(n);return ri)return -1;let n=new ty(this.domNode.domNode,this._textRangeRestingSpot),s=this._visibleLines.getVisibleLine(e).getWidth(n);return this._updateLineWidthsSlowIfDomDidLayout(n),s}linesVisibleRangesForRange(e,t){if(this.shouldRender())return null;let i=e.endLineNumber,n=Q.e.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!n)return null;let s=[],o=0,r=new ty(this.domNode.domNode,this._textRangeRestingSpot),l=0;t&&(l=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new G.L(n.startLineNumber,1)).lineNumber);let a=this._visibleLines.getStartLineNumber(),d=this._visibleLines.getEndLineNumber();for(let e=n.startLineNumber;e<=n.endLineNumber;e++){if(ed)continue;let h=e===n.startLineNumber?n.startColumn:1,u=e!==n.endLineNumber,c=u?this._context.viewModel.getLineMaxColumn(e):n.endColumn,g=this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(e,h,c,r);if(g){if(t&&ethis._visibleLines.getEndLineNumber())return null;let n=new ty(this.domNode.domNode,this._textRangeRestingSpot),s=this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(e,t,i,n);return this._updateLineWidthsSlowIfDomDidLayout(n),s}visibleRangeForPosition(e){let t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new e$.D4(t.outsideRenderedLine,t.ranges[0].left):null}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidthsSlowIfDomDidLayout(e){!e.didDomLayout||this._asyncUpdateLineWidths.isScheduled()||(this._asyncUpdateLineWidths.cancel(),this._updateLineWidthsSlow())}_updateLineWidths(e){let t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber(),n=1,s=!0;for(let o=t;o<=i;o++){let t=this._visibleLines.getVisibleLine(o);if(e&&!t.getWidthIsFast()){s=!1;continue}n=Math.max(n,t.getWidth(null))}return s&&1===t&&i===this._context.viewModel.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(n),s}_checkMonospaceFontAssumptions(){let e=-1,t=-1,i=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let s=i;s<=n;s++){let i=this._visibleLines.getVisibleLine(s);if(i.needsMonospaceFontCheck()){let n=i.getWidth(null);n>t&&(t=n,e=s)}}if(-1!==e&&!this._visibleLines.getVisibleLine(e).monospaceAssumptionsAreValid())for(let e=i;e<=n;e++){let t=this._visibleLines.getVisibleLine(e);t.onMonospaceAssumptionsInvalidated()}}prepareRender(){throw Error("Not supported")}render(){throw Error("Not supported")}renderText(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){let t=this._horizontalRevealRequest;if(e.startLineNumber<=t.minLineNumber&&t.maxLineNumber<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();let e=this._computeScrollLeftToReveal(t);e&&(this._isViewportWrapping||this._ensureMaxLineWidth(e.maxHorizontalOffset),this._context.viewModel.viewLayout.setScrollPosition({scrollLeft:e.scrollLeft},t.scrollType))}}if(this._updateLineWidthsFast()?this._asyncUpdateLineWidths.cancel():this._asyncUpdateLineWidths.schedule(),y.IJ&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){let e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let i=e;i<=t;i++){let e=this._visibleLines.getVisibleLine(i);if(e.needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");let t=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-t),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(e){let t=Math.ceil(e);this._maxLineWidth0){let e=s[0].startLineNumber,t=s[0].endLineNumber;for(let i=1,n=s.length;iu){if(!r)return -1;d=l}else if(5===o||6===o){if(6===o&&h<=l&&a<=c)d=h;else{let e=Math.max(5*this._lineHeight,.2*u),t=l-e,i=a-u;d=Math.max(i,t)}}else if(1===o||2===o){if(2===o&&h<=l&&a<=c)d=h;else{let e=(l+a)/2;d=Math.max(0,e-u/2)}}else d=this._computeMinimumScrolling(h,c,l,a,3===o,4===o);return d}_computeScrollLeftToReveal(e){let t=this._context.viewLayout.getCurrentViewport(),i=this._context.configuration.options.get(145),n=t.left,s=n+t.width-i.verticalScrollbarWidth,o=1073741824,r=0;if("range"===e.type){let t=this._visibleRangesForLineRange(e.lineNumber,e.startColumn,e.endColumn);if(!t)return null;for(let e of t.ranges)o=Math.min(o,Math.round(e.left)),r=Math.max(r,Math.round(e.left+e.width))}else for(let t of e.selections){if(t.startLineNumber!==t.endLineNumber)return null;let e=this._visibleRangesForLineRange(t.startLineNumber,t.startColumn,t.endColumn);if(!e)return null;for(let t of e.ranges)o=Math.min(o,Math.round(t.left)),r=Math.max(r,Math.round(t.left+t.width))}if(e.minimalReveal||(o=Math.max(0,o-tD.HORIZONTAL_EXTRA_PX),r+=this._revealHorizontalRightPadding),"selections"===e.type&&r-o>t.width)return null;let l=this._computeMinimumScrolling(n,s,o,r);return{scrollLeft:l,maxHorizontalOffset:r}}_computeMinimumScrolling(e,t,i,n,s,o){e|=0,t|=0,i|=0,n|=0,s=!!s,o=!!o;let r=t-e,l=n-i;return!(lt?Math.max(0,n-r):e}}tD.HORIZONTAL_EXTRA_PX=30,i(85448);class tx extends tu{constructor(e){super(),this._context=e;let t=this._context.configuration.options,i=t.get(145);this._decorationsLeft=i.decorationsLeft,this._decorationsWidth=i.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._decorationsLeft=i.decorationsLeft,this._decorationsWidth=i.decorationsWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){var t,i;let n=e.getDecorationsInViewport(),s=[],o=0;for(let e=0,r=n.length;e',l=[];for(let e=t;e<=i;e++){let i=e-t,s=n[i].getDecorations(),o="";for(let e of s){let t='
    ';s[i]=r}this._renderResult=s}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}i(71191);var tE=i(94278);class tI{constructor(e,t,i,n){this._rgba8Brand=void 0,this.r=tI._clamp(e),this.g=tI._clamp(t),this.b=tI._clamp(i),this.a=tI._clamp(n)}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}static _clamp(e){return e<0?0:e>255?255:0|e}}tI.Empty=new tI(0,0,0,0);class tT extends f.JT{static getInstance(){return this._INSTANCE||(this._INSTANCE=(0,f.dk)(new tT)),this._INSTANCE}constructor(){super(),this._onDidChange=new m.Q5,this.onDidChange=this._onDidChange.event,this._updateColorMap(),this._register(eO.RW.onDidChange(e=>{e.changedColorMap&&this._updateColorMap()}))}_updateColorMap(){let e=eO.RW.getColorMap();if(!e){this._colors=[tI.Empty],this._backgroundIsLight=!0;return}this._colors=[tI.Empty];for(let t=1;t=.5,this._onDidChange.fire(void 0)}getColor(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]}backgroundIsLight(){return this._backgroundIsLight}}tT._INSTANCE=null;var tM=i(20910),tR=i(43616);let tA=(()=>{let e=[];for(let t=32;t<=126;t++)e.push(t);return e.push(65533),e})(),tP=(e,t)=>(e-=32)<0||e>96?t<=2?(e+96)%96:95:e;var tO=i(91763);class tF{constructor(e,t){this.scale=t,this._minimapCharRendererBrand=void 0,this.charDataNormal=tF.soften(e,.8),this.charDataLight=tF.soften(e,50/60)}static soften(e,t){let i=new Uint8ClampedArray(e.length);for(let n=0,s=e.length;ne.width||i+g>e.height){console.warn("bad render request outside image data");return}let p=d?this.charDataLight:this.charDataNormal,m=tP(n,a),f=4*e.width,_=r.r,v=r.g,b=r.b,C=s.r-_,w=s.g-v,y=s.b-b,S=Math.max(o,l),L=e.data,k=m*u*c,D=i*f+4*t;for(let e=0;ee.width||i+h>e.height){console.warn("bad render request outside image data");return}let u=4*e.width,c=.5*(s/255),g=o.r,p=o.g,m=o.b,f=n.r-g,_=n.g-p,v=n.b-m,b=g+f*c,C=p+_*c,w=m+v*c,y=Math.max(s,r),S=e.data,L=i*u+4*t;for(let e=0;e{let t=new Uint8ClampedArray(e.length/2);for(let i=0;i>1]=tW[e[i]]<<4|15&tW[e[i+1]];return t},tV={1:(0,tB.M)(()=>tH("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:(0,tB.M)(()=>tH("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))};class tz{static create(e,t){let i;return this.lastCreated&&e===this.lastCreated.scale&&t===this.lastFontFamily?this.lastCreated:(i=tV[e]?new tF(tV[e](),e):tz.createFromSampleData(tz.createSampleData(t).data,e),this.lastFontFamily=t,this.lastCreated=i,i)}static createSampleData(e){let t=document.createElement("canvas"),i=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",i.fillStyle="#ffffff",i.font=`bold 16px ${e}`,i.textBaseline="middle";let n=0;for(let e of tA)i.fillText(String.fromCharCode(e),n,8),n+=10;return i.getImageData(0,0,960,16)}static createFromSampleData(e,t){if(61440!==e.length)throw Error("Unexpected source in MinimapCharRenderer");let i=tz._downsample(e,t);return new tF(i,t)}static _downsampleChar(e,t,i,n,s){let o=1*s,r=2*s,l=n,a=0;for(let n=0;n0){let e=255/l;for(let t=0;ttz.create(this.fontScale,l.fontFamily)),this.defaultBackgroundColor=i.getColor(2),this.backgroundColor=t$._getMinimapBackground(t,this.defaultBackgroundColor),this.foregroundAlpha=t$._getMinimapForegroundOpacity(t)}static _getMinimapBackground(e,t){let i=e.getColor(tR.kVY);return i?new tI(i.rgba.r,i.rgba.g,i.rgba.b,Math.round(255*i.rgba.a)):t}static _getMinimapForegroundOpacity(e){let t=e.getColor(tR.Itd);return t?tI._clamp(Math.round(255*t.rgba.a)):255}static _getSectionHeaderColor(e,t){let i=e.getColor(tR.NOs);return i?new tI(i.rgba.r,i.rgba.g,i.rgba.b,Math.round(255*i.rgba.a)):t}equals(e){return this.renderMinimap===e.renderMinimap&&this.size===e.size&&this.minimapHeightIsEditorHeight===e.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.paddingTop===e.paddingTop&&this.paddingBottom===e.paddingBottom&&this.showSlider===e.showSlider&&this.autohide===e.autohide&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight&&this.isSampling===e.isSampling&&this.editorHeight===e.editorHeight&&this.fontScale===e.fontScale&&this.minimapLineHeight===e.minimapLineHeight&&this.minimapCharWidth===e.minimapCharWidth&&this.sectionHeaderFontSize===e.sectionHeaderFontSize&&this.sectionHeaderLetterSpacing===e.sectionHeaderLetterSpacing&&this.defaultBackgroundColor&&this.defaultBackgroundColor.equals(e.defaultBackgroundColor)&&this.backgroundColor&&this.backgroundColor.equals(e.backgroundColor)&&this.foregroundAlpha===e.foregroundAlpha}}class tq{constructor(e,t,i,n,s,o,r,l,a){this.scrollTop=e,this.scrollHeight=t,this.sliderNeeded=i,this._computedSliderRatio=n,this.sliderTop=s,this.sliderHeight=o,this.topPaddingLineCount=r,this.startLineNumber=l,this.endLineNumber=a}getDesiredScrollTopFromDelta(e){return Math.round(this.scrollTop+e/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)}intersectWithViewport(e){let t=Math.max(this.startLineNumber,e.startLineNumber),i=Math.min(this.endLineNumber,e.endLineNumber);return t>i?null:[t,i]}getYForLineNumber(e,t){return+(e-this.startLineNumber+this.topPaddingLineCount)*t}static create(e,t,i,n,s,o,r,l,a,d,h){let u,c;let g=e.pixelRatio,p=e.minimapLineHeight,m=Math.floor(e.canvasInnerHeight/p),f=e.lineHeight;if(e.minimapHeightIsEditorHeight){let t=l*e.lineHeight+e.paddingTop+e.paddingBottom;e.scrollBeyondLastLine&&(t+=Math.max(0,s-e.lineHeight-e.paddingBottom));let i=Math.max(1,Math.floor(s*s/t)),n=Math.max(0,e.minimapHeight-i),o=n/(d-s),h=a*o,u=Math.floor(e.canvasInnerHeight/e.minimapLineHeight),c=Math.floor(e.paddingTop/e.lineHeight);return new tq(a,d,n>0,o,h,i,c,1,Math.min(r,u))}u=o&&i!==r?Math.floor((i-t+1)*p/g):Math.floor(s/f*p/g);let _=Math.floor(e.paddingTop/f),v=Math.floor(e.paddingBottom/f);e.scrollBeyondLastLine&&(v=Math.max(v,s/f-1)),c=v>0?(_+r+v-s/f-1)*p/g:Math.max(0,(_+r)*p/g-u),c=Math.min(e.minimapHeight-u,c);let b=c/(d-s),C=a*b;if(m>=_+r+v){let e=c>0;return new tq(a,d,e,b,C,u,_,1,r)}{let i,s;let o=Math.max(1,Math.floor((t>1?t+_:Math.max(1,a/f))-C*g/p));o<_?(i=_-o+1,o=1):(i=0,o=Math.max(1,o-_)),h&&h.scrollHeight===d&&(h.scrollTop>a&&(o=Math.min(o,h.startLineNumber),i=Math.max(i,h.topPaddingLineCount)),h.scrollTop=e.paddingTop?(t-o+i+c)*p/g:a/e.paddingTop*(i+c)*p/g,new tq(a,d,!0,b,s,u,i,o,l)}}}class tj{constructor(e){this.dy=e}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}tj.INVALID=new tj(-1);class tG{constructor(e,t,i){this.renderedLayout=e,this._imageData=t,this._renderedLines=new eZ(()=>tj.INVALID),this._renderedLines._set(e.startLineNumber,i)}linesEquals(e){if(!this.scrollEquals(e))return!1;let t=this._renderedLines._get(),i=t.lines;for(let e=0,t=i.length;e1){for(let t=0,i=n-1;t0&&this.minimapLines[i-1]>=e;)i--;let n=this.modelLineToMinimapLine(t)-1;for(;n+1t)return null}return[i+1,n+1]}decorationLineRangeToMinimapLineRange(e,t){let i=this.modelLineToMinimapLine(e),n=this.modelLineToMinimapLine(t);return e!==t&&n===i&&(n===this.minimapLines.length?i>1&&i--:n++),[i,n]}onLinesDeleted(e){let t=e.toLineNumber-e.fromLineNumber+1,i=this.minimapLines.length,n=0;for(let s=this.minimapLines.length-1;s>=0&&!(this.minimapLines[s]=0&&!(this.minimapLines[i]0,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,viewportStartLineNumber:t,viewportEndLineNumber:i,viewportStartLineNumberVerticalOffset:e.getVerticalOffsetForLineNumber(t),scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,viewportWidth:e.viewportWidth,viewportHeight:e.viewportHeight};this._actual.render(n)}_recreateLineSampling(){this._minimapSelections=null;let e=!!this._samplingState,[t,i]=tZ.compute(this.options,this._context.viewModel.getLineCount(),this._samplingState);if(this._samplingState=t,e&&this._samplingState)for(let e of i)switch(e.type){case"deleted":this._actual.onLinesDeleted(e.deleteFromLineNumber,e.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(e.insertFromLineNumber,e.insertToLineNumber);break;case"flush":this._actual.onFlushed()}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.viewModel.getLineCount()}getRealLineCount(){return this._context.viewModel.getLineCount()}getLineContent(e){return this._samplingState?this._context.viewModel.getLineContent(this._samplingState.minimapLines[e-1]):this._context.viewModel.getLineContent(e)}getLineMaxColumn(e){return this._samplingState?this._context.viewModel.getLineMaxColumn(this._samplingState.minimapLines[e-1]):this._context.viewModel.getLineMaxColumn(e)}getMinimapLinesRenderingData(e,t,i){if(this._samplingState){let n=[];for(let s=0,o=t-e+1;s{var t;return!(null===(t=e.options.minimap)||void 0===t?void 0:t.sectionHeaderStyle)});if(this._samplingState){let e=[];for(let t of i){if(!t.options.minimap)continue;let i=t.range,n=this._samplingState.modelLineToMinimapLine(i.startLineNumber),s=this._samplingState.modelLineToMinimapLine(i.endLineNumber);e.push(new tM.$l(new Q.e(n,i.startColumn,s,i.endColumn),t.options))}return e}return i}getSectionHeaderDecorationsInViewport(e,t){let i=this.options.minimapLineHeight,n=this.options.sectionHeaderFontSize;return e=Math.floor(Math.max(1,e-n/i)),this._getMinimapDecorationsInViewport(e,t).filter(e=>{var t;return!!(null===(t=e.options.minimap)||void 0===t?void 0:t.sectionHeaderStyle)})}_getMinimapDecorationsInViewport(e,t){let i;if(this._samplingState){let n=this._samplingState.minimapLines[e-1],s=this._samplingState.minimapLines[t-1];i=new Q.e(n,1,s,this._context.viewModel.getLineMaxColumn(s))}else i=new Q.e(e,1,t,this._context.viewModel.getLineMaxColumn(t));return this._context.viewModel.getMinimapDecorationsInRange(i)}getSectionHeaderText(e,t){var i;let n=null===(i=e.options.minimap)||void 0===i?void 0:i.sectionHeaderText;if(!n)return null;let s=this._sectionHeaderCache.get(n);if(s)return s;let o=t(n);return this._sectionHeaderCache.set(n,o),o}getOptions(){return this._context.viewModel.model.getOptions()}revealLineNumber(e){this._samplingState&&(e=this._samplingState.minimapLines[e-1]),this._context.viewModel.revealRange("mouse",!1,new Q.e(e,1,e,1),1,0)}setScrollTop(e){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:e},1)}}class tJ extends f.JT{constructor(e,t){super(),this._renderDecorations=!1,this._gestureInProgress=!1,this._theme=e,this._model=t,this._lastRenderData=null,this._buffers=null,this._selectionColor=this._theme.getColor(tR.ov3),this._domNode=(0,V.X)(document.createElement("div")),q.write(this._domNode,9),this._domNode.setClassName(this._getMinimapDomNodeClassName()),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._shadow=(0,V.X)(document.createElement("div")),this._shadow.setClassName("minimap-shadow-hidden"),this._domNode.appendChild(this._shadow),this._canvas=(0,V.X)(document.createElement("canvas")),this._canvas.setPosition("absolute"),this._canvas.setLeft(0),this._domNode.appendChild(this._canvas),this._decorationsCanvas=(0,V.X)(document.createElement("canvas")),this._decorationsCanvas.setPosition("absolute"),this._decorationsCanvas.setClassName("minimap-decorations-layer"),this._decorationsCanvas.setLeft(0),this._domNode.appendChild(this._decorationsCanvas),this._slider=(0,V.X)(document.createElement("div")),this._slider.setPosition("absolute"),this._slider.setClassName("minimap-slider"),this._slider.setLayerHinting(!0),this._slider.setContain("strict"),this._domNode.appendChild(this._slider),this._sliderHorizontal=(0,V.X)(document.createElement("div")),this._sliderHorizontal.setPosition("absolute"),this._sliderHorizontal.setClassName("minimap-slider-horizontal"),this._slider.appendChild(this._sliderHorizontal),this._applyLayout(),this._pointerDownListener=g.mu(this._domNode.domNode,g.tw.POINTER_DOWN,e=>{e.preventDefault();let t=this._model.options.renderMinimap;if(0===t||!this._lastRenderData)return;if("proportional"!==this._model.options.size){if(0===e.button&&this._lastRenderData){let t=g.i(this._slider.domNode),i=t.top+t.height/2;this._startSliderDragging(e,i,this._lastRenderData.renderedLayout)}return}let i=this._model.options.minimapLineHeight,n=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*e.offsetY,s=Math.floor(n/i)+this._lastRenderData.renderedLayout.startLineNumber-this._lastRenderData.renderedLayout.topPaddingLineCount;s=Math.min(s,this._model.getLineCount()),this._model.revealLineNumber(s)}),this._sliderPointerMoveMonitor=new tE.C,this._sliderPointerDownListener=g.mu(this._slider.domNode,g.tw.POINTER_DOWN,e=>{e.preventDefault(),e.stopPropagation(),0===e.button&&this._lastRenderData&&this._startSliderDragging(e,e.pageY,this._lastRenderData.renderedLayout)}),this._gestureDisposable=ec.o.addTarget(this._domNode.domNode),this._sliderTouchStartListener=g.nm(this._domNode.domNode,ec.t.Start,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(e))},{passive:!1}),this._sliderTouchMoveListener=g.nm(this._domNode.domNode,ec.t.Change,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(e)},{passive:!1}),this._sliderTouchEndListener=g.mu(this._domNode.domNode,ec.t.End,e=>{e.preventDefault(),e.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(e,t,i){if(!e.target||!(e.target instanceof Element))return;let n=e.pageX;this._slider.toggleClassName("active",!0);let s=(e,s)=>{let o=g.i(this._domNode.domNode),r=Math.min(Math.abs(s-n),Math.abs(s-o.left),Math.abs(s-o.left-o.width));if(y.ED&&r>140){this._model.setScrollTop(i.scrollTop);return}this._model.setScrollTop(i.getDesiredScrollTopFromDelta(e-t))};e.pageY!==t&&s(e.pageY,n),this._sliderPointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>s(e.pageY,e.pageX),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(e){let t=this._domNode.domNode.getBoundingClientRect().top,i=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._model.setScrollTop(i)}dispose(){this._pointerDownListener.dispose(),this._sliderPointerMoveMonitor.dispose(),this._sliderPointerDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){let e=["minimap"];return"always"===this._model.options.showSlider?e.push("slider-always"):e.push("slider-mouseover"),this._model.options.autohide&&e.push("autohide"),e.join(" ")}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return!this._buffers&&this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new tQ(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(e,t){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e,t)}onLinesDeleted(e,t){var i;return null===(i=this._lastRenderData)||void 0===i||i.onLinesDeleted(e,t),!0}onLinesInserted(e,t){var i;return null===(i=this._lastRenderData)||void 0===i||i.onLinesInserted(e,t),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(tR.ov3),this._renderDecorations=!0,!0}onTokensChanged(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(e){let t=this._model.options.renderMinimap;if(0===t){this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),this._sliderHorizontal.setHeight(0);return}e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");let i=tq.create(this._model.options,e.viewportStartLineNumber,e.viewportEndLineNumber,e.viewportStartLineNumberVerticalOffset,e.viewportHeight,e.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(i.sliderNeeded?"block":"none"),this._slider.setTop(i.sliderTop),this._slider.setHeight(i.sliderHeight),this._sliderHorizontal.setLeft(0),this._sliderHorizontal.setWidth(this._model.options.minimapWidth),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(i.sliderHeight),this.renderDecorations(i),this._lastRenderData=this.renderLines(i)}renderDecorations(e){if(this._renderDecorations){this._renderDecorations=!1;let t=this._model.getSelections();t.sort(Q.e.compareRangesUsingStarts);let i=this._model.getMinimapDecorationsInViewport(e.startLineNumber,e.endLineNumber);i.sort((e,t)=>(e.options.zIndex||0)-(t.options.zIndex||0));let{canvasInnerWidth:n,canvasInnerHeight:s}=this._model.options,o=this._model.options.minimapLineHeight,r=this._model.options.minimapCharWidth,l=this._model.getOptions().tabSize,a=this._decorationsCanvas.domNode.getContext("2d");a.clearRect(0,0,n,s);let d=new tX(e.startLineNumber,e.endLineNumber,!1);this._renderSelectionLineHighlights(a,t,d,e,o),this._renderDecorationsLineHighlights(a,i,d,e,o);let h=new tX(e.startLineNumber,e.endLineNumber,null);this._renderSelectionsHighlights(a,t,h,e,o,l,r,n),this._renderDecorationsHighlights(a,i,h,e,o,l,r,n),this._renderSectionHeaders(e)}}_renderSelectionLineHighlights(e,t,i,n,s){if(!this._selectionColor||this._selectionColor.isTransparent())return;e.fillStyle=this._selectionColor.transparent(.5).toString();let o=0,r=0;for(let l of t){let t=n.intersectWithViewport(l);if(!t)continue;let[a,d]=t;for(let e=a;e<=d;e++)i.set(e,!0);let h=n.getYForLineNumber(a,s),u=n.getYForLineNumber(d,s);r>=h||(r>o&&e.fillRect(I.y0,o,e.canvas.width,r-o),o=h),r=u}r>o&&e.fillRect(I.y0,o,e.canvas.width,r-o)}_renderDecorationsLineHighlights(e,t,i,n,s){let o=new Map;for(let r=t.length-1;r>=0;r--){let l=t[r],a=l.options.minimap;if(!a||1!==a.position)continue;let d=n.intersectWithViewport(l.range);if(!d)continue;let[h,u]=d,c=a.getColor(this._theme.value);if(!c||c.isTransparent())continue;let g=o.get(c.toString());g||(g=c.transparent(.5).toString(),o.set(c.toString(),g)),e.fillStyle=g;for(let t=h;t<=u;t++){if(i.has(t))continue;i.set(t,!0);let o=n.getYForLineNumber(h,s);e.fillRect(I.y0,o,e.canvas.width,s)}}}_renderSelectionsHighlights(e,t,i,n,s,o,r,l){if(!(!this._selectionColor||this._selectionColor.isTransparent()))for(let a of t){let t=n.intersectWithViewport(a);if(!t)continue;let[d,h]=t;for(let t=d;t<=h;t++)this.renderDecorationOnLine(e,i,a,this._selectionColor,n,t,s,s,o,r,l)}}_renderDecorationsHighlights(e,t,i,n,s,o,r,l){for(let a of t){let t=a.options.minimap;if(!t)continue;let d=n.intersectWithViewport(a.range);if(!d)continue;let[h,u]=d,c=t.getColor(this._theme.value);if(!(!c||c.isTransparent()))for(let d=h;d<=u;d++)switch(t.position){case 1:this.renderDecorationOnLine(e,i,a.range,c,n,d,s,s,o,r,l);continue;case 2:{let t=n.getYForLineNumber(d,s);this.renderDecoration(e,c,2,t,2,s);continue}}}}renderDecorationOnLine(e,t,i,n,s,o,r,l,a,d,h){let u=s.getYForLineNumber(o,l);if(u+r<0||u>this._model.options.canvasInnerHeight)return;let{startLineNumber:c,endLineNumber:g}=i,p=c===o?i.startColumn:1,m=g===o?i.endColumn:this._model.getLineMaxColumn(o),f=this.getXOffsetForPosition(t,o,p,a,d,h),_=this.getXOffsetForPosition(t,o,m,a,d,h);this.renderDecoration(e,n,f,u,_-f,r)}getXOffsetForPosition(e,t,i,n,s,o){if(1===i)return I.y0;if((i-1)*s>=o)return o;let r=e.get(t);if(!r){let i=this._model.getLineContent(t);r=[I.y0];let l=I.y0;for(let e=1;e=o){r[e]=o;break}r[e]=d,l=d}e.set(t,r)}return i-1e.range.startLineNumber-t.range.startLineNumber);let g=tJ._fitSectionHeader.bind(null,u,r-I.y0);for(let s of c){let l=e.getYForLineNumber(s.range.startLineNumber,i)+n,d=l-n,c=d+2,p=this._model.getSectionHeaderText(s,g);tJ._renderSectionLabel(u,p,(null===(t=s.options.minimap)||void 0===t?void 0:t.sectionHeaderStyle)===2,a,h,r,d,o,l,c)}}static _fitSectionHeader(e,t,i){if(!i)return i;let n=e.measureText(i).width,s=e.measureText("…").width;if(n<=t||n<=s)return i;let o=i.length,r=n/i.length,l=Math.floor((t-s)/r)-1,a=Math.ceil(l/2);for(;a>0&&/\s/.test(i[a-1]);)--a;return i.substring(0,a)+"…"+i.substring(o-(l-a))}static _renderSectionLabel(e,t,i,n,s,o,r,l,a,d){t&&(e.fillStyle=n,e.fillRect(0,r,o,l),e.fillStyle=s,e.fillText(t,I.y0,a)),i&&(e.beginPath(),e.moveTo(0,d),e.lineTo(o,d),e.closePath(),e.stroke())}renderLines(e){let t=e.startLineNumber,i=e.endLineNumber,n=this._model.options.minimapLineHeight;if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){let t=this._lastRenderData._get();return new tG(e,t.imageData,t.lines)}let s=this._getBuffer();if(!s)return null;let[o,r,l]=tJ._renderUntouchedLines(s,e.topPaddingLineCount,t,i,n,this._lastRenderData),a=this._model.getMinimapLinesRenderingData(t,i,l),d=this._model.getOptions().tabSize,h=this._model.options.defaultBackgroundColor,u=this._model.options.backgroundColor,c=this._model.options.foregroundAlpha,g=this._model.tokensColorTracker,p=g.backgroundIsLight(),m=this._model.options.renderMinimap,f=this._model.options.charRenderer(),_=this._model.options.fontScale,v=this._model.options.minimapCharWidth,b=1===m?2:3,C=b*_,w=n>C?Math.floor((n-C)/2):0,y=u.a/255,S=new tI(Math.round((u.r-h.r)*y+h.r),Math.round((u.g-h.g)*y+h.g),Math.round((u.b-h.b)*y+h.b),255),L=e.topPaddingLineCount*n,k=[];for(let e=0,o=i-t+1;e=0&&n_)return;let r=m.charCodeAt(C);if(9===r){let e=u-(C+w)%u;w+=e-1,b+=e*o}else if(32===r)b+=o;else{let u=ex.K7(r)?2:1;for(let c=0;c_)return}}}}}class tX{constructor(e,t,i){this._startLineNumber=e,this._endLineNumber=t,this._defaultValue=i,this._values=[];for(let e=0,t=this._endLineNumber-this._startLineNumber+1;ethis._endLineNumber||(this._values[e-this._startLineNumber]=t)}get(e){return ethis._endLineNumber?this._defaultValue:this._values[e-this._startLineNumber]}}i(92370);class t0 extends ${constructor(e,t){super(e),this._viewDomNode=t;let i=this._context.configuration.options,n=i.get(145);this._widgets={},this._verticalScrollbarWidth=n.verticalScrollbarWidth,this._minimapWidth=n.minimap.minimapWidth,this._horizontalScrollbarHeight=n.horizontalScrollbarHeight,this._editorHeight=n.height,this._editorWidth=n.width,this._viewDomNodeRect={top:0,left:0,width:0,height:0},this._domNode=(0,V.X)(document.createElement("div")),q.write(this._domNode,4),this._domNode.setClassName("overlayWidgets"),this.overflowingOverlayWidgetsDomNode=(0,V.X)(document.createElement("div")),q.write(this.overflowingOverlayWidgetsDomNode,5),this.overflowingOverlayWidgetsDomNode.setClassName("overflowingOverlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._verticalScrollbarWidth=i.verticalScrollbarWidth,this._minimapWidth=i.minimap.minimapWidth,this._horizontalScrollbarHeight=i.horizontalScrollbarHeight,this._editorHeight=i.height,this._editorWidth=i.width,!0}addWidget(e){let t=(0,V.X)(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),e.allowEditorOverflow?this.overflowingOverlayWidgetsDomNode.appendChild(t):this._domNode.appendChild(t),this.setShouldRender(),this._updateMaxMinWidth()}setWidgetPosition(e,t){let i=this._widgets[e.getId()],n=t?t.preference:null,s=null==t?void 0:t.stackOridinal;return i.preference===n&&i.stack===s?(this._updateMaxMinWidth(),!1):(i.preference=n,i.stack=s,this.setShouldRender(),this._updateMaxMinWidth(),!0)}removeWidget(e){let t=e.getId();if(this._widgets.hasOwnProperty(t)){let e=this._widgets[t],i=e.domNode.domNode;delete this._widgets[t],i.remove(),this.setShouldRender(),this._updateMaxMinWidth()}}_updateMaxMinWidth(){var e,t;let i=0,n=Object.keys(this._widgets);for(let s=0,o=n.length;s0);t.sort((e,t)=>(this._widgets[e].stack||0)-(this._widgets[t].stack||0));for(let e=0,n=t.length;e=3){let t=Math.floor(n/3),i=Math.floor(n/3),s=n-t-i,o=e+t;return[[0,e,o,e,e+t+s,e,o,e],[0,t,s,t+s,i,t+s+i,s+i,t+s+i]]}if(2!==i)return[[0,e,e,e,e,e,e,e],[0,n,n,n,n,n,n,n]];{let t=Math.floor(n/2),i=n-t;return[[0,e,e,e,e+t,e,e,e],[0,t,t,t,i,t+i,t+i,t+i]]}}equals(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColorSingle===e.cursorColorSingle&&this.cursorColorPrimary===e.cursorColorPrimary&&this.cursorColorSecondary===e.cursorColorSecondary&&this.themeType===e.themeType&&eF.Il.equals(this.backgroundColor,e.backgroundColor)&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight}}class t2 extends ${constructor(e){super(e),this._actualShouldRender=0,this._renderedDecorations=[],this._renderedCursorPositions=[],this._domNode=(0,V.X)(document.createElement("canvas")),this._domNode.setClassName("decorationsOverviewRuler"),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._domNode.setAttribute("aria-hidden","true"),this._updateSettings(!1),this._tokensColorTrackerListener=eO.RW.onDidChange(e=>{e.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[{position:new G.L(1,1),color:this._settings.cursorColorSingle}]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(e){let t=new t1(this._context.configuration,this._context.theme);return!(this._settings&&this._settings.equals(t))&&(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)}_markRenderingIsNeeded(){return this._actualShouldRender=2,!0}_markRenderingIsMaybeNeeded(){return this._actualShouldRender=1,!0}onConfigurationChanged(e){return!!this._updateSettings(!1)&&this._markRenderingIsNeeded()}onCursorStateChanged(e){this._cursorPositions=[];for(let t=0,i=e.selections.length;t1&&(n=0===t?this._settings.cursorColorPrimary:this._settings.cursorColorSecondary),this._cursorPositions.push({position:e.selections[t].getPosition(),color:n})}return this._cursorPositions.sort((e,t)=>G.L.compare(e.position,t.position)),this._markRenderingIsMaybeNeeded()}onDecorationsChanged(e){return!!e.affectsOverviewRuler&&this._markRenderingIsMaybeNeeded()}onFlushed(e){return this._markRenderingIsNeeded()}onScrollChanged(e){return!!e.scrollHeightChanged&&this._markRenderingIsNeeded()}onZonesChanged(e){return this._markRenderingIsNeeded()}onThemeChanged(e){return!!this._updateSettings(!1)&&this._markRenderingIsNeeded()}getDomNode(){return this._domNode.domNode}prepareRender(e){}render(e){this._render(),this._actualShouldRender=0}_render(){let e=this._settings.backgroundColor;if(0===this._settings.overviewRulerLanes){this._domNode.setBackgroundColor(e?eF.Il.Format.CSS.formatHexA(e):""),this._domNode.setDisplay("none");return}let t=this._context.viewModel.getAllOverviewRulerDecorations(this._context.theme);if(t.sort(tM.SQ.compareByRenderingProps),1!==this._actualShouldRender||tM.SQ.equalsArr(this._renderedDecorations,t)||(this._actualShouldRender=2),1!==this._actualShouldRender||(0,C.fS)(this._renderedCursorPositions,this._cursorPositions,(e,t)=>e.position.lineNumber===t.position.lineNumber&&e.color===t.color)||(this._actualShouldRender=2),1===this._actualShouldRender)return;this._renderedDecorations=t,this._renderedCursorPositions=this._cursorPositions,this._domNode.setDisplay("block");let i=this._settings.canvasWidth,n=this._settings.canvasHeight,s=this._settings.lineHeight,o=this._context.viewLayout,r=this._context.viewLayout.getScrollHeight(),l=n/r,a=6*this._settings.pixelRatio|0,d=a/2|0,h=this._domNode.domNode.getContext("2d");e?e.isOpaque()?(h.fillStyle=eF.Il.Format.CSS.formatHexA(e),h.fillRect(0,0,i,n)):(h.clearRect(0,0,i,n),h.fillStyle=eF.Il.Format.CSS.formatHexA(e),h.fillRect(0,0,i,n)):h.clearRect(0,0,i,n);let u=this._settings.x,c=this._settings.w;for(let e of t){let t=e.color,i=e.data;h.fillStyle=t;let r=0,g=0,p=0;for(let e=0,t=i.length/3;en&&(e=n-d),_=e-d,v=e+d}_>p+1||t!==r?(0!==e&&h.fillRect(u[r],g,c[r],p-g),r=t,g=_,p=v):v>p&&(p=v)}h.fillRect(u[r],g,c[r],p-g)}if(!this._settings.hideCursor){let e=2*this._settings.pixelRatio|0,t=e/2|0,i=this._settings.x[7],s=this._settings.w[7],r=-100,a=-100,d=null;for(let u=0,c=this._cursorPositions.length;un&&(p=n-t);let m=p-t,f=m+e;m>a+1||c!==d?(0!==u&&d&&h.fillRect(i,r,s,a-r),r=m,a=f):f>a&&(a=f),d=c,h.fillStyle=c}d&&h.fillRect(i,r,s,a-r)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(h.beginPath(),h.lineWidth=1,h.strokeStyle=this._settings.borderColor,h.moveTo(0,0),h.lineTo(0,n),h.stroke(),h.moveTo(0,0),h.lineTo(i,0),h.stroke())}}var t4=i(68757);class t5 extends U{constructor(e,t){super(),this._context=e;let i=this._context.configuration.options;this._domNode=(0,V.X)(document.createElement("canvas")),this._domNode.setClassName(t),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._zoneManager=new t4.Tj(e=>this._context.viewLayout.getVerticalOffsetForLineNumber(e)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(i.get(67)),this._zoneManager.setPixelRatio(i.get(143)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return e.hasChanged(67)&&(this._zoneManager.setLineHeight(t.get(67)),this._render()),e.hasChanged(143)&&(this._zoneManager.setPixelRatio(t.get(143)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(e){return this._render(),!0}onScrollChanged(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0}onZonesChanged(e){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);let t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,(t=this._zoneManager.setDOMHeight(e.height)||t)&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(e){this._zoneManager.setZones(e),this._render()}_render(){if(0===this._zoneManager.getOuterHeight())return!1;let e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),i=this._zoneManager.resolveColorZones(),n=this._zoneManager.getId2Color(),s=this._domNode.domNode.getContext("2d");return s.clearRect(0,0,e,t),i.length>0&&this._renderOneLane(s,i,n,e),!0}_renderOneLane(e,t,i,n){let s=0,o=0,r=0;for(let l of t){let t=l.colorId,a=l.from,d=l.to;t!==s?(e.fillRect(0,o,n,r-o),s=t,e.fillStyle=i[s],o=a,r=d):r>=a?r=Math.max(r,d):(e.fillRect(0,o,n,r-o),o=a,r=d)}e.fillRect(0,o,n,r-o)}}i(56389);class t3 extends ${constructor(e){super(e),this.domNode=(0,V.X)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("view-rulers"),this._renderedRulers=[];let t=this._context.configuration.options;this._rulers=t.get(102),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return this._rulers=t.get(102),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,!0}onScrollChanged(e){return e.scrollHeightChanged}prepareRender(e){}_ensureRulersCount(){let e=this._renderedRulers.length,t=this._rulers.length;if(e===t)return;if(e0;){let e=(0,V.X)(document.createElement("div"));e.setClassName("view-ruler"),e.setWidth(i),this.domNode.appendChild(e),this._renderedRulers.push(e),n--}return}let i=e-t;for(;i>0;){let e=this._renderedRulers.pop();this.domNode.removeChild(e),i--}}render(e){this._ensureRulersCount();for(let t=0,i=this._rulers.length;t0;return this._shouldShow!==e&&(this._shouldShow=e,!0)}getDomNode(){return this._domNode}_updateWidth(){let e=this._context.configuration.options,t=e.get(145);0===t.minimap.renderMinimap||t.minimap.minimapWidth>0&&0===t.minimap.minimapLeft?this._width=t.width:this._width=t.width-t.verticalScrollbarWidth}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(103);return this._useShadows=i.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()}prepareRender(e){}render(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}i(33557);class t8{constructor(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null}}class t6{constructor(e,t){this.lineNumber=e,this.ranges=t}}function t9(e){return new t8(e)}function ie(e){return new t6(e.lineNumber,e.ranges.map(t9))}class it extends eE{constructor(e){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=e;let t=this._context.configuration.options;this._roundedSelection=t.get(101),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return this._roundedSelection=t.get(101),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_visibleRangesHaveGaps(e){for(let t=0,i=e.length;t1)return!0}return!1}_enrichVisibleRangesWithStyle(e,t,i){let n=this._typicalHalfwidthCharacterWidth/4,s=null,o=null;if(i&&i.length>0&&t.length>0){let n=t[0].lineNumber;if(n===e.startLineNumber)for(let e=0;!s&&e=0;e--)i[e].lineNumber===r&&(o=i[e].ranges[0]);s&&!s.startStyle&&(s=null),o&&!o.startStyle&&(o=null)}for(let e=0,i=t.length;e0){let i=t[e-1].ranges[0].left,s=t[e-1].ranges[0].left+t[e-1].ranges[0].width;ii(l-i)i&&(d.top=1),ii(a-s)'}_actualRenderOneSelection(e,t,i,n){if(0===n.length)return;let s=!!n[0].ranges[0].startStyle,o=n[0].lineNumber,r=n[n.length-1].lineNumber;for(let l=0,a=n.length;l1,r)}this._previousFrameVisibleRangesWithStyle=s,this._renderResult=t.map(([e,t])=>e+t)}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}function ii(e){return e<0?-e:e}it.SELECTION_CLASS_NAME="selected-text",it.SELECTION_TOP_LEFT="top-left-radius",it.SELECTION_BOTTOM_LEFT="bottom-left-radius",it.SELECTION_TOP_RIGHT="top-right-radius",it.SELECTION_BOTTOM_RIGHT="bottom-right-radius",it.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",it.ROUNDED_PIECE_WIDTH=10,(0,eI.Ic)((e,t)=>{let i=e.getColor(tR.yb5);i&&!i.isTransparent()&&t.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${i}; }`)}),i(25459);class is{constructor(e,t,i,n,s,o,r){this.top=e,this.left=t,this.paddingLeft=i,this.width=n,this.height=s,this.textContent=o,this.textContentClassName=r}}(o=a||(a={}))[o.Single=0]="Single",o[o.MultiPrimary=1]="MultiPrimary",o[o.MultiSecondary=2]="MultiSecondary";class io{constructor(e,t){this._context=e;let i=this._context.configuration.options,n=i.get(50);this._cursorStyle=i.get(28),this._lineHeight=i.get(67),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(i.get(31),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=(0,V.X)(document.createElement("div")),this._domNode.setClassName(`cursor ${eP}`),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),(0,v.N)(this._domNode,n),this._domNode.setDisplay("none"),this._position=new G.L(1,1),this._pluralityClass="",this.setPlurality(t),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}setPlurality(e){switch(e){default:case a.Single:this._pluralityClass="";break;case a.MultiPrimary:this._pluralityClass="cursor-primary";break;case a.MultiSecondary:this._pluralityClass="cursor-secondary"}}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(50);return this._cursorStyle=t.get(28),this._lineHeight=t.get(67),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(31),this._typicalHalfwidthCharacterWidth),(0,v.N)(this._domNode,i),!0}onCursorPositionChanged(e,t){return t?this._domNode.domNode.style.transitionProperty="none":this._domNode.domNode.style.transitionProperty="",this._position=e,!0}_getGraphemeAwarePosition(){let{lineNumber:e,column:t}=this._position,i=this._context.viewModel.getLineContent(e),[n,s]=ex.J_(i,t-1);return[new G.L(e,n+1),i.substring(n,s)]}_prepareRender(e){let t="",i="",[n,s]=this._getGraphemeAwarePosition();if(this._cursorStyle===I.d2.Line||this._cursorStyle===I.d2.LineThin){let o;let r=e.visibleRangeForPosition(n);if(!r||r.outsideRenderedLine)return null;let l=g.Jj(this._domNode.domNode);this._cursorStyle===I.d2.Line?(o=g.Uh(l,this._lineCursorWidth>0?this._lineCursorWidth:2))>2&&(t=s,i=this._getTokenClassName(n)):o=g.Uh(l,1);let a=r.left,d=0;o>=2&&a>=1&&(a-=d=1);let h=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.bigNumbersDelta;return new is(h,a,d,o,this._lineHeight,t,i)}let o=e.linesVisibleRangesForRange(new Q.e(n.lineNumber,n.column,n.lineNumber,n.column+s.length),!1);if(!o||0===o.length)return null;let r=o[0];if(r.outsideRenderedLine||0===r.ranges.length)return null;let l=r.ranges[0],a=" "===s?this._typicalHalfwidthCharacterWidth:l.width<1?this._typicalHalfwidthCharacterWidth:l.width;this._cursorStyle===I.d2.Block&&(t=s,i=this._getTokenClassName(n));let d=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.bigNumbersDelta,h=this._lineHeight;return(this._cursorStyle===I.d2.Underline||this._cursorStyle===I.d2.UnderlineThin)&&(d+=this._lineHeight-2,h=2),new is(d,l.left,0,a,h,t,i)}_getTokenClassName(e){let t=this._context.viewModel.getViewLineData(e.lineNumber),i=t.tokens.findTokenIndexAtOffset(e.column-1);return t.tokens.getClassName(i)}prepareRender(e){this._renderData=this._prepareRender(e)}render(e){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${this._pluralityClass} ${eP} ${this._renderData.textContentClassName}`),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setPaddingLeft(this._renderData.paddingLeft),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)}}class ir extends ${constructor(e){super(e);let t=this._context.configuration.options;this._readOnly=t.get(91),this._cursorBlinking=t.get(26),this._cursorStyle=t.get(28),this._cursorSmoothCaretAnimation=t.get(27),this._selectionIsEmpty=!0,this._isComposingInput=!1,this._isVisible=!1,this._primaryCursor=new io(this._context,a.Single),this._secondaryCursors=[],this._renderData=[],this._domNode=(0,V.X)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new tw._F,this._cursorFlatBlinkInterval=new g.ne,this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onCompositionStart(e){return this._isComposingInput=!0,this._updateBlinking(),!0}onCompositionEnd(e){return this._isComposingInput=!1,this._updateBlinking(),!0}onConfigurationChanged(e){let t=this._context.configuration.options;this._readOnly=t.get(91),this._cursorBlinking=t.get(26),this._cursorStyle=t.get(28),this._cursorSmoothCaretAnimation=t.get(27),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(let t=0,i=this._secondaryCursors.length;tt.length){let e=this._secondaryCursors.length-t.length;for(let t=0;t{for(let i=0,n=e.ranges.length;i{this._isVisible?this._hide():this._show()},ir.BLINK_INTERVAL,(0,g.Jj)(this._domNode.domNode)):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},ir.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let e="cursors-layer";switch(this._selectionIsEmpty||(e+=" has-selection"),this._cursorStyle){case I.d2.Line:e+=" cursor-line-style";break;case I.d2.Block:e+=" cursor-block-style";break;case I.d2.Underline:e+=" cursor-underline-style";break;case I.d2.LineThin:e+=" cursor-line-thin-style";break;case I.d2.BlockOutline:e+=" cursor-block-outline-style";break;case I.d2.UnderlineThin:e+=" cursor-underline-thin-style";break;default:e+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:e+=" cursor-blink";break;case 2:e+=" cursor-smooth";break;case 3:e+=" cursor-phase";break;case 4:e+=" cursor-expand";break;default:e+=" cursor-solid"}else e+=" cursor-solid";return("on"===this._cursorSmoothCaretAnimation||"explicit"===this._cursorSmoothCaretAnimation)&&(e+=" cursor-smooth-caret-animation"),e}_show(){this._primaryCursor.show();for(let e=0,t=this._secondaryCursors.length;e{let i=[{class:".cursor",foreground:eT.n0,background:eT.fY},{class:".cursor-primary",foreground:eT.jD,background:eT.s2},{class:".cursor-secondary",foreground:eT.x_,background:eT.P0}];for(let n of i){let i=e.getColor(n.foreground);if(i){let s=e.getColor(n.background);s||(s=i.opposite()),t.addRule(`.monaco-editor .cursors-layer ${n.class} { background-color: ${i}; border-color: ${i}; color: ${s}; }`),(0,tt.c3)(e.type)&&t.addRule(`.monaco-editor .cursors-layer.has-selection ${n.class} { border-left: 1px solid ${s}; border-right: 1px solid ${s}; }`)}}});let il=()=>{throw Error("Invalid change accessor")};class ia extends ${constructor(e){super(e);let t=this._context.configuration.options,i=t.get(145);this._lineHeight=t.get(67),this._contentWidth=i.contentWidth,this._contentLeft=i.contentLeft,this.domNode=(0,V.X)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=(0,V.X)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){let e=this._context.viewLayout.getWhitespaces(),t=new Map;for(let i of e)t.set(i.id,i);let i=!1;return this._context.viewModel.changeWhitespace(e=>{let n=Object.keys(this._zones);for(let s=0,o=n.length;s{let n={addZone:e=>(t=!0,this._addZone(i,e)),removeZone:e=>{e&&(t=this._removeZone(i,e)||t)},layoutZone:e=>{e&&(t=this._layoutZone(i,e)||t)}};(function(e,t){try{e(t)}catch(e){(0,p.dL)(e)}})(e,n),n.addZone=il,n.removeZone=il,n.layoutZone=il}),t}_addZone(e,t){let i=this._computeWhitespaceProps(t),n=e.insertWhitespace(i.afterViewLineNumber,this._getZoneOrdinal(t),i.heightInPx,i.minWidthInPx),s={whitespaceId:n,delegate:t,isInHiddenArea:i.isInHiddenArea,isVisible:!1,domNode:(0,V.X)(t.domNode),marginDomNode:t.marginDomNode?(0,V.X)(t.marginDomNode):null};return this._safeCallOnComputedHeight(s.delegate,i.heightInPx),s.domNode.setPosition("absolute"),s.domNode.domNode.style.width="100%",s.domNode.setDisplay("none"),s.domNode.setAttribute("monaco-view-zone",s.whitespaceId),this.domNode.appendChild(s.domNode),s.marginDomNode&&(s.marginDomNode.setPosition("absolute"),s.marginDomNode.domNode.style.width="100%",s.marginDomNode.setDisplay("none"),s.marginDomNode.setAttribute("monaco-view-zone",s.whitespaceId),this.marginDomNode.appendChild(s.marginDomNode)),this._zones[s.whitespaceId]=s,this.setShouldRender(),s.whitespaceId}_removeZone(e,t){if(this._zones.hasOwnProperty(t)){let i=this._zones[t];return delete this._zones[t],e.removeWhitespace(i.whitespaceId),i.domNode.removeAttribute("monaco-visible-view-zone"),i.domNode.removeAttribute("monaco-view-zone"),i.domNode.domNode.parentNode.removeChild(i.domNode.domNode),i.marginDomNode&&(i.marginDomNode.removeAttribute("monaco-visible-view-zone"),i.marginDomNode.removeAttribute("monaco-view-zone"),i.marginDomNode.domNode.parentNode.removeChild(i.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(e,t){if(this._zones.hasOwnProperty(t)){let i=this._zones[t],n=this._computeWhitespaceProps(i.delegate);return i.isInHiddenArea=n.isInHiddenArea,e.changeOneWhitespace(i.whitespaceId,n.afterViewLineNumber,n.heightInPx),this._safeCallOnComputedHeight(i.delegate,n.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(e){if(this._zones.hasOwnProperty(e)){let t=this._zones[e];return!!t.delegate.suppressMouseDown}return!1}_heightInPixels(e){return"number"==typeof e.heightInPx?e.heightInPx:"number"==typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight}_minWidthInPixels(e){return"number"==typeof e.minWidthInPx?e.minWidthInPx:0}_safeCallOnComputedHeight(e,t){if("function"==typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(e){(0,p.dL)(e)}}_safeCallOnDomNodeTop(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(e){(0,p.dL)(e)}}prepareRender(e){}render(e){let t=e.viewportData.whitespaceViewportData,i={},n=!1;for(let e of t)this._zones[e.id].isInHiddenArea||(i[e.id]=e,n=!0);let s=Object.keys(this._zones);for(let t=0,n=s.length;tt)continue;let e=i.startLineNumber===t?i.startColumn:n.minColumn,o=i.endLineNumber===t?i.endColumn:n.maxColumn;e=k.endOffset&&(L++,k=i&&i[L]),9!==o&&32!==o||c&&!y&&n<=s)continue;if(u&&n>=S&&n<=s&&32===o){let e=n-1>=0?l.charCodeAt(n-1):0,t=n+1=0?l.charCodeAt(n-1):0,t=32===o&&32!==e&&9!==e;if(t)continue}if(i&&(!k||k.startOffset>n||k.endOffset<=n))continue;let h=e.visibleRangeForPosition(new G.L(t,n+1));h&&(r?(D=Math.max(D,h.left),9===o?w+=this._renderArrow(g,f,h.left):w+=``):9===o?w+=`
    ${C?String.fromCharCode(65515):String.fromCharCode(8594)}
    `:w+=`
    ${String.fromCharCode(b)}
    `)}return r?(D=Math.round(D+f),``+w+""):w}_renderArrow(e,t,i){let n=e/2,s={x:0,y:t/7/2},o={x:.8*t,y:s.y},r={x:o.x-.2*o.x,y:o.y+.2*o.x},l={x:r.x+.1*o.x,y:r.y+.1*o.x},a={x:l.x+.35*o.x,y:l.y-.35*o.x},d={x:a.x,y:-a.y},h={x:l.x,y:-l.y},u={x:r.x,y:-r.y},c={x:o.x,y:-o.y},g={x:s.x,y:-s.y},p=[s,o,r,l,a,d,h,u,c,g].map(e=>`${(i+e.x).toFixed(2)} ${(n+e.y).toFixed(2)}`).join(" L ");return``}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}class iu{constructor(e){let t=e.options,i=t.get(50),n=t.get(38);"off"===n?(this.renderWhitespace="none",this.renderWithSVG=!1):"svg"===n?(this.renderWhitespace=t.get(99),this.renderWithSVG=!0):(this.renderWhitespace=t.get(99),this.renderWithSVG=!1),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=t.get(67),this.stopRenderingLineAfter=t.get(117)}equals(e){return this.renderWhitespace===e.renderWhitespace&&this.renderWithSVG===e.renderWithSVG&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter}}class ic{constructor(e,t,i,n){this.selections=e,this.startLineNumber=0|t.startLineNumber,this.endLineNumber=0|t.endLineNumber,this.relativeVerticalOffset=t.relativeVerticalOffset,this.bigNumbersDelta=0|t.bigNumbersDelta,this.lineHeight=0|t.lineHeight,this.whitespaceViewportData=i,this._model=n,this.visibleRange=new Q.e(t.startLineNumber,this._model.getLineMinColumn(t.startLineNumber),t.endLineNumber,this._model.getLineMaxColumn(t.endLineNumber))}getViewLineRenderingData(e){return this._model.getViewportViewLineRenderingData(this.visibleRange,e)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}class ig{get type(){return this._theme.type}get value(){return this._theme}constructor(e){this._theme=e}update(e){this._theme=e}getColor(e){return this._theme.getColor(e)}}class ip{constructor(e,t,i){this.configuration=e,this.theme=new ig(t),this.viewModel=i,this.viewLayout=i.viewLayout}addEventHandler(e){this.viewModel.addViewEventHandler(e)}removeEventHandler(e){this.viewModel.removeViewEventHandler(e)}}let im=class extends U{constructor(e,t,i,n,s,o,r){super(),this._instantiationService=r,this._shouldRecomputeGlyphMarginLanes=!1,this._selections=[new em.Y(1,1,1,1)],this._renderAnimationFrame=null;let l=new ej(t,n,s,e);this._context=new ip(t,i,n),this._context.addEventHandler(this),this._viewParts=[],this._textAreaHandler=this._instantiationService.createInstance(eU,this._context,l,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=(0,V.X)(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=(0,V.X)(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=(0,V.X)(document.createElement("div")),q.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new tr(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new tD(this._context,this._linesContent),this._viewZones=new ia(this._context),this._viewParts.push(this._viewZones);let a=new t2(this._context);this._viewParts.push(a);let d=new t7(this._context);this._viewParts.push(d);let h=new e1(this._context);this._viewParts.push(h),h.addDynamicOverlay(new tn(this._context)),h.addDynamicOverlay(new it(this._context)),h.addDynamicOverlay(new tb(this._context)),h.addDynamicOverlay(new to(this._context)),h.addDynamicOverlay(new ih(this._context));let u=new e2(this._context);this._viewParts.push(u),u.addDynamicOverlay(new ts(this._context)),u.addDynamicOverlay(new tN(this._context)),u.addDynamicOverlay(new tx(this._context)),u.addDynamicOverlay(new eM(this._context)),this._glyphMarginWidgets=new tc(this._context),this._viewParts.push(this._glyphMarginWidgets);let c=new eR(this._context);c.getDomNode().appendChild(this._viewZones.marginDomNode),c.getDomNode().appendChild(u.getDomNode()),c.getDomNode().appendChild(this._glyphMarginWidgets.domNode),this._viewParts.push(c),this._contentWidgets=new e3(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new ir(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new t0(this._context,this.domNode),this._viewParts.push(this._overlayWidgets);let g=new t3(this._context);this._viewParts.push(g);let p=new e5(this._context);this._viewParts.push(p);let m=new tY(this._context);if(this._viewParts.push(m),a){let e=this._scrollbar.getOverviewRulerLayoutInfo();e.parent.insertBefore(a.getDomNode(),e.insertBefore)}this._linesContent.appendChild(h.getDomNode()),this._linesContent.appendChild(g.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(c.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(d.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(m.getDomNode()),this._overflowGuardContainer.appendChild(p.domNode),this.domNode.appendChild(this._overflowGuardContainer),o?(o.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode),o.appendChild(this._overlayWidgets.overflowingOverlayWidgetsDomNode.domNode)):(this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this.domNode.appendChild(this._overlayWidgets.overflowingOverlayWidgetsDomNode)),this._applyLayout(),this._pointerHandler=this._register(new ek(this._context,l,this._createPointerHandlerHelper()))}_computeGlyphMarginLanes(){let e=this._context.viewModel.model,t=this._context.viewModel.glyphLanes,i=[],n=0;for(let s of((i=(i=i.concat(e.getAllMarginDecorations().map(e=>{var t,i,s;let o=null!==(i=null===(t=e.options.glyphMargin)||void 0===t?void 0:t.position)&&void 0!==i?i:tl.U.Center;return n=Math.max(n,e.range.endLineNumber),{range:e.range,lane:o,persist:null===(s=e.options.glyphMargin)||void 0===s?void 0:s.persistLane}}))).concat(this._glyphMarginWidgets.getWidgets().map(t=>{let i=e.validateRange(t.preference.range);return n=Math.max(n,i.endLineNumber),{range:i,lane:t.preference.lane}}))).sort((e,t)=>Q.e.compareRangesUsingStarts(e.range,t.range)),t.reset(n),i))t.push(s.lane,s.range,s.persist);return t}_createPointerHandlerHelper(){return{viewDomNode:this.domNode.domNode,linesContentDomNode:this._linesContent.domNode,viewLinesDomNode:this._viewLines.getDomNode().domNode,focusTextArea:()=>{this.focus()},dispatchTextAreaEvent:e=>{this._textAreaHandler.textArea.domNode.dispatchEvent(e)},getLastRenderData:()=>{let e=this._viewCursors.getLastRenderData()||[],t=this._textAreaHandler.getLastRenderData();return new et(e,t)},renderNow:()=>{this.render(!0,!1)},shouldSuppressMouseDownOnViewZone:e=>this._viewZones.shouldSuppressMouseDownOnViewZone(e),shouldSuppressMouseDownOnWidget:e=>this._contentWidgets.shouldSuppressMouseDownOnWidget(e),getPositionFromDOMInfo:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(e,t)),visibleRangeForPosition:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new G.L(e,t))),getLineWidth:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(e))}}_createTextAreaHandlerHelper(){return{visibleRangeForPosition:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(e))}}_applyLayout(){let e=this._context.configuration.options,t=e.get(145);this.domNode.setWidth(t.width),this.domNode.setHeight(t.height),this._overflowGuardContainer.setWidth(t.width),this._overflowGuardContainer.setHeight(t.height),this._linesContent.setWidth(16777216),this._linesContent.setHeight(16777216)}_getEditorClassName(){let e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(142)+" "+(0,eI.m6)(this._context.theme.type)+e}handleEvents(e){super.handleEvents(e),this._scheduleRender()}onConfigurationChanged(e){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(e){return this._selections=e.selections,!1}onDecorationsChanged(e){return e.affectsGlyphMargin&&(this._shouldRecomputeGlyphMarginLanes=!0),!1}onFocusChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(e){return this._context.theme.update(e.theme),this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){for(let e of(null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose(),this._viewParts))e.dispose();super.dispose()}_scheduleRender(){if(this._store.isDisposed)throw new p.he;if(null===this._renderAnimationFrame){let e=this._createCoordinatedRendering();this._renderAnimationFrame=iv.INSTANCE.scheduleCoordinatedRendering({window:g.Jj(this.domNode.domNode),prepareRenderText:()=>{if(this._store.isDisposed)throw new p.he;try{return e.prepareRenderText()}finally{this._renderAnimationFrame=null}},renderText:()=>{if(this._store.isDisposed)throw new p.he;return e.renderText()},prepareRender:(t,i)=>{if(this._store.isDisposed)throw new p.he;return e.prepareRender(t,i)},render:(t,i)=>{if(this._store.isDisposed)throw new p.he;return e.render(t,i)}})}}_flushAccumulatedAndRenderNow(){let e=this._createCoordinatedRendering();i_(()=>e.prepareRenderText());let t=i_(()=>e.renderText());if(t){let[i,n]=t;i_(()=>e.prepareRender(i,n)),i_(()=>e.render(i,n))}}_getViewPartsToRender(){let e=[],t=0;for(let i of this._viewParts)i.shouldRender()&&(e[t++]=i);return e}_createCoordinatedRendering(){return{prepareRenderText:()=>{if(this._shouldRecomputeGlyphMarginLanes){this._shouldRecomputeGlyphMarginLanes=!1;let e=this._computeGlyphMarginLanes();this._context.configuration.setGlyphMarginDecorationLaneCount(e.requiredLanes)}z.B.onRenderStart()},renderText:()=>{if(!this.domNode.domNode.isConnected)return null;let e=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&0===e.length)return null;let t=this._context.viewLayout.getLinesViewportData();this._context.viewModel.setViewport(t.startLineNumber,t.endLineNumber,t.centeredLineNumber);let i=new ic(this._selections,t,this._context.viewLayout.getWhitespaceViewportData(),this._context.viewModel);return this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(i),this._viewLines.shouldRender()&&(this._viewLines.renderText(i),this._viewLines.onDidRender(),e=this._getViewPartsToRender()),[e,new e$.xh(this._context.viewLayout,i,this._viewLines)]},prepareRender:(e,t)=>{for(let i of e)i.prepareRender(t)},render:(e,t)=>{for(let i of e)i.render(t),i.onDidRender()}}}delegateVerticalScrollbarPointerDown(e){this._scrollbar.delegateVerticalScrollbarPointerDown(e)}delegateScrollFromMouseWheelEvent(e){this._scrollbar.delegateScrollFromMouseWheelEvent(e)}restoreState(e){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft},1),this._context.viewModel.visibleLinesStabilized()}getOffsetForColumn(e,t){let i=this._context.viewModel.model.validatePosition({lineNumber:e,column:t}),n=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i);this._flushAccumulatedAndRenderNow();let s=this._viewLines.visibleRangeForPosition(new G.L(n.lineNumber,n.column));return s?s.left:-1}getTargetAtClientPoint(e,t){let i=this._pointerHandler.getTargetAtClientPoint(e,t);return i?e4.convertViewToModelMouseTarget(i,this._context.viewModel.coordinatesConverter):null}createOverviewRuler(e){return new t5(this._context,e)}change(e){this._viewZones.changeViewZones(e),this._scheduleRender()}render(e,t){if(t)for(let e of(this._viewLines.forceShouldRender(),this._viewParts))e.forceShouldRender();e?this._flushAccumulatedAndRenderNow():this._scheduleRender()}writeScreenReaderContent(e){this._textAreaHandler.writeScreenReaderContent(e)}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(e){this._textAreaHandler.setAriaOptions(e)}addContentWidget(e){this._contentWidgets.addWidget(e.widget),this.layoutContentWidget(e),this._scheduleRender()}layoutContentWidget(e){var t,i,n,s,o,r,l,a;this._contentWidgets.setWidgetPosition(e.widget,null!==(i=null===(t=e.position)||void 0===t?void 0:t.position)&&void 0!==i?i:null,null!==(s=null===(n=e.position)||void 0===n?void 0:n.secondaryPosition)&&void 0!==s?s:null,null!==(r=null===(o=e.position)||void 0===o?void 0:o.preference)&&void 0!==r?r:null,null!==(a=null===(l=e.position)||void 0===l?void 0:l.positionAffinity)&&void 0!==a?a:null),this._scheduleRender()}removeContentWidget(e){this._contentWidgets.removeWidget(e.widget),this._scheduleRender()}addOverlayWidget(e){this._overlayWidgets.addWidget(e.widget),this.layoutOverlayWidget(e),this._scheduleRender()}layoutOverlayWidget(e){let t=this._overlayWidgets.setWidgetPosition(e.widget,e.position);t&&this._scheduleRender()}removeOverlayWidget(e){this._overlayWidgets.removeWidget(e.widget),this._scheduleRender()}addGlyphMarginWidget(e){this._glyphMarginWidgets.addWidget(e.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}layoutGlyphMarginWidget(e){let t=e.position,i=this._glyphMarginWidgets.setWidgetPosition(e.widget,t);i&&(this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender())}removeGlyphMarginWidget(e){this._glyphMarginWidgets.removeWidget(e.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}};function i_(e){try{return e()}catch(e){return(0,p.dL)(e),null}}im=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(r=eH.TG,function(e,t){r(e,t,6)})],im);class iv{constructor(){this._coordinatedRenderings=[],this._animationFrameRunners=new Map}scheduleCoordinatedRendering(e){return this._coordinatedRenderings.push(e),this._scheduleRender(e.window),{dispose:()=>{let t=this._coordinatedRenderings.indexOf(e);if(-1!==t&&(this._coordinatedRenderings.splice(t,1),0===this._coordinatedRenderings.length)){for(let[e,t]of this._animationFrameRunners)t.dispose();this._animationFrameRunners.clear()}}}}_scheduleRender(e){this._animationFrameRunners.has(e)||this._animationFrameRunners.set(e,g.lI(e,()=>{this._animationFrameRunners.delete(e),this._onRenderScheduled()},100))}_onRenderScheduled(){let e=this._coordinatedRenderings.slice(0);for(let t of(this._coordinatedRenderings=[],e))i_(()=>t.prepareRenderText());let t=[];for(let i=0,n=e.length;in.renderText())}for(let i=0,n=e.length;in.prepareRender(o,r))}for(let i=0,n=e.length;in.render(o,r))}}}iv.INSTANCE=new iv;var ib=i(61413);class iC{constructor(e,t,i,n,s){this.injectionOffsets=e,this.injectionOptions=t,this.breakOffsets=i,this.breakOffsetsVisibleColumn=n,this.wrappedTextIndentLength=s}getOutputLineCount(){return this.breakOffsets.length}getMinOutputOffset(e){return e>0?this.wrappedTextIndentLength:0}getLineLength(e){let t=e>0?this.breakOffsets[e-1]:0,i=this.breakOffsets[e],n=i-t;return e>0&&(n+=this.wrappedTextIndentLength),n}getMaxOutputOffset(e){return this.getLineLength(e)}translateToInputOffset(e,t){e>0&&(t=Math.max(0,t-this.wrappedTextIndentLength));let i=0===e?t:this.breakOffsets[e-1]+t,n=i;if(null!==this.injectionOffsets)for(let e=0;ethis.injectionOffsets[e])n0?this.breakOffsets[s-1]:0,0===t){if(e<=o)n=s-1;else if(e>r)i=s+1;else break}else if(e=r)i=s+1;else break}let r=e-o;return s>0&&(r+=this.wrappedTextIndentLength),new iS(s,r)}normalizeOutputPosition(e,t,i){if(null!==this.injectionOffsets){let n=this.outputPositionToOffsetInInputWithInjections(e,t),s=this.normalizeOffsetInInputWithInjectionsAroundInjections(n,i);if(s!==n)return this.offsetInInputWithInjectionsToOutputPosition(s,i)}if(0===i){if(e>0&&t===this.getMinOutputOffset(e))return new iS(e-1,this.getMaxOutputOffset(e-1))}else if(1===i){let i=this.getOutputLineCount()-1;if(e0&&(t=Math.max(0,t-this.wrappedTextIndentLength));let i=(e>0?this.breakOffsets[e-1]:0)+t;return i}normalizeOffsetInInputWithInjectionsAroundInjections(e,t){let i=this.getInjectedTextAtOffset(e);if(!i)return e;if(2===t){if(e===i.offsetInInputWithInjections+i.length&&iw(this.injectionOptions[i.injectedTextIndex].cursorStops))return i.offsetInInputWithInjections+i.length;{let e=i.offsetInInputWithInjections;if(iy(this.injectionOptions[i.injectedTextIndex].cursorStops))return e;let t=i.injectedTextIndex-1;for(;t>=0&&this.injectionOffsets[t]===this.injectionOffsets[i.injectedTextIndex]&&!iw(this.injectionOptions[t].cursorStops)&&(e-=this.injectionOptions[t].content.length,!iy(this.injectionOptions[t].cursorStops));)t--;return e}}if(1===t||4===t){let e=i.offsetInInputWithInjections+i.length,t=i.injectedTextIndex;for(;t+1=0&&this.injectionOffsets[t-1]===this.injectionOffsets[t];)e-=this.injectionOptions[t-1].content.length,t--;return e}(0,ib.vE)(t)}getInjectedText(e,t){let i=this.outputPositionToOffsetInInputWithInjections(e,t),n=this.getInjectedTextAtOffset(i);return n?{options:this.injectionOptions[n.injectedTextIndex]}:null}getInjectedTextAtOffset(e){let t=this.injectionOffsets,i=this.injectionOptions;if(null!==t){let n=0;for(let s=0;se)break;if(e<=l)return{injectedTextIndex:s,offsetInInputWithInjections:r,length:o};n+=o}}}}function iw(e){return null==e||e===tl.RM.Right||e===tl.RM.Both}function iy(e){return null==e||e===tl.RM.Left||e===tl.RM.Both}class iS{constructor(e,t){this.outputLineIndex=e,this.outputOffset=t}toString(){return`${this.outputLineIndex}:${this.outputOffset}`}toPosition(e){return new G.L(e+this.outputLineIndex,this.outputOffset+1)}}var iL=i(60646);let ik=(0,eG.Z)("domLineBreaksComputer",{createHTML:e=>e});class iD{static create(e){return new iD(new WeakRef(e))}constructor(e){this.targetWindow=e}createLineBreaksComputer(e,t,i,n,s){let o=[],r=[];return{addRequest:(e,t,i)=>{o.push(e),r.push(t)},finalize:()=>(function(e,t,i,n,s,o,r,l){var a;function d(e){let i=l[e];if(!i)return null;{let n=iL.gk.applyInjectedText(t[e],i),s=i.map(e=>e.options),o=i.map(e=>e.column-1);return new iC(o,s,[n.length],[],0)}}if(-1===s){let e=[];for(let i=0,n=t.length;ih?(r=0,a=0):d=h-e}}let u=s.substr(r),g=function(e,t,i,n,s,o){if(0!==o){let e=String(o);s.appendString('
    ');let r=e.length,l=t,a=0,d=[],h=[],u=0");for(let t=0;t"),d[t]=a,h[t]=l;let n=u;u=t+1"),d[e.length]=a,h[e.length]=l,s.appendString("
    "),[d,h]}(u,a,n,d,p,c);m[e]=r,f[e]=a,_[e]=u,b[e]=g[0],C[e]=g[1]}let w=p.build(),y=null!==(a=null==ik?void 0:ik.createHTML(w))&&void 0!==a?a:w;g.innerHTML=y,g.style.position="absolute",g.style.top="10000","keepAll"===r?(g.style.wordBreak="keep-all",g.style.overflowWrap="anywhere"):(g.style.wordBreak="inherit",g.style.overflowWrap="break-word"),e.document.body.appendChild(g);let S=document.createRange(),L=Array.prototype.slice.call(g.children,0),k=[];for(let e=0;e=Math.abs(o[0].top-l[0].top)))return;if(s+1===r){a.push(r);return}let d=s+(r-s)/2|0,h=ix(t,i,n[d],n[d+1]);e(t,i,n,s,o,d,h,a),e(t,i,n,d,h,r,l,a)}(e,s,n,0,null,i.length-1,null,o)}catch(e){return console.log(e),null}return 0===o.length?null:(o.push(i.length),o)}(S,n,_[e],b[e]);if(null===s){k[e]=d(e);continue}let o=m[e],r=f[e]+u,a=C[e],h=[];for(let e=0,t=s.length;ee.options),i=c.map(e=>e.column-1)):(t=null,i=null),k[e]=new iC(i,t,s,h,r)}return e.document.body.removeChild(g),k})((0,tf.cW)(this.targetWindow.deref()),o,e,t,i,n,s,r)}}}function ix(e,t,i,n){return e.setStart(t[i/16384|0].firstChild,i%16384),e.setEnd(t[n/16384|0].firstChild,n%16384),e.getClientRects()}class iN extends f.JT{constructor(){super(),this._editor=null,this._instantiationService=null,this._instances=this._register(new f.b2),this._pending=new Map,this._finishedInstantiation=[],this._finishedInstantiation[0]=!1,this._finishedInstantiation[1]=!1,this._finishedInstantiation[2]=!1,this._finishedInstantiation[3]=!1}initialize(e,t,i){for(let n of(this._editor=e,this._instantiationService=i,t)){if(this._pending.has(n.id)){(0,p.dL)(Error(`Cannot have two contributions with the same id ${n.id}`));continue}this._pending.set(n.id,n)}this._instantiateSome(0),this._register((0,g.se)((0,g.Jj)(this._editor.getDomNode()),()=>{this._instantiateSome(1)})),this._register((0,g.se)((0,g.Jj)(this._editor.getDomNode()),()=>{this._instantiateSome(2)})),this._register((0,g.se)((0,g.Jj)(this._editor.getDomNode()),()=>{this._instantiateSome(3)},5e3))}saveViewState(){let e={};for(let[t,i]of this._instances)"function"==typeof i.saveViewState&&(e[t]=i.saveViewState());return e}restoreViewState(e){for(let[t,i]of this._instances)"function"==typeof i.restoreViewState&&i.restoreViewState(e[t])}get(e){return this._instantiateById(e),this._instances.get(e)||null}onBeforeInteractionEvent(){this._instantiateSome(2)}onAfterModelAttached(){var e;return(0,g.se)((0,g.Jj)(null===(e=this._editor)||void 0===e?void 0:e.getDomNode()),()=>{this._instantiateSome(1)},50)}_instantiateSome(e){if(this._finishedInstantiation[e])return;this._finishedInstantiation[e]=!0;let t=this._findPendingContributionsByInstantiation(e);for(let e of t)this._instantiateById(e.id)}_findPendingContributionsByInstantiation(e){let t=[];for(let[,i]of this._pending)i.instantiation===e&&t.push(i);return t}_instantiateById(e){let t=this._pending.get(e);if(t){if(this._pending.delete(e),!this._instantiationService||!this._editor)throw Error("Cannot instantiate contributions before being initialized!");try{let e=this._instantiationService.createInstance(t.ctor,this._editor);this._instances.set(t.id,e),"function"==typeof e.restoreViewState&&0!==t.instantiation&&console.warn(`Editor contribution '${t.id}' should be eager instantiated because it uses saveViewState / restoreViewState.`)}catch(e){(0,p.dL)(e)}}}}var iE=i(42525),iI=i(20897),iT=i(25777),iM=i(73440),iR=i(32712),iA=i(66629),iP=i(64106),iO=i(32035);class iF{static create(e){return new iF(e.get(134),e.get(133))}constructor(e,t){this.classifier=new iB(e,t)}createLineBreaksComputer(e,t,i,n,s){let o=[],r=[],l=[];return{addRequest:(e,t,i)=>{o.push(e),r.push(t),l.push(i)},finalize:()=>{let a=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth,d=[];for(let e=0,h=o.length;e0?(a=i.map(e=>e.options),d=i.map(e=>e.column-1)):(a=null,d=null),-1===s)return a?new iC(d,a,[h.length],[],0):null;let u=h.length;if(u<=1)return a?new iC(d,a,[h.length],[],0):null;let c="keepAll"===l,g=iK(h,n,s,o,r),p=s-g,m=[],f=[],_=0,v=0,b=0,C=s,w=h.charCodeAt(0),y=e.get(w),S=iV(w,0,n,o),L=1;ex.ZG(w)&&(S+=1,w=h.charCodeAt(1),y=e.get(w),L++);for(let t=L;tC&&((0===v||S-b>p)&&(v=r,b=S-s),m[_]=v,f[_]=b,_++,C=b+p,v=0),w=l,y=i}return 0!==_||i&&0!==i.length?(m[_]=u,f[_]=S,new iC(d,a,m,f,g)):null}(this.classifier,o[e],h,t,i,a,n,s):d[e]=function(e,t,i,n,s,o,r,l){if(-1===s)return null;let a=i.length;if(a<=1)return null;let d="keepAll"===l,h=t.breakOffsets,u=t.breakOffsetsVisibleColumn,c=iK(i,n,s,o,r),g=s-c,p=iW,m=iH,f=0,_=0,v=0,b=s,C=h.length,w=0;{let e=Math.abs(u[w]-b);for(;w+1=e)break;e=t,w++}}for(;wt&&(t=_,s=v);let r=0,l=0,c=0,y=0;if(s<=b){let v=s,C=0===t?0:i.charCodeAt(t-1),w=0===t?0:e.get(C),S=!0;for(let s=t;s_&&iz(C,w,u,t,d)&&(r=h,l=v),(v+=a)>b){h>_?(c=h,y=v-a):(c=s+1,y=v),v-l>g&&(r=0),S=!1;break}C=u,w=t}if(S){f>0&&(p[f]=h[h.length-1],m[f]=u[h.length-1],f++);break}}if(0===r){let a=s,h=i.charCodeAt(t),u=e.get(h),p=!1;for(let n=t-1;n>=_;n--){let t,s;let m=n+1,f=i.charCodeAt(n);if(9===f){p=!0;break}if(ex.YK(f)?(n--,t=0,s=2):(t=e.get(f),s=ex.K7(f)?o:1),a<=b){if(0===c&&(c=m,y=a),a<=b-g)break;if(iz(f,t,h,u,d)){r=m,l=a;break}}a-=s,h=f,u=t}if(0!==r){let e=g-(y-l);if(e<=n){let t=i.charCodeAt(c);e-(ex.ZG(t)?2:iV(t,y,n,o))<0&&(r=0)}}if(p){w--;continue}}if(0===r&&(r=c,l=y),r<=_){let e=i.charCodeAt(_);ex.ZG(e)?(r=_+2,l=v+2):(r=_+1,l=v+iV(e,v,n,o))}for(_=r,p[f]=r,v=l,m[f]=l,f++,b=l+g;w<0||w=S)break;S=e,w++}}return 0===f?null:(p.length=f,m.length=f,iW=t.breakOffsets,iH=t.breakOffsetsVisibleColumn,t.breakOffsets=p,t.breakOffsetsVisibleColumn=m,t.wrappedTextIndentLength=c,t)}(this.classifier,u,o[e],t,i,a,n,s)}return iW.length=0,iH.length=0,d}}}}class iB extends iO.N{constructor(e,t){super(0);for(let t=0;t=0&&e<256?this._asciiMap[e]:e>=12352&&e<=12543||e>=13312&&e<=19903||e>=19968&&e<=40959?3:this._map.get(e)||this._defaultValue}}let iW=[],iH=[];function iV(e,t,i,n){return 9===e?i-t%i:ex.K7(e)||e<32?n:1}function iz(e,t,i,n,s){return 32!==i&&(2===t&&2!==n||1!==t&&1===n||!s&&3===t&&2!==n||!s&&3===n&&1!==t)}function iK(e,t,i,n,s){let o=0;if(0!==s){let r=ex.LC(e);if(-1!==r){for(let i=0;ii&&(o=0)}}return o}var iU=i(70365),i$=i(2474);class iq{constructor(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new i$.rS(new Q.e(1,1,1,1),0,0,new G.L(1,1),0),new i$.rS(new Q.e(1,1,1,1),0,0,new G.L(1,1),0))}dispose(e){this._removeTrackedRange(e)}startTrackingSelection(e){this._trackSelection=!0,this._updateTrackedRange(e)}stopTrackingSelection(e){this._trackSelection=!1,this._removeTrackedRange(e)}_updateTrackedRange(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))}_removeTrackedRange(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)}asCursorState(){return new i$.Vi(this.modelState,this.viewState)}readSelectionFromMarkers(e){let t=e.model._getTrackedRange(this._selTrackedRange);return this.modelState.selection.isEmpty()&&!t.isEmpty()?em.Y.fromRange(t.collapseToEnd(),this.modelState.selection.getDirection()):em.Y.fromRange(t,this.modelState.selection.getDirection())}ensureValidState(e){this._setState(e,this.modelState,this.viewState)}setState(e,t,i){this._setState(e,t,i)}static _validatePositionWithCache(e,t,i,n){return t.equals(i)?n:e.normalizePosition(t,2)}static _validateViewState(e,t){let i=t.position,n=t.selectionStart.getStartPosition(),s=t.selectionStart.getEndPosition(),o=e.normalizePosition(i,2),r=this._validatePositionWithCache(e,n,i,o),l=this._validatePositionWithCache(e,s,n,r);return i.equals(o)&&n.equals(r)&&s.equals(l)?t:new i$.rS(Q.e.fromPositions(r,l),t.selectionStartKind,t.selectionStartLeftoverVisibleColumns+n.column-r.column,o,t.leftoverVisibleColumns+i.column-o.column)}_setState(e,t,i){if(i&&(i=iq._validateViewState(e.viewModel,i)),t){let i=e.model.validateRange(t.selectionStart),n=t.selectionStart.equalsRange(i)?t.selectionStartLeftoverVisibleColumns:0,s=e.model.validatePosition(t.position),o=t.position.equals(s)?t.leftoverVisibleColumns:0;t=new i$.rS(i,t.selectionStartKind,n,s,o)}else{if(!i)return;let n=e.model.validateRange(e.coordinatesConverter.convertViewRangeToModelRange(i.selectionStart)),s=e.model.validatePosition(e.coordinatesConverter.convertViewPositionToModelPosition(i.position));t=new i$.rS(n,i.selectionStartKind,i.selectionStartLeftoverVisibleColumns,s,i.leftoverVisibleColumns)}if(i){let n=e.coordinatesConverter.validateViewRange(i.selectionStart,t.selectionStart),s=e.coordinatesConverter.validateViewPosition(i.position,t.position);i=new i$.rS(n,t.selectionStartKind,t.selectionStartLeftoverVisibleColumns,s,t.leftoverVisibleColumns)}else{let n=e.coordinatesConverter.convertModelPositionToViewPosition(new G.L(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),s=e.coordinatesConverter.convertModelPositionToViewPosition(new G.L(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),o=new Q.e(n.lineNumber,n.column,s.lineNumber,s.column),r=e.coordinatesConverter.convertModelPositionToViewPosition(t.position);i=new i$.rS(o,t.selectionStartKind,t.selectionStartLeftoverVisibleColumns,r,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=i,this._updateTrackedRange(e)}}class ij{constructor(e){this.context=e,this.cursors=[new iq(e)],this.lastAddedCursorIndex=0}dispose(){for(let e of this.cursors)e.dispose(this.context)}startTrackingSelections(){for(let e of this.cursors)e.startTrackingSelection(this.context)}stopTrackingSelections(){for(let e of this.cursors)e.stopTrackingSelection(this.context)}updateContext(e){this.context=e}ensureValidState(){for(let e of this.cursors)e.ensureValidState(this.context)}readSelectionFromMarkers(){return this.cursors.map(e=>e.readSelectionFromMarkers(this.context))}getAll(){return this.cursors.map(e=>e.asCursorState())}getViewPositions(){return this.cursors.map(e=>e.viewState.position)}getTopMostViewPosition(){return(0,iU.vm)(this.cursors,(0,C.tT)(e=>e.viewState.position,G.L.compare)).viewState.position}getBottomMostViewPosition(){return(0,iU.BS)(this.cursors,(0,C.tT)(e=>e.viewState.position,G.L.compare)).viewState.position}getSelections(){return this.cursors.map(e=>e.modelState.selection)}getViewSelections(){return this.cursors.map(e=>e.viewState.selection)}setSelections(e){this.setStates(i$.Vi.fromModelSelections(e))}getPrimaryCursor(){return this.cursors[0].asCursorState()}setStates(e){null!==e&&(this.cursors[0].setState(this.context,e[0].modelState,e[0].viewState),this._setSecondaryStates(e.slice(1)))}_setSecondaryStates(e){let t=this.cursors.length-1,i=e.length;if(ti){let e=t-i;for(let t=0;t=e+1&&this.lastAddedCursorIndex--,this.cursors[e+1].dispose(this.context),this.cursors.splice(e+1,1)}normalize(){if(1===this.cursors.length)return;let e=this.cursors.slice(0),t=[];for(let i=0,n=e.length;ie.selection,Q.e.compareRangesUsingStarts));for(let i=0;il&&e.index--;e.splice(l,1),t.splice(r,1),this._removeSecondaryCursor(l-1),i--}}}}class iG{constructor(e,t,i,n){this._cursorContextBrand=void 0,this.model=e,this.viewModel=t,this.coordinatesConverter=i,this.cursorConfig=n}}var iQ=i(31768),iZ=i(73348);class iY{constructor(){this.type=0}}class iJ{constructor(){this.type=1}}class iX{constructor(e){this.type=2,this._source=e}hasChanged(e){return this._source.hasChanged(e)}}class i0{constructor(e,t,i){this.selections=e,this.modelSelections=t,this.reason=i,this.type=3}}class i1{constructor(e){this.type=4,e?(this.affectsMinimap=e.affectsMinimap,this.affectsOverviewRuler=e.affectsOverviewRuler,this.affectsGlyphMargin=e.affectsGlyphMargin,this.affectsLineNumber=e.affectsLineNumber):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0,this.affectsGlyphMargin=!0,this.affectsLineNumber=!0)}}class i2{constructor(){this.type=5}}class i4{constructor(e){this.type=6,this.isFocused=e}}class i5{constructor(){this.type=7}}class i3{constructor(){this.type=8}}class i7{constructor(e,t){this.fromLineNumber=e,this.count=t,this.type=9}}class i8{constructor(e,t){this.type=10,this.fromLineNumber=e,this.toLineNumber=t}}class i6{constructor(e,t){this.type=11,this.fromLineNumber=e,this.toLineNumber=t}}class i9{constructor(e,t,i,n,s,o,r){this.source=e,this.minimalReveal=t,this.range=i,this.selections=n,this.verticalType=s,this.revealHorizontal=o,this.scrollType=r,this.type=12}}class ne{constructor(e){this.type=13,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged}}class nt{constructor(e){this.theme=e,this.type=14}}class ni{constructor(e){this.type=15,this.ranges=e}}class nn{constructor(){this.type=16}}class ns{constructor(){this.type=17}}class no extends f.JT{constructor(){super(),this._onEvent=this._register(new m.Q5),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(e){this._addOutgoingEvent(e),this._emitOutgoingEvents()}_addOutgoingEvent(e){for(let t=0,i=this._outgoingEvents.length;t0;){if(this._collector||this._isConsumingViewEventQueue)return;let e=this._outgoingEvents.shift();e.isNoOp()||this._onEvent.fire(e)}}addViewEventHandler(e){for(let t=0,i=this._eventHandlers.length;t0&&this._emitMany(t)}this._emitOutgoingEvents()}emitSingleViewEvent(e){try{let t=this.beginEmitViewEvents();t.emitViewEvent(e)}finally{this.endEmitViewEvents()}}_emitMany(e){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(e):this._viewEventQueue=e,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){for(;this._viewEventQueue;){let e=this._viewEventQueue;this._viewEventQueue=null;let t=this._eventHandlers.slice(0);for(let i of t)i.handleEvents(e)}}}class nr{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(e){this.viewEvents.push(e)}emitOutgoingEvent(e){this.outgoingEvents.push(e)}}class nl{constructor(e,t,i,n){this.kind=0,this._oldContentWidth=e,this._oldContentHeight=t,this.contentWidth=i,this.contentHeight=n,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}attemptToMerge(e){return e.kind!==this.kind?null:new nl(this._oldContentWidth,this._oldContentHeight,e.contentWidth,e.contentHeight)}}class na{constructor(e,t){this.kind=1,this.oldHasFocus=e,this.hasFocus=t}isNoOp(){return this.oldHasFocus===this.hasFocus}attemptToMerge(e){return e.kind!==this.kind?null:new na(this.oldHasFocus,e.hasFocus)}}class nd{constructor(e,t,i,n,s,o,r,l){this.kind=2,this._oldScrollWidth=e,this._oldScrollLeft=t,this._oldScrollHeight=i,this._oldScrollTop=n,this.scrollWidth=s,this.scrollLeft=o,this.scrollHeight=r,this.scrollTop=l,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!this.scrollWidthChanged&&!this.scrollLeftChanged&&!this.scrollHeightChanged&&!this.scrollTopChanged}attemptToMerge(e){return e.kind!==this.kind?null:new nd(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop)}}class nh{constructor(){this.kind=3}isNoOp(){return!1}attemptToMerge(e){return e.kind!==this.kind?null:this}}class nu{constructor(){this.kind=4}isNoOp(){return!1}attemptToMerge(e){return e.kind!==this.kind?null:this}}class nc{constructor(e,t,i,n,s,o,r){this.kind=6,this.oldSelections=e,this.selections=t,this.oldModelVersionId=i,this.modelVersionId=n,this.source=s,this.reason=o,this.reachedMaxCursorCount=r}static _selectionsAreEqual(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;let i=e.length,n=t.length;if(i!==n)return!1;for(let n=0;n0){let e=this._cursors.getSelections();for(let t=0;to&&(n=n.slice(0,o),s=!0);let r=nw.from(this._model,this);return this._cursors.setStates(n),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,t,i,r,s)}setCursorColumnSelectData(e){this._columnSelectData=e}revealAll(e,t,i,n,s,o){let r=this._cursors.getViewPositions(),l=null,a=null;r.length>1?a=this._cursors.getViewSelections():l=Q.e.fromPositions(r[0],r[0]),e.emitViewEvent(new i9(t,i,l,a,n,s,o))}revealPrimary(e,t,i,n,s,o){let r=this._cursors.getPrimaryCursor(),l=[r.viewState.selection];e.emitViewEvent(new i9(t,i,null,l,n,s,o))}saveState(){let e=[],t=this._cursors.getSelections();for(let i=0,n=t.length;i0){let t=i$.Vi.fromModelSelections(i.resultingSelection);this.setStates(e,"modelChange",i.isUndoing?5:i.isRedoing?6:2,t)&&this.revealAll(e,"modelChange",!1,0,!0,0)}else{let t=this._cursors.readSelectionFromMarkers();this.setStates(e,"modelChange",2,i$.Vi.fromModelSelections(t))}}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;let e=this._cursors.getPrimaryCursor(),t=e.viewState.selectionStart.getStartPosition(),i=e.viewState.position;return{isReal:!1,fromViewLineNumber:t.lineNumber,fromViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,t),toViewLineNumber:i.lineNumber,toViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,i)}}getSelections(){return this._cursors.getSelections()}setSelections(e,t,i,n){this.setStates(e,t,n,i$.Vi.fromModelSelections(i))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(e){this._prevEditOperationType=e}_pushAutoClosedAction(e,t){let i=[],n=[];for(let s=0,o=e.length;s0&&this._pushAutoClosedAction(i,n),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()}_emitStateChangedIfNecessary(e,t,i,n,s){let o=nw.from(this._model,this);if(o.equals(n))return!1;let r=this._cursors.getSelections(),l=this._cursors.getViewSelections();if(e.emitViewEvent(new i0(l,r,i)),!n||n.cursorState.length!==o.cursorState.length||o.cursorState.some((e,t)=>!e.modelState.equals(n.cursorState[t].modelState))){let l=n?n.cursorState.map(e=>e.modelState.selection):null,a=n?n.modelVersionId:0;e.emitOutgoingEvent(new nc(l,r,a,o.modelVersionId,t||"keyboard",i,s))}return!0}_findAutoClosingPairs(e){if(!e.length)return null;let t=[];for(let i=0,n=e.length;i=0)return null;let s=n.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!s)return null;let o=s[1],r=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(o);if(!r||1!==r.length)return null;let l=r[0].open,a=n.text.length-s[2].length-1,d=n.text.lastIndexOf(l,a-1);if(-1===d)return null;t.push([d,a])}return t}executeEdits(e,t,i,n){let s=null;"snippet"===t&&(s=this._findAutoClosingPairs(i)),s&&(i[0]._isTracked=!0);let o=[],r=[],l=this._model.pushEditOperations(this.getSelections(),i,e=>{if(s)for(let t=0,i=s.length;t0&&this._pushAutoClosedAction(o,r)}_executeEdit(e,t,i,n=0){if(this.context.cursorConfig.readOnly)return;let s=nw.from(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),e()}catch(e){(0,p.dL)(e)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,i,n,s,!1)&&this.revealAll(t,i,!1,0,!0,0)}getAutoClosedCharacters(){return ny.getAllAutoClosedCharacters(this._autoClosedActions)}startComposition(e){this._compositionState=new nk(this._model,this.getSelections())}endComposition(e,t){let i=this._compositionState?this._compositionState.deduceOutcome(this._model,this.getSelections()):null;this._compositionState=null,this._executeEdit(()=>{"keyboard"===t&&this._executeEditOperation(iZ.u6.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,i,this.getSelections(),this.getAutoClosedCharacters()))},e,t)}type(e,t,i){this._executeEdit(()=>{if("keyboard"===i){let e=t.length,i=0;for(;i{let t=e.getPosition();return new em.Y(t.lineNumber,t.column+s,t.lineNumber,t.column+s)});this.setSelections(e,o,t,0)}return}this._executeEdit(()=>{this._executeEditOperation(iZ.u6.compositionType(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t,i,n,s))},e,o)}paste(e,t,i,n,s){this._executeEdit(()=>{this._executeEditOperation(iZ.u6.paste(this.context.cursorConfig,this._model,this.getSelections(),t,i,n||[]))},e,s,4)}cut(e,t){this._executeEdit(()=>{this._executeEditOperation(iQ.A.cut(this.context.cursorConfig,this._model,this.getSelections()))},e,t)}executeCommand(e,t,i){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new i$.Tp(0,[t],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,i)}executeCommands(e,t,i){this._executeEdit(()=>{this._executeEditOperation(new i$.Tp(0,t,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,i)}}class nw{static from(e,t){return new nw(e.getVersionId(),t.getCursorStates())}constructor(e,t){this.modelVersionId=e,this.cursorState=t}equals(e){if(!e||this.modelVersionId!==e.modelVersionId||this.cursorState.length!==e.cursorState.length)return!1;for(let t=0,i=this.cursorState.length;t=t.length||!t[i].strictContainsRange(e[i]))return!1;return!0}}class nS{static executeCommands(e,t,i){let n={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},s=this._innerExecuteCommands(n,i);for(let e=0,t=n.trackedRanges.length;e0&&(o[0]._isTracked=!0);let r=e.model.pushEditOperations(e.selectionsBefore,o,i=>{let n=[];for(let t=0;te.identifier.minor-t.identifier.minor,o=[];for(let i=0;i0?(n[i].sort(s),o[i]=t[i].computeCursorState(e.model,{getInverseEditOperations:()=>n[i],getTrackedSelection:t=>{let i=parseInt(t,10),n=e.model._getTrackedRange(e.trackedRanges[i]);return 0===e.trackedRangesDirection[i]?new em.Y(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):new em.Y(n.endLineNumber,n.endColumn,n.startLineNumber,n.startColumn)}})):o[i]=e.selectionsBefore[i];return o});r||(r=e.selectionsBefore);let l=[];for(let e in s)s.hasOwnProperty(e)&&l.push(parseInt(e,10));for(let e of(l.sort((e,t)=>t-e),l))r.splice(e,1);return r}static _arrayIsEmpty(e){for(let t=0,i=e.length;t{Q.e.isEmpty(e)&&""===o||n.push({identifier:{major:t,minor:s++},range:e,text:o,forceMoveMarkers:r,isAutoWhitespaceEdit:i.insertsAutoWhitespace})},r=!1;try{i.getEditOperations(e.model,{addEditOperation:o,addTrackedEditOperation:(e,t,i)=>{r=!0,o(e,t,i)},trackSelection:(t,i)=>{let n;let s=em.Y.liftSelection(t);if(s.isEmpty()){if("boolean"==typeof i)n=i?2:3;else{let t=e.model.getLineMaxColumn(s.startLineNumber);n=s.startColumn===t?2:3}}else n=1;let o=e.trackedRanges.length,r=e.model._setTrackedRange(null,s,n);return e.trackedRanges[o]=r,e.trackedRangesDirection[o]=s.getDirection(),o.toString()}})}catch(e){return(0,p.dL)(e),{operations:[],hadTrackedEditOperation:!1}}return{operations:n,hadTrackedEditOperation:r}}static _getLoserCursorMap(e){(e=e.slice(0)).sort((e,t)=>-Q.e.compareRangesUsingEnds(e.range,t.range));let t={};for(let i=1;is.identifier.major?n.identifier.major:s.identifier.major).toString()]=!0;for(let t=0;t0&&i--}}return t}}class nL{constructor(e,t,i){this.text=e,this.startSelection=t,this.endSelection=i}}class nk{static _capture(e,t){let i=[];for(let n of t){if(n.startLineNumber!==n.endLineNumber)return null;i.push(new nL(e.getLineContent(n.startLineNumber),n.startColumn-1,n.endColumn-1))}return i}constructor(e,t){this._original=nk._capture(e,t)}deduceOutcome(e,t){if(!this._original)return null;let i=nk._capture(e,t);if(!i||this._original.length!==i.length)return null;let n=[];for(let e=0,t=this._original.length;e>>1;t===e[o].afterLineNumber?i{t=!0,e|=0,i|=0,n|=0,s|=0;let o=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new nI(o,e,i,n,s)),o},changeOneWhitespace:(e,i,n)=>{t=!0,i|=0,n|=0,this._pendingChanges.change({id:e,newAfterLineNumber:i,newHeight:n})},removeWhitespace:e=>{t=!0,this._pendingChanges.remove({id:e})}};e(i)}finally{this._pendingChanges.commit(this)}return t}_commitPendingChanges(e,t,i){if((e.length>0||i.length>0)&&(this._minWidth=-1),e.length+t.length+i.length<=1){for(let t of e)this._insertWhitespace(t);for(let e of t)this._changeOneWhitespace(e.id,e.newAfterLineNumber,e.newHeight);for(let e of i){let t=this._findWhitespaceIndex(e.id);-1!==t&&this._removeWhitespace(t)}return}let n=new Set;for(let e of i)n.add(e.id);let s=new Map;for(let e of t)s.set(e.id,e);let o=e=>{let t=[];for(let i of e)if(!n.has(i.id)){if(s.has(i.id)){let e=s.get(i.id);i.afterLineNumber=e.newAfterLineNumber,i.height=e.newHeight}t.push(i)}return t},r=o(this._arr).concat(o(e));r.sort((e,t)=>e.afterLineNumber===t.afterLineNumber?e.ordinal-t.ordinal:e.afterLineNumber-t.afterLineNumber),this._arr=r,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(e){let t=nT.findInsertionIndex(this._arr,e.afterLineNumber,e.ordinal);this._arr.splice(t,0,e),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)}_findWhitespaceIndex(e){let t=this._arr;for(let i=0,n=t.length;it&&(this._arr[i].afterLineNumber-=t-e+1)}}onLinesInserted(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount+=t-e+1;for(let i=0,n=this._arr.length;i=t.length||t[r+1].afterLineNumber>=e)return r;i=r+1|0}else n=r-1|0}return -1}_findFirstWhitespaceAfterLineNumber(e){e|=0;let t=this._findLastWhitespaceBeforeLineNumber(e),i=t+1;return i1?this._lineHeight*(e-1):0;let n=this.getWhitespaceAccumulatedHeightBeforeLineNumber(e-(t?1:0));return i+n+this._paddingTop}getVerticalOffsetAfterLineNumber(e,t=!1){this._checkPendingChanges(),e|=0;let i=this._lineHeight*e,n=this.getWhitespaceAccumulatedHeightBeforeLineNumber(e+(t?1:0));return i+n+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),-1===this._minWidth){let e=0;for(let t=0,i=this._arr.length;tt}isInTopPadding(e){return 0!==this._paddingTop&&(this._checkPendingChanges(),e=t-this._paddingBottom}getLineNumberAtOrAfterVerticalOffset(e){if(this._checkPendingChanges(),(e|=0)<0)return 1;let t=0|this._lineCount,i=this._lineHeight,n=1,s=t;for(;n=o+i)n=t+1;else{if(e>=o)return t;s=t}}return n>t?t:n}getLinesViewportData(e,t){let i,n;this._checkPendingChanges(),e|=0,t|=0;let s=this._lineHeight,o=0|this.getLineNumberAtOrAfterVerticalOffset(e),r=0|this.getVerticalOffsetForLineNumber(o),l=0|this._lineCount,a=0|this.getFirstWhitespaceIndexAfterLineNumber(o),d=0|this.getWhitespacesCount();-1===a?(a=d,n=l+1,i=0):(n=0|this.getAfterLineNumberForWhitespaceIndex(a),i=0|this.getHeightForWhitespaceIndex(a));let h=r,u=h,c=0;r>=5e5&&(u-=c=Math.floor((c=5e5*Math.floor(r/5e5))/s)*s);let g=[],p=e+(t-e)/2,m=-1;for(let e=o;e<=l;e++){if(-1===m){let t=h,i=h+s;(t<=p&&pp)&&(m=e)}for(h+=s,g[e-o]=u,u+=s;n===e;)u+=i,h+=i,++a>=d?n=l+1:(n=0|this.getAfterLineNumberForWhitespaceIndex(a),i=0|this.getHeightForWhitespaceIndex(a));if(h>=t){l=e;break}}-1===m&&(m=l);let f=0|this.getVerticalOffsetForLineNumber(l),_=o,v=l;return _t&&v--,{bigNumbersDelta:c,startLineNumber:o,endLineNumber:l,relativeVerticalOffset:g,centeredLineNumber:m,completelyVisibleStartLineNumber:_,completelyVisibleEndLineNumber:v,lineHeight:this._lineHeight}}getVerticalOffsetForWhitespaceIndex(e){this._checkPendingChanges(),e|=0;let t=this.getAfterLineNumberForWhitespaceIndex(e);return(t>=1?this._lineHeight*t:0)+(e>0?this.getWhitespacesAccumulatedHeight(e-1):0)+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(e){this._checkPendingChanges(),e|=0;let t=0,i=this.getWhitespacesCount()-1;if(i<0)return -1;let n=this.getVerticalOffsetForWhitespaceIndex(i),s=this.getHeightForWhitespaceIndex(i);if(e>=n+s)return -1;for(;t=s+o)t=n+1;else{if(e>=s)return n;i=n}}return t}getWhitespaceAtVerticalOffset(e){this._checkPendingChanges(),e|=0;let t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0||t>=this.getWhitespacesCount())return null;let i=this.getVerticalOffsetForWhitespaceIndex(t);if(i>e)return null;let n=this.getHeightForWhitespaceIndex(t),s=this.getIdForWhitespaceIndex(t),o=this.getAfterLineNumberForWhitespaceIndex(t);return{id:s,afterLineNumber:o,verticalOffset:i,height:n}}getWhitespaceViewportData(e,t){this._checkPendingChanges(),e|=0,t|=0;let i=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),n=this.getWhitespacesCount()-1;if(i<0)return[];let s=[];for(let e=i;e<=n;e++){let i=this.getVerticalOffsetForWhitespaceIndex(e),n=this.getHeightForWhitespaceIndex(e);if(i>=t)break;s.push({id:this.getIdForWhitespaceIndex(e),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(e),verticalOffset:i,height:n})}return s}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].id}getAfterLineNumberForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].afterLineNumber}getHeightForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].height}}nT.INSTANCE_COUNT=0;class nM{constructor(e,t,i,n){(e|=0)<0&&(e=0),(t|=0)<0&&(t=0),(i|=0)<0&&(i=0),(n|=0)<0&&(n=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=i,this.contentHeight=n,this.scrollHeight=Math.max(i,n)}equals(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight}}class nR extends f.JT{constructor(e,t){super(),this._onDidContentSizeChange=this._register(new m.Q5),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._dimensions=new nM(0,0,0,0),this._scrollable=this._register(new nN.Rm({forceIntegerValues:!0,smoothScrollDuration:e,scheduleAtNextAnimationFrame:t})),this.onDidScroll=this._scrollable.onScroll}getScrollable(){return this._scrollable}setSmoothScrollDuration(e){this._scrollable.setSmoothScrollDuration(e)}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}getScrollDimensions(){return this._dimensions}setScrollDimensions(e){if(this._dimensions.equals(e))return;let t=this._dimensions;this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight},!0);let i=t.contentWidth!==e.contentWidth,n=t.contentHeight!==e.contentHeight;(i||n)&&this._onDidContentSizeChange.fire(new nl(t.contentWidth,t.contentHeight,e.contentWidth,e.contentHeight))}getFutureScrollPosition(){return this._scrollable.getFutureScrollPosition()}getCurrentScrollPosition(){return this._scrollable.getCurrentScrollPosition()}setScrollPositionNow(e){this._scrollable.setScrollPositionNow(e)}setScrollPositionSmooth(e){this._scrollable.setScrollPositionSmooth(e)}hasPendingScrollAnimation(){return this._scrollable.hasPendingScrollAnimation()}}class nA extends f.JT{constructor(e,t,i){super(),this._configuration=e;let n=this._configuration.options,s=n.get(145),o=n.get(84);this._linesLayout=new nT(t,n.get(67),o.top,o.bottom),this._maxLineWidth=0,this._overlayWidgetsMinWidth=0,this._scrollable=this._register(new nR(0,i)),this._configureSmoothScrollDuration(),this._scrollable.setScrollDimensions(new nM(s.contentWidth,0,s.height,0)),this.onDidScroll=this._scrollable.onDidScroll,this.onDidContentSizeChange=this._scrollable.onDidContentSizeChange,this._updateHeight()}dispose(){super.dispose()}getScrollable(){return this._scrollable.getScrollable()}onHeightMaybeChanged(){this._updateHeight()}_configureSmoothScrollDuration(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(114)?125:0)}onConfigurationChanged(e){let t=this._configuration.options;if(e.hasChanged(67)&&this._linesLayout.setLineHeight(t.get(67)),e.hasChanged(84)){let e=t.get(84);this._linesLayout.setPadding(e.top,e.bottom)}if(e.hasChanged(145)){let e=t.get(145),i=e.contentWidth,n=e.height,s=this._scrollable.getScrollDimensions(),o=s.contentWidth;this._scrollable.setScrollDimensions(new nM(i,s.contentWidth,n,this._getContentHeight(i,n,o)))}else this._updateHeight();e.hasChanged(114)&&this._configureSmoothScrollDuration()}onFlushed(e){this._linesLayout.onFlushed(e)}onLinesDeleted(e,t){this._linesLayout.onLinesDeleted(e,t)}onLinesInserted(e,t){this._linesLayout.onLinesInserted(e,t)}_getHorizontalScrollbarHeight(e,t){let i=this._configuration.options,n=i.get(103);return 2===n.horizontal||e>=t?0:n.horizontalScrollbarSize}_getContentHeight(e,t,i){let n=this._configuration.options,s=this._linesLayout.getLinesTotalHeight();return n.get(105)?s+=Math.max(0,t-n.get(67)-n.get(84).bottom):n.get(103).ignoreHorizontalScrollbarInContentHeight||(s+=this._getHorizontalScrollbarHeight(e,i)),s}_updateHeight(){let e=this._scrollable.getScrollDimensions(),t=e.width,i=e.height,n=e.contentWidth;this._scrollable.setScrollDimensions(new nM(t,e.contentWidth,i,this._getContentHeight(t,i,n)))}getCurrentViewport(){let e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new tM.l_(t.scrollTop,t.scrollLeft,e.width,e.height)}getFutureViewport(){let e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new tM.l_(t.scrollTop,t.scrollLeft,e.width,e.height)}_computeContentWidth(){let e=this._configuration.options,t=this._maxLineWidth,i=e.get(146),n=e.get(50),s=e.get(145);if(i.isViewportWrapping){let i=e.get(73);return t>s.contentWidth+n.typicalHalfwidthCharacterWidth&&i.enabled&&"right"===i.side?t+s.verticalScrollbarWidth:t}{let i=e.get(104)*n.typicalHalfwidthCharacterWidth,o=this._linesLayout.getWhitespaceMinWidth();return Math.max(t+i+s.verticalScrollbarWidth,o,this._overlayWidgetsMinWidth)}}setMaxLineWidth(e){this._maxLineWidth=e,this._updateContentWidth()}setOverlayWidgetsMinWidth(e){this._overlayWidgetsMinWidth=e,this._updateContentWidth()}_updateContentWidth(){let e=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new nM(e.width,this._computeContentWidth(),e.height,e.contentHeight)),this._updateHeight()}saveState(){let e=this._scrollable.getFutureScrollPosition(),t=e.scrollTop,i=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t),n=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(i);return{scrollTop:t,scrollTopWithoutViewZones:t-n,scrollLeft:e.scrollLeft}}changeWhitespace(e){let t=this._linesLayout.changeWhitespace(e);return t&&this.onHeightMaybeChanged(),t}getVerticalOffsetForLineNumber(e,t=!1){return this._linesLayout.getVerticalOffsetForLineNumber(e,t)}getVerticalOffsetAfterLineNumber(e,t=!1){return this._linesLayout.getVerticalOffsetAfterLineNumber(e,t)}isAfterLines(e){return this._linesLayout.isAfterLines(e)}isInTopPadding(e){return this._linesLayout.isInTopPadding(e)}isInBottomPadding(e){return this._linesLayout.isInBottomPadding(e)}getLineNumberAtVerticalOffset(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)}getWhitespaceAtVerticalOffset(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)}getLinesViewportData(){let e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)}getLinesViewportDataAtScrollTop(e){let t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)}getWhitespaceViewportData(){let e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){let e=this._scrollable.getScrollDimensions();return e.contentWidth}getScrollWidth(){let e=this._scrollable.getScrollDimensions();return e.scrollWidth}getContentHeight(){let e=this._scrollable.getScrollDimensions();return e.contentHeight}getScrollHeight(){let e=this._scrollable.getScrollDimensions();return e.scrollHeight}getCurrentScrollLeft(){let e=this._scrollable.getCurrentScrollPosition();return e.scrollLeft}getCurrentScrollTop(){let e=this._scrollable.getCurrentScrollPosition();return e.scrollTop}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}setScrollPosition(e,t){1===t?this._scrollable.setScrollPositionNow(e):this._scrollable.setScrollPositionSmooth(e)}hasPendingScrollAnimation(){return this._scrollable.hasPendingScrollAnimation()}deltaScrollNow(e,t){let i=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:i.scrollLeft+e,scrollTop:i.scrollTop+t})}}var nP=i(60699),nO=i(94458);function nF(e,t){return null!==e?new nB(e,t):t?nW.INSTANCE:nH.INSTANCE}class nB{constructor(e,t){this._projectionData=e,this._isVisible=t}isVisible(){return this._isVisible}setVisible(e){return this._isVisible=e,this}getProjectionData(){return this._projectionData}getViewLineCount(){return this._isVisible?this._projectionData.getOutputLineCount():0}getViewLineContent(e,t,i){let n;this._assertVisible();let s=i>0?this._projectionData.breakOffsets[i-1]:0,o=this._projectionData.breakOffsets[i];if(null!==this._projectionData.injectionOffsets){let i=this._projectionData.injectionOffsets.map((e,t)=>new iL.gk(0,0,e+1,this._projectionData.injectionOptions[t],0)),r=iL.gk.applyInjectedText(e.getLineContent(t),i);n=r.substring(s,o)}else n=e.getValueInRange({startLineNumber:t,startColumn:s+1,endLineNumber:t,endColumn:o+1});return i>0&&(n=nz(this._projectionData.wrappedTextIndentLength)+n),n}getViewLineLength(e,t,i){return this._assertVisible(),this._projectionData.getLineLength(i)}getViewLineMinColumn(e,t,i){return this._assertVisible(),this._projectionData.getMinOutputOffset(i)+1}getViewLineMaxColumn(e,t,i){return this._assertVisible(),this._projectionData.getMaxOutputOffset(i)+1}getViewLineData(e,t,i){let n=[];return this.getViewLinesData(e,t,i,1,0,[!0],n),n[0]}getViewLinesData(e,t,i,n,s,o,r){let l;this._assertVisible();let a=this._projectionData,d=a.injectionOffsets,h=a.injectionOptions,u=null;if(d){u=[];let e=0,t=0;for(let i=0;i0?a.breakOffsets[i-1]:0,o=a.breakOffsets[i];for(;to)break;if(s0?a.wrappedTextIndentLength:0,r=t+Math.max(l-s,0),d=t+Math.min(u-s,o-s);r!==d&&n.push(new tM.Wx(r,d,e.inlineClassName,e.inlineClassNameAffectsLetterSpacing))}}if(u<=o)e+=r,t++;else break}}}l=d?e.tokenization.getLineTokens(t).withInserted(d.map((e,t)=>({offset:e,text:h[t].content,tokenMetadata:nO.A.defaultTokenMetadata}))):e.tokenization.getLineTokens(t);for(let e=i;e0?n.wrappedTextIndentLength:0,o=i>0?n.breakOffsets[i-1]:0,r=n.breakOffsets[i],l=e.sliceAndInflate(o,r,s),a=l.getLineContent();i>0&&(a=nz(n.wrappedTextIndentLength)+a);let d=this._projectionData.getMinOutputOffset(i)+1,h=a.length+1,u=i+1=nV.length)for(let t=1;t<=e;t++)nV[t]=Array(t+1).join(" ");return nV[e]}var nK=i(83591);class nU{constructor(e,t,i,n,s,o,r,l,a,d){this._editorId=e,this.model=t,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=i,this._monospaceLineBreaksComputerFactory=n,this.fontInfo=s,this.tabSize=o,this.wrappingStrategy=r,this.wrappingColumn=l,this.wrappingIndent=a,this.wordBreak=d,this._constructLines(!0,null)}dispose(){this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[])}createCoordinatesConverter(){return new nj(this)}_constructLines(e,t){this.modelLineProjections=[],e&&(this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[]));let i=this.model.getLinesContent(),n=this.model.getInjectedTextDecorations(this._editorId),s=i.length,o=this.createLineBreaksComputer(),r=new C.H9(iL.gk.fromDecorations(n));for(let e=0;et.lineNumber===e+1);o.addRequest(i[e],n,t?t[e]:null)}let l=o.finalize(),a=[],d=this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e)).sort(Q.e.compareRangesUsingStarts),h=1,u=0,c=-1,g=0=h&&t<=u,n=nF(l[e],!i);a[e]=n.getViewLineCount(),this.modelLineProjections[e]=n}this._validModelVersionId=this.model.getVersionId(),this.projectedModelLineLineCounts=new nK.Ck(a)}getHiddenAreas(){return this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e))}setHiddenAreas(e){let t=e.map(e=>this.model.validateRange(e)),i=function(e){if(0===e.length)return[];let t=e.slice();t.sort(Q.e.compareRangesUsingStarts);let i=[],n=t[0].startLineNumber,s=t[0].endLineNumber;for(let e=1,o=t.length;es+1?(i.push(new Q.e(n,1,s,1)),n=o.startLineNumber,s=o.endLineNumber):o.endLineNumber>s&&(s=o.endLineNumber)}return i.push(new Q.e(n,1,s,1)),i}(t),n=this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e)).sort(Q.e.compareRangesUsingStarts);if(i.length===n.length){let e=!1;for(let t=0;t({range:e,options:iA.qx.EMPTY}));this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,s);let o=1,r=0,l=-1,a=0=o&&t<=r?this.modelLineProjections[e].isVisible()&&(this.modelLineProjections[e]=this.modelLineProjections[e].setVisible(!1),n=!0):(d=!0,this.modelLineProjections[e].isVisible()||(this.modelLineProjections[e]=this.modelLineProjections[e].setVisible(!0),n=!0)),n){let t=this.modelLineProjections[e].getViewLineCount();this.projectedModelLineLineCounts.setValue(e,t)}}return d||this.setHiddenAreas([]),!0}modelPositionIsVisible(e,t){return!(e<1)&&!(e>this.modelLineProjections.length)&&this.modelLineProjections[e-1].isVisible()}getModelLineViewLineCount(e){return e<1||e>this.modelLineProjections.length?1:this.modelLineProjections[e-1].getViewLineCount()}setTabSize(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)}setWrappingSettings(e,t,i,n,s){let o=this.fontInfo.equals(e),r=this.wrappingStrategy===t,l=this.wrappingColumn===i,a=this.wrappingIndent===n,d=this.wordBreak===s;if(o&&r&&l&&a&&d)return!1;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=i,this.wrappingIndent=n,this.wordBreak=s;let h=null;if(o&&r&&!l&&a&&d){h=[];for(let e=0,t=this.modelLineProjections.length;e2&&!this.modelLineProjections[t-2].isVisible(),o=1===t?1:this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,r=0,l=[],a=[];for(let e=0,t=n.length;el?(p=(g=(h=(d=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1)+l-1)+1)+(s-l)-1,a=!0):st?t:0|e}getActiveIndentGuide(e,t,i){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),i=this._toValidViewLineNumber(i);let n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),s=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),o=this.convertViewPositionToModelPosition(i,this.getViewLineMinColumn(i)),r=this.model.guides.getActiveIndentGuide(n.lineNumber,s.lineNumber,o.lineNumber),l=this.convertModelPositionToViewPosition(r.startLineNumber,1),a=this.convertModelPositionToViewPosition(r.endLineNumber,this.model.getLineMaxColumn(r.endLineNumber));return{startLineNumber:l.lineNumber,endLineNumber:a.lineNumber,indent:r.indent}}getViewLineInfo(e){e=this._toValidViewLineNumber(e);let t=this.projectedModelLineLineCounts.getIndexOf(e-1),i=t.index,n=t.remainder;return new n$(i+1,n)}getMinColumnOfViewLine(e){return this.modelLineProjections[e.modelLineNumber-1].getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx)}getMaxColumnOfViewLine(e){return this.modelLineProjections[e.modelLineNumber-1].getViewLineMaxColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx)}getModelStartPositionOfViewLine(e){let t=this.modelLineProjections[e.modelLineNumber-1],i=t.getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),n=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,i);return new G.L(e.modelLineNumber,n)}getModelEndPositionOfViewLine(e){let t=this.modelLineProjections[e.modelLineNumber-1],i=t.getViewLineMaxColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),n=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,i);return new G.L(e.modelLineNumber,n)}getViewLineInfosGroupedByModelRanges(e,t){let i=this.getViewLineInfo(e),n=this.getViewLineInfo(t),s=[],o=this.getModelStartPositionOfViewLine(i),r=[];for(let e=i.modelLineNumber;e<=n.modelLineNumber;e++){let t=this.modelLineProjections[e-1];if(t.isVisible()){let s=e===i.modelLineNumber?i.modelLineWrappedLineIdx:0,o=e===n.modelLineNumber?n.modelLineWrappedLineIdx+1:t.getViewLineCount();for(let t=s;t{if(-1!==e.forWrappedLinesAfterColumn){let t=this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.forWrappedLinesAfterColumn);if(t.lineNumber>=n.modelLineWrappedLineIdx)return}if(-1!==e.forWrappedLinesBeforeOrAtColumn){let t=this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.forWrappedLinesBeforeOrAtColumn);if(t.lineNumbern.modelLineWrappedLineIdx)return}let i=this.convertModelPositionToViewPosition(n.modelLineNumber,e.horizontalLine.endColumn),s=this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.horizontalLine.endColumn);return s.lineNumber===n.modelLineWrappedLineIdx?new tv.UO(e.visibleColumn,t,e.className,new tv.vW(e.horizontalLine.top,i.column),-1,-1):s.lineNumber!!e))}}return o}getViewLinesIndentGuides(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);let i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),n=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),s=[],o=[],r=[],l=i.lineNumber-1,a=n.lineNumber-1,d=null;for(let e=l;e<=a;e++){let t=this.modelLineProjections[e];if(t.isVisible()){let n=t.getViewLineNumberOfModelPosition(0,e===l?i.column:1),s=t.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(e+1)),a=s-n+1,h=0;a>1&&1===t.getViewLineMinColumn(this.model,e+1,s)&&(h=0===n?1:2),o.push(a),r.push(h),null===d&&(d=new G.L(e+1,0))}else null!==d&&(s=s.concat(this.model.guides.getLinesIndentGuides(d.lineNumber,e)),d=null)}null!==d&&(s=s.concat(this.model.guides.getLinesIndentGuides(d.lineNumber,n.lineNumber)),d=null);let h=t-e+1,u=Array(h),c=0;for(let e=0,t=s.length;et&&(u=!0,h=t-s+1),a.getViewLinesData(this.model,n+1,d,h,s-e,i,l),s+=h,u)break}return l}validateViewPosition(e,t,i){e=this._toValidViewLineNumber(e);let n=this.projectedModelLineLineCounts.getIndexOf(e-1),s=n.index,o=n.remainder,r=this.modelLineProjections[s],l=r.getViewLineMinColumn(this.model,s+1,o),a=r.getViewLineMaxColumn(this.model,s+1,o);ta&&(t=a);let d=r.getModelColumnOfViewPosition(o,t),h=this.model.validatePosition(new G.L(s+1,d));return h.equals(i)?new G.L(e,t):this.convertModelPositionToViewPosition(i.lineNumber,i.column)}validateViewRange(e,t){let i=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),n=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new Q.e(i.lineNumber,i.column,n.lineNumber,n.column)}convertViewPositionToModelPosition(e,t){let i=this.getViewLineInfo(e),n=this.modelLineProjections[i.modelLineNumber-1].getModelColumnOfViewPosition(i.modelLineWrappedLineIdx,t);return this.model.validatePosition(new G.L(i.modelLineNumber,n))}convertViewRangeToModelRange(e){let t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),i=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new Q.e(t.lineNumber,t.column,i.lineNumber,i.column)}convertModelPositionToViewPosition(e,t,i=2,n=!1,s=!1){let o=this.model.validatePosition(new G.L(e,t)),r=o.lineNumber,l=o.column,a=r-1,d=!1;if(s)for(;a0&&!this.modelLineProjections[a].isVisible();)a--,d=!0;if(0===a&&!this.modelLineProjections[a].isVisible())return new G.L(n?0:1,1);let h=1+this.projectedModelLineLineCounts.getPrefixSum(a);return d?s?this.modelLineProjections[a].getViewPositionOfModelPosition(h,1,i):this.modelLineProjections[a].getViewPositionOfModelPosition(h,this.model.getLineMaxColumn(a+1),i):this.modelLineProjections[r-1].getViewPositionOfModelPosition(h,l,i)}convertModelRangeToViewRange(e,t=0){if(e.isEmpty()){let i=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,t);return Q.e.fromPositions(i)}{let t=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,1),i=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn,0);return new Q.e(t.lineNumber,t.column,i.lineNumber,i.column)}}getViewLineNumberOfModelPosition(e,t){let i=e-1;if(this.modelLineProjections[i].isVisible()){let e=1+this.projectedModelLineLineCounts.getPrefixSum(i);return this.modelLineProjections[i].getViewLineNumberOfModelPosition(e,t)}for(;i>0&&!this.modelLineProjections[i].isVisible();)i--;if(0===i&&!this.modelLineProjections[i].isVisible())return 1;let n=1+this.projectedModelLineLineCounts.getPrefixSum(i);return this.modelLineProjections[i].getViewLineNumberOfModelPosition(n,this.model.getLineMaxColumn(i+1))}getDecorationsInRange(e,t,i,n,s){let o=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),r=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(r.lineNumber-o.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new Q.e(o.lineNumber,1,r.lineNumber,r.column),t,i,n,s);let l=[],a=o.lineNumber-1,d=r.lineNumber-1,h=null;for(let e=a;e<=d;e++){let s=this.modelLineProjections[e];if(s.isVisible())null===h&&(h=new G.L(e+1,e===a?o.column:1));else if(null!==h){let s=this.model.getLineMaxColumn(e);l=l.concat(this.model.getDecorationsInRange(new Q.e(h.lineNumber,h.column,e,s),t,i,n)),h=null}}null!==h&&(l=l.concat(this.model.getDecorationsInRange(new Q.e(h.lineNumber,h.column,r.lineNumber,r.column),t,i,n)),h=null),l.sort((e,t)=>{let i=Q.e.compareRangesUsingStarts(e.range,t.range);return 0===i?e.idt.id?1:0:i});let u=[],c=0,g=null;for(let e of l){let t=e.id;g!==t&&(g=t,u[c++]=e)}return u}getInjectedTextAt(e){let t=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[t.modelLineNumber-1].getInjectedTextAt(t.modelLineWrappedLineIdx,e.column)}normalizePosition(e,t){let i=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[i.modelLineNumber-1].normalizePosition(i.modelLineWrappedLineIdx,e,t)}getLineIndentColumn(e){let t=this.getViewLineInfo(e);return 0===t.modelLineWrappedLineIdx?this.model.getLineIndentColumn(t.modelLineNumber):0}}class n${constructor(e,t){this.modelLineNumber=e,this.modelLineWrappedLineIdx=t}}class nq{constructor(e,t){this.modelRange=e,this.viewLines=t}}class nj{constructor(e){this._lines=e}convertViewPositionToModelPosition(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)}convertViewRangeToModelRange(e){return this._lines.convertViewRangeToModelRange(e)}validateViewPosition(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)}validateViewRange(e,t){return this._lines.validateViewRange(e,t)}convertModelPositionToViewPosition(e,t,i,n){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column,t,i,n)}convertModelRangeToViewRange(e,t){return this._lines.convertModelRangeToViewRange(e,t)}modelPositionIsVisible(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)}getModelLineViewLineCount(e){return this._lines.getModelLineViewLineCount(e)}getViewLineNumberOfModelPosition(e,t){return this._lines.getViewLineNumberOfModelPosition(e,t)}}class nG{constructor(e){this.model=e}dispose(){}createCoordinatesConverter(){return new nQ(this)}getHiddenAreas(){return[]}setHiddenAreas(e){return!1}setTabSize(e){return!1}setWrappingSettings(e,t,i,n){return!1}createLineBreaksComputer(){let e=[];return{addRequest:(t,i,n)=>{e.push(null)},finalize:()=>e}}onModelFlushed(){}onModelLinesDeleted(e,t,i){return new i8(t,i)}onModelLinesInserted(e,t,i,n){return new i6(t,i)}onModelLineChanged(e,t,i){return[!1,new i7(t,1),null,null]}acceptVersionId(e){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(e,t,i){return{startLineNumber:e,endLineNumber:e,indent:0}}getViewLinesBracketGuides(e,t,i){return Array(t-e+1).fill([])}getViewLinesIndentGuides(e,t){let i=t-e+1,n=Array(i);for(let e=0;et)}getModelLineViewLineCount(e){return 1}getViewLineNumberOfModelPosition(e,t){return e}}let nZ=tl.U.Right;class nY{constructor(e){this.persist=0,this._requiredLanes=1,this.lanes=new Uint8Array(Math.ceil((e+1)*nZ/8))}reset(e){let t=Math.ceil((e+1)*nZ/8);this.lanes.length>>3]|=1<>>3]&1<>>3]&1<this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStart=nX.create(this.model),this.glyphLanes=new nY(0),this.model.isTooLargeForTokenization())this._lines=new nG(this.model);else{let e=this._configuration.options,t=e.get(50),i=e.get(139),o=e.get(146),r=e.get(138),l=e.get(129);this._lines=new nU(this._editorId,this.model,n,s,t,this.model.getOptions().tabSize,i,o.wrappingColumn,r,l)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new nC(i,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new nA(this._configuration,this.getLineCount(),o)),this._register(this.viewLayout.onDidScroll(e=>{e.scrollTopChanged&&this._handleVisibleLinesChanged(),e.scrollTopChanged&&this._viewportStart.invalidate(),this._eventDispatcher.emitSingleViewEvent(new ne(e)),this._eventDispatcher.emitOutgoingEvent(new nd(e.oldScrollWidth,e.oldScrollLeft,e.oldScrollHeight,e.oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(e=>{this._eventDispatcher.emitOutgoingEvent(e)})),this._decorations=new nP.CU(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(e=>{try{let t=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(tT.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new nn)})),this._register(this._themeService.onDidColorThemeChange(e=>{this._invalidateDecorationsColorCache(),this._eventDispatcher.emitSingleViewEvent(new nt(e))})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this._viewportStart.dispose(),this._eventDispatcher.dispose()}createLineBreaksComputer(){return this._lines.createLineBreaksComputer()}addViewEventHandler(e){this._eventDispatcher.addViewEventHandler(e)}removeViewEventHandler(e){this._eventDispatcher.removeViewEventHandler(e)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}getModelVisibleRanges(){let e=this.viewLayout.getLinesViewportData(),t=new Q.e(e.startLineNumber,this.getLineMinColumn(e.startLineNumber),e.endLineNumber,this.getLineMaxColumn(e.endLineNumber)),i=this._toModelVisibleRanges(t);return i}visibleLinesStabilized(){let e=this.getModelVisibleRanges();this._attachedView.setVisibleLines(e,!0)}_handleVisibleLinesChanged(){let e=this.getModelVisibleRanges();this._attachedView.setVisibleLines(e,!1)}setHasFocus(e){this._hasFocus=e,this._cursor.setHasFocus(e),this._eventDispatcher.emitSingleViewEvent(new i4(e)),this._eventDispatcher.emitOutgoingEvent(new na(!e,e))}onCompositionStart(){this._eventDispatcher.emitSingleViewEvent(new iY)}onCompositionEnd(){this._eventDispatcher.emitSingleViewEvent(new iJ)}_captureStableViewport(){if(this._viewportStart.isValid&&this.viewLayout.getCurrentScrollTop()>0){let e=new G.L(this._viewportStart.viewLineNumber,this.getLineMinColumn(this._viewportStart.viewLineNumber)),t=this.coordinatesConverter.convertViewPositionToModelPosition(e);return new n4(t,this._viewportStart.startLineDelta)}return new n4(null,0)}_onConfigurationChanged(e,t){let i=this._captureStableViewport(),n=this._configuration.options,s=n.get(50),o=n.get(139),r=n.get(146),l=n.get(138),a=n.get(129);this._lines.setWrappingSettings(s,o,r.wrappingColumn,l,a)&&(e.emitViewEvent(new i2),e.emitViewEvent(new i3),e.emitViewEvent(new i1(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this._updateConfigurationViewLineCount.schedule()),t.hasChanged(91)&&(this._decorations.reset(),e.emitViewEvent(new i1(null))),t.hasChanged(98)&&(this._decorations.reset(),e.emitViewEvent(new i1(null))),e.emitViewEvent(new iX(t)),this.viewLayout.onConfigurationChanged(t),i.recoverViewportStart(this.coordinatesConverter,this.viewLayout),i$.LM.shouldRecreate(t)&&(this.cursorConfig=new i$.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeContentOrInjectedText(e=>{try{let t=this._eventDispatcher.beginEmitViewEvents(),i=!1,n=!1,s=e instanceof iL.fV?e.rawContentChangedEvent.changes:e.changes,o=e instanceof iL.fV?e.rawContentChangedEvent.versionId:null,r=this._lines.createLineBreaksComputer();for(let e of s)switch(e.changeType){case 4:for(let t=0;t!e.ownerId||e.ownerId===this._editorId)),r.addRequest(i,n,null)}break;case 2:{let t=null;e.injectedText&&(t=e.injectedText.filter(e=>!e.ownerId||e.ownerId===this._editorId)),r.addRequest(e.detail,t,null)}}let l=r.finalize(),a=new C.H9(l);for(let e of s)switch(e.changeType){case 1:this._lines.onModelFlushed(),t.emitViewEvent(new i2),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),i=!0;break;case 3:{let n=this._lines.onModelLinesDeleted(o,e.fromLineNumber,e.toLineNumber);null!==n&&(t.emitViewEvent(n),this.viewLayout.onLinesDeleted(n.fromLineNumber,n.toLineNumber)),i=!0;break}case 4:{let n=a.takeCount(e.detail.length),s=this._lines.onModelLinesInserted(o,e.fromLineNumber,e.toLineNumber,n);null!==s&&(t.emitViewEvent(s),this.viewLayout.onLinesInserted(s.fromLineNumber,s.toLineNumber)),i=!0;break}case 2:{let i=a.dequeue(),[s,r,l,d]=this._lines.onModelLineChanged(o,e.lineNumber,i);n=s,r&&t.emitViewEvent(r),l&&(t.emitViewEvent(l),this.viewLayout.onLinesInserted(l.fromLineNumber,l.toLineNumber)),d&&(t.emitViewEvent(d),this.viewLayout.onLinesDeleted(d.fromLineNumber,d.toLineNumber))}}null!==o&&this._lines.acceptVersionId(o),this.viewLayout.onHeightMaybeChanged(),!i&&n&&(t.emitViewEvent(new i3),t.emitViewEvent(new i1(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}let t=this._viewportStart.isValid;if(this._viewportStart.invalidate(),this._configuration.setModelLineCount(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&t){let e=this.model._getTrackedRange(this._viewportStart.modelTrackedRange);if(e){let t=this.coordinatesConverter.convertModelPositionToViewPosition(e.getStartPosition()),i=this.viewLayout.getVerticalOffsetForLineNumber(t.lineNumber);this.viewLayout.setScrollPosition({scrollTop:i+this._viewportStart.startLineDelta},1)}}try{let t=this._eventDispatcher.beginEmitViewEvents();e instanceof iL.fV&&t.emitOutgoingEvent(new n_(e.contentChangedEvent)),this._cursor.onModelContentChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}this._handleVisibleLinesChanged()})),this._register(this.model.onDidChangeTokens(e=>{let t=[];for(let i=0,n=e.ranges.length;i{this._eventDispatcher.emitSingleViewEvent(new i5),this.cursorConfig=new i$.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new nf(e))})),this._register(this.model.onDidChangeLanguage(e=>{this.cursorConfig=new i$.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new nm(e))})),this._register(this.model.onDidChangeOptions(e=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{let e=this._eventDispatcher.beginEmitViewEvents();e.emitViewEvent(new i2),e.emitViewEvent(new i3),e.emitViewEvent(new i1(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new i$.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new nv(e))})),this._register(this.model.onDidChangeDecorations(e=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new i1(e)),this._eventDispatcher.emitOutgoingEvent(new np(e))}))}setHiddenAreas(e,t){var i;this.hiddenAreasModel.setHiddenAreas(t,e);let n=this.hiddenAreasModel.getMergedRanges();if(n===this.previousHiddenAreas)return;this.previousHiddenAreas=n;let s=this._captureStableViewport(),o=!1;try{let e=this._eventDispatcher.beginEmitViewEvents();(o=this._lines.setHiddenAreas(n))&&(e.emitViewEvent(new i2),e.emitViewEvent(new i3),e.emitViewEvent(new i1(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged());let t=null===(i=s.viewportStartModelPosition)||void 0===i?void 0:i.lineNumber,r=t&&n.some(e=>e.startLineNumber<=t&&t<=e.endLineNumber);r||s.recoverViewportStart(this.coordinatesConverter,this.viewLayout)}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule(),o&&this._eventDispatcher.emitOutgoingEvent(new nu)}getVisibleRangesPlusViewportAboveBelow(){let e=this._configuration.options.get(145),t=this._configuration.options.get(67),i=Math.max(20,Math.round(e.height/t)),n=this.viewLayout.getLinesViewportData(),s=Math.max(1,n.completelyVisibleStartLineNumber-i),o=Math.min(this.getLineCount(),n.completelyVisibleEndLineNumber+i);return this._toModelVisibleRanges(new Q.e(s,this.getLineMinColumn(s),o,this.getLineMaxColumn(o)))}getVisibleRanges(){let e=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(e)}getHiddenAreas(){return this._lines.getHiddenAreas()}_toModelVisibleRanges(e){let t=this.coordinatesConverter.convertViewRangeToModelRange(e),i=this._lines.getHiddenAreas();if(0===i.length)return[t];let n=[],s=0,o=t.startLineNumber,r=t.startColumn,l=t.endLineNumber,a=t.endColumn;for(let e=0,t=i.length;el||(ot.toInlineDecoration(e))]),new tM.wA(o.minColumn,o.maxColumn,o.content,o.continuesWithWrappedLine,i,n,o.tokens,t,s,o.startVisibleColumn)}getViewLineData(e){return this._lines.getViewLineData(e)}getMinimapLinesRenderingData(e,t,i){let n=this._lines.getViewLinesData(e,t,i);return new tM.ud(this.getTabSize(),n)}getAllOverviewRulerDecorations(e){let t=this.model.getOverviewRulerDecorations(this._editorId,(0,I.$J)(this._configuration.options)),i=new n0;for(let n of t){let t=n.options,s=t.overviewRuler;if(!s)continue;let o=s.position;if(0===o)continue;let r=s.getColor(e.value),l=this.coordinatesConverter.getViewLineNumberOfModelPosition(n.range.startLineNumber,n.range.startColumn),a=this.coordinatesConverter.getViewLineNumberOfModelPosition(n.range.endLineNumber,n.range.endColumn);i.accept(r,t.zIndex,l,a,o)}return i.asArray}_invalidateDecorationsColorCache(){let e=this.model.getOverviewRulerDecorations();for(let t of e){let e=t.options.overviewRuler;null==e||e.invalidateCachedColor();let i=t.options.minimap;null==i||i.invalidateCachedColor()}}getValueInRange(e,t){let i=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(i,t)}getValueLengthInRange(e,t){let i=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueLengthInRange(i,t)}modifyPosition(e,t){let i=this.coordinatesConverter.convertViewPositionToModelPosition(e),n=this.model.modifyPosition(i,t);return this.coordinatesConverter.convertModelPositionToViewPosition(n)}deduceModelPositionRelativeToViewPosition(e,t,i){let n=this.coordinatesConverter.convertViewPositionToModelPosition(e);2===this.model.getEOL().length&&(t<0?t-=i:t+=i);let s=this.model.getOffsetAt(n),o=s+t;return this.model.getPositionAt(o)}getPlainTextToCopy(e,t,i){let n=i?"\r\n":this.model.getEOL();(e=e.slice(0)).sort(Q.e.compareRangesUsingStarts);let s=!1,o=!1;for(let t of e)t.isEmpty()?s=!0:o=!0;if(!o){if(!t)return"";let i=e.map(e=>e.startLineNumber),s="";for(let e=0;e0&&i[e-1]===i[e]||(s+=this.model.getLineContent(i[e])+n);return s}if(s&&t){let t=[],n=0;for(let s of e){let e=s.startLineNumber;s.isEmpty()?e!==n&&t.push(this.model.getLineContent(e)):t.push(this.model.getValueInRange(s,i?2:0)),n=e}return 1===t.length?t[0]:t}let r=[];for(let t of e)t.isEmpty()||r.push(this.model.getValueInRange(t,i?2:0));return 1===r.length?r[0]:r}getRichTextToCopy(e,t){let i;let n=this.model.getLanguageId();if(n===nD.bd||1!==e.length)return null;let s=e[0];if(s.isEmpty()){if(!t)return null;let e=s.startLineNumber;s=new Q.e(e,this.model.getLineMinColumn(e),e,this.model.getLineMaxColumn(e))}let o=this._configuration.options.get(50),r=this._getColorMap(),l=/[:;\\\/<>]/.test(o.fontFamily),a=l||o.fontFamily===I.hL.fontFamily;if(a)i=I.hL.fontFamily;else{i=(i=o.fontFamily).replace(/"/g,"'");let e=/[,']/.test(i);if(!e){let e=/[+ ]/.test(i);e&&(i=`'${i}'`)}i=`${i}, ${I.hL.fontFamily}`}return{mode:n,html:`
    `+this._getHTMLToCopy(s,r)+"
    "}}_getHTMLToCopy(e,t){let i=e.startLineNumber,n=e.startColumn,s=e.endLineNumber,o=e.endColumn,r=this.getTabSize(),l="";for(let e=i;e<=s;e++){let a=this.model.tokenization.getLineTokens(e),d=a.getLineContent(),h=e===i?n-1:0,u=e===s?o-1:d.length;""===d?l+="
    ":l+=(0,nx.Fq)(d,a.inflate(),t,h,u,r,y.ED)}return l}_getColorMap(){let e=eO.RW.getColorMap(),t=["#000000"];if(e)for(let i=1,n=e.length;ithis._cursor.setStates(n,e,t,i))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}getCursorAutoClosedCharacters(){return this._cursor.getAutoClosedCharacters()}setCursorColumnSelectData(e){this._cursor.setCursorColumnSelectData(e)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(e){this._cursor.setPrevEditOperationType(e)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(e,t,i=0){this._withViewEventsCollector(n=>this._cursor.setSelections(n,e,t,i))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(e){this._withViewEventsCollector(t=>this._cursor.restoreState(t,e))}_executeCursorEdit(e){if(this._cursor.context.cursorConfig.readOnly){this._eventDispatcher.emitOutgoingEvent(new ng);return}this._withViewEventsCollector(e)}executeEdits(e,t,i){this._executeCursorEdit(n=>this._cursor.executeEdits(n,e,t,i))}startComposition(){this._executeCursorEdit(e=>this._cursor.startComposition(e))}endComposition(e){this._executeCursorEdit(t=>this._cursor.endComposition(t,e))}type(e,t){this._executeCursorEdit(i=>this._cursor.type(i,e,t))}compositionType(e,t,i,n,s){this._executeCursorEdit(o=>this._cursor.compositionType(o,e,t,i,n,s))}paste(e,t,i,n){this._executeCursorEdit(s=>this._cursor.paste(s,e,t,i,n))}cut(e){this._executeCursorEdit(t=>this._cursor.cut(t,e))}executeCommand(e,t){this._executeCursorEdit(i=>this._cursor.executeCommand(i,e,t))}executeCommands(e,t){this._executeCursorEdit(i=>this._cursor.executeCommands(i,e,t))}revealAllCursors(e,t,i=!1){this._withViewEventsCollector(n=>this._cursor.revealAll(n,e,i,0,t,0))}revealPrimaryCursor(e,t,i=!1){this._withViewEventsCollector(n=>this._cursor.revealPrimary(n,e,i,0,t,0))}revealTopMostCursor(e){let t=this._cursor.getTopMostViewPosition(),i=new Q.e(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new i9(e,!1,i,null,0,!0,0)))}revealBottomMostCursor(e){let t=this._cursor.getBottomMostViewPosition(),i=new Q.e(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new i9(e,!1,i,null,0,!0,0)))}revealRange(e,t,i,n,s){this._withViewEventsCollector(o=>o.emitViewEvent(new i9(e,!1,i,null,n,t,s)))}changeWhitespace(e){let t=this.viewLayout.changeWhitespace(e);t&&(this._eventDispatcher.emitSingleViewEvent(new ns),this._eventDispatcher.emitOutgoingEvent(new nh))}_withViewEventsCollector(e){try{let t=this._eventDispatcher.beginEmitViewEvents();return e(t)}finally{this._eventDispatcher.endEmitViewEvents()}}batchEvents(e){this._withViewEventsCollector(()=>{e()})}normalizePosition(e,t){return this._lines.normalizePosition(e,t)}getLineIndentColumn(e){return this._lines.getLineIndentColumn(e)}}class nX{static create(e){let t=e._setTrackedRange(null,new Q.e(1,1,1,1),1);return new nX(e,1,!1,t,0)}get viewLineNumber(){return this._viewLineNumber}get isValid(){return this._isValid}get modelTrackedRange(){return this._modelTrackedRange}get startLineDelta(){return this._startLineDelta}constructor(e,t,i,n,s){this._model=e,this._viewLineNumber=t,this._isValid=i,this._modelTrackedRange=n,this._startLineDelta=s}dispose(){this._model._setTrackedRange(this._modelTrackedRange,null,1)}update(e,t){let i=e.coordinatesConverter.convertViewPositionToModelPosition(new G.L(t,e.getLineMinColumn(t))),n=e.model._setTrackedRange(this._modelTrackedRange,new Q.e(i.lineNumber,i.column,i.lineNumber,i.column),1),s=e.viewLayout.getVerticalOffsetForLineNumber(t),o=e.viewLayout.getCurrentScrollTop();this._viewLineNumber=t,this._isValid=!0,this._modelTrackedRange=n,this._startLineDelta=o-s}invalidate(){this._isValid=!1}}class n0{constructor(){this._asMap=Object.create(null),this.asArray=[]}accept(e,t,i,n,s){let o=this._asMap[e];if(o){let e=o.data,t=e[e.length-3],r=e[e.length-1];if(t===s&&r+1>=i){n>r&&(e[e.length-1]=n);return}e.push(s,i,n)}else{let o=new tM.SQ(e,t,[s,i,n]);this._asMap[e]=o,this.asArray.push(o)}}}class n1{constructor(){this.hiddenAreas=new Map,this.shouldRecompute=!1,this.ranges=[]}setHiddenAreas(e,t){let i=this.hiddenAreas.get(e);i&&n2(i,t)||(this.hiddenAreas.set(e,t),this.shouldRecompute=!0)}getMergedRanges(){if(!this.shouldRecompute)return this.ranges;this.shouldRecompute=!1;let e=Array.from(this.hiddenAreas.values()).reduce((e,t)=>(function(e,t){let i=[],n=0,s=0;for(;n{this._onDidChangeConfiguration.fire(e);let t=this._configuration.options;if(e.hasChanged(145)){let e=t.get(145);this._onDidLayoutChange.fire(e)}})),this._contextKeyService=this._register(r.createScoped(this._domElement)),this._notificationService=a,this._codeEditorService=s,this._commandService=o,this._themeService=l,this._register(new so(this,this._contextKeyService)),this._register(new sr(this,this._contextKeyService,c)),this._instantiationService=this._register(n.createChild(new n7.y([n3.i6,this._contextKeyService]))),this._modelData=null,this._focusTracker=new sl(e,this._overflowWidgetsDomNode),this._register(this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())})),this._contentWidgets={},this._overlayWidgets={},this._glyphMarginWidgets={},v=Array.isArray(i.contributions)?i.contributions:u.Uc.getEditorContributions(),this._contributions.initialize(this,v,this._instantiationService),u.Uc.getEditorActions())){if(this._actions.has(t.id)){(0,p.dL)(Error(`Cannot have two actions with the same id ${t.id}`));continue}let e=new iI.p(t.id,t.label,t.alias,t.metadata,null!==(_=t.precondition)&&void 0!==_?_:void 0,e=>this._instantiationService.invokeFunction(i=>Promise.resolve(t.runEditorCommand(i,this,e))),this._contextKeyService);this._actions.set(e.id,e)}let C=()=>!this._configuration.options.get(91)&&this._configuration.options.get(36).enabled;this._register(new g.eg(this._domElement,{onDragOver:e=>{if(!C())return;let t=this.getTargetAtClientPoint(e.clientX,e.clientY);(null==t?void 0:t.position)&&this.showDropIndicatorAt(t.position)},onDrop:async e=>{if(!C()||(this.removeDropIndicator(),!e.dataTransfer))return;let t=this.getTargetAtClientPoint(e.clientX,e.clientY);(null==t?void 0:t.position)&&this._onDropIntoEditor.fire({position:t.position,event:e})},onDragLeave:()=>{this.removeDropIndicator()},onDragEnd:()=>{this.removeDropIndicator()}})),this._codeEditorService.addCodeEditor(this)}writeScreenReaderContent(e){var t;null===(t=this._modelData)||void 0===t||t.view.writeScreenReaderContent(e)}_createConfiguration(e,t,i,n){return new P(e,t,i,this._domElement,n)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return iT.g.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose(),this._actions.clear(),this._contentWidgets={},this._overlayWidgets={},this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),super.dispose()}invokeWithinContext(e){return this._instantiationService.invokeFunction(e)}updateOptions(e){this._configuration.updateOptions(e||{})}getOptions(){return this._configuration.options}getOption(e){return this._configuration.options.get(e)}getRawOptions(){return this._configuration.getRawOptions()}getOverflowWidgetsDomNode(){return this._overflowWidgetsDomNode}getConfiguredWordAtPosition(e){return this._modelData?iE.w.getWordAtPosition(this._modelData.model,this._configuration.options.get(131),this._configuration.options.get(130),e):null}getValue(e=null){if(!this._modelData)return"";let t=!!e&&!!e.preserveBOM,i=0;return e&&e.lineEnding&&"\n"===e.lineEnding?i=1:e&&e.lineEnding&&"\r\n"===e.lineEnding&&(i=2),this._modelData.model.getValue(i,t)}setValue(e){try{if(this._beginUpdate(),!this._modelData)return;this._modelData.model.setValue(e)}finally{this._endUpdate()}}getModel(){return this._modelData?this._modelData.model:null}setModel(e=null){var t;try{if(this._beginUpdate(),null===this._modelData&&null===e||this._modelData&&this._modelData.model===e)return;let i={oldModelUrl:(null===(t=this._modelData)||void 0===t?void 0:t.model.uri)||null,newModelUrl:(null==e?void 0:e.uri)||null};this._onWillChangeModel.fire(i);let n=this.hasTextFocus(),s=this._detachModel();this._attachModel(e),n&&this.hasModel()&&this.focus(),this._removeDecorationTypes(),this._onDidChangeModel.fire(i),this._postDetachModelCleanup(s),this._contributionsDisposable=this._contributions.onAfterModelAttached()}finally{this._endUpdate()}}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(let e in this._decorationTypeSubtypes){let t=this._decorationTypeSubtypes[e];for(let i in t)this._removeDecorationType(e+"-"+i)}this._decorationTypeSubtypes={}}}getVisibleRanges(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}getVisibleRangesPlusViewportAboveBelow(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}getWhitespaces(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}static _getVerticalOffsetAfterPosition(e,t,i,n){let s=e.model.validatePosition({lineNumber:t,column:i}),o=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(s);return e.viewModel.viewLayout.getVerticalOffsetAfterLineNumber(o.lineNumber,n)}getTopForLineNumber(e,t=!1){return this._modelData?d._getVerticalOffsetForPosition(this._modelData,e,1,t):-1}getTopForPosition(e,t){return this._modelData?d._getVerticalOffsetForPosition(this._modelData,e,t,!1):-1}static _getVerticalOffsetForPosition(e,t,i,n=!1){let s=e.model.validatePosition({lineNumber:t,column:i}),o=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(s);return e.viewModel.viewLayout.getVerticalOffsetForLineNumber(o.lineNumber,n)}getBottomForLineNumber(e,t=!1){return this._modelData?d._getVerticalOffsetAfterPosition(this._modelData,e,1,t):-1}setHiddenAreas(e,t){var i;null===(i=this._modelData)||void 0===i||i.viewModel.setHiddenAreas(e.map(e=>Q.e.lift(e)),t)}getVisibleColumnFromPosition(e){if(!this._modelData)return e.column;let t=this._modelData.model.validatePosition(e),i=this._modelData.model.getOptions().tabSize;return Z.i.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,i)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(e,t="api"){if(this._modelData){if(!G.L.isIPosition(e))throw Error("Invalid arguments");this._modelData.viewModel.setSelections(t,[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}}_sendRevealRange(e,t,i,n){if(!this._modelData)return;if(!Q.e.isIRange(e))throw Error("Invalid arguments");let s=this._modelData.model.validateRange(e),o=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(s);this._modelData.viewModel.revealRange("api",i,o,t,n)}revealLine(e,t=0){this._revealLine(e,0,t)}revealLineInCenter(e,t=0){this._revealLine(e,1,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._revealLine(e,2,t)}revealLineNearTop(e,t=0){this._revealLine(e,5,t)}_revealLine(e,t,i){if("number"!=typeof e)throw Error("Invalid arguments");this._sendRevealRange(new Q.e(e,1,e,1),t,!1,i)}revealPosition(e,t=0){this._revealPosition(e,0,!0,t)}revealPositionInCenter(e,t=0){this._revealPosition(e,1,!0,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._revealPosition(e,2,!0,t)}revealPositionNearTop(e,t=0){this._revealPosition(e,5,!0,t)}_revealPosition(e,t,i,n){if(!G.L.isIPosition(e))throw Error("Invalid arguments");this._sendRevealRange(new Q.e(e.lineNumber,e.column,e.lineNumber,e.column),t,i,n)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(e,t="api"){let i=em.Y.isISelection(e),n=Q.e.isIRange(e);if(!i&&!n)throw Error("Invalid arguments");if(i)this._setSelectionImpl(e,t);else if(n){let i={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(i,t)}}_setSelectionImpl(e,t){if(!this._modelData)return;let i=new em.Y(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.viewModel.setSelections(t,[i])}revealLines(e,t,i=0){this._revealLines(e,t,0,i)}revealLinesInCenter(e,t,i=0){this._revealLines(e,t,1,i)}revealLinesInCenterIfOutsideViewport(e,t,i=0){this._revealLines(e,t,2,i)}revealLinesNearTop(e,t,i=0){this._revealLines(e,t,5,i)}_revealLines(e,t,i,n){if("number"!=typeof e||"number"!=typeof t)throw Error("Invalid arguments");this._sendRevealRange(new Q.e(e,1,t,1),i,!1,n)}revealRange(e,t=0,i=!1,n=!0){this._revealRange(e,i?1:0,n,t)}revealRangeInCenter(e,t=0){this._revealRange(e,1,!0,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._revealRange(e,2,!0,t)}revealRangeNearTop(e,t=0){this._revealRange(e,5,!0,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._revealRange(e,6,!0,t)}revealRangeAtTop(e,t=0){this._revealRange(e,3,!0,t)}_revealRange(e,t,i,n){if(!Q.e.isIRange(e))throw Error("Invalid arguments");this._sendRevealRange(Q.e.lift(e),t,i,n)}setSelections(e,t="api",i=0){if(this._modelData){if(!e||0===e.length)throw Error("Invalid arguments");for(let t=0,i=e.length;t0&&this._modelData.viewModel.restoreCursorState(t):this._modelData.viewModel.restoreCursorState([t]),this._contributions.restoreViewState(e.contributionsState||{});let i=this._modelData.viewModel.reduceRestoreState(e.viewState);this._modelData.view.restoreState(i)}}handleInitialized(){var e;null===(e=this._getViewModel())||void 0===e||e.visibleLinesStabilized()}getContribution(e){return this._contributions.get(e)}getActions(){return Array.from(this._actions.values())}getSupportedActions(){return this.getActions().filter(e=>e.isSupported())}getAction(e){return this._actions.get(e)||null}trigger(e,t,i){i=i||{};try{switch(this._beginUpdate(),t){case"compositionStart":this._startComposition();return;case"compositionEnd":this._endComposition(e);return;case"type":{let t=i;this._type(e,t.text||"");return}case"replacePreviousChar":{let t=i;this._compositionType(e,t.text||"",t.replaceCharCnt||0,0,0);return}case"compositionType":{let t=i;this._compositionType(e,t.text||"",t.replacePrevCharCnt||0,t.replaceNextCharCnt||0,t.positionDelta||0);return}case"paste":{let t=i;this._paste(e,t.text||"",t.pasteOnNewLine||!1,t.multicursorText||null,t.mode||null,t.clipboardEvent);return}case"cut":this._cut(e);return}let n=this.getAction(t);if(n){Promise.resolve(n.run(i)).then(void 0,p.dL);return}if(!this._modelData||this._triggerEditorCommand(e,t,i))return;this._triggerCommand(t,i)}finally{this._endUpdate()}}_triggerCommand(e,t){this._commandService.executeCommand(e,t)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(e){this._modelData&&(this._modelData.viewModel.endComposition(e),this._onDidCompositionEnd.fire())}_type(e,t){this._modelData&&0!==t.length&&("keyboard"===e&&this._onWillType.fire(t),this._modelData.viewModel.type(t,e),"keyboard"===e&&this._onDidType.fire(t))}_compositionType(e,t,i,n,s){this._modelData&&this._modelData.viewModel.compositionType(t,i,n,s,e)}_paste(e,t,i,n,s,o){if(!this._modelData)return;let r=this._modelData.viewModel,l=r.getSelection().getStartPosition();r.paste(t,i,n,e);let a=r.getSelection().getStartPosition();"keyboard"===e&&this._onDidPaste.fire({clipboardEvent:o,range:new Q.e(l.lineNumber,l.column,a.lineNumber,a.column),languageId:s})}_cut(e){this._modelData&&this._modelData.viewModel.cut(e)}_triggerEditorCommand(e,t,i){let n=u.Uc.getEditorCommand(t);return!!n&&((i=i||{}).source=e,this._instantiationService.invokeFunction(e=>{Promise.resolve(n.runEditorCommand(e,this,i)).then(void 0,p.dL)}),!0)}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!(!this._modelData||this._configuration.options.get(91))&&(this._modelData.model.pushStackElement(),!0)}popUndoStop(){return!(!this._modelData||this._configuration.options.get(91))&&(this._modelData.model.popStackElement(),!0)}executeEdits(e,t,i){let n;return!(!this._modelData||this._configuration.options.get(91))&&(n=i?Array.isArray(i)?()=>i:i:()=>null,this._modelData.viewModel.executeEdits(e,t,n),!0)}executeCommand(e,t){this._modelData&&this._modelData.viewModel.executeCommand(t,e)}executeCommands(e,t){this._modelData&&this._modelData.viewModel.executeCommands(t,e)}createDecorationsCollection(e){return new sa(this,e)}changeDecorations(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null}getLineDecorations(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,(0,I.$J)(this._configuration.options)):null}getDecorationsInRange(e){return this._modelData?this._modelData.model.getDecorationsInRange(e,this._id,(0,I.$J)(this._configuration.options)):null}deltaDecorations(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]}removeDecorations(e){this._modelData&&0!==e.length&&this._modelData.model.changeDecorations(t=>{t.deltaDecorations(e,[])})}removeDecorationsByType(e){let t=this._decorationTypeKeysToIds[e];t&&this.changeDecorations(e=>e.deltaDecorations(t,[])),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]}getLayoutInfo(){let e=this._configuration.options,t=e.get(145);return t}createOverviewRuler(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null}getContainerDomNode(){return this._domElement}getDomNode(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null}delegateVerticalScrollbarPointerDown(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarPointerDown(e)}delegateScrollFromMouseWheelEvent(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateScrollFromMouseWheelEvent(e)}layout(e,t=!1){this._configuration.observeContainer(e),t||this.render()}focus(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()}hasTextFocus(){return!!this._modelData&&!!this._modelData.hasRealView&&this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(e){let t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting a content widget with the same id:"+e.getId()),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)}layoutContentWidget(e){let t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){let i=this._contentWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(i)}}removeContentWidget(e){let t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){let e=this._contentWidgets[t];delete this._contentWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(e)}}addOverlayWidget(e){let t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)}layoutOverlayWidget(e){let t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){let i=this._overlayWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(i)}}removeOverlayWidget(e){let t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){let e=this._overlayWidgets[t];delete this._overlayWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(e)}}addGlyphMarginWidget(e){let t={widget:e,position:e.getPosition()};this._glyphMarginWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting a glyph margin widget with the same id."),this._glyphMarginWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addGlyphMarginWidget(t)}layoutGlyphMarginWidget(e){let t=e.getId();if(this._glyphMarginWidgets.hasOwnProperty(t)){let i=this._glyphMarginWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutGlyphMarginWidget(i)}}removeGlyphMarginWidget(e){let t=e.getId();if(this._glyphMarginWidgets.hasOwnProperty(t)){let e=this._glyphMarginWidgets[t];delete this._glyphMarginWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeGlyphMarginWidget(e)}}changeViewZones(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.change(e)}getTargetAtClientPoint(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null}getScrolledVisiblePosition(e){if(!this._modelData||!this._modelData.hasRealView)return null;let t=this._modelData.model.validatePosition(e),i=this._configuration.options,n=i.get(145),s=d._getVerticalOffsetForPosition(this._modelData,t.lineNumber,t.column)-this.getScrollTop(),o=this._modelData.view.getOffsetForColumn(t.lineNumber,t.column)+n.glyphMarginWidth+n.lineNumbersWidth+n.decorationsWidth-this.getScrollLeft();return{top:s,left:o,height:i.get(67)}}getOffsetForColumn(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1}render(e=!1){this._modelData&&this._modelData.hasRealView&&this._modelData.viewModel.batchEvents(()=>{this._modelData.view.render(!0,e)})}setAriaOptions(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(e)}applyFontInfo(e){(0,v.N)(e,this._configuration.options.get(50))}setBanner(e,t){this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),this._bannerDomNode=e,this._configuration.setReservedHeight(e?t:0),this._bannerDomNode&&this._domElement.prepend(this._bannerDomNode)}_attachModel(e){if(!e){this._modelData=null;return}let t=[];this._domElement.setAttribute("data-mode-id",e.getLanguageId()),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setModelLineCount(e.getLineCount());let i=e.onBeforeAttached(),n=new nJ(this._id,this._configuration,e,iD.create(g.Jj(this._domElement)),iF.create(this._configuration.options),e=>g.jL(g.Jj(this._domElement),e),this.languageConfigurationService,this._themeService,i);t.push(e.onWillDispose(()=>this.setModel(null))),t.push(n.onEvent(t=>{switch(t.kind){case 0:this._onDidContentSizeChange.fire(t);break;case 1:this._editorTextFocus.setValue(t.hasFocus);break;case 2:this._onDidScrollChange.fire(t);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidChangeHiddenAreas.fire();break;case 5:this._onDidAttemptReadOnlyEdit.fire();break;case 6:{if(t.reachedMaxCursorCount){let e=this.getOption(80),t=eD.NC("cursors.maximum","The number of cursors has been limited to {0}. Consider using [find and replace](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) for larger changes or increase the editor multi cursor limit setting.",e);this._notificationService.prompt(n8.zb.Warning,t,[{label:"Find and Replace",run:()=>{this._commandService.executeCommand("editor.action.startFindReplaceAction")}},{label:eD.NC("goToSetting","Increase Multi Cursor Limit"),run:()=>{this._commandService.executeCommand("workbench.action.openSettings2",{query:"editor.multiCursorLimit"})}}])}let e=[];for(let i=0,n=t.selections.length;i{this._paste("keyboard",e,t,i,n)},type:e=>{this._type("keyboard",e)},compositionType:(e,t,i,n)=>{this._compositionType("keyboard",e,t,i,n)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:{paste:(e,t,i,n)=>{this._commandService.executeCommand("paste",{text:e,pasteOnNewLine:t,multicursorText:i,mode:n})},type:e=>{this._commandService.executeCommand("type",{text:e})},compositionType:(e,t,i,n)=>{i||n?this._commandService.executeCommand("compositionType",{text:e,replacePrevCharCnt:t,replaceNextCharCnt:i,positionDelta:n}):this._commandService.executeCommand("replacePreviousChar",{text:e,replaceCharCnt:t})},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};let i=new e4(e.coordinatesConverter);i.onKeyDown=e=>this._onKeyDown.fire(e),i.onKeyUp=e=>this._onKeyUp.fire(e),i.onContextMenu=e=>this._onContextMenu.fire(e),i.onMouseMove=e=>this._onMouseMove.fire(e),i.onMouseLeave=e=>this._onMouseLeave.fire(e),i.onMouseDown=e=>this._onMouseDown.fire(e),i.onMouseUp=e=>this._onMouseUp.fire(e),i.onMouseDrag=e=>this._onMouseDrag.fire(e),i.onMouseDrop=e=>this._onMouseDrop.fire(e),i.onMouseDropCanceled=e=>this._onMouseDropCanceled.fire(e),i.onMouseWheel=e=>this._onMouseWheel.fire(e);let n=new im(t,this._configuration,this._themeService.getColorTheme(),e,i,this._overflowWidgetsDomNode,this._instantiationService);return[n,!0]}_postDetachModelCleanup(e){null==e||e.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){var e;if(null===(e=this._contributionsDisposable)||void 0===e||e.dispose(),this._contributionsDisposable=void 0,!this._modelData)return null;let t=this._modelData.model,i=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),i&&this._domElement.contains(i)&&this._domElement.removeChild(i),this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),t}_removeDecorationType(e){this._codeEditorService.removeDecorationType(e)}hasModel(){return null!==this._modelData}showDropIndicatorAt(e){let t=[{range:new Q.e(e.lineNumber,e.column,e.lineNumber,e.column),options:d.dropIntoEditorDecorationOptions}];this._dropIntoEditorDecorations.set(t),this.revealPosition(e,1)}removeDropIndicator(){this._dropIntoEditorDecorations.clear()}setContextValue(e,t){this._contextKeyService.createKey(e,t)}_beginUpdate(){this._updateCounter++,1===this._updateCounter&&this._onBeginUpdate.fire()}_endUpdate(){this._updateCounter--,0===this._updateCounter&&this._onEndUpdate.fire()}};se.dropIntoEditorDecorationOptions=iA.qx.register({description:"workbench-dnd-target",className:"dnd-target"}),se=d=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([n9(3,eH.TG),n9(4,H.$),n9(5,n5.H),n9(6,n3.i6),n9(7,eI.XE),n9(8,n8.lT),n9(9,R.F),n9(10,iR.c_),n9(11,iP.p)],se);let st=0;class si{constructor(e,t,i,n,s,o){this.model=e,this.viewModel=t,this.view=i,this.hasRealView=n,this.listenersToRemove=s,this.attachedView=o}dispose(){(0,f.B9)(this.listenersToRemove),this.model.onBeforeDetached(this.attachedView),this.hasRealView&&this.view.dispose(),this.viewModel.dispose()}}class sn extends f.JT{constructor(e){super(),this._emitterOptions=e,this._onDidChangeToTrue=this._register(new m.Q5(this._emitterOptions)),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new m.Q5(this._emitterOptions)),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(e){let t=e?2:1;this._value!==t&&(this._value=t,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())}}class ss extends m.Q5{constructor(e,t){super({deliveryQueue:t}),this._contributions=e}fire(e){this._contributions.onBeforeInteractionEvent(),super.fire(e)}}class so extends f.JT{constructor(e,t){super(),this._editor=e,t.createKey("editorId",e.getId()),this._editorSimpleInput=iM.u.editorSimpleInput.bindTo(t),this._editorFocus=iM.u.focus.bindTo(t),this._textInputFocus=iM.u.textInputFocus.bindTo(t),this._editorTextFocus=iM.u.editorTextFocus.bindTo(t),this._tabMovesFocus=iM.u.tabMovesFocus.bindTo(t),this._editorReadonly=iM.u.readOnly.bindTo(t),this._inDiffEditor=iM.u.inDiffEditor.bindTo(t),this._editorColumnSelection=iM.u.columnSelection.bindTo(t),this._hasMultipleSelections=iM.u.hasMultipleSelections.bindTo(t),this._hasNonEmptySelection=iM.u.hasNonEmptySelection.bindTo(t),this._canUndo=iM.u.canUndo.bindTo(t),this._canRedo=iM.u.canRedo.bindTo(t),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._register(E.n.onDidChangeTabFocus(e=>this._tabMovesFocus.set(e))),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){let e=this._editor.getOptions();this._tabMovesFocus.set(E.n.getTabFocusMode()),this._editorReadonly.set(e.get(91)),this._inDiffEditor.set(e.get(61)),this._editorColumnSelection.set(e.get(22))}_updateFromSelection(){let e=this._editor.getSelections();e?(this._hasMultipleSelections.set(e.length>1),this._hasNonEmptySelection.set(e.some(e=>!e.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){let e=this._editor.getModel();this._canUndo.set(!!(e&&e.canUndo())),this._canRedo.set(!!(e&&e.canRedo()))}}class sr extends f.JT{constructor(e,t,i){super(),this._editor=e,this._contextKeyService=t,this._languageFeaturesService=i,this._langId=iM.u.languageId.bindTo(t),this._hasCompletionItemProvider=iM.u.hasCompletionItemProvider.bindTo(t),this._hasCodeActionsProvider=iM.u.hasCodeActionsProvider.bindTo(t),this._hasCodeLensProvider=iM.u.hasCodeLensProvider.bindTo(t),this._hasDefinitionProvider=iM.u.hasDefinitionProvider.bindTo(t),this._hasDeclarationProvider=iM.u.hasDeclarationProvider.bindTo(t),this._hasImplementationProvider=iM.u.hasImplementationProvider.bindTo(t),this._hasTypeDefinitionProvider=iM.u.hasTypeDefinitionProvider.bindTo(t),this._hasHoverProvider=iM.u.hasHoverProvider.bindTo(t),this._hasDocumentHighlightProvider=iM.u.hasDocumentHighlightProvider.bindTo(t),this._hasDocumentSymbolProvider=iM.u.hasDocumentSymbolProvider.bindTo(t),this._hasReferenceProvider=iM.u.hasReferenceProvider.bindTo(t),this._hasRenameProvider=iM.u.hasRenameProvider.bindTo(t),this._hasSignatureHelpProvider=iM.u.hasSignatureHelpProvider.bindTo(t),this._hasInlayHintsProvider=iM.u.hasInlayHintsProvider.bindTo(t),this._hasDocumentFormattingProvider=iM.u.hasDocumentFormattingProvider.bindTo(t),this._hasDocumentSelectionFormattingProvider=iM.u.hasDocumentSelectionFormattingProvider.bindTo(t),this._hasMultipleDocumentFormattingProvider=iM.u.hasMultipleDocumentFormattingProvider.bindTo(t),this._hasMultipleDocumentSelectionFormattingProvider=iM.u.hasMultipleDocumentSelectionFormattingProvider.bindTo(t),this._isInEmbeddedEditor=iM.u.isInEmbeddedEditor.bindTo(t);let n=()=>this._update();this._register(e.onDidChangeModel(n)),this._register(e.onDidChangeModelLanguage(n)),this._register(i.completionProvider.onDidChange(n)),this._register(i.codeActionProvider.onDidChange(n)),this._register(i.codeLensProvider.onDidChange(n)),this._register(i.definitionProvider.onDidChange(n)),this._register(i.declarationProvider.onDidChange(n)),this._register(i.implementationProvider.onDidChange(n)),this._register(i.typeDefinitionProvider.onDidChange(n)),this._register(i.hoverProvider.onDidChange(n)),this._register(i.documentHighlightProvider.onDidChange(n)),this._register(i.documentSymbolProvider.onDidChange(n)),this._register(i.referenceProvider.onDidChange(n)),this._register(i.renameProvider.onDidChange(n)),this._register(i.documentFormattingEditProvider.onDidChange(n)),this._register(i.documentRangeFormattingEditProvider.onDidChange(n)),this._register(i.signatureHelpProvider.onDidChange(n)),this._register(i.inlayHintsProvider.onDidChange(n)),n()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInEmbeddedEditor.reset()})}_update(){let e=this._editor.getModel();if(!e){this.reset();return}this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(e.getLanguageId()),this._hasCompletionItemProvider.set(this._languageFeaturesService.completionProvider.has(e)),this._hasCodeActionsProvider.set(this._languageFeaturesService.codeActionProvider.has(e)),this._hasCodeLensProvider.set(this._languageFeaturesService.codeLensProvider.has(e)),this._hasDefinitionProvider.set(this._languageFeaturesService.definitionProvider.has(e)),this._hasDeclarationProvider.set(this._languageFeaturesService.declarationProvider.has(e)),this._hasImplementationProvider.set(this._languageFeaturesService.implementationProvider.has(e)),this._hasTypeDefinitionProvider.set(this._languageFeaturesService.typeDefinitionProvider.has(e)),this._hasHoverProvider.set(this._languageFeaturesService.hoverProvider.has(e)),this._hasDocumentHighlightProvider.set(this._languageFeaturesService.documentHighlightProvider.has(e)),this._hasDocumentSymbolProvider.set(this._languageFeaturesService.documentSymbolProvider.has(e)),this._hasReferenceProvider.set(this._languageFeaturesService.referenceProvider.has(e)),this._hasRenameProvider.set(this._languageFeaturesService.renameProvider.has(e)),this._hasSignatureHelpProvider.set(this._languageFeaturesService.signatureHelpProvider.has(e)),this._hasInlayHintsProvider.set(this._languageFeaturesService.inlayHintsProvider.has(e)),this._hasDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.has(e)||this._languageFeaturesService.documentRangeFormattingEditProvider.has(e)),this._hasDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.has(e)),this._hasMultipleDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.all(e).length+this._languageFeaturesService.documentRangeFormattingEditProvider.all(e).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.all(e).length>1),this._isInEmbeddedEditor.set(e.uri.scheme===_.lg.walkThroughSnippet||e.uri.scheme===_.lg.vscodeChatCodeBlock)})}}class sl extends f.JT{constructor(e,t){super(),this._onChange=this._register(new m.Q5),this.onChange=this._onChange.event,this._hadFocus=void 0,this._hasDomElementFocus=!1,this._domFocusTracker=this._register(g.go(e)),this._overflowWidgetsDomNodeHasFocus=!1,this._register(this._domFocusTracker.onDidFocus(()=>{this._hasDomElementFocus=!0,this._update()})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasDomElementFocus=!1,this._update()})),t&&(this._overflowWidgetsDomNode=this._register(g.go(t)),this._register(this._overflowWidgetsDomNode.onDidFocus(()=>{this._overflowWidgetsDomNodeHasFocus=!0,this._update()})),this._register(this._overflowWidgetsDomNode.onDidBlur(()=>{this._overflowWidgetsDomNodeHasFocus=!1,this._update()})))}_update(){let e=this._hasDomElementFocus||this._overflowWidgetsDomNodeHasFocus;this._hadFocus!==e&&(this._hadFocus=e,this._onChange.fire(void 0))}hasFocus(){var e;return null!==(e=this._hadFocus)&&void 0!==e&&e}}class sa{get length(){return this._decorationIds.length}constructor(e,t){this._editor=e,this._decorationIds=[],this._isChangingDecorations=!1,Array.isArray(t)&&t.length>0&&this.set(t)}onDidChange(e,t,i){return this._editor.onDidChangeModelDecorations(i=>{this._isChangingDecorations||e.call(t,i)},i)}getRange(e){return!this._editor.hasModel()||e>=this._decorationIds.length?null:this._editor.getModel().getDecorationRange(this._decorationIds[e])}getRanges(){if(!this._editor.hasModel())return[];let e=this._editor.getModel(),t=[];for(let i of this._decorationIds){let n=e.getDecorationRange(i);n&&t.push(n)}return t}has(e){return this._decorationIds.includes(e.id)}clear(){0!==this._decorationIds.length&&this.set([])}set(e){try{this._isChangingDecorations=!0,this._editor.changeDecorations(t=>{this._decorationIds=t.deltaDecorations(this._decorationIds,e)})}finally{this._isChangingDecorations=!1}return this._decorationIds}append(e){let t=[];try{this._isChangingDecorations=!0,this._editor.changeDecorations(i=>{t=i.deltaDecorations([],e),this._decorationIds=this._decorationIds.concat(t)})}finally{this._isChangingDecorations=!1}return t}}let sd=encodeURIComponent("");function su(e){return sd+encodeURIComponent(e.toString())+sh}let sc=encodeURIComponent('');(0,eI.Ic)((e,t)=>{let i=e.getColor(tR.lXJ);i&&t.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${su(i)}") repeat-x bottom left; }`);let n=e.getColor(tR.uoC);n&&t.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${su(n)}") repeat-x bottom left; }`);let s=e.getColor(tR.c63);s&&t.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${su(s)}") repeat-x bottom left; }`);let o=e.getColor(tR.Dut);o&&t.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${sc+encodeURIComponent(o.toString())+sg}") no-repeat bottom left; }`);let r=e.getColor(eT.zu);r&&t.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${r.rgba.a}; }`)})},98549:function(e,t,i){"use strict";i.d(t,{H:function(){return m}});var n=i(16783),s=i(70208),o=i(79624),r=i(32712),l=i(64106),a=i(15232),d=i(81903),h=i(33336),u=i(85327),c=i(16575),g=i(55150),p=function(e,t){return function(i,n){t(i,n,e)}};let m=class extends o.Gm{constructor(e,t,i,n,s,o,r,l,a,d,h,u,c){super(e,{...n.getRawOptions(),overflowWidgetsDomNode:n.getOverflowWidgetsDomNode()},i,s,o,r,l,a,d,h,u,c),this._parentEditor=n,this._overwriteOptions=t,super.updateOptions(this._overwriteOptions),this._register(n.onDidChangeConfiguration(e=>this._onParentConfigurationChanged(e)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(e){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(e){n.jB(this._overwriteOptions,e,!0),super.updateOptions(this._overwriteOptions)}};m=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([p(4,u.TG),p(5,s.$),p(6,d.H),p(7,h.i6),p(8,g.XE),p(9,c.lT),p(10,a.F),p(11,r.c_),p(12,l.p)],m)},36465:function(e,t,i){"use strict";var n=i(47039),s=i(81845),o=i(82508),r=i(70208),l=i(22946),a=i(73440),d=i(82801),h=i(30467),u=i(78426),c=i(33336);i(27774);class g extends h.Ke{constructor(){super({id:"diffEditor.toggleCollapseUnchangedRegions",title:(0,d.vv)("toggleCollapseUnchangedRegions","Toggle Collapse Unchanged Regions"),icon:n.l.map,toggled:c.Ao.has("config.diffEditor.hideUnchangedRegions.enabled"),precondition:c.Ao.has("isInDiffEditor"),menu:{when:c.Ao.has("isInDiffEditor"),id:h.eH.EditorTitle,order:22,group:"navigation"}})}run(e,...t){let i=e.get(u.Ui),n=!i.getValue("diffEditor.hideUnchangedRegions.enabled");i.updateValue("diffEditor.hideUnchangedRegions.enabled",n)}}class p extends h.Ke{constructor(){super({id:"diffEditor.toggleShowMovedCodeBlocks",title:(0,d.vv)("toggleShowMovedCodeBlocks","Toggle Show Moved Code Blocks"),precondition:c.Ao.has("isInDiffEditor")})}run(e,...t){let i=e.get(u.Ui),n=!i.getValue("diffEditor.experimental.showMoves");i.updateValue("diffEditor.experimental.showMoves",n)}}class m extends h.Ke{constructor(){super({id:"diffEditor.toggleUseInlineViewWhenSpaceIsLimited",title:(0,d.vv)("toggleUseInlineViewWhenSpaceIsLimited","Toggle Use Inline View When Space Is Limited"),precondition:c.Ao.has("isInDiffEditor")})}run(e,...t){let i=e.get(u.Ui),n=!i.getValue("diffEditor.useInlineViewWhenSpaceIsLimited");i.updateValue("diffEditor.useInlineViewWhenSpaceIsLimited",n)}}let f=(0,d.vv)("diffEditor","Diff Editor");class _ extends o.x1{constructor(){super({id:"diffEditor.switchSide",title:(0,d.vv)("switchSide","Switch Side"),icon:n.l.arrowSwap,precondition:c.Ao.has("isInDiffEditor"),f1:!0,category:f})}runEditorCommand(e,t,i){let n=k(e);if(n instanceof l.p){if(i&&i.dryRun)return{destinationSelection:n.mapToOtherSide().destinationSelection};n.switchSide()}}}class v extends o.x1{constructor(){super({id:"diffEditor.exitCompareMove",title:(0,d.vv)("exitCompareMove","Exit Compare Move"),icon:n.l.close,precondition:a.u.comparingMovedCode,f1:!1,category:f,keybinding:{weight:1e4,primary:9}})}runEditorCommand(e,t,...i){let n=k(e);n instanceof l.p&&n.exitCompareMove()}}class b extends o.x1{constructor(){super({id:"diffEditor.collapseAllUnchangedRegions",title:(0,d.vv)("collapseAllUnchangedRegions","Collapse All Unchanged Regions"),icon:n.l.fold,precondition:c.Ao.has("isInDiffEditor"),f1:!0,category:f})}runEditorCommand(e,t,...i){let n=k(e);n instanceof l.p&&n.collapseAllUnchangedRegions()}}class C extends o.x1{constructor(){super({id:"diffEditor.showAllUnchangedRegions",title:(0,d.vv)("showAllUnchangedRegions","Show All Unchanged Regions"),icon:n.l.unfold,precondition:c.Ao.has("isInDiffEditor"),f1:!0,category:f})}runEditorCommand(e,t,...i){let n=k(e);n instanceof l.p&&n.showAllUnchangedRegions()}}class w extends h.Ke{constructor(){super({id:"diffEditor.revert",title:(0,d.vv)("revert","Revert"),f1:!1,category:f})}run(e,t){var i;let n=function(e,t,i){let n=e.get(r.$),s=n.listDiffEditors();return s.find(e=>{var n,s;let o=e.getModifiedEditor(),r=e.getOriginalEditor();return o&&(null===(n=o.getModel())||void 0===n?void 0:n.uri.toString())===i.toString()&&r&&(null===(s=r.getModel())||void 0===s?void 0:s.uri.toString())===t.toString()})||null}(e,t.originalUri,t.modifiedUri);n instanceof l.p&&n.revertRangeMappings(null!==(i=t.mapping.innerChanges)&&void 0!==i?i:[])}}let y=(0,d.vv)("accessibleDiffViewer","Accessible Diff Viewer");class S extends h.Ke{constructor(){super({id:S.id,title:(0,d.vv)("editor.action.accessibleDiffViewer.next","Go to Next Difference"),category:y,precondition:c.Ao.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(e){let t=k(e);null==t||t.accessibleDiffViewerNext()}}S.id="editor.action.accessibleDiffViewer.next";class L extends h.Ke{constructor(){super({id:L.id,title:(0,d.vv)("editor.action.accessibleDiffViewer.prev","Go to Previous Difference"),category:y,precondition:c.Ao.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(e){let t=k(e);null==t||t.accessibleDiffViewerPrev()}}function k(e){let t=e.get(r.$),i=t.listDiffEditors(),n=(0,s.vY)();if(n)for(let e of i){let t=e.getContainerDomNode();if(function(e,t){let i=t;for(;i;){if(i===e)return!0;i=i.parentElement}return!1}(t,n))return e}return null}L.id="editor.action.accessibleDiffViewer.prev";var D=i(81903);for(let e of((0,h.r1)(g),(0,h.r1)(p),(0,h.r1)(m),h.BH.appendMenuItem(h.eH.EditorTitle,{command:{id:new m().desc.id,title:(0,d.NC)("useInlineViewWhenSpaceIsLimited","Use Inline View When Space Is Limited"),toggled:c.Ao.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),precondition:c.Ao.has("isInDiffEditor")},order:11,group:"1_diff",when:c.Ao.and(a.u.diffEditorRenderSideBySideInlineBreakpointReached,c.Ao.has("isInDiffEditor"))}),h.BH.appendMenuItem(h.eH.EditorTitle,{command:{id:new p().desc.id,title:(0,d.NC)("showMoves","Show Moved Code Blocks"),icon:n.l.move,toggled:c.cP.create("config.diffEditor.experimental.showMoves",!0),precondition:c.Ao.has("isInDiffEditor")},order:10,group:"1_diff",when:c.Ao.has("isInDiffEditor")}),(0,h.r1)(w),[{icon:n.l.arrowRight,key:a.u.diffEditorInlineMode.toNegated()},{icon:n.l.discard,key:a.u.diffEditorInlineMode}]))h.BH.appendMenuItem(h.eH.DiffEditorHunkToolbar,{command:{id:new w().desc.id,title:(0,d.NC)("revertHunk","Revert Block"),icon:e.icon},when:c.Ao.and(a.u.diffEditorModifiedWritable,e.key),order:5,group:"primary"}),h.BH.appendMenuItem(h.eH.DiffEditorSelectionToolbar,{command:{id:new w().desc.id,title:(0,d.NC)("revertSelection","Revert Selection"),icon:e.icon},when:c.Ao.and(a.u.diffEditorModifiedWritable,e.key),order:5,group:"primary"});(0,h.r1)(_),(0,h.r1)(v),(0,h.r1)(b),(0,h.r1)(C),h.BH.appendMenuItem(h.eH.EditorTitle,{command:{id:S.id,title:(0,d.NC)("Open Accessible Diff Viewer","Open Accessible Diff Viewer"),precondition:c.Ao.has("isInDiffEditor")},order:10,group:"2_diff",when:c.Ao.and(a.u.accessibleDiffViewerVisible.negate(),c.Ao.has("isInDiffEditor"))}),D.P.registerCommandAlias("editor.action.diffReview.next",S.id),(0,h.r1)(S),D.P.registerCommandAlias("editor.action.diffReview.prev",L.id),(0,h.r1)(L)},22946:function(e,t,i){"use strict";i.d(t,{p:function(){return tx}});var n,s,o,r,l,a,d=i(81845),h=i(70365),u=i(32378),c=i(79915),g=i(70784),p=i(43495),m=i(48053);i(33590);var f=i(82508),_=i(70208),v=i(24846),b=i(79624),C=i(39813),w=i(21489),y=i(49524),S=i(76886),L=i(40789),k=i(47039),D=i(29527),x=i(50950),N=i(81719),E=i(43364),I=i(63144),T=i(81294),M=i(86570),R=i(70209),A=i(61234),P=i(77233),O=i(94458),F=i(53429),B=i(20910),W=i(82801),H=i(7634),V=i(85327),z=i(79939);i(50707);var K=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},U=function(e,t){return function(i,n){t(i,n,e)}};let $=(0,z.q5)("diff-review-insert",k.l.add,(0,W.NC)("accessibleDiffViewerInsertIcon","Icon for 'Insert' in accessible diff viewer.")),q=(0,z.q5)("diff-review-remove",k.l.remove,(0,W.NC)("accessibleDiffViewerRemoveIcon","Icon for 'Remove' in accessible diff viewer.")),j=(0,z.q5)("diff-review-close",k.l.close,(0,W.NC)("accessibleDiffViewerCloseIcon","Icon for 'Close' in accessible diff viewer.")),G=class extends g.JT{constructor(e,t,i,n,s,o,r,l,a){super(),this._parentNode=e,this._visible=t,this._setVisible=i,this._canClose=n,this._width=s,this._height=o,this._diffs=r,this._models=l,this._instantiationService=a,this._state=(0,p.Be)(this,(e,t)=>{let i=this._visible.read(e);if(this._parentNode.style.visibility=i?"visible":"hidden",!i)return null;let n=t.add(this._instantiationService.createInstance(Q,this._diffs,this._models,this._setVisible,this._canClose)),s=t.add(this._instantiationService.createInstance(et,this._parentNode,n,this._width,this._height,this._models));return{model:n,view:s}}).recomputeInitiallyAndOnChange(this._store)}next(){(0,p.PS)(e=>{let t=this._visible.get();this._setVisible(!0,e),t&&this._state.get().model.nextGroup(e)})}prev(){(0,p.PS)(e=>{this._setVisible(!0,e),this._state.get().model.previousGroup(e)})}close(){(0,p.PS)(e=>{this._setVisible(!1,e)})}};G._ttPolicy=(0,C.Z)("diffReview",{createHTML:e=>e}),G=K([U(8,V.TG)],G);let Q=class extends g.JT{constructor(e,t,i,n,s){super(),this._diffs=e,this._models=t,this._setVisible=i,this.canClose=n,this._accessibilitySignalService=s,this._groups=(0,p.uh)(this,[]),this._currentGroupIdx=(0,p.uh)(this,0),this._currentElementIdx=(0,p.uh)(this,0),this.groups=this._groups,this.currentGroup=this._currentGroupIdx.map((e,t)=>this._groups.read(t)[e]),this.currentGroupIndex=this._currentGroupIdx,this.currentElement=this._currentElementIdx.map((e,t)=>{var i;return null===(i=this.currentGroup.read(t))||void 0===i?void 0:i.lines[e]}),this._register((0,p.EH)(e=>{let t=this._diffs.read(e);if(!t){this._groups.set([],void 0);return}let i=function(e,t,i){let n=[];for(let s of(0,L.mw)(e,(e,t)=>t.modified.startLineNumber-e.modified.endLineNumberExclusive<6)){let e=[];e.push(new Y);let o=new I.z(Math.max(1,s[0].original.startLineNumber-3),Math.min(s[s.length-1].original.endLineNumberExclusive+3,t+1)),r=new I.z(Math.max(1,s[0].modified.startLineNumber-3),Math.min(s[s.length-1].modified.endLineNumberExclusive+3,i+1));(0,L.zy)(s,(t,i)=>{let n=new I.z(t?t.original.endLineNumberExclusive:o.startLineNumber,i?i.original.startLineNumber:o.endLineNumberExclusive),s=new I.z(t?t.modified.endLineNumberExclusive:r.startLineNumber,i?i.modified.startLineNumber:r.endLineNumberExclusive);n.forEach(t=>{e.push(new ee(t,s.startLineNumber+(t-n.startLineNumber)))}),i&&(i.original.forEach(t=>{e.push(new J(i,t))}),i.modified.forEach(t=>{e.push(new X(i,t))}))});let l=s[0].modified.join(s[s.length-1].modified),a=s[0].original.join(s[s.length-1].original);n.push(new Z(new A.f0(l,a),e))}return n}(t,this._models.getOriginalModel().getLineCount(),this._models.getModifiedModel().getLineCount());(0,p.PS)(e=>{let t=this._models.getModifiedPosition();if(t){let n=i.findIndex(e=>(null==t?void 0:t.lineNumber){let t=this.currentElement.read(e);(null==t?void 0:t.type)===r.Deleted?this._accessibilitySignalService.playSignal(H.iP.diffLineDeleted,{source:"accessibleDiffViewer.currentElementChanged"}):(null==t?void 0:t.type)===r.Added&&this._accessibilitySignalService.playSignal(H.iP.diffLineInserted,{source:"accessibleDiffViewer.currentElementChanged"})})),this._register((0,p.EH)(e=>{var t;let i=this.currentElement.read(e);if(i&&i.type!==r.Header){let e=null!==(t=i.modifiedLineNumber)&&void 0!==t?t:i.diff.modified.startLineNumber;this._models.modifiedSetSelection(R.e.fromPositions(new M.L(e,1)))}}))}_goToGroupDelta(e,t){let i=this.groups.get();i&&!(i.length<=1)&&(0,p.c8)(t,t=>{this._currentGroupIdx.set(T.q.ofLength(i.length).clipCyclic(this._currentGroupIdx.get()+e),t),this._currentElementIdx.set(0,t)})}nextGroup(e){this._goToGroupDelta(1,e)}previousGroup(e){this._goToGroupDelta(-1,e)}_goToLineDelta(e){let t=this.currentGroup.get();t&&!(t.lines.length<=1)&&(0,p.PS)(i=>{this._currentElementIdx.set(T.q.ofLength(t.lines.length).clip(this._currentElementIdx.get()+e),i)})}goToNextLine(){this._goToLineDelta(1)}goToPreviousLine(){this._goToLineDelta(-1)}goToLine(e){let t=this.currentGroup.get();if(!t)return;let i=t.lines.indexOf(e);-1!==i&&(0,p.PS)(e=>{this._currentElementIdx.set(i,e)})}revealCurrentElementInEditor(){if(!this.canClose.get())return;this._setVisible(!1,void 0);let e=this.currentElement.get();e&&(e.type===r.Deleted?this._models.originalReveal(R.e.fromPositions(new M.L(e.originalLineNumber,1))):this._models.modifiedReveal(e.type!==r.Header?R.e.fromPositions(new M.L(e.modifiedLineNumber,1)):void 0))}close(){this.canClose.get()&&(this._setVisible(!1,void 0),this._models.modifiedFocus())}};Q=K([U(4,H.IV)],Q),(n=r||(r={}))[n.Header=0]="Header",n[n.Unchanged=1]="Unchanged",n[n.Deleted=2]="Deleted",n[n.Added=3]="Added";class Z{constructor(e,t){this.range=e,this.lines=t}}class Y{constructor(){this.type=r.Header}}class J{constructor(e,t){this.diff=e,this.originalLineNumber=t,this.type=r.Deleted,this.modifiedLineNumber=void 0}}class X{constructor(e,t){this.diff=e,this.modifiedLineNumber=t,this.type=r.Added,this.originalLineNumber=void 0}}class ee{constructor(e,t){this.originalLineNumber=e,this.modifiedLineNumber=t,this.type=r.Unchanged}}let et=class extends g.JT{constructor(e,t,i,n,s,o){super(),this._element=e,this._model=t,this._width=i,this._height=n,this._models=s,this._languageService=o,this.domNode=this._element,this.domNode.className="monaco-component diff-review monaco-editor-background";let r=document.createElement("div");r.className="diff-review-actions",this._actionBar=this._register(new w.o(r)),this._register((0,p.EH)(e=>{this._actionBar.clear(),this._model.canClose.read(e)&&this._actionBar.push(new S.aU("diffreview.close",(0,W.NC)("label.close","Close"),"close-diff-review "+D.k.asClassName(j),!0,async()=>t.close()),{label:!1,icon:!0})})),this._content=document.createElement("div"),this._content.className="diff-review-content",this._content.setAttribute("role","code"),this._scrollbar=this._register(new y.s$(this._content,{})),(0,d.mc)(this.domNode,this._scrollbar.getDomNode(),r),this._register((0,p.EH)(e=>{this._height.read(e),this._width.read(e),this._scrollbar.scanDomNode()})),this._register((0,g.OF)(()=>{(0,d.mc)(this.domNode)})),this._register((0,N.bg)(this.domNode,{width:this._width,height:this._height})),this._register((0,N.bg)(this._content,{width:this._width,height:this._height})),this._register((0,p.gp)((e,t)=>{this._model.currentGroup.read(e),this._render(t)})),this._register((0,d.mu)(this.domNode,"keydown",e=>{(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),this._model.goToNextLine()),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),this._model.goToPreviousLine()),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),this._model.close()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),this._model.revealCurrentElementInEditor())}))}_render(e){let t=this._models.getOriginalOptions(),i=this._models.getModifiedOptions(),n=document.createElement("div");n.className="diff-review-table",n.setAttribute("role","list"),n.setAttribute("aria-label",(0,W.NC)("ariaLabel","Accessible Diff Viewer. Use arrow up and down to navigate.")),(0,x.N)(n,i.get(50)),(0,d.mc)(this._content,n);let s=this._models.getOriginalModel(),o=this._models.getModifiedModel();if(!s||!o)return;let l=s.getOptions(),a=o.getOptions(),h=i.get(67),u=this._model.currentGroup.get();for(let c of(null==u?void 0:u.lines)||[]){let g;if(!u)break;if(c.type===r.Header){let e=document.createElement("div");e.className="diff-review-row",e.setAttribute("role","listitem");let t=u.range,i=this._model.currentGroupIndex.get(),n=this._model.groups.get().length,s=e=>0===e?(0,W.NC)("no_lines_changed","no lines changed"):1===e?(0,W.NC)("one_line_changed","1 line changed"):(0,W.NC)("more_lines_changed","{0} lines changed",e),o=s(t.original.length),r=s(t.modified.length);e.setAttribute("aria-label",(0,W.NC)({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines changed", "1 line changed" or "X lines changed", localized separately.']},"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}",i+1,n,t.original.startLineNumber,o,t.modified.startLineNumber,r));let l=document.createElement("div");l.className="diff-review-cell diff-review-summary",l.appendChild(document.createTextNode(`${i+1}/${n}: @@ -${t.original.startLineNumber},${t.original.length} +${t.modified.startLineNumber},${t.modified.length} @@`)),e.appendChild(l),g=e}else g=this._createRow(c,h,this._width.get(),t,s,l,i,o,a);n.appendChild(g);let m=(0,p.nK)(e=>this._model.currentElement.read(e)===c);e.add((0,p.EH)(e=>{let t=m.read(e);g.tabIndex=t?0:-1,t&&g.focus()})),e.add((0,d.nm)(g,"focus",()=>{this._model.goToLine(c)}))}this._scrollbar.scanDomNode()}_createRow(e,t,i,n,s,o,l,a,d){let h;let u=n.get(145),c=u.glyphMarginWidth+u.lineNumbersWidth,g=l.get(145),p=10+g.glyphMarginWidth+g.lineNumbersWidth,m="diff-review-row",f="",_=null;switch(e.type){case r.Added:m="diff-review-row line-insert",f=" char-insert",_=$;break;case r.Deleted:m="diff-review-row line-delete",f=" char-delete",_=q}let v=document.createElement("div");v.style.minWidth=i+"px",v.className=m,v.setAttribute("role","listitem"),v.ariaLevel="";let b=document.createElement("div");b.className="diff-review-cell",b.style.height=`${t}px`,v.appendChild(b);let C=document.createElement("span");C.style.width=c+"px",C.style.minWidth=c+"px",C.className="diff-review-line-number"+f,void 0!==e.originalLineNumber?C.appendChild(document.createTextNode(String(e.originalLineNumber))):C.innerText="\xa0",b.appendChild(C);let w=document.createElement("span");w.style.width=p+"px",w.style.minWidth=p+"px",w.style.paddingRight="10px",w.className="diff-review-line-number"+f,void 0!==e.modifiedLineNumber?w.appendChild(document.createTextNode(String(e.modifiedLineNumber))):w.innerText="\xa0",b.appendChild(w);let y=document.createElement("span");if(y.className="diff-review-spacer",_){let e=document.createElement("span");e.className=D.k.asClassName(_),e.innerText="\xa0\xa0",y.appendChild(e)}else y.innerText="\xa0\xa0";if(b.appendChild(y),void 0!==e.modifiedLineNumber){let t=this._getLineHtml(a,l,d.tabSize,e.modifiedLineNumber,this._languageService.languageIdCodec);G._ttPolicy&&(t=G._ttPolicy.createHTML(t)),b.insertAdjacentHTML("beforeend",t),h=a.getLineContent(e.modifiedLineNumber)}else{let t=this._getLineHtml(s,n,o.tabSize,e.originalLineNumber,this._languageService.languageIdCodec);G._ttPolicy&&(t=G._ttPolicy.createHTML(t)),b.insertAdjacentHTML("beforeend",t),h=s.getLineContent(e.originalLineNumber)}0===h.length&&(h=(0,W.NC)("blankLine","blank"));let S="";switch(e.type){case r.Unchanged:S=e.originalLineNumber===e.modifiedLineNumber?(0,W.NC)({key:"unchangedLine",comment:["The placeholders are contents of the line and should not be translated."]},"{0} unchanged line {1}",h,e.originalLineNumber):(0,W.NC)("equalLine","{0} original line {1} modified line {2}",h,e.originalLineNumber,e.modifiedLineNumber);break;case r.Added:S=(0,W.NC)("insertLine","+ {0} modified line {1}",h,e.modifiedLineNumber);break;case r.Deleted:S=(0,W.NC)("deleteLine","- {0} original line {1}",h,e.originalLineNumber)}return v.setAttribute("aria-label",S),v}_getLineHtml(e,t,i,n,s){let o=e.getLineContent(n),r=t.get(50),l=O.A.createEmpty(o,s),a=B.wA.isBasicASCII(o,e.mightContainNonBasicASCII()),d=B.wA.containsRTL(o,a,e.mightContainRTL()),h=(0,F.tF)(new F.IJ(r.isMonospace&&!t.get(33),r.canUseHalfwidthRightwardsArrow,o,!1,a,d,0,l,[],i,0,r.spaceWidth,r.middotWidth,r.wsmiddotWidth,t.get(117),t.get(99),t.get(94),t.get(51)!==E.n0.OFF,null));return h.html}};et=K([U(5,P.O)],et);class ei{constructor(e){this.editors=e}getOriginalModel(){return this.editors.original.getModel()}getOriginalOptions(){return this.editors.original.getOptions()}originalReveal(e){this.editors.original.revealRange(e),this.editors.original.setSelection(e),this.editors.original.focus()}getModifiedModel(){return this.editors.modified.getModel()}getModifiedOptions(){return this.editors.modified.getOptions()}modifiedReveal(e){e&&(this.editors.modified.revealRange(e),this.editors.modified.setSelection(e)),this.editors.modified.focus()}modifiedSetSelection(e){this.editors.modified.setSelection(e)}modifiedFocus(){this.editors.modified.focus()}getModifiedPosition(){var e;return null!==(e=this.editors.modified.getPosition())&&void 0!==e?e:void 0}}class en extends g.JT{constructor(e,t,i,n,s){super(),this._rootElement=e,this._diffModel=t,this._originalEditorLayoutInfo=i,this._modifiedEditorLayoutInfo=n,this._editors=s,this._originalScrollTop=(0,p.rD)(this._editors.original.onDidScrollChange,()=>this._editors.original.getScrollTop()),this._modifiedScrollTop=(0,p.rD)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._viewZonesChanged=(0,p.aq)("onDidChangeViewZones",this._editors.modified.onDidChangeViewZones),this.width=(0,p.uh)(this,0),this._modifiedViewZonesChangedSignal=(0,p.aq)("modified.onDidChangeViewZones",this._editors.modified.onDidChangeViewZones),this._originalViewZonesChangedSignal=(0,p.aq)("original.onDidChangeViewZones",this._editors.original.onDidChangeViewZones),this._state=(0,p.Be)(this,(e,t)=>{var i;this._element.replaceChildren();let n=this._diffModel.read(e),s=null===(i=null==n?void 0:n.diff.read(e))||void 0===i?void 0:i.movedTexts;if(!s||0===s.length){this.width.set(0,void 0);return}this._viewZonesChanged.read(e);let o=this._originalEditorLayoutInfo.read(e),r=this._modifiedEditorLayoutInfo.read(e);if(!o||!r){this.width.set(0,void 0);return}this._modifiedViewZonesChangedSignal.read(e),this._originalViewZonesChangedSignal.read(e);let l=s.map(t=>{function i(e,t){let i=t.getTopForLineNumber(e.startLineNumber,!0),n=t.getTopForLineNumber(e.endLineNumberExclusive,!0);return(i+n)/2}let n=i(t.lineRangeMapping.original,this._editors.original),s=this._originalScrollTop.read(e),o=i(t.lineRangeMapping.modified,this._editors.modified),r=this._modifiedScrollTop.read(e),l=n-s,a=o-r,d=Math.min(n,o),h=Math.max(n,o);return{range:new T.q(d,h),from:l,to:a,fromWithoutScroll:n,toWithoutScroll:o,move:t}});l.sort((0,L.f_)((0,L.tT)(e=>e.fromWithoutScroll>e.toWithoutScroll,L.nW),(0,L.tT)(e=>e.fromWithoutScroll>e.toWithoutScroll?e.fromWithoutScroll:-e.toWithoutScroll,L.fv)));let a=es.compute(l.map(e=>e.range)),d=o.verticalScrollbarWidth,h=(a.getTrackCount()-1)*10+20,u=d+h+(r.contentLeft-en.movedCodeBlockPadding),c=0;for(let e of l){let i=a.getTrack(c),s=d+10+10*i,o=r.glyphMarginWidth+r.lineNumbersWidth,l=document.createElementNS("http://www.w3.org/2000/svg","rect");l.classList.add("arrow-rectangle"),l.setAttribute("x",`${u-o}`),l.setAttribute("y",`${e.to-9}`),l.setAttribute("width",`${o}`),l.setAttribute("height","18"),this._element.appendChild(l);let h=document.createElementNS("http://www.w3.org/2000/svg","g"),g=document.createElementNS("http://www.w3.org/2000/svg","path");g.setAttribute("d",`M 0 ${e.from} L ${s} ${e.from} L ${s} ${e.to} L ${u-15} ${e.to}`),g.setAttribute("fill","none"),h.appendChild(g);let m=document.createElementNS("http://www.w3.org/2000/svg","polygon");m.classList.add("arrow"),t.add((0,p.EH)(t=>{g.classList.toggle("currentMove",e.move===n.activeMovedText.read(t)),m.classList.toggle("currentMove",e.move===n.activeMovedText.read(t))})),m.setAttribute("points",`${u-15},${e.to-7.5} ${u},${e.to} ${u-15},${e.to+7.5}`),h.appendChild(m),this._element.appendChild(h),c++}this.width.set(h,void 0)}),this._element=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("class","moved-blocks-lines"),this._rootElement.appendChild(this._element),this._register((0,g.OF)(()=>this._element.remove())),this._register((0,p.EH)(e=>{let t=this._originalEditorLayoutInfo.read(e),i=this._modifiedEditorLayoutInfo.read(e);t&&i&&(this._element.style.left=`${t.width-t.verticalScrollbarWidth}px`,this._element.style.height=`${t.height}px`,this._element.style.width=`${t.verticalScrollbarWidth+t.contentLeft-en.movedCodeBlockPadding+this.width.read(e)}px`)})),this._register((0,p.jx)(this._state));let o=(0,p.nK)(e=>{let t=this._diffModel.read(e),i=null==t?void 0:t.diff.read(e);return i?i.movedTexts.map(e=>({move:e,original:new N.GD((0,p.Dz)(e.lineRangeMapping.original.startLineNumber-1),18),modified:new N.GD((0,p.Dz)(e.lineRangeMapping.modified.startLineNumber-1),18)})):[]});this._register((0,N.Sv)(this._editors.original,o.map(e=>e.map(e=>e.original)))),this._register((0,N.Sv)(this._editors.modified,o.map(e=>e.map(e=>e.modified)))),this._register((0,p.gp)((e,t)=>{let i=o.read(e);for(let e of i)t.add(new eo(this._editors.original,e.original,e.move,"original",this._diffModel.get())),t.add(new eo(this._editors.modified,e.modified,e.move,"modified",this._diffModel.get()))}));let r=(0,p.aq)("original.onDidFocusEditorWidget",e=>this._editors.original.onDidFocusEditorWidget(()=>setTimeout(()=>e(void 0),0))),l=(0,p.aq)("modified.onDidFocusEditorWidget",e=>this._editors.modified.onDidFocusEditorWidget(()=>setTimeout(()=>e(void 0),0))),a="modified";this._register((0,p.nJ)({createEmptyChangeSummary:()=>void 0,handleChange:(e,t)=>(e.didChange(r)&&(a="original"),e.didChange(l)&&(a="modified"),!0)},e=>{let t;r.read(e),l.read(e);let i=this._diffModel.read(e);if(!i)return;let n=i.diff.read(e);if(n&&"original"===a){let i=this._editors.originalCursor.read(e);i&&(t=n.movedTexts.find(e=>e.lineRangeMapping.original.contains(i.lineNumber)))}if(n&&"modified"===a){let i=this._editors.modifiedCursor.read(e);i&&(t=n.movedTexts.find(e=>e.lineRangeMapping.modified.contains(i.lineNumber)))}t!==i.movedTextToCompare.get()&&i.movedTextToCompare.set(void 0,void 0),i.setActiveMovedText(t)}))}}en.movedCodeBlockPadding=4;class es{static compute(e){let t=[],i=[];for(let n of e){let e=t.findIndex(e=>!e.intersectsStrict(n));-1===e&&(t.length>=6?e=(0,h.Y0)(t,(0,L.tT)(e=>e.intersectWithRangeLength(n),L.fv)):(e=t.length,t.push(new T.M))),t[e].addRange(n),i.push(e)}return new es(t.length,i)}constructor(e,t){this._trackCount=e,this.trackPerLineIdx=t}getTrack(e){return this.trackPerLineIdx[e]}getTrackCount(){return this._trackCount}}class eo extends N.N9{constructor(e,t,i,n,s){let o;let r=(0,d.h)("div.diff-hidden-lines-widget");super(e,t,r.root),this._editor=e,this._move=i,this._kind=n,this._diffModel=s,this._nodes=(0,d.h)("div.diff-moved-code-block",{style:{marginRight:"4px"}},[(0,d.h)("div.text-content@textContent"),(0,d.h)("div.action-bar@actionBar")]),r.root.appendChild(this._nodes.root);let l=(0,p.rD)(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this._register((0,N.bg)(this._nodes.root,{paddingRight:l.map(e=>e.verticalScrollbarWidth)})),o=i.changes.length>0?"original"===this._kind?(0,W.NC)("codeMovedToWithChanges","Code moved with changes to line {0}-{1}",this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive-1):(0,W.NC)("codeMovedFromWithChanges","Code moved with changes from line {0}-{1}",this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive-1):"original"===this._kind?(0,W.NC)("codeMovedTo","Code moved to line {0}-{1}",this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive-1):(0,W.NC)("codeMovedFrom","Code moved from line {0}-{1}",this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive-1);let a=this._register(new w.o(this._nodes.actionBar,{highlightToggledItems:!0})),h=new S.aU("",o,"",!1);a.push(h,{icon:!1,label:!0});let u=new S.aU("","Compare",D.k.asClassName(k.l.compareChanges),!0,()=>{this._editor.focus(),this._diffModel.movedTextToCompare.set(this._diffModel.movedTextToCompare.get()===i?void 0:this._move,void 0)});this._register((0,p.EH)(e=>{let t=this._diffModel.movedTextToCompare.read(e)===i;u.checked=t})),a.push(u,{icon:!1,label:!0})}}var er=i(27774);class el extends g.JT{constructor(e,t,i,n){super(),this._editors=e,this._diffModel=t,this._options=i,this._decorations=(0,p.nK)(this,e=>{var t;let i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.diff.read(e);if(!i)return null;let n=this._diffModel.read(e).movedTextToCompare.read(e),s=this._options.renderIndicators.read(e),o=this._options.showEmptyDecorations.read(e),r=[],l=[];if(!n)for(let e of i.mappings)if(e.lineRangeMapping.original.isEmpty||r.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:s?er.iq:er.i_}),e.lineRangeMapping.modified.isEmpty||l.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:s?er.vv:er.rd}),e.lineRangeMapping.modified.isEmpty||e.lineRangeMapping.original.isEmpty)e.lineRangeMapping.original.isEmpty||r.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:er.W3}),e.lineRangeMapping.modified.isEmpty||l.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:er.Jv});else for(let t of e.lineRangeMapping.innerChanges||[])e.lineRangeMapping.original.contains(t.originalRange.startLineNumber)&&r.push({range:t.originalRange,options:t.originalRange.isEmpty()&&o?er.$F:er.rq}),e.lineRangeMapping.modified.contains(t.modifiedRange.startLineNumber)&&l.push({range:t.modifiedRange,options:t.modifiedRange.isEmpty()&&o?er.n_:er.LE});if(n)for(let e of n.changes){let t=e.original.toInclusiveRange();t&&r.push({range:t,options:s?er.iq:er.i_});let i=e.modified.toInclusiveRange();for(let t of(i&&l.push({range:i,options:s?er.vv:er.rd}),e.innerChanges||[]))r.push({range:t.originalRange,options:er.rq}),l.push({range:t.modifiedRange,options:er.LE})}let a=this._diffModel.read(e).activeMovedText.read(e);for(let e of i.movedTexts)r.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:{description:"moved",blockClassName:"movedOriginal"+(e===a?" currentMove":""),blockPadding:[en.movedCodeBlockPadding,0,en.movedCodeBlockPadding,en.movedCodeBlockPadding]}}),l.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:{description:"moved",blockClassName:"movedModified"+(e===a?" currentMove":""),blockPadding:[4,0,4,4]}});return{originalDecorations:r,modifiedDecorations:l}}),this._register((0,N.RP)(this._editors.original,this._decorations.map(e=>(null==e?void 0:e.originalDecorations)||[]))),this._register((0,N.RP)(this._editors.modified,this._decorations.map(e=>(null==e?void 0:e.modifiedDecorations)||[])))}}var ea=i(56274);class ed{resetSash(){this._sashRatio.set(void 0,void 0)}constructor(e,t){this._options=e,this.dimensions=t,this.sashLeft=(0,m.B5)(this,e=>{var t;let i=null!==(t=this._sashRatio.read(e))&&void 0!==t?t:this._options.splitViewDefaultRatio.read(e);return this._computeSashLeft(i,e)},(e,t)=>{let i=this.dimensions.width.get();this._sashRatio.set(e/i,t)}),this._sashRatio=(0,p.uh)(this,void 0)}_computeSashLeft(e,t){let i=this.dimensions.width.read(t),n=Math.floor(this._options.splitViewDefaultRatio.read(t)*i),s=this._options.enableSplitViewResizing.read(t)?Math.floor(e*i):n;return i<=200?n:s<100?100:s>i-100?i-100:s}}class eh extends g.JT{constructor(e,t,i,n,s,o){super(),this._domNode=e,this._dimensions=t,this._enabled=i,this._boundarySashes=n,this.sashLeft=s,this._resetSash=o,this._sash=this._register(new ea.g(this._domNode,{getVerticalSashTop:e=>0,getVerticalSashLeft:e=>this.sashLeft.get(),getVerticalSashHeight:e=>this._dimensions.height.get()},{orientation:0})),this._startSashPosition=void 0,this._register(this._sash.onDidStart(()=>{this._startSashPosition=this.sashLeft.get()})),this._register(this._sash.onDidChange(e=>{this.sashLeft.set(this._startSashPosition+(e.currentX-e.startX),void 0)})),this._register(this._sash.onDidEnd(()=>this._sash.layout())),this._register(this._sash.onDidReset(()=>this._resetSash())),this._register((0,p.EH)(e=>{let t=this._boundarySashes.read(e);t&&(this._sash.orthogonalEndSash=t.bottom)})),this._register((0,p.EH)(e=>{let t=this._enabled.read(e);this._sash.state=t?3:0,this.sashLeft.read(e),this._dimensions.height.read(e),this._sash.layout()}))}}var eu=i(44532),ec=i(24162),eg=i(9424),ep=i(66653),em=i(44129),ef=i(87999),e_=i(77207),ev=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},eb=function(e,t){return function(i,n){t(i,n,e)}};let eC=(0,V.yh)("diffProviderFactoryService"),ew=class{constructor(e){this.instantiationService=e}createDiffProvider(e){return this.instantiationService.createInstance(ey,e)}};ew=ev([eb(0,V.TG)],ew),(0,ep.z)(eC,ew,1);let ey=l=class{constructor(e,t,i){this.editorWorkerService=t,this.telemetryService=i,this.onDidChangeEventEmitter=new c.Q5,this.onDidChange=this.onDidChangeEventEmitter.event,this.diffAlgorithm="advanced",this.diffAlgorithmOnDidChangeSubscription=void 0,this.setOptions(e)}dispose(){var e;null===(e=this.diffAlgorithmOnDidChangeSubscription)||void 0===e||e.dispose()}async computeDiff(e,t,i,n){var s,o;if("string"!=typeof this.diffAlgorithm)return this.diffAlgorithm.computeDiff(e,t,i,n);if(e.isDisposed()||t.isDisposed())return{changes:[],identical:!0,quitEarly:!1,moves:[]};if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return 1===t.getLineCount()&&1===t.getLineMaxColumn(1)?{changes:[],identical:!0,quitEarly:!1,moves:[]}:{changes:[new A.gB(new I.z(1,2),new I.z(1,t.getLineCount()+1),[new A.iy(e.getFullModelRange(),t.getFullModelRange())])],identical:!1,quitEarly:!1,moves:[]};let r=JSON.stringify([e.uri.toString(),t.uri.toString()]),a=JSON.stringify([e.id,t.id,e.getAlternativeVersionId(),t.getAlternativeVersionId(),JSON.stringify(i)]),d=l.diffCache.get(r);if(d&&d.context===a)return d.result;let h=em.G.create(),u=await this.editorWorkerService.computeDiff(e.uri,t.uri,i,this.diffAlgorithm),c=h.elapsed();if(this.telemetryService.publicLog2("diffEditor.computeDiff",{timeMs:c,timedOut:null===(s=null==u?void 0:u.quitEarly)||void 0===s||s,detectedMoves:i.computeMoves?null!==(o=null==u?void 0:u.moves.length)&&void 0!==o?o:0:-1}),n.isCancellationRequested)return{changes:[],identical:!1,quitEarly:!0,moves:[]};if(!u)throw Error("no diff result available");return l.diffCache.size>10&&l.diffCache.delete(l.diffCache.keys().next().value),l.diffCache.set(r,{result:u,context:a}),u}setOptions(e){var t;let i=!1;e.diffAlgorithm&&this.diffAlgorithm!==e.diffAlgorithm&&(null===(t=this.diffAlgorithmOnDidChangeSubscription)||void 0===t||t.dispose(),this.diffAlgorithmOnDidChangeSubscription=void 0,this.diffAlgorithm=e.diffAlgorithm,"string"!=typeof e.diffAlgorithm&&(this.diffAlgorithmOnDidChangeSubscription=e.diffAlgorithm.onDidChange(()=>this.onDidChangeEventEmitter.fire())),i=!0),i&&this.onDidChangeEventEmitter.fire()}};ey.diffCache=new Map,ey=l=ev([eb(1,ef.p),eb(2,e_.b)],ey);var eS=i(78586),eL=i(52404),ek=i(7976),eD=i(18084),ex=i(61413);let eN=class extends g.JT{setActiveMovedText(e){this._activeMovedText.set(e,void 0)}constructor(e,t,i){super(),this.model=e,this._options=t,this._diffProviderFactoryService=i,this._isDiffUpToDate=(0,p.uh)(this,!1),this.isDiffUpToDate=this._isDiffUpToDate,this._diff=(0,p.uh)(this,void 0),this.diff=this._diff,this._unchangedRegions=(0,p.uh)(this,void 0),this.unchangedRegions=(0,p.nK)(this,e=>{var t,i;return this._options.hideUnchangedRegions.read(e)?null!==(i=null===(t=this._unchangedRegions.read(e))||void 0===t?void 0:t.regions)&&void 0!==i?i:[]:((0,p.PS)(e=>{var t;for(let i of(null===(t=this._unchangedRegions.get())||void 0===t?void 0:t.regions)||[])i.collapseAll(e)}),[])}),this.movedTextToCompare=(0,p.uh)(this,void 0),this._activeMovedText=(0,p.uh)(this,void 0),this._hoveredMovedText=(0,p.uh)(this,void 0),this.activeMovedText=(0,p.nK)(this,e=>{var t,i;return null!==(i=null!==(t=this.movedTextToCompare.read(e))&&void 0!==t?t:this._hoveredMovedText.read(e))&&void 0!==i?i:this._activeMovedText.read(e)}),this._cancellationTokenSource=new eg.AU,this._diffProvider=(0,p.nK)(this,e=>{let t=this._diffProviderFactoryService.createDiffProvider({diffAlgorithm:this._options.diffAlgorithm.read(e)}),i=(0,p.aq)("onDidChange",t.onDidChange);return{diffProvider:t,onChangeSignal:i}}),this._register((0,g.OF)(()=>this._cancellationTokenSource.cancel()));let n=(0,p.GN)("contentChangedSignal"),s=this._register(new eu.pY(()=>n.trigger(void 0),200));this._register((0,p.EH)(t=>{let i=this._unchangedRegions.read(t);if(!i||i.regions.some(e=>e.isDragged.read(t)))return;let n=i.originalDecorationIds.map(t=>e.original.getDecorationRange(t)).map(e=>e?I.z.fromRangeInclusive(e):void 0),s=i.modifiedDecorationIds.map(t=>e.modified.getDecorationRange(t)).map(e=>e?I.z.fromRangeInclusive(e):void 0),o=i.regions.map((e,i)=>n[i]&&s[i]?new eT(n[i].startLineNumber,s[i].startLineNumber,n[i].length,e.visibleLineCountTop.read(t),e.visibleLineCountBottom.read(t)):void 0).filter(ec.$K),r=[],l=!1;for(let e of(0,L.mw)(o,(e,i)=>e.getHiddenModifiedRange(t).endLineNumberExclusive===i.getHiddenModifiedRange(t).startLineNumber))if(e.length>1){l=!0;let t=e.reduce((e,t)=>e+t.lineCount,0),i=new eT(e[0].originalLineNumber,e[0].modifiedLineNumber,t,e[0].visibleLineCountTop.get(),e[e.length-1].visibleLineCountBottom.get());r.push(i)}else r.push(e[0]);if(l){let t=e.original.deltaDecorations(i.originalDecorationIds,r.map(e=>({range:e.originalUnchangedRange.toInclusiveRange(),options:{description:"unchanged"}}))),n=e.modified.deltaDecorations(i.modifiedDecorationIds,r.map(e=>({range:e.modifiedUnchangedRange.toInclusiveRange(),options:{description:"unchanged"}})));(0,p.PS)(e=>{this._unchangedRegions.set({regions:r,originalDecorationIds:t,modifiedDecorationIds:n},e)})}}));let o=(t,i,n)=>{let s;let o=eT.fromDiffs(t.changes,e.original.getLineCount(),e.modified.getLineCount(),this._options.hideUnchangedRegionsMinimumLineCount.read(n),this._options.hideUnchangedRegionsContextLineCount.read(n)),r=this._unchangedRegions.get();if(r){let t=r.originalDecorationIds.map(t=>e.original.getDecorationRange(t)).map(e=>e?I.z.fromRangeInclusive(e):void 0),i=r.modifiedDecorationIds.map(t=>e.modified.getDecorationRange(t)).map(e=>e?I.z.fromRangeInclusive(e):void 0),o=(0,N.W7)(r.regions.map((e,n)=>{if(!t[n]||!i[n])return;let s=t[n].length;return new eT(t[n].startLineNumber,i[n].startLineNumber,s,Math.min(e.visibleLineCountTop.get(),s),Math.min(e.visibleLineCountBottom.get(),s-e.visibleLineCountTop.get()))}).filter(ec.$K),(e,t)=>!t||e.modifiedLineNumber>=t.modifiedLineNumber+t.lineCount&&e.originalLineNumber>=t.originalLineNumber+t.lineCount),l=o.map(e=>new A.f0(e.getHiddenOriginalRange(n),e.getHiddenModifiedRange(n)));l=A.f0.clip(l,I.z.ofLength(1,e.original.getLineCount()),I.z.ofLength(1,e.modified.getLineCount())),s=A.f0.inverse(l,e.original.getLineCount(),e.modified.getLineCount())}let l=[];if(s)for(let e of o){let t=s.filter(t=>t.original.intersectsStrict(e.originalUnchangedRange)&&t.modified.intersectsStrict(e.modifiedUnchangedRange));l.push(...e.setVisibleRanges(t,i))}else l.push(...o);let a=e.original.deltaDecorations((null==r?void 0:r.originalDecorationIds)||[],l.map(e=>({range:e.originalUnchangedRange.toInclusiveRange(),options:{description:"unchanged"}}))),d=e.modified.deltaDecorations((null==r?void 0:r.modifiedDecorationIds)||[],l.map(e=>({range:e.modifiedUnchangedRange.toInclusiveRange(),options:{description:"unchanged"}})));this._unchangedRegions.set({regions:l,originalDecorationIds:a,modifiedDecorationIds:d},i)};this._register(e.modified.onDidChangeContent(t=>{let i=this._diff.get();if(i){let i=eL.Q.fromModelContentChanges(t.changes),n=eR(this._lastDiff,i,e.original,e.modified);n&&(this._lastDiff=n,(0,p.PS)(e=>{this._diff.set(eE.fromDiffResult(this._lastDiff),e),o(n,e);let t=this.movedTextToCompare.get();this.movedTextToCompare.set(t?this._lastDiff.moves.find(e=>e.lineRangeMapping.modified.intersect(t.lineRangeMapping.modified)):void 0,e)}))}this._isDiffUpToDate.set(!1,void 0),s.schedule()})),this._register(e.original.onDidChangeContent(t=>{let i=this._diff.get();if(i){let i=eL.Q.fromModelContentChanges(t.changes),n=eM(this._lastDiff,i,e.original,e.modified);n&&(this._lastDiff=n,(0,p.PS)(e=>{this._diff.set(eE.fromDiffResult(this._lastDiff),e),o(n,e);let t=this.movedTextToCompare.get();this.movedTextToCompare.set(t?this._lastDiff.moves.find(e=>e.lineRangeMapping.modified.intersect(t.lineRangeMapping.modified)):void 0,e)}))}this._isDiffUpToDate.set(!1,void 0),s.schedule()})),this._register((0,p.gp)(async(t,i)=>{var r,l,a,d,h;this._options.hideUnchangedRegionsMinimumLineCount.read(t),this._options.hideUnchangedRegionsContextLineCount.read(t),s.cancel(),n.read(t);let u=this._diffProvider.read(t);u.onChangeSignal.read(t),(0,N.NW)(eS.DW,t),(0,N.NW)(eD.xG,t),this._isDiffUpToDate.set(!1,void 0);let c=[];i.add(e.original.onDidChangeContent(e=>{let t=eL.Q.fromModelContentChanges(e.changes);c=(0,ek.o)(c,t)}));let g=[];i.add(e.modified.onDidChangeContent(e=>{let t=eL.Q.fromModelContentChanges(e.changes);g=(0,ek.o)(g,t)}));let m=await u.diffProvider.computeDiff(e.original,e.modified,{ignoreTrimWhitespace:this._options.ignoreTrimWhitespace.read(t),maxComputationTimeMs:this._options.maxComputationTimeMs.read(t),computeMoves:this._options.showMoves.read(t)},this._cancellationTokenSource.token);!(this._cancellationTokenSource.token.isCancellationRequested||e.original.isDisposed()||e.modified.isDisposed())&&(m=null!==(l=eR(m=null!==(r=eM((a=m,d=e.original,h=e.modified,m={changes:a.changes.map(e=>new A.gB(e.original,e.modified,e.innerChanges?e.innerChanges.map(e=>{let t,i;return t=e.originalRange,i=e.modifiedRange,(1!==t.endColumn||1!==i.endColumn)&&t.endColumn===d.getLineMaxColumn(t.endLineNumber)&&i.endColumn===h.getLineMaxColumn(i.endLineNumber)&&t.endLineNumber{o(m,e),this._lastDiff=m;let t=eE.fromDiffResult(m);this._diff.set(t,e),this._isDiffUpToDate.set(!0,e);let i=this.movedTextToCompare.get();this.movedTextToCompare.set(i?this._lastDiff.moves.find(e=>e.lineRangeMapping.modified.intersect(i.lineRangeMapping.modified)):void 0,e)}))}))}ensureModifiedLineIsVisible(e,t,i){var n,s;if((null===(n=this.diff.get())||void 0===n?void 0:n.mappings.length)===0)return;let o=(null===(s=this._unchangedRegions.get())||void 0===s?void 0:s.regions)||[];for(let n of o)if(n.getHiddenModifiedRange(void 0).contains(e)){n.showModifiedLine(e,t,i);return}}ensureOriginalLineIsVisible(e,t,i){var n,s;if((null===(n=this.diff.get())||void 0===n?void 0:n.mappings.length)===0)return;let o=(null===(s=this._unchangedRegions.get())||void 0===s?void 0:s.regions)||[];for(let n of o)if(n.getHiddenOriginalRange(void 0).contains(e)){n.showOriginalLine(e,t,i);return}}async waitForDiff(){await (0,p.F_)(this.isDiffUpToDate,e=>e)}serializeState(){let e=this._unchangedRegions.get();return{collapsedRegions:null==e?void 0:e.regions.map(e=>({range:e.getHiddenModifiedRange(void 0).serialize()}))}}restoreSerializedState(e){var t;let i=null===(t=e.collapsedRegions)||void 0===t?void 0:t.map(e=>I.z.deserialize(e.range)),n=this._unchangedRegions.get();n&&i&&(0,p.PS)(e=>{for(let t of n.regions)for(let n of i)if(t.modifiedUnchangedRange.intersect(n)){t.setHiddenModifiedRange(n,e);break}})}};eN=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([function(e,t){eC(e,t,2)}],eN);class eE{static fromDiffResult(e){return new eE(e.changes.map(e=>new eI(e)),e.moves||[],e.identical,e.quitEarly)}constructor(e,t,i,n){this.mappings=e,this.movedTexts=t,this.identical=i,this.quitEarly=n}}class eI{constructor(e){this.lineRangeMapping=e}}class eT{static fromDiffs(e,t,i,n,s){let o=A.gB.inverse(e,t,i),r=[];for(let e of o){let o=e.original.startLineNumber,l=e.modified.startLineNumber,a=e.original.length,d=1===o&&1===l,h=o+a===t+1&&l+a===i+1;(d||h)&&a>=s+n?(d&&!h&&(a-=s),h&&!d&&(o+=s,l+=s,a-=s),r.push(new eT(o,l,a,0,0))):a>=2*s+n&&(o+=s,l+=s,a-=2*s,r.push(new eT(o,l,a,0,0)))}return r}get originalUnchangedRange(){return I.z.ofLength(this.originalLineNumber,this.lineCount)}get modifiedUnchangedRange(){return I.z.ofLength(this.modifiedLineNumber,this.lineCount)}constructor(e,t,i,n,s){this.originalLineNumber=e,this.modifiedLineNumber=t,this.lineCount=i,this._visibleLineCountTop=(0,p.uh)(this,0),this.visibleLineCountTop=this._visibleLineCountTop,this._visibleLineCountBottom=(0,p.uh)(this,0),this.visibleLineCountBottom=this._visibleLineCountBottom,this._shouldHideControls=(0,p.nK)(this,e=>this.visibleLineCountTop.read(e)+this.visibleLineCountBottom.read(e)===this.lineCount&&!this.isDragged.read(e)),this.isDragged=(0,p.uh)(this,void 0);let o=Math.max(Math.min(n,this.lineCount),0),r=Math.max(Math.min(s,this.lineCount-n),0);(0,ex.wN)(n===o),(0,ex.wN)(s===r),this._visibleLineCountTop.set(o,void 0),this._visibleLineCountBottom.set(r,void 0)}setVisibleRanges(e,t){let i=[],n=new I.i(e.map(e=>e.modified)).subtractFrom(this.modifiedUnchangedRange),s=this.originalLineNumber,o=this.modifiedLineNumber,r=this.modifiedLineNumber+this.lineCount;if(0===n.ranges.length)this.showAll(t),i.push(this);else{let e=0;for(let l of n.ranges){let a=e===n.ranges.length-1;e++;let d=(a?r:l.endLineNumberExclusive)-o,h=new eT(s,o,d,0,0);h.setHiddenModifiedRange(l,t),i.push(h),s=h.originalUnchangedRange.endLineNumberExclusive,o=h.modifiedUnchangedRange.endLineNumberExclusive}}return i}shouldHideControls(e){return this._shouldHideControls.read(e)}getHiddenOriginalRange(e){return I.z.ofLength(this.originalLineNumber+this._visibleLineCountTop.read(e),this.lineCount-this._visibleLineCountTop.read(e)-this._visibleLineCountBottom.read(e))}getHiddenModifiedRange(e){return I.z.ofLength(this.modifiedLineNumber+this._visibleLineCountTop.read(e),this.lineCount-this._visibleLineCountTop.read(e)-this._visibleLineCountBottom.read(e))}setHiddenModifiedRange(e,t){let i=e.startLineNumber-this.modifiedLineNumber,n=this.modifiedLineNumber+this.lineCount-e.endLineNumberExclusive;this.setState(i,n,t)}getMaxVisibleLineCountTop(){return this.lineCount-this._visibleLineCountBottom.get()}getMaxVisibleLineCountBottom(){return this.lineCount-this._visibleLineCountTop.get()}showMoreAbove(e=10,t){let i=this.getMaxVisibleLineCountTop();this._visibleLineCountTop.set(Math.min(this._visibleLineCountTop.get()+e,i),t)}showMoreBelow(e=10,t){let i=this.lineCount-this._visibleLineCountTop.get();this._visibleLineCountBottom.set(Math.min(this._visibleLineCountBottom.get()+e,i),t)}showAll(e){this._visibleLineCountBottom.set(this.lineCount-this._visibleLineCountTop.get(),e)}showModifiedLine(e,t,i){let n=e+1-(this.modifiedLineNumber+this._visibleLineCountTop.get()),s=this.modifiedLineNumber-this._visibleLineCountBottom.get()+this.lineCount-e;0===t&&n{var s;this._contextMenuService.showContextMenu({domForShadowRoot:c&&null!==(s=i.getDomNode())&&void 0!==s?s:void 0,getAnchor:()=>({x:e,y:t}),getActions:()=>{let e=[],t=n.modified.isEmpty;e.push(new S.aU("diff.clipboard.copyDeletedContent",t?n.original.length>1?(0,W.NC)("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):(0,W.NC)("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"):n.original.length>1?(0,W.NC)("diff.clipboard.copyChangedLinesContent.label","Copy changed lines"):(0,W.NC)("diff.clipboard.copyChangedLinesContent.single.label","Copy changed line"),void 0,!0,async()=>{let e=this._originalTextModel.getValueInRange(n.original.toExclusiveRange());await this._clipboardService.writeText(e)})),n.original.length>1&&e.push(new S.aU("diff.clipboard.copyDeletedLineContent",t?(0,W.NC)("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",n.original.startLineNumber+u):(0,W.NC)("diff.clipboard.copyChangedLineContent.label","Copy changed line ({0})",n.original.startLineNumber+u),void 0,!0,async()=>{let e=this._originalTextModel.getLineContent(n.original.startLineNumber+u);if(""===e){let t=this._originalTextModel.getEndOfLineSequence();e=0===t?"\n":"\r\n"}await this._clipboardService.writeText(e)}));let s=i.getOption(91);return s||e.push(new S.aU("diff.inline.revertChange",(0,W.NC)("diff.inline.revertChange.label","Revert this change"),void 0,!0,async()=>{this._editor.revert(this._diff)})),e},autoSelectFirstItem:!0})};this._register((0,d.mu)(this._diffActions,"mousedown",e=>{if(!e.leftButton)return;let{top:t,height:i}=(0,d.i)(this._diffActions),n=Math.floor(h/3);e.preventDefault(),g(e.posx,t+i+n)})),this._register(i.onMouseMove(e=>{(8===e.target.type||5===e.target.type)&&e.target.detail.viewZoneId===this._getViewZoneId()?(u=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,h),this.visibility=!0):this.visibility=!1})),this._register(i.onMouseDown(e=>{if(e.event.leftButton&&(8===e.target.type||5===e.target.type)){let t=e.target.detail.viewZoneId;t===this._getViewZoneId()&&(e.event.preventDefault(),u=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,h),g(e.event.posx,e.event.posy+h))}}))}_updateLightBulbPosition(e,t,i){let{top:n}=(0,d.i)(e),s=Math.floor((t-n)/i);if(this._diffActions.style.top=`${s*i}px`,this._viewLineCounts){let e=0;for(let t=0;te});class eW{constructor(e,t,i,n){this.lineTokens=e,this.lineBreakData=t,this.mightContainNonBasicASCII=i,this.mightContainRTL=n}}class eH{static fromEditor(e){var t;let i=e.getOptions(),n=i.get(50),s=i.get(145);return new eH((null===(t=e.getModel())||void 0===t?void 0:t.getOptions().tabSize)||0,n,i.get(33),n.typicalHalfwidthCharacterWidth,i.get(104),i.get(67),s.decorationsWidth,i.get(117),i.get(99),i.get(94),i.get(51))}constructor(e,t,i,n,s,o,r,l,a,d,h){this.tabSize=e,this.fontInfo=t,this.disableMonospaceOptimizations=i,this.typicalHalfwidthCharacterWidth=n,this.scrollBeyondLastColumn=s,this.lineHeight=o,this.lineDecorationsWidth=r,this.stopRenderingLineAfter=l,this.renderWhitespace=a,this.renderControlCharacters=d,this.fontLigatures=h}}function eV(e,t,i,n,s,o,r,l){l.appendString('
    ');let a=t.getLineContent(),d=B.wA.isBasicASCII(a,s),h=B.wA.containsRTL(a,d,o),u=(0,F.d1)(new F.IJ(r.fontInfo.isMonospace&&!r.disableMonospaceOptimizations,r.fontInfo.canUseHalfwidthRightwardsArrow,a,!1,d,h,0,t,i,r.tabSize,0,r.fontInfo.spaceWidth,r.fontInfo.middotWidth,r.fontInfo.wsmiddotWidth,r.stopRenderingLineAfter,r.renderWhitespace,r.renderControlCharacters,r.fontLigatures!==E.n0.OFF,null),l);return l.appendString("
    "),u.characterMapping.getHorizontalOffset(u.characterMapping.length)}var ez=i(59203),eK=i(10727),eU=function(e,t){return function(i,n){t(i,n,e)}};let e$=class extends g.JT{constructor(e,t,i,n,s,o,r,l,a,h){super(),this._targetWindow=e,this._editors=t,this._diffModel=i,this._options=n,this._diffEditorWidget=s,this._canIgnoreViewZoneUpdateEvent=o,this._origViewZonesToIgnore=r,this._modViewZonesToIgnore=l,this._clipboardService=a,this._contextMenuService=h,this._originalTopPadding=(0,p.uh)(this,0),this._originalScrollOffset=(0,p.uh)(this,0),this._originalScrollOffsetAnimated=(0,N.Vm)(this._targetWindow,this._originalScrollOffset,this._store),this._modifiedTopPadding=(0,p.uh)(this,0),this._modifiedScrollOffset=(0,p.uh)(this,0),this._modifiedScrollOffsetAnimated=(0,N.Vm)(this._targetWindow,this._modifiedScrollOffset,this._store);let u=(0,p.uh)("invalidateAlignmentsState",0),c=this._register(new eu.pY(()=>{u.set(u.get()+1,void 0)},0));this._register(this._editors.original.onDidChangeViewZones(e=>{this._canIgnoreViewZoneUpdateEvent()||c.schedule()})),this._register(this._editors.modified.onDidChangeViewZones(e=>{this._canIgnoreViewZoneUpdateEvent()||c.schedule()})),this._register(this._editors.original.onDidChangeConfiguration(e=>{(e.hasChanged(146)||e.hasChanged(67))&&c.schedule()})),this._register(this._editors.modified.onDidChangeConfiguration(e=>{(e.hasChanged(146)||e.hasChanged(67))&&c.schedule()}));let m=this._diffModel.map(e=>e?(0,p.rD)(e.model.original.onDidChangeTokens,()=>2===e.model.original.tokenization.backgroundTokenizationState):void 0).map((e,t)=>null==e?void 0:e.read(t)),f=(0,p.nK)(e=>{let t=this._diffModel.read(e),i=null==t?void 0:t.diff.read(e);if(!t||!i)return null;u.read(e);let n=this._options.renderSideBySide.read(e);return eq(this._editors.original,this._editors.modified,i.mappings,this._origViewZonesToIgnore,this._modViewZonesToIgnore,n)}),_=(0,p.nK)(e=>{var t;let i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.movedTextToCompare.read(e);if(!i)return null;u.read(e);let n=i.changes.map(e=>new eI(e));return eq(this._editors.original,this._editors.modified,n,this._origViewZonesToIgnore,this._modViewZonesToIgnore,!0)});function v(){let e=document.createElement("div");return e.className="diagonal-fill",e}let b=this._register(new g.SL);this.viewZones=(0,p.Be)(this,(e,t)=>{var i,n,o,r,l,a,h,u;b.clear();let c=f.read(e)||[],g=[],p=[],C=this._modifiedTopPadding.read(e);C>0&&p.push({afterLineNumber:0,domNode:document.createElement("div"),heightInPx:C,showInHiddenAreas:!0,suppressMouseDown:!0});let w=this._originalTopPadding.read(e);w>0&&g.push({afterLineNumber:0,domNode:document.createElement("div"),heightInPx:w,showInHiddenAreas:!0,suppressMouseDown:!0});let y=this._options.renderSideBySide.read(e),S=y?void 0:null===(i=this._editors.modified._getViewModel())||void 0===i?void 0:i.createLineBreaksComputer();if(S){let e=this._editors.original.getModel();for(let t of c)if(t.diff)for(let i=t.originalRange.startLineNumber;ie.getLineCount())return{orig:g,mod:p};null==S||S.addRequest(e.getLineContent(i),null,null)}}let L=null!==(n=null==S?void 0:S.finalize())&&void 0!==n?n:[],N=0,E=this._editors.modified.getOption(67),I=null===(o=this._diffModel.read(e))||void 0===o?void 0:o.movedTextToCompare.read(e),T=null!==(l=null===(r=this._editors.original.getModel())||void 0===r?void 0:r.mightContainNonBasicASCII())&&void 0!==l&&l,M=null!==(h=null===(a=this._editors.original.getModel())||void 0===a?void 0:a.mightContainRTL())&&void 0!==h&&h,R=eH.fromEditor(this._editors.modified);for(let i of c)if(i.diff&&!y){if(!i.originalRange.isEmpty){let t;m.read(e);let n=document.createElement("div");n.classList.add("view-lines","line-delete","monaco-mouse-cursor-text");let s=this._editors.original.getModel();if(i.originalRange.endLineNumberExclusive-1>s.getLineCount())return{orig:g,mod:p};let o=new eW(i.originalRange.mapToLineArray(e=>s.tokenization.getLineTokens(e)),i.originalRange.mapToLineArray(e=>L[N++]),T,M),r=[];for(let e of i.diff.innerChanges||[])r.push(new B.$t(e.originalRange.delta(-(i.diff.original.startLineNumber-1)),er.rq.className,0));let l=function(e,t,i,n){(0,x.N)(n,t.fontInfo);let s=i.length>0,o=new eO.HT(1e4),r=0,l=0,a=[];for(let n=0;n(0,ec.cW)(t),a,this._editors.modified,i.diff,this._diffEditorWidget,l.viewLineCounts,this._editors.original.getModel(),this._contextMenuService,this._clipboardService));for(let e=0;e1&&g.push({afterLineNumber:i.originalRange.startLineNumber+e,domNode:v(),heightInPx:(t-1)*E,showInHiddenAreas:!0,suppressMouseDown:!0})}p.push({afterLineNumber:i.modifiedRange.startLineNumber-1,domNode:n,heightInPx:l.heightInLines*E,minWidthInPx:l.minWidthInPx,marginDomNode:a,setZoneId(e){t=e},showInHiddenAreas:!0,suppressMouseDown:!0})}let t=document.createElement("div");t.className="gutter-delete",g.push({afterLineNumber:i.originalRange.endLineNumberExclusive-1,domNode:v(),heightInPx:i.modifiedHeightInPx,marginDomNode:t,showInHiddenAreas:!0,suppressMouseDown:!0})}else{let n=i.modifiedHeightInPx-i.originalHeightInPx;if(n>0){if(null==I?void 0:I.lineRangeMapping.original.delta(-1).deltaLength(2).contains(i.originalRange.endLineNumberExclusive-1))continue;g.push({afterLineNumber:i.originalRange.endLineNumberExclusive-1,domNode:v(),heightInPx:n,showInHiddenAreas:!0,suppressMouseDown:!0})}else{let o;if(null==I?void 0:I.lineRangeMapping.modified.delta(-1).deltaLength(2).contains(i.modifiedRange.endLineNumberExclusive-1))continue;i.diff&&i.diff.modified.isEmpty&&this._options.shouldRenderOldRevertArrows.read(e)&&(o=function(){let e=document.createElement("div");return e.className="arrow-revert-change "+D.k.asClassName(k.l.arrowRight),t.add((0,d.nm)(e,"mousedown",e=>e.stopPropagation())),t.add((0,d.nm)(e,"click",e=>{e.stopPropagation(),s.revert(i.diff)})),(0,d.$)("div",{},e)}()),p.push({afterLineNumber:i.modifiedRange.endLineNumberExclusive-1,domNode:v(),heightInPx:-n,marginDomNode:o,showInHiddenAreas:!0,suppressMouseDown:!0})}}for(let t of null!==(u=_.read(e))&&void 0!==u?u:[]){if(!(null==I?void 0:I.lineRangeMapping.original.intersect(t.originalRange))||!(null==I?void 0:I.lineRangeMapping.modified.intersect(t.modifiedRange)))continue;let e=t.modifiedHeightInPx-t.originalHeightInPx;e>0?g.push({afterLineNumber:t.originalRange.endLineNumberExclusive-1,domNode:v(),heightInPx:e,showInHiddenAreas:!0,suppressMouseDown:!0}):p.push({afterLineNumber:t.modifiedRange.endLineNumberExclusive-1,domNode:v(),heightInPx:-e,showInHiddenAreas:!0,suppressMouseDown:!0})}return{orig:g,mod:p}});let C=!1;this._register(this._editors.original.onDidScrollChange(e=>{e.scrollLeftChanged&&!C&&(C=!0,this._editors.modified.setScrollLeft(e.scrollLeft),C=!1)})),this._register(this._editors.modified.onDidScrollChange(e=>{e.scrollLeftChanged&&!C&&(C=!0,this._editors.original.setScrollLeft(e.scrollLeft),C=!1)})),this._originalScrollTop=(0,p.rD)(this._editors.original.onDidScrollChange,()=>this._editors.original.getScrollTop()),this._modifiedScrollTop=(0,p.rD)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._register((0,p.EH)(e=>{let t=this._originalScrollTop.read(e)-(this._originalScrollOffsetAnimated.get()-this._modifiedScrollOffsetAnimated.read(e))-(this._originalTopPadding.get()-this._modifiedTopPadding.read(e));t!==this._editors.modified.getScrollTop()&&this._editors.modified.setScrollTop(t,1)})),this._register((0,p.EH)(e=>{let t=this._modifiedScrollTop.read(e)-(this._modifiedScrollOffsetAnimated.get()-this._originalScrollOffsetAnimated.read(e))-(this._modifiedTopPadding.get()-this._originalTopPadding.read(e));t!==this._editors.original.getScrollTop()&&this._editors.original.setScrollTop(t,1)})),this._register((0,p.EH)(e=>{var t;let i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.movedTextToCompare.read(e),n=0;if(i){let e=this._editors.original.getTopForLineNumber(i.lineRangeMapping.original.startLineNumber,!0)-this._originalTopPadding.get(),t=this._editors.modified.getTopForLineNumber(i.lineRangeMapping.modified.startLineNumber,!0)-this._modifiedTopPadding.get();n=t-e}n>0?(this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(n,void 0)):n<0?(this._modifiedTopPadding.set(-n,void 0),this._originalTopPadding.set(0,void 0)):setTimeout(()=>{this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(0,void 0)},400),this._editors.modified.hasTextFocus()?this._originalScrollOffset.set(this._modifiedScrollOffset.get()-n,void 0,!0):this._modifiedScrollOffset.set(this._originalScrollOffset.get()+n,void 0,!0)}))}};function eq(e,t,i,n,s,o){let r=new L.H9(ej(e,n)),l=new L.H9(ej(t,s)),a=e.getOption(67),d=t.getOption(67),h=[],u=0,c=0;function g(e,t){for(;;){let i=r.peek(),n=l.peek();if(i&&i.lineNumber>=e&&(i=void 0),n&&n.lineNumber>=t&&(n=void 0),!i&&!n)break;let s=i?i.lineNumber-u:Number.MAX_VALUE,o=n?n.lineNumber-c:Number.MAX_VALUE;so?(l.dequeue(),i={lineNumber:n.lineNumber-c+u,heightInPx:0}):(r.dequeue(),l.dequeue()),h.push({originalRange:I.z.ofLength(i.lineNumber,1),modifiedRange:I.z.ofLength(n.lineNumber,1),originalHeightInPx:a+i.heightInPx,modifiedHeightInPx:d+n.heightInPx,diff:void 0})}}for(let t of i){let i=t.lineRangeMapping;g(i.original.startLineNumber,i.modified.startLineNumber);let n=!0,s=i.modified.startLineNumber,m=i.original.startLineNumber;function p(e,i){var o,u,c,g;if(et.lineNumbere+t.heightInPx,0))&&void 0!==u?u:0,v=null!==(g=null===(c=l.takeWhile(e=>e.lineNumbere+t.heightInPx,0))&&void 0!==g?g:0;h.push({originalRange:p,modifiedRange:f,originalHeightInPx:p.length*a+_,modifiedHeightInPx:f.length*d+v,diff:t.lineRangeMapping}),m=e,s=i}if(o)for(let t of i.innerChanges||[]){t.originalRange.startColumn>1&&t.modifiedRange.startColumn>1&&p(t.originalRange.startLineNumber,t.modifiedRange.startLineNumber);let i=e.getModel(),n=t.originalRange.endLineNumber<=i.getLineCount()?i.getLineMaxColumn(t.originalRange.endLineNumber):Number.MAX_SAFE_INTEGER;t.originalRange.endColumn1&&n.push({lineNumber:t,heightInPx:r*(e-1)})}for(let n of e.getWhitespaces()){if(t.has(n.id))continue;let e=0===n.afterLineNumber?0:o.convertViewPositionToModelPosition(new M.L(n.afterLineNumber,1)).lineNumber;i.push({lineNumber:e,heightInPx:n.height})}let l=(0,N.Ap)(i,n,e=>e.lineNumber,(e,t)=>({lineNumber:e.lineNumber,heightInPx:e.heightInPx+t.heightInPx}));return l}e$=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eU(8,ez.p),eU(9,eK.i)],e$);class eG extends g.JT{constructor(e,t,i){super(),this._editor=e,this._domNode=t,this.itemProvider=i,this.scrollTop=(0,p.rD)(this._editor.onDidScrollChange,e=>this._editor.getScrollTop()),this.isScrollTopZero=this.scrollTop.map(e=>0===e),this.modelAttached=(0,p.rD)(this._editor.onDidChangeModel,e=>this._editor.hasModel()),this.editorOnDidChangeViewZones=(0,p.aq)("onDidChangeViewZones",this._editor.onDidChangeViewZones),this.editorOnDidContentSizeChange=(0,p.aq)("onDidContentSizeChange",this._editor.onDidContentSizeChange),this.domNodeSizeChanged=(0,p.GN)("domNodeSizeChanged"),this.views=new Map,this._domNode.className="gutter monaco-editor";let n=this._domNode.appendChild((0,d.h)("div.scroll-decoration",{role:"presentation",ariaHidden:"true",style:{width:"100%"}}).root),s=new ResizeObserver(()=>{(0,p.PS)(e=>{this.domNodeSizeChanged.trigger(e)})});s.observe(this._domNode),this._register((0,g.OF)(()=>s.disconnect())),this._register((0,p.EH)(e=>{n.className=this.isScrollTopZero.read(e)?"":"scroll-decoration"})),this._register((0,p.EH)(e=>this.render(e)))}dispose(){super.dispose(),(0,d.mc)(this._domNode)}render(e){if(!this.modelAttached.read(e))return;this.domNodeSizeChanged.read(e),this.editorOnDidChangeViewZones.read(e),this.editorOnDidContentSizeChange.read(e);let t=this.scrollTop.read(e),i=this._editor.getVisibleRanges(),n=new Set(this.views.keys()),s=T.q.ofStartAndLength(0,this._domNode.clientHeight);if(!s.isEmpty)for(let o of i){let i=new I.z(o.startLineNumber,o.endLineNumber+1),r=this.itemProvider.getIntersectingGutterItems(i,e);(0,p.PS)(e=>{for(let o of r){if(!o.range.intersect(i))continue;n.delete(o.id);let r=this.views.get(o.id);if(r)r.item.set(o,e);else{let e=document.createElement("div");this._domNode.appendChild(e);let t=(0,p.uh)("item",o),i=this.itemProvider.createView(t,e);r=new eQ(t,i,e),this.views.set(o.id,r)}let l=o.range.startLineNumber<=this._editor.getModel().getLineCount()?this._editor.getTopForLineNumber(o.range.startLineNumber,!0)-t:this._editor.getBottomForLineNumber(o.range.startLineNumber-1,!1)-t,a=o.range.isEmpty?l:this._editor.getBottomForLineNumber(o.range.endLineNumberExclusive-1,!0)-t,d=a-l;r.domNode.style.top=`${l}px`,r.domNode.style.height=`${d}px`,r.gutterItemView.layout(T.q.ofStartAndLength(l,d),s)}})}for(let e of n){let t=this.views.get(e);t.gutterItemView.dispose(),this._domNode.removeChild(t.domNode),this.views.delete(e)}}}class eQ{constructor(e,t,i){this.item=e,this.gutterItemView=t,this.domNode=i}}var eZ=i(57996),eY=i(28977),eJ=i(98467);class eX extends eY.MS{constructor(e){super(),this._textModel=e}getValueOfRange(e){return this._textModel.getValueInRange(e)}get length(){let e=this._textModel.getLineCount(),t=this._textModel.getLineLength(e);return new eJ.A(e-1,t)}}var e0=i(77081),e1=i(30467),e2=i(33336),e4=i(96748),e5=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},e3=function(e,t){return function(i,n){t(i,n,e)}};let e7=[],e8=class extends g.JT{constructor(e,t,i,n,s,o,r,l,a){super(),this._diffModel=t,this._editors=i,this._options=n,this._sashLayout=s,this._boundarySashes=o,this._instantiationService=r,this._contextKeyService=l,this._menuService=a,this._menu=this._register(this._menuService.createMenu(e1.eH.DiffEditorHunkToolbar,this._contextKeyService)),this._actions=(0,p.rD)(this._menu.onDidChange,()=>this._menu.getActions()),this._hasActions=this._actions.map(e=>e.length>0),this._showSash=(0,p.nK)(this,e=>this._options.renderSideBySide.read(e)&&this._hasActions.read(e)),this.width=(0,p.nK)(this,e=>this._hasActions.read(e)?35:0),this.elements=(0,d.h)("div.gutter@gutter",{style:{position:"absolute",height:"100%",width:"35px"}},[]),this._currentDiff=(0,p.nK)(this,e=>{var t;let i=this._diffModel.read(e);if(!i)return;let n=null===(t=i.diff.read(e))||void 0===t?void 0:t.mappings,s=this._editors.modifiedCursor.read(e);if(s)return null==n?void 0:n.find(e=>e.lineRangeMapping.modified.contains(s.lineNumber))}),this._selectedDiffs=(0,p.nK)(this,e=>{let t=this._diffModel.read(e),i=null==t?void 0:t.diff.read(e);if(!i)return e7;let n=this._editors.modifiedSelections.read(e);if(n.every(e=>e.isEmpty()))return e7;let s=new I.i(n.map(e=>I.z.fromRangeInclusive(e))),o=i.mappings.filter(e=>e.lineRangeMapping.innerChanges&&s.intersects(e.lineRangeMapping.modified)),r=o.map(e=>({mapping:e,rangeMappings:e.lineRangeMapping.innerChanges.filter(e=>n.some(t=>R.e.areIntersecting(e.modifiedRange,t)))}));return 0===r.length||r.every(e=>0===e.rangeMappings.length)?e7:r}),this._register((0,N.RL)(e,this.elements.root)),this._register((0,d.nm)(this.elements.root,"click",()=>{this._editors.modified.focus()})),this._register((0,N.bg)(this.elements.root,{display:this._hasActions.map(e=>e?"block":"none")})),(0,m.kA)(this,t=>{let i=this._showSash.read(t);return i?new eh(e,this._sashLayout.dimensions,this._options.enableSplitViewResizing,this._boundarySashes,(0,m.B5)(this,e=>this._sashLayout.sashLeft.read(e)-35,(e,t)=>this._sashLayout.sashLeft.set(e+35,t)),()=>this._sashLayout.resetSash()):void 0}).recomputeInitiallyAndOnChange(this._store),this._register(new eG(this._editors.modified,this.elements.root,{getIntersectingGutterItems:(e,t)=>{let i=this._diffModel.read(t);if(!i)return[];let n=i.diff.read(t);if(!n)return[];let s=this._selectedDiffs.read(t);if(s.length>0){let e=A.gB.fromRangeMappings(s.flatMap(e=>e.rangeMappings));return[new e6(e,!0,e1.eH.DiffEditorSelectionToolbar,void 0,i.model.original.uri,i.model.modified.uri)]}let o=this._currentDiff.read(t);return n.mappings.map(e=>new e6(e.lineRangeMapping.withInnerChangesFromLineRanges(),e.lineRangeMapping===(null==o?void 0:o.lineRangeMapping),e1.eH.DiffEditorHunkToolbar,void 0,i.model.original.uri,i.model.modified.uri))},createView:(e,t)=>this._instantiationService.createInstance(e9,e,t,this)})),this._register((0,d.nm)(this.elements.gutter,d.tw.MOUSE_WHEEL,e=>{this._editors.modified.getOption(103).handleMouseWheel&&this._editors.modified.delegateScrollFromMouseWheelEvent(e)},{passive:!1}))}computeStagedValue(e){var t;let i=null!==(t=e.innerChanges)&&void 0!==t?t:[],n=new eX(this._editors.modifiedModel.get()),s=new eX(this._editors.original.getModel()),o=new eY.PY(i.map(e=>e.toTextEdit(n))),r=o.apply(s);return r}layout(e){this.elements.gutter.style.left=e+"px"}};e8=e5([e3(6,V.TG),e3(7,e2.i6),e3(8,e1.co)],e8);class e6{constructor(e,t,i,n,s,o){this.mapping=e,this.showAlways=t,this.menuId=i,this.rangeOverride=n,this.originalUri=s,this.modifiedUri=o}get id(){return this.mapping.modified.toString()}get range(){var e;return null!==(e=this.rangeOverride)&&void 0!==e?e:this.mapping.modified}}let e9=class extends g.JT{constructor(e,t,i,n){super(),this._item=e,this._elements=(0,d.h)("div.gutterItem",{style:{height:"20px",width:"34px"}},[(0,d.h)("div.background@background",{},[]),(0,d.h)("div.buttons@buttons",{},[])]),this._showAlways=this._item.map(this,e=>e.showAlways),this._menuId=this._item.map(this,e=>e.menuId),this._isSmall=(0,p.uh)(this,!1),this._lastItemRange=void 0,this._lastViewRange=void 0;let s=this._register(n.createInstance(e4.mQ,"element",!0,{position:{hoverPosition:1}}));this._register((0,N.xx)(t,this._elements.root)),this._register((0,p.EH)(e=>{let t=this._showAlways.read(e);this._elements.root.classList.toggle("noTransition",!0),this._elements.root.classList.toggle("showAlways",t),setTimeout(()=>{this._elements.root.classList.toggle("noTransition",!1)},0)})),this._register((0,p.gp)((e,t)=>{this._elements.buttons.replaceChildren();let o=t.add(n.createInstance(e0.r,this._elements.buttons,this._menuId.read(e),{orientation:1,hoverDelegate:s,toolbarOptions:{primaryGroup:e=>e.startsWith("primary")},overflowBehavior:{maxItems:this._isSmall.read(e)?1:3},hiddenItemStrategy:0,actionRunner:new eZ.D(()=>{let e=this._item.get(),t=e.mapping;return{mapping:t,originalWithModifiedChanges:i.computeStagedValue(t),originalUri:e.originalUri,modifiedUri:e.modifiedUri}}),menuOptions:{shouldForwardArgs:!0}}));t.add(o.onDidChangeMenuItems(()=>{this._lastItemRange&&this.layout(this._lastItemRange,this._lastViewRange)}))}))}layout(e,t){this._lastItemRange=e,this._lastViewRange=t;let i=this._elements.buttons.clientHeight;this._isSmall.set(1===this._item.get().mapping.original.startLineNumber&&e.length<30,void 0),i=this._elements.buttons.clientHeight;let n=e.length/2-i/2,s=i,o=e.start+n,r=T.q.tryCreate(s,t.endExclusive-s-i),l=T.q.tryCreate(e.start+s,e.endExclusive-i-s);l&&r&&l.startthis._themeService.getColorTheme()),h=(0,p.nK)(e=>{let t=l.read(e),i=t.getColor(ts.P6Y)||(t.getColor(ts.ypS)||ts.CzK).transparent(2),n=t.getColor(ts.F9q)||(t.getColor(ts.P4M)||ts.keg).transparent(2);return{insertColor:i,removeColor:n}}),u=(0,tt.X)(document.createElement("div"));u.setClassName("diffViewport"),u.setPosition("absolute");let c=(0,d.h)("div.diffOverview",{style:{position:"absolute",top:"0px",width:a.ENTIRE_DIFF_OVERVIEW_WIDTH+"px"}}).root;this._register((0,N.xx)(c,u.domNode)),this._register((0,d.mu)(c,d.tw.POINTER_DOWN,e=>{this._editors.modified.delegateVerticalScrollbarPointerDown(e)})),this._register((0,d.nm)(c,d.tw.MOUSE_WHEEL,e=>{this._editors.modified.delegateScrollFromMouseWheelEvent(e)},{passive:!1})),this._register((0,N.xx)(this._rootElement,c)),this._register((0,p.gp)((e,t)=>{let i=this._diffModel.read(e),n=this._editors.original.createOverviewRuler("original diffOverviewRuler");n&&(t.add(n),t.add((0,N.xx)(c,n.getDomNode())));let s=this._editors.modified.createOverviewRuler("modified diffOverviewRuler");if(s&&(t.add(s),t.add((0,N.xx)(c,s.getDomNode()))),!n||!s)return;let o=(0,p.aq)("viewZoneChanged",this._editors.original.onDidChangeViewZones),r=(0,p.aq)("viewZoneChanged",this._editors.modified.onDidChangeViewZones),l=(0,p.aq)("hiddenRangesChanged",this._editors.original.onDidChangeHiddenAreas),d=(0,p.aq)("hiddenRangesChanged",this._editors.modified.onDidChangeHiddenAreas);t.add((0,p.EH)(e=>{var t;o.read(e),r.read(e),l.read(e),d.read(e);let a=h.read(e),u=null===(t=null==i?void 0:i.diff.read(e))||void 0===t?void 0:t.mappings;function c(e,t,i){let n=i._getViewModel();return n?e.filter(e=>e.length>0).map(e=>{let i=n.coordinatesConverter.convertModelPositionToViewPosition(new M.L(e.startLineNumber,1)),s=n.coordinatesConverter.convertModelPositionToViewPosition(new M.L(e.endLineNumberExclusive,1)),o=s.lineNumber-i.lineNumber;return new tn.EY(i.lineNumber,s.lineNumber,o,t.toString())}):[]}let g=c((u||[]).map(e=>e.lineRangeMapping.original),a.removeColor,this._editors.original),p=c((u||[]).map(e=>e.lineRangeMapping.modified),a.insertColor,this._editors.modified);null==n||n.setZones(g),null==s||s.setZones(p)})),t.add((0,p.EH)(e=>{let t=this._rootHeight.read(e),i=this._rootWidth.read(e),o=this._modifiedEditorLayoutInfo.read(e);if(o){let i=a.ENTIRE_DIFF_OVERVIEW_WIDTH-2*a.ONE_OVERVIEW_WIDTH;n.setLayout({top:0,height:t,right:i+a.ONE_OVERVIEW_WIDTH,width:a.ONE_OVERVIEW_WIDTH}),s.setLayout({top:0,height:t,right:0,width:a.ONE_OVERVIEW_WIDTH});let r=this._editors.modifiedScrollTop.read(e),l=this._editors.modifiedScrollHeight.read(e),d=this._editors.modified.getOption(103),h=new ti.M(d.verticalHasArrows?d.arrowSize:0,d.verticalScrollbarSize,0,o.height,l,r);u.setTop(h.getSliderPosition()),u.setHeight(h.getSliderSize())}else u.setTop(0),u.setHeight(0);c.style.height=t+"px",c.style.left=i-a.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",u.setWidth(a.ENTIRE_DIFF_OVERVIEW_WIDTH)}))}))}};tr.ONE_OVERVIEW_WIDTH=15,tr.ENTIRE_DIFF_OVERVIEW_WIDTH=2*a.ONE_OVERVIEW_WIDTH,tr=a=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(s=to.XE,function(e,t){s(e,t,6)})],tr);var tl=i(29475),ta=i(41407);let td=[];class th extends g.JT{constructor(e,t,i,n){super(),this._editors=e,this._diffModel=t,this._options=i,this._widget=n,this._selectedDiffs=(0,p.nK)(this,e=>{let t=this._diffModel.read(e),i=null==t?void 0:t.diff.read(e);if(!i)return td;let n=this._editors.modifiedSelections.read(e);if(n.every(e=>e.isEmpty()))return td;let s=new I.i(n.map(e=>I.z.fromRangeInclusive(e))),o=i.mappings.filter(e=>e.lineRangeMapping.innerChanges&&s.intersects(e.lineRangeMapping.modified)),r=o.map(e=>({mapping:e,rangeMappings:e.lineRangeMapping.innerChanges.filter(e=>n.some(t=>R.e.areIntersecting(e.modifiedRange,t)))}));return 0===r.length||r.every(e=>0===e.rangeMappings.length)?td:r}),this._register((0,p.gp)((e,t)=>{if(!this._options.shouldRenderOldRevertArrows.read(e))return;let i=this._diffModel.read(e),n=null==i?void 0:i.diff.read(e);if(!i||!n||i.movedTextToCompare.read(e))return;let s=[],o=this._selectedDiffs.read(e),r=new Set(o.map(e=>e.mapping));if(o.length>0){let i=this._editors.modifiedSelections.read(e),n=t.add(new tu(i[i.length-1].positionLineNumber,this._widget,o.flatMap(e=>e.rangeMappings),!0));this._editors.modified.addGlyphMarginWidget(n),s.push(n)}for(let e of n.mappings)if(!r.has(e)&&!e.lineRangeMapping.modified.isEmpty&&e.lineRangeMapping.innerChanges){let i=t.add(new tu(e.lineRangeMapping.modified.startLineNumber,this._widget,e.lineRangeMapping,!1));this._editors.modified.addGlyphMarginWidget(i),s.push(i)}t.add((0,g.OF)(()=>{for(let e of s)this._editors.modified.removeGlyphMarginWidget(e)}))}))}}class tu extends g.JT{getId(){return this._id}constructor(e,t,i,n){super(),this._lineNumber=e,this._widget=t,this._diffs=i,this._revertSelection=n,this._id=`revertButton${tu.counter++}`,this._domNode=(0,d.h)("div.revertButton",{title:this._revertSelection?(0,W.NC)("revertSelectedChanges","Revert Selected Changes"):(0,W.NC)("revertChange","Revert Change")},[(0,tl.h)(k.l.arrowRight)]).root,this._register((0,d.nm)(this._domNode,d.tw.MOUSE_DOWN,e=>{2!==e.button&&(e.stopPropagation(),e.preventDefault())})),this._register((0,d.nm)(this._domNode,d.tw.MOUSE_UP,e=>{e.stopPropagation(),e.preventDefault()})),this._register((0,d.nm)(this._domNode,d.tw.CLICK,e=>{this._diffs instanceof A.f0?this._widget.revert(this._diffs):this._widget.revertRangeMappings(this._diffs),e.stopPropagation(),e.preventDefault()}))}getDomNode(){return this._domNode}getPosition(){return{lane:ta.U.Right,range:{startColumn:1,startLineNumber:this._lineNumber,endColumn:1,endLineNumber:this._lineNumber},zIndex:10001}}}function tc(e,t,i){let n=e.bindTo(t);return(0,p.UV)({debugName:()=>`Set Context Key "${e.key}"`},e=>{n.set(i(e))})}tu.counter=0;var tg=i(25777),tp=i(73440),tm=i(92477),tf=i(14588);class t_{static get(e){let t=t_._map.get(e);if(!t){t=new t_(e),t_._map.set(e,t);let i=e.onDidDispose(()=>{t_._map.delete(e),i.dispose()})}return t}constructor(e){this.editor=e,this.model=(0,p.rD)(this.editor.onDidChangeModel,()=>this.editor.getModel())}}t_._map=new Map;var tv=i(46417),tb=function(e,t){return function(i,n){t(i,n,e)}};let tC=class extends g.JT{get onDidContentSizeChange(){return this._onDidContentSizeChange.event}constructor(e,t,i,n,s,o,r){var l;super(),this.originalEditorElement=e,this.modifiedEditorElement=t,this._options=i,this._argCodeEditorWidgetOptions=n,this._createInnerEditor=s,this._instantiationService=o,this._keybindingService=r,this.original=this._register(this._createLeftHandSideEditor(this._options.editorOptions.get(),this._argCodeEditorWidgetOptions.originalEditor||{})),this.modified=this._register(this._createRightHandSideEditor(this._options.editorOptions.get(),this._argCodeEditorWidgetOptions.modifiedEditor||{})),this._onDidContentSizeChange=this._register(new c.Q5),this.modifiedScrollTop=(0,p.rD)(this.modified.onDidScrollChange,()=>this.modified.getScrollTop()),this.modifiedScrollHeight=(0,p.rD)(this.modified.onDidScrollChange,()=>this.modified.getScrollHeight()),this.modifiedModel=(l=this.modified,t_.get(l)).model,this.modifiedSelections=(0,p.rD)(this.modified.onDidChangeCursorSelection,()=>{var e;return null!==(e=this.modified.getSelections())&&void 0!==e?e:[]}),this.modifiedCursor=(0,p.bk)({owner:this,equalsFn:M.L.equals},e=>{var t,i;return null!==(i=null===(t=this.modifiedSelections.read(e)[0])||void 0===t?void 0:t.getPosition())&&void 0!==i?i:new M.L(1,1)}),this.originalCursor=(0,p.rD)(this.original.onDidChangeCursorPosition,()=>{var e;return null!==(e=this.original.getPosition())&&void 0!==e?e:new M.L(1,1)}),this._argCodeEditorWidgetOptions=null,this._register((0,p.nJ)({createEmptyChangeSummary:()=>({}),handleChange:(e,t)=>(e.didChange(i.editorOptions)&&Object.assign(t,e.change.changedOptions),!0)},(e,t)=>{i.editorOptions.read(e),this._options.renderSideBySide.read(e),this.modified.updateOptions(this._adjustOptionsForRightHandSide(e,t)),this.original.updateOptions(this._adjustOptionsForLeftHandSide(e,t))}))}_createLeftHandSideEditor(e,t){let i=this._adjustOptionsForLeftHandSide(void 0,e),n=this._constructInnerEditor(this._instantiationService,this.originalEditorElement,i,t);return n.setContextValue("isInDiffLeftEditor",!0),n}_createRightHandSideEditor(e,t){let i=this._adjustOptionsForRightHandSide(void 0,e),n=this._constructInnerEditor(this._instantiationService,this.modifiedEditorElement,i,t);return n.setContextValue("isInDiffRightEditor",!0),n}_constructInnerEditor(e,t,i,n){let s=this._createInnerEditor(e,t,i,n);return this._register(s.onDidContentSizeChange(e=>{let t=this.original.getContentWidth()+this.modified.getContentWidth()+tr.ENTIRE_DIFF_OVERVIEW_WIDTH,i=Math.max(this.modified.getContentHeight(),this.original.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:i,contentWidth:t,contentHeightChanged:e.contentHeightChanged,contentWidthChanged:e.contentWidthChanged})})),s}_adjustOptionsForLeftHandSide(e,t){let i=this._adjustOptionsForSubEditor(t);return this._options.renderSideBySide.get()?(i.unicodeHighlight=this._options.editorOptions.get().unicodeHighlight||{},i.wordWrapOverride1=this._options.diffWordWrap.get()):(i.wordWrapOverride1="off",i.wordWrapOverride2="off",i.stickyScroll={enabled:!1},i.unicodeHighlight={nonBasicASCII:!1,ambiguousCharacters:!1,invisibleCharacters:!1}),i.glyphMargin=this._options.renderSideBySide.get(),t.originalAriaLabel&&(i.ariaLabel=t.originalAriaLabel),i.ariaLabel=this._updateAriaLabel(i.ariaLabel),i.readOnly=!this._options.originalEditable.get(),i.dropIntoEditor={enabled:!i.readOnly},i.extraEditorClassName="original-in-monaco-diff-editor",i}_adjustOptionsForRightHandSide(e,t){let i=this._adjustOptionsForSubEditor(t);return t.modifiedAriaLabel&&(i.ariaLabel=t.modifiedAriaLabel),i.ariaLabel=this._updateAriaLabel(i.ariaLabel),i.wordWrapOverride1=this._options.diffWordWrap.get(),i.revealHorizontalRightPadding=E.BH.revealHorizontalRightPadding.defaultValue+tr.ENTIRE_DIFF_OVERVIEW_WIDTH,i.scrollbar.verticalHasArrows=!1,i.extraEditorClassName="modified-in-monaco-diff-editor",i}_adjustOptionsForSubEditor(e){let t={...e,dimension:{height:0,width:0}};return t.inDiffEditor=!0,t.automaticLayout=!1,t.scrollbar={...t.scrollbar||{}},t.folding=!1,t.codeLens=this._options.diffCodeLens.get(),t.fixedOverflowWidgets=!0,t.minimap={...t.minimap||{}},t.minimap.enabled=!1,this._options.hideUnchangedRegions.get()?t.stickyScroll={enabled:!1}:t.stickyScroll=this._options.editorOptions.get().stickyScroll,t}_updateAriaLabel(e){var t;e||(e="");let i=(0,W.NC)("diff-aria-navigation-tip"," use {0} to open the accessibility help.",null===(t=this._keybindingService.lookupKeybinding("editor.action.accessibilityHelp"))||void 0===t?void 0:t.getAriaLabel());return this._options.accessibilityVerbose.get()?e+i:e?e.replaceAll(i,""):""}};tC=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([tb(5,V.TG),tb(6,tv.d)],tC);class tw extends g.JT{constructor(){super(...arguments),this._id=++tw.idCounter,this._onDidDispose=this._register(new c.Q5),this.onDidDispose=this._onDidDispose.event}getId(){return this.getEditorType()+":v2:"+this._id}getVisibleColumnFromPosition(e){return this._targetEditor.getVisibleColumnFromPosition(e)}getPosition(){return this._targetEditor.getPosition()}setPosition(e,t="api"){this._targetEditor.setPosition(e,t)}revealLine(e,t=0){this._targetEditor.revealLine(e,t)}revealLineInCenter(e,t=0){this._targetEditor.revealLineInCenter(e,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._targetEditor.revealLineInCenterIfOutsideViewport(e,t)}revealLineNearTop(e,t=0){this._targetEditor.revealLineNearTop(e,t)}revealPosition(e,t=0){this._targetEditor.revealPosition(e,t)}revealPositionInCenter(e,t=0){this._targetEditor.revealPositionInCenter(e,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._targetEditor.revealPositionInCenterIfOutsideViewport(e,t)}revealPositionNearTop(e,t=0){this._targetEditor.revealPositionNearTop(e,t)}getSelection(){return this._targetEditor.getSelection()}getSelections(){return this._targetEditor.getSelections()}setSelection(e,t="api"){this._targetEditor.setSelection(e,t)}setSelections(e,t="api"){this._targetEditor.setSelections(e,t)}revealLines(e,t,i=0){this._targetEditor.revealLines(e,t,i)}revealLinesInCenter(e,t,i=0){this._targetEditor.revealLinesInCenter(e,t,i)}revealLinesInCenterIfOutsideViewport(e,t,i=0){this._targetEditor.revealLinesInCenterIfOutsideViewport(e,t,i)}revealLinesNearTop(e,t,i=0){this._targetEditor.revealLinesNearTop(e,t,i)}revealRange(e,t=0,i=!1,n=!0){this._targetEditor.revealRange(e,t,i,n)}revealRangeInCenter(e,t=0){this._targetEditor.revealRangeInCenter(e,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._targetEditor.revealRangeInCenterIfOutsideViewport(e,t)}revealRangeNearTop(e,t=0){this._targetEditor.revealRangeNearTop(e,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._targetEditor.revealRangeNearTopIfOutsideViewport(e,t)}revealRangeAtTop(e,t=0){this._targetEditor.revealRangeAtTop(e,t)}getSupportedActions(){return this._targetEditor.getSupportedActions()}focus(){this._targetEditor.focus()}trigger(e,t,i){this._targetEditor.trigger(e,t,i)}createDecorationsCollection(e){return this._targetEditor.createDecorationsCollection(e)}changeDecorations(e){return this._targetEditor.changeDecorations(e)}}tw.idCounter=0;var ty=i(66825),tS=i(15232);let tL=class{get editorOptions(){return this._options}constructor(e,t){this._accessibilityService=t,this._diffEditorWidth=(0,p.uh)(this,0),this._screenReaderMode=(0,p.rD)(this._accessibilityService.onDidChangeScreenReaderOptimized,()=>this._accessibilityService.isScreenReaderOptimized()),this.couldShowInlineViewBecauseOfSize=(0,p.nK)(this,e=>this._options.read(e).renderSideBySide&&this._diffEditorWidth.read(e)<=this._options.read(e).renderSideBySideInlineBreakpoint),this.renderOverviewRuler=(0,p.nK)(this,e=>this._options.read(e).renderOverviewRuler),this.renderSideBySide=(0,p.nK)(this,e=>this._options.read(e).renderSideBySide&&!(this._options.read(e).useInlineViewWhenSpaceIsLimited&&this.couldShowInlineViewBecauseOfSize.read(e)&&!this._screenReaderMode.read(e))),this.readOnly=(0,p.nK)(this,e=>this._options.read(e).readOnly),this.shouldRenderOldRevertArrows=(0,p.nK)(this,e=>!(!this._options.read(e).renderMarginRevertIcon||!this.renderSideBySide.read(e)||this.readOnly.read(e)||this.shouldRenderGutterMenu.read(e))),this.shouldRenderGutterMenu=(0,p.nK)(this,e=>this._options.read(e).renderGutterMenu),this.renderIndicators=(0,p.nK)(this,e=>this._options.read(e).renderIndicators),this.enableSplitViewResizing=(0,p.nK)(this,e=>this._options.read(e).enableSplitViewResizing),this.splitViewDefaultRatio=(0,p.nK)(this,e=>this._options.read(e).splitViewDefaultRatio),this.ignoreTrimWhitespace=(0,p.nK)(this,e=>this._options.read(e).ignoreTrimWhitespace),this.maxComputationTimeMs=(0,p.nK)(this,e=>this._options.read(e).maxComputationTime),this.showMoves=(0,p.nK)(this,e=>this._options.read(e).experimental.showMoves&&this.renderSideBySide.read(e)),this.isInEmbeddedEditor=(0,p.nK)(this,e=>this._options.read(e).isInEmbeddedEditor),this.diffWordWrap=(0,p.nK)(this,e=>this._options.read(e).diffWordWrap),this.originalEditable=(0,p.nK)(this,e=>this._options.read(e).originalEditable),this.diffCodeLens=(0,p.nK)(this,e=>this._options.read(e).diffCodeLens),this.accessibilityVerbose=(0,p.nK)(this,e=>this._options.read(e).accessibilityVerbose),this.diffAlgorithm=(0,p.nK)(this,e=>this._options.read(e).diffAlgorithm),this.showEmptyDecorations=(0,p.nK)(this,e=>this._options.read(e).experimental.showEmptyDecorations),this.onlyShowAccessibleDiffViewer=(0,p.nK)(this,e=>this._options.read(e).onlyShowAccessibleDiffViewer),this.hideUnchangedRegions=(0,p.nK)(this,e=>this._options.read(e).hideUnchangedRegions.enabled),this.hideUnchangedRegionsRevealLineCount=(0,p.nK)(this,e=>this._options.read(e).hideUnchangedRegions.revealLineCount),this.hideUnchangedRegionsContextLineCount=(0,p.nK)(this,e=>this._options.read(e).hideUnchangedRegions.contextLineCount),this.hideUnchangedRegionsMinimumLineCount=(0,p.nK)(this,e=>this._options.read(e).hideUnchangedRegions.minimumLineCount);let i={...e,...tk(e,ty.k)};this._options=(0,p.uh)(this,i)}updateOptions(e){let t=tk(e,this._options.get()),i={...this._options.get(),...e,...t};this._options.set(i,void 0,{changedOptions:e})}setWidth(e){this._diffEditorWidth.set(e,void 0)}};function tk(e,t){var i,n,s,o,r,l,a,d;return{enableSplitViewResizing:(0,E.O7)(e.enableSplitViewResizing,t.enableSplitViewResizing),splitViewDefaultRatio:(0,E.L_)(e.splitViewDefaultRatio,.5,.1,.9),renderSideBySide:(0,E.O7)(e.renderSideBySide,t.renderSideBySide),renderMarginRevertIcon:(0,E.O7)(e.renderMarginRevertIcon,t.renderMarginRevertIcon),maxComputationTime:(0,E.Zc)(e.maxComputationTime,t.maxComputationTime,0,1073741824),maxFileSize:(0,E.Zc)(e.maxFileSize,t.maxFileSize,0,1073741824),ignoreTrimWhitespace:(0,E.O7)(e.ignoreTrimWhitespace,t.ignoreTrimWhitespace),renderIndicators:(0,E.O7)(e.renderIndicators,t.renderIndicators),originalEditable:(0,E.O7)(e.originalEditable,t.originalEditable),diffCodeLens:(0,E.O7)(e.diffCodeLens,t.diffCodeLens),renderOverviewRuler:(0,E.O7)(e.renderOverviewRuler,t.renderOverviewRuler),diffWordWrap:(0,E.NY)(e.diffWordWrap,t.diffWordWrap,["off","on","inherit"]),diffAlgorithm:(0,E.NY)(e.diffAlgorithm,t.diffAlgorithm,["legacy","advanced"],{smart:"legacy",experimental:"advanced"}),accessibilityVerbose:(0,E.O7)(e.accessibilityVerbose,t.accessibilityVerbose),experimental:{showMoves:(0,E.O7)(null===(i=e.experimental)||void 0===i?void 0:i.showMoves,t.experimental.showMoves),showEmptyDecorations:(0,E.O7)(null===(n=e.experimental)||void 0===n?void 0:n.showEmptyDecorations,t.experimental.showEmptyDecorations)},hideUnchangedRegions:{enabled:(0,E.O7)(null!==(o=null===(s=e.hideUnchangedRegions)||void 0===s?void 0:s.enabled)&&void 0!==o?o:null===(r=e.experimental)||void 0===r?void 0:r.collapseUnchangedRegions,t.hideUnchangedRegions.enabled),contextLineCount:(0,E.Zc)(null===(l=e.hideUnchangedRegions)||void 0===l?void 0:l.contextLineCount,t.hideUnchangedRegions.contextLineCount,0,1073741824),minimumLineCount:(0,E.Zc)(null===(a=e.hideUnchangedRegions)||void 0===a?void 0:a.minimumLineCount,t.hideUnchangedRegions.minimumLineCount,0,1073741824),revealLineCount:(0,E.Zc)(null===(d=e.hideUnchangedRegions)||void 0===d?void 0:d.revealLineCount,t.hideUnchangedRegions.revealLineCount,0,1073741824)},isInEmbeddedEditor:(0,E.O7)(e.isInEmbeddedEditor,t.isInEmbeddedEditor),onlyShowAccessibleDiffViewer:(0,E.O7)(e.onlyShowAccessibleDiffViewer,t.onlyShowAccessibleDiffViewer),renderSideBySideInlineBreakpoint:(0,E.Zc)(e.renderSideBySideInlineBreakpoint,t.renderSideBySideInlineBreakpoint,0,1073741824),useInlineViewWhenSpaceIsLimited:(0,E.O7)(e.useInlineViewWhenSpaceIsLimited,t.useInlineViewWhenSpaceIsLimited),renderGutterMenu:(0,E.O7)(e.renderGutterMenu,t.renderGutterMenu)}}tL=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(o=tS.F,function(e,t){o(e,t,1)})],tL);var tD=function(e,t){return function(i,n){t(i,n,e)}};let tx=class extends tw{get onDidContentSizeChange(){return this._editors.onDidContentSizeChange}constructor(e,t,i,n,s,o,r,l){var a;let h;super(),this._domElement=e,this._parentContextKeyService=n,this._parentInstantiationService=s,this._accessibilitySignalService=r,this._editorProgressService=l,this.elements=(0,d.h)("div.monaco-diff-editor.side-by-side",{style:{position:"relative",height:"100%"}},[(0,d.h)("div.editor.original@original",{style:{position:"absolute",height:"100%"}}),(0,d.h)("div.editor.modified@modified",{style:{position:"absolute",height:"100%"}}),(0,d.h)("div.accessibleDiffViewer@accessibleDiffViewer",{style:{position:"absolute",height:"100%"}})]),this._diffModel=(0,p.uh)(this,void 0),this._shouldDisposeDiffModel=!1,this.onDidChangeModel=c.ju.fromObservableLight(this._diffModel),this._contextKeyService=this._register(this._parentContextKeyService.createScoped(this._domElement)),this._instantiationService=this._register(this._parentInstantiationService.createChild(new tm.y([e2.i6,this._contextKeyService]))),this._boundarySashes=(0,p.uh)(this,void 0),this._accessibleDiffViewerShouldBeVisible=(0,p.uh)(this,!1),this._accessibleDiffViewerVisible=(0,p.nK)(this,e=>!!this._options.onlyShowAccessibleDiffViewer.read(e)||this._accessibleDiffViewerShouldBeVisible.read(e)),this._movedBlocksLinesPart=(0,p.uh)(this,void 0),this._layoutInfo=(0,p.nK)(this,e=>{var t,i,n,s,o;let r,l,a,d,h;let u=this._rootSizeObserver.width.read(e),c=this._rootSizeObserver.height.read(e);this._rootSizeObserver.automaticLayout?this.elements.root.style.height="100%":this.elements.root.style.height=c+"px";let g=this._sash.read(e),p=this._gutter.read(e),m=null!==(t=null==p?void 0:p.width.read(e))&&void 0!==t?t:0,f=null!==(n=null===(i=this._overviewRulerPart.read(e))||void 0===i?void 0:i.width)&&void 0!==n?n:0;if(g){let t=g.sashLeft.read(e),i=null!==(o=null===(s=this._movedBlocksLinesPart.read(e))||void 0===s?void 0:s.width.read(e))&&void 0!==o?o:0;r=0,l=t-m-i,h=t-m,d=u-(a=t)-f}else h=0,r=m,d=u-(a=m+(l=Math.max(5,this._editors.original.getLayoutInfo().decorationsLeft)))-f;return this.elements.original.style.left=r+"px",this.elements.original.style.width=l+"px",this._editors.original.layout({width:l,height:c},!0),null==p||p.layout(h),this.elements.modified.style.left=a+"px",this.elements.modified.style.width=d+"px",this._editors.modified.layout({width:d,height:c},!0),{modifiedEditor:this._editors.modified.getLayoutInfo(),originalEditor:this._editors.original.getLayoutInfo()}}),this._diffValue=this._diffModel.map((e,t)=>null==e?void 0:e.diff.read(t)),this.onDidUpdateDiff=c.ju.fromObservableLight(this._diffValue),o.willCreateDiffEditor(),this._contextKeyService.createKey("isInDiffEditor",!0),this._domElement.appendChild(this.elements.root),this._register((0,g.OF)(()=>this._domElement.removeChild(this.elements.root))),this._rootSizeObserver=this._register(new N.DU(this.elements.root,t.dimension)),this._rootSizeObserver.setAutomaticLayout(null!==(a=t.automaticLayout)&&void 0!==a&&a),this._options=this._instantiationService.createInstance(tL,t),this._register((0,p.EH)(e=>{this._options.setWidth(this._rootSizeObserver.width.read(e))})),this._contextKeyService.createKey(tp.u.isEmbeddedDiffEditor.key,!1),this._register(tc(tp.u.isEmbeddedDiffEditor,this._contextKeyService,e=>this._options.isInEmbeddedEditor.read(e))),this._register(tc(tp.u.comparingMovedCode,this._contextKeyService,e=>{var t;return!!(null===(t=this._diffModel.read(e))||void 0===t?void 0:t.movedTextToCompare.read(e))})),this._register(tc(tp.u.diffEditorRenderSideBySideInlineBreakpointReached,this._contextKeyService,e=>this._options.couldShowInlineViewBecauseOfSize.read(e))),this._register(tc(tp.u.diffEditorInlineMode,this._contextKeyService,e=>!this._options.renderSideBySide.read(e))),this._register(tc(tp.u.hasChanges,this._contextKeyService,e=>{var t,i,n;return(null!==(n=null===(i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.diff.read(e))||void 0===i?void 0:i.mappings.length)&&void 0!==n?n:0)>0})),this._editors=this._register(this._instantiationService.createInstance(tC,this.elements.original,this.elements.modified,this._options,i,(e,t,i,n)=>this._createInnerEditor(e,t,i,n))),this._register(tc(tp.u.diffEditorOriginalWritable,this._contextKeyService,e=>this._options.originalEditable.read(e))),this._register(tc(tp.u.diffEditorModifiedWritable,this._contextKeyService,e=>!this._options.readOnly.read(e))),this._register(tc(tp.u.diffEditorOriginalUri,this._contextKeyService,e=>{var t,i;return null!==(i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.model.original.uri.toString())&&void 0!==i?i:""})),this._register(tc(tp.u.diffEditorModifiedUri,this._contextKeyService,e=>{var t,i;return null!==(i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.model.modified.uri.toString())&&void 0!==i?i:""})),this._overviewRulerPart=(0,m.kA)(this,e=>this._options.renderOverviewRuler.read(e)?this._instantiationService.createInstance((0,N.NW)(tr,e),this._editors,this.elements.root,this._diffModel,this._rootSizeObserver.width,this._rootSizeObserver.height,this._layoutInfo.map(e=>e.modifiedEditor)):void 0).recomputeInitiallyAndOnChange(this._store);let u={height:this._rootSizeObserver.height,width:this._rootSizeObserver.width.map((e,t)=>{var i,n;return e-(null!==(n=null===(i=this._overviewRulerPart.read(t))||void 0===i?void 0:i.width)&&void 0!==n?n:0)})};this._sashLayout=new ed(this._options,u),this._sash=(0,m.kA)(this,e=>{let t=this._options.renderSideBySide.read(e);return this.elements.root.classList.toggle("side-by-side",t),t?new eh(this.elements.root,u,this._options.enableSplitViewResizing,this._boundarySashes,this._sashLayout.sashLeft,()=>this._sashLayout.resetSash()):void 0}).recomputeInitiallyAndOnChange(this._store);let f=(0,m.kA)(this,e=>this._instantiationService.createInstance((0,N.NW)(te.O,e),this._editors,this._diffModel,this._options)).recomputeInitiallyAndOnChange(this._store);(0,m.kA)(this,e=>this._instantiationService.createInstance((0,N.NW)(el,e),this._editors,this._diffModel,this._options,this)).recomputeInitiallyAndOnChange(this._store);let _=new Set,b=new Set,C=!1,w=(0,m.kA)(this,e=>this._instantiationService.createInstance((0,N.NW)(e$,e),(0,d.Jj)(this._domElement),this._editors,this._diffModel,this._options,this,()=>C||f.get().isUpdatingHiddenAreas,_,b)).recomputeInitiallyAndOnChange(this._store),y=(0,p.nK)(this,e=>{let t=w.read(e).viewZones.read(e).orig,i=f.read(e).viewZones.read(e).origViewZones;return t.concat(i)}),S=(0,p.nK)(this,e=>{let t=w.read(e).viewZones.read(e).mod,i=f.read(e).viewZones.read(e).modViewZones;return t.concat(i)});this._register((0,N.Sv)(this._editors.original,y,e=>{C=e},_)),this._register((0,N.Sv)(this._editors.modified,S,e=>{(C=e)?h=v.Z.capture(this._editors.modified):(null==h||h.restore(this._editors.modified),h=void 0)},b)),this._accessibleDiffViewer=(0,m.kA)(this,e=>this._instantiationService.createInstance((0,N.NW)(G,e),this.elements.accessibleDiffViewer,this._accessibleDiffViewerVisible,(e,t)=>this._accessibleDiffViewerShouldBeVisible.set(e,t),this._options.onlyShowAccessibleDiffViewer.map(e=>!e),this._rootSizeObserver.width,this._rootSizeObserver.height,this._diffModel.map((e,t)=>{var i;return null===(i=null==e?void 0:e.diff.read(t))||void 0===i?void 0:i.mappings.map(e=>e.lineRangeMapping)}),new ei(this._editors))).recomputeInitiallyAndOnChange(this._store);let L=this._accessibleDiffViewerVisible.map(e=>e?"hidden":"visible");this._register((0,N.bg)(this.elements.modified,{visibility:L})),this._register((0,N.bg)(this.elements.original,{visibility:L})),this._createDiffEditorContributions(),o.addDiffEditor(this),this._gutter=(0,m.kA)(this,e=>this._options.shouldRenderGutterMenu.read(e)?this._instantiationService.createInstance((0,N.NW)(e8,e),this.elements.root,this._diffModel,this._editors,this._options,this._sashLayout,this._boundarySashes):void 0),this._register((0,p.jx)(this._layoutInfo)),(0,m.kA)(this,e=>new((0,N.NW)(en,e))(this.elements.root,this._diffModel,this._layoutInfo.map(e=>e.originalEditor),this._layoutInfo.map(e=>e.modifiedEditor),this._editors)).recomputeInitiallyAndOnChange(this._store,e=>{this._movedBlocksLinesPart.set(e,void 0)}),this._register(c.ju.runAndSubscribe(this._editors.modified.onDidChangeCursorPosition,e=>this._handleCursorPositionChange(e,!0))),this._register(c.ju.runAndSubscribe(this._editors.original.onDidChangeCursorPosition,e=>this._handleCursorPositionChange(e,!1)));let k=this._diffModel.map(this,(e,t)=>{if(e)return void 0===e.diff.read(t)&&!e.isDiffUpToDate.read(t)});this._register((0,p.gp)((e,t)=>{if(!0===k.read(e)){let e=this._editorProgressService.show(!0,1e3);t.add((0,g.OF)(()=>e.done()))}})),this._register((0,g.OF)(()=>{var e;this._shouldDisposeDiffModel&&(null===(e=this._diffModel.get())||void 0===e||e.dispose())})),this._register((0,p.gp)((e,t)=>{t.add(new((0,N.NW)(th,e))(this._editors,this._diffModel,this._options,this))}))}_createInnerEditor(e,t,i,n){let s=e.createInstance(b.Gm,t,i,n);return s}_createDiffEditorContributions(){let e=f.Uc.getDiffEditorContributions();for(let t of e)try{this._register(this._instantiationService.createInstance(t.ctor,this))}catch(e){(0,u.dL)(e)}}get _targetEditor(){return this._editors.modified}getEditorType(){return tg.g.IDiffEditor}layout(e){this._rootSizeObserver.observe(e)}hasTextFocus(){return this._editors.original.hasTextFocus()||this._editors.modified.hasTextFocus()}saveViewState(){var e;let t=this._editors.original.saveViewState(),i=this._editors.modified.saveViewState();return{original:t,modified:i,modelState:null===(e=this._diffModel.get())||void 0===e?void 0:e.serializeState()}}restoreViewState(e){var t;e&&e.original&&e.modified&&(this._editors.original.restoreViewState(e.original),this._editors.modified.restoreViewState(e.modified),e.modelState&&(null===(t=this._diffModel.get())||void 0===t||t.restoreSerializedState(e.modelState)))}handleInitialized(){this._editors.original.handleInitialized(),this._editors.modified.handleInitialized()}createViewModel(e){return this._instantiationService.createInstance(eN,e,this._options)}getModel(){var e,t;return null!==(t=null===(e=this._diffModel.get())||void 0===e?void 0:e.model)&&void 0!==t?t:null}setModel(e,t){!e&&this._diffModel.get()&&this._accessibleDiffViewer.get().close();let i=e?"model"in e?{model:e,shouldDispose:!1}:{model:this.createViewModel(e),shouldDispose:!0}:void 0;this._diffModel.get()!==(null==i?void 0:i.model)&&(0,p.c8)(t,e=>{var t;p.rD.batchEventsGlobally(e,()=>{this._editors.original.setModel(i?i.model.model.original:null),this._editors.modified.setModel(i?i.model.model.modified:null)});let n=this._diffModel.get(),s=this._shouldDisposeDiffModel;this._shouldDisposeDiffModel=null!==(t=null==i?void 0:i.shouldDispose)&&void 0!==t&&t,this._diffModel.set(null==i?void 0:i.model,e),s&&(null==n||n.dispose())})}updateOptions(e){this._options.updateOptions(e)}getContainerDomNode(){return this._domElement}getOriginalEditor(){return this._editors.original}getModifiedEditor(){return this._editors.modified}getLineChanges(){var e;let t=null===(e=this._diffModel.get())||void 0===e?void 0:e.diff.get();return t?t.mappings.map(e=>{let t,i,n,s;let o=e.lineRangeMapping,r=o.innerChanges;return o.original.isEmpty?(t=o.original.startLineNumber-1,i=0,r=void 0):(t=o.original.startLineNumber,i=o.original.endLineNumberExclusive-1),o.modified.isEmpty?(n=o.modified.startLineNumber-1,s=0,r=void 0):(n=o.modified.startLineNumber,s=o.modified.endLineNumberExclusive-1),{originalStartLineNumber:t,originalEndLineNumber:i,modifiedStartLineNumber:n,modifiedEndLineNumber:s,charChanges:null==r?void 0:r.map(e=>({originalStartLineNumber:e.originalRange.startLineNumber,originalStartColumn:e.originalRange.startColumn,originalEndLineNumber:e.originalRange.endLineNumber,originalEndColumn:e.originalRange.endColumn,modifiedStartLineNumber:e.modifiedRange.startLineNumber,modifiedStartColumn:e.modifiedRange.startColumn,modifiedEndLineNumber:e.modifiedRange.endLineNumber,modifiedEndColumn:e.modifiedRange.endColumn}))}}):null}revert(e){let t=this._diffModel.get();t&&t.isDiffUpToDate.get()&&this._editors.modified.executeEdits("diffEditor",[{range:e.modified.toExclusiveRange(),text:t.model.original.getValueInRange(e.original.toExclusiveRange())}])}revertRangeMappings(e){let t=this._diffModel.get();if(!t||!t.isDiffUpToDate.get())return;let i=e.map(e=>({range:e.modifiedRange,text:t.model.original.getValueInRange(e.originalRange)}));this._editors.modified.executeEdits("diffEditor",i)}_goTo(e){this._editors.modified.setPosition(new M.L(e.lineRangeMapping.modified.startLineNumber,1)),this._editors.modified.revealRangeInCenter(e.lineRangeMapping.modified.toExclusiveRange())}goToDiff(e){var t,i,n,s;let o;let r=null===(i=null===(t=this._diffModel.get())||void 0===t?void 0:t.diff.get())||void 0===i?void 0:i.mappings;if(!r||0===r.length)return;let l=this._editors.modified.getPosition().lineNumber;o="next"===e?null!==(n=r.find(e=>e.lineRangeMapping.modified.startLineNumber>l))&&void 0!==n?n:r[0]:null!==(s=(0,h.dF)(r,e=>e.lineRangeMapping.modified.startLineNumber{var t;let i=null===(t=e.diff.get())||void 0===t?void 0:t.mappings;i&&0!==i.length&&this._goTo(i[0])})}accessibleDiffViewerNext(){this._accessibleDiffViewer.get().next()}accessibleDiffViewerPrev(){this._accessibleDiffViewer.get().prev()}async waitForDiff(){let e=this._diffModel.get();e&&await e.waitForDiff()}mapToOtherSide(){var e,t;let i;let n=this._editors.modified.hasWidgetFocus(),s=n?this._editors.modified:this._editors.original,o=n?this._editors.original:this._editors.modified,r=s.getSelection();if(r){let s=null===(t=null===(e=this._diffModel.get())||void 0===e?void 0:e.diff.get())||void 0===t?void 0:t.mappings.map(e=>n?e.lineRangeMapping.flip():e.lineRangeMapping);if(s){let e=(0,N.cV)(r.getStartPosition(),s),t=(0,N.cV)(r.getEndPosition(),s);i=R.e.plusRange(e,t)}}return{destination:o,destinationSelection:i}}switchSide(){let{destination:e,destinationSelection:t}=this.mapToOtherSide();e.focus(),t&&e.setSelection(t)}exitCompareMove(){let e=this._diffModel.get();e&&e.movedTextToCompare.set(void 0,void 0)}collapseAllUnchangedRegions(){var e;let t=null===(e=this._diffModel.get())||void 0===e?void 0:e.unchangedRegions.get();t&&(0,p.PS)(e=>{for(let i of t)i.collapseAll(e)})}showAllUnchangedRegions(){var e;let t=null===(e=this._diffModel.get())||void 0===e?void 0:e.unchangedRegions.get();t&&(0,p.PS)(e=>{for(let i of t)i.showAll(e)})}_handleCursorPositionChange(e,t){var i,n;if((null==e?void 0:e.reason)===3){let s=null===(n=null===(i=this._diffModel.get())||void 0===i?void 0:i.diff.get())||void 0===n?void 0:n.mappings.find(i=>t?i.lineRangeMapping.modified.contains(e.position.lineNumber):i.lineRangeMapping.original.contains(e.position.lineNumber));(null==s?void 0:s.lineRangeMapping.modified.isEmpty)?this._accessibilitySignalService.playSignal(H.iP.diffLineDeleted,{source:"diffEditor.cursorPositionChanged"}):(null==s?void 0:s.lineRangeMapping.original.isEmpty)?this._accessibilitySignalService.playSignal(H.iP.diffLineInserted,{source:"diffEditor.cursorPositionChanged"}):s&&this._accessibilitySignalService.playSignal(H.iP.diffLineModified,{source:"diffEditor.cursorPositionChanged"})}}};tx=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([tD(3,e2.i6),tD(4,V.TG),tD(5,_.$),tD(6,H.IV),tD(7,tf.ek)],tx)},39561:function(e,t,i){"use strict";i.d(t,{O:function(){return w}});var n,s,o=i(81845),r=i(29475),l=i(47039),a=i(42891),d=i(70784),h=i(43495),u=i(48053),c=i(29527),g=i(24162),p=i(81719),m=i(63144),f=i(86570),_=i(70209),v=i(1863),b=i(82801),C=i(85327);let w=s=class extends d.JT{static setBreadcrumbsSourceFactory(e){this._breadcrumbsSourceFactory.set(e,void 0)}get isUpdatingHiddenAreas(){return this._isUpdatingHiddenAreas}constructor(e,t,i,n){super(),this._editors=e,this._diffModel=t,this._options=i,this._instantiationService=n,this._modifiedOutlineSource=(0,u.kA)(this,e=>{let t=this._editors.modifiedModel.read(e),i=s._breadcrumbsSourceFactory.read(e);return t&&i?i(t,this._instantiationService):void 0}),this._isUpdatingHiddenAreas=!1,this._register(this._editors.original.onDidChangeCursorPosition(e=>{if(1===e.reason)return;let t=this._diffModel.get();(0,h.PS)(e=>{for(let i of this._editors.original.getSelections()||[])null==t||t.ensureOriginalLineIsVisible(i.getStartPosition().lineNumber,0,e),null==t||t.ensureOriginalLineIsVisible(i.getEndPosition().lineNumber,0,e)})})),this._register(this._editors.modified.onDidChangeCursorPosition(e=>{if(1===e.reason)return;let t=this._diffModel.get();(0,h.PS)(e=>{for(let i of this._editors.modified.getSelections()||[])null==t||t.ensureModifiedLineIsVisible(i.getStartPosition().lineNumber,0,e),null==t||t.ensureModifiedLineIsVisible(i.getEndPosition().lineNumber,0,e)})}));let o=this._diffModel.map((e,t)=>{var i,n;let s=null!==(i=null==e?void 0:e.unchangedRegions.read(t))&&void 0!==i?i:[];return 1===s.length&&1===s[0].modifiedLineNumber&&s[0].lineCount===(null===(n=this._editors.modifiedModel.read(t))||void 0===n?void 0:n.getLineCount())?[]:s});this.viewZones=(0,h.Be)(this,(e,t)=>{let i=this._modifiedOutlineSource.read(e);if(!i)return{origViewZones:[],modViewZones:[]};let n=[],s=[],r=this._options.renderSideBySide.read(e),l=o.read(e);for(let o of l)if(!o.shouldHideControls(e)){{let e=(0,h.nK)(this,e=>o.getHiddenOriginalRange(e).startLineNumber-1),s=new p.GD(e,24);n.push(s),t.add(new y(this._editors.original,s,o,o.originalUnchangedRange,!r,i,e=>this._diffModel.get().ensureModifiedLineIsVisible(e,2,void 0),this._options))}{let e=(0,h.nK)(this,e=>o.getHiddenModifiedRange(e).startLineNumber-1),n=new p.GD(e,24);s.push(n),t.add(new y(this._editors.modified,n,o,o.modifiedUnchangedRange,!1,i,e=>this._diffModel.get().ensureModifiedLineIsVisible(e,2,void 0),this._options))}}return{origViewZones:n,modViewZones:s}});let r={description:"unchanged lines",className:"diff-unchanged-lines",isWholeLine:!0},d={description:"Fold Unchanged",glyphMarginHoverMessage:new a.W5(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown((0,b.NC)("foldUnchanged","Fold Unchanged Region")),glyphMarginClassName:"fold-unchanged "+c.k.asClassName(l.l.fold),zIndex:10001};this._register((0,p.RP)(this._editors.original,(0,h.nK)(this,e=>{let t=o.read(e),i=t.map(e=>({range:e.originalUnchangedRange.toInclusiveRange(),options:r}));for(let n of t)n.shouldHideControls(e)&&i.push({range:_.e.fromPositions(new f.L(n.originalLineNumber,1)),options:d});return i}))),this._register((0,p.RP)(this._editors.modified,(0,h.nK)(this,e=>{let t=o.read(e),i=t.map(e=>({range:e.modifiedUnchangedRange.toInclusiveRange(),options:r}));for(let n of t)n.shouldHideControls(e)&&i.push({range:m.z.ofLength(n.modifiedLineNumber,1).toInclusiveRange(),options:d});return i}))),this._register((0,h.EH)(e=>{let t=o.read(e);this._isUpdatingHiddenAreas=!0;try{this._editors.original.setHiddenAreas(t.map(t=>t.getHiddenOriginalRange(e).toInclusiveRange()).filter(g.$K)),this._editors.modified.setHiddenAreas(t.map(t=>t.getHiddenModifiedRange(e).toInclusiveRange()).filter(g.$K))}finally{this._isUpdatingHiddenAreas=!1}})),this._register(this._editors.modified.onMouseUp(e=>{var t;if(!e.event.rightButton&&e.target.position&&(null===(t=e.target.element)||void 0===t?void 0:t.className.includes("fold-unchanged"))){let t=e.target.position.lineNumber,i=this._diffModel.get();if(!i)return;let n=i.unchangedRegions.get().find(e=>e.modifiedUnchangedRange.includes(t));if(!n)return;n.collapseAll(void 0),e.event.stopPropagation(),e.event.preventDefault()}})),this._register(this._editors.original.onMouseUp(e=>{var t;if(!e.event.rightButton&&e.target.position&&(null===(t=e.target.element)||void 0===t?void 0:t.className.includes("fold-unchanged"))){let t=e.target.position.lineNumber,i=this._diffModel.get();if(!i)return;let n=i.unchangedRegions.get().find(e=>e.originalUnchangedRange.includes(t));if(!n)return;n.collapseAll(void 0),e.event.stopPropagation(),e.event.preventDefault()}}))}};w._breadcrumbsSourceFactory=(0,h.uh)("breadcrumbsSourceFactory",void 0),w=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=C.TG,function(e,t){n(e,t,3)})],w);class y extends p.N9{constructor(e,t,i,n,s,a,d,u){let c=(0,o.h)("div.diff-hidden-lines-widget");super(e,t,c.root),this._editor=e,this._unchangedRegion=i,this._unchangedRegionRange=n,this._hide=s,this._modifiedOutlineSource=a,this._revealModifiedHiddenLine=d,this._options=u,this._nodes=(0,o.h)("div.diff-hidden-lines",[(0,o.h)("div.top@top",{title:(0,b.NC)("diff.hiddenLines.top","Click or drag to show more above")}),(0,o.h)("div.center@content",{style:{display:"flex"}},[(0,o.h)("div@first",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0"}},[(0,o.$)("a",{title:(0,b.NC)("showUnchangedRegion","Show Unchanged Region"),role:"button",onclick:()=>{this._unchangedRegion.showAll(void 0)}},...(0,r.T)("$(unfold)"))]),(0,o.h)("div@others",{style:{display:"flex",justifyContent:"center",alignItems:"center"}})]),(0,o.h)("div.bottom@bottom",{title:(0,b.NC)("diff.bottom","Click or drag to show more below"),role:"button"})]),c.root.appendChild(this._nodes.root);let g=(0,h.rD)(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this._hide?(0,o.mc)(this._nodes.first):this._register((0,p.bg)(this._nodes.first,{width:g.map(e=>e.contentLeft)})),this._register((0,h.EH)(e=>{let t=this._unchangedRegion.visibleLineCountTop.read(e)+this._unchangedRegion.visibleLineCountBottom.read(e)===this._unchangedRegion.lineCount;this._nodes.bottom.classList.toggle("canMoveTop",!t),this._nodes.bottom.classList.toggle("canMoveBottom",this._unchangedRegion.visibleLineCountBottom.read(e)>0),this._nodes.top.classList.toggle("canMoveTop",this._unchangedRegion.visibleLineCountTop.read(e)>0),this._nodes.top.classList.toggle("canMoveBottom",!t);let i=this._unchangedRegion.isDragged.read(e),n=this._editor.getDomNode();n&&(n.classList.toggle("draggingUnchangedRegion",!!i),"top"===i?(n.classList.toggle("canMoveTop",this._unchangedRegion.visibleLineCountTop.read(e)>0),n.classList.toggle("canMoveBottom",!t)):"bottom"===i?(n.classList.toggle("canMoveTop",!t),n.classList.toggle("canMoveBottom",this._unchangedRegion.visibleLineCountBottom.read(e)>0)):(n.classList.toggle("canMoveTop",!1),n.classList.toggle("canMoveBottom",!1)))}));let m=this._editor;this._register((0,o.nm)(this._nodes.top,"mousedown",e=>{if(0!==e.button)return;this._nodes.top.classList.toggle("dragging",!0),this._nodes.root.classList.toggle("dragging",!0),e.preventDefault();let t=e.clientY,i=!1,n=this._unchangedRegion.visibleLineCountTop.get();this._unchangedRegion.isDragged.set("top",void 0);let s=(0,o.Jj)(this._nodes.top),r=(0,o.nm)(s,"mousemove",e=>{let s=e.clientY,o=s-t;i=i||Math.abs(o)>2;let r=Math.round(o/m.getOption(67)),l=Math.max(0,Math.min(n+r,this._unchangedRegion.getMaxVisibleLineCountTop()));this._unchangedRegion.visibleLineCountTop.set(l,void 0)}),l=(0,o.nm)(s,"mouseup",e=>{i||this._unchangedRegion.showMoreAbove(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0),this._nodes.top.classList.toggle("dragging",!1),this._nodes.root.classList.toggle("dragging",!1),this._unchangedRegion.isDragged.set(void 0,void 0),r.dispose(),l.dispose()})})),this._register((0,o.nm)(this._nodes.bottom,"mousedown",e=>{if(0!==e.button)return;this._nodes.bottom.classList.toggle("dragging",!0),this._nodes.root.classList.toggle("dragging",!0),e.preventDefault();let t=e.clientY,i=!1,n=this._unchangedRegion.visibleLineCountBottom.get();this._unchangedRegion.isDragged.set("bottom",void 0);let s=(0,o.Jj)(this._nodes.bottom),r=(0,o.nm)(s,"mousemove",e=>{let s=e.clientY,o=s-t;i=i||Math.abs(o)>2;let r=Math.round(o/m.getOption(67)),l=Math.max(0,Math.min(n-r,this._unchangedRegion.getMaxVisibleLineCountBottom())),a=this._unchangedRegionRange.endLineNumberExclusive>m.getModel().getLineCount()?m.getContentHeight():m.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.visibleLineCountBottom.set(l,void 0);let d=this._unchangedRegionRange.endLineNumberExclusive>m.getModel().getLineCount()?m.getContentHeight():m.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);m.setScrollTop(m.getScrollTop()+(d-a))}),l=(0,o.nm)(s,"mouseup",e=>{if(this._unchangedRegion.isDragged.set(void 0,void 0),!i){let e=m.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.showMoreBelow(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0);let t=m.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);m.setScrollTop(m.getScrollTop()+(t-e))}this._nodes.bottom.classList.toggle("dragging",!1),this._nodes.root.classList.toggle("dragging",!1),r.dispose(),l.dispose()})})),this._register((0,h.EH)(e=>{let t=[];if(!this._hide){let n=i.getHiddenModifiedRange(e).length,s=(0,b.NC)("hiddenLines","{0} hidden lines",n),a=(0,o.$)("span",{title:(0,b.NC)("diff.hiddenLines.expandAll","Double click to unfold")},s);a.addEventListener("dblclick",e=>{0===e.button&&(e.preventDefault(),this._unchangedRegion.showAll(void 0))}),t.push(a);let d=this._unchangedRegion.getHiddenModifiedRange(e),h=this._modifiedOutlineSource.getBreadcrumbItems(d,e);if(h.length>0){t.push((0,o.$)("span",void 0,"\xa0\xa0|\xa0\xa0"));for(let e=0;e{this._revealModifiedHiddenLine(i.startLineNumber)}}}}(0,o.mc)(this._nodes.others,...t)}))}}},27774:function(e,t,i){"use strict";i.d(t,{$F:function(){return C},Jv:function(){return f},LE:function(){return m},W3:function(){return b},fO:function(){return h},i_:function(){return p},iq:function(){return c},n_:function(){return _},rd:function(){return g},rq:function(){return v},vv:function(){return u}});var n=i(47039),s=i(29527),o=i(66629),r=i(82801),l=i(43616),a=i(79939);(0,l.P6G)("diffEditor.move.border",{dark:"#8b8b8b9c",light:"#8b8b8b9c",hcDark:"#8b8b8b9c",hcLight:"#8b8b8b9c"},(0,r.NC)("diffEditor.move.border","The border color for text that got moved in the diff editor.")),(0,l.P6G)("diffEditor.moveActive.border",{dark:"#FFA500",light:"#FFA500",hcDark:"#FFA500",hcLight:"#FFA500"},(0,r.NC)("diffEditor.moveActive.border","The active border color for text that got moved in the diff editor.")),(0,l.P6G)("diffEditor.unchangedRegionShadow",{dark:"#000000",light:"#737373BF",hcDark:"#000000",hcLight:"#737373BF"},(0,r.NC)("diffEditor.unchangedRegionShadow","The color of the shadow around unchanged region widgets."));let d=(0,a.q5)("diff-insert",n.l.add,(0,r.NC)("diffInsertIcon","Line decoration for inserts in the diff editor.")),h=(0,a.q5)("diff-remove",n.l.remove,(0,r.NC)("diffRemoveIcon","Line decoration for removals in the diff editor.")),u=o.qx.register({className:"line-insert",description:"line-insert",isWholeLine:!0,linesDecorationsClassName:"insert-sign "+s.k.asClassName(d),marginClassName:"gutter-insert"}),c=o.qx.register({className:"line-delete",description:"line-delete",isWholeLine:!0,linesDecorationsClassName:"delete-sign "+s.k.asClassName(h),marginClassName:"gutter-delete"}),g=o.qx.register({className:"line-insert",description:"line-insert",isWholeLine:!0,marginClassName:"gutter-insert"}),p=o.qx.register({className:"line-delete",description:"line-delete",isWholeLine:!0,marginClassName:"gutter-delete"}),m=o.qx.register({className:"char-insert",description:"char-insert",shouldFillLineOnLineBreak:!0}),f=o.qx.register({className:"char-insert",description:"char-insert",isWholeLine:!0}),_=o.qx.register({className:"char-insert diff-range-empty",description:"char-insert diff-range-empty"}),v=o.qx.register({className:"char-delete",description:"char-delete",shouldFillLineOnLineBreak:!0}),b=o.qx.register({className:"char-delete",description:"char-delete",isWholeLine:!0}),C=o.qx.register({className:"char-delete diff-range-empty",description:"char-delete diff-range-empty"})},81719:function(e,t,i){"use strict";let n;i.d(t,{t2:function(){return x},DU:function(){return b},GD:function(){return y},N9:function(){return w},Vm:function(){return C},xx:function(){return _},RP:function(){return f},bg:function(){return L},Sv:function(){return D},W7:function(){return E},Ap:function(){return m},RL:function(){return v},NW:function(){return k},cV:function(){return N}});var s=i(70365),o=i(9424),r=i(85580);function l(){return r.OB&&!!r.OB.VSCODE_DEV}function a(e){if(!l())return{dispose(){}};{let t=function(){n||(n=new Set);let e=globalThis;return e.$hotReload_applyNewExports||(e.$hotReload_applyNewExports=e=>{let t={config:{mode:void 0},...e};for(let e of n){let i=e(t);if(i)return i}}),n}();return t.add(e),{dispose(){t.delete(e)}}}}l()&&a(({oldExports:e,newSrc:t,config:i})=>{if("patch-prototype"===i.mode)return t=>{var i,n;for(let s in t){let o=t[s];if(console.log(`[hot-reload] Patching prototype methods of '${s}'`,{exportedItem:o}),"function"==typeof o&&o.prototype){let r=e[s];if(r){for(let e of Object.getOwnPropertyNames(o.prototype)){let t=Object.getOwnPropertyDescriptor(o.prototype,e),l=Object.getOwnPropertyDescriptor(r.prototype,e);(null===(i=null==t?void 0:t.value)||void 0===i?void 0:i.toString())!==(null===(n=null==l?void 0:l.value)||void 0===n?void 0:n.toString())&&console.log(`[hot-reload] Patching prototype method '${s}.${e}'`),Object.defineProperty(r.prototype,e,t)}t[s]=r}}}return!0}});var d=i(70784),h=i(43495),u=i(87733),c=i(86570),g=i(70209),p=i(98467);function m(e,t,i,n){if(0===e.length)return t;if(0===t.length)return e;let s=[],o=0,r=0;for(;oh?(s.push(a),r++):(s.push(n(l,a)),o++,r++)}for(;o`Apply decorations from ${t.debugName}`},e=>{let i=t.read(e);n.set(i)})),i.add({dispose:()=>{n.clear()}}),i}function _(e,t){return e.appendChild(t),(0,d.OF)(()=>{e.removeChild(t)})}function v(e,t){return e.prepend(t),(0,d.OF)(()=>{e.removeChild(t)})}class b extends d.JT{get width(){return this._width}get height(){return this._height}get automaticLayout(){return this._automaticLayout}constructor(e,t){super(),this._automaticLayout=!1,this.elementSizeObserver=this._register(new u.I(e,t)),this._width=(0,h.uh)(this,this.elementSizeObserver.getWidth()),this._height=(0,h.uh)(this,this.elementSizeObserver.getHeight()),this._register(this.elementSizeObserver.onDidChange(e=>(0,h.PS)(e=>{this._width.set(this.elementSizeObserver.getWidth(),e),this._height.set(this.elementSizeObserver.getHeight(),e)})))}observe(e){this.elementSizeObserver.observe(e)}setAutomaticLayout(e){this._automaticLayout=e,e?this.elementSizeObserver.startObserving():this.elementSizeObserver.stopObserving()}}function C(e,t,i){let n,s=t.get(),o=s,r=s,l=(0,h.uh)("animatedValue",s),a=-1;return i.add((0,h.nJ)({createEmptyChangeSummary:()=>({animate:!1}),handleChange:(e,i)=>(e.didChange(t)&&(i.animate=i.animate||e.change),!0)},(i,d)=>{void 0!==n&&(e.cancelAnimationFrame(n),n=void 0),o=r,s=t.read(i),a=Date.now()-(d.animate?0:300),function t(){var i,d;let h=Date.now()-a;r=Math.floor((i=o,d=s-o,300===h?i+d:d*(-Math.pow(2,-10*h/300)+1)+i)),h<300?n=e.requestAnimationFrame(t):r=s,l.set(r,void 0)}()})),l}class w extends d.JT{constructor(e,t,i){super(),this._register(new S(e,i)),this._register(L(i,{height:t.actualHeight,top:t.actualTop}))}}class y{get afterLineNumber(){return this._afterLineNumber.get()}constructor(e,t){this._afterLineNumber=e,this.heightInPx=t,this.domNode=document.createElement("div"),this._actualTop=(0,h.uh)(this,void 0),this._actualHeight=(0,h.uh)(this,void 0),this.actualTop=this._actualTop,this.actualHeight=this._actualHeight,this.showInHiddenAreas=!0,this.onChange=this._afterLineNumber,this.onDomNodeTop=e=>{this._actualTop.set(e,void 0)},this.onComputedHeight=e=>{this._actualHeight.set(e,void 0)}}}class S{constructor(e,t){this._editor=e,this._domElement=t,this._overlayWidgetId=`managedOverlayWidget-${S._counter++}`,this._overlayWidget={getId:()=>this._overlayWidgetId,getDomNode:()=>this._domElement,getPosition:()=>null},this._editor.addOverlayWidget(this._overlayWidget)}dispose(){this._editor.removeOverlayWidget(this._overlayWidget)}}function L(e,t){return(0,h.EH)(i=>{for(let[n,s]of Object.entries(t))s&&"object"==typeof s&&"read"in s&&(s=s.read(i)),"number"==typeof s&&(s=`${s}px`),n=n.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),e.style[n]=s})}function k(e,t){return function(e,t){if(l()){let i=(0,h.aq)("reload",t=>a(({oldExports:i})=>{if([...Object.values(i)].some(t=>e.includes(t)))return e=>(t(void 0),!0)}));i.read(t)}}([e],t),e}function D(e,t,i,n){let s=new d.SL,o=[];return s.add((0,h.gp)((s,r)=>{let l=t.read(s),a=new Map,d=new Map;i&&i(!0),e.changeViewZones(e=>{for(let t of o)e.removeZone(t),null==n||n.delete(t);for(let t of(o.length=0,l)){let i=e.addZone(t);t.setZoneId&&t.setZoneId(i),o.push(i),null==n||n.add(i),a.set(t,i)}}),i&&i(!1),r.add((0,h.nJ)({createEmptyChangeSummary:()=>({zoneIds:[]}),handleChange(e,t){let i=d.get(e.changedObservable);return void 0!==i&&t.zoneIds.push(i),!0}},(t,n)=>{for(let e of l)e.onChange&&(d.set(e.onChange,a.get(e)),e.onChange.read(t));i&&i(!0),e.changeViewZones(e=>{for(let t of n.zoneIds)e.layoutZone(t)}),i&&i(!1)}))})),s.add({dispose(){i&&i(!0),e.changeViewZones(e=>{for(let t of o)e.removeZone(t)}),null==n||n.clear(),i&&i(!1)}}),s}S._counter=0;class x extends o.AU{dispose(){super.dispose(!0)}}function N(e,t){let i=(0,s.dF)(t,t=>t.original.startLineNumber<=e.lineNumber);if(!i)return g.e.fromPositions(e);if(i.original.endLineNumberExclusive<=e.lineNumber){let t=e.lineNumber-i.original.endLineNumberExclusive+i.modified.endLineNumberExclusive;return g.e.fromPositions(new c.L(t,e.column))}if(!i.innerChanges)return g.e.fromPositions(new c.L(i.modified.startLineNumber,1));let n=(0,s.dF)(i.innerChanges,t=>t.originalRange.getStartPosition().isBeforeOrEqual(e));if(!n){let t=e.lineNumber-i.original.startLineNumber+i.modified.startLineNumber;return g.e.fromPositions(new c.L(t,e.column))}if(n.originalRange.containsPosition(e))return n.modifiedRange;{var o;let t=(o=n.originalRange.getEndPosition()).lineNumber===e.lineNumber?new p.A(0,e.column-o.column):new p.A(e.lineNumber-o.lineNumber,e.column-1);return g.e.fromPositions(t.addToPosition(n.modifiedRange.getEndPosition()))}}function E(e,t){let i;return e.filter(e=>{let n=t(e,i);return i=e,n})}},77585:function(e,t,i){"use strict";i.d(t,{$:function(){return m},N:function(){return f}});var n,s=i(7802),o=i(39813),r=i(32378),l=i(79915),a=i(70784);i(70892);var d=i(50950),h=i(77233),u=i(27281),c=i(57221),g=i(45902),p=function(e,t){return function(i,n){t(i,n,e)}};let m=n=class{constructor(e,t,i){this._options=e,this._languageService=t,this._openerService=i,this._onDidRenderAsync=new l.Q5,this.onDidRenderAsync=this._onDidRenderAsync.event}dispose(){this._onDidRenderAsync.dispose()}render(e,t,i){if(!e){let e=document.createElement("span");return{element:e,dispose:()=>{}}}let n=new a.SL,o=n.add((0,s.ap)(e,{...this._getRenderOptions(e,n),...t},i));return o.element.classList.add("rendered-markdown"),{element:o.element,dispose:()=>n.dispose()}}_getRenderOptions(e,t){return{codeBlockRenderer:async(e,t)=>{var i,s,o;let r;e?r=this._languageService.getLanguageIdByLanguageName(e):this._options.editor&&(r=null===(i=this._options.editor.getModel())||void 0===i?void 0:i.getLanguageId()),r||(r=u.bd);let l=await (0,c.C2)(this._languageService,t,r),a=document.createElement("span");if(a.innerHTML=null!==(o=null===(s=n._ttpTokenizer)||void 0===s?void 0:s.createHTML(l))&&void 0!==o?o:l,this._options.editor){let e=this._options.editor.getOption(50);(0,d.N)(a,e)}else this._options.codeBlockFontFamily&&(a.style.fontFamily=this._options.codeBlockFontFamily);return void 0!==this._options.codeBlockFontSize&&(a.style.fontSize=this._options.codeBlockFontSize),a},asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:t=>f(this._openerService,t,e.isTrusted),disposables:t}}}};async function f(e,t,i){try{return await e.open(t,{fromUserGesture:!0,allowContributedOpeners:!0,allowCommands:!0===i||!!(i&&Array.isArray(i.enabledCommands))&&i.enabledCommands})}catch(e){return(0,r.dL)(e),!1}}m._ttpTokenizer=(0,o.Z)("tokenizeToString",{createHTML:e=>e}),m=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([p(1,h.O),p(2,g.v)],m)},57996:function(e,t,i){"use strict";i.d(t,{D:function(){return s}});var n=i(76886);class s extends n.Wi{constructor(e){super(),this._getContext=e}runAction(e,t){let i=this._getContext();return super.runAction(e,i)}}},77786:function(e,t,i){"use strict";i.d(t,{OY:function(){return o},Sj:function(){return r},T4:function(){return s},Uo:function(){return l},hP:function(){return a}});var n=i(84781);class s{constructor(e,t,i=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=i}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),s=i[0].range;return n.Y.fromPositions(s.getEndPosition())}}class o{constructor(e,t){this._range=e,this._text=t}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),s=i[0].range;return n.Y.fromRange(s,0)}}class r{constructor(e,t,i=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=i}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),s=i[0].range;return n.Y.fromPositions(s.getStartPosition())}}class l{constructor(e,t,i,n,s=!1){this._range=e,this._text=t,this._columnDeltaOffset=n,this._lineNumberDeltaOffset=i,this.insertsAutoWhitespace=s}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),s=i[0].range;return n.Y.fromPositions(s.getEndPosition().delta(this._lineNumberDeltaOffset,this._columnDeltaOffset))}}class a{constructor(e,t,i,n=!1){this._range=e,this._text=t,this._initialSelection=i,this._forceMoveMarkers=n,this._selectionId=null}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}},2021:function(e,t,i){"use strict";i.d(t,{U:function(){return g}});var n,s,o=i(95612),r=i(21983),l=i(70209),a=i(84781),d=i(92037),h=i(32712);let u=Object.create(null);function c(e,t){if(t<=0)return"";u[e]||(u[e]=["",e]);let i=u[e];for(let n=i.length;n<=t;n++)i[n]=i[n-1]+e;return i[t]}let g=s=class{static unshiftIndent(e,t,i,n,s){let o=r.i.visibleColumnFromColumn(e,t,i);if(s){let e=c(" ",n),t=r.i.prevIndentTabStop(o,n),i=t/n;return c(e,i)}{let e=r.i.prevRenderTabStop(o,i),t=e/i;return c(" ",t)}}static shiftIndent(e,t,i,n,s){let o=r.i.visibleColumnFromColumn(e,t,i);if(s){let e=c(" ",n),t=r.i.nextIndentTabStop(o,n),i=t/n;return c(e,i)}{let e=r.i.nextRenderTabStop(o,i),t=e/i;return c(" ",t)}}constructor(e,t,i){this._languageConfigurationService=i,this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}_addEditOperation(e,t,i){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,i):e.addEditOperation(t,i)}getEditOperations(e,t){let i=this._selection.startLineNumber,n=this._selection.endLineNumber;1===this._selection.endColumn&&i!==n&&(n-=1);let{tabSize:a,indentSize:h,insertSpaces:u}=this._opts,g=i===n;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(e.getLineContent(i))&&(this._useLastEditRangeForCursorEndPosition=!0);let c=0,p=0;for(let m=i;m<=n;m++,c=p){let n;p=0;let f=e.getLineContent(m),_=o.LC(f);if((!this._opts.isUnshift||0!==f.length&&0!==_)&&(g||this._opts.isUnshift||0!==f.length)){if(-1===_&&(_=f.length),m>1){let t=r.i.visibleColumnFromColumn(f,_+1,a);if(t%h!=0&&e.tokenization.isCheapToTokenize(m-1)){let t=(0,d.A)(this._opts.autoIndent,e,new l.e(m-1,e.getLineMaxColumn(m-1),m-1,e.getLineMaxColumn(m-1)),this._languageConfigurationService);if(t){if(p=c,t.appendText)for(let e=0,i=t.appendText.length;e=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=h.c_,function(e,t){n(e,t,2)})],g)},66825:function(e,t,i){"use strict";i.d(t,{k:function(){return n}});let n={enableSplitViewResizing:!0,splitViewDefaultRatio:.5,renderSideBySide:!0,renderMarginRevertIcon:!0,renderGutterMenu:!0,maxComputationTime:5e3,maxFileSize:50,ignoreTrimWhitespace:!0,renderIndicators:!0,originalEditable:!1,diffCodeLens:!1,renderOverviewRuler:!0,diffWordWrap:"inherit",diffAlgorithm:"advanced",accessibilityVerbose:!1,experimental:{showMoves:!1,showEmptyDecorations:!0},hideUnchangedRegions:{enabled:!1,contextLineCount:3,minimumLineCount:3,revealLineCount:20},isInEmbeddedEditor:!1,onlyShowAccessibleDiffViewer:!1,renderSideBySideInlineBreakpoint:900,useInlineViewWhenSpaceIsLimited:!0}},1990:function(e,t,i){"use strict";i.d(t,{Pe:function(){return p},ei:function(){return g},wk:function(){return d}});var n=i(66825),s=i(43364),o=i(23945),r=i(82801),l=i(73004),a=i(34089);let d=Object.freeze({id:"editor",order:5,type:"object",title:r.NC("editorConfigurationTitle","Editor"),scope:5}),h={...d,properties:{"editor.tabSize":{type:"number",default:o.D.tabSize,minimum:1,markdownDescription:r.NC("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when {0} is on.","`#editor.detectIndentation#`")},"editor.indentSize":{anyOf:[{type:"string",enum:["tabSize"]},{type:"number",minimum:1}],default:"tabSize",markdownDescription:r.NC("indentSize",'The number of spaces used for indentation or `"tabSize"` to use the value from `#editor.tabSize#`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.')},"editor.insertSpaces":{type:"boolean",default:o.D.insertSpaces,markdownDescription:r.NC("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when {0} is on.","`#editor.detectIndentation#`")},"editor.detectIndentation":{type:"boolean",default:o.D.detectIndentation,markdownDescription:r.NC("detectIndentation","Controls whether {0} and {1} will be automatically detected when a file is opened based on the file contents.","`#editor.tabSize#`","`#editor.insertSpaces#`")},"editor.trimAutoWhitespace":{type:"boolean",default:o.D.trimAutoWhitespace,description:r.NC("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:o.D.largeFileOptimizations,description:r.NC("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{enum:["off","currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[r.NC("wordBasedSuggestions.off","Turn off Word Based Suggestions."),r.NC("wordBasedSuggestions.currentDocument","Only suggest words from the active document."),r.NC("wordBasedSuggestions.matchingDocuments","Suggest words from all open documents of the same language."),r.NC("wordBasedSuggestions.allDocuments","Suggest words from all open documents.")],description:r.NC("wordBasedSuggestions","Controls whether completions should be computed based on words in the document and from which documents they are computed.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[r.NC("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),r.NC("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),r.NC("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:r.NC("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:r.NC("stablePeek","Keep peek editors open even when double-clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:r.NC("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"editor.experimental.asyncTokenization":{type:"boolean",default:!1,description:r.NC("editor.experimental.asyncTokenization","Controls whether the tokenization should happen asynchronously on a web worker."),tags:["experimental"]},"editor.experimental.asyncTokenizationLogging":{type:"boolean",default:!1,description:r.NC("editor.experimental.asyncTokenizationLogging","Controls whether async tokenization should be logged. For debugging only.")},"editor.experimental.asyncTokenizationVerification":{type:"boolean",default:!1,description:r.NC("editor.experimental.asyncTokenizationVerification","Controls whether async tokenization should be verified against legacy background tokenization. Might slow down tokenization. For debugging only."),tags:["experimental"]},"editor.language.brackets":{type:["array","null"],default:null,description:r.NC("schema.brackets","Defines the bracket symbols that increase or decrease the indentation."),items:{type:"array",items:[{type:"string",description:r.NC("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:r.NC("schema.closeBracket","The closing bracket character or string sequence.")}]}},"editor.language.colorizedBracketPairs":{type:["array","null"],default:null,description:r.NC("schema.colorizedBracketPairs","Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled."),items:{type:"array",items:[{type:"string",description:r.NC("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:r.NC("schema.closeBracket","The closing bracket character or string sequence.")}]}},"diffEditor.maxComputationTime":{type:"number",default:n.k.maxComputationTime,description:r.NC("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.maxFileSize":{type:"number",default:n.k.maxFileSize,description:r.NC("maxFileSize","Maximum file size in MB for which to compute diffs. Use 0 for no limit.")},"diffEditor.renderSideBySide":{type:"boolean",default:n.k.renderSideBySide,description:r.NC("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.renderSideBySideInlineBreakpoint":{type:"number",default:n.k.renderSideBySideInlineBreakpoint,description:r.NC("renderSideBySideInlineBreakpoint","If the diff editor width is smaller than this value, the inline view is used.")},"diffEditor.useInlineViewWhenSpaceIsLimited":{type:"boolean",default:n.k.useInlineViewWhenSpaceIsLimited,description:r.NC("useInlineViewWhenSpaceIsLimited","If enabled and the editor width is too small, the inline view is used.")},"diffEditor.renderMarginRevertIcon":{type:"boolean",default:n.k.renderMarginRevertIcon,description:r.NC("renderMarginRevertIcon","When enabled, the diff editor shows arrows in its glyph margin to revert changes.")},"diffEditor.renderGutterMenu":{type:"boolean",default:n.k.renderGutterMenu,description:r.NC("renderGutterMenu","When enabled, the diff editor shows a special gutter for revert and stage actions.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:n.k.ignoreTrimWhitespace,description:r.NC("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:n.k.renderIndicators,description:r.NC("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:n.k.diffCodeLens,description:r.NC("codeLens","Controls whether the editor shows CodeLens.")},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:n.k.diffWordWrap,markdownEnumDescriptions:[r.NC("wordWrap.off","Lines will never wrap."),r.NC("wordWrap.on","Lines will wrap at the viewport width."),r.NC("wordWrap.inherit","Lines will wrap according to the {0} setting.","`#editor.wordWrap#`")]},"diffEditor.diffAlgorithm":{type:"string",enum:["legacy","advanced"],default:n.k.diffAlgorithm,markdownEnumDescriptions:[r.NC("diffAlgorithm.legacy","Uses the legacy diffing algorithm."),r.NC("diffAlgorithm.advanced","Uses the advanced diffing algorithm.")],tags:["experimental"]},"diffEditor.hideUnchangedRegions.enabled":{type:"boolean",default:n.k.hideUnchangedRegions.enabled,markdownDescription:r.NC("hideUnchangedRegions.enabled","Controls whether the diff editor shows unchanged regions.")},"diffEditor.hideUnchangedRegions.revealLineCount":{type:"integer",default:n.k.hideUnchangedRegions.revealLineCount,markdownDescription:r.NC("hideUnchangedRegions.revealLineCount","Controls how many lines are used for unchanged regions."),minimum:1},"diffEditor.hideUnchangedRegions.minimumLineCount":{type:"integer",default:n.k.hideUnchangedRegions.minimumLineCount,markdownDescription:r.NC("hideUnchangedRegions.minimumLineCount","Controls how many lines are used as a minimum for unchanged regions."),minimum:1},"diffEditor.hideUnchangedRegions.contextLineCount":{type:"integer",default:n.k.hideUnchangedRegions.contextLineCount,markdownDescription:r.NC("hideUnchangedRegions.contextLineCount","Controls how many lines are used as context when comparing unchanged regions."),minimum:1},"diffEditor.experimental.showMoves":{type:"boolean",default:n.k.experimental.showMoves,markdownDescription:r.NC("showMoves","Controls whether the diff editor should show detected code moves.")},"diffEditor.experimental.showEmptyDecorations":{type:"boolean",default:n.k.experimental.showEmptyDecorations,description:r.NC("showEmptyDecorations","Controls whether the diff editor shows empty decorations to see where characters got inserted or deleted.")}}};for(let e of s.Bc){let t=e.schema;if(void 0!==t){if(void 0!==t.type||void 0!==t.anyOf)h.properties[`editor.${e.name}`]=t;else for(let e in t)Object.hasOwnProperty.call(t,e)&&(h.properties[e]=t[e])}}let u=null;function c(){return null===u&&(u=Object.create(null),Object.keys(h.properties).forEach(e=>{u[e]=!0})),u}function g(e){let t=c();return t[`editor.${e}`]||!1}function p(e){let t=c();return t[`diffEditor.${e}`]||!1}let m=a.B.as(l.IP.Configuration);m.registerConfiguration(h)},66597:function(e,t,i){"use strict";i.d(t,{C:function(){return s}});var n=i(79915);let s=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new n.Q5,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}},9148:function(e,t,i){"use strict";i.d(t,{E4:function(){return l},pR:function(){return a}});var n=i(58022),s=i(43364),o=i(66597);let r=n.dz?1.5:1.35;class l{static createFromValidatedSettings(e,t,i){let n=e.get(49),s=e.get(53),o=e.get(52),r=e.get(51),a=e.get(54),d=e.get(67),h=e.get(64);return l._create(n,s,o,r,a,d,h,t,i)}static _create(e,t,i,n,a,d,h,u,c){0===d?d=r*i:d<8&&(d*=i),(d=Math.round(d))<8&&(d=8);let g=1+(c?0:.1*o.C.getZoomLevel());if(i*=g,d*=g,a===s.Bo.TRANSLATE){if("normal"===t||"bold"===t)a=s.Bo.OFF;else{let e=parseInt(t,10);a=`'wght' ${e}`,t="normal"}}return new l({pixelRatio:u,fontFamily:e,fontWeight:t,fontSize:i,fontFeatureSettings:n,fontVariationSettings:a,lineHeight:d,letterSpacing:h})}constructor(e){this._bareFontInfoBrand=void 0,this.pixelRatio=e.pixelRatio,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.fontVariationSettings=e.fontVariationSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}getId(){return`${this.pixelRatio}-${this.fontFamily}-${this.fontWeight}-${this.fontSize}-${this.fontFeatureSettings}-${this.fontVariationSettings}-${this.lineHeight}-${this.letterSpacing}`}getMassagedFontFamily(){let e=s.hL.fontFamily,t=l._wrapInQuotes(this.fontFamily);return e&&this.fontFamily!==e?`${t}, ${e}`:t}static _wrapInQuotes(e){return/[,"']/.test(e)?e:/[+ ]/.test(e)?`"${e}"`:e}}class a extends l{constructor(e,t){super(e),this._editorStylingBrand=void 0,this.version=2,this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.fontVariationSettings===e.fontVariationSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}},32035:function(e,t,i){"use strict";i.d(t,{N:function(){return s},q:function(){return o}});var n=i(91763);class s{constructor(e){let t=(0,n.K)(e);this._defaultValue=t,this._asciiMap=s._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let i=(0,n.K)(t);e>=0&&e<256?this._asciiMap[e]=i:this._map.set(e,i)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class o{constructor(){this._actual=new s(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}clear(){return this._actual.clear()}}},21983:function(e,t,i){"use strict";i.d(t,{i:function(){return s}});var n=i(95612);class s{static _nextVisibleColumn(e,t,i){return 9===e?s.nextRenderTabStop(t,i):n.K7(e)||n.C8(e)?t+2:t+1}static visibleColumnFromColumn(e,t,i){let s=Math.min(t-1,e.length),o=e.substring(0,s),r=new n.W1(o),l=0;for(;!r.eol();){let e=n.ZH(o,s,r.offset);r.nextGraphemeLength(),l=this._nextVisibleColumn(e,l,i)}return l}static columnFromVisibleColumn(e,t,i){if(t<=0)return 1;let s=e.length,o=new n.W1(e),r=0,l=1;for(;!o.eol();){let a=n.ZH(e,s,o.offset);o.nextGraphemeLength();let d=this._nextVisibleColumn(a,r,i),h=o.offset+1;if(d>=t){let e=t-r,i=d-t;if(i{let i=e.getColor(o.cvW),n=e.getColor(l),s=n&&!n.isTransparent()?n:i;s&&t.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${s}; }`)})},67830:function(e,t,i){"use strict";function n(e){let t=0,i=0,n=0,s=0;for(let o=0,r=e.length;ot)throw new n.he(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&et.endLineNumberExclusive>=e.startLineNumber),i=(0,r.Jw)(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)this._normalizedRanges.splice(t,0,e);else if(t===i-1){let i=this._normalizedRanges[t];this._normalizedRanges[t]=i.join(e)}else{let n=this._normalizedRanges[t].join(this._normalizedRanges[i-1]).join(e);this._normalizedRanges.splice(t,i-t,n)}}contains(e){let t=(0,r.ti)(this._normalizedRanges,t=>t.startLineNumber<=e);return!!t&&t.endLineNumberExclusive>e}intersects(e){let t=(0,r.ti)(this._normalizedRanges,t=>t.startLineNumbere.startLineNumber}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;let t=[],i=0,n=0,s=null;for(;i=o.startLineNumber?s=new l(s.startLineNumber,Math.max(s.endLineNumberExclusive,o.endLineNumberExclusive)):(t.push(s),s=o)}return null!==s&&t.push(s),new a(t)}subtractFrom(e){let t=(0,r.J_)(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),i=(0,r.Jw)(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)return new a([e]);let n=[],s=e.startLineNumber;for(let e=t;es&&n.push(new l(s,t.startLineNumber)),s=t.endLineNumberExclusive}return se.toString()).join(", ")}getIntersection(e){let t=[],i=0,n=0;for(;it.delta(e)))}}},81294:function(e,t,i){"use strict";i.d(t,{M:function(){return o},q:function(){return s}});var n=i(32378);class s{static addRange(e,t){let i=0;for(;it))return new s(e,t)}static ofLength(e){return new s(0,e)}static ofStartAndLength(e,t){return new s(e,e+t)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new n.he(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new s(this.start+e,this.endExclusive+e)}deltaStart(e){return new s(this.start+e,this.endExclusive)}deltaEnd(e){return new s(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}contains(e){return this.start<=e&&e=e.endExclusive}slice(e){return e.slice(this.start,this.endExclusive)}substring(e){return e.substring(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new n.he(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new n.he(`Invalid clipping range: ${this.toString()}`);return e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;te.toString()).join(", ")}intersectsStrict(e){let t=0;for(;te+t.length,0)}}},86570:function(e,t,i){"use strict";i.d(t,{L:function(){return n}});class n{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new n(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return n.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return n.isBefore(this,e)}static isBefore(e,t){return e.lineNumberi||e===i&&t>n?(this.startLineNumber=i,this.startColumn=n,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=i,this.endColumn=n)}isEmpty(){return s.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return s.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))}containsRange(e){return s.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))}strictContainsRange(e){return s.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))}plusRange(e){return s.plusRange(this,e)}static plusRange(e,t){let i,n,o,r;return t.startLineNumbere.endLineNumber?(o=t.endLineNumber,r=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,r=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,r=e.endColumn),new s(i,n,o,r)}intersectRanges(e){return s.intersectRanges(this,e)}static intersectRanges(e,t){let i=e.startLineNumber,n=e.startColumn,o=e.endLineNumber,r=e.endColumn,l=t.startLineNumber,a=t.startColumn,d=t.endLineNumber,h=t.endColumn;return(id?(o=d,r=h):o===d&&(r=Math.min(r,h)),i>o||i===o&&n>r)?null:new s(i,n,o,r)}equalsRange(e){return s.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return s.getEndPosition(this)}static getEndPosition(e){return new n.L(e.endLineNumber,e.endColumn)}getStartPosition(){return s.getStartPosition(this)}static getStartPosition(e){return new n.L(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new s(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new s(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return s.collapseToStart(this)}static collapseToStart(e){return new s(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return s.collapseToEnd(this)}static collapseToEnd(e){return new s(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new s(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new s(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new s(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}},84781:function(e,t,i){"use strict";i.d(t,{Y:function(){return o}});var n=i(86570),s=i(70209);class o extends s.e{constructor(e,t,i,n){super(e,t,i,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=i,this.positionColumn=n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new n.L(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new n.L(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new o(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new o(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let i=0,n=e.length;i0&&(65279===n[0]||65534===n[0])?function(e,t,i){let n=[],s=0;for(let o=0;o=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=e;return}for(let i=0;i(0,n.DM)(e,(e,t)=>e.range.getEndPosition().isBeforeOrEqual(t.range.getStartPosition())))}apply(e){let t="",i=new o.L(1,1);for(let n of this.edits){let s=n.range,o=s.getStartPosition(),r=s.getEndPosition(),l=c(i,o);l.isEmpty()||(t+=e.getValueOfRange(l)),t+=n.text,i=r}let n=c(i,e.endPositionExclusive);return n.isEmpty()||(t+=e.getValueOfRange(n)),t}applyToString(e){let t=new p(e);return this.apply(t)}getNewRanges(){let e=[],t=0,i=0,n=0;for(let s of this.edits){let r=l.A.ofText(s.text),a=o.L.lift({lineNumber:s.range.startLineNumber+i,column:s.range.startColumn+(s.range.startLineNumber===t?n:0)}),d=r.createRange(a);e.push(d),i=d.endLineNumber-s.range.endLineNumber,n=d.endColumn-s.range.endColumn,t=s.range.endLineNumber}return e}}class u{constructor(e,t){this.range=e,this.text=t}}function c(e,t){if(e.lineNumber===t.lineNumber&&e.column===Number.MAX_SAFE_INTEGER)return d.e.fromPositions(t,t);if(!e.isBeforeOrEqual(t))throw new s.he("start must be before end");return new d.e(e.lineNumber,e.column,t.lineNumber,t.column)}class g{get endPositionExclusive(){return this.length.addToPosition(new o.L(1,1))}}class p extends g{constructor(e){super(),this.value=e,this._t=new a(this.value)}getValueOfRange(e){return this._t.getOffsetRange(e).substring(this.value)}get length(){return this._t.textLength}}},98467:function(e,t,i){"use strict";i.d(t,{A:function(){return o}});var n=i(86570),s=i(70209);class o{static betweenPositions(e,t){return e.lineNumber===t.lineNumber?new o(0,t.column-e.column):new o(t.lineNumber-e.lineNumber,t.column-1)}static ofRange(e){return o.betweenPositions(e.getStartPosition(),e.getEndPosition())}static ofText(e){let t=0,i=0;for(let n of e)"\n"===n?(t++,i=0):i++;return new o(t,i)}constructor(e,t){this.lineCount=e,this.columnCount=t}isGreaterThanOrEqualTo(e){return this.lineCount!==e.lineCount?this.lineCount>e.lineCount:this.columnCount>=e.columnCount}createRange(e){return 0===this.lineCount?new s.e(e.lineNumber,e.column,e.lineNumber,e.column+this.columnCount):new s.e(e.lineNumber,e.column,e.lineNumber+this.lineCount,this.columnCount+1)}addToPosition(e){return 0===this.lineCount?new n.L(e.lineNumber,e.column+this.columnCount):new n.L(e.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}}o.zero=new o(0,0)},23945:function(e,t,i){"use strict";i.d(t,{D:function(){return n}});let n={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}}},41117:function(e,t,i){"use strict";i.d(t,{u:function(){return l}});var n=i(10289),s=i(32035);class o extends s.N{constructor(e,t){super(0),this._segmenter=null,this._cachedLine=null,this._cachedSegments=[],this.intlSegmenterLocales=t,this.intlSegmenterLocales.length>0?this._segmenter=new Intl.Segmenter(this.intlSegmenterLocales,{granularity:"word"}):this._segmenter=null;for(let t=0,i=e.length;tt)break;i=n}return i}findNextIntlWordAtOrAfterOffset(e,t){for(let i of this._getIntlSegmenterWordsOnLine(e))if(!(i.indexr.maxLen){let n=t-r.maxLen/2;return n<0?n=0:o+=n,s=s.substring(n,t+r.maxLen/2),e(t,i,s,o,r)}let d=Date.now(),h=t-1-o,u=-1,c=null;for(let e=1;!(Date.now()-d>=r.timeBudget);e++){let t=h-r.windowSize*e;i.lastIndex=Math.max(0,t);let n=function(e,t,i,n){let s;for(;s=e.exec(t);){let t=s.index||0;if(t<=i&&e.lastIndex>=i)return s;if(n>0&&t>n)break}return null}(i,s,h,u);if(!n&&c||(c=n,t<=0))break;u=t}if(c){let e={word:c[0],startColumn:o+1+c.index,endColumn:o+1+c.index+c[0].length};return i.lastIndex=0,e}return null}},vu:function(){return o}});var n=i(93072),s=i(92270);let o="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",r=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(let i of o)e.indexOf(i)>=0||(t+="\\"+i);return RegExp(t+="\\s]+)","g")}();function l(e){let t=r;if(e&&e instanceof RegExp){if(e.global)t=e;else{let i="g";e.ignoreCase&&(i+="i"),e.multiline&&(i+="m"),e.unicode&&(i+="u"),t=new RegExp(e.source,i)}}return t.lastIndex=0,t}let a=new s.S;a.unshift({maxLen:1e3,windowSize:15,timeBudget:150})},90036:function(e,t,i){"use strict";i.d(t,{l:function(){return s}});var n=i(21983);class s{static whitespaceVisibleColumn(e,t,i){let s=e.length,o=0,r=-1,l=-1;for(let a=0;a=u.length+1)return!1;let c=u.charAt(h.column-2),g=n.get(c);if(!g)return!1;if((0,o.LN)(c)){if("never"===i)return!1}else if("never"===t)return!1;let p=u.charAt(h.column-1),m=!1;for(let e of g)e.open===c&&e.close===p&&(m=!0);if(!m)return!1;if("auto"===e){let e=!1;for(let t=0,i=l.length;t1){let e=t.getLineContent(s.lineNumber),o=n.LC(e),l=-1===o?e.length+1:o+1;if(s.column<=l){let e=i.visibleColumnFromColumn(t,s),n=r.i.prevIndentTabStop(e,i.indentSize),o=i.columnFromVisibleColumn(t,s.lineNumber,n);return new a.e(s.lineNumber,o,s.lineNumber,s.column)}}return a.e.fromPositions(h.getPositionAfterDeleteLeft(s,t),s)}static getPositionAfterDeleteLeft(e,t){if(e.column>1){let i=n.oH(e.column-1,t.getLineContent(e.lineNumber));return e.with(void 0,i+1)}if(!(e.lineNumber>1))return e;{let i=e.lineNumber-1;return new d.L(i,t.getLineMaxColumn(i))}}static cut(e,t,i){let n=[],r=null;i.sort((e,t)=>d.L.compare(e.getStartPosition(),t.getEndPosition()));for(let o=0,l=i.length;o1&&(null==r?void 0:r.endLineNumber)!==u.lineNumber?(e=u.lineNumber-1,i=t.getLineMaxColumn(u.lineNumber-1),d=u.lineNumber,h=t.getLineMaxColumn(u.lineNumber)):(e=u.lineNumber,i=1,d=u.lineNumber,h=t.getLineMaxColumn(u.lineNumber));let c=new a.e(e,i,d,h);r=c,c.isEmpty()?n[o]=null:n[o]=new s.T4(c,"")}else n[o]=null}else n[o]=new s.T4(l,"")}return new o.Tp(0,n,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}},65151:function(e,t,i){"use strict";i.d(t,{N:function(){return s},P:function(){return u}});var n,s,o=i(24162),r=i(2474),l=i(81998),a=i(42525),d=i(86570),h=i(70209);class u{static addCursorDown(e,t,i){let n=[],s=0;for(let o=0,a=t.length;ot&&(i=t,n=e.model.getLineMaxColumn(i)),r.Vi.fromModelState(new r.rS(new h.e(o.lineNumber,1,i,n),2,0,new d.L(i,n),0))}let a=t.modelState.selectionStart.getStartPosition().lineNumber;if(o.lineNumbera){let i=e.getLineCount(),n=l.lineNumber+1,s=1;return n>i&&(n=i,s=e.getLineMaxColumn(n)),r.Vi.fromViewState(t.viewState.move(!0,n,s,0))}{let e=t.modelState.selectionStart.getEndPosition();return r.Vi.fromModelState(t.modelState.move(!0,e.lineNumber,e.column,0))}}static word(e,t,i,n){let s=e.model.validatePosition(n);return r.Vi.fromModelState(a.w.word(e.cursorConfig,e.model,t.modelState,i,s))}static cancelSelection(e,t){if(!t.modelState.hasSelection())return new r.Vi(t.modelState,t.viewState);let i=t.viewState.position.lineNumber,n=t.viewState.position.column;return r.Vi.fromViewState(new r.rS(new h.e(i,n,i,n),0,0,new d.L(i,n),0))}static moveTo(e,t,i,n,s){if(i){if(1===t.modelState.selectionStartKind)return this.word(e,t,i,n);if(2===t.modelState.selectionStartKind)return this.line(e,t,i,n,s)}let o=e.model.validatePosition(n),l=s?e.coordinatesConverter.validateViewPosition(new d.L(s.lineNumber,s.column),o):e.coordinatesConverter.convertModelPositionToViewPosition(o);return r.Vi.fromViewState(t.viewState.move(i,l.lineNumber,l.column,0))}static simpleMove(e,t,i,n,s,o){switch(i){case 0:if(4===o)return this._moveHalfLineLeft(e,t,n);return this._moveLeft(e,t,n,s);case 1:if(4===o)return this._moveHalfLineRight(e,t,n);return this._moveRight(e,t,n,s);case 2:if(2===o)return this._moveUpByViewLines(e,t,n,s);return this._moveUpByModelLines(e,t,n,s);case 3:if(2===o)return this._moveDownByViewLines(e,t,n,s);return this._moveDownByModelLines(e,t,n,s);case 4:if(2===o)return t.map(t=>r.Vi.fromViewState(l.o.moveToPrevBlankLine(e.cursorConfig,e,t.viewState,n)));return t.map(t=>r.Vi.fromModelState(l.o.moveToPrevBlankLine(e.cursorConfig,e.model,t.modelState,n)));case 5:if(2===o)return t.map(t=>r.Vi.fromViewState(l.o.moveToNextBlankLine(e.cursorConfig,e,t.viewState,n)));return t.map(t=>r.Vi.fromModelState(l.o.moveToNextBlankLine(e.cursorConfig,e.model,t.modelState,n)));case 6:return this._moveToViewMinColumn(e,t,n);case 7:return this._moveToViewFirstNonWhitespaceColumn(e,t,n);case 8:return this._moveToViewCenterColumn(e,t,n);case 9:return this._moveToViewMaxColumn(e,t,n);case 10:return this._moveToViewLastNonWhitespaceColumn(e,t,n);default:return null}}static viewportMove(e,t,i,n,s){let o=e.getCompletelyVisibleViewRange(),r=e.coordinatesConverter.convertViewRangeToModelRange(o);switch(i){case 11:{let i=this._firstLineNumberInRange(e.model,r,s),o=e.model.getLineFirstNonWhitespaceColumn(i);return[this._moveToModelPosition(e,t[0],n,i,o)]}case 13:{let i=this._lastLineNumberInRange(e.model,r,s),o=e.model.getLineFirstNonWhitespaceColumn(i);return[this._moveToModelPosition(e,t[0],n,i,o)]}case 12:{let i=Math.round((r.startLineNumber+r.endLineNumber)/2),s=e.model.getLineFirstNonWhitespaceColumn(i);return[this._moveToModelPosition(e,t[0],n,i,s)]}case 14:{let i=[];for(let s=0,r=t.length;si.endLineNumber-1?i.endLineNumber-1:sr.Vi.fromViewState(l.o.moveLeft(e.cursorConfig,e,t.viewState,i,n)))}static _moveHalfLineLeft(e,t,i){let n=[];for(let s=0,o=t.length;sr.Vi.fromViewState(l.o.moveRight(e.cursorConfig,e,t.viewState,i,n)))}static _moveHalfLineRight(e,t,i){let n=[];for(let s=0,o=t.length;se.getLineMinColumn(t.lineNumber))return t.delta(void 0,-n.HO(e.getLineContent(t.lineNumber),t.column-1));if(!(t.lineNumber>1))return t;{let i=t.lineNumber-1;return new o.L(i,e.getLineMaxColumn(i))}}static leftPositionAtomicSoftTabs(e,t,i){if(t.column<=e.getLineIndentColumn(t.lineNumber)){let n=e.getLineMinColumn(t.lineNumber),s=e.getLineContent(t.lineNumber),r=l.l.atomicPosition(s,t.column-1,i,0);if(-1!==r&&r+1>=n)return new o.L(t.lineNumber,r+1)}return this.leftPosition(e,t)}static left(e,t,i){let n=e.stickyTabStops?h.leftPositionAtomicSoftTabs(t,i,e.tabSize):h.leftPosition(t,i);return new d(n.lineNumber,n.column,0)}static moveLeft(e,t,i,n,s){let o,r;if(i.hasSelection()&&!n)o=i.selection.startLineNumber,r=i.selection.startColumn;else{let n=i.position.delta(void 0,-(s-1)),l=t.normalizePosition(h.clipPositionColumn(n,t),0),a=h.left(e,t,l);o=a.lineNumber,r=a.column}return i.move(n,o,r,0)}static clipPositionColumn(e,t){return new o.L(e.lineNumber,h.clipRange(e.column,t.getLineMinColumn(e.lineNumber),t.getLineMaxColumn(e.lineNumber)))}static clipRange(e,t,i){return ei?i:e}static rightPosition(e,t,i){return ic?(i=c,n=a?t.getLineMaxColumn(i):Math.min(t.getLineMaxColumn(i),n)):n=e.columnFromVisibleColumn(t,i,u),r=m?0:u-s.i.visibleColumnFromColumn(t.getLineContent(i),n,e.tabSize),void 0!==h){let e=new o.L(i,n),s=t.normalizePosition(e,h);r+=n-s.column,i=s.lineNumber,n=s.column}return new d(i,n,r)}static down(e,t,i,n,s,o,r){return this.vertical(e,t,i,n,s,i+o,r,4)}static moveDown(e,t,i,n,s){let r,l,a;i.hasSelection()&&!n?(r=i.selection.endLineNumber,l=i.selection.endColumn):(r=i.position.lineNumber,l=i.position.column);let d=0;do{a=h.down(e,t,r+d,l,i.leftoverVisibleColumns,s,!0);let n=t.normalizePosition(new o.L(a.lineNumber,a.column),2);if(n.lineNumber>r)break}while(d++<10&&r+d1&&this._isBlankLine(t,s);)s--;for(;s>1&&!this._isBlankLine(t,s);)s--;return i.move(n,s,t.getLineMinColumn(s),0)}static moveToNextBlankLine(e,t,i,n){let s=t.getLineCount(),o=i.position.lineNumber;for(;o1){let n;for(n=i-1;n>=1;n--){let e=t.getLineContent(n),i=s.ow(e);if(i>=0)break}if(n<1)return null;let r=t.getLineMaxColumn(n),a=(0,v.A)(e.autoIndent,t,new l.e(n,r,n,r),e.languageConfigurationService);a&&(o=a.indentation+a.appendText)}return(n&&(n===p.wU.Indent&&(o=b.shiftIndent(e,o)),n===p.wU.Outdent&&(o=b.unshiftIndent(e,o)),o=e.normalizeIndentation(o)),o)?o:null}static _replaceJumpToNextIndent(e,t,i,n){let s="",r=i.getStartPosition();if(e.insertSpaces){let i=e.visibleColumnFromColumn(t,r),n=e.indentSize,o=n-i%n;for(let e=0;ethis._compositionType(i,e,s,o,r,l));return new u.Tp(4,a,{shouldPushStackElementBefore:S(e,4),shouldPushStackElementAfter:!1})}static _compositionType(e,t,i,n,s,r){if(!t.isEmpty())return null;let a=t.getPosition(),d=Math.max(1,a.column-n),h=Math.min(e.getLineMaxColumn(a.lineNumber),a.column+s),u=new l.e(a.lineNumber,d,a.lineNumber,h),c=e.getValueInRange(u);return c===i&&0===r?null:new o.Uo(u,i,0,r)}static _typeCommand(e,t,i){return i?new o.Sj(e,t,!0):new o.T4(e,t,!0)}static _enter(e,t,i,n){if(0===e.autoIndent)return b._typeCommand(n,"\n",i);if(!t.tokenization.isCheapToTokenize(n.getStartPosition().lineNumber)||1===e.autoIndent){let o=t.getLineContent(n.startLineNumber),r=s.V8(o).substring(0,n.startColumn-1);return b._typeCommand(n,"\n"+e.normalizeIndentation(r),i)}let r=(0,v.A)(e.autoIndent,t,n,e.languageConfigurationService);if(r){if(r.indentAction===p.wU.None||r.indentAction===p.wU.Indent)return b._typeCommand(n,"\n"+e.normalizeIndentation(r.indentation+r.appendText),i);if(r.indentAction===p.wU.IndentOutdent){let t=e.normalizeIndentation(r.indentation),s=e.normalizeIndentation(r.indentation+r.appendText),l="\n"+s+"\n"+t;return i?new o.Sj(n,l,!0):new o.Uo(n,l,-1,s.length-t.length,!0)}if(r.indentAction===p.wU.Outdent){let t=b.unshiftIndent(e,r.indentation);return b._typeCommand(n,"\n"+e.normalizeIndentation(t+r.appendText),i)}}let l=t.getLineContent(n.startLineNumber),a=s.V8(l).substring(0,n.startColumn-1);if(e.autoIndent>=4){let r=(0,_.UF)(e.autoIndent,t,n,{unshiftIndent:t=>b.unshiftIndent(e,t),shiftIndent:t=>b.shiftIndent(e,t),normalizeIndentation:t=>e.normalizeIndentation(t)},e.languageConfigurationService);if(r){let l=e.visibleColumnFromColumn(t,n.getEndPosition()),a=n.endColumn,d=t.getLineContent(n.endLineNumber),h=s.LC(d);if(n=h>=0?n.setEndPosition(n.endLineNumber,Math.max(n.endColumn,h+1)):n.setEndPosition(n.endLineNumber,t.getLineMaxColumn(n.endLineNumber)),i)return new o.Sj(n,"\n"+e.normalizeIndentation(r.afterEnter),!0);{let t=0;return a<=h+1&&(e.insertSpaces||(l=Math.ceil(l/e.indentSize)),t=Math.min(l+1-e.normalizeIndentation(r.afterEnter).length-1,0)),new o.Uo(n,"\n"+e.normalizeIndentation(r.afterEnter),0,t,!0)}}}return b._typeCommand(n,"\n"+e.normalizeIndentation(a),i)}static _isAutoIndentType(e,t,i){if(e.autoIndent<4)return!1;for(let e=0,n=i.length;eb.shiftIndent(e,t),unshiftIndent:t=>b.unshiftIndent(e,t)},e.languageConfigurationService);if(null===o)return null;if(o!==e.normalizeIndentation(s)){let s=t.getLineFirstNonWhitespaceColumn(i.startLineNumber);return 0===s?b._typeCommand(new l.e(i.startLineNumber,1,i.endLineNumber,i.endColumn),e.normalizeIndentation(o)+n,!1):b._typeCommand(new l.e(i.startLineNumber,1,i.endLineNumber,i.endColumn),e.normalizeIndentation(o)+t.getLineContent(i.startLineNumber).substring(s-1,i.startColumn-1)+n,!1)}return null}static _isAutoClosingOvertype(e,t,i,n,s){if("never"===e.autoClosingOvertype||!e.autoClosingPairs.autoClosingPairsCloseSingleChar.has(s))return!1;for(let o=0,r=i.length;o2?a.charCodeAt(l.column-2):0;if(92===c&&h)return!1;if("auto"===e.autoClosingOvertype){let e=!1;for(let t=0,i=n.length;tt.startsWith(e.open)),r=s.some(e=>t.startsWith(e.close));return!o&&r}static _findAutoClosingPairOpen(e,t,i,n){let s=e.autoClosingPairs.autoClosingPairsOpenByEnd.get(n);if(!s)return null;let o=null;for(let e of s)if(null===o||e.open.length>o.open.length){let s=!0;for(let o of i){let i=t.getValueInRange(new l.e(o.lineNumber,o.column-e.open.length+1,o.lineNumber,o.column));if(i+n!==e.open){s=!1;break}}s&&(o=e)}return o}static _findContainedAutoClosingPair(e,t){if(t.open.length<=1)return null;let i=t.close.charAt(t.close.length-1),n=e.autoClosingPairs.autoClosingPairsCloseByEnd.get(i)||[],s=null;for(let e of n)e.open!==t.open&&t.open.includes(e.open)&&t.close.endsWith(e.close)&&(!s||e.open.length>s.open.length)&&(s=e);return s}static _getAutoClosingPairClose(e,t,i,n,s){let o,r;for(let e of i)if(!e.isEmpty())return null;let l=i.map(e=>{let t=e.getPosition();return s?{lineNumber:t.lineNumber,beforeColumn:t.column-n.length,afterColumn:t.column}:{lineNumber:t.lineNumber,beforeColumn:t.column,afterColumn:t.column}}),a=this._findAutoClosingPairOpen(e,t,l.map(e=>new g.L(e.lineNumber,e.beforeColumn)),n);if(!a)return null;let d=(0,u.LN)(n);if(d)o=e.autoClosingQuotes,r=e.shouldAutoCloseBefore.quote;else{let t=!!e.blockCommentStartToken&&a.open.includes(e.blockCommentStartToken);t?(o=e.autoClosingComments,r=e.shouldAutoCloseBefore.comment):(o=e.autoClosingBrackets,r=e.shouldAutoCloseBefore.bracket)}if("never"===o)return null;let h=this._findContainedAutoClosingPair(e,a),p=h?h.close:"",m=!0;for(let i of l){let{lineNumber:s,beforeColumn:l,afterColumn:d}=i,h=t.getLineContent(s),u=h.substring(0,l-1),g=h.substring(d-1);if(g.startsWith(p)||(m=!1),g.length>0){let t=g.charAt(0),i=b._isBeforeClosingBrace(e,g);if(!i&&!r(t))return null}if(1===a.open.length&&("'"===n||'"'===n)&&"always"!==o){let t=(0,c.u)(e.wordSeparators,[]);if(u.length>0){let e=u.charCodeAt(u.length-1);if(0===t.get(e))return null}}if(!t.tokenization.isCheapToTokenize(s))return null;t.tokenization.forceTokenization(s);let _=t.tokenization.getLineTokens(s),v=(0,f.wH)(_,l-1);if(!a.shouldAutoClose(v,l-v.firstCharOffset))return null;let C=a.findNeutralCharacter();if(C){let e=t.tokenization.getTokenTypeIfInsertingCharacter(s,l,C);if(!a.isOK(e))return null}}return m?a.close.substring(0,a.close.length-p.length):a.close}static _runAutoClosingOpenCharType(e,t,i,n,s,o,r){let l=[];for(let e=0,t=n.length;enew o.T4(new l.e(e.positionLineNumber,e.positionColumn,e.positionLineNumber,e.positionColumn+1),"",!1));return new u.Tp(4,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}let g=this._getAutoClosingPairClose(t,i,s,d,!0);return null!==g?this._runAutoClosingOpenCharType(e,t,i,s,d,!0,g):null}static typeWithInterceptors(e,t,i,n,s,r,l){if(!e&&"\n"===l){let e=[];for(let t=0,o=s.length;t=0;o--){let i=e.charCodeAt(o),r=t.get(i);if(s&&o===s.index)return this._createIntlWord(s,r);if(0===r){if(2===n)return this._createWord(e,n,r,o+1,this._findEndOfWord(e,t,n,o+1));n=1}else if(2===r){if(1===n)return this._createWord(e,n,r,o+1,this._findEndOfWord(e,t,n,o+1));n=2}else if(1===r&&0!==n)return this._createWord(e,n,r,o+1,this._findEndOfWord(e,t,n,o+1))}return 0!==n?this._createWord(e,n,1,0,this._findEndOfWord(e,t,n,0)):null}static _findEndOfWord(e,t,i,n){let s=t.findNextIntlWordAtOrAfterOffset(e,n),o=e.length;for(let r=n;r=0;o--){let n=e.charCodeAt(o),r=t.get(n);if(s&&o===s.index)return o;if(1===r||1===i&&2===r||2===i&&0===r)return o+1}return 0}static moveWordLeft(e,t,i,n){let s=i.lineNumber,o=i.column;1===o&&s>1&&(s-=1,o=t.getLineMaxColumn(s));let r=d._findPreviousWordOnLine(e,t,new l.L(s,o));if(0===n)return new l.L(s,r?r.start+1:1);if(1===n)return r&&2===r.wordType&&r.end-r.start==1&&0===r.nextCharClass&&(r=d._findPreviousWordOnLine(e,t,new l.L(s,r.start+1))),new l.L(s,r?r.start+1:1);if(3===n){for(;r&&2===r.wordType;)r=d._findPreviousWordOnLine(e,t,new l.L(s,r.start+1));return new l.L(s,r?r.start+1:1)}return r&&o<=r.end+1&&(r=d._findPreviousWordOnLine(e,t,new l.L(s,r.start+1))),new l.L(s,r?r.end+1:1)}static _moveWordPartLeft(e,t){let i=t.lineNumber,s=e.getLineMaxColumn(i);if(1===t.column)return i>1?new l.L(i-1,e.getLineMaxColumn(i-1)):t;let o=e.getLineContent(i);for(let e=t.column-1;e>1;e--){let t=o.charCodeAt(e-2),r=o.charCodeAt(e-1);if(95===t&&95!==r||45===t&&45!==r||(n.mK(t)||n.T5(t))&&n.df(r))return new l.L(i,e);if(n.df(t)&&n.df(r)&&e+1=a.start+1&&(a=d._findNextWordOnLine(e,t,new l.L(s,a.end+1))),o=a?a.start+1:t.getLineMaxColumn(s);return new l.L(s,o)}static _moveWordPartRight(e,t){let i=t.lineNumber,s=e.getLineMaxColumn(i);if(t.column===s)return i1?c=1:(u--,c=n.getLineMaxColumn(u)):(g&&c<=g.end+1&&(g=d._findPreviousWordOnLine(i,n,new l.L(u,g.start+1))),g?c=g.end+1:c>1?c=1:(u--,c=n.getLineMaxColumn(u))),new a.e(u,c,h.lineNumber,h.column)}static deleteInsideWord(e,t,i){if(!i.isEmpty())return i;let n=new l.L(i.positionLineNumber,i.positionColumn),s=this._deleteInsideWordWhitespace(t,n);return s||this._deleteInsideWordDetermineDeleteRange(e,t,n)}static _charAtIsWhitespace(e,t){let i=e.charCodeAt(t);return 32===i||9===i}static _deleteInsideWordWhitespace(e,t){let i=e.getLineContent(t.lineNumber),n=i.length;if(0===n)return null;let s=Math.max(t.column-2,0);if(!this._charAtIsWhitespace(i,s))return null;let o=Math.min(t.column-1,n-1);if(!this._charAtIsWhitespace(i,o))return null;for(;s>0&&this._charAtIsWhitespace(i,s-1);)s--;for(;o+11?new a.e(i.lineNumber-1,t.getLineMaxColumn(i.lineNumber-1),i.lineNumber,1):i.lineNumber(e=Math.min(e,i.column),t=Math.max(t,i.column),new a.e(i.lineNumber,e,i.lineNumber,t)),r=e=>{let t=e.start+1,i=e.end+1,r=!1;for(;i-11&&this._charAtIsWhitespace(n,t-2);)t--;return o(t,i)},l=d._findPreviousWordOnLine(e,t,i);if(l&&l.start+1<=i.column&&i.column<=l.end+1)return r(l);let h=d._findNextWordOnLine(e,t,i);return h&&h.start+1<=i.column&&i.column<=h.end+1?r(h):l&&h?o(l.end+1,h.start+1):l?o(l.start+1,l.end+1):h?o(h.start+1,h.end+1):o(1,s+1)}static _deleteWordPartLeft(e,t){if(!t.isEmpty())return t;let i=t.getPosition(),n=d._moveWordPartLeft(e,i);return new a.e(i.lineNumber,i.column,n.lineNumber,n.column)}static _findFirstNonWhitespaceChar(e,t){let i=e.length;for(let n=t;n=p.start+1&&(p=d._findNextWordOnLine(i,n,new l.L(h,p.end+1))),p?u=p.start+1:u!!e)}},2474:function(e,t,i){"use strict";i.d(t,{LM:function(){return c},LN:function(){return v},Tp:function(){return _},Vi:function(){return g},rS:function(){return f}});var n=i(86570),s=i(70209),o=i(84781),r=i(80008),l=i(64762),a=i(50474);let d=()=>!0,h=()=>!1,u=e=>" "===e||" "===e;class c{static shouldRecreate(e){return e.hasChanged(145)||e.hasChanged(131)||e.hasChanged(37)||e.hasChanged(77)||e.hasChanged(79)||e.hasChanged(80)||e.hasChanged(6)||e.hasChanged(7)||e.hasChanged(11)||e.hasChanged(9)||e.hasChanged(10)||e.hasChanged(14)||e.hasChanged(128)||e.hasChanged(50)||e.hasChanged(91)||e.hasChanged(130)}constructor(e,t,i,n){var s;this.languageConfigurationService=n,this._cursorMoveConfigurationBrand=void 0,this._languageId=e;let o=i.options,r=o.get(145),l=o.get(50);this.readOnly=o.get(91),this.tabSize=t.tabSize,this.indentSize=t.indentSize,this.insertSpaces=t.insertSpaces,this.stickyTabStops=o.get(116),this.lineHeight=l.lineHeight,this.typicalHalfwidthCharacterWidth=l.typicalHalfwidthCharacterWidth,this.pageSize=Math.max(1,Math.floor(r.height/this.lineHeight)-2),this.useTabStops=o.get(128),this.wordSeparators=o.get(131),this.emptySelectionClipboard=o.get(37),this.copyWithSyntaxHighlighting=o.get(25),this.multiCursorMergeOverlapping=o.get(77),this.multiCursorPaste=o.get(79),this.multiCursorLimit=o.get(80),this.autoClosingBrackets=o.get(6),this.autoClosingComments=o.get(7),this.autoClosingQuotes=o.get(11),this.autoClosingDelete=o.get(9),this.autoClosingOvertype=o.get(10),this.autoSurround=o.get(14),this.autoIndent=o.get(12),this.wordSegmenterLocales=o.get(130),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:this._getShouldAutoClose(e,this.autoClosingQuotes,!0),comment:this._getShouldAutoClose(e,this.autoClosingComments,!1),bracket:this._getShouldAutoClose(e,this.autoClosingBrackets,!1)},this.autoClosingPairs=this.languageConfigurationService.getLanguageConfiguration(e).getAutoClosingPairs();let a=this.languageConfigurationService.getLanguageConfiguration(e).getSurroundingPairs();if(a)for(let e of a)this.surroundingPairs[e.open]=e.close;let d=this.languageConfigurationService.getLanguageConfiguration(e).comments;this.blockCommentStartToken=null!==(s=null==d?void 0:d.blockCommentStartToken)&&void 0!==s?s:null}get electricChars(){var e;if(!this._electricChars){this._electricChars={};let t=null===(e=this.languageConfigurationService.getLanguageConfiguration(this._languageId).electricCharacter)||void 0===e?void 0:e.getElectricCharacters();if(t)for(let e of t)this._electricChars[e]=!0}return this._electricChars}onElectricCharacter(e,t,i){let n=(0,r.wH)(t,i-1),s=this.languageConfigurationService.getLanguageConfiguration(n.languageId).electricCharacter;return s?s.onElectricCharacter(e,n,i-n.firstCharOffset):null}normalizeIndentation(e){return(0,a.x)(e,this.indentSize,this.insertSpaces)}_getShouldAutoClose(e,t,i){switch(t){case"beforeWhitespace":return u;case"languageDefined":return this._getLanguageDefinedShouldAutoClose(e,i);case"always":return d;case"never":return h}}_getLanguageDefinedShouldAutoClose(e,t){let i=this.languageConfigurationService.getLanguageConfiguration(e).getAutoCloseBeforeSet(t);return e=>-1!==i.indexOf(e)}visibleColumnFromColumn(e,t){return l.i.visibleColumnFromColumn(e.getLineContent(t.lineNumber),t.column,this.tabSize)}columnFromVisibleColumn(e,t,i){let n=l.i.columnFromVisibleColumn(e.getLineContent(t),i,this.tabSize),s=e.getLineMinColumn(t);if(no?o:n}}class g{static fromModelState(e){return new p(e)}static fromViewState(e){return new m(e)}static fromModelSelection(e){let t=o.Y.liftSelection(e),i=new f(s.e.fromPositions(t.getSelectionStart()),0,0,t.getPosition(),0);return g.fromModelState(i)}static fromModelSelections(e){let t=[];for(let i=0,n=e.length;i{i.push(l.fromOffsetPairs(e?e.getEndExclusives():a.zero,n?n.getStarts():new a(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))}),i}static fromOffsetPairs(e,t){return new l(new o.q(e.offset1,t.offset1),new o.q(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new l(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new l(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new l(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new l(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new l(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){let t=this.seq1Range.intersect(e.seq1Range),i=this.seq2Range.intersect(e.seq2Range);if(t&&i)return new l(t,i)}getStarts(){return new a(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new a(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class a{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(e){return 0===e?this:new a(this.offset1+e,this.offset2+e)}equals(e){return this.offset1===e.offset1&&this.offset2===e.offset2}}a.zero=new a(0,0),a.max=new a(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class d{isValid(){return!0}}d.instance=new d;class h{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new s.he("timeout must be positive")}isValid(){let e=Date.now()-this.startTime0&&d>0&&3===o.get(r-1,d-1)&&(h+=l.get(r-1,d-1)),h+=n?n(r,d):1):h=-1;let g=Math.max(u,c,h);if(g===h){let e=r>0&&d>0?l.get(r-1,d-1):0;l.set(r,d,e+1),o.set(r,d,3)}else g===u?(l.set(r,d,0),o.set(r,d,1)):g===c&&(l.set(r,d,0),o.set(r,d,2));s.set(r,d,g)}let h=[],u=e.length,c=t.length;function g(e,t){(e+1!==u||t+1!==c)&&h.push(new a.i8(new r.q(e+1,u),new r.q(t+1,c))),u=e,c=t}let p=e.length-1,m=t.length-1;for(;p>=0&&m>=0;)3===o.get(p,m)?(g(p,m),p--,m--):1===o.get(p,m)?p--:m--;return g(-1,-1),h.reverse(),new a.KU(h,!1)}}class g{compute(e,t,i=a.n0.instance){if(0===e.length||0===t.length)return a.KU.trivial(e,t);function n(i,n){for(;ie.length||c>t.length)continue;let g=n(u,c);o.set(d,g);let m=u===s?l.get(d+1):l.get(d-1);if(l.set(d,g!==u?new p(m,u,c,g-u):m),o.get(d)===e.length&&o.get(d)-d===t.length)break t}}let h=l.get(d),u=[],c=e.length,g=t.length;for(;;){let e=h?h.x+h.length:0,t=h?h.y+h.length:0;if((e!==c||t!==g)&&u.push(new a.i8(new r.q(e,c),new r.q(t,g))),!h)break;c=h.x,g=h.y,h=h.prev}return u.reverse(),new a.KU(u,!1)}}class p{constructor(e,t,i,n){this.prev=e,this.x=t,this.y=i,this.length=n}}class m{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class f{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}var _=i(61234),v=i(70365),b=i(10289),C=i(86570);class w{constructor(e,t,i){this.lines=e,this.considerWhitespaceChanges=i,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let n=!1;t.start>0&&t.endExclusive>=e.length&&(t=new r.q(t.start-1,t.endExclusive),n=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=L(e>0?this.elements[e-1]:-1),i=L(et<=e);return new C.L(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return l.e.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!y(this.elements[e]))return;let t=e;for(;t>0&&y(this.elements[t-1]);)t--;let i=e;for(;it<=e.start))&&void 0!==t?t:0,s=null!==(i=(0,v.cn)(this.firstCharOffsetByLine,t=>e.endExclusive<=t))&&void 0!==i?i:this.elements.length;return new r.q(n,s)}}function y(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let S={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function L(e){if(10===e)return 8;if(13===e)return 7;if(h(e))return 6;if(e>=97&&e<=122)return 0;if(e>=65&&e<=90)return 1;if(e>=48&&e<=57)return 2;if(-1===e)return 3;else if(44===e||59===e)return 5;else return 4}function k(e,t,i){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;let n=new g,s=n.compute(new w([e],new r.q(0,1),!1),new w([t],new r.q(0,1),!1),i),o=0,l=a.i8.invert(s.diffs,e.length);for(let t of l)t.seq1Range.forEach(t=>{!h(e.charCodeAt(t))&&o++});let d=function(t){let i=0;for(let n=0;nt.length?e:t),u=o/d>.6&&d>10;return u}var D=i(18084);class x{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let t=0===e?0:N(this.lines[e-1]),i=e===this.lines.length?0:N(this.lines[e]);return 1e3-(t+i)}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function N(e){let t=0;for(;te===t))return new E.h([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new E.h([new _.gB(new o.z(1,e.length+1),new o.z(1,t.length+1),[new _.iy(new l.e(1,1,e.length,e[e.length-1].length+1),new l.e(1,1,t.length,t[t.length-1].length+1))])],[],!1);let d=0===i.maxComputationTimeMs?a.n0.instance:new a.NT(i.maxComputationTimeMs),h=!i.ignoreTrimWhitespace,u=new Map;function c(e){let t=u.get(e);return void 0===t&&(t=u.size,u.set(e,t)),t}let g=e.map(e=>c(e.trim())),p=t.map(e=>c(e.trim())),m=new x(g,e),f=new x(p,t),v=m.length+f.length<1700?this.dynamicProgrammingDiffing.compute(m,f,d,(i,n)=>e[i]===t[n]?0===t[n].length?.1:1+Math.log(1+t[n].length):.99):this.myersDiffingAlgorithm.compute(m,f,d),b=v.diffs,C=v.hitTimeout;b=(0,D.xG)(m,f,b),b=(0,D.rh)(m,f,b);let w=[],y=i=>{if(h)for(let n=0;ni.seq1Range.start-S==i.seq2Range.start-L);let n=i.seq1Range.start-S;y(n),S=i.seq1Range.endExclusive,L=i.seq2Range.endExclusive;let o=this.refineDiff(e,t,i,d,h);for(let e of(o.hitTimeout&&(C=!0),o.mappings))w.push(e)}y(e.length-S);let k=T(w,e,t),N=[];return i.computeMoves&&(N=this.computeMoves(k,e,t,g,p,d,h)),(0,s.eZ)(()=>{function i(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;let i=t[e.lineNumber-1];return!(e.column<1)&&!(e.column>i.length+1)}function n(e,t){return!(e.startLineNumber<1)&&!(e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1)&&!(e.endLineNumberExclusive>t.length+1)}for(let s of k){if(!s.innerChanges)return!1;for(let n of s.innerChanges){let s=i(n.modifiedRange.getStartPosition(),t)&&i(n.modifiedRange.getEndPosition(),t)&&i(n.originalRange.getStartPosition(),e)&&i(n.originalRange.getEndPosition(),e);if(!s)return!1}if(!n(s.modified,t)||!n(s.original,e))return!1}return!0}),new E.h(k,N,C)}computeMoves(e,t,i,s,r,l,d){let h=function(e,t,i,s,r,l){let{moves:a,excludedChanges:d}=function(e,t,i,n){let s=[],o=e.filter(e=>e.modified.isEmpty&&e.original.length>=3).map(e=>new u(e.original,t,e)),r=new Set(e.filter(e=>e.original.isEmpty&&e.modified.length>=3).map(e=>new u(e.modified,i,e))),l=new Set;for(let e of o){let t,i=-1;for(let n of r){let s=e.computeSimilarity(n);s>i&&(i=s,t=n)}if(i>.9&&t&&(r.delete(t),s.push(new _.f0(e.range,t.range)),l.add(e.source),l.add(t.source)),!n.isValid())break}return{moves:s,excludedChanges:l}}(e,t,i,l);if(!l.isValid())return[];let h=e.filter(e=>!d.has(e)),c=function(e,t,i,s,r,l){let a=[],d=new b.ri;for(let i of e)for(let e=i.original.startLineNumber;ee.modified.startLineNumber,n.fv)),e)){let e=[];for(let n=t.modified.startLineNumber;n{for(let i of e)if(i.originalLineRange.endLineNumberExclusive+1===t.endLineNumberExclusive&&i.modifiedLineRange.endLineNumberExclusive+1===s.endLineNumberExclusive){i.originalLineRange=new o.z(i.originalLineRange.startLineNumber,t.endLineNumberExclusive),i.modifiedLineRange=new o.z(i.modifiedLineRange.startLineNumber,s.endLineNumberExclusive),r.push(i);return}let i={modifiedLineRange:s,originalLineRange:t};h.push(i),r.push(i)}),e=r}if(!l.isValid())return[]}h.sort((0,n.BV)((0,n.tT)(e=>e.modifiedLineRange.length,n.fv)));let u=new o.i,c=new o.i;for(let e of h){let t=e.modifiedLineRange.startLineNumber-e.originalLineRange.startLineNumber,i=u.subtractFrom(e.modifiedLineRange),n=c.subtractFrom(e.originalLineRange).getWithDelta(t),s=i.getIntersection(n);for(let e of s.ranges){if(e.length<3)continue;let i=e.delta(-t);a.push(new _.f0(i,e)),u.addRange(e),c.addRange(i)}}a.sort((0,n.tT)(e=>e.original.startLineNumber,n.fv));let g=new v.b1(e);for(let t=0;te.original.startLineNumber<=d.original.startLineNumber),p=(0,v.ti)(e,e=>e.modified.startLineNumber<=d.modified.startLineNumber),m=Math.max(d.original.startLineNumber-h.original.startLineNumber,d.modified.startLineNumber-p.modified.startLineNumber),f=g.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumbers.length||t>r.length||u.contains(t)||c.contains(e)||!k(s[e-1],r[t-1],l))break}for(i>0&&(c.addRange(new o.z(d.original.startLineNumber-i,d.original.startLineNumber)),u.addRange(new o.z(d.modified.startLineNumber-i,d.modified.startLineNumber))),n=0;ns.length||t>r.length||u.contains(t)||c.contains(e)||!k(s[e-1],r[t-1],l))break}n>0&&(c.addRange(new o.z(d.original.endLineNumberExclusive,d.original.endLineNumberExclusive+n)),u.addRange(new o.z(d.modified.endLineNumberExclusive,d.modified.endLineNumberExclusive+n))),(i>0||n>0)&&(a[t]=new _.f0(new o.z(d.original.startLineNumber-i,d.original.endLineNumberExclusive+n),new o.z(d.modified.startLineNumber-i,d.modified.endLineNumberExclusive+n)))}return a}(h,s,r,t,i,l);return(0,n.vA)(a,c),a=(a=function(e){if(0===e.length)return e;e.sort((0,n.tT)(e=>e.original.startLineNumber,n.fv));let t=[e[0]];for(let i=1;i=0&&r>=0;if(l&&o+r<=2){t[t.length-1]=n.join(s);continue}t.push(s)}return t}(a)).filter(e=>{let i=e.original.toOffsetRange().slice(t).map(e=>e.trim()),n=i.join("\n");return n.length>=15&&function(e,t){let i=0;for(let n of e)t(n)&&i++;return i}(i,e=>e.length>=2)>=2}),a=function(e,t){let i=new v.b1(e);return t=t.filter(t=>{let n=i.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumber{let n=this.refineDiff(t,i,new a.i8(e.original.toOffsetRange(),e.modified.toOffsetRange()),l,d),s=T(n.mappings,t,i,!0);return new E.y(e,s)});return c}refineDiff(e,t,i,n,s){let o=new w(e,i.seq1Range,s),r=new w(t,i.seq2Range,s),l=o.length+r.length<500?this.dynamicProgrammingDiffing.compute(o,r,n):this.myersDiffingAlgorithm.compute(o,r,n),a=l.diffs;a=(0,D.xG)(o,r,a),a=(0,D.g0)(o,r,a),a=(0,D.oK)(o,r,a),a=(0,D.DI)(o,r,a);let d=a.map(e=>new _.iy(o.translateRange(e.seq1Range),r.translateRange(e.seq2Range)));return{mappings:d,hitTimeout:l.hitTimeout}}}function T(e,t,i,r=!1){let l=[];for(let s of(0,n.mw)(e.map(e=>(function(e,t,i){let n=0,s=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+n<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+n<=e.modifiedRange.endLineNumber&&(s=-1),e.modifiedRange.startColumn-1>=i[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+s&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+s&&(n=1);let r=new o.z(e.originalRange.startLineNumber+n,e.originalRange.endLineNumber+1+s),l=new o.z(e.modifiedRange.startLineNumber+n,e.modifiedRange.endLineNumber+1+s);return new _.gB(r,l,[e])})(e,t,i)),(e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified))){let e=s[0],t=s[s.length-1];l.push(new _.gB(e.original.join(t.original),e.modified.join(t.modified),s.map(e=>e.innerChanges[0])))}return(0,s.eZ)(()=>(!!r||!(l.length>0)||l[0].modified.startLineNumber===l[0].original.startLineNumber&&i.length-l[l.length-1].modified.endLineNumberExclusive==t.length-l[l.length-1].original.endLineNumberExclusive)&&(0,s.DM)(l,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive0?i[n-1]:void 0,r=i[n],l=n+10&&(a=a.delta(r))}r.push(a)}return n.length>0&&r.push(n[n.length-1]),r}function a(e,t,i,n,s){let o=1;for(;e.seq1Range.start-o>=n.start&&e.seq2Range.start-o>=s.start&&i.isStronglyEqual(e.seq2Range.start-o,e.seq2Range.endExclusive-o)&&o<100;)o++;o--;let r=0;for(;e.seq1Range.start+ra&&(a=d,l=n)}return e.delta(l)}function d(e,t,i){let n=[];for(let e of i){let t=n[n.length-1];if(!t){n.push(e);continue}e.seq1Range.start-t.seq1Range.endExclusive<=2||e.seq2Range.start-t.seq2Range.endExclusive<=2?n[n.length-1]=new o.i8(t.seq1Range.join(e.seq1Range),t.seq2Range.join(e.seq2Range)):n.push(e)}return n}function h(e,t,i){let n=o.i8.invert(i,e.length),s=[],r=new o.zl(0,0);function l(i,l){if(i.offset10;){let i=n[0],s=i.seq1Range.intersects(h.seq1Range)||i.seq2Range.intersects(h.seq2Range);if(!s)break;let r=e.findWordContaining(i.seq1Range.start),l=t.findWordContaining(i.seq2Range.start),a=new o.i8(r,l),d=a.intersect(i);if(c+=d.seq1Range.length,g+=d.seq2Range.length,(h=h.join(a)).seq1Range.endExclusive>=i.seq1Range.endExclusive)n.shift();else break}c+g<(h.seq1Range.length+h.seq2Range.length)*2/3&&s.push(h),r=h.getEndExclusives()}for(;n.length>0;){let e=n.shift();e.seq1Range.isEmpty||(l(e.getStarts(),e),l(e.getEndExclusives().delta(-1),e))}let a=function(e,t){let i=[];for(;e.length>0||t.length>0;){let n;let s=e[0],o=t[0];n=s&&(!o||s.seq1Range.start0&&i[i.length-1].seq1Range.endExclusive>=n.seq1Range.start?i[i.length-1]=i[i.length-1].join(n):i.push(n)}return i}(i,s);return a}function u(e,t,i){let n,o=i;if(0===o.length)return o;let r=0;do{n=!1;let t=[o[0]];for(let i=1;i5||i.seq1Range.length+i.seq2Range.length>5)}(l,r);a?(n=!0,t[t.length-1]=t[t.length-1].join(r)):t.push(r)}o=t}while(r++<10&&n);return o}function c(e,t,i){let r,l=i;if(0===l.length)return l;let a=0;do{r=!1;let i=[l[0]];for(let n=1;n5||r.length>500)return!1;let d=e.getText(r).trim();if(d.length>20||d.split(/\r\n|\r|\n/).length>1)return!1;let h=e.countLinesIn(i.seq1Range),u=i.seq1Range.length,c=t.countLinesIn(i.seq2Range),g=i.seq2Range.length,p=e.countLinesIn(n.seq1Range),m=n.seq1Range.length,f=t.countLinesIn(n.seq2Range),_=n.seq2Range.length;function v(e){return Math.min(e,130)}return Math.pow(Math.pow(v(40*h+u),1.5)+Math.pow(v(40*c+g),1.5),1.5)+Math.pow(Math.pow(v(40*p+m),1.5)+Math.pow(v(40*f+_),1.5),1.5)>74184.96480721243}(a,o);d?(r=!0,i[i.length-1]=i[i.length-1].join(o)):i.push(o)}l=i}while(a++<10&&r);let d=[];return(0,n.KO)(l,(t,i,n)=>{let r=i;function l(e){return e.length>0&&e.trim().length<=3&&i.seq1Range.length+i.seq2Range.length>100}let a=e.extendToFullLines(i.seq1Range),h=e.getText(new s.q(a.start,i.seq1Range.start));l(h)&&(r=r.deltaStart(-h.length));let u=e.getText(new s.q(i.seq1Range.endExclusive,a.endExclusive));l(u)&&(r=r.deltaEnd(u.length));let c=o.i8.fromOffsetPairs(t?t.getEndExclusives():o.zl.zero,n?n.getStarts():o.zl.max),g=r.intersect(c);d.length>0&&g.getStarts().equals(d[d.length-1].getEndExclusives())?d[d.length-1]=d[d.length-1].join(g):d.push(g)}),d}},10775:function(e,t,i){"use strict";i.d(t,{h:function(){return n},y:function(){return s}});class n{constructor(e,t,i){this.changes=e,this.moves=t,this.hitTimeout=i}}class s{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}},61234:function(e,t,i){"use strict";i.d(t,{f0:function(){return l},gB:function(){return a},iy:function(){return d}});var n=i(32378),s=i(63144),o=i(70209),r=i(28977);class l{static inverse(e,t,i){let n=[],o=1,r=1;for(let t of e){let e=new l(new s.z(o,t.original.startLineNumber),new s.z(r,t.modified.startLineNumber));e.modified.isEmpty||n.push(e),o=t.original.endLineNumberExclusive,r=t.modified.endLineNumberExclusive}let a=new l(new s.z(o,t+1),new s.z(r,i+1));return a.modified.isEmpty||n.push(a),n}static clip(e,t,i){let n=[];for(let s of e){let e=s.original.intersect(t),o=s.modified.intersect(i);e&&!e.isEmpty&&o&&!o.isEmpty&&n.push(new l(e,o))}return n}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new l(this.modified,this.original)}join(e){return new l(this.original.join(e.original),this.modified.join(e.modified))}toRangeMapping(){let e=this.original.toInclusiveRange(),t=this.modified.toInclusiveRange();if(e&&t)return new d(e,t);if(1!==this.original.startLineNumber&&1!==this.modified.startLineNumber)return new d(new o.e(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new o.e(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER));if(!(1===this.modified.startLineNumber&&1===this.original.startLineNumber))throw new n.he("not a valid diff");return new d(new o.e(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new o.e(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}}class a extends l{static fromRangeMappings(e){let t=s.z.join(e.map(e=>s.z.fromRangeInclusive(e.originalRange))),i=s.z.join(e.map(e=>s.z.fromRangeInclusive(e.modifiedRange)));return new a(t,i,e)}constructor(e,t,i){super(e,t),this.innerChanges=i}flip(){var e;return new a(this.modified,this.original,null===(e=this.innerChanges)||void 0===e?void 0:e.map(e=>e.flip()))}withInnerChangesFromLineRanges(){return new a(this.original,this.modified,[this.toRangeMapping()])}}class d{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new d(this.modifiedRange,this.originalRange)}toTextEdit(e){let t=e.getValueOfRange(this.modifiedRange);return new r.At(this.originalRange,t)}}},20897:function(e,t,i){"use strict";i.d(t,{p:function(){return n}});class n{constructor(e,t,i,n,s,o,r){this.id=e,this.label=t,this.alias=i,this.metadata=n,this._precondition=s,this._run=o,this._contextKeyService=r}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(e){return this.isSupported()?this._run(e):Promise.resolve(void 0)}}},25777:function(e,t,i){"use strict";i.d(t,{g:function(){return n}});let n={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}},73440:function(e,t,i){"use strict";i.d(t,{u:function(){return s}});var n,s,o=i(82801),r=i(33336);(n=s||(s={})).editorSimpleInput=new r.uy("editorSimpleInput",!1,!0),n.editorTextFocus=new r.uy("editorTextFocus",!1,o.NC("editorTextFocus","Whether the editor text has focus (cursor is blinking)")),n.focus=new r.uy("editorFocus",!1,o.NC("editorFocus","Whether the editor or an editor widget has focus (e.g. focus is in the find widget)")),n.textInputFocus=new r.uy("textInputFocus",!1,o.NC("textInputFocus","Whether an editor or a rich text input has focus (cursor is blinking)")),n.readOnly=new r.uy("editorReadonly",!1,o.NC("editorReadonly","Whether the editor is read-only")),n.inDiffEditor=new r.uy("inDiffEditor",!1,o.NC("inDiffEditor","Whether the context is a diff editor")),n.isEmbeddedDiffEditor=new r.uy("isEmbeddedDiffEditor",!1,o.NC("isEmbeddedDiffEditor","Whether the context is an embedded diff editor")),n.inMultiDiffEditor=new r.uy("inMultiDiffEditor",!1,o.NC("inMultiDiffEditor","Whether the context is a multi diff editor")),n.multiDiffEditorAllCollapsed=new r.uy("multiDiffEditorAllCollapsed",void 0,o.NC("multiDiffEditorAllCollapsed","Whether all files in multi diff editor are collapsed")),n.hasChanges=new r.uy("diffEditorHasChanges",!1,o.NC("diffEditorHasChanges","Whether the diff editor has changes")),n.comparingMovedCode=new r.uy("comparingMovedCode",!1,o.NC("comparingMovedCode","Whether a moved code block is selected for comparison")),n.accessibleDiffViewerVisible=new r.uy("accessibleDiffViewerVisible",!1,o.NC("accessibleDiffViewerVisible","Whether the accessible diff viewer is visible")),n.diffEditorRenderSideBySideInlineBreakpointReached=new r.uy("diffEditorRenderSideBySideInlineBreakpointReached",!1,o.NC("diffEditorRenderSideBySideInlineBreakpointReached","Whether the diff editor render side by side inline breakpoint is reached")),n.diffEditorInlineMode=new r.uy("diffEditorInlineMode",!1,o.NC("diffEditorInlineMode","Whether inline mode is active")),n.diffEditorOriginalWritable=new r.uy("diffEditorOriginalWritable",!1,o.NC("diffEditorOriginalWritable","Whether modified is writable in the diff editor")),n.diffEditorModifiedWritable=new r.uy("diffEditorModifiedWritable",!1,o.NC("diffEditorModifiedWritable","Whether modified is writable in the diff editor")),n.diffEditorOriginalUri=new r.uy("diffEditorOriginalUri","",o.NC("diffEditorOriginalUri","The uri of the original document")),n.diffEditorModifiedUri=new r.uy("diffEditorModifiedUri","",o.NC("diffEditorModifiedUri","The uri of the modified document")),n.columnSelection=new r.uy("editorColumnSelection",!1,o.NC("editorColumnSelection","Whether `editor.columnSelection` is enabled")),n.writable=n.readOnly.toNegated(),n.hasNonEmptySelection=new r.uy("editorHasSelection",!1,o.NC("editorHasSelection","Whether the editor has text selected")),n.hasOnlyEmptySelection=n.hasNonEmptySelection.toNegated(),n.hasMultipleSelections=new r.uy("editorHasMultipleSelections",!1,o.NC("editorHasMultipleSelections","Whether the editor has multiple selections")),n.hasSingleSelection=n.hasMultipleSelections.toNegated(),n.tabMovesFocus=new r.uy("editorTabMovesFocus",!1,o.NC("editorTabMovesFocus","Whether `Tab` will move focus out of the editor")),n.tabDoesNotMoveFocus=n.tabMovesFocus.toNegated(),n.isInEmbeddedEditor=new r.uy("isInEmbeddedEditor",!1,!0),n.canUndo=new r.uy("canUndo",!1,!0),n.canRedo=new r.uy("canRedo",!1,!0),n.hoverVisible=new r.uy("editorHoverVisible",!1,o.NC("editorHoverVisible","Whether the editor hover is visible")),n.hoverFocused=new r.uy("editorHoverFocused",!1,o.NC("editorHoverFocused","Whether the editor hover is focused")),n.stickyScrollFocused=new r.uy("stickyScrollFocused",!1,o.NC("stickyScrollFocused","Whether the sticky scroll is focused")),n.stickyScrollVisible=new r.uy("stickyScrollVisible",!1,o.NC("stickyScrollVisible","Whether the sticky scroll is visible")),n.standaloneColorPickerVisible=new r.uy("standaloneColorPickerVisible",!1,o.NC("standaloneColorPickerVisible","Whether the standalone color picker is visible")),n.standaloneColorPickerFocused=new r.uy("standaloneColorPickerFocused",!1,o.NC("standaloneColorPickerFocused","Whether the standalone color picker is focused")),n.inCompositeEditor=new r.uy("inCompositeEditor",void 0,o.NC("inCompositeEditor","Whether the editor is part of a larger editor (e.g. notebooks)")),n.notInCompositeEditor=n.inCompositeEditor.toNegated(),n.languageId=new r.uy("editorLangId","",o.NC("editorLangId","The language identifier of the editor")),n.hasCompletionItemProvider=new r.uy("editorHasCompletionItemProvider",!1,o.NC("editorHasCompletionItemProvider","Whether the editor has a completion item provider")),n.hasCodeActionsProvider=new r.uy("editorHasCodeActionsProvider",!1,o.NC("editorHasCodeActionsProvider","Whether the editor has a code actions provider")),n.hasCodeLensProvider=new r.uy("editorHasCodeLensProvider",!1,o.NC("editorHasCodeLensProvider","Whether the editor has a code lens provider")),n.hasDefinitionProvider=new r.uy("editorHasDefinitionProvider",!1,o.NC("editorHasDefinitionProvider","Whether the editor has a definition provider")),n.hasDeclarationProvider=new r.uy("editorHasDeclarationProvider",!1,o.NC("editorHasDeclarationProvider","Whether the editor has a declaration provider")),n.hasImplementationProvider=new r.uy("editorHasImplementationProvider",!1,o.NC("editorHasImplementationProvider","Whether the editor has an implementation provider")),n.hasTypeDefinitionProvider=new r.uy("editorHasTypeDefinitionProvider",!1,o.NC("editorHasTypeDefinitionProvider","Whether the editor has a type definition provider")),n.hasHoverProvider=new r.uy("editorHasHoverProvider",!1,o.NC("editorHasHoverProvider","Whether the editor has a hover provider")),n.hasDocumentHighlightProvider=new r.uy("editorHasDocumentHighlightProvider",!1,o.NC("editorHasDocumentHighlightProvider","Whether the editor has a document highlight provider")),n.hasDocumentSymbolProvider=new r.uy("editorHasDocumentSymbolProvider",!1,o.NC("editorHasDocumentSymbolProvider","Whether the editor has a document symbol provider")),n.hasReferenceProvider=new r.uy("editorHasReferenceProvider",!1,o.NC("editorHasReferenceProvider","Whether the editor has a reference provider")),n.hasRenameProvider=new r.uy("editorHasRenameProvider",!1,o.NC("editorHasRenameProvider","Whether the editor has a rename provider")),n.hasSignatureHelpProvider=new r.uy("editorHasSignatureHelpProvider",!1,o.NC("editorHasSignatureHelpProvider","Whether the editor has a signature help provider")),n.hasInlayHintsProvider=new r.uy("editorHasInlayHintsProvider",!1,o.NC("editorHasInlayHintsProvider","Whether the editor has an inline hints provider")),n.hasDocumentFormattingProvider=new r.uy("editorHasDocumentFormattingProvider",!1,o.NC("editorHasDocumentFormattingProvider","Whether the editor has a document formatting provider")),n.hasDocumentSelectionFormattingProvider=new r.uy("editorHasDocumentSelectionFormattingProvider",!1,o.NC("editorHasDocumentSelectionFormattingProvider","Whether the editor has a document selection formatting provider")),n.hasMultipleDocumentFormattingProvider=new r.uy("editorHasMultipleDocumentFormattingProvider",!1,o.NC("editorHasMultipleDocumentFormattingProvider","Whether the editor has multiple document formatting providers")),n.hasMultipleDocumentSelectionFormattingProvider=new r.uy("editorHasMultipleDocumentSelectionFormattingProvider",!1,o.NC("editorHasMultipleDocumentSelectionFormattingProvider","Whether the editor has multiple document selection formatting providers"))},88964:function(e,t,i){"use strict";i.d(t,{n:function(){return o},y:function(){return s}});let n=[];function s(e){n.push(e)}function o(){return n.slice(0)}},30664:function(e,t,i){"use strict";i.d(t,{N:function(){return n}});class n{static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(768&e)>>>8}static containsBalancedBrackets(e){return(1024&e)!=0}static getFontStyle(e){return(30720&e)>>>11}static getForeground(e){return(16744448&e)>>>15}static getBackground(e){return(4278190080&e)>>>24}static getClassNameFromMetadata(e){let t=this.getForeground(e),i="mtk"+t,n=this.getFontStyle(e);return 1&n&&(i+=" mtki"),2&n&&(i+=" mtkb"),4&n&&(i+=" mtku"),8&n&&(i+=" mtks"),i}static getInlineStyleFromMetadata(e,t){let i=this.getForeground(e),n=this.getFontStyle(e),s=`color: ${t[i]};`;1&n&&(s+="font-style: italic;"),2&n&&(s+="font-weight: bold;");let o="";return 4&n&&(o+=" underline"),8&n&&(o+=" line-through"),o&&(s+=`text-decoration:${o};`),s}static getPresentationFromMetadata(e){let t=this.getForeground(e),i=this.getFontStyle(e);return{foreground:t,italic:!!(1&i),bold:!!(2&i),underline:!!(4&i),strikethrough:!!(8&i)}}}},97987:function(e,t,i){"use strict";i.d(t,{G:function(){return function e(t,i,o,r,l,a){if(Array.isArray(t)){let n=0;for(let s of t){let t=e(s,i,o,r,l,a);if(10===t)return t;t>n&&(n=t)}return n}if("string"==typeof t)return r?"*"===t?5:t===o?10:0:0;if(!t)return 0;{let{language:e,pattern:d,scheme:h,hasAccessToAllModels:u,notebookType:c}=t;if(!r&&!u)return 0;c&&l&&(i=l);let g=0;if(h){if(h===i.scheme)g=10;else{if("*"!==h)return 0;g=5}}if(e){if(e===o)g=10;else{if("*"!==e)return 0;g=Math.max(g,5)}}if(c){if(c===a)g=10;else{if("*"!==c||void 0===a)return 0;g=Math.max(g,5)}}if(d){let e;if(!((e="string"==typeof d?d:{...d,base:(0,s.Fv)(d.base)})===i.fsPath||(0,n.EQ)(e,i.fsPath)))return 0;g=10}return g}}}});var n=i(76088),s=i(75380)},1863:function(e,t,i){"use strict";i.d(t,{mY:function(){return w},gX:function(){return g},MY:function(){return _},Nq:function(){return m},DI:function(){return R},AD:function(){return B},bq:function(){return c},gl:function(){return y},bw:function(){return p},rn:function(){return S},MO:function(){return W},w:function(){return b},Ll:function(){return C},ln:function(){return A},WW:function(){return f},uZ:function(){return v},WU:function(){return T},RW:function(){return H},hG:function(){return M},R4:function(){return F},vx:function(){return P}});var n,s,o,r,l,a,d,h,u,c,g,p,m,f,_,v,b,C,w,y,S,L=i(47039),k=i(5482),D=i(70209),x=i(79915),N=i(70784);class E extends N.JT{get isResolved(){return this._isResolved}constructor(e,t,i){super(),this._registry=e,this._languageId=t,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){let e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}}var I=i(82801);class T{constructor(e,t,i){this.offset=e,this.type=t,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}class M{constructor(e,t){this.tokens=e,this.endState=t,this._tokenizationResultBrand=void 0}}class R{constructor(e,t){this.tokens=e,this.endState=t,this._encodedTokenizationResultBrand=void 0}}(n=c||(c={}))[n.Increase=0]="Increase",n[n.Decrease=1]="Decrease",function(e){let t=new Map;t.set(0,L.l.symbolMethod),t.set(1,L.l.symbolFunction),t.set(2,L.l.symbolConstructor),t.set(3,L.l.symbolField),t.set(4,L.l.symbolVariable),t.set(5,L.l.symbolClass),t.set(6,L.l.symbolStruct),t.set(7,L.l.symbolInterface),t.set(8,L.l.symbolModule),t.set(9,L.l.symbolProperty),t.set(10,L.l.symbolEvent),t.set(11,L.l.symbolOperator),t.set(12,L.l.symbolUnit),t.set(13,L.l.symbolValue),t.set(15,L.l.symbolEnum),t.set(14,L.l.symbolConstant),t.set(15,L.l.symbolEnum),t.set(16,L.l.symbolEnumMember),t.set(17,L.l.symbolKeyword),t.set(27,L.l.symbolSnippet),t.set(18,L.l.symbolText),t.set(19,L.l.symbolColor),t.set(20,L.l.symbolFile),t.set(21,L.l.symbolReference),t.set(22,L.l.symbolCustomColor),t.set(23,L.l.symbolFolder),t.set(24,L.l.symbolTypeParameter),t.set(25,L.l.account),t.set(26,L.l.issues),e.toIcon=function(e){let i=t.get(e);return i||(console.info("No codicon found for CompletionItemKind "+e),i=L.l.symbolProperty),i};let i=new Map;i.set("method",0),i.set("function",1),i.set("constructor",2),i.set("field",3),i.set("variable",4),i.set("class",5),i.set("struct",6),i.set("interface",7),i.set("module",8),i.set("property",9),i.set("event",10),i.set("operator",11),i.set("unit",12),i.set("value",13),i.set("constant",14),i.set("enum",15),i.set("enum-member",16),i.set("enumMember",16),i.set("keyword",17),i.set("snippet",27),i.set("text",18),i.set("color",19),i.set("file",20),i.set("reference",21),i.set("customcolor",22),i.set("folder",23),i.set("type-parameter",24),i.set("typeParameter",24),i.set("account",25),i.set("issue",26),e.fromString=function(e,t){let n=i.get(e);return void 0!==n||t||(n=9),n}}(g||(g={})),(s=p||(p={}))[s.Automatic=0]="Automatic",s[s.Explicit=1]="Explicit";class A{constructor(e,t,i,n){this.range=e,this.text=t,this.completionKind=i,this.isSnippetText=n}equals(e){return D.e.lift(this.range).equalsRange(e.range)&&this.text===e.text&&this.completionKind===e.completionKind&&this.isSnippetText===e.isSnippetText}}function P(e){return e&&k.o.isUri(e.uri)&&D.e.isIRange(e.range)&&(D.e.isIRange(e.originSelectionRange)||D.e.isIRange(e.targetSelectionRange))}(o=m||(m={}))[o.Automatic=0]="Automatic",o[o.PasteAs=1]="PasteAs",(r=f||(f={}))[r.Invoke=1]="Invoke",r[r.TriggerCharacter=2]="TriggerCharacter",r[r.ContentChange=3]="ContentChange",(l=_||(_={}))[l.Text=0]="Text",l[l.Read=1]="Read",l[l.Write=2]="Write";let O={17:(0,I.NC)("Array","array"),16:(0,I.NC)("Boolean","boolean"),4:(0,I.NC)("Class","class"),13:(0,I.NC)("Constant","constant"),8:(0,I.NC)("Constructor","constructor"),9:(0,I.NC)("Enum","enumeration"),21:(0,I.NC)("EnumMember","enumeration member"),23:(0,I.NC)("Event","event"),7:(0,I.NC)("Field","field"),0:(0,I.NC)("File","file"),11:(0,I.NC)("Function","function"),10:(0,I.NC)("Interface","interface"),19:(0,I.NC)("Key","key"),5:(0,I.NC)("Method","method"),1:(0,I.NC)("Module","module"),2:(0,I.NC)("Namespace","namespace"),20:(0,I.NC)("Null","null"),15:(0,I.NC)("Number","number"),18:(0,I.NC)("Object","object"),24:(0,I.NC)("Operator","operator"),3:(0,I.NC)("Package","package"),6:(0,I.NC)("Property","property"),14:(0,I.NC)("String","string"),22:(0,I.NC)("Struct","struct"),25:(0,I.NC)("TypeParameter","type parameter"),12:(0,I.NC)("Variable","variable")};function F(e,t){return(0,I.NC)("symbolAriaLabel","{0} ({1})",e,O[t])}!function(e){let t=new Map;t.set(0,L.l.symbolFile),t.set(1,L.l.symbolModule),t.set(2,L.l.symbolNamespace),t.set(3,L.l.symbolPackage),t.set(4,L.l.symbolClass),t.set(5,L.l.symbolMethod),t.set(6,L.l.symbolProperty),t.set(7,L.l.symbolField),t.set(8,L.l.symbolConstructor),t.set(9,L.l.symbolEnum),t.set(10,L.l.symbolInterface),t.set(11,L.l.symbolFunction),t.set(12,L.l.symbolVariable),t.set(13,L.l.symbolConstant),t.set(14,L.l.symbolString),t.set(15,L.l.symbolNumber),t.set(16,L.l.symbolBoolean),t.set(17,L.l.symbolArray),t.set(18,L.l.symbolObject),t.set(19,L.l.symbolKey),t.set(20,L.l.symbolNull),t.set(21,L.l.symbolEnumMember),t.set(22,L.l.symbolStruct),t.set(23,L.l.symbolEvent),t.set(24,L.l.symbolOperator),t.set(25,L.l.symbolTypeParameter),e.toIcon=function(e){let i=t.get(e);return i||(console.info("No codicon found for SymbolKind "+e),i=L.l.symbolProperty),i}}(v||(v={}));class B{static fromValue(e){switch(e){case"comment":return B.Comment;case"imports":return B.Imports;case"region":return B.Region}return new B(e)}constructor(e){this.value=e}}B.Comment=new B("comment"),B.Imports=new B("imports"),B.Region=new B("region"),(a=b||(b={}))[a.AIGenerated=1]="AIGenerated",(d=C||(C={}))[d.Invoke=0]="Invoke",d[d.Automatic=1]="Automatic",(w||(w={})).is=function(e){return!!e&&"object"==typeof e&&"string"==typeof e.id&&"string"==typeof e.title},(h=y||(y={}))[h.Type=1]="Type",h[h.Parameter=2]="Parameter";class W{constructor(e){this.createSupport=e,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(e=>{e&&e.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}let H=new class{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new x.Q5,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._tokenizationSupports.set(e,t),this.handleChange([e]),(0,N.OF)(()=>{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var i;null===(i=this._factories.get(e))||void 0===i||i.dispose();let n=new E(this,e,t);return this._factories.set(e,n),(0,N.OF)(()=>{let t=this._factories.get(e);t&&t===n&&(this._factories.delete(e),t.dispose())})}async getOrCreate(e){let t=this.get(e);if(t)return t;let i=this._factories.get(e);return!i||i.isResolved?null:(await i.resolve(),this.get(e))}isResolved(e){let t=this.get(e);if(t)return!0;let i=this._factories.get(e);return!i||!!i.isResolved}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}};(u=S||(S={}))[u.Invoke=0]="Invoke",u[u.Automatic=1]="Automatic"},68295:function(e,t,i){"use strict";i.d(t,{$9:function(){return d},UF:function(){return a},n8:function(){return l},r7:function(){return r},tI:function(){return h}});var n=i(95612),s=i(78203),o=i(29063);function r(e,t,i,r=!0,l){if(e<4)return null;let a=l.getLanguageConfiguration(t.tokenization.getLanguageId()).indentRulesSupport;if(!a)return null;let d=new o.sW(t,a,l);if(i<=1)return{indentation:"",action:null};for(let e=i-1;e>0&&""===t.getLineContent(e);e--)if(1===e)return{indentation:"",action:null};let h=function(e,t,i){let n=e.tokenization.getLanguageIdAtPosition(t,0);if(t>1){let s;let o=-1;for(s=t-1;s>=1;s--){if(e.tokenization.getLanguageIdAtPosition(s,0)!==n)return o;let t=e.getLineContent(s);if(i.shouldIgnore(s)||/^\s+$/.test(t)||""===t){o=s;continue}return s}}return -1}(t,i,d);if(h<0)return null;if(h<1)return{indentation:"",action:null};if(d.shouldIncrease(h)||d.shouldIndentNextLine(h)){let e=t.getLineContent(h);return{indentation:n.V8(e),action:s.wU.Indent,line:h}}if(d.shouldDecrease(h)){let e=t.getLineContent(h);return{indentation:n.V8(e),action:null,line:h}}{if(1===h)return{indentation:n.V8(t.getLineContent(h)),action:null,line:h};let e=h-1,i=a.getIndentMetadata(t.getLineContent(e));if(!(3&i)&&4&i){let i=0;for(let t=e-1;t>0;t--)if(!d.shouldIndentNextLine(t)){i=t;break}return{indentation:n.V8(t.getLineContent(i+1)),action:null,line:i+1}}if(r)return{indentation:n.V8(t.getLineContent(h)),action:null,line:h};for(let e=h;e>0;e--){if(d.shouldIncrease(e))return{indentation:n.V8(t.getLineContent(e)),action:s.wU.Indent,line:e};if(d.shouldIndentNextLine(e)){let i=0;for(let t=e-1;t>0;t--)if(!d.shouldIndentNextLine(e)){i=t;break}return{indentation:n.V8(t.getLineContent(i+1)),action:null,line:i+1}}if(d.shouldDecrease(e))return{indentation:n.V8(t.getLineContent(e)),action:null,line:e}}return{indentation:n.V8(t.getLineContent(1)),action:null,line:1}}}function l(e,t,i,l,a,d){if(e<4)return null;let h=d.getLanguageConfiguration(i);if(!h)return null;let u=d.getLanguageConfiguration(i).indentRulesSupport;if(!u)return null;let c=new o.sW(t,u,d),g=r(e,t,l,void 0,d);if(g){let i=g.line;if(void 0!==i){let o=!0;for(let e=i;ee===d?m:t.tokenization.getLineTokens(e),getLanguageId:()=>t.getLanguageId(),getLanguageIdAtPosition:(e,i)=>t.getLanguageIdAtPosition(e,i)},getLineContent:e=>e===d?m.getLineContent():t.getLineContent(e)}),v=(0,o.Z1)(t,i.getStartPosition()),b=t.getLineContent(i.startLineNumber),C=n.V8(b),w=r(e,_,i.startLineNumber+1,void 0,a);if(!w){let e=v?C:f;return{beforeEnter:e,afterEnter:e}}let y=v?C:w.indentation;return w.action===s.wU.Indent&&(y=l.shiftIndent(y)),u.shouldDecrease(p.getLineContent())&&(y=l.unshiftIndent(y)),{beforeEnter:v?C:f,afterEnter:y}}function d(e,t,i,n,l,a){if(e<4)return null;let d=(0,o.Z1)(t,i.getStartPosition());if(d)return null;let h=t.getLanguageIdAtPosition(i.startLineNumber,i.startColumn),u=a.getLanguageConfiguration(h).indentRulesSupport;if(!u)return null;let c=new o.w$(t,a),g=c.getProcessedTokenContextAroundRange(i),p=g.beforeRangeProcessedTokens.getLineContent(),m=g.afterRangeProcessedTokens.getLineContent();if(!u.shouldDecrease(p+m)&&u.shouldDecrease(p+n+m)){let n=r(e,t,i.startLineNumber,!1,a);if(!n)return null;let o=n.indentation;return n.action!==s.wU.Indent&&(o=l.unshiftIndent(o)),o}return null}function h(e,t,i){let n=i.getLanguageConfiguration(e.getLanguageId()).indentRulesSupport;return!n||t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t))}},92037:function(e,t,i){"use strict";i.d(t,{A:function(){return r}});var n=i(78203),s=i(32712),o=i(29063);function r(e,t,i,r){t.tokenization.forceTokenization(i.startLineNumber);let l=t.getLanguageIdAtPosition(i.startLineNumber,i.startColumn),a=r.getLanguageConfiguration(l);if(!a)return null;let d=new o.w$(t,r),h=d.getProcessedTokenContextAroundRange(i),u=h.previousLineProcessedTokens.getLineContent(),c=h.beforeRangeProcessedTokens.getLineContent(),g=h.afterRangeProcessedTokens.getLineContent(),p=a.onEnter(e,u,c,g);if(!p)return null;let m=p.indentAction,f=p.appendText,_=p.removeText||0;f?m===n.wU.Indent&&(f=" "+f):f=m===n.wU.Indent||m===n.wU.IndentOutdent?" ":"";let v=(0,s.u0)(t,i.startLineNumber,i.startColumn);return _&&(v=v.substring(0,v.length-_)),{indentAction:m,appendText:f,removeText:_,indentation:v}}},77233:function(e,t,i){"use strict";i.d(t,{O:function(){return s}});var n=i(85327);let s=(0,n.yh)("languageService")},78203:function(e,t,i){"use strict";var n,s;i.d(t,{V6:function(){return o},c$:function(){return r},wU:function(){return n}}),(s=n||(n={}))[s.None=0]="None",s[s.Indent=1]="Indent",s[s.IndentOutdent=2]="IndentOutdent",s[s.Outdent=3]="Outdent";class o{constructor(e){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=e.open,this.close=e.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(e.notIn))for(let t=0,i=e.notIn.length;tnew l.V6(e)):e.brackets?this._autoClosingPairs=e.brackets.map(e=>new l.V6({open:e[0],close:e[1]})):this._autoClosingPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment){let t=e.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new l.V6({open:t.open,close:t.close||""}))}this._autoCloseBeforeForQuotes="string"==typeof e.autoCloseBefore?e.autoCloseBefore:a.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES,this._autoCloseBeforeForBrackets="string"==typeof e.autoCloseBefore?e.autoCloseBefore:a.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(e){return e?this._autoCloseBeforeForQuotes:this._autoCloseBeforeForBrackets}getSurroundingPairs(){return this._surroundingPairs}}a.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES=";:.,=}])> \n ",a.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS="'\"`;:.,=}])> \n ";var d=i(40789),h=i(80008),u=i(58713);class c{constructor(e){this._richEditBrackets=e}getElectricCharacters(){let e=[];if(this._richEditBrackets)for(let t of this._richEditBrackets.brackets)for(let i of t.close){let t=i.charAt(i.length-1);e.push(t)}return(0,d.EB)(e)}onElectricCharacter(e,t,i){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;let n=t.findTokenIndexAtOffset(i-1);if((0,h.Bu)(t.getStandardTokenType(n)))return null;let s=this._richEditBrackets.reversedRegex,o=t.getLineContent().substring(0,i-1)+e,r=u.Vr.findPrevBracketInRange(s,1,o,0,o.length);if(!r)return null;let l=o.substring(r.startColumn-1,r.endColumn-1).toLowerCase(),a=this._richEditBrackets.textIsOpenBracket[l];if(a)return null;let d=t.getActualLineContentBefore(r.startColumn-1);return/^\s*$/.test(d)?{matchOpenBracket:l}:null}}function g(e){return e.global&&(e.lastIndex=0),!0}class p{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&g(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&g(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&g(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&g(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(e))}getIndentMetadata(e){let t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}var m=i(32378);class f{constructor(e){(e=e||{}).brackets=e.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],e.brackets.forEach(e=>{let t=f._createOpenBracketRegExp(e[0]),i=f._createCloseBracketRegExp(e[1]);t&&i&&this._brackets.push({open:e[0],openRegExp:t,close:e[1],closeRegExp:i})}),this._regExpRules=e.onEnterRules||[]}onEnter(e,t,i,n){if(e>=3)for(let e=0,s=this._regExpRules.length;e!e.reg||(e.reg.lastIndex=0,e.reg.test(e.text)));if(o)return s.action}if(e>=2&&i.length>0&&n.length>0)for(let e=0,t=this._brackets.length;e=2&&i.length>0)for(let e=0,t=this._brackets.length;e{let t=new Set;return{info:new D(this,e,t),closing:t}}),s=new y.bQ(e=>{let t=new Set,i=new Set;return{info:new x(this,e,t,i),opening:t,openingColorized:i}});for(let[e,t]of i){let i=n.get(e),o=s.get(t);i.closing.add(o.info),o.opening.add(i.info)}let o=t.colorizedBracketPairs?L(t.colorizedBracketPairs):i.filter(e=>!("<"===e[0]&&">"===e[1]));for(let[e,t]of o){let i=n.get(e),o=s.get(t);i.closing.add(o.info),o.openingColorized.add(i.info),o.opening.add(i.info)}this._openingBrackets=new Map([...n.cachedValues].map(([e,t])=>[e,t.info])),this._closingBrackets=new Map([...s.cachedValues].map(([e,t])=>[e,t.info]))}get openingBrackets(){return[...this._openingBrackets.values()]}get closingBrackets(){return[...this._closingBrackets.values()]}getOpeningBracketInfo(e){return this._openingBrackets.get(e)}getClosingBracketInfo(e){return this._closingBrackets.get(e)}getBracketInfo(e){return this.getOpeningBracketInfo(e)||this.getClosingBracketInfo(e)}getBracketRegExp(e){let t=Array.from([...this._openingBrackets.keys(),...this._closingBrackets.keys()]);return(0,u.vd)(t,e)}}function L(e){return e.filter(([e,t])=>""!==e&&""!==t)}class k{constructor(e,t){this.config=e,this.bracketText=t}get languageId(){return this.config.languageId}}class D extends k{constructor(e,t,i){super(e,t),this.openedBrackets=i,this.isOpeningBracket=!0}}class x extends k{constructor(e,t,i,n){super(e,t),this.openingBrackets=i,this.openingColorizedBrackets=n,this.isOpeningBracket=!1}closes(e){return e.config===this.config&&this.openingBrackets.has(e)}closesColorized(e){return e.config===this.config&&this.openingColorizedBrackets.has(e)}getOpeningBrackets(){return[...this.openingBrackets]}}var N=function(e,t){return function(i,n){t(i,n,e)}};class E{constructor(e){this.languageId=e}affects(e){return!this.languageId||this.languageId===e}}let I=(0,_.yh)("languageConfigurationService"),T=class extends s.JT{constructor(e,t){super(),this.configurationService=e,this.languageService=t,this._registry=this._register(new W),this.onDidChangeEmitter=this._register(new n.Q5),this.onDidChange=this.onDidChangeEmitter.event,this.configurations=new Map;let i=new Set(Object.values(M));this._register(this.configurationService.onDidChangeConfiguration(e=>{let t=e.change.keys.some(e=>i.has(e)),n=e.change.overrides.filter(([e,t])=>t.some(e=>i.has(e))).map(([e])=>e);if(t)this.configurations.clear(),this.onDidChangeEmitter.fire(new E(void 0));else for(let e of n)this.languageService.isRegisteredLanguageId(e)&&(this.configurations.delete(e),this.onDidChangeEmitter.fire(new E(e)))})),this._register(this._registry.onDidChange(e=>{this.configurations.delete(e.languageId),this.onDidChangeEmitter.fire(new E(e.languageId))}))}register(e,t,i){return this._registry.register(e,t,i)}getLanguageConfiguration(e){let t=this.configurations.get(e);return t||(t=function(e,t,i,n){let s=t.getLanguageConfiguration(e);if(!s){if(!n.isRegisteredLanguageId(e))return new H(e,{});s=new H(e,{})}let o=function(e,t){let i=t.getValue(M.brackets,{overrideIdentifier:e}),n=t.getValue(M.colorizedBracketPairs,{overrideIdentifier:e});return{brackets:R(i),colorizedBracketPairs:R(n)}}(s.languageId,i),r=O([s.underlyingConfig,o]),l=new H(s.languageId,r);return l}(e,this._registry,this.configurationService,this.languageService),this.configurations.set(e,t)),t}};T=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([N(0,v.Ui),N(1,b.O)],T);let M={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function R(e){if(Array.isArray(e))return e.map(e=>{if(Array.isArray(e)&&2===e.length)return[e[0],e[1]]}).filter(e=>!!e)}function A(e,t,i){let n=e.getLineContent(t),s=o.V8(n);return s.length>i-1&&(s=s.substring(0,i-1)),s}class P{constructor(e){this.languageId=e,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(e,t){let i=new F(e,t,++this._order);return this._entries.push(i),this._resolved=null,(0,s.OF)(()=>{for(let e=0;ee.configuration)))}}function O(e){let t={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0};for(let i of e)t={comments:i.comments||t.comments,brackets:i.brackets||t.brackets,wordPattern:i.wordPattern||t.wordPattern,indentationRules:i.indentationRules||t.indentationRules,onEnterRules:i.onEnterRules||t.onEnterRules,autoClosingPairs:i.autoClosingPairs||t.autoClosingPairs,surroundingPairs:i.surroundingPairs||t.surroundingPairs,autoCloseBefore:i.autoCloseBefore||t.autoCloseBefore,folding:i.folding||t.folding,colorizedBracketPairs:i.colorizedBracketPairs||t.colorizedBracketPairs,__electricCharacterSupport:i.__electricCharacterSupport||t.__electricCharacterSupport};return t}class F{constructor(e,t,i){this.configuration=e,this.priority=t,this.order=i}static cmp(e,t){return e.priority===t.priority?e.order-t.order:e.priority-t.priority}}class B{constructor(e){this.languageId=e}}class W extends s.JT{constructor(){super(),this._entries=new Map,this._onDidChange=this._register(new n.Q5),this.onDidChange=this._onDidChange.event,this._register(this.register(w.bd,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],colorizedBracketPairs:[],folding:{offSide:!0}},0))}register(e,t,i=0){let n=this._entries.get(e);n||(n=new P(e),this._entries.set(e,n));let o=n.register(t,i);return this._onDidChange.fire(new B(e)),(0,s.OF)(()=>{o.dispose(),this._onDidChange.fire(new B(e))})}getLanguageConfiguration(e){let t=this._entries.get(e);return(null==t?void 0:t.getResolvedConfiguration())||null}}class H{constructor(e,t){this.languageId=e,this.underlyingConfig=t,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new f(this.underlyingConfig):null,this.comments=H._handleComments(this.underlyingConfig),this.characterPair=new a(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||r.Af,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new p(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{},this.bracketsNew=new S(e,this.underlyingConfig)}getWordDefinition(){return(0,r.eq)(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new u.EA(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new c(this.brackets)),this._electricCharacter}onEnter(e,t,i,n){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,i,n):null}getAutoClosingPairs(){return new l.c$(this.characterPair.getAutoClosingPairs())}getAutoCloseBeforeSet(e){return this.characterPair.getAutoCloseBeforeSet(e)}getSurroundingPairs(){return this.characterPair.getSurroundingPairs()}static _handleComments(e){let t=e.comments;if(!t)return null;let i={};if(t.lineComment&&(i.lineCommentToken=t.lineComment),t.blockComment){let[e,n]=t.blockComment;i.blockCommentStartToken=e,i.blockCommentEndToken=n}return i}}(0,C.z)(I,T,1)},27281:function(e,t,i){"use strict";i.d(t,{bd:function(){return d},dQ:function(){return a}});var n=i(82801),s=i(79915),o=i(34089),r=i(16735),l=i(73004);let a=new class{constructor(){this._onDidChangeLanguages=new s.Q5,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}registerLanguage(e){return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let t=0,i=this._languages.length;t>>0,new n.DI(i,null===t?s:t)}},80008:function(e,t,i){"use strict";function n(e,t){let i=e.getCount(),n=e.findTokenIndexAtOffset(t),o=e.getLanguageId(n),r=n;for(;r+10&&e.getLanguageId(l-1)===o;)l--;return new s(e,o,l,r+1,e.getStartOffset(l),e.getEndOffset(r))}i.d(t,{Bu:function(){return o},wH:function(){return n}});class s{constructor(e,t,i,n,s,o){this._scopedLineTokensBrand=void 0,this._actual=e,this.languageId=t,this._firstTokenIndex=i,this._lastTokenIndex=n,this.firstCharOffset=s,this._lastCharOffset=o,this.languageIdCodec=e.languageIdCodec}getLineContent(){let e=this._actual.getLineContent();return e.substring(this.firstCharOffset,this._lastCharOffset)}getLineLength(){return this._lastCharOffset-this.firstCharOffset}getActualLineContentBefore(e){let t=this._actual.getLineContent();return t.substring(0,this.firstCharOffset+e)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)}toIViewLineTokens(){return this._actual.sliceAndInflate(this.firstCharOffset,this._lastCharOffset,0)}}function o(e){return(3&e)!=0}},29063:function(e,t,i){"use strict";i.d(t,{Z1:function(){return d},sW:function(){return r},w$:function(){return l}});var n=i(95612),s=i(80008),o=i(94458);class r{constructor(e,t,i){this._indentRulesSupport=t,this._indentationLineProcessor=new a(e,i)}shouldIncrease(e,t){let i=this._indentationLineProcessor.getProcessedLine(e,t);return this._indentRulesSupport.shouldIncrease(i)}shouldDecrease(e,t){let i=this._indentationLineProcessor.getProcessedLine(e,t);return this._indentRulesSupport.shouldDecrease(i)}shouldIgnore(e,t){let i=this._indentationLineProcessor.getProcessedLine(e,t);return this._indentRulesSupport.shouldIgnore(i)}shouldIndentNextLine(e,t){let i=this._indentationLineProcessor.getProcessedLine(e,t);return this._indentRulesSupport.shouldIndentNextLine(i)}}class l{constructor(e,t){this.model=e,this.indentationLineProcessor=new a(e,t)}getProcessedTokenContextAroundRange(e){let t=this._getProcessedTokensBeforeRange(e),i=this._getProcessedTokensAfterRange(e),n=this._getProcessedPreviousLineTokens(e);return{beforeRangeProcessedTokens:t,afterRangeProcessedTokens:i,previousLineProcessedTokens:n}}_getProcessedTokensBeforeRange(e){let t;this.model.tokenization.forceTokenization(e.startLineNumber);let i=this.model.tokenization.getLineTokens(e.startLineNumber),n=(0,s.wH)(i,e.startColumn-1);if(d(this.model,e.getStartPosition())){let s=e.startColumn-1-n.firstCharOffset,o=n.firstCharOffset,r=o+s;t=i.sliceAndInflate(o,r,0)}else{let n=e.startColumn-1;t=i.sliceAndInflate(0,n,0)}let o=this.indentationLineProcessor.getProcessedTokens(t);return o}_getProcessedTokensAfterRange(e){let t=e.isEmpty()?e.getStartPosition():e.getEndPosition();this.model.tokenization.forceTokenization(t.lineNumber);let i=this.model.tokenization.getLineTokens(t.lineNumber),n=(0,s.wH)(i,t.column-1),o=t.column-1-n.firstCharOffset,r=n.firstCharOffset+o,l=n.firstCharOffset+n.getLineLength(),a=i.sliceAndInflate(r,l,0),d=this.indentationLineProcessor.getProcessedTokens(a);return d}_getProcessedPreviousLineTokens(e){this.model.tokenization.forceTokenization(e.startLineNumber);let t=this.model.tokenization.getLineTokens(e.startLineNumber),i=(0,s.wH)(t,e.startColumn-1),n=o.A.createEmpty("",i.languageIdCodec),r=e.startLineNumber-1,l=0===r;if(l)return n;let a=0===i.firstCharOffset;if(!a)return n;let d=(e=>{this.model.tokenization.forceTokenization(e);let t=this.model.tokenization.getLineTokens(e),i=this.model.getLineMaxColumn(e)-1,n=(0,s.wH)(t,i);return n})(r),h=i.languageId===d.languageId;if(!h)return n;let u=d.toIViewLineTokens(),c=this.indentationLineProcessor.getProcessedTokens(u);return c}}class a{constructor(e,t){this.model=e,this.languageConfigurationService=t}getProcessedLine(e,t){var i,s;null===(s=(i=this.model.tokenization).forceTokenization)||void 0===s||s.call(i,e);let o=this.model.tokenization.getLineTokens(e),r=this.getProcessedTokens(o).getLineContent();return void 0!==t&&(r=((e,t)=>{let i=n.V8(e),s=t+e.substring(i.length);return s})(r,t)),r}getProcessedTokens(e){let t=e=>2===e||3===e||1===e,i=e.getLanguageId(0),n=this.languageConfigurationService.getLanguageConfiguration(i).bracketsNew,s=n.getBracketRegExp({global:!0}),r=[];e.forEach(i=>{let n=e.getStandardTokenType(i),o=e.getTokenText(i);t(n)&&(o=o.replace(s,""));let l=e.getMetadata(i);r.push({text:o,metadata:l})});let l=o.A.createFromTextAndMetadata(r,e.languageIdCodec);return l}}function d(e,t){e.tokenization.forceTokenization(t.lineNumber);let i=e.tokenization.getLineTokens(t.lineNumber),n=(0,s.wH)(i,t.column-1),o=0===n.firstCharOffset,r=i.getLanguageId(0)===n.languageId;return!o&&!r}},58713:function(e,t,i){"use strict";let n,s;i.d(t,{EA:function(){return d},Vr:function(){return f},vd:function(){return p}});var o=i(95612),r=i(91797),l=i(70209);class a{constructor(e,t,i,n,s,o){this._richEditBracketBrand=void 0,this.languageId=e,this.index=t,this.open=i,this.close=n,this.forwardRegex=s,this.reversedRegex=o,this._openSet=a._toSet(this.open),this._closeSet=a._toSet(this.close)}isOpen(e){return this._openSet.has(e)}isClose(e){return this._closeSet.has(e)}static _toSet(e){let t=new Set;for(let i of e)t.add(i);return t}}class d{constructor(e,t){this._richEditBracketsBrand=void 0;let i=function(e){let t=e.length;e=e.map(e=>[e[0].toLowerCase(),e[1].toLowerCase()]);let i=[];for(let e=0;e{let[i,n]=e,[s,o]=t;return i===s||i===o||n===s||n===o},s=(e,n)=>{let s=Math.min(e,n),o=Math.max(e,n);for(let e=0;e0&&o.push({open:s,close:r})}return o}(t);for(let t of(this.brackets=i.map((t,n)=>new a(e,n,t.open,t.close,function(e,t,i,n){let s=[];s=(s=s.concat(e)).concat(t);for(let e=0,t=s.length;e=0&&n.push(t);for(let t of o.close)t.indexOf(e)>=0&&n.push(t)}}function u(e,t){return e.length-t.length}function c(e){if(e.length<=1)return e;let t=[],i=new Set;for(let n of e)i.has(n)||(t.push(n),i.add(n));return t}function g(e){let t=/^[\w ]+$/.test(e);return e=o.ec(e),t?`\\b${e}\\b`:e}function p(e,t){let i=`(${e.map(g).join(")|(")})`;return o.GF(i,!0,t)}let m=(n=null,s=null,function(e){return n!==e&&(s=function(e){let t=new Uint16Array(e.length),i=0;for(let n=e.length-1;n>=0;n--)t[i++]=e.charCodeAt(n);return r.oe().decode(t)}(n=e)),s});class f{static _findPrevBracketInText(e,t,i,n){let s=i.match(e);if(!s)return null;let o=i.length-(s.index||0),r=s[0].length,a=n+o;return new l.e(t,a-r+1,t,a+1)}static findPrevBracketInRange(e,t,i,n,s){let o=m(i),r=o.substring(i.length-s,i.length-n);return this._findPrevBracketInText(e,t,r,n)}static findNextBracketInText(e,t,i,n){let s=i.match(e);if(!s)return null;let o=s.index||0,r=s[0].length;if(0===r)return null;let a=n+o;return new l.e(t,a+1,t,a+1+r)}static findNextBracketInRange(e,t,i,n,s){let o=i.substring(n,s);return this.findNextBracketInText(e,t,o,n)}}},57221:function(e,t,i){"use strict";i.d(t,{C2:function(){return a},Fq:function(){return d}});var n=i(95612),s=i(94458),o=i(1863),r=i(46481);let l={getInitialState:()=>r.TJ,tokenizeEncoded:(e,t,i)=>(0,r.Dy)(0,i)};async function a(e,t,i){if(!i)return h(t,e.languageIdCodec,l);let n=await o.RW.getOrCreate(i);return h(t,e.languageIdCodec,n||l)}function d(e,t,i,n,s,o,r){let l="
    ",a=n,d=0,h=!0;for(let u=0,c=t.getCount();u0;)r&&h?(g+=" ",h=!1):(g+=" ",h=!0),e--;break}case 60:g+="<",h=!1;break;case 62:g+=">",h=!1;break;case 38:g+="&",h=!1;break;case 0:g+="�",h=!1;break;case 65279:case 8232:case 8233:case 133:g+="�",h=!1;break;case 13:g+="​",h=!1;break;case 32:r&&h?(g+=" ",h=!1):(g+=" ",h=!0);break;default:g+=String.fromCharCode(t),h=!1}}if(l+=`${g}`,c>s||a>=s)break}return l+"
    "}function h(e,t,i){let o='
    ',r=n.uq(e),l=i.getInitialState();for(let e=0,a=r.length;e0&&(o+="
    ");let d=i.tokenizeEncoded(a,!0,l);s.A.convertToEndOffset(d.tokens,a.length);let h=new s.A(d.tokens,a,t),u=h.inflate(),c=0;for(let e=0,t=u.getCount();e${n.YU(a.substring(c,i))}`,c=i}l=d.endState}return o+"
    "}},41407:function(e,t,i){"use strict";i.d(t,{Hf:function(){return c},Qi:function(){return g},RM:function(){return a},Tx:function(){return p},U:function(){return l},dJ:function(){return h},je:function(){return m},pt:function(){return f},sh:function(){return r},tk:function(){return u}});var n,s,o,r,l,a,d=i(16783);(n=r||(r={}))[n.Left=1]="Left",n[n.Center=2]="Center",n[n.Right=4]="Right",n[n.Full=7]="Full",(s=l||(l={}))[s.Left=1]="Left",s[s.Center=2]="Center",s[s.Right=3]="Right",(o=a||(a={}))[o.Both=0]="Both",o[o.Right=1]="Right",o[o.Left=2]="Left",o[o.None=3]="None";class h{get originalIndentSize(){return this._indentSizeIsTabSize?"tabSize":this.indentSize}constructor(e){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,0|e.tabSize),"tabSize"===e.indentSize?(this.indentSize=this.tabSize,this._indentSizeIsTabSize=!0):(this.indentSize=Math.max(1,0|e.indentSize),this._indentSizeIsTabSize=!1),this.insertSpaces=!!e.insertSpaces,this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=!!e.trimAutoWhitespace,this.bracketPairColorizationOptions=e.bracketPairColorizationOptions}equals(e){return this.tabSize===e.tabSize&&this._indentSizeIsTabSize===e._indentSizeIsTabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&(0,d.fS)(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class u{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}function c(e){return e&&"function"==typeof e.read}class g{constructor(e,t,i,n,s,o){this.identifier=e,this.range=t,this.text=i,this.forceMoveMarkers=n,this.isAutoWhitespaceEdit=s,this._isTracked=o}}class p{constructor(e,t,i){this.regex=e,this.wordSeparators=t,this.simpleSearch=i}}class m{constructor(e,t,i){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=i}}function f(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},18394:function(e,t,i){"use strict";i.d(t,{BH:function(){return f},Dm:function(){return v},Kd:function(){return a},Y0:function(){return d},n2:function(){return _}});var n=i(32378),s=i(64762),o=i(68358),r=i(41231);class l{get length(){return this._length}constructor(e){this._length=e}}class a extends l{static create(e,t,i){let n=e.length;return t&&(n=(0,o.Ii)(n,t.length)),i&&(n=(0,o.Ii)(n,i.length)),new a(n,e,t,i,t?t.missingOpeningBracketIds:r.tS.getEmpty())}get kind(){return 2}get listHeight(){return 0}get childrenLength(){return 3}getChild(e){switch(e){case 0:return this.openingBracket;case 1:return this.child;case 2:return this.closingBracket}throw Error("Invalid child index")}get children(){let e=[];return e.push(this.openingBracket),this.child&&e.push(this.child),this.closingBracket&&e.push(this.closingBracket),e}constructor(e,t,i,n,s){super(e),this.openingBracket=t,this.child=i,this.closingBracket=n,this.missingOpeningBracketIds=s}canBeReused(e){return!(null===this.closingBracket||e.intersects(this.missingOpeningBracketIds))}deepClone(){return new a(this.length,this.openingBracket.deepClone(),this.child&&this.child.deepClone(),this.closingBracket&&this.closingBracket.deepClone(),this.missingOpeningBracketIds)}computeMinIndentation(e,t){return this.child?this.child.computeMinIndentation((0,o.Ii)(e,this.openingBracket.length),t):Number.MAX_SAFE_INTEGER}}class d extends l{static create23(e,t,i,n=!1){let s=e.length,r=e.missingOpeningBracketIds;if(e.listHeight!==t.listHeight)throw Error("Invalid list heights");if(s=(0,o.Ii)(s,t.length),r=r.merge(t.missingOpeningBracketIds),i){if(e.listHeight!==i.listHeight)throw Error("Invalid list heights");s=(0,o.Ii)(s,i.length),r=r.merge(i.missingOpeningBracketIds)}return n?new u(s,e.listHeight+1,e,t,i,r):new h(s,e.listHeight+1,e,t,i,r)}static getEmpty(){return new g(o.xl,0,[],r.tS.getEmpty())}get kind(){return 4}get missingOpeningBracketIds(){return this._missingOpeningBracketIds}constructor(e,t,i){super(e),this.listHeight=t,this._missingOpeningBracketIds=i,this.cachedMinIndentation=-1}throwIfImmutable(){}makeLastElementMutable(){this.throwIfImmutable();let e=this.childrenLength;if(0===e)return;let t=this.getChild(e-1),i=4===t.kind?t.toMutable():t;return t!==i&&this.setChild(e-1,i),i}makeFirstElementMutable(){this.throwIfImmutable();let e=this.childrenLength;if(0===e)return;let t=this.getChild(0),i=4===t.kind?t.toMutable():t;return t!==i&&this.setChild(0,i),i}canBeReused(e){if(e.intersects(this.missingOpeningBracketIds)||0===this.childrenLength)return!1;let t=this;for(;4===t.kind;){let e=t.childrenLength;if(0===e)throw new n.he;t=t.getChild(e-1)}return t.canBeReused(e)}handleChildrenChanged(){this.throwIfImmutable();let e=this.childrenLength,t=this.getChild(0).length,i=this.getChild(0).missingOpeningBracketIds;for(let n=1;n{let t=n.e.lift(e.range);return new o((0,s.PZ)(t.getStartPosition()),(0,s.PZ)(t.getEndPosition()),(0,s.oR)(e.text))}).reverse();return t}constructor(e,t,i){this.startOffset=e,this.endOffset=t,this.newLength=i}toString(){return`[${(0,s.Hw)(this.startOffset)}...${(0,s.Hw)(this.endOffset)}) -> ${(0,s.Hw)(this.newLength)}`}}class r{constructor(e){this.nextEditIdx=0,this.deltaOldToNewLineCount=0,this.deltaOldToNewColumnCount=0,this.deltaLineIdxInOld=-1,this.edits=e.map(e=>l.from(e))}getOffsetBeforeChange(e){return this.adjustNextEdit(e),this.translateCurToOld(e)}getDistanceToNextChange(e){this.adjustNextEdit(e);let t=this.edits[this.nextEditIdx],i=t?this.translateOldToCur(t.offsetObj):null;return null===i?null:(0,s.BE)(e,i)}translateOldToCur(e){return e.lineCount===this.deltaLineIdxInOld?(0,s.Hg)(e.lineCount+this.deltaOldToNewLineCount,e.columnCount+this.deltaOldToNewColumnCount):(0,s.Hg)(e.lineCount+this.deltaOldToNewLineCount,e.columnCount)}translateCurToOld(e){let t=(0,s.Hw)(e);return t.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?(0,s.Hg)(t.lineCount-this.deltaOldToNewLineCount,t.columnCount-this.deltaOldToNewColumnCount):(0,s.Hg)(t.lineCount-this.deltaOldToNewLineCount,t.columnCount)}adjustNextEdit(e){for(;this.nextEditIdx{let t;return t=(0,n.ec)(e),/^[\w ]+/.test(e)&&(t=`\\b${t}`),/[\w ]+$/.test(e)&&(t=`${t}\\b`),t}).join("|")}}get regExpGlobal(){if(!this.hasRegExp){let e=this.getRegExpStr();this._regExpGlobal=e?RegExp(e,"gi"):null,this.hasRegExp=!0}return this._regExpGlobal}getToken(e){return this.map.get(e.toLowerCase())}findClosingTokenText(e){for(let[t,i]of this.map)if(2===i.kind&&i.bracketIds.intersects(e))return t}get isEmpty(){return 0===this.map.size}}class d{constructor(e,t){this.denseKeyProvider=e,this.getLanguageConfiguration=t,this.languageIdToBracketTokens=new Map}didLanguageChange(e){return this.languageIdToBracketTokens.has(e)}getSingleLanguageBracketTokens(e){let t=this.languageIdToBracketTokens.get(e);return t||(t=a.createFromLanguage(this.getLanguageConfiguration(e),this.denseKeyProvider),this.languageIdToBracketTokens.set(e,t)),t}}},7976:function(e,t,i){"use strict";i.d(t,{o:function(){return r}});var n=i(40789),s=i(52404),o=i(68358);function r(e,t){if(0===e.length)return t;if(0===t.length)return e;let i=new n.H9(a(e)),r=a(t);r.push({modified:!1,lengthBefore:void 0,lengthAfter:void 0});let d=i.dequeue(),h=[];function u(e,t,i){if(h.length>0&&(0,o.rM)(h[h.length-1].endOffset,e)){let e=h[h.length-1];h[h.length-1]=new s.Q(e.startOffset,t,(0,o.Ii)(e.newLength,i))}else h.push({startOffset:e,endOffset:t,newLength:i})}let c=o.xl;for(let e of r){let t=function(e){if(void 0===e){let e=i.takeWhile(e=>!0)||[];return d&&e.unshift(d),e}let t=[];for(;d&&!(0,o.xd)(e);){let[n,s]=d.splitAt(e);t.push(n),e=(0,o.BE)(n.lengthAfter,e),d=null!=s?s:i.dequeue()}return(0,o.xd)(e)||t.push(new l(!1,e,e)),t}(e.lengthBefore);if(e.modified){let i=(0,o.tQ)(t,e=>e.lengthBefore),n=(0,o.Ii)(c,i);u(c,n,e.lengthAfter),c=n}else for(let e of t){let t=c;c=(0,o.Ii)(c,e.lengthBefore),e.modified&&u(t,c,e.lengthAfter)}}return h}class l{constructor(e,t,i){this.modified=e,this.lengthBefore=t,this.lengthAfter=i}splitAt(e){let t=(0,o.BE)(e,this.lengthAfter);return(0,o.rM)(t,o.xl)?[this,void 0]:this.modified?[new l(this.modified,this.lengthBefore,e),new l(this.modified,o.xl,t)]:[new l(this.modified,e,e),new l(this.modified,t,t)]}toString(){return`${this.modified?"M":"U"}:${(0,o.Hw)(this.lengthBefore)} -> ${(0,o.Hw)(this.lengthAfter)}`}}function a(e){let t=[],i=o.xl;for(let n of e){let e=(0,o.BE)(i,n.startOffset);(0,o.xd)(e)||t.push(new l(!1,e,e));let s=(0,o.BE)(n.startOffset,n.endOffset);t.push(new l(!0,s,n.newLength)),i=n.endOffset}return t}},68358:function(e,t,i){"use strict";i.d(t,{BE:function(){return f},By:function(){return v},F_:function(){return c},Hg:function(){return d},Hw:function(){return h},Ii:function(){return g},PZ:function(){return C},Qw:function(){return w},VR:function(){return _},W9:function(){return u},Zq:function(){return b},av:function(){return r},oR:function(){return y},rM:function(){return m},tQ:function(){return p},xd:function(){return a},xl:function(){return l}});var n=i(95612),s=i(70209),o=i(98467);function r(e,t,i,n){return e!==i?d(i-e,n):d(0,n-t)}let l=0;function a(e){return 0===e}function d(e,t){return 67108864*e+t}function h(e){let t=Math.floor(e/67108864),i=e-67108864*t;return new o.A(t,i)}function u(e){return Math.floor(e/67108864)}function c(e){return e}function g(e,t){let i=e+t;return t>=67108864&&(i-=e%67108864),i}function p(e,t){return e.reduce((e,i)=>g(e,t(i)),l)}function m(e,t){return e===t}function f(e,t){if(t-e<=0)return l;let i=Math.floor(e/67108864),n=Math.floor(t/67108864),s=t-67108864*n;if(i!==n)return d(n-i,s);{let t=e-67108864*i;return d(0,s-t)}}function _(e,t){return e=t}function C(e){return d(e.lineNumber-1,e.column-1)}function w(e,t){let i=Math.floor(e/67108864),n=e-67108864*i,o=Math.floor(t/67108864),r=t-67108864*o;return new s.e(i+1,n+1,o+1,r+1)}function y(e){let t=(0,n.uq)(e);return d(t.length-1,t[t.length-1].length)}},43823:function(e,t,i){"use strict";i.d(t,{w:function(){return g}});var n=i(18394),s=i(52404),o=i(41231),r=i(68358);function l(e,t=!1){if(0===e.length)return null;if(1===e.length)return e[0];let i=e.length;for(;i>3;){let s=i>>1;for(let o=0;o=3?e[2]:null,t)}function a(e,t){return Math.abs(e.listHeight-t.listHeight)}function d(e,t){return e.listHeight===t.listHeight?n.Y0.create23(e,t,null,!1):e.listHeight>t.listHeight?function(e,t){let i;let s=e=e.toMutable(),o=[];for(;;){if(t.listHeight===s.listHeight){i=t;break}if(4!==s.kind)throw Error("unexpected");o.push(s),s=s.makeLastElementMutable()}for(let e=o.length-1;e>=0;e--){let t=o[e];i?t.childrenLength>=3?i=n.Y0.create23(t.unappendChild(),i,null,!1):(t.appendChildOfSameHeight(i),i=void 0):t.handleChildrenChanged()}return i?n.Y0.create23(e,i,null,!1):e}(e,t):function(e,t){let i=e=e.toMutable(),s=[];for(;t.listHeight!==i.listHeight;){if(4!==i.kind)throw Error("unexpected");s.push(i),i=i.makeFirstElementMutable()}let o=t;for(let e=s.length-1;e>=0;e--){let t=s[e];o?t.childrenLength>=3?o=n.Y0.create23(o,t.unprependChild(),null,!1):(t.prependChildOfSameHeight(o),o=void 0):t.handleChildrenChanged()}return o?n.Y0.create23(o,e,null,!1):e}(t,e)}class h{constructor(e){this.lastOffset=r.xl,this.nextNodes=[e],this.offsets=[r.xl],this.idxs=[]}readLongestNodeAt(e,t){if((0,r.VR)(e,this.lastOffset))throw Error("Invalid offset");for(this.lastOffset=e;;){let i=c(this.nextNodes);if(!i)return;let n=c(this.offsets);if((0,r.VR)(e,n))return;if((0,r.VR)(n,e)){if((0,r.Ii)(n,i.length)<=e)this.nextNodeAfterCurrent();else{let e=u(i);-1!==e?(this.nextNodes.push(i.getChild(e)),this.offsets.push(n),this.idxs.push(e)):this.nextNodeAfterCurrent()}}else{if(t(i))return this.nextNodeAfterCurrent(),i;{let e=u(i);if(-1===e){this.nextNodeAfterCurrent();return}this.nextNodes.push(i.getChild(e)),this.offsets.push(n),this.idxs.push(e)}}}}nextNodeAfterCurrent(){for(;;){let e=c(this.offsets),t=c(this.nextNodes);if(this.nextNodes.pop(),this.offsets.pop(),0===this.idxs.length)break;let i=c(this.nextNodes),n=u(i,this.idxs[this.idxs.length-1]);if(-1!==n){this.nextNodes.push(i.getChild(n)),this.offsets.push((0,r.Ii)(e,t.length)),this.idxs[this.idxs.length-1]=n;break}this.idxs.pop()}}}function u(e,t=-1){for(;;){if(++t>=e.childrenLength)return -1;if(e.getChild(t))return t}}function c(e){return e.length>0?e[e.length-1]:void 0}function g(e,t,i,n){let s=new p(e,t,i,n);return s.parseDocument()}class p{constructor(e,t,i,n){if(this.tokenizer=e,this.createImmutableLists=n,this._itemsConstructed=0,this._itemsFromCache=0,i&&n)throw Error("Not supported");this.oldNodeReader=i?new h(i):void 0,this.positionMapper=new s.Y(t)}parseDocument(){this._itemsConstructed=0,this._itemsFromCache=0;let e=this.parseList(o.tS.getEmpty(),0);return e||(e=n.Y0.getEmpty()),e}parseList(e,t){let i=[];for(;;){let n=this.tryReadChildFromCache(e);if(!n){let i=this.tokenizer.peek();if(!i||2===i.kind&&i.bracketIds.intersects(e))break;n=this.parseChild(e,t+1)}(4!==n.kind||0!==n.childrenLength)&&i.push(n)}let n=this.oldNodeReader?function(e){if(0===e.length)return null;if(1===e.length)return e[0];let t=0;function i(){if(t>=e.length)return null;let i=t,n=e[i].listHeight;for(t++;t=2?l(0===i&&t===e.length?e:e.slice(i,t),!1):e[i]}let n=i(),s=i();if(!s)return n;for(let e=i();e;e=i())a(n,s)<=a(s,e)?(n=d(n,s),s=e):s=d(s,e);let o=d(n,s);return o}(i):l(i,this.createImmutableLists);return n}tryReadChildFromCache(e){if(this.oldNodeReader){let t=this.positionMapper.getDistanceToNextChange(this.tokenizer.offset);if(null===t||!(0,r.xd)(t)){let i=this.oldNodeReader.readLongestNodeAt(this.positionMapper.getOffsetBeforeChange(this.tokenizer.offset),i=>{if(null!==t&&!(0,r.VR)(i.length,t))return!1;let n=i.canBeReused(e);return n});if(i)return this._itemsFromCache++,this.tokenizer.skip(i.length),i}}}parseChild(e,t){this._itemsConstructed++;let i=this.tokenizer.read();switch(i.kind){case 2:return new n.Dm(i.bracketIds,i.length);case 0:return i.astNode;case 1:{if(t>300)return new n.BH(i.length);let s=e.merge(i.bracketIds),o=this.parseList(s,t+1),r=this.tokenizer.peek();if(r&&2===r.kind&&(r.bracketId===i.bracketId||r.bracketIds.intersects(i.bracketIds)))return this.tokenizer.read(),n.Kd.create(i.astNode,o,r.astNode);return n.Kd.create(i.astNode,o,null)}default:throw Error("unexpected")}}}},41231:function(e,t,i){"use strict";i.d(t,{FE:function(){return r},Qw:function(){return o},tS:function(){return s}});let n=[];class s{static create(e,t){if(e<=128&&0===t.length){let i=s.cache[e];return i||(i=new s(e,t),s.cache[e]=i),i}return new s(e,t)}static getEmpty(){return this.empty}constructor(e,t){this.items=e,this.additionalItems=t}add(e,t){let i=t.getKey(e),n=i>>5;if(0===n){let e=1<e};class r{constructor(){this.items=new Map}getKey(e){let t=this.items.get(e);return void 0===t&&(t=this.items.size,this.items.set(e,t)),t}}},61336:function(e,t,i){"use strict";i.d(t,{WU:function(){return a},g:function(){return u},xH:function(){return d}});var n=i(32378),s=i(30664),o=i(18394),r=i(68358),l=i(41231);class a{constructor(e,t,i,n,s){this.length=e,this.kind=t,this.bracketId=i,this.bracketIds=n,this.astNode=s}}class d{constructor(e,t){this.textModel=e,this.bracketTokens=t,this.reader=new h(this.textModel,this.bracketTokens),this._offset=r.xl,this.didPeek=!1,this.peeked=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}get offset(){return this._offset}get length(){return(0,r.Hg)(this.textBufferLineCount-1,this.textBufferLastLineLength)}skip(e){this.didPeek=!1,this._offset=(0,r.Ii)(this._offset,e);let t=(0,r.Hw)(this._offset);this.reader.setPosition(t.lineCount,t.columnCount)}read(){let e;return this.peeked?(this.didPeek=!1,e=this.peeked):e=this.reader.read(),e&&(this._offset=(0,r.Ii)(this._offset,e.length)),e}peek(){return this.didPeek||(this.peeked=this.reader.read(),this.didPeek=!0),this.peeked}}class h{constructor(e,t){this.textModel=e,this.bracketTokens=t,this.lineIdx=0,this.line=null,this.lineCharOffset=0,this.lineTokens=null,this.lineTokenOffset=0,this.peekedToken=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}setPosition(e,t){e===this.lineIdx?(this.lineCharOffset=t,null!==this.line&&(this.lineTokenOffset=0===this.lineCharOffset?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset))):(this.lineIdx=e,this.lineCharOffset=t,this.line=null),this.peekedToken=null}read(){if(this.peekedToken){let e=this.peekedToken;return this.peekedToken=null,this.lineCharOffset+=(0,r.F_)(e.length),e}if(this.lineIdx>this.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;null===this.line&&(this.lineTokens=this.textModel.tokenization.getLineTokens(this.lineIdx+1),this.line=this.lineTokens.getLineContent(),this.lineTokenOffset=0===this.lineCharOffset?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset));let e=this.lineIdx,t=this.lineCharOffset,i=0;for(;;){let n=this.lineTokens,o=n.getCount(),l=null;if(this.lineTokenOffset1e3))break;if(i>1500)break}let n=(0,r.av)(e,t,this.lineIdx,this.lineCharOffset);return new a(n,0,-1,l.tS.getEmpty(),new o.BH(n))}}class u{constructor(e,t){let i;this.text=e,this._offset=r.xl,this.idx=0;let n=t.getRegExpStr(),s=n?RegExp(n+"|\n","gi"):null,d=[],h=0,u=0,c=0,g=0,p=[];for(let e=0;e<60;e++)p.push(new a((0,r.Hg)(0,e),0,-1,l.tS.getEmpty(),new o.BH((0,r.Hg)(0,e))));let m=[];for(let e=0;e<60;e++)m.push(new a((0,r.Hg)(1,e),0,-1,l.tS.getEmpty(),new o.BH((0,r.Hg)(1,e))));if(s)for(s.lastIndex=0;null!==(i=s.exec(e));){let e=i.index,n=i[0];if("\n"===n)h++,u=e+1;else{if(c!==e){let t;if(g===h){let i=e-c;if(i0&&(this.changes=(0,l.b)(this.changes,t)),this.afterEOL=i,this.afterVersionId=n,this.afterCursorState=s}static _writeSelectionsSize(e){return 4+16*(e?e.length:0)}static _writeSelections(e,t,i){if(a.T4(e,t?t.length:0,i),i+=4,t)for(let n of t)a.T4(e,n.selectionStartLineNumber,i),i+=4,a.T4(e,n.selectionStartColumn,i),i+=4,a.T4(e,n.positionLineNumber,i),i+=4,a.T4(e,n.positionColumn,i),i+=4;return i}static _readSelections(e,t,i){let n=a.Ag(e,t);t+=4;for(let s=0;se.toString()).join(", ")}matchesResource(e){let t=r.o.isUri(this.model)?this.model:this.model.uri;return t.toString()===e.toString()}setModel(e){this.model=e}canAppend(e){return this.model===e&&this._data instanceof u}append(e,t,i,n,s){this._data instanceof u&&this._data.append(e,t,i,n,s)}close(){this._data instanceof u&&(this._data=this._data.serialize())}open(){this._data instanceof u||(this._data=u.deserialize(this._data))}undo(){if(r.o.isUri(this.model))throw Error("Invalid SingleModelEditStackElement");this._data instanceof u&&(this._data=this._data.serialize());let e=u.deserialize(this._data);this.model._applyUndo(e.changes,e.beforeEOL,e.beforeVersionId,e.beforeCursorState)}redo(){if(r.o.isUri(this.model))throw Error("Invalid SingleModelEditStackElement");this._data instanceof u&&(this._data=this._data.serialize());let e=u.deserialize(this._data);this.model._applyRedo(e.changes,e.afterEOL,e.afterVersionId,e.afterCursorState)}heapSize(){return this._data instanceof u&&(this._data=this._data.serialize()),this._data.byteLength+168}}class g{get resources(){return this._editStackElementsArr.map(e=>e.resource)}constructor(e,t,i){for(let n of(this.label=e,this.code=t,this.type=1,this._isOpen=!0,this._editStackElementsArr=i.slice(0),this._editStackElementsMap=new Map,this._editStackElementsArr)){let e=h(n.resource);this._editStackElementsMap.set(e,n)}this._delegate=null}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(e){let t=h(e);return this._editStackElementsMap.has(t)}setModel(e){let t=h(r.o.isUri(e)?e:e.uri);this._editStackElementsMap.has(t)&&this._editStackElementsMap.get(t).setModel(e)}canAppend(e){if(!this._isOpen)return!1;let t=h(e.uri);if(this._editStackElementsMap.has(t)){let i=this._editStackElementsMap.get(t);return i.canAppend(e)}return!1}append(e,t,i,n,s){let o=h(e.uri),r=this._editStackElementsMap.get(o);r.append(e,t,i,n,s)}close(){this._isOpen=!1}open(){}undo(){for(let e of(this._isOpen=!1,this._editStackElementsArr))e.undo()}redo(){for(let e of this._editStackElementsArr)e.redo()}heapSize(e){let t=h(e);if(this._editStackElementsMap.has(t)){let e=this._editStackElementsMap.get(t);return e.heapSize()}return 0}split(){return this._editStackElementsArr}toString(){let e=[];for(let t of this._editStackElementsArr)e.push(`${(0,d.EZ)(t.resource)}: ${t}`);return`{${e.join(", ")}}`}}function p(e){let t=e.getEOL();return"\n"===t?0:1}function m(e){return!!e&&(e instanceof c||e instanceof g)}class f{constructor(e,t){this._model=e,this._undoRedoService=t}pushStackElement(){let e=this._undoRedoService.getLastElement(this._model.uri);m(e)&&e.close()}popStackElement(){let e=this._undoRedoService.getLastElement(this._model.uri);m(e)&&e.open()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(e,t){let i=this._undoRedoService.getLastElement(this._model.uri);if(m(i)&&i.canAppend(this._model))return i;let s=new c(n.NC("edit","Typing"),"undoredo.textBufferEdit",this._model,e);return this._undoRedoService.pushElement(s,t),s}pushEOL(e){let t=this._getOrCreateEditStackElement(null,void 0);this._model.setEOL(e),t.append(this._model,[],p(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(e,t,i,n){let s=this._getOrCreateEditStackElement(e,n),o=this._model.applyEdits(t,!0),r=f._computeCursorState(i,o),l=o.map((e,t)=>({index:t,textChange:e.textChange}));return l.sort((e,t)=>e.textChange.oldPosition===t.textChange.oldPosition?e.index-t.index:e.textChange.oldPosition-t.textChange.oldPosition),s.append(this._model,l.map(e=>e.textChange),p(this._model),this._model.getAlternativeVersionId(),r),r}static _computeCursorState(e,t){try{return e?e(t):null}catch(e){return(0,s.dL)(e),null}}}},1957:function(e,t,i){"use strict";i.d(t,{W:function(){return c},l:function(){return u}});var n=i(70365),s=i(95612),o=i(64762),r=i(70209),l=i(74927),a=i(37042),d=i(98965),h=i(32378);class u extends l.U{constructor(e,t){super(),this.textModel=e,this.languageConfigurationService=t}getLanguageConfiguration(e){return this.languageConfigurationService.getLanguageConfiguration(e)}_computeIndentLevel(e){return(0,a.q)(this.textModel.getLineContent(e+1),this.textModel.getOptions().tabSize)}getActiveIndentGuide(e,t,i){this.assertNotDisposed();let n=this.textModel.getLineCount();if(e<1||e>n)throw new h.he("Illegal value for lineNumber");let s=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,o=!!(s&&s.offSide),r=-2,l=-1,a=-2,d=-1,u=e=>{if(-1!==r&&(-2===r||r>e-1)){r=-1,l=-1;for(let t=e-2;t>=0;t--){let e=this._computeIndentLevel(t);if(e>=0){r=t,l=e;break}}}if(-2===a){a=-1,d=-1;for(let t=e;t=0){a=t,d=e;break}}}},c=-2,g=-1,p=-2,m=-1,f=e=>{if(-2===c){c=-1,g=-1;for(let t=e-2;t>=0;t--){let e=this._computeIndentLevel(t);if(e>=0){c=t,g=e;break}}}if(-1!==p&&(-2===p||p=0){p=t,m=e;break}}}},_=0,v=!0,b=0,C=!0,w=0,y=0;for(let s=0;v||C;s++){let r=e-s,h=e+s;s>1&&(r<1||r1&&(h>n||h>i)&&(C=!1),s>5e4&&(v=!1,C=!1);let p=-1;if(v&&r>=1){let e=this._computeIndentLevel(r-1);e>=0?(a=r-1,d=e,p=Math.ceil(e/this.textModel.getOptions().indentSize)):(u(r),p=this._getIndentLevelForWhitespaceLine(o,l,d))}let S=-1;if(C&&h<=n){let e=this._computeIndentLevel(h-1);e>=0?(c=h-1,g=e,S=Math.ceil(e/this.textModel.getOptions().indentSize)):(f(h),S=this._getIndentLevelForWhitespaceLine(o,g,m))}if(0===s){y=p;continue}if(1===s){if(h<=n&&S>=0&&y+1===S){v=!1,_=h,b=h,w=S;continue}if(r>=1&&p>=0&&p-1===y){C=!1,_=r,b=r,w=p;continue}if(_=e,b=e,0===(w=y))break}v&&(p>=w?_=r:v=!1),C&&(S>=w?b=h:C=!1)}return{startLineNumber:_,endLineNumber:b,indent:w}}getLinesBracketGuides(e,t,i,o){var l;let a;let h=[];for(let i=e;i<=t;i++)h.push([]);let u=this.textModel.bracketPairs.getBracketPairsInRangeWithMinIndentation(new r.e(e,1,t,this.textModel.getLineMaxColumn(t))).toArray();if(i&&u.length>0){let s=(e<=i.lineNumber&&i.lineNumber<=t?u:this.textModel.bracketPairs.getBracketPairsInRange(r.e.fromPositions(i)).toArray()).filter(e=>r.e.strictContainsPosition(e.range,i));a=null===(l=(0,n.dF)(s,e=>!0))||void 0===l?void 0:l.range}let g=this.textModel.getOptions().bracketPairColorizationOptions.independentColorPoolPerBracketType,p=new c;for(let i of u){if(!i.closingBracketRange)continue;let n=a&&i.range.equalsRange(a);if(!n&&!o.includeInactive)continue;let r=p.getInlineClassName(i.nestingLevel,i.nestingLevelOfEqualBracketType,g)+(o.highlightActive&&n?" "+p.activeClassName:""),l=i.openingBracketRange.getStartPosition(),u=i.closingBracketRange.getStartPosition(),c=o.horizontalGuides===d.s6.Enabled||o.horizontalGuides===d.s6.EnabledForActive&&n;if(i.range.startLineNumber===i.range.endLineNumber){c&&h[i.range.startLineNumber-e].push(new d.UO(-1,i.openingBracketRange.getEndPosition().column,r,new d.vW(!1,u.column),-1,-1));continue}let m=this.getVisibleColumnFromPosition(u),f=this.getVisibleColumnFromPosition(i.openingBracketRange.getStartPosition()),_=Math.min(f,m,i.minVisibleColumnIndentation+1),v=!1,b=s.LC(this.textModel.getLineContent(i.closingBracketRange.startLineNumber)),C=b=e&&f>_&&h[l.lineNumber-e].push(new d.UO(_,-1,r,new d.vW(!1,l.column),-1,-1)),u.lineNumber<=t&&m>_&&h[u.lineNumber-e].push(new d.UO(_,-1,r,new d.vW(!v,u.column),-1,-1)))}for(let e of h)e.sort((e,t)=>e.visibleColumn-t.visibleColumn);return h}getVisibleColumnFromPosition(e){return o.i.visibleColumnFromColumn(this.textModel.getLineContent(e.lineNumber),e.column,this.textModel.getOptions().tabSize)+1}getLinesIndentGuides(e,t){this.assertNotDisposed();let i=this.textModel.getLineCount();if(e<1||e>i)throw Error("Illegal value for startLineNumber");if(t<1||t>i)throw Error("Illegal value for endLineNumber");let n=this.textModel.getOptions(),s=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,o=!!(s&&s.offSide),r=Array(t-e+1),l=-2,a=-1,d=-2,h=-1;for(let s=e;s<=t;s++){let t=s-e,u=this._computeIndentLevel(s-1);if(u>=0){l=s-1,a=u,r[t]=Math.ceil(u/n.indentSize);continue}if(-2===l){l=-1,a=-1;for(let e=s-2;e>=0;e--){let t=this._computeIndentLevel(e);if(t>=0){l=e,a=t;break}}}if(-1!==d&&(-2===d||d=0){d=e,h=t;break}}}r[t]=this._getIndentLevelForWhitespaceLine(o,a,h)}return r}_getIndentLevelForWhitespaceLine(e,t,i){let n=this.textModel.getOptions();return -1===t||-1===i?0:t=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=(0,s.A)(e),t=(0,s.A)(t),this.values[e]!==t&&(this.values[e]=t,e-1=i.length)return!1;let o=i.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(i.length-t),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=(0,s.A)(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let i=t;i<=e;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,i=this.values.length-1,n=0,s=0,o=0;for(;t<=i;)if(n=t+(i-t)/2|0,e<(o=(s=this.prefixSum[n])-this.values[n]))i=n-1;else if(e>=s)t=n+1;else break;return new l(n,e-o)}}class r{constructor(e){this._values=e,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(e){return(this._ensureValid(),0===e)?0:this._prefixSum[e-1]}getIndexOf(e){this._ensureValid();let t=this._indexBySum[e],i=t>0?this._prefixSum[t-1]:0;return new l(t,e-i)}removeValues(e,t){this._values.splice(e,t),this._invalidate(e)}insertValues(e,t){this._values=(0,n.Zv)(this._values,e,t),this._invalidate(e)}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let e=this._validEndIndex+1,t=this._values.length;e0?this._prefixSum[e-1]:0;this._prefixSum[e]=i+t;for(let n=0;nnew D.Q((0,N.Hg)(e.fromLineNumber-1,0),(0,N.Hg)(e.toLineNumber,0),(0,N.Hg)(e.toLineNumber-e.fromLineNumber+1,0)));this.handleEdits(t,!0),this.initialAstWithoutTokens||this.didChangeEmitter.fire()}handleContentChanged(e){let t=D.Q.fromModelContentChanges(e.changes);this.handleEdits(t,!1)}handleEdits(e,t){let i=(0,M.o)(this.queuedTextEdits,e);this.queuedTextEdits=i,this.initialAstWithoutTokens&&!t&&(this.queuedTextEditsForInitialAstWithoutTokens=(0,M.o)(this.queuedTextEditsForInitialAstWithoutTokens,e))}flushQueue(){this.queuedTextEdits.length>0&&(this.astWithTokens=this.parseDocumentFromTextBuffer(this.queuedTextEdits,this.astWithTokens,!1),this.queuedTextEdits=[]),this.queuedTextEditsForInitialAstWithoutTokens.length>0&&(this.initialAstWithoutTokens&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer(this.queuedTextEditsForInitialAstWithoutTokens,this.initialAstWithoutTokens,!1)),this.queuedTextEditsForInitialAstWithoutTokens=[])}parseDocumentFromTextBuffer(e,t,i){let n=new T.xH(this.textModel,this.brackets),s=(0,E.w)(n,e,t,i);return s}getBracketsInRange(e,t){this.flushQueue();let i=(0,N.Hg)(e.startLineNumber-1,e.startColumn-1),n=(0,N.Hg)(e.endLineNumber-1,e.endColumn-1);return new s.W$(e=>{let s=this.initialAstWithoutTokens||this.astWithTokens;!function e(t,i,n,s,o,r,l,a,d,h,u=!1){if(l>200)return!0;i:for(;;)switch(t.kind){case 4:{let a=t.childrenLength;for(let u=0;u{let s=this.initialAstWithoutTokens||this.astWithTokens,o=new A(e,t,this.textModel);!function e(t,i,n,s,o,r,l,a){var d;if(l>200)return!0;let h=!0;if(2===t.kind){let u=0;if(a){let e=a.get(t.openingBracket.text);void 0===e&&(e=0),u=e,e++,a.set(t.openingBracket.text,e)}let c=(0,N.Ii)(i,t.openingBracket.length),g=-1;if(r.includeMinIndentation&&(g=t.computeMinIndentation(i,r.textModel)),h=r.push(new k((0,N.Qw)(i,n),(0,N.Qw)(i,c),t.closingBracket?(0,N.Qw)((0,N.Ii)(c,(null===(d=t.child)||void 0===d?void 0:d.length)||N.xl),n):void 0,l,u,t,g)),i=c,h&&t.child){let d=t.child;if(n=(0,N.Ii)(i,d.length),(0,N.By)(i,o)&&(0,N.Zq)(n,s)&&!(h=e(d,i,n,s,o,r,l+1,a)))return!1}null==a||a.set(t.openingBracket.text,u)}else{let n=i;for(let i of t.children){let t=n;if(n=(0,N.Ii)(n,i.length),(0,N.By)(t,o)&&(0,N.By)(s,n)&&!(h=e(i,t,n,s,o,r,l,a)))return!1}}return h}(s,N.xl,s.length,i,n,o,0,new Map)})}getFirstBracketAfter(e){this.flushQueue();let t=this.initialAstWithoutTokens||this.astWithTokens;return function e(t,i,n,s){if(4===t.kind||2===t.kind)for(let o of t.children){if(n=(0,N.Ii)(i,o.length),(0,N.VR)(s,n)){let t=e(o,i,n,s);if(t)return t}i=n}else if(3===t.kind);else if(1===t.kind){let e=(0,N.Qw)(i,n);return{bracketInfo:t.bracketInfo,range:e}}return null}(t,N.xl,t.length,(0,N.PZ)(e))}getFirstBracketBefore(e){this.flushQueue();let t=this.initialAstWithoutTokens||this.astWithTokens;return function e(t,i,n,s){if(4===t.kind||2===t.kind){let o=[];for(let e of t.children)n=(0,N.Ii)(i,e.length),o.push({nodeOffsetStart:i,nodeOffsetEnd:n}),i=n;for(let i=o.length-1;i>=0;i--){let{nodeOffsetStart:n,nodeOffsetEnd:r}=o[i];if((0,N.VR)(n,s)){let o=e(t.children[i],n,r,s);if(o)return o}}}else if(3===t.kind);else if(1===t.kind){let e=(0,N.Qw)(i,n);return{bracketInfo:t.bracketInfo,range:e}}return null}(t,N.xl,t.length,(0,N.PZ)(e))}}class A{constructor(e,t,i){this.push=e,this.includeMinIndentation=t,this.textModel=i}}class P extends a.JT{get canBuildAST(){return 5e6>=this.textModel.getValueLength()}constructor(e,t){super(),this.textModel=e,this.languageConfigurationService=t,this.bracketPairsTree=this._register(new a.XK),this.onDidChangeEmitter=new l.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.bracketsRequested=!1,this._register(this.languageConfigurationService.onDidChange(e=>{var t;(!e.languageId||(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.didLanguageChange(e.languageId)))&&(this.bracketPairsTree.clear(),this.updateBracketPairsTree())}))}handleDidChangeOptions(e){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeLanguage(e){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeContent(e){var t;null===(t=this.bracketPairsTree.value)||void 0===t||t.object.handleContentChanged(e)}handleDidChangeBackgroundTokenizationState(){var e;null===(e=this.bracketPairsTree.value)||void 0===e||e.object.handleDidChangeBackgroundTokenizationState()}handleDidChangeTokens(e){var t;null===(t=this.bracketPairsTree.value)||void 0===t||t.object.handleDidChangeTokens(e)}updateBracketPairsTree(){if(this.bracketsRequested&&this.canBuildAST){if(!this.bracketPairsTree.value){let e=new a.SL;this.bracketPairsTree.value={object:e.add(new R(this.textModel,e=>this.languageConfigurationService.getLanguageConfiguration(e))),dispose:()=>null==e?void 0:e.dispose()},e.add(this.bracketPairsTree.value.object.onDidChange(e=>this.onDidChangeEmitter.fire(e))),this.onDidChangeEmitter.fire()}}else this.bracketPairsTree.value&&(this.bracketPairsTree.clear(),this.onDidChangeEmitter.fire())}getBracketPairsInRange(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getBracketPairsInRange(e,!1))||s.W$.empty}getBracketPairsInRangeWithMinIndentation(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getBracketPairsInRange(e,!0))||s.W$.empty}getBracketsInRange(e,t=!1){var i;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(i=this.bracketPairsTree.value)||void 0===i?void 0:i.object.getBracketsInRange(e,t))||s.W$.empty}findMatchingBracketUp(e,t,i){let n=this.textModel.validatePosition(t),s=this.textModel.getLanguageIdAtPosition(n.lineNumber,n.column);if(this.canBuildAST){let i=this.languageConfigurationService.getLanguageConfiguration(s).bracketsNew.getClosingBracketInfo(e);if(!i)return null;let n=this.getBracketPairsInRange(m.e.fromPositions(t,t)).findLast(e=>i.closes(e.openingBracketInfo));return n?n.openingBracketRange:null}{let t=e.toLowerCase(),o=this.languageConfigurationService.getLanguageConfiguration(s).brackets;if(!o)return null;let r=o.textIsBracket[t];return r?B(this._findMatchingBracketUp(r,n,O(i))):null}}matchBracket(e,t){if(this.canBuildAST){let t=this.getBracketPairsInRange(m.e.fromPositions(e,e)).filter(t=>void 0!==t.closingBracketRange&&(t.openingBracketRange.containsPosition(e)||t.closingBracketRange.containsPosition(e))).findLastMaxBy((0,s.tT)(t=>t.openingBracketRange.containsPosition(e)?t.openingBracketRange:t.closingBracketRange,m.e.compareRangesUsingStarts));return t?[t.openingBracketRange,t.closingBracketRange]:null}{let i=O(t);return this._matchBracket(this.textModel.validatePosition(e),i)}}_establishBracketSearchOffsets(e,t,i,n){let s=t.getCount(),o=t.getLanguageId(n),r=Math.max(0,e.column-1-i.maxBracketLength);for(let e=n-1;e>=0;e--){let i=t.getEndOffset(e);if(i<=r)break;if((0,w.Bu)(t.getStandardTokenType(e))||t.getLanguageId(e)!==o){r=i;break}}let l=Math.min(t.getLineContent().length,e.column-1+i.maxBracketLength);for(let e=n+1;e=l)break;if((0,w.Bu)(t.getStandardTokenType(e))||t.getLanguageId(e)!==o){l=i;break}}return{searchStartOffset:r,searchEndOffset:l}}_matchBracket(e,t){let i=e.lineNumber,n=this.textModel.tokenization.getLineTokens(i),s=this.textModel.getLineContent(i),o=n.findTokenIndexAtOffset(e.column-1);if(o<0)return null;let r=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId(o)).brackets;if(r&&!(0,w.Bu)(n.getStandardTokenType(o))){let{searchStartOffset:l,searchEndOffset:a}=this._establishBracketSearchOffsets(e,n,r,o),d=null;for(;;){let n=y.Vr.findNextBracketInRange(r.forwardRegex,i,s,l,a);if(!n)break;if(n.startColumn<=e.column&&e.column<=n.endColumn){let e=s.substring(n.startColumn-1,n.endColumn-1).toLowerCase(),i=this._matchFoundBracket(n,r.textIsBracket[e],r.textIsOpenBracket[e],t);if(i){if(i instanceof F)return null;d=i}}l=n.endColumn-1}if(d)return d}if(o>0&&n.getStartOffset(o)===e.column-1){let r=o-1,l=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId(r)).brackets;if(l&&!(0,w.Bu)(n.getStandardTokenType(r))){let{searchStartOffset:o,searchEndOffset:a}=this._establishBracketSearchOffsets(e,n,l,r),d=y.Vr.findPrevBracketInRange(l.reversedRegex,i,s,o,a);if(d&&d.startColumn<=e.column&&e.column<=d.endColumn){let e=s.substring(d.startColumn-1,d.endColumn-1).toLowerCase(),i=this._matchFoundBracket(d,l.textIsBracket[e],l.textIsOpenBracket[e],t);if(i)return i instanceof F?null:i}}}return null}_matchFoundBracket(e,t,i,n){if(!t)return null;let s=i?this._findMatchingBracketDown(t,e.getEndPosition(),n):this._findMatchingBracketUp(t,e.getStartPosition(),n);return s?s instanceof F?s:[e,s]:null}_findMatchingBracketUp(e,t,i){let n=e.languageId,s=e.reversedRegex,o=-1,r=0,l=(t,n,l,a)=>{for(;;){if(i&&++r%100==0&&!i())return F.INSTANCE;let d=y.Vr.findPrevBracketInRange(s,t,n,l,a);if(!d)break;let h=n.substring(d.startColumn-1,d.endColumn-1).toLowerCase();if(e.isOpen(h)?o++:e.isClose(h)&&o--,0===o)return d;a=d.startColumn-1}return null};for(let e=t.lineNumber;e>=1;e--){let i=this.textModel.tokenization.getLineTokens(e),s=i.getCount(),o=this.textModel.getLineContent(e),r=s-1,a=o.length,d=o.length;e===t.lineNumber&&(r=i.findTokenIndexAtOffset(t.column-1),a=t.column-1,d=t.column-1);let h=!0;for(;r>=0;r--){let t=i.getLanguageId(r)===n&&!(0,w.Bu)(i.getStandardTokenType(r));if(t)h?a=i.getStartOffset(r):(a=i.getStartOffset(r),d=i.getEndOffset(r));else if(h&&a!==d){let t=l(e,o,a,d);if(t)return t}h=t}if(h&&a!==d){let t=l(e,o,a,d);if(t)return t}}return null}_findMatchingBracketDown(e,t,i){let n=e.languageId,s=e.forwardRegex,o=1,r=0,l=(t,n,l,a)=>{for(;;){if(i&&++r%100==0&&!i())return F.INSTANCE;let d=y.Vr.findNextBracketInRange(s,t,n,l,a);if(!d)break;let h=n.substring(d.startColumn-1,d.endColumn-1).toLowerCase();if(e.isOpen(h)?o++:e.isClose(h)&&o--,0===o)return d;l=d.endColumn-1}return null},a=this.textModel.getLineCount();for(let e=t.lineNumber;e<=a;e++){let i=this.textModel.tokenization.getLineTokens(e),s=i.getCount(),o=this.textModel.getLineContent(e),r=0,a=0,d=0;e===t.lineNumber&&(r=i.findTokenIndexAtOffset(t.column-1),a=t.column-1,d=t.column-1);let h=!0;for(;r=1;e--){let t=this.textModel.tokenization.getLineTokens(e),r=t.getCount(),l=this.textModel.getLineContent(e),a=r-1,d=l.length,h=l.length;if(e===i.lineNumber){a=t.findTokenIndexAtOffset(i.column-1),d=i.column-1,h=i.column-1;let e=t.getLanguageId(a);n!==e&&(n=e,s=this.languageConfigurationService.getLanguageConfiguration(n).brackets,o=this.languageConfigurationService.getLanguageConfiguration(n).bracketsNew)}let u=!0;for(;a>=0;a--){let i=t.getLanguageId(a);if(n!==i){if(s&&o&&u&&d!==h){let t=y.Vr.findPrevBracketInRange(s.reversedRegex,e,l,d,h);if(t)return this._toFoundBracket(o,t);u=!1}n=i,s=this.languageConfigurationService.getLanguageConfiguration(n).brackets,o=this.languageConfigurationService.getLanguageConfiguration(n).bracketsNew}let r=!!s&&!(0,w.Bu)(t.getStandardTokenType(a));if(r)u?d=t.getStartOffset(a):(d=t.getStartOffset(a),h=t.getEndOffset(a));else if(o&&s&&u&&d!==h){let t=y.Vr.findPrevBracketInRange(s.reversedRegex,e,l,d,h);if(t)return this._toFoundBracket(o,t)}u=r}if(o&&s&&u&&d!==h){let t=y.Vr.findPrevBracketInRange(s.reversedRegex,e,l,d,h);if(t)return this._toFoundBracket(o,t)}}return null}findNextBracket(e){var t;let i=this.textModel.validatePosition(e);if(this.canBuildAST)return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getFirstBracketAfter(i))||null;let n=this.textModel.getLineCount(),s=null,o=null,r=null;for(let e=i.lineNumber;e<=n;e++){let t=this.textModel.tokenization.getLineTokens(e),n=t.getCount(),l=this.textModel.getLineContent(e),a=0,d=0,h=0;if(e===i.lineNumber){a=t.findTokenIndexAtOffset(i.column-1),d=i.column-1,h=i.column-1;let e=t.getLanguageId(a);s!==e&&(s=e,o=this.languageConfigurationService.getLanguageConfiguration(s).brackets,r=this.languageConfigurationService.getLanguageConfiguration(s).bracketsNew)}let u=!0;for(;avoid 0!==t.closingBracketRange&&t.range.strictContainsRange(e));return t?[t.openingBracketRange,t.closingBracketRange]:null}let n=O(t),s=this.textModel.getLineCount(),o=new Map,r=[],l=(e,t)=>{if(!o.has(e)){let i=[];for(let e=0,n=t?t.brackets.length:0;e{for(;;){if(n&&++a%100==0&&!n())return F.INSTANCE;let l=y.Vr.findNextBracketInRange(e.forwardRegex,t,i,s,o);if(!l)break;let d=i.substring(l.startColumn-1,l.endColumn-1).toLowerCase(),h=e.textIsBracket[d];if(h&&(h.isOpen(d)?r[h.index]++:h.isClose(d)&&r[h.index]--,-1===r[h.index]))return this._matchFoundBracket(l,h,!1,n);s=l.endColumn-1}return null},h=null,u=null;for(let e=i.lineNumber;e<=s;e++){let t=this.textModel.tokenization.getLineTokens(e),n=t.getCount(),s=this.textModel.getLineContent(e),o=0,r=0,a=0;if(e===i.lineNumber){o=t.findTokenIndexAtOffset(i.column-1),r=i.column-1,a=i.column-1;let e=t.getLanguageId(o);h!==e&&(h=e,u=this.languageConfigurationService.getLanguageConfiguration(h).brackets,l(h,u))}let c=!0;for(;o!0;{let t=Date.now();return()=>Date.now()-t<=e}}class F{constructor(){this._searchCanceledBrand=void 0}}function B(e){return e instanceof F?null:e}F.INSTANCE=new F;var W=i(34109),H=i(55150);class V extends a.JT{constructor(e){super(),this.textModel=e,this.colorProvider=new z,this.onDidChangeEmitter=new l.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.colorizationOptions=e.getOptions().bracketPairColorizationOptions,this._register(e.bracketPairs.onDidChange(e=>{this.onDidChangeEmitter.fire()}))}handleDidChangeOptions(e){this.colorizationOptions=this.textModel.getOptions().bracketPairColorizationOptions}getDecorationsInRange(e,t,i,n){if(n||void 0===t||!this.colorizationOptions.enabled)return[];let s=this.textModel.bracketPairs.getBracketsInRange(e,!0).map(e=>({id:`bracket${e.range.toString()}-${e.nestingLevel}`,options:{description:"BracketPairColorization",inlineClassName:this.colorProvider.getInlineClassName(e,this.colorizationOptions.independentColorPoolPerBracketType)},ownerId:0,range:e.range})).toArray();return s}getAllDecorations(e,t){return void 0!==e&&this.colorizationOptions.enabled?this.getDecorationsInRange(new m.e(1,1,this.textModel.getLineCount(),1),e,t):[]}}class z{constructor(){this.unexpectedClosingBracketClassName="unexpected-closing-bracket"}getInlineClassName(e,t){return e.isInvalid?this.unexpectedClosingBracketClassName:this.getInlineClassNameOfLevel(t?e.nestingLevelOfEqualBracketType:e.nestingLevel)}getInlineClassNameOfLevel(e){return`bracket-highlighting-${e%30}`}}(0,H.Ic)((e,t)=>{let i=[W.zJ,W.Vs,W.CE,W.UP,W.r0,W.m1],n=new z;t.addRule(`.monaco-editor .${n.unexpectedClosingBracketClassName} { color: ${e.getColor(W.ts)}; }`);let s=i.map(t=>e.getColor(t)).filter(e=>!!e).filter(e=>!e.isTransparent());for(let e=0;e<30;e++){let i=s[e%s.length];t.addRule(`.monaco-editor .${n.getInlineClassNameOfLevel(e)} { color: ${i}; }`)}});var K=i(64799),U=i(1957);class ${constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function q(e,t,i){let n=Math.min(e.getLineCount(),1e4),s=0,o=0,r="",l=0,a=[0,0,0,0,0,0,0,0,0],d=new $;for(let h=1;h<=n;h++){let n=e.getLineLength(h),u=e.getLineContent(h),c=n<=65536,g=!1,p=0,m=0,f=0;for(let t=0;t0?s++:m>1&&o++,!function(e,t,i,n,s){let o;for(o=0,s.spacesDiff=0,s.looksLikeAlignment=!1;o0&&l>0||a>0&&d>0)return;let h=Math.abs(l-d),u=Math.abs(r-a);if(0===h){s.spacesDiff=u,u>0&&0<=a-1&&a-1{let i=a[t];i>e&&(e=i,u=t)}),4===u&&a[4]>0&&a[2]>0&&a[2]>=a[4]/2&&(u=2)}return{insertSpaces:h,tabSize:u}}function j(e){return(1&e.metadata)>>>0}function G(e,t){e.metadata=254&e.metadata|t<<0}function Q(e){return(2&e.metadata)>>>1==1}function Z(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function Y(e){return(4&e.metadata)>>>2==1}function J(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function X(e){return(64&e.metadata)>>>6==1}function ee(e,t){e.metadata=191&e.metadata|(t?1:0)<<6}function et(e,t){e.metadata=231&e.metadata|t<<3}function ei(e,t){e.metadata=223&e.metadata|(t?1:0)<<5}class en{constructor(e,t,i){this.metadata=0,this.parent=this,this.left=this,this.right=this,G(this,1),this.start=t,this.end=i,this.delta=0,this.maxEnd=i,this.id=e,this.ownerId=0,this.options=null,J(this,!1),ee(this,!1),et(this,1),ei(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=i,this.range=null,Z(this,!1)}reset(e,t,i,n){this.start=t,this.end=i,this.maxEnd=i,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=i,this.range=n}setOptions(e){this.options=e;let t=this.options.className;J(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),ee(this,null!==this.options.glyphMarginClassName),et(this,this.options.stickiness),ei(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(e,t,i){this.cachedVersionId!==i&&(this.range=null),this.cachedVersionId=i,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t}detach(){this.parent=null,this.left=null,this.right=null}}let es=new en(null,0,0);es.parent=es,es.left=es,es.right=es,G(es,0);class eo{constructor(){this.root=es,this.requestNormalizeDelta=!1}intervalSearch(e,t,i,n,s,o){return this.root===es?[]:function(e,t,i,n,s,o,r){let l=e.root,a=0,d=0,h=0,u=[],c=0;for(;l!==es;){if(Q(l)){Z(l.left,!1),Z(l.right,!1),l===l.parent.right&&(a-=l.parent.delta),l=l.parent;continue}if(!Q(l.left)){if(a+l.maxEndi){Z(l,!0);continue}if((h=a+l.end)>=t){l.setCachedOffsets(d,h,o);let e=!0;n&&l.ownerId&&l.ownerId!==n&&(e=!1),s&&Y(l)&&(e=!1),r&&!X(l)&&(e=!1),e&&(u[c++]=l)}if(Z(l,!0),l.right!==es&&!Q(l.right)){a+=l.delta,l=l.right;continue}}return Z(e.root,!1),u}(this,e,t,i,n,s,o)}search(e,t,i,n){return this.root===es?[]:function(e,t,i,n,s){let o=e.root,r=0,l=0,a=0,d=[],h=0;for(;o!==es;){if(Q(o)){Z(o.left,!1),Z(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),o=o.parent;continue}if(o.left!==es&&!Q(o.left)){o=o.left;continue}l=r+o.start,a=r+o.end,o.setCachedOffsets(l,a,n);let e=!0;if(t&&o.ownerId&&o.ownerId!==t&&(e=!1),i&&Y(o)&&(e=!1),s&&!X(o)&&(e=!1),e&&(d[h++]=o),Z(o,!0),o.right!==es&&!Q(o.right)){r+=o.delta,o=o.right;continue}}return Z(e.root,!1),d}(this,e,t,i,n)}collectNodesFromOwner(e){return function(e,t){let i=e.root,n=[],s=0;for(;i!==es;){if(Q(i)){Z(i.left,!1),Z(i.right,!1),i=i.parent;continue}if(i.left!==es&&!Q(i.left)){i=i.left;continue}if(i.ownerId===t&&(n[s++]=i),Z(i,!0),i.right!==es&&!Q(i.right)){i=i.right;continue}}return Z(e.root,!1),n}(this,e)}collectNodesPostOrder(){return function(e){let t=e.root,i=[],n=0;for(;t!==es;){if(Q(t)){Z(t.left,!1),Z(t.right,!1),t=t.parent;continue}if(t.left!==es&&!Q(t.left)){t=t.left;continue}if(t.right!==es&&!Q(t.right)){t=t.right;continue}i[n++]=t,Z(t,!0)}return Z(e.root,!1),i}(this)}insert(e){el(this,e),this._normalizeDeltaIfNecessary()}delete(e){ea(this,e),this._normalizeDeltaIfNecessary()}resolveNode(e,t){let i=e,n=0;for(;e!==this.root;)e===e.parent.right&&(n+=e.parent.delta),e=e.parent;let s=i.start+n,o=i.end+n;i.setCachedOffsets(s,o,t)}acceptReplace(e,t,i,n){let s=function(e,t,i){let n=e.root,s=0,o=0,r=0,l=[],a=0;for(;n!==es;){if(Q(n)){Z(n.left,!1),Z(n.right,!1),n===n.parent.right&&(s-=n.parent.delta),n=n.parent;continue}if(!Q(n.left)){if(s+n.maxEndi){Z(n,!0);continue}if((r=s+n.end)>=t&&(n.setCachedOffsets(o,r,0),l[a++]=n),Z(n,!0),n.right!==es&&!Q(n.right)){s+=n.delta,n=n.right;continue}}return Z(e.root,!1),l}(this,e,e+t);for(let e=0,t=s.length;ei){s.start+=r,s.end+=r,s.delta+=r,(s.delta<-1073741824||s.delta>1073741824)&&(e.requestNormalizeDelta=!0),Z(s,!0);continue}if(Z(s,!0),s.right!==es&&!Q(s.right)){o+=s.delta,s=s.right;continue}}Z(e.root,!1)}(this,e,e+t,i),this._normalizeDeltaIfNecessary();for(let o=0,r=s.length;o>>3,r=0===o||2===o,l=1===o||2===o,a=i-t,d=Math.min(a,n),h=e.start,u=!1,c=e.end,g=!1;t<=h&&c<=i&&(32&e.metadata)>>>5==1&&(e.start=t,u=!0,e.end=t,g=!0);{let e=s?1:a>0?2:0;!u&&er(h,r,t,e)&&(u=!0),!g&&er(c,l,t,e)&&(g=!0)}if(d>0&&!s){let e=a>n?2:0;!u&&er(h,r,t+d,e)&&(u=!0),!g&&er(c,l,t+d,e)&&(g=!0)}{let o=s?1:0;!u&&er(h,r,i,o)&&(e.start=t+n,u=!0),!g&&er(c,l,i,o)&&(e.end=t+n,g=!0)}let p=n-a;u||(e.start=Math.max(0,h+p)),g||(e.end=Math.max(0,c+p)),e.start>e.end&&(e.end=e.start)}(r,e,e+t,i,n),r.maxEnd=r.end,el(this,r)}this._normalizeDeltaIfNecessary()}_normalizeDeltaIfNecessary(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,function(e){let t=e.root,i=0;for(;t!==es;){if(t.left!==es&&!Q(t.left)){t=t.left;continue}if(t.right!==es&&!Q(t.right)){i+=t.delta,t=t.right;continue}t.start=i+t.start,t.end=i+t.end,t.delta=0,eg(t),Z(t,!0),Z(t.left,!1),Z(t.right,!1),t===t.parent.right&&(i-=t.parent.delta),t=t.parent}Z(e.root,!1)}(this))}}function er(e,t,i,n){return ei)&&1!==n&&(2===n||t)}function el(e,t){if(e.root===es)return t.parent=es,t.left=es,t.right=es,G(t,0),e.root=t,e.root;(function(e,t){let i=0,n=e.root,s=t.start,o=t.end;for(;;){var r,l;let e=(r=n.start+i,l=n.end+i,s===r?o-l:s-r);if(e<0){if(n.left===es){t.start-=i,t.end-=i,t.maxEnd-=i,n.left=t;break}n=n.left}else{if(n.right===es){t.start-=i+n.delta,t.end-=i+n.delta,t.maxEnd-=i+n.delta,n.right=t;break}i+=n.delta,n=n.right}}t.parent=n,t.left=es,t.right=es,G(t,1)})(e,t),ep(t.parent);let i=t;for(;i!==e.root&&1===j(i.parent);)if(i.parent===i.parent.parent.left){let t=i.parent.parent.right;1===j(t)?(G(i.parent,0),G(t,0),G(i.parent.parent,1),i=i.parent.parent):(i===i.parent.right&&eh(e,i=i.parent),G(i.parent,0),G(i.parent.parent,1),eu(e,i.parent.parent))}else{let t=i.parent.parent.left;1===j(t)?(G(i.parent,0),G(t,0),G(i.parent.parent,1),i=i.parent.parent):(i===i.parent.left&&eu(e,i=i.parent),G(i.parent,0),G(i.parent.parent,1),eh(e,i.parent.parent))}return G(e.root,0),t}function ea(e,t){let i,n,s;if(t.left===es?(i=t.right,n=t,i.delta+=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta):t.right===es?(i=t.left,n=t):(i=(n=function(e){for(;e.left!==es;)e=e.left;return e}(t.right)).right,i.start+=n.delta,i.end+=n.delta,i.delta+=n.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,n.delta=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0)),n===e.root){e.root=i,G(i,0),t.detach(),ed(),eg(i),e.root.parent=es;return}let o=1===j(n);if(n===n.parent.left?n.parent.left=i:n.parent.right=i,n===t?i.parent=n.parent:(n.parent===t?i.parent=n:i.parent=n.parent,n.left=t.left,n.right=t.right,n.parent=t.parent,G(n,j(t)),t===e.root?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left!==es&&(n.left.parent=n),n.right!==es&&(n.right.parent=n)),t.detach(),o){ep(i.parent),n!==t&&(ep(n),ep(n.parent)),ed();return}for(ep(i),ep(i.parent),n!==t&&(ep(n),ep(n.parent));i!==e.root&&0===j(i);)i===i.parent.left?(1===j(s=i.parent.right)&&(G(s,0),G(i.parent,1),eh(e,i.parent),s=i.parent.right),0===j(s.left)&&0===j(s.right)?(G(s,1),i=i.parent):(0===j(s.right)&&(G(s.left,0),G(s,1),eu(e,s),s=i.parent.right),G(s,j(i.parent)),G(i.parent,0),G(s.right,0),eh(e,i.parent),i=e.root)):(1===j(s=i.parent.left)&&(G(s,0),G(i.parent,1),eu(e,i.parent),s=i.parent.left),0===j(s.left)&&0===j(s.right)?(G(s,1),i=i.parent):(0===j(s.left)&&(G(s.right,0),G(s,1),eh(e,s),s=i.parent.left),G(s,j(i.parent)),G(i.parent,0),G(s.left,0),eu(e,i.parent),i=e.root));G(i,0),ed()}function ed(){es.parent=es,es.delta=0,es.start=0,es.end=0}function eh(e,t){let i=t.right;i.delta+=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta,t.right=i.left,i.left!==es&&(i.left.parent=t),i.parent=t.parent,t.parent===es?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left=t,t.parent=i,eg(t),eg(i)}function eu(e,t){let i=t.left;t.delta-=i.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=i.delta,t.end-=i.delta,t.left=i.right,i.right!==es&&(i.right.parent=t),i.parent=t.parent,t.parent===es?e.root=i:t===t.parent.right?t.parent.right=i:t.parent.left=i,i.right=t,t.parent=i,eg(t),eg(i)}function ec(e){let t=e.end;if(e.left!==es){let i=e.left.maxEnd;i>t&&(t=i)}if(e.right!==es){let i=e.right.maxEnd+e.delta;i>t&&(t=i)}return t}function eg(e){e.maxEnd=ec(e)}function ep(e){for(;e!==es;){let t=ec(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}class em{constructor(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==ef)return e_(this.right);let e=this;for(;e.parent!==ef&&e.parent.left!==e;)e=e.parent;return e.parent===ef?ef:e.parent}prev(){if(this.left!==ef)return ev(this.left);let e=this;for(;e.parent!==ef&&e.parent.right!==e;)e=e.parent;return e.parent===ef?ef:e.parent}detach(){this.parent=null,this.left=null,this.right=null}}let ef=new em(null,0);function e_(e){for(;e.left!==ef;)e=e.left;return e}function ev(e){for(;e.right!==ef;)e=e.right;return e}function eb(e){return e===ef?0:e.size_left+e.piece.length+eb(e.right)}function eC(e){return e===ef?0:e.lf_left+e.piece.lineFeedCnt+eC(e.right)}function ew(){ef.parent=ef}function ey(e,t){let i=t.right;i.size_left+=t.size_left+(t.piece?t.piece.length:0),i.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=i.left,i.left!==ef&&(i.left.parent=t),i.parent=t.parent,t.parent===ef?e.root=i:t.parent.left===t?t.parent.left=i:t.parent.right=i,i.left=t,t.parent=i}function eS(e,t){let i=t.left;t.left=i.right,i.right!==ef&&(i.right.parent=t),i.parent=t.parent,t.size_left-=i.size_left+(i.piece?i.piece.length:0),t.lf_left-=i.lf_left+(i.piece?i.piece.lineFeedCnt:0),t.parent===ef?e.root=i:t===t.parent.right?t.parent.right=i:t.parent.left=i,i.right=t,t.parent=i}function eL(e,t){let i,n,s;if(i=t.left===ef?(n=t).right:t.right===ef?(n=t).left:(n=e_(t.right)).right,n===e.root){e.root=i,i.color=0,t.detach(),ew(),e.root.parent=ef;return}let o=1===n.color;if(n===n.parent.left?n.parent.left=i:n.parent.right=i,n===t?(i.parent=n.parent,ex(e,i)):(n.parent===t?i.parent=n:i.parent=n.parent,ex(e,i),n.left=t.left,n.right=t.right,n.parent=t.parent,n.color=t.color,t===e.root?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left!==ef&&(n.left.parent=n),n.right!==ef&&(n.right.parent=n),n.size_left=t.size_left,n.lf_left=t.lf_left,ex(e,n)),t.detach(),i.parent.left===i){let t=eb(i),n=eC(i);if(t!==i.parent.size_left||n!==i.parent.lf_left){let s=t-i.parent.size_left,o=n-i.parent.lf_left;i.parent.size_left=t,i.parent.lf_left=n,eD(e,i.parent,s,o)}}if(ex(e,i.parent),o){ew();return}for(;i!==e.root&&0===i.color;)i===i.parent.left?(1===(s=i.parent.right).color&&(s.color=0,i.parent.color=1,ey(e,i.parent),s=i.parent.right),0===s.left.color&&0===s.right.color?(s.color=1,i=i.parent):(0===s.right.color&&(s.left.color=0,s.color=1,eS(e,s),s=i.parent.right),s.color=i.parent.color,i.parent.color=0,s.right.color=0,ey(e,i.parent),i=e.root)):(1===(s=i.parent.left).color&&(s.color=0,i.parent.color=1,eS(e,i.parent),s=i.parent.left),0===s.left.color&&0===s.right.color?(s.color=1,i=i.parent):(0===s.left.color&&(s.right.color=0,s.color=1,ey(e,s),s=i.parent.left),s.color=i.parent.color,i.parent.color=0,s.left.color=0,eS(e,i.parent),i=e.root));i.color=0,ew()}function ek(e,t){for(ex(e,t);t!==e.root&&1===t.parent.color;)if(t.parent===t.parent.parent.left){let i=t.parent.parent.right;1===i.color?(t.parent.color=0,i.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&ey(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,eS(e,t.parent.parent))}else{let i=t.parent.parent.left;1===i.color?(t.parent.color=0,i.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&eS(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,ey(e,t.parent.parent))}e.root.color=0}function eD(e,t,i,n){for(;t!==e.root&&t!==ef;)t.parent.left===t&&(t.parent.size_left+=i,t.parent.lf_left+=n),t=t.parent}function ex(e,t){let i=0,n=0;if(t!==e.root){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t!==e.root)for(i=eb((t=t.parent).left)-t.size_left,n=eC(t.left)-t.lf_left,t.size_left+=i,t.lf_left+=n;t!==e.root&&(0!==i||0!==n);)t.parent.left===t&&(t.parent.size_left+=i,t.parent.lf_left+=n),t=t.parent}}ef.parent=ef,ef.left=ef,ef.right=ef,ef.color=0;var eN=i(5639);function eE(e){let t;return(t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length)).set(e,0),t}class eI{constructor(e,t,i,n,s){this.lineStarts=e,this.cr=t,this.lf=i,this.crlf=n,this.isBasicASCII=s}}function eT(e,t=!0){let i=[0],n=1;for(let t=0,s=e.length;t(e!==ef&&this._pieces.push(e.piece),!0))}read(){return 0===this._pieces.length?0===this._index?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:0===this._index?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class eP{constructor(e){this._limit=e,this._cache=[]}get(e){for(let t=this._cache.length-1;t>=0;t--){let i=this._cache[t];if(i.nodeStartOffset<=e&&i.nodeStartOffset+i.node.piece.length>=e)return i}return null}get2(e){for(let t=this._cache.length-1;t>=0;t--){let i=this._cache[t];if(i.nodeStartLineNumber&&i.nodeStartLineNumber=e)return i}return null}set(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)}validate(e){let t=!1,i=this._cache;for(let n=0;n=e){i[n]=null,t=!0;continue}}if(t){let e=[];for(let t of i)null!==t&&e.push(t);this._cache=e}}}class eO{constructor(e,t,i){this.create(e,t,i)}create(e,t,i){this._buffers=[new eR("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=ef,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=i;let n=null;for(let t=0,i=e.length;t0){e[t].lineStarts||(e[t].lineStarts=eT(e[t].buffer));let i=new eM(t+1,{line:0,column:0},{line:e[t].lineStarts.length-1,column:e[t].buffer.length-e[t].lineStarts[e[t].lineStarts.length-1]},e[t].lineStarts.length-1,e[t].buffer.length);this._buffers.push(e[t]),n=this.rbInsertRight(n,i)}this._searchCache=new eP(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(e){let t=65535-Math.floor(21845),i=2*t,n="",s=0,o=[];if(this.iterate(this.root,r=>{let l=this.getNodeContent(r),a=l.length;if(s<=t||s+a0){let t=n.replace(/\r\n|\r|\n/g,e);o.push(new eR(t,eT(t)))}this.create(o,e,!0)}getEOL(){return this._EOL}setEOL(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)}createSnapshot(e){return new eA(this,e)}getOffsetAt(e,t){let i=0,n=this.root;for(;n!==ef;)if(n.left!==ef&&n.lf_left+1>=e)n=n.left;else if(n.lf_left+n.piece.lineFeedCnt+1>=e){i+=n.size_left;let s=this.getAccumulatedValue(n,e-n.lf_left-2);return i+(s+t-1)}else e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right;return i}getPositionAt(e){e=Math.max(0,e=Math.floor(e));let t=this.root,i=0,n=e;for(;t!==ef;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else if(t.size_left+t.piece.length>=e){let s=this.getIndexOf(t,e-t.size_left);if(i+=t.lf_left+s.index,0===s.index){let e=this.getOffsetAt(i+1,1),t=n-e;return new p.L(i+1,t+1)}return new p.L(i+1,s.remainder+1)}else{if(e-=t.size_left+t.piece.length,i+=t.lf_left+t.piece.lineFeedCnt,t.right===ef){let t=this.getOffsetAt(i+1,1),s=n-e-t;return new p.L(i+1,s+1)}t=t.right}return new p.L(1,1)}getValueInRange(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";let i=this.nodeAt2(e.startLineNumber,e.startColumn),n=this.nodeAt2(e.endLineNumber,e.endColumn),s=this.getValueInRange2(i,n);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?s:s.replace(/\r\n|\r|\n/g,t):s}getValueInRange2(e,t){if(e.node===t.node){let i=e.node,n=this._buffers[i.piece.bufferIndex].buffer,s=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return n.substring(s+e.remainder,s+t.remainder)}let i=e.node,n=this._buffers[i.piece.bufferIndex].buffer,s=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start),o=n.substring(s+e.remainder,s+i.piece.length);for(i=i.next();i!==ef;){let e=this._buffers[i.piece.bufferIndex].buffer,n=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);if(i===t.node){o+=e.substring(n,n+t.remainder);break}o+=e.substr(n,i.piece.length),i=i.next()}return o}getLinesContent(){let e=[],t=0,i="",n=!1;return this.iterate(this.root,s=>{if(s===ef)return!0;let o=s.piece,r=o.length;if(0===r)return!0;let l=this._buffers[o.bufferIndex].buffer,a=this._buffers[o.bufferIndex].lineStarts,d=o.start.line,h=o.end.line,u=a[d]+o.start.column;if(n&&(10===l.charCodeAt(u)&&(u++,r--),e[t++]=i,i="",n=!1,0===r))return!0;if(d===h)return this._EOLNormalized||13!==l.charCodeAt(u+r-1)?i+=l.substr(u,r):(n=!0,i+=l.substr(u,r-1)),!0;i+=this._EOLNormalized?l.substring(u,Math.max(u,a[d+1]-this._EOLLength)):l.substring(u,a[d+1]).replace(/(\r\n|\r|\n)$/,""),e[t++]=i;for(let n=d+1;ne+_,t.reset(0)):(c=p.buffer,g=e=>e,t.reset(_));do if(u=t.next(c)){if(g(u.index)>=v)return d;this.positionInBuffer(e,g(u.index)-f,b);let t=this.getLineFeedCnt(e.piece.bufferIndex,s,b),o=b.line===s.line?b.column-s.column+n:b.column+1,r=o+u[0].length;if(h[d++]=(0,eN.iE)(new m.e(i+t,o,i+t,r),u,l),g(u.index)+u[0].length>=v)return d;if(d>=a)break}while(u);return d}findMatchesLineByLine(e,t,i,n){let s=[],o=0,r=new eN.sz(t.wordSeparators,t.regex),l=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===l)return[];let a=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===a)return[];let d=this.positionInBuffer(l.node,l.remainder),h=this.positionInBuffer(a.node,a.remainder);if(l.node===a.node)return this.findMatchesInNode(l.node,r,e.startLineNumber,e.startColumn,d,h,t,i,n,o,s),s;let u=e.startLineNumber,c=l.node;for(;c!==a.node;){let a=this.getLineFeedCnt(c.piece.bufferIndex,d,c.piece.end);if(a>=1){let l=this._buffers[c.piece.bufferIndex].lineStarts,h=this.offsetInBuffer(c.piece.bufferIndex,c.piece.start),g=l[d.line+a],p=u===e.startLineNumber?e.startColumn:1;if((o=this.findMatchesInNode(c,r,u,p,d,this.positionInBuffer(c,g-h),t,i,n,o,s))>=n)return s;u+=a}let h=u===e.startLineNumber?e.startColumn-1:0;if(u===e.endLineNumber){let l=this.getLineContent(u).substring(h,e.endColumn-1);return o=this._findMatchesInLine(t,r,l,e.endLineNumber,h,o,s,i,n),s}if((o=this._findMatchesInLine(t,r,this.getLineContent(u).substr(h),u,h,o,s,i,n))>=n)return s;u++,c=(l=this.nodeAt2(u,1)).node,d=this.positionInBuffer(l.node,l.remainder)}if(u===e.endLineNumber){let l=u===e.startLineNumber?e.startColumn-1:0,a=this.getLineContent(u).substring(l,e.endColumn-1);return o=this._findMatchesInLine(t,r,a,e.endLineNumber,l,o,s,i,n),s}let g=u===e.startLineNumber?e.startColumn:1;return o=this.findMatchesInNode(a.node,r,u,g,d,h,t,i,n,o,s),s}_findMatchesInLine(e,t,i,n,s,o,r,l,a){let d;let h=e.wordSeparators;if(!l&&e.simpleSearch){let t=e.simpleSearch,l=t.length,d=i.length,u=-l;for(;-1!==(u=i.indexOf(t,u+l))&&(!(!h||(0,eN.cM)(h,i,d,u,l))||(r[o++]=new C.tk(new m.e(n,u+1+s,n,u+1+l+s),null),!(o>=a))););return o}t.reset(0);do if((d=t.next(i))&&(r[o++]=(0,eN.iE)(new m.e(n,d.index+1+s,n,d.index+1+d[0].length+s),d,l),o>=a))break;while(d);return o}insert(e,t,i=!1){if(this._EOLNormalized=this._EOLNormalized&&i,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==ef){let{node:i,remainder:n,nodeStartOffset:s}=this.nodeAt(e),o=i.piece,r=o.bufferIndex,l=this.positionInBuffer(i,n);if(0===i.piece.bufferIndex&&o.end.line===this._lastChangeBufferPos.line&&o.end.column===this._lastChangeBufferPos.column&&s+o.length===e&&t.length<65535){this.appendToNode(i,t),this.computeBufferMetadata();return}if(s===e)this.insertContentToNodeLeft(t,i),this._searchCache.validate(e);else if(s+i.piece.length>e){let e=[],s=new eM(o.bufferIndex,l,o.end,this.getLineFeedCnt(o.bufferIndex,l,o.end),this.offsetInBuffer(r,o.end)-this.offsetInBuffer(r,l));if(this.shouldCheckCRLF()&&this.endWithCR(t)){let e=this.nodeCharCodeAt(i,n);if(10===e){let e={line:s.start.line+1,column:0};s=new eM(s.bufferIndex,e,s.end,this.getLineFeedCnt(s.bufferIndex,e,s.end),s.length-1),t+="\n"}}if(this.shouldCheckCRLF()&&this.startWithLF(t)){let s=this.nodeCharCodeAt(i,n-1);if(13===s){let s=this.positionInBuffer(i,n-1);this.deleteNodeTail(i,s),t="\r"+t,0===i.piece.length&&e.push(i)}else this.deleteNodeTail(i,l)}else this.deleteNodeTail(i,l);let a=this.createNewPieces(t);s.length>0&&this.rbInsertRight(i,s);let d=i;for(let e=0;e=0;e--)s=this.rbInsertLeft(s,n[e]);this.validateCRLFWithPrevNode(s),this.deleteNodes(i)}insertContentToNodeRight(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");let i=this.createNewPieces(e),n=this.rbInsertRight(t,i[0]),s=n;for(let e=1;e=u)a=h+1;else break;return i?(i.line=h,i.column=l-c,null):{line:h,column:l-c}}getLineFeedCnt(e,t,i){if(0===i.column)return i.line-t.line;let n=this._buffers[e].lineStarts;if(i.line===n.length-1)return i.line-t.line;let s=n[i.line+1],o=n[i.line]+i.column;if(s>o+1)return i.line-t.line;let r=this._buffers[e].buffer;return 13===r.charCodeAt(o-1)?i.line-t.line+1:i.line-t.line}offsetInBuffer(e,t){let i=this._buffers[e].lineStarts;return i[t.line]+t.column}deleteNodes(e){for(let t=0;t65535){let t=[];for(;e.length>65535;){let i;let n=e.charCodeAt(65534);13===n||n>=55296&&n<=56319?(i=e.substring(0,65534),e=e.substring(65534)):(i=e.substring(0,65535),e=e.substring(65535));let s=eT(i);t.push(new eM(this._buffers.length,{line:0,column:0},{line:s.length-1,column:i.length-s[s.length-1]},s.length-1,i.length)),this._buffers.push(new eR(i,s))}let i=eT(e);return t.push(new eM(this._buffers.length,{line:0,column:0},{line:i.length-1,column:e.length-i[i.length-1]},i.length-1,e.length)),this._buffers.push(new eR(e,i)),t}let t=this._buffers[0].buffer.length,i=eT(e,!1),n=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===t&&0!==t&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},n=this._lastChangeBufferPos;for(let e=0;e=e-1)i=i.left;else if(i.lf_left+i.piece.lineFeedCnt>e-1){let n=this.getAccumulatedValue(i,e-i.lf_left-2),r=this.getAccumulatedValue(i,e-i.lf_left-1),l=this._buffers[i.piece.bufferIndex].buffer,a=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return s+=i.size_left,this._searchCache.set({node:i,nodeStartOffset:s,nodeStartLineNumber:o-(e-1-i.lf_left)}),l.substring(a+n,a+r-t)}else if(i.lf_left+i.piece.lineFeedCnt===e-1){let t=this.getAccumulatedValue(i,e-i.lf_left-2),s=this._buffers[i.piece.bufferIndex].buffer,o=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);n=s.substring(o+t,o+i.piece.length);break}else e-=i.lf_left+i.piece.lineFeedCnt,s+=i.size_left+i.piece.length,i=i.right}for(i=i.next();i!==ef;){let e=this._buffers[i.piece.bufferIndex].buffer;if(i.piece.lineFeedCnt>0){let s=this.getAccumulatedValue(i,0),o=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);n+=e.substring(o,o+s-t);break}{let t=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);n+=e.substr(t,i.piece.length)}i=i.next()}return n}computeBufferMetadata(){let e=this.root,t=1,i=0;for(;e!==ef;)t+=e.lf_left+e.piece.lineFeedCnt,i+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=i,this._searchCache.validate(this._length)}getIndexOf(e,t){let i=e.piece,n=this.positionInBuffer(e,t),s=n.line-i.start.line;if(this.offsetInBuffer(i.bufferIndex,i.end)-this.offsetInBuffer(i.bufferIndex,i.start)===t){let t=this.getLineFeedCnt(e.piece.bufferIndex,i.start,n);if(t!==s)return{index:t,remainder:0}}return{index:s,remainder:n.column}}getAccumulatedValue(e,t){if(t<0)return 0;let i=e.piece,n=this._buffers[i.bufferIndex].lineStarts,s=i.start.line+t+1;return s>i.end.line?n[i.end.line]+i.end.column-n[i.start.line]-i.start.column:n[s]-n[i.start.line]-i.start.column}deleteNodeTail(e,t){let i=e.piece,n=i.lineFeedCnt,s=this.offsetInBuffer(i.bufferIndex,i.end),o=this.offsetInBuffer(i.bufferIndex,t),r=this.getLineFeedCnt(i.bufferIndex,i.start,t),l=r-n,a=o-s,d=i.length+a;e.piece=new eM(i.bufferIndex,i.start,t,r,d),eD(this,e,a,l)}deleteNodeHead(e,t){let i=e.piece,n=i.lineFeedCnt,s=this.offsetInBuffer(i.bufferIndex,i.start),o=this.getLineFeedCnt(i.bufferIndex,t,i.end),r=this.offsetInBuffer(i.bufferIndex,t),l=o-n,a=s-r,d=i.length+a;e.piece=new eM(i.bufferIndex,t,i.end,o,d),eD(this,e,a,l)}shrinkNode(e,t,i){let n=e.piece,s=n.start,o=n.end,r=n.length,l=n.lineFeedCnt,a=this.getLineFeedCnt(n.bufferIndex,n.start,t),d=this.offsetInBuffer(n.bufferIndex,t)-this.offsetInBuffer(n.bufferIndex,s);e.piece=new eM(n.bufferIndex,n.start,t,a,d),eD(this,e,d-r,a-l);let h=new eM(n.bufferIndex,i,o,this.getLineFeedCnt(n.bufferIndex,i,o),this.offsetInBuffer(n.bufferIndex,o)-this.offsetInBuffer(n.bufferIndex,i)),u=this.rbInsertRight(e,h);this.validateCRLFWithPrevNode(u)}appendToNode(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");let i=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),n=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;let s=eT(t,!1);for(let e=0;ee)t=t.left;else if(t.size_left+t.piece.length>=e){n+=t.size_left;let i={node:t,remainder:e-t.size_left,nodeStartOffset:n};return this._searchCache.set(i),i}else e-=t.size_left+t.piece.length,n+=t.size_left+t.piece.length,t=t.right;return null}nodeAt2(e,t){let i=this.root,n=0;for(;i!==ef;)if(i.left!==ef&&i.lf_left>=e-1)i=i.left;else if(i.lf_left+i.piece.lineFeedCnt>e-1){let s=this.getAccumulatedValue(i,e-i.lf_left-2),o=this.getAccumulatedValue(i,e-i.lf_left-1);return n+=i.size_left,{node:i,remainder:Math.min(s+t-1,o),nodeStartOffset:n}}else if(i.lf_left+i.piece.lineFeedCnt===e-1){let s=this.getAccumulatedValue(i,e-i.lf_left-2);if(s+t-1<=i.piece.length)return{node:i,remainder:s+t-1,nodeStartOffset:n};t-=i.piece.length-s;break}else e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right;for(i=i.next();i!==ef;){if(i.piece.lineFeedCnt>0){let e=this.getAccumulatedValue(i,0),n=this.offsetOfNode(i);return{node:i,remainder:Math.min(t-1,e),nodeStartOffset:n}}if(i.piece.length>=t-1){let e=this.offsetOfNode(i);return{node:i,remainder:t-1,nodeStartOffset:e}}t-=i.piece.length,i=i.next()}return null}nodeCharCodeAt(e,t){if(e.piece.lineFeedCnt<1)return -1;let i=this._buffers[e.piece.bufferIndex],n=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return i.buffer.charCodeAt(n)}offsetOfNode(e){if(!e)return 0;let t=e.size_left;for(;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t}shouldCheckCRLF(){return!(this._EOLNormalized&&"\n"===this._EOL)}startWithLF(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===ef||0===e.piece.lineFeedCnt)return!1;let t=e.piece,i=this._buffers[t.bufferIndex].lineStarts,n=t.start.line,s=i[n]+t.start.column;if(n===i.length-1)return!1;let o=i[n+1];return!(o>s+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(s)}endWithCR(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e!==ef&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)}validateCRLFWithPrevNode(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){let t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}}validateCRLFWithNextNode(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){let t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}}fixCRLF(e,t){let i;let n=[],s=this._buffers[e.piece.bufferIndex].lineStarts;i=0===e.piece.end.column?{line:e.piece.end.line-1,column:s[e.piece.end.line]-s[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};let o=e.piece.length-1,r=e.piece.lineFeedCnt-1;e.piece=new eM(e.piece.bufferIndex,e.piece.start,i,r,o),eD(this,e,-1,-1),0===e.piece.length&&n.push(e);let l={line:t.piece.start.line+1,column:0},a=t.piece.length-1,d=this.getLineFeedCnt(t.piece.bufferIndex,l,t.piece.end);t.piece=new eM(t.piece.bufferIndex,l,t.piece.end,d,a),eD(this,t,-1,-1),0===t.piece.length&&n.push(t);let h=this.createNewPieces("\r\n");this.rbInsertRight(e,h[0]);for(let e=0;ee.sortIndex-t.sortIndex)}this._mightContainRTL=n,this._mightContainUnusualLineTerminators=s,this._mightContainNonBasicASCII=o;let p=this._doApplyEdits(l),m=null;if(t&&c.length>0){c.sort((e,t)=>t.lineNumber-e.lineNumber),m=[];for(let e=0,t=c.length;e0&&c[e-1].lineNumber===t)continue;let i=c[e].oldContent,n=this.getLineContent(t);0!==n.length&&n!==i&&-1===d.LC(n)&&m.push(t)}}return this._onDidChangeContent.fire(),new C.je(g,p,m)}_reduceOperations(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]}_toSingleEditOperation(e){let t=!1,i=e[0].range,n=e[e.length-1].range,s=new m.e(i.startLineNumber,i.startColumn,n.endLineNumber,n.endColumn),o=i.startLineNumber,r=i.startColumn,l=[];for(let i=0,n=e.length;i0&&l.push(n.text),o=s.endLineNumber,r=s.endColumn}let a=l.join(""),[d,h,c]=(0,u.Q)(a);return{sortIndex:0,identifier:e[0].identifier,range:s,rangeOffset:this.getOffsetAt(s.startLineNumber,s.startColumn),rangeLength:this.getValueLengthInRange(s,0),text:a,eolCount:d,firstLineLength:h,lastLineLength:c,forceMoveMarkers:t,isAutoWhitespaceEdit:!1}}_doApplyEdits(e){e.sort(eB._sortOpsDescending);let t=[];for(let i=0;i0){let e=d.eolCount+1;a=1===e?new m.e(r,l,r,l+d.firstLineLength):new m.e(r,l,r+e-1,d.lastLineLength+1)}else a=new m.e(r,l,r,l);i=a.endLineNumber,n=a.endColumn,t.push(a),s=d}return t}static _sortOpsAscending(e,t){let i=m.e.compareRangesUsingEnds(e.range,t.range);return 0===i?e.sortIndex-t.sortIndex:i}static _sortOpsDescending(e,t){let i=m.e.compareRangesUsingEnds(e.range,t.range);return 0===i?t.sortIndex-e.sortIndex:-i}}class eW{constructor(e,t,i,n,s,o,r,l,a){this._chunks=e,this._bom=t,this._cr=i,this._lf=n,this._crlf=s,this._containsRTL=o,this._containsUnusualLineTerminators=r,this._isBasicASCII=l,this._normalizeEOL=a}_getEOL(e){let t=this._cr+this._lf+this._crlf,i=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":i>t/2?"\r\n":"\n"}create(e){let t=this._getEOL(e),i=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(let e=0,n=i.length;e=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}_acceptChunk1(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))}_acceptChunk2(e){let t=function(e,t){e.length=0,e[0]=0;let i=1,n=0,s=0,o=0,r=!0;for(let l=0,a=t.length;l126)&&(r=!1)}let l=new eI(eE(e),n,s,o,r);return e.length=0,l}(this._tmpLineStarts,e);this.chunks.push(new eR(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,t.isBasicASCII||(this.isBasicASCII=!1,this.containsRTL||(this.containsRTL=d.Ut(e)),this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=d.ab(e)))}finish(e=!0){return this._finish(),new eW(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,e)}_finish(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;let e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);let t=eT(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}}}var eV=i(44532),ez=i(85330),eK=i(1863),eU=i(74927),e$=i(58022),eq=i(44129),ej=i(81294),eG=i(46481);class eQ{constructor(e){this._default=e,this._store=[]}get(e){return e=this._store.length;)this._store[this._store.length]=this._default;this._store[e]=t}replace(e,t,i){if(e>=this._store.length)return;if(0===t){this.insert(e,i);return}if(0===i){this.delete(e,t);return}let n=this._store.slice(0,e),s=this._store.slice(e+t),o=function(e,t){let i=[];for(let n=0;n=this._store.length||this._store.splice(e,t)}insert(e,t){if(0===t||e>=this._store.length)return;let i=[];for(let e=0;e0){let i=this._tokens[this._tokens.length-1];if(i.endLineNumber+1===e){i.appendLineTokens(t);return}}this._tokens.push(new eZ(e,[t]))}finalize(){return this._tokens}}var eJ=i(94458);class eX{constructor(e,t){this.tokenizationSupport=t,this.initialState=this.tokenizationSupport.getInitialState(),this.store=new e1(e)}getStartState(e){return this.store.getStartState(e,this.initialState)}getFirstInvalidLine(){return this.store.getFirstInvalidLine(this.initialState)}}class e0 extends eX{constructor(e,t,i,n){super(e,t),this._textModel=i,this._languageIdCodec=n}updateTokensUntilLine(e,t){let i=this._textModel.getLanguageId();for(;;){let n=this.getFirstInvalidLine();if(!n||n.lineNumber>t)break;let s=this._textModel.getLineContent(n.lineNumber),o=e5(this._languageIdCodec,i,this.tokenizationSupport,s,!0,n.startState);e.add(n.lineNumber,o.tokens),this.store.setEndState(n.lineNumber,o.endState)}}getTokenTypeIfInsertingCharacter(e,t){let i=this.getStartState(e.lineNumber);if(!i)return 0;let n=this._textModel.getLanguageId(),s=this._textModel.getLineContent(e.lineNumber),o=s.substring(0,e.column-1)+t+s.substring(e.column-1),r=e5(this._languageIdCodec,n,this.tokenizationSupport,o,!0,i),l=new eJ.A(r.tokens,o,this._languageIdCodec);if(0===l.getCount())return 0;let a=l.findTokenIndexAtOffset(e.column-1);return l.getStandardTokenType(a)}tokenizeLineWithEdit(e,t,i){let n=e.lineNumber,s=e.column,o=this.getStartState(n);if(!o)return null;let r=this._textModel.getLineContent(n),l=r.substring(0,s-1)+i+r.substring(s-1+t),a=this._textModel.getLanguageIdAtPosition(n,0),d=e5(this._languageIdCodec,a,this.tokenizationSupport,l,!0,o),h=new eJ.A(d.tokens,l,this._languageIdCodec);return h}hasAccurateTokensForLine(e){let t=this.store.getFirstInvalidEndStateLineNumberOrMax();return ethis._textModel.getLineLength(e))}tokenizeHeuristically(e,t,i){if(i<=this.store.getFirstInvalidEndStateLineNumberOrMax())return{heuristicTokens:!1};if(t<=this.store.getFirstInvalidEndStateLineNumberOrMax())return this.updateTokensUntilLine(e,i),{heuristicTokens:!1};let n=this.guessStartState(t),s=this._textModel.getLanguageId();for(let o=t;o<=i;o++){let t=this._textModel.getLineContent(o),i=e5(this._languageIdCodec,s,this.tokenizationSupport,t,!0,n);e.add(o,i.tokens),n=i.endState}return{heuristicTokens:!0}}guessStartState(e){let t=this._textModel.getLineFirstNonWhitespaceColumn(e),i=[],n=null;for(let s=e-1;t>1&&s>=1;s--){let e=this._textModel.getLineFirstNonWhitespaceColumn(s);if(0!==e&&e0&&i>0&&(i--,t--),this._lineEndStates.replace(e.startLineNumber,i,t)}}class e4{constructor(){this._ranges=[]}get min(){return 0===this._ranges.length?null:this._ranges[0].start}delete(e){let t=this._ranges.findIndex(t=>t.contains(e));if(-1!==t){let i=this._ranges[t];i.start===e?i.endExclusive===e+1?this._ranges.splice(t,1):this._ranges[t]=new ej.q(e+1,i.endExclusive):i.endExclusive===e+1?this._ranges[t]=new ej.q(i.start,e):this._ranges.splice(t,1,new ej.q(i.start,e),new ej.q(e+1,i.endExclusive))}}addRange(e){ej.q.addRange(e,this._ranges)}addRangeAndResize(e,t){let i=0;for(;!(i>=this._ranges.length||e.start<=this._ranges[i].endExclusive);)i++;let n=i;for(;!(n>=this._ranges.length||e.endExclusivee.toString()).join(" + ")}}function e5(e,t,i,n,s,o){let l=null;if(i)try{l=i.tokenizeEncoded(n,s,o.clone())}catch(e){(0,r.dL)(e)}return l||(l=(0,eG.Dy)(e.encodeLanguageId(t),o)),eJ.A.convertToEndOffset(l.tokens,n.length),l}class e3{constructor(e,t){this._tokenizerWithStateStore=e,this._backgroundTokenStore=t,this._isDisposed=!1,this._isScheduled=!1}dispose(){this._isDisposed=!0}handleChanges(){this._beginBackgroundTokenization()}_beginBackgroundTokenization(){!this._isScheduled&&this._tokenizerWithStateStore._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&(this._isScheduled=!0,(0,eV.jg)(e=>{this._isScheduled=!1,this._backgroundTokenizeWithDeadline(e)}))}_backgroundTokenizeWithDeadline(e){let t=Date.now()+e.timeRemaining(),i=()=>{!this._isDisposed&&this._tokenizerWithStateStore._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&(this._backgroundTokenizeForAtLeast1ms(),Date.now()1)break;let n=this._tokenizeOneInvalidLine(t);if(n>=e)break}while(this._hasLinesToTokenize());this._backgroundTokenStore.setTokens(t.finalize()),this.checkFinished()}_hasLinesToTokenize(){return!!this._tokenizerWithStateStore&&!this._tokenizerWithStateStore.store.allStatesValid()}_tokenizeOneInvalidLine(e){var t;let i=null===(t=this._tokenizerWithStateStore)||void 0===t?void 0:t.getFirstInvalidLine();return i?(this._tokenizerWithStateStore.updateTokensUntilLine(e,i.lineNumber),i.lineNumber):this._tokenizerWithStateStore._textModel.getLineCount()+1}checkFinished(){!this._isDisposed&&this._tokenizerWithStateStore.store.allStatesValid()&&this._backgroundTokenStore.backgroundTokenizationFinished()}requestTokens(e,t){this._tokenizerWithStateStore.store.invalidateEndStateRange(new g.z(e,t))}}let e7=new Uint32Array(0).buffer;class e8{static deleteBeginning(e,t){return null===e||e===e7?e:e8.delete(e,0,t)}static deleteEnding(e,t){if(null===e||e===e7)return e;let i=e6(e),n=i[i.length-2];return e8.delete(e,t,n)}static delete(e,t,i){let n,s;if(null===e||e===e7||t===i)return e;let o=e6(e),r=o.length>>>1;if(0===t&&o[o.length-2]===i)return e7;let l=eJ.A.findIndexInTokensArray(o,t),a=l>0?o[l-1<<1]:0,d=o[l<<1];if(is&&(o[n++]=t,o[n++]=o[(e<<1)+1],s=t)}if(n===o.length)return e;let u=new Uint32Array(n);return u.set(o.subarray(0,n),0),u.buffer}static append(e,t){if(t===e7)return e;if(e===e7)return t;if(null===e)return e;if(null===t)return null;let i=e6(e),n=e6(t),s=n.length>>>1,o=new Uint32Array(i.length+n.length);o.set(i,0);let r=i.length,l=i[i.length-2];for(let e=0;e>>1,o=eJ.A.findIndexInTokensArray(n,t);if(o>0){let e=n[o-1<<1];e===t&&o--}for(let e=o;e0}getTokens(e,t,i){let n=null;if(t1&&(t=e9.N.getLanguageId(n[1])!==e),!t)return e7}if(!n||0===n.length){let i=new Uint32Array(2);return i[0]=t,i[1]=tt(e),i.buffer}return(n[n.length-2]=t,0===n.byteOffset&&n.byteLength===n.buffer.byteLength)?n.buffer:n}_ensureLine(e){for(;e>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._lineTokens.splice(e,t),this._len-=t)}_insertLines(e,t){if(0===t)return;let i=[];for(let e=0;e=this._len)return;if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;this._lineTokens[t]=e8.delete(this._lineTokens[t],e.startColumn-1,e.endColumn-1);return}this._lineTokens[t]=e8.deleteEnding(this._lineTokens[t],e.startColumn-1);let i=e.endLineNumber-1,n=null;i=this._len)){if(0===t){this._lineTokens[n]=e8.insert(this._lineTokens[n],e.column-1,i);return}this._lineTokens[n]=e8.deleteEnding(this._lineTokens[n],e.column-1),this._lineTokens[n]=e8.insert(this._lineTokens[n],e.column-1,i),this._insertLines(e.lineNumber,t)}}setMultilineTokens(e,t){if(0===e.length)return{changes:[]};let i=[];for(let n=0,s=e.length;n>>0}class ti{constructor(e){this._pieces=[],this._isComplete=!1,this._languageIdCodec=e}flush(){this._pieces=[],this._isComplete=!1}isEmpty(){return 0===this._pieces.length}set(e,t){this._pieces=e||[],this._isComplete=t}setPartial(e,t){let i=e;if(t.length>0){let n=t[0].getRange(),s=t[t.length-1].getRange();if(!n||!s)return e;i=e.plusRange(n).plusRange(s)}let n=null;for(let e=0,t=this._pieces.length;ei.endLineNumber){n=n||{index:e};break}if(s.removeTokens(i),s.isEmpty()){this._pieces.splice(e,1),e--,t--;continue}if(s.endLineNumberi.endLineNumber){n=n||{index:e};continue}let[o,r]=s.split(i);if(o.isEmpty()){n=n||{index:e};continue}r.isEmpty()||(this._pieces.splice(e,1,o,r),e++,t++,n=n||{index:e})}return n=n||{index:this._pieces.length},t.length>0&&(this._pieces=s.Zv(this._pieces,n.index,t)),i}isComplete(){return this._isComplete}addSparseTokens(e,t){if(0===t.getLineContent().length)return t;let i=this._pieces;if(0===i.length)return t;let n=ti._findFirstPieceWithLine(i,e),s=i[n].getLineTokens(e);if(!s)return t;let o=t.getCount(),r=s.getCount(),l=0,a=[],d=0,h=0,u=(e,t)=>{e!==h&&(h=e,a[d++]=e,a[d++]=t)};for(let e=0;e>>0,d=~a>>>0;for(;lt)n=s-1;else{for(;s>i&&e[s-1].startLineNumber<=t&&t<=e[s-1].endLineNumber;)s--;return s}}return i}acceptEdit(e,t,i,n,s){for(let o of this._pieces)o.acceptEdit(e,t,i,n,s)}}class tn extends eU.U{constructor(e,t,i,n,s,o){super(),this._languageService=e,this._languageConfigurationService=t,this._textModel=i,this._bracketPairsTextModelPart=n,this._languageId=s,this._attachedViews=o,this._semanticTokens=new ti(this._languageService.languageIdCodec),this._onDidChangeLanguage=this._register(new l.Q5),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new l.Q5),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new l.Q5),this.onDidChangeTokens=this._onDidChangeTokens.event,this.grammarTokens=this._register(new ts(this._languageService.languageIdCodec,this._textModel,()=>this._languageId,this._attachedViews)),this._register(this._languageConfigurationService.onDidChange(e=>{e.affects(this._languageId)&&this._onDidChangeLanguageConfiguration.fire({})})),this._register(this.grammarTokens.onDidChangeTokens(e=>{this._emitModelTokensChangedEvent(e)})),this._register(this.grammarTokens.onDidChangeBackgroundTokenizationState(e=>{this._bracketPairsTextModelPart.handleDidChangeBackgroundTokenizationState()}))}handleDidChangeContent(e){if(e.isFlush)this._semanticTokens.flush();else if(!e.isEolChange)for(let t of e.changes){let[e,i,n]=(0,u.Q)(t.text);this._semanticTokens.acceptEdit(t.range,e,i,n,t.text.length>0?t.text.charCodeAt(0):0)}this.grammarTokens.handleDidChangeContent(e)}handleDidChangeAttached(){this.grammarTokens.handleDidChangeAttached()}getLineTokens(e){this.validateLineNumber(e);let t=this.grammarTokens.getLineTokens(e);return this._semanticTokens.addSparseTokens(e,t)}_emitModelTokensChangedEvent(e){this._textModel._isDisposing()||(this._bracketPairsTextModelPart.handleDidChangeTokens(e),this._onDidChangeTokens.fire(e))}validateLineNumber(e){if(e<1||e>this._textModel.getLineCount())throw new r.he("Illegal value for lineNumber")}get hasTokens(){return this.grammarTokens.hasTokens}resetTokenization(){this.grammarTokens.resetTokenization()}get backgroundTokenizationState(){return this.grammarTokens.backgroundTokenizationState}forceTokenization(e){this.validateLineNumber(e),this.grammarTokens.forceTokenization(e)}hasAccurateTokensForLine(e){return this.validateLineNumber(e),this.grammarTokens.hasAccurateTokensForLine(e)}isCheapToTokenize(e){return this.validateLineNumber(e),this.grammarTokens.isCheapToTokenize(e)}tokenizeIfCheap(e){this.validateLineNumber(e),this.grammarTokens.tokenizeIfCheap(e)}getTokenTypeIfInsertingCharacter(e,t,i){return this.grammarTokens.getTokenTypeIfInsertingCharacter(e,t,i)}tokenizeLineWithEdit(e,t,i){return this.grammarTokens.tokenizeLineWithEdit(e,t,i)}setSemanticTokens(e,t){this._semanticTokens.set(e,t),this._emitModelTokensChangedEvent({semanticTokensApplied:null!==e,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]})}hasCompleteSemanticTokens(){return this._semanticTokens.isComplete()}hasSomeSemanticTokens(){return!this._semanticTokens.isEmpty()}setPartialSemanticTokens(e,t){if(this.hasCompleteSemanticTokens())return;let i=this._textModel.validateRange(this._semanticTokens.setPartial(e,t));this._emitModelTokensChangedEvent({semanticTokensApplied:!0,ranges:[{fromLineNumber:i.startLineNumber,toLineNumber:i.endLineNumber}]})}getWordAtPosition(e){this.assertNotDisposed();let t=this._textModel.validatePosition(e),i=this._textModel.getLineContent(t.lineNumber),n=this.getLineTokens(t.lineNumber),s=n.findTokenIndexAtOffset(t.column-1),[o,r]=tn._findLanguageBoundaries(n,s),l=(0,ez.t2)(t.column,this.getLanguageConfiguration(n.getLanguageId(s)).getWordDefinition(),i.substring(o,r),o);if(l&&l.startColumn<=e.column&&e.column<=l.endColumn)return l;if(s>0&&o===t.column-1){let[o,r]=tn._findLanguageBoundaries(n,s-1),l=(0,ez.t2)(t.column,this.getLanguageConfiguration(n.getLanguageId(s-1)).getWordDefinition(),i.substring(o,r),o);if(l&&l.startColumn<=e.column&&e.column<=l.endColumn)return l}return null}getLanguageConfiguration(e){return this._languageConfigurationService.getLanguageConfiguration(e)}static _findLanguageBoundaries(e,t){let i=e.getLanguageId(t),n=0;for(let s=t;s>=0&&e.getLanguageId(s)===i;s--)n=e.getStartOffset(s);let s=e.getLineContent().length;for(let n=t,o=e.getCount();n{let t=this.getLanguageId();-1!==e.changedLanguages.indexOf(t)&&this.resetTokenization()})),this.resetTokenization(),this._register(n.onDidChangeVisibleRanges(({view:e,state:t})=>{if(t){let i=this._attachedViewStates.get(e);i||(i=new to(()=>this.refreshRanges(i.lineRanges)),this._attachedViewStates.set(e,i)),i.handleStateChange(t)}else this._attachedViewStates.deleteAndDispose(e)}))}resetTokenization(e=!0){var t;this._tokens.flush(),null===(t=this._debugBackgroundTokens)||void 0===t||t.flush(),this._debugBackgroundStates&&(this._debugBackgroundStates=new e1(this._textModel.getLineCount())),e&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]});let[i,n]=(()=>{let e;if(this._textModel.isTooLargeForTokenization())return[null,null];let t=eK.RW.get(this.getLanguageId());if(!t)return[null,null];try{e=t.getInitialState()}catch(e){return(0,r.dL)(e),[null,null]}return[t,e]})();if(i&&n?this._tokenizer=new e0(this._textModel.getLineCount(),i,this._textModel,this._languageIdCodec):this._tokenizer=null,this._backgroundTokenizer.clear(),this._defaultBackgroundTokenizer=null,this._tokenizer){let e={setTokens:e=>{this.setTokens(e)},backgroundTokenizationFinished:()=>{2!==this._backgroundTokenizationState&&(this._backgroundTokenizationState=2,this._onDidChangeBackgroundTokenizationState.fire())},setEndState:(e,t)=>{var i;if(!this._tokenizer)return;let n=this._tokenizer.store.getFirstInvalidEndStateLineNumber();null!==n&&e>=n&&(null===(i=this._tokenizer)||void 0===i||i.store.setEndState(e,t))}};i&&i.createBackgroundTokenizer&&!i.backgroundTokenizerShouldOnlyVerifyTokens&&(this._backgroundTokenizer.value=i.createBackgroundTokenizer(this._textModel,e)),this._backgroundTokenizer.value||this._textModel.isTooLargeForTokenization()||(this._backgroundTokenizer.value=this._defaultBackgroundTokenizer=new e3(this._tokenizer,e),this._defaultBackgroundTokenizer.handleChanges()),(null==i?void 0:i.backgroundTokenizerShouldOnlyVerifyTokens)&&i.createBackgroundTokenizer?(this._debugBackgroundTokens=new te(this._languageIdCodec),this._debugBackgroundStates=new e1(this._textModel.getLineCount()),this._debugBackgroundTokenizer.clear(),this._debugBackgroundTokenizer.value=i.createBackgroundTokenizer(this._textModel,{setTokens:e=>{var t;null===(t=this._debugBackgroundTokens)||void 0===t||t.setMultilineTokens(e,this._textModel)},backgroundTokenizationFinished(){},setEndState:(e,t)=>{var i;null===(i=this._debugBackgroundStates)||void 0===i||i.setEndState(e,t)}})):(this._debugBackgroundTokens=void 0,this._debugBackgroundStates=void 0,this._debugBackgroundTokenizer.value=void 0)}this.refreshAllVisibleLineTokens()}handleDidChangeAttached(){var e;null===(e=this._defaultBackgroundTokenizer)||void 0===e||e.handleChanges()}handleDidChangeContent(e){var t,i,n;if(e.isFlush)this.resetTokenization(!1);else if(!e.isEolChange){for(let i of e.changes){let[e,n]=(0,u.Q)(i.text);this._tokens.acceptEdit(i.range,e,n),null===(t=this._debugBackgroundTokens)||void 0===t||t.acceptEdit(i.range,e,n)}null===(i=this._debugBackgroundStates)||void 0===i||i.acceptChanges(e.changes),this._tokenizer&&this._tokenizer.store.acceptChanges(e.changes),null===(n=this._defaultBackgroundTokenizer)||void 0===n||n.handleChanges()}}setTokens(e){let{changes:t}=this._tokens.setMultilineTokens(e,this._textModel);return t.length>0&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:t}),{changes:t}}refreshAllVisibleLineTokens(){let e=g.z.joinMany([...this._attachedViewStates].map(([e,t])=>t.lineRanges));this.refreshRanges(e)}refreshRanges(e){for(let t of e)this.refreshRange(t.startLineNumber,t.endLineNumberExclusive-1)}refreshRange(e,t){var i,n;if(!this._tokenizer)return;e=Math.max(1,Math.min(this._textModel.getLineCount(),e)),t=Math.min(this._textModel.getLineCount(),t);let s=new eY,{heuristicTokens:o}=this._tokenizer.tokenizeHeuristically(s,e,t),r=this.setTokens(s.finalize());if(o)for(let e of r.changes)null===(i=this._backgroundTokenizer.value)||void 0===i||i.requestTokens(e.fromLineNumber,e.toLineNumber+1);null===(n=this._defaultBackgroundTokenizer)||void 0===n||n.checkFinished()}forceTokenization(e){var t,i;let n=new eY;null===(t=this._tokenizer)||void 0===t||t.updateTokensUntilLine(n,e),this.setTokens(n.finalize()),null===(i=this._defaultBackgroundTokenizer)||void 0===i||i.checkFinished()}hasAccurateTokensForLine(e){return!this._tokenizer||this._tokenizer.hasAccurateTokensForLine(e)}isCheapToTokenize(e){return!this._tokenizer||this._tokenizer.isCheapToTokenize(e)}tokenizeIfCheap(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)}getLineTokens(e){var t;let i=this._textModel.getLineContent(e),n=this._tokens.getTokens(this._textModel.getLanguageId(),e-1,i);if(this._debugBackgroundTokens&&this._debugBackgroundStates&&this._tokenizer&&this._debugBackgroundStates.getFirstInvalidEndStateLineNumberOrMax()>e&&this._tokenizer.store.getFirstInvalidEndStateLineNumberOrMax()>e){let s=this._debugBackgroundTokens.getTokens(this._textModel.getLanguageId(),e-1,i);!n.equals(s)&&(null===(t=this._debugBackgroundTokenizer.value)||void 0===t?void 0:t.reportMismatchingTokens)&&this._debugBackgroundTokenizer.value.reportMismatchingTokens(e)}return n}getTokenTypeIfInsertingCharacter(e,t,i){if(!this._tokenizer)return 0;let n=this._textModel.validatePosition(new p.L(e,t));return this.forceTokenization(n.lineNumber),this._tokenizer.getTokenTypeIfInsertingCharacter(n,i)}tokenizeLineWithEdit(e,t,i){if(!this._tokenizer)return null;let n=this._textModel.validatePosition(e);return this.forceTokenization(n.lineNumber),this._tokenizer.tokenizeLineWithEdit(n,t,i)}get hasTokens(){return this._tokens.hasTokens}}class to extends a.JT{get lineRanges(){return this._lineRanges}constructor(e){super(),this._refreshTokens=e,this.runner=this._register(new eV.pY(()=>this.update(),50)),this._computedLineRanges=[],this._lineRanges=[]}update(){(0,s.fS)(this._computedLineRanges,this._lineRanges,(e,t)=>e.equals(t))||(this._computedLineRanges=this._lineRanges,this._refreshTokens())}handleStateChange(e){this._lineRanges=e.visibleLineRanges,e.stabilized?(this.runner.cancel(),this.update()):this.runner.schedule()}}var tr=i(60646),tl=i(32109),ta=function(e,t){return function(i,n){t(i,n,e)}};function td(e,t){return("string"==typeof e?function(e){let t=new eH;return t.acceptChunk(e),t.finish()}(e):C.Hf(e)?function(e){let t;let i=new eH;for(;"string"==typeof(t=e.read());)i.acceptChunk(t);return i.finish()}(e):e).create(t)}let th=0;class tu{constructor(e){this._source=e,this._eos=!1}read(){if(this._eos)return null;let e=[],t=0,i=0;for(;;){let n=this._source.read();if(null===n){if(this._eos=!0,0===t)return null;return e.join("")}if(n.length>0&&(e[t++]=n,i+=n.length),i>=65536)return e.join("")}}}let tc=()=>{throw Error("Invalid change accessor")},tg=n=class extends a.JT{static resolveOptions(e,t){if(t.detectIndentation){let i=q(e,t.tabSize,t.insertSpaces);return new C.dJ({tabSize:i.tabSize,indentSize:"tabSize",insertSpaces:i.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL,bracketPairColorizationOptions:t.bracketPairColorizationOptions})}return new C.dJ(t)}get onDidChangeLanguage(){return this._tokenizationTextModelPart.onDidChangeLanguage}get onDidChangeLanguageConfiguration(){return this._tokenizationTextModelPart.onDidChangeLanguageConfiguration}get onDidChangeTokens(){return this._tokenizationTextModelPart.onDidChangeTokens}onDidChangeContent(e){return this._eventEmitter.slowEvent(t=>e(t.contentChangedEvent))}onDidChangeContentOrInjectedText(e){return(0,a.F8)(this._eventEmitter.fastEvent(t=>e(t)),this._onDidChangeInjectedText.event(t=>e(t)))}_isDisposing(){return this.__isDisposing}get tokenization(){return this._tokenizationTextModelPart}get bracketPairs(){return this._bracketPairs}get guides(){return this._guidesTextModelPart}constructor(e,t,i,s=null,o,r,u){super(),this._undoRedoService=o,this._languageService=r,this._languageConfigurationService=u,this._onWillDispose=this._register(new l.Q5),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new tD(e=>this.handleBeforeFireDecorationsChangedEvent(e))),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeOptions=this._register(new l.Q5),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new l.Q5),this.onDidChangeAttached=this._onDidChangeAttached.event,this._onDidChangeInjectedText=this._register(new l.Q5),this._eventEmitter=this._register(new tx),this._languageSelectionListener=this._register(new a.XK),this._deltaDecorationCallCnt=0,this._attachedViews=new tN,th++,this.id="$model"+th,this.isForSimpleWidget=i.isForSimpleWidget,null==s?this._associatedResource=h.o.parse("inmemory://model/"+th):this._associatedResource=s,this._attachedEditorCount=0;let{textBuffer:c,disposable:g}=td(e,i.defaultEOL);this._buffer=c,this._bufferDisposable=g,this._options=n.resolveOptions(this._buffer,i);let p="string"==typeof t?t:t.languageId;"string"!=typeof t&&(this._languageSelectionListener.value=t.onDidChange(()=>this._setLanguage(t.languageId))),this._bracketPairs=this._register(new P(this,this._languageConfigurationService)),this._guidesTextModelPart=this._register(new U.l(this,this._languageConfigurationService)),this._decorationProvider=this._register(new V(this)),this._tokenizationTextModelPart=new tn(this._languageService,this._languageConfigurationService,this,this._bracketPairs,p,this._attachedViews);let f=this._buffer.getLineCount(),_=this._buffer.getValueLengthInRange(new m.e(1,1,f,this._buffer.getLineLength(f)+1),0);i.largeFileOptimizations?(this._isTooLargeForTokenization=_>n.LARGE_FILE_SIZE_THRESHOLD||f>n.LARGE_FILE_LINE_COUNT_THRESHOLD,this._isTooLargeForHeapOperation=_>n.LARGE_FILE_HEAP_OPERATION_THRESHOLD):(this._isTooLargeForTokenization=!1,this._isTooLargeForHeapOperation=!1),this._isTooLargeForSyncing=_>n._MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this.__isDisposing=!1,this._instanceId=d.PJ(th),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new tf,this._commandManager=new K.NL(this,this._undoRedoService),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._register(this._decorationProvider.onDidChange(()=>{this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._onDidChangeDecorations.endDeferredEmit()})),this._languageService.requestRichLanguageFeatures(p)}dispose(){this.__isDisposing=!0,this._onWillDispose.fire(),this._tokenizationTextModelPart.dispose(),this._isDisposed=!0,super.dispose(),this._bufferDisposable.dispose(),this.__isDisposing=!1;let e=new eB([],"","\n",!1,!1,!0,!0);e.dispose(),this._buffer=e,this._bufferDisposable=a.JT.None}_assertNotDisposed(){if(this._isDisposed)throw Error("Model is disposed!")}_emitContentChangedEvent(e,t){this.__isDisposing||(this._tokenizationTextModelPart.handleDidChangeContent(t),this._bracketPairs.handleDidChangeContent(t),this._eventEmitter.fire(new tr.fV(e,t)))}setValue(e){if(this._assertNotDisposed(),null==e)throw(0,r.b1)();let{textBuffer:t,disposable:i}=td(e,this._options.defaultEOL);this._setValueFromTextBuffer(t,i)}_createContentChanged2(e,t,i,n,s,o,r,l){return{changes:[{range:e,rangeOffset:t,rangeLength:i,text:n}],eol:this._buffer.getEOL(),isEolChange:l,versionId:this.getVersionId(),isUndoing:s,isRedoing:o,isFlush:r}}_setValueFromTextBuffer(e,t){this._assertNotDisposed();let i=this.getFullModelRange(),n=this.getValueLengthInRange(i),s=this.getLineCount(),o=this.getLineMaxColumn(s);this._buffer=e,this._bufferDisposable.dispose(),this._bufferDisposable=t,this._increaseVersionId(),this._decorations=Object.create(null),this._decorationsTree=new tf,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new tr.dQ([new tr.Jx],this._versionId,!1,!1),this._createContentChanged2(new m.e(1,1,s,o),0,n,this.getValue(),!1,!1,!0,!1))}setEOL(e){this._assertNotDisposed();let t=1===e?"\r\n":"\n";if(this._buffer.getEOL()===t)return;let i=this.getFullModelRange(),n=this.getValueLengthInRange(i),s=this.getLineCount(),o=this.getLineMaxColumn(s);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new tr.dQ([new tr.CZ],this._versionId,!1,!1),this._createContentChanged2(new m.e(1,1,s,o),0,n,this.getValue(),!1,!1,!1,!0))}_onBeforeEOLChange(){this._decorationsTree.ensureAllNodesHaveRanges(this)}_onAfterEOLChange(){let e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder();for(let i=0,n=t.length;i0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isTooLargeForHeapOperation(){return this._isTooLargeForHeapOperation}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let e=0,t=0,i=this._buffer.getLineCount();for(let n=1;n<=i;n++){let i=this._buffer.getLineLength(n);i>=1e4?t+=i:e+=i}return t>e}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(e){this._assertNotDisposed();let t=void 0!==e.tabSize?e.tabSize:this._options.tabSize,i=void 0!==e.indentSize?e.indentSize:this._options.originalIndentSize,n=void 0!==e.insertSpaces?e.insertSpaces:this._options.insertSpaces,s=void 0!==e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,o=void 0!==e.bracketColorizationOptions?e.bracketColorizationOptions:this._options.bracketPairColorizationOptions,r=new C.dJ({tabSize:t,indentSize:i,insertSpaces:n,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:s,bracketPairColorizationOptions:o});if(this._options.equals(r))return;let l=this._options.createChangeEvent(r);this._options=r,this._bracketPairs.handleDidChangeOptions(l),this._decorationProvider.handleDidChangeOptions(l),this._onDidChangeOptions.fire(l)}detectIndentation(e,t){this._assertNotDisposed();let i=q(this._buffer,t,e);this.updateOptions({insertSpaces:i.insertSpaces,tabSize:i.tabSize,indentSize:i.tabSize})}normalizeIndentation(e){return this._assertNotDisposed(),(0,c.x)(e,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(e=null){let t=this.findMatches(d.Qe.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(e,t.map(e=>({range:e.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getInitialUndoRedoSnapshot(){return this._assertNotDisposed(),this._initialUndoRedoSnapshot}getOffsetAt(e){this._assertNotDisposed();let t=this._validatePosition(e.lineNumber,e.column,0);return this._buffer.getOffsetAt(t.lineNumber,t.column)}getPositionAt(e){this._assertNotDisposed();let t=Math.min(this._buffer.getLength(),Math.max(0,e));return this._buffer.getPositionAt(t)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(e){this._versionId=e}_overwriteAlternativeVersionId(e){this._alternativeVersionId=e}_overwriteInitialUndoRedoSnapshot(e){this._initialUndoRedoSnapshot=e}getValue(e,t=!1){if(this._assertNotDisposed(),this.isTooLargeForHeapOperation())throw new r.he("Operation would exceed heap memory limits");let i=this.getFullModelRange(),n=this.getValueInRange(i,e);return t?this._buffer.getBOM()+n:n}createSnapshot(e=!1){return new tu(this._buffer.createSnapshot(e))}getValueLength(e,t=!1){this._assertNotDisposed();let i=this.getFullModelRange(),n=this.getValueLengthInRange(i,e);return t?this._buffer.getBOM().length+n:n}getValueInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)}getValueLengthInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)}getCharacterCountInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(e),t)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineContent(e)}getLineLength(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineLength(e)}getLinesContent(){if(this._assertNotDisposed(),this.isTooLargeForHeapOperation())throw new r.he("Operation would exceed heap memory limits");return this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getEndOfLineSequence(){return this._assertNotDisposed(),"\n"===this._buffer.getEOL()?0:1}getLineMinColumn(e){return this._assertNotDisposed(),1}getLineMaxColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1}getLineFirstNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)}getLineLastNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)}_validateRangeRelaxedNoAllocations(e){let t=this._buffer.getLineCount(),i=e.startLineNumber,n=e.startColumn,s=Math.floor("number"!=typeof i||isNaN(i)?1:i),o=Math.floor("number"!=typeof n||isNaN(n)?1:n);if(s<1)s=1,o=1;else if(s>t)s=t,o=this.getLineMaxColumn(s);else if(o<=1)o=1;else{let e=this.getLineMaxColumn(s);o>=e&&(o=e)}let r=e.endLineNumber,l=e.endColumn,a=Math.floor("number"!=typeof r||isNaN(r)?1:r),d=Math.floor("number"!=typeof l||isNaN(l)?1:l);if(a<1)a=1,d=1;else if(a>t)a=t,d=this.getLineMaxColumn(a);else if(d<=1)d=1;else{let e=this.getLineMaxColumn(a);d>=e&&(d=e)}return i===s&&n===o&&r===a&&l===d&&e instanceof m.e&&!(e instanceof f.Y)?e:new m.e(s,o,a,d)}_isValidPosition(e,t,i){if("number"!=typeof e||"number"!=typeof t||isNaN(e)||isNaN(t)||e<1||t<1||(0|e)!==e||(0|t)!==t)return!1;let n=this._buffer.getLineCount();if(e>n)return!1;if(1===t)return!0;let s=this.getLineMaxColumn(e);if(t>s)return!1;if(1===i){let i=this._buffer.getLineCharCode(e,t-2);if(d.ZG(i))return!1}return!0}_validatePosition(e,t,i){let n=Math.floor("number"!=typeof e||isNaN(e)?1:e),s=Math.floor("number"!=typeof t||isNaN(t)?1:t),o=this._buffer.getLineCount();if(n<1)return new p.L(1,1);if(n>o)return new p.L(o,this.getLineMaxColumn(o));if(s<=1)return new p.L(n,1);let r=this.getLineMaxColumn(n);if(s>=r)return new p.L(n,r);if(1===i){let e=this._buffer.getLineCharCode(n,s-2);if(d.ZG(e))return new p.L(n,s-1)}return new p.L(n,s)}validatePosition(e){return(this._assertNotDisposed(),e instanceof p.L&&this._isValidPosition(e.lineNumber,e.column,1))?e:this._validatePosition(e.lineNumber,e.column,1)}_isValidRange(e,t){let i=e.startLineNumber,n=e.startColumn,s=e.endLineNumber,o=e.endColumn;if(!this._isValidPosition(i,n,0)||!this._isValidPosition(s,o,0))return!1;if(1===t){let e=n>1?this._buffer.getLineCharCode(i,n-2):0,t=o>1&&o<=this._buffer.getLineLength(s)?this._buffer.getLineCharCode(s,o-2):0,r=d.ZG(e),l=d.ZG(t);return!r&&!l}return!0}validateRange(e){if(this._assertNotDisposed(),e instanceof m.e&&!(e instanceof f.Y)&&this._isValidRange(e,1))return e;let t=this._validatePosition(e.startLineNumber,e.startColumn,0),i=this._validatePosition(e.endLineNumber,e.endColumn,0),n=t.lineNumber,s=t.column,o=i.lineNumber,r=i.column;{let e=s>1?this._buffer.getLineCharCode(n,s-2):0,t=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,i=d.ZG(e),l=d.ZG(t);return i||l?n===o&&s===r?new m.e(n,s-1,o,r-1):i&&l?new m.e(n,s-1,o,r+1):i?new m.e(n,s-1,o,r):new m.e(n,s,o,r+1):new m.e(n,s,o,r)}}modifyPosition(e,t){this._assertNotDisposed();let i=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,i)))}getFullModelRange(){this._assertNotDisposed();let e=this.getLineCount();return new m.e(1,1,e,this.getLineMaxColumn(e))}findMatchesLineByLine(e,t,i,n){return this._buffer.findMatchesLineByLine(e,t,i,n)}findMatches(e,t,i,n,s,o,r=999){let l;this._assertNotDisposed();let a=null;null!==t&&(Array.isArray(t)||(t=[t]),t.every(e=>m.e.isIRange(e))&&(a=t.map(e=>this.validateRange(e)))),null===a&&(a=[this.getFullModelRange()]),a=a.sort((e,t)=>e.startLineNumber-t.startLineNumber||e.startColumn-t.startColumn);let d=[];if(d.push(a.reduce((e,t)=>m.e.areIntersecting(e,t)?e.plusRange(t):(d.push(e),t))),!i&&0>e.indexOf("\n")){let t=new eN.bc(e,i,n,s),a=t.parseSearchRequest();if(!a)return[];l=e=>this.findMatchesLineByLine(e,a,o,r)}else l=t=>eN.pM.findMatches(this,new eN.bc(e,i,n,s),t,o,r);return d.map(l).reduce((e,t)=>e.concat(t),[])}findNextMatch(e,t,i,n,s,o){this._assertNotDisposed();let r=this.validatePosition(t);if(!i&&0>e.indexOf("\n")){let t=new eN.bc(e,i,n,s),l=t.parseSearchRequest();if(!l)return null;let a=this.getLineCount(),d=new m.e(r.lineNumber,r.column,a,this.getLineMaxColumn(a)),h=this.findMatchesLineByLine(d,l,o,1);return(eN.pM.findNextMatch(this,new eN.bc(e,i,n,s),r,o),h.length>0)?h[0]:(d=new m.e(1,1,r.lineNumber,this.getLineMaxColumn(r.lineNumber)),(h=this.findMatchesLineByLine(d,l,o,1)).length>0)?h[0]:null}return eN.pM.findNextMatch(this,new eN.bc(e,i,n,s),r,o)}findPreviousMatch(e,t,i,n,s,o){this._assertNotDisposed();let r=this.validatePosition(t);return eN.pM.findPreviousMatch(this,new eN.bc(e,i,n,s),r,o)}pushStackElement(){this._commandManager.pushStackElement()}popStackElement(){this._commandManager.popStackElement()}pushEOL(e){let t="\n"===this.getEOL()?0:1;if(t!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(e){return e instanceof C.Qi?e:new C.Qi(e.identifier||null,this.validateRange(e.range),e.text,e.forceMoveMarkers||!1,e.isAutoWhitespaceEdit||!1,e._isTracked||!1)}_validateEditOperations(e){let t=[];for(let i=0,n=e.length;i({range:this.validateRange(e.range),text:e.text})),n=!0;if(e)for(let t=0,s=e.length;ts.endLineNumber,r=s.startLineNumber>t.endLineNumber;if(!n&&!r){o=!0;break}}if(!o){n=!1;break}}if(n)for(let e=0,n=this._trimAutoWhitespaceLines.length;et.endLineNumber||n===t.startLineNumber&&t.startColumn===s&&t.isEmpty()&&r&&r.length>0&&"\n"===r.charAt(0)||n===t.startLineNumber&&1===t.startColumn&&t.isEmpty()&&r&&r.length>0&&"\n"===r.charAt(r.length-1))){o=!1;break}}if(o){let e=new m.e(n,1,n,s);t.push(new C.Qi(null,e,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(e,t,i,n)}_applyUndo(e,t,i,n){let s=e.map(e=>{let t=this.getPositionAt(e.newPosition),i=this.getPositionAt(e.newEnd);return{range:new m.e(t.lineNumber,t.column,i.lineNumber,i.column),text:e.oldText}});this._applyUndoRedoEdits(s,t,!0,!1,i,n)}_applyRedo(e,t,i,n){let s=e.map(e=>{let t=this.getPositionAt(e.oldPosition),i=this.getPositionAt(e.oldEnd);return{range:new m.e(t.lineNumber,t.column,i.lineNumber,i.column),text:e.newText}});this._applyUndoRedoEdits(s,t,!1,!0,i,n)}_applyUndoRedoEdits(e,t,i,n,s,o){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=i,this._isRedoing=n,this.applyEdits(e,!1),this.setEOL(t),this._overwriteAlternativeVersionId(s)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(o),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(e,t=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();let i=this._validateEditOperations(e);return this._doApplyEdits(i,t)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(e,t){let i=this._buffer.getLineCount(),n=this._buffer.applyEdits(e,this._options.trimAutoWhitespace,t),o=this._buffer.getLineCount(),r=n.changes;if(this._trimAutoWhitespaceLines=n.trimAutoWhitespaceLineNumbers,0!==r.length){for(let e=0,t=r.length;e=0;t--){let i=a+t,n=m+t;b.takeFromEndWhile(e=>e.lineNumber>n);let s=b.takeFromEndWhile(e=>e.lineNumber===n);e.push(new tr.rU(i,this.getLineContent(n),s))}if(ce.lineNumbere.lineNumber===t)}e.push(new tr.Tx(n+1,a+l,u,h))}t+=g}this._emitContentChangedEvent(new tr.dQ(e,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:r,eol:this._buffer.getEOL(),isEolChange:!1,versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return null===n.reverseEdits?void 0:n.reverseEdits}undo(){return this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){return this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}handleBeforeFireDecorationsChangedEvent(e){if(null===e||0===e.size)return;let t=Array.from(e),i=t.map(e=>new tr.rU(e,this.getLineContent(e),this._getInjectedTextInLine(e)));this._onDidChangeInjectedText.fire(new tr.D8(i))}changeDecorations(e,t=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(e,t){let i={addDecoration:(t,i)=>this._deltaDecorationsImpl(e,[],[{range:t,options:i}])[0],changeDecoration:(e,t)=>{this._changeDecorationImpl(e,t)},changeDecorationOptions:(e,t)=>{this._changeDecorationOptionsImpl(e,tk(t))},removeDecoration:t=>{this._deltaDecorationsImpl(e,[t],[])},deltaDecorations:(t,i)=>0===t.length&&0===i.length?[]:this._deltaDecorationsImpl(e,t,i)},n=null;try{n=t(i)}catch(e){(0,r.dL)(e)}return i.addDecoration=tc,i.changeDecoration=tc,i.changeDecorationOptions=tc,i.removeDecoration=tc,i.deltaDecorations=tc,n}deltaDecorations(e,t,i=0){if(this._assertNotDisposed(),e||(e=[]),0===e.length&&0===t.length)return[];try{return this._deltaDecorationCallCnt++,this._deltaDecorationCallCnt>1&&(console.warn("Invoking deltaDecorations recursively could lead to leaking decorations."),(0,r.dL)(Error("Invoking deltaDecorations recursively could lead to leaking decorations."))),this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(i,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit(),this._deltaDecorationCallCnt--}}_getTrackedRange(e){return this.getDecorationRange(e)}_setTrackedRange(e,t,i){let n=e?this._decorations[e]:null;if(!n)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:tL[i]}],!0)[0]:null;if(!t)return this._decorationsTree.delete(n),delete this._decorations[n.id],null;let s=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(s.startLineNumber,s.startColumn),r=this._buffer.getOffsetAt(s.endLineNumber,s.endColumn);return this._decorationsTree.delete(n),n.reset(this.getVersionId(),o,r,s),n.setOptions(tL[i]),this._decorationsTree.insert(n),n.id}removeAllDecorationsWithOwnerId(e){if(this._isDisposed)return;let t=this._decorationsTree.collectNodesFromOwner(e);for(let e=0,i=t.length;ethis.getLineCount()?[]:this.getLinesDecorations(e,e,t,i)}getLinesDecorations(e,t,i=0,n=!1,o=!1){let r=this.getLineCount(),l=Math.min(r,Math.max(1,t)),a=this.getLineMaxColumn(l),d=new m.e(Math.min(r,Math.max(1,e)),1,l,a),h=this._getDecorationsInRange(d,i,n,o);return(0,s.vA)(h,this._decorationProvider.getDecorationsInRange(d,i,n)),h}getDecorationsInRange(e,t=0,i=!1,n=!1,o=!1){let r=this.validateRange(e),l=this._getDecorationsInRange(r,t,i,o);return(0,s.vA)(l,this._decorationProvider.getDecorationsInRange(r,t,i,n)),l}getOverviewRulerDecorations(e=0,t=!1){return this._decorationsTree.getAll(this,e,t,!0,!1)}getInjectedTextDecorations(e=0){return this._decorationsTree.getAllInjectedText(this,e)}_getInjectedTextInLine(e){let t=this._buffer.getOffsetAt(e,1),i=t+this._buffer.getLineLength(e),n=this._decorationsTree.getInjectedTextInInterval(this,t,i,0);return tr.gk.fromDecorations(n).filter(t=>t.lineNumber===e)}getAllDecorations(e=0,t=!1){return this._decorationsTree.getAll(this,e,t,!1,!1).concat(this._decorationProvider.getAllDecorations(e,t))}getAllMarginDecorations(e=0){return this._decorationsTree.getAll(this,e,!1,!1,!0)}_getDecorationsInRange(e,t,i,n){let s=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),o=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn);return this._decorationsTree.getAllInInterval(this,s,o,t,i,n)}getRangeAt(e,t){return this._buffer.getRangeAt(e,t-e)}_changeDecorationImpl(e,t){let i=this._decorations[e];if(!i)return;if(i.options.after){let t=this.getDecorationRange(e);this._onDidChangeDecorations.recordLineAffectedByInjectedText(t.endLineNumber)}if(i.options.before){let t=this.getDecorationRange(e);this._onDidChangeDecorations.recordLineAffectedByInjectedText(t.startLineNumber)}let n=this._validateRangeRelaxedNoAllocations(t),s=this._buffer.getOffsetAt(n.startLineNumber,n.startColumn),o=this._buffer.getOffsetAt(n.endLineNumber,n.endColumn);this._decorationsTree.delete(i),i.reset(this.getVersionId(),s,o,n),this._decorationsTree.insert(i),this._onDidChangeDecorations.checkAffectedAndFire(i.options),i.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(n.endLineNumber),i.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(n.startLineNumber)}_changeDecorationOptionsImpl(e,t){let i=this._decorations[e];if(!i)return;let n=!!i.options.overviewRuler&&!!i.options.overviewRuler.color,s=!!t.overviewRuler&&!!t.overviewRuler.color;if(this._onDidChangeDecorations.checkAffectedAndFire(i.options),this._onDidChangeDecorations.checkAffectedAndFire(t),i.options.after||t.after){let e=this._decorationsTree.getNodeRange(this,i);this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.endLineNumber)}if(i.options.before||t.before){let e=this._decorationsTree.getNodeRange(this,i);this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.startLineNumber)}let o=(!!t.after||!!t.before)!==tm(i);n!==s||o?(this._decorationsTree.delete(i),i.setOptions(t),this._decorationsTree.insert(i)):i.setOptions(t)}_deltaDecorationsImpl(e,t,i,n=!1){let s=this.getVersionId(),o=t.length,r=0,l=i.length,a=0;this._onDidChangeDecorations.beginDeferredEmit();try{let d=Array(l);for(;rthis._setLanguage(e.languageId,t)),this._setLanguage(e.languageId,t))}_setLanguage(e,t){this.tokenization.setLanguageId(e,t),this._languageService.requestRichLanguageFeatures(e)}getLanguageIdAtPosition(e,t){return this.tokenization.getLanguageIdAtPosition(e,t)}getWordAtPosition(e){return this._tokenizationTextModelPart.getWordAtPosition(e)}getWordUntilPosition(e){return this._tokenizationTextModelPart.getWordUntilPosition(e)}normalizePosition(e,t){return e}getLineIndentColumn(e){return function(e){let t=0;for(let i of e)if(" "===i||" "===i)t++;else break;return t}(this.getLineContent(e))+1}};function tp(e){return!!e.options.overviewRuler&&!!e.options.overviewRuler.color}function tm(e){return!!e.options.after||!!e.options.before}tg._MODEL_SYNC_LIMIT=52428800,tg.LARGE_FILE_SIZE_THRESHOLD=20971520,tg.LARGE_FILE_LINE_COUNT_THRESHOLD=3e5,tg.LARGE_FILE_HEAP_OPERATION_THRESHOLD=268435456,tg.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:_.D.tabSize,indentSize:_.D.indentSize,insertSpaces:_.D.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:_.D.trimAutoWhitespace,largeFileOptimizations:_.D.largeFileOptimizations,bracketPairColorizationOptions:_.D.bracketPairColorizationOptions},tg=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ta(4,tl.tJ),ta(5,v.O),ta(6,b.c_)],tg);class tf{constructor(){this._decorationsTree0=new eo,this._decorationsTree1=new eo,this._injectedTextDecorationsTree=new eo}ensureAllNodesHaveRanges(e){this.getAll(e,0,!1,!1,!1)}_ensureNodesHaveRanges(e,t){for(let i of t)null===i.range&&(i.range=e.getRangeAt(i.cachedAbsoluteStart,i.cachedAbsoluteEnd));return t}getAllInInterval(e,t,i,n,s,o){let r=e.getVersionId(),l=this._intervalSearch(t,i,n,s,r,o);return this._ensureNodesHaveRanges(e,l)}_intervalSearch(e,t,i,n,s,o){let r=this._decorationsTree0.intervalSearch(e,t,i,n,s,o),l=this._decorationsTree1.intervalSearch(e,t,i,n,s,o),a=this._injectedTextDecorationsTree.intervalSearch(e,t,i,n,s,o);return r.concat(l).concat(a)}getInjectedTextInInterval(e,t,i,n){let s=e.getVersionId(),o=this._injectedTextDecorationsTree.intervalSearch(t,i,n,!1,s,!1);return this._ensureNodesHaveRanges(e,o).filter(e=>e.options.showIfCollapsed||!e.range.isEmpty())}getAllInjectedText(e,t){let i=e.getVersionId(),n=this._injectedTextDecorationsTree.search(t,!1,i,!1);return this._ensureNodesHaveRanges(e,n).filter(e=>e.options.showIfCollapsed||!e.range.isEmpty())}getAll(e,t,i,n,s){let o=e.getVersionId(),r=this._search(t,i,n,o,s);return this._ensureNodesHaveRanges(e,r)}_search(e,t,i,n,s){if(i)return this._decorationsTree1.search(e,t,n,s);{let i=this._decorationsTree0.search(e,t,n,s),o=this._decorationsTree1.search(e,t,n,s),r=this._injectedTextDecorationsTree.search(e,t,n,s);return i.concat(o).concat(r)}}collectNodesFromOwner(e){let t=this._decorationsTree0.collectNodesFromOwner(e),i=this._decorationsTree1.collectNodesFromOwner(e),n=this._injectedTextDecorationsTree.collectNodesFromOwner(e);return t.concat(i).concat(n)}collectNodesPostOrder(){let e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder(),i=this._injectedTextDecorationsTree.collectNodesPostOrder();return e.concat(t).concat(i)}insert(e){tm(e)?this._injectedTextDecorationsTree.insert(e):tp(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)}delete(e){tm(e)?this._injectedTextDecorationsTree.delete(e):tp(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)}getNodeRange(e,t){let i=e.getVersionId();return t.cachedVersionId!==i&&this._resolveNode(t,i),null===t.range&&(t.range=e.getRangeAt(t.cachedAbsoluteStart,t.cachedAbsoluteEnd)),t.range}_resolveNode(e,t){tm(e)?this._injectedTextDecorationsTree.resolveNode(e,t):tp(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)}acceptReplace(e,t,i,n){this._decorationsTree0.acceptReplace(e,t,i,n),this._decorationsTree1.acceptReplace(e,t,i,n),this._injectedTextDecorationsTree.acceptReplace(e,t,i,n)}}function t_(e){return e.replace(/[^a-z0-9\-_]/gi," ")}class tv{constructor(e){this.color=e.color||"",this.darkColor=e.darkColor||""}}class tb extends tv{constructor(e){super(e),this._resolvedColor=null,this.position="number"==typeof e.position?e.position:C.sh.Center}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(e,t){if("string"==typeof e)return e;let i=e?t.getColor(e.id):null;return i?i.toString():""}}class tC{constructor(e){var t;this.position=null!==(t=null==e?void 0:e.position)&&void 0!==t?t:C.U.Center,this.persistLane=null==e?void 0:e.persistLane}}class tw extends tv{constructor(e){var t,i;super(e),this.position=e.position,this.sectionHeaderStyle=null!==(t=e.sectionHeaderStyle)&&void 0!==t?t:null,this.sectionHeaderText=null!==(i=e.sectionHeaderText)&&void 0!==i?i:null}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(e,t){return"string"==typeof e?o.Il.fromHex(e):t.getColor(e.id)}}class ty{static from(e){return e instanceof ty?e:new ty(e)}constructor(e){this.content=e.content||"",this.inlineClassName=e.inlineClassName||null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.attachedData=e.attachedData||null,this.cursorStops=e.cursorStops||null}}class tS{static register(e){return new tS(e)}static createDynamic(e){return new tS(e)}constructor(e){var t,i,n,s,o,r;this.description=e.description,this.blockClassName=e.blockClassName?t_(e.blockClassName):null,this.blockDoesNotCollapse=null!==(t=e.blockDoesNotCollapse)&&void 0!==t?t:null,this.blockIsAfterEnd=null!==(i=e.blockIsAfterEnd)&&void 0!==i?i:null,this.blockPadding=null!==(n=e.blockPadding)&&void 0!==n?n:null,this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?t_(e.className):null,this.shouldFillLineOnLineBreak=null!==(s=e.shouldFillLineOnLineBreak)&&void 0!==s?s:null,this.hoverMessage=e.hoverMessage||null,this.glyphMarginHoverMessage=e.glyphMarginHoverMessage||null,this.lineNumberHoverMessage=e.lineNumberHoverMessage||null,this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new tb(e.overviewRuler):null,this.minimap=e.minimap?new tw(e.minimap):null,this.glyphMargin=e.glyphMarginClassName?new tC(e.glyphMargin):null,this.glyphMarginClassName=e.glyphMarginClassName?t_(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?t_(e.linesDecorationsClassName):null,this.lineNumberClassName=e.lineNumberClassName?t_(e.lineNumberClassName):null,this.linesDecorationsTooltip=e.linesDecorationsTooltip?d.fA(e.linesDecorationsTooltip):null,this.firstLineDecorationClassName=e.firstLineDecorationClassName?t_(e.firstLineDecorationClassName):null,this.marginClassName=e.marginClassName?t_(e.marginClassName):null,this.inlineClassName=e.inlineClassName?t_(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?t_(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?t_(e.afterContentClassName):null,this.after=e.after?ty.from(e.after):null,this.before=e.before?ty.from(e.before):null,this.hideInCommentTokens=null!==(o=e.hideInCommentTokens)&&void 0!==o&&o,this.hideInStringTokens=null!==(r=e.hideInStringTokens)&&void 0!==r&&r}}tS.EMPTY=tS.register({description:"empty"});let tL=[tS.register({description:"tracked-range-always-grows-when-typing-at-edges",stickiness:0}),tS.register({description:"tracked-range-never-grows-when-typing-at-edges",stickiness:1}),tS.register({description:"tracked-range-grows-only-when-typing-before",stickiness:2}),tS.register({description:"tracked-range-grows-only-when-typing-after",stickiness:3})];function tk(e){return e instanceof tS?e:tS.createDynamic(e)}class tD extends a.JT{constructor(e){super(),this.handleBeforeFire=e,this._actual=this._register(new l.Q5),this.event=this._actual.event,this._affectedInjectedTextLines=null,this._deferredCnt=0,this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1,this._affectsLineNumber=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){var e;this._deferredCnt--,0===this._deferredCnt&&(this._shouldFireDeferred&&this.doFire(),null===(e=this._affectedInjectedTextLines)||void 0===e||e.clear(),this._affectedInjectedTextLines=null)}recordLineAffectedByInjectedText(e){this._affectedInjectedTextLines||(this._affectedInjectedTextLines=new Set),this._affectedInjectedTextLines.add(e)}checkAffectedAndFire(e){var t,i;this._affectsMinimap||(this._affectsMinimap=!!(null===(t=e.minimap)||void 0===t?void 0:t.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!!(null===(i=e.overviewRuler)||void 0===i?void 0:i.color)),this._affectsGlyphMargin||(this._affectsGlyphMargin=!!e.glyphMarginClassName),this._affectsLineNumber||(this._affectsLineNumber=!!e.lineNumberClassName),this.tryFire()}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._affectsGlyphMargin=!0,this.tryFire()}tryFire(){0===this._deferredCnt?this.doFire():this._shouldFireDeferred=!0}doFire(){this.handleBeforeFire(this._affectedInjectedTextLines);let e={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler,affectsGlyphMargin:this._affectsGlyphMargin,affectsLineNumber:this._affectsLineNumber};this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1,this._actual.fire(e)}}class tx extends a.JT{constructor(){super(),this._fastEmitter=this._register(new l.Q5),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new l.Q5),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(e=null){if(this._deferredCnt--,0===this._deferredCnt&&null!==this._deferredEvent){this._deferredEvent.rawContentChangedEvent.resultingSelection=e;let t=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(t),this._slowEmitter.fire(t)}}fire(e){if(this._deferredCnt>0){this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e;return}this._fastEmitter.fire(e),this._slowEmitter.fire(e)}}class tN{constructor(){this._onDidChangeVisibleRanges=new l.Q5,this.onDidChangeVisibleRanges=this._onDidChangeVisibleRanges.event,this._views=new Set}attachView(){let e=new tE(t=>{this._onDidChangeVisibleRanges.fire({view:e,state:t})});return this._views.add(e),e}detachView(e){this._views.delete(e),this._onDidChangeVisibleRanges.fire({view:e,state:void 0})}}class tE{constructor(e){this.handleStateChange=e}setVisibleLines(e,t){let i=e.map(e=>new g.z(e.startLineNumber,e.endLineNumber+1));this.handleStateChange({visibleLineRanges:i,stabilized:t})}}},74927:function(e,t,i){"use strict";i.d(t,{U:function(){return s}});var n=i(70784);class s extends n.JT{constructor(){super(...arguments),this._isDisposed=!1}dispose(){super.dispose(),this._isDisposed=!0}assertNotDisposed(){if(this._isDisposed)throw Error("TextModelPart is disposed!")}}},5639:function(e,t,i){"use strict";i.d(t,{bc:function(){return a},cM:function(){return c},iE:function(){return d},pM:function(){return u},sz:function(){return g}});var n=i(95612),s=i(41117),o=i(86570),r=i(70209),l=i(41407);class a{constructor(e,t,i,n){this.searchString=e,this.isRegex=t,this.matchCase=i,this.wordSeparators=n}parseSearchRequest(){let e;if(""===this.searchString)return null;e=this.isRegex?function(e){if(!e||0===e.length)return!1;for(let t=0,i=e.length;t=i)break;let n=e.charCodeAt(t);if(110===n||114===n||87===n)return!0}}return!1}(this.searchString):this.searchString.indexOf("\n")>=0;let t=null;try{t=n.GF(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(e){return null}if(!t)return null;let i=!this.isRegex&&!e;return i&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(i=this.matchCase),new l.Tx(t,this.wordSeparators?(0,s.u)(this.wordSeparators,[]):null,i?this.searchString:null)}}function d(e,t,i){if(!i)return new l.tk(e,null);let n=[];for(let e=0,i=t.length;e>0);t[s]>=e?n=s-1:t[s+1]>=e?(i=s,n=s):i=s+1}return i+1}}class u{static findMatches(e,t,i,n,s){let o=t.parseSearchRequest();return o?o.regex.multiline?this._doFindMatchesMultiline(e,i,new g(o.wordSeparators,o.regex),n,s):this._doFindMatchesLineByLine(e,i,o,n,s):[]}static _getMultilineMatchRange(e,t,i,n,s,o){let l,a;let d=0;if(n?(d=n.findLineFeedCountBeforeOffset(s),l=t+s+d):l=t+s,n){let e=n.findLineFeedCountBeforeOffset(s+o.length),t=e-d;a=l+o.length+t}else a=l+o.length;let h=e.getPositionAt(l),u=e.getPositionAt(a);return new r.e(h.lineNumber,h.column,u.lineNumber,u.column)}static _doFindMatchesMultiline(e,t,i,n,s){let o;let r=e.getOffsetAt(t.getStartPosition()),l=e.getValueInRange(t,1),a="\r\n"===e.getEOL()?new h(l):null,u=[],c=0;for(i.reset(0);(o=i.next(l))&&(u[c++]=d(this._getMultilineMatchRange(e,r,l,a,o.index,o[0]),o,n),!(c>=s)););return u}static _doFindMatchesLineByLine(e,t,i,n,s){let o=[],r=0;if(t.startLineNumber===t.endLineNumber){let l=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return r=this._findMatchesInLine(i,l,t.startLineNumber,t.startColumn-1,r,o,n,s),o}let l=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);r=this._findMatchesInLine(i,l,t.startLineNumber,t.startColumn-1,r,o,n,s);for(let l=t.startLineNumber+1;l=h))););return s}let m=new g(e.wordSeparators,e.regex);m.reset(0);do if((u=m.next(t))&&(o[s++]=d(new r.e(i,u.index+1+n,i,u.index+1+u[0].length+n),u,a),s>=h))break;while(u);return s}static findNextMatch(e,t,i,n){let s=t.parseSearchRequest();if(!s)return null;let o=new g(s.wordSeparators,s.regex);return s.regex.multiline?this._doFindNextMatchMultiline(e,i,o,n):this._doFindNextMatchLineByLine(e,i,o,n)}static _doFindNextMatchMultiline(e,t,i,n){let s=new o.L(t.lineNumber,1),l=e.getOffsetAt(s),a=e.getLineCount(),u=e.getValueInRange(new r.e(s.lineNumber,s.column,a,e.getLineMaxColumn(a)),1),c="\r\n"===e.getEOL()?new h(u):null;i.reset(t.column-1);let g=i.next(u);return g?d(this._getMultilineMatchRange(e,l,u,c,g.index,g[0]),g,n):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new o.L(1,1),i,n):null}static _doFindNextMatchLineByLine(e,t,i,n){let s=e.getLineCount(),o=t.lineNumber,r=e.getLineContent(o),l=this._findFirstMatchInLine(i,r,o,t.column,n);if(l)return l;for(let t=1;t<=s;t++){let r=(o+t-1)%s,l=e.getLineContent(r+1),a=this._findFirstMatchInLine(i,l,r+1,1,n);if(a)return a}return null}static _findFirstMatchInLine(e,t,i,n,s){e.reset(n-1);let o=e.next(t);return o?d(new r.e(i,o.index+1,i,o.index+1+o[0].length),o,s):null}static findPreviousMatch(e,t,i,n){let s=t.parseSearchRequest();if(!s)return null;let o=new g(s.wordSeparators,s.regex);return s.regex.multiline?this._doFindPreviousMatchMultiline(e,i,o,n):this._doFindPreviousMatchLineByLine(e,i,o,n)}static _doFindPreviousMatchMultiline(e,t,i,n){let s=this._doFindMatchesMultiline(e,new r.e(1,1,t.lineNumber,t.column),i,n,9990);if(s.length>0)return s[s.length-1];let l=e.getLineCount();return t.lineNumber!==l||t.column!==e.getLineMaxColumn(l)?this._doFindPreviousMatchMultiline(e,new o.L(l,e.getLineMaxColumn(l)),i,n):null}static _doFindPreviousMatchLineByLine(e,t,i,n){let s=e.getLineCount(),o=t.lineNumber,r=e.getLineContent(o).substring(0,t.column-1),l=this._findLastMatchInLine(i,r,o,n);if(l)return l;for(let t=1;t<=s;t++){let r=(s+o-t-1)%s,l=e.getLineContent(r+1),a=this._findLastMatchInLine(i,l,r+1,n);if(a)return a}return null}static _findLastMatchInLine(e,t,i,n){let s,o=null;for(e.reset(0);s=e.next(t);)o=d(new r.e(i,s.index+1,i,s.index+1+s[0].length),s,n);return o}}function c(e,t,i,n,s){return function(e,t,i,n,s){if(0===n)return!0;let o=t.charCodeAt(n-1);if(0!==e.get(o)||13===o||10===o)return!0;if(s>0){let i=t.charCodeAt(n);if(0!==e.get(i))return!0}return!1}(e,t,0,n,s)&&function(e,t,i,n,s){if(n+s===i)return!0;let o=t.charCodeAt(n+s);if(0!==e.get(o)||13===o||10===o)return!0;if(s>0){let i=t.charCodeAt(n+s-1);if(0!==e.get(i))return!0}return!1}(e,t,i,n,s)}class g{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let i=e.length;do{if(this._prevMatchStartIndex+this._prevMatchLength===i||!(t=this._searchRegex.exec(e)))break;let s=t.index,o=t[0].length;if(s===this._prevMatchStartIndex&&o===this._prevMatchLength){if(0===o){n.ZH(e,i,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=s,this._prevMatchLength=o,!this._wordSeparators||c(this._wordSeparators,e,i,s,o))return t}while(t);return null}}},37042:function(e,t,i){"use strict";function n(e,t){let i=0,n=0,s=e.length;for(;n(0,s.SP)(n.of(t),e),0)}get(e){let t=this._key(e),i=this._cache.get(t);return i?(0,r.uZ)(i.value,this._min,this._max):this.default()}update(e,t){let i=this._key(e),n=this._cache.get(i);n||(n=new r.N(6),this._cache.set(i,n));let s=(0,r.uZ)(n.update(t),this._min,this._max);return(0,u.xn)(e.uri,"output")||this._logService.trace(`[DEBOUNCE: ${this._name}] for ${e.uri.toString()} is ${s}ms`),s}_overall(){let e=new r.nM;for(let[,t]of this._cache)e.update(t.value);return e.value}default(){let e=0|this._overall()||this._default;return(0,r.uZ)(e,this._min,this._max)}}let f=class{constructor(e,t){this._logService=e,this._data=new Map,this._isDev=t.isExtensionDevelopment||!t.isBuilt}for(e,t,i){var s,o,r;let l=null!==(s=null==i?void 0:i.min)&&void 0!==s?s:50,a=null!==(o=null==i?void 0:i.max)&&void 0!==o?o:l**2,d=null!==(r=null==i?void 0:i.key)&&void 0!==r?r:void 0,h=`${n.of(e)},${l}${d?","+d:""}`,u=this._data.get(h);return u||(this._isDev?(this._logService.debug(`[DEBOUNCE: ${t}] is disabled in developed mode`),u=new p(1.5*l)):u=new m(this._logService,t,e,0|this._overallAverage()||1.5*l,l,a),this._data.set(h,u)),u}_overallAverage(){let e=new r.nM;for(let t of this._data.values())e.update(t.default());return e.value}};f=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([c(0,h.VZ),c(1,l.Y)],f),(0,a.z)(g,f,1)},64106:function(e,t,i){"use strict";i.d(t,{p:function(){return s}});var n=i(85327);let s=(0,n.yh)("ILanguageFeaturesService")},87468:function(e,t,i){"use strict";i.d(t,{i:function(){return s}});var n=i(85327);let s=(0,n.yh)("markerDecorationsService")},98334:function(e,t,i){"use strict";i.d(t,{q:function(){return s}});var n=i(85327);let s=(0,n.yh)("modelService")},883:function(e,t,i){"use strict";i.d(t,{S:function(){return s}});var n=i(85327);let s=(0,n.yh)("textModelService")},8185:function(e,t,i){"use strict";i.d(t,{$:function(){return p},h:function(){return m}});var n=i(30664),s=i(55150),o=i(99078),r=i(86570),l=i(70209),a=i(50453);class d{static create(e,t){return new d(e,new h(t))}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._endLineNumber}constructor(e,t){this._startLineNumber=e,this._tokens=t,this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}toString(){return this._tokens.toString(this._startLineNumber)}_updateEndLineNumber(){this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}isEmpty(){return this._tokens.isEmpty()}getLineTokens(e){return this._startLineNumber<=e&&e<=this._endLineNumber?this._tokens.getLineTokens(e-this._startLineNumber):null}getRange(){let e=this._tokens.getRange();return e?new l.e(this._startLineNumber+e.startLineNumber,e.startColumn,this._startLineNumber+e.endLineNumber,e.endColumn):e}removeTokens(e){let t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber;this._startLineNumber+=this._tokens.removeTokens(t,e.startColumn-1,i,e.endColumn-1),this._updateEndLineNumber()}split(e){let t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber,[n,s,o]=this._tokens.split(t,e.startColumn-1,i,e.endColumn-1);return[new d(this._startLineNumber,n),new d(this._startLineNumber+o,s)]}applyEdit(e,t){let[i,n,s]=(0,a.Q)(t);this.acceptEdit(e,i,n,s,t.length>0?t.charCodeAt(0):0)}acceptEdit(e,t,i,n,s){this._acceptDeleteRange(e),this._acceptInsertText(new r.L(e.startLineNumber,e.startColumn),t,i,n,s),this._updateEndLineNumber()}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return;let t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber;if(i<0){let e=i-t;this._startLineNumber-=e;return}let n=this._tokens.getMaxDeltaLine();if(!(t>=n+1)){if(t<0&&i>=n+1){this._startLineNumber=0,this._tokens.clear();return}if(t<0){let n=-t;this._startLineNumber-=n,this._tokens.acceptDeleteRange(e.startColumn-1,0,0,i,e.endColumn-1)}else this._tokens.acceptDeleteRange(0,t,e.startColumn-1,i,e.endColumn-1)}}_acceptInsertText(e,t,i,n,s){if(0===t&&0===i)return;let o=e.lineNumber-this._startLineNumber;if(o<0){this._startLineNumber+=t;return}let r=this._tokens.getMaxDeltaLine();o>=r+1||this._tokens.acceptInsertText(o,e.column-1,t,i,n,s)}}class h{constructor(e){this._tokens=e,this._tokenCount=e.length/4}toString(e){let t=[];for(let i=0;ie)i=n-1;else{let s=n;for(;s>t&&this._getDeltaLine(s-1)===e;)s--;let o=n;for(;oe||h===e&&c>=t)&&(he||h===e&&g>=t){if(hs?p-=s-i:p=i;else if(c===t&&g===i){if(c===n&&p>s)p-=s-i;else{d=!0;continue}}else if(cs)c=t,p=(g=i)+(p-s);else{d=!0;continue}}else if(c>n){if(0===l&&!d){a=r;break}c-=l}else if(c===n&&g>=s)e&&0===c&&(g+=e,p+=e),c-=l,g-=s-i,p-=s-i;else throw Error("Not possible!");let f=4*a;o[f]=c,o[f+1]=g,o[f+2]=p,o[f+3]=m,a++}this._tokenCount=a}acceptInsertText(e,t,i,n,s,o){let r=0===i&&1===n&&(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122),l=this._tokens,a=this._tokenCount;for(let o=0;o0&&t>=1;e>0&&this._logService.getLevel()===o.in.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${t.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),a.push("not-in-legend"));let n=this._themeService.getColorTheme().getTokenStyleMetadata(l,a,i);if(void 0===n)s=2147483647;else{if(s=0,void 0!==n.italic){let e=(n.italic?1:0)<<11;s|=1|e}if(void 0!==n.bold){let e=(n.bold?2:0)<<11;s|=2|e}if(void 0!==n.underline){let e=(n.underline?4:0)<<11;s|=4|e}if(void 0!==n.strikethrough){let e=(n.strikethrough?8:0)<<11;s|=8|e}if(n.foreground){let e=n.foreground<<15;s|=16|e}0===s&&(s=2147483647)}}else this._logService.getLevel()===o.in.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${e} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),s=2147483647,l="not-in-legend";this._hashTable.add(e,t,r,s),this._logService.getLevel()===o.in.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${e} (${l}) / ${t} (${a.join(" ")}): foreground ${n.N.getForeground(s)}, fontStyle ${n.N.getFontStyle(s).toString(2)}`)}return s}warnOverlappingSemanticTokens(e,t){this._hasWarnedOverlappingTokens||(this._hasWarnedOverlappingTokens=!0,this._logService.warn(`Overlapping semantic tokens detected at lineNumber ${e}, column ${t}`))}warnInvalidLengthSemanticTokens(e,t){this._hasWarnedInvalidLengthTokens||(this._hasWarnedInvalidLengthTokens=!0,this._logService.warn(`Semantic token with invalid length detected at lineNumber ${e}, column ${t}`))}warnInvalidEditStart(e,t,i,n,s){this._hasWarnedInvalidEditStart||(this._hasWarnedInvalidEditStart=!0,this._logService.warn(`Invalid semantic tokens edit detected (previousResultId: ${e}, resultId: ${t}) at edit #${i}: The provided start offset ${n} is outside the previous data (length ${s}).`))}};function m(e,t,i){let n=e.data,s=e.data.length/5|0,o=Math.max(Math.ceil(s/1024),400),r=[],l=0,a=1,h=0;for(;le&&0===n[5*t];)t--;if(t-1===e){let e=u;for(;e+1d)t.warnOverlappingSemanticTokens(r,d+1);else{let e=t.getMetadata(v,b,i);2147483647!==e&&(0===p&&(p=r),c[g]=r-p,c[g+1]=d,c[g+2]=_,c[g+3]=e,g+=4,m=r,f=_)}a=r,h=d,l++}g!==c.length&&(c=c.subarray(0,g));let _=d.create(p,c);r.push(_)}return r}p=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([g(1,s.XE),g(2,c.O),g(3,o.VZ)],p);class f{constructor(e,t,i,n){this.tokenTypeIndex=e,this.tokenModifierSet=t,this.languageId=i,this.metadata=n,this.next=null}}class _{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=_._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<_._SIZES.length?2/3*this._currentLength:0),this._elements=[],_._nullOutEntries(this._elements,this._currentLength)}static _nullOutEntries(e,t){for(let i=0;i=this._growCount){let e=this._elements;for(let t of(this._currentLengthIndex++,this._currentLength=_._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<_._SIZES.length?2/3*this._currentLength:0),this._elements=[],_._nullOutEntries(this._elements,this._currentLength),e)){let e=t;for(;e;){let t=e.next;e.next=null,this._add(e),e=t}}}this._add(new f(e,t,i,n))}_add(e){let t=this._hashFunc(e.tokenTypeIndex,e.tokenModifierSet,e.languageId);e.next=this._elements[t],this._elements[t]=e}}_._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143]},42458:function(e,t,i){"use strict";i.d(t,{s:function(){return s}});var n=i(85327);let s=(0,n.yh)("semanticTokensStylingService")},78318:function(e,t,i){"use strict";i.d(t,{V:function(){return s},y:function(){return o}});var n=i(85327);let s=(0,n.yh)("textResourceConfigurationService"),o=(0,n.yh)("textResourcePropertiesService")},15365:function(e,t,i){"use strict";i.d(t,{a:function(){return a}});var n=i(70209),s=i(5639),o=i(95612),r=i(61413),l=i(85330);class a{static computeUnicodeHighlights(e,t,i){let a,h;let u=i?i.startLineNumber:1,c=i?i.endLineNumber:e.getLineCount(),g=new d(t),p=g.getCandidateCodePoints();a="allNonBasicAscii"===p?RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):RegExp(`${function(e,t){let i=`[${o.ec(e.map(e=>String.fromCodePoint(e)).join(""))}]`;return i}(Array.from(p))}`,"g");let m=new s.sz(null,a),f=[],_=!1,v=0,b=0,C=0;n:for(let t=u;t<=c;t++){let i=e.getLineContent(t),s=i.length;m.reset(0);do if(h=m.next(i)){let e=h.index,a=h.index+h[0].length;if(e>0){let t=i.charCodeAt(e-1);o.ZG(t)&&e--}if(a+1=1e3){_=!0;break n}f.push(new n.e(t,e+1,t,a+1))}}while(h)}return{ranges:f,hasMore:_,ambiguousCharacterCount:v,invisibleCharacterCount:b,nonBasicAsciiCharacterCount:C}}static computeUnicodeHighlightReason(e,t){let i=new d(t),n=i.shouldHighlightNonBasicASCII(e,null);switch(n){case 0:return null;case 2:return{kind:1};case 3:{let n=e.codePointAt(0),s=i.ambiguousCharacters.getPrimaryConfusable(n),r=o.ZK.getLocales().filter(e=>!o.ZK.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(n));return{kind:0,confusableWith:String.fromCodePoint(s),notAmbiguousInLocales:r}}case 1:return{kind:2}}}}class d{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=o.ZK.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of o.vU.codePoints)h(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let i=e.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let n=!1,s=!1;if(t)for(let e of t){let t=e.codePointAt(0),i=o.$i(e);n=n||i,i||this.ambiguousCharacters.isAmbiguous(t)||o.vU.isInvisibleCharacter(t)||(s=!0)}return!n&&s?0:this.options.invisibleCharacters&&!h(e)&&o.vU.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function h(e){return" "===e||"\n"===e||" "===e}},60989:function(e,t,i){"use strict";var n,s,o,r,l,a,d,h,u,c,g,p,m,f,_,v,b,C,w,y,S,L,k,D,x,N,E,I,T,M,R,A,P,O,F,B,W,H,V,z,K,U,$,q,j,G,Q,Z,Y,J,X,ee,et,ei,en,es,eo,er,el,ea,ed,eh,eu,ec,eg,ep,em,ef,e_,ev,eb,eC,ew,ey,eS,eL,ek,eD,ex,eN,eE,eI,eT,eM,eR,eA,eP,eO,eF,eB,eW,eH;i.d(t,{$r:function(){return V},E$:function(){return M},F5:function(){return x},Ij:function(){return a},In:function(){return $},Ll:function(){return T},Lu:function(){return O},MG:function(){return E},MY:function(){return c},NA:function(){return A},OI:function(){return j},RM:function(){return C},U:function(){return _},VD:function(){return L},Vi:function(){return h},WG:function(){return N},WW:function(){return z},ZL:function(){return k},_x:function(){return u},a$:function(){return H},a7:function(){return o},ao:function(){return n},bq:function(){return v},bw:function(){return y},cR:function(){return K},cm:function(){return r},d2:function(){return q},eB:function(){return D},g4:function(){return B},g_:function(){return W},gl:function(){return w},gm:function(){return m},jl:function(){return f},np:function(){return s},py:function(){return P},r3:function(){return d},r4:function(){return U},rf:function(){return g},rn:function(){return S},sh:function(){return R},up:function(){return G},vQ:function(){return F},w:function(){return I},wT:function(){return p},wU:function(){return b},we:function(){return l}}),(Q=n||(n={}))[Q.Unknown=0]="Unknown",Q[Q.Disabled=1]="Disabled",Q[Q.Enabled=2]="Enabled",(Z=s||(s={}))[Z.Invoke=1]="Invoke",Z[Z.Auto=2]="Auto",(Y=o||(o={}))[Y.None=0]="None",Y[Y.KeepWhitespace=1]="KeepWhitespace",Y[Y.InsertAsSnippet=4]="InsertAsSnippet",(J=r||(r={}))[J.Method=0]="Method",J[J.Function=1]="Function",J[J.Constructor=2]="Constructor",J[J.Field=3]="Field",J[J.Variable=4]="Variable",J[J.Class=5]="Class",J[J.Struct=6]="Struct",J[J.Interface=7]="Interface",J[J.Module=8]="Module",J[J.Property=9]="Property",J[J.Event=10]="Event",J[J.Operator=11]="Operator",J[J.Unit=12]="Unit",J[J.Value=13]="Value",J[J.Constant=14]="Constant",J[J.Enum=15]="Enum",J[J.EnumMember=16]="EnumMember",J[J.Keyword=17]="Keyword",J[J.Text=18]="Text",J[J.Color=19]="Color",J[J.File=20]="File",J[J.Reference=21]="Reference",J[J.Customcolor=22]="Customcolor",J[J.Folder=23]="Folder",J[J.TypeParameter=24]="TypeParameter",J[J.User=25]="User",J[J.Issue=26]="Issue",J[J.Snippet=27]="Snippet",(X=l||(l={}))[X.Deprecated=1]="Deprecated",(ee=a||(a={}))[ee.Invoke=0]="Invoke",ee[ee.TriggerCharacter=1]="TriggerCharacter",ee[ee.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(et=d||(d={}))[et.EXACT=0]="EXACT",et[et.ABOVE=1]="ABOVE",et[et.BELOW=2]="BELOW",(ei=h||(h={}))[ei.NotSet=0]="NotSet",ei[ei.ContentFlush=1]="ContentFlush",ei[ei.RecoverFromMarkers=2]="RecoverFromMarkers",ei[ei.Explicit=3]="Explicit",ei[ei.Paste=4]="Paste",ei[ei.Undo=5]="Undo",ei[ei.Redo=6]="Redo",(en=u||(u={}))[en.LF=1]="LF",en[en.CRLF=2]="CRLF",(es=c||(c={}))[es.Text=0]="Text",es[es.Read=1]="Read",es[es.Write=2]="Write",(eo=g||(g={}))[eo.None=0]="None",eo[eo.Keep=1]="Keep",eo[eo.Brackets=2]="Brackets",eo[eo.Advanced=3]="Advanced",eo[eo.Full=4]="Full",(er=p||(p={}))[er.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",er[er.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",er[er.accessibilitySupport=2]="accessibilitySupport",er[er.accessibilityPageSize=3]="accessibilityPageSize",er[er.ariaLabel=4]="ariaLabel",er[er.ariaRequired=5]="ariaRequired",er[er.autoClosingBrackets=6]="autoClosingBrackets",er[er.autoClosingComments=7]="autoClosingComments",er[er.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",er[er.autoClosingDelete=9]="autoClosingDelete",er[er.autoClosingOvertype=10]="autoClosingOvertype",er[er.autoClosingQuotes=11]="autoClosingQuotes",er[er.autoIndent=12]="autoIndent",er[er.automaticLayout=13]="automaticLayout",er[er.autoSurround=14]="autoSurround",er[er.bracketPairColorization=15]="bracketPairColorization",er[er.guides=16]="guides",er[er.codeLens=17]="codeLens",er[er.codeLensFontFamily=18]="codeLensFontFamily",er[er.codeLensFontSize=19]="codeLensFontSize",er[er.colorDecorators=20]="colorDecorators",er[er.colorDecoratorsLimit=21]="colorDecoratorsLimit",er[er.columnSelection=22]="columnSelection",er[er.comments=23]="comments",er[er.contextmenu=24]="contextmenu",er[er.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",er[er.cursorBlinking=26]="cursorBlinking",er[er.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",er[er.cursorStyle=28]="cursorStyle",er[er.cursorSurroundingLines=29]="cursorSurroundingLines",er[er.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",er[er.cursorWidth=31]="cursorWidth",er[er.disableLayerHinting=32]="disableLayerHinting",er[er.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",er[er.domReadOnly=34]="domReadOnly",er[er.dragAndDrop=35]="dragAndDrop",er[er.dropIntoEditor=36]="dropIntoEditor",er[er.emptySelectionClipboard=37]="emptySelectionClipboard",er[er.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",er[er.extraEditorClassName=39]="extraEditorClassName",er[er.fastScrollSensitivity=40]="fastScrollSensitivity",er[er.find=41]="find",er[er.fixedOverflowWidgets=42]="fixedOverflowWidgets",er[er.folding=43]="folding",er[er.foldingStrategy=44]="foldingStrategy",er[er.foldingHighlight=45]="foldingHighlight",er[er.foldingImportsByDefault=46]="foldingImportsByDefault",er[er.foldingMaximumRegions=47]="foldingMaximumRegions",er[er.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",er[er.fontFamily=49]="fontFamily",er[er.fontInfo=50]="fontInfo",er[er.fontLigatures=51]="fontLigatures",er[er.fontSize=52]="fontSize",er[er.fontWeight=53]="fontWeight",er[er.fontVariations=54]="fontVariations",er[er.formatOnPaste=55]="formatOnPaste",er[er.formatOnType=56]="formatOnType",er[er.glyphMargin=57]="glyphMargin",er[er.gotoLocation=58]="gotoLocation",er[er.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",er[er.hover=60]="hover",er[er.inDiffEditor=61]="inDiffEditor",er[er.inlineSuggest=62]="inlineSuggest",er[er.inlineEdit=63]="inlineEdit",er[er.letterSpacing=64]="letterSpacing",er[er.lightbulb=65]="lightbulb",er[er.lineDecorationsWidth=66]="lineDecorationsWidth",er[er.lineHeight=67]="lineHeight",er[er.lineNumbers=68]="lineNumbers",er[er.lineNumbersMinChars=69]="lineNumbersMinChars",er[er.linkedEditing=70]="linkedEditing",er[er.links=71]="links",er[er.matchBrackets=72]="matchBrackets",er[er.minimap=73]="minimap",er[er.mouseStyle=74]="mouseStyle",er[er.mouseWheelScrollSensitivity=75]="mouseWheelScrollSensitivity",er[er.mouseWheelZoom=76]="mouseWheelZoom",er[er.multiCursorMergeOverlapping=77]="multiCursorMergeOverlapping",er[er.multiCursorModifier=78]="multiCursorModifier",er[er.multiCursorPaste=79]="multiCursorPaste",er[er.multiCursorLimit=80]="multiCursorLimit",er[er.occurrencesHighlight=81]="occurrencesHighlight",er[er.overviewRulerBorder=82]="overviewRulerBorder",er[er.overviewRulerLanes=83]="overviewRulerLanes",er[er.padding=84]="padding",er[er.pasteAs=85]="pasteAs",er[er.parameterHints=86]="parameterHints",er[er.peekWidgetDefaultFocus=87]="peekWidgetDefaultFocus",er[er.definitionLinkOpensInPeek=88]="definitionLinkOpensInPeek",er[er.quickSuggestions=89]="quickSuggestions",er[er.quickSuggestionsDelay=90]="quickSuggestionsDelay",er[er.readOnly=91]="readOnly",er[er.readOnlyMessage=92]="readOnlyMessage",er[er.renameOnType=93]="renameOnType",er[er.renderControlCharacters=94]="renderControlCharacters",er[er.renderFinalNewline=95]="renderFinalNewline",er[er.renderLineHighlight=96]="renderLineHighlight",er[er.renderLineHighlightOnlyWhenFocus=97]="renderLineHighlightOnlyWhenFocus",er[er.renderValidationDecorations=98]="renderValidationDecorations",er[er.renderWhitespace=99]="renderWhitespace",er[er.revealHorizontalRightPadding=100]="revealHorizontalRightPadding",er[er.roundedSelection=101]="roundedSelection",er[er.rulers=102]="rulers",er[er.scrollbar=103]="scrollbar",er[er.scrollBeyondLastColumn=104]="scrollBeyondLastColumn",er[er.scrollBeyondLastLine=105]="scrollBeyondLastLine",er[er.scrollPredominantAxis=106]="scrollPredominantAxis",er[er.selectionClipboard=107]="selectionClipboard",er[er.selectionHighlight=108]="selectionHighlight",er[er.selectOnLineNumbers=109]="selectOnLineNumbers",er[er.showFoldingControls=110]="showFoldingControls",er[er.showUnused=111]="showUnused",er[er.snippetSuggestions=112]="snippetSuggestions",er[er.smartSelect=113]="smartSelect",er[er.smoothScrolling=114]="smoothScrolling",er[er.stickyScroll=115]="stickyScroll",er[er.stickyTabStops=116]="stickyTabStops",er[er.stopRenderingLineAfter=117]="stopRenderingLineAfter",er[er.suggest=118]="suggest",er[er.suggestFontSize=119]="suggestFontSize",er[er.suggestLineHeight=120]="suggestLineHeight",er[er.suggestOnTriggerCharacters=121]="suggestOnTriggerCharacters",er[er.suggestSelection=122]="suggestSelection",er[er.tabCompletion=123]="tabCompletion",er[er.tabIndex=124]="tabIndex",er[er.unicodeHighlighting=125]="unicodeHighlighting",er[er.unusualLineTerminators=126]="unusualLineTerminators",er[er.useShadowDOM=127]="useShadowDOM",er[er.useTabStops=128]="useTabStops",er[er.wordBreak=129]="wordBreak",er[er.wordSegmenterLocales=130]="wordSegmenterLocales",er[er.wordSeparators=131]="wordSeparators",er[er.wordWrap=132]="wordWrap",er[er.wordWrapBreakAfterCharacters=133]="wordWrapBreakAfterCharacters",er[er.wordWrapBreakBeforeCharacters=134]="wordWrapBreakBeforeCharacters",er[er.wordWrapColumn=135]="wordWrapColumn",er[er.wordWrapOverride1=136]="wordWrapOverride1",er[er.wordWrapOverride2=137]="wordWrapOverride2",er[er.wrappingIndent=138]="wrappingIndent",er[er.wrappingStrategy=139]="wrappingStrategy",er[er.showDeprecated=140]="showDeprecated",er[er.inlayHints=141]="inlayHints",er[er.editorClassName=142]="editorClassName",er[er.pixelRatio=143]="pixelRatio",er[er.tabFocusMode=144]="tabFocusMode",er[er.layoutInfo=145]="layoutInfo",er[er.wrappingInfo=146]="wrappingInfo",er[er.defaultColorDecorators=147]="defaultColorDecorators",er[er.colorDecoratorsActivatedOn=148]="colorDecoratorsActivatedOn",er[er.inlineCompletionsAccessibilityVerbose=149]="inlineCompletionsAccessibilityVerbose",(el=m||(m={}))[el.TextDefined=0]="TextDefined",el[el.LF=1]="LF",el[el.CRLF=2]="CRLF",(ea=f||(f={}))[ea.LF=0]="LF",ea[ea.CRLF=1]="CRLF",(ed=_||(_={}))[ed.Left=1]="Left",ed[ed.Center=2]="Center",ed[ed.Right=3]="Right",(eh=v||(v={}))[eh.Increase=0]="Increase",eh[eh.Decrease=1]="Decrease",(eu=b||(b={}))[eu.None=0]="None",eu[eu.Indent=1]="Indent",eu[eu.IndentOutdent=2]="IndentOutdent",eu[eu.Outdent=3]="Outdent",(ec=C||(C={}))[ec.Both=0]="Both",ec[ec.Right=1]="Right",ec[ec.Left=2]="Left",ec[ec.None=3]="None",(eg=w||(w={}))[eg.Type=1]="Type",eg[eg.Parameter=2]="Parameter",(ep=y||(y={}))[ep.Automatic=0]="Automatic",ep[ep.Explicit=1]="Explicit",(em=S||(S={}))[em.Invoke=0]="Invoke",em[em.Automatic=1]="Automatic",(ef=L||(L={}))[ef.DependsOnKbLayout=-1]="DependsOnKbLayout",ef[ef.Unknown=0]="Unknown",ef[ef.Backspace=1]="Backspace",ef[ef.Tab=2]="Tab",ef[ef.Enter=3]="Enter",ef[ef.Shift=4]="Shift",ef[ef.Ctrl=5]="Ctrl",ef[ef.Alt=6]="Alt",ef[ef.PauseBreak=7]="PauseBreak",ef[ef.CapsLock=8]="CapsLock",ef[ef.Escape=9]="Escape",ef[ef.Space=10]="Space",ef[ef.PageUp=11]="PageUp",ef[ef.PageDown=12]="PageDown",ef[ef.End=13]="End",ef[ef.Home=14]="Home",ef[ef.LeftArrow=15]="LeftArrow",ef[ef.UpArrow=16]="UpArrow",ef[ef.RightArrow=17]="RightArrow",ef[ef.DownArrow=18]="DownArrow",ef[ef.Insert=19]="Insert",ef[ef.Delete=20]="Delete",ef[ef.Digit0=21]="Digit0",ef[ef.Digit1=22]="Digit1",ef[ef.Digit2=23]="Digit2",ef[ef.Digit3=24]="Digit3",ef[ef.Digit4=25]="Digit4",ef[ef.Digit5=26]="Digit5",ef[ef.Digit6=27]="Digit6",ef[ef.Digit7=28]="Digit7",ef[ef.Digit8=29]="Digit8",ef[ef.Digit9=30]="Digit9",ef[ef.KeyA=31]="KeyA",ef[ef.KeyB=32]="KeyB",ef[ef.KeyC=33]="KeyC",ef[ef.KeyD=34]="KeyD",ef[ef.KeyE=35]="KeyE",ef[ef.KeyF=36]="KeyF",ef[ef.KeyG=37]="KeyG",ef[ef.KeyH=38]="KeyH",ef[ef.KeyI=39]="KeyI",ef[ef.KeyJ=40]="KeyJ",ef[ef.KeyK=41]="KeyK",ef[ef.KeyL=42]="KeyL",ef[ef.KeyM=43]="KeyM",ef[ef.KeyN=44]="KeyN",ef[ef.KeyO=45]="KeyO",ef[ef.KeyP=46]="KeyP",ef[ef.KeyQ=47]="KeyQ",ef[ef.KeyR=48]="KeyR",ef[ef.KeyS=49]="KeyS",ef[ef.KeyT=50]="KeyT",ef[ef.KeyU=51]="KeyU",ef[ef.KeyV=52]="KeyV",ef[ef.KeyW=53]="KeyW",ef[ef.KeyX=54]="KeyX",ef[ef.KeyY=55]="KeyY",ef[ef.KeyZ=56]="KeyZ",ef[ef.Meta=57]="Meta",ef[ef.ContextMenu=58]="ContextMenu",ef[ef.F1=59]="F1",ef[ef.F2=60]="F2",ef[ef.F3=61]="F3",ef[ef.F4=62]="F4",ef[ef.F5=63]="F5",ef[ef.F6=64]="F6",ef[ef.F7=65]="F7",ef[ef.F8=66]="F8",ef[ef.F9=67]="F9",ef[ef.F10=68]="F10",ef[ef.F11=69]="F11",ef[ef.F12=70]="F12",ef[ef.F13=71]="F13",ef[ef.F14=72]="F14",ef[ef.F15=73]="F15",ef[ef.F16=74]="F16",ef[ef.F17=75]="F17",ef[ef.F18=76]="F18",ef[ef.F19=77]="F19",ef[ef.F20=78]="F20",ef[ef.F21=79]="F21",ef[ef.F22=80]="F22",ef[ef.F23=81]="F23",ef[ef.F24=82]="F24",ef[ef.NumLock=83]="NumLock",ef[ef.ScrollLock=84]="ScrollLock",ef[ef.Semicolon=85]="Semicolon",ef[ef.Equal=86]="Equal",ef[ef.Comma=87]="Comma",ef[ef.Minus=88]="Minus",ef[ef.Period=89]="Period",ef[ef.Slash=90]="Slash",ef[ef.Backquote=91]="Backquote",ef[ef.BracketLeft=92]="BracketLeft",ef[ef.Backslash=93]="Backslash",ef[ef.BracketRight=94]="BracketRight",ef[ef.Quote=95]="Quote",ef[ef.OEM_8=96]="OEM_8",ef[ef.IntlBackslash=97]="IntlBackslash",ef[ef.Numpad0=98]="Numpad0",ef[ef.Numpad1=99]="Numpad1",ef[ef.Numpad2=100]="Numpad2",ef[ef.Numpad3=101]="Numpad3",ef[ef.Numpad4=102]="Numpad4",ef[ef.Numpad5=103]="Numpad5",ef[ef.Numpad6=104]="Numpad6",ef[ef.Numpad7=105]="Numpad7",ef[ef.Numpad8=106]="Numpad8",ef[ef.Numpad9=107]="Numpad9",ef[ef.NumpadMultiply=108]="NumpadMultiply",ef[ef.NumpadAdd=109]="NumpadAdd",ef[ef.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",ef[ef.NumpadSubtract=111]="NumpadSubtract",ef[ef.NumpadDecimal=112]="NumpadDecimal",ef[ef.NumpadDivide=113]="NumpadDivide",ef[ef.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",ef[ef.ABNT_C1=115]="ABNT_C1",ef[ef.ABNT_C2=116]="ABNT_C2",ef[ef.AudioVolumeMute=117]="AudioVolumeMute",ef[ef.AudioVolumeUp=118]="AudioVolumeUp",ef[ef.AudioVolumeDown=119]="AudioVolumeDown",ef[ef.BrowserSearch=120]="BrowserSearch",ef[ef.BrowserHome=121]="BrowserHome",ef[ef.BrowserBack=122]="BrowserBack",ef[ef.BrowserForward=123]="BrowserForward",ef[ef.MediaTrackNext=124]="MediaTrackNext",ef[ef.MediaTrackPrevious=125]="MediaTrackPrevious",ef[ef.MediaStop=126]="MediaStop",ef[ef.MediaPlayPause=127]="MediaPlayPause",ef[ef.LaunchMediaPlayer=128]="LaunchMediaPlayer",ef[ef.LaunchMail=129]="LaunchMail",ef[ef.LaunchApp2=130]="LaunchApp2",ef[ef.Clear=131]="Clear",ef[ef.MAX_VALUE=132]="MAX_VALUE",(e_=k||(k={}))[e_.Hint=1]="Hint",e_[e_.Info=2]="Info",e_[e_.Warning=4]="Warning",e_[e_.Error=8]="Error",(ev=D||(D={}))[ev.Unnecessary=1]="Unnecessary",ev[ev.Deprecated=2]="Deprecated",(eb=x||(x={}))[eb.Inline=1]="Inline",eb[eb.Gutter=2]="Gutter",(eC=N||(N={}))[eC.Normal=1]="Normal",eC[eC.Underlined=2]="Underlined",(ew=E||(E={}))[ew.UNKNOWN=0]="UNKNOWN",ew[ew.TEXTAREA=1]="TEXTAREA",ew[ew.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",ew[ew.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",ew[ew.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",ew[ew.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",ew[ew.CONTENT_TEXT=6]="CONTENT_TEXT",ew[ew.CONTENT_EMPTY=7]="CONTENT_EMPTY",ew[ew.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",ew[ew.CONTENT_WIDGET=9]="CONTENT_WIDGET",ew[ew.OVERVIEW_RULER=10]="OVERVIEW_RULER",ew[ew.SCROLLBAR=11]="SCROLLBAR",ew[ew.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",ew[ew.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(ey=I||(I={}))[ey.AIGenerated=1]="AIGenerated",(eS=T||(T={}))[eS.Invoke=0]="Invoke",eS[eS.Automatic=1]="Automatic",(eL=M||(M={}))[eL.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",eL[eL.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",eL[eL.TOP_CENTER=2]="TOP_CENTER",(ek=R||(R={}))[ek.Left=1]="Left",ek[ek.Center=2]="Center",ek[ek.Right=4]="Right",ek[ek.Full=7]="Full",(eD=A||(A={}))[eD.Word=0]="Word",eD[eD.Line=1]="Line",eD[eD.Suggest=2]="Suggest",(ex=P||(P={}))[ex.Left=0]="Left",ex[ex.Right=1]="Right",ex[ex.None=2]="None",ex[ex.LeftOfInjectedText=3]="LeftOfInjectedText",ex[ex.RightOfInjectedText=4]="RightOfInjectedText",(eN=O||(O={}))[eN.Off=0]="Off",eN[eN.On=1]="On",eN[eN.Relative=2]="Relative",eN[eN.Interval=3]="Interval",eN[eN.Custom=4]="Custom",(eE=F||(F={}))[eE.None=0]="None",eE[eE.Text=1]="Text",eE[eE.Blocks=2]="Blocks",(eI=B||(B={}))[eI.Smooth=0]="Smooth",eI[eI.Immediate=1]="Immediate",(eT=W||(W={}))[eT.Auto=1]="Auto",eT[eT.Hidden=2]="Hidden",eT[eT.Visible=3]="Visible",(eM=H||(H={}))[eM.LTR=0]="LTR",eM[eM.RTL=1]="RTL",(eR=V||(V={})).Off="off",eR.OnCode="onCode",eR.On="on",(eA=z||(z={}))[eA.Invoke=1]="Invoke",eA[eA.TriggerCharacter=2]="TriggerCharacter",eA[eA.ContentChange=3]="ContentChange",(eP=K||(K={}))[eP.File=0]="File",eP[eP.Module=1]="Module",eP[eP.Namespace=2]="Namespace",eP[eP.Package=3]="Package",eP[eP.Class=4]="Class",eP[eP.Method=5]="Method",eP[eP.Property=6]="Property",eP[eP.Field=7]="Field",eP[eP.Constructor=8]="Constructor",eP[eP.Enum=9]="Enum",eP[eP.Interface=10]="Interface",eP[eP.Function=11]="Function",eP[eP.Variable=12]="Variable",eP[eP.Constant=13]="Constant",eP[eP.String=14]="String",eP[eP.Number=15]="Number",eP[eP.Boolean=16]="Boolean",eP[eP.Array=17]="Array",eP[eP.Object=18]="Object",eP[eP.Key=19]="Key",eP[eP.Null=20]="Null",eP[eP.EnumMember=21]="EnumMember",eP[eP.Struct=22]="Struct",eP[eP.Event=23]="Event",eP[eP.Operator=24]="Operator",eP[eP.TypeParameter=25]="TypeParameter",(eO=U||(U={}))[eO.Deprecated=1]="Deprecated",(eF=$||($={}))[eF.Hidden=0]="Hidden",eF[eF.Blink=1]="Blink",eF[eF.Smooth=2]="Smooth",eF[eF.Phase=3]="Phase",eF[eF.Expand=4]="Expand",eF[eF.Solid=5]="Solid",(eB=q||(q={}))[eB.Line=1]="Line",eB[eB.Block=2]="Block",eB[eB.Underline=3]="Underline",eB[eB.LineThin=4]="LineThin",eB[eB.BlockOutline=5]="BlockOutline",eB[eB.UnderlineThin=6]="UnderlineThin",(eW=j||(j={}))[eW.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",eW[eW.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",eW[eW.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",eW[eW.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(eH=G||(G={}))[eH.None=0]="None",eH[eH.Same=1]="Same",eH[eH.Indent=2]="Indent",eH[eH.DeepIndent=3]="DeepIndent"},85095:function(e,t,i){"use strict";i.d(t,{B8:function(){return u},UX:function(){return d},aq:function(){return h},iN:function(){return g},ld:function(){return a},qq:function(){return l},ug:function(){return r},xi:function(){return c}});var n,s,o,r,l,a,d,h,u,c,g,p=i(82801);(r||(r={})).inspectTokensAction=p.NC("inspectTokens","Developer: Inspect Tokens"),(l||(l={})).gotoLineActionLabel=p.NC("gotoLineActionLabel","Go to Line/Column..."),(a||(a={})).helpQuickAccessActionLabel=p.NC("helpQuickAccess","Show all Quick Access Providers"),(n=d||(d={})).quickCommandActionLabel=p.NC("quickCommandActionLabel","Command Palette"),n.quickCommandHelp=p.NC("quickCommandActionHelp","Show And Run Commands"),(s=h||(h={})).quickOutlineActionLabel=p.NC("quickOutlineActionLabel","Go to Symbol..."),s.quickOutlineByCategoryActionLabel=p.NC("quickOutlineByCategoryActionLabel","Go to Symbol by Category..."),(o=u||(u={})).editorViewAccessibleLabel=p.NC("editorViewAccessibleLabel","Editor content"),o.accessibilityHelpMessage=p.NC("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options."),(c||(c={})).toggleHighContrast=p.NC("toggleHighContrast","Toggle High Contrast Theme"),(g||(g={})).bulkEditServiceSummary=p.NC("bulkEditServiceSummary","Made {0} edits in {1} files")},60646:function(e,t,i){"use strict";i.d(t,{CZ:function(){return a},D8:function(){return h},Jx:function(){return n},Tx:function(){return l},dQ:function(){return d},fV:function(){return u},gk:function(){return s},lN:function(){return r},rU:function(){return o}});class n{constructor(){this.changeType=1}}class s{static applyInjectedText(e,t){if(!t||0===t.length)return e;let i="",n=0;for(let s of t)i+=e.substring(n,s.column-1),n=s.column-1,i+=s.options.content;return i+e.substring(n)}static fromDecorations(e){let t=[];for(let i of e)i.options.before&&i.options.before.content.length>0&&t.push(new s(i.ownerId,i.range.startLineNumber,i.range.startColumn,i.options.before,0)),i.options.after&&i.options.after.content.length>0&&t.push(new s(i.ownerId,i.range.endLineNumber,i.range.endColumn,i.options.after,1));return t.sort((e,t)=>e.lineNumber===t.lineNumber?e.column===t.column?e.order-t.order:e.column-t.column:e.lineNumber-t.lineNumber),t}constructor(e,t,i,n,s){this.ownerId=e,this.lineNumber=t,this.column=i,this.options=n,this.order=s}}class o{constructor(e,t,i){this.changeType=2,this.lineNumber=e,this.detail=t,this.injectedText=i}}class r{constructor(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t}}class l{constructor(e,t,i,n){this.changeType=4,this.injectedTexts=n,this.fromLineNumber=e,this.toLineNumber=t,this.detail=i}}class a{constructor(){this.changeType=5}}class d{constructor(e,t,i,n){this.changes=e,this.versionId=t,this.isUndoing=i,this.isRedoing=n,this.resultingSelection=null}containsEvent(e){for(let t=0,i=this.changes.length;t>>1,this._text=t,this.languageIdCodec=i}equals(e){return e instanceof s&&this.slicedEquals(e,0,this._tokensCount)}slicedEquals(e,t,i){if(this._text!==e._text||this._tokensCount!==e._tokensCount)return!1;let n=t<<1,s=n+(i<<1);for(let t=n;t0?this._tokens[e-1<<1]:0}getMetadata(e){let t=this._tokens[(e<<1)+1];return t}getLanguageId(e){let t=this._tokens[(e<<1)+1],i=n.N.getLanguageId(t);return this.languageIdCodec.decodeLanguageId(i)}getStandardTokenType(e){let t=this._tokens[(e<<1)+1];return n.N.getTokenType(t)}getForeground(e){let t=this._tokens[(e<<1)+1];return n.N.getForeground(t)}getClassName(e){let t=this._tokens[(e<<1)+1];return n.N.getClassNameFromMetadata(t)}getInlineStyle(e,t){let i=this._tokens[(e<<1)+1];return n.N.getInlineStyleFromMetadata(i,t)}getPresentation(e){let t=this._tokens[(e<<1)+1];return n.N.getPresentationFromMetadata(t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return s.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,i){return new o(this,e,t,i)}static convertToEndOffset(e,t){let i=e.length>>>1,n=i-1;for(let t=0;t>>1)-1;for(;it&&(n=s)}return i}withInserted(e){if(0===e.length)return this;let t=0,i=0,n="",o=[],r=0;for(;;){let s=tr){n+=this._text.substring(r,l.offset);let e=this._tokens[(t<<1)+1];o.push(n.length,e),r=l.offset}n+=l.text,o.push(n.length,l.tokenMetadata),i++}else break}return new s(new Uint32Array(o),n,this.languageIdCodec)}getTokenText(e){let t=this.getStartOffset(e),i=this.getEndOffset(e),n=this._text.substring(t,i);return n}forEach(e){let t=this.getCount();for(let i=0;i=i)break;this._tokensCount++}}getMetadata(e){return this._source.getMetadata(this._firstTokenIndex+e)}getLanguageId(e){return this._source.getLanguageId(this._firstTokenIndex+e)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(e){return e instanceof o&&this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount)}getCount(){return this._tokensCount}getStandardTokenType(e){return this._source.getStandardTokenType(this._firstTokenIndex+e)}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){let t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)}getPresentation(e){return this._source.getPresentation(this._firstTokenIndex+e)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}getTokenText(e){let t=this._firstTokenIndex+e,i=this._source.getStartOffset(t),n=this._source.getEndOffset(t),s=this._source.getTokenText(t);return ithis._endOffset&&(s=s.substring(0,s.length-(n-this._endOffset))),s}forEach(e){for(let t=0;t=o||(l[a++]=new s(Math.max(1,t.startColumn-n+1),Math.min(r+1,t.endColumn-n+1),t.className,t.type));return l}static filter(e,t,i,n){if(0===e.length)return[];let o=[],r=0;for(let l=0,a=e.length;lt||d.isEmpty()&&(0===a.type||3===a.type))continue;let h=d.startLineNumber===t?d.startColumn:i,u=d.endLineNumber===t?d.endColumn:n;o[r++]=new s(h,u,a.inlineClassName,a.type)}return o}static _typeCompare(e,t){let i=[2,0,1,3];return i[e]-i[t]}static compare(e,t){if(e.startColumn!==t.startColumn)return e.startColumn-t.startColumn;if(e.endColumn!==t.endColumn)return e.endColumn-t.endColumn;let i=s._typeCompare(e.type,t.type);return 0!==i?i:e.className!==t.className?e.className0&&this.stopOffsets[0]0&&t=e){this.stopOffsets.splice(n,0,e),this.classNames.splice(n,0,t),this.metadata.splice(n,0,i);break}this.count++}}class l{static normalize(e,t){if(0===t.length)return[];let i=[],s=new r,o=0;for(let r=0,l=t.length;r1){let t=e.charCodeAt(a-2);n.ZG(t)&&a--}if(d>1){let t=e.charCodeAt(d-2);n.ZG(t)&&d--}let c=a-1,g=d-2;o=s.consumeLowerThan(c,o,i),0===s.count&&(o=c),s.insert(g,h,u)}return s.consumeLowerThan(1073741824,o,i),i}}},53429:function(e,t,i){"use strict";i.d(t,{Nd:function(){return h},zG:function(){return a},IJ:function(){return d},d1:function(){return g},tF:function(){return m}});var n=i(82801),s=i(95612),o=i(91797),r=i(90252);class l{constructor(e,t,i,n){this.endIndex=e,this.type=t,this.metadata=i,this.containsRTL=n,this._linePartBrand=void 0}isWhitespace(){return!!(1&this.metadata)}isPseudoAfter(){return!!(4&this.metadata)}}class a{constructor(e,t){this.startOffset=e,this.endOffset=t}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}}class d{constructor(e,t,i,n,s,o,l,a,d,h,u,c,g,p,m,f,_,v,b){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=i,this.continuesWithWrappedLine=n,this.isBasicASCII=s,this.containsRTL=o,this.fauxIndentLength=l,this.lineTokens=a,this.lineDecorations=d.sort(r.Kp.compare),this.tabSize=h,this.startVisibleColumn=u,this.spaceWidth=c,this.stopRenderingLineAfter=m,this.renderWhitespace="all"===f?4:"boundary"===f?1:"selection"===f?2:"trailing"===f?3:0,this.renderControlCharacters=_,this.fontLigatures=v,this.selectionsOnLine=b&&b.sort((e,t)=>e.startOffset>>16}static getCharIndex(e){return(65535&e)>>>0}constructor(e,t){this.length=e,this._data=new Uint32Array(this.length),this._horizontalOffset=new Uint32Array(this.length)}setColumnInfo(e,t,i,n){this._data[e-1]=(t<<16|i<<0)>>>0,this._horizontalOffset[e-1]=n}getHorizontalOffset(e){return 0===this._horizontalOffset.length?0:this._horizontalOffset[e-1]}charOffsetToPartData(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}getDomPosition(e){let t=this.charOffsetToPartData(e-1),i=u.getPartIndex(t),n=u.getCharIndex(t);return new h(i,n)}getColumn(e,t){let i=this.partDataToCharOffset(e.partIndex,t,e.charIndex);return i+1}partDataToCharOffset(e,t,i){if(0===this.length)return 0;let n=(e<<16|i<<0)>>>0,s=0,o=this.length-1;for(;s+1>>1,t=this._data[e];if(t===n)return e;t>n?o=e:s=e}if(s===o)return s;let r=this._data[s],l=this._data[o];if(r===n)return s;if(l===n)return o;let a=u.getPartIndex(r),d=u.getCharIndex(r),h=u.getPartIndex(l);return i-d<=(a!==h?t:u.getCharIndex(l))-i?s:o}}class c{constructor(e,t,i){this._renderLineOutputBrand=void 0,this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=i}}function g(e,t){if(0===e.lineContent.length){if(e.lineDecorations.length>0){t.appendString("");let i=0,n=0,s=0;for(let o of e.lineDecorations)(1===o.type||2===o.type)&&(t.appendString(''),1===o.type&&(s|=1,i++),2===o.type&&(s|=2,n++));t.appendString("");let o=new u(1,i+n);return o.setColumnInfo(1,i,0,0),new c(o,!1,s)}return t.appendString(""),new c(new u(0,0),!1,0)}return function(e,t){let i=e.fontIsMonospace,o=e.canUseHalfwidthRightwardsArrow,r=e.containsForeignElements,l=e.lineContent,a=e.len,d=e.isOverflowing,h=e.overflowingCharCount,g=e.parts,p=e.fauxIndentLength,m=e.tabSize,f=e.startVisibleColumn,v=e.containsRTL,b=e.spaceWidth,C=e.renderSpaceCharCode,w=e.renderWhitespace,y=e.renderControlCharacters,S=new u(a+1,g.length),L=!1,k=0,D=f,x=0,N=0,E=0;v?t.appendString(''):t.appendString("");for(let e=0,n=g.length;e=p&&(t+=s)}}for(f&&(t.appendString(' style="width:'),t.appendString(String(b*i)),t.appendString('px"')),t.appendASCIICharCode(62);k1?t.appendCharCode(8594):t.appendCharCode(65515);for(let e=2;e<=n;e++)t.appendCharCode(160)}else i=2,n=1,t.appendCharCode(C),t.appendCharCode(8204);x+=i,N+=n,k>=p&&(D+=n)}}else for(t.appendASCIICharCode(62);k=p&&(D+=o)}v?E++:E=0,k>=a&&!L&&n.isPseudoAfter()&&(L=!0,S.setColumnInfo(k+1,e,x,N)),t.appendString("")}return L||S.setColumnInfo(a+1,g.length-1,x,N),d&&(t.appendString(''),t.appendString(n.NC("showMore","Show more ({0})",h<1024?n.NC("overflow.chars","{0} chars",h):h<1048576?`${(h/1024).toFixed(1)} KB`:`${(h/1024/1024).toFixed(1)} MB`)),t.appendString("")),t.appendString(""),new c(S,v,r)}(function(e){let t,i,n;let o=e.lineContent;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter0&&(r[a++]=new l(n,"",0,!1));let d=n;for(let h=0,u=i.getCount();h=o){let i=!!t&&s.Ut(e.substring(d,o));r[a++]=new l(o,c,0,i);break}let g=!!t&&s.Ut(e.substring(d,u));r[a++]=new l(u,c,0,g),d=u}return r}(o,e.containsRTL,e.lineTokens,e.fauxIndentLength,n);e.renderControlCharacters&&!e.isBasicASCII&&(a=function(e,t){let i=[],n=new l(0,"",0,!1),s=0;for(let o of t){let t=o.endIndex;for(;sn.endIndex&&(n=new l(s,o.type,o.metadata,o.containsRTL),i.push(n)),n=new l(s+1,"mtkcontrol",o.metadata,!1),i.push(n))}s>n.endIndex&&(n=new l(t,o.type,o.metadata,o.containsRTL),i.push(n))}return i}(o,a)),(4===e.renderWhitespace||1===e.renderWhitespace||2===e.renderWhitespace&&e.selectionsOnLine||3===e.renderWhitespace&&!e.continuesWithWrappedLine)&&(a=function(e,t,i,n){let o;let r=e.continuesWithWrappedLine,a=e.fauxIndentLength,d=e.tabSize,h=e.startVisibleColumn,u=e.useMonospaceOptimizations,c=e.selectionsOnLine,g=1===e.renderWhitespace,p=3===e.renderWhitespace,m=e.renderSpaceWidth!==e.spaceWidth,f=[],_=0,v=0,b=n[0].type,C=n[v].containsRTL,w=n[v].endIndex,y=n.length,S=!1,L=s.LC(t);-1===L?(S=!0,L=i,o=i):o=s.ow(t);let k=!1,D=0,x=c&&c[D],N=h%d;for(let e=a;e=x.endOffset&&(D++,x=c&&c[D]),eo)r=!0;else if(9===h)r=!0;else if(32===h){if(g){if(k)r=!0;else{let n=e+1e),r&&p&&(r=S||e>o),r&&C&&e>=L&&e<=o&&(r=!1),k){if(!r||!u&&N>=d){if(m){let t=_>0?f[_-1].endIndex:a;for(let i=t+1;i<=e;i++)f[_++]=new l(i,"mtkw",1,!1)}else f[_++]=new l(e,"mtkw",1,!1);N%=d}}else(e===w||r&&e>a)&&(f[_++]=new l(e,b,0,C),N%=d);for(9===h?N=d:s.K7(h)?N+=2:N++,k=r;e===w;)if(++v0?t.charCodeAt(i-1):0,n=i>1?t.charCodeAt(i-2):0;32===e&&32!==n&&9!==n||(E=!0)}else E=!0}if(E){if(m){let e=_>0?f[_-1].endIndex:a;for(let t=e+1;t<=i;t++)f[_++]=new l(t,"mtkw",1,!1)}else f[_++]=new l(i,"mtkw",1,!1)}else f[_++]=new l(i,b,0,C);return f}(e,o,n,a));let d=0;if(e.lineDecorations.length>0){for(let t=0,i=e.lineDecorations.length;tu&&(u=e.startOffset,d[h++]=new l(u,r,c,g)),e.endOffset+1<=n)u=e.endOffset+1,d[h++]=new l(u,r+" "+e.className,c|e.metadata,g),a++;else{u=n,d[h++]=new l(u,r+" "+e.className,c|e.metadata,g);break}}n>u&&(u=n,d[h++]=new l(u,r,c,g))}let c=i[i.length-1].endIndex;if(a=50&&(s[o++]=new l(h+1,t,i,d),u=h+1,h=-1);u!==a&&(s[o++]=new l(a,t,i,d))}else s[o++]=r;n=a}else for(let e=0,i=t.length;e50){let e=i.type,t=i.metadata,d=i.containsRTL,h=Math.ceil(a/50);for(let i=1;i=8234&&e<=8238||e>=8294&&e<=8297||e>=8206&&e<=8207||1564===e}},20910:function(e,t,i){"use strict";i.d(t,{$l:function(){return c},$t:function(){return h},IP:function(){return a},SQ:function(){return g},Wx:function(){return u},l_:function(){return r},ud:function(){return l},wA:function(){return d}});var n=i(40789),s=i(95612),o=i(70209);class r{constructor(e,t,i,n){this._viewportBrand=void 0,this.top=0|e,this.left=0|t,this.width=0|i,this.height=0|n}}class l{constructor(e,t){this.tabSize=e,this.data=t}}class a{constructor(e,t,i,n,s,o,r){this._viewLineDataBrand=void 0,this.content=e,this.continuesWithWrappedLine=t,this.minColumn=i,this.maxColumn=n,this.startVisibleColumn=s,this.tokens=o,this.inlineDecorations=r}}class d{constructor(e,t,i,n,s,o,r,l,a,h){this.minColumn=e,this.maxColumn=t,this.content=i,this.continuesWithWrappedLine=n,this.isBasicASCII=d.isBasicASCII(i,o),this.containsRTL=d.containsRTL(i,this.isBasicASCII,s),this.tokens=r,this.inlineDecorations=l,this.tabSize=a,this.startVisibleColumn=h}static isBasicASCII(e,t){return!t||s.$i(e)}static containsRTL(e,t,i){return!t&&!!i&&s.Ut(e)}}class h{constructor(e,t,i){this.range=e,this.inlineClassName=t,this.type=i}}class u{constructor(e,t,i,n){this.startOffset=e,this.endOffset=t,this.inlineClassName=i,this.inlineClassNameAffectsLetterSpacing=n}toInlineDecoration(e){return new h(new o.e(e,this.startOffset+1,e,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}class c{constructor(e,t){this._viewModelDecorationBrand=void 0,this.range=e,this.options=t}}class g{constructor(e,t,i){this.color=e,this.zIndex=t,this.data=i}static compareByRenderingProps(e,t){return e.zIndex===t.zIndex?e.colort.color?1:0:e.zIndex-t.zIndex}static equals(e,t){return e.color===t.color&&e.zIndex===t.zIndex&&n.fS(e.data,t.data)}static equalsArr(e,t){return n.fS(e,t,g.equals)}}},68757:function(e,t,i){"use strict";i.d(t,{EY:function(){return s},Tj:function(){return o}});class n{constructor(e,t,i){this._colorZoneBrand=void 0,this.from=0|e,this.to=0|t,this.colorId=0|i}static compare(e,t){return e.colorId===t.colorId?e.from===t.from?e.to-t.to:e.from-t.from:e.colorId-t.colorId}}class s{constructor(e,t,i,n){this._overviewRulerZoneBrand=void 0,this.startLineNumber=e,this.endLineNumber=t,this.heightInLines=i,this.color=n,this._colorZone=null}static compare(e,t){return e.color===t.color?e.startLineNumber===t.startLineNumber?e.heightInLines===t.heightInLines?e.endLineNumber-t.endLineNumber:e.heightInLines-t.heightInLines:e.startLineNumber-t.startLineNumber:e.colori&&(g=i-p);let m=a.color,f=this._color2Id[m];f||(f=++this._lastAssignedId,this._color2Id[m]=f,this._id2Color[f]=m);let _=new n(g-p,g+p,f);a.setColorZone(_),l.push(_)}return this._colorZonesInvalid=!1,l.sort(n.compare),l}}},60699:function(e,t,i){"use strict";i.d(t,{$t:function(){return d},CU:function(){return l},Fd:function(){return a},zg:function(){return h}});var n=i(86570),s=i(70209),o=i(20910),r=i(43364);class l{constructor(e,t,i,n,s){this.editorId=e,this.model=t,this.configuration=i,this._linesCollection=n,this._coordinatesConverter=s,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(e){let t=e.id,i=this._decorationsCache[t];if(!i){let r;let l=e.range,a=e.options;if(a.isWholeLine){let e=this._coordinatesConverter.convertModelPositionToViewPosition(new n.L(l.startLineNumber,1),0,!1,!0),t=this._coordinatesConverter.convertModelPositionToViewPosition(new n.L(l.endLineNumber,this.model.getLineMaxColumn(l.endLineNumber)),1);r=new s.e(e.lineNumber,e.column,t.lineNumber,t.column)}else r=this._coordinatesConverter.convertModelRangeToViewRange(l,1);i=new o.$l(r,a),this._decorationsCache[t]=i}return i}getMinimapDecorationsInRange(e){return this._getDecorationsInRange(e,!0,!1).decorations}getDecorationsViewportData(e){let t=null!==this._cachedModelDecorationsResolver;return(t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange))||(this._cachedModelDecorationsResolver=this._getDecorationsInRange(e,!1,!1),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver}getInlineDecorationsOnLine(e,t=!1,i=!1){let n=new s.e(e,this._linesCollection.getViewLineMinColumn(e),e,this._linesCollection.getViewLineMaxColumn(e));return this._getDecorationsInRange(n,t,i).inlineDecorations[0]}_getDecorationsInRange(e,t,i){let n=this._linesCollection.getDecorationsInRange(e,this.editorId,(0,r.$J)(this.configuration.options),t,i),l=e.startLineNumber,d=e.endLineNumber,h=[],u=0,c=[];for(let e=l;e<=d;e++)c[e-l]=[];for(let e=0,t=n.length;e1===e)}function h(e,t){return u(e,t.range,e=>2===e)}function u(e,t,i){for(let n=t.startLineNumber;n<=t.endLineNumber;n++){let s=e.tokenization.getLineTokens(n),o=n===t.startLineNumber,r=n===t.endLineNumber,l=o?s.findTokenIndexAtOffset(t.startColumn-1):0;for(;lt.endColumn-1)break}let e=i(s.getStandardTokenType(l));if(!e)return!1;l++}}return!0}},77390:function(e,t,i){"use strict";var n,s,o=i(16506),r=i(42891),l=i(57231);i(51861);var a=i(82508),d=i(84781),h=i(73440),u=i(82801),c=i(33336);let g=new c.uy("selectionAnchorSet",!1),p=s=class{static get(e){return e.getContribution(s.ID)}constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=g.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){let e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(d.Y.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new r.W5().appendText((0,u.NC)("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),(0,o.Z9)((0,u.NC)("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){let e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){let e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){let t=this.editor.getPosition();this.editor.setSelection(d.Y.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){let e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};p.ID="editor.contrib.selectionAnchorController",p=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=c.i6,function(e,t){n(e,t,1)})],p);class m extends a.R6{constructor(){super({id:"editor.action.setSelectionAnchor",label:(0,u.NC)("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:h.u.editorTextFocus,primary:(0,l.gx)(2089,2080),weight:100}})}async run(e,t){var i;null===(i=p.get(t))||void 0===i||i.setSelectionAnchor()}}class f extends a.R6{constructor(){super({id:"editor.action.goToSelectionAnchor",label:(0,u.NC)("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:g})}async run(e,t){var i;null===(i=p.get(t))||void 0===i||i.goToSelectionAnchor()}}class _ extends a.R6{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:(0,u.NC)("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:g,kbOpts:{kbExpr:h.u.editorTextFocus,primary:(0,l.gx)(2089,2089),weight:100}})}async run(e,t){var i;null===(i=p.get(t))||void 0===i||i.selectFromAnchorToCursor()}}class v extends a.R6{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:(0,u.NC)("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:g,kbOpts:{kbExpr:h.u.editorTextFocus,primary:9,weight:100}})}async run(e,t){var i;null===(i=p.get(t))||void 0===i||i.cancelSelectionAnchor()}}(0,a._K)(p.ID,p,4),(0,a.Qr)(m),(0,a.Qr)(f),(0,a.Qr)(_),(0,a.Qr)(v)},46671:function(e,t,i){"use strict";var n=i(44532),s=i(70784);i(11579);var o=i(82508),r=i(86570),l=i(70209),a=i(84781),d=i(73440),h=i(41407),u=i(66629),c=i(82801),g=i(30467),p=i(43616),m=i(55150);let f=(0,p.P6G)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},c.NC("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class _ extends o.R6{constructor(){super({id:"editor.action.jumpToBracket",label:c.NC("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:d.u.editorTextFocus,primary:3165,weight:100}})}run(e,t){var i;null===(i=w.get(t))||void 0===i||i.jumpToBracket()}}class v extends o.R6{constructor(){super({id:"editor.action.selectToBracket",label:c.NC("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,metadata:{description:c.vv("smartSelect.selectToBracketDescription","Select the text inside and including the brackets or curly braces"),args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var n;let s=!0;i&&!1===i.selectBrackets&&(s=!1),null===(n=w.get(t))||void 0===n||n.selectToBracket(s)}}class b extends o.R6{constructor(){super({id:"editor.action.removeBrackets",label:c.NC("smartSelect.removeBrackets","Remove Brackets"),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:d.u.editorTextFocus,primary:2561,weight:100}})}run(e,t){var i;null===(i=w.get(t))||void 0===i||i.removeBrackets(this.id)}}class C{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class w extends s.JT{static get(e){return e.getContribution(w.ID)}constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new n.pY(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(72),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(e=>{"never"!==this._matchBrackets&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(e=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(e=>{e.hasChanged(72)&&(this._matchBrackets=this._editor.getOption(72),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;let e=this._editor.getModel(),t=this._editor.getSelections().map(t=>{let i=t.getStartPosition(),n=e.bracketPairs.matchBracket(i),s=null;if(n)n[0].containsPosition(i)&&!n[1].containsPosition(i)?s=n[1].getStartPosition():n[1].containsPosition(i)&&(s=n[0].getStartPosition());else{let t=e.bracketPairs.findEnclosingBrackets(i);if(t)s=t[1].getStartPosition();else{let t=e.bracketPairs.findNextBracket(i);t&&t.range&&(s=t.range.getStartPosition())}}return s?new a.Y(s.lineNumber,s.column,s.lineNumber,s.column):new a.Y(i.lineNumber,i.column,i.lineNumber,i.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;let t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{let s=n.getStartPosition(),o=t.bracketPairs.matchBracket(s);if(!o&&!(o=t.bracketPairs.findEnclosingBrackets(s))){let e=t.bracketPairs.findNextBracket(s);e&&e.range&&(o=t.bracketPairs.matchBracket(e.range.getStartPosition()))}let r=null,d=null;if(o){o.sort(l.e.compareRangesUsingStarts);let[t,i]=o;if(r=e?t.getStartPosition():t.getEndPosition(),d=e?i.getEndPosition():i.getStartPosition(),i.containsPosition(s)){let e=r;r=d,d=e}}r&&d&&i.push(new a.Y(r.lineNumber,r.column,d.lineNumber,d.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}removeBrackets(e){if(!this._editor.hasModel())return;let t=this._editor.getModel();this._editor.getSelections().forEach(i=>{let n=i.getPosition(),s=t.bracketPairs.matchBracket(n);s||(s=t.bracketPairs.findEnclosingBrackets(n)),s&&(this._editor.pushUndoStop(),this._editor.executeEdits(e,[{range:s[0],text:""},{range:s[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if("never"===this._matchBrackets)return;this._recomputeBrackets();let e=[],t=0;for(let i of this._lastBracketsData){let n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}let e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}let t=this._editor.getModel(),i=t.getVersionId(),n=[];this._lastVersionId===i&&(n=this._lastBracketsData);let s=[],o=0;for(let t=0,i=e.length;t1&&s.sort(r.L.compare);let l=[],a=0,d=0,h=n.length;for(let e=0,i=s.length;e0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}(0,n.Qr)(d)},92550:function(e,t,i){"use strict";var n=i(5938),s=i(81845),o=i(58022),r=i(62432),l=i(82508),a=i(70208),d=i(73440),h=i(63457),u=i(82801),c=i(30467),g=i(59203),p=i(33336);let m="9_cutcopypaste",f=o.tY||document.queryCommandSupported("cut"),_=o.tY||document.queryCommandSupported("copy"),v=void 0!==navigator.clipboard&&!n.vU||document.queryCommandSupported("paste");function b(e){return e.register(),e}let C=f?b(new l.AJ({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:o.tY?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:c.eH.MenubarEditMenu,group:"2_ccp",title:u.NC({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:c.eH.EditorContext,group:m,title:u.NC("actions.clipboard.cutLabel","Cut"),when:d.u.writable,order:1},{menuId:c.eH.CommandPalette,group:"",title:u.NC("actions.clipboard.cutLabel","Cut"),order:1},{menuId:c.eH.SimpleEditorContext,group:m,title:u.NC("actions.clipboard.cutLabel","Cut"),when:d.u.writable,order:1}]})):void 0,w=_?b(new l.AJ({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:o.tY?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:c.eH.MenubarEditMenu,group:"2_ccp",title:u.NC({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:c.eH.EditorContext,group:m,title:u.NC("actions.clipboard.copyLabel","Copy"),order:2},{menuId:c.eH.CommandPalette,group:"",title:u.NC("actions.clipboard.copyLabel","Copy"),order:1},{menuId:c.eH.SimpleEditorContext,group:m,title:u.NC("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;c.BH.appendMenuItem(c.eH.MenubarEditMenu,{submenu:c.eH.MenubarCopy,title:u.vv("copy as","Copy As"),group:"2_ccp",order:3}),c.BH.appendMenuItem(c.eH.EditorContext,{submenu:c.eH.EditorContextCopy,title:u.vv("copy as","Copy As"),group:m,order:3}),c.BH.appendMenuItem(c.eH.EditorContext,{submenu:c.eH.EditorContextShare,title:u.vv("share","Share"),group:"11_share",order:-1,when:p.Ao.and(p.Ao.notEquals("resourceScheme","output"),d.u.editorTextFocus)}),c.BH.appendMenuItem(c.eH.ExplorerContext,{submenu:c.eH.ExplorerContextShare,title:u.vv("share","Share"),group:"11_share",order:-1});let y=v?b(new l.AJ({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:o.tY?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:c.eH.MenubarEditMenu,group:"2_ccp",title:u.NC({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:c.eH.EditorContext,group:m,title:u.NC("actions.clipboard.pasteLabel","Paste"),when:d.u.writable,order:4},{menuId:c.eH.CommandPalette,group:"",title:u.NC("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:c.eH.SimpleEditorContext,group:m,title:u.NC("actions.clipboard.pasteLabel","Paste"),when:d.u.writable,order:4}]})):void 0;class S extends l.R6{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:u.NC("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:d.u.textInputFocus,primary:0,weight:100}})}run(e,t){if(!t.hasModel())return;let i=t.getOption(37);!i&&t.getSelection().isEmpty()||(r.RA.forceCopyWithSyntaxHighlighting=!0,t.focus(),t.getContainerDomNode().ownerDocument.execCommand("copy"),r.RA.forceCopyWithSyntaxHighlighting=!1)}}function L(e,t){e&&(e.addImplementation(1e4,"code-editor",(e,i)=>{let n=e.get(a.$).getFocusedCodeEditor();if(n&&n.hasTextFocus()){let e=n.getOption(37),i=n.getSelection();return!!(i&&i.isEmpty())&&!e||(n.getContainerDomNode().ownerDocument.execCommand(t),!0)}return!1}),e.addImplementation(0,"generic-dom",(e,i)=>((0,s.uP)().execCommand(t),!0)))}L(C,"cut"),L(w,"copy"),y&&(y.addImplementation(1e4,"code-editor",(e,t)=>{var i,n;let s=e.get(a.$),l=e.get(g.p),d=s.getFocusedCodeEditor();if(d&&d.hasTextFocus()){let e=d.getContainerDomNode().ownerDocument.execCommand("paste");return e?null!==(n=null===(i=h.bO.get(d))||void 0===i?void 0:i.finishedPaste())&&void 0!==n?n:Promise.resolve():!o.$L||(async()=>{let e=await l.readText();if(""!==e){let t=r.Nl.INSTANCE.get(e),i=!1,n=null,s=null;t&&(i=d.getOption(37)&&!!t.isFromEmptySelection,n=void 0!==t.multicursorText?t.multicursorText:null,s=t.mode),d.trigger("keyboard","paste",{text:e,pasteOnNewLine:i,multicursorText:n,mode:s})}})()}return!1}),y.addImplementation(0,"generic-dom",(e,t)=>((0,s.uP)().execCommand("paste"),!0))),_&&(0,l.Qr)(S)},2734:function(e,t,i){"use strict";i.d(t,{Bb:function(){return D},LR:function(){return R},MN:function(){return x},RB:function(){return S},TM:function(){return E},UX:function(){return s},aI:function(){return M},cz:function(){return L},pZ:function(){return k},uH:function(){return N}});var n,s,o=i(40789),r=i(9424),l=i(32378),a=i(70784),d=i(5482),h=i(88338),u=i(70209),c=i(84781),g=i(64106),p=i(98334),m=i(71141),f=i(82801),_=i(81903),v=i(16575),b=i(14588),C=i(77207),w=i(78875),y=i(10396);let S="editor.action.codeAction",L="editor.action.quickFix",k="editor.action.autoFix",D="editor.action.refactor",x="editor.action.sourceAction",N="editor.action.organizeImports",E="editor.action.fixAll";class I extends a.JT{static codeActionsPreferredComparator(e,t){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:0}static codeActionsComparator({action:e},{action:t}){return e.isAI&&!t.isAI?1:!e.isAI&&t.isAI?-1:(0,o.Of)(e.diagnostics)?(0,o.Of)(t.diagnostics)?I.codeActionsPreferredComparator(e,t):-1:(0,o.Of)(t.diagnostics)?1:I.codeActionsPreferredComparator(e,t)}constructor(e,t,i){super(),this.documentation=t,this._register(i),this.allActions=[...e].sort(I.codeActionsComparator),this.validActions=this.allActions.filter(({action:e})=>!e.disabled)}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&w.yN.QuickFix.contains(new y.o(e.kind))&&!!e.isPreferred)}get hasAIFix(){return this.validActions.some(({action:e})=>!!e.isAI)}get allAIFixes(){return this.validActions.every(({action:e})=>!!e.isAI)}}let T={actions:[],documentation:void 0};async function M(e,t,i,n,s,r){var d,h;let u=n.filter||{},c={...u,excludes:[...u.excludes||[],w.yN.Notebook]},g={only:null===(d=u.include)||void 0===d?void 0:d.value,trigger:n.type},p=new m.YQ(t,r),f=2===n.type,_=(h=f?c:u,e.all(t).filter(e=>!e.providedCodeActionKinds||e.providedCodeActionKinds.some(e=>(0,w.EU)(h,new y.o(e))))),v=new a.SL,b=_.map(async e=>{try{s.report(e);let n=await e.provideCodeActions(t,i,g,p.token);if(n&&v.add(n),p.token.isCancellationRequested)return T;let o=((null==n?void 0:n.actions)||[]).filter(e=>e&&(0,w.Yl)(u,e)),r=function(e,t,i){if(!e.documentation)return;let n=e.documentation.map(e=>({kind:new y.o(e.kind),command:e.command}));if(i){let e;for(let t of n)t.kind.contains(i)&&(e?e.kind.contains(t.kind)&&(e=t):e=t);if(e)return null==e?void 0:e.command}for(let e of t)if(e.kind){for(let t of n)if(t.kind.contains(new y.o(e.kind)))return t.command}}(e,o,u.include);return{actions:o.map(t=>new w.bA(t,e)),documentation:r}}catch(e){if((0,l.n2)(e))throw e;return(0,l.Cp)(e),T}}),C=e.onDidChange(()=>{let i=e.all(t);(0,o.fS)(i,_)||p.cancel()});try{let i=await Promise.all(b),s=i.map(e=>e.actions).flat(),r=[...(0,o.kX)(i.map(e=>e.documentation)),...function*(e,t,i,n){var s,o,r;if(t&&n.length)for(let l of e.all(t))l._getAdditionalMenuItems&&(yield*null===(s=l._getAdditionalMenuItems)||void 0===s?void 0:s.call(l,{trigger:i.type,only:null===(r=null===(o=i.filter)||void 0===o?void 0:o.include)||void 0===r?void 0:r.value},n.map(e=>e.action)))}(e,t,n,s)];return new I(s,r,v)}finally{C.dispose(),p.dispose()}}async function R(e,t,i,n,o=r.Ts.None){var l;let a=e.get(h.vu),d=e.get(_.H),u=e.get(C.b),c=e.get(v.lT);if(u.publicLog2("codeAction.applyCodeAction",{codeActionTitle:t.action.title,codeActionKind:t.action.kind,codeActionIsPreferred:!!t.action.isPreferred,reason:i}),await t.resolve(o),!o.isCancellationRequested){if(null===(l=t.action.edit)||void 0===l?void 0:l.edits.length){let e=await a.apply(t.action.edit,{editor:null==n?void 0:n.editor,label:t.action.title,quotableLabel:t.action.title,code:"undoredo.codeAction",respectAutoSaveConfig:i!==s.OnSave,showPreview:null==n?void 0:n.preview});if(!e.isApplied)return}if(t.action.command)try{await d.executeCommand(t.action.command.id,...t.action.command.arguments||[])}catch(t){let e="string"==typeof t?t:t instanceof Error&&"string"==typeof t.message?t.message:void 0;c.error("string"==typeof e?e:f.NC("applyCodeActionFailed","An unknown error occurred while applying the code action"))}}}(n=s||(s={})).OnSave="onSave",n.FromProblemsView="fromProblemsView",n.FromCodeActions="fromCodeActions",n.FromAILightbulb="fromAILightbulb",_.P.registerCommand("_executeCodeActionProvider",async function(e,t,i,n,s){if(!(t instanceof d.o))throw(0,l.b1)();let{codeActionProvider:o}=e.get(g.p),a=e.get(p.q).getModel(t);if(!a)throw(0,l.b1)();let h=c.Y.isISelection(i)?c.Y.liftSelection(i):u.e.isIRange(i)?a.validateRange(i):void 0;if(!h)throw(0,l.b1)();let m="string"==typeof n?new y.o(n):void 0,f=await M(o,a,h,{type:1,triggerAction:w.aQ.Default,filter:{includeSourceActions:!0,include:m}},b.Ex.None,r.Ts.None),_=[],v=Math.min(f.validActions.length,"number"==typeof s?s:0);for(let e=0;ee.action)}finally{setTimeout(()=>f.dispose(),100)}})},87776:function(e,t,i){"use strict";var n=i(82508),s=i(1990),o=i(10396),r=i(95612),l=i(73440),a=i(2734),d=i(82801),h=i(33336),u=i(78875),c=i(37223),g=i(44962);function p(e){return h.Ao.regex(g.fj.keys()[0],RegExp("(\\s|^)"+(0,r.ec)(e.value)+"\\b"))}let m={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:d.NC("args.schema.kind","Kind of the code action to run.")},apply:{type:"string",description:d.NC("args.schema.apply","Controls when the returned actions are applied."),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[d.NC("args.schema.apply.first","Always apply the first returned code action."),d.NC("args.schema.apply.ifSingle","Apply the first returned code action if it is the only one."),d.NC("args.schema.apply.never","Do not apply the returned code actions.")]},preferred:{type:"boolean",default:!1,description:d.NC("args.schema.preferred","Controls if only preferred code actions should be returned.")}}};function f(e,t,i,n,s=u.aQ.Default){if(e.hasModel()){let o=c.G.get(e);null==o||o.manualTriggerAtCurrentPosition(t,s,i,n)}}class _ extends n.R6{constructor(){super({id:a.cz,label:d.NC("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:h.Ao.and(l.u.writable,l.u.hasCodeActionsProvider),kbOpts:{kbExpr:l.u.textInputFocus,primary:2137,weight:100}})}run(e,t){return f(t,d.NC("editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0,u.aQ.QuickFix)}}class v extends n._l{constructor(){super({id:a.RB,precondition:h.Ao.and(l.u.writable,l.u.hasCodeActionsProvider),metadata:{description:"Trigger a code action",args:[{name:"args",schema:m}]}})}runEditorCommand(e,t,i){let n=u.wZ.fromUser(i,{kind:o.o.Empty,apply:"ifSingle"});return f(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?d.NC("editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",i.kind):d.NC("editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",i.kind):n.preferred?d.NC("editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):d.NC("editor.action.codeAction.noneMessage","No code actions available"),{include:n.kind,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply)}}class b extends n.R6{constructor(){super({id:a.Bb,label:d.NC("refactor.label","Refactor..."),alias:"Refactor...",precondition:h.Ao.and(l.u.writable,l.u.hasCodeActionsProvider),kbOpts:{kbExpr:l.u.textInputFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:h.Ao.and(l.u.writable,p(u.yN.Refactor))},metadata:{description:"Refactor...",args:[{name:"args",schema:m}]}})}run(e,t,i){let n=u.wZ.fromUser(i,{kind:u.yN.Refactor,apply:"never"});return f(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?d.NC("editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",i.kind):d.NC("editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",i.kind):n.preferred?d.NC("editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):d.NC("editor.action.refactor.noneMessage","No refactorings available"),{include:u.yN.Refactor.contains(n.kind)?n.kind:o.o.None,onlyIncludePreferredActions:n.preferred},n.apply,u.aQ.Refactor)}}class C extends n.R6{constructor(){super({id:a.MN,label:d.NC("source.label","Source Action..."),alias:"Source Action...",precondition:h.Ao.and(l.u.writable,l.u.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:h.Ao.and(l.u.writable,p(u.yN.Source))},metadata:{description:"Source Action...",args:[{name:"args",schema:m}]}})}run(e,t,i){let n=u.wZ.fromUser(i,{kind:u.yN.Source,apply:"never"});return f(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?d.NC("editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",i.kind):d.NC("editor.action.source.noneMessage.kind","No source actions for '{0}' available",i.kind):n.preferred?d.NC("editor.action.source.noneMessage.preferred","No preferred source actions available"):d.NC("editor.action.source.noneMessage","No source actions available"),{include:u.yN.Source.contains(n.kind)?n.kind:o.o.None,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply,u.aQ.SourceAction)}}class w extends n.R6{constructor(){super({id:a.uH,label:d.NC("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:h.Ao.and(l.u.writable,p(u.yN.SourceOrganizeImports)),kbOpts:{kbExpr:l.u.textInputFocus,primary:1581,weight:100}})}run(e,t){return f(t,d.NC("editor.action.organize.noneMessage","No organize imports action available"),{include:u.yN.SourceOrganizeImports,includeSourceActions:!0},"ifSingle",u.aQ.OrganizeImports)}}class y extends n.R6{constructor(){super({id:a.TM,label:d.NC("fixAll.label","Fix All"),alias:"Fix All",precondition:h.Ao.and(l.u.writable,p(u.yN.SourceFixAll))})}run(e,t){return f(t,d.NC("fixAll.noneMessage","No fix all action available"),{include:u.yN.SourceFixAll,includeSourceActions:!0},"ifSingle",u.aQ.FixAll)}}class S extends n.R6{constructor(){super({id:a.pZ,label:d.NC("autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:h.Ao.and(l.u.writable,p(u.yN.QuickFix)),kbOpts:{kbExpr:l.u.textInputFocus,primary:1625,mac:{primary:2649},weight:100}})}run(e,t){return f(t,d.NC("editor.action.autoFix.noneMessage","No auto fixes available"),{include:u.yN.QuickFix,onlyIncludePreferredActions:!0},"ifSingle",u.aQ.AutoFix)}}var L=i(82006),k=i(73004),D=i(34089);(0,n._K)(c.G.ID,c.G,3),(0,n._K)(L.f.ID,L.f,4),(0,n.Qr)(_),(0,n.Qr)(b),(0,n.Qr)(C),(0,n.Qr)(w),(0,n.Qr)(S),(0,n.Qr)(y),(0,n.fK)(new v),D.B.as(k.IP.Configuration).registerConfiguration({...s.wk,properties:{"editor.codeActionWidget.showHeaders":{type:"boolean",scope:5,description:d.NC("showCodeActionHeaders","Enable/disable showing group headers in the Code Action menu."),default:!0}}}),D.B.as(k.IP.Configuration).registerConfiguration({...s.wk,properties:{"editor.codeActionWidget.includeNearbyQuickFixes":{type:"boolean",scope:5,description:d.NC("includeNearbyQuickFixes","Enable/disable showing nearest Quick Fix within a line when not currently on a diagnostic."),default:!0}}})},37223:function(e,t,i){"use strict";i.d(t,{G:function(){return ea}});var n,s,o,r=i(81845),l=i(16506),a=i(32378),d=i(68126),h=i(70784),u=i(86570),c=i(66629),g=i(64106),p=i(2734),m=i(10396),f=i(78875),_=i(46417);let v=s=class{constructor(e){this.keybindingService=e}getResolver(){let e=new d.o(()=>this.keybindingService.getKeybindings().filter(e=>s.codeActionCommands.indexOf(e.command)>=0).filter(e=>e.resolvedKeybinding).map(e=>{let t=e.commandArgs;return e.command===p.uH?t={kind:f.yN.SourceOrganizeImports.value}:e.command===p.TM&&(t={kind:f.yN.SourceFixAll.value}),{resolvedKeybinding:e.resolvedKeybinding,...f.wZ.fromUser(t,{kind:m.o.None,apply:"never"})}}));return t=>{if(t.kind){let i=this.bestKeybindingForCodeAction(t,e.value);return null==i?void 0:i.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;let i=new m.o(e.kind);return t.filter(e=>e.kind.contains(i)).filter(t=>!t.preferred||e.isPreferred).reduceRight((e,t)=>e?e.kind.contains(t.kind)?t:e:t,void 0)}};v.codeActionCommands=[p.Bb,p.RB,p.MN,p.uH,p.TM],v=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=_.d,function(e,t){n(e,t,0)})],v),i(14910);var b=i(47039);i(64317);var C=i(82801);let w=Object.freeze({kind:m.o.Empty,title:(0,C.NC)("codeAction.widget.id.more","More Actions...")}),y=Object.freeze([{kind:f.yN.QuickFix,title:(0,C.NC)("codeAction.widget.id.quickfix","Quick Fix")},{kind:f.yN.RefactorExtract,title:(0,C.NC)("codeAction.widget.id.extract","Extract"),icon:b.l.wrench},{kind:f.yN.RefactorInline,title:(0,C.NC)("codeAction.widget.id.inline","Inline"),icon:b.l.wrench},{kind:f.yN.RefactorRewrite,title:(0,C.NC)("codeAction.widget.id.convert","Rewrite"),icon:b.l.wrench},{kind:f.yN.RefactorMove,title:(0,C.NC)("codeAction.widget.id.move","Move"),icon:b.l.wrench},{kind:f.yN.SurroundWith,title:(0,C.NC)("codeAction.widget.id.surround","Surround With"),icon:b.l.surroundWith},{kind:f.yN.Source,title:(0,C.NC)("codeAction.widget.id.source","Source Action"),icon:b.l.symbolFile},w]);var S=i(82006),L=i(7727),k=i(21489);i(86857);var D=i(37804),x=i(56240),N=i(9424),E=i(58022),I=i(29527),T=i(10727),M=i(72485),R=i(43616),A=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},P=function(e,t){return function(i,n){t(i,n,e)}};let O="acceptSelectedCodeAction",F="previewSelectedCodeAction";class B{get templateId(){return"header"}renderTemplate(e){e.classList.add("group-header");let t=document.createElement("span");return e.append(t),{container:e,text:t}}renderElement(e,t,i){var n,s;i.text.textContent=null!==(s=null===(n=e.group)||void 0===n?void 0:n.title)&&void 0!==s?s:""}disposeTemplate(e){}}let W=class{get templateId(){return"action"}constructor(e,t){this._supportsPreview=e,this._keybindingService=t}renderTemplate(e){e.classList.add(this.templateId);let t=document.createElement("div");t.className="icon",e.append(t);let i=document.createElement("span");i.className="title",e.append(i);let n=new D.e(e,E.OS);return{container:e,icon:t,text:i,keybinding:n}}renderElement(e,t,i){var n,s,o;if((null===(n=e.group)||void 0===n?void 0:n.icon)?(i.icon.className=I.k.asClassName(e.group.icon),e.group.icon.color&&(i.icon.style.color=(0,R.n_1)(e.group.icon.color.id))):(i.icon.className=I.k.asClassName(b.l.lightBulb),i.icon.style.color="var(--vscode-editorLightBulb-foreground)"),!e.item||!e.label)return;i.text.textContent=U(e.label),i.keybinding.set(e.keybinding),r.iJ(!!e.keybinding,i.keybinding.element);let l=null===(s=this._keybindingService.lookupKeybinding(O))||void 0===s?void 0:s.getLabel(),a=null===(o=this._keybindingService.lookupKeybinding(F))||void 0===o?void 0:o.getLabel();i.container.classList.toggle("option-disabled",e.disabled),e.disabled?i.container.title=e.label:l&&a?this._supportsPreview&&e.canPreview?i.container.title=(0,C.NC)({key:"label-preview",comment:['placeholders are keybindings, e.g "F2 to Apply, Shift+F2 to Preview"']},"{0} to Apply, {1} to Preview",l,a):i.container.title=(0,C.NC)({key:"label",comment:['placeholder is a keybinding, e.g "F2 to Apply"']},"{0} to Apply",l):i.container.title=""}disposeTemplate(e){e.keybinding.dispose()}};W=A([P(1,_.d)],W);class H extends UIEvent{constructor(){super("acceptSelectedAction")}}class V extends UIEvent{constructor(){super("previewSelectedAction")}}function z(e){if("action"===e.kind)return e.label}let K=class extends h.JT{constructor(e,t,i,n,s,o){super(),this._delegate=n,this._contextViewService=s,this._keybindingService=o,this._actionLineHeight=24,this._headerLineHeight=26,this.cts=this._register(new N.AU),this.domNode=document.createElement("div"),this.domNode.classList.add("actionList"),this._list=this._register(new x.aV(e,this.domNode,{getHeight:e=>"header"===e.kind?this._headerLineHeight:this._actionLineHeight,getTemplateId:e=>e.kind},[new W(t,this._keybindingService),new B],{keyboardSupport:!1,typeNavigationEnabled:!0,keyboardNavigationLabelProvider:{getKeyboardNavigationLabel:z},accessibilityProvider:{getAriaLabel:e=>{if("action"===e.kind){let t=e.label?U(null==e?void 0:e.label):"";return e.disabled&&(t=(0,C.NC)({key:"customQuickFixWidget.labels",comment:["Action widget labels for accessibility."]},"{0}, Disabled Reason: {1}",t,e.disabled)),t}return null},getWidgetAriaLabel:()=>(0,C.NC)({key:"customQuickFixWidget",comment:["An action widget option"]},"Action Widget"),getRole:e=>"action"===e.kind?"option":"separator",getWidgetRole:()=>"listbox"}})),this._list.style(M.O2),this._register(this._list.onMouseClick(e=>this.onListClick(e))),this._register(this._list.onMouseOver(e=>this.onListHover(e))),this._register(this._list.onDidChangeFocus(()=>this.onFocus())),this._register(this._list.onDidChangeSelection(e=>this.onListSelection(e))),this._allMenuItems=i,this._list.splice(0,this._list.length,this._allMenuItems),this._list.length&&this.focusNext()}focusCondition(e){return!e.disabled&&"action"===e.kind}hide(e){this._delegate.onHide(e),this.cts.cancel(),this._contextViewService.hideContextView()}layout(e){let t=this._allMenuItems.filter(e=>"header"===e.kind).length,i=this._allMenuItems.length*this._actionLineHeight,n=i+t*this._headerLineHeight-t*this._actionLineHeight;this._list.layout(n);let s=e;if(this._allMenuItems.length>=50)s=380;else{let t=this._allMenuItems.map((e,t)=>{let i=this.domNode.ownerDocument.getElementById(this._list.getElementID(t));if(i){i.style.width="auto";let e=i.getBoundingClientRect().width;return i.style.width="",e}return 0});s=Math.max(...t,e)}let o=Math.min(n,.7*this.domNode.ownerDocument.body.clientHeight);return this._list.layout(o,s),this.domNode.style.height=`${o}px`,this._list.domFocus(),s}focusPrevious(){this._list.focusPrevious(1,!0,void 0,this.focusCondition)}focusNext(){this._list.focusNext(1,!0,void 0,this.focusCondition)}acceptSelected(e){let t=this._list.getFocus();if(0===t.length)return;let i=t[0],n=this._list.element(i);if(!this.focusCondition(n))return;let s=e?new V:new H;this._list.setSelection([i],s)}onListSelection(e){if(!e.elements.length)return;let t=e.elements[0];t.item&&this.focusCondition(t)?this._delegate.onSelect(t.item,e.browserEvent instanceof V):this._list.setSelection([])}onFocus(){var e,t;let i=this._list.getFocus();if(0===i.length)return;let n=i[0],s=this._list.element(n);null===(t=(e=this._delegate).onFocus)||void 0===t||t.call(e,s.item)}async onListHover(e){let t=e.element;if(t&&t.item&&this.focusCondition(t)){if(this._delegate.onHover&&!t.disabled&&"action"===t.kind){let e=await this._delegate.onHover(t.item,this.cts.token);t.canPreview=e?e.canPreview:void 0}e.index&&this._list.splice(e.index,1,[t])}this._list.setFocus("number"==typeof e.index?[e.index]:[])}onListClick(e){e.element&&this.focusCondition(e.element)&&this._list.setFocus([])}};function U(e){return e.replace(/\r\n|\r|\n/g," ")}K=A([P(4,T.u),P(5,_.d)],K);var $=i(30467),q=i(33336),j=i(66653),G=i(85327),Q=function(e,t){return function(i,n){t(i,n,e)}};(0,R.P6G)("actionBar.toggledBackground",{dark:R.XEs,light:R.XEs,hcDark:R.XEs,hcLight:R.XEs},(0,C.NC)("actionBar.toggledBackground","Background color for toggled action items in action bar."));let Z={Visible:new q.uy("codeActionMenuVisible",!1,(0,C.NC)("codeActionMenuVisible","Whether the action widget list is visible"))},Y=(0,G.yh)("actionWidgetService"),J=class extends h.JT{get isVisible(){return Z.Visible.getValue(this._contextKeyService)||!1}constructor(e,t,i){super(),this._contextViewService=e,this._contextKeyService=t,this._instantiationService=i,this._list=this._register(new h.XK)}show(e,t,i,n,s,o,r){let l=Z.Visible.bindTo(this._contextKeyService),a=this._instantiationService.createInstance(K,e,t,i,n);this._contextViewService.showContextView({getAnchor:()=>s,render:e=>(l.set(!0),this._renderWidget(e,a,null!=r?r:[])),onHide:e=>{l.reset(),this._onWidgetClosed(e)}},o,!1)}acceptSelected(e){var t;null===(t=this._list.value)||void 0===t||t.acceptSelected(e)}focusPrevious(){var e,t;null===(t=null===(e=this._list)||void 0===e?void 0:e.value)||void 0===t||t.focusPrevious()}focusNext(){var e,t;null===(t=null===(e=this._list)||void 0===e?void 0:e.value)||void 0===t||t.focusNext()}hide(e){var t;null===(t=this._list.value)||void 0===t||t.hide(e),this._list.clear()}_renderWidget(e,t,i){var n;let s=document.createElement("div");if(s.classList.add("action-widget"),e.appendChild(s),this._list.value=t,this._list.value)s.appendChild(this._list.value.domNode);else throw Error("List has no value");let o=new h.SL,l=document.createElement("div"),a=e.appendChild(l);a.classList.add("context-view-block"),o.add(r.nm(a,r.tw.MOUSE_DOWN,e=>e.stopPropagation()));let d=document.createElement("div"),u=e.appendChild(d);u.classList.add("context-view-pointerBlock"),o.add(r.nm(u,r.tw.POINTER_MOVE,()=>u.remove())),o.add(r.nm(u,r.tw.MOUSE_DOWN,()=>u.remove()));let c=0;if(i.length){let e=this._createActionBar(".action-widget-action-bar",i);e&&(s.appendChild(e.getContainer().parentElement),o.add(e),c=e.getContainer().offsetWidth)}let g=null===(n=this._list.value)||void 0===n?void 0:n.layout(c);s.style.width=`${g}px`;let p=o.add(r.go(e));return o.add(p.onDidBlur(()=>this.hide(!0))),o}_createActionBar(e,t){if(!t.length)return;let i=r.$(e),n=new k.o(i);return n.push(t,{icon:!1,label:!0}),n}_onWidgetClosed(e){var t;null===(t=this._list.value)||void 0===t||t.hide(e)}};J=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([Q(0,T.u),Q(1,q.i6),Q(2,G.TG)],J),(0,j.z)(Y,J,1),(0,$.r1)(class extends $.Ke{constructor(){super({id:"hideCodeActionWidget",title:(0,C.vv)("hideCodeActionWidget.title","Hide action widget"),precondition:Z.Visible,keybinding:{weight:1100,primary:9,secondary:[1033]}})}run(e){e.get(Y).hide(!0)}}),(0,$.r1)(class extends $.Ke{constructor(){super({id:"selectPrevCodeAction",title:(0,C.vv)("selectPrevCodeAction.title","Select previous action"),precondition:Z.Visible,keybinding:{weight:1100,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})}run(e){let t=e.get(Y);t instanceof J&&t.focusPrevious()}}),(0,$.r1)(class extends $.Ke{constructor(){super({id:"selectNextCodeAction",title:(0,C.vv)("selectNextCodeAction.title","Select next action"),precondition:Z.Visible,keybinding:{weight:1100,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})}run(e){let t=e.get(Y);t instanceof J&&t.focusNext()}}),(0,$.r1)(class extends $.Ke{constructor(){super({id:O,title:(0,C.vv)("acceptSelected.title","Accept selected action"),precondition:Z.Visible,keybinding:{weight:1100,primary:3,secondary:[2137]}})}run(e){let t=e.get(Y);t instanceof J&&t.acceptSelected()}}),(0,$.r1)(class extends $.Ke{constructor(){super({id:F,title:(0,C.vv)("previewSelected.title","Preview selected action"),precondition:Z.Visible,keybinding:{weight:1100,primary:2051}})}run(e){let t=e.get(Y);t instanceof J&&t.acceptSelected(!0)}});var X=i(81903),ee=i(78426),et=i(16324),ei=i(14588),en=i(42042),es=i(55150),eo=i(44962),er=i(77207),el=function(e,t){return function(i,n){t(i,n,e)}};let ea=o=class extends h.JT{static get(e){return e.getContribution(o.ID)}constructor(e,t,i,n,s,o,r,l,a,u,c){super(),this._commandService=r,this._configurationService=l,this._actionWidgetService=a,this._instantiationService=u,this._telemetryService=c,this._activeCodeActions=this._register(new h.XK),this._showDisabled=!1,this._disposed=!1,this._editor=e,this._model=this._register(new eo.Jt(this._editor,s.codeActionProvider,t,i,o,l)),this._register(this._model.onDidChangeState(e=>this.update(e))),this._lightBulbWidget=new d.o(()=>{let e=this._editor.getContribution(S.f.ID);return e&&this._register(e.onClick(e=>this.showCodeActionsFromLightbulb(e.actions,e))),e}),this._resolver=n.createInstance(v),this._register(this._editor.onDidLayoutChange(()=>this._actionWidgetService.hide()))}dispose(){this._disposed=!0,super.dispose()}async showCodeActionsFromLightbulb(e,t){if(this._telemetryService.publicLog2("codeAction.showCodeActionsFromLightbulb",{codeActionListLength:e.validActions.length,codeActions:e.validActions.map(e=>e.action.title),codeActionProviders:e.validActions.map(e=>{var t,i;return null!==(i=null===(t=e.provider)||void 0===t?void 0:t.displayName)&&void 0!==i?i:""})}),e.allAIFixes&&1===e.validActions.length){let t=e.validActions[0],i=t.action.command;i&&"inlineChat.start"===i.id&&i.arguments&&i.arguments.length>=1&&(i.arguments[0]={...i.arguments[0],autoSend:!1}),await this._applyCodeAction(t,!1,!1,p.UX.FromAILightbulb);return}await this.showCodeActionList(e,t,{includeDisabledActions:!1,fromLightbulb:!0})}showCodeActions(e,t,i){return this.showCodeActionList(t,i,{includeDisabledActions:!1,fromLightbulb:!1})}manualTriggerAtCurrentPosition(e,t,i,n){var s;if(!this._editor.hasModel())return;null===(s=L.O.get(this._editor))||void 0===s||s.closeMessage();let o=this._editor.getPosition();this._trigger({type:1,triggerAction:t,filter:i,autoApply:n,context:{notAvailableMessage:e,position:o}})}_trigger(e){return this._model.trigger(e)}async _applyCodeAction(e,t,i,n){try{await this._instantiationService.invokeFunction(p.LR,e,n,{preview:i,editor:this._editor})}finally{t&&this._trigger({type:2,triggerAction:f.aQ.QuickFix,filter:{}})}}async update(e){var t,i,n,s,o,r,l;let d;if(1!==e.type){null===(t=this._lightBulbWidget.rawValue)||void 0===t||t.hide();return}try{d=await e.actions}catch(e){(0,a.dL)(e);return}if(!this._disposed){if(null===(i=this._lightBulbWidget.value)||void 0===i||i.update(d,e.trigger,e.position),1===e.trigger.type){if(null===(n=e.trigger.filter)||void 0===n?void 0:n.include){let t=this.tryGetValidActionToApply(e.trigger,d);if(t){try{null===(s=this._lightBulbWidget.value)||void 0===s||s.hide(),await this._applyCodeAction(t,!1,!1,p.UX.FromCodeActions)}finally{d.dispose()}return}if(e.trigger.context){let t=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,d);if(t&&t.action.disabled){null===(o=L.O.get(this._editor))||void 0===o||o.showMessage(t.action.disabled,e.trigger.context.position),d.dispose();return}}}let t=!!(null===(r=e.trigger.filter)||void 0===r?void 0:r.include);if(e.trigger.context&&(!d.allActions.length||!t&&!d.validActions.length)){null===(l=L.O.get(this._editor))||void 0===l||l.showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),this._activeCodeActions.value=d,d.dispose();return}this._activeCodeActions.value=d,this.showCodeActionList(d,this.toCoords(e.position),{includeDisabledActions:t,fromLightbulb:!1})}else this._actionWidgetService.isVisible?d.dispose():this._activeCodeActions.value=d}}getInvalidActionThatWouldHaveBeenApplied(e,t){if(t.allActions.length&&("first"===e.autoApply&&0===t.validActions.length||"ifSingle"===e.autoApply&&1===t.allActions.length))return t.allActions.find(({action:e})=>e.disabled)}tryGetValidActionToApply(e,t){if(t.validActions.length&&("first"===e.autoApply&&t.validActions.length>0||"ifSingle"===e.autoApply&&1===t.validActions.length))return t.validActions[0]}async showCodeActionList(e,t,i){let n=this._editor.createDecorationsCollection(),s=this._editor.getDomNode();if(!s)return;let r=i.includeDisabledActions&&(this._showDisabled||0===e.validActions.length)?e.allActions:e.validActions;if(!r.length)return;let a=u.L.isIPosition(t)?this.toCoords(t):t;this._actionWidgetService.show("codeActionWidget",!0,function(e,t,i){if(!t)return e.map(e=>{var t;return{kind:"action",item:e,group:w,disabled:!!e.action.disabled,label:e.action.disabled||e.action.title,canPreview:!!(null===(t=e.action.edit)||void 0===t?void 0:t.edits.length)}});let n=y.map(e=>({group:e,actions:[]}));for(let t of e){let e=t.action.kind?new m.o(t.action.kind):m.o.None;for(let i of n)if(i.group.kind.contains(e)){i.actions.push(t);break}}let s=[];for(let e of n)if(e.actions.length)for(let t of(s.push({kind:"header",group:e.group}),e.actions)){let n=e.group;s.push({kind:"action",item:t,group:t.action.isAI?{title:n.title,kind:n.kind,icon:b.l.sparkle}:n,label:t.action.title,disabled:!!t.action.disabled,keybinding:i(t.action)})}return s}(r,this._shouldShowHeaders(),this._resolver.getResolver()),{onSelect:async(e,t)=>{this._applyCodeAction(e,!0,!!t,i.fromLightbulb?p.UX.FromAILightbulb:p.UX.FromCodeActions),this._actionWidgetService.hide(!1),n.clear()},onHide:t=>{var s;null===(s=this._editor)||void 0===s||s.focus(),n.clear(),i.fromLightbulb&&void 0!==t&&this._telemetryService.publicLog2("codeAction.showCodeActionList.onHide",{codeActionListLength:e.validActions.length,didCancel:t,codeActions:e.validActions.map(e=>e.action.title)})},onHover:async(e,t)=>{var i;if(t.isCancellationRequested)return;let n=!1,s=e.action.kind;if(s){let e=new m.o(s),t=[f.yN.RefactorExtract,f.yN.RefactorInline,f.yN.RefactorRewrite,f.yN.RefactorMove,f.yN.Source];n=t.some(t=>t.contains(e))}return{canPreview:n||!!(null===(i=e.action.edit)||void 0===i?void 0:i.edits.length)}},onFocus:e=>{var t,i;if(e&&e.action){let s=e.action.ranges,r=e.action.diagnostics;if(n.clear(),s&&s.length>0){let e=r&&(null==r?void 0:r.length)>1?r.map(e=>({range:e,options:o.DECORATION})):s.map(e=>({range:e,options:o.DECORATION}));n.set(e)}else if(r&&r.length>0){let e=r.map(e=>({range:e,options:o.DECORATION}));n.set(e);let s=r[0];if(s.startLineNumber&&s.startColumn){let e=null===(i=null===(t=this._editor.getModel())||void 0===t?void 0:t.getWordAtPosition({lineNumber:s.startLineNumber,column:s.startColumn}))||void 0===i?void 0:i.word;l.i7((0,C.NC)("editingNewSelection","Context: {0} at line {1} and column {2}.",e,s.startLineNumber,s.startColumn))}}}else n.clear()}},a,s,this._getActionBarActions(e,t,i))}toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();let t=this._editor.getScrolledVisiblePosition(e),i=(0,r.i)(this._editor.getDomNode()),n=i.left+t.left,s=i.top+t.top+t.height;return{x:n,y:s}}_shouldShowHeaders(){var e;let t=null===(e=this._editor)||void 0===e?void 0:e.getModel();return this._configurationService.getValue("editor.codeActionWidget.showHeaders",{resource:null==t?void 0:t.uri})}_getActionBarActions(e,t,i){if(i.fromLightbulb)return[];let n=e.documentation.map(e=>{var t;return{id:e.id,label:e.title,tooltip:null!==(t=e.tooltip)&&void 0!==t?t:"",class:void 0,enabled:!0,run:()=>{var t;return this._commandService.executeCommand(e.id,...null!==(t=e.arguments)&&void 0!==t?t:[])}}});return i.includeDisabledActions&&e.validActions.length>0&&e.allActions.length!==e.validActions.length&&n.push(this._showDisabled?{id:"hideMoreActions",label:(0,C.NC)("hideMoreActions","Hide Disabled"),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!1,this.showCodeActionList(e,t,i))}:{id:"showMoreActions",label:(0,C.NC)("showMoreActions","Show Disabled"),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!0,this.showCodeActionList(e,t,i))}),n}};ea.ID="editor.contrib.codeActionController",ea.DECORATION=c.qx.register({description:"quickfix-highlight",className:"quickfix-edit-highlight"}),ea=o=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([el(1,et.lT),el(2,q.i6),el(3,G.TG),el(4,g.p),el(5,ei.ek),el(6,X.H),el(7,ee.Ui),el(8,Y),el(9,G.TG),el(10,er.b)],ea),(0,es.Ic)((e,t)=>{var i;(i=e.getColor(R.MUv))&&t.addRule(`.monaco-editor .quickfix-edit-highlight { background-color: ${i}; }`);let n=e.getColor(R.EiJ);n&&t.addRule(`.monaco-editor .quickfix-edit-highlight { border: 1px ${(0,en.c3)(e.type)?"dotted":"solid"} ${n}; box-sizing: border-box; }`)})},44962:function(e,t,i){"use strict";i.d(t,{Jt:function(){return y},fj:function(){return v}});var n,s,o=i(44532),r=i(32378),l=i(79915),a=i(70784),d=i(1271),h=i(43364),u=i(86570),c=i(84781),g=i(33336),p=i(14588),m=i(78875),f=i(2734),_=i(10396);let v=new g.uy("supportedCodeAction",""),b="_typescript.applyFixAllCodeAction";class C extends a.JT{constructor(e,t,i,n=250){super(),this._editor=e,this._markerService=t,this._signalChange=i,this._delay=n,this._autoTriggerTimer=this._register(new o._F),this._register(this._markerService.onMarkerChanged(e=>this._onMarkerChanges(e))),this._register(this._editor.onDidChangeCursorPosition(()=>this._tryAutoTrigger()))}trigger(e){let t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);this._signalChange(t?{trigger:e,selection:t}:void 0)}_onMarkerChanges(e){let t=this._editor.getModel();t&&e.some(e=>(0,d.Xy)(e,t.uri))&&this._tryAutoTrigger()}_tryAutoTrigger(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2,triggerAction:m.aQ.Default})},this._delay)}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(!this._editor.hasModel())return;let t=this._editor.getSelection();if(1===e.type)return t;let i=this._editor.getOption(65).enabled;if(i!==h.$r.Off){if(i===h.$r.On);else if(i===h.$r.OnCode){let e=t.isEmpty();if(!e)return t;let i=this._editor.getModel(),{lineNumber:n,column:s}=t.getPosition(),o=i.getLineContent(n);if(0===o.length)return;if(1===s){if(/\s/.test(o[0]))return}else if(s===i.getLineMaxColumn(n)){if(/\s/.test(o[o.length-1]))return}else if(/\s/.test(o[s-2])&&/\s/.test(o[s-1]))return}return t}}}(n=s||(s={})).Empty={type:0},n.Triggered=class{constructor(e,t,i){this.trigger=e,this.position=t,this._cancellablePromise=i,this.type=1,this.actions=i.catch(e=>{if((0,r.n2)(e))return w;throw e})}cancel(){this._cancellablePromise.cancel()}};let w=Object.freeze({allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1,hasAIFix:!1,allAIFixes:!1});class y extends a.JT{constructor(e,t,i,n,o,r){super(),this._editor=e,this._registry=t,this._markerService=i,this._progressService=o,this._configurationService=r,this._codeActionOracle=this._register(new a.XK),this._state=s.Empty,this._onDidChangeState=this._register(new l.Q5),this.onDidChangeState=this._onDidChangeState.event,this._disposed=!1,this._supportedCodeActions=v.bindTo(n),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(this._registry.onDidChange(()=>this._update())),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(65)&&this._update()})),this._update()}dispose(){this._disposed||(this._disposed=!0,super.dispose(),this.setState(s.Empty,!0))}_settingEnabledNearbyQuickfixes(){var e;let t=null===(e=this._editor)||void 0===e?void 0:e.getModel();return!!this._configurationService&&this._configurationService.getValue("editor.codeActionWidget.includeNearbyQuickFixes",{resource:null==t?void 0:t.uri})}_update(){if(this._disposed)return;this._codeActionOracle.value=void 0,this.setState(s.Empty);let e=this._editor.getModel();if(e&&this._registry.has(e)&&!this._editor.getOption(91)){let t=this._registry.all(e).flatMap(e=>{var t;return null!==(t=e.providedCodeActionKinds)&&void 0!==t?t:[]});this._supportedCodeActions.set(t.join(" ")),this._codeActionOracle.value=new C(this._editor,this._markerService,t=>{var i;if(!t){this.setState(s.Empty);return}let n=t.selection.getStartPosition(),r=(0,o.PG)(async i=>{var n,s,o,r,l,a,d,h,g,v;if(this._settingEnabledNearbyQuickfixes()&&1===t.trigger.type&&(t.trigger.triggerAction===m.aQ.QuickFix||(null===(s=null===(n=t.trigger.filter)||void 0===n?void 0:n.include)||void 0===s?void 0:s.contains(m.yN.QuickFix)))){let n=await (0,f.aI)(this._registry,e,t.selection,t.trigger,p.Ex.None,i),s=[...n.allActions];if(i.isCancellationRequested)return w;let C=null===(o=n.validActions)||void 0===o?void 0:o.some(e=>!!e.action.kind&&m.yN.QuickFix.contains(new _.o(e.action.kind))),y=this._markerService.read({resource:e.uri});if(C){for(let e of n.validActions)(null===(l=null===(r=e.action.command)||void 0===r?void 0:r.arguments)||void 0===l?void 0:l.some(e=>"string"==typeof e&&e.includes(b)))&&(e.action.diagnostics=[...y.filter(e=>e.relatedInformation)]);return{validActions:n.validActions,allActions:s,documentation:n.documentation,hasAutoFix:n.hasAutoFix,hasAIFix:n.hasAIFix,allAIFixes:n.allAIFixes,dispose:()=>{n.dispose()}}}if(!C&&y.length>0){let o=t.selection.getPosition(),r=o,l=Number.MAX_VALUE,_=[...n.validActions];for(let C of y){let w=C.endColumn,S=C.endLineNumber,L=C.startLineNumber;if(S===o.lineNumber||L===o.lineNumber){r=new u.L(S,w);let C={type:t.trigger.type,triggerAction:t.trigger.triggerAction,filter:{include:(null===(a=t.trigger.filter)||void 0===a?void 0:a.include)?null===(d=t.trigger.filter)||void 0===d?void 0:d.include:m.yN.QuickFix},autoApply:t.trigger.autoApply,context:{notAvailableMessage:(null===(h=t.trigger.context)||void 0===h?void 0:h.notAvailableMessage)||"",position:r}},L=new c.Y(r.lineNumber,r.column,r.lineNumber,r.column),k=await (0,f.aI)(this._registry,e,L,C,p.Ex.None,i);if(0!==k.validActions.length){for(let e of k.validActions)(null===(v=null===(g=e.action.command)||void 0===g?void 0:g.arguments)||void 0===v?void 0:v.some(e=>"string"==typeof e&&e.includes(b)))&&(e.action.diagnostics=[...y.filter(e=>e.relatedInformation)]);0===n.allActions.length&&s.push(...k.allActions),Math.abs(o.column-w)i.findIndex(t=>t.action.title===e.action.title)===t);return C.sort((e,t)=>e.action.isPreferred&&!t.action.isPreferred?-1:!e.action.isPreferred&&t.action.isPreferred?1:e.action.isAI&&!t.action.isAI?1:!e.action.isAI&&t.action.isAI?-1:0),{validActions:C,allActions:s,documentation:n.documentation,hasAutoFix:n.hasAutoFix,hasAIFix:n.hasAIFix,allAIFixes:n.allAIFixes,dispose:()=>{n.dispose()}}}}return(0,f.aI)(this._registry,e,t.selection,t.trigger,p.Ex.None,i)});1===t.trigger.type&&(null===(i=this._progressService)||void 0===i||i.showWhile(r,250));let l=new s.Triggered(t.trigger,n,r),a=!1;1===this._state.type&&(a=1===this._state.trigger.type&&1===l.type&&2===l.trigger.type&&this._state.position!==l.position),a?setTimeout(()=>{this.setState(l)},500):this.setState(l)},void 0),this._codeActionOracle.value.trigger({type:2,triggerAction:m.aQ.Default})}else this._supportedCodeActions.reset()}trigger(e){var t;null===(t=this._codeActionOracle.value)||void 0===t||t.trigger(e)}setState(e,t){e!==this._state&&(1===this._state.type&&this._state.cancel(),this._state=e,t||this._disposed||this._onDidChangeState.fire(e))}}},82006:function(e,t,i){"use strict";i.d(t,{f:function(){return v}});var n,s,o,r=i(81845),l=i(598),a=i(47039),d=i(79915),h=i(70784),u=i(29527);i(28696);var c=i(37042),g=i(2734),p=i(82801),m=i(81903),f=i(46417),_=function(e,t){return function(i,n){t(i,n,e)}};(n=o||(o={})).Hidden={type:0},n.Showing=class{constructor(e,t,i,n){this.actions=e,this.trigger=t,this.editorPosition=i,this.widgetPosition=n,this.type=1}};let v=s=class extends h.JT{constructor(e,t,i){super(),this._editor=e,this._keybindingService=t,this._onClick=this._register(new d.Q5),this.onClick=this._onClick.event,this._state=o.Hidden,this._iconClasses=[],this._domNode=r.$("div.lightBulbWidget"),this._domNode.role="listbox",this._register(l.o.ignoreTarget(this._domNode)),this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(e=>{let t=this._editor.getModel();(1!==this.state.type||!t||this.state.editorPosition.lineNumber>=t.getLineCount())&&this.hide()})),this._register(r.GQ(this._domNode,e=>{if(1!==this.state.type)return;this._editor.focus(),e.preventDefault();let{top:t,height:i}=r.i(this._domNode),n=this._editor.getOption(67),s=Math.floor(n/3);null!==this.state.widgetPosition.position&&this.state.widgetPosition.position.lineNumber{(1&e.buttons)==1&&this.hide()})),this._register(d.ju.runAndSubscribe(this._keybindingService.onDidUpdateKeybindings,()=>{var e,t,i,n;this._preferredKbLabel=null!==(t=null===(e=this._keybindingService.lookupKeybinding(g.pZ))||void 0===e?void 0:e.getLabel())&&void 0!==t?t:void 0,this._quickFixKbLabel=null!==(n=null===(i=this._keybindingService.lookupKeybinding(g.cz))||void 0===i?void 0:i.getLabel())&&void 0!==n?n:void 0,this._updateLightBulbTitleAndIcon()}))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return 1===this._state.type?this._state.widgetPosition:null}update(e,t,i){if(e.validActions.length<=0)return this.hide();let n=this._editor.getOptions();if(!n.get(65).enabled)return this.hide();let r=this._editor.getModel();if(!r)return this.hide();let{lineNumber:l,column:a}=r.validatePosition(i),d=r.getOptions().tabSize,h=this._editor.getOptions().get(50),u=r.getLineContent(l),g=(0,c.q)(u,d),p=h.spaceWidth*g>22,m=e=>e>2&&this._editor.getTopForLineNumber(e)===this._editor.getTopForLineNumber(e-1),f=l,_=1;if(!p){if(l>1&&!m(l-1))f-=1;else if(l=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([_(1,f.d),_(2,m.H)],v)},78875:function(e,t,i){"use strict";i.d(t,{EU:function(){return a},Yl:function(){return d},aQ:function(){return s},bA:function(){return c},wZ:function(){return u},yN:function(){return l}});var n,s,o=i(32378),r=i(10396);let l=new class{constructor(){this.QuickFix=new r.o("quickfix"),this.Refactor=new r.o("refactor"),this.RefactorExtract=this.Refactor.append("extract"),this.RefactorInline=this.Refactor.append("inline"),this.RefactorMove=this.Refactor.append("move"),this.RefactorRewrite=this.Refactor.append("rewrite"),this.Notebook=new r.o("notebook"),this.Source=new r.o("source"),this.SourceOrganizeImports=this.Source.append("organizeImports"),this.SourceFixAll=this.Source.append("fixAll"),this.SurroundWith=this.Refactor.append("surround")}};function a(e,t){return!(e.include&&!e.include.intersects(t)||e.excludes&&e.excludes.some(i=>h(t,i,e.include))||!e.includeSourceActions&&l.Source.contains(t))}function d(e,t){let i=t.kind?new r.o(t.kind):void 0;return!(e.include&&(!i||!e.include.contains(i))||e.excludes&&i&&e.excludes.some(t=>h(i,t,e.include))||!e.includeSourceActions&&i&&l.Source.contains(i))&&(!e.onlyIncludePreferredActions||!!t.isPreferred)}function h(e,t,i){return!(!t.contains(e)||i&&t.contains(i))}(n=s||(s={})).Refactor="refactor",n.RefactorPreview="refactor preview",n.Lightbulb="lightbulb",n.Default="other (default)",n.SourceAction="source action",n.QuickFix="quick fix action",n.FixAll="fix all",n.OrganizeImports="organize imports",n.AutoFix="auto fix",n.QuickFixHover="quick fix hover window",n.OnSave="save participants",n.ProblemsView="problems view";class u{static fromUser(e,t){return e&&"object"==typeof e?new u(u.getKindFromUser(e,t.kind),u.getApplyFromUser(e,t.apply),u.getPreferredUser(e)):new u(t.kind,t.apply,!1)}static getApplyFromUser(e,t){switch("string"==typeof e.apply?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return"string"==typeof e.kind?new r.o(e.kind):t}static getPreferredUser(e){return"boolean"==typeof e.preferred&&e.preferred}constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}}class c{constructor(e,t,i){this.action=e,this.provider=t,this.highlightRange=i}async resolve(e){var t;if((null===(t=this.provider)||void 0===t?void 0:t.resolveCodeAction)&&!this.action.edit){let t;try{t=await this.provider.resolveCodeAction(this.action,e)}catch(e){(0,o.Cp)(e)}t&&(this.action.edit=t.edit)}return this}}},12525:function(e,t,i){"use strict";var n,s=i(44532),o=i(32378),r=i(70784),l=i(24846),a=i(82508),d=i(43364),h=i(73440),u=i(9424),c=i(24162),g=i(5482),p=i(98334),m=i(81903),f=i(64106);class _{constructor(){this.lenses=[],this._disposables=new r.SL}dispose(){this._disposables.dispose()}get isDisposed(){return this._disposables.isDisposed}add(e,t){for(let i of(this._disposables.add(e),e.lenses))this.lenses.push({symbol:i,provider:t})}}async function v(e,t,i){let n=e.ordered(t),s=new Map,r=new _,l=n.map(async(e,n)=>{s.set(e,n);try{let n=await Promise.resolve(e.provideCodeLenses(t,i));n&&r.add(n,e)}catch(e){(0,o.Cp)(e)}});return await Promise.all(l),r.lenses=r.lenses.sort((e,t)=>e.symbol.range.startLineNumbert.symbol.range.startLineNumber?1:s.get(e.provider)s.get(t.provider)?1:e.symbol.range.startColumnt.symbol.range.startColumn?1:0),r}m.P.registerCommand("_executeCodeLensProvider",function(e,...t){let[i,n]=t;(0,c.p_)(g.o.isUri(i)),(0,c.p_)("number"==typeof n||!n);let{codeLensProvider:s}=e.get(f.p),l=e.get(p.q).getModel(i);if(!l)throw(0,o.b1)();let a=[],d=new r.SL;return v(s,l,u.Ts.None).then(e=>{d.add(e);let t=[];for(let i of e.lenses)null==n||i.symbol.command?a.push(i.symbol):n-- >0&&i.provider.resolveCodeLens&&t.push(Promise.resolve(i.provider.resolveCodeLens(l,i.symbol,u.Ts.None)).then(e=>a.push(e||i.symbol)));return Promise.all(t)}).then(()=>a).finally(()=>{setTimeout(()=>d.dispose(),100)})});var b=i(79915),C=i(10289),w=i(70209),y=i(66653),S=i(85327),L=i(63179),k=i(44709),D=i(81845);let x=(0,S.yh)("ICodeLensCache");class N{constructor(e,t){this.lineCount=e,this.data=t}}let E=class{constructor(e){this._fakeProvider=new class{provideCodeLenses(){throw Error("not supported")}},this._cache=new C.z6(20,.75),(0,D.se)(k.E,()=>e.remove("codelens/cache",1));let t="codelens/cache2",i=e.get(t,1,"{}");this._deserialize(i),b.ju.once(e.onWillSaveState)(i=>{i.reason===L.fk.SHUTDOWN&&e.store(t,this._serialize(),1,1)})}put(e,t){let i=t.lenses.map(e=>{var t;return{range:e.symbol.range,command:e.symbol.command&&{id:"",title:null===(t=e.symbol.command)||void 0===t?void 0:t.title}}}),n=new _;n.add({lenses:i,dispose:()=>{}},this._fakeProvider);let s=new N(e.getLineCount(),n);this._cache.set(e.uri.toString(),s)}get(e){let t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0}delete(e){this._cache.delete(e.uri.toString())}_serialize(){let e=Object.create(null);for(let[t,i]of this._cache){let n=new Set;for(let e of i.data.lenses)n.add(e.symbol.range.startLineNumber);e[t]={lineCount:i.lineCount,lines:[...n.values()]}}return JSON.stringify(e)}_deserialize(e){try{let t=JSON.parse(e);for(let e in t){let i=t[e],n=[];for(let e of i.lines)n.push({range:new w.e(e,1,e,11)});let s=new _;s.add({lenses:n,dispose(){}},this._fakeProvider),this._cache.set(e,new N(i.lineCount,s))}}catch(e){}}};E=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=L.Uy,function(e,t){n(e,t,0)})],E),(0,y.z)(x,E,1);var I=i(29475);i(56417);var T=i(66629);class M{constructor(e,t,i){this.afterColumn=1073741824,this.afterLineNumber=e,this.heightInPx=t,this._onHeight=i,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(e){void 0===this._lastHeight?this._lastHeight=e:this._lastHeight!==e&&(this._lastHeight=e,this._onHeight())}isVisible(){return 0!==this._lastHeight&&this.domNode.hasAttribute("monaco-visible-view-zone")}}class R{constructor(e,t){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id=`codelens.widget-${R._idPool++}`,this.updatePosition(t),this._domNode=document.createElement("span"),this._domNode.className="codelens-decoration"}withCommands(e,t){this._commands.clear();let i=[],n=!1;for(let t=0;t{e.symbol.command&&l.push(e.symbol),i.addDecoration({range:e.symbol.range,options:P},e=>this._decorationIds[t]=e),r=r?w.e.plusRange(r,e.symbol.range):w.e.lift(e.symbol.range)}),this._viewZone=new M(r.startLineNumber-1,s,o),this._viewZoneId=n.addZone(this._viewZone),l.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(l,!1))}_createContentWidgetIfNecessary(){this._contentWidget?this._editor.layoutContentWidget(this._contentWidget):(this._contentWidget=new R(this._editor,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(e,t){this._decorationIds.forEach(e.removeDecoration,e),this._decorationIds=[],null==t||t.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((e,t)=>{let i=this._editor.getModel().getDecorationRange(e),n=this._data[t].symbol;return!!(i&&w.e.isEmpty(n.range)===i.isEmpty())})}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach((e,i)=>{t.addDecoration({range:e.symbol.range,options:P},e=>this._decorationIds[i]=e)})}updateHeight(e,t){this._viewZone.heightInPx=e,t.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(e){if(!this._viewZone.isVisible())return null;for(let t=0;tthis._resolveCodeLensesInViewport(),this._resolveCodeLensesDebounce.default()),this._disposables.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeConfiguration(e=>{(e.hasChanged(50)||e.hasChanged(19)||e.hasChanged(18))&&this._updateLensStyle(),e.hasChanged(17)&&this._onModelChange()})),this._disposables.add(t.codeLensProvider.onDidChange(this._onModelChange,this)),this._onModelChange(),this._updateLensStyle()}dispose(){var e;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),null===(e=this._currentCodeLensModel)||void 0===e||e.dispose()}_getLayoutInfo(){let e=Math.max(1.3,this._editor.getOption(67)/this._editor.getOption(52)),t=this._editor.getOption(19);return(!t||t<5)&&(t=.9*this._editor.getOption(52)|0),{fontSize:t,codeLensHeight:t*e|0}}_updateLensStyle(){let{codeLensHeight:e,fontSize:t}=this._getLayoutInfo(),i=this._editor.getOption(18),n=this._editor.getOption(50),{style:s}=this._editor.getContainerDomNode();s.setProperty("--vscode-editorCodeLens-lineHeight",`${e}px`),s.setProperty("--vscode-editorCodeLens-fontSize",`${t}px`),s.setProperty("--vscode-editorCodeLens-fontFeatureSettings",n.fontFeatureSettings),i&&(s.setProperty("--vscode-editorCodeLens-fontFamily",i),s.setProperty("--vscode-editorCodeLens-fontFamilyDefault",d.hL.fontFamily)),this._editor.changeViewZones(t=>{for(let i of this._lenses)i.updateHeight(e,t)})}_localDispose(){var e,t,i;null===(e=this._getCodeLensModelPromise)||void 0===e||e.cancel(),this._getCodeLensModelPromise=void 0,null===(t=this._resolveCodeLensesPromise)||void 0===t||t.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),null===(i=this._currentCodeLensModel)||void 0===i||i.dispose()}_onModelChange(){this._localDispose();let e=this._editor.getModel();if(!e||!this._editor.getOption(17)||e.isTooLargeForTokenization())return;let t=this._codeLensCache.get(e);if(t&&this._renderCodeLensSymbols(t),!this._languageFeaturesService.codeLensProvider.has(e)){t&&(0,s.Vg)(()=>{let i=this._codeLensCache.get(e);t===i&&(this._codeLensCache.delete(e),this._onModelChange())},3e4,this._localToDispose);return}for(let t of this._languageFeaturesService.codeLensProvider.all(e))if("function"==typeof t.onDidChange){let e=t.onDidChange(()=>i.schedule());this._localToDispose.add(e)}let i=new s.pY(()=>{var t;let n=Date.now();null===(t=this._getCodeLensModelPromise)||void 0===t||t.cancel(),this._getCodeLensModelPromise=(0,s.PG)(t=>v(this._languageFeaturesService.codeLensProvider,e,t)),this._getCodeLensModelPromise.then(t=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=t,this._codeLensCache.put(e,t);let s=this._provideCodeLensDebounce.update(e,Date.now()-n);i.delay=s,this._renderCodeLensSymbols(t),this._resolveCodeLensesInViewportSoon()},o.dL)},this._provideCodeLensDebounce.get(e));this._localToDispose.add(i),this._localToDispose.add((0,r.OF)(()=>this._resolveCodeLensesScheduler.cancel())),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{var e;this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{let i=[],n=-1;this._lenses.forEach(e=>{e.isValid()&&n!==e.getLineNumber()?(e.update(t),n=e.getLineNumber()):i.push(e)});let s=new A;i.forEach(e=>{e.dispose(s,t),this._lenses.splice(this._lenses.indexOf(e),1)}),s.commit(e)})}),i.schedule(),this._resolveCodeLensesScheduler.cancel(),null===(e=this._resolveCodeLensesPromise)||void 0===e||e.cancel(),this._resolveCodeLensesPromise=void 0})),this._localToDispose.add(this._editor.onDidFocusEditorText(()=>{i.schedule()})),this._localToDispose.add(this._editor.onDidBlurEditorText(()=>{i.cancel()})),this._localToDispose.add(this._editor.onDidScrollChange(e=>{e.scrollTopChanged&&this._lenses.length>0&&this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add((0,r.OF)(()=>{if(this._editor.getModel()){let e=l.Z.capture(this._editor);this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{this._disposeAllLenses(e,t)})}),e.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseDown(e=>{if(9!==e.target.type)return;let t=e.target.element;if((null==t?void 0:t.tagName)==="SPAN"&&(t=t.parentElement),(null==t?void 0:t.tagName)==="A")for(let e of this._lenses){let i=e.getCommand(t);if(i){this._commandService.executeCommand(i.id,...i.arguments||[]).catch(e=>this._notificationService.error(e));break}}})),i.schedule()}_disposeAllLenses(e,t){let i=new A;for(let e of this._lenses)e.dispose(i,t);e&&i.commit(e),this._lenses.length=0}_renderCodeLensSymbols(e){let t;if(!this._editor.hasModel())return;let i=this._editor.getModel().getLineCount(),n=[];for(let s of e.lenses){let e=s.symbol.range.startLineNumber;e<1||e>i||(t&&t[t.length-1].symbol.range.startLineNumber===e?t.push(s):(t=[s],n.push(t)))}if(!n.length&&!this._lenses.length)return;let s=l.Z.capture(this._editor),o=this._getLayoutInfo();this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{let i=new A,s=0,r=0;for(;rthis._resolveCodeLensesInViewportSoon())),s++,r++)}for(;sthis._resolveCodeLensesInViewportSoon())),r++;i.commit(e)})}),s.restore(this._editor)}_resolveCodeLensesInViewportSoon(){let e=this._editor.getModel();e&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var e;null===(e=this._resolveCodeLensesPromise)||void 0===e||e.cancel(),this._resolveCodeLensesPromise=void 0;let t=this._editor.getModel();if(!t)return;let i=[],n=[];if(this._lenses.forEach(e=>{let s=e.computeIfNecessary(t);s&&(i.push(s),n.push(e))}),0===i.length)return;let r=Date.now(),l=(0,s.PG)(e=>{let s=i.map((i,s)=>{let r=Array(i.length),l=i.map((i,n)=>i.symbol.command||"function"!=typeof i.provider.resolveCodeLens?(r[n]=i.symbol,Promise.resolve(void 0)):Promise.resolve(i.provider.resolveCodeLens(t,i.symbol,e)).then(e=>{r[n]=e},o.Cp));return Promise.all(l).then(()=>{e.isCancellationRequested||n[s].isDisposed()||n[s].updateCommands(r)})});return Promise.all(s)});this._resolveCodeLensesPromise=l,this._resolveCodeLensesPromise.then(()=>{let e=this._resolveCodeLensesDebounce.update(t,Date.now()-r);this._resolveCodeLensesScheduler.delay=e,this._currentCodeLensModel&&this._codeLensCache.put(t,this._currentCodeLensModel),this._oldCodeLensModels.clear(),l===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)},e=>{(0,o.dL)(e),l===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)})}async getModel(){var e;return await this._getCodeLensModelPromise,await this._resolveCodeLensesPromise,(null===(e=this._currentCodeLensModel)||void 0===e?void 0:e.isDisposed)?void 0:this._currentCodeLensModel}};z.ID="css.editor.codeLens",z=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([V(1,f.p),V(2,H.A),V(3,m.H),V(4,B.lT),V(5,x)],z),(0,a._K)(z.ID,z,1),(0,a.Qr)(class extends a.R6{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:h.u.hasCodeLensProvider,label:(0,F.NC)("showLensOnLine","Show CodeLens Commands For Current Line"),alias:"Show CodeLens Commands For Current Line"})}async run(e,t){if(!t.hasModel())return;let i=e.get(W.eJ),n=e.get(m.H),s=e.get(B.lT),o=t.getSelection().positionLineNumber,r=t.getContribution(z.ID);if(!r)return;let l=await r.getModel();if(!l)return;let a=[];for(let e of l.lenses)e.symbol.command&&e.symbol.range.startLineNumber===o&&a.push({label:e.symbol.command.title,command:e.symbol.command});if(0===a.length)return;let d=await i.pick(a,{canPickMany:!1,placeHolder:(0,F.NC)("placeHolder","Select a command")});if(!d)return;let h=d.command;if(l.isDisposed){let e=await r.getModel(),t=null==e?void 0:e.lenses.find(e=>{var t;return e.symbol.range.startLineNumber===o&&(null===(t=e.symbol.command)||void 0===t?void 0:t.title)===h.title});if(!t||!t.symbol.command)return;h=t.symbol.command}try{await n.executeCommand(h.id,...h.arguments||[])}catch(e){s.error(e)}}})},4590:function(e,t,i){"use strict";i.d(t,{E:function(){return c},R:function(){return g}});var n=i(9424),s=i(32378),o=i(5482),r=i(70209),l=i(98334),a=i(81903),d=i(64106),h=i(73362),u=i(78426);async function c(e,t,i,n=!0){return _(new p,e,t,i,n)}function g(e,t,i,n){return Promise.resolve(i.provideColorPresentations(e,t,n))}class p{constructor(){}async compute(e,t,i,n){let s=await e.provideDocumentColors(t,i);if(Array.isArray(s))for(let t of s)n.push({colorInfo:t,provider:e});return Array.isArray(s)}}class m{constructor(){}async compute(e,t,i,n){let s=await e.provideDocumentColors(t,i);if(Array.isArray(s))for(let e of s)n.push({range:e.range,color:[e.color.red,e.color.green,e.color.blue,e.color.alpha]});return Array.isArray(s)}}class f{constructor(e){this.colorInfo=e}async compute(e,t,i,s){let o=await e.provideColorPresentations(t,this.colorInfo,n.Ts.None);return Array.isArray(o)&&s.push(...o),Array.isArray(o)}}async function _(e,t,i,n,o){let r,l=!1,a=[],d=t.ordered(i);for(let t=d.length-1;t>=0;t--){let o=d[t];if(o instanceof h.G)r=o;else try{await e.compute(o,i,n,a)&&(l=!0)}catch(e){(0,s.Cp)(e)}}return l?a:r&&o?(await e.compute(r,i,n,a),a):[]}function v(e,t){let{colorProvider:i}=e.get(d.p),n=e.get(l.q).getModel(t);if(!n)throw(0,s.b1)();let o=e.get(u.Ui).getValue("editor.defaultColorDecorators",{resource:t});return{model:n,colorProviderRegistry:i,isDefaultColorDecoratorsEnabled:o}}a.P.registerCommand("_executeDocumentColorProvider",function(e,...t){let[i]=t;if(!(i instanceof o.o))throw(0,s.b1)();let{model:r,colorProviderRegistry:l,isDefaultColorDecoratorsEnabled:a}=v(e,i);return _(new m,l,r,n.Ts.None,a)}),a.P.registerCommand("_executeColorPresentationProvider",function(e,...t){let[i,l]=t,{uri:a,range:d}=l;if(!(a instanceof o.o)||!Array.isArray(i)||4!==i.length||!r.e.isIRange(d))throw(0,s.b1)();let{model:h,colorProviderRegistry:u,isDefaultColorDecoratorsEnabled:c}=v(e,a),[g,p,m,b]=i;return _(new f({range:d,color:{red:g,green:p,blue:m,alpha:b}}),u,h,n.Ts.None,c)})},99844:function(e,t,i){"use strict";var n=i(70784),s=i(82508),o=i(70209),r=i(66849),l=i(87767),a=i(71283),d=i(9411);class h extends n.JT{constructor(e){super(),this._editor=e,this._register(e.onMouseDown(e=>this.onMouseDown(e)))}dispose(){super.dispose()}onMouseDown(e){let t=this._editor.getOption(148);if("click"!==t&&"clickAndHover"!==t)return;let i=e.target;if(6!==i.type||!i.detail.injectedText||i.detail.injectedText.options.attachedData!==r.Ak||!i.range)return;let n=this._editor.getContribution(a.c.ID);if(n&&!n.isColorPickerVisible){let e=new o.e(i.range.startLineNumber,i.range.startColumn+1,i.range.endLineNumber,i.range.endColumn+1);n.showContentHover(e,1,0,!1,!0)}}}h.ID="editor.contrib.colorContribution",(0,s._K)(h.ID,h,2),d.Ae.register(l.nh)},66849:function(e,t,i){"use strict";i.d(t,{Ak:function(){return C},if:function(){return w}});var n,s=i(44532),o=i(76515),r=i(32378),l=i(79915),a=i(70784),d=i(44129),h=i(95612),u=i(2318),c=i(82508),g=i(70209),p=i(66629),m=i(86756),f=i(64106),_=i(4590),v=i(78426),b=function(e,t){return function(i,n){t(i,n,e)}};let C=Object.create({}),w=n=class extends a.JT{constructor(e,t,i,s){super(),this._editor=e,this._configurationService=t,this._languageFeaturesService=i,this._localToDispose=this._register(new a.SL),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=this._editor.createDecorationsCollection(),this._ruleFactory=new u.t7(this._editor),this._decoratorLimitReporter=new y,this._colorDecorationClassRefs=this._register(new a.SL),this._debounceInformation=s.for(i.colorProvider,"Document Colors",{min:n.RECOMPUTE_TIME}),this._register(e.onDidChangeModel(()=>{this._isColorDecoratorsEnabled=this.isEnabled(),this.updateColors()})),this._register(e.onDidChangeModelLanguage(()=>this.updateColors())),this._register(i.colorProvider.onDidChange(()=>this.updateColors())),this._register(e.onDidChangeConfiguration(e=>{let t=this._isColorDecoratorsEnabled;this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(147);let i=t!==this._isColorDecoratorsEnabled||e.hasChanged(21),n=e.hasChanged(147);(i||n)&&(this._isColorDecoratorsEnabled?this.updateColors():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(147),this.updateColors()}isEnabled(){let e=this._editor.getModel();if(!e)return!1;let t=e.getLanguageId(),i=this._configurationService.getValue(t);if(i&&"object"==typeof i){let e=i.colorDecorators;if(e&&void 0!==e.enable&&!e.enable)return e.enable}return this._editor.getOption(20)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}updateColors(){if(this.stop(),!this._isColorDecoratorsEnabled)return;let e=this._editor.getModel();e&&this._languageFeaturesService.colorProvider.has(e)&&(this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._timeoutTimer||(this._timeoutTimer=new s._F,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},this._debounceInformation.get(e)))})),this.beginCompute())}async beginCompute(){this._computePromise=(0,s.PG)(async e=>{let t=this._editor.getModel();if(!t)return[];let i=new d.G(!1),n=await (0,_.E)(this._languageFeaturesService.colorProvider,t,e,this._isDefaultColorDecoratorsEnabled);return this._debounceInformation.update(t,i.elapsed()),n});try{let e=await this._computePromise;this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null}catch(e){(0,r.dL)(e)}}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(e){let t=e.map(e=>({range:{startLineNumber:e.colorInfo.range.startLineNumber,startColumn:e.colorInfo.range.startColumn,endLineNumber:e.colorInfo.range.endLineNumber,endColumn:e.colorInfo.range.endColumn},options:p.qx.EMPTY}));this._editor.changeDecorations(i=>{this._decorationsIds=i.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach((t,i)=>this._colorDatas.set(t,e[i]))})}updateColorDecorators(e){this._colorDecorationClassRefs.clear();let t=[],i=this._editor.getOption(21);for(let n=0;nthis._colorDatas.has(e.id));return 0===i.length?null:this._colorDatas.get(i[0].id)}isColorDecoration(e){return this._colorDecoratorIds.has(e)}};w.ID="editor.contrib.colorDetector",w.RECOMPUTE_TIME=1e3,w=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([b(1,v.Ui),b(2,f.p),b(3,m.A)],w);class y{constructor(){this._onDidChange=new l.Q5,this._computed=0,this._limited=!1}update(e,t){(e!==this._computed||t!==this._limited)&&(this._computed=e,this._limited=t,this._onDidChange.fire())}}(0,c._K)(w.ID,w,1)},87767:function(e,t,i){"use strict";i.d(t,{nh:function(){return P},PQ:function(){return F}});var n=i(44532),s=i(9424),o=i(76515),r=i(70784),l=i(70209),a=i(4590),d=i(66849),h=i(79915);class u{get color(){return this._color}set color(e){this._color.equals(e)||(this._color=e,this._onDidChangeColor.fire(e))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(e){this._colorPresentations=e,this.presentationIndex>e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}constructor(e,t,i){this.presentationIndex=i,this._onColorFlushed=new h.Q5,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new h.Q5,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new h.Q5,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){let i=-1;for(let e=0;e{this.backgroundColor=e.getColor(b.yJx)||o.Il.white})),this._register(g.nm(this._pickedColorNode,g.tw.CLICK,()=>this.model.selectNextColorPresentation())),this._register(g.nm(this._originalColorNode,g.tw.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this._register(t.onDidChangePresentation(this.onDidChangePresentation,this)),this._pickedColorNode.style.backgroundColor=o.Il.Format.CSS.format(t.color)||"",this._pickedColorNode.classList.toggle("light",t.color.rgba.a<.5?this.backgroundColor.isLighter():t.color.isLighter()),this.onDidChangeColor(this.model.color),this.showingStandaloneColorPicker&&(this._domNode.classList.add("standalone-colorpicker"),this._closeButton=this._register(new S(this._domNode)))}get closeButton(){return this._closeButton}get pickedColorNode(){return this._pickedColorNode}get originalColorNode(){return this._originalColorNode}onDidChangeColor(e){this._pickedColorNode.style.backgroundColor=o.Il.Format.CSS.format(e)||"",this._pickedColorNode.classList.toggle("light",e.rgba.a<.5?this.backgroundColor.isLighter():e.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this._pickedColorPresentation.textContent=this.model.presentation?this.model.presentation.label:""}}class S extends r.JT{constructor(e){super(),this._onClicked=this._register(new h.Q5),this.onClicked=this._onClicked.event,this._button=document.createElement("div"),this._button.classList.add("close-button"),g.R3(e,this._button);let t=document.createElement("div");t.classList.add("close-button-inner-div"),g.R3(this._button,t);let i=g.R3(t,w(".button"+_.k.asCSSSelector((0,C.q5)("color-picker-close",f.l.close,(0,v.NC)("closeIcon","Icon to close the color picker")))));i.classList.add("close-icon"),this._register(g.nm(this._button,g.tw.CLICK,()=>{this._onClicked.fire()}))}}class L extends r.JT{constructor(e,t,i,n=!1){super(),this.model=t,this.pixelRatio=i,this._insertButton=null,this._domNode=w(".colorpicker-body"),g.R3(e,this._domNode),this._saturationBox=new k(this._domNode,this.model,this.pixelRatio),this._register(this._saturationBox),this._register(this._saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this._saturationBox.onColorFlushed(this.flushColor,this)),this._opacityStrip=new x(this._domNode,this.model,n),this._register(this._opacityStrip),this._register(this._opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this._opacityStrip.onColorFlushed(this.flushColor,this)),this._hueStrip=new N(this._domNode,this.model,n),this._register(this._hueStrip),this._register(this._hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this._hueStrip.onColorFlushed(this.flushColor,this)),n&&(this._insertButton=this._register(new E(this._domNode)),this._domNode.classList.add("standalone-colorpicker"))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){let i=this.model.color.hsva;this.model.color=new o.Il(new o.tx(i.h,e,t,i.a))}onDidOpacityChange(e){let t=this.model.color.hsva;this.model.color=new o.Il(new o.tx(t.h,t.s,t.v,e))}onDidHueChange(e){let t=this.model.color.hsva,i=(1-e)*360;this.model.color=new o.Il(new o.tx(360===i?0:i,t.s,t.v,t.a))}get domNode(){return this._domNode}get saturationBox(){return this._saturationBox}get enterButton(){return this._insertButton}layout(){this._saturationBox.layout(),this._opacityStrip.layout(),this._hueStrip.layout()}}class k extends r.JT{constructor(e,t,i){super(),this.model=t,this.pixelRatio=i,this._onDidChange=new h.Q5,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new h.Q5,this.onColorFlushed=this._onColorFlushed.event,this._domNode=w(".saturation-wrap"),g.R3(e,this._domNode),this._canvas=document.createElement("canvas"),this._canvas.className="saturation-box",g.R3(this._domNode,this._canvas),this.selection=w(".saturation-selection"),g.R3(this._domNode,this.selection),this.layout(),this._register(g.nm(this._domNode,g.tw.POINTER_DOWN,e=>this.onPointerDown(e))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}get domNode(){return this._domNode}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;this.monitor=this._register(new p.C);let t=g.i(this._domNode);e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>this.onDidChangePosition(e.pageX-t.left,e.pageY-t.top),()=>null);let i=g.nm(e.target.ownerDocument,g.tw.POINTER_UP,()=>{this._onColorFlushed.fire(),i.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(e,t){let i=Math.max(0,Math.min(1,e/this.width)),n=Math.max(0,Math.min(1,1-t/this.height));this.paintSelection(i,n),this._onDidChange.fire({s:i,v:n})}layout(){this.width=this._domNode.offsetWidth,this.height=this._domNode.offsetHeight,this._canvas.width=this.width*this.pixelRatio,this._canvas.height=this.height*this.pixelRatio,this.paint();let e=this.model.color.hsva;this.paintSelection(e.s,e.v)}paint(){let e=this.model.color.hsva,t=new o.Il(new o.tx(e.h,1,1,1)),i=this._canvas.getContext("2d"),n=i.createLinearGradient(0,0,this._canvas.width,0);n.addColorStop(0,"rgba(255, 255, 255, 1)"),n.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),n.addColorStop(1,"rgba(255, 255, 255, 0)");let s=i.createLinearGradient(0,0,0,this._canvas.height);s.addColorStop(0,"rgba(0, 0, 0, 0)"),s.addColorStop(1,"rgba(0, 0, 0, 1)"),i.rect(0,0,this._canvas.width,this._canvas.height),i.fillStyle=o.Il.Format.CSS.format(t),i.fill(),i.fillStyle=n,i.fill(),i.fillStyle=s,i.fill()}paintSelection(e,t){this.selection.style.left=`${e*this.width}px`,this.selection.style.top=`${this.height-t*this.height}px`}onDidChangeColor(e){if(this.monitor&&this.monitor.isMonitoring())return;this.paint();let t=e.hsva;this.paintSelection(t.s,t.v)}}class D extends r.JT{constructor(e,t,i=!1){super(),this.model=t,this._onDidChange=new h.Q5,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new h.Q5,this.onColorFlushed=this._onColorFlushed.event,i?(this.domNode=g.R3(e,w(".standalone-strip")),this.overlay=g.R3(this.domNode,w(".standalone-overlay"))):(this.domNode=g.R3(e,w(".strip")),this.overlay=g.R3(this.domNode,w(".overlay"))),this.slider=g.R3(this.domNode,w(".slider")),this.slider.style.top="0px",this._register(g.nm(this.domNode,g.tw.POINTER_DOWN,e=>this.onPointerDown(e))),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;let e=this.getValue(this.model.color);this.updateSliderPosition(e)}onDidChangeColor(e){let t=this.getValue(e);this.updateSliderPosition(t)}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;let t=this._register(new p.C),i=g.i(this.domNode);this.domNode.classList.add("grabbing"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.pointerId,e.buttons,e=>this.onDidChangeTop(e.pageY-i.top),()=>null);let n=g.nm(e.target.ownerDocument,g.tw.POINTER_UP,()=>{this._onColorFlushed.fire(),n.dispose(),t.stopMonitoring(!0),this.domNode.classList.remove("grabbing")},!0)}onDidChangeTop(e){let t=Math.max(0,Math.min(1,1-e/this.height));this.updateSliderPosition(t),this._onDidChange.fire(t)}updateSliderPosition(e){this.slider.style.top=`${(1-e)*this.height}px`}}class x extends D{constructor(e,t,i=!1){super(e,t,i),this.domNode.classList.add("opacity-strip"),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){super.onDidChangeColor(e);let{r:t,g:i,b:n}=e.rgba,s=new o.Il(new o.VS(t,i,n,1)),r=new o.Il(new o.VS(t,i,n,0));this.overlay.style.background=`linear-gradient(to bottom, ${s} 0%, ${r} 100%)`}getValue(e){return e.hsva.a}}class N extends D{constructor(e,t,i=!1){super(e,t,i),this.domNode.classList.add("hue-strip")}getValue(e){return 1-e.hsva.h/360}}class E extends r.JT{constructor(e){super(),this._onClicked=this._register(new h.Q5),this.onClicked=this._onClicked.event,this._button=g.R3(e,document.createElement("button")),this._button.classList.add("insert-button"),this._button.textContent="Insert",this._register(g.nm(this._button,g.tw.CLICK,()=>{this._onClicked.fire()}))}get button(){return this._button}}class I extends m.${constructor(e,t,i,n,s=!1){super(),this.model=t,this.pixelRatio=i,this._register(c.T.getInstance(g.Jj(e)).onDidChange(()=>this.layout()));let o=w(".colorpicker-widget");e.appendChild(o),this.header=this._register(new y(o,this.model,n,s)),this.body=this._register(new L(o,this.model,this.pixelRatio,s))}layout(){this.body.layout()}}var T=i(55150),M=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},R=function(e,t){return function(i,n){t(i,n,e)}};class A{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n,this.forceShowAtRange=!0}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let P=class{constructor(e,t){this._editor=e,this._themeService=t,this.hoverOrdinal=2}computeSync(e,t){return[]}computeAsync(e,t,i){return n.Aq.fromPromise(this._computeAsync(e,t,i))}async _computeAsync(e,t,i){if(!this._editor.hasModel())return[];let n=d.if.get(this._editor);if(!n)return[];for(let e of t){if(!n.isColorDecoration(e))continue;let t=n.getColorData(e.range.getStartPosition());if(t){let e=await B(this,this._editor.getModel(),t.colorInfo,t.provider);return[e]}}return[]}renderHoverParts(e,t){return W(this,this._editor,this._themeService,t,e)}};P=M([R(1,T.XE)],P);class O{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n}}let F=class{constructor(e,t){this._editor=e,this._themeService=t,this._color=null}async createColorHover(e,t,i){if(!this._editor.hasModel())return null;let n=d.if.get(this._editor);if(!n)return null;let o=await (0,a.E)(i,this._editor.getModel(),s.Ts.None),r=null,h=null;for(let t of o){let i=t.colorInfo;l.e.containsRange(i.range,e.range)&&(r=i,h=t.provider)}let u=null!=r?r:e,c=null!=h?h:t,g=!!r;return{colorHover:await B(this,this._editor.getModel(),u,c),foundInEditor:g}}async updateEditorModel(e){if(!this._editor.hasModel())return;let t=e.model,i=new l.e(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn);this._color&&(await V(this._editor.getModel(),t,this._color,i,e),i=H(this._editor,i,t))}renderHoverParts(e,t){return W(this,this._editor,this._themeService,t,e)}set color(e){this._color=e}get color(){return this._color}};async function B(e,t,i,n){let r=t.getValueInRange(i.range),{red:d,green:h,blue:c,alpha:g}=i.color,p=new o.VS(Math.round(255*d),Math.round(255*h),Math.round(255*c),g),m=new o.Il(p),f=await (0,a.R)(t,i,n,s.Ts.None),_=new u(m,[],0);return(_.colorPresentations=f||[],_.guessColorPresentation(m,r),e instanceof P)?new A(e,l.e.lift(i.range),_,n):new O(e,l.e.lift(i.range),_,n)}function W(e,t,i,n,s){if(0===n.length||!t.hasModel())return r.JT.None;if(s.setMinimumDimensions){let e=t.getOption(67)+8;s.setMinimumDimensions(new g.Ro(302,e))}let o=new r.SL,a=n[0],d=t.getModel(),h=a.model,u=o.add(new I(s.fragment,h,t.getOption(143),i,e instanceof F));s.setColorPicker(u);let c=!1,p=new l.e(a.range.startLineNumber,a.range.startColumn,a.range.endLineNumber,a.range.endColumn);if(e instanceof F){let t=n[0].model.color;e.color=t,V(d,h,t,p,a),o.add(h.onColorFlushed(t=>{e.color=t}))}else o.add(h.onColorFlushed(async e=>{await V(d,h,e,p,a),c=!0,p=H(t,p,h)}));return o.add(h.onDidChangeColor(e=>{V(d,h,e,p,a)})),o.add(t.onDidChangeModelContent(e=>{c?c=!1:(s.hide(),t.focus())})),o}function H(e,t,i){var n,s;let o=[],r=null!==(n=i.presentation.textEdit)&&void 0!==n?n:{range:t,text:i.presentation.label,forceMoveMarkers:!1};o.push(r),i.presentation.additionalTextEdits&&o.push(...i.presentation.additionalTextEdits);let a=l.e.lift(r.range),d=e.getModel()._setTrackedRange(null,a,3);return e.executeEdits("colorpicker",o),e.pushUndoStop(),null!==(s=e.getModel()._getTrackedRange(d))&&void 0!==s?s:a}async function V(e,t,i,n,o){let r=await (0,a.R)(e,{range:n,color:{red:i.rgba.r/255,green:i.rgba.g/255,blue:i.rgba.b/255,alpha:i.rgba.a}},o.provider,s.Ts.None);t.colorPresentations=r||[]}F=M([R(1,T.XE)],F)},73362:function(e,t,i){"use strict";i.d(t,{G:function(){return u}});var n=i(76515),s=i(44356),o=i(98334),r=i(32712),l=i(70784),a=i(64106),d=i(88964),h=function(e,t){return function(i,n){t(i,n,e)}};class u{constructor(e,t){this._editorWorkerClient=new s.Q8(e,!1,"editorWorkerService",t)}async provideDocumentColors(e,t){return this._editorWorkerClient.computeDefaultDocumentColors(e.uri)}provideColorPresentations(e,t,i){let s=t.range,o=t.color,r=o.alpha,l=new n.Il(new n.VS(Math.round(255*o.red),Math.round(255*o.green),Math.round(255*o.blue),r)),a=r?n.Il.Format.CSS.formatRGB(l):n.Il.Format.CSS.formatRGBA(l),d=r?n.Il.Format.CSS.formatHSL(l):n.Il.Format.CSS.formatHSLA(l),h=r?n.Il.Format.CSS.formatHex(l):n.Il.Format.CSS.formatHexA(l),u=[];return u.push({label:a,textEdit:{range:s,text:a}}),u.push({label:d,textEdit:{range:s,text:d}}),u.push({label:h,textEdit:{range:s,text:h}}),u}}let c=class extends l.JT{constructor(e,t,i){super(),this._register(i.colorProvider.register("*",new u(e,t)))}};c=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([h(0,o.q),h(1,r.c_),h(2,a.p)],c),(0,d.y)(c)},88788:function(e,t,i){"use strict";var n,s,o=i(82508),r=i(82801),l=i(70784),a=i(87767),d=i(85327),h=i(5347),u=i(46417),c=i(79915),g=i(64106),p=i(73440),m=i(33336),f=i(98334),_=i(32712),v=i(73362),b=i(81845);i(45426);var C=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},w=function(e,t){return function(i,n){t(i,n,e)}};let y=n=class extends l.JT{constructor(e,t,i,n,s,o,r){super(),this._editor=e,this._modelService=i,this._keybindingService=n,this._instantiationService=s,this._languageFeatureService=o,this._languageConfigurationService=r,this._standaloneColorPickerWidget=null,this._standaloneColorPickerVisible=p.u.standaloneColorPickerVisible.bindTo(t),this._standaloneColorPickerFocused=p.u.standaloneColorPickerFocused.bindTo(t)}showOrFocus(){var e;this._editor.hasModel()&&(this._standaloneColorPickerVisible.get()?this._standaloneColorPickerFocused.get()||null===(e=this._standaloneColorPickerWidget)||void 0===e||e.focus():this._standaloneColorPickerWidget=new S(this._editor,this._standaloneColorPickerVisible,this._standaloneColorPickerFocused,this._instantiationService,this._modelService,this._keybindingService,this._languageFeatureService,this._languageConfigurationService))}hide(){var e;this._standaloneColorPickerFocused.set(!1),this._standaloneColorPickerVisible.set(!1),null===(e=this._standaloneColorPickerWidget)||void 0===e||e.hide(),this._editor.focus()}insertColor(){var e;null===(e=this._standaloneColorPickerWidget)||void 0===e||e.updateEditor(),this.hide()}static get(e){return e.getContribution(n.ID)}};y.ID="editor.contrib.standaloneColorPickerController",y=n=C([w(1,m.i6),w(2,f.q),w(3,u.d),w(4,d.TG),w(5,g.p),w(6,_.c_)],y),(0,o._K)(y.ID,y,1);let S=s=class extends l.JT{constructor(e,t,i,n,s,o,r,l){var d;super(),this._editor=e,this._standaloneColorPickerVisible=t,this._standaloneColorPickerFocused=i,this._modelService=s,this._keybindingService=o,this._languageFeaturesService=r,this._languageConfigurationService=l,this.allowEditorOverflow=!0,this._position=void 0,this._body=document.createElement("div"),this._colorHover=null,this._selectionSetInEditor=!1,this._onResult=this._register(new c.Q5),this.onResult=this._onResult.event,this._standaloneColorPickerVisible.set(!0),this._standaloneColorPickerParticipant=n.createInstance(a.PQ,this._editor),this._position=null===(d=this._editor._getViewModel())||void 0===d?void 0:d.getPrimaryCursorState().modelState.position;let h=this._editor.getSelection(),u=h?{startLineNumber:h.startLineNumber,startColumn:h.startColumn,endLineNumber:h.endLineNumber,endColumn:h.endColumn}:{startLineNumber:0,endLineNumber:0,endColumn:0,startColumn:0},g=this._register(b.go(this._body));this._register(g.onDidBlur(e=>{this.hide()})),this._register(g.onDidFocus(e=>{this.focus()})),this._register(this._editor.onDidChangeCursorPosition(()=>{this._selectionSetInEditor?this._selectionSetInEditor=!1:this.hide()})),this._register(this._editor.onMouseMove(e=>{var t;let i=null===(t=e.target.element)||void 0===t?void 0:t.classList;i&&i.contains("colorpicker-color-decoration")&&this.hide()})),this._register(this.onResult(e=>{this._render(e.value,e.foundInEditor)})),this._start(u),this._body.style.zIndex="50",this._editor.addContentWidget(this)}updateEditor(){this._colorHover&&this._standaloneColorPickerParticipant.updateEditorModel(this._colorHover)}getId(){return s.ID}getDomNode(){return this._body}getPosition(){if(!this._position)return null;let e=this._editor.getOption(60).above;return{position:this._position,secondaryPosition:this._position,preference:e?[1,2]:[2,1],positionAffinity:2}}hide(){this.dispose(),this._standaloneColorPickerVisible.set(!1),this._standaloneColorPickerFocused.set(!1),this._editor.removeContentWidget(this),this._editor.focus()}focus(){this._standaloneColorPickerFocused.set(!0),this._body.focus()}async _start(e){let t=await this._computeAsync(e);t&&this._onResult.fire(new L(t.result,t.foundInEditor))}async _computeAsync(e){if(!this._editor.hasModel())return null;let t=await this._standaloneColorPickerParticipant.createColorHover({range:e,color:{red:0,green:0,blue:0,alpha:1}},new v.G(this._modelService,this._languageConfigurationService),this._languageFeaturesService.colorProvider);return t?{result:t.colorHover,foundInEditor:t.foundInEditor}:null}_render(e,t){let i;let n=document.createDocumentFragment(),s=this._register(new h.m(this._keybindingService));if(this._colorHover=e,this._register(this._standaloneColorPickerParticipant.renderHoverParts({fragment:n,statusBar:s,setColorPicker:e=>i=e,onContentsChanged:()=>{},hide:()=>this.hide()},[e])),void 0===i)return;this._body.classList.add("standalone-colorpicker-body"),this._body.style.maxHeight=Math.max(this._editor.getLayoutInfo().height/4,250)+"px",this._body.style.maxWidth=Math.max(.66*this._editor.getLayoutInfo().width,500)+"px",this._body.tabIndex=0,this._body.appendChild(n),i.layout();let o=i.body,r=o.saturationBox.domNode.clientWidth,l=o.domNode.clientWidth-r-22-8,a=i.body.enterButton;null==a||a.onClicked(()=>{this.updateEditor(),this.hide()});let d=i.header,u=d.pickedColorNode;u.style.width=r+8+"px";let c=d.originalColorNode;c.style.width=l+"px";let g=i.header.closeButton;null==g||g.onClicked(()=>{this.hide()}),t&&(a&&(a.button.textContent="Replace"),this._selectionSetInEditor=!0,this._editor.setSelection(e.range)),this._editor.layoutContentWidget(this)}};S.ID="editor.contrib.standaloneColorPickerWidget",S=s=C([w(3,d.TG),w(4,f.q),w(5,u.d),w(6,g.p),w(7,_.c_)],S);class L{constructor(e,t){this.value=e,this.foundInEditor=t}}var k=i(30467);class D extends o.x1{constructor(){super({id:"editor.action.showOrFocusStandaloneColorPicker",title:{...(0,r.vv)("showOrFocusStandaloneColorPicker","Show or Focus Standalone Color Picker"),mnemonicTitle:(0,r.NC)({key:"mishowOrFocusStandaloneColorPicker",comment:["&& denotes a mnemonic"]},"&&Show or Focus Standalone Color Picker")},precondition:void 0,menu:[{id:k.eH.CommandPalette}],metadata:{description:(0,r.vv)("showOrFocusStandaloneColorPickerDescription","Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors.")}})}runEditorCommand(e,t){var i;null===(i=y.get(t))||void 0===i||i.showOrFocus()}}class x extends o.R6{constructor(){super({id:"editor.action.hideColorPicker",label:(0,r.NC)({key:"hideColorPicker",comment:["Action that hides the color picker"]},"Hide the Color Picker"),alias:"Hide the Color Picker",precondition:p.u.standaloneColorPickerVisible.isEqualTo(!0),kbOpts:{primary:9,weight:100},metadata:{description:(0,r.vv)("hideColorPickerDescription","Hide the standalone color picker.")}})}run(e,t){var i;null===(i=y.get(t))||void 0===i||i.hide()}}class N extends o.R6{constructor(){super({id:"editor.action.insertColorWithStandaloneColorPicker",label:(0,r.NC)({key:"insertColorWithStandaloneColorPicker",comment:["Action that inserts color with standalone color picker"]},"Insert Color with Standalone Color Picker"),alias:"Insert Color with Standalone Color Picker",precondition:p.u.standaloneColorPickerFocused.isEqualTo(!0),kbOpts:{primary:3,weight:100},metadata:{description:(0,r.vv)("insertColorWithStandaloneColorPickerDescription","Insert hex/rgb/hsl colors with the focused standalone color picker.")}})}run(e,t){var i;null===(i=y.get(t))||void 0===i||i.insertColor()}}(0,o.Qr)(x),(0,o.Qr)(N),(0,k.r1)(D)},57938:function(e,t,i){"use strict";var n=i(57231),s=i(82508),o=i(70209),r=i(73440),l=i(32712),a=i(26318),d=i(86570),h=i(84781);class u{constructor(e,t,i){this.languageConfigurationService=i,this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,i){if(i<0)return!1;let n=t.length,s=e.length;if(i+n>s)return!1;for(let s=0;s=65)||!(n<=90)||n+32!==o)&&(!(o>=65)||!(o<=90)||o+32!==n))return!1}return!0}_createOperationsForBlockComment(e,t,i,n,s,r){let l;let a=e.startLineNumber,d=e.startColumn,h=e.endLineNumber,c=e.endColumn,g=s.getLineContent(a),p=s.getLineContent(h),m=g.lastIndexOf(t,d-1+t.length),f=p.indexOf(i,c-1-i.length);if(-1!==m&&-1!==f){if(a===h){let e=g.substring(m+t.length,f);e.indexOf(i)>=0&&(m=-1,f=-1)}else{let e=g.substring(m+t.length),n=p.substring(0,f);(e.indexOf(i)>=0||n.indexOf(i)>=0)&&(m=-1,f=-1)}}for(let s of(-1!==m&&-1!==f?(n&&m+t.length0&&32===p.charCodeAt(f-1)&&(i=" "+i,f-=1),l=u._createRemoveBlockCommentOperations(new o.e(a,m+t.length+1,h,f+1),t,i)):(l=u._createAddBlockCommentOperations(e,t,i,this._insertSpace),this._usedEndToken=1===l.length?i:null),l))r.addTrackedEditOperation(s.range,s.text)}static _createRemoveBlockCommentOperations(e,t,i){let n=[];return o.e.isEmpty(e)?n.push(a.h.delete(new o.e(e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+i.length))):(n.push(a.h.delete(new o.e(e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),n.push(a.h.delete(new o.e(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+i.length)))),n}static _createAddBlockCommentOperations(e,t,i,n){let s=[];return o.e.isEmpty(e)?s.push(a.h.replace(new o.e(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+" "+i)):(s.push(a.h.insert(new d.L(e.startLineNumber,e.startColumn),t+(n?" ":""))),s.push(a.h.insert(new d.L(e.endLineNumber,e.endColumn),(n?" ":"")+i))),s}getEditOperations(e,t){let i=this._selection.startLineNumber,n=this._selection.startColumn;e.tokenization.tokenizeIfCheap(i);let s=e.getLanguageIdAtPosition(i,n),o=this.languageConfigurationService.getLanguageConfiguration(s).comments;o&&o.blockCommentStartToken&&o.blockCommentEndToken&&this._createOperationsForBlockComment(this._selection,o.blockCommentStartToken,o.blockCommentEndToken,this._insertSpace,e,t)}computeCursorState(e,t){let i=t.getInverseEditOperations();if(2===i.length){let e=i[0],t=i[1];return new h.Y(e.range.endLineNumber,e.range.endColumn,t.range.startLineNumber,t.range.startColumn)}{let e=i[0].range,t=this._usedEndToken?-this._usedEndToken.length-1:0;return new h.Y(e.endLineNumber,e.endColumn+t,e.endLineNumber,e.endColumn+t)}}}var c=i(95612);class g{constructor(e,t,i,n,s,o,r){this.languageConfigurationService=e,this._selection=t,this._indentSize=i,this._type=n,this._insertSpace=s,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=o,this._ignoreFirstLine=r||!1}static _gatherPreflightCommentStrings(e,t,i,n){e.tokenization.tokenizeIfCheap(t);let s=e.getLanguageIdAtPosition(t,1),o=n.getLanguageConfiguration(s).comments,r=o?o.lineCommentToken:null;if(!r)return null;let l=[];for(let e=0,n=i-t+1;er?t[l].commentStrOffset=s-1:t[l].commentStrOffset=s}}}var p=i(82801),m=i(30467);class f extends s.R6{constructor(e,t){super(t),this._type=e}run(e,t){let i=e.get(l.c_);if(!t.hasModel())return;let n=t.getModel(),s=[],r=n.getOptions(),a=t.getOption(23),d=t.getSelections().map((e,t)=>({selection:e,index:t,ignoreFirstLine:!1}));d.sort((e,t)=>o.e.compareRangesUsingStarts(e.selection,t.selection));let h=d[0];for(let e=1;ethis._onContextMenu(e))),this._toDispose.add(this._editor.onMouseWheel(e=>{if(this._contextMenuIsBeingShownCount>0){let t=this._contextViewService.getContextViewElement(),i=e.srcElement;i.shadowRoot&&s.Ay(t)===i.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(e=>{this._editor.getOption(24)&&58===e.keyCode&&(e.preventDefault(),e.stopPropagation(),this.showContextMenu())}))}_onContextMenu(e){if(!this._editor.hasModel())return;if(!this._editor.getOption(24)){this._editor.focus(),e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position);return}if(12===e.target.type||6===e.target.type&&e.target.detail.injectedText)return;if(e.event.preventDefault(),e.event.stopPropagation(),11===e.target.type)return this._showScrollbarContextMenu(e.event);if(6!==e.target.type&&7!==e.target.type&&1!==e.target.type)return;if(this._editor.focus(),e.target.position){let t=!1;for(let i of this._editor.getSelections())if(i.containsPosition(e.target.position)){t=!0;break}t||this._editor.setPosition(e.target.position)}let t=null;1!==e.target.type&&(t=e.event),this.showContextMenu(t)}showContextMenu(e){if(!this._editor.getOption(24)||!this._editor.hasModel())return;let t=this._getMenuActions(this._editor.getModel(),this._editor.contextMenuId);t.length>0&&this._doShowContextMenu(t,e)}_getMenuActions(e,t){let i=[],n=this._menuService.createMenu(t,this._contextKeyService),s=n.getActions({arg:e.uri});for(let t of(n.dispose(),s)){let[,n]=t,s=0;for(let t of n)if(t instanceof c.NZ){let n=this._getMenuActions(e,t.item.submenu);n.length>0&&(i.push(new r.wY(t.id,t.label,n)),s++)}else i.push(t),s++;s&&i.push(new r.Z0)}return i.length&&i.pop(),i}_doShowContextMenu(e,t=null){if(!this._editor.hasModel())return;let i=this._editor.getOption(60);this._editor.updateOptions({hover:{enabled:!1}});let n=t;if(!n){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();let e=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),t=s.i(this._editor.getDomNode()),i=t.left+e.left,o=t.top+e.top+e.height;n={x:i,y:o}}let r=this._editor.getOption(127)&&!a.gn;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:r?this._editor.getDomNode():void 0,getAnchor:()=>n,getActions:()=>e,getActionViewItem:e=>{let t=this._keybindingFor(e);return t?new o.gU(e,e,{label:!0,keybinding:t.getLabel(),isMenu:!0}):"function"==typeof e.getActionViewItem?e.getActionViewItem():new o.gU(e,e,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:e=>this._keybindingFor(e),onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.updateOptions({hover:i})}})}_showScrollbarContextMenu(e){if(!this._editor.hasModel()||(0,_.x)(this._workspaceContextService.getWorkspace()))return;let t=this._editor.getOption(73),i=0,n=e=>({id:`menu-action-${++i}`,label:e.label,tooltip:"",class:void 0,enabled:void 0===e.enabled||e.enabled,checked:e.checked,run:e.run}),s=(e,t)=>new r.wY(`menu-action-${++i}`,e,t,void 0),o=(e,t,i,o,r)=>{if(!t)return n({label:e,enabled:t,run:()=>{}});let l=e=>()=>{this._configurationService.updateValue(i,e)},a=[];for(let e of r)a.push(n({label:e.label,checked:o===e.value,run:l(e.value)}));return s(e,a)},l=[];l.push(n({label:u.NC("context.minimap.minimap","Minimap"),checked:t.enabled,run:()=>{this._configurationService.updateValue("editor.minimap.enabled",!t.enabled)}})),l.push(new r.Z0),l.push(n({label:u.NC("context.minimap.renderCharacters","Render Characters"),enabled:t.enabled,checked:t.renderCharacters,run:()=>{this._configurationService.updateValue("editor.minimap.renderCharacters",!t.renderCharacters)}})),l.push(o(u.NC("context.minimap.size","Vertical size"),t.enabled,"editor.minimap.size",t.size,[{label:u.NC("context.minimap.size.proportional","Proportional"),value:"proportional"},{label:u.NC("context.minimap.size.fill","Fill"),value:"fill"},{label:u.NC("context.minimap.size.fit","Fit"),value:"fit"}])),l.push(o(u.NC("context.minimap.slider","Slider"),t.enabled,"editor.minimap.showSlider",t.showSlider,[{label:u.NC("context.minimap.slider.mouseover","Mouse Over"),value:"mouseover"},{label:u.NC("context.minimap.slider.always","Always"),value:"always"}]));let d=this._editor.getOption(127)&&!a.gn;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:d?this._editor.getDomNode():void 0,getAnchor:()=>e,getActions:()=>l,onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.focus()}})}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};b.ID="editor.contrib.contextmenu",b=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([v(1,p.i),v(2,p.u),v(3,g.i6),v(4,m.d),v(5,c.co),v(6,f.Ui),v(7,_.ec)],b);class C extends d.R6{constructor(){super({id:"editor.action.showContextMenu",label:u.NC("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:h.u.textInputFocus,primary:1092,weight:100}})}run(e,t){var i;null===(i=b.get(t))||void 0===i||i.showContextMenu()}}(0,d._K)(b.ID,b,2),(0,d.Qr)(C)},99173:function(e,t,i){"use strict";var n=i(70784),s=i(82508),o=i(73440),r=i(82801);class l{constructor(e){this.selections=e}equals(e){let t=this.selections.length,i=e.selections.length;if(t!==i)return!1;for(let i=0;i{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeModelContent(e=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeCursorSelection(t=>{if(this._isCursorUndoRedo||!t.oldSelections||t.oldModelVersionId!==t.modelVersionId)return;let i=new l(t.oldSelections),n=this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(i);!n&&(this._undoStack.push(new a(i,e.getScrollTop(),e.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}cursorUndo(){this._editor.hasModel()&&0!==this._undoStack.length&&(this._redoStack.push(new a(new l(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){this._editor.hasModel()&&0!==this._redoStack.length&&(this._undoStack.push(new a(new l(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(e){this._isCursorUndoRedo=!0,this._editor.setSelections(e.cursorState.selections),this._editor.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),this._isCursorUndoRedo=!1}}d.ID="editor.contrib.cursorUndoRedoController";class h extends s.R6{constructor(){super({id:"cursorUndo",label:r.NC("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:o.u.textInputFocus,primary:2099,weight:100}})}run(e,t,i){var n;null===(n=d.get(t))||void 0===n||n.cursorUndo()}}class u extends s.R6{constructor(){super({id:"cursorRedo",label:r.NC("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})}run(e,t,i){var n;null===(n=d.get(t))||void 0===n||n.cursorRedo()}}(0,s._K)(d.ID,d,0),(0,s.Qr)(h),(0,s.Qr)(u)},40763:function(e,t,i){"use strict";var n=i(40789),s=i(43495),o=i(39561),r=i(81719),l=i(64106),a=i(55659),d=i(70784),h=i(79915),u=function(e,t){return function(i,n){t(i,n,e)}};let c=class extends d.JT{constructor(e,t,i){super(),this._textModel=e,this._languageFeaturesService=t,this._outlineModelService=i,this._currentModel=(0,s.uh)(this,void 0);let n=(0,s.aq)("documentSymbolProvider.onDidChange",this._languageFeaturesService.documentSymbolProvider.onDidChange),o=(0,s.aq)("_textModel.onDidChangeContent",h.ju.debounce(e=>this._textModel.onDidChangeContent(e),()=>void 0,100));this._register((0,s.gp)(async(e,t)=>{n.read(e),o.read(e);let i=t.add(new r.t2),s=await this._outlineModelService.getOrCreate(this._textModel,i.token);t.isDisposed||this._currentModel.set(s,void 0)}))}getBreadcrumbItems(e,t){let i=this._currentModel.read(t);if(!i)return[];let s=i.asListOfDocumentSymbols().filter(t=>e.contains(t.range.startLineNumber)&&!e.contains(t.range.endLineNumber));return s.sort((0,n.BV)((0,n.tT)(e=>e.range.endLineNumber-e.range.startLineNumber,n.fv))),s.map(e=>({name:e.name,kind:e.kind,startLineNumber:e.range.startLineNumber}))}};c=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([u(1,l.p),u(2,a.Je)],c),o.O.setBreadcrumbsSourceFactory((e,t)=>t.createInstance(c,e))},27479:function(e,t,i){"use strict";var n=i(70784),s=i(58022);i(92986);var o=i(82508),r=i(86570),l=i(70209),a=i(84781),d=i(66629);class h{constructor(e,t,i){this.selection=e,this.targetPosition=t,this.copy=i,this.targetSelection=null}getEditOperations(e,t){let i=e.getValueInRange(this.selection);if(this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new l.e(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),i),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new a.Y(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new a.Y(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumberthis._onEditorMouseDown(e))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._register(this._editor.onMouseDrag(e=>this._onEditorMouseDrag(e))),this._register(this._editor.onMouseDrop(e=>this._onEditorMouseDrop(e))),this._register(this._editor.onMouseDropCanceled(()=>this._onEditorMouseDropCanceled())),this._register(this._editor.onKeyDown(e=>this.onEditorKeyDown(e))),this._register(this._editor.onKeyUp(e=>this.onEditorKeyUp(e))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){!(!this._editor.getOption(35)||this._editor.getOption(22))&&(u(e)&&(this._modifierPressed=!0),this._mouseDown&&u(e)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(e){!(!this._editor.getOption(35)||this._editor.getOption(22))&&(u(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===c.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(e){let t=e.target;if(null===this._dragSelection){let e=this._editor.getSelections()||[],i=e.filter(e=>t.position&&e.containsPosition(t.position));if(1!==i.length)return;this._dragSelection=i[0]}u(e.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){let t=new r.L(e.target.position.lineNumber,e.target.position.column);if(null===this._dragSelection){let i=null;if(e.event.shiftKey){let e=this._editor.getSelection();if(e){let{selectionStartLineNumber:n,selectionStartColumn:s}=e;i=[new a.Y(n,s,t.lineNumber,t.column)]}}else i=(this._editor.getSelections()||[]).map(e=>e.containsPosition(t)?new a.Y(t.lineNumber,t.column,t.lineNumber,t.column):e);this._editor.setSelections(i||[],"mouse",3)}else(!this._dragSelection.containsPosition(t)||(u(e.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(c.ID,new h(this._dragSelection,t,u(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){this._dndDecorationIds.set([{range:new l.e(e.lineNumber,e.column,e.lineNumber,e.column),options:c._DECORATION_OPTIONS}]),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds.clear()}_hitContent(e){return 6===e.type||7===e.type}_hitMargin(e){return 2===e.type||3===e.type||4===e.type}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}c.ID="editor.contrib.dragAndDrop",c.TRIGGER_KEY_VALUE=s.dz?6:5,c._DECORATION_OPTIONS=d.qx.register({description:"dnd-target",className:"dnd-target"}),(0,o._K)(c.ID,c,2)},37536:function(e,t,i){"use strict";var n=i(9424),s=i(24162),o=i(5482),r=i(883),l=i(55659);i(81903).P.registerCommand("_executeDocumentSymbolProvider",async function(e,...t){let[i]=t;(0,s.p_)(o.o.isUri(i));let a=e.get(l.Je),d=e.get(r.S),h=await d.createModelReference(i);try{return(await a.getOrCreate(h.object.textEditorModel,n.Ts.None)).getTopLevelSymbols()}finally{h.dispose()}})},55659:function(e,t,i){"use strict";i.d(t,{C3:function(){return C},H3:function(){return b},Je:function(){return w},sT:function(){return v}});var n=i(40789),s=i(9424),o=i(32378),r=i(93072),l=i(10289),a=i(86570),d=i(70209),h=i(86756),u=i(85327),c=i(66653),g=i(98334),p=i(70784),m=i(64106),f=function(e,t){return function(i,n){t(i,n,e)}};class _{remove(){var e;null===(e=this.parent)||void 0===e||e.children.delete(this.id)}static findId(e,t){let i;"string"==typeof e?i=`${t.id}/${e}`:(i=`${t.id}/${e.name}`,void 0!==t.children.get(i)&&(i=`${t.id}/${e.name}_${e.range.startLineNumber}_${e.range.startColumn}`));let n=i;for(let e=0;void 0!==t.children.get(n);e++)n=`${i}_${e}`;return n}static empty(e){return 0===e.children.size}}class v extends _{constructor(e,t,i){super(),this.id=e,this.parent=t,this.symbol=i,this.children=new Map}}class b extends _{constructor(e,t,i,n){super(),this.id=e,this.parent=t,this.label=i,this.order=n,this.children=new Map}}class C extends _{static create(e,t,i){let r=new s.AU(i),l=new C(t.uri),a=e.ordered(t),d=a.map((e,i)=>{var n;let s=_.findId(`provider_${i}`,l),a=new b(s,l,null!==(n=e.displayName)&&void 0!==n?n:"Unknown Outline Provider",i);return Promise.resolve(e.provideDocumentSymbols(t,r.token)).then(e=>{for(let t of e||[])C._makeOutlineElement(t,a);return a},e=>((0,o.Cp)(e),a)).then(e=>{_.empty(e)?e.remove():l._groups.set(s,e)})}),h=e.onDidChange(()=>{let i=e.ordered(t);(0,n.fS)(i,a)||r.cancel()});return Promise.all(d).then(()=>r.token.isCancellationRequested&&!i.isCancellationRequested?C.create(e,t,i):l._compact()).finally(()=>{r.dispose(),h.dispose(),r.dispose()})}static _makeOutlineElement(e,t){let i=_.findId(e,t),n=new v(i,t,e);if(e.children)for(let t of e.children)C._makeOutlineElement(t,n);t.children.set(n.id,n)}constructor(e){super(),this.uri=e,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}_compact(){let e=0;for(let[t,i]of this._groups)0===i.children.size?this._groups.delete(t):e+=1;if(1!==e)this.children=this._groups;else{let e=r.$.first(this._groups.values());for(let[,t]of e.children)t.parent=this,this.children.set(t.id,t)}return this}getTopLevelSymbols(){let e=[];for(let t of this.children.values())t instanceof v?e.push(t.symbol):e.push(...r.$.map(t.children.values(),e=>e.symbol));return e.sort((e,t)=>d.e.compareRangesUsingStarts(e.range,t.range))}asListOfDocumentSymbols(){let e=this.getTopLevelSymbols(),t=[];return C._flattenDocumentSymbols(t,e,""),t.sort((e,t)=>a.L.compare(d.e.getStartPosition(e.range),d.e.getStartPosition(t.range))||a.L.compare(d.e.getEndPosition(t.range),d.e.getEndPosition(e.range)))}static _flattenDocumentSymbols(e,t,i){for(let n of t)e.push({kind:n.kind,tags:n.tags,name:n.name,detail:n.detail,containerName:n.containerName||i,range:n.range,selectionRange:n.selectionRange,children:void 0}),n.children&&C._flattenDocumentSymbols(e,n.children,n.name)}}let w=(0,u.yh)("IOutlineModelService"),y=class{constructor(e,t,i){this._languageFeaturesService=e,this._disposables=new p.SL,this._cache=new l.z6(10,.7),this._debounceInformation=t.for(e.documentSymbolProvider,"DocumentSymbols",{min:350}),this._disposables.add(i.onModelRemoved(e=>{this._cache.delete(e.id)}))}dispose(){this._disposables.dispose()}async getOrCreate(e,t){let i=this._languageFeaturesService.documentSymbolProvider,o=i.ordered(e),r=this._cache.get(e.id);if(!r||r.versionId!==e.getVersionId()||!(0,n.fS)(r.provider,o)){let t=new s.AU;r={versionId:e.getVersionId(),provider:o,promiseCnt:0,source:t,promise:C.create(i,e,t.token),model:void 0},this._cache.set(e.id,r);let n=Date.now();r.promise.then(t=>{r.model=t,this._debounceInformation.update(e,Date.now()-n)}).catch(t=>{this._cache.delete(e.id)})}if(r.model)return r.model;r.promiseCnt+=1;let l=t.onCancellationRequested(()=>{0==--r.promiseCnt&&(r.source.cancel(),this._cache.delete(e.id))});try{return await r.promise}finally{l.dispose()}}};y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([f(0,m.p),f(1,h.A),f(2,g.q)],y),(0,c.z)(w,y,1)},1231:function(e,t,i){"use strict";var n,s=i(10396),o=i(82508),r=i(73440),l=i(88964),a=i(63457),d=i(19469),h=i(82801);(0,o._K)(a.bO.ID,a.bO,0),(0,l.y)(d.vJ),(0,o.fK)(new class extends o._l{constructor(){super({id:a.iE,precondition:a.wS,kbOpts:{weight:100,primary:2137}})}runEditorCommand(e,t){var i;return null===(i=a.bO.get(t))||void 0===i?void 0:i.changePasteType()}}),(0,o.fK)(new class extends o._l{constructor(){super({id:"editor.hidePasteWidget",precondition:a.wS,kbOpts:{weight:100,primary:9}})}runEditorCommand(e,t){var i;null===(i=a.bO.get(t))||void 0===i||i.clearWidgets()}}),(0,o.Qr)(((n=class extends o.R6{constructor(){super({id:"editor.action.pasteAs",label:h.NC("pasteAs","Paste As..."),alias:"Paste As...",precondition:r.u.writable,metadata:{description:"Paste as",args:[{name:"args",schema:n.argsSchema}]}})}run(e,t,i){var n;let o="string"==typeof(null==i?void 0:i.kind)?i.kind:void 0;return!o&&i&&(o="string"==typeof i.id?i.id:void 0),null===(n=a.bO.get(t))||void 0===n?void 0:n.pasteAs(o?new s.o(o):void 0)}}).argsSchema={type:"object",properties:{kind:{type:"string",description:h.NC("pasteAs.kind","The kind of the paste edit to try applying. If not provided or there are multiple edits for this kind, the editor will show a picker.")}}},n)),(0,o.Qr)(class extends o.R6{constructor(){super({id:"editor.action.pasteAsText",label:h.NC("pasteAsText","Paste as Text"),alias:"Paste as Text",precondition:r.u.writable})}run(e,t){var i;return null===(i=a.bO.get(t))||void 0===i?void 0:i.pasteAs({providerId:d.f8.id})}})},63457:function(e,t,i){"use strict";i.d(t,{bO:function(){return P},iE:function(){return M},wS:function(){return R}});var n,s=i(81845),o=i(40789),r=i(44532),l=i(88946),a=i(10396),d=i(70784),h=i(16735),u=i(58022),c=i(2645),g=i(62432),p=i(70312),m=i(88338),f=i(70209),_=i(1863),v=i(64106),b=i(19469),C=i(46118),w=i(71141),y=i(25061),S=i(7727),L=i(82801),k=i(59203),D=i(33336),x=i(85327),N=i(14588),E=i(33353),I=i(57731),T=function(e,t){return function(i,n){t(i,n,e)}};let M="editor.changePasteType",R=new D.uy("pasteWidgetVisible",!1,(0,L.NC)("pasteWidgetVisible","Whether the paste widget is showing")),A="application/vnd.code.copyMetadata",P=n=class extends d.JT{static get(e){return e.getContribution(n.ID)}constructor(e,t,i,n,o,r,l){super(),this._bulkEditService=i,this._clipboardService=n,this._languageFeaturesService=o,this._quickInputService=r,this._progressService=l,this._editor=e;let a=e.getContainerDomNode();this._register((0,s.nm)(a,"copy",e=>this.handleCopy(e))),this._register((0,s.nm)(a,"cut",e=>this.handleCopy(e))),this._register((0,s.nm)(a,"paste",e=>this.handlePaste(e),!0)),this._pasteProgressManager=this._register(new y.r("pasteIntoEditor",e,t)),this._postPasteWidgetManager=this._register(t.createInstance(I.p,"pasteIntoEditor",e,R,{id:M,label:(0,L.NC)("postPasteWidgetTitle","Show paste options...")}))}changePasteType(){this._postPasteWidgetManager.tryShowSelector()}pasteAs(e){this._editor.focus();try{this._pasteAsActionContext={preferred:e},(0,s.uP)().execCommand("paste")}finally{this._pasteAsActionContext=void 0}}clearWidgets(){this._postPasteWidgetManager.clear()}isPasteAsEnabled(){return this._editor.getOption(85).enabled&&!this._editor.getOption(91)}async finishedPaste(){await this._currentPasteOperation}handleCopy(e){var t,i;if(!this._editor.hasTextFocus()||(u.$L&&this._clipboardService.writeResources([]),!e.clipboardData||!this.isPasteAsEnabled()))return;let s=this._editor.getModel(),l=this._editor.getSelections();if(!s||!(null==l?void 0:l.length))return;let a=this._editor.getOption(37),d=l,h=1===l.length&&l[0].isEmpty();if(h){if(!a)return;d=[new f.e(d[0].startLineNumber,1,d[0].startLineNumber,1+s.getLineLength(d[0].startLineNumber))]}let g=null===(t=this._editor._getViewModel())||void 0===t?void 0:t.getPlainTextToCopy(l,a,u.ED),m=Array.isArray(g)?g:null,_={multicursorText:m,pasteOnNewLine:h,mode:null},v=this._languageFeaturesService.documentPasteEditProvider.ordered(s).filter(e=>!!e.prepareDocumentPaste);if(!v.length){this.setCopyMetadata(e.clipboardData,{defaultPastePayload:_});return}let b=(0,p.B)(e.clipboardData),C=v.flatMap(e=>{var t;return null!==(t=e.copyMimeTypes)&&void 0!==t?t:[]}),w=(0,c.R)();this.setCopyMetadata(e.clipboardData,{id:w,providerCopyMimeTypes:C,defaultPastePayload:_});let y=(0,r.PG)(async e=>{let t=(0,o.kX)(await Promise.all(v.map(async t=>{try{return await t.prepareDocumentPaste(s,d,b,e)}catch(e){console.error(e);return}})));for(let e of(t.reverse(),t))for(let[t,i]of e)b.replace(t,i);return b});null===(i=n._currentCopyOperation)||void 0===i||i.dataTransferPromise.cancel(),n._currentCopyOperation={handle:w,dataTransferPromise:y}}async handlePaste(e){var t,i,n,s;if(!e.clipboardData||!this._editor.hasTextFocus())return;null===(t=S.O.get(this._editor))||void 0===t||t.closeMessage(),null===(i=this._currentPasteOperation)||void 0===i||i.cancel(),this._currentPasteOperation=void 0;let o=this._editor.getModel(),r=this._editor.getSelections();if(!(null==r?void 0:r.length)||!o||!this.isPasteAsEnabled()&&!this._pasteAsActionContext)return;let a=this.fetchCopyMetadata(e),d=(0,p.L)(e.clipboardData);d.delete(A);let u=[...e.clipboardData.types,...null!==(n=null==a?void 0:a.providerCopyMimeTypes)&&void 0!==n?n:[],h.v.uriList],c=this._languageFeaturesService.documentPasteEditProvider.ordered(o).filter(e=>{var t,i;let n=null===(t=this._pasteAsActionContext)||void 0===t?void 0:t.preferred;return(!n||!e.providedPasteEditKinds||!!this.providerMatchesPreference(e,n))&&(null===(i=e.pasteMimeTypes)||void 0===i?void 0:i.some(e=>(0,l.SN)(e,u)))});if(!c.length){(null===(s=this._pasteAsActionContext)||void 0===s?void 0:s.preferred)&&this.showPasteAsNoEditMessage(r,this._pasteAsActionContext.preferred);return}e.preventDefault(),e.stopImmediatePropagation(),this._pasteAsActionContext?this.showPasteAsPick(this._pasteAsActionContext.preferred,c,r,d,a):this.doPasteInline(c,r,d,a,e)}showPasteAsNoEditMessage(e,t){var i;null===(i=S.O.get(this._editor))||void 0===i||i.showMessage((0,L.NC)("pasteAsError","No paste edits for '{0}' found",t instanceof a.o?t.value:t.providerId),e[0].getStartPosition())}doPasteInline(e,t,i,n,s){let o=(0,r.PG)(async r=>{let l=this._editor;if(!l.hasModel())return;let a=l.getModel(),d=new w.Dl(l,3,void 0,r);try{if(await this.mergeInDataFromCopy(i,n,d.token),d.token.isCancellationRequested)return;let o=e.filter(e=>this.isSupportedPasteProvider(e,i));if(!o.length||1===o.length&&o[0]instanceof b.f8)return this.applyDefaultPasteHandler(i,n,d.token,s);let r={triggerKind:_.Nq.Automatic},h=await this.getPasteEdits(o,i,a,t,r,d.token);if(d.token.isCancellationRequested)return;if(1===h.length&&h[0].provider instanceof b.f8)return this.applyDefaultPasteHandler(i,n,d.token,s);if(h.length){let e="afterPaste"===l.getOption(85).showPasteSelector;return this._postPasteWidgetManager.applyEditAndShowIfNeeded(t,{activeEditIndex:0,allEdits:h},e,async(e,t)=>{var i,n;let s=await (null===(n=(i=e.provider).resolveDocumentPasteEdit)||void 0===n?void 0:n.call(i,e,t));return s&&(e.additionalEdit=s.additionalEdit),e},d.token)}await this.applyDefaultPasteHandler(i,n,d.token,s)}finally{d.dispose(),this._currentPasteOperation===o&&(this._currentPasteOperation=void 0)}});this._pasteProgressManager.showWhile(t[0].getEndPosition(),(0,L.NC)("pasteIntoEditorProgress","Running paste handlers. Click to cancel"),o),this._currentPasteOperation=o}showPasteAsPick(e,t,i,n,s){let o=(0,r.PG)(async r=>{let l=this._editor;if(!l.hasModel())return;let d=l.getModel(),h=new w.Dl(l,3,void 0,r);try{let o;if(await this.mergeInDataFromCopy(n,s,h.token),h.token.isCancellationRequested)return;let r=t.filter(t=>this.isSupportedPasteProvider(t,n,e));e&&(r=r.filter(t=>this.providerMatchesPreference(t,e)));let l={triggerKind:_.Nq.PasteAs,only:e&&e instanceof a.o?e:void 0},u=await this.getPasteEdits(r,n,d,i,l,h.token);if(h.token.isCancellationRequested)return;if(e&&(u=u.filter(t=>e instanceof a.o?e.contains(t.kind):e.providerId===t.provider.id)),!u.length){l.only&&this.showPasteAsNoEditMessage(i,l.only);return}if(e)o=u.at(0);else{let e=await this._quickInputService.pick(u.map(e=>{var t;return{label:e.title,description:null===(t=e.kind)||void 0===t?void 0:t.value,edit:e}}),{placeHolder:(0,L.NC)("pasteAsPickerPlaceholder","Select Paste Action")});o=null==e?void 0:e.edit}if(!o)return;let c=(0,C.n)(d.uri,i,o);await this._bulkEditService.apply(c,{editor:this._editor})}finally{h.dispose(),this._currentPasteOperation===o&&(this._currentPasteOperation=void 0)}});this._progressService.withProgress({location:10,title:(0,L.NC)("pasteAsProgress","Running paste handlers")},()=>o)}setCopyMetadata(e,t){e.setData(A,JSON.stringify(t))}fetchCopyMetadata(e){var t;if(!e.clipboardData)return;let i=e.clipboardData.getData(A);if(i)try{return JSON.parse(i)}catch(e){return}let[n,s]=g.b6.getTextData(e.clipboardData);if(s)return{defaultPastePayload:{mode:s.mode,multicursorText:null!==(t=s.multicursorText)&&void 0!==t?t:null,pasteOnNewLine:!!s.isFromEmptySelection}}}async mergeInDataFromCopy(e,t,i){var s;if((null==t?void 0:t.id)&&(null===(s=n._currentCopyOperation)||void 0===s?void 0:s.handle)===t.id){let t=await n._currentCopyOperation.dataTransferPromise;if(i.isCancellationRequested)return;for(let[i,n]of t)e.replace(i,n)}if(!e.has(h.v.uriList)){let t=await this._clipboardService.readResources();if(i.isCancellationRequested)return;t.length&&e.append(h.v.uriList,(0,l.ZO)(l.Z0.create(t)))}}async getPasteEdits(e,t,i,n,s,l){let a=await (0,r.eP)(Promise.all(e.map(async e=>{var o,r;try{let a=await (null===(o=e.provideDocumentPasteEdits)||void 0===o?void 0:o.call(e,i,n,t,s,l));return null===(r=null==a?void 0:a.edits)||void 0===r?void 0:r.map(t=>({...t,provider:e}))}catch(e){console.error(e)}})),l),d=(0,o.kX)(null!=a?a:[]).flat().filter(e=>!s.only||s.only.contains(e.kind));return(0,C.C)(d)}async applyDefaultPasteHandler(e,t,i,n){var s,o,r,l;let a=null!==(s=e.get(h.v.text))&&void 0!==s?s:e.get("text"),d=null!==(o=await (null==a?void 0:a.asString()))&&void 0!==o?o:"";if(i.isCancellationRequested)return;let u={clipboardEvent:n,text:d,pasteOnNewLine:null!==(r=null==t?void 0:t.defaultPastePayload.pasteOnNewLine)&&void 0!==r&&r,multicursorText:null!==(l=null==t?void 0:t.defaultPastePayload.multicursorText)&&void 0!==l?l:null,mode:null};this._editor.trigger("keyboard","paste",u)}isSupportedPasteProvider(e,t,i){var n;return null!==(n=e.pasteMimeTypes)&&void 0!==n&&!!n.some(e=>t.matches(e))&&(!i||this.providerMatchesPreference(e,i))}providerMatchesPreference(e,t){return t instanceof a.o?!e.providedPasteEditKinds||e.providedPasteEditKinds.some(e=>t.contains(e)):e.id===t.providerId}};P.ID="editor.contrib.copyPasteActionController",P=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([T(1,x.TG),T(2,m.vu),T(3,k.p),T(4,v.p),T(5,E.eJ),T(6,N.R9)],P)},19469:function(e,t,i){"use strict";i.d(t,{P4:function(){return S},f8:function(){return v},vJ:function(){return L}});var n=i(40789),s=i(88946),o=i(10396),r=i(70784),l=i(16735),a=i(72249),d=i(1271),h=i(5482),u=i(1863),c=i(64106),g=i(82801),p=i(23776),m=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},f=function(e,t){return function(i,n){t(i,n,e)}};class _{async provideDocumentPasteEdits(e,t,i,n,s){let o=await this.getEdit(i,s);if(o)return{dispose(){},edits:[{insertText:o.insertText,title:o.title,kind:o.kind,handledMimeType:o.handledMimeType,yieldTo:o.yieldTo}]}}async provideDocumentDropEdits(e,t,i,n){let s=await this.getEdit(i,n);return s?[{insertText:s.insertText,title:s.title,kind:s.kind,handledMimeType:s.handledMimeType,yieldTo:s.yieldTo}]:void 0}}class v extends _{constructor(){super(...arguments),this.kind=v.kind,this.dropMimeTypes=[l.v.text],this.pasteMimeTypes=[l.v.text]}async getEdit(e,t){let i=e.get(l.v.text);if(!i||e.has(l.v.uriList))return;let n=await i.asString();return{handledMimeType:l.v.text,title:(0,g.NC)("text.label","Insert Plain Text"),insertText:n,kind:this.kind}}}v.id="text",v.kind=new o.o("text.plain");class b extends _{constructor(){super(...arguments),this.kind=new o.o("uri.absolute"),this.dropMimeTypes=[l.v.uriList],this.pasteMimeTypes=[l.v.uriList]}async getEdit(e,t){let i;let n=await y(e);if(!n.length||t.isCancellationRequested)return;let s=0,o=n.map(({uri:e,originalText:t})=>e.scheme===a.lg.file?e.fsPath:(s++,t)).join(" ");return i=s>0?n.length>1?(0,g.NC)("defaultDropProvider.uriList.uris","Insert Uris"):(0,g.NC)("defaultDropProvider.uriList.uri","Insert Uri"):n.length>1?(0,g.NC)("defaultDropProvider.uriList.paths","Insert Paths"):(0,g.NC)("defaultDropProvider.uriList.path","Insert Path"),{handledMimeType:l.v.uriList,insertText:o,title:i,kind:this.kind}}}let C=class extends _{constructor(e){super(),this._workspaceContextService=e,this.kind=new o.o("uri.relative"),this.dropMimeTypes=[l.v.uriList],this.pasteMimeTypes=[l.v.uriList]}async getEdit(e,t){let i=await y(e);if(!i.length||t.isCancellationRequested)return;let s=(0,n.kX)(i.map(({uri:e})=>{let t=this._workspaceContextService.getWorkspaceFolder(e);return t?(0,d.lX)(t.uri,e):void 0}));if(s.length)return{handledMimeType:l.v.uriList,insertText:s.join(" "),title:i.length>1?(0,g.NC)("defaultDropProvider.uriList.relativePaths","Insert Relative Paths"):(0,g.NC)("defaultDropProvider.uriList.relativePath","Insert Relative Path"),kind:this.kind}}};C=m([f(0,p.ec)],C);class w{constructor(){this.kind=new o.o("html"),this.pasteMimeTypes=["text/html"],this._yieldTo=[{mimeType:l.v.text}]}async provideDocumentPasteEdits(e,t,i,n,s){var o;if(n.triggerKind!==u.Nq.PasteAs&&!(null===(o=n.only)||void 0===o?void 0:o.contains(this.kind)))return;let r=i.get("text/html"),l=await (null==r?void 0:r.asString());if(l&&!s.isCancellationRequested)return{dispose(){},edits:[{insertText:l,yieldTo:this._yieldTo,title:(0,g.NC)("pasteHtmlLabel","Insert HTML"),kind:this.kind}]}}}async function y(e){let t=e.get(l.v.uriList);if(!t)return[];let i=await t.asString(),n=[];for(let e of s.Z0.parse(i))try{n.push({uri:h.o.parse(e),originalText:e})}catch(e){}return n}let S=class extends r.JT{constructor(e,t){super(),this._register(e.documentDropEditProvider.register("*",new v)),this._register(e.documentDropEditProvider.register("*",new b)),this._register(e.documentDropEditProvider.register("*",new C(t)))}};S=m([f(0,c.p),f(1,p.ec)],S);let L=class extends r.JT{constructor(e,t){super(),this._register(e.documentPasteEditProvider.register("*",new v)),this._register(e.documentPasteEditProvider.register("*",new b)),this._register(e.documentPasteEditProvider.register("*",new C(t))),this._register(e.documentPasteEditProvider.register("*",new w))}};L=m([f(0,c.p),f(1,p.ec)],L)},50931:function(e,t,i){"use strict";var n,s=i(82508),o=i(1990),r=i(88964),l=i(19469),a=i(82801),d=i(73004),h=i(34089),u=i(40789),c=i(44532),g=i(88946),p=i(10396),m=i(70784),f=i(70312),_=i(70209),v=i(64106);class b{constructor(e){this.identifier=e}}var C=i(66653),w=i(85327);let y=(0,w.yh)("treeViewsDndService");(0,C.z)(y,class{constructor(){this._dragOperations=new Map}removeDragOperationTransfer(e){if(e&&this._dragOperations.has(e)){let t=this._dragOperations.get(e);return this._dragOperations.delete(e),t}}},1);var S=i(71141),L=i(25061),k=i(78426),D=i(33336),x=i(72944),N=i(46118),E=i(57731),I=function(e,t){return function(i,n){t(i,n,e)}};let T="editor.experimental.dropIntoEditor.defaultProvider",M="editor.changeDropType",R=new D.uy("dropWidgetVisible",!1,(0,a.NC)("dropWidgetVisible","Whether the drop widget is showing")),A=n=class extends m.JT{static get(e){return e.getContribution(n.ID)}constructor(e,t,i,n,s){super(),this._configService=i,this._languageFeaturesService=n,this._treeViewsDragAndDropService=s,this.treeItemsTransfer=x.Ej.getInstance(),this._dropProgressManager=this._register(t.createInstance(L.r,"dropIntoEditor",e)),this._postDropWidgetManager=this._register(t.createInstance(E.p,"dropIntoEditor",e,R,{id:M,label:(0,a.NC)("postDropWidgetTitle","Show drop options...")})),this._register(e.onDropIntoEditor(t=>this.onDropIntoEditor(e,t.position,t.event)))}clearWidgets(){this._postDropWidgetManager.clear()}changeDropType(){this._postDropWidgetManager.tryShowSelector()}async onDropIntoEditor(e,t,i){var n;if(!i.dataTransfer||!e.hasModel())return;null===(n=this._currentOperation)||void 0===n||n.cancel(),e.focus(),e.setPosition(t);let s=(0,c.PG)(async n=>{let o=new S.Dl(e,1,void 0,n);try{let s=await this.extractDataTransferData(i);if(0===s.size||o.token.isCancellationRequested)return;let r=e.getModel();if(!r)return;let l=this._languageFeaturesService.documentDropEditProvider.ordered(r).filter(e=>!e.dropMimeTypes||e.dropMimeTypes.some(e=>s.matches(e))),a=await this.getDropEdits(l,r,t,s,o);if(o.token.isCancellationRequested)return;if(a.length){let i=this.getInitialActiveEditIndex(r,a),s="afterDrop"===e.getOption(36).showDropSelector;await this._postDropWidgetManager.applyEditAndShowIfNeeded([_.e.fromPositions(t)],{activeEditIndex:i,allEdits:a},s,async e=>e,n)}}finally{o.dispose(),this._currentOperation===s&&(this._currentOperation=void 0)}});this._dropProgressManager.showWhile(t,(0,a.NC)("dropIntoEditorProgress","Running drop handlers. Click to cancel"),s),this._currentOperation=s}async getDropEdits(e,t,i,n,s){let o=await (0,c.eP)(Promise.all(e.map(async e=>{try{let o=await e.provideDocumentDropEdits(t,i,n,s.token);return null==o?void 0:o.map(t=>({...t,providerId:e.id}))}catch(e){console.error(e)}})),s.token),r=(0,u.kX)(null!=o?o:[]).flat();return(0,N.C)(r)}getInitialActiveEditIndex(e,t){let i=this._configService.getValue(T,{resource:e.uri});for(let[e,n]of Object.entries(i)){let i=new p.o(n),s=t.findIndex(t=>i.value===t.providerId&&t.handledMimeType&&(0,g.SN)(e,[t.handledMimeType]));if(s>=0)return s}return 0}async extractDataTransferData(e){if(!e.dataTransfer)return new g.Hl;let t=(0,f.L)(e.dataTransfer);if(this.treeItemsTransfer.hasData(b.prototype)){let e=this.treeItemsTransfer.getData(b.prototype);if(Array.isArray(e))for(let i of e){let e=await this._treeViewsDragAndDropService.removeDragOperationTransfer(i.identifier);if(e)for(let[i,n]of e)t.replace(i,n)}}return t}};A.ID="editor.contrib.dropIntoEditorController",A=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([I(1,w.TG),I(2,k.Ui),I(3,v.p),I(4,y)],A),(0,s._K)(A.ID,A,2),(0,r.y)(l.P4),(0,s.fK)(new class extends s._l{constructor(){super({id:M,precondition:R,kbOpts:{weight:100,primary:2137}})}runEditorCommand(e,t,i){var n;null===(n=A.get(t))||void 0===n||n.changeDropType()}}),(0,s.fK)(new class extends s._l{constructor(){super({id:"editor.hideDropWidget",precondition:R,kbOpts:{weight:100,primary:9}})}runEditorCommand(e,t,i){var n;null===(n=A.get(t))||void 0===n||n.clearWidgets()}}),h.B.as(d.IP.Configuration).registerConfiguration({...o.wk,properties:{[T]:{type:"object",scope:5,description:a.NC("defaultProviderDescription","Configures the default drop provider to use for content of a given mime type."),default:{},additionalProperties:{type:"string"}}}})},46118:function(e,t,i){"use strict";i.d(t,{C:function(){return r},n:function(){return o}});var n=i(88338),s=i(26956);function o(e,t,i){var o,r,l,a;return("string"==typeof i.insertText?""===i.insertText:""===i.insertText.snippet)?{edits:null!==(r=null===(o=i.additionalEdit)||void 0===o?void 0:o.edits)&&void 0!==r?r:[]}:{edits:[...t.map(t=>new n.Gl(e,{range:t,text:"string"==typeof i.insertText?s.Yj.escape(i.insertText)+"$0":i.insertText.snippet,insertAsSnippet:!0})),...null!==(a=null===(l=i.additionalEdit)||void 0===l?void 0:l.edits)&&void 0!==a?a:[]]}}function r(e){var t;let i=new Map;for(let n of e)for(let s of null!==(t=n.yieldTo)&&void 0!==t?t:[])for(let t of e)if(t!==n&&("mimeType"in s?s.mimeType===t.handledMimeType:!!t.kind&&s.kind.contains(t.kind))){let e=i.get(n);e||(e=[],i.set(n,e)),e.push(t)}if(!i.size)return Array.from(e);let n=new Set,s=[];return function e(t){if(!t.length)return[];let o=t[0];if(s.includes(o))return console.warn("Yield to cycle detected",o),t;if(n.has(o))return e(t.slice(1));let r=[],l=i.get(o);return l&&(s.push(o),r=e(l),s.pop()),n.add(o),[...r,o,...e(t.slice(1))]}(Array.from(e))}},57731:function(e,t,i){"use strict";i.d(t,{p:function(){return y}});var n,s=i(81845),o=i(10652),r=i(76886),l=i(24809),a=i(32378),d=i(79915),h=i(70784);i(15968);var u=i(88338),c=i(46118),g=i(82801),p=i(33336),m=i(10727),f=i(85327),_=i(46417),v=i(16575),b=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},C=function(e,t){return function(i,n){t(i,n,e)}};let w=n=class extends h.JT{constructor(e,t,i,n,s,o,r,l,a,u){super(),this.typeId=e,this.editor=t,this.showCommand=n,this.range=s,this.edits=o,this.onSelectNewEdit=r,this._contextMenuService=l,this._keybindingService=u,this.allowEditorOverflow=!0,this.suppressMouseDown=!0,this.create(),this.visibleContext=i.bindTo(a),this.visibleContext.set(!0),this._register((0,h.OF)(()=>this.visibleContext.reset())),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this),this._register((0,h.OF)(()=>this.editor.removeContentWidget(this))),this._register(this.editor.onDidChangeCursorPosition(e=>{s.containsPosition(e.position)||this.dispose()})),this._register(d.ju.runAndSubscribe(u.onDidUpdateKeybindings,()=>{this._updateButtonTitle()}))}_updateButtonTitle(){var e;let t=null===(e=this._keybindingService.lookupKeybinding(this.showCommand.id))||void 0===e?void 0:e.getLabel();this.button.element.title=this.showCommand.label+(t?` (${t})`:"")}create(){this.domNode=s.$(".post-edit-widget"),this.button=this._register(new o.z(this.domNode,{supportIcons:!0})),this.button.label="$(insert)",this._register(s.nm(this.domNode,s.tw.CLICK,()=>this.showSelector()))}getId(){return n.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:this.range.getEndPosition(),preference:[2]}}showSelector(){this._contextMenuService.showContextMenu({getAnchor:()=>{let e=s.i(this.button.element);return{x:e.left+e.width,y:e.top+e.height}},getActions:()=>this.edits.allEdits.map((e,t)=>(0,r.xw)({id:"",label:e.title,checked:t===this.edits.activeEditIndex,run:()=>{if(t!==this.edits.activeEditIndex)return this.onSelectNewEdit(t)}}))})}};w.baseId="editor.widget.postEditWidget",w=n=b([C(7,m.i),C(8,p.i6),C(9,_.d)],w);let y=class extends h.JT{constructor(e,t,i,n,s,o,r){super(),this._id=e,this._editor=t,this._visibleContext=i,this._showCommand=n,this._instantiationService=s,this._bulkEditService=o,this._notificationService=r,this._currentWidget=this._register(new h.XK),this._register(d.ju.any(t.onDidChangeModel,t.onDidChangeModelContent)(()=>this.clear()))}async applyEditAndShowIfNeeded(e,t,i,n,s){let o,r,d;let h=this._editor.getModel();if(!h||!e.length)return;let u=t.allEdits.at(t.activeEditIndex);if(!u)return;let p=async o=>{let r=this._editor.getModel();r&&(await r.undo(),this.applyEditAndShowIfNeeded(e,{activeEditIndex:o,allEdits:t.allEdits},i,n,s))},m=(n,s)=>{!(0,a.n2)(n)&&(this._notificationService.error(s),i&&this.show(e[0],t,p))};try{o=await n(u,s)}catch(e){return m(e,(0,g.NC)("resolveError","Error resolving edit '{0}':\n{1}",u.title,(0,l.y)(e)))}if(s.isCancellationRequested)return;let f=(0,c.n)(h.uri,e,o),_=e[0],v=h.deltaDecorations([],[{range:_,options:{description:"paste-line-suffix",stickiness:0}}]);this._editor.focus();try{r=await this._bulkEditService.apply(f,{editor:this._editor,token:s}),d=h.getDecorationRange(v[0])}catch(e){return m(e,(0,g.NC)("applyError","Error applying edit '{0}':\n{1}",u.title,(0,l.y)(e)))}finally{h.deltaDecorations(v,[])}!s.isCancellationRequested&&i&&r.isApplied&&t.allEdits.length>1&&this.show(null!=d?d:_,t,p)}show(e,t,i){this.clear(),this._editor.hasModel()&&(this._currentWidget.value=this._instantiationService.createInstance(w,this._id,this._editor,this._visibleContext,this._showCommand,e,t,i))}clear(){this._currentWidget.clear()}tryShowSelector(){var e;null===(e=this._currentWidget.value)||void 0===e||e.showSelector()}};y=b([C(4,f.TG),C(5,u.vu),C(6,v.lT)],y)},71141:function(e,t,i){"use strict";i.d(t,{yy:function(){return f},Dl:function(){return _},YQ:function(){return v}});var n=i(95612),s=i(70209),o=i(9424),r=i(70784),l=i(82508),a=i(33336),d=i(92270),h=i(85327),u=i(66653),c=i(82801);let g=(0,h.yh)("IEditorCancelService"),p=new a.uy("cancellableOperation",!1,(0,c.NC)("cancellableOperation","Whether the editor runs a cancellable operation, e.g. like 'Peek References'"));(0,u.z)(g,class{constructor(){this._tokens=new WeakMap}add(e,t){let i,n=this._tokens.get(e);return n||(n=e.invokeWithinContext(e=>{let t=p.bindTo(e.get(a.i6)),i=new d.S;return{key:t,tokens:i}}),this._tokens.set(e,n)),n.key.set(!0),i=n.tokens.push(t),()=>{i&&(i(),n.key.set(!n.tokens.isEmpty()),i=void 0)}}cancel(e){let t=this._tokens.get(e);if(!t)return;let i=t.tokens.pop();i&&(i.cancel(),t.key.set(!t.tokens.isEmpty()))}},1);class m extends o.AU{constructor(e,t){super(t),this.editor=e,this._unregister=e.invokeWithinContext(t=>t.get(g).add(e,this))}dispose(){this._unregister(),super.dispose()}}(0,l.fK)(new class extends l._l{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:p})}runEditorCommand(e,t){e.get(g).cancel(t)}});class f{constructor(e,t){if(this.flags=t,(1&this.flags)!=0){let t=e.getModel();this.modelVersionId=t?n.WU("{0}#{1}",t.uri.toString(),t.getVersionId()):null}else this.modelVersionId=null;(4&this.flags)!=0?this.position=e.getPosition():this.position=null,(2&this.flags)!=0?this.selection=e.getSelection():this.selection=null,(8&this.flags)!=0?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(e){return e instanceof f&&this.modelVersionId===e.modelVersionId&&this.scrollLeft===e.scrollLeft&&this.scrollTop===e.scrollTop&&(!!this.position||!e.position)&&(!this.position||!!e.position)&&(!this.position||!e.position||!!this.position.equals(e.position))&&(!!this.selection||!e.selection)&&(!this.selection||!!e.selection)&&(!this.selection||!e.selection||!!this.selection.equalsRange(e.selection))}validate(e){return this._equals(new f(e,this.flags))}}class _ extends m{constructor(e,t,i,n){super(e,n),this._listener=new r.SL,4&t&&this._listener.add(e.onDidChangeCursorPosition(e=>{i&&s.e.containsPosition(i,e.position)||this.cancel()})),2&t&&this._listener.add(e.onDidChangeCursorSelection(e=>{i&&s.e.containsRange(i,e.selection)||this.cancel()})),8&t&&this._listener.add(e.onDidScrollChange(e=>this.cancel())),1&t&&(this._listener.add(e.onDidChangeModel(e=>this.cancel())),this._listener.add(e.onDidChangeModelContent(e=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}class v extends o.AU{constructor(e,t){super(t),this._listener=e.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}},13564:function(e,t,i){"use strict";i.d(t,{pR:function(){return eZ}});var n,s=i(44532),o=i(70784),r=i(95612),l=i(82508),a=i(34109),d=i(73440),h=i(41407),u=i(70365),c=i(77786),g=i(86570),p=i(70209),m=i(84781),f=i(5639),_=i(66629),v=i(43616),b=i(55150);class C{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.removeDecorations(this._allDecorations()),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){let e=this._findScopeDecorationIds.map(e=>this._editor.getModel().getDecorationRange(e)).filter(e=>!!e);if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){let t=this._decorations.indexOf(e);return t>=0?t+1:1}getDecorationRangeAt(e){let t=e{if(null!==this._highlightedDecorationId&&(e.changeDecorationOptions(this._highlightedDecorationId,C._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),null!==t&&(this._highlightedDecorationId=t,e.changeDecorationOptions(this._highlightedDecorationId,C._CURRENT_FIND_MATCH_DECORATION)),null!==this._rangeHighlightDecorationId&&(e.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),null!==t){let i=this._editor.getModel().getDecorationRange(t);if(i.startLineNumber!==i.endLineNumber&&1===i.endColumn){let e=i.endLineNumber-1,t=this._editor.getModel().getLineMaxColumn(e);i=new p.e(i.startLineNumber,i.startColumn,e,t)}this._rangeHighlightDecorationId=e.addDecoration(i,C._RANGE_HIGHLIGHT_DECORATION)}}),i}set(e,t){this._editor.changeDecorations(i=>{let n=C._FIND_MATCH_DECORATION,s=[];if(e.length>1e3){n=C._FIND_MATCH_NO_OVERVIEW_DECORATION;let t=this._editor.getModel().getLineCount(),i=this._editor.getLayoutInfo().height,o=Math.max(2,Math.ceil(3/(i/t))),r=e[0].range.startLineNumber,l=e[0].range.endLineNumber;for(let t=1,i=e.length;t=i.startLineNumber?i.endLineNumber>l&&(l=i.endLineNumber):(s.push({range:new p.e(r,1,l,1),options:C._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),r=i.startLineNumber,l=i.endLineNumber)}s.push({range:new p.e(r,1,l,1),options:C._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}let o=Array(e.length);for(let t=0,i=e.length;ti.removeDecoration(e)),this._findScopeDecorationIds=[]),(null==t?void 0:t.length)&&(this._findScopeDecorationIds=t.map(e=>i.addDecoration(e,C._FIND_SCOPE_DECORATION)))})}matchBeforePosition(e){if(0===this._decorations.length)return null;for(let t=this._decorations.length-1;t>=0;t--){let i=this._decorations[t],n=this._editor.getModel().getDecorationRange(i);if(n&&!(n.endLineNumber>e.lineNumber)&&(n.endLineNumbere.column)))return n}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(0===this._decorations.length)return null;for(let t=0,i=this._decorations.length;te.lineNumber||!(n.startColumn0){let e=[];for(let t=0;tp.e.compareRangesUsingStarts(e.range,t.range));let i=[],n=e[0];for(let t=1;t0?t[0].toUpperCase()+t.substr(1):e[0][0].toUpperCase()!==e[0][0]&&t.length>0?t[0].toLowerCase()+t.substr(1):t}}function S(e,t,i){let n=-1!==e[0].indexOf(i)&&-1!==t.indexOf(i);return n&&e[0].split(i).length===t.split(i).length}function L(e,t,i){let n=t.split(i),s=e[0].split(i),o="";return n.forEach((e,t)=>{o+=y([s[t]],e)+i}),o.slice(0,-1)}class k{constructor(e){this.staticValue=e,this.kind=0}}class D{constructor(e){this.pieces=e,this.kind=1}}class x{static fromStaticValue(e){return new x([N.staticValue(e)])}get hasReplacementPatterns(){return 1===this._state.kind}constructor(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new k(e[0].staticValue):this._state=new D(e):this._state=new k("")}buildReplaceString(e,t){if(0===this._state.kind)return t?y(e,this._state.staticValue):this._state.staticValue;let i="";for(let t=0,n=this._state.pieces.length;t0){let e=[],t=n.caseOps.length,i=0;for(let o=0,r=s.length;o=t){e.push(s.slice(o));break}switch(n.caseOps[i]){case"U":e.push(s[o].toUpperCase());break;case"u":e.push(s[o].toUpperCase()),i++;break;case"L":e.push(s[o].toLowerCase());break;case"l":e.push(s[o].toLowerCase()),i++;break;default:e.push(s[o])}}s=e.join("")}i+=s}return i}static _substitute(e,t){if(null===t)return"";if(0===e)return t[0];let i="";for(;e>0;){if(ethis.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(e=>{(3===e.reason||5===e.reason||6===e.reason)&&this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(e=>{this._ignoreModelContentChanged||(e.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,(0,o.B9)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(e){if(!this._isDisposed&&this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)){let t=this._editor.getModel();t.isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)},240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}}static _getSearchRange(e,t){return t||e.getFullModelRange()}research(e,t){let i=null;void 0!==t?null!==t&&(i=Array.isArray(t)?t:[t]):i=this._decorations.getFindScopes(),null!==i&&(i=i.map(e=>{if(e.startLineNumber!==e.endLineNumber){let t=e.endLineNumber;return 1===e.endColumn&&(t-=1),new p.e(e.startLineNumber,1,t,this._editor.getModel().getLineMaxColumn(t))}return e}));let n=this._findMatches(i,!1,19999);this._decorations.set(n,i);let s=this._editor.getSelection(),o=this._decorations.getCurrentMatchesPosition(s);if(0===o&&n.length>0){let e=(0,u.J_)(n.map(e=>e.range),e=>p.e.compareRangesUsingStarts(e,s)>=0);o=e>0?e-1+1:o}this._state.changeMatchInfo(o,this._decorations.getCount(),void 0),e&&this._editor.getOption(41).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){let e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1}_setCurrentFindMatch(e){let t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)}_prevSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:i,column:n}=e,s=this._editor.getModel();return t||1===n?(1===i?i=s.getLineCount():i--,n=s.getLineMaxColumn(i)):n--,new g.L(i,n)}_moveToPrevMatch(e,t=!1){if(!this._state.canNavigateBack()){let t=this._decorations.matchAfterPosition(e);t&&this._setCurrentFindMatch(t);return}if(19999>this._decorations.getCount()){let t=this._decorations.matchBeforePosition(e);t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._prevSearchPosition(e),t=this._decorations.matchBeforePosition(e)),t&&this._setCurrentFindMatch(t);return}if(this._cannotFind())return;let i=this._decorations.getFindScope(),n=H._getSearchRange(this._editor.getModel(),i);n.getEndPosition().isBefore(e)&&(e=n.getEndPosition()),e.isBefore(n.getStartPosition())&&(e=n.getEndPosition());let{lineNumber:s,column:o}=e,r=this._editor.getModel(),l=new g.L(s,o),a=r.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,!1);if(a&&a.range.isEmpty()&&a.range.getStartPosition().equals(l)&&(l=this._prevSearchPosition(l),a=r.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,!1)),a){if(!t&&!n.containsRange(a.range))return this._moveToPrevMatch(a.range.getStartPosition(),!0);this._setCurrentFindMatch(a.range)}}moveToPrevMatch(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())}_nextSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:i,column:n}=e,s=this._editor.getModel();return t||n===s.getLineMaxColumn(i)?(i===s.getLineCount()?i=1:i++,n=1):n++,new g.L(i,n)}_moveToNextMatch(e){if(!this._state.canNavigateForward()){let t=this._decorations.matchBeforePosition(e);t&&this._setCurrentFindMatch(t);return}if(19999>this._decorations.getCount()){let t=this._decorations.matchAfterPosition(e);t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),t&&this._setCurrentFindMatch(t);return}let t=this._getNextMatch(e,!1,!0);t&&this._setCurrentFindMatch(t.range)}_getNextMatch(e,t,i,n=!1){if(this._cannotFind())return null;let s=this._decorations.getFindScope(),o=H._getSearchRange(this._editor.getModel(),s);o.getEndPosition().isBefore(e)&&(e=o.getStartPosition()),e.isBefore(o.getStartPosition())&&(e=o.getStartPosition());let{lineNumber:r,column:l}=e,a=this._editor.getModel(),d=new g.L(r,l),h=a.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t);return(i&&h&&h.range.isEmpty()&&h.range.getStartPosition().equals(d)&&(d=this._nextSearchPosition(d),h=a.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t)),h)?n||o.containsRange(h.range)?h:this._getNextMatch(h.range.getEndPosition(),t,i,!0):null}moveToNextMatch(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())}_moveToMatch(e){let t=this._decorations.getDecorationRangeAt(e);t&&this._setCurrentFindMatch(t)}moveToMatch(e){this._moveToMatch(e)}_getReplacePattern(){return this._state.isRegex?function(e){if(!e||0===e.length)return new x(null);let t=[],i=new E(e);for(let n=0,s=e.length;n=s)break;let o=e.charCodeAt(n);switch(o){case 92:i.emitUnchanged(n-1),i.emitStatic("\\",n+1);break;case 110:i.emitUnchanged(n-1),i.emitStatic("\n",n+1);break;case 116:i.emitUnchanged(n-1),i.emitStatic(" ",n+1);break;case 117:case 85:case 108:case 76:i.emitUnchanged(n-1),i.emitStatic("",n+1),t.push(String.fromCharCode(o))}continue}if(36===o){if(++n>=s)break;let o=e.charCodeAt(n);if(36===o){i.emitUnchanged(n-1),i.emitStatic("$",n+1);continue}if(48===o||38===o){i.emitUnchanged(n-1),i.emitMatchIndex(0,n+1,t),t.length=0;continue}if(49<=o&&o<=57){let r=o-48;if(n+1H._getSearchRange(this._editor.getModel(),e));return this._editor.getModel().findMatches(this._state.searchString,n,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t,i)}replaceAll(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes();null===e&&this._state.matchesCount>=19999?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}_largeReplaceAll(){let e;let t=new f.bc(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null),i=t.parseSearchRequest();if(!i)return;let n=i.regex;if(!n.multiline){let e="mu";n.ignoreCase&&(e+="i"),n.global&&(e+="g"),n=new RegExp(n.source,e)}let s=this._editor.getModel(),o=s.getValue(1),r=s.getFullModelRange(),l=this._getReplacePattern(),a=this._state.preserveCase;e=l.hasReplacementPatterns||a?o.replace(n,function(){return l.buildReplaceString(arguments,a)}):o.replace(n,l.buildReplaceString(null,a));let d=new c.hP(r,e,this._editor.getSelection());this._executeEditorCommand("replaceAll",d)}_regularReplaceAll(e){let t=this._getReplacePattern(),i=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),n=[];for(let e=0,s=i.length;ee.range),n);this._executeEditorCommand("replaceAll",s)}selectAllMatches(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes(),t=this._findMatches(e,!1,1073741824),i=t.map(e=>new m.Y(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)),n=this._editor.getSelection();for(let e=0,t=i.length;ethis._hide(),2e3)),this._isVisible=!1,this._editor=e,this._state=t,this._keybindingService=i,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.style.zIndex="12",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");let n={inputActiveOptionBorder:(0,v.n_1)(v.PRb),inputActiveOptionForeground:(0,v.n_1)(v.Pvw),inputActiveOptionBackground:(0,v.n_1)(v.XEs)},o=this._register((0,U.p0)());this.caseSensitive=this._register(new z.rk({appendTitle:this._keybindingLabelFor(W.ToggleCaseSensitiveCommand),isChecked:this._state.matchCase,hoverDelegate:o,...n})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new z.Qx({appendTitle:this._keybindingLabelFor(W.ToggleWholeWordCommand),isChecked:this._state.wholeWord,hoverDelegate:o,...n})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new z.eH({appendTitle:this._keybindingLabelFor(W.ToggleRegexCommand),isChecked:this._state.isRegex,hoverDelegate:o,...n})),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(e=>{let t=!1;e.isRegex&&(this.regex.checked=this._state.isRegex,t=!0),e.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,t=!0),e.matchCase&&(this.caseSensitive.checked=this._state.matchCase,t=!0),!this._state.isRevealed&&t&&this._revealTemporarily()})),this._register(V.nm(this._domNode,V.tw.MOUSE_LEAVE,e=>this._onMouseLeave())),this._register(V.nm(this._domNode,"mouseover",e=>this._onMouseOver()))}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return $.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseLeave(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}}$.ID="editor.contrib.findOptionsWidget";var q=i(79915);function j(e,t){return 1===e||2!==e&&t}class G extends o.JT{get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return j(this._isRegexOverride,this._isRegex)}get wholeWord(){return j(this._wholeWordOverride,this._wholeWord)}get matchCase(){return j(this._matchCaseOverride,this._matchCase)}get preserveCase(){return j(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}constructor(){super(),this._onFindReplaceStateChange=this._register(new q.Q5),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0,this._isSearching=!1,this._filters=null}changeMatchInfo(e,t,i){let n={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1},s=!1;0===t&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,n.matchesPosition=!0,s=!0),this._matchesCount!==t&&(this._matchesCount=t,n.matchesCount=!0,s=!0),void 0===i||p.e.equalsRange(this._currentMatch,i)||(this._currentMatch=i,n.currentMatch=!0,s=!0),s&&this._onFindReplaceStateChange.fire(n)}change(e,t,i=!0){var n;let s={moveCursor:t,updateHistory:i,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1},o=!1,r=this.isRegex,l=this.wholeWord,a=this.matchCase,d=this.preserveCase;void 0!==e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,s.searchString=!0,o=!0),void 0!==e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,s.replaceString=!0,o=!0),void 0!==e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,s.isRevealed=!0,o=!0),void 0!==e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,s.isReplaceRevealed=!0,o=!0),void 0!==e.isRegex&&(this._isRegex=e.isRegex),void 0!==e.wholeWord&&(this._wholeWord=e.wholeWord),void 0!==e.matchCase&&(this._matchCase=e.matchCase),void 0!==e.preserveCase&&(this._preserveCase=e.preserveCase),void 0===e.searchScope||(null===(n=e.searchScope)||void 0===n?void 0:n.every(e=>{var t;return null===(t=this._searchScope)||void 0===t?void 0:t.some(t=>!p.e.equalsRange(t,e))}))||(this._searchScope=e.searchScope,s.searchScope=!0,o=!0),void 0!==e.loop&&this._loop!==e.loop&&(this._loop=e.loop,s.loop=!0,o=!0),void 0!==e.isSearching&&this._isSearching!==e.isSearching&&(this._isSearching=e.isSearching,s.isSearching=!0,o=!0),void 0!==e.filters&&(this._filters?this._filters.update(e.filters):this._filters=e.filters,s.filters=!0,o=!0),this._isRegexOverride=void 0!==e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride=void 0!==e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride=void 0!==e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride=void 0!==e.preserveCaseOverride?e.preserveCaseOverride:0,r!==this.isRegex&&(o=!0,s.isRegex=!0),l!==this.wholeWord&&(o=!0,s.wholeWord=!0),a!==this.matchCase&&(o=!0,s.matchCase=!0),d!==this.preserveCase&&(o=!0,s.preserveCase=!0),o&&this._onFindReplaceStateChange.fire(s)}canNavigateBack(){return this.canNavigateInLoop()||1!==this.matchesPosition}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition=19999}}var Q=i(16506),Z=i(74571),Y=i(56274),J=i(47039),X=i(32378),ee=i(58022);i(22817);var et=i(82801),ei=i(404);function en(e){var t,i;return(null===(t=e.lookupKeybinding("history.showPrevious"))||void 0===t?void 0:t.getElectronAccelerator())==="Up"&&(null===(i=e.lookupKeybinding("history.showNext"))||void 0===i?void 0:i.getElectronAccelerator())==="Down"}var es=i(79939),eo=i(29527),er=i(42042),el=i(24162),ea=i(72485);let ed=(0,es.q5)("find-collapsed",J.l.chevronRight,et.NC("findCollapsedIcon","Icon to indicate that the editor find widget is collapsed.")),eh=(0,es.q5)("find-expanded",J.l.chevronDown,et.NC("findExpandedIcon","Icon to indicate that the editor find widget is expanded.")),eu=(0,es.q5)("find-selection",J.l.selection,et.NC("findSelectionIcon","Icon for 'Find in Selection' in the editor find widget.")),ec=(0,es.q5)("find-replace",J.l.replace,et.NC("findReplaceIcon","Icon for 'Replace' in the editor find widget.")),eg=(0,es.q5)("find-replace-all",J.l.replaceAll,et.NC("findReplaceAllIcon","Icon for 'Replace All' in the editor find widget.")),ep=(0,es.q5)("find-previous-match",J.l.arrowUp,et.NC("findPreviousMatchIcon","Icon for 'Find Previous' in the editor find widget.")),em=(0,es.q5)("find-next-match",J.l.arrowDown,et.NC("findNextMatchIcon","Icon for 'Find Next' in the editor find widget.")),ef=et.NC("label.findDialog","Find / Replace"),e_=et.NC("label.find","Find"),ev=et.NC("placeholder.find","Find"),eb=et.NC("label.previousMatchButton","Previous Match"),eC=et.NC("label.nextMatchButton","Next Match"),ew=et.NC("label.toggleSelectionFind","Find in Selection"),ey=et.NC("label.closeButton","Close"),eS=et.NC("label.replace","Replace"),eL=et.NC("placeholder.replace","Replace"),ek=et.NC("label.replaceButton","Replace"),eD=et.NC("label.replaceAllButton","Replace All"),ex=et.NC("label.toggleReplaceButton","Toggle Replace"),eN=et.NC("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",19999),eE=et.NC("label.matchesLocation","{0} of {1}"),eI=et.NC("label.noResults","No results"),eT=69,eM="ctrlEnterReplaceAll.windows.donotask",eR=ee.dz?256:2048;class eA{constructor(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}function eP(e,t,i){let n=!!t.match(/\n/);if(i&&n&&i.selectionStart>0){e.stopPropagation();return}}function eO(e,t,i){let n=!!t.match(/\n/);if(i&&n&&i.selectionEndthis._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(e=>{if(e.hasChanged(91)&&(this._codeEditor.getOption(91)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),e.hasChanged(145)&&this._tryUpdateWidgetWidth(),e.hasChanged(2)&&this.updateAccessibilitySupport(),e.hasChanged(41)){let e=this._codeEditor.getOption(41).loop;this._state.change({loop:e},!1);let t=this._codeEditor.getOption(41).addExtraSpaceOnTop;t&&!this._viewZone&&(this._viewZone=new eA(0),this._showViewZone()),!t&&this._viewZone&&this._removeViewZone()}})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(async()=>{if(this._isVisible){let e=await this._controller.getGlobalBufferTerm();e&&e!==this._state.searchString&&(this._state.change({searchString:e},!1),this._findInput.select())}})),this._findInputFocused=M.bindTo(l),this._findFocusTracker=this._register(V.go(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=R.bindTo(l),this._replaceFocusTracker=this._register(V.go(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(41).addExtraSpaceOnTop&&(this._viewZone=new eA(0)),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(e=>{if(e.scrollTopChanged){this._layoutViewZone();return}setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return eF.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(91)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=V.w(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.preserveCase&&this._replaceInput.setPreserveCase(this._state.preserveCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){let e=this._state.searchString.length>0&&0===this._state.matchesCount;this._domNode.classList.toggle("no-results",e),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory(),e.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this)).then(void 0,X.dL)}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){let e;if(this._matchesCount.style.minWidth=eT+"px",this._state.matchesCount>=19999?this._matchesCount.title=eN:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){let t=String(this._state.matchesCount);this._state.matchesCount>=19999&&(t+="+");let i=String(this._state.matchesPosition);"0"===i&&(i="?"),e=r.WU(eE,i,t)}else e=eI;this._matchesCount.appendChild(document.createTextNode(e)),(0,Q.Z9)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString)),eT=Math.max(eT,this._matchesCount.clientWidth)}_getAriaLabel(e,t,i){if(e===eI)return""===i?et.NC("ariaSearchNoResultEmpty","{0} found",e):et.NC("ariaSearchNoResult","{0} found for '{1}'",e,i);if(t){let n=et.NC("ariaSearchNoResultWithLineNum","{0} found for '{1}', at {2}",e,i,t.startLineNumber+":"+t.startColumn),s=this._codeEditor.getModel();if(s&&t.startLineNumber<=s.getLineCount()&&t.startLineNumber>=1){let e=s.getLineContent(t.startLineNumber);return`${e}, ${n}`}return n}return et.NC("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for '{1}'",e,i)}_updateToggleSelectionFindButton(){let e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),i=this._toggleSelectionFind.checked;this._isVisible&&(i||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);let e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._domNode.classList.toggle("replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);let i=!this._codeEditor.getOption(91);this._toggleReplaceBtn.setEnabled(this._isVisible&&i)}_reveal(){if(this._revealTimeouts.forEach(e=>{clearTimeout(e)}),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;let e=this._codeEditor.getSelection();switch(this._codeEditor.getOption(41).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":{let t=!!e&&e.startLineNumber!==e.endLineNumber;this._toggleSelectionFind.checked=t}}this._tryUpdateWidgetWidth(),this._updateButtons(),this._revealTimeouts.push(setTimeout(()=>{this._domNode.classList.add("visible"),this._domNode.setAttribute("aria-hidden","false")},0)),this._revealTimeouts.push(setTimeout(()=>{this._findInput.validate()},200)),this._codeEditor.layoutOverlayWidget(this);let t=!0;if(this._codeEditor.getOption(41).seedSearchStringFromSelection&&e){let i=this._codeEditor.getDomNode();if(i){let n=V.i(i),s=this._codeEditor.getScrolledVisiblePosition(e.getStartPosition()),o=n.left+(s?s.left:0),r=s?s.top:0;if(this._viewZone&&re.startLineNumber&&(t=!1);let i=V.xQ(this._domNode).left;o>i&&(t=!1);let s=this._codeEditor.getScrolledVisiblePosition(e.getEndPosition()),r=n.left+(s?s.left:0);r>i&&(t=!1)}}}this._showViewZone(t)}}_hide(e){this._revealTimeouts.forEach(e=>{clearTimeout(e)}),this._revealTimeouts=[],this._isVisible&&(this._isVisible=!1,this._updateButtons(),this._domNode.classList.remove("visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(e){let t=this._codeEditor.getOption(41).addExtraSpaceOnTop;if(!t){this._removeViewZone();return}if(!this._isVisible)return;let i=this._viewZone;void 0===this._viewZoneId&&i&&this._codeEditor.changeViewZones(t=>{i.heightInPx=this._getHeight(),this._viewZoneId=t.addZone(i),this._codeEditor.setScrollTop(e||this._codeEditor.getScrollTop()+i.heightInPx)})}_showViewZone(e=!0){if(!this._isVisible)return;let t=this._codeEditor.getOption(41).addExtraSpaceOnTop;if(!t)return;void 0===this._viewZone&&(this._viewZone=new eA(0));let i=this._viewZone;this._codeEditor.changeViewZones(t=>{if(void 0!==this._viewZoneId){let n=this._getHeight();if(n===i.heightInPx)return;let s=n-i.heightInPx;i.heightInPx=n,t.layoutZone(this._viewZoneId),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+s);return}{let n=this._getHeight();if((n-=this._codeEditor.getOption(84).top)<=0)return;i.heightInPx=n,this._viewZoneId=t.addZone(i),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+n)}})}_removeViewZone(){this._codeEditor.changeViewZones(e=>{void 0!==this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_tryUpdateWidgetWidth(){if(!this._isVisible||!this._domNode.isConnected)return;let e=this._codeEditor.getLayoutInfo(),t=e.contentWidth;if(t<=0){this._domNode.classList.add("hiddenEditor");return}this._domNode.classList.contains("hiddenEditor")&&this._domNode.classList.remove("hiddenEditor");let i=e.width,n=e.minimap.minimapWidth,s=!1,o=!1,r=!1;if(this._resized){let e=V.w(this._domNode);if(e>419){this._domNode.style.maxWidth=`${i-28-n-15}px`,this._replaceInput.width=V.w(this._findInput.domNode);return}}if(447+n>=i&&(o=!0),447+n-eT>=i&&(r=!0),447+n-eT>=i+50&&(s=!0),this._domNode.classList.toggle("collapsed-find-widget",s),this._domNode.classList.toggle("narrow-find-widget",r),this._domNode.classList.toggle("reduced-find-widget",o),r||s||(this._domNode.style.maxWidth=`${i-28-n-15}px`),this._findInput.layout({collapsedFindWidget:s,narrowFindWidget:r,reducedFindWidget:o}),this._resized){let e=this._findInput.inputBox.element.clientWidth;e>0&&(this._replaceInput.width=e)}else this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode))}_getHeight(){let e;return e=4+(this._findInput.inputBox.height+2),this._isReplaceVisible&&(e+=4+(this._replaceInput.inputBox.height+2)),e+=4}_tryUpdateHeight(){let e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=`${e}px`,!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){let e=this._codeEditor.getSelections();e.map(e=>{1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));let t=this._state.currentMatch;return e.startLineNumber===e.endLineNumber||p.e.equalsRange(e,t)?null:e}).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}_onFindInputMouseDown(e){e.middleButton&&e.stopPropagation()}_onFindInputKeyDown(e){if(e.equals(3|eR)){if(this._keybindingService.dispatchEvent(e,e.target)){e.preventDefault();return}this._findInput.inputBox.insertAtCursor("\n"),e.preventDefault();return}if(e.equals(2)){this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),e.preventDefault();return}if(e.equals(2066)){this._codeEditor.focus(),e.preventDefault();return}return e.equals(16)?eP(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?eO(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0}_onReplaceInputKeyDown(e){if(e.equals(3|eR)){if(this._keybindingService.dispatchEvent(e,e.target)){e.preventDefault();return}ee.ED&&ee.tY&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(et.NC("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(eM,!0,0,0)),this._replaceInput.inputBox.insertAtCursor("\n"),e.preventDefault();return}if(e.equals(2)){this._findInput.focusOnCaseSensitive(),e.preventDefault();return}if(e.equals(1026)){this._findInput.focus(),e.preventDefault();return}if(e.equals(2066)){this._codeEditor.focus(),e.preventDefault();return}return e.equals(16)?eP(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?eO(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0}getVerticalSashLeft(e){return 0}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new ei.Yb(null,this._contextViewProvider,{width:221,label:e_,placeholder:ev,appendCaseSensitiveLabel:this._keybindingLabelFor(W.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(W.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(W.ToggleRegexCommand),validation:e=>{if(0===e.length||!this._findInput.getRegex())return null;try{return RegExp(e,"gu"),null}catch(e){return{content:e.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showCommonFindToggles:!0,showHistoryHint:()=>en(this._keybindingService),inputBoxStyles:ea.Hc,toggleStyles:ea.pl},this._contextKeyService)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(e=>this._onFindInputKeyDown(e))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(e=>{e.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),e.preventDefault())})),this._register(this._findInput.onRegexKeyDown(e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),e.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange(e=>{this._tryUpdateHeight()&&this._showViewZone()})),ee.IJ&&this._register(this._findInput.onMouseDown(e=>this._onFindInputMouseDown(e))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount();let e=this._register((0,U.p0)());this._prevBtn=this._register(new eB({label:eb+this._keybindingLabelFor(W.PreviousMatchFindAction),icon:ep,hoverDelegate:e,onTrigger:()=>{(0,el.cW)(this._codeEditor.getAction(W.PreviousMatchFindAction)).run().then(void 0,X.dL)}},this._hoverService)),this._nextBtn=this._register(new eB({label:eC+this._keybindingLabelFor(W.NextMatchFindAction),icon:em,hoverDelegate:e,onTrigger:()=>{(0,el.cW)(this._codeEditor.getAction(W.NextMatchFindAction)).run().then(void 0,X.dL)}},this._hoverService));let t=document.createElement("div");t.className="find-part",t.appendChild(this._findInput.domNode);let i=document.createElement("div");i.className="find-actions",t.appendChild(i),i.appendChild(this._matchesCount),i.appendChild(this._prevBtn.domNode),i.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new Z.Z({icon:eu,title:ew+this._keybindingLabelFor(W.ToggleSearchScopeCommand),isChecked:!1,hoverDelegate:e,inputActiveOptionBackground:(0,v.n_1)(v.XEs),inputActiveOptionBorder:(0,v.n_1)(v.PRb),inputActiveOptionForeground:(0,v.n_1)(v.Pvw)})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){let e=this._codeEditor.getSelections();(e=e.map(e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty())?null:e).filter(e=>!!e)).length&&this._state.change({searchScope:e},!0)}}else this._state.change({searchScope:null},!0)})),i.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new eB({label:ey+this._keybindingLabelFor(W.CloseFindWidgetCommand),icon:es.s_,hoverDelegate:e,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),e.preventDefault())}},this._hoverService)),this._replaceInput=this._register(new ei.Nq(null,void 0,{label:eS,placeholder:eL,appendPreserveCaseLabel:this._keybindingLabelFor(W.TogglePreserveCaseCommand),history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showHistoryHint:()=>en(this._keybindingService),inputBoxStyles:ea.Hc,toggleStyles:ea.pl},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(e=>this._onReplaceInputKeyDown(e))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(e=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(e=>{e.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),e.preventDefault())}));let n=this._register((0,U.p0)());this._replaceBtn=this._register(new eB({label:ek+this._keybindingLabelFor(W.ReplaceOneAction),icon:ec,hoverDelegate:n,onTrigger:()=>{this._controller.replace()},onKeyDown:e=>{e.equals(1026)&&(this._closeBtn.focus(),e.preventDefault())}},this._hoverService)),this._replaceAllBtn=this._register(new eB({label:eD+this._keybindingLabelFor(W.ReplaceAllAction),icon:eg,hoverDelegate:n,onTrigger:()=>{this._controller.replaceAll()}},this._hoverService));let s=document.createElement("div");s.className="replace-part",s.appendChild(this._replaceInput.domNode);let o=document.createElement("div");o.className="replace-actions",s.appendChild(o),o.appendChild(this._replaceBtn.domNode),o.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new eB({label:ex,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}},this._hoverService)),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.ariaLabel=ef,this._domNode.role="dialog",this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(t),this._domNode.appendChild(this._closeBtn.domNode),this._domNode.appendChild(s),this._resizeSash=this._register(new Y.g(this._domNode,this,{orientation:0,size:2})),this._resized=!1;let r=419;this._register(this._resizeSash.onDidStart(()=>{r=V.w(this._domNode)})),this._register(this._resizeSash.onDidChange(e=>{this._resized=!0;let t=r+e.startX-e.currentX;if(t<419)return;let i=parseFloat(V.Dx(this._domNode).maxWidth)||0;t>i||(this._domNode.style.width=`${t}px`,this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())})),this._register(this._resizeSash.onDidReset(()=>{let e=V.w(this._domNode);if(e<419)return;let t=419;if(!this._resized||419===e){let e=this._codeEditor.getLayoutInfo();t=e.width-28-e.minimap.minimapWidth-15,this._resized=!0}this._domNode.style.width=`${t}px`,this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode)),this._findInput.inputBox.layout()}))}updateAccessibilitySupport(){let e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)}}eF.ID="editor.contrib.findWidget";class eB extends K.${constructor(e,t){var i;super(),this._opts=e;let n="button";this._opts.className&&(n=n+" "+this._opts.className),this._opts.icon&&(n=n+" "+eo.k.asClassName(this._opts.icon)),this._domNode=document.createElement("div"),this._domNode.tabIndex=0,this._domNode.className=n,this._domNode.setAttribute("role","button"),this._domNode.setAttribute("aria-label",this._opts.label),this._register(t.setupUpdatableHover(null!==(i=e.hoverDelegate)&&void 0!==i?i:(0,U.tM)("element"),this._domNode,this._opts.label)),this.onclick(this._domNode,e=>{this._opts.onTrigger(),e.preventDefault()}),this.onkeydown(this._domNode,e=>{var t,i;if(e.equals(10)||e.equals(3)){this._opts.onTrigger(),e.preventDefault();return}null===(i=(t=this._opts).onKeyDown)||void 0===i||i.call(t,e)})}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(e){this._domNode.classList.toggle("disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1}setExpanded(e){this._domNode.setAttribute("aria-expanded",String(!!e)),e?(this._domNode.classList.remove(...eo.k.asClassNameArray(ed)),this._domNode.classList.add(...eo.k.asClassNameArray(eh))):(this._domNode.classList.remove(...eo.k.asClassNameArray(eh)),this._domNode.classList.add(...eo.k.asClassNameArray(ed)))}}(0,b.Ic)((e,t)=>{let i=e.getColor(v.EiJ);i&&t.addRule(`.monaco-editor .findMatch { border: 1px ${(0,er.c3)(e.type)?"dotted":"solid"} ${i}; box-sizing: border-box; }`);let n=e.getColor(v.gkn);n&&t.addRule(`.monaco-editor .findScope { border: 1px ${(0,er.c3)(e.type)?"dashed":"solid"} ${n}; }`);let s=e.getColor(v.lRK);s&&t.addRule(`.monaco-editor .find-widget { border: 1px solid ${s}; }`);let o=e.getColor(v.zKA);o&&t.addRule(`.monaco-editor .findMatchInline { color: ${o}; }`);let r=e.getColor(v.OIo);r&&t.addRule(`.monaco-editor .currentFindMatchInline { color: ${r}; }`)});var eW=i(30467),eH=i(59203),eV=i(10727),ez=i(46417),eK=i(16575),eU=i(33353),e$=i(63179),eq=i(96748),ej=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},eG=function(e,t){return function(i,n){t(i,n,e)}};function eQ(e,t="single",i=!1){if(!e.hasModel())return null;let n=e.getSelection();if("single"===t&&n.startLineNumber===n.endLineNumber||"multiple"===t){if(n.isEmpty()){let t=e.getConfiguredWordAtPosition(n.getStartPosition());if(t&&!1===i)return t.word}else if(524288>e.getModel().getValueLengthInRange(n))return e.getModel().getValueInRange(n)}return null}let eZ=n=class extends o.JT{get editor(){return this._editor}static get(e){return e.getContribution(n.ID)}constructor(e,t,i,n,o,r){super(),this._editor=e,this._findWidgetVisible=T.bindTo(t),this._contextKeyService=t,this._storageService=i,this._clipboardService=n,this._notificationService=o,this._hoverService=r,this._updateHistoryDelayer=new s.vp(500),this._state=this._register(new G),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{let e=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(41).loop})}))}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,1),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,1),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,1),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,1)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!M.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){let e=this._editor.getSelections();(e=e.map(e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty())?null:e).filter(e=>!!e)).length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=r.ec(e)),this._state.change({searchString:e},!1)}highlightFindOptions(e=!1){}async _start(e,t){if(this.disposeModel(),!this._editor.hasModel())return;let i={...t,isRevealed:!0};if("single"===e.seedSearchStringFromSelection){let t=eQ(this._editor,e.seedSearchStringFromSelection,e.seedSearchStringFromNonEmptySelection);t&&(this._state.isRegex?i.searchString=r.ec(t):i.searchString=t)}else if("multiple"===e.seedSearchStringFromSelection&&!e.updateSearchScope){let t=eQ(this._editor,e.seedSearchStringFromSelection);t&&(i.searchString=t)}if(!i.searchString&&e.seedSearchStringFromGlobalClipboard){let e=await this.getGlobalBufferTerm();if(!this._editor.hasModel())return;e&&(i.searchString=e)}if(e.forceRevealReplace||i.isReplaceRevealed?i.isReplaceRevealed=!0:this._findWidgetVisible.get()||(i.isReplaceRevealed=!1),e.updateSearchScope){let e=this._editor.getSelections();e.some(e=>!e.isEmpty())&&(i.searchScope=e)}i.loop=e.loop,this._state.change(i,!1),this._model||(this._model=new H(this._editor,this._state))}start(e,t){return this._start(e,t)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}goToMatch(e){return!!this._model&&(this._model.moveToMatch(e),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){var e;return!!this._model&&((null===(e=this._editor.getModel())||void 0===e?void 0:e.isTooLargeForHeapOperation())?(this._notificationService.warn(et.NC("too.large.for.replaceall","The file is too large to perform a replace all operation.")),!1):(this._model.replaceAll(),!0))}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}async getGlobalBufferTerm(){return this._editor.getOption(41).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""}setGlobalBufferTerm(e){this._editor.getOption(41).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}};eZ.ID="editor.contrib.findController",eZ=n=ej([eG(1,I.i6),eG(2,e$.Uy),eG(3,eH.p),eG(4,eK.lT),eG(5,eq.Bs)],eZ);let eY=class extends eZ{constructor(e,t,i,n,s,o,r,l,a){super(e,i,r,l,o,a),this._contextViewService=t,this._keybindingService=n,this._themeService=s,this._widget=null,this._findOptionsWidget=null}async _start(e,t){this._widget||this._createFindWidget();let i=this._editor.getSelection(),n=!1;switch(this._editor.getOption(41).autoFindInSelection){case"always":n=!0;break;case"never":n=!1;break;case"multiline":{let e=!!i&&i.startLineNumber!==i.endLineNumber;n=e}}e.updateSearchScope=e.updateSearchScope||n,await super._start(e,t),this._widget&&(2===e.shouldFocus?this._widget.focusReplaceInput():1===e.shouldFocus&&this._widget.focusFindInput())}highlightFindOptions(e=!1){this._widget||this._createFindWidget(),this._state.isRevealed&&!e?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new eF(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService,this._hoverService)),this._findOptionsWidget=this._register(new $(this._editor,this._state,this._keybindingService))}};eY=ej([eG(1,eV.u),eG(2,I.i6),eG(3,ez.d),eG(4,b.XE),eG(5,eK.lT),eG(6,e$.Uy),eG(7,eH.p),eG(8,eq.Bs)],eY);let eJ=(0,l.rn)(new l.jY({id:W.StartFindAction,label:et.NC("startFindAction","Find"),alias:"Find",precondition:I.Ao.or(d.u.focus,I.Ao.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:eW.eH.MenubarEditMenu,group:"3_find",title:et.NC({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}}));eJ.addImplementation(0,(e,t,i)=>{let n=eZ.get(t);return!!n&&n.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(41).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop})});let eX={description:"Open a new In-Editor Find Widget.",args:[{name:"Open a new In-Editor Find Widget args",schema:{properties:{searchString:{type:"string"},replaceString:{type:"string"},isRegex:{type:"boolean"},matchWholeWord:{type:"boolean"},isCaseSensitive:{type:"boolean"},preserveCase:{type:"boolean"},findInSelection:{type:"boolean"}}}}]};class e0 extends l.R6{constructor(){super({id:W.StartFindWithArgs,label:et.NC("startFindWithArgsAction","Find With Arguments"),alias:"Find With Arguments",precondition:void 0,kbOpts:{kbExpr:null,primary:0,weight:100},metadata:eX})}async run(e,t,i){let n=eZ.get(t);if(n){let e=i?{searchString:i.searchString,replaceString:i.replaceString,isReplaceRevealed:void 0!==i.replaceString,isRegex:i.isRegex,wholeWord:i.matchWholeWord,matchCase:i.isCaseSensitive,preserveCase:i.preserveCase}:{};await n.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===n.getState().searchString.length&&"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:1,shouldAnimate:!0,updateSearchScope:(null==i?void 0:i.findInSelection)||!1,loop:t.getOption(41).loop},e),n.setGlobalBufferTerm(n.getState().searchString)}}}class e1 extends l.R6{constructor(){super({id:W.StartFindWithSelection,label:et.NC("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}async run(e,t){let i=eZ.get(t);i&&(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),i.setGlobalBufferTerm(i.getState().searchString))}}class e2 extends l.R6{async run(e,t){let i=eZ.get(t);i&&!this._run(i)&&(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===i.getState().searchString.length&&"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),this._run(i))}}class e4 extends l.R6{constructor(){super({id:W.GoToMatchFindAction,label:et.NC("findMatchAction.goToMatch","Go to Match..."),alias:"Go to Match...",precondition:T}),this._highlightDecorations=[]}run(e,t,i){let n=eZ.get(t);if(!n)return;let s=n.getState().matchesCount;if(s<1){let t=e.get(eK.lT);t.notify({severity:eK.zb.Warning,message:et.NC("findMatchAction.noResults","No matches. Try searching for something else.")});return}let o=e.get(eU.eJ),r=o.createInputBox();r.placeholder=et.NC("findMatchAction.inputPlaceHolder","Type a number to go to a specific match (between 1 and {0})",s);let l=e=>{let t=parseInt(e);if(isNaN(t))return;let i=n.getState().matchesCount;return t>0&&t<=i?t-1:t<0&&t>=-i?i+t:void 0},a=e=>{let i=l(e);if("number"==typeof i){r.validationMessage=void 0,n.goToMatch(i);let e=n.getState().currentMatch;e&&this.addDecorations(t,e)}else r.validationMessage=et.NC("findMatchAction.inputValidationMessage","Please type a number between 1 and {0}",n.getState().matchesCount),this.clearDecorations(t)};r.onDidChangeValue(e=>{a(e)}),r.onDidAccept(()=>{let e=l(r.value);"number"==typeof e?(n.goToMatch(e),r.hide()):r.validationMessage=et.NC("findMatchAction.inputValidationMessage","Please type a number between 1 and {0}",n.getState().matchesCount)}),r.onDidHide(()=>{this.clearDecorations(t),r.dispose()}),r.show()}clearDecorations(e){e.changeDecorations(e=>{this._highlightDecorations=e.deltaDecorations(this._highlightDecorations,[])})}addDecorations(e,t){e.changeDecorations(e=>{this._highlightDecorations=e.deltaDecorations(this._highlightDecorations,[{range:t,options:{description:"find-match-quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{description:"find-match-quick-access-range-highlight-overview",overviewRuler:{color:(0,b.EN)(a.m9),position:h.sh.Full}}}])})}}class e5 extends l.R6{async run(e,t){let i=eZ.get(t);if(!i)return;let n=eQ(t,"single",!1);n&&i.setSearchString(n),this._run(i)||(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),this._run(i))}}let e3=(0,l.rn)(new l.jY({id:W.StartFindReplaceAction,label:et.NC("startReplace","Replace"),alias:"Replace",precondition:I.Ao.or(d.u.focus,I.Ao.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:eW.eH.MenubarEditMenu,group:"3_find",title:et.NC({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}}));e3.addImplementation(0,(e,t,i)=>{if(!t.hasModel()||t.getOption(91))return!1;let n=eZ.get(t);if(!n)return!1;let s=t.getSelection(),o=n.isFindInputFocused(),r=!s.isEmpty()&&s.startLineNumber===s.endLineNumber&&"never"!==t.getOption(41).seedSearchStringFromSelection&&!o;return n.start({forceRevealReplace:!0,seedSearchStringFromSelection:r?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:"never"!==t.getOption(41).seedSearchStringFromSelection,shouldFocus:o||r?2:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop})}),(0,l._K)(eZ.ID,eY,0),(0,l.Qr)(e0),(0,l.Qr)(e1),(0,l.Qr)(class extends e2{constructor(){super({id:W.NextMatchFindAction,label:et.NC("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:[{kbExpr:d.u.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:I.Ao.and(d.u.focus,M),primary:3,weight:100}]})}_run(e){let t=e.moveToNextMatch();return!!t&&(e.editor.pushUndoStop(),!0)}}),(0,l.Qr)(class extends e2{constructor(){super({id:W.PreviousMatchFindAction,label:et.NC("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:[{kbExpr:d.u.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:I.Ao.and(d.u.focus,M),primary:1027,weight:100}]})}_run(e){return e.moveToPrevMatch()}}),(0,l.Qr)(e4),(0,l.Qr)(class extends e5{constructor(){super({id:W.NextSelectionMatchFindAction,label:et.NC("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:d.u.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}),(0,l.Qr)(class extends e5{constructor(){super({id:W.PreviousSelectionMatchFindAction,label:et.NC("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:d.u.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}});let e7=l._l.bindToContribution(eZ.get);(0,l.fK)(new e7({id:W.CloseFindWidgetCommand,precondition:T,handler:e=>e.closeFindWidget(),kbOpts:{weight:105,kbExpr:I.Ao.and(d.u.focus,I.Ao.not("isComposing")),primary:9,secondary:[1033]}})),(0,l.fK)(new e7({id:W.ToggleCaseSensitiveCommand,precondition:void 0,handler:e=>e.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:A.primary,mac:A.mac,win:A.win,linux:A.linux}})),(0,l.fK)(new e7({id:W.ToggleWholeWordCommand,precondition:void 0,handler:e=>e.toggleWholeWords(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:P.primary,mac:P.mac,win:P.win,linux:P.linux}})),(0,l.fK)(new e7({id:W.ToggleRegexCommand,precondition:void 0,handler:e=>e.toggleRegex(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:O.primary,mac:O.mac,win:O.win,linux:O.linux}})),(0,l.fK)(new e7({id:W.ToggleSearchScopeCommand,precondition:void 0,handler:e=>e.toggleSearchScope(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:F.primary,mac:F.mac,win:F.win,linux:F.linux}})),(0,l.fK)(new e7({id:W.TogglePreserveCaseCommand,precondition:void 0,handler:e=>e.togglePreserveCase(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:B.primary,mac:B.mac,win:B.win,linux:B.linux}})),(0,l.fK)(new e7({id:W.ReplaceOneAction,precondition:T,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:3094}})),(0,l.fK)(new e7({id:W.ReplaceOneAction,precondition:T,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:I.Ao.and(d.u.focus,R),primary:3}})),(0,l.fK)(new e7({id:W.ReplaceAllAction,precondition:T,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:2563}})),(0,l.fK)(new e7({id:W.ReplaceAllAction,precondition:T,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:I.Ao.and(d.u.focus,R),primary:void 0,mac:{primary:2051}}})),(0,l.fK)(new e7({id:W.SelectAllMatchesAction,precondition:T,handler:e=>e.selectAllMatches(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:515}}))},40627:function(e,t,i){"use strict";i.d(t,{f:function(){return W},n:function(){return H}});var n,s=i(44532),o=i(9424),r=i(32378),l=i(57231),a=i(70784),d=i(95612),h=i(24162);i(13547);var u=i(24846),c=i(82508),g=i(73440),p=i(1863),m=i(32712),f=i(96892),_=i(70365),v=i(79915),b=i(70209),C=i(50453);class w{get onDidChange(){return this._updateEventEmitter.event}get hiddenRanges(){return this._hiddenRanges}constructor(e){this._updateEventEmitter=new v.Q5,this._hasLineChanges=!1,this._foldingModel=e,this._foldingModelListener=e.onDidChange(e=>this.updateHiddenRanges()),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}notifyChangeModelContent(e){this._hiddenRanges.length&&!this._hasLineChanges&&(this._hasLineChanges=e.changes.some(e=>e.range.endLineNumber!==e.range.startLineNumber||0!==(0,C.Q)(e.text)[0]))}updateHiddenRanges(){let e=!1,t=[],i=0,n=0,s=Number.MAX_VALUE,o=-1,r=this._foldingModel.regions;for(;i0}isHidden(e){return null!==y(this._hiddenRanges,e)}adjustSelections(e){let t=!1,i=this._foldingModel.textModel,n=null,s=e=>{var t;return(n&&e>=(t=n).startLineNumber&&e<=t.endLineNumber||(n=y(this._hiddenRanges,e)),n)?n.startLineNumber-1:null};for(let n=0,o=e.length;n0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}function y(e,t){let i=(0,_.J_)(e,e=>t=0&&e[i].endLineNumber>=t?e[i]:null}var S=i(10527),L=i(82801),k=i(33336),D=i(97257),x=i(35687),N=i(25132),E=i(16575),I=i(86756),T=i(44129),M=i(64106),R=i(81903),A=i(5482),P=i(98334),O=i(78426),F=function(e,t){return function(i,n){t(i,n,e)}};let B=new k.uy("foldingEnabled",!1),W=n=class extends a.JT{static get(e){return e.getContribution(n.ID)}static getFoldingRangeProviders(e,t){var i,s;let o=e.foldingRangeProvider.ordered(t);return null!==(s=null===(i=n._foldingRangeSelector)||void 0===i?void 0:i.call(n,o,t))&&void 0!==s?s:o}constructor(e,t,i,n,s,o){super(),this.contextKeyService=t,this.languageConfigurationService=i,this.languageFeaturesService=o,this.localToDispose=this._register(new a.SL),this.editor=e,this._foldingLimitReporter=new H(e);let r=this.editor.getOptions();this._isEnabled=r.get(43),this._useFoldingProviders="indentation"!==r.get(44),this._unfoldOnClickAfterEndOfLine=r.get(48),this._restoringViewState=!1,this._currentModelHasFoldedImports=!1,this._foldingImportsByDefault=r.get(46),this.updateDebounceInfo=s.for(o.foldingRangeProvider,"Folding",{min:200}),this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new D.fF(e),this.foldingDecorationProvider.showFoldingControls=r.get(110),this.foldingDecorationProvider.showFoldingHighlights=r.get(45),this.foldingEnabled=B.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._register(this.editor.onDidChangeModel(()=>this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(e=>{if(e.hasChanged(43)&&(this._isEnabled=this.editor.getOptions().get(43),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),e.hasChanged(47)&&this.onModelChanged(),e.hasChanged(110)||e.hasChanged(45)){let e=this.editor.getOptions();this.foldingDecorationProvider.showFoldingControls=e.get(110),this.foldingDecorationProvider.showFoldingHighlights=e.get(45),this.triggerFoldingModelChanged()}e.hasChanged(44)&&(this._useFoldingProviders="indentation"!==this.editor.getOptions().get(44),this.onFoldingStrategyChanged()),e.hasChanged(48)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(48)),e.hasChanged(46)&&(this._foldingImportsByDefault=this.editor.getOptions().get(46))})),this.onModelChanged()}saveViewState(){let e=this.editor.getModel();if(!e||!this._isEnabled||e.isTooLargeForTokenization())return{};if(this.foldingModel){let t=this.foldingModel.getMemento(),i=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:t,lineCount:e.getLineCount(),provider:i,foldedImports:this._currentModelHasFoldedImports}}}restoreViewState(e){let t=this.editor.getModel();if(!(!t||!this._isEnabled||t.isTooLargeForTokenization())&&this.hiddenRangeModel&&e&&(this._currentModelHasFoldedImports=!!e.foldedImports,e.collapsedRegions&&e.collapsedRegions.length>0&&this.foldingModel)){this._restoringViewState=!0;try{this.foldingModel.applyMemento(e.collapsedRegions)}finally{this._restoringViewState=!1}}}onModelChanged(){this.localToDispose.clear();let e=this.editor.getModel();!this._isEnabled||!e||e.isTooLargeForTokenization()||(this._currentModelHasFoldedImports=!1,this.foldingModel=new f.av(e,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new w(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(e=>this.onHiddenRangesChanges(e))),this.updateScheduler=new s.vp(this.updateDebounceInfo.get(e)),this.cursorChangedScheduler=new s.pY(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(this.languageFeaturesService.foldingRangeProvider.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(e=>this.onDidChangeModelContent(e))),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(e=>this.onEditorMouseDown(e))),this.localToDispose.add(this.editor.onMouseUp(e=>this.onEditorMouseUp(e))),this.localToDispose.add({dispose:()=>{var e,t;this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),null===(e=this.updateScheduler)||void 0===e||e.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,null===(t=this.rangeProvider)||void 0===t||t.dispose(),this.rangeProvider=null}}),this.triggerFoldingModelChanged())}onFoldingStrategyChanged(){var e;null===(e=this.rangeProvider)||void 0===e||e.dispose(),this.rangeProvider=null,this.triggerFoldingModelChanged()}getRangeProvider(e){if(this.rangeProvider)return this.rangeProvider;let t=new S.aI(e,this.languageConfigurationService,this._foldingLimitReporter);if(this.rangeProvider=t,this._useFoldingProviders&&this.foldingModel){let i=n.getFoldingRangeProviders(this.languageFeaturesService,e);i.length>0&&(this.rangeProvider=new N.e(e,i,()=>this.triggerFoldingModelChanged(),this._foldingLimitReporter,t))}return this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onDidChangeModelContent(e){var t;null===(t=this.hiddenRangeModel)||void 0===t||t.notifyChangeModelContent(e),this.triggerFoldingModelChanged()}triggerFoldingModelChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{let e=this.foldingModel;if(!e)return null;let t=new T.G,i=this.getRangeProvider(e.textModel),n=this.foldingRegionPromise=(0,s.PG)(e=>i.compute(e));return n.then(i=>{if(i&&n===this.foldingRegionPromise){let n;if(this._foldingImportsByDefault&&!this._currentModelHasFoldedImports){let e=i.setCollapsedAllOfType(p.AD.Imports.value,!0);e&&(n=u.Z.capture(this.editor),this._currentModelHasFoldedImports=e)}let s=this.editor.getSelections(),o=s?s.map(e=>e.startLineNumber):[];e.update(i,o),null==n||n.restore(this.editor);let r=this.updateDebounceInfo.update(e.textModel,t.elapsed());this.updateScheduler&&(this.updateScheduler.defaultDelay=r)}return e})}).then(void 0,e=>((0,r.dL)(e),null)))}onHiddenRangesChanges(e){if(this.hiddenRangeModel&&e.length&&!this._restoringViewState){let e=this.editor.getSelections();e&&this.hiddenRangeModel.adjustSelections(e)&&this.editor.setSelections(e)}this.editor.setHiddenAreas(e,this)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){let e=this.getFoldingModel();e&&e.then(e=>{if(e){let t=this.editor.getSelections();if(t&&t.length>0){let i=[];for(let n of t){let t=n.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden(t)&&i.push(...e.getAllRegionsAtLine(t,e=>e.isCollapsed&&t>e.startLineNumber))}i.length&&(e.toggleCollapseState(i),this.reveal(t[0].getPosition()))}}}).then(void 0,r.dL)}onEditorMouseDown(e){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!e.target||!e.target.range||!e.event.leftButton&&!e.event.middleButton)return;let t=e.target.range,i=!1;switch(e.target.type){case 4:{let t=e.target.detail,n=e.target.element.offsetLeft,s=t.offsetX-n;if(s<4)return;i=!0;break}case 7:if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()){let t=e.target.detail;if(!t.isAfterLines)break}return;case 6:if(this.hiddenRangeModel.hasRanges()){let e=this.editor.getModel();if(e&&t.startColumn===e.getLineMaxColumn(t.startLineNumber))break}return;default:return}this.mouseDownInfo={lineNumber:t.startLineNumber,iconClicked:i}}onEditorMouseUp(e){let t=this.foldingModel;if(!t||!this.mouseDownInfo||!e.target)return;let i=this.mouseDownInfo.lineNumber,n=this.mouseDownInfo.iconClicked,s=e.target.range;if(!s||s.startLineNumber!==i)return;if(n){if(4!==e.target.type)return}else{let e=this.editor.getModel();if(!e||s.startColumn!==e.getLineMaxColumn(i))return}let o=t.getRegionAtLine(i);if(o&&o.startLineNumber===i){let s=o.isCollapsed;if(n||s){let n=e.event.altKey,r=[];if(n){let e=t.getRegionsInside(null,e=>!e.containedBy(o)&&!o.containedBy(e));for(let t of e)t.isCollapsed&&r.push(t);0===r.length&&(r=e)}else{let i=e.event.middleButton||e.event.shiftKey;if(i)for(let e of t.getRegionsInside(o))e.isCollapsed===s&&r.push(e);(s||!i||0===r.length)&&r.push(o)}t.toggleCollapseState(r),this.reveal({lineNumber:i,column:1})}}}reveal(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)}};W.ID="editor.contrib.folding",W=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([F(1,k.i6),F(2,m.c_),F(3,E.lT),F(4,I.A),F(5,M.p)],W);class H{constructor(e){this.editor=e,this._onDidChange=new v.Q5,this._computed=0,this._limited=!1}get limit(){return this.editor.getOptions().get(47)}update(e,t){(e!==this._computed||t!==this._limited)&&(this._computed=e,this._limited=t,this._onDidChange.fire())}}class V extends c.R6{runEditorCommand(e,t,i){let n=e.get(m.c_),s=W.get(t);if(!s)return;let o=s.getFoldingModel();if(o)return this.reportTelemetry(e,t),o.then(e=>{if(e){this.invoke(s,e,t,i,n);let o=t.getSelection();o&&s.reveal(o.getStartPosition())}})}getSelectedLines(e){let t=e.getSelections();return t?t.map(e=>e.startLineNumber):[]}getLineNumbers(e,t){return e&&e.selectionLines?e.selectionLines.map(e=>e+1):this.getSelectedLines(t)}run(e,t){}}function z(e){return!!(h.o8(e)||h.Kn(e)&&(h.o8(e.levels)||h.hj(e.levels))&&(h.o8(e.direction)||h.HD(e.direction))&&(h.o8(e.selectionLines)||Array.isArray(e.selectionLines)&&e.selectionLines.every(h.hj)))}class K extends V{getFoldingLevel(){return parseInt(this.id.substr(K.ID_PREFIX.length))}invoke(e,t,i){(0,f.Ln)(t,this.getFoldingLevel(),!0,this.getSelectedLines(i))}}K.ID_PREFIX="editor.foldLevel",K.ID=e=>K.ID_PREFIX+e,(0,c._K)(W.ID,W,0),(0,c.Qr)(class extends V{constructor(){super({id:"editor.unfold",label:L.NC("unfoldAction.label","Unfold"),alias:"Unfold",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:3166,mac:{primary:2654},weight:100},metadata:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:`Property-value pairs that can be passed through this argument: + `,constraint:function(e){return!!o.Kn(e)&&!!(o.HD(e.to)&&(o.o8(e.select)||o.jn(e.select))&&(o.o8(e.by)||o.HD(e.by))&&(o.o8(e.value)||o.hj(e.value)))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["left","right","up","down","prevBlankLine","nextBlankLine","wrappedLineStart","wrappedLineEnd","wrappedLineColumnCenter","wrappedLineFirstNonWhitespaceCharacter","wrappedLineLastNonWhitespaceCharacter","viewPortTop","viewPortCenter","viewPortBottom","viewPortIfOutside"]},by:{type:"string",enum:["line","wrappedLine","character","halfLine"]},value:{type:"number",default:1},select:{type:"boolean",default:!1}}}}]},n.RawDirection={Left:"left",Right:"right",Up:"up",Down:"down",PrevBlankLine:"prevBlankLine",NextBlankLine:"nextBlankLine",WrappedLineStart:"wrappedLineStart",WrappedLineFirstNonWhitespaceCharacter:"wrappedLineFirstNonWhitespaceCharacter",WrappedLineColumnCenter:"wrappedLineColumnCenter",WrappedLineEnd:"wrappedLineEnd",WrappedLineLastNonWhitespaceCharacter:"wrappedLineLastNonWhitespaceCharacter",ViewPortTop:"viewPortTop",ViewPortCenter:"viewPortCenter",ViewPortBottom:"viewPortBottom",ViewPortIfOutside:"viewPortIfOutside"},n.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"},n.parse=function(e){let t;if(!e.to)return null;switch(e.to){case n.RawDirection.Left:t=0;break;case n.RawDirection.Right:t=1;break;case n.RawDirection.Up:t=2;break;case n.RawDirection.Down:t=3;break;case n.RawDirection.PrevBlankLine:t=4;break;case n.RawDirection.NextBlankLine:t=5;break;case n.RawDirection.WrappedLineStart:t=6;break;case n.RawDirection.WrappedLineFirstNonWhitespaceCharacter:t=7;break;case n.RawDirection.WrappedLineColumnCenter:t=8;break;case n.RawDirection.WrappedLineEnd:t=9;break;case n.RawDirection.WrappedLineLastNonWhitespaceCharacter:t=10;break;case n.RawDirection.ViewPortTop:t=11;break;case n.RawDirection.ViewPortBottom:t=13;break;case n.RawDirection.ViewPortCenter:t=12;break;case n.RawDirection.ViewPortIfOutside:t=14;break;default:return null}let i=0;switch(e.by){case n.RawUnit.Line:i=1;break;case n.RawUnit.WrappedLine:i=2;break;case n.RawUnit.Character:i=3;break;case n.RawUnit.HalfLine:i=4}return{direction:t,unit:i,select:!!e.select,value:e.value||1}}},81998:function(e,t,i){"use strict";i.d(t,{o:function(){return h}});var n=i(95612),s=i(21983),o=i(86570),r=i(70209),l=i(90036),a=i(2474);class d{constructor(e,t,i){this._cursorPositionBrand=void 0,this.lineNumber=e,this.column=t,this.leftoverVisibleColumns=i}}class h{static leftPosition(e,t){if(t.column>e.getLineMinColumn(t.lineNumber))return t.delta(void 0,-n.HO(e.getLineContent(t.lineNumber),t.column-1));if(!(t.lineNumber>1))return t;{let i=t.lineNumber-1;return new o.L(i,e.getLineMaxColumn(i))}}static leftPositionAtomicSoftTabs(e,t,i){if(t.column<=e.getLineIndentColumn(t.lineNumber)){let n=e.getLineMinColumn(t.lineNumber),s=e.getLineContent(t.lineNumber),r=l.l.atomicPosition(s,t.column-1,i,0);if(-1!==r&&r+1>=n)return new o.L(t.lineNumber,r+1)}return this.leftPosition(e,t)}static left(e,t,i){let n=e.stickyTabStops?h.leftPositionAtomicSoftTabs(t,i,e.tabSize):h.leftPosition(t,i);return new d(n.lineNumber,n.column,0)}static moveLeft(e,t,i,n,s){let o,r;if(i.hasSelection()&&!n)o=i.selection.startLineNumber,r=i.selection.startColumn;else{let n=i.position.delta(void 0,-(s-1)),l=t.normalizePosition(h.clipPositionColumn(n,t),0),a=h.left(e,t,l);o=a.lineNumber,r=a.column}return i.move(n,o,r,0)}static clipPositionColumn(e,t){return new o.L(e.lineNumber,h.clipRange(e.column,t.getLineMinColumn(e.lineNumber),t.getLineMaxColumn(e.lineNumber)))}static clipRange(e,t,i){return ei?i:e}static rightPosition(e,t,i){return ic?(i=c,n=a?t.getLineMaxColumn(i):Math.min(t.getLineMaxColumn(i),n)):n=e.columnFromVisibleColumn(t,i,u),r=m?0:u-s.i.visibleColumnFromColumn(t.getLineContent(i),n,e.tabSize),void 0!==h){let e=new o.L(i,n),s=t.normalizePosition(e,h);r+=n-s.column,i=s.lineNumber,n=s.column}return new d(i,n,r)}static down(e,t,i,n,s,o,r){return this.vertical(e,t,i,n,s,i+o,r,4)}static moveDown(e,t,i,n,s){let r,l,a;i.hasSelection()&&!n?(r=i.selection.endLineNumber,l=i.selection.endColumn):(r=i.position.lineNumber,l=i.position.column);let d=0;do{a=h.down(e,t,r+d,l,i.leftoverVisibleColumns,s,!0);let n=t.normalizePosition(new o.L(a.lineNumber,a.column),2);if(n.lineNumber>r)break}while(d++<10&&r+d1&&this._isBlankLine(t,s);)s--;for(;s>1&&!this._isBlankLine(t,s);)s--;return i.move(n,s,t.getLineMinColumn(s),0)}static moveToNextBlankLine(e,t,i,n){let s=t.getLineCount(),o=i.position.lineNumber;for(;o1){let n;for(n=i-1;n>=1;n--){let e=t.getLineContent(n),i=s.ow(e);if(i>=0)break}if(n<1)return null;let r=t.getLineMaxColumn(n),a=(0,v.A)(e.autoIndent,t,new l.e(n,r,n,r),e.languageConfigurationService);a&&(o=a.indentation+a.appendText)}return(n&&(n===p.wU.Indent&&(o=b.shiftIndent(e,o)),n===p.wU.Outdent&&(o=b.unshiftIndent(e,o)),o=e.normalizeIndentation(o)),o)?o:null}static _replaceJumpToNextIndent(e,t,i,n){let s="",r=i.getStartPosition();if(e.insertSpaces){let i=e.visibleColumnFromColumn(t,r),n=e.indentSize,o=n-i%n;for(let e=0;ethis._compositionType(i,e,s,o,r,l));return new u.Tp(4,a,{shouldPushStackElementBefore:S(e,4),shouldPushStackElementAfter:!1})}static _compositionType(e,t,i,n,s,r){if(!t.isEmpty())return null;let a=t.getPosition(),d=Math.max(1,a.column-n),h=Math.min(e.getLineMaxColumn(a.lineNumber),a.column+s),u=new l.e(a.lineNumber,d,a.lineNumber,h),c=e.getValueInRange(u);return c===i&&0===r?null:new o.Uo(u,i,0,r)}static _typeCommand(e,t,i){return i?new o.Sj(e,t,!0):new o.T4(e,t,!0)}static _enter(e,t,i,n){if(0===e.autoIndent)return b._typeCommand(n,"\n",i);if(!t.tokenization.isCheapToTokenize(n.getStartPosition().lineNumber)||1===e.autoIndent){let o=t.getLineContent(n.startLineNumber),r=s.V8(o).substring(0,n.startColumn-1);return b._typeCommand(n,"\n"+e.normalizeIndentation(r),i)}let r=(0,v.A)(e.autoIndent,t,n,e.languageConfigurationService);if(r){if(r.indentAction===p.wU.None||r.indentAction===p.wU.Indent)return b._typeCommand(n,"\n"+e.normalizeIndentation(r.indentation+r.appendText),i);if(r.indentAction===p.wU.IndentOutdent){let t=e.normalizeIndentation(r.indentation),s=e.normalizeIndentation(r.indentation+r.appendText),l="\n"+s+"\n"+t;return i?new o.Sj(n,l,!0):new o.Uo(n,l,-1,s.length-t.length,!0)}if(r.indentAction===p.wU.Outdent){let t=b.unshiftIndent(e,r.indentation);return b._typeCommand(n,"\n"+e.normalizeIndentation(t+r.appendText),i)}}let l=t.getLineContent(n.startLineNumber),a=s.V8(l).substring(0,n.startColumn-1);if(e.autoIndent>=4){let r=(0,_.UF)(e.autoIndent,t,n,{unshiftIndent:t=>b.unshiftIndent(e,t),shiftIndent:t=>b.shiftIndent(e,t),normalizeIndentation:t=>e.normalizeIndentation(t)},e.languageConfigurationService);if(r){let l=e.visibleColumnFromColumn(t,n.getEndPosition()),a=n.endColumn,d=t.getLineContent(n.endLineNumber),h=s.LC(d);if(n=h>=0?n.setEndPosition(n.endLineNumber,Math.max(n.endColumn,h+1)):n.setEndPosition(n.endLineNumber,t.getLineMaxColumn(n.endLineNumber)),i)return new o.Sj(n,"\n"+e.normalizeIndentation(r.afterEnter),!0);{let t=0;return a<=h+1&&(e.insertSpaces||(l=Math.ceil(l/e.indentSize)),t=Math.min(l+1-e.normalizeIndentation(r.afterEnter).length-1,0)),new o.Uo(n,"\n"+e.normalizeIndentation(r.afterEnter),0,t,!0)}}}return b._typeCommand(n,"\n"+e.normalizeIndentation(a),i)}static _isAutoIndentType(e,t,i){if(e.autoIndent<4)return!1;for(let e=0,n=i.length;eb.shiftIndent(e,t),unshiftIndent:t=>b.unshiftIndent(e,t)},e.languageConfigurationService);if(null===o)return null;if(o!==e.normalizeIndentation(s)){let s=t.getLineFirstNonWhitespaceColumn(i.startLineNumber);return 0===s?b._typeCommand(new l.e(i.startLineNumber,1,i.endLineNumber,i.endColumn),e.normalizeIndentation(o)+n,!1):b._typeCommand(new l.e(i.startLineNumber,1,i.endLineNumber,i.endColumn),e.normalizeIndentation(o)+t.getLineContent(i.startLineNumber).substring(s-1,i.startColumn-1)+n,!1)}return null}static _isAutoClosingOvertype(e,t,i,n,s){if("never"===e.autoClosingOvertype||!e.autoClosingPairs.autoClosingPairsCloseSingleChar.has(s))return!1;for(let o=0,r=i.length;o2?a.charCodeAt(l.column-2):0;if(92===c&&h)return!1;if("auto"===e.autoClosingOvertype){let e=!1;for(let t=0,i=n.length;tt.startsWith(e.open)),r=s.some(e=>t.startsWith(e.close));return!o&&r}static _findAutoClosingPairOpen(e,t,i,n){let s=e.autoClosingPairs.autoClosingPairsOpenByEnd.get(n);if(!s)return null;let o=null;for(let e of s)if(null===o||e.open.length>o.open.length){let s=!0;for(let o of i){let i=t.getValueInRange(new l.e(o.lineNumber,o.column-e.open.length+1,o.lineNumber,o.column));if(i+n!==e.open){s=!1;break}}s&&(o=e)}return o}static _findContainedAutoClosingPair(e,t){if(t.open.length<=1)return null;let i=t.close.charAt(t.close.length-1),n=e.autoClosingPairs.autoClosingPairsCloseByEnd.get(i)||[],s=null;for(let e of n)e.open!==t.open&&t.open.includes(e.open)&&t.close.endsWith(e.close)&&(!s||e.open.length>s.open.length)&&(s=e);return s}static _getAutoClosingPairClose(e,t,i,n,s){let o,r;for(let e of i)if(!e.isEmpty())return null;let l=i.map(e=>{let t=e.getPosition();return s?{lineNumber:t.lineNumber,beforeColumn:t.column-n.length,afterColumn:t.column}:{lineNumber:t.lineNumber,beforeColumn:t.column,afterColumn:t.column}}),a=this._findAutoClosingPairOpen(e,t,l.map(e=>new g.L(e.lineNumber,e.beforeColumn)),n);if(!a)return null;let d=(0,u.LN)(n);if(d)o=e.autoClosingQuotes,r=e.shouldAutoCloseBefore.quote;else{let t=!!e.blockCommentStartToken&&a.open.includes(e.blockCommentStartToken);t?(o=e.autoClosingComments,r=e.shouldAutoCloseBefore.comment):(o=e.autoClosingBrackets,r=e.shouldAutoCloseBefore.bracket)}if("never"===o)return null;let h=this._findContainedAutoClosingPair(e,a),p=h?h.close:"",m=!0;for(let i of l){let{lineNumber:s,beforeColumn:l,afterColumn:d}=i,h=t.getLineContent(s),u=h.substring(0,l-1),g=h.substring(d-1);if(g.startsWith(p)||(m=!1),g.length>0){let t=g.charAt(0),i=b._isBeforeClosingBrace(e,g);if(!i&&!r(t))return null}if(1===a.open.length&&("'"===n||'"'===n)&&"always"!==o){let t=(0,c.u)(e.wordSeparators,[]);if(u.length>0){let e=u.charCodeAt(u.length-1);if(0===t.get(e))return null}}if(!t.tokenization.isCheapToTokenize(s))return null;t.tokenization.forceTokenization(s);let _=t.tokenization.getLineTokens(s),v=(0,f.wH)(_,l-1);if(!a.shouldAutoClose(v,l-v.firstCharOffset))return null;let C=a.findNeutralCharacter();if(C){let e=t.tokenization.getTokenTypeIfInsertingCharacter(s,l,C);if(!a.isOK(e))return null}}return m?a.close.substring(0,a.close.length-p.length):a.close}static _runAutoClosingOpenCharType(e,t,i,n,s,o,r){let l=[];for(let e=0,t=n.length;enew o.T4(new l.e(e.positionLineNumber,e.positionColumn,e.positionLineNumber,e.positionColumn+1),"",!1));return new u.Tp(4,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}let g=this._getAutoClosingPairClose(t,i,s,d,!0);return null!==g?this._runAutoClosingOpenCharType(e,t,i,s,d,!0,g):null}static typeWithInterceptors(e,t,i,n,s,r,l){if(!e&&"\n"===l){let e=[];for(let t=0,o=s.length;t=0;o--){let i=e.charCodeAt(o),r=t.get(i);if(s&&o===s.index)return this._createIntlWord(s,r);if(0===r){if(2===n)return this._createWord(e,n,r,o+1,this._findEndOfWord(e,t,n,o+1));n=1}else if(2===r){if(1===n)return this._createWord(e,n,r,o+1,this._findEndOfWord(e,t,n,o+1));n=2}else if(1===r&&0!==n)return this._createWord(e,n,r,o+1,this._findEndOfWord(e,t,n,o+1))}return 0!==n?this._createWord(e,n,1,0,this._findEndOfWord(e,t,n,0)):null}static _findEndOfWord(e,t,i,n){let s=t.findNextIntlWordAtOrAfterOffset(e,n),o=e.length;for(let r=n;r=0;o--){let n=e.charCodeAt(o),r=t.get(n);if(s&&o===s.index)return o;if(1===r||1===i&&2===r||2===i&&0===r)return o+1}return 0}static moveWordLeft(e,t,i,n){let s=i.lineNumber,o=i.column;1===o&&s>1&&(s-=1,o=t.getLineMaxColumn(s));let r=d._findPreviousWordOnLine(e,t,new l.L(s,o));if(0===n)return new l.L(s,r?r.start+1:1);if(1===n)return r&&2===r.wordType&&r.end-r.start==1&&0===r.nextCharClass&&(r=d._findPreviousWordOnLine(e,t,new l.L(s,r.start+1))),new l.L(s,r?r.start+1:1);if(3===n){for(;r&&2===r.wordType;)r=d._findPreviousWordOnLine(e,t,new l.L(s,r.start+1));return new l.L(s,r?r.start+1:1)}return r&&o<=r.end+1&&(r=d._findPreviousWordOnLine(e,t,new l.L(s,r.start+1))),new l.L(s,r?r.end+1:1)}static _moveWordPartLeft(e,t){let i=t.lineNumber,s=e.getLineMaxColumn(i);if(1===t.column)return i>1?new l.L(i-1,e.getLineMaxColumn(i-1)):t;let o=e.getLineContent(i);for(let e=t.column-1;e>1;e--){let t=o.charCodeAt(e-2),r=o.charCodeAt(e-1);if(95===t&&95!==r||45===t&&45!==r||(n.mK(t)||n.T5(t))&&n.df(r))return new l.L(i,e);if(n.df(t)&&n.df(r)&&e+1=a.start+1&&(a=d._findNextWordOnLine(e,t,new l.L(s,a.end+1))),o=a?a.start+1:t.getLineMaxColumn(s);return new l.L(s,o)}static _moveWordPartRight(e,t){let i=t.lineNumber,s=e.getLineMaxColumn(i);if(t.column===s)return i1?c=1:(u--,c=n.getLineMaxColumn(u)):(g&&c<=g.end+1&&(g=d._findPreviousWordOnLine(i,n,new l.L(u,g.start+1))),g?c=g.end+1:c>1?c=1:(u--,c=n.getLineMaxColumn(u))),new a.e(u,c,h.lineNumber,h.column)}static deleteInsideWord(e,t,i){if(!i.isEmpty())return i;let n=new l.L(i.positionLineNumber,i.positionColumn),s=this._deleteInsideWordWhitespace(t,n);return s||this._deleteInsideWordDetermineDeleteRange(e,t,n)}static _charAtIsWhitespace(e,t){let i=e.charCodeAt(t);return 32===i||9===i}static _deleteInsideWordWhitespace(e,t){let i=e.getLineContent(t.lineNumber),n=i.length;if(0===n)return null;let s=Math.max(t.column-2,0);if(!this._charAtIsWhitespace(i,s))return null;let o=Math.min(t.column-1,n-1);if(!this._charAtIsWhitespace(i,o))return null;for(;s>0&&this._charAtIsWhitespace(i,s-1);)s--;for(;o+11?new a.e(i.lineNumber-1,t.getLineMaxColumn(i.lineNumber-1),i.lineNumber,1):i.lineNumber(e=Math.min(e,i.column),t=Math.max(t,i.column),new a.e(i.lineNumber,e,i.lineNumber,t)),r=e=>{let t=e.start+1,i=e.end+1,r=!1;for(;i-11&&this._charAtIsWhitespace(n,t-2);)t--;return o(t,i)},l=d._findPreviousWordOnLine(e,t,i);if(l&&l.start+1<=i.column&&i.column<=l.end+1)return r(l);let h=d._findNextWordOnLine(e,t,i);return h&&h.start+1<=i.column&&i.column<=h.end+1?r(h):l&&h?o(l.end+1,h.start+1):l?o(l.start+1,l.end+1):h?o(h.start+1,h.end+1):o(1,s+1)}static _deleteWordPartLeft(e,t){if(!t.isEmpty())return t;let i=t.getPosition(),n=d._moveWordPartLeft(e,i);return new a.e(i.lineNumber,i.column,n.lineNumber,n.column)}static _findFirstNonWhitespaceChar(e,t){let i=e.length;for(let n=t;n=p.start+1&&(p=d._findNextWordOnLine(i,n,new l.L(h,p.end+1))),p?u=p.start+1:u!!e)}},2474:function(e,t,i){"use strict";i.d(t,{LM:function(){return c},LN:function(){return v},Tp:function(){return _},Vi:function(){return g},rS:function(){return f}});var n=i(86570),s=i(70209),o=i(84781),r=i(80008),l=i(21983),a=i(50474);let d=()=>!0,h=()=>!1,u=e=>" "===e||" "===e;class c{static shouldRecreate(e){return e.hasChanged(145)||e.hasChanged(131)||e.hasChanged(37)||e.hasChanged(77)||e.hasChanged(79)||e.hasChanged(80)||e.hasChanged(6)||e.hasChanged(7)||e.hasChanged(11)||e.hasChanged(9)||e.hasChanged(10)||e.hasChanged(14)||e.hasChanged(128)||e.hasChanged(50)||e.hasChanged(91)||e.hasChanged(130)}constructor(e,t,i,n){var s;this.languageConfigurationService=n,this._cursorMoveConfigurationBrand=void 0,this._languageId=e;let o=i.options,r=o.get(145),l=o.get(50);this.readOnly=o.get(91),this.tabSize=t.tabSize,this.indentSize=t.indentSize,this.insertSpaces=t.insertSpaces,this.stickyTabStops=o.get(116),this.lineHeight=l.lineHeight,this.typicalHalfwidthCharacterWidth=l.typicalHalfwidthCharacterWidth,this.pageSize=Math.max(1,Math.floor(r.height/this.lineHeight)-2),this.useTabStops=o.get(128),this.wordSeparators=o.get(131),this.emptySelectionClipboard=o.get(37),this.copyWithSyntaxHighlighting=o.get(25),this.multiCursorMergeOverlapping=o.get(77),this.multiCursorPaste=o.get(79),this.multiCursorLimit=o.get(80),this.autoClosingBrackets=o.get(6),this.autoClosingComments=o.get(7),this.autoClosingQuotes=o.get(11),this.autoClosingDelete=o.get(9),this.autoClosingOvertype=o.get(10),this.autoSurround=o.get(14),this.autoIndent=o.get(12),this.wordSegmenterLocales=o.get(130),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:this._getShouldAutoClose(e,this.autoClosingQuotes,!0),comment:this._getShouldAutoClose(e,this.autoClosingComments,!1),bracket:this._getShouldAutoClose(e,this.autoClosingBrackets,!1)},this.autoClosingPairs=this.languageConfigurationService.getLanguageConfiguration(e).getAutoClosingPairs();let a=this.languageConfigurationService.getLanguageConfiguration(e).getSurroundingPairs();if(a)for(let e of a)this.surroundingPairs[e.open]=e.close;let d=this.languageConfigurationService.getLanguageConfiguration(e).comments;this.blockCommentStartToken=null!==(s=null==d?void 0:d.blockCommentStartToken)&&void 0!==s?s:null}get electricChars(){var e;if(!this._electricChars){this._electricChars={};let t=null===(e=this.languageConfigurationService.getLanguageConfiguration(this._languageId).electricCharacter)||void 0===e?void 0:e.getElectricCharacters();if(t)for(let e of t)this._electricChars[e]=!0}return this._electricChars}onElectricCharacter(e,t,i){let n=(0,r.wH)(t,i-1),s=this.languageConfigurationService.getLanguageConfiguration(n.languageId).electricCharacter;return s?s.onElectricCharacter(e,n,i-n.firstCharOffset):null}normalizeIndentation(e){return(0,a.x)(e,this.indentSize,this.insertSpaces)}_getShouldAutoClose(e,t,i){switch(t){case"beforeWhitespace":return u;case"languageDefined":return this._getLanguageDefinedShouldAutoClose(e,i);case"always":return d;case"never":return h}}_getLanguageDefinedShouldAutoClose(e,t){let i=this.languageConfigurationService.getLanguageConfiguration(e).getAutoCloseBeforeSet(t);return e=>-1!==i.indexOf(e)}visibleColumnFromColumn(e,t){return l.i.visibleColumnFromColumn(e.getLineContent(t.lineNumber),t.column,this.tabSize)}columnFromVisibleColumn(e,t,i){let n=l.i.columnFromVisibleColumn(e.getLineContent(t),i,this.tabSize),s=e.getLineMinColumn(t);if(no?o:n}}class g{static fromModelState(e){return new p(e)}static fromViewState(e){return new m(e)}static fromModelSelection(e){let t=o.Y.liftSelection(e),i=new f(s.e.fromPositions(t.getSelectionStart()),0,0,t.getPosition(),0);return g.fromModelState(i)}static fromModelSelections(e){let t=[];for(let i=0,n=e.length;i{i.push(l.fromOffsetPairs(e?e.getEndExclusives():a.zero,n?n.getStarts():new a(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))}),i}static fromOffsetPairs(e,t){return new l(new o.q(e.offset1,t.offset1),new o.q(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new l(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new l(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new l(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new l(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new l(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){let t=this.seq1Range.intersect(e.seq1Range),i=this.seq2Range.intersect(e.seq2Range);if(t&&i)return new l(t,i)}getStarts(){return new a(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new a(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class a{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(e){return 0===e?this:new a(this.offset1+e,this.offset2+e)}equals(e){return this.offset1===e.offset1&&this.offset2===e.offset2}}a.zero=new a(0,0),a.max=new a(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class d{isValid(){return!0}}d.instance=new d;class h{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new s.he("timeout must be positive")}isValid(){let e=Date.now()-this.startTime0&&d>0&&3===o.get(r-1,d-1)&&(h+=l.get(r-1,d-1)),h+=n?n(r,d):1):h=-1;let g=Math.max(u,c,h);if(g===h){let e=r>0&&d>0?l.get(r-1,d-1):0;l.set(r,d,e+1),o.set(r,d,3)}else g===u?(l.set(r,d,0),o.set(r,d,1)):g===c&&(l.set(r,d,0),o.set(r,d,2));s.set(r,d,g)}let h=[],u=e.length,c=t.length;function g(e,t){(e+1!==u||t+1!==c)&&h.push(new a.i8(new r.q(e+1,u),new r.q(t+1,c))),u=e,c=t}let p=e.length-1,m=t.length-1;for(;p>=0&&m>=0;)3===o.get(p,m)?(g(p,m),p--,m--):1===o.get(p,m)?p--:m--;return g(-1,-1),h.reverse(),new a.KU(h,!1)}}class g{compute(e,t,i=a.n0.instance){if(0===e.length||0===t.length)return a.KU.trivial(e,t);function n(i,n){for(;ie.length||c>t.length)continue;let g=n(u,c);o.set(d,g);let m=u===s?l.get(d+1):l.get(d-1);if(l.set(d,g!==u?new p(m,u,c,g-u):m),o.get(d)===e.length&&o.get(d)-d===t.length)break t}}let h=l.get(d),u=[],c=e.length,g=t.length;for(;;){let e=h?h.x+h.length:0,t=h?h.y+h.length:0;if((e!==c||t!==g)&&u.push(new a.i8(new r.q(e,c),new r.q(t,g))),!h)break;c=h.x,g=h.y,h=h.prev}return u.reverse(),new a.KU(u,!1)}}class p{constructor(e,t,i,n){this.prev=e,this.x=t,this.y=i,this.length=n}}class m{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class f{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}var _=i(61234),v=i(70365),b=i(10289),C=i(86570);class w{constructor(e,t,i){this.lines=e,this.considerWhitespaceChanges=i,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let n=!1;t.start>0&&t.endExclusive>=e.length&&(t=new r.q(t.start-1,t.endExclusive),n=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=L(e>0?this.elements[e-1]:-1),i=L(et<=e);return new C.L(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return l.e.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!y(this.elements[e]))return;let t=e;for(;t>0&&y(this.elements[t-1]);)t--;let i=e;for(;it<=e.start))&&void 0!==t?t:0,s=null!==(i=(0,v.cn)(this.firstCharOffsetByLine,t=>e.endExclusive<=t))&&void 0!==i?i:this.elements.length;return new r.q(n,s)}}function y(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let S={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function L(e){if(10===e)return 8;if(13===e)return 7;if(h(e))return 6;if(e>=97&&e<=122)return 0;if(e>=65&&e<=90)return 1;if(e>=48&&e<=57)return 2;if(-1===e)return 3;else if(44===e||59===e)return 5;else return 4}function k(e,t,i){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;let n=new g,s=n.compute(new w([e],new r.q(0,1),!1),new w([t],new r.q(0,1),!1),i),o=0,l=a.i8.invert(s.diffs,e.length);for(let t of l)t.seq1Range.forEach(t=>{!h(e.charCodeAt(t))&&o++});let d=function(t){let i=0;for(let n=0;nt.length?e:t),u=o/d>.6&&d>10;return u}var D=i(18084);class x{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let t=0===e?0:N(this.lines[e-1]),i=e===this.lines.length?0:N(this.lines[e]);return 1e3-(t+i)}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function N(e){let t=0;for(;te===t))return new E.h([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new E.h([new _.gB(new o.z(1,e.length+1),new o.z(1,t.length+1),[new _.iy(new l.e(1,1,e.length,e[e.length-1].length+1),new l.e(1,1,t.length,t[t.length-1].length+1))])],[],!1);let d=0===i.maxComputationTimeMs?a.n0.instance:new a.NT(i.maxComputationTimeMs),h=!i.ignoreTrimWhitespace,u=new Map;function c(e){let t=u.get(e);return void 0===t&&(t=u.size,u.set(e,t)),t}let g=e.map(e=>c(e.trim())),p=t.map(e=>c(e.trim())),m=new x(g,e),f=new x(p,t),v=m.length+f.length<1700?this.dynamicProgrammingDiffing.compute(m,f,d,(i,n)=>e[i]===t[n]?0===t[n].length?.1:1+Math.log(1+t[n].length):.99):this.myersDiffingAlgorithm.compute(m,f,d),b=v.diffs,C=v.hitTimeout;b=(0,D.xG)(m,f,b),b=(0,D.rh)(m,f,b);let w=[],y=i=>{if(h)for(let n=0;ni.seq1Range.start-S==i.seq2Range.start-L);let n=i.seq1Range.start-S;y(n),S=i.seq1Range.endExclusive,L=i.seq2Range.endExclusive;let o=this.refineDiff(e,t,i,d,h);for(let e of(o.hitTimeout&&(C=!0),o.mappings))w.push(e)}y(e.length-S);let k=T(w,e,t),N=[];return i.computeMoves&&(N=this.computeMoves(k,e,t,g,p,d,h)),(0,s.eZ)(()=>{function i(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;let i=t[e.lineNumber-1];return!(e.column<1)&&!(e.column>i.length+1)}function n(e,t){return!(e.startLineNumber<1)&&!(e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1)&&!(e.endLineNumberExclusive>t.length+1)}for(let s of k){if(!s.innerChanges)return!1;for(let n of s.innerChanges){let s=i(n.modifiedRange.getStartPosition(),t)&&i(n.modifiedRange.getEndPosition(),t)&&i(n.originalRange.getStartPosition(),e)&&i(n.originalRange.getEndPosition(),e);if(!s)return!1}if(!n(s.modified,t)||!n(s.original,e))return!1}return!0}),new E.h(k,N,C)}computeMoves(e,t,i,s,r,l,d){let h=function(e,t,i,s,r,l){let{moves:a,excludedChanges:d}=function(e,t,i,n){let s=[],o=e.filter(e=>e.modified.isEmpty&&e.original.length>=3).map(e=>new u(e.original,t,e)),r=new Set(e.filter(e=>e.original.isEmpty&&e.modified.length>=3).map(e=>new u(e.modified,i,e))),l=new Set;for(let e of o){let t,i=-1;for(let n of r){let s=e.computeSimilarity(n);s>i&&(i=s,t=n)}if(i>.9&&t&&(r.delete(t),s.push(new _.f0(e.range,t.range)),l.add(e.source),l.add(t.source)),!n.isValid())break}return{moves:s,excludedChanges:l}}(e,t,i,l);if(!l.isValid())return[];let h=e.filter(e=>!d.has(e)),c=function(e,t,i,s,r,l){let a=[],d=new b.ri;for(let i of e)for(let e=i.original.startLineNumber;ee.modified.startLineNumber,n.fv)),e)){let e=[];for(let n=t.modified.startLineNumber;n{for(let i of e)if(i.originalLineRange.endLineNumberExclusive+1===t.endLineNumberExclusive&&i.modifiedLineRange.endLineNumberExclusive+1===s.endLineNumberExclusive){i.originalLineRange=new o.z(i.originalLineRange.startLineNumber,t.endLineNumberExclusive),i.modifiedLineRange=new o.z(i.modifiedLineRange.startLineNumber,s.endLineNumberExclusive),r.push(i);return}let i={modifiedLineRange:s,originalLineRange:t};h.push(i),r.push(i)}),e=r}if(!l.isValid())return[]}h.sort((0,n.BV)((0,n.tT)(e=>e.modifiedLineRange.length,n.fv)));let u=new o.i,c=new o.i;for(let e of h){let t=e.modifiedLineRange.startLineNumber-e.originalLineRange.startLineNumber,i=u.subtractFrom(e.modifiedLineRange),n=c.subtractFrom(e.originalLineRange).getWithDelta(t),s=i.getIntersection(n);for(let e of s.ranges){if(e.length<3)continue;let i=e.delta(-t);a.push(new _.f0(i,e)),u.addRange(e),c.addRange(i)}}a.sort((0,n.tT)(e=>e.original.startLineNumber,n.fv));let g=new v.b1(e);for(let t=0;te.original.startLineNumber<=d.original.startLineNumber),p=(0,v.ti)(e,e=>e.modified.startLineNumber<=d.modified.startLineNumber),m=Math.max(d.original.startLineNumber-h.original.startLineNumber,d.modified.startLineNumber-p.modified.startLineNumber),f=g.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumbers.length||t>r.length||u.contains(t)||c.contains(e)||!k(s[e-1],r[t-1],l))break}for(i>0&&(c.addRange(new o.z(d.original.startLineNumber-i,d.original.startLineNumber)),u.addRange(new o.z(d.modified.startLineNumber-i,d.modified.startLineNumber))),n=0;ns.length||t>r.length||u.contains(t)||c.contains(e)||!k(s[e-1],r[t-1],l))break}n>0&&(c.addRange(new o.z(d.original.endLineNumberExclusive,d.original.endLineNumberExclusive+n)),u.addRange(new o.z(d.modified.endLineNumberExclusive,d.modified.endLineNumberExclusive+n))),(i>0||n>0)&&(a[t]=new _.f0(new o.z(d.original.startLineNumber-i,d.original.endLineNumberExclusive+n),new o.z(d.modified.startLineNumber-i,d.modified.endLineNumberExclusive+n)))}return a}(h,s,r,t,i,l);return(0,n.vA)(a,c),a=(a=function(e){if(0===e.length)return e;e.sort((0,n.tT)(e=>e.original.startLineNumber,n.fv));let t=[e[0]];for(let i=1;i=0&&r>=0;if(l&&o+r<=2){t[t.length-1]=n.join(s);continue}t.push(s)}return t}(a)).filter(e=>{let i=e.original.toOffsetRange().slice(t).map(e=>e.trim()),n=i.join("\n");return n.length>=15&&function(e,t){let i=0;for(let n of e)t(n)&&i++;return i}(i,e=>e.length>=2)>=2}),a=function(e,t){let i=new v.b1(e);return t=t.filter(t=>{let n=i.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumber{let n=this.refineDiff(t,i,new a.i8(e.original.toOffsetRange(),e.modified.toOffsetRange()),l,d),s=T(n.mappings,t,i,!0);return new E.y(e,s)});return c}refineDiff(e,t,i,n,s){let o=new w(e,i.seq1Range,s),r=new w(t,i.seq2Range,s),l=o.length+r.length<500?this.dynamicProgrammingDiffing.compute(o,r,n):this.myersDiffingAlgorithm.compute(o,r,n),a=l.diffs;a=(0,D.xG)(o,r,a),a=(0,D.g0)(o,r,a),a=(0,D.oK)(o,r,a),a=(0,D.DI)(o,r,a);let d=a.map(e=>new _.iy(o.translateRange(e.seq1Range),r.translateRange(e.seq2Range)));return{mappings:d,hitTimeout:l.hitTimeout}}}function T(e,t,i,r=!1){let l=[];for(let s of(0,n.mw)(e.map(e=>(function(e,t,i){let n=0,s=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+n<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+n<=e.modifiedRange.endLineNumber&&(s=-1),e.modifiedRange.startColumn-1>=i[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+s&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+s&&(n=1);let r=new o.z(e.originalRange.startLineNumber+n,e.originalRange.endLineNumber+1+s),l=new o.z(e.modifiedRange.startLineNumber+n,e.modifiedRange.endLineNumber+1+s);return new _.gB(r,l,[e])})(e,t,i)),(e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified))){let e=s[0],t=s[s.length-1];l.push(new _.gB(e.original.join(t.original),e.modified.join(t.modified),s.map(e=>e.innerChanges[0])))}return(0,s.eZ)(()=>(!!r||!(l.length>0)||l[0].modified.startLineNumber===l[0].original.startLineNumber&&i.length-l[l.length-1].modified.endLineNumberExclusive==t.length-l[l.length-1].original.endLineNumberExclusive)&&(0,s.DM)(l,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive0?i[n-1]:void 0,r=i[n],l=n+10&&(a=a.delta(r))}r.push(a)}return n.length>0&&r.push(n[n.length-1]),r}function a(e,t,i,n,s){let o=1;for(;e.seq1Range.start-o>=n.start&&e.seq2Range.start-o>=s.start&&i.isStronglyEqual(e.seq2Range.start-o,e.seq2Range.endExclusive-o)&&o<100;)o++;o--;let r=0;for(;e.seq1Range.start+ra&&(a=d,l=n)}return e.delta(l)}function d(e,t,i){let n=[];for(let e of i){let t=n[n.length-1];if(!t){n.push(e);continue}e.seq1Range.start-t.seq1Range.endExclusive<=2||e.seq2Range.start-t.seq2Range.endExclusive<=2?n[n.length-1]=new o.i8(t.seq1Range.join(e.seq1Range),t.seq2Range.join(e.seq2Range)):n.push(e)}return n}function h(e,t,i){let n=o.i8.invert(i,e.length),s=[],r=new o.zl(0,0);function l(i,l){if(i.offset10;){let i=n[0],s=i.seq1Range.intersects(h.seq1Range)||i.seq2Range.intersects(h.seq2Range);if(!s)break;let r=e.findWordContaining(i.seq1Range.start),l=t.findWordContaining(i.seq2Range.start),a=new o.i8(r,l),d=a.intersect(i);if(c+=d.seq1Range.length,g+=d.seq2Range.length,(h=h.join(a)).seq1Range.endExclusive>=i.seq1Range.endExclusive)n.shift();else break}c+g<(h.seq1Range.length+h.seq2Range.length)*2/3&&s.push(h),r=h.getEndExclusives()}for(;n.length>0;){let e=n.shift();e.seq1Range.isEmpty||(l(e.getStarts(),e),l(e.getEndExclusives().delta(-1),e))}let a=function(e,t){let i=[];for(;e.length>0||t.length>0;){let n;let s=e[0],o=t[0];n=s&&(!o||s.seq1Range.start0&&i[i.length-1].seq1Range.endExclusive>=n.seq1Range.start?i[i.length-1]=i[i.length-1].join(n):i.push(n)}return i}(i,s);return a}function u(e,t,i){let n,o=i;if(0===o.length)return o;let r=0;do{n=!1;let t=[o[0]];for(let i=1;i5||i.seq1Range.length+i.seq2Range.length>5)}(l,r);a?(n=!0,t[t.length-1]=t[t.length-1].join(r)):t.push(r)}o=t}while(r++<10&&n);return o}function c(e,t,i){let r,l=i;if(0===l.length)return l;let a=0;do{r=!1;let i=[l[0]];for(let n=1;n5||r.length>500)return!1;let d=e.getText(r).trim();if(d.length>20||d.split(/\r\n|\r|\n/).length>1)return!1;let h=e.countLinesIn(i.seq1Range),u=i.seq1Range.length,c=t.countLinesIn(i.seq2Range),g=i.seq2Range.length,p=e.countLinesIn(n.seq1Range),m=n.seq1Range.length,f=t.countLinesIn(n.seq2Range),_=n.seq2Range.length;function v(e){return Math.min(e,130)}return Math.pow(Math.pow(v(40*h+u),1.5)+Math.pow(v(40*c+g),1.5),1.5)+Math.pow(Math.pow(v(40*p+m),1.5)+Math.pow(v(40*f+_),1.5),1.5)>74184.96480721243}(a,o);d?(r=!0,i[i.length-1]=i[i.length-1].join(o)):i.push(o)}l=i}while(a++<10&&r);let d=[];return(0,n.KO)(l,(t,i,n)=>{let r=i;function l(e){return e.length>0&&e.trim().length<=3&&i.seq1Range.length+i.seq2Range.length>100}let a=e.extendToFullLines(i.seq1Range),h=e.getText(new s.q(a.start,i.seq1Range.start));l(h)&&(r=r.deltaStart(-h.length));let u=e.getText(new s.q(i.seq1Range.endExclusive,a.endExclusive));l(u)&&(r=r.deltaEnd(u.length));let c=o.i8.fromOffsetPairs(t?t.getEndExclusives():o.zl.zero,n?n.getStarts():o.zl.max),g=r.intersect(c);d.length>0&&g.getStarts().equals(d[d.length-1].getEndExclusives())?d[d.length-1]=d[d.length-1].join(g):d.push(g)}),d}},10775:function(e,t,i){"use strict";i.d(t,{h:function(){return n},y:function(){return s}});class n{constructor(e,t,i){this.changes=e,this.moves=t,this.hitTimeout=i}}class s{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}},61234:function(e,t,i){"use strict";i.d(t,{f0:function(){return l},gB:function(){return a},iy:function(){return d}});var n=i(32378),s=i(63144),o=i(70209),r=i(28977);class l{static inverse(e,t,i){let n=[],o=1,r=1;for(let t of e){let e=new l(new s.z(o,t.original.startLineNumber),new s.z(r,t.modified.startLineNumber));e.modified.isEmpty||n.push(e),o=t.original.endLineNumberExclusive,r=t.modified.endLineNumberExclusive}let a=new l(new s.z(o,t+1),new s.z(r,i+1));return a.modified.isEmpty||n.push(a),n}static clip(e,t,i){let n=[];for(let s of e){let e=s.original.intersect(t),o=s.modified.intersect(i);e&&!e.isEmpty&&o&&!o.isEmpty&&n.push(new l(e,o))}return n}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new l(this.modified,this.original)}join(e){return new l(this.original.join(e.original),this.modified.join(e.modified))}toRangeMapping(){let e=this.original.toInclusiveRange(),t=this.modified.toInclusiveRange();if(e&&t)return new d(e,t);if(1!==this.original.startLineNumber&&1!==this.modified.startLineNumber)return new d(new o.e(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new o.e(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER));if(!(1===this.modified.startLineNumber&&1===this.original.startLineNumber))throw new n.he("not a valid diff");return new d(new o.e(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new o.e(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}}class a extends l{static fromRangeMappings(e){let t=s.z.join(e.map(e=>s.z.fromRangeInclusive(e.originalRange))),i=s.z.join(e.map(e=>s.z.fromRangeInclusive(e.modifiedRange)));return new a(t,i,e)}constructor(e,t,i){super(e,t),this.innerChanges=i}flip(){var e;return new a(this.modified,this.original,null===(e=this.innerChanges)||void 0===e?void 0:e.map(e=>e.flip()))}withInnerChangesFromLineRanges(){return new a(this.original,this.modified,[this.toRangeMapping()])}}class d{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new d(this.modifiedRange,this.originalRange)}toTextEdit(e){let t=e.getValueOfRange(this.modifiedRange);return new r.At(this.originalRange,t)}}},20897:function(e,t,i){"use strict";i.d(t,{p:function(){return n}});class n{constructor(e,t,i,n,s,o,r){this.id=e,this.label=t,this.alias=i,this.metadata=n,this._precondition=s,this._run=o,this._contextKeyService=r}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(e){return this.isSupported()?this._run(e):Promise.resolve(void 0)}}},25777:function(e,t,i){"use strict";i.d(t,{g:function(){return n}});let n={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}},73440:function(e,t,i){"use strict";i.d(t,{u:function(){return s}});var n,s,o=i(82801),r=i(33336);(n=s||(s={})).editorSimpleInput=new r.uy("editorSimpleInput",!1,!0),n.editorTextFocus=new r.uy("editorTextFocus",!1,o.NC("editorTextFocus","Whether the editor text has focus (cursor is blinking)")),n.focus=new r.uy("editorFocus",!1,o.NC("editorFocus","Whether the editor or an editor widget has focus (e.g. focus is in the find widget)")),n.textInputFocus=new r.uy("textInputFocus",!1,o.NC("textInputFocus","Whether an editor or a rich text input has focus (cursor is blinking)")),n.readOnly=new r.uy("editorReadonly",!1,o.NC("editorReadonly","Whether the editor is read-only")),n.inDiffEditor=new r.uy("inDiffEditor",!1,o.NC("inDiffEditor","Whether the context is a diff editor")),n.isEmbeddedDiffEditor=new r.uy("isEmbeddedDiffEditor",!1,o.NC("isEmbeddedDiffEditor","Whether the context is an embedded diff editor")),n.inMultiDiffEditor=new r.uy("inMultiDiffEditor",!1,o.NC("inMultiDiffEditor","Whether the context is a multi diff editor")),n.multiDiffEditorAllCollapsed=new r.uy("multiDiffEditorAllCollapsed",void 0,o.NC("multiDiffEditorAllCollapsed","Whether all files in multi diff editor are collapsed")),n.hasChanges=new r.uy("diffEditorHasChanges",!1,o.NC("diffEditorHasChanges","Whether the diff editor has changes")),n.comparingMovedCode=new r.uy("comparingMovedCode",!1,o.NC("comparingMovedCode","Whether a moved code block is selected for comparison")),n.accessibleDiffViewerVisible=new r.uy("accessibleDiffViewerVisible",!1,o.NC("accessibleDiffViewerVisible","Whether the accessible diff viewer is visible")),n.diffEditorRenderSideBySideInlineBreakpointReached=new r.uy("diffEditorRenderSideBySideInlineBreakpointReached",!1,o.NC("diffEditorRenderSideBySideInlineBreakpointReached","Whether the diff editor render side by side inline breakpoint is reached")),n.diffEditorInlineMode=new r.uy("diffEditorInlineMode",!1,o.NC("diffEditorInlineMode","Whether inline mode is active")),n.diffEditorOriginalWritable=new r.uy("diffEditorOriginalWritable",!1,o.NC("diffEditorOriginalWritable","Whether modified is writable in the diff editor")),n.diffEditorModifiedWritable=new r.uy("diffEditorModifiedWritable",!1,o.NC("diffEditorModifiedWritable","Whether modified is writable in the diff editor")),n.diffEditorOriginalUri=new r.uy("diffEditorOriginalUri","",o.NC("diffEditorOriginalUri","The uri of the original document")),n.diffEditorModifiedUri=new r.uy("diffEditorModifiedUri","",o.NC("diffEditorModifiedUri","The uri of the modified document")),n.columnSelection=new r.uy("editorColumnSelection",!1,o.NC("editorColumnSelection","Whether `editor.columnSelection` is enabled")),n.writable=n.readOnly.toNegated(),n.hasNonEmptySelection=new r.uy("editorHasSelection",!1,o.NC("editorHasSelection","Whether the editor has text selected")),n.hasOnlyEmptySelection=n.hasNonEmptySelection.toNegated(),n.hasMultipleSelections=new r.uy("editorHasMultipleSelections",!1,o.NC("editorHasMultipleSelections","Whether the editor has multiple selections")),n.hasSingleSelection=n.hasMultipleSelections.toNegated(),n.tabMovesFocus=new r.uy("editorTabMovesFocus",!1,o.NC("editorTabMovesFocus","Whether `Tab` will move focus out of the editor")),n.tabDoesNotMoveFocus=n.tabMovesFocus.toNegated(),n.isInEmbeddedEditor=new r.uy("isInEmbeddedEditor",!1,!0),n.canUndo=new r.uy("canUndo",!1,!0),n.canRedo=new r.uy("canRedo",!1,!0),n.hoverVisible=new r.uy("editorHoverVisible",!1,o.NC("editorHoverVisible","Whether the editor hover is visible")),n.hoverFocused=new r.uy("editorHoverFocused",!1,o.NC("editorHoverFocused","Whether the editor hover is focused")),n.stickyScrollFocused=new r.uy("stickyScrollFocused",!1,o.NC("stickyScrollFocused","Whether the sticky scroll is focused")),n.stickyScrollVisible=new r.uy("stickyScrollVisible",!1,o.NC("stickyScrollVisible","Whether the sticky scroll is visible")),n.standaloneColorPickerVisible=new r.uy("standaloneColorPickerVisible",!1,o.NC("standaloneColorPickerVisible","Whether the standalone color picker is visible")),n.standaloneColorPickerFocused=new r.uy("standaloneColorPickerFocused",!1,o.NC("standaloneColorPickerFocused","Whether the standalone color picker is focused")),n.inCompositeEditor=new r.uy("inCompositeEditor",void 0,o.NC("inCompositeEditor","Whether the editor is part of a larger editor (e.g. notebooks)")),n.notInCompositeEditor=n.inCompositeEditor.toNegated(),n.languageId=new r.uy("editorLangId","",o.NC("editorLangId","The language identifier of the editor")),n.hasCompletionItemProvider=new r.uy("editorHasCompletionItemProvider",!1,o.NC("editorHasCompletionItemProvider","Whether the editor has a completion item provider")),n.hasCodeActionsProvider=new r.uy("editorHasCodeActionsProvider",!1,o.NC("editorHasCodeActionsProvider","Whether the editor has a code actions provider")),n.hasCodeLensProvider=new r.uy("editorHasCodeLensProvider",!1,o.NC("editorHasCodeLensProvider","Whether the editor has a code lens provider")),n.hasDefinitionProvider=new r.uy("editorHasDefinitionProvider",!1,o.NC("editorHasDefinitionProvider","Whether the editor has a definition provider")),n.hasDeclarationProvider=new r.uy("editorHasDeclarationProvider",!1,o.NC("editorHasDeclarationProvider","Whether the editor has a declaration provider")),n.hasImplementationProvider=new r.uy("editorHasImplementationProvider",!1,o.NC("editorHasImplementationProvider","Whether the editor has an implementation provider")),n.hasTypeDefinitionProvider=new r.uy("editorHasTypeDefinitionProvider",!1,o.NC("editorHasTypeDefinitionProvider","Whether the editor has a type definition provider")),n.hasHoverProvider=new r.uy("editorHasHoverProvider",!1,o.NC("editorHasHoverProvider","Whether the editor has a hover provider")),n.hasDocumentHighlightProvider=new r.uy("editorHasDocumentHighlightProvider",!1,o.NC("editorHasDocumentHighlightProvider","Whether the editor has a document highlight provider")),n.hasDocumentSymbolProvider=new r.uy("editorHasDocumentSymbolProvider",!1,o.NC("editorHasDocumentSymbolProvider","Whether the editor has a document symbol provider")),n.hasReferenceProvider=new r.uy("editorHasReferenceProvider",!1,o.NC("editorHasReferenceProvider","Whether the editor has a reference provider")),n.hasRenameProvider=new r.uy("editorHasRenameProvider",!1,o.NC("editorHasRenameProvider","Whether the editor has a rename provider")),n.hasSignatureHelpProvider=new r.uy("editorHasSignatureHelpProvider",!1,o.NC("editorHasSignatureHelpProvider","Whether the editor has a signature help provider")),n.hasInlayHintsProvider=new r.uy("editorHasInlayHintsProvider",!1,o.NC("editorHasInlayHintsProvider","Whether the editor has an inline hints provider")),n.hasDocumentFormattingProvider=new r.uy("editorHasDocumentFormattingProvider",!1,o.NC("editorHasDocumentFormattingProvider","Whether the editor has a document formatting provider")),n.hasDocumentSelectionFormattingProvider=new r.uy("editorHasDocumentSelectionFormattingProvider",!1,o.NC("editorHasDocumentSelectionFormattingProvider","Whether the editor has a document selection formatting provider")),n.hasMultipleDocumentFormattingProvider=new r.uy("editorHasMultipleDocumentFormattingProvider",!1,o.NC("editorHasMultipleDocumentFormattingProvider","Whether the editor has multiple document formatting providers")),n.hasMultipleDocumentSelectionFormattingProvider=new r.uy("editorHasMultipleDocumentSelectionFormattingProvider",!1,o.NC("editorHasMultipleDocumentSelectionFormattingProvider","Whether the editor has multiple document selection formatting providers"))},88964:function(e,t,i){"use strict";i.d(t,{n:function(){return o},y:function(){return s}});let n=[];function s(e){n.push(e)}function o(){return n.slice(0)}},30664:function(e,t,i){"use strict";i.d(t,{N:function(){return n}});class n{static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(768&e)>>>8}static containsBalancedBrackets(e){return(1024&e)!=0}static getFontStyle(e){return(30720&e)>>>11}static getForeground(e){return(16744448&e)>>>15}static getBackground(e){return(4278190080&e)>>>24}static getClassNameFromMetadata(e){let t=this.getForeground(e),i="mtk"+t,n=this.getFontStyle(e);return 1&n&&(i+=" mtki"),2&n&&(i+=" mtkb"),4&n&&(i+=" mtku"),8&n&&(i+=" mtks"),i}static getInlineStyleFromMetadata(e,t){let i=this.getForeground(e),n=this.getFontStyle(e),s=`color: ${t[i]};`;1&n&&(s+="font-style: italic;"),2&n&&(s+="font-weight: bold;");let o="";return 4&n&&(o+=" underline"),8&n&&(o+=" line-through"),o&&(s+=`text-decoration:${o};`),s}static getPresentationFromMetadata(e){let t=this.getForeground(e),i=this.getFontStyle(e);return{foreground:t,italic:!!(1&i),bold:!!(2&i),underline:!!(4&i),strikethrough:!!(8&i)}}}},97987:function(e,t,i){"use strict";i.d(t,{G:function(){return function e(t,i,o,r,l,a){if(Array.isArray(t)){let n=0;for(let s of t){let t=e(s,i,o,r,l,a);if(10===t)return t;t>n&&(n=t)}return n}if("string"==typeof t)return r?"*"===t?5:t===o?10:0:0;if(!t)return 0;{let{language:e,pattern:d,scheme:h,hasAccessToAllModels:u,notebookType:c}=t;if(!r&&!u)return 0;c&&l&&(i=l);let g=0;if(h){if(h===i.scheme)g=10;else{if("*"!==h)return 0;g=5}}if(e){if(e===o)g=10;else{if("*"!==e)return 0;g=Math.max(g,5)}}if(c){if(c===a)g=10;else{if("*"!==c||void 0===a)return 0;g=Math.max(g,5)}}if(d){let e;if(!((e="string"==typeof d?d:{...d,base:(0,s.Fv)(d.base)})===i.fsPath||(0,n.EQ)(e,i.fsPath)))return 0;g=10}return g}}}});var n=i(76088),s=i(75380)},1863:function(e,t,i){"use strict";i.d(t,{mY:function(){return w},gX:function(){return g},MY:function(){return _},Nq:function(){return m},DI:function(){return R},AD:function(){return B},bq:function(){return c},gl:function(){return y},bw:function(){return p},rn:function(){return S},MO:function(){return W},w:function(){return b},Ll:function(){return C},ln:function(){return A},WW:function(){return f},uZ:function(){return v},WU:function(){return T},RW:function(){return H},hG:function(){return M},R4:function(){return F},vx:function(){return P}});var n,s,o,r,l,a,d,h,u,c,g,p,m,f,_,v,b,C,w,y,S,L=i(47039),k=i(5482),D=i(70209),x=i(79915),N=i(70784);class E extends N.JT{get isResolved(){return this._isResolved}constructor(e,t,i){super(),this._registry=e,this._languageId=t,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){let e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}}var I=i(82801);class T{constructor(e,t,i){this.offset=e,this.type=t,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}class M{constructor(e,t){this.tokens=e,this.endState=t,this._tokenizationResultBrand=void 0}}class R{constructor(e,t){this.tokens=e,this.endState=t,this._encodedTokenizationResultBrand=void 0}}(n=c||(c={}))[n.Increase=0]="Increase",n[n.Decrease=1]="Decrease",function(e){let t=new Map;t.set(0,L.l.symbolMethod),t.set(1,L.l.symbolFunction),t.set(2,L.l.symbolConstructor),t.set(3,L.l.symbolField),t.set(4,L.l.symbolVariable),t.set(5,L.l.symbolClass),t.set(6,L.l.symbolStruct),t.set(7,L.l.symbolInterface),t.set(8,L.l.symbolModule),t.set(9,L.l.symbolProperty),t.set(10,L.l.symbolEvent),t.set(11,L.l.symbolOperator),t.set(12,L.l.symbolUnit),t.set(13,L.l.symbolValue),t.set(15,L.l.symbolEnum),t.set(14,L.l.symbolConstant),t.set(15,L.l.symbolEnum),t.set(16,L.l.symbolEnumMember),t.set(17,L.l.symbolKeyword),t.set(27,L.l.symbolSnippet),t.set(18,L.l.symbolText),t.set(19,L.l.symbolColor),t.set(20,L.l.symbolFile),t.set(21,L.l.symbolReference),t.set(22,L.l.symbolCustomColor),t.set(23,L.l.symbolFolder),t.set(24,L.l.symbolTypeParameter),t.set(25,L.l.account),t.set(26,L.l.issues),e.toIcon=function(e){let i=t.get(e);return i||(console.info("No codicon found for CompletionItemKind "+e),i=L.l.symbolProperty),i};let i=new Map;i.set("method",0),i.set("function",1),i.set("constructor",2),i.set("field",3),i.set("variable",4),i.set("class",5),i.set("struct",6),i.set("interface",7),i.set("module",8),i.set("property",9),i.set("event",10),i.set("operator",11),i.set("unit",12),i.set("value",13),i.set("constant",14),i.set("enum",15),i.set("enum-member",16),i.set("enumMember",16),i.set("keyword",17),i.set("snippet",27),i.set("text",18),i.set("color",19),i.set("file",20),i.set("reference",21),i.set("customcolor",22),i.set("folder",23),i.set("type-parameter",24),i.set("typeParameter",24),i.set("account",25),i.set("issue",26),e.fromString=function(e,t){let n=i.get(e);return void 0!==n||t||(n=9),n}}(g||(g={})),(s=p||(p={}))[s.Automatic=0]="Automatic",s[s.Explicit=1]="Explicit";class A{constructor(e,t,i,n){this.range=e,this.text=t,this.completionKind=i,this.isSnippetText=n}equals(e){return D.e.lift(this.range).equalsRange(e.range)&&this.text===e.text&&this.completionKind===e.completionKind&&this.isSnippetText===e.isSnippetText}}function P(e){return e&&k.o.isUri(e.uri)&&D.e.isIRange(e.range)&&(D.e.isIRange(e.originSelectionRange)||D.e.isIRange(e.targetSelectionRange))}(o=m||(m={}))[o.Automatic=0]="Automatic",o[o.PasteAs=1]="PasteAs",(r=f||(f={}))[r.Invoke=1]="Invoke",r[r.TriggerCharacter=2]="TriggerCharacter",r[r.ContentChange=3]="ContentChange",(l=_||(_={}))[l.Text=0]="Text",l[l.Read=1]="Read",l[l.Write=2]="Write";let O={17:(0,I.NC)("Array","array"),16:(0,I.NC)("Boolean","boolean"),4:(0,I.NC)("Class","class"),13:(0,I.NC)("Constant","constant"),8:(0,I.NC)("Constructor","constructor"),9:(0,I.NC)("Enum","enumeration"),21:(0,I.NC)("EnumMember","enumeration member"),23:(0,I.NC)("Event","event"),7:(0,I.NC)("Field","field"),0:(0,I.NC)("File","file"),11:(0,I.NC)("Function","function"),10:(0,I.NC)("Interface","interface"),19:(0,I.NC)("Key","key"),5:(0,I.NC)("Method","method"),1:(0,I.NC)("Module","module"),2:(0,I.NC)("Namespace","namespace"),20:(0,I.NC)("Null","null"),15:(0,I.NC)("Number","number"),18:(0,I.NC)("Object","object"),24:(0,I.NC)("Operator","operator"),3:(0,I.NC)("Package","package"),6:(0,I.NC)("Property","property"),14:(0,I.NC)("String","string"),22:(0,I.NC)("Struct","struct"),25:(0,I.NC)("TypeParameter","type parameter"),12:(0,I.NC)("Variable","variable")};function F(e,t){return(0,I.NC)("symbolAriaLabel","{0} ({1})",e,O[t])}!function(e){let t=new Map;t.set(0,L.l.symbolFile),t.set(1,L.l.symbolModule),t.set(2,L.l.symbolNamespace),t.set(3,L.l.symbolPackage),t.set(4,L.l.symbolClass),t.set(5,L.l.symbolMethod),t.set(6,L.l.symbolProperty),t.set(7,L.l.symbolField),t.set(8,L.l.symbolConstructor),t.set(9,L.l.symbolEnum),t.set(10,L.l.symbolInterface),t.set(11,L.l.symbolFunction),t.set(12,L.l.symbolVariable),t.set(13,L.l.symbolConstant),t.set(14,L.l.symbolString),t.set(15,L.l.symbolNumber),t.set(16,L.l.symbolBoolean),t.set(17,L.l.symbolArray),t.set(18,L.l.symbolObject),t.set(19,L.l.symbolKey),t.set(20,L.l.symbolNull),t.set(21,L.l.symbolEnumMember),t.set(22,L.l.symbolStruct),t.set(23,L.l.symbolEvent),t.set(24,L.l.symbolOperator),t.set(25,L.l.symbolTypeParameter),e.toIcon=function(e){let i=t.get(e);return i||(console.info("No codicon found for SymbolKind "+e),i=L.l.symbolProperty),i}}(v||(v={}));class B{static fromValue(e){switch(e){case"comment":return B.Comment;case"imports":return B.Imports;case"region":return B.Region}return new B(e)}constructor(e){this.value=e}}B.Comment=new B("comment"),B.Imports=new B("imports"),B.Region=new B("region"),(a=b||(b={}))[a.AIGenerated=1]="AIGenerated",(d=C||(C={}))[d.Invoke=0]="Invoke",d[d.Automatic=1]="Automatic",(w||(w={})).is=function(e){return!!e&&"object"==typeof e&&"string"==typeof e.id&&"string"==typeof e.title},(h=y||(y={}))[h.Type=1]="Type",h[h.Parameter=2]="Parameter";class W{constructor(e){this.createSupport=e,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(e=>{e&&e.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}let H=new class{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new x.Q5,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._tokenizationSupports.set(e,t),this.handleChange([e]),(0,N.OF)(()=>{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var i;null===(i=this._factories.get(e))||void 0===i||i.dispose();let n=new E(this,e,t);return this._factories.set(e,n),(0,N.OF)(()=>{let t=this._factories.get(e);t&&t===n&&(this._factories.delete(e),t.dispose())})}async getOrCreate(e){let t=this.get(e);if(t)return t;let i=this._factories.get(e);return!i||i.isResolved?null:(await i.resolve(),this.get(e))}isResolved(e){let t=this.get(e);if(t)return!0;let i=this._factories.get(e);return!i||!!i.isResolved}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}};(u=S||(S={}))[u.Invoke=0]="Invoke",u[u.Automatic=1]="Automatic"},68295:function(e,t,i){"use strict";i.d(t,{$9:function(){return d},UF:function(){return a},n8:function(){return l},r7:function(){return r},tI:function(){return h}});var n=i(95612),s=i(78203),o=i(29063);function r(e,t,i,r=!0,l){if(e<4)return null;let a=l.getLanguageConfiguration(t.tokenization.getLanguageId()).indentRulesSupport;if(!a)return null;let d=new o.sW(t,a,l);if(i<=1)return{indentation:"",action:null};for(let e=i-1;e>0&&""===t.getLineContent(e);e--)if(1===e)return{indentation:"",action:null};let h=function(e,t,i){let n=e.tokenization.getLanguageIdAtPosition(t,0);if(t>1){let s;let o=-1;for(s=t-1;s>=1;s--){if(e.tokenization.getLanguageIdAtPosition(s,0)!==n)return o;let t=e.getLineContent(s);if(i.shouldIgnore(s)||/^\s+$/.test(t)||""===t){o=s;continue}return s}}return -1}(t,i,d);if(h<0)return null;if(h<1)return{indentation:"",action:null};if(d.shouldIncrease(h)||d.shouldIndentNextLine(h)){let e=t.getLineContent(h);return{indentation:n.V8(e),action:s.wU.Indent,line:h}}if(d.shouldDecrease(h)){let e=t.getLineContent(h);return{indentation:n.V8(e),action:null,line:h}}{if(1===h)return{indentation:n.V8(t.getLineContent(h)),action:null,line:h};let e=h-1,i=a.getIndentMetadata(t.getLineContent(e));if(!(3&i)&&4&i){let i=0;for(let t=e-1;t>0;t--)if(!d.shouldIndentNextLine(t)){i=t;break}return{indentation:n.V8(t.getLineContent(i+1)),action:null,line:i+1}}if(r)return{indentation:n.V8(t.getLineContent(h)),action:null,line:h};for(let e=h;e>0;e--){if(d.shouldIncrease(e))return{indentation:n.V8(t.getLineContent(e)),action:s.wU.Indent,line:e};if(d.shouldIndentNextLine(e)){let i=0;for(let t=e-1;t>0;t--)if(!d.shouldIndentNextLine(e)){i=t;break}return{indentation:n.V8(t.getLineContent(i+1)),action:null,line:i+1}}if(d.shouldDecrease(e))return{indentation:n.V8(t.getLineContent(e)),action:null,line:e}}return{indentation:n.V8(t.getLineContent(1)),action:null,line:1}}}function l(e,t,i,l,a,d){if(e<4)return null;let h=d.getLanguageConfiguration(i);if(!h)return null;let u=d.getLanguageConfiguration(i).indentRulesSupport;if(!u)return null;let c=new o.sW(t,u,d),g=r(e,t,l,void 0,d);if(g){let i=g.line;if(void 0!==i){let o=!0;for(let e=i;ee===d?m:t.tokenization.getLineTokens(e),getLanguageId:()=>t.getLanguageId(),getLanguageIdAtPosition:(e,i)=>t.getLanguageIdAtPosition(e,i)},getLineContent:e=>e===d?m.getLineContent():t.getLineContent(e)}),v=(0,o.Z1)(t,i.getStartPosition()),b=t.getLineContent(i.startLineNumber),C=n.V8(b),w=r(e,_,i.startLineNumber+1,void 0,a);if(!w){let e=v?C:f;return{beforeEnter:e,afterEnter:e}}let y=v?C:w.indentation;return w.action===s.wU.Indent&&(y=l.shiftIndent(y)),u.shouldDecrease(p.getLineContent())&&(y=l.unshiftIndent(y)),{beforeEnter:v?C:f,afterEnter:y}}function d(e,t,i,n,l,a){if(e<4)return null;let d=(0,o.Z1)(t,i.getStartPosition());if(d)return null;let h=t.getLanguageIdAtPosition(i.startLineNumber,i.startColumn),u=a.getLanguageConfiguration(h).indentRulesSupport;if(!u)return null;let c=new o.w$(t,a),g=c.getProcessedTokenContextAroundRange(i),p=g.beforeRangeProcessedTokens.getLineContent(),m=g.afterRangeProcessedTokens.getLineContent();if(!u.shouldDecrease(p+m)&&u.shouldDecrease(p+n+m)){let n=r(e,t,i.startLineNumber,!1,a);if(!n)return null;let o=n.indentation;return n.action!==s.wU.Indent&&(o=l.unshiftIndent(o)),o}return null}function h(e,t,i){let n=i.getLanguageConfiguration(e.getLanguageId()).indentRulesSupport;return!n||t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t))}},92037:function(e,t,i){"use strict";i.d(t,{A:function(){return r}});var n=i(78203),s=i(32712),o=i(29063);function r(e,t,i,r){t.tokenization.forceTokenization(i.startLineNumber);let l=t.getLanguageIdAtPosition(i.startLineNumber,i.startColumn),a=r.getLanguageConfiguration(l);if(!a)return null;let d=new o.w$(t,r),h=d.getProcessedTokenContextAroundRange(i),u=h.previousLineProcessedTokens.getLineContent(),c=h.beforeRangeProcessedTokens.getLineContent(),g=h.afterRangeProcessedTokens.getLineContent(),p=a.onEnter(e,u,c,g);if(!p)return null;let m=p.indentAction,f=p.appendText,_=p.removeText||0;f?m===n.wU.Indent&&(f=" "+f):f=m===n.wU.Indent||m===n.wU.IndentOutdent?" ":"";let v=(0,s.u0)(t,i.startLineNumber,i.startColumn);return _&&(v=v.substring(0,v.length-_)),{indentAction:m,appendText:f,removeText:_,indentation:v}}},77233:function(e,t,i){"use strict";i.d(t,{O:function(){return s}});var n=i(85327);let s=(0,n.yh)("languageService")},78203:function(e,t,i){"use strict";var n,s;i.d(t,{V6:function(){return o},c$:function(){return r},wU:function(){return n}}),(s=n||(n={}))[s.None=0]="None",s[s.Indent=1]="Indent",s[s.IndentOutdent=2]="IndentOutdent",s[s.Outdent=3]="Outdent";class o{constructor(e){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=e.open,this.close=e.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(e.notIn))for(let t=0,i=e.notIn.length;tnew l.V6(e)):e.brackets?this._autoClosingPairs=e.brackets.map(e=>new l.V6({open:e[0],close:e[1]})):this._autoClosingPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment){let t=e.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new l.V6({open:t.open,close:t.close||""}))}this._autoCloseBeforeForQuotes="string"==typeof e.autoCloseBefore?e.autoCloseBefore:a.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES,this._autoCloseBeforeForBrackets="string"==typeof e.autoCloseBefore?e.autoCloseBefore:a.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(e){return e?this._autoCloseBeforeForQuotes:this._autoCloseBeforeForBrackets}getSurroundingPairs(){return this._surroundingPairs}}a.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES=";:.,=}])> \n ",a.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS="'\"`;:.,=}])> \n ";var d=i(40789),h=i(80008),u=i(58713);class c{constructor(e){this._richEditBrackets=e}getElectricCharacters(){let e=[];if(this._richEditBrackets)for(let t of this._richEditBrackets.brackets)for(let i of t.close){let t=i.charAt(i.length-1);e.push(t)}return(0,d.EB)(e)}onElectricCharacter(e,t,i){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;let n=t.findTokenIndexAtOffset(i-1);if((0,h.Bu)(t.getStandardTokenType(n)))return null;let s=this._richEditBrackets.reversedRegex,o=t.getLineContent().substring(0,i-1)+e,r=u.Vr.findPrevBracketInRange(s,1,o,0,o.length);if(!r)return null;let l=o.substring(r.startColumn-1,r.endColumn-1).toLowerCase(),a=this._richEditBrackets.textIsOpenBracket[l];if(a)return null;let d=t.getActualLineContentBefore(r.startColumn-1);return/^\s*$/.test(d)?{matchOpenBracket:l}:null}}function g(e){return e.global&&(e.lastIndex=0),!0}class p{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&g(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&g(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&g(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&g(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(e))}getIndentMetadata(e){let t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}var m=i(32378);class f{constructor(e){(e=e||{}).brackets=e.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],e.brackets.forEach(e=>{let t=f._createOpenBracketRegExp(e[0]),i=f._createCloseBracketRegExp(e[1]);t&&i&&this._brackets.push({open:e[0],openRegExp:t,close:e[1],closeRegExp:i})}),this._regExpRules=e.onEnterRules||[]}onEnter(e,t,i,n){if(e>=3)for(let e=0,s=this._regExpRules.length;e!e.reg||(e.reg.lastIndex=0,e.reg.test(e.text)));if(o)return s.action}if(e>=2&&i.length>0&&n.length>0)for(let e=0,t=this._brackets.length;e=2&&i.length>0)for(let e=0,t=this._brackets.length;e{let t=new Set;return{info:new D(this,e,t),closing:t}}),s=new y.bQ(e=>{let t=new Set,i=new Set;return{info:new x(this,e,t,i),opening:t,openingColorized:i}});for(let[e,t]of i){let i=n.get(e),o=s.get(t);i.closing.add(o.info),o.opening.add(i.info)}let o=t.colorizedBracketPairs?L(t.colorizedBracketPairs):i.filter(e=>!("<"===e[0]&&">"===e[1]));for(let[e,t]of o){let i=n.get(e),o=s.get(t);i.closing.add(o.info),o.openingColorized.add(i.info),o.opening.add(i.info)}this._openingBrackets=new Map([...n.cachedValues].map(([e,t])=>[e,t.info])),this._closingBrackets=new Map([...s.cachedValues].map(([e,t])=>[e,t.info]))}get openingBrackets(){return[...this._openingBrackets.values()]}get closingBrackets(){return[...this._closingBrackets.values()]}getOpeningBracketInfo(e){return this._openingBrackets.get(e)}getClosingBracketInfo(e){return this._closingBrackets.get(e)}getBracketInfo(e){return this.getOpeningBracketInfo(e)||this.getClosingBracketInfo(e)}getBracketRegExp(e){let t=Array.from([...this._openingBrackets.keys(),...this._closingBrackets.keys()]);return(0,u.vd)(t,e)}}function L(e){return e.filter(([e,t])=>""!==e&&""!==t)}class k{constructor(e,t){this.config=e,this.bracketText=t}get languageId(){return this.config.languageId}}class D extends k{constructor(e,t,i){super(e,t),this.openedBrackets=i,this.isOpeningBracket=!0}}class x extends k{constructor(e,t,i,n){super(e,t),this.openingBrackets=i,this.openingColorizedBrackets=n,this.isOpeningBracket=!1}closes(e){return e.config===this.config&&this.openingBrackets.has(e)}closesColorized(e){return e.config===this.config&&this.openingColorizedBrackets.has(e)}getOpeningBrackets(){return[...this.openingBrackets]}}var N=function(e,t){return function(i,n){t(i,n,e)}};class E{constructor(e){this.languageId=e}affects(e){return!this.languageId||this.languageId===e}}let I=(0,_.yh)("languageConfigurationService"),T=class extends s.JT{constructor(e,t){super(),this.configurationService=e,this.languageService=t,this._registry=this._register(new W),this.onDidChangeEmitter=this._register(new n.Q5),this.onDidChange=this.onDidChangeEmitter.event,this.configurations=new Map;let i=new Set(Object.values(M));this._register(this.configurationService.onDidChangeConfiguration(e=>{let t=e.change.keys.some(e=>i.has(e)),n=e.change.overrides.filter(([e,t])=>t.some(e=>i.has(e))).map(([e])=>e);if(t)this.configurations.clear(),this.onDidChangeEmitter.fire(new E(void 0));else for(let e of n)this.languageService.isRegisteredLanguageId(e)&&(this.configurations.delete(e),this.onDidChangeEmitter.fire(new E(e)))})),this._register(this._registry.onDidChange(e=>{this.configurations.delete(e.languageId),this.onDidChangeEmitter.fire(new E(e.languageId))}))}register(e,t,i){return this._registry.register(e,t,i)}getLanguageConfiguration(e){let t=this.configurations.get(e);return t||(t=function(e,t,i,n){let s=t.getLanguageConfiguration(e);if(!s){if(!n.isRegisteredLanguageId(e))return new H(e,{});s=new H(e,{})}let o=function(e,t){let i=t.getValue(M.brackets,{overrideIdentifier:e}),n=t.getValue(M.colorizedBracketPairs,{overrideIdentifier:e});return{brackets:R(i),colorizedBracketPairs:R(n)}}(s.languageId,i),r=O([s.underlyingConfig,o]),l=new H(s.languageId,r);return l}(e,this._registry,this.configurationService,this.languageService),this.configurations.set(e,t)),t}};T=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([N(0,v.Ui),N(1,b.O)],T);let M={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function R(e){if(Array.isArray(e))return e.map(e=>{if(Array.isArray(e)&&2===e.length)return[e[0],e[1]]}).filter(e=>!!e)}function A(e,t,i){let n=e.getLineContent(t),s=o.V8(n);return s.length>i-1&&(s=s.substring(0,i-1)),s}class P{constructor(e){this.languageId=e,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(e,t){let i=new F(e,t,++this._order);return this._entries.push(i),this._resolved=null,(0,s.OF)(()=>{for(let e=0;ee.configuration)))}}function O(e){let t={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0};for(let i of e)t={comments:i.comments||t.comments,brackets:i.brackets||t.brackets,wordPattern:i.wordPattern||t.wordPattern,indentationRules:i.indentationRules||t.indentationRules,onEnterRules:i.onEnterRules||t.onEnterRules,autoClosingPairs:i.autoClosingPairs||t.autoClosingPairs,surroundingPairs:i.surroundingPairs||t.surroundingPairs,autoCloseBefore:i.autoCloseBefore||t.autoCloseBefore,folding:i.folding||t.folding,colorizedBracketPairs:i.colorizedBracketPairs||t.colorizedBracketPairs,__electricCharacterSupport:i.__electricCharacterSupport||t.__electricCharacterSupport};return t}class F{constructor(e,t,i){this.configuration=e,this.priority=t,this.order=i}static cmp(e,t){return e.priority===t.priority?e.order-t.order:e.priority-t.priority}}class B{constructor(e){this.languageId=e}}class W extends s.JT{constructor(){super(),this._entries=new Map,this._onDidChange=this._register(new n.Q5),this.onDidChange=this._onDidChange.event,this._register(this.register(w.bd,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],colorizedBracketPairs:[],folding:{offSide:!0}},0))}register(e,t,i=0){let n=this._entries.get(e);n||(n=new P(e),this._entries.set(e,n));let o=n.register(t,i);return this._onDidChange.fire(new B(e)),(0,s.OF)(()=>{o.dispose(),this._onDidChange.fire(new B(e))})}getLanguageConfiguration(e){let t=this._entries.get(e);return(null==t?void 0:t.getResolvedConfiguration())||null}}class H{constructor(e,t){this.languageId=e,this.underlyingConfig=t,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new f(this.underlyingConfig):null,this.comments=H._handleComments(this.underlyingConfig),this.characterPair=new a(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||r.Af,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new p(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{},this.bracketsNew=new S(e,this.underlyingConfig)}getWordDefinition(){return(0,r.eq)(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new u.EA(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new c(this.brackets)),this._electricCharacter}onEnter(e,t,i,n){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,i,n):null}getAutoClosingPairs(){return new l.c$(this.characterPair.getAutoClosingPairs())}getAutoCloseBeforeSet(e){return this.characterPair.getAutoCloseBeforeSet(e)}getSurroundingPairs(){return this.characterPair.getSurroundingPairs()}static _handleComments(e){let t=e.comments;if(!t)return null;let i={};if(t.lineComment&&(i.lineCommentToken=t.lineComment),t.blockComment){let[e,n]=t.blockComment;i.blockCommentStartToken=e,i.blockCommentEndToken=n}return i}}(0,C.z)(I,T,1)},27281:function(e,t,i){"use strict";i.d(t,{bd:function(){return d},dQ:function(){return a}});var n=i(82801),s=i(79915),o=i(34089),r=i(16735),l=i(73004);let a=new class{constructor(){this._onDidChangeLanguages=new s.Q5,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}registerLanguage(e){return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let t=0,i=this._languages.length;t>>0,new n.DI(i,null===t?s:t)}},80008:function(e,t,i){"use strict";function n(e,t){let i=e.getCount(),n=e.findTokenIndexAtOffset(t),o=e.getLanguageId(n),r=n;for(;r+10&&e.getLanguageId(l-1)===o;)l--;return new s(e,o,l,r+1,e.getStartOffset(l),e.getEndOffset(r))}i.d(t,{Bu:function(){return o},wH:function(){return n}});class s{constructor(e,t,i,n,s,o){this._scopedLineTokensBrand=void 0,this._actual=e,this.languageId=t,this._firstTokenIndex=i,this._lastTokenIndex=n,this.firstCharOffset=s,this._lastCharOffset=o,this.languageIdCodec=e.languageIdCodec}getLineContent(){let e=this._actual.getLineContent();return e.substring(this.firstCharOffset,this._lastCharOffset)}getLineLength(){return this._lastCharOffset-this.firstCharOffset}getActualLineContentBefore(e){let t=this._actual.getLineContent();return t.substring(0,this.firstCharOffset+e)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)}toIViewLineTokens(){return this._actual.sliceAndInflate(this.firstCharOffset,this._lastCharOffset,0)}}function o(e){return(3&e)!=0}},29063:function(e,t,i){"use strict";i.d(t,{Z1:function(){return d},sW:function(){return r},w$:function(){return l}});var n=i(95612),s=i(80008),o=i(94458);class r{constructor(e,t,i){this._indentRulesSupport=t,this._indentationLineProcessor=new a(e,i)}shouldIncrease(e,t){let i=this._indentationLineProcessor.getProcessedLine(e,t);return this._indentRulesSupport.shouldIncrease(i)}shouldDecrease(e,t){let i=this._indentationLineProcessor.getProcessedLine(e,t);return this._indentRulesSupport.shouldDecrease(i)}shouldIgnore(e,t){let i=this._indentationLineProcessor.getProcessedLine(e,t);return this._indentRulesSupport.shouldIgnore(i)}shouldIndentNextLine(e,t){let i=this._indentationLineProcessor.getProcessedLine(e,t);return this._indentRulesSupport.shouldIndentNextLine(i)}}class l{constructor(e,t){this.model=e,this.indentationLineProcessor=new a(e,t)}getProcessedTokenContextAroundRange(e){let t=this._getProcessedTokensBeforeRange(e),i=this._getProcessedTokensAfterRange(e),n=this._getProcessedPreviousLineTokens(e);return{beforeRangeProcessedTokens:t,afterRangeProcessedTokens:i,previousLineProcessedTokens:n}}_getProcessedTokensBeforeRange(e){let t;this.model.tokenization.forceTokenization(e.startLineNumber);let i=this.model.tokenization.getLineTokens(e.startLineNumber),n=(0,s.wH)(i,e.startColumn-1);if(d(this.model,e.getStartPosition())){let s=e.startColumn-1-n.firstCharOffset,o=n.firstCharOffset,r=o+s;t=i.sliceAndInflate(o,r,0)}else{let n=e.startColumn-1;t=i.sliceAndInflate(0,n,0)}let o=this.indentationLineProcessor.getProcessedTokens(t);return o}_getProcessedTokensAfterRange(e){let t=e.isEmpty()?e.getStartPosition():e.getEndPosition();this.model.tokenization.forceTokenization(t.lineNumber);let i=this.model.tokenization.getLineTokens(t.lineNumber),n=(0,s.wH)(i,t.column-1),o=t.column-1-n.firstCharOffset,r=n.firstCharOffset+o,l=n.firstCharOffset+n.getLineLength(),a=i.sliceAndInflate(r,l,0),d=this.indentationLineProcessor.getProcessedTokens(a);return d}_getProcessedPreviousLineTokens(e){this.model.tokenization.forceTokenization(e.startLineNumber);let t=this.model.tokenization.getLineTokens(e.startLineNumber),i=(0,s.wH)(t,e.startColumn-1),n=o.A.createEmpty("",i.languageIdCodec),r=e.startLineNumber-1,l=0===r;if(l)return n;let a=0===i.firstCharOffset;if(!a)return n;let d=(e=>{this.model.tokenization.forceTokenization(e);let t=this.model.tokenization.getLineTokens(e),i=this.model.getLineMaxColumn(e)-1,n=(0,s.wH)(t,i);return n})(r),h=i.languageId===d.languageId;if(!h)return n;let u=d.toIViewLineTokens(),c=this.indentationLineProcessor.getProcessedTokens(u);return c}}class a{constructor(e,t){this.model=e,this.languageConfigurationService=t}getProcessedLine(e,t){var i,s;null===(s=(i=this.model.tokenization).forceTokenization)||void 0===s||s.call(i,e);let o=this.model.tokenization.getLineTokens(e),r=this.getProcessedTokens(o).getLineContent();return void 0!==t&&(r=((e,t)=>{let i=n.V8(e),s=t+e.substring(i.length);return s})(r,t)),r}getProcessedTokens(e){let t=e=>2===e||3===e||1===e,i=e.getLanguageId(0),n=this.languageConfigurationService.getLanguageConfiguration(i).bracketsNew,s=n.getBracketRegExp({global:!0}),r=[];e.forEach(i=>{let n=e.getStandardTokenType(i),o=e.getTokenText(i);t(n)&&(o=o.replace(s,""));let l=e.getMetadata(i);r.push({text:o,metadata:l})});let l=o.A.createFromTextAndMetadata(r,e.languageIdCodec);return l}}function d(e,t){e.tokenization.forceTokenization(t.lineNumber);let i=e.tokenization.getLineTokens(t.lineNumber),n=(0,s.wH)(i,t.column-1),o=0===n.firstCharOffset,r=i.getLanguageId(0)===n.languageId;return!o&&!r}},58713:function(e,t,i){"use strict";let n,s;i.d(t,{EA:function(){return d},Vr:function(){return f},vd:function(){return p}});var o=i(95612),r=i(91797),l=i(70209);class a{constructor(e,t,i,n,s,o){this._richEditBracketBrand=void 0,this.languageId=e,this.index=t,this.open=i,this.close=n,this.forwardRegex=s,this.reversedRegex=o,this._openSet=a._toSet(this.open),this._closeSet=a._toSet(this.close)}isOpen(e){return this._openSet.has(e)}isClose(e){return this._closeSet.has(e)}static _toSet(e){let t=new Set;for(let i of e)t.add(i);return t}}class d{constructor(e,t){this._richEditBracketsBrand=void 0;let i=function(e){let t=e.length;e=e.map(e=>[e[0].toLowerCase(),e[1].toLowerCase()]);let i=[];for(let e=0;e{let[i,n]=e,[s,o]=t;return i===s||i===o||n===s||n===o},s=(e,n)=>{let s=Math.min(e,n),o=Math.max(e,n);for(let e=0;e0&&o.push({open:s,close:r})}return o}(t);for(let t of(this.brackets=i.map((t,n)=>new a(e,n,t.open,t.close,function(e,t,i,n){let s=[];s=(s=s.concat(e)).concat(t);for(let e=0,t=s.length;e=0&&n.push(t);for(let t of o.close)t.indexOf(e)>=0&&n.push(t)}}function u(e,t){return e.length-t.length}function c(e){if(e.length<=1)return e;let t=[],i=new Set;for(let n of e)i.has(n)||(t.push(n),i.add(n));return t}function g(e){let t=/^[\w ]+$/.test(e);return e=o.ec(e),t?`\\b${e}\\b`:e}function p(e,t){let i=`(${e.map(g).join(")|(")})`;return o.GF(i,!0,t)}let m=(n=null,s=null,function(e){return n!==e&&(s=function(e){let t=new Uint16Array(e.length),i=0;for(let n=e.length-1;n>=0;n--)t[i++]=e.charCodeAt(n);return r.oe().decode(t)}(n=e)),s});class f{static _findPrevBracketInText(e,t,i,n){let s=i.match(e);if(!s)return null;let o=i.length-(s.index||0),r=s[0].length,a=n+o;return new l.e(t,a-r+1,t,a+1)}static findPrevBracketInRange(e,t,i,n,s){let o=m(i),r=o.substring(i.length-s,i.length-n);return this._findPrevBracketInText(e,t,r,n)}static findNextBracketInText(e,t,i,n){let s=i.match(e);if(!s)return null;let o=s.index||0,r=s[0].length;if(0===r)return null;let a=n+o;return new l.e(t,a+1,t,a+1+r)}static findNextBracketInRange(e,t,i,n,s){let o=i.substring(n,s);return this.findNextBracketInText(e,t,o,n)}}},57221:function(e,t,i){"use strict";i.d(t,{C2:function(){return a},Fq:function(){return d}});var n=i(95612),s=i(94458),o=i(1863),r=i(46481);let l={getInitialState:()=>r.TJ,tokenizeEncoded:(e,t,i)=>(0,r.Dy)(0,i)};async function a(e,t,i){if(!i)return h(t,e.languageIdCodec,l);let n=await o.RW.getOrCreate(i);return h(t,e.languageIdCodec,n||l)}function d(e,t,i,n,s,o,r){let l="
    ",a=n,d=0,h=!0;for(let u=0,c=t.getCount();u0;)r&&h?(g+=" ",h=!1):(g+=" ",h=!0),e--;break}case 60:g+="<",h=!1;break;case 62:g+=">",h=!1;break;case 38:g+="&",h=!1;break;case 0:g+="�",h=!1;break;case 65279:case 8232:case 8233:case 133:g+="�",h=!1;break;case 13:g+="​",h=!1;break;case 32:r&&h?(g+=" ",h=!1):(g+=" ",h=!0);break;default:g+=String.fromCharCode(t),h=!1}}if(l+=`${g}`,c>s||a>=s)break}return l+"
    "}function h(e,t,i){let o='
    ',r=n.uq(e),l=i.getInitialState();for(let e=0,a=r.length;e0&&(o+="
    ");let d=i.tokenizeEncoded(a,!0,l);s.A.convertToEndOffset(d.tokens,a.length);let h=new s.A(d.tokens,a,t),u=h.inflate(),c=0;for(let e=0,t=u.getCount();e${n.YU(a.substring(c,i))}`,c=i}l=d.endState}return o+"
    "}},41407:function(e,t,i){"use strict";i.d(t,{Hf:function(){return c},Qi:function(){return g},RM:function(){return a},Tx:function(){return p},U:function(){return l},dJ:function(){return h},je:function(){return m},pt:function(){return f},sh:function(){return r},tk:function(){return u}});var n,s,o,r,l,a,d=i(16783);(n=r||(r={}))[n.Left=1]="Left",n[n.Center=2]="Center",n[n.Right=4]="Right",n[n.Full=7]="Full",(s=l||(l={}))[s.Left=1]="Left",s[s.Center=2]="Center",s[s.Right=3]="Right",(o=a||(a={}))[o.Both=0]="Both",o[o.Right=1]="Right",o[o.Left=2]="Left",o[o.None=3]="None";class h{get originalIndentSize(){return this._indentSizeIsTabSize?"tabSize":this.indentSize}constructor(e){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,0|e.tabSize),"tabSize"===e.indentSize?(this.indentSize=this.tabSize,this._indentSizeIsTabSize=!0):(this.indentSize=Math.max(1,0|e.indentSize),this._indentSizeIsTabSize=!1),this.insertSpaces=!!e.insertSpaces,this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=!!e.trimAutoWhitespace,this.bracketPairColorizationOptions=e.bracketPairColorizationOptions}equals(e){return this.tabSize===e.tabSize&&this._indentSizeIsTabSize===e._indentSizeIsTabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&(0,d.fS)(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class u{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}function c(e){return e&&"function"==typeof e.read}class g{constructor(e,t,i,n,s,o){this.identifier=e,this.range=t,this.text=i,this.forceMoveMarkers=n,this.isAutoWhitespaceEdit=s,this._isTracked=o}}class p{constructor(e,t,i){this.regex=e,this.wordSeparators=t,this.simpleSearch=i}}class m{constructor(e,t,i){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=i}}function f(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},18394:function(e,t,i){"use strict";i.d(t,{BH:function(){return f},Dm:function(){return v},Kd:function(){return a},Y0:function(){return d},n2:function(){return _}});var n=i(32378),s=i(21983),o=i(68358),r=i(41231);class l{get length(){return this._length}constructor(e){this._length=e}}class a extends l{static create(e,t,i){let n=e.length;return t&&(n=(0,o.Ii)(n,t.length)),i&&(n=(0,o.Ii)(n,i.length)),new a(n,e,t,i,t?t.missingOpeningBracketIds:r.tS.getEmpty())}get kind(){return 2}get listHeight(){return 0}get childrenLength(){return 3}getChild(e){switch(e){case 0:return this.openingBracket;case 1:return this.child;case 2:return this.closingBracket}throw Error("Invalid child index")}get children(){let e=[];return e.push(this.openingBracket),this.child&&e.push(this.child),this.closingBracket&&e.push(this.closingBracket),e}constructor(e,t,i,n,s){super(e),this.openingBracket=t,this.child=i,this.closingBracket=n,this.missingOpeningBracketIds=s}canBeReused(e){return!(null===this.closingBracket||e.intersects(this.missingOpeningBracketIds))}deepClone(){return new a(this.length,this.openingBracket.deepClone(),this.child&&this.child.deepClone(),this.closingBracket&&this.closingBracket.deepClone(),this.missingOpeningBracketIds)}computeMinIndentation(e,t){return this.child?this.child.computeMinIndentation((0,o.Ii)(e,this.openingBracket.length),t):Number.MAX_SAFE_INTEGER}}class d extends l{static create23(e,t,i,n=!1){let s=e.length,r=e.missingOpeningBracketIds;if(e.listHeight!==t.listHeight)throw Error("Invalid list heights");if(s=(0,o.Ii)(s,t.length),r=r.merge(t.missingOpeningBracketIds),i){if(e.listHeight!==i.listHeight)throw Error("Invalid list heights");s=(0,o.Ii)(s,i.length),r=r.merge(i.missingOpeningBracketIds)}return n?new u(s,e.listHeight+1,e,t,i,r):new h(s,e.listHeight+1,e,t,i,r)}static getEmpty(){return new g(o.xl,0,[],r.tS.getEmpty())}get kind(){return 4}get missingOpeningBracketIds(){return this._missingOpeningBracketIds}constructor(e,t,i){super(e),this.listHeight=t,this._missingOpeningBracketIds=i,this.cachedMinIndentation=-1}throwIfImmutable(){}makeLastElementMutable(){this.throwIfImmutable();let e=this.childrenLength;if(0===e)return;let t=this.getChild(e-1),i=4===t.kind?t.toMutable():t;return t!==i&&this.setChild(e-1,i),i}makeFirstElementMutable(){this.throwIfImmutable();let e=this.childrenLength;if(0===e)return;let t=this.getChild(0),i=4===t.kind?t.toMutable():t;return t!==i&&this.setChild(0,i),i}canBeReused(e){if(e.intersects(this.missingOpeningBracketIds)||0===this.childrenLength)return!1;let t=this;for(;4===t.kind;){let e=t.childrenLength;if(0===e)throw new n.he;t=t.getChild(e-1)}return t.canBeReused(e)}handleChildrenChanged(){this.throwIfImmutable();let e=this.childrenLength,t=this.getChild(0).length,i=this.getChild(0).missingOpeningBracketIds;for(let n=1;n{let t=n.e.lift(e.range);return new o((0,s.PZ)(t.getStartPosition()),(0,s.PZ)(t.getEndPosition()),(0,s.oR)(e.text))}).reverse();return t}constructor(e,t,i){this.startOffset=e,this.endOffset=t,this.newLength=i}toString(){return`[${(0,s.Hw)(this.startOffset)}...${(0,s.Hw)(this.endOffset)}) -> ${(0,s.Hw)(this.newLength)}`}}class r{constructor(e){this.nextEditIdx=0,this.deltaOldToNewLineCount=0,this.deltaOldToNewColumnCount=0,this.deltaLineIdxInOld=-1,this.edits=e.map(e=>l.from(e))}getOffsetBeforeChange(e){return this.adjustNextEdit(e),this.translateCurToOld(e)}getDistanceToNextChange(e){this.adjustNextEdit(e);let t=this.edits[this.nextEditIdx],i=t?this.translateOldToCur(t.offsetObj):null;return null===i?null:(0,s.BE)(e,i)}translateOldToCur(e){return e.lineCount===this.deltaLineIdxInOld?(0,s.Hg)(e.lineCount+this.deltaOldToNewLineCount,e.columnCount+this.deltaOldToNewColumnCount):(0,s.Hg)(e.lineCount+this.deltaOldToNewLineCount,e.columnCount)}translateCurToOld(e){let t=(0,s.Hw)(e);return t.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?(0,s.Hg)(t.lineCount-this.deltaOldToNewLineCount,t.columnCount-this.deltaOldToNewColumnCount):(0,s.Hg)(t.lineCount-this.deltaOldToNewLineCount,t.columnCount)}adjustNextEdit(e){for(;this.nextEditIdx{let t;return t=(0,n.ec)(e),/^[\w ]+/.test(e)&&(t=`\\b${t}`),/[\w ]+$/.test(e)&&(t=`${t}\\b`),t}).join("|")}}get regExpGlobal(){if(!this.hasRegExp){let e=this.getRegExpStr();this._regExpGlobal=e?RegExp(e,"gi"):null,this.hasRegExp=!0}return this._regExpGlobal}getToken(e){return this.map.get(e.toLowerCase())}findClosingTokenText(e){for(let[t,i]of this.map)if(2===i.kind&&i.bracketIds.intersects(e))return t}get isEmpty(){return 0===this.map.size}}class d{constructor(e,t){this.denseKeyProvider=e,this.getLanguageConfiguration=t,this.languageIdToBracketTokens=new Map}didLanguageChange(e){return this.languageIdToBracketTokens.has(e)}getSingleLanguageBracketTokens(e){let t=this.languageIdToBracketTokens.get(e);return t||(t=a.createFromLanguage(this.getLanguageConfiguration(e),this.denseKeyProvider),this.languageIdToBracketTokens.set(e,t)),t}}},7976:function(e,t,i){"use strict";i.d(t,{o:function(){return r}});var n=i(40789),s=i(52404),o=i(68358);function r(e,t){if(0===e.length)return t;if(0===t.length)return e;let i=new n.H9(a(e)),r=a(t);r.push({modified:!1,lengthBefore:void 0,lengthAfter:void 0});let d=i.dequeue(),h=[];function u(e,t,i){if(h.length>0&&(0,o.rM)(h[h.length-1].endOffset,e)){let e=h[h.length-1];h[h.length-1]=new s.Q(e.startOffset,t,(0,o.Ii)(e.newLength,i))}else h.push({startOffset:e,endOffset:t,newLength:i})}let c=o.xl;for(let e of r){let t=function(e){if(void 0===e){let e=i.takeWhile(e=>!0)||[];return d&&e.unshift(d),e}let t=[];for(;d&&!(0,o.xd)(e);){let[n,s]=d.splitAt(e);t.push(n),e=(0,o.BE)(n.lengthAfter,e),d=null!=s?s:i.dequeue()}return(0,o.xd)(e)||t.push(new l(!1,e,e)),t}(e.lengthBefore);if(e.modified){let i=(0,o.tQ)(t,e=>e.lengthBefore),n=(0,o.Ii)(c,i);u(c,n,e.lengthAfter),c=n}else for(let e of t){let t=c;c=(0,o.Ii)(c,e.lengthBefore),e.modified&&u(t,c,e.lengthAfter)}}return h}class l{constructor(e,t,i){this.modified=e,this.lengthBefore=t,this.lengthAfter=i}splitAt(e){let t=(0,o.BE)(e,this.lengthAfter);return(0,o.rM)(t,o.xl)?[this,void 0]:this.modified?[new l(this.modified,this.lengthBefore,e),new l(this.modified,o.xl,t)]:[new l(this.modified,e,e),new l(this.modified,t,t)]}toString(){return`${this.modified?"M":"U"}:${(0,o.Hw)(this.lengthBefore)} -> ${(0,o.Hw)(this.lengthAfter)}`}}function a(e){let t=[],i=o.xl;for(let n of e){let e=(0,o.BE)(i,n.startOffset);(0,o.xd)(e)||t.push(new l(!1,e,e));let s=(0,o.BE)(n.startOffset,n.endOffset);t.push(new l(!0,s,n.newLength)),i=n.endOffset}return t}},68358:function(e,t,i){"use strict";i.d(t,{BE:function(){return f},By:function(){return v},F_:function(){return c},Hg:function(){return d},Hw:function(){return h},Ii:function(){return g},PZ:function(){return C},Qw:function(){return w},VR:function(){return _},W9:function(){return u},Zq:function(){return b},av:function(){return r},oR:function(){return y},rM:function(){return m},tQ:function(){return p},xd:function(){return a},xl:function(){return l}});var n=i(95612),s=i(70209),o=i(98467);function r(e,t,i,n){return e!==i?d(i-e,n):d(0,n-t)}let l=0;function a(e){return 0===e}function d(e,t){return 67108864*e+t}function h(e){let t=Math.floor(e/67108864),i=e-67108864*t;return new o.A(t,i)}function u(e){return Math.floor(e/67108864)}function c(e){return e}function g(e,t){let i=e+t;return t>=67108864&&(i-=e%67108864),i}function p(e,t){return e.reduce((e,i)=>g(e,t(i)),l)}function m(e,t){return e===t}function f(e,t){if(t-e<=0)return l;let i=Math.floor(e/67108864),n=Math.floor(t/67108864),s=t-67108864*n;if(i!==n)return d(n-i,s);{let t=e-67108864*i;return d(0,s-t)}}function _(e,t){return e=t}function C(e){return d(e.lineNumber-1,e.column-1)}function w(e,t){let i=Math.floor(e/67108864),n=e-67108864*i,o=Math.floor(t/67108864),r=t-67108864*o;return new s.e(i+1,n+1,o+1,r+1)}function y(e){let t=(0,n.uq)(e);return d(t.length-1,t[t.length-1].length)}},43823:function(e,t,i){"use strict";i.d(t,{w:function(){return g}});var n=i(18394),s=i(52404),o=i(41231),r=i(68358);function l(e,t=!1){if(0===e.length)return null;if(1===e.length)return e[0];let i=e.length;for(;i>3;){let s=i>>1;for(let o=0;o=3?e[2]:null,t)}function a(e,t){return Math.abs(e.listHeight-t.listHeight)}function d(e,t){return e.listHeight===t.listHeight?n.Y0.create23(e,t,null,!1):e.listHeight>t.listHeight?function(e,t){let i;let s=e=e.toMutable(),o=[];for(;;){if(t.listHeight===s.listHeight){i=t;break}if(4!==s.kind)throw Error("unexpected");o.push(s),s=s.makeLastElementMutable()}for(let e=o.length-1;e>=0;e--){let t=o[e];i?t.childrenLength>=3?i=n.Y0.create23(t.unappendChild(),i,null,!1):(t.appendChildOfSameHeight(i),i=void 0):t.handleChildrenChanged()}return i?n.Y0.create23(e,i,null,!1):e}(e,t):function(e,t){let i=e=e.toMutable(),s=[];for(;t.listHeight!==i.listHeight;){if(4!==i.kind)throw Error("unexpected");s.push(i),i=i.makeFirstElementMutable()}let o=t;for(let e=s.length-1;e>=0;e--){let t=s[e];o?t.childrenLength>=3?o=n.Y0.create23(o,t.unprependChild(),null,!1):(t.prependChildOfSameHeight(o),o=void 0):t.handleChildrenChanged()}return o?n.Y0.create23(o,e,null,!1):e}(t,e)}class h{constructor(e){this.lastOffset=r.xl,this.nextNodes=[e],this.offsets=[r.xl],this.idxs=[]}readLongestNodeAt(e,t){if((0,r.VR)(e,this.lastOffset))throw Error("Invalid offset");for(this.lastOffset=e;;){let i=c(this.nextNodes);if(!i)return;let n=c(this.offsets);if((0,r.VR)(e,n))return;if((0,r.VR)(n,e)){if((0,r.Ii)(n,i.length)<=e)this.nextNodeAfterCurrent();else{let e=u(i);-1!==e?(this.nextNodes.push(i.getChild(e)),this.offsets.push(n),this.idxs.push(e)):this.nextNodeAfterCurrent()}}else{if(t(i))return this.nextNodeAfterCurrent(),i;{let e=u(i);if(-1===e){this.nextNodeAfterCurrent();return}this.nextNodes.push(i.getChild(e)),this.offsets.push(n),this.idxs.push(e)}}}}nextNodeAfterCurrent(){for(;;){let e=c(this.offsets),t=c(this.nextNodes);if(this.nextNodes.pop(),this.offsets.pop(),0===this.idxs.length)break;let i=c(this.nextNodes),n=u(i,this.idxs[this.idxs.length-1]);if(-1!==n){this.nextNodes.push(i.getChild(n)),this.offsets.push((0,r.Ii)(e,t.length)),this.idxs[this.idxs.length-1]=n;break}this.idxs.pop()}}}function u(e,t=-1){for(;;){if(++t>=e.childrenLength)return -1;if(e.getChild(t))return t}}function c(e){return e.length>0?e[e.length-1]:void 0}function g(e,t,i,n){let s=new p(e,t,i,n);return s.parseDocument()}class p{constructor(e,t,i,n){if(this.tokenizer=e,this.createImmutableLists=n,this._itemsConstructed=0,this._itemsFromCache=0,i&&n)throw Error("Not supported");this.oldNodeReader=i?new h(i):void 0,this.positionMapper=new s.Y(t)}parseDocument(){this._itemsConstructed=0,this._itemsFromCache=0;let e=this.parseList(o.tS.getEmpty(),0);return e||(e=n.Y0.getEmpty()),e}parseList(e,t){let i=[];for(;;){let n=this.tryReadChildFromCache(e);if(!n){let i=this.tokenizer.peek();if(!i||2===i.kind&&i.bracketIds.intersects(e))break;n=this.parseChild(e,t+1)}(4!==n.kind||0!==n.childrenLength)&&i.push(n)}let n=this.oldNodeReader?function(e){if(0===e.length)return null;if(1===e.length)return e[0];let t=0;function i(){if(t>=e.length)return null;let i=t,n=e[i].listHeight;for(t++;t=2?l(0===i&&t===e.length?e:e.slice(i,t),!1):e[i]}let n=i(),s=i();if(!s)return n;for(let e=i();e;e=i())a(n,s)<=a(s,e)?(n=d(n,s),s=e):s=d(s,e);let o=d(n,s);return o}(i):l(i,this.createImmutableLists);return n}tryReadChildFromCache(e){if(this.oldNodeReader){let t=this.positionMapper.getDistanceToNextChange(this.tokenizer.offset);if(null===t||!(0,r.xd)(t)){let i=this.oldNodeReader.readLongestNodeAt(this.positionMapper.getOffsetBeforeChange(this.tokenizer.offset),i=>{if(null!==t&&!(0,r.VR)(i.length,t))return!1;let n=i.canBeReused(e);return n});if(i)return this._itemsFromCache++,this.tokenizer.skip(i.length),i}}}parseChild(e,t){this._itemsConstructed++;let i=this.tokenizer.read();switch(i.kind){case 2:return new n.Dm(i.bracketIds,i.length);case 0:return i.astNode;case 1:{if(t>300)return new n.BH(i.length);let s=e.merge(i.bracketIds),o=this.parseList(s,t+1),r=this.tokenizer.peek();if(r&&2===r.kind&&(r.bracketId===i.bracketId||r.bracketIds.intersects(i.bracketIds)))return this.tokenizer.read(),n.Kd.create(i.astNode,o,r.astNode);return n.Kd.create(i.astNode,o,null)}default:throw Error("unexpected")}}}},41231:function(e,t,i){"use strict";i.d(t,{FE:function(){return r},Qw:function(){return o},tS:function(){return s}});let n=[];class s{static create(e,t){if(e<=128&&0===t.length){let i=s.cache[e];return i||(i=new s(e,t),s.cache[e]=i),i}return new s(e,t)}static getEmpty(){return this.empty}constructor(e,t){this.items=e,this.additionalItems=t}add(e,t){let i=t.getKey(e),n=i>>5;if(0===n){let e=1<e};class r{constructor(){this.items=new Map}getKey(e){let t=this.items.get(e);return void 0===t&&(t=this.items.size,this.items.set(e,t)),t}}},61336:function(e,t,i){"use strict";i.d(t,{WU:function(){return a},g:function(){return u},xH:function(){return d}});var n=i(32378),s=i(30664),o=i(18394),r=i(68358),l=i(41231);class a{constructor(e,t,i,n,s){this.length=e,this.kind=t,this.bracketId=i,this.bracketIds=n,this.astNode=s}}class d{constructor(e,t){this.textModel=e,this.bracketTokens=t,this.reader=new h(this.textModel,this.bracketTokens),this._offset=r.xl,this.didPeek=!1,this.peeked=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}get offset(){return this._offset}get length(){return(0,r.Hg)(this.textBufferLineCount-1,this.textBufferLastLineLength)}skip(e){this.didPeek=!1,this._offset=(0,r.Ii)(this._offset,e);let t=(0,r.Hw)(this._offset);this.reader.setPosition(t.lineCount,t.columnCount)}read(){let e;return this.peeked?(this.didPeek=!1,e=this.peeked):e=this.reader.read(),e&&(this._offset=(0,r.Ii)(this._offset,e.length)),e}peek(){return this.didPeek||(this.peeked=this.reader.read(),this.didPeek=!0),this.peeked}}class h{constructor(e,t){this.textModel=e,this.bracketTokens=t,this.lineIdx=0,this.line=null,this.lineCharOffset=0,this.lineTokens=null,this.lineTokenOffset=0,this.peekedToken=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}setPosition(e,t){e===this.lineIdx?(this.lineCharOffset=t,null!==this.line&&(this.lineTokenOffset=0===this.lineCharOffset?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset))):(this.lineIdx=e,this.lineCharOffset=t,this.line=null),this.peekedToken=null}read(){if(this.peekedToken){let e=this.peekedToken;return this.peekedToken=null,this.lineCharOffset+=(0,r.F_)(e.length),e}if(this.lineIdx>this.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;null===this.line&&(this.lineTokens=this.textModel.tokenization.getLineTokens(this.lineIdx+1),this.line=this.lineTokens.getLineContent(),this.lineTokenOffset=0===this.lineCharOffset?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset));let e=this.lineIdx,t=this.lineCharOffset,i=0;for(;;){let n=this.lineTokens,o=n.getCount(),l=null;if(this.lineTokenOffset1e3))break;if(i>1500)break}let n=(0,r.av)(e,t,this.lineIdx,this.lineCharOffset);return new a(n,0,-1,l.tS.getEmpty(),new o.BH(n))}}class u{constructor(e,t){let i;this.text=e,this._offset=r.xl,this.idx=0;let n=t.getRegExpStr(),s=n?RegExp(n+"|\n","gi"):null,d=[],h=0,u=0,c=0,g=0,p=[];for(let e=0;e<60;e++)p.push(new a((0,r.Hg)(0,e),0,-1,l.tS.getEmpty(),new o.BH((0,r.Hg)(0,e))));let m=[];for(let e=0;e<60;e++)m.push(new a((0,r.Hg)(1,e),0,-1,l.tS.getEmpty(),new o.BH((0,r.Hg)(1,e))));if(s)for(s.lastIndex=0;null!==(i=s.exec(e));){let e=i.index,n=i[0];if("\n"===n)h++,u=e+1;else{if(c!==e){let t;if(g===h){let i=e-c;if(i0&&(this.changes=(0,l.b)(this.changes,t)),this.afterEOL=i,this.afterVersionId=n,this.afterCursorState=s}static _writeSelectionsSize(e){return 4+16*(e?e.length:0)}static _writeSelections(e,t,i){if(a.T4(e,t?t.length:0,i),i+=4,t)for(let n of t)a.T4(e,n.selectionStartLineNumber,i),i+=4,a.T4(e,n.selectionStartColumn,i),i+=4,a.T4(e,n.positionLineNumber,i),i+=4,a.T4(e,n.positionColumn,i),i+=4;return i}static _readSelections(e,t,i){let n=a.Ag(e,t);t+=4;for(let s=0;se.toString()).join(", ")}matchesResource(e){let t=r.o.isUri(this.model)?this.model:this.model.uri;return t.toString()===e.toString()}setModel(e){this.model=e}canAppend(e){return this.model===e&&this._data instanceof u}append(e,t,i,n,s){this._data instanceof u&&this._data.append(e,t,i,n,s)}close(){this._data instanceof u&&(this._data=this._data.serialize())}open(){this._data instanceof u||(this._data=u.deserialize(this._data))}undo(){if(r.o.isUri(this.model))throw Error("Invalid SingleModelEditStackElement");this._data instanceof u&&(this._data=this._data.serialize());let e=u.deserialize(this._data);this.model._applyUndo(e.changes,e.beforeEOL,e.beforeVersionId,e.beforeCursorState)}redo(){if(r.o.isUri(this.model))throw Error("Invalid SingleModelEditStackElement");this._data instanceof u&&(this._data=this._data.serialize());let e=u.deserialize(this._data);this.model._applyRedo(e.changes,e.afterEOL,e.afterVersionId,e.afterCursorState)}heapSize(){return this._data instanceof u&&(this._data=this._data.serialize()),this._data.byteLength+168}}class g{get resources(){return this._editStackElementsArr.map(e=>e.resource)}constructor(e,t,i){for(let n of(this.label=e,this.code=t,this.type=1,this._isOpen=!0,this._editStackElementsArr=i.slice(0),this._editStackElementsMap=new Map,this._editStackElementsArr)){let e=h(n.resource);this._editStackElementsMap.set(e,n)}this._delegate=null}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(e){let t=h(e);return this._editStackElementsMap.has(t)}setModel(e){let t=h(r.o.isUri(e)?e:e.uri);this._editStackElementsMap.has(t)&&this._editStackElementsMap.get(t).setModel(e)}canAppend(e){if(!this._isOpen)return!1;let t=h(e.uri);if(this._editStackElementsMap.has(t)){let i=this._editStackElementsMap.get(t);return i.canAppend(e)}return!1}append(e,t,i,n,s){let o=h(e.uri),r=this._editStackElementsMap.get(o);r.append(e,t,i,n,s)}close(){this._isOpen=!1}open(){}undo(){for(let e of(this._isOpen=!1,this._editStackElementsArr))e.undo()}redo(){for(let e of this._editStackElementsArr)e.redo()}heapSize(e){let t=h(e);if(this._editStackElementsMap.has(t)){let e=this._editStackElementsMap.get(t);return e.heapSize()}return 0}split(){return this._editStackElementsArr}toString(){let e=[];for(let t of this._editStackElementsArr)e.push(`${(0,d.EZ)(t.resource)}: ${t}`);return`{${e.join(", ")}}`}}function p(e){let t=e.getEOL();return"\n"===t?0:1}function m(e){return!!e&&(e instanceof c||e instanceof g)}class f{constructor(e,t){this._model=e,this._undoRedoService=t}pushStackElement(){let e=this._undoRedoService.getLastElement(this._model.uri);m(e)&&e.close()}popStackElement(){let e=this._undoRedoService.getLastElement(this._model.uri);m(e)&&e.open()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(e,t){let i=this._undoRedoService.getLastElement(this._model.uri);if(m(i)&&i.canAppend(this._model))return i;let s=new c(n.NC("edit","Typing"),"undoredo.textBufferEdit",this._model,e);return this._undoRedoService.pushElement(s,t),s}pushEOL(e){let t=this._getOrCreateEditStackElement(null,void 0);this._model.setEOL(e),t.append(this._model,[],p(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(e,t,i,n){let s=this._getOrCreateEditStackElement(e,n),o=this._model.applyEdits(t,!0),r=f._computeCursorState(i,o),l=o.map((e,t)=>({index:t,textChange:e.textChange}));return l.sort((e,t)=>e.textChange.oldPosition===t.textChange.oldPosition?e.index-t.index:e.textChange.oldPosition-t.textChange.oldPosition),s.append(this._model,l.map(e=>e.textChange),p(this._model),this._model.getAlternativeVersionId(),r),r}static _computeCursorState(e,t){try{return e?e(t):null}catch(e){return(0,s.dL)(e),null}}}},1957:function(e,t,i){"use strict";i.d(t,{W:function(){return c},l:function(){return u}});var n=i(70365),s=i(95612),o=i(21983),r=i(70209),l=i(74927),a=i(37042),d=i(98965),h=i(32378);class u extends l.U{constructor(e,t){super(),this.textModel=e,this.languageConfigurationService=t}getLanguageConfiguration(e){return this.languageConfigurationService.getLanguageConfiguration(e)}_computeIndentLevel(e){return(0,a.q)(this.textModel.getLineContent(e+1),this.textModel.getOptions().tabSize)}getActiveIndentGuide(e,t,i){this.assertNotDisposed();let n=this.textModel.getLineCount();if(e<1||e>n)throw new h.he("Illegal value for lineNumber");let s=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,o=!!(s&&s.offSide),r=-2,l=-1,a=-2,d=-1,u=e=>{if(-1!==r&&(-2===r||r>e-1)){r=-1,l=-1;for(let t=e-2;t>=0;t--){let e=this._computeIndentLevel(t);if(e>=0){r=t,l=e;break}}}if(-2===a){a=-1,d=-1;for(let t=e;t=0){a=t,d=e;break}}}},c=-2,g=-1,p=-2,m=-1,f=e=>{if(-2===c){c=-1,g=-1;for(let t=e-2;t>=0;t--){let e=this._computeIndentLevel(t);if(e>=0){c=t,g=e;break}}}if(-1!==p&&(-2===p||p=0){p=t,m=e;break}}}},_=0,v=!0,b=0,C=!0,w=0,y=0;for(let s=0;v||C;s++){let r=e-s,h=e+s;s>1&&(r<1||r1&&(h>n||h>i)&&(C=!1),s>5e4&&(v=!1,C=!1);let p=-1;if(v&&r>=1){let e=this._computeIndentLevel(r-1);e>=0?(a=r-1,d=e,p=Math.ceil(e/this.textModel.getOptions().indentSize)):(u(r),p=this._getIndentLevelForWhitespaceLine(o,l,d))}let S=-1;if(C&&h<=n){let e=this._computeIndentLevel(h-1);e>=0?(c=h-1,g=e,S=Math.ceil(e/this.textModel.getOptions().indentSize)):(f(h),S=this._getIndentLevelForWhitespaceLine(o,g,m))}if(0===s){y=p;continue}if(1===s){if(h<=n&&S>=0&&y+1===S){v=!1,_=h,b=h,w=S;continue}if(r>=1&&p>=0&&p-1===y){C=!1,_=r,b=r,w=p;continue}if(_=e,b=e,0===(w=y))break}v&&(p>=w?_=r:v=!1),C&&(S>=w?b=h:C=!1)}return{startLineNumber:_,endLineNumber:b,indent:w}}getLinesBracketGuides(e,t,i,o){var l;let a;let h=[];for(let i=e;i<=t;i++)h.push([]);let u=this.textModel.bracketPairs.getBracketPairsInRangeWithMinIndentation(new r.e(e,1,t,this.textModel.getLineMaxColumn(t))).toArray();if(i&&u.length>0){let s=(e<=i.lineNumber&&i.lineNumber<=t?u:this.textModel.bracketPairs.getBracketPairsInRange(r.e.fromPositions(i)).toArray()).filter(e=>r.e.strictContainsPosition(e.range,i));a=null===(l=(0,n.dF)(s,e=>!0))||void 0===l?void 0:l.range}let g=this.textModel.getOptions().bracketPairColorizationOptions.independentColorPoolPerBracketType,p=new c;for(let i of u){if(!i.closingBracketRange)continue;let n=a&&i.range.equalsRange(a);if(!n&&!o.includeInactive)continue;let r=p.getInlineClassName(i.nestingLevel,i.nestingLevelOfEqualBracketType,g)+(o.highlightActive&&n?" "+p.activeClassName:""),l=i.openingBracketRange.getStartPosition(),u=i.closingBracketRange.getStartPosition(),c=o.horizontalGuides===d.s6.Enabled||o.horizontalGuides===d.s6.EnabledForActive&&n;if(i.range.startLineNumber===i.range.endLineNumber){c&&h[i.range.startLineNumber-e].push(new d.UO(-1,i.openingBracketRange.getEndPosition().column,r,new d.vW(!1,u.column),-1,-1));continue}let m=this.getVisibleColumnFromPosition(u),f=this.getVisibleColumnFromPosition(i.openingBracketRange.getStartPosition()),_=Math.min(f,m,i.minVisibleColumnIndentation+1),v=!1,b=s.LC(this.textModel.getLineContent(i.closingBracketRange.startLineNumber)),C=b=e&&f>_&&h[l.lineNumber-e].push(new d.UO(_,-1,r,new d.vW(!1,l.column),-1,-1)),u.lineNumber<=t&&m>_&&h[u.lineNumber-e].push(new d.UO(_,-1,r,new d.vW(!v,u.column),-1,-1)))}for(let e of h)e.sort((e,t)=>e.visibleColumn-t.visibleColumn);return h}getVisibleColumnFromPosition(e){return o.i.visibleColumnFromColumn(this.textModel.getLineContent(e.lineNumber),e.column,this.textModel.getOptions().tabSize)+1}getLinesIndentGuides(e,t){this.assertNotDisposed();let i=this.textModel.getLineCount();if(e<1||e>i)throw Error("Illegal value for startLineNumber");if(t<1||t>i)throw Error("Illegal value for endLineNumber");let n=this.textModel.getOptions(),s=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,o=!!(s&&s.offSide),r=Array(t-e+1),l=-2,a=-1,d=-2,h=-1;for(let s=e;s<=t;s++){let t=s-e,u=this._computeIndentLevel(s-1);if(u>=0){l=s-1,a=u,r[t]=Math.ceil(u/n.indentSize);continue}if(-2===l){l=-1,a=-1;for(let e=s-2;e>=0;e--){let t=this._computeIndentLevel(e);if(t>=0){l=e,a=t;break}}}if(-1!==d&&(-2===d||d=0){d=e,h=t;break}}}r[t]=this._getIndentLevelForWhitespaceLine(o,a,h)}return r}_getIndentLevelForWhitespaceLine(e,t,i){let n=this.textModel.getOptions();return -1===t||-1===i?0:t=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=(0,s.A)(e),t=(0,s.A)(t),this.values[e]!==t&&(this.values[e]=t,e-1=i.length)return!1;let o=i.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(i.length-t),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=(0,s.A)(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let i=t;i<=e;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,i=this.values.length-1,n=0,s=0,o=0;for(;t<=i;)if(n=t+(i-t)/2|0,e<(o=(s=this.prefixSum[n])-this.values[n]))i=n-1;else if(e>=s)t=n+1;else break;return new l(n,e-o)}}class r{constructor(e){this._values=e,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(e){return(this._ensureValid(),0===e)?0:this._prefixSum[e-1]}getIndexOf(e){this._ensureValid();let t=this._indexBySum[e],i=t>0?this._prefixSum[t-1]:0;return new l(t,e-i)}removeValues(e,t){this._values.splice(e,t),this._invalidate(e)}insertValues(e,t){this._values=(0,n.Zv)(this._values,e,t),this._invalidate(e)}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let e=this._validEndIndex+1,t=this._values.length;e0?this._prefixSum[e-1]:0;this._prefixSum[e]=i+t;for(let n=0;nnew D.Q((0,N.Hg)(e.fromLineNumber-1,0),(0,N.Hg)(e.toLineNumber,0),(0,N.Hg)(e.toLineNumber-e.fromLineNumber+1,0)));this.handleEdits(t,!0),this.initialAstWithoutTokens||this.didChangeEmitter.fire()}handleContentChanged(e){let t=D.Q.fromModelContentChanges(e.changes);this.handleEdits(t,!1)}handleEdits(e,t){let i=(0,M.o)(this.queuedTextEdits,e);this.queuedTextEdits=i,this.initialAstWithoutTokens&&!t&&(this.queuedTextEditsForInitialAstWithoutTokens=(0,M.o)(this.queuedTextEditsForInitialAstWithoutTokens,e))}flushQueue(){this.queuedTextEdits.length>0&&(this.astWithTokens=this.parseDocumentFromTextBuffer(this.queuedTextEdits,this.astWithTokens,!1),this.queuedTextEdits=[]),this.queuedTextEditsForInitialAstWithoutTokens.length>0&&(this.initialAstWithoutTokens&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer(this.queuedTextEditsForInitialAstWithoutTokens,this.initialAstWithoutTokens,!1)),this.queuedTextEditsForInitialAstWithoutTokens=[])}parseDocumentFromTextBuffer(e,t,i){let n=new T.xH(this.textModel,this.brackets),s=(0,E.w)(n,e,t,i);return s}getBracketsInRange(e,t){this.flushQueue();let i=(0,N.Hg)(e.startLineNumber-1,e.startColumn-1),n=(0,N.Hg)(e.endLineNumber-1,e.endColumn-1);return new s.W$(e=>{let s=this.initialAstWithoutTokens||this.astWithTokens;!function e(t,i,n,s,o,r,l,a,d,h,u=!1){if(l>200)return!0;i:for(;;)switch(t.kind){case 4:{let a=t.childrenLength;for(let u=0;u{let s=this.initialAstWithoutTokens||this.astWithTokens,o=new A(e,t,this.textModel);!function e(t,i,n,s,o,r,l,a){var d;if(l>200)return!0;let h=!0;if(2===t.kind){let u=0;if(a){let e=a.get(t.openingBracket.text);void 0===e&&(e=0),u=e,e++,a.set(t.openingBracket.text,e)}let c=(0,N.Ii)(i,t.openingBracket.length),g=-1;if(r.includeMinIndentation&&(g=t.computeMinIndentation(i,r.textModel)),h=r.push(new k((0,N.Qw)(i,n),(0,N.Qw)(i,c),t.closingBracket?(0,N.Qw)((0,N.Ii)(c,(null===(d=t.child)||void 0===d?void 0:d.length)||N.xl),n):void 0,l,u,t,g)),i=c,h&&t.child){let d=t.child;if(n=(0,N.Ii)(i,d.length),(0,N.By)(i,o)&&(0,N.Zq)(n,s)&&!(h=e(d,i,n,s,o,r,l+1,a)))return!1}null==a||a.set(t.openingBracket.text,u)}else{let n=i;for(let i of t.children){let t=n;if(n=(0,N.Ii)(n,i.length),(0,N.By)(t,o)&&(0,N.By)(s,n)&&!(h=e(i,t,n,s,o,r,l,a)))return!1}}return h}(s,N.xl,s.length,i,n,o,0,new Map)})}getFirstBracketAfter(e){this.flushQueue();let t=this.initialAstWithoutTokens||this.astWithTokens;return function e(t,i,n,s){if(4===t.kind||2===t.kind)for(let o of t.children){if(n=(0,N.Ii)(i,o.length),(0,N.VR)(s,n)){let t=e(o,i,n,s);if(t)return t}i=n}else if(3===t.kind);else if(1===t.kind){let e=(0,N.Qw)(i,n);return{bracketInfo:t.bracketInfo,range:e}}return null}(t,N.xl,t.length,(0,N.PZ)(e))}getFirstBracketBefore(e){this.flushQueue();let t=this.initialAstWithoutTokens||this.astWithTokens;return function e(t,i,n,s){if(4===t.kind||2===t.kind){let o=[];for(let e of t.children)n=(0,N.Ii)(i,e.length),o.push({nodeOffsetStart:i,nodeOffsetEnd:n}),i=n;for(let i=o.length-1;i>=0;i--){let{nodeOffsetStart:n,nodeOffsetEnd:r}=o[i];if((0,N.VR)(n,s)){let o=e(t.children[i],n,r,s);if(o)return o}}}else if(3===t.kind);else if(1===t.kind){let e=(0,N.Qw)(i,n);return{bracketInfo:t.bracketInfo,range:e}}return null}(t,N.xl,t.length,(0,N.PZ)(e))}}class A{constructor(e,t,i){this.push=e,this.includeMinIndentation=t,this.textModel=i}}class P extends a.JT{get canBuildAST(){return 5e6>=this.textModel.getValueLength()}constructor(e,t){super(),this.textModel=e,this.languageConfigurationService=t,this.bracketPairsTree=this._register(new a.XK),this.onDidChangeEmitter=new l.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.bracketsRequested=!1,this._register(this.languageConfigurationService.onDidChange(e=>{var t;(!e.languageId||(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.didLanguageChange(e.languageId)))&&(this.bracketPairsTree.clear(),this.updateBracketPairsTree())}))}handleDidChangeOptions(e){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeLanguage(e){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeContent(e){var t;null===(t=this.bracketPairsTree.value)||void 0===t||t.object.handleContentChanged(e)}handleDidChangeBackgroundTokenizationState(){var e;null===(e=this.bracketPairsTree.value)||void 0===e||e.object.handleDidChangeBackgroundTokenizationState()}handleDidChangeTokens(e){var t;null===(t=this.bracketPairsTree.value)||void 0===t||t.object.handleDidChangeTokens(e)}updateBracketPairsTree(){if(this.bracketsRequested&&this.canBuildAST){if(!this.bracketPairsTree.value){let e=new a.SL;this.bracketPairsTree.value={object:e.add(new R(this.textModel,e=>this.languageConfigurationService.getLanguageConfiguration(e))),dispose:()=>null==e?void 0:e.dispose()},e.add(this.bracketPairsTree.value.object.onDidChange(e=>this.onDidChangeEmitter.fire(e))),this.onDidChangeEmitter.fire()}}else this.bracketPairsTree.value&&(this.bracketPairsTree.clear(),this.onDidChangeEmitter.fire())}getBracketPairsInRange(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getBracketPairsInRange(e,!1))||s.W$.empty}getBracketPairsInRangeWithMinIndentation(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getBracketPairsInRange(e,!0))||s.W$.empty}getBracketsInRange(e,t=!1){var i;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(i=this.bracketPairsTree.value)||void 0===i?void 0:i.object.getBracketsInRange(e,t))||s.W$.empty}findMatchingBracketUp(e,t,i){let n=this.textModel.validatePosition(t),s=this.textModel.getLanguageIdAtPosition(n.lineNumber,n.column);if(this.canBuildAST){let i=this.languageConfigurationService.getLanguageConfiguration(s).bracketsNew.getClosingBracketInfo(e);if(!i)return null;let n=this.getBracketPairsInRange(m.e.fromPositions(t,t)).findLast(e=>i.closes(e.openingBracketInfo));return n?n.openingBracketRange:null}{let t=e.toLowerCase(),o=this.languageConfigurationService.getLanguageConfiguration(s).brackets;if(!o)return null;let r=o.textIsBracket[t];return r?B(this._findMatchingBracketUp(r,n,O(i))):null}}matchBracket(e,t){if(this.canBuildAST){let t=this.getBracketPairsInRange(m.e.fromPositions(e,e)).filter(t=>void 0!==t.closingBracketRange&&(t.openingBracketRange.containsPosition(e)||t.closingBracketRange.containsPosition(e))).findLastMaxBy((0,s.tT)(t=>t.openingBracketRange.containsPosition(e)?t.openingBracketRange:t.closingBracketRange,m.e.compareRangesUsingStarts));return t?[t.openingBracketRange,t.closingBracketRange]:null}{let i=O(t);return this._matchBracket(this.textModel.validatePosition(e),i)}}_establishBracketSearchOffsets(e,t,i,n){let s=t.getCount(),o=t.getLanguageId(n),r=Math.max(0,e.column-1-i.maxBracketLength);for(let e=n-1;e>=0;e--){let i=t.getEndOffset(e);if(i<=r)break;if((0,w.Bu)(t.getStandardTokenType(e))||t.getLanguageId(e)!==o){r=i;break}}let l=Math.min(t.getLineContent().length,e.column-1+i.maxBracketLength);for(let e=n+1;e=l)break;if((0,w.Bu)(t.getStandardTokenType(e))||t.getLanguageId(e)!==o){l=i;break}}return{searchStartOffset:r,searchEndOffset:l}}_matchBracket(e,t){let i=e.lineNumber,n=this.textModel.tokenization.getLineTokens(i),s=this.textModel.getLineContent(i),o=n.findTokenIndexAtOffset(e.column-1);if(o<0)return null;let r=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId(o)).brackets;if(r&&!(0,w.Bu)(n.getStandardTokenType(o))){let{searchStartOffset:l,searchEndOffset:a}=this._establishBracketSearchOffsets(e,n,r,o),d=null;for(;;){let n=y.Vr.findNextBracketInRange(r.forwardRegex,i,s,l,a);if(!n)break;if(n.startColumn<=e.column&&e.column<=n.endColumn){let e=s.substring(n.startColumn-1,n.endColumn-1).toLowerCase(),i=this._matchFoundBracket(n,r.textIsBracket[e],r.textIsOpenBracket[e],t);if(i){if(i instanceof F)return null;d=i}}l=n.endColumn-1}if(d)return d}if(o>0&&n.getStartOffset(o)===e.column-1){let r=o-1,l=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId(r)).brackets;if(l&&!(0,w.Bu)(n.getStandardTokenType(r))){let{searchStartOffset:o,searchEndOffset:a}=this._establishBracketSearchOffsets(e,n,l,r),d=y.Vr.findPrevBracketInRange(l.reversedRegex,i,s,o,a);if(d&&d.startColumn<=e.column&&e.column<=d.endColumn){let e=s.substring(d.startColumn-1,d.endColumn-1).toLowerCase(),i=this._matchFoundBracket(d,l.textIsBracket[e],l.textIsOpenBracket[e],t);if(i)return i instanceof F?null:i}}}return null}_matchFoundBracket(e,t,i,n){if(!t)return null;let s=i?this._findMatchingBracketDown(t,e.getEndPosition(),n):this._findMatchingBracketUp(t,e.getStartPosition(),n);return s?s instanceof F?s:[e,s]:null}_findMatchingBracketUp(e,t,i){let n=e.languageId,s=e.reversedRegex,o=-1,r=0,l=(t,n,l,a)=>{for(;;){if(i&&++r%100==0&&!i())return F.INSTANCE;let d=y.Vr.findPrevBracketInRange(s,t,n,l,a);if(!d)break;let h=n.substring(d.startColumn-1,d.endColumn-1).toLowerCase();if(e.isOpen(h)?o++:e.isClose(h)&&o--,0===o)return d;a=d.startColumn-1}return null};for(let e=t.lineNumber;e>=1;e--){let i=this.textModel.tokenization.getLineTokens(e),s=i.getCount(),o=this.textModel.getLineContent(e),r=s-1,a=o.length,d=o.length;e===t.lineNumber&&(r=i.findTokenIndexAtOffset(t.column-1),a=t.column-1,d=t.column-1);let h=!0;for(;r>=0;r--){let t=i.getLanguageId(r)===n&&!(0,w.Bu)(i.getStandardTokenType(r));if(t)h?a=i.getStartOffset(r):(a=i.getStartOffset(r),d=i.getEndOffset(r));else if(h&&a!==d){let t=l(e,o,a,d);if(t)return t}h=t}if(h&&a!==d){let t=l(e,o,a,d);if(t)return t}}return null}_findMatchingBracketDown(e,t,i){let n=e.languageId,s=e.forwardRegex,o=1,r=0,l=(t,n,l,a)=>{for(;;){if(i&&++r%100==0&&!i())return F.INSTANCE;let d=y.Vr.findNextBracketInRange(s,t,n,l,a);if(!d)break;let h=n.substring(d.startColumn-1,d.endColumn-1).toLowerCase();if(e.isOpen(h)?o++:e.isClose(h)&&o--,0===o)return d;l=d.endColumn-1}return null},a=this.textModel.getLineCount();for(let e=t.lineNumber;e<=a;e++){let i=this.textModel.tokenization.getLineTokens(e),s=i.getCount(),o=this.textModel.getLineContent(e),r=0,a=0,d=0;e===t.lineNumber&&(r=i.findTokenIndexAtOffset(t.column-1),a=t.column-1,d=t.column-1);let h=!0;for(;r=1;e--){let t=this.textModel.tokenization.getLineTokens(e),r=t.getCount(),l=this.textModel.getLineContent(e),a=r-1,d=l.length,h=l.length;if(e===i.lineNumber){a=t.findTokenIndexAtOffset(i.column-1),d=i.column-1,h=i.column-1;let e=t.getLanguageId(a);n!==e&&(n=e,s=this.languageConfigurationService.getLanguageConfiguration(n).brackets,o=this.languageConfigurationService.getLanguageConfiguration(n).bracketsNew)}let u=!0;for(;a>=0;a--){let i=t.getLanguageId(a);if(n!==i){if(s&&o&&u&&d!==h){let t=y.Vr.findPrevBracketInRange(s.reversedRegex,e,l,d,h);if(t)return this._toFoundBracket(o,t);u=!1}n=i,s=this.languageConfigurationService.getLanguageConfiguration(n).brackets,o=this.languageConfigurationService.getLanguageConfiguration(n).bracketsNew}let r=!!s&&!(0,w.Bu)(t.getStandardTokenType(a));if(r)u?d=t.getStartOffset(a):(d=t.getStartOffset(a),h=t.getEndOffset(a));else if(o&&s&&u&&d!==h){let t=y.Vr.findPrevBracketInRange(s.reversedRegex,e,l,d,h);if(t)return this._toFoundBracket(o,t)}u=r}if(o&&s&&u&&d!==h){let t=y.Vr.findPrevBracketInRange(s.reversedRegex,e,l,d,h);if(t)return this._toFoundBracket(o,t)}}return null}findNextBracket(e){var t;let i=this.textModel.validatePosition(e);if(this.canBuildAST)return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getFirstBracketAfter(i))||null;let n=this.textModel.getLineCount(),s=null,o=null,r=null;for(let e=i.lineNumber;e<=n;e++){let t=this.textModel.tokenization.getLineTokens(e),n=t.getCount(),l=this.textModel.getLineContent(e),a=0,d=0,h=0;if(e===i.lineNumber){a=t.findTokenIndexAtOffset(i.column-1),d=i.column-1,h=i.column-1;let e=t.getLanguageId(a);s!==e&&(s=e,o=this.languageConfigurationService.getLanguageConfiguration(s).brackets,r=this.languageConfigurationService.getLanguageConfiguration(s).bracketsNew)}let u=!0;for(;avoid 0!==t.closingBracketRange&&t.range.strictContainsRange(e));return t?[t.openingBracketRange,t.closingBracketRange]:null}let n=O(t),s=this.textModel.getLineCount(),o=new Map,r=[],l=(e,t)=>{if(!o.has(e)){let i=[];for(let e=0,n=t?t.brackets.length:0;e{for(;;){if(n&&++a%100==0&&!n())return F.INSTANCE;let l=y.Vr.findNextBracketInRange(e.forwardRegex,t,i,s,o);if(!l)break;let d=i.substring(l.startColumn-1,l.endColumn-1).toLowerCase(),h=e.textIsBracket[d];if(h&&(h.isOpen(d)?r[h.index]++:h.isClose(d)&&r[h.index]--,-1===r[h.index]))return this._matchFoundBracket(l,h,!1,n);s=l.endColumn-1}return null},h=null,u=null;for(let e=i.lineNumber;e<=s;e++){let t=this.textModel.tokenization.getLineTokens(e),n=t.getCount(),s=this.textModel.getLineContent(e),o=0,r=0,a=0;if(e===i.lineNumber){o=t.findTokenIndexAtOffset(i.column-1),r=i.column-1,a=i.column-1;let e=t.getLanguageId(o);h!==e&&(h=e,u=this.languageConfigurationService.getLanguageConfiguration(h).brackets,l(h,u))}let c=!0;for(;o!0;{let t=Date.now();return()=>Date.now()-t<=e}}class F{constructor(){this._searchCanceledBrand=void 0}}function B(e){return e instanceof F?null:e}F.INSTANCE=new F;var W=i(34109),H=i(55150);class V extends a.JT{constructor(e){super(),this.textModel=e,this.colorProvider=new z,this.onDidChangeEmitter=new l.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.colorizationOptions=e.getOptions().bracketPairColorizationOptions,this._register(e.bracketPairs.onDidChange(e=>{this.onDidChangeEmitter.fire()}))}handleDidChangeOptions(e){this.colorizationOptions=this.textModel.getOptions().bracketPairColorizationOptions}getDecorationsInRange(e,t,i,n){if(n||void 0===t||!this.colorizationOptions.enabled)return[];let s=this.textModel.bracketPairs.getBracketsInRange(e,!0).map(e=>({id:`bracket${e.range.toString()}-${e.nestingLevel}`,options:{description:"BracketPairColorization",inlineClassName:this.colorProvider.getInlineClassName(e,this.colorizationOptions.independentColorPoolPerBracketType)},ownerId:0,range:e.range})).toArray();return s}getAllDecorations(e,t){return void 0!==e&&this.colorizationOptions.enabled?this.getDecorationsInRange(new m.e(1,1,this.textModel.getLineCount(),1),e,t):[]}}class z{constructor(){this.unexpectedClosingBracketClassName="unexpected-closing-bracket"}getInlineClassName(e,t){return e.isInvalid?this.unexpectedClosingBracketClassName:this.getInlineClassNameOfLevel(t?e.nestingLevelOfEqualBracketType:e.nestingLevel)}getInlineClassNameOfLevel(e){return`bracket-highlighting-${e%30}`}}(0,H.Ic)((e,t)=>{let i=[W.zJ,W.Vs,W.CE,W.UP,W.r0,W.m1],n=new z;t.addRule(`.monaco-editor .${n.unexpectedClosingBracketClassName} { color: ${e.getColor(W.ts)}; }`);let s=i.map(t=>e.getColor(t)).filter(e=>!!e).filter(e=>!e.isTransparent());for(let e=0;e<30;e++){let i=s[e%s.length];t.addRule(`.monaco-editor .${n.getInlineClassNameOfLevel(e)} { color: ${i}; }`)}});var K=i(64799),U=i(1957);class ${constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function q(e,t,i){let n=Math.min(e.getLineCount(),1e4),s=0,o=0,r="",l=0,a=[0,0,0,0,0,0,0,0,0],d=new $;for(let h=1;h<=n;h++){let n=e.getLineLength(h),u=e.getLineContent(h),c=n<=65536,g=!1,p=0,m=0,f=0;for(let t=0;t0?s++:m>1&&o++,!function(e,t,i,n,s){let o;for(o=0,s.spacesDiff=0,s.looksLikeAlignment=!1;o0&&l>0||a>0&&d>0)return;let h=Math.abs(l-d),u=Math.abs(r-a);if(0===h){s.spacesDiff=u,u>0&&0<=a-1&&a-1{let i=a[t];i>e&&(e=i,u=t)}),4===u&&a[4]>0&&a[2]>0&&a[2]>=a[4]/2&&(u=2)}return{insertSpaces:h,tabSize:u}}function j(e){return(1&e.metadata)>>>0}function G(e,t){e.metadata=254&e.metadata|t<<0}function Q(e){return(2&e.metadata)>>>1==1}function Z(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function Y(e){return(4&e.metadata)>>>2==1}function J(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function X(e){return(64&e.metadata)>>>6==1}function ee(e,t){e.metadata=191&e.metadata|(t?1:0)<<6}function et(e,t){e.metadata=231&e.metadata|t<<3}function ei(e,t){e.metadata=223&e.metadata|(t?1:0)<<5}class en{constructor(e,t,i){this.metadata=0,this.parent=this,this.left=this,this.right=this,G(this,1),this.start=t,this.end=i,this.delta=0,this.maxEnd=i,this.id=e,this.ownerId=0,this.options=null,J(this,!1),ee(this,!1),et(this,1),ei(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=i,this.range=null,Z(this,!1)}reset(e,t,i,n){this.start=t,this.end=i,this.maxEnd=i,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=i,this.range=n}setOptions(e){this.options=e;let t=this.options.className;J(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),ee(this,null!==this.options.glyphMarginClassName),et(this,this.options.stickiness),ei(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(e,t,i){this.cachedVersionId!==i&&(this.range=null),this.cachedVersionId=i,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t}detach(){this.parent=null,this.left=null,this.right=null}}let es=new en(null,0,0);es.parent=es,es.left=es,es.right=es,G(es,0);class eo{constructor(){this.root=es,this.requestNormalizeDelta=!1}intervalSearch(e,t,i,n,s,o){return this.root===es?[]:function(e,t,i,n,s,o,r){let l=e.root,a=0,d=0,h=0,u=[],c=0;for(;l!==es;){if(Q(l)){Z(l.left,!1),Z(l.right,!1),l===l.parent.right&&(a-=l.parent.delta),l=l.parent;continue}if(!Q(l.left)){if(a+l.maxEndi){Z(l,!0);continue}if((h=a+l.end)>=t){l.setCachedOffsets(d,h,o);let e=!0;n&&l.ownerId&&l.ownerId!==n&&(e=!1),s&&Y(l)&&(e=!1),r&&!X(l)&&(e=!1),e&&(u[c++]=l)}if(Z(l,!0),l.right!==es&&!Q(l.right)){a+=l.delta,l=l.right;continue}}return Z(e.root,!1),u}(this,e,t,i,n,s,o)}search(e,t,i,n){return this.root===es?[]:function(e,t,i,n,s){let o=e.root,r=0,l=0,a=0,d=[],h=0;for(;o!==es;){if(Q(o)){Z(o.left,!1),Z(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),o=o.parent;continue}if(o.left!==es&&!Q(o.left)){o=o.left;continue}l=r+o.start,a=r+o.end,o.setCachedOffsets(l,a,n);let e=!0;if(t&&o.ownerId&&o.ownerId!==t&&(e=!1),i&&Y(o)&&(e=!1),s&&!X(o)&&(e=!1),e&&(d[h++]=o),Z(o,!0),o.right!==es&&!Q(o.right)){r+=o.delta,o=o.right;continue}}return Z(e.root,!1),d}(this,e,t,i,n)}collectNodesFromOwner(e){return function(e,t){let i=e.root,n=[],s=0;for(;i!==es;){if(Q(i)){Z(i.left,!1),Z(i.right,!1),i=i.parent;continue}if(i.left!==es&&!Q(i.left)){i=i.left;continue}if(i.ownerId===t&&(n[s++]=i),Z(i,!0),i.right!==es&&!Q(i.right)){i=i.right;continue}}return Z(e.root,!1),n}(this,e)}collectNodesPostOrder(){return function(e){let t=e.root,i=[],n=0;for(;t!==es;){if(Q(t)){Z(t.left,!1),Z(t.right,!1),t=t.parent;continue}if(t.left!==es&&!Q(t.left)){t=t.left;continue}if(t.right!==es&&!Q(t.right)){t=t.right;continue}i[n++]=t,Z(t,!0)}return Z(e.root,!1),i}(this)}insert(e){el(this,e),this._normalizeDeltaIfNecessary()}delete(e){ea(this,e),this._normalizeDeltaIfNecessary()}resolveNode(e,t){let i=e,n=0;for(;e!==this.root;)e===e.parent.right&&(n+=e.parent.delta),e=e.parent;let s=i.start+n,o=i.end+n;i.setCachedOffsets(s,o,t)}acceptReplace(e,t,i,n){let s=function(e,t,i){let n=e.root,s=0,o=0,r=0,l=[],a=0;for(;n!==es;){if(Q(n)){Z(n.left,!1),Z(n.right,!1),n===n.parent.right&&(s-=n.parent.delta),n=n.parent;continue}if(!Q(n.left)){if(s+n.maxEndi){Z(n,!0);continue}if((r=s+n.end)>=t&&(n.setCachedOffsets(o,r,0),l[a++]=n),Z(n,!0),n.right!==es&&!Q(n.right)){s+=n.delta,n=n.right;continue}}return Z(e.root,!1),l}(this,e,e+t);for(let e=0,t=s.length;ei){s.start+=r,s.end+=r,s.delta+=r,(s.delta<-1073741824||s.delta>1073741824)&&(e.requestNormalizeDelta=!0),Z(s,!0);continue}if(Z(s,!0),s.right!==es&&!Q(s.right)){o+=s.delta,s=s.right;continue}}Z(e.root,!1)}(this,e,e+t,i),this._normalizeDeltaIfNecessary();for(let o=0,r=s.length;o>>3,r=0===o||2===o,l=1===o||2===o,a=i-t,d=Math.min(a,n),h=e.start,u=!1,c=e.end,g=!1;t<=h&&c<=i&&(32&e.metadata)>>>5==1&&(e.start=t,u=!0,e.end=t,g=!0);{let e=s?1:a>0?2:0;!u&&er(h,r,t,e)&&(u=!0),!g&&er(c,l,t,e)&&(g=!0)}if(d>0&&!s){let e=a>n?2:0;!u&&er(h,r,t+d,e)&&(u=!0),!g&&er(c,l,t+d,e)&&(g=!0)}{let o=s?1:0;!u&&er(h,r,i,o)&&(e.start=t+n,u=!0),!g&&er(c,l,i,o)&&(e.end=t+n,g=!0)}let p=n-a;u||(e.start=Math.max(0,h+p)),g||(e.end=Math.max(0,c+p)),e.start>e.end&&(e.end=e.start)}(r,e,e+t,i,n),r.maxEnd=r.end,el(this,r)}this._normalizeDeltaIfNecessary()}_normalizeDeltaIfNecessary(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,function(e){let t=e.root,i=0;for(;t!==es;){if(t.left!==es&&!Q(t.left)){t=t.left;continue}if(t.right!==es&&!Q(t.right)){i+=t.delta,t=t.right;continue}t.start=i+t.start,t.end=i+t.end,t.delta=0,eg(t),Z(t,!0),Z(t.left,!1),Z(t.right,!1),t===t.parent.right&&(i-=t.parent.delta),t=t.parent}Z(e.root,!1)}(this))}}function er(e,t,i,n){return ei)&&1!==n&&(2===n||t)}function el(e,t){if(e.root===es)return t.parent=es,t.left=es,t.right=es,G(t,0),e.root=t,e.root;(function(e,t){let i=0,n=e.root,s=t.start,o=t.end;for(;;){var r,l;let e=(r=n.start+i,l=n.end+i,s===r?o-l:s-r);if(e<0){if(n.left===es){t.start-=i,t.end-=i,t.maxEnd-=i,n.left=t;break}n=n.left}else{if(n.right===es){t.start-=i+n.delta,t.end-=i+n.delta,t.maxEnd-=i+n.delta,n.right=t;break}i+=n.delta,n=n.right}}t.parent=n,t.left=es,t.right=es,G(t,1)})(e,t),ep(t.parent);let i=t;for(;i!==e.root&&1===j(i.parent);)if(i.parent===i.parent.parent.left){let t=i.parent.parent.right;1===j(t)?(G(i.parent,0),G(t,0),G(i.parent.parent,1),i=i.parent.parent):(i===i.parent.right&&eh(e,i=i.parent),G(i.parent,0),G(i.parent.parent,1),eu(e,i.parent.parent))}else{let t=i.parent.parent.left;1===j(t)?(G(i.parent,0),G(t,0),G(i.parent.parent,1),i=i.parent.parent):(i===i.parent.left&&eu(e,i=i.parent),G(i.parent,0),G(i.parent.parent,1),eh(e,i.parent.parent))}return G(e.root,0),t}function ea(e,t){let i,n,s;if(t.left===es?(i=t.right,n=t,i.delta+=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta):t.right===es?(i=t.left,n=t):(i=(n=function(e){for(;e.left!==es;)e=e.left;return e}(t.right)).right,i.start+=n.delta,i.end+=n.delta,i.delta+=n.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,n.delta=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0)),n===e.root){e.root=i,G(i,0),t.detach(),ed(),eg(i),e.root.parent=es;return}let o=1===j(n);if(n===n.parent.left?n.parent.left=i:n.parent.right=i,n===t?i.parent=n.parent:(n.parent===t?i.parent=n:i.parent=n.parent,n.left=t.left,n.right=t.right,n.parent=t.parent,G(n,j(t)),t===e.root?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left!==es&&(n.left.parent=n),n.right!==es&&(n.right.parent=n)),t.detach(),o){ep(i.parent),n!==t&&(ep(n),ep(n.parent)),ed();return}for(ep(i),ep(i.parent),n!==t&&(ep(n),ep(n.parent));i!==e.root&&0===j(i);)i===i.parent.left?(1===j(s=i.parent.right)&&(G(s,0),G(i.parent,1),eh(e,i.parent),s=i.parent.right),0===j(s.left)&&0===j(s.right)?(G(s,1),i=i.parent):(0===j(s.right)&&(G(s.left,0),G(s,1),eu(e,s),s=i.parent.right),G(s,j(i.parent)),G(i.parent,0),G(s.right,0),eh(e,i.parent),i=e.root)):(1===j(s=i.parent.left)&&(G(s,0),G(i.parent,1),eu(e,i.parent),s=i.parent.left),0===j(s.left)&&0===j(s.right)?(G(s,1),i=i.parent):(0===j(s.left)&&(G(s.right,0),G(s,1),eh(e,s),s=i.parent.left),G(s,j(i.parent)),G(i.parent,0),G(s.left,0),eu(e,i.parent),i=e.root));G(i,0),ed()}function ed(){es.parent=es,es.delta=0,es.start=0,es.end=0}function eh(e,t){let i=t.right;i.delta+=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta,t.right=i.left,i.left!==es&&(i.left.parent=t),i.parent=t.parent,t.parent===es?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left=t,t.parent=i,eg(t),eg(i)}function eu(e,t){let i=t.left;t.delta-=i.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=i.delta,t.end-=i.delta,t.left=i.right,i.right!==es&&(i.right.parent=t),i.parent=t.parent,t.parent===es?e.root=i:t===t.parent.right?t.parent.right=i:t.parent.left=i,i.right=t,t.parent=i,eg(t),eg(i)}function ec(e){let t=e.end;if(e.left!==es){let i=e.left.maxEnd;i>t&&(t=i)}if(e.right!==es){let i=e.right.maxEnd+e.delta;i>t&&(t=i)}return t}function eg(e){e.maxEnd=ec(e)}function ep(e){for(;e!==es;){let t=ec(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}class em{constructor(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==ef)return e_(this.right);let e=this;for(;e.parent!==ef&&e.parent.left!==e;)e=e.parent;return e.parent===ef?ef:e.parent}prev(){if(this.left!==ef)return ev(this.left);let e=this;for(;e.parent!==ef&&e.parent.right!==e;)e=e.parent;return e.parent===ef?ef:e.parent}detach(){this.parent=null,this.left=null,this.right=null}}let ef=new em(null,0);function e_(e){for(;e.left!==ef;)e=e.left;return e}function ev(e){for(;e.right!==ef;)e=e.right;return e}function eb(e){return e===ef?0:e.size_left+e.piece.length+eb(e.right)}function eC(e){return e===ef?0:e.lf_left+e.piece.lineFeedCnt+eC(e.right)}function ew(){ef.parent=ef}function ey(e,t){let i=t.right;i.size_left+=t.size_left+(t.piece?t.piece.length:0),i.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=i.left,i.left!==ef&&(i.left.parent=t),i.parent=t.parent,t.parent===ef?e.root=i:t.parent.left===t?t.parent.left=i:t.parent.right=i,i.left=t,t.parent=i}function eS(e,t){let i=t.left;t.left=i.right,i.right!==ef&&(i.right.parent=t),i.parent=t.parent,t.size_left-=i.size_left+(i.piece?i.piece.length:0),t.lf_left-=i.lf_left+(i.piece?i.piece.lineFeedCnt:0),t.parent===ef?e.root=i:t===t.parent.right?t.parent.right=i:t.parent.left=i,i.right=t,t.parent=i}function eL(e,t){let i,n,s;if(i=t.left===ef?(n=t).right:t.right===ef?(n=t).left:(n=e_(t.right)).right,n===e.root){e.root=i,i.color=0,t.detach(),ew(),e.root.parent=ef;return}let o=1===n.color;if(n===n.parent.left?n.parent.left=i:n.parent.right=i,n===t?(i.parent=n.parent,ex(e,i)):(n.parent===t?i.parent=n:i.parent=n.parent,ex(e,i),n.left=t.left,n.right=t.right,n.parent=t.parent,n.color=t.color,t===e.root?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left!==ef&&(n.left.parent=n),n.right!==ef&&(n.right.parent=n),n.size_left=t.size_left,n.lf_left=t.lf_left,ex(e,n)),t.detach(),i.parent.left===i){let t=eb(i),n=eC(i);if(t!==i.parent.size_left||n!==i.parent.lf_left){let s=t-i.parent.size_left,o=n-i.parent.lf_left;i.parent.size_left=t,i.parent.lf_left=n,eD(e,i.parent,s,o)}}if(ex(e,i.parent),o){ew();return}for(;i!==e.root&&0===i.color;)i===i.parent.left?(1===(s=i.parent.right).color&&(s.color=0,i.parent.color=1,ey(e,i.parent),s=i.parent.right),0===s.left.color&&0===s.right.color?(s.color=1,i=i.parent):(0===s.right.color&&(s.left.color=0,s.color=1,eS(e,s),s=i.parent.right),s.color=i.parent.color,i.parent.color=0,s.right.color=0,ey(e,i.parent),i=e.root)):(1===(s=i.parent.left).color&&(s.color=0,i.parent.color=1,eS(e,i.parent),s=i.parent.left),0===s.left.color&&0===s.right.color?(s.color=1,i=i.parent):(0===s.left.color&&(s.right.color=0,s.color=1,ey(e,s),s=i.parent.left),s.color=i.parent.color,i.parent.color=0,s.left.color=0,eS(e,i.parent),i=e.root));i.color=0,ew()}function ek(e,t){for(ex(e,t);t!==e.root&&1===t.parent.color;)if(t.parent===t.parent.parent.left){let i=t.parent.parent.right;1===i.color?(t.parent.color=0,i.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&ey(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,eS(e,t.parent.parent))}else{let i=t.parent.parent.left;1===i.color?(t.parent.color=0,i.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&eS(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,ey(e,t.parent.parent))}e.root.color=0}function eD(e,t,i,n){for(;t!==e.root&&t!==ef;)t.parent.left===t&&(t.parent.size_left+=i,t.parent.lf_left+=n),t=t.parent}function ex(e,t){let i=0,n=0;if(t!==e.root){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t!==e.root)for(i=eb((t=t.parent).left)-t.size_left,n=eC(t.left)-t.lf_left,t.size_left+=i,t.lf_left+=n;t!==e.root&&(0!==i||0!==n);)t.parent.left===t&&(t.parent.size_left+=i,t.parent.lf_left+=n),t=t.parent}}ef.parent=ef,ef.left=ef,ef.right=ef,ef.color=0;var eN=i(5639);function eE(e){let t;return(t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length)).set(e,0),t}class eI{constructor(e,t,i,n,s){this.lineStarts=e,this.cr=t,this.lf=i,this.crlf=n,this.isBasicASCII=s}}function eT(e,t=!0){let i=[0],n=1;for(let t=0,s=e.length;t(e!==ef&&this._pieces.push(e.piece),!0))}read(){return 0===this._pieces.length?0===this._index?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:0===this._index?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class eP{constructor(e){this._limit=e,this._cache=[]}get(e){for(let t=this._cache.length-1;t>=0;t--){let i=this._cache[t];if(i.nodeStartOffset<=e&&i.nodeStartOffset+i.node.piece.length>=e)return i}return null}get2(e){for(let t=this._cache.length-1;t>=0;t--){let i=this._cache[t];if(i.nodeStartLineNumber&&i.nodeStartLineNumber=e)return i}return null}set(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)}validate(e){let t=!1,i=this._cache;for(let n=0;n=e){i[n]=null,t=!0;continue}}if(t){let e=[];for(let t of i)null!==t&&e.push(t);this._cache=e}}}class eO{constructor(e,t,i){this.create(e,t,i)}create(e,t,i){this._buffers=[new eR("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=ef,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=i;let n=null;for(let t=0,i=e.length;t0){e[t].lineStarts||(e[t].lineStarts=eT(e[t].buffer));let i=new eM(t+1,{line:0,column:0},{line:e[t].lineStarts.length-1,column:e[t].buffer.length-e[t].lineStarts[e[t].lineStarts.length-1]},e[t].lineStarts.length-1,e[t].buffer.length);this._buffers.push(e[t]),n=this.rbInsertRight(n,i)}this._searchCache=new eP(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(e){let t=65535-Math.floor(21845),i=2*t,n="",s=0,o=[];if(this.iterate(this.root,r=>{let l=this.getNodeContent(r),a=l.length;if(s<=t||s+a0){let t=n.replace(/\r\n|\r|\n/g,e);o.push(new eR(t,eT(t)))}this.create(o,e,!0)}getEOL(){return this._EOL}setEOL(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)}createSnapshot(e){return new eA(this,e)}getOffsetAt(e,t){let i=0,n=this.root;for(;n!==ef;)if(n.left!==ef&&n.lf_left+1>=e)n=n.left;else if(n.lf_left+n.piece.lineFeedCnt+1>=e){i+=n.size_left;let s=this.getAccumulatedValue(n,e-n.lf_left-2);return i+(s+t-1)}else e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right;return i}getPositionAt(e){e=Math.max(0,e=Math.floor(e));let t=this.root,i=0,n=e;for(;t!==ef;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else if(t.size_left+t.piece.length>=e){let s=this.getIndexOf(t,e-t.size_left);if(i+=t.lf_left+s.index,0===s.index){let e=this.getOffsetAt(i+1,1),t=n-e;return new p.L(i+1,t+1)}return new p.L(i+1,s.remainder+1)}else{if(e-=t.size_left+t.piece.length,i+=t.lf_left+t.piece.lineFeedCnt,t.right===ef){let t=this.getOffsetAt(i+1,1),s=n-e-t;return new p.L(i+1,s+1)}t=t.right}return new p.L(1,1)}getValueInRange(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";let i=this.nodeAt2(e.startLineNumber,e.startColumn),n=this.nodeAt2(e.endLineNumber,e.endColumn),s=this.getValueInRange2(i,n);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?s:s.replace(/\r\n|\r|\n/g,t):s}getValueInRange2(e,t){if(e.node===t.node){let i=e.node,n=this._buffers[i.piece.bufferIndex].buffer,s=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return n.substring(s+e.remainder,s+t.remainder)}let i=e.node,n=this._buffers[i.piece.bufferIndex].buffer,s=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start),o=n.substring(s+e.remainder,s+i.piece.length);for(i=i.next();i!==ef;){let e=this._buffers[i.piece.bufferIndex].buffer,n=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);if(i===t.node){o+=e.substring(n,n+t.remainder);break}o+=e.substr(n,i.piece.length),i=i.next()}return o}getLinesContent(){let e=[],t=0,i="",n=!1;return this.iterate(this.root,s=>{if(s===ef)return!0;let o=s.piece,r=o.length;if(0===r)return!0;let l=this._buffers[o.bufferIndex].buffer,a=this._buffers[o.bufferIndex].lineStarts,d=o.start.line,h=o.end.line,u=a[d]+o.start.column;if(n&&(10===l.charCodeAt(u)&&(u++,r--),e[t++]=i,i="",n=!1,0===r))return!0;if(d===h)return this._EOLNormalized||13!==l.charCodeAt(u+r-1)?i+=l.substr(u,r):(n=!0,i+=l.substr(u,r-1)),!0;i+=this._EOLNormalized?l.substring(u,Math.max(u,a[d+1]-this._EOLLength)):l.substring(u,a[d+1]).replace(/(\r\n|\r|\n)$/,""),e[t++]=i;for(let n=d+1;ne+_,t.reset(0)):(c=p.buffer,g=e=>e,t.reset(_));do if(u=t.next(c)){if(g(u.index)>=v)return d;this.positionInBuffer(e,g(u.index)-f,b);let t=this.getLineFeedCnt(e.piece.bufferIndex,s,b),o=b.line===s.line?b.column-s.column+n:b.column+1,r=o+u[0].length;if(h[d++]=(0,eN.iE)(new m.e(i+t,o,i+t,r),u,l),g(u.index)+u[0].length>=v)return d;if(d>=a)break}while(u);return d}findMatchesLineByLine(e,t,i,n){let s=[],o=0,r=new eN.sz(t.wordSeparators,t.regex),l=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===l)return[];let a=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===a)return[];let d=this.positionInBuffer(l.node,l.remainder),h=this.positionInBuffer(a.node,a.remainder);if(l.node===a.node)return this.findMatchesInNode(l.node,r,e.startLineNumber,e.startColumn,d,h,t,i,n,o,s),s;let u=e.startLineNumber,c=l.node;for(;c!==a.node;){let a=this.getLineFeedCnt(c.piece.bufferIndex,d,c.piece.end);if(a>=1){let l=this._buffers[c.piece.bufferIndex].lineStarts,h=this.offsetInBuffer(c.piece.bufferIndex,c.piece.start),g=l[d.line+a],p=u===e.startLineNumber?e.startColumn:1;if((o=this.findMatchesInNode(c,r,u,p,d,this.positionInBuffer(c,g-h),t,i,n,o,s))>=n)return s;u+=a}let h=u===e.startLineNumber?e.startColumn-1:0;if(u===e.endLineNumber){let l=this.getLineContent(u).substring(h,e.endColumn-1);return o=this._findMatchesInLine(t,r,l,e.endLineNumber,h,o,s,i,n),s}if((o=this._findMatchesInLine(t,r,this.getLineContent(u).substr(h),u,h,o,s,i,n))>=n)return s;u++,c=(l=this.nodeAt2(u,1)).node,d=this.positionInBuffer(l.node,l.remainder)}if(u===e.endLineNumber){let l=u===e.startLineNumber?e.startColumn-1:0,a=this.getLineContent(u).substring(l,e.endColumn-1);return o=this._findMatchesInLine(t,r,a,e.endLineNumber,l,o,s,i,n),s}let g=u===e.startLineNumber?e.startColumn:1;return o=this.findMatchesInNode(a.node,r,u,g,d,h,t,i,n,o,s),s}_findMatchesInLine(e,t,i,n,s,o,r,l,a){let d;let h=e.wordSeparators;if(!l&&e.simpleSearch){let t=e.simpleSearch,l=t.length,d=i.length,u=-l;for(;-1!==(u=i.indexOf(t,u+l))&&(!(!h||(0,eN.cM)(h,i,d,u,l))||(r[o++]=new C.tk(new m.e(n,u+1+s,n,u+1+l+s),null),!(o>=a))););return o}t.reset(0);do if((d=t.next(i))&&(r[o++]=(0,eN.iE)(new m.e(n,d.index+1+s,n,d.index+1+d[0].length+s),d,l),o>=a))break;while(d);return o}insert(e,t,i=!1){if(this._EOLNormalized=this._EOLNormalized&&i,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==ef){let{node:i,remainder:n,nodeStartOffset:s}=this.nodeAt(e),o=i.piece,r=o.bufferIndex,l=this.positionInBuffer(i,n);if(0===i.piece.bufferIndex&&o.end.line===this._lastChangeBufferPos.line&&o.end.column===this._lastChangeBufferPos.column&&s+o.length===e&&t.length<65535){this.appendToNode(i,t),this.computeBufferMetadata();return}if(s===e)this.insertContentToNodeLeft(t,i),this._searchCache.validate(e);else if(s+i.piece.length>e){let e=[],s=new eM(o.bufferIndex,l,o.end,this.getLineFeedCnt(o.bufferIndex,l,o.end),this.offsetInBuffer(r,o.end)-this.offsetInBuffer(r,l));if(this.shouldCheckCRLF()&&this.endWithCR(t)){let e=this.nodeCharCodeAt(i,n);if(10===e){let e={line:s.start.line+1,column:0};s=new eM(s.bufferIndex,e,s.end,this.getLineFeedCnt(s.bufferIndex,e,s.end),s.length-1),t+="\n"}}if(this.shouldCheckCRLF()&&this.startWithLF(t)){let s=this.nodeCharCodeAt(i,n-1);if(13===s){let s=this.positionInBuffer(i,n-1);this.deleteNodeTail(i,s),t="\r"+t,0===i.piece.length&&e.push(i)}else this.deleteNodeTail(i,l)}else this.deleteNodeTail(i,l);let a=this.createNewPieces(t);s.length>0&&this.rbInsertRight(i,s);let d=i;for(let e=0;e=0;e--)s=this.rbInsertLeft(s,n[e]);this.validateCRLFWithPrevNode(s),this.deleteNodes(i)}insertContentToNodeRight(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");let i=this.createNewPieces(e),n=this.rbInsertRight(t,i[0]),s=n;for(let e=1;e=u)a=h+1;else break;return i?(i.line=h,i.column=l-c,null):{line:h,column:l-c}}getLineFeedCnt(e,t,i){if(0===i.column)return i.line-t.line;let n=this._buffers[e].lineStarts;if(i.line===n.length-1)return i.line-t.line;let s=n[i.line+1],o=n[i.line]+i.column;if(s>o+1)return i.line-t.line;let r=this._buffers[e].buffer;return 13===r.charCodeAt(o-1)?i.line-t.line+1:i.line-t.line}offsetInBuffer(e,t){let i=this._buffers[e].lineStarts;return i[t.line]+t.column}deleteNodes(e){for(let t=0;t65535){let t=[];for(;e.length>65535;){let i;let n=e.charCodeAt(65534);13===n||n>=55296&&n<=56319?(i=e.substring(0,65534),e=e.substring(65534)):(i=e.substring(0,65535),e=e.substring(65535));let s=eT(i);t.push(new eM(this._buffers.length,{line:0,column:0},{line:s.length-1,column:i.length-s[s.length-1]},s.length-1,i.length)),this._buffers.push(new eR(i,s))}let i=eT(e);return t.push(new eM(this._buffers.length,{line:0,column:0},{line:i.length-1,column:e.length-i[i.length-1]},i.length-1,e.length)),this._buffers.push(new eR(e,i)),t}let t=this._buffers[0].buffer.length,i=eT(e,!1),n=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===t&&0!==t&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},n=this._lastChangeBufferPos;for(let e=0;e=e-1)i=i.left;else if(i.lf_left+i.piece.lineFeedCnt>e-1){let n=this.getAccumulatedValue(i,e-i.lf_left-2),r=this.getAccumulatedValue(i,e-i.lf_left-1),l=this._buffers[i.piece.bufferIndex].buffer,a=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return s+=i.size_left,this._searchCache.set({node:i,nodeStartOffset:s,nodeStartLineNumber:o-(e-1-i.lf_left)}),l.substring(a+n,a+r-t)}else if(i.lf_left+i.piece.lineFeedCnt===e-1){let t=this.getAccumulatedValue(i,e-i.lf_left-2),s=this._buffers[i.piece.bufferIndex].buffer,o=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);n=s.substring(o+t,o+i.piece.length);break}else e-=i.lf_left+i.piece.lineFeedCnt,s+=i.size_left+i.piece.length,i=i.right}for(i=i.next();i!==ef;){let e=this._buffers[i.piece.bufferIndex].buffer;if(i.piece.lineFeedCnt>0){let s=this.getAccumulatedValue(i,0),o=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);n+=e.substring(o,o+s-t);break}{let t=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);n+=e.substr(t,i.piece.length)}i=i.next()}return n}computeBufferMetadata(){let e=this.root,t=1,i=0;for(;e!==ef;)t+=e.lf_left+e.piece.lineFeedCnt,i+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=i,this._searchCache.validate(this._length)}getIndexOf(e,t){let i=e.piece,n=this.positionInBuffer(e,t),s=n.line-i.start.line;if(this.offsetInBuffer(i.bufferIndex,i.end)-this.offsetInBuffer(i.bufferIndex,i.start)===t){let t=this.getLineFeedCnt(e.piece.bufferIndex,i.start,n);if(t!==s)return{index:t,remainder:0}}return{index:s,remainder:n.column}}getAccumulatedValue(e,t){if(t<0)return 0;let i=e.piece,n=this._buffers[i.bufferIndex].lineStarts,s=i.start.line+t+1;return s>i.end.line?n[i.end.line]+i.end.column-n[i.start.line]-i.start.column:n[s]-n[i.start.line]-i.start.column}deleteNodeTail(e,t){let i=e.piece,n=i.lineFeedCnt,s=this.offsetInBuffer(i.bufferIndex,i.end),o=this.offsetInBuffer(i.bufferIndex,t),r=this.getLineFeedCnt(i.bufferIndex,i.start,t),l=r-n,a=o-s,d=i.length+a;e.piece=new eM(i.bufferIndex,i.start,t,r,d),eD(this,e,a,l)}deleteNodeHead(e,t){let i=e.piece,n=i.lineFeedCnt,s=this.offsetInBuffer(i.bufferIndex,i.start),o=this.getLineFeedCnt(i.bufferIndex,t,i.end),r=this.offsetInBuffer(i.bufferIndex,t),l=o-n,a=s-r,d=i.length+a;e.piece=new eM(i.bufferIndex,t,i.end,o,d),eD(this,e,a,l)}shrinkNode(e,t,i){let n=e.piece,s=n.start,o=n.end,r=n.length,l=n.lineFeedCnt,a=this.getLineFeedCnt(n.bufferIndex,n.start,t),d=this.offsetInBuffer(n.bufferIndex,t)-this.offsetInBuffer(n.bufferIndex,s);e.piece=new eM(n.bufferIndex,n.start,t,a,d),eD(this,e,d-r,a-l);let h=new eM(n.bufferIndex,i,o,this.getLineFeedCnt(n.bufferIndex,i,o),this.offsetInBuffer(n.bufferIndex,o)-this.offsetInBuffer(n.bufferIndex,i)),u=this.rbInsertRight(e,h);this.validateCRLFWithPrevNode(u)}appendToNode(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");let i=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),n=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;let s=eT(t,!1);for(let e=0;ee)t=t.left;else if(t.size_left+t.piece.length>=e){n+=t.size_left;let i={node:t,remainder:e-t.size_left,nodeStartOffset:n};return this._searchCache.set(i),i}else e-=t.size_left+t.piece.length,n+=t.size_left+t.piece.length,t=t.right;return null}nodeAt2(e,t){let i=this.root,n=0;for(;i!==ef;)if(i.left!==ef&&i.lf_left>=e-1)i=i.left;else if(i.lf_left+i.piece.lineFeedCnt>e-1){let s=this.getAccumulatedValue(i,e-i.lf_left-2),o=this.getAccumulatedValue(i,e-i.lf_left-1);return n+=i.size_left,{node:i,remainder:Math.min(s+t-1,o),nodeStartOffset:n}}else if(i.lf_left+i.piece.lineFeedCnt===e-1){let s=this.getAccumulatedValue(i,e-i.lf_left-2);if(s+t-1<=i.piece.length)return{node:i,remainder:s+t-1,nodeStartOffset:n};t-=i.piece.length-s;break}else e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right;for(i=i.next();i!==ef;){if(i.piece.lineFeedCnt>0){let e=this.getAccumulatedValue(i,0),n=this.offsetOfNode(i);return{node:i,remainder:Math.min(t-1,e),nodeStartOffset:n}}if(i.piece.length>=t-1){let e=this.offsetOfNode(i);return{node:i,remainder:t-1,nodeStartOffset:e}}t-=i.piece.length,i=i.next()}return null}nodeCharCodeAt(e,t){if(e.piece.lineFeedCnt<1)return -1;let i=this._buffers[e.piece.bufferIndex],n=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return i.buffer.charCodeAt(n)}offsetOfNode(e){if(!e)return 0;let t=e.size_left;for(;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t}shouldCheckCRLF(){return!(this._EOLNormalized&&"\n"===this._EOL)}startWithLF(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===ef||0===e.piece.lineFeedCnt)return!1;let t=e.piece,i=this._buffers[t.bufferIndex].lineStarts,n=t.start.line,s=i[n]+t.start.column;if(n===i.length-1)return!1;let o=i[n+1];return!(o>s+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(s)}endWithCR(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e!==ef&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)}validateCRLFWithPrevNode(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){let t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}}validateCRLFWithNextNode(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){let t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}}fixCRLF(e,t){let i;let n=[],s=this._buffers[e.piece.bufferIndex].lineStarts;i=0===e.piece.end.column?{line:e.piece.end.line-1,column:s[e.piece.end.line]-s[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};let o=e.piece.length-1,r=e.piece.lineFeedCnt-1;e.piece=new eM(e.piece.bufferIndex,e.piece.start,i,r,o),eD(this,e,-1,-1),0===e.piece.length&&n.push(e);let l={line:t.piece.start.line+1,column:0},a=t.piece.length-1,d=this.getLineFeedCnt(t.piece.bufferIndex,l,t.piece.end);t.piece=new eM(t.piece.bufferIndex,l,t.piece.end,d,a),eD(this,t,-1,-1),0===t.piece.length&&n.push(t);let h=this.createNewPieces("\r\n");this.rbInsertRight(e,h[0]);for(let e=0;ee.sortIndex-t.sortIndex)}this._mightContainRTL=n,this._mightContainUnusualLineTerminators=s,this._mightContainNonBasicASCII=o;let p=this._doApplyEdits(l),m=null;if(t&&c.length>0){c.sort((e,t)=>t.lineNumber-e.lineNumber),m=[];for(let e=0,t=c.length;e0&&c[e-1].lineNumber===t)continue;let i=c[e].oldContent,n=this.getLineContent(t);0!==n.length&&n!==i&&-1===d.LC(n)&&m.push(t)}}return this._onDidChangeContent.fire(),new C.je(g,p,m)}_reduceOperations(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]}_toSingleEditOperation(e){let t=!1,i=e[0].range,n=e[e.length-1].range,s=new m.e(i.startLineNumber,i.startColumn,n.endLineNumber,n.endColumn),o=i.startLineNumber,r=i.startColumn,l=[];for(let i=0,n=e.length;i0&&l.push(n.text),o=s.endLineNumber,r=s.endColumn}let a=l.join(""),[d,h,c]=(0,u.Q)(a);return{sortIndex:0,identifier:e[0].identifier,range:s,rangeOffset:this.getOffsetAt(s.startLineNumber,s.startColumn),rangeLength:this.getValueLengthInRange(s,0),text:a,eolCount:d,firstLineLength:h,lastLineLength:c,forceMoveMarkers:t,isAutoWhitespaceEdit:!1}}_doApplyEdits(e){e.sort(eB._sortOpsDescending);let t=[];for(let i=0;i0){let e=d.eolCount+1;a=1===e?new m.e(r,l,r,l+d.firstLineLength):new m.e(r,l,r+e-1,d.lastLineLength+1)}else a=new m.e(r,l,r,l);i=a.endLineNumber,n=a.endColumn,t.push(a),s=d}return t}static _sortOpsAscending(e,t){let i=m.e.compareRangesUsingEnds(e.range,t.range);return 0===i?e.sortIndex-t.sortIndex:i}static _sortOpsDescending(e,t){let i=m.e.compareRangesUsingEnds(e.range,t.range);return 0===i?t.sortIndex-e.sortIndex:-i}}class eW{constructor(e,t,i,n,s,o,r,l,a){this._chunks=e,this._bom=t,this._cr=i,this._lf=n,this._crlf=s,this._containsRTL=o,this._containsUnusualLineTerminators=r,this._isBasicASCII=l,this._normalizeEOL=a}_getEOL(e){let t=this._cr+this._lf+this._crlf,i=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":i>t/2?"\r\n":"\n"}create(e){let t=this._getEOL(e),i=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(let e=0,n=i.length;e=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}_acceptChunk1(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))}_acceptChunk2(e){let t=function(e,t){e.length=0,e[0]=0;let i=1,n=0,s=0,o=0,r=!0;for(let l=0,a=t.length;l126)&&(r=!1)}let l=new eI(eE(e),n,s,o,r);return e.length=0,l}(this._tmpLineStarts,e);this.chunks.push(new eR(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,t.isBasicASCII||(this.isBasicASCII=!1,this.containsRTL||(this.containsRTL=d.Ut(e)),this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=d.ab(e)))}finish(e=!0){return this._finish(),new eW(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,e)}_finish(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;let e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);let t=eT(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}}}var eV=i(44532),ez=i(85330),eK=i(1863),eU=i(74927),e$=i(58022),eq=i(44129),ej=i(81294),eG=i(46481);class eQ{constructor(e){this._default=e,this._store=[]}get(e){return e=this._store.length;)this._store[this._store.length]=this._default;this._store[e]=t}replace(e,t,i){if(e>=this._store.length)return;if(0===t){this.insert(e,i);return}if(0===i){this.delete(e,t);return}let n=this._store.slice(0,e),s=this._store.slice(e+t),o=function(e,t){let i=[];for(let n=0;n=this._store.length||this._store.splice(e,t)}insert(e,t){if(0===t||e>=this._store.length)return;let i=[];for(let e=0;e0){let i=this._tokens[this._tokens.length-1];if(i.endLineNumber+1===e){i.appendLineTokens(t);return}}this._tokens.push(new eZ(e,[t]))}finalize(){return this._tokens}}var eJ=i(94458);class eX{constructor(e,t){this.tokenizationSupport=t,this.initialState=this.tokenizationSupport.getInitialState(),this.store=new e1(e)}getStartState(e){return this.store.getStartState(e,this.initialState)}getFirstInvalidLine(){return this.store.getFirstInvalidLine(this.initialState)}}class e0 extends eX{constructor(e,t,i,n){super(e,t),this._textModel=i,this._languageIdCodec=n}updateTokensUntilLine(e,t){let i=this._textModel.getLanguageId();for(;;){let n=this.getFirstInvalidLine();if(!n||n.lineNumber>t)break;let s=this._textModel.getLineContent(n.lineNumber),o=e5(this._languageIdCodec,i,this.tokenizationSupport,s,!0,n.startState);e.add(n.lineNumber,o.tokens),this.store.setEndState(n.lineNumber,o.endState)}}getTokenTypeIfInsertingCharacter(e,t){let i=this.getStartState(e.lineNumber);if(!i)return 0;let n=this._textModel.getLanguageId(),s=this._textModel.getLineContent(e.lineNumber),o=s.substring(0,e.column-1)+t+s.substring(e.column-1),r=e5(this._languageIdCodec,n,this.tokenizationSupport,o,!0,i),l=new eJ.A(r.tokens,o,this._languageIdCodec);if(0===l.getCount())return 0;let a=l.findTokenIndexAtOffset(e.column-1);return l.getStandardTokenType(a)}tokenizeLineWithEdit(e,t,i){let n=e.lineNumber,s=e.column,o=this.getStartState(n);if(!o)return null;let r=this._textModel.getLineContent(n),l=r.substring(0,s-1)+i+r.substring(s-1+t),a=this._textModel.getLanguageIdAtPosition(n,0),d=e5(this._languageIdCodec,a,this.tokenizationSupport,l,!0,o),h=new eJ.A(d.tokens,l,this._languageIdCodec);return h}hasAccurateTokensForLine(e){let t=this.store.getFirstInvalidEndStateLineNumberOrMax();return ethis._textModel.getLineLength(e))}tokenizeHeuristically(e,t,i){if(i<=this.store.getFirstInvalidEndStateLineNumberOrMax())return{heuristicTokens:!1};if(t<=this.store.getFirstInvalidEndStateLineNumberOrMax())return this.updateTokensUntilLine(e,i),{heuristicTokens:!1};let n=this.guessStartState(t),s=this._textModel.getLanguageId();for(let o=t;o<=i;o++){let t=this._textModel.getLineContent(o),i=e5(this._languageIdCodec,s,this.tokenizationSupport,t,!0,n);e.add(o,i.tokens),n=i.endState}return{heuristicTokens:!0}}guessStartState(e){let t=this._textModel.getLineFirstNonWhitespaceColumn(e),i=[],n=null;for(let s=e-1;t>1&&s>=1;s--){let e=this._textModel.getLineFirstNonWhitespaceColumn(s);if(0!==e&&e0&&i>0&&(i--,t--),this._lineEndStates.replace(e.startLineNumber,i,t)}}class e4{constructor(){this._ranges=[]}get min(){return 0===this._ranges.length?null:this._ranges[0].start}delete(e){let t=this._ranges.findIndex(t=>t.contains(e));if(-1!==t){let i=this._ranges[t];i.start===e?i.endExclusive===e+1?this._ranges.splice(t,1):this._ranges[t]=new ej.q(e+1,i.endExclusive):i.endExclusive===e+1?this._ranges[t]=new ej.q(i.start,e):this._ranges.splice(t,1,new ej.q(i.start,e),new ej.q(e+1,i.endExclusive))}}addRange(e){ej.q.addRange(e,this._ranges)}addRangeAndResize(e,t){let i=0;for(;!(i>=this._ranges.length||e.start<=this._ranges[i].endExclusive);)i++;let n=i;for(;!(n>=this._ranges.length||e.endExclusivee.toString()).join(" + ")}}function e5(e,t,i,n,s,o){let l=null;if(i)try{l=i.tokenizeEncoded(n,s,o.clone())}catch(e){(0,r.dL)(e)}return l||(l=(0,eG.Dy)(e.encodeLanguageId(t),o)),eJ.A.convertToEndOffset(l.tokens,n.length),l}class e3{constructor(e,t){this._tokenizerWithStateStore=e,this._backgroundTokenStore=t,this._isDisposed=!1,this._isScheduled=!1}dispose(){this._isDisposed=!0}handleChanges(){this._beginBackgroundTokenization()}_beginBackgroundTokenization(){!this._isScheduled&&this._tokenizerWithStateStore._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&(this._isScheduled=!0,(0,eV.jg)(e=>{this._isScheduled=!1,this._backgroundTokenizeWithDeadline(e)}))}_backgroundTokenizeWithDeadline(e){let t=Date.now()+e.timeRemaining(),i=()=>{!this._isDisposed&&this._tokenizerWithStateStore._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&(this._backgroundTokenizeForAtLeast1ms(),Date.now()1)break;let n=this._tokenizeOneInvalidLine(t);if(n>=e)break}while(this._hasLinesToTokenize());this._backgroundTokenStore.setTokens(t.finalize()),this.checkFinished()}_hasLinesToTokenize(){return!!this._tokenizerWithStateStore&&!this._tokenizerWithStateStore.store.allStatesValid()}_tokenizeOneInvalidLine(e){var t;let i=null===(t=this._tokenizerWithStateStore)||void 0===t?void 0:t.getFirstInvalidLine();return i?(this._tokenizerWithStateStore.updateTokensUntilLine(e,i.lineNumber),i.lineNumber):this._tokenizerWithStateStore._textModel.getLineCount()+1}checkFinished(){!this._isDisposed&&this._tokenizerWithStateStore.store.allStatesValid()&&this._backgroundTokenStore.backgroundTokenizationFinished()}requestTokens(e,t){this._tokenizerWithStateStore.store.invalidateEndStateRange(new g.z(e,t))}}let e7=new Uint32Array(0).buffer;class e8{static deleteBeginning(e,t){return null===e||e===e7?e:e8.delete(e,0,t)}static deleteEnding(e,t){if(null===e||e===e7)return e;let i=e6(e),n=i[i.length-2];return e8.delete(e,t,n)}static delete(e,t,i){let n,s;if(null===e||e===e7||t===i)return e;let o=e6(e),r=o.length>>>1;if(0===t&&o[o.length-2]===i)return e7;let l=eJ.A.findIndexInTokensArray(o,t),a=l>0?o[l-1<<1]:0,d=o[l<<1];if(is&&(o[n++]=t,o[n++]=o[(e<<1)+1],s=t)}if(n===o.length)return e;let u=new Uint32Array(n);return u.set(o.subarray(0,n),0),u.buffer}static append(e,t){if(t===e7)return e;if(e===e7)return t;if(null===e)return e;if(null===t)return null;let i=e6(e),n=e6(t),s=n.length>>>1,o=new Uint32Array(i.length+n.length);o.set(i,0);let r=i.length,l=i[i.length-2];for(let e=0;e>>1,o=eJ.A.findIndexInTokensArray(n,t);if(o>0){let e=n[o-1<<1];e===t&&o--}for(let e=o;e0}getTokens(e,t,i){let n=null;if(t1&&(t=e9.N.getLanguageId(n[1])!==e),!t)return e7}if(!n||0===n.length){let i=new Uint32Array(2);return i[0]=t,i[1]=tt(e),i.buffer}return(n[n.length-2]=t,0===n.byteOffset&&n.byteLength===n.buffer.byteLength)?n.buffer:n}_ensureLine(e){for(;e>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._lineTokens.splice(e,t),this._len-=t)}_insertLines(e,t){if(0===t)return;let i=[];for(let e=0;e=this._len)return;if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;this._lineTokens[t]=e8.delete(this._lineTokens[t],e.startColumn-1,e.endColumn-1);return}this._lineTokens[t]=e8.deleteEnding(this._lineTokens[t],e.startColumn-1);let i=e.endLineNumber-1,n=null;i=this._len)){if(0===t){this._lineTokens[n]=e8.insert(this._lineTokens[n],e.column-1,i);return}this._lineTokens[n]=e8.deleteEnding(this._lineTokens[n],e.column-1),this._lineTokens[n]=e8.insert(this._lineTokens[n],e.column-1,i),this._insertLines(e.lineNumber,t)}}setMultilineTokens(e,t){if(0===e.length)return{changes:[]};let i=[];for(let n=0,s=e.length;n>>0}class ti{constructor(e){this._pieces=[],this._isComplete=!1,this._languageIdCodec=e}flush(){this._pieces=[],this._isComplete=!1}isEmpty(){return 0===this._pieces.length}set(e,t){this._pieces=e||[],this._isComplete=t}setPartial(e,t){let i=e;if(t.length>0){let n=t[0].getRange(),s=t[t.length-1].getRange();if(!n||!s)return e;i=e.plusRange(n).plusRange(s)}let n=null;for(let e=0,t=this._pieces.length;ei.endLineNumber){n=n||{index:e};break}if(s.removeTokens(i),s.isEmpty()){this._pieces.splice(e,1),e--,t--;continue}if(s.endLineNumberi.endLineNumber){n=n||{index:e};continue}let[o,r]=s.split(i);if(o.isEmpty()){n=n||{index:e};continue}r.isEmpty()||(this._pieces.splice(e,1,o,r),e++,t++,n=n||{index:e})}return n=n||{index:this._pieces.length},t.length>0&&(this._pieces=s.Zv(this._pieces,n.index,t)),i}isComplete(){return this._isComplete}addSparseTokens(e,t){if(0===t.getLineContent().length)return t;let i=this._pieces;if(0===i.length)return t;let n=ti._findFirstPieceWithLine(i,e),s=i[n].getLineTokens(e);if(!s)return t;let o=t.getCount(),r=s.getCount(),l=0,a=[],d=0,h=0,u=(e,t)=>{e!==h&&(h=e,a[d++]=e,a[d++]=t)};for(let e=0;e>>0,d=~a>>>0;for(;lt)n=s-1;else{for(;s>i&&e[s-1].startLineNumber<=t&&t<=e[s-1].endLineNumber;)s--;return s}}return i}acceptEdit(e,t,i,n,s){for(let o of this._pieces)o.acceptEdit(e,t,i,n,s)}}class tn extends eU.U{constructor(e,t,i,n,s,o){super(),this._languageService=e,this._languageConfigurationService=t,this._textModel=i,this._bracketPairsTextModelPart=n,this._languageId=s,this._attachedViews=o,this._semanticTokens=new ti(this._languageService.languageIdCodec),this._onDidChangeLanguage=this._register(new l.Q5),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new l.Q5),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new l.Q5),this.onDidChangeTokens=this._onDidChangeTokens.event,this.grammarTokens=this._register(new ts(this._languageService.languageIdCodec,this._textModel,()=>this._languageId,this._attachedViews)),this._register(this._languageConfigurationService.onDidChange(e=>{e.affects(this._languageId)&&this._onDidChangeLanguageConfiguration.fire({})})),this._register(this.grammarTokens.onDidChangeTokens(e=>{this._emitModelTokensChangedEvent(e)})),this._register(this.grammarTokens.onDidChangeBackgroundTokenizationState(e=>{this._bracketPairsTextModelPart.handleDidChangeBackgroundTokenizationState()}))}handleDidChangeContent(e){if(e.isFlush)this._semanticTokens.flush();else if(!e.isEolChange)for(let t of e.changes){let[e,i,n]=(0,u.Q)(t.text);this._semanticTokens.acceptEdit(t.range,e,i,n,t.text.length>0?t.text.charCodeAt(0):0)}this.grammarTokens.handleDidChangeContent(e)}handleDidChangeAttached(){this.grammarTokens.handleDidChangeAttached()}getLineTokens(e){this.validateLineNumber(e);let t=this.grammarTokens.getLineTokens(e);return this._semanticTokens.addSparseTokens(e,t)}_emitModelTokensChangedEvent(e){this._textModel._isDisposing()||(this._bracketPairsTextModelPart.handleDidChangeTokens(e),this._onDidChangeTokens.fire(e))}validateLineNumber(e){if(e<1||e>this._textModel.getLineCount())throw new r.he("Illegal value for lineNumber")}get hasTokens(){return this.grammarTokens.hasTokens}resetTokenization(){this.grammarTokens.resetTokenization()}get backgroundTokenizationState(){return this.grammarTokens.backgroundTokenizationState}forceTokenization(e){this.validateLineNumber(e),this.grammarTokens.forceTokenization(e)}hasAccurateTokensForLine(e){return this.validateLineNumber(e),this.grammarTokens.hasAccurateTokensForLine(e)}isCheapToTokenize(e){return this.validateLineNumber(e),this.grammarTokens.isCheapToTokenize(e)}tokenizeIfCheap(e){this.validateLineNumber(e),this.grammarTokens.tokenizeIfCheap(e)}getTokenTypeIfInsertingCharacter(e,t,i){return this.grammarTokens.getTokenTypeIfInsertingCharacter(e,t,i)}tokenizeLineWithEdit(e,t,i){return this.grammarTokens.tokenizeLineWithEdit(e,t,i)}setSemanticTokens(e,t){this._semanticTokens.set(e,t),this._emitModelTokensChangedEvent({semanticTokensApplied:null!==e,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]})}hasCompleteSemanticTokens(){return this._semanticTokens.isComplete()}hasSomeSemanticTokens(){return!this._semanticTokens.isEmpty()}setPartialSemanticTokens(e,t){if(this.hasCompleteSemanticTokens())return;let i=this._textModel.validateRange(this._semanticTokens.setPartial(e,t));this._emitModelTokensChangedEvent({semanticTokensApplied:!0,ranges:[{fromLineNumber:i.startLineNumber,toLineNumber:i.endLineNumber}]})}getWordAtPosition(e){this.assertNotDisposed();let t=this._textModel.validatePosition(e),i=this._textModel.getLineContent(t.lineNumber),n=this.getLineTokens(t.lineNumber),s=n.findTokenIndexAtOffset(t.column-1),[o,r]=tn._findLanguageBoundaries(n,s),l=(0,ez.t2)(t.column,this.getLanguageConfiguration(n.getLanguageId(s)).getWordDefinition(),i.substring(o,r),o);if(l&&l.startColumn<=e.column&&e.column<=l.endColumn)return l;if(s>0&&o===t.column-1){let[o,r]=tn._findLanguageBoundaries(n,s-1),l=(0,ez.t2)(t.column,this.getLanguageConfiguration(n.getLanguageId(s-1)).getWordDefinition(),i.substring(o,r),o);if(l&&l.startColumn<=e.column&&e.column<=l.endColumn)return l}return null}getLanguageConfiguration(e){return this._languageConfigurationService.getLanguageConfiguration(e)}static _findLanguageBoundaries(e,t){let i=e.getLanguageId(t),n=0;for(let s=t;s>=0&&e.getLanguageId(s)===i;s--)n=e.getStartOffset(s);let s=e.getLineContent().length;for(let n=t,o=e.getCount();n{let t=this.getLanguageId();-1!==e.changedLanguages.indexOf(t)&&this.resetTokenization()})),this.resetTokenization(),this._register(n.onDidChangeVisibleRanges(({view:e,state:t})=>{if(t){let i=this._attachedViewStates.get(e);i||(i=new to(()=>this.refreshRanges(i.lineRanges)),this._attachedViewStates.set(e,i)),i.handleStateChange(t)}else this._attachedViewStates.deleteAndDispose(e)}))}resetTokenization(e=!0){var t;this._tokens.flush(),null===(t=this._debugBackgroundTokens)||void 0===t||t.flush(),this._debugBackgroundStates&&(this._debugBackgroundStates=new e1(this._textModel.getLineCount())),e&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]});let[i,n]=(()=>{let e;if(this._textModel.isTooLargeForTokenization())return[null,null];let t=eK.RW.get(this.getLanguageId());if(!t)return[null,null];try{e=t.getInitialState()}catch(e){return(0,r.dL)(e),[null,null]}return[t,e]})();if(i&&n?this._tokenizer=new e0(this._textModel.getLineCount(),i,this._textModel,this._languageIdCodec):this._tokenizer=null,this._backgroundTokenizer.clear(),this._defaultBackgroundTokenizer=null,this._tokenizer){let e={setTokens:e=>{this.setTokens(e)},backgroundTokenizationFinished:()=>{2!==this._backgroundTokenizationState&&(this._backgroundTokenizationState=2,this._onDidChangeBackgroundTokenizationState.fire())},setEndState:(e,t)=>{var i;if(!this._tokenizer)return;let n=this._tokenizer.store.getFirstInvalidEndStateLineNumber();null!==n&&e>=n&&(null===(i=this._tokenizer)||void 0===i||i.store.setEndState(e,t))}};i&&i.createBackgroundTokenizer&&!i.backgroundTokenizerShouldOnlyVerifyTokens&&(this._backgroundTokenizer.value=i.createBackgroundTokenizer(this._textModel,e)),this._backgroundTokenizer.value||this._textModel.isTooLargeForTokenization()||(this._backgroundTokenizer.value=this._defaultBackgroundTokenizer=new e3(this._tokenizer,e),this._defaultBackgroundTokenizer.handleChanges()),(null==i?void 0:i.backgroundTokenizerShouldOnlyVerifyTokens)&&i.createBackgroundTokenizer?(this._debugBackgroundTokens=new te(this._languageIdCodec),this._debugBackgroundStates=new e1(this._textModel.getLineCount()),this._debugBackgroundTokenizer.clear(),this._debugBackgroundTokenizer.value=i.createBackgroundTokenizer(this._textModel,{setTokens:e=>{var t;null===(t=this._debugBackgroundTokens)||void 0===t||t.setMultilineTokens(e,this._textModel)},backgroundTokenizationFinished(){},setEndState:(e,t)=>{var i;null===(i=this._debugBackgroundStates)||void 0===i||i.setEndState(e,t)}})):(this._debugBackgroundTokens=void 0,this._debugBackgroundStates=void 0,this._debugBackgroundTokenizer.value=void 0)}this.refreshAllVisibleLineTokens()}handleDidChangeAttached(){var e;null===(e=this._defaultBackgroundTokenizer)||void 0===e||e.handleChanges()}handleDidChangeContent(e){var t,i,n;if(e.isFlush)this.resetTokenization(!1);else if(!e.isEolChange){for(let i of e.changes){let[e,n]=(0,u.Q)(i.text);this._tokens.acceptEdit(i.range,e,n),null===(t=this._debugBackgroundTokens)||void 0===t||t.acceptEdit(i.range,e,n)}null===(i=this._debugBackgroundStates)||void 0===i||i.acceptChanges(e.changes),this._tokenizer&&this._tokenizer.store.acceptChanges(e.changes),null===(n=this._defaultBackgroundTokenizer)||void 0===n||n.handleChanges()}}setTokens(e){let{changes:t}=this._tokens.setMultilineTokens(e,this._textModel);return t.length>0&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:t}),{changes:t}}refreshAllVisibleLineTokens(){let e=g.z.joinMany([...this._attachedViewStates].map(([e,t])=>t.lineRanges));this.refreshRanges(e)}refreshRanges(e){for(let t of e)this.refreshRange(t.startLineNumber,t.endLineNumberExclusive-1)}refreshRange(e,t){var i,n;if(!this._tokenizer)return;e=Math.max(1,Math.min(this._textModel.getLineCount(),e)),t=Math.min(this._textModel.getLineCount(),t);let s=new eY,{heuristicTokens:o}=this._tokenizer.tokenizeHeuristically(s,e,t),r=this.setTokens(s.finalize());if(o)for(let e of r.changes)null===(i=this._backgroundTokenizer.value)||void 0===i||i.requestTokens(e.fromLineNumber,e.toLineNumber+1);null===(n=this._defaultBackgroundTokenizer)||void 0===n||n.checkFinished()}forceTokenization(e){var t,i;let n=new eY;null===(t=this._tokenizer)||void 0===t||t.updateTokensUntilLine(n,e),this.setTokens(n.finalize()),null===(i=this._defaultBackgroundTokenizer)||void 0===i||i.checkFinished()}hasAccurateTokensForLine(e){return!this._tokenizer||this._tokenizer.hasAccurateTokensForLine(e)}isCheapToTokenize(e){return!this._tokenizer||this._tokenizer.isCheapToTokenize(e)}tokenizeIfCheap(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)}getLineTokens(e){var t;let i=this._textModel.getLineContent(e),n=this._tokens.getTokens(this._textModel.getLanguageId(),e-1,i);if(this._debugBackgroundTokens&&this._debugBackgroundStates&&this._tokenizer&&this._debugBackgroundStates.getFirstInvalidEndStateLineNumberOrMax()>e&&this._tokenizer.store.getFirstInvalidEndStateLineNumberOrMax()>e){let s=this._debugBackgroundTokens.getTokens(this._textModel.getLanguageId(),e-1,i);!n.equals(s)&&(null===(t=this._debugBackgroundTokenizer.value)||void 0===t?void 0:t.reportMismatchingTokens)&&this._debugBackgroundTokenizer.value.reportMismatchingTokens(e)}return n}getTokenTypeIfInsertingCharacter(e,t,i){if(!this._tokenizer)return 0;let n=this._textModel.validatePosition(new p.L(e,t));return this.forceTokenization(n.lineNumber),this._tokenizer.getTokenTypeIfInsertingCharacter(n,i)}tokenizeLineWithEdit(e,t,i){if(!this._tokenizer)return null;let n=this._textModel.validatePosition(e);return this.forceTokenization(n.lineNumber),this._tokenizer.tokenizeLineWithEdit(n,t,i)}get hasTokens(){return this._tokens.hasTokens}}class to extends a.JT{get lineRanges(){return this._lineRanges}constructor(e){super(),this._refreshTokens=e,this.runner=this._register(new eV.pY(()=>this.update(),50)),this._computedLineRanges=[],this._lineRanges=[]}update(){(0,s.fS)(this._computedLineRanges,this._lineRanges,(e,t)=>e.equals(t))||(this._computedLineRanges=this._lineRanges,this._refreshTokens())}handleStateChange(e){this._lineRanges=e.visibleLineRanges,e.stabilized?(this.runner.cancel(),this.update()):this.runner.schedule()}}var tr=i(60646),tl=i(32109),ta=function(e,t){return function(i,n){t(i,n,e)}};function td(e,t){return("string"==typeof e?function(e){let t=new eH;return t.acceptChunk(e),t.finish()}(e):C.Hf(e)?function(e){let t;let i=new eH;for(;"string"==typeof(t=e.read());)i.acceptChunk(t);return i.finish()}(e):e).create(t)}let th=0;class tu{constructor(e){this._source=e,this._eos=!1}read(){if(this._eos)return null;let e=[],t=0,i=0;for(;;){let n=this._source.read();if(null===n){if(this._eos=!0,0===t)return null;return e.join("")}if(n.length>0&&(e[t++]=n,i+=n.length),i>=65536)return e.join("")}}}let tc=()=>{throw Error("Invalid change accessor")},tg=n=class extends a.JT{static resolveOptions(e,t){if(t.detectIndentation){let i=q(e,t.tabSize,t.insertSpaces);return new C.dJ({tabSize:i.tabSize,indentSize:"tabSize",insertSpaces:i.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL,bracketPairColorizationOptions:t.bracketPairColorizationOptions})}return new C.dJ(t)}get onDidChangeLanguage(){return this._tokenizationTextModelPart.onDidChangeLanguage}get onDidChangeLanguageConfiguration(){return this._tokenizationTextModelPart.onDidChangeLanguageConfiguration}get onDidChangeTokens(){return this._tokenizationTextModelPart.onDidChangeTokens}onDidChangeContent(e){return this._eventEmitter.slowEvent(t=>e(t.contentChangedEvent))}onDidChangeContentOrInjectedText(e){return(0,a.F8)(this._eventEmitter.fastEvent(t=>e(t)),this._onDidChangeInjectedText.event(t=>e(t)))}_isDisposing(){return this.__isDisposing}get tokenization(){return this._tokenizationTextModelPart}get bracketPairs(){return this._bracketPairs}get guides(){return this._guidesTextModelPart}constructor(e,t,i,s=null,o,r,u){super(),this._undoRedoService=o,this._languageService=r,this._languageConfigurationService=u,this._onWillDispose=this._register(new l.Q5),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new tD(e=>this.handleBeforeFireDecorationsChangedEvent(e))),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeOptions=this._register(new l.Q5),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new l.Q5),this.onDidChangeAttached=this._onDidChangeAttached.event,this._onDidChangeInjectedText=this._register(new l.Q5),this._eventEmitter=this._register(new tx),this._languageSelectionListener=this._register(new a.XK),this._deltaDecorationCallCnt=0,this._attachedViews=new tN,th++,this.id="$model"+th,this.isForSimpleWidget=i.isForSimpleWidget,null==s?this._associatedResource=h.o.parse("inmemory://model/"+th):this._associatedResource=s,this._attachedEditorCount=0;let{textBuffer:c,disposable:g}=td(e,i.defaultEOL);this._buffer=c,this._bufferDisposable=g,this._options=n.resolveOptions(this._buffer,i);let p="string"==typeof t?t:t.languageId;"string"!=typeof t&&(this._languageSelectionListener.value=t.onDidChange(()=>this._setLanguage(t.languageId))),this._bracketPairs=this._register(new P(this,this._languageConfigurationService)),this._guidesTextModelPart=this._register(new U.l(this,this._languageConfigurationService)),this._decorationProvider=this._register(new V(this)),this._tokenizationTextModelPart=new tn(this._languageService,this._languageConfigurationService,this,this._bracketPairs,p,this._attachedViews);let f=this._buffer.getLineCount(),_=this._buffer.getValueLengthInRange(new m.e(1,1,f,this._buffer.getLineLength(f)+1),0);i.largeFileOptimizations?(this._isTooLargeForTokenization=_>n.LARGE_FILE_SIZE_THRESHOLD||f>n.LARGE_FILE_LINE_COUNT_THRESHOLD,this._isTooLargeForHeapOperation=_>n.LARGE_FILE_HEAP_OPERATION_THRESHOLD):(this._isTooLargeForTokenization=!1,this._isTooLargeForHeapOperation=!1),this._isTooLargeForSyncing=_>n._MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this.__isDisposing=!1,this._instanceId=d.PJ(th),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new tf,this._commandManager=new K.NL(this,this._undoRedoService),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._register(this._decorationProvider.onDidChange(()=>{this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._onDidChangeDecorations.endDeferredEmit()})),this._languageService.requestRichLanguageFeatures(p)}dispose(){this.__isDisposing=!0,this._onWillDispose.fire(),this._tokenizationTextModelPart.dispose(),this._isDisposed=!0,super.dispose(),this._bufferDisposable.dispose(),this.__isDisposing=!1;let e=new eB([],"","\n",!1,!1,!0,!0);e.dispose(),this._buffer=e,this._bufferDisposable=a.JT.None}_assertNotDisposed(){if(this._isDisposed)throw Error("Model is disposed!")}_emitContentChangedEvent(e,t){this.__isDisposing||(this._tokenizationTextModelPart.handleDidChangeContent(t),this._bracketPairs.handleDidChangeContent(t),this._eventEmitter.fire(new tr.fV(e,t)))}setValue(e){if(this._assertNotDisposed(),null==e)throw(0,r.b1)();let{textBuffer:t,disposable:i}=td(e,this._options.defaultEOL);this._setValueFromTextBuffer(t,i)}_createContentChanged2(e,t,i,n,s,o,r,l){return{changes:[{range:e,rangeOffset:t,rangeLength:i,text:n}],eol:this._buffer.getEOL(),isEolChange:l,versionId:this.getVersionId(),isUndoing:s,isRedoing:o,isFlush:r}}_setValueFromTextBuffer(e,t){this._assertNotDisposed();let i=this.getFullModelRange(),n=this.getValueLengthInRange(i),s=this.getLineCount(),o=this.getLineMaxColumn(s);this._buffer=e,this._bufferDisposable.dispose(),this._bufferDisposable=t,this._increaseVersionId(),this._decorations=Object.create(null),this._decorationsTree=new tf,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new tr.dQ([new tr.Jx],this._versionId,!1,!1),this._createContentChanged2(new m.e(1,1,s,o),0,n,this.getValue(),!1,!1,!0,!1))}setEOL(e){this._assertNotDisposed();let t=1===e?"\r\n":"\n";if(this._buffer.getEOL()===t)return;let i=this.getFullModelRange(),n=this.getValueLengthInRange(i),s=this.getLineCount(),o=this.getLineMaxColumn(s);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new tr.dQ([new tr.CZ],this._versionId,!1,!1),this._createContentChanged2(new m.e(1,1,s,o),0,n,this.getValue(),!1,!1,!1,!0))}_onBeforeEOLChange(){this._decorationsTree.ensureAllNodesHaveRanges(this)}_onAfterEOLChange(){let e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder();for(let i=0,n=t.length;i0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isTooLargeForHeapOperation(){return this._isTooLargeForHeapOperation}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let e=0,t=0,i=this._buffer.getLineCount();for(let n=1;n<=i;n++){let i=this._buffer.getLineLength(n);i>=1e4?t+=i:e+=i}return t>e}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(e){this._assertNotDisposed();let t=void 0!==e.tabSize?e.tabSize:this._options.tabSize,i=void 0!==e.indentSize?e.indentSize:this._options.originalIndentSize,n=void 0!==e.insertSpaces?e.insertSpaces:this._options.insertSpaces,s=void 0!==e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,o=void 0!==e.bracketColorizationOptions?e.bracketColorizationOptions:this._options.bracketPairColorizationOptions,r=new C.dJ({tabSize:t,indentSize:i,insertSpaces:n,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:s,bracketPairColorizationOptions:o});if(this._options.equals(r))return;let l=this._options.createChangeEvent(r);this._options=r,this._bracketPairs.handleDidChangeOptions(l),this._decorationProvider.handleDidChangeOptions(l),this._onDidChangeOptions.fire(l)}detectIndentation(e,t){this._assertNotDisposed();let i=q(this._buffer,t,e);this.updateOptions({insertSpaces:i.insertSpaces,tabSize:i.tabSize,indentSize:i.tabSize})}normalizeIndentation(e){return this._assertNotDisposed(),(0,c.x)(e,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(e=null){let t=this.findMatches(d.Qe.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(e,t.map(e=>({range:e.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getInitialUndoRedoSnapshot(){return this._assertNotDisposed(),this._initialUndoRedoSnapshot}getOffsetAt(e){this._assertNotDisposed();let t=this._validatePosition(e.lineNumber,e.column,0);return this._buffer.getOffsetAt(t.lineNumber,t.column)}getPositionAt(e){this._assertNotDisposed();let t=Math.min(this._buffer.getLength(),Math.max(0,e));return this._buffer.getPositionAt(t)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(e){this._versionId=e}_overwriteAlternativeVersionId(e){this._alternativeVersionId=e}_overwriteInitialUndoRedoSnapshot(e){this._initialUndoRedoSnapshot=e}getValue(e,t=!1){if(this._assertNotDisposed(),this.isTooLargeForHeapOperation())throw new r.he("Operation would exceed heap memory limits");let i=this.getFullModelRange(),n=this.getValueInRange(i,e);return t?this._buffer.getBOM()+n:n}createSnapshot(e=!1){return new tu(this._buffer.createSnapshot(e))}getValueLength(e,t=!1){this._assertNotDisposed();let i=this.getFullModelRange(),n=this.getValueLengthInRange(i,e);return t?this._buffer.getBOM().length+n:n}getValueInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)}getValueLengthInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)}getCharacterCountInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(e),t)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineContent(e)}getLineLength(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineLength(e)}getLinesContent(){if(this._assertNotDisposed(),this.isTooLargeForHeapOperation())throw new r.he("Operation would exceed heap memory limits");return this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getEndOfLineSequence(){return this._assertNotDisposed(),"\n"===this._buffer.getEOL()?0:1}getLineMinColumn(e){return this._assertNotDisposed(),1}getLineMaxColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1}getLineFirstNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)}getLineLastNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)}_validateRangeRelaxedNoAllocations(e){let t=this._buffer.getLineCount(),i=e.startLineNumber,n=e.startColumn,s=Math.floor("number"!=typeof i||isNaN(i)?1:i),o=Math.floor("number"!=typeof n||isNaN(n)?1:n);if(s<1)s=1,o=1;else if(s>t)s=t,o=this.getLineMaxColumn(s);else if(o<=1)o=1;else{let e=this.getLineMaxColumn(s);o>=e&&(o=e)}let r=e.endLineNumber,l=e.endColumn,a=Math.floor("number"!=typeof r||isNaN(r)?1:r),d=Math.floor("number"!=typeof l||isNaN(l)?1:l);if(a<1)a=1,d=1;else if(a>t)a=t,d=this.getLineMaxColumn(a);else if(d<=1)d=1;else{let e=this.getLineMaxColumn(a);d>=e&&(d=e)}return i===s&&n===o&&r===a&&l===d&&e instanceof m.e&&!(e instanceof f.Y)?e:new m.e(s,o,a,d)}_isValidPosition(e,t,i){if("number"!=typeof e||"number"!=typeof t||isNaN(e)||isNaN(t)||e<1||t<1||(0|e)!==e||(0|t)!==t)return!1;let n=this._buffer.getLineCount();if(e>n)return!1;if(1===t)return!0;let s=this.getLineMaxColumn(e);if(t>s)return!1;if(1===i){let i=this._buffer.getLineCharCode(e,t-2);if(d.ZG(i))return!1}return!0}_validatePosition(e,t,i){let n=Math.floor("number"!=typeof e||isNaN(e)?1:e),s=Math.floor("number"!=typeof t||isNaN(t)?1:t),o=this._buffer.getLineCount();if(n<1)return new p.L(1,1);if(n>o)return new p.L(o,this.getLineMaxColumn(o));if(s<=1)return new p.L(n,1);let r=this.getLineMaxColumn(n);if(s>=r)return new p.L(n,r);if(1===i){let e=this._buffer.getLineCharCode(n,s-2);if(d.ZG(e))return new p.L(n,s-1)}return new p.L(n,s)}validatePosition(e){return(this._assertNotDisposed(),e instanceof p.L&&this._isValidPosition(e.lineNumber,e.column,1))?e:this._validatePosition(e.lineNumber,e.column,1)}_isValidRange(e,t){let i=e.startLineNumber,n=e.startColumn,s=e.endLineNumber,o=e.endColumn;if(!this._isValidPosition(i,n,0)||!this._isValidPosition(s,o,0))return!1;if(1===t){let e=n>1?this._buffer.getLineCharCode(i,n-2):0,t=o>1&&o<=this._buffer.getLineLength(s)?this._buffer.getLineCharCode(s,o-2):0,r=d.ZG(e),l=d.ZG(t);return!r&&!l}return!0}validateRange(e){if(this._assertNotDisposed(),e instanceof m.e&&!(e instanceof f.Y)&&this._isValidRange(e,1))return e;let t=this._validatePosition(e.startLineNumber,e.startColumn,0),i=this._validatePosition(e.endLineNumber,e.endColumn,0),n=t.lineNumber,s=t.column,o=i.lineNumber,r=i.column;{let e=s>1?this._buffer.getLineCharCode(n,s-2):0,t=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,i=d.ZG(e),l=d.ZG(t);return i||l?n===o&&s===r?new m.e(n,s-1,o,r-1):i&&l?new m.e(n,s-1,o,r+1):i?new m.e(n,s-1,o,r):new m.e(n,s,o,r+1):new m.e(n,s,o,r)}}modifyPosition(e,t){this._assertNotDisposed();let i=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,i)))}getFullModelRange(){this._assertNotDisposed();let e=this.getLineCount();return new m.e(1,1,e,this.getLineMaxColumn(e))}findMatchesLineByLine(e,t,i,n){return this._buffer.findMatchesLineByLine(e,t,i,n)}findMatches(e,t,i,n,s,o,r=999){let l;this._assertNotDisposed();let a=null;null!==t&&(Array.isArray(t)||(t=[t]),t.every(e=>m.e.isIRange(e))&&(a=t.map(e=>this.validateRange(e)))),null===a&&(a=[this.getFullModelRange()]),a=a.sort((e,t)=>e.startLineNumber-t.startLineNumber||e.startColumn-t.startColumn);let d=[];if(d.push(a.reduce((e,t)=>m.e.areIntersecting(e,t)?e.plusRange(t):(d.push(e),t))),!i&&0>e.indexOf("\n")){let t=new eN.bc(e,i,n,s),a=t.parseSearchRequest();if(!a)return[];l=e=>this.findMatchesLineByLine(e,a,o,r)}else l=t=>eN.pM.findMatches(this,new eN.bc(e,i,n,s),t,o,r);return d.map(l).reduce((e,t)=>e.concat(t),[])}findNextMatch(e,t,i,n,s,o){this._assertNotDisposed();let r=this.validatePosition(t);if(!i&&0>e.indexOf("\n")){let t=new eN.bc(e,i,n,s),l=t.parseSearchRequest();if(!l)return null;let a=this.getLineCount(),d=new m.e(r.lineNumber,r.column,a,this.getLineMaxColumn(a)),h=this.findMatchesLineByLine(d,l,o,1);return(eN.pM.findNextMatch(this,new eN.bc(e,i,n,s),r,o),h.length>0)?h[0]:(d=new m.e(1,1,r.lineNumber,this.getLineMaxColumn(r.lineNumber)),(h=this.findMatchesLineByLine(d,l,o,1)).length>0)?h[0]:null}return eN.pM.findNextMatch(this,new eN.bc(e,i,n,s),r,o)}findPreviousMatch(e,t,i,n,s,o){this._assertNotDisposed();let r=this.validatePosition(t);return eN.pM.findPreviousMatch(this,new eN.bc(e,i,n,s),r,o)}pushStackElement(){this._commandManager.pushStackElement()}popStackElement(){this._commandManager.popStackElement()}pushEOL(e){let t="\n"===this.getEOL()?0:1;if(t!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(e){return e instanceof C.Qi?e:new C.Qi(e.identifier||null,this.validateRange(e.range),e.text,e.forceMoveMarkers||!1,e.isAutoWhitespaceEdit||!1,e._isTracked||!1)}_validateEditOperations(e){let t=[];for(let i=0,n=e.length;i({range:this.validateRange(e.range),text:e.text})),n=!0;if(e)for(let t=0,s=e.length;ts.endLineNumber,r=s.startLineNumber>t.endLineNumber;if(!n&&!r){o=!0;break}}if(!o){n=!1;break}}if(n)for(let e=0,n=this._trimAutoWhitespaceLines.length;et.endLineNumber||n===t.startLineNumber&&t.startColumn===s&&t.isEmpty()&&r&&r.length>0&&"\n"===r.charAt(0)||n===t.startLineNumber&&1===t.startColumn&&t.isEmpty()&&r&&r.length>0&&"\n"===r.charAt(r.length-1))){o=!1;break}}if(o){let e=new m.e(n,1,n,s);t.push(new C.Qi(null,e,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(e,t,i,n)}_applyUndo(e,t,i,n){let s=e.map(e=>{let t=this.getPositionAt(e.newPosition),i=this.getPositionAt(e.newEnd);return{range:new m.e(t.lineNumber,t.column,i.lineNumber,i.column),text:e.oldText}});this._applyUndoRedoEdits(s,t,!0,!1,i,n)}_applyRedo(e,t,i,n){let s=e.map(e=>{let t=this.getPositionAt(e.oldPosition),i=this.getPositionAt(e.oldEnd);return{range:new m.e(t.lineNumber,t.column,i.lineNumber,i.column),text:e.newText}});this._applyUndoRedoEdits(s,t,!1,!0,i,n)}_applyUndoRedoEdits(e,t,i,n,s,o){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=i,this._isRedoing=n,this.applyEdits(e,!1),this.setEOL(t),this._overwriteAlternativeVersionId(s)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(o),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(e,t=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();let i=this._validateEditOperations(e);return this._doApplyEdits(i,t)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(e,t){let i=this._buffer.getLineCount(),n=this._buffer.applyEdits(e,this._options.trimAutoWhitespace,t),o=this._buffer.getLineCount(),r=n.changes;if(this._trimAutoWhitespaceLines=n.trimAutoWhitespaceLineNumbers,0!==r.length){for(let e=0,t=r.length;e=0;t--){let i=a+t,n=m+t;b.takeFromEndWhile(e=>e.lineNumber>n);let s=b.takeFromEndWhile(e=>e.lineNumber===n);e.push(new tr.rU(i,this.getLineContent(n),s))}if(ce.lineNumbere.lineNumber===t)}e.push(new tr.Tx(n+1,a+l,u,h))}t+=g}this._emitContentChangedEvent(new tr.dQ(e,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:r,eol:this._buffer.getEOL(),isEolChange:!1,versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return null===n.reverseEdits?void 0:n.reverseEdits}undo(){return this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){return this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}handleBeforeFireDecorationsChangedEvent(e){if(null===e||0===e.size)return;let t=Array.from(e),i=t.map(e=>new tr.rU(e,this.getLineContent(e),this._getInjectedTextInLine(e)));this._onDidChangeInjectedText.fire(new tr.D8(i))}changeDecorations(e,t=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(e,t){let i={addDecoration:(t,i)=>this._deltaDecorationsImpl(e,[],[{range:t,options:i}])[0],changeDecoration:(e,t)=>{this._changeDecorationImpl(e,t)},changeDecorationOptions:(e,t)=>{this._changeDecorationOptionsImpl(e,tk(t))},removeDecoration:t=>{this._deltaDecorationsImpl(e,[t],[])},deltaDecorations:(t,i)=>0===t.length&&0===i.length?[]:this._deltaDecorationsImpl(e,t,i)},n=null;try{n=t(i)}catch(e){(0,r.dL)(e)}return i.addDecoration=tc,i.changeDecoration=tc,i.changeDecorationOptions=tc,i.removeDecoration=tc,i.deltaDecorations=tc,n}deltaDecorations(e,t,i=0){if(this._assertNotDisposed(),e||(e=[]),0===e.length&&0===t.length)return[];try{return this._deltaDecorationCallCnt++,this._deltaDecorationCallCnt>1&&(console.warn("Invoking deltaDecorations recursively could lead to leaking decorations."),(0,r.dL)(Error("Invoking deltaDecorations recursively could lead to leaking decorations."))),this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(i,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit(),this._deltaDecorationCallCnt--}}_getTrackedRange(e){return this.getDecorationRange(e)}_setTrackedRange(e,t,i){let n=e?this._decorations[e]:null;if(!n)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:tL[i]}],!0)[0]:null;if(!t)return this._decorationsTree.delete(n),delete this._decorations[n.id],null;let s=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(s.startLineNumber,s.startColumn),r=this._buffer.getOffsetAt(s.endLineNumber,s.endColumn);return this._decorationsTree.delete(n),n.reset(this.getVersionId(),o,r,s),n.setOptions(tL[i]),this._decorationsTree.insert(n),n.id}removeAllDecorationsWithOwnerId(e){if(this._isDisposed)return;let t=this._decorationsTree.collectNodesFromOwner(e);for(let e=0,i=t.length;ethis.getLineCount()?[]:this.getLinesDecorations(e,e,t,i)}getLinesDecorations(e,t,i=0,n=!1,o=!1){let r=this.getLineCount(),l=Math.min(r,Math.max(1,t)),a=this.getLineMaxColumn(l),d=new m.e(Math.min(r,Math.max(1,e)),1,l,a),h=this._getDecorationsInRange(d,i,n,o);return(0,s.vA)(h,this._decorationProvider.getDecorationsInRange(d,i,n)),h}getDecorationsInRange(e,t=0,i=!1,n=!1,o=!1){let r=this.validateRange(e),l=this._getDecorationsInRange(r,t,i,o);return(0,s.vA)(l,this._decorationProvider.getDecorationsInRange(r,t,i,n)),l}getOverviewRulerDecorations(e=0,t=!1){return this._decorationsTree.getAll(this,e,t,!0,!1)}getInjectedTextDecorations(e=0){return this._decorationsTree.getAllInjectedText(this,e)}_getInjectedTextInLine(e){let t=this._buffer.getOffsetAt(e,1),i=t+this._buffer.getLineLength(e),n=this._decorationsTree.getInjectedTextInInterval(this,t,i,0);return tr.gk.fromDecorations(n).filter(t=>t.lineNumber===e)}getAllDecorations(e=0,t=!1){return this._decorationsTree.getAll(this,e,t,!1,!1).concat(this._decorationProvider.getAllDecorations(e,t))}getAllMarginDecorations(e=0){return this._decorationsTree.getAll(this,e,!1,!1,!0)}_getDecorationsInRange(e,t,i,n){let s=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),o=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn);return this._decorationsTree.getAllInInterval(this,s,o,t,i,n)}getRangeAt(e,t){return this._buffer.getRangeAt(e,t-e)}_changeDecorationImpl(e,t){let i=this._decorations[e];if(!i)return;if(i.options.after){let t=this.getDecorationRange(e);this._onDidChangeDecorations.recordLineAffectedByInjectedText(t.endLineNumber)}if(i.options.before){let t=this.getDecorationRange(e);this._onDidChangeDecorations.recordLineAffectedByInjectedText(t.startLineNumber)}let n=this._validateRangeRelaxedNoAllocations(t),s=this._buffer.getOffsetAt(n.startLineNumber,n.startColumn),o=this._buffer.getOffsetAt(n.endLineNumber,n.endColumn);this._decorationsTree.delete(i),i.reset(this.getVersionId(),s,o,n),this._decorationsTree.insert(i),this._onDidChangeDecorations.checkAffectedAndFire(i.options),i.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(n.endLineNumber),i.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(n.startLineNumber)}_changeDecorationOptionsImpl(e,t){let i=this._decorations[e];if(!i)return;let n=!!i.options.overviewRuler&&!!i.options.overviewRuler.color,s=!!t.overviewRuler&&!!t.overviewRuler.color;if(this._onDidChangeDecorations.checkAffectedAndFire(i.options),this._onDidChangeDecorations.checkAffectedAndFire(t),i.options.after||t.after){let e=this._decorationsTree.getNodeRange(this,i);this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.endLineNumber)}if(i.options.before||t.before){let e=this._decorationsTree.getNodeRange(this,i);this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.startLineNumber)}let o=(!!t.after||!!t.before)!==tm(i);n!==s||o?(this._decorationsTree.delete(i),i.setOptions(t),this._decorationsTree.insert(i)):i.setOptions(t)}_deltaDecorationsImpl(e,t,i,n=!1){let s=this.getVersionId(),o=t.length,r=0,l=i.length,a=0;this._onDidChangeDecorations.beginDeferredEmit();try{let d=Array(l);for(;rthis._setLanguage(e.languageId,t)),this._setLanguage(e.languageId,t))}_setLanguage(e,t){this.tokenization.setLanguageId(e,t),this._languageService.requestRichLanguageFeatures(e)}getLanguageIdAtPosition(e,t){return this.tokenization.getLanguageIdAtPosition(e,t)}getWordAtPosition(e){return this._tokenizationTextModelPart.getWordAtPosition(e)}getWordUntilPosition(e){return this._tokenizationTextModelPart.getWordUntilPosition(e)}normalizePosition(e,t){return e}getLineIndentColumn(e){return function(e){let t=0;for(let i of e)if(" "===i||" "===i)t++;else break;return t}(this.getLineContent(e))+1}};function tp(e){return!!e.options.overviewRuler&&!!e.options.overviewRuler.color}function tm(e){return!!e.options.after||!!e.options.before}tg._MODEL_SYNC_LIMIT=52428800,tg.LARGE_FILE_SIZE_THRESHOLD=20971520,tg.LARGE_FILE_LINE_COUNT_THRESHOLD=3e5,tg.LARGE_FILE_HEAP_OPERATION_THRESHOLD=268435456,tg.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:_.D.tabSize,indentSize:_.D.indentSize,insertSpaces:_.D.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:_.D.trimAutoWhitespace,largeFileOptimizations:_.D.largeFileOptimizations,bracketPairColorizationOptions:_.D.bracketPairColorizationOptions},tg=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ta(4,tl.tJ),ta(5,v.O),ta(6,b.c_)],tg);class tf{constructor(){this._decorationsTree0=new eo,this._decorationsTree1=new eo,this._injectedTextDecorationsTree=new eo}ensureAllNodesHaveRanges(e){this.getAll(e,0,!1,!1,!1)}_ensureNodesHaveRanges(e,t){for(let i of t)null===i.range&&(i.range=e.getRangeAt(i.cachedAbsoluteStart,i.cachedAbsoluteEnd));return t}getAllInInterval(e,t,i,n,s,o){let r=e.getVersionId(),l=this._intervalSearch(t,i,n,s,r,o);return this._ensureNodesHaveRanges(e,l)}_intervalSearch(e,t,i,n,s,o){let r=this._decorationsTree0.intervalSearch(e,t,i,n,s,o),l=this._decorationsTree1.intervalSearch(e,t,i,n,s,o),a=this._injectedTextDecorationsTree.intervalSearch(e,t,i,n,s,o);return r.concat(l).concat(a)}getInjectedTextInInterval(e,t,i,n){let s=e.getVersionId(),o=this._injectedTextDecorationsTree.intervalSearch(t,i,n,!1,s,!1);return this._ensureNodesHaveRanges(e,o).filter(e=>e.options.showIfCollapsed||!e.range.isEmpty())}getAllInjectedText(e,t){let i=e.getVersionId(),n=this._injectedTextDecorationsTree.search(t,!1,i,!1);return this._ensureNodesHaveRanges(e,n).filter(e=>e.options.showIfCollapsed||!e.range.isEmpty())}getAll(e,t,i,n,s){let o=e.getVersionId(),r=this._search(t,i,n,o,s);return this._ensureNodesHaveRanges(e,r)}_search(e,t,i,n,s){if(i)return this._decorationsTree1.search(e,t,n,s);{let i=this._decorationsTree0.search(e,t,n,s),o=this._decorationsTree1.search(e,t,n,s),r=this._injectedTextDecorationsTree.search(e,t,n,s);return i.concat(o).concat(r)}}collectNodesFromOwner(e){let t=this._decorationsTree0.collectNodesFromOwner(e),i=this._decorationsTree1.collectNodesFromOwner(e),n=this._injectedTextDecorationsTree.collectNodesFromOwner(e);return t.concat(i).concat(n)}collectNodesPostOrder(){let e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder(),i=this._injectedTextDecorationsTree.collectNodesPostOrder();return e.concat(t).concat(i)}insert(e){tm(e)?this._injectedTextDecorationsTree.insert(e):tp(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)}delete(e){tm(e)?this._injectedTextDecorationsTree.delete(e):tp(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)}getNodeRange(e,t){let i=e.getVersionId();return t.cachedVersionId!==i&&this._resolveNode(t,i),null===t.range&&(t.range=e.getRangeAt(t.cachedAbsoluteStart,t.cachedAbsoluteEnd)),t.range}_resolveNode(e,t){tm(e)?this._injectedTextDecorationsTree.resolveNode(e,t):tp(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)}acceptReplace(e,t,i,n){this._decorationsTree0.acceptReplace(e,t,i,n),this._decorationsTree1.acceptReplace(e,t,i,n),this._injectedTextDecorationsTree.acceptReplace(e,t,i,n)}}function t_(e){return e.replace(/[^a-z0-9\-_]/gi," ")}class tv{constructor(e){this.color=e.color||"",this.darkColor=e.darkColor||""}}class tb extends tv{constructor(e){super(e),this._resolvedColor=null,this.position="number"==typeof e.position?e.position:C.sh.Center}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(e,t){if("string"==typeof e)return e;let i=e?t.getColor(e.id):null;return i?i.toString():""}}class tC{constructor(e){var t;this.position=null!==(t=null==e?void 0:e.position)&&void 0!==t?t:C.U.Center,this.persistLane=null==e?void 0:e.persistLane}}class tw extends tv{constructor(e){var t,i;super(e),this.position=e.position,this.sectionHeaderStyle=null!==(t=e.sectionHeaderStyle)&&void 0!==t?t:null,this.sectionHeaderText=null!==(i=e.sectionHeaderText)&&void 0!==i?i:null}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(e,t){return"string"==typeof e?o.Il.fromHex(e):t.getColor(e.id)}}class ty{static from(e){return e instanceof ty?e:new ty(e)}constructor(e){this.content=e.content||"",this.inlineClassName=e.inlineClassName||null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.attachedData=e.attachedData||null,this.cursorStops=e.cursorStops||null}}class tS{static register(e){return new tS(e)}static createDynamic(e){return new tS(e)}constructor(e){var t,i,n,s,o,r;this.description=e.description,this.blockClassName=e.blockClassName?t_(e.blockClassName):null,this.blockDoesNotCollapse=null!==(t=e.blockDoesNotCollapse)&&void 0!==t?t:null,this.blockIsAfterEnd=null!==(i=e.blockIsAfterEnd)&&void 0!==i?i:null,this.blockPadding=null!==(n=e.blockPadding)&&void 0!==n?n:null,this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?t_(e.className):null,this.shouldFillLineOnLineBreak=null!==(s=e.shouldFillLineOnLineBreak)&&void 0!==s?s:null,this.hoverMessage=e.hoverMessage||null,this.glyphMarginHoverMessage=e.glyphMarginHoverMessage||null,this.lineNumberHoverMessage=e.lineNumberHoverMessage||null,this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new tb(e.overviewRuler):null,this.minimap=e.minimap?new tw(e.minimap):null,this.glyphMargin=e.glyphMarginClassName?new tC(e.glyphMargin):null,this.glyphMarginClassName=e.glyphMarginClassName?t_(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?t_(e.linesDecorationsClassName):null,this.lineNumberClassName=e.lineNumberClassName?t_(e.lineNumberClassName):null,this.linesDecorationsTooltip=e.linesDecorationsTooltip?d.fA(e.linesDecorationsTooltip):null,this.firstLineDecorationClassName=e.firstLineDecorationClassName?t_(e.firstLineDecorationClassName):null,this.marginClassName=e.marginClassName?t_(e.marginClassName):null,this.inlineClassName=e.inlineClassName?t_(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?t_(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?t_(e.afterContentClassName):null,this.after=e.after?ty.from(e.after):null,this.before=e.before?ty.from(e.before):null,this.hideInCommentTokens=null!==(o=e.hideInCommentTokens)&&void 0!==o&&o,this.hideInStringTokens=null!==(r=e.hideInStringTokens)&&void 0!==r&&r}}tS.EMPTY=tS.register({description:"empty"});let tL=[tS.register({description:"tracked-range-always-grows-when-typing-at-edges",stickiness:0}),tS.register({description:"tracked-range-never-grows-when-typing-at-edges",stickiness:1}),tS.register({description:"tracked-range-grows-only-when-typing-before",stickiness:2}),tS.register({description:"tracked-range-grows-only-when-typing-after",stickiness:3})];function tk(e){return e instanceof tS?e:tS.createDynamic(e)}class tD extends a.JT{constructor(e){super(),this.handleBeforeFire=e,this._actual=this._register(new l.Q5),this.event=this._actual.event,this._affectedInjectedTextLines=null,this._deferredCnt=0,this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1,this._affectsLineNumber=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){var e;this._deferredCnt--,0===this._deferredCnt&&(this._shouldFireDeferred&&this.doFire(),null===(e=this._affectedInjectedTextLines)||void 0===e||e.clear(),this._affectedInjectedTextLines=null)}recordLineAffectedByInjectedText(e){this._affectedInjectedTextLines||(this._affectedInjectedTextLines=new Set),this._affectedInjectedTextLines.add(e)}checkAffectedAndFire(e){var t,i;this._affectsMinimap||(this._affectsMinimap=!!(null===(t=e.minimap)||void 0===t?void 0:t.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!!(null===(i=e.overviewRuler)||void 0===i?void 0:i.color)),this._affectsGlyphMargin||(this._affectsGlyphMargin=!!e.glyphMarginClassName),this._affectsLineNumber||(this._affectsLineNumber=!!e.lineNumberClassName),this.tryFire()}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._affectsGlyphMargin=!0,this.tryFire()}tryFire(){0===this._deferredCnt?this.doFire():this._shouldFireDeferred=!0}doFire(){this.handleBeforeFire(this._affectedInjectedTextLines);let e={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler,affectsGlyphMargin:this._affectsGlyphMargin,affectsLineNumber:this._affectsLineNumber};this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1,this._actual.fire(e)}}class tx extends a.JT{constructor(){super(),this._fastEmitter=this._register(new l.Q5),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new l.Q5),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(e=null){if(this._deferredCnt--,0===this._deferredCnt&&null!==this._deferredEvent){this._deferredEvent.rawContentChangedEvent.resultingSelection=e;let t=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(t),this._slowEmitter.fire(t)}}fire(e){if(this._deferredCnt>0){this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e;return}this._fastEmitter.fire(e),this._slowEmitter.fire(e)}}class tN{constructor(){this._onDidChangeVisibleRanges=new l.Q5,this.onDidChangeVisibleRanges=this._onDidChangeVisibleRanges.event,this._views=new Set}attachView(){let e=new tE(t=>{this._onDidChangeVisibleRanges.fire({view:e,state:t})});return this._views.add(e),e}detachView(e){this._views.delete(e),this._onDidChangeVisibleRanges.fire({view:e,state:void 0})}}class tE{constructor(e){this.handleStateChange=e}setVisibleLines(e,t){let i=e.map(e=>new g.z(e.startLineNumber,e.endLineNumber+1));this.handleStateChange({visibleLineRanges:i,stabilized:t})}}},74927:function(e,t,i){"use strict";i.d(t,{U:function(){return s}});var n=i(70784);class s extends n.JT{constructor(){super(...arguments),this._isDisposed=!1}dispose(){super.dispose(),this._isDisposed=!0}assertNotDisposed(){if(this._isDisposed)throw Error("TextModelPart is disposed!")}}},5639:function(e,t,i){"use strict";i.d(t,{bc:function(){return a},cM:function(){return c},iE:function(){return d},pM:function(){return u},sz:function(){return g}});var n=i(95612),s=i(41117),o=i(86570),r=i(70209),l=i(41407);class a{constructor(e,t,i,n){this.searchString=e,this.isRegex=t,this.matchCase=i,this.wordSeparators=n}parseSearchRequest(){let e;if(""===this.searchString)return null;e=this.isRegex?function(e){if(!e||0===e.length)return!1;for(let t=0,i=e.length;t=i)break;let n=e.charCodeAt(t);if(110===n||114===n||87===n)return!0}}return!1}(this.searchString):this.searchString.indexOf("\n")>=0;let t=null;try{t=n.GF(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(e){return null}if(!t)return null;let i=!this.isRegex&&!e;return i&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(i=this.matchCase),new l.Tx(t,this.wordSeparators?(0,s.u)(this.wordSeparators,[]):null,i?this.searchString:null)}}function d(e,t,i){if(!i)return new l.tk(e,null);let n=[];for(let e=0,i=t.length;e>0);t[s]>=e?n=s-1:t[s+1]>=e?(i=s,n=s):i=s+1}return i+1}}class u{static findMatches(e,t,i,n,s){let o=t.parseSearchRequest();return o?o.regex.multiline?this._doFindMatchesMultiline(e,i,new g(o.wordSeparators,o.regex),n,s):this._doFindMatchesLineByLine(e,i,o,n,s):[]}static _getMultilineMatchRange(e,t,i,n,s,o){let l,a;let d=0;if(n?(d=n.findLineFeedCountBeforeOffset(s),l=t+s+d):l=t+s,n){let e=n.findLineFeedCountBeforeOffset(s+o.length),t=e-d;a=l+o.length+t}else a=l+o.length;let h=e.getPositionAt(l),u=e.getPositionAt(a);return new r.e(h.lineNumber,h.column,u.lineNumber,u.column)}static _doFindMatchesMultiline(e,t,i,n,s){let o;let r=e.getOffsetAt(t.getStartPosition()),l=e.getValueInRange(t,1),a="\r\n"===e.getEOL()?new h(l):null,u=[],c=0;for(i.reset(0);(o=i.next(l))&&(u[c++]=d(this._getMultilineMatchRange(e,r,l,a,o.index,o[0]),o,n),!(c>=s)););return u}static _doFindMatchesLineByLine(e,t,i,n,s){let o=[],r=0;if(t.startLineNumber===t.endLineNumber){let l=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return r=this._findMatchesInLine(i,l,t.startLineNumber,t.startColumn-1,r,o,n,s),o}let l=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);r=this._findMatchesInLine(i,l,t.startLineNumber,t.startColumn-1,r,o,n,s);for(let l=t.startLineNumber+1;l=h))););return s}let m=new g(e.wordSeparators,e.regex);m.reset(0);do if((u=m.next(t))&&(o[s++]=d(new r.e(i,u.index+1+n,i,u.index+1+u[0].length+n),u,a),s>=h))break;while(u);return s}static findNextMatch(e,t,i,n){let s=t.parseSearchRequest();if(!s)return null;let o=new g(s.wordSeparators,s.regex);return s.regex.multiline?this._doFindNextMatchMultiline(e,i,o,n):this._doFindNextMatchLineByLine(e,i,o,n)}static _doFindNextMatchMultiline(e,t,i,n){let s=new o.L(t.lineNumber,1),l=e.getOffsetAt(s),a=e.getLineCount(),u=e.getValueInRange(new r.e(s.lineNumber,s.column,a,e.getLineMaxColumn(a)),1),c="\r\n"===e.getEOL()?new h(u):null;i.reset(t.column-1);let g=i.next(u);return g?d(this._getMultilineMatchRange(e,l,u,c,g.index,g[0]),g,n):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new o.L(1,1),i,n):null}static _doFindNextMatchLineByLine(e,t,i,n){let s=e.getLineCount(),o=t.lineNumber,r=e.getLineContent(o),l=this._findFirstMatchInLine(i,r,o,t.column,n);if(l)return l;for(let t=1;t<=s;t++){let r=(o+t-1)%s,l=e.getLineContent(r+1),a=this._findFirstMatchInLine(i,l,r+1,1,n);if(a)return a}return null}static _findFirstMatchInLine(e,t,i,n,s){e.reset(n-1);let o=e.next(t);return o?d(new r.e(i,o.index+1,i,o.index+1+o[0].length),o,s):null}static findPreviousMatch(e,t,i,n){let s=t.parseSearchRequest();if(!s)return null;let o=new g(s.wordSeparators,s.regex);return s.regex.multiline?this._doFindPreviousMatchMultiline(e,i,o,n):this._doFindPreviousMatchLineByLine(e,i,o,n)}static _doFindPreviousMatchMultiline(e,t,i,n){let s=this._doFindMatchesMultiline(e,new r.e(1,1,t.lineNumber,t.column),i,n,9990);if(s.length>0)return s[s.length-1];let l=e.getLineCount();return t.lineNumber!==l||t.column!==e.getLineMaxColumn(l)?this._doFindPreviousMatchMultiline(e,new o.L(l,e.getLineMaxColumn(l)),i,n):null}static _doFindPreviousMatchLineByLine(e,t,i,n){let s=e.getLineCount(),o=t.lineNumber,r=e.getLineContent(o).substring(0,t.column-1),l=this._findLastMatchInLine(i,r,o,n);if(l)return l;for(let t=1;t<=s;t++){let r=(s+o-t-1)%s,l=e.getLineContent(r+1),a=this._findLastMatchInLine(i,l,r+1,n);if(a)return a}return null}static _findLastMatchInLine(e,t,i,n){let s,o=null;for(e.reset(0);s=e.next(t);)o=d(new r.e(i,s.index+1,i,s.index+1+s[0].length),s,n);return o}}function c(e,t,i,n,s){return function(e,t,i,n,s){if(0===n)return!0;let o=t.charCodeAt(n-1);if(0!==e.get(o)||13===o||10===o)return!0;if(s>0){let i=t.charCodeAt(n);if(0!==e.get(i))return!0}return!1}(e,t,0,n,s)&&function(e,t,i,n,s){if(n+s===i)return!0;let o=t.charCodeAt(n+s);if(0!==e.get(o)||13===o||10===o)return!0;if(s>0){let i=t.charCodeAt(n+s-1);if(0!==e.get(i))return!0}return!1}(e,t,i,n,s)}class g{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let i=e.length;do{if(this._prevMatchStartIndex+this._prevMatchLength===i||!(t=this._searchRegex.exec(e)))break;let s=t.index,o=t[0].length;if(s===this._prevMatchStartIndex&&o===this._prevMatchLength){if(0===o){n.ZH(e,i,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=s,this._prevMatchLength=o,!this._wordSeparators||c(this._wordSeparators,e,i,s,o))return t}while(t);return null}}},37042:function(e,t,i){"use strict";function n(e,t){let i=0,n=0,s=e.length;for(;n(0,s.SP)(n.of(t),e),0)}get(e){let t=this._key(e),i=this._cache.get(t);return i?(0,r.uZ)(i.value,this._min,this._max):this.default()}update(e,t){let i=this._key(e),n=this._cache.get(i);n||(n=new r.N(6),this._cache.set(i,n));let s=(0,r.uZ)(n.update(t),this._min,this._max);return(0,u.xn)(e.uri,"output")||this._logService.trace(`[DEBOUNCE: ${this._name}] for ${e.uri.toString()} is ${s}ms`),s}_overall(){let e=new r.nM;for(let[,t]of this._cache)e.update(t.value);return e.value}default(){let e=0|this._overall()||this._default;return(0,r.uZ)(e,this._min,this._max)}}let f=class{constructor(e,t){this._logService=e,this._data=new Map,this._isDev=t.isExtensionDevelopment||!t.isBuilt}for(e,t,i){var s,o,r;let l=null!==(s=null==i?void 0:i.min)&&void 0!==s?s:50,a=null!==(o=null==i?void 0:i.max)&&void 0!==o?o:l**2,d=null!==(r=null==i?void 0:i.key)&&void 0!==r?r:void 0,h=`${n.of(e)},${l}${d?","+d:""}`,u=this._data.get(h);return u||(this._isDev?(this._logService.debug(`[DEBOUNCE: ${t}] is disabled in developed mode`),u=new p(1.5*l)):u=new m(this._logService,t,e,0|this._overallAverage()||1.5*l,l,a),this._data.set(h,u)),u}_overallAverage(){let e=new r.nM;for(let t of this._data.values())e.update(t.default());return e.value}};f=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([c(0,h.VZ),c(1,l.Y)],f),(0,a.z)(g,f,1)},64106:function(e,t,i){"use strict";i.d(t,{p:function(){return s}});var n=i(85327);let s=(0,n.yh)("ILanguageFeaturesService")},87468:function(e,t,i){"use strict";i.d(t,{i:function(){return s}});var n=i(85327);let s=(0,n.yh)("markerDecorationsService")},98334:function(e,t,i){"use strict";i.d(t,{q:function(){return s}});var n=i(85327);let s=(0,n.yh)("modelService")},883:function(e,t,i){"use strict";i.d(t,{S:function(){return s}});var n=i(85327);let s=(0,n.yh)("textModelService")},8185:function(e,t,i){"use strict";i.d(t,{$:function(){return p},h:function(){return m}});var n=i(30664),s=i(55150),o=i(99078),r=i(86570),l=i(70209),a=i(67830);class d{static create(e,t){return new d(e,new h(t))}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._endLineNumber}constructor(e,t){this._startLineNumber=e,this._tokens=t,this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}toString(){return this._tokens.toString(this._startLineNumber)}_updateEndLineNumber(){this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}isEmpty(){return this._tokens.isEmpty()}getLineTokens(e){return this._startLineNumber<=e&&e<=this._endLineNumber?this._tokens.getLineTokens(e-this._startLineNumber):null}getRange(){let e=this._tokens.getRange();return e?new l.e(this._startLineNumber+e.startLineNumber,e.startColumn,this._startLineNumber+e.endLineNumber,e.endColumn):e}removeTokens(e){let t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber;this._startLineNumber+=this._tokens.removeTokens(t,e.startColumn-1,i,e.endColumn-1),this._updateEndLineNumber()}split(e){let t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber,[n,s,o]=this._tokens.split(t,e.startColumn-1,i,e.endColumn-1);return[new d(this._startLineNumber,n),new d(this._startLineNumber+o,s)]}applyEdit(e,t){let[i,n,s]=(0,a.Q)(t);this.acceptEdit(e,i,n,s,t.length>0?t.charCodeAt(0):0)}acceptEdit(e,t,i,n,s){this._acceptDeleteRange(e),this._acceptInsertText(new r.L(e.startLineNumber,e.startColumn),t,i,n,s),this._updateEndLineNumber()}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return;let t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber;if(i<0){let e=i-t;this._startLineNumber-=e;return}let n=this._tokens.getMaxDeltaLine();if(!(t>=n+1)){if(t<0&&i>=n+1){this._startLineNumber=0,this._tokens.clear();return}if(t<0){let n=-t;this._startLineNumber-=n,this._tokens.acceptDeleteRange(e.startColumn-1,0,0,i,e.endColumn-1)}else this._tokens.acceptDeleteRange(0,t,e.startColumn-1,i,e.endColumn-1)}}_acceptInsertText(e,t,i,n,s){if(0===t&&0===i)return;let o=e.lineNumber-this._startLineNumber;if(o<0){this._startLineNumber+=t;return}let r=this._tokens.getMaxDeltaLine();o>=r+1||this._tokens.acceptInsertText(o,e.column-1,t,i,n,s)}}class h{constructor(e){this._tokens=e,this._tokenCount=e.length/4}toString(e){let t=[];for(let i=0;ie)i=n-1;else{let s=n;for(;s>t&&this._getDeltaLine(s-1)===e;)s--;let o=n;for(;oe||h===e&&c>=t)&&(he||h===e&&g>=t){if(hs?p-=s-i:p=i;else if(c===t&&g===i){if(c===n&&p>s)p-=s-i;else{d=!0;continue}}else if(cs)c=t,p=(g=i)+(p-s);else{d=!0;continue}}else if(c>n){if(0===l&&!d){a=r;break}c-=l}else if(c===n&&g>=s)e&&0===c&&(g+=e,p+=e),c-=l,g-=s-i,p-=s-i;else throw Error("Not possible!");let f=4*a;o[f]=c,o[f+1]=g,o[f+2]=p,o[f+3]=m,a++}this._tokenCount=a}acceptInsertText(e,t,i,n,s,o){let r=0===i&&1===n&&(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122),l=this._tokens,a=this._tokenCount;for(let o=0;o0&&t>=1;e>0&&this._logService.getLevel()===o.in.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${t.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),a.push("not-in-legend"));let n=this._themeService.getColorTheme().getTokenStyleMetadata(l,a,i);if(void 0===n)s=2147483647;else{if(s=0,void 0!==n.italic){let e=(n.italic?1:0)<<11;s|=1|e}if(void 0!==n.bold){let e=(n.bold?2:0)<<11;s|=2|e}if(void 0!==n.underline){let e=(n.underline?4:0)<<11;s|=4|e}if(void 0!==n.strikethrough){let e=(n.strikethrough?8:0)<<11;s|=8|e}if(n.foreground){let e=n.foreground<<15;s|=16|e}0===s&&(s=2147483647)}}else this._logService.getLevel()===o.in.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${e} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),s=2147483647,l="not-in-legend";this._hashTable.add(e,t,r,s),this._logService.getLevel()===o.in.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${e} (${l}) / ${t} (${a.join(" ")}): foreground ${n.N.getForeground(s)}, fontStyle ${n.N.getFontStyle(s).toString(2)}`)}return s}warnOverlappingSemanticTokens(e,t){this._hasWarnedOverlappingTokens||(this._hasWarnedOverlappingTokens=!0,this._logService.warn(`Overlapping semantic tokens detected at lineNumber ${e}, column ${t}`))}warnInvalidLengthSemanticTokens(e,t){this._hasWarnedInvalidLengthTokens||(this._hasWarnedInvalidLengthTokens=!0,this._logService.warn(`Semantic token with invalid length detected at lineNumber ${e}, column ${t}`))}warnInvalidEditStart(e,t,i,n,s){this._hasWarnedInvalidEditStart||(this._hasWarnedInvalidEditStart=!0,this._logService.warn(`Invalid semantic tokens edit detected (previousResultId: ${e}, resultId: ${t}) at edit #${i}: The provided start offset ${n} is outside the previous data (length ${s}).`))}};function m(e,t,i){let n=e.data,s=e.data.length/5|0,o=Math.max(Math.ceil(s/1024),400),r=[],l=0,a=1,h=0;for(;le&&0===n[5*t];)t--;if(t-1===e){let e=u;for(;e+1d)t.warnOverlappingSemanticTokens(r,d+1);else{let e=t.getMetadata(v,b,i);2147483647!==e&&(0===p&&(p=r),c[g]=r-p,c[g+1]=d,c[g+2]=_,c[g+3]=e,g+=4,m=r,f=_)}a=r,h=d,l++}g!==c.length&&(c=c.subarray(0,g));let _=d.create(p,c);r.push(_)}return r}p=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([g(1,s.XE),g(2,c.O),g(3,o.VZ)],p);class f{constructor(e,t,i,n){this.tokenTypeIndex=e,this.tokenModifierSet=t,this.languageId=i,this.metadata=n,this.next=null}}class _{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=_._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<_._SIZES.length?2/3*this._currentLength:0),this._elements=[],_._nullOutEntries(this._elements,this._currentLength)}static _nullOutEntries(e,t){for(let i=0;i=this._growCount){let e=this._elements;for(let t of(this._currentLengthIndex++,this._currentLength=_._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<_._SIZES.length?2/3*this._currentLength:0),this._elements=[],_._nullOutEntries(this._elements,this._currentLength),e)){let e=t;for(;e;){let t=e.next;e.next=null,this._add(e),e=t}}}this._add(new f(e,t,i,n))}_add(e){let t=this._hashFunc(e.tokenTypeIndex,e.tokenModifierSet,e.languageId);e.next=this._elements[t],this._elements[t]=e}}_._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143]},42458:function(e,t,i){"use strict";i.d(t,{s:function(){return s}});var n=i(85327);let s=(0,n.yh)("semanticTokensStylingService")},78318:function(e,t,i){"use strict";i.d(t,{V:function(){return s},y:function(){return o}});var n=i(85327);let s=(0,n.yh)("textResourceConfigurationService"),o=(0,n.yh)("textResourcePropertiesService")},15365:function(e,t,i){"use strict";i.d(t,{a:function(){return a}});var n=i(70209),s=i(5639),o=i(95612),r=i(61413),l=i(85330);class a{static computeUnicodeHighlights(e,t,i){let a,h;let u=i?i.startLineNumber:1,c=i?i.endLineNumber:e.getLineCount(),g=new d(t),p=g.getCandidateCodePoints();a="allNonBasicAscii"===p?RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):RegExp(`${function(e,t){let i=`[${o.ec(e.map(e=>String.fromCodePoint(e)).join(""))}]`;return i}(Array.from(p))}`,"g");let m=new s.sz(null,a),f=[],_=!1,v=0,b=0,C=0;n:for(let t=u;t<=c;t++){let i=e.getLineContent(t),s=i.length;m.reset(0);do if(h=m.next(i)){let e=h.index,a=h.index+h[0].length;if(e>0){let t=i.charCodeAt(e-1);o.ZG(t)&&e--}if(a+1=1e3){_=!0;break n}f.push(new n.e(t,e+1,t,a+1))}}while(h)}return{ranges:f,hasMore:_,ambiguousCharacterCount:v,invisibleCharacterCount:b,nonBasicAsciiCharacterCount:C}}static computeUnicodeHighlightReason(e,t){let i=new d(t),n=i.shouldHighlightNonBasicASCII(e,null);switch(n){case 0:return null;case 2:return{kind:1};case 3:{let n=e.codePointAt(0),s=i.ambiguousCharacters.getPrimaryConfusable(n),r=o.ZK.getLocales().filter(e=>!o.ZK.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(n));return{kind:0,confusableWith:String.fromCodePoint(s),notAmbiguousInLocales:r}}case 1:return{kind:2}}}}class d{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=o.ZK.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of o.vU.codePoints)h(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let i=e.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let n=!1,s=!1;if(t)for(let e of t){let t=e.codePointAt(0),i=o.$i(e);n=n||i,i||this.ambiguousCharacters.isAmbiguous(t)||o.vU.isInvisibleCharacter(t)||(s=!0)}return!n&&s?0:this.options.invisibleCharacters&&!h(e)&&o.vU.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function h(e){return" "===e||"\n"===e||" "===e}},60989:function(e,t,i){"use strict";var n,s,o,r,l,a,d,h,u,c,g,p,m,f,_,v,b,C,w,y,S,L,k,D,x,N,E,I,T,M,R,A,P,O,F,B,W,H,V,z,K,U,$,q,j,G,Q,Z,Y,J,X,ee,et,ei,en,es,eo,er,el,ea,ed,eh,eu,ec,eg,ep,em,ef,e_,ev,eb,eC,ew,ey,eS,eL,ek,eD,ex,eN,eE,eI,eT,eM,eR,eA,eP,eO,eF,eB,eW,eH;i.d(t,{$r:function(){return V},E$:function(){return M},F5:function(){return x},Ij:function(){return a},In:function(){return $},Ll:function(){return T},Lu:function(){return O},MG:function(){return E},MY:function(){return c},NA:function(){return A},OI:function(){return j},RM:function(){return C},U:function(){return _},VD:function(){return L},Vi:function(){return h},WG:function(){return N},WW:function(){return z},ZL:function(){return k},_x:function(){return u},a$:function(){return H},a7:function(){return o},ao:function(){return n},bq:function(){return v},bw:function(){return y},cR:function(){return K},cm:function(){return r},d2:function(){return q},eB:function(){return D},g4:function(){return B},g_:function(){return W},gl:function(){return w},gm:function(){return m},jl:function(){return f},np:function(){return s},py:function(){return P},r3:function(){return d},r4:function(){return U},rf:function(){return g},rn:function(){return S},sh:function(){return R},up:function(){return G},vQ:function(){return F},w:function(){return I},wT:function(){return p},wU:function(){return b},we:function(){return l}}),(Q=n||(n={}))[Q.Unknown=0]="Unknown",Q[Q.Disabled=1]="Disabled",Q[Q.Enabled=2]="Enabled",(Z=s||(s={}))[Z.Invoke=1]="Invoke",Z[Z.Auto=2]="Auto",(Y=o||(o={}))[Y.None=0]="None",Y[Y.KeepWhitespace=1]="KeepWhitespace",Y[Y.InsertAsSnippet=4]="InsertAsSnippet",(J=r||(r={}))[J.Method=0]="Method",J[J.Function=1]="Function",J[J.Constructor=2]="Constructor",J[J.Field=3]="Field",J[J.Variable=4]="Variable",J[J.Class=5]="Class",J[J.Struct=6]="Struct",J[J.Interface=7]="Interface",J[J.Module=8]="Module",J[J.Property=9]="Property",J[J.Event=10]="Event",J[J.Operator=11]="Operator",J[J.Unit=12]="Unit",J[J.Value=13]="Value",J[J.Constant=14]="Constant",J[J.Enum=15]="Enum",J[J.EnumMember=16]="EnumMember",J[J.Keyword=17]="Keyword",J[J.Text=18]="Text",J[J.Color=19]="Color",J[J.File=20]="File",J[J.Reference=21]="Reference",J[J.Customcolor=22]="Customcolor",J[J.Folder=23]="Folder",J[J.TypeParameter=24]="TypeParameter",J[J.User=25]="User",J[J.Issue=26]="Issue",J[J.Snippet=27]="Snippet",(X=l||(l={}))[X.Deprecated=1]="Deprecated",(ee=a||(a={}))[ee.Invoke=0]="Invoke",ee[ee.TriggerCharacter=1]="TriggerCharacter",ee[ee.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(et=d||(d={}))[et.EXACT=0]="EXACT",et[et.ABOVE=1]="ABOVE",et[et.BELOW=2]="BELOW",(ei=h||(h={}))[ei.NotSet=0]="NotSet",ei[ei.ContentFlush=1]="ContentFlush",ei[ei.RecoverFromMarkers=2]="RecoverFromMarkers",ei[ei.Explicit=3]="Explicit",ei[ei.Paste=4]="Paste",ei[ei.Undo=5]="Undo",ei[ei.Redo=6]="Redo",(en=u||(u={}))[en.LF=1]="LF",en[en.CRLF=2]="CRLF",(es=c||(c={}))[es.Text=0]="Text",es[es.Read=1]="Read",es[es.Write=2]="Write",(eo=g||(g={}))[eo.None=0]="None",eo[eo.Keep=1]="Keep",eo[eo.Brackets=2]="Brackets",eo[eo.Advanced=3]="Advanced",eo[eo.Full=4]="Full",(er=p||(p={}))[er.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",er[er.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",er[er.accessibilitySupport=2]="accessibilitySupport",er[er.accessibilityPageSize=3]="accessibilityPageSize",er[er.ariaLabel=4]="ariaLabel",er[er.ariaRequired=5]="ariaRequired",er[er.autoClosingBrackets=6]="autoClosingBrackets",er[er.autoClosingComments=7]="autoClosingComments",er[er.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",er[er.autoClosingDelete=9]="autoClosingDelete",er[er.autoClosingOvertype=10]="autoClosingOvertype",er[er.autoClosingQuotes=11]="autoClosingQuotes",er[er.autoIndent=12]="autoIndent",er[er.automaticLayout=13]="automaticLayout",er[er.autoSurround=14]="autoSurround",er[er.bracketPairColorization=15]="bracketPairColorization",er[er.guides=16]="guides",er[er.codeLens=17]="codeLens",er[er.codeLensFontFamily=18]="codeLensFontFamily",er[er.codeLensFontSize=19]="codeLensFontSize",er[er.colorDecorators=20]="colorDecorators",er[er.colorDecoratorsLimit=21]="colorDecoratorsLimit",er[er.columnSelection=22]="columnSelection",er[er.comments=23]="comments",er[er.contextmenu=24]="contextmenu",er[er.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",er[er.cursorBlinking=26]="cursorBlinking",er[er.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",er[er.cursorStyle=28]="cursorStyle",er[er.cursorSurroundingLines=29]="cursorSurroundingLines",er[er.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",er[er.cursorWidth=31]="cursorWidth",er[er.disableLayerHinting=32]="disableLayerHinting",er[er.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",er[er.domReadOnly=34]="domReadOnly",er[er.dragAndDrop=35]="dragAndDrop",er[er.dropIntoEditor=36]="dropIntoEditor",er[er.emptySelectionClipboard=37]="emptySelectionClipboard",er[er.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",er[er.extraEditorClassName=39]="extraEditorClassName",er[er.fastScrollSensitivity=40]="fastScrollSensitivity",er[er.find=41]="find",er[er.fixedOverflowWidgets=42]="fixedOverflowWidgets",er[er.folding=43]="folding",er[er.foldingStrategy=44]="foldingStrategy",er[er.foldingHighlight=45]="foldingHighlight",er[er.foldingImportsByDefault=46]="foldingImportsByDefault",er[er.foldingMaximumRegions=47]="foldingMaximumRegions",er[er.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",er[er.fontFamily=49]="fontFamily",er[er.fontInfo=50]="fontInfo",er[er.fontLigatures=51]="fontLigatures",er[er.fontSize=52]="fontSize",er[er.fontWeight=53]="fontWeight",er[er.fontVariations=54]="fontVariations",er[er.formatOnPaste=55]="formatOnPaste",er[er.formatOnType=56]="formatOnType",er[er.glyphMargin=57]="glyphMargin",er[er.gotoLocation=58]="gotoLocation",er[er.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",er[er.hover=60]="hover",er[er.inDiffEditor=61]="inDiffEditor",er[er.inlineSuggest=62]="inlineSuggest",er[er.inlineEdit=63]="inlineEdit",er[er.letterSpacing=64]="letterSpacing",er[er.lightbulb=65]="lightbulb",er[er.lineDecorationsWidth=66]="lineDecorationsWidth",er[er.lineHeight=67]="lineHeight",er[er.lineNumbers=68]="lineNumbers",er[er.lineNumbersMinChars=69]="lineNumbersMinChars",er[er.linkedEditing=70]="linkedEditing",er[er.links=71]="links",er[er.matchBrackets=72]="matchBrackets",er[er.minimap=73]="minimap",er[er.mouseStyle=74]="mouseStyle",er[er.mouseWheelScrollSensitivity=75]="mouseWheelScrollSensitivity",er[er.mouseWheelZoom=76]="mouseWheelZoom",er[er.multiCursorMergeOverlapping=77]="multiCursorMergeOverlapping",er[er.multiCursorModifier=78]="multiCursorModifier",er[er.multiCursorPaste=79]="multiCursorPaste",er[er.multiCursorLimit=80]="multiCursorLimit",er[er.occurrencesHighlight=81]="occurrencesHighlight",er[er.overviewRulerBorder=82]="overviewRulerBorder",er[er.overviewRulerLanes=83]="overviewRulerLanes",er[er.padding=84]="padding",er[er.pasteAs=85]="pasteAs",er[er.parameterHints=86]="parameterHints",er[er.peekWidgetDefaultFocus=87]="peekWidgetDefaultFocus",er[er.definitionLinkOpensInPeek=88]="definitionLinkOpensInPeek",er[er.quickSuggestions=89]="quickSuggestions",er[er.quickSuggestionsDelay=90]="quickSuggestionsDelay",er[er.readOnly=91]="readOnly",er[er.readOnlyMessage=92]="readOnlyMessage",er[er.renameOnType=93]="renameOnType",er[er.renderControlCharacters=94]="renderControlCharacters",er[er.renderFinalNewline=95]="renderFinalNewline",er[er.renderLineHighlight=96]="renderLineHighlight",er[er.renderLineHighlightOnlyWhenFocus=97]="renderLineHighlightOnlyWhenFocus",er[er.renderValidationDecorations=98]="renderValidationDecorations",er[er.renderWhitespace=99]="renderWhitespace",er[er.revealHorizontalRightPadding=100]="revealHorizontalRightPadding",er[er.roundedSelection=101]="roundedSelection",er[er.rulers=102]="rulers",er[er.scrollbar=103]="scrollbar",er[er.scrollBeyondLastColumn=104]="scrollBeyondLastColumn",er[er.scrollBeyondLastLine=105]="scrollBeyondLastLine",er[er.scrollPredominantAxis=106]="scrollPredominantAxis",er[er.selectionClipboard=107]="selectionClipboard",er[er.selectionHighlight=108]="selectionHighlight",er[er.selectOnLineNumbers=109]="selectOnLineNumbers",er[er.showFoldingControls=110]="showFoldingControls",er[er.showUnused=111]="showUnused",er[er.snippetSuggestions=112]="snippetSuggestions",er[er.smartSelect=113]="smartSelect",er[er.smoothScrolling=114]="smoothScrolling",er[er.stickyScroll=115]="stickyScroll",er[er.stickyTabStops=116]="stickyTabStops",er[er.stopRenderingLineAfter=117]="stopRenderingLineAfter",er[er.suggest=118]="suggest",er[er.suggestFontSize=119]="suggestFontSize",er[er.suggestLineHeight=120]="suggestLineHeight",er[er.suggestOnTriggerCharacters=121]="suggestOnTriggerCharacters",er[er.suggestSelection=122]="suggestSelection",er[er.tabCompletion=123]="tabCompletion",er[er.tabIndex=124]="tabIndex",er[er.unicodeHighlighting=125]="unicodeHighlighting",er[er.unusualLineTerminators=126]="unusualLineTerminators",er[er.useShadowDOM=127]="useShadowDOM",er[er.useTabStops=128]="useTabStops",er[er.wordBreak=129]="wordBreak",er[er.wordSegmenterLocales=130]="wordSegmenterLocales",er[er.wordSeparators=131]="wordSeparators",er[er.wordWrap=132]="wordWrap",er[er.wordWrapBreakAfterCharacters=133]="wordWrapBreakAfterCharacters",er[er.wordWrapBreakBeforeCharacters=134]="wordWrapBreakBeforeCharacters",er[er.wordWrapColumn=135]="wordWrapColumn",er[er.wordWrapOverride1=136]="wordWrapOverride1",er[er.wordWrapOverride2=137]="wordWrapOverride2",er[er.wrappingIndent=138]="wrappingIndent",er[er.wrappingStrategy=139]="wrappingStrategy",er[er.showDeprecated=140]="showDeprecated",er[er.inlayHints=141]="inlayHints",er[er.editorClassName=142]="editorClassName",er[er.pixelRatio=143]="pixelRatio",er[er.tabFocusMode=144]="tabFocusMode",er[er.layoutInfo=145]="layoutInfo",er[er.wrappingInfo=146]="wrappingInfo",er[er.defaultColorDecorators=147]="defaultColorDecorators",er[er.colorDecoratorsActivatedOn=148]="colorDecoratorsActivatedOn",er[er.inlineCompletionsAccessibilityVerbose=149]="inlineCompletionsAccessibilityVerbose",(el=m||(m={}))[el.TextDefined=0]="TextDefined",el[el.LF=1]="LF",el[el.CRLF=2]="CRLF",(ea=f||(f={}))[ea.LF=0]="LF",ea[ea.CRLF=1]="CRLF",(ed=_||(_={}))[ed.Left=1]="Left",ed[ed.Center=2]="Center",ed[ed.Right=3]="Right",(eh=v||(v={}))[eh.Increase=0]="Increase",eh[eh.Decrease=1]="Decrease",(eu=b||(b={}))[eu.None=0]="None",eu[eu.Indent=1]="Indent",eu[eu.IndentOutdent=2]="IndentOutdent",eu[eu.Outdent=3]="Outdent",(ec=C||(C={}))[ec.Both=0]="Both",ec[ec.Right=1]="Right",ec[ec.Left=2]="Left",ec[ec.None=3]="None",(eg=w||(w={}))[eg.Type=1]="Type",eg[eg.Parameter=2]="Parameter",(ep=y||(y={}))[ep.Automatic=0]="Automatic",ep[ep.Explicit=1]="Explicit",(em=S||(S={}))[em.Invoke=0]="Invoke",em[em.Automatic=1]="Automatic",(ef=L||(L={}))[ef.DependsOnKbLayout=-1]="DependsOnKbLayout",ef[ef.Unknown=0]="Unknown",ef[ef.Backspace=1]="Backspace",ef[ef.Tab=2]="Tab",ef[ef.Enter=3]="Enter",ef[ef.Shift=4]="Shift",ef[ef.Ctrl=5]="Ctrl",ef[ef.Alt=6]="Alt",ef[ef.PauseBreak=7]="PauseBreak",ef[ef.CapsLock=8]="CapsLock",ef[ef.Escape=9]="Escape",ef[ef.Space=10]="Space",ef[ef.PageUp=11]="PageUp",ef[ef.PageDown=12]="PageDown",ef[ef.End=13]="End",ef[ef.Home=14]="Home",ef[ef.LeftArrow=15]="LeftArrow",ef[ef.UpArrow=16]="UpArrow",ef[ef.RightArrow=17]="RightArrow",ef[ef.DownArrow=18]="DownArrow",ef[ef.Insert=19]="Insert",ef[ef.Delete=20]="Delete",ef[ef.Digit0=21]="Digit0",ef[ef.Digit1=22]="Digit1",ef[ef.Digit2=23]="Digit2",ef[ef.Digit3=24]="Digit3",ef[ef.Digit4=25]="Digit4",ef[ef.Digit5=26]="Digit5",ef[ef.Digit6=27]="Digit6",ef[ef.Digit7=28]="Digit7",ef[ef.Digit8=29]="Digit8",ef[ef.Digit9=30]="Digit9",ef[ef.KeyA=31]="KeyA",ef[ef.KeyB=32]="KeyB",ef[ef.KeyC=33]="KeyC",ef[ef.KeyD=34]="KeyD",ef[ef.KeyE=35]="KeyE",ef[ef.KeyF=36]="KeyF",ef[ef.KeyG=37]="KeyG",ef[ef.KeyH=38]="KeyH",ef[ef.KeyI=39]="KeyI",ef[ef.KeyJ=40]="KeyJ",ef[ef.KeyK=41]="KeyK",ef[ef.KeyL=42]="KeyL",ef[ef.KeyM=43]="KeyM",ef[ef.KeyN=44]="KeyN",ef[ef.KeyO=45]="KeyO",ef[ef.KeyP=46]="KeyP",ef[ef.KeyQ=47]="KeyQ",ef[ef.KeyR=48]="KeyR",ef[ef.KeyS=49]="KeyS",ef[ef.KeyT=50]="KeyT",ef[ef.KeyU=51]="KeyU",ef[ef.KeyV=52]="KeyV",ef[ef.KeyW=53]="KeyW",ef[ef.KeyX=54]="KeyX",ef[ef.KeyY=55]="KeyY",ef[ef.KeyZ=56]="KeyZ",ef[ef.Meta=57]="Meta",ef[ef.ContextMenu=58]="ContextMenu",ef[ef.F1=59]="F1",ef[ef.F2=60]="F2",ef[ef.F3=61]="F3",ef[ef.F4=62]="F4",ef[ef.F5=63]="F5",ef[ef.F6=64]="F6",ef[ef.F7=65]="F7",ef[ef.F8=66]="F8",ef[ef.F9=67]="F9",ef[ef.F10=68]="F10",ef[ef.F11=69]="F11",ef[ef.F12=70]="F12",ef[ef.F13=71]="F13",ef[ef.F14=72]="F14",ef[ef.F15=73]="F15",ef[ef.F16=74]="F16",ef[ef.F17=75]="F17",ef[ef.F18=76]="F18",ef[ef.F19=77]="F19",ef[ef.F20=78]="F20",ef[ef.F21=79]="F21",ef[ef.F22=80]="F22",ef[ef.F23=81]="F23",ef[ef.F24=82]="F24",ef[ef.NumLock=83]="NumLock",ef[ef.ScrollLock=84]="ScrollLock",ef[ef.Semicolon=85]="Semicolon",ef[ef.Equal=86]="Equal",ef[ef.Comma=87]="Comma",ef[ef.Minus=88]="Minus",ef[ef.Period=89]="Period",ef[ef.Slash=90]="Slash",ef[ef.Backquote=91]="Backquote",ef[ef.BracketLeft=92]="BracketLeft",ef[ef.Backslash=93]="Backslash",ef[ef.BracketRight=94]="BracketRight",ef[ef.Quote=95]="Quote",ef[ef.OEM_8=96]="OEM_8",ef[ef.IntlBackslash=97]="IntlBackslash",ef[ef.Numpad0=98]="Numpad0",ef[ef.Numpad1=99]="Numpad1",ef[ef.Numpad2=100]="Numpad2",ef[ef.Numpad3=101]="Numpad3",ef[ef.Numpad4=102]="Numpad4",ef[ef.Numpad5=103]="Numpad5",ef[ef.Numpad6=104]="Numpad6",ef[ef.Numpad7=105]="Numpad7",ef[ef.Numpad8=106]="Numpad8",ef[ef.Numpad9=107]="Numpad9",ef[ef.NumpadMultiply=108]="NumpadMultiply",ef[ef.NumpadAdd=109]="NumpadAdd",ef[ef.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",ef[ef.NumpadSubtract=111]="NumpadSubtract",ef[ef.NumpadDecimal=112]="NumpadDecimal",ef[ef.NumpadDivide=113]="NumpadDivide",ef[ef.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",ef[ef.ABNT_C1=115]="ABNT_C1",ef[ef.ABNT_C2=116]="ABNT_C2",ef[ef.AudioVolumeMute=117]="AudioVolumeMute",ef[ef.AudioVolumeUp=118]="AudioVolumeUp",ef[ef.AudioVolumeDown=119]="AudioVolumeDown",ef[ef.BrowserSearch=120]="BrowserSearch",ef[ef.BrowserHome=121]="BrowserHome",ef[ef.BrowserBack=122]="BrowserBack",ef[ef.BrowserForward=123]="BrowserForward",ef[ef.MediaTrackNext=124]="MediaTrackNext",ef[ef.MediaTrackPrevious=125]="MediaTrackPrevious",ef[ef.MediaStop=126]="MediaStop",ef[ef.MediaPlayPause=127]="MediaPlayPause",ef[ef.LaunchMediaPlayer=128]="LaunchMediaPlayer",ef[ef.LaunchMail=129]="LaunchMail",ef[ef.LaunchApp2=130]="LaunchApp2",ef[ef.Clear=131]="Clear",ef[ef.MAX_VALUE=132]="MAX_VALUE",(e_=k||(k={}))[e_.Hint=1]="Hint",e_[e_.Info=2]="Info",e_[e_.Warning=4]="Warning",e_[e_.Error=8]="Error",(ev=D||(D={}))[ev.Unnecessary=1]="Unnecessary",ev[ev.Deprecated=2]="Deprecated",(eb=x||(x={}))[eb.Inline=1]="Inline",eb[eb.Gutter=2]="Gutter",(eC=N||(N={}))[eC.Normal=1]="Normal",eC[eC.Underlined=2]="Underlined",(ew=E||(E={}))[ew.UNKNOWN=0]="UNKNOWN",ew[ew.TEXTAREA=1]="TEXTAREA",ew[ew.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",ew[ew.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",ew[ew.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",ew[ew.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",ew[ew.CONTENT_TEXT=6]="CONTENT_TEXT",ew[ew.CONTENT_EMPTY=7]="CONTENT_EMPTY",ew[ew.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",ew[ew.CONTENT_WIDGET=9]="CONTENT_WIDGET",ew[ew.OVERVIEW_RULER=10]="OVERVIEW_RULER",ew[ew.SCROLLBAR=11]="SCROLLBAR",ew[ew.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",ew[ew.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(ey=I||(I={}))[ey.AIGenerated=1]="AIGenerated",(eS=T||(T={}))[eS.Invoke=0]="Invoke",eS[eS.Automatic=1]="Automatic",(eL=M||(M={}))[eL.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",eL[eL.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",eL[eL.TOP_CENTER=2]="TOP_CENTER",(ek=R||(R={}))[ek.Left=1]="Left",ek[ek.Center=2]="Center",ek[ek.Right=4]="Right",ek[ek.Full=7]="Full",(eD=A||(A={}))[eD.Word=0]="Word",eD[eD.Line=1]="Line",eD[eD.Suggest=2]="Suggest",(ex=P||(P={}))[ex.Left=0]="Left",ex[ex.Right=1]="Right",ex[ex.None=2]="None",ex[ex.LeftOfInjectedText=3]="LeftOfInjectedText",ex[ex.RightOfInjectedText=4]="RightOfInjectedText",(eN=O||(O={}))[eN.Off=0]="Off",eN[eN.On=1]="On",eN[eN.Relative=2]="Relative",eN[eN.Interval=3]="Interval",eN[eN.Custom=4]="Custom",(eE=F||(F={}))[eE.None=0]="None",eE[eE.Text=1]="Text",eE[eE.Blocks=2]="Blocks",(eI=B||(B={}))[eI.Smooth=0]="Smooth",eI[eI.Immediate=1]="Immediate",(eT=W||(W={}))[eT.Auto=1]="Auto",eT[eT.Hidden=2]="Hidden",eT[eT.Visible=3]="Visible",(eM=H||(H={}))[eM.LTR=0]="LTR",eM[eM.RTL=1]="RTL",(eR=V||(V={})).Off="off",eR.OnCode="onCode",eR.On="on",(eA=z||(z={}))[eA.Invoke=1]="Invoke",eA[eA.TriggerCharacter=2]="TriggerCharacter",eA[eA.ContentChange=3]="ContentChange",(eP=K||(K={}))[eP.File=0]="File",eP[eP.Module=1]="Module",eP[eP.Namespace=2]="Namespace",eP[eP.Package=3]="Package",eP[eP.Class=4]="Class",eP[eP.Method=5]="Method",eP[eP.Property=6]="Property",eP[eP.Field=7]="Field",eP[eP.Constructor=8]="Constructor",eP[eP.Enum=9]="Enum",eP[eP.Interface=10]="Interface",eP[eP.Function=11]="Function",eP[eP.Variable=12]="Variable",eP[eP.Constant=13]="Constant",eP[eP.String=14]="String",eP[eP.Number=15]="Number",eP[eP.Boolean=16]="Boolean",eP[eP.Array=17]="Array",eP[eP.Object=18]="Object",eP[eP.Key=19]="Key",eP[eP.Null=20]="Null",eP[eP.EnumMember=21]="EnumMember",eP[eP.Struct=22]="Struct",eP[eP.Event=23]="Event",eP[eP.Operator=24]="Operator",eP[eP.TypeParameter=25]="TypeParameter",(eO=U||(U={}))[eO.Deprecated=1]="Deprecated",(eF=$||($={}))[eF.Hidden=0]="Hidden",eF[eF.Blink=1]="Blink",eF[eF.Smooth=2]="Smooth",eF[eF.Phase=3]="Phase",eF[eF.Expand=4]="Expand",eF[eF.Solid=5]="Solid",(eB=q||(q={}))[eB.Line=1]="Line",eB[eB.Block=2]="Block",eB[eB.Underline=3]="Underline",eB[eB.LineThin=4]="LineThin",eB[eB.BlockOutline=5]="BlockOutline",eB[eB.UnderlineThin=6]="UnderlineThin",(eW=j||(j={}))[eW.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",eW[eW.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",eW[eW.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",eW[eW.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(eH=G||(G={}))[eH.None=0]="None",eH[eH.Same=1]="Same",eH[eH.Indent=2]="Indent",eH[eH.DeepIndent=3]="DeepIndent"},85095:function(e,t,i){"use strict";i.d(t,{B8:function(){return u},UX:function(){return d},aq:function(){return h},iN:function(){return g},ld:function(){return a},qq:function(){return l},ug:function(){return r},xi:function(){return c}});var n,s,o,r,l,a,d,h,u,c,g,p=i(82801);(r||(r={})).inspectTokensAction=p.NC("inspectTokens","Developer: Inspect Tokens"),(l||(l={})).gotoLineActionLabel=p.NC("gotoLineActionLabel","Go to Line/Column..."),(a||(a={})).helpQuickAccessActionLabel=p.NC("helpQuickAccess","Show all Quick Access Providers"),(n=d||(d={})).quickCommandActionLabel=p.NC("quickCommandActionLabel","Command Palette"),n.quickCommandHelp=p.NC("quickCommandActionHelp","Show And Run Commands"),(s=h||(h={})).quickOutlineActionLabel=p.NC("quickOutlineActionLabel","Go to Symbol..."),s.quickOutlineByCategoryActionLabel=p.NC("quickOutlineByCategoryActionLabel","Go to Symbol by Category..."),(o=u||(u={})).editorViewAccessibleLabel=p.NC("editorViewAccessibleLabel","Editor content"),o.accessibilityHelpMessage=p.NC("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options."),(c||(c={})).toggleHighContrast=p.NC("toggleHighContrast","Toggle High Contrast Theme"),(g||(g={})).bulkEditServiceSummary=p.NC("bulkEditServiceSummary","Made {0} edits in {1} files")},60646:function(e,t,i){"use strict";i.d(t,{CZ:function(){return a},D8:function(){return h},Jx:function(){return n},Tx:function(){return l},dQ:function(){return d},fV:function(){return u},gk:function(){return s},lN:function(){return r},rU:function(){return o}});class n{constructor(){this.changeType=1}}class s{static applyInjectedText(e,t){if(!t||0===t.length)return e;let i="",n=0;for(let s of t)i+=e.substring(n,s.column-1),n=s.column-1,i+=s.options.content;return i+e.substring(n)}static fromDecorations(e){let t=[];for(let i of e)i.options.before&&i.options.before.content.length>0&&t.push(new s(i.ownerId,i.range.startLineNumber,i.range.startColumn,i.options.before,0)),i.options.after&&i.options.after.content.length>0&&t.push(new s(i.ownerId,i.range.endLineNumber,i.range.endColumn,i.options.after,1));return t.sort((e,t)=>e.lineNumber===t.lineNumber?e.column===t.column?e.order-t.order:e.column-t.column:e.lineNumber-t.lineNumber),t}constructor(e,t,i,n,s){this.ownerId=e,this.lineNumber=t,this.column=i,this.options=n,this.order=s}}class o{constructor(e,t,i){this.changeType=2,this.lineNumber=e,this.detail=t,this.injectedText=i}}class r{constructor(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t}}class l{constructor(e,t,i,n){this.changeType=4,this.injectedTexts=n,this.fromLineNumber=e,this.toLineNumber=t,this.detail=i}}class a{constructor(){this.changeType=5}}class d{constructor(e,t,i,n){this.changes=e,this.versionId=t,this.isUndoing=i,this.isRedoing=n,this.resultingSelection=null}containsEvent(e){for(let t=0,i=this.changes.length;t>>1,this._text=t,this.languageIdCodec=i}equals(e){return e instanceof s&&this.slicedEquals(e,0,this._tokensCount)}slicedEquals(e,t,i){if(this._text!==e._text||this._tokensCount!==e._tokensCount)return!1;let n=t<<1,s=n+(i<<1);for(let t=n;t0?this._tokens[e-1<<1]:0}getMetadata(e){let t=this._tokens[(e<<1)+1];return t}getLanguageId(e){let t=this._tokens[(e<<1)+1],i=n.N.getLanguageId(t);return this.languageIdCodec.decodeLanguageId(i)}getStandardTokenType(e){let t=this._tokens[(e<<1)+1];return n.N.getTokenType(t)}getForeground(e){let t=this._tokens[(e<<1)+1];return n.N.getForeground(t)}getClassName(e){let t=this._tokens[(e<<1)+1];return n.N.getClassNameFromMetadata(t)}getInlineStyle(e,t){let i=this._tokens[(e<<1)+1];return n.N.getInlineStyleFromMetadata(i,t)}getPresentation(e){let t=this._tokens[(e<<1)+1];return n.N.getPresentationFromMetadata(t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return s.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,i){return new o(this,e,t,i)}static convertToEndOffset(e,t){let i=e.length>>>1,n=i-1;for(let t=0;t>>1)-1;for(;it&&(n=s)}return i}withInserted(e){if(0===e.length)return this;let t=0,i=0,n="",o=[],r=0;for(;;){let s=tr){n+=this._text.substring(r,l.offset);let e=this._tokens[(t<<1)+1];o.push(n.length,e),r=l.offset}n+=l.text,o.push(n.length,l.tokenMetadata),i++}else break}return new s(new Uint32Array(o),n,this.languageIdCodec)}getTokenText(e){let t=this.getStartOffset(e),i=this.getEndOffset(e),n=this._text.substring(t,i);return n}forEach(e){let t=this.getCount();for(let i=0;i=i)break;this._tokensCount++}}getMetadata(e){return this._source.getMetadata(this._firstTokenIndex+e)}getLanguageId(e){return this._source.getLanguageId(this._firstTokenIndex+e)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(e){return e instanceof o&&this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount)}getCount(){return this._tokensCount}getStandardTokenType(e){return this._source.getStandardTokenType(this._firstTokenIndex+e)}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){let t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)}getPresentation(e){return this._source.getPresentation(this._firstTokenIndex+e)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}getTokenText(e){let t=this._firstTokenIndex+e,i=this._source.getStartOffset(t),n=this._source.getEndOffset(t),s=this._source.getTokenText(t);return ithis._endOffset&&(s=s.substring(0,s.length-(n-this._endOffset))),s}forEach(e){for(let t=0;t=o||(l[a++]=new s(Math.max(1,t.startColumn-n+1),Math.min(r+1,t.endColumn-n+1),t.className,t.type));return l}static filter(e,t,i,n){if(0===e.length)return[];let o=[],r=0;for(let l=0,a=e.length;lt||d.isEmpty()&&(0===a.type||3===a.type))continue;let h=d.startLineNumber===t?d.startColumn:i,u=d.endLineNumber===t?d.endColumn:n;o[r++]=new s(h,u,a.inlineClassName,a.type)}return o}static _typeCompare(e,t){let i=[2,0,1,3];return i[e]-i[t]}static compare(e,t){if(e.startColumn!==t.startColumn)return e.startColumn-t.startColumn;if(e.endColumn!==t.endColumn)return e.endColumn-t.endColumn;let i=s._typeCompare(e.type,t.type);return 0!==i?i:e.className!==t.className?e.className0&&this.stopOffsets[0]0&&t=e){this.stopOffsets.splice(n,0,e),this.classNames.splice(n,0,t),this.metadata.splice(n,0,i);break}this.count++}}class l{static normalize(e,t){if(0===t.length)return[];let i=[],s=new r,o=0;for(let r=0,l=t.length;r1){let t=e.charCodeAt(a-2);n.ZG(t)&&a--}if(d>1){let t=e.charCodeAt(d-2);n.ZG(t)&&d--}let c=a-1,g=d-2;o=s.consumeLowerThan(c,o,i),0===s.count&&(o=c),s.insert(g,h,u)}return s.consumeLowerThan(1073741824,o,i),i}}},53429:function(e,t,i){"use strict";i.d(t,{Nd:function(){return h},zG:function(){return a},IJ:function(){return d},d1:function(){return g},tF:function(){return m}});var n=i(82801),s=i(95612),o=i(91797),r=i(90252);class l{constructor(e,t,i,n){this.endIndex=e,this.type=t,this.metadata=i,this.containsRTL=n,this._linePartBrand=void 0}isWhitespace(){return!!(1&this.metadata)}isPseudoAfter(){return!!(4&this.metadata)}}class a{constructor(e,t){this.startOffset=e,this.endOffset=t}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}}class d{constructor(e,t,i,n,s,o,l,a,d,h,u,c,g,p,m,f,_,v,b){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=i,this.continuesWithWrappedLine=n,this.isBasicASCII=s,this.containsRTL=o,this.fauxIndentLength=l,this.lineTokens=a,this.lineDecorations=d.sort(r.Kp.compare),this.tabSize=h,this.startVisibleColumn=u,this.spaceWidth=c,this.stopRenderingLineAfter=m,this.renderWhitespace="all"===f?4:"boundary"===f?1:"selection"===f?2:"trailing"===f?3:0,this.renderControlCharacters=_,this.fontLigatures=v,this.selectionsOnLine=b&&b.sort((e,t)=>e.startOffset>>16}static getCharIndex(e){return(65535&e)>>>0}constructor(e,t){this.length=e,this._data=new Uint32Array(this.length),this._horizontalOffset=new Uint32Array(this.length)}setColumnInfo(e,t,i,n){this._data[e-1]=(t<<16|i<<0)>>>0,this._horizontalOffset[e-1]=n}getHorizontalOffset(e){return 0===this._horizontalOffset.length?0:this._horizontalOffset[e-1]}charOffsetToPartData(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}getDomPosition(e){let t=this.charOffsetToPartData(e-1),i=u.getPartIndex(t),n=u.getCharIndex(t);return new h(i,n)}getColumn(e,t){let i=this.partDataToCharOffset(e.partIndex,t,e.charIndex);return i+1}partDataToCharOffset(e,t,i){if(0===this.length)return 0;let n=(e<<16|i<<0)>>>0,s=0,o=this.length-1;for(;s+1>>1,t=this._data[e];if(t===n)return e;t>n?o=e:s=e}if(s===o)return s;let r=this._data[s],l=this._data[o];if(r===n)return s;if(l===n)return o;let a=u.getPartIndex(r),d=u.getCharIndex(r),h=u.getPartIndex(l);return i-d<=(a!==h?t:u.getCharIndex(l))-i?s:o}}class c{constructor(e,t,i){this._renderLineOutputBrand=void 0,this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=i}}function g(e,t){if(0===e.lineContent.length){if(e.lineDecorations.length>0){t.appendString("");let i=0,n=0,s=0;for(let o of e.lineDecorations)(1===o.type||2===o.type)&&(t.appendString(''),1===o.type&&(s|=1,i++),2===o.type&&(s|=2,n++));t.appendString("");let o=new u(1,i+n);return o.setColumnInfo(1,i,0,0),new c(o,!1,s)}return t.appendString(""),new c(new u(0,0),!1,0)}return function(e,t){let i=e.fontIsMonospace,o=e.canUseHalfwidthRightwardsArrow,r=e.containsForeignElements,l=e.lineContent,a=e.len,d=e.isOverflowing,h=e.overflowingCharCount,g=e.parts,p=e.fauxIndentLength,m=e.tabSize,f=e.startVisibleColumn,v=e.containsRTL,b=e.spaceWidth,C=e.renderSpaceCharCode,w=e.renderWhitespace,y=e.renderControlCharacters,S=new u(a+1,g.length),L=!1,k=0,D=f,x=0,N=0,E=0;v?t.appendString(''):t.appendString("");for(let e=0,n=g.length;e=p&&(t+=s)}}for(f&&(t.appendString(' style="width:'),t.appendString(String(b*i)),t.appendString('px"')),t.appendASCIICharCode(62);k1?t.appendCharCode(8594):t.appendCharCode(65515);for(let e=2;e<=n;e++)t.appendCharCode(160)}else i=2,n=1,t.appendCharCode(C),t.appendCharCode(8204);x+=i,N+=n,k>=p&&(D+=n)}}else for(t.appendASCIICharCode(62);k=p&&(D+=o)}v?E++:E=0,k>=a&&!L&&n.isPseudoAfter()&&(L=!0,S.setColumnInfo(k+1,e,x,N)),t.appendString("")}return L||S.setColumnInfo(a+1,g.length-1,x,N),d&&(t.appendString(''),t.appendString(n.NC("showMore","Show more ({0})",h<1024?n.NC("overflow.chars","{0} chars",h):h<1048576?`${(h/1024).toFixed(1)} KB`:`${(h/1024/1024).toFixed(1)} MB`)),t.appendString("")),t.appendString(""),new c(S,v,r)}(function(e){let t,i,n;let o=e.lineContent;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter0&&(r[a++]=new l(n,"",0,!1));let d=n;for(let h=0,u=i.getCount();h=o){let i=!!t&&s.Ut(e.substring(d,o));r[a++]=new l(o,c,0,i);break}let g=!!t&&s.Ut(e.substring(d,u));r[a++]=new l(u,c,0,g),d=u}return r}(o,e.containsRTL,e.lineTokens,e.fauxIndentLength,n);e.renderControlCharacters&&!e.isBasicASCII&&(a=function(e,t){let i=[],n=new l(0,"",0,!1),s=0;for(let o of t){let t=o.endIndex;for(;sn.endIndex&&(n=new l(s,o.type,o.metadata,o.containsRTL),i.push(n)),n=new l(s+1,"mtkcontrol",o.metadata,!1),i.push(n))}s>n.endIndex&&(n=new l(t,o.type,o.metadata,o.containsRTL),i.push(n))}return i}(o,a)),(4===e.renderWhitespace||1===e.renderWhitespace||2===e.renderWhitespace&&e.selectionsOnLine||3===e.renderWhitespace&&!e.continuesWithWrappedLine)&&(a=function(e,t,i,n){let o;let r=e.continuesWithWrappedLine,a=e.fauxIndentLength,d=e.tabSize,h=e.startVisibleColumn,u=e.useMonospaceOptimizations,c=e.selectionsOnLine,g=1===e.renderWhitespace,p=3===e.renderWhitespace,m=e.renderSpaceWidth!==e.spaceWidth,f=[],_=0,v=0,b=n[0].type,C=n[v].containsRTL,w=n[v].endIndex,y=n.length,S=!1,L=s.LC(t);-1===L?(S=!0,L=i,o=i):o=s.ow(t);let k=!1,D=0,x=c&&c[D],N=h%d;for(let e=a;e=x.endOffset&&(D++,x=c&&c[D]),eo)r=!0;else if(9===h)r=!0;else if(32===h){if(g){if(k)r=!0;else{let n=e+1e),r&&p&&(r=S||e>o),r&&C&&e>=L&&e<=o&&(r=!1),k){if(!r||!u&&N>=d){if(m){let t=_>0?f[_-1].endIndex:a;for(let i=t+1;i<=e;i++)f[_++]=new l(i,"mtkw",1,!1)}else f[_++]=new l(e,"mtkw",1,!1);N%=d}}else(e===w||r&&e>a)&&(f[_++]=new l(e,b,0,C),N%=d);for(9===h?N=d:s.K7(h)?N+=2:N++,k=r;e===w;)if(++v0?t.charCodeAt(i-1):0,n=i>1?t.charCodeAt(i-2):0;32===e&&32!==n&&9!==n||(E=!0)}else E=!0}if(E){if(m){let e=_>0?f[_-1].endIndex:a;for(let t=e+1;t<=i;t++)f[_++]=new l(t,"mtkw",1,!1)}else f[_++]=new l(i,"mtkw",1,!1)}else f[_++]=new l(i,b,0,C);return f}(e,o,n,a));let d=0;if(e.lineDecorations.length>0){for(let t=0,i=e.lineDecorations.length;tu&&(u=e.startOffset,d[h++]=new l(u,r,c,g)),e.endOffset+1<=n)u=e.endOffset+1,d[h++]=new l(u,r+" "+e.className,c|e.metadata,g),a++;else{u=n,d[h++]=new l(u,r+" "+e.className,c|e.metadata,g);break}}n>u&&(u=n,d[h++]=new l(u,r,c,g))}let c=i[i.length-1].endIndex;if(a=50&&(s[o++]=new l(h+1,t,i,d),u=h+1,h=-1);u!==a&&(s[o++]=new l(a,t,i,d))}else s[o++]=r;n=a}else for(let e=0,i=t.length;e50){let e=i.type,t=i.metadata,d=i.containsRTL,h=Math.ceil(a/50);for(let i=1;i=8234&&e<=8238||e>=8294&&e<=8297||e>=8206&&e<=8207||1564===e}},20910:function(e,t,i){"use strict";i.d(t,{$l:function(){return c},$t:function(){return h},IP:function(){return a},SQ:function(){return g},Wx:function(){return u},l_:function(){return r},ud:function(){return l},wA:function(){return d}});var n=i(40789),s=i(95612),o=i(70209);class r{constructor(e,t,i,n){this._viewportBrand=void 0,this.top=0|e,this.left=0|t,this.width=0|i,this.height=0|n}}class l{constructor(e,t){this.tabSize=e,this.data=t}}class a{constructor(e,t,i,n,s,o,r){this._viewLineDataBrand=void 0,this.content=e,this.continuesWithWrappedLine=t,this.minColumn=i,this.maxColumn=n,this.startVisibleColumn=s,this.tokens=o,this.inlineDecorations=r}}class d{constructor(e,t,i,n,s,o,r,l,a,h){this.minColumn=e,this.maxColumn=t,this.content=i,this.continuesWithWrappedLine=n,this.isBasicASCII=d.isBasicASCII(i,o),this.containsRTL=d.containsRTL(i,this.isBasicASCII,s),this.tokens=r,this.inlineDecorations=l,this.tabSize=a,this.startVisibleColumn=h}static isBasicASCII(e,t){return!t||s.$i(e)}static containsRTL(e,t,i){return!t&&!!i&&s.Ut(e)}}class h{constructor(e,t,i){this.range=e,this.inlineClassName=t,this.type=i}}class u{constructor(e,t,i,n){this.startOffset=e,this.endOffset=t,this.inlineClassName=i,this.inlineClassNameAffectsLetterSpacing=n}toInlineDecoration(e){return new h(new o.e(e,this.startOffset+1,e,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}class c{constructor(e,t){this._viewModelDecorationBrand=void 0,this.range=e,this.options=t}}class g{constructor(e,t,i){this.color=e,this.zIndex=t,this.data=i}static compareByRenderingProps(e,t){return e.zIndex===t.zIndex?e.colort.color?1:0:e.zIndex-t.zIndex}static equals(e,t){return e.color===t.color&&e.zIndex===t.zIndex&&n.fS(e.data,t.data)}static equalsArr(e,t){return n.fS(e,t,g.equals)}}},68757:function(e,t,i){"use strict";i.d(t,{EY:function(){return s},Tj:function(){return o}});class n{constructor(e,t,i){this._colorZoneBrand=void 0,this.from=0|e,this.to=0|t,this.colorId=0|i}static compare(e,t){return e.colorId===t.colorId?e.from===t.from?e.to-t.to:e.from-t.from:e.colorId-t.colorId}}class s{constructor(e,t,i,n){this._overviewRulerZoneBrand=void 0,this.startLineNumber=e,this.endLineNumber=t,this.heightInLines=i,this.color=n,this._colorZone=null}static compare(e,t){return e.color===t.color?e.startLineNumber===t.startLineNumber?e.heightInLines===t.heightInLines?e.endLineNumber-t.endLineNumber:e.heightInLines-t.heightInLines:e.startLineNumber-t.startLineNumber:e.colori&&(g=i-p);let m=a.color,f=this._color2Id[m];f||(f=++this._lastAssignedId,this._color2Id[m]=f,this._id2Color[f]=m);let _=new n(g-p,g+p,f);a.setColorZone(_),l.push(_)}return this._colorZonesInvalid=!1,l.sort(n.compare),l}}},60699:function(e,t,i){"use strict";i.d(t,{$t:function(){return d},CU:function(){return l},Fd:function(){return a},zg:function(){return h}});var n=i(86570),s=i(70209),o=i(20910),r=i(43364);class l{constructor(e,t,i,n,s){this.editorId=e,this.model=t,this.configuration=i,this._linesCollection=n,this._coordinatesConverter=s,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(e){let t=e.id,i=this._decorationsCache[t];if(!i){let r;let l=e.range,a=e.options;if(a.isWholeLine){let e=this._coordinatesConverter.convertModelPositionToViewPosition(new n.L(l.startLineNumber,1),0,!1,!0),t=this._coordinatesConverter.convertModelPositionToViewPosition(new n.L(l.endLineNumber,this.model.getLineMaxColumn(l.endLineNumber)),1);r=new s.e(e.lineNumber,e.column,t.lineNumber,t.column)}else r=this._coordinatesConverter.convertModelRangeToViewRange(l,1);i=new o.$l(r,a),this._decorationsCache[t]=i}return i}getMinimapDecorationsInRange(e){return this._getDecorationsInRange(e,!0,!1).decorations}getDecorationsViewportData(e){let t=null!==this._cachedModelDecorationsResolver;return(t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange))||(this._cachedModelDecorationsResolver=this._getDecorationsInRange(e,!1,!1),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver}getInlineDecorationsOnLine(e,t=!1,i=!1){let n=new s.e(e,this._linesCollection.getViewLineMinColumn(e),e,this._linesCollection.getViewLineMaxColumn(e));return this._getDecorationsInRange(n,t,i).inlineDecorations[0]}_getDecorationsInRange(e,t,i){let n=this._linesCollection.getDecorationsInRange(e,this.editorId,(0,r.$J)(this.configuration.options),t,i),l=e.startLineNumber,d=e.endLineNumber,h=[],u=0,c=[];for(let e=l;e<=d;e++)c[e-l]=[];for(let e=0,t=n.length;e1===e)}function h(e,t){return u(e,t.range,e=>2===e)}function u(e,t,i){for(let n=t.startLineNumber;n<=t.endLineNumber;n++){let s=e.tokenization.getLineTokens(n),o=n===t.startLineNumber,r=n===t.endLineNumber,l=o?s.findTokenIndexAtOffset(t.startColumn-1):0;for(;lt.endColumn-1)break}let e=i(s.getStandardTokenType(l));if(!e)return!1;l++}}return!0}},77390:function(e,t,i){"use strict";var n,s,o=i(16506),r=i(42891),l=i(57231);i(51861);var a=i(82508),d=i(84781),h=i(73440),u=i(82801),c=i(33336);let g=new c.uy("selectionAnchorSet",!1),p=s=class{static get(e){return e.getContribution(s.ID)}constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=g.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){let e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(d.Y.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new r.W5().appendText((0,u.NC)("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),(0,o.Z9)((0,u.NC)("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){let e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){let e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){let t=this.editor.getPosition();this.editor.setSelection(d.Y.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){let e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};p.ID="editor.contrib.selectionAnchorController",p=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=c.i6,function(e,t){n(e,t,1)})],p);class m extends a.R6{constructor(){super({id:"editor.action.setSelectionAnchor",label:(0,u.NC)("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:h.u.editorTextFocus,primary:(0,l.gx)(2089,2080),weight:100}})}async run(e,t){var i;null===(i=p.get(t))||void 0===i||i.setSelectionAnchor()}}class f extends a.R6{constructor(){super({id:"editor.action.goToSelectionAnchor",label:(0,u.NC)("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:g})}async run(e,t){var i;null===(i=p.get(t))||void 0===i||i.goToSelectionAnchor()}}class _ extends a.R6{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:(0,u.NC)("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:g,kbOpts:{kbExpr:h.u.editorTextFocus,primary:(0,l.gx)(2089,2089),weight:100}})}async run(e,t){var i;null===(i=p.get(t))||void 0===i||i.selectFromAnchorToCursor()}}class v extends a.R6{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:(0,u.NC)("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:g,kbOpts:{kbExpr:h.u.editorTextFocus,primary:9,weight:100}})}async run(e,t){var i;null===(i=p.get(t))||void 0===i||i.cancelSelectionAnchor()}}(0,a._K)(p.ID,p,4),(0,a.Qr)(m),(0,a.Qr)(f),(0,a.Qr)(_),(0,a.Qr)(v)},46671:function(e,t,i){"use strict";var n=i(44532),s=i(70784);i(11579);var o=i(82508),r=i(86570),l=i(70209),a=i(84781),d=i(73440),h=i(41407),u=i(66629),c=i(82801),g=i(30467),p=i(43616),m=i(55150);let f=(0,p.P6G)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},c.NC("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class _ extends o.R6{constructor(){super({id:"editor.action.jumpToBracket",label:c.NC("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:d.u.editorTextFocus,primary:3165,weight:100}})}run(e,t){var i;null===(i=w.get(t))||void 0===i||i.jumpToBracket()}}class v extends o.R6{constructor(){super({id:"editor.action.selectToBracket",label:c.NC("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,metadata:{description:c.vv("smartSelect.selectToBracketDescription","Select the text inside and including the brackets or curly braces"),args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var n;let s=!0;i&&!1===i.selectBrackets&&(s=!1),null===(n=w.get(t))||void 0===n||n.selectToBracket(s)}}class b extends o.R6{constructor(){super({id:"editor.action.removeBrackets",label:c.NC("smartSelect.removeBrackets","Remove Brackets"),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:d.u.editorTextFocus,primary:2561,weight:100}})}run(e,t){var i;null===(i=w.get(t))||void 0===i||i.removeBrackets(this.id)}}class C{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class w extends s.JT{static get(e){return e.getContribution(w.ID)}constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new n.pY(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(72),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(e=>{"never"!==this._matchBrackets&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(e=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(e=>{e.hasChanged(72)&&(this._matchBrackets=this._editor.getOption(72),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;let e=this._editor.getModel(),t=this._editor.getSelections().map(t=>{let i=t.getStartPosition(),n=e.bracketPairs.matchBracket(i),s=null;if(n)n[0].containsPosition(i)&&!n[1].containsPosition(i)?s=n[1].getStartPosition():n[1].containsPosition(i)&&(s=n[0].getStartPosition());else{let t=e.bracketPairs.findEnclosingBrackets(i);if(t)s=t[1].getStartPosition();else{let t=e.bracketPairs.findNextBracket(i);t&&t.range&&(s=t.range.getStartPosition())}}return s?new a.Y(s.lineNumber,s.column,s.lineNumber,s.column):new a.Y(i.lineNumber,i.column,i.lineNumber,i.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;let t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{let s=n.getStartPosition(),o=t.bracketPairs.matchBracket(s);if(!o&&!(o=t.bracketPairs.findEnclosingBrackets(s))){let e=t.bracketPairs.findNextBracket(s);e&&e.range&&(o=t.bracketPairs.matchBracket(e.range.getStartPosition()))}let r=null,d=null;if(o){o.sort(l.e.compareRangesUsingStarts);let[t,i]=o;if(r=e?t.getStartPosition():t.getEndPosition(),d=e?i.getEndPosition():i.getStartPosition(),i.containsPosition(s)){let e=r;r=d,d=e}}r&&d&&i.push(new a.Y(r.lineNumber,r.column,d.lineNumber,d.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}removeBrackets(e){if(!this._editor.hasModel())return;let t=this._editor.getModel();this._editor.getSelections().forEach(i=>{let n=i.getPosition(),s=t.bracketPairs.matchBracket(n);s||(s=t.bracketPairs.findEnclosingBrackets(n)),s&&(this._editor.pushUndoStop(),this._editor.executeEdits(e,[{range:s[0],text:""},{range:s[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if("never"===this._matchBrackets)return;this._recomputeBrackets();let e=[],t=0;for(let i of this._lastBracketsData){let n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}let e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}let t=this._editor.getModel(),i=t.getVersionId(),n=[];this._lastVersionId===i&&(n=this._lastBracketsData);let s=[],o=0;for(let t=0,i=e.length;t1&&s.sort(r.L.compare);let l=[],a=0,d=0,h=n.length;for(let e=0,i=s.length;e0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}(0,n.Qr)(d)},92550:function(e,t,i){"use strict";var n=i(5938),s=i(81845),o=i(58022),r=i(62432),l=i(82508),a=i(70208),d=i(73440),h=i(63457),u=i(82801),c=i(30467),g=i(59203),p=i(33336);let m="9_cutcopypaste",f=o.tY||document.queryCommandSupported("cut"),_=o.tY||document.queryCommandSupported("copy"),v=void 0!==navigator.clipboard&&!n.vU||document.queryCommandSupported("paste");function b(e){return e.register(),e}let C=f?b(new l.AJ({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:o.tY?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:c.eH.MenubarEditMenu,group:"2_ccp",title:u.NC({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:c.eH.EditorContext,group:m,title:u.NC("actions.clipboard.cutLabel","Cut"),when:d.u.writable,order:1},{menuId:c.eH.CommandPalette,group:"",title:u.NC("actions.clipboard.cutLabel","Cut"),order:1},{menuId:c.eH.SimpleEditorContext,group:m,title:u.NC("actions.clipboard.cutLabel","Cut"),when:d.u.writable,order:1}]})):void 0,w=_?b(new l.AJ({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:o.tY?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:c.eH.MenubarEditMenu,group:"2_ccp",title:u.NC({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:c.eH.EditorContext,group:m,title:u.NC("actions.clipboard.copyLabel","Copy"),order:2},{menuId:c.eH.CommandPalette,group:"",title:u.NC("actions.clipboard.copyLabel","Copy"),order:1},{menuId:c.eH.SimpleEditorContext,group:m,title:u.NC("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;c.BH.appendMenuItem(c.eH.MenubarEditMenu,{submenu:c.eH.MenubarCopy,title:u.vv("copy as","Copy As"),group:"2_ccp",order:3}),c.BH.appendMenuItem(c.eH.EditorContext,{submenu:c.eH.EditorContextCopy,title:u.vv("copy as","Copy As"),group:m,order:3}),c.BH.appendMenuItem(c.eH.EditorContext,{submenu:c.eH.EditorContextShare,title:u.vv("share","Share"),group:"11_share",order:-1,when:p.Ao.and(p.Ao.notEquals("resourceScheme","output"),d.u.editorTextFocus)}),c.BH.appendMenuItem(c.eH.ExplorerContext,{submenu:c.eH.ExplorerContextShare,title:u.vv("share","Share"),group:"11_share",order:-1});let y=v?b(new l.AJ({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:o.tY?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:c.eH.MenubarEditMenu,group:"2_ccp",title:u.NC({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:c.eH.EditorContext,group:m,title:u.NC("actions.clipboard.pasteLabel","Paste"),when:d.u.writable,order:4},{menuId:c.eH.CommandPalette,group:"",title:u.NC("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:c.eH.SimpleEditorContext,group:m,title:u.NC("actions.clipboard.pasteLabel","Paste"),when:d.u.writable,order:4}]})):void 0;class S extends l.R6{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:u.NC("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:d.u.textInputFocus,primary:0,weight:100}})}run(e,t){if(!t.hasModel())return;let i=t.getOption(37);!i&&t.getSelection().isEmpty()||(r.RA.forceCopyWithSyntaxHighlighting=!0,t.focus(),t.getContainerDomNode().ownerDocument.execCommand("copy"),r.RA.forceCopyWithSyntaxHighlighting=!1)}}function L(e,t){e&&(e.addImplementation(1e4,"code-editor",(e,i)=>{let n=e.get(a.$).getFocusedCodeEditor();if(n&&n.hasTextFocus()){let e=n.getOption(37),i=n.getSelection();return!!(i&&i.isEmpty())&&!e||(n.getContainerDomNode().ownerDocument.execCommand(t),!0)}return!1}),e.addImplementation(0,"generic-dom",(e,i)=>((0,s.uP)().execCommand(t),!0)))}L(C,"cut"),L(w,"copy"),y&&(y.addImplementation(1e4,"code-editor",(e,t)=>{var i,n;let s=e.get(a.$),l=e.get(g.p),d=s.getFocusedCodeEditor();if(d&&d.hasTextFocus()){let e=d.getContainerDomNode().ownerDocument.execCommand("paste");return e?null!==(n=null===(i=h.bO.get(d))||void 0===i?void 0:i.finishedPaste())&&void 0!==n?n:Promise.resolve():!o.$L||(async()=>{let e=await l.readText();if(""!==e){let t=r.Nl.INSTANCE.get(e),i=!1,n=null,s=null;t&&(i=d.getOption(37)&&!!t.isFromEmptySelection,n=void 0!==t.multicursorText?t.multicursorText:null,s=t.mode),d.trigger("keyboard","paste",{text:e,pasteOnNewLine:i,multicursorText:n,mode:s})}})()}return!1}),y.addImplementation(0,"generic-dom",(e,t)=>((0,s.uP)().execCommand("paste"),!0))),_&&(0,l.Qr)(S)},2734:function(e,t,i){"use strict";i.d(t,{Bb:function(){return D},LR:function(){return R},MN:function(){return x},RB:function(){return S},TM:function(){return E},UX:function(){return s},aI:function(){return M},cz:function(){return L},pZ:function(){return k},uH:function(){return N}});var n,s,o=i(40789),r=i(9424),l=i(32378),a=i(70784),d=i(5482),h=i(88338),u=i(70209),c=i(84781),g=i(64106),p=i(98334),m=i(71141),f=i(82801),_=i(81903),v=i(16575),b=i(14588),C=i(77207),w=i(78875),y=i(10396);let S="editor.action.codeAction",L="editor.action.quickFix",k="editor.action.autoFix",D="editor.action.refactor",x="editor.action.sourceAction",N="editor.action.organizeImports",E="editor.action.fixAll";class I extends a.JT{static codeActionsPreferredComparator(e,t){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:0}static codeActionsComparator({action:e},{action:t}){return e.isAI&&!t.isAI?1:!e.isAI&&t.isAI?-1:(0,o.Of)(e.diagnostics)?(0,o.Of)(t.diagnostics)?I.codeActionsPreferredComparator(e,t):-1:(0,o.Of)(t.diagnostics)?1:I.codeActionsPreferredComparator(e,t)}constructor(e,t,i){super(),this.documentation=t,this._register(i),this.allActions=[...e].sort(I.codeActionsComparator),this.validActions=this.allActions.filter(({action:e})=>!e.disabled)}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&w.yN.QuickFix.contains(new y.o(e.kind))&&!!e.isPreferred)}get hasAIFix(){return this.validActions.some(({action:e})=>!!e.isAI)}get allAIFixes(){return this.validActions.every(({action:e})=>!!e.isAI)}}let T={actions:[],documentation:void 0};async function M(e,t,i,n,s,r){var d,h;let u=n.filter||{},c={...u,excludes:[...u.excludes||[],w.yN.Notebook]},g={only:null===(d=u.include)||void 0===d?void 0:d.value,trigger:n.type},p=new m.YQ(t,r),f=2===n.type,_=(h=f?c:u,e.all(t).filter(e=>!e.providedCodeActionKinds||e.providedCodeActionKinds.some(e=>(0,w.EU)(h,new y.o(e))))),v=new a.SL,b=_.map(async e=>{try{s.report(e);let n=await e.provideCodeActions(t,i,g,p.token);if(n&&v.add(n),p.token.isCancellationRequested)return T;let o=((null==n?void 0:n.actions)||[]).filter(e=>e&&(0,w.Yl)(u,e)),r=function(e,t,i){if(!e.documentation)return;let n=e.documentation.map(e=>({kind:new y.o(e.kind),command:e.command}));if(i){let e;for(let t of n)t.kind.contains(i)&&(e?e.kind.contains(t.kind)&&(e=t):e=t);if(e)return null==e?void 0:e.command}for(let e of t)if(e.kind){for(let t of n)if(t.kind.contains(new y.o(e.kind)))return t.command}}(e,o,u.include);return{actions:o.map(t=>new w.bA(t,e)),documentation:r}}catch(e){if((0,l.n2)(e))throw e;return(0,l.Cp)(e),T}}),C=e.onDidChange(()=>{let i=e.all(t);(0,o.fS)(i,_)||p.cancel()});try{let i=await Promise.all(b),s=i.map(e=>e.actions).flat(),r=[...(0,o.kX)(i.map(e=>e.documentation)),...function*(e,t,i,n){var s,o,r;if(t&&n.length)for(let l of e.all(t))l._getAdditionalMenuItems&&(yield*null===(s=l._getAdditionalMenuItems)||void 0===s?void 0:s.call(l,{trigger:i.type,only:null===(r=null===(o=i.filter)||void 0===o?void 0:o.include)||void 0===r?void 0:r.value},n.map(e=>e.action)))}(e,t,n,s)];return new I(s,r,v)}finally{C.dispose(),p.dispose()}}async function R(e,t,i,n,o=r.Ts.None){var l;let a=e.get(h.vu),d=e.get(_.H),u=e.get(C.b),c=e.get(v.lT);if(u.publicLog2("codeAction.applyCodeAction",{codeActionTitle:t.action.title,codeActionKind:t.action.kind,codeActionIsPreferred:!!t.action.isPreferred,reason:i}),await t.resolve(o),!o.isCancellationRequested){if(null===(l=t.action.edit)||void 0===l?void 0:l.edits.length){let e=await a.apply(t.action.edit,{editor:null==n?void 0:n.editor,label:t.action.title,quotableLabel:t.action.title,code:"undoredo.codeAction",respectAutoSaveConfig:i!==s.OnSave,showPreview:null==n?void 0:n.preview});if(!e.isApplied)return}if(t.action.command)try{await d.executeCommand(t.action.command.id,...t.action.command.arguments||[])}catch(t){let e="string"==typeof t?t:t instanceof Error&&"string"==typeof t.message?t.message:void 0;c.error("string"==typeof e?e:f.NC("applyCodeActionFailed","An unknown error occurred while applying the code action"))}}}(n=s||(s={})).OnSave="onSave",n.FromProblemsView="fromProblemsView",n.FromCodeActions="fromCodeActions",n.FromAILightbulb="fromAILightbulb",_.P.registerCommand("_executeCodeActionProvider",async function(e,t,i,n,s){if(!(t instanceof d.o))throw(0,l.b1)();let{codeActionProvider:o}=e.get(g.p),a=e.get(p.q).getModel(t);if(!a)throw(0,l.b1)();let h=c.Y.isISelection(i)?c.Y.liftSelection(i):u.e.isIRange(i)?a.validateRange(i):void 0;if(!h)throw(0,l.b1)();let m="string"==typeof n?new y.o(n):void 0,f=await M(o,a,h,{type:1,triggerAction:w.aQ.Default,filter:{includeSourceActions:!0,include:m}},b.Ex.None,r.Ts.None),_=[],v=Math.min(f.validActions.length,"number"==typeof s?s:0);for(let e=0;ee.action)}finally{setTimeout(()=>f.dispose(),100)}})},87776:function(e,t,i){"use strict";var n=i(82508),s=i(1990),o=i(10396),r=i(95612),l=i(73440),a=i(2734),d=i(82801),h=i(33336),u=i(78875),c=i(37223),g=i(44962);function p(e){return h.Ao.regex(g.fj.keys()[0],RegExp("(\\s|^)"+(0,r.ec)(e.value)+"\\b"))}let m={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:d.NC("args.schema.kind","Kind of the code action to run.")},apply:{type:"string",description:d.NC("args.schema.apply","Controls when the returned actions are applied."),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[d.NC("args.schema.apply.first","Always apply the first returned code action."),d.NC("args.schema.apply.ifSingle","Apply the first returned code action if it is the only one."),d.NC("args.schema.apply.never","Do not apply the returned code actions.")]},preferred:{type:"boolean",default:!1,description:d.NC("args.schema.preferred","Controls if only preferred code actions should be returned.")}}};function f(e,t,i,n,s=u.aQ.Default){if(e.hasModel()){let o=c.G.get(e);null==o||o.manualTriggerAtCurrentPosition(t,s,i,n)}}class _ extends n.R6{constructor(){super({id:a.cz,label:d.NC("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:h.Ao.and(l.u.writable,l.u.hasCodeActionsProvider),kbOpts:{kbExpr:l.u.textInputFocus,primary:2137,weight:100}})}run(e,t){return f(t,d.NC("editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0,u.aQ.QuickFix)}}class v extends n._l{constructor(){super({id:a.RB,precondition:h.Ao.and(l.u.writable,l.u.hasCodeActionsProvider),metadata:{description:"Trigger a code action",args:[{name:"args",schema:m}]}})}runEditorCommand(e,t,i){let n=u.wZ.fromUser(i,{kind:o.o.Empty,apply:"ifSingle"});return f(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?d.NC("editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",i.kind):d.NC("editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",i.kind):n.preferred?d.NC("editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):d.NC("editor.action.codeAction.noneMessage","No code actions available"),{include:n.kind,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply)}}class b extends n.R6{constructor(){super({id:a.Bb,label:d.NC("refactor.label","Refactor..."),alias:"Refactor...",precondition:h.Ao.and(l.u.writable,l.u.hasCodeActionsProvider),kbOpts:{kbExpr:l.u.textInputFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:h.Ao.and(l.u.writable,p(u.yN.Refactor))},metadata:{description:"Refactor...",args:[{name:"args",schema:m}]}})}run(e,t,i){let n=u.wZ.fromUser(i,{kind:u.yN.Refactor,apply:"never"});return f(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?d.NC("editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",i.kind):d.NC("editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",i.kind):n.preferred?d.NC("editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):d.NC("editor.action.refactor.noneMessage","No refactorings available"),{include:u.yN.Refactor.contains(n.kind)?n.kind:o.o.None,onlyIncludePreferredActions:n.preferred},n.apply,u.aQ.Refactor)}}class C extends n.R6{constructor(){super({id:a.MN,label:d.NC("source.label","Source Action..."),alias:"Source Action...",precondition:h.Ao.and(l.u.writable,l.u.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:h.Ao.and(l.u.writable,p(u.yN.Source))},metadata:{description:"Source Action...",args:[{name:"args",schema:m}]}})}run(e,t,i){let n=u.wZ.fromUser(i,{kind:u.yN.Source,apply:"never"});return f(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?d.NC("editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",i.kind):d.NC("editor.action.source.noneMessage.kind","No source actions for '{0}' available",i.kind):n.preferred?d.NC("editor.action.source.noneMessage.preferred","No preferred source actions available"):d.NC("editor.action.source.noneMessage","No source actions available"),{include:u.yN.Source.contains(n.kind)?n.kind:o.o.None,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply,u.aQ.SourceAction)}}class w extends n.R6{constructor(){super({id:a.uH,label:d.NC("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:h.Ao.and(l.u.writable,p(u.yN.SourceOrganizeImports)),kbOpts:{kbExpr:l.u.textInputFocus,primary:1581,weight:100}})}run(e,t){return f(t,d.NC("editor.action.organize.noneMessage","No organize imports action available"),{include:u.yN.SourceOrganizeImports,includeSourceActions:!0},"ifSingle",u.aQ.OrganizeImports)}}class y extends n.R6{constructor(){super({id:a.TM,label:d.NC("fixAll.label","Fix All"),alias:"Fix All",precondition:h.Ao.and(l.u.writable,p(u.yN.SourceFixAll))})}run(e,t){return f(t,d.NC("fixAll.noneMessage","No fix all action available"),{include:u.yN.SourceFixAll,includeSourceActions:!0},"ifSingle",u.aQ.FixAll)}}class S extends n.R6{constructor(){super({id:a.pZ,label:d.NC("autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:h.Ao.and(l.u.writable,p(u.yN.QuickFix)),kbOpts:{kbExpr:l.u.textInputFocus,primary:1625,mac:{primary:2649},weight:100}})}run(e,t){return f(t,d.NC("editor.action.autoFix.noneMessage","No auto fixes available"),{include:u.yN.QuickFix,onlyIncludePreferredActions:!0},"ifSingle",u.aQ.AutoFix)}}var L=i(82006),k=i(73004),D=i(34089);(0,n._K)(c.G.ID,c.G,3),(0,n._K)(L.f.ID,L.f,4),(0,n.Qr)(_),(0,n.Qr)(b),(0,n.Qr)(C),(0,n.Qr)(w),(0,n.Qr)(S),(0,n.Qr)(y),(0,n.fK)(new v),D.B.as(k.IP.Configuration).registerConfiguration({...s.wk,properties:{"editor.codeActionWidget.showHeaders":{type:"boolean",scope:5,description:d.NC("showCodeActionHeaders","Enable/disable showing group headers in the Code Action menu."),default:!0}}}),D.B.as(k.IP.Configuration).registerConfiguration({...s.wk,properties:{"editor.codeActionWidget.includeNearbyQuickFixes":{type:"boolean",scope:5,description:d.NC("includeNearbyQuickFixes","Enable/disable showing nearest Quick Fix within a line when not currently on a diagnostic."),default:!0}}})},37223:function(e,t,i){"use strict";i.d(t,{G:function(){return ea}});var n,s,o,r=i(81845),l=i(16506),a=i(32378),d=i(68126),h=i(70784),u=i(86570),c=i(66629),g=i(64106),p=i(2734),m=i(10396),f=i(78875),_=i(46417);let v=s=class{constructor(e){this.keybindingService=e}getResolver(){let e=new d.o(()=>this.keybindingService.getKeybindings().filter(e=>s.codeActionCommands.indexOf(e.command)>=0).filter(e=>e.resolvedKeybinding).map(e=>{let t=e.commandArgs;return e.command===p.uH?t={kind:f.yN.SourceOrganizeImports.value}:e.command===p.TM&&(t={kind:f.yN.SourceFixAll.value}),{resolvedKeybinding:e.resolvedKeybinding,...f.wZ.fromUser(t,{kind:m.o.None,apply:"never"})}}));return t=>{if(t.kind){let i=this.bestKeybindingForCodeAction(t,e.value);return null==i?void 0:i.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;let i=new m.o(e.kind);return t.filter(e=>e.kind.contains(i)).filter(t=>!t.preferred||e.isPreferred).reduceRight((e,t)=>e?e.kind.contains(t.kind)?t:e:t,void 0)}};v.codeActionCommands=[p.Bb,p.RB,p.MN,p.uH,p.TM],v=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=_.d,function(e,t){n(e,t,0)})],v),i(14910);var b=i(47039);i(64317);var C=i(82801);let w=Object.freeze({kind:m.o.Empty,title:(0,C.NC)("codeAction.widget.id.more","More Actions...")}),y=Object.freeze([{kind:f.yN.QuickFix,title:(0,C.NC)("codeAction.widget.id.quickfix","Quick Fix")},{kind:f.yN.RefactorExtract,title:(0,C.NC)("codeAction.widget.id.extract","Extract"),icon:b.l.wrench},{kind:f.yN.RefactorInline,title:(0,C.NC)("codeAction.widget.id.inline","Inline"),icon:b.l.wrench},{kind:f.yN.RefactorRewrite,title:(0,C.NC)("codeAction.widget.id.convert","Rewrite"),icon:b.l.wrench},{kind:f.yN.RefactorMove,title:(0,C.NC)("codeAction.widget.id.move","Move"),icon:b.l.wrench},{kind:f.yN.SurroundWith,title:(0,C.NC)("codeAction.widget.id.surround","Surround With"),icon:b.l.surroundWith},{kind:f.yN.Source,title:(0,C.NC)("codeAction.widget.id.source","Source Action"),icon:b.l.symbolFile},w]);var S=i(82006),L=i(7727),k=i(21489);i(86857);var D=i(37804),x=i(56240),N=i(9424),E=i(58022),I=i(29527),T=i(10727),M=i(72485),R=i(43616),A=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},P=function(e,t){return function(i,n){t(i,n,e)}};let O="acceptSelectedCodeAction",F="previewSelectedCodeAction";class B{get templateId(){return"header"}renderTemplate(e){e.classList.add("group-header");let t=document.createElement("span");return e.append(t),{container:e,text:t}}renderElement(e,t,i){var n,s;i.text.textContent=null!==(s=null===(n=e.group)||void 0===n?void 0:n.title)&&void 0!==s?s:""}disposeTemplate(e){}}let W=class{get templateId(){return"action"}constructor(e,t){this._supportsPreview=e,this._keybindingService=t}renderTemplate(e){e.classList.add(this.templateId);let t=document.createElement("div");t.className="icon",e.append(t);let i=document.createElement("span");i.className="title",e.append(i);let n=new D.e(e,E.OS);return{container:e,icon:t,text:i,keybinding:n}}renderElement(e,t,i){var n,s,o;if((null===(n=e.group)||void 0===n?void 0:n.icon)?(i.icon.className=I.k.asClassName(e.group.icon),e.group.icon.color&&(i.icon.style.color=(0,R.n_1)(e.group.icon.color.id))):(i.icon.className=I.k.asClassName(b.l.lightBulb),i.icon.style.color="var(--vscode-editorLightBulb-foreground)"),!e.item||!e.label)return;i.text.textContent=U(e.label),i.keybinding.set(e.keybinding),r.iJ(!!e.keybinding,i.keybinding.element);let l=null===(s=this._keybindingService.lookupKeybinding(O))||void 0===s?void 0:s.getLabel(),a=null===(o=this._keybindingService.lookupKeybinding(F))||void 0===o?void 0:o.getLabel();i.container.classList.toggle("option-disabled",e.disabled),e.disabled?i.container.title=e.label:l&&a?this._supportsPreview&&e.canPreview?i.container.title=(0,C.NC)({key:"label-preview",comment:['placeholders are keybindings, e.g "F2 to Apply, Shift+F2 to Preview"']},"{0} to Apply, {1} to Preview",l,a):i.container.title=(0,C.NC)({key:"label",comment:['placeholder is a keybinding, e.g "F2 to Apply"']},"{0} to Apply",l):i.container.title=""}disposeTemplate(e){e.keybinding.dispose()}};W=A([P(1,_.d)],W);class H extends UIEvent{constructor(){super("acceptSelectedAction")}}class V extends UIEvent{constructor(){super("previewSelectedAction")}}function z(e){if("action"===e.kind)return e.label}let K=class extends h.JT{constructor(e,t,i,n,s,o){super(),this._delegate=n,this._contextViewService=s,this._keybindingService=o,this._actionLineHeight=24,this._headerLineHeight=26,this.cts=this._register(new N.AU),this.domNode=document.createElement("div"),this.domNode.classList.add("actionList"),this._list=this._register(new x.aV(e,this.domNode,{getHeight:e=>"header"===e.kind?this._headerLineHeight:this._actionLineHeight,getTemplateId:e=>e.kind},[new W(t,this._keybindingService),new B],{keyboardSupport:!1,typeNavigationEnabled:!0,keyboardNavigationLabelProvider:{getKeyboardNavigationLabel:z},accessibilityProvider:{getAriaLabel:e=>{if("action"===e.kind){let t=e.label?U(null==e?void 0:e.label):"";return e.disabled&&(t=(0,C.NC)({key:"customQuickFixWidget.labels",comment:["Action widget labels for accessibility."]},"{0}, Disabled Reason: {1}",t,e.disabled)),t}return null},getWidgetAriaLabel:()=>(0,C.NC)({key:"customQuickFixWidget",comment:["An action widget option"]},"Action Widget"),getRole:e=>"action"===e.kind?"option":"separator",getWidgetRole:()=>"listbox"}})),this._list.style(M.O2),this._register(this._list.onMouseClick(e=>this.onListClick(e))),this._register(this._list.onMouseOver(e=>this.onListHover(e))),this._register(this._list.onDidChangeFocus(()=>this.onFocus())),this._register(this._list.onDidChangeSelection(e=>this.onListSelection(e))),this._allMenuItems=i,this._list.splice(0,this._list.length,this._allMenuItems),this._list.length&&this.focusNext()}focusCondition(e){return!e.disabled&&"action"===e.kind}hide(e){this._delegate.onHide(e),this.cts.cancel(),this._contextViewService.hideContextView()}layout(e){let t=this._allMenuItems.filter(e=>"header"===e.kind).length,i=this._allMenuItems.length*this._actionLineHeight,n=i+t*this._headerLineHeight-t*this._actionLineHeight;this._list.layout(n);let s=e;if(this._allMenuItems.length>=50)s=380;else{let t=this._allMenuItems.map((e,t)=>{let i=this.domNode.ownerDocument.getElementById(this._list.getElementID(t));if(i){i.style.width="auto";let e=i.getBoundingClientRect().width;return i.style.width="",e}return 0});s=Math.max(...t,e)}let o=Math.min(n,.7*this.domNode.ownerDocument.body.clientHeight);return this._list.layout(o,s),this.domNode.style.height=`${o}px`,this._list.domFocus(),s}focusPrevious(){this._list.focusPrevious(1,!0,void 0,this.focusCondition)}focusNext(){this._list.focusNext(1,!0,void 0,this.focusCondition)}acceptSelected(e){let t=this._list.getFocus();if(0===t.length)return;let i=t[0],n=this._list.element(i);if(!this.focusCondition(n))return;let s=e?new V:new H;this._list.setSelection([i],s)}onListSelection(e){if(!e.elements.length)return;let t=e.elements[0];t.item&&this.focusCondition(t)?this._delegate.onSelect(t.item,e.browserEvent instanceof V):this._list.setSelection([])}onFocus(){var e,t;let i=this._list.getFocus();if(0===i.length)return;let n=i[0],s=this._list.element(n);null===(t=(e=this._delegate).onFocus)||void 0===t||t.call(e,s.item)}async onListHover(e){let t=e.element;if(t&&t.item&&this.focusCondition(t)){if(this._delegate.onHover&&!t.disabled&&"action"===t.kind){let e=await this._delegate.onHover(t.item,this.cts.token);t.canPreview=e?e.canPreview:void 0}e.index&&this._list.splice(e.index,1,[t])}this._list.setFocus("number"==typeof e.index?[e.index]:[])}onListClick(e){e.element&&this.focusCondition(e.element)&&this._list.setFocus([])}};function U(e){return e.replace(/\r\n|\r|\n/g," ")}K=A([P(4,T.u),P(5,_.d)],K);var $=i(30467),q=i(33336),j=i(66653),G=i(85327),Q=function(e,t){return function(i,n){t(i,n,e)}};(0,R.P6G)("actionBar.toggledBackground",{dark:R.XEs,light:R.XEs,hcDark:R.XEs,hcLight:R.XEs},(0,C.NC)("actionBar.toggledBackground","Background color for toggled action items in action bar."));let Z={Visible:new q.uy("codeActionMenuVisible",!1,(0,C.NC)("codeActionMenuVisible","Whether the action widget list is visible"))},Y=(0,G.yh)("actionWidgetService"),J=class extends h.JT{get isVisible(){return Z.Visible.getValue(this._contextKeyService)||!1}constructor(e,t,i){super(),this._contextViewService=e,this._contextKeyService=t,this._instantiationService=i,this._list=this._register(new h.XK)}show(e,t,i,n,s,o,r){let l=Z.Visible.bindTo(this._contextKeyService),a=this._instantiationService.createInstance(K,e,t,i,n);this._contextViewService.showContextView({getAnchor:()=>s,render:e=>(l.set(!0),this._renderWidget(e,a,null!=r?r:[])),onHide:e=>{l.reset(),this._onWidgetClosed(e)}},o,!1)}acceptSelected(e){var t;null===(t=this._list.value)||void 0===t||t.acceptSelected(e)}focusPrevious(){var e,t;null===(t=null===(e=this._list)||void 0===e?void 0:e.value)||void 0===t||t.focusPrevious()}focusNext(){var e,t;null===(t=null===(e=this._list)||void 0===e?void 0:e.value)||void 0===t||t.focusNext()}hide(e){var t;null===(t=this._list.value)||void 0===t||t.hide(e),this._list.clear()}_renderWidget(e,t,i){var n;let s=document.createElement("div");if(s.classList.add("action-widget"),e.appendChild(s),this._list.value=t,this._list.value)s.appendChild(this._list.value.domNode);else throw Error("List has no value");let o=new h.SL,l=document.createElement("div"),a=e.appendChild(l);a.classList.add("context-view-block"),o.add(r.nm(a,r.tw.MOUSE_DOWN,e=>e.stopPropagation()));let d=document.createElement("div"),u=e.appendChild(d);u.classList.add("context-view-pointerBlock"),o.add(r.nm(u,r.tw.POINTER_MOVE,()=>u.remove())),o.add(r.nm(u,r.tw.MOUSE_DOWN,()=>u.remove()));let c=0;if(i.length){let e=this._createActionBar(".action-widget-action-bar",i);e&&(s.appendChild(e.getContainer().parentElement),o.add(e),c=e.getContainer().offsetWidth)}let g=null===(n=this._list.value)||void 0===n?void 0:n.layout(c);s.style.width=`${g}px`;let p=o.add(r.go(e));return o.add(p.onDidBlur(()=>this.hide(!0))),o}_createActionBar(e,t){if(!t.length)return;let i=r.$(e),n=new k.o(i);return n.push(t,{icon:!1,label:!0}),n}_onWidgetClosed(e){var t;null===(t=this._list.value)||void 0===t||t.hide(e)}};J=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([Q(0,T.u),Q(1,q.i6),Q(2,G.TG)],J),(0,j.z)(Y,J,1),(0,$.r1)(class extends $.Ke{constructor(){super({id:"hideCodeActionWidget",title:(0,C.vv)("hideCodeActionWidget.title","Hide action widget"),precondition:Z.Visible,keybinding:{weight:1100,primary:9,secondary:[1033]}})}run(e){e.get(Y).hide(!0)}}),(0,$.r1)(class extends $.Ke{constructor(){super({id:"selectPrevCodeAction",title:(0,C.vv)("selectPrevCodeAction.title","Select previous action"),precondition:Z.Visible,keybinding:{weight:1100,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})}run(e){let t=e.get(Y);t instanceof J&&t.focusPrevious()}}),(0,$.r1)(class extends $.Ke{constructor(){super({id:"selectNextCodeAction",title:(0,C.vv)("selectNextCodeAction.title","Select next action"),precondition:Z.Visible,keybinding:{weight:1100,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})}run(e){let t=e.get(Y);t instanceof J&&t.focusNext()}}),(0,$.r1)(class extends $.Ke{constructor(){super({id:O,title:(0,C.vv)("acceptSelected.title","Accept selected action"),precondition:Z.Visible,keybinding:{weight:1100,primary:3,secondary:[2137]}})}run(e){let t=e.get(Y);t instanceof J&&t.acceptSelected()}}),(0,$.r1)(class extends $.Ke{constructor(){super({id:F,title:(0,C.vv)("previewSelected.title","Preview selected action"),precondition:Z.Visible,keybinding:{weight:1100,primary:2051}})}run(e){let t=e.get(Y);t instanceof J&&t.acceptSelected(!0)}});var X=i(81903),ee=i(78426),et=i(16324),ei=i(14588),en=i(42042),es=i(55150),eo=i(44962),er=i(77207),el=function(e,t){return function(i,n){t(i,n,e)}};let ea=o=class extends h.JT{static get(e){return e.getContribution(o.ID)}constructor(e,t,i,n,s,o,r,l,a,u,c){super(),this._commandService=r,this._configurationService=l,this._actionWidgetService=a,this._instantiationService=u,this._telemetryService=c,this._activeCodeActions=this._register(new h.XK),this._showDisabled=!1,this._disposed=!1,this._editor=e,this._model=this._register(new eo.Jt(this._editor,s.codeActionProvider,t,i,o,l)),this._register(this._model.onDidChangeState(e=>this.update(e))),this._lightBulbWidget=new d.o(()=>{let e=this._editor.getContribution(S.f.ID);return e&&this._register(e.onClick(e=>this.showCodeActionsFromLightbulb(e.actions,e))),e}),this._resolver=n.createInstance(v),this._register(this._editor.onDidLayoutChange(()=>this._actionWidgetService.hide()))}dispose(){this._disposed=!0,super.dispose()}async showCodeActionsFromLightbulb(e,t){if(this._telemetryService.publicLog2("codeAction.showCodeActionsFromLightbulb",{codeActionListLength:e.validActions.length,codeActions:e.validActions.map(e=>e.action.title),codeActionProviders:e.validActions.map(e=>{var t,i;return null!==(i=null===(t=e.provider)||void 0===t?void 0:t.displayName)&&void 0!==i?i:""})}),e.allAIFixes&&1===e.validActions.length){let t=e.validActions[0],i=t.action.command;i&&"inlineChat.start"===i.id&&i.arguments&&i.arguments.length>=1&&(i.arguments[0]={...i.arguments[0],autoSend:!1}),await this._applyCodeAction(t,!1,!1,p.UX.FromAILightbulb);return}await this.showCodeActionList(e,t,{includeDisabledActions:!1,fromLightbulb:!0})}showCodeActions(e,t,i){return this.showCodeActionList(t,i,{includeDisabledActions:!1,fromLightbulb:!1})}manualTriggerAtCurrentPosition(e,t,i,n){var s;if(!this._editor.hasModel())return;null===(s=L.O.get(this._editor))||void 0===s||s.closeMessage();let o=this._editor.getPosition();this._trigger({type:1,triggerAction:t,filter:i,autoApply:n,context:{notAvailableMessage:e,position:o}})}_trigger(e){return this._model.trigger(e)}async _applyCodeAction(e,t,i,n){try{await this._instantiationService.invokeFunction(p.LR,e,n,{preview:i,editor:this._editor})}finally{t&&this._trigger({type:2,triggerAction:f.aQ.QuickFix,filter:{}})}}async update(e){var t,i,n,s,o,r,l;let d;if(1!==e.type){null===(t=this._lightBulbWidget.rawValue)||void 0===t||t.hide();return}try{d=await e.actions}catch(e){(0,a.dL)(e);return}if(!this._disposed){if(null===(i=this._lightBulbWidget.value)||void 0===i||i.update(d,e.trigger,e.position),1===e.trigger.type){if(null===(n=e.trigger.filter)||void 0===n?void 0:n.include){let t=this.tryGetValidActionToApply(e.trigger,d);if(t){try{null===(s=this._lightBulbWidget.value)||void 0===s||s.hide(),await this._applyCodeAction(t,!1,!1,p.UX.FromCodeActions)}finally{d.dispose()}return}if(e.trigger.context){let t=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,d);if(t&&t.action.disabled){null===(o=L.O.get(this._editor))||void 0===o||o.showMessage(t.action.disabled,e.trigger.context.position),d.dispose();return}}}let t=!!(null===(r=e.trigger.filter)||void 0===r?void 0:r.include);if(e.trigger.context&&(!d.allActions.length||!t&&!d.validActions.length)){null===(l=L.O.get(this._editor))||void 0===l||l.showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),this._activeCodeActions.value=d,d.dispose();return}this._activeCodeActions.value=d,this.showCodeActionList(d,this.toCoords(e.position),{includeDisabledActions:t,fromLightbulb:!1})}else this._actionWidgetService.isVisible?d.dispose():this._activeCodeActions.value=d}}getInvalidActionThatWouldHaveBeenApplied(e,t){if(t.allActions.length&&("first"===e.autoApply&&0===t.validActions.length||"ifSingle"===e.autoApply&&1===t.allActions.length))return t.allActions.find(({action:e})=>e.disabled)}tryGetValidActionToApply(e,t){if(t.validActions.length&&("first"===e.autoApply&&t.validActions.length>0||"ifSingle"===e.autoApply&&1===t.validActions.length))return t.validActions[0]}async showCodeActionList(e,t,i){let n=this._editor.createDecorationsCollection(),s=this._editor.getDomNode();if(!s)return;let r=i.includeDisabledActions&&(this._showDisabled||0===e.validActions.length)?e.allActions:e.validActions;if(!r.length)return;let a=u.L.isIPosition(t)?this.toCoords(t):t;this._actionWidgetService.show("codeActionWidget",!0,function(e,t,i){if(!t)return e.map(e=>{var t;return{kind:"action",item:e,group:w,disabled:!!e.action.disabled,label:e.action.disabled||e.action.title,canPreview:!!(null===(t=e.action.edit)||void 0===t?void 0:t.edits.length)}});let n=y.map(e=>({group:e,actions:[]}));for(let t of e){let e=t.action.kind?new m.o(t.action.kind):m.o.None;for(let i of n)if(i.group.kind.contains(e)){i.actions.push(t);break}}let s=[];for(let e of n)if(e.actions.length)for(let t of(s.push({kind:"header",group:e.group}),e.actions)){let n=e.group;s.push({kind:"action",item:t,group:t.action.isAI?{title:n.title,kind:n.kind,icon:b.l.sparkle}:n,label:t.action.title,disabled:!!t.action.disabled,keybinding:i(t.action)})}return s}(r,this._shouldShowHeaders(),this._resolver.getResolver()),{onSelect:async(e,t)=>{this._applyCodeAction(e,!0,!!t,i.fromLightbulb?p.UX.FromAILightbulb:p.UX.FromCodeActions),this._actionWidgetService.hide(!1),n.clear()},onHide:t=>{var s;null===(s=this._editor)||void 0===s||s.focus(),n.clear(),i.fromLightbulb&&void 0!==t&&this._telemetryService.publicLog2("codeAction.showCodeActionList.onHide",{codeActionListLength:e.validActions.length,didCancel:t,codeActions:e.validActions.map(e=>e.action.title)})},onHover:async(e,t)=>{var i;if(t.isCancellationRequested)return;let n=!1,s=e.action.kind;if(s){let e=new m.o(s),t=[f.yN.RefactorExtract,f.yN.RefactorInline,f.yN.RefactorRewrite,f.yN.RefactorMove,f.yN.Source];n=t.some(t=>t.contains(e))}return{canPreview:n||!!(null===(i=e.action.edit)||void 0===i?void 0:i.edits.length)}},onFocus:e=>{var t,i;if(e&&e.action){let s=e.action.ranges,r=e.action.diagnostics;if(n.clear(),s&&s.length>0){let e=r&&(null==r?void 0:r.length)>1?r.map(e=>({range:e,options:o.DECORATION})):s.map(e=>({range:e,options:o.DECORATION}));n.set(e)}else if(r&&r.length>0){let e=r.map(e=>({range:e,options:o.DECORATION}));n.set(e);let s=r[0];if(s.startLineNumber&&s.startColumn){let e=null===(i=null===(t=this._editor.getModel())||void 0===t?void 0:t.getWordAtPosition({lineNumber:s.startLineNumber,column:s.startColumn}))||void 0===i?void 0:i.word;l.i7((0,C.NC)("editingNewSelection","Context: {0} at line {1} and column {2}.",e,s.startLineNumber,s.startColumn))}}}else n.clear()}},a,s,this._getActionBarActions(e,t,i))}toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();let t=this._editor.getScrolledVisiblePosition(e),i=(0,r.i)(this._editor.getDomNode()),n=i.left+t.left,s=i.top+t.top+t.height;return{x:n,y:s}}_shouldShowHeaders(){var e;let t=null===(e=this._editor)||void 0===e?void 0:e.getModel();return this._configurationService.getValue("editor.codeActionWidget.showHeaders",{resource:null==t?void 0:t.uri})}_getActionBarActions(e,t,i){if(i.fromLightbulb)return[];let n=e.documentation.map(e=>{var t;return{id:e.id,label:e.title,tooltip:null!==(t=e.tooltip)&&void 0!==t?t:"",class:void 0,enabled:!0,run:()=>{var t;return this._commandService.executeCommand(e.id,...null!==(t=e.arguments)&&void 0!==t?t:[])}}});return i.includeDisabledActions&&e.validActions.length>0&&e.allActions.length!==e.validActions.length&&n.push(this._showDisabled?{id:"hideMoreActions",label:(0,C.NC)("hideMoreActions","Hide Disabled"),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!1,this.showCodeActionList(e,t,i))}:{id:"showMoreActions",label:(0,C.NC)("showMoreActions","Show Disabled"),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!0,this.showCodeActionList(e,t,i))}),n}};ea.ID="editor.contrib.codeActionController",ea.DECORATION=c.qx.register({description:"quickfix-highlight",className:"quickfix-edit-highlight"}),ea=o=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([el(1,et.lT),el(2,q.i6),el(3,G.TG),el(4,g.p),el(5,ei.ek),el(6,X.H),el(7,ee.Ui),el(8,Y),el(9,G.TG),el(10,er.b)],ea),(0,es.Ic)((e,t)=>{var i;(i=e.getColor(R.MUv))&&t.addRule(`.monaco-editor .quickfix-edit-highlight { background-color: ${i}; }`);let n=e.getColor(R.EiJ);n&&t.addRule(`.monaco-editor .quickfix-edit-highlight { border: 1px ${(0,en.c3)(e.type)?"dotted":"solid"} ${n}; box-sizing: border-box; }`)})},44962:function(e,t,i){"use strict";i.d(t,{Jt:function(){return y},fj:function(){return v}});var n,s,o=i(44532),r=i(32378),l=i(79915),a=i(70784),d=i(1271),h=i(43364),u=i(86570),c=i(84781),g=i(33336),p=i(14588),m=i(78875),f=i(2734),_=i(10396);let v=new g.uy("supportedCodeAction",""),b="_typescript.applyFixAllCodeAction";class C extends a.JT{constructor(e,t,i,n=250){super(),this._editor=e,this._markerService=t,this._signalChange=i,this._delay=n,this._autoTriggerTimer=this._register(new o._F),this._register(this._markerService.onMarkerChanged(e=>this._onMarkerChanges(e))),this._register(this._editor.onDidChangeCursorPosition(()=>this._tryAutoTrigger()))}trigger(e){let t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);this._signalChange(t?{trigger:e,selection:t}:void 0)}_onMarkerChanges(e){let t=this._editor.getModel();t&&e.some(e=>(0,d.Xy)(e,t.uri))&&this._tryAutoTrigger()}_tryAutoTrigger(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2,triggerAction:m.aQ.Default})},this._delay)}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(!this._editor.hasModel())return;let t=this._editor.getSelection();if(1===e.type)return t;let i=this._editor.getOption(65).enabled;if(i!==h.$r.Off){if(i===h.$r.On);else if(i===h.$r.OnCode){let e=t.isEmpty();if(!e)return t;let i=this._editor.getModel(),{lineNumber:n,column:s}=t.getPosition(),o=i.getLineContent(n);if(0===o.length)return;if(1===s){if(/\s/.test(o[0]))return}else if(s===i.getLineMaxColumn(n)){if(/\s/.test(o[o.length-1]))return}else if(/\s/.test(o[s-2])&&/\s/.test(o[s-1]))return}return t}}}(n=s||(s={})).Empty={type:0},n.Triggered=class{constructor(e,t,i){this.trigger=e,this.position=t,this._cancellablePromise=i,this.type=1,this.actions=i.catch(e=>{if((0,r.n2)(e))return w;throw e})}cancel(){this._cancellablePromise.cancel()}};let w=Object.freeze({allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1,hasAIFix:!1,allAIFixes:!1});class y extends a.JT{constructor(e,t,i,n,o,r){super(),this._editor=e,this._registry=t,this._markerService=i,this._progressService=o,this._configurationService=r,this._codeActionOracle=this._register(new a.XK),this._state=s.Empty,this._onDidChangeState=this._register(new l.Q5),this.onDidChangeState=this._onDidChangeState.event,this._disposed=!1,this._supportedCodeActions=v.bindTo(n),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(this._registry.onDidChange(()=>this._update())),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(65)&&this._update()})),this._update()}dispose(){this._disposed||(this._disposed=!0,super.dispose(),this.setState(s.Empty,!0))}_settingEnabledNearbyQuickfixes(){var e;let t=null===(e=this._editor)||void 0===e?void 0:e.getModel();return!!this._configurationService&&this._configurationService.getValue("editor.codeActionWidget.includeNearbyQuickFixes",{resource:null==t?void 0:t.uri})}_update(){if(this._disposed)return;this._codeActionOracle.value=void 0,this.setState(s.Empty);let e=this._editor.getModel();if(e&&this._registry.has(e)&&!this._editor.getOption(91)){let t=this._registry.all(e).flatMap(e=>{var t;return null!==(t=e.providedCodeActionKinds)&&void 0!==t?t:[]});this._supportedCodeActions.set(t.join(" ")),this._codeActionOracle.value=new C(this._editor,this._markerService,t=>{var i;if(!t){this.setState(s.Empty);return}let n=t.selection.getStartPosition(),r=(0,o.PG)(async i=>{var n,s,o,r,l,a,d,h,g,v;if(this._settingEnabledNearbyQuickfixes()&&1===t.trigger.type&&(t.trigger.triggerAction===m.aQ.QuickFix||(null===(s=null===(n=t.trigger.filter)||void 0===n?void 0:n.include)||void 0===s?void 0:s.contains(m.yN.QuickFix)))){let n=await (0,f.aI)(this._registry,e,t.selection,t.trigger,p.Ex.None,i),s=[...n.allActions];if(i.isCancellationRequested)return w;let C=null===(o=n.validActions)||void 0===o?void 0:o.some(e=>!!e.action.kind&&m.yN.QuickFix.contains(new _.o(e.action.kind))),y=this._markerService.read({resource:e.uri});if(C){for(let e of n.validActions)(null===(l=null===(r=e.action.command)||void 0===r?void 0:r.arguments)||void 0===l?void 0:l.some(e=>"string"==typeof e&&e.includes(b)))&&(e.action.diagnostics=[...y.filter(e=>e.relatedInformation)]);return{validActions:n.validActions,allActions:s,documentation:n.documentation,hasAutoFix:n.hasAutoFix,hasAIFix:n.hasAIFix,allAIFixes:n.allAIFixes,dispose:()=>{n.dispose()}}}if(!C&&y.length>0){let o=t.selection.getPosition(),r=o,l=Number.MAX_VALUE,_=[...n.validActions];for(let C of y){let w=C.endColumn,S=C.endLineNumber,L=C.startLineNumber;if(S===o.lineNumber||L===o.lineNumber){r=new u.L(S,w);let C={type:t.trigger.type,triggerAction:t.trigger.triggerAction,filter:{include:(null===(a=t.trigger.filter)||void 0===a?void 0:a.include)?null===(d=t.trigger.filter)||void 0===d?void 0:d.include:m.yN.QuickFix},autoApply:t.trigger.autoApply,context:{notAvailableMessage:(null===(h=t.trigger.context)||void 0===h?void 0:h.notAvailableMessage)||"",position:r}},L=new c.Y(r.lineNumber,r.column,r.lineNumber,r.column),k=await (0,f.aI)(this._registry,e,L,C,p.Ex.None,i);if(0!==k.validActions.length){for(let e of k.validActions)(null===(v=null===(g=e.action.command)||void 0===g?void 0:g.arguments)||void 0===v?void 0:v.some(e=>"string"==typeof e&&e.includes(b)))&&(e.action.diagnostics=[...y.filter(e=>e.relatedInformation)]);0===n.allActions.length&&s.push(...k.allActions),Math.abs(o.column-w)i.findIndex(t=>t.action.title===e.action.title)===t);return C.sort((e,t)=>e.action.isPreferred&&!t.action.isPreferred?-1:!e.action.isPreferred&&t.action.isPreferred?1:e.action.isAI&&!t.action.isAI?1:!e.action.isAI&&t.action.isAI?-1:0),{validActions:C,allActions:s,documentation:n.documentation,hasAutoFix:n.hasAutoFix,hasAIFix:n.hasAIFix,allAIFixes:n.allAIFixes,dispose:()=>{n.dispose()}}}}return(0,f.aI)(this._registry,e,t.selection,t.trigger,p.Ex.None,i)});1===t.trigger.type&&(null===(i=this._progressService)||void 0===i||i.showWhile(r,250));let l=new s.Triggered(t.trigger,n,r),a=!1;1===this._state.type&&(a=1===this._state.trigger.type&&1===l.type&&2===l.trigger.type&&this._state.position!==l.position),a?setTimeout(()=>{this.setState(l)},500):this.setState(l)},void 0),this._codeActionOracle.value.trigger({type:2,triggerAction:m.aQ.Default})}else this._supportedCodeActions.reset()}trigger(e){var t;null===(t=this._codeActionOracle.value)||void 0===t||t.trigger(e)}setState(e,t){e!==this._state&&(1===this._state.type&&this._state.cancel(),this._state=e,t||this._disposed||this._onDidChangeState.fire(e))}}},82006:function(e,t,i){"use strict";i.d(t,{f:function(){return v}});var n,s,o,r=i(81845),l=i(598),a=i(47039),d=i(79915),h=i(70784),u=i(29527);i(28696);var c=i(37042),g=i(2734),p=i(82801),m=i(81903),f=i(46417),_=function(e,t){return function(i,n){t(i,n,e)}};(n=o||(o={})).Hidden={type:0},n.Showing=class{constructor(e,t,i,n){this.actions=e,this.trigger=t,this.editorPosition=i,this.widgetPosition=n,this.type=1}};let v=s=class extends h.JT{constructor(e,t,i){super(),this._editor=e,this._keybindingService=t,this._onClick=this._register(new d.Q5),this.onClick=this._onClick.event,this._state=o.Hidden,this._iconClasses=[],this._domNode=r.$("div.lightBulbWidget"),this._domNode.role="listbox",this._register(l.o.ignoreTarget(this._domNode)),this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(e=>{let t=this._editor.getModel();(1!==this.state.type||!t||this.state.editorPosition.lineNumber>=t.getLineCount())&&this.hide()})),this._register(r.GQ(this._domNode,e=>{if(1!==this.state.type)return;this._editor.focus(),e.preventDefault();let{top:t,height:i}=r.i(this._domNode),n=this._editor.getOption(67),s=Math.floor(n/3);null!==this.state.widgetPosition.position&&this.state.widgetPosition.position.lineNumber{(1&e.buttons)==1&&this.hide()})),this._register(d.ju.runAndSubscribe(this._keybindingService.onDidUpdateKeybindings,()=>{var e,t,i,n;this._preferredKbLabel=null!==(t=null===(e=this._keybindingService.lookupKeybinding(g.pZ))||void 0===e?void 0:e.getLabel())&&void 0!==t?t:void 0,this._quickFixKbLabel=null!==(n=null===(i=this._keybindingService.lookupKeybinding(g.cz))||void 0===i?void 0:i.getLabel())&&void 0!==n?n:void 0,this._updateLightBulbTitleAndIcon()}))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return 1===this._state.type?this._state.widgetPosition:null}update(e,t,i){if(e.validActions.length<=0)return this.hide();let n=this._editor.getOptions();if(!n.get(65).enabled)return this.hide();let r=this._editor.getModel();if(!r)return this.hide();let{lineNumber:l,column:a}=r.validatePosition(i),d=r.getOptions().tabSize,h=this._editor.getOptions().get(50),u=r.getLineContent(l),g=(0,c.q)(u,d),p=h.spaceWidth*g>22,m=e=>e>2&&this._editor.getTopForLineNumber(e)===this._editor.getTopForLineNumber(e-1),f=l,_=1;if(!p){if(l>1&&!m(l-1))f-=1;else if(l=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([_(1,f.d),_(2,m.H)],v)},78875:function(e,t,i){"use strict";i.d(t,{EU:function(){return a},Yl:function(){return d},aQ:function(){return s},bA:function(){return c},wZ:function(){return u},yN:function(){return l}});var n,s,o=i(32378),r=i(10396);let l=new class{constructor(){this.QuickFix=new r.o("quickfix"),this.Refactor=new r.o("refactor"),this.RefactorExtract=this.Refactor.append("extract"),this.RefactorInline=this.Refactor.append("inline"),this.RefactorMove=this.Refactor.append("move"),this.RefactorRewrite=this.Refactor.append("rewrite"),this.Notebook=new r.o("notebook"),this.Source=new r.o("source"),this.SourceOrganizeImports=this.Source.append("organizeImports"),this.SourceFixAll=this.Source.append("fixAll"),this.SurroundWith=this.Refactor.append("surround")}};function a(e,t){return!(e.include&&!e.include.intersects(t)||e.excludes&&e.excludes.some(i=>h(t,i,e.include))||!e.includeSourceActions&&l.Source.contains(t))}function d(e,t){let i=t.kind?new r.o(t.kind):void 0;return!(e.include&&(!i||!e.include.contains(i))||e.excludes&&i&&e.excludes.some(t=>h(i,t,e.include))||!e.includeSourceActions&&i&&l.Source.contains(i))&&(!e.onlyIncludePreferredActions||!!t.isPreferred)}function h(e,t,i){return!(!t.contains(e)||i&&t.contains(i))}(n=s||(s={})).Refactor="refactor",n.RefactorPreview="refactor preview",n.Lightbulb="lightbulb",n.Default="other (default)",n.SourceAction="source action",n.QuickFix="quick fix action",n.FixAll="fix all",n.OrganizeImports="organize imports",n.AutoFix="auto fix",n.QuickFixHover="quick fix hover window",n.OnSave="save participants",n.ProblemsView="problems view";class u{static fromUser(e,t){return e&&"object"==typeof e?new u(u.getKindFromUser(e,t.kind),u.getApplyFromUser(e,t.apply),u.getPreferredUser(e)):new u(t.kind,t.apply,!1)}static getApplyFromUser(e,t){switch("string"==typeof e.apply?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return"string"==typeof e.kind?new r.o(e.kind):t}static getPreferredUser(e){return"boolean"==typeof e.preferred&&e.preferred}constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}}class c{constructor(e,t,i){this.action=e,this.provider=t,this.highlightRange=i}async resolve(e){var t;if((null===(t=this.provider)||void 0===t?void 0:t.resolveCodeAction)&&!this.action.edit){let t;try{t=await this.provider.resolveCodeAction(this.action,e)}catch(e){(0,o.Cp)(e)}t&&(this.action.edit=t.edit)}return this}}},12525:function(e,t,i){"use strict";var n,s=i(44532),o=i(32378),r=i(70784),l=i(24846),a=i(82508),d=i(43364),h=i(73440),u=i(9424),c=i(24162),g=i(5482),p=i(98334),m=i(81903),f=i(64106);class _{constructor(){this.lenses=[],this._disposables=new r.SL}dispose(){this._disposables.dispose()}get isDisposed(){return this._disposables.isDisposed}add(e,t){for(let i of(this._disposables.add(e),e.lenses))this.lenses.push({symbol:i,provider:t})}}async function v(e,t,i){let n=e.ordered(t),s=new Map,r=new _,l=n.map(async(e,n)=>{s.set(e,n);try{let n=await Promise.resolve(e.provideCodeLenses(t,i));n&&r.add(n,e)}catch(e){(0,o.Cp)(e)}});return await Promise.all(l),r.lenses=r.lenses.sort((e,t)=>e.symbol.range.startLineNumbert.symbol.range.startLineNumber?1:s.get(e.provider)s.get(t.provider)?1:e.symbol.range.startColumnt.symbol.range.startColumn?1:0),r}m.P.registerCommand("_executeCodeLensProvider",function(e,...t){let[i,n]=t;(0,c.p_)(g.o.isUri(i)),(0,c.p_)("number"==typeof n||!n);let{codeLensProvider:s}=e.get(f.p),l=e.get(p.q).getModel(i);if(!l)throw(0,o.b1)();let a=[],d=new r.SL;return v(s,l,u.Ts.None).then(e=>{d.add(e);let t=[];for(let i of e.lenses)null==n||i.symbol.command?a.push(i.symbol):n-- >0&&i.provider.resolveCodeLens&&t.push(Promise.resolve(i.provider.resolveCodeLens(l,i.symbol,u.Ts.None)).then(e=>a.push(e||i.symbol)));return Promise.all(t)}).then(()=>a).finally(()=>{setTimeout(()=>d.dispose(),100)})});var b=i(79915),C=i(10289),w=i(70209),y=i(66653),S=i(85327),L=i(63179),k=i(44709),D=i(81845);let x=(0,S.yh)("ICodeLensCache");class N{constructor(e,t){this.lineCount=e,this.data=t}}let E=class{constructor(e){this._fakeProvider=new class{provideCodeLenses(){throw Error("not supported")}},this._cache=new C.z6(20,.75),(0,D.se)(k.E,()=>e.remove("codelens/cache",1));let t="codelens/cache2",i=e.get(t,1,"{}");this._deserialize(i),b.ju.once(e.onWillSaveState)(i=>{i.reason===L.fk.SHUTDOWN&&e.store(t,this._serialize(),1,1)})}put(e,t){let i=t.lenses.map(e=>{var t;return{range:e.symbol.range,command:e.symbol.command&&{id:"",title:null===(t=e.symbol.command)||void 0===t?void 0:t.title}}}),n=new _;n.add({lenses:i,dispose:()=>{}},this._fakeProvider);let s=new N(e.getLineCount(),n);this._cache.set(e.uri.toString(),s)}get(e){let t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0}delete(e){this._cache.delete(e.uri.toString())}_serialize(){let e=Object.create(null);for(let[t,i]of this._cache){let n=new Set;for(let e of i.data.lenses)n.add(e.symbol.range.startLineNumber);e[t]={lineCount:i.lineCount,lines:[...n.values()]}}return JSON.stringify(e)}_deserialize(e){try{let t=JSON.parse(e);for(let e in t){let i=t[e],n=[];for(let e of i.lines)n.push({range:new w.e(e,1,e,11)});let s=new _;s.add({lenses:n,dispose(){}},this._fakeProvider),this._cache.set(e,new N(i.lineCount,s))}}catch(e){}}};E=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=L.Uy,function(e,t){n(e,t,0)})],E),(0,y.z)(x,E,1);var I=i(29475);i(56417);var T=i(66629);class M{constructor(e,t,i){this.afterColumn=1073741824,this.afterLineNumber=e,this.heightInPx=t,this._onHeight=i,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(e){void 0===this._lastHeight?this._lastHeight=e:this._lastHeight!==e&&(this._lastHeight=e,this._onHeight())}isVisible(){return 0!==this._lastHeight&&this.domNode.hasAttribute("monaco-visible-view-zone")}}class R{constructor(e,t){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id=`codelens.widget-${R._idPool++}`,this.updatePosition(t),this._domNode=document.createElement("span"),this._domNode.className="codelens-decoration"}withCommands(e,t){this._commands.clear();let i=[],n=!1;for(let t=0;t{e.symbol.command&&l.push(e.symbol),i.addDecoration({range:e.symbol.range,options:P},e=>this._decorationIds[t]=e),r=r?w.e.plusRange(r,e.symbol.range):w.e.lift(e.symbol.range)}),this._viewZone=new M(r.startLineNumber-1,s,o),this._viewZoneId=n.addZone(this._viewZone),l.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(l,!1))}_createContentWidgetIfNecessary(){this._contentWidget?this._editor.layoutContentWidget(this._contentWidget):(this._contentWidget=new R(this._editor,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(e,t){this._decorationIds.forEach(e.removeDecoration,e),this._decorationIds=[],null==t||t.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((e,t)=>{let i=this._editor.getModel().getDecorationRange(e),n=this._data[t].symbol;return!!(i&&w.e.isEmpty(n.range)===i.isEmpty())})}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach((e,i)=>{t.addDecoration({range:e.symbol.range,options:P},e=>this._decorationIds[i]=e)})}updateHeight(e,t){this._viewZone.heightInPx=e,t.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(e){if(!this._viewZone.isVisible())return null;for(let t=0;tthis._resolveCodeLensesInViewport(),this._resolveCodeLensesDebounce.default()),this._disposables.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeConfiguration(e=>{(e.hasChanged(50)||e.hasChanged(19)||e.hasChanged(18))&&this._updateLensStyle(),e.hasChanged(17)&&this._onModelChange()})),this._disposables.add(t.codeLensProvider.onDidChange(this._onModelChange,this)),this._onModelChange(),this._updateLensStyle()}dispose(){var e;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),null===(e=this._currentCodeLensModel)||void 0===e||e.dispose()}_getLayoutInfo(){let e=Math.max(1.3,this._editor.getOption(67)/this._editor.getOption(52)),t=this._editor.getOption(19);return(!t||t<5)&&(t=.9*this._editor.getOption(52)|0),{fontSize:t,codeLensHeight:t*e|0}}_updateLensStyle(){let{codeLensHeight:e,fontSize:t}=this._getLayoutInfo(),i=this._editor.getOption(18),n=this._editor.getOption(50),{style:s}=this._editor.getContainerDomNode();s.setProperty("--vscode-editorCodeLens-lineHeight",`${e}px`),s.setProperty("--vscode-editorCodeLens-fontSize",`${t}px`),s.setProperty("--vscode-editorCodeLens-fontFeatureSettings",n.fontFeatureSettings),i&&(s.setProperty("--vscode-editorCodeLens-fontFamily",i),s.setProperty("--vscode-editorCodeLens-fontFamilyDefault",d.hL.fontFamily)),this._editor.changeViewZones(t=>{for(let i of this._lenses)i.updateHeight(e,t)})}_localDispose(){var e,t,i;null===(e=this._getCodeLensModelPromise)||void 0===e||e.cancel(),this._getCodeLensModelPromise=void 0,null===(t=this._resolveCodeLensesPromise)||void 0===t||t.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),null===(i=this._currentCodeLensModel)||void 0===i||i.dispose()}_onModelChange(){this._localDispose();let e=this._editor.getModel();if(!e||!this._editor.getOption(17)||e.isTooLargeForTokenization())return;let t=this._codeLensCache.get(e);if(t&&this._renderCodeLensSymbols(t),!this._languageFeaturesService.codeLensProvider.has(e)){t&&(0,s.Vg)(()=>{let i=this._codeLensCache.get(e);t===i&&(this._codeLensCache.delete(e),this._onModelChange())},3e4,this._localToDispose);return}for(let t of this._languageFeaturesService.codeLensProvider.all(e))if("function"==typeof t.onDidChange){let e=t.onDidChange(()=>i.schedule());this._localToDispose.add(e)}let i=new s.pY(()=>{var t;let n=Date.now();null===(t=this._getCodeLensModelPromise)||void 0===t||t.cancel(),this._getCodeLensModelPromise=(0,s.PG)(t=>v(this._languageFeaturesService.codeLensProvider,e,t)),this._getCodeLensModelPromise.then(t=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=t,this._codeLensCache.put(e,t);let s=this._provideCodeLensDebounce.update(e,Date.now()-n);i.delay=s,this._renderCodeLensSymbols(t),this._resolveCodeLensesInViewportSoon()},o.dL)},this._provideCodeLensDebounce.get(e));this._localToDispose.add(i),this._localToDispose.add((0,r.OF)(()=>this._resolveCodeLensesScheduler.cancel())),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{var e;this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{let i=[],n=-1;this._lenses.forEach(e=>{e.isValid()&&n!==e.getLineNumber()?(e.update(t),n=e.getLineNumber()):i.push(e)});let s=new A;i.forEach(e=>{e.dispose(s,t),this._lenses.splice(this._lenses.indexOf(e),1)}),s.commit(e)})}),i.schedule(),this._resolveCodeLensesScheduler.cancel(),null===(e=this._resolveCodeLensesPromise)||void 0===e||e.cancel(),this._resolveCodeLensesPromise=void 0})),this._localToDispose.add(this._editor.onDidFocusEditorText(()=>{i.schedule()})),this._localToDispose.add(this._editor.onDidBlurEditorText(()=>{i.cancel()})),this._localToDispose.add(this._editor.onDidScrollChange(e=>{e.scrollTopChanged&&this._lenses.length>0&&this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add((0,r.OF)(()=>{if(this._editor.getModel()){let e=l.Z.capture(this._editor);this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{this._disposeAllLenses(e,t)})}),e.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseDown(e=>{if(9!==e.target.type)return;let t=e.target.element;if((null==t?void 0:t.tagName)==="SPAN"&&(t=t.parentElement),(null==t?void 0:t.tagName)==="A")for(let e of this._lenses){let i=e.getCommand(t);if(i){this._commandService.executeCommand(i.id,...i.arguments||[]).catch(e=>this._notificationService.error(e));break}}})),i.schedule()}_disposeAllLenses(e,t){let i=new A;for(let e of this._lenses)e.dispose(i,t);e&&i.commit(e),this._lenses.length=0}_renderCodeLensSymbols(e){let t;if(!this._editor.hasModel())return;let i=this._editor.getModel().getLineCount(),n=[];for(let s of e.lenses){let e=s.symbol.range.startLineNumber;e<1||e>i||(t&&t[t.length-1].symbol.range.startLineNumber===e?t.push(s):(t=[s],n.push(t)))}if(!n.length&&!this._lenses.length)return;let s=l.Z.capture(this._editor),o=this._getLayoutInfo();this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{let i=new A,s=0,r=0;for(;rthis._resolveCodeLensesInViewportSoon())),s++,r++)}for(;sthis._resolveCodeLensesInViewportSoon())),r++;i.commit(e)})}),s.restore(this._editor)}_resolveCodeLensesInViewportSoon(){let e=this._editor.getModel();e&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var e;null===(e=this._resolveCodeLensesPromise)||void 0===e||e.cancel(),this._resolveCodeLensesPromise=void 0;let t=this._editor.getModel();if(!t)return;let i=[],n=[];if(this._lenses.forEach(e=>{let s=e.computeIfNecessary(t);s&&(i.push(s),n.push(e))}),0===i.length)return;let r=Date.now(),l=(0,s.PG)(e=>{let s=i.map((i,s)=>{let r=Array(i.length),l=i.map((i,n)=>i.symbol.command||"function"!=typeof i.provider.resolveCodeLens?(r[n]=i.symbol,Promise.resolve(void 0)):Promise.resolve(i.provider.resolveCodeLens(t,i.symbol,e)).then(e=>{r[n]=e},o.Cp));return Promise.all(l).then(()=>{e.isCancellationRequested||n[s].isDisposed()||n[s].updateCommands(r)})});return Promise.all(s)});this._resolveCodeLensesPromise=l,this._resolveCodeLensesPromise.then(()=>{let e=this._resolveCodeLensesDebounce.update(t,Date.now()-r);this._resolveCodeLensesScheduler.delay=e,this._currentCodeLensModel&&this._codeLensCache.put(t,this._currentCodeLensModel),this._oldCodeLensModels.clear(),l===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)},e=>{(0,o.dL)(e),l===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)})}async getModel(){var e;return await this._getCodeLensModelPromise,await this._resolveCodeLensesPromise,(null===(e=this._currentCodeLensModel)||void 0===e?void 0:e.isDisposed)?void 0:this._currentCodeLensModel}};z.ID="css.editor.codeLens",z=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([V(1,f.p),V(2,H.A),V(3,m.H),V(4,B.lT),V(5,x)],z),(0,a._K)(z.ID,z,1),(0,a.Qr)(class extends a.R6{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:h.u.hasCodeLensProvider,label:(0,F.NC)("showLensOnLine","Show CodeLens Commands For Current Line"),alias:"Show CodeLens Commands For Current Line"})}async run(e,t){if(!t.hasModel())return;let i=e.get(W.eJ),n=e.get(m.H),s=e.get(B.lT),o=t.getSelection().positionLineNumber,r=t.getContribution(z.ID);if(!r)return;let l=await r.getModel();if(!l)return;let a=[];for(let e of l.lenses)e.symbol.command&&e.symbol.range.startLineNumber===o&&a.push({label:e.symbol.command.title,command:e.symbol.command});if(0===a.length)return;let d=await i.pick(a,{canPickMany:!1,placeHolder:(0,F.NC)("placeHolder","Select a command")});if(!d)return;let h=d.command;if(l.isDisposed){let e=await r.getModel(),t=null==e?void 0:e.lenses.find(e=>{var t;return e.symbol.range.startLineNumber===o&&(null===(t=e.symbol.command)||void 0===t?void 0:t.title)===h.title});if(!t||!t.symbol.command)return;h=t.symbol.command}try{await n.executeCommand(h.id,...h.arguments||[])}catch(e){s.error(e)}}})},4590:function(e,t,i){"use strict";i.d(t,{E:function(){return c},R:function(){return g}});var n=i(9424),s=i(32378),o=i(5482),r=i(70209),l=i(98334),a=i(81903),d=i(64106),h=i(73362),u=i(78426);async function c(e,t,i,n=!0){return _(new p,e,t,i,n)}function g(e,t,i,n){return Promise.resolve(i.provideColorPresentations(e,t,n))}class p{constructor(){}async compute(e,t,i,n){let s=await e.provideDocumentColors(t,i);if(Array.isArray(s))for(let t of s)n.push({colorInfo:t,provider:e});return Array.isArray(s)}}class m{constructor(){}async compute(e,t,i,n){let s=await e.provideDocumentColors(t,i);if(Array.isArray(s))for(let e of s)n.push({range:e.range,color:[e.color.red,e.color.green,e.color.blue,e.color.alpha]});return Array.isArray(s)}}class f{constructor(e){this.colorInfo=e}async compute(e,t,i,s){let o=await e.provideColorPresentations(t,this.colorInfo,n.Ts.None);return Array.isArray(o)&&s.push(...o),Array.isArray(o)}}async function _(e,t,i,n,o){let r,l=!1,a=[],d=t.ordered(i);for(let t=d.length-1;t>=0;t--){let o=d[t];if(o instanceof h.G)r=o;else try{await e.compute(o,i,n,a)&&(l=!0)}catch(e){(0,s.Cp)(e)}}return l?a:r&&o?(await e.compute(r,i,n,a),a):[]}function v(e,t){let{colorProvider:i}=e.get(d.p),n=e.get(l.q).getModel(t);if(!n)throw(0,s.b1)();let o=e.get(u.Ui).getValue("editor.defaultColorDecorators",{resource:t});return{model:n,colorProviderRegistry:i,isDefaultColorDecoratorsEnabled:o}}a.P.registerCommand("_executeDocumentColorProvider",function(e,...t){let[i]=t;if(!(i instanceof o.o))throw(0,s.b1)();let{model:r,colorProviderRegistry:l,isDefaultColorDecoratorsEnabled:a}=v(e,i);return _(new m,l,r,n.Ts.None,a)}),a.P.registerCommand("_executeColorPresentationProvider",function(e,...t){let[i,l]=t,{uri:a,range:d}=l;if(!(a instanceof o.o)||!Array.isArray(i)||4!==i.length||!r.e.isIRange(d))throw(0,s.b1)();let{model:h,colorProviderRegistry:u,isDefaultColorDecoratorsEnabled:c}=v(e,a),[g,p,m,b]=i;return _(new f({range:d,color:{red:g,green:p,blue:m,alpha:b}}),u,h,n.Ts.None,c)})},99844:function(e,t,i){"use strict";var n=i(70784),s=i(82508),o=i(70209),r=i(66849),l=i(87767),a=i(71283),d=i(9411);class h extends n.JT{constructor(e){super(),this._editor=e,this._register(e.onMouseDown(e=>this.onMouseDown(e)))}dispose(){super.dispose()}onMouseDown(e){let t=this._editor.getOption(148);if("click"!==t&&"clickAndHover"!==t)return;let i=e.target;if(6!==i.type||!i.detail.injectedText||i.detail.injectedText.options.attachedData!==r.Ak||!i.range)return;let n=this._editor.getContribution(a.c.ID);if(n&&!n.isColorPickerVisible){let e=new o.e(i.range.startLineNumber,i.range.startColumn+1,i.range.endLineNumber,i.range.endColumn+1);n.showContentHover(e,1,0,!1,!0)}}}h.ID="editor.contrib.colorContribution",(0,s._K)(h.ID,h,2),d.Ae.register(l.nh)},66849:function(e,t,i){"use strict";i.d(t,{Ak:function(){return C},if:function(){return w}});var n,s=i(44532),o=i(76515),r=i(32378),l=i(79915),a=i(70784),d=i(44129),h=i(95612),u=i(2318),c=i(82508),g=i(70209),p=i(66629),m=i(86756),f=i(64106),_=i(4590),v=i(78426),b=function(e,t){return function(i,n){t(i,n,e)}};let C=Object.create({}),w=n=class extends a.JT{constructor(e,t,i,s){super(),this._editor=e,this._configurationService=t,this._languageFeaturesService=i,this._localToDispose=this._register(new a.SL),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=this._editor.createDecorationsCollection(),this._ruleFactory=new u.t7(this._editor),this._decoratorLimitReporter=new y,this._colorDecorationClassRefs=this._register(new a.SL),this._debounceInformation=s.for(i.colorProvider,"Document Colors",{min:n.RECOMPUTE_TIME}),this._register(e.onDidChangeModel(()=>{this._isColorDecoratorsEnabled=this.isEnabled(),this.updateColors()})),this._register(e.onDidChangeModelLanguage(()=>this.updateColors())),this._register(i.colorProvider.onDidChange(()=>this.updateColors())),this._register(e.onDidChangeConfiguration(e=>{let t=this._isColorDecoratorsEnabled;this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(147);let i=t!==this._isColorDecoratorsEnabled||e.hasChanged(21),n=e.hasChanged(147);(i||n)&&(this._isColorDecoratorsEnabled?this.updateColors():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(147),this.updateColors()}isEnabled(){let e=this._editor.getModel();if(!e)return!1;let t=e.getLanguageId(),i=this._configurationService.getValue(t);if(i&&"object"==typeof i){let e=i.colorDecorators;if(e&&void 0!==e.enable&&!e.enable)return e.enable}return this._editor.getOption(20)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}updateColors(){if(this.stop(),!this._isColorDecoratorsEnabled)return;let e=this._editor.getModel();e&&this._languageFeaturesService.colorProvider.has(e)&&(this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._timeoutTimer||(this._timeoutTimer=new s._F,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},this._debounceInformation.get(e)))})),this.beginCompute())}async beginCompute(){this._computePromise=(0,s.PG)(async e=>{let t=this._editor.getModel();if(!t)return[];let i=new d.G(!1),n=await (0,_.E)(this._languageFeaturesService.colorProvider,t,e,this._isDefaultColorDecoratorsEnabled);return this._debounceInformation.update(t,i.elapsed()),n});try{let e=await this._computePromise;this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null}catch(e){(0,r.dL)(e)}}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(e){let t=e.map(e=>({range:{startLineNumber:e.colorInfo.range.startLineNumber,startColumn:e.colorInfo.range.startColumn,endLineNumber:e.colorInfo.range.endLineNumber,endColumn:e.colorInfo.range.endColumn},options:p.qx.EMPTY}));this._editor.changeDecorations(i=>{this._decorationsIds=i.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach((t,i)=>this._colorDatas.set(t,e[i]))})}updateColorDecorators(e){this._colorDecorationClassRefs.clear();let t=[],i=this._editor.getOption(21);for(let n=0;nthis._colorDatas.has(e.id));return 0===i.length?null:this._colorDatas.get(i[0].id)}isColorDecoration(e){return this._colorDecoratorIds.has(e)}};w.ID="editor.contrib.colorDetector",w.RECOMPUTE_TIME=1e3,w=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([b(1,v.Ui),b(2,f.p),b(3,m.A)],w);class y{constructor(){this._onDidChange=new l.Q5,this._computed=0,this._limited=!1}update(e,t){(e!==this._computed||t!==this._limited)&&(this._computed=e,this._limited=t,this._onDidChange.fire())}}(0,c._K)(w.ID,w,1)},87767:function(e,t,i){"use strict";i.d(t,{nh:function(){return P},PQ:function(){return F}});var n=i(44532),s=i(9424),o=i(76515),r=i(70784),l=i(70209),a=i(4590),d=i(66849),h=i(79915);class u{get color(){return this._color}set color(e){this._color.equals(e)||(this._color=e,this._onDidChangeColor.fire(e))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(e){this._colorPresentations=e,this.presentationIndex>e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}constructor(e,t,i){this.presentationIndex=i,this._onColorFlushed=new h.Q5,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new h.Q5,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new h.Q5,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){let i=-1;for(let e=0;e{this.backgroundColor=e.getColor(b.yJx)||o.Il.white})),this._register(g.nm(this._pickedColorNode,g.tw.CLICK,()=>this.model.selectNextColorPresentation())),this._register(g.nm(this._originalColorNode,g.tw.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this._register(t.onDidChangePresentation(this.onDidChangePresentation,this)),this._pickedColorNode.style.backgroundColor=o.Il.Format.CSS.format(t.color)||"",this._pickedColorNode.classList.toggle("light",t.color.rgba.a<.5?this.backgroundColor.isLighter():t.color.isLighter()),this.onDidChangeColor(this.model.color),this.showingStandaloneColorPicker&&(this._domNode.classList.add("standalone-colorpicker"),this._closeButton=this._register(new S(this._domNode)))}get closeButton(){return this._closeButton}get pickedColorNode(){return this._pickedColorNode}get originalColorNode(){return this._originalColorNode}onDidChangeColor(e){this._pickedColorNode.style.backgroundColor=o.Il.Format.CSS.format(e)||"",this._pickedColorNode.classList.toggle("light",e.rgba.a<.5?this.backgroundColor.isLighter():e.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this._pickedColorPresentation.textContent=this.model.presentation?this.model.presentation.label:""}}class S extends r.JT{constructor(e){super(),this._onClicked=this._register(new h.Q5),this.onClicked=this._onClicked.event,this._button=document.createElement("div"),this._button.classList.add("close-button"),g.R3(e,this._button);let t=document.createElement("div");t.classList.add("close-button-inner-div"),g.R3(this._button,t);let i=g.R3(t,w(".button"+_.k.asCSSSelector((0,C.q5)("color-picker-close",f.l.close,(0,v.NC)("closeIcon","Icon to close the color picker")))));i.classList.add("close-icon"),this._register(g.nm(this._button,g.tw.CLICK,()=>{this._onClicked.fire()}))}}class L extends r.JT{constructor(e,t,i,n=!1){super(),this.model=t,this.pixelRatio=i,this._insertButton=null,this._domNode=w(".colorpicker-body"),g.R3(e,this._domNode),this._saturationBox=new k(this._domNode,this.model,this.pixelRatio),this._register(this._saturationBox),this._register(this._saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this._saturationBox.onColorFlushed(this.flushColor,this)),this._opacityStrip=new x(this._domNode,this.model,n),this._register(this._opacityStrip),this._register(this._opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this._opacityStrip.onColorFlushed(this.flushColor,this)),this._hueStrip=new N(this._domNode,this.model,n),this._register(this._hueStrip),this._register(this._hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this._hueStrip.onColorFlushed(this.flushColor,this)),n&&(this._insertButton=this._register(new E(this._domNode)),this._domNode.classList.add("standalone-colorpicker"))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){let i=this.model.color.hsva;this.model.color=new o.Il(new o.tx(i.h,e,t,i.a))}onDidOpacityChange(e){let t=this.model.color.hsva;this.model.color=new o.Il(new o.tx(t.h,t.s,t.v,e))}onDidHueChange(e){let t=this.model.color.hsva,i=(1-e)*360;this.model.color=new o.Il(new o.tx(360===i?0:i,t.s,t.v,t.a))}get domNode(){return this._domNode}get saturationBox(){return this._saturationBox}get enterButton(){return this._insertButton}layout(){this._saturationBox.layout(),this._opacityStrip.layout(),this._hueStrip.layout()}}class k extends r.JT{constructor(e,t,i){super(),this.model=t,this.pixelRatio=i,this._onDidChange=new h.Q5,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new h.Q5,this.onColorFlushed=this._onColorFlushed.event,this._domNode=w(".saturation-wrap"),g.R3(e,this._domNode),this._canvas=document.createElement("canvas"),this._canvas.className="saturation-box",g.R3(this._domNode,this._canvas),this.selection=w(".saturation-selection"),g.R3(this._domNode,this.selection),this.layout(),this._register(g.nm(this._domNode,g.tw.POINTER_DOWN,e=>this.onPointerDown(e))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}get domNode(){return this._domNode}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;this.monitor=this._register(new p.C);let t=g.i(this._domNode);e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>this.onDidChangePosition(e.pageX-t.left,e.pageY-t.top),()=>null);let i=g.nm(e.target.ownerDocument,g.tw.POINTER_UP,()=>{this._onColorFlushed.fire(),i.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(e,t){let i=Math.max(0,Math.min(1,e/this.width)),n=Math.max(0,Math.min(1,1-t/this.height));this.paintSelection(i,n),this._onDidChange.fire({s:i,v:n})}layout(){this.width=this._domNode.offsetWidth,this.height=this._domNode.offsetHeight,this._canvas.width=this.width*this.pixelRatio,this._canvas.height=this.height*this.pixelRatio,this.paint();let e=this.model.color.hsva;this.paintSelection(e.s,e.v)}paint(){let e=this.model.color.hsva,t=new o.Il(new o.tx(e.h,1,1,1)),i=this._canvas.getContext("2d"),n=i.createLinearGradient(0,0,this._canvas.width,0);n.addColorStop(0,"rgba(255, 255, 255, 1)"),n.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),n.addColorStop(1,"rgba(255, 255, 255, 0)");let s=i.createLinearGradient(0,0,0,this._canvas.height);s.addColorStop(0,"rgba(0, 0, 0, 0)"),s.addColorStop(1,"rgba(0, 0, 0, 1)"),i.rect(0,0,this._canvas.width,this._canvas.height),i.fillStyle=o.Il.Format.CSS.format(t),i.fill(),i.fillStyle=n,i.fill(),i.fillStyle=s,i.fill()}paintSelection(e,t){this.selection.style.left=`${e*this.width}px`,this.selection.style.top=`${this.height-t*this.height}px`}onDidChangeColor(e){if(this.monitor&&this.monitor.isMonitoring())return;this.paint();let t=e.hsva;this.paintSelection(t.s,t.v)}}class D extends r.JT{constructor(e,t,i=!1){super(),this.model=t,this._onDidChange=new h.Q5,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new h.Q5,this.onColorFlushed=this._onColorFlushed.event,i?(this.domNode=g.R3(e,w(".standalone-strip")),this.overlay=g.R3(this.domNode,w(".standalone-overlay"))):(this.domNode=g.R3(e,w(".strip")),this.overlay=g.R3(this.domNode,w(".overlay"))),this.slider=g.R3(this.domNode,w(".slider")),this.slider.style.top="0px",this._register(g.nm(this.domNode,g.tw.POINTER_DOWN,e=>this.onPointerDown(e))),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;let e=this.getValue(this.model.color);this.updateSliderPosition(e)}onDidChangeColor(e){let t=this.getValue(e);this.updateSliderPosition(t)}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;let t=this._register(new p.C),i=g.i(this.domNode);this.domNode.classList.add("grabbing"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.pointerId,e.buttons,e=>this.onDidChangeTop(e.pageY-i.top),()=>null);let n=g.nm(e.target.ownerDocument,g.tw.POINTER_UP,()=>{this._onColorFlushed.fire(),n.dispose(),t.stopMonitoring(!0),this.domNode.classList.remove("grabbing")},!0)}onDidChangeTop(e){let t=Math.max(0,Math.min(1,1-e/this.height));this.updateSliderPosition(t),this._onDidChange.fire(t)}updateSliderPosition(e){this.slider.style.top=`${(1-e)*this.height}px`}}class x extends D{constructor(e,t,i=!1){super(e,t,i),this.domNode.classList.add("opacity-strip"),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){super.onDidChangeColor(e);let{r:t,g:i,b:n}=e.rgba,s=new o.Il(new o.VS(t,i,n,1)),r=new o.Il(new o.VS(t,i,n,0));this.overlay.style.background=`linear-gradient(to bottom, ${s} 0%, ${r} 100%)`}getValue(e){return e.hsva.a}}class N extends D{constructor(e,t,i=!1){super(e,t,i),this.domNode.classList.add("hue-strip")}getValue(e){return 1-e.hsva.h/360}}class E extends r.JT{constructor(e){super(),this._onClicked=this._register(new h.Q5),this.onClicked=this._onClicked.event,this._button=g.R3(e,document.createElement("button")),this._button.classList.add("insert-button"),this._button.textContent="Insert",this._register(g.nm(this._button,g.tw.CLICK,()=>{this._onClicked.fire()}))}get button(){return this._button}}class I extends m.${constructor(e,t,i,n,s=!1){super(),this.model=t,this.pixelRatio=i,this._register(c.T.getInstance(g.Jj(e)).onDidChange(()=>this.layout()));let o=w(".colorpicker-widget");e.appendChild(o),this.header=this._register(new y(o,this.model,n,s)),this.body=this._register(new L(o,this.model,this.pixelRatio,s))}layout(){this.body.layout()}}var T=i(55150),M=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},R=function(e,t){return function(i,n){t(i,n,e)}};class A{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n,this.forceShowAtRange=!0}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let P=class{constructor(e,t){this._editor=e,this._themeService=t,this.hoverOrdinal=2}computeSync(e,t){return[]}computeAsync(e,t,i){return n.Aq.fromPromise(this._computeAsync(e,t,i))}async _computeAsync(e,t,i){if(!this._editor.hasModel())return[];let n=d.if.get(this._editor);if(!n)return[];for(let e of t){if(!n.isColorDecoration(e))continue;let t=n.getColorData(e.range.getStartPosition());if(t){let e=await B(this,this._editor.getModel(),t.colorInfo,t.provider);return[e]}}return[]}renderHoverParts(e,t){return W(this,this._editor,this._themeService,t,e)}};P=M([R(1,T.XE)],P);class O{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n}}let F=class{constructor(e,t){this._editor=e,this._themeService=t,this._color=null}async createColorHover(e,t,i){if(!this._editor.hasModel())return null;let n=d.if.get(this._editor);if(!n)return null;let o=await (0,a.E)(i,this._editor.getModel(),s.Ts.None),r=null,h=null;for(let t of o){let i=t.colorInfo;l.e.containsRange(i.range,e.range)&&(r=i,h=t.provider)}let u=null!=r?r:e,c=null!=h?h:t,g=!!r;return{colorHover:await B(this,this._editor.getModel(),u,c),foundInEditor:g}}async updateEditorModel(e){if(!this._editor.hasModel())return;let t=e.model,i=new l.e(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn);this._color&&(await V(this._editor.getModel(),t,this._color,i,e),i=H(this._editor,i,t))}renderHoverParts(e,t){return W(this,this._editor,this._themeService,t,e)}set color(e){this._color=e}get color(){return this._color}};async function B(e,t,i,n){let r=t.getValueInRange(i.range),{red:d,green:h,blue:c,alpha:g}=i.color,p=new o.VS(Math.round(255*d),Math.round(255*h),Math.round(255*c),g),m=new o.Il(p),f=await (0,a.R)(t,i,n,s.Ts.None),_=new u(m,[],0);return(_.colorPresentations=f||[],_.guessColorPresentation(m,r),e instanceof P)?new A(e,l.e.lift(i.range),_,n):new O(e,l.e.lift(i.range),_,n)}function W(e,t,i,n,s){if(0===n.length||!t.hasModel())return r.JT.None;if(s.setMinimumDimensions){let e=t.getOption(67)+8;s.setMinimumDimensions(new g.Ro(302,e))}let o=new r.SL,a=n[0],d=t.getModel(),h=a.model,u=o.add(new I(s.fragment,h,t.getOption(143),i,e instanceof F));s.setColorPicker(u);let c=!1,p=new l.e(a.range.startLineNumber,a.range.startColumn,a.range.endLineNumber,a.range.endColumn);if(e instanceof F){let t=n[0].model.color;e.color=t,V(d,h,t,p,a),o.add(h.onColorFlushed(t=>{e.color=t}))}else o.add(h.onColorFlushed(async e=>{await V(d,h,e,p,a),c=!0,p=H(t,p,h)}));return o.add(h.onDidChangeColor(e=>{V(d,h,e,p,a)})),o.add(t.onDidChangeModelContent(e=>{c?c=!1:(s.hide(),t.focus())})),o}function H(e,t,i){var n,s;let o=[],r=null!==(n=i.presentation.textEdit)&&void 0!==n?n:{range:t,text:i.presentation.label,forceMoveMarkers:!1};o.push(r),i.presentation.additionalTextEdits&&o.push(...i.presentation.additionalTextEdits);let a=l.e.lift(r.range),d=e.getModel()._setTrackedRange(null,a,3);return e.executeEdits("colorpicker",o),e.pushUndoStop(),null!==(s=e.getModel()._getTrackedRange(d))&&void 0!==s?s:a}async function V(e,t,i,n,o){let r=await (0,a.R)(e,{range:n,color:{red:i.rgba.r/255,green:i.rgba.g/255,blue:i.rgba.b/255,alpha:i.rgba.a}},o.provider,s.Ts.None);t.colorPresentations=r||[]}F=M([R(1,T.XE)],F)},73362:function(e,t,i){"use strict";i.d(t,{G:function(){return u}});var n=i(76515),s=i(44356),o=i(98334),r=i(32712),l=i(70784),a=i(64106),d=i(88964),h=function(e,t){return function(i,n){t(i,n,e)}};class u{constructor(e,t){this._editorWorkerClient=new s.Q8(e,!1,"editorWorkerService",t)}async provideDocumentColors(e,t){return this._editorWorkerClient.computeDefaultDocumentColors(e.uri)}provideColorPresentations(e,t,i){let s=t.range,o=t.color,r=o.alpha,l=new n.Il(new n.VS(Math.round(255*o.red),Math.round(255*o.green),Math.round(255*o.blue),r)),a=r?n.Il.Format.CSS.formatRGB(l):n.Il.Format.CSS.formatRGBA(l),d=r?n.Il.Format.CSS.formatHSL(l):n.Il.Format.CSS.formatHSLA(l),h=r?n.Il.Format.CSS.formatHex(l):n.Il.Format.CSS.formatHexA(l),u=[];return u.push({label:a,textEdit:{range:s,text:a}}),u.push({label:d,textEdit:{range:s,text:d}}),u.push({label:h,textEdit:{range:s,text:h}}),u}}let c=class extends l.JT{constructor(e,t,i){super(),this._register(i.colorProvider.register("*",new u(e,t)))}};c=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([h(0,o.q),h(1,r.c_),h(2,a.p)],c),(0,d.y)(c)},88788:function(e,t,i){"use strict";var n,s,o=i(82508),r=i(82801),l=i(70784),a=i(87767),d=i(85327),h=i(5347),u=i(46417),c=i(79915),g=i(64106),p=i(73440),m=i(33336),f=i(98334),_=i(32712),v=i(73362),b=i(81845);i(45426);var C=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},w=function(e,t){return function(i,n){t(i,n,e)}};let y=n=class extends l.JT{constructor(e,t,i,n,s,o,r){super(),this._editor=e,this._modelService=i,this._keybindingService=n,this._instantiationService=s,this._languageFeatureService=o,this._languageConfigurationService=r,this._standaloneColorPickerWidget=null,this._standaloneColorPickerVisible=p.u.standaloneColorPickerVisible.bindTo(t),this._standaloneColorPickerFocused=p.u.standaloneColorPickerFocused.bindTo(t)}showOrFocus(){var e;this._editor.hasModel()&&(this._standaloneColorPickerVisible.get()?this._standaloneColorPickerFocused.get()||null===(e=this._standaloneColorPickerWidget)||void 0===e||e.focus():this._standaloneColorPickerWidget=new S(this._editor,this._standaloneColorPickerVisible,this._standaloneColorPickerFocused,this._instantiationService,this._modelService,this._keybindingService,this._languageFeatureService,this._languageConfigurationService))}hide(){var e;this._standaloneColorPickerFocused.set(!1),this._standaloneColorPickerVisible.set(!1),null===(e=this._standaloneColorPickerWidget)||void 0===e||e.hide(),this._editor.focus()}insertColor(){var e;null===(e=this._standaloneColorPickerWidget)||void 0===e||e.updateEditor(),this.hide()}static get(e){return e.getContribution(n.ID)}};y.ID="editor.contrib.standaloneColorPickerController",y=n=C([w(1,m.i6),w(2,f.q),w(3,u.d),w(4,d.TG),w(5,g.p),w(6,_.c_)],y),(0,o._K)(y.ID,y,1);let S=s=class extends l.JT{constructor(e,t,i,n,s,o,r,l){var d;super(),this._editor=e,this._standaloneColorPickerVisible=t,this._standaloneColorPickerFocused=i,this._modelService=s,this._keybindingService=o,this._languageFeaturesService=r,this._languageConfigurationService=l,this.allowEditorOverflow=!0,this._position=void 0,this._body=document.createElement("div"),this._colorHover=null,this._selectionSetInEditor=!1,this._onResult=this._register(new c.Q5),this.onResult=this._onResult.event,this._standaloneColorPickerVisible.set(!0),this._standaloneColorPickerParticipant=n.createInstance(a.PQ,this._editor),this._position=null===(d=this._editor._getViewModel())||void 0===d?void 0:d.getPrimaryCursorState().modelState.position;let h=this._editor.getSelection(),u=h?{startLineNumber:h.startLineNumber,startColumn:h.startColumn,endLineNumber:h.endLineNumber,endColumn:h.endColumn}:{startLineNumber:0,endLineNumber:0,endColumn:0,startColumn:0},g=this._register(b.go(this._body));this._register(g.onDidBlur(e=>{this.hide()})),this._register(g.onDidFocus(e=>{this.focus()})),this._register(this._editor.onDidChangeCursorPosition(()=>{this._selectionSetInEditor?this._selectionSetInEditor=!1:this.hide()})),this._register(this._editor.onMouseMove(e=>{var t;let i=null===(t=e.target.element)||void 0===t?void 0:t.classList;i&&i.contains("colorpicker-color-decoration")&&this.hide()})),this._register(this.onResult(e=>{this._render(e.value,e.foundInEditor)})),this._start(u),this._body.style.zIndex="50",this._editor.addContentWidget(this)}updateEditor(){this._colorHover&&this._standaloneColorPickerParticipant.updateEditorModel(this._colorHover)}getId(){return s.ID}getDomNode(){return this._body}getPosition(){if(!this._position)return null;let e=this._editor.getOption(60).above;return{position:this._position,secondaryPosition:this._position,preference:e?[1,2]:[2,1],positionAffinity:2}}hide(){this.dispose(),this._standaloneColorPickerVisible.set(!1),this._standaloneColorPickerFocused.set(!1),this._editor.removeContentWidget(this),this._editor.focus()}focus(){this._standaloneColorPickerFocused.set(!0),this._body.focus()}async _start(e){let t=await this._computeAsync(e);t&&this._onResult.fire(new L(t.result,t.foundInEditor))}async _computeAsync(e){if(!this._editor.hasModel())return null;let t=await this._standaloneColorPickerParticipant.createColorHover({range:e,color:{red:0,green:0,blue:0,alpha:1}},new v.G(this._modelService,this._languageConfigurationService),this._languageFeaturesService.colorProvider);return t?{result:t.colorHover,foundInEditor:t.foundInEditor}:null}_render(e,t){let i;let n=document.createDocumentFragment(),s=this._register(new h.m(this._keybindingService));if(this._colorHover=e,this._register(this._standaloneColorPickerParticipant.renderHoverParts({fragment:n,statusBar:s,setColorPicker:e=>i=e,onContentsChanged:()=>{},hide:()=>this.hide()},[e])),void 0===i)return;this._body.classList.add("standalone-colorpicker-body"),this._body.style.maxHeight=Math.max(this._editor.getLayoutInfo().height/4,250)+"px",this._body.style.maxWidth=Math.max(.66*this._editor.getLayoutInfo().width,500)+"px",this._body.tabIndex=0,this._body.appendChild(n),i.layout();let o=i.body,r=o.saturationBox.domNode.clientWidth,l=o.domNode.clientWidth-r-22-8,a=i.body.enterButton;null==a||a.onClicked(()=>{this.updateEditor(),this.hide()});let d=i.header,u=d.pickedColorNode;u.style.width=r+8+"px";let c=d.originalColorNode;c.style.width=l+"px";let g=i.header.closeButton;null==g||g.onClicked(()=>{this.hide()}),t&&(a&&(a.button.textContent="Replace"),this._selectionSetInEditor=!0,this._editor.setSelection(e.range)),this._editor.layoutContentWidget(this)}};S.ID="editor.contrib.standaloneColorPickerWidget",S=s=C([w(3,d.TG),w(4,f.q),w(5,u.d),w(6,g.p),w(7,_.c_)],S);class L{constructor(e,t){this.value=e,this.foundInEditor=t}}var k=i(30467);class D extends o.x1{constructor(){super({id:"editor.action.showOrFocusStandaloneColorPicker",title:{...(0,r.vv)("showOrFocusStandaloneColorPicker","Show or Focus Standalone Color Picker"),mnemonicTitle:(0,r.NC)({key:"mishowOrFocusStandaloneColorPicker",comment:["&& denotes a mnemonic"]},"&&Show or Focus Standalone Color Picker")},precondition:void 0,menu:[{id:k.eH.CommandPalette}],metadata:{description:(0,r.vv)("showOrFocusStandaloneColorPickerDescription","Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors.")}})}runEditorCommand(e,t){var i;null===(i=y.get(t))||void 0===i||i.showOrFocus()}}class x extends o.R6{constructor(){super({id:"editor.action.hideColorPicker",label:(0,r.NC)({key:"hideColorPicker",comment:["Action that hides the color picker"]},"Hide the Color Picker"),alias:"Hide the Color Picker",precondition:p.u.standaloneColorPickerVisible.isEqualTo(!0),kbOpts:{primary:9,weight:100},metadata:{description:(0,r.vv)("hideColorPickerDescription","Hide the standalone color picker.")}})}run(e,t){var i;null===(i=y.get(t))||void 0===i||i.hide()}}class N extends o.R6{constructor(){super({id:"editor.action.insertColorWithStandaloneColorPicker",label:(0,r.NC)({key:"insertColorWithStandaloneColorPicker",comment:["Action that inserts color with standalone color picker"]},"Insert Color with Standalone Color Picker"),alias:"Insert Color with Standalone Color Picker",precondition:p.u.standaloneColorPickerFocused.isEqualTo(!0),kbOpts:{primary:3,weight:100},metadata:{description:(0,r.vv)("insertColorWithStandaloneColorPickerDescription","Insert hex/rgb/hsl colors with the focused standalone color picker.")}})}run(e,t){var i;null===(i=y.get(t))||void 0===i||i.insertColor()}}(0,o.Qr)(x),(0,o.Qr)(N),(0,k.r1)(D)},57938:function(e,t,i){"use strict";var n=i(57231),s=i(82508),o=i(70209),r=i(73440),l=i(32712),a=i(26318),d=i(86570),h=i(84781);class u{constructor(e,t,i){this.languageConfigurationService=i,this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,i){if(i<0)return!1;let n=t.length,s=e.length;if(i+n>s)return!1;for(let s=0;s=65)||!(n<=90)||n+32!==o)&&(!(o>=65)||!(o<=90)||o+32!==n))return!1}return!0}_createOperationsForBlockComment(e,t,i,n,s,r){let l;let a=e.startLineNumber,d=e.startColumn,h=e.endLineNumber,c=e.endColumn,g=s.getLineContent(a),p=s.getLineContent(h),m=g.lastIndexOf(t,d-1+t.length),f=p.indexOf(i,c-1-i.length);if(-1!==m&&-1!==f){if(a===h){let e=g.substring(m+t.length,f);e.indexOf(i)>=0&&(m=-1,f=-1)}else{let e=g.substring(m+t.length),n=p.substring(0,f);(e.indexOf(i)>=0||n.indexOf(i)>=0)&&(m=-1,f=-1)}}for(let s of(-1!==m&&-1!==f?(n&&m+t.length0&&32===p.charCodeAt(f-1)&&(i=" "+i,f-=1),l=u._createRemoveBlockCommentOperations(new o.e(a,m+t.length+1,h,f+1),t,i)):(l=u._createAddBlockCommentOperations(e,t,i,this._insertSpace),this._usedEndToken=1===l.length?i:null),l))r.addTrackedEditOperation(s.range,s.text)}static _createRemoveBlockCommentOperations(e,t,i){let n=[];return o.e.isEmpty(e)?n.push(a.h.delete(new o.e(e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+i.length))):(n.push(a.h.delete(new o.e(e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),n.push(a.h.delete(new o.e(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+i.length)))),n}static _createAddBlockCommentOperations(e,t,i,n){let s=[];return o.e.isEmpty(e)?s.push(a.h.replace(new o.e(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+" "+i)):(s.push(a.h.insert(new d.L(e.startLineNumber,e.startColumn),t+(n?" ":""))),s.push(a.h.insert(new d.L(e.endLineNumber,e.endColumn),(n?" ":"")+i))),s}getEditOperations(e,t){let i=this._selection.startLineNumber,n=this._selection.startColumn;e.tokenization.tokenizeIfCheap(i);let s=e.getLanguageIdAtPosition(i,n),o=this.languageConfigurationService.getLanguageConfiguration(s).comments;o&&o.blockCommentStartToken&&o.blockCommentEndToken&&this._createOperationsForBlockComment(this._selection,o.blockCommentStartToken,o.blockCommentEndToken,this._insertSpace,e,t)}computeCursorState(e,t){let i=t.getInverseEditOperations();if(2===i.length){let e=i[0],t=i[1];return new h.Y(e.range.endLineNumber,e.range.endColumn,t.range.startLineNumber,t.range.startColumn)}{let e=i[0].range,t=this._usedEndToken?-this._usedEndToken.length-1:0;return new h.Y(e.endLineNumber,e.endColumn+t,e.endLineNumber,e.endColumn+t)}}}var c=i(95612);class g{constructor(e,t,i,n,s,o,r){this.languageConfigurationService=e,this._selection=t,this._indentSize=i,this._type=n,this._insertSpace=s,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=o,this._ignoreFirstLine=r||!1}static _gatherPreflightCommentStrings(e,t,i,n){e.tokenization.tokenizeIfCheap(t);let s=e.getLanguageIdAtPosition(t,1),o=n.getLanguageConfiguration(s).comments,r=o?o.lineCommentToken:null;if(!r)return null;let l=[];for(let e=0,n=i-t+1;er?t[l].commentStrOffset=s-1:t[l].commentStrOffset=s}}}var p=i(82801),m=i(30467);class f extends s.R6{constructor(e,t){super(t),this._type=e}run(e,t){let i=e.get(l.c_);if(!t.hasModel())return;let n=t.getModel(),s=[],r=n.getOptions(),a=t.getOption(23),d=t.getSelections().map((e,t)=>({selection:e,index:t,ignoreFirstLine:!1}));d.sort((e,t)=>o.e.compareRangesUsingStarts(e.selection,t.selection));let h=d[0];for(let e=1;ethis._onContextMenu(e))),this._toDispose.add(this._editor.onMouseWheel(e=>{if(this._contextMenuIsBeingShownCount>0){let t=this._contextViewService.getContextViewElement(),i=e.srcElement;i.shadowRoot&&s.Ay(t)===i.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(e=>{this._editor.getOption(24)&&58===e.keyCode&&(e.preventDefault(),e.stopPropagation(),this.showContextMenu())}))}_onContextMenu(e){if(!this._editor.hasModel())return;if(!this._editor.getOption(24)){this._editor.focus(),e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position);return}if(12===e.target.type||6===e.target.type&&e.target.detail.injectedText)return;if(e.event.preventDefault(),e.event.stopPropagation(),11===e.target.type)return this._showScrollbarContextMenu(e.event);if(6!==e.target.type&&7!==e.target.type&&1!==e.target.type)return;if(this._editor.focus(),e.target.position){let t=!1;for(let i of this._editor.getSelections())if(i.containsPosition(e.target.position)){t=!0;break}t||this._editor.setPosition(e.target.position)}let t=null;1!==e.target.type&&(t=e.event),this.showContextMenu(t)}showContextMenu(e){if(!this._editor.getOption(24)||!this._editor.hasModel())return;let t=this._getMenuActions(this._editor.getModel(),this._editor.contextMenuId);t.length>0&&this._doShowContextMenu(t,e)}_getMenuActions(e,t){let i=[],n=this._menuService.createMenu(t,this._contextKeyService),s=n.getActions({arg:e.uri});for(let t of(n.dispose(),s)){let[,n]=t,s=0;for(let t of n)if(t instanceof c.NZ){let n=this._getMenuActions(e,t.item.submenu);n.length>0&&(i.push(new r.wY(t.id,t.label,n)),s++)}else i.push(t),s++;s&&i.push(new r.Z0)}return i.length&&i.pop(),i}_doShowContextMenu(e,t=null){if(!this._editor.hasModel())return;let i=this._editor.getOption(60);this._editor.updateOptions({hover:{enabled:!1}});let n=t;if(!n){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();let e=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),t=s.i(this._editor.getDomNode()),i=t.left+e.left,o=t.top+e.top+e.height;n={x:i,y:o}}let r=this._editor.getOption(127)&&!a.gn;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:r?this._editor.getDomNode():void 0,getAnchor:()=>n,getActions:()=>e,getActionViewItem:e=>{let t=this._keybindingFor(e);return t?new o.gU(e,e,{label:!0,keybinding:t.getLabel(),isMenu:!0}):"function"==typeof e.getActionViewItem?e.getActionViewItem():new o.gU(e,e,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:e=>this._keybindingFor(e),onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.updateOptions({hover:i})}})}_showScrollbarContextMenu(e){if(!this._editor.hasModel()||(0,_.x)(this._workspaceContextService.getWorkspace()))return;let t=this._editor.getOption(73),i=0,n=e=>({id:`menu-action-${++i}`,label:e.label,tooltip:"",class:void 0,enabled:void 0===e.enabled||e.enabled,checked:e.checked,run:e.run}),s=(e,t)=>new r.wY(`menu-action-${++i}`,e,t,void 0),o=(e,t,i,o,r)=>{if(!t)return n({label:e,enabled:t,run:()=>{}});let l=e=>()=>{this._configurationService.updateValue(i,e)},a=[];for(let e of r)a.push(n({label:e.label,checked:o===e.value,run:l(e.value)}));return s(e,a)},l=[];l.push(n({label:u.NC("context.minimap.minimap","Minimap"),checked:t.enabled,run:()=>{this._configurationService.updateValue("editor.minimap.enabled",!t.enabled)}})),l.push(new r.Z0),l.push(n({label:u.NC("context.minimap.renderCharacters","Render Characters"),enabled:t.enabled,checked:t.renderCharacters,run:()=>{this._configurationService.updateValue("editor.minimap.renderCharacters",!t.renderCharacters)}})),l.push(o(u.NC("context.minimap.size","Vertical size"),t.enabled,"editor.minimap.size",t.size,[{label:u.NC("context.minimap.size.proportional","Proportional"),value:"proportional"},{label:u.NC("context.minimap.size.fill","Fill"),value:"fill"},{label:u.NC("context.minimap.size.fit","Fit"),value:"fit"}])),l.push(o(u.NC("context.minimap.slider","Slider"),t.enabled,"editor.minimap.showSlider",t.showSlider,[{label:u.NC("context.minimap.slider.mouseover","Mouse Over"),value:"mouseover"},{label:u.NC("context.minimap.slider.always","Always"),value:"always"}]));let d=this._editor.getOption(127)&&!a.gn;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:d?this._editor.getDomNode():void 0,getAnchor:()=>e,getActions:()=>l,onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.focus()}})}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};b.ID="editor.contrib.contextmenu",b=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([v(1,p.i),v(2,p.u),v(3,g.i6),v(4,m.d),v(5,c.co),v(6,f.Ui),v(7,_.ec)],b);class C extends d.R6{constructor(){super({id:"editor.action.showContextMenu",label:u.NC("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:h.u.textInputFocus,primary:1092,weight:100}})}run(e,t){var i;null===(i=b.get(t))||void 0===i||i.showContextMenu()}}(0,d._K)(b.ID,b,2),(0,d.Qr)(C)},99173:function(e,t,i){"use strict";var n=i(70784),s=i(82508),o=i(73440),r=i(82801);class l{constructor(e){this.selections=e}equals(e){let t=this.selections.length,i=e.selections.length;if(t!==i)return!1;for(let i=0;i{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeModelContent(e=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeCursorSelection(t=>{if(this._isCursorUndoRedo||!t.oldSelections||t.oldModelVersionId!==t.modelVersionId)return;let i=new l(t.oldSelections),n=this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(i);!n&&(this._undoStack.push(new a(i,e.getScrollTop(),e.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}cursorUndo(){this._editor.hasModel()&&0!==this._undoStack.length&&(this._redoStack.push(new a(new l(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){this._editor.hasModel()&&0!==this._redoStack.length&&(this._undoStack.push(new a(new l(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(e){this._isCursorUndoRedo=!0,this._editor.setSelections(e.cursorState.selections),this._editor.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),this._isCursorUndoRedo=!1}}d.ID="editor.contrib.cursorUndoRedoController";class h extends s.R6{constructor(){super({id:"cursorUndo",label:r.NC("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:o.u.textInputFocus,primary:2099,weight:100}})}run(e,t,i){var n;null===(n=d.get(t))||void 0===n||n.cursorUndo()}}class u extends s.R6{constructor(){super({id:"cursorRedo",label:r.NC("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})}run(e,t,i){var n;null===(n=d.get(t))||void 0===n||n.cursorRedo()}}(0,s._K)(d.ID,d,0),(0,s.Qr)(h),(0,s.Qr)(u)},40763:function(e,t,i){"use strict";var n=i(40789),s=i(43495),o=i(39561),r=i(81719),l=i(64106),a=i(55659),d=i(70784),h=i(79915),u=function(e,t){return function(i,n){t(i,n,e)}};let c=class extends d.JT{constructor(e,t,i){super(),this._textModel=e,this._languageFeaturesService=t,this._outlineModelService=i,this._currentModel=(0,s.uh)(this,void 0);let n=(0,s.aq)("documentSymbolProvider.onDidChange",this._languageFeaturesService.documentSymbolProvider.onDidChange),o=(0,s.aq)("_textModel.onDidChangeContent",h.ju.debounce(e=>this._textModel.onDidChangeContent(e),()=>void 0,100));this._register((0,s.gp)(async(e,t)=>{n.read(e),o.read(e);let i=t.add(new r.t2),s=await this._outlineModelService.getOrCreate(this._textModel,i.token);t.isDisposed||this._currentModel.set(s,void 0)}))}getBreadcrumbItems(e,t){let i=this._currentModel.read(t);if(!i)return[];let s=i.asListOfDocumentSymbols().filter(t=>e.contains(t.range.startLineNumber)&&!e.contains(t.range.endLineNumber));return s.sort((0,n.BV)((0,n.tT)(e=>e.range.endLineNumber-e.range.startLineNumber,n.fv))),s.map(e=>({name:e.name,kind:e.kind,startLineNumber:e.range.startLineNumber}))}};c=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([u(1,l.p),u(2,a.Je)],c),o.O.setBreadcrumbsSourceFactory((e,t)=>t.createInstance(c,e))},27479:function(e,t,i){"use strict";var n=i(70784),s=i(58022);i(92986);var o=i(82508),r=i(86570),l=i(70209),a=i(84781),d=i(66629);class h{constructor(e,t,i){this.selection=e,this.targetPosition=t,this.copy=i,this.targetSelection=null}getEditOperations(e,t){let i=e.getValueInRange(this.selection);if(this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new l.e(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),i),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new a.Y(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new a.Y(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumberthis._onEditorMouseDown(e))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._register(this._editor.onMouseDrag(e=>this._onEditorMouseDrag(e))),this._register(this._editor.onMouseDrop(e=>this._onEditorMouseDrop(e))),this._register(this._editor.onMouseDropCanceled(()=>this._onEditorMouseDropCanceled())),this._register(this._editor.onKeyDown(e=>this.onEditorKeyDown(e))),this._register(this._editor.onKeyUp(e=>this.onEditorKeyUp(e))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){!(!this._editor.getOption(35)||this._editor.getOption(22))&&(u(e)&&(this._modifierPressed=!0),this._mouseDown&&u(e)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(e){!(!this._editor.getOption(35)||this._editor.getOption(22))&&(u(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===c.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(e){let t=e.target;if(null===this._dragSelection){let e=this._editor.getSelections()||[],i=e.filter(e=>t.position&&e.containsPosition(t.position));if(1!==i.length)return;this._dragSelection=i[0]}u(e.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){let t=new r.L(e.target.position.lineNumber,e.target.position.column);if(null===this._dragSelection){let i=null;if(e.event.shiftKey){let e=this._editor.getSelection();if(e){let{selectionStartLineNumber:n,selectionStartColumn:s}=e;i=[new a.Y(n,s,t.lineNumber,t.column)]}}else i=(this._editor.getSelections()||[]).map(e=>e.containsPosition(t)?new a.Y(t.lineNumber,t.column,t.lineNumber,t.column):e);this._editor.setSelections(i||[],"mouse",3)}else(!this._dragSelection.containsPosition(t)||(u(e.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(c.ID,new h(this._dragSelection,t,u(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){this._dndDecorationIds.set([{range:new l.e(e.lineNumber,e.column,e.lineNumber,e.column),options:c._DECORATION_OPTIONS}]),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds.clear()}_hitContent(e){return 6===e.type||7===e.type}_hitMargin(e){return 2===e.type||3===e.type||4===e.type}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}c.ID="editor.contrib.dragAndDrop",c.TRIGGER_KEY_VALUE=s.dz?6:5,c._DECORATION_OPTIONS=d.qx.register({description:"dnd-target",className:"dnd-target"}),(0,o._K)(c.ID,c,2)},37536:function(e,t,i){"use strict";var n=i(9424),s=i(24162),o=i(5482),r=i(883),l=i(55659);i(81903).P.registerCommand("_executeDocumentSymbolProvider",async function(e,...t){let[i]=t;(0,s.p_)(o.o.isUri(i));let a=e.get(l.Je),d=e.get(r.S),h=await d.createModelReference(i);try{return(await a.getOrCreate(h.object.textEditorModel,n.Ts.None)).getTopLevelSymbols()}finally{h.dispose()}})},55659:function(e,t,i){"use strict";i.d(t,{C3:function(){return C},H3:function(){return b},Je:function(){return w},sT:function(){return v}});var n=i(40789),s=i(9424),o=i(32378),r=i(93072),l=i(10289),a=i(86570),d=i(70209),h=i(86756),u=i(85327),c=i(66653),g=i(98334),p=i(70784),m=i(64106),f=function(e,t){return function(i,n){t(i,n,e)}};class _{remove(){var e;null===(e=this.parent)||void 0===e||e.children.delete(this.id)}static findId(e,t){let i;"string"==typeof e?i=`${t.id}/${e}`:(i=`${t.id}/${e.name}`,void 0!==t.children.get(i)&&(i=`${t.id}/${e.name}_${e.range.startLineNumber}_${e.range.startColumn}`));let n=i;for(let e=0;void 0!==t.children.get(n);e++)n=`${i}_${e}`;return n}static empty(e){return 0===e.children.size}}class v extends _{constructor(e,t,i){super(),this.id=e,this.parent=t,this.symbol=i,this.children=new Map}}class b extends _{constructor(e,t,i,n){super(),this.id=e,this.parent=t,this.label=i,this.order=n,this.children=new Map}}class C extends _{static create(e,t,i){let r=new s.AU(i),l=new C(t.uri),a=e.ordered(t),d=a.map((e,i)=>{var n;let s=_.findId(`provider_${i}`,l),a=new b(s,l,null!==(n=e.displayName)&&void 0!==n?n:"Unknown Outline Provider",i);return Promise.resolve(e.provideDocumentSymbols(t,r.token)).then(e=>{for(let t of e||[])C._makeOutlineElement(t,a);return a},e=>((0,o.Cp)(e),a)).then(e=>{_.empty(e)?e.remove():l._groups.set(s,e)})}),h=e.onDidChange(()=>{let i=e.ordered(t);(0,n.fS)(i,a)||r.cancel()});return Promise.all(d).then(()=>r.token.isCancellationRequested&&!i.isCancellationRequested?C.create(e,t,i):l._compact()).finally(()=>{r.dispose(),h.dispose(),r.dispose()})}static _makeOutlineElement(e,t){let i=_.findId(e,t),n=new v(i,t,e);if(e.children)for(let t of e.children)C._makeOutlineElement(t,n);t.children.set(n.id,n)}constructor(e){super(),this.uri=e,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}_compact(){let e=0;for(let[t,i]of this._groups)0===i.children.size?this._groups.delete(t):e+=1;if(1!==e)this.children=this._groups;else{let e=r.$.first(this._groups.values());for(let[,t]of e.children)t.parent=this,this.children.set(t.id,t)}return this}getTopLevelSymbols(){let e=[];for(let t of this.children.values())t instanceof v?e.push(t.symbol):e.push(...r.$.map(t.children.values(),e=>e.symbol));return e.sort((e,t)=>d.e.compareRangesUsingStarts(e.range,t.range))}asListOfDocumentSymbols(){let e=this.getTopLevelSymbols(),t=[];return C._flattenDocumentSymbols(t,e,""),t.sort((e,t)=>a.L.compare(d.e.getStartPosition(e.range),d.e.getStartPosition(t.range))||a.L.compare(d.e.getEndPosition(t.range),d.e.getEndPosition(e.range)))}static _flattenDocumentSymbols(e,t,i){for(let n of t)e.push({kind:n.kind,tags:n.tags,name:n.name,detail:n.detail,containerName:n.containerName||i,range:n.range,selectionRange:n.selectionRange,children:void 0}),n.children&&C._flattenDocumentSymbols(e,n.children,n.name)}}let w=(0,u.yh)("IOutlineModelService"),y=class{constructor(e,t,i){this._languageFeaturesService=e,this._disposables=new p.SL,this._cache=new l.z6(10,.7),this._debounceInformation=t.for(e.documentSymbolProvider,"DocumentSymbols",{min:350}),this._disposables.add(i.onModelRemoved(e=>{this._cache.delete(e.id)}))}dispose(){this._disposables.dispose()}async getOrCreate(e,t){let i=this._languageFeaturesService.documentSymbolProvider,o=i.ordered(e),r=this._cache.get(e.id);if(!r||r.versionId!==e.getVersionId()||!(0,n.fS)(r.provider,o)){let t=new s.AU;r={versionId:e.getVersionId(),provider:o,promiseCnt:0,source:t,promise:C.create(i,e,t.token),model:void 0},this._cache.set(e.id,r);let n=Date.now();r.promise.then(t=>{r.model=t,this._debounceInformation.update(e,Date.now()-n)}).catch(t=>{this._cache.delete(e.id)})}if(r.model)return r.model;r.promiseCnt+=1;let l=t.onCancellationRequested(()=>{0==--r.promiseCnt&&(r.source.cancel(),this._cache.delete(e.id))});try{return await r.promise}finally{l.dispose()}}};y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([f(0,m.p),f(1,h.A),f(2,g.q)],y),(0,c.z)(w,y,1)},1231:function(e,t,i){"use strict";var n,s=i(10396),o=i(82508),r=i(73440),l=i(88964),a=i(63457),d=i(19469),h=i(82801);(0,o._K)(a.bO.ID,a.bO,0),(0,l.y)(d.vJ),(0,o.fK)(new class extends o._l{constructor(){super({id:a.iE,precondition:a.wS,kbOpts:{weight:100,primary:2137}})}runEditorCommand(e,t){var i;return null===(i=a.bO.get(t))||void 0===i?void 0:i.changePasteType()}}),(0,o.fK)(new class extends o._l{constructor(){super({id:"editor.hidePasteWidget",precondition:a.wS,kbOpts:{weight:100,primary:9}})}runEditorCommand(e,t){var i;null===(i=a.bO.get(t))||void 0===i||i.clearWidgets()}}),(0,o.Qr)(((n=class extends o.R6{constructor(){super({id:"editor.action.pasteAs",label:h.NC("pasteAs","Paste As..."),alias:"Paste As...",precondition:r.u.writable,metadata:{description:"Paste as",args:[{name:"args",schema:n.argsSchema}]}})}run(e,t,i){var n;let o="string"==typeof(null==i?void 0:i.kind)?i.kind:void 0;return!o&&i&&(o="string"==typeof i.id?i.id:void 0),null===(n=a.bO.get(t))||void 0===n?void 0:n.pasteAs(o?new s.o(o):void 0)}}).argsSchema={type:"object",properties:{kind:{type:"string",description:h.NC("pasteAs.kind","The kind of the paste edit to try applying. If not provided or there are multiple edits for this kind, the editor will show a picker.")}}},n)),(0,o.Qr)(class extends o.R6{constructor(){super({id:"editor.action.pasteAsText",label:h.NC("pasteAsText","Paste as Text"),alias:"Paste as Text",precondition:r.u.writable})}run(e,t){var i;return null===(i=a.bO.get(t))||void 0===i?void 0:i.pasteAs({providerId:d.f8.id})}})},63457:function(e,t,i){"use strict";i.d(t,{bO:function(){return P},iE:function(){return M},wS:function(){return R}});var n,s=i(81845),o=i(40789),r=i(44532),l=i(88946),a=i(10396),d=i(70784),h=i(16735),u=i(58022),c=i(2645),g=i(62432),p=i(70312),m=i(88338),f=i(70209),_=i(1863),v=i(64106),b=i(19469),C=i(46118),w=i(71141),y=i(25061),S=i(7727),L=i(82801),k=i(59203),D=i(33336),x=i(85327),N=i(14588),E=i(33353),I=i(57731),T=function(e,t){return function(i,n){t(i,n,e)}};let M="editor.changePasteType",R=new D.uy("pasteWidgetVisible",!1,(0,L.NC)("pasteWidgetVisible","Whether the paste widget is showing")),A="application/vnd.code.copyMetadata",P=n=class extends d.JT{static get(e){return e.getContribution(n.ID)}constructor(e,t,i,n,o,r,l){super(),this._bulkEditService=i,this._clipboardService=n,this._languageFeaturesService=o,this._quickInputService=r,this._progressService=l,this._editor=e;let a=e.getContainerDomNode();this._register((0,s.nm)(a,"copy",e=>this.handleCopy(e))),this._register((0,s.nm)(a,"cut",e=>this.handleCopy(e))),this._register((0,s.nm)(a,"paste",e=>this.handlePaste(e),!0)),this._pasteProgressManager=this._register(new y.r("pasteIntoEditor",e,t)),this._postPasteWidgetManager=this._register(t.createInstance(I.p,"pasteIntoEditor",e,R,{id:M,label:(0,L.NC)("postPasteWidgetTitle","Show paste options...")}))}changePasteType(){this._postPasteWidgetManager.tryShowSelector()}pasteAs(e){this._editor.focus();try{this._pasteAsActionContext={preferred:e},(0,s.uP)().execCommand("paste")}finally{this._pasteAsActionContext=void 0}}clearWidgets(){this._postPasteWidgetManager.clear()}isPasteAsEnabled(){return this._editor.getOption(85).enabled&&!this._editor.getOption(91)}async finishedPaste(){await this._currentPasteOperation}handleCopy(e){var t,i;if(!this._editor.hasTextFocus()||(u.$L&&this._clipboardService.writeResources([]),!e.clipboardData||!this.isPasteAsEnabled()))return;let s=this._editor.getModel(),l=this._editor.getSelections();if(!s||!(null==l?void 0:l.length))return;let a=this._editor.getOption(37),d=l,h=1===l.length&&l[0].isEmpty();if(h){if(!a)return;d=[new f.e(d[0].startLineNumber,1,d[0].startLineNumber,1+s.getLineLength(d[0].startLineNumber))]}let g=null===(t=this._editor._getViewModel())||void 0===t?void 0:t.getPlainTextToCopy(l,a,u.ED),m=Array.isArray(g)?g:null,_={multicursorText:m,pasteOnNewLine:h,mode:null},v=this._languageFeaturesService.documentPasteEditProvider.ordered(s).filter(e=>!!e.prepareDocumentPaste);if(!v.length){this.setCopyMetadata(e.clipboardData,{defaultPastePayload:_});return}let b=(0,p.B)(e.clipboardData),C=v.flatMap(e=>{var t;return null!==(t=e.copyMimeTypes)&&void 0!==t?t:[]}),w=(0,c.R)();this.setCopyMetadata(e.clipboardData,{id:w,providerCopyMimeTypes:C,defaultPastePayload:_});let y=(0,r.PG)(async e=>{let t=(0,o.kX)(await Promise.all(v.map(async t=>{try{return await t.prepareDocumentPaste(s,d,b,e)}catch(e){console.error(e);return}})));for(let e of(t.reverse(),t))for(let[t,i]of e)b.replace(t,i);return b});null===(i=n._currentCopyOperation)||void 0===i||i.dataTransferPromise.cancel(),n._currentCopyOperation={handle:w,dataTransferPromise:y}}async handlePaste(e){var t,i,n,s;if(!e.clipboardData||!this._editor.hasTextFocus())return;null===(t=S.O.get(this._editor))||void 0===t||t.closeMessage(),null===(i=this._currentPasteOperation)||void 0===i||i.cancel(),this._currentPasteOperation=void 0;let o=this._editor.getModel(),r=this._editor.getSelections();if(!(null==r?void 0:r.length)||!o||!this.isPasteAsEnabled()&&!this._pasteAsActionContext)return;let a=this.fetchCopyMetadata(e),d=(0,p.L)(e.clipboardData);d.delete(A);let u=[...e.clipboardData.types,...null!==(n=null==a?void 0:a.providerCopyMimeTypes)&&void 0!==n?n:[],h.v.uriList],c=this._languageFeaturesService.documentPasteEditProvider.ordered(o).filter(e=>{var t,i;let n=null===(t=this._pasteAsActionContext)||void 0===t?void 0:t.preferred;return(!n||!e.providedPasteEditKinds||!!this.providerMatchesPreference(e,n))&&(null===(i=e.pasteMimeTypes)||void 0===i?void 0:i.some(e=>(0,l.SN)(e,u)))});if(!c.length){(null===(s=this._pasteAsActionContext)||void 0===s?void 0:s.preferred)&&this.showPasteAsNoEditMessage(r,this._pasteAsActionContext.preferred);return}e.preventDefault(),e.stopImmediatePropagation(),this._pasteAsActionContext?this.showPasteAsPick(this._pasteAsActionContext.preferred,c,r,d,a):this.doPasteInline(c,r,d,a,e)}showPasteAsNoEditMessage(e,t){var i;null===(i=S.O.get(this._editor))||void 0===i||i.showMessage((0,L.NC)("pasteAsError","No paste edits for '{0}' found",t instanceof a.o?t.value:t.providerId),e[0].getStartPosition())}doPasteInline(e,t,i,n,s){let o=(0,r.PG)(async r=>{let l=this._editor;if(!l.hasModel())return;let a=l.getModel(),d=new w.Dl(l,3,void 0,r);try{if(await this.mergeInDataFromCopy(i,n,d.token),d.token.isCancellationRequested)return;let o=e.filter(e=>this.isSupportedPasteProvider(e,i));if(!o.length||1===o.length&&o[0]instanceof b.f8)return this.applyDefaultPasteHandler(i,n,d.token,s);let r={triggerKind:_.Nq.Automatic},h=await this.getPasteEdits(o,i,a,t,r,d.token);if(d.token.isCancellationRequested)return;if(1===h.length&&h[0].provider instanceof b.f8)return this.applyDefaultPasteHandler(i,n,d.token,s);if(h.length){let e="afterPaste"===l.getOption(85).showPasteSelector;return this._postPasteWidgetManager.applyEditAndShowIfNeeded(t,{activeEditIndex:0,allEdits:h},e,async(e,t)=>{var i,n;let s=await (null===(n=(i=e.provider).resolveDocumentPasteEdit)||void 0===n?void 0:n.call(i,e,t));return s&&(e.additionalEdit=s.additionalEdit),e},d.token)}await this.applyDefaultPasteHandler(i,n,d.token,s)}finally{d.dispose(),this._currentPasteOperation===o&&(this._currentPasteOperation=void 0)}});this._pasteProgressManager.showWhile(t[0].getEndPosition(),(0,L.NC)("pasteIntoEditorProgress","Running paste handlers. Click to cancel"),o),this._currentPasteOperation=o}showPasteAsPick(e,t,i,n,s){let o=(0,r.PG)(async r=>{let l=this._editor;if(!l.hasModel())return;let d=l.getModel(),h=new w.Dl(l,3,void 0,r);try{let o;if(await this.mergeInDataFromCopy(n,s,h.token),h.token.isCancellationRequested)return;let r=t.filter(t=>this.isSupportedPasteProvider(t,n,e));e&&(r=r.filter(t=>this.providerMatchesPreference(t,e)));let l={triggerKind:_.Nq.PasteAs,only:e&&e instanceof a.o?e:void 0},u=await this.getPasteEdits(r,n,d,i,l,h.token);if(h.token.isCancellationRequested)return;if(e&&(u=u.filter(t=>e instanceof a.o?e.contains(t.kind):e.providerId===t.provider.id)),!u.length){l.only&&this.showPasteAsNoEditMessage(i,l.only);return}if(e)o=u.at(0);else{let e=await this._quickInputService.pick(u.map(e=>{var t;return{label:e.title,description:null===(t=e.kind)||void 0===t?void 0:t.value,edit:e}}),{placeHolder:(0,L.NC)("pasteAsPickerPlaceholder","Select Paste Action")});o=null==e?void 0:e.edit}if(!o)return;let c=(0,C.n)(d.uri,i,o);await this._bulkEditService.apply(c,{editor:this._editor})}finally{h.dispose(),this._currentPasteOperation===o&&(this._currentPasteOperation=void 0)}});this._progressService.withProgress({location:10,title:(0,L.NC)("pasteAsProgress","Running paste handlers")},()=>o)}setCopyMetadata(e,t){e.setData(A,JSON.stringify(t))}fetchCopyMetadata(e){var t;if(!e.clipboardData)return;let i=e.clipboardData.getData(A);if(i)try{return JSON.parse(i)}catch(e){return}let[n,s]=g.b6.getTextData(e.clipboardData);if(s)return{defaultPastePayload:{mode:s.mode,multicursorText:null!==(t=s.multicursorText)&&void 0!==t?t:null,pasteOnNewLine:!!s.isFromEmptySelection}}}async mergeInDataFromCopy(e,t,i){var s;if((null==t?void 0:t.id)&&(null===(s=n._currentCopyOperation)||void 0===s?void 0:s.handle)===t.id){let t=await n._currentCopyOperation.dataTransferPromise;if(i.isCancellationRequested)return;for(let[i,n]of t)e.replace(i,n)}if(!e.has(h.v.uriList)){let t=await this._clipboardService.readResources();if(i.isCancellationRequested)return;t.length&&e.append(h.v.uriList,(0,l.ZO)(l.Z0.create(t)))}}async getPasteEdits(e,t,i,n,s,l){let a=await (0,r.eP)(Promise.all(e.map(async e=>{var o,r;try{let a=await (null===(o=e.provideDocumentPasteEdits)||void 0===o?void 0:o.call(e,i,n,t,s,l));return null===(r=null==a?void 0:a.edits)||void 0===r?void 0:r.map(t=>({...t,provider:e}))}catch(e){console.error(e)}})),l),d=(0,o.kX)(null!=a?a:[]).flat().filter(e=>!s.only||s.only.contains(e.kind));return(0,C.C)(d)}async applyDefaultPasteHandler(e,t,i,n){var s,o,r,l;let a=null!==(s=e.get(h.v.text))&&void 0!==s?s:e.get("text"),d=null!==(o=await (null==a?void 0:a.asString()))&&void 0!==o?o:"";if(i.isCancellationRequested)return;let u={clipboardEvent:n,text:d,pasteOnNewLine:null!==(r=null==t?void 0:t.defaultPastePayload.pasteOnNewLine)&&void 0!==r&&r,multicursorText:null!==(l=null==t?void 0:t.defaultPastePayload.multicursorText)&&void 0!==l?l:null,mode:null};this._editor.trigger("keyboard","paste",u)}isSupportedPasteProvider(e,t,i){var n;return null!==(n=e.pasteMimeTypes)&&void 0!==n&&!!n.some(e=>t.matches(e))&&(!i||this.providerMatchesPreference(e,i))}providerMatchesPreference(e,t){return t instanceof a.o?!e.providedPasteEditKinds||e.providedPasteEditKinds.some(e=>t.contains(e)):e.id===t.providerId}};P.ID="editor.contrib.copyPasteActionController",P=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([T(1,x.TG),T(2,m.vu),T(3,k.p),T(4,v.p),T(5,E.eJ),T(6,N.R9)],P)},19469:function(e,t,i){"use strict";i.d(t,{P4:function(){return S},f8:function(){return v},vJ:function(){return L}});var n=i(40789),s=i(88946),o=i(10396),r=i(70784),l=i(16735),a=i(72249),d=i(1271),h=i(5482),u=i(1863),c=i(64106),g=i(82801),p=i(23776),m=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},f=function(e,t){return function(i,n){t(i,n,e)}};class _{async provideDocumentPasteEdits(e,t,i,n,s){let o=await this.getEdit(i,s);if(o)return{dispose(){},edits:[{insertText:o.insertText,title:o.title,kind:o.kind,handledMimeType:o.handledMimeType,yieldTo:o.yieldTo}]}}async provideDocumentDropEdits(e,t,i,n){let s=await this.getEdit(i,n);return s?[{insertText:s.insertText,title:s.title,kind:s.kind,handledMimeType:s.handledMimeType,yieldTo:s.yieldTo}]:void 0}}class v extends _{constructor(){super(...arguments),this.kind=v.kind,this.dropMimeTypes=[l.v.text],this.pasteMimeTypes=[l.v.text]}async getEdit(e,t){let i=e.get(l.v.text);if(!i||e.has(l.v.uriList))return;let n=await i.asString();return{handledMimeType:l.v.text,title:(0,g.NC)("text.label","Insert Plain Text"),insertText:n,kind:this.kind}}}v.id="text",v.kind=new o.o("text.plain");class b extends _{constructor(){super(...arguments),this.kind=new o.o("uri.absolute"),this.dropMimeTypes=[l.v.uriList],this.pasteMimeTypes=[l.v.uriList]}async getEdit(e,t){let i;let n=await y(e);if(!n.length||t.isCancellationRequested)return;let s=0,o=n.map(({uri:e,originalText:t})=>e.scheme===a.lg.file?e.fsPath:(s++,t)).join(" ");return i=s>0?n.length>1?(0,g.NC)("defaultDropProvider.uriList.uris","Insert Uris"):(0,g.NC)("defaultDropProvider.uriList.uri","Insert Uri"):n.length>1?(0,g.NC)("defaultDropProvider.uriList.paths","Insert Paths"):(0,g.NC)("defaultDropProvider.uriList.path","Insert Path"),{handledMimeType:l.v.uriList,insertText:o,title:i,kind:this.kind}}}let C=class extends _{constructor(e){super(),this._workspaceContextService=e,this.kind=new o.o("uri.relative"),this.dropMimeTypes=[l.v.uriList],this.pasteMimeTypes=[l.v.uriList]}async getEdit(e,t){let i=await y(e);if(!i.length||t.isCancellationRequested)return;let s=(0,n.kX)(i.map(({uri:e})=>{let t=this._workspaceContextService.getWorkspaceFolder(e);return t?(0,d.lX)(t.uri,e):void 0}));if(s.length)return{handledMimeType:l.v.uriList,insertText:s.join(" "),title:i.length>1?(0,g.NC)("defaultDropProvider.uriList.relativePaths","Insert Relative Paths"):(0,g.NC)("defaultDropProvider.uriList.relativePath","Insert Relative Path"),kind:this.kind}}};C=m([f(0,p.ec)],C);class w{constructor(){this.kind=new o.o("html"),this.pasteMimeTypes=["text/html"],this._yieldTo=[{mimeType:l.v.text}]}async provideDocumentPasteEdits(e,t,i,n,s){var o;if(n.triggerKind!==u.Nq.PasteAs&&!(null===(o=n.only)||void 0===o?void 0:o.contains(this.kind)))return;let r=i.get("text/html"),l=await (null==r?void 0:r.asString());if(l&&!s.isCancellationRequested)return{dispose(){},edits:[{insertText:l,yieldTo:this._yieldTo,title:(0,g.NC)("pasteHtmlLabel","Insert HTML"),kind:this.kind}]}}}async function y(e){let t=e.get(l.v.uriList);if(!t)return[];let i=await t.asString(),n=[];for(let e of s.Z0.parse(i))try{n.push({uri:h.o.parse(e),originalText:e})}catch(e){}return n}let S=class extends r.JT{constructor(e,t){super(),this._register(e.documentDropEditProvider.register("*",new v)),this._register(e.documentDropEditProvider.register("*",new b)),this._register(e.documentDropEditProvider.register("*",new C(t)))}};S=m([f(0,c.p),f(1,p.ec)],S);let L=class extends r.JT{constructor(e,t){super(),this._register(e.documentPasteEditProvider.register("*",new v)),this._register(e.documentPasteEditProvider.register("*",new b)),this._register(e.documentPasteEditProvider.register("*",new C(t))),this._register(e.documentPasteEditProvider.register("*",new w))}};L=m([f(0,c.p),f(1,p.ec)],L)},50931:function(e,t,i){"use strict";var n,s=i(82508),o=i(1990),r=i(88964),l=i(19469),a=i(82801),d=i(73004),h=i(34089),u=i(40789),c=i(44532),g=i(88946),p=i(10396),m=i(70784),f=i(70312),_=i(70209),v=i(64106);class b{constructor(e){this.identifier=e}}var C=i(66653),w=i(85327);let y=(0,w.yh)("treeViewsDndService");(0,C.z)(y,class{constructor(){this._dragOperations=new Map}removeDragOperationTransfer(e){if(e&&this._dragOperations.has(e)){let t=this._dragOperations.get(e);return this._dragOperations.delete(e),t}}},1);var S=i(71141),L=i(25061),k=i(78426),D=i(33336),x=i(72944),N=i(46118),E=i(57731),I=function(e,t){return function(i,n){t(i,n,e)}};let T="editor.experimental.dropIntoEditor.defaultProvider",M="editor.changeDropType",R=new D.uy("dropWidgetVisible",!1,(0,a.NC)("dropWidgetVisible","Whether the drop widget is showing")),A=n=class extends m.JT{static get(e){return e.getContribution(n.ID)}constructor(e,t,i,n,s){super(),this._configService=i,this._languageFeaturesService=n,this._treeViewsDragAndDropService=s,this.treeItemsTransfer=x.Ej.getInstance(),this._dropProgressManager=this._register(t.createInstance(L.r,"dropIntoEditor",e)),this._postDropWidgetManager=this._register(t.createInstance(E.p,"dropIntoEditor",e,R,{id:M,label:(0,a.NC)("postDropWidgetTitle","Show drop options...")})),this._register(e.onDropIntoEditor(t=>this.onDropIntoEditor(e,t.position,t.event)))}clearWidgets(){this._postDropWidgetManager.clear()}changeDropType(){this._postDropWidgetManager.tryShowSelector()}async onDropIntoEditor(e,t,i){var n;if(!i.dataTransfer||!e.hasModel())return;null===(n=this._currentOperation)||void 0===n||n.cancel(),e.focus(),e.setPosition(t);let s=(0,c.PG)(async n=>{let o=new S.Dl(e,1,void 0,n);try{let s=await this.extractDataTransferData(i);if(0===s.size||o.token.isCancellationRequested)return;let r=e.getModel();if(!r)return;let l=this._languageFeaturesService.documentDropEditProvider.ordered(r).filter(e=>!e.dropMimeTypes||e.dropMimeTypes.some(e=>s.matches(e))),a=await this.getDropEdits(l,r,t,s,o);if(o.token.isCancellationRequested)return;if(a.length){let i=this.getInitialActiveEditIndex(r,a),s="afterDrop"===e.getOption(36).showDropSelector;await this._postDropWidgetManager.applyEditAndShowIfNeeded([_.e.fromPositions(t)],{activeEditIndex:i,allEdits:a},s,async e=>e,n)}}finally{o.dispose(),this._currentOperation===s&&(this._currentOperation=void 0)}});this._dropProgressManager.showWhile(t,(0,a.NC)("dropIntoEditorProgress","Running drop handlers. Click to cancel"),s),this._currentOperation=s}async getDropEdits(e,t,i,n,s){let o=await (0,c.eP)(Promise.all(e.map(async e=>{try{let o=await e.provideDocumentDropEdits(t,i,n,s.token);return null==o?void 0:o.map(t=>({...t,providerId:e.id}))}catch(e){console.error(e)}})),s.token),r=(0,u.kX)(null!=o?o:[]).flat();return(0,N.C)(r)}getInitialActiveEditIndex(e,t){let i=this._configService.getValue(T,{resource:e.uri});for(let[e,n]of Object.entries(i)){let i=new p.o(n),s=t.findIndex(t=>i.value===t.providerId&&t.handledMimeType&&(0,g.SN)(e,[t.handledMimeType]));if(s>=0)return s}return 0}async extractDataTransferData(e){if(!e.dataTransfer)return new g.Hl;let t=(0,f.L)(e.dataTransfer);if(this.treeItemsTransfer.hasData(b.prototype)){let e=this.treeItemsTransfer.getData(b.prototype);if(Array.isArray(e))for(let i of e){let e=await this._treeViewsDragAndDropService.removeDragOperationTransfer(i.identifier);if(e)for(let[i,n]of e)t.replace(i,n)}}return t}};A.ID="editor.contrib.dropIntoEditorController",A=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([I(1,w.TG),I(2,k.Ui),I(3,v.p),I(4,y)],A),(0,s._K)(A.ID,A,2),(0,r.y)(l.P4),(0,s.fK)(new class extends s._l{constructor(){super({id:M,precondition:R,kbOpts:{weight:100,primary:2137}})}runEditorCommand(e,t,i){var n;null===(n=A.get(t))||void 0===n||n.changeDropType()}}),(0,s.fK)(new class extends s._l{constructor(){super({id:"editor.hideDropWidget",precondition:R,kbOpts:{weight:100,primary:9}})}runEditorCommand(e,t,i){var n;null===(n=A.get(t))||void 0===n||n.clearWidgets()}}),h.B.as(d.IP.Configuration).registerConfiguration({...o.wk,properties:{[T]:{type:"object",scope:5,description:a.NC("defaultProviderDescription","Configures the default drop provider to use for content of a given mime type."),default:{},additionalProperties:{type:"string"}}}})},46118:function(e,t,i){"use strict";i.d(t,{C:function(){return r},n:function(){return o}});var n=i(88338),s=i(26956);function o(e,t,i){var o,r,l,a;return("string"==typeof i.insertText?""===i.insertText:""===i.insertText.snippet)?{edits:null!==(r=null===(o=i.additionalEdit)||void 0===o?void 0:o.edits)&&void 0!==r?r:[]}:{edits:[...t.map(t=>new n.Gl(e,{range:t,text:"string"==typeof i.insertText?s.Yj.escape(i.insertText)+"$0":i.insertText.snippet,insertAsSnippet:!0})),...null!==(a=null===(l=i.additionalEdit)||void 0===l?void 0:l.edits)&&void 0!==a?a:[]]}}function r(e){var t;let i=new Map;for(let n of e)for(let s of null!==(t=n.yieldTo)&&void 0!==t?t:[])for(let t of e)if(t!==n&&("mimeType"in s?s.mimeType===t.handledMimeType:!!t.kind&&s.kind.contains(t.kind))){let e=i.get(n);e||(e=[],i.set(n,e)),e.push(t)}if(!i.size)return Array.from(e);let n=new Set,s=[];return function e(t){if(!t.length)return[];let o=t[0];if(s.includes(o))return console.warn("Yield to cycle detected",o),t;if(n.has(o))return e(t.slice(1));let r=[],l=i.get(o);return l&&(s.push(o),r=e(l),s.pop()),n.add(o),[...r,o,...e(t.slice(1))]}(Array.from(e))}},57731:function(e,t,i){"use strict";i.d(t,{p:function(){return y}});var n,s=i(81845),o=i(10652),r=i(76886),l=i(24809),a=i(32378),d=i(79915),h=i(70784);i(15968);var u=i(88338),c=i(46118),g=i(82801),p=i(33336),m=i(10727),f=i(85327),_=i(46417),v=i(16575),b=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},C=function(e,t){return function(i,n){t(i,n,e)}};let w=n=class extends h.JT{constructor(e,t,i,n,s,o,r,l,a,u){super(),this.typeId=e,this.editor=t,this.showCommand=n,this.range=s,this.edits=o,this.onSelectNewEdit=r,this._contextMenuService=l,this._keybindingService=u,this.allowEditorOverflow=!0,this.suppressMouseDown=!0,this.create(),this.visibleContext=i.bindTo(a),this.visibleContext.set(!0),this._register((0,h.OF)(()=>this.visibleContext.reset())),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this),this._register((0,h.OF)(()=>this.editor.removeContentWidget(this))),this._register(this.editor.onDidChangeCursorPosition(e=>{s.containsPosition(e.position)||this.dispose()})),this._register(d.ju.runAndSubscribe(u.onDidUpdateKeybindings,()=>{this._updateButtonTitle()}))}_updateButtonTitle(){var e;let t=null===(e=this._keybindingService.lookupKeybinding(this.showCommand.id))||void 0===e?void 0:e.getLabel();this.button.element.title=this.showCommand.label+(t?` (${t})`:"")}create(){this.domNode=s.$(".post-edit-widget"),this.button=this._register(new o.z(this.domNode,{supportIcons:!0})),this.button.label="$(insert)",this._register(s.nm(this.domNode,s.tw.CLICK,()=>this.showSelector()))}getId(){return n.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:this.range.getEndPosition(),preference:[2]}}showSelector(){this._contextMenuService.showContextMenu({getAnchor:()=>{let e=s.i(this.button.element);return{x:e.left+e.width,y:e.top+e.height}},getActions:()=>this.edits.allEdits.map((e,t)=>(0,r.xw)({id:"",label:e.title,checked:t===this.edits.activeEditIndex,run:()=>{if(t!==this.edits.activeEditIndex)return this.onSelectNewEdit(t)}}))})}};w.baseId="editor.widget.postEditWidget",w=n=b([C(7,m.i),C(8,p.i6),C(9,_.d)],w);let y=class extends h.JT{constructor(e,t,i,n,s,o,r){super(),this._id=e,this._editor=t,this._visibleContext=i,this._showCommand=n,this._instantiationService=s,this._bulkEditService=o,this._notificationService=r,this._currentWidget=this._register(new h.XK),this._register(d.ju.any(t.onDidChangeModel,t.onDidChangeModelContent)(()=>this.clear()))}async applyEditAndShowIfNeeded(e,t,i,n,s){let o,r,d;let h=this._editor.getModel();if(!h||!e.length)return;let u=t.allEdits.at(t.activeEditIndex);if(!u)return;let p=async o=>{let r=this._editor.getModel();r&&(await r.undo(),this.applyEditAndShowIfNeeded(e,{activeEditIndex:o,allEdits:t.allEdits},i,n,s))},m=(n,s)=>{!(0,a.n2)(n)&&(this._notificationService.error(s),i&&this.show(e[0],t,p))};try{o=await n(u,s)}catch(e){return m(e,(0,g.NC)("resolveError","Error resolving edit '{0}':\n{1}",u.title,(0,l.y)(e)))}if(s.isCancellationRequested)return;let f=(0,c.n)(h.uri,e,o),_=e[0],v=h.deltaDecorations([],[{range:_,options:{description:"paste-line-suffix",stickiness:0}}]);this._editor.focus();try{r=await this._bulkEditService.apply(f,{editor:this._editor,token:s}),d=h.getDecorationRange(v[0])}catch(e){return m(e,(0,g.NC)("applyError","Error applying edit '{0}':\n{1}",u.title,(0,l.y)(e)))}finally{h.deltaDecorations(v,[])}!s.isCancellationRequested&&i&&r.isApplied&&t.allEdits.length>1&&this.show(null!=d?d:_,t,p)}show(e,t,i){this.clear(),this._editor.hasModel()&&(this._currentWidget.value=this._instantiationService.createInstance(w,this._id,this._editor,this._visibleContext,this._showCommand,e,t,i))}clear(){this._currentWidget.clear()}tryShowSelector(){var e;null===(e=this._currentWidget.value)||void 0===e||e.showSelector()}};y=b([C(4,f.TG),C(5,u.vu),C(6,v.lT)],y)},71141:function(e,t,i){"use strict";i.d(t,{yy:function(){return f},Dl:function(){return _},YQ:function(){return v}});var n=i(95612),s=i(70209),o=i(9424),r=i(70784),l=i(82508),a=i(33336),d=i(92270),h=i(85327),u=i(66653),c=i(82801);let g=(0,h.yh)("IEditorCancelService"),p=new a.uy("cancellableOperation",!1,(0,c.NC)("cancellableOperation","Whether the editor runs a cancellable operation, e.g. like 'Peek References'"));(0,u.z)(g,class{constructor(){this._tokens=new WeakMap}add(e,t){let i,n=this._tokens.get(e);return n||(n=e.invokeWithinContext(e=>{let t=p.bindTo(e.get(a.i6)),i=new d.S;return{key:t,tokens:i}}),this._tokens.set(e,n)),n.key.set(!0),i=n.tokens.push(t),()=>{i&&(i(),n.key.set(!n.tokens.isEmpty()),i=void 0)}}cancel(e){let t=this._tokens.get(e);if(!t)return;let i=t.tokens.pop();i&&(i.cancel(),t.key.set(!t.tokens.isEmpty()))}},1);class m extends o.AU{constructor(e,t){super(t),this.editor=e,this._unregister=e.invokeWithinContext(t=>t.get(g).add(e,this))}dispose(){this._unregister(),super.dispose()}}(0,l.fK)(new class extends l._l{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:p})}runEditorCommand(e,t){e.get(g).cancel(t)}});class f{constructor(e,t){if(this.flags=t,(1&this.flags)!=0){let t=e.getModel();this.modelVersionId=t?n.WU("{0}#{1}",t.uri.toString(),t.getVersionId()):null}else this.modelVersionId=null;(4&this.flags)!=0?this.position=e.getPosition():this.position=null,(2&this.flags)!=0?this.selection=e.getSelection():this.selection=null,(8&this.flags)!=0?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(e){return e instanceof f&&this.modelVersionId===e.modelVersionId&&this.scrollLeft===e.scrollLeft&&this.scrollTop===e.scrollTop&&(!!this.position||!e.position)&&(!this.position||!!e.position)&&(!this.position||!e.position||!!this.position.equals(e.position))&&(!!this.selection||!e.selection)&&(!this.selection||!!e.selection)&&(!this.selection||!e.selection||!!this.selection.equalsRange(e.selection))}validate(e){return this._equals(new f(e,this.flags))}}class _ extends m{constructor(e,t,i,n){super(e,n),this._listener=new r.SL,4&t&&this._listener.add(e.onDidChangeCursorPosition(e=>{i&&s.e.containsPosition(i,e.position)||this.cancel()})),2&t&&this._listener.add(e.onDidChangeCursorSelection(e=>{i&&s.e.containsRange(i,e.selection)||this.cancel()})),8&t&&this._listener.add(e.onDidScrollChange(e=>this.cancel())),1&t&&(this._listener.add(e.onDidChangeModel(e=>this.cancel())),this._listener.add(e.onDidChangeModelContent(e=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}class v extends o.AU{constructor(e,t){super(t),this._listener=e.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}},13564:function(e,t,i){"use strict";i.d(t,{pR:function(){return eZ}});var n,s=i(44532),o=i(70784),r=i(95612),l=i(82508),a=i(34109),d=i(73440),h=i(41407),u=i(70365),c=i(77786),g=i(86570),p=i(70209),m=i(84781),f=i(5639),_=i(66629),v=i(43616),b=i(55150);class C{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.removeDecorations(this._allDecorations()),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){let e=this._findScopeDecorationIds.map(e=>this._editor.getModel().getDecorationRange(e)).filter(e=>!!e);if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){let t=this._decorations.indexOf(e);return t>=0?t+1:1}getDecorationRangeAt(e){let t=e{if(null!==this._highlightedDecorationId&&(e.changeDecorationOptions(this._highlightedDecorationId,C._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),null!==t&&(this._highlightedDecorationId=t,e.changeDecorationOptions(this._highlightedDecorationId,C._CURRENT_FIND_MATCH_DECORATION)),null!==this._rangeHighlightDecorationId&&(e.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),null!==t){let i=this._editor.getModel().getDecorationRange(t);if(i.startLineNumber!==i.endLineNumber&&1===i.endColumn){let e=i.endLineNumber-1,t=this._editor.getModel().getLineMaxColumn(e);i=new p.e(i.startLineNumber,i.startColumn,e,t)}this._rangeHighlightDecorationId=e.addDecoration(i,C._RANGE_HIGHLIGHT_DECORATION)}}),i}set(e,t){this._editor.changeDecorations(i=>{let n=C._FIND_MATCH_DECORATION,s=[];if(e.length>1e3){n=C._FIND_MATCH_NO_OVERVIEW_DECORATION;let t=this._editor.getModel().getLineCount(),i=this._editor.getLayoutInfo().height,o=Math.max(2,Math.ceil(3/(i/t))),r=e[0].range.startLineNumber,l=e[0].range.endLineNumber;for(let t=1,i=e.length;t=i.startLineNumber?i.endLineNumber>l&&(l=i.endLineNumber):(s.push({range:new p.e(r,1,l,1),options:C._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),r=i.startLineNumber,l=i.endLineNumber)}s.push({range:new p.e(r,1,l,1),options:C._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}let o=Array(e.length);for(let t=0,i=e.length;ti.removeDecoration(e)),this._findScopeDecorationIds=[]),(null==t?void 0:t.length)&&(this._findScopeDecorationIds=t.map(e=>i.addDecoration(e,C._FIND_SCOPE_DECORATION)))})}matchBeforePosition(e){if(0===this._decorations.length)return null;for(let t=this._decorations.length-1;t>=0;t--){let i=this._decorations[t],n=this._editor.getModel().getDecorationRange(i);if(n&&!(n.endLineNumber>e.lineNumber)&&(n.endLineNumbere.column)))return n}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(0===this._decorations.length)return null;for(let t=0,i=this._decorations.length;te.lineNumber||!(n.startColumn0){let e=[];for(let t=0;tp.e.compareRangesUsingStarts(e.range,t.range));let i=[],n=e[0];for(let t=1;t0?t[0].toUpperCase()+t.substr(1):e[0][0].toUpperCase()!==e[0][0]&&t.length>0?t[0].toLowerCase()+t.substr(1):t}}function S(e,t,i){let n=-1!==e[0].indexOf(i)&&-1!==t.indexOf(i);return n&&e[0].split(i).length===t.split(i).length}function L(e,t,i){let n=t.split(i),s=e[0].split(i),o="";return n.forEach((e,t)=>{o+=y([s[t]],e)+i}),o.slice(0,-1)}class k{constructor(e){this.staticValue=e,this.kind=0}}class D{constructor(e){this.pieces=e,this.kind=1}}class x{static fromStaticValue(e){return new x([N.staticValue(e)])}get hasReplacementPatterns(){return 1===this._state.kind}constructor(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new k(e[0].staticValue):this._state=new D(e):this._state=new k("")}buildReplaceString(e,t){if(0===this._state.kind)return t?y(e,this._state.staticValue):this._state.staticValue;let i="";for(let t=0,n=this._state.pieces.length;t0){let e=[],t=n.caseOps.length,i=0;for(let o=0,r=s.length;o=t){e.push(s.slice(o));break}switch(n.caseOps[i]){case"U":e.push(s[o].toUpperCase());break;case"u":e.push(s[o].toUpperCase()),i++;break;case"L":e.push(s[o].toLowerCase());break;case"l":e.push(s[o].toLowerCase()),i++;break;default:e.push(s[o])}}s=e.join("")}i+=s}return i}static _substitute(e,t){if(null===t)return"";if(0===e)return t[0];let i="";for(;e>0;){if(ethis.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(e=>{(3===e.reason||5===e.reason||6===e.reason)&&this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(e=>{this._ignoreModelContentChanged||(e.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,(0,o.B9)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(e){if(!this._isDisposed&&this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)){let t=this._editor.getModel();t.isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)},240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}}static _getSearchRange(e,t){return t||e.getFullModelRange()}research(e,t){let i=null;void 0!==t?null!==t&&(i=Array.isArray(t)?t:[t]):i=this._decorations.getFindScopes(),null!==i&&(i=i.map(e=>{if(e.startLineNumber!==e.endLineNumber){let t=e.endLineNumber;return 1===e.endColumn&&(t-=1),new p.e(e.startLineNumber,1,t,this._editor.getModel().getLineMaxColumn(t))}return e}));let n=this._findMatches(i,!1,19999);this._decorations.set(n,i);let s=this._editor.getSelection(),o=this._decorations.getCurrentMatchesPosition(s);if(0===o&&n.length>0){let e=(0,u.J_)(n.map(e=>e.range),e=>p.e.compareRangesUsingStarts(e,s)>=0);o=e>0?e-1+1:o}this._state.changeMatchInfo(o,this._decorations.getCount(),void 0),e&&this._editor.getOption(41).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){let e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1}_setCurrentFindMatch(e){let t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)}_prevSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:i,column:n}=e,s=this._editor.getModel();return t||1===n?(1===i?i=s.getLineCount():i--,n=s.getLineMaxColumn(i)):n--,new g.L(i,n)}_moveToPrevMatch(e,t=!1){if(!this._state.canNavigateBack()){let t=this._decorations.matchAfterPosition(e);t&&this._setCurrentFindMatch(t);return}if(19999>this._decorations.getCount()){let t=this._decorations.matchBeforePosition(e);t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._prevSearchPosition(e),t=this._decorations.matchBeforePosition(e)),t&&this._setCurrentFindMatch(t);return}if(this._cannotFind())return;let i=this._decorations.getFindScope(),n=H._getSearchRange(this._editor.getModel(),i);n.getEndPosition().isBefore(e)&&(e=n.getEndPosition()),e.isBefore(n.getStartPosition())&&(e=n.getEndPosition());let{lineNumber:s,column:o}=e,r=this._editor.getModel(),l=new g.L(s,o),a=r.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,!1);if(a&&a.range.isEmpty()&&a.range.getStartPosition().equals(l)&&(l=this._prevSearchPosition(l),a=r.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,!1)),a){if(!t&&!n.containsRange(a.range))return this._moveToPrevMatch(a.range.getStartPosition(),!0);this._setCurrentFindMatch(a.range)}}moveToPrevMatch(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())}_nextSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:i,column:n}=e,s=this._editor.getModel();return t||n===s.getLineMaxColumn(i)?(i===s.getLineCount()?i=1:i++,n=1):n++,new g.L(i,n)}_moveToNextMatch(e){if(!this._state.canNavigateForward()){let t=this._decorations.matchBeforePosition(e);t&&this._setCurrentFindMatch(t);return}if(19999>this._decorations.getCount()){let t=this._decorations.matchAfterPosition(e);t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),t&&this._setCurrentFindMatch(t);return}let t=this._getNextMatch(e,!1,!0);t&&this._setCurrentFindMatch(t.range)}_getNextMatch(e,t,i,n=!1){if(this._cannotFind())return null;let s=this._decorations.getFindScope(),o=H._getSearchRange(this._editor.getModel(),s);o.getEndPosition().isBefore(e)&&(e=o.getStartPosition()),e.isBefore(o.getStartPosition())&&(e=o.getStartPosition());let{lineNumber:r,column:l}=e,a=this._editor.getModel(),d=new g.L(r,l),h=a.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t);return(i&&h&&h.range.isEmpty()&&h.range.getStartPosition().equals(d)&&(d=this._nextSearchPosition(d),h=a.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t)),h)?n||o.containsRange(h.range)?h:this._getNextMatch(h.range.getEndPosition(),t,i,!0):null}moveToNextMatch(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())}_moveToMatch(e){let t=this._decorations.getDecorationRangeAt(e);t&&this._setCurrentFindMatch(t)}moveToMatch(e){this._moveToMatch(e)}_getReplacePattern(){return this._state.isRegex?function(e){if(!e||0===e.length)return new x(null);let t=[],i=new E(e);for(let n=0,s=e.length;n=s)break;let o=e.charCodeAt(n);switch(o){case 92:i.emitUnchanged(n-1),i.emitStatic("\\",n+1);break;case 110:i.emitUnchanged(n-1),i.emitStatic("\n",n+1);break;case 116:i.emitUnchanged(n-1),i.emitStatic(" ",n+1);break;case 117:case 85:case 108:case 76:i.emitUnchanged(n-1),i.emitStatic("",n+1),t.push(String.fromCharCode(o))}continue}if(36===o){if(++n>=s)break;let o=e.charCodeAt(n);if(36===o){i.emitUnchanged(n-1),i.emitStatic("$",n+1);continue}if(48===o||38===o){i.emitUnchanged(n-1),i.emitMatchIndex(0,n+1,t),t.length=0;continue}if(49<=o&&o<=57){let r=o-48;if(n+1H._getSearchRange(this._editor.getModel(),e));return this._editor.getModel().findMatches(this._state.searchString,n,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t,i)}replaceAll(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes();null===e&&this._state.matchesCount>=19999?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}_largeReplaceAll(){let e;let t=new f.bc(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null),i=t.parseSearchRequest();if(!i)return;let n=i.regex;if(!n.multiline){let e="mu";n.ignoreCase&&(e+="i"),n.global&&(e+="g"),n=new RegExp(n.source,e)}let s=this._editor.getModel(),o=s.getValue(1),r=s.getFullModelRange(),l=this._getReplacePattern(),a=this._state.preserveCase;e=l.hasReplacementPatterns||a?o.replace(n,function(){return l.buildReplaceString(arguments,a)}):o.replace(n,l.buildReplaceString(null,a));let d=new c.hP(r,e,this._editor.getSelection());this._executeEditorCommand("replaceAll",d)}_regularReplaceAll(e){let t=this._getReplacePattern(),i=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),n=[];for(let e=0,s=i.length;ee.range),n);this._executeEditorCommand("replaceAll",s)}selectAllMatches(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes(),t=this._findMatches(e,!1,1073741824),i=t.map(e=>new m.Y(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)),n=this._editor.getSelection();for(let e=0,t=i.length;ethis._hide(),2e3)),this._isVisible=!1,this._editor=e,this._state=t,this._keybindingService=i,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.style.zIndex="12",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");let n={inputActiveOptionBorder:(0,v.n_1)(v.PRb),inputActiveOptionForeground:(0,v.n_1)(v.Pvw),inputActiveOptionBackground:(0,v.n_1)(v.XEs)},o=this._register((0,U.p0)());this.caseSensitive=this._register(new z.rk({appendTitle:this._keybindingLabelFor(W.ToggleCaseSensitiveCommand),isChecked:this._state.matchCase,hoverDelegate:o,...n})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new z.Qx({appendTitle:this._keybindingLabelFor(W.ToggleWholeWordCommand),isChecked:this._state.wholeWord,hoverDelegate:o,...n})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new z.eH({appendTitle:this._keybindingLabelFor(W.ToggleRegexCommand),isChecked:this._state.isRegex,hoverDelegate:o,...n})),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(e=>{let t=!1;e.isRegex&&(this.regex.checked=this._state.isRegex,t=!0),e.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,t=!0),e.matchCase&&(this.caseSensitive.checked=this._state.matchCase,t=!0),!this._state.isRevealed&&t&&this._revealTemporarily()})),this._register(V.nm(this._domNode,V.tw.MOUSE_LEAVE,e=>this._onMouseLeave())),this._register(V.nm(this._domNode,"mouseover",e=>this._onMouseOver()))}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return $.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseLeave(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}}$.ID="editor.contrib.findOptionsWidget";var q=i(79915);function j(e,t){return 1===e||2!==e&&t}class G extends o.JT{get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return j(this._isRegexOverride,this._isRegex)}get wholeWord(){return j(this._wholeWordOverride,this._wholeWord)}get matchCase(){return j(this._matchCaseOverride,this._matchCase)}get preserveCase(){return j(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}constructor(){super(),this._onFindReplaceStateChange=this._register(new q.Q5),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0,this._isSearching=!1,this._filters=null}changeMatchInfo(e,t,i){let n={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1},s=!1;0===t&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,n.matchesPosition=!0,s=!0),this._matchesCount!==t&&(this._matchesCount=t,n.matchesCount=!0,s=!0),void 0===i||p.e.equalsRange(this._currentMatch,i)||(this._currentMatch=i,n.currentMatch=!0,s=!0),s&&this._onFindReplaceStateChange.fire(n)}change(e,t,i=!0){var n;let s={moveCursor:t,updateHistory:i,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1},o=!1,r=this.isRegex,l=this.wholeWord,a=this.matchCase,d=this.preserveCase;void 0!==e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,s.searchString=!0,o=!0),void 0!==e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,s.replaceString=!0,o=!0),void 0!==e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,s.isRevealed=!0,o=!0),void 0!==e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,s.isReplaceRevealed=!0,o=!0),void 0!==e.isRegex&&(this._isRegex=e.isRegex),void 0!==e.wholeWord&&(this._wholeWord=e.wholeWord),void 0!==e.matchCase&&(this._matchCase=e.matchCase),void 0!==e.preserveCase&&(this._preserveCase=e.preserveCase),void 0===e.searchScope||(null===(n=e.searchScope)||void 0===n?void 0:n.every(e=>{var t;return null===(t=this._searchScope)||void 0===t?void 0:t.some(t=>!p.e.equalsRange(t,e))}))||(this._searchScope=e.searchScope,s.searchScope=!0,o=!0),void 0!==e.loop&&this._loop!==e.loop&&(this._loop=e.loop,s.loop=!0,o=!0),void 0!==e.isSearching&&this._isSearching!==e.isSearching&&(this._isSearching=e.isSearching,s.isSearching=!0,o=!0),void 0!==e.filters&&(this._filters?this._filters.update(e.filters):this._filters=e.filters,s.filters=!0,o=!0),this._isRegexOverride=void 0!==e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride=void 0!==e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride=void 0!==e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride=void 0!==e.preserveCaseOverride?e.preserveCaseOverride:0,r!==this.isRegex&&(o=!0,s.isRegex=!0),l!==this.wholeWord&&(o=!0,s.wholeWord=!0),a!==this.matchCase&&(o=!0,s.matchCase=!0),d!==this.preserveCase&&(o=!0,s.preserveCase=!0),o&&this._onFindReplaceStateChange.fire(s)}canNavigateBack(){return this.canNavigateInLoop()||1!==this.matchesPosition}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition=19999}}var Q=i(16506),Z=i(74571),Y=i(56274),J=i(47039),X=i(32378),ee=i(58022);i(22817);var et=i(82801),ei=i(404);function en(e){var t,i;return(null===(t=e.lookupKeybinding("history.showPrevious"))||void 0===t?void 0:t.getElectronAccelerator())==="Up"&&(null===(i=e.lookupKeybinding("history.showNext"))||void 0===i?void 0:i.getElectronAccelerator())==="Down"}var es=i(79939),eo=i(29527),er=i(42042),el=i(24162),ea=i(72485);let ed=(0,es.q5)("find-collapsed",J.l.chevronRight,et.NC("findCollapsedIcon","Icon to indicate that the editor find widget is collapsed.")),eh=(0,es.q5)("find-expanded",J.l.chevronDown,et.NC("findExpandedIcon","Icon to indicate that the editor find widget is expanded.")),eu=(0,es.q5)("find-selection",J.l.selection,et.NC("findSelectionIcon","Icon for 'Find in Selection' in the editor find widget.")),ec=(0,es.q5)("find-replace",J.l.replace,et.NC("findReplaceIcon","Icon for 'Replace' in the editor find widget.")),eg=(0,es.q5)("find-replace-all",J.l.replaceAll,et.NC("findReplaceAllIcon","Icon for 'Replace All' in the editor find widget.")),ep=(0,es.q5)("find-previous-match",J.l.arrowUp,et.NC("findPreviousMatchIcon","Icon for 'Find Previous' in the editor find widget.")),em=(0,es.q5)("find-next-match",J.l.arrowDown,et.NC("findNextMatchIcon","Icon for 'Find Next' in the editor find widget.")),ef=et.NC("label.findDialog","Find / Replace"),e_=et.NC("label.find","Find"),ev=et.NC("placeholder.find","Find"),eb=et.NC("label.previousMatchButton","Previous Match"),eC=et.NC("label.nextMatchButton","Next Match"),ew=et.NC("label.toggleSelectionFind","Find in Selection"),ey=et.NC("label.closeButton","Close"),eS=et.NC("label.replace","Replace"),eL=et.NC("placeholder.replace","Replace"),ek=et.NC("label.replaceButton","Replace"),eD=et.NC("label.replaceAllButton","Replace All"),ex=et.NC("label.toggleReplaceButton","Toggle Replace"),eN=et.NC("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",19999),eE=et.NC("label.matchesLocation","{0} of {1}"),eI=et.NC("label.noResults","No results"),eT=69,eM="ctrlEnterReplaceAll.windows.donotask",eR=ee.dz?256:2048;class eA{constructor(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}function eP(e,t,i){let n=!!t.match(/\n/);if(i&&n&&i.selectionStart>0){e.stopPropagation();return}}function eO(e,t,i){let n=!!t.match(/\n/);if(i&&n&&i.selectionEndthis._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(e=>{if(e.hasChanged(91)&&(this._codeEditor.getOption(91)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),e.hasChanged(145)&&this._tryUpdateWidgetWidth(),e.hasChanged(2)&&this.updateAccessibilitySupport(),e.hasChanged(41)){let e=this._codeEditor.getOption(41).loop;this._state.change({loop:e},!1);let t=this._codeEditor.getOption(41).addExtraSpaceOnTop;t&&!this._viewZone&&(this._viewZone=new eA(0),this._showViewZone()),!t&&this._viewZone&&this._removeViewZone()}})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(async()=>{if(this._isVisible){let e=await this._controller.getGlobalBufferTerm();e&&e!==this._state.searchString&&(this._state.change({searchString:e},!1),this._findInput.select())}})),this._findInputFocused=M.bindTo(l),this._findFocusTracker=this._register(V.go(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=R.bindTo(l),this._replaceFocusTracker=this._register(V.go(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(41).addExtraSpaceOnTop&&(this._viewZone=new eA(0)),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(e=>{if(e.scrollTopChanged){this._layoutViewZone();return}setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return eF.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(91)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=V.w(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.preserveCase&&this._replaceInput.setPreserveCase(this._state.preserveCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){let e=this._state.searchString.length>0&&0===this._state.matchesCount;this._domNode.classList.toggle("no-results",e),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory(),e.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this)).then(void 0,X.dL)}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){let e;if(this._matchesCount.style.minWidth=eT+"px",this._state.matchesCount>=19999?this._matchesCount.title=eN:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){let t=String(this._state.matchesCount);this._state.matchesCount>=19999&&(t+="+");let i=String(this._state.matchesPosition);"0"===i&&(i="?"),e=r.WU(eE,i,t)}else e=eI;this._matchesCount.appendChild(document.createTextNode(e)),(0,Q.Z9)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString)),eT=Math.max(eT,this._matchesCount.clientWidth)}_getAriaLabel(e,t,i){if(e===eI)return""===i?et.NC("ariaSearchNoResultEmpty","{0} found",e):et.NC("ariaSearchNoResult","{0} found for '{1}'",e,i);if(t){let n=et.NC("ariaSearchNoResultWithLineNum","{0} found for '{1}', at {2}",e,i,t.startLineNumber+":"+t.startColumn),s=this._codeEditor.getModel();if(s&&t.startLineNumber<=s.getLineCount()&&t.startLineNumber>=1){let e=s.getLineContent(t.startLineNumber);return`${e}, ${n}`}return n}return et.NC("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for '{1}'",e,i)}_updateToggleSelectionFindButton(){let e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),i=this._toggleSelectionFind.checked;this._isVisible&&(i||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);let e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._domNode.classList.toggle("replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);let i=!this._codeEditor.getOption(91);this._toggleReplaceBtn.setEnabled(this._isVisible&&i)}_reveal(){if(this._revealTimeouts.forEach(e=>{clearTimeout(e)}),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;let e=this._codeEditor.getSelection();switch(this._codeEditor.getOption(41).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":{let t=!!e&&e.startLineNumber!==e.endLineNumber;this._toggleSelectionFind.checked=t}}this._tryUpdateWidgetWidth(),this._updateButtons(),this._revealTimeouts.push(setTimeout(()=>{this._domNode.classList.add("visible"),this._domNode.setAttribute("aria-hidden","false")},0)),this._revealTimeouts.push(setTimeout(()=>{this._findInput.validate()},200)),this._codeEditor.layoutOverlayWidget(this);let t=!0;if(this._codeEditor.getOption(41).seedSearchStringFromSelection&&e){let i=this._codeEditor.getDomNode();if(i){let n=V.i(i),s=this._codeEditor.getScrolledVisiblePosition(e.getStartPosition()),o=n.left+(s?s.left:0),r=s?s.top:0;if(this._viewZone&&re.startLineNumber&&(t=!1);let i=V.xQ(this._domNode).left;o>i&&(t=!1);let s=this._codeEditor.getScrolledVisiblePosition(e.getEndPosition()),r=n.left+(s?s.left:0);r>i&&(t=!1)}}}this._showViewZone(t)}}_hide(e){this._revealTimeouts.forEach(e=>{clearTimeout(e)}),this._revealTimeouts=[],this._isVisible&&(this._isVisible=!1,this._updateButtons(),this._domNode.classList.remove("visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(e){let t=this._codeEditor.getOption(41).addExtraSpaceOnTop;if(!t){this._removeViewZone();return}if(!this._isVisible)return;let i=this._viewZone;void 0===this._viewZoneId&&i&&this._codeEditor.changeViewZones(t=>{i.heightInPx=this._getHeight(),this._viewZoneId=t.addZone(i),this._codeEditor.setScrollTop(e||this._codeEditor.getScrollTop()+i.heightInPx)})}_showViewZone(e=!0){if(!this._isVisible)return;let t=this._codeEditor.getOption(41).addExtraSpaceOnTop;if(!t)return;void 0===this._viewZone&&(this._viewZone=new eA(0));let i=this._viewZone;this._codeEditor.changeViewZones(t=>{if(void 0!==this._viewZoneId){let n=this._getHeight();if(n===i.heightInPx)return;let s=n-i.heightInPx;i.heightInPx=n,t.layoutZone(this._viewZoneId),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+s);return}{let n=this._getHeight();if((n-=this._codeEditor.getOption(84).top)<=0)return;i.heightInPx=n,this._viewZoneId=t.addZone(i),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+n)}})}_removeViewZone(){this._codeEditor.changeViewZones(e=>{void 0!==this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_tryUpdateWidgetWidth(){if(!this._isVisible||!this._domNode.isConnected)return;let e=this._codeEditor.getLayoutInfo(),t=e.contentWidth;if(t<=0){this._domNode.classList.add("hiddenEditor");return}this._domNode.classList.contains("hiddenEditor")&&this._domNode.classList.remove("hiddenEditor");let i=e.width,n=e.minimap.minimapWidth,s=!1,o=!1,r=!1;if(this._resized){let e=V.w(this._domNode);if(e>419){this._domNode.style.maxWidth=`${i-28-n-15}px`,this._replaceInput.width=V.w(this._findInput.domNode);return}}if(447+n>=i&&(o=!0),447+n-eT>=i&&(r=!0),447+n-eT>=i+50&&(s=!0),this._domNode.classList.toggle("collapsed-find-widget",s),this._domNode.classList.toggle("narrow-find-widget",r),this._domNode.classList.toggle("reduced-find-widget",o),r||s||(this._domNode.style.maxWidth=`${i-28-n-15}px`),this._findInput.layout({collapsedFindWidget:s,narrowFindWidget:r,reducedFindWidget:o}),this._resized){let e=this._findInput.inputBox.element.clientWidth;e>0&&(this._replaceInput.width=e)}else this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode))}_getHeight(){let e;return e=4+(this._findInput.inputBox.height+2),this._isReplaceVisible&&(e+=4+(this._replaceInput.inputBox.height+2)),e+=4}_tryUpdateHeight(){let e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=`${e}px`,!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){let e=this._codeEditor.getSelections();e.map(e=>{1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));let t=this._state.currentMatch;return e.startLineNumber===e.endLineNumber||p.e.equalsRange(e,t)?null:e}).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}_onFindInputMouseDown(e){e.middleButton&&e.stopPropagation()}_onFindInputKeyDown(e){if(e.equals(3|eR)){if(this._keybindingService.dispatchEvent(e,e.target)){e.preventDefault();return}this._findInput.inputBox.insertAtCursor("\n"),e.preventDefault();return}if(e.equals(2)){this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),e.preventDefault();return}if(e.equals(2066)){this._codeEditor.focus(),e.preventDefault();return}return e.equals(16)?eP(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?eO(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0}_onReplaceInputKeyDown(e){if(e.equals(3|eR)){if(this._keybindingService.dispatchEvent(e,e.target)){e.preventDefault();return}ee.ED&&ee.tY&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(et.NC("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(eM,!0,0,0)),this._replaceInput.inputBox.insertAtCursor("\n"),e.preventDefault();return}if(e.equals(2)){this._findInput.focusOnCaseSensitive(),e.preventDefault();return}if(e.equals(1026)){this._findInput.focus(),e.preventDefault();return}if(e.equals(2066)){this._codeEditor.focus(),e.preventDefault();return}return e.equals(16)?eP(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?eO(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0}getVerticalSashLeft(e){return 0}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new ei.Yb(null,this._contextViewProvider,{width:221,label:e_,placeholder:ev,appendCaseSensitiveLabel:this._keybindingLabelFor(W.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(W.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(W.ToggleRegexCommand),validation:e=>{if(0===e.length||!this._findInput.getRegex())return null;try{return RegExp(e,"gu"),null}catch(e){return{content:e.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showCommonFindToggles:!0,showHistoryHint:()=>en(this._keybindingService),inputBoxStyles:ea.Hc,toggleStyles:ea.pl},this._contextKeyService)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(e=>this._onFindInputKeyDown(e))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(e=>{e.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),e.preventDefault())})),this._register(this._findInput.onRegexKeyDown(e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),e.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange(e=>{this._tryUpdateHeight()&&this._showViewZone()})),ee.IJ&&this._register(this._findInput.onMouseDown(e=>this._onFindInputMouseDown(e))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount();let e=this._register((0,U.p0)());this._prevBtn=this._register(new eB({label:eb+this._keybindingLabelFor(W.PreviousMatchFindAction),icon:ep,hoverDelegate:e,onTrigger:()=>{(0,el.cW)(this._codeEditor.getAction(W.PreviousMatchFindAction)).run().then(void 0,X.dL)}},this._hoverService)),this._nextBtn=this._register(new eB({label:eC+this._keybindingLabelFor(W.NextMatchFindAction),icon:em,hoverDelegate:e,onTrigger:()=>{(0,el.cW)(this._codeEditor.getAction(W.NextMatchFindAction)).run().then(void 0,X.dL)}},this._hoverService));let t=document.createElement("div");t.className="find-part",t.appendChild(this._findInput.domNode);let i=document.createElement("div");i.className="find-actions",t.appendChild(i),i.appendChild(this._matchesCount),i.appendChild(this._prevBtn.domNode),i.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new Z.Z({icon:eu,title:ew+this._keybindingLabelFor(W.ToggleSearchScopeCommand),isChecked:!1,hoverDelegate:e,inputActiveOptionBackground:(0,v.n_1)(v.XEs),inputActiveOptionBorder:(0,v.n_1)(v.PRb),inputActiveOptionForeground:(0,v.n_1)(v.Pvw)})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){let e=this._codeEditor.getSelections();(e=e.map(e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty())?null:e).filter(e=>!!e)).length&&this._state.change({searchScope:e},!0)}}else this._state.change({searchScope:null},!0)})),i.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new eB({label:ey+this._keybindingLabelFor(W.CloseFindWidgetCommand),icon:es.s_,hoverDelegate:e,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),e.preventDefault())}},this._hoverService)),this._replaceInput=this._register(new ei.Nq(null,void 0,{label:eS,placeholder:eL,appendPreserveCaseLabel:this._keybindingLabelFor(W.TogglePreserveCaseCommand),history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showHistoryHint:()=>en(this._keybindingService),inputBoxStyles:ea.Hc,toggleStyles:ea.pl},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(e=>this._onReplaceInputKeyDown(e))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(e=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(e=>{e.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),e.preventDefault())}));let n=this._register((0,U.p0)());this._replaceBtn=this._register(new eB({label:ek+this._keybindingLabelFor(W.ReplaceOneAction),icon:ec,hoverDelegate:n,onTrigger:()=>{this._controller.replace()},onKeyDown:e=>{e.equals(1026)&&(this._closeBtn.focus(),e.preventDefault())}},this._hoverService)),this._replaceAllBtn=this._register(new eB({label:eD+this._keybindingLabelFor(W.ReplaceAllAction),icon:eg,hoverDelegate:n,onTrigger:()=>{this._controller.replaceAll()}},this._hoverService));let s=document.createElement("div");s.className="replace-part",s.appendChild(this._replaceInput.domNode);let o=document.createElement("div");o.className="replace-actions",s.appendChild(o),o.appendChild(this._replaceBtn.domNode),o.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new eB({label:ex,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}},this._hoverService)),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.ariaLabel=ef,this._domNode.role="dialog",this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(t),this._domNode.appendChild(this._closeBtn.domNode),this._domNode.appendChild(s),this._resizeSash=this._register(new Y.g(this._domNode,this,{orientation:0,size:2})),this._resized=!1;let r=419;this._register(this._resizeSash.onDidStart(()=>{r=V.w(this._domNode)})),this._register(this._resizeSash.onDidChange(e=>{this._resized=!0;let t=r+e.startX-e.currentX;if(t<419)return;let i=parseFloat(V.Dx(this._domNode).maxWidth)||0;t>i||(this._domNode.style.width=`${t}px`,this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())})),this._register(this._resizeSash.onDidReset(()=>{let e=V.w(this._domNode);if(e<419)return;let t=419;if(!this._resized||419===e){let e=this._codeEditor.getLayoutInfo();t=e.width-28-e.minimap.minimapWidth-15,this._resized=!0}this._domNode.style.width=`${t}px`,this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode)),this._findInput.inputBox.layout()}))}updateAccessibilitySupport(){let e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)}}eF.ID="editor.contrib.findWidget";class eB extends K.${constructor(e,t){var i;super(),this._opts=e;let n="button";this._opts.className&&(n=n+" "+this._opts.className),this._opts.icon&&(n=n+" "+eo.k.asClassName(this._opts.icon)),this._domNode=document.createElement("div"),this._domNode.tabIndex=0,this._domNode.className=n,this._domNode.setAttribute("role","button"),this._domNode.setAttribute("aria-label",this._opts.label),this._register(t.setupUpdatableHover(null!==(i=e.hoverDelegate)&&void 0!==i?i:(0,U.tM)("element"),this._domNode,this._opts.label)),this.onclick(this._domNode,e=>{this._opts.onTrigger(),e.preventDefault()}),this.onkeydown(this._domNode,e=>{var t,i;if(e.equals(10)||e.equals(3)){this._opts.onTrigger(),e.preventDefault();return}null===(i=(t=this._opts).onKeyDown)||void 0===i||i.call(t,e)})}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(e){this._domNode.classList.toggle("disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1}setExpanded(e){this._domNode.setAttribute("aria-expanded",String(!!e)),e?(this._domNode.classList.remove(...eo.k.asClassNameArray(ed)),this._domNode.classList.add(...eo.k.asClassNameArray(eh))):(this._domNode.classList.remove(...eo.k.asClassNameArray(eh)),this._domNode.classList.add(...eo.k.asClassNameArray(ed)))}}(0,b.Ic)((e,t)=>{let i=e.getColor(v.EiJ);i&&t.addRule(`.monaco-editor .findMatch { border: 1px ${(0,er.c3)(e.type)?"dotted":"solid"} ${i}; box-sizing: border-box; }`);let n=e.getColor(v.gkn);n&&t.addRule(`.monaco-editor .findScope { border: 1px ${(0,er.c3)(e.type)?"dashed":"solid"} ${n}; }`);let s=e.getColor(v.lRK);s&&t.addRule(`.monaco-editor .find-widget { border: 1px solid ${s}; }`);let o=e.getColor(v.zKA);o&&t.addRule(`.monaco-editor .findMatchInline { color: ${o}; }`);let r=e.getColor(v.OIo);r&&t.addRule(`.monaco-editor .currentFindMatchInline { color: ${r}; }`)});var eW=i(30467),eH=i(59203),eV=i(10727),ez=i(46417),eK=i(16575),eU=i(33353),e$=i(63179),eq=i(96748),ej=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},eG=function(e,t){return function(i,n){t(i,n,e)}};function eQ(e,t="single",i=!1){if(!e.hasModel())return null;let n=e.getSelection();if("single"===t&&n.startLineNumber===n.endLineNumber||"multiple"===t){if(n.isEmpty()){let t=e.getConfiguredWordAtPosition(n.getStartPosition());if(t&&!1===i)return t.word}else if(524288>e.getModel().getValueLengthInRange(n))return e.getModel().getValueInRange(n)}return null}let eZ=n=class extends o.JT{get editor(){return this._editor}static get(e){return e.getContribution(n.ID)}constructor(e,t,i,n,o,r){super(),this._editor=e,this._findWidgetVisible=T.bindTo(t),this._contextKeyService=t,this._storageService=i,this._clipboardService=n,this._notificationService=o,this._hoverService=r,this._updateHistoryDelayer=new s.vp(500),this._state=this._register(new G),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{let e=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(41).loop})}))}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,1),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,1),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,1),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,1)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!M.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){let e=this._editor.getSelections();(e=e.map(e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty())?null:e).filter(e=>!!e)).length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=r.ec(e)),this._state.change({searchString:e},!1)}highlightFindOptions(e=!1){}async _start(e,t){if(this.disposeModel(),!this._editor.hasModel())return;let i={...t,isRevealed:!0};if("single"===e.seedSearchStringFromSelection){let t=eQ(this._editor,e.seedSearchStringFromSelection,e.seedSearchStringFromNonEmptySelection);t&&(this._state.isRegex?i.searchString=r.ec(t):i.searchString=t)}else if("multiple"===e.seedSearchStringFromSelection&&!e.updateSearchScope){let t=eQ(this._editor,e.seedSearchStringFromSelection);t&&(i.searchString=t)}if(!i.searchString&&e.seedSearchStringFromGlobalClipboard){let e=await this.getGlobalBufferTerm();if(!this._editor.hasModel())return;e&&(i.searchString=e)}if(e.forceRevealReplace||i.isReplaceRevealed?i.isReplaceRevealed=!0:this._findWidgetVisible.get()||(i.isReplaceRevealed=!1),e.updateSearchScope){let e=this._editor.getSelections();e.some(e=>!e.isEmpty())&&(i.searchScope=e)}i.loop=e.loop,this._state.change(i,!1),this._model||(this._model=new H(this._editor,this._state))}start(e,t){return this._start(e,t)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}goToMatch(e){return!!this._model&&(this._model.moveToMatch(e),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){var e;return!!this._model&&((null===(e=this._editor.getModel())||void 0===e?void 0:e.isTooLargeForHeapOperation())?(this._notificationService.warn(et.NC("too.large.for.replaceall","The file is too large to perform a replace all operation.")),!1):(this._model.replaceAll(),!0))}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}async getGlobalBufferTerm(){return this._editor.getOption(41).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""}setGlobalBufferTerm(e){this._editor.getOption(41).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}};eZ.ID="editor.contrib.findController",eZ=n=ej([eG(1,I.i6),eG(2,e$.Uy),eG(3,eH.p),eG(4,eK.lT),eG(5,eq.Bs)],eZ);let eY=class extends eZ{constructor(e,t,i,n,s,o,r,l,a){super(e,i,r,l,o,a),this._contextViewService=t,this._keybindingService=n,this._themeService=s,this._widget=null,this._findOptionsWidget=null}async _start(e,t){this._widget||this._createFindWidget();let i=this._editor.getSelection(),n=!1;switch(this._editor.getOption(41).autoFindInSelection){case"always":n=!0;break;case"never":n=!1;break;case"multiline":{let e=!!i&&i.startLineNumber!==i.endLineNumber;n=e}}e.updateSearchScope=e.updateSearchScope||n,await super._start(e,t),this._widget&&(2===e.shouldFocus?this._widget.focusReplaceInput():1===e.shouldFocus&&this._widget.focusFindInput())}highlightFindOptions(e=!1){this._widget||this._createFindWidget(),this._state.isRevealed&&!e?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new eF(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService,this._hoverService)),this._findOptionsWidget=this._register(new $(this._editor,this._state,this._keybindingService))}};eY=ej([eG(1,eV.u),eG(2,I.i6),eG(3,ez.d),eG(4,b.XE),eG(5,eK.lT),eG(6,e$.Uy),eG(7,eH.p),eG(8,eq.Bs)],eY);let eJ=(0,l.rn)(new l.jY({id:W.StartFindAction,label:et.NC("startFindAction","Find"),alias:"Find",precondition:I.Ao.or(d.u.focus,I.Ao.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:eW.eH.MenubarEditMenu,group:"3_find",title:et.NC({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}}));eJ.addImplementation(0,(e,t,i)=>{let n=eZ.get(t);return!!n&&n.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(41).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop})});let eX={description:"Open a new In-Editor Find Widget.",args:[{name:"Open a new In-Editor Find Widget args",schema:{properties:{searchString:{type:"string"},replaceString:{type:"string"},isRegex:{type:"boolean"},matchWholeWord:{type:"boolean"},isCaseSensitive:{type:"boolean"},preserveCase:{type:"boolean"},findInSelection:{type:"boolean"}}}}]};class e0 extends l.R6{constructor(){super({id:W.StartFindWithArgs,label:et.NC("startFindWithArgsAction","Find With Arguments"),alias:"Find With Arguments",precondition:void 0,kbOpts:{kbExpr:null,primary:0,weight:100},metadata:eX})}async run(e,t,i){let n=eZ.get(t);if(n){let e=i?{searchString:i.searchString,replaceString:i.replaceString,isReplaceRevealed:void 0!==i.replaceString,isRegex:i.isRegex,wholeWord:i.matchWholeWord,matchCase:i.isCaseSensitive,preserveCase:i.preserveCase}:{};await n.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===n.getState().searchString.length&&"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:1,shouldAnimate:!0,updateSearchScope:(null==i?void 0:i.findInSelection)||!1,loop:t.getOption(41).loop},e),n.setGlobalBufferTerm(n.getState().searchString)}}}class e1 extends l.R6{constructor(){super({id:W.StartFindWithSelection,label:et.NC("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}async run(e,t){let i=eZ.get(t);i&&(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),i.setGlobalBufferTerm(i.getState().searchString))}}class e2 extends l.R6{async run(e,t){let i=eZ.get(t);i&&!this._run(i)&&(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===i.getState().searchString.length&&"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),this._run(i))}}class e4 extends l.R6{constructor(){super({id:W.GoToMatchFindAction,label:et.NC("findMatchAction.goToMatch","Go to Match..."),alias:"Go to Match...",precondition:T}),this._highlightDecorations=[]}run(e,t,i){let n=eZ.get(t);if(!n)return;let s=n.getState().matchesCount;if(s<1){let t=e.get(eK.lT);t.notify({severity:eK.zb.Warning,message:et.NC("findMatchAction.noResults","No matches. Try searching for something else.")});return}let o=e.get(eU.eJ),r=o.createInputBox();r.placeholder=et.NC("findMatchAction.inputPlaceHolder","Type a number to go to a specific match (between 1 and {0})",s);let l=e=>{let t=parseInt(e);if(isNaN(t))return;let i=n.getState().matchesCount;return t>0&&t<=i?t-1:t<0&&t>=-i?i+t:void 0},a=e=>{let i=l(e);if("number"==typeof i){r.validationMessage=void 0,n.goToMatch(i);let e=n.getState().currentMatch;e&&this.addDecorations(t,e)}else r.validationMessage=et.NC("findMatchAction.inputValidationMessage","Please type a number between 1 and {0}",n.getState().matchesCount),this.clearDecorations(t)};r.onDidChangeValue(e=>{a(e)}),r.onDidAccept(()=>{let e=l(r.value);"number"==typeof e?(n.goToMatch(e),r.hide()):r.validationMessage=et.NC("findMatchAction.inputValidationMessage","Please type a number between 1 and {0}",n.getState().matchesCount)}),r.onDidHide(()=>{this.clearDecorations(t),r.dispose()}),r.show()}clearDecorations(e){e.changeDecorations(e=>{this._highlightDecorations=e.deltaDecorations(this._highlightDecorations,[])})}addDecorations(e,t){e.changeDecorations(e=>{this._highlightDecorations=e.deltaDecorations(this._highlightDecorations,[{range:t,options:{description:"find-match-quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{description:"find-match-quick-access-range-highlight-overview",overviewRuler:{color:(0,b.EN)(a.m9),position:h.sh.Full}}}])})}}class e5 extends l.R6{async run(e,t){let i=eZ.get(t);if(!i)return;let n=eQ(t,"single",!1);n&&i.setSearchString(n),this._run(i)||(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),this._run(i))}}let e3=(0,l.rn)(new l.jY({id:W.StartFindReplaceAction,label:et.NC("startReplace","Replace"),alias:"Replace",precondition:I.Ao.or(d.u.focus,I.Ao.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:eW.eH.MenubarEditMenu,group:"3_find",title:et.NC({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}}));e3.addImplementation(0,(e,t,i)=>{if(!t.hasModel()||t.getOption(91))return!1;let n=eZ.get(t);if(!n)return!1;let s=t.getSelection(),o=n.isFindInputFocused(),r=!s.isEmpty()&&s.startLineNumber===s.endLineNumber&&"never"!==t.getOption(41).seedSearchStringFromSelection&&!o;return n.start({forceRevealReplace:!0,seedSearchStringFromSelection:r?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:"never"!==t.getOption(41).seedSearchStringFromSelection,shouldFocus:o||r?2:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop})}),(0,l._K)(eZ.ID,eY,0),(0,l.Qr)(e0),(0,l.Qr)(e1),(0,l.Qr)(class extends e2{constructor(){super({id:W.NextMatchFindAction,label:et.NC("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:[{kbExpr:d.u.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:I.Ao.and(d.u.focus,M),primary:3,weight:100}]})}_run(e){let t=e.moveToNextMatch();return!!t&&(e.editor.pushUndoStop(),!0)}}),(0,l.Qr)(class extends e2{constructor(){super({id:W.PreviousMatchFindAction,label:et.NC("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:[{kbExpr:d.u.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:I.Ao.and(d.u.focus,M),primary:1027,weight:100}]})}_run(e){return e.moveToPrevMatch()}}),(0,l.Qr)(e4),(0,l.Qr)(class extends e5{constructor(){super({id:W.NextSelectionMatchFindAction,label:et.NC("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:d.u.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}),(0,l.Qr)(class extends e5{constructor(){super({id:W.PreviousSelectionMatchFindAction,label:et.NC("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:d.u.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}});let e7=l._l.bindToContribution(eZ.get);(0,l.fK)(new e7({id:W.CloseFindWidgetCommand,precondition:T,handler:e=>e.closeFindWidget(),kbOpts:{weight:105,kbExpr:I.Ao.and(d.u.focus,I.Ao.not("isComposing")),primary:9,secondary:[1033]}})),(0,l.fK)(new e7({id:W.ToggleCaseSensitiveCommand,precondition:void 0,handler:e=>e.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:A.primary,mac:A.mac,win:A.win,linux:A.linux}})),(0,l.fK)(new e7({id:W.ToggleWholeWordCommand,precondition:void 0,handler:e=>e.toggleWholeWords(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:P.primary,mac:P.mac,win:P.win,linux:P.linux}})),(0,l.fK)(new e7({id:W.ToggleRegexCommand,precondition:void 0,handler:e=>e.toggleRegex(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:O.primary,mac:O.mac,win:O.win,linux:O.linux}})),(0,l.fK)(new e7({id:W.ToggleSearchScopeCommand,precondition:void 0,handler:e=>e.toggleSearchScope(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:F.primary,mac:F.mac,win:F.win,linux:F.linux}})),(0,l.fK)(new e7({id:W.TogglePreserveCaseCommand,precondition:void 0,handler:e=>e.togglePreserveCase(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:B.primary,mac:B.mac,win:B.win,linux:B.linux}})),(0,l.fK)(new e7({id:W.ReplaceOneAction,precondition:T,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:3094}})),(0,l.fK)(new e7({id:W.ReplaceOneAction,precondition:T,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:I.Ao.and(d.u.focus,R),primary:3}})),(0,l.fK)(new e7({id:W.ReplaceAllAction,precondition:T,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:2563}})),(0,l.fK)(new e7({id:W.ReplaceAllAction,precondition:T,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:I.Ao.and(d.u.focus,R),primary:void 0,mac:{primary:2051}}})),(0,l.fK)(new e7({id:W.SelectAllMatchesAction,precondition:T,handler:e=>e.selectAllMatches(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:515}}))},40627:function(e,t,i){"use strict";i.d(t,{f:function(){return W},n:function(){return H}});var n,s=i(44532),o=i(9424),r=i(32378),l=i(57231),a=i(70784),d=i(95612),h=i(24162);i(13547);var u=i(24846),c=i(82508),g=i(73440),p=i(1863),m=i(32712),f=i(96892),_=i(70365),v=i(79915),b=i(70209),C=i(67830);class w{get onDidChange(){return this._updateEventEmitter.event}get hiddenRanges(){return this._hiddenRanges}constructor(e){this._updateEventEmitter=new v.Q5,this._hasLineChanges=!1,this._foldingModel=e,this._foldingModelListener=e.onDidChange(e=>this.updateHiddenRanges()),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}notifyChangeModelContent(e){this._hiddenRanges.length&&!this._hasLineChanges&&(this._hasLineChanges=e.changes.some(e=>e.range.endLineNumber!==e.range.startLineNumber||0!==(0,C.Q)(e.text)[0]))}updateHiddenRanges(){let e=!1,t=[],i=0,n=0,s=Number.MAX_VALUE,o=-1,r=this._foldingModel.regions;for(;i0}isHidden(e){return null!==y(this._hiddenRanges,e)}adjustSelections(e){let t=!1,i=this._foldingModel.textModel,n=null,s=e=>{var t;return(n&&e>=(t=n).startLineNumber&&e<=t.endLineNumber||(n=y(this._hiddenRanges,e)),n)?n.startLineNumber-1:null};for(let n=0,o=e.length;n0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}function y(e,t){let i=(0,_.J_)(e,e=>t=0&&e[i].endLineNumber>=t?e[i]:null}var S=i(10527),L=i(82801),k=i(33336),D=i(97257),x=i(35687),N=i(25132),E=i(16575),I=i(86756),T=i(44129),M=i(64106),R=i(81903),A=i(5482),P=i(98334),O=i(78426),F=function(e,t){return function(i,n){t(i,n,e)}};let B=new k.uy("foldingEnabled",!1),W=n=class extends a.JT{static get(e){return e.getContribution(n.ID)}static getFoldingRangeProviders(e,t){var i,s;let o=e.foldingRangeProvider.ordered(t);return null!==(s=null===(i=n._foldingRangeSelector)||void 0===i?void 0:i.call(n,o,t))&&void 0!==s?s:o}constructor(e,t,i,n,s,o){super(),this.contextKeyService=t,this.languageConfigurationService=i,this.languageFeaturesService=o,this.localToDispose=this._register(new a.SL),this.editor=e,this._foldingLimitReporter=new H(e);let r=this.editor.getOptions();this._isEnabled=r.get(43),this._useFoldingProviders="indentation"!==r.get(44),this._unfoldOnClickAfterEndOfLine=r.get(48),this._restoringViewState=!1,this._currentModelHasFoldedImports=!1,this._foldingImportsByDefault=r.get(46),this.updateDebounceInfo=s.for(o.foldingRangeProvider,"Folding",{min:200}),this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new D.fF(e),this.foldingDecorationProvider.showFoldingControls=r.get(110),this.foldingDecorationProvider.showFoldingHighlights=r.get(45),this.foldingEnabled=B.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._register(this.editor.onDidChangeModel(()=>this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(e=>{if(e.hasChanged(43)&&(this._isEnabled=this.editor.getOptions().get(43),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),e.hasChanged(47)&&this.onModelChanged(),e.hasChanged(110)||e.hasChanged(45)){let e=this.editor.getOptions();this.foldingDecorationProvider.showFoldingControls=e.get(110),this.foldingDecorationProvider.showFoldingHighlights=e.get(45),this.triggerFoldingModelChanged()}e.hasChanged(44)&&(this._useFoldingProviders="indentation"!==this.editor.getOptions().get(44),this.onFoldingStrategyChanged()),e.hasChanged(48)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(48)),e.hasChanged(46)&&(this._foldingImportsByDefault=this.editor.getOptions().get(46))})),this.onModelChanged()}saveViewState(){let e=this.editor.getModel();if(!e||!this._isEnabled||e.isTooLargeForTokenization())return{};if(this.foldingModel){let t=this.foldingModel.getMemento(),i=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:t,lineCount:e.getLineCount(),provider:i,foldedImports:this._currentModelHasFoldedImports}}}restoreViewState(e){let t=this.editor.getModel();if(!(!t||!this._isEnabled||t.isTooLargeForTokenization())&&this.hiddenRangeModel&&e&&(this._currentModelHasFoldedImports=!!e.foldedImports,e.collapsedRegions&&e.collapsedRegions.length>0&&this.foldingModel)){this._restoringViewState=!0;try{this.foldingModel.applyMemento(e.collapsedRegions)}finally{this._restoringViewState=!1}}}onModelChanged(){this.localToDispose.clear();let e=this.editor.getModel();!this._isEnabled||!e||e.isTooLargeForTokenization()||(this._currentModelHasFoldedImports=!1,this.foldingModel=new f.av(e,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new w(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(e=>this.onHiddenRangesChanges(e))),this.updateScheduler=new s.vp(this.updateDebounceInfo.get(e)),this.cursorChangedScheduler=new s.pY(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(this.languageFeaturesService.foldingRangeProvider.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(e=>this.onDidChangeModelContent(e))),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(e=>this.onEditorMouseDown(e))),this.localToDispose.add(this.editor.onMouseUp(e=>this.onEditorMouseUp(e))),this.localToDispose.add({dispose:()=>{var e,t;this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),null===(e=this.updateScheduler)||void 0===e||e.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,null===(t=this.rangeProvider)||void 0===t||t.dispose(),this.rangeProvider=null}}),this.triggerFoldingModelChanged())}onFoldingStrategyChanged(){var e;null===(e=this.rangeProvider)||void 0===e||e.dispose(),this.rangeProvider=null,this.triggerFoldingModelChanged()}getRangeProvider(e){if(this.rangeProvider)return this.rangeProvider;let t=new S.aI(e,this.languageConfigurationService,this._foldingLimitReporter);if(this.rangeProvider=t,this._useFoldingProviders&&this.foldingModel){let i=n.getFoldingRangeProviders(this.languageFeaturesService,e);i.length>0&&(this.rangeProvider=new N.e(e,i,()=>this.triggerFoldingModelChanged(),this._foldingLimitReporter,t))}return this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onDidChangeModelContent(e){var t;null===(t=this.hiddenRangeModel)||void 0===t||t.notifyChangeModelContent(e),this.triggerFoldingModelChanged()}triggerFoldingModelChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{let e=this.foldingModel;if(!e)return null;let t=new T.G,i=this.getRangeProvider(e.textModel),n=this.foldingRegionPromise=(0,s.PG)(e=>i.compute(e));return n.then(i=>{if(i&&n===this.foldingRegionPromise){let n;if(this._foldingImportsByDefault&&!this._currentModelHasFoldedImports){let e=i.setCollapsedAllOfType(p.AD.Imports.value,!0);e&&(n=u.Z.capture(this.editor),this._currentModelHasFoldedImports=e)}let s=this.editor.getSelections(),o=s?s.map(e=>e.startLineNumber):[];e.update(i,o),null==n||n.restore(this.editor);let r=this.updateDebounceInfo.update(e.textModel,t.elapsed());this.updateScheduler&&(this.updateScheduler.defaultDelay=r)}return e})}).then(void 0,e=>((0,r.dL)(e),null)))}onHiddenRangesChanges(e){if(this.hiddenRangeModel&&e.length&&!this._restoringViewState){let e=this.editor.getSelections();e&&this.hiddenRangeModel.adjustSelections(e)&&this.editor.setSelections(e)}this.editor.setHiddenAreas(e,this)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){let e=this.getFoldingModel();e&&e.then(e=>{if(e){let t=this.editor.getSelections();if(t&&t.length>0){let i=[];for(let n of t){let t=n.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden(t)&&i.push(...e.getAllRegionsAtLine(t,e=>e.isCollapsed&&t>e.startLineNumber))}i.length&&(e.toggleCollapseState(i),this.reveal(t[0].getPosition()))}}}).then(void 0,r.dL)}onEditorMouseDown(e){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!e.target||!e.target.range||!e.event.leftButton&&!e.event.middleButton)return;let t=e.target.range,i=!1;switch(e.target.type){case 4:{let t=e.target.detail,n=e.target.element.offsetLeft,s=t.offsetX-n;if(s<4)return;i=!0;break}case 7:if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()){let t=e.target.detail;if(!t.isAfterLines)break}return;case 6:if(this.hiddenRangeModel.hasRanges()){let e=this.editor.getModel();if(e&&t.startColumn===e.getLineMaxColumn(t.startLineNumber))break}return;default:return}this.mouseDownInfo={lineNumber:t.startLineNumber,iconClicked:i}}onEditorMouseUp(e){let t=this.foldingModel;if(!t||!this.mouseDownInfo||!e.target)return;let i=this.mouseDownInfo.lineNumber,n=this.mouseDownInfo.iconClicked,s=e.target.range;if(!s||s.startLineNumber!==i)return;if(n){if(4!==e.target.type)return}else{let e=this.editor.getModel();if(!e||s.startColumn!==e.getLineMaxColumn(i))return}let o=t.getRegionAtLine(i);if(o&&o.startLineNumber===i){let s=o.isCollapsed;if(n||s){let n=e.event.altKey,r=[];if(n){let e=t.getRegionsInside(null,e=>!e.containedBy(o)&&!o.containedBy(e));for(let t of e)t.isCollapsed&&r.push(t);0===r.length&&(r=e)}else{let i=e.event.middleButton||e.event.shiftKey;if(i)for(let e of t.getRegionsInside(o))e.isCollapsed===s&&r.push(e);(s||!i||0===r.length)&&r.push(o)}t.toggleCollapseState(r),this.reveal({lineNumber:i,column:1})}}}reveal(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)}};W.ID="editor.contrib.folding",W=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([F(1,k.i6),F(2,m.c_),F(3,E.lT),F(4,I.A),F(5,M.p)],W);class H{constructor(e){this.editor=e,this._onDidChange=new v.Q5,this._computed=0,this._limited=!1}get limit(){return this.editor.getOptions().get(47)}update(e,t){(e!==this._computed||t!==this._limited)&&(this._computed=e,this._limited=t,this._onDidChange.fire())}}class V extends c.R6{runEditorCommand(e,t,i){let n=e.get(m.c_),s=W.get(t);if(!s)return;let o=s.getFoldingModel();if(o)return this.reportTelemetry(e,t),o.then(e=>{if(e){this.invoke(s,e,t,i,n);let o=t.getSelection();o&&s.reveal(o.getStartPosition())}})}getSelectedLines(e){let t=e.getSelections();return t?t.map(e=>e.startLineNumber):[]}getLineNumbers(e,t){return e&&e.selectionLines?e.selectionLines.map(e=>e+1):this.getSelectedLines(t)}run(e,t){}}function z(e){return!!(h.o8(e)||h.Kn(e)&&(h.o8(e.levels)||h.hj(e.levels))&&(h.o8(e.direction)||h.HD(e.direction))&&(h.o8(e.selectionLines)||Array.isArray(e.selectionLines)&&e.selectionLines.every(h.hj)))}class K extends V{getFoldingLevel(){return parseInt(this.id.substr(K.ID_PREFIX.length))}invoke(e,t,i){(0,f.Ln)(t,this.getFoldingLevel(),!0,this.getSelectedLines(i))}}K.ID_PREFIX="editor.foldLevel",K.ID=e=>K.ID_PREFIX+e,(0,c._K)(W.ID,W,0),(0,c.Qr)(class extends V{constructor(){super({id:"editor.unfold",label:L.NC("unfoldAction.label","Unfold"),alias:"Unfold",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:3166,mac:{primary:2654},weight:100},metadata:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:`Property-value pairs that can be passed through this argument: * 'levels': Number of levels to unfold. If not set, defaults to 1. * 'direction': If 'up', unfold given number of levels up otherwise unfolds down. * 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used. @@ -500,7 +500,7 @@ ${function(e,t){var i,n;let s=null!==(n=null===(i=e.match(/^`+/gm))||void 0===i? * 'direction': If 'up', folds given number of levels up otherwise folds down. * 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used. If no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead. - `,constraint:z,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,i,n){let s=this.getLineNumbers(n,i),o=n&&n.levels,r=n&&n.direction;"number"!=typeof o&&"string"!=typeof r?(0,f.HX)(t,!0,s):"up"===r?(0,f.gU)(t,!0,o||1,s):(0,f.R$)(t,!0,o||1,s)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldRecursively",label:L.NC("foldRecursivelyAction.label","Fold Recursively"),alias:"Fold Recursively",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2140),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);(0,f.R$)(t,!0,Number.MAX_VALUE,n)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldAll",label:L.NC("foldAllAction.label","Fold All"),alias:"Fold All",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2069),weight:100}})}invoke(e,t,i){(0,f.R$)(t,!0)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.unfoldAll",label:L.NC("unfoldAllAction.label","Unfold All"),alias:"Unfold All",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2088),weight:100}})}invoke(e,t,i){(0,f.R$)(t,!1)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldAllBlockComments",label:L.NC("foldAllBlockComments.label","Fold All Block Comments"),alias:"Fold All Block Comments",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2138),weight:100}})}invoke(e,t,i,n,s){if(t.regions.hasTypes())(0,f.MW)(t,p.AD.Comment.value,!0);else{let e=i.getModel();if(!e)return;let n=s.getLanguageConfiguration(e.getLanguageId()).comments;if(n&&n.blockCommentStartToken){let e=RegExp("^\\s*"+(0,d.ec)(n.blockCommentStartToken));(0,f.DW)(t,e,!0)}}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldAllMarkerRegions",label:L.NC("foldAllMarkerRegions.label","Fold All Regions"),alias:"Fold All Regions",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2077),weight:100}})}invoke(e,t,i,n,s){if(t.regions.hasTypes())(0,f.MW)(t,p.AD.Region.value,!0);else{let e=i.getModel();if(!e)return;let n=s.getLanguageConfiguration(e.getLanguageId()).foldingRules;if(n&&n.markers&&n.markers.start){let e=new RegExp(n.markers.start);(0,f.DW)(t,e,!0)}}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.unfoldAllMarkerRegions",label:L.NC("unfoldAllMarkerRegions.label","Unfold All Regions"),alias:"Unfold All Regions",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2078),weight:100}})}invoke(e,t,i,n,s){if(t.regions.hasTypes())(0,f.MW)(t,p.AD.Region.value,!1);else{let e=i.getModel();if(!e)return;let n=s.getLanguageConfiguration(e.getLanguageId()).foldingRules;if(n&&n.markers&&n.markers.start){let e=new RegExp(n.markers.start);(0,f.DW)(t,e,!1)}}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldAllExcept",label:L.NC("foldAllExcept.label","Fold All Except Selected"),alias:"Fold All Except Selected",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2136),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);(0,f.YT)(t,!0,n)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.unfoldAllExcept",label:L.NC("unfoldAllExcept.label","Unfold All Except Selected"),alias:"Unfold All Except Selected",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2134),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);(0,f.YT)(t,!1,n)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.toggleFold",label:L.NC("toggleFoldAction.label","Toggle Fold"),alias:"Toggle Fold",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2090),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);(0,f.d8)(t,1,n)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.gotoParentFold",label:L.NC("gotoParentFold.label","Go to Parent Fold"),alias:"Go to Parent Fold",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);if(n.length>0){let e=(0,f.PV)(n[0],t);null!==e&&i.setSelection({startLineNumber:e,startColumn:1,endLineNumber:e,endColumn:1})}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.gotoPreviousFold",label:L.NC("gotoPreviousFold.label","Go to Previous Folding Range"),alias:"Go to Previous Folding Range",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);if(n.length>0){let e=(0,f.sK)(n[0],t);null!==e&&i.setSelection({startLineNumber:e,startColumn:1,endLineNumber:e,endColumn:1})}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.gotoNextFold",label:L.NC("gotoNextFold.label","Go to Next Folding Range"),alias:"Go to Next Folding Range",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);if(n.length>0){let e=(0,f.hE)(n[0],t);null!==e&&i.setSelection({startLineNumber:e,startColumn:1,endLineNumber:e,endColumn:1})}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.createFoldingRangeFromSelection",label:L.NC("createManualFoldRange.label","Create Folding Range from Selection"),alias:"Create Folding Range from Selection",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2135),weight:100}})}invoke(e,t,i){var n;let s=[],o=i.getSelections();if(o){for(let e of o){let t=e.endLineNumber;1===e.endColumn&&--t,t>e.startLineNumber&&(s.push({startLineNumber:e.startLineNumber,endLineNumber:t,type:void 0,isCollapsed:!0,source:1}),i.setSelection({startLineNumber:e.startLineNumber,startColumn:1,endLineNumber:e.startLineNumber,endColumn:1}))}if(s.length>0){s.sort((e,t)=>e.startLineNumber-t.startLineNumber);let e=x.MN.sanitizeAndMerge(t.regions,s,null===(n=i.getModel())||void 0===n?void 0:n.getLineCount());t.updatePost(x.MN.fromFoldRanges(e))}}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.removeManualFoldingRanges",label:L.NC("removeManualFoldingRanges.label","Remove Manual Folding Ranges"),alias:"Remove Manual Folding Ranges",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2137),weight:100}})}invoke(e,t,i){let n=i.getSelections();if(n){let i=[];for(let e of n){let{startLineNumber:t,endLineNumber:n}=e;i.push(n>=t?{startLineNumber:t,endLineNumber:n}:{endLineNumber:n,startLineNumber:t})}t.removeManualRanges(i),e.triggerFoldingModelChanged()}}});for(let e=1;e<=7;e++)(0,c.QG)(new K({id:K.ID(e),label:L.NC("foldLevelAction.label","Fold Level {0}",e),alias:`Fold Level ${e}`,precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2048|21+e),weight:100}}));R.P.registerCommand("_executeFoldingRangeProvider",async function(e,...t){let[i]=t;if(!(i instanceof A.o))throw(0,r.b1)();let n=e.get(M.p),s=e.get(P.q).getModel(i);if(!s)throw(0,r.b1)();let l=e.get(O.Ui);if(!l.getValue("editor.folding",{resource:i}))return[];let a=e.get(m.c_),d=l.getValue("editor.foldingStrategy",{resource:i}),h={get limit(){return l.getValue("editor.foldingMaximumRegions",{resource:i})},update:(e,t)=>{}},u=new S.aI(s,a,h),c=u;if("indentation"!==d){let e=W.getFoldingRangeProviders(n,s);e.length&&(c=new N.e(s,e,()=>{},h,u))}let g=await c.compute(o.Ts.None),f=[];try{if(g)for(let e=0;ee.regionIndex-t.regionIndex);let t={};this._decorationProvider.changeDecorations(i=>{let n=0,s=-1,o=-1,r=e=>{for(;no&&(o=e),n++}};for(let i of e){let e=i.regionIndex,n=this._editorDecorationIds[e];if(n&&!t[n]){t[n]=!0,r(e);let i=!this._regions.isCollapsed(e);this._regions.setCollapsed(e,i),s=Math.max(s,this._regions.getEndLineNumber(e))}}r(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}removeManualRanges(e){let t=[],i=t=>{for(let i of e)if(!(i.startLineNumber>t.endLineNumber||t.startLineNumber>i.endLineNumber))return!0;return!1};for(let e=0;ei&&(i=o)}this._decorationProvider.changeDecorations(e=>this._editorDecorationIds=e.deltaDecorations(this._editorDecorationIds,t)),this._regions=e,this._updateEventEmitter.fire({model:this})}_currentFoldedOrManualRanges(e=[]){let t=(t,i)=>{for(let n of e)if(t=s.endLineNumber||s.startLineNumber<1||s.endLineNumber>i)continue;let o=this._getLinesChecksum(s.startLineNumber+1,s.endLineNumber);t.push({startLineNumber:s.startLineNumber,endLineNumber:s.endLineNumber,isCollapsed:s.isCollapsed,source:s.source,checksum:o})}return t.length>0?t:void 0}applyMemento(e){var t,i;if(!Array.isArray(e))return;let n=[],o=this._textModel.getLineCount();for(let s of e){if(s.startLineNumber>=s.endLineNumber||s.startLineNumber<1||s.endLineNumber>o)continue;let e=this._getLinesChecksum(s.startLineNumber+1,s.endLineNumber);s.checksum&&e!==s.checksum||n.push({startLineNumber:s.startLineNumber,endLineNumber:s.endLineNumber,type:void 0,isCollapsed:null===(t=s.isCollapsed)||void 0===t||t,source:null!==(i=s.source)&&void 0!==i?i:0})}let r=s.MN.sanitizeAndMerge(this._regions,n,o);this.updatePost(s.MN.fromFoldRanges(r))}_getLinesChecksum(e,t){let i=(0,o.vp)(this._textModel.getLineContent(e)+this._textModel.getLineContent(t));return i%1e6}dispose(){this._decorationProvider.removeDecorations(this._editorDecorationIds)}getAllRegionsAtLine(e,t){let i=[];if(this._regions){let n=this._regions.findRange(e),s=1;for(;n>=0;){let e=this._regions.toRegion(n);(!t||t(e,s))&&i.push(e),s++,n=e.parentIndex}}return i}getRegionAtLine(e){if(this._regions){let t=this._regions.findRange(e);if(t>=0)return this._regions.toRegion(t)}return null}getRegionsInside(e,t){let i=[],n=e?e.regionIndex+1:0,s=e?e.endLineNumber:Number.MAX_VALUE;if(t&&2===t.length){let e=[];for(let o=n,r=this._regions.length;o0&&!n.containedBy(e[e.length-1]);)e.pop();e.push(n),t(n,e.length)&&i.push(n)}else break}}else for(let e=n,o=this._regions.length;e1){let o=e.getRegionsInside(i,(e,i)=>e.isCollapsed!==s&&i0)for(let o of n){let n=e.getRegionAtLine(o);if(n&&(n.isCollapsed!==t&&s.push(n),i>1)){let o=e.getRegionsInside(n,(e,n)=>e.isCollapsed!==t&&ne.isCollapsed!==t&&ne.isCollapsed!==t&&n<=i);s.push(...n)}e.toggleCollapseState(s)}function h(e,t,i){let n=[];for(let s of i){let i=e.getAllRegionsAtLine(s,e=>e.isCollapsed!==t);i.length>0&&n.push(i[0])}e.toggleCollapseState(n)}function u(e,t,i,n){let s=e.getRegionsInside(null,(e,s)=>s===t&&e.isCollapsed!==i&&!n.some(t=>e.containsLine(t)));e.toggleCollapseState(s)}function c(e,t,i){let n=[];for(let t of i){let i=e.getAllRegionsAtLine(t,void 0);i.length>0&&n.push(i[0])}let s=e.getRegionsInside(null,e=>n.every(t=>!t.containedBy(e)&&!e.containedBy(t))&&e.isCollapsed!==t);e.toggleCollapseState(s)}function g(e,t,i){let n=e.textModel,s=e.regions,o=[];for(let e=s.length-1;e>=0;e--)if(i!==s.isCollapsed(e)){let i=s.getStartLineNumber(e);t.test(n.getLineContent(i))&&o.push(s.toRegion(e))}e.toggleCollapseState(o)}function p(e,t,i){let n=e.regions,s=[];for(let e=n.length-1;e>=0;e--)i!==n.isCollapsed(e)&&t===n.getType(e)&&s.push(n.toRegion(e));e.toggleCollapseState(s)}function m(e,t){let i=null,n=t.getRegionAtLine(e);if(null!==n&&(i=n.startLineNumber,e===i)){let e=n.parentIndex;i=-1!==e?t.regions.getStartLineNumber(e):null}return i}function f(e,t){let i=t.getRegionAtLine(e);if(null!==i&&i.startLineNumber===e){if(e!==i.startLineNumber)return i.startLineNumber;{let e=i.parentIndex,n=0;for(-1!==e&&(n=t.regions.getStartLineNumber(i.parentIndex));null!==i;)if(i.regionIndex>0){if((i=t.regions.toRegion(i.regionIndex-1)).startLineNumber<=n)break;if(i.parentIndex===e)return i.startLineNumber}else break}}else if(t.regions.length>0)for(i=t.regions.toRegion(t.regions.length-1);null!==i;){if(i.startLineNumber0?t.regions.toRegion(i.regionIndex-1):null}return null}function _(e,t){let i=t.getRegionAtLine(e);if(null!==i&&i.startLineNumber===e){let e=i.parentIndex,n=0;if(-1!==e)n=t.regions.getEndLineNumber(i.parentIndex);else{if(0===t.regions.length)return null;n=t.regions.getEndLineNumber(t.regions.length-1)}for(;null!==i;)if(i.regionIndex=n)break;if(i.parentIndex===e)return i.startLineNumber}else break}else if(t.regions.length>0)for(i=t.regions.toRegion(0);null!==i;){if(i.startLineNumber>e)return i.startLineNumber;i=i.regionIndex65535)throw Error("invalid startIndexes or endIndexes size");this._startIndexes=e,this._endIndexes=t,this._collapseStates=new o(e.length),this._userDefinedStates=new o(e.length),this._recoveredStates=new o(e.length),this._types=i,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;let e=[],t=(t,i)=>{let n=e[e.length-1];return this.getStartLineNumber(n)<=t&&this.getEndLineNumber(n)>=i};for(let i=0,n=this._startIndexes.length;is||o>s)throw Error("startLineNumber or endLineNumber must not exceed "+s);for(;e.length>0&&!t(n,o);)e.pop();let r=e.length>0?e[e.length-1]:-1;e.push(i),this._startIndexes[i]=n+((255&r)<<24),this._endIndexes[i]=o+((65280&r)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(e){return this._startIndexes[e]&s}getEndLineNumber(e){return this._endIndexes[e]&s}getType(e){return this._types?this._types[e]:void 0}hasTypes(){return!!this._types}isCollapsed(e){return this._collapseStates.get(e)}setCollapsed(e,t){this._collapseStates.set(e,t)}isUserDefined(e){return this._userDefinedStates.get(e)}setUserDefined(e,t){return this._userDefinedStates.set(e,t)}isRecovered(e){return this._recoveredStates.get(e)}setRecovered(e,t){return this._recoveredStates.set(e,t)}getSource(e){return this.isUserDefined(e)?1:this.isRecovered(e)?2:0}setSource(e,t){1===t?(this.setUserDefined(e,!0),this.setRecovered(e,!1)):2===t?(this.setUserDefined(e,!1),this.setRecovered(e,!0)):(this.setUserDefined(e,!1),this.setRecovered(e,!1))}setCollapsedAllOfType(e,t){let i=!1;if(this._types)for(let n=0;n>>24)+((4278190080&this._endIndexes[e])>>>16);return 65535===t?-1:t}contains(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t}findIndex(e){let t=0,i=this._startIndexes.length;if(0===i)return -1;for(;t=0){let i=this.getEndLineNumber(t);if(i>=e)return t;for(t=this.getParentIndex(t);-1!==t;){if(this.contains(t,e))return t;t=this.getParentIndex(t)}}return -1}toString(){let e=[];for(let t=0;tArray.isArray(e)?i=>ii=h.startLineNumber))d&&d.startLineNumber===h.startLineNumber?(1===h.source?e=h:((e=d).isCollapsed=h.isCollapsed&&d.endLineNumber===h.endLineNumber,e.source=0),d=o(++l)):(e=h,h.isCollapsed&&0===h.source&&(e.source=2)),h=r(++a);else{let t=a,i=h;for(;;){if(!i||i.startLineNumber>d.endLineNumber){e=d;break}if(1===i.source&&i.endLineNumber>d.endLineNumber)break;i=r(++t)}d=o(++l)}if(e){for(;n&&n.endLineNumbere.startLineNumber&&e.startLineNumber>c&&e.endLineNumber<=i&&(!n||n.endLineNumber>=e.endLineNumber)&&(g.push(e),c=e.startLineNumber,n&&u.push(n),n=e)}}return g}}class l{constructor(e,t){this.ranges=e,this.index=t}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(e){return e.startLineNumber<=this.startLineNumber&&e.endLineNumber>=this.endLineNumber}containsLine(e){return this.startLineNumber<=e&&e<=this.endLineNumber}}},10527:function(e,t,i){"use strict";i.d(t,{aI:function(){return o}});var n=i(37042),s=i(35687);class o{constructor(e,t,i){this.editorModel=e,this.languageConfigurationService=t,this.foldingRangesLimit=i,this.id="indent"}dispose(){}compute(e){let t=this.languageConfigurationService.getLanguageConfiguration(this.editorModel.getLanguageId()).foldingRules,i=t&&!!t.offSide,s=t&&t.markers;return Promise.resolve(function(e,t,i,s=l){let o;let a=e.getOptions().tabSize,d=new r(s);i&&(o=RegExp(`(${i.start.source})|(?:${i.end.source})`));let h=[],u=e.getLineCount()+1;h.push({indent:-1,endAbove:u,line:u});for(let i=e.getLineCount();i>0;i--){let s;let r=e.getLineContent(i),l=(0,n.q)(r,a),u=h[h.length-1];if(-1===l){t&&(u.endAbove=i);continue}if(o&&(s=r.match(o))){if(s[1]){let e=h.length-1;for(;e>0&&-2!==h[e].indent;)e--;if(e>0){h.length=e+1,u=h[e],d.insertFirst(i,u.line,l),u.line=i,u.indent=l,u.endAbove=i;continue}}else{h.push({indent:-2,endAbove:i,line:i});continue}}if(u.indent>l){do h.pop(),u=h[h.length-1];while(u.indent>l);let e=u.endAbove-1;e-i>=1&&d.insertFirst(i,e,l)}u.indent===l?u.endAbove=i:h.push({indent:l,endAbove:i,line:i})}return d.toIndentRanges(e)}(this.editorModel,i,s,this.foldingRangesLimit))}}class r{constructor(e){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}insertFirst(e,t,i){if(e>s.Xl||t>s.Xl)return;let n=this._length;this._startIndexes[n]=e,this._endIndexes[n]=t,this._length++,i<1e3&&(this._indentOccurrences[i]=(this._indentOccurrences[i]||0)+1)}toIndentRanges(e){let t=this._foldingRangesLimit.limit;if(this._length<=t){this._foldingRangesLimit.update(this._length,!1);let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let i=this._length-1,n=0;i>=0;i--,n++)e[n]=this._startIndexes[i],t[n]=this._endIndexes[i];return new s.MN(e,t)}{this._foldingRangesLimit.update(this._length,t);let i=0,o=this._indentOccurrences.length;for(let e=0;et){o=e;break}i+=n}}let r=e.getOptions().tabSize,l=new Uint32Array(t),a=new Uint32Array(t);for(let s=this._length-1,d=0;s>=0;s--){let h=this._startIndexes[s],u=e.getLineContent(h),c=(0,n.q)(u,r);(c{}}},25132:function(e,t,i){"use strict";i.d(t,{e:function(){return l}});var n=i(32378),s=i(70784),o=i(35687);let r={};class l{constructor(e,t,i,n,o){for(let r of(this.editorModel=e,this.providers=t,this.handleFoldingRangesChange=i,this.foldingRangesLimit=n,this.fallbackRangeProvider=o,this.id="syntax",this.disposables=new s.SL,o&&this.disposables.add(o),t))"function"==typeof r.onDidChange&&this.disposables.add(r.onDidChange(i))}compute(e){return(function(e,t,i){let s=null,o=e.map((e,o)=>Promise.resolve(e.provideFoldingRanges(t,r,i)).then(e=>{if(!i.isCancellationRequested&&Array.isArray(e)){Array.isArray(s)||(s=[]);let i=t.getLineCount();for(let t of e)t.start>0&&t.end>t.start&&t.end<=i&&s.push({start:t.start,end:t.end,rank:o,kind:t.kind})}},n.Cp));return Promise.all(o).then(e=>s)})(this.providers,this.editorModel,e).then(t=>{var i,n;if(t){let e=function(e,t){let i;let n=e.sort((e,t)=>{let i=e.start-t.start;return 0===i&&(i=e.rank-t.rank),i}),s=new a(t),o=[];for(let e of n)if(i){if(e.start>i.start){if(e.end<=i.end)o.push(i),i=e,s.add(e.start,e.end,e.kind&&e.kind.value,o.length);else{if(e.start>i.end){do i=o.pop();while(i&&e.start>i.end);i&&o.push(i),i=e}s.add(e.start,e.end,e.kind&&e.kind.value,o.length)}}}else i=e,s.add(e.start,e.end,e.kind&&e.kind.value,o.length);return s.toIndentRanges()}(t,this.foldingRangesLimit);return e}return null!==(n=null===(i=this.fallbackRangeProvider)||void 0===i?void 0:i.compute(e))&&void 0!==n?n:null})}dispose(){this.disposables.dispose()}}class a{constructor(e){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}add(e,t,i,n){if(e>o.Xl||t>o.Xl)return;let s=this._length;this._startIndexes[s]=e,this._endIndexes[s]=t,this._nestingLevels[s]=n,this._types[s]=i,this._length++,n<30&&(this._nestingLevelCounts[n]=(this._nestingLevelCounts[n]||0)+1)}toIndentRanges(){let e=this._foldingRangesLimit.limit;if(this._length<=e){this._foldingRangesLimit.update(this._length,!1);let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let i=0;ie){i=n;break}t+=s}}let n=new Uint32Array(e),s=new Uint32Array(e),r=[];for(let o=0,l=0;oe.provideDocumentRangeFormattingEdits(t,t.getFullModelRange(),i,n)})}return n}class D{static setFormatterSelector(e){let t=D._selectors.unshift(e);return{dispose:t}}static async select(e,t,i,n){if(0===e.length)return;let s=r.$.first(D._selectors);if(s)return await s(e,t,i,n)}}async function x(e,t,i,n,s,o,r){let l=e.get(w.TG),{documentRangeFormattingEditProvider:a}=e.get(y.p),d=(0,u.CL)(t)?t.getModel():t,h=a.ordered(d),c=await D.select(h,d,n,2);c&&(s.report(c),await l.invokeFunction(N,c,t,i,o,r))}async function N(e,t,i,s,o,r){var l,a;let d,c;let f=e.get(m.p),v=e.get(S.VZ),b=e.get(L.IV);(0,u.CL)(i)?(d=i.getModel(),c=new h.Dl(i,5,void 0,o)):(d=i,c=new h.YQ(i,o));let C=[],w=0;for(let e of(0,n._2)(s).sort(g.e.compareRangesUsingStarts))w>0&&g.e.areIntersectingOrTouching(C[w-1],e)?C[w-1]=g.e.fromPositions(C[w-1].getStartPosition(),e.getEndPosition()):w=C.push(e);let y=async e=>{var i,n;v.trace("[format][provideDocumentRangeFormattingEdits] (request)",null===(i=t.extensionId)||void 0===i?void 0:i.value,e);let s=await t.provideDocumentRangeFormattingEdits(d,e,d.getFormattingOptions(),c.token)||[];return v.trace("[format][provideDocumentRangeFormattingEdits] (response)",null===(n=t.extensionId)||void 0===n?void 0:n.value,s),s},k=(e,t)=>{if(!e.length||!t.length)return!1;let i=e.reduce((e,t)=>g.e.plusRange(e,t.range),e[0].range);if(!t.some(e=>g.e.intersectRanges(i,e.range)))return!1;for(let i of e)for(let e of t)if(g.e.intersectRanges(i.range,e.range))return!0;return!1},D=[],x=[];try{if("function"==typeof t.provideDocumentRangesFormattingEdits){v.trace("[format][provideDocumentRangeFormattingEdits] (request)",null===(l=t.extensionId)||void 0===l?void 0:l.value,C);let e=await t.provideDocumentRangesFormattingEdits(d,C,d.getFormattingOptions(),c.token)||[];v.trace("[format][provideDocumentRangeFormattingEdits] (response)",null===(a=t.extensionId)||void 0===a?void 0:a.value,e),x.push(e)}else{for(let e of C){if(c.token.isCancellationRequested)return!0;x.push(await y(e))}for(let e=0;e({text:e.text,range:g.e.lift(e.range),forceMoveMarkers:!0})),e=>{for(let{range:i}of e)if(g.e.areIntersectingOrTouching(i,t))return[new p.Y(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn)];return null})}return b.playSignal(L.iP.format,{userGesture:r}),!0}async function E(e,t,i,n,s,o){let r=e.get(w.TG),l=e.get(y.p),a=(0,u.CL)(t)?t.getModel():t,d=k(l.documentFormattingEditProvider,l.documentRangeFormattingEditProvider,a),h=await D.select(d,a,i,1);h&&(n.report(h),await r.invokeFunction(I,h,t,i,s,o))}async function I(e,t,i,n,s,o){let r,l,a;let d=e.get(m.p),c=e.get(L.IV);(0,u.CL)(i)?(r=i.getModel(),l=new h.Dl(i,5,void 0,s)):(r=i,l=new h.YQ(i,s));try{let e=await t.provideDocumentFormattingEdits(r,r.getFormattingOptions(),l.token);if(a=await d.computeMoreMinimalEdits(r.uri,e),l.token.isCancellationRequested)return!0}finally{l.dispose()}if(!a||0===a.length)return!1;if((0,u.CL)(i))_.V.execute(i,a,2!==n),2!==n&&i.revealPositionInCenterIfOutsideViewport(i.getPosition(),1);else{let[{range:e}]=a,t=new p.Y(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn);r.pushEditOperations([t],a.map(e=>({text:e.text,range:g.e.lift(e.range),forceMoveMarkers:!0})),e=>{for(let{range:i}of e)if(g.e.areIntersectingOrTouching(i,t))return[new p.Y(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn)];return null})}return c.playSignal(L.iP.format,{userGesture:o}),!0}async function T(e,t,i,s,r,l){let a=t.documentRangeFormattingEditProvider.ordered(i);for(let t of a){let a=await Promise.resolve(t.provideDocumentRangeFormattingEdits(i,s,r,l)).catch(o.Cp);if((0,n.Of)(a))return await e.computeMoreMinimalEdits(i.uri,a)}}async function M(e,t,i,s,r){let l=k(t.documentFormattingEditProvider,t.documentRangeFormattingEditProvider,i);for(let t of l){let l=await Promise.resolve(t.provideDocumentFormattingEdits(i,s,r)).catch(o.Cp);if((0,n.Of)(l))return await e.computeMoreMinimalEdits(i.uri,l)}}function R(e,t,i,n,s,r,l){let a=t.onTypeFormattingEditProvider.ordered(i);return 0===a.length||0>a[0].autoFormatTriggerCharacters.indexOf(s)?Promise.resolve(void 0):Promise.resolve(a[0].provideOnTypeFormattingEdits(i,n,s,r,l)).catch(o.Cp).then(t=>e.computeMoreMinimalEdits(i.uri,t))}D._selectors=new l.S,v.P.registerCommand("_executeFormatRangeProvider",async function(e,...t){let[i,n,o]=t;(0,a.p_)(d.o.isUri(i)),(0,a.p_)(g.e.isIRange(n));let r=e.get(f.S),l=e.get(m.p),h=e.get(y.p),u=await r.createModelReference(i);try{return T(l,h,u.object.textEditorModel,g.e.lift(n),o,s.Ts.None)}finally{u.dispose()}}),v.P.registerCommand("_executeFormatDocumentProvider",async function(e,...t){let[i,n]=t;(0,a.p_)(d.o.isUri(i));let o=e.get(f.S),r=e.get(m.p),l=e.get(y.p),h=await o.createModelReference(i);try{return M(r,l,h.object.textEditorModel,n,s.Ts.None)}finally{h.dispose()}}),v.P.registerCommand("_executeFormatOnTypeProvider",async function(e,...t){let[i,n,o,r]=t;(0,a.p_)(d.o.isUri(i)),(0,a.p_)(c.L.isIPosition(n)),(0,a.p_)("string"==typeof o);let l=e.get(f.S),h=e.get(m.p),u=e.get(y.p),g=await l.createModelReference(i);try{return R(h,u,g.object.textEditorModel,c.L.lift(n),o,r,s.Ts.None)}finally{g.dispose()}})},72229:function(e,t,i){"use strict";var n=i(40789),s=i(9424),o=i(32378),r=i(57231),l=i(70784),a=i(82508),d=i(70208),h=i(32035),u=i(70209),c=i(73440),g=i(87999),p=i(64106),m=i(83323),f=i(46450),_=i(82801),v=i(7634),b=i(81903),C=i(33336),w=i(85327),y=i(14588),S=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},L=function(e,t){return function(i,n){t(i,n,e)}};let k=class{constructor(e,t,i,n){this._editor=e,this._languageFeaturesService=t,this._workerService=i,this._accessibilitySignalService=n,this._disposables=new l.SL,this._sessionDisposables=new l.SL,this._disposables.add(t.onTypeFormattingEditProvider.onDidChange(this._update,this)),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(e=>{e.hasChanged(56)&&this._update()})),this._update()}dispose(){this._disposables.dispose(),this._sessionDisposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(56)||!this._editor.hasModel())return;let e=this._editor.getModel(),[t]=this._languageFeaturesService.onTypeFormattingEditProvider.ordered(e);if(!t||!t.autoFormatTriggerCharacters)return;let i=new h.q;for(let e of t.autoFormatTriggerCharacters)i.add(e.charCodeAt(0));this._sessionDisposables.add(this._editor.onDidType(e=>{let t=e.charCodeAt(e.length-1);i.has(t)&&this._trigger(String.fromCharCode(t))}))}_trigger(e){if(!this._editor.hasModel()||this._editor.getSelections().length>1||!this._editor.getSelection().isEmpty())return;let t=this._editor.getModel(),i=this._editor.getPosition(),o=new s.AU,r=this._editor.onDidChangeModelContent(e=>{if(e.isFlush){o.cancel(),r.dispose();return}for(let t=0,n=e.changes.length;t{!o.token.isCancellationRequested&&(0,n.Of)(e)&&(this._accessibilitySignalService.playSignal(v.iP.format,{userGesture:!1}),f.V.execute(this._editor,e,!0))}).finally(()=>{r.dispose()})}};k.ID="editor.contrib.autoFormat",k=S([L(1,p.p),L(2,g.p),L(3,v.IV)],k);let D=class{constructor(e,t,i){this.editor=e,this._languageFeaturesService=t,this._instantiationService=i,this._callOnDispose=new l.SL,this._callOnModel=new l.SL,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(t.documentRangeFormattingEditProvider.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(55)&&this.editor.hasModel()&&this._languageFeaturesService.documentRangeFormattingEditProvider.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:e})=>this._trigger(e)))}_trigger(e){this.editor.hasModel()&&!(this.editor.getSelections().length>1)&&this._instantiationService.invokeFunction(m.x$,this.editor,e,2,y.Ex.None,s.Ts.None,!1).catch(o.dL)}};D.ID="editor.contrib.formatOnPaste",D=S([L(1,p.p),L(2,w.TG)],D);class x extends a.R6{constructor(){super({id:"editor.action.formatDocument",label:_.NC("formatDocument.label","Format Document"),alias:"Format Document",precondition:C.Ao.and(c.u.notInCompositeEditor,c.u.writable,c.u.hasDocumentFormattingProvider),kbOpts:{kbExpr:c.u.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:"1_modification",order:1.3}})}async run(e,t){if(t.hasModel()){let i=e.get(w.TG),n=e.get(y.ek);await n.showWhile(i.invokeFunction(m.Qq,t,1,y.Ex.None,s.Ts.None,!0),250)}}}class N extends a.R6{constructor(){super({id:"editor.action.formatSelection",label:_.NC("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:C.Ao.and(c.u.writable,c.u.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:c.u.editorTextFocus,primary:(0,r.gx)(2089,2084),weight:100},contextMenuOpts:{when:c.u.hasNonEmptySelection,group:"1_modification",order:1.31}})}async run(e,t){if(!t.hasModel())return;let i=e.get(w.TG),n=t.getModel(),o=t.getSelections().map(e=>e.isEmpty()?new u.e(e.startLineNumber,1,e.startLineNumber,n.getLineMaxColumn(e.startLineNumber)):e),r=e.get(y.ek);await r.showWhile(i.invokeFunction(m.x$,t,o,1,y.Ex.None,s.Ts.None,!0),250)}}(0,a._K)(k.ID,k,2),(0,a._K)(D.ID,D,2),(0,a.Qr)(x),(0,a.Qr)(N),b.P.registerCommand("editor.action.format",async e=>{let t=e.get(d.$).getFocusedCodeEditor();if(!t||!t.hasModel())return;let i=e.get(b.H);t.getSelection().isEmpty()?await i.executeCommand("editor.action.formatDocument"):await i.executeCommand("editor.action.formatSelection")})},46450:function(e,t,i){"use strict";i.d(t,{V:function(){return r}});var n=i(26318),s=i(70209),o=i(24846);class r{static _handleEolEdits(e,t){let i;let n=[];for(let e of t)"number"==typeof e.eol&&(i=e.eol),e.range&&"string"==typeof e.text&&n.push(e);return"number"==typeof i&&e.hasModel()&&e.getModel().pushEOL(i),n}static _isFullModelReplaceEdit(e,t){if(!e.hasModel())return!1;let i=e.getModel(),n=i.validateRange(t.range),s=i.getFullModelRange();return s.equalsRange(n)}static execute(e,t,i){i&&e.pushUndoStop();let l=o.Z.capture(e),a=r._handleEolEdits(e,t);1===a.length&&r._isFullModelReplaceEdit(e,a[0])?e.executeEdits("formatEditsCommand",a.map(e=>n.h.replace(s.e.lift(e.range),e.text))):e.executeEdits("formatEditsCommand",a.map(e=>n.h.replaceMove(s.e.lift(e.range),e.text))),i&&e.pushUndoStop(),l.restoreRelativeVerticalPositionOfCursor(e)}}},41854:function(e,t,i){"use strict";i.d(t,{c:function(){return es},v:function(){return er}});var n,s,o,r=i(47039),l=i(70784),a=i(82508),d=i(70208),h=i(86570),u=i(70209),c=i(73440),g=i(40789),p=i(79915),m=i(92270),f=i(95612),_=i(5482),v=i(66653),b=i(85327),C=i(16324),w=i(78426),y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},S=function(e,t){return function(i,n){t(i,n,e)}};class L{constructor(e,t,i){this.marker=e,this.index=t,this.total=i}}let k=class{constructor(e,t,i){this._markerService=t,this._configService=i,this._onDidChange=new p.Q5,this.onDidChange=this._onDidChange.event,this._dispoables=new l.SL,this._markers=[],this._nextIdx=-1,_.o.isUri(e)?this._resourceFilter=t=>t.toString()===e.toString():e&&(this._resourceFilter=e);let n=this._configService.getValue("problems.sortOrder"),s=(e,t)=>{let i=(0,f.qu)(e.resource.toString(),t.resource.toString());return 0===i&&(i="position"===n?u.e.compareRangesUsingStarts(e,t)||C.ZL.compare(e.severity,t.severity):C.ZL.compare(e.severity,t.severity)||u.e.compareRangesUsingStarts(e,t)),i},o=()=>{this._markers=this._markerService.read({resource:_.o.isUri(e)?e:void 0,severities:C.ZL.Error|C.ZL.Warning|C.ZL.Info}),"function"==typeof e&&(this._markers=this._markers.filter(e=>this._resourceFilter(e.resource))),this._markers.sort(s)};o(),this._dispoables.add(t.onMarkerChanged(e=>{(!this._resourceFilter||e.some(e=>this._resourceFilter(e)))&&(o(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(e){return!this._resourceFilter&&!e||!!this._resourceFilter&&!!e&&this._resourceFilter(e)}get selected(){let e=this._markers[this._nextIdx];return e&&new L(e,this._nextIdx+1,this._markers.length)}_initIdx(e,t,i){let n=!1,s=this._markers.findIndex(t=>t.resource.toString()===e.uri.toString());s<0&&(s=(0,g.ry)(this._markers,{resource:e.uri},(e,t)=>(0,f.qu)(e.resource.toString(),t.resource.toString())))<0&&(s=~s);for(let i=s;it.resource.toString()===e.toString());if(!(i<0)){for(;i{e.preventDefault();let t=this._relatedDiagnostics.get(e.target);t&&i(t)})),this._scrollable=new R.NB(o,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:6,verticalScrollbarSize:6}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(e=>{o.style.left=`-${e.scrollLeft}px`,o.style.top=`-${e.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){(0,l.B9)(this._disposables)}update(e){let{source:t,message:i,relatedInformation:n,code:s}=e,o=((null==t?void 0:t.length)||0)+2;s&&("string"==typeof s?o+=s.length:o+=s.value.length);let r=(0,f.uq)(i);for(let e of(this._lines=r.length,this._longestLineLength=0,r))this._longestLineLength=Math.max(e.length+o,this._longestLineLength);M.PO(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(e)),this._editor.applyFontInfo(this._messageBlock);let l=this._messageBlock;for(let e of r)(l=document.createElement("div")).innerText=e,""===e&&(l.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(l);if(t||s){let e=document.createElement("span");if(e.classList.add("details"),l.appendChild(e),t){let i=document.createElement("span");i.innerText=t,i.classList.add("source"),e.appendChild(i)}if(s){if("string"==typeof s){let t=document.createElement("span");t.innerText=`(${s})`,t.classList.add("code"),e.appendChild(t)}else{this._codeLink=M.$("a.code-link"),this._codeLink.setAttribute("href",`${s.target.toString()}`),this._codeLink.onclick=e=>{this._openerService.open(s.target,{allowCommands:!0}),e.preventDefault(),e.stopPropagation()};let t=M.R3(this._codeLink,M.$("span"));t.innerText=s.value,e.appendChild(this._codeLink)}}}if(M.PO(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),(0,g.Of)(n)){let e=this._relatedBlock.appendChild(document.createElement("div"));for(let t of(e.style.paddingTop=`${Math.floor(.66*this._editor.getOption(67))}px`,this._lines+=1,n)){let i=document.createElement("div"),n=document.createElement("a");n.classList.add("filename"),n.innerText=`${this._labelService.getUriBasenameLabel(t.resource)}(${t.startLineNumber}, ${t.startColumn}): `,n.title=this._labelService.getUriLabel(t.resource),this._relatedDiagnostics.set(n,t);let s=document.createElement("span");s.innerText=t.message,i.appendChild(n),i.appendChild(s),this._lines+=1,e.appendChild(i)}}let a=this._editor.getOption(50),d=Math.ceil(a.typicalFullwidthCharacterWidth*this._longestLineLength*.75),h=a.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:d,scrollHeight:h})}layout(e,t){this._scrollable.getDomNode().style.height=`${e}px`,this._scrollable.getDomNode().style.width=`${t}px`,this._scrollable.setScrollDimensions({width:t,height:e})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(e){let t="";switch(e.severity){case C.ZL.Error:t=N.NC("Error","Error");break;case C.ZL.Warning:t=N.NC("Warning","Warning");break;case C.ZL.Info:t=N.NC("Info","Info");break;case C.ZL.Hint:t=N.NC("Hint","Hint")}let i=N.NC("marker aria","{0} at {1}. ",t,e.startLineNumber+":"+e.startColumn),n=this._editor.getModel();if(n&&e.startLineNumber<=n.getLineCount()&&e.startLineNumber>=1){let t=n.getLineContent(e.startLineNumber);i=`${t}, ${i}`}return i}}let q=s=class extends O.vk{constructor(e,t,i,n,s,o,r){super(e,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},s),this._themeService=t,this._openerService=i,this._menuService=n,this._contextKeyService=o,this._labelService=r,this._callOnDispose=new l.SL,this._onDidSelectRelatedInformation=new p.Q5,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=C.ZL.Warning,this._backgroundColor=A.Il.white,this._applyTheme(t.getColorTheme()),this._callOnDispose.add(t.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(e){this._backgroundColor=e.getColor(ei);let t=Z,i=Y;this._severity===C.ZL.Warning?(t=J,i=X):this._severity===C.ZL.Info&&(t=ee,i=et);let n=e.getColor(t),s=e.getColor(i);this.style({arrowColor:n,frameColor:n,headerBackgroundColor:s,primaryHeadingColor:e.getColor(O.IH),secondaryHeadingColor:e.getColor(O.R7)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(e){super._fillHead(e),this._disposables.add(this._actionbarWidget.actionRunner.onWillRun(e=>this.editor.focus()));let t=[],i=this._menuService.createMenu(s.TitleMenu,this._contextKeyService);(0,F.vr)(i,void 0,t),this._actionbarWidget.push(t,{label:!1,icon:!0,index:0}),i.dispose()}_fillTitleIcon(e){this._icon=M.R3(e,M.$(""))}_fillBody(e){this._parentContainer=e,e.classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),e.appendChild(this._container),this._message=new $(this._container,this.editor,e=>this._onDidSelectRelatedInformation.fire(e),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw Error("call showAtMarker")}showAtMarker(e,t,i){this._container.classList.remove("stale"),this._message.update(e),this._severity=e.severity,this._applyTheme(this._themeService.getColorTheme());let s=u.e.lift(e),o=this.editor.getPosition(),r=o&&s.containsPosition(o)?o:s.getStartPosition();super.show(r,this.computeRequiredHeight());let l=this.editor.getModel();if(l){let e=i>1?N.NC("problems","{0} of {1} problems",t,i):N.NC("change","{0} of {1} problem",t,i);this.setTitle((0,P.EZ)(l.uri),e)}this._icon.className=`codicon ${n.className(C.ZL.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(r,0),this.editor.focus()}updateMarker(e){this._container.classList.remove("stale"),this._message.update(e)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._heightInPixel=e,this._message.layout(e,t),this._container.style.height=`${e}px`}_onWidth(e){this._message.layout(this._heightInPixel,e)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};q.TitleMenu=new E.eH("gotoErrorTitleMenu"),q=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([U(1,K.XE),U(2,W.v),U(3,E.co),U(4,b.TG),U(5,I.i6),U(6,B.e)],q);let j=(0,z.kwl)(z.lXJ,z.b6y),G=(0,z.kwl)(z.uoC,z.pW3),Q=(0,z.kwl)(z.c63,z.T83),Z=(0,z.P6G)("editorMarkerNavigationError.background",{dark:j,light:j,hcDark:z.lRK,hcLight:z.lRK},N.NC("editorMarkerNavigationError","Editor marker navigation widget error color.")),Y=(0,z.P6G)("editorMarkerNavigationError.headerBackground",{dark:(0,z.ZnX)(Z,.1),light:(0,z.ZnX)(Z,.1),hcDark:null,hcLight:null},N.NC("editorMarkerNavigationErrorHeaderBackground","Editor marker navigation widget error heading background.")),J=(0,z.P6G)("editorMarkerNavigationWarning.background",{dark:G,light:G,hcDark:z.lRK,hcLight:z.lRK},N.NC("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),X=(0,z.P6G)("editorMarkerNavigationWarning.headerBackground",{dark:(0,z.ZnX)(J,.1),light:(0,z.ZnX)(J,.1),hcDark:"#0C141F",hcLight:(0,z.ZnX)(J,.2)},N.NC("editorMarkerNavigationWarningBackground","Editor marker navigation widget warning heading background.")),ee=(0,z.P6G)("editorMarkerNavigationInfo.background",{dark:Q,light:Q,hcDark:z.lRK,hcLight:z.lRK},N.NC("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),et=(0,z.P6G)("editorMarkerNavigationInfo.headerBackground",{dark:(0,z.ZnX)(ee,.1),light:(0,z.ZnX)(ee,.1),hcDark:null,hcLight:null},N.NC("editorMarkerNavigationInfoHeaderBackground","Editor marker navigation widget info heading background.")),ei=(0,z.P6G)("editorMarkerNavigation.background",{dark:z.cvW,light:z.cvW,hcDark:z.cvW,hcLight:z.cvW},N.NC("editorMarkerNavigationBackground","Editor marker navigation widget background."));var en=function(e,t){return function(i,n){t(i,n,e)}};let es=o=class{static get(e){return e.getContribution(o.ID)}constructor(e,t,i,n,s){this._markerNavigationService=t,this._contextKeyService=i,this._editorService=n,this._instantiationService=s,this._sessionDispoables=new l.SL,this._editor=e,this._widgetVisible=ea.bindTo(this._contextKeyService)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(e){if(this._model&&this._model.matches(e))return this._model;let t=!1;return this._model&&(t=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(e),t&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(q,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(e=>{var t,i,n;(null===(t=this._model)||void 0===t?void 0:t.selected)&&u.e.containsPosition(null===(i=this._model)||void 0===i?void 0:i.selected.marker,e.position)||null===(n=this._model)||void 0===n||n.resetIndex()})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;let e=this._model.find(this._editor.getModel().uri,this._widget.position);e?this._widget.updateMarker(e.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(e=>{this._editorService.openCodeEditor({resource:e.resource,options:{pinned:!0,revealIfOpened:!0,selection:u.e.lift(e).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(e=!0){this._cleanUp(),e&&this._editor.focus()}showAtMarker(e){if(this._editor.hasModel()){let t=this._getOrCreateModel(this._editor.getModel().uri);t.resetIndex(),t.move(!0,this._editor.getModel(),new h.L(e.startLineNumber,e.startColumn)),t.selected&&this._widget.showAtMarker(t.selected.marker,t.selected.index,t.selected.total)}}async nagivate(e,t){var i,n;if(this._editor.hasModel()){let s=this._getOrCreateModel(t?void 0:this._editor.getModel().uri);if(s.move(e,this._editor.getModel(),this._editor.getPosition()),!s.selected)return;if(s.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();let r=await this._editorService.openCodeEditor({resource:s.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:s.selected.marker}},this._editor);r&&(null===(i=o.get(r))||void 0===i||i.close(),null===(n=o.get(r))||void 0===n||n.nagivate(e,t))}else this._widget.showAtMarker(s.selected.marker,s.selected.index,s.selected.total)}}};es.ID="editor.contrib.markerController",es=o=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([en(1,D),en(2,I.i6),en(3,d.$),en(4,b.TG)],es);class eo extends a.R6{constructor(e,t,i){super(i),this._next=e,this._multiFile=t}async run(e,t){var i;t.hasModel()&&(null===(i=es.get(t))||void 0===i||i.nagivate(this._next,this._multiFile))}}class er extends eo{constructor(){super(!0,!1,{id:er.ID,label:er.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:578,weight:100},menuOpts:{menuId:q.TitleMenu,title:er.LABEL,icon:(0,T.q5)("marker-navigation-next",r.l.arrowDown,N.NC("nextMarkerIcon","Icon for goto next marker.")),group:"navigation",order:1}})}}er.ID="editor.action.marker.next",er.LABEL=N.NC("markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class el extends eo{constructor(){super(!1,!1,{id:el.ID,label:el.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:1602,weight:100},menuOpts:{menuId:q.TitleMenu,title:el.LABEL,icon:(0,T.q5)("marker-navigation-previous",r.l.arrowUp,N.NC("previousMarkerIcon","Icon for goto previous marker.")),group:"navigation",order:2}})}}el.ID="editor.action.marker.prev",el.LABEL=N.NC("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)"),(0,a._K)(es.ID,es,4),(0,a.Qr)(er),(0,a.Qr)(el),(0,a.Qr)(class extends eo{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:N.NC("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:66,weight:100},menuOpts:{menuId:E.eH.MenubarGoMenu,title:N.NC({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}),(0,a.Qr)(class extends eo{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:N.NC("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:1090,weight:100},menuOpts:{menuId:E.eH.MenubarGoMenu,title:N.NC({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}});let ea=new I.uy("markersNavigationVisible",!1),ed=a._l.bindToContribution(es.get);(0,a.fK)(new ed({id:"closeMarkersNavigation",precondition:ea,handler:e=>e.close(),kbOpts:{weight:150,kbExpr:c.u.focus,primary:9,secondary:[1033]}}))},38820:function(e,t,i){"use strict";i.d(t,{BT:function(){return ee},Bj:function(){return X},_k:function(){return J}});var n,s,o,r,l,a,d,h,u=i(16506),c=i(44532),g=i(57231),p=i(24162),m=i(5482),f=i(71141),_=i(2197),v=i(82508),b=i(70208),C=i(98549),w=i(86570),y=i(70209),S=i(73440),L=i(1863),k=i(2156),D=i(60416),x=i(79915),N=i(70784),E=i(1271),I=i(82801),T=i(33336),M=i(66653),R=i(85327),A=i(46417),P=i(93589),O=i(16575),F=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},B=function(e,t){return function(i,n){t(i,n,e)}};let W=new T.uy("hasSymbols",!1,(0,I.NC)("hasSymbols","Whether there are symbol locations that can be navigated via keyboard-only.")),H=(0,R.yh)("ISymbolNavigationService"),V=class{constructor(e,t,i,n){this._editorService=t,this._notificationService=i,this._keybindingService=n,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=W.bindTo(e)}reset(){var e,t;this._ctxHasSymbols.reset(),null===(e=this._currentState)||void 0===e||e.dispose(),null===(t=this._currentMessage)||void 0===t||t.dispose(),this._currentModel=void 0,this._currentIdx=-1}put(e){let t=e.parent.parent;if(t.references.length<=1){this.reset();return}this._currentModel=t,this._currentIdx=t.references.indexOf(e),this._ctxHasSymbols.set(!0),this._showMessage();let i=new z(this._editorService),n=i.onDidChange(e=>{if(this._ignoreEditorChange)return;let i=this._editorService.getActiveCodeEditor();if(!i)return;let n=i.getModel(),s=i.getPosition();if(!n||!s)return;let o=!1,r=!1;for(let e of t.references)if((0,E.Xy)(e.uri,n.uri))o=!0,r=r||y.e.containsPosition(e.range,s);else if(o)break;o&&r||this.reset()});this._currentState=(0,N.F8)(i,n)}revealNext(e){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;let t=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:t.uri,options:{selection:y.e.collapseToStart(t.range),selectionRevealType:3}},e).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){var e;null===(e=this._currentMessage)||void 0===e||e.dispose();let t=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),i=t?(0,I.NC)("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,t.getLabel()):(0,I.NC)("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(i)}};V=F([B(0,T.i6),B(1,b.$),B(2,O.lT),B(3,A.d)],V),(0,M.z)(H,V,1),(0,v.fK)(new class extends v._l{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:W,kbOpts:{weight:100,primary:70}})}runEditorCommand(e,t){return e.get(H).revealNext(t)}}),P.W.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:W,primary:9,handler(e){e.get(H).reset()}});let z=class{constructor(e){this._listener=new Map,this._disposables=new N.SL,this._onDidChange=new x.Q5,this.onDidChange=this._onDidChange.event,this._disposables.add(e.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(e.onCodeEditorAdd(this._onDidAddEditor,this)),e.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),(0,N.B9)(this._listener.values())}_onDidAddEditor(e){this._listener.set(e,(0,N.F8)(e.onDidChangeCursorPosition(t=>this._onDidChange.fire({editor:e})),e.onDidChangeModelContent(t=>this._onDidChange.fire({editor:e}))))}_onDidRemoveEditor(e){var t;null===(t=this._listener.get(e))||void 0===t||t.dispose(),this._listener.delete(e)}};z=F([B(0,b.$)],z);var K=i(7727),U=i(62205),$=i(30467),q=i(81903),j=i(14588),G=i(20091),Q=i(64106),Z=i(93072),Y=i(28656);$.BH.appendMenuItem($.eH.EditorContext,{submenu:$.eH.EditorContextPeek,title:I.NC("peek.submenu","Peek"),group:"navigation",order:100});class J{static is(e){return!!e&&"object"==typeof e&&!!(e instanceof J||w.L.isIPosition(e.position)&&e.model)}constructor(e,t){this.model=e,this.position=t}}class X extends v.x1{static all(){return X._allSymbolNavigationCommands.values()}static _patchConfig(e){let t={...e,f1:!0};if(t.menu)for(let i of Z.$.wrap(t.menu))(i.id===$.eH.EditorContext||i.id===$.eH.EditorContextPeek)&&(i.when=T.Ao.and(e.precondition,i.when));return t}constructor(e,t){super(X._patchConfig(t)),this.configuration=e,X._allSymbolNavigationCommands.set(t.id,this)}runEditorCommand(e,t,i,n){if(!t.hasModel())return Promise.resolve(void 0);let s=e.get(O.lT),o=e.get(b.$),r=e.get(j.ek),l=e.get(H),a=e.get(Q.p),d=e.get(R.TG),h=t.getModel(),g=t.getPosition(),p=J.is(i)?i:new J(h,g),m=new f.Dl(t,5),_=(0,c.eP)(this._getLocationModel(a,p.model,p.position,m.token),m.token).then(async e=>{var s;let r;if(!e||m.token.isCancellationRequested)return;if((0,u.Z9)(e.ariaMessage),e.referenceAt(h.uri,g)){let e=this._getAlternativeCommand(t);!X._activeAlternativeCommands.has(e)&&X._allSymbolNavigationCommands.has(e)&&(r=X._allSymbolNavigationCommands.get(e))}let a=e.references.length;if(0===a){if(!this.configuration.muteMessage){let e=h.getWordAtPosition(g);null===(s=K.O.get(t))||void 0===s||s.showMessage(this._getNoResultFoundMessage(e),g)}}else{if(1!==a||!r)return this._onResult(o,l,t,e,n);X._activeAlternativeCommands.add(this.desc.id),d.invokeFunction(e=>r.runEditorCommand(e,t,i,n).finally(()=>{X._activeAlternativeCommands.delete(this.desc.id)}))}},e=>{s.error(e)}).finally(()=>{m.dispose()});return r.showWhile(_,250),_}async _onResult(e,t,i,n,s){let o=this._getGoToPreference(i);if(i instanceof C.H||!this.configuration.openInPeek&&("peek"!==o||!(n.references.length>1))){let r=n.firstReference(),l=n.references.length>1&&"gotoAndPeek"===o,a=await this._openReference(i,e,r,this.configuration.openToSide,!l);l&&a?this._openInPeek(a,n,s):n.dispose(),"goto"===o&&t.put(r)}else this._openInPeek(i,n,s)}async _openReference(e,t,i,n,s){let o;if((0,L.vx)(i)&&(o=i.targetSelectionRange),o||(o=i.range),!o)return;let r=await t.openCodeEditor({resource:i.uri,options:{selection:y.e.collapseToStart(o),selectionRevealType:3,selectionSource:"code.jump"}},e,n);if(r){if(s){let e=r.getModel(),t=r.createDecorationsCollection([{range:o,options:{description:"symbol-navigate-action-highlight",className:"symbolHighlight"}}]);setTimeout(()=>{r.getModel()===e&&t.clear()},350)}return r}}_openInPeek(e,t,i){let n=k.J.get(e);n&&e.hasModel()?n.toggleWidget(null!=i?i:e.getSelection(),(0,c.PG)(e=>Promise.resolve(t)),this.configuration.openInPeek):t.dispose()}}X._allSymbolNavigationCommands=new Map,X._activeAlternativeCommands=new Set;class ee extends X{async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.nD)(e.definitionProvider,t,i,n),I.NC("def.title","Definitions"))}_getNoResultFoundMessage(e){return e&&e.word?I.NC("noResultWord","No definition found for '{0}'",e.word):I.NC("generic.noResults","No definition found")}_getAlternativeCommand(e){return e.getOption(58).alternativeDefinitionCommand}_getGoToPreference(e){return e.getOption(58).multipleDefinitions}}(0,$.r1)(((n=class extends ee{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:n.id,title:{...I.vv("actions.goToDecl.label","Go to Definition"),mnemonicTitle:I.NC({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")},precondition:S.u.hasDefinitionProvider,keybinding:[{when:S.u.editorTextFocus,primary:70,weight:100},{when:T.Ao.and(S.u.editorTextFocus,Y.Pf),primary:2118,weight:100}],menu:[{id:$.eH.EditorContext,group:"navigation",order:1.1},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:2}]}),q.P.registerCommandAlias("editor.action.goToDeclaration",n.id)}}).id="editor.action.revealDefinition",n)),(0,$.r1)(((s=class extends ee{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:s.id,title:I.vv("actions.goToDeclToSide.label","Open Definition to the Side"),precondition:T.Ao.and(S.u.hasDefinitionProvider,S.u.isInEmbeddedEditor.toNegated()),keybinding:[{when:S.u.editorTextFocus,primary:(0,g.gx)(2089,70),weight:100},{when:T.Ao.and(S.u.editorTextFocus,Y.Pf),primary:(0,g.gx)(2089,2118),weight:100}]}),q.P.registerCommandAlias("editor.action.openDeclarationToTheSide",s.id)}}).id="editor.action.revealDefinitionAside",s)),(0,$.r1)(((o=class extends ee{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:o.id,title:I.vv("actions.previewDecl.label","Peek Definition"),precondition:T.Ao.and(S.u.hasDefinitionProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),keybinding:{when:S.u.editorTextFocus,primary:582,linux:{primary:3140},weight:100},menu:{id:$.eH.EditorContextPeek,group:"peek",order:2}}),q.P.registerCommandAlias("editor.action.previewDeclaration",o.id)}}).id="editor.action.peekDefinition",o));class et extends X{async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.zq)(e.declarationProvider,t,i,n),I.NC("decl.title","Declarations"))}_getNoResultFoundMessage(e){return e&&e.word?I.NC("decl.noResultWord","No declaration found for '{0}'",e.word):I.NC("decl.generic.noResults","No declaration found")}_getAlternativeCommand(e){return e.getOption(58).alternativeDeclarationCommand}_getGoToPreference(e){return e.getOption(58).multipleDeclarations}}(0,$.r1)(((r=class extends et{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:r.id,title:{...I.vv("actions.goToDeclaration.label","Go to Declaration"),mnemonicTitle:I.NC({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")},precondition:T.Ao.and(S.u.hasDeclarationProvider,S.u.isInEmbeddedEditor.toNegated()),menu:[{id:$.eH.EditorContext,group:"navigation",order:1.3},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}_getNoResultFoundMessage(e){return e&&e.word?I.NC("decl.noResultWord","No declaration found for '{0}'",e.word):I.NC("decl.generic.noResults","No declaration found")}}).id="editor.action.revealDeclaration",r)),(0,$.r1)(class extends et{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",title:I.vv("actions.peekDecl.label","Peek Declaration"),precondition:T.Ao.and(S.u.hasDeclarationProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),menu:{id:$.eH.EditorContextPeek,group:"peek",order:3}})}});class ei extends X{async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.L3)(e.typeDefinitionProvider,t,i,n),I.NC("typedef.title","Type Definitions"))}_getNoResultFoundMessage(e){return e&&e.word?I.NC("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):I.NC("goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(e){return e.getOption(58).alternativeTypeDefinitionCommand}_getGoToPreference(e){return e.getOption(58).multipleTypeDefinitions}}(0,$.r1)(((l=class extends ei{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:l.ID,title:{...I.vv("actions.goToTypeDefinition.label","Go to Type Definition"),mnemonicTitle:I.NC({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")},precondition:S.u.hasTypeDefinitionProvider,keybinding:{when:S.u.editorTextFocus,primary:0,weight:100},menu:[{id:$.eH.EditorContext,group:"navigation",order:1.4},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}}).ID="editor.action.goToTypeDefinition",l)),(0,$.r1)(((a=class extends ei{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:a.ID,title:I.vv("actions.peekTypeDefinition.label","Peek Type Definition"),precondition:T.Ao.and(S.u.hasTypeDefinitionProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),menu:{id:$.eH.EditorContextPeek,group:"peek",order:4}})}}).ID="editor.action.peekTypeDefinition",a));class en extends X{async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.f4)(e.implementationProvider,t,i,n),I.NC("impl.title","Implementations"))}_getNoResultFoundMessage(e){return e&&e.word?I.NC("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):I.NC("goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(e){return e.getOption(58).alternativeImplementationCommand}_getGoToPreference(e){return e.getOption(58).multipleImplementations}}(0,$.r1)(((d=class extends en{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:d.ID,title:{...I.vv("actions.goToImplementation.label","Go to Implementations"),mnemonicTitle:I.NC({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},precondition:S.u.hasImplementationProvider,keybinding:{when:S.u.editorTextFocus,primary:2118,weight:100},menu:[{id:$.eH.EditorContext,group:"navigation",order:1.45},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:4}]})}}).ID="editor.action.goToImplementation",d)),(0,$.r1)(((h=class extends en{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:h.ID,title:I.vv("actions.peekImplementation.label","Peek Implementations"),precondition:T.Ao.and(S.u.hasImplementationProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),keybinding:{when:S.u.editorTextFocus,primary:3142,weight:100},menu:{id:$.eH.EditorContextPeek,group:"peek",order:5}})}}).ID="editor.action.peekImplementation",h));class es extends X{_getNoResultFoundMessage(e){return e?I.NC("references.no","No references found for '{0}'",e.word):I.NC("references.noGeneric","No references found")}_getAlternativeCommand(e){return e.getOption(58).alternativeReferenceCommand}_getGoToPreference(e){return e.getOption(58).multipleReferences}}(0,$.r1)(class extends es{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",title:{...I.vv("goToReferences.label","Go to References"),mnemonicTitle:I.NC({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")},precondition:T.Ao.and(S.u.hasReferenceProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),keybinding:{when:S.u.editorTextFocus,primary:1094,weight:100},menu:[{id:$.eH.EditorContext,group:"navigation",order:1.45},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:5}]})}async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.aA)(e.referenceProvider,t,i,!0,n),I.NC("ref.title","References"))}}),(0,$.r1)(class extends es{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",title:I.vv("references.action.label","Peek References"),precondition:T.Ao.and(S.u.hasReferenceProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),menu:{id:$.eH.EditorContextPeek,group:"peek",order:6}})}async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.aA)(e.referenceProvider,t,i,!1,n),I.NC("ref.title","References"))}});class eo extends X{constructor(e,t,i){super(e,{id:"editor.action.goToLocation",title:I.vv("label.generic","Go to Any Symbol"),precondition:T.Ao.and(U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated())}),this._references=t,this._gotoMultipleBehaviour=i}async _getLocationModel(e,t,i,n){return new D.oQ(this._references,I.NC("generic.title","Locations"))}_getNoResultFoundMessage(e){return e&&I.NC("generic.noResult","No results for '{0}'",e.word)||""}_getGoToPreference(e){var t;return null!==(t=this._gotoMultipleBehaviour)&&void 0!==t?t:e.getOption(58).multipleReferences}_getAlternativeCommand(){return""}}q.P.registerCommand({id:"editor.action.goToLocations",metadata:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:m.o},{name:"position",description:"The position at which to start",constraint:w.L.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto`"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:async(e,t,i,n,s,o,r)=>{(0,p.p_)(m.o.isUri(t)),(0,p.p_)(w.L.isIPosition(i)),(0,p.p_)(Array.isArray(n)),(0,p.p_)(void 0===s||"string"==typeof s),(0,p.p_)(void 0===r||"boolean"==typeof r);let l=e.get(b.$),a=await l.openCodeEditor({resource:t},l.getFocusedCodeEditor());if((0,_.CL)(a))return a.setPosition(i),a.revealPositionInCenterIfOutsideViewport(i,0),a.invokeWithinContext(e=>{let t=new class extends eo{_getNoResultFoundMessage(e){return o||super._getNoResultFoundMessage(e)}}({muteMessage:!o,openInPeek:!!r,openToSide:!1},n,s);e.get(R.TG).invokeFunction(t.run.bind(t),a)})}}),q.P.registerCommand({id:"editor.action.peekLocations",metadata:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:m.o},{name:"position",description:"The position at which to start",constraint:w.L.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto`"}]},handler:async(e,t,i,n,s)=>{e.get(q.H).executeCommand("editor.action.goToLocations",t,i,n,s,void 0,!0)}}),q.P.registerCommand({id:"editor.action.findReferences",handler:(e,t,i)=>{(0,p.p_)(m.o.isUri(t)),(0,p.p_)(w.L.isIPosition(i));let n=e.get(Q.p),s=e.get(b.$);return s.openCodeEditor({resource:t},s.getFocusedCodeEditor()).then(e=>{if(!(0,_.CL)(e)||!e.hasModel())return;let t=k.J.get(e);if(!t)return;let s=(0,c.PG)(t=>(0,G.aA)(n.referenceProvider,e.getModel(),w.L.lift(i),!1,t).then(e=>new D.oQ(e,I.NC("ref.title","References")))),o=new y.e(i.lineNumber,i.column,i.lineNumber,i.column);return Promise.resolve(t.toggleWidget(o,s,!1))})}}),q.P.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations")},20091:function(e,t,i){"use strict";i.d(t,{L3:function(){return m},aA:function(){return f},f4:function(){return p},nD:function(){return c},zq:function(){return g}});var n=i(40789),s=i(9424),o=i(32378),r=i(72249),l=i(82508),a=i(64106),d=i(60416);function h(e,t){return t.uri.scheme===e.uri.scheme||!(0,r.Gs)(t.uri,r.lg.walkThroughSnippet,r.lg.vscodeChatCodeBlock,r.lg.vscodeChatCodeCompareBlock,r.lg.vscodeCopilotBackingChatCodeBlock)}async function u(e,t,i,s){let r=i.ordered(e),l=r.map(i=>Promise.resolve(s(i,e,t)).then(void 0,e=>{(0,o.Cp)(e)})),a=await Promise.all(l);return(0,n.kX)(a.flat()).filter(t=>h(e,t))}function c(e,t,i,n){return u(t,i,e,(e,t,i)=>e.provideDefinition(t,i,n))}function g(e,t,i,n){return u(t,i,e,(e,t,i)=>e.provideDeclaration(t,i,n))}function p(e,t,i,n){return u(t,i,e,(e,t,i)=>e.provideImplementation(t,i,n))}function m(e,t,i,n){return u(t,i,e,(e,t,i)=>e.provideTypeDefinition(t,i,n))}function f(e,t,i,n,s){return u(t,i,e,async(e,t,i)=>{var o,r;let l=null===(o=await e.provideReferences(t,i,{includeDeclaration:!0},s))||void 0===o?void 0:o.filter(e=>h(t,e));if(!n||!l||2!==l.length)return l;let a=null===(r=await e.provideReferences(t,i,{includeDeclaration:!1},s))||void 0===r?void 0:r.filter(e=>h(t,e));return a&&1===a.length?a:l})}async function _(e){let t=await e(),i=new d.oQ(t,""),n=i.references.map(e=>e.link);return i.dispose(),n}(0,l.sb)("_executeDefinitionProvider",(e,t,i)=>{let n=e.get(a.p),o=c(n.definitionProvider,t,i,s.Ts.None);return _(()=>o)}),(0,l.sb)("_executeTypeDefinitionProvider",(e,t,i)=>{let n=e.get(a.p),o=m(n.typeDefinitionProvider,t,i,s.Ts.None);return _(()=>o)}),(0,l.sb)("_executeDeclarationProvider",(e,t,i)=>{let n=e.get(a.p),o=g(n.declarationProvider,t,i,s.Ts.None);return _(()=>o)}),(0,l.sb)("_executeReferenceProvider",(e,t,i)=>{let n=e.get(a.p),o=f(n.referenceProvider,t,i,!1,s.Ts.None);return _(()=>o)}),(0,l.sb)("_executeImplementationProvider",(e,t,i)=>{let n=e.get(a.p),o=p(n.implementationProvider,t,i,s.Ts.None);return _(()=>o)})},32350:function(e,t,i){"use strict";i.d(t,{yN:function(){return h}});var n=i(79915),s=i(70784),o=i(58022);class r{constructor(e,t){this.target=e.target,this.isLeftClick=e.event.leftButton,this.isMiddleClick=e.event.middleButton,this.isRightClick=e.event.rightButton,this.hasTriggerModifier=!!e.event[t.triggerModifier],this.hasSideBySideModifier=!!e.event[t.triggerSideBySideModifier],this.isNoneOrSingleMouseDown=e.event.detail<=1}}class l{constructor(e,t){this.keyCodeIsTriggerKey=e.keyCode===t.triggerKey,this.keyCodeIsSideBySideKey=e.keyCode===t.triggerSideBySideKey,this.hasTriggerModifier=!!e[t.triggerModifier]}}class a{constructor(e,t,i,n){this.triggerKey=e,this.triggerModifier=t,this.triggerSideBySideKey=i,this.triggerSideBySideModifier=n}equals(e){return this.triggerKey===e.triggerKey&&this.triggerModifier===e.triggerModifier&&this.triggerSideBySideKey===e.triggerSideBySideKey&&this.triggerSideBySideModifier===e.triggerSideBySideModifier}}function d(e){return"altKey"===e?o.dz?new a(57,"metaKey",6,"altKey"):new a(5,"ctrlKey",6,"altKey"):o.dz?new a(6,"altKey",57,"metaKey"):new a(6,"altKey",5,"ctrlKey")}class h extends s.JT{constructor(e,t){var i;super(),this._onMouseMoveOrRelevantKeyDown=this._register(new n.Q5),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new n.Q5),this.onExecute=this._onExecute.event,this._onCancel=this._register(new n.Q5),this.onCancel=this._onCancel.event,this._editor=e,this._extractLineNumberFromMouseEvent=null!==(i=null==t?void 0:t.extractLineNumberFromMouseEvent)&&void 0!==i?i:e=>e.target.position?e.target.position.lineNumber:0,this._opts=d(this._editor.getOption(78)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(e=>{if(e.hasChanged(78)){let e=d(this._editor.getOption(78));this._opts.equals(e)||(this._opts=e,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire())}})),this._register(this._editor.onMouseMove(e=>this._onEditorMouseMove(new r(e,this._opts)))),this._register(this._editor.onMouseDown(e=>this._onEditorMouseDown(new r(e,this._opts)))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(new r(e,this._opts)))),this._register(this._editor.onKeyDown(e=>this._onEditorKeyDown(new l(e,this._opts)))),this._register(this._editor.onKeyUp(e=>this._onEditorKeyUp(new l(e,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(e=>this._onDidChangeCursorSelection(e))),this._register(this._editor.onDidChangeModel(e=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(e=>{(e.scrollTopChanged||e.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(e){this._lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])}_onEditorMouseDown(e){this._hasTriggerKeyOnMouseDown=e.hasTriggerModifier,this._lineNumberOnMouseDown=this._extractLineNumberFromMouseEvent(e)}_onEditorMouseUp(e){let t=this._extractLineNumberFromMouseEvent(e);this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===t&&this._onExecute.fire(e)}_onEditorKeyDown(e){this._lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}},29627:function(e,t,i){"use strict";i.d(t,{S:function(){return y}});var n,s=i(44532),o=i(32378),r=i(42891),l=i(70784);i(81121);var a=i(71141),d=i(82508),h=i(70209),u=i(77233),c=i(883),g=i(32350),p=i(62205),m=i(82801),f=i(33336),_=i(38820),v=i(20091),b=i(64106),C=i(66629),w=function(e,t){return function(i,n){t(i,n,e)}};let y=n=class{constructor(e,t,i,n){this.textModelResolverService=t,this.languageService=i,this.languageFeaturesService=n,this.toUnhook=new l.SL,this.toUnhookForKeyboard=new l.SL,this.currentWordAtPosition=null,this.previousPromise=null,this.editor=e,this.linkDecorations=this.editor.createDecorationsCollection();let s=new g.yN(e);this.toUnhook.add(s),this.toUnhook.add(s.onMouseMoveOrRelevantKeyDown(([e,t])=>{this.startFindDefinitionFromMouse(e,null!=t?t:void 0)})),this.toUnhook.add(s.onExecute(e=>{this.isEnabled(e)&&this.gotoDefinition(e.target.position,e.hasSideBySideModifier).catch(e=>{(0,o.dL)(e)}).finally(()=>{this.removeLinkDecorations()})})),this.toUnhook.add(s.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(e){return e.getContribution(n.ID)}async startFindDefinitionFromCursor(e){await this.startFindDefinition(e),this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(e=>{e&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))}startFindDefinitionFromMouse(e,t){if(9===e.target.type&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(e,t)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}let i=e.target.position;this.startFindDefinition(i)}async startFindDefinition(e){var t;let i;this.toUnhookForKeyboard.clear();let n=e?null===(t=this.editor.getModel())||void 0===t?void 0:t.getWordAtPosition(e):null;if(!n){this.currentWordAtPosition=null,this.removeLinkDecorations();return}if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===n.startColumn&&this.currentWordAtPosition.endColumn===n.endColumn&&this.currentWordAtPosition.word===n.word)return;this.currentWordAtPosition=n;let l=new a.yy(this.editor,15);this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=(0,s.PG)(t=>this.findDefinition(e,t));try{i=await this.previousPromise}catch(e){(0,o.dL)(e);return}if(!i||!i.length||!l.validate(this.editor)){this.removeLinkDecorations();return}let d=i[0].originSelectionRange?h.e.lift(i[0].originSelectionRange):new h.e(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn);if(i.length>1){let e=d;for(let{originSelectionRange:t}of i)t&&(e=h.e.plusRange(e,t));this.addDecoration(e,new r.W5().appendText(m.NC("multipleResults","Click to show {0} definitions.",i.length)))}else{let e=i[0];if(!e.uri)return;this.textModelResolverService.createModelReference(e.uri).then(t=>{if(!t.object||!t.object.textEditorModel){t.dispose();return}let{object:{textEditorModel:i}}=t,{startLineNumber:n}=e.range;if(n<1||n>i.getLineCount()){t.dispose();return}let s=this.getPreviewValue(i,n,e),o=this.languageService.guessLanguageIdByFilepathOrFirstLine(i.uri);this.addDecoration(d,s?new r.W5().appendCodeblock(o||"",s):void 0),t.dispose()})}}getPreviewValue(e,t,i){let s=i.range,o=s.endLineNumber-s.startLineNumber;o>=n.MAX_SOURCE_PREVIEW_LINES&&(s=this.getPreviewRangeBasedOnIndentation(e,t));let r=this.stripIndentationFromPreviewRange(e,t,s);return r}stripIndentationFromPreviewRange(e,t,i){let n=e.getLineFirstNonWhitespaceColumn(t),s=n;for(let n=t+1;n{let i=!t&&this.editor.getOption(88)&&!this.isInPeekEditor(e),n=new _.BT({openToSide:t,openInPeek:i,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0});return n.run(e)})}isInPeekEditor(e){let t=e.get(f.i6);return p.Jy.inPeekEditor.getValue(t)}dispose(){this.toUnhook.dispose(),this.toUnhookForKeyboard.dispose()}};y.ID="editor.contrib.gotodefinitionatposition",y.MAX_SOURCE_PREVIEW_LINES=8,y=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([w(1,c.S),w(2,u.O),w(3,b.p)],y),(0,d._K)(y.ID,y,2)},2156:function(e,t,i){"use strict";i.d(t,{J:function(){return eh}});var n,s,o=i(44532),r=i(32378),l=i(57231),a=i(70784),d=i(70208),h=i(86570),u=i(70209),c=i(62205),g=i(82801),p=i(81903),m=i(78426),f=i(33336),_=i(85327),v=i(93589),b=i(6356),C=i(16575),w=i(63179),y=i(60416),S=i(81845),L=i(57629),k=i(76515),D=i(79915),x=i(72249),N=i(1271);i(41877);var E=i(98549),I=i(66629),T=i(32712),M=i(27281),R=i(77233),A=i(883),P=i(40288),O=i(19912),F=i(40314),B=i(79814),W=i(46417),H=i(84449),V=i(72485),z=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},K=function(e,t){return function(i,n){t(i,n,e)}};let U=class{constructor(e){this._resolverService=e}hasChildren(e){return e instanceof y.oQ||e instanceof y.F2}getChildren(e){if(e instanceof y.oQ)return e.groups;if(e instanceof y.F2)return e.resolve(this._resolverService).then(e=>e.children);throw Error("bad tree")}};U=z([K(0,A.S)],U);class ${getHeight(){return 23}getTemplateId(e){return e instanceof y.F2?Q.id:Y.id}}let q=class{constructor(e){this._keybindingService=e}getKeyboardNavigationLabel(e){var t;if(e instanceof y.WX){let i=null===(t=e.parent.getPreview(e))||void 0===t?void 0:t.preview(e.range);if(i)return i.value}return(0,N.EZ)(e.uri)}};q=z([K(0,W.d)],q);class j{getId(e){return e instanceof y.WX?e.id:e.uri}}let G=class extends a.JT{constructor(e,t){super(),this._labelService=t;let i=document.createElement("div");i.classList.add("reference-file"),this.file=this._register(new F.g(i,{supportHighlights:!0})),this.badge=new P.Z(S.R3(i,S.$(".count")),{},V.ku),e.appendChild(i)}set(e,t){let i=(0,N.XX)(e.uri);this.file.setLabel(this._labelService.getUriBasenameLabel(e.uri),this._labelService.getUriLabel(i,{relative:!0}),{title:this._labelService.getUriLabel(e.uri),matches:t});let n=e.children.length;this.badge.setCount(n),n>1?this.badge.setTitleFormat((0,g.NC)("referencesCount","{0} references",n)):this.badge.setTitleFormat((0,g.NC)("referenceCount","{0} reference",n))}};G=z([K(1,H.e)],G);let Q=n=class{constructor(e){this._instantiationService=e,this.templateId=n.id}renderTemplate(e){return this._instantiationService.createInstance(G,e)}renderElement(e,t,i){i.set(e.element,(0,B.mB)(e.filterData))}disposeTemplate(e){e.dispose()}};Q.id="FileReferencesRenderer",Q=n=z([K(0,_.TG)],Q);class Z extends a.JT{constructor(e){super(),this.label=this._register(new O.q(e))}set(e,t){var i;let n=null===(i=e.parent.getPreview(e))||void 0===i?void 0:i.preview(e.range);if(n&&n.value){let{value:e,highlight:i}=n;t&&!B.CL.isDefault(t)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(e,(0,B.mB)(t))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(e,[i]))}else this.label.set(`${(0,N.EZ)(e.uri)}:${e.range.startLineNumber+1}:${e.range.startColumn+1}`)}}class Y{constructor(){this.templateId=Y.id}renderTemplate(e){return new Z(e)}renderElement(e,t,i){i.set(e.element,e.filterData)}disposeTemplate(e){e.dispose()}}Y.id="OneReferenceRenderer";class J{getWidgetAriaLabel(){return(0,g.NC)("treeAriaLabel","References")}getAriaLabel(e){return e.ariaMessage}}var X=i(55150),ee=i(32109),et=function(e,t){return function(i,n){t(i,n,e)}};class ei{constructor(e,t){this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new a.SL,this._callOnModelChange=new a.SL,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();let e=this._editor.getModel();if(e){for(let t of this._model.references)if(t.uri.toString()===e.uri.toString()){this._addDecorations(t.parent);return}}}_addDecorations(e){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));let t=[],i=[];for(let n=0,s=e.children.length;n{let s=n.deltaDecorations([],t);for(let t=0;t{e.equals(9)&&(this._keybindingService.dispatchEvent(e,e.target),e.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(es,"ReferencesWidget",this._treeContainer,new $,[this._instantiationService.createInstance(Q),this._instantiationService.createInstance(Y)],this._instantiationService.createInstance(U),t),this._splitView.addView({onDidChange:D.ju.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:e=>{this._preview.layout({height:this._dim.height,width:e})}},L.M.Distribute),this._splitView.addView({onDidChange:D.ju.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:e=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${e}px`,this._tree.layout(this._dim.height,e)}},L.M.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));let i=(e,t)=>{e instanceof y.WX&&("show"===t&&this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:t,source:"tree"}))};this._tree.onDidOpen(e=>{e.sideBySide?i(e.element,"side"):e.editorOptions.pinned?i(e.element,"goto"):i(e.element,"show")}),S.Cp(this._treeContainer)}_onWidth(e){this._dim&&this._doLayoutBody(this._dim.height,e)}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._dim=new S.Ro(t,e),this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(t),this._splitView.resizeView(0,t*this.layoutData.ratio)}setSelection(e){return this._revealReference(e,!0).then(()=>{this._model&&(this._tree.setSelection([e]),this._tree.setFocus([e]))})}setModel(e){return(this._disposeOnNewModel.clear(),this._model=e,this._model)?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=g.NC("noResults","No results"),S.$Z(this._messageContainer),Promise.resolve(void 0)):(S.Cp(this._messageContainer),this._decorationsManager=new ei(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(e=>this._tree.rerender(e))),this._disposeOnNewModel.add(this._preview.onMouseDown(e=>{let{event:t,target:i}=e;if(2!==t.detail)return;let n=this._getFocusedReference();n&&this._onDidSelectReference.fire({element:{uri:n.uri,range:i.range},kind:t.ctrlKey||t.metaKey||t.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),S.$Z(this._treeContainer),S.$Z(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(1===this._model.groups.length?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){let[e]=this._tree.getFocus();return e instanceof y.WX?e:e instanceof y.F2&&e.children.length>0?e.children[0]:void 0}async revealReference(e){await this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:"goto",source:"tree"})}async _revealReference(e,t){if(this._revealedReference===e)return;this._revealedReference=e,e.uri.scheme!==x.lg.inMemory?this.setTitle((0,N.Hx)(e.uri),this._uriLabel.getUriLabel((0,N.XX)(e.uri))):this.setTitle(g.NC("peekView.alternateTitle","References"));let i=this._textModelResolverService.createModelReference(e.uri);this._tree.getInput()===e.parent||(t&&this._tree.reveal(e.parent),await this._tree.expand(e.parent)),this._tree.reveal(e);let n=await i;if(!this._model){n.dispose();return}(0,a.B9)(this._previewModelReference);let s=n.object;if(s){let t=this._preview.getModel()===s.textEditorModel?0:1,i=u.e.lift(e.range).collapseToStart();this._previewModelReference=n,this._preview.setModel(s.textEditorModel),this._preview.setSelection(i),this._preview.revealRangeInCenter(i,t)}else this._preview.setModel(this._previewNotAvailableMessage),n.dispose()}};eo=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([et(3,X.XE),et(4,A.S),et(5,_.TG),et(6,c.Fw),et(7,H.e),et(8,ee.tJ),et(9,W.d),et(10,R.O),et(11,T.c_)],eo);var er=i(73440),el=i(28656),ea=function(e,t){return function(i,n){t(i,n,e)}};let ed=new f.uy("referenceSearchVisible",!1,g.NC("referenceSearchVisible","Whether reference peek is visible, like 'Peek References' or 'Peek Definition'")),eh=s=class{static get(e){return e.getContribution(s.ID)}constructor(e,t,i,n,s,o,r,l){this._defaultTreeKeyboardSupport=e,this._editor=t,this._editorService=n,this._notificationService=s,this._instantiationService=o,this._storageService=r,this._configurationService=l,this._disposables=new a.SL,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=ed.bindTo(i)}dispose(){var e,t;this._referenceSearchVisible.reset(),this._disposables.dispose(),null===(e=this._widget)||void 0===e||e.dispose(),null===(t=this._model)||void 0===t||t.dispose(),this._widget=void 0,this._model=void 0}toggleWidget(e,t,i){let n;if(this._widget&&(n=this._widget.position),this.closeWidget(),n&&e.containsPosition(n))return;this._peekMode=i,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));let s="peekViewLayout",o=en.fromJSON(this._storageService.get(s,0,"{}"));this._widget=this._instantiationService.createInstance(eo,this._editor,this._defaultTreeKeyboardSupport,o),this._widget.setTitle(g.NC("labelLoading","Loading...")),this._widget.show(e),this._disposables.add(this._widget.onDidClose(()=>{t.cancel(),this._widget&&(this._storageService.store(s,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(e=>{let{element:t,kind:n}=e;if(t)switch(n){case"open":"editor"===e.source&&this._configurationService.getValue("editor.stablePeek")||this.openReference(t,!1,!1);break;case"side":this.openReference(t,!0,!1);break;case"goto":i?this._gotoReference(t,!0):this.openReference(t,!1,!0)}}));let r=++this._requestIdPool;t.then(t=>{var i;if(r!==this._requestIdPool||!this._widget){t.dispose();return}return null===(i=this._model)||void 0===i||i.dispose(),this._model=t,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(g.NC("metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));let t=this._editor.getModel().uri,i=new h.L(e.startLineNumber,e.startColumn),n=this._model.nearestReference(t,i);if(n)return this._widget.setSelection(n).then(()=>{this._widget&&"editor"===this._editor.getOption(87)&&this._widget.focusOnPreviewEditor()})}})},e=>{this._notificationService.error(e)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}async goToNextOrPreviousReference(e){if(!this._editor.hasModel()||!this._model||!this._widget)return;let t=this._widget.position;if(!t)return;let i=this._model.nearestReference(this._editor.getModel().uri,t);if(!i)return;let n=this._model.nextOrPreviousReference(i,e),s=this._editor.hasTextFocus(),o=this._widget.isPreviewEditorFocused();await this._widget.setSelection(n),await this._gotoReference(n,!1),s?this._editor.focus():this._widget&&o&&this._widget.focusOnPreviewEditor()}async revealReference(e){this._editor.hasModel()&&this._model&&this._widget&&await this._widget.revealReference(e)}closeWidget(e=!0){var t,i;null===(t=this._widget)||void 0===t||t.dispose(),null===(i=this._model)||void 0===i||i.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(e,t){var i;null===(i=this._widget)||void 0===i||i.hide(),this._ignoreModelChangeEvent=!0;let n=u.e.lift(e.range).collapseToStart();return this._editorService.openCodeEditor({resource:e.uri,options:{selection:n,selectionSource:"code.jump",pinned:t}},this._editor).then(e=>{var t;if(this._ignoreModelChangeEvent=!1,!e||!this._widget){this.closeWidget();return}if(this._editor===e)this._widget.show(n),this._widget.focusOnReferenceTree();else{let i=s.get(e),r=this._model.clone();this.closeWidget(),e.focus(),null==i||i.toggleWidget(n,(0,o.PG)(e=>Promise.resolve(r)),null!==(t=this._peekMode)&&void 0!==t&&t)}},e=>{this._ignoreModelChangeEvent=!1,(0,r.dL)(e)})}openReference(e,t,i){t||this.closeWidget();let{uri:n,range:s}=e;this._editorService.openCodeEditor({resource:n,options:{selection:s,selectionSource:"code.jump",pinned:i}},this._editor,t)}};function eu(e,t){let i=(0,c.rc)(e);if(!i)return;let n=eh.get(i);n&&t(n)}eh.ID="editor.contrib.referencesController",eh=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ea(2,f.i6),ea(3,d.$),ea(4,C.lT),ea(5,_.TG),ea(6,w.Uy),ea(7,m.Ui)],eh),v.W.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:(0,l.gx)(2089,60),when:f.Ao.or(ed,c.Jy.inPeekEditor),handler(e){eu(e,e=>{e.changeFocusBetweenPreviewAndReferences()})}}),v.W.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:f.Ao.or(ed,c.Jy.inPeekEditor),handler(e){eu(e,e=>{e.goToNextOrPreviousReference(!0)})}}),v.W.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:f.Ao.or(ed,c.Jy.inPeekEditor),handler(e){eu(e,e=>{e.goToNextOrPreviousReference(!1)})}}),p.P.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),p.P.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),p.P.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),p.P.registerCommand("closeReferenceSearch",e=>eu(e,e=>e.closeWidget())),v.W.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:f.Ao.and(c.Jy.inPeekEditor,f.Ao.not("config.editor.stablePeek"))}),v.W.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:f.Ao.and(ed,f.Ao.not("config.editor.stablePeek"),f.Ao.or(er.u.editorTextFocus,el.Ul.negate()))}),v.W.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:f.Ao.and(ed,b.CQ,b.PS.negate(),b.uJ.negate()),handler(e){var t;let i=e.get(b.Lw),n=null===(t=i.lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof y.WX&&eu(e,e=>e.revealReference(n[0]))}}),v.W.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:f.Ao.and(ed,b.CQ,b.PS.negate(),b.uJ.negate()),handler(e){var t;let i=e.get(b.Lw),n=null===(t=i.lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof y.WX&&eu(e,e=>e.openReference(n[0],!0,!0))}}),p.P.registerCommand("openReference",e=>{var t;let i=e.get(b.Lw),n=null===(t=i.lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof y.WX&&eu(e,e=>e.openReference(n[0],!1,!0))})},60416:function(e,t,i){"use strict";i.d(t,{F2:function(){return p},WX:function(){return c},oQ:function(){return m}});var n=i(32378),s=i(79915),o=i(30397),r=i(70784),l=i(10289),a=i(1271),d=i(95612),h=i(70209),u=i(82801);class c{constructor(e,t,i,n){this.isProviderFirst=e,this.parent=t,this.link=i,this._rangeCallback=n,this.id=o.a.nextId()}get uri(){return this.link.uri}get range(){var e,t;return null!==(t=null!==(e=this._range)&&void 0!==e?e:this.link.targetSelectionRange)&&void 0!==t?t:this.link.range}set range(e){this._range=e,this._rangeCallback(this)}get ariaMessage(){var e;let t=null===(e=this.parent.getPreview(this))||void 0===e?void 0:e.preview(this.range);return t?(0,u.NC)({key:"aria.oneReference.preview",comment:["Placeholders are: 0: filename, 1:line number, 2: column number, 3: preview snippet of source code"]},"{0} in {1} on line {2} at column {3}",t.value,(0,a.EZ)(this.uri),this.range.startLineNumber,this.range.startColumn):(0,u.NC)("aria.oneReference","in {0} on line {1} at column {2}",(0,a.EZ)(this.uri),this.range.startLineNumber,this.range.startColumn)}}class g{constructor(e){this._modelReference=e}dispose(){this._modelReference.dispose()}preview(e,t=8){let i=this._modelReference.object.textEditorModel;if(!i)return;let{startLineNumber:n,startColumn:s,endLineNumber:o,endColumn:r}=e,l=i.getWordUntilPosition({lineNumber:n,column:s-t}),a=new h.e(n,l.startColumn,n,s),d=new h.e(o,r,o,1073741824),u=i.getValueInRange(a).replace(/^\s+/,""),c=i.getValueInRange(e),g=i.getValueInRange(d).replace(/\s+$/,"");return{value:u+c+g,highlight:{start:u.length,end:u.length+c.length}}}}class p{constructor(e,t){this.parent=e,this.uri=t,this.children=[],this._previews=new l.Y9}dispose(){(0,r.B9)(this._previews.values()),this._previews.clear()}getPreview(e){return this._previews.get(e.uri)}get ariaMessage(){let e=this.children.length;return 1===e?(0,u.NC)("aria.fileReferences.1","1 symbol in {0}, full path {1}",(0,a.EZ)(this.uri),this.uri.fsPath):(0,u.NC)("aria.fileReferences.N","{0} symbols in {1}, full path {2}",e,(0,a.EZ)(this.uri),this.uri.fsPath)}async resolve(e){if(0!==this._previews.size)return this;for(let t of this.children)if(!this._previews.has(t.uri))try{let i=await e.createModelReference(t.uri);this._previews.set(t.uri,new g(i))}catch(e){(0,n.dL)(e)}return this}}class m{constructor(e,t){let i;this.groups=[],this.references=[],this._onDidChangeReferenceRange=new s.Q5,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=e,this._title=t;let[n]=e;for(let t of(e.sort(m._compareReferences),e))if(i&&a.SF.isEqual(i.uri,t.uri,!0)||(i=new p(this,t.uri),this.groups.push(i)),0===i.children.length||0!==m._compareReferences(t,i.children[i.children.length-1])){let e=new c(n===t,i,t,e=>this._onDidChangeReferenceRange.fire(e));this.references.push(e),i.children.push(e)}}dispose(){(0,r.B9)(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new m(this._links,this._title)}get title(){return this._title}get isEmpty(){return 0===this.groups.length}get ariaMessage(){return this.isEmpty?(0,u.NC)("aria.result.0","No results found"):1===this.references.length?(0,u.NC)("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):1===this.groups.length?(0,u.NC)("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):(0,u.NC)("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(e,t){let{parent:i}=e,n=i.children.indexOf(e),s=i.children.length,o=i.parent.groups.length;return 1===o||t&&n+10?(n=t?(n+1)%s:(n+s-1)%s,i.children[n]):(n=i.parent.groups.indexOf(i),t)?(n=(n+1)%o,i.parent.groups[n].children[0]):(n=(n+o-1)%o,i.parent.groups[n].children[i.parent.groups[n].children.length-1])}nearestReference(e,t){let i=this.references.map((i,n)=>({idx:n,prefixLen:d.Mh(i.uri.toString(),e.toString()),offsetDist:100*Math.abs(i.range.startLineNumber-t.lineNumber)+Math.abs(i.range.startColumn-t.column)})).sort((e,t)=>e.prefixLen>t.prefixLen?-1:e.prefixLent.offsetDist?1:0)[0];if(i)return this.references[i.idx]}referenceAt(e,t){for(let i of this.references)if(i.uri.toString()===e.toString()&&h.e.containsPosition(i.range,t))return i}firstReference(){for(let e of this.references)if(e.isProviderFirst)return e;return this.references[0]}static _compareReferences(e,t){return a.SF.compare(e.uri,t.uri)||h.e.compareRangesUsingStarts(e.range,t.range)}}},5347:function(e,t,i){"use strict";i.d(t,{m:function(){return d}});var n,s=i(81845),o=i(38862),r=i(70784),l=i(46417);let a=s.$,d=class extends r.JT{get hasContent(){return this._hasContent}constructor(e){super(),this._keybindingService=e,this._hasContent=!1,this.hoverElement=a("div.hover-row.status-bar"),this.hoverElement.tabIndex=0,this.actionsElement=s.R3(this.hoverElement,a("div.actions"))}addAction(e){let t=this._keybindingService.lookupKeybinding(e.commandId),i=t?t.getLabel():null;return this._hasContent=!0,this._register(o.Sr.render(this.actionsElement,e,i))}append(e){let t=s.R3(this.actionsElement,e);return this._hasContent=!0,t}};d=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=l.d,function(e,t){n(e,t,0)})],d)},15320:function(e,t,i){"use strict";i.d(t,{OP:function(){return h}});var n=i(44532),s=i(9424),o=i(32378),r=i(82508),l=i(64106);class a{constructor(e,t,i){this.provider=e,this.hover=t,this.ordinal=i}}async function d(e,t,i,n,s){let r=await Promise.resolve(e.provideHover(i,n,s)).catch(o.Cp);if(r&&function(e){let t=void 0!==e.range,i=void 0!==e.contents&&e.contents&&e.contents.length>0;return t&&i}(r))return new a(e,r,t)}function h(e,t,i,s){let o=e.ordered(t),r=o.map((e,n)=>d(e,n,t,i,s));return n.Aq.fromPromises(r).coalesce()}(0,r.sb)("_executeHoverProvider",(e,t,i)=>{let n=e.get(l.p);return h(n.hoverProvider,t,i,s.Ts.None).map(e=>e.hover).toPromise()})},42820:function(e,t,i){"use strict";i.d(t,{B:function(){return u},Gd:function(){return p},Io:function(){return c},UW:function(){return o},ap:function(){return m},cW:function(){return h},eG:function(){return _},eY:function(){return g},iS:function(){return d},m:function(){return f},p:function(){return r},q_:function(){return a},s9:function(){return s},wf:function(){return l}});var n=i(82801);let s="editor.action.showHover",o="editor.action.showDefinitionPreviewHover",r="editor.action.scrollUpHover",l="editor.action.scrollDownHover",a="editor.action.scrollLeftHover",d="editor.action.scrollRightHover",h="editor.action.pageUpHover",u="editor.action.pageDownHover",c="editor.action.goToTopHover",g="editor.action.goToBottomHover",p="editor.action.increaseHoverVerbosityLevel",m=n.NC({key:"increaseHoverVerbosityLevel",comment:["Label for action that will increase the hover verbosity level."]},"Increase Hover Verbosity Level"),f="editor.action.decreaseHoverVerbosityLevel",_=n.NC({key:"decreaseHoverVerbosityLevel",comment:["Label for action that will decrease the hover verbosity level."]},"Decrease Hover Verbosity Level")},97045:function(e,t,i){"use strict";var n,s,o,r,l=i(42820),a=i(57231),d=i(82508),h=i(70209),u=i(73440),c=i(29627),g=i(71283),p=i(1863),m=i(82801);i(37248),(n=o||(o={})).NoAutoFocus="noAutoFocus",n.FocusIfVisible="focusIfVisible",n.AutoFocusImmediately="autoFocusImmediately";class f extends d.R6{constructor(){super({id:l.s9,label:m.NC({key:"showOrFocusHover",comment:["Label for action that will trigger the showing/focusing of a hover in the editor.","If the hover is not visible, it will show the hover.","This allows for users to show the hover without using the mouse."]},"Show or Focus Hover"),metadata:{description:m.vv("showOrFocusHoverDescription","Show or focus the editor hover which shows documentation, references, and other content for a symbol at the current cursor position."),args:[{name:"args",schema:{type:"object",properties:{focus:{description:"Controls if and when the hover should take focus upon being triggered by this action.",enum:[o.NoAutoFocus,o.FocusIfVisible,o.AutoFocusImmediately],enumDescriptions:[m.NC("showOrFocusHover.focus.noAutoFocus","The hover will not automatically take focus."),m.NC("showOrFocusHover.focus.focusIfVisible","The hover will take focus only if it is already visible."),m.NC("showOrFocusHover.focus.autoFocusImmediately","The hover will automatically take focus when it appears.")],default:o.FocusIfVisible}}}}]},alias:"Show or Focus Hover",precondition:void 0,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,a.gx)(2089,2087),weight:100}})}run(e,t,i){if(!t.hasModel())return;let n=g.c.get(t);if(!n)return;let s=null==i?void 0:i.focus,r=o.FocusIfVisible;Object.values(o).includes(s)?r=s:"boolean"==typeof s&&s&&(r=o.AutoFocusImmediately);let l=e=>{let i=t.getPosition(),s=new h.e(i.lineNumber,i.column,i.lineNumber,i.column);n.showContentHover(s,1,1,e)},a=2===t.getOption(2);n.isHoverVisible?r!==o.NoAutoFocus?n.focus():l(a):l(a||r===o.AutoFocusImmediately)}}class _ extends d.R6{constructor(){super({id:l.UW,label:m.NC({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0,metadata:{description:m.vv("showDefinitionPreviewHoverDescription","Show the definition preview hover in the editor.")}})}run(e,t){let i=g.c.get(t);if(!i)return;let n=t.getPosition();if(!n)return;let s=new h.e(n.lineNumber,n.column,n.lineNumber,n.column),o=c.S.get(t);if(!o)return;let r=o.startFindDefinitionFromCursor(n);r.then(()=>{i.showContentHover(s,1,1,!0)})}}class v extends d.R6{constructor(){super({id:l.p,label:m.NC({key:"scrollUpHover",comment:["Action that allows to scroll up in the hover widget with the up arrow when the hover widget is focused."]},"Scroll Up Hover"),alias:"Scroll Up Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:16,weight:100},metadata:{description:m.vv("scrollUpHoverDescription","Scroll up the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.scrollUp()}}class b extends d.R6{constructor(){super({id:l.wf,label:m.NC({key:"scrollDownHover",comment:["Action that allows to scroll down in the hover widget with the up arrow when the hover widget is focused."]},"Scroll Down Hover"),alias:"Scroll Down Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:18,weight:100},metadata:{description:m.vv("scrollDownHoverDescription","Scroll down the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.scrollDown()}}class C extends d.R6{constructor(){super({id:l.q_,label:m.NC({key:"scrollLeftHover",comment:["Action that allows to scroll left in the hover widget with the left arrow when the hover widget is focused."]},"Scroll Left Hover"),alias:"Scroll Left Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:15,weight:100},metadata:{description:m.vv("scrollLeftHoverDescription","Scroll left the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.scrollLeft()}}class w extends d.R6{constructor(){super({id:l.iS,label:m.NC({key:"scrollRightHover",comment:["Action that allows to scroll right in the hover widget with the right arrow when the hover widget is focused."]},"Scroll Right Hover"),alias:"Scroll Right Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:17,weight:100},metadata:{description:m.vv("scrollRightHoverDescription","Scroll right the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.scrollRight()}}class y extends d.R6{constructor(){super({id:l.cW,label:m.NC({key:"pageUpHover",comment:["Action that allows to page up in the hover widget with the page up command when the hover widget is focused."]},"Page Up Hover"),alias:"Page Up Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:11,secondary:[528],weight:100},metadata:{description:m.vv("pageUpHoverDescription","Page up the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.pageUp()}}class S extends d.R6{constructor(){super({id:l.B,label:m.NC({key:"pageDownHover",comment:["Action that allows to page down in the hover widget with the page down command when the hover widget is focused."]},"Page Down Hover"),alias:"Page Down Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:12,secondary:[530],weight:100},metadata:{description:m.vv("pageDownHoverDescription","Page down the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.pageDown()}}class L extends d.R6{constructor(){super({id:l.Io,label:m.NC({key:"goToTopHover",comment:["Action that allows to go to the top of the hover widget with the home command when the hover widget is focused."]},"Go To Top Hover"),alias:"Go To Bottom Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:14,secondary:[2064],weight:100},metadata:{description:m.vv("goToTopHoverDescription","Go to the top of the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.goToTop()}}class k extends d.R6{constructor(){super({id:l.eY,label:m.NC({key:"goToBottomHover",comment:["Action that allows to go to the bottom in the hover widget with the end command when the hover widget is focused."]},"Go To Bottom Hover"),alias:"Go To Bottom Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:13,secondary:[2066],weight:100},metadata:{description:m.vv("goToBottomHoverDescription","Go to the bottom of the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.goToBottom()}}class D extends d.R6{constructor(){super({id:l.Gd,label:l.ap,alias:"Increase Hover Verbosity Level",precondition:u.u.hoverVisible})}run(e,t,i){var n;null===(n=g.c.get(t))||void 0===n||n.updateMarkdownHoverVerbosityLevel(p.bq.Increase,null==i?void 0:i.index,null==i?void 0:i.focus)}}class x extends d.R6{constructor(){super({id:l.m,label:l.eG,alias:"Decrease Hover Verbosity Level",precondition:u.u.hoverVisible})}run(e,t,i){var n;null===(n=g.c.get(t))||void 0===n||n.updateMarkdownHoverVerbosityLevel(p.bq.Decrease,null==i?void 0:i.index,null==i?void 0:i.focus)}}var N=i(43616),E=i(55150),I=i(9411),T=i(92551),M=i(81845),R=i(40789),A=i(44532),P=i(32378),O=i(70784),F=i(1271),B=i(64106),W=i(87468),H=i(2734),V=i(37223),z=i(78875),K=i(41854),U=i(16324),$=i(45902),q=i(14588),j=function(e,t){return function(i,n){t(i,n,e)}};let G=M.$;class Q{constructor(e,t,i){this.owner=e,this.range=t,this.marker=i}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let Z={type:1,filter:{include:z.yN.QuickFix},triggerAction:z.aQ.QuickFixHover},Y=class{constructor(e,t,i,n){this._editor=e,this._markerDecorationsService=t,this._openerService=i,this._languageFeaturesService=n,this.hoverOrdinal=1,this.recentMarkerCodeActionsInfo=void 0}computeSync(e,t){if(!this._editor.hasModel()||1!==e.type&&!e.supportsMarkerHover)return[];let i=this._editor.getModel(),n=e.range.startLineNumber,s=i.getLineMaxColumn(n),o=[];for(let r of t){let t=r.range.startLineNumber===n?r.range.startColumn:1,l=r.range.endLineNumber===n?r.range.endColumn:s,a=this._markerDecorationsService.getMarker(i.uri,r);if(!a)continue;let d=new h.e(e.range.startLineNumber,t,e.range.startLineNumber,l);o.push(new Q(this,d,a))}return o}renderHoverParts(e,t){if(!t.length)return O.JT.None;let i=new O.SL;t.forEach(t=>e.fragment.appendChild(this.renderMarkerHover(t,i)));let n=1===t.length?t[0]:t.sort((e,t)=>U.ZL.compare(e.marker.severity,t.marker.severity))[0];return this.renderMarkerStatusbar(e,n,i),i}renderMarkerHover(e,t){let i=G("div.hover-row");i.tabIndex=0;let n=M.R3(i,G("div.marker.hover-contents")),{source:s,message:o,code:r,relatedInformation:l}=e.marker;this._editor.applyFontInfo(n);let a=M.R3(n,G("span"));if(a.style.whiteSpace="pre-wrap",a.innerText=o,s||r){if(r&&"string"!=typeof r){let e=G("span");if(s){let t=M.R3(e,G("span"));t.innerText=s}let i=M.R3(e,G("a.code-link"));i.setAttribute("href",r.target.toString()),t.add(M.nm(i,"click",e=>{this._openerService.open(r.target,{allowCommands:!0}),e.preventDefault(),e.stopPropagation()}));let o=M.R3(i,G("span"));o.innerText=r.value;let l=M.R3(n,e);l.style.opacity="0.6",l.style.paddingLeft="6px"}else{let e=M.R3(n,G("span"));e.style.opacity="0.6",e.style.paddingLeft="6px",e.innerText=s&&r?`${s}(${r})`:s||`(${r})`}}if((0,R.Of)(l))for(let{message:e,resource:i,startLineNumber:s,startColumn:o}of l){let r=M.R3(n,G("div"));r.style.marginTop="8px";let l=M.R3(r,G("a"));l.innerText=`${(0,F.EZ)(i)}(${s}, ${o}): `,l.style.cursor="pointer",t.add(M.nm(l,"click",e=>{e.stopPropagation(),e.preventDefault(),this._openerService&&this._openerService.open(i,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:s,startColumn:o}}}).catch(P.dL)}));let a=M.R3(r,G("span"));a.innerText=e,this._editor.applyFontInfo(a)}return i}renderMarkerStatusbar(e,t,i){if(t.marker.severity===U.ZL.Error||t.marker.severity===U.ZL.Warning||t.marker.severity===U.ZL.Info){let i=K.c.get(this._editor);i&&e.statusBar.addAction({label:m.NC("view problem","View Problem"),commandId:K.v.ID,run:()=>{e.hide(),i.showAtMarker(t.marker),this._editor.focus()}})}if(!this._editor.getOption(91)){let n=e.statusBar.append(G("div"));this.recentMarkerCodeActionsInfo&&(U.H0.makeKey(this.recentMarkerCodeActionsInfo.marker)===U.H0.makeKey(t.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(n.textContent=m.NC("noQuickFixes","No quick fixes available")):this.recentMarkerCodeActionsInfo=void 0);let s=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?O.JT.None:(0,A.Vg)(()=>n.textContent=m.NC("checkingForQuickFixes","Checking for quick fixes..."),200,i);n.textContent||(n.textContent=String.fromCharCode(160));let o=this.getCodeActions(t.marker);i.add((0,O.OF)(()=>o.cancel())),o.then(o=>{if(s.dispose(),this.recentMarkerCodeActionsInfo={marker:t.marker,hasCodeActions:o.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions){o.dispose(),n.textContent=m.NC("noQuickFixes","No quick fixes available");return}n.style.display="none";let r=!1;i.add((0,O.OF)(()=>{r||o.dispose()})),e.statusBar.addAction({label:m.NC("quick fixes","Quick Fix..."),commandId:H.cz,run:t=>{r=!0;let i=V.G.get(this._editor),n=M.i(t);e.hide(),null==i||i.showCodeActions(Z,o,{x:n.left,y:n.top,width:n.width,height:n.height})}})},P.dL)}}getCodeActions(e){return(0,A.PG)(t=>(0,H.aI)(this._languageFeaturesService.codeActionProvider,this._editor.getModel(),new h.e(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),Z,q.Ex.None,t))}};Y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([j(1,W.i),j(2,$.v),j(3,B.p)],Y);var J=i(19186);(s=r||(r={})).intro=(0,m.NC)("intro","Focus on the hover widget to cycle through the hover parts with the Tab key."),s.increaseVerbosity=(0,m.NC)("increaseVerbosity","- The focused hover part verbosity level can be increased with the Increase Hover Verbosity command.",l.Gd),s.decreaseVerbosity=(0,m.NC)("decreaseVerbosity","- The focused hover part verbosity level can be decreased with the Decrease Hover Verbosity command.",l.m),s.hoverContent=(0,m.NC)("contentHover","The last focused hover content is the following."),(0,d._K)(g.c.ID,g.c,2),(0,d.Qr)(f),(0,d.Qr)(_),(0,d.Qr)(v),(0,d.Qr)(b),(0,d.Qr)(C),(0,d.Qr)(w),(0,d.Qr)(y),(0,d.Qr)(S),(0,d.Qr)(L),(0,d.Qr)(k),(0,d.Qr)(D),(0,d.Qr)(x),I.Ae.register(T.D5),I.Ae.register(Y),(0,E.Ic)((e,t)=>{let i=e.getColor(N.CNo);i&&(t.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${i.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${i.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${i.transparent(.5)}; }`))}),J.V.register(new class{dispose(){var e;null===(e=this._provider)||void 0===e||e.dispose()}}),J.V.register(new class{dispose(){var e;null===(e=this._provider)||void 0===e||e.dispose()}}),J.V.register(new class{dispose(){}})},71283:function(e,t,i){"use strict";i.d(t,{c:function(){return Q}});var n,s,o,r=i(42820),l=i(70784),a=i(85327),d=i(94309),h=i(46417),u=i(44532),c=i(81845),g=i(23778),p=i(86570);class m extends l.JT{constructor(e,t=new c.Ro(10,10)){super(),this._editor=e,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._resizableNode=this._register(new g.f),this._contentPosition=null,this._isResizing=!1,this._resizableNode.domNode.style.position="absolute",this._resizableNode.minSize=c.Ro.lift(t),this._resizableNode.layout(t.height,t.width),this._resizableNode.enableSashes(!0,!0,!0,!0),this._register(this._resizableNode.onDidResize(e=>{this._resize(new c.Ro(e.dimension.width,e.dimension.height)),e.done&&(this._isResizing=!1)})),this._register(this._resizableNode.onDidWillResize(()=>{this._isResizing=!0}))}get isResizing(){return this._isResizing}getDomNode(){return this._resizableNode.domNode}getPosition(){return this._contentPosition}get position(){var e;return(null===(e=this._contentPosition)||void 0===e?void 0:e.position)?p.L.lift(this._contentPosition.position):void 0}_availableVerticalSpaceAbove(e){let t=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(e);if(!t||!i)return;let n=c.i(t);return n.top+i.top-30}_availableVerticalSpaceBelow(e){let t=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(e);if(!t||!i)return;let n=c.i(t),s=c.D6(t.ownerDocument.body),o=n.top+i.top+i.height;return s.height-o-24}_findPositionPreference(e,t){var i,n;let s;let o=Math.min(null!==(i=this._availableVerticalSpaceBelow(t))&&void 0!==i?i:1/0,e),r=Math.min(null!==(n=this._availableVerticalSpaceAbove(t))&&void 0!==n?n:1/0,e),l=Math.min(e,Math.min(Math.max(r,o),e));return 1==(s=this._editor.getOption(60).above?l<=r?1:2:l<=o?2:1)?this._resizableNode.enableSashes(!0,!0,!1,!1):this._resizableNode.enableSashes(!1,!0,!0,!1),s}_resize(e){this._resizableNode.layout(e.height,e.width)}}var f=i(33336),_=i(78426),v=i(15232),b=i(73440),C=i(38862),w=function(e,t){return function(i,n){t(i,n,e)}};let y=n=class extends m{get isColorPickerVisible(){var e;return!!(null===(e=this._visibleData)||void 0===e?void 0:e.colorPicker)}get isVisibleFromKeyboard(){var e;return(null===(e=this._visibleData)||void 0===e?void 0:e.source)===1}get isVisible(){var e;return null!==(e=this._hoverVisibleKey.get())&&void 0!==e&&e}get isFocused(){var e;return null!==(e=this._hoverFocusedKey.get())&&void 0!==e&&e}constructor(e,t,i,n,s){let o=e.getOption(67)+8,r=new c.Ro(150,o);super(e,r),this._configurationService=i,this._accessibilityService=n,this._keybindingService=s,this._hover=this._register(new C.c8),this._minimumSize=r,this._hoverVisibleKey=b.u.hoverVisible.bindTo(t),this._hoverFocusedKey=b.u.hoverFocused.bindTo(t),c.R3(this._resizableNode.domNode,this._hover.containerDomNode),this._resizableNode.domNode.style.zIndex="50",this._register(this._editor.onDidLayoutChange(()=>{this.isVisible&&this._updateMaxDimensions()})),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(50)&&this._updateFont()}));let l=this._register(c.go(this._resizableNode.domNode));this._register(l.onDidFocus(()=>{this._hoverFocusedKey.set(!0)})),this._register(l.onDidBlur(()=>{this._hoverFocusedKey.set(!1)})),this._setHoverData(void 0),this._editor.addContentWidget(this)}dispose(){var e;super.dispose(),null===(e=this._visibleData)||void 0===e||e.disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return n.ID}static _applyDimensions(e,t,i){let n="number"==typeof t?`${t}px`:t,s="number"==typeof i?`${i}px`:i;e.style.width=n,e.style.height=s}_setContentsDomNodeDimensions(e,t){let i=this._hover.contentsDomNode;return n._applyDimensions(i,e,t)}_setContainerDomNodeDimensions(e,t){let i=this._hover.containerDomNode;return n._applyDimensions(i,e,t)}_setHoverWidgetDimensions(e,t){this._setContentsDomNodeDimensions(e,t),this._setContainerDomNodeDimensions(e,t),this._layoutContentWidget()}static _applyMaxDimensions(e,t,i){let n="number"==typeof t?`${t}px`:t,s="number"==typeof i?`${i}px`:i;e.style.maxWidth=n,e.style.maxHeight=s}_setHoverWidgetMaxDimensions(e,t){n._applyMaxDimensions(this._hover.contentsDomNode,e,t),n._applyMaxDimensions(this._hover.containerDomNode,e,t),this._hover.containerDomNode.style.setProperty("--vscode-hover-maxWidth","number"==typeof e?`${e}px`:e),this._layoutContentWidget()}_setAdjustedHoverWidgetDimensions(e){this._setHoverWidgetMaxDimensions("none","none");let t=e.width,i=e.height;this._setHoverWidgetDimensions(t,i)}_updateResizableNodeMaxDimensions(){var e,t;let i=null!==(e=this._findMaximumRenderingWidth())&&void 0!==e?e:1/0,n=null!==(t=this._findMaximumRenderingHeight())&&void 0!==t?t:1/0;this._resizableNode.maxSize=new c.Ro(i,n),this._setHoverWidgetMaxDimensions(i,n)}_resize(e){var t,i;n._lastDimensions=new c.Ro(e.width,e.height),this._setAdjustedHoverWidgetDimensions(e),this._resizableNode.layout(e.height,e.width),this._updateResizableNodeMaxDimensions(),this._hover.scrollbar.scanDomNode(),this._editor.layoutContentWidget(this),null===(i=null===(t=this._visibleData)||void 0===t?void 0:t.colorPicker)||void 0===i||i.layout()}_findAvailableSpaceVertically(){var e;let t=null===(e=this._visibleData)||void 0===e?void 0:e.showAtPosition;if(t)return 1===this._positionPreference?this._availableVerticalSpaceAbove(t):this._availableVerticalSpaceBelow(t)}_findMaximumRenderingHeight(){let e=this._findAvailableSpaceVertically();if(!e)return;let t=6;return Array.from(this._hover.contentsDomNode.children).forEach(e=>{t+=e.clientHeight}),Math.min(e,t)}_isHoverTextOverflowing(){this._hover.containerDomNode.style.setProperty("--vscode-hover-whiteSpace","nowrap"),this._hover.containerDomNode.style.setProperty("--vscode-hover-sourceWhiteSpace","nowrap");let e=Array.from(this._hover.contentsDomNode.children).some(e=>e.scrollWidth>e.clientWidth);return this._hover.containerDomNode.style.removeProperty("--vscode-hover-whiteSpace"),this._hover.containerDomNode.style.removeProperty("--vscode-hover-sourceWhiteSpace"),e}_findMaximumRenderingWidth(){if(!this._editor||!this._editor.hasModel())return;let e=this._isHoverTextOverflowing(),t=void 0===this._contentWidth?0:this._contentWidth-2;if(!e&&!(this._hover.containerDomNode.clientWidththis._visibleData.closestMouseDistance+4)&&(this._visibleData.closestMouseDistance=Math.min(this._visibleData.closestMouseDistance,n),!0)}_setHoverData(e){var t;null===(t=this._visibleData)||void 0===t||t.disposables.dispose(),this._visibleData=e,this._hoverVisibleKey.set(!!e),this._hover.containerDomNode.classList.toggle("hidden",!e)}_updateFont(){let{fontSize:e,lineHeight:t}=this._editor.getOption(50),i=this._hover.contentsDomNode;i.style.fontSize=`${e}px`,i.style.lineHeight=`${t/e}`;let n=Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code"));n.forEach(e=>this._editor.applyFontInfo(e))}_updateContent(e){let t=this._hover.contentsDomNode;t.style.paddingBottom="",t.textContent="",t.appendChild(e)}_layoutContentWidget(){this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_updateMaxDimensions(){let e=Math.max(this._editor.getLayoutInfo().height/4,250,n._lastDimensions.height),t=Math.max(.66*this._editor.getLayoutInfo().width,500,n._lastDimensions.width);this._setHoverWidgetMaxDimensions(t,e)}_render(e,t){this._setHoverData(t),this._updateFont(),this._updateContent(e),this._updateMaxDimensions(),this.onContentsChanged(),this._editor.render()}getPosition(){var e;return this._visibleData?{position:this._visibleData.showAtPosition,secondaryPosition:this._visibleData.showAtSecondaryPosition,positionAffinity:this._visibleData.isBeforeContent?3:void 0,preference:[null!==(e=this._positionPreference)&&void 0!==e?e:1]}:null}showAt(e,t){var i,n,s,o;if(!this._editor||!this._editor.hasModel())return;this._render(e,t);let r=c.wn(this._hover.containerDomNode),l=t.showAtPosition;this._positionPreference=null!==(i=this._findPositionPreference(r,l))&&void 0!==i?i:1,this.onContentsChanged(),t.stoleFocus&&this._hover.containerDomNode.focus(),null===(n=t.colorPicker)||void 0===n||n.layout();let a=this._hover.containerDomNode.ownerDocument.activeElement===this._hover.containerDomNode,d=a&&(0,C.uX)(!0===this._configurationService.getValue("accessibility.verbosity.hover")&&this._accessibilityService.isScreenReaderOptimized(),null!==(o=null===(s=this._keybindingService.lookupKeybinding("editor.action.accessibleView"))||void 0===s?void 0:s.getAriaLabel())&&void 0!==o?o:"");d&&(this._hover.contentsDomNode.ariaLabel=this._hover.contentsDomNode.textContent+", "+d)}hide(){if(!this._visibleData)return;let e=this._visibleData.stoleFocus||this._hoverFocusedKey.get();this._setHoverData(void 0),this._resizableNode.maxSize=new c.Ro(1/0,1/0),this._resizableNode.clearSashHoverState(),this._hoverFocusedKey.set(!1),this._editor.layoutContentWidget(this),e&&this._editor.focus()}_removeConstraintsRenderNormally(){let e=this._editor.getLayoutInfo();this._resizableNode.layout(e.height,e.width),this._setHoverWidgetDimensions("auto","auto")}setMinimumDimensions(e){this._minimumSize=new c.Ro(Math.max(this._minimumSize.width,e.width),Math.max(this._minimumSize.height,e.height)),this._updateMinimumWidth()}_updateMinimumWidth(){let e=void 0===this._contentWidth?this._minimumSize.width:Math.min(this._contentWidth,this._minimumSize.width);this._resizableNode.minSize=new c.Ro(e,this._minimumSize.height)}onContentsChanged(){var e;this._removeConstraintsRenderNormally();let t=this._hover.containerDomNode,i=c.wn(t),n=c.w(t);if(this._resizableNode.layout(i,n),this._setHoverWidgetDimensions(n,i),i=c.wn(t),n=c.w(t),this._contentWidth=n,this._updateMinimumWidth(),this._resizableNode.layout(i,n),null===(e=this._visibleData)||void 0===e?void 0:e.showAtPosition){let e=c.wn(this._hover.containerDomNode);this._positionPreference=this._findPositionPreference(e,this._visibleData.showAtPosition)}this._layoutContentWidget()}focus(){this._hover.containerDomNode.focus()}scrollUp(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:e-t.lineHeight})}scrollDown(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:e+t.lineHeight})}scrollLeft(){let e=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:e-30})}scrollRight(){let e=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:e+30})}pageUp(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:e-t})}pageDown(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:e+t})}goToTop(){this._hover.scrollbar.setScrollPosition({scrollTop:0})}goToBottom(){this._hover.scrollbar.setScrollPosition({scrollTop:this._hover.scrollbar.getScrollDimensions().scrollHeight})}};function S(e,t,i,n,s,o){let r=Math.max(Math.abs(e-(i+s/2))-s/2,0),l=Math.max(Math.abs(t-(n+o/2))-o/2,0);return Math.sqrt(r*r+l*l)}y.ID="editor.contrib.resizableContentHoverWidget",y._lastDimensions=new c.Ro(0,0),y=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([w(1,f.i6),w(2,_.Ui),w(3,v.F),w(4,h.d)],y);var L=i(70209),k=i(66629),D=i(1863),x=i(32378),N=i(79915);class E{constructor(e,t,i){this.value=e,this.isComplete=t,this.hasLoadingMessage=i}}class I extends l.JT{constructor(e,t){super(),this._editor=e,this._computer=t,this._onResult=this._register(new N.Q5),this.onResult=this._onResult.event,this._firstWaitScheduler=this._register(new u.pY(()=>this._triggerAsyncComputation(),0)),this._secondWaitScheduler=this._register(new u.pY(()=>this._triggerSyncComputation(),0)),this._loadingMessageScheduler=this._register(new u.pY(()=>this._triggerLoadingMessage(),0)),this._state=0,this._asyncIterable=null,this._asyncIterableDone=!1,this._result=[]}dispose(){this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),super.dispose()}get _hoverTime(){return this._editor.getOption(60).delay}get _firstWaitTime(){return this._hoverTime/2}get _secondWaitTime(){return this._hoverTime-this._firstWaitTime}get _loadingMessageTime(){return 3*this._hoverTime}_setState(e,t=!0){this._state=e,t&&this._fireResult()}_triggerAsyncComputation(){this._setState(2),this._secondWaitScheduler.schedule(this._secondWaitTime),this._computer.computeAsync?(this._asyncIterableDone=!1,this._asyncIterable=(0,u.zS)(e=>this._computer.computeAsync(e)),(async()=>{try{for await(let e of this._asyncIterable)e&&(this._result.push(e),this._fireResult());this._asyncIterableDone=!0,(3===this._state||4===this._state)&&this._setState(0)}catch(e){(0,x.dL)(e)}})()):this._asyncIterableDone=!0}_triggerSyncComputation(){this._computer.computeSync&&(this._result=this._result.concat(this._computer.computeSync())),this._setState(this._asyncIterableDone?0:3)}_triggerLoadingMessage(){3===this._state&&this._setState(4)}_fireResult(){if(1===this._state||2===this._state)return;let e=0===this._state,t=4===this._state;this._onResult.fire(new E(this._result.slice(0),e,t))}start(e){if(0===e)0===this._state&&(this._setState(1),this._firstWaitScheduler.schedule(this._firstWaitTime),this._loadingMessageScheduler.schedule(this._loadingMessageTime));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}}cancel(){this._firstWaitScheduler.cancel(),this._secondWaitScheduler.cancel(),this._loadingMessageScheduler.cancel(),this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),this._result=[],this._setState(0,!1)}}var T=i(9411),M=i(92551),R=i(26603),A=i(40789);class P{get anchor(){return this._anchor}set anchor(e){this._anchor=e}get shouldFocus(){return this._shouldFocus}set shouldFocus(e){this._shouldFocus=e}get source(){return this._source}set source(e){this._source=e}get insistOnKeepingHoverVisible(){return this._insistOnKeepingHoverVisible}set insistOnKeepingHoverVisible(e){this._insistOnKeepingHoverVisible=e}constructor(e,t){this._editor=e,this._participants=t,this._anchor=null,this._shouldFocus=!1,this._source=0,this._insistOnKeepingHoverVisible=!1}static _getLineDecorations(e,t){if(1!==t.type&&!t.supportsMarkerHover)return[];let i=e.getModel(),n=t.range.startLineNumber;if(n>i.getLineCount())return[];let s=i.getLineMaxColumn(n);return e.getLineDecorations(n).filter(e=>{if(e.options.isWholeLine)return!0;let i=e.range.startLineNumber===n?e.range.startColumn:1,o=e.range.endLineNumber===n?e.range.endColumn:s;if(e.options.showIfCollapsed){if(i>t.range.startColumn+1||t.range.endColumn-1>o)return!1}else if(i>t.range.startColumn||t.range.endColumn>o)return!1;return!0})}computeAsync(e){let t=this._anchor;if(!this._editor.hasModel()||!t)return u.Aq.EMPTY;let i=P._getLineDecorations(this._editor,t);return u.Aq.merge(this._participants.map(n=>n.computeAsync?n.computeAsync(t,i,e):u.Aq.EMPTY))}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];let e=P._getLineDecorations(this._editor,this._anchor),t=[];for(let i of this._participants)t=t.concat(i.computeSync(this._anchor,e));return(0,A.kX)(t)}}class O{constructor(e,t,i){this.anchor=e,this.messages=t,this.isComplete=i}filter(e){let t=this.messages.filter(t=>t.isValidForHoverAnchor(e));return t.length===this.messages.length?this:new F(this,this.anchor,t,this.isComplete)}}class F extends O{constructor(e,t,i,n){super(t,i,n),this.original=e}filter(e){return this.original.filter(e)}}class B{constructor(e,t,i,n,s,o,r,l,a,d){this.initialMousePosX=e,this.initialMousePosY=t,this.colorPicker=i,this.showAtPosition=n,this.showAtSecondaryPosition=s,this.preferAbove=o,this.stoleFocus=r,this.source=l,this.isBeforeContent=a,this.disposables=d,this.closestMouseDistance=void 0}}var W=i(5347),H=function(e,t){return function(i,n){t(i,n,e)}};let V=s=class extends l.JT{constructor(e,t,i){for(let n of(super(),this._editor=e,this._instantiationService=t,this._keybindingService=i,this._currentResult=null,this._onContentsChanged=this._register(new N.Q5),this.onContentsChanged=this._onContentsChanged.event,this._widget=this._register(this._instantiationService.createInstance(y,this._editor)),this._participants=[],T.Ae.getAll())){let e=this._instantiationService.createInstance(n,this._editor);e instanceof M.D5&&!(e instanceof R.G)&&(this._markdownHoverParticipant=e),this._participants.push(e)}this._participants.sort((e,t)=>e.hoverOrdinal-t.hoverOrdinal),this._computer=new P(this._editor,this._participants),this._hoverOperation=this._register(new I(this._editor,this._computer)),this._register(this._hoverOperation.onResult(e=>{if(!this._computer.anchor)return;let t=e.hasLoadingMessage?this._addLoadingMessage(e.value):e.value;this._withResult(new O(this._computer.anchor,t,e.isComplete))})),this._register(c.mu(this._widget.getDomNode(),"keydown",e=>{e.equals(9)&&this.hide()})),this._register(D.RW.onDidChange(()=>{this._widget.position&&this._currentResult&&this._setCurrentResult(this._currentResult)}))}_startShowingOrUpdateHover(e,t,i,n,s){if(!this._widget.position||!this._currentResult)return!!e&&(this._startHoverOperationIfNecessary(e,t,i,n,!1),!0);let o=this._editor.getOption(60).sticky,r=o&&s&&this._widget.isMouseGettingCloser(s.event.posx,s.event.posy);return r?(e&&this._startHoverOperationIfNecessary(e,t,i,n,!0),!0):e?!!(e&&this._currentResult.anchor.equals(e))||(e.canAdoptVisibleHover(this._currentResult.anchor,this._widget.position)?(this._setCurrentResult(this._currentResult.filter(e)),this._startHoverOperationIfNecessary(e,t,i,n,!1),!0):(this._setCurrentResult(null),this._startHoverOperationIfNecessary(e,t,i,n,!1),!0)):(this._setCurrentResult(null),!1)}_startHoverOperationIfNecessary(e,t,i,n,s){this._computer.anchor&&this._computer.anchor.equals(e)||(this._hoverOperation.cancel(),this._computer.anchor=e,this._computer.shouldFocus=n,this._computer.source=i,this._computer.insistOnKeepingHoverVisible=s,this._hoverOperation.start(t))}_setCurrentResult(e){this._currentResult!==e&&(e&&0===e.messages.length&&(e=null),this._currentResult=e,this._currentResult?this._renderMessages(this._currentResult.anchor,this._currentResult.messages):this._widget.hide())}_addLoadingMessage(e){if(this._computer.anchor){for(let t of this._participants)if(t.createLoadingMessage){let i=t.createLoadingMessage(this._computer.anchor);if(i)return e.slice(0).concat([i])}}return e}_withResult(e){this._widget.position&&this._currentResult&&this._currentResult.isComplete&&(!e.isComplete||this._computer.insistOnKeepingHoverVisible&&0===e.messages.length)||this._setCurrentResult(e)}_renderMessages(e,t){let{showAtPosition:i,showAtSecondaryPosition:n,highlightRange:o}=s.computeHoverRanges(this._editor,e.range,t),r=new l.SL,a=r.add(new W.m(this._keybindingService)),d=document.createDocumentFragment(),h=null,u={fragment:d,statusBar:a,setColorPicker:e=>h=e,onContentsChanged:()=>this._doOnContentsChanged(),setMinimumDimensions:e=>this._widget.setMinimumDimensions(e),hide:()=>this.hide()};for(let e of this._participants){let i=t.filter(t=>t.owner===e);i.length>0&&r.add(e.renderHoverParts(u,i))}let c=t.some(e=>e.isBeforeContent);if(a.hasContent&&d.appendChild(a.hoverElement),d.hasChildNodes()){if(o){let e=this._editor.createDecorationsCollection();e.set([{range:o,options:s._DECORATION_OPTIONS}]),r.add((0,l.OF)(()=>{e.clear()}))}this._widget.showAt(d,new B(e.initialMousePosX,e.initialMousePosY,h,i,n,this._editor.getOption(60).above,this._computer.shouldFocus,this._computer.source,c,r))}else r.dispose()}_doOnContentsChanged(){this._onContentsChanged.fire(),this._widget.onContentsChanged()}static computeHoverRanges(e,t,i){let n=1;if(e.hasModel()){let i=e._getViewModel(),s=i.coordinatesConverter,o=s.convertModelRangeToViewRange(t),r=new p.L(o.startLineNumber,i.getLineMinColumn(o.startLineNumber));n=s.convertViewPositionToModelPosition(r).column}let s=t.startLineNumber,o=t.startColumn,r=i[0].range,l=null;for(let e of i)r=L.e.plusRange(r,e.range),e.range.startLineNumber===s&&e.range.endLineNumber===s&&(o=Math.max(Math.min(o,e.range.startColumn),n)),e.forceShowAtRange&&(l=e.range);let a=l?l.getStartPosition():new p.L(s,t.startColumn),d=l?l.getStartPosition():new p.L(s,o);return{showAtPosition:a,showAtSecondaryPosition:d,highlightRange:r}}showsOrWillShow(e){if(this._widget.isResizing)return!0;let t=[];for(let i of this._participants)if(i.suggestHoverAnchor){let n=i.suggestHoverAnchor(e);n&&t.push(n)}let i=e.target;if(6===i.type&&t.push(new T.Qj(0,i.range,e.event.posx,e.event.posy)),7===i.type){let n=this._editor.getOption(50).typicalHalfwidthCharacterWidth/2;!i.detail.isAfterLines&&"number"==typeof i.detail.horizontalDistanceToText&&i.detail.horizontalDistanceToTextt.priority-e.priority),this._startShowingOrUpdateHover(t[0],0,0,!1,e))}startShowingAtRange(e,t,i,n){this._startShowingOrUpdateHover(new T.Qj(0,e,void 0,void 0),t,i,n,null)}async updateMarkdownHoverVerbosityLevel(e,t,i){var n;null===(n=this._markdownHoverParticipant)||void 0===n||n.updateMarkdownHoverVerbosityLevel(e,t,i)}markdownHoverContentAtIndex(e){var t,i;return null!==(i=null===(t=this._markdownHoverParticipant)||void 0===t?void 0:t.markdownHoverContentAtIndex(e))&&void 0!==i?i:""}doesMarkdownHoverAtIndexSupportVerbosityAction(e,t){var i,n;return null!==(n=null===(i=this._markdownHoverParticipant)||void 0===i?void 0:i.doesMarkdownHoverAtIndexSupportVerbosityAction(e,t))&&void 0!==n&&n}containsNode(e){return!!e&&this._widget.getDomNode().contains(e)}focus(){this._widget.focus()}scrollUp(){this._widget.scrollUp()}scrollDown(){this._widget.scrollDown()}scrollLeft(){this._widget.scrollLeft()}scrollRight(){this._widget.scrollRight()}pageUp(){this._widget.pageUp()}pageDown(){this._widget.pageDown()}goToTop(){this._widget.goToTop()}goToBottom(){this._widget.goToBottom()}hide(){this._computer.anchor=null,this._hoverOperation.cancel(),this._setCurrentResult(null)}get isColorPickerVisible(){return this._widget.isColorPickerVisible}get isVisibleFromKeyboard(){return this._widget.isVisibleFromKeyboard}get isVisible(){return this._widget.isVisible}get isFocused(){return this._widget.isFocused}get isResizing(){return this._widget.isResizing}get widget(){return this._widget}};V._DECORATION_OPTIONS=k.qx.register({description:"content-hover-highlight",className:"hoverHighlight"}),V=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([H(1,a.TG),H(2,h.d)],V),i(37248);var z=i(77585),K=i(42891),U=i(41407);class ${get lineNumber(){return this._lineNumber}set lineNumber(e){this._lineNumber=e}get lane(){return this._laneOrLine}set lane(e){this._laneOrLine=e}constructor(e){this._editor=e,this._lineNumber=-1,this._laneOrLine=U.U.Center}computeSync(){var e,t;let i=e=>({value:e}),n=this._editor.getLineDecorations(this._lineNumber),s=[],o="lineNo"===this._laneOrLine;if(!n)return s;for(let r of n){let n=null!==(t=null===(e=r.options.glyphMargin)||void 0===e?void 0:e.position)&&void 0!==t?t:U.U.Center;if(!o&&n!==this._laneOrLine)continue;let l=o?r.options.lineNumberHoverMessage:r.options.glyphMarginHoverMessage;!l||(0,K.CP)(l)||s.push(...(0,A._2)(l).map(i))}return s}}let q=c.$;class j extends l.JT{constructor(e,t,i){super(),this._renderDisposeables=this._register(new l.SL),this._editor=e,this._isVisible=!1,this._messages=[],this._hover=this._register(new C.c8),this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._markdownRenderer=this._register(new z.$({editor:this._editor},t,i)),this._computer=new $(this._editor),this._hoverOperation=this._register(new I(this._editor,this._computer)),this._register(this._hoverOperation.onResult(e=>{this._withResult(e.value)})),this._register(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged())),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(50)&&this._updateFont()})),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return j.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){return null}_updateFont(){let e=Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code"));e.forEach(e=>this._editor.applyFontInfo(e))}_onModelDecorationsChanged(){this._isVisible&&(this._hoverOperation.cancel(),this._hoverOperation.start(0))}showsOrWillShow(e){let t=e.target;return 2===t.type&&t.detail.glyphMarginLane?(this._startShowingAt(t.position.lineNumber,t.detail.glyphMarginLane),!0):3===t.type&&(this._startShowingAt(t.position.lineNumber,"lineNo"),!0)}_startShowingAt(e,t){(this._computer.lineNumber!==e||this._computer.lane!==t)&&(this._hoverOperation.cancel(),this.hide(),this._computer.lineNumber=e,this._computer.lane=t,this._hoverOperation.start(0))}hide(){this._computer.lineNumber=-1,this._hoverOperation.cancel(),this._isVisible&&(this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible))}_withResult(e){this._messages=e,this._messages.length>0?this._renderMessages(this._computer.lineNumber,this._messages):this.hide()}_renderMessages(e,t){this._renderDisposeables.clear();let i=document.createDocumentFragment();for(let e of t){let t=q("div.hover-row.markdown-hover"),n=c.R3(t,q("div.hover-contents")),s=this._renderDisposeables.add(this._markdownRenderer.render(e.value));n.appendChild(s.element),i.appendChild(t)}this._updateContents(i),this._showAt(e)}_updateContents(e){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(e),this._updateFont()}_showAt(e){this._isVisible||(this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible));let t=this._editor.getLayoutInfo(),i=this._editor.getTopForLineNumber(e),n=this._editor.getScrollTop(),s=this._editor.getOption(67),o=this._hover.containerDomNode.clientHeight,r=t.glyphMarginLeft+t.glyphMarginWidth+("lineNo"===this._computer.lane?t.lineNumbersWidth:0);this._hover.containerDomNode.style.left=`${r}px`,this._hover.containerDomNode.style.top=`${Math.max(Math.round(i-n-(o-s)/2),0)}px`}}j.ID="editor.contrib.modesGlyphHoverWidget";var G=function(e,t){return function(i,n){t(i,n,e)}};let Q=o=class extends l.JT{constructor(e,t,i){super(),this._editor=e,this._instantiationService=t,this._keybindingService=i,this._onHoverContentsChanged=this._register(new N.Q5),this.shouldKeepOpenOnEditorMouseMoveOrLeave=!1,this._listenersStore=new l.SL,this._hoverState={mouseDown:!1,activatedByDecoratorClick:!1},this._reactToEditorMouseMoveRunner=this._register(new u.pY(()=>this._reactToEditorMouseMove(this._mouseMoveEvent),0)),this._hookListeners(),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(60)&&(this._unhookListeners(),this._hookListeners())}))}static get(e){return e.getContribution(o.ID)}_hookListeners(){let e=this._editor.getOption(60);this._hoverSettings={enabled:e.enabled,sticky:e.sticky,hidingDelay:e.delay},e.enabled?(this._listenersStore.add(this._editor.onMouseDown(e=>this._onEditorMouseDown(e))),this._listenersStore.add(this._editor.onMouseUp(()=>this._onEditorMouseUp())),this._listenersStore.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._listenersStore.add(this._editor.onKeyDown(e=>this._onKeyDown(e)))):(this._listenersStore.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._listenersStore.add(this._editor.onKeyDown(e=>this._onKeyDown(e)))),this._listenersStore.add(this._editor.onMouseLeave(e=>this._onEditorMouseLeave(e))),this._listenersStore.add(this._editor.onDidChangeModel(()=>{this._cancelScheduler(),this._hideWidgets()})),this._listenersStore.add(this._editor.onDidChangeModelContent(()=>this._cancelScheduler())),this._listenersStore.add(this._editor.onDidScrollChange(e=>this._onEditorScrollChanged(e)))}_unhookListeners(){this._listenersStore.clear()}_cancelScheduler(){this._mouseMoveEvent=void 0,this._reactToEditorMouseMoveRunner.cancel()}_onEditorScrollChanged(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(e){this._hoverState.mouseDown=!0;let t=this._shouldNotHideCurrentHoverWidget(e);t||this._hideWidgets()}_shouldNotHideCurrentHoverWidget(e){return!!(this._isMouseOnContentHoverWidget(e)||this._isMouseOnMarginHoverWidget(e)||this._isContentWidgetResizing())}_isMouseOnMarginHoverWidget(e){let t=e.target;return!!t&&12===t.type&&t.detail===j.ID}_isMouseOnContentHoverWidget(e){let t=e.target;return!!t&&9===t.type&&t.detail===y.ID}_onEditorMouseUp(){this._hoverState.mouseDown=!1}_onEditorMouseLeave(e){if(this.shouldKeepOpenOnEditorMouseMoveOrLeave)return;this._cancelScheduler();let t=this._shouldNotHideCurrentHoverWidget(e);t||this._hideWidgets()}_shouldNotRecomputeCurrentHoverWidget(e){let t=this._hoverSettings.sticky;return!!(((e,t)=>{let i=this._isMouseOnMarginHoverWidget(e);return t&&i})(e,t)||((e,t)=>{let i=this._isMouseOnContentHoverWidget(e);return t&&i})(e,t)||(e=>{var t;let i=this._isMouseOnContentHoverWidget(e),n=null===(t=this._contentWidget)||void 0===t?void 0:t.isColorPickerVisible;return i&&n})(e)||((e,t)=>{var i,n,s,o;return t&&(null===(i=this._contentWidget)||void 0===i?void 0:i.containsNode(null===(n=e.event.browserEvent.view)||void 0===n?void 0:n.document.activeElement))&&!(null===(o=null===(s=e.event.browserEvent.view)||void 0===s?void 0:s.getSelection())||void 0===o?void 0:o.isCollapsed)})(e,t))}_onEditorMouseMove(e){var t,i,n,s;if(this.shouldKeepOpenOnEditorMouseMoveOrLeave||(this._mouseMoveEvent=e,(null===(t=this._contentWidget)||void 0===t?void 0:t.isFocused)||(null===(i=this._contentWidget)||void 0===i?void 0:i.isResizing)))return;let o=this._hoverSettings.sticky;if(o&&(null===(n=this._contentWidget)||void 0===n?void 0:n.isVisibleFromKeyboard))return;let r=this._shouldNotRecomputeCurrentHoverWidget(e);if(r){this._reactToEditorMouseMoveRunner.cancel();return}let l=this._hoverSettings.hidingDelay,a=null===(s=this._contentWidget)||void 0===s?void 0:s.isVisible,d=a&&o&&l>0;if(d){this._reactToEditorMouseMoveRunner.isScheduled()||this._reactToEditorMouseMoveRunner.schedule(l);return}this._reactToEditorMouseMove(e)}_reactToEditorMouseMove(e){var t;if(!e)return;let i=e.target,n=null===(t=i.element)||void 0===t?void 0:t.classList.contains("colorpicker-color-decoration"),s=this._editor.getOption(148),o=this._hoverSettings.enabled,r=this._hoverState.activatedByDecoratorClick;if(n&&("click"===s&&!r||"hover"===s&&!o||"clickAndHover"===s&&!o&&!r)||!n&&!o&&!r){this._hideWidgets();return}let l=this._tryShowHoverWidget(e,0);if(l)return;let a=this._tryShowHoverWidget(e,1);a||this._hideWidgets()}_tryShowHoverWidget(e,t){let i,n;let s=this._getOrCreateContentWidget(),o=this._getOrCreateGlyphWidget();switch(t){case 0:i=s,n=o;break;case 1:i=o,n=s;break;default:throw Error(`HoverWidgetType ${t} is unrecognized`)}let r=i.showsOrWillShow(e);return r&&n.hide(),r}_onKeyDown(e){var t;if(!this._editor.hasModel())return;let i=this._keybindingService.softDispatch(e,this._editor.getDomNode()),n=1===i.kind||2===i.kind&&(i.commandId===r.s9||i.commandId===r.Gd||i.commandId===r.m)&&(null===(t=this._contentWidget)||void 0===t?void 0:t.isVisible);5===e.keyCode||6===e.keyCode||57===e.keyCode||4===e.keyCode||n||this._hideWidgets()}_hideWidgets(){var e,t,i;this._hoverState.mouseDown&&null!==(e=this._contentWidget)&&void 0!==e&&e.isColorPickerVisible||d.QG.dropDownVisible||(this._hoverState.activatedByDecoratorClick=!1,null===(t=this._glyphWidget)||void 0===t||t.hide(),null===(i=this._contentWidget)||void 0===i||i.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance(V,this._editor),this._listenersStore.add(this._contentWidget.onContentsChanged(()=>this._onHoverContentsChanged.fire()))),this._contentWidget}_getOrCreateGlyphWidget(){return this._glyphWidget||(this._glyphWidget=this._instantiationService.createInstance(j,this._editor)),this._glyphWidget}showContentHover(e,t,i,n,s=!1){this._hoverState.activatedByDecoratorClick=s,this._getOrCreateContentWidget().startShowingAtRange(e,t,i,n)}_isContentWidgetResizing(){var e;return(null===(e=this._contentWidget)||void 0===e?void 0:e.widget.isResizing)||!1}markdownHoverContentAtIndex(e){return this._getOrCreateContentWidget().markdownHoverContentAtIndex(e)}doesMarkdownHoverAtIndexSupportVerbosityAction(e,t){return this._getOrCreateContentWidget().doesMarkdownHoverAtIndexSupportVerbosityAction(e,t)}updateMarkdownHoverVerbosityLevel(e,t,i){this._getOrCreateContentWidget().updateMarkdownHoverVerbosityLevel(e,t,i)}focus(){var e;null===(e=this._contentWidget)||void 0===e||e.focus()}scrollUp(){var e;null===(e=this._contentWidget)||void 0===e||e.scrollUp()}scrollDown(){var e;null===(e=this._contentWidget)||void 0===e||e.scrollDown()}scrollLeft(){var e;null===(e=this._contentWidget)||void 0===e||e.scrollLeft()}scrollRight(){var e;null===(e=this._contentWidget)||void 0===e||e.scrollRight()}pageUp(){var e;null===(e=this._contentWidget)||void 0===e||e.pageUp()}pageDown(){var e;null===(e=this._contentWidget)||void 0===e||e.pageDown()}goToTop(){var e;null===(e=this._contentWidget)||void 0===e||e.goToTop()}goToBottom(){var e;null===(e=this._contentWidget)||void 0===e||e.goToBottom()}get isColorPickerVisible(){var e;return null===(e=this._contentWidget)||void 0===e?void 0:e.isColorPickerVisible}get isHoverVisible(){var e;return null===(e=this._contentWidget)||void 0===e?void 0:e.isVisible}dispose(){var e,t;super.dispose(),this._unhookListeners(),this._listenersStore.dispose(),null===(e=this._glyphWidget)||void 0===e||e.dispose(),null===(t=this._contentWidget)||void 0===t||t.dispose()}};Q.ID="editor.contrib.hover",Q=o=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([G(1,a.TG),G(2,h.d)],Q)},9411:function(e,t,i){"use strict";i.d(t,{Ae:function(){return o},Qj:function(){return n},YM:function(){return s}});class n{constructor(e,t,i,n){this.priority=e,this.range=t,this.initialMousePosX=i,this.initialMousePosY=n,this.type=1}equals(e){return 1===e.type&&this.range.equalsRange(e.range)}canAdoptVisibleHover(e,t){return 1===e.type&&t.lineNumber===this.range.startLineNumber}}class s{constructor(e,t,i,n,s,o){this.priority=e,this.owner=t,this.range=i,this.initialMousePosX=n,this.initialMousePosY=s,this.supportsMarkerHover=o,this.type=2}equals(e){return 2===e.type&&this.owner===e.owner}canAdoptVisibleHover(e,t){return 2===e.type&&this.owner===e.owner}}let o=new class{constructor(){this._participants=[]}register(e){this._participants.push(e)}getAll(){return this._participants}}},92551:function(e,t,i){"use strict";i.d(t,{D5:function(){return M},c:function(){return A},hU:function(){return I}});var n=i(81845),s=i(40789),o=i(9424),r=i(42891),l=i(70784),a=i(77585),d=i(42820),h=i(70209),u=i(77233),c=i(82801),g=i(78426),p=i(45902),m=i(64106),f=i(1863),_=i(79939),v=i(47039),b=i(29527),C=i(32378),w=i(46417),y=i(38862),S=i(96748),L=i(44532),k=i(15320),D=function(e,t){return function(i,n){t(i,n,e)}};let x=n.$,N=(0,_.q5)("hover-increase-verbosity",v.l.add,c.NC("increaseHoverVerbosity","Icon for increaseing hover verbosity.")),E=(0,_.q5)("hover-decrease-verbosity",v.l.remove,c.NC("decreaseHoverVerbosity","Icon for decreasing hover verbosity."));class I{constructor(e,t,i,n,s,o){this.owner=e,this.range=t,this.contents=i,this.isBeforeContent=n,this.ordinal=s,this.source=o}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}class T{constructor(e,t,i){this.hover=e,this.hoverProvider=t,this.hoverPosition=i}supportsVerbosityAction(e){var t,i;switch(e){case f.bq.Increase:return null!==(t=this.hover.canIncreaseVerbosity)&&void 0!==t&&t;case f.bq.Decrease:return null!==(i=this.hover.canDecreaseVerbosity)&&void 0!==i&&i}}}let M=class{constructor(e,t,i,n,s,o,r){this._editor=e,this._languageService=t,this._openerService=i,this._configurationService=n,this._languageFeaturesService=s,this._keybindingService=o,this._hoverService=r,this.hoverOrdinal=3}createLoadingMessage(e){return new I(this,e.range,[new r.W5().appendText(c.NC("modesContentHover.loading","Loading..."))],!1,2e3)}computeSync(e,t){if(!this._editor.hasModel()||1!==e.type)return[];let i=this._editor.getModel(),n=e.range.startLineNumber,o=i.getLineMaxColumn(n),l=[],a=1e3,d=i.getLineLength(n),u=i.getLanguageIdAtPosition(e.range.startLineNumber,e.range.startColumn),g=this._editor.getOption(117),p=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:u}),m=!1;g>=0&&d>g&&e.range.startColumn>=g&&(m=!0,l.push(new I(this,e.range,[{value:c.NC("stopped rendering","Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.")}],!1,a++))),!m&&"number"==typeof p&&d>=p&&l.push(new I(this,e.range,[{value:c.NC("too many characters","Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")}],!1,a++));let f=!1;for(let i of t){let t=i.range.startLineNumber===n?i.range.startColumn:1,d=i.range.endLineNumber===n?i.range.endColumn:o,u=i.options.hoverMessage;if(!u||(0,r.CP)(u))continue;i.options.beforeContentClassName&&(f=!0);let c=new h.e(e.range.startLineNumber,t,e.range.startLineNumber,d);l.push(new I(this,c,(0,s._2)(u),f,a++))}return l}computeAsync(e,t,i){if(!this._editor.hasModel()||1!==e.type)return L.Aq.EMPTY;let n=this._editor.getModel(),s=this._languageFeaturesService.hoverProvider;if(!s.has(n))return L.Aq.EMPTY;let o=this._getMarkdownHovers(s,n,e,i);return o}_getMarkdownHovers(e,t,i,n){let s=i.range.getStartPosition(),o=(0,k.OP)(e,t,s,n),l=o.filter(e=>!(0,r.CP)(e.hover.contents)).map(e=>{let t=e.hover.range?h.e.lift(e.hover.range):i.range,n=new T(e.hover,e.provider,s);return new I(this,t,e.hover.contents,!1,e.ordinal,n)});return l}renderHoverParts(e,t){return this._renderedHoverParts=new R(t,e.fragment,this._editor,this._languageService,this._openerService,this._keybindingService,this._hoverService,this._configurationService,e.onContentsChanged),this._renderedHoverParts}markdownHoverContentAtIndex(e){var t,i;return null!==(i=null===(t=this._renderedHoverParts)||void 0===t?void 0:t.markdownHoverContentAtIndex(e))&&void 0!==i?i:""}doesMarkdownHoverAtIndexSupportVerbosityAction(e,t){var i,n;return null!==(n=null===(i=this._renderedHoverParts)||void 0===i?void 0:i.doesMarkdownHoverAtIndexSupportVerbosityAction(e,t))&&void 0!==n&&n}updateMarkdownHoverVerbosityLevel(e,t,i){var n;null===(n=this._renderedHoverParts)||void 0===n||n.updateMarkdownHoverPartVerbosityLevel(e,t,i)}};M=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([D(1,u.O),D(2,p.v),D(3,g.Ui),D(4,m.p),D(5,w.d),D(6,S.Bs)],M);class R extends l.JT{constructor(e,t,i,n,s,o,r,a,d){super(),this._editor=i,this._languageService=n,this._openerService=s,this._keybindingService=o,this._hoverService=r,this._configurationService=a,this._onFinishedRendering=d,this._focusedHoverPartIndex=-1,this._ongoingHoverOperations=new Map,this._renderedHoverParts=this._renderHoverParts(e,t,this._onFinishedRendering),this._register((0,l.OF)(()=>{this._renderedHoverParts.forEach(e=>{e.disposables.dispose()})})),this._register((0,l.OF)(()=>{this._ongoingHoverOperations.forEach(e=>{e.tokenSource.dispose(!0)})}))}_renderHoverParts(e,t,i){return e.sort((0,s.tT)(e=>e.ordinal,s.fv)),e.map((e,n)=>{let s=this._renderHoverPart(n,e.contents,e.source,i);return t.appendChild(s.renderedMarkdown),s})}_renderHoverPart(e,t,i,s){let{renderedMarkdown:o,disposables:r}=this._renderMarkdownContent(t,s);if(!i)return{renderedMarkdown:o,disposables:r};let l=i.supportsVerbosityAction(f.bq.Increase),a=i.supportsVerbosityAction(f.bq.Decrease);if(!l&&!a)return{renderedMarkdown:o,disposables:r,hoverSource:i};let d=x("div.verbosity-actions");return o.prepend(d),r.add(this._renderHoverExpansionAction(d,f.bq.Increase,l)),r.add(this._renderHoverExpansionAction(d,f.bq.Decrease,a)),this._register(n.nm(o,n.tw.FOCUS_IN,t=>{t.stopPropagation(),this._focusedHoverPartIndex=e})),this._register(n.nm(o,n.tw.FOCUS_OUT,e=>{e.stopPropagation(),this._focusedHoverPartIndex=-1})),{renderedMarkdown:o,disposables:r,hoverSource:i}}_renderMarkdownContent(e,t){let i=x("div.hover-row");i.tabIndex=0;let n=x("div.hover-row-contents");i.appendChild(n);let s=new l.SL;return s.add(P(this._editor,n,e,this._languageService,this._openerService,t)),{renderedMarkdown:i,disposables:s}}_renderHoverExpansionAction(e,t,i){let s=new l.SL,o=t===f.bq.Increase,r=n.R3(e,x(b.k.asCSSSelector(o?N:E)));r.tabIndex=0;let a=new S.mQ("mouse",!1,{target:e,position:{hoverPosition:0}},this._configurationService,this._hoverService);if(s.add(this._hoverService.setupUpdatableHover(a,r,function(e,t){switch(t){case f.bq.Increase:{let t=e.lookupKeybinding(d.Gd);return t?c.NC("increaseVerbosityWithKb","Increase Hover Verbosity ({0})",t.getLabel()):c.NC("increaseVerbosity","Increase Hover Verbosity")}case f.bq.Decrease:{let t=e.lookupKeybinding(d.m);return t?c.NC("decreaseVerbosityWithKb","Decrease Hover Verbosity ({0})",t.getLabel()):c.NC("decreaseVerbosity","Decrease Hover Verbosity")}}}(this._keybindingService,t))),!i)return r.classList.add("disabled"),s;r.classList.add("enabled");let h=()=>this.updateMarkdownHoverPartVerbosityLevel(t);return s.add(new y.R0(r,h)),s.add(new y.rb(r,h,[3,10])),s}async updateMarkdownHoverPartVerbosityLevel(e,t=-1,i=!0){var n;let s=this._editor.getModel();if(!s)return;let o=-1!==t?t:this._focusedHoverPartIndex,r=this._getRenderedHoverPartAtIndex(o);if(!r||!(null===(n=r.hoverSource)||void 0===n?void 0:n.supportsVerbosityAction(e)))return;let l=r.hoverSource,a=await this._fetchHover(l,s,e);if(!a)return;let d=new T(a,l.hoverProvider,l.hoverPosition),h=this._renderHoverPart(o,a.contents,d,this._onFinishedRendering);this._replaceRenderedHoverPartAtIndex(o,h),i&&this._focusOnHoverPartWithIndex(o),this._onFinishedRendering()}markdownHoverContentAtIndex(e){var t;let i=this._getRenderedHoverPartAtIndex(e);return null!==(t=null==i?void 0:i.renderedMarkdown.innerText)&&void 0!==t?t:""}doesMarkdownHoverAtIndexSupportVerbosityAction(e,t){var i;let n=this._getRenderedHoverPartAtIndex(e);return!!(n&&(null===(i=n.hoverSource)||void 0===i?void 0:i.supportsVerbosityAction(t)))}async _fetchHover(e,t,i){let n,s=i===f.bq.Increase?1:-1,r=e.hoverProvider,l=this._ongoingHoverOperations.get(r);l&&(l.tokenSource.cancel(),s+=l.verbosityDelta);let a=new o.AU;this._ongoingHoverOperations.set(r,{verbosityDelta:s,tokenSource:a});let d={verbosityRequest:{verbosityDelta:s,previousHover:e.hover}};try{n=await Promise.resolve(r.provideHover(t,e.hoverPosition,a.token,d))}catch(e){(0,C.Cp)(e)}return a.dispose(),this._ongoingHoverOperations.delete(r),n}_replaceRenderedHoverPartAtIndex(e,t){if(e>=this._renderHoverParts.length||e<0)return;let i=this._renderedHoverParts[e],n=i.renderedMarkdown;n.replaceWith(t.renderedMarkdown),i.disposables.dispose(),this._renderedHoverParts[e]=t}_focusOnHoverPartWithIndex(e){this._renderedHoverParts[e].renderedMarkdown.focus()}_getRenderedHoverPartAtIndex(e){return this._renderedHoverParts[e]}}function A(e,t,i,n,o){t.sort((0,s.tT)(e=>e.ordinal,s.fv));let r=new l.SL;for(let s of t)r.add(P(i,e.fragment,s.contents,n,o,e.onContentsChanged));return r}function P(e,t,i,s,o,d){let h=new l.SL;for(let l of i){if((0,r.CP)(l))continue;let i=x("div.markdown-hover"),u=n.R3(i,x("div.hover-contents")),c=h.add(new a.$({editor:e},s,o));h.add(c.onDidRenderAsync(()=>{u.className="hover-contents code-hover-contents",d()}));let g=h.add(c.render(l));u.appendChild(g.element),t.appendChild(i)}return h}},39987:function(e,t,i){"use strict";var n,s,o=i(44532),r=i(32378),l=i(71141),a=i(82508),d=i(70209),h=i(84781),u=i(73440),c=i(66629),g=i(87999),p=i(82801);class m{constructor(e,t,i){this._editRange=e,this._originalSelection=t,this._text=i}getEditOperations(e,t){t.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),n=i[0].range;return this._originalSelection.isEmpty()?new h.Y(n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn),n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn)):new h.Y(n.endLineNumber,n.endColumn-this._text.length,n.endLineNumber,n.endColumn)}}i(9983);let f=s=class{static get(e){return e.getContribution(s.ID)}constructor(e,t){this.editor=e,this.editorWorkerService=t,this.decorations=this.editor.createDecorationsCollection()}dispose(){}run(e,t){var i;null===(i=this.currentRequest)||void 0===i||i.cancel();let n=this.editor.getSelection(),a=this.editor.getModel();if(!a||!n)return;let u=n;if(u.startLineNumber!==u.endLineNumber)return;let c=new l.yy(this.editor,5),g=a.uri;return this.editorWorkerService.canNavigateValueSet(g)?(this.currentRequest=(0,o.PG)(e=>this.editorWorkerService.navigateValueSet(g,u,t)),this.currentRequest.then(t=>{var i;if(!t||!t.range||!t.value||!c.validate(this.editor))return;let n=d.e.lift(t.range),l=t.range,a=t.value.length-(u.endColumn-u.startColumn);l={startLineNumber:l.startLineNumber,startColumn:l.startColumn,endLineNumber:l.endLineNumber,endColumn:l.startColumn+t.value.length},a>1&&(u=new h.Y(u.startLineNumber,u.startColumn,u.endLineNumber,u.endColumn+a-1));let g=new m(n,u,t.value);this.editor.pushUndoStop(),this.editor.executeCommand(e,g),this.editor.pushUndoStop(),this.decorations.set([{range:l,options:s.DECORATION}]),null===(i=this.decorationRemover)||void 0===i||i.cancel(),this.decorationRemover=(0,o.Vs)(350),this.decorationRemover.then(()=>this.decorations.clear()).catch(r.dL)}).catch(r.dL)):Promise.resolve(void 0)}};f.ID="editor.contrib.inPlaceReplaceController",f.DECORATION=c.qx.register({description:"in-place-replace",className:"valueSetReplacement"}),f=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=g.p,function(e,t){n(e,t,1)})],f);class _ extends a.R6{constructor(){super({id:"editor.action.inPlaceReplace.up",label:p.NC("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:u.u.writable,kbOpts:{kbExpr:u.u.editorTextFocus,primary:3159,weight:100}})}run(e,t){let i=f.get(t);return i?i.run(this.id,!1):Promise.resolve(void 0)}}class v extends a.R6{constructor(){super({id:"editor.action.inPlaceReplace.down",label:p.NC("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:u.u.writable,kbOpts:{kbExpr:u.u.editorTextFocus,primary:3161,weight:100}})}run(e,t){let i=f.get(t);return i?i.run(this.id,!0):Promise.resolve(void 0)}}(0,a._K)(f.ID,f,4),(0,a.Qr)(_),(0,a.Qr)(v)},46912:function(e,t,i){"use strict";var n,s=i(70784),o=i(95612),r=i(82508),l=i(2021),a=i(70209),d=i(73440),h=i(32712),u=i(98334),c=i(71363),g=i(82801),p=i(33353),m=i(68295),f=i(26318),_=i(50474),v=i(84781),b=i(29063);function C(e,t,i,n){if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return[];let s=t.getLanguageConfiguration(e.getLanguageId()).indentRulesSupport;if(!s)return[];let r=new b.sW(e,s,t);for(n=Math.min(n,e.getLineCount());i<=n&&r.shouldIgnore(i);)i++;if(i>n-1)return[];let{tabSize:a,indentSize:d,insertSpaces:h}=e.getOptions(),u=(e,t)=>(t=t||1,l.U.shiftIndent(e,e.length+t,a,d,h)),c=(e,t)=>(t=t||1,l.U.unshiftIndent(e,e.length+t,a,d,h)),g=[],p=e.getLineContent(i),m=o.V8(p),C=m;r.shouldIncrease(i)?(C=u(C),m=u(m)):r.shouldIndentNextLine(i)&&(C=u(C)),i++;for(let t=i;t<=n;t++){if(function(e,t){if(!e.tokenization.isCheapToTokenize(t))return!1;let i=e.tokenization.getLineTokens(t);return 2===i.getStandardTokenType(0)}(e,t))continue;let i=e.getLineContent(t),n=o.V8(i),s=C;r.shouldDecrease(t,s)&&(C=c(C),m=c(m)),n!==C&&g.push(f.h.replaceMove(new v.Y(t,1,t,n.length+1),(0,_.x)(C,d,h))),r.shouldIgnore(t)||(C=r.shouldIncrease(t,s)?m=u(m):r.shouldIndentNextLine(t,s)?u(C):m)}return g}var w=i(94458);class y extends r.R6{constructor(){super({id:y.ID,label:g.NC("indentationToSpaces","Convert Indentation to Spaces"),alias:"Convert Indentation to Spaces",precondition:d.u.writable,metadata:{description:g.vv("indentationToSpacesDescription","Convert the tab indentation to spaces.")}})}run(e,t){let i=t.getModel();if(!i)return;let n=i.getOptions(),s=t.getSelection();if(!s)return;let o=new A(s,n.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[o]),t.pushUndoStop(),i.updateOptions({insertSpaces:!0})}}y.ID="editor.action.indentationToSpaces";class S extends r.R6{constructor(){super({id:S.ID,label:g.NC("indentationToTabs","Convert Indentation to Tabs"),alias:"Convert Indentation to Tabs",precondition:d.u.writable,metadata:{description:g.vv("indentationToTabsDescription","Convert the spaces indentation to tabs.")}})}run(e,t){let i=t.getModel();if(!i)return;let n=i.getOptions(),s=t.getSelection();if(!s)return;let o=new P(s,n.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[o]),t.pushUndoStop(),i.updateOptions({insertSpaces:!1})}}S.ID="editor.action.indentationToTabs";class L extends r.R6{constructor(e,t,i){super(i),this.insertSpaces=e,this.displaySizeOnly=t}run(e,t){let i=e.get(p.eJ),n=e.get(u.q),s=t.getModel();if(!s)return;let o=n.getCreationOptions(s.getLanguageId(),s.uri,s.isForSimpleWidget),r=s.getOptions(),l=[1,2,3,4,5,6,7,8].map(e=>({id:e.toString(),label:e.toString(),description:e===o.tabSize&&e===r.tabSize?g.NC("configuredTabSize","Configured Tab Size"):e===o.tabSize?g.NC("defaultTabSize","Default Tab Size"):e===r.tabSize?g.NC("currentTabSize","Current Tab Size"):void 0})),a=Math.min(s.getOptions().tabSize-1,7);setTimeout(()=>{i.pick(l,{placeHolder:g.NC({key:"selectTabWidth",comment:["Tab corresponds to the tab key"]},"Select Tab Size for Current File"),activeItem:l[a]}).then(e=>{if(e&&s&&!s.isDisposed()){let t=parseInt(e.label,10);this.displaySizeOnly?s.updateOptions({tabSize:t}):s.updateOptions({tabSize:t,indentSize:t,insertSpaces:this.insertSpaces})}})},50)}}class k extends L{constructor(){super(!1,!1,{id:k.ID,label:g.NC("indentUsingTabs","Indent Using Tabs"),alias:"Indent Using Tabs",precondition:void 0,metadata:{description:g.vv("indentUsingTabsDescription","Use indentation with tabs.")}})}}k.ID="editor.action.indentUsingTabs";class D extends L{constructor(){super(!0,!1,{id:D.ID,label:g.NC("indentUsingSpaces","Indent Using Spaces"),alias:"Indent Using Spaces",precondition:void 0,metadata:{description:g.vv("indentUsingSpacesDescription","Use indentation with spaces.")}})}}D.ID="editor.action.indentUsingSpaces";class x extends L{constructor(){super(!0,!0,{id:x.ID,label:g.NC("changeTabDisplaySize","Change Tab Display Size"),alias:"Change Tab Display Size",precondition:void 0,metadata:{description:g.vv("changeTabDisplaySizeDescription","Change the space size equivalent of the tab.")}})}}x.ID="editor.action.changeTabDisplaySize";class N extends r.R6{constructor(){super({id:N.ID,label:g.NC("detectIndentation","Detect Indentation from Content"),alias:"Detect Indentation from Content",precondition:void 0,metadata:{description:g.vv("detectIndentationDescription","Detect the indentation from content.")}})}run(e,t){let i=e.get(u.q),n=t.getModel();if(!n)return;let s=i.getCreationOptions(n.getLanguageId(),n.uri,n.isForSimpleWidget);n.detectIndentation(s.insertSpaces,s.tabSize)}}N.ID="editor.action.detectIndentation";class E extends r.R6{constructor(){super({id:"editor.action.reindentlines",label:g.NC("editor.reindentlines","Reindent Lines"),alias:"Reindent Lines",precondition:d.u.writable,metadata:{description:g.vv("editor.reindentlinesDescription","Reindent the lines of the editor.")}})}run(e,t){let i=e.get(h.c_),n=t.getModel();if(!n)return;let s=C(n,i,1,n.getLineCount());s.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,s),t.pushUndoStop())}}class I extends r.R6{constructor(){super({id:"editor.action.reindentselectedlines",label:g.NC("editor.reindentselectedlines","Reindent Selected Lines"),alias:"Reindent Selected Lines",precondition:d.u.writable,metadata:{description:g.vv("editor.reindentselectedlinesDescription","Reindent the selected lines of the editor.")}})}run(e,t){let i=e.get(h.c_),n=t.getModel();if(!n)return;let s=t.getSelections();if(null===s)return;let o=[];for(let e of s){let t=e.startLineNumber,s=e.endLineNumber;if(t!==s&&1===e.endColumn&&s--,1===t){if(t===s)continue}else t--;let r=C(n,i,t,s);o.push(...r)}o.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,o),t.pushUndoStop())}}class T{constructor(e,t){for(let i of(this._initialSelection=t,this._edits=[],this._selectionId=null,e))i.range&&"string"==typeof i.text&&this._edits.push(i)}getEditOperations(e,t){for(let e of this._edits)t.addEditOperation(a.e.lift(e.range),e.text);let i=!1;Array.isArray(this._edits)&&1===this._edits.length&&this._initialSelection.isEmpty()&&(this._edits[0].range.startColumn===this._initialSelection.endColumn&&this._edits[0].range.startLineNumber===this._initialSelection.endLineNumber?(i=!0,this._selectionId=t.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(i=!0,this._selectionId=t.trackSelection(this._initialSelection,!1))),i||(this._selectionId=t.trackSelection(this._initialSelection))}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}let M=class{constructor(e,t){this.editor=e,this._languageConfigurationService=t,this.callOnDispose=new s.SL,this.callOnModel=new s.SL,this.callOnDispose.add(e.onDidChangeConfiguration(()=>this.update())),this.callOnDispose.add(e.onDidChangeModel(()=>this.update())),this.callOnDispose.add(e.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),!(4>this.editor.getOption(12)||this.editor.getOption(55))&&this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:e})=>{this.trigger(e)}))}trigger(e){let t=this.editor.getSelections();if(null===t||t.length>1)return;let i=this.editor.getModel();if(!i||function(e,t){let i=t=>{let i=(0,w.e)(e,t);return 2===i};return i(t.getStartPosition())||i(t.getEndPosition())}(i,e)||!i.tokenization.isCheapToTokenize(e.getStartPosition().lineNumber))return;let n=this.editor.getOption(12),{tabSize:s,indentSize:r,insertSpaces:d}=i.getOptions(),h=[],u={shiftIndent:e=>l.U.shiftIndent(e,e.length+1,s,r,d),unshiftIndent:e=>l.U.unshiftIndent(e,e.length+1,s,r,d)},g=e.startLineNumber;for(;g<=e.endLineNumber;){if(this.shouldIgnoreLine(i,g)){g++;continue}break}if(g>e.endLineNumber)return;let p=i.getLineContent(g);if(!/\S/.test(p.substring(0,e.startColumn-1))){let e=(0,m.n8)(n,i,i.getLanguageId(),g,u,this._languageConfigurationService);if(null!==e){let t=o.V8(p),n=c.Y(e,s),r=c.Y(t,s);if(n!==r){let e=c.J(n,s,d);h.push({range:new a.e(g,1,g,t.length+1),text:e}),p=e+p.substr(t.length)}else{let e=(0,m.tI)(i,g,this._languageConfigurationService);if(0===e||8===e)return}}}let f=g;for(;gi.tokenization.getLineTokens(e),getLanguageId:()=>i.getLanguageId(),getLanguageIdAtPosition:(e,t)=>i.getLanguageIdAtPosition(e,t)},getLineContent:e=>e===f?p:i.getLineContent(e)},i.getLanguageId(),g+1,u,this._languageConfigurationService);if(null!==t){let n=c.Y(t,s),r=c.Y(o.V8(i.getLineContent(g+1)),s);if(n!==r){let t=n-r;for(let n=g+1;n<=e.endLineNumber;n++){let e=i.getLineContent(n),r=o.V8(e),l=c.Y(r,s),u=l+t,g=c.J(u,s,d);g!==r&&h.push({range:new a.e(n,1,n,r.length+1),text:g})}}}}if(h.length>0){this.editor.pushUndoStop();let e=new T(h,this.editor.getSelection());this.editor.executeCommand("autoIndentOnPaste",e),this.editor.pushUndoStop()}}shouldIgnoreLine(e,t){e.tokenization.forceTokenization(t);let i=e.getLineFirstNonWhitespaceColumn(t);if(0===i)return!0;let n=e.tokenization.getLineTokens(t);if(n.getCount()>0){let e=n.findTokenIndexAtOffset(i);if(e>=0&&1===n.getStandardTokenType(e))return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}};function R(e,t,i,n){if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return;let s="";for(let e=0;e=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=h.c_,function(e,t){n(e,t,1)})],M);class A{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),R(e,t,this.tabSize,!0)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}class P{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),R(e,t,this.tabSize,!1)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}(0,r._K)(M.ID,M,2),(0,r.Qr)(y),(0,r.Qr)(S),(0,r.Qr)(k),(0,r.Qr)(D),(0,r.Qr)(x),(0,r.Qr)(N),(0,r.Qr)(E),(0,r.Qr)(I)},71363:function(e,t,i){"use strict";function n(e,t){let i=0;for(let n=0;nthis._currentResolve=void 0)),await this._currentResolve}}async _doResolve(e){var t,i,s;try{let n=await Promise.resolve(this.provider.resolveInlayHint(this.hint,e));this.hint.tooltip=null!==(t=null==n?void 0:n.tooltip)&&void 0!==t?t:this.hint.tooltip,this.hint.label=null!==(i=null==n?void 0:n.label)&&void 0!==i?i:this.hint.label,this.hint.textEdits=null!==(s=null==n?void 0:n.textEdits)&&void 0!==s?s:this.hint.textEdits,this._isResolved=!0}catch(e){(0,n.Cp)(e),this._isResolved=!1}}}class u{static async create(e,t,i,s){let o=[],r=e.ordered(t).reverse().map(e=>i.map(async i=>{try{let n=await e.provideInlayHints(t,i,s);((null==n?void 0:n.hints.length)||e.onDidChangeInlayHints)&&o.push([null!=n?n:u._emptyInlayHintList,e])}catch(e){(0,n.Cp)(e)}}));if(await Promise.all(r.flat()),s.isCancellationRequested||t.isDisposed())throw new n.FU;return new u(i,o,t)}constructor(e,t,i){this._disposables=new s.SL,this.ranges=e,this.provider=new Set;let n=[];for(let[e,s]of t)for(let t of(this._disposables.add(e),this.provider.add(s),e.hints)){let e;let o=i.validatePosition(t.position),l="before",a=u._getRangeAtPosition(i,o);a.getStartPosition().isBefore(o)?(e=r.e.fromPositions(a.getStartPosition(),o),l="after"):(e=r.e.fromPositions(o,a.getEndPosition()),l="before"),n.push(new h(t,new d(e,l),s))}this.items=n.sort((e,t)=>o.L.compare(e.hint.position,t.hint.position))}dispose(){this._disposables.dispose()}static _getRangeAtPosition(e,t){let i=t.lineNumber,n=e.getWordAtPosition(t);if(n)return new r.e(i,n.startColumn,i,n.endColumn);e.tokenization.tokenizeIfCheap(i);let s=e.tokenization.getLineTokens(i),o=t.column-1,l=s.findTokenIndexAtOffset(o),a=s.getStartOffset(l),d=s.getEndOffset(l);return d-a==1&&(a===o&&l>1?(a=s.getStartOffset(l-1),d=s.getEndOffset(l-1)):d===o&&lthis._update())),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(e=>{e.hasChanged(141)&&this._update()})),this._update()}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){let e;this._sessionDisposables.clear(),this._removeAllDecorations();let t=this._editor.getOption(141);if("off"===t.enabled)return;let i=this._editor.getModel();if(!i||!this._languageFeaturesService.inlayHintsProvider.has(i))return;if("on"===t.enabled)this._activeRenderMode=0;else{let e,i;"onUnlessPressed"===t.enabled?(e=0,i=1):(e=1,i=0),this._activeRenderMode=e,this._sessionDisposables.add(s._q.getInstance().event(t=>{if(!this._editor.hasModel())return;let n=t.altKey&&t.ctrlKey&&!(t.shiftKey||t.metaKey)?i:e;if(n!==this._activeRenderMode){this._activeRenderMode=n;let e=this._editor.getModel(),t=this._copyInlayHintsWithCurrentAnchor(e);this._updateHintsDecorators([e.getFullModelRange()],t),h.schedule(0)}}))}let n=this._inlayHintsCache.get(i);n&&this._updateHintsDecorators([i.getFullModelRange()],n),this._sessionDisposables.add((0,d.OF)(()=>{i.isDisposed()||this._cacheHintsForFastRestore(i)}));let o=new Set,h=new r.pY(async()=>{let t=Date.now();null==e||e.dispose(!0),e=new l.AU;let n=i.onWillDispose(()=>null==e?void 0:e.cancel());try{let n=e.token,s=await k.Q3.create(this._languageFeaturesService.inlayHintsProvider,i,this._getHintsRanges(),n);if(h.delay=this._debounceInfo.update(i,Date.now()-t),n.isCancellationRequested){s.dispose();return}for(let e of s.provider)"function"!=typeof e.onDidChangeInlayHints||o.has(e)||(o.add(e),this._sessionDisposables.add(e.onDidChangeInlayHints(()=>{h.isScheduled()||h.schedule()})));this._sessionDisposables.add(s),this._updateHintsDecorators(s.ranges,s.items),this._cacheHintsForFastRestore(i)}catch(e){(0,a.dL)(e)}finally{e.dispose(),n.dispose()}},this._debounceInfo.get(i));this._sessionDisposables.add(h),this._sessionDisposables.add((0,d.OF)(()=>null==e?void 0:e.dispose(!0))),h.schedule(0),this._sessionDisposables.add(this._editor.onDidScrollChange(e=>{(e.scrollTopChanged||!h.isScheduled())&&h.schedule()})),this._sessionDisposables.add(this._editor.onDidChangeModelContent(t=>{null==e||e.cancel();let i=Math.max(h.delay,1250);h.schedule(i)})),this._sessionDisposables.add(this._installDblClickGesture(()=>h.schedule(0))),this._sessionDisposables.add(this._installLinkGesture()),this._sessionDisposables.add(this._installContextMenu())}_installLinkGesture(){let e=new d.SL,t=e.add(new L.yN(this._editor)),i=new d.SL;return e.add(i),e.add(t.onMouseMoveOrRelevantKeyDown(e=>{let[t]=e,n=this._getInlayHintLabelPart(t),s=this._editor.getModel();if(!n||!s){i.clear();return}let o=new l.AU;i.add((0,d.OF)(()=>o.dispose(!0))),n.item.resolve(o.token),this._activeInlayHintPart=n.part.command||n.part.location?new F(n,t.hasTriggerModifier):void 0;let r=s.validatePosition(n.item.hint.position).lineNumber,a=new _.e(r,1,r,s.getLineMaxColumn(r)),h=this._getInlineHintsForRange(a);this._updateHintsDecorators([a],h),i.add((0,d.OF)(()=>{this._activeInlayHintPart=void 0,this._updateHintsDecorators([a],h)}))})),e.add(t.onCancel(()=>i.clear())),e.add(t.onExecute(async e=>{let t=this._getInlayHintLabelPart(e);if(t){let i=t.part;i.location?this._instaService.invokeFunction(D.K,e,this._editor,i.location):v.mY.is(i.command)&&await this._invokeCommand(i.command,t.item)}})),e}_getInlineHintsForRange(e){let t=new Set;for(let i of this._decorationsMetadata.values())e.containsRange(i.item.anchor.range)&&t.add(i.item);return Array.from(t)}_installDblClickGesture(e){return this._editor.onMouseUp(async t=>{if(2!==t.event.detail)return;let i=this._getInlayHintLabelPart(t);if(i&&(t.event.preventDefault(),await i.item.resolve(l.Ts.None),(0,o.Of)(i.item.hint.textEdits))){let t=i.item.hint.textEdits.map(e=>f.h.replace(_.e.lift(e.range),e.text));this._editor.executeEdits("inlayHint.default",t),e()}})}_installContextMenu(){return this._editor.onContextMenu(async e=>{if(!(0,s.Re)(e.event.target))return;let t=this._getInlayHintLabelPart(e);t&&await this._instaService.invokeFunction(D.u,this._editor,e.event.target,t)})}_getInlayHintLabelPart(e){var t;if(6!==e.target.type)return;let i=null===(t=e.target.detail.injectedText)||void 0===t?void 0:t.options;if(i instanceof C.HS&&(null==i?void 0:i.attachedData)instanceof O)return i.attachedData}async _invokeCommand(e,t){var i;try{await this._commandService.executeCommand(e.id,...null!==(i=e.arguments)&&void 0!==i?i:[])}catch(e){this._notificationService.notify({severity:I.zb.Error,source:t.provider.displayName,message:e})}}_cacheHintsForFastRestore(e){let t=this._copyInlayHintsWithCurrentAnchor(e);this._inlayHintsCache.set(e,t)}_copyInlayHintsWithCurrentAnchor(e){let t=new Map;for(let[i,n]of this._decorationsMetadata){if(t.has(n.item))continue;let s=e.getDecorationRange(i);if(s){let e=new k.UQ(s,n.item.anchor.direction),i=n.item.with({anchor:e});t.set(n.item,i)}}return Array.from(t.values())}_getHintsRanges(){let e=this._editor.getModel(),t=this._editor.getVisibleRangesPlusViewportAboveBelow(),i=[];for(let n of t.sort(_.e.compareRangesUsingStarts)){let t=e.validateRange(new _.e(n.startLineNumber-30,n.startColumn,n.endLineNumber+30,n.endColumn));0!==i.length&&_.e.areIntersectingOrTouching(i[i.length-1],t)?i[i.length-1]=_.e.plusRange(i[i.length-1],t):i.push(t)}return i}_updateHintsDecorators(e,t){var i,s;let r=[],l=(e,t,i,n,s)=>{let o={content:i,inlineClassNameAffectsLetterSpacing:!0,inlineClassName:t.className,cursorStops:n,attachedData:s};r.push({item:e,classNameRef:t,decoration:{range:e.anchor.range,options:{description:"InlayHint",showIfCollapsed:e.anchor.range.isEmpty(),collapseOnReplaceEdit:!e.anchor.range.isEmpty(),stickiness:0,[e.anchor.direction]:0===this._activeRenderMode?o:void 0}}})},a=(e,t)=>{let i=this._ruleFactory.createClassNameRef({width:`${d/3|0}px`,display:"inline-block"});l(e,i," ",t?b.RM.Right:b.RM.None)},{fontSize:d,fontFamily:h,padding:u,isUniform:c}=this._getLayoutInfo(),g="--code-editorInlayHintsFontFamily";this._editor.getContainerDomNode().style.setProperty(g,h);let f={line:0,totalLen:0};for(let e of t){if(f.line!==e.anchor.range.startLineNumber&&(f={line:e.anchor.range.startLineNumber,totalLen:0}),f.totalLen>n._MAX_LABEL_LEN)continue;e.hint.paddingLeft&&a(e,!1);let t="string"==typeof e.hint.label?[{label:e.hint.label}]:e.hint.label;for(let s=0;s0&&(_=_.slice(0,-C)+"…",v=!0),l(e,this._ruleFactory.createClassNameRef(p),_.replace(/[ \t]/g,"\xa0"),h&&!e.hint.paddingRight?b.RM.Right:b.RM.None,new O(e,s)),v)break}if(e.hint.paddingRight&&a(e,!0),r.length>n._MAX_DECORATORS)break}let _=[];for(let[t,i]of this._decorationsMetadata){let n=null===(s=this._editor.getModel())||void 0===s?void 0:s.getDecorationRange(t);n&&e.some(e=>e.containsRange(n))&&(_.push(t),i.classNameRef.dispose(),this._decorationsMetadata.delete(t))}let v=p.Z.capture(this._editor);this._editor.changeDecorations(e=>{let t=e.deltaDecorations(_,r.map(e=>e.decoration));for(let e=0;ei)&&(s=i);let o=e.fontFamily||n,r=!t&&o===n&&s===i;return{fontSize:s,fontFamily:o,padding:t,isUniform:r}}_removeAllDecorations(){for(let e of(this._editor.removeDecorations(Array.from(this._decorationsMetadata.keys())),this._decorationsMetadata.values()))e.classNameRef.dispose();this._decorationsMetadata.clear()}};B.ID="editor.contrib.InlayHints",B._MAX_DECORATORS=1500,B._MAX_LABEL_LEN=43,B=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([R(1,y.p),R(2,w.A),R(3,P),R(4,x.H),R(5,I.lT),R(6,E.TG)],B),x.P.registerCommand("_executeInlayHintProvider",async(e,...t)=>{let[i,n]=t;(0,u.p_)(c.o.isUri(i)),(0,u.p_)(_.e.isIRange(n));let{inlayHintsProvider:s}=e.get(y.p),o=await e.get(S.S).createModelReference(i);try{let e=await k.Q3.create(s,o.object.textEditorModel,[_.e.lift(n)],l.Ts.None),t=e.items.map(e=>e.hint);return setTimeout(()=>e.dispose(),0),t}finally{o.dispose()}})},26603:function(e,t,i){"use strict";i.d(t,{G:function(){return L}});var n=i(44532),s=i(42891),o=i(86570),r=i(66629),l=i(9411),a=i(77233),d=i(883),h=i(15320),u=i(92551),c=i(32161),g=i(78426),p=i(45902),m=i(64106),f=i(82801),_=i(58022),v=i(43149),b=i(40789),C=i(46417),w=i(96748),y=function(e,t){return function(i,n){t(i,n,e)}};class S extends l.YM{constructor(e,t,i,n){super(10,t,e.item.anchor.range,i,n,!0),this.part=e}}let L=class extends u.D5{constructor(e,t,i,n,s,o,r,l){super(e,t,i,o,l,n,s),this._resolverService=r,this.hoverOrdinal=6}suggestHoverAnchor(e){var t;let i=c.K.get(this._editor);if(!i||6!==e.target.type)return null;let n=null===(t=e.target.detail.injectedText)||void 0===t?void 0:t.options;return n instanceof r.HS&&n.attachedData instanceof c.f?new S(n.attachedData,this,e.event.posx,e.event.posy):null}computeSync(){return[]}computeAsync(e,t,i){return e instanceof S?new n.Aq(async t=>{let n,o;let{part:r}=e;if(await r.item.resolve(i),i.isCancellationRequested)return;if("string"==typeof r.item.hint.tooltip?n=new s.W5().appendText(r.item.hint.tooltip):r.item.hint.tooltip&&(n=r.item.hint.tooltip),n&&t.emitOne(new u.hU(this,e.range,[n],!1,0)),(0,b.Of)(r.item.hint.textEdits)&&t.emitOne(new u.hU(this,e.range,[new s.W5().appendText((0,f.NC)("hint.dbl","Double-click to insert"))],!1,10001)),"string"==typeof r.part.tooltip?o=new s.W5().appendText(r.part.tooltip):r.part.tooltip&&(o=r.part.tooltip),o&&t.emitOne(new u.hU(this,e.range,[o],!1,1)),r.part.location||r.part.command){let i;let n="altKey"===this._editor.getOption(78),o=n?_.dz?(0,f.NC)("links.navigate.kb.meta.mac","cmd + click"):(0,f.NC)("links.navigate.kb.meta","ctrl + click"):_.dz?(0,f.NC)("links.navigate.kb.alt.mac","option + click"):(0,f.NC)("links.navigate.kb.alt","alt + click");r.part.location&&r.part.command?i=new s.W5().appendText((0,f.NC)("hint.defAndCommand","Go to Definition ({0}), right click for more",o)):r.part.location?i=new s.W5().appendText((0,f.NC)("hint.def","Go to Definition ({0})",o)):r.part.command&&(i=new s.W5(`[${(0,f.NC)("hint.cmd","Execute Command")}](${(0,v._I)(r.part.command)} "${r.part.command.title}") (${o})`,{isTrusted:!0})),i&&t.emitOne(new u.hU(this,e.range,[i],!1,1e4))}let l=await this._resolveInlayHintLabelPartHover(r,i);for await(let e of l)t.emitOne(e)}):n.Aq.EMPTY}async _resolveInlayHintLabelPartHover(e,t){if(!e.part.location)return n.Aq.EMPTY;let{uri:i,range:r}=e.part.location,l=await this._resolverService.createModelReference(i);try{let i=l.object.textEditorModel;if(!this._languageFeaturesService.hoverProvider.has(i))return n.Aq.EMPTY;return(0,h.OP)(this._languageFeaturesService.hoverProvider,i,new o.L(r.startLineNumber,r.startColumn),t).filter(e=>!(0,s.CP)(e.hover.contents)).map(t=>new u.hU(this,e.item.anchor.range,t.hover.contents,!1,2+t.ordinal))}finally{l.dispose()}}};L=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([y(1,a.O),y(2,p.v),y(3,C.d),y(4,w.Bs),y(5,g.Ui),y(6,d.S),y(7,m.p)],L)},84003:function(e,t,i){"use strict";i.d(t,{K:function(){return v},u:function(){return _}});var n=i(81845),s=i(76886),o=i(9424),r=i(2645),l=i(70209),a=i(883),d=i(38820),h=i(62205),u=i(30467),c=i(81903),g=i(33336),p=i(10727),m=i(85327),f=i(16575);async function _(e,t,i,h){var g;let _=e.get(a.S),v=e.get(p.i),b=e.get(c.H),C=e.get(m.TG),w=e.get(f.lT);if(await h.item.resolve(o.Ts.None),!h.part.location)return;let y=h.part.location,S=[],L=new Set(u.BH.getMenuItems(u.eH.EditorContext).map(e=>(0,u.vr)(e)?e.command.id:(0,r.R)()));for(let e of d.Bj.all())L.has(e.desc.id)&&S.push(new s.aU(e.desc.id,u.U8.label(e.desc,{renderShortTitle:!0}),void 0,!0,async()=>{let i=await _.createModelReference(y.uri);try{let n=new d._k(i.object.textEditorModel,l.e.getStartPosition(y.range)),s=h.item.anchor.range;await C.invokeFunction(e.runEditorCommand.bind(e),t,n,s)}finally{i.dispose()}}));if(h.part.command){let{command:e}=h.part;S.push(new s.Z0),S.push(new s.aU(e.id,e.title,void 0,!0,async()=>{var t;try{await b.executeCommand(e.id,...null!==(t=e.arguments)&&void 0!==t?t:[])}catch(e){w.notify({severity:f.zb.Error,source:h.item.provider.displayName,message:e})}}))}let k=t.getOption(127);v.showContextMenu({domForShadowRoot:k&&null!==(g=t.getDomNode())&&void 0!==g?g:void 0,getAnchor:()=>{let e=n.i(i);return{x:e.left,y:e.top+e.height+8}},getActions:()=>S,onHide:()=>{t.focus()},autoSelectFirstItem:!0})}async function v(e,t,i,n){let s=e.get(a.S),o=await s.createModelReference(n.uri);await i.invokeWithinContext(async e=>{let s=t.hasSideBySideModifier,r=e.get(g.i6),a=h.Jy.inPeekEditor.getValue(r),u=!s&&i.getOption(88)&&!a,c=new d.BT({openToSide:s,openInPeek:u,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0});return c.run(e,new d._k(o.object.textEditorModel,l.e.getStartPosition(n.range)),l.e.lift(n.range))}),o.dispose()}},32258:function(e,t,i){"use strict";i.d(t,{Np:function(){return s},OW:function(){return o},Ou:function(){return n}});let n="editor.action.inlineSuggest.commit",s="editor.action.inlineSuggest.showPrevious",o="editor.action.inlineSuggest.showNext"},37908:function(e,t,i){"use strict";i.d(t,{HL:function(){return c},NY:function(){return d},Vb:function(){return a},bY:function(){return u},s1:function(){return h}});var n=i(40789),s=i(95612),o=i(86570),r=i(70209),l=i(28977);class a{constructor(e,t){this.lineNumber=e,this.parts=t}equals(e){return this.lineNumber===e.lineNumber&&this.parts.length===e.parts.length&&this.parts.every((t,i)=>t.equals(e.parts[i]))}renderForScreenReader(e){if(0===this.parts.length)return"";let t=this.parts[this.parts.length-1],i=e.substr(0,t.column-1),n=new l.PY([...this.parts.map(e=>new l.At(r.e.fromPositions(new o.L(1,e.column)),e.lines.join("\n")))]).applyToString(i);return n.substring(this.parts[0].column-1)}isEmpty(){return this.parts.every(e=>0===e.lines.length)}get lineCount(){return 1+this.parts.reduce((e,t)=>e+t.lines.length-1,0)}}class d{constructor(e,t,i){this.column=e,this.text=t,this.preview=i,this.lines=(0,s.uq)(this.text)}equals(e){return this.column===e.column&&this.lines.length===e.lines.length&&this.lines.every((t,i)=>t===e.lines[i])}}class h{constructor(e,t,i,n=0){this.lineNumber=e,this.columnRange=t,this.text=i,this.additionalReservedLineCount=n,this.parts=[new d(this.columnRange.endColumnExclusive,this.text,!1)],this.newLines=(0,s.uq)(this.text)}renderForScreenReader(e){return this.newLines.join("\n")}get lineCount(){return this.newLines.length}isEmpty(){return this.parts.every(e=>0===e.lines.length)}equals(e){return this.lineNumber===e.lineNumber&&this.columnRange.equals(e.columnRange)&&this.newLines.length===e.newLines.length&&this.newLines.every((t,i)=>t===e.newLines[i])&&this.additionalReservedLineCount===e.additionalReservedLineCount}}function u(e,t){return(0,n.fS)(e,t,c)}function c(e,t){return e===t||!!e&&!!t&&(e instanceof a&&t instanceof a||e instanceof h&&t instanceof h)&&e.equals(t)}},5369:function(e,t,i){"use strict";i.d(t,{Wd:function(){return y},rw:function(){return S}});var n,s=i(39813),o=i(79915),r=i(70784),l=i(43495),a=i(95612);i(96408);var d=i(50950),h=i(43364),u=i(86570),c=i(70209),g=i(91797),p=i(77233),m=i(41407),f=i(94458),_=i(90252),v=i(53429),b=i(37908),C=i(85954);let w="ghost-text",y=class extends r.JT{constructor(e,t,i){super(),this.editor=e,this.model=t,this.languageService=i,this.isDisposed=(0,l.uh)(this,!1),this.currentTextModel=(0,l.rD)(this.editor.onDidChangeModel,()=>this.editor.getModel()),this.uiState=(0,l.nK)(this,e=>{let t;if(this.isDisposed.read(e))return;let i=this.currentTextModel.read(e);if(i!==this.model.targetTextModel.read(e))return;let n=this.model.ghostText.read(e);if(!n)return;let s=n instanceof b.s1?n.columnRange:void 0,o=[],r=[];function l(e,t){if(r.length>0){let i=r[r.length-1];t&&i.decorations.push(new _.Kp(i.content.length+1,i.content.length+1+e[0].length,t,0)),i.content+=e[0],e=e.slice(1)}for(let i of e)r.push({content:i,decorations:t?[new _.Kp(1,i.length+1,t,0)]:[]})}let a=i.getLineContent(n.lineNumber),d=0;for(let e of n.parts){let i=e.lines;void 0===t?(o.push({column:e.column,text:i[0],preview:e.preview}),i=i.slice(1)):l([a.substring(d,e.column-1)],void 0),i.length>0&&(l(i,w),void 0===t&&e.column<=a.length&&(t=e.column)),d=e.column-1}void 0!==t&&l([a.substring(d)],void 0);let h=void 0!==t?new C.rv(t,a.length+1):void 0;return{replacedRange:s,inlineTexts:o,additionalLines:r,hiddenRange:h,lineNumber:n.lineNumber,additionalReservedLineCount:this.model.minReservedLineCount.read(e),targetTextModel:i}}),this.decorations=(0,l.nK)(this,e=>{let t=this.uiState.read(e);if(!t)return[];let i=[];for(let e of(t.replacedRange&&i.push({range:t.replacedRange.toRange(t.lineNumber),options:{inlineClassName:"inline-completion-text-to-replace",description:"GhostTextReplacement"}}),t.hiddenRange&&i.push({range:t.hiddenRange.toRange(t.lineNumber),options:{inlineClassName:"ghost-text-hidden",description:"ghost-text-hidden"}}),t.inlineTexts))i.push({range:c.e.fromPositions(new u.L(t.lineNumber,e.column)),options:{description:w,after:{content:e.text,inlineClassName:e.preview?"ghost-text-decoration-preview":"ghost-text-decoration",cursorStops:m.RM.Left},showIfCollapsed:!0}});return i}),this.additionalLinesWidget=this._register(new S(this.editor,this.languageService.languageIdCodec,(0,l.nK)(e=>{let t=this.uiState.read(e);return t?{lineNumber:t.lineNumber,additionalLines:t.additionalLines,minReservedLineCount:t.additionalReservedLineCount,targetTextModel:t.targetTextModel}:void 0}))),this._register((0,r.OF)(()=>{this.isDisposed.set(!0,void 0)})),this._register((0,C.RP)(this.editor,this.decorations))}ownsViewZone(e){return this.additionalLinesWidget.viewZoneId===e}};y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=p.O,function(e,t){n(e,t,2)})],y);class S extends r.JT{get viewZoneId(){return this._viewZoneId}constructor(e,t,i){super(),this.editor=e,this.languageIdCodec=t,this.lines=i,this._viewZoneId=void 0,this.editorOptionsChanged=(0,l.aq)("editorOptionChanged",o.ju.filter(this.editor.onDidChangeConfiguration,e=>e.hasChanged(33)||e.hasChanged(117)||e.hasChanged(99)||e.hasChanged(94)||e.hasChanged(51)||e.hasChanged(50)||e.hasChanged(67))),this._register((0,l.EH)(e=>{let t=this.lines.read(e);this.editorOptionsChanged.read(e),t?this.updateLines(t.lineNumber,t.additionalLines,t.minReservedLineCount):this.clear()}))}dispose(){super.dispose(),this.clear()}clear(){this.editor.changeViewZones(e=>{this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0)})}updateLines(e,t,i){let n=this.editor.getModel();if(!n)return;let{tabSize:s}=n.getOptions();this.editor.changeViewZones(n=>{this._viewZoneId&&(n.removeZone(this._viewZoneId),this._viewZoneId=void 0);let o=Math.max(t.length,i);if(o>0){let i=document.createElement("div");(function(e,t,i,n,s){let o=n.get(33),r=n.get(117),l=n.get(94),u=n.get(51),c=n.get(50),p=n.get(67),m=new g.HT(1e4);m.appendString('
    ');for(let e=0,n=i.length;e');let g=a.$i(d),_=a.Ut(d),b=f.A.createEmpty(d,s);(0,v.d1)(new v.IJ(c.isMonospace&&!o,c.canUseHalfwidthRightwardsArrow,d,!1,g,_,0,b,n.decorations,t,0,c.spaceWidth,c.middotWidth,c.wsmiddotWidth,r,"none",l,u!==h.n0.OFF,null),m),m.appendString("
    ")}m.appendString(""),(0,d.N)(e,c);let _=m.build(),b=L?L.createHTML(_):_;e.innerHTML=b})(i,s,t,this.editor.getOptions(),this.languageIdCodec),this._viewZoneId=n.addZone({afterLineNumber:e,heightInLines:o,domNode:i,afterColumnAffinity:1})}})}}let L=(0,s.Z)("editorGhostText",{createHTML:e=>e})},75016:function(e,t,i){"use strict";i.d(t,{f:function(){return d}});var n=i(43495),s=i(95612),o=i(64762),r=i(33336),l=i(70784),a=i(82801);class d extends l.JT{constructor(e,t){super(),this.contextKeyService=e,this.model=t,this.inlineCompletionVisible=d.inlineSuggestionVisible.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentation=d.inlineSuggestionHasIndentation.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentationLessThanTabSize=d.inlineSuggestionHasIndentationLessThanTabSize.bindTo(this.contextKeyService),this.suppressSuggestions=d.suppressSuggestions.bindTo(this.contextKeyService),this._register((0,n.EH)(e=>{let t=this.model.read(e),i=null==t?void 0:t.state.read(e),n=!!(null==i?void 0:i.inlineCompletion)&&(null==i?void 0:i.primaryGhostText)!==void 0&&!(null==i?void 0:i.primaryGhostText.isEmpty());this.inlineCompletionVisible.set(n),(null==i?void 0:i.primaryGhostText)&&(null==i?void 0:i.inlineCompletion)&&this.suppressSuggestions.set(i.inlineCompletion.inlineCompletion.source.inlineCompletions.suppressSuggestions)})),this._register((0,n.EH)(e=>{let t=this.model.read(e),i=!1,n=!0,r=null==t?void 0:t.primaryGhostText.read(e);if((null==t?void 0:t.selectedSuggestItem)&&r&&r.parts.length>0){let{column:e,lines:l}=r.parts[0],a=l[0],d=t.textModel.getLineIndentColumn(r.lineNumber);if(e<=d){let e=(0,s.LC)(a);-1===e&&(e=a.length-1),i=e>0;let r=t.textModel.getOptions().tabSize,l=o.i.visibleColumnFromColumn(a,e+1,r);n=lthis.lines[e-1]}}getLineCount(){return this.lines.length}getLineLength(e){return this.lines[e-1].getLineContent().length}}var Q=i(85954),Z=i(26956);async function Y(e,t,i,n,s=_.Ts.None,o){let r=function(e,t){let i=t.getWordAtPosition(e),n=t.getLineMaxColumn(e.lineNumber);return i?new R.e(e.lineNumber,i.startColumn,e.lineNumber,n):R.e.fromPositions(e,e.with(void 0,n))}(t,i),l=e.all(i),a=new z.ri;for(let e of l)e.groupId&&a.add(e.groupId,e);function d(e){if(!e.yieldsToGroupIds)return[];let t=[];for(let i of e.yieldsToGroupIds||[]){let e=a.get(i);for(let i of e)t.push(i)}return t}let h=new Map,u=new Set,c=await Promise.all(l.map(async e=>({provider:e,completions:await function e(o){let r=h.get(o);if(r)return r;let l=function e(t,i){if(i=[...i,t],u.has(t))return i;u.add(t);try{let n=d(t);for(let t of n){let n=e(t,i);if(n)return n}}finally{u.delete(t)}}(o,[]);l&&(0,I.Cp)(Error(`Inline completions: cyclic yield-to dependency detected. Path: ${l.map(e=>e.toString?e.toString():""+e).join(" -> ")}`));let a=new f.CR;return h.set(o,a.p),(async()=>{if(!l){let t=d(o);for(let i of t){let t=await e(i);if(t&&t.items.length>0)return}}try{let e=await o.provideInlineCompletions(i,t,n,s);return e}catch(e){(0,I.Cp)(e);return}})().then(e=>a.complete(e),e=>a.error(e)),a.p}(e)}))),g=new Map,p=[];for(let e of c){let t=e.completions;if(!t)continue;let n=new X(t,e.provider);for(let e of(p.push(n),t.items)){let t=ee.from(e,n,r,i,o);g.set(t.hash(),t)}}return new J(Array.from(g.values()),new Set(g.keys()),p)}class J{constructor(e,t,i){this.completions=e,this.hashs=t,this.providerResults=i}has(e){return this.hashs.has(e.hash())}dispose(){for(let e of this.providerResults)e.removeRef()}}class X{constructor(e,t){this.inlineCompletions=e,this.provider=t,this.refCount=1}addRef(){this.refCount++}removeRef(){this.refCount--,0===this.refCount&&this.provider.freeInlineCompletions(this.inlineCompletions)}}class ee{static from(e,t,i,n,s){let o,r;let l=e.range?R.e.lift(e.range):i;if("string"==typeof e.insertText){if(o=e.insertText,s&&e.completeBracketPairs){o=et(o,l.getStartPosition(),n,s);let t=o.length-e.insertText.length;0!==t&&(l=new R.e(l.startLineNumber,l.startColumn,l.endLineNumber,l.endColumn+t))}r=void 0}else if("snippet"in e.insertText){let t=e.insertText.snippet.length;if(s&&e.completeBracketPairs){e.insertText.snippet=et(e.insertText.snippet,l.getStartPosition(),n,s);let i=e.insertText.snippet.length-t;0!==i&&(l=new R.e(l.startLineNumber,l.startColumn,l.endLineNumber,l.endColumn+i))}let i=new Z.Yj().parse(e.insertText.snippet);1===i.children.length&&i.children[0]instanceof Z.xv?(o=i.children[0].value,r=void 0):(o=i.toString(),r={snippet:e.insertText.snippet,range:l})}else(0,V.vE)(e.insertText);return new ee(o,e.command,l,o,r,e.additionalTextEdits||(0,Q.He)(),e,t)}constructor(e,t,i,n,s,o,r,l){this.filterText=e,this.command=t,this.range=i,this.insertText=n,this.snippetInfo=s,this.additionalTextEdits=o,this.sourceInlineCompletion=r,this.source=l,n=(e=e.replace(/\r\n|\r/g,"\n")).replace(/\r\n|\r/g,"\n")}withRange(e){return new ee(this.filterText,this.command,e,this.insertText,this.snippetInfo,this.additionalTextEdits,this.sourceInlineCompletion,this.source)}hash(){return JSON.stringify({insertText:this.insertText,range:this.range.toString()})}}function et(e,t,i,n){let s=i.getLineContent(t.lineNumber).substring(0,t.column-1),o=s+e,r=i.tokenization.tokenizeLineWithEdit(t,o.length-(t.column-1),e),l=null==r?void 0:r.sliceAndInflate(t.column-1,o.length,0);if(!l)return e;let a=function(e,t){let i=new q.FE,n=new K.Z(i,e=>t.getLanguageConfiguration(e)),s=new j.xH(new G([e]),n),o=(0,$.w)(s,[],void 0,!0),r="",l=e.getLineContent();return!function e(t,i){if(2===t.kind){if(e(t.openingBracket,i),i=(0,U.Ii)(i,t.openingBracket.length),t.child&&(e(t.child,i),i=(0,U.Ii)(i,t.child.length)),t.closingBracket)e(t.closingBracket,i),i=(0,U.Ii)(i,t.closingBracket.length);else{let e=n.getSingleLanguageBracketTokens(t.openingBracket.languageId),i=e.findClosingTokenText(t.openingBracket.bracketIds);r+=i}}else if(3===t.kind);else if(0===t.kind||1===t.kind)r+=l.substring((0,U.F_)(i),(0,U.F_)((0,U.Ii)(i,t.length)));else if(4===t.kind)for(let n of t.children)e(n,i),i=(0,U.Ii)(i,n.length)}(o,U.xl),r}(l,n);return a}var ei=i(39970);function en(e,t,i){let n=i?e.range.intersectRanges(i):e.range;if(!n)return e;let s=t.getValueInRange(n,1),o=(0,T.Mh)(s,e.text),r=O.A.ofText(s.substring(0,o)).addToPosition(e.range.getStartPosition()),l=e.text.substring(o),a=R.e.fromPositions(r,e.range.getEndPosition());return new P.At(a,l)}function es(e,t){var i,n;return e.text.startsWith(t.text)&&(i=e.range,(n=t.range).getStartPosition().equals(i.getStartPosition())&&n.getEndPosition().isBeforeOrEqual(i.getEndPosition()))}function eo(e,t,i,s,o=0){let r=en(e,t);if(r.range.endLineNumber!==r.range.startLineNumber)return;let l=t.getLineContent(r.range.startLineNumber),a=(0,T.V8)(l).length,d=r.range.startColumn-1<=a;if(d){let e=(0,T.V8)(r.text).length,t=l.substring(r.range.startColumn-1,a),[i,n]=[r.range.getStartPosition(),r.range.getEndPosition()],s=i.column+t.length<=n.column?i.delta(0,t.length):n,o=R.e.fromPositions(s,n),d=r.text.startsWith(t)?r.text.substring(t.length):r.text.substring(e);r=new P.At(o,d)}let h=t.getValueInRange(r.range),u=function(e,t){if((null==n?void 0:n.originalValue)===e&&(null==n?void 0:n.newValue)===t)return null==n?void 0:n.changes;{let i=el(e,t,!0);if(i){let n=er(i);if(n>0){let s=el(e,t,!1);s&&er(s)0===e.originalLength);if(e.length>1||1===e.length&&e[0].originalStart!==h.length)return}let p=r.text.length-o;for(let e of u){let t=r.range.startColumn+e.originalStart+e.originalLength;if("subwordSmart"===i&&s&&s.lineNumber===r.range.startLineNumber&&t0)return;if(0===e.modifiedLength)continue;let n=e.modifiedStart+e.modifiedLength,o=Math.max(e.modifiedStart,Math.min(n,p)),l=r.text.substring(e.modifiedStart,o),a=r.text.substring(o,Math.max(e.modifiedStart,n));l.length>0&&g.push(new W.NY(t,l,!1)),a.length>0&&g.push(new W.NY(t,a,!0))}return new W.Vb(c,g)}function er(e){let t=0;for(let i of e)t+=i.originalLength;return t}function el(e,t,i){if(e.length>5e3||t.length>5e3)return;function n(e){let t=0;for(let i=0,n=e.length;it&&(t=n)}return t}let s=Math.max(n(e),n(t));function o(e){if(e<0)throw Error("unexpected");return s+e+1}function r(e){let t=0,n=0,s=new Int32Array(e.length);for(let r=0,l=e.length;rl},{getElements:()=>a}).ComputeDiff(!1).changes}var ea=function(e,t){return function(i,n){t(i,n,e)}};let ed=class extends b.JT{constructor(e,t,i,n,s){super(),this.textModel=e,this.versionId=t,this._debounceValue=i,this.languageFeaturesService=n,this.languageConfigurationService=s,this._updateOperation=this._register(new b.XK),this.inlineCompletions=(0,d.DN)("inlineCompletions",void 0),this.suggestWidgetInlineCompletions=(0,d.DN)("suggestWidgetInlineCompletions",void 0),this._register(this.textModel.onDidChangeContent(()=>{this._updateOperation.clear()}))}fetch(e,t,i){var n,s;let o=new eh(e,t,this.textModel.getVersionId()),r=t.selectedSuggestionInfo?this.suggestWidgetInlineCompletions:this.inlineCompletions;if(null===(n=this._updateOperation.value)||void 0===n?void 0:n.request.satisfies(o))return this._updateOperation.value.promise;if(null===(s=r.get())||void 0===s?void 0:s.request.satisfies(o))return Promise.resolve(!0);let l=!!this._updateOperation.value;this._updateOperation.clear();let a=new _.AU,h=(async()=>{var n,s;let h=l||t.triggerKind===F.bw.Automatic;if(h&&await (n=this._debounceValue.get(this.textModel),s=a.token,new Promise(e=>{let t;let i=setTimeout(()=>{t&&t.dispose(),e()},n);s&&(t=s.onCancellationRequested(()=>{clearTimeout(i),t&&t.dispose(),e()}))})),a.token.isCancellationRequested||this.textModel.getVersionId()!==o.versionId)return!1;let u=new Date,c=await Y(this.languageFeaturesService.inlineCompletionsProvider,e,this.textModel,t,a.token,this.languageConfigurationService);if(a.token.isCancellationRequested||this.textModel.getVersionId()!==o.versionId)return!1;let g=new Date;this._debounceValue.update(this.textModel,g.getTime()-u.getTime());let p=new ec(c,o,this.textModel,this.versionId);if(i){let t=i.toInlineCompletion(void 0);i.canBeReused(this.textModel,e)&&!c.has(t)&&p.prepend(i.inlineCompletion,t.range,!0)}return this._updateOperation.clear(),(0,d.PS)(e=>{r.set(p,e)}),!0})(),u=new eu(o,a,h);return this._updateOperation.value=u,h}clear(e){this._updateOperation.clear(),this.inlineCompletions.set(void 0,e),this.suggestWidgetInlineCompletions.set(void 0,e)}clearSuggestWidgetInlineCompletions(e){var t;(null===(t=this._updateOperation.value)||void 0===t?void 0:t.request.context.selectedSuggestionInfo)&&this._updateOperation.clear(),this.suggestWidgetInlineCompletions.set(void 0,e)}cancelUpdate(){this._updateOperation.clear()}};ed=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ea(3,k.p),ea(4,B.c_)],ed);class eh{constructor(e,t,i){this.position=e,this.context=t,this.versionId=i}satisfies(e){return this.position.equals(e.position)&&(0,v.Tx)(this.context.selectedSuggestionInfo,e.context.selectedSuggestionInfo,(0,v.$h)())&&(e.context.triggerKind===F.bw.Automatic||this.context.triggerKind===F.bw.Explicit)&&this.versionId===e.versionId}}class eu{constructor(e,t,i){this.request=e,this.cancellationTokenSource=t,this.promise=i}dispose(){this.cancellationTokenSource.cancel()}}class ec{get inlineCompletions(){return this._inlineCompletions}constructor(e,t,i,n){this.inlineCompletionProviderResult=e,this.request=t,this._textModel=i,this._versionId=n,this._refCount=1,this._prependedInlineCompletionItems=[];let s=i.deltaDecorations([],e.completions.map(e=>({range:e.range,options:{description:"inline-completion-tracking-range"}})));this._inlineCompletions=e.completions.map((e,t)=>new eg(e,s[t],this._textModel,this._versionId))}clone(){return this._refCount++,this}dispose(){if(this._refCount--,0===this._refCount)for(let e of(setTimeout(()=>{this._textModel.isDisposed()||this._textModel.deltaDecorations(this._inlineCompletions.map(e=>e.decorationId),[])},0),this.inlineCompletionProviderResult.dispose(),this._prependedInlineCompletionItems))e.source.removeRef()}prepend(e,t,i){i&&e.source.addRef();let n=this._textModel.deltaDecorations([],[{range:t,options:{description:"inline-completion-tracking-range"}}])[0];this._inlineCompletions.unshift(new eg(e,n,this._textModel,this._versionId)),this._prependedInlineCompletionItems.push(e)}}class eg{get forwardStable(){var e;return null!==(e=this.inlineCompletion.source.inlineCompletions.enableForwardStability)&&void 0!==e&&e}constructor(e,t,i,n){this.inlineCompletion=e,this.decorationId=t,this._textModel=i,this._modelVersion=n,this.semanticId=JSON.stringify([this.inlineCompletion.filterText,this.inlineCompletion.insertText,this.inlineCompletion.range.getStartPosition().toString()]),this._updatedRange=(0,d.bk)({owner:this,equalsFn:R.e.equalsRange},e=>(this._modelVersion.read(e),this._textModel.getDecorationRange(this.decorationId)))}toInlineCompletion(e){var t;return this.inlineCompletion.withRange(null!==(t=this._updatedRange.read(e))&&void 0!==t?t:ep)}toSingleTextEdit(e){var t;return new P.At(null!==(t=this._updatedRange.read(e))&&void 0!==t?t:ep,this.inlineCompletion.insertText)}isVisible(e,t,i){let n=en(this._toFilterTextReplacement(i),e),s=this._updatedRange.read(i);if(!s||!this.inlineCompletion.range.getStartPosition().equals(s.getStartPosition())||t.lineNumber!==n.range.startLineNumber)return!1;let o=e.getValueInRange(n.range,1),r=n.text,l=Math.max(0,t.column-n.range.startColumn),a=r.substring(0,l),d=r.substring(l),h=o.substring(0,l),u=o.substring(l),c=e.getLineIndentColumn(n.range.startLineNumber);return n.range.startColumn<=c&&(0===(h=h.trimStart()).length&&(u=u.trimStart()),0===(a=a.trimStart()).length&&(d=d.trimStart())),a.startsWith(h)&&!!(0,H.Sy)(u,d)}canBeReused(e,t){let i=this._updatedRange.read(void 0),n=!!i&&i.containsPosition(t)&&this.isVisible(e,t,void 0)&&O.A.ofRange(i).isGreaterThanOrEqualTo(O.A.ofRange(this.inlineCompletion.range));return n}_toFilterTextReplacement(e){var t;return new P.At(null!==(t=this._updatedRange.read(e))&&void 0!==t?t:ep,this.inlineCompletion.filterText)}}let ep=new R.e(1,1,1,1);var em=i(41078),ef=i(81903),e_=i(85327),ev=function(e,t){return function(i,n){t(i,n,e)}};(s=o||(o={}))[s.Undo=0]="Undo",s[s.Redo=1]="Redo",s[s.AcceptWord=2]="AcceptWord",s[s.Other=3]="Other";let eb=class extends b.JT{get isAcceptingPartially(){return this._isAcceptingPartially}constructor(e,t,i,n,s,r,l,a,h,u,c,g){let p;super(),this.textModel=e,this.selectedSuggestItem=t,this.textModelVersionId=i,this._positions=n,this._debounceValue=s,this._suggestPreviewEnabled=r,this._suggestPreviewMode=l,this._inlineSuggestMode=a,this._enabled=h,this._instantiationService=u,this._commandService=c,this._languageConfigurationService=g,this._source=this._register(this._instantiationService.createInstance(ed,this.textModel,this.textModelVersionId,this._debounceValue)),this._isActive=(0,d.uh)(this,!1),this._forceUpdateExplicitlySignal=(0,d.GN)(this),this._selectedInlineCompletionId=(0,d.uh)(this,void 0),this._primaryPosition=(0,d.nK)(this,e=>{var t;return null!==(t=this._positions.read(e)[0])&&void 0!==t?t:new S.L(1,1)}),this._isAcceptingPartially=!1,this._preserveCurrentCompletionReasons=new Set([o.Redo,o.Undo,o.AcceptWord]),this._fetchInlineCompletionsPromise=(0,d.aK)({owner:this,createEmptyChangeSummary:()=>({preserveCurrentCompletion:!1,inlineCompletionTriggerKind:F.bw.Automatic}),handleChange:(e,t)=>(e.didChange(this.textModelVersionId)&&this._preserveCurrentCompletionReasons.has(e.change)?t.preserveCurrentCompletion=!0:e.didChange(this._forceUpdateExplicitlySignal)&&(t.inlineCompletionTriggerKind=F.bw.Explicit),!0)},(e,t)=>{this._forceUpdateExplicitlySignal.read(e);let i=this._enabled.read(e)&&this.selectedSuggestItem.read(e)||this._isActive.read(e);if(!i){this._source.cancelUpdate();return}this.textModelVersionId.read(e);let n=this._source.suggestWidgetInlineCompletions.get(),s=this.selectedSuggestItem.read(e);if(n&&!s){let e=this._source.inlineCompletions.get();(0,d.PS)(t=>{(!e||n.request.versionId>e.request.versionId)&&this._source.inlineCompletions.set(n.clone(),t),this._source.clearSuggestWidgetInlineCompletions(t)})}let o=this._primaryPosition.read(e),r={triggerKind:t.inlineCompletionTriggerKind,selectedSuggestionInfo:null==s?void 0:s.toSelectedSuggestionInfo()},l=this.selectedInlineCompletion.get(),a=t.preserveCurrentCompletion||(null==l?void 0:l.forwardStable)?l:void 0;return this._source.fetch(o,r,a)}),this._filteredInlineCompletionItems=(0,d.bk)({owner:this,equalsFn:(0,v.ZC)()},e=>{let t=this._source.inlineCompletions.read(e);if(!t)return[];let i=this._primaryPosition.read(e),n=t.inlineCompletions.filter(t=>t.isVisible(this.textModel,i,e));return n}),this.selectedInlineCompletionIndex=(0,d.nK)(this,e=>{let t=this._selectedInlineCompletionId.read(e),i=this._filteredInlineCompletionItems.read(e),n=void 0===this._selectedInlineCompletionId?-1:i.findIndex(e=>e.semanticId===t);return -1===n?(this._selectedInlineCompletionId.set(void 0,void 0),0):n}),this.selectedInlineCompletion=(0,d.nK)(this,e=>{let t=this._filteredInlineCompletionItems.read(e),i=this.selectedInlineCompletionIndex.read(e);return t[i]}),this.activeCommands=(0,d.bk)({owner:this,equalsFn:(0,v.ZC)()},e=>{var t,i;return null!==(i=null===(t=this.selectedInlineCompletion.read(e))||void 0===t?void 0:t.inlineCompletion.source.inlineCompletions.commands)&&void 0!==i?i:[]}),this.lastTriggerKind=this._source.inlineCompletions.map(this,e=>null==e?void 0:e.request.context.triggerKind),this.inlineCompletionsCount=(0,d.nK)(this,e=>this.lastTriggerKind.read(e)===F.bw.Explicit?this._filteredInlineCompletionItems.read(e).length:void 0),this.state=(0,d.bk)({owner:this,equalsFn:(e,t)=>e&&t?(0,W.bY)(e.ghostTexts,t.ghostTexts)&&e.inlineCompletion===t.inlineCompletion&&e.suggestItem===t.suggestItem:e===t},e=>{var t,i;let n=this.textModel,s=this.selectedSuggestItem.read(e);if(s){let o=en(s.toSingleTextEdit(),n),r=this._computeAugmentation(o,e),l=this._suggestPreviewEnabled.read(e);if(!l&&!r)return;let a=null!==(t=null==r?void 0:r.edit)&&void 0!==t?t:o,d=r?r.edit.text.length-o.text.length:0,h=this._suggestPreviewMode.read(e),u=this._positions.read(e),c=[a,...eC(this.textModel,u,a)],g=c.map((e,t)=>eo(e,n,h,u[t],d)).filter(w.$K),p=null!==(i=g[0])&&void 0!==i?i:new W.Vb(a.range.endLineNumber,[]);return{edits:c,primaryGhostText:p,ghostTexts:g,inlineCompletion:null==r?void 0:r.completion,suggestItem:s}}{if(!this._isActive.read(e))return;let t=this.selectedInlineCompletion.read(e);if(!t)return;let i=t.toSingleTextEdit(e),s=this._inlineSuggestMode.read(e),o=this._positions.read(e),r=[i,...eC(this.textModel,o,i)],l=r.map((e,t)=>eo(e,n,s,o[t],0)).filter(w.$K);if(!l[0])return;return{edits:r,primaryGhostText:l[0],ghostTexts:l,inlineCompletion:t,suggestItem:void 0}}}),this.ghostTexts=(0,d.bk)({owner:this,equalsFn:W.bY},e=>{let t=this.state.read(e);if(t)return t.ghostTexts}),this.primaryGhostText=(0,d.bk)({owner:this,equalsFn:W.HL},e=>{let t=this.state.read(e);if(t)return null==t?void 0:t.primaryGhostText}),this._register((0,d.jx)(this._fetchInlineCompletionsPromise)),this._register((0,d.EH)(e=>{var t,i;let n=this.state.read(e),s=null==n?void 0:n.inlineCompletion;if((null==s?void 0:s.semanticId)!==(null==p?void 0:p.semanticId)&&(p=s,s)){let e=s.inlineCompletion,n=e.source;null===(i=(t=n.provider).handleItemDidShow)||void 0===i||i.call(t,n.inlineCompletions,e.sourceInlineCompletion,e.insertText)}}))}async trigger(e){this._isActive.set(!0,e),await this._fetchInlineCompletionsPromise.get()}async triggerExplicitly(e){(0,d.c8)(e,e=>{this._isActive.set(!0,e),this._forceUpdateExplicitlySignal.trigger(e)}),await this._fetchInlineCompletionsPromise.get()}stop(e){(0,d.c8)(e,e=>{this._isActive.set(!1,e),this._source.clear(e)})}_computeAugmentation(e,t){let i=this.textModel,n=this._source.suggestWidgetInlineCompletions.read(t),s=n?n.inlineCompletions:[this.selectedInlineCompletion.read(t)].filter(w.$K),o=(0,E.Fr)(s,n=>{let s=n.toSingleTextEdit(t);return es(s=en(s,i,R.e.fromPositions(s.range.getStartPosition(),e.range.getEndPosition())),e)?{completion:n,edit:s}:void 0});return o}async _deltaSelectedInlineCompletionIndex(e){await this.triggerExplicitly();let t=this._filteredInlineCompletionItems.get()||[];if(t.length>0){let i=(this.selectedInlineCompletionIndex.get()+e+t.length)%t.length;this._selectedInlineCompletionId.set(t[i].semanticId,void 0)}else this._selectedInlineCompletionId.set(void 0,void 0)}async next(){await this._deltaSelectedInlineCompletionIndex(1)}async previous(){await this._deltaSelectedInlineCompletionIndex(-1)}async accept(e){var t;if(e.getModel()!==this.textModel)throw new I.he;let i=this.state.get();if(!i||i.primaryGhostText.isEmpty()||!i.inlineCompletion)return;let n=i.inlineCompletion.toInlineCompletion(void 0);if(e.pushUndoStop(),n.snippetInfo)e.executeEdits("inlineSuggestion.accept",[M.h.replace(n.range,""),...n.additionalTextEdits]),e.setPosition(n.snippetInfo.range.getStartPosition(),"inlineCompletionAccept"),null===(t=em.f.get(e))||void 0===t||t.insert(n.snippetInfo.snippet,{undoStopBefore:!1});else{let t=i.edits,s=ew(t).map(e=>A.Y.fromPositions(e));e.executeEdits("inlineSuggestion.accept",[...t.map(e=>M.h.replace(e.range,e.text)),...n.additionalTextEdits]),e.setSelections(s,"inlineCompletionAccept")}n.command&&n.source.addRef(),(0,d.PS)(e=>{this._source.clear(e),this._isActive.set(!1,e)}),n.command&&(await this._commandService.executeCommand(n.command.id,...n.command.arguments||[]).then(void 0,I.Cp),n.source.removeRef())}async acceptNextWord(e){await this._acceptNext(e,(e,t)=>{let i=this.textModel.getLanguageIdAtPosition(e.lineNumber,e.column),n=this._languageConfigurationService.getLanguageConfiguration(i),s=new RegExp(n.wordDefinition.source,n.wordDefinition.flags.replace("g","")),o=t.match(s),r=0;r=o&&void 0!==o.index?0===o.index?o[0].length:o.index:t.length;let l=/\s+/g.exec(t);return l&&void 0!==l.index&&l.index+l[0].length{let i=t.match(/\n/);return i&&void 0!==i.index?i.index+1:t.length},1)}async _acceptNext(e,t,i){if(e.getModel()!==this.textModel)throw new I.he;let n=this.state.get();if(!n||n.primaryGhostText.isEmpty()||!n.inlineCompletion)return;let s=n.primaryGhostText,o=n.inlineCompletion.toInlineCompletion(void 0);if(o.snippetInfo||o.filterText!==o.insertText){await this.accept(e);return}let r=s.parts[0],l=new S.L(s.lineNumber,r.column),a=r.text,d=t(l,a);if(d===a.length&&1===s.parts.length){this.accept(e);return}let h=a.substring(0,d),u=this._positions.get(),c=u[0];o.source.addRef();try{this._isAcceptingPartially=!0;try{e.pushUndoStop();let t=R.e.fromPositions(c,l),i=e.getModel().getValueInRange(t)+h,n=new P.At(t,i),s=[n,...eC(this.textModel,u,n)],o=ew(s).map(e=>A.Y.fromPositions(e));e.executeEdits("inlineSuggestion.accept",s.map(e=>M.h.replace(e.range,e.text))),e.setSelections(o,"inlineCompletionPartialAccept"),e.revealPositionInCenterIfOutsideViewport(e.getPosition(),1)}finally{this._isAcceptingPartially=!1}if(o.source.provider.handlePartialAccept){let t=R.e.fromPositions(o.range.getStartPosition(),O.A.ofText(h).addToPosition(l)),n=e.getModel().getValueInRange(t,1);o.source.provider.handlePartialAccept(o.source.inlineCompletions,o.sourceInlineCompletion,n.length,{kind:i})}}finally{o.source.removeRef()}}handleSuggestAccepted(e){var t,i;let n=en(e.toSingleTextEdit(),this.textModel),s=this._computeAugmentation(n,void 0);if(!s)return;let o=s.completion.inlineCompletion;null===(i=(t=o.source.provider).handlePartialAccept)||void 0===i||i.call(t,o.source.inlineCompletions,o.sourceInlineCompletion,n.text.length,{kind:2})}};function eC(e,t,i){if(1===t.length)return[];let n=t[0],s=t.slice(1),o=i.range.getStartPosition(),r=i.range.getEndPosition(),l=e.getValueInRange(R.e.fromPositions(n,r)),a=(0,Q.Bm)(n,o);if(a.lineNumber<1)return(0,I.dL)(new I.he(`positionWithinTextEdit line number should be bigger than 0. + `,constraint:z,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,i,n){let s=this.getLineNumbers(n,i),o=n&&n.levels,r=n&&n.direction;"number"!=typeof o&&"string"!=typeof r?(0,f.HX)(t,!0,s):"up"===r?(0,f.gU)(t,!0,o||1,s):(0,f.R$)(t,!0,o||1,s)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldRecursively",label:L.NC("foldRecursivelyAction.label","Fold Recursively"),alias:"Fold Recursively",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2140),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);(0,f.R$)(t,!0,Number.MAX_VALUE,n)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldAll",label:L.NC("foldAllAction.label","Fold All"),alias:"Fold All",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2069),weight:100}})}invoke(e,t,i){(0,f.R$)(t,!0)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.unfoldAll",label:L.NC("unfoldAllAction.label","Unfold All"),alias:"Unfold All",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2088),weight:100}})}invoke(e,t,i){(0,f.R$)(t,!1)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldAllBlockComments",label:L.NC("foldAllBlockComments.label","Fold All Block Comments"),alias:"Fold All Block Comments",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2138),weight:100}})}invoke(e,t,i,n,s){if(t.regions.hasTypes())(0,f.MW)(t,p.AD.Comment.value,!0);else{let e=i.getModel();if(!e)return;let n=s.getLanguageConfiguration(e.getLanguageId()).comments;if(n&&n.blockCommentStartToken){let e=RegExp("^\\s*"+(0,d.ec)(n.blockCommentStartToken));(0,f.DW)(t,e,!0)}}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldAllMarkerRegions",label:L.NC("foldAllMarkerRegions.label","Fold All Regions"),alias:"Fold All Regions",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2077),weight:100}})}invoke(e,t,i,n,s){if(t.regions.hasTypes())(0,f.MW)(t,p.AD.Region.value,!0);else{let e=i.getModel();if(!e)return;let n=s.getLanguageConfiguration(e.getLanguageId()).foldingRules;if(n&&n.markers&&n.markers.start){let e=new RegExp(n.markers.start);(0,f.DW)(t,e,!0)}}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.unfoldAllMarkerRegions",label:L.NC("unfoldAllMarkerRegions.label","Unfold All Regions"),alias:"Unfold All Regions",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2078),weight:100}})}invoke(e,t,i,n,s){if(t.regions.hasTypes())(0,f.MW)(t,p.AD.Region.value,!1);else{let e=i.getModel();if(!e)return;let n=s.getLanguageConfiguration(e.getLanguageId()).foldingRules;if(n&&n.markers&&n.markers.start){let e=new RegExp(n.markers.start);(0,f.DW)(t,e,!1)}}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldAllExcept",label:L.NC("foldAllExcept.label","Fold All Except Selected"),alias:"Fold All Except Selected",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2136),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);(0,f.YT)(t,!0,n)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.unfoldAllExcept",label:L.NC("unfoldAllExcept.label","Unfold All Except Selected"),alias:"Unfold All Except Selected",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2134),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);(0,f.YT)(t,!1,n)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.toggleFold",label:L.NC("toggleFoldAction.label","Toggle Fold"),alias:"Toggle Fold",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2090),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);(0,f.d8)(t,1,n)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.gotoParentFold",label:L.NC("gotoParentFold.label","Go to Parent Fold"),alias:"Go to Parent Fold",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);if(n.length>0){let e=(0,f.PV)(n[0],t);null!==e&&i.setSelection({startLineNumber:e,startColumn:1,endLineNumber:e,endColumn:1})}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.gotoPreviousFold",label:L.NC("gotoPreviousFold.label","Go to Previous Folding Range"),alias:"Go to Previous Folding Range",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);if(n.length>0){let e=(0,f.sK)(n[0],t);null!==e&&i.setSelection({startLineNumber:e,startColumn:1,endLineNumber:e,endColumn:1})}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.gotoNextFold",label:L.NC("gotoNextFold.label","Go to Next Folding Range"),alias:"Go to Next Folding Range",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);if(n.length>0){let e=(0,f.hE)(n[0],t);null!==e&&i.setSelection({startLineNumber:e,startColumn:1,endLineNumber:e,endColumn:1})}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.createFoldingRangeFromSelection",label:L.NC("createManualFoldRange.label","Create Folding Range from Selection"),alias:"Create Folding Range from Selection",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2135),weight:100}})}invoke(e,t,i){var n;let s=[],o=i.getSelections();if(o){for(let e of o){let t=e.endLineNumber;1===e.endColumn&&--t,t>e.startLineNumber&&(s.push({startLineNumber:e.startLineNumber,endLineNumber:t,type:void 0,isCollapsed:!0,source:1}),i.setSelection({startLineNumber:e.startLineNumber,startColumn:1,endLineNumber:e.startLineNumber,endColumn:1}))}if(s.length>0){s.sort((e,t)=>e.startLineNumber-t.startLineNumber);let e=x.MN.sanitizeAndMerge(t.regions,s,null===(n=i.getModel())||void 0===n?void 0:n.getLineCount());t.updatePost(x.MN.fromFoldRanges(e))}}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.removeManualFoldingRanges",label:L.NC("removeManualFoldingRanges.label","Remove Manual Folding Ranges"),alias:"Remove Manual Folding Ranges",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2137),weight:100}})}invoke(e,t,i){let n=i.getSelections();if(n){let i=[];for(let e of n){let{startLineNumber:t,endLineNumber:n}=e;i.push(n>=t?{startLineNumber:t,endLineNumber:n}:{endLineNumber:n,startLineNumber:t})}t.removeManualRanges(i),e.triggerFoldingModelChanged()}}});for(let e=1;e<=7;e++)(0,c.QG)(new K({id:K.ID(e),label:L.NC("foldLevelAction.label","Fold Level {0}",e),alias:`Fold Level ${e}`,precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2048|21+e),weight:100}}));R.P.registerCommand("_executeFoldingRangeProvider",async function(e,...t){let[i]=t;if(!(i instanceof A.o))throw(0,r.b1)();let n=e.get(M.p),s=e.get(P.q).getModel(i);if(!s)throw(0,r.b1)();let l=e.get(O.Ui);if(!l.getValue("editor.folding",{resource:i}))return[];let a=e.get(m.c_),d=l.getValue("editor.foldingStrategy",{resource:i}),h={get limit(){return l.getValue("editor.foldingMaximumRegions",{resource:i})},update:(e,t)=>{}},u=new S.aI(s,a,h),c=u;if("indentation"!==d){let e=W.getFoldingRangeProviders(n,s);e.length&&(c=new N.e(s,e,()=>{},h,u))}let g=await c.compute(o.Ts.None),f=[];try{if(g)for(let e=0;ee.regionIndex-t.regionIndex);let t={};this._decorationProvider.changeDecorations(i=>{let n=0,s=-1,o=-1,r=e=>{for(;no&&(o=e),n++}};for(let i of e){let e=i.regionIndex,n=this._editorDecorationIds[e];if(n&&!t[n]){t[n]=!0,r(e);let i=!this._regions.isCollapsed(e);this._regions.setCollapsed(e,i),s=Math.max(s,this._regions.getEndLineNumber(e))}}r(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}removeManualRanges(e){let t=[],i=t=>{for(let i of e)if(!(i.startLineNumber>t.endLineNumber||t.startLineNumber>i.endLineNumber))return!0;return!1};for(let e=0;ei&&(i=o)}this._decorationProvider.changeDecorations(e=>this._editorDecorationIds=e.deltaDecorations(this._editorDecorationIds,t)),this._regions=e,this._updateEventEmitter.fire({model:this})}_currentFoldedOrManualRanges(e=[]){let t=(t,i)=>{for(let n of e)if(t=s.endLineNumber||s.startLineNumber<1||s.endLineNumber>i)continue;let o=this._getLinesChecksum(s.startLineNumber+1,s.endLineNumber);t.push({startLineNumber:s.startLineNumber,endLineNumber:s.endLineNumber,isCollapsed:s.isCollapsed,source:s.source,checksum:o})}return t.length>0?t:void 0}applyMemento(e){var t,i;if(!Array.isArray(e))return;let n=[],o=this._textModel.getLineCount();for(let s of e){if(s.startLineNumber>=s.endLineNumber||s.startLineNumber<1||s.endLineNumber>o)continue;let e=this._getLinesChecksum(s.startLineNumber+1,s.endLineNumber);s.checksum&&e!==s.checksum||n.push({startLineNumber:s.startLineNumber,endLineNumber:s.endLineNumber,type:void 0,isCollapsed:null===(t=s.isCollapsed)||void 0===t||t,source:null!==(i=s.source)&&void 0!==i?i:0})}let r=s.MN.sanitizeAndMerge(this._regions,n,o);this.updatePost(s.MN.fromFoldRanges(r))}_getLinesChecksum(e,t){let i=(0,o.vp)(this._textModel.getLineContent(e)+this._textModel.getLineContent(t));return i%1e6}dispose(){this._decorationProvider.removeDecorations(this._editorDecorationIds)}getAllRegionsAtLine(e,t){let i=[];if(this._regions){let n=this._regions.findRange(e),s=1;for(;n>=0;){let e=this._regions.toRegion(n);(!t||t(e,s))&&i.push(e),s++,n=e.parentIndex}}return i}getRegionAtLine(e){if(this._regions){let t=this._regions.findRange(e);if(t>=0)return this._regions.toRegion(t)}return null}getRegionsInside(e,t){let i=[],n=e?e.regionIndex+1:0,s=e?e.endLineNumber:Number.MAX_VALUE;if(t&&2===t.length){let e=[];for(let o=n,r=this._regions.length;o0&&!n.containedBy(e[e.length-1]);)e.pop();e.push(n),t(n,e.length)&&i.push(n)}else break}}else for(let e=n,o=this._regions.length;e1){let o=e.getRegionsInside(i,(e,i)=>e.isCollapsed!==s&&i0)for(let o of n){let n=e.getRegionAtLine(o);if(n&&(n.isCollapsed!==t&&s.push(n),i>1)){let o=e.getRegionsInside(n,(e,n)=>e.isCollapsed!==t&&ne.isCollapsed!==t&&ne.isCollapsed!==t&&n<=i);s.push(...n)}e.toggleCollapseState(s)}function h(e,t,i){let n=[];for(let s of i){let i=e.getAllRegionsAtLine(s,e=>e.isCollapsed!==t);i.length>0&&n.push(i[0])}e.toggleCollapseState(n)}function u(e,t,i,n){let s=e.getRegionsInside(null,(e,s)=>s===t&&e.isCollapsed!==i&&!n.some(t=>e.containsLine(t)));e.toggleCollapseState(s)}function c(e,t,i){let n=[];for(let t of i){let i=e.getAllRegionsAtLine(t,void 0);i.length>0&&n.push(i[0])}let s=e.getRegionsInside(null,e=>n.every(t=>!t.containedBy(e)&&!e.containedBy(t))&&e.isCollapsed!==t);e.toggleCollapseState(s)}function g(e,t,i){let n=e.textModel,s=e.regions,o=[];for(let e=s.length-1;e>=0;e--)if(i!==s.isCollapsed(e)){let i=s.getStartLineNumber(e);t.test(n.getLineContent(i))&&o.push(s.toRegion(e))}e.toggleCollapseState(o)}function p(e,t,i){let n=e.regions,s=[];for(let e=n.length-1;e>=0;e--)i!==n.isCollapsed(e)&&t===n.getType(e)&&s.push(n.toRegion(e));e.toggleCollapseState(s)}function m(e,t){let i=null,n=t.getRegionAtLine(e);if(null!==n&&(i=n.startLineNumber,e===i)){let e=n.parentIndex;i=-1!==e?t.regions.getStartLineNumber(e):null}return i}function f(e,t){let i=t.getRegionAtLine(e);if(null!==i&&i.startLineNumber===e){if(e!==i.startLineNumber)return i.startLineNumber;{let e=i.parentIndex,n=0;for(-1!==e&&(n=t.regions.getStartLineNumber(i.parentIndex));null!==i;)if(i.regionIndex>0){if((i=t.regions.toRegion(i.regionIndex-1)).startLineNumber<=n)break;if(i.parentIndex===e)return i.startLineNumber}else break}}else if(t.regions.length>0)for(i=t.regions.toRegion(t.regions.length-1);null!==i;){if(i.startLineNumber0?t.regions.toRegion(i.regionIndex-1):null}return null}function _(e,t){let i=t.getRegionAtLine(e);if(null!==i&&i.startLineNumber===e){let e=i.parentIndex,n=0;if(-1!==e)n=t.regions.getEndLineNumber(i.parentIndex);else{if(0===t.regions.length)return null;n=t.regions.getEndLineNumber(t.regions.length-1)}for(;null!==i;)if(i.regionIndex=n)break;if(i.parentIndex===e)return i.startLineNumber}else break}else if(t.regions.length>0)for(i=t.regions.toRegion(0);null!==i;){if(i.startLineNumber>e)return i.startLineNumber;i=i.regionIndex65535)throw Error("invalid startIndexes or endIndexes size");this._startIndexes=e,this._endIndexes=t,this._collapseStates=new o(e.length),this._userDefinedStates=new o(e.length),this._recoveredStates=new o(e.length),this._types=i,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;let e=[],t=(t,i)=>{let n=e[e.length-1];return this.getStartLineNumber(n)<=t&&this.getEndLineNumber(n)>=i};for(let i=0,n=this._startIndexes.length;is||o>s)throw Error("startLineNumber or endLineNumber must not exceed "+s);for(;e.length>0&&!t(n,o);)e.pop();let r=e.length>0?e[e.length-1]:-1;e.push(i),this._startIndexes[i]=n+((255&r)<<24),this._endIndexes[i]=o+((65280&r)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(e){return this._startIndexes[e]&s}getEndLineNumber(e){return this._endIndexes[e]&s}getType(e){return this._types?this._types[e]:void 0}hasTypes(){return!!this._types}isCollapsed(e){return this._collapseStates.get(e)}setCollapsed(e,t){this._collapseStates.set(e,t)}isUserDefined(e){return this._userDefinedStates.get(e)}setUserDefined(e,t){return this._userDefinedStates.set(e,t)}isRecovered(e){return this._recoveredStates.get(e)}setRecovered(e,t){return this._recoveredStates.set(e,t)}getSource(e){return this.isUserDefined(e)?1:this.isRecovered(e)?2:0}setSource(e,t){1===t?(this.setUserDefined(e,!0),this.setRecovered(e,!1)):2===t?(this.setUserDefined(e,!1),this.setRecovered(e,!0)):(this.setUserDefined(e,!1),this.setRecovered(e,!1))}setCollapsedAllOfType(e,t){let i=!1;if(this._types)for(let n=0;n>>24)+((4278190080&this._endIndexes[e])>>>16);return 65535===t?-1:t}contains(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t}findIndex(e){let t=0,i=this._startIndexes.length;if(0===i)return -1;for(;t=0){let i=this.getEndLineNumber(t);if(i>=e)return t;for(t=this.getParentIndex(t);-1!==t;){if(this.contains(t,e))return t;t=this.getParentIndex(t)}}return -1}toString(){let e=[];for(let t=0;tArray.isArray(e)?i=>ii=h.startLineNumber))d&&d.startLineNumber===h.startLineNumber?(1===h.source?e=h:((e=d).isCollapsed=h.isCollapsed&&d.endLineNumber===h.endLineNumber,e.source=0),d=o(++l)):(e=h,h.isCollapsed&&0===h.source&&(e.source=2)),h=r(++a);else{let t=a,i=h;for(;;){if(!i||i.startLineNumber>d.endLineNumber){e=d;break}if(1===i.source&&i.endLineNumber>d.endLineNumber)break;i=r(++t)}d=o(++l)}if(e){for(;n&&n.endLineNumbere.startLineNumber&&e.startLineNumber>c&&e.endLineNumber<=i&&(!n||n.endLineNumber>=e.endLineNumber)&&(g.push(e),c=e.startLineNumber,n&&u.push(n),n=e)}}return g}}class l{constructor(e,t){this.ranges=e,this.index=t}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(e){return e.startLineNumber<=this.startLineNumber&&e.endLineNumber>=this.endLineNumber}containsLine(e){return this.startLineNumber<=e&&e<=this.endLineNumber}}},10527:function(e,t,i){"use strict";i.d(t,{aI:function(){return o}});var n=i(37042),s=i(35687);class o{constructor(e,t,i){this.editorModel=e,this.languageConfigurationService=t,this.foldingRangesLimit=i,this.id="indent"}dispose(){}compute(e){let t=this.languageConfigurationService.getLanguageConfiguration(this.editorModel.getLanguageId()).foldingRules,i=t&&!!t.offSide,s=t&&t.markers;return Promise.resolve(function(e,t,i,s=l){let o;let a=e.getOptions().tabSize,d=new r(s);i&&(o=RegExp(`(${i.start.source})|(?:${i.end.source})`));let h=[],u=e.getLineCount()+1;h.push({indent:-1,endAbove:u,line:u});for(let i=e.getLineCount();i>0;i--){let s;let r=e.getLineContent(i),l=(0,n.q)(r,a),u=h[h.length-1];if(-1===l){t&&(u.endAbove=i);continue}if(o&&(s=r.match(o))){if(s[1]){let e=h.length-1;for(;e>0&&-2!==h[e].indent;)e--;if(e>0){h.length=e+1,u=h[e],d.insertFirst(i,u.line,l),u.line=i,u.indent=l,u.endAbove=i;continue}}else{h.push({indent:-2,endAbove:i,line:i});continue}}if(u.indent>l){do h.pop(),u=h[h.length-1];while(u.indent>l);let e=u.endAbove-1;e-i>=1&&d.insertFirst(i,e,l)}u.indent===l?u.endAbove=i:h.push({indent:l,endAbove:i,line:i})}return d.toIndentRanges(e)}(this.editorModel,i,s,this.foldingRangesLimit))}}class r{constructor(e){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}insertFirst(e,t,i){if(e>s.Xl||t>s.Xl)return;let n=this._length;this._startIndexes[n]=e,this._endIndexes[n]=t,this._length++,i<1e3&&(this._indentOccurrences[i]=(this._indentOccurrences[i]||0)+1)}toIndentRanges(e){let t=this._foldingRangesLimit.limit;if(this._length<=t){this._foldingRangesLimit.update(this._length,!1);let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let i=this._length-1,n=0;i>=0;i--,n++)e[n]=this._startIndexes[i],t[n]=this._endIndexes[i];return new s.MN(e,t)}{this._foldingRangesLimit.update(this._length,t);let i=0,o=this._indentOccurrences.length;for(let e=0;et){o=e;break}i+=n}}let r=e.getOptions().tabSize,l=new Uint32Array(t),a=new Uint32Array(t);for(let s=this._length-1,d=0;s>=0;s--){let h=this._startIndexes[s],u=e.getLineContent(h),c=(0,n.q)(u,r);(c{}}},25132:function(e,t,i){"use strict";i.d(t,{e:function(){return l}});var n=i(32378),s=i(70784),o=i(35687);let r={};class l{constructor(e,t,i,n,o){for(let r of(this.editorModel=e,this.providers=t,this.handleFoldingRangesChange=i,this.foldingRangesLimit=n,this.fallbackRangeProvider=o,this.id="syntax",this.disposables=new s.SL,o&&this.disposables.add(o),t))"function"==typeof r.onDidChange&&this.disposables.add(r.onDidChange(i))}compute(e){return(function(e,t,i){let s=null,o=e.map((e,o)=>Promise.resolve(e.provideFoldingRanges(t,r,i)).then(e=>{if(!i.isCancellationRequested&&Array.isArray(e)){Array.isArray(s)||(s=[]);let i=t.getLineCount();for(let t of e)t.start>0&&t.end>t.start&&t.end<=i&&s.push({start:t.start,end:t.end,rank:o,kind:t.kind})}},n.Cp));return Promise.all(o).then(e=>s)})(this.providers,this.editorModel,e).then(t=>{var i,n;if(t){let e=function(e,t){let i;let n=e.sort((e,t)=>{let i=e.start-t.start;return 0===i&&(i=e.rank-t.rank),i}),s=new a(t),o=[];for(let e of n)if(i){if(e.start>i.start){if(e.end<=i.end)o.push(i),i=e,s.add(e.start,e.end,e.kind&&e.kind.value,o.length);else{if(e.start>i.end){do i=o.pop();while(i&&e.start>i.end);i&&o.push(i),i=e}s.add(e.start,e.end,e.kind&&e.kind.value,o.length)}}}else i=e,s.add(e.start,e.end,e.kind&&e.kind.value,o.length);return s.toIndentRanges()}(t,this.foldingRangesLimit);return e}return null!==(n=null===(i=this.fallbackRangeProvider)||void 0===i?void 0:i.compute(e))&&void 0!==n?n:null})}dispose(){this.disposables.dispose()}}class a{constructor(e){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}add(e,t,i,n){if(e>o.Xl||t>o.Xl)return;let s=this._length;this._startIndexes[s]=e,this._endIndexes[s]=t,this._nestingLevels[s]=n,this._types[s]=i,this._length++,n<30&&(this._nestingLevelCounts[n]=(this._nestingLevelCounts[n]||0)+1)}toIndentRanges(){let e=this._foldingRangesLimit.limit;if(this._length<=e){this._foldingRangesLimit.update(this._length,!1);let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let i=0;ie){i=n;break}t+=s}}let n=new Uint32Array(e),s=new Uint32Array(e),r=[];for(let o=0,l=0;oe.provideDocumentRangeFormattingEdits(t,t.getFullModelRange(),i,n)})}return n}class D{static setFormatterSelector(e){let t=D._selectors.unshift(e);return{dispose:t}}static async select(e,t,i,n){if(0===e.length)return;let s=r.$.first(D._selectors);if(s)return await s(e,t,i,n)}}async function x(e,t,i,n,s,o,r){let l=e.get(w.TG),{documentRangeFormattingEditProvider:a}=e.get(y.p),d=(0,u.CL)(t)?t.getModel():t,h=a.ordered(d),c=await D.select(h,d,n,2);c&&(s.report(c),await l.invokeFunction(N,c,t,i,o,r))}async function N(e,t,i,s,o,r){var l,a;let d,c;let f=e.get(m.p),v=e.get(S.VZ),b=e.get(L.IV);(0,u.CL)(i)?(d=i.getModel(),c=new h.Dl(i,5,void 0,o)):(d=i,c=new h.YQ(i,o));let C=[],w=0;for(let e of(0,n._2)(s).sort(g.e.compareRangesUsingStarts))w>0&&g.e.areIntersectingOrTouching(C[w-1],e)?C[w-1]=g.e.fromPositions(C[w-1].getStartPosition(),e.getEndPosition()):w=C.push(e);let y=async e=>{var i,n;v.trace("[format][provideDocumentRangeFormattingEdits] (request)",null===(i=t.extensionId)||void 0===i?void 0:i.value,e);let s=await t.provideDocumentRangeFormattingEdits(d,e,d.getFormattingOptions(),c.token)||[];return v.trace("[format][provideDocumentRangeFormattingEdits] (response)",null===(n=t.extensionId)||void 0===n?void 0:n.value,s),s},k=(e,t)=>{if(!e.length||!t.length)return!1;let i=e.reduce((e,t)=>g.e.plusRange(e,t.range),e[0].range);if(!t.some(e=>g.e.intersectRanges(i,e.range)))return!1;for(let i of e)for(let e of t)if(g.e.intersectRanges(i.range,e.range))return!0;return!1},D=[],x=[];try{if("function"==typeof t.provideDocumentRangesFormattingEdits){v.trace("[format][provideDocumentRangeFormattingEdits] (request)",null===(l=t.extensionId)||void 0===l?void 0:l.value,C);let e=await t.provideDocumentRangesFormattingEdits(d,C,d.getFormattingOptions(),c.token)||[];v.trace("[format][provideDocumentRangeFormattingEdits] (response)",null===(a=t.extensionId)||void 0===a?void 0:a.value,e),x.push(e)}else{for(let e of C){if(c.token.isCancellationRequested)return!0;x.push(await y(e))}for(let e=0;e({text:e.text,range:g.e.lift(e.range),forceMoveMarkers:!0})),e=>{for(let{range:i}of e)if(g.e.areIntersectingOrTouching(i,t))return[new p.Y(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn)];return null})}return b.playSignal(L.iP.format,{userGesture:r}),!0}async function E(e,t,i,n,s,o){let r=e.get(w.TG),l=e.get(y.p),a=(0,u.CL)(t)?t.getModel():t,d=k(l.documentFormattingEditProvider,l.documentRangeFormattingEditProvider,a),h=await D.select(d,a,i,1);h&&(n.report(h),await r.invokeFunction(I,h,t,i,s,o))}async function I(e,t,i,n,s,o){let r,l,a;let d=e.get(m.p),c=e.get(L.IV);(0,u.CL)(i)?(r=i.getModel(),l=new h.Dl(i,5,void 0,s)):(r=i,l=new h.YQ(i,s));try{let e=await t.provideDocumentFormattingEdits(r,r.getFormattingOptions(),l.token);if(a=await d.computeMoreMinimalEdits(r.uri,e),l.token.isCancellationRequested)return!0}finally{l.dispose()}if(!a||0===a.length)return!1;if((0,u.CL)(i))_.V.execute(i,a,2!==n),2!==n&&i.revealPositionInCenterIfOutsideViewport(i.getPosition(),1);else{let[{range:e}]=a,t=new p.Y(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn);r.pushEditOperations([t],a.map(e=>({text:e.text,range:g.e.lift(e.range),forceMoveMarkers:!0})),e=>{for(let{range:i}of e)if(g.e.areIntersectingOrTouching(i,t))return[new p.Y(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn)];return null})}return c.playSignal(L.iP.format,{userGesture:o}),!0}async function T(e,t,i,s,r,l){let a=t.documentRangeFormattingEditProvider.ordered(i);for(let t of a){let a=await Promise.resolve(t.provideDocumentRangeFormattingEdits(i,s,r,l)).catch(o.Cp);if((0,n.Of)(a))return await e.computeMoreMinimalEdits(i.uri,a)}}async function M(e,t,i,s,r){let l=k(t.documentFormattingEditProvider,t.documentRangeFormattingEditProvider,i);for(let t of l){let l=await Promise.resolve(t.provideDocumentFormattingEdits(i,s,r)).catch(o.Cp);if((0,n.Of)(l))return await e.computeMoreMinimalEdits(i.uri,l)}}function R(e,t,i,n,s,r,l){let a=t.onTypeFormattingEditProvider.ordered(i);return 0===a.length||0>a[0].autoFormatTriggerCharacters.indexOf(s)?Promise.resolve(void 0):Promise.resolve(a[0].provideOnTypeFormattingEdits(i,n,s,r,l)).catch(o.Cp).then(t=>e.computeMoreMinimalEdits(i.uri,t))}D._selectors=new l.S,v.P.registerCommand("_executeFormatRangeProvider",async function(e,...t){let[i,n,o]=t;(0,a.p_)(d.o.isUri(i)),(0,a.p_)(g.e.isIRange(n));let r=e.get(f.S),l=e.get(m.p),h=e.get(y.p),u=await r.createModelReference(i);try{return T(l,h,u.object.textEditorModel,g.e.lift(n),o,s.Ts.None)}finally{u.dispose()}}),v.P.registerCommand("_executeFormatDocumentProvider",async function(e,...t){let[i,n]=t;(0,a.p_)(d.o.isUri(i));let o=e.get(f.S),r=e.get(m.p),l=e.get(y.p),h=await o.createModelReference(i);try{return M(r,l,h.object.textEditorModel,n,s.Ts.None)}finally{h.dispose()}}),v.P.registerCommand("_executeFormatOnTypeProvider",async function(e,...t){let[i,n,o,r]=t;(0,a.p_)(d.o.isUri(i)),(0,a.p_)(c.L.isIPosition(n)),(0,a.p_)("string"==typeof o);let l=e.get(f.S),h=e.get(m.p),u=e.get(y.p),g=await l.createModelReference(i);try{return R(h,u,g.object.textEditorModel,c.L.lift(n),o,r,s.Ts.None)}finally{g.dispose()}})},72229:function(e,t,i){"use strict";var n=i(40789),s=i(9424),o=i(32378),r=i(57231),l=i(70784),a=i(82508),d=i(70208),h=i(32035),u=i(70209),c=i(73440),g=i(87999),p=i(64106),m=i(83323),f=i(46450),_=i(82801),v=i(7634),b=i(81903),C=i(33336),w=i(85327),y=i(14588),S=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},L=function(e,t){return function(i,n){t(i,n,e)}};let k=class{constructor(e,t,i,n){this._editor=e,this._languageFeaturesService=t,this._workerService=i,this._accessibilitySignalService=n,this._disposables=new l.SL,this._sessionDisposables=new l.SL,this._disposables.add(t.onTypeFormattingEditProvider.onDidChange(this._update,this)),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(e=>{e.hasChanged(56)&&this._update()})),this._update()}dispose(){this._disposables.dispose(),this._sessionDisposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(56)||!this._editor.hasModel())return;let e=this._editor.getModel(),[t]=this._languageFeaturesService.onTypeFormattingEditProvider.ordered(e);if(!t||!t.autoFormatTriggerCharacters)return;let i=new h.q;for(let e of t.autoFormatTriggerCharacters)i.add(e.charCodeAt(0));this._sessionDisposables.add(this._editor.onDidType(e=>{let t=e.charCodeAt(e.length-1);i.has(t)&&this._trigger(String.fromCharCode(t))}))}_trigger(e){if(!this._editor.hasModel()||this._editor.getSelections().length>1||!this._editor.getSelection().isEmpty())return;let t=this._editor.getModel(),i=this._editor.getPosition(),o=new s.AU,r=this._editor.onDidChangeModelContent(e=>{if(e.isFlush){o.cancel(),r.dispose();return}for(let t=0,n=e.changes.length;t{!o.token.isCancellationRequested&&(0,n.Of)(e)&&(this._accessibilitySignalService.playSignal(v.iP.format,{userGesture:!1}),f.V.execute(this._editor,e,!0))}).finally(()=>{r.dispose()})}};k.ID="editor.contrib.autoFormat",k=S([L(1,p.p),L(2,g.p),L(3,v.IV)],k);let D=class{constructor(e,t,i){this.editor=e,this._languageFeaturesService=t,this._instantiationService=i,this._callOnDispose=new l.SL,this._callOnModel=new l.SL,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(t.documentRangeFormattingEditProvider.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(55)&&this.editor.hasModel()&&this._languageFeaturesService.documentRangeFormattingEditProvider.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:e})=>this._trigger(e)))}_trigger(e){this.editor.hasModel()&&!(this.editor.getSelections().length>1)&&this._instantiationService.invokeFunction(m.x$,this.editor,e,2,y.Ex.None,s.Ts.None,!1).catch(o.dL)}};D.ID="editor.contrib.formatOnPaste",D=S([L(1,p.p),L(2,w.TG)],D);class x extends a.R6{constructor(){super({id:"editor.action.formatDocument",label:_.NC("formatDocument.label","Format Document"),alias:"Format Document",precondition:C.Ao.and(c.u.notInCompositeEditor,c.u.writable,c.u.hasDocumentFormattingProvider),kbOpts:{kbExpr:c.u.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:"1_modification",order:1.3}})}async run(e,t){if(t.hasModel()){let i=e.get(w.TG),n=e.get(y.ek);await n.showWhile(i.invokeFunction(m.Qq,t,1,y.Ex.None,s.Ts.None,!0),250)}}}class N extends a.R6{constructor(){super({id:"editor.action.formatSelection",label:_.NC("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:C.Ao.and(c.u.writable,c.u.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:c.u.editorTextFocus,primary:(0,r.gx)(2089,2084),weight:100},contextMenuOpts:{when:c.u.hasNonEmptySelection,group:"1_modification",order:1.31}})}async run(e,t){if(!t.hasModel())return;let i=e.get(w.TG),n=t.getModel(),o=t.getSelections().map(e=>e.isEmpty()?new u.e(e.startLineNumber,1,e.startLineNumber,n.getLineMaxColumn(e.startLineNumber)):e),r=e.get(y.ek);await r.showWhile(i.invokeFunction(m.x$,t,o,1,y.Ex.None,s.Ts.None,!0),250)}}(0,a._K)(k.ID,k,2),(0,a._K)(D.ID,D,2),(0,a.Qr)(x),(0,a.Qr)(N),b.P.registerCommand("editor.action.format",async e=>{let t=e.get(d.$).getFocusedCodeEditor();if(!t||!t.hasModel())return;let i=e.get(b.H);t.getSelection().isEmpty()?await i.executeCommand("editor.action.formatDocument"):await i.executeCommand("editor.action.formatSelection")})},46450:function(e,t,i){"use strict";i.d(t,{V:function(){return r}});var n=i(26318),s=i(70209),o=i(24846);class r{static _handleEolEdits(e,t){let i;let n=[];for(let e of t)"number"==typeof e.eol&&(i=e.eol),e.range&&"string"==typeof e.text&&n.push(e);return"number"==typeof i&&e.hasModel()&&e.getModel().pushEOL(i),n}static _isFullModelReplaceEdit(e,t){if(!e.hasModel())return!1;let i=e.getModel(),n=i.validateRange(t.range),s=i.getFullModelRange();return s.equalsRange(n)}static execute(e,t,i){i&&e.pushUndoStop();let l=o.Z.capture(e),a=r._handleEolEdits(e,t);1===a.length&&r._isFullModelReplaceEdit(e,a[0])?e.executeEdits("formatEditsCommand",a.map(e=>n.h.replace(s.e.lift(e.range),e.text))):e.executeEdits("formatEditsCommand",a.map(e=>n.h.replaceMove(s.e.lift(e.range),e.text))),i&&e.pushUndoStop(),l.restoreRelativeVerticalPositionOfCursor(e)}}},41854:function(e,t,i){"use strict";i.d(t,{c:function(){return es},v:function(){return er}});var n,s,o,r=i(47039),l=i(70784),a=i(82508),d=i(70208),h=i(86570),u=i(70209),c=i(73440),g=i(40789),p=i(79915),m=i(92270),f=i(95612),_=i(5482),v=i(66653),b=i(85327),C=i(16324),w=i(78426),y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},S=function(e,t){return function(i,n){t(i,n,e)}};class L{constructor(e,t,i){this.marker=e,this.index=t,this.total=i}}let k=class{constructor(e,t,i){this._markerService=t,this._configService=i,this._onDidChange=new p.Q5,this.onDidChange=this._onDidChange.event,this._dispoables=new l.SL,this._markers=[],this._nextIdx=-1,_.o.isUri(e)?this._resourceFilter=t=>t.toString()===e.toString():e&&(this._resourceFilter=e);let n=this._configService.getValue("problems.sortOrder"),s=(e,t)=>{let i=(0,f.qu)(e.resource.toString(),t.resource.toString());return 0===i&&(i="position"===n?u.e.compareRangesUsingStarts(e,t)||C.ZL.compare(e.severity,t.severity):C.ZL.compare(e.severity,t.severity)||u.e.compareRangesUsingStarts(e,t)),i},o=()=>{this._markers=this._markerService.read({resource:_.o.isUri(e)?e:void 0,severities:C.ZL.Error|C.ZL.Warning|C.ZL.Info}),"function"==typeof e&&(this._markers=this._markers.filter(e=>this._resourceFilter(e.resource))),this._markers.sort(s)};o(),this._dispoables.add(t.onMarkerChanged(e=>{(!this._resourceFilter||e.some(e=>this._resourceFilter(e)))&&(o(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(e){return!this._resourceFilter&&!e||!!this._resourceFilter&&!!e&&this._resourceFilter(e)}get selected(){let e=this._markers[this._nextIdx];return e&&new L(e,this._nextIdx+1,this._markers.length)}_initIdx(e,t,i){let n=!1,s=this._markers.findIndex(t=>t.resource.toString()===e.uri.toString());s<0&&(s=(0,g.ry)(this._markers,{resource:e.uri},(e,t)=>(0,f.qu)(e.resource.toString(),t.resource.toString())))<0&&(s=~s);for(let i=s;it.resource.toString()===e.toString());if(!(i<0)){for(;i{e.preventDefault();let t=this._relatedDiagnostics.get(e.target);t&&i(t)})),this._scrollable=new R.NB(o,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:6,verticalScrollbarSize:6}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(e=>{o.style.left=`-${e.scrollLeft}px`,o.style.top=`-${e.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){(0,l.B9)(this._disposables)}update(e){let{source:t,message:i,relatedInformation:n,code:s}=e,o=((null==t?void 0:t.length)||0)+2;s&&("string"==typeof s?o+=s.length:o+=s.value.length);let r=(0,f.uq)(i);for(let e of(this._lines=r.length,this._longestLineLength=0,r))this._longestLineLength=Math.max(e.length+o,this._longestLineLength);M.PO(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(e)),this._editor.applyFontInfo(this._messageBlock);let l=this._messageBlock;for(let e of r)(l=document.createElement("div")).innerText=e,""===e&&(l.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(l);if(t||s){let e=document.createElement("span");if(e.classList.add("details"),l.appendChild(e),t){let i=document.createElement("span");i.innerText=t,i.classList.add("source"),e.appendChild(i)}if(s){if("string"==typeof s){let t=document.createElement("span");t.innerText=`(${s})`,t.classList.add("code"),e.appendChild(t)}else{this._codeLink=M.$("a.code-link"),this._codeLink.setAttribute("href",`${s.target.toString()}`),this._codeLink.onclick=e=>{this._openerService.open(s.target,{allowCommands:!0}),e.preventDefault(),e.stopPropagation()};let t=M.R3(this._codeLink,M.$("span"));t.innerText=s.value,e.appendChild(this._codeLink)}}}if(M.PO(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),(0,g.Of)(n)){let e=this._relatedBlock.appendChild(document.createElement("div"));for(let t of(e.style.paddingTop=`${Math.floor(.66*this._editor.getOption(67))}px`,this._lines+=1,n)){let i=document.createElement("div"),n=document.createElement("a");n.classList.add("filename"),n.innerText=`${this._labelService.getUriBasenameLabel(t.resource)}(${t.startLineNumber}, ${t.startColumn}): `,n.title=this._labelService.getUriLabel(t.resource),this._relatedDiagnostics.set(n,t);let s=document.createElement("span");s.innerText=t.message,i.appendChild(n),i.appendChild(s),this._lines+=1,e.appendChild(i)}}let a=this._editor.getOption(50),d=Math.ceil(a.typicalFullwidthCharacterWidth*this._longestLineLength*.75),h=a.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:d,scrollHeight:h})}layout(e,t){this._scrollable.getDomNode().style.height=`${e}px`,this._scrollable.getDomNode().style.width=`${t}px`,this._scrollable.setScrollDimensions({width:t,height:e})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(e){let t="";switch(e.severity){case C.ZL.Error:t=N.NC("Error","Error");break;case C.ZL.Warning:t=N.NC("Warning","Warning");break;case C.ZL.Info:t=N.NC("Info","Info");break;case C.ZL.Hint:t=N.NC("Hint","Hint")}let i=N.NC("marker aria","{0} at {1}. ",t,e.startLineNumber+":"+e.startColumn),n=this._editor.getModel();if(n&&e.startLineNumber<=n.getLineCount()&&e.startLineNumber>=1){let t=n.getLineContent(e.startLineNumber);i=`${t}, ${i}`}return i}}let q=s=class extends O.vk{constructor(e,t,i,n,s,o,r){super(e,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},s),this._themeService=t,this._openerService=i,this._menuService=n,this._contextKeyService=o,this._labelService=r,this._callOnDispose=new l.SL,this._onDidSelectRelatedInformation=new p.Q5,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=C.ZL.Warning,this._backgroundColor=A.Il.white,this._applyTheme(t.getColorTheme()),this._callOnDispose.add(t.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(e){this._backgroundColor=e.getColor(ei);let t=Z,i=Y;this._severity===C.ZL.Warning?(t=J,i=X):this._severity===C.ZL.Info&&(t=ee,i=et);let n=e.getColor(t),s=e.getColor(i);this.style({arrowColor:n,frameColor:n,headerBackgroundColor:s,primaryHeadingColor:e.getColor(O.IH),secondaryHeadingColor:e.getColor(O.R7)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(e){super._fillHead(e),this._disposables.add(this._actionbarWidget.actionRunner.onWillRun(e=>this.editor.focus()));let t=[],i=this._menuService.createMenu(s.TitleMenu,this._contextKeyService);(0,F.vr)(i,void 0,t),this._actionbarWidget.push(t,{label:!1,icon:!0,index:0}),i.dispose()}_fillTitleIcon(e){this._icon=M.R3(e,M.$(""))}_fillBody(e){this._parentContainer=e,e.classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),e.appendChild(this._container),this._message=new $(this._container,this.editor,e=>this._onDidSelectRelatedInformation.fire(e),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw Error("call showAtMarker")}showAtMarker(e,t,i){this._container.classList.remove("stale"),this._message.update(e),this._severity=e.severity,this._applyTheme(this._themeService.getColorTheme());let s=u.e.lift(e),o=this.editor.getPosition(),r=o&&s.containsPosition(o)?o:s.getStartPosition();super.show(r,this.computeRequiredHeight());let l=this.editor.getModel();if(l){let e=i>1?N.NC("problems","{0} of {1} problems",t,i):N.NC("change","{0} of {1} problem",t,i);this.setTitle((0,P.EZ)(l.uri),e)}this._icon.className=`codicon ${n.className(C.ZL.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(r,0),this.editor.focus()}updateMarker(e){this._container.classList.remove("stale"),this._message.update(e)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._heightInPixel=e,this._message.layout(e,t),this._container.style.height=`${e}px`}_onWidth(e){this._message.layout(this._heightInPixel,e)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};q.TitleMenu=new E.eH("gotoErrorTitleMenu"),q=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([U(1,K.XE),U(2,W.v),U(3,E.co),U(4,b.TG),U(5,I.i6),U(6,B.e)],q);let j=(0,z.kwl)(z.lXJ,z.b6y),G=(0,z.kwl)(z.uoC,z.pW3),Q=(0,z.kwl)(z.c63,z.T83),Z=(0,z.P6G)("editorMarkerNavigationError.background",{dark:j,light:j,hcDark:z.lRK,hcLight:z.lRK},N.NC("editorMarkerNavigationError","Editor marker navigation widget error color.")),Y=(0,z.P6G)("editorMarkerNavigationError.headerBackground",{dark:(0,z.ZnX)(Z,.1),light:(0,z.ZnX)(Z,.1),hcDark:null,hcLight:null},N.NC("editorMarkerNavigationErrorHeaderBackground","Editor marker navigation widget error heading background.")),J=(0,z.P6G)("editorMarkerNavigationWarning.background",{dark:G,light:G,hcDark:z.lRK,hcLight:z.lRK},N.NC("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),X=(0,z.P6G)("editorMarkerNavigationWarning.headerBackground",{dark:(0,z.ZnX)(J,.1),light:(0,z.ZnX)(J,.1),hcDark:"#0C141F",hcLight:(0,z.ZnX)(J,.2)},N.NC("editorMarkerNavigationWarningBackground","Editor marker navigation widget warning heading background.")),ee=(0,z.P6G)("editorMarkerNavigationInfo.background",{dark:Q,light:Q,hcDark:z.lRK,hcLight:z.lRK},N.NC("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),et=(0,z.P6G)("editorMarkerNavigationInfo.headerBackground",{dark:(0,z.ZnX)(ee,.1),light:(0,z.ZnX)(ee,.1),hcDark:null,hcLight:null},N.NC("editorMarkerNavigationInfoHeaderBackground","Editor marker navigation widget info heading background.")),ei=(0,z.P6G)("editorMarkerNavigation.background",{dark:z.cvW,light:z.cvW,hcDark:z.cvW,hcLight:z.cvW},N.NC("editorMarkerNavigationBackground","Editor marker navigation widget background."));var en=function(e,t){return function(i,n){t(i,n,e)}};let es=o=class{static get(e){return e.getContribution(o.ID)}constructor(e,t,i,n,s){this._markerNavigationService=t,this._contextKeyService=i,this._editorService=n,this._instantiationService=s,this._sessionDispoables=new l.SL,this._editor=e,this._widgetVisible=ea.bindTo(this._contextKeyService)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(e){if(this._model&&this._model.matches(e))return this._model;let t=!1;return this._model&&(t=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(e),t&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(q,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(e=>{var t,i,n;(null===(t=this._model)||void 0===t?void 0:t.selected)&&u.e.containsPosition(null===(i=this._model)||void 0===i?void 0:i.selected.marker,e.position)||null===(n=this._model)||void 0===n||n.resetIndex()})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;let e=this._model.find(this._editor.getModel().uri,this._widget.position);e?this._widget.updateMarker(e.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(e=>{this._editorService.openCodeEditor({resource:e.resource,options:{pinned:!0,revealIfOpened:!0,selection:u.e.lift(e).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(e=!0){this._cleanUp(),e&&this._editor.focus()}showAtMarker(e){if(this._editor.hasModel()){let t=this._getOrCreateModel(this._editor.getModel().uri);t.resetIndex(),t.move(!0,this._editor.getModel(),new h.L(e.startLineNumber,e.startColumn)),t.selected&&this._widget.showAtMarker(t.selected.marker,t.selected.index,t.selected.total)}}async nagivate(e,t){var i,n;if(this._editor.hasModel()){let s=this._getOrCreateModel(t?void 0:this._editor.getModel().uri);if(s.move(e,this._editor.getModel(),this._editor.getPosition()),!s.selected)return;if(s.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();let r=await this._editorService.openCodeEditor({resource:s.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:s.selected.marker}},this._editor);r&&(null===(i=o.get(r))||void 0===i||i.close(),null===(n=o.get(r))||void 0===n||n.nagivate(e,t))}else this._widget.showAtMarker(s.selected.marker,s.selected.index,s.selected.total)}}};es.ID="editor.contrib.markerController",es=o=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([en(1,D),en(2,I.i6),en(3,d.$),en(4,b.TG)],es);class eo extends a.R6{constructor(e,t,i){super(i),this._next=e,this._multiFile=t}async run(e,t){var i;t.hasModel()&&(null===(i=es.get(t))||void 0===i||i.nagivate(this._next,this._multiFile))}}class er extends eo{constructor(){super(!0,!1,{id:er.ID,label:er.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:578,weight:100},menuOpts:{menuId:q.TitleMenu,title:er.LABEL,icon:(0,T.q5)("marker-navigation-next",r.l.arrowDown,N.NC("nextMarkerIcon","Icon for goto next marker.")),group:"navigation",order:1}})}}er.ID="editor.action.marker.next",er.LABEL=N.NC("markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class el extends eo{constructor(){super(!1,!1,{id:el.ID,label:el.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:1602,weight:100},menuOpts:{menuId:q.TitleMenu,title:el.LABEL,icon:(0,T.q5)("marker-navigation-previous",r.l.arrowUp,N.NC("previousMarkerIcon","Icon for goto previous marker.")),group:"navigation",order:2}})}}el.ID="editor.action.marker.prev",el.LABEL=N.NC("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)"),(0,a._K)(es.ID,es,4),(0,a.Qr)(er),(0,a.Qr)(el),(0,a.Qr)(class extends eo{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:N.NC("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:66,weight:100},menuOpts:{menuId:E.eH.MenubarGoMenu,title:N.NC({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}),(0,a.Qr)(class extends eo{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:N.NC("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:1090,weight:100},menuOpts:{menuId:E.eH.MenubarGoMenu,title:N.NC({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}});let ea=new I.uy("markersNavigationVisible",!1),ed=a._l.bindToContribution(es.get);(0,a.fK)(new ed({id:"closeMarkersNavigation",precondition:ea,handler:e=>e.close(),kbOpts:{weight:150,kbExpr:c.u.focus,primary:9,secondary:[1033]}}))},38820:function(e,t,i){"use strict";i.d(t,{BT:function(){return ee},Bj:function(){return X},_k:function(){return J}});var n,s,o,r,l,a,d,h,u=i(16506),c=i(44532),g=i(57231),p=i(24162),m=i(5482),f=i(71141),_=i(2197),v=i(82508),b=i(70208),C=i(98549),w=i(86570),y=i(70209),S=i(73440),L=i(1863),k=i(2156),D=i(60416),x=i(79915),N=i(70784),E=i(1271),I=i(82801),T=i(33336),M=i(66653),R=i(85327),A=i(46417),P=i(93589),O=i(16575),F=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},B=function(e,t){return function(i,n){t(i,n,e)}};let W=new T.uy("hasSymbols",!1,(0,I.NC)("hasSymbols","Whether there are symbol locations that can be navigated via keyboard-only.")),H=(0,R.yh)("ISymbolNavigationService"),V=class{constructor(e,t,i,n){this._editorService=t,this._notificationService=i,this._keybindingService=n,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=W.bindTo(e)}reset(){var e,t;this._ctxHasSymbols.reset(),null===(e=this._currentState)||void 0===e||e.dispose(),null===(t=this._currentMessage)||void 0===t||t.dispose(),this._currentModel=void 0,this._currentIdx=-1}put(e){let t=e.parent.parent;if(t.references.length<=1){this.reset();return}this._currentModel=t,this._currentIdx=t.references.indexOf(e),this._ctxHasSymbols.set(!0),this._showMessage();let i=new z(this._editorService),n=i.onDidChange(e=>{if(this._ignoreEditorChange)return;let i=this._editorService.getActiveCodeEditor();if(!i)return;let n=i.getModel(),s=i.getPosition();if(!n||!s)return;let o=!1,r=!1;for(let e of t.references)if((0,E.Xy)(e.uri,n.uri))o=!0,r=r||y.e.containsPosition(e.range,s);else if(o)break;o&&r||this.reset()});this._currentState=(0,N.F8)(i,n)}revealNext(e){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;let t=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:t.uri,options:{selection:y.e.collapseToStart(t.range),selectionRevealType:3}},e).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){var e;null===(e=this._currentMessage)||void 0===e||e.dispose();let t=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),i=t?(0,I.NC)("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,t.getLabel()):(0,I.NC)("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(i)}};V=F([B(0,T.i6),B(1,b.$),B(2,O.lT),B(3,A.d)],V),(0,M.z)(H,V,1),(0,v.fK)(new class extends v._l{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:W,kbOpts:{weight:100,primary:70}})}runEditorCommand(e,t){return e.get(H).revealNext(t)}}),P.W.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:W,primary:9,handler(e){e.get(H).reset()}});let z=class{constructor(e){this._listener=new Map,this._disposables=new N.SL,this._onDidChange=new x.Q5,this.onDidChange=this._onDidChange.event,this._disposables.add(e.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(e.onCodeEditorAdd(this._onDidAddEditor,this)),e.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),(0,N.B9)(this._listener.values())}_onDidAddEditor(e){this._listener.set(e,(0,N.F8)(e.onDidChangeCursorPosition(t=>this._onDidChange.fire({editor:e})),e.onDidChangeModelContent(t=>this._onDidChange.fire({editor:e}))))}_onDidRemoveEditor(e){var t;null===(t=this._listener.get(e))||void 0===t||t.dispose(),this._listener.delete(e)}};z=F([B(0,b.$)],z);var K=i(7727),U=i(62205),$=i(30467),q=i(81903),j=i(14588),G=i(20091),Q=i(64106),Z=i(93072),Y=i(28656);$.BH.appendMenuItem($.eH.EditorContext,{submenu:$.eH.EditorContextPeek,title:I.NC("peek.submenu","Peek"),group:"navigation",order:100});class J{static is(e){return!!e&&"object"==typeof e&&!!(e instanceof J||w.L.isIPosition(e.position)&&e.model)}constructor(e,t){this.model=e,this.position=t}}class X extends v.x1{static all(){return X._allSymbolNavigationCommands.values()}static _patchConfig(e){let t={...e,f1:!0};if(t.menu)for(let i of Z.$.wrap(t.menu))(i.id===$.eH.EditorContext||i.id===$.eH.EditorContextPeek)&&(i.when=T.Ao.and(e.precondition,i.when));return t}constructor(e,t){super(X._patchConfig(t)),this.configuration=e,X._allSymbolNavigationCommands.set(t.id,this)}runEditorCommand(e,t,i,n){if(!t.hasModel())return Promise.resolve(void 0);let s=e.get(O.lT),o=e.get(b.$),r=e.get(j.ek),l=e.get(H),a=e.get(Q.p),d=e.get(R.TG),h=t.getModel(),g=t.getPosition(),p=J.is(i)?i:new J(h,g),m=new f.Dl(t,5),_=(0,c.eP)(this._getLocationModel(a,p.model,p.position,m.token),m.token).then(async e=>{var s;let r;if(!e||m.token.isCancellationRequested)return;if((0,u.Z9)(e.ariaMessage),e.referenceAt(h.uri,g)){let e=this._getAlternativeCommand(t);!X._activeAlternativeCommands.has(e)&&X._allSymbolNavigationCommands.has(e)&&(r=X._allSymbolNavigationCommands.get(e))}let a=e.references.length;if(0===a){if(!this.configuration.muteMessage){let e=h.getWordAtPosition(g);null===(s=K.O.get(t))||void 0===s||s.showMessage(this._getNoResultFoundMessage(e),g)}}else{if(1!==a||!r)return this._onResult(o,l,t,e,n);X._activeAlternativeCommands.add(this.desc.id),d.invokeFunction(e=>r.runEditorCommand(e,t,i,n).finally(()=>{X._activeAlternativeCommands.delete(this.desc.id)}))}},e=>{s.error(e)}).finally(()=>{m.dispose()});return r.showWhile(_,250),_}async _onResult(e,t,i,n,s){let o=this._getGoToPreference(i);if(i instanceof C.H||!this.configuration.openInPeek&&("peek"!==o||!(n.references.length>1))){let r=n.firstReference(),l=n.references.length>1&&"gotoAndPeek"===o,a=await this._openReference(i,e,r,this.configuration.openToSide,!l);l&&a?this._openInPeek(a,n,s):n.dispose(),"goto"===o&&t.put(r)}else this._openInPeek(i,n,s)}async _openReference(e,t,i,n,s){let o;if((0,L.vx)(i)&&(o=i.targetSelectionRange),o||(o=i.range),!o)return;let r=await t.openCodeEditor({resource:i.uri,options:{selection:y.e.collapseToStart(o),selectionRevealType:3,selectionSource:"code.jump"}},e,n);if(r){if(s){let e=r.getModel(),t=r.createDecorationsCollection([{range:o,options:{description:"symbol-navigate-action-highlight",className:"symbolHighlight"}}]);setTimeout(()=>{r.getModel()===e&&t.clear()},350)}return r}}_openInPeek(e,t,i){let n=k.J.get(e);n&&e.hasModel()?n.toggleWidget(null!=i?i:e.getSelection(),(0,c.PG)(e=>Promise.resolve(t)),this.configuration.openInPeek):t.dispose()}}X._allSymbolNavigationCommands=new Map,X._activeAlternativeCommands=new Set;class ee extends X{async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.nD)(e.definitionProvider,t,i,n),I.NC("def.title","Definitions"))}_getNoResultFoundMessage(e){return e&&e.word?I.NC("noResultWord","No definition found for '{0}'",e.word):I.NC("generic.noResults","No definition found")}_getAlternativeCommand(e){return e.getOption(58).alternativeDefinitionCommand}_getGoToPreference(e){return e.getOption(58).multipleDefinitions}}(0,$.r1)(((n=class extends ee{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:n.id,title:{...I.vv("actions.goToDecl.label","Go to Definition"),mnemonicTitle:I.NC({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")},precondition:S.u.hasDefinitionProvider,keybinding:[{when:S.u.editorTextFocus,primary:70,weight:100},{when:T.Ao.and(S.u.editorTextFocus,Y.Pf),primary:2118,weight:100}],menu:[{id:$.eH.EditorContext,group:"navigation",order:1.1},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:2}]}),q.P.registerCommandAlias("editor.action.goToDeclaration",n.id)}}).id="editor.action.revealDefinition",n)),(0,$.r1)(((s=class extends ee{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:s.id,title:I.vv("actions.goToDeclToSide.label","Open Definition to the Side"),precondition:T.Ao.and(S.u.hasDefinitionProvider,S.u.isInEmbeddedEditor.toNegated()),keybinding:[{when:S.u.editorTextFocus,primary:(0,g.gx)(2089,70),weight:100},{when:T.Ao.and(S.u.editorTextFocus,Y.Pf),primary:(0,g.gx)(2089,2118),weight:100}]}),q.P.registerCommandAlias("editor.action.openDeclarationToTheSide",s.id)}}).id="editor.action.revealDefinitionAside",s)),(0,$.r1)(((o=class extends ee{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:o.id,title:I.vv("actions.previewDecl.label","Peek Definition"),precondition:T.Ao.and(S.u.hasDefinitionProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),keybinding:{when:S.u.editorTextFocus,primary:582,linux:{primary:3140},weight:100},menu:{id:$.eH.EditorContextPeek,group:"peek",order:2}}),q.P.registerCommandAlias("editor.action.previewDeclaration",o.id)}}).id="editor.action.peekDefinition",o));class et extends X{async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.zq)(e.declarationProvider,t,i,n),I.NC("decl.title","Declarations"))}_getNoResultFoundMessage(e){return e&&e.word?I.NC("decl.noResultWord","No declaration found for '{0}'",e.word):I.NC("decl.generic.noResults","No declaration found")}_getAlternativeCommand(e){return e.getOption(58).alternativeDeclarationCommand}_getGoToPreference(e){return e.getOption(58).multipleDeclarations}}(0,$.r1)(((r=class extends et{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:r.id,title:{...I.vv("actions.goToDeclaration.label","Go to Declaration"),mnemonicTitle:I.NC({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")},precondition:T.Ao.and(S.u.hasDeclarationProvider,S.u.isInEmbeddedEditor.toNegated()),menu:[{id:$.eH.EditorContext,group:"navigation",order:1.3},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}_getNoResultFoundMessage(e){return e&&e.word?I.NC("decl.noResultWord","No declaration found for '{0}'",e.word):I.NC("decl.generic.noResults","No declaration found")}}).id="editor.action.revealDeclaration",r)),(0,$.r1)(class extends et{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",title:I.vv("actions.peekDecl.label","Peek Declaration"),precondition:T.Ao.and(S.u.hasDeclarationProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),menu:{id:$.eH.EditorContextPeek,group:"peek",order:3}})}});class ei extends X{async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.L3)(e.typeDefinitionProvider,t,i,n),I.NC("typedef.title","Type Definitions"))}_getNoResultFoundMessage(e){return e&&e.word?I.NC("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):I.NC("goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(e){return e.getOption(58).alternativeTypeDefinitionCommand}_getGoToPreference(e){return e.getOption(58).multipleTypeDefinitions}}(0,$.r1)(((l=class extends ei{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:l.ID,title:{...I.vv("actions.goToTypeDefinition.label","Go to Type Definition"),mnemonicTitle:I.NC({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")},precondition:S.u.hasTypeDefinitionProvider,keybinding:{when:S.u.editorTextFocus,primary:0,weight:100},menu:[{id:$.eH.EditorContext,group:"navigation",order:1.4},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}}).ID="editor.action.goToTypeDefinition",l)),(0,$.r1)(((a=class extends ei{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:a.ID,title:I.vv("actions.peekTypeDefinition.label","Peek Type Definition"),precondition:T.Ao.and(S.u.hasTypeDefinitionProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),menu:{id:$.eH.EditorContextPeek,group:"peek",order:4}})}}).ID="editor.action.peekTypeDefinition",a));class en extends X{async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.f4)(e.implementationProvider,t,i,n),I.NC("impl.title","Implementations"))}_getNoResultFoundMessage(e){return e&&e.word?I.NC("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):I.NC("goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(e){return e.getOption(58).alternativeImplementationCommand}_getGoToPreference(e){return e.getOption(58).multipleImplementations}}(0,$.r1)(((d=class extends en{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:d.ID,title:{...I.vv("actions.goToImplementation.label","Go to Implementations"),mnemonicTitle:I.NC({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},precondition:S.u.hasImplementationProvider,keybinding:{when:S.u.editorTextFocus,primary:2118,weight:100},menu:[{id:$.eH.EditorContext,group:"navigation",order:1.45},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:4}]})}}).ID="editor.action.goToImplementation",d)),(0,$.r1)(((h=class extends en{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:h.ID,title:I.vv("actions.peekImplementation.label","Peek Implementations"),precondition:T.Ao.and(S.u.hasImplementationProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),keybinding:{when:S.u.editorTextFocus,primary:3142,weight:100},menu:{id:$.eH.EditorContextPeek,group:"peek",order:5}})}}).ID="editor.action.peekImplementation",h));class es extends X{_getNoResultFoundMessage(e){return e?I.NC("references.no","No references found for '{0}'",e.word):I.NC("references.noGeneric","No references found")}_getAlternativeCommand(e){return e.getOption(58).alternativeReferenceCommand}_getGoToPreference(e){return e.getOption(58).multipleReferences}}(0,$.r1)(class extends es{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",title:{...I.vv("goToReferences.label","Go to References"),mnemonicTitle:I.NC({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")},precondition:T.Ao.and(S.u.hasReferenceProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),keybinding:{when:S.u.editorTextFocus,primary:1094,weight:100},menu:[{id:$.eH.EditorContext,group:"navigation",order:1.45},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:5}]})}async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.aA)(e.referenceProvider,t,i,!0,n),I.NC("ref.title","References"))}}),(0,$.r1)(class extends es{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",title:I.vv("references.action.label","Peek References"),precondition:T.Ao.and(S.u.hasReferenceProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),menu:{id:$.eH.EditorContextPeek,group:"peek",order:6}})}async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.aA)(e.referenceProvider,t,i,!1,n),I.NC("ref.title","References"))}});class eo extends X{constructor(e,t,i){super(e,{id:"editor.action.goToLocation",title:I.vv("label.generic","Go to Any Symbol"),precondition:T.Ao.and(U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated())}),this._references=t,this._gotoMultipleBehaviour=i}async _getLocationModel(e,t,i,n){return new D.oQ(this._references,I.NC("generic.title","Locations"))}_getNoResultFoundMessage(e){return e&&I.NC("generic.noResult","No results for '{0}'",e.word)||""}_getGoToPreference(e){var t;return null!==(t=this._gotoMultipleBehaviour)&&void 0!==t?t:e.getOption(58).multipleReferences}_getAlternativeCommand(){return""}}q.P.registerCommand({id:"editor.action.goToLocations",metadata:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:m.o},{name:"position",description:"The position at which to start",constraint:w.L.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto`"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:async(e,t,i,n,s,o,r)=>{(0,p.p_)(m.o.isUri(t)),(0,p.p_)(w.L.isIPosition(i)),(0,p.p_)(Array.isArray(n)),(0,p.p_)(void 0===s||"string"==typeof s),(0,p.p_)(void 0===r||"boolean"==typeof r);let l=e.get(b.$),a=await l.openCodeEditor({resource:t},l.getFocusedCodeEditor());if((0,_.CL)(a))return a.setPosition(i),a.revealPositionInCenterIfOutsideViewport(i,0),a.invokeWithinContext(e=>{let t=new class extends eo{_getNoResultFoundMessage(e){return o||super._getNoResultFoundMessage(e)}}({muteMessage:!o,openInPeek:!!r,openToSide:!1},n,s);e.get(R.TG).invokeFunction(t.run.bind(t),a)})}}),q.P.registerCommand({id:"editor.action.peekLocations",metadata:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:m.o},{name:"position",description:"The position at which to start",constraint:w.L.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto`"}]},handler:async(e,t,i,n,s)=>{e.get(q.H).executeCommand("editor.action.goToLocations",t,i,n,s,void 0,!0)}}),q.P.registerCommand({id:"editor.action.findReferences",handler:(e,t,i)=>{(0,p.p_)(m.o.isUri(t)),(0,p.p_)(w.L.isIPosition(i));let n=e.get(Q.p),s=e.get(b.$);return s.openCodeEditor({resource:t},s.getFocusedCodeEditor()).then(e=>{if(!(0,_.CL)(e)||!e.hasModel())return;let t=k.J.get(e);if(!t)return;let s=(0,c.PG)(t=>(0,G.aA)(n.referenceProvider,e.getModel(),w.L.lift(i),!1,t).then(e=>new D.oQ(e,I.NC("ref.title","References")))),o=new y.e(i.lineNumber,i.column,i.lineNumber,i.column);return Promise.resolve(t.toggleWidget(o,s,!1))})}}),q.P.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations")},20091:function(e,t,i){"use strict";i.d(t,{L3:function(){return m},aA:function(){return f},f4:function(){return p},nD:function(){return c},zq:function(){return g}});var n=i(40789),s=i(9424),o=i(32378),r=i(72249),l=i(82508),a=i(64106),d=i(60416);function h(e,t){return t.uri.scheme===e.uri.scheme||!(0,r.Gs)(t.uri,r.lg.walkThroughSnippet,r.lg.vscodeChatCodeBlock,r.lg.vscodeChatCodeCompareBlock,r.lg.vscodeCopilotBackingChatCodeBlock)}async function u(e,t,i,s){let r=i.ordered(e),l=r.map(i=>Promise.resolve(s(i,e,t)).then(void 0,e=>{(0,o.Cp)(e)})),a=await Promise.all(l);return(0,n.kX)(a.flat()).filter(t=>h(e,t))}function c(e,t,i,n){return u(t,i,e,(e,t,i)=>e.provideDefinition(t,i,n))}function g(e,t,i,n){return u(t,i,e,(e,t,i)=>e.provideDeclaration(t,i,n))}function p(e,t,i,n){return u(t,i,e,(e,t,i)=>e.provideImplementation(t,i,n))}function m(e,t,i,n){return u(t,i,e,(e,t,i)=>e.provideTypeDefinition(t,i,n))}function f(e,t,i,n,s){return u(t,i,e,async(e,t,i)=>{var o,r;let l=null===(o=await e.provideReferences(t,i,{includeDeclaration:!0},s))||void 0===o?void 0:o.filter(e=>h(t,e));if(!n||!l||2!==l.length)return l;let a=null===(r=await e.provideReferences(t,i,{includeDeclaration:!1},s))||void 0===r?void 0:r.filter(e=>h(t,e));return a&&1===a.length?a:l})}async function _(e){let t=await e(),i=new d.oQ(t,""),n=i.references.map(e=>e.link);return i.dispose(),n}(0,l.sb)("_executeDefinitionProvider",(e,t,i)=>{let n=e.get(a.p),o=c(n.definitionProvider,t,i,s.Ts.None);return _(()=>o)}),(0,l.sb)("_executeTypeDefinitionProvider",(e,t,i)=>{let n=e.get(a.p),o=m(n.typeDefinitionProvider,t,i,s.Ts.None);return _(()=>o)}),(0,l.sb)("_executeDeclarationProvider",(e,t,i)=>{let n=e.get(a.p),o=g(n.declarationProvider,t,i,s.Ts.None);return _(()=>o)}),(0,l.sb)("_executeReferenceProvider",(e,t,i)=>{let n=e.get(a.p),o=f(n.referenceProvider,t,i,!1,s.Ts.None);return _(()=>o)}),(0,l.sb)("_executeImplementationProvider",(e,t,i)=>{let n=e.get(a.p),o=p(n.implementationProvider,t,i,s.Ts.None);return _(()=>o)})},32350:function(e,t,i){"use strict";i.d(t,{yN:function(){return h}});var n=i(79915),s=i(70784),o=i(58022);class r{constructor(e,t){this.target=e.target,this.isLeftClick=e.event.leftButton,this.isMiddleClick=e.event.middleButton,this.isRightClick=e.event.rightButton,this.hasTriggerModifier=!!e.event[t.triggerModifier],this.hasSideBySideModifier=!!e.event[t.triggerSideBySideModifier],this.isNoneOrSingleMouseDown=e.event.detail<=1}}class l{constructor(e,t){this.keyCodeIsTriggerKey=e.keyCode===t.triggerKey,this.keyCodeIsSideBySideKey=e.keyCode===t.triggerSideBySideKey,this.hasTriggerModifier=!!e[t.triggerModifier]}}class a{constructor(e,t,i,n){this.triggerKey=e,this.triggerModifier=t,this.triggerSideBySideKey=i,this.triggerSideBySideModifier=n}equals(e){return this.triggerKey===e.triggerKey&&this.triggerModifier===e.triggerModifier&&this.triggerSideBySideKey===e.triggerSideBySideKey&&this.triggerSideBySideModifier===e.triggerSideBySideModifier}}function d(e){return"altKey"===e?o.dz?new a(57,"metaKey",6,"altKey"):new a(5,"ctrlKey",6,"altKey"):o.dz?new a(6,"altKey",57,"metaKey"):new a(6,"altKey",5,"ctrlKey")}class h extends s.JT{constructor(e,t){var i;super(),this._onMouseMoveOrRelevantKeyDown=this._register(new n.Q5),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new n.Q5),this.onExecute=this._onExecute.event,this._onCancel=this._register(new n.Q5),this.onCancel=this._onCancel.event,this._editor=e,this._extractLineNumberFromMouseEvent=null!==(i=null==t?void 0:t.extractLineNumberFromMouseEvent)&&void 0!==i?i:e=>e.target.position?e.target.position.lineNumber:0,this._opts=d(this._editor.getOption(78)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(e=>{if(e.hasChanged(78)){let e=d(this._editor.getOption(78));this._opts.equals(e)||(this._opts=e,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire())}})),this._register(this._editor.onMouseMove(e=>this._onEditorMouseMove(new r(e,this._opts)))),this._register(this._editor.onMouseDown(e=>this._onEditorMouseDown(new r(e,this._opts)))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(new r(e,this._opts)))),this._register(this._editor.onKeyDown(e=>this._onEditorKeyDown(new l(e,this._opts)))),this._register(this._editor.onKeyUp(e=>this._onEditorKeyUp(new l(e,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(e=>this._onDidChangeCursorSelection(e))),this._register(this._editor.onDidChangeModel(e=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(e=>{(e.scrollTopChanged||e.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(e){this._lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])}_onEditorMouseDown(e){this._hasTriggerKeyOnMouseDown=e.hasTriggerModifier,this._lineNumberOnMouseDown=this._extractLineNumberFromMouseEvent(e)}_onEditorMouseUp(e){let t=this._extractLineNumberFromMouseEvent(e);this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===t&&this._onExecute.fire(e)}_onEditorKeyDown(e){this._lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}},29627:function(e,t,i){"use strict";i.d(t,{S:function(){return y}});var n,s=i(44532),o=i(32378),r=i(42891),l=i(70784);i(81121);var a=i(71141),d=i(82508),h=i(70209),u=i(77233),c=i(883),g=i(32350),p=i(62205),m=i(82801),f=i(33336),_=i(38820),v=i(20091),b=i(64106),C=i(66629),w=function(e,t){return function(i,n){t(i,n,e)}};let y=n=class{constructor(e,t,i,n){this.textModelResolverService=t,this.languageService=i,this.languageFeaturesService=n,this.toUnhook=new l.SL,this.toUnhookForKeyboard=new l.SL,this.currentWordAtPosition=null,this.previousPromise=null,this.editor=e,this.linkDecorations=this.editor.createDecorationsCollection();let s=new g.yN(e);this.toUnhook.add(s),this.toUnhook.add(s.onMouseMoveOrRelevantKeyDown(([e,t])=>{this.startFindDefinitionFromMouse(e,null!=t?t:void 0)})),this.toUnhook.add(s.onExecute(e=>{this.isEnabled(e)&&this.gotoDefinition(e.target.position,e.hasSideBySideModifier).catch(e=>{(0,o.dL)(e)}).finally(()=>{this.removeLinkDecorations()})})),this.toUnhook.add(s.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(e){return e.getContribution(n.ID)}async startFindDefinitionFromCursor(e){await this.startFindDefinition(e),this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(e=>{e&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))}startFindDefinitionFromMouse(e,t){if(9===e.target.type&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(e,t)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}let i=e.target.position;this.startFindDefinition(i)}async startFindDefinition(e){var t;let i;this.toUnhookForKeyboard.clear();let n=e?null===(t=this.editor.getModel())||void 0===t?void 0:t.getWordAtPosition(e):null;if(!n){this.currentWordAtPosition=null,this.removeLinkDecorations();return}if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===n.startColumn&&this.currentWordAtPosition.endColumn===n.endColumn&&this.currentWordAtPosition.word===n.word)return;this.currentWordAtPosition=n;let l=new a.yy(this.editor,15);this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=(0,s.PG)(t=>this.findDefinition(e,t));try{i=await this.previousPromise}catch(e){(0,o.dL)(e);return}if(!i||!i.length||!l.validate(this.editor)){this.removeLinkDecorations();return}let d=i[0].originSelectionRange?h.e.lift(i[0].originSelectionRange):new h.e(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn);if(i.length>1){let e=d;for(let{originSelectionRange:t}of i)t&&(e=h.e.plusRange(e,t));this.addDecoration(e,new r.W5().appendText(m.NC("multipleResults","Click to show {0} definitions.",i.length)))}else{let e=i[0];if(!e.uri)return;this.textModelResolverService.createModelReference(e.uri).then(t=>{if(!t.object||!t.object.textEditorModel){t.dispose();return}let{object:{textEditorModel:i}}=t,{startLineNumber:n}=e.range;if(n<1||n>i.getLineCount()){t.dispose();return}let s=this.getPreviewValue(i,n,e),o=this.languageService.guessLanguageIdByFilepathOrFirstLine(i.uri);this.addDecoration(d,s?new r.W5().appendCodeblock(o||"",s):void 0),t.dispose()})}}getPreviewValue(e,t,i){let s=i.range,o=s.endLineNumber-s.startLineNumber;o>=n.MAX_SOURCE_PREVIEW_LINES&&(s=this.getPreviewRangeBasedOnIndentation(e,t));let r=this.stripIndentationFromPreviewRange(e,t,s);return r}stripIndentationFromPreviewRange(e,t,i){let n=e.getLineFirstNonWhitespaceColumn(t),s=n;for(let n=t+1;n{let i=!t&&this.editor.getOption(88)&&!this.isInPeekEditor(e),n=new _.BT({openToSide:t,openInPeek:i,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0});return n.run(e)})}isInPeekEditor(e){let t=e.get(f.i6);return p.Jy.inPeekEditor.getValue(t)}dispose(){this.toUnhook.dispose(),this.toUnhookForKeyboard.dispose()}};y.ID="editor.contrib.gotodefinitionatposition",y.MAX_SOURCE_PREVIEW_LINES=8,y=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([w(1,c.S),w(2,u.O),w(3,b.p)],y),(0,d._K)(y.ID,y,2)},2156:function(e,t,i){"use strict";i.d(t,{J:function(){return eh}});var n,s,o=i(44532),r=i(32378),l=i(57231),a=i(70784),d=i(70208),h=i(86570),u=i(70209),c=i(62205),g=i(82801),p=i(81903),m=i(78426),f=i(33336),_=i(85327),v=i(93589),b=i(6356),C=i(16575),w=i(63179),y=i(60416),S=i(81845),L=i(57629),k=i(76515),D=i(79915),x=i(72249),N=i(1271);i(41877);var E=i(98549),I=i(66629),T=i(32712),M=i(27281),R=i(77233),A=i(883),P=i(40288),O=i(19912),F=i(40314),B=i(79814),W=i(46417),H=i(84449),V=i(72485),z=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},K=function(e,t){return function(i,n){t(i,n,e)}};let U=class{constructor(e){this._resolverService=e}hasChildren(e){return e instanceof y.oQ||e instanceof y.F2}getChildren(e){if(e instanceof y.oQ)return e.groups;if(e instanceof y.F2)return e.resolve(this._resolverService).then(e=>e.children);throw Error("bad tree")}};U=z([K(0,A.S)],U);class ${getHeight(){return 23}getTemplateId(e){return e instanceof y.F2?Q.id:Y.id}}let q=class{constructor(e){this._keybindingService=e}getKeyboardNavigationLabel(e){var t;if(e instanceof y.WX){let i=null===(t=e.parent.getPreview(e))||void 0===t?void 0:t.preview(e.range);if(i)return i.value}return(0,N.EZ)(e.uri)}};q=z([K(0,W.d)],q);class j{getId(e){return e instanceof y.WX?e.id:e.uri}}let G=class extends a.JT{constructor(e,t){super(),this._labelService=t;let i=document.createElement("div");i.classList.add("reference-file"),this.file=this._register(new F.g(i,{supportHighlights:!0})),this.badge=new P.Z(S.R3(i,S.$(".count")),{},V.ku),e.appendChild(i)}set(e,t){let i=(0,N.XX)(e.uri);this.file.setLabel(this._labelService.getUriBasenameLabel(e.uri),this._labelService.getUriLabel(i,{relative:!0}),{title:this._labelService.getUriLabel(e.uri),matches:t});let n=e.children.length;this.badge.setCount(n),n>1?this.badge.setTitleFormat((0,g.NC)("referencesCount","{0} references",n)):this.badge.setTitleFormat((0,g.NC)("referenceCount","{0} reference",n))}};G=z([K(1,H.e)],G);let Q=n=class{constructor(e){this._instantiationService=e,this.templateId=n.id}renderTemplate(e){return this._instantiationService.createInstance(G,e)}renderElement(e,t,i){i.set(e.element,(0,B.mB)(e.filterData))}disposeTemplate(e){e.dispose()}};Q.id="FileReferencesRenderer",Q=n=z([K(0,_.TG)],Q);class Z extends a.JT{constructor(e){super(),this.label=this._register(new O.q(e))}set(e,t){var i;let n=null===(i=e.parent.getPreview(e))||void 0===i?void 0:i.preview(e.range);if(n&&n.value){let{value:e,highlight:i}=n;t&&!B.CL.isDefault(t)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(e,(0,B.mB)(t))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(e,[i]))}else this.label.set(`${(0,N.EZ)(e.uri)}:${e.range.startLineNumber+1}:${e.range.startColumn+1}`)}}class Y{constructor(){this.templateId=Y.id}renderTemplate(e){return new Z(e)}renderElement(e,t,i){i.set(e.element,e.filterData)}disposeTemplate(e){e.dispose()}}Y.id="OneReferenceRenderer";class J{getWidgetAriaLabel(){return(0,g.NC)("treeAriaLabel","References")}getAriaLabel(e){return e.ariaMessage}}var X=i(55150),ee=i(32109),et=function(e,t){return function(i,n){t(i,n,e)}};class ei{constructor(e,t){this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new a.SL,this._callOnModelChange=new a.SL,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();let e=this._editor.getModel();if(e){for(let t of this._model.references)if(t.uri.toString()===e.uri.toString()){this._addDecorations(t.parent);return}}}_addDecorations(e){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));let t=[],i=[];for(let n=0,s=e.children.length;n{let s=n.deltaDecorations([],t);for(let t=0;t{e.equals(9)&&(this._keybindingService.dispatchEvent(e,e.target),e.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(es,"ReferencesWidget",this._treeContainer,new $,[this._instantiationService.createInstance(Q),this._instantiationService.createInstance(Y)],this._instantiationService.createInstance(U),t),this._splitView.addView({onDidChange:D.ju.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:e=>{this._preview.layout({height:this._dim.height,width:e})}},L.M.Distribute),this._splitView.addView({onDidChange:D.ju.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:e=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${e}px`,this._tree.layout(this._dim.height,e)}},L.M.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));let i=(e,t)=>{e instanceof y.WX&&("show"===t&&this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:t,source:"tree"}))};this._tree.onDidOpen(e=>{e.sideBySide?i(e.element,"side"):e.editorOptions.pinned?i(e.element,"goto"):i(e.element,"show")}),S.Cp(this._treeContainer)}_onWidth(e){this._dim&&this._doLayoutBody(this._dim.height,e)}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._dim=new S.Ro(t,e),this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(t),this._splitView.resizeView(0,t*this.layoutData.ratio)}setSelection(e){return this._revealReference(e,!0).then(()=>{this._model&&(this._tree.setSelection([e]),this._tree.setFocus([e]))})}setModel(e){return(this._disposeOnNewModel.clear(),this._model=e,this._model)?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=g.NC("noResults","No results"),S.$Z(this._messageContainer),Promise.resolve(void 0)):(S.Cp(this._messageContainer),this._decorationsManager=new ei(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(e=>this._tree.rerender(e))),this._disposeOnNewModel.add(this._preview.onMouseDown(e=>{let{event:t,target:i}=e;if(2!==t.detail)return;let n=this._getFocusedReference();n&&this._onDidSelectReference.fire({element:{uri:n.uri,range:i.range},kind:t.ctrlKey||t.metaKey||t.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),S.$Z(this._treeContainer),S.$Z(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(1===this._model.groups.length?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){let[e]=this._tree.getFocus();return e instanceof y.WX?e:e instanceof y.F2&&e.children.length>0?e.children[0]:void 0}async revealReference(e){await this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:"goto",source:"tree"})}async _revealReference(e,t){if(this._revealedReference===e)return;this._revealedReference=e,e.uri.scheme!==x.lg.inMemory?this.setTitle((0,N.Hx)(e.uri),this._uriLabel.getUriLabel((0,N.XX)(e.uri))):this.setTitle(g.NC("peekView.alternateTitle","References"));let i=this._textModelResolverService.createModelReference(e.uri);this._tree.getInput()===e.parent||(t&&this._tree.reveal(e.parent),await this._tree.expand(e.parent)),this._tree.reveal(e);let n=await i;if(!this._model){n.dispose();return}(0,a.B9)(this._previewModelReference);let s=n.object;if(s){let t=this._preview.getModel()===s.textEditorModel?0:1,i=u.e.lift(e.range).collapseToStart();this._previewModelReference=n,this._preview.setModel(s.textEditorModel),this._preview.setSelection(i),this._preview.revealRangeInCenter(i,t)}else this._preview.setModel(this._previewNotAvailableMessage),n.dispose()}};eo=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([et(3,X.XE),et(4,A.S),et(5,_.TG),et(6,c.Fw),et(7,H.e),et(8,ee.tJ),et(9,W.d),et(10,R.O),et(11,T.c_)],eo);var er=i(73440),el=i(28656),ea=function(e,t){return function(i,n){t(i,n,e)}};let ed=new f.uy("referenceSearchVisible",!1,g.NC("referenceSearchVisible","Whether reference peek is visible, like 'Peek References' or 'Peek Definition'")),eh=s=class{static get(e){return e.getContribution(s.ID)}constructor(e,t,i,n,s,o,r,l){this._defaultTreeKeyboardSupport=e,this._editor=t,this._editorService=n,this._notificationService=s,this._instantiationService=o,this._storageService=r,this._configurationService=l,this._disposables=new a.SL,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=ed.bindTo(i)}dispose(){var e,t;this._referenceSearchVisible.reset(),this._disposables.dispose(),null===(e=this._widget)||void 0===e||e.dispose(),null===(t=this._model)||void 0===t||t.dispose(),this._widget=void 0,this._model=void 0}toggleWidget(e,t,i){let n;if(this._widget&&(n=this._widget.position),this.closeWidget(),n&&e.containsPosition(n))return;this._peekMode=i,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));let s="peekViewLayout",o=en.fromJSON(this._storageService.get(s,0,"{}"));this._widget=this._instantiationService.createInstance(eo,this._editor,this._defaultTreeKeyboardSupport,o),this._widget.setTitle(g.NC("labelLoading","Loading...")),this._widget.show(e),this._disposables.add(this._widget.onDidClose(()=>{t.cancel(),this._widget&&(this._storageService.store(s,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(e=>{let{element:t,kind:n}=e;if(t)switch(n){case"open":"editor"===e.source&&this._configurationService.getValue("editor.stablePeek")||this.openReference(t,!1,!1);break;case"side":this.openReference(t,!0,!1);break;case"goto":i?this._gotoReference(t,!0):this.openReference(t,!1,!0)}}));let r=++this._requestIdPool;t.then(t=>{var i;if(r!==this._requestIdPool||!this._widget){t.dispose();return}return null===(i=this._model)||void 0===i||i.dispose(),this._model=t,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(g.NC("metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));let t=this._editor.getModel().uri,i=new h.L(e.startLineNumber,e.startColumn),n=this._model.nearestReference(t,i);if(n)return this._widget.setSelection(n).then(()=>{this._widget&&"editor"===this._editor.getOption(87)&&this._widget.focusOnPreviewEditor()})}})},e=>{this._notificationService.error(e)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}async goToNextOrPreviousReference(e){if(!this._editor.hasModel()||!this._model||!this._widget)return;let t=this._widget.position;if(!t)return;let i=this._model.nearestReference(this._editor.getModel().uri,t);if(!i)return;let n=this._model.nextOrPreviousReference(i,e),s=this._editor.hasTextFocus(),o=this._widget.isPreviewEditorFocused();await this._widget.setSelection(n),await this._gotoReference(n,!1),s?this._editor.focus():this._widget&&o&&this._widget.focusOnPreviewEditor()}async revealReference(e){this._editor.hasModel()&&this._model&&this._widget&&await this._widget.revealReference(e)}closeWidget(e=!0){var t,i;null===(t=this._widget)||void 0===t||t.dispose(),null===(i=this._model)||void 0===i||i.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(e,t){var i;null===(i=this._widget)||void 0===i||i.hide(),this._ignoreModelChangeEvent=!0;let n=u.e.lift(e.range).collapseToStart();return this._editorService.openCodeEditor({resource:e.uri,options:{selection:n,selectionSource:"code.jump",pinned:t}},this._editor).then(e=>{var t;if(this._ignoreModelChangeEvent=!1,!e||!this._widget){this.closeWidget();return}if(this._editor===e)this._widget.show(n),this._widget.focusOnReferenceTree();else{let i=s.get(e),r=this._model.clone();this.closeWidget(),e.focus(),null==i||i.toggleWidget(n,(0,o.PG)(e=>Promise.resolve(r)),null!==(t=this._peekMode)&&void 0!==t&&t)}},e=>{this._ignoreModelChangeEvent=!1,(0,r.dL)(e)})}openReference(e,t,i){t||this.closeWidget();let{uri:n,range:s}=e;this._editorService.openCodeEditor({resource:n,options:{selection:s,selectionSource:"code.jump",pinned:i}},this._editor,t)}};function eu(e,t){let i=(0,c.rc)(e);if(!i)return;let n=eh.get(i);n&&t(n)}eh.ID="editor.contrib.referencesController",eh=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ea(2,f.i6),ea(3,d.$),ea(4,C.lT),ea(5,_.TG),ea(6,w.Uy),ea(7,m.Ui)],eh),v.W.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:(0,l.gx)(2089,60),when:f.Ao.or(ed,c.Jy.inPeekEditor),handler(e){eu(e,e=>{e.changeFocusBetweenPreviewAndReferences()})}}),v.W.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:f.Ao.or(ed,c.Jy.inPeekEditor),handler(e){eu(e,e=>{e.goToNextOrPreviousReference(!0)})}}),v.W.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:f.Ao.or(ed,c.Jy.inPeekEditor),handler(e){eu(e,e=>{e.goToNextOrPreviousReference(!1)})}}),p.P.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),p.P.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),p.P.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),p.P.registerCommand("closeReferenceSearch",e=>eu(e,e=>e.closeWidget())),v.W.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:f.Ao.and(c.Jy.inPeekEditor,f.Ao.not("config.editor.stablePeek"))}),v.W.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:f.Ao.and(ed,f.Ao.not("config.editor.stablePeek"),f.Ao.or(er.u.editorTextFocus,el.Ul.negate()))}),v.W.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:f.Ao.and(ed,b.CQ,b.PS.negate(),b.uJ.negate()),handler(e){var t;let i=e.get(b.Lw),n=null===(t=i.lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof y.WX&&eu(e,e=>e.revealReference(n[0]))}}),v.W.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:f.Ao.and(ed,b.CQ,b.PS.negate(),b.uJ.negate()),handler(e){var t;let i=e.get(b.Lw),n=null===(t=i.lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof y.WX&&eu(e,e=>e.openReference(n[0],!0,!0))}}),p.P.registerCommand("openReference",e=>{var t;let i=e.get(b.Lw),n=null===(t=i.lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof y.WX&&eu(e,e=>e.openReference(n[0],!1,!0))})},60416:function(e,t,i){"use strict";i.d(t,{F2:function(){return p},WX:function(){return c},oQ:function(){return m}});var n=i(32378),s=i(79915),o=i(30397),r=i(70784),l=i(10289),a=i(1271),d=i(95612),h=i(70209),u=i(82801);class c{constructor(e,t,i,n){this.isProviderFirst=e,this.parent=t,this.link=i,this._rangeCallback=n,this.id=o.a.nextId()}get uri(){return this.link.uri}get range(){var e,t;return null!==(t=null!==(e=this._range)&&void 0!==e?e:this.link.targetSelectionRange)&&void 0!==t?t:this.link.range}set range(e){this._range=e,this._rangeCallback(this)}get ariaMessage(){var e;let t=null===(e=this.parent.getPreview(this))||void 0===e?void 0:e.preview(this.range);return t?(0,u.NC)({key:"aria.oneReference.preview",comment:["Placeholders are: 0: filename, 1:line number, 2: column number, 3: preview snippet of source code"]},"{0} in {1} on line {2} at column {3}",t.value,(0,a.EZ)(this.uri),this.range.startLineNumber,this.range.startColumn):(0,u.NC)("aria.oneReference","in {0} on line {1} at column {2}",(0,a.EZ)(this.uri),this.range.startLineNumber,this.range.startColumn)}}class g{constructor(e){this._modelReference=e}dispose(){this._modelReference.dispose()}preview(e,t=8){let i=this._modelReference.object.textEditorModel;if(!i)return;let{startLineNumber:n,startColumn:s,endLineNumber:o,endColumn:r}=e,l=i.getWordUntilPosition({lineNumber:n,column:s-t}),a=new h.e(n,l.startColumn,n,s),d=new h.e(o,r,o,1073741824),u=i.getValueInRange(a).replace(/^\s+/,""),c=i.getValueInRange(e),g=i.getValueInRange(d).replace(/\s+$/,"");return{value:u+c+g,highlight:{start:u.length,end:u.length+c.length}}}}class p{constructor(e,t){this.parent=e,this.uri=t,this.children=[],this._previews=new l.Y9}dispose(){(0,r.B9)(this._previews.values()),this._previews.clear()}getPreview(e){return this._previews.get(e.uri)}get ariaMessage(){let e=this.children.length;return 1===e?(0,u.NC)("aria.fileReferences.1","1 symbol in {0}, full path {1}",(0,a.EZ)(this.uri),this.uri.fsPath):(0,u.NC)("aria.fileReferences.N","{0} symbols in {1}, full path {2}",e,(0,a.EZ)(this.uri),this.uri.fsPath)}async resolve(e){if(0!==this._previews.size)return this;for(let t of this.children)if(!this._previews.has(t.uri))try{let i=await e.createModelReference(t.uri);this._previews.set(t.uri,new g(i))}catch(e){(0,n.dL)(e)}return this}}class m{constructor(e,t){let i;this.groups=[],this.references=[],this._onDidChangeReferenceRange=new s.Q5,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=e,this._title=t;let[n]=e;for(let t of(e.sort(m._compareReferences),e))if(i&&a.SF.isEqual(i.uri,t.uri,!0)||(i=new p(this,t.uri),this.groups.push(i)),0===i.children.length||0!==m._compareReferences(t,i.children[i.children.length-1])){let e=new c(n===t,i,t,e=>this._onDidChangeReferenceRange.fire(e));this.references.push(e),i.children.push(e)}}dispose(){(0,r.B9)(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new m(this._links,this._title)}get title(){return this._title}get isEmpty(){return 0===this.groups.length}get ariaMessage(){return this.isEmpty?(0,u.NC)("aria.result.0","No results found"):1===this.references.length?(0,u.NC)("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):1===this.groups.length?(0,u.NC)("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):(0,u.NC)("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(e,t){let{parent:i}=e,n=i.children.indexOf(e),s=i.children.length,o=i.parent.groups.length;return 1===o||t&&n+10?(n=t?(n+1)%s:(n+s-1)%s,i.children[n]):(n=i.parent.groups.indexOf(i),t)?(n=(n+1)%o,i.parent.groups[n].children[0]):(n=(n+o-1)%o,i.parent.groups[n].children[i.parent.groups[n].children.length-1])}nearestReference(e,t){let i=this.references.map((i,n)=>({idx:n,prefixLen:d.Mh(i.uri.toString(),e.toString()),offsetDist:100*Math.abs(i.range.startLineNumber-t.lineNumber)+Math.abs(i.range.startColumn-t.column)})).sort((e,t)=>e.prefixLen>t.prefixLen?-1:e.prefixLent.offsetDist?1:0)[0];if(i)return this.references[i.idx]}referenceAt(e,t){for(let i of this.references)if(i.uri.toString()===e.toString()&&h.e.containsPosition(i.range,t))return i}firstReference(){for(let e of this.references)if(e.isProviderFirst)return e;return this.references[0]}static _compareReferences(e,t){return a.SF.compare(e.uri,t.uri)||h.e.compareRangesUsingStarts(e.range,t.range)}}},5347:function(e,t,i){"use strict";i.d(t,{m:function(){return d}});var n,s=i(81845),o=i(38862),r=i(70784),l=i(46417);let a=s.$,d=class extends r.JT{get hasContent(){return this._hasContent}constructor(e){super(),this._keybindingService=e,this._hasContent=!1,this.hoverElement=a("div.hover-row.status-bar"),this.hoverElement.tabIndex=0,this.actionsElement=s.R3(this.hoverElement,a("div.actions"))}addAction(e){let t=this._keybindingService.lookupKeybinding(e.commandId),i=t?t.getLabel():null;return this._hasContent=!0,this._register(o.Sr.render(this.actionsElement,e,i))}append(e){let t=s.R3(this.actionsElement,e);return this._hasContent=!0,t}};d=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=l.d,function(e,t){n(e,t,0)})],d)},15320:function(e,t,i){"use strict";i.d(t,{OP:function(){return h}});var n=i(44532),s=i(9424),o=i(32378),r=i(82508),l=i(64106);class a{constructor(e,t,i){this.provider=e,this.hover=t,this.ordinal=i}}async function d(e,t,i,n,s){let r=await Promise.resolve(e.provideHover(i,n,s)).catch(o.Cp);if(r&&function(e){let t=void 0!==e.range,i=void 0!==e.contents&&e.contents&&e.contents.length>0;return t&&i}(r))return new a(e,r,t)}function h(e,t,i,s){let o=e.ordered(t),r=o.map((e,n)=>d(e,n,t,i,s));return n.Aq.fromPromises(r).coalesce()}(0,r.sb)("_executeHoverProvider",(e,t,i)=>{let n=e.get(l.p);return h(n.hoverProvider,t,i,s.Ts.None).map(e=>e.hover).toPromise()})},42820:function(e,t,i){"use strict";i.d(t,{B:function(){return u},Gd:function(){return p},Io:function(){return c},UW:function(){return o},ap:function(){return m},cW:function(){return h},eG:function(){return _},eY:function(){return g},iS:function(){return d},m:function(){return f},p:function(){return r},q_:function(){return a},s9:function(){return s},wf:function(){return l}});var n=i(82801);let s="editor.action.showHover",o="editor.action.showDefinitionPreviewHover",r="editor.action.scrollUpHover",l="editor.action.scrollDownHover",a="editor.action.scrollLeftHover",d="editor.action.scrollRightHover",h="editor.action.pageUpHover",u="editor.action.pageDownHover",c="editor.action.goToTopHover",g="editor.action.goToBottomHover",p="editor.action.increaseHoverVerbosityLevel",m=n.NC({key:"increaseHoverVerbosityLevel",comment:["Label for action that will increase the hover verbosity level."]},"Increase Hover Verbosity Level"),f="editor.action.decreaseHoverVerbosityLevel",_=n.NC({key:"decreaseHoverVerbosityLevel",comment:["Label for action that will decrease the hover verbosity level."]},"Decrease Hover Verbosity Level")},97045:function(e,t,i){"use strict";var n,s,o,r,l=i(42820),a=i(57231),d=i(82508),h=i(70209),u=i(73440),c=i(29627),g=i(71283),p=i(1863),m=i(82801);i(37248),(n=o||(o={})).NoAutoFocus="noAutoFocus",n.FocusIfVisible="focusIfVisible",n.AutoFocusImmediately="autoFocusImmediately";class f extends d.R6{constructor(){super({id:l.s9,label:m.NC({key:"showOrFocusHover",comment:["Label for action that will trigger the showing/focusing of a hover in the editor.","If the hover is not visible, it will show the hover.","This allows for users to show the hover without using the mouse."]},"Show or Focus Hover"),metadata:{description:m.vv("showOrFocusHoverDescription","Show or focus the editor hover which shows documentation, references, and other content for a symbol at the current cursor position."),args:[{name:"args",schema:{type:"object",properties:{focus:{description:"Controls if and when the hover should take focus upon being triggered by this action.",enum:[o.NoAutoFocus,o.FocusIfVisible,o.AutoFocusImmediately],enumDescriptions:[m.NC("showOrFocusHover.focus.noAutoFocus","The hover will not automatically take focus."),m.NC("showOrFocusHover.focus.focusIfVisible","The hover will take focus only if it is already visible."),m.NC("showOrFocusHover.focus.autoFocusImmediately","The hover will automatically take focus when it appears.")],default:o.FocusIfVisible}}}}]},alias:"Show or Focus Hover",precondition:void 0,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,a.gx)(2089,2087),weight:100}})}run(e,t,i){if(!t.hasModel())return;let n=g.c.get(t);if(!n)return;let s=null==i?void 0:i.focus,r=o.FocusIfVisible;Object.values(o).includes(s)?r=s:"boolean"==typeof s&&s&&(r=o.AutoFocusImmediately);let l=e=>{let i=t.getPosition(),s=new h.e(i.lineNumber,i.column,i.lineNumber,i.column);n.showContentHover(s,1,1,e)},a=2===t.getOption(2);n.isHoverVisible?r!==o.NoAutoFocus?n.focus():l(a):l(a||r===o.AutoFocusImmediately)}}class _ extends d.R6{constructor(){super({id:l.UW,label:m.NC({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0,metadata:{description:m.vv("showDefinitionPreviewHoverDescription","Show the definition preview hover in the editor.")}})}run(e,t){let i=g.c.get(t);if(!i)return;let n=t.getPosition();if(!n)return;let s=new h.e(n.lineNumber,n.column,n.lineNumber,n.column),o=c.S.get(t);if(!o)return;let r=o.startFindDefinitionFromCursor(n);r.then(()=>{i.showContentHover(s,1,1,!0)})}}class v extends d.R6{constructor(){super({id:l.p,label:m.NC({key:"scrollUpHover",comment:["Action that allows to scroll up in the hover widget with the up arrow when the hover widget is focused."]},"Scroll Up Hover"),alias:"Scroll Up Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:16,weight:100},metadata:{description:m.vv("scrollUpHoverDescription","Scroll up the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.scrollUp()}}class b extends d.R6{constructor(){super({id:l.wf,label:m.NC({key:"scrollDownHover",comment:["Action that allows to scroll down in the hover widget with the up arrow when the hover widget is focused."]},"Scroll Down Hover"),alias:"Scroll Down Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:18,weight:100},metadata:{description:m.vv("scrollDownHoverDescription","Scroll down the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.scrollDown()}}class C extends d.R6{constructor(){super({id:l.q_,label:m.NC({key:"scrollLeftHover",comment:["Action that allows to scroll left in the hover widget with the left arrow when the hover widget is focused."]},"Scroll Left Hover"),alias:"Scroll Left Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:15,weight:100},metadata:{description:m.vv("scrollLeftHoverDescription","Scroll left the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.scrollLeft()}}class w extends d.R6{constructor(){super({id:l.iS,label:m.NC({key:"scrollRightHover",comment:["Action that allows to scroll right in the hover widget with the right arrow when the hover widget is focused."]},"Scroll Right Hover"),alias:"Scroll Right Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:17,weight:100},metadata:{description:m.vv("scrollRightHoverDescription","Scroll right the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.scrollRight()}}class y extends d.R6{constructor(){super({id:l.cW,label:m.NC({key:"pageUpHover",comment:["Action that allows to page up in the hover widget with the page up command when the hover widget is focused."]},"Page Up Hover"),alias:"Page Up Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:11,secondary:[528],weight:100},metadata:{description:m.vv("pageUpHoverDescription","Page up the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.pageUp()}}class S extends d.R6{constructor(){super({id:l.B,label:m.NC({key:"pageDownHover",comment:["Action that allows to page down in the hover widget with the page down command when the hover widget is focused."]},"Page Down Hover"),alias:"Page Down Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:12,secondary:[530],weight:100},metadata:{description:m.vv("pageDownHoverDescription","Page down the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.pageDown()}}class L extends d.R6{constructor(){super({id:l.Io,label:m.NC({key:"goToTopHover",comment:["Action that allows to go to the top of the hover widget with the home command when the hover widget is focused."]},"Go To Top Hover"),alias:"Go To Bottom Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:14,secondary:[2064],weight:100},metadata:{description:m.vv("goToTopHoverDescription","Go to the top of the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.goToTop()}}class k extends d.R6{constructor(){super({id:l.eY,label:m.NC({key:"goToBottomHover",comment:["Action that allows to go to the bottom in the hover widget with the end command when the hover widget is focused."]},"Go To Bottom Hover"),alias:"Go To Bottom Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:13,secondary:[2066],weight:100},metadata:{description:m.vv("goToBottomHoverDescription","Go to the bottom of the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.goToBottom()}}class D extends d.R6{constructor(){super({id:l.Gd,label:l.ap,alias:"Increase Hover Verbosity Level",precondition:u.u.hoverVisible})}run(e,t,i){var n;null===(n=g.c.get(t))||void 0===n||n.updateMarkdownHoverVerbosityLevel(p.bq.Increase,null==i?void 0:i.index,null==i?void 0:i.focus)}}class x extends d.R6{constructor(){super({id:l.m,label:l.eG,alias:"Decrease Hover Verbosity Level",precondition:u.u.hoverVisible})}run(e,t,i){var n;null===(n=g.c.get(t))||void 0===n||n.updateMarkdownHoverVerbosityLevel(p.bq.Decrease,null==i?void 0:i.index,null==i?void 0:i.focus)}}var N=i(43616),E=i(55150),I=i(9411),T=i(92551),M=i(81845),R=i(40789),A=i(44532),P=i(32378),O=i(70784),F=i(1271),B=i(64106),W=i(87468),H=i(2734),V=i(37223),z=i(78875),K=i(41854),U=i(16324),$=i(45902),q=i(14588),j=function(e,t){return function(i,n){t(i,n,e)}};let G=M.$;class Q{constructor(e,t,i){this.owner=e,this.range=t,this.marker=i}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let Z={type:1,filter:{include:z.yN.QuickFix},triggerAction:z.aQ.QuickFixHover},Y=class{constructor(e,t,i,n){this._editor=e,this._markerDecorationsService=t,this._openerService=i,this._languageFeaturesService=n,this.hoverOrdinal=1,this.recentMarkerCodeActionsInfo=void 0}computeSync(e,t){if(!this._editor.hasModel()||1!==e.type&&!e.supportsMarkerHover)return[];let i=this._editor.getModel(),n=e.range.startLineNumber,s=i.getLineMaxColumn(n),o=[];for(let r of t){let t=r.range.startLineNumber===n?r.range.startColumn:1,l=r.range.endLineNumber===n?r.range.endColumn:s,a=this._markerDecorationsService.getMarker(i.uri,r);if(!a)continue;let d=new h.e(e.range.startLineNumber,t,e.range.startLineNumber,l);o.push(new Q(this,d,a))}return o}renderHoverParts(e,t){if(!t.length)return O.JT.None;let i=new O.SL;t.forEach(t=>e.fragment.appendChild(this.renderMarkerHover(t,i)));let n=1===t.length?t[0]:t.sort((e,t)=>U.ZL.compare(e.marker.severity,t.marker.severity))[0];return this.renderMarkerStatusbar(e,n,i),i}renderMarkerHover(e,t){let i=G("div.hover-row");i.tabIndex=0;let n=M.R3(i,G("div.marker.hover-contents")),{source:s,message:o,code:r,relatedInformation:l}=e.marker;this._editor.applyFontInfo(n);let a=M.R3(n,G("span"));if(a.style.whiteSpace="pre-wrap",a.innerText=o,s||r){if(r&&"string"!=typeof r){let e=G("span");if(s){let t=M.R3(e,G("span"));t.innerText=s}let i=M.R3(e,G("a.code-link"));i.setAttribute("href",r.target.toString()),t.add(M.nm(i,"click",e=>{this._openerService.open(r.target,{allowCommands:!0}),e.preventDefault(),e.stopPropagation()}));let o=M.R3(i,G("span"));o.innerText=r.value;let l=M.R3(n,e);l.style.opacity="0.6",l.style.paddingLeft="6px"}else{let e=M.R3(n,G("span"));e.style.opacity="0.6",e.style.paddingLeft="6px",e.innerText=s&&r?`${s}(${r})`:s||`(${r})`}}if((0,R.Of)(l))for(let{message:e,resource:i,startLineNumber:s,startColumn:o}of l){let r=M.R3(n,G("div"));r.style.marginTop="8px";let l=M.R3(r,G("a"));l.innerText=`${(0,F.EZ)(i)}(${s}, ${o}): `,l.style.cursor="pointer",t.add(M.nm(l,"click",e=>{e.stopPropagation(),e.preventDefault(),this._openerService&&this._openerService.open(i,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:s,startColumn:o}}}).catch(P.dL)}));let a=M.R3(r,G("span"));a.innerText=e,this._editor.applyFontInfo(a)}return i}renderMarkerStatusbar(e,t,i){if(t.marker.severity===U.ZL.Error||t.marker.severity===U.ZL.Warning||t.marker.severity===U.ZL.Info){let i=K.c.get(this._editor);i&&e.statusBar.addAction({label:m.NC("view problem","View Problem"),commandId:K.v.ID,run:()=>{e.hide(),i.showAtMarker(t.marker),this._editor.focus()}})}if(!this._editor.getOption(91)){let n=e.statusBar.append(G("div"));this.recentMarkerCodeActionsInfo&&(U.H0.makeKey(this.recentMarkerCodeActionsInfo.marker)===U.H0.makeKey(t.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(n.textContent=m.NC("noQuickFixes","No quick fixes available")):this.recentMarkerCodeActionsInfo=void 0);let s=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?O.JT.None:(0,A.Vg)(()=>n.textContent=m.NC("checkingForQuickFixes","Checking for quick fixes..."),200,i);n.textContent||(n.textContent=String.fromCharCode(160));let o=this.getCodeActions(t.marker);i.add((0,O.OF)(()=>o.cancel())),o.then(o=>{if(s.dispose(),this.recentMarkerCodeActionsInfo={marker:t.marker,hasCodeActions:o.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions){o.dispose(),n.textContent=m.NC("noQuickFixes","No quick fixes available");return}n.style.display="none";let r=!1;i.add((0,O.OF)(()=>{r||o.dispose()})),e.statusBar.addAction({label:m.NC("quick fixes","Quick Fix..."),commandId:H.cz,run:t=>{r=!0;let i=V.G.get(this._editor),n=M.i(t);e.hide(),null==i||i.showCodeActions(Z,o,{x:n.left,y:n.top,width:n.width,height:n.height})}})},P.dL)}}getCodeActions(e){return(0,A.PG)(t=>(0,H.aI)(this._languageFeaturesService.codeActionProvider,this._editor.getModel(),new h.e(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),Z,q.Ex.None,t))}};Y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([j(1,W.i),j(2,$.v),j(3,B.p)],Y);var J=i(19186);(s=r||(r={})).intro=(0,m.NC)("intro","Focus on the hover widget to cycle through the hover parts with the Tab key."),s.increaseVerbosity=(0,m.NC)("increaseVerbosity","- The focused hover part verbosity level can be increased with the Increase Hover Verbosity command.",l.Gd),s.decreaseVerbosity=(0,m.NC)("decreaseVerbosity","- The focused hover part verbosity level can be decreased with the Decrease Hover Verbosity command.",l.m),s.hoverContent=(0,m.NC)("contentHover","The last focused hover content is the following."),(0,d._K)(g.c.ID,g.c,2),(0,d.Qr)(f),(0,d.Qr)(_),(0,d.Qr)(v),(0,d.Qr)(b),(0,d.Qr)(C),(0,d.Qr)(w),(0,d.Qr)(y),(0,d.Qr)(S),(0,d.Qr)(L),(0,d.Qr)(k),(0,d.Qr)(D),(0,d.Qr)(x),I.Ae.register(T.D5),I.Ae.register(Y),(0,E.Ic)((e,t)=>{let i=e.getColor(N.CNo);i&&(t.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${i.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${i.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${i.transparent(.5)}; }`))}),J.V.register(new class{dispose(){var e;null===(e=this._provider)||void 0===e||e.dispose()}}),J.V.register(new class{dispose(){var e;null===(e=this._provider)||void 0===e||e.dispose()}}),J.V.register(new class{dispose(){}})},71283:function(e,t,i){"use strict";i.d(t,{c:function(){return Q}});var n,s,o,r=i(42820),l=i(70784),a=i(85327),d=i(94309),h=i(46417),u=i(44532),c=i(81845),g=i(23778),p=i(86570);class m extends l.JT{constructor(e,t=new c.Ro(10,10)){super(),this._editor=e,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._resizableNode=this._register(new g.f),this._contentPosition=null,this._isResizing=!1,this._resizableNode.domNode.style.position="absolute",this._resizableNode.minSize=c.Ro.lift(t),this._resizableNode.layout(t.height,t.width),this._resizableNode.enableSashes(!0,!0,!0,!0),this._register(this._resizableNode.onDidResize(e=>{this._resize(new c.Ro(e.dimension.width,e.dimension.height)),e.done&&(this._isResizing=!1)})),this._register(this._resizableNode.onDidWillResize(()=>{this._isResizing=!0}))}get isResizing(){return this._isResizing}getDomNode(){return this._resizableNode.domNode}getPosition(){return this._contentPosition}get position(){var e;return(null===(e=this._contentPosition)||void 0===e?void 0:e.position)?p.L.lift(this._contentPosition.position):void 0}_availableVerticalSpaceAbove(e){let t=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(e);if(!t||!i)return;let n=c.i(t);return n.top+i.top-30}_availableVerticalSpaceBelow(e){let t=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(e);if(!t||!i)return;let n=c.i(t),s=c.D6(t.ownerDocument.body),o=n.top+i.top+i.height;return s.height-o-24}_findPositionPreference(e,t){var i,n;let s;let o=Math.min(null!==(i=this._availableVerticalSpaceBelow(t))&&void 0!==i?i:1/0,e),r=Math.min(null!==(n=this._availableVerticalSpaceAbove(t))&&void 0!==n?n:1/0,e),l=Math.min(e,Math.min(Math.max(r,o),e));return 1==(s=this._editor.getOption(60).above?l<=r?1:2:l<=o?2:1)?this._resizableNode.enableSashes(!0,!0,!1,!1):this._resizableNode.enableSashes(!1,!0,!0,!1),s}_resize(e){this._resizableNode.layout(e.height,e.width)}}var f=i(33336),_=i(78426),v=i(15232),b=i(73440),C=i(38862),w=function(e,t){return function(i,n){t(i,n,e)}};let y=n=class extends m{get isColorPickerVisible(){var e;return!!(null===(e=this._visibleData)||void 0===e?void 0:e.colorPicker)}get isVisibleFromKeyboard(){var e;return(null===(e=this._visibleData)||void 0===e?void 0:e.source)===1}get isVisible(){var e;return null!==(e=this._hoverVisibleKey.get())&&void 0!==e&&e}get isFocused(){var e;return null!==(e=this._hoverFocusedKey.get())&&void 0!==e&&e}constructor(e,t,i,n,s){let o=e.getOption(67)+8,r=new c.Ro(150,o);super(e,r),this._configurationService=i,this._accessibilityService=n,this._keybindingService=s,this._hover=this._register(new C.c8),this._minimumSize=r,this._hoverVisibleKey=b.u.hoverVisible.bindTo(t),this._hoverFocusedKey=b.u.hoverFocused.bindTo(t),c.R3(this._resizableNode.domNode,this._hover.containerDomNode),this._resizableNode.domNode.style.zIndex="50",this._register(this._editor.onDidLayoutChange(()=>{this.isVisible&&this._updateMaxDimensions()})),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(50)&&this._updateFont()}));let l=this._register(c.go(this._resizableNode.domNode));this._register(l.onDidFocus(()=>{this._hoverFocusedKey.set(!0)})),this._register(l.onDidBlur(()=>{this._hoverFocusedKey.set(!1)})),this._setHoverData(void 0),this._editor.addContentWidget(this)}dispose(){var e;super.dispose(),null===(e=this._visibleData)||void 0===e||e.disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return n.ID}static _applyDimensions(e,t,i){let n="number"==typeof t?`${t}px`:t,s="number"==typeof i?`${i}px`:i;e.style.width=n,e.style.height=s}_setContentsDomNodeDimensions(e,t){let i=this._hover.contentsDomNode;return n._applyDimensions(i,e,t)}_setContainerDomNodeDimensions(e,t){let i=this._hover.containerDomNode;return n._applyDimensions(i,e,t)}_setHoverWidgetDimensions(e,t){this._setContentsDomNodeDimensions(e,t),this._setContainerDomNodeDimensions(e,t),this._layoutContentWidget()}static _applyMaxDimensions(e,t,i){let n="number"==typeof t?`${t}px`:t,s="number"==typeof i?`${i}px`:i;e.style.maxWidth=n,e.style.maxHeight=s}_setHoverWidgetMaxDimensions(e,t){n._applyMaxDimensions(this._hover.contentsDomNode,e,t),n._applyMaxDimensions(this._hover.containerDomNode,e,t),this._hover.containerDomNode.style.setProperty("--vscode-hover-maxWidth","number"==typeof e?`${e}px`:e),this._layoutContentWidget()}_setAdjustedHoverWidgetDimensions(e){this._setHoverWidgetMaxDimensions("none","none");let t=e.width,i=e.height;this._setHoverWidgetDimensions(t,i)}_updateResizableNodeMaxDimensions(){var e,t;let i=null!==(e=this._findMaximumRenderingWidth())&&void 0!==e?e:1/0,n=null!==(t=this._findMaximumRenderingHeight())&&void 0!==t?t:1/0;this._resizableNode.maxSize=new c.Ro(i,n),this._setHoverWidgetMaxDimensions(i,n)}_resize(e){var t,i;n._lastDimensions=new c.Ro(e.width,e.height),this._setAdjustedHoverWidgetDimensions(e),this._resizableNode.layout(e.height,e.width),this._updateResizableNodeMaxDimensions(),this._hover.scrollbar.scanDomNode(),this._editor.layoutContentWidget(this),null===(i=null===(t=this._visibleData)||void 0===t?void 0:t.colorPicker)||void 0===i||i.layout()}_findAvailableSpaceVertically(){var e;let t=null===(e=this._visibleData)||void 0===e?void 0:e.showAtPosition;if(t)return 1===this._positionPreference?this._availableVerticalSpaceAbove(t):this._availableVerticalSpaceBelow(t)}_findMaximumRenderingHeight(){let e=this._findAvailableSpaceVertically();if(!e)return;let t=6;return Array.from(this._hover.contentsDomNode.children).forEach(e=>{t+=e.clientHeight}),Math.min(e,t)}_isHoverTextOverflowing(){this._hover.containerDomNode.style.setProperty("--vscode-hover-whiteSpace","nowrap"),this._hover.containerDomNode.style.setProperty("--vscode-hover-sourceWhiteSpace","nowrap");let e=Array.from(this._hover.contentsDomNode.children).some(e=>e.scrollWidth>e.clientWidth);return this._hover.containerDomNode.style.removeProperty("--vscode-hover-whiteSpace"),this._hover.containerDomNode.style.removeProperty("--vscode-hover-sourceWhiteSpace"),e}_findMaximumRenderingWidth(){if(!this._editor||!this._editor.hasModel())return;let e=this._isHoverTextOverflowing(),t=void 0===this._contentWidth?0:this._contentWidth-2;if(!e&&!(this._hover.containerDomNode.clientWidththis._visibleData.closestMouseDistance+4)&&(this._visibleData.closestMouseDistance=Math.min(this._visibleData.closestMouseDistance,n),!0)}_setHoverData(e){var t;null===(t=this._visibleData)||void 0===t||t.disposables.dispose(),this._visibleData=e,this._hoverVisibleKey.set(!!e),this._hover.containerDomNode.classList.toggle("hidden",!e)}_updateFont(){let{fontSize:e,lineHeight:t}=this._editor.getOption(50),i=this._hover.contentsDomNode;i.style.fontSize=`${e}px`,i.style.lineHeight=`${t/e}`;let n=Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code"));n.forEach(e=>this._editor.applyFontInfo(e))}_updateContent(e){let t=this._hover.contentsDomNode;t.style.paddingBottom="",t.textContent="",t.appendChild(e)}_layoutContentWidget(){this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_updateMaxDimensions(){let e=Math.max(this._editor.getLayoutInfo().height/4,250,n._lastDimensions.height),t=Math.max(.66*this._editor.getLayoutInfo().width,500,n._lastDimensions.width);this._setHoverWidgetMaxDimensions(t,e)}_render(e,t){this._setHoverData(t),this._updateFont(),this._updateContent(e),this._updateMaxDimensions(),this.onContentsChanged(),this._editor.render()}getPosition(){var e;return this._visibleData?{position:this._visibleData.showAtPosition,secondaryPosition:this._visibleData.showAtSecondaryPosition,positionAffinity:this._visibleData.isBeforeContent?3:void 0,preference:[null!==(e=this._positionPreference)&&void 0!==e?e:1]}:null}showAt(e,t){var i,n,s,o;if(!this._editor||!this._editor.hasModel())return;this._render(e,t);let r=c.wn(this._hover.containerDomNode),l=t.showAtPosition;this._positionPreference=null!==(i=this._findPositionPreference(r,l))&&void 0!==i?i:1,this.onContentsChanged(),t.stoleFocus&&this._hover.containerDomNode.focus(),null===(n=t.colorPicker)||void 0===n||n.layout();let a=this._hover.containerDomNode.ownerDocument.activeElement===this._hover.containerDomNode,d=a&&(0,C.uX)(!0===this._configurationService.getValue("accessibility.verbosity.hover")&&this._accessibilityService.isScreenReaderOptimized(),null!==(o=null===(s=this._keybindingService.lookupKeybinding("editor.action.accessibleView"))||void 0===s?void 0:s.getAriaLabel())&&void 0!==o?o:"");d&&(this._hover.contentsDomNode.ariaLabel=this._hover.contentsDomNode.textContent+", "+d)}hide(){if(!this._visibleData)return;let e=this._visibleData.stoleFocus||this._hoverFocusedKey.get();this._setHoverData(void 0),this._resizableNode.maxSize=new c.Ro(1/0,1/0),this._resizableNode.clearSashHoverState(),this._hoverFocusedKey.set(!1),this._editor.layoutContentWidget(this),e&&this._editor.focus()}_removeConstraintsRenderNormally(){let e=this._editor.getLayoutInfo();this._resizableNode.layout(e.height,e.width),this._setHoverWidgetDimensions("auto","auto")}setMinimumDimensions(e){this._minimumSize=new c.Ro(Math.max(this._minimumSize.width,e.width),Math.max(this._minimumSize.height,e.height)),this._updateMinimumWidth()}_updateMinimumWidth(){let e=void 0===this._contentWidth?this._minimumSize.width:Math.min(this._contentWidth,this._minimumSize.width);this._resizableNode.minSize=new c.Ro(e,this._minimumSize.height)}onContentsChanged(){var e;this._removeConstraintsRenderNormally();let t=this._hover.containerDomNode,i=c.wn(t),n=c.w(t);if(this._resizableNode.layout(i,n),this._setHoverWidgetDimensions(n,i),i=c.wn(t),n=c.w(t),this._contentWidth=n,this._updateMinimumWidth(),this._resizableNode.layout(i,n),null===(e=this._visibleData)||void 0===e?void 0:e.showAtPosition){let e=c.wn(this._hover.containerDomNode);this._positionPreference=this._findPositionPreference(e,this._visibleData.showAtPosition)}this._layoutContentWidget()}focus(){this._hover.containerDomNode.focus()}scrollUp(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:e-t.lineHeight})}scrollDown(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:e+t.lineHeight})}scrollLeft(){let e=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:e-30})}scrollRight(){let e=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:e+30})}pageUp(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:e-t})}pageDown(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:e+t})}goToTop(){this._hover.scrollbar.setScrollPosition({scrollTop:0})}goToBottom(){this._hover.scrollbar.setScrollPosition({scrollTop:this._hover.scrollbar.getScrollDimensions().scrollHeight})}};function S(e,t,i,n,s,o){let r=Math.max(Math.abs(e-(i+s/2))-s/2,0),l=Math.max(Math.abs(t-(n+o/2))-o/2,0);return Math.sqrt(r*r+l*l)}y.ID="editor.contrib.resizableContentHoverWidget",y._lastDimensions=new c.Ro(0,0),y=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([w(1,f.i6),w(2,_.Ui),w(3,v.F),w(4,h.d)],y);var L=i(70209),k=i(66629),D=i(1863),x=i(32378),N=i(79915);class E{constructor(e,t,i){this.value=e,this.isComplete=t,this.hasLoadingMessage=i}}class I extends l.JT{constructor(e,t){super(),this._editor=e,this._computer=t,this._onResult=this._register(new N.Q5),this.onResult=this._onResult.event,this._firstWaitScheduler=this._register(new u.pY(()=>this._triggerAsyncComputation(),0)),this._secondWaitScheduler=this._register(new u.pY(()=>this._triggerSyncComputation(),0)),this._loadingMessageScheduler=this._register(new u.pY(()=>this._triggerLoadingMessage(),0)),this._state=0,this._asyncIterable=null,this._asyncIterableDone=!1,this._result=[]}dispose(){this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),super.dispose()}get _hoverTime(){return this._editor.getOption(60).delay}get _firstWaitTime(){return this._hoverTime/2}get _secondWaitTime(){return this._hoverTime-this._firstWaitTime}get _loadingMessageTime(){return 3*this._hoverTime}_setState(e,t=!0){this._state=e,t&&this._fireResult()}_triggerAsyncComputation(){this._setState(2),this._secondWaitScheduler.schedule(this._secondWaitTime),this._computer.computeAsync?(this._asyncIterableDone=!1,this._asyncIterable=(0,u.zS)(e=>this._computer.computeAsync(e)),(async()=>{try{for await(let e of this._asyncIterable)e&&(this._result.push(e),this._fireResult());this._asyncIterableDone=!0,(3===this._state||4===this._state)&&this._setState(0)}catch(e){(0,x.dL)(e)}})()):this._asyncIterableDone=!0}_triggerSyncComputation(){this._computer.computeSync&&(this._result=this._result.concat(this._computer.computeSync())),this._setState(this._asyncIterableDone?0:3)}_triggerLoadingMessage(){3===this._state&&this._setState(4)}_fireResult(){if(1===this._state||2===this._state)return;let e=0===this._state,t=4===this._state;this._onResult.fire(new E(this._result.slice(0),e,t))}start(e){if(0===e)0===this._state&&(this._setState(1),this._firstWaitScheduler.schedule(this._firstWaitTime),this._loadingMessageScheduler.schedule(this._loadingMessageTime));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}}cancel(){this._firstWaitScheduler.cancel(),this._secondWaitScheduler.cancel(),this._loadingMessageScheduler.cancel(),this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),this._result=[],this._setState(0,!1)}}var T=i(9411),M=i(92551),R=i(26603),A=i(40789);class P{get anchor(){return this._anchor}set anchor(e){this._anchor=e}get shouldFocus(){return this._shouldFocus}set shouldFocus(e){this._shouldFocus=e}get source(){return this._source}set source(e){this._source=e}get insistOnKeepingHoverVisible(){return this._insistOnKeepingHoverVisible}set insistOnKeepingHoverVisible(e){this._insistOnKeepingHoverVisible=e}constructor(e,t){this._editor=e,this._participants=t,this._anchor=null,this._shouldFocus=!1,this._source=0,this._insistOnKeepingHoverVisible=!1}static _getLineDecorations(e,t){if(1!==t.type&&!t.supportsMarkerHover)return[];let i=e.getModel(),n=t.range.startLineNumber;if(n>i.getLineCount())return[];let s=i.getLineMaxColumn(n);return e.getLineDecorations(n).filter(e=>{if(e.options.isWholeLine)return!0;let i=e.range.startLineNumber===n?e.range.startColumn:1,o=e.range.endLineNumber===n?e.range.endColumn:s;if(e.options.showIfCollapsed){if(i>t.range.startColumn+1||t.range.endColumn-1>o)return!1}else if(i>t.range.startColumn||t.range.endColumn>o)return!1;return!0})}computeAsync(e){let t=this._anchor;if(!this._editor.hasModel()||!t)return u.Aq.EMPTY;let i=P._getLineDecorations(this._editor,t);return u.Aq.merge(this._participants.map(n=>n.computeAsync?n.computeAsync(t,i,e):u.Aq.EMPTY))}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];let e=P._getLineDecorations(this._editor,this._anchor),t=[];for(let i of this._participants)t=t.concat(i.computeSync(this._anchor,e));return(0,A.kX)(t)}}class O{constructor(e,t,i){this.anchor=e,this.messages=t,this.isComplete=i}filter(e){let t=this.messages.filter(t=>t.isValidForHoverAnchor(e));return t.length===this.messages.length?this:new F(this,this.anchor,t,this.isComplete)}}class F extends O{constructor(e,t,i,n){super(t,i,n),this.original=e}filter(e){return this.original.filter(e)}}class B{constructor(e,t,i,n,s,o,r,l,a,d){this.initialMousePosX=e,this.initialMousePosY=t,this.colorPicker=i,this.showAtPosition=n,this.showAtSecondaryPosition=s,this.preferAbove=o,this.stoleFocus=r,this.source=l,this.isBeforeContent=a,this.disposables=d,this.closestMouseDistance=void 0}}var W=i(5347),H=function(e,t){return function(i,n){t(i,n,e)}};let V=s=class extends l.JT{constructor(e,t,i){for(let n of(super(),this._editor=e,this._instantiationService=t,this._keybindingService=i,this._currentResult=null,this._onContentsChanged=this._register(new N.Q5),this.onContentsChanged=this._onContentsChanged.event,this._widget=this._register(this._instantiationService.createInstance(y,this._editor)),this._participants=[],T.Ae.getAll())){let e=this._instantiationService.createInstance(n,this._editor);e instanceof M.D5&&!(e instanceof R.G)&&(this._markdownHoverParticipant=e),this._participants.push(e)}this._participants.sort((e,t)=>e.hoverOrdinal-t.hoverOrdinal),this._computer=new P(this._editor,this._participants),this._hoverOperation=this._register(new I(this._editor,this._computer)),this._register(this._hoverOperation.onResult(e=>{if(!this._computer.anchor)return;let t=e.hasLoadingMessage?this._addLoadingMessage(e.value):e.value;this._withResult(new O(this._computer.anchor,t,e.isComplete))})),this._register(c.mu(this._widget.getDomNode(),"keydown",e=>{e.equals(9)&&this.hide()})),this._register(D.RW.onDidChange(()=>{this._widget.position&&this._currentResult&&this._setCurrentResult(this._currentResult)}))}_startShowingOrUpdateHover(e,t,i,n,s){if(!this._widget.position||!this._currentResult)return!!e&&(this._startHoverOperationIfNecessary(e,t,i,n,!1),!0);let o=this._editor.getOption(60).sticky,r=o&&s&&this._widget.isMouseGettingCloser(s.event.posx,s.event.posy);return r?(e&&this._startHoverOperationIfNecessary(e,t,i,n,!0),!0):e?!!(e&&this._currentResult.anchor.equals(e))||(e.canAdoptVisibleHover(this._currentResult.anchor,this._widget.position)?(this._setCurrentResult(this._currentResult.filter(e)),this._startHoverOperationIfNecessary(e,t,i,n,!1),!0):(this._setCurrentResult(null),this._startHoverOperationIfNecessary(e,t,i,n,!1),!0)):(this._setCurrentResult(null),!1)}_startHoverOperationIfNecessary(e,t,i,n,s){this._computer.anchor&&this._computer.anchor.equals(e)||(this._hoverOperation.cancel(),this._computer.anchor=e,this._computer.shouldFocus=n,this._computer.source=i,this._computer.insistOnKeepingHoverVisible=s,this._hoverOperation.start(t))}_setCurrentResult(e){this._currentResult!==e&&(e&&0===e.messages.length&&(e=null),this._currentResult=e,this._currentResult?this._renderMessages(this._currentResult.anchor,this._currentResult.messages):this._widget.hide())}_addLoadingMessage(e){if(this._computer.anchor){for(let t of this._participants)if(t.createLoadingMessage){let i=t.createLoadingMessage(this._computer.anchor);if(i)return e.slice(0).concat([i])}}return e}_withResult(e){this._widget.position&&this._currentResult&&this._currentResult.isComplete&&(!e.isComplete||this._computer.insistOnKeepingHoverVisible&&0===e.messages.length)||this._setCurrentResult(e)}_renderMessages(e,t){let{showAtPosition:i,showAtSecondaryPosition:n,highlightRange:o}=s.computeHoverRanges(this._editor,e.range,t),r=new l.SL,a=r.add(new W.m(this._keybindingService)),d=document.createDocumentFragment(),h=null,u={fragment:d,statusBar:a,setColorPicker:e=>h=e,onContentsChanged:()=>this._doOnContentsChanged(),setMinimumDimensions:e=>this._widget.setMinimumDimensions(e),hide:()=>this.hide()};for(let e of this._participants){let i=t.filter(t=>t.owner===e);i.length>0&&r.add(e.renderHoverParts(u,i))}let c=t.some(e=>e.isBeforeContent);if(a.hasContent&&d.appendChild(a.hoverElement),d.hasChildNodes()){if(o){let e=this._editor.createDecorationsCollection();e.set([{range:o,options:s._DECORATION_OPTIONS}]),r.add((0,l.OF)(()=>{e.clear()}))}this._widget.showAt(d,new B(e.initialMousePosX,e.initialMousePosY,h,i,n,this._editor.getOption(60).above,this._computer.shouldFocus,this._computer.source,c,r))}else r.dispose()}_doOnContentsChanged(){this._onContentsChanged.fire(),this._widget.onContentsChanged()}static computeHoverRanges(e,t,i){let n=1;if(e.hasModel()){let i=e._getViewModel(),s=i.coordinatesConverter,o=s.convertModelRangeToViewRange(t),r=new p.L(o.startLineNumber,i.getLineMinColumn(o.startLineNumber));n=s.convertViewPositionToModelPosition(r).column}let s=t.startLineNumber,o=t.startColumn,r=i[0].range,l=null;for(let e of i)r=L.e.plusRange(r,e.range),e.range.startLineNumber===s&&e.range.endLineNumber===s&&(o=Math.max(Math.min(o,e.range.startColumn),n)),e.forceShowAtRange&&(l=e.range);let a=l?l.getStartPosition():new p.L(s,t.startColumn),d=l?l.getStartPosition():new p.L(s,o);return{showAtPosition:a,showAtSecondaryPosition:d,highlightRange:r}}showsOrWillShow(e){if(this._widget.isResizing)return!0;let t=[];for(let i of this._participants)if(i.suggestHoverAnchor){let n=i.suggestHoverAnchor(e);n&&t.push(n)}let i=e.target;if(6===i.type&&t.push(new T.Qj(0,i.range,e.event.posx,e.event.posy)),7===i.type){let n=this._editor.getOption(50).typicalHalfwidthCharacterWidth/2;!i.detail.isAfterLines&&"number"==typeof i.detail.horizontalDistanceToText&&i.detail.horizontalDistanceToTextt.priority-e.priority),this._startShowingOrUpdateHover(t[0],0,0,!1,e))}startShowingAtRange(e,t,i,n){this._startShowingOrUpdateHover(new T.Qj(0,e,void 0,void 0),t,i,n,null)}async updateMarkdownHoverVerbosityLevel(e,t,i){var n;null===(n=this._markdownHoverParticipant)||void 0===n||n.updateMarkdownHoverVerbosityLevel(e,t,i)}markdownHoverContentAtIndex(e){var t,i;return null!==(i=null===(t=this._markdownHoverParticipant)||void 0===t?void 0:t.markdownHoverContentAtIndex(e))&&void 0!==i?i:""}doesMarkdownHoverAtIndexSupportVerbosityAction(e,t){var i,n;return null!==(n=null===(i=this._markdownHoverParticipant)||void 0===i?void 0:i.doesMarkdownHoverAtIndexSupportVerbosityAction(e,t))&&void 0!==n&&n}containsNode(e){return!!e&&this._widget.getDomNode().contains(e)}focus(){this._widget.focus()}scrollUp(){this._widget.scrollUp()}scrollDown(){this._widget.scrollDown()}scrollLeft(){this._widget.scrollLeft()}scrollRight(){this._widget.scrollRight()}pageUp(){this._widget.pageUp()}pageDown(){this._widget.pageDown()}goToTop(){this._widget.goToTop()}goToBottom(){this._widget.goToBottom()}hide(){this._computer.anchor=null,this._hoverOperation.cancel(),this._setCurrentResult(null)}get isColorPickerVisible(){return this._widget.isColorPickerVisible}get isVisibleFromKeyboard(){return this._widget.isVisibleFromKeyboard}get isVisible(){return this._widget.isVisible}get isFocused(){return this._widget.isFocused}get isResizing(){return this._widget.isResizing}get widget(){return this._widget}};V._DECORATION_OPTIONS=k.qx.register({description:"content-hover-highlight",className:"hoverHighlight"}),V=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([H(1,a.TG),H(2,h.d)],V),i(37248);var z=i(77585),K=i(42891),U=i(41407);class ${get lineNumber(){return this._lineNumber}set lineNumber(e){this._lineNumber=e}get lane(){return this._laneOrLine}set lane(e){this._laneOrLine=e}constructor(e){this._editor=e,this._lineNumber=-1,this._laneOrLine=U.U.Center}computeSync(){var e,t;let i=e=>({value:e}),n=this._editor.getLineDecorations(this._lineNumber),s=[],o="lineNo"===this._laneOrLine;if(!n)return s;for(let r of n){let n=null!==(t=null===(e=r.options.glyphMargin)||void 0===e?void 0:e.position)&&void 0!==t?t:U.U.Center;if(!o&&n!==this._laneOrLine)continue;let l=o?r.options.lineNumberHoverMessage:r.options.glyphMarginHoverMessage;!l||(0,K.CP)(l)||s.push(...(0,A._2)(l).map(i))}return s}}let q=c.$;class j extends l.JT{constructor(e,t,i){super(),this._renderDisposeables=this._register(new l.SL),this._editor=e,this._isVisible=!1,this._messages=[],this._hover=this._register(new C.c8),this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._markdownRenderer=this._register(new z.$({editor:this._editor},t,i)),this._computer=new $(this._editor),this._hoverOperation=this._register(new I(this._editor,this._computer)),this._register(this._hoverOperation.onResult(e=>{this._withResult(e.value)})),this._register(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged())),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(50)&&this._updateFont()})),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return j.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){return null}_updateFont(){let e=Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code"));e.forEach(e=>this._editor.applyFontInfo(e))}_onModelDecorationsChanged(){this._isVisible&&(this._hoverOperation.cancel(),this._hoverOperation.start(0))}showsOrWillShow(e){let t=e.target;return 2===t.type&&t.detail.glyphMarginLane?(this._startShowingAt(t.position.lineNumber,t.detail.glyphMarginLane),!0):3===t.type&&(this._startShowingAt(t.position.lineNumber,"lineNo"),!0)}_startShowingAt(e,t){(this._computer.lineNumber!==e||this._computer.lane!==t)&&(this._hoverOperation.cancel(),this.hide(),this._computer.lineNumber=e,this._computer.lane=t,this._hoverOperation.start(0))}hide(){this._computer.lineNumber=-1,this._hoverOperation.cancel(),this._isVisible&&(this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible))}_withResult(e){this._messages=e,this._messages.length>0?this._renderMessages(this._computer.lineNumber,this._messages):this.hide()}_renderMessages(e,t){this._renderDisposeables.clear();let i=document.createDocumentFragment();for(let e of t){let t=q("div.hover-row.markdown-hover"),n=c.R3(t,q("div.hover-contents")),s=this._renderDisposeables.add(this._markdownRenderer.render(e.value));n.appendChild(s.element),i.appendChild(t)}this._updateContents(i),this._showAt(e)}_updateContents(e){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(e),this._updateFont()}_showAt(e){this._isVisible||(this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible));let t=this._editor.getLayoutInfo(),i=this._editor.getTopForLineNumber(e),n=this._editor.getScrollTop(),s=this._editor.getOption(67),o=this._hover.containerDomNode.clientHeight,r=t.glyphMarginLeft+t.glyphMarginWidth+("lineNo"===this._computer.lane?t.lineNumbersWidth:0);this._hover.containerDomNode.style.left=`${r}px`,this._hover.containerDomNode.style.top=`${Math.max(Math.round(i-n-(o-s)/2),0)}px`}}j.ID="editor.contrib.modesGlyphHoverWidget";var G=function(e,t){return function(i,n){t(i,n,e)}};let Q=o=class extends l.JT{constructor(e,t,i){super(),this._editor=e,this._instantiationService=t,this._keybindingService=i,this._onHoverContentsChanged=this._register(new N.Q5),this.shouldKeepOpenOnEditorMouseMoveOrLeave=!1,this._listenersStore=new l.SL,this._hoverState={mouseDown:!1,activatedByDecoratorClick:!1},this._reactToEditorMouseMoveRunner=this._register(new u.pY(()=>this._reactToEditorMouseMove(this._mouseMoveEvent),0)),this._hookListeners(),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(60)&&(this._unhookListeners(),this._hookListeners())}))}static get(e){return e.getContribution(o.ID)}_hookListeners(){let e=this._editor.getOption(60);this._hoverSettings={enabled:e.enabled,sticky:e.sticky,hidingDelay:e.delay},e.enabled?(this._listenersStore.add(this._editor.onMouseDown(e=>this._onEditorMouseDown(e))),this._listenersStore.add(this._editor.onMouseUp(()=>this._onEditorMouseUp())),this._listenersStore.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._listenersStore.add(this._editor.onKeyDown(e=>this._onKeyDown(e)))):(this._listenersStore.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._listenersStore.add(this._editor.onKeyDown(e=>this._onKeyDown(e)))),this._listenersStore.add(this._editor.onMouseLeave(e=>this._onEditorMouseLeave(e))),this._listenersStore.add(this._editor.onDidChangeModel(()=>{this._cancelScheduler(),this._hideWidgets()})),this._listenersStore.add(this._editor.onDidChangeModelContent(()=>this._cancelScheduler())),this._listenersStore.add(this._editor.onDidScrollChange(e=>this._onEditorScrollChanged(e)))}_unhookListeners(){this._listenersStore.clear()}_cancelScheduler(){this._mouseMoveEvent=void 0,this._reactToEditorMouseMoveRunner.cancel()}_onEditorScrollChanged(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(e){this._hoverState.mouseDown=!0;let t=this._shouldNotHideCurrentHoverWidget(e);t||this._hideWidgets()}_shouldNotHideCurrentHoverWidget(e){return!!(this._isMouseOnContentHoverWidget(e)||this._isMouseOnMarginHoverWidget(e)||this._isContentWidgetResizing())}_isMouseOnMarginHoverWidget(e){let t=e.target;return!!t&&12===t.type&&t.detail===j.ID}_isMouseOnContentHoverWidget(e){let t=e.target;return!!t&&9===t.type&&t.detail===y.ID}_onEditorMouseUp(){this._hoverState.mouseDown=!1}_onEditorMouseLeave(e){if(this.shouldKeepOpenOnEditorMouseMoveOrLeave)return;this._cancelScheduler();let t=this._shouldNotHideCurrentHoverWidget(e);t||this._hideWidgets()}_shouldNotRecomputeCurrentHoverWidget(e){let t=this._hoverSettings.sticky;return!!(((e,t)=>{let i=this._isMouseOnMarginHoverWidget(e);return t&&i})(e,t)||((e,t)=>{let i=this._isMouseOnContentHoverWidget(e);return t&&i})(e,t)||(e=>{var t;let i=this._isMouseOnContentHoverWidget(e),n=null===(t=this._contentWidget)||void 0===t?void 0:t.isColorPickerVisible;return i&&n})(e)||((e,t)=>{var i,n,s,o;return t&&(null===(i=this._contentWidget)||void 0===i?void 0:i.containsNode(null===(n=e.event.browserEvent.view)||void 0===n?void 0:n.document.activeElement))&&!(null===(o=null===(s=e.event.browserEvent.view)||void 0===s?void 0:s.getSelection())||void 0===o?void 0:o.isCollapsed)})(e,t))}_onEditorMouseMove(e){var t,i,n,s;if(this.shouldKeepOpenOnEditorMouseMoveOrLeave||(this._mouseMoveEvent=e,(null===(t=this._contentWidget)||void 0===t?void 0:t.isFocused)||(null===(i=this._contentWidget)||void 0===i?void 0:i.isResizing)))return;let o=this._hoverSettings.sticky;if(o&&(null===(n=this._contentWidget)||void 0===n?void 0:n.isVisibleFromKeyboard))return;let r=this._shouldNotRecomputeCurrentHoverWidget(e);if(r){this._reactToEditorMouseMoveRunner.cancel();return}let l=this._hoverSettings.hidingDelay,a=null===(s=this._contentWidget)||void 0===s?void 0:s.isVisible,d=a&&o&&l>0;if(d){this._reactToEditorMouseMoveRunner.isScheduled()||this._reactToEditorMouseMoveRunner.schedule(l);return}this._reactToEditorMouseMove(e)}_reactToEditorMouseMove(e){var t;if(!e)return;let i=e.target,n=null===(t=i.element)||void 0===t?void 0:t.classList.contains("colorpicker-color-decoration"),s=this._editor.getOption(148),o=this._hoverSettings.enabled,r=this._hoverState.activatedByDecoratorClick;if(n&&("click"===s&&!r||"hover"===s&&!o||"clickAndHover"===s&&!o&&!r)||!n&&!o&&!r){this._hideWidgets();return}let l=this._tryShowHoverWidget(e,0);if(l)return;let a=this._tryShowHoverWidget(e,1);a||this._hideWidgets()}_tryShowHoverWidget(e,t){let i,n;let s=this._getOrCreateContentWidget(),o=this._getOrCreateGlyphWidget();switch(t){case 0:i=s,n=o;break;case 1:i=o,n=s;break;default:throw Error(`HoverWidgetType ${t} is unrecognized`)}let r=i.showsOrWillShow(e);return r&&n.hide(),r}_onKeyDown(e){var t;if(!this._editor.hasModel())return;let i=this._keybindingService.softDispatch(e,this._editor.getDomNode()),n=1===i.kind||2===i.kind&&(i.commandId===r.s9||i.commandId===r.Gd||i.commandId===r.m)&&(null===(t=this._contentWidget)||void 0===t?void 0:t.isVisible);5===e.keyCode||6===e.keyCode||57===e.keyCode||4===e.keyCode||n||this._hideWidgets()}_hideWidgets(){var e,t,i;this._hoverState.mouseDown&&null!==(e=this._contentWidget)&&void 0!==e&&e.isColorPickerVisible||d.QG.dropDownVisible||(this._hoverState.activatedByDecoratorClick=!1,null===(t=this._glyphWidget)||void 0===t||t.hide(),null===(i=this._contentWidget)||void 0===i||i.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance(V,this._editor),this._listenersStore.add(this._contentWidget.onContentsChanged(()=>this._onHoverContentsChanged.fire()))),this._contentWidget}_getOrCreateGlyphWidget(){return this._glyphWidget||(this._glyphWidget=this._instantiationService.createInstance(j,this._editor)),this._glyphWidget}showContentHover(e,t,i,n,s=!1){this._hoverState.activatedByDecoratorClick=s,this._getOrCreateContentWidget().startShowingAtRange(e,t,i,n)}_isContentWidgetResizing(){var e;return(null===(e=this._contentWidget)||void 0===e?void 0:e.widget.isResizing)||!1}markdownHoverContentAtIndex(e){return this._getOrCreateContentWidget().markdownHoverContentAtIndex(e)}doesMarkdownHoverAtIndexSupportVerbosityAction(e,t){return this._getOrCreateContentWidget().doesMarkdownHoverAtIndexSupportVerbosityAction(e,t)}updateMarkdownHoverVerbosityLevel(e,t,i){this._getOrCreateContentWidget().updateMarkdownHoverVerbosityLevel(e,t,i)}focus(){var e;null===(e=this._contentWidget)||void 0===e||e.focus()}scrollUp(){var e;null===(e=this._contentWidget)||void 0===e||e.scrollUp()}scrollDown(){var e;null===(e=this._contentWidget)||void 0===e||e.scrollDown()}scrollLeft(){var e;null===(e=this._contentWidget)||void 0===e||e.scrollLeft()}scrollRight(){var e;null===(e=this._contentWidget)||void 0===e||e.scrollRight()}pageUp(){var e;null===(e=this._contentWidget)||void 0===e||e.pageUp()}pageDown(){var e;null===(e=this._contentWidget)||void 0===e||e.pageDown()}goToTop(){var e;null===(e=this._contentWidget)||void 0===e||e.goToTop()}goToBottom(){var e;null===(e=this._contentWidget)||void 0===e||e.goToBottom()}get isColorPickerVisible(){var e;return null===(e=this._contentWidget)||void 0===e?void 0:e.isColorPickerVisible}get isHoverVisible(){var e;return null===(e=this._contentWidget)||void 0===e?void 0:e.isVisible}dispose(){var e,t;super.dispose(),this._unhookListeners(),this._listenersStore.dispose(),null===(e=this._glyphWidget)||void 0===e||e.dispose(),null===(t=this._contentWidget)||void 0===t||t.dispose()}};Q.ID="editor.contrib.hover",Q=o=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([G(1,a.TG),G(2,h.d)],Q)},9411:function(e,t,i){"use strict";i.d(t,{Ae:function(){return o},Qj:function(){return n},YM:function(){return s}});class n{constructor(e,t,i,n){this.priority=e,this.range=t,this.initialMousePosX=i,this.initialMousePosY=n,this.type=1}equals(e){return 1===e.type&&this.range.equalsRange(e.range)}canAdoptVisibleHover(e,t){return 1===e.type&&t.lineNumber===this.range.startLineNumber}}class s{constructor(e,t,i,n,s,o){this.priority=e,this.owner=t,this.range=i,this.initialMousePosX=n,this.initialMousePosY=s,this.supportsMarkerHover=o,this.type=2}equals(e){return 2===e.type&&this.owner===e.owner}canAdoptVisibleHover(e,t){return 2===e.type&&this.owner===e.owner}}let o=new class{constructor(){this._participants=[]}register(e){this._participants.push(e)}getAll(){return this._participants}}},92551:function(e,t,i){"use strict";i.d(t,{D5:function(){return M},c:function(){return A},hU:function(){return I}});var n=i(81845),s=i(40789),o=i(9424),r=i(42891),l=i(70784),a=i(77585),d=i(42820),h=i(70209),u=i(77233),c=i(82801),g=i(78426),p=i(45902),m=i(64106),f=i(1863),_=i(79939),v=i(47039),b=i(29527),C=i(32378),w=i(46417),y=i(38862),S=i(96748),L=i(44532),k=i(15320),D=function(e,t){return function(i,n){t(i,n,e)}};let x=n.$,N=(0,_.q5)("hover-increase-verbosity",v.l.add,c.NC("increaseHoverVerbosity","Icon for increaseing hover verbosity.")),E=(0,_.q5)("hover-decrease-verbosity",v.l.remove,c.NC("decreaseHoverVerbosity","Icon for decreasing hover verbosity."));class I{constructor(e,t,i,n,s,o){this.owner=e,this.range=t,this.contents=i,this.isBeforeContent=n,this.ordinal=s,this.source=o}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}class T{constructor(e,t,i){this.hover=e,this.hoverProvider=t,this.hoverPosition=i}supportsVerbosityAction(e){var t,i;switch(e){case f.bq.Increase:return null!==(t=this.hover.canIncreaseVerbosity)&&void 0!==t&&t;case f.bq.Decrease:return null!==(i=this.hover.canDecreaseVerbosity)&&void 0!==i&&i}}}let M=class{constructor(e,t,i,n,s,o,r){this._editor=e,this._languageService=t,this._openerService=i,this._configurationService=n,this._languageFeaturesService=s,this._keybindingService=o,this._hoverService=r,this.hoverOrdinal=3}createLoadingMessage(e){return new I(this,e.range,[new r.W5().appendText(c.NC("modesContentHover.loading","Loading..."))],!1,2e3)}computeSync(e,t){if(!this._editor.hasModel()||1!==e.type)return[];let i=this._editor.getModel(),n=e.range.startLineNumber,o=i.getLineMaxColumn(n),l=[],a=1e3,d=i.getLineLength(n),u=i.getLanguageIdAtPosition(e.range.startLineNumber,e.range.startColumn),g=this._editor.getOption(117),p=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:u}),m=!1;g>=0&&d>g&&e.range.startColumn>=g&&(m=!0,l.push(new I(this,e.range,[{value:c.NC("stopped rendering","Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.")}],!1,a++))),!m&&"number"==typeof p&&d>=p&&l.push(new I(this,e.range,[{value:c.NC("too many characters","Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")}],!1,a++));let f=!1;for(let i of t){let t=i.range.startLineNumber===n?i.range.startColumn:1,d=i.range.endLineNumber===n?i.range.endColumn:o,u=i.options.hoverMessage;if(!u||(0,r.CP)(u))continue;i.options.beforeContentClassName&&(f=!0);let c=new h.e(e.range.startLineNumber,t,e.range.startLineNumber,d);l.push(new I(this,c,(0,s._2)(u),f,a++))}return l}computeAsync(e,t,i){if(!this._editor.hasModel()||1!==e.type)return L.Aq.EMPTY;let n=this._editor.getModel(),s=this._languageFeaturesService.hoverProvider;if(!s.has(n))return L.Aq.EMPTY;let o=this._getMarkdownHovers(s,n,e,i);return o}_getMarkdownHovers(e,t,i,n){let s=i.range.getStartPosition(),o=(0,k.OP)(e,t,s,n),l=o.filter(e=>!(0,r.CP)(e.hover.contents)).map(e=>{let t=e.hover.range?h.e.lift(e.hover.range):i.range,n=new T(e.hover,e.provider,s);return new I(this,t,e.hover.contents,!1,e.ordinal,n)});return l}renderHoverParts(e,t){return this._renderedHoverParts=new R(t,e.fragment,this._editor,this._languageService,this._openerService,this._keybindingService,this._hoverService,this._configurationService,e.onContentsChanged),this._renderedHoverParts}markdownHoverContentAtIndex(e){var t,i;return null!==(i=null===(t=this._renderedHoverParts)||void 0===t?void 0:t.markdownHoverContentAtIndex(e))&&void 0!==i?i:""}doesMarkdownHoverAtIndexSupportVerbosityAction(e,t){var i,n;return null!==(n=null===(i=this._renderedHoverParts)||void 0===i?void 0:i.doesMarkdownHoverAtIndexSupportVerbosityAction(e,t))&&void 0!==n&&n}updateMarkdownHoverVerbosityLevel(e,t,i){var n;null===(n=this._renderedHoverParts)||void 0===n||n.updateMarkdownHoverPartVerbosityLevel(e,t,i)}};M=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([D(1,u.O),D(2,p.v),D(3,g.Ui),D(4,m.p),D(5,w.d),D(6,S.Bs)],M);class R extends l.JT{constructor(e,t,i,n,s,o,r,a,d){super(),this._editor=i,this._languageService=n,this._openerService=s,this._keybindingService=o,this._hoverService=r,this._configurationService=a,this._onFinishedRendering=d,this._focusedHoverPartIndex=-1,this._ongoingHoverOperations=new Map,this._renderedHoverParts=this._renderHoverParts(e,t,this._onFinishedRendering),this._register((0,l.OF)(()=>{this._renderedHoverParts.forEach(e=>{e.disposables.dispose()})})),this._register((0,l.OF)(()=>{this._ongoingHoverOperations.forEach(e=>{e.tokenSource.dispose(!0)})}))}_renderHoverParts(e,t,i){return e.sort((0,s.tT)(e=>e.ordinal,s.fv)),e.map((e,n)=>{let s=this._renderHoverPart(n,e.contents,e.source,i);return t.appendChild(s.renderedMarkdown),s})}_renderHoverPart(e,t,i,s){let{renderedMarkdown:o,disposables:r}=this._renderMarkdownContent(t,s);if(!i)return{renderedMarkdown:o,disposables:r};let l=i.supportsVerbosityAction(f.bq.Increase),a=i.supportsVerbosityAction(f.bq.Decrease);if(!l&&!a)return{renderedMarkdown:o,disposables:r,hoverSource:i};let d=x("div.verbosity-actions");return o.prepend(d),r.add(this._renderHoverExpansionAction(d,f.bq.Increase,l)),r.add(this._renderHoverExpansionAction(d,f.bq.Decrease,a)),this._register(n.nm(o,n.tw.FOCUS_IN,t=>{t.stopPropagation(),this._focusedHoverPartIndex=e})),this._register(n.nm(o,n.tw.FOCUS_OUT,e=>{e.stopPropagation(),this._focusedHoverPartIndex=-1})),{renderedMarkdown:o,disposables:r,hoverSource:i}}_renderMarkdownContent(e,t){let i=x("div.hover-row");i.tabIndex=0;let n=x("div.hover-row-contents");i.appendChild(n);let s=new l.SL;return s.add(P(this._editor,n,e,this._languageService,this._openerService,t)),{renderedMarkdown:i,disposables:s}}_renderHoverExpansionAction(e,t,i){let s=new l.SL,o=t===f.bq.Increase,r=n.R3(e,x(b.k.asCSSSelector(o?N:E)));r.tabIndex=0;let a=new S.mQ("mouse",!1,{target:e,position:{hoverPosition:0}},this._configurationService,this._hoverService);if(s.add(this._hoverService.setupUpdatableHover(a,r,function(e,t){switch(t){case f.bq.Increase:{let t=e.lookupKeybinding(d.Gd);return t?c.NC("increaseVerbosityWithKb","Increase Hover Verbosity ({0})",t.getLabel()):c.NC("increaseVerbosity","Increase Hover Verbosity")}case f.bq.Decrease:{let t=e.lookupKeybinding(d.m);return t?c.NC("decreaseVerbosityWithKb","Decrease Hover Verbosity ({0})",t.getLabel()):c.NC("decreaseVerbosity","Decrease Hover Verbosity")}}}(this._keybindingService,t))),!i)return r.classList.add("disabled"),s;r.classList.add("enabled");let h=()=>this.updateMarkdownHoverPartVerbosityLevel(t);return s.add(new y.R0(r,h)),s.add(new y.rb(r,h,[3,10])),s}async updateMarkdownHoverPartVerbosityLevel(e,t=-1,i=!0){var n;let s=this._editor.getModel();if(!s)return;let o=-1!==t?t:this._focusedHoverPartIndex,r=this._getRenderedHoverPartAtIndex(o);if(!r||!(null===(n=r.hoverSource)||void 0===n?void 0:n.supportsVerbosityAction(e)))return;let l=r.hoverSource,a=await this._fetchHover(l,s,e);if(!a)return;let d=new T(a,l.hoverProvider,l.hoverPosition),h=this._renderHoverPart(o,a.contents,d,this._onFinishedRendering);this._replaceRenderedHoverPartAtIndex(o,h),i&&this._focusOnHoverPartWithIndex(o),this._onFinishedRendering()}markdownHoverContentAtIndex(e){var t;let i=this._getRenderedHoverPartAtIndex(e);return null!==(t=null==i?void 0:i.renderedMarkdown.innerText)&&void 0!==t?t:""}doesMarkdownHoverAtIndexSupportVerbosityAction(e,t){var i;let n=this._getRenderedHoverPartAtIndex(e);return!!(n&&(null===(i=n.hoverSource)||void 0===i?void 0:i.supportsVerbosityAction(t)))}async _fetchHover(e,t,i){let n,s=i===f.bq.Increase?1:-1,r=e.hoverProvider,l=this._ongoingHoverOperations.get(r);l&&(l.tokenSource.cancel(),s+=l.verbosityDelta);let a=new o.AU;this._ongoingHoverOperations.set(r,{verbosityDelta:s,tokenSource:a});let d={verbosityRequest:{verbosityDelta:s,previousHover:e.hover}};try{n=await Promise.resolve(r.provideHover(t,e.hoverPosition,a.token,d))}catch(e){(0,C.Cp)(e)}return a.dispose(),this._ongoingHoverOperations.delete(r),n}_replaceRenderedHoverPartAtIndex(e,t){if(e>=this._renderHoverParts.length||e<0)return;let i=this._renderedHoverParts[e],n=i.renderedMarkdown;n.replaceWith(t.renderedMarkdown),i.disposables.dispose(),this._renderedHoverParts[e]=t}_focusOnHoverPartWithIndex(e){this._renderedHoverParts[e].renderedMarkdown.focus()}_getRenderedHoverPartAtIndex(e){return this._renderedHoverParts[e]}}function A(e,t,i,n,o){t.sort((0,s.tT)(e=>e.ordinal,s.fv));let r=new l.SL;for(let s of t)r.add(P(i,e.fragment,s.contents,n,o,e.onContentsChanged));return r}function P(e,t,i,s,o,d){let h=new l.SL;for(let l of i){if((0,r.CP)(l))continue;let i=x("div.markdown-hover"),u=n.R3(i,x("div.hover-contents")),c=h.add(new a.$({editor:e},s,o));h.add(c.onDidRenderAsync(()=>{u.className="hover-contents code-hover-contents",d()}));let g=h.add(c.render(l));u.appendChild(g.element),t.appendChild(i)}return h}},39987:function(e,t,i){"use strict";var n,s,o=i(44532),r=i(32378),l=i(71141),a=i(82508),d=i(70209),h=i(84781),u=i(73440),c=i(66629),g=i(87999),p=i(82801);class m{constructor(e,t,i){this._editRange=e,this._originalSelection=t,this._text=i}getEditOperations(e,t){t.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),n=i[0].range;return this._originalSelection.isEmpty()?new h.Y(n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn),n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn)):new h.Y(n.endLineNumber,n.endColumn-this._text.length,n.endLineNumber,n.endColumn)}}i(9983);let f=s=class{static get(e){return e.getContribution(s.ID)}constructor(e,t){this.editor=e,this.editorWorkerService=t,this.decorations=this.editor.createDecorationsCollection()}dispose(){}run(e,t){var i;null===(i=this.currentRequest)||void 0===i||i.cancel();let n=this.editor.getSelection(),a=this.editor.getModel();if(!a||!n)return;let u=n;if(u.startLineNumber!==u.endLineNumber)return;let c=new l.yy(this.editor,5),g=a.uri;return this.editorWorkerService.canNavigateValueSet(g)?(this.currentRequest=(0,o.PG)(e=>this.editorWorkerService.navigateValueSet(g,u,t)),this.currentRequest.then(t=>{var i;if(!t||!t.range||!t.value||!c.validate(this.editor))return;let n=d.e.lift(t.range),l=t.range,a=t.value.length-(u.endColumn-u.startColumn);l={startLineNumber:l.startLineNumber,startColumn:l.startColumn,endLineNumber:l.endLineNumber,endColumn:l.startColumn+t.value.length},a>1&&(u=new h.Y(u.startLineNumber,u.startColumn,u.endLineNumber,u.endColumn+a-1));let g=new m(n,u,t.value);this.editor.pushUndoStop(),this.editor.executeCommand(e,g),this.editor.pushUndoStop(),this.decorations.set([{range:l,options:s.DECORATION}]),null===(i=this.decorationRemover)||void 0===i||i.cancel(),this.decorationRemover=(0,o.Vs)(350),this.decorationRemover.then(()=>this.decorations.clear()).catch(r.dL)}).catch(r.dL)):Promise.resolve(void 0)}};f.ID="editor.contrib.inPlaceReplaceController",f.DECORATION=c.qx.register({description:"in-place-replace",className:"valueSetReplacement"}),f=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=g.p,function(e,t){n(e,t,1)})],f);class _ extends a.R6{constructor(){super({id:"editor.action.inPlaceReplace.up",label:p.NC("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:u.u.writable,kbOpts:{kbExpr:u.u.editorTextFocus,primary:3159,weight:100}})}run(e,t){let i=f.get(t);return i?i.run(this.id,!1):Promise.resolve(void 0)}}class v extends a.R6{constructor(){super({id:"editor.action.inPlaceReplace.down",label:p.NC("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:u.u.writable,kbOpts:{kbExpr:u.u.editorTextFocus,primary:3161,weight:100}})}run(e,t){let i=f.get(t);return i?i.run(this.id,!0):Promise.resolve(void 0)}}(0,a._K)(f.ID,f,4),(0,a.Qr)(_),(0,a.Qr)(v)},46912:function(e,t,i){"use strict";var n,s=i(70784),o=i(95612),r=i(82508),l=i(2021),a=i(70209),d=i(73440),h=i(32712),u=i(98334),c=i(71363),g=i(82801),p=i(33353),m=i(68295),f=i(26318),_=i(50474),v=i(84781),b=i(29063);function C(e,t,i,n){if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return[];let s=t.getLanguageConfiguration(e.getLanguageId()).indentRulesSupport;if(!s)return[];let r=new b.sW(e,s,t);for(n=Math.min(n,e.getLineCount());i<=n&&r.shouldIgnore(i);)i++;if(i>n-1)return[];let{tabSize:a,indentSize:d,insertSpaces:h}=e.getOptions(),u=(e,t)=>(t=t||1,l.U.shiftIndent(e,e.length+t,a,d,h)),c=(e,t)=>(t=t||1,l.U.unshiftIndent(e,e.length+t,a,d,h)),g=[],p=e.getLineContent(i),m=o.V8(p),C=m;r.shouldIncrease(i)?(C=u(C),m=u(m)):r.shouldIndentNextLine(i)&&(C=u(C)),i++;for(let t=i;t<=n;t++){if(function(e,t){if(!e.tokenization.isCheapToTokenize(t))return!1;let i=e.tokenization.getLineTokens(t);return 2===i.getStandardTokenType(0)}(e,t))continue;let i=e.getLineContent(t),n=o.V8(i),s=C;r.shouldDecrease(t,s)&&(C=c(C),m=c(m)),n!==C&&g.push(f.h.replaceMove(new v.Y(t,1,t,n.length+1),(0,_.x)(C,d,h))),r.shouldIgnore(t)||(C=r.shouldIncrease(t,s)?m=u(m):r.shouldIndentNextLine(t,s)?u(C):m)}return g}var w=i(94458);class y extends r.R6{constructor(){super({id:y.ID,label:g.NC("indentationToSpaces","Convert Indentation to Spaces"),alias:"Convert Indentation to Spaces",precondition:d.u.writable,metadata:{description:g.vv("indentationToSpacesDescription","Convert the tab indentation to spaces.")}})}run(e,t){let i=t.getModel();if(!i)return;let n=i.getOptions(),s=t.getSelection();if(!s)return;let o=new A(s,n.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[o]),t.pushUndoStop(),i.updateOptions({insertSpaces:!0})}}y.ID="editor.action.indentationToSpaces";class S extends r.R6{constructor(){super({id:S.ID,label:g.NC("indentationToTabs","Convert Indentation to Tabs"),alias:"Convert Indentation to Tabs",precondition:d.u.writable,metadata:{description:g.vv("indentationToTabsDescription","Convert the spaces indentation to tabs.")}})}run(e,t){let i=t.getModel();if(!i)return;let n=i.getOptions(),s=t.getSelection();if(!s)return;let o=new P(s,n.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[o]),t.pushUndoStop(),i.updateOptions({insertSpaces:!1})}}S.ID="editor.action.indentationToTabs";class L extends r.R6{constructor(e,t,i){super(i),this.insertSpaces=e,this.displaySizeOnly=t}run(e,t){let i=e.get(p.eJ),n=e.get(u.q),s=t.getModel();if(!s)return;let o=n.getCreationOptions(s.getLanguageId(),s.uri,s.isForSimpleWidget),r=s.getOptions(),l=[1,2,3,4,5,6,7,8].map(e=>({id:e.toString(),label:e.toString(),description:e===o.tabSize&&e===r.tabSize?g.NC("configuredTabSize","Configured Tab Size"):e===o.tabSize?g.NC("defaultTabSize","Default Tab Size"):e===r.tabSize?g.NC("currentTabSize","Current Tab Size"):void 0})),a=Math.min(s.getOptions().tabSize-1,7);setTimeout(()=>{i.pick(l,{placeHolder:g.NC({key:"selectTabWidth",comment:["Tab corresponds to the tab key"]},"Select Tab Size for Current File"),activeItem:l[a]}).then(e=>{if(e&&s&&!s.isDisposed()){let t=parseInt(e.label,10);this.displaySizeOnly?s.updateOptions({tabSize:t}):s.updateOptions({tabSize:t,indentSize:t,insertSpaces:this.insertSpaces})}})},50)}}class k extends L{constructor(){super(!1,!1,{id:k.ID,label:g.NC("indentUsingTabs","Indent Using Tabs"),alias:"Indent Using Tabs",precondition:void 0,metadata:{description:g.vv("indentUsingTabsDescription","Use indentation with tabs.")}})}}k.ID="editor.action.indentUsingTabs";class D extends L{constructor(){super(!0,!1,{id:D.ID,label:g.NC("indentUsingSpaces","Indent Using Spaces"),alias:"Indent Using Spaces",precondition:void 0,metadata:{description:g.vv("indentUsingSpacesDescription","Use indentation with spaces.")}})}}D.ID="editor.action.indentUsingSpaces";class x extends L{constructor(){super(!0,!0,{id:x.ID,label:g.NC("changeTabDisplaySize","Change Tab Display Size"),alias:"Change Tab Display Size",precondition:void 0,metadata:{description:g.vv("changeTabDisplaySizeDescription","Change the space size equivalent of the tab.")}})}}x.ID="editor.action.changeTabDisplaySize";class N extends r.R6{constructor(){super({id:N.ID,label:g.NC("detectIndentation","Detect Indentation from Content"),alias:"Detect Indentation from Content",precondition:void 0,metadata:{description:g.vv("detectIndentationDescription","Detect the indentation from content.")}})}run(e,t){let i=e.get(u.q),n=t.getModel();if(!n)return;let s=i.getCreationOptions(n.getLanguageId(),n.uri,n.isForSimpleWidget);n.detectIndentation(s.insertSpaces,s.tabSize)}}N.ID="editor.action.detectIndentation";class E extends r.R6{constructor(){super({id:"editor.action.reindentlines",label:g.NC("editor.reindentlines","Reindent Lines"),alias:"Reindent Lines",precondition:d.u.writable,metadata:{description:g.vv("editor.reindentlinesDescription","Reindent the lines of the editor.")}})}run(e,t){let i=e.get(h.c_),n=t.getModel();if(!n)return;let s=C(n,i,1,n.getLineCount());s.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,s),t.pushUndoStop())}}class I extends r.R6{constructor(){super({id:"editor.action.reindentselectedlines",label:g.NC("editor.reindentselectedlines","Reindent Selected Lines"),alias:"Reindent Selected Lines",precondition:d.u.writable,metadata:{description:g.vv("editor.reindentselectedlinesDescription","Reindent the selected lines of the editor.")}})}run(e,t){let i=e.get(h.c_),n=t.getModel();if(!n)return;let s=t.getSelections();if(null===s)return;let o=[];for(let e of s){let t=e.startLineNumber,s=e.endLineNumber;if(t!==s&&1===e.endColumn&&s--,1===t){if(t===s)continue}else t--;let r=C(n,i,t,s);o.push(...r)}o.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,o),t.pushUndoStop())}}class T{constructor(e,t){for(let i of(this._initialSelection=t,this._edits=[],this._selectionId=null,e))i.range&&"string"==typeof i.text&&this._edits.push(i)}getEditOperations(e,t){for(let e of this._edits)t.addEditOperation(a.e.lift(e.range),e.text);let i=!1;Array.isArray(this._edits)&&1===this._edits.length&&this._initialSelection.isEmpty()&&(this._edits[0].range.startColumn===this._initialSelection.endColumn&&this._edits[0].range.startLineNumber===this._initialSelection.endLineNumber?(i=!0,this._selectionId=t.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(i=!0,this._selectionId=t.trackSelection(this._initialSelection,!1))),i||(this._selectionId=t.trackSelection(this._initialSelection))}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}let M=class{constructor(e,t){this.editor=e,this._languageConfigurationService=t,this.callOnDispose=new s.SL,this.callOnModel=new s.SL,this.callOnDispose.add(e.onDidChangeConfiguration(()=>this.update())),this.callOnDispose.add(e.onDidChangeModel(()=>this.update())),this.callOnDispose.add(e.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),!(4>this.editor.getOption(12)||this.editor.getOption(55))&&this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:e})=>{this.trigger(e)}))}trigger(e){let t=this.editor.getSelections();if(null===t||t.length>1)return;let i=this.editor.getModel();if(!i||function(e,t){let i=t=>{let i=(0,w.e)(e,t);return 2===i};return i(t.getStartPosition())||i(t.getEndPosition())}(i,e)||!i.tokenization.isCheapToTokenize(e.getStartPosition().lineNumber))return;let n=this.editor.getOption(12),{tabSize:s,indentSize:r,insertSpaces:d}=i.getOptions(),h=[],u={shiftIndent:e=>l.U.shiftIndent(e,e.length+1,s,r,d),unshiftIndent:e=>l.U.unshiftIndent(e,e.length+1,s,r,d)},g=e.startLineNumber;for(;g<=e.endLineNumber;){if(this.shouldIgnoreLine(i,g)){g++;continue}break}if(g>e.endLineNumber)return;let p=i.getLineContent(g);if(!/\S/.test(p.substring(0,e.startColumn-1))){let e=(0,m.n8)(n,i,i.getLanguageId(),g,u,this._languageConfigurationService);if(null!==e){let t=o.V8(p),n=c.Y(e,s),r=c.Y(t,s);if(n!==r){let e=c.J(n,s,d);h.push({range:new a.e(g,1,g,t.length+1),text:e}),p=e+p.substr(t.length)}else{let e=(0,m.tI)(i,g,this._languageConfigurationService);if(0===e||8===e)return}}}let f=g;for(;gi.tokenization.getLineTokens(e),getLanguageId:()=>i.getLanguageId(),getLanguageIdAtPosition:(e,t)=>i.getLanguageIdAtPosition(e,t)},getLineContent:e=>e===f?p:i.getLineContent(e)},i.getLanguageId(),g+1,u,this._languageConfigurationService);if(null!==t){let n=c.Y(t,s),r=c.Y(o.V8(i.getLineContent(g+1)),s);if(n!==r){let t=n-r;for(let n=g+1;n<=e.endLineNumber;n++){let e=i.getLineContent(n),r=o.V8(e),l=c.Y(r,s),u=l+t,g=c.J(u,s,d);g!==r&&h.push({range:new a.e(n,1,n,r.length+1),text:g})}}}}if(h.length>0){this.editor.pushUndoStop();let e=new T(h,this.editor.getSelection());this.editor.executeCommand("autoIndentOnPaste",e),this.editor.pushUndoStop()}}shouldIgnoreLine(e,t){e.tokenization.forceTokenization(t);let i=e.getLineFirstNonWhitespaceColumn(t);if(0===i)return!0;let n=e.tokenization.getLineTokens(t);if(n.getCount()>0){let e=n.findTokenIndexAtOffset(i);if(e>=0&&1===n.getStandardTokenType(e))return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}};function R(e,t,i,n){if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return;let s="";for(let e=0;e=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=h.c_,function(e,t){n(e,t,1)})],M);class A{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),R(e,t,this.tabSize,!0)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}class P{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),R(e,t,this.tabSize,!1)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}(0,r._K)(M.ID,M,2),(0,r.Qr)(y),(0,r.Qr)(S),(0,r.Qr)(k),(0,r.Qr)(D),(0,r.Qr)(x),(0,r.Qr)(N),(0,r.Qr)(E),(0,r.Qr)(I)},71363:function(e,t,i){"use strict";function n(e,t){let i=0;for(let n=0;nthis._currentResolve=void 0)),await this._currentResolve}}async _doResolve(e){var t,i,s;try{let n=await Promise.resolve(this.provider.resolveInlayHint(this.hint,e));this.hint.tooltip=null!==(t=null==n?void 0:n.tooltip)&&void 0!==t?t:this.hint.tooltip,this.hint.label=null!==(i=null==n?void 0:n.label)&&void 0!==i?i:this.hint.label,this.hint.textEdits=null!==(s=null==n?void 0:n.textEdits)&&void 0!==s?s:this.hint.textEdits,this._isResolved=!0}catch(e){(0,n.Cp)(e),this._isResolved=!1}}}class u{static async create(e,t,i,s){let o=[],r=e.ordered(t).reverse().map(e=>i.map(async i=>{try{let n=await e.provideInlayHints(t,i,s);((null==n?void 0:n.hints.length)||e.onDidChangeInlayHints)&&o.push([null!=n?n:u._emptyInlayHintList,e])}catch(e){(0,n.Cp)(e)}}));if(await Promise.all(r.flat()),s.isCancellationRequested||t.isDisposed())throw new n.FU;return new u(i,o,t)}constructor(e,t,i){this._disposables=new s.SL,this.ranges=e,this.provider=new Set;let n=[];for(let[e,s]of t)for(let t of(this._disposables.add(e),this.provider.add(s),e.hints)){let e;let o=i.validatePosition(t.position),l="before",a=u._getRangeAtPosition(i,o);a.getStartPosition().isBefore(o)?(e=r.e.fromPositions(a.getStartPosition(),o),l="after"):(e=r.e.fromPositions(o,a.getEndPosition()),l="before"),n.push(new h(t,new d(e,l),s))}this.items=n.sort((e,t)=>o.L.compare(e.hint.position,t.hint.position))}dispose(){this._disposables.dispose()}static _getRangeAtPosition(e,t){let i=t.lineNumber,n=e.getWordAtPosition(t);if(n)return new r.e(i,n.startColumn,i,n.endColumn);e.tokenization.tokenizeIfCheap(i);let s=e.tokenization.getLineTokens(i),o=t.column-1,l=s.findTokenIndexAtOffset(o),a=s.getStartOffset(l),d=s.getEndOffset(l);return d-a==1&&(a===o&&l>1?(a=s.getStartOffset(l-1),d=s.getEndOffset(l-1)):d===o&&lthis._update())),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(e=>{e.hasChanged(141)&&this._update()})),this._update()}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){let e;this._sessionDisposables.clear(),this._removeAllDecorations();let t=this._editor.getOption(141);if("off"===t.enabled)return;let i=this._editor.getModel();if(!i||!this._languageFeaturesService.inlayHintsProvider.has(i))return;if("on"===t.enabled)this._activeRenderMode=0;else{let e,i;"onUnlessPressed"===t.enabled?(e=0,i=1):(e=1,i=0),this._activeRenderMode=e,this._sessionDisposables.add(s._q.getInstance().event(t=>{if(!this._editor.hasModel())return;let n=t.altKey&&t.ctrlKey&&!(t.shiftKey||t.metaKey)?i:e;if(n!==this._activeRenderMode){this._activeRenderMode=n;let e=this._editor.getModel(),t=this._copyInlayHintsWithCurrentAnchor(e);this._updateHintsDecorators([e.getFullModelRange()],t),h.schedule(0)}}))}let n=this._inlayHintsCache.get(i);n&&this._updateHintsDecorators([i.getFullModelRange()],n),this._sessionDisposables.add((0,d.OF)(()=>{i.isDisposed()||this._cacheHintsForFastRestore(i)}));let o=new Set,h=new r.pY(async()=>{let t=Date.now();null==e||e.dispose(!0),e=new l.AU;let n=i.onWillDispose(()=>null==e?void 0:e.cancel());try{let n=e.token,s=await k.Q3.create(this._languageFeaturesService.inlayHintsProvider,i,this._getHintsRanges(),n);if(h.delay=this._debounceInfo.update(i,Date.now()-t),n.isCancellationRequested){s.dispose();return}for(let e of s.provider)"function"!=typeof e.onDidChangeInlayHints||o.has(e)||(o.add(e),this._sessionDisposables.add(e.onDidChangeInlayHints(()=>{h.isScheduled()||h.schedule()})));this._sessionDisposables.add(s),this._updateHintsDecorators(s.ranges,s.items),this._cacheHintsForFastRestore(i)}catch(e){(0,a.dL)(e)}finally{e.dispose(),n.dispose()}},this._debounceInfo.get(i));this._sessionDisposables.add(h),this._sessionDisposables.add((0,d.OF)(()=>null==e?void 0:e.dispose(!0))),h.schedule(0),this._sessionDisposables.add(this._editor.onDidScrollChange(e=>{(e.scrollTopChanged||!h.isScheduled())&&h.schedule()})),this._sessionDisposables.add(this._editor.onDidChangeModelContent(t=>{null==e||e.cancel();let i=Math.max(h.delay,1250);h.schedule(i)})),this._sessionDisposables.add(this._installDblClickGesture(()=>h.schedule(0))),this._sessionDisposables.add(this._installLinkGesture()),this._sessionDisposables.add(this._installContextMenu())}_installLinkGesture(){let e=new d.SL,t=e.add(new L.yN(this._editor)),i=new d.SL;return e.add(i),e.add(t.onMouseMoveOrRelevantKeyDown(e=>{let[t]=e,n=this._getInlayHintLabelPart(t),s=this._editor.getModel();if(!n||!s){i.clear();return}let o=new l.AU;i.add((0,d.OF)(()=>o.dispose(!0))),n.item.resolve(o.token),this._activeInlayHintPart=n.part.command||n.part.location?new F(n,t.hasTriggerModifier):void 0;let r=s.validatePosition(n.item.hint.position).lineNumber,a=new _.e(r,1,r,s.getLineMaxColumn(r)),h=this._getInlineHintsForRange(a);this._updateHintsDecorators([a],h),i.add((0,d.OF)(()=>{this._activeInlayHintPart=void 0,this._updateHintsDecorators([a],h)}))})),e.add(t.onCancel(()=>i.clear())),e.add(t.onExecute(async e=>{let t=this._getInlayHintLabelPart(e);if(t){let i=t.part;i.location?this._instaService.invokeFunction(D.K,e,this._editor,i.location):v.mY.is(i.command)&&await this._invokeCommand(i.command,t.item)}})),e}_getInlineHintsForRange(e){let t=new Set;for(let i of this._decorationsMetadata.values())e.containsRange(i.item.anchor.range)&&t.add(i.item);return Array.from(t)}_installDblClickGesture(e){return this._editor.onMouseUp(async t=>{if(2!==t.event.detail)return;let i=this._getInlayHintLabelPart(t);if(i&&(t.event.preventDefault(),await i.item.resolve(l.Ts.None),(0,o.Of)(i.item.hint.textEdits))){let t=i.item.hint.textEdits.map(e=>f.h.replace(_.e.lift(e.range),e.text));this._editor.executeEdits("inlayHint.default",t),e()}})}_installContextMenu(){return this._editor.onContextMenu(async e=>{if(!(0,s.Re)(e.event.target))return;let t=this._getInlayHintLabelPart(e);t&&await this._instaService.invokeFunction(D.u,this._editor,e.event.target,t)})}_getInlayHintLabelPart(e){var t;if(6!==e.target.type)return;let i=null===(t=e.target.detail.injectedText)||void 0===t?void 0:t.options;if(i instanceof C.HS&&(null==i?void 0:i.attachedData)instanceof O)return i.attachedData}async _invokeCommand(e,t){var i;try{await this._commandService.executeCommand(e.id,...null!==(i=e.arguments)&&void 0!==i?i:[])}catch(e){this._notificationService.notify({severity:I.zb.Error,source:t.provider.displayName,message:e})}}_cacheHintsForFastRestore(e){let t=this._copyInlayHintsWithCurrentAnchor(e);this._inlayHintsCache.set(e,t)}_copyInlayHintsWithCurrentAnchor(e){let t=new Map;for(let[i,n]of this._decorationsMetadata){if(t.has(n.item))continue;let s=e.getDecorationRange(i);if(s){let e=new k.UQ(s,n.item.anchor.direction),i=n.item.with({anchor:e});t.set(n.item,i)}}return Array.from(t.values())}_getHintsRanges(){let e=this._editor.getModel(),t=this._editor.getVisibleRangesPlusViewportAboveBelow(),i=[];for(let n of t.sort(_.e.compareRangesUsingStarts)){let t=e.validateRange(new _.e(n.startLineNumber-30,n.startColumn,n.endLineNumber+30,n.endColumn));0!==i.length&&_.e.areIntersectingOrTouching(i[i.length-1],t)?i[i.length-1]=_.e.plusRange(i[i.length-1],t):i.push(t)}return i}_updateHintsDecorators(e,t){var i,s;let r=[],l=(e,t,i,n,s)=>{let o={content:i,inlineClassNameAffectsLetterSpacing:!0,inlineClassName:t.className,cursorStops:n,attachedData:s};r.push({item:e,classNameRef:t,decoration:{range:e.anchor.range,options:{description:"InlayHint",showIfCollapsed:e.anchor.range.isEmpty(),collapseOnReplaceEdit:!e.anchor.range.isEmpty(),stickiness:0,[e.anchor.direction]:0===this._activeRenderMode?o:void 0}}})},a=(e,t)=>{let i=this._ruleFactory.createClassNameRef({width:`${d/3|0}px`,display:"inline-block"});l(e,i," ",t?b.RM.Right:b.RM.None)},{fontSize:d,fontFamily:h,padding:u,isUniform:c}=this._getLayoutInfo(),g="--code-editorInlayHintsFontFamily";this._editor.getContainerDomNode().style.setProperty(g,h);let f={line:0,totalLen:0};for(let e of t){if(f.line!==e.anchor.range.startLineNumber&&(f={line:e.anchor.range.startLineNumber,totalLen:0}),f.totalLen>n._MAX_LABEL_LEN)continue;e.hint.paddingLeft&&a(e,!1);let t="string"==typeof e.hint.label?[{label:e.hint.label}]:e.hint.label;for(let s=0;s0&&(_=_.slice(0,-C)+"…",v=!0),l(e,this._ruleFactory.createClassNameRef(p),_.replace(/[ \t]/g,"\xa0"),h&&!e.hint.paddingRight?b.RM.Right:b.RM.None,new O(e,s)),v)break}if(e.hint.paddingRight&&a(e,!0),r.length>n._MAX_DECORATORS)break}let _=[];for(let[t,i]of this._decorationsMetadata){let n=null===(s=this._editor.getModel())||void 0===s?void 0:s.getDecorationRange(t);n&&e.some(e=>e.containsRange(n))&&(_.push(t),i.classNameRef.dispose(),this._decorationsMetadata.delete(t))}let v=p.Z.capture(this._editor);this._editor.changeDecorations(e=>{let t=e.deltaDecorations(_,r.map(e=>e.decoration));for(let e=0;ei)&&(s=i);let o=e.fontFamily||n,r=!t&&o===n&&s===i;return{fontSize:s,fontFamily:o,padding:t,isUniform:r}}_removeAllDecorations(){for(let e of(this._editor.removeDecorations(Array.from(this._decorationsMetadata.keys())),this._decorationsMetadata.values()))e.classNameRef.dispose();this._decorationsMetadata.clear()}};B.ID="editor.contrib.InlayHints",B._MAX_DECORATORS=1500,B._MAX_LABEL_LEN=43,B=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([R(1,y.p),R(2,w.A),R(3,P),R(4,x.H),R(5,I.lT),R(6,E.TG)],B),x.P.registerCommand("_executeInlayHintProvider",async(e,...t)=>{let[i,n]=t;(0,u.p_)(c.o.isUri(i)),(0,u.p_)(_.e.isIRange(n));let{inlayHintsProvider:s}=e.get(y.p),o=await e.get(S.S).createModelReference(i);try{let e=await k.Q3.create(s,o.object.textEditorModel,[_.e.lift(n)],l.Ts.None),t=e.items.map(e=>e.hint);return setTimeout(()=>e.dispose(),0),t}finally{o.dispose()}})},26603:function(e,t,i){"use strict";i.d(t,{G:function(){return L}});var n=i(44532),s=i(42891),o=i(86570),r=i(66629),l=i(9411),a=i(77233),d=i(883),h=i(15320),u=i(92551),c=i(32161),g=i(78426),p=i(45902),m=i(64106),f=i(82801),_=i(58022),v=i(43149),b=i(40789),C=i(46417),w=i(96748),y=function(e,t){return function(i,n){t(i,n,e)}};class S extends l.YM{constructor(e,t,i,n){super(10,t,e.item.anchor.range,i,n,!0),this.part=e}}let L=class extends u.D5{constructor(e,t,i,n,s,o,r,l){super(e,t,i,o,l,n,s),this._resolverService=r,this.hoverOrdinal=6}suggestHoverAnchor(e){var t;let i=c.K.get(this._editor);if(!i||6!==e.target.type)return null;let n=null===(t=e.target.detail.injectedText)||void 0===t?void 0:t.options;return n instanceof r.HS&&n.attachedData instanceof c.f?new S(n.attachedData,this,e.event.posx,e.event.posy):null}computeSync(){return[]}computeAsync(e,t,i){return e instanceof S?new n.Aq(async t=>{let n,o;let{part:r}=e;if(await r.item.resolve(i),i.isCancellationRequested)return;if("string"==typeof r.item.hint.tooltip?n=new s.W5().appendText(r.item.hint.tooltip):r.item.hint.tooltip&&(n=r.item.hint.tooltip),n&&t.emitOne(new u.hU(this,e.range,[n],!1,0)),(0,b.Of)(r.item.hint.textEdits)&&t.emitOne(new u.hU(this,e.range,[new s.W5().appendText((0,f.NC)("hint.dbl","Double-click to insert"))],!1,10001)),"string"==typeof r.part.tooltip?o=new s.W5().appendText(r.part.tooltip):r.part.tooltip&&(o=r.part.tooltip),o&&t.emitOne(new u.hU(this,e.range,[o],!1,1)),r.part.location||r.part.command){let i;let n="altKey"===this._editor.getOption(78),o=n?_.dz?(0,f.NC)("links.navigate.kb.meta.mac","cmd + click"):(0,f.NC)("links.navigate.kb.meta","ctrl + click"):_.dz?(0,f.NC)("links.navigate.kb.alt.mac","option + click"):(0,f.NC)("links.navigate.kb.alt","alt + click");r.part.location&&r.part.command?i=new s.W5().appendText((0,f.NC)("hint.defAndCommand","Go to Definition ({0}), right click for more",o)):r.part.location?i=new s.W5().appendText((0,f.NC)("hint.def","Go to Definition ({0})",o)):r.part.command&&(i=new s.W5(`[${(0,f.NC)("hint.cmd","Execute Command")}](${(0,v._I)(r.part.command)} "${r.part.command.title}") (${o})`,{isTrusted:!0})),i&&t.emitOne(new u.hU(this,e.range,[i],!1,1e4))}let l=await this._resolveInlayHintLabelPartHover(r,i);for await(let e of l)t.emitOne(e)}):n.Aq.EMPTY}async _resolveInlayHintLabelPartHover(e,t){if(!e.part.location)return n.Aq.EMPTY;let{uri:i,range:r}=e.part.location,l=await this._resolverService.createModelReference(i);try{let i=l.object.textEditorModel;if(!this._languageFeaturesService.hoverProvider.has(i))return n.Aq.EMPTY;return(0,h.OP)(this._languageFeaturesService.hoverProvider,i,new o.L(r.startLineNumber,r.startColumn),t).filter(e=>!(0,s.CP)(e.hover.contents)).map(t=>new u.hU(this,e.item.anchor.range,t.hover.contents,!1,2+t.ordinal))}finally{l.dispose()}}};L=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([y(1,a.O),y(2,p.v),y(3,C.d),y(4,w.Bs),y(5,g.Ui),y(6,d.S),y(7,m.p)],L)},84003:function(e,t,i){"use strict";i.d(t,{K:function(){return v},u:function(){return _}});var n=i(81845),s=i(76886),o=i(9424),r=i(2645),l=i(70209),a=i(883),d=i(38820),h=i(62205),u=i(30467),c=i(81903),g=i(33336),p=i(10727),m=i(85327),f=i(16575);async function _(e,t,i,h){var g;let _=e.get(a.S),v=e.get(p.i),b=e.get(c.H),C=e.get(m.TG),w=e.get(f.lT);if(await h.item.resolve(o.Ts.None),!h.part.location)return;let y=h.part.location,S=[],L=new Set(u.BH.getMenuItems(u.eH.EditorContext).map(e=>(0,u.vr)(e)?e.command.id:(0,r.R)()));for(let e of d.Bj.all())L.has(e.desc.id)&&S.push(new s.aU(e.desc.id,u.U8.label(e.desc,{renderShortTitle:!0}),void 0,!0,async()=>{let i=await _.createModelReference(y.uri);try{let n=new d._k(i.object.textEditorModel,l.e.getStartPosition(y.range)),s=h.item.anchor.range;await C.invokeFunction(e.runEditorCommand.bind(e),t,n,s)}finally{i.dispose()}}));if(h.part.command){let{command:e}=h.part;S.push(new s.Z0),S.push(new s.aU(e.id,e.title,void 0,!0,async()=>{var t;try{await b.executeCommand(e.id,...null!==(t=e.arguments)&&void 0!==t?t:[])}catch(e){w.notify({severity:f.zb.Error,source:h.item.provider.displayName,message:e})}}))}let k=t.getOption(127);v.showContextMenu({domForShadowRoot:k&&null!==(g=t.getDomNode())&&void 0!==g?g:void 0,getAnchor:()=>{let e=n.i(i);return{x:e.left,y:e.top+e.height+8}},getActions:()=>S,onHide:()=>{t.focus()},autoSelectFirstItem:!0})}async function v(e,t,i,n){let s=e.get(a.S),o=await s.createModelReference(n.uri);await i.invokeWithinContext(async e=>{let s=t.hasSideBySideModifier,r=e.get(g.i6),a=h.Jy.inPeekEditor.getValue(r),u=!s&&i.getOption(88)&&!a,c=new d.BT({openToSide:s,openInPeek:u,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0});return c.run(e,new d._k(o.object.textEditorModel,l.e.getStartPosition(n.range)),l.e.lift(n.range))}),o.dispose()}},32258:function(e,t,i){"use strict";i.d(t,{Np:function(){return s},OW:function(){return o},Ou:function(){return n}});let n="editor.action.inlineSuggest.commit",s="editor.action.inlineSuggest.showPrevious",o="editor.action.inlineSuggest.showNext"},37908:function(e,t,i){"use strict";i.d(t,{HL:function(){return c},NY:function(){return d},Vb:function(){return a},bY:function(){return u},s1:function(){return h}});var n=i(40789),s=i(95612),o=i(86570),r=i(70209),l=i(28977);class a{constructor(e,t){this.lineNumber=e,this.parts=t}equals(e){return this.lineNumber===e.lineNumber&&this.parts.length===e.parts.length&&this.parts.every((t,i)=>t.equals(e.parts[i]))}renderForScreenReader(e){if(0===this.parts.length)return"";let t=this.parts[this.parts.length-1],i=e.substr(0,t.column-1),n=new l.PY([...this.parts.map(e=>new l.At(r.e.fromPositions(new o.L(1,e.column)),e.lines.join("\n")))]).applyToString(i);return n.substring(this.parts[0].column-1)}isEmpty(){return this.parts.every(e=>0===e.lines.length)}get lineCount(){return 1+this.parts.reduce((e,t)=>e+t.lines.length-1,0)}}class d{constructor(e,t,i){this.column=e,this.text=t,this.preview=i,this.lines=(0,s.uq)(this.text)}equals(e){return this.column===e.column&&this.lines.length===e.lines.length&&this.lines.every((t,i)=>t===e.lines[i])}}class h{constructor(e,t,i,n=0){this.lineNumber=e,this.columnRange=t,this.text=i,this.additionalReservedLineCount=n,this.parts=[new d(this.columnRange.endColumnExclusive,this.text,!1)],this.newLines=(0,s.uq)(this.text)}renderForScreenReader(e){return this.newLines.join("\n")}get lineCount(){return this.newLines.length}isEmpty(){return this.parts.every(e=>0===e.lines.length)}equals(e){return this.lineNumber===e.lineNumber&&this.columnRange.equals(e.columnRange)&&this.newLines.length===e.newLines.length&&this.newLines.every((t,i)=>t===e.newLines[i])&&this.additionalReservedLineCount===e.additionalReservedLineCount}}function u(e,t){return(0,n.fS)(e,t,c)}function c(e,t){return e===t||!!e&&!!t&&(e instanceof a&&t instanceof a||e instanceof h&&t instanceof h)&&e.equals(t)}},5369:function(e,t,i){"use strict";i.d(t,{Wd:function(){return y},rw:function(){return S}});var n,s=i(39813),o=i(79915),r=i(70784),l=i(43495),a=i(95612);i(96408);var d=i(50950),h=i(43364),u=i(86570),c=i(70209),g=i(91797),p=i(77233),m=i(41407),f=i(94458),_=i(90252),v=i(53429),b=i(37908),C=i(85954);let w="ghost-text",y=class extends r.JT{constructor(e,t,i){super(),this.editor=e,this.model=t,this.languageService=i,this.isDisposed=(0,l.uh)(this,!1),this.currentTextModel=(0,l.rD)(this.editor.onDidChangeModel,()=>this.editor.getModel()),this.uiState=(0,l.nK)(this,e=>{let t;if(this.isDisposed.read(e))return;let i=this.currentTextModel.read(e);if(i!==this.model.targetTextModel.read(e))return;let n=this.model.ghostText.read(e);if(!n)return;let s=n instanceof b.s1?n.columnRange:void 0,o=[],r=[];function l(e,t){if(r.length>0){let i=r[r.length-1];t&&i.decorations.push(new _.Kp(i.content.length+1,i.content.length+1+e[0].length,t,0)),i.content+=e[0],e=e.slice(1)}for(let i of e)r.push({content:i,decorations:t?[new _.Kp(1,i.length+1,t,0)]:[]})}let a=i.getLineContent(n.lineNumber),d=0;for(let e of n.parts){let i=e.lines;void 0===t?(o.push({column:e.column,text:i[0],preview:e.preview}),i=i.slice(1)):l([a.substring(d,e.column-1)],void 0),i.length>0&&(l(i,w),void 0===t&&e.column<=a.length&&(t=e.column)),d=e.column-1}void 0!==t&&l([a.substring(d)],void 0);let h=void 0!==t?new C.rv(t,a.length+1):void 0;return{replacedRange:s,inlineTexts:o,additionalLines:r,hiddenRange:h,lineNumber:n.lineNumber,additionalReservedLineCount:this.model.minReservedLineCount.read(e),targetTextModel:i}}),this.decorations=(0,l.nK)(this,e=>{let t=this.uiState.read(e);if(!t)return[];let i=[];for(let e of(t.replacedRange&&i.push({range:t.replacedRange.toRange(t.lineNumber),options:{inlineClassName:"inline-completion-text-to-replace",description:"GhostTextReplacement"}}),t.hiddenRange&&i.push({range:t.hiddenRange.toRange(t.lineNumber),options:{inlineClassName:"ghost-text-hidden",description:"ghost-text-hidden"}}),t.inlineTexts))i.push({range:c.e.fromPositions(new u.L(t.lineNumber,e.column)),options:{description:w,after:{content:e.text,inlineClassName:e.preview?"ghost-text-decoration-preview":"ghost-text-decoration",cursorStops:m.RM.Left},showIfCollapsed:!0}});return i}),this.additionalLinesWidget=this._register(new S(this.editor,this.languageService.languageIdCodec,(0,l.nK)(e=>{let t=this.uiState.read(e);return t?{lineNumber:t.lineNumber,additionalLines:t.additionalLines,minReservedLineCount:t.additionalReservedLineCount,targetTextModel:t.targetTextModel}:void 0}))),this._register((0,r.OF)(()=>{this.isDisposed.set(!0,void 0)})),this._register((0,C.RP)(this.editor,this.decorations))}ownsViewZone(e){return this.additionalLinesWidget.viewZoneId===e}};y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=p.O,function(e,t){n(e,t,2)})],y);class S extends r.JT{get viewZoneId(){return this._viewZoneId}constructor(e,t,i){super(),this.editor=e,this.languageIdCodec=t,this.lines=i,this._viewZoneId=void 0,this.editorOptionsChanged=(0,l.aq)("editorOptionChanged",o.ju.filter(this.editor.onDidChangeConfiguration,e=>e.hasChanged(33)||e.hasChanged(117)||e.hasChanged(99)||e.hasChanged(94)||e.hasChanged(51)||e.hasChanged(50)||e.hasChanged(67))),this._register((0,l.EH)(e=>{let t=this.lines.read(e);this.editorOptionsChanged.read(e),t?this.updateLines(t.lineNumber,t.additionalLines,t.minReservedLineCount):this.clear()}))}dispose(){super.dispose(),this.clear()}clear(){this.editor.changeViewZones(e=>{this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0)})}updateLines(e,t,i){let n=this.editor.getModel();if(!n)return;let{tabSize:s}=n.getOptions();this.editor.changeViewZones(n=>{this._viewZoneId&&(n.removeZone(this._viewZoneId),this._viewZoneId=void 0);let o=Math.max(t.length,i);if(o>0){let i=document.createElement("div");(function(e,t,i,n,s){let o=n.get(33),r=n.get(117),l=n.get(94),u=n.get(51),c=n.get(50),p=n.get(67),m=new g.HT(1e4);m.appendString('
    ');for(let e=0,n=i.length;e');let g=a.$i(d),_=a.Ut(d),b=f.A.createEmpty(d,s);(0,v.d1)(new v.IJ(c.isMonospace&&!o,c.canUseHalfwidthRightwardsArrow,d,!1,g,_,0,b,n.decorations,t,0,c.spaceWidth,c.middotWidth,c.wsmiddotWidth,r,"none",l,u!==h.n0.OFF,null),m),m.appendString("
    ")}m.appendString(""),(0,d.N)(e,c);let _=m.build(),b=L?L.createHTML(_):_;e.innerHTML=b})(i,s,t,this.editor.getOptions(),this.languageIdCodec),this._viewZoneId=n.addZone({afterLineNumber:e,heightInLines:o,domNode:i,afterColumnAffinity:1})}})}}let L=(0,s.Z)("editorGhostText",{createHTML:e=>e})},75016:function(e,t,i){"use strict";i.d(t,{f:function(){return d}});var n=i(43495),s=i(95612),o=i(21983),r=i(33336),l=i(70784),a=i(82801);class d extends l.JT{constructor(e,t){super(),this.contextKeyService=e,this.model=t,this.inlineCompletionVisible=d.inlineSuggestionVisible.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentation=d.inlineSuggestionHasIndentation.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentationLessThanTabSize=d.inlineSuggestionHasIndentationLessThanTabSize.bindTo(this.contextKeyService),this.suppressSuggestions=d.suppressSuggestions.bindTo(this.contextKeyService),this._register((0,n.EH)(e=>{let t=this.model.read(e),i=null==t?void 0:t.state.read(e),n=!!(null==i?void 0:i.inlineCompletion)&&(null==i?void 0:i.primaryGhostText)!==void 0&&!(null==i?void 0:i.primaryGhostText.isEmpty());this.inlineCompletionVisible.set(n),(null==i?void 0:i.primaryGhostText)&&(null==i?void 0:i.inlineCompletion)&&this.suppressSuggestions.set(i.inlineCompletion.inlineCompletion.source.inlineCompletions.suppressSuggestions)})),this._register((0,n.EH)(e=>{let t=this.model.read(e),i=!1,n=!0,r=null==t?void 0:t.primaryGhostText.read(e);if((null==t?void 0:t.selectedSuggestItem)&&r&&r.parts.length>0){let{column:e,lines:l}=r.parts[0],a=l[0],d=t.textModel.getLineIndentColumn(r.lineNumber);if(e<=d){let e=(0,s.LC)(a);-1===e&&(e=a.length-1),i=e>0;let r=t.textModel.getOptions().tabSize,l=o.i.visibleColumnFromColumn(a,e+1,r);n=lthis.lines[e-1]}}getLineCount(){return this.lines.length}getLineLength(e){return this.lines[e-1].getLineContent().length}}var Q=i(85954),Z=i(26956);async function Y(e,t,i,n,s=_.Ts.None,o){let r=function(e,t){let i=t.getWordAtPosition(e),n=t.getLineMaxColumn(e.lineNumber);return i?new R.e(e.lineNumber,i.startColumn,e.lineNumber,n):R.e.fromPositions(e,e.with(void 0,n))}(t,i),l=e.all(i),a=new z.ri;for(let e of l)e.groupId&&a.add(e.groupId,e);function d(e){if(!e.yieldsToGroupIds)return[];let t=[];for(let i of e.yieldsToGroupIds||[]){let e=a.get(i);for(let i of e)t.push(i)}return t}let h=new Map,u=new Set,c=await Promise.all(l.map(async e=>({provider:e,completions:await function e(o){let r=h.get(o);if(r)return r;let l=function e(t,i){if(i=[...i,t],u.has(t))return i;u.add(t);try{let n=d(t);for(let t of n){let n=e(t,i);if(n)return n}}finally{u.delete(t)}}(o,[]);l&&(0,I.Cp)(Error(`Inline completions: cyclic yield-to dependency detected. Path: ${l.map(e=>e.toString?e.toString():""+e).join(" -> ")}`));let a=new f.CR;return h.set(o,a.p),(async()=>{if(!l){let t=d(o);for(let i of t){let t=await e(i);if(t&&t.items.length>0)return}}try{let e=await o.provideInlineCompletions(i,t,n,s);return e}catch(e){(0,I.Cp)(e);return}})().then(e=>a.complete(e),e=>a.error(e)),a.p}(e)}))),g=new Map,p=[];for(let e of c){let t=e.completions;if(!t)continue;let n=new X(t,e.provider);for(let e of(p.push(n),t.items)){let t=ee.from(e,n,r,i,o);g.set(t.hash(),t)}}return new J(Array.from(g.values()),new Set(g.keys()),p)}class J{constructor(e,t,i){this.completions=e,this.hashs=t,this.providerResults=i}has(e){return this.hashs.has(e.hash())}dispose(){for(let e of this.providerResults)e.removeRef()}}class X{constructor(e,t){this.inlineCompletions=e,this.provider=t,this.refCount=1}addRef(){this.refCount++}removeRef(){this.refCount--,0===this.refCount&&this.provider.freeInlineCompletions(this.inlineCompletions)}}class ee{static from(e,t,i,n,s){let o,r;let l=e.range?R.e.lift(e.range):i;if("string"==typeof e.insertText){if(o=e.insertText,s&&e.completeBracketPairs){o=et(o,l.getStartPosition(),n,s);let t=o.length-e.insertText.length;0!==t&&(l=new R.e(l.startLineNumber,l.startColumn,l.endLineNumber,l.endColumn+t))}r=void 0}else if("snippet"in e.insertText){let t=e.insertText.snippet.length;if(s&&e.completeBracketPairs){e.insertText.snippet=et(e.insertText.snippet,l.getStartPosition(),n,s);let i=e.insertText.snippet.length-t;0!==i&&(l=new R.e(l.startLineNumber,l.startColumn,l.endLineNumber,l.endColumn+i))}let i=new Z.Yj().parse(e.insertText.snippet);1===i.children.length&&i.children[0]instanceof Z.xv?(o=i.children[0].value,r=void 0):(o=i.toString(),r={snippet:e.insertText.snippet,range:l})}else(0,V.vE)(e.insertText);return new ee(o,e.command,l,o,r,e.additionalTextEdits||(0,Q.He)(),e,t)}constructor(e,t,i,n,s,o,r,l){this.filterText=e,this.command=t,this.range=i,this.insertText=n,this.snippetInfo=s,this.additionalTextEdits=o,this.sourceInlineCompletion=r,this.source=l,n=(e=e.replace(/\r\n|\r/g,"\n")).replace(/\r\n|\r/g,"\n")}withRange(e){return new ee(this.filterText,this.command,e,this.insertText,this.snippetInfo,this.additionalTextEdits,this.sourceInlineCompletion,this.source)}hash(){return JSON.stringify({insertText:this.insertText,range:this.range.toString()})}}function et(e,t,i,n){let s=i.getLineContent(t.lineNumber).substring(0,t.column-1),o=s+e,r=i.tokenization.tokenizeLineWithEdit(t,o.length-(t.column-1),e),l=null==r?void 0:r.sliceAndInflate(t.column-1,o.length,0);if(!l)return e;let a=function(e,t){let i=new q.FE,n=new K.Z(i,e=>t.getLanguageConfiguration(e)),s=new j.xH(new G([e]),n),o=(0,$.w)(s,[],void 0,!0),r="",l=e.getLineContent();return!function e(t,i){if(2===t.kind){if(e(t.openingBracket,i),i=(0,U.Ii)(i,t.openingBracket.length),t.child&&(e(t.child,i),i=(0,U.Ii)(i,t.child.length)),t.closingBracket)e(t.closingBracket,i),i=(0,U.Ii)(i,t.closingBracket.length);else{let e=n.getSingleLanguageBracketTokens(t.openingBracket.languageId),i=e.findClosingTokenText(t.openingBracket.bracketIds);r+=i}}else if(3===t.kind);else if(0===t.kind||1===t.kind)r+=l.substring((0,U.F_)(i),(0,U.F_)((0,U.Ii)(i,t.length)));else if(4===t.kind)for(let n of t.children)e(n,i),i=(0,U.Ii)(i,n.length)}(o,U.xl),r}(l,n);return a}var ei=i(39970);function en(e,t,i){let n=i?e.range.intersectRanges(i):e.range;if(!n)return e;let s=t.getValueInRange(n,1),o=(0,T.Mh)(s,e.text),r=O.A.ofText(s.substring(0,o)).addToPosition(e.range.getStartPosition()),l=e.text.substring(o),a=R.e.fromPositions(r,e.range.getEndPosition());return new P.At(a,l)}function es(e,t){var i,n;return e.text.startsWith(t.text)&&(i=e.range,(n=t.range).getStartPosition().equals(i.getStartPosition())&&n.getEndPosition().isBeforeOrEqual(i.getEndPosition()))}function eo(e,t,i,s,o=0){let r=en(e,t);if(r.range.endLineNumber!==r.range.startLineNumber)return;let l=t.getLineContent(r.range.startLineNumber),a=(0,T.V8)(l).length,d=r.range.startColumn-1<=a;if(d){let e=(0,T.V8)(r.text).length,t=l.substring(r.range.startColumn-1,a),[i,n]=[r.range.getStartPosition(),r.range.getEndPosition()],s=i.column+t.length<=n.column?i.delta(0,t.length):n,o=R.e.fromPositions(s,n),d=r.text.startsWith(t)?r.text.substring(t.length):r.text.substring(e);r=new P.At(o,d)}let h=t.getValueInRange(r.range),u=function(e,t){if((null==n?void 0:n.originalValue)===e&&(null==n?void 0:n.newValue)===t)return null==n?void 0:n.changes;{let i=el(e,t,!0);if(i){let n=er(i);if(n>0){let s=el(e,t,!1);s&&er(s)0===e.originalLength);if(e.length>1||1===e.length&&e[0].originalStart!==h.length)return}let p=r.text.length-o;for(let e of u){let t=r.range.startColumn+e.originalStart+e.originalLength;if("subwordSmart"===i&&s&&s.lineNumber===r.range.startLineNumber&&t0)return;if(0===e.modifiedLength)continue;let n=e.modifiedStart+e.modifiedLength,o=Math.max(e.modifiedStart,Math.min(n,p)),l=r.text.substring(e.modifiedStart,o),a=r.text.substring(o,Math.max(e.modifiedStart,n));l.length>0&&g.push(new W.NY(t,l,!1)),a.length>0&&g.push(new W.NY(t,a,!0))}return new W.Vb(c,g)}function er(e){let t=0;for(let i of e)t+=i.originalLength;return t}function el(e,t,i){if(e.length>5e3||t.length>5e3)return;function n(e){let t=0;for(let i=0,n=e.length;it&&(t=n)}return t}let s=Math.max(n(e),n(t));function o(e){if(e<0)throw Error("unexpected");return s+e+1}function r(e){let t=0,n=0,s=new Int32Array(e.length);for(let r=0,l=e.length;rl},{getElements:()=>a}).ComputeDiff(!1).changes}var ea=function(e,t){return function(i,n){t(i,n,e)}};let ed=class extends b.JT{constructor(e,t,i,n,s){super(),this.textModel=e,this.versionId=t,this._debounceValue=i,this.languageFeaturesService=n,this.languageConfigurationService=s,this._updateOperation=this._register(new b.XK),this.inlineCompletions=(0,d.DN)("inlineCompletions",void 0),this.suggestWidgetInlineCompletions=(0,d.DN)("suggestWidgetInlineCompletions",void 0),this._register(this.textModel.onDidChangeContent(()=>{this._updateOperation.clear()}))}fetch(e,t,i){var n,s;let o=new eh(e,t,this.textModel.getVersionId()),r=t.selectedSuggestionInfo?this.suggestWidgetInlineCompletions:this.inlineCompletions;if(null===(n=this._updateOperation.value)||void 0===n?void 0:n.request.satisfies(o))return this._updateOperation.value.promise;if(null===(s=r.get())||void 0===s?void 0:s.request.satisfies(o))return Promise.resolve(!0);let l=!!this._updateOperation.value;this._updateOperation.clear();let a=new _.AU,h=(async()=>{var n,s;let h=l||t.triggerKind===F.bw.Automatic;if(h&&await (n=this._debounceValue.get(this.textModel),s=a.token,new Promise(e=>{let t;let i=setTimeout(()=>{t&&t.dispose(),e()},n);s&&(t=s.onCancellationRequested(()=>{clearTimeout(i),t&&t.dispose(),e()}))})),a.token.isCancellationRequested||this.textModel.getVersionId()!==o.versionId)return!1;let u=new Date,c=await Y(this.languageFeaturesService.inlineCompletionsProvider,e,this.textModel,t,a.token,this.languageConfigurationService);if(a.token.isCancellationRequested||this.textModel.getVersionId()!==o.versionId)return!1;let g=new Date;this._debounceValue.update(this.textModel,g.getTime()-u.getTime());let p=new ec(c,o,this.textModel,this.versionId);if(i){let t=i.toInlineCompletion(void 0);i.canBeReused(this.textModel,e)&&!c.has(t)&&p.prepend(i.inlineCompletion,t.range,!0)}return this._updateOperation.clear(),(0,d.PS)(e=>{r.set(p,e)}),!0})(),u=new eu(o,a,h);return this._updateOperation.value=u,h}clear(e){this._updateOperation.clear(),this.inlineCompletions.set(void 0,e),this.suggestWidgetInlineCompletions.set(void 0,e)}clearSuggestWidgetInlineCompletions(e){var t;(null===(t=this._updateOperation.value)||void 0===t?void 0:t.request.context.selectedSuggestionInfo)&&this._updateOperation.clear(),this.suggestWidgetInlineCompletions.set(void 0,e)}cancelUpdate(){this._updateOperation.clear()}};ed=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ea(3,k.p),ea(4,B.c_)],ed);class eh{constructor(e,t,i){this.position=e,this.context=t,this.versionId=i}satisfies(e){return this.position.equals(e.position)&&(0,v.Tx)(this.context.selectedSuggestionInfo,e.context.selectedSuggestionInfo,(0,v.$h)())&&(e.context.triggerKind===F.bw.Automatic||this.context.triggerKind===F.bw.Explicit)&&this.versionId===e.versionId}}class eu{constructor(e,t,i){this.request=e,this.cancellationTokenSource=t,this.promise=i}dispose(){this.cancellationTokenSource.cancel()}}class ec{get inlineCompletions(){return this._inlineCompletions}constructor(e,t,i,n){this.inlineCompletionProviderResult=e,this.request=t,this._textModel=i,this._versionId=n,this._refCount=1,this._prependedInlineCompletionItems=[];let s=i.deltaDecorations([],e.completions.map(e=>({range:e.range,options:{description:"inline-completion-tracking-range"}})));this._inlineCompletions=e.completions.map((e,t)=>new eg(e,s[t],this._textModel,this._versionId))}clone(){return this._refCount++,this}dispose(){if(this._refCount--,0===this._refCount)for(let e of(setTimeout(()=>{this._textModel.isDisposed()||this._textModel.deltaDecorations(this._inlineCompletions.map(e=>e.decorationId),[])},0),this.inlineCompletionProviderResult.dispose(),this._prependedInlineCompletionItems))e.source.removeRef()}prepend(e,t,i){i&&e.source.addRef();let n=this._textModel.deltaDecorations([],[{range:t,options:{description:"inline-completion-tracking-range"}}])[0];this._inlineCompletions.unshift(new eg(e,n,this._textModel,this._versionId)),this._prependedInlineCompletionItems.push(e)}}class eg{get forwardStable(){var e;return null!==(e=this.inlineCompletion.source.inlineCompletions.enableForwardStability)&&void 0!==e&&e}constructor(e,t,i,n){this.inlineCompletion=e,this.decorationId=t,this._textModel=i,this._modelVersion=n,this.semanticId=JSON.stringify([this.inlineCompletion.filterText,this.inlineCompletion.insertText,this.inlineCompletion.range.getStartPosition().toString()]),this._updatedRange=(0,d.bk)({owner:this,equalsFn:R.e.equalsRange},e=>(this._modelVersion.read(e),this._textModel.getDecorationRange(this.decorationId)))}toInlineCompletion(e){var t;return this.inlineCompletion.withRange(null!==(t=this._updatedRange.read(e))&&void 0!==t?t:ep)}toSingleTextEdit(e){var t;return new P.At(null!==(t=this._updatedRange.read(e))&&void 0!==t?t:ep,this.inlineCompletion.insertText)}isVisible(e,t,i){let n=en(this._toFilterTextReplacement(i),e),s=this._updatedRange.read(i);if(!s||!this.inlineCompletion.range.getStartPosition().equals(s.getStartPosition())||t.lineNumber!==n.range.startLineNumber)return!1;let o=e.getValueInRange(n.range,1),r=n.text,l=Math.max(0,t.column-n.range.startColumn),a=r.substring(0,l),d=r.substring(l),h=o.substring(0,l),u=o.substring(l),c=e.getLineIndentColumn(n.range.startLineNumber);return n.range.startColumn<=c&&(0===(h=h.trimStart()).length&&(u=u.trimStart()),0===(a=a.trimStart()).length&&(d=d.trimStart())),a.startsWith(h)&&!!(0,H.Sy)(u,d)}canBeReused(e,t){let i=this._updatedRange.read(void 0),n=!!i&&i.containsPosition(t)&&this.isVisible(e,t,void 0)&&O.A.ofRange(i).isGreaterThanOrEqualTo(O.A.ofRange(this.inlineCompletion.range));return n}_toFilterTextReplacement(e){var t;return new P.At(null!==(t=this._updatedRange.read(e))&&void 0!==t?t:ep,this.inlineCompletion.filterText)}}let ep=new R.e(1,1,1,1);var em=i(41078),ef=i(81903),e_=i(85327),ev=function(e,t){return function(i,n){t(i,n,e)}};(s=o||(o={}))[s.Undo=0]="Undo",s[s.Redo=1]="Redo",s[s.AcceptWord=2]="AcceptWord",s[s.Other=3]="Other";let eb=class extends b.JT{get isAcceptingPartially(){return this._isAcceptingPartially}constructor(e,t,i,n,s,r,l,a,h,u,c,g){let p;super(),this.textModel=e,this.selectedSuggestItem=t,this.textModelVersionId=i,this._positions=n,this._debounceValue=s,this._suggestPreviewEnabled=r,this._suggestPreviewMode=l,this._inlineSuggestMode=a,this._enabled=h,this._instantiationService=u,this._commandService=c,this._languageConfigurationService=g,this._source=this._register(this._instantiationService.createInstance(ed,this.textModel,this.textModelVersionId,this._debounceValue)),this._isActive=(0,d.uh)(this,!1),this._forceUpdateExplicitlySignal=(0,d.GN)(this),this._selectedInlineCompletionId=(0,d.uh)(this,void 0),this._primaryPosition=(0,d.nK)(this,e=>{var t;return null!==(t=this._positions.read(e)[0])&&void 0!==t?t:new S.L(1,1)}),this._isAcceptingPartially=!1,this._preserveCurrentCompletionReasons=new Set([o.Redo,o.Undo,o.AcceptWord]),this._fetchInlineCompletionsPromise=(0,d.aK)({owner:this,createEmptyChangeSummary:()=>({preserveCurrentCompletion:!1,inlineCompletionTriggerKind:F.bw.Automatic}),handleChange:(e,t)=>(e.didChange(this.textModelVersionId)&&this._preserveCurrentCompletionReasons.has(e.change)?t.preserveCurrentCompletion=!0:e.didChange(this._forceUpdateExplicitlySignal)&&(t.inlineCompletionTriggerKind=F.bw.Explicit),!0)},(e,t)=>{this._forceUpdateExplicitlySignal.read(e);let i=this._enabled.read(e)&&this.selectedSuggestItem.read(e)||this._isActive.read(e);if(!i){this._source.cancelUpdate();return}this.textModelVersionId.read(e);let n=this._source.suggestWidgetInlineCompletions.get(),s=this.selectedSuggestItem.read(e);if(n&&!s){let e=this._source.inlineCompletions.get();(0,d.PS)(t=>{(!e||n.request.versionId>e.request.versionId)&&this._source.inlineCompletions.set(n.clone(),t),this._source.clearSuggestWidgetInlineCompletions(t)})}let o=this._primaryPosition.read(e),r={triggerKind:t.inlineCompletionTriggerKind,selectedSuggestionInfo:null==s?void 0:s.toSelectedSuggestionInfo()},l=this.selectedInlineCompletion.get(),a=t.preserveCurrentCompletion||(null==l?void 0:l.forwardStable)?l:void 0;return this._source.fetch(o,r,a)}),this._filteredInlineCompletionItems=(0,d.bk)({owner:this,equalsFn:(0,v.ZC)()},e=>{let t=this._source.inlineCompletions.read(e);if(!t)return[];let i=this._primaryPosition.read(e),n=t.inlineCompletions.filter(t=>t.isVisible(this.textModel,i,e));return n}),this.selectedInlineCompletionIndex=(0,d.nK)(this,e=>{let t=this._selectedInlineCompletionId.read(e),i=this._filteredInlineCompletionItems.read(e),n=void 0===this._selectedInlineCompletionId?-1:i.findIndex(e=>e.semanticId===t);return -1===n?(this._selectedInlineCompletionId.set(void 0,void 0),0):n}),this.selectedInlineCompletion=(0,d.nK)(this,e=>{let t=this._filteredInlineCompletionItems.read(e),i=this.selectedInlineCompletionIndex.read(e);return t[i]}),this.activeCommands=(0,d.bk)({owner:this,equalsFn:(0,v.ZC)()},e=>{var t,i;return null!==(i=null===(t=this.selectedInlineCompletion.read(e))||void 0===t?void 0:t.inlineCompletion.source.inlineCompletions.commands)&&void 0!==i?i:[]}),this.lastTriggerKind=this._source.inlineCompletions.map(this,e=>null==e?void 0:e.request.context.triggerKind),this.inlineCompletionsCount=(0,d.nK)(this,e=>this.lastTriggerKind.read(e)===F.bw.Explicit?this._filteredInlineCompletionItems.read(e).length:void 0),this.state=(0,d.bk)({owner:this,equalsFn:(e,t)=>e&&t?(0,W.bY)(e.ghostTexts,t.ghostTexts)&&e.inlineCompletion===t.inlineCompletion&&e.suggestItem===t.suggestItem:e===t},e=>{var t,i;let n=this.textModel,s=this.selectedSuggestItem.read(e);if(s){let o=en(s.toSingleTextEdit(),n),r=this._computeAugmentation(o,e),l=this._suggestPreviewEnabled.read(e);if(!l&&!r)return;let a=null!==(t=null==r?void 0:r.edit)&&void 0!==t?t:o,d=r?r.edit.text.length-o.text.length:0,h=this._suggestPreviewMode.read(e),u=this._positions.read(e),c=[a,...eC(this.textModel,u,a)],g=c.map((e,t)=>eo(e,n,h,u[t],d)).filter(w.$K),p=null!==(i=g[0])&&void 0!==i?i:new W.Vb(a.range.endLineNumber,[]);return{edits:c,primaryGhostText:p,ghostTexts:g,inlineCompletion:null==r?void 0:r.completion,suggestItem:s}}{if(!this._isActive.read(e))return;let t=this.selectedInlineCompletion.read(e);if(!t)return;let i=t.toSingleTextEdit(e),s=this._inlineSuggestMode.read(e),o=this._positions.read(e),r=[i,...eC(this.textModel,o,i)],l=r.map((e,t)=>eo(e,n,s,o[t],0)).filter(w.$K);if(!l[0])return;return{edits:r,primaryGhostText:l[0],ghostTexts:l,inlineCompletion:t,suggestItem:void 0}}}),this.ghostTexts=(0,d.bk)({owner:this,equalsFn:W.bY},e=>{let t=this.state.read(e);if(t)return t.ghostTexts}),this.primaryGhostText=(0,d.bk)({owner:this,equalsFn:W.HL},e=>{let t=this.state.read(e);if(t)return null==t?void 0:t.primaryGhostText}),this._register((0,d.jx)(this._fetchInlineCompletionsPromise)),this._register((0,d.EH)(e=>{var t,i;let n=this.state.read(e),s=null==n?void 0:n.inlineCompletion;if((null==s?void 0:s.semanticId)!==(null==p?void 0:p.semanticId)&&(p=s,s)){let e=s.inlineCompletion,n=e.source;null===(i=(t=n.provider).handleItemDidShow)||void 0===i||i.call(t,n.inlineCompletions,e.sourceInlineCompletion,e.insertText)}}))}async trigger(e){this._isActive.set(!0,e),await this._fetchInlineCompletionsPromise.get()}async triggerExplicitly(e){(0,d.c8)(e,e=>{this._isActive.set(!0,e),this._forceUpdateExplicitlySignal.trigger(e)}),await this._fetchInlineCompletionsPromise.get()}stop(e){(0,d.c8)(e,e=>{this._isActive.set(!1,e),this._source.clear(e)})}_computeAugmentation(e,t){let i=this.textModel,n=this._source.suggestWidgetInlineCompletions.read(t),s=n?n.inlineCompletions:[this.selectedInlineCompletion.read(t)].filter(w.$K),o=(0,E.Fr)(s,n=>{let s=n.toSingleTextEdit(t);return es(s=en(s,i,R.e.fromPositions(s.range.getStartPosition(),e.range.getEndPosition())),e)?{completion:n,edit:s}:void 0});return o}async _deltaSelectedInlineCompletionIndex(e){await this.triggerExplicitly();let t=this._filteredInlineCompletionItems.get()||[];if(t.length>0){let i=(this.selectedInlineCompletionIndex.get()+e+t.length)%t.length;this._selectedInlineCompletionId.set(t[i].semanticId,void 0)}else this._selectedInlineCompletionId.set(void 0,void 0)}async next(){await this._deltaSelectedInlineCompletionIndex(1)}async previous(){await this._deltaSelectedInlineCompletionIndex(-1)}async accept(e){var t;if(e.getModel()!==this.textModel)throw new I.he;let i=this.state.get();if(!i||i.primaryGhostText.isEmpty()||!i.inlineCompletion)return;let n=i.inlineCompletion.toInlineCompletion(void 0);if(e.pushUndoStop(),n.snippetInfo)e.executeEdits("inlineSuggestion.accept",[M.h.replace(n.range,""),...n.additionalTextEdits]),e.setPosition(n.snippetInfo.range.getStartPosition(),"inlineCompletionAccept"),null===(t=em.f.get(e))||void 0===t||t.insert(n.snippetInfo.snippet,{undoStopBefore:!1});else{let t=i.edits,s=ew(t).map(e=>A.Y.fromPositions(e));e.executeEdits("inlineSuggestion.accept",[...t.map(e=>M.h.replace(e.range,e.text)),...n.additionalTextEdits]),e.setSelections(s,"inlineCompletionAccept")}n.command&&n.source.addRef(),(0,d.PS)(e=>{this._source.clear(e),this._isActive.set(!1,e)}),n.command&&(await this._commandService.executeCommand(n.command.id,...n.command.arguments||[]).then(void 0,I.Cp),n.source.removeRef())}async acceptNextWord(e){await this._acceptNext(e,(e,t)=>{let i=this.textModel.getLanguageIdAtPosition(e.lineNumber,e.column),n=this._languageConfigurationService.getLanguageConfiguration(i),s=new RegExp(n.wordDefinition.source,n.wordDefinition.flags.replace("g","")),o=t.match(s),r=0;r=o&&void 0!==o.index?0===o.index?o[0].length:o.index:t.length;let l=/\s+/g.exec(t);return l&&void 0!==l.index&&l.index+l[0].length{let i=t.match(/\n/);return i&&void 0!==i.index?i.index+1:t.length},1)}async _acceptNext(e,t,i){if(e.getModel()!==this.textModel)throw new I.he;let n=this.state.get();if(!n||n.primaryGhostText.isEmpty()||!n.inlineCompletion)return;let s=n.primaryGhostText,o=n.inlineCompletion.toInlineCompletion(void 0);if(o.snippetInfo||o.filterText!==o.insertText){await this.accept(e);return}let r=s.parts[0],l=new S.L(s.lineNumber,r.column),a=r.text,d=t(l,a);if(d===a.length&&1===s.parts.length){this.accept(e);return}let h=a.substring(0,d),u=this._positions.get(),c=u[0];o.source.addRef();try{this._isAcceptingPartially=!0;try{e.pushUndoStop();let t=R.e.fromPositions(c,l),i=e.getModel().getValueInRange(t)+h,n=new P.At(t,i),s=[n,...eC(this.textModel,u,n)],o=ew(s).map(e=>A.Y.fromPositions(e));e.executeEdits("inlineSuggestion.accept",s.map(e=>M.h.replace(e.range,e.text))),e.setSelections(o,"inlineCompletionPartialAccept"),e.revealPositionInCenterIfOutsideViewport(e.getPosition(),1)}finally{this._isAcceptingPartially=!1}if(o.source.provider.handlePartialAccept){let t=R.e.fromPositions(o.range.getStartPosition(),O.A.ofText(h).addToPosition(l)),n=e.getModel().getValueInRange(t,1);o.source.provider.handlePartialAccept(o.source.inlineCompletions,o.sourceInlineCompletion,n.length,{kind:i})}}finally{o.source.removeRef()}}handleSuggestAccepted(e){var t,i;let n=en(e.toSingleTextEdit(),this.textModel),s=this._computeAugmentation(n,void 0);if(!s)return;let o=s.completion.inlineCompletion;null===(i=(t=o.source.provider).handlePartialAccept)||void 0===i||i.call(t,o.source.inlineCompletions,o.sourceInlineCompletion,n.text.length,{kind:2})}};function eC(e,t,i){if(1===t.length)return[];let n=t[0],s=t.slice(1),o=i.range.getStartPosition(),r=i.range.getEndPosition(),l=e.getValueInRange(R.e.fromPositions(n,r)),a=(0,Q.Bm)(n,o);if(a.lineNumber<1)return(0,I.dL)(new I.he(`positionWithinTextEdit line number should be bigger than 0. Invalid subtraction between ${n.toString()} and ${o.toString()}`)),[];let d=function(e,t){let i="",n=(0,T.Fw)(e);for(let e=t.lineNumber-1;e{let i=(0,Q.QO)((0,Q.Bm)(t,o),r),n=e.getValueInRange(R.e.fromPositions(t,i)),s=(0,T.Mh)(l,n),a=R.e.fromPositions(t,t.delta(0,s));return new P.At(a,d)})}function ew(e){let t=N._i.createSortPermutation(e,(e,t)=>R.e.compareRangesUsingStarts(e.range,t.range)),i=new P.PY(t.apply(e)),n=i.getNewRanges(),s=t.inverse().apply(n);return s.map(e=>e.getEndPosition())}eb=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ev(9,e_.TG),ev(10,ef.H),ev(11,B.c_)],eb);var ey=i(79915),eS=i(47755),eL=i(44623);class ek extends b.JT{get selectedItem(){return this._selectedItem}constructor(e,t,i,n){super(),this.editor=e,this.suggestControllerPreselector=t,this.checkModelVersion=i,this.onWillAccept=n,this.isSuggestWidgetVisible=!1,this.isShiftKeyPressed=!1,this._isActive=!1,this._currentSuggestItemInfo=void 0,this._selectedItem=(0,d.uh)(this,void 0),this._register(e.onKeyDown(e=>{e.shiftKey&&!this.isShiftKeyPressed&&(this.isShiftKeyPressed=!0,this.update(this._isActive))})),this._register(e.onKeyUp(e=>{e.shiftKey&&this.isShiftKeyPressed&&(this.isShiftKeyPressed=!1,this.update(this._isActive))}));let s=eL.n.get(this.editor);if(s){this._register(s.registerSelector({priority:100,select:(e,t,i)=>{(0,d.PS)(e=>this.checkModelVersion(e));let n=this.editor.getModel();if(!n)return -1;let o=this.suggestControllerPreselector(),r=o?en(o,n):void 0;if(!r)return -1;let l=S.L.lift(t),a=i.map((e,t)=>{let i=eD.fromSuggestion(s,n,l,e,this.isShiftKeyPressed),o=en(i.toSingleTextEdit(),n),a=es(r,o);return{index:t,valid:a,prefixLength:o.text.length,suggestItem:e}}).filter(e=>e&&e.valid&&e.prefixLength>0),h=(0,E.hV)(a,(0,N.tT)(e=>e.prefixLength,N.fv));return h?h.index:-1}}));let e=!1,t=()=>{e||(e=!0,this._register(s.widget.value.onDidShow(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})),this._register(s.widget.value.onDidHide(()=>{this.isSuggestWidgetVisible=!1,this.update(!1)})),this._register(s.widget.value.onDidFocus(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})))};this._register(ey.ju.once(s.model.onDidTrigger)(e=>{t()})),this._register(s.onWillInsertSuggestItem(e=>{let t=this.editor.getPosition(),i=this.editor.getModel();if(!t||!i)return;let n=eD.fromSuggestion(s,i,t,e.item,this.isShiftKeyPressed);this.onWillAccept(n)}))}this.update(this._isActive)}update(e){var t;let i=this.getSuggestItemInfo();this._isActive===e&&((t=this._currentSuggestItemInfo)===i||t&&i&&t.equals(i))||(this._isActive=e,this._currentSuggestItemInfo=i,(0,d.PS)(e=>{this.checkModelVersion(e),this._selectedItem.set(this._isActive?this._currentSuggestItemInfo:void 0,e)}))}getSuggestItemInfo(){let e=eL.n.get(this.editor);if(!e||!this.isSuggestWidgetVisible)return;let t=e.widget.value.getFocusedItem(),i=this.editor.getPosition(),n=this.editor.getModel();if(t&&i&&n)return eD.fromSuggestion(e,n,i,t.item,this.isShiftKeyPressed)}stopForceRenderingAbove(){let e=eL.n.get(this.editor);null==e||e.stopForceRenderingAbove()}forceRenderingAbove(){let e=eL.n.get(this.editor);null==e||e.forceRenderingAbove()}}class eD{static fromSuggestion(e,t,i,n,s){let{insertText:o}=n.completion,r=!1;if(4&n.completion.insertTextRules){let e=new Z.Yj().parse(o);e.children.length<100&&eS.l.adjustWhitespace(t,i,!0,e),o=e.toString(),r=!0}let l=e.getOverwriteInfo(n,s);return new eD(R.e.fromPositions(i.delta(0,-l.overwriteBefore),i.delta(0,Math.max(l.overwriteAfter,0))),o,n.completion.kind,r)}constructor(e,t,i,n){this.range=e,this.insertText=t,this.completionItemKind=i,this.isSnippetText=n}equals(e){return this.range.equalsRange(e.range)&&this.insertText===e.insertText&&this.completionItemKind===e.completionItemKind&&this.isSnippetText===e.isSnippetText}toSelectedSuggestionInfo(){return new F.ln(this.range,this.insertText,this.completionItemKind,this.isSnippetText)}toSingleTextEdit(){return new P.At(this.range,this.insertText)}}var ex=i(82801),eN=i(15232),eE=i(7634),eI=i(78426),eT=i(33336),eM=i(46417),eR=function(e,t){return function(i,n){t(i,n,e)}};let eA=r=class extends b.JT{static get(e){return e.getContribution(r.ID)}constructor(e,t,i,n,s,r,l,a,u,m){let L;super(),this.editor=e,this._instantiationService=t,this._contextKeyService=i,this._configurationService=n,this._commandService=s,this._debounceService=r,this._languageFeaturesService=l,this._accessibilitySignalService=a,this._keybindingService=u,this._accessibilityService=m,this.model=this._register((0,d.DN)("inlineCompletionModel",void 0)),this._textModelVersionId=(0,d.uh)(this,-1),this._positions=(0,h.Ku)({owner:this,equalsFn:(0,v.ZC)((0,v.$h)())},[new S.L(1,1)]),this._suggestWidgetAdaptor=this._register(new ek(this.editor,()=>{var e,t;return null===(t=null===(e=this.model.get())||void 0===e?void 0:e.selectedInlineCompletion.get())||void 0===t?void 0:t.toSingleTextEdit(void 0)},e=>this.updateObservables(e,o.Other),e=>{(0,d.PS)(t=>{var i;this.updateObservables(t,o.Other),null===(i=this.model.get())||void 0===i||i.handleSuggestAccepted(e)})})),this._enabledInConfig=(0,d.rD)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(62).enabled),this._isScreenReaderEnabled=(0,d.rD)(this._accessibilityService.onDidChangeScreenReaderOptimized,()=>this._accessibilityService.isScreenReaderOptimized()),this._editorDictationInProgress=(0,d.rD)(this._contextKeyService.onDidChangeContext,()=>!0===this._contextKeyService.getContext(this.editor.getDomNode()).getValue("editorDictation.inProgress")),this._enabled=(0,d.nK)(this,e=>this._enabledInConfig.read(e)&&(!this._isScreenReaderEnabled.read(e)||!this._editorDictationInProgress.read(e))),this._fontFamily=(0,d.rD)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(62).fontFamily),this._ghostTexts=(0,d.nK)(this,e=>{var t;let i=this.model.read(e);return null!==(t=null==i?void 0:i.ghostTexts.read(e))&&void 0!==t?t:[]}),this._stablizedGhostTexts=function(e,t){let i=(0,d.uh)("result",[]),n=[];return t.add((0,d.EH)(t=>{let s=e.read(t);(0,d.PS)(e=>{if(s.length!==n.length){n.length=s.length;for(let e=0;et.set(s[i],e))})})),i}(this._ghostTexts,this._store),this._ghostTextWidgets=(0,C.Zg)(this,this._stablizedGhostTexts,(e,t)=>t.add(this._instantiationService.createInstance(D.Wd,this.editor,{ghostText:e,minReservedLineCount:(0,d.Dz)(0),targetTextModel:this.model.map(e=>null==e?void 0:e.textModel)}))).recomputeInitiallyAndOnChange(this._store),this._debounceValue=this._debounceService.for(this._languageFeaturesService.inlineCompletionsProvider,"InlineCompletionsDebounce",{min:50,max:50}),this._playAccessibilitySignal=(0,d.GN)(this),this._isReadonly=(0,d.rD)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(91)),this._textModel=(0,d.rD)(this.editor.onDidChangeModel,()=>this.editor.getModel()),this._textModelIfWritable=(0,d.nK)(e=>this._isReadonly.read(e)?void 0:this._textModel.read(e)),this._register(new g.f(this._contextKeyService,this.model)),this._register((0,d.EH)(i=>{let n=this._textModelIfWritable.read(i);(0,d.PS)(i=>{if(this.model.set(void 0,i),this.updateObservables(i,o.Other),n){let s=t.createInstance(eb,n,this._suggestWidgetAdaptor.selectedItem,this._textModelVersionId,this._positions,this._debounceValue,(0,d.rD)(e.onDidChangeConfiguration,()=>e.getOption(118).preview),(0,d.rD)(e.onDidChangeConfiguration,()=>e.getOption(118).previewMode),(0,d.rD)(e.onDidChangeConfiguration,()=>e.getOption(62).mode),this._enabled);this.model.set(s,i)}})}));let k=this._register((0,p.aU)());this._register((0,d.EH)(e=>{let t=this._fontFamily.read(e);k.setStyle(""===t||"default"===t?"":` .monaco-editor .ghost-text-decoration, .monaco-editor .ghost-text-decoration-preview, @@ -521,7 +521,7 @@ commit_chars: ${null===(n=e.completion.commitCharacters)||void 0===n?void 0:n.jo ${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this._colorMapOverride=null,this.setTheme(I),this._onOSSchemeChanged(),this._register(e.onDidChange(()=>{this._codiconCSS=e.getCSS(),this._updateCSS()})),(0,s.uB)(E.E,"(forced-colors: active)",()=>{this._onOSSchemeChanged()})}registerEditorContainer(e){return n.OO(e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=n.dS(void 0,e=>{e.className="monaco-colors",e.textContent=this._allCSS}),this._styleElements.push(this._globalStyleElement)),L.JT.None}_registerShadowDomContainer(e){let t=n.dS(e,e=>{e.className="monaco-colors",e.textContent=this._allCSS});return this._styleElements.push(t),{dispose:()=>{for(let e=0;e{t.base===e&&t.notifyBaseUpdated()}),this._theme.themeName===e&&this.setTheme(e)}getColorTheme(){return this._theme}setColorMapOverride(e){this._colorMapOverride=e,this._updateThemeOrColorMap()}setTheme(e){let t;t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get(I),this._updateActualTheme(t)}_updateActualTheme(e){e&&this._theme!==e&&(this._theme=e,this._updateThemeOrColorMap())}_onOSSchemeChanged(){if(this._autoDetectHighContrast){let e=E.E.matchMedia("(forced-colors: active)").matches;if(e!==(0,k.c3)(this._theme.type)){let t;t=(0,k._T)(this._theme.type)?e?M:T:e?R:I,this._updateActualTheme(this._knownThemes.get(t))}}}setAutoDetectHighContrast(e){this._autoDetectHighContrast=e,this._onOSSchemeChanged()}_updateThemeOrColorMap(){let e=[],t={},i={addRule:i=>{t[i]||(e.push(i),t[i]=!0)}};P.getThemingParticipants().forEach(e=>e(this._theme,i,this._environment));let n=[];for(let e of A.getColors()){let t=this._theme.getColor(e.id,!0);t&&n.push(`${(0,_.QO2)(e.id)}: ${t.toString()};`)}i.addRule(`.monaco-editor, .monaco-diff-editor, .monaco-component { ${n.join("\n")} }`);let s=this._colorMapOverride||this._theme.tokenTheme.getColorMap();i.addRule(function(e){let t=[];for(let i=1,n=e.length;ie.textContent=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}getProductIconTheme(){return this._builtInProductIconTheme}}},88584:function(e,t,i){"use strict";var n=i(82508),s=i(51984),o=i(85095),r=i(42042),l=i(21388);class a extends n.R6{constructor(){super({id:"editor.action.toggleHighContrast",label:o.xi.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(e,t){let i=e.get(s.Z),n=i.getColorTheme();(0,r.c3)(n.type)?(i.setTheme(this._originalThemeName||((0,r._T)(n.type)?l.rW:l.TG)),this._originalThemeName=null):(i.setTheme((0,r._T)(n.type)?l.kR:l.MU),this._originalThemeName=n.themeName)}}(0,n.Qr)(a)},51984:function(e,t,i){"use strict";i.d(t,{Z:function(){return s}});var n=i(85327);let s=(0,n.yh)("themeService")},82801:function(e,t,i){"use strict";i.d(t,{NC:function(){return o},aj:function(){return l},vv:function(){return r}});let n="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function s(e,t){let i;return i=0===t.length?e:e.replace(/\{(\d+)\}/g,(e,i)=>{let n=i[0],s=t[n],o=e;return"string"==typeof s?o=s:("number"==typeof s||"boolean"==typeof s||null==s)&&(o=String(s)),o}),n&&(i="["+i.replace(/[aouei]/g,"$&$&")+"]"),i}function o(e,t,...i){return s(t,i)}function r(e,t,...i){let n=s(t,i);return{value:n,original:n}}function l(e){}},19186:function(e,t,i){"use strict";i.d(t,{V:function(){return n}});let n=new class{constructor(){this._implementations=[]}register(e){return this._implementations.push(e),{dispose:()=>{let t=this._implementations.indexOf(e);-1!==t&&this._implementations.splice(t,1),e.dispose()}}}getImplementations(){return this._implementations}}},15232:function(e,t,i){"use strict";i.d(t,{F:function(){return o},U:function(){return r}});var n=i(33336),s=i(85327);let o=(0,s.yh)("accessibilityService"),r=new n.uy("accessibilityModeEnabled",!1)},7634:function(e,t,i){"use strict";i.d(t,{IV:function(){return o},iP:function(){return a}});var n=i(82801),s=i(85327);let o=(0,s.yh)("accessibilitySignalService");Symbol("AcknowledgeDocCommentsToken");class r{static register(e){let t=new r(e.fileName);return t}constructor(e){this.fileName=e}}r.error=r.register({fileName:"error.mp3"}),r.warning=r.register({fileName:"warning.mp3"}),r.success=r.register({fileName:"success.mp3"}),r.foldedArea=r.register({fileName:"foldedAreas.mp3"}),r.break=r.register({fileName:"break.mp3"}),r.quickFixes=r.register({fileName:"quickFixes.mp3"}),r.taskCompleted=r.register({fileName:"taskCompleted.mp3"}),r.taskFailed=r.register({fileName:"taskFailed.mp3"}),r.terminalBell=r.register({fileName:"terminalBell.mp3"}),r.diffLineInserted=r.register({fileName:"diffLineInserted.mp3"}),r.diffLineDeleted=r.register({fileName:"diffLineDeleted.mp3"}),r.diffLineModified=r.register({fileName:"diffLineModified.mp3"}),r.chatRequestSent=r.register({fileName:"chatRequestSent.mp3"}),r.chatResponseReceived1=r.register({fileName:"chatResponseReceived1.mp3"}),r.chatResponseReceived2=r.register({fileName:"chatResponseReceived2.mp3"}),r.chatResponseReceived3=r.register({fileName:"chatResponseReceived3.mp3"}),r.chatResponseReceived4=r.register({fileName:"chatResponseReceived4.mp3"}),r.clear=r.register({fileName:"clear.mp3"}),r.save=r.register({fileName:"save.mp3"}),r.format=r.register({fileName:"format.mp3"}),r.voiceRecordingStarted=r.register({fileName:"voiceRecordingStarted.mp3"}),r.voiceRecordingStopped=r.register({fileName:"voiceRecordingStopped.mp3"}),r.progress=r.register({fileName:"progress.mp3"});class l{constructor(e){this.randomOneOf=e}}class a{constructor(e,t,i,n,s,o,r){this.sound=e,this.name=t,this.legacySoundSettingsKey=i,this.settingsKey=n,this.legacyAnnouncementSettingsKey=s,this.announcementMessage=o,this.delaySettingsKey=r}static register(e){let t=new l("randomOneOf"in e.sound?e.sound.randomOneOf:[e.sound]),i=new a(t,e.name,e.legacySoundSettingsKey,e.settingsKey,e.legacyAnnouncementSettingsKey,e.announcementMessage,e.delaySettingsKey);return a._signals.add(i),i}}a._signals=new Set,a.errorAtPosition=a.register({name:(0,n.NC)("accessibilitySignals.positionHasError.name","Error at Position"),sound:r.error,announcementMessage:(0,n.NC)("accessibility.signals.positionHasError","Error"),settingsKey:"accessibility.signals.positionHasError",delaySettingsKey:"accessibility.signalOptions.delays.errorAtPosition"}),a.warningAtPosition=a.register({name:(0,n.NC)("accessibilitySignals.positionHasWarning.name","Warning at Position"),sound:r.warning,announcementMessage:(0,n.NC)("accessibility.signals.positionHasWarning","Warning"),settingsKey:"accessibility.signals.positionHasWarning",delaySettingsKey:"accessibility.signalOptions.delays.warningAtPosition"}),a.errorOnLine=a.register({name:(0,n.NC)("accessibilitySignals.lineHasError.name","Error on Line"),sound:r.error,legacySoundSettingsKey:"audioCues.lineHasError",legacyAnnouncementSettingsKey:"accessibility.alert.error",announcementMessage:(0,n.NC)("accessibility.signals.lineHasError","Error on Line"),settingsKey:"accessibility.signals.lineHasError"}),a.warningOnLine=a.register({name:(0,n.NC)("accessibilitySignals.lineHasWarning.name","Warning on Line"),sound:r.warning,legacySoundSettingsKey:"audioCues.lineHasWarning",legacyAnnouncementSettingsKey:"accessibility.alert.warning",announcementMessage:(0,n.NC)("accessibility.signals.lineHasWarning","Warning on Line"),settingsKey:"accessibility.signals.lineHasWarning"}),a.foldedArea=a.register({name:(0,n.NC)("accessibilitySignals.lineHasFoldedArea.name","Folded Area on Line"),sound:r.foldedArea,legacySoundSettingsKey:"audioCues.lineHasFoldedArea",legacyAnnouncementSettingsKey:"accessibility.alert.foldedArea",announcementMessage:(0,n.NC)("accessibility.signals.lineHasFoldedArea","Folded"),settingsKey:"accessibility.signals.lineHasFoldedArea"}),a.break=a.register({name:(0,n.NC)("accessibilitySignals.lineHasBreakpoint.name","Breakpoint on Line"),sound:r.break,legacySoundSettingsKey:"audioCues.lineHasBreakpoint",legacyAnnouncementSettingsKey:"accessibility.alert.breakpoint",announcementMessage:(0,n.NC)("accessibility.signals.lineHasBreakpoint","Breakpoint"),settingsKey:"accessibility.signals.lineHasBreakpoint"}),a.inlineSuggestion=a.register({name:(0,n.NC)("accessibilitySignals.lineHasInlineSuggestion.name","Inline Suggestion on Line"),sound:r.quickFixes,legacySoundSettingsKey:"audioCues.lineHasInlineSuggestion",settingsKey:"accessibility.signals.lineHasInlineSuggestion"}),a.terminalQuickFix=a.register({name:(0,n.NC)("accessibilitySignals.terminalQuickFix.name","Terminal Quick Fix"),sound:r.quickFixes,legacySoundSettingsKey:"audioCues.terminalQuickFix",legacyAnnouncementSettingsKey:"accessibility.alert.terminalQuickFix",announcementMessage:(0,n.NC)("accessibility.signals.terminalQuickFix","Quick Fix"),settingsKey:"accessibility.signals.terminalQuickFix"}),a.onDebugBreak=a.register({name:(0,n.NC)("accessibilitySignals.onDebugBreak.name","Debugger Stopped on Breakpoint"),sound:r.break,legacySoundSettingsKey:"audioCues.onDebugBreak",legacyAnnouncementSettingsKey:"accessibility.alert.onDebugBreak",announcementMessage:(0,n.NC)("accessibility.signals.onDebugBreak","Breakpoint"),settingsKey:"accessibility.signals.onDebugBreak"}),a.noInlayHints=a.register({name:(0,n.NC)("accessibilitySignals.noInlayHints","No Inlay Hints on Line"),sound:r.error,legacySoundSettingsKey:"audioCues.noInlayHints",legacyAnnouncementSettingsKey:"accessibility.alert.noInlayHints",announcementMessage:(0,n.NC)("accessibility.signals.noInlayHints","No Inlay Hints"),settingsKey:"accessibility.signals.noInlayHints"}),a.taskCompleted=a.register({name:(0,n.NC)("accessibilitySignals.taskCompleted","Task Completed"),sound:r.taskCompleted,legacySoundSettingsKey:"audioCues.taskCompleted",legacyAnnouncementSettingsKey:"accessibility.alert.taskCompleted",announcementMessage:(0,n.NC)("accessibility.signals.taskCompleted","Task Completed"),settingsKey:"accessibility.signals.taskCompleted"}),a.taskFailed=a.register({name:(0,n.NC)("accessibilitySignals.taskFailed","Task Failed"),sound:r.taskFailed,legacySoundSettingsKey:"audioCues.taskFailed",legacyAnnouncementSettingsKey:"accessibility.alert.taskFailed",announcementMessage:(0,n.NC)("accessibility.signals.taskFailed","Task Failed"),settingsKey:"accessibility.signals.taskFailed"}),a.terminalCommandFailed=a.register({name:(0,n.NC)("accessibilitySignals.terminalCommandFailed","Terminal Command Failed"),sound:r.error,legacySoundSettingsKey:"audioCues.terminalCommandFailed",legacyAnnouncementSettingsKey:"accessibility.alert.terminalCommandFailed",announcementMessage:(0,n.NC)("accessibility.signals.terminalCommandFailed","Command Failed"),settingsKey:"accessibility.signals.terminalCommandFailed"}),a.terminalCommandSucceeded=a.register({name:(0,n.NC)("accessibilitySignals.terminalCommandSucceeded","Terminal Command Succeeded"),sound:r.success,announcementMessage:(0,n.NC)("accessibility.signals.terminalCommandSucceeded","Command Succeeded"),settingsKey:"accessibility.signals.terminalCommandSucceeded"}),a.terminalBell=a.register({name:(0,n.NC)("accessibilitySignals.terminalBell","Terminal Bell"),sound:r.terminalBell,legacySoundSettingsKey:"audioCues.terminalBell",legacyAnnouncementSettingsKey:"accessibility.alert.terminalBell",announcementMessage:(0,n.NC)("accessibility.signals.terminalBell","Terminal Bell"),settingsKey:"accessibility.signals.terminalBell"}),a.notebookCellCompleted=a.register({name:(0,n.NC)("accessibilitySignals.notebookCellCompleted","Notebook Cell Completed"),sound:r.taskCompleted,legacySoundSettingsKey:"audioCues.notebookCellCompleted",legacyAnnouncementSettingsKey:"accessibility.alert.notebookCellCompleted",announcementMessage:(0,n.NC)("accessibility.signals.notebookCellCompleted","Notebook Cell Completed"),settingsKey:"accessibility.signals.notebookCellCompleted"}),a.notebookCellFailed=a.register({name:(0,n.NC)("accessibilitySignals.notebookCellFailed","Notebook Cell Failed"),sound:r.taskFailed,legacySoundSettingsKey:"audioCues.notebookCellFailed",legacyAnnouncementSettingsKey:"accessibility.alert.notebookCellFailed",announcementMessage:(0,n.NC)("accessibility.signals.notebookCellFailed","Notebook Cell Failed"),settingsKey:"accessibility.signals.notebookCellFailed"}),a.diffLineInserted=a.register({name:(0,n.NC)("accessibilitySignals.diffLineInserted","Diff Line Inserted"),sound:r.diffLineInserted,legacySoundSettingsKey:"audioCues.diffLineInserted",settingsKey:"accessibility.signals.diffLineInserted"}),a.diffLineDeleted=a.register({name:(0,n.NC)("accessibilitySignals.diffLineDeleted","Diff Line Deleted"),sound:r.diffLineDeleted,legacySoundSettingsKey:"audioCues.diffLineDeleted",settingsKey:"accessibility.signals.diffLineDeleted"}),a.diffLineModified=a.register({name:(0,n.NC)("accessibilitySignals.diffLineModified","Diff Line Modified"),sound:r.diffLineModified,legacySoundSettingsKey:"audioCues.diffLineModified",settingsKey:"accessibility.signals.diffLineModified"}),a.chatRequestSent=a.register({name:(0,n.NC)("accessibilitySignals.chatRequestSent","Chat Request Sent"),sound:r.chatRequestSent,legacySoundSettingsKey:"audioCues.chatRequestSent",legacyAnnouncementSettingsKey:"accessibility.alert.chatRequestSent",announcementMessage:(0,n.NC)("accessibility.signals.chatRequestSent","Chat Request Sent"),settingsKey:"accessibility.signals.chatRequestSent"}),a.chatResponseReceived=a.register({name:(0,n.NC)("accessibilitySignals.chatResponseReceived","Chat Response Received"),legacySoundSettingsKey:"audioCues.chatResponseReceived",sound:{randomOneOf:[r.chatResponseReceived1,r.chatResponseReceived2,r.chatResponseReceived3,r.chatResponseReceived4]},settingsKey:"accessibility.signals.chatResponseReceived"}),a.progress=a.register({name:(0,n.NC)("accessibilitySignals.progress","Progress"),sound:r.progress,legacySoundSettingsKey:"audioCues.chatResponsePending",legacyAnnouncementSettingsKey:"accessibility.alert.progress",announcementMessage:(0,n.NC)("accessibility.signals.progress","Progress"),settingsKey:"accessibility.signals.progress"}),a.clear=a.register({name:(0,n.NC)("accessibilitySignals.clear","Clear"),sound:r.clear,legacySoundSettingsKey:"audioCues.clear",legacyAnnouncementSettingsKey:"accessibility.alert.clear",announcementMessage:(0,n.NC)("accessibility.signals.clear","Clear"),settingsKey:"accessibility.signals.clear"}),a.save=a.register({name:(0,n.NC)("accessibilitySignals.save","Save"),sound:r.save,legacySoundSettingsKey:"audioCues.save",legacyAnnouncementSettingsKey:"accessibility.alert.save",announcementMessage:(0,n.NC)("accessibility.signals.save","Save"),settingsKey:"accessibility.signals.save"}),a.format=a.register({name:(0,n.NC)("accessibilitySignals.format","Format"),sound:r.format,legacySoundSettingsKey:"audioCues.format",legacyAnnouncementSettingsKey:"accessibility.alert.format",announcementMessage:(0,n.NC)("accessibility.signals.format","Format"),settingsKey:"accessibility.signals.format"}),a.voiceRecordingStarted=a.register({name:(0,n.NC)("accessibilitySignals.voiceRecordingStarted","Voice Recording Started"),sound:r.voiceRecordingStarted,legacySoundSettingsKey:"audioCues.voiceRecordingStarted",settingsKey:"accessibility.signals.voiceRecordingStarted"}),a.voiceRecordingStopped=a.register({name:(0,n.NC)("accessibilitySignals.voiceRecordingStopped","Voice Recording Stopped"),sound:r.voiceRecordingStopped,legacySoundSettingsKey:"audioCues.voiceRecordingStopped",settingsKey:"accessibility.signals.voiceRecordingStopped"})},15385:function(e,t,i){"use strict";function n(e){return e&&"object"==typeof e&&"string"==typeof e.original&&"string"==typeof e.value}function s(e){return!!e&&void 0!==e.condition}i.d(t,{X:function(){return s},q:function(){return n}})},73711:function(e,t,i){"use strict";i.d(t,{Id:function(){return O},LJ:function(){return E},Mm:function(){return M},vr:function(){return I}});var n=i(81845),s=i(69629),o=i(13546),r=i(30496),l=i(76886),a=i(25168),d=i(70784),h=i(58022);i(90897);var u=i(82801),c=i(30467),g=i(15385),p=i(33336),m=i(10727),f=i(85327),_=i(46417),v=i(16575),b=i(63179),C=i(55150),w=i(29527),y=i(42042),S=i(24162),L=i(43616),k=i(72485),D=i(15232),x=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},N=function(e,t){return function(i,n){t(i,n,e)}};function E(e,t,i,s){let o=e.getActions(t),r=n._q.getInstance(),l=r.keyStatus.altKey||(h.ED||h.IJ)&&r.keyStatus.shiftKey;T(o,i,l,s?e=>e===s:e=>"navigation"===e)}function I(e,t,i,n,s,o){let r=e.getActions(t),l="string"==typeof n?e=>e===n:n;T(r,i,!1,l,s,o)}function T(e,t,i,n=e=>"navigation"===e,s=()=>!1,o=!1){let r,a;Array.isArray(t)?(r=t,a=t):(r=t.primary,a=t.secondary);let d=new Set;for(let[t,s]of e){let e;for(let h of(n(t)?(e=r).length>0&&o&&e.push(new l.Z0):(e=a).length>0&&e.push(new l.Z0),s)){i&&(h=h instanceof c.U8&&h.alt?h.alt:h);let n=e.push(h);h instanceof l.wY&&d.add({group:t,action:h,index:n-1})}}for(let{group:e,action:t,index:i}of d){let o=n(e)?r:a,l=t.actions;s(t,e,o.length)&&o.splice(i,1,...l)}}let M=class extends o.gU{constructor(e,t,i,s,o,r,l,a){super(void 0,e,{icon:!!(e.class||e.item.icon),label:!e.class&&!e.item.icon,draggable:null==t?void 0:t.draggable,keybinding:null==t?void 0:t.keybinding,hoverDelegate:null==t?void 0:t.hoverDelegate}),this._keybindingService=i,this._notificationService=s,this._contextKeyService=o,this._themeService=r,this._contextMenuService=l,this._accessibilityService=a,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new d.XK),this._altKey=n._q.getInstance()}get _menuItemAction(){return this._action}get _commandAction(){return this._wantsAltCommand&&this._menuItemAction.alt||this._menuItemAction}async onClick(e){e.preventDefault(),e.stopPropagation();try{await this.actionRunner.run(this._commandAction,this._context)}catch(e){this._notificationService.error(e)}}render(e){if(super.render(e),e.classList.add("menu-entry"),this.options.icon&&this._updateItemClass(this._menuItemAction.item),this._menuItemAction.alt){let t=!1,i=()=>{var e;let i=!!(null===(e=this._menuItemAction.alt)||void 0===e?void 0:e.enabled)&&(!this._accessibilityService.isMotionReduced()||t)&&(this._altKey.keyStatus.altKey||this._altKey.keyStatus.shiftKey&&t);i!==this._wantsAltCommand&&(this._wantsAltCommand=i,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._register(this._altKey.event(i)),this._register((0,n.nm)(e,"mouseleave",e=>{t=!1,i()})),this._register((0,n.nm)(e,"mouseenter",e=>{t=!0,i()})),i()}}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}getTooltip(){var e;let t=this._keybindingService.lookupKeybinding(this._commandAction.id,this._contextKeyService),i=t&&t.getLabel(),n=this._commandAction.tooltip||this._commandAction.label,s=i?(0,u.NC)("titleAndKb","{0} ({1})",n,i):n;if(!this._wantsAltCommand&&(null===(e=this._menuItemAction.alt)||void 0===e?void 0:e.enabled)){let e=this._menuItemAction.alt.tooltip||this._menuItemAction.alt.label,t=this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id,this._contextKeyService),i=t&&t.getLabel(),n=i?(0,u.NC)("titleAndKb","{0} ({1})",e,i):e;s=(0,u.NC)("titleAndKbAndAlt","{0}\n[{1}] {2}",s,a.xo.modifierLabels[h.OS].altKey,n)}return s}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._updateItemClass(this._menuItemAction.item))}_updateItemClass(e){this._itemClassDispose.value=void 0;let{element:t,label:i}=this;if(!t||!i)return;let s=this._commandAction.checked&&(0,g.X)(e.toggled)&&e.toggled.icon?e.toggled.icon:e.icon;if(s){if(w.k.isThemeIcon(s)){let e=w.k.asClassNameArray(s);i.classList.add(...e),this._itemClassDispose.value=(0,d.OF)(()=>{i.classList.remove(...e)})}else i.style.backgroundImage=(0,y._T)(this._themeService.getColorTheme().type)?(0,n.wY)(s.dark):(0,n.wY)(s.light),i.classList.add("icon"),this._itemClassDispose.value=(0,d.F8)((0,d.OF)(()=>{i.style.backgroundImage="",i.classList.remove("icon")}),this._themeService.onDidColorThemeChange(()=>{this.updateClass()}))}}};M=x([N(2,_.d),N(3,v.lT),N(4,p.i6),N(5,C.XE),N(6,m.i),N(7,D.F)],M);let R=class extends r.C{constructor(e,t,i,n,s){var o,r,l;let a={...t,menuAsChild:null!==(o=null==t?void 0:t.menuAsChild)&&void 0!==o&&o,classNames:null!==(r=null==t?void 0:t.classNames)&&void 0!==r?r:w.k.isThemeIcon(e.item.icon)?w.k.asClassName(e.item.icon):void 0,keybindingProvider:null!==(l=null==t?void 0:t.keybindingProvider)&&void 0!==l?l:e=>i.lookupKeybinding(e.id)};super(e,{getActions:()=>e.actions},n,a),this._keybindingService=i,this._contextMenuService=n,this._themeService=s}render(e){super.render(e),(0,S.p_)(this.element),e.classList.add("menu-entry");let t=this._action,{icon:i}=t.item;if(i&&!w.k.isThemeIcon(i)){this.element.classList.add("icon");let e=()=>{this.element&&(this.element.style.backgroundImage=(0,y._T)(this._themeService.getColorTheme().type)?(0,n.wY)(i.dark):(0,n.wY)(i.light))};e(),this._register(this._themeService.onDidColorThemeChange(()=>{e()}))}}};R=x([N(2,_.d),N(3,m.i),N(4,C.XE)],R);let A=class extends o.YH{constructor(e,t,i,n,s,o,a,d){var h,u,g;let p;super(null,e),this._keybindingService=i,this._notificationService=n,this._contextMenuService=s,this._menuService=o,this._instaService=a,this._storageService=d,this._container=null,this._options=t,this._storageKey=`${e.item.submenu.id}_lastActionId`;let m=(null==t?void 0:t.persistLastActionId)?d.get(this._storageKey,1):void 0;m&&(p=e.actions.find(e=>m===e.id)),p||(p=e.actions[0]),this._defaultAction=this._instaService.createInstance(M,p,{keybinding:this._getDefaultActionKeybindingLabel(p)});let f={keybindingProvider:e=>this._keybindingService.lookupKeybinding(e.id),...t,menuAsChild:null===(h=null==t?void 0:t.menuAsChild)||void 0===h||h,classNames:null!==(u=null==t?void 0:t.classNames)&&void 0!==u?u:["codicon","codicon-chevron-down"],actionRunner:null!==(g=null==t?void 0:t.actionRunner)&&void 0!==g?g:new l.Wi};this._dropdown=new r.C(e,e.actions,this._contextMenuService,f),this._register(this._dropdown.actionRunner.onDidRun(e=>{e.action instanceof c.U8&&this.update(e.action)}))}update(e){var t;(null===(t=this._options)||void 0===t?void 0:t.persistLastActionId)&&this._storageService.store(this._storageKey,e.id,1,1),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(M,e,{keybinding:this._getDefaultActionKeybindingLabel(e)}),this._defaultAction.actionRunner=new class extends l.Wi{async runAction(e,t){await e.run(void 0)}},this._container&&this._defaultAction.render((0,n.Ce)(this._container,(0,n.$)(".action-container")))}_getDefaultActionKeybindingLabel(e){var t;let i;if(null===(t=this._options)||void 0===t?void 0:t.renderKeybindingWithDefaultActionLabel){let t=this._keybindingService.lookupKeybinding(e.id);t&&(i=`(${t.getLabel()})`)}return i}setActionContext(e){super.setActionContext(e),this._defaultAction.setActionContext(e),this._dropdown.setActionContext(e)}render(e){this._container=e,super.render(this._container),this._container.classList.add("monaco-dropdown-with-default");let t=(0,n.$)(".action-container");this._defaultAction.render((0,n.R3)(this._container,t)),this._register((0,n.nm)(t,n.tw.KEY_DOWN,e=>{let t=new s.y(e);t.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),t.stopPropagation())}));let i=(0,n.$)(".dropdown-action-container");this._dropdown.render((0,n.R3)(this._container,i)),this._register((0,n.nm)(i,n.tw.KEY_DOWN,e=>{var t;let i=new s.y(e);i.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),null===(t=this._defaultAction.element)||void 0===t||t.focus(),i.stopPropagation())}))}focus(e){e?this._dropdown.focus():(this._defaultAction.element.tabIndex=0,this._defaultAction.element.focus())}blur(){this._defaultAction.element.tabIndex=-1,this._dropdown.blur(),this._container.blur()}setFocusable(e){e?this._defaultAction.element.tabIndex=0:(this._defaultAction.element.tabIndex=-1,this._dropdown.setFocusable(!1))}dispose(){this._defaultAction.dispose(),this._dropdown.dispose(),super.dispose()}};A=x([N(2,_.d),N(3,v.lT),N(4,m.i),N(5,c.co),N(6,f.TG),N(7,b.Uy)],A);let P=class extends o.Lc{constructor(e,t){super(null,e,e.actions.map(e=>({text:e.id===l.Z0.ID?"─────────":e.label,isDisabled:!e.enabled})),0,t,k.BM,{ariaLabel:e.tooltip,optionsAsChildren:!0}),this.select(Math.max(0,e.actions.findIndex(e=>e.checked)))}render(e){super.render(e),e.style.borderColor=(0,L.n_1)(L.a9O)}runAction(e,t){let i=this.action.actions[t];i&&this.actionRunner.run(i)}};function O(e,t,i){return t instanceof c.U8?e.createInstance(M,t,i):t instanceof c.NZ?t.item.isSelection?e.createInstance(P,t):t.item.rememberDefaultAction?e.createInstance(A,t,{...i,persistLastActionId:!0}):e.createInstance(R,t,i):void 0}P=x([N(1,m.u)],P)},77081:function(e,t,i){"use strict";i.d(t,{r:function(){return T},T:function(){return I}});var n=i(81845),s=i(69362),o=i(21489),r=i(30496),l=i(76886),a=i(47039),d=i(29527),h=i(79915),u=i(70784);i(54651);var c=i(82801),g=i(82905);class p extends u.JT{constructor(e,t,i={orientation:0}){var n;super(),this.submenuActionViewItems=[],this.hasSecondaryActions=!1,this._onDidChangeDropdownVisibility=this._register(new h.z5),this.onDidChangeDropdownVisibility=this._onDidChangeDropdownVisibility.event,this.disposables=this._register(new u.SL),i.hoverDelegate=null!==(n=i.hoverDelegate)&&void 0!==n?n:this._register((0,g.p0)()),this.options=i,this.lookupKeybindings="function"==typeof this.options.getKeyBinding,this.toggleMenuAction=this._register(new m(()=>{var e;return null===(e=this.toggleMenuActionViewItem)||void 0===e?void 0:e.show()},i.toggleMenuTitle)),this.element=document.createElement("div"),this.element.className="monaco-toolbar",e.appendChild(this.element),this.actionBar=this._register(new o.o(this.element,{orientation:i.orientation,ariaLabel:i.ariaLabel,actionRunner:i.actionRunner,allowContextMenu:i.allowContextMenu,highlightToggledItems:i.highlightToggledItems,hoverDelegate:i.hoverDelegate,actionViewItemProvider:(e,n)=>{var s;if(e.id===m.ID)return this.toggleMenuActionViewItem=new r.C(e,e.menuActions,t,{actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,keybindingProvider:this.options.getKeyBinding,classNames:d.k.asClassNameArray(null!==(s=i.moreIcon)&&void 0!==s?s:a.l.toolBarMore),anchorAlignmentProvider:this.options.anchorAlignmentProvider,menuAsChild:!!this.options.renderDropdownAsChildElement,skipTelemetry:this.options.skipTelemetry,isMenu:!0,hoverDelegate:this.options.hoverDelegate}),this.toggleMenuActionViewItem.setActionContext(this.actionBar.context),this.disposables.add(this._onDidChangeDropdownVisibility.add(this.toggleMenuActionViewItem.onDidChangeVisibility)),this.toggleMenuActionViewItem;if(i.actionViewItemProvider){let t=i.actionViewItemProvider(e,n);if(t)return t}if(e instanceof l.wY){let i=new r.C(e,e.actions,t,{actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,keybindingProvider:this.options.getKeyBinding,classNames:e.class,anchorAlignmentProvider:this.options.anchorAlignmentProvider,menuAsChild:!!this.options.renderDropdownAsChildElement,skipTelemetry:this.options.skipTelemetry,hoverDelegate:this.options.hoverDelegate});return i.setActionContext(this.actionBar.context),this.submenuActionViewItems.push(i),this.disposables.add(this._onDidChangeDropdownVisibility.add(i.onDidChangeVisibility)),i}}}))}set actionRunner(e){this.actionBar.actionRunner=e}get actionRunner(){return this.actionBar.actionRunner}getElement(){return this.element}getItemAction(e){return this.actionBar.getAction(e)}setActions(e,t){this.clear();let i=e?e.slice(0):[];this.hasSecondaryActions=!!(t&&t.length>0),this.hasSecondaryActions&&t&&(this.toggleMenuAction.menuActions=t.slice(0),i.push(this.toggleMenuAction)),i.forEach(e=>{this.actionBar.push(e,{icon:!0,label:!1,keybinding:this.getKeybindingLabel(e)})})}getKeybindingLabel(e){var t,i,n;let s=this.lookupKeybindings?null===(i=(t=this.options).getKeyBinding)||void 0===i?void 0:i.call(t,e):void 0;return null!==(n=null==s?void 0:s.getLabel())&&void 0!==n?n:void 0}clear(){this.submenuActionViewItems=[],this.disposables.clear(),this.actionBar.clear()}dispose(){this.clear(),this.disposables.dispose(),super.dispose()}}class m extends l.aU{constructor(e,t){super(m.ID,t=t||c.NC("moreActions","More Actions..."),void 0,!0),this._menuActions=[],this.toggleDropdownMenu=e}async run(){this.toggleDropdownMenu()}get menuActions(){return this._menuActions}set menuActions(e){this._menuActions=e}}m.ID="toolbar.toggle.more";var f=i(40789),_=i(6988),v=i(32378),b=i(93072),C=i(73711),w=i(30467),y=i(24631),S=i(81903),L=i(33336),k=i(10727),D=i(46417),x=i(77207),N=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},E=function(e,t){return function(i,n){t(i,n,e)}};let I=class extends p{constructor(e,t,i,n,s,o,r,l){super(e,s,{getKeyBinding:e=>{var t;return null!==(t=o.lookupKeybinding(e.id))&&void 0!==t?t:void 0},...t,allowContextMenu:!0,skipTelemetry:"string"==typeof(null==t?void 0:t.telemetrySource)}),this._options=t,this._menuService=i,this._contextKeyService=n,this._contextMenuService=s,this._keybindingService=o,this._commandService=r,this._sessionDisposables=this._store.add(new u.SL);let a=null==t?void 0:t.telemetrySource;a&&this._store.add(this.actionBar.onDidRun(e=>l.publicLog2("workbenchActionExecuted",{id:e.action.id,from:a})))}setActions(e,t=[],i){var o,r,a;this._sessionDisposables.clear();let d=e.slice(),h=t.slice(),u=[],g=0,p=[],v=!1;if((null===(o=this._options)||void 0===o?void 0:o.hiddenItemStrategy)!==-1)for(let e=0;enull==e?void 0:e.id)),t=this._options.overflowBehavior.maxItems-e.size,i=0;for(let n=0;n=t&&(d[n]=void 0,p[n]=s))}}(0,f.Rs)(d),(0,f.Rs)(p),super.setActions(d,l.Z0.join(p,h)),(u.length>0||d.length>0)&&this._sessionDisposables.add((0,n.nm)(this.getElement(),"contextmenu",e=>{var t,o,r,a,d;let h=new s.n((0,n.Jj)(this.getElement()),e),p=this.getItemAction(h.target);if(!p)return;h.preventDefault(),h.stopPropagation();let f=[];if(p instanceof w.U8&&p.menuKeybinding?f.push(p.menuKeybinding):p instanceof w.NZ||p instanceof m||f.push((0,y.p)(p.id,void 0,this._commandService,this._keybindingService)),u.length>0){let e=!1;if(1===g&&(null===(t=this._options)||void 0===t?void 0:t.hiddenItemStrategy)===0){e=!0;for(let e=0;ethis._menuService.resetHiddenStates(i)}))),0!==_.length&&this._contextMenuService.showContextMenu({getAnchor:()=>h,getActions:()=>_,menuId:null===(r=this._options)||void 0===r?void 0:r.contextMenu,menuActionOptions:{renderShortTitle:!0,...null===(a=this._options)||void 0===a?void 0:a.menuOptions},skipTelemetry:"string"==typeof(null===(d=this._options)||void 0===d?void 0:d.telemetrySource),contextKeyService:this._contextKeyService})}))}};I=N([E(2,w.co),E(3,L.i6),E(4,k.i),E(5,D.d),E(6,S.H),E(7,x.b)],I);let T=class extends I{constructor(e,t,i,n,s,o,r,l,a){super(e,{resetMenu:t,...i},n,s,o,r,l,a),this._onDidChangeMenuItems=this._store.add(new h.Q5),this.onDidChangeMenuItems=this._onDidChangeMenuItems.event;let d=this._store.add(n.createMenu(t,s,{emitEventsForSubmenuChanges:!0})),u=()=>{var t,n,s;let o=[],r=[];(0,C.vr)(d,null==i?void 0:i.menuOptions,{primary:o,secondary:r},null===(t=null==i?void 0:i.toolbarOptions)||void 0===t?void 0:t.primaryGroup,null===(n=null==i?void 0:i.toolbarOptions)||void 0===n?void 0:n.shouldInlineSubmenu,null===(s=null==i?void 0:i.toolbarOptions)||void 0===s?void 0:s.useSeparatorsInPrimaryActions),e.classList.toggle("has-no-actions",0===o.length&&0===r.length),super.setActions(o,r)};this._store.add(d.onDidChange(()=>{u(),this._onDidChangeMenuItems.fire(this)})),u()}setActions(){throw new v.he("This toolbar is populated from a menu.")}};T=N([E(3,w.co),E(4,L.i6),E(5,k.i),E(6,D.d),E(7,S.H),E(8,x.b)],T)},30467:function(e,t,i){"use strict";i.d(t,{BH:function(){return b},Ke:function(){return y},NZ:function(){return C},U8:function(){return w},co:function(){return _},eH:function(){return f},f6:function(){return m},r1:function(){return S},vr:function(){return p}});var n,s=i(76886),o=i(29527),r=i(79915),l=i(70784),a=i(92270),d=i(81903),h=i(33336),u=i(85327),c=i(93589),g=function(e,t){return function(i,n){t(i,n,e)}};function p(e){return void 0!==e.command}function m(e){return void 0!==e.submenu}class f{constructor(e){if(f._instances.has(e))throw TypeError(`MenuId with identifier '${e}' already exists. Use MenuId.for(ident) or a unique identifier`);f._instances.set(e,this),this.id=e}}f._instances=new Map,f.CommandPalette=new f("CommandPalette"),f.DebugBreakpointsContext=new f("DebugBreakpointsContext"),f.DebugCallStackContext=new f("DebugCallStackContext"),f.DebugConsoleContext=new f("DebugConsoleContext"),f.DebugVariablesContext=new f("DebugVariablesContext"),f.NotebookVariablesContext=new f("NotebookVariablesContext"),f.DebugHoverContext=new f("DebugHoverContext"),f.DebugWatchContext=new f("DebugWatchContext"),f.DebugToolBar=new f("DebugToolBar"),f.DebugToolBarStop=new f("DebugToolBarStop"),f.EditorContext=new f("EditorContext"),f.SimpleEditorContext=new f("SimpleEditorContext"),f.EditorContent=new f("EditorContent"),f.EditorLineNumberContext=new f("EditorLineNumberContext"),f.EditorContextCopy=new f("EditorContextCopy"),f.EditorContextPeek=new f("EditorContextPeek"),f.EditorContextShare=new f("EditorContextShare"),f.EditorTitle=new f("EditorTitle"),f.EditorTitleRun=new f("EditorTitleRun"),f.EditorTitleContext=new f("EditorTitleContext"),f.EditorTitleContextShare=new f("EditorTitleContextShare"),f.EmptyEditorGroup=new f("EmptyEditorGroup"),f.EmptyEditorGroupContext=new f("EmptyEditorGroupContext"),f.EditorTabsBarContext=new f("EditorTabsBarContext"),f.EditorTabsBarShowTabsSubmenu=new f("EditorTabsBarShowTabsSubmenu"),f.EditorTabsBarShowTabsZenModeSubmenu=new f("EditorTabsBarShowTabsZenModeSubmenu"),f.EditorActionsPositionSubmenu=new f("EditorActionsPositionSubmenu"),f.ExplorerContext=new f("ExplorerContext"),f.ExplorerContextShare=new f("ExplorerContextShare"),f.ExtensionContext=new f("ExtensionContext"),f.GlobalActivity=new f("GlobalActivity"),f.CommandCenter=new f("CommandCenter"),f.CommandCenterCenter=new f("CommandCenterCenter"),f.LayoutControlMenuSubmenu=new f("LayoutControlMenuSubmenu"),f.LayoutControlMenu=new f("LayoutControlMenu"),f.MenubarMainMenu=new f("MenubarMainMenu"),f.MenubarAppearanceMenu=new f("MenubarAppearanceMenu"),f.MenubarDebugMenu=new f("MenubarDebugMenu"),f.MenubarEditMenu=new f("MenubarEditMenu"),f.MenubarCopy=new f("MenubarCopy"),f.MenubarFileMenu=new f("MenubarFileMenu"),f.MenubarGoMenu=new f("MenubarGoMenu"),f.MenubarHelpMenu=new f("MenubarHelpMenu"),f.MenubarLayoutMenu=new f("MenubarLayoutMenu"),f.MenubarNewBreakpointMenu=new f("MenubarNewBreakpointMenu"),f.PanelAlignmentMenu=new f("PanelAlignmentMenu"),f.PanelPositionMenu=new f("PanelPositionMenu"),f.ActivityBarPositionMenu=new f("ActivityBarPositionMenu"),f.MenubarPreferencesMenu=new f("MenubarPreferencesMenu"),f.MenubarRecentMenu=new f("MenubarRecentMenu"),f.MenubarSelectionMenu=new f("MenubarSelectionMenu"),f.MenubarShare=new f("MenubarShare"),f.MenubarSwitchEditorMenu=new f("MenubarSwitchEditorMenu"),f.MenubarSwitchGroupMenu=new f("MenubarSwitchGroupMenu"),f.MenubarTerminalMenu=new f("MenubarTerminalMenu"),f.MenubarViewMenu=new f("MenubarViewMenu"),f.MenubarHomeMenu=new f("MenubarHomeMenu"),f.OpenEditorsContext=new f("OpenEditorsContext"),f.OpenEditorsContextShare=new f("OpenEditorsContextShare"),f.ProblemsPanelContext=new f("ProblemsPanelContext"),f.SCMInputBox=new f("SCMInputBox"),f.SCMChangesSeparator=new f("SCMChangesSeparator"),f.SCMIncomingChanges=new f("SCMIncomingChanges"),f.SCMIncomingChangesContext=new f("SCMIncomingChangesContext"),f.SCMIncomingChangesSetting=new f("SCMIncomingChangesSetting"),f.SCMOutgoingChanges=new f("SCMOutgoingChanges"),f.SCMOutgoingChangesContext=new f("SCMOutgoingChangesContext"),f.SCMOutgoingChangesSetting=new f("SCMOutgoingChangesSetting"),f.SCMIncomingChangesAllChangesContext=new f("SCMIncomingChangesAllChangesContext"),f.SCMIncomingChangesHistoryItemContext=new f("SCMIncomingChangesHistoryItemContext"),f.SCMOutgoingChangesAllChangesContext=new f("SCMOutgoingChangesAllChangesContext"),f.SCMOutgoingChangesHistoryItemContext=new f("SCMOutgoingChangesHistoryItemContext"),f.SCMChangeContext=new f("SCMChangeContext"),f.SCMResourceContext=new f("SCMResourceContext"),f.SCMResourceContextShare=new f("SCMResourceContextShare"),f.SCMResourceFolderContext=new f("SCMResourceFolderContext"),f.SCMResourceGroupContext=new f("SCMResourceGroupContext"),f.SCMSourceControl=new f("SCMSourceControl"),f.SCMSourceControlInline=new f("SCMSourceControlInline"),f.SCMSourceControlTitle=new f("SCMSourceControlTitle"),f.SCMTitle=new f("SCMTitle"),f.SearchContext=new f("SearchContext"),f.SearchActionMenu=new f("SearchActionContext"),f.StatusBarWindowIndicatorMenu=new f("StatusBarWindowIndicatorMenu"),f.StatusBarRemoteIndicatorMenu=new f("StatusBarRemoteIndicatorMenu"),f.StickyScrollContext=new f("StickyScrollContext"),f.TestItem=new f("TestItem"),f.TestItemGutter=new f("TestItemGutter"),f.TestMessageContext=new f("TestMessageContext"),f.TestMessageContent=new f("TestMessageContent"),f.TestPeekElement=new f("TestPeekElement"),f.TestPeekTitle=new f("TestPeekTitle"),f.TouchBarContext=new f("TouchBarContext"),f.TitleBarContext=new f("TitleBarContext"),f.TitleBarTitleContext=new f("TitleBarTitleContext"),f.TunnelContext=new f("TunnelContext"),f.TunnelPrivacy=new f("TunnelPrivacy"),f.TunnelProtocol=new f("TunnelProtocol"),f.TunnelPortInline=new f("TunnelInline"),f.TunnelTitle=new f("TunnelTitle"),f.TunnelLocalAddressInline=new f("TunnelLocalAddressInline"),f.TunnelOriginInline=new f("TunnelOriginInline"),f.ViewItemContext=new f("ViewItemContext"),f.ViewContainerTitle=new f("ViewContainerTitle"),f.ViewContainerTitleContext=new f("ViewContainerTitleContext"),f.ViewTitle=new f("ViewTitle"),f.ViewTitleContext=new f("ViewTitleContext"),f.CommentEditorActions=new f("CommentEditorActions"),f.CommentThreadTitle=new f("CommentThreadTitle"),f.CommentThreadActions=new f("CommentThreadActions"),f.CommentThreadAdditionalActions=new f("CommentThreadAdditionalActions"),f.CommentThreadTitleContext=new f("CommentThreadTitleContext"),f.CommentThreadCommentContext=new f("CommentThreadCommentContext"),f.CommentTitle=new f("CommentTitle"),f.CommentActions=new f("CommentActions"),f.CommentsViewThreadActions=new f("CommentsViewThreadActions"),f.InteractiveToolbar=new f("InteractiveToolbar"),f.InteractiveCellTitle=new f("InteractiveCellTitle"),f.InteractiveCellDelete=new f("InteractiveCellDelete"),f.InteractiveCellExecute=new f("InteractiveCellExecute"),f.InteractiveInputExecute=new f("InteractiveInputExecute"),f.IssueReporter=new f("IssueReporter"),f.NotebookToolbar=new f("NotebookToolbar"),f.NotebookStickyScrollContext=new f("NotebookStickyScrollContext"),f.NotebookCellTitle=new f("NotebookCellTitle"),f.NotebookCellDelete=new f("NotebookCellDelete"),f.NotebookCellInsert=new f("NotebookCellInsert"),f.NotebookCellBetween=new f("NotebookCellBetween"),f.NotebookCellListTop=new f("NotebookCellTop"),f.NotebookCellExecute=new f("NotebookCellExecute"),f.NotebookCellExecuteGoTo=new f("NotebookCellExecuteGoTo"),f.NotebookCellExecutePrimary=new f("NotebookCellExecutePrimary"),f.NotebookDiffCellInputTitle=new f("NotebookDiffCellInputTitle"),f.NotebookDiffCellMetadataTitle=new f("NotebookDiffCellMetadataTitle"),f.NotebookDiffCellOutputsTitle=new f("NotebookDiffCellOutputsTitle"),f.NotebookOutputToolbar=new f("NotebookOutputToolbar"),f.NotebookOutlineFilter=new f("NotebookOutlineFilter"),f.NotebookOutlineActionMenu=new f("NotebookOutlineActionMenu"),f.NotebookEditorLayoutConfigure=new f("NotebookEditorLayoutConfigure"),f.NotebookKernelSource=new f("NotebookKernelSource"),f.BulkEditTitle=new f("BulkEditTitle"),f.BulkEditContext=new f("BulkEditContext"),f.TimelineItemContext=new f("TimelineItemContext"),f.TimelineTitle=new f("TimelineTitle"),f.TimelineTitleContext=new f("TimelineTitleContext"),f.TimelineFilterSubMenu=new f("TimelineFilterSubMenu"),f.AccountsContext=new f("AccountsContext"),f.SidebarTitle=new f("SidebarTitle"),f.PanelTitle=new f("PanelTitle"),f.AuxiliaryBarTitle=new f("AuxiliaryBarTitle"),f.AuxiliaryBarHeader=new f("AuxiliaryBarHeader"),f.TerminalInstanceContext=new f("TerminalInstanceContext"),f.TerminalEditorInstanceContext=new f("TerminalEditorInstanceContext"),f.TerminalNewDropdownContext=new f("TerminalNewDropdownContext"),f.TerminalTabContext=new f("TerminalTabContext"),f.TerminalTabEmptyAreaContext=new f("TerminalTabEmptyAreaContext"),f.TerminalStickyScrollContext=new f("TerminalStickyScrollContext"),f.WebviewContext=new f("WebviewContext"),f.InlineCompletionsActions=new f("InlineCompletionsActions"),f.InlineEditActions=new f("InlineEditActions"),f.NewFile=new f("NewFile"),f.MergeInput1Toolbar=new f("MergeToolbar1Toolbar"),f.MergeInput2Toolbar=new f("MergeToolbar2Toolbar"),f.MergeBaseToolbar=new f("MergeBaseToolbar"),f.MergeInputResultToolbar=new f("MergeToolbarResultToolbar"),f.InlineSuggestionToolbar=new f("InlineSuggestionToolbar"),f.InlineEditToolbar=new f("InlineEditToolbar"),f.ChatContext=new f("ChatContext"),f.ChatCodeBlock=new f("ChatCodeblock"),f.ChatCompareBlock=new f("ChatCompareBlock"),f.ChatMessageTitle=new f("ChatMessageTitle"),f.ChatExecute=new f("ChatExecute"),f.ChatExecuteSecondary=new f("ChatExecuteSecondary"),f.ChatInputSide=new f("ChatInputSide"),f.AccessibleView=new f("AccessibleView"),f.MultiDiffEditorFileToolbar=new f("MultiDiffEditorFileToolbar"),f.DiffEditorHunkToolbar=new f("DiffEditorHunkToolbar"),f.DiffEditorSelectionToolbar=new f("DiffEditorSelectionToolbar");let _=(0,u.yh)("menuService");class v{static for(e){let t=this._all.get(e);return t||(t=new v(e),this._all.set(e,t)),t}static merge(e){let t=new Set;for(let i of e)i instanceof v&&t.add(i.id);return t}constructor(e){this.id=e,this.has=t=>t===e}}v._all=new Map;let b=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new r.SZ({merge:v.merge}),this.onDidChangeMenu=this._onDidChangeMenu.event}addCommand(e){return this._commands.set(e.id,e),this._onDidChangeMenu.fire(v.for(f.CommandPalette)),(0,l.OF)(()=>{this._commands.delete(e.id)&&this._onDidChangeMenu.fire(v.for(f.CommandPalette))})}getCommand(e){return this._commands.get(e)}getCommands(){let e=new Map;return this._commands.forEach((t,i)=>e.set(i,t)),e}appendMenuItem(e,t){let i=this._menuItems.get(e);i||(i=new a.S,this._menuItems.set(e,i));let n=i.push(t);return this._onDidChangeMenu.fire(v.for(e)),(0,l.OF)(()=>{n(),this._onDidChangeMenu.fire(v.for(e))})}appendMenuItems(e){let t=new l.SL;for(let{id:i,item:n}of e)t.add(this.appendMenuItem(i,n));return t}getMenuItems(e){let t;return t=this._menuItems.has(e)?[...this._menuItems.get(e)]:[],e===f.CommandPalette&&this._appendImplicitItems(t),t}_appendImplicitItems(e){let t=new Set;for(let i of e)p(i)&&(t.add(i.command.id),i.alt&&t.add(i.alt.id));this._commands.forEach((i,n)=>{t.has(n)||e.push({command:i})})}};class C extends s.wY{constructor(e,t,i){super(`submenuitem.${e.submenu.id}`,"string"==typeof e.title?e.title:e.title.value,i,"submenu"),this.item=e,this.hideActions=t}}let w=n=class{static label(e,t){return(null==t?void 0:t.renderShortTitle)&&e.shortTitle?"string"==typeof e.shortTitle?e.shortTitle:e.shortTitle.value:"string"==typeof e.title?e.title:e.title.value}constructor(e,t,i,s,r,l,a){var d,h;let u;if(this.hideActions=s,this.menuKeybinding=r,this._commandService=a,this.id=e.id,this.label=n.label(e,i),this.tooltip=null!==(h="string"==typeof e.tooltip?e.tooltip:null===(d=e.tooltip)||void 0===d?void 0:d.value)&&void 0!==h?h:"",this.enabled=!e.precondition||l.contextMatchesRules(e.precondition),this.checked=void 0,e.toggled){let t=e.toggled.condition?e.toggled:{condition:e.toggled};this.checked=l.contextMatchesRules(t.condition),this.checked&&t.tooltip&&(this.tooltip="string"==typeof t.tooltip?t.tooltip:t.tooltip.value),this.checked&&o.k.isThemeIcon(t.icon)&&(u=t.icon),this.checked&&t.title&&(this.label="string"==typeof t.title?t.title:t.title.value)}u||(u=o.k.isThemeIcon(e.icon)?e.icon:void 0),this.item=e,this.alt=t?new n(t,void 0,i,s,void 0,l,a):void 0,this._options=i,this.class=u&&o.k.asClassName(u)}run(...e){var t,i;let n=[];return(null===(t=this._options)||void 0===t?void 0:t.arg)&&(n=[...n,this._options.arg]),(null===(i=this._options)||void 0===i?void 0:i.shouldForwardArgs)&&(n=[...n,...e]),this._commandService.executeCommand(this.id,...n)}};w=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([g(5,h.i6),g(6,d.H)],w);class y{constructor(e){this.desc=e}}function S(e){let t=[],i=new e,{f1:n,menu:s,keybinding:o,...r}=i.desc;if(d.P.getCommand(r.id))throw Error(`Cannot register two commands with the same id: ${r.id}`);if(t.push(d.P.registerCommand({id:r.id,handler:(e,...t)=>i.run(e,...t),metadata:r.metadata})),Array.isArray(s))for(let e of s)t.push(b.appendMenuItem(e.id,{command:{...r,precondition:null===e.precondition?void 0:r.precondition},...e}));else s&&t.push(b.appendMenuItem(s.id,{command:{...r,precondition:null===s.precondition?void 0:r.precondition},...s}));if(n&&(t.push(b.appendMenuItem(f.CommandPalette,{command:r,when:r.precondition})),t.push(b.addCommand(r))),Array.isArray(o))for(let e of o)t.push(c.W.registerKeybindingRule({...e,id:r.id,when:r.precondition?h.Ao.and(r.precondition,e.when):e.when}));else o&&t.push(c.W.registerKeybindingRule({...o,id:r.id,when:r.precondition?h.Ao.and(r.precondition,o.when):o.when}));return{dispose(){(0,l.B9)(t)}}}},24631:function(e,t,i){"use strict";i.d(t,{h:function(){return v},p:function(){return y}});var n,s,o=i(44532),r=i(79915),l=i(70784),a=i(30467),d=i(81903),h=i(33336),u=i(76886),c=i(63179),g=i(40789),p=i(82801),m=i(46417),f=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},_=function(e,t){return function(i,n){t(i,n,e)}};let v=class{constructor(e,t,i){this._commandService=e,this._keybindingService=t,this._hiddenStates=new b(i)}createMenu(e,t,i){return new w(e,this._hiddenStates,{emitEventsForSubmenuChanges:!1,eventDebounceDelay:50,...i},this._commandService,this._keybindingService,t)}resetHiddenStates(e){this._hiddenStates.reset(e)}};v=f([_(0,d.H),_(1,m.d),_(2,c.Uy)],v);let b=n=class{constructor(e){this._storageService=e,this._disposables=new l.SL,this._onDidChange=new r.Q5,this.onDidChange=this._onDidChange.event,this._ignoreChangeEvent=!1,this._hiddenByDefaultCache=new Map;try{let t=e.get(n._key,0,"{}");this._data=JSON.parse(t)}catch(e){this._data=Object.create(null)}this._disposables.add(e.onDidChangeValue(0,n._key,this._disposables)(()=>{if(!this._ignoreChangeEvent)try{let t=e.get(n._key,0,"{}");this._data=JSON.parse(t)}catch(e){console.log("FAILED to read storage after UPDATE",e)}this._onDidChange.fire()}))}dispose(){this._onDidChange.dispose(),this._disposables.dispose()}_isHiddenByDefault(e,t){var i;return null!==(i=this._hiddenByDefaultCache.get(`${e.id}/${t}`))&&void 0!==i&&i}setDefaultState(e,t,i){this._hiddenByDefaultCache.set(`${e.id}/${t}`,i)}isHidden(e,t){var i,n;let s=this._isHiddenByDefault(e,t),o=null!==(n=null===(i=this._data[e.id])||void 0===i?void 0:i.includes(t))&&void 0!==n&&n;return s?!o:o}updateHidden(e,t,i){let n=this._isHiddenByDefault(e,t);n&&(i=!i);let s=this._data[e.id];if(i){if(s){let e=s.indexOf(t);e<0&&s.push(t)}else this._data[e.id]=[t]}else if(s){let i=s.indexOf(t);i>=0&&(0,g.LS)(s,i),0===s.length&&delete this._data[e.id]}this._persist()}reset(e){if(void 0===e)this._data=Object.create(null),this._persist();else{for(let{id:t}of e)this._data[t]&&delete this._data[t];this._persist()}}_persist(){try{this._ignoreChangeEvent=!0;let e=JSON.stringify(this._data);this._storageService.store(n._key,e,0,0)}finally{this._ignoreChangeEvent=!1}}};b._key="menu.hiddenCommands",b=n=f([_(0,c.Uy)],b);let C=s=class{constructor(e,t,i,n,s,o){this._id=e,this._hiddenStates=t,this._collectContextKeysForSubmenus=i,this._commandService=n,this._keybindingService=s,this._contextKeyService=o,this._menuGroups=[],this._structureContextKeys=new Set,this._preconditionContextKeys=new Set,this._toggledContextKeys=new Set,this.refresh()}get structureContextKeys(){return this._structureContextKeys}get preconditionContextKeys(){return this._preconditionContextKeys}get toggledContextKeys(){return this._toggledContextKeys}refresh(){let e;this._menuGroups.length=0,this._structureContextKeys.clear(),this._preconditionContextKeys.clear(),this._toggledContextKeys.clear();let t=a.BH.getMenuItems(this._id);for(let i of(t.sort(s._compareMenuItems),t)){let t=i.group||"";e&&e[0]===t||(e=[t,[]],this._menuGroups.push(e)),e[1].push(i),this._collectContextKeys(i)}}_collectContextKeys(e){if(s._fillInKbExprKeys(e.when,this._structureContextKeys),(0,a.vr)(e)){if(e.command.precondition&&s._fillInKbExprKeys(e.command.precondition,this._preconditionContextKeys),e.command.toggled){let t=e.command.toggled.condition||e.command.toggled;s._fillInKbExprKeys(t,this._toggledContextKeys)}}else this._collectContextKeysForSubmenus&&a.BH.getMenuItems(e.submenu).forEach(this._collectContextKeys,this)}createActionGroups(e){let t=[];for(let i of this._menuGroups){let n;let[o,r]=i;for(let t of r)if(this._contextKeyService.contextMatchesRules(t.when)){let i=(0,a.vr)(t);i&&this._hiddenStates.setDefaultState(this._id,t.command.id,!!t.isHiddenByDefault);let o=function(e,t,i){let n=(0,a.f6)(t)?t.submenu.id:t.id,s="string"==typeof t.title?t.title:t.title.value,o=(0,u.xw)({id:`hide/${e.id}/${n}`,label:(0,p.NC)("hide.label","Hide '{0}'",s),run(){i.updateHidden(e,n,!0)}}),r=(0,u.xw)({id:`toggle/${e.id}/${n}`,label:s,get checked(){return!i.isHidden(e,n)},run(){i.updateHidden(e,n,!!this.checked)}});return{hide:o,toggle:r,get isHidden(){return!r.checked}}}(this._id,i?t.command:t,this._hiddenStates);if(i){let i=y(t.command.id,t.when,this._commandService,this._keybindingService);(null!=n?n:n=[]).push(new a.U8(t.command,t.alt,e,o,i,this._contextKeyService,this._commandService))}else{let i=new s(t.submenu,this._hiddenStates,this._collectContextKeysForSubmenus,this._commandService,this._keybindingService,this._contextKeyService).createActionGroups(e),r=u.Z0.join(...i.map(e=>e[1]));r.length>0&&(null!=n?n:n=[]).push(new a.NZ(t,o,r))}}n&&n.length>0&&t.push([o,n])}return t}static _fillInKbExprKeys(e,t){if(e)for(let i of e.keys())t.add(i)}static _compareMenuItems(e,t){let i=e.group,n=t.group;if(i!==n){if(!i)return 1;if(!n||"navigation"===i)return -1;if("navigation"===n)return 1;let e=i.localeCompare(n);if(0!==e)return e}let o=e.order||0,r=t.order||0;return or?1:s._compareTitles((0,a.vr)(e)?e.command.title:e.title,(0,a.vr)(t)?t.command.title:t.title)}static _compareTitles(e,t){let i="string"==typeof e?e:e.original,n="string"==typeof t?t:t.original;return i.localeCompare(n)}};C=s=f([_(3,d.H),_(4,m.d),_(5,h.i6)],C);let w=class{constructor(e,t,i,n,s,d){this._disposables=new l.SL,this._menuInfo=new C(e,t,i.emitEventsForSubmenuChanges,n,s,d);let h=new o.pY(()=>{this._menuInfo.refresh(),this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!0,isToggleChange:!0})},i.eventDebounceDelay);this._disposables.add(h),this._disposables.add(a.BH.onDidChangeMenu(t=>{t.has(e)&&h.schedule()}));let u=this._disposables.add(new l.SL);this._onDidChange=new r.D0({onWillAddFirstListener:()=>{u.add(d.onDidChangeContext(e=>{let t=e.affectsSome(this._menuInfo.structureContextKeys),i=e.affectsSome(this._menuInfo.preconditionContextKeys),n=e.affectsSome(this._menuInfo.toggledContextKeys);(t||i||n)&&this._onDidChange.fire({menu:this,isStructuralChange:t,isEnablementChange:i,isToggleChange:n})})),u.add(t.onDidChange(e=>{this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!1,isToggleChange:!1})}))},onDidRemoveLastListener:u.clear.bind(u),delay:i.eventDebounceDelay,merge:e=>{let t=!1,i=!1,n=!1;for(let s of e)if(t=t||s.isStructuralChange,i=i||s.isEnablementChange,n=n||s.isToggleChange,t&&i&&n)break;return{menu:this,isStructuralChange:t,isEnablementChange:i,isToggleChange:n}}}),this.onDidChange=this._onDidChange.event}getActions(e){return this._menuInfo.createActionGroups(e)}dispose(){this._disposables.dispose(),this._onDidChange.dispose()}};function y(e,t,i,n){return(0,u.xw)({id:`configureKeybinding/${e}`,label:(0,p.NC)("configure keybinding","Configure Keybinding"),run(){let s=!!n.lookupKeybinding(e),o=!s&&t?t.serialize():void 0;i.executeCommand("workbench.action.openGlobalKeybindings",`@command:${e}`+(o?` +when:${o}`:""))}})}w=f([_(3,d.H),_(4,m.d),_(5,h.i6)],w)},59203:function(e,t,i){"use strict";i.d(t,{p:function(){return s}});var n=i(85327);let s=(0,n.yh)("clipboardService")},81903:function(e,t,i){"use strict";i.d(t,{H:function(){return d},P:function(){return h}});var n=i(79915),s=i(93072),o=i(70784),r=i(92270),l=i(24162),a=i(85327);let d=(0,a.yh)("commandService"),h=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new n.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,t){if(!e)throw Error("invalid command");if("string"==typeof e){if(!t)throw Error("invalid command");return this.registerCommand({id:e,handler:t})}if(e.metadata&&Array.isArray(e.metadata.args)){let t=[];for(let i of e.metadata.args)t.push(i.constraint);let i=e.handler;e.handler=function(e,...n){return(0,l.D8)(n,t),i(e,...n)}}let{id:i}=e,n=this._commands.get(i);n||(n=new r.S,this._commands.set(i,n));let s=n.unshift(e),a=(0,o.OF)(()=>{s();let e=this._commands.get(i);(null==e?void 0:e.isEmpty())&&this._commands.delete(i)});return this._onDidRegisterCommand.fire(i),a}registerCommandAlias(e,t){return h.registerCommand(e,(e,...i)=>e.get(d).executeCommand(t,...i))}getCommand(e){let t=this._commands.get(e);if(!(!t||t.isEmpty()))return s.$.first(t)}getCommands(){let e=new Map;for(let t of this._commands.keys()){let i=this.getCommand(t);i&&e.set(t,i)}return e}};h.registerCommand("noop",()=>{})},78426:function(e,t,i){"use strict";i.d(t,{KV:function(){return r},Mt:function(){return a},Od:function(){return o},UI:function(){return d},Ui:function(){return s},xL:function(){return l}});var n=i(85327);let s=(0,n.yh)("configurationService");function o(e,t){let i=Object.create(null);for(let n in e)r(i,n,e[n],t);return i}function r(e,t,i,n){let s=t.split("."),o=s.pop(),r=e;for(let e=0;e{this.validateAndRegisterProperties(e,t,e.extensionInfo,e.restrictedProperties,void 0,i),this.configurationContributors.push(e),this.registerJSONConfiguration(e)})}validateAndRegisterProperties(e,t=!0,i,n,s=3,l){var a;s=o.Jp(e.scope)?s:e.scope;let d=e.properties;if(d)for(let e in d){let h=d[e];if(t&&function(e,t){var i,n,s,o;return e.trim()?y.test(e)?r.NC("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==L.getConfigurationProperties()[e]?r.NC("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):(null===(i=t.policy)||void 0===i?void 0:i.name)&&void 0!==L.getPolicyConfigurations().get(null===(n=t.policy)||void 0===n?void 0:n.name)?r.NC("config.policy.duplicate","Cannot register '{0}'. The associated policy {1} is already registered with {2}.",e,null===(s=t.policy)||void 0===s?void 0:s.name,L.getPolicyConfigurations().get(null===(o=t.policy)||void 0===o?void 0:o.name)):null:r.NC("config.property.empty","Cannot register an empty property")}(e,h)){delete d[e];continue}if(h.source=i,h.defaultDefaultValue=d[e].default,this.updatePropertyDefaultValue(e,h),y.test(e)?h.scope=void 0:(h.scope=o.Jp(h.scope)?s:h.scope,h.restricted=o.Jp(h.restricted)?!!(null==n?void 0:n.includes(e)):h.restricted),d[e].hasOwnProperty("included")&&!d[e].included){this.excludedConfigurationProperties[e]=d[e],delete d[e];continue}this.configurationProperties[e]=d[e],(null===(a=d[e].policy)||void 0===a?void 0:a.name)&&this.policyConfigurations.set(d[e].policy.name,e),!d[e].deprecationMessage&&d[e].markdownDeprecationMessage&&(d[e].deprecationMessage=d[e].markdownDeprecationMessage),l.add(e)}let h=e.allOf;if(h)for(let e of h)this.validateAndRegisterProperties(e,t,i,n,s,l)}getConfigurationProperties(){return this.configurationProperties}getPolicyConfigurations(){return this.policyConfigurations}registerJSONConfiguration(e){let t=e=>{let i=e.properties;if(i)for(let e in i)this.updateSchema(e,i[e]);let n=e.allOf;null==n||n.forEach(t)};t(e)}updateSchema(e,t){switch(u.properties[e]=t,t.scope){case 1:c.properties[e]=t;break;case 2:g.properties[e]=t;break;case 6:p.properties[e]=t;break;case 3:m.properties[e]=t;break;case 4:f.properties[e]=t;break;case 5:f.properties[e]=t,this.resourceLanguageSettingsSchema.properties[e]=t}}updateOverridePropertyPatternKey(){for(let e of this.overrideIdentifiers.values()){let t=`[${e}]`,i={type:"object",description:r.NC("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:r.NC("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:_};this.updatePropertyDefaultValue(t,i),u.properties[t]=i,c.properties[t]=i,g.properties[t]=i,p.properties[t]=i,m.properties[t]=i,f.properties[t]=i}}registerOverridePropertyPatternKey(){let e={type:"object",description:r.NC("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:r.NC("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:_};u.patternProperties[w]=e,c.patternProperties[w]=e,g.patternProperties[w]=e,p.patternProperties[w]=e,m.patternProperties[w]=e,f.patternProperties[w]=e,this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,t){let i=this.configurationDefaultsOverrides.get(e),n=null==i?void 0:i.value,s=null==i?void 0:i.source;o.o8(n)&&(n=t.defaultDefaultValue,s=void 0),o.o8(n)&&(n=function(e){let t=Array.isArray(e)?e[0]:e;switch(t){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}(t.type)),t.default=n,t.defaultValueSource=s}};d.B.add(h.Configuration,L)},33336:function(e,t,i){"use strict";i.d(t,{cP:function(){return I},Ao:function(){return L},i6:function(){return q},uy:function(){return $},Fb:function(){return k},K8:function(){return function e(t,i){if(0===t.type||1===i.type)return!0;if(9===t.type)return 9===i.type&&G(t.expr,i.expr);if(9===i.type){for(let n of i.expr)if(e(t,n))return!0;return!1}if(6===t.type){if(6===i.type)return G(i.expr,t.expr);for(let n of t.expr)if(e(n,i))return!0;return!1}return t.equals(i)}}});var n=i(58022),s=i(95612),o=i(32378),r=i(82801);function l(...e){switch(e.length){case 1:return(0,r.NC)("contextkey.scanner.hint.didYouMean1","Did you mean {0}?",e[0]);case 2:return(0,r.NC)("contextkey.scanner.hint.didYouMean2","Did you mean {0} or {1}?",e[0],e[1]);case 3:return(0,r.NC)("contextkey.scanner.hint.didYouMean3","Did you mean {0}, {1} or {2}?",e[0],e[1],e[2]);default:return}}let a=(0,r.NC)("contextkey.scanner.hint.didYouForgetToOpenOrCloseQuote","Did you forget to open or close the quote?"),d=(0,r.NC)("contextkey.scanner.hint.didYouForgetToEscapeSlash","Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/'.");class h{constructor(){this._input="",this._start=0,this._current=0,this._tokens=[],this._errors=[],this.stringRe=/[a-zA-Z0-9_<>\-\./\\:\*\?\+\[\]\^,#@;"%\$\p{L}-]+/uy}static getLexeme(e){switch(e.type){case 0:return"(";case 1:return")";case 2:return"!";case 3:return e.isTripleEq?"===":"==";case 4:return e.isTripleEq?"!==":"!=";case 5:return"<";case 6:return"<=";case 7:case 8:return">=";case 9:return"=~";case 10:case 17:case 18:case 19:return e.lexeme;case 11:return"true";case 12:return"false";case 13:return"in";case 14:return"not";case 15:return"&&";case 16:return"||";case 20:return"EOF";default:throw(0,o.L6)(`unhandled token type: ${JSON.stringify(e)}; have you forgotten to add a case?`)}}reset(e){return this._input=e,this._start=0,this._current=0,this._tokens=[],this._errors=[],this}scan(){for(;!this._isAtEnd();){this._start=this._current;let e=this._advance();switch(e){case 40:this._addToken(0);break;case 41:this._addToken(1);break;case 33:if(this._match(61)){let e=this._match(61);this._tokens.push({type:4,offset:this._start,isTripleEq:e})}else this._addToken(2);break;case 39:this._quotedString();break;case 47:this._regex();break;case 61:if(this._match(61)){let e=this._match(61);this._tokens.push({type:3,offset:this._start,isTripleEq:e})}else this._match(126)?this._addToken(9):this._error(l("==","=~"));break;case 60:this._addToken(this._match(61)?6:5);break;case 62:this._addToken(this._match(61)?8:7);break;case 38:this._match(38)?this._addToken(15):this._error(l("&&"));break;case 124:this._match(124)?this._addToken(16):this._error(l("||"));break;case 32:case 13:case 9:case 10:case 160:break;default:this._string()}}return this._start=this._current,this._addToken(20),Array.from(this._tokens)}_match(e){return!this._isAtEnd()&&this._input.charCodeAt(this._current)===e&&(this._current++,!0)}_advance(){return this._input.charCodeAt(this._current++)}_peek(){return this._isAtEnd()?0:this._input.charCodeAt(this._current)}_addToken(e){this._tokens.push({type:e,offset:this._start})}_error(e){let t=this._start,i=this._input.substring(this._start,this._current),n={type:19,offset:this._start,lexeme:i};this._errors.push({offset:t,lexeme:i,additionalInfo:e}),this._tokens.push(n)}_string(){this.stringRe.lastIndex=this._start;let e=this.stringRe.exec(this._input);if(e){this._current=this._start+e[0].length;let t=this._input.substring(this._start,this._current),i=h._keywords.get(t);i?this._addToken(i):this._tokens.push({type:17,lexeme:t,offset:this._start})}}_quotedString(){for(;39!==this._peek()&&!this._isAtEnd();)this._advance();if(this._isAtEnd()){this._error(a);return}this._advance(),this._tokens.push({type:18,lexeme:this._input.substring(this._start+1,this._current-1),offset:this._start+1})}_regex(){let e=this._current,t=!1,i=!1;for(;;){if(e>=this._input.length){this._current=e,this._error(d);return}let n=this._input.charCodeAt(e);if(t)t=!1;else if(47!==n||i)91===n?i=!0:92===n?t=!0:93===n&&(i=!1);else{e++;break}e++}for(;e=this._input.length}}h._regexFlags=new Set(["i","g","s","m","y","u"].map(e=>e.charCodeAt(0))),h._keywords=new Map([["not",14],["in",13],["false",12],["true",11]]);var u=i(85327);let c=new Map;c.set("false",!1),c.set("true",!0),c.set("isMac",n.dz),c.set("isLinux",n.IJ),c.set("isWindows",n.ED),c.set("isWeb",n.$L),c.set("isMacNative",n.dz&&!n.$L),c.set("isEdge",n.un),c.set("isFirefox",n.vU),c.set("isChrome",n.i7),c.set("isSafari",n.G6);let g=Object.prototype.hasOwnProperty,p={regexParsingWithErrorRecovery:!0},m=(0,r.NC)("contextkey.parser.error.emptyString","Empty context key expression"),f=(0,r.NC)("contextkey.parser.error.emptyString.hint","Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively."),_=(0,r.NC)("contextkey.parser.error.noInAfterNot","'in' after 'not'."),v=(0,r.NC)("contextkey.parser.error.closingParenthesis","closing parenthesis ')'"),b=(0,r.NC)("contextkey.parser.error.unexpectedToken","Unexpected token"),C=(0,r.NC)("contextkey.parser.error.unexpectedToken.hint","Did you forget to put && or || before the token?"),w=(0,r.NC)("contextkey.parser.error.unexpectedEOF","Unexpected end of expression"),y=(0,r.NC)("contextkey.parser.error.unexpectedEOF.hint","Did you forget to put a context key?");class S{constructor(e=p){this._config=e,this._scanner=new h,this._tokens=[],this._current=0,this._parsingErrors=[],this._flagsGYRe=/g|y/g}parse(e){if(""===e){this._parsingErrors.push({message:m,offset:0,lexeme:"",additionalInfo:f});return}this._tokens=this._scanner.reset(e).scan(),this._current=0,this._parsingErrors=[];try{let e=this._expr();if(!this._isAtEnd()){let e=this._peek(),t=17===e.type?C:void 0;throw this._parsingErrors.push({message:b,offset:e.offset,lexeme:h.getLexeme(e),additionalInfo:t}),S._parseError}return e}catch(e){if(e!==S._parseError)throw e;return}}_expr(){return this._or()}_or(){let e=[this._and()];for(;this._matchOne(16);){let t=this._and();e.push(t)}return 1===e.length?e[0]:L.or(...e)}_and(){let e=[this._term()];for(;this._matchOne(15);){let t=this._term();e.push(t)}return 1===e.length?e[0]:L.and(...e)}_term(){if(this._matchOne(2)){let e=this._peek();switch(e.type){case 11:return this._advance(),x.INSTANCE;case 12:return this._advance(),N.INSTANCE;case 0:{this._advance();let e=this._expr();return this._consume(1,v),null==e?void 0:e.negate()}case 17:return this._advance(),A.create(e.lexeme);default:throw this._errExpectedButGot("KEY | true | false | '(' expression ')'",e)}}return this._primary()}_primary(){let e=this._peek();switch(e.type){case 11:return this._advance(),L.true();case 12:return this._advance(),L.false();case 0:{this._advance();let e=this._expr();return this._consume(1,v),e}case 17:{let t=e.lexeme;if(this._advance(),this._matchOne(9)){let e=this._peek();if(!this._config.regexParsingWithErrorRecovery){let i;if(this._advance(),10!==e.type)throw this._errExpectedButGot("REGEX",e);let n=e.lexeme,s=n.lastIndexOf("/"),o=s===n.length-1?void 0:this._removeFlagsGY(n.substring(s+1));try{i=new RegExp(n.substring(1,s),o)}catch(t){throw this._errExpectedButGot("REGEX",e)}return H.create(t,i)}switch(e.type){case 10:case 19:{let i;let n=[e.lexeme];this._advance();let s=this._peek(),o=0;for(let t=0;t=0){let o=i.slice(t+1,s),r="i"===i[s+1]?"i":"";try{n=new RegExp(o,r)}catch(t){throw this._errExpectedButGot("REGEX",e)}}}if(null===n)throw this._errExpectedButGot("REGEX",e);return H.create(t,n)}default:throw this._errExpectedButGot("REGEX",this._peek())}}if(this._matchOne(14)){this._consume(13,_);let e=this._value();return L.notIn(t,e)}let i=this._peek().type;switch(i){case 3:{this._advance();let e=this._value();if(18===this._previous().type)return L.equals(t,e);switch(e){case"true":return L.has(t);case"false":return L.not(t);default:return L.equals(t,e)}}case 4:{this._advance();let e=this._value();if(18===this._previous().type)return L.notEquals(t,e);switch(e){case"true":return L.not(t);case"false":return L.has(t);default:return L.notEquals(t,e)}}case 5:return this._advance(),B.create(t,this._value());case 6:return this._advance(),W.create(t,this._value());case 7:return this._advance(),O.create(t,this._value());case 8:return this._advance(),F.create(t,this._value());case 13:return this._advance(),L.in(t,this._value());default:return L.has(t)}}case 20:throw this._parsingErrors.push({message:w,offset:e.offset,lexeme:"",additionalInfo:y}),S._parseError;default:throw this._errExpectedButGot(`true | false | KEY | KEY '=~' REGEX - | KEY ('==' | '!=' | '<' | '<=' | '>' | '>=' | 'in' | 'not' 'in') value`,this._peek())}}_value(){let e=this._peek();switch(e.type){case 17:case 18:return this._advance(),e.lexeme;case 11:return this._advance(),"true";case 12:return this._advance(),"false";case 13:return this._advance(),"in";default:return""}}_removeFlagsGY(e){return e.replaceAll(this._flagsGYRe,"")}_previous(){return this._tokens[this._current-1]}_matchOne(e){return!!this._check(e)&&(this._advance(),!0)}_advance(){return!this._isAtEnd()&&this._current++,this._previous()}_consume(e,t){if(this._check(e))return this._advance();throw this._errExpectedButGot(t,this._peek())}_errExpectedButGot(e,t,i){let n=(0,r.NC)("contextkey.parser.error.expectedButGot","Expected: {0}\nReceived: '{1}'.",e,h.getLexeme(t)),s=t.offset,o=h.getLexeme(t);return this._parsingErrors.push({message:n,offset:s,lexeme:o,additionalInfo:i}),S._parseError}_check(e){return this._peek().type===e}_peek(){return this._tokens[this._current]}_isAtEnd(){return 20===this._peek().type}}S._parseError=Error();class L{static false(){return x.INSTANCE}static true(){return N.INSTANCE}static has(e){return E.create(e)}static equals(e,t){return I.create(e,t)}static notEquals(e,t){return R.create(e,t)}static regex(e,t){return H.create(e,t)}static in(e,t){return T.create(e,t)}static notIn(e,t){return M.create(e,t)}static not(e){return A.create(e)}static and(...e){return K.create(e,null,!0)}static or(...e){return U.create(e,null,!0)}static deserialize(e){if(null==e)return;let t=this._parser.parse(e);return t}}function k(e,t){let i=e?e.substituteConstants():void 0,n=t?t.substituteConstants():void 0;return!i&&!n||!!i&&!!n&&i.equals(n)}function D(e,t){return e.cmp(t)}L._parser=new S({regexParsingWithErrorRecovery:!1});class x{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return N.INSTANCE}}x.INSTANCE=new x;class N{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return x.INSTANCE}}N.INSTANCE=new N;class E{static create(e,t=null){let i=c.get(e);return"boolean"==typeof i?i?N.INSTANCE:x.INSTANCE:new E(e,t)}constructor(e,t){this.key=e,this.negated=t,this.type=2}cmp(e){var t,i;return e.type!==this.type?this.type-e.type:(t=this.key,t<(i=e.key)?-1:t>i?1:0)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){let e=c.get(this.key);return"boolean"==typeof e?e?N.INSTANCE:x.INSTANCE:this}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=A.create(this.key,this)),this.negated}}class I{static create(e,t,i=null){if("boolean"==typeof t)return t?E.create(e,i):A.create(e,i);let n=c.get(e);return"boolean"==typeof n?t===(n?"true":"false")?N.INSTANCE:x.INSTANCE:new I(e,t,i)}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=4}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){let e=c.get(this.key);return"boolean"==typeof e?this.value===(e?"true":"false")?N.INSTANCE:x.INSTANCE:this}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=R.create(this.key,this.value,this)),this.negated}}class T{static create(e,t){return new T(e,t)}constructor(e,t){this.key=e,this.valueKey=t,this.type=10,this.negated=null}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.valueKey,e.key,e.valueKey)}equals(e){return e.type===this.type&&this.key===e.key&&this.valueKey===e.valueKey}substituteConstants(){return this}evaluate(e){let t=e.getValue(this.valueKey),i=e.getValue(this.key);return Array.isArray(t)?t.includes(i):"string"==typeof i&&"object"==typeof t&&null!==t&&g.call(t,i)}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=M.create(this.key,this.valueKey)),this.negated}}class M{static create(e,t){return new M(e,t)}constructor(e,t){this.key=e,this.valueKey=t,this.type=11,this._negated=T.create(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this._negated.cmp(e._negated)}equals(e){return e.type===this.type&&this._negated.equals(e._negated)}substituteConstants(){return this}evaluate(e){return!this._negated.evaluate(e)}serialize(){return`${this.key} not in '${this.valueKey}'`}keys(){return this._negated.keys()}negate(){return this._negated}}class R{static create(e,t,i=null){if("boolean"==typeof t)return t?A.create(e,i):E.create(e,i);let n=c.get(e);return"boolean"==typeof n?t===(n?"true":"false")?x.INSTANCE:N.INSTANCE:new R(e,t,i)}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=5}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){let e=c.get(this.key);return"boolean"==typeof e?this.value===(e?"true":"false")?x.INSTANCE:N.INSTANCE:this}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=I.create(this.key,this.value,this)),this.negated}}class A{static create(e,t=null){let i=c.get(e);return"boolean"==typeof i?i?x.INSTANCE:N.INSTANCE:new A(e,t)}constructor(e,t){this.key=e,this.negated=t,this.type=3}cmp(e){var t,i;return e.type!==this.type?this.type-e.type:(t=this.key,t<(i=e.key)?-1:t>i?1:0)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){let e=c.get(this.key);return"boolean"==typeof e?e?x.INSTANCE:N.INSTANCE:this}evaluate(e){return!e.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=E.create(this.key,this)),this.negated}}function P(e,t){if("string"==typeof e){let t=parseFloat(e);isNaN(t)||(e=t)}return"string"==typeof e||"number"==typeof e?t(e):x.INSTANCE}class O{static create(e,t,i=null){return P(t,t=>new O(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=12}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=W.create(this.key,this.value,this)),this.negated}}class F{static create(e,t,i=null){return P(t,t=>new F(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=13}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=B.create(this.key,this.value,this)),this.negated}}class B{static create(e,t,i=null){return P(t,t=>new B(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=14}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))new W(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=15}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=O.create(this.key,this.value,this)),this.negated}}class H{static create(e,t){return new H(e,t)}constructor(e,t){this.key=e,this.regexp=t,this.type=7,this.negated=null}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.keye.key)return 1;let t=this.regexp?this.regexp.source:"",i=e.regexp?e.regexp.source:"";return ti?1:0}equals(e){if(e.type===this.type){let t=this.regexp?this.regexp.source:"",i=e.regexp?e.regexp.source:"";return this.key===e.key&&t===i}return!1}substituteConstants(){return this}evaluate(e){let t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)}serialize(){let e=this.regexp?`/${this.regexp.source}/${this.regexp.flags}`:"/invalid/";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=V.create(this)),this.negated}}class V{static create(e){return new V(e)}constructor(e){this._actual=e,this.type=8}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}substituteConstants(){return this}evaluate(e){return!this._actual.evaluate(e)}serialize(){return`!(${this._actual.serialize()})`}keys(){return this._actual.keys()}negate(){return this._actual}}function z(e){let t=null;for(let i=0,n=e.length;ie.expr.length)return 1;for(let t=0,i=this.expr.length;t1;){let e=n[n.length-1];if(9!==e.type)break;n.pop();let t=n.pop(),s=0===n.length,o=U.create(e.expr.map(e=>K.create([e,t],null,i)),null,s);o&&(n.push(o),n.sort(D))}if(1===n.length)return n[0];if(i){for(let e=0;ee.serialize()).join(" && ")}keys(){let e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let e=[];for(let t of this.expr)e.push(t.negate());this.negated=U.create(e,this,!0)}return this.negated}}class U{static create(e,t,i){return U._normalizeArr(e,t,i)}constructor(e,t){this.expr=e,this.negated=t,this.type=9}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.lengthe.expr.length)return 1;for(let t=0,i=this.expr.length;te.serialize()).join(" || ")}keys(){let e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let e=[];for(let t of this.expr)e.push(t.negate());for(;e.length>1;){let t=e.shift(),i=e.shift(),n=[];for(let e of Q(t))for(let t of Q(i))n.push(K.create([e,t],null,!1));e.unshift(U.create(n,null,!1))}this.negated=U.create(e,this,!0)}return this.negated}}class $ extends E{static all(){return $._info.values()}constructor(e,t,i){super(e,null),this._defaultValue=t,"object"==typeof i?$._info.push({...i,key:e}):!0!==i&&$._info.push({key:e,description:i,type:null!=t?typeof t:void 0})}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(e){return I.create(this.key,e)}}$._info=[];let q=(0,u.yh)("contextKeyService");function j(e,t,i,n){return ei?1:tn?1:0}function G(e,t){let i=0,n=0;for(;i{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(e=>{this._onPreserveCaseKeyDown.fire(e)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;let c=[this.preserveCase.domNode];this.onkeydown(this.domNode,e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){let t=c.indexOf(this.domNode.ownerDocument.activeElement);if(t>=0){let i=-1;e.equals(17)?i=(t+1)%c.length:e.equals(15)&&(i=0===t?c.length-1:t-1),e.equals(9)?(c[t].blur(),this.inputBox.focus()):i>=0&&c[i].focus(),o.zB.stop(e,!0)}}});let p=document.createElement("div");p.className="controls",p.style.display=this._showOptionButtons?"block":"none",p.appendChild(this.preserveCase.domNode),this.domNode.appendChild(p),null==e||e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(e){e?this.enable():this.disable()}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(e){this.preserveCase.checked=e}focusOnPreserve(){this.preserveCase.focus()}validate(){var e;null===(e=this.inputBox)||void 0===e||e.validate()}set width(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.domNode.style.width=e+"px"}dispose(){super.dispose()}}var _=i(33336),v=i(93589),b=i(70784),C=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},w=function(e,t){return function(i,n){t(i,n,e)}};let y=new _.uy("suggestWidgetVisible",!1,(0,u.NC)("suggestWidgetVisible","Whether suggestion are visible")),S="historyNavigationWidgetFocus",L="historyNavigationForwardsEnabled",k="historyNavigationBackwardsEnabled",D=[];function x(e,t){if(D.includes(t))throw Error("Cannot register the same widget multiple times");D.push(t);let i=new b.SL,s=new _.uy(S,!1).bindTo(e),r=new _.uy(L,!0).bindTo(e),l=new _.uy(k,!0).bindTo(e),a=()=>{s.set(!0),n=t},d=()=>{s.set(!1),n===t&&(n=void 0)};return(0,o.H9)(t.element)&&a(),i.add(t.onDidFocus(()=>a())),i.add(t.onDidBlur(()=>d())),i.add((0,b.OF)(()=>{D.splice(D.indexOf(t),1),d()})),{historyNavigationForwardsEnablement:r,historyNavigationBackwardsEnablement:l,dispose(){i.dispose()}}}let N=class extends s.V{constructor(e,t,i,n){super(e,t,i);let s=this._register(n.createScoped(this.inputBox.element));this._register(x(s,this.inputBox))}};N=C([w(3,_.i6)],N);let E=class extends f{constructor(e,t,i,n,s=!1){super(e,t,s,i);let o=this._register(n.createScoped(this.inputBox.element));this._register(x(o,this.inputBox))}};E=C([w(3,_.i6)],E),v.W.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:_.Ao.and(_.Ao.has(S),_.Ao.equals(k,!0),_.Ao.not("isComposing"),y.isEqualTo(!1)),primary:16,secondary:[528],handler:e=>{null==n||n.showPreviousValue()}}),v.W.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:_.Ao.and(_.Ao.has(S),_.Ao.equals(L,!0),_.Ao.not("isComposing"),y.isEqualTo(!1)),primary:18,secondary:[530],handler:e=>{null==n||n.showNextValue()}})},96748:function(e,t,i){"use strict";i.d(t,{Bs:function(){return a},mQ:function(){return d}});var n=i(85327),s=i(70784),o=i(78426),r=i(81845),l=function(e,t){return function(i,n){t(i,n,e)}};let a=(0,n.yh)("hoverService"),d=class extends s.JT{get delay(){return this.isInstantlyHovering()?0:this._delay}constructor(e,t,i={},n,o){super(),this.placement=e,this.instantHover=t,this.overrideOptions=i,this.configurationService=n,this.hoverService=o,this.lastHoverHideTime=0,this.timeLimit=200,this.hoverDisposables=this._register(new s.SL),this._delay=this.configurationService.getValue("workbench.hover.delay"),this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration("workbench.hover.delay")&&(this._delay=this.configurationService.getValue("workbench.hover.delay"))}))}showHover(e,t){let i="function"==typeof this.overrideOptions?this.overrideOptions(e,t):this.overrideOptions;this.hoverDisposables.clear();let n=(0,r.Re)(e.target)?[e.target]:e.target.targetElements;for(let e of n)this.hoverDisposables.add((0,r.mu)(e,"keydown",e=>{e.equals(9)&&this.hoverService.hideHover()}));let s=(0,r.Re)(e.content)?void 0:e.content.toString();return this.hoverService.showHover({...e,...i,persistence:{hideOnKeyDown:!0,...i.persistence},id:s,appearance:{...e.appearance,compact:!0,skipFadeInAnimation:this.isInstantlyHovering(),...i.appearance}},t)}isInstantlyHovering(){return this.instantHover&&Date.now()-this.lastHoverHideTime=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([l(3,o.Ui),l(4,a)],d)},29938:function(e,t,i){"use strict";i.d(t,{M:function(){return n}});class n{constructor(e,t=[],i=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=i}}},66653:function(e,t,i){"use strict";i.d(t,{d:function(){return r},z:function(){return o}});var n=i(29938);let s=[];function o(e,t,i){t instanceof n.M||(t=new n.M(t,[],!!i)),s.push([e,t])}function r(){return s}},85327:function(e,t,i){"use strict";var n,s;i.d(t,{I8:function(){return n},TG:function(){return o},yh:function(){return r}}),(s=n||(n={})).serviceIds=new Map,s.DI_TARGET="$di$target",s.DI_DEPENDENCIES="$di$dependencies",s.getServiceDependencies=function(e){return e[s.DI_DEPENDENCIES]||[]};let o=r("instantiationService");function r(e){if(n.serviceIds.has(e))return n.serviceIds.get(e);let t=function(e,i,s){if(3!=arguments.length)throw Error("@IServiceName-decorator can only be used to decorate a parameter");e[n.DI_TARGET]===e?e[n.DI_DEPENDENCIES].push({id:t,index:s}):(e[n.DI_DEPENDENCIES]=[{id:t,index:s}],e[n.DI_TARGET]=e)};return t.toString=()=>e,n.serviceIds.set(e,t),t}},92477:function(e,t,i){"use strict";i.d(t,{y:function(){return n}});class n{constructor(...e){for(let[t,i]of(this._entries=new Map,e))this.set(t,i)}set(e,t){let i=this._entries.get(e);return this._entries.set(e,t),i}get(e){return this._entries.get(e)}}},69965:function(e,t,i){"use strict";i.d(t,{I:function(){return o}});var n=i(79915),s=i(34089);let o={JSONContribution:"base.contributions.json"},r=new class{constructor(){this._onDidChangeSchema=new n.Q5,this.schemasById={}}registerSchema(e,t){this.schemasById[e.length>0&&"#"===e.charAt(e.length-1)?e.substring(0,e.length-1):e]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}};s.B.add(o.JSONContribution,r)},46417:function(e,t,i){"use strict";i.d(t,{d:function(){return s}});var n=i(85327);let s=(0,n.yh)("keybindingService")},93589:function(e,t,i){"use strict";i.d(t,{W:function(){return h}});var n=i(70070),s=i(58022),o=i(81903),r=i(34089),l=i(70784),a=i(92270);class d{constructor(){this._coreKeybindings=new a.S,this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(1===s.OS){if(e&&e.win)return e.win}else if(2===s.OS){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){let t=d.bindToCurrentPlatform(e),i=new l.SL;if(t&&t.primary){let o=(0,n.Z9)(t.primary,s.OS);o&&i.add(this._registerDefaultKeybinding(o,e.id,e.args,e.weight,0,e.when))}if(t&&Array.isArray(t.secondary))for(let o=0,r=t.secondary.length;o{r(),this._cachedMergedKeybindings=null})}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=Array.from(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(u)),this._cachedMergedKeybindings.slice(0)}}let h=new d;function u(e,t){if(e.weight1!==t.weight1)return e.weight1-t.weight1;if(e.command&&t.command){if(e.commandt.command)return 1}return e.weight2-t.weight2}r.B.add("platform.keybindingsRegistry",h)},84449:function(e,t,i){"use strict";i.d(t,{e:function(){return s}});var n=i(85327);let s=(0,n.yh)("labelService")},6356:function(e,t,i){"use strict";i.d(t,{Lw:function(){return ef},XN:function(){return e_},ls:function(){return ti},CQ:function(){return ey},PF:function(){return e9},PS:function(){return eN},uJ:function(){return eI}});var n=i(81845),s=i(40789),o=i(9424),r=i(79915),l=i(70784);i(72119);var a=i(56240);class d{get templateId(){return this.renderer.templateId}constructor(e,t){this.renderer=e,this.modelProvider=t}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{data:t,disposable:l.JT.None}}renderElement(e,t,i,n){var s;if(null===(s=i.disposable)||void 0===s||s.dispose(),!i.data)return;let r=this.modelProvider();if(r.isResolved(e))return this.renderer.renderElement(r.get(e),e,i.data,n);let l=new o.AU,a=r.resolve(e,l.token);i.disposable={dispose:()=>l.cancel()},this.renderer.renderPlaceholder(e,i.data),a.then(t=>this.renderer.renderElement(t,e,i.data,n))}disposeTemplate(e){e.disposable&&(e.disposable.dispose(),e.disposable=void 0),e.data&&(this.renderer.disposeTemplate(e.data),e.data=void 0)}}class h{constructor(e,t){this.modelProvider=e,this.accessibilityProvider=t}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(e){let t=this.modelProvider();return t.isResolved(e)?this.accessibilityProvider.getAriaLabel(t.get(e)):null}}class u{constructor(e,t,i,n,s={}){let o=()=>this.model,r=n.map(e=>new d(e,o));this.list=new a.aV(e,t,i,r,{...s,accessibilityProvider:s.accessibilityProvider&&new h(o,s.accessibilityProvider)})}updateOptions(e){this.list.updateOptions(e)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get widget(){return this.list}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return r.ju.map(this.list.onMouseDblClick,({element:e,index:t,browserEvent:i})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:i}))}get onPointer(){return r.ju.map(this.list.onPointer,({element:e,index:t,browserEvent:i})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:i}))}get onDidChangeSelection(){return r.ju.map(this.list.onDidChangeSelection,({elements:e,indexes:t,browserEvent:i})=>({elements:e.map(e=>this._model.get(e)),indexes:t,browserEvent:i}))}get model(){return this._model}set model(e){this._model=e,this.list.splice(0,this.list.length,(0,s.w6)(e.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map(e=>this.model.get(e))}style(e){this.list.style(e)}dispose(){this.list.dispose()}}var c=i(85432),g=i(82905),p=i(57629);i(884);class m{constructor(e,t,i){this.columns=e,this.getColumnSize=i,this.templateId=m.TemplateId,this.renderedTemplates=new Set;let n=new Map(t.map(e=>[e.templateId,e]));for(let t of(this.renderers=[],e)){let e=n.get(t.templateId);if(!e)throw Error(`Table cell renderer for template id ${t.templateId} not found.`);this.renderers.push(e)}}renderTemplate(e){let t=(0,n.R3)(e,(0,n.$)(".monaco-table-tr")),i=[],s=[];for(let e=0;ethis.disposables.add(new f(e,t))),u={size:h.reduce((e,t)=>e+t.column.weight,0),views:h.map(e=>({size:e.column.weight,view:e}))};this.splitview=this.disposables.add(new p.z(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:u})),this.splitview.el.style.height=`${i.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${i.headerRowHeight}px`;let c=new m(s,o,e=>this.splitview.getViewSize(e));this.list=this.disposables.add(new a.aV(e,this.domNode,{getHeight:e=>i.getHeight(e),getTemplateId:()=>m.TemplateId},[c],d)),r.ju.any(...h.map(e=>e.onDidLayout))(([e,t])=>c.layoutColumn(e,t),null,this.disposables),this.splitview.onDidSashReset(e=>{let t=s.reduce((e,t)=>e+t.weight,0),i=s[e].weight/t*this.cachedWidth;this.splitview.resizeView(e,i)},null,this.disposables),this.styleElement=(0,n.dS)(this.domNode),this.style(a.uZ)}updateOptions(e){this.list.updateOptions(e)}splice(e,t,i=[]){this.list.splice(e,t,i)}getHTMLElement(){return this.domNode}style(e){let t=[];t.push(`.monaco-table.${this.domId} > .monaco-split-view2 .monaco-sash.vertical::before { + | KEY ('==' | '!=' | '<' | '<=' | '>' | '>=' | 'in' | 'not' 'in') value`,this._peek())}}_value(){let e=this._peek();switch(e.type){case 17:case 18:return this._advance(),e.lexeme;case 11:return this._advance(),"true";case 12:return this._advance(),"false";case 13:return this._advance(),"in";default:return""}}_removeFlagsGY(e){return e.replaceAll(this._flagsGYRe,"")}_previous(){return this._tokens[this._current-1]}_matchOne(e){return!!this._check(e)&&(this._advance(),!0)}_advance(){return!this._isAtEnd()&&this._current++,this._previous()}_consume(e,t){if(this._check(e))return this._advance();throw this._errExpectedButGot(t,this._peek())}_errExpectedButGot(e,t,i){let n=(0,r.NC)("contextkey.parser.error.expectedButGot","Expected: {0}\nReceived: '{1}'.",e,h.getLexeme(t)),s=t.offset,o=h.getLexeme(t);return this._parsingErrors.push({message:n,offset:s,lexeme:o,additionalInfo:i}),S._parseError}_check(e){return this._peek().type===e}_peek(){return this._tokens[this._current]}_isAtEnd(){return 20===this._peek().type}}S._parseError=Error();class L{static false(){return x.INSTANCE}static true(){return N.INSTANCE}static has(e){return E.create(e)}static equals(e,t){return I.create(e,t)}static notEquals(e,t){return R.create(e,t)}static regex(e,t){return H.create(e,t)}static in(e,t){return T.create(e,t)}static notIn(e,t){return M.create(e,t)}static not(e){return A.create(e)}static and(...e){return K.create(e,null,!0)}static or(...e){return U.create(e,null,!0)}static deserialize(e){if(null==e)return;let t=this._parser.parse(e);return t}}function k(e,t){let i=e?e.substituteConstants():void 0,n=t?t.substituteConstants():void 0;return!i&&!n||!!i&&!!n&&i.equals(n)}function D(e,t){return e.cmp(t)}L._parser=new S({regexParsingWithErrorRecovery:!1});class x{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return N.INSTANCE}}x.INSTANCE=new x;class N{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return x.INSTANCE}}N.INSTANCE=new N;class E{static create(e,t=null){let i=c.get(e);return"boolean"==typeof i?i?N.INSTANCE:x.INSTANCE:new E(e,t)}constructor(e,t){this.key=e,this.negated=t,this.type=2}cmp(e){var t,i;return e.type!==this.type?this.type-e.type:(t=this.key,t<(i=e.key)?-1:t>i?1:0)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){let e=c.get(this.key);return"boolean"==typeof e?e?N.INSTANCE:x.INSTANCE:this}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=A.create(this.key,this)),this.negated}}class I{static create(e,t,i=null){if("boolean"==typeof t)return t?E.create(e,i):A.create(e,i);let n=c.get(e);return"boolean"==typeof n?t===(n?"true":"false")?N.INSTANCE:x.INSTANCE:new I(e,t,i)}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=4}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){let e=c.get(this.key);return"boolean"==typeof e?this.value===(e?"true":"false")?N.INSTANCE:x.INSTANCE:this}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=R.create(this.key,this.value,this)),this.negated}}class T{static create(e,t){return new T(e,t)}constructor(e,t){this.key=e,this.valueKey=t,this.type=10,this.negated=null}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.valueKey,e.key,e.valueKey)}equals(e){return e.type===this.type&&this.key===e.key&&this.valueKey===e.valueKey}substituteConstants(){return this}evaluate(e){let t=e.getValue(this.valueKey),i=e.getValue(this.key);return Array.isArray(t)?t.includes(i):"string"==typeof i&&"object"==typeof t&&null!==t&&g.call(t,i)}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=M.create(this.key,this.valueKey)),this.negated}}class M{static create(e,t){return new M(e,t)}constructor(e,t){this.key=e,this.valueKey=t,this.type=11,this._negated=T.create(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this._negated.cmp(e._negated)}equals(e){return e.type===this.type&&this._negated.equals(e._negated)}substituteConstants(){return this}evaluate(e){return!this._negated.evaluate(e)}serialize(){return`${this.key} not in '${this.valueKey}'`}keys(){return this._negated.keys()}negate(){return this._negated}}class R{static create(e,t,i=null){if("boolean"==typeof t)return t?A.create(e,i):E.create(e,i);let n=c.get(e);return"boolean"==typeof n?t===(n?"true":"false")?x.INSTANCE:N.INSTANCE:new R(e,t,i)}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=5}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){let e=c.get(this.key);return"boolean"==typeof e?this.value===(e?"true":"false")?x.INSTANCE:N.INSTANCE:this}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=I.create(this.key,this.value,this)),this.negated}}class A{static create(e,t=null){let i=c.get(e);return"boolean"==typeof i?i?x.INSTANCE:N.INSTANCE:new A(e,t)}constructor(e,t){this.key=e,this.negated=t,this.type=3}cmp(e){var t,i;return e.type!==this.type?this.type-e.type:(t=this.key,t<(i=e.key)?-1:t>i?1:0)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){let e=c.get(this.key);return"boolean"==typeof e?e?x.INSTANCE:N.INSTANCE:this}evaluate(e){return!e.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=E.create(this.key,this)),this.negated}}function P(e,t){if("string"==typeof e){let t=parseFloat(e);isNaN(t)||(e=t)}return"string"==typeof e||"number"==typeof e?t(e):x.INSTANCE}class O{static create(e,t,i=null){return P(t,t=>new O(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=12}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=W.create(this.key,this.value,this)),this.negated}}class F{static create(e,t,i=null){return P(t,t=>new F(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=13}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=B.create(this.key,this.value,this)),this.negated}}class B{static create(e,t,i=null){return P(t,t=>new B(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=14}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))new W(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=15}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=O.create(this.key,this.value,this)),this.negated}}class H{static create(e,t){return new H(e,t)}constructor(e,t){this.key=e,this.regexp=t,this.type=7,this.negated=null}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.keye.key)return 1;let t=this.regexp?this.regexp.source:"",i=e.regexp?e.regexp.source:"";return ti?1:0}equals(e){if(e.type===this.type){let t=this.regexp?this.regexp.source:"",i=e.regexp?e.regexp.source:"";return this.key===e.key&&t===i}return!1}substituteConstants(){return this}evaluate(e){let t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)}serialize(){let e=this.regexp?`/${this.regexp.source}/${this.regexp.flags}`:"/invalid/";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=V.create(this)),this.negated}}class V{static create(e){return new V(e)}constructor(e){this._actual=e,this.type=8}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}substituteConstants(){return this}evaluate(e){return!this._actual.evaluate(e)}serialize(){return`!(${this._actual.serialize()})`}keys(){return this._actual.keys()}negate(){return this._actual}}function z(e){let t=null;for(let i=0,n=e.length;ie.expr.length)return 1;for(let t=0,i=this.expr.length;t1;){let e=n[n.length-1];if(9!==e.type)break;n.pop();let t=n.pop(),s=0===n.length,o=U.create(e.expr.map(e=>K.create([e,t],null,i)),null,s);o&&(n.push(o),n.sort(D))}if(1===n.length)return n[0];if(i){for(let e=0;ee.serialize()).join(" && ")}keys(){let e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let e=[];for(let t of this.expr)e.push(t.negate());this.negated=U.create(e,this,!0)}return this.negated}}class U{static create(e,t,i){return U._normalizeArr(e,t,i)}constructor(e,t){this.expr=e,this.negated=t,this.type=9}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.lengthe.expr.length)return 1;for(let t=0,i=this.expr.length;te.serialize()).join(" || ")}keys(){let e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let e=[];for(let t of this.expr)e.push(t.negate());for(;e.length>1;){let t=e.shift(),i=e.shift(),n=[];for(let e of Q(t))for(let t of Q(i))n.push(K.create([e,t],null,!1));e.unshift(U.create(n,null,!1))}this.negated=U.create(e,this,!0)}return this.negated}}class $ extends E{static all(){return $._info.values()}constructor(e,t,i){super(e,null),this._defaultValue=t,"object"==typeof i?$._info.push({...i,key:e}):!0!==i&&$._info.push({key:e,description:i,type:null!=t?typeof t:void 0})}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(e){return I.create(this.key,e)}}$._info=[];let q=(0,u.yh)("contextKeyService");function j(e,t,i,n){return ei?1:tn?1:0}function G(e,t){let i=0,n=0;for(;i{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(e=>{this._onPreserveCaseKeyDown.fire(e)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;let c=[this.preserveCase.domNode];this.onkeydown(this.domNode,e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){let t=c.indexOf(this.domNode.ownerDocument.activeElement);if(t>=0){let i=-1;e.equals(17)?i=(t+1)%c.length:e.equals(15)&&(i=0===t?c.length-1:t-1),e.equals(9)?(c[t].blur(),this.inputBox.focus()):i>=0&&c[i].focus(),o.zB.stop(e,!0)}}});let p=document.createElement("div");p.className="controls",p.style.display=this._showOptionButtons?"block":"none",p.appendChild(this.preserveCase.domNode),this.domNode.appendChild(p),null==e||e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(e){e?this.enable():this.disable()}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(e){this.preserveCase.checked=e}focusOnPreserve(){this.preserveCase.focus()}validate(){var e;null===(e=this.inputBox)||void 0===e||e.validate()}set width(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.domNode.style.width=e+"px"}dispose(){super.dispose()}}var _=i(33336),v=i(93589),b=i(70784),C=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},w=function(e,t){return function(i,n){t(i,n,e)}};let y=new _.uy("suggestWidgetVisible",!1,(0,u.NC)("suggestWidgetVisible","Whether suggestion are visible")),S="historyNavigationWidgetFocus",L="historyNavigationForwardsEnabled",k="historyNavigationBackwardsEnabled",D=[];function x(e,t){if(D.includes(t))throw Error("Cannot register the same widget multiple times");D.push(t);let i=new b.SL,s=new _.uy(S,!1).bindTo(e),r=new _.uy(L,!0).bindTo(e),l=new _.uy(k,!0).bindTo(e),a=()=>{s.set(!0),n=t},d=()=>{s.set(!1),n===t&&(n=void 0)};return(0,o.H9)(t.element)&&a(),i.add(t.onDidFocus(()=>a())),i.add(t.onDidBlur(()=>d())),i.add((0,b.OF)(()=>{D.splice(D.indexOf(t),1),d()})),{historyNavigationForwardsEnablement:r,historyNavigationBackwardsEnablement:l,dispose(){i.dispose()}}}let N=class extends s.V{constructor(e,t,i,n){super(e,t,i);let s=this._register(n.createScoped(this.inputBox.element));this._register(x(s,this.inputBox))}};N=C([w(3,_.i6)],N);let E=class extends f{constructor(e,t,i,n,s=!1){super(e,t,s,i);let o=this._register(n.createScoped(this.inputBox.element));this._register(x(o,this.inputBox))}};E=C([w(3,_.i6)],E),v.W.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:_.Ao.and(_.Ao.has(S),_.Ao.equals(k,!0),_.Ao.not("isComposing"),y.isEqualTo(!1)),primary:16,secondary:[528],handler:e=>{null==n||n.showPreviousValue()}}),v.W.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:_.Ao.and(_.Ao.has(S),_.Ao.equals(L,!0),_.Ao.not("isComposing"),y.isEqualTo(!1)),primary:18,secondary:[530],handler:e=>{null==n||n.showNextValue()}})},96748:function(e,t,i){"use strict";i.d(t,{Bs:function(){return a},mQ:function(){return d}});var n=i(85327),s=i(70784),o=i(78426),r=i(81845),l=function(e,t){return function(i,n){t(i,n,e)}};let a=(0,n.yh)("hoverService"),d=class extends s.JT{get delay(){return this.isInstantlyHovering()?0:this._delay}constructor(e,t,i={},n,o){super(),this.placement=e,this.instantHover=t,this.overrideOptions=i,this.configurationService=n,this.hoverService=o,this.lastHoverHideTime=0,this.timeLimit=200,this.hoverDisposables=this._register(new s.SL),this._delay=this.configurationService.getValue("workbench.hover.delay"),this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration("workbench.hover.delay")&&(this._delay=this.configurationService.getValue("workbench.hover.delay"))}))}showHover(e,t){let i="function"==typeof this.overrideOptions?this.overrideOptions(e,t):this.overrideOptions;this.hoverDisposables.clear();let n=(0,r.Re)(e.target)?[e.target]:e.target.targetElements;for(let e of n)this.hoverDisposables.add((0,r.mu)(e,"keydown",e=>{e.equals(9)&&this.hoverService.hideHover()}));let s=(0,r.Re)(e.content)?void 0:e.content.toString();return this.hoverService.showHover({...e,...i,persistence:{hideOnKeyDown:!0,...i.persistence},id:s,appearance:{...e.appearance,compact:!0,skipFadeInAnimation:this.isInstantlyHovering(),...i.appearance}},t)}isInstantlyHovering(){return this.instantHover&&Date.now()-this.lastHoverHideTime=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([l(3,o.Ui),l(4,a)],d)},29938:function(e,t,i){"use strict";i.d(t,{M:function(){return n}});class n{constructor(e,t=[],i=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=i}}},66653:function(e,t,i){"use strict";i.d(t,{d:function(){return r},z:function(){return o}});var n=i(29938);let s=[];function o(e,t,i){t instanceof n.M||(t=new n.M(t,[],!!i)),s.push([e,t])}function r(){return s}},85327:function(e,t,i){"use strict";var n,s;i.d(t,{I8:function(){return n},TG:function(){return o},yh:function(){return r}}),(s=n||(n={})).serviceIds=new Map,s.DI_TARGET="$di$target",s.DI_DEPENDENCIES="$di$dependencies",s.getServiceDependencies=function(e){return e[s.DI_DEPENDENCIES]||[]};let o=r("instantiationService");function r(e){if(n.serviceIds.has(e))return n.serviceIds.get(e);let t=function(e,i,s){if(3!=arguments.length)throw Error("@IServiceName-decorator can only be used to decorate a parameter");e[n.DI_TARGET]===e?e[n.DI_DEPENDENCIES].push({id:t,index:s}):(e[n.DI_DEPENDENCIES]=[{id:t,index:s}],e[n.DI_TARGET]=e)};return t.toString=()=>e,n.serviceIds.set(e,t),t}},92477:function(e,t,i){"use strict";i.d(t,{y:function(){return n}});class n{constructor(...e){for(let[t,i]of(this._entries=new Map,e))this.set(t,i)}set(e,t){let i=this._entries.get(e);return this._entries.set(e,t),i}get(e){return this._entries.get(e)}}},69965:function(e,t,i){"use strict";i.d(t,{I:function(){return o}});var n=i(79915),s=i(34089);let o={JSONContribution:"base.contributions.json"},r=new class{constructor(){this._onDidChangeSchema=new n.Q5,this.schemasById={}}registerSchema(e,t){this.schemasById[e.length>0&&"#"===e.charAt(e.length-1)?e.substring(0,e.length-1):e]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}};s.B.add(o.JSONContribution,r)},46417:function(e,t,i){"use strict";i.d(t,{d:function(){return s}});var n=i(85327);let s=(0,n.yh)("keybindingService")},93589:function(e,t,i){"use strict";i.d(t,{W:function(){return h}});var n=i(70070),s=i(58022),o=i(81903),r=i(34089),l=i(70784),a=i(92270);class d{constructor(){this._coreKeybindings=new a.S,this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(1===s.OS){if(e&&e.win)return e.win}else if(2===s.OS){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){let t=d.bindToCurrentPlatform(e),i=new l.SL;if(t&&t.primary){let o=(0,n.Z9)(t.primary,s.OS);o&&i.add(this._registerDefaultKeybinding(o,e.id,e.args,e.weight,0,e.when))}if(t&&Array.isArray(t.secondary))for(let o=0,r=t.secondary.length;o{r(),this._cachedMergedKeybindings=null})}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=Array.from(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(u)),this._cachedMergedKeybindings.slice(0)}}let h=new d;function u(e,t){if(e.weight1!==t.weight1)return e.weight1-t.weight1;if(e.command&&t.command){if(e.commandt.command)return 1}return e.weight2-t.weight2}r.B.add("platform.keybindingsRegistry",h)},84449:function(e,t,i){"use strict";i.d(t,{e:function(){return s}});var n=i(85327);let s=(0,n.yh)("labelService")},6356:function(e,t,i){"use strict";i.d(t,{Lw:function(){return ef},XN:function(){return e_},ls:function(){return ti},CQ:function(){return ey},PF:function(){return e9},PS:function(){return eN},uJ:function(){return eI}});var n=i(81845),s=i(40789),o=i(9424),r=i(79915),l=i(70784);i(72119);var a=i(56240);class d{get templateId(){return this.renderer.templateId}constructor(e,t){this.renderer=e,this.modelProvider=t}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{data:t,disposable:l.JT.None}}renderElement(e,t,i,n){var s;if(null===(s=i.disposable)||void 0===s||s.dispose(),!i.data)return;let r=this.modelProvider();if(r.isResolved(e))return this.renderer.renderElement(r.get(e),e,i.data,n);let l=new o.AU,a=r.resolve(e,l.token);i.disposable={dispose:()=>l.cancel()},this.renderer.renderPlaceholder(e,i.data),a.then(t=>this.renderer.renderElement(t,e,i.data,n))}disposeTemplate(e){e.disposable&&(e.disposable.dispose(),e.disposable=void 0),e.data&&(this.renderer.disposeTemplate(e.data),e.data=void 0)}}class h{constructor(e,t){this.modelProvider=e,this.accessibilityProvider=t}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(e){let t=this.modelProvider();return t.isResolved(e)?this.accessibilityProvider.getAriaLabel(t.get(e)):null}}class u{constructor(e,t,i,n,s={}){let o=()=>this.model,r=n.map(e=>new d(e,o));this.list=new a.aV(e,t,i,r,{...s,accessibilityProvider:s.accessibilityProvider&&new h(o,s.accessibilityProvider)})}updateOptions(e){this.list.updateOptions(e)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get widget(){return this.list}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return r.ju.map(this.list.onMouseDblClick,({element:e,index:t,browserEvent:i})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:i}))}get onPointer(){return r.ju.map(this.list.onPointer,({element:e,index:t,browserEvent:i})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:i}))}get onDidChangeSelection(){return r.ju.map(this.list.onDidChangeSelection,({elements:e,indexes:t,browserEvent:i})=>({elements:e.map(e=>this._model.get(e)),indexes:t,browserEvent:i}))}get model(){return this._model}set model(e){this._model=e,this.list.splice(0,this.list.length,(0,s.w6)(e.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map(e=>this.model.get(e))}style(e){this.list.style(e)}dispose(){this.list.dispose()}}var c=i(85432),g=i(82905),p=i(57629);i(884);class m{constructor(e,t,i){this.columns=e,this.getColumnSize=i,this.templateId=m.TemplateId,this.renderedTemplates=new Set;let n=new Map(t.map(e=>[e.templateId,e]));for(let t of(this.renderers=[],e)){let e=n.get(t.templateId);if(!e)throw Error(`Table cell renderer for template id ${t.templateId} not found.`);this.renderers.push(e)}}renderTemplate(e){let t=(0,n.R3)(e,(0,n.$)(".monaco-table-tr")),i=[],s=[];for(let e=0;ethis.disposables.add(new f(e,t))),u={size:h.reduce((e,t)=>e+t.column.weight,0),views:h.map(e=>({size:e.column.weight,view:e}))};this.splitview=this.disposables.add(new p.z(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:u})),this.splitview.el.style.height=`${i.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${i.headerRowHeight}px`;let c=new m(s,o,e=>this.splitview.getViewSize(e));this.list=this.disposables.add(new a.aV(e,this.domNode,{getHeight:e=>i.getHeight(e),getTemplateId:()=>m.TemplateId},[c],d)),r.ju.any(...h.map(e=>e.onDidLayout))(([e,t])=>c.layoutColumn(e,t),null,this.disposables),this.splitview.onDidSashReset(e=>{let t=s.reduce((e,t)=>e+t.weight,0),i=s[e].weight/t*this.cachedWidth;this.splitview.resizeView(e,i)},null,this.disposables),this.styleElement=(0,n.dS)(this.domNode),this.style(a.uZ)}updateOptions(e){this.list.updateOptions(e)}splice(e,t,i=[]){this.list.splice(e,t,i)}getHTMLElement(){return this.domNode}style(e){let t=[];t.push(`.monaco-table.${this.domId} > .monaco-split-view2 .monaco-sash.vertical::before { top: ${this.virtualDelegate.headerRowHeight+1}px; height: calc(100% - ${this.virtualDelegate.headerRowHeight}px); - }`),this.styleElement.textContent=t.join("\n"),this.list.style(e)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.disposables.dispose()}}_.InstanceCount=0;var v=i(7374),b=i(78438),C=i(94936),w=i(68712),y=i(93072);class S{constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new C.X(e,t,null,i),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,i.sorter&&(this.sorter={compare:(e,t)=>i.sorter.compare(e.element,t.element)}),this.identityProvider=i.identityProvider}setChildren(e,t=y.$.empty(),i={}){let n=this.getElementLocation(e);this._setChildren(n,this.preserveCollapseState(t),i)}_setChildren(e,t=y.$.empty(),i){let n=new Set,s=new Set;this.model.splice([...e,0],Number.MAX_VALUE,t,{...i,onDidCreateNode:e=>{var t;if(null!==e.element){if(n.add(e.element),this.nodes.set(e.element,e),this.identityProvider){let t=this.identityProvider.getId(e.element).toString();s.add(t),this.nodesByIdentity.set(t,e)}null===(t=i.onDidCreateNode)||void 0===t||t.call(i,e)}},onDidDeleteNode:e=>{var t;if(null!==e.element){if(n.has(e.element)||this.nodes.delete(e.element),this.identityProvider){let t=this.identityProvider.getId(e.element).toString();s.has(t)||this.nodesByIdentity.delete(t)}null===(t=i.onDidDeleteNode)||void 0===t||t.call(i,e)}}})}preserveCollapseState(e=y.$.empty()){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),y.$.map(e,e=>{let t,i=this.nodes.get(e.element);if(!i&&this.identityProvider){let t=this.identityProvider.getId(e.element).toString();i=this.nodesByIdentity.get(t)}if(!i){let t;return t=void 0===e.collapsed?void 0:e.collapsed===w.kn.Collapsed||e.collapsed===w.kn.PreserveOrCollapsed||e.collapsed!==w.kn.Expanded&&e.collapsed!==w.kn.PreserveOrExpanded&&!!e.collapsed,{...e,children:this.preserveCollapseState(e.children),collapsed:t}}let n="boolean"==typeof e.collapsible?e.collapsible:i.collapsible;return t=void 0===e.collapsed||e.collapsed===w.kn.PreserveOrCollapsed||e.collapsed===w.kn.PreserveOrExpanded?i.collapsed:e.collapsed===w.kn.Collapsed||e.collapsed!==w.kn.Expanded&&!!e.collapsed,{...e,collapsible:n,collapsed:t,children:this.preserveCollapseState(e.children)}})}rerender(e){let t=this.getElementLocation(e);this.model.rerender(t)}getFirstElementChild(e=null){let t=this.getElementLocation(e);return this.model.getFirstElementChild(t)}has(e){return this.nodes.has(e)}getListIndex(e){let t=this.getElementLocation(e);return this.model.getListIndex(t)}getListRenderCount(e){let t=this.getElementLocation(e);return this.model.getListRenderCount(t)}isCollapsible(e){let t=this.getElementLocation(e);return this.model.isCollapsible(t)}setCollapsible(e,t){let i=this.getElementLocation(e);return this.model.setCollapsible(i,t)}isCollapsed(e){let t=this.getElementLocation(e);return this.model.isCollapsed(t)}setCollapsed(e,t,i){let n=this.getElementLocation(e);return this.model.setCollapsed(n,t,i)}expandTo(e){let t=this.getElementLocation(e);this.model.expandTo(t)}refilter(){this.model.refilter()}getNode(e=null){if(null===e)return this.model.getNode(this.model.rootRef);let t=this.nodes.get(e);if(!t)throw new w.ac(this.user,`Tree element not found: ${e}`);return t}getNodeLocation(e){return e.element}getParentNodeLocation(e){if(null===e)throw new w.ac(this.user,"Invalid getParentNodeLocation call");let t=this.nodes.get(e);if(!t)throw new w.ac(this.user,`Tree element not found: ${e}`);let i=this.model.getNodeLocation(t),n=this.model.getParentNodeLocation(i),s=this.model.getNode(n);return s.element}getElementLocation(e){if(null===e)return[];let t=this.nodes.get(e);if(!t)throw new w.ac(this.user,`Tree element not found: ${e}`);return this.model.getNodeLocation(t)}}function L(e){let t=[e.element],i=e.incompressible||!1;return{element:{elements:t,incompressible:i},children:y.$.map(y.$.from(e.children),L),collapsible:e.collapsible,collapsed:e.collapsed}}function k(e){let t,i;let n=[e.element],s=e.incompressible||!1;for(;[i,t]=y.$.consume(y.$.from(e.children),2),1===i.length&&!i[0].incompressible;)n.push((e=i[0]).element);return{element:{elements:n,incompressible:s},children:y.$.map(y.$.concat(i,t),k),collapsible:e.collapsible,collapsed:e.collapsed}}function D(e){return function e(t,i=0){let n;return(n=ie(t,0)),0===i&&t.element.incompressible)?{element:t.element.elements[i],children:n,incompressible:!0,collapsible:t.collapsible,collapsed:t.collapsed}:{element:t.element.elements[i],children:n,collapsible:t.collapsible,collapsed:t.collapsed}}(e,0)}let x=e=>({getId:t=>t.elements.map(t=>e.getId(t).toString()).join("\x00")});class N{get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.model=new S(e,t,i),this.enabled=void 0===i.compressionEnabled||i.compressionEnabled,this.identityProvider=i.identityProvider}setChildren(e,t=y.$.empty(),i){let n=i.diffIdentityProvider&&x(i.diffIdentityProvider);if(null===e){let e=y.$.map(t,this.enabled?k:L);this._setChildren(null,e,{diffIdentityProvider:n,diffDepth:1/0});return}let o=this.nodes.get(e);if(!o)throw new w.ac(this.user,"Unknown compressed tree node");let r=this.model.getNode(o),l=this.model.getParentNodeLocation(o),a=this.model.getNode(l),d=D(r),h=function e(t,i,n){return t.element===i?{...t,children:n}:{...t,children:y.$.map(y.$.from(t.children),t=>e(t,i,n))}}(d,e,t),u=(this.enabled?k:L)(h),c=i.diffIdentityProvider?(e,t)=>i.diffIdentityProvider.getId(e)===i.diffIdentityProvider.getId(t):void 0;if((0,s.fS)(u.element.elements,r.element.elements,c)){this._setChildren(o,u.children||y.$.empty(),{diffIdentityProvider:n,diffDepth:1});return}let g=a.children.map(e=>e===r?u:e);this._setChildren(a.element,g,{diffIdentityProvider:n,diffDepth:r.depth-a.depth})}isCompressionEnabled(){return this.enabled}setCompressionEnabled(e){if(e===this.enabled)return;this.enabled=e;let t=this.model.getNode(),i=t.children,n=y.$.map(i,D),s=y.$.map(n,e?k:L);this._setChildren(null,s,{diffIdentityProvider:this.identityProvider,diffDepth:1/0})}_setChildren(e,t,i){let n=new Set;this.model.setChildren(e,t,{...i,onDidCreateNode:e=>{for(let t of e.element.elements)n.add(t),this.nodes.set(t,e.element)},onDidDeleteNode:e=>{for(let t of e.element.elements)n.has(t)||this.nodes.delete(t)}})}has(e){return this.nodes.has(e)}getListIndex(e){let t=this.getCompressedNode(e);return this.model.getListIndex(t)}getListRenderCount(e){let t=this.getCompressedNode(e);return this.model.getListRenderCount(t)}getNode(e){if(void 0===e)return this.model.getNode();let t=this.getCompressedNode(e);return this.model.getNode(t)}getNodeLocation(e){let t=this.model.getNodeLocation(e);return null===t?null:t.elements[t.elements.length-1]}getParentNodeLocation(e){let t=this.getCompressedNode(e),i=this.model.getParentNodeLocation(t);return null===i?null:i.elements[i.elements.length-1]}getFirstElementChild(e){let t=this.getCompressedNode(e);return this.model.getFirstElementChild(t)}isCollapsible(e){let t=this.getCompressedNode(e);return this.model.isCollapsible(t)}setCollapsible(e,t){let i=this.getCompressedNode(e);return this.model.setCollapsible(i,t)}isCollapsed(e){let t=this.getCompressedNode(e);return this.model.isCollapsed(t)}setCollapsed(e,t,i){let n=this.getCompressedNode(e);return this.model.setCollapsed(n,t,i)}expandTo(e){let t=this.getCompressedNode(e);this.model.expandTo(t)}rerender(e){let t=this.getCompressedNode(e);this.model.rerender(t)}refilter(){this.model.refilter()}getCompressedNode(e){if(null===e)return null;let t=this.nodes.get(e);if(!t)throw new w.ac(this.user,`Tree element not found: ${e}`);return t}}let E=e=>e[e.length-1];class I{get element(){return null===this.node.element?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(e=>new I(this.unwrapper,e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}constructor(e,t){this.unwrapper=e,this.node=t}}class T{get onDidSplice(){return r.ju.map(this.model.onDidSplice,({insertedNodes:e,deletedNodes:t})=>({insertedNodes:e.map(e=>this.nodeMapper.map(e)),deletedNodes:t.map(e=>this.nodeMapper.map(e))}))}get onDidChangeCollapseState(){return r.ju.map(this.model.onDidChangeCollapseState,({node:e,deep:t})=>({node:this.nodeMapper.map(e),deep:t}))}get onDidChangeRenderNodeCount(){return r.ju.map(this.model.onDidChangeRenderNodeCount,e=>this.nodeMapper.map(e))}constructor(e,t,i={}){var n;this.rootRef=null,this.elementMapper=i.elementMapper||E;let s=e=>this.elementMapper(e.elements);this.nodeMapper=new w.VA(e=>new I(s,e)),this.model=new N(e,(n=this.nodeMapper,{splice(e,i,s){t.splice(e,i,s.map(e=>n.map(e)))},updateElementHeight(e,i){t.updateElementHeight(e,i)}}),{...i,identityProvider:i.identityProvider&&{getId:e=>i.identityProvider.getId(s(e))},sorter:i.sorter&&{compare:(e,t)=>i.sorter.compare(e.elements[0],t.elements[0])},filter:i.filter&&{filter:(e,t)=>i.filter.filter(s(e),t)}})}setChildren(e,t=y.$.empty(),i={}){this.model.setChildren(e,t,i)}isCompressionEnabled(){return this.model.isCompressionEnabled()}setCompressionEnabled(e){this.model.setCompressionEnabled(e)}has(e){return this.model.has(e)}getListIndex(e){return this.model.getListIndex(e)}getListRenderCount(e){return this.model.getListRenderCount(e)}getNode(e){return this.nodeMapper.map(this.model.getNode(e))}getNodeLocation(e){return e.element}getParentNodeLocation(e){return this.model.getParentNodeLocation(e)}getFirstElementChild(e){let t=this.model.getFirstElementChild(e);return null==t?t:this.elementMapper(t.elements)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}setCollapsed(e,t,i){return this.model.setCollapsed(e,t,i)}expandTo(e){return this.model.expandTo(e)}rerender(e){return this.model.rerender(e)}refilter(){return this.model.refilter()}getCompressedTreeNode(e=null){return this.model.getNode(e)}}var M=i(12435);class R extends v.CH{get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}constructor(e,t,i,n,s={}){super(e,t,i,n,s),this.user=e}setChildren(e,t=y.$.empty(),i){this.model.setChildren(e,t,i)}rerender(e){if(void 0===e){this.view.rerender();return}this.model.rerender(e)}hasElement(e){return this.model.has(e)}createModel(e,t,i){return new S(e,t,i)}}class A{get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}constructor(e,t,i){this._compressedTreeNodeProvider=e,this.stickyScrollDelegate=t,this.renderer=i,this.templateId=i.templateId,i.onDidChangeTwistieState&&(this.onDidChangeTwistieState=i.onDidChangeTwistieState)}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{compressedTreeNode:void 0,data:t}}renderElement(e,t,i,n){let s=this.stickyScrollDelegate.getCompressedNode(e);s||(s=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element)),1===s.element.elements.length?(i.compressedTreeNode=void 0,this.renderer.renderElement(e,t,i.data,n)):(i.compressedTreeNode=s,this.renderer.renderCompressedElements(s,t,i.data,n))}disposeElement(e,t,i,n){var s,o,r,l;i.compressedTreeNode?null===(o=(s=this.renderer).disposeCompressedElements)||void 0===o||o.call(s,i.compressedTreeNode,t,i.data,n):null===(l=(r=this.renderer).disposeElement)||void 0===l||l.call(r,e,t,i.data,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.data)}renderTwistie(e,t){return!!this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)}}!function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);o>3&&r&&Object.defineProperty(t,i,r)}([M.H],A.prototype,"compressedTreeNodeProvider",null);class P{constructor(e){this.modelProvider=e,this.compressedStickyNodes=new Map}getCompressedNode(e){return this.compressedStickyNodes.get(e)}constrainStickyScrollNodes(e,t,i){if(this.compressedStickyNodes.clear(),0===e.length)return[];for(let n=0;ni;if(r||n>=t-1&&tthis,r=new P(()=>this.model),l=n.map(e=>new A(o,r,e));super(e,t,i,l,{...s&&{...s,keyboardNavigationLabelProvider:s.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(e){let t;try{t=o().getCompressedTreeNode(e)}catch(t){return s.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e)}return 1===t.element.elements.length?s.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e):s.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.element.elements)}}},stickyScrollDelegate:r})}setChildren(e,t=y.$.empty(),i){this.model.setChildren(e,t,i)}createModel(e,t,i){return new T(e,t,i)}updateOptions(e={}){super.updateOptions(e),void 0!==e.compressionEnabled&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}var F=i(44532),B=i(47039),W=i(29527),H=i(32378),V=i(24162);function z(e){return{...e,children:[],refreshPromise:void 0,stale:!0,slow:!1,forceExpanded:!1}}function K(e,t){return!!t.parent&&(t.parent===e||K(e,t.parent))}class U{get element(){return this.node.element.element}get children(){return this.node.children.map(e=>new U(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}constructor(e){this.node=e}}class ${constructor(e,t,i){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.templateId=e.templateId}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{templateData:t}}renderElement(e,t,i,n){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,n)}renderTwistie(e,t){return e.slow?(t.classList.add(...W.k.asClassNameArray(B.l.treeItemLoading)),!0):(t.classList.remove(...W.k.asClassNameArray(B.l.treeItemLoading)),!1)}disposeElement(e,t,i,n){var s,o;null===(o=(s=this.renderer).disposeElement)||void 0===o||o.call(s,this.nodeMapper.map(e),t,i.templateData,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear()}}function q(e){return{browserEvent:e.browserEvent,elements:e.elements.map(e=>e.element)}}function j(e){return{browserEvent:e.browserEvent,element:e.element&&e.element.element,target:e.target}}class G extends b.kX{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function Q(e){return e instanceof b.kX?new G(e):e}class Z{constructor(e){this.dnd=e}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){var i,n;null===(n=(i=this.dnd).onDragStart)||void 0===n||n.call(i,Q(e),t)}onDragOver(e,t,i,n,s,o=!0){return this.dnd.onDragOver(Q(e),t&&t.element,i,n,s)}drop(e,t,i,n,s){this.dnd.drop(Q(e),t&&t.element,i,n,s)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}dispose(){this.dnd.dispose()}}function Y(e){return e&&{...e,collapseByDefault:!0,identityProvider:e.identityProvider&&{getId:t=>e.identityProvider.getId(t.element)},dnd:e.dnd&&new Z(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent:t=>e.multipleSelectionController.isSelectionSingleChangeEvent({...t,element:t.element}),isSelectionRangeChangeEvent:t=>e.multipleSelectionController.isSelectionRangeChangeEvent({...t,element:t.element})},accessibilityProvider:e.accessibilityProvider&&{...e.accessibilityProvider,getPosInSet:void 0,getSetSize:void 0,getRole:e.accessibilityProvider.getRole?t=>e.accessibilityProvider.getRole(t.element):()=>"treeitem",isChecked:e.accessibilityProvider.isChecked?t=>{var i;return!!(null===(i=e.accessibilityProvider)||void 0===i?void 0:i.isChecked(t.element))}:void 0,getAriaLabel:t=>e.accessibilityProvider.getAriaLabel(t.element),getWidgetAriaLabel:()=>e.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:e.accessibilityProvider.getWidgetRole?()=>e.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:e.accessibilityProvider.getAriaLevel&&(t=>e.accessibilityProvider.getAriaLevel(t.element)),getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&(t=>e.accessibilityProvider.getActiveDescendantId(t.element))},filter:e.filter&&{filter:(t,i)=>e.filter.filter(t.element,i)},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&{...e.keyboardNavigationLabelProvider,getKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)},sorter:void 0,expandOnlyOnTwistieClick:void 0===e.expandOnlyOnTwistieClick?void 0:"function"!=typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:t=>e.expandOnlyOnTwistieClick(t.element),defaultFindVisibility:t=>t.hasChildren&&t.stale?1:"number"==typeof e.defaultFindVisibility?e.defaultFindVisibility:void 0===e.defaultFindVisibility?2:e.defaultFindVisibility(t.element)}}function J(e,t){t(e),e.children.forEach(e=>J(e,t))}class X{get onDidScroll(){return this.tree.onDidScroll}get onDidChangeFocus(){return r.ju.map(this.tree.onDidChangeFocus,q)}get onDidChangeSelection(){return r.ju.map(this.tree.onDidChangeSelection,q)}get onMouseDblClick(){return r.ju.map(this.tree.onMouseDblClick,j)}get onPointer(){return r.ju.map(this.tree.onPointer,j)}get onDidFocus(){return this.tree.onDidFocus}get onDidChangeModel(){return this.tree.onDidChangeModel}get onDidChangeCollapseState(){return this.tree.onDidChangeCollapseState}get onDidChangeFindOpenState(){return this.tree.onDidChangeFindOpenState}get onDidChangeStickyScrollFocused(){return this.tree.onDidChangeStickyScrollFocused}get onDidDispose(){return this.tree.onDidDispose}constructor(e,t,i,n,s,o={}){this.user=e,this.dataSource=s,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new r.Q5,this._onDidChangeNodeSlowState=new r.Q5,this.nodeMapper=new w.VA(e=>new U(e)),this.disposables=new l.SL,this.identityProvider=o.identityProvider,this.autoExpandSingleChildren=void 0!==o.autoExpandSingleChildren&&o.autoExpandSingleChildren,this.sorter=o.sorter,this.getDefaultCollapseState=e=>o.collapseByDefault?o.collapseByDefault(e)?w.kn.PreserveOrCollapsed:w.kn.PreserveOrExpanded:void 0,this.tree=this.createTree(e,t,i,n,o),this.onDidChangeFindMode=this.tree.onDidChangeFindMode,this.onDidChangeFindMatchType=this.tree.onDidChangeFindMatchType,this.root=z({element:void 0,parent:null,hasChildren:!0,defaultCollapseState:void 0}),this.identityProvider&&(this.root={...this.root,id:null}),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}createTree(e,t,i,n,s){let o=new v.cz(i),r=n.map(e=>new $(e,this.nodeMapper,this._onDidChangeNodeSlowState.event)),l=Y(s)||{};return new R(e,t,o,r,l)}updateOptions(e={}){this.tree.updateOptions(e)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(e){this.tree.scrollTop=e}get scrollHeight(){return this.tree.scrollHeight}get renderHeight(){return this.tree.renderHeight}domFocus(){this.tree.domFocus()}layout(e,t){this.tree.layout(e,t)}style(e){this.tree.style(e)}getInput(){return this.root.element}async setInput(e,t){this.refreshPromises.forEach(e=>e.cancel()),this.refreshPromises.clear(),this.root.element=e;let i=t&&{viewState:t,focus:[],selection:[]};await this._updateChildren(e,!0,!1,i),i&&(this.tree.setFocus(i.focus),this.tree.setSelection(i.selection)),t&&"number"==typeof t.scrollTop&&(this.scrollTop=t.scrollTop)}async _updateChildren(e=this.root.element,t=!0,i=!1,n,s){if(void 0===this.root.element)throw new w.ac(this.user,"Tree input not set");this.root.refreshPromise&&(await this.root.refreshPromise,await r.ju.toPromise(this._onDidRender.event));let o=this.getDataNode(e);if(await this.refreshAndRenderNode(o,t,n,s),i)try{this.tree.rerender(o)}catch(e){}}rerender(e){if(void 0===e||e===this.root.element){this.tree.rerender();return}let t=this.getDataNode(e);this.tree.rerender(t)}getNode(e=this.root.element){let t=this.getDataNode(e),i=this.tree.getNode(t===this.root?null:t);return this.nodeMapper.map(i)}collapse(e,t=!1){let i=this.getDataNode(e);return this.tree.collapse(i===this.root?null:i,t)}async expand(e,t=!1){if(void 0===this.root.element)throw new w.ac(this.user,"Tree input not set");this.root.refreshPromise&&(await this.root.refreshPromise,await r.ju.toPromise(this._onDidRender.event));let i=this.getDataNode(e);if(this.tree.hasElement(i)&&!this.tree.isCollapsible(i)||(i.refreshPromise&&(await this.root.refreshPromise,await r.ju.toPromise(this._onDidRender.event)),i!==this.root&&!i.refreshPromise&&!this.tree.isCollapsed(i)))return!1;let n=this.tree.expand(i===this.root?null:i,t);return i.refreshPromise&&(await this.root.refreshPromise,await r.ju.toPromise(this._onDidRender.event)),n}setSelection(e,t){let i=e.map(e=>this.getDataNode(e));this.tree.setSelection(i,t)}getSelection(){let e=this.tree.getSelection();return e.map(e=>e.element)}setFocus(e,t){let i=e.map(e=>this.getDataNode(e));this.tree.setFocus(i,t)}getFocus(){let e=this.tree.getFocus();return e.map(e=>e.element)}reveal(e,t){this.tree.reveal(this.getDataNode(e),t)}getParentElement(e){let t=this.tree.getParentElement(this.getDataNode(e));return t&&t.element}getFirstElementChild(e=this.root.element){let t=this.getDataNode(e),i=this.tree.getFirstElementChild(t===this.root?null:t);return i&&i.element}getDataNode(e){let t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new w.ac(this.user,`Data tree node not found: ${e}`);return t}async refreshAndRenderNode(e,t,i,n){await this.refreshNode(e,t,i),this.disposables.isDisposed||this.render(e,i,n)}async refreshNode(e,t,i){let n;if(this.subTreeRefreshPromises.forEach((s,o)=>{!n&&(o===e||K(o,e)||K(e,o))&&(n=s.then(()=>this.refreshNode(e,t,i)))}),n)return n;if(e!==this.root){let n=this.tree.getNode(e);if(n.collapsed){e.hasChildren=!!this.dataSource.hasChildren(e.element),e.stale=!0,this.setChildren(e,[],t,i);return}}return this.doRefreshSubTree(e,t,i)}async doRefreshSubTree(e,t,i){let n;e.refreshPromise=new Promise(e=>n=e),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally(()=>{e.refreshPromise=void 0,this.subTreeRefreshPromises.delete(e)});try{let n=await this.doRefreshNode(e,t,i);e.stale=!1,await F.jT.settled(n.map(e=>this.doRefreshSubTree(e,t,i)))}finally{n()}}async doRefreshNode(e,t,i){let n;if(e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren){let t=this.doGetChildren(e);if((0,V.TW)(t))n=Promise.resolve(t);else{let i=(0,F.Vs)(800);i.then(()=>{e.slow=!0,this._onDidChangeNodeSlowState.fire(e)},e=>null),n=t.finally(()=>i.cancel())}}else n=Promise.resolve(y.$.empty());try{let s=await n;return this.setChildren(e,s,t,i)}catch(t){if(e!==this.root&&this.tree.hasElement(e)&&this.tree.collapse(e),(0,H.n2)(t))return[];throw t}finally{e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e))}}doGetChildren(e){let t=this.refreshPromises.get(e);if(t)return t;let i=this.dataSource.getChildren(e.element);return(0,V.TW)(i)?this.processChildren(i):(t=(0,F.PG)(async()=>this.processChildren(await i)),this.refreshPromises.set(e,t),t.finally(()=>{this.refreshPromises.delete(e)}))}_onDidChangeCollapseState({node:e,deep:t}){null!==e.element&&!e.collapsed&&e.element.stale&&(t?this.collapse(e.element.element):this.refreshAndRenderNode(e.element,!1).catch(H.dL))}setChildren(e,t,i,n){let s=[...t];if(0===e.children.length&&0===s.length)return[];let o=new Map,r=new Map;for(let t of e.children)o.set(t.element,t),this.identityProvider&&r.set(t.id,{node:t,collapsed:this.tree.hasElement(t)&&this.tree.isCollapsed(t)});let l=[],a=s.map(t=>{let s=!!this.dataSource.hasChildren(t);if(!this.identityProvider){let i=z({element:t,parent:e,hasChildren:s,defaultCollapseState:this.getDefaultCollapseState(t)});return s&&i.defaultCollapseState===w.kn.PreserveOrExpanded&&l.push(i),i}let a=this.identityProvider.getId(t).toString(),d=r.get(a);if(d){let e=d.node;return o.delete(e.element),this.nodes.delete(e.element),this.nodes.set(t,e),e.element=t,e.hasChildren=s,i?d.collapsed?(e.children.forEach(e=>J(e,e=>this.nodes.delete(e.element))),e.children.splice(0,e.children.length),e.stale=!0):l.push(e):s&&!d.collapsed&&l.push(e),e}let h=z({element:t,parent:e,id:a,hasChildren:s,defaultCollapseState:this.getDefaultCollapseState(t)});return n&&n.viewState.focus&&n.viewState.focus.indexOf(a)>-1&&n.focus.push(h),n&&n.viewState.selection&&n.viewState.selection.indexOf(a)>-1&&n.selection.push(h),n&&n.viewState.expanded&&n.viewState.expanded.indexOf(a)>-1?l.push(h):s&&h.defaultCollapseState===w.kn.PreserveOrExpanded&&l.push(h),h});for(let e of o.values())J(e,e=>this.nodes.delete(e.element));for(let e of a)this.nodes.set(e.element,e);return e.children.splice(0,e.children.length,...a),e!==this.root&&this.autoExpandSingleChildren&&1===a.length&&0===l.length&&(a[0].forceExpanded=!0,l.push(a[0])),l}render(e,t,i){let n=e.children.map(e=>this.asTreeElement(e,t)),s=i&&{...i,diffIdentityProvider:i.diffIdentityProvider&&{getId:e=>i.diffIdentityProvider.getId(e.element)}};this.tree.setChildren(e===this.root?null:e,n,s),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()}asTreeElement(e,t){let i;return e.stale?{element:e,collapsible:e.hasChildren,collapsed:!0}:(t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1?i=!1:e.forceExpanded?(i=!1,e.forceExpanded=!1):i=e.defaultCollapseState,{element:e,children:e.hasChildren?y.$.map(e.children,e=>this.asTreeElement(e,t)):[],collapsible:e.hasChildren,collapsed:i})}processChildren(e){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),e}dispose(){this.disposables.dispose(),this.tree.dispose()}}class ee{get element(){return{elements:this.node.element.elements.map(e=>e.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(e=>new ee(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}constructor(e){this.node=e}}class et{constructor(e,t,i,n){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=i,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{templateData:t}}renderElement(e,t,i,n){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,n)}renderCompressedElements(e,t,i,n){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,i.templateData,n)}renderTwistie(e,t){return e.slow?(t.classList.add(...W.k.asClassNameArray(B.l.treeItemLoading)),!0):(t.classList.remove(...W.k.asClassNameArray(B.l.treeItemLoading)),!1)}disposeElement(e,t,i,n){var s,o;null===(o=(s=this.renderer).disposeElement)||void 0===o||o.call(s,this.nodeMapper.map(e),t,i.templateData,n)}disposeCompressedElements(e,t,i,n){var s,o;null===(o=(s=this.renderer).disposeCompressedElements)||void 0===o||o.call(s,this.compressibleNodeMapperProvider().map(e),t,i.templateData,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=(0,l.B9)(this.disposables)}}class ei extends X{constructor(e,t,i,n,s,o,r={}){super(e,t,i,s,o,r),this.compressionDelegate=n,this.compressibleNodeMapper=new w.VA(e=>new ee(e)),this.filter=r.filter}createTree(e,t,i,n,s){let o=new v.cz(i),r=n.map(e=>new et(e,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),l=function(e){let t=e&&Y(e);return t&&{...t,keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&{...t.keyboardNavigationLabelProvider,getCompressedNodeKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map(e=>e.element))}}}(s)||{};return new O(e,t,o,r,l)}asTreeElement(e,t){return{incompressible:this.compressionDelegate.isIncompressible(e.element),...super.asTreeElement(e,t)}}updateOptions(e={}){this.tree.updateOptions(e)}render(e,t,i){if(!this.identityProvider)return super.render(e,t);let n=e=>this.identityProvider.getId(e).toString(),s=e=>{let t=new Set;for(let i of e){let e=this.tree.getCompressedTreeNode(i===this.root?null:i);if(e.element)for(let i of e.element.elements)t.add(n(i.element))}return t},o=s(this.tree.getSelection()),r=s(this.tree.getFocus());super.render(e,t,i);let l=this.getSelection(),a=!1,d=this.getFocus(),h=!1,u=e=>{let t=e.element;if(t)for(let e=0;e{let t=this.filter.filter(e,1),i="boolean"==typeof t?t?1:0:(0,C.gB)(t)?(0,C.aG)(t.visibility):(0,C.aG)(t);if(2===i)throw Error("Recursive tree visibility not supported in async data compressed trees");return 1===i})),super.processChildren(e)}}class en extends v.CH{constructor(e,t,i,n,s,o={}){super(e,t,i,n,o),this.user=e,this.dataSource=s,this.identityProvider=o.identityProvider}createModel(e,t,i){return new S(e,t,i)}}var es=i(82801),eo=i(78426),er=i(73004),el=i(33336),ea=i(28656),ed=i(10727),eh=i(85327),eu=i(46417),ec=i(34089),eg=i(72485),ep=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},em=function(e,t){return function(i,n){t(i,n,e)}};let ef=(0,eh.yh)("listService");class e_{get lastFocusedList(){return this._lastFocusedWidget}constructor(){this.disposables=new l.SL,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}setLastFocusedList(e){var t,i;e!==this._lastFocusedWidget&&(null===(t=this._lastFocusedWidget)||void 0===t||t.getHTMLElement().classList.remove("last-focused"),this._lastFocusedWidget=e,null===(i=this._lastFocusedWidget)||void 0===i||i.getHTMLElement().classList.add("last-focused"))}register(e,t){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;let e=new a.wD((0,n.dS)(),"");e.style(eg.O2)}if(this.lists.some(t=>t.widget===e))throw Error("Cannot register the same widget multiple times");let i={widget:e,extraContextKeys:t};return this.lists.push(i),(0,n.H9)(e.getHTMLElement())&&this.setLastFocusedList(e),(0,l.F8)(e.onDidFocus(()=>this.setLastFocusedList(e)),(0,l.OF)(()=>this.lists.splice(this.lists.indexOf(i),1)),e.onDidDispose(()=>{this.lists=this.lists.filter(e=>e!==i),this._lastFocusedWidget===e&&this.setLastFocusedList(void 0)}))}dispose(){this.disposables.dispose()}}let ev=new el.uy("listScrollAtBoundary","none");el.Ao.or(ev.isEqualTo("top"),ev.isEqualTo("both")),el.Ao.or(ev.isEqualTo("bottom"),ev.isEqualTo("both"));let eb=new el.uy("listFocus",!0),eC=new el.uy("treestickyScrollFocused",!1),ew=new el.uy("listSupportsMultiselect",!0),ey=el.Ao.and(eb,el.Ao.not(ea.d0),eC.negate()),eS=new el.uy("listHasSelectionOrFocus",!1),eL=new el.uy("listDoubleSelection",!1),ek=new el.uy("listMultiSelection",!1),eD=new el.uy("listSelectionNavigation",!1),ex=new el.uy("listSupportsFind",!0),eN=new el.uy("treeElementCanCollapse",!1),eE=new el.uy("treeElementHasParent",!1),eI=new el.uy("treeElementCanExpand",!1),eT=new el.uy("treeElementHasChild",!1),eM=new el.uy("treeFindOpen",!1),eR="listTypeNavigationMode",eA="listAutomaticKeyboardNavigation";function eP(e,t){let i=e.createScoped(t.getHTMLElement());return eb.bindTo(i),i}function eO(e,t){let i=ev.bindTo(e),n=()=>{let e=0===t.scrollTop,n=t.scrollHeight-t.renderHeight-t.scrollTop<1;e&&n?i.set("both"):e?i.set("top"):n?i.set("bottom"):i.set("none")};return n(),t.onDidScroll(n)}let eF="workbench.list.multiSelectModifier",eB="workbench.list.openMode",eW="workbench.list.horizontalScrolling",eH="workbench.list.defaultFindMode",eV="workbench.list.typeNavigationMode",ez="workbench.list.keyboardNavigation",eK="workbench.list.scrollByPage",eU="workbench.list.defaultFindMatchType",e$="workbench.tree.indent",eq="workbench.tree.renderIndentGuides",ej="workbench.list.smoothScrolling",eG="workbench.list.mouseWheelScrollSensitivity",eQ="workbench.list.fastScrollSensitivity",eZ="workbench.tree.expandMode",eY="workbench.tree.enableStickyScroll",eJ="workbench.tree.stickyScrollMaxItemCount";function eX(e){return"alt"===e.getValue(eF)}class e0 extends l.JT{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=eX(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(eF)&&(this.useAltAsMultipleSelectionModifier=eX(this.configurationService))}))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:(0,a.Zo)(e)}isSelectionRangeChangeEvent(e){return(0,a.wn)(e)}}function e1(e,t){var i;let n;let s=e.get(eo.Ui),o=e.get(eu.d),r=new l.SL,a={...t,keyboardNavigationDelegate:{mightProducePrintableCharacter:e=>o.mightProducePrintableCharacter(e)},smoothScrolling:!!s.getValue(ej),mouseWheelScrollSensitivity:s.getValue(eG),fastScrollSensitivity:s.getValue(eQ),multipleSelectionController:null!==(i=t.multipleSelectionController)&&void 0!==i?i:r.add(new e0(s)),keyboardNavigationEventFilter:(n=!1,e=>{if(e.toKeyCodeChord().isModifierKey())return!1;if(n)return n=!1,!1;let t=o.softDispatch(e,e.target);return 1===t.kind?(n=!0,!1):(n=!1,0===t.kind)}),scrollByPage:!!s.getValue(eK)};return[a,r]}let e2=class extends a.aV{constructor(e,t,i,n,s,o,r,l,a){let d=void 0!==s.horizontalScrolling?s.horizontalScrolling:!!l.getValue(eW),[h,u]=a.invokeFunction(e1,s);super(e,t,i,n,{keyboardSupport:!1,...h,horizontalScrolling:d}),this.disposables.add(u),this.contextKeyService=eP(o,this),this.disposables.add(eO(this.contextKeyService,this)),this.listSupportsMultiSelect=ew.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==s.multipleSelectionSupport);let c=eD.bindTo(this.contextKeyService);c.set(!!s.selectionNavigation),this.listHasSelectionOrFocus=eS.bindTo(this.contextKeyService),this.listDoubleSelection=eL.bindTo(this.contextKeyService),this.listMultiSelection=ek.bindTo(this.contextKeyService),this.horizontalScrolling=s.horizontalScrolling,this._useAltAsMultipleSelectionModifier=eX(l),this.disposables.add(this.contextKeyService),this.disposables.add(r.register(this)),this.updateStyles(s.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{let e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)})})),this.disposables.add(this.onDidChangeFocus(()=>{let e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)})),this.disposables.add(l.onDidChangeConfiguration(e=>{e.affectsConfiguration(eF)&&(this._useAltAsMultipleSelectionModifier=eX(l));let t={};if(e.affectsConfiguration(eW)&&void 0===this.horizontalScrolling){let e=!!l.getValue(eW);t={...t,horizontalScrolling:e}}if(e.affectsConfiguration(eK)){let e=!!l.getValue(eK);t={...t,scrollByPage:e}}if(e.affectsConfiguration(ej)){let e=!!l.getValue(ej);t={...t,smoothScrolling:e}}if(e.affectsConfiguration(eG)){let e=l.getValue(eG);t={...t,mouseWheelScrollSensitivity:e}}if(e.affectsConfiguration(eQ)){let e=l.getValue(eQ);t={...t,fastScrollSensitivity:e}}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new e7(this,{configurationService:l,...s}),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),void 0!==e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?(0,eg.TU)(e):eg.O2)}};e2=ep([em(5,el.i6),em(6,ef),em(7,eo.Ui),em(8,eh.TG)],e2);let e4=class extends u{constructor(e,t,i,n,s,o,r,a,d){let h=void 0!==s.horizontalScrolling?s.horizontalScrolling:!!a.getValue(eW),[u,c]=d.invokeFunction(e1,s);super(e,t,i,n,{keyboardSupport:!1,...u,horizontalScrolling:h}),this.disposables=new l.SL,this.disposables.add(c),this.contextKeyService=eP(o,this),this.disposables.add(eO(this.contextKeyService,this.widget)),this.horizontalScrolling=s.horizontalScrolling,this.listSupportsMultiSelect=ew.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==s.multipleSelectionSupport);let g=eD.bindTo(this.contextKeyService);g.set(!!s.selectionNavigation),this._useAltAsMultipleSelectionModifier=eX(a),this.disposables.add(this.contextKeyService),this.disposables.add(r.register(this)),this.updateStyles(s.overrideStyles),this.disposables.add(a.onDidChangeConfiguration(e=>{e.affectsConfiguration(eF)&&(this._useAltAsMultipleSelectionModifier=eX(a));let t={};if(e.affectsConfiguration(eW)&&void 0===this.horizontalScrolling){let e=!!a.getValue(eW);t={...t,horizontalScrolling:e}}if(e.affectsConfiguration(eK)){let e=!!a.getValue(eK);t={...t,scrollByPage:e}}if(e.affectsConfiguration(ej)){let e=!!a.getValue(ej);t={...t,smoothScrolling:e}}if(e.affectsConfiguration(eG)){let e=a.getValue(eG);t={...t,mouseWheelScrollSensitivity:e}}if(e.affectsConfiguration(eQ)){let e=a.getValue(eQ);t={...t,fastScrollSensitivity:e}}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new e7(this,{configurationService:a,...s}),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),void 0!==e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?(0,eg.TU)(e):eg.O2)}dispose(){this.disposables.dispose(),super.dispose()}};e4=ep([em(5,el.i6),em(6,ef),em(7,eo.Ui),em(8,eh.TG)],e4);let e5=class extends _{constructor(e,t,i,n,s,o,r,l,a,d){let h=void 0!==o.horizontalScrolling?o.horizontalScrolling:!!a.getValue(eW),[u,c]=d.invokeFunction(e1,o);super(e,t,i,n,s,{keyboardSupport:!1,...u,horizontalScrolling:h}),this.disposables.add(c),this.contextKeyService=eP(r,this),this.disposables.add(eO(this.contextKeyService,this)),this.listSupportsMultiSelect=ew.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==o.multipleSelectionSupport);let g=eD.bindTo(this.contextKeyService);g.set(!!o.selectionNavigation),this.listHasSelectionOrFocus=eS.bindTo(this.contextKeyService),this.listDoubleSelection=eL.bindTo(this.contextKeyService),this.listMultiSelection=ek.bindTo(this.contextKeyService),this.horizontalScrolling=o.horizontalScrolling,this._useAltAsMultipleSelectionModifier=eX(a),this.disposables.add(this.contextKeyService),this.disposables.add(l.register(this)),this.updateStyles(o.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{let e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)})})),this.disposables.add(this.onDidChangeFocus(()=>{let e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)})),this.disposables.add(a.onDidChangeConfiguration(e=>{e.affectsConfiguration(eF)&&(this._useAltAsMultipleSelectionModifier=eX(a));let t={};if(e.affectsConfiguration(eW)&&void 0===this.horizontalScrolling){let e=!!a.getValue(eW);t={...t,horizontalScrolling:e}}if(e.affectsConfiguration(eK)){let e=!!a.getValue(eK);t={...t,scrollByPage:e}}if(e.affectsConfiguration(ej)){let e=!!a.getValue(ej);t={...t,smoothScrolling:e}}if(e.affectsConfiguration(eG)){let e=a.getValue(eG);t={...t,mouseWheelScrollSensitivity:e}}if(e.affectsConfiguration(eQ)){let e=a.getValue(eQ);t={...t,fastScrollSensitivity:e}}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new e8(this,{configurationService:a,...o}),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),void 0!==e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?(0,eg.TU)(e):eg.O2)}dispose(){this.disposables.dispose(),super.dispose()}};e5=ep([em(6,el.i6),em(7,ef),em(8,eo.Ui),em(9,eh.TG)],e5);class e3 extends l.JT{constructor(e,t){var i;super(),this.widget=e,this._onDidOpen=this._register(new r.Q5),this.onDidOpen=this._onDidOpen.event,this._register(r.ju.filter(this.widget.onDidChangeSelection,e=>(0,n.vd)(e.browserEvent))(e=>this.onSelectionFromKeyboard(e))),this._register(this.widget.onPointer(e=>this.onPointer(e.element,e.browserEvent))),this._register(this.widget.onMouseDblClick(e=>this.onMouseDblClick(e.element,e.browserEvent))),"boolean"!=typeof(null==t?void 0:t.openOnSingleClick)&&(null==t?void 0:t.configurationService)?(this.openOnSingleClick=(null==t?void 0:t.configurationService.getValue(eB))!=="doubleClick",this._register(null==t?void 0:t.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(eB)&&(this.openOnSingleClick=(null==t?void 0:t.configurationService.getValue(eB))!=="doubleClick")}))):this.openOnSingleClick=null===(i=null==t?void 0:t.openOnSingleClick)||void 0===i||i}onSelectionFromKeyboard(e){if(1!==e.elements.length)return;let t=e.browserEvent,i="boolean"!=typeof t.preserveFocus||t.preserveFocus,n="boolean"==typeof t.pinned?t.pinned:!i;this._open(this.getSelectedElement(),i,n,!1,e.browserEvent)}onPointer(e,t){if(!this.openOnSingleClick)return;let i=2===t.detail;if(i)return;let n=1===t.button,s=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!0,n,s,t)}onMouseDblClick(e,t){if(!t)return;let i=t.target,n=i.classList.contains("monaco-tl-twistie")||i.classList.contains("monaco-icon-label")&&i.classList.contains("folder-icon")&&t.offsetX<16;if(n)return;let s=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!1,!0,s,t)}_open(e,t,i,n,s){e&&this._onDidOpen.fire({editorOptions:{preserveFocus:t,pinned:i,revealIfVisible:!0},sideBySide:n,element:e,browserEvent:s})}}class e7 extends e3{constructor(e,t){super(e,t),this.widget=e}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class e8 extends e3{constructor(e,t){super(e,t)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class e6 extends e3{constructor(e,t){super(e,t)}getSelectedElement(){var e;return null!==(e=this.widget.getSelection()[0])&&void 0!==e?e:void 0}}let e9=class extends R{constructor(e,t,i,n,s,o,r,l,a){let{options:d,getTypeNavigationMode:h,disposable:u}=o.invokeFunction(tr,s);super(e,t,i,n,d),this.disposables.add(u),this.internals=new tl(this,s,h,s.overrideStyles,r,l,a),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};e9=ep([em(5,eh.TG),em(6,el.i6),em(7,ef),em(8,eo.Ui)],e9);let te=class extends O{constructor(e,t,i,n,s,o,r,l,a){let{options:d,getTypeNavigationMode:h,disposable:u}=o.invokeFunction(tr,s);super(e,t,i,n,d),this.disposables.add(u),this.internals=new tl(this,s,h,s.overrideStyles,r,l,a),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};te=ep([em(5,eh.TG),em(6,el.i6),em(7,ef),em(8,eo.Ui)],te);let tt=class extends en{constructor(e,t,i,n,s,o,r,l,a,d){let{options:h,getTypeNavigationMode:u,disposable:c}=r.invokeFunction(tr,o);super(e,t,i,n,s,h),this.disposables.add(c),this.internals=new tl(this,o,u,o.overrideStyles,l,a,d),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),void 0!==e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};tt=ep([em(6,eh.TG),em(7,el.i6),em(8,ef),em(9,eo.Ui)],tt);let ti=class extends X{get onDidOpen(){return this.internals.onDidOpen}constructor(e,t,i,n,s,o,r,l,a,d){let{options:h,getTypeNavigationMode:u,disposable:c}=r.invokeFunction(tr,o);super(e,t,i,n,s,h),this.disposables.add(c),this.internals=new tl(this,o,u,o.overrideStyles,l,a,d),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};ti=ep([em(6,eh.TG),em(7,el.i6),em(8,ef),em(9,eo.Ui)],ti);let tn=class extends ei{constructor(e,t,i,n,s,o,r,l,a,d,h){let{options:u,getTypeNavigationMode:c,disposable:g}=l.invokeFunction(tr,r);super(e,t,i,n,s,o,u),this.disposables.add(g),this.internals=new tl(this,r,c,r.overrideStyles,a,d,h),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};function ts(e){let t=e.getValue(eH);if("highlight"===t)return v.sZ.Highlight;if("filter"===t)return v.sZ.Filter;let i=e.getValue(ez);return"simple"===i||"highlight"===i?v.sZ.Highlight:"filter"===i?v.sZ.Filter:void 0}function to(e){let t=e.getValue(eU);return"fuzzy"===t?v.Zd.Fuzzy:"contiguous"===t?v.Zd.Contiguous:void 0}function tr(e,t){var i;let n=e.get(eo.Ui),s=e.get(ed.u),o=e.get(el.i6),r=e.get(eh.TG),l=void 0!==t.horizontalScrolling?t.horizontalScrolling:!!n.getValue(eW),[d,h]=r.invokeFunction(e1,t),u=t.paddingBottom,c=void 0!==t.renderIndentGuides?t.renderIndentGuides:n.getValue(eq);return{getTypeNavigationMode:()=>{let e=o.getContextKeyValue(eR);if("automatic"===e)return a.AA.Automatic;if("trigger"===e)return a.AA.Trigger;let t=o.getContextKeyValue(eA);if(!1===t)return a.AA.Trigger;let i=n.getValue(eV);return"automatic"===i?a.AA.Automatic:"trigger"===i?a.AA.Trigger:void 0},disposable:h,options:{keyboardSupport:!1,...d,indent:"number"==typeof n.getValue(e$)?n.getValue(e$):void 0,renderIndentGuides:c,smoothScrolling:!!n.getValue(ej),defaultFindMode:ts(n),defaultFindMatchType:to(n),horizontalScrolling:l,scrollByPage:!!n.getValue(eK),paddingBottom:u,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:null!==(i=t.expandOnlyOnTwistieClick)&&void 0!==i?i:"doubleClick"===n.getValue(eZ),contextViewProvider:s,findWidgetStyles:eg.uX,enableStickyScroll:!!n.getValue(eY),stickyScrollMaxItemCount:Number(n.getValue(eJ))}}}tn=ep([em(7,eh.TG),em(8,el.i6),em(9,ef),em(10,eo.Ui)],tn);let tl=class{get onDidOpen(){return this.navigator.onDidOpen}constructor(e,t,i,n,s,o,r){var l;this.tree=e,this.disposables=[],this.contextKeyService=eP(s,e),this.disposables.push(eO(this.contextKeyService,e)),this.listSupportsMultiSelect=ew.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==t.multipleSelectionSupport);let a=eD.bindTo(this.contextKeyService);a.set(!!t.selectionNavigation),this.listSupportFindWidget=ex.bindTo(this.contextKeyService),this.listSupportFindWidget.set(null===(l=t.findWidgetEnabled)||void 0===l||l),this.hasSelectionOrFocus=eS.bindTo(this.contextKeyService),this.hasDoubleSelection=eL.bindTo(this.contextKeyService),this.hasMultiSelection=ek.bindTo(this.contextKeyService),this.treeElementCanCollapse=eN.bindTo(this.contextKeyService),this.treeElementHasParent=eE.bindTo(this.contextKeyService),this.treeElementCanExpand=eI.bindTo(this.contextKeyService),this.treeElementHasChild=eT.bindTo(this.contextKeyService),this.treeFindOpen=eM.bindTo(this.contextKeyService),this.treeStickyScrollFocused=eC.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=eX(r),this.updateStyleOverrides(n);let d=()=>{let t=e.getFocus()[0];if(!t)return;let i=e.getNode(t);this.treeElementCanCollapse.set(i.collapsible&&!i.collapsed),this.treeElementHasParent.set(!!e.getParentElement(t)),this.treeElementCanExpand.set(i.collapsible&&i.collapsed),this.treeElementHasChild.set(!!e.getFirstElementChild(t))},h=new Set;h.add(eR),h.add(eA),this.disposables.push(this.contextKeyService,o.register(e),e.onDidChangeSelection(()=>{let t=e.getSelection(),i=e.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(t.length>0||i.length>0),this.hasMultiSelection.set(t.length>1),this.hasDoubleSelection.set(2===t.length)})}),e.onDidChangeFocus(()=>{let t=e.getSelection(),i=e.getFocus();this.hasSelectionOrFocus.set(t.length>0||i.length>0),d()}),e.onDidChangeCollapseState(d),e.onDidChangeModel(d),e.onDidChangeFindOpenState(e=>this.treeFindOpen.set(e)),e.onDidChangeStickyScrollFocused(e=>this.treeStickyScrollFocused.set(e)),r.onDidChangeConfiguration(n=>{let s={};if(n.affectsConfiguration(eF)&&(this._useAltAsMultipleSelectionModifier=eX(r)),n.affectsConfiguration(e$)){let e=r.getValue(e$);s={...s,indent:e}}if(n.affectsConfiguration(eq)&&void 0===t.renderIndentGuides){let e=r.getValue(eq);s={...s,renderIndentGuides:e}}if(n.affectsConfiguration(ej)){let e=!!r.getValue(ej);s={...s,smoothScrolling:e}}if(n.affectsConfiguration(eH)||n.affectsConfiguration(ez)){let e=ts(r);s={...s,defaultFindMode:e}}if(n.affectsConfiguration(eV)||n.affectsConfiguration(ez)){let e=i();s={...s,typeNavigationMode:e}}if(n.affectsConfiguration(eU)){let e=to(r);s={...s,defaultFindMatchType:e}}if(n.affectsConfiguration(eW)&&void 0===t.horizontalScrolling){let e=!!r.getValue(eW);s={...s,horizontalScrolling:e}}if(n.affectsConfiguration(eK)){let e=!!r.getValue(eK);s={...s,scrollByPage:e}}if(n.affectsConfiguration(eZ)&&void 0===t.expandOnlyOnTwistieClick&&(s={...s,expandOnlyOnTwistieClick:"doubleClick"===r.getValue(eZ)}),n.affectsConfiguration(eY)){let e=r.getValue(eY);s={...s,enableStickyScroll:e}}if(n.affectsConfiguration(eJ)){let e=Math.max(1,r.getValue(eJ));s={...s,stickyScrollMaxItemCount:e}}if(n.affectsConfiguration(eG)){let e=r.getValue(eG);s={...s,mouseWheelScrollSensitivity:e}}if(n.affectsConfiguration(eQ)){let e=r.getValue(eQ);s={...s,fastScrollSensitivity:e}}Object.keys(s).length>0&&e.updateOptions(s)}),this.contextKeyService.onDidChangeContext(t=>{t.affectsSome(h)&&e.updateOptions({typeNavigationMode:i()})})),this.navigator=new e6(e,{configurationService:r,...t}),this.disposables.push(this.navigator)}updateOptions(e){void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyleOverrides(e){this.tree.style(e?(0,eg.TU)(e):eg.O2)}dispose(){this.disposables=(0,l.B9)(this.disposables)}};tl=ep([em(4,el.i6),em(5,ef),em(6,eo.Ui)],tl);let ta=ec.B.as(er.IP.Configuration);ta.registerConfiguration({id:"workbench",order:7,title:(0,es.NC)("workbenchConfigurationTitle","Workbench"),type:"object",properties:{[eF]:{type:"string",enum:["ctrlCmd","alt"],markdownEnumDescriptions:[(0,es.NC)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),(0,es.NC)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:(0,es.NC)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},[eB]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,es.NC)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")},[eW]:{type:"boolean",default:!1,description:(0,es.NC)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},[eK]:{type:"boolean",default:!1,description:(0,es.NC)("list.scrollByPage","Controls whether clicks in the scrollbar scroll page by page.")},[e$]:{type:"number",default:8,minimum:4,maximum:40,description:(0,es.NC)("tree indent setting","Controls tree indentation in pixels.")},[eq]:{type:"string",enum:["none","onHover","always"],default:"onHover",description:(0,es.NC)("render tree indent guides","Controls whether the tree should render indent guides.")},[ej]:{type:"boolean",default:!1,description:(0,es.NC)("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},[eG]:{type:"number",default:1,markdownDescription:(0,es.NC)("Mouse Wheel Scroll Sensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")},[eQ]:{type:"number",default:5,markdownDescription:(0,es.NC)("Fast Scroll Sensitivity","Scrolling speed multiplier when pressing `Alt`.")},[eH]:{type:"string",enum:["highlight","filter"],enumDescriptions:[(0,es.NC)("defaultFindModeSettingKey.highlight","Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),(0,es.NC)("defaultFindModeSettingKey.filter","Filter elements when searching.")],default:"highlight",description:(0,es.NC)("defaultFindModeSettingKey","Controls the default find mode for lists and trees in the workbench.")},[ez]:{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[(0,es.NC)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),(0,es.NC)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),(0,es.NC)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:(0,es.NC)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),deprecated:!0,deprecationMessage:(0,es.NC)("keyboardNavigationSettingKeyDeprecated","Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.")},[eU]:{type:"string",enum:["fuzzy","contiguous"],enumDescriptions:[(0,es.NC)("defaultFindMatchTypeSettingKey.fuzzy","Use fuzzy matching when searching."),(0,es.NC)("defaultFindMatchTypeSettingKey.contiguous","Use contiguous matching when searching.")],default:"fuzzy",description:(0,es.NC)("defaultFindMatchTypeSettingKey","Controls the type of matching used when searching lists and trees in the workbench.")},[eZ]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,es.NC)("expand mode","Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.")},[eY]:{type:"boolean",default:!0,description:(0,es.NC)("sticky scroll","Controls whether sticky scrolling is enabled in trees.")},[eJ]:{type:"number",minimum:1,default:7,markdownDescription:(0,es.NC)("sticky scroll maximum items","Controls the number of sticky elements displayed in the tree when `#workbench.tree.enableStickyScroll#` is enabled.")},[eV]:{type:"string",enum:["automatic","trigger"],default:"automatic",markdownDescription:(0,es.NC)("typeNavigationMode2","Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run.")}}})},99078:function(e,t,i){"use strict";i.d(t,{VZ:function(){return d},in:function(){return s},kw:function(){return c},qA:function(){return g}});var n,s,o=i(79915),r=i(70784),l=i(33336),a=i(85327);let d=(0,a.yh)("logService");(n=s||(s={}))[n.Off=0]="Off",n[n.Trace=1]="Trace",n[n.Debug=2]="Debug",n[n.Info=3]="Info",n[n.Warning=4]="Warning",n[n.Error=5]="Error";let h=s.Info;class u extends r.JT{constructor(){super(...arguments),this.level=h,this._onDidChangeLogLevel=this._register(new o.Q5),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(e){return this.level!==s.Off&&this.level<=e}}class c extends u{constructor(e=h,t=!0){super(),this.useColors=t,this.setLevel(e)}trace(e,...t){this.checkLogLevel(s.Trace)&&(this.useColors?console.log("%cTRACE","color: #888",e,...t):console.log(e,...t))}debug(e,...t){this.checkLogLevel(s.Debug)&&(this.useColors?console.log("%cDEBUG","background: #eee; color: #888",e,...t):console.log(e,...t))}info(e,...t){this.checkLogLevel(s.Info)&&(this.useColors?console.log("%c INFO","color: #33f",e,...t):console.log(e,...t))}warn(e,...t){this.checkLogLevel(s.Warning)&&(this.useColors?console.log("%c WARN","color: #993",e,...t):console.log(e,...t))}error(e,...t){this.checkLogLevel(s.Error)&&(this.useColors?console.log("%c ERR","color: #f33",e,...t):console.error(e,...t))}}class g extends u{constructor(e){super(),this.loggers=e,e.length&&this.setLevel(e[0].getLevel())}setLevel(e){for(let t of this.loggers)t.setLevel(e);super.setLevel(e)}trace(e,...t){for(let i of this.loggers)i.trace(e,...t)}debug(e,...t){for(let i of this.loggers)i.debug(e,...t)}info(e,...t){for(let i of this.loggers)i.info(e,...t)}warn(e,...t){for(let i of this.loggers)i.warn(e,...t)}error(e,...t){for(let i of this.loggers)i.error(e,...t)}dispose(){for(let e of this.loggers)e.dispose();super.dispose()}}new l.uy("logLevel",function(e){switch(e){case s.Trace:return"trace";case s.Debug:return"debug";case s.Info:return"info";case s.Warning:return"warn";case s.Error:return"error";case s.Off:return"off"}}(s.Info))},16324:function(e,t,i){"use strict";i.d(t,{H0:function(){return o},ZL:function(){return s},lT:function(){return d}});var n,s,o,r=i(31510),l=i(82801),a=i(85327);(n=s||(s={}))[n.Hint=1]="Hint",n[n.Info=2]="Info",n[n.Warning=4]="Warning",n[n.Error=8]="Error",function(e){e.compare=function(e,t){return t-e};let t=Object.create(null);t[e.Error]=(0,l.NC)("sev.error","Error"),t[e.Warning]=(0,l.NC)("sev.warning","Warning"),t[e.Info]=(0,l.NC)("sev.info","Info"),e.toString=function(e){return t[e]||""},e.fromSeverity=function(t){switch(t){case r.Z.Error:return e.Error;case r.Z.Warning:return e.Warning;case r.Z.Info:return e.Info;case r.Z.Ignore:return e.Hint}},e.toSeverity=function(t){switch(t){case e.Error:return r.Z.Error;case e.Warning:return r.Z.Warning;case e.Info:return r.Z.Info;case e.Hint:return r.Z.Ignore}}}(s||(s={})),function(e){function t(e,t){let i=[""];return e.source?i.push(e.source.replace("\xa6","\\\xa6")):i.push(""),e.code?"string"==typeof e.code?i.push(e.code.replace("\xa6","\\\xa6")):i.push(e.code.value.replace("\xa6","\\\xa6")):i.push(""),void 0!==e.severity&&null!==e.severity?i.push(s.toString(e.severity)):i.push(""),e.message&&t?i.push(e.message.replace("\xa6","\\\xa6")):i.push(""),void 0!==e.startLineNumber&&null!==e.startLineNumber?i.push(e.startLineNumber.toString()):i.push(""),void 0!==e.startColumn&&null!==e.startColumn?i.push(e.startColumn.toString()):i.push(""),void 0!==e.endLineNumber&&null!==e.endLineNumber?i.push(e.endLineNumber.toString()):i.push(""),void 0!==e.endColumn&&null!==e.endColumn?i.push(e.endColumn.toString()):i.push(""),i.push(""),i.join("\xa6")}e.makeKey=function(e){return t(e,!0)},e.makeKeyOptionalMessage=t}(o||(o={}));let d=(0,a.yh)("markerService")},16575:function(e,t,i){"use strict";i.d(t,{EO:function(){return l},lT:function(){return r},zb:function(){return o}});var n=i(31510),s=i(85327),o=n.Z;let r=(0,s.yh)("notificationService");class l{}},45902:function(e,t,i){"use strict";i.d(t,{v:function(){return s},x:function(){return o}});var n=i(85327);let s=(0,n.yh)("openerService");function o(e){let t;let i=/^L?(\d+)(?:,(\d+))?(-L?(\d+)(?:,(\d+))?)?/.exec(e.fragment);return i&&(t={startLineNumber:parseInt(i[1]),startColumn:i[2]?parseInt(i[2]):1,endLineNumber:i[4]?parseInt(i[4]):void 0,endColumn:i[4]?i[5]?parseInt(i[5]):1:void 0},e=e.with({fragment:""})),{selection:t,uri:e}}},14588:function(e,t,i){"use strict";i.d(t,{Ex:function(){return o},R9:function(){return s},ek:function(){return r}});var n=i(85327);let s=(0,n.yh)("progressService");Object.freeze({total(){},worked(){},done(){}});class o{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}o.None=Object.freeze({report(){}});let r=(0,n.yh)("editorProgressService")},40205:function(e,t,i){"use strict";i.d(t,{IP:function(){return a},Ry:function(){return s}});var n,s,o=i(40789),r=i(70784),l=i(34089);(n=s||(s={}))[n.PRESERVE=0]="PRESERVE",n[n.LAST=1]="LAST";let a={Quickaccess:"workbench.contributions.quickaccess"};l.B.add(a.Quickaccess,new class{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(e){return 0===e.prefix.length?this.defaultProvider=e:this.providers.push(e),this.providers.sort((e,t)=>t.prefix.length-e.prefix.length),(0,r.OF)(()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return(0,o.kX)([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){let t=e&&this.providers.find(t=>e.startsWith(t.prefix))||void 0;return t||this.defaultProvider}})},33353:function(e,t,i){"use strict";i.d(t,{Jq:function(){return r},X5:function(){return h},eJ:function(){return u},jG:function(){return l},vn:function(){return a}});var n,s,o,r,l,a,d=i(85327);let h={ctrlCmd:!1,alt:!1};(n=r||(r={}))[n.Blur=1]="Blur",n[n.Gesture=2]="Gesture",n[n.Other=3]="Other",(s=l||(l={}))[s.NONE=0]="NONE",s[s.FIRST=1]="FIRST",s[s.SECOND=2]="SECOND",s[s.LAST=3]="LAST",(o=a||(a={}))[o.First=1]="First",o[o.Second=2]="Second",o[o.Last=3]="Last",o[o.Next=4]="Next",o[o.Previous=5]="Previous",o[o.NextPage=6]="NextPage",o[o.PreviousPage=7]="PreviousPage",o[o.NextSeparator=8]="NextSeparator",o[o.PreviousSeparator=9]="PreviousSeparator",new class{constructor(e){this.options=e}};let u=(0,d.yh)("quickInputService")},34089:function(e,t,i){"use strict";i.d(t,{B:function(){return o}});var n=i(61413),s=i(24162);let o=new class{constructor(){this.data=new Map}add(e,t){n.ok(s.HD(e)),n.ok(s.Kn(t)),n.ok(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}},63179:function(e,t,i){"use strict";i.d(t,{Uy:function(){return v},vm:function(){return C},fk:function(){return a}});var n,s,o,r,l,a,d=i(79915),h=i(70784),u=i(24162),c=i(44532),g=i(85729);(n=r||(r={}))[n.STORAGE_DOES_NOT_EXIST=0]="STORAGE_DOES_NOT_EXIST",n[n.STORAGE_IN_MEMORY=1]="STORAGE_IN_MEMORY",(s=l||(l={}))[s.None=0]="None",s[s.Initialized=1]="Initialized",s[s.Closed=2]="Closed";class p extends h.JT{constructor(e,t=Object.create(null)){super(),this.database=e,this.options=t,this._onDidChangeStorage=this._register(new d.K3),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=l.None,this.cache=new Map,this.flushDelayer=this._register(new c.rH(p.DEFAULT_FLUSH_DELAY)),this.pendingDeletes=new Set,this.pendingInserts=new Map,this.whenFlushedCallbacks=[],this.registerListeners()}registerListeners(){this._register(this.database.onDidChangeItemsExternal(e=>this.onDidChangeItemsExternal(e)))}onDidChangeItemsExternal(e){var t,i;this._onDidChangeStorage.pause();try{null===(t=e.changed)||void 0===t||t.forEach((e,t)=>this.acceptExternal(t,e)),null===(i=e.deleted)||void 0===i||i.forEach(e=>this.acceptExternal(e,void 0))}finally{this._onDidChangeStorage.resume()}}acceptExternal(e,t){if(this.state===l.Closed)return;let i=!1;if((0,u.Jp)(t))i=this.cache.delete(e);else{let n=this.cache.get(e);n!==t&&(this.cache.set(e,t),i=!0)}i&&this._onDidChangeStorage.fire({key:e,external:!0})}get(e,t){let i=this.cache.get(e);return(0,u.Jp)(i)?t:i}getBoolean(e,t){let i=this.get(e);return(0,u.Jp)(i)?t:"true"===i}getNumber(e,t){let i=this.get(e);return(0,u.Jp)(i)?t:parseInt(i,10)}async set(e,t,i=!1){if(this.state===l.Closed)return;if((0,u.Jp)(t))return this.delete(e,i);let n=(0,u.Kn)(t)||Array.isArray(t)?(0,g.Pz)(t):String(t),s=this.cache.get(e);if(s!==n)return this.cache.set(e,n),this.pendingInserts.set(e,n),this.pendingDeletes.delete(e),this._onDidChangeStorage.fire({key:e,external:i}),this.doFlush()}async delete(e,t=!1){if(this.state===l.Closed)return;let i=this.cache.delete(e);if(i)return this.pendingDeletes.has(e)||this.pendingDeletes.add(e),this.pendingInserts.delete(e),this._onDidChangeStorage.fire({key:e,external:t}),this.doFlush()}get hasPending(){return this.pendingInserts.size>0||this.pendingDeletes.size>0}async flushPending(){if(!this.hasPending)return;let e={insert:this.pendingInserts,delete:this.pendingDeletes};return this.pendingDeletes=new Set,this.pendingInserts=new Map,this.database.updateItems(e).finally(()=>{var e;if(!this.hasPending)for(;this.whenFlushedCallbacks.length;)null===(e=this.whenFlushedCallbacks.pop())||void 0===e||e()})}async doFlush(e){return this.options.hint===r.STORAGE_IN_MEMORY?this.flushPending():this.flushDelayer.trigger(()=>this.flushPending(),e)}}p.DEFAULT_FLUSH_DELAY=100;class m{constructor(){this.onDidChangeItemsExternal=d.ju.None,this.items=new Map}async updateItems(e){var t,i;null===(t=e.insert)||void 0===t||t.forEach((e,t)=>this.items.set(t,e)),null===(i=e.delete)||void 0===i||i.forEach(e=>this.items.delete(e))}}var f=i(85327);let _="__$__targetStorageMarker",v=(0,f.yh)("storageService");(o=a||(a={}))[o.NONE=0]="NONE",o[o.SHUTDOWN=1]="SHUTDOWN";class b extends h.JT{constructor(e={flushInterval:b.DEFAULT_FLUSH_INTERVAL}){super(),this.options=e,this._onDidChangeValue=this._register(new d.K3),this._onDidChangeTarget=this._register(new d.K3),this._onWillSaveState=this._register(new d.Q5),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._profileKeyTargets=void 0,this._applicationKeyTargets=void 0}onDidChangeValue(e,t,i){return d.ju.filter(this._onDidChangeValue.event,i=>i.scope===e&&(void 0===t||i.key===t),i)}emitDidChangeValue(e,t){let{key:i,external:n}=t;if(i===_){switch(e){case -1:this._applicationKeyTargets=void 0;break;case 0:this._profileKeyTargets=void 0;break;case 1:this._workspaceKeyTargets=void 0}this._onDidChangeTarget.fire({scope:e})}else this._onDidChangeValue.fire({scope:e,key:i,target:this.getKeyTargets(e)[i],external:n})}get(e,t,i){var n;return null===(n=this.getStorage(t))||void 0===n?void 0:n.get(e,i)}getBoolean(e,t,i){var n;return null===(n=this.getStorage(t))||void 0===n?void 0:n.getBoolean(e,i)}getNumber(e,t,i){var n;return null===(n=this.getStorage(t))||void 0===n?void 0:n.getNumber(e,i)}store(e,t,i,n,s=!1){if((0,u.Jp)(t)){this.remove(e,i,s);return}this.withPausedEmitters(()=>{var o;this.updateKeyTarget(e,i,n),null===(o=this.getStorage(i))||void 0===o||o.set(e,t,s)})}remove(e,t,i=!1){this.withPausedEmitters(()=>{var n;this.updateKeyTarget(e,t,void 0),null===(n=this.getStorage(t))||void 0===n||n.delete(e,i)})}withPausedEmitters(e){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{e()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(e,t,i,n=!1){var s,o;let r=this.getKeyTargets(t);"number"==typeof i?r[e]!==i&&(r[e]=i,null===(s=this.getStorage(t))||void 0===s||s.set(_,JSON.stringify(r),n)):"number"==typeof r[e]&&(delete r[e],null===(o=this.getStorage(t))||void 0===o||o.set(_,JSON.stringify(r),n))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get profileKeyTargets(){return this._profileKeyTargets||(this._profileKeyTargets=this.loadKeyTargets(0)),this._profileKeyTargets}get applicationKeyTargets(){return this._applicationKeyTargets||(this._applicationKeyTargets=this.loadKeyTargets(-1)),this._applicationKeyTargets}getKeyTargets(e){switch(e){case -1:return this.applicationKeyTargets;case 0:return this.profileKeyTargets;default:return this.workspaceKeyTargets}}loadKeyTargets(e){let t=this.getStorage(e);return t?function(e){let t=e.get(_);if(t)try{return JSON.parse(t)}catch(e){}return Object.create(null)}(t):Object.create(null)}}b.DEFAULT_FLUSH_INTERVAL=6e4;class C extends b{constructor(){super(),this.applicationStorage=this._register(new p(new m,{hint:r.STORAGE_IN_MEMORY})),this.profileStorage=this._register(new p(new m,{hint:r.STORAGE_IN_MEMORY})),this.workspaceStorage=this._register(new p(new m,{hint:r.STORAGE_IN_MEMORY})),this._register(this.workspaceStorage.onDidChangeStorage(e=>this.emitDidChangeValue(1,e))),this._register(this.profileStorage.onDidChangeStorage(e=>this.emitDidChangeValue(0,e))),this._register(this.applicationStorage.onDidChangeStorage(e=>this.emitDidChangeValue(-1,e)))}getStorage(e){switch(e){case -1:return this.applicationStorage;case 0:return this.profileStorage;default:return this.workspaceStorage}}}},77207:function(e,t,i){"use strict";i.d(t,{b:function(){return s}});var n=i(85327);let s=(0,n.yh)("telemetryService")},72485:function(e,t,i){"use strict";i.d(t,{BM:function(){return p},Hc:function(){return d},O2:function(){return c},TU:function(){return g},ZR:function(){return m},b5:function(){return l},eO:function(){return o},ku:function(){return u},pl:function(){return a},uX:function(){return h},wG:function(){return r}});var n=i(43616),s=i(76515);let o={keybindingLabelBackground:(0,n.n_1)(n.oQ$),keybindingLabelForeground:(0,n.n_1)(n.lWp),keybindingLabelBorder:(0,n.n_1)(n.AWI),keybindingLabelBottomBorder:(0,n.n_1)(n.K19),keybindingLabelShadow:(0,n.n_1)(n.rh)},r={buttonForeground:(0,n.n_1)(n.j5u),buttonSeparator:(0,n.n_1)(n.iFQ),buttonBackground:(0,n.n_1)(n.b7$),buttonHoverBackground:(0,n.n_1)(n.GO4),buttonSecondaryForeground:(0,n.n_1)(n.qBU),buttonSecondaryBackground:(0,n.n_1)(n.ESD),buttonSecondaryHoverBackground:(0,n.n_1)(n.xEn),buttonBorder:(0,n.n_1)(n.GYc)},l={progressBarBackground:(0,n.n_1)(n.zRJ)},a={inputActiveOptionBorder:(0,n.n_1)(n.PRb),inputActiveOptionForeground:(0,n.n_1)(n.Pvw),inputActiveOptionBackground:(0,n.n_1)(n.XEs)};(0,n.n_1)(n.SUp),(0,n.n_1)(n.nd),(0,n.n_1)(n.BQ0),(0,n.n_1)(n.D0T),(0,n.n_1)(n.Hfx),(0,n.n_1)(n.rh),(0,n.n_1)(n.lRK),(0,n.n_1)(n.JpG),(0,n.n_1)(n.BOY),(0,n.n_1)(n.OLZ),(0,n.n_1)(n.url);let d={inputBackground:(0,n.n_1)(n.sEe),inputForeground:(0,n.n_1)(n.zJb),inputBorder:(0,n.n_1)(n.dt_),inputValidationInfoBorder:(0,n.n_1)(n.EPQ),inputValidationInfoBackground:(0,n.n_1)(n._lC),inputValidationInfoForeground:(0,n.n_1)(n.YI3),inputValidationWarningBorder:(0,n.n_1)(n.C3g),inputValidationWarningBackground:(0,n.n_1)(n.RV_),inputValidationWarningForeground:(0,n.n_1)(n.SUG),inputValidationErrorBorder:(0,n.n_1)(n.OZR),inputValidationErrorBackground:(0,n.n_1)(n.paE),inputValidationErrorForeground:(0,n.n_1)(n._t9)},h={listFilterWidgetBackground:(0,n.n_1)(n.vGG),listFilterWidgetOutline:(0,n.n_1)(n.oSI),listFilterWidgetNoMatchesOutline:(0,n.n_1)(n.Saq),listFilterWidgetShadow:(0,n.n_1)(n.y65),inputBoxStyles:d,toggleStyles:a},u={badgeBackground:(0,n.n_1)(n.g8u),badgeForeground:(0,n.n_1)(n.qeD),badgeBorder:(0,n.n_1)(n.lRK)};(0,n.n_1)(n.ixd),(0,n.n_1)(n.l80),(0,n.n_1)(n.H6q),(0,n.n_1)(n.H6q),(0,n.n_1)(n.fSI);let c={listBackground:void 0,listInactiveFocusForeground:void 0,listFocusBackground:(0,n.n_1)(n._bK),listFocusForeground:(0,n.n_1)(n._2n),listFocusOutline:(0,n.n_1)(n.Oop),listActiveSelectionBackground:(0,n.n_1)(n.dCr),listActiveSelectionForeground:(0,n.n_1)(n.M6C),listActiveSelectionIconForeground:(0,n.n_1)(n.Tnx),listFocusAndSelectionOutline:(0,n.n_1)(n.Bqu),listFocusAndSelectionBackground:(0,n.n_1)(n.dCr),listFocusAndSelectionForeground:(0,n.n_1)(n.M6C),listInactiveSelectionBackground:(0,n.n_1)(n.rg2),listInactiveSelectionIconForeground:(0,n.n_1)(n.kvU),listInactiveSelectionForeground:(0,n.n_1)(n.ytC),listInactiveFocusBackground:(0,n.n_1)(n.s$),listInactiveFocusOutline:(0,n.n_1)(n.F3d),listHoverBackground:(0,n.n_1)(n.mV1),listHoverForeground:(0,n.n_1)(n.$d5),listDropOverBackground:(0,n.n_1)(n.pdn),listDropBetweenBackground:(0,n.n_1)(n.XVp),listSelectionOutline:(0,n.n_1)(n.xL1),listHoverOutline:(0,n.n_1)(n.xL1),treeIndentGuidesStroke:(0,n.n_1)(n.UnT),treeInactiveIndentGuidesStroke:(0,n.n_1)(n.KjV),treeStickyScrollBackground:void 0,treeStickyScrollBorder:void 0,treeStickyScrollShadow:void 0,tableColumnsBorder:(0,n.n_1)(n.uxu),tableOddRowsBackgroundColor:(0,n.n_1)(n.EQn)};function g(e){return function(e,t){let i={...t};for(let t in e){let s=e[t];i[t]=void 0!==s?(0,n.n_1)(s):void 0}return i}(e,c)}let p={selectBackground:(0,n.n_1)(n.XV0),selectListBackground:(0,n.n_1)(n.Fgs),selectForeground:(0,n.n_1)(n._g0),decoratorRightForeground:(0,n.n_1)(n.kJk),selectBorder:(0,n.n_1)(n.a9O),focusBorder:(0,n.n_1)(n.R80),listFocusBackground:(0,n.n_1)(n.Vqd),listInactiveSelectionIconForeground:(0,n.n_1)(n.cbQ),listFocusForeground:(0,n.n_1)(n.NPS),listFocusOutline:(0,n.BtC)(n.xL1,s.Il.transparent.toString()),listHoverBackground:(0,n.n_1)(n.mV1),listHoverForeground:(0,n.n_1)(n.$d5),listHoverOutline:(0,n.n_1)(n.xL1),selectListBorder:(0,n.n_1)(n.D1_),listBackground:void 0,listActiveSelectionBackground:void 0,listActiveSelectionForeground:void 0,listActiveSelectionIconForeground:void 0,listFocusAndSelectionBackground:void 0,listDropOverBackground:void 0,listDropBetweenBackground:void 0,listInactiveSelectionBackground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusBackground:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listFocusAndSelectionForeground:void 0,listFocusAndSelectionOutline:void 0,listInactiveFocusForeground:void 0,tableColumnsBorder:void 0,tableOddRowsBackgroundColor:void 0,treeIndentGuidesStroke:void 0,treeInactiveIndentGuidesStroke:void 0,treeStickyScrollBackground:void 0,treeStickyScrollBorder:void 0,treeStickyScrollShadow:void 0},m={shadowColor:(0,n.n_1)(n.rh),borderColor:(0,n.n_1)(n.Cdg),foregroundColor:(0,n.n_1)(n.DEr),backgroundColor:(0,n.n_1)(n.Hz8),selectionForegroundColor:(0,n.n_1)(n.jbW),selectionBackgroundColor:(0,n.n_1)(n.$DX),selectionBorderColor:(0,n.n_1)(n.E3h),separatorColor:(0,n.n_1)(n.ZGJ),scrollbarShadow:(0,n.n_1)(n._wn),scrollbarSliderBackground:(0,n.n_1)(n.etL),scrollbarSliderHoverBackground:(0,n.n_1)(n.ABB),scrollbarSliderActiveBackground:(0,n.n_1)(n.ynu)}},43616:function(e,t,i){"use strict";i.d(t,{IPX:function(){return c},xL1:function(){return N},n_1:function(){return h},QO2:function(){return d},BtC:function(){return u},g8u:function(){return I},qeD:function(){return T},fSI:function(){return ex},ixd:function(){return ek},H6q:function(){return eD},l80:function(){return eL},b7$:function(){return to},GYc:function(){return tl},j5u:function(){return tn},GO4:function(){return tr},ESD:function(){return td},qBU:function(){return ta},xEn:function(){return th},iFQ:function(){return ts},SUp:function(){return tu},nd:function(){return tg},BQ0:function(){return tc},lRK:function(){return x},CzK:function(){return em},keg:function(){return ef},ypS:function(){return e_},P6Y:function(){return eb},F9q:function(){return eC},P4M:function(){return ev},_Yy:function(){return Z},cvW:function(){return F},b6y:function(){return K},lXJ:function(){return z},zKA:function(){return et},MUv:function(){return ei},EiJ:function(){return es},OIo:function(){return en},gkn:function(){return eo},NOs:function(){return B},Dut:function(){return Q},yJx:function(){return er},CNo:function(){return el},ES4:function(){return X},T83:function(){return G},c63:function(){return j},PpC:function(){return ed},VVv:function(){return ea},phM:function(){return eg},HCL:function(){return ec},bKB:function(){return eu},hX8:function(){return eh},hEj:function(){return Y},yb5:function(){return J},Rzx:function(){return ee},gpD:function(){return U},pW3:function(){return q},uoC:function(){return $},D0T:function(){return W},D1_:function(){return V},Hfx:function(){return H},R80:function(){return D},dRz:function(){return L},XZx:function(){return k},XEs:function(){return eJ},PRb:function(){return eY},Pvw:function(){return eX},sEe:function(){return eG},dt_:function(){return eZ},zJb:function(){return eQ},paE:function(){return e7},OZR:function(){return e6},_t9:function(){return e8},_lC:function(){return e0},EPQ:function(){return e2},YI3:function(){return e1},RV_:function(){return e4},C3g:function(){return e3},SUG:function(){return e5},oQ$:function(){return tp},AWI:function(){return tf},K19:function(){return t_},lWp:function(){return tm},dCr:function(){return ty},M6C:function(){return tS},Tnx:function(){return tL},XVp:function(){return tR},pdn:function(){return tM},vGG:function(){return tO},Saq:function(){return tB},oSI:function(){return tF},y65:function(){return tW},Bqu:function(){return tw},_bK:function(){return tv},_2n:function(){return tb},PX0:function(){return tP},Oop:function(){return tC},Gwp:function(){return tA},mV1:function(){return tI},$d5:function(){return tT},s$:function(){return tN},F3d:function(){return tE},rg2:function(){return tk},ytC:function(){return tD},kvU:function(){return tx},Hz8:function(){return tq},Cdg:function(){return tU},DEr:function(){return t$},$DX:function(){return tG},E3h:function(){return tQ},jbW:function(){return tj},ZGJ:function(){return tZ},kVY:function(){return eq},Gj_:function(){return e$},SUY:function(){return eH},Itd:function(){return ej},Gvr:function(){return eK},ov3:function(){return ez},IYc:function(){return eV},Ivo:function(){return eU},kwl:function(){return v},Fm_:function(){return eP},SPM:function(){return eO},opG:function(){return t1},kJk:function(){return t0},JpG:function(){return eF},OLZ:function(){return eW},BOY:function(){return eB},zRJ:function(){return O},zKr:function(){return tY},tZ6:function(){return tJ},Vqd:function(){return t3},NPS:function(){return t4},cbQ:function(){return t5},loF:function(){return tX},P6G:function(){return p},_wn:function(){return M},ynu:function(){return P},etL:function(){return R},ABB:function(){return A},XV0:function(){return e9},a9O:function(){return ti},_g0:function(){return tt},Fgs:function(){return te},uxu:function(){return tz},EQn:function(){return tK},url:function(){return E},ZnX:function(){return _},KjV:function(){return tV},UnT:function(){return tH},A42:function(){return ey},rh:function(){return ew}});var n=i(61413),s=i(44532),o=i(76515),r=i(79915),l=i(69965),a=i(34089);function d(e){return`--vscode-${e.replace(/\./g,"-")}`}function h(e){return`var(${d(e)})`}function u(e,t){return`var(${d(e)}, ${t})`}let c={ColorContribution:"base.contributions.colors"},g=new class{constructor(){this._onDidChangeSchema=new r.Q5,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,i,n=!1,s){this.colorsById[e]={id:e,description:i,defaults:t,needsTransparency:n,deprecationMessage:s};let o={type:"string",description:i,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return s&&(o.deprecationMessage=s),n&&(o.pattern="^#(?:(?[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$",o.patternErrorMessage="This color must be transparent or it will obscure content"),this.colorSchema.properties[e]=o,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(i),this._onDidChangeSchema.fire(),e}getColors(){return Object.keys(this.colorsById).map(e=>this.colorsById[e])}resolveDefaultColor(e,t){let i=this.colorsById[e];if(i&&i.defaults){let e=i.defaults[t.type];return function e(t,i){if(null===t);else if("string"==typeof t)return"#"===t[0]?o.Il.fromHex(t):i.getColor(t);else if(t instanceof o.Il)return t;else if("object"==typeof t)return function(t,i){var s,r,l,a;switch(t.op){case 0:return null===(s=e(t.value,i))||void 0===s?void 0:s.darken(t.factor);case 1:return null===(r=e(t.value,i))||void 0===r?void 0:r.lighten(t.factor);case 2:return null===(l=e(t.value,i))||void 0===l?void 0:l.transparent(t.factor);case 3:{let n=e(t.background,i);if(!n)return e(t.value,i);return null===(a=e(t.value,i))||void 0===a?void 0:a.makeOpaque(n)}case 4:for(let n of t.values){let t=e(n,i);if(t)return t}return;case 6:return e(i.defines(t.if)?t.then:t.else,i);case 5:{let n=e(t.value,i);if(!n)return;let s=e(t.background,i);if(!s)return n.transparent(t.factor*t.transparency);return n.isDarkerThan(s)?o.Il.getLighterColor(n,s,t.factor).transparent(t.transparency):o.Il.getDarkerColor(n,s,t.factor).transparent(t.transparency)}default:throw(0,n.vE)(t)}}(t,i)}(e,t)}}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort((e,t)=>{let i=-1===e.indexOf(".")?0:1,n=-1===t.indexOf(".")?0:1;return i!==n?i-n:e.localeCompare(t)}).map(e=>`- \`${e}\`: ${this.colorsById[e].description}`).join("\n")}};function p(e,t,i,n,s){return g.registerColor(e,t,i,n,s)}function m(e,t){return{op:0,value:e,factor:t}}function f(e,t){return{op:1,value:e,factor:t}}function _(e,t){return{op:2,value:e,factor:t}}function v(...e){return{op:4,values:e}}function b(e,t,i,n){return{op:5,value:e,background:t,factor:i,transparency:n}}a.B.add(c.ColorContribution,g);let C="vscode://schemas/workbench-colors",w=a.B.as(l.I.JSONContribution);w.registerSchema(C,g.getColorSchema());let y=new s.pY(()=>w.notifySchemaChanged(C),200);g.onDidChangeSchema(()=>{y.isScheduled()||y.schedule()});var S=i(82801);let L=p("foreground",{dark:"#CCCCCC",light:"#616161",hcDark:"#FFFFFF",hcLight:"#292929"},S.NC("foreground","Overall foreground color. This color is only used if not overridden by a component."));p("disabledForeground",{dark:"#CCCCCC80",light:"#61616180",hcDark:"#A5A5A5",hcLight:"#7F7F7F"},S.NC("disabledForeground","Overall foreground for disabled elements. This color is only used if not overridden by a component.")),p("errorForeground",{dark:"#F48771",light:"#A1260D",hcDark:"#F48771",hcLight:"#B5200D"},S.NC("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),p("descriptionForeground",{light:"#717171",dark:_(L,.7),hcDark:_(L,.7),hcLight:_(L,.7)},S.NC("descriptionForeground","Foreground color for description text providing additional information, for example for a label."));let k=p("icon.foreground",{dark:"#C5C5C5",light:"#424242",hcDark:"#FFFFFF",hcLight:"#292929"},S.NC("iconForeground","The default color for icons in the workbench.")),D=p("focusBorder",{dark:"#007FD4",light:"#0090F1",hcDark:"#F38518",hcLight:"#006BBD"},S.NC("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),x=p("contrastBorder",{light:null,dark:null,hcDark:"#6FC3DF",hcLight:"#0F4A85"},S.NC("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),N=p("contrastActiveBorder",{light:null,dark:null,hcDark:D,hcLight:D},S.NC("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast."));p("selection.background",{light:null,dark:null,hcDark:null,hcLight:null},S.NC("selectionBackground","The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor."));let E=p("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hcDark:"#21A6FF",hcLight:"#0F4A85"},S.NC("textLinkForeground","Foreground color for links in text."));p("textLink.activeForeground",{light:"#006AB1",dark:"#3794FF",hcDark:"#21A6FF",hcLight:"#0F4A85"},S.NC("textLinkActiveForeground","Foreground color for links in text when clicked on and on mouse hover.")),p("textSeparator.foreground",{light:"#0000002e",dark:"#ffffff2e",hcDark:o.Il.black,hcLight:"#292929"},S.NC("textSeparatorForeground","Color for text separators.")),p("textPreformat.foreground",{light:"#A31515",dark:"#D7BA7D",hcDark:"#000000",hcLight:"#FFFFFF"},S.NC("textPreformatForeground","Foreground color for preformatted text segments.")),p("textPreformat.background",{light:"#0000001A",dark:"#FFFFFF1A",hcDark:"#FFFFFF",hcLight:"#09345f"},S.NC("textPreformatBackground","Background color for preformatted text segments.")),p("textBlockQuote.background",{light:"#f2f2f2",dark:"#222222",hcDark:null,hcLight:"#F2F2F2"},S.NC("textBlockQuoteBackground","Background color for block quotes in text.")),p("textBlockQuote.border",{light:"#007acc80",dark:"#007acc80",hcDark:o.Il.white,hcLight:"#292929"},S.NC("textBlockQuoteBorder","Border color for block quotes in text.")),p("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hcDark:o.Il.black,hcLight:"#F2F2F2"},S.NC("textCodeBlockBackground","Background color for code blocks in text.")),p("sash.hoverBorder",{dark:D,light:D,hcDark:D,hcLight:D},S.NC("sashActiveBorder","Border color of active sashes."));let I=p("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hcDark:o.Il.black,hcLight:"#0F4A85"},S.NC("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),T=p("badge.foreground",{dark:o.Il.white,light:"#333",hcDark:o.Il.white,hcLight:o.Il.white},S.NC("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),M=p("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hcDark:null,hcLight:null},S.NC("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),R=p("scrollbarSlider.background",{dark:o.Il.fromHex("#797979").transparent(.4),light:o.Il.fromHex("#646464").transparent(.4),hcDark:_(x,.6),hcLight:_(x,.4)},S.NC("scrollbarSliderBackground","Scrollbar slider background color.")),A=p("scrollbarSlider.hoverBackground",{dark:o.Il.fromHex("#646464").transparent(.7),light:o.Il.fromHex("#646464").transparent(.7),hcDark:_(x,.8),hcLight:_(x,.8)},S.NC("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),P=p("scrollbarSlider.activeBackground",{dark:o.Il.fromHex("#BFBFBF").transparent(.4),light:o.Il.fromHex("#000000").transparent(.6),hcDark:x,hcLight:x},S.NC("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),O=p("progressBar.background",{dark:o.Il.fromHex("#0E70C0"),light:o.Il.fromHex("#0E70C0"),hcDark:x,hcLight:x},S.NC("progressBarBackground","Background color of the progress bar that can show for long running operations.")),F=p("editor.background",{light:"#ffffff",dark:"#1E1E1E",hcDark:o.Il.black,hcLight:o.Il.white},S.NC("editorBackground","Editor background color.")),B=p("editor.foreground",{light:"#333333",dark:"#BBBBBB",hcDark:o.Il.white,hcLight:L},S.NC("editorForeground","Editor default foreground color."));p("editorStickyScroll.background",{light:F,dark:F,hcDark:F,hcLight:F},S.NC("editorStickyScrollBackground","Background color of sticky scroll in the editor")),p("editorStickyScrollHover.background",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:null,hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},S.NC("editorStickyScrollHoverBackground","Background color of sticky scroll on hover in the editor")),p("editorStickyScroll.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("editorStickyScrollBorder","Border color of sticky scroll in the editor")),p("editorStickyScroll.shadow",{dark:M,light:M,hcDark:M,hcLight:M},S.NC("editorStickyScrollShadow"," Shadow color of sticky scroll in the editor"));let W=p("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hcDark:"#0C141F",hcLight:o.Il.white},S.NC("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),H=p("editorWidget.foreground",{dark:L,light:L,hcDark:L,hcLight:L},S.NC("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),V=p("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hcDark:x,hcLight:x},S.NC("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget."));p("editorWidget.resizeBorder",{light:null,dark:null,hcDark:null,hcLight:null},S.NC("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),p("editorError.background",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("editorError.background","Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0);let z=p("editorError.foreground",{dark:"#F14C4C",light:"#E51400",hcDark:"#F48771",hcLight:"#B5200D"},S.NC("editorError.foreground","Foreground color of error squigglies in the editor.")),K=p("editorError.border",{dark:null,light:null,hcDark:o.Il.fromHex("#E47777").transparent(.8),hcLight:"#B5200D"},S.NC("errorBorder","If set, color of double underlines for errors in the editor.")),U=p("editorWarning.background",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("editorWarning.background","Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),$=p("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hcDark:"#FFD370",hcLight:"#895503"},S.NC("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),q=p("editorWarning.border",{dark:null,light:null,hcDark:o.Il.fromHex("#FFCC00").transparent(.8),hcLight:o.Il.fromHex("#FFCC00").transparent(.8)},S.NC("warningBorder","If set, color of double underlines for warnings in the editor."));p("editorInfo.background",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("editorInfo.background","Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0);let j=p("editorInfo.foreground",{dark:"#3794FF",light:"#1a85ff",hcDark:"#3794FF",hcLight:"#1a85ff"},S.NC("editorInfo.foreground","Foreground color of info squigglies in the editor.")),G=p("editorInfo.border",{dark:null,light:null,hcDark:o.Il.fromHex("#3794FF").transparent(.8),hcLight:"#292929"},S.NC("infoBorder","If set, color of double underlines for infos in the editor.")),Q=p("editorHint.foreground",{dark:o.Il.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hcDark:null,hcLight:null},S.NC("editorHint.foreground","Foreground color of hint squigglies in the editor."));p("editorHint.border",{dark:null,light:null,hcDark:o.Il.fromHex("#eeeeee").transparent(.8),hcLight:"#292929"},S.NC("hintBorder","If set, color of double underlines for hints in the editor."));let Z=p("editorLink.activeForeground",{dark:"#4E94CE",light:o.Il.blue,hcDark:o.Il.cyan,hcLight:"#292929"},S.NC("activeLinkForeground","Color of active links.")),Y=p("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hcDark:"#f3f518",hcLight:"#0F4A85"},S.NC("editorSelectionBackground","Color of the editor selection.")),J=p("editor.selectionForeground",{light:null,dark:null,hcDark:"#000000",hcLight:o.Il.white},S.NC("editorSelectionForeground","Color of the selected text for high contrast.")),X=p("editor.inactiveSelectionBackground",{light:_(Y,.5),dark:_(Y,.5),hcDark:_(Y,.7),hcLight:_(Y,.5)},S.NC("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),ee=p("editor.selectionHighlightBackground",{light:b(Y,F,.3,.6),dark:b(Y,F,.3,.6),hcDark:null,hcLight:null},S.NC("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0);p("editor.selectionHighlightBorder",{light:null,dark:null,hcDark:N,hcLight:N},S.NC("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),p("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hcDark:null,hcLight:null},S.NC("editorFindMatch","Color of the current search match."));let et=p("editor.findMatchForeground",{light:null,dark:null,hcDark:null,hcLight:null},S.NC("editorFindMatchForeground","Text color of the current search match.")),ei=p("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hcDark:null,hcLight:null},S.NC("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),en=p("editor.findMatchHighlightForeground",{light:null,dark:null,hcDark:null,hcLight:null},S.NC("findMatchHighlightForeground","Foreground color of the other search matches."),!0);p("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hcDark:null,hcLight:null},S.NC("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),p("editor.findMatchBorder",{light:null,dark:null,hcDark:N,hcLight:N},S.NC("editorFindMatchBorder","Border color of the current search match."));let es=p("editor.findMatchHighlightBorder",{light:null,dark:null,hcDark:N,hcLight:N},S.NC("findMatchHighlightBorder","Border color of the other search matches.")),eo=p("editor.findRangeHighlightBorder",{dark:null,light:null,hcDark:_(N,.4),hcLight:_(N,.4)},S.NC("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0);p("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hcDark:"#ADD6FF26",hcLight:null},S.NC("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0);let er=p("editorHoverWidget.background",{light:W,dark:W,hcDark:W,hcLight:W},S.NC("hoverBackground","Background color of the editor hover."));p("editorHoverWidget.foreground",{light:H,dark:H,hcDark:H,hcLight:H},S.NC("hoverForeground","Foreground color of the editor hover."));let el=p("editorHoverWidget.border",{light:V,dark:V,hcDark:V,hcLight:V},S.NC("hoverBorder","Border color of the editor hover."));p("editorHoverWidget.statusBarBackground",{dark:f(er,.2),light:m(er,.05),hcDark:W,hcLight:W},S.NC("statusBarBackground","Background color of the editor hover status bar."));let ea=p("editorInlayHint.foreground",{dark:"#969696",light:"#969696",hcDark:o.Il.white,hcLight:o.Il.black},S.NC("editorInlayHintForeground","Foreground color of inline hints")),ed=p("editorInlayHint.background",{dark:_(I,.1),light:_(I,.1),hcDark:_(o.Il.white,.1),hcLight:_(I,.1)},S.NC("editorInlayHintBackground","Background color of inline hints")),eh=p("editorInlayHint.typeForeground",{dark:ea,light:ea,hcDark:ea,hcLight:ea},S.NC("editorInlayHintForegroundTypes","Foreground color of inline hints for types")),eu=p("editorInlayHint.typeBackground",{dark:ed,light:ed,hcDark:ed,hcLight:ed},S.NC("editorInlayHintBackgroundTypes","Background color of inline hints for types")),ec=p("editorInlayHint.parameterForeground",{dark:ea,light:ea,hcDark:ea,hcLight:ea},S.NC("editorInlayHintForegroundParameter","Foreground color of inline hints for parameters")),eg=p("editorInlayHint.parameterBackground",{dark:ed,light:ed,hcDark:ed,hcLight:ed},S.NC("editorInlayHintBackgroundParameter","Background color of inline hints for parameters")),ep=p("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hcDark:"#FFCC00",hcLight:"#007ACC"},S.NC("editorLightBulbForeground","The color used for the lightbulb actions icon."));p("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},S.NC("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),p("editorLightBulbAi.foreground",{dark:ep,light:ep,hcDark:ep,hcLight:ep},S.NC("editorLightBulbAiForeground","The color used for the lightbulb AI icon.")),p("editor.snippetTabstopHighlightBackground",{dark:new o.Il(new o.VS(124,124,124,.3)),light:new o.Il(new o.VS(10,50,100,.2)),hcDark:new o.Il(new o.VS(124,124,124,.3)),hcLight:new o.Il(new o.VS(10,50,100,.2))},S.NC("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),p("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),p("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),p("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new o.Il(new o.VS(10,50,100,.5)),hcDark:"#525252",hcLight:"#292929"},S.NC("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet."));let em=new o.Il(new o.VS(155,185,85,.2)),ef=new o.Il(new o.VS(255,0,0,.2)),e_=p("diffEditor.insertedTextBackground",{dark:"#9ccc2c33",light:"#9ccc2c40",hcDark:null,hcLight:null},S.NC("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),ev=p("diffEditor.removedTextBackground",{dark:"#ff000033",light:"#ff000033",hcDark:null,hcLight:null},S.NC("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0);p("diffEditor.insertedLineBackground",{dark:em,light:em,hcDark:null,hcLight:null},S.NC("diffEditorInsertedLines","Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),p("diffEditor.removedLineBackground",{dark:ef,light:ef,hcDark:null,hcLight:null},S.NC("diffEditorRemovedLines","Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),p("diffEditorGutter.insertedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("diffEditorInsertedLineGutter","Background color for the margin where lines got inserted.")),p("diffEditorGutter.removedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("diffEditorRemovedLineGutter","Background color for the margin where lines got removed."));let eb=p("diffEditorOverview.insertedForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("diffEditorOverviewInserted","Diff overview ruler foreground for inserted content.")),eC=p("diffEditorOverview.removedForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("diffEditorOverviewRemoved","Diff overview ruler foreground for removed content."));p("diffEditor.insertedTextBorder",{dark:null,light:null,hcDark:"#33ff2eff",hcLight:"#374E06"},S.NC("diffEditorInsertedOutline","Outline color for the text that got inserted.")),p("diffEditor.removedTextBorder",{dark:null,light:null,hcDark:"#FF008F",hcLight:"#AD0707"},S.NC("diffEditorRemovedOutline","Outline color for text that got removed.")),p("diffEditor.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("diffEditorBorder","Border color between the two text editors.")),p("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hcDark:null,hcLight:null},S.NC("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),p("diffEditor.unchangedRegionBackground",{dark:"sideBar.background",light:"sideBar.background",hcDark:"sideBar.background",hcLight:"sideBar.background"},S.NC("diffEditor.unchangedRegionBackground","The background color of unchanged blocks in the diff editor.")),p("diffEditor.unchangedRegionForeground",{dark:"foreground",light:"foreground",hcDark:"foreground",hcLight:"foreground"},S.NC("diffEditor.unchangedRegionForeground","The foreground color of unchanged blocks in the diff editor.")),p("diffEditor.unchangedCodeBackground",{dark:"#74747429",light:"#b8b8b829",hcDark:null,hcLight:null},S.NC("diffEditor.unchangedCodeBackground","The background color of unchanged code in the diff editor."));let ew=p("widget.shadow",{dark:_(o.Il.black,.36),light:_(o.Il.black,.16),hcDark:null,hcLight:null},S.NC("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),ey=p("widget.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("widgetBorder","Border color of widgets such as find/replace inside the editor.")),eS=p("toolbar.hoverBackground",{dark:"#5a5d5e50",light:"#b8b8b850",hcDark:null,hcLight:null},S.NC("toolbarHoverBackground","Toolbar background when hovering over actions using the mouse"));p("toolbar.hoverOutline",{dark:null,light:null,hcDark:N,hcLight:N},S.NC("toolbarHoverOutline","Toolbar outline when hovering over actions using the mouse")),p("toolbar.activeBackground",{dark:f(eS,.1),light:m(eS,.1),hcDark:null,hcLight:null},S.NC("toolbarActiveBackground","Toolbar background when holding the mouse over actions"));let eL=p("breadcrumb.foreground",{light:_(L,.8),dark:_(L,.8),hcDark:_(L,.8),hcLight:_(L,.8)},S.NC("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),ek=p("breadcrumb.background",{light:F,dark:F,hcDark:F,hcLight:F},S.NC("breadcrumbsBackground","Background color of breadcrumb items.")),eD=p("breadcrumb.focusForeground",{light:m(L,.2),dark:f(L,.1),hcDark:f(L,.1),hcLight:f(L,.1)},S.NC("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),ex=p("breadcrumb.activeSelectionForeground",{light:m(L,.2),dark:f(L,.1),hcDark:f(L,.1),hcLight:f(L,.1)},S.NC("breadcrumbsSelectedForeground","Color of selected breadcrumb items."));p("breadcrumbPicker.background",{light:W,dark:W,hcDark:W,hcLight:W},S.NC("breadcrumbsSelectedBackground","Background color of breadcrumb item picker."));let eN=o.Il.fromHex("#40C8AE").transparent(.5),eE=o.Il.fromHex("#40A6FF").transparent(.5),eI=o.Il.fromHex("#606060").transparent(.4),eT=p("merge.currentHeaderBackground",{dark:eN,light:eN,hcDark:null,hcLight:null},S.NC("mergeCurrentHeaderBackground","Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);p("merge.currentContentBackground",{dark:_(eT,.4),light:_(eT,.4),hcDark:_(eT,.4),hcLight:_(eT,.4)},S.NC("mergeCurrentContentBackground","Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);let eM=p("merge.incomingHeaderBackground",{dark:eE,light:eE,hcDark:null,hcLight:null},S.NC("mergeIncomingHeaderBackground","Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);p("merge.incomingContentBackground",{dark:_(eM,.4),light:_(eM,.4),hcDark:_(eM,.4),hcLight:_(eM,.4)},S.NC("mergeIncomingContentBackground","Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);let eR=p("merge.commonHeaderBackground",{dark:eI,light:eI,hcDark:null,hcLight:null},S.NC("mergeCommonHeaderBackground","Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);p("merge.commonContentBackground",{dark:_(eR,.4),light:_(eR,.4),hcDark:_(eR,.4),hcLight:_(eR,.4)},S.NC("mergeCommonContentBackground","Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);let eA=p("merge.border",{dark:null,light:null,hcDark:"#C3DF6F",hcLight:"#007ACC"},S.NC("mergeBorder","Border color on headers and the splitter in inline merge-conflicts."));p("editorOverviewRuler.currentContentForeground",{dark:_(eT,1),light:_(eT,1),hcDark:eA,hcLight:eA},S.NC("overviewRulerCurrentContentForeground","Current overview ruler foreground for inline merge-conflicts.")),p("editorOverviewRuler.incomingContentForeground",{dark:_(eM,1),light:_(eM,1),hcDark:eA,hcLight:eA},S.NC("overviewRulerIncomingContentForeground","Incoming overview ruler foreground for inline merge-conflicts.")),p("editorOverviewRuler.commonContentForeground",{dark:_(eR,1),light:_(eR,1),hcDark:eA,hcLight:eA},S.NC("overviewRulerCommonContentForeground","Common ancestor overview ruler foreground for inline merge-conflicts."));let eP=p("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hcDark:"#AB5A00",hcLight:""},S.NC("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),eO=p("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},S.NC("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),eF=p("problemsErrorIcon.foreground",{dark:z,light:z,hcDark:z,hcLight:z},S.NC("problemsErrorIconForeground","The color used for the problems error icon.")),eB=p("problemsWarningIcon.foreground",{dark:$,light:$,hcDark:$,hcLight:$},S.NC("problemsWarningIconForeground","The color used for the problems warning icon.")),eW=p("problemsInfoIcon.foreground",{dark:j,light:j,hcDark:j,hcLight:j},S.NC("problemsInfoIconForeground","The color used for the problems info icon.")),eH=p("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hcDark:"#AB5A00",hcLight:"#0F4A85"},S.NC("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),eV=p("minimap.selectionOccurrenceHighlight",{light:"#c9c9c9",dark:"#676767",hcDark:"#ffffff",hcLight:"#0F4A85"},S.NC("minimapSelectionOccurrenceHighlight","Minimap marker color for repeating editor selections."),!0),ez=p("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hcDark:"#ffffff",hcLight:"#0F4A85"},S.NC("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),eK=p("minimap.infoHighlight",{dark:j,light:j,hcDark:G,hcLight:G},S.NC("minimapInfo","Minimap marker color for infos.")),eU=p("minimap.warningHighlight",{dark:$,light:$,hcDark:q,hcLight:q},S.NC("overviewRuleWarning","Minimap marker color for warnings.")),e$=p("minimap.errorHighlight",{dark:new o.Il(new o.VS(255,18,18,.7)),light:new o.Il(new o.VS(255,18,18,.7)),hcDark:new o.Il(new o.VS(255,50,50,1)),hcLight:"#B5200D"},S.NC("minimapError","Minimap marker color for errors.")),eq=p("minimap.background",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("minimapBackground","Minimap background color.")),ej=p("minimap.foregroundOpacity",{dark:o.Il.fromHex("#000f"),light:o.Il.fromHex("#000f"),hcDark:o.Il.fromHex("#000f"),hcLight:o.Il.fromHex("#000f")},S.NC("minimapForegroundOpacity",'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));p("minimapSlider.background",{light:_(R,.5),dark:_(R,.5),hcDark:_(R,.5),hcLight:_(R,.5)},S.NC("minimapSliderBackground","Minimap slider background color.")),p("minimapSlider.hoverBackground",{light:_(A,.5),dark:_(A,.5),hcDark:_(A,.5),hcLight:_(A,.5)},S.NC("minimapSliderHoverBackground","Minimap slider background color when hovering.")),p("minimapSlider.activeBackground",{light:_(P,.5),dark:_(P,.5),hcDark:_(P,.5),hcLight:_(P,.5)},S.NC("minimapSliderActiveBackground","Minimap slider background color when clicked on.")),p("charts.foreground",{dark:L,light:L,hcDark:L,hcLight:L},S.NC("chartsForeground","The foreground color used in charts.")),p("charts.lines",{dark:_(L,.5),light:_(L,.5),hcDark:_(L,.5),hcLight:_(L,.5)},S.NC("chartsLines","The color used for horizontal lines in charts.")),p("charts.red",{dark:z,light:z,hcDark:z,hcLight:z},S.NC("chartsRed","The red color used in chart visualizations.")),p("charts.blue",{dark:j,light:j,hcDark:j,hcLight:j},S.NC("chartsBlue","The blue color used in chart visualizations.")),p("charts.yellow",{dark:$,light:$,hcDark:$,hcLight:$},S.NC("chartsYellow","The yellow color used in chart visualizations.")),p("charts.orange",{dark:eH,light:eH,hcDark:eH,hcLight:eH},S.NC("chartsOrange","The orange color used in chart visualizations.")),p("charts.green",{dark:"#89D185",light:"#388A34",hcDark:"#89D185",hcLight:"#374e06"},S.NC("chartsGreen","The green color used in chart visualizations.")),p("charts.purple",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},S.NC("chartsPurple","The purple color used in chart visualizations."));let eG=p("input.background",{dark:"#3C3C3C",light:o.Il.white,hcDark:o.Il.black,hcLight:o.Il.white},S.NC("inputBoxBackground","Input box background.")),eQ=p("input.foreground",{dark:L,light:L,hcDark:L,hcLight:L},S.NC("inputBoxForeground","Input box foreground.")),eZ=p("input.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("inputBoxBorder","Input box border.")),eY=p("inputOption.activeBorder",{dark:"#007ACC",light:"#007ACC",hcDark:x,hcLight:x},S.NC("inputBoxActiveOptionBorder","Border color of activated options in input fields."));p("inputOption.hoverBackground",{dark:"#5a5d5e80",light:"#b8b8b850",hcDark:null,hcLight:null},S.NC("inputOption.hoverBackground","Background color of activated options in input fields."));let eJ=p("inputOption.activeBackground",{dark:_(D,.4),light:_(D,.2),hcDark:o.Il.transparent,hcLight:o.Il.transparent},S.NC("inputOption.activeBackground","Background hover color of options in input fields.")),eX=p("inputOption.activeForeground",{dark:o.Il.white,light:o.Il.black,hcDark:L,hcLight:L},S.NC("inputOption.activeForeground","Foreground color of activated options in input fields."));p("input.placeholderForeground",{light:_(L,.5),dark:_(L,.5),hcDark:_(L,.7),hcLight:_(L,.7)},S.NC("inputPlaceholderForeground","Input box foreground color for placeholder text."));let e0=p("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hcDark:o.Il.black,hcLight:o.Il.white},S.NC("inputValidationInfoBackground","Input validation background color for information severity.")),e1=p("inputValidation.infoForeground",{dark:null,light:null,hcDark:null,hcLight:L},S.NC("inputValidationInfoForeground","Input validation foreground color for information severity.")),e2=p("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hcDark:x,hcLight:x},S.NC("inputValidationInfoBorder","Input validation border color for information severity.")),e4=p("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hcDark:o.Il.black,hcLight:o.Il.white},S.NC("inputValidationWarningBackground","Input validation background color for warning severity.")),e5=p("inputValidation.warningForeground",{dark:null,light:null,hcDark:null,hcLight:L},S.NC("inputValidationWarningForeground","Input validation foreground color for warning severity.")),e3=p("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hcDark:x,hcLight:x},S.NC("inputValidationWarningBorder","Input validation border color for warning severity.")),e7=p("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hcDark:o.Il.black,hcLight:o.Il.white},S.NC("inputValidationErrorBackground","Input validation background color for error severity.")),e8=p("inputValidation.errorForeground",{dark:null,light:null,hcDark:null,hcLight:L},S.NC("inputValidationErrorForeground","Input validation foreground color for error severity.")),e6=p("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hcDark:x,hcLight:x},S.NC("inputValidationErrorBorder","Input validation border color for error severity.")),e9=p("dropdown.background",{dark:"#3C3C3C",light:o.Il.white,hcDark:o.Il.black,hcLight:o.Il.white},S.NC("dropdownBackground","Dropdown background.")),te=p("dropdown.listBackground",{dark:null,light:null,hcDark:o.Il.black,hcLight:o.Il.white},S.NC("dropdownListBackground","Dropdown list background.")),tt=p("dropdown.foreground",{dark:"#F0F0F0",light:L,hcDark:o.Il.white,hcLight:L},S.NC("dropdownForeground","Dropdown foreground.")),ti=p("dropdown.border",{dark:e9,light:"#CECECE",hcDark:x,hcLight:x},S.NC("dropdownBorder","Dropdown border.")),tn=p("button.foreground",{dark:o.Il.white,light:o.Il.white,hcDark:o.Il.white,hcLight:o.Il.white},S.NC("buttonForeground","Button foreground color.")),ts=p("button.separator",{dark:_(tn,.4),light:_(tn,.4),hcDark:_(tn,.4),hcLight:_(tn,.4)},S.NC("buttonSeparator","Button separator color.")),to=p("button.background",{dark:"#0E639C",light:"#007ACC",hcDark:null,hcLight:"#0F4A85"},S.NC("buttonBackground","Button background color.")),tr=p("button.hoverBackground",{dark:f(to,.2),light:m(to,.2),hcDark:to,hcLight:to},S.NC("buttonHoverBackground","Button background color when hovering.")),tl=p("button.border",{dark:x,light:x,hcDark:x,hcLight:x},S.NC("buttonBorder","Button border color.")),ta=p("button.secondaryForeground",{dark:o.Il.white,light:o.Il.white,hcDark:o.Il.white,hcLight:L},S.NC("buttonSecondaryForeground","Secondary button foreground color.")),td=p("button.secondaryBackground",{dark:"#3A3D41",light:"#5F6A79",hcDark:null,hcLight:o.Il.white},S.NC("buttonSecondaryBackground","Secondary button background color.")),th=p("button.secondaryHoverBackground",{dark:f(td,.2),light:m(td,.2),hcDark:null,hcLight:null},S.NC("buttonSecondaryHoverBackground","Secondary button background color when hovering.")),tu=p("checkbox.background",{dark:e9,light:e9,hcDark:e9,hcLight:e9},S.NC("checkbox.background","Background color of checkbox widget."));p("checkbox.selectBackground",{dark:W,light:W,hcDark:W,hcLight:W},S.NC("checkbox.select.background","Background color of checkbox widget when the element it's in is selected."));let tc=p("checkbox.foreground",{dark:tt,light:tt,hcDark:tt,hcLight:tt},S.NC("checkbox.foreground","Foreground color of checkbox widget.")),tg=p("checkbox.border",{dark:ti,light:ti,hcDark:ti,hcLight:ti},S.NC("checkbox.border","Border color of checkbox widget."));p("checkbox.selectBorder",{dark:k,light:k,hcDark:k,hcLight:k},S.NC("checkbox.select.border","Border color of checkbox widget when the element it's in is selected."));let tp=p("keybindingLabel.background",{dark:new o.Il(new o.VS(128,128,128,.17)),light:new o.Il(new o.VS(221,221,221,.4)),hcDark:o.Il.transparent,hcLight:o.Il.transparent},S.NC("keybindingLabelBackground","Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")),tm=p("keybindingLabel.foreground",{dark:o.Il.fromHex("#CCCCCC"),light:o.Il.fromHex("#555555"),hcDark:o.Il.white,hcLight:L},S.NC("keybindingLabelForeground","Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")),tf=p("keybindingLabel.border",{dark:new o.Il(new o.VS(51,51,51,.6)),light:new o.Il(new o.VS(204,204,204,.4)),hcDark:new o.Il(new o.VS(111,195,223)),hcLight:x},S.NC("keybindingLabelBorder","Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")),t_=p("keybindingLabel.bottomBorder",{dark:new o.Il(new o.VS(68,68,68,.6)),light:new o.Il(new o.VS(187,187,187,.4)),hcDark:new o.Il(new o.VS(111,195,223)),hcLight:L},S.NC("keybindingLabelBottomBorder","Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")),tv=p("list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tb=p("list.focusForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tC=p("list.focusOutline",{dark:D,light:D,hcDark:N,hcLight:N},S.NC("listFocusOutline","List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tw=p("list.focusAndSelectionOutline",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listFocusAndSelectionOutline","List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not.")),ty=p("list.activeSelectionBackground",{dark:"#04395E",light:"#0060C0",hcDark:null,hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},S.NC("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tS=p("list.activeSelectionForeground",{dark:o.Il.white,light:o.Il.white,hcDark:null,hcLight:null},S.NC("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tL=p("list.activeSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listActiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tk=p("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hcDark:null,hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},S.NC("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tD=p("list.inactiveSelectionForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tx=p("list.inactiveSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listInactiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tN=p("list.inactiveFocusBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tE=p("list.inactiveFocusOutline",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listInactiveFocusOutline","List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tI=p("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:o.Il.white.transparent(.1),hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},S.NC("listHoverBackground","List/Tree background when hovering over items using the mouse.")),tT=p("list.hoverForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),tM=p("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hcDark:null,hcLight:null},S.NC("listDropBackground","List/Tree drag and drop background when moving items over other items when using the mouse.")),tR=p("list.dropBetweenBackground",{dark:k,light:k,hcDark:null,hcLight:null},S.NC("listDropBetweenBackground","List/Tree drag and drop border color when moving items between items when using the mouse.")),tA=p("list.highlightForeground",{dark:"#2AAAFF",light:"#0066BF",hcDark:D,hcLight:D},S.NC("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),tP=p("list.focusHighlightForeground",{dark:tA,light:{op:6,if:ty,then:tA,else:"#BBE7FF"},hcDark:tA,hcLight:tA},S.NC("listFocusHighlightForeground","List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree."));p("list.invalidItemForeground",{dark:"#B89500",light:"#B89500",hcDark:"#B89500",hcLight:"#B5200D"},S.NC("invalidItemForeground","List/Tree foreground color for invalid items, for example an unresolved root in explorer.")),p("list.errorForeground",{dark:"#F88070",light:"#B01011",hcDark:null,hcLight:null},S.NC("listErrorForeground","Foreground color of list items containing errors.")),p("list.warningForeground",{dark:"#CCA700",light:"#855F00",hcDark:null,hcLight:null},S.NC("listWarningForeground","Foreground color of list items containing warnings."));let tO=p("listFilterWidget.background",{light:m(W,0),dark:f(W,0),hcDark:W,hcLight:W},S.NC("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),tF=p("listFilterWidget.outline",{dark:o.Il.transparent,light:o.Il.transparent,hcDark:"#f38518",hcLight:"#007ACC"},S.NC("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),tB=p("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hcDark:x,hcLight:x},S.NC("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),tW=p("listFilterWidget.shadow",{dark:ew,light:ew,hcDark:ew,hcLight:ew},S.NC("listFilterWidgetShadow","Shadow color of the type filter widget in lists and trees."));p("list.filterMatchBackground",{dark:ei,light:ei,hcDark:null,hcLight:null},S.NC("listFilterMatchHighlight","Background color of the filtered match.")),p("list.filterMatchBorder",{dark:es,light:es,hcDark:x,hcLight:N},S.NC("listFilterMatchHighlightBorder","Border color of the filtered match.")),p("list.deemphasizedForeground",{dark:"#8C8C8C",light:"#8E8E90",hcDark:"#A7A8A9",hcLight:"#666666"},S.NC("listDeemphasizedForeground","List/Tree foreground color for items that are deemphasized."));let tH=p("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hcDark:"#a9a9a9",hcLight:"#a5a5a5"},S.NC("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),tV=p("tree.inactiveIndentGuidesStroke",{dark:_(tH,.4),light:_(tH,.4),hcDark:_(tH,.4),hcLight:_(tH,.4)},S.NC("treeInactiveIndentGuidesStroke","Tree stroke color for the indentation guides that are not active.")),tz=p("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hcDark:null,hcLight:null},S.NC("tableColumnsBorder","Table border color between columns.")),tK=p("tree.tableOddRowsBackground",{dark:_(L,.04),light:_(L,.04),hcDark:null,hcLight:null},S.NC("tableOddRowsBackgroundColor","Background color for odd table rows.")),tU=p("menu.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("menuBorder","Border color of menus.")),t$=p("menu.foreground",{dark:tt,light:tt,hcDark:tt,hcLight:tt},S.NC("menuForeground","Foreground color of menu items.")),tq=p("menu.background",{dark:e9,light:e9,hcDark:e9,hcLight:e9},S.NC("menuBackground","Background color of menu items.")),tj=p("menu.selectionForeground",{dark:tS,light:tS,hcDark:tS,hcLight:tS},S.NC("menuSelectionForeground","Foreground color of the selected menu item in menus.")),tG=p("menu.selectionBackground",{dark:ty,light:ty,hcDark:ty,hcLight:ty},S.NC("menuSelectionBackground","Background color of the selected menu item in menus.")),tQ=p("menu.selectionBorder",{dark:null,light:null,hcDark:N,hcLight:N},S.NC("menuSelectionBorder","Border color of the selected menu item in menus.")),tZ=p("menu.separatorBackground",{dark:"#606060",light:"#D4D4D4",hcDark:x,hcLight:x},S.NC("menuSeparatorBackground","Color of a separator menu item in menus.")),tY=p("quickInput.background",{dark:W,light:W,hcDark:W,hcLight:W},S.NC("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),tJ=p("quickInput.foreground",{dark:H,light:H,hcDark:H,hcLight:H},S.NC("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),tX=p("quickInputTitle.background",{dark:new o.Il(new o.VS(255,255,255,.105)),light:new o.Il(new o.VS(0,0,0,.06)),hcDark:"#000000",hcLight:o.Il.white},S.NC("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),t0=p("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hcDark:o.Il.white,hcLight:"#0F4A85"},S.NC("pickerGroupForeground","Quick picker color for grouping labels.")),t1=p("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hcDark:o.Il.white,hcLight:"#0F4A85"},S.NC("pickerGroupBorder","Quick picker color for grouping borders.")),t2=p("quickInput.list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},"",void 0,S.NC("quickInput.list.focusBackground deprecation","Please use quickInputList.focusBackground instead")),t4=p("quickInputList.focusForeground",{dark:tS,light:tS,hcDark:tS,hcLight:tS},S.NC("quickInput.listFocusForeground","Quick picker foreground color for the focused item.")),t5=p("quickInputList.focusIconForeground",{dark:tL,light:tL,hcDark:tL,hcLight:tL},S.NC("quickInput.listFocusIconForeground","Quick picker icon foreground color for the focused item.")),t3=p("quickInputList.focusBackground",{dark:v(t2,ty),light:v(t2,ty),hcDark:null,hcLight:null},S.NC("quickInput.listFocusBackground","Quick picker background color for the focused item."));p("search.resultsInfoForeground",{light:L,dark:_(L,.65),hcDark:L,hcLight:L},S.NC("search.resultsInfoForeground","Color of the text in the search viewlet's completion message.")),p("searchEditor.findMatchBackground",{light:_(ei,.66),dark:_(ei,.66),hcDark:ei,hcLight:ei},S.NC("searchEditor.queryMatch","Color of the Search Editor query matches.")),p("searchEditor.findMatchBorder",{light:_(es,.66),dark:_(es,.66),hcDark:es,hcLight:es},S.NC("searchEditor.editorFindMatchBorder","Border color of the Search Editor query matches."))},79939:function(e,t,i){"use strict";i.d(t,{Ks:function(){return v},q5:function(){return _},s_:function(){return y}});var n,s,o,r=i(44532),l=i(47039),a=i(71216),d=i(29527),h=i(79915),u=i(24162),c=i(5482),g=i(82801),p=i(69965),m=i(34089);(s||(s={})).getDefinition=function(e,t){let i=e.defaults;for(;d.k.isThemeIcon(i);){let e=f.getIcon(i.id);if(!e)return;i=e.defaults}return i},(n=o||(o={})).toJSONObject=function(e){return{weight:e.weight,style:e.style,src:e.src.map(e=>({format:e.format,location:e.location.toString()}))}},n.fromJSONObject=function(e){let t=e=>(0,u.HD)(e)?e:void 0;if(e&&Array.isArray(e.src)&&e.src.every(e=>(0,u.HD)(e.format)&&(0,u.HD)(e.location)))return{weight:t(e.weight),style:t(e.style),src:e.src.map(e=>({format:e.format,location:c.o.parse(e.location)}))}};let f=new class{constructor(){this._onDidChange=new h.Q5,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:(0,g.NC)("iconDefinition.fontId","The id of the font to use. If not set, the font that is defined first is used.")},fontCharacter:{type:"string",description:(0,g.NC)("iconDefinition.fontCharacter","The font character associated with the icon definition.")}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",pattern:`^${d.k.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(e,t,i,n){let s=this.iconsById[e];if(s){if(i&&!s.description){s.description=i,this.iconSchema.properties[e].markdownDescription=`${i} $(${e})`;let t=this.iconReferenceSchema.enum.indexOf(e);-1!==t&&(this.iconReferenceSchema.enumDescriptions[t]=i),this._onDidChange.fire()}return s}this.iconsById[e]={id:e,description:i,defaults:t,deprecationMessage:n};let o={$ref:"#/definitions/icons"};return n&&(o.deprecationMessage=n),i&&(o.markdownDescription=`${i}: $(${e})`),this.iconSchema.properties[e]=o,this.iconReferenceSchema.enum.push(e),this.iconReferenceSchema.enumDescriptions.push(i||""),this._onDidChange.fire(),{id:e}}getIcons(){return Object.keys(this.iconsById).map(e=>this.iconsById[e])}getIcon(e){return this.iconsById[e]}getIconSchema(){return this.iconSchema}toString(){let e=(e,t)=>e.id.localeCompare(t.id),t=e=>{for(;d.k.isThemeIcon(e.defaults);)e=this.iconsById[e.defaults.id];return`codicon codicon-${e?e.id:""}`},i=[];i.push("| preview | identifier | default codicon ID | description"),i.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");let n=Object.keys(this.iconsById).map(e=>this.iconsById[e]);for(let s of n.filter(e=>!!e.description).sort(e))i.push(`||${s.id}|${d.k.isThemeIcon(s.defaults)?s.defaults.id:s.id}|${s.description||""}|`);for(let s of(i.push("| preview | identifier "),i.push("| ----------- | --------------------------------- |"),n.filter(e=>!d.k.isThemeIcon(e.defaults)).sort(e)))i.push(`||${s.id}|`);return i.join("\n")}};function _(e,t,i,n){return f.registerIcon(e,t,i,n)}function v(){return f}m.B.add("base.contributions.icons",f),function(){let e=(0,a.u)();for(let t in e){let i="\\"+e[t].toString(16);f.registerIcon(t,{fontCharacter:i})}}();let b="vscode://schemas/icons",C=m.B.as(p.I.JSONContribution);C.registerSchema(b,f.getIconSchema());let w=new r.pY(()=>C.notifySchemaChanged(b),200);f.onDidChange(()=>{w.isScheduled()||w.schedule()});let y=_("widget-close",l.l.close,(0,g.NC)("widgetClose","Icon for the close action in widgets."));_("goto-previous-location",l.l.arrowUp,(0,g.NC)("previousChangeIcon","Icon for goto previous editor location.")),_("goto-next-location",l.l.arrowDown,(0,g.NC)("nextChangeIcon","Icon for goto next editor location.")),d.k.modify(l.l.sync,"spin"),d.k.modify(l.l.loading,"spin")},42042:function(e,t,i){"use strict";var n,s;function o(e){return e===n.HIGH_CONTRAST_DARK||e===n.HIGH_CONTRAST_LIGHT}function r(e){return e===n.DARK||e===n.HIGH_CONTRAST_DARK}i.d(t,{_T:function(){return r},c3:function(){return o},eL:function(){return n}}),(s=n||(n={})).DARK="dark",s.LIGHT="light",s.HIGH_CONTRAST_DARK="hcDark",s.HIGH_CONTRAST_LIGHT="hcLight"},55150:function(e,t,i){"use strict";i.d(t,{EN:function(){return d},IP:function(){return u},Ic:function(){return g},XE:function(){return a},bB:function(){return p},m6:function(){return h}});var n=i(79915),s=i(70784),o=i(85327),r=i(34089),l=i(42042);let a=(0,o.yh)("themeService");function d(e){return{id:e}}function h(e){switch(e){case l.eL.DARK:return"vs-dark";case l.eL.HIGH_CONTRAST_DARK:return"hc-black";case l.eL.HIGH_CONTRAST_LIGHT:return"hc-light";default:return"vs"}}let u={ThemingContribution:"base.contributions.theming"},c=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new n.Q5}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),(0,s.OF)(()=>{let t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)})}getThemingParticipants(){return this.themingParticipants}};function g(e){return c.onColorThemeChange(e)}r.B.add(u.ThemingContribution,c);class p extends s.JT{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(e=>this.onThemeChange(e)))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}},32109:function(e,t,i){"use strict";i.d(t,{Xt:function(){return r},YO:function(){return o},gJ:function(){return l},tJ:function(){return s}});var n=i(85327);let s=(0,n.yh)("undoRedoService");class o{constructor(e,t){this.resource=e,this.elements=t}}class r{constructor(){this.id=r._ID++,this.order=1}nextOrder(){return 0===this.id?0:this.order++}}r._ID=0,r.None=new r;class l{constructor(){this.id=l._ID++,this.order=1}nextOrder(){return 0===this.id?0:this.order++}}l._ID=0,l.None=new l},23776:function(e,t,i){"use strict";i.d(t,{A6:function(){return p},c$:function(){return d},eb:function(){return a},ec:function(){return l},md:function(){return g},p$:function(){return m},uT:function(){return c},x:function(){return f}});var n=i(82801),s=i(75380);i(13234);var o=i(5482),r=i(85327);let l=(0,r.yh)("contextService");function a(e){return"string"==typeof(null==e?void 0:e.id)&&o.o.isUri(e.uri)}function d(e){return"string"==typeof(null==e?void 0:e.id)&&!a(e)&&!("string"==typeof(null==e?void 0:e.id)&&o.o.isUri(e.configPath))}let h={id:"ext-dev"},u={id:"empty-window"};function c(e,t){return"string"==typeof e||void 0===e?"string"==typeof e?{id:(0,s.EZ)(e)}:t?h:u:e.configuration?{id:e.id,configPath:e.configuration}:1===e.folders.length?{id:e.id,uri:e.folders[0].uri}:{id:e.id}}class g{constructor(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}let p="code-workspace";(0,n.NC)("codeWorkspace","Code Workspace");let m="4064f6ec-cb38-4ad0-af64-ee6467e63c82";function f(e){return e.id===m}},64775:function(e,t,i){"use strict";i.d(t,{Y:function(){return s}});var n=i(85327);let s=(0,n.yh)("workspaceTrustManagementService")},24816:function(){},38828:function(){},89294:function(){},54956:function(){},99548:function(){},89666:function(){},2983:function(){},25523:function(){},9239:function(){},51673:function(){},58879:function(){},58224:function(){},64078:function(){},72119:function(){},65725:function(){},39031:function(){},87148:function(){},21373:function(){},85224:function(){},31121:function(){},96923:function(){},884:function(){},93897:function(){},54651:function(){},21805:function(){},55660:function(){},26843:function(){},94050:function(){},77717:function(){},18610:function(){},2713:function(){},69082:function(){},36023:function(){},33074:function(){},85448:function(){},51771:function(){},94361:function(){},71191:function(){},92370:function(){},56389:function(){},85969:function(){},33557:function(){},25459:function(){},50799:function(){},4403:function(){},50707:function(){},33590:function(){},70892:function(){},28904:function(){},51861:function(){},11579:function(){},28696:function(){},56417:function(){},45426:function(){},92986:function(){},15968:function(){},75340:function(){},22817:function(){},13547:function(){},94785:function(){},81121:function(){},41877:function(){},37248:function(){},9983:function(){},96408:function(){},92067:function(){},30289:function(){},65344:function(){},19161:function(){},87705:function(){},76873:function(){},78410:function(){},77382:function(){},12547:function(){},27120:function(){},24805:function(){},78870:function(){},86979:function(){},62888:function(){},47297:function(){},92152:function(){},90948:function(){},97681:function(){},82296:function(){},74744:function(){},60127:function(){},9820:function(){},86857:function(){},90897:function(){},65506:function(){},12441:function(){},25139:function(){},19094:function(e,t,i){"use strict";function n(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function s(e){for(var t=1;te.length)&&(t=e.length);for(var i=0,n=Array(t);i=e.length?e.apply(this,s):function(){for(var e=arguments.length,n=Array(e),o=0;o=u.length?u.apply(this,n):function(){for(var i=arguments.length,s=Array(i),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};p.initial(e),p.handler(t);var i={current:e},n=a(_)(i,t),s=a(f)(i),o=a(p.changes)(e),r=a(m)(i);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return p.selector(e),e(i.current)},function(e){(function(){for(var e=arguments.length,t=Array(e),i=0;i=0||(s[i]=e[i]);return s}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(s[i]=e[i])}return s}(t,["monaco"]);D(function(e){return{config:function e(t,i){return Object.keys(i).forEach(function(n){i[n]instanceof Object&&t[n]&&Object.assign(i[n],e(t[n],i[n]))}),s(s({},t),i)}(e.config,n),monaco:i}})},init:function(){var e=k(function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}});if(!e.isInitialized){if(D({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),S(T);if(window.monaco&&window.monaco.editor)return I(window.monaco),e.resolve(window.monaco),S(T);w(x,N)(E)}return S(T)},__getMonacoInstance:function(){return k(function(e){return e.monaco})}},R=i(38497),A={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},P={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},O=function({children:e}){return R.createElement("div",{style:P.container},e)},F=(0,R.memo)(function({width:e,height:t,isEditorReady:i,loading:n,_ref:s,className:o,wrapperProps:r}){return R.createElement("section",{style:{...A.wrapper,width:e,height:t},...r},!i&&R.createElement(O,null,n),R.createElement("div",{ref:s,style:{...A.fullWidth,...!i&&A.hide},className:o}))}),B=function(e){(0,R.useEffect)(e,[])},W=function(e,t,i=!0){let n=(0,R.useRef)(!0);(0,R.useEffect)(n.current||!i?()=>{n.current=!1}:e,t)};function H(){}function V(e,t,i,n){return e.editor.getModel(z(e,n))||e.editor.createModel(t,i,n?z(e,n):void 0)}function z(e,t){return e.Uri.parse(t)}(0,R.memo)(function({original:e,modified:t,language:i,originalLanguage:n,modifiedLanguage:s,originalModelPath:o,modifiedModelPath:r,keepCurrentOriginalModel:l=!1,keepCurrentModifiedModel:a=!1,theme:d="light",loading:h="Loading...",options:u={},height:c="100%",width:g="100%",className:p,wrapperProps:m={},beforeMount:f=H,onMount:_=H}){let[v,b]=(0,R.useState)(!1),[C,w]=(0,R.useState)(!0),y=(0,R.useRef)(null),S=(0,R.useRef)(null),L=(0,R.useRef)(null),k=(0,R.useRef)(_),D=(0,R.useRef)(f),x=(0,R.useRef)(!1);B(()=>{let e=M.init();return e.then(e=>(S.current=e)&&w(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>{let t;return y.current?(t=y.current?.getModel(),void(l||t?.original?.dispose(),a||t?.modified?.dispose(),y.current?.dispose())):e.cancel()}}),W(()=>{if(y.current&&S.current){let t=y.current.getOriginalEditor(),s=V(S.current,e||"",n||i||"text",o||"");s!==t.getModel()&&t.setModel(s)}},[o],v),W(()=>{if(y.current&&S.current){let e=y.current.getModifiedEditor(),n=V(S.current,t||"",s||i||"text",r||"");n!==e.getModel()&&e.setModel(n)}},[r],v),W(()=>{let e=y.current.getModifiedEditor();e.getOption(S.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())},[t],v),W(()=>{y.current?.getModel()?.original.setValue(e||"")},[e],v),W(()=>{let{original:e,modified:t}=y.current.getModel();S.current.editor.setModelLanguage(e,n||i||"text"),S.current.editor.setModelLanguage(t,s||i||"text")},[i,n,s],v),W(()=>{S.current?.editor.setTheme(d)},[d],v),W(()=>{y.current?.updateOptions(u)},[u],v);let N=(0,R.useCallback)(()=>{if(!S.current)return;D.current(S.current);let l=V(S.current,e||"",n||i||"text",o||""),a=V(S.current,t||"",s||i||"text",r||"");y.current?.setModel({original:l,modified:a})},[i,t,s,e,n,o,r]),E=(0,R.useCallback)(()=>{!x.current&&L.current&&(y.current=S.current.editor.createDiffEditor(L.current,{automaticLayout:!0,...u}),N(),S.current?.editor.setTheme(d),b(!0),x.current=!0)},[u,d,N]);return(0,R.useEffect)(()=>{v&&k.current(y.current,S.current)},[v]),(0,R.useEffect)(()=>{C||v||E()},[C,v,E]),R.createElement(F,{width:g,height:c,isEditorReady:v,loading:h,_ref:L,className:p,wrapperProps:m})});var K=function(e){let t=(0,R.useRef)();return(0,R.useEffect)(()=>{t.current=e},[e]),t.current},U=new Map,$=(0,R.memo)(function({defaultValue:e,defaultLanguage:t,defaultPath:i,value:n,language:s,path:o,theme:r="light",line:l,loading:a="Loading...",options:d={},overrideServices:h={},saveViewState:u=!0,keepCurrentModel:c=!1,width:g="100%",height:p="100%",className:m,wrapperProps:f={},beforeMount:_=H,onMount:v=H,onChange:b,onValidate:C=H}){let[w,y]=(0,R.useState)(!1),[S,L]=(0,R.useState)(!0),k=(0,R.useRef)(null),D=(0,R.useRef)(null),x=(0,R.useRef)(null),N=(0,R.useRef)(v),E=(0,R.useRef)(_),I=(0,R.useRef)(),T=(0,R.useRef)(n),A=K(o),P=(0,R.useRef)(!1),O=(0,R.useRef)(!1);B(()=>{let e=M.init();return e.then(e=>(k.current=e)&&L(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>D.current?void(I.current?.dispose(),c?u&&U.set(o,D.current.saveViewState()):D.current.getModel()?.dispose(),D.current.dispose()):e.cancel()}),W(()=>{let r=V(k.current,e||n||"",t||s||"",o||i||"");r!==D.current?.getModel()&&(u&&U.set(A,D.current?.saveViewState()),D.current?.setModel(r),u&&D.current?.restoreViewState(U.get(o)))},[o],w),W(()=>{D.current?.updateOptions(d)},[d],w),W(()=>{D.current&&void 0!==n&&(D.current.getOption(k.current.editor.EditorOption.readOnly)?D.current.setValue(n):n===D.current.getValue()||(O.current=!0,D.current.executeEdits("",[{range:D.current.getModel().getFullModelRange(),text:n,forceMoveMarkers:!0}]),D.current.pushUndoStop(),O.current=!1))},[n],w),W(()=>{let e=D.current?.getModel();e&&s&&k.current?.editor.setModelLanguage(e,s)},[s],w),W(()=>{void 0!==l&&D.current?.revealLine(l)},[l],w),W(()=>{k.current?.editor.setTheme(r)},[r],w);let z=(0,R.useCallback)(()=>{if(!(!x.current||!k.current)&&!P.current){E.current(k.current);let a=o||i,c=V(k.current,n||e||"",t||s||"",a||"");D.current=k.current?.editor.create(x.current,{model:c,automaticLayout:!0,...d},h),u&&D.current.restoreViewState(U.get(a)),k.current.editor.setTheme(r),void 0!==l&&D.current.revealLine(l),y(!0),P.current=!0}},[e,t,i,n,s,o,d,h,u,r,l]);return(0,R.useEffect)(()=>{w&&N.current(D.current,k.current)},[w]),(0,R.useEffect)(()=>{S||w||z()},[S,w,z]),T.current=n,(0,R.useEffect)(()=>{w&&b&&(I.current?.dispose(),I.current=D.current?.onDidChangeModelContent(e=>{O.current||b(D.current.getValue(),e)}))},[w,b]),(0,R.useEffect)(()=>{if(w){let e=k.current.editor.onDidChangeMarkers(e=>{let t=D.current.getModel()?.uri;if(t&&e.find(e=>e.path===t.path)){let e=k.current.editor.getModelMarkers({resource:t});C?.(e)}});return()=>{e?.dispose()}}return()=>{}},[w,C]),R.createElement(F,{width:g,height:p,isEditorReady:w,loading:a,_ref:x,className:m,wrapperProps:f})})}}]); \ No newline at end of file + }`),this.styleElement.textContent=t.join("\n"),this.list.style(e)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.disposables.dispose()}}_.InstanceCount=0;var v=i(7374),b=i(78438),C=i(94936),w=i(68712),y=i(93072);class S{constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new C.X(e,t,null,i),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,i.sorter&&(this.sorter={compare:(e,t)=>i.sorter.compare(e.element,t.element)}),this.identityProvider=i.identityProvider}setChildren(e,t=y.$.empty(),i={}){let n=this.getElementLocation(e);this._setChildren(n,this.preserveCollapseState(t),i)}_setChildren(e,t=y.$.empty(),i){let n=new Set,s=new Set;this.model.splice([...e,0],Number.MAX_VALUE,t,{...i,onDidCreateNode:e=>{var t;if(null!==e.element){if(n.add(e.element),this.nodes.set(e.element,e),this.identityProvider){let t=this.identityProvider.getId(e.element).toString();s.add(t),this.nodesByIdentity.set(t,e)}null===(t=i.onDidCreateNode)||void 0===t||t.call(i,e)}},onDidDeleteNode:e=>{var t;if(null!==e.element){if(n.has(e.element)||this.nodes.delete(e.element),this.identityProvider){let t=this.identityProvider.getId(e.element).toString();s.has(t)||this.nodesByIdentity.delete(t)}null===(t=i.onDidDeleteNode)||void 0===t||t.call(i,e)}}})}preserveCollapseState(e=y.$.empty()){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),y.$.map(e,e=>{let t,i=this.nodes.get(e.element);if(!i&&this.identityProvider){let t=this.identityProvider.getId(e.element).toString();i=this.nodesByIdentity.get(t)}if(!i){let t;return t=void 0===e.collapsed?void 0:e.collapsed===w.kn.Collapsed||e.collapsed===w.kn.PreserveOrCollapsed||e.collapsed!==w.kn.Expanded&&e.collapsed!==w.kn.PreserveOrExpanded&&!!e.collapsed,{...e,children:this.preserveCollapseState(e.children),collapsed:t}}let n="boolean"==typeof e.collapsible?e.collapsible:i.collapsible;return t=void 0===e.collapsed||e.collapsed===w.kn.PreserveOrCollapsed||e.collapsed===w.kn.PreserveOrExpanded?i.collapsed:e.collapsed===w.kn.Collapsed||e.collapsed!==w.kn.Expanded&&!!e.collapsed,{...e,collapsible:n,collapsed:t,children:this.preserveCollapseState(e.children)}})}rerender(e){let t=this.getElementLocation(e);this.model.rerender(t)}getFirstElementChild(e=null){let t=this.getElementLocation(e);return this.model.getFirstElementChild(t)}has(e){return this.nodes.has(e)}getListIndex(e){let t=this.getElementLocation(e);return this.model.getListIndex(t)}getListRenderCount(e){let t=this.getElementLocation(e);return this.model.getListRenderCount(t)}isCollapsible(e){let t=this.getElementLocation(e);return this.model.isCollapsible(t)}setCollapsible(e,t){let i=this.getElementLocation(e);return this.model.setCollapsible(i,t)}isCollapsed(e){let t=this.getElementLocation(e);return this.model.isCollapsed(t)}setCollapsed(e,t,i){let n=this.getElementLocation(e);return this.model.setCollapsed(n,t,i)}expandTo(e){let t=this.getElementLocation(e);this.model.expandTo(t)}refilter(){this.model.refilter()}getNode(e=null){if(null===e)return this.model.getNode(this.model.rootRef);let t=this.nodes.get(e);if(!t)throw new w.ac(this.user,`Tree element not found: ${e}`);return t}getNodeLocation(e){return e.element}getParentNodeLocation(e){if(null===e)throw new w.ac(this.user,"Invalid getParentNodeLocation call");let t=this.nodes.get(e);if(!t)throw new w.ac(this.user,`Tree element not found: ${e}`);let i=this.model.getNodeLocation(t),n=this.model.getParentNodeLocation(i),s=this.model.getNode(n);return s.element}getElementLocation(e){if(null===e)return[];let t=this.nodes.get(e);if(!t)throw new w.ac(this.user,`Tree element not found: ${e}`);return this.model.getNodeLocation(t)}}function L(e){let t=[e.element],i=e.incompressible||!1;return{element:{elements:t,incompressible:i},children:y.$.map(y.$.from(e.children),L),collapsible:e.collapsible,collapsed:e.collapsed}}function k(e){let t,i;let n=[e.element],s=e.incompressible||!1;for(;[i,t]=y.$.consume(y.$.from(e.children),2),1===i.length&&!i[0].incompressible;)n.push((e=i[0]).element);return{element:{elements:n,incompressible:s},children:y.$.map(y.$.concat(i,t),k),collapsible:e.collapsible,collapsed:e.collapsed}}function D(e){return function e(t,i=0){let n;return(n=ie(t,0)),0===i&&t.element.incompressible)?{element:t.element.elements[i],children:n,incompressible:!0,collapsible:t.collapsible,collapsed:t.collapsed}:{element:t.element.elements[i],children:n,collapsible:t.collapsible,collapsed:t.collapsed}}(e,0)}let x=e=>({getId:t=>t.elements.map(t=>e.getId(t).toString()).join("\x00")});class N{get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.model=new S(e,t,i),this.enabled=void 0===i.compressionEnabled||i.compressionEnabled,this.identityProvider=i.identityProvider}setChildren(e,t=y.$.empty(),i){let n=i.diffIdentityProvider&&x(i.diffIdentityProvider);if(null===e){let e=y.$.map(t,this.enabled?k:L);this._setChildren(null,e,{diffIdentityProvider:n,diffDepth:1/0});return}let o=this.nodes.get(e);if(!o)throw new w.ac(this.user,"Unknown compressed tree node");let r=this.model.getNode(o),l=this.model.getParentNodeLocation(o),a=this.model.getNode(l),d=D(r),h=function e(t,i,n){return t.element===i?{...t,children:n}:{...t,children:y.$.map(y.$.from(t.children),t=>e(t,i,n))}}(d,e,t),u=(this.enabled?k:L)(h),c=i.diffIdentityProvider?(e,t)=>i.diffIdentityProvider.getId(e)===i.diffIdentityProvider.getId(t):void 0;if((0,s.fS)(u.element.elements,r.element.elements,c)){this._setChildren(o,u.children||y.$.empty(),{diffIdentityProvider:n,diffDepth:1});return}let g=a.children.map(e=>e===r?u:e);this._setChildren(a.element,g,{diffIdentityProvider:n,diffDepth:r.depth-a.depth})}isCompressionEnabled(){return this.enabled}setCompressionEnabled(e){if(e===this.enabled)return;this.enabled=e;let t=this.model.getNode(),i=t.children,n=y.$.map(i,D),s=y.$.map(n,e?k:L);this._setChildren(null,s,{diffIdentityProvider:this.identityProvider,diffDepth:1/0})}_setChildren(e,t,i){let n=new Set;this.model.setChildren(e,t,{...i,onDidCreateNode:e=>{for(let t of e.element.elements)n.add(t),this.nodes.set(t,e.element)},onDidDeleteNode:e=>{for(let t of e.element.elements)n.has(t)||this.nodes.delete(t)}})}has(e){return this.nodes.has(e)}getListIndex(e){let t=this.getCompressedNode(e);return this.model.getListIndex(t)}getListRenderCount(e){let t=this.getCompressedNode(e);return this.model.getListRenderCount(t)}getNode(e){if(void 0===e)return this.model.getNode();let t=this.getCompressedNode(e);return this.model.getNode(t)}getNodeLocation(e){let t=this.model.getNodeLocation(e);return null===t?null:t.elements[t.elements.length-1]}getParentNodeLocation(e){let t=this.getCompressedNode(e),i=this.model.getParentNodeLocation(t);return null===i?null:i.elements[i.elements.length-1]}getFirstElementChild(e){let t=this.getCompressedNode(e);return this.model.getFirstElementChild(t)}isCollapsible(e){let t=this.getCompressedNode(e);return this.model.isCollapsible(t)}setCollapsible(e,t){let i=this.getCompressedNode(e);return this.model.setCollapsible(i,t)}isCollapsed(e){let t=this.getCompressedNode(e);return this.model.isCollapsed(t)}setCollapsed(e,t,i){let n=this.getCompressedNode(e);return this.model.setCollapsed(n,t,i)}expandTo(e){let t=this.getCompressedNode(e);this.model.expandTo(t)}rerender(e){let t=this.getCompressedNode(e);this.model.rerender(t)}refilter(){this.model.refilter()}getCompressedNode(e){if(null===e)return null;let t=this.nodes.get(e);if(!t)throw new w.ac(this.user,`Tree element not found: ${e}`);return t}}let E=e=>e[e.length-1];class I{get element(){return null===this.node.element?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(e=>new I(this.unwrapper,e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}constructor(e,t){this.unwrapper=e,this.node=t}}class T{get onDidSplice(){return r.ju.map(this.model.onDidSplice,({insertedNodes:e,deletedNodes:t})=>({insertedNodes:e.map(e=>this.nodeMapper.map(e)),deletedNodes:t.map(e=>this.nodeMapper.map(e))}))}get onDidChangeCollapseState(){return r.ju.map(this.model.onDidChangeCollapseState,({node:e,deep:t})=>({node:this.nodeMapper.map(e),deep:t}))}get onDidChangeRenderNodeCount(){return r.ju.map(this.model.onDidChangeRenderNodeCount,e=>this.nodeMapper.map(e))}constructor(e,t,i={}){var n;this.rootRef=null,this.elementMapper=i.elementMapper||E;let s=e=>this.elementMapper(e.elements);this.nodeMapper=new w.VA(e=>new I(s,e)),this.model=new N(e,(n=this.nodeMapper,{splice(e,i,s){t.splice(e,i,s.map(e=>n.map(e)))},updateElementHeight(e,i){t.updateElementHeight(e,i)}}),{...i,identityProvider:i.identityProvider&&{getId:e=>i.identityProvider.getId(s(e))},sorter:i.sorter&&{compare:(e,t)=>i.sorter.compare(e.elements[0],t.elements[0])},filter:i.filter&&{filter:(e,t)=>i.filter.filter(s(e),t)}})}setChildren(e,t=y.$.empty(),i={}){this.model.setChildren(e,t,i)}isCompressionEnabled(){return this.model.isCompressionEnabled()}setCompressionEnabled(e){this.model.setCompressionEnabled(e)}has(e){return this.model.has(e)}getListIndex(e){return this.model.getListIndex(e)}getListRenderCount(e){return this.model.getListRenderCount(e)}getNode(e){return this.nodeMapper.map(this.model.getNode(e))}getNodeLocation(e){return e.element}getParentNodeLocation(e){return this.model.getParentNodeLocation(e)}getFirstElementChild(e){let t=this.model.getFirstElementChild(e);return null==t?t:this.elementMapper(t.elements)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}setCollapsed(e,t,i){return this.model.setCollapsed(e,t,i)}expandTo(e){return this.model.expandTo(e)}rerender(e){return this.model.rerender(e)}refilter(){return this.model.refilter()}getCompressedTreeNode(e=null){return this.model.getNode(e)}}var M=i(12435);class R extends v.CH{get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}constructor(e,t,i,n,s={}){super(e,t,i,n,s),this.user=e}setChildren(e,t=y.$.empty(),i){this.model.setChildren(e,t,i)}rerender(e){if(void 0===e){this.view.rerender();return}this.model.rerender(e)}hasElement(e){return this.model.has(e)}createModel(e,t,i){return new S(e,t,i)}}class A{get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}constructor(e,t,i){this._compressedTreeNodeProvider=e,this.stickyScrollDelegate=t,this.renderer=i,this.templateId=i.templateId,i.onDidChangeTwistieState&&(this.onDidChangeTwistieState=i.onDidChangeTwistieState)}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{compressedTreeNode:void 0,data:t}}renderElement(e,t,i,n){let s=this.stickyScrollDelegate.getCompressedNode(e);s||(s=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element)),1===s.element.elements.length?(i.compressedTreeNode=void 0,this.renderer.renderElement(e,t,i.data,n)):(i.compressedTreeNode=s,this.renderer.renderCompressedElements(s,t,i.data,n))}disposeElement(e,t,i,n){var s,o,r,l;i.compressedTreeNode?null===(o=(s=this.renderer).disposeCompressedElements)||void 0===o||o.call(s,i.compressedTreeNode,t,i.data,n):null===(l=(r=this.renderer).disposeElement)||void 0===l||l.call(r,e,t,i.data,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.data)}renderTwistie(e,t){return!!this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)}}!function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);o>3&&r&&Object.defineProperty(t,i,r)}([M.H],A.prototype,"compressedTreeNodeProvider",null);class P{constructor(e){this.modelProvider=e,this.compressedStickyNodes=new Map}getCompressedNode(e){return this.compressedStickyNodes.get(e)}constrainStickyScrollNodes(e,t,i){if(this.compressedStickyNodes.clear(),0===e.length)return[];for(let n=0;ni;if(r||n>=t-1&&tthis,r=new P(()=>this.model),l=n.map(e=>new A(o,r,e));super(e,t,i,l,{...s&&{...s,keyboardNavigationLabelProvider:s.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(e){let t;try{t=o().getCompressedTreeNode(e)}catch(t){return s.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e)}return 1===t.element.elements.length?s.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e):s.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.element.elements)}}},stickyScrollDelegate:r})}setChildren(e,t=y.$.empty(),i){this.model.setChildren(e,t,i)}createModel(e,t,i){return new T(e,t,i)}updateOptions(e={}){super.updateOptions(e),void 0!==e.compressionEnabled&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}var F=i(44532),B=i(47039),W=i(29527),H=i(32378),V=i(24162);function z(e){return{...e,children:[],refreshPromise:void 0,stale:!0,slow:!1,forceExpanded:!1}}function K(e,t){return!!t.parent&&(t.parent===e||K(e,t.parent))}class U{get element(){return this.node.element.element}get children(){return this.node.children.map(e=>new U(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}constructor(e){this.node=e}}class ${constructor(e,t,i){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.templateId=e.templateId}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{templateData:t}}renderElement(e,t,i,n){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,n)}renderTwistie(e,t){return e.slow?(t.classList.add(...W.k.asClassNameArray(B.l.treeItemLoading)),!0):(t.classList.remove(...W.k.asClassNameArray(B.l.treeItemLoading)),!1)}disposeElement(e,t,i,n){var s,o;null===(o=(s=this.renderer).disposeElement)||void 0===o||o.call(s,this.nodeMapper.map(e),t,i.templateData,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear()}}function q(e){return{browserEvent:e.browserEvent,elements:e.elements.map(e=>e.element)}}function j(e){return{browserEvent:e.browserEvent,element:e.element&&e.element.element,target:e.target}}class G extends b.kX{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function Q(e){return e instanceof b.kX?new G(e):e}class Z{constructor(e){this.dnd=e}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){var i,n;null===(n=(i=this.dnd).onDragStart)||void 0===n||n.call(i,Q(e),t)}onDragOver(e,t,i,n,s,o=!0){return this.dnd.onDragOver(Q(e),t&&t.element,i,n,s)}drop(e,t,i,n,s){this.dnd.drop(Q(e),t&&t.element,i,n,s)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}dispose(){this.dnd.dispose()}}function Y(e){return e&&{...e,collapseByDefault:!0,identityProvider:e.identityProvider&&{getId:t=>e.identityProvider.getId(t.element)},dnd:e.dnd&&new Z(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent:t=>e.multipleSelectionController.isSelectionSingleChangeEvent({...t,element:t.element}),isSelectionRangeChangeEvent:t=>e.multipleSelectionController.isSelectionRangeChangeEvent({...t,element:t.element})},accessibilityProvider:e.accessibilityProvider&&{...e.accessibilityProvider,getPosInSet:void 0,getSetSize:void 0,getRole:e.accessibilityProvider.getRole?t=>e.accessibilityProvider.getRole(t.element):()=>"treeitem",isChecked:e.accessibilityProvider.isChecked?t=>{var i;return!!(null===(i=e.accessibilityProvider)||void 0===i?void 0:i.isChecked(t.element))}:void 0,getAriaLabel:t=>e.accessibilityProvider.getAriaLabel(t.element),getWidgetAriaLabel:()=>e.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:e.accessibilityProvider.getWidgetRole?()=>e.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:e.accessibilityProvider.getAriaLevel&&(t=>e.accessibilityProvider.getAriaLevel(t.element)),getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&(t=>e.accessibilityProvider.getActiveDescendantId(t.element))},filter:e.filter&&{filter:(t,i)=>e.filter.filter(t.element,i)},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&{...e.keyboardNavigationLabelProvider,getKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)},sorter:void 0,expandOnlyOnTwistieClick:void 0===e.expandOnlyOnTwistieClick?void 0:"function"!=typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:t=>e.expandOnlyOnTwistieClick(t.element),defaultFindVisibility:t=>t.hasChildren&&t.stale?1:"number"==typeof e.defaultFindVisibility?e.defaultFindVisibility:void 0===e.defaultFindVisibility?2:e.defaultFindVisibility(t.element)}}function J(e,t){t(e),e.children.forEach(e=>J(e,t))}class X{get onDidScroll(){return this.tree.onDidScroll}get onDidChangeFocus(){return r.ju.map(this.tree.onDidChangeFocus,q)}get onDidChangeSelection(){return r.ju.map(this.tree.onDidChangeSelection,q)}get onMouseDblClick(){return r.ju.map(this.tree.onMouseDblClick,j)}get onPointer(){return r.ju.map(this.tree.onPointer,j)}get onDidFocus(){return this.tree.onDidFocus}get onDidChangeModel(){return this.tree.onDidChangeModel}get onDidChangeCollapseState(){return this.tree.onDidChangeCollapseState}get onDidChangeFindOpenState(){return this.tree.onDidChangeFindOpenState}get onDidChangeStickyScrollFocused(){return this.tree.onDidChangeStickyScrollFocused}get onDidDispose(){return this.tree.onDidDispose}constructor(e,t,i,n,s,o={}){this.user=e,this.dataSource=s,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new r.Q5,this._onDidChangeNodeSlowState=new r.Q5,this.nodeMapper=new w.VA(e=>new U(e)),this.disposables=new l.SL,this.identityProvider=o.identityProvider,this.autoExpandSingleChildren=void 0!==o.autoExpandSingleChildren&&o.autoExpandSingleChildren,this.sorter=o.sorter,this.getDefaultCollapseState=e=>o.collapseByDefault?o.collapseByDefault(e)?w.kn.PreserveOrCollapsed:w.kn.PreserveOrExpanded:void 0,this.tree=this.createTree(e,t,i,n,o),this.onDidChangeFindMode=this.tree.onDidChangeFindMode,this.onDidChangeFindMatchType=this.tree.onDidChangeFindMatchType,this.root=z({element:void 0,parent:null,hasChildren:!0,defaultCollapseState:void 0}),this.identityProvider&&(this.root={...this.root,id:null}),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}createTree(e,t,i,n,s){let o=new v.cz(i),r=n.map(e=>new $(e,this.nodeMapper,this._onDidChangeNodeSlowState.event)),l=Y(s)||{};return new R(e,t,o,r,l)}updateOptions(e={}){this.tree.updateOptions(e)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(e){this.tree.scrollTop=e}get scrollHeight(){return this.tree.scrollHeight}get renderHeight(){return this.tree.renderHeight}domFocus(){this.tree.domFocus()}layout(e,t){this.tree.layout(e,t)}style(e){this.tree.style(e)}getInput(){return this.root.element}async setInput(e,t){this.refreshPromises.forEach(e=>e.cancel()),this.refreshPromises.clear(),this.root.element=e;let i=t&&{viewState:t,focus:[],selection:[]};await this._updateChildren(e,!0,!1,i),i&&(this.tree.setFocus(i.focus),this.tree.setSelection(i.selection)),t&&"number"==typeof t.scrollTop&&(this.scrollTop=t.scrollTop)}async _updateChildren(e=this.root.element,t=!0,i=!1,n,s){if(void 0===this.root.element)throw new w.ac(this.user,"Tree input not set");this.root.refreshPromise&&(await this.root.refreshPromise,await r.ju.toPromise(this._onDidRender.event));let o=this.getDataNode(e);if(await this.refreshAndRenderNode(o,t,n,s),i)try{this.tree.rerender(o)}catch(e){}}rerender(e){if(void 0===e||e===this.root.element){this.tree.rerender();return}let t=this.getDataNode(e);this.tree.rerender(t)}getNode(e=this.root.element){let t=this.getDataNode(e),i=this.tree.getNode(t===this.root?null:t);return this.nodeMapper.map(i)}collapse(e,t=!1){let i=this.getDataNode(e);return this.tree.collapse(i===this.root?null:i,t)}async expand(e,t=!1){if(void 0===this.root.element)throw new w.ac(this.user,"Tree input not set");this.root.refreshPromise&&(await this.root.refreshPromise,await r.ju.toPromise(this._onDidRender.event));let i=this.getDataNode(e);if(this.tree.hasElement(i)&&!this.tree.isCollapsible(i)||(i.refreshPromise&&(await this.root.refreshPromise,await r.ju.toPromise(this._onDidRender.event)),i!==this.root&&!i.refreshPromise&&!this.tree.isCollapsed(i)))return!1;let n=this.tree.expand(i===this.root?null:i,t);return i.refreshPromise&&(await this.root.refreshPromise,await r.ju.toPromise(this._onDidRender.event)),n}setSelection(e,t){let i=e.map(e=>this.getDataNode(e));this.tree.setSelection(i,t)}getSelection(){let e=this.tree.getSelection();return e.map(e=>e.element)}setFocus(e,t){let i=e.map(e=>this.getDataNode(e));this.tree.setFocus(i,t)}getFocus(){let e=this.tree.getFocus();return e.map(e=>e.element)}reveal(e,t){this.tree.reveal(this.getDataNode(e),t)}getParentElement(e){let t=this.tree.getParentElement(this.getDataNode(e));return t&&t.element}getFirstElementChild(e=this.root.element){let t=this.getDataNode(e),i=this.tree.getFirstElementChild(t===this.root?null:t);return i&&i.element}getDataNode(e){let t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new w.ac(this.user,`Data tree node not found: ${e}`);return t}async refreshAndRenderNode(e,t,i,n){await this.refreshNode(e,t,i),this.disposables.isDisposed||this.render(e,i,n)}async refreshNode(e,t,i){let n;if(this.subTreeRefreshPromises.forEach((s,o)=>{!n&&(o===e||K(o,e)||K(e,o))&&(n=s.then(()=>this.refreshNode(e,t,i)))}),n)return n;if(e!==this.root){let n=this.tree.getNode(e);if(n.collapsed){e.hasChildren=!!this.dataSource.hasChildren(e.element),e.stale=!0,this.setChildren(e,[],t,i);return}}return this.doRefreshSubTree(e,t,i)}async doRefreshSubTree(e,t,i){let n;e.refreshPromise=new Promise(e=>n=e),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally(()=>{e.refreshPromise=void 0,this.subTreeRefreshPromises.delete(e)});try{let n=await this.doRefreshNode(e,t,i);e.stale=!1,await F.jT.settled(n.map(e=>this.doRefreshSubTree(e,t,i)))}finally{n()}}async doRefreshNode(e,t,i){let n;if(e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren){let t=this.doGetChildren(e);if((0,V.TW)(t))n=Promise.resolve(t);else{let i=(0,F.Vs)(800);i.then(()=>{e.slow=!0,this._onDidChangeNodeSlowState.fire(e)},e=>null),n=t.finally(()=>i.cancel())}}else n=Promise.resolve(y.$.empty());try{let s=await n;return this.setChildren(e,s,t,i)}catch(t){if(e!==this.root&&this.tree.hasElement(e)&&this.tree.collapse(e),(0,H.n2)(t))return[];throw t}finally{e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e))}}doGetChildren(e){let t=this.refreshPromises.get(e);if(t)return t;let i=this.dataSource.getChildren(e.element);return(0,V.TW)(i)?this.processChildren(i):(t=(0,F.PG)(async()=>this.processChildren(await i)),this.refreshPromises.set(e,t),t.finally(()=>{this.refreshPromises.delete(e)}))}_onDidChangeCollapseState({node:e,deep:t}){null!==e.element&&!e.collapsed&&e.element.stale&&(t?this.collapse(e.element.element):this.refreshAndRenderNode(e.element,!1).catch(H.dL))}setChildren(e,t,i,n){let s=[...t];if(0===e.children.length&&0===s.length)return[];let o=new Map,r=new Map;for(let t of e.children)o.set(t.element,t),this.identityProvider&&r.set(t.id,{node:t,collapsed:this.tree.hasElement(t)&&this.tree.isCollapsed(t)});let l=[],a=s.map(t=>{let s=!!this.dataSource.hasChildren(t);if(!this.identityProvider){let i=z({element:t,parent:e,hasChildren:s,defaultCollapseState:this.getDefaultCollapseState(t)});return s&&i.defaultCollapseState===w.kn.PreserveOrExpanded&&l.push(i),i}let a=this.identityProvider.getId(t).toString(),d=r.get(a);if(d){let e=d.node;return o.delete(e.element),this.nodes.delete(e.element),this.nodes.set(t,e),e.element=t,e.hasChildren=s,i?d.collapsed?(e.children.forEach(e=>J(e,e=>this.nodes.delete(e.element))),e.children.splice(0,e.children.length),e.stale=!0):l.push(e):s&&!d.collapsed&&l.push(e),e}let h=z({element:t,parent:e,id:a,hasChildren:s,defaultCollapseState:this.getDefaultCollapseState(t)});return n&&n.viewState.focus&&n.viewState.focus.indexOf(a)>-1&&n.focus.push(h),n&&n.viewState.selection&&n.viewState.selection.indexOf(a)>-1&&n.selection.push(h),n&&n.viewState.expanded&&n.viewState.expanded.indexOf(a)>-1?l.push(h):s&&h.defaultCollapseState===w.kn.PreserveOrExpanded&&l.push(h),h});for(let e of o.values())J(e,e=>this.nodes.delete(e.element));for(let e of a)this.nodes.set(e.element,e);return e.children.splice(0,e.children.length,...a),e!==this.root&&this.autoExpandSingleChildren&&1===a.length&&0===l.length&&(a[0].forceExpanded=!0,l.push(a[0])),l}render(e,t,i){let n=e.children.map(e=>this.asTreeElement(e,t)),s=i&&{...i,diffIdentityProvider:i.diffIdentityProvider&&{getId:e=>i.diffIdentityProvider.getId(e.element)}};this.tree.setChildren(e===this.root?null:e,n,s),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()}asTreeElement(e,t){let i;return e.stale?{element:e,collapsible:e.hasChildren,collapsed:!0}:(t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1?i=!1:e.forceExpanded?(i=!1,e.forceExpanded=!1):i=e.defaultCollapseState,{element:e,children:e.hasChildren?y.$.map(e.children,e=>this.asTreeElement(e,t)):[],collapsible:e.hasChildren,collapsed:i})}processChildren(e){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),e}dispose(){this.disposables.dispose(),this.tree.dispose()}}class ee{get element(){return{elements:this.node.element.elements.map(e=>e.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(e=>new ee(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}constructor(e){this.node=e}}class et{constructor(e,t,i,n){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=i,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{templateData:t}}renderElement(e,t,i,n){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,n)}renderCompressedElements(e,t,i,n){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,i.templateData,n)}renderTwistie(e,t){return e.slow?(t.classList.add(...W.k.asClassNameArray(B.l.treeItemLoading)),!0):(t.classList.remove(...W.k.asClassNameArray(B.l.treeItemLoading)),!1)}disposeElement(e,t,i,n){var s,o;null===(o=(s=this.renderer).disposeElement)||void 0===o||o.call(s,this.nodeMapper.map(e),t,i.templateData,n)}disposeCompressedElements(e,t,i,n){var s,o;null===(o=(s=this.renderer).disposeCompressedElements)||void 0===o||o.call(s,this.compressibleNodeMapperProvider().map(e),t,i.templateData,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=(0,l.B9)(this.disposables)}}class ei extends X{constructor(e,t,i,n,s,o,r={}){super(e,t,i,s,o,r),this.compressionDelegate=n,this.compressibleNodeMapper=new w.VA(e=>new ee(e)),this.filter=r.filter}createTree(e,t,i,n,s){let o=new v.cz(i),r=n.map(e=>new et(e,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),l=function(e){let t=e&&Y(e);return t&&{...t,keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&{...t.keyboardNavigationLabelProvider,getCompressedNodeKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map(e=>e.element))}}}(s)||{};return new O(e,t,o,r,l)}asTreeElement(e,t){return{incompressible:this.compressionDelegate.isIncompressible(e.element),...super.asTreeElement(e,t)}}updateOptions(e={}){this.tree.updateOptions(e)}render(e,t,i){if(!this.identityProvider)return super.render(e,t);let n=e=>this.identityProvider.getId(e).toString(),s=e=>{let t=new Set;for(let i of e){let e=this.tree.getCompressedTreeNode(i===this.root?null:i);if(e.element)for(let i of e.element.elements)t.add(n(i.element))}return t},o=s(this.tree.getSelection()),r=s(this.tree.getFocus());super.render(e,t,i);let l=this.getSelection(),a=!1,d=this.getFocus(),h=!1,u=e=>{let t=e.element;if(t)for(let e=0;e{let t=this.filter.filter(e,1),i="boolean"==typeof t?t?1:0:(0,C.gB)(t)?(0,C.aG)(t.visibility):(0,C.aG)(t);if(2===i)throw Error("Recursive tree visibility not supported in async data compressed trees");return 1===i})),super.processChildren(e)}}class en extends v.CH{constructor(e,t,i,n,s,o={}){super(e,t,i,n,o),this.user=e,this.dataSource=s,this.identityProvider=o.identityProvider}createModel(e,t,i){return new S(e,t,i)}}var es=i(82801),eo=i(78426),er=i(73004),el=i(33336),ea=i(28656),ed=i(10727),eh=i(85327),eu=i(46417),ec=i(34089),eg=i(72485),ep=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},em=function(e,t){return function(i,n){t(i,n,e)}};let ef=(0,eh.yh)("listService");class e_{get lastFocusedList(){return this._lastFocusedWidget}constructor(){this.disposables=new l.SL,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}setLastFocusedList(e){var t,i;e!==this._lastFocusedWidget&&(null===(t=this._lastFocusedWidget)||void 0===t||t.getHTMLElement().classList.remove("last-focused"),this._lastFocusedWidget=e,null===(i=this._lastFocusedWidget)||void 0===i||i.getHTMLElement().classList.add("last-focused"))}register(e,t){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;let e=new a.wD((0,n.dS)(),"");e.style(eg.O2)}if(this.lists.some(t=>t.widget===e))throw Error("Cannot register the same widget multiple times");let i={widget:e,extraContextKeys:t};return this.lists.push(i),(0,n.H9)(e.getHTMLElement())&&this.setLastFocusedList(e),(0,l.F8)(e.onDidFocus(()=>this.setLastFocusedList(e)),(0,l.OF)(()=>this.lists.splice(this.lists.indexOf(i),1)),e.onDidDispose(()=>{this.lists=this.lists.filter(e=>e!==i),this._lastFocusedWidget===e&&this.setLastFocusedList(void 0)}))}dispose(){this.disposables.dispose()}}let ev=new el.uy("listScrollAtBoundary","none");el.Ao.or(ev.isEqualTo("top"),ev.isEqualTo("both")),el.Ao.or(ev.isEqualTo("bottom"),ev.isEqualTo("both"));let eb=new el.uy("listFocus",!0),eC=new el.uy("treestickyScrollFocused",!1),ew=new el.uy("listSupportsMultiselect",!0),ey=el.Ao.and(eb,el.Ao.not(ea.d0),eC.negate()),eS=new el.uy("listHasSelectionOrFocus",!1),eL=new el.uy("listDoubleSelection",!1),ek=new el.uy("listMultiSelection",!1),eD=new el.uy("listSelectionNavigation",!1),ex=new el.uy("listSupportsFind",!0),eN=new el.uy("treeElementCanCollapse",!1),eE=new el.uy("treeElementHasParent",!1),eI=new el.uy("treeElementCanExpand",!1),eT=new el.uy("treeElementHasChild",!1),eM=new el.uy("treeFindOpen",!1),eR="listTypeNavigationMode",eA="listAutomaticKeyboardNavigation";function eP(e,t){let i=e.createScoped(t.getHTMLElement());return eb.bindTo(i),i}function eO(e,t){let i=ev.bindTo(e),n=()=>{let e=0===t.scrollTop,n=t.scrollHeight-t.renderHeight-t.scrollTop<1;e&&n?i.set("both"):e?i.set("top"):n?i.set("bottom"):i.set("none")};return n(),t.onDidScroll(n)}let eF="workbench.list.multiSelectModifier",eB="workbench.list.openMode",eW="workbench.list.horizontalScrolling",eH="workbench.list.defaultFindMode",eV="workbench.list.typeNavigationMode",ez="workbench.list.keyboardNavigation",eK="workbench.list.scrollByPage",eU="workbench.list.defaultFindMatchType",e$="workbench.tree.indent",eq="workbench.tree.renderIndentGuides",ej="workbench.list.smoothScrolling",eG="workbench.list.mouseWheelScrollSensitivity",eQ="workbench.list.fastScrollSensitivity",eZ="workbench.tree.expandMode",eY="workbench.tree.enableStickyScroll",eJ="workbench.tree.stickyScrollMaxItemCount";function eX(e){return"alt"===e.getValue(eF)}class e0 extends l.JT{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=eX(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(eF)&&(this.useAltAsMultipleSelectionModifier=eX(this.configurationService))}))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:(0,a.Zo)(e)}isSelectionRangeChangeEvent(e){return(0,a.wn)(e)}}function e1(e,t){var i;let n;let s=e.get(eo.Ui),o=e.get(eu.d),r=new l.SL,a={...t,keyboardNavigationDelegate:{mightProducePrintableCharacter:e=>o.mightProducePrintableCharacter(e)},smoothScrolling:!!s.getValue(ej),mouseWheelScrollSensitivity:s.getValue(eG),fastScrollSensitivity:s.getValue(eQ),multipleSelectionController:null!==(i=t.multipleSelectionController)&&void 0!==i?i:r.add(new e0(s)),keyboardNavigationEventFilter:(n=!1,e=>{if(e.toKeyCodeChord().isModifierKey())return!1;if(n)return n=!1,!1;let t=o.softDispatch(e,e.target);return 1===t.kind?(n=!0,!1):(n=!1,0===t.kind)}),scrollByPage:!!s.getValue(eK)};return[a,r]}let e2=class extends a.aV{constructor(e,t,i,n,s,o,r,l,a){let d=void 0!==s.horizontalScrolling?s.horizontalScrolling:!!l.getValue(eW),[h,u]=a.invokeFunction(e1,s);super(e,t,i,n,{keyboardSupport:!1,...h,horizontalScrolling:d}),this.disposables.add(u),this.contextKeyService=eP(o,this),this.disposables.add(eO(this.contextKeyService,this)),this.listSupportsMultiSelect=ew.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==s.multipleSelectionSupport);let c=eD.bindTo(this.contextKeyService);c.set(!!s.selectionNavigation),this.listHasSelectionOrFocus=eS.bindTo(this.contextKeyService),this.listDoubleSelection=eL.bindTo(this.contextKeyService),this.listMultiSelection=ek.bindTo(this.contextKeyService),this.horizontalScrolling=s.horizontalScrolling,this._useAltAsMultipleSelectionModifier=eX(l),this.disposables.add(this.contextKeyService),this.disposables.add(r.register(this)),this.updateStyles(s.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{let e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)})})),this.disposables.add(this.onDidChangeFocus(()=>{let e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)})),this.disposables.add(l.onDidChangeConfiguration(e=>{e.affectsConfiguration(eF)&&(this._useAltAsMultipleSelectionModifier=eX(l));let t={};if(e.affectsConfiguration(eW)&&void 0===this.horizontalScrolling){let e=!!l.getValue(eW);t={...t,horizontalScrolling:e}}if(e.affectsConfiguration(eK)){let e=!!l.getValue(eK);t={...t,scrollByPage:e}}if(e.affectsConfiguration(ej)){let e=!!l.getValue(ej);t={...t,smoothScrolling:e}}if(e.affectsConfiguration(eG)){let e=l.getValue(eG);t={...t,mouseWheelScrollSensitivity:e}}if(e.affectsConfiguration(eQ)){let e=l.getValue(eQ);t={...t,fastScrollSensitivity:e}}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new e7(this,{configurationService:l,...s}),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),void 0!==e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?(0,eg.TU)(e):eg.O2)}};e2=ep([em(5,el.i6),em(6,ef),em(7,eo.Ui),em(8,eh.TG)],e2);let e4=class extends u{constructor(e,t,i,n,s,o,r,a,d){let h=void 0!==s.horizontalScrolling?s.horizontalScrolling:!!a.getValue(eW),[u,c]=d.invokeFunction(e1,s);super(e,t,i,n,{keyboardSupport:!1,...u,horizontalScrolling:h}),this.disposables=new l.SL,this.disposables.add(c),this.contextKeyService=eP(o,this),this.disposables.add(eO(this.contextKeyService,this.widget)),this.horizontalScrolling=s.horizontalScrolling,this.listSupportsMultiSelect=ew.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==s.multipleSelectionSupport);let g=eD.bindTo(this.contextKeyService);g.set(!!s.selectionNavigation),this._useAltAsMultipleSelectionModifier=eX(a),this.disposables.add(this.contextKeyService),this.disposables.add(r.register(this)),this.updateStyles(s.overrideStyles),this.disposables.add(a.onDidChangeConfiguration(e=>{e.affectsConfiguration(eF)&&(this._useAltAsMultipleSelectionModifier=eX(a));let t={};if(e.affectsConfiguration(eW)&&void 0===this.horizontalScrolling){let e=!!a.getValue(eW);t={...t,horizontalScrolling:e}}if(e.affectsConfiguration(eK)){let e=!!a.getValue(eK);t={...t,scrollByPage:e}}if(e.affectsConfiguration(ej)){let e=!!a.getValue(ej);t={...t,smoothScrolling:e}}if(e.affectsConfiguration(eG)){let e=a.getValue(eG);t={...t,mouseWheelScrollSensitivity:e}}if(e.affectsConfiguration(eQ)){let e=a.getValue(eQ);t={...t,fastScrollSensitivity:e}}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new e7(this,{configurationService:a,...s}),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),void 0!==e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?(0,eg.TU)(e):eg.O2)}dispose(){this.disposables.dispose(),super.dispose()}};e4=ep([em(5,el.i6),em(6,ef),em(7,eo.Ui),em(8,eh.TG)],e4);let e5=class extends _{constructor(e,t,i,n,s,o,r,l,a,d){let h=void 0!==o.horizontalScrolling?o.horizontalScrolling:!!a.getValue(eW),[u,c]=d.invokeFunction(e1,o);super(e,t,i,n,s,{keyboardSupport:!1,...u,horizontalScrolling:h}),this.disposables.add(c),this.contextKeyService=eP(r,this),this.disposables.add(eO(this.contextKeyService,this)),this.listSupportsMultiSelect=ew.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==o.multipleSelectionSupport);let g=eD.bindTo(this.contextKeyService);g.set(!!o.selectionNavigation),this.listHasSelectionOrFocus=eS.bindTo(this.contextKeyService),this.listDoubleSelection=eL.bindTo(this.contextKeyService),this.listMultiSelection=ek.bindTo(this.contextKeyService),this.horizontalScrolling=o.horizontalScrolling,this._useAltAsMultipleSelectionModifier=eX(a),this.disposables.add(this.contextKeyService),this.disposables.add(l.register(this)),this.updateStyles(o.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{let e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)})})),this.disposables.add(this.onDidChangeFocus(()=>{let e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)})),this.disposables.add(a.onDidChangeConfiguration(e=>{e.affectsConfiguration(eF)&&(this._useAltAsMultipleSelectionModifier=eX(a));let t={};if(e.affectsConfiguration(eW)&&void 0===this.horizontalScrolling){let e=!!a.getValue(eW);t={...t,horizontalScrolling:e}}if(e.affectsConfiguration(eK)){let e=!!a.getValue(eK);t={...t,scrollByPage:e}}if(e.affectsConfiguration(ej)){let e=!!a.getValue(ej);t={...t,smoothScrolling:e}}if(e.affectsConfiguration(eG)){let e=a.getValue(eG);t={...t,mouseWheelScrollSensitivity:e}}if(e.affectsConfiguration(eQ)){let e=a.getValue(eQ);t={...t,fastScrollSensitivity:e}}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new e8(this,{configurationService:a,...o}),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),void 0!==e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?(0,eg.TU)(e):eg.O2)}dispose(){this.disposables.dispose(),super.dispose()}};e5=ep([em(6,el.i6),em(7,ef),em(8,eo.Ui),em(9,eh.TG)],e5);class e3 extends l.JT{constructor(e,t){var i;super(),this.widget=e,this._onDidOpen=this._register(new r.Q5),this.onDidOpen=this._onDidOpen.event,this._register(r.ju.filter(this.widget.onDidChangeSelection,e=>(0,n.vd)(e.browserEvent))(e=>this.onSelectionFromKeyboard(e))),this._register(this.widget.onPointer(e=>this.onPointer(e.element,e.browserEvent))),this._register(this.widget.onMouseDblClick(e=>this.onMouseDblClick(e.element,e.browserEvent))),"boolean"!=typeof(null==t?void 0:t.openOnSingleClick)&&(null==t?void 0:t.configurationService)?(this.openOnSingleClick=(null==t?void 0:t.configurationService.getValue(eB))!=="doubleClick",this._register(null==t?void 0:t.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(eB)&&(this.openOnSingleClick=(null==t?void 0:t.configurationService.getValue(eB))!=="doubleClick")}))):this.openOnSingleClick=null===(i=null==t?void 0:t.openOnSingleClick)||void 0===i||i}onSelectionFromKeyboard(e){if(1!==e.elements.length)return;let t=e.browserEvent,i="boolean"!=typeof t.preserveFocus||t.preserveFocus,n="boolean"==typeof t.pinned?t.pinned:!i;this._open(this.getSelectedElement(),i,n,!1,e.browserEvent)}onPointer(e,t){if(!this.openOnSingleClick)return;let i=2===t.detail;if(i)return;let n=1===t.button,s=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!0,n,s,t)}onMouseDblClick(e,t){if(!t)return;let i=t.target,n=i.classList.contains("monaco-tl-twistie")||i.classList.contains("monaco-icon-label")&&i.classList.contains("folder-icon")&&t.offsetX<16;if(n)return;let s=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!1,!0,s,t)}_open(e,t,i,n,s){e&&this._onDidOpen.fire({editorOptions:{preserveFocus:t,pinned:i,revealIfVisible:!0},sideBySide:n,element:e,browserEvent:s})}}class e7 extends e3{constructor(e,t){super(e,t),this.widget=e}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class e8 extends e3{constructor(e,t){super(e,t)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class e6 extends e3{constructor(e,t){super(e,t)}getSelectedElement(){var e;return null!==(e=this.widget.getSelection()[0])&&void 0!==e?e:void 0}}let e9=class extends R{constructor(e,t,i,n,s,o,r,l,a){let{options:d,getTypeNavigationMode:h,disposable:u}=o.invokeFunction(tr,s);super(e,t,i,n,d),this.disposables.add(u),this.internals=new tl(this,s,h,s.overrideStyles,r,l,a),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};e9=ep([em(5,eh.TG),em(6,el.i6),em(7,ef),em(8,eo.Ui)],e9);let te=class extends O{constructor(e,t,i,n,s,o,r,l,a){let{options:d,getTypeNavigationMode:h,disposable:u}=o.invokeFunction(tr,s);super(e,t,i,n,d),this.disposables.add(u),this.internals=new tl(this,s,h,s.overrideStyles,r,l,a),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};te=ep([em(5,eh.TG),em(6,el.i6),em(7,ef),em(8,eo.Ui)],te);let tt=class extends en{constructor(e,t,i,n,s,o,r,l,a,d){let{options:h,getTypeNavigationMode:u,disposable:c}=r.invokeFunction(tr,o);super(e,t,i,n,s,h),this.disposables.add(c),this.internals=new tl(this,o,u,o.overrideStyles,l,a,d),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),void 0!==e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};tt=ep([em(6,eh.TG),em(7,el.i6),em(8,ef),em(9,eo.Ui)],tt);let ti=class extends X{get onDidOpen(){return this.internals.onDidOpen}constructor(e,t,i,n,s,o,r,l,a,d){let{options:h,getTypeNavigationMode:u,disposable:c}=r.invokeFunction(tr,o);super(e,t,i,n,s,h),this.disposables.add(c),this.internals=new tl(this,o,u,o.overrideStyles,l,a,d),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};ti=ep([em(6,eh.TG),em(7,el.i6),em(8,ef),em(9,eo.Ui)],ti);let tn=class extends ei{constructor(e,t,i,n,s,o,r,l,a,d,h){let{options:u,getTypeNavigationMode:c,disposable:g}=l.invokeFunction(tr,r);super(e,t,i,n,s,o,u),this.disposables.add(g),this.internals=new tl(this,r,c,r.overrideStyles,a,d,h),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};function ts(e){let t=e.getValue(eH);if("highlight"===t)return v.sZ.Highlight;if("filter"===t)return v.sZ.Filter;let i=e.getValue(ez);return"simple"===i||"highlight"===i?v.sZ.Highlight:"filter"===i?v.sZ.Filter:void 0}function to(e){let t=e.getValue(eU);return"fuzzy"===t?v.Zd.Fuzzy:"contiguous"===t?v.Zd.Contiguous:void 0}function tr(e,t){var i;let n=e.get(eo.Ui),s=e.get(ed.u),o=e.get(el.i6),r=e.get(eh.TG),l=void 0!==t.horizontalScrolling?t.horizontalScrolling:!!n.getValue(eW),[d,h]=r.invokeFunction(e1,t),u=t.paddingBottom,c=void 0!==t.renderIndentGuides?t.renderIndentGuides:n.getValue(eq);return{getTypeNavigationMode:()=>{let e=o.getContextKeyValue(eR);if("automatic"===e)return a.AA.Automatic;if("trigger"===e)return a.AA.Trigger;let t=o.getContextKeyValue(eA);if(!1===t)return a.AA.Trigger;let i=n.getValue(eV);return"automatic"===i?a.AA.Automatic:"trigger"===i?a.AA.Trigger:void 0},disposable:h,options:{keyboardSupport:!1,...d,indent:"number"==typeof n.getValue(e$)?n.getValue(e$):void 0,renderIndentGuides:c,smoothScrolling:!!n.getValue(ej),defaultFindMode:ts(n),defaultFindMatchType:to(n),horizontalScrolling:l,scrollByPage:!!n.getValue(eK),paddingBottom:u,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:null!==(i=t.expandOnlyOnTwistieClick)&&void 0!==i?i:"doubleClick"===n.getValue(eZ),contextViewProvider:s,findWidgetStyles:eg.uX,enableStickyScroll:!!n.getValue(eY),stickyScrollMaxItemCount:Number(n.getValue(eJ))}}}tn=ep([em(7,eh.TG),em(8,el.i6),em(9,ef),em(10,eo.Ui)],tn);let tl=class{get onDidOpen(){return this.navigator.onDidOpen}constructor(e,t,i,n,s,o,r){var l;this.tree=e,this.disposables=[],this.contextKeyService=eP(s,e),this.disposables.push(eO(this.contextKeyService,e)),this.listSupportsMultiSelect=ew.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==t.multipleSelectionSupport);let a=eD.bindTo(this.contextKeyService);a.set(!!t.selectionNavigation),this.listSupportFindWidget=ex.bindTo(this.contextKeyService),this.listSupportFindWidget.set(null===(l=t.findWidgetEnabled)||void 0===l||l),this.hasSelectionOrFocus=eS.bindTo(this.contextKeyService),this.hasDoubleSelection=eL.bindTo(this.contextKeyService),this.hasMultiSelection=ek.bindTo(this.contextKeyService),this.treeElementCanCollapse=eN.bindTo(this.contextKeyService),this.treeElementHasParent=eE.bindTo(this.contextKeyService),this.treeElementCanExpand=eI.bindTo(this.contextKeyService),this.treeElementHasChild=eT.bindTo(this.contextKeyService),this.treeFindOpen=eM.bindTo(this.contextKeyService),this.treeStickyScrollFocused=eC.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=eX(r),this.updateStyleOverrides(n);let d=()=>{let t=e.getFocus()[0];if(!t)return;let i=e.getNode(t);this.treeElementCanCollapse.set(i.collapsible&&!i.collapsed),this.treeElementHasParent.set(!!e.getParentElement(t)),this.treeElementCanExpand.set(i.collapsible&&i.collapsed),this.treeElementHasChild.set(!!e.getFirstElementChild(t))},h=new Set;h.add(eR),h.add(eA),this.disposables.push(this.contextKeyService,o.register(e),e.onDidChangeSelection(()=>{let t=e.getSelection(),i=e.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(t.length>0||i.length>0),this.hasMultiSelection.set(t.length>1),this.hasDoubleSelection.set(2===t.length)})}),e.onDidChangeFocus(()=>{let t=e.getSelection(),i=e.getFocus();this.hasSelectionOrFocus.set(t.length>0||i.length>0),d()}),e.onDidChangeCollapseState(d),e.onDidChangeModel(d),e.onDidChangeFindOpenState(e=>this.treeFindOpen.set(e)),e.onDidChangeStickyScrollFocused(e=>this.treeStickyScrollFocused.set(e)),r.onDidChangeConfiguration(n=>{let s={};if(n.affectsConfiguration(eF)&&(this._useAltAsMultipleSelectionModifier=eX(r)),n.affectsConfiguration(e$)){let e=r.getValue(e$);s={...s,indent:e}}if(n.affectsConfiguration(eq)&&void 0===t.renderIndentGuides){let e=r.getValue(eq);s={...s,renderIndentGuides:e}}if(n.affectsConfiguration(ej)){let e=!!r.getValue(ej);s={...s,smoothScrolling:e}}if(n.affectsConfiguration(eH)||n.affectsConfiguration(ez)){let e=ts(r);s={...s,defaultFindMode:e}}if(n.affectsConfiguration(eV)||n.affectsConfiguration(ez)){let e=i();s={...s,typeNavigationMode:e}}if(n.affectsConfiguration(eU)){let e=to(r);s={...s,defaultFindMatchType:e}}if(n.affectsConfiguration(eW)&&void 0===t.horizontalScrolling){let e=!!r.getValue(eW);s={...s,horizontalScrolling:e}}if(n.affectsConfiguration(eK)){let e=!!r.getValue(eK);s={...s,scrollByPage:e}}if(n.affectsConfiguration(eZ)&&void 0===t.expandOnlyOnTwistieClick&&(s={...s,expandOnlyOnTwistieClick:"doubleClick"===r.getValue(eZ)}),n.affectsConfiguration(eY)){let e=r.getValue(eY);s={...s,enableStickyScroll:e}}if(n.affectsConfiguration(eJ)){let e=Math.max(1,r.getValue(eJ));s={...s,stickyScrollMaxItemCount:e}}if(n.affectsConfiguration(eG)){let e=r.getValue(eG);s={...s,mouseWheelScrollSensitivity:e}}if(n.affectsConfiguration(eQ)){let e=r.getValue(eQ);s={...s,fastScrollSensitivity:e}}Object.keys(s).length>0&&e.updateOptions(s)}),this.contextKeyService.onDidChangeContext(t=>{t.affectsSome(h)&&e.updateOptions({typeNavigationMode:i()})})),this.navigator=new e6(e,{configurationService:r,...t}),this.disposables.push(this.navigator)}updateOptions(e){void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyleOverrides(e){this.tree.style(e?(0,eg.TU)(e):eg.O2)}dispose(){this.disposables=(0,l.B9)(this.disposables)}};tl=ep([em(4,el.i6),em(5,ef),em(6,eo.Ui)],tl);let ta=ec.B.as(er.IP.Configuration);ta.registerConfiguration({id:"workbench",order:7,title:(0,es.NC)("workbenchConfigurationTitle","Workbench"),type:"object",properties:{[eF]:{type:"string",enum:["ctrlCmd","alt"],markdownEnumDescriptions:[(0,es.NC)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),(0,es.NC)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:(0,es.NC)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},[eB]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,es.NC)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")},[eW]:{type:"boolean",default:!1,description:(0,es.NC)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},[eK]:{type:"boolean",default:!1,description:(0,es.NC)("list.scrollByPage","Controls whether clicks in the scrollbar scroll page by page.")},[e$]:{type:"number",default:8,minimum:4,maximum:40,description:(0,es.NC)("tree indent setting","Controls tree indentation in pixels.")},[eq]:{type:"string",enum:["none","onHover","always"],default:"onHover",description:(0,es.NC)("render tree indent guides","Controls whether the tree should render indent guides.")},[ej]:{type:"boolean",default:!1,description:(0,es.NC)("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},[eG]:{type:"number",default:1,markdownDescription:(0,es.NC)("Mouse Wheel Scroll Sensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")},[eQ]:{type:"number",default:5,markdownDescription:(0,es.NC)("Fast Scroll Sensitivity","Scrolling speed multiplier when pressing `Alt`.")},[eH]:{type:"string",enum:["highlight","filter"],enumDescriptions:[(0,es.NC)("defaultFindModeSettingKey.highlight","Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),(0,es.NC)("defaultFindModeSettingKey.filter","Filter elements when searching.")],default:"highlight",description:(0,es.NC)("defaultFindModeSettingKey","Controls the default find mode for lists and trees in the workbench.")},[ez]:{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[(0,es.NC)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),(0,es.NC)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),(0,es.NC)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:(0,es.NC)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),deprecated:!0,deprecationMessage:(0,es.NC)("keyboardNavigationSettingKeyDeprecated","Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.")},[eU]:{type:"string",enum:["fuzzy","contiguous"],enumDescriptions:[(0,es.NC)("defaultFindMatchTypeSettingKey.fuzzy","Use fuzzy matching when searching."),(0,es.NC)("defaultFindMatchTypeSettingKey.contiguous","Use contiguous matching when searching.")],default:"fuzzy",description:(0,es.NC)("defaultFindMatchTypeSettingKey","Controls the type of matching used when searching lists and trees in the workbench.")},[eZ]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,es.NC)("expand mode","Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.")},[eY]:{type:"boolean",default:!0,description:(0,es.NC)("sticky scroll","Controls whether sticky scrolling is enabled in trees.")},[eJ]:{type:"number",minimum:1,default:7,markdownDescription:(0,es.NC)("sticky scroll maximum items","Controls the number of sticky elements displayed in the tree when `#workbench.tree.enableStickyScroll#` is enabled.")},[eV]:{type:"string",enum:["automatic","trigger"],default:"automatic",markdownDescription:(0,es.NC)("typeNavigationMode2","Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run.")}}})},99078:function(e,t,i){"use strict";i.d(t,{VZ:function(){return d},in:function(){return s},kw:function(){return c},qA:function(){return g}});var n,s,o=i(79915),r=i(70784),l=i(33336),a=i(85327);let d=(0,a.yh)("logService");(n=s||(s={}))[n.Off=0]="Off",n[n.Trace=1]="Trace",n[n.Debug=2]="Debug",n[n.Info=3]="Info",n[n.Warning=4]="Warning",n[n.Error=5]="Error";let h=s.Info;class u extends r.JT{constructor(){super(...arguments),this.level=h,this._onDidChangeLogLevel=this._register(new o.Q5),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(e){return this.level!==s.Off&&this.level<=e}}class c extends u{constructor(e=h,t=!0){super(),this.useColors=t,this.setLevel(e)}trace(e,...t){this.checkLogLevel(s.Trace)&&(this.useColors?console.log("%cTRACE","color: #888",e,...t):console.log(e,...t))}debug(e,...t){this.checkLogLevel(s.Debug)&&(this.useColors?console.log("%cDEBUG","background: #eee; color: #888",e,...t):console.log(e,...t))}info(e,...t){this.checkLogLevel(s.Info)&&(this.useColors?console.log("%c INFO","color: #33f",e,...t):console.log(e,...t))}warn(e,...t){this.checkLogLevel(s.Warning)&&(this.useColors?console.log("%c WARN","color: #993",e,...t):console.log(e,...t))}error(e,...t){this.checkLogLevel(s.Error)&&(this.useColors?console.log("%c ERR","color: #f33",e,...t):console.error(e,...t))}}class g extends u{constructor(e){super(),this.loggers=e,e.length&&this.setLevel(e[0].getLevel())}setLevel(e){for(let t of this.loggers)t.setLevel(e);super.setLevel(e)}trace(e,...t){for(let i of this.loggers)i.trace(e,...t)}debug(e,...t){for(let i of this.loggers)i.debug(e,...t)}info(e,...t){for(let i of this.loggers)i.info(e,...t)}warn(e,...t){for(let i of this.loggers)i.warn(e,...t)}error(e,...t){for(let i of this.loggers)i.error(e,...t)}dispose(){for(let e of this.loggers)e.dispose();super.dispose()}}new l.uy("logLevel",function(e){switch(e){case s.Trace:return"trace";case s.Debug:return"debug";case s.Info:return"info";case s.Warning:return"warn";case s.Error:return"error";case s.Off:return"off"}}(s.Info))},16324:function(e,t,i){"use strict";i.d(t,{H0:function(){return o},ZL:function(){return s},lT:function(){return d}});var n,s,o,r=i(31510),l=i(82801),a=i(85327);(n=s||(s={}))[n.Hint=1]="Hint",n[n.Info=2]="Info",n[n.Warning=4]="Warning",n[n.Error=8]="Error",function(e){e.compare=function(e,t){return t-e};let t=Object.create(null);t[e.Error]=(0,l.NC)("sev.error","Error"),t[e.Warning]=(0,l.NC)("sev.warning","Warning"),t[e.Info]=(0,l.NC)("sev.info","Info"),e.toString=function(e){return t[e]||""},e.fromSeverity=function(t){switch(t){case r.Z.Error:return e.Error;case r.Z.Warning:return e.Warning;case r.Z.Info:return e.Info;case r.Z.Ignore:return e.Hint}},e.toSeverity=function(t){switch(t){case e.Error:return r.Z.Error;case e.Warning:return r.Z.Warning;case e.Info:return r.Z.Info;case e.Hint:return r.Z.Ignore}}}(s||(s={})),function(e){function t(e,t){let i=[""];return e.source?i.push(e.source.replace("\xa6","\\\xa6")):i.push(""),e.code?"string"==typeof e.code?i.push(e.code.replace("\xa6","\\\xa6")):i.push(e.code.value.replace("\xa6","\\\xa6")):i.push(""),void 0!==e.severity&&null!==e.severity?i.push(s.toString(e.severity)):i.push(""),e.message&&t?i.push(e.message.replace("\xa6","\\\xa6")):i.push(""),void 0!==e.startLineNumber&&null!==e.startLineNumber?i.push(e.startLineNumber.toString()):i.push(""),void 0!==e.startColumn&&null!==e.startColumn?i.push(e.startColumn.toString()):i.push(""),void 0!==e.endLineNumber&&null!==e.endLineNumber?i.push(e.endLineNumber.toString()):i.push(""),void 0!==e.endColumn&&null!==e.endColumn?i.push(e.endColumn.toString()):i.push(""),i.push(""),i.join("\xa6")}e.makeKey=function(e){return t(e,!0)},e.makeKeyOptionalMessage=t}(o||(o={}));let d=(0,a.yh)("markerService")},16575:function(e,t,i){"use strict";i.d(t,{EO:function(){return l},lT:function(){return r},zb:function(){return o}});var n=i(31510),s=i(85327),o=n.Z;let r=(0,s.yh)("notificationService");class l{}},45902:function(e,t,i){"use strict";i.d(t,{v:function(){return s},x:function(){return o}});var n=i(85327);let s=(0,n.yh)("openerService");function o(e){let t;let i=/^L?(\d+)(?:,(\d+))?(-L?(\d+)(?:,(\d+))?)?/.exec(e.fragment);return i&&(t={startLineNumber:parseInt(i[1]),startColumn:i[2]?parseInt(i[2]):1,endLineNumber:i[4]?parseInt(i[4]):void 0,endColumn:i[4]?i[5]?parseInt(i[5]):1:void 0},e=e.with({fragment:""})),{selection:t,uri:e}}},14588:function(e,t,i){"use strict";i.d(t,{Ex:function(){return o},R9:function(){return s},ek:function(){return r}});var n=i(85327);let s=(0,n.yh)("progressService");Object.freeze({total(){},worked(){},done(){}});class o{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}o.None=Object.freeze({report(){}});let r=(0,n.yh)("editorProgressService")},40205:function(e,t,i){"use strict";i.d(t,{IP:function(){return a},Ry:function(){return s}});var n,s,o=i(40789),r=i(70784),l=i(34089);(n=s||(s={}))[n.PRESERVE=0]="PRESERVE",n[n.LAST=1]="LAST";let a={Quickaccess:"workbench.contributions.quickaccess"};l.B.add(a.Quickaccess,new class{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(e){return 0===e.prefix.length?this.defaultProvider=e:this.providers.push(e),this.providers.sort((e,t)=>t.prefix.length-e.prefix.length),(0,r.OF)(()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return(0,o.kX)([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){let t=e&&this.providers.find(t=>e.startsWith(t.prefix))||void 0;return t||this.defaultProvider}})},33353:function(e,t,i){"use strict";i.d(t,{Jq:function(){return r},X5:function(){return h},eJ:function(){return u},jG:function(){return l},vn:function(){return a}});var n,s,o,r,l,a,d=i(85327);let h={ctrlCmd:!1,alt:!1};(n=r||(r={}))[n.Blur=1]="Blur",n[n.Gesture=2]="Gesture",n[n.Other=3]="Other",(s=l||(l={}))[s.NONE=0]="NONE",s[s.FIRST=1]="FIRST",s[s.SECOND=2]="SECOND",s[s.LAST=3]="LAST",(o=a||(a={}))[o.First=1]="First",o[o.Second=2]="Second",o[o.Last=3]="Last",o[o.Next=4]="Next",o[o.Previous=5]="Previous",o[o.NextPage=6]="NextPage",o[o.PreviousPage=7]="PreviousPage",o[o.NextSeparator=8]="NextSeparator",o[o.PreviousSeparator=9]="PreviousSeparator",new class{constructor(e){this.options=e}};let u=(0,d.yh)("quickInputService")},34089:function(e,t,i){"use strict";i.d(t,{B:function(){return o}});var n=i(61413),s=i(24162);let o=new class{constructor(){this.data=new Map}add(e,t){n.ok(s.HD(e)),n.ok(s.Kn(t)),n.ok(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}},63179:function(e,t,i){"use strict";i.d(t,{Uy:function(){return v},vm:function(){return C},fk:function(){return a}});var n,s,o,r,l,a,d=i(79915),h=i(70784),u=i(24162),c=i(44532),g=i(85729);(n=r||(r={}))[n.STORAGE_DOES_NOT_EXIST=0]="STORAGE_DOES_NOT_EXIST",n[n.STORAGE_IN_MEMORY=1]="STORAGE_IN_MEMORY",(s=l||(l={}))[s.None=0]="None",s[s.Initialized=1]="Initialized",s[s.Closed=2]="Closed";class p extends h.JT{constructor(e,t=Object.create(null)){super(),this.database=e,this.options=t,this._onDidChangeStorage=this._register(new d.K3),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=l.None,this.cache=new Map,this.flushDelayer=this._register(new c.rH(p.DEFAULT_FLUSH_DELAY)),this.pendingDeletes=new Set,this.pendingInserts=new Map,this.whenFlushedCallbacks=[],this.registerListeners()}registerListeners(){this._register(this.database.onDidChangeItemsExternal(e=>this.onDidChangeItemsExternal(e)))}onDidChangeItemsExternal(e){var t,i;this._onDidChangeStorage.pause();try{null===(t=e.changed)||void 0===t||t.forEach((e,t)=>this.acceptExternal(t,e)),null===(i=e.deleted)||void 0===i||i.forEach(e=>this.acceptExternal(e,void 0))}finally{this._onDidChangeStorage.resume()}}acceptExternal(e,t){if(this.state===l.Closed)return;let i=!1;if((0,u.Jp)(t))i=this.cache.delete(e);else{let n=this.cache.get(e);n!==t&&(this.cache.set(e,t),i=!0)}i&&this._onDidChangeStorage.fire({key:e,external:!0})}get(e,t){let i=this.cache.get(e);return(0,u.Jp)(i)?t:i}getBoolean(e,t){let i=this.get(e);return(0,u.Jp)(i)?t:"true"===i}getNumber(e,t){let i=this.get(e);return(0,u.Jp)(i)?t:parseInt(i,10)}async set(e,t,i=!1){if(this.state===l.Closed)return;if((0,u.Jp)(t))return this.delete(e,i);let n=(0,u.Kn)(t)||Array.isArray(t)?(0,g.Pz)(t):String(t),s=this.cache.get(e);if(s!==n)return this.cache.set(e,n),this.pendingInserts.set(e,n),this.pendingDeletes.delete(e),this._onDidChangeStorage.fire({key:e,external:i}),this.doFlush()}async delete(e,t=!1){if(this.state===l.Closed)return;let i=this.cache.delete(e);if(i)return this.pendingDeletes.has(e)||this.pendingDeletes.add(e),this.pendingInserts.delete(e),this._onDidChangeStorage.fire({key:e,external:t}),this.doFlush()}get hasPending(){return this.pendingInserts.size>0||this.pendingDeletes.size>0}async flushPending(){if(!this.hasPending)return;let e={insert:this.pendingInserts,delete:this.pendingDeletes};return this.pendingDeletes=new Set,this.pendingInserts=new Map,this.database.updateItems(e).finally(()=>{var e;if(!this.hasPending)for(;this.whenFlushedCallbacks.length;)null===(e=this.whenFlushedCallbacks.pop())||void 0===e||e()})}async doFlush(e){return this.options.hint===r.STORAGE_IN_MEMORY?this.flushPending():this.flushDelayer.trigger(()=>this.flushPending(),e)}}p.DEFAULT_FLUSH_DELAY=100;class m{constructor(){this.onDidChangeItemsExternal=d.ju.None,this.items=new Map}async updateItems(e){var t,i;null===(t=e.insert)||void 0===t||t.forEach((e,t)=>this.items.set(t,e)),null===(i=e.delete)||void 0===i||i.forEach(e=>this.items.delete(e))}}var f=i(85327);let _="__$__targetStorageMarker",v=(0,f.yh)("storageService");(o=a||(a={}))[o.NONE=0]="NONE",o[o.SHUTDOWN=1]="SHUTDOWN";class b extends h.JT{constructor(e={flushInterval:b.DEFAULT_FLUSH_INTERVAL}){super(),this.options=e,this._onDidChangeValue=this._register(new d.K3),this._onDidChangeTarget=this._register(new d.K3),this._onWillSaveState=this._register(new d.Q5),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._profileKeyTargets=void 0,this._applicationKeyTargets=void 0}onDidChangeValue(e,t,i){return d.ju.filter(this._onDidChangeValue.event,i=>i.scope===e&&(void 0===t||i.key===t),i)}emitDidChangeValue(e,t){let{key:i,external:n}=t;if(i===_){switch(e){case -1:this._applicationKeyTargets=void 0;break;case 0:this._profileKeyTargets=void 0;break;case 1:this._workspaceKeyTargets=void 0}this._onDidChangeTarget.fire({scope:e})}else this._onDidChangeValue.fire({scope:e,key:i,target:this.getKeyTargets(e)[i],external:n})}get(e,t,i){var n;return null===(n=this.getStorage(t))||void 0===n?void 0:n.get(e,i)}getBoolean(e,t,i){var n;return null===(n=this.getStorage(t))||void 0===n?void 0:n.getBoolean(e,i)}getNumber(e,t,i){var n;return null===(n=this.getStorage(t))||void 0===n?void 0:n.getNumber(e,i)}store(e,t,i,n,s=!1){if((0,u.Jp)(t)){this.remove(e,i,s);return}this.withPausedEmitters(()=>{var o;this.updateKeyTarget(e,i,n),null===(o=this.getStorage(i))||void 0===o||o.set(e,t,s)})}remove(e,t,i=!1){this.withPausedEmitters(()=>{var n;this.updateKeyTarget(e,t,void 0),null===(n=this.getStorage(t))||void 0===n||n.delete(e,i)})}withPausedEmitters(e){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{e()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(e,t,i,n=!1){var s,o;let r=this.getKeyTargets(t);"number"==typeof i?r[e]!==i&&(r[e]=i,null===(s=this.getStorage(t))||void 0===s||s.set(_,JSON.stringify(r),n)):"number"==typeof r[e]&&(delete r[e],null===(o=this.getStorage(t))||void 0===o||o.set(_,JSON.stringify(r),n))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get profileKeyTargets(){return this._profileKeyTargets||(this._profileKeyTargets=this.loadKeyTargets(0)),this._profileKeyTargets}get applicationKeyTargets(){return this._applicationKeyTargets||(this._applicationKeyTargets=this.loadKeyTargets(-1)),this._applicationKeyTargets}getKeyTargets(e){switch(e){case -1:return this.applicationKeyTargets;case 0:return this.profileKeyTargets;default:return this.workspaceKeyTargets}}loadKeyTargets(e){let t=this.getStorage(e);return t?function(e){let t=e.get(_);if(t)try{return JSON.parse(t)}catch(e){}return Object.create(null)}(t):Object.create(null)}}b.DEFAULT_FLUSH_INTERVAL=6e4;class C extends b{constructor(){super(),this.applicationStorage=this._register(new p(new m,{hint:r.STORAGE_IN_MEMORY})),this.profileStorage=this._register(new p(new m,{hint:r.STORAGE_IN_MEMORY})),this.workspaceStorage=this._register(new p(new m,{hint:r.STORAGE_IN_MEMORY})),this._register(this.workspaceStorage.onDidChangeStorage(e=>this.emitDidChangeValue(1,e))),this._register(this.profileStorage.onDidChangeStorage(e=>this.emitDidChangeValue(0,e))),this._register(this.applicationStorage.onDidChangeStorage(e=>this.emitDidChangeValue(-1,e)))}getStorage(e){switch(e){case -1:return this.applicationStorage;case 0:return this.profileStorage;default:return this.workspaceStorage}}}},77207:function(e,t,i){"use strict";i.d(t,{b:function(){return s}});var n=i(85327);let s=(0,n.yh)("telemetryService")},72485:function(e,t,i){"use strict";i.d(t,{BM:function(){return p},Hc:function(){return d},O2:function(){return c},TU:function(){return g},ZR:function(){return m},b5:function(){return l},eO:function(){return o},ku:function(){return u},pl:function(){return a},uX:function(){return h},wG:function(){return r}});var n=i(43616),s=i(76515);let o={keybindingLabelBackground:(0,n.n_1)(n.oQ$),keybindingLabelForeground:(0,n.n_1)(n.lWp),keybindingLabelBorder:(0,n.n_1)(n.AWI),keybindingLabelBottomBorder:(0,n.n_1)(n.K19),keybindingLabelShadow:(0,n.n_1)(n.rh)},r={buttonForeground:(0,n.n_1)(n.j5u),buttonSeparator:(0,n.n_1)(n.iFQ),buttonBackground:(0,n.n_1)(n.b7$),buttonHoverBackground:(0,n.n_1)(n.GO4),buttonSecondaryForeground:(0,n.n_1)(n.qBU),buttonSecondaryBackground:(0,n.n_1)(n.ESD),buttonSecondaryHoverBackground:(0,n.n_1)(n.xEn),buttonBorder:(0,n.n_1)(n.GYc)},l={progressBarBackground:(0,n.n_1)(n.zRJ)},a={inputActiveOptionBorder:(0,n.n_1)(n.PRb),inputActiveOptionForeground:(0,n.n_1)(n.Pvw),inputActiveOptionBackground:(0,n.n_1)(n.XEs)};(0,n.n_1)(n.SUp),(0,n.n_1)(n.nd),(0,n.n_1)(n.BQ0),(0,n.n_1)(n.D0T),(0,n.n_1)(n.Hfx),(0,n.n_1)(n.rh),(0,n.n_1)(n.lRK),(0,n.n_1)(n.JpG),(0,n.n_1)(n.BOY),(0,n.n_1)(n.OLZ),(0,n.n_1)(n.url);let d={inputBackground:(0,n.n_1)(n.sEe),inputForeground:(0,n.n_1)(n.zJb),inputBorder:(0,n.n_1)(n.dt_),inputValidationInfoBorder:(0,n.n_1)(n.EPQ),inputValidationInfoBackground:(0,n.n_1)(n._lC),inputValidationInfoForeground:(0,n.n_1)(n.YI3),inputValidationWarningBorder:(0,n.n_1)(n.C3g),inputValidationWarningBackground:(0,n.n_1)(n.RV_),inputValidationWarningForeground:(0,n.n_1)(n.SUG),inputValidationErrorBorder:(0,n.n_1)(n.OZR),inputValidationErrorBackground:(0,n.n_1)(n.paE),inputValidationErrorForeground:(0,n.n_1)(n._t9)},h={listFilterWidgetBackground:(0,n.n_1)(n.vGG),listFilterWidgetOutline:(0,n.n_1)(n.oSI),listFilterWidgetNoMatchesOutline:(0,n.n_1)(n.Saq),listFilterWidgetShadow:(0,n.n_1)(n.y65),inputBoxStyles:d,toggleStyles:a},u={badgeBackground:(0,n.n_1)(n.g8u),badgeForeground:(0,n.n_1)(n.qeD),badgeBorder:(0,n.n_1)(n.lRK)};(0,n.n_1)(n.ixd),(0,n.n_1)(n.l80),(0,n.n_1)(n.H6q),(0,n.n_1)(n.H6q),(0,n.n_1)(n.fSI);let c={listBackground:void 0,listInactiveFocusForeground:void 0,listFocusBackground:(0,n.n_1)(n._bK),listFocusForeground:(0,n.n_1)(n._2n),listFocusOutline:(0,n.n_1)(n.Oop),listActiveSelectionBackground:(0,n.n_1)(n.dCr),listActiveSelectionForeground:(0,n.n_1)(n.M6C),listActiveSelectionIconForeground:(0,n.n_1)(n.Tnx),listFocusAndSelectionOutline:(0,n.n_1)(n.Bqu),listFocusAndSelectionBackground:(0,n.n_1)(n.dCr),listFocusAndSelectionForeground:(0,n.n_1)(n.M6C),listInactiveSelectionBackground:(0,n.n_1)(n.rg2),listInactiveSelectionIconForeground:(0,n.n_1)(n.kvU),listInactiveSelectionForeground:(0,n.n_1)(n.ytC),listInactiveFocusBackground:(0,n.n_1)(n.s$),listInactiveFocusOutline:(0,n.n_1)(n.F3d),listHoverBackground:(0,n.n_1)(n.mV1),listHoverForeground:(0,n.n_1)(n.$d5),listDropOverBackground:(0,n.n_1)(n.pdn),listDropBetweenBackground:(0,n.n_1)(n.XVp),listSelectionOutline:(0,n.n_1)(n.xL1),listHoverOutline:(0,n.n_1)(n.xL1),treeIndentGuidesStroke:(0,n.n_1)(n.UnT),treeInactiveIndentGuidesStroke:(0,n.n_1)(n.KjV),treeStickyScrollBackground:void 0,treeStickyScrollBorder:void 0,treeStickyScrollShadow:void 0,tableColumnsBorder:(0,n.n_1)(n.uxu),tableOddRowsBackgroundColor:(0,n.n_1)(n.EQn)};function g(e){return function(e,t){let i={...t};for(let t in e){let s=e[t];i[t]=void 0!==s?(0,n.n_1)(s):void 0}return i}(e,c)}let p={selectBackground:(0,n.n_1)(n.XV0),selectListBackground:(0,n.n_1)(n.Fgs),selectForeground:(0,n.n_1)(n._g0),decoratorRightForeground:(0,n.n_1)(n.kJk),selectBorder:(0,n.n_1)(n.a9O),focusBorder:(0,n.n_1)(n.R80),listFocusBackground:(0,n.n_1)(n.Vqd),listInactiveSelectionIconForeground:(0,n.n_1)(n.cbQ),listFocusForeground:(0,n.n_1)(n.NPS),listFocusOutline:(0,n.BtC)(n.xL1,s.Il.transparent.toString()),listHoverBackground:(0,n.n_1)(n.mV1),listHoverForeground:(0,n.n_1)(n.$d5),listHoverOutline:(0,n.n_1)(n.xL1),selectListBorder:(0,n.n_1)(n.D1_),listBackground:void 0,listActiveSelectionBackground:void 0,listActiveSelectionForeground:void 0,listActiveSelectionIconForeground:void 0,listFocusAndSelectionBackground:void 0,listDropOverBackground:void 0,listDropBetweenBackground:void 0,listInactiveSelectionBackground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusBackground:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listFocusAndSelectionForeground:void 0,listFocusAndSelectionOutline:void 0,listInactiveFocusForeground:void 0,tableColumnsBorder:void 0,tableOddRowsBackgroundColor:void 0,treeIndentGuidesStroke:void 0,treeInactiveIndentGuidesStroke:void 0,treeStickyScrollBackground:void 0,treeStickyScrollBorder:void 0,treeStickyScrollShadow:void 0},m={shadowColor:(0,n.n_1)(n.rh),borderColor:(0,n.n_1)(n.Cdg),foregroundColor:(0,n.n_1)(n.DEr),backgroundColor:(0,n.n_1)(n.Hz8),selectionForegroundColor:(0,n.n_1)(n.jbW),selectionBackgroundColor:(0,n.n_1)(n.$DX),selectionBorderColor:(0,n.n_1)(n.E3h),separatorColor:(0,n.n_1)(n.ZGJ),scrollbarShadow:(0,n.n_1)(n._wn),scrollbarSliderBackground:(0,n.n_1)(n.etL),scrollbarSliderHoverBackground:(0,n.n_1)(n.ABB),scrollbarSliderActiveBackground:(0,n.n_1)(n.ynu)}},43616:function(e,t,i){"use strict";i.d(t,{IPX:function(){return c},xL1:function(){return N},n_1:function(){return h},QO2:function(){return d},BtC:function(){return u},g8u:function(){return I},qeD:function(){return T},fSI:function(){return ex},ixd:function(){return ek},H6q:function(){return eD},l80:function(){return eL},b7$:function(){return to},GYc:function(){return tl},j5u:function(){return tn},GO4:function(){return tr},ESD:function(){return td},qBU:function(){return ta},xEn:function(){return th},iFQ:function(){return ts},SUp:function(){return tu},nd:function(){return tg},BQ0:function(){return tc},lRK:function(){return x},CzK:function(){return em},keg:function(){return ef},ypS:function(){return e_},P6Y:function(){return eb},F9q:function(){return eC},P4M:function(){return ev},_Yy:function(){return Z},cvW:function(){return F},b6y:function(){return K},lXJ:function(){return z},zKA:function(){return et},MUv:function(){return ei},EiJ:function(){return es},OIo:function(){return en},gkn:function(){return eo},NOs:function(){return B},Dut:function(){return Q},yJx:function(){return er},CNo:function(){return el},ES4:function(){return X},T83:function(){return G},c63:function(){return j},PpC:function(){return ed},VVv:function(){return ea},phM:function(){return eg},HCL:function(){return ec},bKB:function(){return eu},hX8:function(){return eh},hEj:function(){return Y},yb5:function(){return J},Rzx:function(){return ee},gpD:function(){return U},pW3:function(){return q},uoC:function(){return $},D0T:function(){return W},D1_:function(){return V},Hfx:function(){return H},R80:function(){return D},dRz:function(){return L},XZx:function(){return k},XEs:function(){return eJ},PRb:function(){return eY},Pvw:function(){return eX},sEe:function(){return eG},dt_:function(){return eZ},zJb:function(){return eQ},paE:function(){return e7},OZR:function(){return e6},_t9:function(){return e8},_lC:function(){return e0},EPQ:function(){return e2},YI3:function(){return e1},RV_:function(){return e4},C3g:function(){return e3},SUG:function(){return e5},oQ$:function(){return tp},AWI:function(){return tf},K19:function(){return t_},lWp:function(){return tm},dCr:function(){return ty},M6C:function(){return tS},Tnx:function(){return tL},XVp:function(){return tR},pdn:function(){return tM},vGG:function(){return tO},Saq:function(){return tB},oSI:function(){return tF},y65:function(){return tW},Bqu:function(){return tw},_bK:function(){return tv},_2n:function(){return tb},PX0:function(){return tP},Oop:function(){return tC},Gwp:function(){return tA},mV1:function(){return tI},$d5:function(){return tT},s$:function(){return tN},F3d:function(){return tE},rg2:function(){return tk},ytC:function(){return tD},kvU:function(){return tx},Hz8:function(){return tq},Cdg:function(){return tU},DEr:function(){return t$},$DX:function(){return tG},E3h:function(){return tQ},jbW:function(){return tj},ZGJ:function(){return tZ},kVY:function(){return eq},Gj_:function(){return e$},SUY:function(){return eH},Itd:function(){return ej},Gvr:function(){return eK},ov3:function(){return ez},IYc:function(){return eV},Ivo:function(){return eU},kwl:function(){return v},Fm_:function(){return eP},SPM:function(){return eO},opG:function(){return t1},kJk:function(){return t0},JpG:function(){return eF},OLZ:function(){return eW},BOY:function(){return eB},zRJ:function(){return O},zKr:function(){return tY},tZ6:function(){return tJ},Vqd:function(){return t3},NPS:function(){return t4},cbQ:function(){return t5},loF:function(){return tX},P6G:function(){return p},_wn:function(){return M},ynu:function(){return P},etL:function(){return R},ABB:function(){return A},XV0:function(){return e9},a9O:function(){return ti},_g0:function(){return tt},Fgs:function(){return te},uxu:function(){return tz},EQn:function(){return tK},url:function(){return E},ZnX:function(){return _},KjV:function(){return tV},UnT:function(){return tH},A42:function(){return ey},rh:function(){return ew}});var n=i(61413),s=i(44532),o=i(76515),r=i(79915),l=i(69965),a=i(34089);function d(e){return`--vscode-${e.replace(/\./g,"-")}`}function h(e){return`var(${d(e)})`}function u(e,t){return`var(${d(e)}, ${t})`}let c={ColorContribution:"base.contributions.colors"},g=new class{constructor(){this._onDidChangeSchema=new r.Q5,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,i,n=!1,s){this.colorsById[e]={id:e,description:i,defaults:t,needsTransparency:n,deprecationMessage:s};let o={type:"string",description:i,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return s&&(o.deprecationMessage=s),n&&(o.pattern="^#(?:(?[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$",o.patternErrorMessage="This color must be transparent or it will obscure content"),this.colorSchema.properties[e]=o,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(i),this._onDidChangeSchema.fire(),e}getColors(){return Object.keys(this.colorsById).map(e=>this.colorsById[e])}resolveDefaultColor(e,t){let i=this.colorsById[e];if(i&&i.defaults){let e=i.defaults[t.type];return function e(t,i){if(null===t);else if("string"==typeof t)return"#"===t[0]?o.Il.fromHex(t):i.getColor(t);else if(t instanceof o.Il)return t;else if("object"==typeof t)return function(t,i){var s,r,l,a;switch(t.op){case 0:return null===(s=e(t.value,i))||void 0===s?void 0:s.darken(t.factor);case 1:return null===(r=e(t.value,i))||void 0===r?void 0:r.lighten(t.factor);case 2:return null===(l=e(t.value,i))||void 0===l?void 0:l.transparent(t.factor);case 3:{let n=e(t.background,i);if(!n)return e(t.value,i);return null===(a=e(t.value,i))||void 0===a?void 0:a.makeOpaque(n)}case 4:for(let n of t.values){let t=e(n,i);if(t)return t}return;case 6:return e(i.defines(t.if)?t.then:t.else,i);case 5:{let n=e(t.value,i);if(!n)return;let s=e(t.background,i);if(!s)return n.transparent(t.factor*t.transparency);return n.isDarkerThan(s)?o.Il.getLighterColor(n,s,t.factor).transparent(t.transparency):o.Il.getDarkerColor(n,s,t.factor).transparent(t.transparency)}default:throw(0,n.vE)(t)}}(t,i)}(e,t)}}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort((e,t)=>{let i=-1===e.indexOf(".")?0:1,n=-1===t.indexOf(".")?0:1;return i!==n?i-n:e.localeCompare(t)}).map(e=>`- \`${e}\`: ${this.colorsById[e].description}`).join("\n")}};function p(e,t,i,n,s){return g.registerColor(e,t,i,n,s)}function m(e,t){return{op:0,value:e,factor:t}}function f(e,t){return{op:1,value:e,factor:t}}function _(e,t){return{op:2,value:e,factor:t}}function v(...e){return{op:4,values:e}}function b(e,t,i,n){return{op:5,value:e,background:t,factor:i,transparency:n}}a.B.add(c.ColorContribution,g);let C="vscode://schemas/workbench-colors",w=a.B.as(l.I.JSONContribution);w.registerSchema(C,g.getColorSchema());let y=new s.pY(()=>w.notifySchemaChanged(C),200);g.onDidChangeSchema(()=>{y.isScheduled()||y.schedule()});var S=i(82801);let L=p("foreground",{dark:"#CCCCCC",light:"#616161",hcDark:"#FFFFFF",hcLight:"#292929"},S.NC("foreground","Overall foreground color. This color is only used if not overridden by a component."));p("disabledForeground",{dark:"#CCCCCC80",light:"#61616180",hcDark:"#A5A5A5",hcLight:"#7F7F7F"},S.NC("disabledForeground","Overall foreground for disabled elements. This color is only used if not overridden by a component.")),p("errorForeground",{dark:"#F48771",light:"#A1260D",hcDark:"#F48771",hcLight:"#B5200D"},S.NC("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),p("descriptionForeground",{light:"#717171",dark:_(L,.7),hcDark:_(L,.7),hcLight:_(L,.7)},S.NC("descriptionForeground","Foreground color for description text providing additional information, for example for a label."));let k=p("icon.foreground",{dark:"#C5C5C5",light:"#424242",hcDark:"#FFFFFF",hcLight:"#292929"},S.NC("iconForeground","The default color for icons in the workbench.")),D=p("focusBorder",{dark:"#007FD4",light:"#0090F1",hcDark:"#F38518",hcLight:"#006BBD"},S.NC("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),x=p("contrastBorder",{light:null,dark:null,hcDark:"#6FC3DF",hcLight:"#0F4A85"},S.NC("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),N=p("contrastActiveBorder",{light:null,dark:null,hcDark:D,hcLight:D},S.NC("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast."));p("selection.background",{light:null,dark:null,hcDark:null,hcLight:null},S.NC("selectionBackground","The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor."));let E=p("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hcDark:"#21A6FF",hcLight:"#0F4A85"},S.NC("textLinkForeground","Foreground color for links in text."));p("textLink.activeForeground",{light:"#006AB1",dark:"#3794FF",hcDark:"#21A6FF",hcLight:"#0F4A85"},S.NC("textLinkActiveForeground","Foreground color for links in text when clicked on and on mouse hover.")),p("textSeparator.foreground",{light:"#0000002e",dark:"#ffffff2e",hcDark:o.Il.black,hcLight:"#292929"},S.NC("textSeparatorForeground","Color for text separators.")),p("textPreformat.foreground",{light:"#A31515",dark:"#D7BA7D",hcDark:"#000000",hcLight:"#FFFFFF"},S.NC("textPreformatForeground","Foreground color for preformatted text segments.")),p("textPreformat.background",{light:"#0000001A",dark:"#FFFFFF1A",hcDark:"#FFFFFF",hcLight:"#09345f"},S.NC("textPreformatBackground","Background color for preformatted text segments.")),p("textBlockQuote.background",{light:"#f2f2f2",dark:"#222222",hcDark:null,hcLight:"#F2F2F2"},S.NC("textBlockQuoteBackground","Background color for block quotes in text.")),p("textBlockQuote.border",{light:"#007acc80",dark:"#007acc80",hcDark:o.Il.white,hcLight:"#292929"},S.NC("textBlockQuoteBorder","Border color for block quotes in text.")),p("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hcDark:o.Il.black,hcLight:"#F2F2F2"},S.NC("textCodeBlockBackground","Background color for code blocks in text.")),p("sash.hoverBorder",{dark:D,light:D,hcDark:D,hcLight:D},S.NC("sashActiveBorder","Border color of active sashes."));let I=p("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hcDark:o.Il.black,hcLight:"#0F4A85"},S.NC("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),T=p("badge.foreground",{dark:o.Il.white,light:"#333",hcDark:o.Il.white,hcLight:o.Il.white},S.NC("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),M=p("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hcDark:null,hcLight:null},S.NC("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),R=p("scrollbarSlider.background",{dark:o.Il.fromHex("#797979").transparent(.4),light:o.Il.fromHex("#646464").transparent(.4),hcDark:_(x,.6),hcLight:_(x,.4)},S.NC("scrollbarSliderBackground","Scrollbar slider background color.")),A=p("scrollbarSlider.hoverBackground",{dark:o.Il.fromHex("#646464").transparent(.7),light:o.Il.fromHex("#646464").transparent(.7),hcDark:_(x,.8),hcLight:_(x,.8)},S.NC("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),P=p("scrollbarSlider.activeBackground",{dark:o.Il.fromHex("#BFBFBF").transparent(.4),light:o.Il.fromHex("#000000").transparent(.6),hcDark:x,hcLight:x},S.NC("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),O=p("progressBar.background",{dark:o.Il.fromHex("#0E70C0"),light:o.Il.fromHex("#0E70C0"),hcDark:x,hcLight:x},S.NC("progressBarBackground","Background color of the progress bar that can show for long running operations.")),F=p("editor.background",{light:"#ffffff",dark:"#1E1E1E",hcDark:o.Il.black,hcLight:o.Il.white},S.NC("editorBackground","Editor background color.")),B=p("editor.foreground",{light:"#333333",dark:"#BBBBBB",hcDark:o.Il.white,hcLight:L},S.NC("editorForeground","Editor default foreground color."));p("editorStickyScroll.background",{light:F,dark:F,hcDark:F,hcLight:F},S.NC("editorStickyScrollBackground","Background color of sticky scroll in the editor")),p("editorStickyScrollHover.background",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:null,hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},S.NC("editorStickyScrollHoverBackground","Background color of sticky scroll on hover in the editor")),p("editorStickyScroll.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("editorStickyScrollBorder","Border color of sticky scroll in the editor")),p("editorStickyScroll.shadow",{dark:M,light:M,hcDark:M,hcLight:M},S.NC("editorStickyScrollShadow"," Shadow color of sticky scroll in the editor"));let W=p("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hcDark:"#0C141F",hcLight:o.Il.white},S.NC("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),H=p("editorWidget.foreground",{dark:L,light:L,hcDark:L,hcLight:L},S.NC("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),V=p("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hcDark:x,hcLight:x},S.NC("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget."));p("editorWidget.resizeBorder",{light:null,dark:null,hcDark:null,hcLight:null},S.NC("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),p("editorError.background",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("editorError.background","Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0);let z=p("editorError.foreground",{dark:"#F14C4C",light:"#E51400",hcDark:"#F48771",hcLight:"#B5200D"},S.NC("editorError.foreground","Foreground color of error squigglies in the editor.")),K=p("editorError.border",{dark:null,light:null,hcDark:o.Il.fromHex("#E47777").transparent(.8),hcLight:"#B5200D"},S.NC("errorBorder","If set, color of double underlines for errors in the editor.")),U=p("editorWarning.background",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("editorWarning.background","Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),$=p("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hcDark:"#FFD370",hcLight:"#895503"},S.NC("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),q=p("editorWarning.border",{dark:null,light:null,hcDark:o.Il.fromHex("#FFCC00").transparent(.8),hcLight:o.Il.fromHex("#FFCC00").transparent(.8)},S.NC("warningBorder","If set, color of double underlines for warnings in the editor."));p("editorInfo.background",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("editorInfo.background","Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0);let j=p("editorInfo.foreground",{dark:"#3794FF",light:"#1a85ff",hcDark:"#3794FF",hcLight:"#1a85ff"},S.NC("editorInfo.foreground","Foreground color of info squigglies in the editor.")),G=p("editorInfo.border",{dark:null,light:null,hcDark:o.Il.fromHex("#3794FF").transparent(.8),hcLight:"#292929"},S.NC("infoBorder","If set, color of double underlines for infos in the editor.")),Q=p("editorHint.foreground",{dark:o.Il.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hcDark:null,hcLight:null},S.NC("editorHint.foreground","Foreground color of hint squigglies in the editor."));p("editorHint.border",{dark:null,light:null,hcDark:o.Il.fromHex("#eeeeee").transparent(.8),hcLight:"#292929"},S.NC("hintBorder","If set, color of double underlines for hints in the editor."));let Z=p("editorLink.activeForeground",{dark:"#4E94CE",light:o.Il.blue,hcDark:o.Il.cyan,hcLight:"#292929"},S.NC("activeLinkForeground","Color of active links.")),Y=p("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hcDark:"#f3f518",hcLight:"#0F4A85"},S.NC("editorSelectionBackground","Color of the editor selection.")),J=p("editor.selectionForeground",{light:null,dark:null,hcDark:"#000000",hcLight:o.Il.white},S.NC("editorSelectionForeground","Color of the selected text for high contrast.")),X=p("editor.inactiveSelectionBackground",{light:_(Y,.5),dark:_(Y,.5),hcDark:_(Y,.7),hcLight:_(Y,.5)},S.NC("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),ee=p("editor.selectionHighlightBackground",{light:b(Y,F,.3,.6),dark:b(Y,F,.3,.6),hcDark:null,hcLight:null},S.NC("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0);p("editor.selectionHighlightBorder",{light:null,dark:null,hcDark:N,hcLight:N},S.NC("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),p("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hcDark:null,hcLight:null},S.NC("editorFindMatch","Color of the current search match."));let et=p("editor.findMatchForeground",{light:null,dark:null,hcDark:null,hcLight:null},S.NC("editorFindMatchForeground","Text color of the current search match.")),ei=p("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hcDark:null,hcLight:null},S.NC("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),en=p("editor.findMatchHighlightForeground",{light:null,dark:null,hcDark:null,hcLight:null},S.NC("findMatchHighlightForeground","Foreground color of the other search matches."),!0);p("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hcDark:null,hcLight:null},S.NC("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),p("editor.findMatchBorder",{light:null,dark:null,hcDark:N,hcLight:N},S.NC("editorFindMatchBorder","Border color of the current search match."));let es=p("editor.findMatchHighlightBorder",{light:null,dark:null,hcDark:N,hcLight:N},S.NC("findMatchHighlightBorder","Border color of the other search matches.")),eo=p("editor.findRangeHighlightBorder",{dark:null,light:null,hcDark:_(N,.4),hcLight:_(N,.4)},S.NC("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0);p("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hcDark:"#ADD6FF26",hcLight:null},S.NC("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0);let er=p("editorHoverWidget.background",{light:W,dark:W,hcDark:W,hcLight:W},S.NC("hoverBackground","Background color of the editor hover."));p("editorHoverWidget.foreground",{light:H,dark:H,hcDark:H,hcLight:H},S.NC("hoverForeground","Foreground color of the editor hover."));let el=p("editorHoverWidget.border",{light:V,dark:V,hcDark:V,hcLight:V},S.NC("hoverBorder","Border color of the editor hover."));p("editorHoverWidget.statusBarBackground",{dark:f(er,.2),light:m(er,.05),hcDark:W,hcLight:W},S.NC("statusBarBackground","Background color of the editor hover status bar."));let ea=p("editorInlayHint.foreground",{dark:"#969696",light:"#969696",hcDark:o.Il.white,hcLight:o.Il.black},S.NC("editorInlayHintForeground","Foreground color of inline hints")),ed=p("editorInlayHint.background",{dark:_(I,.1),light:_(I,.1),hcDark:_(o.Il.white,.1),hcLight:_(I,.1)},S.NC("editorInlayHintBackground","Background color of inline hints")),eh=p("editorInlayHint.typeForeground",{dark:ea,light:ea,hcDark:ea,hcLight:ea},S.NC("editorInlayHintForegroundTypes","Foreground color of inline hints for types")),eu=p("editorInlayHint.typeBackground",{dark:ed,light:ed,hcDark:ed,hcLight:ed},S.NC("editorInlayHintBackgroundTypes","Background color of inline hints for types")),ec=p("editorInlayHint.parameterForeground",{dark:ea,light:ea,hcDark:ea,hcLight:ea},S.NC("editorInlayHintForegroundParameter","Foreground color of inline hints for parameters")),eg=p("editorInlayHint.parameterBackground",{dark:ed,light:ed,hcDark:ed,hcLight:ed},S.NC("editorInlayHintBackgroundParameter","Background color of inline hints for parameters")),ep=p("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hcDark:"#FFCC00",hcLight:"#007ACC"},S.NC("editorLightBulbForeground","The color used for the lightbulb actions icon."));p("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},S.NC("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),p("editorLightBulbAi.foreground",{dark:ep,light:ep,hcDark:ep,hcLight:ep},S.NC("editorLightBulbAiForeground","The color used for the lightbulb AI icon.")),p("editor.snippetTabstopHighlightBackground",{dark:new o.Il(new o.VS(124,124,124,.3)),light:new o.Il(new o.VS(10,50,100,.2)),hcDark:new o.Il(new o.VS(124,124,124,.3)),hcLight:new o.Il(new o.VS(10,50,100,.2))},S.NC("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),p("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),p("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),p("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new o.Il(new o.VS(10,50,100,.5)),hcDark:"#525252",hcLight:"#292929"},S.NC("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet."));let em=new o.Il(new o.VS(155,185,85,.2)),ef=new o.Il(new o.VS(255,0,0,.2)),e_=p("diffEditor.insertedTextBackground",{dark:"#9ccc2c33",light:"#9ccc2c40",hcDark:null,hcLight:null},S.NC("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),ev=p("diffEditor.removedTextBackground",{dark:"#ff000033",light:"#ff000033",hcDark:null,hcLight:null},S.NC("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0);p("diffEditor.insertedLineBackground",{dark:em,light:em,hcDark:null,hcLight:null},S.NC("diffEditorInsertedLines","Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),p("diffEditor.removedLineBackground",{dark:ef,light:ef,hcDark:null,hcLight:null},S.NC("diffEditorRemovedLines","Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),p("diffEditorGutter.insertedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("diffEditorInsertedLineGutter","Background color for the margin where lines got inserted.")),p("diffEditorGutter.removedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("diffEditorRemovedLineGutter","Background color for the margin where lines got removed."));let eb=p("diffEditorOverview.insertedForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("diffEditorOverviewInserted","Diff overview ruler foreground for inserted content.")),eC=p("diffEditorOverview.removedForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("diffEditorOverviewRemoved","Diff overview ruler foreground for removed content."));p("diffEditor.insertedTextBorder",{dark:null,light:null,hcDark:"#33ff2eff",hcLight:"#374E06"},S.NC("diffEditorInsertedOutline","Outline color for the text that got inserted.")),p("diffEditor.removedTextBorder",{dark:null,light:null,hcDark:"#FF008F",hcLight:"#AD0707"},S.NC("diffEditorRemovedOutline","Outline color for text that got removed.")),p("diffEditor.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("diffEditorBorder","Border color between the two text editors.")),p("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hcDark:null,hcLight:null},S.NC("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),p("diffEditor.unchangedRegionBackground",{dark:"sideBar.background",light:"sideBar.background",hcDark:"sideBar.background",hcLight:"sideBar.background"},S.NC("diffEditor.unchangedRegionBackground","The background color of unchanged blocks in the diff editor.")),p("diffEditor.unchangedRegionForeground",{dark:"foreground",light:"foreground",hcDark:"foreground",hcLight:"foreground"},S.NC("diffEditor.unchangedRegionForeground","The foreground color of unchanged blocks in the diff editor.")),p("diffEditor.unchangedCodeBackground",{dark:"#74747429",light:"#b8b8b829",hcDark:null,hcLight:null},S.NC("diffEditor.unchangedCodeBackground","The background color of unchanged code in the diff editor."));let ew=p("widget.shadow",{dark:_(o.Il.black,.36),light:_(o.Il.black,.16),hcDark:null,hcLight:null},S.NC("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),ey=p("widget.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("widgetBorder","Border color of widgets such as find/replace inside the editor.")),eS=p("toolbar.hoverBackground",{dark:"#5a5d5e50",light:"#b8b8b850",hcDark:null,hcLight:null},S.NC("toolbarHoverBackground","Toolbar background when hovering over actions using the mouse"));p("toolbar.hoverOutline",{dark:null,light:null,hcDark:N,hcLight:N},S.NC("toolbarHoverOutline","Toolbar outline when hovering over actions using the mouse")),p("toolbar.activeBackground",{dark:f(eS,.1),light:m(eS,.1),hcDark:null,hcLight:null},S.NC("toolbarActiveBackground","Toolbar background when holding the mouse over actions"));let eL=p("breadcrumb.foreground",{light:_(L,.8),dark:_(L,.8),hcDark:_(L,.8),hcLight:_(L,.8)},S.NC("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),ek=p("breadcrumb.background",{light:F,dark:F,hcDark:F,hcLight:F},S.NC("breadcrumbsBackground","Background color of breadcrumb items.")),eD=p("breadcrumb.focusForeground",{light:m(L,.2),dark:f(L,.1),hcDark:f(L,.1),hcLight:f(L,.1)},S.NC("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),ex=p("breadcrumb.activeSelectionForeground",{light:m(L,.2),dark:f(L,.1),hcDark:f(L,.1),hcLight:f(L,.1)},S.NC("breadcrumbsSelectedForeground","Color of selected breadcrumb items."));p("breadcrumbPicker.background",{light:W,dark:W,hcDark:W,hcLight:W},S.NC("breadcrumbsSelectedBackground","Background color of breadcrumb item picker."));let eN=o.Il.fromHex("#40C8AE").transparent(.5),eE=o.Il.fromHex("#40A6FF").transparent(.5),eI=o.Il.fromHex("#606060").transparent(.4),eT=p("merge.currentHeaderBackground",{dark:eN,light:eN,hcDark:null,hcLight:null},S.NC("mergeCurrentHeaderBackground","Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);p("merge.currentContentBackground",{dark:_(eT,.4),light:_(eT,.4),hcDark:_(eT,.4),hcLight:_(eT,.4)},S.NC("mergeCurrentContentBackground","Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);let eM=p("merge.incomingHeaderBackground",{dark:eE,light:eE,hcDark:null,hcLight:null},S.NC("mergeIncomingHeaderBackground","Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);p("merge.incomingContentBackground",{dark:_(eM,.4),light:_(eM,.4),hcDark:_(eM,.4),hcLight:_(eM,.4)},S.NC("mergeIncomingContentBackground","Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);let eR=p("merge.commonHeaderBackground",{dark:eI,light:eI,hcDark:null,hcLight:null},S.NC("mergeCommonHeaderBackground","Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);p("merge.commonContentBackground",{dark:_(eR,.4),light:_(eR,.4),hcDark:_(eR,.4),hcLight:_(eR,.4)},S.NC("mergeCommonContentBackground","Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);let eA=p("merge.border",{dark:null,light:null,hcDark:"#C3DF6F",hcLight:"#007ACC"},S.NC("mergeBorder","Border color on headers and the splitter in inline merge-conflicts."));p("editorOverviewRuler.currentContentForeground",{dark:_(eT,1),light:_(eT,1),hcDark:eA,hcLight:eA},S.NC("overviewRulerCurrentContentForeground","Current overview ruler foreground for inline merge-conflicts.")),p("editorOverviewRuler.incomingContentForeground",{dark:_(eM,1),light:_(eM,1),hcDark:eA,hcLight:eA},S.NC("overviewRulerIncomingContentForeground","Incoming overview ruler foreground for inline merge-conflicts.")),p("editorOverviewRuler.commonContentForeground",{dark:_(eR,1),light:_(eR,1),hcDark:eA,hcLight:eA},S.NC("overviewRulerCommonContentForeground","Common ancestor overview ruler foreground for inline merge-conflicts."));let eP=p("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hcDark:"#AB5A00",hcLight:""},S.NC("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),eO=p("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},S.NC("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),eF=p("problemsErrorIcon.foreground",{dark:z,light:z,hcDark:z,hcLight:z},S.NC("problemsErrorIconForeground","The color used for the problems error icon.")),eB=p("problemsWarningIcon.foreground",{dark:$,light:$,hcDark:$,hcLight:$},S.NC("problemsWarningIconForeground","The color used for the problems warning icon.")),eW=p("problemsInfoIcon.foreground",{dark:j,light:j,hcDark:j,hcLight:j},S.NC("problemsInfoIconForeground","The color used for the problems info icon.")),eH=p("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hcDark:"#AB5A00",hcLight:"#0F4A85"},S.NC("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),eV=p("minimap.selectionOccurrenceHighlight",{light:"#c9c9c9",dark:"#676767",hcDark:"#ffffff",hcLight:"#0F4A85"},S.NC("minimapSelectionOccurrenceHighlight","Minimap marker color for repeating editor selections."),!0),ez=p("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hcDark:"#ffffff",hcLight:"#0F4A85"},S.NC("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),eK=p("minimap.infoHighlight",{dark:j,light:j,hcDark:G,hcLight:G},S.NC("minimapInfo","Minimap marker color for infos.")),eU=p("minimap.warningHighlight",{dark:$,light:$,hcDark:q,hcLight:q},S.NC("overviewRuleWarning","Minimap marker color for warnings.")),e$=p("minimap.errorHighlight",{dark:new o.Il(new o.VS(255,18,18,.7)),light:new o.Il(new o.VS(255,18,18,.7)),hcDark:new o.Il(new o.VS(255,50,50,1)),hcLight:"#B5200D"},S.NC("minimapError","Minimap marker color for errors.")),eq=p("minimap.background",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("minimapBackground","Minimap background color.")),ej=p("minimap.foregroundOpacity",{dark:o.Il.fromHex("#000f"),light:o.Il.fromHex("#000f"),hcDark:o.Il.fromHex("#000f"),hcLight:o.Il.fromHex("#000f")},S.NC("minimapForegroundOpacity",'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));p("minimapSlider.background",{light:_(R,.5),dark:_(R,.5),hcDark:_(R,.5),hcLight:_(R,.5)},S.NC("minimapSliderBackground","Minimap slider background color.")),p("minimapSlider.hoverBackground",{light:_(A,.5),dark:_(A,.5),hcDark:_(A,.5),hcLight:_(A,.5)},S.NC("minimapSliderHoverBackground","Minimap slider background color when hovering.")),p("minimapSlider.activeBackground",{light:_(P,.5),dark:_(P,.5),hcDark:_(P,.5),hcLight:_(P,.5)},S.NC("minimapSliderActiveBackground","Minimap slider background color when clicked on.")),p("charts.foreground",{dark:L,light:L,hcDark:L,hcLight:L},S.NC("chartsForeground","The foreground color used in charts.")),p("charts.lines",{dark:_(L,.5),light:_(L,.5),hcDark:_(L,.5),hcLight:_(L,.5)},S.NC("chartsLines","The color used for horizontal lines in charts.")),p("charts.red",{dark:z,light:z,hcDark:z,hcLight:z},S.NC("chartsRed","The red color used in chart visualizations.")),p("charts.blue",{dark:j,light:j,hcDark:j,hcLight:j},S.NC("chartsBlue","The blue color used in chart visualizations.")),p("charts.yellow",{dark:$,light:$,hcDark:$,hcLight:$},S.NC("chartsYellow","The yellow color used in chart visualizations.")),p("charts.orange",{dark:eH,light:eH,hcDark:eH,hcLight:eH},S.NC("chartsOrange","The orange color used in chart visualizations.")),p("charts.green",{dark:"#89D185",light:"#388A34",hcDark:"#89D185",hcLight:"#374e06"},S.NC("chartsGreen","The green color used in chart visualizations.")),p("charts.purple",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},S.NC("chartsPurple","The purple color used in chart visualizations."));let eG=p("input.background",{dark:"#3C3C3C",light:o.Il.white,hcDark:o.Il.black,hcLight:o.Il.white},S.NC("inputBoxBackground","Input box background.")),eQ=p("input.foreground",{dark:L,light:L,hcDark:L,hcLight:L},S.NC("inputBoxForeground","Input box foreground.")),eZ=p("input.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("inputBoxBorder","Input box border.")),eY=p("inputOption.activeBorder",{dark:"#007ACC",light:"#007ACC",hcDark:x,hcLight:x},S.NC("inputBoxActiveOptionBorder","Border color of activated options in input fields."));p("inputOption.hoverBackground",{dark:"#5a5d5e80",light:"#b8b8b850",hcDark:null,hcLight:null},S.NC("inputOption.hoverBackground","Background color of activated options in input fields."));let eJ=p("inputOption.activeBackground",{dark:_(D,.4),light:_(D,.2),hcDark:o.Il.transparent,hcLight:o.Il.transparent},S.NC("inputOption.activeBackground","Background hover color of options in input fields.")),eX=p("inputOption.activeForeground",{dark:o.Il.white,light:o.Il.black,hcDark:L,hcLight:L},S.NC("inputOption.activeForeground","Foreground color of activated options in input fields."));p("input.placeholderForeground",{light:_(L,.5),dark:_(L,.5),hcDark:_(L,.7),hcLight:_(L,.7)},S.NC("inputPlaceholderForeground","Input box foreground color for placeholder text."));let e0=p("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hcDark:o.Il.black,hcLight:o.Il.white},S.NC("inputValidationInfoBackground","Input validation background color for information severity.")),e1=p("inputValidation.infoForeground",{dark:null,light:null,hcDark:null,hcLight:L},S.NC("inputValidationInfoForeground","Input validation foreground color for information severity.")),e2=p("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hcDark:x,hcLight:x},S.NC("inputValidationInfoBorder","Input validation border color for information severity.")),e4=p("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hcDark:o.Il.black,hcLight:o.Il.white},S.NC("inputValidationWarningBackground","Input validation background color for warning severity.")),e5=p("inputValidation.warningForeground",{dark:null,light:null,hcDark:null,hcLight:L},S.NC("inputValidationWarningForeground","Input validation foreground color for warning severity.")),e3=p("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hcDark:x,hcLight:x},S.NC("inputValidationWarningBorder","Input validation border color for warning severity.")),e7=p("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hcDark:o.Il.black,hcLight:o.Il.white},S.NC("inputValidationErrorBackground","Input validation background color for error severity.")),e8=p("inputValidation.errorForeground",{dark:null,light:null,hcDark:null,hcLight:L},S.NC("inputValidationErrorForeground","Input validation foreground color for error severity.")),e6=p("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hcDark:x,hcLight:x},S.NC("inputValidationErrorBorder","Input validation border color for error severity.")),e9=p("dropdown.background",{dark:"#3C3C3C",light:o.Il.white,hcDark:o.Il.black,hcLight:o.Il.white},S.NC("dropdownBackground","Dropdown background.")),te=p("dropdown.listBackground",{dark:null,light:null,hcDark:o.Il.black,hcLight:o.Il.white},S.NC("dropdownListBackground","Dropdown list background.")),tt=p("dropdown.foreground",{dark:"#F0F0F0",light:L,hcDark:o.Il.white,hcLight:L},S.NC("dropdownForeground","Dropdown foreground.")),ti=p("dropdown.border",{dark:e9,light:"#CECECE",hcDark:x,hcLight:x},S.NC("dropdownBorder","Dropdown border.")),tn=p("button.foreground",{dark:o.Il.white,light:o.Il.white,hcDark:o.Il.white,hcLight:o.Il.white},S.NC("buttonForeground","Button foreground color.")),ts=p("button.separator",{dark:_(tn,.4),light:_(tn,.4),hcDark:_(tn,.4),hcLight:_(tn,.4)},S.NC("buttonSeparator","Button separator color.")),to=p("button.background",{dark:"#0E639C",light:"#007ACC",hcDark:null,hcLight:"#0F4A85"},S.NC("buttonBackground","Button background color.")),tr=p("button.hoverBackground",{dark:f(to,.2),light:m(to,.2),hcDark:to,hcLight:to},S.NC("buttonHoverBackground","Button background color when hovering.")),tl=p("button.border",{dark:x,light:x,hcDark:x,hcLight:x},S.NC("buttonBorder","Button border color.")),ta=p("button.secondaryForeground",{dark:o.Il.white,light:o.Il.white,hcDark:o.Il.white,hcLight:L},S.NC("buttonSecondaryForeground","Secondary button foreground color.")),td=p("button.secondaryBackground",{dark:"#3A3D41",light:"#5F6A79",hcDark:null,hcLight:o.Il.white},S.NC("buttonSecondaryBackground","Secondary button background color.")),th=p("button.secondaryHoverBackground",{dark:f(td,.2),light:m(td,.2),hcDark:null,hcLight:null},S.NC("buttonSecondaryHoverBackground","Secondary button background color when hovering.")),tu=p("checkbox.background",{dark:e9,light:e9,hcDark:e9,hcLight:e9},S.NC("checkbox.background","Background color of checkbox widget."));p("checkbox.selectBackground",{dark:W,light:W,hcDark:W,hcLight:W},S.NC("checkbox.select.background","Background color of checkbox widget when the element it's in is selected."));let tc=p("checkbox.foreground",{dark:tt,light:tt,hcDark:tt,hcLight:tt},S.NC("checkbox.foreground","Foreground color of checkbox widget.")),tg=p("checkbox.border",{dark:ti,light:ti,hcDark:ti,hcLight:ti},S.NC("checkbox.border","Border color of checkbox widget."));p("checkbox.selectBorder",{dark:k,light:k,hcDark:k,hcLight:k},S.NC("checkbox.select.border","Border color of checkbox widget when the element it's in is selected."));let tp=p("keybindingLabel.background",{dark:new o.Il(new o.VS(128,128,128,.17)),light:new o.Il(new o.VS(221,221,221,.4)),hcDark:o.Il.transparent,hcLight:o.Il.transparent},S.NC("keybindingLabelBackground","Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")),tm=p("keybindingLabel.foreground",{dark:o.Il.fromHex("#CCCCCC"),light:o.Il.fromHex("#555555"),hcDark:o.Il.white,hcLight:L},S.NC("keybindingLabelForeground","Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")),tf=p("keybindingLabel.border",{dark:new o.Il(new o.VS(51,51,51,.6)),light:new o.Il(new o.VS(204,204,204,.4)),hcDark:new o.Il(new o.VS(111,195,223)),hcLight:x},S.NC("keybindingLabelBorder","Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")),t_=p("keybindingLabel.bottomBorder",{dark:new o.Il(new o.VS(68,68,68,.6)),light:new o.Il(new o.VS(187,187,187,.4)),hcDark:new o.Il(new o.VS(111,195,223)),hcLight:L},S.NC("keybindingLabelBottomBorder","Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")),tv=p("list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tb=p("list.focusForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tC=p("list.focusOutline",{dark:D,light:D,hcDark:N,hcLight:N},S.NC("listFocusOutline","List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tw=p("list.focusAndSelectionOutline",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listFocusAndSelectionOutline","List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not.")),ty=p("list.activeSelectionBackground",{dark:"#04395E",light:"#0060C0",hcDark:null,hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},S.NC("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tS=p("list.activeSelectionForeground",{dark:o.Il.white,light:o.Il.white,hcDark:null,hcLight:null},S.NC("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tL=p("list.activeSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listActiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tk=p("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hcDark:null,hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},S.NC("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tD=p("list.inactiveSelectionForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tx=p("list.inactiveSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listInactiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tN=p("list.inactiveFocusBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tE=p("list.inactiveFocusOutline",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listInactiveFocusOutline","List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tI=p("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:o.Il.white.transparent(.1),hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},S.NC("listHoverBackground","List/Tree background when hovering over items using the mouse.")),tT=p("list.hoverForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),tM=p("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hcDark:null,hcLight:null},S.NC("listDropBackground","List/Tree drag and drop background when moving items over other items when using the mouse.")),tR=p("list.dropBetweenBackground",{dark:k,light:k,hcDark:null,hcLight:null},S.NC("listDropBetweenBackground","List/Tree drag and drop border color when moving items between items when using the mouse.")),tA=p("list.highlightForeground",{dark:"#2AAAFF",light:"#0066BF",hcDark:D,hcLight:D},S.NC("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),tP=p("list.focusHighlightForeground",{dark:tA,light:{op:6,if:ty,then:tA,else:"#BBE7FF"},hcDark:tA,hcLight:tA},S.NC("listFocusHighlightForeground","List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree."));p("list.invalidItemForeground",{dark:"#B89500",light:"#B89500",hcDark:"#B89500",hcLight:"#B5200D"},S.NC("invalidItemForeground","List/Tree foreground color for invalid items, for example an unresolved root in explorer.")),p("list.errorForeground",{dark:"#F88070",light:"#B01011",hcDark:null,hcLight:null},S.NC("listErrorForeground","Foreground color of list items containing errors.")),p("list.warningForeground",{dark:"#CCA700",light:"#855F00",hcDark:null,hcLight:null},S.NC("listWarningForeground","Foreground color of list items containing warnings."));let tO=p("listFilterWidget.background",{light:m(W,0),dark:f(W,0),hcDark:W,hcLight:W},S.NC("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),tF=p("listFilterWidget.outline",{dark:o.Il.transparent,light:o.Il.transparent,hcDark:"#f38518",hcLight:"#007ACC"},S.NC("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),tB=p("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hcDark:x,hcLight:x},S.NC("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),tW=p("listFilterWidget.shadow",{dark:ew,light:ew,hcDark:ew,hcLight:ew},S.NC("listFilterWidgetShadow","Shadow color of the type filter widget in lists and trees."));p("list.filterMatchBackground",{dark:ei,light:ei,hcDark:null,hcLight:null},S.NC("listFilterMatchHighlight","Background color of the filtered match.")),p("list.filterMatchBorder",{dark:es,light:es,hcDark:x,hcLight:N},S.NC("listFilterMatchHighlightBorder","Border color of the filtered match.")),p("list.deemphasizedForeground",{dark:"#8C8C8C",light:"#8E8E90",hcDark:"#A7A8A9",hcLight:"#666666"},S.NC("listDeemphasizedForeground","List/Tree foreground color for items that are deemphasized."));let tH=p("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hcDark:"#a9a9a9",hcLight:"#a5a5a5"},S.NC("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),tV=p("tree.inactiveIndentGuidesStroke",{dark:_(tH,.4),light:_(tH,.4),hcDark:_(tH,.4),hcLight:_(tH,.4)},S.NC("treeInactiveIndentGuidesStroke","Tree stroke color for the indentation guides that are not active.")),tz=p("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hcDark:null,hcLight:null},S.NC("tableColumnsBorder","Table border color between columns.")),tK=p("tree.tableOddRowsBackground",{dark:_(L,.04),light:_(L,.04),hcDark:null,hcLight:null},S.NC("tableOddRowsBackgroundColor","Background color for odd table rows.")),tU=p("menu.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("menuBorder","Border color of menus.")),t$=p("menu.foreground",{dark:tt,light:tt,hcDark:tt,hcLight:tt},S.NC("menuForeground","Foreground color of menu items.")),tq=p("menu.background",{dark:e9,light:e9,hcDark:e9,hcLight:e9},S.NC("menuBackground","Background color of menu items.")),tj=p("menu.selectionForeground",{dark:tS,light:tS,hcDark:tS,hcLight:tS},S.NC("menuSelectionForeground","Foreground color of the selected menu item in menus.")),tG=p("menu.selectionBackground",{dark:ty,light:ty,hcDark:ty,hcLight:ty},S.NC("menuSelectionBackground","Background color of the selected menu item in menus.")),tQ=p("menu.selectionBorder",{dark:null,light:null,hcDark:N,hcLight:N},S.NC("menuSelectionBorder","Border color of the selected menu item in menus.")),tZ=p("menu.separatorBackground",{dark:"#606060",light:"#D4D4D4",hcDark:x,hcLight:x},S.NC("menuSeparatorBackground","Color of a separator menu item in menus.")),tY=p("quickInput.background",{dark:W,light:W,hcDark:W,hcLight:W},S.NC("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),tJ=p("quickInput.foreground",{dark:H,light:H,hcDark:H,hcLight:H},S.NC("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),tX=p("quickInputTitle.background",{dark:new o.Il(new o.VS(255,255,255,.105)),light:new o.Il(new o.VS(0,0,0,.06)),hcDark:"#000000",hcLight:o.Il.white},S.NC("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),t0=p("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hcDark:o.Il.white,hcLight:"#0F4A85"},S.NC("pickerGroupForeground","Quick picker color for grouping labels.")),t1=p("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hcDark:o.Il.white,hcLight:"#0F4A85"},S.NC("pickerGroupBorder","Quick picker color for grouping borders.")),t2=p("quickInput.list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},"",void 0,S.NC("quickInput.list.focusBackground deprecation","Please use quickInputList.focusBackground instead")),t4=p("quickInputList.focusForeground",{dark:tS,light:tS,hcDark:tS,hcLight:tS},S.NC("quickInput.listFocusForeground","Quick picker foreground color for the focused item.")),t5=p("quickInputList.focusIconForeground",{dark:tL,light:tL,hcDark:tL,hcLight:tL},S.NC("quickInput.listFocusIconForeground","Quick picker icon foreground color for the focused item.")),t3=p("quickInputList.focusBackground",{dark:v(t2,ty),light:v(t2,ty),hcDark:null,hcLight:null},S.NC("quickInput.listFocusBackground","Quick picker background color for the focused item."));p("search.resultsInfoForeground",{light:L,dark:_(L,.65),hcDark:L,hcLight:L},S.NC("search.resultsInfoForeground","Color of the text in the search viewlet's completion message.")),p("searchEditor.findMatchBackground",{light:_(ei,.66),dark:_(ei,.66),hcDark:ei,hcLight:ei},S.NC("searchEditor.queryMatch","Color of the Search Editor query matches.")),p("searchEditor.findMatchBorder",{light:_(es,.66),dark:_(es,.66),hcDark:es,hcLight:es},S.NC("searchEditor.editorFindMatchBorder","Border color of the Search Editor query matches."))},79939:function(e,t,i){"use strict";i.d(t,{Ks:function(){return v},q5:function(){return _},s_:function(){return y}});var n,s,o,r=i(44532),l=i(47039),a=i(71216),d=i(29527),h=i(79915),u=i(24162),c=i(5482),g=i(82801),p=i(69965),m=i(34089);(s||(s={})).getDefinition=function(e,t){let i=e.defaults;for(;d.k.isThemeIcon(i);){let e=f.getIcon(i.id);if(!e)return;i=e.defaults}return i},(n=o||(o={})).toJSONObject=function(e){return{weight:e.weight,style:e.style,src:e.src.map(e=>({format:e.format,location:e.location.toString()}))}},n.fromJSONObject=function(e){let t=e=>(0,u.HD)(e)?e:void 0;if(e&&Array.isArray(e.src)&&e.src.every(e=>(0,u.HD)(e.format)&&(0,u.HD)(e.location)))return{weight:t(e.weight),style:t(e.style),src:e.src.map(e=>({format:e.format,location:c.o.parse(e.location)}))}};let f=new class{constructor(){this._onDidChange=new h.Q5,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:(0,g.NC)("iconDefinition.fontId","The id of the font to use. If not set, the font that is defined first is used.")},fontCharacter:{type:"string",description:(0,g.NC)("iconDefinition.fontCharacter","The font character associated with the icon definition.")}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",pattern:`^${d.k.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(e,t,i,n){let s=this.iconsById[e];if(s){if(i&&!s.description){s.description=i,this.iconSchema.properties[e].markdownDescription=`${i} $(${e})`;let t=this.iconReferenceSchema.enum.indexOf(e);-1!==t&&(this.iconReferenceSchema.enumDescriptions[t]=i),this._onDidChange.fire()}return s}this.iconsById[e]={id:e,description:i,defaults:t,deprecationMessage:n};let o={$ref:"#/definitions/icons"};return n&&(o.deprecationMessage=n),i&&(o.markdownDescription=`${i}: $(${e})`),this.iconSchema.properties[e]=o,this.iconReferenceSchema.enum.push(e),this.iconReferenceSchema.enumDescriptions.push(i||""),this._onDidChange.fire(),{id:e}}getIcons(){return Object.keys(this.iconsById).map(e=>this.iconsById[e])}getIcon(e){return this.iconsById[e]}getIconSchema(){return this.iconSchema}toString(){let e=(e,t)=>e.id.localeCompare(t.id),t=e=>{for(;d.k.isThemeIcon(e.defaults);)e=this.iconsById[e.defaults.id];return`codicon codicon-${e?e.id:""}`},i=[];i.push("| preview | identifier | default codicon ID | description"),i.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");let n=Object.keys(this.iconsById).map(e=>this.iconsById[e]);for(let s of n.filter(e=>!!e.description).sort(e))i.push(`||${s.id}|${d.k.isThemeIcon(s.defaults)?s.defaults.id:s.id}|${s.description||""}|`);for(let s of(i.push("| preview | identifier "),i.push("| ----------- | --------------------------------- |"),n.filter(e=>!d.k.isThemeIcon(e.defaults)).sort(e)))i.push(`||${s.id}|`);return i.join("\n")}};function _(e,t,i,n){return f.registerIcon(e,t,i,n)}function v(){return f}m.B.add("base.contributions.icons",f),function(){let e=(0,a.u)();for(let t in e){let i="\\"+e[t].toString(16);f.registerIcon(t,{fontCharacter:i})}}();let b="vscode://schemas/icons",C=m.B.as(p.I.JSONContribution);C.registerSchema(b,f.getIconSchema());let w=new r.pY(()=>C.notifySchemaChanged(b),200);f.onDidChange(()=>{w.isScheduled()||w.schedule()});let y=_("widget-close",l.l.close,(0,g.NC)("widgetClose","Icon for the close action in widgets."));_("goto-previous-location",l.l.arrowUp,(0,g.NC)("previousChangeIcon","Icon for goto previous editor location.")),_("goto-next-location",l.l.arrowDown,(0,g.NC)("nextChangeIcon","Icon for goto next editor location.")),d.k.modify(l.l.sync,"spin"),d.k.modify(l.l.loading,"spin")},42042:function(e,t,i){"use strict";var n,s;function o(e){return e===n.HIGH_CONTRAST_DARK||e===n.HIGH_CONTRAST_LIGHT}function r(e){return e===n.DARK||e===n.HIGH_CONTRAST_DARK}i.d(t,{_T:function(){return r},c3:function(){return o},eL:function(){return n}}),(s=n||(n={})).DARK="dark",s.LIGHT="light",s.HIGH_CONTRAST_DARK="hcDark",s.HIGH_CONTRAST_LIGHT="hcLight"},55150:function(e,t,i){"use strict";i.d(t,{EN:function(){return d},IP:function(){return u},Ic:function(){return g},XE:function(){return a},bB:function(){return p},m6:function(){return h}});var n=i(79915),s=i(70784),o=i(85327),r=i(34089),l=i(42042);let a=(0,o.yh)("themeService");function d(e){return{id:e}}function h(e){switch(e){case l.eL.DARK:return"vs-dark";case l.eL.HIGH_CONTRAST_DARK:return"hc-black";case l.eL.HIGH_CONTRAST_LIGHT:return"hc-light";default:return"vs"}}let u={ThemingContribution:"base.contributions.theming"},c=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new n.Q5}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),(0,s.OF)(()=>{let t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)})}getThemingParticipants(){return this.themingParticipants}};function g(e){return c.onColorThemeChange(e)}r.B.add(u.ThemingContribution,c);class p extends s.JT{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(e=>this.onThemeChange(e)))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}},32109:function(e,t,i){"use strict";i.d(t,{Xt:function(){return r},YO:function(){return o},gJ:function(){return l},tJ:function(){return s}});var n=i(85327);let s=(0,n.yh)("undoRedoService");class o{constructor(e,t){this.resource=e,this.elements=t}}class r{constructor(){this.id=r._ID++,this.order=1}nextOrder(){return 0===this.id?0:this.order++}}r._ID=0,r.None=new r;class l{constructor(){this.id=l._ID++,this.order=1}nextOrder(){return 0===this.id?0:this.order++}}l._ID=0,l.None=new l},23776:function(e,t,i){"use strict";i.d(t,{A6:function(){return p},c$:function(){return d},eb:function(){return a},ec:function(){return l},md:function(){return g},p$:function(){return m},uT:function(){return c},x:function(){return f}});var n=i(82801),s=i(75380);i(13234);var o=i(5482),r=i(85327);let l=(0,r.yh)("contextService");function a(e){return"string"==typeof(null==e?void 0:e.id)&&o.o.isUri(e.uri)}function d(e){return"string"==typeof(null==e?void 0:e.id)&&!a(e)&&!("string"==typeof(null==e?void 0:e.id)&&o.o.isUri(e.configPath))}let h={id:"ext-dev"},u={id:"empty-window"};function c(e,t){return"string"==typeof e||void 0===e?"string"==typeof e?{id:(0,s.EZ)(e)}:t?h:u:e.configuration?{id:e.id,configPath:e.configuration}:1===e.folders.length?{id:e.id,uri:e.folders[0].uri}:{id:e.id}}class g{constructor(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}let p="code-workspace";(0,n.NC)("codeWorkspace","Code Workspace");let m="4064f6ec-cb38-4ad0-af64-ee6467e63c82";function f(e){return e.id===m}},64775:function(e,t,i){"use strict";i.d(t,{Y:function(){return s}});var n=i(85327);let s=(0,n.yh)("workspaceTrustManagementService")},24816:function(){},38828:function(){},89294:function(){},54956:function(){},99548:function(){},89666:function(){},2983:function(){},25523:function(){},9239:function(){},51673:function(){},58879:function(){},58224:function(){},64078:function(){},72119:function(){},65725:function(){},39031:function(){},87148:function(){},21373:function(){},85224:function(){},31121:function(){},96923:function(){},884:function(){},93897:function(){},54651:function(){},21805:function(){},55660:function(){},26843:function(){},94050:function(){},77717:function(){},18610:function(){},2713:function(){},69082:function(){},36023:function(){},33074:function(){},85448:function(){},51771:function(){},94361:function(){},71191:function(){},92370:function(){},56389:function(){},85969:function(){},33557:function(){},25459:function(){},50799:function(){},4403:function(){},50707:function(){},33590:function(){},70892:function(){},28904:function(){},51861:function(){},11579:function(){},28696:function(){},56417:function(){},45426:function(){},92986:function(){},15968:function(){},75340:function(){},22817:function(){},13547:function(){},94785:function(){},81121:function(){},41877:function(){},37248:function(){},9983:function(){},96408:function(){},92067:function(){},30289:function(){},65344:function(){},19161:function(){},87705:function(){},76873:function(){},78410:function(){},77382:function(){},12547:function(){},27120:function(){},24805:function(){},78870:function(){},86979:function(){},62888:function(){},47297:function(){},92152:function(){},90948:function(){},97681:function(){},82296:function(){},74744:function(){},60127:function(){},9820:function(){},86857:function(){},90897:function(){},65506:function(){},12441:function(){},25139:function(){}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7458-0673a9cbb154887b.js b/dbgpt/app/static/web/_next/static/chunks/7458-0673a9cbb154887b.js new file mode 100644 index 000000000..c0c387943 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/7458-0673a9cbb154887b.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7458],{69274:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(42096),o=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},l=n(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},39600:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(42096),o=n(38497),a={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},l=n(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},72097:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(42096),o=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},l=n(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},20222:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(42096),o=n(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},l=n(55032),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},42041:function(e,t,n){function r(e){return["small","middle","large"].includes(e)}function o(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}n.d(t,{T:function(){return o},n:function(){return r}})},13419:function(e,t,n){n.d(t,{Z:function(){return w}});var r=n(38497),o=n(71836),a=n(26869),l=n.n(a),i=n(77757),c=n(55598),s=n(63346),u=n(62971),m=n(4558),f=n(74156),p=n(27691),d=n(5496),g=n(61261),v=n(44306),y=n(83387),b=n(90102);let O=e=>{let{componentCls:t,iconCls:n,antCls:r,zIndexPopup:o,colorText:a,colorWarning:l,marginXXS:i,marginXS:c,fontSize:s,fontWeightStrong:u,colorTextHeading:m}=e;return{[t]:{zIndex:o,[`&${r}-popover`]:{fontSize:s},[`${t}-message`]:{marginBottom:c,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:l,fontSize:s,lineHeight:1,marginInlineEnd:c},[`${t}-title`]:{fontWeight:u,color:m,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:i,color:a}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:c}}}}};var h=(0,b.I$)("Popconfirm",e=>O(e),e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let C=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:a,title:l,description:i,cancelText:c,okText:u,okType:y="primary",icon:b=r.createElement(o.Z,null),showCancel:O=!0,close:h,onConfirm:$,onCancel:C,onPopupClick:E}=e,{getPrefixCls:x}=r.useContext(s.E_),[w]=(0,g.Z)("Popconfirm",v.Z.Popconfirm),k=(0,f.Z)(l),j=(0,f.Z)(i);return r.createElement("div",{className:`${t}-inner-content`,onClick:E},r.createElement("div",{className:`${t}-message`},b&&r.createElement("span",{className:`${t}-message-icon`},b),r.createElement("div",{className:`${t}-message-text`},k&&r.createElement("div",{className:`${t}-title`},k),j&&r.createElement("div",{className:`${t}-description`},j))),r.createElement("div",{className:`${t}-buttons`},O&&r.createElement(p.ZP,Object.assign({onClick:C,size:"small"},a),c||(null==w?void 0:w.cancelText)),r.createElement(m.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,d.nx)(y)),n),actionFn:$,close:h,prefixCls:x("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},u||(null==w?void 0:w.okText))))};var E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let x=r.forwardRef((e,t)=>{var n,a;let{prefixCls:m,placement:f="top",trigger:p="click",okType:d="primary",icon:g=r.createElement(o.Z,null),children:v,overlayClassName:y,onOpenChange:b,onVisibleChange:O}=e,$=E(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:x}=r.useContext(s.E_),[w,k]=(0,i.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(a=e.defaultOpen)&&void 0!==a?a:e.defaultVisible}),j=(e,t)=>{k(e,!0),null==O||O(e),null==b||b(e,t)},S=x("popconfirm",m),N=l()(S,y),[I]=h(S);return I(r.createElement(u.Z,Object.assign({},(0,c.Z)($,["title"]),{trigger:p,placement:f,onOpenChange:(t,n)=>{let{disabled:r=!1}=e;r||j(t,n)},open:w,ref:t,overlayClassName:N,content:r.createElement(C,Object.assign({okType:d,icon:g},e,{prefixCls:S,close:e=>{j(!1,e)},onConfirm:t=>{var n;return null===(n=e.onConfirm)||void 0===n?void 0:n.call(void 0,t)},onCancel:t=>{var n;j(!1,t),null===(n=e.onCancel)||void 0===n||n.call(void 0,t)}})),"data-popover-inject":!0}),v))});x._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,placement:n,className:o,style:a}=e,i=$(e,["prefixCls","placement","className","style"]),{getPrefixCls:c}=r.useContext(s.E_),u=c("popconfirm",t),[m]=h(u);return m(r.createElement(y.ZP,{placement:n,className:l()(u,o),style:a,content:r.createElement(C,Object.assign({prefixCls:u},i))}))};var w=x},10755:function(e,t,n){n.d(t,{Z:function(){return v}});var r=n(38497),o=n(26869),a=n.n(o),l=n(10469),i=n(42041),c=n(63346),s=n(80214);let u=r.createContext({latestIndex:0}),m=u.Provider;var f=e=>{let{className:t,index:n,children:o,split:a,style:l}=e,{latestIndex:i}=r.useContext(u);return null==o?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:l},o),nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let g=r.forwardRef((e,t)=>{var n,o,s;let{getPrefixCls:u,space:g,direction:v}=r.useContext(c.E_),{size:y=null!==(n=null==g?void 0:g.size)&&void 0!==n?n:"small",align:b,className:O,rootClassName:h,children:$,direction:C="horizontal",prefixCls:E,split:x,style:w,wrap:k=!1,classNames:j,styles:S}=e,N=d(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[I,Z]=Array.isArray(y)?y:[y,y],P=(0,i.n)(Z),M=(0,i.n)(I),T=(0,i.T)(Z),z=(0,i.T)(I),B=(0,l.Z)($,{keepEmpty:!0}),D=void 0===b&&"horizontal"===C?"center":b,R=u("space",E),[H,L,F]=(0,p.Z)(R),_=a()(R,null==g?void 0:g.className,L,`${R}-${C}`,{[`${R}-rtl`]:"rtl"===v,[`${R}-align-${D}`]:D,[`${R}-gap-row-${Z}`]:P,[`${R}-gap-col-${I}`]:M},O,h,F),A=a()(`${R}-item`,null!==(o=null==j?void 0:j.item)&&void 0!==o?o:null===(s=null==g?void 0:g.classNames)||void 0===s?void 0:s.item),V=0,W=B.map((e,t)=>{var n,o;null!=e&&(V=t);let a=(null==e?void 0:e.key)||`${A}-${t}`;return r.createElement(f,{className:A,key:a,index:t,split:x,style:null!==(n=null==S?void 0:S.item)&&void 0!==n?n:null===(o=null==g?void 0:g.styles)||void 0===o?void 0:o.item},e)}),K=r.useMemo(()=>({latestIndex:V}),[V]);if(0===B.length)return null;let q={};return k&&(q.flexWrap="wrap"),!M&&z&&(q.columnGap=I),!P&&T&&(q.rowGap=Z),H(r.createElement("div",Object.assign({ref:t,className:_,style:Object.assign(Object.assign(Object.assign({},q),null==g?void 0:g.style),w)},N),r.createElement(m,{value:K},W)))});g.Compact=s.ZP;var v=g},89641:function(e,t,n){n.d(t,{Z:function(){return E}});var r=n(38497),o=n(66767),a=n(55091),l=n(26869),i=n.n(l),c=n(66168),s=n(63346),u=n(64009),m=e=>{let t;let{value:n,formatter:o,precision:a,decimalSeparator:l,groupSeparator:i="",prefixCls:c}=e;if("function"==typeof o)t=o(n);else{let e=String(n),o=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(o&&"-"!==e){let e=o[1],n=o[2]||"0",s=o[4]||"";n=n.replace(/\B(?=(\d{3})+(?!\d))/g,i),"number"==typeof a&&(s=s.padEnd(a,"0").slice(0,a>0?a:0)),s&&(s=`${l}${s}`),t=[r.createElement("span",{key:"int",className:`${c}-content-value-int`},e,n),s&&r.createElement("span",{key:"decimal",className:`${c}-content-value-decimal`},s)]}else t=e}return r.createElement("span",{className:`${c}-content-value`},t)},f=n(60848),p=n(90102),d=n(74934);let g=e=>{let{componentCls:t,marginXXS:n,padding:r,colorTextDescription:o,titleFontSize:a,colorTextHeading:l,contentFontSize:i,fontFamily:c}=e;return{[t]:Object.assign(Object.assign({},(0,f.Wf)(e)),{[`${t}-title`]:{marginBottom:n,color:o,fontSize:a},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:l,fontSize:i,fontFamily:c,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}};var v=(0,p.I$)("Statistic",e=>{let t=(0,d.IX)(e,{});return[g(t)]},e=>{let{fontSizeHeading3:t,fontSize:n}=e;return{titleFontSize:n,contentFontSize:t}}),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},b=e=>{let{prefixCls:t,className:n,rootClassName:o,style:a,valueStyle:l,value:f=0,title:p,valueRender:d,prefix:g,suffix:b,loading:O=!1,formatter:h,precision:$,decimalSeparator:C=".",groupSeparator:E=",",onMouseEnter:x,onMouseLeave:w}=e,k=y(e,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:j,direction:S,statistic:N}=r.useContext(s.E_),I=j("statistic",t),[Z,P,M]=v(I),T=r.createElement(m,{decimalSeparator:C,groupSeparator:E,prefixCls:I,formatter:h,precision:$,value:f}),z=i()(I,{[`${I}-rtl`]:"rtl"===S},null==N?void 0:N.className,n,o,P,M),B=(0,c.Z)(k,{aria:!0,data:!0});return Z(r.createElement("div",Object.assign({},B,{className:z,style:Object.assign(Object.assign({},null==N?void 0:N.style),a),onMouseEnter:x,onMouseLeave:w}),p&&r.createElement("div",{className:`${I}-title`},p),r.createElement(u.Z,{paragraph:!1,loading:O,className:`${I}-skeleton`},r.createElement("div",{style:l,className:`${I}-content`},g&&r.createElement("span",{className:`${I}-content-prefix`},g),d?d(T):T,b&&r.createElement("span",{className:`${I}-content-suffix`},b)))))};let O=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];var h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let $=1e3/30;var C=r.memo(e=>{let{value:t,format:n="HH:mm:ss",onChange:l,onFinish:i}=e,c=h(e,["value","format","onChange","onFinish"]),s=(0,o.Z)(),u=r.useRef(null),m=()=>{null==i||i(),u.current&&(clearInterval(u.current),u.current=null)},f=()=>{let e=new Date(t).getTime();e>=Date.now()&&(u.current=setInterval(()=>{s(),null==l||l(e-Date.now()),e(f(),()=>{u.current&&(clearInterval(u.current),u.current=null)}),[t]),r.createElement(b,Object.assign({},c,{value:t,valueRender:e=>(0,a.Tm)(e,{title:void 0}),formatter:(e,t)=>(function(e,t){let{format:n=""}=t,r=new Date(e).getTime(),o=Date.now();return function(e,t){let n=e,r=/\[[^\]]*]/g,o=(t.match(r)||[]).map(e=>e.slice(1,-1)),a=t.replace(r,"[]"),l=O.reduce((e,t)=>{let[r,o]=t;if(e.includes(r)){let t=Math.floor(n/o);return n-=t*o,e.replace(RegExp(`${r}+`,"g"),e=>{let n=e.length;return t.toString().padStart(n,"0")})}return e},a),i=0;return l.replace(r,()=>{let e=o[i];return i+=1,e})}(Math.max(r-o,0),n)})(e,Object.assign(Object.assign({},t),{format:n}))}))});b.Countdown=C;var E=b},36647:function(e,t){t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},33445:function(e,t,n){n.d(t,{Fm:function(){return d}});var r=n(38083),o=n(60234);let a=new r.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new r.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),i=new r.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new r.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),s=new r.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=new r.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),m=new r.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),f=new r.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),p={"move-up":{inKeyframes:m,outKeyframes:f},"move-down":{inKeyframes:a,outKeyframes:l},"move-left":{inKeyframes:i,outKeyframes:c},"move-right":{inKeyframes:s,outKeyframes:u}},d=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:l}=p[t];return[(0,o.R)(r,a,l,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},27494:function(e,t,n){n.d(t,{N:function(){return r}});let r=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},49030:function(e,t,n){n.d(t,{Z:function(){return I}});var r=n(38497),o=n(26869),a=n.n(o),l=n(55598),i=n(55853),c=n(35883),s=n(55091),u=n(37243),m=n(63346),f=n(38083),p=n(51084),d=n(60848),g=n(74934),v=n(90102);let y=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o,calc:a}=e,l=a(r).sub(n).equal(),i=a(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,d.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,o=e.fontSizeSM,a=(0,g.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(r(e.lineHeightSM).mul(o).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},O=e=>({defaultBg:new p.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var h=(0,v.I$)("Tag",e=>{let t=b(e);return y(t)},O),$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let C=r.forwardRef((e,t)=>{let{prefixCls:n,style:o,className:l,checked:i,onChange:c,onClick:s}=e,u=$(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:p}=r.useContext(m.E_),d=f("tag",n),[g,v,y]=h(d),b=a()(d,`${d}-checkable`,{[`${d}-checkable-checked`]:i},null==p?void 0:p.className,l,v,y);return g(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==p?void 0:p.style),className:b,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var E=n(86553);let x=e=>(0,E.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:a,darkColor:l}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var w=(0,v.bk)(["Tag","preset"],e=>{let t=b(e);return x(t)},O);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var j=(0,v.bk)(["Tag","status"],e=>{let t=b(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},O),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let N=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:f,style:p,children:d,icon:g,color:v,onClose:y,bordered:b=!0,visible:O}=e,$=S(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:C,direction:E,tag:x}=r.useContext(m.E_),[k,N]=r.useState(!0),I=(0,l.Z)($,["closeIcon","closable"]);r.useEffect(()=>{void 0!==O&&N(O)},[O]);let Z=(0,i.o2)(v),P=(0,i.yT)(v),M=Z||P,T=Object.assign(Object.assign({backgroundColor:v&&!M?v:void 0},null==x?void 0:x.style),p),z=C("tag",n),[B,D,R]=h(z),H=a()(z,null==x?void 0:x.className,{[`${z}-${v}`]:M,[`${z}-has-color`]:v&&!M,[`${z}-hidden`]:!k,[`${z}-rtl`]:"rtl"===E,[`${z}-borderless`]:!b},o,f,D,R),L=e=>{e.stopPropagation(),null==y||y(e),e.defaultPrevented||N(!1)},[,F]=(0,c.Z)((0,c.w)(e),(0,c.w)(x),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${z}-close-icon`,onClick:L},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),L(t)},className:a()(null==e?void 0:e.className,`${z}-close-icon`)}))}}),_="function"==typeof $.onClick||d&&"a"===d.type,A=g||null,V=A?r.createElement(r.Fragment,null,A,d&&r.createElement("span",null,d)):d,W=r.createElement("span",Object.assign({},I,{ref:t,className:H,style:T}),V,F,Z&&r.createElement(w,{key:"preset",prefixCls:z}),P&&r.createElement(j,{key:"status",prefixCls:z}));return B(_?r.createElement(u.Z,{component:"Tag"},W):W)});N.CheckableTag=C;var I=N},94280:function(e,t,n){n.d(t,{G:function(){return l}});var r=n(18943),o=function(e){if((0,r.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},a=function(e,t){if(!o(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function l(e,t){return Array.isArray(e)||void 0===t?o(e):a(e,t)}},8874:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e){if(null==e)throw TypeError("Cannot destructure "+e)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7463-81c14ac9355236b3.js b/dbgpt/app/static/web/_next/static/chunks/7463-81c14ac9355236b3.js deleted file mode 100644 index 9fbe20a24..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/7463-81c14ac9355236b3.js +++ /dev/null @@ -1,21 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7463],{25951:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),a=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},o=n(75651),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},39811:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),a=n(38497),i={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},o=n(75651),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},65242:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),a=n(38497),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 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},o=n(75651),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},38970:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),a=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},o=n(75651),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},56010:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),a=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},o=n(75651),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},86776:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(38497),a=n(86944),i=n(26869),o=n.n(i),s=n(42096),l=n(72991),c=n(65347),u=n(14433),d=n(77757),p=n(89842),m=n(10921),g=n(10469),f=n(65148),h=n(53979),b=n(16956),E=r.forwardRef(function(e,t){var n=e.prefixCls,a=e.forceRender,i=e.className,s=e.style,l=e.children,u=e.isActive,d=e.role,p=r.useState(u||a),m=(0,c.Z)(p,2),g=m[0],h=m[1];return(r.useEffect(function(){(a||u)&&h(!0)},[a,u]),g)?r.createElement("div",{ref:t,className:o()("".concat(n,"-content"),(0,f.Z)((0,f.Z)({},"".concat(n,"-content-active"),u),"".concat(n,"-content-inactive"),!u),i),style:s,role:d},r.createElement("div",{className:"".concat(n,"-content-box")},l)):null});E.displayName="PanelContent";var T=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],S=r.forwardRef(function(e,t){var n=e.showArrow,a=void 0===n||n,i=e.headerClass,l=e.isActive,c=e.onItemClick,u=e.forceRender,d=e.className,p=e.prefixCls,g=e.collapsible,S=e.accordion,y=e.panelKey,A=e.extra,_=e.header,k=e.expandIcon,N=e.openMotion,C=e.destroyInactivePanel,I=e.children,R=(0,m.Z)(e,T),v="disabled"===g,O="header"===g,w="icon"===g,x=null!=A&&"boolean"!=typeof A,L=function(){null==c||c(y)},D="function"==typeof k?k(e):r.createElement("i",{className:"arrow"});D&&(D=r.createElement("div",{className:"".concat(p,"-expand-icon"),onClick:["header","icon"].includes(g)?L:void 0},D));var P=o()((0,f.Z)((0,f.Z)((0,f.Z)({},"".concat(p,"-item"),!0),"".concat(p,"-item-active"),l),"".concat(p,"-item-disabled"),v),d),M={className:o()(i,(0,f.Z)((0,f.Z)((0,f.Z)({},"".concat(p,"-header"),!0),"".concat(p,"-header-collapsible-only"),O),"".concat(p,"-icon-collapsible-only"),w)),"aria-expanded":l,"aria-disabled":v,onKeyDown:function(e){("Enter"===e.key||e.keyCode===b.Z.ENTER||e.which===b.Z.ENTER)&&L()}};return O||w||(M.onClick=L,M.role=S?"tab":"button",M.tabIndex=v?-1:0),r.createElement("div",(0,s.Z)({},R,{ref:t,className:P}),r.createElement("div",M,a&&D,r.createElement("span",{className:"".concat(p,"-header-text"),onClick:"header"===g?L:void 0},_),x&&r.createElement("div",{className:"".concat(p,"-extra")},A)),r.createElement(h.ZP,(0,s.Z)({visible:l,leavedClassName:"".concat(p,"-content-hidden")},N,{forceRender:u,removeOnLeave:C}),function(e,t){var n=e.className,a=e.style;return r.createElement(E,{ref:t,prefixCls:p,className:n,style:a,isActive:l,forceRender:u,role:S?"tabpanel":void 0},I)}))}),y=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],A=function(e,t){var n=t.prefixCls,a=t.accordion,i=t.collapsible,o=t.destroyInactivePanel,l=t.onItemClick,c=t.activeKey,u=t.openMotion,d=t.expandIcon;return e.map(function(e,t){var p=e.children,g=e.label,f=e.key,h=e.collapsible,b=e.onItemClick,E=e.destroyInactivePanel,T=(0,m.Z)(e,y),A=String(null!=f?f:t),_=null!=h?h:i,k=!1;return k=a?c[0]===A:c.indexOf(A)>-1,r.createElement(S,(0,s.Z)({},T,{prefixCls:n,key:A,panelKey:A,isActive:k,accordion:a,openMotion:u,expandIcon:d,header:g,collapsible:_,onItemClick:function(e){"disabled"!==_&&(l(e),null==b||b(e))},destroyInactivePanel:null!=E?E:o}),p)})},_=function(e,t,n){if(!e)return null;var a=n.prefixCls,i=n.accordion,o=n.collapsible,s=n.destroyInactivePanel,l=n.onItemClick,c=n.activeKey,u=n.openMotion,d=n.expandIcon,p=e.key||String(t),m=e.props,g=m.header,f=m.headerClass,h=m.destroyInactivePanel,b=m.collapsible,E=m.onItemClick,T=!1;T=i?c[0]===p:c.indexOf(p)>-1;var S=null!=b?b:o,y={key:p,panelKey:p,header:g,headerClass:f,isActive:T,prefixCls:a,destroyInactivePanel:null!=h?h:s,openMotion:u,accordion:i,children:e.props.children,onItemClick:function(e){"disabled"!==S&&(l(e),null==E||E(e))},expandIcon:d,collapsible:S};return"string"==typeof e.type?e:(Object.keys(y).forEach(function(e){void 0===y[e]&&delete y[e]}),r.cloneElement(e,y))},k=n(66168);function N(e){var t=e;if(!Array.isArray(t)){var n=(0,u.Z)(t);t="number"===n||"string"===n?[t]:[]}return t.map(function(e){return String(e)})}var C=Object.assign(r.forwardRef(function(e,t){var n,a=e.prefixCls,i=void 0===a?"rc-collapse":a,u=e.destroyInactivePanel,m=e.style,f=e.accordion,h=e.className,b=e.children,E=e.collapsible,T=e.openMotion,S=e.expandIcon,y=e.activeKey,C=e.defaultActiveKey,I=e.onChange,R=e.items,v=o()(i,h),O=(0,d.Z)([],{value:y,onChange:function(e){return null==I?void 0:I(e)},defaultValue:C,postState:N}),w=(0,c.Z)(O,2),x=w[0],L=w[1];(0,p.ZP)(!b,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var D=(n={prefixCls:i,accordion:f,openMotion:T,expandIcon:S,collapsible:E,destroyInactivePanel:void 0!==u&&u,onItemClick:function(e){return L(function(){return f?x[0]===e?[]:[e]:x.indexOf(e)>-1?x.filter(function(t){return t!==e}):[].concat((0,l.Z)(x),[e])})},activeKey:x},Array.isArray(R)?A(R,n):(0,g.Z)(b).map(function(e,t){return _(e,t,n)}));return r.createElement("div",(0,s.Z)({ref:t,className:v,style:m,role:f?"tablist":void 0},(0,k.Z)(e,{aria:!0,data:!0})),D)}),{Panel:S});C.Panel;var I=n(55598),R=n(17383),v=n(55091),O=n(63346),w=n(82014);let x=r.forwardRef((e,t)=>{let{getPrefixCls:n}=r.useContext(O.E_),{prefixCls:a,className:i,showArrow:s=!0}=e,l=n("collapse",a),c=o()({[`${l}-no-arrow`]:!s},i);return r.createElement(C.Panel,Object.assign({ref:t},e,{prefixCls:l,className:c}))});var L=n(72178),D=n(60848),P=n(36647),M=n(90102),F=n(74934);let U=e=>{let{componentCls:t,contentBg:n,padding:r,headerBg:a,headerPadding:i,collapseHeaderPaddingSM:o,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:l,lineWidth:c,lineType:u,colorBorder:d,colorText:p,colorTextHeading:m,colorTextDisabled:g,fontSizeLG:f,lineHeight:h,lineHeightLG:b,marginSM:E,paddingSM:T,paddingLG:S,paddingXS:y,motionDurationSlow:A,fontSizeIcon:_,contentPadding:k,fontHeight:N,fontHeightLG:C}=e,I=`${(0,L.bf)(c)} ${u} ${d}`;return{[t]:Object.assign(Object.assign({},(0,D.Wf)(e)),{backgroundColor:a,border:I,borderRadius:l,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:I,"&:last-child":{[` - &, - & > ${t}-header`]:{borderRadius:`0 0 ${(0,L.bf)(l)} ${(0,L.bf)(l)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:m,lineHeight:h,cursor:"pointer",transition:`all ${A}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:N,display:"flex",alignItems:"center",paddingInlineEnd:E},[`${t}-arrow`]:Object.assign(Object.assign({},(0,D.Ro)()),{fontSize:_,transition:`transform ${A}`,svg:{transition:`transform ${A}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:p,backgroundColor:n,borderTop:I,[`& > ${t}-content-box`]:{padding:k},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:y,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(T).sub(y).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:T}}},"&-large":{[`> ${t}-item`]:{fontSize:f,lineHeight:b,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:C,marginInlineStart:e.calc(S).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:S}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,L.bf)(l)} ${(0,L.bf)(l)}`}},[`& ${t}-item-disabled > ${t}-header`]:{[` - &, - & > .arrow - `]:{color:g,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:E}}}}})}},B=e=>{let{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},H=e=>{let{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` - > ${t}-item:last-child, - > ${t}-item:last-child ${t}-header - `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},G=e=>{let{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}};var $=(0,M.I$)("Collapse",e=>{let t=(0,F.IX)(e,{collapseHeaderPaddingSM:`${(0,L.bf)(e.paddingXS)} ${(0,L.bf)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,L.bf)(e.padding)} ${(0,L.bf)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[U(t),H(t),G(t),B(t),(0,P.Z)(t)]},e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}));let z=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:i,collapse:s}=r.useContext(O.E_),{prefixCls:l,className:c,rootClassName:u,style:d,bordered:p=!0,ghost:m,size:f,expandIconPosition:h="start",children:b,expandIcon:E}=e,T=(0,w.Z)(e=>{var t;return null!==(t=null!=f?f:e)&&void 0!==t?t:"middle"}),S=n("collapse",l),y=n(),[A,_,k]=$(S),N=r.useMemo(()=>"left"===h?"start":"right"===h?"end":h,[h]),x=null!=E?E:null==s?void 0:s.expandIcon,L=r.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="function"==typeof x?x(e):r.createElement(a.Z,{rotate:e.isActive?90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,v.Tm)(t,()=>{var e;return{className:o()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,`${S}-arrow`)}})},[x,S]),D=o()(`${S}-icon-position-${N}`,{[`${S}-borderless`]:!p,[`${S}-rtl`]:"rtl"===i,[`${S}-ghost`]:!!m,[`${S}-${T}`]:"middle"!==T},null==s?void 0:s.className,c,u,_,k),P=Object.assign(Object.assign({},(0,R.Z)(y)),{motionAppear:!1,leavedClassName:`${S}-content-hidden`}),M=r.useMemo(()=>b?(0,g.Z)(b).map((e,t)=>{var n,r;if(null===(n=e.props)||void 0===n?void 0:n.disabled){let n=null!==(r=e.key)&&void 0!==r?r:String(t),{disabled:a,collapsible:i}=e.props,o=Object.assign(Object.assign({},(0,I.Z)(e.props,["disabled"])),{key:n,collapsible:null!=i?i:a?"disabled":void 0});return(0,v.Tm)(e,o)}return e}):null,[b]);return A(r.createElement(C,Object.assign({ref:t,openMotion:P},(0,I.Z)(e,["rootClassName"]),{expandIcon:L,prefixCls:S,className:D,style:Object.assign(Object.assign({},null==s?void 0:s.style),d)}),M))});var j=Object.assign(z,{Panel:x})},17148:function(e,t,n){"use strict";n.d(t,{Z:function(){return eC}});var r=n(38497),a=n(32982),i=n(26869),o=n.n(i),s=n(42096),l=n(4247),c=n(65148),u=n(65347),d=n(14433),p=n(10921),m=n(16213),g=n(77757),f=n(57506),h=n(93941),b=n(16956),E=n(83367),T=n(53979),S=r.createContext(null),y=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,m=e.showProgress,g=e.current,f=e.transform,h=e.count,y=e.scale,A=e.minScale,_=e.maxScale,k=e.closeIcon,N=e.onSwitchLeft,C=e.onSwitchRight,I=e.onClose,R=e.onZoomIn,v=e.onZoomOut,O=e.onRotateRight,w=e.onRotateLeft,x=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,U=(0,r.useContext)(S),B=u.rotateLeft,H=u.rotateRight,G=u.zoomIn,$=u.zoomOut,z=u.close,j=u.left,V=u.right,W=u.flipX,K=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&I()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:K,onClick:L,type:"flipY"},{icon:W,onClick:x,type:"flipX"},{icon:B,onClick:w,type:"rotateLeft"},{icon:H,onClick:O,type:"rotateRight"},{icon:$,onClick:v,type:"zoomOut",disabled:y<=A},{icon:G,onClick:R,type:"zoomIn",disabled:y===_}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),Z=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(T.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(E.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===k?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:I},k||z),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===g)),onClick:N},j),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),g===h-1)),onClick:C},V)),r.createElement("div",{className:"".concat(i,"-footer")},m&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(g+1,h):"".concat(g+1," / ").concat(h)),P?P(Z,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:x,onRotateLeft:w,onRotateRight:O,onZoomOut:v,onZoomIn:R,onReset:D,onClose:I},transform:f},U?{current:g,total:h}:{}),{},{image:F})):Z)))})},A=n(9671),_=n(25043),k={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},N=n(89842);function C(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function I(e,t,n,r){var a=(0,m.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},C("x",n,e,i)),C("y",r,t,o))),s}function R(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function v(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var O=["fallback","src","imgRef"],w=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],x=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,O),o=R({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,g,E,T,C,R,O,L,D,P,M,F,U,B,H,G,$,z,j,V,W,K,Y,q,Z=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,em=e.countRender,eg=e.scaleStep,ef=void 0===eg?.5:eg,eh=e.minScale,eb=void 0===eh?1:eh,eE=e.maxScale,eT=void 0===eE?50:eE,eS=e.transitionName,ey=e.maskTransitionName,eA=void 0===ey?"fade":ey,e_=e.imageRender,ek=e.imgCommonProps,eN=e.toolbarRender,eC=e.onTransform,eI=e.onChange,eR=(0,p.Z)(e,w),ev=(0,r.useRef)(),eO=(0,r.useContext)(S),ew=eO&&ep>1,ex=eO&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(k),d=(i=(0,u.Z)(a,2))[0],g=i[1],E=function(e,r){null===t.current&&(n.current=[],t.current=(0,_.Z)(function(){g(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==eC||eC({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){g(k),(0,A.Z)(k,d)||null==eC||eC({transform:k,action:e})},updateTransform:E,dispatchZoomChange:function(e,t,n,r,a){var i=ev.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,g=e,f=d.scale*e;f>eT?(f=eT,g=eT/d.scale):f0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),ez=e$.isMoving,ej=e$.onMouseDown,eV=e$.onWheel,eW=(H=eU.rotate,G=eU.scale,$=eU.x,z=eU.y,j=(0,r.useState)(!1),W=(V=(0,u.Z)(j,2))[0],K=V[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,h.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),K(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-$,y:n[0].clientY-z},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=v(e,n),i=v(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],m=d[1];eG(v(s,l)/v(a,i),"touchZoom",p,m,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eH({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&K(!1),q({eventType:"none"}),eb>G)return eH({x:0,y:0,scale:eb},"touchZoom");var e=ev.current.offsetWidth*G,t=ev.current.offsetHeight*G,n=ev.current.getBoundingClientRect(),r=n.left,a=n.top,i=H%180!=0,o=I(i?t:e,i?e:t,r,a);o&&eH((0,l.Z)({},o),"dragRebound")}}}),eK=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eZ=eW.onTouchEnd,eX=eU.rotate,eQ=eU.scale,eJ=o()((0,c.Z)({},"".concat(Z,"-moving"),ez));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),eB("prev"),null==eI||eI(eu-1,eu))},e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),ef=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new es.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ec.vS),{padding:`0 ${(0,eo.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},eh=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new es.C(n).setAlpha(.1),m=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:m.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,eo.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},eb=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new es.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},eE=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},eg()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},eg()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[eh(e),eb(e)]}]},eT=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},ef(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},eg())}}},eS=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,eu._y)(e,"zoom"),"&":(0,ed.J$)(e,!0)}};var ey=(0,ep.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,em.IX)(e,{previewCls:t,modalMaskBg:new es.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eT(n),eE(n),(0,el.QA)((0,em.IX)(n,{componentCls:t})),eS(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new es.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new es.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new es.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let e_={rotateLeft:r.createElement(Q,null),rotateRight:r.createElement(ee,null),zoomIn:r.createElement(er,null),zoomOut:r.createElement(ei,null),close:r.createElement(K.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(et.Z,null),flipY:r.createElement(et.Z,{rotate:90})};var ek=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let eN=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=ek(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:m,image:g}=r.useContext(j.E_),f=d("image",n),h=d(),b=p.Image||W.Z.Image,E=(0,V.Z)(f),[T,S,y]=ey(f,E),A=o()(l,S,y,E),_=o()(s,S,null==g?void 0:g.className),[k]=(0,$.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),N=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=ek(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${f}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:e_},s),{getContainer:null!=n?n:m,transitionName:(0,z.m)(h,"zoom",t.transitionName),maskTransitionName:(0,z.m)(h,"fade",t.maskTransitionName),zIndex:k,closeIcon:null!=o?o:null===(e=null==g?void 0:g.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==g?void 0:g.preview)||void 0===t?void 0:t.closeIcon]),C=Object.assign(Object.assign({},null==g?void 0:g.style),c);return T(r.createElement(G,Object.assign({prefixCls:f,preview:N,rootClassName:A,className:_,style:C},u)))};eN.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eA(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(j.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,V.Z)(s),[d,p,m]=ey(s,u),[g]=(0,$.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),f=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,m,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,z.m)(c,"zoom",t.transitionName),maskTransitionName:(0,z.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:g})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:f,previewPrefixCls:l,icons:e_},a)))};var eC=eN},14373:function(e,t){"use strict";t.Q=function(e){for(var t,n=[],r=String(e||""),a=r.indexOf(","),i=0,o=!1;!o;)-1===a&&(a=r.length,o=!0),((t=r.slice(i,a).trim())||!o)&&n.push(t),i=a+1,a=r.indexOf(",",i);return n}},38979:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,a=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(a)return a(e,n).value}return e[n]};e.exports=function e(){var t,n,r,a,c,u,d=arguments[0],p=1,m=arguments.length,g=!1;for("boolean"==typeof d&&(g=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p=97&&t<=122||t>=65&&t<=90}},27409:function(e,t,n){"use strict";var r=n(7466),a=n(75227);e.exports=function(e){return r(e)||a(e)}},79264:function(e){/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh - * @license MIT - */e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},75227:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},20042:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},91278:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r,a,i=n(10921),o=n(72991),s=n(65148),l=n(38497),c=n(42096);function u(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 d(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n=e.join(".");return p[n]||(p[n]=0===(t=e.length)||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0),p[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return d(d({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===a?{}:a),r)})}else h=d(d({},s),{},{className:s.className.join(" ")});var y=b(n.children);return l.createElement(m,(0,c.Z)({key:o},h),y)}}({node:e,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(t)})})}function A(e){return e&&void 0!==e.highlightAuto}var _=n(21435),k=(r=n.n(_)(),a={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,s=e.style,c=void 0===s?a:s,u=e.customStyle,d=void 0===u?{}:u,p=e.codeTagProps,g=void 0===p?{className:t?"language-".concat(t):void 0,style:f(f({},c['code[class*="language-"]']),c['code[class*="language-'.concat(t,'"]')])}:p,_=e.useInlineStyles,k=void 0===_||_,N=e.showLineNumbers,C=void 0!==N&&N,I=e.showInlineLineNumbers,R=void 0===I||I,v=e.startingLineNumber,O=void 0===v?1:v,w=e.lineNumberContainerStyle,x=e.lineNumberStyle,L=void 0===x?{}:x,D=e.wrapLines,P=e.wrapLongLines,M=void 0!==P&&P,F=e.lineProps,U=void 0===F?{}:F,B=e.renderer,H=e.PreTag,G=void 0===H?"pre":H,$=e.CodeTag,z=void 0===$?"code":$,j=e.code,V=void 0===j?(Array.isArray(n)?n[0]:n)||"":j,W=e.astGenerator,K=(0,i.Z)(e,m);W=W||r;var Y=C?l.createElement(b,{containerStyle:w,codeStyle:g.style||{},numberStyle:L,startingLineNumber:O,codeString:V}):null,q=c.hljs||c['pre[class*="language-"]']||{backgroundColor:"#fff"},Z=A(W)?"hljs":"prismjs",X=k?Object.assign({},K,{style:Object.assign({},q,d)}):Object.assign({},K,{className:K.className?"".concat(Z," ").concat(K.className):Z,style:Object.assign({},d)});if(M?g.style=f(f({},g.style),{},{whiteSpace:"pre-wrap"}):g.style=f(f({},g.style),{},{whiteSpace:"pre"}),!W)return l.createElement(G,X,Y,l.createElement(z,g,V));(void 0===D&&B||M)&&(D=!0),B=B||y;var Q=[{type:"text",value:V}],J=function(e){var t=e.astGenerator,n=e.language,r=e.code,a=e.defaultCodeValue;if(A(t)){var i=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:a,language:"text"}:i?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:a}}catch(e){return{value:a}}}({astGenerator:W,language:t,code:V,defaultCodeValue:Q});null===J.language&&(J.value=Q);var ee=J.value.length+O,et=function(e,t,n,r,a,i,s,l,c){var u,d=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return S({children:e,lineNumber:t,lineNumberStyle:l,largestLineNumber:s,showInlineLineNumbers:a,lineProps:n,className:i,showLineNumbers:r,wrapLongLines:c})}(e,i,o):function(e,t){if(r&&t&&a){var n=T(l,t,s);e.unshift(E(t,n))}return e}(e,i)}for(;g code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}},81466:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}},12772:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}}},22895:function(e){"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==r&&n}},47830:function(e,t,n){"use strict";var r=n(37093),a=n(32189),i=n(75227),o=n(20042),s=n(27409),l=n(22895);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),p)n=t[i],o[i]=null==n?p[i]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,i,o,p,T,S,y,A,_,k,N,C,I,R,v,O,w,x,L,D,P,M=t.additional,F=t.nonTerminated,U=t.text,B=t.reference,H=t.warning,G=t.textContext,$=t.referenceContext,z=t.warningContext,j=t.position,V=t.indent||[],W=e.length,K=0,Y=-1,q=j.column||1,Z=j.line||1,X="",Q=[];for("string"==typeof M&&(M=M.charCodeAt(0)),x=J(),k=H?function(e,t){var n=J();n.column+=t,n.offset+=t,H.call(z,E[e],n,e)}:d,K--,W++;++K=55296&&n<=57343||n>1114111?(k(7,D),A=u(65533)):A in a?(k(6,D),A=a[A]):(C="",((i=A)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&k(6,D),A>65535&&(A-=65536,C+=u(A>>>10|55296),A=56320|1023&A),A=C+u(A))):O!==m&&k(4,D)),A?(ee(),x=J(),K=P-1,q+=P-v+1,Q.push(A),L=J(),L.offset++,B&&B.call($,A,{start:x,end:L},e.slice(v-1,P)),x=L):(X+=S=e.slice(v-1,P),q+=S.length,K=P-1)}else 10===y&&(Z++,Y++,q=0),y==y?(X+=u(y),q++):ee();return Q.join("");function J(){return{line:Z,column:q,offset:K+(j.offset||0)}}function ee(){X&&(Q.push(X),U&&U.call(G,X,{start:x,end:J()}),X="")}}(e,o)};var c={}.hasOwnProperty,u=String.fromCharCode,d=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},m="named",g="hexadecimal",f="decimal",h={};h[g]=16,h[f]=10;var b={};b[m]=s,b[f]=i,b[g]=o;var E={};E[1]="Named character references must be terminated by a semicolon",E[2]="Numeric character references must be terminated by a semicolon",E[3]="Named character references cannot be empty",E[4]="Numeric character references cannot be empty",E[5]="Named character references must be known",E[6]="Numeric character references cannot be disallowed",E[7]="Numeric character references cannot be outside the permissible Unicode range"},96243:function(e,t,n){"use strict";let{DOCUMENT_MODE:r}=n(54640),a="html",i=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],o=i.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),s=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],l=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],c=l.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function u(e){let t=-1!==e.indexOf('"')?"'":'"';return t+e+t}function d(e,t){for(let n=0;n-1)return r.QUIRKS;let e=null===t?o:i;if(d(n,e))return r.QUIRKS;if(d(n,e=null===t?l:c))return r.LIMITED_QUIRKS}return r.NO_QUIRKS},t.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+u(t):n&&(r+=" SYSTEM"),null!==n&&(r+=" "+u(n)),r}},59920:function(e){"use strict";e.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}},33805:function(e,t,n){"use strict";let r=n(12005),a=n(54640),i=a.TAG_NAMES,o=a.NAMESPACES,s=a.ATTRS,l={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},c={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},u={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:o.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:o.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:o.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:o.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:o.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:o.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:o.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:o.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:o.XML},"xml:space":{prefix:"xml",name:"space",namespace:o.XML},xmlns:{prefix:"",name:"xmlns",namespace:o.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:o.XMLNS}},d=t.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},p={[i.B]:!0,[i.BIG]:!0,[i.BLOCKQUOTE]:!0,[i.BODY]:!0,[i.BR]:!0,[i.CENTER]:!0,[i.CODE]:!0,[i.DD]:!0,[i.DIV]:!0,[i.DL]:!0,[i.DT]:!0,[i.EM]:!0,[i.EMBED]:!0,[i.H1]:!0,[i.H2]:!0,[i.H3]:!0,[i.H4]:!0,[i.H5]:!0,[i.H6]:!0,[i.HEAD]:!0,[i.HR]:!0,[i.I]:!0,[i.IMG]:!0,[i.LI]:!0,[i.LISTING]:!0,[i.MENU]:!0,[i.META]:!0,[i.NOBR]:!0,[i.OL]:!0,[i.P]:!0,[i.PRE]:!0,[i.RUBY]:!0,[i.S]:!0,[i.SMALL]:!0,[i.SPAN]:!0,[i.STRONG]:!0,[i.STRIKE]:!0,[i.SUB]:!0,[i.SUP]:!0,[i.TABLE]:!0,[i.TT]:!0,[i.U]:!0,[i.UL]:!0,[i.VAR]:!0};t.causesExit=function(e){let t=e.tagName,n=t===i.FONT&&(null!==r.getTokenAttr(e,s.COLOR)||null!==r.getTokenAttr(e,s.SIZE)||null!==r.getTokenAttr(e,s.FACE));return!!n||p[t]},t.adjustTokenMathMLAttrs=function(e){for(let t=0;t=55296&&e<=57343},t.isSurrogatePair=function(e){return e>=56320&&e<=57343},t.getSurrogatePairCodePoint=function(e,t){return(e-55296)*1024+9216+t},t.isControlCodePoint=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},t.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||n.indexOf(e)>-1}},66607:function(e,t,n){"use strict";let r=n(97379);e.exports=class extends r{constructor(e,t){super(e),this.posTracker=null,this.onParseError=t.onParseError}_setErrorLocation(e){e.startLine=e.endLine=this.posTracker.line,e.startCol=e.endCol=this.posTracker.col,e.startOffset=e.endOffset=this.posTracker.offset}_reportError(e){let t={code:e,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(t),this.onParseError(t)}_getOverriddenMethods(e){return{_err(t){e._reportError(t)}}}}},77796:function(e,t,n){"use strict";let r=n(66607),a=n(74173),i=n(25731),o=n(97379);e.exports=class extends r{constructor(e,t){super(e,t),this.opts=t,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(e){this.ctLoc&&(e.startLine=this.ctLoc.startLine,e.startCol=this.ctLoc.startCol,e.startOffset=this.ctLoc.startOffset,e.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,e.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,e.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),o.install(this.tokenizer,a,e.opts),o.install(this.tokenizer,i)},_processInputToken(n){e.ctLoc=n.location,t._processInputToken.call(this,n)},_err(t,n){e.locBeforeToken=n&&n.beforeToken,e._reportError(t)}}}}},34277:function(e,t,n){"use strict";let r=n(66607),a=n(82107),i=n(97379);e.exports=class extends r{constructor(e,t){super(e,t),this.posTracker=i.install(e,a),this.lastErrOffset=-1}_reportError(e){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(e))}}},74173:function(e,t,n){"use strict";let r=n(66607),a=n(34277),i=n(97379);e.exports=class extends r{constructor(e,t){super(e,t);let n=i.install(e.preprocessor,a,t);this.posTracker=n.posTracker}}},43377:function(e,t,n){"use strict";let r=n(97379);e.exports=class extends r{constructor(e,t){super(e),this.onItemPop=t.onItemPop}_getOverriddenMethods(e,t){return{pop(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement(){for(let t=this.stackTop;t>0;t--)e.onItemPop(this.items[t]);t.popAllUpToHtmlElement.call(this)},remove(n){e.onItemPop(this.current),t.remove.call(this,n)}}}}},27760:function(e,t,n){"use strict";let r=n(97379),a=n(12005),i=n(25731),o=n(43377),s=n(54640),l=s.TAG_NAMES;e.exports=class extends r{constructor(e){super(e),this.parser=e,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(e){let t=null;this.lastStartTagToken&&((t=Object.assign({},this.lastStartTagToken.location)).startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(e,t)}_setEndLocation(e,t){let n=this.treeAdapter.getNodeSourceCodeLocation(e);if(n&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===a.END_TAG_TOKEN&&r===t.tagName,o={};i?(o.endTag=Object.assign({},n),o.endLine=n.endLine,o.endCol=n.endCol,o.endOffset=n.endOffset):(o.endLine=n.startLine,o.endCol=n.startCol,o.endOffset=n.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}_getOverriddenMethods(e,t){return{_bootstrap(n,a){t._bootstrap.call(this,n,a),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null;let s=r.install(this.tokenizer,i);e.posTracker=s.posTracker,r.install(this.openElements,o,{onItemPop:function(t){e._setEndLocation(t,e.currentToken)}})},_runParsingLoop(n){t._runParsingLoop.call(this,n);for(let t=this.openElements.stackTop;t>=0;t--)e._setEndLocation(this.openElements.items[t],e.currentToken)},_processTokenInForeignContent(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken(n){e.currentToken=n,t._processToken.call(this,n);let r=n.type===a.END_TAG_TOKEN&&(n.tagName===l.HTML||n.tagName===l.BODY&&this.openElements.hasInScope(l.BODY));if(r)for(let t=this.openElements.stackTop;t>=0;t--){let r=this.openElements.items[t];if(this.treeAdapter.getTagName(r)===n.tagName){e._setEndLocation(r,n);break}}},_setDocumentType(e){t._setDocumentType.call(this,e);let n=this.treeAdapter.getChildNodes(this.document),r=n.length;for(let t=0;t{let i=a.MODE[r];n[i]=function(n){e.ctLoc=e._getCurrentLocation(),t[i].call(this,n)}}),n}}},82107:function(e,t,n){"use strict";let r=n(97379);e.exports=class extends r{constructor(e){super(e),this.preprocessor=e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(e,t){return{advance(){let n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),("\n"===r||"\r"===r&&"\n"!==this.html[n+1])&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk(){let n=this.pos;t.dropParsedChunk.call(this);let r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}}},57449:function(e){"use strict";class t{constructor(e){this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}_getNoahArkConditionCandidates(e){let n=[];if(this.length>=3){let r=this.treeAdapter.getAttrList(e).length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=this.length-1;e>=0;e--){let o=this.entries[e];if(o.type===t.MARKER_ENTRY)break;let s=o.element,l=this.treeAdapter.getAttrList(s),c=this.treeAdapter.getTagName(s)===a&&this.treeAdapter.getNamespaceURI(s)===i&&l.length===r;c&&n.push({idx:e,attrs:l})}}return n.length<3?[]:n}_ensureNoahArkCondition(e){let t=this._getNoahArkConditionCandidates(e),n=t.length;if(n){let r=this.treeAdapter.getAttrList(e),a=r.length,i=Object.create(null);for(let e=0;e=2;e--)this.entries.splice(t[e].idx,1),this.length--}}insertMarker(){this.entries.push({type:t.MARKER_ENTRY}),this.length++}pushElement(e,n){this._ensureNoahArkCondition(e),this.entries.push({type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}insertElementAfterBookmark(e,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){for(;this.length;){let e=this.entries.pop();if(this.length--,e.type===t.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(e){for(let n=this.length-1;n>=0;n--){let r=this.entries[n];if(r.type===t.MARKER_ENTRY)break;if(this.treeAdapter.getTagName(r.element)===e)return r}return null}getElementEntry(e){for(let n=this.length-1;n>=0;n--){let r=this.entries[n];if(r.type===t.ELEMENT_ENTRY&&r.element===e)return r}return null}}t.MARKER_ENTRY="MARKER_ENTRY",t.ELEMENT_ENTRY="ELEMENT_ENTRY",e.exports=t},80680:function(e,t,n){"use strict";let r=n(12005),a=n(54244),i=n(57449),o=n(27760),s=n(77796),l=n(97379),c=n(26840),u=n(70749),d=n(96243),p=n(33805),m=n(59920),g=n(62531),f=n(54640),h=f.TAG_NAMES,b=f.NAMESPACES,E=f.ATTRS,T={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:c},S="hidden",y="INITIAL_MODE",A="BEFORE_HTML_MODE",_="BEFORE_HEAD_MODE",k="IN_HEAD_MODE",N="IN_HEAD_NO_SCRIPT_MODE",C="AFTER_HEAD_MODE",I="IN_BODY_MODE",R="TEXT_MODE",v="IN_TABLE_MODE",O="IN_TABLE_TEXT_MODE",w="IN_CAPTION_MODE",x="IN_COLUMN_GROUP_MODE",L="IN_TABLE_BODY_MODE",D="IN_ROW_MODE",P="IN_CELL_MODE",M="IN_SELECT_MODE",F="IN_SELECT_IN_TABLE_MODE",U="IN_TEMPLATE_MODE",B="AFTER_BODY_MODE",H="IN_FRAMESET_MODE",G="AFTER_FRAMESET_MODE",$="AFTER_AFTER_BODY_MODE",z="AFTER_AFTER_FRAMESET_MODE",j={[h.TR]:D,[h.TBODY]:L,[h.THEAD]:L,[h.TFOOT]:L,[h.CAPTION]:w,[h.COLGROUP]:x,[h.TABLE]:v,[h.BODY]:I,[h.FRAMESET]:H},V={[h.CAPTION]:v,[h.COLGROUP]:v,[h.TBODY]:v,[h.TFOOT]:v,[h.THEAD]:v,[h.COL]:x,[h.TR]:L,[h.TD]:D,[h.TH]:D},W={[y]:{[r.CHARACTER_TOKEN]:ee,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:Y,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:function(e,t){e._setDocumentType(t);let n=t.forceQuirks?f.DOCUMENT_MODE.QUIRKS:d.getDocumentMode(t);d.isConforming(t)||e._err(m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=A},[r.START_TAG_TOKEN]:ee,[r.END_TAG_TOKEN]:ee,[r.EOF_TOKEN]:ee},[A]:{[r.CHARACTER_TOKEN]:et,[r.NULL_CHARACTER_TOKEN]:et,[r.WHITESPACE_CHARACTER_TOKEN]:Y,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:function(e,t){t.tagName===h.HTML?(e._insertElement(t,b.HTML),e.insertionMode=_):et(e,t)},[r.END_TAG_TOKEN]:function(e,t){let n=t.tagName;(n===h.HTML||n===h.HEAD||n===h.BODY||n===h.BR)&&et(e,t)},[r.EOF_TOKEN]:et},[_]:{[r.CHARACTER_TOKEN]:en,[r.NULL_CHARACTER_TOKEN]:en,[r.WHITESPACE_CHARACTER_TOKEN]:Y,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:q,[r.START_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.HTML?eS(e,t):n===h.HEAD?(e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=k):en(e,t)},[r.END_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.HEAD||n===h.BODY||n===h.HTML||n===h.BR?en(e,t):e._err(m.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:en},[k]:{[r.CHARACTER_TOKEN]:ei,[r.NULL_CHARACTER_TOKEN]:ei,[r.WHITESPACE_CHARACTER_TOKEN]:Q,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:q,[r.START_TAG_TOKEN]:er,[r.END_TAG_TOKEN]:ea,[r.EOF_TOKEN]:ei},[N]:{[r.CHARACTER_TOKEN]:eo,[r.NULL_CHARACTER_TOKEN]:eo,[r.WHITESPACE_CHARACTER_TOKEN]:Q,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:q,[r.START_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.HTML?eS(e,t):n===h.BASEFONT||n===h.BGSOUND||n===h.HEAD||n===h.LINK||n===h.META||n===h.NOFRAMES||n===h.STYLE?er(e,t):n===h.NOSCRIPT?e._err(m.nestedNoscriptInHead):eo(e,t)},[r.END_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.NOSCRIPT?(e.openElements.pop(),e.insertionMode=k):n===h.BR?eo(e,t):e._err(m.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:eo},[C]:{[r.CHARACTER_TOKEN]:es,[r.NULL_CHARACTER_TOKEN]:es,[r.WHITESPACE_CHARACTER_TOKEN]:Q,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:q,[r.START_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.HTML?eS(e,t):n===h.BODY?(e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=I):n===h.FRAMESET?(e._insertElement(t,b.HTML),e.insertionMode=H):n===h.BASE||n===h.BASEFONT||n===h.BGSOUND||n===h.LINK||n===h.META||n===h.NOFRAMES||n===h.SCRIPT||n===h.STYLE||n===h.TEMPLATE||n===h.TITLE?(e._err(m.abandonedHeadElementChild),e.openElements.push(e.headElement),er(e,t),e.openElements.remove(e.headElement)):n===h.HEAD?e._err(m.misplacedStartTagForHeadElement):es(e,t)},[r.END_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.BODY||n===h.HTML||n===h.BR?es(e,t):n===h.TEMPLATE?ea(e,t):e._err(m.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:es},[I]:{[r.CHARACTER_TOKEN]:ec,[r.NULL_CHARACTER_TOKEN]:Y,[r.WHITESPACE_CHARACTER_TOKEN]:el,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:eS,[r.END_TAG_TOKEN]:ek,[r.EOF_TOKEN]:eN},[R]:{[r.CHARACTER_TOKEN]:Q,[r.NULL_CHARACTER_TOKEN]:Q,[r.WHITESPACE_CHARACTER_TOKEN]:Q,[r.COMMENT_TOKEN]:Y,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:Y,[r.END_TAG_TOKEN]:function(e,t){t.tagName===h.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode},[r.EOF_TOKEN]:function(e,t){e._err(m.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}},[v]:{[r.CHARACTER_TOKEN]:eC,[r.NULL_CHARACTER_TOKEN]:eC,[r.WHITESPACE_CHARACTER_TOKEN]:eC,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:eI,[r.END_TAG_TOKEN]:eR,[r.EOF_TOKEN]:eN},[O]:{[r.CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0},[r.NULL_CHARACTER_TOKEN]:Y,[r.WHITESPACE_CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t)},[r.COMMENT_TOKEN]:eO,[r.DOCTYPE_TOKEN]:eO,[r.START_TAG_TOKEN]:eO,[r.END_TAG_TOKEN]:eO,[r.EOF_TOKEN]:eO},[w]:{[r.CHARACTER_TOKEN]:ec,[r.NULL_CHARACTER_TOKEN]:Y,[r.WHITESPACE_CHARACTER_TOKEN]:el,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.CAPTION||n===h.COL||n===h.COLGROUP||n===h.TBODY||n===h.TD||n===h.TFOOT||n===h.TH||n===h.THEAD||n===h.TR?e.openElements.hasInTableScope(h.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=v,e._processToken(t)):eS(e,t)},[r.END_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.CAPTION||n===h.TABLE?e.openElements.hasInTableScope(h.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=v,n===h.TABLE&&e._processToken(t)):n!==h.BODY&&n!==h.COL&&n!==h.COLGROUP&&n!==h.HTML&&n!==h.TBODY&&n!==h.TD&&n!==h.TFOOT&&n!==h.TH&&n!==h.THEAD&&n!==h.TR&&ek(e,t)},[r.EOF_TOKEN]:eN},[x]:{[r.CHARACTER_TOKEN]:ew,[r.NULL_CHARACTER_TOKEN]:ew,[r.WHITESPACE_CHARACTER_TOKEN]:Q,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.HTML?eS(e,t):n===h.COL?(e._appendElement(t,b.HTML),t.ackSelfClosing=!0):n===h.TEMPLATE?er(e,t):ew(e,t)},[r.END_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.COLGROUP?e.openElements.currentTagName===h.COLGROUP&&(e.openElements.pop(),e.insertionMode=v):n===h.TEMPLATE?ea(e,t):n!==h.COL&&ew(e,t)},[r.EOF_TOKEN]:eN},[L]:{[r.CHARACTER_TOKEN]:eC,[r.NULL_CHARACTER_TOKEN]:eC,[r.WHITESPACE_CHARACTER_TOKEN]:eC,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,b.HTML),e.insertionMode=D):n===h.TH||n===h.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(h.TR),e.insertionMode=D,e._processToken(t)):n===h.CAPTION||n===h.COL||n===h.COLGROUP||n===h.TBODY||n===h.TFOOT||n===h.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=v,e._processToken(t)):eI(e,t)},[r.END_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.TBODY||n===h.TFOOT||n===h.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=v):n===h.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=v,e._processToken(t)):(n!==h.BODY&&n!==h.CAPTION&&n!==h.COL&&n!==h.COLGROUP||n!==h.HTML&&n!==h.TD&&n!==h.TH&&n!==h.TR)&&eR(e,t)},[r.EOF_TOKEN]:eN},[D]:{[r.CHARACTER_TOKEN]:eC,[r.NULL_CHARACTER_TOKEN]:eC,[r.WHITESPACE_CHARACTER_TOKEN]:eC,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.TH||n===h.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,b.HTML),e.insertionMode=P,e.activeFormattingElements.insertMarker()):n===h.CAPTION||n===h.COL||n===h.COLGROUP||n===h.TBODY||n===h.TFOOT||n===h.THEAD||n===h.TR?e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=L,e._processToken(t)):eI(e,t)},[r.END_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.TR?e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=L):n===h.TABLE?e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=L,e._processToken(t)):n===h.TBODY||n===h.TFOOT||n===h.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(h.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=L,e._processToken(t)):(n!==h.BODY&&n!==h.CAPTION&&n!==h.COL&&n!==h.COLGROUP||n!==h.HTML&&n!==h.TD&&n!==h.TH)&&eR(e,t)},[r.EOF_TOKEN]:eN},[P]:{[r.CHARACTER_TOKEN]:ec,[r.NULL_CHARACTER_TOKEN]:Y,[r.WHITESPACE_CHARACTER_TOKEN]:el,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.CAPTION||n===h.COL||n===h.COLGROUP||n===h.TBODY||n===h.TD||n===h.TFOOT||n===h.TH||n===h.THEAD||n===h.TR?(e.openElements.hasInTableScope(h.TD)||e.openElements.hasInTableScope(h.TH))&&(e._closeTableCell(),e._processToken(t)):eS(e,t)},[r.END_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.TD||n===h.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D):n===h.TABLE||n===h.TBODY||n===h.TFOOT||n===h.THEAD||n===h.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==h.BODY&&n!==h.CAPTION&&n!==h.COL&&n!==h.COLGROUP&&n!==h.HTML&&ek(e,t)},[r.EOF_TOKEN]:eN},[M]:{[r.CHARACTER_TOKEN]:Q,[r.NULL_CHARACTER_TOKEN]:Y,[r.WHITESPACE_CHARACTER_TOKEN]:Q,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:ex,[r.END_TAG_TOKEN]:eL,[r.EOF_TOKEN]:eN},[F]:{[r.CHARACTER_TOKEN]:Q,[r.NULL_CHARACTER_TOKEN]:Y,[r.WHITESPACE_CHARACTER_TOKEN]:Q,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.CAPTION||n===h.TABLE||n===h.TBODY||n===h.TFOOT||n===h.THEAD||n===h.TR||n===h.TD||n===h.TH?(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),e._processToken(t)):ex(e,t)},[r.END_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.CAPTION||n===h.TABLE||n===h.TBODY||n===h.TFOOT||n===h.THEAD||n===h.TR||n===h.TD||n===h.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),e._processToken(t)):eL(e,t)},[r.EOF_TOKEN]:eN},[U]:{[r.CHARACTER_TOKEN]:ec,[r.NULL_CHARACTER_TOKEN]:Y,[r.WHITESPACE_CHARACTER_TOKEN]:el,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:function(e,t){let n=t.tagName;if(n===h.BASE||n===h.BASEFONT||n===h.BGSOUND||n===h.LINK||n===h.META||n===h.NOFRAMES||n===h.SCRIPT||n===h.STYLE||n===h.TEMPLATE||n===h.TITLE)er(e,t);else{let r=V[n]||I;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}},[r.END_TAG_TOKEN]:function(e,t){t.tagName===h.TEMPLATE&&ea(e,t)},[r.EOF_TOKEN]:eD},[B]:{[r.CHARACTER_TOKEN]:eP,[r.NULL_CHARACTER_TOKEN]:eP,[r.WHITESPACE_CHARACTER_TOKEN]:el,[r.COMMENT_TOKEN]:function(e,t){e._appendCommentNode(t,e.openElements.items[0])},[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:function(e,t){t.tagName===h.HTML?eS(e,t):eP(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===h.HTML?e.fragmentContext||(e.insertionMode=$):eP(e,t)},[r.EOF_TOKEN]:J},[H]:{[r.CHARACTER_TOKEN]:Y,[r.NULL_CHARACTER_TOKEN]:Y,[r.WHITESPACE_CHARACTER_TOKEN]:Q,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.HTML?eS(e,t):n===h.FRAMESET?e._insertElement(t,b.HTML):n===h.FRAME?(e._appendElement(t,b.HTML),t.ackSelfClosing=!0):n===h.NOFRAMES&&er(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName!==h.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===h.FRAMESET||(e.insertionMode=G))},[r.EOF_TOKEN]:J},[G]:{[r.CHARACTER_TOKEN]:Y,[r.NULL_CHARACTER_TOKEN]:Y,[r.WHITESPACE_CHARACTER_TOKEN]:Q,[r.COMMENT_TOKEN]:Z,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.HTML?eS(e,t):n===h.NOFRAMES&&er(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===h.HTML&&(e.insertionMode=z)},[r.EOF_TOKEN]:J},[$]:{[r.CHARACTER_TOKEN]:eM,[r.NULL_CHARACTER_TOKEN]:eM,[r.WHITESPACE_CHARACTER_TOKEN]:el,[r.COMMENT_TOKEN]:X,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:function(e,t){t.tagName===h.HTML?eS(e,t):eM(e,t)},[r.END_TAG_TOKEN]:eM,[r.EOF_TOKEN]:J},[z]:{[r.CHARACTER_TOKEN]:Y,[r.NULL_CHARACTER_TOKEN]:Y,[r.WHITESPACE_CHARACTER_TOKEN]:el,[r.COMMENT_TOKEN]:X,[r.DOCTYPE_TOKEN]:Y,[r.START_TAG_TOKEN]:function(e,t){let n=t.tagName;n===h.HTML?eS(e,t):n===h.NOFRAMES&&er(e,t)},[r.END_TAG_TOKEN]:Y,[r.EOF_TOKEN]:J}};function K(e,t){let n,r;for(let a=0;a<8&&((r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName))?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagName)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):e_(e,t),n=r);a++){let t=function(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a)&&(n=a)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!t)break;e.activeFormattingElements.bookmark=n;let r=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,t,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(r),function(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{let r=e.treeAdapter.getTagName(t),a=e.treeAdapter.getNamespaceURI(t);r===h.TEMPLATE&&a===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,a,r),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),a=n.token,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i)}(e,t,n)}}function Y(){}function q(e){e._err(m.misplacedDoctype)}function Z(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function X(e,t){e._appendCommentNode(t,e.document)}function Q(e,t){e._insertCharacters(t)}function J(e){e.stopped=!0}function ee(e,t){e._err(m.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,f.DOCUMENT_MODE.QUIRKS),e.insertionMode=A,e._processToken(t)}function et(e,t){e._insertFakeRootElement(),e.insertionMode=_,e._processToken(t)}function en(e,t){e._insertFakeElement(h.HEAD),e.headElement=e.openElements.current,e.insertionMode=k,e._processToken(t)}function er(e,t){let n=t.tagName;n===h.HTML?eS(e,t):n===h.BASE||n===h.BASEFONT||n===h.BGSOUND||n===h.LINK||n===h.META?(e._appendElement(t,b.HTML),t.ackSelfClosing=!0):n===h.TITLE?e._switchToTextParsing(t,r.MODE.RCDATA):n===h.NOSCRIPT?e.options.scriptingEnabled?e._switchToTextParsing(t,r.MODE.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=N):n===h.NOFRAMES||n===h.STYLE?e._switchToTextParsing(t,r.MODE.RAWTEXT):n===h.SCRIPT?e._switchToTextParsing(t,r.MODE.SCRIPT_DATA):n===h.TEMPLATE?(e._insertTemplate(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=U,e._pushTmplInsertionMode(U)):n===h.HEAD?e._err(m.misplacedStartTagForHeadElement):ei(e,t)}function ea(e,t){let n=t.tagName;n===h.HEAD?(e.openElements.pop(),e.insertionMode=C):n===h.BODY||n===h.BR||n===h.HTML?ei(e,t):n===h.TEMPLATE&&e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==h.TEMPLATE&&e._err(m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(m.endTagWithoutMatchingOpenElement)}function ei(e,t){e.openElements.pop(),e.insertionMode=C,e._processToken(t)}function eo(e,t){let n=t.type===r.EOF_TOKEN?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=k,e._processToken(t)}function es(e,t){e._insertFakeElement(h.BODY),e.insertionMode=I,e._processToken(t)}function el(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ec(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function eu(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,b.HTML)}function ed(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function ep(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function em(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function eg(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ef(e,t){e._appendElement(t,b.HTML),t.ackSelfClosing=!0}function eh(e,t){e._switchToTextParsing(t,r.MODE.RAWTEXT)}function eb(e,t){e.openElements.currentTagName===h.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function eE(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML)}function eT(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function eS(e,t){let n=t.tagName;switch(n.length){case 1:n===h.I||n===h.S||n===h.B||n===h.U?ep(e,t):n===h.P?eu(e,t):n===h.A?function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(h.A);n&&(K(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):eT(e,t);break;case 2:n===h.DL||n===h.OL||n===h.UL?eu(e,t):n===h.H1||n===h.H2||n===h.H3||n===h.H4||n===h.H5||n===h.H6?function(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement();let n=e.openElements.currentTagName;(n===h.H1||n===h.H2||n===h.H3||n===h.H4||n===h.H5||n===h.H6)&&e.openElements.pop(),e._insertElement(t,b.HTML)}(e,t):n===h.LI||n===h.DD||n===h.DT?function(e,t){e.framesetOk=!1;let n=t.tagName;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.items[t],a=e.treeAdapter.getTagName(r),i=null;if(n===h.LI&&a===h.LI?i=h.LI:(n===h.DD||n===h.DT)&&(a===h.DD||a===h.DT)&&(i=a),i){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(a!==h.ADDRESS&&a!==h.DIV&&a!==h.P&&e._isSpecialElement(r))break}e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t):n===h.EM||n===h.TT?ep(e,t):n===h.BR?eg(e,t):n===h.HR?(e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0):n===h.RB?eE(e,t):n===h.RT||n===h.RP?(e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(h.RTC),e._insertElement(t,b.HTML)):n!==h.TH&&n!==h.TD&&n!==h.TR&&eT(e,t);break;case 3:n===h.DIV||n===h.DIR||n===h.NAV?eu(e,t):n===h.PRE?ed(e,t):n===h.BIG?ep(e,t):n===h.IMG||n===h.WBR?eg(e,t):n===h.XMP?(e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)):n===h.SVG?(e._reconstructActiveFormattingElements(),p.adjustTokenSVGAttrs(t),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0):n===h.RTC?eE(e,t):n!==h.COL&&eT(e,t);break;case 4:n===h.HTML?0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs):n===h.BASE||n===h.LINK||n===h.META?er(e,t):n===h.BODY?function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t):n===h.MAIN||n===h.MENU?eu(e,t):n===h.FORM?function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t):n===h.CODE||n===h.FONT?ep(e,t):n===h.NOBR?(e._reconstructActiveFormattingElements(),e.openElements.hasInScope(h.NOBR)&&(K(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)):n===h.AREA?eg(e,t):n===h.MATH?(e._reconstructActiveFormattingElements(),p.adjustTokenMathMLAttrs(t),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0):n===h.MENU?(e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,b.HTML)):n!==h.HEAD&&eT(e,t);break;case 5:n===h.STYLE||n===h.TITLE?er(e,t):n===h.ASIDE?eu(e,t):n===h.SMALL?ep(e,t):n===h.TABLE?(e.treeAdapter.getDocumentMode(e.document)!==f.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=v):n===h.EMBED?eg(e,t):n===h.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML);let n=r.getTokenAttr(t,E.TYPE);n&&n.toLowerCase()===S||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===h.PARAM||n===h.TRACK?ef(e,t):n===h.IMAGE?(t.tagName=h.IMG,eg(e,t)):n!==h.FRAME&&n!==h.TBODY&&n!==h.TFOOT&&n!==h.THEAD&&eT(e,t);break;case 6:n===h.SCRIPT?er(e,t):n===h.CENTER||n===h.FIGURE||n===h.FOOTER||n===h.HEADER||n===h.HGROUP||n===h.DIALOG?eu(e,t):n===h.BUTTON?(e.openElements.hasInScope(h.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1):n===h.STRIKE||n===h.STRONG?ep(e,t):n===h.APPLET||n===h.OBJECT?em(e,t):n===h.KEYGEN?eg(e,t):n===h.SOURCE?ef(e,t):n===h.IFRAME?(e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)):n===h.SELECT?(e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode===v||e.insertionMode===w||e.insertionMode===L||e.insertionMode===D||e.insertionMode===P?e.insertionMode=F:e.insertionMode=M):n===h.OPTION?eb(e,t):eT(e,t);break;case 7:n===h.BGSOUND?er(e,t):n===h.DETAILS||n===h.ADDRESS||n===h.ARTICLE||n===h.SECTION||n===h.SUMMARY?eu(e,t):n===h.LISTING?ed(e,t):n===h.MARQUEE?em(e,t):n===h.NOEMBED?eh(e,t):n!==h.CAPTION&&eT(e,t);break;case 8:n===h.BASEFONT?er(e,t):n===h.FRAMESET?function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=H)}(e,t):n===h.FIELDSET?eu(e,t):n===h.TEXTAREA?(e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=r.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=R):n===h.TEMPLATE?er(e,t):n===h.NOSCRIPT?e.options.scriptingEnabled?eh(e,t):eT(e,t):n===h.OPTGROUP?eb(e,t):n!==h.COLGROUP&&eT(e,t);break;case 9:n===h.PLAINTEXT?(e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=r.MODE.PLAINTEXT):eT(e,t);break;case 10:n===h.BLOCKQUOTE||n===h.FIGCAPTION?eu(e,t):eT(e,t);break;default:eT(e,t)}}function ey(e,t){let n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function eA(e,t){let n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function e_(e,t){let n=t.tagName;for(let t=e.openElements.stackTop;t>0;t--){let r=e.openElements.items[t];if(e.treeAdapter.getTagName(r)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(r);break}if(e._isSpecialElement(r))break}}function ek(e,t){let n=t.tagName;switch(n.length){case 1:n===h.A||n===h.B||n===h.I||n===h.S||n===h.U?K(e,t):n===h.P?(e.openElements.hasInButtonScope(h.P)||e._insertFakeElement(h.P),e._closePElement()):e_(e,t);break;case 2:n===h.DL||n===h.UL||n===h.OL?ey(e,t):n===h.LI?e.openElements.hasInListItemScope(h.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(h.LI),e.openElements.popUntilTagNamePopped(h.LI)):n===h.DD||n===h.DT?function(e,t){let n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t):n===h.H1||n===h.H2||n===h.H3||n===h.H4||n===h.H5||n===h.H6?e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped()):n===h.BR?(e._reconstructActiveFormattingElements(),e._insertFakeElement(h.BR),e.openElements.pop(),e.framesetOk=!1):n===h.EM||n===h.TT?K(e,t):e_(e,t);break;case 3:n===h.BIG?K(e,t):n===h.DIR||n===h.DIV||n===h.NAV||n===h.PRE?ey(e,t):e_(e,t);break;case 4:n===h.BODY?e.openElements.hasInScope(h.BODY)&&(e.insertionMode=B):n===h.HTML?e.openElements.hasInScope(h.BODY)&&(e.insertionMode=B,e._processToken(t)):n===h.FORM?function(e){let t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(h.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(h.FORM):e.openElements.remove(n))}(e,t):n===h.CODE||n===h.FONT||n===h.NOBR?K(e,t):n===h.MAIN||n===h.MENU?ey(e,t):e_(e,t);break;case 5:n===h.ASIDE?ey(e,t):n===h.SMALL?K(e,t):e_(e,t);break;case 6:n===h.CENTER||n===h.FIGURE||n===h.FOOTER||n===h.HEADER||n===h.HGROUP||n===h.DIALOG?ey(e,t):n===h.APPLET||n===h.OBJECT?eA(e,t):n===h.STRIKE||n===h.STRONG?K(e,t):e_(e,t);break;case 7:n===h.ADDRESS||n===h.ARTICLE||n===h.DETAILS||n===h.SECTION||n===h.SUMMARY||n===h.LISTING?ey(e,t):n===h.MARQUEE?eA(e,t):e_(e,t);break;case 8:n===h.FIELDSET?ey(e,t):n===h.TEMPLATE?ea(e,t):e_(e,t);break;case 10:n===h.BLOCKQUOTE||n===h.FIGCAPTION?ey(e,t):e_(e,t);break;default:e_(e,t)}}function eN(e,t){e.tmplInsertionModeStackTop>-1?eD(e,t):e.stopped=!0}function eC(e,t){let n=e.openElements.currentTagName;n===h.TABLE||n===h.TBODY||n===h.TFOOT||n===h.THEAD||n===h.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O,e._processToken(t)):ev(e,t)}function eI(e,t){let n=t.tagName;switch(n.length){case 2:n===h.TD||n===h.TH||n===h.TR?(e.openElements.clearBackToTableContext(),e._insertFakeElement(h.TBODY),e.insertionMode=L,e._processToken(t)):ev(e,t);break;case 3:n===h.COL?(e.openElements.clearBackToTableContext(),e._insertFakeElement(h.COLGROUP),e.insertionMode=x,e._processToken(t)):ev(e,t);break;case 4:n===h.FORM?e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop()):ev(e,t);break;case 5:n===h.TABLE?e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode(),e._processToken(t)):n===h.STYLE?er(e,t):n===h.TBODY||n===h.TFOOT||n===h.THEAD?(e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=L):n===h.INPUT?function(e,t){let n=r.getTokenAttr(t,E.TYPE);n&&n.toLowerCase()===S?e._appendElement(t,b.HTML):ev(e,t),t.ackSelfClosing=!0}(e,t):ev(e,t);break;case 6:n===h.SCRIPT?er(e,t):ev(e,t);break;case 7:n===h.CAPTION?(e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=w):ev(e,t);break;case 8:n===h.COLGROUP?(e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=x):n===h.TEMPLATE?er(e,t):ev(e,t);break;default:ev(e,t)}}function eR(e,t){let n=t.tagName;n===h.TABLE?e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode()):n===h.TEMPLATE?ea(e,t):n!==h.BODY&&n!==h.CAPTION&&n!==h.COL&&n!==h.COLGROUP&&n!==h.HTML&&n!==h.TBODY&&n!==h.TD&&n!==h.TFOOT&&n!==h.TH&&n!==h.THEAD&&n!==h.TR&&ev(e,t)}function ev(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function eO(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0?(e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function eP(e,t){e.insertionMode=I,e._processToken(t)}function eM(e,t){e.insertionMode=I,e._processToken(t)}e.exports=class{constructor(e){this.options=u(T,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&l.install(this,o),this.options.onParseError&&l.install(this,s,{onParseError:this.options.onParseError})}parse(e){let t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t}parseFragment(e,t){t||(t=this.treeAdapter.createElement(h.TEMPLATE,b.HTML,[]));let n=this.treeAdapter.createElement("documentmock",b.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===h.TEMPLATE&&this._pushTmplInsertionMode(U),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);let r=this.treeAdapter.getFirstChild(n),a=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,a),a}_bootstrap(e,t){this.tokenizer=new r(this.options),this.stopped=!1,this.insertionMode=y,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new a(this.document,this.treeAdapter),this.activeFormattingElements=new i(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(e){for(;!this.stopped;){this._setupTokenizerCDATAMode();let t=this.tokenizer.getNextToken();if(t.type===r.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===r.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}}runParsingLoopForCurrentChunk(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){let e=this.pendingScript;this.pendingScript=null,t(e);return}e&&e()}_setupTokenizerCDATAMode(){let e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==b.HTML&&!this._isIntegrationPoint(e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=R}switchToPlaintextParsing(){this.insertionMode=R,this.originalInsertionMode=I,this.tokenizer.state=r.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===h.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML){let e=this.treeAdapter.getTagName(this.fragmentContext);e===h.TITLE||e===h.TEXTAREA?this.tokenizer.state=r.MODE.RCDATA:e===h.STYLE||e===h.XMP||e===h.IFRAME||e===h.NOEMBED||e===h.NOFRAMES||e===h.NOSCRIPT?this.tokenizer.state=r.MODE.RAWTEXT:e===h.SCRIPT?this.tokenizer.state=r.MODE.SCRIPT_DATA:e===h.PLAINTEXT&&(this.tokenizer.state=r.MODE.PLAINTEXT)}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r)}_attachElementToTree(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)}_insertFakeElement(e){let t=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(h.HTML,b.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)}_insertCharacters(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{let t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_shouldProcessTokenInForeignContent(e){let t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;let n=this.treeAdapter.getNamespaceURI(t);if(n===b.HTML||this.treeAdapter.getTagName(t)===h.ANNOTATION_XML&&n===b.MATHML&&e.type===r.START_TAG_TOKEN&&e.tagName===h.SVG)return!1;let a=e.type===r.CHARACTER_TOKEN||e.type===r.NULL_CHARACTER_TOKEN||e.type===r.WHITESPACE_CHARACTER_TOKEN,i=e.type===r.START_TAG_TOKEN&&e.tagName!==h.MGLYPH&&e.tagName!==h.MALIGNMARK;return!((i||a)&&this._isIntegrationPoint(t,b.MATHML)||(e.type===r.START_TAG_TOKEN||a)&&this._isIntegrationPoint(t,b.HTML))&&e.type!==r.EOF_TOKEN}_processToken(e){W[this.insertionMode][e.type](this,e)}_processTokenInBodyMode(e){W[I][e.type](this,e)}_processTokenInForeignContent(e){e.type===r.CHARACTER_TOKEN?(this._insertCharacters(e),this.framesetOk=!1):e.type===r.NULL_CHARACTER_TOKEN?(e.chars=g.REPLACEMENT_CHARACTER,this._insertCharacters(e)):e.type===r.WHITESPACE_CHARACTER_TOKEN?Q(this,e):e.type===r.COMMENT_TOKEN?Z(this,e):e.type===r.START_TAG_TOKEN?function(e,t){if(p.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?p.adjustTokenMathMLAttrs(t):r===b.SVG&&(p.adjustTokenSVGTagName(t),p.adjustTokenSVGAttrs(t)),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):e.type===r.END_TAG_TOKEN&&function(e,t){for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}(this,e)}_processInputToken(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e),e.type===r.START_TAG_TOKEN&&e.selfClosing&&!e.ackSelfClosing&&this._err(m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(e,t){let n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),a=this.treeAdapter.getAttrList(e);return p.isIntegrationPoint(n,r,a,t)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.length;if(e){let t=e,n=null;do if(t--,(n=this.activeFormattingElements.entries[t]).type===i.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}while(t>0);for(let r=t;r=0;e--){let n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));let r=this.treeAdapter.getTagName(n),a=j[r];if(a){this.insertionMode=a;break}if(t||r!==h.TD&&r!==h.TH){if(t||r!==h.HEAD){if(r===h.SELECT){this._resetInsertionModeForSelect(e);break}if(r===h.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===h.HTML){this.insertionMode=this.headElement?C:_;break}else if(t){this.insertionMode=I;break}}else{this.insertionMode=k;break}}else{this.insertionMode=P;break}}}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.items[t],n=this.treeAdapter.getTagName(e);if(n===h.TEMPLATE)break;if(n===h.TABLE){this.insertionMode=F;return}}this.insertionMode=M}_pushTmplInsertionMode(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(e){let t=this.treeAdapter.getTagName(e);return t===h.TABLE||t===h.TBODY||t===h.TFOOT||t===h.THEAD||t===h.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){let e={parent:null,beforeElement:null};for(let t=this.openElements.stackTop;t>=0;t--){let n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),a=this.treeAdapter.getNamespaceURI(n);if(r===h.TEMPLATE&&a===b.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===h.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_fosterParentText(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}_isSpecialElement(e){let t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return f.SPECIAL_ELEMENTS[n][t]}}},54244:function(e,t,n){"use strict";let r=n(54640),a=r.TAG_NAMES,i=r.NAMESPACES;function o(e){switch(e.length){case 1:return e===a.P;case 2:return e===a.RB||e===a.RP||e===a.RT||e===a.DD||e===a.DT||e===a.LI;case 3:return e===a.RTC;case 6:return e===a.OPTION;case 8:return e===a.OPTGROUP}return!1}function s(e,t){switch(e.length){case 2:if(e===a.TD||e===a.TH)return t===i.HTML;if(e===a.MI||e===a.MO||e===a.MN||e===a.MS)return t===i.MATHML;break;case 4:if(e===a.HTML)return t===i.HTML;if(e===a.DESC)return t===i.SVG;break;case 5:if(e===a.TABLE)return t===i.HTML;if(e===a.MTEXT)return t===i.MATHML;if(e===a.TITLE)return t===i.SVG;break;case 6:return(e===a.APPLET||e===a.OBJECT)&&t===i.HTML;case 7:return(e===a.CAPTION||e===a.MARQUEE)&&t===i.HTML;case 8:return e===a.TEMPLATE&&t===i.HTML;case 13:return e===a.FOREIGN_OBJECT&&t===i.SVG;case 14:return e===a.ANNOTATION_XML&&t===i.MATHML}return!1}e.exports=class{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===a.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===i.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){let n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){for(;this.stackTop>-1;){let t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===i.HTML)break}}popUntilElementPopped(e){for(;this.stackTop>-1;){let t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){let e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===a.H1||e===a.H2||e===a.H3||e===a.H4||e===a.H5||e===a.H6&&t===i.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){let e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===a.TD||e===a.TH&&t===i.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==a.TABLE&&this.currentTagName!==a.TEMPLATE&&this.currentTagName!==a.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==a.TBODY&&this.currentTagName!==a.TFOOT&&this.currentTagName!==a.THEAD&&this.currentTagName!==a.TEMPLATE&&this.currentTagName!==a.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==a.TR&&this.currentTagName!==a.TEMPLATE&&this.currentTagName!==a.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){let e=this.items[1];return e&&this.treeAdapter.getTagName(e)===a.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===a.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)break;if(s(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===a.H1||t===a.H2||t===a.H3||t===a.H4||t===a.H5||t===a.H6)&&n===i.HTML)break;if(s(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)break;if((n===a.UL||n===a.OL)&&r===i.HTML||s(n,r))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)break;if(n===a.BUTTON&&r===i.HTML||s(n,r))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===i.HTML){if(n===e)break;if(n===a.TABLE||n===a.TEMPLATE||n===a.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===i.HTML){if(t===a.TBODY||t===a.THEAD||t===a.TFOOT)break;if(t===a.TABLE||t===a.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===i.HTML){if(n===e)break;if(n!==a.OPTION&&n!==a.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;o(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;function(e){switch(e.length){case 1:return e===a.P;case 2:return e===a.RB||e===a.RP||e===a.RT||e===a.DD||e===a.DT||e===a.LI||e===a.TD||e===a.TH||e===a.TR;case 3:return e===a.RTC;case 5:return e===a.TBODY||e===a.TFOOT||e===a.THEAD;case 6:return e===a.OPTION;case 7:return e===a.CAPTION;case 8:return e===a.OPTGROUP||e===a.COLGROUP}return!1}(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;o(this.currentTagName)&&this.currentTagName!==e;)this.pop()}}},12005:function(e,t,n){"use strict";let r=n(56996),a=n(62531),i=n(46986),o=n(59920),s=a.CODE_POINTS,l=a.CODE_POINT_SEQUENCES,c={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},u="DATA_STATE",d="RCDATA_STATE",p="RAWTEXT_STATE",m="SCRIPT_DATA_STATE",g="PLAINTEXT_STATE",f="TAG_OPEN_STATE",h="END_TAG_OPEN_STATE",b="TAG_NAME_STATE",E="RCDATA_LESS_THAN_SIGN_STATE",T="RCDATA_END_TAG_OPEN_STATE",S="RCDATA_END_TAG_NAME_STATE",y="RAWTEXT_LESS_THAN_SIGN_STATE",A="RAWTEXT_END_TAG_OPEN_STATE",_="RAWTEXT_END_TAG_NAME_STATE",k="SCRIPT_DATA_LESS_THAN_SIGN_STATE",N="SCRIPT_DATA_END_TAG_OPEN_STATE",C="SCRIPT_DATA_END_TAG_NAME_STATE",I="SCRIPT_DATA_ESCAPE_START_STATE",R="SCRIPT_DATA_ESCAPE_START_DASH_STATE",v="SCRIPT_DATA_ESCAPED_STATE",O="SCRIPT_DATA_ESCAPED_DASH_STATE",w="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",x="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",L="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",D="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",P="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",M="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",F="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",U="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",B="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",H="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",G="BEFORE_ATTRIBUTE_NAME_STATE",$="ATTRIBUTE_NAME_STATE",z="AFTER_ATTRIBUTE_NAME_STATE",j="BEFORE_ATTRIBUTE_VALUE_STATE",V="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",W="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",K="ATTRIBUTE_VALUE_UNQUOTED_STATE",Y="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",q="SELF_CLOSING_START_TAG_STATE",Z="BOGUS_COMMENT_STATE",X="MARKUP_DECLARATION_OPEN_STATE",Q="COMMENT_START_STATE",J="COMMENT_START_DASH_STATE",ee="COMMENT_STATE",et="COMMENT_LESS_THAN_SIGN_STATE",en="COMMENT_LESS_THAN_SIGN_BANG_STATE",er="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",ea="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",ei="COMMENT_END_DASH_STATE",eo="COMMENT_END_STATE",es="COMMENT_END_BANG_STATE",el="DOCTYPE_STATE",ec="BEFORE_DOCTYPE_NAME_STATE",eu="DOCTYPE_NAME_STATE",ed="AFTER_DOCTYPE_NAME_STATE",ep="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",em="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",eg="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",ef="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",eh="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",eb="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",eE="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",eT="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",eS="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",ey="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",eA="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",e_="BOGUS_DOCTYPE_STATE",ek="CDATA_SECTION_STATE",eN="CDATA_SECTION_BRACKET_STATE",eC="CDATA_SECTION_END_STATE",eI="CHARACTER_REFERENCE_STATE",eR="NAMED_CHARACTER_REFERENCE_STATE",ev="AMBIGUOS_AMPERSAND_STATE",eO="NUMERIC_CHARACTER_REFERENCE_STATE",ew="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",ex="DECIMAL_CHARACTER_REFERENCE_START_STATE",eL="HEXADEMICAL_CHARACTER_REFERENCE_STATE",eD="DECIMAL_CHARACTER_REFERENCE_STATE",eP="NUMERIC_CHARACTER_REFERENCE_END_STATE";function eM(e){return e===s.SPACE||e===s.LINE_FEED||e===s.TABULATION||e===s.FORM_FEED}function eF(e){return e>=s.DIGIT_0&&e<=s.DIGIT_9}function eU(e){return e>=s.LATIN_CAPITAL_A&&e<=s.LATIN_CAPITAL_Z}function eB(e){return e>=s.LATIN_SMALL_A&&e<=s.LATIN_SMALL_Z}function eH(e){return eB(e)||eU(e)}function eG(e){return eH(e)||eF(e)}function e$(e){return e>=s.LATIN_CAPITAL_A&&e<=s.LATIN_CAPITAL_F}function ez(e){return e>=s.LATIN_SMALL_A&&e<=s.LATIN_SMALL_F}function ej(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-=65536)>>>10&1023|55296)+String.fromCharCode(56320|1023&e)}function eV(e){return String.fromCharCode(e+32)}function eW(e,t){let n=i[++e],r=++e,a=r+n-1;for(;r<=a;){let e=r+a>>>1,o=i[e];if(ot))return i[e+n];a=e-1}}return -1}class eK{constructor(){this.preprocessor=new r,this.tokenQueue=[],this.allowCDATA=!1,this.state=u,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(e){this._consume(),this._err(e),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()}write(e,t){this.active=!0,this.preprocessor.write(e,t)}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:eK.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(e){this.state=e,this._unconsume()}_consumeSequenceIfMatch(e,t,n){let r,a=0,i=!0,o=e.length,l=0,c=t;for(;l0&&(c=this._consume(),a++),c===s.EOF||c!==(r=e[l])&&(n||c!==r+32)){i=!1;break}if(!i)for(;a--;)this._unconsume();return i}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==l.SCRIPT_STRING.length)return!1;for(let e=0;e0&&this._err(o.endTagWithAttributes),e.selfClosing&&this._err(o.endTagWithTrailingSolidus)),this.tokenQueue.push(e)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(e,t){this.currentCharacterToken&&this.currentCharacterToken.type!==e&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=t:this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eK.CHARACTER_TOKEN;eM(e)?t=eK.WHITESPACE_CHARACTER_TOKEN:e===s.NULL&&(t=eK.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(t,ej(e))}_emitSeveralCodePoints(e){for(let t=0;t-1;){let e=i[r],a=e<7,o=a&&1&e;o&&(t=2&e?[i[++r],i[++r]]:[i[++r]],n=0);let l=this._consume();if(this.tempBuff.push(l),n++,l===s.EOF)break;r=a?4&e?eW(r,l):-1:l===e?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return t}_isCharacterReferenceInAttribute(){return this.returnState===V||this.returnState===W||this.returnState===K}_isCharacterReferenceAttributeQuirk(e){if(!e&&this._isCharacterReferenceInAttribute()){let e=this._consume();return this._unconsume(),e===s.EQUALS_SIGN||eG(e)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let e=0;e")):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.state=v,this._emitChars(a.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(o.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=v,this._emitCodePoint(e))}[x](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=L):eH(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(P)):(this._emitChars("<"),this._reconsumeInState(v))}[L](e){eH(e)?(this._createEndTagToken(),this._reconsumeInState(D)):(this._emitChars("")):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.state=M,this._emitChars(a.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(o.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=M,this._emitCodePoint(e))}[B](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=H,this._emitChars("/")):this._reconsumeInState(M)}[H](e){eM(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?v:M,this._emitCodePoint(e)):eU(e)?(this.tempBuff.push(e+32),this._emitCodePoint(e)):eB(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(M)}[G](e){eM(e)||(e===s.SOLIDUS||e===s.GREATER_THAN_SIGN||e===s.EOF?this._reconsumeInState(z):e===s.EQUALS_SIGN?(this._err(o.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=$):(this._createAttr(""),this._reconsumeInState($)))}[$](e){eM(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN||e===s.EOF?(this._leaveAttrName(z),this._unconsume()):e===s.EQUALS_SIGN?this._leaveAttrName(j):eU(e)?this.currentAttr.name+=eV(e):e===s.QUOTATION_MARK||e===s.APOSTROPHE||e===s.LESS_THAN_SIGN?(this._err(o.unexpectedCharacterInAttributeName),this.currentAttr.name+=ej(e)):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentAttr.name+=a.REPLACEMENT_CHARACTER):this.currentAttr.name+=ej(e)}[z](e){eM(e)||(e===s.SOLIDUS?this.state=q:e===s.EQUALS_SIGN?this.state=j:e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState($)))}[j](e){eM(e)||(e===s.QUOTATION_MARK?this.state=V:e===s.APOSTROPHE?this.state=W:e===s.GREATER_THAN_SIGN?(this._err(o.missingAttributeValue),this.state=u,this._emitCurrentToken()):this._reconsumeInState(K))}[V](e){e===s.QUOTATION_MARK?this.state=Y:e===s.AMPERSAND?(this.returnState=V,this.state=eI):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentAttr.value+=a.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):this.currentAttr.value+=ej(e)}[W](e){e===s.APOSTROPHE?this.state=Y:e===s.AMPERSAND?(this.returnState=W,this.state=eI):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentAttr.value+=a.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):this.currentAttr.value+=ej(e)}[K](e){eM(e)?this._leaveAttrValue(G):e===s.AMPERSAND?(this.returnState=K,this.state=eI):e===s.GREATER_THAN_SIGN?(this._leaveAttrValue(u),this._emitCurrentToken()):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentAttr.value+=a.REPLACEMENT_CHARACTER):e===s.QUOTATION_MARK||e===s.APOSTROPHE||e===s.LESS_THAN_SIGN||e===s.EQUALS_SIGN||e===s.GRAVE_ACCENT?(this._err(o.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=ej(e)):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):this.currentAttr.value+=ej(e)}[Y](e){eM(e)?this._leaveAttrValue(G):e===s.SOLIDUS?this._leaveAttrValue(q):e===s.GREATER_THAN_SIGN?(this._leaveAttrValue(u),this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):(this._err(o.missingWhitespaceBetweenAttributes),this._reconsumeInState(G))}[q](e){e===s.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):(this._err(o.unexpectedSolidusInTag),this._reconsumeInState(G))}[Z](e){e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EOF?(this._emitCurrentToken(),this._emitEOFToken()):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.data+=a.REPLACEMENT_CHARACTER):this.currentToken.data+=ej(e)}[X](e){this._consumeSequenceIfMatch(l.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=Q):this._consumeSequenceIfMatch(l.DOCTYPE_STRING,e,!1)?this.state=el:this._consumeSequenceIfMatch(l.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=ek:(this._err(o.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=Z):this._ensureHibernation()||(this._err(o.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(Z))}[Q](e){e===s.HYPHEN_MINUS?this.state=J:e===s.GREATER_THAN_SIGN?(this._err(o.abruptClosingOfEmptyComment),this.state=u,this._emitCurrentToken()):this._reconsumeInState(ee)}[J](e){e===s.HYPHEN_MINUS?this.state=eo:e===s.GREATER_THAN_SIGN?(this._err(o.abruptClosingOfEmptyComment),this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ee))}[ee](e){e===s.HYPHEN_MINUS?this.state=ei:e===s.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=et):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.data+=a.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=ej(e)}[et](e){e===s.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=en):e===s.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(ee)}[en](e){e===s.HYPHEN_MINUS?this.state=er:this._reconsumeInState(ee)}[er](e){e===s.HYPHEN_MINUS?this.state=ea:this._reconsumeInState(ei)}[ea](e){e!==s.GREATER_THAN_SIGN&&e!==s.EOF&&this._err(o.nestedComment),this._reconsumeInState(eo)}[ei](e){e===s.HYPHEN_MINUS?this.state=eo:e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ee))}[eo](e){e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EXCLAMATION_MARK?this.state=es:e===s.HYPHEN_MINUS?this.currentToken.data+="-":e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(ee))}[es](e){e===s.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=ei):e===s.GREATER_THAN_SIGN?(this._err(o.incorrectlyClosedComment),this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(ee))}[el](e){eM(e)?this.state=ec:e===s.GREATER_THAN_SIGN?this._reconsumeInState(ec):e===s.EOF?(this._err(o.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(ec))}[ec](e){eM(e)||(eU(e)?(this._createDoctypeToken(eV(e)),this.state=eu):e===s.NULL?(this._err(o.unexpectedNullCharacter),this._createDoctypeToken(a.REPLACEMENT_CHARACTER),this.state=eu):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(o.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(ej(e)),this.state=eu))}[eu](e){eM(e)?this.state=ed:e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):eU(e)?this.currentToken.name+=eV(e):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.name+=a.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=ej(e)}[ed](e){!eM(e)&&(e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(l.PUBLIC_STRING,e,!1)?this.state=ep:this._consumeSequenceIfMatch(l.SYSTEM_STRING,e,!1)?this.state=eE:this._ensureHibernation()||(this._err(o.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(e_)))}[ep](e){eM(e)?this.state=em:e===s.QUOTATION_MARK?(this._err(o.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=eg):e===s.APOSTROPHE?(this._err(o.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=ef):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(e_))}[em](e){eM(e)||(e===s.QUOTATION_MARK?(this.currentToken.publicId="",this.state=eg):e===s.APOSTROPHE?(this.currentToken.publicId="",this.state=ef):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(e_)))}[eg](e){e===s.QUOTATION_MARK?this.state=eh:e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.publicId+=a.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(o.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=ej(e)}[ef](e){e===s.APOSTROPHE?this.state=eh:e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.publicId+=a.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(o.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=ej(e)}[eh](e){eM(e)?this.state=eb:e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.QUOTATION_MARK?(this._err(o.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=eS):e===s.APOSTROPHE?(this._err(o.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=ey):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(e_))}[eb](e){eM(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=u):e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=eS):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=ey):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(e_)))}[eE](e){eM(e)?this.state=eT:e===s.QUOTATION_MARK?(this._err(o.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=eS):e===s.APOSTROPHE?(this._err(o.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=ey):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(e_))}[eT](e){eM(e)||(e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=eS):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=ey):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(e_)))}[eS](e){e===s.QUOTATION_MARK?this.state=eA:e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.systemId+=a.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(o.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=ej(e)}[ey](e){e===s.APOSTROPHE?this.state=eA:e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.systemId+=a.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(o.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=ej(e)}[eA](e){eM(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(e_)))}[e_](e){e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=u):e===s.NULL?this._err(o.unexpectedNullCharacter):e===s.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[ek](e){e===s.RIGHT_SQUARE_BRACKET?this.state=eN:e===s.EOF?(this._err(o.eofInCdata),this._emitEOFToken()):this._emitCodePoint(e)}[eN](e){e===s.RIGHT_SQUARE_BRACKET?this.state=eC:(this._emitChars("]"),this._reconsumeInState(ek))}[eC](e){e===s.GREATER_THAN_SIGN?this.state=u:e===s.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(ek))}[eI](e){this.tempBuff=[s.AMPERSAND],e===s.NUMBER_SIGN?(this.tempBuff.push(e),this.state=eO):eG(e)?this._reconsumeInState(eR):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[eR](e){let t=this._matchNamedCharacterReference(e);if(this._ensureHibernation())this.tempBuff=[s.AMPERSAND];else if(t){let e=this.tempBuff[this.tempBuff.length-1]===s.SEMICOLON;this._isCharacterReferenceAttributeQuirk(e)||(e||this._errOnNextCodePoint(o.missingSemicolonAfterCharacterReference),this.tempBuff=t),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=ev}[ev](e){eG(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=ej(e):this._emitCodePoint(e):(e===s.SEMICOLON&&this._err(o.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[eO](e){this.charRefCode=0,e===s.LATIN_SMALL_X||e===s.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=ew):this._reconsumeInState(ex)}[ew](e){eF(e)||e$(e)||ez(e)?this._reconsumeInState(eL):(this._err(o.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[ex](e){eF(e)?this._reconsumeInState(eD):(this._err(o.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[eL](e){e$(e)?this.charRefCode=16*this.charRefCode+e-55:ez(e)?this.charRefCode=16*this.charRefCode+e-87:eF(e)?this.charRefCode=16*this.charRefCode+e-48:e===s.SEMICOLON?this.state=eP:(this._err(o.missingSemicolonAfterCharacterReference),this._reconsumeInState(eP))}[eD](e){eF(e)?this.charRefCode=10*this.charRefCode+e-48:e===s.SEMICOLON?this.state=eP:(this._err(o.missingSemicolonAfterCharacterReference),this._reconsumeInState(eP))}[eP](){if(this.charRefCode===s.NULL)this._err(o.nullCharacterReference),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(o.characterReferenceOutsideUnicodeRange),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(a.isSurrogate(this.charRefCode))this._err(o.surrogateCharacterReference),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(a.isUndefinedCodePoint(this.charRefCode))this._err(o.noncharacterCharacterReference);else if(a.isControlCodePoint(this.charRefCode)||this.charRefCode===s.CARRIAGE_RETURN){this._err(o.controlCharacterReference);let e=c[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}eK.CHARACTER_TOKEN="CHARACTER_TOKEN",eK.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",eK.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",eK.START_TAG_TOKEN="START_TAG_TOKEN",eK.END_TAG_TOKEN="END_TAG_TOKEN",eK.COMMENT_TOKEN="COMMENT_TOKEN",eK.DOCTYPE_TOKEN="DOCTYPE_TOKEN",eK.EOF_TOKEN="EOF_TOKEN",eK.HIBERNATION_TOKEN="HIBERNATION_TOKEN",eK.MODE={DATA:u,RCDATA:d,RAWTEXT:p,SCRIPT_DATA:m,PLAINTEXT:g},eK.getTokenAttr=function(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null},e.exports=eK},46986:function(e){"use strict";e.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])},56996:function(e,t,n){"use strict";let r=n(62531),a=n(59920),i=r.CODE_POINTS;e.exports=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.lastCharPos){let t=this.html.charCodeAt(this.pos+1);if(r.isSurrogatePair(t))return this.pos++,this._addGap(),r.getSurrogatePairCodePoint(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,i.EOF;return this._err(a.surrogateInInputStream),e}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(e,t){this.html?this.html+=e:this.html=e,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,i.EOF;let e=this.html.charCodeAt(this.pos);if(this.skipNextNewLine&&e===i.LINE_FEED)return this.skipNextNewLine=!1,this._addGap(),this.advance();if(e===i.CARRIAGE_RETURN)return this.skipNextNewLine=!0,i.LINE_FEED;this.skipNextNewLine=!1,r.isSurrogate(e)&&(e=this._processSurrogate(e));let t=e>31&&e<127||e===i.LINE_FEED||e===i.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){r.isControlCodePoint(e)?this._err(a.controlCharacterInInputStream):r.isUndefinedCodePoint(e)&&this._err(a.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}},26840:function(e,t,n){"use strict";let{DOCUMENT_MODE:r}=n(54640);t.createDocument=function(){return{nodeName:"#document",mode:r.NO_QUIRKS,childNodes:[]}},t.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},t.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},t.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};let a=function(e){return{nodeName:"#text",value:e,parentNode:null}},i=t.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},o=t.insertBefore=function(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};t.setTemplateContent=function(e,t){e.content=t},t.getTemplateContent=function(e){return e.content},t.setDocumentType=function(e,t,n,r){let a=null;for(let t=0;t(Object.keys(t).forEach(n=>{e[n]=t[n]}),e),Object.create(null))}},97379:function(e){"use strict";class t{constructor(e){let t={},n=this._getOverriddenMethods(this,t);for(let r of Object.keys(n))"function"==typeof n[r]&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw Error("Not implemented")}}t.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let n=0;n - * @author Lea Verou - * @namespace - * @public - */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));A+=y.value.length,y=y.next){var _,k=y.value;if(n.length>t.length)return;if(!(k instanceof i)){var N=1;if(b){if(!(_=o(S,A,t,h))||_.index>=t.length)break;var C=_.index,I=_.index+_[0].length,R=A;for(R+=y.value.length;C>=R;)R+=(y=y.next).value.length;if(R-=y.value.length,A=R,y.value instanceof i)continue;for(var v=y;v!==n.tail&&(Ru.reach&&(u.reach=L);var D=y.prev;w&&(D=l(n,D,w),A+=w.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+m,reach:L};e(t,n,r,y.prev,A,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},36736:function(e,t,n){"use strict";var r=n(65510);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,i,o){if(o!==r){var s=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:i,resetWarningCache:a};return n.PropTypes=n,n}},54942:function(e,t,n){e.exports=n(36736)()},65510:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},93134:function(e,t,n){"use strict";var r=n(71700),a=n(21540),i=n(73204),o="data";e.exports=function(e,t){var n,p,m,g=r(t),f=t,h=i;return g in e.normal?e.property[e.normal[g]]:(g.length>4&&g.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?f=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(m=(p=t).slice(4),t=l.test(m)?p:("-"!==(m=m.replace(c,u)).charAt(0)&&(m="-"+m),o+m)),h=a),new h(f,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},75286:function(e,t,n){"use strict";var r=n(33447),a=n(28551),i=n(67746),o=n(10171),s=n(48597),l=n(92422);e.exports=r([i,a,o,s,l])},48597:function(e,t,n){"use strict";var r=n(33918),a=n(52093),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},92422:function(e,t,n){"use strict";var r=n(33918),a=n(52093),i=n(98259),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})},98259:function(e,t,n){"use strict";var r=n(32806);e.exports=function(e,t){return r(e,t.toLowerCase())}},32806:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},52093:function(e,t,n){"use strict";var r=n(71700),a=n(79721),i=n(21540);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},21540:function(e,t,n){"use strict";var r=n(73204),a=n(33918);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},66306:function(e){"use strict";function t(e){var t;t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)",e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}e.exports=t,t.displayName="abnf",t.aliases=[]},89058:function(e){"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},23397:function(e){"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},21272:function(e){"use strict";function t(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}e.exports=t,t.displayName="agda",t.aliases=[]},37984:function(e){"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},52154:function(e){"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},65674:function(e){"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},83549:function(e,t,n){"use strict";var r=n(45310);function a(e){e.register(r),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return t.source});function r(e){return RegExp(e.replace(//g,function(){return n}),"i")}var a={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:a},{pattern:r(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:a},{pattern:r(/(?=\s*\w+\s*[;=,(){:])/.source),inside:a}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=a,a.displayName="apex",a.aliases=[]},82478:function(e){"use strict";function t(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},65731:function(e){"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},28616:function(e){"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},52726:function(e,t,n){"use strict";var r=n(42083);function a(e){e.register(r),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=a,a.displayName="arduino",a.aliases=["ino"]},3121:function(e){"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},99237:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function r(e){e=e.split(" ");for(var t={},r=0,a=e.length;r>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},55222:function(e,t,n){"use strict";var r=n(17781);function a(e){e.register(r),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=a,a.displayName="aspnet",a.aliases=[]},61472:function(e){"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},722:function(e){"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},35906:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(e.replace(/<<(\d+)>>/g,function(e,n){return t[+n]}),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},50238:function(e){"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},66069:function(e){"use strict";function t(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,o=0;o?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},97593:function(e){"use strict";function t(e){var t,n,r,a;t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,a=/(?:\b|-)\d+\b/,e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:r,parameter:n,variable:t,number:a,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:a,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:a,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:a,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}e.exports=t,t.displayName="batch",t.aliases=[]},57576:function(e){"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},75266:function(e){"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},74600:function(e){"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},28346:function(e,t,n){"use strict";var r=n(88781);function a(e){e.register(r),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=a,a.displayName="bison",a.aliases=[]},27123:function(e){"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},77953:function(e){"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},29026:function(e){"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},6691:function(e){"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},6700:function(e){"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},88781:function(e){"use strict";function t(e){e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},98481:function(e){"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},5754:function(e,t,n){"use strict";var r=n(42083);function a(e){e.register(r),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=a,a.displayName="chaiscript",a.aliases=[]},370:function(e){"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},61237:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},26366:function(e){"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},96128:function(e){"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},96309:function(e){"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},2848:function(e){"use strict";function t(e){var t,n;t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"},e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},14558:function(e){"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},59135:function(e){"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return t})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},42083:function(e,t,n){"use strict";var r=n(88781);function a(e){var t,n;e.register(r),t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}e.exports=a,a.displayName="cpp",a.aliases=[]},48663:function(e,t,n){"use strict";var r=n(53794);function a(e){e.register(r),e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}e.exports=a,a.displayName="crystal",a.aliases=[]},17781:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var a={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function i(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var o=i(a.typeDeclaration),s=RegExp(i(a.type+" "+a.typeDeclaration+" "+a.contextual+" "+a.other)),l=i(a.typeDeclaration+" "+a.contextual+" "+a.other),c=i(a.type+" "+a.typeDeclaration+" "+a.other),u=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),d=r(/\((?:[^()]|<>)*\)/.source,2),p=/@?\b[A-Za-z_]\w*\b/.source,m=t(/<<0>>(?:\s*<<1>>)?/.source,[p,u]),g=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[l,m]),f=/\[\s*(?:,\s*)*\]/.source,h=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[g,f]),b=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[u,d,f]),E=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[b]),T=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,g,f]),S={keyword:s,punctuation:/[<>()?,.:[\]]/},y=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,_=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[_]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[g]),lookbehind:!0,inside:S},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[p,T]),lookbehind:!0,inside:S},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[p]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[o,m]),lookbehind:!0,inside:S},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[g]),lookbehind:!0,inside:S},{pattern:n(/(\bwhere\s+)<<0>>/.source,[p]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[h]),lookbehind:!0,inside:S},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[T,c,p]),inside:S}],keyword:s,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[p]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[p]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[d]),lookbehind:!0,alias:"class-name",inside:S},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[T,g]),inside:S,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[T]),lookbehind:!0,inside:S,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[p,u]),inside:{function:n(/^<<0>>/.source,[p]),generic:{pattern:RegExp(u),alias:"class-name",inside:S}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,m,p,T,s.source,d,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[m,d]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(T),greedy:!0,inside:S},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var k=A+"|"+y,N=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[k]),C=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[N]),2),I=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,R=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[g,C]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[I,R]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[I]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[C]),inside:e.languages.csharp},"class-name":{pattern:RegExp(g),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var v=/:[^}\r\n]+/.source,O=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[N]),2),w=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[O,v]),x=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[k]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[x,v]);function D(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,v]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[w]),lookbehind:!0,greedy:!0,inside:D(w,O)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:D(L,x)}],char:{pattern:RegExp(y),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},15530:function(e,t,n){"use strict";var r=n(17781);function a(e){e.register(r),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var a=0;a/g,function(){return"(?:"+e+")"});return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var a=r(/\((?:[^()'"@/]|||)*\)/.source,2),i=r(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),o=r(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=r(/<(?:[^<>'"@/]|||)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,c=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,u=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source)+c+"|"+r(/<\1/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|")+/<\/?(?!\1\b)/.source+c+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},66776:function(e){"use strict";function t(e){var t,n;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},44346:function(e){"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},32139:function(e){"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},66373:function(e){"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},11570:function(e){"use strict";function t(e){var t,n,r;t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}e.exports=t,t.displayName="dart",t.aliases=[]},37242:function(e){"use strict";function t(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}e.exports=t,t.displayName="dataweave",t.aliases=[]},1098:function(e){"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},17979:function(e){"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},64798:function(e){"use strict";function t(e){var t;e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}e.exports=t,t.displayName="diff",t.aliases=[]},97745:function(e,t,n){"use strict";var r=n(80096);function a(e){var t,n;e.register(r),e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/},t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"],e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"django",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"jinja2",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"jinja2")})}e.exports=a,a.displayName="django",a.aliases=["jinja2"]},90311:function(e){"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},15756:function(e){"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,a=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return r}),i={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(//g,function(){return a}).replace(//g,function(){return n}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},44534:function(e){"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(//g,function(){return t}),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},83898:function(e){"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},17906:function(e){"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},88500:function(e){"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},85276:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")}),e.languages.eta=e.languages.ejs}e.exports=a,a.displayName="ejs",a.aliases=["eta"]},94126:function(e){"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}e.exports=t,t.displayName="elixir",t.aliases=[]},68082:function(e){"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},15516:function(e,t,n){"use strict";var r=n(53794),a=n(80096);function i(e){e.register(r),e.register(a),e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})}e.exports=i,i.displayName="erb",i.aliases=[]},96518:function(e){"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},4599:function(e,t,n){"use strict";var r=n(4694),a=n(80096);function i(e){e.register(r),e.register(a),e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")})}e.exports=i,i.displayName="etlua",i.aliases=[]},8597:function(e){"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},58292:function(e){"use strict";function t(e){var t,n,r,a,i,o;r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/}},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:(n={number:/\\[^\s']|%\w/}).number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},a=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},i=function(e){return RegExp("(^|\\s)(?:"+e.map(a).join("|")+")(?=\\s|$)")},Object.keys(o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]}).forEach(function(e){r[e].pattern=i(o[e])}),r.combinators.pattern=i(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=r}e.exports=t,t.displayName="factor",t.aliases=[]},83125:function(e){"use strict";function t(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},83372:function(e){"use strict";function t(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}e.exports=t,t.displayName="flow",t.aliases=[]},3206:function(e){"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},98530:function(e){"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},76844:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return t})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return t})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return t}),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")})}(e)}e.exports=a,a.displayName="ftl",a.aliases=[]},31838:function(e){"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},80900:function(e){"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},29914:function(e){"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},76996:function(e){"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},87278:function(e){"use strict";function t(e){var t;t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source,e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}e.exports=t,t.displayName="gherkin",t.aliases=[]},74405:function(e){"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},90864:function(e,t,n){"use strict";var r=n(88781);function a(e){e.register(r),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=a,a.displayName="glsl",a.aliases=[]},85975:function(e){"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},95440:function(e){"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},62793:function(e){"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},9939:function(e){"use strict";function t(e){e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},72222:function(e){"use strict";function t(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n0)){var s=d(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&p(c,"variable-input")}}}}function u(e,r){r=r||0;for(var a=0;a]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:r,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}})}e.exports=t,t.displayName="groovy",t.aliases=[]},35077:function(e,t,n){"use strict";var r=n(53794);function a(e){e.register(r),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,a=t.length;r@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}),e.languages.hbs=e.languages.handlebars}e.exports=a,a.displayName="handlebars",a.aliases=["hbs"]},40371:function(e){"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},44994:function(e){"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},78819:function(e){"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},48029:function(e,t,n){"use strict";var r=n(88781);function a(e){e.register(r),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=a,a.displayName="hlsl",a.aliases=[]},63134:function(e){"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},26137:function(e){"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},80978:function(e){"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},64328:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ ]*(?![ ]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.languages,a={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},i={"application/json":!0,"application/xml":!0};for(var o in a)if(a[o]){n=n||{};var s=i[o]?function(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}(o):o;n[o.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+s+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:a[o]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},27466:function(e){"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},57194:function(e){"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},29818:function(e){"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,function(){return t(e,n-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},a=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return n.source}),8),i={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(a),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":i,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":i,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:{pattern:n,greedy:!0,inside:{escape:r}}},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},97226:function(e,t,n){"use strict";var r=n(40371);function a(e){e.register(r),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=a,a.displayName="idris",a.aliases=["idr"]},13312:function(e){"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},1460:function(e){"use strict";function t(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},27273:function(e){"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},58322:function(e){"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},80835:function(e){"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},12189:function(e){"use strict";function t(e){var t,n,r;t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}e.exports=t,t.displayName="java",t.aliases=[]},57379:function(e,t,n){"use strict";var r=n(12189),a=n(59515);function i(e){var t,n,i;e.register(r),e.register(a),t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return n}),e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}e.exports=i,i.displayName="javadoc",i.aliases=[]},59515:function(e){"use strict";function t(e){var t;Object.defineProperty(t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach(function(t){!function(t,n){var r="doc-comment",a=e.languages[t];if(a){var i=a[r];if(!i){var o={};o[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},i=(a=e.languages.insertBefore(t,"comment",o))[r]}if(i instanceof RegExp&&(i=a[r]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},54864:function(e){"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},18577:function(e){"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},82007:function(e){"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},36854:function(e){"use strict";function t(e){var t,n,r,a;t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},a=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}},r.interpolation.inside.content.inside=a}e.exports=t,t.displayName="jq",t.aliases=[]},87180:function(e){"use strict";function t(e){!function(e){function t(e,t){return RegExp(e.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r=p.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var l=p[c],d="string"==typeof o?o:o.content,m=d.indexOf(l);if(-1!==m){++c;var g=d.substring(0,m),f=function(t){var n={};n["interpolation-punctuation"]=a;var i=e.tokenize(t,n);if(3===i.length){var o=[1,1];o.push.apply(o,s(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,o)}return new e.Token("interpolation",i,r.alias,t)}(u[l]),h=d.substring(m+l.length),b=[];if(g&&b.push(g),b.push(f),h){var E=[h];t(E),b.push.apply(b,E)}"string"==typeof o?(n.splice.apply(n,[i,1].concat(b)),i+=b.length-1):o.content=b}}else{var T=o.content;Array.isArray(T)?t(T):t([T])}}}(d),new e.Token(o,d,"language-"+o,t)}(p,f,g)}}else t(u)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},15976:function(e,t,n){"use strict";var r=n(59515),a=n(41970);function i(e){var t,n,i;e.register(r),e.register(a),t=e.languages.javascript,i="(@(?:arg|argument|param|property)\\s+(?:"+(n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}e.exports=i,i.displayName="jsdoc",i.aliases=[]},16377:function(e){"use strict";function t(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},20985:function(e,t,n){"use strict";var r=n(16377);function a(e){var t;e.register(r),t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/,e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}e.exports=a,a.displayName="json5",a.aliases=[]},56581:function(e,t,n){"use strict";var r=n(16377);function a(e){e.register(r),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=a,a.displayName="jsonp",a.aliases=[]},21675:function(e){"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},4329:function(e){"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return a}),t)}a=i(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===o(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:o(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(a);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=o(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}a.content&&"string"!=typeof a.content&&s(a.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},81299:function(e){"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}e.exports=t,t.displayName="julia",t.aliases=[]},35607:function(e){"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},30080:function(e){"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},13372:function(e){"use strict";function t(e){var t;e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},49712:function(e){"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},5414:function(e){"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},34568:function(e){"use strict";function t(e){var t,n;n={"equation-command":{pattern:t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},58750:function(e,t,n){"use strict";var r=n(80096),a=n(18627);function i(e){var t;e.register(r),e.register(a),e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}},t=e.languages.extend("markup",{}),e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")})}e.exports=i,i.displayName="latte",i.aliases=[]},16329:function(e){"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},26944:function(e,t,n){"use strict";var r=n(33033);function a(e){e.register(r),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return t}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(e)}e.exports=a,a.displayName="lilypond",a.aliases=[]},29746:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}e.exports=a,a.displayName="liquid",a.aliases=[]},1723:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,a="&"+r,i="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+o),lookbehind:!0},{pattern:RegExp(i+"(?:append|by|collect|concat|do|finally|for|in|return)"+o),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(i+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(a),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},u="\\S+(?:\\s+\\S+)*",d={pattern:RegExp(i+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+u),inside:c},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+u),inside:c},keys:{pattern:RegExp("&key\\s+"+u+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=d,l.defun.inside.arguments=e.util.clone(d),l.defun.inside.arguments.inside.sublist=d,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},37219:function(e){"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},27309:function(e){"use strict";function t(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}e.exports=t,t.displayName="llvm",t.aliases=[]},77825:function(e){"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},63509:function(e){"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},4694:function(e){"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},69338:function(e){"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},10320:function(e){"use strict";function t(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},99337:function(e){"use strict";function t(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+i+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+i+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},80096:function(e){"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,i){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof i&&!i(e))return e;for(var a,s=o.length;-1!==n.code.indexOf(a=t(r,s));)++s;return o[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,i=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=i.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=i[a],d=n.tokenStack[u],p="string"==typeof c?c:c.content,m=t(r,u),g=p.indexOf(m);if(g>-1){++a;var f=p.substring(0,g),h=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(g+m.length),E=[];f&&E.push.apply(E,o([f])),E.push(h),b&&E.push.apply(E,o([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(E)):c.content=E}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},69720:function(e){"use strict";function t(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:r}};a["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},62622:function(e){"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},80130:function(e){"use strict";function t(e){var t;t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i,e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|")+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ ]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+t.source+")"+/[a-z_]/.source+"|")+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}e.exports=t,t.displayName="maxscript",t.aliases=[]},95768:function(e){"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},18645:function(e){"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},82530:function(e){"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},50918:function(e){"use strict";function t(e){var t,n;n="(?:"+["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"].map(function(e){return e.replace("$","\\$")}).join("|")+")\\b",e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:ObjectId|Code|BinData|DBRef|Timestamp|NumberLong|NumberDecimal|MaxKey|MinKey|RegExp|ISODate|UUID)\\b"),alias:"keyword"}})}e.exports=t,t.displayName="mongodb",t.aliases=[]},51125:function(e){"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},28621:function(e){"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},58803:function(e){"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},24551:function(e){"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},83619:function(e){"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},78580:function(e){"use strict";function t(e){var t,n;n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t=/\{[^\r\n\[\]{}]*\}/,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]},e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(e){e.tokens.forEach(function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(e);!function(e){for(var t=[],n=0;n=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},1635:function(e){"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},99257:function(e){"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},60253:function(e){"use strict";function t(e){var t;t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i,e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}e.exports=t,t.displayName="nginx",t.aliases=[]},58495:function(e){"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},61310:function(e){"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},99610:function(e){"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},64915:function(e,t,n){"use strict";var r=n(88781);function a(e){e.register(r),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=a,a.displayName="objectivec",a.aliases=["objc"]},49319:function(e){"use strict";function t(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},13469:function(e,t,n){"use strict";var r=n(88781);function a(e){var t;e.register(r),e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}}),t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}},e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}e.exports=a,a.displayName="opencl",a.aliases=[]},17463:function(e){"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},21664:function(e){"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},10742:function(e){"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:RegExp("\\b(?:"+["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"].map(function(e){return e.split("").join(" *")}).join("|")+")\\b"),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},53384:function(e){"use strict";function t(e){var t;t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}e.exports=t,t.displayName="parser",t.aliases=[]},41903:function(e){"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},15666:function(e){"use strict";function t(e){var t,n,r,a;t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return t}),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return n}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return n}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return n})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},a=["comment","keyword","builtin","operator","punctuation"].reduce(function(e,t){return e[t]=r[t],e},{}),r["class-name"].forEach(function(e){e.inside=a})}e.exports=t,t.displayName="pascaligo",t.aliases=[]},71954:function(e){"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},46065:function(e){"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},29862:function(e){"use strict";function t(e){var t;t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="perl",t.aliases=[]},36906:function(e,t,n){"use strict";var r=n(18627);function a(e){e.register(r),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=a,a.displayName="phpExtras",a.aliases=[]},18627:function(e,t,n){"use strict";var r=n(80096);function a(e){var t,n,a,i,o,s,l;e.register(r),t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],a=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/,e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:a,operator:i,punctuation:o},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}],e.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:a,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}e.exports=a,a.displayName="php",a.aliases=[]},81118:function(e,t,n){"use strict";var r=n(18627),a=n(59515);function i(e){var t;e.register(r),e.register(a),t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source,e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}e.exports=i,i.displayName="phpdoc",i.aliases=[]},33913:function(e,t,n){"use strict";var r=n(45310);function a(e){e.register(r),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=a,a.displayName="plsql",a.aliases=[]},39481:function(e){"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},69741:function(e){"use strict";function t(e){var t;(t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}e.exports=t,t.displayName="powershell",t.aliases=[]},88935:function(e){"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},98696:function(e){"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},39109:function(e){"use strict";function t(e){var t,n;n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t=["on","ignoring","group_right","group_left","by","without"],["offset"]),e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}e.exports=t,t.displayName="promql",t.aliases=[]},27631:function(e){"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},11400:function(e){"use strict";function t(e){var t;t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}e.exports=t,t.displayName="protobuf",t.aliases=[]},3754:function(e){"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},49160:function(e){"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},a=0,i=n.length;a",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},94825:function(e){"use strict";function t(e){var t;e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/},t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}],e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}e.exports=t,t.displayName="puppet",t.aliases=[]},26550:function(e){"use strict";function t(e){var t;e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source,["c",{lang:"c++",alias:"cpp"},"fortran"].forEach(function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var a={};a["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},a["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",a)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}e.exports=t,t.displayName="pure",t.aliases=[]},89130:function(e){"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},93994:function(e,t,n){"use strict";var r=n(40371);function a(e){e.register(r),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=a,a.displayName="purescript",a.aliases=["purs"]},73272:function(e){"use strict";function t(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},69124:function(e){"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},80568:function(e){"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return t}).replace(//g,function(){return n}),a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},36637:function(e){"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},40156:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}var r={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"},a=RegExp("\\b(?:"+(r.type+" "+r.other).trim().replace(/ /g,"|")+")\\b"),i=/\b[A-Za-z_]\w*\b/.source,o=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[i]),s={keyword:a,punctuation:/[<>()?,.:[\]]/},l=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[l]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[o]),lookbehind:!0,inside:s},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[o]),lookbehind:!0,inside:s}],keyword:a,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var c=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[l]),0);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[c]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[c]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},47218:function(e){"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},95848:function(e,t,n){"use strict";var r=n(33033);function a(e){e.register(r),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=a,a.displayName="racket",a.aliases=["rkt"]},97363:function(e){"use strict";function t(e){e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},37313:function(e){"use strict";function t(e){var t,n,r,a,i;t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=RegExp((r="(?:[^\\\\-]|"+(n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+r),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:a,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},58011:function(e){"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},50571:function(e){"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},72966:function(e){"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},38687:function(e){"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},32347:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var a={};for(var i in a["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},r)a[i]=r[i];return a.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},a.variable=n,a.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return e}),"im"),alias:"section",inside:a}}var a={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},i={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:r("Variables"),"test-cases":r("Test Cases",{"test-name":i,documentation:a,property:o}),keywords:r("Keywords",{"keyword-name":i,documentation:a,property:o}),tasks:r("Tasks",{"task-name":i,documentation:a,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},53794:function(e){"use strict";function t(e){var t,n,r;e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete e.languages.ruby.function,n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},11891:function(e){"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},49660:function(e){"use strict";function t(e){var t,n,r,a,i,o,s,l,c,u,d,p,m,g,f,h,b,E;t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={function:u={pattern:/%?\b\w+(?=\()/,alias:"keyword"},"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":a={pattern:/&[a-z_]\w*/i},arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c=/[$%@.(){}\[\];,\\]/,string:l={pattern:RegExp(t),greedy:!0}},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},m={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},g={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},f={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},h=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,b={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return h}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return h}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:u,"arg-value":d["arg-value"],operator:d.operator,argument:d.arg,number:n,"numeric-constant":r,punctuation:c,string:l}},E={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0},e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return t}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":g,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:E,"submit-statement":f,"global-statements":g,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:E,"submit-statement":f,"global-statements":g,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:d}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:d},step:o,keyword:E,function:u,format:p,altformat:m,"global-statements":g,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,inside:d},"macro-keyword":i,"macro-variable":a,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":i,"macro-variable":a,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:c}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:d},"cas-actions":b,comment:s,function:u,format:p,altformat:m,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:o,keyword:E,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:c}}e.exports=t,t.displayName="sas",t.aliases=[]},46920:function(e){"use strict";function t(e){var t,n;e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule,t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}e.exports=t,t.displayName="sass",t.aliases=[]},13489:function(e,t,n){"use strict";var r=n(12189);function a(e){e.register(r),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=a,a.displayName="scala",a.aliases=[]},33033:function(e){"use strict";function t(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,function(t){return"(?:"+e[t].trim()+")"});return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}e.exports=t,t.displayName="scheme",t.aliases=[]},45693:function(e){"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},3083:function(e,t,n){"use strict";var r=n(66069);function a(e){var t;e.register(r),t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}e.exports=a,a.displayName="shellSession",a.aliases=[]},46601:function(e){"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},55740:function(e){"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},61558:function(e,t,n){"use strict";var r=n(80096);function a(e){var t,n;e.register(r),e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty,t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return t.source}),"g"),e.hooks.add("before-tokenize",function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}e.exports=a,a.displayName="smarty",a.aliases=[]},91456:function(e){"use strict";function t(e){var t;t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i,e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return t.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},56276:function(e){"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},59351:function(e){"use strict";function t(e){var t;t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}},e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}e.exports=t,t.displayName="solutionFile",t.aliases=[]},91004:function(e,t,n){"use strict";var r=n(80096);function a(e){var t,n;e.register(r),t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/,e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")})}e.exports=a,a.displayName="soy",a.aliases=[]},41743:function(e,t,n){"use strict";var r=n(85395);function a(e){e.register(r),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=a,a.displayName="sparql",a.aliases=["rq"]},68738:function(e){"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},18844:function(e){"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},45310:function(e){"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},46512:function(e){"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},81506:function(e){"use strict";function t(e){var t;t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/,e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}e.exports=t,t.displayName="stan",t.aliases=[]},76240:function(e){"use strict";function t(e){var t,n,r;(r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},number:n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/}).interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}e.exports=t,t.displayName="stylus",t.aliases=[]},72385:function(e){"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}e.exports=t,t.displayName="swift",t.aliases=[]},35864:function(e){"use strict";function t(e){var t,n;t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|')+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}e.exports=t,t.displayName="systemd",t.aliases=[]},28513:function(e,t,n){"use strict";var r=n(65393),a=n(17781);function i(e){e.register(r),e.register(a),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=i,i.displayName="t4Cs",i.aliases=[]},65393:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],a="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,a),"class-feature":t("\\+",r,a),standard:t("",r,a)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},91603:function(e,t,n){"use strict";var r=n(65393),a=n(6315);function i(e){e.register(r),e.register(a),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=i,i.displayName="t4Vb",i.aliases=[]},15089:function(e,t,n){"use strict";var r=n(27297);function a(e){e.register(r),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=a,a.displayName="tap",a.aliases=[]},32798:function(e){"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},2105:function(e){"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,function(){return"(?:"+t+")"}).replace(//g,function(){return"(?:"+n+")"}),r||"")}var a={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},i=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:a},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:a},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:a},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:a},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=i.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};i.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=o.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var c=o.table.inside;c.inline=s.inline,c.link=s.link,c.image=s.image,c.footnote=s.footnote,c.acronym=s.acronym,c.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},3764:function(e){"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},51491:function(e){"use strict";function t(e){var t;e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/},t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source,e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}e.exports=t,t.displayName="tremor",t.aliases=[]},33600:function(e,t,n){"use strict";var r=n(4329),a=n(41970);function i(e){var t,n;e.register(r),e.register(a),t=e.util.clone(e.languages.typescript),e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],(n=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}e.exports=i,i.displayName="tsx",i.aliases=[]},91656:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}e.exports=a,a.displayName="tt2",a.aliases=[]},85395:function(e){"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},58177:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}e.exports=a,a.displayName="twig",a.aliases=[]},41970:function(e){"use strict";function t(e){var t;e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},12919:function(e){"use strict";function t(e){var t;t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/,e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},99347:function(e){"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},16210:function(e){"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},94597:function(e){"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source)+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},61979:function(e){"use strict";function t(e){var t;t={pattern:/[\s\S]+/,inside:null},e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}e.exports=t,t.displayName="v",t.aliases=[]},40159:function(e){"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},6315:function(e,t,n){"use strict";var r=n(24277);function a(e){e.register(r),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=a,a.displayName="vbnet",a.aliases=[]},9520:function(e){"use strict";function t(e){var t;e.languages.velocity=e.languages.extend("markup",{}),(t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/}).variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}e.exports=t,t.displayName="velocity",t.aliases=[]},93915:function(e){"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},2417:function(e){"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},54181:function(e){"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},19816:function(e){"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},77173:function(e){"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},68731:function(e){"use strict";function t(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},91210:function(e){"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var a in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==a&&(r[a]=e.languages["web-idl"][a]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},95081:function(e){"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},64632:function(e){"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},17977:function(e){"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},88505:function(e){"use strict";function t(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},22659:function(e){"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},71293:function(e){"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},60029:function(e){"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var a=[],i=0;i0&&a[a.length-1].tagName===t(o.content[0].content[1])&&a.pop():"/>"===o.content[o.content.length-1].content||a.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(a.length>0)||"punctuation"!==o.type||"{"!==o.content||r[i+1]&&"punctuation"===r[i+1].type&&"{"===r[i+1].content||r[i-1]&&"plain-text"===r[i-1].type&&"{"===r[i-1].content?a.length>0&&a[a.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?a[a.length-1].openedBraces--:"comment"!==o.type&&(s=!0):a[a.length-1].openedBraces++),(s||"string"==typeof o)&&a.length>0&&0===a[a.length-1].openedBraces){var l=t(o);i0&&("string"==typeof r[i-1]||"plain-text"===r[i-1].type)&&(l=t(r[i-1])+l,r.splice(i-1,1),i--),/^\s+$/.test(l)?r[i]=l:r[i]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},27297:function(e){"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+a+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},75093:function(e){"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},37290:function(e){"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",a=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,i="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(a))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(t){null===t.inside&&(t.inside=e.languages.zig)})}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},28063:function(e,t){"use strict";t.Q=function(e){var t=String(e||"").trim();return""===t?[]:t.split(n)};var n=/[ \t\n\r\f]+/g},45199:function(e,t,n){var r=n(11759);function a(e,t){var n,a,i,o=null;if(!e||"string"!=typeof e)return o;for(var s=r(e),l="function"==typeof t,c=0,u=s.length;ci?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)(a=Array.from(r)).unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o0?(r(e,e.length,0,t),e):t}n.d(t,{V:function(){return a},d:function(){return r}})},21983:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});var r=n(32815);function a(e){return null===e||(0,r.z3)(e)||(0,r.B8)(e)?1:(0,r.Xh)(e)?2:void 0}},29567:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(79599);let a={}.hasOwnProperty;function i(e){let t={},n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCharCode(n)}n.d(t,{o:function(){return r}})},38609:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=n(29335),a=n(17930);let i=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function o(e){return e.replace(i,s)}function s(e,t,n){if(t)return t;let i=n.charCodeAt(0);if(35===i){let e=n.charCodeAt(1),t=120===e||88===e;return(0,a.o)(n.slice(t?2:1),t?16:10)}return(0,r.T)(n)||e}},44432:function(e,t,n){"use strict";function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}n.d(t,{d:function(){return r}})},67830:function(e,t,n){"use strict";function r(e,t,n){let r=[],a=-1;for(;++a"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),u=l({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function d(e,t){return t in e?e[t]:t}function p(e,t){return d(e,t.toLowerCase())}let m=l({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:p,properties:{xmlns:null,xmlnsXLink:null}});var g=n(43384);let f=l({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:g.booleanish,ariaAutoComplete:null,ariaBusy:g.booleanish,ariaChecked:g.booleanish,ariaColCount:g.number,ariaColIndex:g.number,ariaColSpan:g.number,ariaControls:g.spaceSeparated,ariaCurrent:null,ariaDescribedBy:g.spaceSeparated,ariaDetails:null,ariaDisabled:g.booleanish,ariaDropEffect:g.spaceSeparated,ariaErrorMessage:null,ariaExpanded:g.booleanish,ariaFlowTo:g.spaceSeparated,ariaGrabbed:g.booleanish,ariaHasPopup:null,ariaHidden:g.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:g.spaceSeparated,ariaLevel:g.number,ariaLive:null,ariaModal:g.booleanish,ariaMultiLine:g.booleanish,ariaMultiSelectable:g.booleanish,ariaOrientation:null,ariaOwns:g.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:g.number,ariaPressed:g.booleanish,ariaReadOnly:g.booleanish,ariaRelevant:null,ariaRequired:g.booleanish,ariaRoleDescription:g.spaceSeparated,ariaRowCount:g.number,ariaRowIndex:g.number,ariaRowSpan:g.number,ariaSelected:g.booleanish,ariaSetSize:g.number,ariaSort:null,ariaValueMax:g.number,ariaValueMin:g.number,ariaValueNow:g.number,ariaValueText:null,role:null}}),h=l({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:p,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:g.commaSeparated,acceptCharset:g.spaceSeparated,accessKey:g.spaceSeparated,action:null,allow:null,allowFullScreen:g.boolean,allowPaymentRequest:g.boolean,allowUserMedia:g.boolean,alt:null,as:null,async:g.boolean,autoCapitalize:null,autoComplete:g.spaceSeparated,autoFocus:g.boolean,autoPlay:g.boolean,blocking:g.spaceSeparated,capture:null,charSet:null,checked:g.boolean,cite:null,className:g.spaceSeparated,cols:g.number,colSpan:null,content:null,contentEditable:g.booleanish,controls:g.boolean,controlsList:g.spaceSeparated,coords:g.number|g.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:g.boolean,defer:g.boolean,dir:null,dirName:null,disabled:g.boolean,download:g.overloadedBoolean,draggable:g.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:g.boolean,formTarget:null,headers:g.spaceSeparated,height:g.number,hidden:g.boolean,high:g.number,href:null,hrefLang:null,htmlFor:g.spaceSeparated,httpEquiv:g.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:g.boolean,inputMode:null,integrity:null,is:null,isMap:g.boolean,itemId:null,itemProp:g.spaceSeparated,itemRef:g.spaceSeparated,itemScope:g.boolean,itemType:g.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:g.boolean,low:g.number,manifest:null,max:null,maxLength:g.number,media:null,method:null,min:null,minLength:g.number,multiple:g.boolean,muted:g.boolean,name:null,nonce:null,noModule:g.boolean,noValidate:g.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:g.boolean,optimum:g.number,pattern:null,ping:g.spaceSeparated,placeholder:null,playsInline:g.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:g.boolean,referrerPolicy:null,rel:g.spaceSeparated,required:g.boolean,reversed:g.boolean,rows:g.number,rowSpan:g.number,sandbox:g.spaceSeparated,scope:null,scoped:g.boolean,seamless:g.boolean,selected:g.boolean,shadowRootClonable:g.boolean,shadowRootDelegatesFocus:g.boolean,shadowRootMode:null,shape:null,size:g.number,sizes:null,slot:null,span:g.number,spellCheck:g.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:g.number,step:null,style:null,tabIndex:g.number,target:null,title:null,translate:null,type:null,typeMustMatch:g.boolean,useMap:null,value:g.booleanish,width:g.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:g.spaceSeparated,axis:null,background:null,bgColor:null,border:g.number,borderColor:null,bottomMargin:g.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:g.boolean,declare:g.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:g.number,leftMargin:g.number,link:null,longDesc:null,lowSrc:null,marginHeight:g.number,marginWidth:g.number,noResize:g.boolean,noHref:g.boolean,noShade:g.boolean,noWrap:g.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:g.number,rules:null,scheme:null,scrolling:g.booleanish,standby:null,summary:null,text:null,topMargin:g.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:g.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:g.boolean,disableRemotePlayback:g.boolean,prefix:null,property:null,results:g.number,security:null,unselectable:null}}),b=l({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:d,properties:{about:g.commaOrSpaceSeparated,accentHeight:g.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:g.number,amplitude:g.number,arabicForm:null,ascent:g.number,attributeName:null,attributeType:null,azimuth:g.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:g.number,by:null,calcMode:null,capHeight:g.number,className:g.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:g.number,diffuseConstant:g.number,direction:null,display:null,dur:null,divisor:g.number,dominantBaseline:null,download:g.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:g.number,enableBackground:null,end:null,event:null,exponent:g.number,externalResourcesRequired:null,fill:null,fillOpacity:g.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:g.commaSeparated,g2:g.commaSeparated,glyphName:g.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:g.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:g.number,horizOriginX:g.number,horizOriginY:g.number,id:null,ideographic:g.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:g.number,k:g.number,k1:g.number,k2:g.number,k3:g.number,k4:g.number,kernelMatrix:g.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:g.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:g.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:g.number,overlineThickness:g.number,paintOrder:null,panose1:null,path:null,pathLength:g.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:g.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:g.number,pointsAtY:g.number,pointsAtZ:g.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g.commaOrSpaceSeparated,rev:g.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g.commaOrSpaceSeparated,requiredFeatures:g.commaOrSpaceSeparated,requiredFonts:g.commaOrSpaceSeparated,requiredFormats:g.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:g.number,specularExponent:g.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:g.number,strikethroughThickness:g.number,string:null,stroke:null,strokeDashArray:g.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:g.number,strokeOpacity:g.number,strokeWidth:null,style:null,surfaceScale:g.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g.commaOrSpaceSeparated,tabIndex:g.number,tableValues:null,target:null,targetX:g.number,targetY:g.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:g.number,underlineThickness:g.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:g.number,values:null,vAlphabetic:g.number,vMathematical:g.number,vectorEffect:null,vHanging:g.number,vIdeographic:g.number,version:null,vertAdvY:g.number,vertOriginX:g.number,vertOriginY:g.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:g.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),E=a([u,c,m,f,h],"html"),T=a([u,c,m,f,b],"svg")},76474:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(20665),a=n(6977),i=n(43189);let o=/^data[-\w.:]+$/i,s=/-[a-z]/g,l=/[A-Z]/g;function c(e,t){let n=(0,r.F)(t),c=t,p=i.k;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&o.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(s,d);c="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!s.test(e)){let n=e.replace(l,u);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}p=a.I}return new p(c,t)}function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},20665:function(e,t,n){"use strict";function r(e){return e.toLowerCase()}n.d(t,{F:function(){return r}})},6977:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(43189),a=n(43384);let i=Object.keys(a);class o extends r.k{constructor(e,t,n,r){var o,s;let l=-1;if(super(e,t),r&&(this.space=r),"number"==typeof n)for(;++le.length){for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1);return a<0?"":e.slice(r,a)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(a=i):(s=-1,a=o));return r===a?a=o:a<0&&(a=e.length),e.slice(r,a)},dirname:function(e){let t;if(p(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){let t;p(e);let n=e.length,r=-1,a=0,i=-1,o=0;for(;n--;){let s=e.charCodeAt(n);if(47===s){if(t){a=n+1;break}continue}r<0&&(t=!0,r=n+1),46===s?i<0?i=n:1!==o&&(o=1):i>-1&&(o=-1)}return i<0||r<0||0===o||1===o&&i===r-1&&i===a+1?"":e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n2){if((r=a.lastIndexOf("/"))!==a.length-1){r<0?(a="",i=0):i=(a=a.slice(0,r)).length-1-a.lastIndexOf("/"),o=l,s=0;continue}}else if(a.length>0){a="",i=0,o=l,s=0;continue}}t&&(a=a.length>0?a+"/..":"..",i=2)}else a.length>0?a+="/"+e.slice(o+1,l):a=e.slice(o+1,l),i=l-o-1;o=l,s=0}else 46===n&&s>-1?s++:s=-1}return a}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function p(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let m={cwd:function(){return"/"}};function g(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let f=["history","path","basename","stem","extname","dirname"];class h{constructor(e){let t,n;t=e?"string"==typeof e||i(e)?{value:e}:g(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=m.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++rt.length;o&&t.push(r);try{i=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(i&&i.then&&"function"==typeof i.then?i.then(a,r):i instanceof Error?r(i):a(i))};function r(e,...a){n||(n=!0,t(e,...a))}function a(e){r(null,e)}})(s,a)(...o):r(null,...o)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),r=[],a={},o=-1;return s.data=function(e,n){return"string"==typeof e?2==arguments.length?(R("data",t),a[e]=n,s):k.call(a,e)&&a[e]||null:e?(R("data",t),a=e,s):a},s.Parser=void 0,s.Compiler=void 0,s.freeze=function(){if(t)return s;for(;++o{if(!e&&t&&n){let r=s.stringify(t,n);null==r||("string"==typeof r||i(r)?n.value=r:n.result=r),o(e,n)}else o(e)})}n(null,t)},s.processSync=function(e){let t;s.freeze(),C("processSync",s.Parser),I("processSync",s.Compiler);let n=w(e);return s.process(n,function(e){t=!0,S(e)}),O("processSync","process",t),n},s;function s(){let t=e(),n=-1;for(;++nr))return;let s=a.events.length,l=s;for(;l--;)if("exit"===a.events[l][0]&&"chunkFlow"===a.events[l][1].type){if(e){n=a.events[l][1].end;break}e=!0}for(h(o),i=s;it;){let t=i[n];a.containerState=t[1],t[0].exit.call(a,e)}i.length=t}function b(){t.write([null]),n=void 0,t=void 0,a.containerState._closeFlow=void 0}}},G={tokenize:function(e,t,n){return(0,M.f)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var $=n(921);function z(e){let t,n,r,a,i,o,s;let l={},c=-1;for(;++c=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}},partial:!0},W={tokenize:function(e){let t=this,n=e.attempt($.w,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,(0,M.f)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(j,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},K={resolveAll:X()},Y=Z("string"),q=Z("text");function Z(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],a=t.attempt(r,i,o);return i;function i(e){return l(e)?a(e):o(e)}function o(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),s}function s(e){return l(e)?(t.exit("data"),a(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=r[e],a=-1;if(t)for(;++a=3&&(null===o||(0,F.Ch)(o))?(e.exit("thematicBreak"),t(o)):n(o)}(i)}}},et={name:"list",tokenize:function(e,t,n){let r=this,a=r.events[r.events.length-1],i=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,o=0;return function(t){let a=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===a?!r.containerState.marker||t===r.containerState.marker:(0,F.pY)(t)){if(r.containerState.type||(r.containerState.type=a,e.enter(a,{_container:!0})),"listUnordered"===a)return e.enter("listItemPrefix"),42===t||45===t?e.check(ee,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(a){return(0,F.pY)(a)&&++o<10?(e.consume(a),t):(!r.interrupt||o<2)&&(r.containerState.marker?a===r.containerState.marker:41===a||46===a)?(e.exit("listItemValue"),s(a)):n(a)}(t)}return n(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check($.w,r.interrupt?n:l,e.attempt(en,u,c))}function l(e){return r.containerState.initialBlankLine=!0,i++,u(e)}function c(t){return(0,F.xz)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check($.w,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,M.f)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,F.xz)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(er,t,a)(n))});function a(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,M.f)(e,e.attempt(et,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)}},en={tokenize:function(e,t,n){let r=this;return(0,M.f)(e,function(e){let a=r.events[r.events.length-1];return!(0,F.xz)(e)&&a&&"listItemPrefixWhitespace"===a[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},er={tokenize:function(e,t,n){let r=this;return(0,M.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"listItemIndent"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},ea={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a}return n(t)};function a(n){return(0,F.xz)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,F.xz)(t)?(0,M.f)(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)};function a(r){return e.attempt(ea,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function ei(e,t,n,r,a,i,o,s,l){let c=l||Number.POSITIVE_INFINITY,u=0;return function(t){return 60===t?(e.enter(r),e.enter(a),e.enter(i),e.consume(t),e.exit(i),d):null===t||32===t||41===t||(0,F.Av)(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(t))};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(a),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||(0,F.Ch)(t)?n(t):(e.consume(t),92===t?m:p)}function m(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function g(a){return!u&&(null===a||41===a||(0,F.z3)(a))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(a)):u999||null===d||91===d||93===d&&!o||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):93===d?(e.exit(i),e.enter(a),e.consume(d),e.exit(a),e.exit(r),t):(0,F.Ch)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||(0,F.Ch)(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),o||(o=!(0,F.xz)(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function es(e,t,n,r,a,i){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(a),e.consume(t),e.exit(a),o=40===t?41:t,s):n(t)};function s(n){return n===o?(e.enter(a),e.consume(n),e.exit(a),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===o?(e.exit(i),s(o)):null===t?n(t):(0,F.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,M.f)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===o||null===t||(0,F.Ch)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===o||92===t?(e.consume(t),c):c(t)}}function el(e,t){let n;return function r(a){return(0,F.Ch)(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):(0,F.xz)(a)?(0,M.f)(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}var ec=n(44432);let eu={tokenize:function(e,t,n){return function(t){return(0,F.z3)(t)?el(e,r)(t):n(t)};function r(t){return es(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return(0,F.xz)(t)?(0,M.f)(e,i,"whitespace")(t):i(t)}function i(e){return null===e||(0,F.Ch)(e)?t(e):n(e)}},partial:!0},ed={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,M.f)(e,a,"linePrefix",5)(t)};function a(t){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?function t(n){return null===n?i(n):(0,F.Ch)(n)?e.attempt(ep,t,i)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,F.Ch)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function i(n){return e.exit("codeIndented"),t(n)}}},ep={tokenize:function(e,t,n){let r=this;return a;function a(t){return r.parser.lazy[r.now().line]?n(t):(0,F.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,M.f)(e,i,"linePrefix",5)(t)}function i(e){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):(0,F.Ch)(e)?a(e):n(e)}},partial:!0},em={name:"setextUnderline",tokenize:function(e,t,n){let r;let a=this;return function(t){let o,s=a.events.length;for(;s--;)if("lineEnding"!==a.events[s][1].type&&"linePrefix"!==a.events[s][1].type&&"content"!==a.events[s][1].type){o="paragraph"===a.events[s][1].type;break}return!a.parser.lazy[a.now().line]&&(a.interrupt||o)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,F.xz)(n)?(0,M.f)(e,i,"lineSuffix")(n):i(n))}(t)):n(t)};function i(r){return null===r||(0,F.Ch)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,a,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),a||"definition"!==e[i][1].type||(a=i);let o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",a?(e.splice(r,0,["enter",o,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[a][1].end)):e[n][1]=o,e.push(["exit",o,t]),e}},eg=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ef=["pre","script","style","textarea"],eh={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt($.w,t,n)}},partial:!0},eb={tokenize:function(e,t,n){let r=this;return function(t){return(0,F.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):n(t)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eE={tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eT={name:"codeFenced",tokenize:function(e,t,n){let r;let a=this,i={tokenize:function(e,t,n){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),(0,F.xz)(t)?(0,M.f)(e,l,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(a){return a===r?(i++,e.consume(a),t):i>=s?(e.exit("codeFencedFenceSequence"),(0,F.xz)(a)?(0,M.f)(e,c,"whitespace")(a):c(a)):n(a)}(t)):n(t)}function c(r){return null===r||(0,F.Ch)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},o=0,s=0;return function(t){return function(t){let i=a.events[a.events.length-1];return o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(a){return a===r?(s++,e.consume(a),t):s<3?n(a):(e.exit("codeFencedFenceSequence"),(0,F.xz)(a)?(0,M.f)(e,l,"whitespace")(a):l(a))}(t)}(t)};function l(i){return null===i||(0,F.Ch)(i)?(e.exit("codeFencedFence"),a.interrupt?t(i):e.check(eE,u,g)(i)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,F.Ch)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(a)):(0,F.xz)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,M.f)(e,c,"whitespace")(a)):96===a&&a===r?n(a):(e.consume(a),t)}(i))}function c(t){return null===t||(0,F.Ch)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,F.Ch)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(a)):96===a&&a===r?n(a):(e.consume(a),t)}(t))}function u(t){return e.attempt(i,g,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return o>0&&(0,F.xz)(t)?(0,M.f)(e,m,"linePrefix",o+1)(t):m(t)}function m(t){return null===t||(0,F.Ch)(t)?e.check(eE,u,g)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,F.Ch)(n)?(e.exit("codeFlowValue"),m(n)):(e.consume(n),t)}(t))}function g(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var eS=n(29335);let ey={name:"characterReference",tokenize:function(e,t,n){let r,a;let i=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,a=F.H$,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,a=F.AF,c):(e.enter("characterReferenceValue"),r=7,a=F.pY,c(t))}function c(s){if(59===s&&o){let r=e.exit("characterReferenceValue");return a!==F.H$||(0,eS.T)(i.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return a(s)&&o++1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);ew(d,-s),ew(p,s),i={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},o={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},a={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},i.start),e[u][1].start=Object.assign({},o.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=(0,B.V)(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=(0,B.V)(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",a,t]]),l=(0,B.V)(l,(0,J.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=(0,B.V)(l,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=(0,B.V)(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,(0,B.d)(e,n-1,u-n+3,l),u=n+l.length-c-2;break}}for(u=-1;++ui&&"whitespace"===e[a][1].type&&(a-=2),"atxHeadingSequence"===e[a][1].type&&(i===a-1||a-4>i&&"whitespace"===e[a-2][1].type)&&(a-=i+1===a?2:4),a>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},r={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},(0,B.d)(e,i,a-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:ee,45:[em,ee],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,a,i,o,s;let l=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c};function c(o){return 33===o?(e.consume(o),u):47===o?(e.consume(o),a=!0,m):63===o?(e.consume(o),r=3,l.interrupt?t:x):(0,F.jv)(o)?(e.consume(o),i=String.fromCharCode(o),g):n(o)}function u(a){return 45===a?(e.consume(a),r=2,d):91===a?(e.consume(a),r=5,o=0,p):(0,F.jv)(a)?(e.consume(a),r=4,l.interrupt?t:x):n(a)}function d(r){return 45===r?(e.consume(r),l.interrupt?t:x):n(r)}function p(r){let a="CDATA[";return r===a.charCodeAt(o++)?(e.consume(r),o===a.length)?l.interrupt?t:k:p:n(r)}function m(t){return(0,F.jv)(t)?(e.consume(t),i=String.fromCharCode(t),g):n(t)}function g(o){if(null===o||47===o||62===o||(0,F.z3)(o)){let s=47===o,c=i.toLowerCase();return!s&&!a&&ef.includes(c)?(r=1,l.interrupt?t(o):k(o)):eg.includes(i.toLowerCase())?(r=6,s)?(e.consume(o),f):l.interrupt?t(o):k(o):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(o):a?function t(n){return(0,F.xz)(n)?(e.consume(n),t):A(n)}(o):h(o))}return 45===o||(0,F.H$)(o)?(e.consume(o),i+=String.fromCharCode(o),g):n(o)}function f(r){return 62===r?(e.consume(r),l.interrupt?t:k):n(r)}function h(t){return 47===t?(e.consume(t),A):58===t||95===t||(0,F.jv)(t)?(e.consume(t),b):(0,F.xz)(t)?(e.consume(t),h):A(t)}function b(t){return 45===t||46===t||58===t||95===t||(0,F.H$)(t)?(e.consume(t),b):E(t)}function E(t){return 61===t?(e.consume(t),T):(0,F.xz)(t)?(e.consume(t),E):h(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,S):(0,F.xz)(t)?(e.consume(t),T):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,F.z3)(n)?E(n):(e.consume(n),t)}(t)}function S(t){return t===s?(e.consume(t),s=null,y):null===t||(0,F.Ch)(t)?n(t):(e.consume(t),S)}function y(e){return 47===e||62===e||(0,F.xz)(e)?h(e):n(e)}function A(t){return 62===t?(e.consume(t),_):n(t)}function _(t){return null===t||(0,F.Ch)(t)?k(t):(0,F.xz)(t)?(e.consume(t),_):n(t)}function k(t){return 45===t&&2===r?(e.consume(t),R):60===t&&1===r?(e.consume(t),v):62===t&&4===r?(e.consume(t),L):63===t&&3===r?(e.consume(t),x):93===t&&5===r?(e.consume(t),w):(0,F.Ch)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(eh,D,N)(t)):null===t||(0,F.Ch)(t)?(e.exit("htmlFlowData"),N(t)):(e.consume(t),k)}function N(t){return e.check(eb,C,D)(t)}function C(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||(0,F.Ch)(t)?N(t):(e.enter("htmlFlowData"),k(t))}function R(t){return 45===t?(e.consume(t),x):k(t)}function v(t){return 47===t?(e.consume(t),i="",O):k(t)}function O(t){if(62===t){let n=i.toLowerCase();return ef.includes(n)?(e.consume(t),L):k(t)}return(0,F.jv)(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),O):k(t)}function w(t){return 93===t?(e.consume(t),x):k(t)}function x(t){return 62===t?(e.consume(t),L):45===t&&2===r?(e.consume(t),x):k(t)}function L(t){return null===t||(0,F.Ch)(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),L)}function D(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:em,95:ee,96:eT,126:eT},eF={38:ey,92:eA},eU={[-5]:e_,[-4]:e_,[-3]:e_,33:eR,38:ey,42:eO,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a};function a(t){return(0,F.jv)(t)?(e.consume(t),i):s(t)}function i(t){return 43===t||45===t||46===t||(0,F.H$)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||(0,F.H$)(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function o(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,F.Av)(r)?n(r):(e.consume(r),o)}function s(t){return 64===t?(e.consume(t),l):(0,F.n9)(t)?(e.consume(t),s):n(t)}function l(a){return(0,F.H$)(a)?function a(i){return 46===i?(e.consume(i),r=0,l):62===i?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(i),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(i){if((45===i||(0,F.H$)(i))&&r++<63){let n=45===i?t:a;return e.consume(i),n}return n(i)}(i)}(a):n(a)}}},{name:"htmlText",tokenize:function(e,t,n){let r,a,i;let o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),S):63===t?(e.consume(t),E):(0,F.jv)(t)?(e.consume(t),A):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),a=0,m):(0,F.jv)(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):(0,F.Ch)(t)?(i=u,O(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?v(e):45===e?d(e):u(e)}function m(t){let r="CDATA[";return t===r.charCodeAt(a++)?(e.consume(t),a===r.length?g:m):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),f):(0,F.Ch)(t)?(i=g,O(t)):(e.consume(t),g)}function f(t){return 93===t?(e.consume(t),h):g(t)}function h(t){return 62===t?v(t):93===t?(e.consume(t),h):g(t)}function b(t){return null===t||62===t?v(t):(0,F.Ch)(t)?(i=b,O(t)):(e.consume(t),b)}function E(t){return null===t?n(t):63===t?(e.consume(t),T):(0,F.Ch)(t)?(i=E,O(t)):(e.consume(t),E)}function T(e){return 62===e?v(e):E(e)}function S(t){return(0,F.jv)(t)?(e.consume(t),y):n(t)}function y(t){return 45===t||(0,F.H$)(t)?(e.consume(t),y):function t(n){return(0,F.Ch)(n)?(i=t,O(n)):(0,F.xz)(n)?(e.consume(n),t):v(n)}(t)}function A(t){return 45===t||(0,F.H$)(t)?(e.consume(t),A):47===t||62===t||(0,F.z3)(t)?_(t):n(t)}function _(t){return 47===t?(e.consume(t),v):58===t||95===t||(0,F.jv)(t)?(e.consume(t),k):(0,F.Ch)(t)?(i=_,O(t)):(0,F.xz)(t)?(e.consume(t),_):v(t)}function k(t){return 45===t||46===t||58===t||95===t||(0,F.H$)(t)?(e.consume(t),k):function t(n){return 61===n?(e.consume(n),N):(0,F.Ch)(n)?(i=t,O(n)):(0,F.xz)(n)?(e.consume(n),t):_(n)}(t)}function N(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,C):(0,F.Ch)(t)?(i=N,O(t)):(0,F.xz)(t)?(e.consume(t),N):(e.consume(t),I)}function C(t){return t===r?(e.consume(t),r=void 0,R):null===t?n(t):(0,F.Ch)(t)?(i=C,O(t)):(e.consume(t),C)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,F.z3)(t)?_(t):(e.consume(t),I)}function R(e){return 47===e||62===e||(0,F.z3)(e)?_(e):n(e)}function v(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function O(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),w}function w(t){return(0,F.xz)(t)?(0,M.f)(e,x,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):x(t)}function x(t){return e.enter("htmlTextData"),i(t)}}}],91:ex,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,F.Ch)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eA],93:ek,95:eO,96:{name:"codeText",tokenize:function(e,t,n){let r,a,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),i++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),o):96===l?(a=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(a.type="codeTextData",s(o))}(l)):(0,F.Ch)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||(0,F.Ch)(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),s)}},resolve:function(e){let t,n,r=e.length-4,a=3;if(("lineEnding"===e[3][1].type||"space"===e[a][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=a;++t0){let e=i.tokenStack[i.tokenStack.length-1],t=e[1]||eY;t.call(i,void 0,e[0])}for(n.position={start:eK(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:eK(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c-1){let e=n[0];"string"==typeof e?n[0]=e.slice(a):n.shift()}o>0&&n.push(e[i].slice(0,o))}return n}(o,e)}function p(){let{line:e,column:t,offset:n,_index:a,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:a,_bufferIndex:i}}function m(e,t){t.restore()}function g(e,t){return function(n,a,i){let o,u,d,m;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null,a=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]];return g(a)(e)};function g(e){return(o=e,u=0,0===e.length)?i:f(e[u])}function f(e){return function(n){return(m=function(){let e=p(),t=c.previous,n=c.currentConstruct,a=c.events.length,i=Array.from(s);return{restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=a,s=i,h()},from:a}}(),d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?E(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,b,E)(n)}}function b(t){return e(d,m),a}function E(e){return(m.restore(),++u{let n=this.data("settings");return eW(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function eZ(e){let t=[],n=-1,r=0,a=0;for(;++n55295&&i<57344){let t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(o=String.fromCharCode(i,t),a=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+a+1,o=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}var eX=n(45922),eQ=n(25836);let eJ={}.hasOwnProperty;function e1(e){return String(e||"").toUpperCase()}function e0(e,t){let n;let r=String(t.identifier).toUpperCase(),a=eZ(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);-1===i?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,n=e.footnoteOrder.length):(e.footnoteCounts[r]++,n=i+1);let o=e.footnoteCounts[r],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+a,id:e.clobberPrefix+"fnref-"+a+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,s);let l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function e9(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};let a=e.all(t),i=a[0];i&&"text"===i.type?i.value="["+i.value:a.unshift({type:"text",value:"["});let o=a[a.length-1];return o&&"text"===o.type?o.value+=r:a.push({type:"text",value:r}),a}function e5(e){let t=e.spread;return null==t?e.children.length>1:t}function e2(e,t,n){let r=0,a=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(a-1);for(;9===t||32===t;)a--,t=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}let e4={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,a={};r&&(a.className=["language-"+r]);let i={type:"element",tagName:"code",properties:a,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i={type:"element",tagName:"pre",properties:{},children:[i=e.applyData(t,i)]},e.patch(t,i),i},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:e0,footnote:function(e,t){let n=e.footnoteById,r=1;for(;(r in n);)r++;let a=String(r);return n[a]={type:"footnoteDefinition",identifier:a,children:[{type:"paragraph",children:t.children}],position:t.position},e0(e,{type:"footnoteReference",identifier:a,position:t.position})},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){let n=e.definition(t.identifier);if(!n)return e9(e,t);let r={src:eZ(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);let a={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let n={src:eZ(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=e.definition(t.identifier);if(!n)return e9(e,t);let r={href:eZ(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);let a={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let n={href:eZ(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),a=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=(0,eQ.Pk)(t.children[1]),o=(0,eQ.rb)(t.children[t.children.length-1]);i.line&&o.line&&(r.position={start:i,end:o}),a.push(r)}let i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,a=r?r.indexOf(t):1,i=0===a?"th":"td",o=n&&"table"===n.type?n.align:void 0,s=o?o.length:t.children.length,l=-1,c=[];for(;++l0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return i.push(e2(t.slice(a),a>0,!1)),i.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:e8,yaml:e8,definition:e8,footnoteDefinition:e8};function e8(){return null}let e6={}.hasOwnProperty;function e3(e,t){e.position&&(t.position=(0,eQ.FK)(e))}function e7(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,a=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&a&&(n.properties={...n.properties,...a}),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function te(e,t,n){let r=t&&t.type;if(!r)throw Error("Expected node, got `"+t+"`");return e6.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:tt(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){let n=t.data||{},r="value"in t&&!(e6.call(n,"hProperties")||e6.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:tt(e,t)};return e.patch(t,r),e.applyData(t,r)}(e,t)}function tt(e,t){let n=[];if("children"in t){let r=t.children,a=-1;for(;++a0&&n.push({type:"text",value:"\n"}),n}function tr(e,t){let n=function(e,t){let n=t||{},r=n.allowDangerousHtml||!1,a={};return o.dangerous=r,o.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,o.footnoteLabel=n.footnoteLabel||"Footnotes",o.footnoteLabelTagName=n.footnoteLabelTagName||"h2",o.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},o.footnoteBackLabel=n.footnoteBackLabel||"Back to content",o.unknownHandler=n.unknownHandler,o.passThrough=n.passThrough,o.handlers={...e4,...n.handlers},o.definition=function(e){let t=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return(0,eX.Vn)(e,"definition",e=>{let n=e1(e.identifier);n&&!eJ.call(t,n)&&(t[n]=e)}),function(e){let n=e1(e);return n&&eJ.call(t,n)?t[n]:null}}(e),o.footnoteById=a,o.footnoteOrder=[],o.footnoteCounts={},o.patch=e3,o.applyData=e7,o.one=function(e,t){return te(o,e,t)},o.all=function(e){return tt(o,e)},o.wrap=tn,o.augment=i,(0,eX.Vn)(e,"footnoteDefinition",e=>{let t=String(e.identifier).toUpperCase();e6.call(a,t)||(a[t]=e)}),o;function i(e,t){if(e&&"data"in e&&e.data){let n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){let n="type"in e?e:{position:e};!n||!n.position||!n.position.start||!n.position.start.line||!n.position.start.column||!n.position.end||!n.position.end.line||!n.position.end.column||(t.position={start:(0,eQ.Pk)(n),end:(0,eQ.rb)(n)})}return t}function o(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),i(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),a=function(e){let t=[],n=-1;for(;++n1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}let c=a[a.length-1];if(c&&"element"===c.type&&"p"===c.tagName){let e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else a.push(...l);let u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+o},children:e.wrap(a,!0)};e.patch(r,u),t.push(u)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return a&&r.children.push({type:"text",value:"\n"},a),Array.isArray(r)?{type:"root",children:r}:r}var ta=function(e,t){var n;return e&&"run"in e?(n,r,a)=>{e.run(tr(n,t),r,e=>{a(e)})}:(n=e||t,e=>tr(e,n))},ti=n(54942),to=n(83867);function ts(e){if(e.allowedElements&&e.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{(0,eX.Vn)(t,"element",(t,n,r)=>{let a;if(e.allowedElements?a=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(a=e.disallowedElements.includes(t.tagName)),!a&&e.allowElement&&"number"==typeof n&&(a=!e.allowElement(t,n,r)),a&&"number"==typeof n)return e.unwrapDisallowed&&t.children?r.children.splice(n,1,...t.children):r.children.splice(n,1),n})}}var tl=n(69404),tc=n(76474);let tu={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var td=n(82616),tp=n(92638),tm=n(45199);let tg=["http","https","mailto","tel"];function tf(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;let r=t.indexOf(":");if(-1===r)return t;let a=-1;for(;++aa||-1!==(a=t.indexOf("#"))&&r>a?t:"javascript:void(0)"}let th={}.hasOwnProperty,tb=new Set(["table","thead","tbody","tfoot","tr"]);function tE(e,t){let n=-1,r=0;for(;++n for more info)`),delete ty[t]}let t=_().use(eq).use(e.remarkPlugins||[]).use(ta,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(ts,e),n=new h;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let r=t.runSync(t.parse(n),n);if("root"!==r.type)throw TypeError("Expected a `root` node");let i=a.createElement(a.Fragment,{},function e(t,n){let r;let i=[],o=-1;for(;++o0?a.createElement(f,d,m):a.createElement(f,d)}(t,r,o,n)):"text"===r.type?"element"===n.type&&tb.has(n.tagName)&&function(e){let t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}(r)||i.push(r.value):"raw"!==r.type||t.options.skipHtml||i.push(r.value);return i}({options:e,schema:to.dy,listDepth:0},r));return e.className&&(i=a.createElement("div",{className:e.className},i)),i}tA.propTypes={children:ti.string,className:ti.string,allowElement:ti.func,allowedElements:ti.arrayOf(ti.string),disallowedElements:ti.arrayOf(ti.string),unwrapDisallowed:ti.bool,remarkPlugins:ti.arrayOf(ti.oneOfType([ti.object,ti.func,ti.arrayOf(ti.oneOfType([ti.bool,ti.string,ti.object,ti.func,ti.arrayOf(ti.any)]))])),rehypePlugins:ti.arrayOf(ti.oneOfType([ti.object,ti.func,ti.arrayOf(ti.oneOfType([ti.bool,ti.string,ti.object,ti.func,ti.arrayOf(ti.any)]))])),sourcePos:ti.bool,rawSourcePos:ti.bool,skipHtml:ti.bool,includeElementIndex:ti.bool,transformLinkUri:ti.oneOfType([ti.func,ti.bool]),linkTarget:ti.oneOfType([ti.func,ti.string]),transformImageUri:ti.func,components:ti.object}},73304:function(e,t,n){"use strict";n.d(t,{Z:function(){return F}});var r=n(80680),a=n(25836),i=n(45922),o=n(83867),s=n(76474),l=n(20665);let c=/[#.]/g;var u=n(82616),d=n(92638);let p=new Set(["menu","submit","reset","button"]),m={}.hasOwnProperty;function g(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n-1&&ee)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}}return{line:void 0,column:void 0,offset:void 0}},toOffset:function(e){let t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){let e=(n[t-2]||0)+r-1||0;if(e>-1&&e{if(e.value.stitch&&null!==n&&null!==t)return n.children[t]=e.value.stitch,t}),"root"!==e.type&&"root"===h.type&&1===h.children.length)return h.children[0];return h;function b(e){let t=-1;if(e)for(;++t{let r=D(t,n,e);return r}}},94090:function(e,t,n){"use strict";n.d(t,{Z:function(){return eM}});var r=n(29567),a=n(32815);let i={tokenize:function(e,t,n){let r=0;return function t(i){return(87===i||119===i)&&r<3?(r++,e.consume(i),t):46===i&&3===r?(e.consume(i),a):n(i)};function a(e){return null===e?n(e):t(e)}},partial:!0},o={tokenize:function(e,t,n){let r,i,o;return s;function s(t){return 46===t||95===t?e.check(l,u,c)(t):null===t||(0,a.z3)(t)||(0,a.B8)(t)||45!==t&&(0,a.Xh)(t)?u(t):(o=!0,e.consume(t),s)}function c(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),s}function u(e){return i||r||!o?n(e):t(e)}},partial:!0},s={tokenize:function(e,t){let n=0,r=0;return i;function i(s){return 40===s?(n++,e.consume(s),i):41===s&&r0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}m[43]=p,m[45]=p,m[46]=p,m[95]=p,m[72]=[p,d],m[104]=[p,d],m[87]=[p,u],m[119]=[p,u];var y=n(921),A=n(29560),_=n(44432);let k={tokenize:function(e,t,n){let r=this;return(0,A.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function N(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,_.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function C(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function I(e,t,n){let r;let i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,a.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,_.d)(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,a.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function R(e,t,n){let r,i;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!i||null===t||91===t||(0,a.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,_.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,a.z3)(t)||(i=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,A.f)(e,m,"gfmFootnoteDefinitionWhitespace")):n(t)}function m(e){return t(e)}}function v(e,t,n){return e.check(y.w,t,e.attempt(k,t,n))}function O(e){e.exit("gfmFootnoteDefinition")}var w=n(79599),x=n(21983),L=n(67830);class D{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;ae[0]-t[0]),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}let P={flow:{null:{tokenize:function(e,t,n){let r;let i=this,o=0,s=0;return function(e){let t=i.events.length-1;for(;t>-1;){let e=i.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?i.events[t][1].type:null,a="tableHead"===r||"tableRow"===r?T:l;return a===T&&i.parser.lazy[i.now().line]?n(e):a(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,a.Ch)(t)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,a.xz)(t)?(0,A.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,a.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,a.xz)(t))?(0,A.f)(e,m,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):m(t)}function m(t){return 45===t||58===t?f(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),g):n(t)}function g(t){return(0,a.xz)(t)?(0,A.f)(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),h):45===t?(s+=1,h(t)):null===t||(0,a.Ch)(t)?E(t):n(t)}function h(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,a.xz)(t)?(0,A.f)(e,E,"whitespace")(t):E(t)}function E(i){return 124===i?m(i):null===i||(0,a.Ch)(i)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i):n(i)}function T(t){return e.enter("tableRow"),S(t)}function S(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),S):null===n||(0,a.Ch)(n)?(e.exit("tableRow"),t(n)):(0,a.xz)(n)?(0,A.f)(e,S,"whitespace")(n):(e.enter("data"),y(n))}function y(t){return null===t||124===t||(0,a.z3)(t)?(e.exit("data"),S(t)):(e.consume(t),92===t?_:y)}function _(t){return 92===t||124===t?(e.consume(t),y):y(t)}},resolveAll:function(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new D;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},U(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function F(e,t,n,r,a){let i=[],o=U(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function U(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let B={text:{91:{tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return(0,a.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,a.Ch)(r)?t(r):(0,a.xz)(r)?e.check({tokenize:H},t,n)(r):n(r)}}}}};function H(e,t,n){return(0,A.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}function G(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}var $=n(35902),z=n(62228);let j={}.hasOwnProperty,V=function(e,t,n,r){let a,i;"string"==typeof t||t instanceof RegExp?(i=[[t,n]],a=r):(i=t,a=n),a||(a={});let o=(0,z.O)(a.ignore||[]),s=function(e){let t=[];if("object"!=typeof e)throw TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n0?{type:"text",value:s}:void 0),!1!==s&&(i!==n&&u.push({type:"text",value:e.value.slice(i,n)}),Array.isArray(s)?u.push(...s):s&&u.push(s),i=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(ie}let Y="phrasing",q=["autolink","link","image","label"],Z={transforms:[function(e){V(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,J],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,ee]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:Q,literalAutolinkHttp:Q,literalAutolinkWww:Q},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}}},X={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Y,notInConstruct:q},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Y,notInConstruct:q},{character:":",before:"[ps]",after:"\\/",inConstruct:Y,notInConstruct:q}]};function Q(e){this.config.enter.autolinkProtocol.call(this,e)}function J(e,t,n,r,a){let i="";if(!et(a)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let o=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),a=G(e,"("),i=G(e,")");for(;-1!==r&&a>i;)e+=n.slice(0,r+1),r=(n=n.slice(r+1)).indexOf(")"),i++;return[e,n]}(n+r);if(!o[0])return!1;let s={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function ee(e,t,n,r){return!(!et(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function et(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,a.B8)(n)||(0,a.Xh)(n))&&(!t||47!==n)}var en=n(38609);function er(e){return e.label||!e.identifier?e.label||"":(0,en.v)(e.identifier)}let ea=/\r?\n|\r/g;function ei(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function eo(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r=u)&&(!(e+10?" ":"")),a.shift(4),i+=a.move(function(e,t){let n;let r=[],a=0,i=0;for(;n=ea.exec(e);)o(e.slice(a,n.index)),r.push(n[0]),a=n.index+n[0].length,i++;return o(e.slice(a)),r.join("");function o(e){r.push(t(e,i,!e))}}(function(e,t,n){let r=t.indexStack,a=e.children||[],i=t.createTracker(n),o=[],s=-1;for(r.push(-1);++s\n\n"}return"\n\n"}(n,a[s+1],e,t)))}return r.pop(),o.join("")}(e,n,a.current()),ey)),o(),i}function ey(e,t,n){return 0===t?e:(n?"":" ")+e}function eA(e,t,n){let r=t.indexStack,a=e.children||[],i=[],o=-1,s=n.before;r.push(-1);let l=t.createTracker(n);for(;++o0&&("\r"===s||"\n"===s)&&"html"===u.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",(l=t.createTracker(n)).move(i.join(""))),i.push(l.move(t.handle(u,e,t,{...l.current(),before:s,after:c}))),s=i[i.length-1].slice(-1)}return r.pop(),i.join("")}eT.peek=function(){return"["},eN.peek=function(){return"~"};let e_={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},ek={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:eN}};function eN(e,t,n,r){let a=eu(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=eA(e,n,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function eC(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i"none"===e?null:e),children:[]},e),this.setData("inTable",!0)},tableData:ew,tableHeader:ew,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,ex));let n=this.stack[this.stack.length-1];n.value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:eO,tableHeader:eO,tableRow:eO}};function eO(e){this.exit(e)}function ew(e){this.enter({type:"tableCell",children:[]},e)}function ex(e,t){return"|"===t?t:e}let eL={exit:{taskListCheckValueChecked:eP,taskListCheckValueUnchecked:eP,paragraph:function(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c}(e,t,n,{...r,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+o})),l}}};function eP(e){let t=this.stack[this.stack.length-2];t.checked="taskListCheckValueChecked"===e.type}function eM(e={}){let t=this.data();function n(e,n){let r=t[e]?t[e]:t[e]=[];r.push(n)}n("micromarkExtensions",(0,r.W)([g,{document:{91:{tokenize:R,continuation:{tokenize:v},exit:O}},text:{91:{tokenize:I},93:{add:"after",tokenize:N,resolveTo:C}}},function(e){let t=(e||{}).singleTilde,n={tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,x.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,x.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),m[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,m),c=-1;let g=[];for(;++c-1?n.offset:null}}}},35902:function(e,t,n){"use strict";n.d(t,{S4:function(){return a}});var r=n(62228);let a=function(e,t,n,a){"function"==typeof t&&"function"!=typeof n&&(a=n,n=t,t=null);let i=(0,r.O)(t),o=a?-1:1;(function e(r,s,l){let c=r&&"object"==typeof r?r:{};if("string"==typeof c.type){let e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return u;function u(){var c;let u,d,p,m=[];if((!t||i(r,s,l[l.length-1]||null))&&!1===(m=Array.isArray(c=n(r,l))?c:"number"==typeof c?[!0,c]:[c])[0])return m;if(r.children&&"skip"!==m[0])for(d=(a?r.children.length:-1)+o,p=l.concat(r);d>-1&&d","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},32189:function(e){"use strict";e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/749-793fa2dfe2b6b060.js b/dbgpt/app/static/web/_next/static/chunks/749-793fa2dfe2b6b060.js deleted file mode 100644 index e944c479f..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/749-793fa2dfe2b6b060.js +++ /dev/null @@ -1,55 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[749],{86944:function(e,t,o){o.d(t,{Z:function(){return a}});var n=o(42096),r=o(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},i=o(75651),a=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},749:function(e,t,o){o.d(t,{Z:function(){return P}});var n=o(38497),r=o(86944),l=o(26869),i=o.n(l),a=o(195),s=o(81581),d=o(77757),c=o(55598),u=o(58416),m=o(13553),p=o(99851),g=o(55091),$=o(67478),b=o(49594),v=o(63346),f=o(95227),h=o(78984),I=o(70730),C=o(73098),w=o(72178),x=o(60848),y=o(57723),S=o(33445),B=o(98539),O=o(20136),k=o(49407),E=o(90102),j=o(74934),z=e=>{let{componentCls:t,menuCls:o,colorError:n,colorTextLightSolid:r}=e,l=`${o}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${o} ${l}`]:{[`&${l}-danger:not(${l}-disabled)`]:{color:n,"&:hover":{color:r,backgroundColor:n}}}}}};let H=e=>{let{componentCls:t,menuCls:o,zIndexPopup:n,dropdownArrowDistance:r,sizePopupArrow:l,antCls:i,iconCls:a,motionDurationMid:s,paddingBlock:d,fontSize:c,dropdownEdgeChildPadding:u,colorTextDisabled:m,fontSizeIcon:p,controlPaddingHorizontal:g,colorBgElevated:$}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:n,display:"block","&::before":{position:"absolute",insetBlock:e.calc(l).div(2).sub(r).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${i}-btn`]:{[`& > ${a}-down, & > ${i}-btn-icon > ${a}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:"relative",[`${i}-btn > ${a}-down`]:{fontSize:p},[`${a}-down::before`]:{transition:`transform ${s}`}},[`${t}-wrap-open`]:{[`${a}-down::before`]:{transform:"rotate(180deg)"}},[` - &-hidden, - &-menu-hidden, - &-menu-submenu-hidden - `]:{display:"none"},[`&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomLeft, - &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomLeft, - &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottom, - &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottom, - &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomRight, - &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:y.fJ},[`&${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topLeft, - &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topLeft, - &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-top, - &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-top, - &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topRight, - &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topRight`]:{animationName:y.Qt},[`&${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomLeft, - &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottom, - &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:y.Uw},[`&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topLeft, - &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-top, - &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topRight`]:{animationName:y.ly}}},(0,O.ZP)(e,$,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${o}`]:{position:"relative",margin:0},[`${o}-submenu-popup`]:{position:"absolute",zIndex:n,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},(0,x.Wf)(e)),{[o]:Object.assign(Object.assign({padding:u,listStyleType:"none",backgroundColor:$,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},(0,x.Qy)(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${o}-item-group-title`]:{padding:`${(0,w.bf)(d)} ${(0,w.bf)(g)}`,color:e.colorTextDescription,transition:`all ${s}`},[`${o}-item`]:{position:"relative",display:"flex",alignItems:"center",whiteSpace:"nowrap"},[`${o}-item-icon`]:{minWidth:c,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${o}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${s}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${o}-item, ${o}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${(0,w.bf)(d)} ${(0,w.bf)(g)}`,color:e.colorText,fontWeight:"normal",fontSize:c,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${s}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},(0,x.Qy)(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:m,cursor:"not-allowed","&:hover":{color:m,backgroundColor:$,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,w.bf)(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:p,fontStyle:"normal"}}}),[`${o}-item-group-list`]:{margin:`0 ${(0,w.bf)(e.marginXS)}`,padding:0,listStyle:"none"},[`${o}-submenu-title`]:{paddingInlineEnd:e.calc(g).add(e.fontSizeSM).equal()},[`${o}-submenu-vertical`]:{position:"relative"},[`${o}-submenu${o}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:m,backgroundColor:$,cursor:"not-allowed"}},[`${o}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[(0,y.oN)(e,"slide-up"),(0,y.oN)(e,"slide-down"),(0,S.Fm)(e,"move-up"),(0,S.Fm)(e,"move-down"),(0,B._y)(e,"zoom-big")]]};var N=(0,E.I$)("Dropdown",e=>{let{marginXXS:t,sizePopupArrow:o,paddingXXS:n,componentCls:r}=e,l=(0,j.IX)(e,{menuCls:`${r}-menu`,dropdownArrowDistance:e.calc(o).div(2).add(t).equal(),dropdownEdgeChildPadding:n});return[H(l),z(l)]},e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},(0,O.wZ)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,k.w)(e)),{resetStyle:!1});let T=e=>{var t;let{menu:o,arrow:l,prefixCls:p,children:w,trigger:x,disabled:y,dropdownRender:S,getPopupContainer:B,overlayClassName:O,rootClassName:k,overlayStyle:E,open:j,onOpenChange:z,visible:H,onVisibleChange:T,mouseEnterDelay:R=.15,mouseLeaveDelay:P=.1,autoAdjustOverflow:Z=!0,placement:M="",overlay:D,transitionName:A}=e,{getPopupContainer:W,getPrefixCls:L,direction:X,dropdown:q}=n.useContext(v.E_);(0,$.ln)("Dropdown");let _=n.useMemo(()=>{let e=L();return void 0!==A?A:M.includes("top")?`${e}-slide-down`:`${e}-slide-up`},[L,M,A]),F=n.useMemo(()=>M?M.includes("Center")?M.slice(0,M.indexOf("Center")):M:"rtl"===X?"bottomRight":"bottomLeft",[M,X]),Y=L("dropdown",p),V=(0,f.Z)(Y),[G,J,Q]=N(Y,V),[,U]=(0,C.ZP)(),K=n.Children.only(w),ee=(0,g.Tm)(K,{className:i()(`${Y}-trigger`,{[`${Y}-rtl`]:"rtl"===X},K.props.className),disabled:null!==(t=K.props.disabled)&&void 0!==t?t:y}),et=y?[]:x,eo=!!(null==et?void 0:et.includes("contextMenu")),[en,er]=(0,d.Z)(!1,{value:null!=j?j:H}),el=(0,s.zX)(e=>{null==z||z(e,{source:"trigger"}),null==T||T(e),er(e)}),ei=i()(O,k,J,Q,V,null==q?void 0:q.className,{[`${Y}-rtl`]:"rtl"===X}),ea=(0,m.Z)({arrowPointAtCenter:"object"==typeof l&&l.pointAtCenter,autoAdjustOverflow:Z,offset:U.marginXXS,arrowWidth:l?U.sizePopupArrow:0,borderRadius:U.borderRadius}),es=n.useCallback(()=>{null!=o&&o.selectable&&null!=o&&o.multiple||(null==z||z(!1,{source:"menu"}),er(!1))},[null==o?void 0:o.selectable,null==o?void 0:o.multiple]),[ed,ec]=(0,u.Cn)("Dropdown",null==E?void 0:E.zIndex),eu=n.createElement(a.Z,Object.assign({alignPoint:eo},(0,c.Z)(e,["rootClassName"]),{mouseEnterDelay:R,mouseLeaveDelay:P,visible:en,builtinPlacements:ea,arrow:!!l,overlayClassName:ei,prefixCls:Y,getPopupContainer:B||W,transitionName:_,trigger:et,overlay:()=>{let e;return e=(null==o?void 0:o.items)?n.createElement(h.Z,Object.assign({},o)):"function"==typeof D?D():D,S&&(e=S(e)),e=n.Children.only("string"==typeof e?n.createElement("span",null,e):e),n.createElement(I.J,{prefixCls:`${Y}-menu`,rootClassName:i()(Q,V),expandIcon:n.createElement("span",{className:`${Y}-menu-submenu-arrow`},n.createElement(r.Z,{className:`${Y}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:es,validator:e=>{let{mode:t}=e}},e)},placement:F,onVisibleChange:el,overlayStyle:Object.assign(Object.assign(Object.assign({},null==q?void 0:q.style),E),{zIndex:ed})}),ee);return ed&&(eu=n.createElement(b.Z.Provider,{value:ec},eu)),G(eu)},R=(0,p.Z)(T,"dropdown",e=>e,function(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})});T._InternalPanelDoNotUseOrYouWillBeFired=e=>n.createElement(R,Object.assign({},e),n.createElement("span",null));var P=T},38974:function(e,t,o){let n;o.d(t,{D:function(){return h},Z:function(){return w}});var r=o(38497),l=o(42096),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},a=o(75651),s=r.forwardRef(function(e,t){return r.createElement(a.Z,(0,l.Z)({},e,{ref:t,icon:i}))}),d=o(72097),c=o(86944),u=o(26869),m=o.n(u),p=o(55598),g=e=>!isNaN(parseFloat(e))&&isFinite(e),$=o(63346),b=o(45391),v=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};let f={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},h=r.createContext({}),I=(n=0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`${e}${n+=1}`}),C=r.forwardRef((e,t)=>{let{prefixCls:o,className:n,trigger:l,children:i,defaultCollapsed:a=!1,theme:u="dark",style:C={},collapsible:w=!1,reverseArrow:x=!1,width:y=200,collapsedWidth:S=80,zeroWidthTriggerStyle:B,breakpoint:O,onCollapse:k,onBreakpoint:E}=e,j=v(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:z}=(0,r.useContext)(b.V),[H,N]=(0,r.useState)("collapsed"in e?e.collapsed:a),[T,R]=(0,r.useState)(!1);(0,r.useEffect)(()=>{"collapsed"in e&&N(e.collapsed)},[e.collapsed]);let P=(t,o)=>{"collapsed"in e||N(t),null==k||k(t,o)},Z=(0,r.useRef)();Z.current=e=>{R(e.matches),null==E||E(e.matches),H!==e.matches&&P(e.matches,"responsive")},(0,r.useEffect)(()=>{let e;function t(e){return Z.current(e)}if("undefined"!=typeof window){let{matchMedia:o}=window;if(o&&O&&O in f){e=o(`screen and (max-width: ${f[O]})`);try{e.addEventListener("change",t)}catch(o){e.addListener(t)}t(e)}}return()=>{try{null==e||e.removeEventListener("change",t)}catch(o){null==e||e.removeListener(t)}}},[O]),(0,r.useEffect)(()=>{let e=I("ant-sider-");return z.addSider(e),()=>z.removeSider(e)},[]);let M=()=>{P(!H,"clickTrigger")},{getPrefixCls:D}=(0,r.useContext)($.E_),A=r.useMemo(()=>({siderCollapsed:H}),[H]);return r.createElement(h.Provider,{value:A},(()=>{let e=D("layout-sider",o),a=(0,p.Z)(j,["collapsed"]),$=H?S:y,b=g($)?`${$}px`:String($),v=0===parseFloat(String(S||0))?r.createElement("span",{onClick:M,className:m()(`${e}-zero-width-trigger`,`${e}-zero-width-trigger-${x?"right":"left"}`),style:B},l||r.createElement(s,null)):null,f={expanded:x?r.createElement(c.Z,null):r.createElement(d.Z,null),collapsed:x?r.createElement(d.Z,null):r.createElement(c.Z,null)},h=H?"collapsed":"expanded",I=f[h],O=null!==l?v||r.createElement("div",{className:`${e}-trigger`,onClick:M,style:{width:b}},l||I):null,k=Object.assign(Object.assign({},C),{flex:`0 0 ${b}`,maxWidth:b,minWidth:b,width:b}),E=m()(e,`${e}-${u}`,{[`${e}-collapsed`]:!!H,[`${e}-has-trigger`]:w&&null!==l&&!v,[`${e}-below`]:!!T,[`${e}-zero-width`]:0===parseFloat(b)},n);return r.createElement("aside",Object.assign({className:E},a,{style:k,ref:t}),r.createElement("div",{className:`${e}-children`},i),w||T&&v?O:null)})())});var w=C},45391:function(e,t,o){o.d(t,{V:function(){return r}});var n=o(38497);let r=n.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},70730:function(e,t,o){o.d(t,{J:function(){return s}});var n=o(38497),r=o(81581),l=o(53296),i=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};let a=n.createContext(null),s=n.forwardRef((e,t)=>{let{children:o}=e,s=i(e,["children"]),d=n.useContext(a),c=n.useMemo(()=>Object.assign(Object.assign({},d),s),[d,s.prefixCls,s.mode,s.selectable,s.rootClassName]),u=(0,r.t4)(o),m=(0,r.x1)(t,u?o.ref:null);return n.createElement(a.Provider,{value:c},n.createElement(l.Z,{space:!0},u?n.cloneElement(o,{ref:m}):o))});t.Z=a},78984:function(e,t,o){o.d(t,{Z:function(){return V}});var n=o(38497),r=o(82843),l=o(38974),i=o(52896),a=o(26869),s=o.n(a),d=o(81581),c=o(55598),u=o(17383),m=o(55091),p=o(63346),g=o(95227);let $=(0,n.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var b=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o},v=e=>{let{prefixCls:t,className:o,dashed:l}=e,i=b(e,["prefixCls","className","dashed"]),{getPrefixCls:a}=n.useContext(p.E_),d=a("menu",t),c=s()({[`${d}-item-divider-dashed`]:!!l},o);return n.createElement(r.iz,Object.assign({className:c},i))},f=o(10469),h=o(60205),I=e=>{var t;let{className:o,children:i,icon:a,title:d,danger:u}=e,{prefixCls:p,firstLevel:g,direction:b,disableMenuItemTitleTooltip:v,inlineCollapsed:I}=n.useContext($),{siderCollapsed:C}=n.useContext(l.D),w=d;void 0===d?w=g?i:"":!1===d&&(w="");let x={title:w};C||I||(x.title=null,x.open=!1);let y=(0,f.Z)(i).length,S=n.createElement(r.ck,Object.assign({},(0,c.Z)(e,["title","icon","danger"]),{className:s()({[`${p}-item-danger`]:u,[`${p}-item-only-child`]:(a?y+1:y)===1},o),title:"string"==typeof d?d:void 0}),(0,m.Tm)(a,{className:s()(n.isValidElement(a)?null===(t=a.props)||void 0===t?void 0:t.className:"",`${p}-item-icon`)}),(e=>{let t=n.createElement("span",{className:`${p}-title-content`},i);return(!a||n.isValidElement(i)&&"span"===i.type)&&i&&e&&g&&"string"==typeof i?n.createElement("div",{className:`${p}-inline-collapsed-noicon`},i.charAt(0)):t})(I));return v||(S=n.createElement(h.Z,Object.assign({},x,{placement:"rtl"===b?"left":"right",overlayClassName:`${p}-inline-collapsed-tooltip`}),S)),S},C=o(70730),w=o(72178),x=o(51084),y=o(60848),S=o(36647),B=o(57723),O=o(98539),k=o(90102),E=o(74934),j=e=>{let{componentCls:t,motionDurationSlow:o,horizontalLineHeight:n,colorSplit:r,lineWidth:l,lineType:i,itemPaddingInline:a}=e;return{[`${t}-horizontal`]:{lineHeight:n,border:0,borderBottom:`${(0,w.bf)(l)} ${i} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:a},[`> ${t}-item:hover, - > ${t}-item-active, - > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:`border-color ${o},background ${o}`},[`${t}-submenu-arrow`]:{display:"none"}}}},z=e=>{let{componentCls:t,menuArrowOffset:o,calc:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, - ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,w.bf)(n(o).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,w.bf)(o)})`}}}}};let H=e=>Object.assign({},(0,y.oN)(e));var N=(e,t)=>{let{componentCls:o,itemColor:n,itemSelectedColor:r,groupTitleColor:l,itemBg:i,subMenuItemBg:a,itemSelectedBg:s,activeBarHeight:d,activeBarWidth:c,activeBarBorderWidth:u,motionDurationSlow:m,motionEaseInOut:p,motionEaseOut:g,itemPaddingInline:$,motionDurationMid:b,itemHoverColor:v,lineType:f,colorSplit:h,itemDisabledColor:I,dangerItemColor:C,dangerItemHoverColor:x,dangerItemSelectedColor:y,dangerItemActiveBg:S,dangerItemSelectedBg:B,popupBg:O,itemHoverBg:k,itemActiveBg:E,menuSubMenuBg:j,horizontalItemSelectedColor:z,horizontalItemSelectedBg:N,horizontalItemBorderRadius:T,horizontalItemHoverBg:R}=e;return{[`${o}-${t}, ${o}-${t} > ${o}`]:{color:n,background:i,[`&${o}-root:focus-visible`]:Object.assign({},H(e)),[`${o}-item-group-title`]:{color:l},[`${o}-submenu-selected`]:{[`> ${o}-submenu-title`]:{color:r}},[`${o}-item, ${o}-submenu-title`]:{color:n,[`&:not(${o}-item-disabled):focus-visible`]:Object.assign({},H(e))},[`${o}-item-disabled, ${o}-submenu-disabled`]:{color:`${I} !important`},[`${o}-item:not(${o}-item-selected):not(${o}-submenu-selected)`]:{[`&:hover, > ${o}-submenu-title:hover`]:{color:v}},[`&:not(${o}-horizontal)`]:{[`${o}-item:not(${o}-item-selected)`]:{"&:hover":{backgroundColor:k},"&:active":{backgroundColor:E}},[`${o}-submenu-title`]:{"&:hover":{backgroundColor:k},"&:active":{backgroundColor:E}}},[`${o}-item-danger`]:{color:C,[`&${o}-item:hover`]:{[`&:not(${o}-item-selected):not(${o}-submenu-selected)`]:{color:x}},[`&${o}-item:active`]:{background:S}},[`${o}-item a`]:{"&, &:hover":{color:"inherit"}},[`${o}-item-selected`]:{color:r,[`&${o}-item-danger`]:{color:y},"a, a:hover":{color:"inherit"}},[`& ${o}-item-selected`]:{backgroundColor:s,[`&${o}-item-danger`]:{backgroundColor:B}},[`&${o}-submenu > ${o}`]:{backgroundColor:j},[`&${o}-popup > ${o}`]:{backgroundColor:O},[`&${o}-submenu-popup > ${o}`]:{backgroundColor:O},[`&${o}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${o}-item, > ${o}-submenu`]:{top:u,marginTop:e.calc(u).mul(-1).equal(),marginBottom:0,borderRadius:T,"&::after":{position:"absolute",insetInline:$,bottom:0,borderBottom:`${(0,w.bf)(d)} solid transparent`,transition:`border-color ${m} ${p}`,content:'""'},"&:hover, &-active, &-open":{background:R,"&::after":{borderBottomWidth:d,borderBottomColor:z}},"&-selected":{color:z,backgroundColor:N,"&:hover":{backgroundColor:N},"&::after":{borderBottomWidth:d,borderBottomColor:z}}}}),[`&${o}-root`]:{[`&${o}-inline, &${o}-vertical`]:{borderInlineEnd:`${(0,w.bf)(u)} ${f} ${h}`}},[`&${o}-inline`]:{[`${o}-sub${o}-inline`]:{background:a},[`${o}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,w.bf)(c)} solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:`transform ${b} ${g},opacity ${b} ${g}`,content:'""'},[`&${o}-item-danger`]:{"&::after":{borderInlineEndColor:y}}},[`${o}-selected, ${o}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:`transform ${b} ${p},opacity ${b} ${p}`}}}}}};let T=e=>{let{componentCls:t,itemHeight:o,itemMarginInline:n,padding:r,menuArrowSize:l,marginXS:i,itemMarginBlock:a,itemWidth:s}=e,d=e.calc(l).add(r).add(i).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:o,lineHeight:(0,w.bf)(o),paddingInline:r,overflow:"hidden",textOverflow:"ellipsis",marginInline:n,marginBlock:a,width:s},[`> ${t}-item, - > ${t}-submenu > ${t}-submenu-title`]:{height:o,lineHeight:(0,w.bf)(o)},[`${t}-item-group-list ${t}-submenu-title, - ${t}-submenu-title`]:{paddingInlineEnd:d}}};var R=e=>{let{componentCls:t,iconCls:o,itemHeight:n,colorTextLightSolid:r,dropdownWidth:l,controlHeightLG:i,motionDurationMid:a,motionEaseOut:s,paddingXL:d,itemMarginInline:c,fontSizeLG:u,motionDurationSlow:m,paddingXS:p,boxShadowSecondary:g,collapsedWidth:$,collapsedIconSize:b}=e,v={height:n,lineHeight:(0,w.bf)(n),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},T(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},T(e)),{boxShadow:g})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:l,maxHeight:`calc(100vh - ${(0,w.bf)(e.calc(i).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:`border-color ${m},background ${m},padding ${a} ${s},padding-inline calc(50% - ${(0,w.bf)(e.calc(u).div(2).equal())} - ${(0,w.bf)(c)})`,[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:v,[`& ${t}-item-group-title`]:{paddingInlineStart:d}},[`${t}-item`]:v}},{[`${t}-inline-collapsed`]:{width:$,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,textAlign:"center"}}},[`> ${t}-item, - > ${t}-item-group > ${t}-item-group-list > ${t}-item, - > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, - > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,w.bf)(e.calc(u).div(2).equal())} - ${(0,w.bf)(c)})`,textOverflow:"clip",[` - ${t}-submenu-arrow, - ${t}-submenu-expand-icon - `]:{opacity:0},[`${t}-item-icon, ${o}`]:{margin:0,fontSize:b,lineHeight:(0,w.bf)(n),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${o}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${o}`]:{display:"none"},"a, a:hover":{color:r}},[`${t}-item-group-title`]:Object.assign(Object.assign({},y.vS),{paddingInline:p})}}]};let P=e=>{let{componentCls:t,motionDurationSlow:o,motionDurationMid:n,motionEaseInOut:r,motionEaseOut:l,iconCls:i,iconSize:a,iconMarginInlineEnd:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:`border-color ${o},background ${o},padding ${o} ${r}`,[`${t}-item-icon, ${i}`]:{minWidth:a,fontSize:a,transition:`font-size ${n} ${l},margin ${o} ${r},color ${o}`,"+ span":{marginInlineStart:s,opacity:1,transition:`opacity ${o} ${r},margin ${o},color ${o}`}},[`${t}-item-icon`]:Object.assign({},(0,y.Ro)()),[`&${t}-item-only-child`]:{[`> ${i}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Z=e=>{let{componentCls:t,motionDurationSlow:o,motionEaseInOut:n,borderRadius:r,menuArrowSize:l,menuArrowOffset:i}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:l,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${o} ${n}, opacity ${o}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(l).mul(.6).equal(),height:e.calc(l).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:r,transition:`background ${o} ${n},transform ${o} ${n},top ${o} ${n},color ${o} ${n}`,content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,w.bf)(e.calc(i).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,w.bf)(i)})`}}}}},M=e=>{let{antCls:t,componentCls:o,fontSize:n,motionDurationSlow:r,motionDurationMid:l,motionEaseInOut:i,paddingXS:a,padding:s,colorSplit:d,lineWidth:c,zIndexPopup:u,borderRadiusLG:m,subMenuItemBorderRadius:p,menuArrowSize:g,menuArrowOffset:$,lineType:b,groupTitleLineHeight:v,groupTitleFontSize:f}=e;return[{"":{[o]:Object.assign(Object.assign({},(0,y.dF)()),{"&-hidden":{display:"none"}})},[`${o}-submenu-hidden`]:{display:"none"}},{[o]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(e)),(0,y.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:n,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${o}-item`]:{flex:"none"}},[`${o}-item, ${o}-submenu, ${o}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${o}-item-group-title`]:{padding:`${(0,w.bf)(a)} ${(0,w.bf)(s)}`,fontSize:f,lineHeight:v,transition:`all ${r}`},[`&-horizontal ${o}-submenu`]:{transition:`border-color ${r} ${i},background ${r} ${i}`},[`${o}-submenu, ${o}-submenu-inline`]:{transition:`border-color ${r} ${i},background ${r} ${i},padding ${l} ${i}`},[`${o}-submenu ${o}-sub`]:{cursor:"initial",transition:`background ${r} ${i},padding ${r} ${i}`},[`${o}-title-content`]:{transition:`color ${r}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${o}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${o}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:d,borderStyle:b,borderWidth:0,borderTopWidth:c,marginBlock:c,padding:0,"&-dashed":{borderStyle:"dashed"}}}),P(e)),{[`${o}-item-group`]:{[`${o}-item-group-list`]:{margin:0,padding:0,[`${o}-item, ${o}-submenu-title`]:{paddingInline:`${(0,w.bf)(e.calc(n).mul(2).equal())} ${(0,w.bf)(s)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:u,borderRadius:m,boxShadow:"none",transformOrigin:"0 0",[`&${o}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${o}`]:Object.assign(Object.assign(Object.assign({borderRadius:m},P(e)),Z(e)),{[`${o}-item, ${o}-submenu > ${o}-submenu-title`]:{borderRadius:p},[`${o}-submenu-title::after`]:{transition:`transform ${r} ${i}`}})},[` - &-placement-leftTop, - &-placement-bottomRight, - `]:{transformOrigin:"100% 0"},[` - &-placement-leftBottom, - &-placement-topRight, - `]:{transformOrigin:"100% 100%"},[` - &-placement-rightBottom, - &-placement-topLeft, - `]:{transformOrigin:"0 100%"},[` - &-placement-bottomLeft, - &-placement-rightTop, - `]:{transformOrigin:"0 0"},[` - &-placement-leftTop, - &-placement-leftBottom - `]:{paddingInlineEnd:e.paddingXS},[` - &-placement-rightTop, - &-placement-rightBottom - `]:{paddingInlineStart:e.paddingXS},[` - &-placement-topRight, - &-placement-topLeft - `]:{paddingBottom:e.paddingXS},[` - &-placement-bottomRight, - &-placement-bottomLeft - `]:{paddingTop:e.paddingXS}}}),Z(e)),{[`&-inline-collapsed ${o}-submenu-arrow, - &-inline ${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,w.bf)($)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,w.bf)(e.calc($).mul(-1).equal())})`}},[`${o}-submenu-open${o}-submenu-inline > ${o}-submenu-title > ${o}-submenu-arrow`]:{transform:`translateY(${(0,w.bf)(e.calc(g).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,w.bf)(e.calc($).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,w.bf)($)})`}}})},{[`${t}-layout-header`]:{[o]:{lineHeight:"inherit"}}}]},D=e=>{var t,o,n;let{colorPrimary:r,colorError:l,colorTextDisabled:i,colorErrorBg:a,colorText:s,colorTextDescription:d,colorBgContainer:c,colorFillAlter:u,colorFillContent:m,lineWidth:p,lineWidthBold:g,controlItemBgActive:$,colorBgTextHover:b,controlHeightLG:v,lineHeight:f,colorBgElevated:h,marginXXS:I,padding:C,fontSize:w,controlHeightSM:y,fontSizeLG:S,colorTextLightSolid:B,colorErrorHover:O}=e,k=null!==(t=e.activeBarWidth)&&void 0!==t?t:0,E=null!==(o=e.activeBarBorderWidth)&&void 0!==o?o:p,j=null!==(n=e.itemMarginInline)&&void 0!==n?n:e.marginXXS,z=new x.C(B).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:s,itemColor:s,colorItemTextHover:s,itemHoverColor:s,colorItemTextHoverHorizontal:r,horizontalItemHoverColor:r,colorGroupTitle:d,groupTitleColor:d,colorItemTextSelected:r,itemSelectedColor:r,colorItemTextSelectedHorizontal:r,horizontalItemSelectedColor:r,colorItemBg:c,itemBg:c,colorItemBgHover:b,itemHoverBg:b,colorItemBgActive:m,itemActiveBg:$,colorSubItemBg:u,subMenuItemBg:u,colorItemBgSelected:$,itemSelectedBg:$,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:k,colorActiveBarHeight:g,activeBarHeight:g,colorActiveBarBorderSize:p,activeBarBorderWidth:E,colorItemTextDisabled:i,itemDisabledColor:i,colorDangerItemText:l,dangerItemColor:l,colorDangerItemTextHover:l,dangerItemHoverColor:l,colorDangerItemTextSelected:l,dangerItemSelectedColor:l,colorDangerItemBgActive:a,dangerItemActiveBg:a,colorDangerItemBgSelected:a,dangerItemSelectedBg:a,itemMarginInline:j,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:v,groupTitleLineHeight:f,collapsedWidth:2*v,popupBg:h,itemMarginBlock:I,itemPaddingInline:C,horizontalLineHeight:`${1.15*v}px`,iconSize:w,iconMarginInlineEnd:y-w,collapsedIconSize:S,groupTitleFontSize:w,darkItemDisabledColor:new x.C(B).setAlpha(.25).toRgbString(),darkItemColor:z,darkDangerItemColor:l,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:B,darkItemSelectedBg:r,darkDangerItemSelectedBg:l,darkItemHoverBg:"transparent",darkGroupTitleColor:z,darkItemHoverColor:B,darkDangerItemHoverColor:O,darkDangerItemSelectedColor:B,darkDangerItemActiveBg:l,itemWidth:k?`calc(100% + ${E}px)`:`calc(100% - ${2*j}px)`}};var A=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=(0,k.I$)("Menu",e=>{let{colorBgElevated:t,controlHeightLG:o,fontSize:n,darkItemColor:r,darkDangerItemColor:l,darkItemBg:i,darkSubMenuItemBg:a,darkItemSelectedColor:s,darkItemSelectedBg:d,darkDangerItemSelectedBg:c,darkItemHoverBg:u,darkGroupTitleColor:m,darkItemHoverColor:p,darkItemDisabledColor:g,darkDangerItemHoverColor:$,darkDangerItemSelectedColor:b,darkDangerItemActiveBg:v,popupBg:f,darkPopupBg:h}=e,I=e.calc(n).div(7).mul(5).equal(),C=(0,E.IX)(e,{menuArrowSize:I,menuHorizontalHeight:e.calc(o).mul(1.15).equal(),menuArrowOffset:e.calc(I).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:f}),w=(0,E.IX)(C,{itemColor:r,itemHoverColor:p,groupTitleColor:m,itemSelectedColor:s,itemBg:i,popupBg:h,subMenuItemBg:a,itemActiveBg:"transparent",itemSelectedBg:d,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:u,itemDisabledColor:g,dangerItemColor:l,dangerItemHoverColor:$,dangerItemSelectedColor:b,dangerItemActiveBg:v,dangerItemSelectedBg:c,menuSubMenuBg:a,horizontalItemSelectedColor:s,horizontalItemSelectedBg:d});return[M(C),j(C),R(C),N(C,"light"),N(w,"dark"),z(C),(0,S.Z)(C),(0,B.oN)(C,"slide-up"),(0,B.oN)(C,"slide-down"),(0,O._y)(C,"zoom-big")]},D,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:o,unitless:{groupTitleLineHeight:!0}});return n(e,t)},W=o(58416),L=e=>{var t;let o;let{popupClassName:l,icon:i,title:a,theme:d}=e,u=n.useContext($),{prefixCls:p,inlineCollapsed:g,theme:b}=u,v=(0,r.Xl)();if(i){let e=n.isValidElement(a)&&"span"===a.type;o=n.createElement(n.Fragment,null,(0,m.Tm)(i,{className:s()(n.isValidElement(i)?null===(t=i.props)||void 0===t?void 0:t.className:"",`${p}-item-icon`)}),e?a:n.createElement("span",{className:`${p}-title-content`},a))}else o=g&&!v.length&&a&&"string"==typeof a?n.createElement("div",{className:`${p}-inline-collapsed-noicon`},a.charAt(0)):n.createElement("span",{className:`${p}-title-content`},a);let f=n.useMemo(()=>Object.assign(Object.assign({},u),{firstLevel:!1}),[u]),[h]=(0,W.Cn)("Menu");return n.createElement($.Provider,{value:f},n.createElement(r.Wd,Object.assign({},(0,c.Z)(e,["icon"]),{title:o,popupClassName:s()(p,l,`${p}-${d||b}`),popupStyle:{zIndex:h}})))},X=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};function q(e){return null===e||!1===e}let _={item:I,submenu:L,divider:v},F=(0,n.forwardRef)((e,t)=>{var o;let l=n.useContext(C.Z),a=l||{},{getPrefixCls:b,getPopupContainer:v,direction:f,menu:h}=n.useContext(p.E_),I=b(),{prefixCls:w,className:x,style:y,theme:S="light",expandIcon:B,_internalDisableMenuItemTitleTooltip:O,inlineCollapsed:k,siderCollapsed:E,rootClassName:j,mode:z,selectable:H,onClick:N,overflowedIndicatorPopupClassName:T}=e,R=X(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),P=(0,c.Z)(R,["collapsedWidth"]);null===(o=a.validator)||void 0===o||o.call(a,{mode:z});let Z=(0,d.zX)(function(){var e;null==N||N.apply(void 0,arguments),null===(e=a.onClick)||void 0===e||e.call(a)}),M=a.mode||z,D=null!=H?H:a.selectable,W=n.useMemo(()=>void 0!==E?E:k,[k,E]),L={horizontal:{motionName:`${I}-slide-up`},inline:(0,u.Z)(I),other:{motionName:`${I}-zoom-big`}},F=b("menu",w||a.prefixCls),Y=(0,g.Z)(F),[V,G,J]=A(F,Y,!l),Q=s()(`${F}-${S}`,null==h?void 0:h.className,x),U=n.useMemo(()=>{var e,t;if("function"==typeof B||q(B))return B||null;if("function"==typeof a.expandIcon||q(a.expandIcon))return a.expandIcon||null;if("function"==typeof(null==h?void 0:h.expandIcon)||q(null==h?void 0:h.expandIcon))return(null==h?void 0:h.expandIcon)||null;let o=null!==(e=null!=B?B:null==a?void 0:a.expandIcon)&&void 0!==e?e:null==h?void 0:h.expandIcon;return(0,m.Tm)(o,{className:s()(`${F}-submenu-expand-icon`,n.isValidElement(o)?null===(t=o.props)||void 0===t?void 0:t.className:void 0)})},[B,null==a?void 0:a.expandIcon,null==h?void 0:h.expandIcon,F]),K=n.useMemo(()=>({prefixCls:F,inlineCollapsed:W||!1,direction:f,firstLevel:!0,theme:S,mode:M,disableMenuItemTitleTooltip:O}),[F,W,f,O,S]);return V(n.createElement(C.Z.Provider,{value:null},n.createElement($.Provider,{value:K},n.createElement(r.ZP,Object.assign({getPopupContainer:v,overflowedIndicator:n.createElement(i.Z,null),overflowedIndicatorPopupClassName:s()(F,`${F}-${S}`,T),mode:M,selectable:D,onClick:Z},P,{inlineCollapsed:W,style:Object.assign(Object.assign({},null==h?void 0:h.style),y),className:Q,prefixCls:F,direction:f,defaultMotions:L,expandIcon:U,ref:t,rootClassName:s()(j,G,a.rootClassName,J,Y),_internalComponents:_})))))}),Y=(0,n.forwardRef)((e,t)=>{let o=(0,n.useRef)(null),r=n.useContext(l.D);return(0,n.useImperativeHandle)(t,()=>({menu:o.current,focus:e=>{var t;null===(t=o.current)||void 0===t||t.focus(e)}})),n.createElement(F,Object.assign({ref:o},e,r))});Y.Item=I,Y.SubMenu=L,Y.Divider=v,Y.ItemGroup=r.BW;var V=Y}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7561-b617b0a582016ce8.js b/dbgpt/app/static/web/_next/static/chunks/7561-b617b0a582016ce8.js deleted file mode 100644 index 8cdff4d0b..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/7561-b617b0a582016ce8.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7561,7343],{96890:function(e,t,i){i.d(t,{Z:function(){return d}});var n=i(42096),o=i(10921),a=i(38497),r=i(42834),l=["type","children"],c=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=e[t];if("string"==typeof i&&i.length&&!c.has(i)){var n=document.createElement("script");n.setAttribute("src",i),n.setAttribute("data-namespace",i),e.length>t+1&&(n.onload=function(){s(e,t+1)},n.onerror=function(){s(e,t+1)}),c.add(i),document.body.appendChild(n)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,i=e.extraCommonProps,c=void 0===i?{}:i;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var d=a.forwardRef(function(e,t){var i=e.type,s=e.children,d=(0,o.Z)(e,l),m=null;return e.type&&(m=a.createElement("use",{xlinkHref:"#".concat(i)})),s&&(m=s),a.createElement(r.Z,(0,n.Z)({},c,d,{ref:t}),m)});return d.displayName="Iconfont",d}},57668:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 244c176.18 0 319 142.82 319 319v233a32 32 0 01-32 32H225a32 32 0 01-32-32V563c0-176.18 142.82-319 319-319zM484 68h56a8 8 0 018 8v96a8 8 0 01-8 8h-56a8 8 0 01-8-8V76a8 8 0 018-8zM177.25 191.66a8 8 0 0111.32 0l67.88 67.88a8 8 0 010 11.31l-39.6 39.6a8 8 0 01-11.31 0l-67.88-67.88a8 8 0 010-11.31l39.6-39.6zm669.6 0l39.6 39.6a8 8 0 010 11.3l-67.88 67.9a8 8 0 01-11.32 0l-39.6-39.6a8 8 0 010-11.32l67.89-67.88a8 8 0 0111.31 0zM192 892h640a32 32 0 0132 32v24a8 8 0 01-8 8H168a8 8 0 01-8-8v-24a32 32 0 0132-32zm148-317v253h64V575h-64z"}}]},name:"alert",theme:"filled"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},32594:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},67620:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},28062:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},98028:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},79092:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"file-search",theme:"outlined"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},32373:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM320 482a8 8 0 00-8 8v48a8 8 0 008 8h384a8 8 0 008-8v-48a8 8 0 00-8-8H320zm0 136a8 8 0 00-8 8v48a8 8 0 008 8h184a8 8 0 008-8v-48a8 8 0 00-8-8H320z"}}]},name:"file-text",theme:"filled"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},34934:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm101.3 129.3c1.3-5.4 6.1-9.3 11.7-9.3h35.6a12.04 12.04 0 0111.6 15.1l-74.4 276c-1.4 5.3-6.2 8.9-11.6 8.9h-31.8c-5.4 0-10.2-3.7-11.6-8.9l-52.8-197-52.8 197c-1.4 5.3-6.2 8.9-11.6 8.9h-32c-5.4 0-10.2-3.7-11.6-8.9l-74.2-276a12.02 12.02 0 0111.6-15.1h35.4c5.6 0 10.4 3.9 11.7 9.3L434.6 680l49.7-198.9c1.3-5.4 6.1-9.1 11.6-9.1h32.2c5.5 0 10.3 3.7 11.6 9.1l49.8 199.3 45.8-199.1z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M528.1 472h-32.2c-5.5 0-10.3 3.7-11.6 9.1L434.6 680l-46.1-198.7c-1.3-5.4-6.1-9.3-11.7-9.3h-35.4a12.02 12.02 0 00-11.6 15.1l74.2 276c1.4 5.2 6.2 8.9 11.6 8.9h32c5.4 0 10.2-3.6 11.6-8.9l52.8-197 52.8 197c1.4 5.2 6.2 8.9 11.6 8.9h31.8c5.4 0 10.2-3.6 11.6-8.9l74.4-276a12.04 12.04 0 00-11.6-15.1H647c-5.6 0-10.4 3.9-11.7 9.3l-45.8 199.1-49.8-199.3c-1.3-5.4-6.1-9.1-11.6-9.1z",fill:e}}]}},name:"file-word",theme:"twotone"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},71534:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},42746:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M693.6 284.4c-24 0-51.1 11.7-72.6 22 46.3 18 86 57.3 112.3 99.6 7.1-18.9 14.6-47.9 14.6-67.9 0-32-22.8-53.7-54.3-53.7zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm253.9 492.9H437.1c0 100.4 144.3 136 196.8 47.4h120.8c-32.6 91.7-119.7 146-216.8 146-35.1 0-70.3-.1-101.7-15.6-87.4 44.5-180.3 56.6-180.3-42 0-45.8 23.2-107.1 44-145C335 484 381.3 422.8 435.6 374.5c-43.7 18.9-91.1 66.3-122 101.2 25.9-112.8 129.5-193.6 237.1-186.5 130-59.8 209.7-34.1 209.7 38.6 0 27.4-10.6 63.3-21.4 87.9 25.2 45.5 33.3 97.6 26.9 141.2zM540.5 399.1c-53.7 0-102 39.7-104 94.9h208c-2-55.1-50.6-94.9-104-94.9zM320.6 602.9c-73 152.4 11.5 172.2 100.3 123.3-46.6-27.5-82.6-72.2-100.3-123.3z"}}]},name:"ie-circle",theme:"filled"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},62938:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},3936:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},1858:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},72828:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},31676:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},32857:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},67144:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M865.3 244.7c-.3-.3-61.1 59.8-182.1 180.6l-84.9-84.9 180.9-180.9c-95.2-57.3-217.5-42.6-296.8 36.7A244.42 244.42 0 00419 432l1.8 6.7-283.5 283.4c-6.2 6.2-6.2 16.4 0 22.6l141.4 141.4c6.2 6.2 16.4 6.2 22.6 0l283.3-283.3 6.7 1.8c83.7 22.3 173.6-.9 236-63.3 79.4-79.3 94.1-201.6 38-296.6z"}}]},name:"tool",theme:"filled"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},35732:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},6618:function(e,t,i){i.d(t,{Z:function(){return l}});var n=i(42096),o=i(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.9-8.1-195-3-195-3s87.4 55.6 52.4 154.7c-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6z"}}]},name:"yuque",theme:"filled"},r=i(75651),l=o.forwardRef(function(e,t){return o.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},67343:function(e,t,i){i.d(t,{Z:function(){return O}});var n=i(38497),o=i(26869),a=i.n(o),r=i(55598),l=i(63346),c=i(82014),s=i(15247),d=i(5996),m=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i},u=e=>{var{prefixCls:t,className:i,hoverable:o=!0}=e,r=m(e,["prefixCls","className","hoverable"]);let{getPrefixCls:c}=n.useContext(l.E_),s=c("card",t),d=a()(`${s}-grid`,i,{[`${s}-grid-hoverable`]:o});return n.createElement("div",Object.assign({},r,{className:d}))},f=i(72178),g=i(60848),h=i(90102),p=i(74934);let b=e=>{let{antCls:t,componentCls:i,headerHeight:n,cardPaddingBase:o,tabsMarginBottom:a}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${(0,f.bf)(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)} 0 0`},(0,g.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},g.vS),{[` - > ${i}-typography, - > ${i}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:a,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},$=e=>{let{cardPaddingBase:t,colorBorderSecondary:i,cardShadow:n,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` - ${(0,f.bf)(o)} 0 0 0 ${i}, - 0 ${(0,f.bf)(o)} 0 0 ${i}, - ${(0,f.bf)(o)} ${(0,f.bf)(o)} 0 0 ${i}, - ${(0,f.bf)(o)} 0 0 0 ${i} inset, - 0 ${(0,f.bf)(o)} 0 0 ${i} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},v=e=>{let{componentCls:t,iconCls:i,actionsLiMargin:n,cardActionsIconSize:o,colorBorderSecondary:a,actionsBg:r}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:r,borderTop:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${a}`,display:"flex",borderRadius:`0 0 ${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)}`},(0,g.dF)()),{"& > li":{margin:n,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${i}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,f.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${i}`]:{fontSize:o,lineHeight:(0,f.bf)(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${a}`}}})},S=e=>Object.assign(Object.assign({margin:`${(0,f.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,g.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},g.vS),"&-description":{color:e.colorTextDescription}}),y=e=>{let{componentCls:t,cardPaddingBase:i,colorFillAlter:n}=e;return{[`${t}-head`]:{padding:`0 ${(0,f.bf)(i)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,f.bf)(e.padding)} ${(0,f.bf)(i)}`}}},w=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},z=e=>{let{componentCls:t,cardShadow:i,cardHeadPadding:n,colorBorderSecondary:o,boxShadowTertiary:a,cardPaddingBase:r,extraColor:l}=e;return{[t]:Object.assign(Object.assign({},(0,g.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:a},[`${t}-head`]:b(e),[`${t}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:r,borderRadius:`0 0 ${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)}`},(0,g.dF)()),[`${t}-grid`]:$(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:v(e),[`${t}-meta`]:S(e)}),[`${t}-bordered`]:{border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${o}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:i}},[`${t}-contain-grid`]:{borderRadius:`${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:n}}},[`${t}-type-inner`]:y(e),[`${t}-loading`]:w(e),[`${t}-rtl`]:{direction:"rtl"}}},x=e=>{let{componentCls:t,cardPaddingSM:i,headerHeightSM:n,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:n,padding:`0 ${(0,f.bf)(i)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:i}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}};var C=(0,h.I$)("Card",e=>{let t=(0,p.IX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[z(t),x(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),I=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let H=e=>{let{actionClasses:t,actions:i=[],actionStyle:o}=e;return n.createElement("ul",{className:t,style:o},i.map((e,t)=>{let o=`action-${t}`;return n.createElement("li",{style:{width:`${100/i.length}%`},key:o},n.createElement("span",null,e))}))},E=n.forwardRef((e,t)=>{let i;let{prefixCls:o,className:m,rootClassName:f,style:g,extra:h,headStyle:p={},bodyStyle:b={},title:$,loading:v,bordered:S=!0,size:y,type:w,cover:z,actions:x,tabList:E,children:Z,activeTabKey:O,defaultActiveTabKey:M,tabBarExtraContent:j,hoverable:k,tabProps:T={},classNames:B,styles:q}=e,N=I(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:R,direction:W,card:L}=n.useContext(l.E_),V=e=>{var t;return a()(null===(t=null==L?void 0:L.classNames)||void 0===t?void 0:t[e],null==B?void 0:B[e])},P=e=>{var t;return Object.assign(Object.assign({},null===(t=null==L?void 0:L.styles)||void 0===t?void 0:t[e]),null==q?void 0:q[e])},X=n.useMemo(()=>{let e=!1;return n.Children.forEach(Z,t=>{(null==t?void 0:t.type)===u&&(e=!0)}),e},[Z]),D=R("card",o),[G,A,F]=C(D),_=n.createElement(s.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},Z),K=void 0!==O,Y=Object.assign(Object.assign({},T),{[K?"activeKey":"defaultActiveKey"]:K?O:M,tabBarExtraContent:j}),U=(0,c.Z)(y),J=E?n.createElement(d.Z,Object.assign({size:U&&"default"!==U?U:"large"},Y,{className:`${D}-head-tabs`,onChange:t=>{var i;null===(i=e.onTabChange)||void 0===i||i.call(e,t)},items:E.map(e=>{var{tab:t}=e;return Object.assign({label:t},I(e,["tab"]))})})):null;if($||h||J){let e=a()(`${D}-head`,V("header")),t=a()(`${D}-head-title`,V("title")),o=a()(`${D}-extra`,V("extra")),r=Object.assign(Object.assign({},p),P("header"));i=n.createElement("div",{className:e,style:r},n.createElement("div",{className:`${D}-head-wrapper`},$&&n.createElement("div",{className:t,style:P("title")},$),h&&n.createElement("div",{className:o,style:P("extra")},h)),J)}let Q=a()(`${D}-cover`,V("cover")),ee=z?n.createElement("div",{className:Q,style:P("cover")},z):null,et=a()(`${D}-body`,V("body")),ei=Object.assign(Object.assign({},b),P("body")),en=n.createElement("div",{className:et,style:ei},v?_:Z),eo=a()(`${D}-actions`,V("actions")),ea=(null==x?void 0:x.length)?n.createElement(H,{actionClasses:eo,actionStyle:P("actions"),actions:x}):null,er=(0,r.Z)(N,["onTabChange"]),el=a()(D,null==L?void 0:L.className,{[`${D}-loading`]:v,[`${D}-bordered`]:S,[`${D}-hoverable`]:k,[`${D}-contain-grid`]:X,[`${D}-contain-tabs`]:null==E?void 0:E.length,[`${D}-${U}`]:U,[`${D}-type-${w}`]:!!w,[`${D}-rtl`]:"rtl"===W},m,f,A,F),ec=Object.assign(Object.assign({},null==L?void 0:L.style),g);return G(n.createElement("div",Object.assign({ref:t},er,{className:el,style:ec}),i,ee,en,ea))});var Z=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};E.Grid=u,E.Meta=e=>{let{prefixCls:t,className:i,avatar:o,title:r,description:c}=e,s=Z(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:d}=n.useContext(l.E_),m=d("card",t),u=a()(`${m}-meta`,i),f=o?n.createElement("div",{className:`${m}-meta-avatar`},o):null,g=r?n.createElement("div",{className:`${m}-meta-title`},r):null,h=c?n.createElement("div",{className:`${m}-meta-description`},c):null,p=g||h?n.createElement("div",{className:`${m}-meta-detail`},g,h):null;return n.createElement("div",Object.assign({},s,{className:u}),f,p)};var O=E},99030:function(e,t,i){i.d(t,{Z:function(){return G}});var n=i(38497),o=i(69274),a=i(84223),r=i(26869),l=i.n(r),c=i(42096),s=i(4247),d=i(65148),m=i(10921),u=i(16956),f=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function g(e){return"string"==typeof e}var h=function(e){var t,i,o,a,r,h=e.className,p=e.prefixCls,b=e.style,$=e.active,v=e.status,S=e.iconPrefix,y=e.icon,w=(e.wrapperStyle,e.stepNumber),z=e.disabled,x=e.description,C=e.title,I=e.subTitle,H=e.progressDot,E=e.stepIcon,Z=e.tailContent,O=e.icons,M=e.stepIndex,j=e.onStepClick,k=e.onClick,T=e.render,B=(0,m.Z)(e,f),q={};j&&!z&&(q.role="button",q.tabIndex=0,q.onClick=function(e){null==k||k(e),j(M)},q.onKeyDown=function(e){var t=e.which;(t===u.Z.ENTER||t===u.Z.SPACE)&&j(M)});var N=v||"wait",R=l()("".concat(p,"-item"),"".concat(p,"-item-").concat(N),h,(r={},(0,d.Z)(r,"".concat(p,"-item-custom"),y),(0,d.Z)(r,"".concat(p,"-item-active"),$),(0,d.Z)(r,"".concat(p,"-item-disabled"),!0===z),r)),W=(0,s.Z)({},b),L=n.createElement("div",(0,c.Z)({},B,{className:R,style:W}),n.createElement("div",(0,c.Z)({onClick:k},q,{className:"".concat(p,"-item-container")}),n.createElement("div",{className:"".concat(p,"-item-tail")},Z),n.createElement("div",{className:"".concat(p,"-item-icon")},(o=l()("".concat(p,"-icon"),"".concat(S,"icon"),(t={},(0,d.Z)(t,"".concat(S,"icon-").concat(y),y&&g(y)),(0,d.Z)(t,"".concat(S,"icon-check"),!y&&"finish"===v&&(O&&!O.finish||!O)),(0,d.Z)(t,"".concat(S,"icon-cross"),!y&&"error"===v&&(O&&!O.error||!O)),t)),a=n.createElement("span",{className:"".concat(p,"-icon-dot")}),i=H?"function"==typeof H?n.createElement("span",{className:"".concat(p,"-icon")},H(a,{index:w-1,status:v,title:C,description:x})):n.createElement("span",{className:"".concat(p,"-icon")},a):y&&!g(y)?n.createElement("span",{className:"".concat(p,"-icon")},y):O&&O.finish&&"finish"===v?n.createElement("span",{className:"".concat(p,"-icon")},O.finish):O&&O.error&&"error"===v?n.createElement("span",{className:"".concat(p,"-icon")},O.error):y||"finish"===v||"error"===v?n.createElement("span",{className:o}):n.createElement("span",{className:"".concat(p,"-icon")},w),E&&(i=E({index:w-1,status:v,title:C,description:x,node:i})),i)),n.createElement("div",{className:"".concat(p,"-item-content")},n.createElement("div",{className:"".concat(p,"-item-title")},C,I&&n.createElement("div",{title:"string"==typeof I?I:void 0,className:"".concat(p,"-item-subtitle")},I)),x&&n.createElement("div",{className:"".concat(p,"-item-description")},x))));return T&&(L=T(L)||null),L},p=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function b(e){var t,i=e.prefixCls,o=void 0===i?"rc-steps":i,a=e.style,r=void 0===a?{}:a,u=e.className,f=(e.children,e.direction),g=e.type,b=void 0===g?"default":g,$=e.labelPlacement,v=e.iconPrefix,S=void 0===v?"rc":v,y=e.status,w=void 0===y?"process":y,z=e.size,x=e.current,C=void 0===x?0:x,I=e.progressDot,H=e.stepIcon,E=e.initial,Z=void 0===E?0:E,O=e.icons,M=e.onChange,j=e.itemRender,k=e.items,T=(0,m.Z)(e,p),B="inline"===b,q=B||void 0!==I&&I,N=B?"horizontal":void 0===f?"horizontal":f,R=B?void 0:z,W=q?"vertical":void 0===$?"horizontal":$,L=l()(o,"".concat(o,"-").concat(N),u,(t={},(0,d.Z)(t,"".concat(o,"-").concat(R),R),(0,d.Z)(t,"".concat(o,"-label-").concat(W),"horizontal"===N),(0,d.Z)(t,"".concat(o,"-dot"),!!q),(0,d.Z)(t,"".concat(o,"-navigation"),"navigation"===b),(0,d.Z)(t,"".concat(o,"-inline"),B),t)),V=function(e){M&&C!==e&&M(e)};return n.createElement("div",(0,c.Z)({className:L,style:r},T),(void 0===k?[]:k).filter(function(e){return e}).map(function(e,t){var i=(0,s.Z)({},e),a=Z+t;return"error"===w&&t===C-1&&(i.className="".concat(o,"-next-error")),i.status||(a===C?i.status=w:a{let{componentCls:t,customIconTop:i,customIconSize:n,customIconFontSize:o}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:i,width:n,height:n,fontSize:o,lineHeight:(0,z.bf)(n)}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},E=e=>{let{componentCls:t}=e,i=`${t}-item`;return{[`${t}-horizontal`]:{[`${i}-tail`]:{transform:"translateY(-50%)"}}}},Z=e=>{let{componentCls:t,inlineDotSize:i,inlineTitleColor:n,inlineTailColor:o}=e,a=e.calc(e.paddingXS).add(e.lineWidth).equal(),r={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:n}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${(0,z.bf)(a)} ${(0,z.bf)(e.paddingXXS)} 0`,margin:`0 ${(0,z.bf)(e.calc(e.marginXXS).div(2).equal())}`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:i,height:i,marginInlineStart:`calc(50% - ${(0,z.bf)(e.calc(i).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:n,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(i).div(2).add(a).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${(0,z.bf)(e.lineWidth)} ${e.lineType} ${o}`}},r),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:o},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:o,border:`${(0,z.bf)(e.lineWidth)} ${e.lineType} ${o}`}},r),"&-error":r,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:i,height:i,marginInlineStart:`calc(50% - ${(0,z.bf)(e.calc(i).div(2).equal())})`,top:0}},r),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:n}}}}}},O=e=>{let{componentCls:t,iconSize:i,lineHeight:n,iconSizeSM:o}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(i).div(2).add(e.controlHeightLG).equal(),padding:`0 ${(0,z.bf)(e.paddingLG)}`},"&-content":{display:"block",width:e.calc(i).div(2).add(e.controlHeightLG).mul(2).equal(),marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:n}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.calc(i).sub(o).div(2).add(e.controlHeightLG).equal()}}}}}},M=e=>{let{componentCls:t,navContentMaxWidth:i,navArrowColor:n,stepsNavActiveColor:o,motionDurationSlow:a}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${a}`,[`${t}-item-content`]:{maxWidth:i},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},x.vS),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${(0,z.bf)(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${(0,z.bf)(e.lineWidth)} ${e.lineType} ${n}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${(0,z.bf)(e.lineWidth)} ${e.lineType} ${n}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:o,transition:`width ${a}, inset-inline-start ${a}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.calc(e.lineWidth).mul(3).equal(),height:`calc(100% - ${(0,z.bf)(e.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},j=e=>{let{antCls:t,componentCls:i,iconSize:n,iconSizeSM:o,processIconColor:a,marginXXS:r,lineWidthBold:l,lineWidth:c,paddingXXS:s}=e,d=e.calc(n).add(e.calc(l).mul(4).equal()).equal(),m=e.calc(o).add(e.calc(e.lineWidth).mul(4).equal()).equal();return{[`&${i}-with-progress`]:{[`${i}-item`]:{paddingTop:s,[`&-process ${i}-item-container ${i}-item-icon ${i}-icon`]:{color:a}},[`&${i}-vertical > ${i}-item `]:{paddingInlineStart:s,[`> ${i}-item-container > ${i}-item-tail`]:{top:r,insetInlineStart:e.calc(n).div(2).sub(c).add(s).equal()}},[`&, &${i}-small`]:{[`&${i}-horizontal ${i}-item:first-child`]:{paddingBottom:s,paddingInlineStart:s}},[`&${i}-small${i}-vertical > ${i}-item > ${i}-item-container > ${i}-item-tail`]:{insetInlineStart:e.calc(o).div(2).sub(c).add(s).equal()},[`&${i}-label-vertical ${i}-item ${i}-item-tail`]:{top:e.calc(n).div(2).add(s).equal()},[`${i}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:`${(0,z.bf)(d)} !important`,height:`${(0,z.bf)(d)} !important`}}},[`&${i}-small`]:{[`&${i}-label-vertical ${i}-item ${i}-item-tail`]:{top:e.calc(o).div(2).add(s).equal()},[`${i}-item-icon ${t}-progress-inner`]:{width:`${(0,z.bf)(m)} !important`,height:`${(0,z.bf)(m)} !important`}}}}},k=e=>{let{componentCls:t,descriptionMaxWidth:i,lineHeight:n,dotCurrentSize:o,dotSize:a,motionDurationSlow:r}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:n},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${(0,z.bf)(e.calc(i).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${(0,z.bf)(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:a,height:a,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(a).div(2).equal(),paddingInlineEnd:0,lineHeight:(0,z.bf)(a),background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${r}`,"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(a).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:i},[`&-process ${t}-item-icon`]:{position:"relative",top:e.calc(a).sub(o).div(2).equal(),width:o,height:o,lineHeight:(0,z.bf)(o),background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(o).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(a).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(o).div(2).equal(),top:0,insetInlineStart:e.calc(a).sub(o).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(a).div(2).equal(),insetInlineStart:0,margin:0,padding:`${(0,z.bf)(e.calc(a).add(e.paddingXS).equal())} 0 ${(0,z.bf)(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(a).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(a).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(o).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeightSM).sub(a).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},T=e=>{let{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},B=e=>{let{componentCls:t,iconSizeSM:i,fontSizeSM:n,fontSize:o,colorTextDescription:a}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:i,height:i,marginTop:0,marginBottom:0,marginInline:`0 ${(0,z.bf)(e.marginXS)}`,fontSize:n,lineHeight:(0,z.bf)(i),textAlign:"center",borderRadius:i},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:o,lineHeight:(0,z.bf)(i),"&::after":{top:e.calc(i).div(2).equal()}},[`${t}-item-description`]:{color:a,fontSize:o},[`${t}-item-tail`]:{top:e.calc(i).div(2).sub(e.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:i,lineHeight:(0,z.bf)(i),transform:"none"}}}}},q=e=>{let{componentCls:t,iconSizeSM:i,iconSize:n}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:(0,z.bf)(n)},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:`${(0,z.bf)(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${(0,z.bf)(e.calc(e.marginXXS).mul(1.5).equal())}`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(i).div(2).sub(e.lineWidth).equal(),padding:`${(0,z.bf)(e.calc(e.marginXXS).mul(1.5).add(i).equal())} 0 ${(0,z.bf)(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:(0,z.bf)(i)}}}}};let N=(e,t)=>{let i=`${t.componentCls}-item`,n=`${e}IconColor`,o=`${e}TitleColor`,a=`${e}DescriptionColor`,r=`${e}TailColor`,l=`${e}IconBgColor`,c=`${e}IconBorderColor`,s=`${e}DotColor`;return{[`${i}-${e} ${i}-icon`]:{backgroundColor:t[l],borderColor:t[c],[`> ${t.componentCls}-icon`]:{color:t[n],[`${t.componentCls}-icon-dot`]:{background:t[s]}}},[`${i}-${e}${i}-custom ${i}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[s]}},[`${i}-${e} > ${i}-container > ${i}-content > ${i}-title`]:{color:t[o],"&::after":{backgroundColor:t[r]}},[`${i}-${e} > ${i}-container > ${i}-content > ${i}-description`]:{color:t[a]},[`${i}-${e} > ${i}-container > ${i}-tail::after`]:{backgroundColor:t[r]}}},R=e=>{let{componentCls:t,motionDurationSlow:i}=e,n=`${t}-item`,o=`${n}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${n}-container > ${n}-tail, > ${n}-container > ${n}-content > ${n}-title::after`]:{display:"none"}}},[`${n}-container`]:{outline:"none","&:focus-visible":{[o]:Object.assign({},(0,x.oN)(e))}},[`${o}, ${n}-content`]:{display:"inline-block",verticalAlign:"top"},[o]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:(0,z.bf)(e.iconSize),textAlign:"center",borderRadius:e.iconSize,border:`${(0,z.bf)(e.lineWidth)} ${e.lineType} transparent`,transition:`background-color ${i}, border-color ${i}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${n}-tail`]:{position:"absolute",top:e.calc(e.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${i}`,content:'""'}},[`${n}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:(0,z.bf)(e.titleLineHeight),"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${n}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${n}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},N("wait",e)),N("process",e)),{[`${n}-process > ${n}-container > ${n}-title`]:{fontWeight:e.fontWeightStrong}}),N("finish",e)),N("error",e)),{[`${n}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${n}-disabled`]:{cursor:"not-allowed"}})},W=e=>{let{componentCls:t,motionDurationSlow:i}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${i}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},L=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,x.Wf)(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),R(e)),W(e)),H(e)),B(e)),q(e)),E(e)),O(e)),k(e)),M(e)),T(e)),j(e)),Z(e))}};var V=(0,C.I$)("Steps",e=>{let{colorTextDisabled:t,controlHeightLG:i,colorTextLightSolid:n,colorText:o,colorPrimary:a,colorTextDescription:r,colorTextQuaternary:l,colorError:c,colorBorderSecondary:s,colorSplit:d}=e,m=(0,I.IX)(e,{processIconColor:n,processTitleColor:o,processDescriptionColor:o,processIconBgColor:a,processIconBorderColor:a,processDotColor:a,processTailColor:d,waitTitleColor:r,waitDescriptionColor:r,waitTailColor:d,waitDotColor:t,finishIconColor:a,finishTitleColor:o,finishDescriptionColor:r,finishTailColor:a,finishDotColor:a,errorIconColor:n,errorTitleColor:c,errorDescriptionColor:c,errorTailColor:d,errorIconBgColor:c,errorIconBorderColor:c,errorDotColor:c,stepsNavActiveColor:a,stepsProgressSize:i,inlineDotSize:6,inlineTitleColor:l,inlineTailColor:s});return[L(m)]},e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive})),P=i(10469),X=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let D=e=>{let{percent:t,size:i,className:r,rootClassName:c,direction:s,items:d,responsive:m=!0,current:u=0,children:f,style:g}=e,h=X(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:p}=(0,S.Z)(m),{getPrefixCls:z,direction:x,steps:C}=n.useContext($.E_),I=n.useMemo(()=>m&&p?"vertical":s,[p,s]),H=(0,v.Z)(i),E=z("steps",e.prefixCls),[Z,O,M]=V(E),j="inline"===e.type,k=z("",e.iconPrefix),T=function(e,t){if(e)return e;let i=(0,P.Z)(t).map(e=>{if(n.isValidElement(e)){let{props:t}=e,i=Object.assign({},t);return i}return null});return i.filter(e=>e)}(d,f),B=j?void 0:t,q=Object.assign(Object.assign({},null==C?void 0:C.style),g),N=l()(null==C?void 0:C.className,{[`${E}-rtl`]:"rtl"===x,[`${E}-with-progress`]:void 0!==B},r,c,O,M),R={finish:n.createElement(o.Z,{className:`${E}-finish-icon`}),error:n.createElement(a.Z,{className:`${E}-error-icon`})};return Z(n.createElement(b,Object.assign({icons:R},h,{style:q,current:u,size:H,items:T,itemRender:j?(e,t)=>e.description?n.createElement(w.Z,{title:e.description},t):t:void 0,stepIcon:e=>{let{node:t,status:i}=e;return"process"===i&&void 0!==B?n.createElement("div",{className:`${E}-progress-icon`},n.createElement(y.Z,{type:"circle",percent:B,size:"small"===H?32:40,strokeWidth:4,format:()=>null}),t):t},direction:I,prefixCls:E,iconPrefix:k,className:N})))};D.Step=b.Step;var G=D}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7661-8fb82664963f0331.js b/dbgpt/app/static/web/_next/static/chunks/7661-8fb82664963f0331.js new file mode 100644 index 000000000..cb126d068 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/7661-8fb82664963f0331.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7661,1520,9788,1708,9383,100,9305,2117],{96890:function(e,t,r){r.d(t,{Z:function(){return u}});var n=r(42096),o=r(10921),l=r(38497),a=r(42834),c=["type","children"],i=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[t];if("string"==typeof r&&r.length&&!i.has(r)){var n=document.createElement("script");n.setAttribute("src",r),n.setAttribute("data-namespace",r),e.length>t+1&&(n.onload=function(){s(e,t+1)},n.onerror=function(){s(e,t+1)}),i.add(r),document.body.appendChild(n)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,r=e.extraCommonProps,i=void 0===r?{}:r;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var u=l.forwardRef(function(e,t){var r=e.type,s=e.children,u=(0,o.Z)(e,c),f=null;return e.type&&(f=l.createElement("use",{xlinkHref:"#".concat(r)})),s&&(f=s),l.createElement(a.Z,(0,n.Z)({},i,u,{ref:t}),f)});return u.displayName="Iconfont",u}},67620:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},74552:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},98028:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},71534:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},16559:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},1858:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},72828:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},31676:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},32857:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(42096),o=r(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},a=r(55032),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},54537:function(e,t,r){var n=r(38497);let o=(0,n.createContext)({});t.Z=o},98606:function(e,t,r){var n=r(38497),o=r(26869),l=r.n(o),a=r(63346),c=r(54537),i=r(54009),s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function u(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let f=["xs","sm","md","lg","xl","xxl"],d=n.forwardRef((e,t)=>{let{getPrefixCls:r,direction:o}=n.useContext(a.E_),{gutter:d,wrap:p}=n.useContext(c.Z),{prefixCls:g,span:h,order:m,offset:b,push:v,pull:$,className:y,children:x,flex:C,style:w}=e,O=s(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=r("col",g),[k,E,Z]=(0,i.cG)(j),S={},H={};f.forEach(t=>{let r={},n=e[t];"number"==typeof n?r.span=n:"object"==typeof n&&(r=n||{}),delete O[t],H=Object.assign(Object.assign({},H),{[`${j}-${t}-${r.span}`]:void 0!==r.span,[`${j}-${t}-order-${r.order}`]:r.order||0===r.order,[`${j}-${t}-offset-${r.offset}`]:r.offset||0===r.offset,[`${j}-${t}-push-${r.push}`]:r.push||0===r.push,[`${j}-${t}-pull-${r.pull}`]:r.pull||0===r.pull,[`${j}-rtl`]:"rtl"===o}),r.flex&&(H[`${j}-${t}-flex`]=!0,S[`--${j}-${t}-flex`]=u(r.flex))});let M=l()(j,{[`${j}-${h}`]:void 0!==h,[`${j}-order-${m}`]:m,[`${j}-offset-${b}`]:b,[`${j}-push-${v}`]:v,[`${j}-pull-${$}`]:$},y,H,E,Z),z={};if(d&&d[0]>0){let e=d[0]/2;z.paddingLeft=e,z.paddingRight=e}return C&&(z.flex=u(C),!1!==p||z.minWidth||(z.minWidth=0)),k(n.createElement("div",Object.assign({},O,{style:Object.assign(Object.assign(Object.assign({},z),w),S),className:M,ref:t}),x))});t.Z=d},22698:function(e,t,r){var n=r(38497),o=r(26869),l=r.n(o),a=r(30432),c=r(63346),i=r(54537),s=r(54009),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function f(e,t){let[r,o]=n.useState("string"==typeof e?e:""),l=()=>{if("string"==typeof e&&o(e),"object"==typeof e)for(let r=0;r{l()},[JSON.stringify(e),t]),r}let d=n.forwardRef((e,t)=>{let{prefixCls:r,justify:o,align:d,className:p,style:g,children:h,gutter:m=0,wrap:b}=e,v=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:$,direction:y}=n.useContext(c.E_),[x,C]=n.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[w,O]=n.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),j=f(d,w),k=f(o,w),E=n.useRef(m),Z=(0,a.ZP)();n.useEffect(()=>{let e=Z.subscribe(e=>{O(e);let t=E.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&C(e)});return()=>Z.unsubscribe(e)},[]);let S=$("row",r),[H,M,z]=(0,s.VM)(S),I=(()=>{let e=[void 0,void 0],t=Array.isArray(m)?m:[m,void 0];return t.forEach((t,r)=>{if("object"==typeof t)for(let n=0;n0?-(I[0]/2):void 0;V&&(B.marginLeft=V,B.marginRight=V);let[R,L]=I;B.rowGap=L;let N=n.useMemo(()=>({gutter:[R,L],wrap:b}),[R,L,b]);return H(n.createElement(i.Z.Provider,{value:N},n.createElement("div",Object.assign({},v,{className:P,style:Object.assign(Object.assign({},B),g),ref:t}),h)))});t.Z=d},54009:function(e,t,r){r.d(t,{VM:function(){return u},cG:function(){return f}});var n=r(38083),o=r(90102),l=r(74934);let a=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},c=(e,t)=>{let{prefixCls:r,componentCls:n,gridColumns:o}=e,l={};for(let e=o;e>=0;e--)0===e?(l[`${n}${t}-${e}`]={display:"none"},l[`${n}-push-${e}`]={insetInlineStart:"auto"},l[`${n}-pull-${e}`]={insetInlineEnd:"auto"},l[`${n}${t}-push-${e}`]={insetInlineStart:"auto"},l[`${n}${t}-pull-${e}`]={insetInlineEnd:"auto"},l[`${n}${t}-offset-${e}`]={marginInlineStart:0},l[`${n}${t}-order-${e}`]={order:0}):(l[`${n}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/o*100}%`,maxWidth:`${e/o*100}%`}],l[`${n}${t}-push-${e}`]={insetInlineStart:`${e/o*100}%`},l[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/o*100}%`},l[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/o*100}%`},l[`${n}${t}-order-${e}`]={order:e});return l[`${n}${t}-flex`]={flex:`var(--${r}${t}-flex)`},l},i=(e,t)=>c(e,t),s=(e,t,r)=>({[`@media (min-width: ${(0,n.bf)(t)})`]:Object.assign({},i(e,r))}),u=(0,o.I$)("Grid",e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},()=>({})),f=(0,o.I$)("Grid",e=>{let t=(0,l.IX)(e,{gridColumns:24}),r={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[a(t),i(t,""),i(t,"-xs"),Object.keys(r).map(e=>s(t,r[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},49030:function(e,t,r){r.d(t,{Z:function(){return H}});var n=r(38497),o=r(26869),l=r.n(o),a=r(55598),c=r(55853),i=r(35883),s=r(55091),u=r(37243),f=r(63346),d=r(38083),p=r(51084),g=r(60848),h=r(74934),m=r(90102);let b=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o,calc:l}=e,a=l(n).sub(r).equal(),c=l(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,d.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:c,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,o=e.fontSizeSM,l=(0,h.IX)(e,{tagFontSize:o,tagLineHeight:(0,d.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return l},$=e=>({defaultBg:new p.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,m.I$)("Tag",e=>{let t=v(e);return b(t)},$),x=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let C=n.forwardRef((e,t)=>{let{prefixCls:r,style:o,className:a,checked:c,onChange:i,onClick:s}=e,u=x(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:d,tag:p}=n.useContext(f.E_),g=d("tag",r),[h,m,b]=y(g),v=l()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:c},null==p?void 0:p.className,a,m,b);return h(n.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==p?void 0:p.style),className:v,onClick:e=>{null==i||i(!c),null==s||s(e)}})))});var w=r(86553);let O=e=>(0,w.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:l,darkColor:a}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:l,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var j=(0,m.bk)(["Tag","preset"],e=>{let t=v(e);return O(t)},$);let k=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var E=(0,m.bk)(["Tag","status"],e=>{let t=v(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},$),Z=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let S=n.forwardRef((e,t)=>{let{prefixCls:r,className:o,rootClassName:d,style:p,children:g,icon:h,color:m,onClose:b,bordered:v=!0,visible:$}=e,x=Z(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:C,direction:w,tag:O}=n.useContext(f.E_),[k,S]=n.useState(!0),H=(0,a.Z)(x,["closeIcon","closable"]);n.useEffect(()=>{void 0!==$&&S($)},[$]);let M=(0,c.o2)(m),z=(0,c.yT)(m),I=M||z,P=Object.assign(Object.assign({backgroundColor:m&&!I?m:void 0},null==O?void 0:O.style),p),B=C("tag",r),[V,R,L]=y(B),N=l()(B,null==O?void 0:O.className,{[`${B}-${m}`]:I,[`${B}-has-color`]:m&&!I,[`${B}-hidden`]:!k,[`${B}-rtl`]:"rtl"===w,[`${B}-borderless`]:!v},o,d,R,L),A=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||S(!1)},[,T]=(0,i.Z)((0,i.w)(e),(0,i.w)(O),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${B}-close-icon`,onClick:A},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),A(t)},className:l()(null==e?void 0:e.className,`${B}-close-icon`)}))}}),W="function"==typeof x.onClick||g&&"a"===g.type,_=h||null,G=_?n.createElement(n.Fragment,null,_,g&&n.createElement("span",null,g)):g,X=n.createElement("span",Object.assign({},H,{ref:t,className:N,style:P}),G,T,M&&n.createElement(j,{key:"preset",prefixCls:B}),z&&n.createElement(E,{key:"status",prefixCls:B}));return V(W?n.createElement(u.Z,{component:"Tag"},X):X)});S.CheckableTag=C;var H=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8147.556f50b16bd2a718.js b/dbgpt/app/static/web/_next/static/chunks/8147.556f50b16bd2a718.js deleted file mode 100644 index e0c4ba6a2..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/8147.556f50b16bd2a718.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8147],{96890:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(42096),r=c(10921),a=c(38497),o=c(42834),l=["type","children"],i=new Set;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,c=e[t];if("string"==typeof c&&c.length&&!i.has(c)){var n=document.createElement("script");n.setAttribute("src",c),n.setAttribute("data-namespace",c),e.length>t+1&&(n.onload=function(){u(e,t+1)},n.onerror=function(){u(e,t+1)}),i.add(c),document.body.appendChild(n)}}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,c=e.extraCommonProps,i=void 0===c?{}:c;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?u(t.reverse()):u([t]));var f=a.forwardRef(function(e,t){var c=e.type,u=e.children,f=(0,r.Z)(e,l),s=null;return e.type&&(s=a.createElement("use",{xlinkHref:"#".concat(c)})),u&&(s=u),a.createElement(o.Z,(0,n.Z)({},i,f,{ref:t}),s)});return f.displayName="Iconfont",f}},67620:function(e,t,c){c.d(t,{Z:function(){return l}});var n=c(42096),r=c(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},o=c(75651),l=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},98028:function(e,t,c){c.d(t,{Z:function(){return l}});var n=c(42096),r=c(38497),a={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},o=c(75651),l=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},71534:function(e,t,c){c.d(t,{Z:function(){return l}});var n=c(42096),r=c(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},o=c(75651),l=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},1858:function(e,t,c){c.d(t,{Z:function(){return l}});var n=c(42096),r=c(38497),a={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},o=c(75651),l=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},72828:function(e,t,c){c.d(t,{Z:function(){return l}});var n=c(42096),r=c(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},o=c(75651),l=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},31676:function(e,t,c){c.d(t,{Z:function(){return l}});var n=c(42096),r=c(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=c(75651),l=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},32857:function(e,t,c){c.d(t,{Z:function(){return l}});var n=c(42096),r=c(38497),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=c(75651),l=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},26953:function(e,t,c){var n=c(96469),r=c(67901),a=c(42834),o=c(38497);t.Z=e=>{let{width:t,height:c,scene:l}=e,i=(0,o.useCallback)(()=>{switch(l){case"chat_knowledge":return r.je;case"chat_with_db_execute":return r.zM;case"chat_excel":return r.DL;case"chat_with_db_qa":case"chat_dba":return r.RD;case"chat_dashboard":return r.In;case"chat_agent":return r.si;case"chat_normal":return r.O7;default:return}},[l]);return(0,n.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(c||7),component:i()})}},58526:function(e,t,c){var n=c(96890);let r=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=r}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8351-a91220a20d264756.js b/dbgpt/app/static/web/_next/static/chunks/8351-a91220a20d264756.js new file mode 100644 index 000000000..c4b2d9514 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/8351-a91220a20d264756.js @@ -0,0 +1,48 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8351],{96890:function(e,t,c){"use strict";c.d(t,{Z:function(){return s}});var n=c(42096),a=c(10921),r=c(38497),l=c(42834),o=["type","children"],i=new Set;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,c=e[t];if("string"==typeof c&&c.length&&!i.has(c)){var n=document.createElement("script");n.setAttribute("src",c),n.setAttribute("data-namespace",c),e.length>t+1&&(n.onload=function(){u(e,t+1)},n.onerror=function(){u(e,t+1)}),i.add(c),document.body.appendChild(n)}}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,c=e.extraCommonProps,i=void 0===c?{}:c;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?u(t.reverse()):u([t]));var s=r.forwardRef(function(e,t){var c=e.type,u=e.children,s=(0,a.Z)(e,o),f=null;return e.type&&(f=r.createElement("use",{xlinkHref:"#".concat(c)})),u&&(f=u),r.createElement(l.Z,(0,n.Z)({},i,s,{ref:t}),f)});return s.displayName="Iconfont",s}},57668:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 244c176.18 0 319 142.82 319 319v233a32 32 0 01-32 32H225a32 32 0 01-32-32V563c0-176.18 142.82-319 319-319zM484 68h56a8 8 0 018 8v96a8 8 0 01-8 8h-56a8 8 0 01-8-8V76a8 8 0 018-8zM177.25 191.66a8 8 0 0111.32 0l67.88 67.88a8 8 0 010 11.31l-39.6 39.6a8 8 0 01-11.31 0l-67.88-67.88a8 8 0 010-11.31l39.6-39.6zm669.6 0l39.6 39.6a8 8 0 010 11.3l-67.88 67.9a8 8 0 01-11.32 0l-39.6-39.6a8 8 0 010-11.32l67.89-67.88a8 8 0 0111.31 0zM192 892h640a32 32 0 0132 32v24a8 8 0 01-8 8H168a8 8 0 01-8-8v-24a32 32 0 0132-32zm148-317v253h64V575h-64z"}}]},name:"alert",theme:"filled"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},72533:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"appstore-add",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},80680:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z"}}]},name:"bar-chart",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},73324:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},32594:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},27920:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z"}}]},name:"bulb",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},29516:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},60943:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z"}}]},name:"caret-left",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},47271:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},25951:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},67620:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},39811:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},65242:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={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 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},27214:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8s0 .1.1.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8 0 0 0 .1-.1.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7zM620 539v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8v.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8v.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7z"}}]},name:"control",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},44808:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},46584:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-200 0H360v-72h304v72z"}}]},name:"delete",theme:"filled"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},28062:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},43627:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"}}]},name:"dingding",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},74552:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},55861:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z"}}]},name:"edit",theme:"filled"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},52896:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},6873:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},67423:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 472a40 40 0 1080 0 40 40 0 10-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z"}}]},name:"experiment",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},98028:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},84542:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},79092:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"file-search",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},32373:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM320 482a8 8 0 00-8 8v48a8 8 0 008 8h384a8 8 0 008-8v-48a8 8 0 00-8-8H320zm0 136a8 8 0 00-8 8v48a8 8 0 008 8h184a8 8 0 008-8v-48a8 8 0 00-8-8H320z"}}]},name:"file-text",theme:"filled"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},34934:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm101.3 129.3c1.3-5.4 6.1-9.3 11.7-9.3h35.6a12.04 12.04 0 0111.6 15.1l-74.4 276c-1.4 5.3-6.2 8.9-11.6 8.9h-31.8c-5.4 0-10.2-3.7-11.6-8.9l-52.8-197-52.8 197c-1.4 5.3-6.2 8.9-11.6 8.9h-32c-5.4 0-10.2-3.7-11.6-8.9l-74.2-276a12.02 12.02 0 0111.6-15.1h35.4c5.6 0 10.4 3.9 11.7 9.3L434.6 680l49.7-198.9c1.3-5.4 6.1-9.1 11.6-9.1h32.2c5.5 0 10.3 3.7 11.6 9.1l49.8 199.3 45.8-199.1z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M528.1 472h-32.2c-5.5 0-10.3 3.7-11.6 9.1L434.6 680l-46.1-198.7c-1.3-5.4-6.1-9.3-11.7-9.3h-35.4a12.02 12.02 0 00-11.6 15.1l74.2 276c1.4 5.2 6.2 8.9 11.6 8.9h32c5.4 0 10.2-3.6 11.6-8.9l52.8-197 52.8 197c1.4 5.2 6.2 8.9 11.6 8.9h31.8c5.4 0 10.2-3.6 11.6-8.9l74.4-276a12.04 12.04 0 00-11.6-15.1H647c-5.6 0-10.4 3.9-11.7 9.3l-45.8 199.1-49.8-199.3c-1.3-5.4-6.1-9.1-11.6-9.1z",fill:e}}]}},name:"file-word",theme:"twotone"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},71534:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},45863:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM512 533c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4C420 636.1 461.5 597 512 597s92.1 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533z"}}]},name:"frown",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},42746:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M693.6 284.4c-24 0-51.1 11.7-72.6 22 46.3 18 86 57.3 112.3 99.6 7.1-18.9 14.6-47.9 14.6-67.9 0-32-22.8-53.7-54.3-53.7zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm253.9 492.9H437.1c0 100.4 144.3 136 196.8 47.4h120.8c-32.6 91.7-119.7 146-216.8 146-35.1 0-70.3-.1-101.7-15.6-87.4 44.5-180.3 56.6-180.3-42 0-45.8 23.2-107.1 44-145C335 484 381.3 422.8 435.6 374.5c-43.7 18.9-91.1 66.3-122 101.2 25.9-112.8 129.5-193.6 237.1-186.5 130-59.8 209.7-34.1 209.7 38.6 0 27.4-10.6 63.3-21.4 87.9 25.2 45.5 33.3 97.6 26.9 141.2zM540.5 399.1c-53.7 0-102 39.7-104 94.9h208c-2-55.1-50.6-94.9-104-94.9zM320.6 602.9c-73 152.4 11.5 172.2 100.3 123.3-46.6-27.5-82.6-72.2-100.3-123.3z"}}]},name:"ie-circle",theme:"filled"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},50967:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM653.3 424.6l52.2 52.2a8.01 8.01 0 01-4.7 13.6l-179.4 21c-5.1.6-9.5-3.7-8.9-8.9l21-179.4c.8-6.6 8.9-9.4 13.6-4.7l52.4 52.4 256.2-256.2c3.1-3.1 8.2-3.1 11.3 0l42.4 42.4c3.1 3.1 3.1 8.2 0 11.3L653.3 424.6z"}}]},name:"import",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},62938:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},39600:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},16559:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},86959:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},3936:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},1858:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},41446:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},1136:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552a398.46 398.46 0 00117.1 282.8c36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952a398.46 398.46 0 00282.8-117.1c36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8zM952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z"}}]},name:"pie-chart",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},97511:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},47520:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V160a16 16 0 0116-16zm-52 68H212v200h200zm493.33 87.69a16 16 0 010 22.62L724.31 503.33a16 16 0 01-22.62 0L520.67 322.31a16 16 0 010-22.62l181.02-181.02a16 16 0 0122.62 0zm-84.85 11.3L713 203.53 605.52 311 713 418.48zM464 544a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H212v200h200zm452-68a16 16 0 0116 16v304a16 16 0 01-16 16H560a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H612v200h200z"}}]},name:"product",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},72828:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},86944:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},43748:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917 211.1l-199.2 24c-6.6.8-9.4 8.9-4.7 13.6l59.3 59.3-226 226-101.8-101.7c-6.3-6.3-16.4-6.2-22.6 0L100.3 754.1a8.03 8.03 0 000 11.3l45 45.2c3.1 3.1 8.2 3.1 11.3 0L433.3 534 535 635.7c6.3 6.2 16.4 6.2 22.6 0L829 364.5l59.3 59.3a8.01 8.01 0 0013.6-4.7l24-199.2c.7-5.1-3.7-9.5-8.9-8.8z"}}]},name:"rise",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},35910:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},56632:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},31097:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z"}}]},name:"save",theme:"filled"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},16283:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},47309:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},1952:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"}}]},name:"share-alt",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},629:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},72804:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},38970:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},56010:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},67144:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M865.3 244.7c-.3-.3-61.1 59.8-182.1 180.6l-84.9-84.9 180.9-180.9c-95.2-57.3-217.5-42.6-296.8 36.7A244.42 244.42 0 00419 432l1.8 6.7-283.5 283.4c-6.2 6.2-6.2 16.4 0 22.6l141.4 141.4c6.2 6.2 16.4 6.2 22.6 0l283.3-283.3 6.7 1.8c83.7 22.3 173.6-.9 236-63.3 79.4-79.3 94.1-201.6 38-296.6z"}}]},name:"tool",theme:"filled"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},35732:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},6618:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.9-8.1-195-3-195-3s87.4 55.6 52.4 154.7c-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6z"}}]},name:"yuque",theme:"filled"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},30090:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},3890:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(42096),a=c(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},l=c(55032),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},77940:function(e,t,c){"use strict";c.r(t),c.d(t,{AccountBookFilled:function(){return i},AccountBookOutlined:function(){return s},AccountBookTwoTone:function(){return h},AimOutlined:function(){return v},AlertFilled:function(){return m.Z},AlertOutlined:function(){return z},AlertTwoTone:function(){return w},AlibabaOutlined:function(){return Z},AlignCenterOutlined:function(){return b},AlignLeftOutlined:function(){return C},AlignRightOutlined:function(){return E},AlipayCircleFilled:function(){return R},AlipayCircleOutlined:function(){return B},AlipayOutlined:function(){return O},AlipaySquareFilled:function(){return $},AliwangwangFilled:function(){return F},AliwangwangOutlined:function(){return A},AliyunOutlined:function(){return P},AmazonCircleFilled:function(){return q},AmazonOutlined:function(){return W},AmazonSquareFilled:function(){return _},AndroidFilled:function(){return U},AndroidOutlined:function(){return X},AntCloudOutlined:function(){return J},AntDesignOutlined:function(){return et},ApartmentOutlined:function(){return en},ApiFilled:function(){return er},ApiOutlined:function(){return eo},ApiTwoTone:function(){return eu},AppleFilled:function(){return ef},AppleOutlined:function(){return ed},AppstoreAddOutlined:function(){return ev.Z},AppstoreFilled:function(){return em.Z},AppstoreOutlined:function(){return eg.Z},AppstoreTwoTone:function(){return ep},AreaChartOutlined:function(){return eM},ArrowDownOutlined:function(){return eH},ArrowLeftOutlined:function(){return eV},ArrowRightOutlined:function(){return ex},ArrowUpOutlined:function(){return eL},ArrowsAltOutlined:function(){return ey},AudioFilled:function(){return eS},AudioMutedOutlined:function(){return ek},AudioOutlined:function(){return eT},AudioTwoTone:function(){return eI},AuditOutlined:function(){return eD},BackwardFilled:function(){return eN},BackwardOutlined:function(){return ej},BaiduOutlined:function(){return eY},BankFilled:function(){return eK},BankOutlined:function(){return eG},BankTwoTone:function(){return eQ},BarChartOutlined:function(){return eJ.Z},BarcodeOutlined:function(){return e4},BarsOutlined:function(){return e2.Z},BehanceCircleFilled:function(){return e8},BehanceOutlined:function(){return e0},BehanceSquareFilled:function(){return e7},BehanceSquareOutlined:function(){return te},BellFilled:function(){return tc},BellOutlined:function(){return ta},BellTwoTone:function(){return tl},BgColorsOutlined:function(){return ti},BilibiliFilled:function(){return ts},BilibiliOutlined:function(){return th},BlockOutlined:function(){return tv},BoldOutlined:function(){return tg},BookFilled:function(){return tp},BookOutlined:function(){return tw.Z},BookTwoTone:function(){return tZ},BorderBottomOutlined:function(){return tb},BorderHorizontalOutlined:function(){return tC},BorderInnerOutlined:function(){return tE},BorderLeftOutlined:function(){return tR},BorderOuterOutlined:function(){return tB},BorderOutlined:function(){return tO},BorderRightOutlined:function(){return t$},BorderTopOutlined:function(){return tF},BorderVerticleOutlined:function(){return tA},BorderlessTableOutlined:function(){return tP},BoxPlotFilled:function(){return tq},BoxPlotOutlined:function(){return tW},BoxPlotTwoTone:function(){return t_},BranchesOutlined:function(){return tU},BugFilled:function(){return tX},BugOutlined:function(){return tJ},BugTwoTone:function(){return t4},BuildFilled:function(){return t3},BuildOutlined:function(){return t8.Z},BuildTwoTone:function(){return t0},BulbFilled:function(){return t7},BulbOutlined:function(){return t9.Z},BulbTwoTone:function(){return ct},CalculatorFilled:function(){return cn},CalculatorOutlined:function(){return cr},CalculatorTwoTone:function(){return co},CalendarFilled:function(){return cu},CalendarOutlined:function(){return cs.Z},CalendarTwoTone:function(){return ch},CameraFilled:function(){return cv},CameraOutlined:function(){return cg},CameraTwoTone:function(){return cp},CarFilled:function(){return cM},CarOutlined:function(){return cH},CarTwoTone:function(){return cV},CaretDownFilled:function(){return cC.Z},CaretDownOutlined:function(){return cx.Z},CaretLeftFilled:function(){return cL},CaretLeftOutlined:function(){return cR.Z},CaretRightFilled:function(){return cB},CaretRightOutlined:function(){return cS.Z},CaretUpFilled:function(){return ck},CaretUpOutlined:function(){return c$.Z},CarryOutFilled:function(){return cF},CarryOutOutlined:function(){return cA},CarryOutTwoTone:function(){return cP},CheckCircleFilled:function(){return cN.Z},CheckCircleOutlined:function(){return cq.Z},CheckCircleTwoTone:function(){return cW},CheckOutlined:function(){return cY.Z},CheckSquareFilled:function(){return cK},CheckSquareOutlined:function(){return cG},CheckSquareTwoTone:function(){return cQ},ChromeFilled:function(){return c1},ChromeOutlined:function(){return c2},CiCircleFilled:function(){return c8},CiCircleOutlined:function(){return c0},CiCircleTwoTone:function(){return c7},CiOutlined:function(){return ne},CiTwoTone:function(){return nc},ClearOutlined:function(){return nn.Z},ClockCircleFilled:function(){return nr},ClockCircleOutlined:function(){return nl.Z},ClockCircleTwoTone:function(){return ni},CloseCircleFilled:function(){return nu.Z},CloseCircleOutlined:function(){return ns.Z},CloseCircleTwoTone:function(){return nh},CloseOutlined:function(){return nd.Z},CloseSquareFilled:function(){return nm},CloseSquareOutlined:function(){return nz},CloseSquareTwoTone:function(){return nw},CloudDownloadOutlined:function(){return nZ},CloudFilled:function(){return nb},CloudOutlined:function(){return nC},CloudServerOutlined:function(){return nE},CloudSyncOutlined:function(){return nR},CloudTwoTone:function(){return nB},CloudUploadOutlined:function(){return nO},ClusterOutlined:function(){return n$},CodeFilled:function(){return nF},CodeOutlined:function(){return nI.Z},CodeSandboxCircleFilled:function(){return nD},CodeSandboxOutlined:function(){return nN},CodeSandboxSquareFilled:function(){return nj},CodeTwoTone:function(){return nY},CodepenCircleFilled:function(){return nK},CodepenCircleOutlined:function(){return nG},CodepenOutlined:function(){return nQ},CodepenSquareFilled:function(){return n1},CoffeeOutlined:function(){return n2},ColumnHeightOutlined:function(){return n8},ColumnWidthOutlined:function(){return n0},CommentOutlined:function(){return n7},CompassFilled:function(){return ae},CompassOutlined:function(){return ac},CompassTwoTone:function(){return aa},CompressOutlined:function(){return al},ConsoleSqlOutlined:function(){return ao.Z},ContactsFilled:function(){return au},ContactsOutlined:function(){return af},ContactsTwoTone:function(){return ad},ContainerFilled:function(){return am},ContainerOutlined:function(){return az},ContainerTwoTone:function(){return aw},ControlFilled:function(){return aZ},ControlOutlined:function(){return aH.Z},ControlTwoTone:function(){return aV},CopyFilled:function(){return ax},CopyOutlined:function(){return aE.Z},CopyTwoTone:function(){return aR},CopyrightCircleFilled:function(){return aB},CopyrightCircleOutlined:function(){return aO},CopyrightCircleTwoTone:function(){return a$},CopyrightOutlined:function(){return aF},CopyrightTwoTone:function(){return aA},CreditCardFilled:function(){return aP},CreditCardOutlined:function(){return aq},CreditCardTwoTone:function(){return aW},CrownFilled:function(){return a_},CrownOutlined:function(){return aU},CrownTwoTone:function(){return aX},CustomerServiceFilled:function(){return aJ},CustomerServiceOutlined:function(){return a4},CustomerServiceTwoTone:function(){return a3},DashOutlined:function(){return a6},DashboardFilled:function(){return a5},DashboardOutlined:function(){return a9},DashboardTwoTone:function(){return rt},DatabaseFilled:function(){return rn},DatabaseOutlined:function(){return ra.Z},DatabaseTwoTone:function(){return rl},DeleteColumnOutlined:function(){return ri},DeleteFilled:function(){return ru.Z},DeleteOutlined:function(){return rs.Z},DeleteRowOutlined:function(){return rh},DeleteTwoTone:function(){return rv},DeliveredProcedureOutlined:function(){return rg},DeploymentUnitOutlined:function(){return rz.Z},DesktopOutlined:function(){return rw},DiffFilled:function(){return rZ},DiffOutlined:function(){return rb},DiffTwoTone:function(){return rC},DingdingOutlined:function(){return rx.Z},DingtalkCircleFilled:function(){return rL},DingtalkOutlined:function(){return ry},DingtalkSquareFilled:function(){return rS},DisconnectOutlined:function(){return rk},DiscordFilled:function(){return rT},DiscordOutlined:function(){return rI},DislikeFilled:function(){return rD},DislikeOutlined:function(){return rP.Z},DislikeTwoTone:function(){return rq},DockerOutlined:function(){return rW},DollarCircleFilled:function(){return r_},DollarCircleOutlined:function(){return rU},DollarCircleTwoTone:function(){return rX},DollarOutlined:function(){return rJ},DollarTwoTone:function(){return r4},DotChartOutlined:function(){return r2.Z},DotNetOutlined:function(){return r8},DoubleLeftOutlined:function(){return r6.Z},DoubleRightOutlined:function(){return r0.Z},DownCircleFilled:function(){return r7},DownCircleOutlined:function(){return le},DownCircleTwoTone:function(){return lc},DownOutlined:function(){return ln.Z},DownSquareFilled:function(){return lr},DownSquareOutlined:function(){return lo},DownSquareTwoTone:function(){return lu},DownloadOutlined:function(){return ls.Z},DragOutlined:function(){return lh},DribbbleCircleFilled:function(){return lv},DribbbleOutlined:function(){return lg},DribbbleSquareFilled:function(){return lp},DribbbleSquareOutlined:function(){return lM},DropboxCircleFilled:function(){return lH},DropboxOutlined:function(){return lV},DropboxSquareFilled:function(){return lx},EditFilled:function(){return lE.Z},EditOutlined:function(){return lL.Z},EditTwoTone:function(){return ly},EllipsisOutlined:function(){return lB.Z},EnterOutlined:function(){return lS.Z},EnvironmentFilled:function(){return lk},EnvironmentOutlined:function(){return lT},EnvironmentTwoTone:function(){return lI},EuroCircleFilled:function(){return lD},EuroCircleOutlined:function(){return lN},EuroCircleTwoTone:function(){return lj},EuroOutlined:function(){return lY},EuroTwoTone:function(){return lK},ExceptionOutlined:function(){return lG},ExclamationCircleFilled:function(){return lX.Z},ExclamationCircleOutlined:function(){return lQ.Z},ExclamationCircleTwoTone:function(){return l1},ExclamationOutlined:function(){return l2},ExpandAltOutlined:function(){return l8},ExpandOutlined:function(){return l0},ExperimentFilled:function(){return l7},ExperimentOutlined:function(){return l9.Z},ExperimentTwoTone:function(){return ot},ExportOutlined:function(){return oc.Z},EyeFilled:function(){return oa},EyeInvisibleFilled:function(){return ol},EyeInvisibleOutlined:function(){return oo.Z},EyeInvisibleTwoTone:function(){return ou},EyeOutlined:function(){return os.Z},EyeTwoTone:function(){return oh},FacebookFilled:function(){return ov},FacebookOutlined:function(){return og},FallOutlined:function(){return op},FastBackwardFilled:function(){return oM},FastBackwardOutlined:function(){return oH},FastForwardFilled:function(){return oV},FastForwardOutlined:function(){return ox},FieldBinaryOutlined:function(){return oL},FieldNumberOutlined:function(){return oy},FieldStringOutlined:function(){return oS},FieldTimeOutlined:function(){return ok},FileAddFilled:function(){return oT},FileAddOutlined:function(){return oI},FileAddTwoTone:function(){return oD},FileDoneOutlined:function(){return oN},FileExcelFilled:function(){return oj},FileExcelOutlined:function(){return oW.Z},FileExcelTwoTone:function(){return o_},FileExclamationFilled:function(){return oU},FileExclamationOutlined:function(){return oX},FileExclamationTwoTone:function(){return oJ},FileFilled:function(){return o4},FileGifOutlined:function(){return o3},FileImageFilled:function(){return o6},FileImageOutlined:function(){return o5},FileImageTwoTone:function(){return o9},FileJpgOutlined:function(){return it},FileMarkdownFilled:function(){return ia},FileMarkdownOutlined:function(){return il},FileMarkdownTwoTone:function(){return ii},FileOutlined:function(){return iu.Z},FilePdfFilled:function(){return ih},FilePdfOutlined:function(){return iv},FilePdfTwoTone:function(){return ig},FilePptFilled:function(){return ip},FilePptOutlined:function(){return iM},FilePptTwoTone:function(){return iH},FileProtectOutlined:function(){return iV},FileSearchOutlined:function(){return iC.Z},FileSyncOutlined:function(){return iE},FileTextFilled:function(){return iL.Z},FileTextOutlined:function(){return iR.Z},FileTextTwoTone:function(){return iB},FileTwoTone:function(){return iS.Z},FileUnknownFilled:function(){return ik},FileUnknownOutlined:function(){return iT},FileUnknownTwoTone:function(){return iI},FileWordFilled:function(){return iD},FileWordOutlined:function(){return iN},FileWordTwoTone:function(){return iq.Z},FileZipFilled:function(){return iW},FileZipOutlined:function(){return i_},FileZipTwoTone:function(){return iU},FilterFilled:function(){return iG.Z},FilterOutlined:function(){return iQ},FilterTwoTone:function(){return i1},FireFilled:function(){return i2},FireOutlined:function(){return i8},FireTwoTone:function(){return i0},FlagFilled:function(){return i7},FlagOutlined:function(){return ue},FlagTwoTone:function(){return uc},FolderAddFilled:function(){return ua},FolderAddOutlined:function(){return ur.Z},FolderAddTwoTone:function(){return uo},FolderFilled:function(){return uu},FolderOpenFilled:function(){return uf},FolderOpenOutlined:function(){return uh.Z},FolderOpenTwoTone:function(){return uv},FolderOutlined:function(){return um.Z},FolderTwoTone:function(){return uz},FolderViewOutlined:function(){return uw},FontColorsOutlined:function(){return uZ},FontSizeOutlined:function(){return ub},ForkOutlined:function(){return uV.Z},FormOutlined:function(){return ux},FormatPainterFilled:function(){return uL},FormatPainterOutlined:function(){return uy},ForwardFilled:function(){return uS},ForwardOutlined:function(){return uk},FrownFilled:function(){return uT},FrownOutlined:function(){return uF.Z},FrownTwoTone:function(){return uA},FullscreenExitOutlined:function(){return uP},FullscreenOutlined:function(){return uq},FunctionOutlined:function(){return uW},FundFilled:function(){return u_},FundOutlined:function(){return uU},FundProjectionScreenOutlined:function(){return uX},FundTwoTone:function(){return uJ},FundViewOutlined:function(){return u4},FunnelPlotFilled:function(){return u3},FunnelPlotOutlined:function(){return u6},FunnelPlotTwoTone:function(){return u5},GatewayOutlined:function(){return u9},GifOutlined:function(){return st},GiftFilled:function(){return sn},GiftOutlined:function(){return sr},GiftTwoTone:function(){return so},GithubFilled:function(){return su},GithubOutlined:function(){return sf},GitlabFilled:function(){return sd},GitlabOutlined:function(){return sm},GlobalOutlined:function(){return sg.Z},GoldFilled:function(){return sp},GoldOutlined:function(){return sM},GoldTwoTone:function(){return sH},GoldenFilled:function(){return sV},GoogleCircleFilled:function(){return sx},GoogleOutlined:function(){return sL},GooglePlusCircleFilled:function(){return sy},GooglePlusOutlined:function(){return sS},GooglePlusSquareFilled:function(){return sk},GoogleSquareFilled:function(){return sT},GroupOutlined:function(){return sI},HarmonyOSOutlined:function(){return sD},HddFilled:function(){return sN},HddOutlined:function(){return sj},HddTwoTone:function(){return sY},HeartFilled:function(){return sK},HeartOutlined:function(){return sG},HeartTwoTone:function(){return sQ},HeatMapOutlined:function(){return s1},HighlightFilled:function(){return s2},HighlightOutlined:function(){return s8},HighlightTwoTone:function(){return s0},HistoryOutlined:function(){return s7},HolderOutlined:function(){return s9.Z},HomeFilled:function(){return ft},HomeOutlined:function(){return fn},HomeTwoTone:function(){return fr},HourglassFilled:function(){return fo},HourglassOutlined:function(){return fu},HourglassTwoTone:function(){return ff},Html5Filled:function(){return fd},Html5Outlined:function(){return fm},Html5TwoTone:function(){return fz},IconProvider:function(){return bO},IdcardFilled:function(){return fw},IdcardOutlined:function(){return fZ},IdcardTwoTone:function(){return fb},IeCircleFilled:function(){return fV.Z},IeOutlined:function(){return fx},IeSquareFilled:function(){return fL},ImportOutlined:function(){return fR.Z},InboxOutlined:function(){return fy.Z},InfoCircleFilled:function(){return fB.Z},InfoCircleOutlined:function(){return fS.Z},InfoCircleTwoTone:function(){return fk},InfoOutlined:function(){return fT},InsertRowAboveOutlined:function(){return fI},InsertRowBelowOutlined:function(){return fD},InsertRowLeftOutlined:function(){return fN},InsertRowRightOutlined:function(){return fj},InstagramFilled:function(){return fY},InstagramOutlined:function(){return fK},InsuranceFilled:function(){return fG},InsuranceOutlined:function(){return fQ},InsuranceTwoTone:function(){return f1},InteractionFilled:function(){return f2},InteractionOutlined:function(){return f8},InteractionTwoTone:function(){return f0},IssuesCloseOutlined:function(){return f7},ItalicOutlined:function(){return he},JavaOutlined:function(){return hc},JavaScriptOutlined:function(){return ha},KeyOutlined:function(){return hl},KubernetesOutlined:function(){return hi},LaptopOutlined:function(){return hs},LayoutFilled:function(){return hh},LayoutOutlined:function(){return hv},LayoutTwoTone:function(){return hg},LeftCircleFilled:function(){return hp},LeftCircleOutlined:function(){return hM},LeftCircleTwoTone:function(){return hH},LeftOutlined:function(){return hb.Z},LeftSquareFilled:function(){return hC},LeftSquareOutlined:function(){return hE},LeftSquareTwoTone:function(){return hR},LikeFilled:function(){return hB},LikeOutlined:function(){return hS.Z},LikeTwoTone:function(){return hk},LineChartOutlined:function(){return hT},LineHeightOutlined:function(){return hI},LineOutlined:function(){return hD},LinkOutlined:function(){return hP.Z},LinkedinFilled:function(){return hq},LinkedinOutlined:function(){return hW},LinuxOutlined:function(){return h_},Loading3QuartersOutlined:function(){return hU},LoadingOutlined:function(){return hG.Z},LockFilled:function(){return hQ},LockOutlined:function(){return h1},LockTwoTone:function(){return h2},LoginOutlined:function(){return h8},LogoutOutlined:function(){return h0},MacCommandFilled:function(){return h7},MacCommandOutlined:function(){return de},MailFilled:function(){return dc},MailOutlined:function(){return da},MailTwoTone:function(){return dl},ManOutlined:function(){return du},MedicineBoxFilled:function(){return df},MedicineBoxOutlined:function(){return dd},MedicineBoxTwoTone:function(){return dm},MediumCircleFilled:function(){return dz},MediumOutlined:function(){return dw},MediumSquareFilled:function(){return dZ},MediumWorkmarkOutlined:function(){return db},MehFilled:function(){return dC},MehOutlined:function(){return dE},MehTwoTone:function(){return dR},MenuFoldOutlined:function(){return dy.Z},MenuOutlined:function(){return dS},MenuUnfoldOutlined:function(){return dO.Z},MergeCellsOutlined:function(){return d$},MergeFilled:function(){return dF},MergeOutlined:function(){return dA},MessageFilled:function(){return dP},MessageOutlined:function(){return dN.Z},MessageTwoTone:function(){return dj},MinusCircleFilled:function(){return dY},MinusCircleOutlined:function(){return d_.Z},MinusCircleTwoTone:function(){return dU},MinusOutlined:function(){return dX},MinusSquareFilled:function(){return dJ},MinusSquareOutlined:function(){return d1.Z},MinusSquareTwoTone:function(){return d2},MobileFilled:function(){return d8},MobileOutlined:function(){return d0},MobileTwoTone:function(){return d7},MoneyCollectFilled:function(){return ve},MoneyCollectOutlined:function(){return vc},MoneyCollectTwoTone:function(){return va},MonitorOutlined:function(){return vl},MoonFilled:function(){return vi},MoonOutlined:function(){return vs},MoreOutlined:function(){return vh},MutedFilled:function(){return vv},MutedOutlined:function(){return vg},NodeCollapseOutlined:function(){return vp},NodeExpandOutlined:function(){return vM},NodeIndexOutlined:function(){return vH},NotificationFilled:function(){return vV},NotificationOutlined:function(){return vx},NotificationTwoTone:function(){return vL},NumberOutlined:function(){return vy},OneToOneOutlined:function(){return vS},OpenAIFilled:function(){return vk},OpenAIOutlined:function(){return vT},OrderedListOutlined:function(){return vI},PaperClipOutlined:function(){return vA.Z},PartitionOutlined:function(){return vD.Z},PauseCircleFilled:function(){return vN},PauseCircleOutlined:function(){return vq.Z},PauseCircleTwoTone:function(){return vW},PauseOutlined:function(){return v_},PayCircleFilled:function(){return vU},PayCircleOutlined:function(){return vX},PercentageOutlined:function(){return vJ},PhoneFilled:function(){return v4},PhoneOutlined:function(){return v3},PhoneTwoTone:function(){return v6},PicCenterOutlined:function(){return v5},PicLeftOutlined:function(){return v9},PicRightOutlined:function(){return mt},PictureFilled:function(){return mn},PictureOutlined:function(){return ma.Z},PictureTwoTone:function(){return mr.Z},PieChartFilled:function(){return mo},PieChartOutlined:function(){return mi.Z},PieChartTwoTone:function(){return ms},PinterestFilled:function(){return mh},PinterestOutlined:function(){return mv},PlayCircleFilled:function(){return mg},PlayCircleOutlined:function(){return mp},PlayCircleTwoTone:function(){return mM},PlaySquareFilled:function(){return mH},PlaySquareOutlined:function(){return mV},PlaySquareTwoTone:function(){return mx},PlusCircleFilled:function(){return mL},PlusCircleOutlined:function(){return my},PlusCircleTwoTone:function(){return mS},PlusOutlined:function(){return mO.Z},PlusSquareFilled:function(){return m$},PlusSquareOutlined:function(){return mT.Z},PlusSquareTwoTone:function(){return mI},PoundCircleFilled:function(){return mD},PoundCircleOutlined:function(){return mN},PoundCircleTwoTone:function(){return mj},PoundOutlined:function(){return mY},PoweroffOutlined:function(){return mK},PrinterFilled:function(){return mG},PrinterOutlined:function(){return mQ},PrinterTwoTone:function(){return m1},ProductFilled:function(){return m2},ProductOutlined:function(){return m3.Z},ProfileFilled:function(){return m6},ProfileOutlined:function(){return m5},ProfileTwoTone:function(){return m9},ProjectFilled:function(){return gt},ProjectOutlined:function(){return gn},ProjectTwoTone:function(){return gr},PropertySafetyFilled:function(){return go},PropertySafetyOutlined:function(){return gu},PropertySafetyTwoTone:function(){return gf},PullRequestOutlined:function(){return gd},PushpinFilled:function(){return gm},PushpinOutlined:function(){return gz},PushpinTwoTone:function(){return gw},PythonOutlined:function(){return gZ},QqCircleFilled:function(){return gb},QqOutlined:function(){return gC},QqSquareFilled:function(){return gE},QrcodeOutlined:function(){return gR},QuestionCircleFilled:function(){return gB},QuestionCircleOutlined:function(){return gS.Z},QuestionCircleTwoTone:function(){return gk},QuestionOutlined:function(){return gT},RadarChartOutlined:function(){return gI},RadiusBottomleftOutlined:function(){return gD},RadiusBottomrightOutlined:function(){return gN},RadiusSettingOutlined:function(){return gj},RadiusUpleftOutlined:function(){return gY},RadiusUprightOutlined:function(){return gK},ReadFilled:function(){return gG},ReadOutlined:function(){return gX.Z},ReconciliationFilled:function(){return gJ},ReconciliationOutlined:function(){return g4},ReconciliationTwoTone:function(){return g3},RedEnvelopeFilled:function(){return g6},RedEnvelopeOutlined:function(){return g5},RedEnvelopeTwoTone:function(){return g9},RedditCircleFilled:function(){return zt},RedditOutlined:function(){return zn},RedditSquareFilled:function(){return zr},RedoOutlined:function(){return zl.Z},ReloadOutlined:function(){return zi},RestFilled:function(){return zs},RestOutlined:function(){return zh},RestTwoTone:function(){return zv},RetweetOutlined:function(){return zg},RightCircleFilled:function(){return zp},RightCircleOutlined:function(){return zM},RightCircleTwoTone:function(){return zH},RightOutlined:function(){return zb.Z},RightSquareFilled:function(){return zC},RightSquareOutlined:function(){return zE},RightSquareTwoTone:function(){return zR},RiseOutlined:function(){return zy.Z},RobotFilled:function(){return zS},RobotOutlined:function(){return zO.Z},RocketFilled:function(){return z$},RocketOutlined:function(){return zF},RocketTwoTone:function(){return zA},RollbackOutlined:function(){return zP},RotateLeftOutlined:function(){return zN.Z},RotateRightOutlined:function(){return zq.Z},RubyOutlined:function(){return zW},SafetyCertificateFilled:function(){return z_},SafetyCertificateOutlined:function(){return zU},SafetyCertificateTwoTone:function(){return zX},SafetyOutlined:function(){return zJ},SaveFilled:function(){return z1.Z},SaveOutlined:function(){return z4.Z},SaveTwoTone:function(){return z3},ScanOutlined:function(){return z6},ScheduleFilled:function(){return z5},ScheduleOutlined:function(){return z9},ScheduleTwoTone:function(){return pt},ScissorOutlined:function(){return pn},SearchOutlined:function(){return pa.Z},SecurityScanFilled:function(){return pl},SecurityScanOutlined:function(){return pi},SecurityScanTwoTone:function(){return ps},SelectOutlined:function(){return pf.Z},SendOutlined:function(){return ph.Z},SettingFilled:function(){return pv},SettingOutlined:function(){return pm.Z},SettingTwoTone:function(){return pz},ShakeOutlined:function(){return pw},ShareAltOutlined:function(){return pM.Z},ShopFilled:function(){return pH},ShopOutlined:function(){return pV},ShopTwoTone:function(){return px},ShoppingCartOutlined:function(){return pL},ShoppingFilled:function(){return py},ShoppingOutlined:function(){return pS},ShoppingTwoTone:function(){return pk},ShrinkOutlined:function(){return pT},SignalFilled:function(){return pI},SignatureFilled:function(){return pD},SignatureOutlined:function(){return pN},SisternodeOutlined:function(){return pj},SketchCircleFilled:function(){return pY},SketchOutlined:function(){return pK},SketchSquareFilled:function(){return pG},SkinFilled:function(){return pQ},SkinOutlined:function(){return p1},SkinTwoTone:function(){return p2},SkypeFilled:function(){return p8},SkypeOutlined:function(){return p0},SlackCircleFilled:function(){return p7},SlackOutlined:function(){return we},SlackSquareFilled:function(){return wc},SlackSquareOutlined:function(){return wa},SlidersFilled:function(){return wl},SlidersOutlined:function(){return wi},SlidersTwoTone:function(){return ws},SmallDashOutlined:function(){return wh},SmileFilled:function(){return wv},SmileOutlined:function(){return wm.Z},SmileTwoTone:function(){return wz},SnippetsFilled:function(){return ww},SnippetsOutlined:function(){return wZ},SnippetsTwoTone:function(){return wb},SolutionOutlined:function(){return wC},SortAscendingOutlined:function(){return wE},SortDescendingOutlined:function(){return wR},SoundFilled:function(){return wB},SoundOutlined:function(){return wO},SoundTwoTone:function(){return w$},SplitCellsOutlined:function(){return wF},SpotifyFilled:function(){return wA},SpotifyOutlined:function(){return wP},StarFilled:function(){return wN.Z},StarOutlined:function(){return wq.Z},StarTwoTone:function(){return wW},StepBackwardFilled:function(){return w_},StepBackwardOutlined:function(){return wU},StepForwardFilled:function(){return wX},StepForwardOutlined:function(){return wJ},StockOutlined:function(){return w4},StopFilled:function(){return w3},StopOutlined:function(){return w6},StopTwoTone:function(){return w5},StrikethroughOutlined:function(){return w9},SubnodeOutlined:function(){return Mt},SunFilled:function(){return Mn},SunOutlined:function(){return Mr},SwapLeftOutlined:function(){return Mo},SwapOutlined:function(){return Mi.Z},SwapRightOutlined:function(){return Mu.Z},SwitcherFilled:function(){return Mf},SwitcherOutlined:function(){return Md},SwitcherTwoTone:function(){return Mm},SyncOutlined:function(){return Mg.Z},TableOutlined:function(){return Mp},TabletFilled:function(){return MM},TabletOutlined:function(){return MH},TabletTwoTone:function(){return MV},TagFilled:function(){return Mx},TagOutlined:function(){return ML},TagTwoTone:function(){return My},TagsFilled:function(){return MS},TagsOutlined:function(){return Mk},TagsTwoTone:function(){return MT},TaobaoCircleFilled:function(){return MI},TaobaoCircleOutlined:function(){return MD},TaobaoOutlined:function(){return MN},TaobaoSquareFilled:function(){return Mj},TeamOutlined:function(){return MY},ThunderboltFilled:function(){return MK},ThunderboltOutlined:function(){return MG},ThunderboltTwoTone:function(){return MQ},TikTokFilled:function(){return M1},TikTokOutlined:function(){return M2},ToTopOutlined:function(){return M8},ToolFilled:function(){return M6.Z},ToolOutlined:function(){return M5},ToolTwoTone:function(){return M9},TrademarkCircleFilled:function(){return Zt},TrademarkCircleOutlined:function(){return Zn},TrademarkCircleTwoTone:function(){return Zr},TrademarkOutlined:function(){return Zo},TransactionOutlined:function(){return Zu},TranslationOutlined:function(){return Zf},TrophyFilled:function(){return Zd},TrophyOutlined:function(){return Zm},TrophyTwoTone:function(){return Zz},TruckFilled:function(){return Zw},TruckOutlined:function(){return ZZ},TwitchFilled:function(){return Zb},TwitchOutlined:function(){return ZC},TwitterCircleFilled:function(){return ZE},TwitterOutlined:function(){return ZR},TwitterSquareFilled:function(){return ZB},UnderlineOutlined:function(){return ZO},UndoOutlined:function(){return Z$},UngroupOutlined:function(){return ZF},UnlockFilled:function(){return ZA},UnlockOutlined:function(){return ZP},UnlockTwoTone:function(){return Zq},UnorderedListOutlined:function(){return ZW},UpCircleFilled:function(){return Z_},UpCircleOutlined:function(){return ZU},UpCircleTwoTone:function(){return ZX},UpOutlined:function(){return ZQ.Z},UpSquareFilled:function(){return Z1},UpSquareOutlined:function(){return Z2},UpSquareTwoTone:function(){return Z8},UploadOutlined:function(){return Z6.Z},UsbFilled:function(){return Z5},UsbOutlined:function(){return Z9},UsbTwoTone:function(){return Ht},UserAddOutlined:function(){return Hn},UserDeleteOutlined:function(){return Hr},UserOutlined:function(){return Hl.Z},UserSwitchOutlined:function(){return Hi},UsergroupAddOutlined:function(){return Hs},UsergroupDeleteOutlined:function(){return Hh},VerifiedOutlined:function(){return Hv},VerticalAlignBottomOutlined:function(){return Hg},VerticalAlignMiddleOutlined:function(){return Hp},VerticalAlignTopOutlined:function(){return Hw.Z},VerticalLeftOutlined:function(){return HZ},VerticalRightOutlined:function(){return Hb},VideoCameraAddOutlined:function(){return HC},VideoCameraFilled:function(){return HE},VideoCameraOutlined:function(){return HR},VideoCameraTwoTone:function(){return HB},WalletFilled:function(){return HO},WalletOutlined:function(){return H$},WalletTwoTone:function(){return HF},WarningFilled:function(){return HA},WarningOutlined:function(){return HD.Z},WarningTwoTone:function(){return HN},WechatFilled:function(){return Hj},WechatOutlined:function(){return HY},WechatWorkFilled:function(){return HK},WechatWorkOutlined:function(){return HG},WeiboCircleFilled:function(){return HQ},WeiboCircleOutlined:function(){return H1},WeiboOutlined:function(){return H2},WeiboSquareFilled:function(){return H8},WeiboSquareOutlined:function(){return H0},WhatsAppOutlined:function(){return H7},WifiOutlined:function(){return be},WindowsFilled:function(){return bc},WindowsOutlined:function(){return ba},WomanOutlined:function(){return bl},XFilled:function(){return bi},XOutlined:function(){return bs},YahooFilled:function(){return bh},YahooOutlined:function(){return bv},YoutubeFilled:function(){return bg},YoutubeOutlined:function(){return bp},YuqueFilled:function(){return bw.Z},YuqueOutlined:function(){return bZ},ZhihuCircleFilled:function(){return bb},ZhihuOutlined:function(){return bC},ZhihuSquareFilled:function(){return bE},ZoomInOutlined:function(){return bL.Z},ZoomOutOutlined:function(){return bR.Z},createFromIconfontCN:function(){return bB.Z},default:function(){return bS.Z},getTwoToneColor:function(){return by.m},setTwoToneColor:function(){return by.U}});var n=c(63366),a=c(42096),r=c(38497),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM648.3 426.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V752c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z"}}]},name:"account-book",theme:"filled"},o=c(55032),i=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:l}))}),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z"}}]},name:"account-book",theme:"outlined"},s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:u}))}),f={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-65.6 121.8l-89.3 164.1h49.1c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4v33.7h65.4c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4V752c0 4.4-3.6 8-8 8h-41.3c-4.4 0-8-3.6-8-8v-53.8h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8h65.1v-33.7h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8H467l-89.3-164c-2.1-3.9-.7-8.8 3.2-10.9 1.1-.7 2.5-1 3.8-1h46a8 8 0 017.1 4.4l73.4 145.4h2.8l73.4-145.4c1.3-2.7 4.1-4.4 7.1-4.4h45c4.5 0 8 3.6 7.9 8 0 1.3-.4 2.6-1 3.8z",fill:t}},{tag:"path",attrs:{d:"M639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z",fill:e}},{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z",fill:e}}]}},name:"account-book",theme:"twotone"},h=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f}))}),d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 474H829.8C812.5 327.6 696.4 211.5 550 194.2V72c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v122.2C327.6 211.5 211.5 327.6 194.2 474H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h122.2C211.5 696.4 327.6 812.5 474 829.8V952c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V829.8C696.4 812.5 812.5 696.4 829.8 550H952c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM512 756c-134.8 0-244-109.2-244-244s109.2-244 244-244 244 109.2 244 244-109.2 244-244 244z"}},{tag:"path",attrs:{d:"M512 392c-32.1 0-62.1 12.4-84.8 35.2-22.7 22.7-35.2 52.7-35.2 84.8s12.5 62.1 35.2 84.8C449.9 619.4 480 632 512 632s62.1-12.5 84.8-35.2C619.4 574.1 632 544 632 512s-12.5-62.1-35.2-84.8A118.57 118.57 0 00512 392z"}}]},name:"aim",theme:"outlined"},v=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:d}))}),m=c(57668),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M193 796c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563zm-48.1-252.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM832 892H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8z"}}]},name:"alert",theme:"outlined"},z=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g}))}),p={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M340 585c0-5.5 4.5-10 10-10h44c5.5 0 10 4.5 10 10v171h355V563c0-136.4-110.6-247-247-247S265 426.6 265 563v193h75V585z",fill:t}},{tag:"path",attrs:{d:"M216.9 310.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8zm348 712H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zm-639-96c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563z",fill:e}}]}},name:"alert",theme:"twotone"},w=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p}))}),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M602.9 669.8c-37.2 2.6-33.6-17.3-11.5-46.2 50.4-67.2 143.7-158.5 147.9-225.2 5.8-86.6-81.3-113.4-171-113.4-62.4 1.6-127 18.9-171 34.6-151.6 53.5-246.6 137.5-306.9 232-62.4 93.4-43 183.2 91.8 185.8 101.8-4.2 170.5-32.5 239.7-68.2.5 0-192.5 55.1-263.9 14.7-7.9-4.2-15.7-10-17.8-26.2 0-33.1 54.6-67.7 86.6-78.7v-56.7c64.5 22.6 140.6 16.3 205.7-32 2.1 5.8 4.2 13.1 3.7 21h11c2.6-22.6-12.6-44.6-37.8-46.2 7.3 5.8 12.6 10.5 15.2 14.7l-1 1-.5.5c-83.9 58.8-165.3 31.5-173.1 29.9l46.7-45.7-13.1-33.1c92.9-32.5 169.5-56.2 296.9-78.7l-28.5-23 14.7-8.9c75.5 21 126.4 36.7 123.8 76.6-1 6.8-3.7 14.7-7.9 23.1C660.1 466.1 594 538 567.2 569c-17.3 20.5-34.6 39.4-46.7 58.3-13.6 19.4-20.5 37.3-21 53.5 2.6 131.8 391.4-61.9 468-112.9-111.7 47.8-232.9 93.5-364.6 101.9zm85-302.9c2.8 5.2 4.1 11.6 4.1 19.1-.1-6.8-1.4-13.3-4.1-19.1z"}}]},name:"alibaba",theme:"outlined"},Z=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:M}))}),H={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M264 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm496 424c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496zm144 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"align-center",theme:"outlined"},b=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:H}))}),V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 424h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm784 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"align-left",theme:"outlined"},C=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:V}))}),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 158H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 424H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 212H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"align-right",theme:"outlined"},E=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:x}))}),L={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.42 0 448 200.58 448 448S759.42 960 512 960 64 759.42 64 512 264.58 64 512 64m32.5 168c-69.67 0-86.06 16.84-86.72 39.08l-.02 1.43v46.62H291.45c-9.92 0-14.28 23.05-14.27 39.3 0 2.7 2.08 4.93 4.77 4.93h175.81v58.3h-116.5c-9.96 0-14.3 23.76-14.27 39.47a4.77 4.77 0 004.77 4.76h233.45c-4.53 41.06-15.43 77.59-30.72 109.32l-1.22 2.5-.32-.28c-60.24-28.47-120.43-52.57-194.4-52.57l-2.62.01c-84.98 1.11-144.71 56.5-145.91 127.04l-.02 1.22.02 2.13c1.24 70.4 63.56 126.45 148.52 126.45 61.25 0 116.38-16.85 163.46-45.02a138.58 138.58 0 0014.07-7.96 345.6 345.6 0 0050.3-41.16l9.45 6.35 12.46 8.32c57.53 38.26 113.76 72.62 169.86 79.27a142.62 142.62 0 0018.31 1.16c43.02 0 55-52.68 57.39-95.51l.14-2.84c.4-8.46-6.2-15.6-14.65-15.86-75.46-2.37-136.45-22.05-192-46.11l-6.27-2.75c35.15-56.8 56.66-121.81 57.15-186.66l.09-1.08c.4-5.51-4-10.2-9.52-10.2H549.33v-58.3h165.73c9.92 0 14.28-22.12 14.27-39.31a4.85 4.85 0 00-4.78-4.92H549.32v-82.35a4.8 4.8 0 00-4.83-4.78M328 583.85c54.63 0 107.08 22.41 158.1 52.19l5.76 3.4c-103.57 119.84-247.17 95.9-261.72 26.37a66.89 66.89 0 01-1.14-9.83l-.06-2.34.02-.9c.97-40.12 45.33-68.9 99.04-68.9"}}]},name:"alipay-circle",theme:"filled"},R=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:L}))}),y={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.42 0 448 200.58 448 448S759.42 960 512 960 64 759.42 64 512 264.58 64 512 64m32.5 168c-69.67 0-86.06 16.84-86.72 39.08l-.02 1.43v46.62H291.45c-9.92 0-14.28 23.05-14.27 39.3 0 2.7 2.08 4.93 4.77 4.93h175.81v58.3h-116.5c-9.96 0-14.3 23.76-14.27 39.47a4.77 4.77 0 004.77 4.76h233.45c-4.53 41.06-15.43 77.59-30.72 109.32l-1.22 2.5-.32-.28c-60.24-28.47-120.43-52.57-194.4-52.57l-2.62.01c-84.98 1.11-144.71 56.5-145.91 127.04l-.02 1.22.02 2.13c1.24 70.4 63.56 126.45 148.52 126.45 61.25 0 116.38-16.85 163.46-45.02a138.58 138.58 0 0014.07-7.96 345.6 345.6 0 0050.3-41.16l9.45 6.35 12.46 8.32c57.53 38.26 113.76 72.62 169.86 79.27a142.62 142.62 0 0018.31 1.16c43.02 0 55-52.68 57.39-95.51l.14-2.84c.4-8.46-6.2-15.6-14.65-15.86-75.46-2.37-136.45-22.05-192-46.11l-6.27-2.75c35.15-56.8 56.66-121.81 57.15-186.66l.09-1.08c.4-5.51-4-10.2-9.52-10.2H549.33v-58.3h165.73c9.92 0 14.28-22.12 14.27-39.31a4.85 4.85 0 00-4.78-4.92H549.32v-82.35a4.8 4.8 0 00-4.83-4.78M328 583.85c54.63 0 107.08 22.41 158.1 52.19l5.76 3.4c-103.57 119.84-247.17 95.9-261.72 26.37a66.89 66.89 0 01-1.14-9.83l-.06-2.34.02-.9c.97-40.12 45.33-68.9 99.04-68.9"}}]},name:"alipay-circle",theme:"outlined"},B=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:y}))}),S={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M557.2 129a6.68 6.68 0 016.72 6.65V250.2h243.8a6.74 6.74 0 016.65 6.84c.02 23.92-6.05 54.69-19.85 54.69H563.94v81.1h166.18c7.69 0 13.8 6.51 13.25 14.18l-.11 1.51c-.7 90.2-30.63 180.64-79.52 259.65l8.71 3.82c77.3 33.48 162.15 60.85 267.15 64.14a21.08 21.08 0 0120.38 22.07l-.2 3.95c-3.34 59.57-20 132.85-79.85 132.85-8.8 0-17.29-.55-25.48-1.61-78.04-9.25-156.28-57.05-236.32-110.27l-17.33-11.57-13.15-8.83a480.83 480.83 0 01-69.99 57.25 192.8 192.8 0 01-19.57 11.08c-65.51 39.18-142.21 62.6-227.42 62.62-118.2 0-204.92-77.97-206.64-175.9l-.03-2.95.03-1.7c1.66-98.12 84.77-175.18 203-176.72l3.64-.03c102.92 0 186.66 33.54 270.48 73.14l.44.38 1.7-3.47c21.27-44.14 36.44-94.95 42.74-152.06h-324.8a6.64 6.64 0 01-6.63-6.62c-.04-21.86 6-54.91 19.85-54.91h162.1v-81.1H191.92a6.71 6.71 0 01-6.64-6.85c-.01-22.61 6.06-54.68 19.86-54.68h231.4v-64.85l.02-1.99c.9-30.93 23.72-54.36 120.64-54.36M256.9 619c-74.77 0-136.53 39.93-137.88 95.6l-.02 1.26.08 3.24a92.55 92.55 0 001.58 13.64c20.26 96.5 220.16 129.71 364.34-36.59l-8.03-4.72C405.95 650.11 332.94 619 256.9 619"}}]},name:"alipay",theme:"outlined"},O=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:S}))}),k={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M894.6 116.54a30.9 30.9 0 0112.86 12.85c2.96 5.54 4.54 11.04 4.54 26.2V868.4c0 15.16-1.58 20.66-4.54 26.2a30.9 30.9 0 01-12.85 12.85c-5.54 2.96-11.04 4.54-26.2 4.54H155.6c-15.16 0-20.66-1.58-26.2-4.54a30.9 30.9 0 01-12.85-12.85c-2.92-5.47-4.5-10.9-4.54-25.59V155.6c0-15.16 1.58-20.66 4.54-26.2a30.9 30.9 0 0112.85-12.85c5.47-2.92 10.9-4.5 25.59-4.54H868.4c15.16 0 20.66 1.58 26.2 4.54M541 262c-62.2 0-76.83 15.04-77.42 34.9l-.02 1.27v41.62H315.08c-8.86 0-12.75 20.59-12.74 35.1a4.3 4.3 0 004.26 4.4h156.97v52.05H359.56c-8.9 0-12.77 21.22-12.75 35.25a4.26 4.26 0 004.26 4.25h208.44c-4.04 36.66-13.78 69.27-27.43 97.6l-1.09 2.23-.28-.25c-53.8-25.42-107.53-46.94-173.58-46.94l-2.33.01c-75.88 1-129.21 50.45-130.28 113.43l-.02 1.1.02 1.89c1.1 62.85 56.75 112.9 132.6 112.9 54.7 0 103.91-15.04 145.95-40.2a123.73 123.73 0 0012.56-7.1 308.6 308.6 0 0044.92-36.75l8.44 5.67 11.12 7.43c51.36 34.15 101.57 64.83 151.66 70.77a127.34 127.34 0 0016.35 1.04c38.4 0 49.1-47.04 51.24-85.28l.13-2.53a13.53 13.53 0 00-13.08-14.17c-67.39-2.1-121.84-19.68-171.44-41.17l-5.6-2.44c31.39-50.72 50.6-108.77 51.04-166.67l.07-.96a8.51 8.51 0 00-8.5-9.1H545.33v-52.06H693.3c8.86 0 12.75-19.75 12.75-35.1-.01-2.4-1.87-4.4-4.27-4.4H545.32v-73.52a4.29 4.29 0 00-4.31-4.27m-193.3 314.15c48.77 0 95.6 20.01 141.15 46.6l5.15 3.04c-92.48 107-220.69 85.62-233.68 23.54a59.72 59.72 0 01-1.02-8.78l-.05-2.08.01-.81c.87-35.82 40.48-61.51 88.44-61.51"}}]},name:"alipay-square",theme:"filled"},$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:k}))}),T={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-325.2 79c0 20.4-16.6 37.1-37.1 37.1-20.4 0-37.1-16.7-37.1-37.1v-55.1c0-20.4 16.6-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1zm175.2 0c0 20.4-16.6 37.1-37.1 37.1S644 476.8 644 456.4v-55.1c0-20.4 16.7-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1z"}}]},name:"aliwangwang",theme:"filled"},F=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:T}))}),I={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10.1 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-66.4 266.5a307.08 307.08 0 01-65.9 98c-28.4 28.5-61.3 50.7-97.7 65.9h-.1c-38 16-78.3 24.2-119.9 24.2a306.51 306.51 0 01-217.5-90.2c-28.4-28.5-50.6-61.4-65.8-97.8v-.1c-16-37.8-24.1-78.2-24.1-119.9 0-55.4 14.8-109.7 42.8-157l13.2-22.1-9.5-23.9L206 192c14.9.6 35.9 2.1 59.7 5.6 43.8 6.5 82.5 17.5 114.9 32.6l19 8.9 19.9-6.8c31.5-10.8 64.8-16.2 98.9-16.2a306.51 306.51 0 01217.5 90.2c28.4 28.5 50.6 61.4 65.8 97.8l.1.1.1.1c16 37.6 24.1 78 24.2 119.8-.1 41.7-8.3 82-24.3 119.8zM681.1 364.2c-20.4 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.6 37.1 37.1 37.1s37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1zm-175.2 0c-20.5 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.7 37.1 37.1 37.1 20.5 0 37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1z"}}]},name:"aliwangwang",theme:"outlined"},A=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:I}))}),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M959.2 383.9c-.3-82.1-66.9-148.6-149.1-148.6H575.9l21.6 85.2 201 43.7a42.58 42.58 0 0132.9 39.7c.1.5.1 216.1 0 216.6a42.58 42.58 0 01-32.9 39.7l-201 43.7-21.6 85.3h234.2c82.1 0 148.8-66.5 149.1-148.6V383.9zM225.5 660.4a42.58 42.58 0 01-32.9-39.7c-.1-.6-.1-216.1 0-216.6.8-19.4 14.6-35.5 32.9-39.7l201-43.7 21.6-85.2H213.8c-82.1 0-148.8 66.4-149.1 148.6V641c.3 82.1 67 148.6 149.1 148.6H448l-21.6-85.3-200.9-43.9zm200.9-158.8h171v21.3h-171z"}}]},name:"aliyun",theme:"outlined"},P=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:D}))}),N={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm35.8 262.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 00-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9 4.7-12.2 11.8-23.9 21.4-35 9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0125.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 017.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 01-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7z"}}]},name:"amazon-circle",theme:"filled"},q=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:N}))}),j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M825 768.9c-3.3-.9-7.3-.4-11.9 1.3-61.6 28.2-121.5 48.3-179.7 60.2C507.7 856 385.2 842.6 266 790.3c-33.1-14.6-79.1-39.2-138-74a9.36 9.36 0 00-5.3-2c-2-.1-3.7.1-5.3.9-1.6.8-2.8 1.8-3.7 3.1-.9 1.3-1.1 3.1-.4 5.4.6 2.2 2.1 4.7 4.6 7.4 10.4 12.2 23.3 25.2 38.6 39s35.6 29.4 60.9 46.8c25.3 17.4 51.8 32.9 79.3 46.4 27.6 13.5 59.6 24.9 96.1 34.1s73 13.8 109.4 13.8c36.2 0 71.4-3.7 105.5-10.9 34.2-7.3 63-15.9 86.5-25.9 23.4-9.9 45-21 64.8-33 19.8-12 34.4-22.2 43.9-30.3 9.5-8.2 16.3-14.6 20.2-19.4 4.6-5.7 6.9-10.6 6.9-14.9.1-4.5-1.7-7.1-5-7.9zM527.4 348.1c-15.2 1.3-33.5 4.1-55 8.3-21.5 4.1-41.4 9.3-59.8 15.4s-37.2 14.6-56.3 25.4c-19.2 10.8-35.5 23.2-49 37s-24.5 31.1-33.1 52c-8.6 20.8-12.9 43.7-12.9 68.7 0 27.1 4.7 51.2 14.3 72.5 9.5 21.3 22.2 38 38.2 50.4 15.9 12.4 34 22.1 54 29.2 20 7.1 41.2 10.3 63.2 9.4 22-.9 43.5-4.3 64.4-10.3 20.8-5.9 40.4-15.4 58.6-28.3 18.2-12.9 33.1-28.2 44.8-45.7 4.3 6.6 8.1 11.5 11.5 14.7l8.7 8.9c5.8 5.9 14.7 14.6 26.7 26.1 11.9 11.5 24.1 22.7 36.3 33.7l104.4-99.9-6-4.9c-4.3-3.3-9.4-8-15.2-14.3-5.8-6.2-11.6-13.1-17.2-20.5-5.7-7.4-10.6-16.1-14.7-25.9-4.1-9.8-6.2-19.3-6.2-28.5V258.7c0-10.1-1.9-21-5.7-32.8-3.9-11.7-10.7-24.5-20.7-38.3-10-13.8-22.4-26.2-37.2-37-14.9-10.8-34.7-20-59.6-27.4-24.8-7.4-52.6-11.1-83.2-11.1-31.3 0-60.4 3.7-87.6 10.9-27.1 7.3-50.3 17-69.7 29.2-19.3 12.2-35.9 26.3-49.7 42.4-13.8 16.1-24.1 32.9-30.8 50.4-6.7 17.5-10.1 35.2-10.1 53.1L408 310c5.5-16.4 12.9-30.6 22-42.8 9.2-12.2 17.9-21 25.8-26.5 8-5.5 16.6-9.9 25.7-13.2 9.2-3.3 15.4-5 18.6-5.4 3.2-.3 5.7-.4 7.6-.4 26.7 0 45.2 7.9 55.6 23.6 6.5 9.5 9.7 23.9 9.7 43.3v56.6c-15.2.6-30.4 1.6-45.6 2.9zM573.1 500c0 16.6-2.2 31.7-6.5 45-9.2 29.1-26.7 47.4-52.4 54.8-22.4 6.6-43.7 3.3-63.9-9.8-21.5-14-32.2-33.8-32.2-59.3 0-19.9 5-36.9 15-51.1 10-14.1 23.3-24.7 40-31.7s33-12 49-14.9c15.9-3 33-4.8 51-5.4V500zm335.2 218.9c-4.3-5.4-15.9-8.9-34.9-10.7-19-1.8-35.5-1.7-49.7.4-15.3 1.8-31.1 6.2-47.3 13.4-16.3 7.1-23.4 13.1-21.6 17.8l.7 1.3.9.7 1.4.2h4.6c.8 0 1.8-.1 3.2-.2 1.4-.1 2.7-.3 3.9-.4 1.2-.1 2.9-.3 5.1-.4 2.1-.1 4.1-.4 6-.7.3 0 3.7-.3 10.3-.9 6.6-.6 11.4-1 14.3-1.3 2.9-.3 7.8-.6 14.5-.9 6.7-.3 12.1-.3 16.1 0 4 .3 8.5.7 13.6 1.1 5.1.4 9.2 1.3 12.4 2.7 3.2 1.3 5.6 3 7.1 5.1 5.2 6.6 4.2 21.2-3 43.9s-14 40.8-20.4 54.2c-2.8 5.7-2.8 9.2 0 10.7s6.7.1 11.9-4c15.6-12.2 28.6-30.6 39.1-55.3 6.1-14.6 10.5-29.8 13.1-45.7 2.4-15.9 2-26.2-1.3-31z"}}]},name:"amazon",theme:"outlined"},W=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:j}))}),Y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM547.8 326.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 00-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9s11.8-23.9 21.4-35c9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0125.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 017.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 01-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7zM485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4z"}}]},name:"amazon-square",theme:"filled"},_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Y}))}),K={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M270.1 741.7c0 23.4 19.1 42.5 42.6 42.5h48.7v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h85v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h48.7c23.5 0 42.6-19.1 42.6-42.5V346.4h-486v395.3zm357.1-600.1l44.9-65c2.6-3.8 2-8.9-1.5-11.4-3.5-2.4-8.5-1.2-11.1 2.6l-46.6 67.6c-30.7-12.1-64.9-18.8-100.8-18.8-35.9 0-70.1 6.7-100.8 18.8l-46.6-67.5c-2.6-3.8-7.6-5.1-11.1-2.6-3.5 2.4-4.1 7.4-1.5 11.4l44.9 65c-71.4 33.2-121.4 96.1-127.8 169.6h486c-6.6-73.6-56.7-136.5-128-169.7zM409.5 244.1a26.9 26.9 0 1126.9-26.9 26.97 26.97 0 01-26.9 26.9zm208.4 0a26.9 26.9 0 1126.9-26.9 26.97 26.97 0 01-26.9 26.9zm223.4 100.7c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c.1-30.6-24.3-55.3-54.6-55.3zm-658.6 0c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c0-30.6-24.5-55.3-54.6-55.3z"}}]},name:"android",theme:"filled"},U=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:K}))}),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9zm393.9 96.4c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zM576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z"}}]},name:"android",theme:"outlined"},X=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:G}))}),Q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M378.9 738c-3.1 0-6.1-.5-8.8-1.5l4.4 30.7h26.3l-15.5-29.9c-2.1.5-4.2.7-6.4.7zm421-291.2c-12.6 0-24.8 1.5-36.5 4.2-21.4-38.4-62.3-64.3-109.3-64.3-6.9 0-13.6.6-20.2 1.6-35.4-77.4-113.4-131.1-203.9-131.1-112.3 0-205.3 82.6-221.6 190.4C127.3 455.5 64 523.8 64 607c0 88.4 71.6 160.1 160 160.2h50l13.2-27.6c-26.2-8.3-43.3-29-39.1-48.8 4.6-21.6 32.8-33.9 63.1-27.5 22.9 4.9 40.4 19.1 45.5 35.1a26.1 26.1 0 0122.1-12.4h.2c-.8-3.2-1.2-6.5-1.2-9.9 0-20.1 14.8-36.7 34.1-39.6v-25.4c0-4.4 3.6-8 8-8s8 3.6 8 8v26.3c4.6 1.2 8.8 3.2 12.6 5.8l19.5-21.4c3-3.3 8-3.5 11.3-.5 3.3 3 3.5 8 .5 11.3l-20 22-.2.2a40 40 0 01-46.9 59.2c-.4 5.6-2.6 10.7-6 14.8l20 38.4H804v-.1c86.5-2.2 156-73 156-160.1 0-88.5-71.7-160.2-160.1-160.2zM338.2 737.2l-4.3 30h24.4l-5.9-41.5c-3.5 4.6-8.3 8.5-14.2 11.5zM797.5 305a48 48 0 1096 0 48 48 0 10-96 0zm-65.7 61.3a24 24 0 1048 0 24 24 0 10-48 0zM303.4 742.9l-11.6 24.3h26l3.5-24.7c-5.7.8-11.7 1-17.9.4z"}}]},name:"ant-cloud",theme:"outlined"},J=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Q}))}),ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M716.3 313.8c19-18.9 19-49.7 0-68.6l-69.9-69.9.1.1c-18.5-18.5-50.3-50.3-95.3-95.2-21.2-20.7-55.5-20.5-76.5.5L80.9 474.2a53.84 53.84 0 000 76.4L474.6 944a54.14 54.14 0 0076.5 0l165.1-165c19-18.9 19-49.7 0-68.6a48.7 48.7 0 00-68.7 0l-125 125.2c-5.2 5.2-13.3 5.2-18.5 0L189.5 521.4c-5.2-5.2-5.2-13.3 0-18.5l314.4-314.2c.4-.4.9-.7 1.3-1.1 5.2-4.1 12.4-3.7 17.2 1.1l125.2 125.1c19 19 49.8 19 68.7 0zM408.6 514.4a106.3 106.2 0 10212.6 0 106.3 106.2 0 10-212.6 0zm536.2-38.6L821.9 353.5c-19-18.9-49.8-18.9-68.7.1a48.4 48.4 0 000 68.6l83 82.9c5.2 5.2 5.2 13.3 0 18.5l-81.8 81.7a48.4 48.4 0 000 68.6 48.7 48.7 0 0068.7 0l121.8-121.7a53.93 53.93 0 00-.1-76.4z"}}]},name:"ant-design",theme:"outlined"},et=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ee}))}),ec={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908 640H804V488c0-4.4-3.6-8-8-8H548v-96h108c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h108v96H228c-4.4 0-8 3.6-8 8v152H116c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16H292v-88h440v88H620c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16zm-564 76v168H176V716h168zm84-408V140h168v168H428zm420 576H680V716h168v168z"}}]},name:"apartment",theme:"outlined"},en=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ec}))}),ea={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 68.9-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2z"}}]},name:"api",theme:"filled"},er=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ea}))}),el={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z"}}]},name:"api",theme:"outlined"},eo=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:el}))}),ei={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M148.2 674.6zm106.7-92.3c-25 25-38.7 58.1-38.7 93.4s13.8 68.5 38.7 93.4c25 25 58.1 38.7 93.4 38.7 35.3 0 68.5-13.8 93.4-38.7l59.4-59.4-186.8-186.8-59.4 59.4zm420.8-366.1c-35.3 0-68.5 13.8-93.4 38.7l-59.4 59.4 186.8 186.8 59.4-59.4c24.9-25 38.7-58.1 38.7-93.4s-13.8-68.5-38.7-93.4c-25-25-58.1-38.7-93.4-38.7z",fill:t}},{tag:"path",attrs:{d:"M578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2a199.45 199.45 0 00-58.6 140.4c-.2 39.5 11.2 79.1 34.3 113.1l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7-24.9-24.9-38.7-58.1-38.7-93.4s13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4zm476-620.3l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7s68.4 13.7 93.4 38.7c24.9 24.9 38.7 58.1 38.7 93.4s-13.8 68.4-38.7 93.4z",fill:e}}]}},name:"api",theme:"twotone"},eu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ei}))}),es={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"}}]},name:"apple",theme:"filled"},ef=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:es}))}),eh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6l-4.4-1.7c-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8zm-94.5-572c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"}}]},name:"apple",theme:"outlined"},ed=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eh}))}),ev=c(72533),em=c(13250),eg=c(31183),ez={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm52-668H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z",fill:e}},{tag:"path",attrs:{d:"M212 212h200v200H212zm400 0h200v200H612zM212 612h200v200H212zm400 0h200v200H612z",fill:t}}]}},name:"appstore",theme:"twotone"},ep=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ez}))}),ew={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-616-64h536c4.4 0 8-3.6 8-8V284c0-7.2-8.7-10.7-13.7-5.7L592 488.6l-125.4-124a8.03 8.03 0 00-11.3 0l-189 189.6a7.87 7.87 0 00-2.3 5.6V720c0 4.4 3.6 8 8 8z"}}]},name:"area-chart",theme:"outlined"},eM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ew}))}),eZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},eH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eZ}))}),eb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},eV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eb}))}),eC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"},ex=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eC}))}),eE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z"}}]},name:"arrow-up",theme:"outlined"},eL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eE}))}),eR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"arrows-alt",theme:"outlined"},ey=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eR}))}),eB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm330-170c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z"}}]},name:"audio",theme:"filled"},eS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eB}))}),eO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z"}},{tag:"path",attrs:{d:"M833 446h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254-63 0-120.7-23-165-61l-54 54a334.01 334.01 0 00179 81v102H326c-13.9 0-24.9 14.3-25 32v36c.1 4.4 2.9 8 6 8h408c3.2 0 6-3.6 6-8v-36c0-17.7-11-32-25-32H547V782c165.3-17.9 294-157.9 294-328 0-4.4-3.6-8-8-8zm13.1-377.7l-43.5-41.9a8 8 0 00-11.2.1l-129 129C634.3 101.2 577 64 511 64c-93.9 0-170 75.3-170 168v224c0 6.7.4 13.3 1.2 19.8l-68 68A252.33 252.33 0 01258 454c-.2-4.4-3.8-8-8-8h-60c-4.4 0-8 3.6-8 8 0 53 12.5 103 34.6 147.4l-137 137a8.03 8.03 0 000 11.3l42.7 42.7c3.1 3.1 8.2 3.1 11.3 0L846.2 79.8l.1-.1c3.1-3.2 3-8.3-.2-11.4zM417 401V232c0-50.6 41.9-92 94-92 46 0 84.1 32.3 92.3 74.7L417 401z"}}]},name:"audio-muted",theme:"outlined"},ek=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eO}))}),e$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z"}}]},name:"audio",theme:"outlined"},eT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:e$}))}),eF={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 552c54.3 0 98-43.2 98-96V232c0-52.8-43.7-96-98-96s-98 43.2-98 96v224c0 52.8 43.7 96 98 96z",fill:t}},{tag:"path",attrs:{d:"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z",fill:e}},{tag:"path",attrs:{d:"M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-98-392c0-52.8 43.7-96 98-96s98 43.2 98 96v224c0 52.8-43.7 96-98 96s-98-43.2-98-96V232z",fill:e}}]}},name:"audio",theme:"twotone"},eI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eF}))}),eA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 250c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 144H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 458H208V148h560v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z"}}]},name:"audit",theme:"outlined"},eD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eA}))}),eP={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 00-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z"}}]},name:"backward",theme:"filled"},eN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eP}))}),eq={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 00-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z"}}]},name:"backward",theme:"outlined"},ej=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eq}))}),eW={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M250.02 547.04c92.37-19.8 79.77-130.07 76.95-154.18-4.56-37.2-48.26-102.16-107.63-97.02-74.7 6.7-85.65 114.58-85.65 114.58-10.04 49.88 24.2 156.43 116.33 136.62m84.7 214.14c10.28 38.7 43.95 40.43 43.95 40.43H427V683.55h-51.74c-23.22 6.96-34.5 25.1-36.98 32.8-2.74 7.8-8.71 27.6-3.57 44.83m169.07-531.1c0-72.42-41.13-131.08-92.2-131.08-50.92 0-92.21 58.66-92.21 131.07 0 72.5 41.3 131.16 92.2 131.16 51.08 0 92.21-58.66 92.21-131.16m248.1 9.1c8.86-54.92-35.08-118.88-83.34-129.82-48.34-11.1-108.7 66.28-114.18 116.74-6.55 61.72 8.79 123.28 76.86 132.06 68.16 8.87 112.03-63.87 120.65-118.97m46.35 433.02s-105.47-81.53-167-169.6c-83.4-129.91-201.98-77.05-241.62-11.02-39.47 66.03-101 107.87-109.7 118.9-8.87 10.93-127.36 74.8-101.07 191.55 26.28 116.65 118.73 114.5 118.73 114.5s68.08 6.7 147.1-10.94C523.7 888.03 591.7 910 591.7 910s184.57 61.72 235.07-57.18c50.41-118.97-28.53-180.61-28.53-180.61M362.42 849.17c-51.83-10.36-72.47-45.65-75.13-51.7-2.57-6.13-17.24-34.55-9.45-82.85 22.39-72.41 86.23-77.63 86.23-77.63h63.85v-78.46l54.4.82.08 289.82zm205.38-.83c-53.56-13.75-56.05-51.78-56.05-51.78V643.95l56.05-.92v137.12c3.4 14.59 21.65 17.32 21.65 17.32h56.88V643.95h59.62v204.39zm323.84-397.72c0-26.35-21.89-105.72-103.15-105.72-81.43 0-92.29 74.9-92.29 127.84 0 50.54 4.31 121.13 105.4 118.8 101.15-2.15 90.04-114.41 90.04-140.92"}}]},name:"baidu",theme:"outlined"},eY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eW}))}),e_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374z"}}]},name:"bank",theme:"filled"},eK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:e_}))}),eU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM512 196.7l271.1 197.2H240.9L512 196.7zM264 462h117v374H264V462zm189 0h117v374H453V462zm307 374H642V462h118v374z"}}]},name:"bank",theme:"outlined"},eG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eU}))}),eX={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M240.9 393.9h542.2L512 196.7z",fill:t}},{tag:"path",attrs:{d:"M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374zM240.9 393.9L512 196.7l271.1 197.2H240.9z",fill:e}}]}},name:"bank",theme:"twotone"},eQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eX}))}),eJ=c(80680),e1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120 160H72c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zm833 0h-48c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zM200 736h112c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8H200c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm321 0h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm126 0h178c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8H647c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm-255 0h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm-79 64H201c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm257 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm256 0H648c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h178c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-385 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"barcode",theme:"outlined"},e4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:e1}))}),e2=c(73324),e3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M420.3 470.3c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1a50.5 50.5 0 0017.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm86.5 286.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7z"}}]},name:"behance-circle",theme:"filled"},e8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:e3}))}),e6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M634 294.3h199.5v48.4H634zM434.1 485.8c44.1-21.1 67.2-53.2 67.2-102.8 0-98.1-73-121.9-157.3-121.9H112v492.4h238.5c89.4 0 173.3-43 173.3-143 0-61.8-29.2-107.5-89.7-124.7zM220.2 345.1h101.5c39.1 0 74.2 10.9 74.2 56.3 0 41.8-27.3 58.6-66 58.6H220.2V345.1zm115.5 324.8H220.1V534.3H338c47.6 0 77.7 19.9 77.7 70.3 0 49.6-35.9 65.3-80 65.3zm575.8-89.5c0-105.5-61.7-193.4-173.3-193.4-108.5 0-182.3 81.7-182.3 188.8 0 111 69.9 187.2 182.3 187.2 85.1 0 140.2-38.3 166.7-120h-86.3c-9.4 30.5-47.6 46.5-77.3 46.5-57.4 0-87.4-33.6-87.4-90.7h256.9c.3-5.9.7-12.1.7-18.4zM653.9 537c3.1-46.9 34.4-76.2 81.2-76.2 49.2 0 73.8 28.9 78.1 76.2H653.9z"}}]},name:"behance",theme:"outlined"},e0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:e6}))}),e5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM598.5 350.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7zm-248.5-10.1c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1s12.7-3.8 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8z"}}]},name:"behance-square",theme:"filled"},e7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:e5}))}),e9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM598.5 350.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7zm-248.5-10.1c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1s12.7-3.8 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8z"}}]},name:"behance-square",theme:"outlined"},te=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:e9}))}),tt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.8-240-277.2V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.8C336.3 170.2 232 286.9 232 428v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48z"}}]},name:"bell",theme:"filled"},tc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tt}))}),tn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},ta=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tn}))}),tr={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 220c-55.6 0-107.8 21.6-147.1 60.9S304 372.4 304 428v340h416V428c0-55.6-21.6-107.8-60.9-147.1S567.6 220 512 220zm280 208c0-141.1-104.3-257.8-240-277.2v.1c135.7 19.4 240 136 240 277.1zM472 150.9v-.1C336.3 170.2 232 286.9 232 428c0-141.1 104.3-257.7 240-277.1z",fill:t}},{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zm208-120H304V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340z",fill:e}}]}},name:"bell",theme:"twotone"},tl=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tr}))}),to={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M766.4 744.3c43.7 0 79.4-36.2 79.4-80.5 0-53.5-79.4-140.8-79.4-140.8S687 610.3 687 663.8c0 44.3 35.7 80.5 79.4 80.5zm-377.1-44.1c7.1 7.1 18.6 7.1 25.6 0l256.1-256c7.1-7.1 7.1-18.6 0-25.6l-256-256c-.6-.6-1.3-1.2-2-1.7l-78.2-78.2a9.11 9.11 0 00-12.8 0l-48 48a9.11 9.11 0 000 12.8l67.2 67.2-207.8 207.9c-7.1 7.1-7.1 18.6 0 25.6l255.9 256zm12.9-448.6l178.9 178.9H223.4l178.8-178.9zM904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z"}}]},name:"bg-colors",theme:"outlined"},ti=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:to}))}),tu={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M310.13 596.45c-8-4.46-16.5-8.43-25-11.9a273.55 273.55 0 00-26.99-7.44c-2.5-.99-2.5 1-2.5 1.49 0 7.93.5 18.84 1.5 27.77 1 7.44 2 15.37 4 22.8 0 .5 0 1 .5 1.5 1 .99 2 1.48 3 .49 8-4.46 16-8.43 23-13.39 7.5-5.45 15.5-11.9 22-18.35 1.5-1.48 0-2.47.5-2.97m323.95-11.9a273.55 273.55 0 00-27-7.44c-2.5-.99-2.5 1-2.5 1.49 0 7.93.5 18.84 1.5 27.77 1 7.43 2 15.37 4 22.8 0 .5 0 1 .5 1.5 1 .99 2 1.48 3 .49 8-4.46 16-8.43 23-13.39 7.5-5.45 15.5-11.9 22-18.35 2-1.48.5-2.47.5-2.97-7.5-4.46-16.5-8.43-25-11.9"}},{tag:"path",attrs:{d:"M741.5 112H283c-94.5 0-171 76.5-171 171.5v458c.5 94 77 170.5 171 170.5h458c94.5 0 171-76.5 171-170.5v-458c.5-95-76-171.5-170.5-171.5m95 343.5H852v48h-15.5zM741 454l2 43-13.5 1.5-5-44.5zm-23.5 0l4 45.5L707 501l-6.5-47.5h17zM487 455.5h15v48h-15zm-96-1.5l2 43-13.5 1.5-5-44.5zm-23.5 0l4 45.5-14.5 2-6-47.5zM364 603c-20.5 65.5-148 59.5-159.5 57.5-9-161.5-23-196.5-34.5-275.5l54.5-22.5c1 71.5 9 185 9 185s108.5-15.5 132 47c.5 3 0 6-1.5 8.5m20.5 35.5l-23.5-124h35.5l13 123zm44.5-8l-27-235 33.5-1.5 21 236H429zm34-175h17.5v48H467zm41 190h-26.5l-9.5-126h36zm210-43C693.5 668 566 662 554.5 660c-9-161-23-196-34.5-275l54.5-22.5c1 71.5 9 185 9 185S692 532 715.5 594c.5 3 0 6-1.5 8.5m19.5 36l-23-124H746l13 123zm45.5-8l-27.5-235L785 394l21 236h-27zm33.5-175H830v48h-13zm41 190H827l-9.5-126h36z"}}]},name:"bilibili",theme:"filled"},ts=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tu}))}),tf={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M235.52 616.57c16.73-.74 32.28-1.77 47.69-2.07 66.8-1.18 132.4 6.81 194.76 32 30.5 12.3 59.98 26.52 86.5 46.51 21.76 16.45 26.5 36.9 16.58 67.11-6.22 18.67-18.66 32.74-34.36 45.04-37.03 28.88-75.83 54.96-120.41 69.62A595.87 595.87 0 01330 898.04c-42.8 6.67-86.2 9.63-129.45 13.63-8.88.89-17.92-.3-26.8-.3-4.6 0-5.78-2.37-5.93-6.37-1.18-19.7-2.07-39.55-3.85-59.25a2609.47 2609.47 0 00-7.7-76.3c-4-35.4-8.44-70.66-12.89-105.92-4.59-37.18-9.33-74.21-13.77-111.4-4.44-36.3-8.44-72.73-13.18-109.03-5.34-41.48-11.26-82.96-16.89-124.44-6.66-49.03-15.85-97.62-28.43-145.47-.6-2.07 1.18-6.67 2.96-7.26 41.91-16.89 83.98-33.33 125.89-50.07 13.92-5.63 15.1-7.26 15.25 10.37.15 75.1.45 150.21 1.63 225.32.6 39.11 2.08 78.22 4.74 117.18 3.26 47.55 8.3 95.1 12.6 142.66 0 2.07.88 4 1.33 5.19m83.68 218.06a74372.3 74372.3 0 00114.78-86.96c-4.74-6.82-109.3-47.85-133.89-53.33 6.22 46.37 12.59 92.59 19.1 140.29m434.13-14.39c-19.94-202.14-36.78-406.5-75.32-609.67 12.55-1.48 25.1-3.25 37.8-4.3 14.63-1.32 29.4-1.92 44.01-3.1 12.26-1.04 16.84 2.22 17.58 14.22 2.21 32.13 4.13 64.26 6.35 96.4 2.95 43.39 6.05 86.92 9.15 130.31 2.22 31.25 4.14 62.64 6.65 93.89 2.8 34.2 5.9 68.27 9 102.47 2.22 25.18 4.3 50.5 6.8 75.68 2.66 27.24 5.61 54.49 8.42 81.74.74 7.85 1.62 15.7 2.21 23.54.3 4.3-2.06 4.89-6.05 4.45-21.7-2.23-43.42-3.85-66.6-5.63M572 527.15c17.62-2.51 34.64-5.32 51.66-7.25 12.29-1.48 24.72-1.63 37.01-2.81 6.66-.6 10.95 1.77 11.99 8.29 2.81 17.32 5.77 34.79 7.85 52.26 3.4 29.02 6.07 58.18 9.17 87.2 2.67 25.46 5.33 50.78 8.3 76.24 3.25 27.24 6.8 54.33 10.2 81.42 1.04 8 1.78 16.14 2.82 24.88a9507.1 9507.1 0 00-74.76 9.62C614.93 747.15 593.61 638.19 572 527.15m382 338.83c-24.08 0-47.28.14-70.47-.3-1.93 0-5.35-3.4-5.5-5.48-3.57-37.05-6.69-73.96-9.96-111l-9.37-103.16c-3.27-35.42-6.39-70.84-9.66-106.26-.15-2.07-.6-4-1.04-7.11 8.62-1.04 16.8-2.67 25.12-2.67 22.45 0 44.9.6 67.5 1.19 5.8.14 8.32 4 8.62 9.33.75 11.12 1.79 22.08 1.79 33.2.14 52.17-.15 104.48.3 156.65.44 41.65 1.78 83.44 2.67 125.08zM622.07 480c-5.3-42.57-10.62-84.1-16.07-127.4 13.86-.16 27.71-.6 41.42-.6 4.57 0 6.64 2.51 7.08 7.54 3.69 38.72 7.52 77.45 11.5 117.65-14.3.74-29.04 1.78-43.93 2.81M901 364.07c11.94 0 24.62-.15 37.45 0 6.42.14 9.55 2.67 9.55 10.24-.45 36.22-.15 72.45-.15 108.53V491c-15.37-.74-30.14-1.49-46.7-2.23-.15-41.12-.15-82.4-.15-124.7M568.57 489c-7.43-41.2-15-82.1-22.57-124.02 13.51-2.07 27.02-4.29 40.39-5.9 5.94-.75 4.9 4.42 5.2 7.67 1.63 13.88 2.81 27.6 4.3 41.49 2.37 21.7 4.75 43.4 6.98 64.96.3 2.8 0 5.76 0 8.86-11.29 2.36-22.57 4.58-34.3 6.94M839 365.16c12.72 0 25.43.15 38-.15 5.69-.15 7.78 1.04 7.63 7.56-.44 17.36.15 34.7.3 52.2.15 21.51 0 43.17 0 64.52-12.86 1.34-24.09 2.37-36.2 3.71-3.15-41.97-6.44-83.8-9.73-127.84"}}]},name:"bilibili",theme:"outlined"},th=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tf}))}),td={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M856 376H648V168c0-8.8-7.2-16-16-16H168c-8.8 0-16 7.2-16 16v464c0 8.8 7.2 16 16 16h208v208c0 8.8 7.2 16 16 16h464c8.8 0 16-7.2 16-16V392c0-8.8-7.2-16-16-16zm-480 16v188H220V220h360v156H392c-8.8 0-16 7.2-16 16zm204 52v136H444V444h136zm224 360H444V648h188c8.8 0 16-7.2 16-16V444h156v360z"}}]},name:"block",theme:"outlined"},tv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:td}))}),tm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M697.8 481.4c33.6-35 54.2-82.3 54.2-134.3v-10.2C752 229.3 663.9 142 555.3 142H259.4c-15.1 0-27.4 12.3-27.4 27.4v679.1c0 16.3 13.2 29.5 29.5 29.5h318.7c117 0 211.8-94.2 211.8-210.5v-11c0-73-37.4-137.3-94.2-175.1zM328 238h224.7c57.1 0 103.3 44.4 103.3 99.3v9.5c0 54.8-46.3 99.3-103.3 99.3H328V238zm366.6 429.4c0 62.9-51.7 113.9-115.5 113.9H328V542.7h251.1c63.8 0 115.5 51 115.5 113.9v10.8z"}}]},name:"bold",theme:"outlined"},tg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tm}))}),tz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM668 345.9L621.5 312 572 347.4V124h96v221.9z"}}]},name:"book",theme:"filled"},tp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tz}))}),tw=c(32594),tM={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zM232 888V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752H232z",fill:e}},{tag:"path",attrs:{d:"M668 345.9V136h-96v211.4l49.5-35.4z",fill:t}},{tag:"path",attrs:{d:"M727.9 136v296.5c0 8.8-7.2 16-16 16-3.4 0-6.7-1.1-9.4-3.1L621.1 386l-83.8 59.9a15.9 15.9 0 01-22.3-3.7c-2-2.7-3-6-3-9.3V136H232v752h559.9V136h-64z",fill:t}}]}},name:"book",theme:"twotone"},tZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tM}))}),tH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 808H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-720-94h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-498h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm166 166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm222-72h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388 426h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"border-bottom",theme:"outlined"},tb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tH}))}),tV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M540 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm664 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-horizontal",theme:"outlined"},tC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tV}))}),tx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 476H548V144h-72v332H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v332h72V548h324c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-664h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM650 216h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-592h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-166 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-426h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 260h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-inner",theme:"outlined"},tE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tx}))}),tL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M208 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM540 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-left",theme:"outlined"},tR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tL}))}),ty={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM484 366h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM302 548h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm364 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-182 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 182h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"border-outer",theme:"outlined"},tB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ty}))}),tS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"border",theme:"outlined"},tO=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tS}))}),tk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-right",theme:"outlined"},t$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tk}))}),tT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 144H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332-498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-top",theme:"outlined"},tF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tT}))}),tI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 476H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-664h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM650 216h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-592h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-166 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM208 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM152 382h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM208 642h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-verticle",theme:"outlined"},tA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tI}))}),tD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M117 368h231v64H117zm559 0h241v64H676zm-264 0h200v64H412zm0 224h200v64H412zm264 0h241v64H676zm-559 0h231v64H117zm295-160V179h-64v666h64V592zm264-64V179h-64v666h64V432z"}}]},name:"borderless-table",theme:"outlined"},tP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tD}))}),tN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H448v432h344c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-728 80v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h152V296H232c-4.4 0-8 3.6-8 8z"}}]},name:"box-plot",theme:"filled"},tq=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tN}))}),tj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H232c-4.4 0-8 3.6-8 8v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h560c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zM296 368h88v288h-88V368zm432 288H448V368h280v288z"}}]},name:"box-plot",theme:"outlined"},tW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tj}))}),tY={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 368h88v288h-88zm152 0h280v288H448z",fill:t}},{tag:"path",attrs:{d:"M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H232c-4.4 0-8 3.6-8 8v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h560c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zM384 656h-88V368h88v288zm344 0H448V368h280v288z",fill:e}}]}},name:"box-plot",theme:"twotone"},t_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tY}))}),tK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"branches",theme:"outlined"},tU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tK}))}),tG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 280h416c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5 28.9 16.9 61 28.8 95.3 34.5 4.4 0 8-3.6 8-8V484c0-4.4 3.6-8 8-8h60c4.4 0 8 3.6 8 8v464.2c0 4.4 3.6 8 8 8 34.3-5.7 66.4-17.6 95.3-34.5a281.38 281.38 0 00123.2-149.5A120.4 120.4 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"bug",theme:"filled"},tX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tG}))}),tQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 280h56c4.4 0 8-3.6 8-8 0-28.3 5.9-53.2 17.1-73.5 10.6-19.4 26-34.8 45.4-45.4C450.9 142 475.7 136 504 136h16c28.3 0 53.2 5.9 73.5 17.1 19.4 10.6 34.8 26 45.4 45.4C650 218.9 656 243.7 656 272c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5S460.5 960 512 960s99.8-13.9 141.3-38.2a281.38 281.38 0 00123.2-149.5A120 120 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM716 680c0 36.8-9.7 72-27.8 102.9-17.7 30.3-43 55.6-73.3 73.3C584 874.3 548.8 884 512 884s-72-9.7-102.9-27.8c-30.3-17.7-55.6-43-73.3-73.3A202.75 202.75 0 01308 680V412h408v268z"}}]},name:"bug",theme:"outlined"},tJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tQ}))}),t1={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308zm484 172v96c0 6.5-.22 12.95-.66 19.35C859.94 728.64 908 796.7 908 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-44.24-23.94-82.89-59.57-103.7a278.63 278.63 0 01-22.66 49.02 281.39 281.39 0 01-100.45 100.45C611.84 946.07 563.55 960 512 960s-99.84-13.93-141.32-38.23a281.39 281.39 0 01-100.45-100.45 278.63 278.63 0 01-22.66-49.02A119.95 119.95 0 00188 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-79.3 48.07-147.36 116.66-176.65A284.12 284.12 0 01232 680v-96H84a8 8 0 01-8-8v-56a8 8 0 018-8h148V412c-76.77 0-139-62.23-139-139a8 8 0 018-8h60a8 8 0 018 8 63 63 0 0063 63h560a63 63 0 0063-63 8 8 0 018-8h60a8 8 0 018 8c0 76.77-62.23 139-139 139v100h148a8 8 0 018 8v56a8 8 0 01-8 8H792zM368 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-40.04 8.78-76.75 25.9-108.07a184.57 184.57 0 0174.03-74.03C427.25 72.78 463.96 64 504 64h16c40.04 0 76.75 8.78 108.07 25.9a184.57 184.57 0 0174.03 74.03C719.22 195.25 728 231.96 728 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-28.33-5.94-53.15-17.08-73.53a112.56 112.56 0 00-45.39-45.4C573.15 141.95 548.33 136 520 136h-16c-28.33 0-53.15 5.94-73.53 17.08a112.56 112.56 0 00-45.4 45.39C373.95 218.85 368 243.67 368 272z",fill:e}},{tag:"path",attrs:{d:"M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308z",fill:t}}]}},name:"bug",theme:"twotone"},t4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:t1}))}),t2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zM612 746H412V546h200v200zm268-268H680V278h200v200z"}}]},name:"build",theme:"filled"},t3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:t2}))}),t8=c(94918),t6={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M144 546h200v200H144zm268-268h200v200H412z",fill:t}},{tag:"path",attrs:{d:"M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zM344 746H144V546h200v200zm268 0H412V546h200v200zm0-268H412V278h200v200zm268 0H680V278h200v200z",fill:e}}]}},name:"build",theme:"twotone"},t0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:t6}))}),t5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M348 676.1C250 619.4 184 513.4 184 392c0-181.1 146.9-328 328-328s328 146.9 328 328c0 121.4-66 227.4-164 284.1V792c0 17.7-14.3 32-32 32H380c-17.7 0-32-14.3-32-32V676.1zM392 888h240c4.4 0 8 3.6 8 8v32c0 17.7-14.3 32-32 32H416c-17.7 0-32-14.3-32-32v-32c0-4.4 3.6-8 8-8z"}}]},name:"bulb",theme:"filled"},t7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:t5}))}),t9=c(27920),ce={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 136c-141.4 0-256 114.6-256 256 0 92.5 49.4 176.3 128.1 221.8l35.9 20.8V752h184V634.6l35.9-20.8C718.6 568.3 768 484.5 768 392c0-141.4-114.6-256-256-256z",fill:t}},{tag:"path",attrs:{d:"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z",fill:e}}]}},name:"bulb",theme:"twotone"},ct=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ce}))}),cc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM440.2 765h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 01-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zm7.8-382c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48zm328 369c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-104c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-265c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48z"}}]},name:"calculator",theme:"filled"},cn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cc}))}),ca={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 0h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm-195.7-81l61.2-74.9c4.3-5.2.7-13.1-5.9-13.1H388c-2.3 0-4.5 1-5.9 2.9l-34 41.6-34-41.6a7.85 7.85 0 00-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.5-1 5.9-2.9l35.5-43.5 35.5 43.5c1.5 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 5.9-13.1L383.5 675zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-36 732H180V180h664v664z"}}]},name:"calculator",theme:"outlined"},cr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ca}))}),cl={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm256.2-75h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 01-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zM576 335c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zm0 265c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zm0 104c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zM248 335c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48z",fill:t}},{tag:"path",attrs:{d:"M383.5 675l61.3-74.8c4.3-5.2.7-13.1-5.9-13.1h-50.8c-2.3 0-4.4 1-5.9 2.9l-34 41.6-34-41.6a7.69 7.69 0 00-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.4-1 5.9-2.9l35.5-43.5 35.5 43.5c1.4 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 6-13.2L383.5 675zM251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 369h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0-104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0-265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4z",fill:e}}]}},name:"calculator",theme:"twotone"},co=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cl}))}),ci={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M112 880c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V460H112v420zm768-696H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v176h800V216c0-17.7-14.3-32-32-32z"}}]},name:"calendar",theme:"filled"},cu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ci}))}),cs=c(29516),cf={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v136h656V256H712v48z",fill:t}},{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zm0-448H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136z",fill:e}}]}},name:"calendar",theme:"twotone"},ch=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cf}))}),cd={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 260H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 260H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V340c0-44.2-35.8-80-80-80zM512 716c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160zm-96-160a96 96 0 10192 0 96 96 0 10-192 0z"}}]},name:"camera",theme:"filled"},cv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cd}))}),cm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z"}}]},name:"camera",theme:"outlined"},cg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cm}))}),cz={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 320H677.2l-17.1-47.8-22.9-64.2H386.7l-22.9 64.2-17.1 47.8H160c-4.4 0-8 3.6-8 8v456c0 4.4 3.6 8 8 8h704c4.4 0 8-3.6 8-8V328c0-4.4-3.6-8-8-8zM512 704c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160z",fill:t}},{tag:"path",attrs:{d:"M512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z",fill:e}},{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456z",fill:e}}]}},name:"camera",theme:"twotone"},cp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cz}))}),cw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M959 413.4L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM264 621c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm388 75c0 4.4-3.6 8-8 8H380c-4.4 0-8-3.6-8-8v-84c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v36h168v-36c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v84zm108-75c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM220 418l72.7-199.9.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220z"}}]},name:"car",theme:"filled"},cM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cw}))}),cZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M380 704h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8zm340-123a40 40 0 1080 0 40 40 0 10-80 0zm239-167.6L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM840 517v237H184V517l15.6-43h624.8l15.6 43zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM224 581a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"car",theme:"outlined"},cH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cZ}))}),cb={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M199.6 474L184 517v237h656V517l-15.6-43H199.6zM264 621c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm388 75c0 4.4-3.6 8-8 8H380c-4.4 0-8-3.6-8-8v-84c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v36h168v-36c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v84zm108-75c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z",fill:t}},{tag:"path",attrs:{d:"M720 581a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}},{tag:"path",attrs:{d:"M959 413.4L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM840 754H184V517l15.6-43h624.8l15.6 43v237z",fill:e}},{tag:"path",attrs:{d:"M224 581a40 40 0 1080 0 40 40 0 10-80 0zm420 23h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"car",theme:"twotone"},cV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cb}))}),cC=c(3827),cx=c(31016),cE={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z"}}]},name:"caret-left",theme:"filled"},cL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cE}))}),cR=c(60943),cy={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"filled"},cB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cy}))}),cS=c(47271),cO={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"filled"},ck=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cO}))}),c$=c(40496),cT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM694.5 432.7L481.9 725.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z"}}]},name:"carry-out",theme:"filled"},cF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cT}))}),cI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z"}}]},name:"carry-out",theme:"outlined"},cA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cI}))}),cD={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z",fill:e}},{tag:"path",attrs:{d:"M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-17.5 128.8L481.9 725.5a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.9-6.6 13-6.6H688c6.5 0 10.3 7.4 6.5 12.8z",fill:t}},{tag:"path",attrs:{d:"M688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z",fill:e}}]}},name:"carry-out",theme:"twotone"},cP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cD}))}),cN=c(16147),cq=c(25951),cj={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.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.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z",fill:t}},{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z",fill:e}}]}},name:"check-circle",theme:"twotone"},cW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cj}))}),cY=c(69274),c_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM695.5 365.7l-210.6 292a31.8 31.8 0 01-51.7 0L308.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.3H689c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-square",theme:"filled"},cK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:c_}))}),cU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"check-square",theme:"outlined"},cG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cU}))}),cX={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm130-367.8h46.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.3H688c6.5 0 10.3 7.4 6.5 12.7l-210.6 292a31.8 31.8 0 01-51.7 0L307.5 484.9c-3.8-5.3 0-12.7 6.5-12.7z",fill:t}},{tag:"path",attrs:{d:"M432.2 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7h-46.9c-10.3 0-19.9 5-25.9 13.3L458 584.3l-71.2-98.8c-6-8.4-15.7-13.3-25.9-13.3H314c-6.5 0-10.3 7.4-6.5 12.7l124.7 172.8z",fill:e}}]}},name:"check-square",theme:"twotone"},cQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cX}))}),cJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M371.8 512c0 77.5 62.7 140.2 140.2 140.2S652.2 589.5 652.2 512 589.5 371.8 512 371.8 371.8 434.4 371.8 512zM900 362.4l-234.3 12.1c63.6 74.3 64.6 181.5 11.1 263.7l-188 289.2c78 4.2 158.4-12.9 231.2-55.2 180-104 253-322.1 180-509.8zM320.3 591.9L163.8 284.1A415.35 415.35 0 0096 512c0 208 152.3 380.3 351.4 410.8l106.9-209.4c-96.6 18.2-189.9-34.8-234-121.5zm218.5-285.5l344.4 18.1C848 254.7 792.6 194 719.8 151.7 653.9 113.6 581.5 95.5 510.5 96c-122.5.5-242.2 55.2-322.1 154.5l128.2 196.9c32-91.9 124.8-146.7 222.2-141z"}}]},name:"chrome",theme:"filled"},c1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cJ}))}),c4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 512.3v-.3c0-229.8-186.2-416-416-416S96 282.2 96 512v.4c0 229.8 186.2 416 416 416s416-186.2 416-416v-.3.2zm-6.7-74.6l.6 3.3-.6-3.3zM676.7 638.2c53.5-82.2 52.5-189.4-11.1-263.7l162.4-8.4c20.5 44.4 32 93.8 32 145.9 0 185.2-144.6 336.6-327.1 347.4l143.8-221.2zM512 652.3c-77.5 0-140.2-62.7-140.2-140.2 0-77.7 62.7-140.2 140.2-140.2S652.2 434.5 652.2 512 589.5 652.3 512 652.3zm369.2-331.7l-3-5.7 3 5.7zM512 164c121.3 0 228.2 62.1 290.4 156.2l-263.6-13.9c-97.5-5.7-190.2 49.2-222.3 141.1L227.8 311c63.1-88.9 166.9-147 284.2-147zM102.5 585.8c26 145 127.1 264 261.6 315.1C229.6 850 128.5 731 102.5 585.8zM164 512c0-55.9 13.2-108.7 36.6-155.5l119.7 235.4c44.1 86.7 137.4 139.7 234 121.6l-74 145.1C302.9 842.5 164 693.5 164 512zm324.7 415.4c4 .2 8 .4 12 .5-4-.2-8-.3-12-.5z"}}]},name:"chrome",theme:"outlined"},c2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:c4}))}),c3={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-63.6 656c-103 0-162.4-68.6-162.4-182.6v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-4-46.1-37.6-77.6-87-77.6-61.1 0-95.6 45.4-95.6 126.9v49.3c0 80.3 34.5 125.1 95.6 125.1 49.3 0 82.8-29.5 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z"}}]},name:"ci-circle",theme:"filled"},c8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:c3}))}),c6={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm218-572.1h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z"}}]},name:"ci-circle",theme:"outlined"},c0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:c6}))}),c5={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-63.5 522.8c49.3 0 82.8-29.4 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5C345.4 720 286 651.4 286 537.4v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-3.9-46.1-37.5-77.6-87-77.6-61.1 0-95.6 45.4-95.7 126.8v49.3c0 80.3 34.5 125.2 95.6 125.2zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z",fill:t}},{tag:"path",attrs:{d:"M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z",fill:e}}]}},name:"ci-circle",theme:"twotone"},c7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:c5}))}),c9={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm218-572.1h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z"}}]},name:"ci",theme:"outlined"},ne=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:c9}))}),nt={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-63.5 522.8c49.3 0 82.8-29.4 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5C345.4 720 286 651.4 286 537.4v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-3.9-46.1-37.5-77.6-87-77.6-61.1 0-95.6 45.4-95.7 126.8v49.3c0 80.3 34.5 125.2 95.6 125.2zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z",fill:t}},{tag:"path",attrs:{d:"M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z",fill:e}}]}},name:"ci",theme:"twotone"},nc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nt}))}),nn=c(67620),na={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 64zm176.5 585.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z"}}]},name:"clock-circle",theme:"filled"},nr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:na}))}),nl=c(39811),no={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm176.5 509.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z",fill:t}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.6-3.6 1.8-8.6-1.8-11.1z",fill:e}}]}},name:"clock-circle",theme:"twotone"},ni=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:no}))}),nu=c(86298),ns=c(65242),nf={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 01-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z",fill:t}},{tag:"path",attrs:{d:"M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155-130.1 154.9a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z",fill:e}}]}},name:"close-circle",theme:"twotone"},nh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nf}))}),nd=c(84223),nv={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c17.7 0 32 14.3 32 32v736c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32zM639.98 338.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-square",theme:"filled"},nm=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nv}))}),ng={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c17.7 0 32 14.3 32 32v736c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32zm-40 72H184v656h656V184zM640.01 338.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-square",theme:"outlined"},nz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ng}))}),np={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm163.9-473.9A7.95 7.95 0 01354 353h58.9c4.7 0 9.2 2.1 12.3 5.7L512 462.2l86.8-103.5c3-3.6 7.5-5.7 12.3-5.7H670c6.8 0 10.5 7.9 6.1 13.1L553.8 512l122.3 145.9c4.4 5.2.7 13.1-6.1 13.1h-58.9c-4.7 0-9.2-2.1-12.3-5.7L512 561.8l-86.8 103.5c-3 3.6-7.5 5.7-12.3 5.7H354c-6.8 0-10.5-7.9-6.1-13.1L470.2 512 347.9 366.1z",fill:t}},{tag:"path",attrs:{d:"M354 671h58.9c4.8 0 9.3-2.1 12.3-5.7L512 561.8l86.8 103.5c3.1 3.6 7.6 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.3-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.8 0-9.3 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3.1-3.6-7.6-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z",fill:e}}]}},name:"close-square",theme:"twotone"},nw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:np}))}),nM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-download",theme:"outlined"},nZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nM}))}),nH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud",theme:"filled"},nb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nH}))}),nV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z"}}]},name:"cloud",theme:"outlined"},nC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nV}))}),nx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z"}},{tag:"path",attrs:{d:"M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z"}},{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}}]},name:"cloud-server",theme:"outlined"},nE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nx}))}),nL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}},{tag:"path",attrs:{d:"M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z"}}]},name:"cloud-sync",theme:"outlined"},nR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nL}))}),ny={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M791.9 492l-37.8-10-13.8-36.5c-8.6-22.7-20.6-44.1-35.7-63.4a245.73 245.73 0 00-52.4-49.9c-41.1-28.9-89.5-44.2-140-44.2s-98.9 15.3-140 44.2a245.6 245.6 0 00-52.4 49.9 240.47 240.47 0 00-35.7 63.4l-13.9 36.6-37.9 9.9a125.7 125.7 0 00-66.1 43.7A123.1 123.1 0 00140 612c0 33.1 12.9 64.3 36.3 87.7 23.4 23.4 54.5 36.3 87.6 36.3h496.2c33.1 0 64.2-12.9 87.6-36.3A123.3 123.3 0 00884 612c0-56.2-37.8-105.5-92.1-120z",fill:t}},{tag:"path",attrs:{d:"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z",fill:e}}]}},name:"cloud",theme:"twotone"},nB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ny}))}),nS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-upload",theme:"outlined"},nO=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nS}))}),nk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 680h-54V540H546v-92h238c8.8 0 16-7.2 16-16V168c0-8.8-7.2-16-16-16H240c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h238v92H190v140h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8h-54v-72h220v72h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8h-54v-72h220v72h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8zM256 805.3c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zm288 0c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zM288 384V216h448v168H288zm544 421.3c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zM360 300a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"cluster",theme:"outlined"},n$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nk}))}),nT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM513.1 518.1l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 01-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3zM716 673c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8h185c4.1 0 7.5 3.6 7.5 8v48z"}}]},name:"code",theme:"filled"},nF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nT}))}),nI=c(15484),nA={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 64zm243.7 589.2L512 794 268.3 653.2V371.8l110-63.6-.4-.2h.2L512 231l134 77h-.2l-.3.2 110.1 63.6v281.4zM307.9 536.7l87.6 49.9V681l96.7 55.9V524.8L307.9 418.4zm203.9-151.8L418 331l-91.1 52.6 185.2 107 185.2-106.9-91.4-52.8zm20 352l97.3-56.2v-94.1l87-49.5V418.5L531.8 525z"}}]},name:"code-sandbox-circle",theme:"filled"},nD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nA}))}),nP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M709.6 210l.4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6L339.6 761V621.4L210 547.8V372.9l272.7 157.3v313.4zM238.2 321.5l134.7-77.8 138.9 79.7 139.1-79.9 135.2 78-273.9 158-274-158zM814 548.3l-128.8 73.1v139.1l-143.9 83V530.4L814 373.1v175.2z"}}]},name:"code-sandbox",theme:"outlined"},nN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nP}))}),nq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M307.9 536.7l87.6 49.9V681l96.7 55.9V524.8L307.9 418.4zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM755.7 653.2L512 794 268.3 653.2V371.8l110-63.6-.4-.2h.2L512 231l134 77h-.2l-.3.2 110.1 63.6v281.4zm-223.9 83.7l97.3-56.2v-94.1l87-49.5V418.5L531.8 525zm-20-352L418 331l-91.1 52.6 185.2 107 185.2-106.9-91.4-52.8z"}}]},name:"code-sandbox-square",theme:"filled"},nj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nq}))}),nW={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm339.5-223h185c4.1 0 7.5 3.6 7.5 8v48c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8zM308 610.3c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 01-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7z",fill:t}},{tag:"path",attrs:{d:"M321.1 679.1l192-161c3.9-3.2 3.9-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48z",fill:e}}]}},name:"code",theme:"twotone"},nY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nW}))}),n_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-254.1 13.3v111.3L723.1 597l-83.6-55.8zM281.8 472.6v79.8l59.8-39.9zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zM723.1 428L535.9 303.4v111.3l103.6 69.1zM384.5 541.2L300.9 597l187.2 124.6V610.3l-103.6-69.1z"}}]},name:"codepen-circle",theme:"filled"},nK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:n_}))}),nU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-254.1 13.3v111.3L723.1 597l-83.6-55.8zM281.8 472.6v79.8l59.8-39.9zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zM723.1 428L535.9 303.4v111.3l103.6 69.1zM384.5 541.2L300.9 597l187.2 124.6V610.3l-103.6-69.1z"}}]},name:"codepen-circle",theme:"outlined"},nG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nU}))}),nX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M911.7 385.3l-.3-1.5c-.2-1-.3-1.9-.6-2.9-.2-.6-.4-1.1-.5-1.7-.3-.8-.5-1.7-.9-2.5-.2-.6-.5-1.1-.8-1.7-.4-.8-.8-1.5-1.2-2.3-.3-.5-.6-1.1-1-1.6-.8-1.2-1.7-2.4-2.6-3.6-.5-.6-1.1-1.3-1.7-1.9-.4-.5-.9-.9-1.4-1.3-.6-.6-1.3-1.1-1.9-1.6-.5-.4-1-.8-1.6-1.2-.2-.1-.4-.3-.6-.4L531.1 117.8a34.3 34.3 0 00-38.1 0L127.3 361.3c-.2.1-.4.3-.6.4-.5.4-1 .8-1.6 1.2-.7.5-1.3 1.1-1.9 1.6-.5.4-.9.9-1.4 1.3-.6.6-1.2 1.2-1.7 1.9-1 1.1-1.8 2.3-2.6 3.6-.3.5-.7 1-1 1.6-.4.7-.8 1.5-1.2 2.3-.3.5-.5 1.1-.8 1.7-.3.8-.6 1.7-.9 2.5-.2.6-.4 1.1-.5 1.7-.2.9-.4 1.9-.6 2.9l-.3 1.5c-.2 1.5-.3 3-.3 4.5v243.5c0 1.5.1 3 .3 4.5l.3 1.5.6 2.9c.2.6.3 1.1.5 1.7.3.9.6 1.7.9 2.5.2.6.5 1.1.8 1.7.4.8.7 1.5 1.2 2.3.3.5.6 1.1 1 1.6.5.7.9 1.4 1.5 2.1l1.2 1.5c.5.6 1.1 1.3 1.7 1.9.4.5.9.9 1.4 1.3.6.6 1.3 1.1 1.9 1.6.5.4 1 .8 1.6 1.2.2.1.4.3.6.4L493 905.7c5.6 3.8 12.3 5.8 19.1 5.8 6.6 0 13.3-1.9 19.1-5.8l365.6-243.5c.2-.1.4-.3.6-.4.5-.4 1-.8 1.6-1.2.7-.5 1.3-1.1 1.9-1.6.5-.4.9-.9 1.4-1.3.6-.6 1.2-1.2 1.7-1.9l1.2-1.5 1.5-2.1c.3-.5.7-1 1-1.6.4-.8.8-1.5 1.2-2.3.3-.5.5-1.1.8-1.7.3-.8.6-1.7.9-2.5.2-.5.4-1.1.5-1.7.3-.9.4-1.9.6-2.9l.3-1.5c.2-1.5.3-3 .3-4.5V389.8c-.3-1.5-.4-3-.6-4.5zM546.4 210.5l269.4 179.4-120.3 80.4-149-99.6V210.5zm-68.8 0v160.2l-149 99.6-120.3-80.4 269.3-179.4zM180.7 454.1l86 57.5-86 57.5v-115zm296.9 358.5L208.3 633.2l120.3-80.4 149 99.6v160.2zM512 592.8l-121.6-81.2L512 430.3l121.6 81.2L512 592.8zm34.4 219.8V652.4l149-99.6 120.3 80.4-269.3 179.4zM843.3 569l-86-57.5 86-57.5v115z"}}]},name:"codepen",theme:"outlined"},nQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nX}))}),nJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723.1 428L535.9 303.4v111.3l103.6 69.1zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zm23.9 154.2v111.3L723.1 597l-83.6-55.8zm-151.4-69.1L300.9 597l187.2 124.6V610.3l-103.6-69.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-90 485c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-47.8-44.6v-79.8l-59.8 39.9zm-460.4-79.8v79.8l59.8-39.9zm206.3-57.9V303.4L300.9 428l83.6 55.8z"}}]},name:"codepen-square",theme:"filled"},n1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nJ}))}),n4={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M275 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm613 144H768c0-39.8-32.2-72-72-72H200c-39.8 0-72 32.2-72 72v248c0 3.4.2 6.7.7 9.9-.5 7-.7 14-.7 21.1 0 176.7 143.3 320 320 320 160.1 0 292.7-117.5 316.3-271H888c39.8 0 72-32.2 72-72V497c0-39.8-32.2-72-72-72zM696 681h-1.1c.7 7.6 1.1 15.2 1.1 23 0 137-111 248-248 248S200 841 200 704c0-7.8.4-15.4 1.1-23H200V425h496v256zm192-8H776V497h112v176zM613 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm-170 0c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36z"}}]},name:"coffee",theme:"outlined"},n2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:n4}))}),n3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z"}}]},name:"column-height",theme:"outlined"},n8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:n3}))}),n6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M180 176h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zm724 0h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zM785.3 504.3L657.7 403.6a7.23 7.23 0 00-11.7 5.7V476H378v-62.8c0-6-7-9.4-11.7-5.7L238.7 508.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h268v62.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.8-2.9 3.8-8.5.2-11.4z"}}]},name:"column-width",theme:"outlined"},n0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:n6}))}),n5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}},{tag:"path",attrs:{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}},{tag:"path",attrs:{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}}]},name:"comment",theme:"outlined"},n7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:n5}))}),n9={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 64zM327.3 702.4c-2 .9-4.4 0-5.3-2.1-.4-1-.4-2.2 0-3.2l98.7-225.5 132.1 132.1-225.5 98.7zm375.1-375.1l-98.7 225.5-132.1-132.1L697.1 322c2-.9 4.4 0 5.3 2.1.4 1 .4 2.1 0 3.2z"}}]},name:"compass",theme:"filled"},ae=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:n9}))}),at={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm198.4-588.1a32 32 0 00-24.5.5L414.9 415 296.4 686c-3.6 8.2-3.6 17.5 0 25.7 3.4 7.8 9.7 13.9 17.7 17 3.8 1.5 7.7 2.2 11.7 2.2 4.4 0 8.7-.9 12.8-2.7l271-118.6 118.5-271a32.06 32.06 0 00-17.7-42.7zM576.8 534.4l26.2 26.2-42.4 42.4-26.2-26.2L380 644.4 447.5 490 422 464.4l42.4-42.4 25.5 25.5L644.4 380l-67.6 154.4zM464.4 422L422 464.4l25.5 25.6 86.9 86.8 26.2 26.2 42.4-42.4-26.2-26.2-86.8-86.9z"}}]},name:"compass",theme:"outlined"},ac=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:at}))}),an={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM327.6 701.7c-2 .9-4.4 0-5.3-2.1-.4-1-.4-2.2 0-3.2L421 470.9 553.1 603l-225.5 98.7zm375.1-375.1L604 552.1 471.9 420l225.5-98.7c2-.9 4.4 0 5.3 2.1.4 1 .4 2.1 0 3.2z",fill:t}},{tag:"path",attrs:{d:"M322.3 696.4c-.4 1-.4 2.2 0 3.2.9 2.1 3.3 3 5.3 2.1L553.1 603 421 470.9l-98.7 225.5zm375.1-375.1L471.9 420 604 552.1l98.7-225.5c.4-1.1.4-2.2 0-3.2-.9-2.1-3.3-3-5.3-2.1z",fill:e}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}}]}},name:"compass",theme:"twotone"},aa=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:an}))}),ar={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M326 664H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V696c0-17.7-14.3-32-32-32zm16-576h-48c-8.8 0-16 7.2-16 16v176H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V104c0-8.8-7.2-16-16-16zm578 576H698c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V744h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm0-384H746V104c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16z"}}]},name:"compress",theme:"outlined"},al=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ar}))}),ao=c(43738),ai={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zM661 736h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.6-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H363a8 8 0 01-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 01-29.1-75.5c0-61.9 49.9-112 111.4-112 61.5 0 111.4 50.1 111.4 112 0 29.1-11 55.5-29.1 75.5 42.7 26.5 71.8 72.8 74.6 126.1.4 4.6-3.2 8.4-7.8 8.4zM512 474c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52c28.5 0 51.7-23.3 51.7-52s-23.2-52-51.7-52z"}}]},name:"contacts",theme:"filled"},au=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ai}))}),as={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M594.3 601.5a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1 8 8 0 008 8.4H407c4.2 0 7.6-3.3 7.9-7.5 3.8-50.6 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H661a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.7-126.1zM512 578c-28.5 0-51.7-23.3-51.7-52s23.2-52 51.7-52 51.7 23.3 51.7 52-23.2 52-51.7 52zm416-354H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z"}}]},name:"contacts",theme:"outlined"},af=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:as}))}),ah={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M460.3 526a51.7 52 0 10103.4 0 51.7 52 0 10-103.4 0z",fill:t}},{tag:"path",attrs:{d:"M768 352c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H548v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H328v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H136v496h752V296H768v56zM661 736h-43.8c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 39.9-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5h-43.9a8 8 0 01-8-8.4c2.8-53.3 31.9-99.6 74.6-126.1-18.1-20-29.1-46.4-29.1-75.5 0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.6-29.1 75.5 42.7 26.4 71.9 72.8 74.7 126.1a8 8 0 01-8 8.4z",fill:t}},{tag:"path",attrs:{d:"M594.3 601.5a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1 8 8 0 008 8.4H407c4.2 0 7.6-3.3 7.9-7.5 3.8-50.6 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H661a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.7-126.1zM512 578c-28.5 0-51.7-23.3-51.7-52s23.2-52 51.7-52 51.7 23.3 51.7 52-23.2 52-51.7 52z",fill:e}},{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z",fill:e}}]}},name:"contacts",theme:"twotone"},ad=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ah}))}),av={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v529c0-.6.4-1 1-1h219.3l5.2 24.7C397.6 708.5 450.8 752 512 752s114.4-43.5 126.4-103.3l5.2-24.7H863c.6 0 1 .4 1 1V96c0-17.7-14.3-32-32-32zM712 493c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48zm0-160c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48zm151 354H694.1c-11.6 32.8-32 62.3-59.1 84.7-34.5 28.6-78.2 44.3-123 44.3s-88.5-15.8-123-44.3a194.02 194.02 0 01-59.1-84.7H161c-.6 0-1-.4-1-1v242c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V686c0 .6-.4 1-1 1z"}}]},name:"container",theme:"filled"},am=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:av}))}),ag={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v-63H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v752zM320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 160h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"container",theme:"outlined"},az=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ag}))}),ap={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M635 771.7c-34.5 28.6-78.2 44.3-123 44.3s-88.5-15.8-123-44.3a194.02 194.02 0 01-59.1-84.7H232v201h560V687h-97.9c-11.6 32.8-32 62.3-59.1 84.7z",fill:t}},{tag:"path",attrs:{d:"M320 501h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}},{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v201zm0-264H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v488z",fill:e}},{tag:"path",attrs:{d:"M320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"container",theme:"twotone"},aw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ap}))}),aM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM404 683v77c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-77c-41.7-13.6-72-52.8-72-99s30.3-85.5 72-99V264c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v221c41.7 13.6 72 52.8 72 99s-30.3 85.5-72 99zm279.6-143.9c.2 0 .3-.1.4-.1v221c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V539c.2 0 .3.1.4.1-42-13.4-72.4-52.7-72.4-99.1 0-46.4 30.4-85.7 72.4-99.1-.2 0-.3.1-.4.1v-77c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v77c-.2 0-.3-.1-.4-.1 42 13.4 72.4 52.7 72.4 99.1 0 46.4-30.4 85.7-72.4 99.1zM616 440a36 36 0 1072 0 36 36 0 10-72 0zM403.4 566.5l-1.5-2.4c0-.1-.1-.1-.1-.2l-.9-1.2c-.1-.1-.2-.2-.2-.3-1-1.3-2-2.5-3.2-3.6l-.2-.2c-.4-.4-.8-.8-1.2-1.1-.8-.8-1.7-1.5-2.6-2.1h-.1l-1.2-.9c-.1-.1-.3-.2-.4-.3-1.2-.8-2.5-1.6-3.9-2.2-.2-.1-.5-.2-.7-.4-.4-.2-.7-.3-1.1-.5-.3-.1-.7-.3-1-.4-.5-.2-1-.4-1.5-.5-.4-.1-.9-.3-1.3-.4l-.9-.3-1.4-.3c-.2-.1-.5-.1-.7-.2-.7-.1-1.4-.3-2.1-.4-.2 0-.4 0-.6-.1-.6-.1-1.1-.1-1.7-.2-.2 0-.4 0-.7-.1-.8 0-1.5-.1-2.3-.1s-1.5 0-2.3.1c-.2 0-.4 0-.7.1-.6 0-1.2.1-1.7.2-.2 0-.4 0-.6.1-.7.1-1.4.2-2.1.4-.2.1-.5.1-.7.2l-1.4.3-.9.3c-.4.1-.9.3-1.3.4-.5.2-1 .4-1.5.5-.3.1-.7.3-1 .4-.4.2-.7.3-1.1.5-.2.1-.5.2-.7.4-1.3.7-2.6 1.4-3.9 2.2-.1.1-.3.2-.4.3l-1.2.9h-.1c-.9.7-1.8 1.4-2.6 2.1-.4.4-.8.7-1.2 1.1l-.2.2a54.8 54.8 0 00-3.2 3.6c-.1.1-.2.2-.2.3l-.9 1.2c0 .1-.1.1-.1.2l-1.5 2.4c-.1.2-.2.3-.3.5-2.7 5.1-4.3 10.9-4.3 17s1.6 12 4.3 17c.1.2.2.3.3.5l1.5 2.4c0 .1.1.1.1.2l.9 1.2c.1.1.2.2.2.3 1 1.3 2 2.5 3.2 3.6l.2.2c.4.4.8.8 1.2 1.1.8.8 1.7 1.5 2.6 2.1h.1l1.2.9c.1.1.3.2.4.3 1.2.8 2.5 1.6 3.9 2.2.2.1.5.2.7.4.4.2.7.3 1.1.5.3.1.7.3 1 .4.5.2 1 .4 1.5.5.4.1.9.3 1.3.4l.9.3 1.4.3c.2.1.5.1.7.2.7.1 1.4.3 2.1.4.2 0 .4 0 .6.1.6.1 1.1.1 1.7.2.2 0 .4 0 .7.1.8 0 1.5.1 2.3.1s1.5 0 2.3-.1c.2 0 .4 0 .7-.1.6 0 1.2-.1 1.7-.2.2 0 .4 0 .6-.1.7-.1 1.4-.2 2.1-.4.2-.1.5-.1.7-.2l1.4-.3.9-.3c.4-.1.9-.3 1.3-.4.5-.2 1-.4 1.5-.5.3-.1.7-.3 1-.4.4-.2.7-.3 1.1-.5.2-.1.5-.2.7-.4 1.3-.7 2.6-1.4 3.9-2.2.1-.1.3-.2.4-.3l1.2-.9h.1c.9-.7 1.8-1.4 2.6-2.1.4-.4.8-.7 1.2-1.1l.2-.2c1.1-1.1 2.2-2.4 3.2-3.6.1-.1.2-.2.2-.3l.9-1.2c0-.1.1-.1.1-.2l1.5-2.4c.1-.2.2-.3.3-.5 2.7-5.1 4.3-10.9 4.3-17s-1.6-12-4.3-17c-.1-.2-.2-.4-.3-.5z"}}]},name:"control",theme:"filled"},aZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aM}))}),aH=c(27214),ab={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M616 440a36 36 0 1072 0 36 36 0 10-72 0zM340.4 601.5l1.5 2.4c0 .1.1.1.1.2l.9 1.2c.1.1.2.2.2.3 1 1.3 2 2.5 3.2 3.6l.2.2c.4.4.8.8 1.2 1.1.8.8 1.7 1.5 2.6 2.1h.1l1.2.9c.1.1.3.2.4.3 1.2.8 2.5 1.6 3.9 2.2.2.1.5.2.7.4.4.2.7.3 1.1.5.3.1.7.3 1 .4.5.2 1 .4 1.5.5.4.1.9.3 1.3.4l.9.3 1.4.3c.2.1.5.1.7.2.7.1 1.4.3 2.1.4.2 0 .4 0 .6.1.6.1 1.1.1 1.7.2.2 0 .4 0 .7.1.8 0 1.5.1 2.3.1s1.5 0 2.3-.1c.2 0 .4 0 .7-.1.6 0 1.2-.1 1.7-.2.2 0 .4 0 .6-.1.7-.1 1.4-.2 2.1-.4.2-.1.5-.1.7-.2l1.4-.3.9-.3c.4-.1.9-.3 1.3-.4.5-.2 1-.4 1.5-.5.3-.1.7-.3 1-.4.4-.2.7-.3 1.1-.5.2-.1.5-.2.7-.4 1.3-.7 2.6-1.4 3.9-2.2.1-.1.3-.2.4-.3l1.2-.9h.1c.9-.7 1.8-1.4 2.6-2.1.4-.4.8-.7 1.2-1.1l.2-.2c1.1-1.1 2.2-2.4 3.2-3.6.1-.1.2-.2.2-.3l.9-1.2c0-.1.1-.1.1-.2l1.5-2.4c.1-.2.2-.3.3-.5 2.7-5.1 4.3-10.9 4.3-17s-1.6-12-4.3-17c-.1-.2-.2-.4-.3-.5l-1.5-2.4c0-.1-.1-.1-.1-.2l-.9-1.2c-.1-.1-.2-.2-.2-.3-1-1.3-2-2.5-3.2-3.6l-.2-.2c-.4-.4-.8-.8-1.2-1.1-.8-.8-1.7-1.5-2.6-2.1h-.1l-1.2-.9c-.1-.1-.3-.2-.4-.3-1.2-.8-2.5-1.6-3.9-2.2-.2-.1-.5-.2-.7-.4-.4-.2-.7-.3-1.1-.5-.3-.1-.7-.3-1-.4-.5-.2-1-.4-1.5-.5-.4-.1-.9-.3-1.3-.4l-.9-.3-1.4-.3c-.2-.1-.5-.1-.7-.2-.7-.1-1.4-.3-2.1-.4-.2 0-.4 0-.6-.1-.6-.1-1.1-.1-1.7-.2-.2 0-.4 0-.7-.1-.8 0-1.5-.1-2.3-.1s-1.5 0-2.3.1c-.2 0-.4 0-.7.1-.6 0-1.2.1-1.7.2-.2 0-.4 0-.6.1-.7.1-1.4.2-2.1.4-.2.1-.5.1-.7.2l-1.4.3-.9.3c-.4.1-.9.3-1.3.4-.5.2-1 .4-1.5.5-.3.1-.7.3-1 .4-.4.2-.7.3-1.1.5-.2.1-.5.2-.7.4-1.3.7-2.6 1.4-3.9 2.2-.1.1-.3.2-.4.3l-1.2.9h-.1c-.9.7-1.8 1.4-2.6 2.1-.4.4-.8.7-1.2 1.1l-.2.2a54.8 54.8 0 00-3.2 3.6c-.1.1-.2.2-.2.3l-.9 1.2c0 .1-.1.1-.1.2l-1.5 2.4c-.1.2-.2.3-.3.5-2.7 5.1-4.3 10.9-4.3 17s1.6 12 4.3 17c.1.2.2.3.3.5z",fill:t}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm436.4-499.1c-.2 0-.3.1-.4.1v-77c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v77c-.2 0-.3-.1-.4-.1 42 13.4 72.4 52.7 72.4 99.1 0 46.4-30.4 85.7-72.4 99.1.2 0 .3-.1.4-.1v221c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V539c.2 0 .3.1.4.1-42-13.4-72.4-52.7-72.4-99.1 0-46.4 30.4-85.7 72.4-99.1zM340 485V264c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v221c41.7 13.6 72 52.8 72 99s-30.3 85.5-72 99v77c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-77c-41.7-13.6-72-52.8-72-99s30.3-85.5 72-99z",fill:t}},{tag:"path",attrs:{d:"M340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c41.7-13.5 72-52.8 72-99s-30.3-85.4-72-99V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c-41.7 13.5-72 52.8-72 99s30.3 85.4 72 99zm.1-116c.1-.2.2-.3.3-.5l1.5-2.4c0-.1.1-.1.1-.2l.9-1.2c0-.1.1-.2.2-.3 1-1.2 2.1-2.5 3.2-3.6l.2-.2c.4-.4.8-.7 1.2-1.1.8-.7 1.7-1.4 2.6-2.1h.1l1.2-.9c.1-.1.3-.2.4-.3 1.3-.8 2.6-1.5 3.9-2.2.2-.2.5-.3.7-.4.4-.2.7-.3 1.1-.5.3-.1.7-.3 1-.4.5-.1 1-.3 1.5-.5.4-.1.9-.3 1.3-.4l.9-.3 1.4-.3c.2-.1.5-.1.7-.2.7-.2 1.4-.3 2.1-.4.2-.1.4-.1.6-.1.5-.1 1.1-.2 1.7-.2.3-.1.5-.1.7-.1.8-.1 1.5-.1 2.3-.1s1.5.1 2.3.1c.3.1.5.1.7.1.6.1 1.1.1 1.7.2.2.1.4.1.6.1.7.1 1.4.3 2.1.4.2.1.5.1.7.2l1.4.3.9.3c.4.1.9.3 1.3.4.5.1 1 .3 1.5.5.3.1.7.3 1 .4.4.2.7.3 1.1.5.2.2.5.3.7.4 1.4.6 2.7 1.4 3.9 2.2.1.1.3.2.4.3l1.2.9h.1c.9.6 1.8 1.3 2.6 2.1.4.3.8.7 1.2 1.1l.2.2c1.2 1.1 2.2 2.3 3.2 3.6 0 .1.1.2.2.3l.9 1.2c0 .1.1.1.1.2l1.5 2.4A36.03 36.03 0 01408 584c0 6.1-1.6 11.9-4.3 17-.1.2-.2.3-.3.5l-1.5 2.4c0 .1-.1.1-.1.2l-.9 1.2c0 .1-.1.2-.2.3-1 1.2-2.1 2.5-3.2 3.6l-.2.2c-.4.4-.8.7-1.2 1.1-.8.7-1.7 1.4-2.6 2.1h-.1l-1.2.9c-.1.1-.3.2-.4.3-1.3.8-2.6 1.5-3.9 2.2-.2.2-.5.3-.7.4-.4.2-.7.3-1.1.5-.3.1-.7.3-1 .4-.5.1-1 .3-1.5.5-.4.1-.9.3-1.3.4l-.9.3-1.4.3c-.2.1-.5.1-.7.2-.7.2-1.4.3-2.1.4-.2.1-.4.1-.6.1-.5.1-1.1.2-1.7.2-.3.1-.5.1-.7.1-.8.1-1.5.1-2.3.1s-1.5-.1-2.3-.1c-.3-.1-.5-.1-.7-.1-.6-.1-1.1-.1-1.7-.2-.2-.1-.4-.1-.6-.1-.7-.1-1.4-.3-2.1-.4-.2-.1-.5-.1-.7-.2l-1.4-.3-.9-.3c-.4-.1-.9-.3-1.3-.4-.5-.1-1-.3-1.5-.5-.3-.1-.7-.3-1-.4-.4-.2-.7-.3-1.1-.5-.2-.2-.5-.3-.7-.4-1.4-.6-2.7-1.4-3.9-2.2-.1-.1-.3-.2-.4-.3l-1.2-.9h-.1c-.9-.6-1.8-1.3-2.6-2.1-.4-.3-.8-.7-1.2-1.1l-.2-.2c-1.2-1.1-2.2-2.3-3.2-3.6 0-.1-.1-.2-.2-.3l-.9-1.2c0-.1-.1-.1-.1-.2l-1.5-2.4c-.1-.2-.2-.3-.3-.5-2.7-5-4.3-10.9-4.3-17s1.6-11.9 4.3-17zm280.3-27.9c-.1 0-.2-.1-.4-.1v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-.1 0-.2.1-.4.1 42-13.4 72.4-52.7 72.4-99.1 0-46.4-30.4-85.7-72.4-99.1.1 0 .2.1.4.1v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c.1 0 .2-.1.4-.1-42 13.4-72.4 52.7-72.4 99.1 0 46.4 30.4 85.7 72.4 99.1zM652 404c19.9 0 36 16.1 36 36s-16.1 36-36 36-36-16.1-36-36 16.1-36 36-36z",fill:e}}]}},name:"control",theme:"twotone"},aV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ab}))}),aC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM382 896h-.2L232 746.2v-.2h150v150z"}}]},name:"copy",theme:"filled"},ax=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aC}))}),aE=c(67576),aL={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 706h142c22.1 0 40 17.9 40 40v142h250V264H232v442z",fill:t}},{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32z",fill:e}},{tag:"path",attrs:{d:"M704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z",fill:e}}]}},name:"copy",theme:"twotone"},aR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aL}))}),ay={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 64zm5.4 670c-110 0-173.4-73.2-173.4-194.9v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.6-3.2-8-7.4-4-49.5-40-83.4-93-83.4-65.3 0-102.1 48.5-102.1 135.5v52.6c0 85.7 36.9 133.6 102.1 133.6 52.8 0 88.7-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4z"}}]},name:"copyright-circle",theme:"filled"},aB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ay}))}),aS={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright-circle",theme:"outlined"},aO=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aS}))}),ak={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm5.5 533c52.9 0 88.8-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4C407.4 734 344 660.8 344 539.1v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.7-3.2-8-7.4-4-49.6-40-83.4-93-83.4-65.2 0-102.1 48.5-102.2 135.5v52.6c0 85.7 36.8 133.6 102.1 133.6z",fill:t}},{tag:"path",attrs:{d:"M517.6 351.3c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z",fill:e}}]}},name:"copyright-circle",theme:"twotone"},a$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ak}))}),aT={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},aF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aT}))}),aI={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm5.5 533c52.9 0 88.8-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4C407.4 734 344 660.8 344 539.1v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.7-3.2-8-7.4-4-49.6-40-83.4-93-83.4-65.2 0-102.1 48.5-102.2 135.5v52.6c0 85.7 36.8 133.6 102.1 133.6z",fill:t}},{tag:"path",attrs:{d:"M517.6 351.3c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z",fill:e}}]}},name:"copyright",theme:"twotone"},aA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aI}))}),aD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v160h896V192c0-17.7-14.3-32-32-32zM64 832c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V440H64v392zm579-184c0-4.4 3.6-8 8-8h165c4.4 0 8 3.6 8 8v72c0 4.4-3.6 8-8 8H651c-4.4 0-8-3.6-8-8v-72z"}}]},name:"credit-card",theme:"filled"},aP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aD}))}),aN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-792 72h752v120H136V232zm752 560H136V440h752v352zm-237-64h165c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8H651c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8z"}}]},name:"credit-card",theme:"outlined"},aq=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aN}))}),aj={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 792h752V440H136v352zm507-144c0-4.4 3.6-8 8-8h165c4.4 0 8 3.6 8 8v72c0 4.4-3.6 8-8 8H651c-4.4 0-8-3.6-8-8v-72zM136 232h752v120H136z",fill:t}},{tag:"path",attrs:{d:"M651 728h165c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8H651c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8z",fill:e}},{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V440h752v352zm0-440H136V232h752v120z",fill:e}}]}},name:"credit-card",theme:"twotone"},aW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aj}))}),aY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zM512 734.2c-62.1 0-112.6-50.5-112.6-112.6S449.9 509 512 509s112.6 50.5 112.6 112.6S574.1 734.2 512 734.2zm0-160.9c-26.6 0-48.2 21.6-48.2 48.3 0 26.6 21.6 48.3 48.2 48.3s48.2-21.6 48.2-48.3c0-26.6-21.6-48.3-48.2-48.3z"}}]},name:"crown",theme:"filled"},a_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aY}))}),aK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zm-126 534.1H250.3l-53.8-409.4 139.8 86.1L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4zM512 509c-62.1 0-112.6 50.5-112.6 112.6S449.9 734.2 512 734.2s112.6-50.5 112.6-112.6S574.1 509 512 509zm0 160.9c-26.6 0-48.2-21.6-48.2-48.3 0-26.6 21.6-48.3 48.2-48.3s48.2 21.6 48.2 48.3c0 26.6-21.6 48.3-48.2 48.3z"}}]},name:"crown",theme:"outlined"},aU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aK}))}),aG={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M911.9 283.9v.5L835.5 865c-1 8-7.9 14-15.9 14H204.5c-8.1 0-14.9-6.1-16-14l-76.4-580.6v-.6 1.6L188.5 866c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.1-.5.1-1 0-1.5z",fill:t}},{tag:"path",attrs:{d:"M773.6 810.6l53.9-409.4-139.8 86.1L512 252.9 336.3 487.3l-139.8-86.1 53.8 409.4h523.3zm-374.2-189c0-62.1 50.5-112.6 112.6-112.6s112.6 50.5 112.6 112.6v1c0 62.1-50.5 112.6-112.6 112.6s-112.6-50.5-112.6-112.6v-1z",fill:t}},{tag:"path",attrs:{d:"M512 734.2c61.9 0 112.3-50.2 112.6-112.1v-.5c0-62.1-50.5-112.6-112.6-112.6s-112.6 50.5-112.6 112.6v.5c.3 61.9 50.7 112.1 112.6 112.1zm0-160.9c26.6 0 48.2 21.6 48.2 48.3 0 26.6-21.6 48.3-48.2 48.3s-48.2-21.6-48.2-48.3c0-26.6 21.6-48.3 48.2-48.3z",fill:e}},{tag:"path",attrs:{d:"M188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6v-.5c.3-6.4-6.7-10.8-12.3-7.4L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.5-3.4-12.6.9-12.2 7.3v.6L188.5 865zm147.8-377.7L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4H250.3l-53.8-409.4 139.8 86.1z",fill:e}}]}},name:"crown",theme:"twotone"},aX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aG}))}),aQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384z"}}]},name:"customer-service",theme:"filled"},aJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aQ}))}),a1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z"}}]},name:"customer-service",theme:"outlined"},a4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:a1}))}),a2={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 632h128v192H696zm-496 0h128v192H200z",fill:t}},{tag:"path",attrs:{d:"M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z",fill:e}}]}},name:"customer-service",theme:"twotone"},a3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:a2}))}),a8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M112 476h160v72H112zm320 0h160v72H432zm320 0h160v72H752z"}}]},name:"dash",theme:"outlined"},a6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:a8}))}),a0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM482 232c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.5l-31.1 31.1a8.03 8.03 0 01-11.3 0L261.7 352a8.03 8.03 0 010-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.6l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 01-79.2 0 55.95 55.95 0 010-79.2 55.87 55.87 0 0154.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.1 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 010-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 01-11.3 0zM846 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44z"}}]},name:"dashboard",theme:"filled"},a5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:a0}))}),a7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z"}}]},name:"dashboard",theme:"outlined"},a9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:a7}))}),re={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 188c-99.3 0-192.7 38.7-263 109-70.3 70.2-109 163.6-109 263 0 105.6 44.5 205.5 122.6 276h498.8A371.12 371.12 0 00884 560c0-99.3-38.7-192.7-109-263-70.2-70.3-163.6-109-263-109zm-30 44c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.4l-31.1 31.1a8.03 8.03 0 01-11.3 0l-56.6-56.6a8.03 8.03 0 010-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.5l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 01-79.2 0 55.95 55.95 0 010-79.2 55.87 55.87 0 0154.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.2 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 010-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 01-11.3 0zM846 538v44c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8z",fill:t}},{tag:"path",attrs:{d:"M623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8z",fill:e}},{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276z",fill:e}},{tag:"path",attrs:{d:"M762.7 340.8l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zM750 538v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zM304.1 309.7a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"dashboard",theme:"twotone"},rt=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:re}))}),rc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v224h704V96c0-17.7-14.3-32-32-32zM288 232c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm128-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm128-168c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z"}}]},name:"database",theme:"filled"},rn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rc}))}),ra=c(44808),rr={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 616h560V408H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 888h560V680H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 344h560V136H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M304 512a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0-544a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}},{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z",fill:e}}]}},name:"database",theme:"twotone"},rl=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rr}))}),ro={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M651.1 641.9a7.84 7.84 0 00-5.1-1.9h-54.7c-2.4 0-4.6 1.1-6.1 2.9L512 730.7l-73.1-87.8a8.1 8.1 0 00-6.1-2.9H378c-1.9 0-3.7.7-5.1 1.9a7.97 7.97 0 00-1 11.3L474.2 776 371.8 898.9a8.06 8.06 0 006.1 13.2h54.7c2.4 0 4.6-1.1 6.1-2.9l73.1-87.8 73.1 87.8a8.1 8.1 0 006.1 2.9h55c1.9 0 3.7-.7 5.1-1.9 3.4-2.8 3.9-7.9 1-11.3L549.8 776l102.4-122.9c2.8-3.4 2.3-8.4-1.1-11.2zM472 544h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8zM350 386H184V136c0-3.3-2.7-6-6-6h-60c-3.3 0-6 2.7-6 6v292c0 16.6 13.4 30 30 30h208c3.3 0 6-2.7 6-6v-60c0-3.3-2.7-6-6-6zm556-256h-60c-3.3 0-6 2.7-6 6v250H674c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6h208c16.6 0 30-13.4 30-30V136c0-3.3-2.7-6-6-6z"}}]},name:"delete-column",theme:"outlined"},ri=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ro}))}),ru=c(46584),rs=c(2537),rf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M819.8 512l102.4-122.9a8.06 8.06 0 00-6.1-13.2h-54.7c-2.4 0-4.6 1.1-6.1 2.9L782 466.7l-73.1-87.8a8.1 8.1 0 00-6.1-2.9H648c-1.9 0-3.7.7-5.1 1.9a7.97 7.97 0 00-1 11.3L744.2 512 641.8 634.9a8.06 8.06 0 006.1 13.2h54.7c2.4 0 4.6-1.1 6.1-2.9l73.1-87.8 73.1 87.8a8.1 8.1 0 006.1 2.9h55c1.9 0 3.7-.7 5.1-1.9 3.4-2.8 3.9-7.9 1-11.3L819.8 512zM536 464H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h416c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-84 204h-60c-3.3 0-6 2.7-6 6v166H136c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6h292c16.6 0 30-13.4 30-30V674c0-3.3-2.7-6-6-6zM136 184h250v166c0 3.3 2.7 6 6 6h60c3.3 0 6-2.7 6-6V142c0-16.6-13.4-30-30-30H136c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6z"}}]},name:"delete-row",theme:"outlined"},rh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rf}))}),rd={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M292.7 840h438.6l24.2-512h-487z",fill:t}},{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z",fill:e}}]}},name:"delete",theme:"twotone"},rv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rd}))}),rm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},rg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rm}))}),rz=c(28062),rp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z"}}]},name:"desktop",theme:"outlined"},rw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rp}))}),rM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.2 306.6L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23zM553.4 201.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM568 753c0 3.8-3.4 7-7.5 7h-225c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7h225c4.1 0 7.5 3.2 7.5 7v42zm0-220c0 3.8-3.4 7-7.5 7H476v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V540h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H420v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1V484h84.5c4.1 0 7.5 3.1 7.5 7v42z"}}]},name:"diff",theme:"filled"},rZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rM}))}),rH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M476 399.1c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1V484h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H420v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V540h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H476v-84.9zM560.5 704h-225c-4.1 0-7.5 3.2-7.5 7v42c0 3.8 3.4 7 7.5 7h225c4.1 0 7.5-3.2 7.5-7v-42c0-3.8-3.4-7-7.5-7zm-7.1-502.6c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM664 888H232V264h282.2L664 413.8V888zm190.2-581.4L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23z"}}]},name:"diff",theme:"outlined"},rb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rH}))}),rV={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 264v624h432V413.8L514.2 264H232zm336 489c0 3.8-3.4 7-7.5 7h-225c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7h225c4.1 0 7.5 3.2 7.5 7v42zm0-262v42c0 3.8-3.4 7-7.5 7H476v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V540h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H420v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1V484h84.5c4.1 0 7.5 3.1 7.5 7z",fill:t}},{tag:"path",attrs:{d:"M854.2 306.6L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23z",fill:e}},{tag:"path",attrs:{d:"M553.4 201.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM664 888H232V264h282.2L664 413.8V888z",fill:e}},{tag:"path",attrs:{d:"M476 399.1c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1V484h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H420v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V540h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H476v-84.9zM560.5 704h-225c-4.1 0-7.5 3.2-7.5 7v42c0 3.8 3.4 7 7.5 7h225c4.1 0 7.5-3.2 7.5-7v-42c0-3.8-3.4-7-7.5-7z",fill:e}}]}},name:"diff",theme:"twotone"},rC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rV}))}),rx=c(43627),rE={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 64zm227 385.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z"}}]},name:"dingtalk-circle",theme:"filled"},rL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rE}))}),rR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"}}]},name:"dingtalk",theme:"outlined"},ry=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rR}))}),rB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM739 449.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z"}}]},name:"dingtalk-square",theme:"filled"},rS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rB}))}),rO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832.6 191.4c-84.6-84.6-221.5-84.6-306 0l-96.9 96.9 51 51 96.9-96.9c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204l-96.9 96.9 51.1 51.1 96.9-96.9c84.4-84.6 84.4-221.5-.1-306.1zM446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l96.9-96.9-51.1-51.1-96.9 96.9c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l96.9-96.9-51-51-96.8 97zM260.3 209.4a8.03 8.03 0 00-11.3 0L209.4 249a8.03 8.03 0 000 11.3l554.4 554.4c3.1 3.1 8.2 3.1 11.3 0l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3L260.3 209.4z"}}]},name:"disconnect",theme:"outlined"},rk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rO}))}),r$={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.15 87c51.16 0 92.41 41.36 94.85 90.03V960l-97.4-82.68-53.48-48.67-58.35-50.85 24.37 80.2H210.41c-51 0-92.41-38.74-92.41-90.06V177.21c0-48.67 41.48-90.1 92.6-90.1h600.3zM588.16 294.1h-1.09l-7.34 7.28c75.38 21.8 111.85 55.86 111.85 55.86-48.58-24.28-92.36-36.42-136.14-41.32-31.64-4.91-63.28-2.33-90 0h-7.28c-17.09 0-53.45 7.27-102.18 26.7-16.98 7.39-26.72 12.22-26.72 12.22s36.43-36.42 116.72-55.86l-4.9-4.9s-60.8-2.33-126.44 46.15c0 0-65.64 114.26-65.64 255.13 0 0 36.36 63.24 136.11 65.64 0 0 14.55-19.37 29.27-36.42-56-17-77.82-51.02-77.82-51.02s4.88 2.4 12.19 7.27h2.18c1.09 0 1.6.54 2.18 1.09v.21c.58.59 1.09 1.1 2.18 1.1 12 4.94 24 9.8 33.82 14.53a297.58 297.58 0 0065.45 19.48c33.82 4.9 72.59 7.27 116.73 0 21.82-4.9 43.64-9.7 65.46-19.44 14.18-7.27 31.63-14.54 50.8-26.79 0 0-21.82 34.02-80.19 51.03 12 16.94 28.91 36.34 28.91 36.34 99.79-2.18 138.55-65.42 140.73-62.73 0-140.65-66-255.13-66-255.13-59.45-44.12-115.09-45.8-124.91-45.8l2.04-.72zM595 454c25.46 0 46 21.76 46 48.41 0 26.83-20.65 48.59-46 48.59s-46-21.76-46-48.37c.07-26.84 20.75-48.52 46-48.52zm-165.85 0c25.35 0 45.85 21.76 45.85 48.41 0 26.83-20.65 48.59-46 48.59s-46-21.76-46-48.37c0-26.84 20.65-48.52 46-48.52z"}}]},name:"discord",theme:"filled"},rT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:r$}))}),rF={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M405 158l-25 3s-112.13 12.26-194.02 78.02h-.96l-1.02.96c-18.37 16.9-26.37 37.67-39 68.04a982.08 982.08 0 00-38 112C83.27 505.87 64 609.87 64 705v8l4 8c29.63 52 82.24 85.12 131 108 48.74 22.88 90.89 35 120 36l19.02.99 9.98-17 35-62c37.13 8.38 79.88 14 129 14 49.12 0 91.87-5.62 129-14l35 62 10.02 17 18.97-1c29.12-.98 71.27-13.11 120-36 48.77-22.87 101.38-56 131.01-108l4-8v-8c0-95.13-19.26-199.13-43-284.98a982.08 982.08 0 00-38-112c-12.63-30.4-20.63-51.14-39-68l-1-1.03h-1.02C756.16 173.26 644 161.01 644 161.01L619 158l-9.02 23s-9.24 23.37-14.97 50.02a643.04 643.04 0 00-83.01-6.01c-17.12 0-46.72 1.12-83 6.01a359.85 359.85 0 00-15.02-50.01zm-44 73.02c1.37 4.48 2.74 8.36 4 12-41.38 10.24-85.51 25.86-126 50.98l34 54.02C356 296.5 475.22 289 512 289c36.74 0 156 7.49 239 59L785 294c-40.49-25.12-84.62-40.74-126-51 1.26-3.62 2.63-7.5 4-12 29.86 6 86.89 19.77 134 57.02-.26.12 12 18.62 23 44.99 11.26 27.13 23.74 63.26 35 104 21.64 78.11 38.63 173.25 40 256.99-20.15 30.75-57.5 58.5-97.02 77.02A311.8 311.8 0 01720 795.98l-16-26.97c9.5-3.52 18.88-7.36 27-11.01 49.26-21.63 76-45 76-45l-42-48s-18 16.52-60 35.02C663.03 718.52 598.87 737 512 737s-151-18.5-193-37c-42-18.49-60-35-60-35l-42 48s26.74 23.36 76 44.99a424.47 424.47 0 0027 11l-16 27.02a311.8 311.8 0 01-78.02-25.03c-39.48-18.5-76.86-46.24-96.96-76.99 1.35-83.74 18.34-178.88 40-257A917.22 917.22 0 01204 333c11-26.36 23.26-44.86 23-44.98 47.11-37.25 104.14-51.01 134-57m39 217.99c-24.74 0-46.62 14.11-60 32-13.38 17.89-20 39.87-20 64s6.62 46.11 20 64c13.38 17.89 35.26 32 60 32 24.74 0 46.62-14.11 60-32 13.38-17.89 20-39.87 20-64s-6.62-46.11-20-64c-13.38-17.89-35.26-32-60-32m224 0c-24.74 0-46.62 14.11-60 32-13.38 17.89-20 39.87-20 64s6.62 46.11 20 64c13.38 17.89 35.26 32 60 32 24.74 0 46.62-14.11 60-32 13.38-17.89 20-39.87 20-64s-6.62-46.11-20-64c-13.38-17.89-35.26-32-60-32m-224 64c1.76 0 4 .64 8 6.01 4 5.35 8 14.72 8 25.99 0 11.26-4 20.64-8 26.01-4 5.35-6.24 5.99-8 5.99-1.76 0-4-.64-8-6.02a44.83 44.83 0 01-8-25.98c0-11.27 4-20.64 8-26.02 4-5.34 6.24-5.98 8-5.98m224 0c1.76 0 4 .64 8 6.01 4 5.35 8 14.72 8 25.99 0 11.26-4 20.64-8 26.01-4 5.35-6.24 5.99-8 5.99-1.76 0-4-.64-8-6.02a44.83 44.83 0 01-8-25.98c0-11.27 4-20.64 8-26.02 4-5.34 6.24-5.98 8-5.98"}}]},name:"discord",theme:"outlined"},rI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rF}))}),rA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H273v428h.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32z"}}]},name:"dislike",theme:"filled"},rD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rA}))}),rP=c(74552),rN={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M273 100.1v428h.3l-.3-428zM820.4 525l-21.9-19 14-25.5a56.2 56.2 0 006.9-27.3c0-16.5-7.1-32.2-19.6-43l-21.9-19 13.9-25.4a56.2 56.2 0 006.9-27.3c0-16.5-7.1-32.2-19.6-43l-21.9-19 13.9-25.4a56.2 56.2 0 006.9-27.3c0-22.4-13.2-42.6-33.6-51.8H345v345.2c18.6 67.2 46.4 168 83.5 302.5a44.28 44.28 0 0042.2 32.3c7.5.1 15-2.2 21.1-6.7 9.9-7.4 15.2-18.6 14.6-30.5l-9.6-198.4h314.4C829 605.5 840 587.1 840 568c0-16.5-7.1-32.2-19.6-43z",fill:t}},{tag:"path",attrs:{d:"M112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32zm773.9 358.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H273l.3 428 85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zm-74.7 126.1H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3c-37.1-134.4-64.9-235.2-83.5-302.5V172h399.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z",fill:e}}]}},name:"dislike",theme:"twotone"},rq=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rN}))}),rj={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M555.88 488.24h-92.62v-82.79h92.62zm0-286.24h-92.62v85.59h92.62zm109.45 203.45H572.7v82.79h92.62zm-218.9-101.02h-92.61v84.18h92.6zm109.45 0h-92.61v84.18h92.6zm388.69 140.3c-19.65-14.02-67.36-18.23-102.44-11.22-4.2-33.67-23.85-63.14-57.53-89.8l-19.65-12.62-12.62 19.64c-25.26 39.29-32.28 103.83-5.62 145.92-12.63 7.02-36.48 15.44-67.35 15.44H67.56c-12.63 71.56 8.42 164.16 61.74 227.3C181.22 801.13 259.8 832 360.83 832c220.3 0 384.48-101.02 460.25-286.24 29.47 0 95.42 0 127.7-63.14 1.4-2.8 9.82-18.24 11.22-23.85zm-717.04-39.28h-92.61v82.79h92.6zm109.45 0h-92.61v82.79h92.6zm109.45 0h-92.61v82.79h92.6zM336.98 304.43h-92.61v84.19h92.6z"}}]},name:"docker",theme:"outlined"},rW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rj}))}),rY={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 64zm22.3 665.2l.2 31.7c0 4.4-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4C401.3 723 359.5 672.4 355 617.4c-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.7 29.8 55.4 74.1 61.3V533.9l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-72.9 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.9 46.9 125.9 109.2.5 4.7-3.2 8.8-8 8.8h-44.9c-4 0-7.4-3-7.9-6.9-4-29.2-27.4-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 108.9 116.4 0 75.3-56 117.3-134.3 124.1zM426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-36.9 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.8-.6-5.6-1.3-8.8-2.2V677c42.6-3.8 72-27.2 72-66.4 0-30.7-15.9-50.7-63.2-65.1z"}}]},name:"dollar-circle",theme:"filled"},r_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rY}))}),rK={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z"}}]},name:"dollar-circle",theme:"outlined"},rU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rK}))}),rG={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-37 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.9-.6-5.7-1.3-8.8-2.2V677c42.6-3.8 72-27.3 72-66.4 0-30.7-15.9-50.7-63.2-65.1z",fill:t}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm22.4 589.2l.2 31.7c0 4.5-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4c-89-6.5-130.7-57.1-135.2-112.1-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.8 29.9 55.4 74.1 61.3V534l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-73 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.8 46.9 125.9 109.2a8.1 8.1 0 01-8 8.8h-44.9c-4 0-7.4-2.9-7.9-6.9-4-29.2-27.5-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 109 116.4 0 75.2-56 117.1-134.3 124z",fill:t}},{tag:"path",attrs:{d:"M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z",fill:e}}]}},name:"dollar-circle",theme:"twotone"},rX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rG}))}),rQ={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z"}}]},name:"dollar",theme:"outlined"},rJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rQ}))}),r1={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-37 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.9-.6-5.7-1.3-8.8-2.2V677c42.6-3.8 72-27.3 72-66.4 0-30.7-15.9-50.7-63.2-65.1z",fill:t}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm22.4 589.2l.2 31.7c0 4.5-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4c-89-6.5-130.7-57.1-135.2-112.1-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.8 29.9 55.4 74.1 61.3V534l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-73 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.8 46.9 125.9 109.2a8.1 8.1 0 01-8 8.8h-44.9c-4 0-7.4-2.9-7.9-6.9-4-29.2-27.5-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 109 116.4 0 75.2-56 117.1-134.3 124z",fill:t}},{tag:"path",attrs:{d:"M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z",fill:e}}]}},name:"dollar",theme:"twotone"},r4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:r1}))}),r2=c(96538),r3={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"g",attrs:{"fill-opacity":".88"},children:[{tag:"path",attrs:{d:"M101.28 662c-10.65 0-19.53-3.3-26.63-9.89-7.1-6.6-10.65-14.7-10.65-24.32 0-9.89 3.65-18 10.96-24.31 7.3-6.32 16.42-9.48 27.35-9.48 11.06 0 20.1 3.2 27.14 9.58 7.03 6.39 10.55 14.46 10.55 24.21 0 10.03-3.58 18.24-10.76 24.63-7.17 6.39-16.49 9.58-27.96 9.58M458 657h-66.97l-121.4-185.35c-7.13-10.84-12.06-19-14.8-24.48h-.82c1.1 10.42 1.65 26.33 1.65 47.72V657H193V362h71.49l116.89 179.6a423.23 423.23 0 0114.79 24.06h.82c-1.1-6.86-1.64-20.37-1.64-40.53V362H458zM702 657H525V362h170.2v54.1H591.49v65.63H688v53.9h-96.52v67.47H702zM960 416.1h-83.95V657h-66.5V416.1H726V362h234z"}}]}]},name:"dot-net",theme:"outlined"},r8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:r3}))}),r6=c(76281),r0=c(15713),r5={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 64zm184.5 353.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.6-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"down-circle",theme:"filled"},r7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:r5}))}),r9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"down-circle",theme:"outlined"},le=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:r9}))}),lt={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm184.4 277.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7z",fill:t}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z",fill:e}}]}},name:"down-circle",theme:"twotone"},lc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lt}))}),ln=c(12299),la={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM696.5 412.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19.9 4.9 25.9 13.2L512 558.6l105.2-145.4c6-8.3 15.6-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"down-square",theme:"filled"},lr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:la}))}),ll={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.5 658.7c3.2 4.4 9.7 4.4 12.9 0l178-246c3.8-5.3 0-12.7-6.5-12.7H643c-10.2 0-19.9 4.9-25.9 13.2L512 558.6 406.8 413.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"down-square",theme:"outlined"},lo=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ll}))}),li={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm150-440h46.9c10.3 0 19.9 4.9 25.9 13.2L512 558.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7z",fill:t}},{tag:"path",attrs:{d:"M505.5 658.7c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 558.6 406.8 413.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246z",fill:e}}]}},name:"down-square",theme:"twotone"},lu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:li}))}),ls=c(91158),lf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z"}}]},name:"drag",theme:"outlined"},lh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lf}))}),ld={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M675.1 328.3a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6zm47.7-11.9c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 736c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm53.1-346.2c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm30.6 82.5c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4z"}}]},name:"dribbble-circle",theme:"filled"},lv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ld}))}),lm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 96C282.6 96 96 282.6 96 512s186.6 416 416 416 416-186.6 416-416S741.4 96 512 96zm275.1 191.8c49.5 60.5 79.5 137.5 80.2 221.4-11.7-2.5-129.2-26.3-247.4-11.4-2.5-6.1-5-12.2-7.6-18.3-7.4-17.3-15.3-34.6-23.6-51.5C720 374.3 779.6 298 787.1 287.8zM512 157.2c90.3 0 172.8 33.9 235.5 89.5-6.4 9.1-59.9 81-186.2 128.4-58.2-107-122.7-194.8-132.6-208 27.3-6.6 55.2-9.9 83.3-9.9zM360.9 191c9.4 12.8 72.9 100.9 131.7 205.5C326.4 440.6 180 440 164.1 439.8c23.1-110.3 97.4-201.9 196.8-248.8zM156.7 512.5c0-3.6.1-7.3.2-10.9 15.5.3 187.7 2.5 365.2-50.6 10.2 19.9 19.9 40.1 28.8 60.3-4.7 1.3-9.4 2.7-14 4.2C353.6 574.9 256.1 736.4 248 750.1c-56.7-63-91.3-146.3-91.3-237.6zM512 867.8c-82.2 0-157.9-28-218.1-75 6.4-13.1 78.3-152 278.7-221.9l2.3-.8c49.9 129.6 70.5 238.3 75.8 269.5A350.46 350.46 0 01512 867.8zm198.5-60.7c-3.6-21.6-22.5-125.6-69-253.3C752.9 536 850.7 565.2 862.8 569c-15.8 98.8-72.5 184.2-152.3 238.1z"}}]},name:"dribbble",theme:"outlined"},lg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lm}))}),lz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm66.5 21.8c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM512 800c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm89.7-259.1c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zm-72.5-26.4c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4zm145.9-186.2a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6z"}}]},name:"dribbble-square",theme:"filled"},lp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lz}))}),lw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm66.5 21.8c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM512 800c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm89.7-259.1c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zm-72.5-26.4c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4zm145.9-186.2a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6z"}}]},name:"dribbble-square",theme:"outlined"},lM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lw}))}),lZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M663.8 455.5zm-151.5-93.8l-151.8 93.8 151.8 93.9 151.5-93.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm151.2 595.5L512.6 750l-151-90.5v-33.1l45.4 29.4 105.6-87.7 105.6 87.7 45.1-29.4v33.1zm-45.6-22.4l-105.3-87.7L407 637.1l-151-99.2 104.5-82.4L256 371.2 407 274l105.3 87.7L617.6 274 768 372.1l-104.2 83.5L768 539l-150.4 98.1z"}}]},name:"dropbox-circle",theme:"filled"},lH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lZ}))}),lb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M64 556.9l264.2 173.5L512.5 577 246.8 412.7zm896-290.3zm0 0L696.8 95 512.5 248.5l265.2 164.2L512.5 577l184.3 153.4L960 558.8 777.7 412.7zM513 609.8L328.2 763.3l-79.4-51.5v57.8L513 928l263.7-158.4v-57.8l-78.9 51.5zM328.2 95L64 265.1l182.8 147.6 265.7-164.2zM64 556.9z"}}]},name:"dropbox",theme:"outlined"},lV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lb}))}),lC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM663.2 659.5L512.6 750l-151-90.5v-33.1l45.4 29.4 105.6-87.7 105.6 87.7 45.1-29.4v33.1zm-45.6-22.4l-105.3-87.7L407 637.1l-151-99.2 104.5-82.4L256 371.2 407 274l105.3 87.7L617.6 274 768 372.1l-104.2 83.5L768 539l-150.4 98.1zM512.3 361.7l-151.8 93.8 151.8 93.9 151.5-93.9zm151.5 93.8z"}}]},name:"dropbox-square",theme:"filled"},lx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lC}))}),lE=c(55861),lL=c(40132),lR={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M761.1 288.3L687.8 215 325.1 577.6l-15.6 89 88.9-15.7z",fill:t}},{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89z",fill:e}}]}},name:"edit",theme:"twotone"},ly=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lR}))}),lB=c(52896),lS=c(73395),lO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 327c-29.9 0-58 11.6-79.2 32.8A111.6 111.6 0 00400 439c0 29.9 11.7 58 32.8 79.2A111.6 111.6 0 00512 551c29.9 0 58-11.7 79.2-32.8C612.4 497 624 468.9 624 439c0-29.9-11.6-58-32.8-79.2S541.9 327 512 327zm342.6-37.9a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 615c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z"}}]},name:"environment",theme:"filled"},lk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lO}))}),l$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 289.1a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1zm0-617.2c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8C612.4 381 624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z"}}]},name:"environment",theme:"outlined"},lT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:l$}))}),lF={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724.4 224.9C667.7 169.5 592.3 139 512 139s-155.7 30.5-212.4 85.8C243.1 280 212 353.2 212 431.1c0 241.3 234.1 407.2 300 449.1 65.9-41.9 300-207.8 300-449.1 0-77.9-31.1-151.1-87.6-206.2zM512 615c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z",fill:t}},{tag:"path",attrs:{d:"M512 263c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8S624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z",fill:e}},{tag:"path",attrs:{d:"M854.6 289.1a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1z",fill:e}}]}},name:"environment",theme:"twotone"},lI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lF}))}),lA={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 64zm63.5 375.8c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8h-136c-.3 4.4-.3 9.1-.3 13.8v36h136.2c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H444.9c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.2 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.3 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H344c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.8.3-12.8H344c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.7c19.7-94.2 92-149.9 198.6-149.9 20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346h.1c0 5.1-4.6 8.8-9.6 7.8-14.7-2.9-31.8-4.4-51.7-4.4-65.4 0-110.4 33.5-127.6 90.4h128.4z"}}]},name:"euro-circle",theme:"filled"},lD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lA}))}),lP={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm117.7-588.6c-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H344c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H344c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H439.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H447.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8z"}}]},name:"euro-circle",theme:"outlined"},lN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lP}))}),lq={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm117.1 581.1c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.4 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.7.3-12.8H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.8C388.5 345.7 460.7 290 567.4 290c20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346a8 8 0 01-9.6 7.8c-14.6-2.9-31.8-4.4-51.7-4.4-65.3 0-110.4 33.5-127.6 90.4h128.3c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8H432.5c-.3 4.4-.3 9.1-.3 13.8v36h136.4c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H438c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.3 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8z",fill:t}},{tag:"path",attrs:{d:"M619.6 670.5c-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H432.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H440.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H337c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H337c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8z",fill:e}}]}},name:"euro-circle",theme:"twotone"},lj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lq}))}),lW={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm117.7-588.6c-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H344c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H344c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H439.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H447.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8z"}}]},name:"euro",theme:"outlined"},lY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lW}))}),l_={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm117.1 581.1c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.4 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.7.3-12.8H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.8C388.5 345.7 460.7 290 567.4 290c20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346a8 8 0 01-9.6 7.8c-14.6-2.9-31.8-4.4-51.7-4.4-65.3 0-110.4 33.5-127.6 90.4h128.3c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8H432.5c-.3 4.4-.3 9.1-.3 13.8v36h136.4c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H438c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.3 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8z",fill:t}},{tag:"path",attrs:{d:"M619.6 670.5c-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H432.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H440.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H337c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H337c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8z",fill:e}}]}},name:"euro",theme:"twotone"},lK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:l_}))}),lU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5zM640 812a32 32 0 1064 0 32 32 0 10-64 0zm12-64h40c4.4 0 8-3.6 8-8V628c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8zM440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"exception",theme:"outlined"},lG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lU}))}),lX=c(71836),lQ=c(6873),lJ={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-32 156c0-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",fill:t}},{tag:"path",attrs:{d:"M488 576h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8zm-24 112a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"exclamation-circle",theme:"twotone"},l1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lJ}))}),l4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M448 804a64 64 0 10128 0 64 64 0 10-128 0zm32-168h64c4.4 0 8-3.6 8-8V164c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"exclamation",theme:"outlined"},l2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:l4}))}),l3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"expand-alt",theme:"outlined"},l8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:l3}))}),l6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M342 88H120c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V168h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm578 576h-48c-8.8 0-16 7.2-16 16v176H682c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V680c0-8.8-7.2-16-16-16zM342 856H168V680c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zM904 88H682c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V120c0-17.7-14.3-32-32-32z"}}]},name:"expand",theme:"outlined"},l0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:l6}))}),l5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M218.9 636.3l42.6 26.6c.1.1.3.2.4.3l12.7 8 .3.3a186.9 186.9 0 0094.1 25.1c44.9 0 87.2-15.7 121-43.8a256.27 256.27 0 01164.9-59.9c52.3 0 102.2 15.7 144.6 44.5l7.9 5-111.6-289V179.8h63.5c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8H264.7c-4.4 0-8 3.6-8 8v51.9c0 4.4 3.6 8 8 8h63.5v173.6L218.9 636.3zm333-203.1c22 0 39.9 17.9 39.9 39.9S573.9 513 551.9 513 512 495.1 512 473.1s17.9-39.9 39.9-39.9zM878 825.1l-29.9-77.4-85.7-53.5-.1.1c-.7-.5-1.5-1-2.2-1.5l-8.1-5-.3-.3c-29-17.5-62.3-26.8-97-26.8-44.9 0-87.2 15.7-121 43.8a256.27 256.27 0 01-164.9 59.9c-53 0-103.5-16.1-146.2-45.6l-28.9-18.1L146 825.1c-2.8 7.4-4.3 15.2-4.3 23 0 35.2 28.6 63.8 63.8 63.8h612.9c7.9 0 15.7-1.5 23-4.3a63.6 63.6 0 0036.6-82.5z"}}]},name:"experiment",theme:"filled"},l7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:l5}))}),l9=c(67423),oe={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M551.9 513c19.6 0 35.9-14.2 39.3-32.8A40.02 40.02 0 01552 512a40 40 0 01-40-39.4v.5c0 22 17.9 39.9 39.9 39.9zM752 687.8l-.3-.3c-29-17.5-62.3-26.8-97-26.8-44.9 0-87.2 15.7-121 43.8a256.27 256.27 0 01-164.9 59.9c-41.2 0-81-9.8-116.7-28L210.5 844h603l-59.9-155.2-1.6-1z",fill:t}},{tag:"path",attrs:{d:"M879 824.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.6-107.6.1-.2c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1l.6 1.6L813.5 844h-603z",fill:e}},{tag:"path",attrs:{d:"M552 512c19.3 0 35.4-13.6 39.2-31.8.6-2.7.8-5.4.8-8.2 0-22.1-17.9-40-40-40s-40 17.9-40 40v.6a40 40 0 0040 39.4z",fill:e}}]}},name:"experiment",theme:"twotone"},ot=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oe}))}),oc=c(98028),on={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M396 512a112 112 0 10224 0 112 112 0 10-224 0zm546.2-25.8C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM508 688c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z"}}]},name:"eye",theme:"filled"},oa=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:on}))}),or={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M508 624a112 112 0 00112-112c0-3.28-.15-6.53-.43-9.74L498.26 623.57c3.21.28 6.45.43 9.74.43zm370.72-458.44L836 122.88a8 8 0 00-11.31 0L715.37 232.23Q624.91 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.7 119.43 136.55 191.45L112.56 835a8 8 0 000 11.31L155.25 889a8 8 0 0011.31 0l712.16-712.12a8 8 0 000-11.32zM332 512a176 176 0 01258.88-155.28l-48.62 48.62a112.08 112.08 0 00-140.92 140.92l-48.62 48.62A175.09 175.09 0 01332 512z"}},{tag:"path",attrs:{d:"M942.2 486.2Q889.4 375 816.51 304.85L672.37 449A176.08 176.08 0 01445 676.37L322.74 798.63Q407.82 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5z"}}]},name:"eye-invisible",theme:"filled"},ol=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:or}))}),oo=c(86617),oi={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M254.89 758.85l125.57-125.57a176 176 0 01248.82-248.82L757 256.72Q651.69 186.07 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q69.27 145.91 173.09 221.05zM942.2 486.2Q889.46 375.11 816.7 305L672.48 449.27a176.09 176.09 0 01-227.22 227.21L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5z",fill:t}},{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zM878.63 165.56L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z",fill:e}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z",fill:e}}]}},name:"eye-invisible",theme:"twotone"},ou=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oi}))}),os=c(32982),of={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M81.8 537.8a60.3 60.3 0 010-51.5C176.6 286.5 319.8 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c-192.1 0-335.4-100.5-430.2-300.2z",fill:t}},{tag:"path",attrs:{d:"M512 258c-161.3 0-279.4 81.8-362.7 254C232.6 684.2 350.7 766 512 766c161.4 0 279.5-81.8 362.7-254C791.4 339.8 673.3 258 512 258zm-4 430c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z",fill:t}},{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258s279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766z",fill:e}},{tag:"path",attrs:{d:"M508 336c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z",fill:e}}]}},name:"eye",theme:"twotone"},oh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:of}))}),od={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-92.4 233.5h-63.9c-50.1 0-59.8 23.8-59.8 58.8v77.1h119.6l-15.6 120.7h-104V912H539.2V602.2H434.9V481.4h104.3v-89c0-103.3 63.1-159.6 155.3-159.6 44.2 0 82.1 3.3 93.2 4.8v107.9z"}}]},name:"facebook",theme:"filled"},ov=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:od}))}),om={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z"}}]},name:"facebook",theme:"outlined"},og=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:om}))}),oz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M925.9 804l-24-199.2c-.8-6.6-8.9-9.4-13.6-4.7L829 659.5 557.7 388.3c-6.3-6.2-16.4-6.2-22.6 0L433.3 490 156.6 213.3a8.03 8.03 0 00-11.3 0l-45 45.2a8.03 8.03 0 000 11.3L422 591.7c6.2 6.3 16.4 6.3 22.6 0L546.4 490l226.1 226-59.3 59.3a8.01 8.01 0 004.7 13.6l199.2 24c5.1.7 9.5-3.7 8.8-8.9z"}}]},name:"fall",theme:"outlined"},op=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oz}))}),ow={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M517.6 273.5L230.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm-620-25.5h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z"}}]},name:"fast-backward",theme:"filled"},oM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ow}))}),oZ={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M517.6 273.5L230.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm-620-25.5h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z"}}]},name:"fast-backward",theme:"outlined"},oH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oZ}))}),ob={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M793.8 499.3L506.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.6c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8a16.14 16.14 0 000-25.4zm-320 0L186.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.5c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8c4.1-3.2 6.2-8 6.2-12.7 0-4.6-2.1-9.4-6.2-12.6zM857.6 248h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z"}}]},name:"fast-forward",theme:"filled"},oV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ob}))}),oC={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M793.8 499.3L506.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.6c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8a16.14 16.14 0 000-25.4zm-320 0L186.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.5c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8c4.1-3.2 6.2-8 6.2-12.7 0-4.6-2.1-9.4-6.2-12.6zM857.6 248h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z"}}]},name:"fast-forward",theme:"outlined"},ox=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oC}))}),oE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M600 395.4h91V649h79V267c0-4.4-3.6-8-8-8h-48.2c-3.7 0-7 2.6-7.7 6.3-2.6 12.1-6.9 22.3-12.9 30.9a86.14 86.14 0 01-26.3 24.4c-10.3 6.2-22 10.5-35 12.9-10.4 1.9-21 3-32 3.1a8 8 0 00-7.9 8v42.8c0 4.4 3.6 8 8 8zM871 702H567c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM443.9 312.7c-16.1-19-34.4-32.4-55.2-40.4-21.3-8.2-44.1-12.3-68.4-12.3-23.9 0-46.4 4.1-67.7 12.3-20.8 8-39 21.4-54.8 40.3-15.9 19.1-28.7 44.7-38.3 77-9.6 32.5-14.5 73-14.5 121.5 0 49.9 4.9 91.4 14.5 124.4 9.6 32.8 22.4 58.7 38.3 77.7 15.8 18.9 34 32.3 54.8 40.3 21.3 8.2 43.8 12.3 67.7 12.3 24.4 0 47.2-4.1 68.4-12.3 20.8-8 39.2-21.4 55.2-40.4 16.1-19 29-44.9 38.6-77.7 9.6-33 14.5-74.5 14.5-124.4 0-48.4-4.9-88.9-14.5-121.5-9.5-32.1-22.4-57.7-38.6-76.8zm-29.5 251.7c-1 21.4-4.2 42-9.5 61.9-5.5 20.7-14.5 38.5-27 53.4-13.6 16.3-33.2 24.3-57.6 24.3-24 0-43.2-8.1-56.7-24.4-12.2-14.8-21.1-32.6-26.6-53.3-5.3-19.9-8.5-40.6-9.5-61.9-1-20.8-1.5-38.5-1.5-53.2 0-8.8.1-19.4.4-31.8.2-12.7 1.1-25.8 2.6-39.2 1.5-13.6 4-27.1 7.6-40.5 3.7-13.8 8.8-26.3 15.4-37.4 6.9-11.6 15.8-21.1 26.7-28.3 11.4-7.6 25.3-11.3 41.5-11.3 16.1 0 30.1 3.7 41.7 11.2a87.94 87.94 0 0127.4 28.2c6.9 11.2 12.1 23.8 15.6 37.7 3.3 13.2 5.8 26.6 7.5 40.1 1.8 13.5 2.8 26.6 3 39.4.2 12.4.4 23 .4 31.8.1 14.8-.4 32.5-1.4 53.3z"}}]},name:"field-binary",theme:"outlined"},oL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oE}))}),oR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M508 280h-63.3c-3.3 0-6 2.7-6 6v340.2H433L197.4 282.6c-1.1-1.6-3-2.6-4.9-2.6H126c-3.3 0-6 2.7-6 6v464c0 3.3 2.7 6 6 6h62.7c3.3 0 6-2.7 6-6V405.1h5.7l238.2 348.3c1.1 1.6 3 2.6 5 2.6H508c3.3 0 6-2.7 6-6V286c0-3.3-2.7-6-6-6zm378 413H582c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-152.2-63c52.9 0 95.2-17.2 126.2-51.7 29.4-32.9 44-75.8 44-128.8 0-53.1-14.6-96.5-44-129.3-30.9-34.8-73.2-52.2-126.2-52.2-53.7 0-95.9 17.5-126.3 52.8-29.2 33.1-43.4 75.9-43.4 128.7 0 52.4 14.3 95.2 43.5 128.3 30.6 34.7 73 52.2 126.2 52.2zm-71.5-263.7c16.9-20.6 40.3-30.9 71.4-30.9 31.5 0 54.8 9.6 71 29.1 16.4 20.3 24.9 48.6 24.9 84.9 0 36.3-8.4 64.1-24.8 83.9-16.5 19.4-40 29.2-71.1 29.2-31.2 0-55-10.3-71.4-30.4-16.3-20.1-24.5-47.3-24.5-82.6.1-35.8 8.2-63 24.5-83.2z"}}]},name:"field-number",theme:"outlined"},oy=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oR}))}),oB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M875.6 515.9c2.1.8 4.4-.3 5.2-2.4.2-.4.2-.9.2-1.4v-58.3c0-1.8-1.1-3.3-2.8-3.8-6-1.8-17.2-3-27.2-3-32.9 0-61.7 16.7-73.5 41.2v-28.6c0-4.4-3.6-8-8-8H717c-4.4 0-8 3.6-8 8V729c0 4.4 3.6 8 8 8h54.8c4.4 0 8-3.6 8-8V572.7c0-36.2 26.1-60.2 65.1-60.2 10.4.1 26.6 1.8 30.7 3.4zm-537-40.5l-54.7-12.6c-61.2-14.2-87.7-34.8-87.7-70.7 0-44.6 39.1-73.5 96.9-73.5 52.8 0 91.4 26.5 99.9 68.9h70C455.9 311.6 387.6 259 293.4 259c-103.3 0-171 55.5-171 139 0 68.6 38.6 109.5 122.2 128.5l61.6 14.3c63.6 14.9 91.6 37.1 91.6 75.1 0 44.1-43.5 75.2-102.5 75.2-60.6 0-104.5-27.2-112.8-70.5H111c7.2 79.9 75.6 130.4 179.1 130.4C402.3 751 471 695.2 471 605.3c0-70.2-38.6-108.5-132.4-129.9zM841 729a36 36 0 1072 0 36 36 0 10-72 0zM653 457.8h-51.4V396c0-4.4-3.6-8-8-8h-54.7c-4.4 0-8 3.6-8 8v61.8H495c-4.4 0-8 3.6-8 8v42.3c0 4.4 3.6 8 8 8h35.9v147.5c0 56.2 27.4 79.4 93.1 79.4 11.7 0 23.6-1.2 33.8-3.1 1.9-.3 3.2-2 3.2-3.9v-49.3c0-2.2-1.8-4-4-4h-.4c-4.9.5-6.2.6-8.3.8-4.1.3-7.8.5-12.6.5-24.1 0-34.1-10.3-34.1-35.6V516.1H653c4.4 0 8-3.6 8-8v-42.3c0-4.4-3.6-8-8-8z"}}]},name:"field-string",theme:"outlined"},oS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oB}))}),oO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z"}},{tag:"path",attrs:{d:"M804.8 673.9H747c-5.6 0-10.9 2.9-13.9 7.7a321 321 0 01-44.5 55.7 317.17 317.17 0 01-101.3 68.3c-39.3 16.6-81 25-124 25-43.1 0-84.8-8.4-124-25-37.9-16-72-39-101.3-68.3s-52.3-63.4-68.3-101.3c-16.6-39.2-25-80.9-25-124 0-43.1 8.4-84.7 25-124 16-37.9 39-72 68.3-101.3 29.3-29.3 63.4-52.3 101.3-68.3 39.2-16.6 81-25 124-25 43.1 0 84.8 8.4 124 25 37.9 16 72 39 101.3 68.3a321 321 0 0144.5 55.7c3 4.8 8.3 7.7 13.9 7.7h57.8c6.9 0 11.3-7.2 8.2-13.3-65.2-129.7-197.4-214-345-215.7-216.1-2.7-395.6 174.2-396 390.1C71.6 727.5 246.9 903 463.2 903c149.5 0 283.9-84.6 349.8-215.8a9.18 9.18 0 00-8.2-13.3z"}}]},name:"field-time",theme:"outlined"},ok=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oO}))}),o$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M480 580H372a8 8 0 00-8 8v48a8 8 0 008 8h108v108a8 8 0 008 8h48a8 8 0 008-8V644h108a8 8 0 008-8v-48a8 8 0 00-8-8H544V472a8 8 0 00-8-8h-48a8 8 0 00-8 8v108zm374.6-291.3c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z"}}]},name:"file-add",theme:"filled"},oT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:o$}))}),oF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z"}}]},name:"file-add",theme:"outlined"},oI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oF}))}),oA={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm126 236v48c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V644H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V472c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z",fill:e}}]}},name:"file-add",theme:"twotone"},oD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oA}))}),oP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5zM761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9a7.92 7.92 0 00-6.5-3.3H573c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.9-5.3.1-12.7-6.4-12.7zM440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"file-done",theme:"outlined"},oN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oP}))}),oq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM575.34 477.84l-61.22 102.3L452.3 477.8a12 12 0 00-10.27-5.79h-38.44a12 12 0 00-6.4 1.85 12 12 0 00-3.75 16.56l82.34 130.42-83.45 132.78a12 12 0 00-1.84 6.39 12 12 0 0012 12h34.46a12 12 0 0010.21-5.7l62.7-101.47 62.3 101.45a12 12 0 0010.23 5.72h37.48a12 12 0 006.48-1.9 12 12 0 003.62-16.58l-83.83-130.55 85.3-132.47a12 12 0 001.9-6.5 12 12 0 00-12-12h-35.7a12 12 0 00-10.29 5.84z"}}]},name:"file-excel",theme:"filled"},oj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oq}))}),oW=c(84542),oY={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm51.6 120h35.7a12.04 12.04 0 0110.1 18.5L546.1 623l84 130.4c3.6 5.6 2 13-3.6 16.6-2 1.2-4.2 1.9-6.5 1.9h-37.5c-4.1 0-8-2.1-10.2-5.7L510 664.8l-62.7 101.5c-2.2 3.5-6 5.7-10.2 5.7h-34.5a12.04 12.04 0 01-10.2-18.4l83.4-132.8-82.3-130.4c-3.6-5.7-1.9-13.1 3.7-16.6 1.9-1.3 4.1-1.9 6.4-1.9H442c4.2 0 8.1 2.2 10.3 5.8l61.8 102.4 61.2-102.3c2.2-3.6 6.1-5.8 10.3-5.8z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z",fill:e}}]}},name:"file-excel",theme:"twotone"},o_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oY}))}),oK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM512 784a40 40 0 100-80 40 40 0 000 80zm32-152V448a8 8 0 00-8-8h-48a8 8 0 00-8 8v184a8 8 0 008 8h48a8 8 0 008-8z"}}]},name:"file-exclamation",theme:"filled"},oU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oK}))}),oG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM472 744a40 40 0 1080 0 40 40 0 10-80 0zm16-104h48c4.4 0 8-3.6 8-8V448c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8z"}}]},name:"file-exclamation",theme:"outlined"},oX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oG}))}),oQ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-54 96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V448zm32 336c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M488 640h48c4.4 0 8-3.6 8-8V448c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm-16 104a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"file-exclamation",theme:"twotone"},oJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oQ}))}),o1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z"}}]},name:"file",theme:"filled"},o4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:o1}))}),o2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M551.5 490.5H521c-4.6 0-8.4 3.7-8.4 8.4V720c0 4.6 3.7 8.4 8.4 8.4h30.5c4.6 0 8.4-3.7 8.4-8.4V498.9c-.1-4.6-3.8-8.4-8.4-8.4zM477.3 600h-88.1c-4.6 0-8.4 3.7-8.4 8.4v23.8c0 4.6 3.7 8.4 8.4 8.4h47.6v.7c-.6 29.9-23 49.8-56.5 49.8-39.2 0-63.6-30.7-63.6-81.4 0-50.1 23.9-80.6 62.3-80.6 28.1 0 47.5 13.5 55.4 38.3l.9 2.8h49.2l-.7-4.6C475.9 515.9 434.7 484 379 484c-68.8 0-113 49.4-113 125.9 0 77.5 43.7 126.1 113.6 126.1 64.4 0 106-40.3 106-102.9v-24.8c0-4.6-3.7-8.3-8.3-8.3z"}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z"}},{tag:"path",attrs:{d:"M608.2 727.8h32.3c4.6 0 8.4-3.7 8.4-8.4v-84.8h87.8c4.6 0 8.4-3.7 8.4-8.4v-25.5c0-4.6-3.7-8.4-8.4-8.4h-87.8v-58.9h96.8c4.6 0 8.4-3.7 8.4-8.4v-26.8c0-4.6-3.7-8.4-8.4-8.4H608.2c-4.6 0-8.4 3.7-8.4 8.4v221.1c0 4.8 3.8 8.5 8.4 8.5z"}}]},name:"file-gif",theme:"outlined"},o3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:o2}))}),o8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM400 402c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8 8 0 0112.6 0l136.5 174c4.3 5.2.5 12.9-6.1 12.9zm-94-370V137.8L790.2 326H602z"}}]},name:"file-image",theme:"filled"},o6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:o8}))}),o0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0zm494.6-153.4L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file-image",theme:"outlined"},o5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:o0}))}),o7={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-134 50c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328.1c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8.1 8.1 0 0112.7 0l136.5 174c4.1 5.2.4 12.9-6.3 12.9z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"file-image",theme:"twotone"},o9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:o7}))}),ie={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M874.6 301.8L596.8 21.3c-4.5-4.5-9.4-8.3-14.7-11.5-1.4-.8-2.8-1.6-4.3-2.3-.9-.5-1.9-.9-2.8-1.3-9-4-18.9-6.2-29-6.2H201c-39.8 0-73 32.2-73 72v880c0 39.8 33.2 72 73 72h623c39.8 0 71-32.2 71-72V352.5c0-19-7-37.2-20.4-50.7zM583 110.4L783.8 312H583V110.4zM823 952H200V72h311v240c0 39.8 33.2 72 73 72h239v568zM350 696.5c0 24.2-7.5 31.4-21.9 31.4-9 0-18.4-5.8-24.8-18.5L272.9 732c13.4 22.9 32.3 34.2 61.3 34.2 41.6 0 60.8-29.9 60.8-66.2V577h-45v119.5zM501.3 577H437v186h44v-62h21.6c39.1 0 73.1-19.6 73.1-63.6 0-45.8-33.5-60.4-74.4-60.4zm-.8 89H481v-53h18.2c21.5 0 33.4 6.2 33.4 24.9 0 18.1-10.5 28.1-32.1 28.1zm182.5-9v36h30v30.1c-4 2.9-11 4.7-17.7 4.7-34.3 0-50.7-21.4-50.7-58.2 0-36.1 19.7-57.4 47.1-57.4 15.3 0 25 6.2 34 14.4l23.7-28.3c-12.7-12.8-32.1-24.2-59.2-24.2-49.6 0-91.1 35.3-91.1 97 0 62.7 40 95.1 91.5 95.1 25.9 0 49.2-10.2 61.5-22.6V657H683z"}}]},name:"file-jpg",theme:"outlined"},it=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ie}))}),ic={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.97a16 16 0 0014.62 9.5h24.06a16 16 0 0014.63-9.51l59.1-133.35V758a16 16 0 0016.01 16H641a16 16 0 0016-16V486a16 16 0 00-16-16h-34.75a16 16 0 00-14.67 9.62L512.1 662.2l-79.48-182.59a16 16 0 00-14.67-9.61H383a16 16 0 00-16 16v272a16 16 0 0016 16h27.13a16 16 0 0016-16V600.93z"}}]},name:"file-markdown",theme:"filled"},ia=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ic}))}),ir={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z"}}]},name:"file-markdown",theme:"outlined"},il=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ir}))}),io={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm72.3 122H641c6.6 0 12 5.4 12 12v272c0 6.6-5.4 12-12 12h-27.2c-6.6 0-12-5.4-12-12V581.7L535 732.3c-2 4.3-6.3 7.1-11 7.1h-24.1a12 12 0 01-11-7.1l-66.8-150.2V758c0 6.6-5.4 12-12 12H383c-6.6 0-12-5.4-12-12V486c0-6.6 5.4-12 12-12h35c4.8 0 9.1 2.8 11 7.2l83.2 191 83.1-191c1.9-4.4 6.2-7.2 11-7.2z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z",fill:e}}]}},name:"file-markdown",theme:"twotone"},ii=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:io}))}),iu=c(62246),is={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM633.22 637.26c-15.18-.5-31.32.67-49.65 2.96-24.3-14.99-40.66-35.58-52.28-65.83l1.07-4.38 1.24-5.18c4.3-18.13 6.61-31.36 7.3-44.7.52-10.07-.04-19.36-1.83-27.97-3.3-18.59-16.45-29.46-33.02-30.13-15.45-.63-29.65 8-33.28 21.37-5.91 21.62-2.45 50.07 10.08 98.59-15.96 38.05-37.05 82.66-51.2 107.54-18.89 9.74-33.6 18.6-45.96 28.42-16.3 12.97-26.48 26.3-29.28 40.3-1.36 6.49.69 14.97 5.36 21.92 5.3 7.88 13.28 13 22.85 13.74 24.15 1.87 53.83-23.03 86.6-79.26 3.29-1.1 6.77-2.26 11.02-3.7l11.9-4.02c7.53-2.54 12.99-4.36 18.39-6.11 23.4-7.62 41.1-12.43 57.2-15.17 27.98 14.98 60.32 24.8 82.1 24.8 17.98 0 30.13-9.32 34.52-23.99 3.85-12.88.8-27.82-7.48-36.08-8.56-8.41-24.3-12.43-45.65-13.12zM385.23 765.68v-.36l.13-.34a54.86 54.86 0 015.6-10.76c4.28-6.58 10.17-13.5 17.47-20.87 3.92-3.95 8-7.8 12.79-12.12 1.07-.96 7.91-7.05 9.19-8.25l11.17-10.4-8.12 12.93c-12.32 19.64-23.46 33.78-33 43-3.51 3.4-6.6 5.9-9.1 7.51a16.43 16.43 0 01-2.61 1.42c-.41.17-.77.27-1.13.3a2.2 2.2 0 01-1.12-.15 2.07 2.07 0 01-1.27-1.91zM511.17 547.4l-2.26 4-1.4-4.38c-3.1-9.83-5.38-24.64-6.01-38-.72-15.2.49-24.32 5.29-24.32 6.74 0 9.83 10.8 10.07 27.05.22 14.28-2.03 29.14-5.7 35.65zm-5.81 58.46l1.53-4.05 2.09 3.8c11.69 21.24 26.86 38.96 43.54 51.31l3.6 2.66-4.39.9c-16.33 3.38-31.54 8.46-52.34 16.85 2.17-.88-21.62 8.86-27.64 11.17l-5.25 2.01 2.8-4.88c12.35-21.5 23.76-47.32 36.05-79.77zm157.62 76.26c-7.86 3.1-24.78.33-54.57-12.39l-7.56-3.22 8.2-.6c23.3-1.73 39.8-.45 49.42 3.07 4.1 1.5 6.83 3.39 8.04 5.55a4.64 4.64 0 01-1.36 6.31 6.7 6.7 0 01-2.17 1.28z"}}]},name:"file-pdf",theme:"filled"},ih=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:is}))}),id={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file-pdf",theme:"outlined"},iv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:id}))}),im={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M509.2 490.8c-.7-1.3-1.4-1.9-2.2-2-2.9 3.3-2.2 31.5 2.7 51.4 4-13.6 4.7-40.5-.5-49.4zm-1.6 120.5c-7.7 20-18.8 47.3-32.1 71.4 4-1.6 8.1-3.3 12.3-5 17.6-7.2 37.3-15.3 58.9-20.2-14.9-11.8-28.4-27.7-39.1-46.2z",fill:t}},{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm55 287.6c16.1-1.9 30.6-2.8 44.3-2.3 12.8.4 23.6 2 32 5.1.2.1.3.1.5.2.4.2.8.3 1.2.5.5.2 1.1.4 1.6.7.1.1.3.1.4.2 4.1 1.8 7.5 4 10.1 6.6 9.1 9.1 11.8 26.1 6.2 39.6-3.2 7.7-11.7 20.5-33.3 20.5-21.8 0-53.9-9.7-82.1-24.8-25.5 4.3-53.7 13.9-80.9 23.1-5.8 2-11.8 4-17.6 5.9-38 65.2-66.5 79.4-84.1 79.4-4.2 0-7.8-.9-10.8-2-6.9-2.6-12.8-8-16.5-15-.9-1.7-1.6-3.4-2.2-5.2-1.6-4.8-2.1-9.6-1.3-13.6l.6-2.7c.1-.2.1-.4.2-.6.2-.7.4-1.4.7-2.1 0-.1.1-.2.1-.3 4.1-11.9 13.6-23.4 27.7-34.6 12.3-9.8 27.1-18.7 45.9-28.4 15.9-28 37.6-75.1 51.2-107.4-10.8-41.8-16.7-74.6-10.1-98.6.9-3.3 2.5-6.4 4.6-9.1.2-.2.3-.4.5-.6.1-.1.1-.2.2-.2 6.3-7.5 16.9-11.9 28.1-11.5 16.6.7 29.7 11.5 33 30.1 1.7 8 2.2 16.5 1.9 25.7v.7c0 .5 0 1-.1 1.5-.7 13.3-3 26.6-7.3 44.7-.4 1.6-.8 3.2-1.2 5.2l-1 4.1-.1.3c.1.2.1.3.2.5l1.8 4.5c.1.3.3.7.4 1 .7 1.6 1.4 3.3 2.1 4.8v.1c8.7 18.8 19.7 33.4 33.9 45.1 4.3 3.5 8.9 6.7 13.9 9.8 1.8-.5 3.5-.7 5.3-.9z",fill:t}},{tag:"path",attrs:{d:"M391.5 761c5.7-4.4 16.2-14.5 30.1-34.7-10.3 9.4-23.4 22.4-30.1 34.7zm270.9-83l.2-.3h.2c.6-.4.5-.7.4-.9-.1-.1-4.5-9.3-45.1-7.4 35.3 13.9 43.5 9.1 44.3 8.6z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M535.9 585.3c-.8-1.7-1.5-3.3-2.2-4.9-.1-.3-.3-.7-.4-1l-1.8-4.5c-.1-.2-.1-.3-.2-.5l.1-.3.2-1.1c4-16.3 8.6-35.3 9.4-54.4v-.7c.3-8.6-.2-17.2-2-25.6-3.8-21.3-19.5-29.6-32.9-30.2-11.3-.5-21.8 4-28.1 11.4-.1.1-.1.2-.2.2-.2.2-.4.4-.5.6-2.1 2.7-3.7 5.8-4.6 9.1-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.4-51.2 107.4v.1c-27.7 14.3-64.1 35.8-73.6 62.9 0 .1-.1.2-.1.3-.2.7-.5 1.4-.7 2.1-.1.2-.1.4-.2.6-.2.9-.5 1.8-.6 2.7-.9 4-.4 8.8 1.3 13.6.6 1.8 1.3 3.5 2.2 5.2 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-2.6-2.6-6-4.8-10.1-6.6-.1-.1-.3-.1-.4-.2-.5-.2-1.1-.4-1.6-.7-.4-.2-.8-.3-1.2-.5-.2-.1-.3-.1-.5-.2-16.2-5.8-41.7-6.7-76.3-2.8l-5.3.6c-5-3-9.6-6.3-13.9-9.8-14.2-11.3-25.1-25.8-33.8-44.7zM391.5 761c6.7-12.3 19.8-25.3 30.1-34.7-13.9 20.2-24.4 30.3-30.1 34.7zM507 488.8c.8.1 1.5.7 2.2 2 5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4zm-19.2 188.9c-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4 10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2zm175.4-.9c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4z",fill:e}}]}},name:"file-pdf",theme:"twotone"},ig=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:im}))}),iz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM468.53 760v-91.54h59.27c60.57 0 100.2-39.65 100.2-98.12 0-58.22-39.58-98.34-99.98-98.34H424a12 12 0 00-12 12v276a12 12 0 0012 12h32.53a12 12 0 0012-12zm0-139.33h34.9c47.82 0 67.19-12.93 67.19-50.33 0-32.05-18.12-50.12-49.87-50.12h-52.22v100.45z"}}]},name:"file-ppt",theme:"filled"},ip=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iz}))}),iw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M424 476c-4.4 0-8 3.6-8 8v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.3c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1zm280-281.7L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file-ppt",theme:"outlined"},iM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iw}))}),iZ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464.5 516.2v108.4h38.9c44.7 0 71.2-10.9 71.2-54.3 0-34.4-20.1-54.1-53.9-54.1h-56.2z",fill:t}},{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm90 218.4c0 55.2-36.8 94.1-96.2 94.1h-63.3V760c0 4.4-3.6 8-8 8H424c-4.4 0-8-3.6-8-8V484c0-4.4 3.6-8 8-8v.1h104c59.7 0 96 39.8 96 94.3z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M424 476.1c-4.4-.1-8 3.5-8 7.9v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.2c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1z",fill:e}}]}},name:"file-ppt",theme:"twotone"},iH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iZ}))}),ib={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M644.7 669.2a7.92 7.92 0 00-6.5-3.3H594c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.8-5.3 0-12.7-6.5-12.7h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-22.9-31.9zM688 306v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 458H208V148h560v296c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h312c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm402.6-320.8l-192-66.7c-.9-.3-1.7-.4-2.6-.4s-1.8.1-2.6.4l-192 66.7a7.96 7.96 0 00-5.4 7.5v251.1c0 2.5 1.1 4.8 3.1 6.3l192 150.2c1.4 1.1 3.2 1.7 4.9 1.7s3.5-.6 4.9-1.7l192-150.2c1.9-1.5 3.1-3.8 3.1-6.3V538.7c0-3.4-2.2-6.4-5.4-7.5zM826 763.7L688 871.6 550 763.7V577l138-48 138 48v186.7z"}}]},name:"file-protect",theme:"outlined"},iV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ib}))}),iC=c(79092),ix={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 256c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm192 200v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8zm-48 396H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm104.1-115.6c1.8-34.5 16.2-66.8 40.8-91.4 26.2-26.2 62-41 99.1-41 37.4 0 72.6 14.6 99.1 41 3.2 3.2 6.3 6.6 9.2 10.1L769.2 673a8 8 0 003 14.1l93.3 22.5c5 1.2 9.8-2.6 9.9-7.7l.6-95.4a8 8 0 00-12.9-6.4l-20.3 15.8C805.4 569.6 748.1 540 684 540c-109.9 0-199.6 86.9-204 195.7-.2 4.5 3.5 8.3 8 8.3h48.1c4.3 0 7.8-3.3 8-7.6zM880 744h-48.1c-4.3 0-7.8 3.3-8 7.6-1.8 34.5-16.2 66.8-40.8 91.4-26.2 26.2-62 41-99.1 41-37.4 0-72.6-14.6-99.1-41-3.2-3.2-6.3-6.6-9.2-10.1l23.1-17.9a8 8 0 00-3-14.1l-93.3-22.5c-5-1.2-9.8 2.6-9.9 7.7l-.6 95.4a8 8 0 0012.9 6.4l20.3-15.8C562.6 918.4 619.9 948 684 948c109.9 0 199.6-86.9 204-195.7.2-4.5-3.5-8.3-8-8.3z"}}]},name:"file-sync",theme:"outlined"},iE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ix}))}),iL=c(32373),iR=c(59098),iy={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-22 322c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm200-184v48c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8zm192 128H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"file-text",theme:"twotone"},iB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iy}))}),iS=c(55772),iO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM402 549c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103zm110 227a32 32 0 100-64 32 32 0 000 64z"}}]},name:"file-unknown",theme:"filled"},ik=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iO}))}),i$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM402 549c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103zm78 195a32 32 0 1064 0 32 32 0 10-64 0z"}}]},name:"file-unknown",theme:"outlined"},iT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i$}))}),iF={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-22 424c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm110-228.4c.7 44.9-29.7 84.5-74.3 98.9-5.7 1.8-9.7 7.3-9.7 13.3V672c0 5.5-4.5 10-10 10h-32c-5.5 0-10-4.5-10-10v-32c.2-19.8 15.4-37.3 34.7-40.1C549 596.2 570 574.3 570 549c0-28.1-25.8-51.5-58-51.5s-58 23.4-58 51.6c0 5.2-4.4 9.4-9.8 9.4h-32.4c-5.4 0-9.8-4.1-9.8-9.5 0-57.4 50.1-103.7 111.5-103 59.3.8 107.7 46.1 108.5 101.6z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M480 744a32 32 0 1064 0 32 32 0 10-64 0zm-78-195c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103z",fill:e}}]}},name:"file-unknown",theme:"twotone"},iI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iF}))}),iA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM512 566.1l52.81 197a12 12 0 0011.6 8.9h31.77a12 12 0 0011.6-8.88l74.37-276a12 12 0 00.4-3.12 12 12 0 00-12-12h-35.57a12 12 0 00-11.7 9.31l-45.78 199.1-49.76-199.32A12 12 0 00528.1 472h-32.2a12 12 0 00-11.64 9.1L434.6 680.01 388.5 481.3a12 12 0 00-11.68-9.29h-35.39a12 12 0 00-3.11.41 12 12 0 00-8.47 14.7l74.17 276A12 12 0 00415.6 772h31.99a12 12 0 0011.59-8.9l52.81-197z"}}]},name:"file-word",theme:"filled"},iD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iA}))}),iP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM528.1 472h-32.2c-5.5 0-10.3 3.7-11.6 9.1L434.6 680l-46.1-198.7c-1.3-5.4-6.1-9.3-11.7-9.3h-35.4a12.02 12.02 0 00-11.6 15.1l74.2 276c1.4 5.2 6.2 8.9 11.6 8.9h32c5.4 0 10.2-3.6 11.6-8.9l52.8-197 52.8 197c1.4 5.2 6.2 8.9 11.6 8.9h31.8c5.4 0 10.2-3.6 11.6-8.9l74.4-276a12.04 12.04 0 00-11.6-15.1H647c-5.6 0-10.4 3.9-11.7 9.3l-45.8 199.1-49.8-199.3c-1.3-5.4-6.1-9.1-11.6-9.1z"}}]},name:"file-word",theme:"outlined"},iN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iP}))}),iq=c(34934),ij={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM296 136v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm0 64v160h128V584H296zm48 48h32v64h-32v-64z"}}]},name:"file-zip",theme:"filled"},iW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ij}))}),iY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 392h64v64h-64zm0 190v160h128V582h-64v-62h-64v62zm80 48v64h-32v-64h32zm-16-302h64v64h-64zm-64-64h64v64h-64zm64 192h64v64h-64zm0-256h64v64h-64zm494.6 88.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h64v64h64v-64h174v216a42 42 0 0042 42h216v494z"}}]},name:"file-zip",theme:"outlined"},i_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iY}))}),iK={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M344 630h32v2h-32z",fill:t}},{tag:"path",attrs:{d:"M534 352V136H360v64h64v64h-64v64h64v64h-64v64h64v64h-64v62h64v160H296V520h64v-64h-64v-64h64v-64h-64v-64h64v-64h-64v-64h-64v752h560V394H576a42 42 0 01-42-42z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h64v64h64v-64h174v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M296 392h64v64h-64zm0-128h64v64h-64zm0 318v160h128V582h-64v-62h-64v62zm48 50v-2h32v64h-32v-62zm16-432h64v64h-64zm0 256h64v64h-64zm0-128h64v64h-64z",fill:e}}]}},name:"file-zip",theme:"twotone"},iU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iK}))}),iG=c(83780),iX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"},iQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iX}))}),iJ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M420.6 798h182.9V642H420.6zM411 561.4l9.5 16.6h183l9.5-16.6L811.3 226H212.7z",fill:t}},{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.5 798H420.6V642h182.9v156zm9.5-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z",fill:e}}]}},name:"filter",theme:"twotone"},i1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iJ}))}),i4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9z"}}]},name:"fire",theme:"filled"},i2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i4}))}),i3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},i8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i3}))}),i6={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M737 438.6c-9.6 15.5-21.1 30.7-34.4 45.6a73.1 73.1 0 01-51 24.4 73.36 73.36 0 01-53.4-18.8 74.01 74.01 0 01-24.4-59.8c3-47.4-12.4-103.1-45.8-165.7-16.9-31.4-37.1-58.2-61.2-80.4a240 240 0 01-12.1 46.5 354.26 354.26 0 01-58.2 101 349.6 349.6 0 01-58.6 56.8c-34 26.1-62 60-80.8 97.9a275.96 275.96 0 00-29.1 124c0 74.9 29.5 145.3 83 198.4 53.7 53.2 125 82.4 201 82.4s147.3-29.2 201-82.4c53.5-53 83-123.5 83-198.4 0-39.2-8.1-77.3-24-113.1-9.3-21-21-40.5-35-58.4z",fill:t}},{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z",fill:e}}]}},name:"fire",theme:"twotone"},i0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i6}))}),i5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32z"}}]},name:"flag",theme:"filled"},i7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i5}))}),i9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z"}}]},name:"flag",theme:"outlined"},ue=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i9}))}),ut={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M184 232h368v336H184z",fill:t}},{tag:"path",attrs:{d:"M624 632c0 4.4-3.6 8-8 8H504v73h336V377H624v255z",fill:t}},{tag:"path",attrs:{d:"M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z",fill:e}}]}},name:"flag",theme:"twotone"},uc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ut}))}),un={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM632 577c0 3.8-3.4 7-7.5 7H540v84.9c0 3.9-3.2 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V584h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7H484v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.8 0 7 3.2 7 7.1V528h84.5c4.1 0 7.5 3.2 7.5 7v42z"}}]},name:"folder-add",theme:"filled"},ua=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:un}))}),ur=c(71534),ul={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M372.5 256H184v512h656V370.4H492.1L372.5 256zM540 443.1V528h84.5c4.1 0 7.5 3.1 7.5 7v42c0 3.8-3.4 7-7.5 7H540v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V584h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H484v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1z",fill:t}},{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z",fill:e}},{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1z",fill:e}}]}},name:"folder-add",theme:"twotone"},uo=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ul}))}),ui={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32z"}}]},name:"folder",theme:"filled"},uu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ui}))}),us={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zm-180 0H238c-13 0-24.8 7.9-29.7 20L136 643.2V256h188.5l119.6 114.4H748V444z"}}]},name:"folder-open",theme:"filled"},uf=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:us}))}),uh=c(97361),ud={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M159 768h612.3l103.4-256H262.3z",fill:t}},{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z",fill:e}}]}},name:"folder-open",theme:"twotone"},uv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ud}))}),um=c(58964),ug={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z",fill:e}},{tag:"path",attrs:{d:"M372.5 256H184v512h656V370.4H492.1z",fill:t}}]}},name:"folder",theme:"twotone"},uz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ug}))}),up={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M309.1 554.3a42.92 42.92 0 000 36.4C353.3 684 421.6 732 512.5 732s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.3l-.1-.1-.1-.1C671.7 461 603.4 413 512.5 413s-159.2 48.1-203.4 141.3zM512.5 477c62.1 0 107.4 30 141.1 95.5C620 638 574.6 668 512.5 668s-107.4-30-141.1-95.5c33.7-65.5 79-95.5 141.1-95.5z"}},{tag:"path",attrs:{d:"M457 573a56 56 0 10112 0 56 56 0 10-112 0z"}},{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-view",theme:"outlined"},uw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:up}))}),uM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-650.3-80h85c4.2 0 8-2.7 9.3-6.8l53.7-166h219.2l53.2 166c1.3 4 5 6.8 9.3 6.8h89.1c1.1 0 2.2-.2 3.2-.5a9.7 9.7 0 006-12.4L573.6 118.6a9.9 9.9 0 00-9.2-6.6H462.1c-4.2 0-7.9 2.6-9.2 6.6L244.5 723.1c-.4 1-.5 2.1-.5 3.2-.1 5.3 4.3 9.7 9.7 9.7zm255.9-516.1h4.1l83.8 263.8H424.9l84.7-263.8z"}}]},name:"font-colors",theme:"outlined"},uZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uM}))}),uH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M920 416H616c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-56h60v320h-46c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h164c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-46V480h60v56c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V424c0-4.4-3.6-8-8-8zM656 296V168c0-4.4-3.6-8-8-8H104c-4.4 0-8 3.6-8 8v128c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-64h168v560h-92c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-92V232h168v64c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8z"}}]},name:"font-size",theme:"outlined"},ub=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uH}))}),uV=c(51382),uC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"},ux=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uC}))}),uE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M840 192h-56v-72c0-13.3-10.7-24-24-24H168c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h592c13.3 0 24-10.7 24-24V256h32v200H465c-22.1 0-40 17.9-40 40v136h-44c-4.4 0-8 3.6-8 8v228c0 1.1.2 2.2.6 3.1-.4 1.6-.6 3.2-.6 4.9 0 46.4 37.6 84 84 84s84-37.6 84-84c0-1.7-.2-3.3-.6-4.9.4-1 .6-2 .6-3.1V640c0-4.4-3.6-8-8-8h-44V520h351c22.1 0 40-17.9 40-40V232c0-22.1-17.9-40-40-40z"}}]},name:"format-painter",theme:"filled"},uL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uE}))}),uR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M840 192h-56v-72c0-13.3-10.7-24-24-24H168c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h592c13.3 0 24-10.7 24-24V256h32v200H465c-22.1 0-40 17.9-40 40v136h-44c-4.4 0-8 3.6-8 8v228c0 .6.1 1.3.2 1.9A83.99 83.99 0 00457 960c46.4 0 84-37.6 84-84 0-2.1-.1-4.1-.2-6.1.1-.6.2-1.2.2-1.9V640c0-4.4-3.6-8-8-8h-44V520h351c22.1 0 40-17.9 40-40V232c0-22.1-17.9-40-40-40zM720 352H208V160h512v192zM477 876c0 11-9 20-20 20s-20-9-20-20V696h40v180z"}}]},name:"format-painter",theme:"outlined"},uy=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uR}))}),uB={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z"}}]},name:"forward",theme:"filled"},uS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uB}))}),uO={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z"}}]},name:"forward",theme:"outlined"},uk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uO}))}),u$={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 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 01-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 01-8 8.4zm24-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"frown",theme:"filled"},uT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:u$}))}),uF=c(45863),uI={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 01-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 01-8 8.4zm24-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm224 112c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4 3.7-49.5 45.3-88.6 95.8-88.6s92 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533zm128-112a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"frown",theme:"twotone"},uA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uI}))}),uD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"}}]},name:"fullscreen-exit",theme:"outlined"},uP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uD}))}),uN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"}}]},name:"fullscreen",theme:"outlined"},uq=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uN}))}),uj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M841 370c3-3.3 2.7-8.3-.6-11.3a8.24 8.24 0 00-5.3-2.1h-72.6c-2.4 0-4.6 1-6.1 2.8L633.5 504.6a7.96 7.96 0 01-13.4-1.9l-63.5-141.3a7.9 7.9 0 00-7.3-4.7H380.7l.9-4.7 8-42.3c10.5-55.4 38-81.4 85.8-81.4 18.6 0 35.5 1.7 48.8 4.7l14.1-66.8c-22.6-4.7-35.2-6.1-54.9-6.1-103.3 0-156.4 44.3-175.9 147.3l-9.4 49.4h-97.6c-3.8 0-7.1 2.7-7.8 6.4L181.9 415a8.07 8.07 0 007.8 9.7H284l-89 429.9a8.07 8.07 0 007.8 9.7H269c3.8 0 7.1-2.7 7.8-6.4l89.7-433.1h135.8l68.2 139.1c1.4 2.9 1 6.4-1.2 8.8l-180.6 203c-2.9 3.3-2.6 8.4.7 11.3 1.5 1.3 3.4 2 5.3 2h72.7c2.4 0 4.6-1 6.1-2.8l123.7-146.7c2.8-3.4 7.9-3.8 11.3-1 .9.8 1.6 1.7 2.1 2.8L676.4 784c1.3 2.8 4.1 4.7 7.3 4.7h64.6a8.02 8.02 0 007.2-11.5l-95.2-198.9c-1.4-2.9-.9-6.4 1.3-8.8L841 370z"}}]},name:"function",theme:"outlined"},uW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uj}))}),uY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M926 164H94c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V196c0-17.7-14.3-32-32-32zm-92.3 194.4l-297 297.2a8.03 8.03 0 01-11.3 0L410.9 541.1 238.4 713.7a8.03 8.03 0 01-11.3 0l-36.8-36.8a8.03 8.03 0 010-11.3l214.9-215c3.1-3.1 8.2-3.1 11.3 0L531 565l254.5-254.6c3.1-3.1 8.2-3.1 11.3 0l36.8 36.8c3.2 3 3.2 8.1.1 11.2z"}}]},name:"fund",theme:"filled"},u_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uY}))}),uK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M926 164H94c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V196c0-17.7-14.3-32-32-32zm-40 632H134V236h752v560zm-658.9-82.3c3.1 3.1 8.2 3.1 11.3 0l172.5-172.5 114.4 114.5c3.1 3.1 8.2 3.1 11.3 0l297-297.2c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L531 565 416.6 450.5a8.03 8.03 0 00-11.3 0l-214.9 215a8.03 8.03 0 000 11.3l36.7 36.9z"}}]},name:"fund",theme:"outlined"},uU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uK}))}),uG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M312.1 591.5c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L517 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L275.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8z"}},{tag:"path",attrs:{d:"M904 160H548V96c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H120c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h356.4v32L311.6 884.1a7.92 7.92 0 00-2.3 11l30.3 47.2v.1c2.4 3.7 7.4 4.7 11.1 2.3L512 838.9l161.3 105.8c3.7 2.4 8.7 1.4 11.1-2.3v-.1l30.3-47.2a8 8 0 00-2.3-11L548 776.3V744h356c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 512H160V232h704v440z"}}]},name:"fund-projection-screen",theme:"outlined"},uX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uG}))}),uQ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560z",fill:e}},{tag:"path",attrs:{d:"M136 792h752V232H136v560zm56.4-130.5l214.9-215c3.1-3.1 8.2-3.1 11.3 0L533 561l254.5-254.6c3.1-3.1 8.2-3.1 11.3 0l36.8 36.8c3.1 3.1 3.1 8.2 0 11.3l-297 297.2a8.03 8.03 0 01-11.3 0L412.9 537.2 240.4 709.7a8.03 8.03 0 01-11.3 0l-36.7-36.9a8.03 8.03 0 010-11.3z",fill:t}},{tag:"path",attrs:{d:"M229.1 709.7c3.1 3.1 8.2 3.1 11.3 0l172.5-172.5 114.4 114.5c3.1 3.1 8.2 3.1 11.3 0l297-297.2c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L533 561 418.6 446.5a8.03 8.03 0 00-11.3 0l-214.9 215a8.03 8.03 0 000 11.3l36.7 36.9z",fill:e}}]}},name:"fund",theme:"twotone"},uJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uQ}))}),u1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M956 686.5l-.1-.1-.1-.1C911.7 593 843.4 545 752.5 545s-159.2 48.1-203.4 141.3v.1a42.92 42.92 0 000 36.4C593.3 816 661.6 864 752.5 864s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.2zM752.5 800c-62.1 0-107.4-30-141.1-95.5C645 639 690.4 609 752.5 609c62.1 0 107.4 30 141.1 95.5C860 770 814.6 800 752.5 800z"}},{tag:"path",attrs:{d:"M697 705a56 56 0 10112 0 56 56 0 10-112 0zM136 232h704v253h72V192c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h352v-72H136V232z"}},{tag:"path",attrs:{d:"M724.9 338.1l-36.8-36.8a8.03 8.03 0 00-11.3 0L493 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L251.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.2-3.1 3.2-8.2 0-11.3z"}}]},name:"fund-view",theme:"outlined"},u4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:u1}))}),u2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M336.7 586h350.6l84.9-148H251.8zm543.4-432H143.9c-24.5 0-39.8 26.7-27.5 48L215 374h594l98.7-172c12.2-21.3-3.1-48-27.6-48zM349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V650H349v188z"}}]},name:"funnel-plot",theme:"filled"},u3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:u2}))}),u8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 607.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V607.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V650h182.9v148zm9.6-226.6l-8.4 14.6H419.3l-8.4-14.6L334.4 438h355.2L613 571.4zM726.3 374H297.7l-85-148h598.6l-85 148z"}}]},name:"funnel-plot",theme:"outlined"},u6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:u8}))}),u0={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M420.6 798h182.9V650H420.6zM297.7 374h428.6l85-148H212.7zm113.2 197.4l8.4 14.6h185.3l8.4-14.6L689.6 438H334.4z",fill:t}},{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 607.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V607.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.5 798H420.6V650h182.9v148zm9.5-226.6l-8.4 14.6H419.3l-8.4-14.6L334.4 438h355.2L613 571.4zM726.3 374H297.7l-85-148h598.6l-85 148z",fill:e}}]}},name:"funnel-plot",theme:"twotone"},u5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:u0}))}),u7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 392c8.8 0 16-7.2 16-16V192c0-8.8-7.2-16-16-16H744c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h56v240H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16V648c0-8.8-7.2-16-16-16h-56V392h56zM792 240h88v88h-88v-88zm-648 88v-88h88v88h-88zm88 456h-88v-88h88v88zm648-88v88h-88v-88h88zm-80-64h-56c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16h-56V392h56c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h56v240z"}}]},name:"gateway",theme:"outlined"},u9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:u7}))}),se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M944 299H692c-4.4 0-8 3.6-8 8v406c0 4.4 3.6 8 8 8h59.2c4.4 0 8-3.6 8-8V549.9h168.2c4.4 0 8-3.6 8-8V495c0-4.4-3.6-8-8-8H759.2V364.2H944c4.4 0 8-3.6 8-8V307c0-4.4-3.6-8-8-8zm-356 1h-56c-4.4 0-8 3.6-8 8v406c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V308c0-4.4-3.6-8-8-8zM452 500.9H290.5c-4.4 0-8 3.6-8 8v43.7c0 4.4 3.6 8 8 8h94.9l-.3 8.9c-1.2 58.8-45.6 98.5-110.9 98.5-76.2 0-123.9-59.7-123.9-156.7 0-95.8 46.8-155.2 121.5-155.2 54.8 0 93.1 26.9 108.5 75.4h76.2c-13.6-87.2-86-143.4-184.7-143.4C150 288 72 375.2 72 511.9 72 650.2 149.1 736 273 736c114.1 0 187-70.7 187-181.6v-45.5c0-4.4-3.6-8-8-8z"}}]},name:"gif",theme:"outlined"},st=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:se}))}),sc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M160 894c0 17.7 14.3 32 32 32h286V550H160v344zm386 32h286c17.7 0 32-14.3 32-32V550H546v376zm334-616H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v140h366V310h68v172h366V342c0-17.7-14.3-32-32-32zm-402-4h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm138 0h-70v-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70z"}}]},name:"gift",theme:"filled"},sn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sc}))}),sa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zm-334-74c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm-138-70c38.6 0 70 31.4 70 70v70h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70zM180 482V378h298v104H180zm48 68h250v308H228V550zm568 308H546V550h250v308zm48-376H546V378h298v104z"}}]},name:"gift",theme:"outlined"},sr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sa}))}),sl={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M546 378h298v104H546zM228 550h250v308H228zm-48-172h298v104H180zm366 172h250v308H546z",fill:t}},{tag:"path",attrs:{d:"M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zM478 858H228V550h250v308zm0-376H180V378h298v104zm0-176h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm68-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm250 622H546V550h250v308zm48-376H546V378h298v104z",fill:e}}]}},name:"gift",theme:"twotone"},so=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sl}))}),si={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"filled"},su=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:si}))}),ss={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"outlined"},sf=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ss}))}),sh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M910.5 553.2l-109-370.8c-6.8-20.4-23.1-34.1-44.9-34.1s-39.5 12.3-46.3 32.7l-72.2 215.4H386.2L314 181.1c-6.8-20.4-24.5-32.7-46.3-32.7s-39.5 13.6-44.9 34.1L113.9 553.2c-4.1 13.6 1.4 28.6 12.3 36.8l385.4 289 386.7-289c10.8-8.1 16.3-23.1 12.2-36.8z"}}]},name:"gitlab",theme:"filled"},sd=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sh}))}),sv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M913.9 552.2L805 181.4v-.1c-7.6-22.9-25.7-36.5-48.3-36.5-23.4 0-42.5 13.5-49.7 35.2l-71.4 213H388.8l-71.4-213c-7.2-21.7-26.3-35.2-49.7-35.2-23.1 0-42.5 14.8-48.4 36.6L110.5 552.2c-4.4 14.7 1.2 31.4 13.5 40.7l368.5 276.4c2.6 3.6 6.2 6.3 10.4 7.8l8.6 6.4 8.5-6.4c4.9-1.7 9-4.7 11.9-8.9l368.4-275.4c12.4-9.2 18-25.9 13.6-40.6zM751.7 193.4c1-1.8 2.9-1.9 3.5-1.9 1.1 0 2.5.3 3.4 3L818 394.3H684.5l67.2-200.9zm-487.4 1c.9-2.6 2.3-2.9 3.4-2.9 2.7 0 2.9.1 3.4 1.7l67.3 201.2H206.5l57.8-200zM158.8 558.7l28.2-97.3 202.4 270.2-230.6-172.9zm73.9-116.4h122.1l90.8 284.3-212.9-284.3zM512.9 776L405.7 442.3H620L512.9 776zm157.9-333.7h119.5L580 723.1l90.8-280.8zm-40.7 293.9l207.3-276.7 29.5 99.2-236.8 177.5z"}}]},name:"gitlab",theme:"outlined"},sm=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sv}))}),sg=c(10173),sz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M905.9 806.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zm-470.2-248c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8z"}}]},name:"gold",theme:"filled"},sp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sz}))}),sw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8zm91.2-196h159.5l20.7 128h-201l20.8-128zm2.5 282.7c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM196.5 748l20.7-128h159.5l20.7 128H196.5zm709.4 58.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zM626.5 748l20.7-128h159.5l20.7 128H626.5z"}}]},name:"gold",theme:"outlined"},sM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sw}))}),sZ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M435.7 558.7c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM196.5 748l20.7-128h159.5l20.7 128H196.5zm709.4 58.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zM626.5 748l20.7-128h159.5l20.7 128H626.5zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8zm91.2-196h159.5l20.7 128h-201l20.8-128z",fill:e}},{tag:"path",attrs:{d:"M592.7 276H433.2l-20.8 128h201zM217.2 620l-20.7 128h200.9l-20.7-128zm430 0l-20.7 128h200.9l-20.7-128z",fill:t}}]}},name:"gold",theme:"twotone"},sH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sZ}))}),sb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M905.9 806.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zm-470.2-248c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8z"}}]},name:"golden",theme:"filled"},sV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sb}))}),sC={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 64zm167 633.6C638.4 735 583 757 516.9 757c-95.7 0-178.5-54.9-218.8-134.9C281.5 589 272 551.6 272 512s9.5-77 26.1-110.1c40.3-80.1 123.1-135 218.8-135 66 0 121.4 24.3 163.9 63.8L610.6 401c-25.4-24.3-57.7-36.6-93.6-36.6-63.8 0-117.8 43.1-137.1 101-4.9 14.7-7.7 30.4-7.7 46.6s2.8 31.9 7.7 46.6c19.3 57.9 73.3 101 137 101 33 0 61-8.7 82.9-23.4 26-17.4 43.2-43.3 48.9-74H516.9v-94.8h230.7c2.9 16.1 4.4 32.8 4.4 50.1 0 74.7-26.7 137.4-73 180.1z"}}]},name:"google-circle",theme:"filled"},sx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sC}))}),sE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M881 442.4H519.7v148.5h206.4c-8.9 48-35.9 88.6-76.6 115.8-34.4 23-78.3 36.6-129.9 36.6-99.9 0-184.4-67.5-214.6-158.2-7.6-23-12-47.6-12-72.9s4.4-49.9 12-72.9c30.3-90.6 114.8-158.1 214.7-158.1 56.3 0 106.8 19.4 146.6 57.4l110-110.1c-66.5-62-153.2-100-256.6-100-149.9 0-279.6 86-342.7 211.4-26 51.8-40.8 110.4-40.8 172.4S151 632.8 177 684.6C240.1 810 369.8 896 519.7 896c103.6 0 190.4-34.4 253.8-93 72.5-66.8 114.4-165.2 114.4-282.1 0-27.2-2.4-53.3-6.9-78.5z"}}]},name:"google",theme:"outlined"},sL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sE}))}),sR={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 64zm36.5 558.8c-43.9 61.8-132.1 79.8-200.9 53.3-69-26.3-118-99.2-112.1-173.5 1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 33.6-.3 50.4H690c-.2-16.8-.2-33.5-.3-50.3-16.8-.2-33.6-.3-50.4-.5v-50.1c16.8-.2 33.6-.3 50.4-.3.1-16.8.3-33.6.4-50.4h50.2l.3 50.4c16.8.2 33.6.2 50.4.3v50.1z"}}]},name:"google-plus-circle",theme:"filled"},sy=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sR}))}),sB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M879.5 470.4c-.3-27-.4-54.2-.5-81.3h-80.8c-.3 27-.5 54.1-.7 81.3-27.2.1-54.2.3-81.2.6v80.9c27 .3 54.2.5 81.2.8.3 27 .3 54.1.5 81.1h80.9c.1-27 .3-54.1.5-81.3 27.2-.3 54.2-.4 81.2-.7v-80.9c-26.9-.2-54.1-.2-81.1-.5zm-530 .4c-.1 32.3 0 64.7.1 97 54.2 1.8 108.5 1 162.7 1.8-23.9 120.3-187.4 159.3-273.9 80.7-89-68.9-84.8-220 7.7-284 64.7-51.6 156.6-38.9 221.3 5.8 25.4-23.5 49.2-48.7 72.1-74.7-53.8-42.9-119.8-73.5-190-70.3-146.6-4.9-281.3 123.5-283.7 270.2-9.4 119.9 69.4 237.4 180.6 279.8 110.8 42.7 252.9 13.6 323.7-86 46.7-62.9 56.8-143.9 51.3-220-90.7-.7-181.3-.6-271.9-.3z"}}]},name:"google-plus",theme:"outlined"},sS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sB}))}),sO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM548.5 622.8c-43.9 61.8-132.1 79.8-200.9 53.3-69-26.3-118-99.2-112.1-173.5 1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 33.6-.3 50.4H690c-.2-16.8-.2-33.5-.3-50.3-16.8-.2-33.6-.3-50.4-.5v-50.1c16.8-.2 33.6-.3 50.4-.3.1-16.8.3-33.6.4-50.4h50.2l.3 50.4c16.8.2 33.6.2 50.4.3v50.1z"}}]},name:"google-plus-square",theme:"filled"},sk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sO}))}),s$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM679 697.6C638.4 735 583 757 516.9 757c-95.7 0-178.5-54.9-218.8-134.9A245.02 245.02 0 01272 512c0-39.6 9.5-77 26.1-110.1 40.3-80.1 123.1-135 218.8-135 66 0 121.4 24.3 163.9 63.8L610.6 401c-25.4-24.3-57.7-36.6-93.6-36.6-63.8 0-117.8 43.1-137.1 101-4.9 14.7-7.7 30.4-7.7 46.6s2.8 31.9 7.7 46.6c19.3 57.9 73.3 101 137 101 33 0 61-8.7 82.9-23.4 26-17.4 43.2-43.3 48.9-74H516.9v-94.8h230.7c2.9 16.1 4.4 32.8 4.4 50.1 0 74.7-26.7 137.4-73 180.1z"}}]},name:"google-square",theme:"filled"},sT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:s$}))}),sF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M912 820.1V203.9c28-9.9 48-36.6 48-67.9 0-39.8-32.2-72-72-72-31.3 0-58 20-67.9 48H203.9C194 84 167.3 64 136 64c-39.8 0-72 32.2-72 72 0 31.3 20 58 48 67.9v616.2C84 830 64 856.7 64 888c0 39.8 32.2 72 72 72 31.3 0 58-20 67.9-48h616.2c9.9 28 36.6 48 67.9 48 39.8 0 72-32.2 72-72 0-31.3-20-58-48-67.9zM888 112c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 912c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-752c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm704 680H184V184h656v656zm48 72c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z"}},{tag:"path",attrs:{d:"M288 474h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64zm-56 420h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64z"}}]},name:"group",theme:"outlined"},sI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sF}))}),sA={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.5 65C719.99 65 889 234.01 889 442.5S719.99 820 511.5 820 134 650.99 134 442.5 303.01 65 511.5 65m0 64C338.36 129 198 269.36 198 442.5S338.36 756 511.5 756 825 615.64 825 442.5 684.64 129 511.5 129M745 889v72H278v-72z"}}]},name:"harmony-o-s",theme:"outlined"},sD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sA}))}),sP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v224h704V96c0-17.7-14.3-32-32-32zM456 216c0 4.4-3.6 8-8 8H264c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm576-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm96-152c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H264c-4.4 0-8-3.6-8-8v-48z"}}]},name:"hdd",theme:"filled"},sN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sP}))}),sq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM496 208H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 244a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"hdd",theme:"outlined"},sj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sq}))}),sW={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 888h560V680H232v208zm448-140c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 616h560V408H232v208zm72-128c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H312c-4.4 0-8-3.6-8-8v-48zm-72-144h560V136H232v208zm72-128c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H312c-4.4 0-8-3.6-8-8v-48z",fill:t}},{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z",fill:e}},{tag:"path",attrs:{d:"M312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-272h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 516a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"hdd",theme:"twotone"},sY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sW}))}),s_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"}}]},name:"heart",theme:"filled"},sK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:s_}))}),sU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"}}]},name:"heart",theme:"outlined"},sG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sU}))}),sX={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z",fill:e}},{tag:"path",attrs:{d:"M679.7 201c-73.1 0-136.5 40.8-167.7 100.4C480.8 241.8 417.4 201 344.3 201c-104 0-188.3 82.6-188.3 184.5 0 201.2 356 429.3 356 429.3s356-228.1 356-429.3C868 283.6 783.7 201 679.7 201z",fill:t}}]}},name:"heart",theme:"twotone"},sQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sX}))}),sJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-790.4-23.9L512 231.9 858.7 832H165.3zm319-474.1l-228 394c-12.3 21.3 3.1 48 27.7 48h455.8c24.7 0 40.1-26.7 27.7-48L539.7 358c-6.2-10.7-17-16-27.7-16-10.8 0-21.6 5.3-27.7 16zm214 386H325.7L512 422l186.3 322zm-214-194.1l-57 98.4C415 669.5 430.4 696 455 696h114c24.6 0 39.9-26.5 27.7-47.7l-57-98.4c-6.1-10.6-16.9-15.9-27.7-15.9s-21.5 5.3-27.7 15.9zm57.1 98.4h-58.7l29.4-50.7 29.3 50.7z"}}]},name:"heat-map",theme:"outlined"},s1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sJ}))}),s4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2z"}}]},name:"highlight",theme:"filled"},s2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:s4}))}),s3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.2H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.2l68.6-67.6 171.4 168.9-68.6 67.6zM713.1 658L450.3 399.1 597.6 254l262.8 259-147.3 145z"}}]},name:"highlight",theme:"outlined"},s8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:s3}))}),s6={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M229.6 796.3h160.2l54.3-54.1-80.1-78.9zm220.7-397.1l262.8 258.9 147.3-145-262.8-259zm-77.1 166.1l171.4 168.9 68.6-67.6-171.4-168.9z",fill:t}},{tag:"path",attrs:{d:"M957.6 507.5L603.2 158.3a7.9 7.9 0 00-11.2 0L353.3 393.5a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8v55.2c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6L539 830a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.3H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.3l68.6-67.6 171.4 168.9-68.6 67.6zm168.5-76.1L450.3 399.2l147.3-145.1 262.8 259-147.3 145z",fill:e}}]}},name:"highlight",theme:"twotone"},s0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:s6}))}),s5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"},s7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:s5}))}),s9=c(37528),fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L534.6 93.4a31.93 31.93 0 00-45.2 0L77.5 505c-12 12-18.8 28.3-18.8 45.3 0 35.3 28.7 64 64 64h43.4V908c0 17.7 14.3 32 32 32H448V716h112v224h265.9c17.7 0 32-14.3 32-32V614.3h43.4c17 0 33.3-6.7 45.3-18.8 24.9-25 24.9-65.5-.1-90.5z"}}]},name:"home",theme:"filled"},ft=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fe}))}),fc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},fn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fc}))}),fa={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512.1 172.6l-370 369.7h96V868H392V640c0-22.1 17.9-40 40-40h160c22.1 0 40 17.9 40 40v228h153.9V542.3H882L535.2 195.7l-23.1-23.1zm434.5 422.9c-6 6-13.1 10.8-20.8 13.9 7.7-3.2 14.8-7.9 20.8-13.9zm-887-34.7c5 30.3 31.4 53.5 63.1 53.5h.9c-31.9 0-58.9-23-64-53.5zm-.9-10.5v-1.9 1.9zm.1-2.6c.1-3.1.5-6.1 1-9.1-.6 2.9-.9 6-1 9.1z",fill:t}},{tag:"path",attrs:{d:"M951 510c0-.1-.1-.1-.1-.2l-1.8-2.1c-.1-.1-.2-.3-.4-.4-.7-.8-1.5-1.6-2.2-2.4L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.6 63.6 0 00-16 26.6l-.6 2.1-.3 1.1-.3 1.2c-.2.7-.3 1.4-.4 2.1 0 .1 0 .3-.1.4-.6 3-.9 6-1 9.1v3.3c0 .5 0 1 .1 1.5 0 .5 0 .9.1 1.4 0 .5.1 1 .1 1.5 0 .6.1 1.2.2 1.8 0 .3.1.6.1.9l.3 2.5v.1c5.1 30.5 32.2 53.5 64 53.5h42.5V940h691.7V614.3h43.4c8.6 0 16.9-1.7 24.5-4.9s14.7-7.9 20.8-13.9a63.6 63.6 0 0018.7-45.3c0-14.7-5-28.8-14.3-40.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z",fill:e}}]}},name:"home",theme:"twotone"},fr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fa}))}),fl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194z"}}]},name:"hourglass",theme:"filled"},fo=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fl}))}),fi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194zm-72 388v134H354V706c0-42.2 16.4-81.9 46.3-111.7C430.1 564.4 469.8 548 512 548s81.9 16.4 111.7 46.3C653.6 624.1 670 663.8 670 706zm0-388c0 42.2-16.4 81.9-46.3 111.7C593.9 459.6 554.2 476 512 476s-81.9-16.4-111.7-46.3A156.63 156.63 0 01354 318V184h316v134z"}}]},name:"hourglass",theme:"outlined"},fu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fi}))}),fs={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 548c-42.2 0-81.9 16.4-111.7 46.3A156.63 156.63 0 00354 706v134h316V706c0-42.2-16.4-81.9-46.3-111.7A156.63 156.63 0 00512 548zM354 318c0 42.2 16.4 81.9 46.3 111.7C430.1 459.6 469.8 476 512 476s81.9-16.4 111.7-46.3C653.6 399.9 670 360.2 670 318V184H354v134z",fill:t}},{tag:"path",attrs:{d:"M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194zm-72 388v134H354V706c0-42.2 16.4-81.9 46.3-111.7C430.1 564.4 469.8 548 512 548s81.9 16.4 111.7 46.3C653.6 624.1 670 663.8 670 706zm0-388c0 42.2-16.4 81.9-46.3 111.7C593.9 459.6 554.2 476 512 476s-81.9-16.4-111.7-46.3A156.63 156.63 0 01354 318V184h316v134z",fill:e}}]}},name:"hourglass",theme:"twotone"},ff=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fs}))}),fh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145.2 96l66 746.6L512 928l299.6-85.4L878.9 96H145.2zm595 177.1l-4.8 47.2-1.7 19.5H382.3l8.2 94.2h335.1l-3.3 24.3-21.2 242.2-1.7 16.2-187 51.6v.3h-1.2l-.3.1v-.1h-.1l-188.6-52L310.8 572h91.1l6.5 73.2 102.4 27.7h.4l102-27.6 11.4-118.6H510.9v-.1H306l-22.8-253.5-1.7-24.3h460.3l-1.6 24.3z"}}]},name:"html5",theme:"filled"},fd=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fh}))}),fv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2zM281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z"}}]},name:"html5",theme:"outlined"},fm=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fv}))}),fg={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2z",fill:e}},{tag:"path",attrs:{d:"M209.9 155.4l56.7 641.2 245.2 69.6 244.1-69.6 57.8-641.2H209.9zm530.4 117.9l-4.8 47.2-1.7 19.5H381.7l8.2 94.2H511v-.2h214.7l-3.2 24.3-21.2 242.2-1.7 16.3-187.7 51.7v.4h-1.7l-188.6-52-11.3-144.7h91l6.5 73.2 102.4 27.7h.8v-.2l102.4-27.7 11.4-118.5H511.9v.1H305.4l-22.7-253.5L281 249h461l-1.7 24.3z",fill:t}},{tag:"path",attrs:{d:"M281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z",fill:e}}]}},name:"html5",theme:"twotone"},fz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fg}))}),fp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M373 411c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52 51.7-23.3 51.7-52-23.2-52-51.7-52zm555-251H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM608 420c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm-86 253h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224a8 8 0 01-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 01-29.1-75.5c0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.5-29.1 75.5 42.7 26.5 71.8 72.8 74.6 126.1.4 4.6-3.2 8.4-7.8 8.4zm278.9-53H615.1c-3.9 0-7.1-3.6-7.1-8v-48c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48h.1c0 4.4-3.2 8-7.1 8z"}}]},name:"idcard",theme:"filled"},fw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fp}))}),fM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560zM610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z"}}]},name:"idcard",theme:"outlined"},fZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fM}))}),fH={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560z",fill:e}},{tag:"path",attrs:{d:"M136 792h752V232H136v560zm472-372c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm0 144c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48c0 4.4-3.2 8-7.1 8H615.1c-3.9 0-7.1-3.6-7.1-8v-48zM216.2 664.6c2.8-53.3 31.9-99.6 74.6-126.1-18.1-20-29.1-46.4-29.1-75.5 0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.6-29.1 75.5 42.6 26.4 71.8 72.8 74.6 126.1a8 8 0 01-8 8.4h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224c-4.6 0-8.2-3.8-7.8-8.4z",fill:t}},{tag:"path",attrs:{d:"M321.3 463a51.7 52 0 10103.4 0 51.7 52 0 10-103.4 0z",fill:t}},{tag:"path",attrs:{d:"M610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z",fill:e}}]}},name:"idcard",theme:"twotone"},fb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fH}))}),fV=c(42746),fC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M852.6 367.6c16.3-36.9 32.1-90.7 32.1-131.8 0-109.1-119.5-147.6-314.5-57.9-161.4-10.8-316.8 110.5-355.6 279.7 46.3-52.3 117.4-123.4 183-151.7C316.1 378.3 246.7 470 194 565.6c-31.1 56.9-66 148.8-66 217.5 0 147.9 139.3 129.8 270.4 63 47.1 23.1 99.8 23.4 152.5 23.4 145.7 0 276.4-81.4 325.2-219H694.9c-78.8 132.9-295.2 79.5-295.2-71.2h493.2c9.6-65.4-2.5-143.6-40.3-211.7zM224.8 648.3c26.6 76.7 80.6 143.8 150.4 185-133.1 73.4-259.9 43.6-150.4-185zm174-163.3c3-82.7 75.4-142.3 156-142.3 80.1 0 153 59.6 156 142.3h-312zm276.8-281.4c32.1-15.4 72.8-33 108.8-33 47.1 0 81.4 32.6 81.4 80.6 0 30-11.1 73.5-21.9 101.8-39.3-63.5-98.9-122.4-168.3-149.4z"}}]},name:"ie",theme:"outlined"},fx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fC}))}),fE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM765.9 556.9H437.1c0 100.4 144.3 136 196.8 47.4h120.8c-32.6 91.7-119.7 146-216.8 146-35.1 0-70.3-.1-101.7-15.6-87.4 44.5-180.3 56.6-180.3-42 0-45.8 23.2-107.1 44-145C335 484 381.3 422.8 435.6 374.5c-43.7 18.9-91.1 66.3-122 101.2 25.9-112.8 129.5-193.6 237.1-186.5 130-59.8 209.7-34.1 209.7 38.6 0 27.4-10.6 63.3-21.4 87.9 25.2 45.5 33.3 97.6 26.9 141.2zm-72.3-272.5c-24 0-51.1 11.7-72.6 22 46.3 18 86 57.3 112.3 99.6 7.1-18.9 14.6-47.9 14.6-67.9 0-32-22.8-53.7-54.3-53.7zM540.5 399.1c-53.7 0-102 39.7-104 94.9h208c-2-55.1-50.6-94.9-104-94.9zM320.6 602.9c-73 152.4 11.5 172.2 100.3 123.3-46.6-27.5-82.6-72.2-100.3-123.3z"}}]},name:"ie-square",theme:"filled"},fL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fE}))}),fR=c(50967),fy=c(62938),fB=c(44661),fS=c(39600),fO={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm32 588c0 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",fill:t}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"info-circle",theme:"twotone"},fk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fO}))}),f$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M448 224a64 64 0 10128 0 64 64 0 10-128 0zm96 168h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V400c0-4.4-3.6-8-8-8z"}}]},name:"info",theme:"outlined"},fT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f$}))}),fF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M878.7 336H145.3c-18.4 0-33.3 14.3-33.3 32v464c0 17.7 14.9 32 33.3 32h733.3c18.4 0 33.3-14.3 33.3-32V368c.1-17.7-14.8-32-33.2-32zM360 792H184V632h176v160zm0-224H184V408h176v160zm240 224H424V632h176v160zm0-224H424V408h176v160zm240 224H664V632h176v160zm0-224H664V408h176v160zm64-408H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z"}}]},name:"insert-row-above",theme:"outlined"},fI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fF}))}),fA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M904 768H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-25.3-608H145.3c-18.4 0-33.3 14.3-33.3 32v464c0 17.7 14.9 32 33.3 32h733.3c18.4 0 33.3-14.3 33.3-32V192c.1-17.7-14.8-32-33.2-32zM360 616H184V456h176v160zm0-224H184V232h176v160zm240 224H424V456h176v160zm0-224H424V232h176v160zm240 224H664V456h176v160zm0-224H664V232h176v160z"}}]},name:"insert-row-below",theme:"outlined"},fD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fA}))}),fP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M248 112h-80c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8zm584 0H368c-17.7 0-32 14.9-32 33.3v733.3c0 18.4 14.3 33.3 32 33.3h464c17.7 0 32-14.9 32-33.3V145.3c0-18.4-14.3-33.3-32-33.3zM568 840H408V664h160v176zm0-240H408V424h160v176zm0-240H408V184h160v176zm224 480H632V664h160v176zm0-240H632V424h160v176zm0-240H632V184h160v176z"}}]},name:"insert-row-left",theme:"outlined"},fN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fP}))}),fq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M856 112h-80c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8zm-200 0H192c-17.7 0-32 14.9-32 33.3v733.3c0 18.4 14.3 33.3 32 33.3h464c17.7 0 32-14.9 32-33.3V145.3c0-18.4-14.3-33.3-32-33.3zM392 840H232V664h160v176zm0-240H232V424h160v176zm0-240H232V184h160v176zm224 480H456V664h160v176zm0-240H456V424h160v176zm0-240H456V184h160v176z"}}]},name:"insert-row-right",theme:"outlined"},fj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fq}))}),fW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 378.7c-73.4 0-133.3 59.9-133.3 133.3S438.6 645.3 512 645.3 645.3 585.4 645.3 512 585.4 378.7 512 378.7zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zM512 717.1c-113.5 0-205.1-91.6-205.1-205.1S398.5 306.9 512 306.9 717.1 398.5 717.1 512 625.5 717.1 512 717.1zm213.5-370.7c-26.5 0-47.9-21.4-47.9-47.9s21.4-47.9 47.9-47.9 47.9 21.4 47.9 47.9a47.84 47.84 0 01-47.9 47.9z"}}]},name:"instagram",theme:"filled"},fY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fW}))}),f_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 306.9c-113.5 0-205.1 91.6-205.1 205.1S398.5 717.1 512 717.1 717.1 625.5 717.1 512 625.5 306.9 512 306.9zm0 338.4c-73.4 0-133.3-59.9-133.3-133.3S438.6 378.7 512 378.7 645.3 438.6 645.3 512 585.4 645.3 512 645.3zm213.5-394.6c-26.5 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9 47.9-21.3 47.9-47.9a47.84 47.84 0 00-47.9-47.9zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zm-88 235.8c-7.3 18.2-16.1 31.8-30.2 45.8-14.1 14.1-27.6 22.9-45.8 30.2C695.2 844.7 570.3 840 512 840c-58.3 0-183.3 4.7-235.9-16.1-18.2-7.3-31.8-16.1-45.8-30.2-14.1-14.1-22.9-27.6-30.2-45.8C179.3 695.2 184 570.3 184 512c0-58.3-4.7-183.3 16.1-235.9 7.3-18.2 16.1-31.8 30.2-45.8s27.6-22.9 45.8-30.2C328.7 179.3 453.7 184 512 184s183.3-4.7 235.9 16.1c18.2 7.3 31.8 16.1 45.8 30.2 14.1 14.1 22.9 27.6 30.2 45.8C844.7 328.7 840 453.7 840 512c0 58.3 4.7 183.2-16.2 235.8z"}}]},name:"instagram",theme:"outlined"},fK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f_}))}),fU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M519.9 358.8h97.9v41.6h-97.9zm347-188.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM411.3 656h-.2c0 4.4-3.6 8-8 8h-37.3c-4.4 0-8-3.6-8-8V471.4c-7.7 9.2-15.4 17.9-23.1 26a6.04 6.04 0 01-10.2-2.4l-13.2-43.5c-.6-2-.2-4.1 1.2-5.6 37-43.4 64.7-95.1 82.2-153.6 1.1-3.5 5-5.3 8.4-3.7l38.6 18.3c2.7 1.3 4.1 4.4 3.2 7.2a429.2 429.2 0 01-33.6 79V656zm296.5-49.2l-26.3 35.3a5.92 5.92 0 01-8.9.7c-30.6-29.3-56.8-65.2-78.1-106.9V656c0 4.4-3.6 8-8 8h-36.2c-4.4 0-8-3.6-8-8V536c-22 44.7-49 80.8-80.6 107.6a5.9 5.9 0 01-8.9-1.4L430 605.7a6 6 0 011.6-8.1c28.6-20.3 51.9-45.2 71-76h-55.1c-4.4 0-8-3.6-8-8V478c0-4.4 3.6-8 8-8h94.9v-18.6h-65.9c-4.4 0-8-3.6-8-8V316c0-4.4 3.6-8 8-8h184.7c4.4 0 8 3.6 8 8v127.2c0 4.4-3.6 8-8 8h-66.7v18.6h98.8c4.4 0 8 3.6 8 8v35.6c0 4.4-3.6 8-8 8h-59c18.1 29.1 41.8 54.3 72.3 76.9 2.6 2.1 3.2 5.9 1.2 8.5z"}}]},name:"insurance",theme:"filled"},fG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fU}))}),fX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M441.6 306.8L403 288.6a6.1 6.1 0 00-8.4 3.7c-17.5 58.5-45.2 110.1-82.2 153.6a6.05 6.05 0 00-1.2 5.6l13.2 43.5c1.3 4.4 7 5.7 10.2 2.4 7.7-8.1 15.4-16.9 23.1-26V656c0 4.4 3.6 8 8 8H403c4.4 0 8-3.6 8-8V393.1a429.2 429.2 0 0033.6-79c1-2.9-.3-6-3-7.3zm26.8 9.2v127.2c0 4.4 3.6 8 8 8h65.9v18.6h-94.9c-4.4 0-8 3.6-8 8v35.6c0 4.4 3.6 8 8 8h55.1c-19.1 30.8-42.4 55.7-71 76a6 6 0 00-1.6 8.1l22.8 36.5c1.9 3.1 6.2 3.8 8.9 1.4 31.6-26.8 58.7-62.9 80.6-107.6v120c0 4.4 3.6 8 8 8h36.2c4.4 0 8-3.6 8-8V536c21.3 41.7 47.5 77.5 78.1 106.9 2.6 2.5 6.8 2.1 8.9-.7l26.3-35.3c2-2.7 1.4-6.5-1.2-8.4-30.5-22.6-54.2-47.8-72.3-76.9h59c4.4 0 8-3.6 8-8V478c0-4.4-3.6-8-8-8h-98.8v-18.6h66.7c4.4 0 8-3.6 8-8V316c0-4.4-3.6-8-8-8H476.4c-4.4 0-8 3.6-8 8zm51.5 42.8h97.9v41.6h-97.9v-41.6zm347-188.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z"}}]},name:"insurance",theme:"outlined"},fQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fX}))}),fJ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z",fill:e}},{tag:"path",attrs:{d:"M521.9 358.8h97.9v41.6h-97.9z",fill:t}},{tag:"path",attrs:{d:"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM413.3 656h-.2c0 4.4-3.6 8-8 8h-37.3c-4.4 0-8-3.6-8-8V471.4c-7.7 9.2-15.4 17.9-23.1 26a6.04 6.04 0 01-10.2-2.4l-13.2-43.5c-.6-2-.2-4.1 1.2-5.6 37-43.4 64.7-95.1 82.2-153.6 1.1-3.5 5-5.3 8.4-3.7l38.6 18.3c2.7 1.3 4.1 4.4 3.2 7.2a429.2 429.2 0 01-33.6 79V656zm257.9-340v127.2c0 4.4-3.6 8-8 8h-66.7v18.6h98.8c4.4 0 8 3.6 8 8v35.6c0 4.4-3.6 8-8 8h-59c18.1 29.1 41.8 54.3 72.3 76.9 2.6 2.1 3.2 5.9 1.2 8.5l-26.3 35.3a5.92 5.92 0 01-8.9.7c-30.6-29.3-56.8-65.2-78.1-106.9V656c0 4.4-3.6 8-8 8h-36.2c-4.4 0-8-3.6-8-8V536c-22 44.7-49 80.8-80.6 107.6a6.38 6.38 0 01-4.8 1.4c-1.7-.3-3.2-1.3-4.1-2.8L432 605.7a6 6 0 011.6-8.1c28.6-20.3 51.9-45.2 71-76h-55.1c-4.4 0-8-3.6-8-8V478c0-4.4 3.6-8 8-8h94.9v-18.6h-65.9c-4.4 0-8-3.6-8-8V316c0-4.4 3.6-8 8-8h184.7c4.4 0 8 3.6 8 8z",fill:t}},{tag:"path",attrs:{d:"M443.7 306.9l-38.6-18.3c-3.4-1.6-7.3.2-8.4 3.7-17.5 58.5-45.2 110.2-82.2 153.6a5.7 5.7 0 00-1.2 5.6l13.2 43.5c1.4 4.5 7 5.8 10.2 2.4 7.7-8.1 15.4-16.8 23.1-26V656c0 4.4 3.6 8 8 8h37.3c4.4 0 8-3.6 8-8h.2V393.1a429.2 429.2 0 0033.6-79c.9-2.8-.5-5.9-3.2-7.2zm26.8 9.1v127.4c0 4.4 3.6 8 8 8h65.9V470h-94.9c-4.4 0-8 3.6-8 8v35.6c0 4.4 3.6 8 8 8h55.1c-19.1 30.8-42.4 55.7-71 76a6 6 0 00-1.6 8.1l22.8 36.5c.9 1.5 2.4 2.5 4.1 2.8 1.7.3 3.5-.2 4.8-1.4 31.6-26.8 58.6-62.9 80.6-107.6v120c0 4.4 3.6 8 8 8h36.2c4.4 0 8-3.6 8-8V535.9c21.3 41.7 47.5 77.6 78.1 106.9 2.6 2.5 6.7 2.2 8.9-.7l26.3-35.3c2-2.6 1.4-6.4-1.2-8.5-30.5-22.6-54.2-47.8-72.3-76.9h59c4.4 0 8-3.6 8-8v-35.6c0-4.4-3.6-8-8-8h-98.8v-18.6h66.7c4.4 0 8-3.6 8-8V316c0-4.4-3.6-8-8-8H478.5c-4.4 0-8 3.6-8 8zm51.4 42.8h97.9v41.6h-97.9v-41.6z",fill:e}}]}},name:"insurance",theme:"twotone"},f1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fJ}))}),f4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM726 585.7c0 55.3-44.7 100.1-99.7 100.1H420.6v53.4c0 5.7-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.7l109.1-85.7c4.4-3.5 10.9-.3 10.9 5.3v53.4h205.7c19.6 0 35.5-16 35.5-35.6v-78.9c0-3.7 3-6.8 6.8-6.8h50.7c3.7 0 6.8 3 6.8 6.8v79.1zm-2.6-209.9l-109.1 85.7c-4.4 3.5-10.9.3-10.9-5.3v-53.4H397.7c-19.6 0-35.5 16-35.5 35.6v78.9c0 3.7-3 6.8-6.8 6.8h-50.7c-3.7 0-6.8-3-6.8-6.8v-78.9c0-55.3 44.7-100.1 99.7-100.1h205.7v-53.4c0-5.7 6.5-8.8 10.9-5.3l109.1 85.7c3.6 2.5 3.6 7.8.1 10.5z"}}]},name:"interaction",theme:"filled"},f2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f4}))}),f3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z"}}]},name:"interaction",theme:"outlined"},f8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f3}))}),f6={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm114-401.9c0-55.3 44.6-100.1 99.7-100.1h205.8v-53.4c0-5.6 6.5-8.8 10.9-5.3L723.5 365c3.5 2.7 3.5 8 0 10.7l-109.1 85.7c-4.4 3.5-10.9.4-10.9-5.3v-53.4H397.8c-19.6 0-35.5 15.9-35.5 35.6v78.9c0 3.8-3.1 6.8-6.8 6.8h-50.7c-3.8 0-6.8-3-6.8-7v-78.9zm2.6 210.3l109.1-85.7c4.4-3.5 10.9-.4 10.9 5.3v53.4h205.6c19.6 0 35.5-15.9 35.5-35.6v-78.9c0-3.8 3.1-6.8 6.8-6.8h50.7c3.8 0 6.8 3.1 6.8 6.8v78.9c0 55.3-44.6 100.1-99.7 100.1H420.6v53.4c0 5.6-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.5z",fill:t}},{tag:"path",attrs:{d:"M304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z",fill:e}}]}},name:"interaction",theme:"twotone"},f0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f6}))}),f5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm72-112c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48zm400-188h-59.3c-2.6 0-5 1.2-6.5 3.3L763.7 538.1l-49.9-68.8a7.92 7.92 0 00-6.5-3.3H648c-6.5 0-10.3 7.4-6.5 12.7l109.2 150.7a16.1 16.1 0 0026 0l165.8-228.7c3.8-5.3 0-12.7-6.5-12.7zm-44 306h-64.2c-5.5 0-10.6 2.9-13.6 7.5a352.2 352.2 0 01-49.8 62.2A355.92 355.92 0 01651.1 840a355 355 0 01-138.7 27.9c-48.1 0-94.8-9.4-138.7-27.9a355.92 355.92 0 01-113.3-76.3A353.06 353.06 0 01184 650.5c-18.6-43.8-28-90.5-28-138.5s9.4-94.7 28-138.5c17.9-42.4 43.6-80.5 76.4-113.2 32.8-32.7 70.9-58.4 113.3-76.3a355 355 0 01138.7-27.9c48.1 0 94.8 9.4 138.7 27.9 42.4 17.9 80.5 43.6 113.3 76.3 19 19 35.6 39.8 49.8 62.2 2.9 4.7 8.1 7.5 13.6 7.5H892c6 0 9.8-6.3 7.2-11.6C828.8 178.5 684.7 82 517.7 80 278.9 77.2 80.5 272.5 80 511.2 79.5 750.1 273.3 944 512.4 944c169.2 0 315.6-97 386.7-238.4A8 8 0 00892 694z"}}]},name:"issues-close",theme:"outlined"},f7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f5}))}),f9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M798 160H366c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h181.2l-156 544H229c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8H474.4l156-544H798c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"italic",theme:"outlined"},he=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f9}))}),ht={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M394.68 756.99s-34.33 19.95 24.34 26.6c71.1 8.05 107.35 7 185.64-7.87 0 0 20.66 12.94 49.38 24.14-175.47 75.08-397.18-4.37-259.36-42.87m-21.37-98.17s-38.35 28.35 20.32 34.47c75.83 7.88 135.9 8.4 239.57-11.55 0 0 14.36 14.53 36.95 22.4-212.43 62.13-448.84 5.08-296.84-45.32m180.73-166.43c43.26 49.7-11.38 94.5-11.38 94.5s109.8-56.7 59.37-127.57c-47.11-66.15-83.19-99.05 112.25-212.27.18 0-306.82 76.65-160.24 245.35m232.22 337.04s25.4 20.82-27.85 37.1c-101.4 30.62-421.7 39.9-510.66 1.22-32.05-13.82 28.02-33.25 46.93-37.27 19.62-4.2 31-3.5 31-3.5-35.55-25.03-229.94 49.17-98.77 70.35 357.6 58.1 652.16-26.08 559.35-67.9m-375.12-272.3s-163.04 38.68-57.79 52.68c44.48 5.95 133.1 4.55 215.58-2.28 67.42-5.6 135.2-17.85 135.2-17.85s-23.82 10.15-40.98 21.88c-165.5 43.57-485.1 23.27-393.16-21.18 77.93-37.45 141.15-33.25 141.15-33.25M703.6 720.42c168.3-87.33 90.37-171.33 36.08-159.95-13.31 2.8-19.27 5.25-19.27 5.25s4.9-7.7 14.36-11.03C842.12 516.9 924.78 666 700.1 724.97c0-.18 2.63-2.45 3.5-4.55M602.03 64s93.16 93.1-88.44 236.25c-145.53 114.8-33.27 180.42 0 255.14-84.94-76.65-147.28-144.02-105.42-206.84C469.63 256.67 639.68 211.87 602.03 64M427.78 957.19C589.24 967.5 837.22 951.4 843 875.1c0 0-11.2 28.88-133.44 51.98-137.83 25.9-307.87 22.92-408.57 6.3 0-.18 20.66 16.97 126.79 23.8"}}]},name:"java",theme:"outlined"},hc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ht}))}),hn={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M416 176H255.54v425.62c0 105.3-36.16 134.71-99.1 134.71-29.5 0-56.05-5.05-76.72-12.14L63 848.79C92.48 858.91 137.73 865 173.13 865 317.63 865 416 797.16 416 602.66zm349.49-16C610.26 160 512 248.13 512 364.6c0 100.32 75.67 163.13 185.7 203.64 79.57 28.36 111.03 53.7 111.03 95.22 0 45.57-36.36 74.96-105.13 74.96-63.87 0-121.85-21.31-161.15-42.58v-.04L512 822.43C549.36 843.73 619.12 865 694.74 865 876.52 865 961 767.75 961 653.3c0-97.25-54.04-160.04-170.94-204.63-86.47-34.44-122.81-53.67-122.81-97.23 0-34.45 31.45-65.84 96.3-65.84 63.83 0 107.73 21.45 133.3 34.64l38.34-128.19C895.1 174.46 841.11 160 765.5 160"}}]},name:"java-script",theme:"outlined"},ha=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hn}))}),hr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5l-41.1 41.1-62.3-62.3a8.15 8.15 0 00-11.4 0l-39.8 39.8a8.15 8.15 0 000 11.4l62.3 62.3-44.9 44.9-62.3-62.3a8.15 8.15 0 00-11.4 0l-39.8 39.8a8.15 8.15 0 000 11.4l62.3 62.3-65.3 65.3a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6A304.06 304.06 0 00608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644c-60.9 0-118.2-23.7-161.2-66.8-43.1-43-66.8-100.3-66.8-161.2 0-60.9 23.7-118.2 66.8-161.2 43-43.1 100.3-66.8 161.2-66.8 60.9 0 118.2 23.7 161.2 66.8 43.1 43 66.8 100.3 66.8 161.2 0 60.9-23.7 118.2-66.8 161.2z"}}]},name:"key",theme:"outlined"},hl=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hr}))}),ho={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.99 111a61.55 61.55 0 00-26.8 6.13l-271.3 131a61.71 61.71 0 00-33.32 41.85L113.53 584.5a61.77 61.77 0 0011.86 52.06L313.2 872.71a61.68 61.68 0 0048.26 23.27h301.05a61.68 61.68 0 0048.26-23.27l187.81-236.12v-.03a61.73 61.73 0 0011.9-52.03v-.03L843.4 289.98v-.04a61.72 61.72 0 00-33.3-41.8l-271.28-131a17.43 17.43 0 00-.03-.04 61.76 61.76 0 00-26.8-6.1m0 35.1c3.94 0 7.87.87 11.55 2.64l271.3 131a26.54 26.54 0 0114.36 18.02l67.04 294.52a26.56 26.56 0 01-5.1 22.45L683.31 850.88a26.51 26.51 0 01-20.8 10H361.45a26.45 26.45 0 01-20.77-10L152.88 614.73a26.59 26.59 0 01-5.14-22.45l67.07-294.49a26.51 26.51 0 0114.32-18.02v-.04l271.3-131A26.52 26.52 0 01512 146.1m-.14 73.82c-2.48 0-4.99.5-7.4 1.51-9.65 4.21-14.22 15.44-10.01 25.09 4.04 9.48 5.42 18.94 6.48 28.41.35 4.92.55 9.66.37 14.4.53 4.74-1.94 9.48-5.45 14.22-3.68 4.74-4.03 9.49-4.55 14.23-48.16 4.72-91.51 25.83-124.65 57.54l-.31-.17c-4.04-2.63-7.88-5.27-14.02-5.45-5.79-.35-11.06-1.4-14.4-4.9-3.68-2.8-7.35-5.95-10.69-9.29-6.84-6.67-13.36-13.87-18.1-23a19.66 19.66 0 00-11.58-9.5 19.27 19.27 0 00-23.68 13.17c-2.98 10 2.98 20.7 13.16 23.51 9.83 2.99 18.08 7.9 26.15 13.16a127.38 127.38 0 0111.24 8.6c4.04 2.64 6.13 7.55 7.71 13.17 1.16 5.62 4.39 8.88 7.54 12.03a209.26 209.26 0 00-37.08 142.61c-3.94 1.38-7.83 2.88-11.17 6.82-3.86 4.39-8.08 7.88-12.82 8.23a94.03 94.03 0 01-14.02 2.64c-9.47 1.23-19.13 1.93-29.13-.17a19.53 19.53 0 00-14.74 3.32c-8.6 5.97-10.52 17.9-4.56 26.5a19.13 19.13 0 0026.67 4.59c8.42-5.97 17.37-9.32 26.5-12.3 4.55-1.41 9.13-2.62 13.87-3.5 4.56-1.58 9.64-.2 15.08 2.09 4.52 2.33 8.52 2.15 12.48 1.75 15.44 50.08 49.22 92.03 93.32 118.52-1.5 4.21-2.92 8.6-1.57 14.15 1.05 5.8 1.22 11.25-1.24 15.29a172.58 172.58 0 01-6.3 12.78c-4.92 8.07-10.17 16.15-17.9 23.17a18.97 18.97 0 00-6.33 13.5 19.06 19.06 0 0018.43 19.68A19.21 19.21 0 00409 787.88c.17-10.35 2.97-19.46 6.13-28.59 1.58-4.38 3.52-8.77 5.62-12.99 1.58-4.56 5.78-7.92 10.87-10.72 5.07-2.62 7.35-6.32 9.63-10.22a209.09 209.09 0 0070.74 12.51c25.26 0 49.4-4.72 71.87-12.92 2.37 4.06 4.82 7.91 9.9 10.63 5.1 2.98 9.29 6.16 10.87 10.72 2.1 4.4 3.87 8.78 5.45 13.17 3.15 9.12 5.78 18.23 6.13 28.58 0 5.09 2.1 10.02 6.14 13.71a19.32 19.32 0 0027.04-1.23 19.32 19.32 0 00-1.24-27.05c-7.72-6.84-12.98-15.09-17.72-23.34-2.28-4.03-4.37-8.4-6.3-12.6-2.46-4.22-2.3-9.5-1.06-15.3 1.4-5.96-.18-10.34-1.58-14.9l-.14-.45c43.76-26.75 77.09-68.83 92.2-118.9l.58.04c4.91.35 9.64.85 14.9-2.13 5.27-2.46 10.56-3.87 15.12-2.47 4.56.7 9.29 1.76 13.85 2.99 9.12 2.63 18.27 5.79 26.87 11.58a19.5 19.5 0 0014.73 2.64 18.99 18.99 0 0014.57-22.62 19.11 19.11 0 00-22.82-14.57c-10.18 2.28-19.66 1.9-29.3 1.03-4.75-.53-9.32-1.2-14.06-2.26-4.74-.35-8.92-3.5-12.96-7.71-4.03-4.74-8.6-5.97-13.16-7.37l-.3-.1c.6-6.51.99-13.08.99-19.75 0-43.5-13.28-83.99-35.99-117.6 3.33-3.5 6.7-6.82 7.92-12.78 1.58-5.61 3.68-10.53 7.71-13.16 3.51-3.16 7.38-5.96 11.24-8.77 7.9-5.27 16.16-10.36 25.98-13.16a18.5 18.5 0 0011.55-9.67 18.8 18.8 0 00-8.22-25.6 18.84 18.84 0 00-25.64 8.22c-4.74 9.13-11.22 16.33-17.89 23-3.51 3.34-7 6.51-10.7 9.5-3.33 3.5-8.6 4.55-14.39 4.9-6.14.17-10.01 2.99-14.05 5.62a210 210 0 00-127.4-60.02c-.52-4.73-.87-9.48-4.55-14.22-3.51-4.74-5.98-9.48-5.45-14.22-.17-4.74.03-9.48.38-14.4 1.05-9.47 2.44-18.94 6.48-28.41 1.93-4.56 2.1-10 0-15.08a19.23 19.23 0 00-17.69-11.52m-25.16 133.91l-.85 6.75c-2.46 18.96-4.21 38.08-5.97 57.04a876 876 0 00-2.64 30.2c-8.6-6.15-17.2-12.66-26.32-18.45-15.79-10.7-31.6-21.42-47.91-31.6l-5.52-3.43a174.43 174.43 0 0189.21-40.5m50.59 0a174.38 174.38 0 0192.16 43.21l-5.86 3.7c-16.14 10.35-31.74 21.07-47.54 31.77a491.28 491.28 0 00-18.44 13 7.3 7.3 0 01-11.58-5.46c-.53-7.54-1.22-14.9-1.92-22.45-1.75-18.95-3.5-38.08-5.96-57.03zm-173 78.82l5.58 5.83c13.33 13.86 26.86 27.2 40.54 40.71 5.8 5.8 11.58 11.26 17.55 16.7a7.19 7.19 0 01-2.81 12.27c-8.6 2.63-17.21 5.07-25.8 7.88-18.08 5.97-36.32 11.6-54.4 18.1l-7.95 2.77c-.17-3.2-.48-6.37-.48-9.63 0-34.92 10.27-67.33 27.76-94.63m297.52 3.46a174.67 174.67 0 0125.67 91.17c0 2.93-.3 5.78-.44 8.67l-6.24-1.98c-18.25-5.97-36.48-11.09-54.9-16.35a900.54 900.54 0 00-35.82-9.63c8.95-8.6 18.27-17.04 26.87-25.81 13.51-13.51 27-27.02 40.17-41.06zM501.12 492.2h21.39c3.33 0 6.5 1.58 8.26 4.04l13.67 17.2a10.65 10.65 0 012.13 8.57l-4.94 21.25c-.52 3.34-2.81 5.96-5.62 7.54l-19.64 9.12a9.36 9.36 0 01-9.11 0l-19.67-9.12c-2.81-1.58-5.27-4.2-5.63-7.54l-4.9-21.25c-.52-2.98.2-6.28 2.13-8.56l13.67-17.2a10.25 10.25 0 018.26-4.05m-63.37 83.7c5.44-.88 9.85 4.57 7.75 9.66a784.28 784.28 0 00-9.5 26.15 1976.84 1976.84 0 00-18.78 54.22l-2.4 7.54a175.26 175.26 0 01-68-87.3l9.33-.78c19.13-1.76 37.9-4.06 57.03-6.34 8.25-.88 16.33-2.1 24.57-3.16m151.63 2.47c8.24.88 16.32 1.77 24.57 2.47 19.13 1.75 38.07 3.5 57.2 4.73l6.1.34a175.25 175.25 0 01-66.6 86.58l-1.98-6.38c-5.79-18.25-12.1-36.32-18.23-54.22a951.58 951.58 0 00-8.6-23.85 7.16 7.16 0 017.54-9.67m-76.1 34.62c2.5 0 5.01 1.26 6.42 3.8a526.47 526.47 0 0012.13 21.77c9.48 16.5 18.92 33.17 29.1 49.32l4.15 6.71a176.03 176.03 0 01-53.1 8.2 176.14 176.14 0 01-51.57-7.72l4.38-7.02c10.18-16.15 19.83-32.66 29.48-49.15a451.58 451.58 0 0012.65-22.1 7.2 7.2 0 016.37-3.81"}}]},name:"kubernetes",theme:"outlined"},hi=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ho}))}),hu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z"}}]},name:"laptop",theme:"outlined"},hs=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hu}))}),hf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M384 912h496c17.7 0 32-14.3 32-32V340H384v572zm496-800H384v164h528V144c0-17.7-14.3-32-32-32zm-768 32v736c0 17.7 14.3 32 32 32h176V112H144c-17.7 0-32 14.3-32 32z"}}]},name:"layout",theme:"filled"},hh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hf}))}),hd={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-696 72h136v656H184V184zm656 656H384V384h456v456zM384 320V184h456v136H384z"}}]},name:"layout",theme:"outlined"},hv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hd}))}),hm={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M384 185h456v136H384zm-200 0h136v656H184zm696-73H144c-17.7 0-32 14.3-32 32v1c0-17.7 14.3-32 32-32h736c17.7 0 32 14.3 32 32v-1c0-17.7-14.3-32-32-32zM384 385h456v456H384z",fill:t}},{tag:"path",attrs:{d:"M880 113H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V145c0-17.7-14.3-32-32-32zM320 841H184V185h136v656zm520 0H384V385h456v456zm0-520H384V185h456v136z",fill:e}}]}},name:"layout",theme:"twotone"},hg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hm}))}),hz={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 64zm104 316.9c0 10.2-4.9 19.9-13.2 25.9L457.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178a8 8 0 0112.7 6.5v46.8z"}}]},name:"left-circle",theme:"filled"},hp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hz}))}),hw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"left-circle",theme:"outlined"},hM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hw}))}),hZ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm104 240.9c0 10.3-4.9 19.9-13.2 25.9L457.4 512l145.4 105.1c8.3 6 13.2 15.7 13.2 25.9v46.9c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178c5.3-3.8 12.7 0 12.7 6.5v46.9z",fill:t}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z",fill:e}}]}},name:"left-circle",theme:"twotone"},hH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hZ}))}),hb=c(72097),hV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM624 380.9c0 10.2-4.9 19.9-13.2 25.9L465.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178c5.3-3.8 12.7 0 12.7 6.5v46.8z"}}]},name:"left-square",theme:"filled"},hC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hV}))}),hx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M365.3 518.5l246 178c5.3 3.8 12.7 0 12.7-6.5v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a8.05 8.05 0 000 13z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"left-square",theme:"outlined"},hE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hx}))}),hL={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm181.3-334.5l246-178c5.3-3.8 12.7 0 12.7 6.5v46.9c0 10.3-4.9 19.9-13.2 25.9L465.4 512l145.4 105.2c8.3 6 13.2 15.7 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.4l-246-178a7.95 7.95 0 010-12.9z",fill:t}},{tag:"path",attrs:{d:"M365.3 518.4l246 178c5.3 3.9 12.7.1 12.7-6.4v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a7.95 7.95 0 000 12.9z",fill:e}}]}},name:"left-square",theme:"twotone"},hR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hL}))}),hy={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311h-.3v428h472.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32z"}}]},name:"like",theme:"filled"},hB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hy}))}),hS=c(16559),hO={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M273 495.9v428l.3-428zm538.2-88.3H496.8l9.6-198.4c.6-11.9-4.7-23.1-14.6-30.5-6.1-4.5-13.6-6.8-21.1-6.7-19.6.1-36.9 13.4-42.2 32.3-37.1 134.4-64.9 235.2-83.5 302.5V852h399.4a56.85 56.85 0 0033.6-51.8c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-14-25.5 21.9-19a56.76 56.76 0 0019.6-43c0-19.1-11-37.5-28.8-48.4z",fill:t}},{tag:"path",attrs:{d:"M112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32zm773.9 5.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.5-65.5-111a67.67 67.67 0 00-34.3-9.3H572.3l6-122.9c1.5-29.7-9-57.9-29.5-79.4a106.4 106.4 0 00-77.9-33.4c-52 0-98 35-111.8 85.1l-85.8 310.8-.3 428h472.1c9.3 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37zM820.4 499l-21.9 19 14 25.5a56.2 56.2 0 016.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H345V506.8c18.6-67.2 46.4-168 83.5-302.5a44.28 44.28 0 0142.2-32.3c7.5-.1 15 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.1 32.2-19.6 43z",fill:e}}]}},name:"like",theme:"twotone"},hk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hO}))}),h$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6a8.03 8.03 0 00-11.3 0l-230 229.9L461.4 404a8.03 8.03 0 00-11.3 0L266.3 586.7a8.03 8.03 0 000 11.3l39.5 39.7z"}}]},name:"line-chart",theme:"outlined"},hT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:h$}))}),hF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M648 160H104c-4.4 0-8 3.6-8 8v128c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-64h168v560h-92c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-92V232h168v64c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zm272.8 546H856V318h64.8c6 0 9.4-7 5.7-11.7L825.7 178.7a7.14 7.14 0 00-11.3 0L713.6 306.3a7.23 7.23 0 005.7 11.7H784v388h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5a7.2 7.2 0 00-5.6-11.7z"}}]},name:"line-height",theme:"outlined"},hI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hF}))}),hA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 476H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"line",theme:"outlined"},hD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hA}))}),hP=c(86959),hN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM349.3 793.7H230.6V411.9h118.7v381.8zm-59.3-434a68.8 68.8 0 1168.8-68.8c-.1 38-30.9 68.8-68.8 68.8zm503.7 434H675.1V608c0-44.3-.8-101.2-61.7-101.2-61.7 0-71.2 48.2-71.2 98v188.9H423.7V411.9h113.8v52.2h1.6c15.8-30 54.5-61.7 112.3-61.7 120.2 0 142.3 79.1 142.3 181.9v209.4z"}}]},name:"linkedin",theme:"filled"},hq=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hN}))}),hj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.7 112H176.3c-35.5 0-64.3 28.8-64.3 64.3v671.4c0 35.5 28.8 64.3 64.3 64.3h671.4c35.5 0 64.3-28.8 64.3-64.3V176.3c0-35.5-28.8-64.3-64.3-64.3zm0 736c-447.8-.1-671.7-.2-671.7-.3.1-447.8.2-671.7.3-671.7 447.8.1 671.7.2 671.7.3-.1 447.8-.2 671.7-.3 671.7zM230.6 411.9h118.7v381.8H230.6zm59.4-52.2c37.9 0 68.8-30.8 68.8-68.8a68.8 68.8 0 10-137.6 0c-.1 38 30.7 68.8 68.8 68.8zm252.3 245.1c0-49.8 9.5-98 71.2-98 60.8 0 61.7 56.9 61.7 101.2v185.7h118.6V584.3c0-102.8-22.2-181.9-142.3-181.9-57.7 0-96.4 31.7-112.3 61.7h-1.6v-52.2H423.7v381.8h118.6V604.8z"}}]},name:"linkedin",theme:"outlined"},hW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hj}))}),hY={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M530.8 64c-5.79 0-11.76.3-17.88.78-157.8 12.44-115.95 179.45-118.34 235.11-2.88 40.8-11.2 72.95-39.24 112.78-33.03 39.23-79.4 102.66-101.39 168.77-10.37 31.06-15.3 62.87-10.71 92.92a15.83 15.83 0 00-4.14 5.04c-9.7 10-16.76 22.43-24.72 31.32-7.42 7.43-18.1 9.96-29.75 14.93-11.68 5.08-24.56 10.04-32.25 25.42a49.7 49.7 0 00-4.93 22.43c0 7.43 1 14.97 2.05 20.01 2.17 14.9 4.33 27.22 1.46 36.21-9.26 25.39-10.42 42.79-3.92 55.44 6.5 12.47 19.97 17.51 35.05 22.44 30.28 7.46 71.3 5.04 103.6 22.36 34.56 17.43 69.66 25.05 97.65 17.54a66.01 66.01 0 0045.1-35.27c21.91-.12 45.92-10.05 84.37-12.47 26.09-2.17 58.75 9.97 96.23 7.43.94 5.04 2.36 7.43 4.26 12.47l.11.1c14.6 29.05 41.55 42.27 70.33 39.99 28.78-2.24 59.43-20.01 84.26-48.76 23.55-28.55 62.83-40.46 88.77-56.1 12.99-7.43 23.48-17.51 24.23-31.85.86-14.93-7.43-30.3-26.66-51.4v-3.62l-.1-.11c-6.35-7.47-9.34-19.98-12.63-34.57-3.17-14.97-6.8-29.34-18.36-39.05h-.11c-2.2-2.02-4.6-2.5-7.02-5.04a13.33 13.33 0 00-7.1-2.39c16.1-47.7 9.86-95.2-6.45-137.9-19.9-52.63-54.7-98.48-81.2-130.02-29.71-37.52-58.83-73.06-58.27-125.77 1-80.33 8.85-228.95-132.3-229.17m19.75 127.11h.48c7.95 0 14.79 2.31 21.8 7.4 7.13 5.03 12.32 12.39 16.4 19.89 3.91 9.67 5.89 17.13 6.19 27.03 0-.75.22-1.5.22-2.2v3.88a3.21 3.21 0 01-.15-.79l-.15-.9a67.46 67.46 0 01-5.6 26.36 35.58 35.58 0 01-7.95 12.5 26.5 26.5 0 00-3.28-1.56c-3.92-1.68-7.43-2.39-10.64-4.96a48.98 48.98 0 00-8.18-2.47c1.83-2.2 5.42-4.96 6.8-7.39a44.22 44.22 0 003.28-15v-.72a45.17 45.17 0 00-2.27-14.93c-1.68-5.04-3.77-7.5-6.84-12.47-3.13-2.46-6.23-4.92-9.96-4.92h-.6c-3.47 0-6.57 1.12-9.78 4.92a29.86 29.86 0 00-7.65 12.47 44.05 44.05 0 00-3.36 14.93v.71c.07 3.33.3 6.69.74 9.97-7.2-2.5-16.35-5.04-22.66-7.54-.37-2.46-.6-4.94-.67-7.43v-.75a66.15 66.15 0 015.6-28.7 40.45 40.45 0 0116.05-19.9 36.77 36.77 0 0122.18-7.43m-110.58 2.2h1.35c5.3 0 10.08 1.8 14.9 5.04a51.6 51.6 0 0112.83 17.36c3.36 7.43 5.27 14.97 5.72 24.9v.15c.26 5 .22 7.5-.08 9.93v2.99c-1.12.26-2.09.67-3.1.9-5.67 2.05-10.23 5.03-14.67 7.46.45-3.32.49-6.68.11-9.97v-.56c-.44-4.96-1.45-7.43-3.06-12.43a22.88 22.88 0 00-6.2-9.97 9.26 9.26 0 00-6.83-2.39h-.78c-2.65.23-4.85 1.53-6.94 4.93a20.6 20.6 0 00-4.48 10.08 35.24 35.24 0 00-.86 12.36v.52c.45 5.04 1.38 7.5 3.02 12.47 1.68 5 3.62 7.46 6.16 10 .41.34.79.67 1.27.9-2.61 2.13-4.37 2.61-6.57 5.08a11.39 11.39 0 01-4.89 2.53 97.84 97.84 0 01-10.27-15 66.15 66.15 0 01-5.78-24.9 65.67 65.67 0 012.98-24.94 53.38 53.38 0 0110.57-19.97c4.78-4.97 9.7-7.47 15.6-7.47M491.15 257c12.36 0 27.33 2.43 45.36 14.9 10.94 7.46 19.52 10.04 39.31 17.47h.11c9.52 5.07 15.12 9.93 17.84 14.9v-4.9a21.32 21.32 0 01.6 17.55c-4.59 11.6-19.26 24.04-39.72 31.47v.07c-10 5.04-18.7 12.43-28.93 17.36-10.3 5.04-21.95 10.9-37.78 9.97a42.52 42.52 0 01-16.72-2.5 133.12 133.12 0 01-12.02-7.4c-7.28-5.04-13.55-12.39-22.85-17.36v-.18h-.19c-14.93-9.19-22.99-19.12-25.6-26.54-2.58-10-.19-17.51 7.2-22.4 8.36-5.04 14.19-10.12 18.03-12.55 3.88-2.76 5.34-3.8 6.57-4.89h.08v-.1c6.3-7.55 16.27-17.52 31.32-22.44a68.65 68.65 0 0117.4-2.43m104.48 80c13.4 52.9 44.69 129.72 64.8 166.98 10.68 19.93 31.93 61.93 41.15 112.89 5.82-.19 12.28.67 19.15 2.39 24.11-62.38-20.39-129.43-40.66-148.06-8.25-7.5-8.66-12.5-4.59-12.5 21.99 19.93 50.96 58.68 61.45 102.92 4.81 19.97 5.93 41.21.78 62.34 2.5 1.05 5.04 2.28 7.65 2.5 38.53 19.94 52.75 35.02 45.92 57.38v-1.6c-2.27-.12-4.48 0-6.75 0h-.56c5.63-17.44-6.8-30.8-39.76-45.7-34.16-14.93-61.45-12.54-66.11 17.36-.27 1.6-.45 2.46-.64 5.04-2.54.86-5.19 1.98-7.8 2.39-16.05 10-24.71 24.97-29.6 44.31-4.86 19.9-6.35 43.16-7.66 69.77v.11c-.78 12.47-6.38 31.29-11.9 50.44-56 40.01-133.65 57.41-199.69 12.46a98.74 98.74 0 00-15-19.9 54.13 54.13 0 00-10.27-12.46c6.8 0 12.62-1.08 17.36-2.5a22.96 22.96 0 0011.72-12.47c4.03-9.97 0-26.02-12.88-43.42C398.87 730.24 377 710.53 345 690.9c-23.51-14.89-36.8-32.47-42.93-52.1-6.16-19.94-5.33-40.51-.56-61.42 9.15-39.94 32.6-78.77 47.56-103.14 4-2.43 1.38 5.04-15.23 36.36-14.78 28.03-42.6 93.21-4.55 143.87a303.27 303.27 0 0124.15-107.36c21.06-47.71 65.07-130.81 68.54-196.66 1.8 1.34 8.1 5.04 10.79 7.54 8.14 4.96 14.18 12.43 22.02 17.36 7.88 7.5 17.81 12.5 32.7 12.5 1.46.12 2.8.23 4.15.23 15.34 0 27.21-5 37.18-10 10.83-5 19.45-12.48 27.63-14.94h.18c17.44-5.04 31.21-15 39.01-26.13m81.6 334.4c1.39 22.44 12.81 46.48 32.93 51.41 21.95 5 53.53-12.43 66.86-28.56l7.88-.33c11.76-.3 21.54.37 31.62 9.97l.1.1c7.77 7.44 11.4 19.83 14.6 32.7 3.18 14.98 5.75 29.13 15.27 39.8 18.15 19.68 24.08 33.82 23.75 42.56l.1-.22v.67l-.1-.45c-.56 9.78-6.91 14.78-18.6 22.21-23.51 14.97-65.17 26.58-91.72 58.61-23.07 27.51-51.18 42.52-76 44.46-24.79 1.98-46.18-7.46-58.76-33.52l-.19-.11c-7.84-14.97-4.48-38.27 2.1-63.1 6.56-24.93 15.97-50.2 17.28-70.85 1.38-26.65 2.83-49.83 7.28-67.71 4.48-17.36 11.5-29.76 23.93-36.74l1.68-.82zm-403.72 1.84h.37c1.98 0 3.92.18 5.86.52 14.04 2.05 26.35 12.43 38.19 28.07l33.97 62.12.11.11c9.07 19.9 28.15 39.72 44.39 61.15 16.2 22.32 28.74 42.22 27.21 58.61v.22c-2.13 27.78-17.88 42.86-42 48.3-24.07 5.05-56.74.08-89.4-17.31-36.14-20.01-79.07-17.51-106.66-22.48-13.77-2.46-22.8-7.5-26.99-14.97-4.14-7.42-4.21-22.43 4.6-45.91v-.11l.07-.12c4.37-12.46 1.12-28.1-1-41.77-2.06-14.97-3.1-26.47 1.6-35.09 5.97-12.47 14.78-14.9 25.72-19.9 11.01-5.04 23.93-7.54 34.2-17.5h.07v-.12c9.55-10 16.61-22.43 24.93-31.28 7.1-7.5 14.19-12.54 24.75-12.54M540.76 334.5c-16.24 7.5-35.27 19.97-55.54 19.97-20.24 0-36.21-9.97-47.75-17.4-5.79-5-10.45-10-13.96-12.5-6.12-5-5.38-12.47-2.76-12.47 4.07.6 4.81 5.04 7.43 7.5 3.58 2.47 8.02 7.43 13.47 12.43 10.86 7.47 25.39 17.44 43.53 17.44 18.1 0 39.3-9.97 52.19-17.4 7.28-5.04 16.6-12.47 24.19-17.43 5.82-5.12 5.56-10 10.41-10 4.82.6 1.27 5-5.48 12.42a302.3 302.3 0 01-25.76 17.47v-.03zm-40.39-59.13v-.83c-.22-.7.49-1.56 1.09-1.86 2.76-1.6 6.72-1.01 9.7.15 2.35 0 5.97 2.5 5.6 5.04-.22 1.83-3.17 2.46-5.04 2.46-2.05 0-3.43-1.6-5.26-2.54-1.94-.67-5.45-.3-6.09-2.42m-20.57 0c-.74 2.16-4.22 1.82-6.2 2.46-1.75.93-3.2 2.54-5.18 2.54-1.9 0-4.9-.71-5.12-2.54-.33-2.47 3.29-4.97 5.6-4.97 3.03-1.15 6.87-1.75 9.67-.18.71.33 1.35 1.12 1.12 1.86v.79h.11z"}}]},name:"linux",theme:"outlined"},h_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hY}))}),hK={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 1024c-69.1 0-136.2-13.5-199.3-40.2C251.7 958 197 921 150 874c-47-47-84-101.7-109.8-162.7C13.5 648.2 0 581.1 0 512c0-19.9 16.1-36 36-36s36 16.1 36 36c0 59.4 11.6 117 34.6 171.3 22.2 52.4 53.9 99.5 94.3 139.9 40.4 40.4 87.5 72.2 139.9 94.3C395 940.4 452.6 952 512 952c59.4 0 117-11.6 171.3-34.6 52.4-22.2 99.5-53.9 139.9-94.3 40.4-40.4 72.2-87.5 94.3-139.9C940.4 629 952 571.4 952 512c0-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.2C772.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.3s-13.5 136.2-40.2 199.3C958 772.3 921 827 874 874c-47 47-101.8 83.9-162.7 109.7-63.1 26.8-130.2 40.3-199.3 40.3z"}}]},name:"loading-3-quarters",theme:"outlined"},hU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hK}))}),hG=c(37022),hX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1156 0zm152-237H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224z"}}]},name:"lock",theme:"filled"},hQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hX}))}),hJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},h1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hJ}))}),h4={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304z",fill:e}},{tag:"path",attrs:{d:"M232 840h560V536H232v304zm280-226a48.01 48.01 0 0128 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0128-87z",fill:t}},{tag:"path",attrs:{d:"M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z",fill:e}}]}},name:"lock",theme:"twotone"},h2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:h4}))}),h3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M521.7 82c-152.5-.4-286.7 78.5-363.4 197.7-3.4 5.3.4 12.3 6.7 12.3h70.3c4.8 0 9.3-2.1 12.3-5.8 7-8.5 14.5-16.7 22.4-24.5 32.6-32.5 70.5-58.1 112.7-75.9 43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 32.6 32.5 58.1 70.4 76 112.5C865.7 417.8 875 464.1 875 512c0 47.9-9.4 94.2-27.8 137.8-17.8 42.1-43.4 80-76 112.5s-70.5 58.1-112.7 75.9A352.8 352.8 0 01520.6 866c-47.9 0-94.3-9.4-137.9-27.8A353.84 353.84 0 01270 762.3c-7.9-7.9-15.3-16.1-22.4-24.5-3-3.7-7.6-5.8-12.3-5.8H165c-6.3 0-10.2 7-6.7 12.3C234.9 863.2 368.5 942 520.6 942c236.2 0 428-190.1 430.4-425.6C953.4 277.1 761.3 82.6 521.7 82zM395.02 624v-76h-314c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h314v-76c0-6.7 7.8-10.5 13-6.3l141.9 112a8 8 0 010 12.6l-141.9 112c-5.2 4.1-13 .4-13-6.3z"}}]},name:"login",theme:"outlined"},h8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:h3}))}),h6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"},h0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:h6}))}),h5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M624 672a48.01 48.01 0 0096 0c0-26.5-21.5-48-48-48h-48v48zm96-320a48.01 48.01 0 00-96 0v48h48c26.5 0 48-21.5 48-48z"}},{tag:"path",attrs:{d:"M928 64H96c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM672 560c61.9 0 112 50.1 112 112s-50.1 112-112 112-112-50.1-112-112v-48h-96v48c0 61.9-50.1 112-112 112s-112-50.1-112-112 50.1-112 112-112h48v-96h-48c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112v48h96v-48c0-61.9 50.1-112 112-112s112 50.1 112 112-50.1 112-112 112h-48v96h48z"}},{tag:"path",attrs:{d:"M464 464h96v96h-96zM352 304a48.01 48.01 0 000 96h48v-48c0-26.5-21.5-48-48-48zm-48 368a48.01 48.01 0 0096 0v-48h-48c-26.5 0-48 21.5-48 48z"}}]},name:"mac-command",theme:"filled"},h7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:h5}))}),h9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}},{tag:"path",attrs:{d:"M370.8 554.4c-54.6 0-98.8 44.2-98.8 98.8s44.2 98.8 98.8 98.8 98.8-44.2 98.8-98.8v-42.4h84.7v42.4c0 54.6 44.2 98.8 98.8 98.8s98.8-44.2 98.8-98.8-44.2-98.8-98.8-98.8h-42.4v-84.7h42.4c54.6 0 98.8-44.2 98.8-98.8 0-54.6-44.2-98.8-98.8-98.8s-98.8 44.2-98.8 98.8v42.4h-84.7v-42.4c0-54.6-44.2-98.8-98.8-98.8S272 316.2 272 370.8s44.2 98.8 98.8 98.8h42.4v84.7h-42.4zm42.4 98.8c0 23.4-19 42.4-42.4 42.4s-42.4-19-42.4-42.4 19-42.4 42.4-42.4h42.4v42.4zm197.6-282.4c0-23.4 19-42.4 42.4-42.4s42.4 19 42.4 42.4-19 42.4-42.4 42.4h-42.4v-42.4zm0 240h42.4c23.4 0 42.4 19 42.4 42.4s-19 42.4-42.4 42.4-42.4-19-42.4-42.4v-42.4zM469.6 469.6h84.7v84.7h-84.7v-84.7zm-98.8-56.4c-23.4 0-42.4-19-42.4-42.4s19-42.4 42.4-42.4 42.4 19 42.4 42.4v42.4h-42.4z"}}]},name:"mac-command",theme:"outlined"},de=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:h9}))}),dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-80.8 108.9L531.7 514.4c-7.8 6.1-18.7 6.1-26.5 0L189.6 268.9A7.2 7.2 0 01194 256h648.8a7.2 7.2 0 014.4 12.9z"}}]},name:"mail",theme:"filled"},dc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dt}))}),dn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z"}}]},name:"mail",theme:"outlined"},da=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dn}))}),dr={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M477.5 536.3L135.9 270.7l-27.5-21.4 27.6 21.5V792h752V270.8L546.2 536.3a55.99 55.99 0 01-68.7 0z",fill:t}},{tag:"path",attrs:{d:"M876.3 198.8l39.3 50.5-27.6 21.5 27.7-21.5-39.3-50.5z",fill:t}},{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-94.5 72.1L512 482 190.5 232.1h643zm54.5 38.7V792H136V270.8l-27.6-21.5 27.5 21.4 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5h.1l39.3 50.5-27.7 21.5z",fill:e}}]}},name:"mail",theme:"twotone"},dl=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dr}))}),di={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M874 120H622c-3.3 0-6 2.7-6 6v56c0 3.3 2.7 6 6 6h160.4L583.1 387.3c-50-38.5-111-59.3-175.1-59.3-76.9 0-149.3 30-203.6 84.4S120 539.1 120 616s30 149.3 84.4 203.6C258.7 874 331.1 904 408 904s149.3-30 203.6-84.4C666 765.3 696 692.9 696 616c0-64.1-20.8-124.9-59.2-174.9L836 241.9V402c0 3.3 2.7 6 6 6h56c3.3 0 6-2.7 6-6V150c0-16.5-13.5-30-30-30zM408 828c-116.9 0-212-95.1-212-212s95.1-212 212-212 212 95.1 212 212-95.1 212-212 212z"}}]},name:"man",theme:"outlined"},du=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:di}))}),ds={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM660 628c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V636H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V464c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8v48zm4-372H360v-72h304v72z"}}]},name:"medicine-box",theme:"filled"},df=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ds}))}),dh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840zM652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"medicine-box",theme:"outlined"},dd=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dh}))}),dv={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M244.3 328L184 513.4V840h656V513.4L779.7 328H244.3zM660 628c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V636H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V464c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8v48z",fill:t}},{tag:"path",attrs:{d:"M652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z",fill:e}},{tag:"path",attrs:{d:"M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840z",fill:e}}]}},name:"medicine-box",theme:"twotone"},dm=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dv}))}),dg={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 64zm256 253.7l-40.8 39.1c-3.6 2.7-5.3 7.1-4.6 11.4v287.7c-.7 4.4 1 8.8 4.6 11.4l40 39.1v8.7H566.4v-8.3l41.3-40.1c4.1-4.1 4.1-5.3 4.1-11.4V422.5l-115 291.6h-15.5L347.5 422.5V618c-1.2 8.2 1.7 16.5 7.5 22.4l53.8 65.1v8.7H256v-8.7l53.8-65.1a26.1 26.1 0 007-22.4V392c.7-6.3-1.7-12.4-6.5-16.7l-47.8-57.6V309H411l114.6 251.5 100.9-251.3H768v8.5z"}}]},name:"medium-circle",theme:"filled"},dz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dg}))}),dp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.7 279.8l61.3-58.9V208H683.7L532.4 586.4 360.3 208H137.7v12.9l71.6 86.6c7 6.4 10.6 15.8 9.7 25.2V673c2.2 12.3-1.7 24.8-10.3 33.7L128 805v12.7h228.6v-12.9l-80.6-98a39.99 39.99 0 01-11.1-33.7V378.7l200.7 439.2h23.3l172.6-439.2v349.9c0 9.2 0 11.1-6 17.2l-62.1 60.3V819h301.2v-12.9l-59.9-58.9c-5.2-4-7.9-10.7-6.8-17.2V297a18.1 18.1 0 016.8-17.2z"}}]},name:"medium",theme:"outlined"},dw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dp}))}),dM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM768 317.7l-40.8 39.1c-3.6 2.7-5.3 7.1-4.6 11.4v287.7c-.7 4.4 1 8.8 4.6 11.4l40 39.1v8.7H566.4v-8.3l41.3-40.1c4.1-4.1 4.1-5.3 4.1-11.4V422.5l-115 291.6h-15.5L347.5 422.5V618c-1.2 8.2 1.7 16.5 7.5 22.4l53.8 65.1v8.7H256v-8.7l53.8-65.1a26.1 26.1 0 007-22.4V392c.7-6.3-1.7-12.4-6.5-16.7l-47.8-57.6V309H411l114.6 251.5 100.9-251.3H768v8.5z"}}]},name:"medium-square",theme:"filled"},dZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dM}))}),dH={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M517.2 590.55c0 3.55 0 4.36 2.4 6.55l13.43 13.25v.57h-59.57v-25.47a41.44 41.44 0 01-39.5 27.65c-30.61 0-52.84-24.25-52.84-68.87 0-41.8 23.99-69.69 57.65-69.69a35.15 35.15 0 0134.61 21.67v-56.19a6.99 6.99 0 00-2.71-6.79l-12.8-12.45v-.56l59.33-7.04v177.37zm-43.74-8.09v-83.83a22.2 22.2 0 00-17.74-8.4c-14.48 0-28.47 13.25-28.47 52.62 0 36.86 12.07 49.88 27.1 49.88a23.91 23.91 0 0019.11-10.27zm83.23 28.46V497.74a7.65 7.65 0 00-2.4-6.79l-13.19-13.74v-.57h59.56v114.8c0 3.55 0 4.36 2.4 6.54l13.12 12.45v.57l-59.49-.08zm-2.16-175.67c0-13.4 10.74-24.25 23.99-24.25 13.25 0 23.98 10.86 23.98 24.25 0 13.4-10.73 24.25-23.98 24.25s-23.99-10.85-23.99-24.25zm206.83 155.06c0 3.55 0 4.6 2.4 6.79l13.43 13.25v.57h-59.88V581.9a43.4 43.4 0 01-41.01 31.2c-26.55 0-40.78-19.56-40.78-56.59 0-17.86 0-37.43.56-59.41a6.91 6.91 0 00-2.4-6.55L620.5 477.2v-.57h59.09v73.81c0 24.25 3.51 40.42 18.54 40.42a23.96 23.96 0 0019.35-12.2v-80.85a7.65 7.65 0 00-2.4-6.79l-13.27-13.82v-.57h59.56V590.3zm202.76 20.6c0-4.36.8-59.97.8-72.75 0-24.25-3.76-40.98-20.63-40.98a26.7 26.7 0 00-21.19 11.64 99.68 99.68 0 012.4 23.04c0 16.81-.56 38.23-.8 59.66a6.91 6.91 0 002.4 6.55l13.43 12.45v.56h-60.12c0-4.04.8-59.98.8-72.76 0-24.65-3.76-40.98-20.39-40.98-8.2.3-15.68 4.8-19.83 11.96v82.46c0 3.56 0 4.37 2.4 6.55l13.11 12.45v.56h-59.48V498.15a7.65 7.65 0 00-2.4-6.8l-13.19-14.14v-.57H841v28.78c5.53-19 23.13-31.76 42.7-30.96 19.82 0 33.26 11.16 38.93 32.34a46.41 46.41 0 0144.77-32.34c26.55 0 41.58 19.8 41.58 57.23 0 17.87-.56 38.24-.8 59.66a6.5 6.5 0 002.72 6.55l13.11 12.45v.57h-59.88zM215.87 593.3l17.66 17.05v.57h-89.62v-.57l17.99-17.05a6.91 6.91 0 002.4-6.55V477.69c0-4.6 0-10.83.8-16.16L104.66 613.1h-.72l-62.6-139.45c-1.37-3.47-1.77-3.72-2.65-6.06v91.43a32.08 32.08 0 002.96 17.87l25.19 33.46v.57H0v-.57l25.18-33.55a32.16 32.16 0 002.96-17.78V457.97A19.71 19.71 0 0024 444.15L6.16 420.78v-.56h63.96l53.56 118.1 47.17-118.1h62.6v.56l-17.58 19.8a6.99 6.99 0 00-2.72 6.8v139.37a6.5 6.5 0 002.72 6.55zm70.11-54.65v.56c0 34.6 17.67 48.5 38.38 48.5a43.5 43.5 0 0040.77-24.97h.56c-7.2 34.2-28.14 50.36-59.48 50.36-33.82 0-65.72-20.61-65.72-68.39 0-50.2 31.98-70.25 67.32-70.25 28.46 0 58.76 13.58 58.76 57.24v6.95h-80.59zm0-6.95h39.42v-7.04c0-35.57-7.28-45.03-18.23-45.03-13.27 0-21.35 14.15-21.35 52.07h.16z"}}]},name:"medium-workmark",theme:"outlined"},db=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dH}))}),dV={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 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm384 200c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v48zm16-152a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"meh",theme:"filled"},dC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dV}))}),dx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 565H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"meh",theme:"outlined"},dE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dx}))}),dL={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm384 200c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v48zm16-152a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm376 144H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-24-144a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"meh",theme:"twotone"},dR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dL}))}),dy=c(77539),dB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},dS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dB}))}),dO=c(61335),dk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482.2 508.4L331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z"}}]},name:"merge-cells",theme:"outlined"},d$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dk}))}),dT={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M284 924c61.86 0 112-50.14 112-112 0-49.26-31.8-91.1-76-106.09V421.63l386.49 126.55.01 95.92C661 658.34 628 700.8 628 751c0 61.86 50.14 112 112 112s112-50.14 112-112c0-48.33-30.6-89.5-73.5-105.2l-.01-113.04a50.73 50.73 0 00-34.95-48.2L320 345.85V318.1c43.64-14.8 75.2-55.78 75.99-104.24L396 212c0-61.86-50.14-112-112-112s-112 50.14-112 112c0 49.26 31.8 91.1 76 106.09V705.9c-44.2 15-76 56.83-76 106.09 0 61.86 50.14 112 112 112"}}]},name:"merge",theme:"filled"},dF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dT}))}),dI={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M248 752h72V264h-72z"}},{tag:"path",attrs:{d:"M740 863c61.86 0 112-50.14 112-112 0-48.33-30.6-89.5-73.5-105.2l-.01-113.04a50.73 50.73 0 00-34.95-48.2l-434.9-142.41-22.4 68.42 420.25 137.61.01 95.92C661 658.34 628 700.8 628 751c0 61.86 50.14 112 112 112m-456 61c61.86 0 112-50.14 112-112s-50.14-112-112-112-112 50.14-112 112 50.14 112 112 112m456-125a48 48 0 110-96 48 48 0 010 96m-456 61a48 48 0 110-96 48 48 0 010 96m0-536c61.86 0 112-50.14 112-112s-50.14-112-112-112-112 50.14-112 112 50.14 112 112 112m0-64a48 48 0 110-96 48 48 0 010 96"}}]},name:"merge",theme:"outlined"},dA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dI}))}),dD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.3 338.4a447.57 447.57 0 00-96.1-143.3 443.09 443.09 0 00-143-96.3A443.91 443.91 0 00512 64h-2c-60.5.3-119 12.3-174.1 35.9a444.08 444.08 0 00-141.7 96.5 445 445 0 00-95 142.8A449.89 449.89 0 0065 514.1c.3 69.4 16.9 138.3 47.9 199.9v152c0 25.4 20.6 46 45.9 46h151.8a447.72 447.72 0 00199.5 48h2.1c59.8 0 117.7-11.6 172.3-34.3A443.2 443.2 0 00827 830.5c41.2-40.9 73.6-88.7 96.3-142 23.5-55.2 35.5-113.9 35.8-174.5.2-60.9-11.6-120-34.8-175.6zM312.4 560c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.4 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48z"}}]},name:"message",theme:"filled"},dP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dD}))}),dN=c(61760),dq={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M775.3 248.9a369.62 369.62 0 00-119-80A370.2 370.2 0 00512.1 140h-1.7c-99.7.4-193 39.4-262.8 109.9-69.9 70.5-108 164.1-107.6 263.8.3 60.3 15.3 120.2 43.5 173.1l4.5 8.4V836h140.8l8.4 4.5c52.9 28.2 112.8 43.2 173.1 43.5h1.7c99 0 192-38.2 262.1-107.6 70.4-69.8 109.5-163.1 110.1-262.7.2-50.6-9.5-99.6-28.9-145.8a370.15 370.15 0 00-80-119zM312 560a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M664 512a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}},{tag:"path",attrs:{d:"M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z",fill:e}},{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"message",theme:"twotone"},dj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dq}))}),dW={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 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]},name:"minus-circle",theme:"filled"},dY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dW}))}),d_=c(3936),dK={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm192 396c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z",fill:t}},{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"minus-circle",theme:"twotone"},dU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dK}))}),dG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"},dX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dG}))}),dQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM704 536c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]},name:"minus-square",theme:"filled"},dJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dQ}))}),d1=c(3336),d4={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm136-352c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48z",fill:t}},{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"minus-square",theme:"twotone"},d2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:d4}))}),d3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z"}}]},name:"mobile",theme:"filled"},d8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:d3}))}),d6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"mobile",theme:"outlined"},d0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:d6}))}),d5={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 64H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H288V136h448v752z",fill:e}},{tag:"path",attrs:{d:"M288 888h448V136H288v752zm224-142c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M472 786a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"mobile",theme:"twotone"},d7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:d5}))}),d9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M911.5 699.7a8 8 0 00-10.3-4.8L840 717.2V179c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V762c0 3.3 2.1 6.3 5.3 7.5L501 909.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zm-243.8-377L564 514.3h57.6c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3v39h76.3c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3V703c0 4.4-3.6 8-8 8h-49.9c-4.4 0-8-3.6-8-8v-63.4h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h76v-39h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h57L356.5 322.8c-2.1-3.8-.7-8.7 3.2-10.8 1.2-.7 2.5-1 3.8-1h55.7a8 8 0 017.1 4.4L511 484.2h3.3L599 315.4c1.3-2.7 4.1-4.4 7.1-4.4h54.5c4.4 0 8 3.6 8.1 7.9 0 1.3-.4 2.6-1 3.8z"}}]},name:"money-collect",theme:"filled"},ve=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:d9}))}),vt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M911.5 700.7a8 8 0 00-10.3-4.8L840 718.2V180c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V763c0 3.3 2.1 6.3 5.3 7.5L501 910.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zM512 837.5l-256-93.1V184h512v560.4l-256 93.1zM660.6 312h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.6-1.2 1-2.5 1-3.8-.1-4.3-3.7-7.9-8.1-7.9z"}}]},name:"money-collect",theme:"outlined"},vc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vt}))}),vn={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M256 744.4l256 93.1 256-93.1V184H256v560.4zM359.7 313c1.2-.7 2.5-1 3.8-1h55.7a8 8 0 017.1 4.4L511 485.2h3.3L599 316.4c1.3-2.7 4.1-4.4 7.1-4.4h54.5c4.4 0 8 3.6 8.1 7.9 0 1.3-.4 2.6-1 3.8L564 515.3h57.6c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3v39h76.3c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3V704c0 4.4-3.6 8-8 8h-49.9c-4.4 0-8-3.6-8-8v-63.4h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h76v-39h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h57L356.5 323.8c-2.1-3.8-.7-8.7 3.2-10.8z",fill:t}},{tag:"path",attrs:{d:"M911.5 700.7a8 8 0 00-10.3-4.8L840 718.2V180c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V763c0 3.3 2.1 6.3 5.3 7.5L501 910.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zM768 744.4l-256 93.1-256-93.1V184h512v560.4z",fill:e}},{tag:"path",attrs:{d:"M460.4 515.4h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.6-1.2 1-2.5 1-3.8-.1-4.3-3.7-7.9-8.1-7.9h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6z",fill:e}}]}},name:"money-collect",theme:"twotone"},va=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vn}))}),vr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M692.8 412.7l.2-.2-34.6-44.3a7.97 7.97 0 00-11.2-1.4l-50.4 39.3-70.5-90.1a7.97 7.97 0 00-11.2-1.4l-37.9 29.7a7.97 7.97 0 00-1.4 11.2l70.5 90.2-.2.1 34.6 44.3c2.7 3.5 7.7 4.1 11.2 1.4l50.4-39.3 64.1 82c2.7 3.5 7.7 4.1 11.2 1.4l37.9-29.6c3.5-2.7 4.1-7.7 1.4-11.2l-64.1-82.1zM608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5L114.3 856.1a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6C473 696.1 537.7 720 608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644s-118.2-23.7-161.2-66.8C403.7 534.2 380 476.9 380 416s23.7-118.2 66.8-161.2c43-43.1 100.3-66.8 161.2-66.8s118.2 23.7 161.2 66.8c43.1 43 66.8 100.3 66.8 161.2s-23.7 118.2-66.8 161.2z"}}]},name:"monitor",theme:"outlined"},vl=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vr}))}),vo={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01z"}}]},name:"moon",theme:"filled"},vi=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vo}))}),vu={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01zm-81.15 79.75l-4.11 1.36C271.1 237.94 176 364.09 176 511.5 176 697.34 326.66 848 512.5 848c148.28 0 274.94-96.2 319.45-230.41l.63-1.93-.11.07a307.06 307.06 0 01-159.73 46.26L670 662c-170.1 0-308-137.9-308-308 0-58.6 16.48-114.54 46.27-162.47z"}}]},name:"moon",theme:"outlined"},vs=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vu}))}),vf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"},vh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vf}))}),vd={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06"}}]},name:"muted",theme:"filled"},vv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vd}))}),vm={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06M732 221v582L439.39 611.75l-17.95-11.73H292V423.98h129.44l17.95-11.73z"}}]},name:"muted",theme:"outlined"},vg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vm}))}),vz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM451.7 313.7l172.5 136.2c6.3 5.1 15.8.5 15.8-7.7V344h264c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H640v-98.2c0-8.1-9.4-12.8-15.8-7.7L451.7 298.3a9.9 9.9 0 000 15.4z"}}]},name:"node-collapse",theme:"outlined"},vp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vz}))}),vw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM456 344h264v98.2c0 8.1 9.5 12.8 15.8 7.7l172.5-136.2c5-3.9 5-11.4 0-15.3L735.8 162.1c-6.4-5.1-15.8-.5-15.8 7.7V268H456c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8z"}}]},name:"node-expand",theme:"outlined"},vM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vw}))}),vZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M843.5 737.4c-12.4-75.2-79.2-129.1-155.3-125.4S550.9 676 546 752c-153.5-4.8-208-40.7-199.1-113.7 3.3-27.3 19.8-41.9 50.1-49 18.4-4.3 38.8-4.9 57.3-3.2 1.7.2 3.5.3 5.2.5 11.3 2.7 22.8 5 34.3 6.8 34.1 5.6 68.8 8.4 101.8 6.6 92.8-5 156-45.9 159.2-132.7 3.1-84.1-54.7-143.7-147.9-183.6-29.9-12.8-61.6-22.7-93.3-30.2-14.3-3.4-26.3-5.7-35.2-7.2-7.9-75.9-71.5-133.8-147.8-134.4-76.3-.6-140.9 56.1-150.1 131.9s40 146.3 114.2 163.9c74.2 17.6 149.9-23.3 175.7-95.1 9.4 1.7 18.7 3.6 28 5.8 28.2 6.6 56.4 15.4 82.4 26.6 70.7 30.2 109.3 70.1 107.5 119.9-1.6 44.6-33.6 65.2-96.2 68.6-27.5 1.5-57.6-.9-87.3-5.8-8.3-1.4-15.9-2.8-22.6-4.3-3.9-.8-6.6-1.5-7.8-1.8l-3.1-.6c-2.2-.3-5.9-.8-10.7-1.3-25-2.3-52.1-1.5-78.5 4.6-55.2 12.9-93.9 47.2-101.1 105.8-15.7 126.2 78.6 184.7 276 188.9 29.1 70.4 106.4 107.9 179.6 87 73.3-20.9 119.3-93.4 106.9-168.6zM329.1 345.2a83.3 83.3 0 11.01-166.61 83.3 83.3 0 01-.01 166.61zM695.6 845a83.3 83.3 0 11.01-166.61A83.3 83.3 0 01695.6 845z"}}]},name:"node-index",theme:"outlined"},vH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vZ}))}),vb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.6c-3.7 11.6-5.6 23.9-5.6 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1z"}}]},name:"notification",theme:"filled"},vV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vb}))}),vC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z"}}]},name:"notification",theme:"outlined"},vx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vC}))}),vE={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M229.6 678.1c-3.7 11.6-5.6 23.9-5.6 36.4 0-12.5 2-24.8 5.7-36.4h-.1zm76.3-260.2H184v188.2h121.9l12.9 5.2L840 820.7V203.3L318.8 412.7z",fill:t}},{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z",fill:e}}]}},name:"notification",theme:"twotone"},vL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vE}))}),vR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 394c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H400V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v236H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h228v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h164c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V394h164zM628 630H400V394h228v236z"}}]},name:"number",theme:"outlined"},vy=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vR}))}),vB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M316 672h60c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8zm196-50c22.1 0 40-17.9 40-39 0-23.1-17.9-41-40-41s-40 17.9-40 41c0 21.1 17.9 39 40 39zm0-140c22.1 0 40-17.9 40-39 0-23.1-17.9-41-40-41s-40 17.9-40 41c0 21.1 17.9 39 40 39z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}},{tag:"path",attrs:{d:"M648 672h60c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8z"}}]},name:"one-to-one",theme:"outlined"},vS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vB}))}),vO={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M475.6 112c-74.03 0-139.72 42.38-172.92 104.58v237.28l92.27 56.48 3.38-235.7 189-127.45A194.33 194.33 0 00475.6 112m202.9 62.25c-13.17 0-26.05 1.76-38.8 4.36L453.2 304.36l-1.37 96.15 186.58-125.25 231.22 137.28a195.5 195.5 0 004.87-42.33c0-108.04-87.93-195.96-195.99-195.96M247.34 266C167.34 290.7 109 365.22 109 453.2c0 27.92 5.9 54.83 16.79 79.36l245.48 139.77 90.58-56.12-214.5-131.38zm392.88 74.67l-72.7 48.85L771.5 517.58 797.3 753C867.41 723.11 916 653.97 916 573.1c0-27.55-5.86-54.12-16.57-78.53zm-123 82.6l-66.36 44.56-1.05 76.12 64.7 39.66 69.54-43.04-1.84-76.48zm121.2 76.12l5.87 248.34L443 866.9A195.65 195.65 0 00567.84 912c79.22 0 147.8-46.52 178.62-114.99L719.4 550.22zm-52.86 105.3L372.43 736.68 169.56 621.15a195.35 195.35 0 00-5.22 44.16c0 102.94 79.84 187.41 180.81 195.18L588.2 716.6z"}}]},name:"open-a-i",theme:"filled"},vk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vO}))}),v$={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482.88 128c-84.35 0-156.58 52.8-185.68 126.98-60.89 8.13-115.3 43.63-146.6 97.84-42.16 73-32.55 161.88 17.14 224.16-23.38 56.75-19.85 121.6 11.42 175.78 42.18 73.02 124.1 109.15 202.94 97.23C419.58 898.63 477.51 928 540.12 928c84.35 0 156.58-52.8 185.68-126.98 60.89-8.13 115.3-43.62 146.6-97.84 42.16-73 32.55-161.88-17.14-224.16 23.38-56.75 19.85-121.6-11.42-175.78-42.18-73.02-124.1-109.15-202.94-97.23C603.42 157.38 545.49 128 482.88 128m0 61.54c35.6 0 68.97 13.99 94.22 37.74-1.93 1.03-3.92 1.84-5.83 2.94l-136.68 78.91a46.11 46.11 0 00-23.09 39.78l-.84 183.6-65.72-38.34V327.4c0-76 61.9-137.86 137.94-137.86m197.7 75.9c44.19 3.14 86.16 27.44 109.92 68.57 17.8 30.8 22.38 66.7 14.43 100.42-1.88-1.17-3.6-2.49-5.53-3.6l-136.73-78.91a46.23 46.23 0 00-46-.06l-159.47 91.1.36-76.02 144.5-83.41a137.19 137.19 0 0178.53-18.09m-396.92 55.4c-.07 2.2-.3 4.35-.3 6.56v157.75a46.19 46.19 0 0022.91 39.9l158.68 92.5-66.02 37.67-144.55-83.35c-65.86-38-88.47-122.53-50.45-188.34 17.78-30.78 46.55-52.69 79.73-62.68m340.4 79.93l144.54 83.35c65.86 38 88.47 122.53 50.45 188.34-17.78 30.78-46.55 52.69-79.73 62.68.07-2.19.3-4.34.3-6.55V570.85a46.19 46.19 0 00-22.9-39.9l-158.69-92.5zM511.8 464.84l54.54 31.79-.3 63.22-54.84 31.31-54.54-31.85.3-63.16zm100.54 58.65l65.72 38.35V728.6c0 76-61.9 137.86-137.94 137.86-35.6 0-68.97-13.99-94.22-37.74 1.93-1.03 3.92-1.84 5.83-2.94l136.68-78.9a46.11 46.11 0 0023.09-39.8zm-46.54 89.55l-.36 76.02-144.5 83.41c-65.85 38-150.42 15.34-188.44-50.48-17.8-30.8-22.38-66.7-14.43-100.42 1.88 1.17 3.6 2.5 5.53 3.6l136.74 78.91a46.23 46.23 0 0046 .06z"}}]},name:"open-a-i",theme:"outlined"},vT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:v$}))}),vF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M920 760H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-568H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM216 712H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h72.4v20.5h-35.7c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h35.7V838H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4V716c0-2.2-1.8-4-4-4zM100 188h38v120c0 2.2 1.8 4 4 4h40c2.2 0 4-1.8 4-4V152c0-4.4-3.6-8-8-8h-78c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4zm116 240H100c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4h68.4l-70.3 77.7a8.3 8.3 0 00-2.1 5.4V592c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4v-36c0-2.2-1.8-4-4-4h-68.4l70.3-77.7a8.3 8.3 0 002.1-5.4V432c0-2.2-1.8-4-4-4z"}}]},name:"ordered-list",theme:"outlined"},vI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vF}))}),vA=c(63079),vD=c(92026),vP={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-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z"}}]},name:"pause-circle",theme:"filled"},vN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vP}))}),vq=c(1858),vj={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-80 524c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z",fill:t}},{tag:"path",attrs:{d:"M424 352h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"pause-circle",theme:"twotone"},vW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vj}))}),vY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 176h80v672h-80zm408 0h-64c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8z"}}]},name:"pause",theme:"outlined"},v_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vY}))}),vK={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 64zm166.6 246.8L567.5 515.6h62c4.4 0 8 3.6 8 8v29.9c0 4.4-3.6 8-8 8h-82V603h82c4.4 0 8 3.6 8 8v29.9c0 4.4-3.6 8-8 8h-82V717c0 4.4-3.6 8-8 8h-54.3c-4.4 0-8-3.6-8-8v-68.1h-81.7c-4.4 0-8-3.6-8-8V611c0-4.4 3.6-8 8-8h81.7v-41.5h-81.7c-4.4 0-8-3.6-8-8v-29.9c0-4.4 3.6-8 8-8h61.4L345.4 310.8a8.07 8.07 0 017-11.9h60.7c3 0 5.8 1.7 7.1 4.4l90.6 180h3.4l90.6-180a8 8 0 017.1-4.4h59.5c4.4 0 8 3.6 8 8 .2 1.4-.2 2.7-.8 3.9z"}}]},name:"pay-circle",theme:"filled"},vU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vK}))}),vG={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 00-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8-.1-4.4-3.7-8-8.1-8z"}}]},name:"pay-circle",theme:"outlined"},vX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vG}))}),vQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855.7 210.8l-42.4-42.4a8.03 8.03 0 00-11.3 0L168.3 801.9a8.03 8.03 0 000 11.3l42.4 42.4c3.1 3.1 8.2 3.1 11.3 0L855.6 222c3.2-3 3.2-8.1.1-11.2zM304 448c79.4 0 144-64.6 144-144s-64.6-144-144-144-144 64.6-144 144 64.6 144 144 144zm0-216c39.7 0 72 32.3 72 72s-32.3 72-72 72-72-32.3-72-72 32.3-72 72-72zm416 344c-79.4 0-144 64.6-144 144s64.6 144 144 144 144-64.6 144-144-64.6-144-144-144zm0 216c-39.7 0-72-32.3-72-72s32.3-72 72-72 72 32.3 72 72-32.3 72-72 72z"}}]},name:"percentage",theme:"outlined"},vJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vQ}))}),v1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.6 230.2L779.1 123.8a80.83 80.83 0 00-57.3-23.8c-21.7 0-42.1 8.5-57.4 23.8L549.8 238.4a80.83 80.83 0 00-23.8 57.3c0 21.7 8.5 42.1 23.8 57.4l83.8 83.8A393.82 393.82 0 01553.1 553 395.34 395.34 0 01437 633.8L353.2 550a80.83 80.83 0 00-57.3-23.8c-21.7 0-42.1 8.5-57.4 23.8L123.8 664.5a80.89 80.89 0 00-23.8 57.4c0 21.7 8.5 42.1 23.8 57.4l106.3 106.3c24.4 24.5 58.1 38.4 92.7 38.4 7.3 0 14.3-.6 21.2-1.8 134.8-22.2 268.5-93.9 376.4-201.7C828.2 612.8 899.8 479.2 922.3 344c6.8-41.3-6.9-83.8-36.7-113.8z"}}]},name:"phone",theme:"filled"},v4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:v1}))}),v2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z"}}]},name:"phone",theme:"outlined"},v3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:v2}))}),v8={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M721.7 184.9L610.9 295.8l120.8 120.7-8 21.6A481.29 481.29 0 01438 723.9l-21.6 8-.9-.9-119.8-120-110.8 110.9 104.5 104.5c10.8 10.7 26 15.7 40.8 13.2 117.9-19.5 235.4-82.9 330.9-178.4s158.9-213.1 178.4-331c2.5-14.8-2.5-30-13.3-40.8L721.7 184.9z",fill:t}},{tag:"path",attrs:{d:"M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z",fill:e}}]}},name:"phone",theme:"twotone"},v6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:v8}))}),v0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM848 660c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h672zM232 436h560v152H232V436z"}}]},name:"pic-center",theme:"outlined"},v5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:v0}))}),v7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM608 660c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM152 436h400v152H152V436zm552 210c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H712c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H712c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"pic-left",theme:"outlined"},v9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:v7}))}),me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-24 500c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H416c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM472 436h400v152H472V436zM80 646c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"pic-right",theme:"outlined"},mt=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:me}))}),mc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM338 304c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm513.9 437.1a8.11 8.11 0 01-5.2 1.9H177.2c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2l170.3-202c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l99.4 118 158.1-187.5c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l229.6 271.6c2.6 3.3 2.2 8.4-1.2 11.2z"}}]},name:"picture",theme:"filled"},mn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mc}))}),ma=c(41446),mr=c(52670),ml={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M863.1 518.5H505.5V160.9c0-4.4-3.6-8-8-8h-26a398.57 398.57 0 00-282.5 117 397.47 397.47 0 00-85.6 127C82.6 446.2 72 498.5 72 552.5S82.6 658.7 103.4 708c20.1 47.5 48.9 90.3 85.6 127 36.7 36.7 79.4 65.5 127 85.6a396.64 396.64 0 00155.6 31.5 398.57 398.57 0 00282.5-117c36.7-36.7 65.5-79.4 85.6-127a396.64 396.64 0 0031.5-155.6v-26c-.1-4.4-3.7-8-8.1-8zM951 463l-2.6-28.2c-8.5-92-49.3-178.8-115.1-244.3A398.5 398.5 0 00588.4 75.6L560.1 73c-4.7-.4-8.7 3.2-8.7 7.9v383.7c0 4.4 3.6 8 8 8l383.6-1c4.7-.1 8.4-4 8-8.6z"}}]},name:"pie-chart",theme:"filled"},mo=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ml}))}),mi=c(1136),mu={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M316.2 920.5c-47.6-20.1-90.4-49-127.1-85.7a398.19 398.19 0 01-85.7-127.1A397.12 397.12 0 0172 552.2v.2a398.57 398.57 0 00117 282.5c36.7 36.7 79.4 65.5 127 85.6A396.64 396.64 0 00471.6 952c27 0 53.6-2.7 79.7-7.9-25.9 5.2-52.4 7.8-79.3 7.8-54 .1-106.4-10.5-155.8-31.4zM560 472c-4.4 0-8-3.6-8-8V79.9c0-1.3.3-2.5.9-3.6-.9 1.3-1.5 2.9-1.5 4.6v383.7c0 4.4 3.6 8 8 8l383.6-1c1.6 0 3.1-.5 4.4-1.3-1 .5-2.2.7-3.4.7l-384 1z",fill:t}},{tag:"path",attrs:{d:"M619.8 147.6v256.6l256.4-.7c-13-62.5-44.3-120.5-90-166.1a332.24 332.24 0 00-166.4-89.8z",fill:t}},{tag:"path",attrs:{d:"M438 221.7c-75.9 7.6-146.2 40.9-200.8 95.5C174.5 379.9 140 463.3 140 552s34.5 172.1 97.2 234.8c62.3 62.3 145.1 96.8 233.2 97.2 88.2.4 172.7-34.1 235.3-96.2C761 733 794.6 662.3 802.3 586H438V221.7z",fill:t}},{tag:"path",attrs:{d:"M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552v.2c0 53.9 10.6 106.2 31.4 155.5 20.1 47.6 49 90.4 85.7 127.1 36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952c26.9 0 53.4-2.6 79.3-7.8 26.1-5.3 51.7-13.1 76.4-23.6 47.6-20.1 90.4-49 127.1-85.7 36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552s34.5-172.1 97.2-234.8c54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8z",fill:e}},{tag:"path",attrs:{d:"M952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-3.4-.3-6.4 1.5-7.8 4.3a8.7 8.7 0 00-.9 3.6V464c0 4.4 3.6 8 8 8l384-1c1.2 0 2.3-.3 3.4-.7a8.1 8.1 0 004.6-7.9zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z",fill:e}}]}},name:"pie-chart",theme:"twotone"},ms=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mu}))}),mf={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.97 64 64 264.97 64 512c0 192.53 122.08 357.04 292.88 420.28-4.92-43.86-4.14-115.68 3.97-150.46 7.6-32.66 49.11-208.16 49.11-208.16s-12.53-25.1-12.53-62.16c0-58.24 33.74-101.7 75.77-101.7 35.74 0 52.97 26.83 52.97 58.98 0 35.96-22.85 89.66-34.7 139.43-9.87 41.7 20.91 75.7 62.02 75.7 74.43 0 131.64-78.5 131.64-191.77 0-100.27-72.03-170.38-174.9-170.38-119.15 0-189.08 89.38-189.08 181.75 0 35.98 13.85 74.58 31.16 95.58 3.42 4.16 3.92 7.78 2.9 12-3.17 13.22-10.22 41.67-11.63 47.5-1.82 7.68-6.07 9.28-14 5.59-52.3-24.36-85-100.81-85-162.25 0-132.1 95.96-253.43 276.71-253.43 145.29 0 258.18 103.5 258.18 241.88 0 144.34-91.02 260.49-217.31 260.49-42.44 0-82.33-22.05-95.97-48.1 0 0-21 79.96-26.1 99.56-8.82 33.9-46.55 104.13-65.49 136.03A446.16 446.16 0 00512 960c247.04 0 448-200.97 448-448S759.04 64 512 64"}}]},name:"pinterest",theme:"filled"},mh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mf}))}),md={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.8 64 64 264.8 64 512s200.8 448 448 448 448-200.8 448-448S759.2 64 512 64m0 38.96c226.14 0 409.04 182.9 409.04 409.04 0 226.14-182.9 409.04-409.04 409.04-41.37 0-81.27-6.19-118.89-17.57 16.76-28.02 38.4-68.06 46.99-101.12 5.1-19.6 26.1-99.56 26.1-99.56 13.64 26.04 53.5 48.09 95.94 48.09 126.3 0 217.34-116.15 217.34-260.49 0-138.37-112.91-241.88-258.2-241.88-180.75 0-276.69 121.32-276.69 253.4 0 61.44 32.68 137.91 85 162.26 7.92 3.7 12.17 2.1 14-5.59 1.4-5.83 8.46-34.25 11.63-47.48 1.02-4.22.53-7.86-2.89-12.02-17.31-21-31.2-59.58-31.2-95.56 0-92.38 69.94-181.78 189.08-181.78 102.88 0 174.93 70.13 174.93 170.4 0 113.28-57.2 191.78-131.63 191.78-41.11 0-71.89-34-62.02-75.7 11.84-49.78 34.7-103.49 34.7-139.44 0-32.15-17.25-58.97-53-58.97-42.02 0-75.78 43.45-75.78 101.7 0 37.06 12.56 62.16 12.56 62.16s-41.51 175.5-49.12 208.17c-7.62 32.64-5.58 76.6-2.43 109.34C208.55 830.52 102.96 683.78 102.96 512c0-226.14 182.9-409.04 409.04-409.04"}}]},name:"pinterest",theme:"outlined"},mv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:md}))}),mm={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 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z"}}]},name:"play-circle",theme:"filled"},mg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mm}))}),mz={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"},mp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mz}))}),mw={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm164.1 378.2L457.7 677.1a8.02 8.02 0 01-12.7-6.5V353a8 8 0 0112.7-6.5l218.4 158.8a7.9 7.9 0 010 12.9z",fill:t}},{tag:"path",attrs:{d:"M676.1 505.3L457.7 346.5A8 8 0 00445 353v317.6a8.02 8.02 0 0012.7 6.5l218.4-158.9a7.9 7.9 0 000-12.9z",fill:e}}]}},name:"play-circle",theme:"twotone"},mM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mw}))}),mZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM641.7 520.8L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6z"}}]},name:"play-square",theme:"filled"},mH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mZ}))}),mb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M442.3 677.6l199.4-156.7a11.3 11.3 0 000-17.7L442.3 346.4c-7.4-5.8-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.7 18.3 8.9z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"play-square",theme:"outlined"},mV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mb}))}),mC={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm240-484.7c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3z",fill:t}},{tag:"path",attrs:{d:"M442.3 677.6l199.4-156.8a11.2 11.2 0 000-17.6L442.3 346.5c-7.4-5.9-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.6 18.3 8.8z",fill:e}}]}},name:"play-square",theme:"twotone"},mx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mC}))}),mE={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 64zm192 472c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z"}}]},name:"plus-circle",theme:"filled"},mL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mE}))}),mR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},my=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mR}))}),mB={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm192 396c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z",fill:t}},{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"plus-circle",theme:"twotone"},mS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mB}))}),mO=c(97511),mk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM704 536c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z"}}]},name:"plus-square",theme:"filled"},m$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mk}))}),mT=c(11309),mF={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm136-352c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48z",fill:t}},{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"plus-square",theme:"twotone"},mI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mF}))}),mA={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 64zm146 658c0 4.4-3.6 8-8 8H376.2c-4.4 0-8-3.6-8-8v-38.5c0-3.7 2.5-6.9 6.1-7.8 44-10.9 72.8-49 72.8-94.2 0-14.7-2.5-29.4-5.9-44.2H374c-4.4 0-8-3.6-8-8v-30c0-4.4 3.6-8 8-8h53.7c-7.8-25.1-14.6-50.7-14.6-77.1 0-75.8 58.6-120.3 151.5-120.3 26.5 0 51.4 5.5 70.3 12.7 3.1 1.2 5.2 4.2 5.2 7.5v39.5a8 8 0 01-10.6 7.6c-17.9-6.4-39-10.5-60.4-10.5-53.3 0-87.3 26.6-87.3 70.2 0 24.7 6.2 47.9 13.4 70.5h112c4.4 0 8 3.6 8 8v30c0 4.4-3.6 8-8 8h-98.6c3.1 13.2 5.3 26.9 5.3 41 0 40.7-16.5 73.9-43.9 91.1v4.7h180c4.4 0 8 3.6 8 8V722z"}}]},name:"pound-circle",theme:"filled"},mD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mA}))}),mP={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm138-209.8H469.8v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.9-5.3-41H607c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8H495c-7.2-22.6-13.4-45.7-13.4-70.5 0-43.5 34-70.2 87.3-70.2 21.5 0 42.5 4.1 60.4 10.5 5.2 1.9 10.6-2 10.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.8-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.3 6.9 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.1c3.4 14.7 5.9 29.4 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8V722c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z"}}]},name:"pound-circle",theme:"outlined"},mN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mP}))}),mq={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm146 582.1c0 4.4-3.6 8-8 8H376.2c-4.4 0-8-3.6-8-8v-38.5c0-3.7 2.5-6.9 6.1-7.8 44-10.9 72.8-49 72.8-94.2 0-14.7-2.5-29.4-5.9-44.2H374c-4.4 0-8-3.6-8-8v-30c0-4.4 3.6-8 8-8h53.7c-7.8-25.1-14.6-50.7-14.6-77.1 0-75.8 58.6-120.3 151.5-120.3 26.5 0 51.4 5.5 70.3 12.7 3.1 1.2 5.2 4.2 5.2 7.5v39.5a8 8 0 01-10.6 7.6c-17.9-6.4-39-10.5-60.4-10.5-53.3 0-87.3 26.6-87.3 70.2 0 24.7 6.2 47.9 13.4 70.5h112c4.4 0 8 3.6 8 8v30c0 4.4-3.6 8-8 8h-98.6c3.1 13.2 5.3 26.9 5.3 41 0 40.7-16.5 73.9-43.9 91.1v4.7h180c4.4 0 8 3.6 8 8v39.8z",fill:t}},{tag:"path",attrs:{d:"M650 674.3H470v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.8-5.3-41h98.6c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8h-112c-7.2-22.6-13.4-45.8-13.4-70.5 0-43.6 34-70.2 87.3-70.2 21.4 0 42.5 4.1 60.4 10.5a8 8 0 0010.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.9-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.4 6.8 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.2c3.4 14.8 5.9 29.5 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8v38.5c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"pound-circle",theme:"twotone"},mj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mq}))}),mW={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm138-209.8H469.8v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.9-5.3-41H607c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8H495c-7.2-22.6-13.4-45.7-13.4-70.5 0-43.5 34-70.2 87.3-70.2 21.5 0 42.5 4.1 60.4 10.5 5.2 1.9 10.6-2 10.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.8-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.3 6.9 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.1c3.4 14.7 5.9 29.4 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8V722c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z"}}]},name:"pound",theme:"outlined"},mY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mW}))}),m_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},mK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:m_}))}),mU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M732 120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v148h440V120zm120 212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM664 844H360V568h304v276zm164-360c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z"}}]},name:"printer",theme:"filled"},mG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mU}))}),mX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8zm32-104H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z"}}]},name:"printer",theme:"outlined"},mQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mX}))}),mJ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 180h304v152H360zm492 220H172c-6.6 0-12 5.4-12 12v292h132V500h440v204h132V412c0-6.6-5.4-12-12-12zm-24 84c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z",fill:t}},{tag:"path",attrs:{d:"M852 332H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z",fill:e}},{tag:"path",attrs:{d:"M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"printer",theme:"twotone"},m1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mJ}))}),m4={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M160 144h304a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V160a16 16 0 0116-16m564.31-25.33l181.02 181.02a16 16 0 010 22.62L724.31 503.33a16 16 0 01-22.62 0L520.67 322.31a16 16 0 010-22.62l181.02-181.02a16 16 0 0122.62 0M160 544h304a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V560a16 16 0 0116-16m400 0h304a16 16 0 0116 16v304a16 16 0 01-16 16H560a16 16 0 01-16-16V560a16 16 0 0116-16"}}]},name:"product",theme:"filled"},m2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:m4}))}),m3=c(47520),m8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM380 696c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm304 272c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48z"}}]},name:"profile",theme:"filled"},m6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:m8}))}),m0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM492 400h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zM340 368a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"profile",theme:"outlined"},m5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:m0}))}),m7={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm300-496c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zM380 328c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M340 656a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm152 320h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"profile",theme:"twotone"},m9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:m7}))}),ge={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM368 744c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v464zm192-280c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v184zm192 72c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v256z"}}]},name:"project",theme:"filled"},gt=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ge}))}),gc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M280 752h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8zm192-280h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm192 72h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v256c0 4.4 3.6 8 8 8zm216-432H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"project",theme:"outlined"},gn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gc}))}),ga={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm472-560c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v256c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280zm-192 0c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280zm-192 0c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v464c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280z",fill:t}},{tag:"path",attrs:{d:"M280 752h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8zm192-280h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm192 72h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v256c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"project",theme:"twotone"},gr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ga}))}),gl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM648.3 332.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V658c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z"}}]},name:"property-safety",theme:"filled"},go=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gl}))}),gi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM430.5 318h-46c-1.7 0-3.3.4-4.8 1.2a10.1 10.1 0 00-4 13.6l88 161.1h-45.2c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1v29.7h-63.1c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1V658c0 5.5 4.5 10 10 10h41.3c5.5 0 10-4.5 10-10v-51.8h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-63.4v-29.7h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-45.7l87.7-161.1a10.05 10.05 0 00-8.8-14.8h-45c-3.8 0-7.2 2.1-8.9 5.5l-73.2 144.3-72.9-144.3c-1.7-3.4-5.2-5.5-9-5.5z"}}]},name:"property-safety",theme:"outlined"},gu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gi}))}),gs={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z",fill:e}},{tag:"path",attrs:{d:"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM593.9 318h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V658c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8H418c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7H418c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3L585 323.5a10 10 0 018.9-5.5z",fill:t}},{tag:"path",attrs:{d:"M438.9 323.5a9.88 9.88 0 00-8.9-5.5h-46c-1.7 0-3.3.4-4.8 1.2-4.9 2.7-6.6 8.8-4 13.6l88 161.1H418c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1v29.7H418c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1V658c0 5.5 4.5 10 10 10h41.3c5.5 0 10-4.5 10-10v-51.8h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-63.4v-29.7h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-45.7l87.7-161.1c.8-1.5 1.2-3.1 1.1-4.8 0-5.5-4.5-10-10-10h-45a10 10 0 00-8.9 5.5l-73.2 144.3-72.9-144.3z",fill:e}}]}},name:"property-safety",theme:"twotone"},gf=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gs}))}),gh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M788 705.9V192c0-8.8-7.2-16-16-16H602v-68.8c0-6-7-9.4-11.7-5.7L462.7 202.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V240h114v465.9c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c.1-49.2-31.7-91-75.9-106.1zM752 860a48.01 48.01 0 010-96 48.01 48.01 0 010 96zM384 212c0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1V318.1c44.2-15.1 76-56.9 76-106.1zm-160 0a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0z"}}]},name:"pull-request",theme:"outlined"},gd=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gh}))}),gv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3-15.4 12.3-16.6 35.4-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8z"}}]},name:"pushpin",theme:"filled"},gm=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gv}))}),gg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 00-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 01-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z"}}]},name:"pushpin",theme:"outlined"},gz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gg}))}),gp={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M474.8 357.7l-24.5 24.5-34.4-3.8c-9.6-1.1-19.3-1.6-28.9-1.6-29 0-57.5 4.7-84.7 14.1-14 4.8-27.4 10.8-40.3 17.9l353.1 353.3a259.92 259.92 0 0030.4-153.9l-3.8-34.4 24.5-24.5L800 415.5 608.5 224 474.8 357.7z",fill:t}},{tag:"path",attrs:{d:"M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 00-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 01-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z",fill:e}}]}},name:"pushpin",theme:"twotone"},gw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gp}))}),gM={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M555 790.5a28.5 28.5 0 1057 0 28.5 28.5 0 00-57 0m-143-557a28.5 28.5 0 1057 0 28.5 28.5 0 00-57 0"}},{tag:"path",attrs:{d:"M821.52 297.71H726.3v-95.23c0-49.9-40.58-90.48-90.48-90.48H388.19c-49.9 0-90.48 40.57-90.48 90.48v95.23h-95.23c-49.9 0-90.48 40.58-90.48 90.48v247.62c0 49.9 40.57 90.48 90.48 90.48h95.23v95.23c0 49.9 40.58 90.48 90.48 90.48h247.62c49.9 0 90.48-40.57 90.48-90.48V726.3h95.23c49.9 0 90.48-40.58 90.48-90.48V388.19c0-49.9-40.57-90.48-90.48-90.48M202.48 669.14a33.37 33.37 0 01-33.34-33.33V388.19a33.37 33.37 0 0133.34-33.33h278.57a28.53 28.53 0 0028.57-28.57 28.53 28.53 0 00-28.57-28.58h-126.2v-95.23a33.37 33.37 0 0133.34-33.34h247.62a33.37 33.37 0 0133.33 33.34v256.47a24.47 24.47 0 01-24.47 24.48H379.33c-45.04 0-81.62 36.66-81.62 81.62v104.1zm652.38-33.33a33.37 33.37 0 01-33.34 33.33H542.95a28.53 28.53 0 00-28.57 28.57 28.53 28.53 0 0028.57 28.58h126.2v95.23a33.37 33.37 0 01-33.34 33.34H388.19a33.37 33.37 0 01-33.33-33.34V565.05a24.47 24.47 0 0124.47-24.48h265.34c45.04 0 81.62-36.67 81.62-81.62v-104.1h95.23a33.37 33.37 0 0133.34 33.34z"}}]},name:"python",theme:"outlined"},gZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gM}))}),gH={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 64zm210.5 612.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.2 72.2-51.1 101.8 16.9 5.2 54.9 19.2 45.9 34.4-7.3 12.3-125.6 7.9-159.8 4-34.2 3.8-152.5 8.3-159.8-4-9.1-15.2 28.9-29.2 45.8-34.4-35-29.5-51.1-70.4-51.1-101.8 0 0-33.4 54.1-44.9 52.7-5.4-.7-12.4-29.6 9.4-99.7 10.3-33 22-60.5 40.2-105.8-3.1-116.9 45.3-215 160.4-215 113.9 0 163.3 96.1 160.4 215 18.1 45.2 29.9 72.8 40.2 105.8 21.7 70.1 14.6 99.1 9.3 99.7z"}}]},name:"qq-circle",theme:"filled"},gb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gH}))}),gV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.8 613.2c-16-51.4-34.4-94.6-62.7-165.3C766.5 262.2 689.3 112 511.5 112 331.7 112 256.2 265.2 261 447.9c-28.4 70.8-46.7 113.7-62.7 165.3-34 109.5-23 154.8-14.6 155.8 18 2.2 70.1-82.4 70.1-82.4 0 49 25.2 112.9 79.8 159-26.4 8.1-85.7 29.9-71.6 53.8 11.4 19.3 196.2 12.3 249.5 6.3 53.3 6 238.1 13 249.5-6.3 14.1-23.8-45.3-45.7-71.6-53.8 54.6-46.2 79.8-110.1 79.8-159 0 0 52.1 84.6 70.1 82.4 8.5-1.1 19.5-46.4-14.5-155.8z"}}]},name:"qq",theme:"outlined"},gC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gV}))}),gx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM722.5 676.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.2 72.2-51.1 101.8 16.9 5.2 54.9 19.2 45.9 34.4-7.3 12.3-125.6 7.9-159.8 4-34.2 3.8-152.5 8.3-159.8-4-9.1-15.2 28.9-29.2 45.8-34.4-35-29.5-51.1-70.4-51.1-101.8 0 0-33.4 54.1-44.9 52.7-5.4-.7-12.4-29.6 9.4-99.7 10.3-33 22-60.5 40.2-105.8-3.1-116.9 45.3-215 160.4-215 113.9 0 163.3 96.1 160.4 215 18.1 45.2 29.9 72.8 40.2 105.8 21.7 70.1 14.6 99.1 9.3 99.7z"}}]},name:"qq-square",theme:"filled"},gE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gx}))}),gL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M468 128H160c-17.7 0-32 14.3-32 32v308c0 4.4 3.6 8 8 8h332c4.4 0 8-3.6 8-8V136c0-4.4-3.6-8-8-8zm-56 284H192V192h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm194 210H136c-4.4 0-8 3.6-8 8v308c0 17.7 14.3 32 32 32h308c4.4 0 8-3.6 8-8V556c0-4.4-3.6-8-8-8zm-56 284H192V612h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm590-630H556c-4.4 0-8 3.6-8 8v332c0 4.4 3.6 8 8 8h332c4.4 0 8-3.6 8-8V160c0-17.7-14.3-32-32-32zm-32 284H612V192h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm194 210h-48c-4.4 0-8 3.6-8 8v134h-78V556c0-4.4-3.6-8-8-8H556c-4.4 0-8 3.6-8 8v332c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h78v102c0 4.4 3.6 8 8 8h190c4.4 0 8-3.6 8-8V556c0-4.4-3.6-8-8-8zM746 832h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm142 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"qrcode",theme:"outlined"},gR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gL}))}),gy={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 64zm0 708c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z"}}]},name:"question-circle",theme:"filled"},gB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gy}))}),gS=c(86522),gO={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm0 632c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z",fill:t}},{tag:"path",attrs:{d:"M472 732a40 40 0 1080 0 40 40 0 10-80 0zm151.6-415.3C593.6 290.5 554 276 512 276s-81.6 14.4-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.2 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5 0-39.3-17.2-76-48.4-103.3z",fill:e}}]}},name:"question-circle",theme:"twotone"},gk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gO}))}),g$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M764 280.9c-14-30.6-33.9-58.1-59.3-81.6C653.1 151.4 584.6 125 512 125s-141.1 26.4-192.7 74.2c-25.4 23.6-45.3 51-59.3 81.7-14.6 32-22 65.9-22 100.9v27c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-27c0-99.5 88.6-180.4 197.6-180.4s197.6 80.9 197.6 180.4c0 40.8-14.5 79.2-42 111.2-27.2 31.7-65.6 54.4-108.1 64-24.3 5.5-46.2 19.2-61.7 38.8a110.85 110.85 0 00-23.9 68.6v31.4c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-31.4c0-15.7 10.9-29.5 26-32.9 58.4-13.2 111.4-44.7 149.3-88.7 19.1-22.3 34-47.1 44.3-74 10.7-27.9 16.1-57.2 16.1-87 0-35-7.4-69-22-100.9zM512 787c-30.9 0-56 25.1-56 56s25.1 56 56 56 56-25.1 56-56-25.1-56-56-56z"}}]},name:"question",theme:"outlined"},gT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g$}))}),gF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M926.8 397.1l-396-288a31.81 31.81 0 00-37.6 0l-396 288a31.99 31.99 0 00-11.6 35.8l151.3 466a32 32 0 0030.4 22.1h489.5c13.9 0 26.1-8.9 30.4-22.1l151.3-466c4.2-13.2-.5-27.6-11.7-35.8zM838.6 417l-98.5 32-200-144.7V199.9L838.6 417zM466 567.2l-89.1 122.3-55.2-169.2L466 567.2zm-116.3-96.8L484 373.3v140.8l-134.3-43.7zM512 599.2l93.9 128.9H418.1L512 599.2zm28.1-225.9l134.2 97.1L540.1 514V373.3zM558 567.2l144.3-46.9-55.2 169.2L558 567.2zm-74-367.3v104.4L283.9 449l-98.5-32L484 199.9zM169.3 470.8l86.5 28.1 80.4 246.4-53.8 73.9-113.1-348.4zM327.1 853l50.3-69h269.3l50.3 69H327.1zm414.5-33.8l-53.8-73.9 80.4-246.4 86.5-28.1-113.1 348.4z"}}]},name:"radar-chart",theme:"outlined"},gI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gF}))}),gA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M712 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm2-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM136 374h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-174h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm752 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-230 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 624H358c-87.3 0-158-70.7-158-158V484c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v182c0 127 103 230 230 230h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"radius-bottomleft",theme:"outlined"},gD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gA}))}),gP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M368 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-58-624h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm578 102h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm292 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm174 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 276h-56c-4.4 0-8 3.6-8 8v182c0 87.3-70.7 158-158 158H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c127 0 230-103 230-230V484c0-4.4-3.6-8-8-8z"}}]},name:"radius-bottomright",theme:"outlined"},gN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gP}))}),gq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M396 140h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-44 684h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm524-204h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 344h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm320 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm160 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm140-284c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V370c0-127-103-230-230-230H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h170c87.3 0 158 70.7 158 158v170zM236 96H92c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8V104c0-4.4-3.6-8-8-8zm-48 101.6c0 1.3-1.1 2.4-2.4 2.4h-43.2c-1.3 0-2.4-1.1-2.4-2.4v-43.2c0-1.3 1.1-2.4 2.4-2.4h43.2c1.3 0 2.4 1.1 2.4 2.4v43.2zM920 780H776c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8V788c0-4.4-3.6-8-8-8zm-48 101.6c0 1.3-1.1 2.4-2.4 2.4h-43.2c-1.3 0-2.4-1.1-2.4-2.4v-43.2c0-1.3 1.1-2.4 2.4-2.4h43.2c1.3 0 2.4 1.1 2.4 2.4v43.2z"}}]},name:"radius-setting",theme:"outlined"},gj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gq}))}),gW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M656 200h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm58 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 650h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm696-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174-696H358c-127 0-230 103-230 230v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-87.3 70.7-158 158-158h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"radius-upleft",theme:"outlined"},gY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gW}))}),g_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M368 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-2 696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm522-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-48-696H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c87.3 0 158 70.7 158 158v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-127-103-230-230-230z"}}]},name:"radius-upright",theme:"outlined"},gK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g_}))}),gU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 00324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM404 553.5c0 4.1-3.2 7.5-7.1 7.5H211.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm0-140c0 4.1-3.2 7.5-7.1 7.5H211.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm416 140c0 4.1-3.2 7.5-7.1 7.5H627.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm0-140c0 4.1-3.2 7.5-7.1 7.5H627.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45z"}}]},name:"read",theme:"filled"},gG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gU}))}),gX=c(50374),gQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M676 623c-18.8 0-34 15.2-34 34s15.2 34 34 34 34-15.2 34-34-15.2-34-34-34zm204-455H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zM448 848H176V616h272v232zm0-296H176v-88h272v88zm20-272v-48h72v-56h64v56h72v48H468zm180 168v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8zm28 301c-50.8 0-92-41.2-92-92s41.2-92 92-92 92 41.2 92 92-41.2 92-92 92zm92-245c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v96zm-92 61c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34z"}}]},name:"reconciliation",theme:"filled"},gJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gQ}))}),g1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34zm204-523H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552zM704 408v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zM592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"reconciliation",theme:"outlined"},g4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g1}))}),g2={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M740 344H404V240H304v160h176c17.7 0 32 14.3 32 32v360h328V240H740v104zM584 448c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56zm92 301c-50.8 0-92-41.2-92-92s41.2-92 92-92 92 41.2 92 92-41.2 92-92 92zm92-341v96c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z",fill:t}},{tag:"path",attrs:{d:"M642 657a34 34 0 1068 0 34 34 0 10-68 0z",fill:t}},{tag:"path",attrs:{d:"M592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm112-104v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z",fill:e}},{tag:"path",attrs:{d:"M880 168H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552z",fill:e}},{tag:"path",attrs:{d:"M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34z",fill:e}}]}},name:"reconciliation",theme:"twotone"},g3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g2}))}),g8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM647 470.4l-87.2 161h45.9c4.6 0 8.4 3.8 8.4 8.4v25.1c0 4.6-3.8 8.4-8.4 8.4h-63.3v28.6h63.3c4.6 0 8.4 3.8 8.4 8.4v25c.2 4.6-3.6 8.5-8.2 8.5h-63.3v49.9c0 4.6-3.8 8.4-8.4 8.4h-43.7c-4.6 0-8.4-3.8-8.4-8.4v-49.9h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h63v-28.6h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h45.4l-87.5-161c-2.2-4.1-.7-9.1 3.4-11.4 1.3-.6 2.6-1 3.9-1h48.8c3.2 0 6.1 1.8 7.5 4.6l71.9 141.8 71.9-141.9a8.5 8.5 0 017.5-4.6h47.8c4.6 0 8.4 3.8 8.4 8.4-.1 1.5-.5 2.9-1.1 4.1zM512.6 323L289 148h446L512.6 323z"}}]},name:"red-envelope",theme:"filled"},g6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g8}))}),g0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M440.6 462.6a8.38 8.38 0 00-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 0 00-3.4 11.4l87.4 161.1H419c-4.6 0-8.4 3.8-8.4 8.4V665c0 4.6 3.8 8.4 8.4 8.4h63V702h-63c-4.6 0-8.4 3.8-8.4 8.4v25.1c0 4.6 3.8 8.4 8.4 8.4h63v49.9c0 4.6 3.8 8.4 8.4 8.4h43.7c4.6 0 8.4-3.8 8.4-8.4v-49.9h63.3c4.7 0 8.4-3.8 8.2-8.5v-25c0-4.6-3.8-8.4-8.4-8.4h-63.3v-28.6h63.3c4.6 0 8.4-3.8 8.4-8.4v-25.1c0-4.6-3.8-8.4-8.4-8.4h-45.9l87.2-161a8.45 8.45 0 00-7.4-12.4h-47.8c-3.1 0-6 1.8-7.5 4.6l-71.9 141.9-71.7-142zM832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V193.1l260.3 204.1c11.6 9.1 27.9 9.1 39.5 0L792 193.1V888zm0-751.3h-31.7L512 331.3 263.7 136.7H232v-.7h560v.7z"}}]},name:"red-envelope",theme:"outlined"},g5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g0}))}),g7={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V193.1l260.3 204.1c11.6 9.1 27.9 9.1 39.5 0L792 193.1V888zm0-751.3h-31.7L512 331.3 263.7 136.7H232v-.7h560v.7z",fill:e}},{tag:"path",attrs:{d:"M492.3 397.2L232 193.1V888h560V193.1L531.8 397.2a31.99 31.99 0 01-39.5 0zm99.4 60.9h47.8a8.45 8.45 0 017.4 12.4l-87.2 161h45.9c4.6 0 8.4 3.8 8.4 8.4V665c0 4.6-3.8 8.4-8.4 8.4h-63.3V702h63.3c4.6 0 8.4 3.8 8.4 8.4v25c.2 4.7-3.5 8.5-8.2 8.5h-63.3v49.9c0 4.6-3.8 8.4-8.4 8.4h-43.7c-4.6 0-8.4-3.8-8.4-8.4v-49.9h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h63v-28.6h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h45.4L377 470.4a8.4 8.4 0 013.4-11.4c1.3-.6 2.6-1 3.9-1h48.8c3.2 0 6.1 1.8 7.5 4.6l71.7 142 71.9-141.9a8.6 8.6 0 017.5-4.6z",fill:t}},{tag:"path",attrs:{d:"M232 136.7h31.7L512 331.3l248.3-194.6H792v-.7H232z",fill:t}},{tag:"path",attrs:{d:"M440.6 462.6a8.38 8.38 0 00-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 0 00-3.4 11.4l87.4 161.1H419c-4.6 0-8.4 3.8-8.4 8.4V665c0 4.6 3.8 8.4 8.4 8.4h63V702h-63c-4.6 0-8.4 3.8-8.4 8.4v25.1c0 4.6 3.8 8.4 8.4 8.4h63v49.9c0 4.6 3.8 8.4 8.4 8.4h43.7c4.6 0 8.4-3.8 8.4-8.4v-49.9h63.3c4.7 0 8.4-3.8 8.2-8.5v-25c0-4.6-3.8-8.4-8.4-8.4h-63.3v-28.6h63.3c4.6 0 8.4-3.8 8.4-8.4v-25.1c0-4.6-3.8-8.4-8.4-8.4h-45.9l87.2-161a8.45 8.45 0 00-7.4-12.4h-47.8c-3.1 0-6 1.8-7.5 4.6l-71.9 141.9-71.7-142z",fill:e}}]}},name:"red-envelope",theme:"twotone"},g9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g7}))}),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M584 548a36 36 0 1072 0 36 36 0 10-72 0zm144-108a35.9 35.9 0 00-32.5 20.6c18.8 14.3 34.4 30.7 45.9 48.8A35.98 35.98 0 00728 440zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm245 477.9c4.6 13.5 7 27.6 7 42.1 0 99.4-112.8 180-252 180s-252-80.6-252-180c0-14.5 2.4-28.6 7-42.1A72.01 72.01 0 01296 404c27.1 0 50.6 14.9 62.9 37 36.2-19.8 80.2-32.8 128.1-36.1l58.4-131.1c4.3-9.8 15.2-14.8 25.5-11.8l91.6 26.5a54.03 54.03 0 01101.6 25.6c0 29.8-24.2 54-54 54-23.5 0-43.5-15.1-50.9-36.1L577 308.3l-43 96.5c49.1 3 94.2 16.1 131.2 36.3 12.3-22.1 35.8-37 62.9-37 39.8 0 72 32.2 72 72-.1 29.3-17.8 54.6-43.1 65.8zm-171.3 83c-14.9 11.7-44.3 24.3-73.7 24.3s-58.9-12.6-73.7-24.3c-9.3-7.3-22.7-5.7-30 3.6-7.3 9.3-5.7 22.7 3.6 30 25.7 20.4 65 33.5 100.1 33.5 35.1 0 74.4-13.1 100.2-33.5 9.3-7.3 10.9-20.8 3.6-30a21.46 21.46 0 00-30.1-3.6zM296 440a35.98 35.98 0 00-13.4 69.4c11.5-18.1 27.1-34.5 45.9-48.8A35.9 35.9 0 00296 440zm72 108a36 36 0 1072 0 36 36 0 10-72 0z"}}]},name:"reddit-circle",theme:"filled"},zt=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ze}))}),zc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 568a56 56 0 10112 0 56 56 0 10-112 0zm338.7 119.7c-23.1 18.2-68.9 37.8-114.7 37.8s-91.6-19.6-114.7-37.8c-14.4-11.3-35.3-8.9-46.7 5.5s-8.9 35.3 5.5 46.7C396.3 771.6 457.5 792 512 792s115.7-20.4 155.9-52.1a33.25 33.25 0 10-41.2-52.2zM960 456c0-61.9-50.1-112-112-112-42.1 0-78.7 23.2-97.9 57.6-57.6-31.5-127.7-51.8-204.1-56.5L612.9 195l127.9 36.9c11.5 32.6 42.6 56.1 79.2 56.1 46.4 0 84-37.6 84-84s-37.6-84-84-84c-32 0-59.8 17.9-74 44.2L603.5 123a33.2 33.2 0 00-39.6 18.4l-90.8 203.9c-74.5 5.2-142.9 25.4-199.2 56.2A111.94 111.94 0 00176 344c-61.9 0-112 50.1-112 112 0 45.8 27.5 85.1 66.8 102.5-7.1 21-10.8 43-10.8 65.5 0 154.6 175.5 280 392 280s392-125.4 392-280c0-22.6-3.8-44.5-10.8-65.5C932.5 541.1 960 501.8 960 456zM820 172.5a31.5 31.5 0 110 63 31.5 31.5 0 010-63zM120 456c0-30.9 25.1-56 56-56a56 56 0 0150.6 32.1c-29.3 22.2-53.5 47.8-71.5 75.9a56.23 56.23 0 01-35.1-52zm392 381.5c-179.8 0-325.5-95.6-325.5-213.5S332.2 410.5 512 410.5 837.5 506.1 837.5 624 691.8 837.5 512 837.5zM868.8 508c-17.9-28.1-42.2-53.7-71.5-75.9 9-18.9 28.3-32.1 50.6-32.1 30.9 0 56 25.1 56 56 .1 23.5-14.5 43.7-35.1 52zM624 568a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"reddit",theme:"outlined"},zn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zc}))}),za={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 440a35.98 35.98 0 00-13.4 69.4c11.5-18.1 27.1-34.5 45.9-48.8A35.9 35.9 0 00296 440zm289.7 184.9c-14.9 11.7-44.3 24.3-73.7 24.3s-58.9-12.6-73.7-24.3c-9.3-7.3-22.7-5.7-30 3.6-7.3 9.3-5.7 22.7 3.6 30 25.7 20.4 65 33.5 100.1 33.5 35.1 0 74.4-13.1 100.2-33.5 9.3-7.3 10.9-20.8 3.6-30a21.46 21.46 0 00-30.1-3.6zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM757 541.9c4.6 13.5 7 27.6 7 42.1 0 99.4-112.8 180-252 180s-252-80.6-252-180c0-14.5 2.4-28.6 7-42.1A72.01 72.01 0 01296 404c27.1 0 50.6 14.9 62.9 37 36.2-19.8 80.2-32.8 128.1-36.1l58.4-131.1c4.3-9.8 15.2-14.8 25.5-11.8l91.6 26.5a54.03 54.03 0 01101.6 25.6c0 29.8-24.2 54-54 54-23.5 0-43.5-15.1-50.9-36.1L577 308.3l-43 96.5c49.1 3 94.2 16.1 131.2 36.3 12.3-22.1 35.8-37 62.9-37 39.8 0 72 32.2 72 72-.1 29.3-17.8 54.6-43.1 65.8zM584 548a36 36 0 1072 0 36 36 0 10-72 0zm144-108a35.9 35.9 0 00-32.5 20.6c18.8 14.3 34.4 30.7 45.9 48.8A35.98 35.98 0 00728 440zM368 548a36 36 0 1072 0 36 36 0 10-72 0z"}}]},name:"reddit-square",theme:"filled"},zr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:za}))}),zl=c(72828),zo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},zi=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zo}))}),zu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zM508 704c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zM291 256l22.4-76h397.2l22.4 76H291zm137 304a80 80 0 10160 0 80 80 0 10-160 0z"}}]},name:"rest",theme:"filled"},zs=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zu}))}),zf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}},{tag:"path",attrs:{d:"M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z"}}]},name:"rest",theme:"outlined"},zh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zf}))}),zd={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M326.4 844h363.2l44.3-520H282l44.4 520zM508 416c79.5 0 144 64.5 144 144s-64.5 144-144 144-144-64.5-144-144 64.5-144 144-144z",fill:t}},{tag:"path",attrs:{d:"M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z",fill:e}},{tag:"path",attrs:{d:"M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z",fill:e}}]}},name:"rest",theme:"twotone"},zv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zd}))}),zm={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2a8.3 8.3 0 0011.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8a8.22 8.22 0 00-5.2-1.8c-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2a8.3 8.3 0 00-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z"}}]},name:"retweet",theme:"outlined"},zg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zm}))}),zz={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 64zm154.7 454.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z"}}]},name:"right-circle",theme:"filled"},zp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zz}))}),zw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M666.7 505.5l-246-178A8 8 0 00408 334v46.9c0 10.2 4.9 19.9 13.2 25.9L566.6 512 421.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.8 0-13z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"right-circle",theme:"outlined"},zM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zw}))}),zZ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm154.7 378.4l-246 178c-5.3 3.8-12.7 0-12.7-6.5V643c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.7 0 12.9z",fill:t}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M666.7 505.5l-246-178c-5.3-3.8-12.7 0-12.7 6.5v46.9c0 10.3 4.9 19.9 13.2 25.9L566.6 512 421.2 617.1c-8.3 6-13.2 15.7-13.2 25.9v46.9c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.7 0-12.9z",fill:e}}]}},name:"right-circle",theme:"twotone"},zH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zZ}))}),zb=c(86944),zV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM658.7 518.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L558.6 512 413.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z"}}]},name:"right-square",theme:"filled"},zC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zV}))}),zx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M412.7 696.5l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5V381c0 10.2 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"right-square",theme:"outlined"},zE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zx}))}),zL={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm216-196.9c0-10.2 4.9-19.9 13.2-25.9L558.6 512 413.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.7 0 12.9l-246 178c-5.3 3.9-12.7.1-12.7-6.4v-46.9z",fill:t}},{tag:"path",attrs:{d:"M412.7 696.4l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5v46.9c0 10.3 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.7-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.4z",fill:e}}]}},name:"right-square",theme:"twotone"},zR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zL}))}),zy=c(43748),zB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM300 328c0-33.1 26.9-60 60-60s60 26.9 60 60-26.9 60-60 60-60-26.9-60-60zm372 248c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-60c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v60zm-8-188c-33.1 0-60-26.9-60-60s26.9-60 60-60 60 26.9 60 60-26.9 60-60 60zm135 476H225c-13.8 0-25 14.3-25 32v56c0 4.4 2.8 8 6.2 8h611.5c3.4 0 6.2-3.6 6.2-8v-56c.1-17.7-11.1-32-24.9-32z"}}]},name:"robot",theme:"filled"},zS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zB}))}),zO=c(39639),zk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8L864 736zM512 352a48.01 48.01 0 010 96 48.01 48.01 0 010-96zm116.1 432.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5s-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5z"}}]},name:"rocket",theme:"filled"},z$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zk}))}),zT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z"}}]},name:"rocket",theme:"outlined"},zF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zT}))}),zI={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M261.7 621.4c-9.4 14.6-17 30.3-22.5 46.6H324V558.7c-24.8 16.2-46 37.5-62.3 62.7zM700 558.7V668h84.8c-5.5-16.3-13.1-32-22.5-46.6a211.6 211.6 0 00-62.3-62.7zm-64-239.9l-124-147-124 147V668h248V318.8zM512 448a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8L864 736zm-540-68h-84.8c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668zm64-184.9V318.8l124-147 124 147V668H388V483.1zm240.1 301.1c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5s-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM700 668V558.7a211.6 211.6 0 0162.3 62.7c9.4 14.6 17 30.3 22.5 46.6H700z",fill:e}},{tag:"path",attrs:{d:"M464 400a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"rocket",theme:"twotone"},zA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zI}))}),zD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z"}}]},name:"rollback",theme:"outlined"},zP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zD}))}),zN=c(35910),zq=c(56632),zj={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M509.81 112.02c-.73.05-1.46.12-2.2.21h-4.32l-3.4 1.7a36.33 36.33 0 00-8.88 4.4l-145.96 73.02-153.7 153.7-72.65 145.24a36.33 36.33 0 00-4.9 9.86l-1.56 3.12v3.98a36.33 36.33 0 000 8.3v298.23l6.88 9.5a198.7 198.7 0 0020.58 24.42c37.86 37.85 87.66 57.16 142.62 62.01a36.34 36.34 0 0011.57 1.77h575.75c3.14.54 6.34.66 9.51.36a36.34 36.34 0 002.56-.35h29.8v-29.95a36.33 36.33 0 000-11.92V293.88a36.33 36.33 0 00-1.78-11.57c-4.84-54.95-24.16-104.75-62.01-142.62h-.07v-.07a203.92 203.92 0 00-24.27-20.43l-9.58-6.96H515.14a36.34 36.34 0 00-5.32-.21M643 184.89h145.96c2.47 2.08 5.25 4.06 7.45 6.25 26.59 26.63 40.97 64.74 42.3 111.18zM510.31 190l65.71 39.38-25.47 156.1-64.36 64.36-100.7 100.69L229.4 576l-39.38-65.7 61.1-122.26 136.94-136.95zm132.76 79.61l123.19 73.94-138.09 17.24zM821.9 409.82c-21.21 68.25-62.66 142.58-122.4 211.88l-65.85-188.4zm-252.54 59.6l53.64 153.56-153.55-53.65 68.12-68.12zm269.5 81.04v237L738.44 687.04c40.1-43.74 73.73-89.83 100.4-136.59m-478.04 77.7l-17.24 138.08-73.94-123.18zm72.52 5.46l188.32 65.85c-69.28 59.71-143.57 101.2-211.8 122.4zM184.9 643l117.43 195.7c-46.5-1.33-84.63-15.74-111.26-42.37-2.16-2.16-4.11-4.93-6.17-7.38zm502.17 95.43l100.4 100.4h-237c46.77-26.67 92.86-60.3 136.6-100.4"}}]},name:"ruby",theme:"outlined"},zW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zj}))}),zY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM694.5 340.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z"}}]},name:"safety-certificate",theme:"filled"},z_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zY}))}),zK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z"}}]},name:"safety-certificate",theme:"outlined"},zU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zK}))}),zG={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z",fill:e}},{tag:"path",attrs:{d:"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM632.8 328H688c6.5 0 10.3 7.4 6.5 12.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89.1 150.9-207.8c3-4.1 7.9-6.6 13-6.6z",fill:t}},{tag:"path",attrs:{d:"M404.2 453.3c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z",fill:e}}]}},name:"safety-certificate",theme:"twotone"},zX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zG}))}),zQ={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64L128 192v384c0 212.1 171.9 384 384 384s384-171.9 384-384V192L512 64zm312 512c0 172.3-139.7 312-312 312S200 748.3 200 576V246l312-110 312 110v330z"}},{tag:"path",attrs:{d:"M378.4 475.1a35.91 35.91 0 00-50.9 0 35.91 35.91 0 000 50.9l129.4 129.4 2.1 2.1a33.98 33.98 0 0048.1 0L730.6 434a33.98 33.98 0 000-48.1l-2.8-2.8a33.98 33.98 0 00-48.1 0L483 579.7 378.4 475.1z"}}]},name:"safety",theme:"outlined"},zJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zQ}))}),z1=c(31097),z4=c(16283),z2={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 320c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V184H184v656h656V341.8l-136-136V320zM512 730c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144z",fill:t}},{tag:"path",attrs:{d:"M512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z",fill:e}},{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-.7-.7-1.4-1.3-2.1-2-.1-.1-.3-.2-.4-.3-.7-.7-1.5-1.3-2.2-1.9a64 64 0 00-22-11.7V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840z",fill:e}}]}},name:"save",theme:"twotone"},z3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:z2}))}),z8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 384h56c4.4 0 8-3.6 8-8V200h176c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-37.6 0-68 30.4-68 68v180c0 4.4 3.6 8 8 8zm512-184h176v176c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V196c0-37.6-30.4-68-68-68H648c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM376 824H200V648c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v180c0 37.6 30.4 68 68 68h180c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm512-184h-56c-4.4 0-8 3.6-8 8v176H648c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h180c37.6 0 68-30.4 68-68V648c0-4.4-3.6-8-8-8zm16-164H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"scan",theme:"outlined"},z6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:z8}))}),z0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zM424 688c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-136c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm374.5-91.3l-165 228.7a15.9 15.9 0 01-25.8 0L493.5 531.2c-3.8-5.3 0-12.7 6.5-12.7h54.9c5.1 0 9.9 2.5 12.9 6.6l52.8 73.1 103.7-143.7c3-4.2 7.8-6.6 12.9-6.6H792c6.5.1 10.3 7.5 6.5 12.8z"}}]},name:"schedule",theme:"filled"},z5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:z0}))}),z7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496zM416 496H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm0 136H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm308.2-177.4L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0025.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5z"}}]},name:"schedule",theme:"outlined"},z9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:z7}))}),pe={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M768 352c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H548v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H328v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H136v496h752V296H768v56zM424 688c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-136c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm374.4-91.2l-165 228.7a15.9 15.9 0 01-25.8 0L493.5 531.3c-3.8-5.3 0-12.7 6.5-12.7h54.9c5.1 0 9.9 2.4 12.9 6.6l52.8 73.1 103.6-143.7c3-4.1 7.8-6.6 12.8-6.5h54.9c6.5 0 10.3 7.4 6.5 12.7z",fill:t}},{tag:"path",attrs:{d:"M724.2 454.6L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0025.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5zM416 496H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z",fill:e}},{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z",fill:e}},{tag:"path",attrs:{d:"M416 632H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"schedule",theme:"twotone"},pt=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pe}))}),pc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M567.1 512l318.5-319.3c5-5 1.5-13.7-5.6-13.7h-90.5c-2.1 0-4.2.8-5.6 2.3l-273.3 274-90.2-90.5c12.5-22.1 19.7-47.6 19.7-74.8 0-83.9-68.1-152-152-152s-152 68.1-152 152 68.1 152 152 152c27.7 0 53.6-7.4 75.9-20.3l90 90.3-90.1 90.3A151.04 151.04 0 00288 582c-83.9 0-152 68.1-152 152s68.1 152 152 152 152-68.1 152-152c0-27.2-7.2-52.7-19.7-74.8l90.2-90.5 273.3 274c1.5 1.5 3.5 2.3 5.6 2.3H880c7.1 0 10.7-8.6 5.6-13.7L567.1 512zM288 370c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80zm0 444c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"}}]},name:"scissor",theme:"outlined"},pn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pc}))}),pa=c(29766),pr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM626.8 554c-48.5 48.5-123 55.2-178.6 20.1l-77.5 77.5a8.03 8.03 0 01-11.3 0l-34-34a8.03 8.03 0 010-11.3l77.5-77.5c-35.1-55.7-28.4-130.1 20.1-178.6 56.3-56.3 147.5-56.3 203.8 0 56.3 56.3 56.3 147.5 0 203.8zm-158.54-45.27a80.1 80.1 0 10113.27-113.28 80.1 80.1 0 10-113.27 113.28z"}}]},name:"security-scan",theme:"filled"},pl=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pr}))}),po={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM402.9 528.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.7 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 123-20.1 178.6zm65.4-133.3c31.3-31.3 82-31.3 113.2 0 31.3 31.3 31.3 82 0 113.2-31.3 31.3-82 31.3-113.2 0s-31.3-81.9 0-113.2z"}}]},name:"security-scan",theme:"outlined"},pi=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:po}))}),pu={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z",fill:e}},{tag:"path",attrs:{d:"M460.7 451.1a80.1 80.1 0 10160.2 0 80.1 80.1 0 10-160.2 0z",fill:t}},{tag:"path",attrs:{d:"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zm428.7 122.5c56.3 56.3 56.3 147.5 0 203.8-48.5 48.5-123 55.2-178.6 20.1l-77.5 77.5a8.03 8.03 0 01-11.3 0l-34-34a8.03 8.03 0 010-11.3l77.5-77.5c-35.1-55.7-28.4-130.1 20.1-178.6 56.3-56.3 147.5-56.3 203.8 0z",fill:t}},{tag:"path",attrs:{d:"M418.8 527.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.6 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 122.9-20.1 178.6zm65.4-133.3a80.1 80.1 0 01113.3 0 80.1 80.1 0 010 113.3c-31.3 31.3-82 31.3-113.3 0s-31.3-82 0-113.3z",fill:e}}]}},name:"security-scan",theme:"twotone"},ps=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pu}))}),pf=c(64698),ph=c(31676),pd={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512.5 390.6c-29.9 0-57.9 11.6-79.1 32.8-21.1 21.2-32.8 49.2-32.8 79.1 0 29.9 11.7 57.9 32.8 79.1 21.2 21.1 49.2 32.8 79.1 32.8 29.9 0 57.9-11.7 79.1-32.8 21.1-21.2 32.8-49.2 32.8-79.1 0-29.9-11.7-57.9-32.8-79.1a110.96 110.96 0 00-79.1-32.8zm412.3 235.5l-65.4-55.9c3.1-19 4.7-38.4 4.7-57.7s-1.6-38.8-4.7-57.7l65.4-55.9a32.03 32.03 0 009.3-35.2l-.9-2.6a442.5 442.5 0 00-79.6-137.7l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.2 28.9c-30-24.6-63.4-44-99.6-57.5l-15.7-84.9a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52-9.4-106.8-9.4-158.8 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.3a353.44 353.44 0 00-98.9 57.3l-81.8-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a445.93 445.93 0 00-79.6 137.7l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.2 56.5c-3.1 18.8-4.6 38-4.6 57 0 19.2 1.5 38.4 4.6 57l-66 56.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.3 44.8 96.8 79.6 137.7l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.8-29.1c29.8 24.5 63 43.9 98.9 57.3l15.8 85.3a32.05 32.05 0 0025.8 25.7l2.7.5a448.27 448.27 0 00158.8 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c4.3-12.4.6-26.3-9.5-35zm-412.3 52.2c-97.1 0-175.8-78.7-175.8-175.8s78.7-175.8 175.8-175.8 175.8 78.7 175.8 175.8-78.7 175.8-175.8 175.8z"}}]},name:"setting",theme:"filled"},pv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pd}))}),pm=c(47309),pg={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.3 569.7l.2.1c3.1-18.9 4.6-38.2 4.6-57.3 0-17.1-1.3-34.3-3.7-51.1 2.4 16.7 3.6 33.6 3.6 50.5 0 19.4-1.6 38.8-4.7 57.8zM99 398.1c-.5-.4-.9-.8-1.4-1.3.7.7 1.4 1.4 2.2 2.1l65.5 55.9v-.1L99 398.1zm536.6-216h.1l-15.5-83.8c-.2-1-.4-1.9-.7-2.8.1.5.3 1.1.4 1.6l15.7 85zm54 546.5l31.4-25.8 92.8 32.9c17-22.9 31.3-47.5 42.6-73.6l-74.7-63.9 6.6-40.1c2.5-15.1 3.8-30.6 3.8-46.1s-1.3-31-3.8-46.1l-6.5-39.9 74.7-63.9c-11.4-26-25.6-50.7-42.6-73.6l-92.8 32.9-31.4-25.8c-23.9-19.6-50.6-35-79.3-45.8l-38.1-14.3-17.9-97a377.5 377.5 0 00-85 0l-17.9 97.2-37.9 14.3c-28.5 10.8-55 26.2-78.7 45.7l-31.4 25.9-93.4-33.2c-17 22.9-31.3 47.5-42.6 73.6l75.5 64.5-6.5 40c-2.5 14.9-3.7 30.2-3.7 45.5 0 15.2 1.3 30.6 3.7 45.5l6.5 40-75.5 64.5c11.4 26 25.6 50.7 42.6 73.6l93.4-33.2 31.4 25.9c23.7 19.5 50.2 34.9 78.7 45.7l37.8 14.5 17.9 97.2c28.2 3.2 56.9 3.2 85 0l17.9-97 38.1-14.3c28.8-10.8 55.4-26.2 79.3-45.8zm-177.1-50.3c-30.5 0-59.2-7.8-84.3-21.5C373.3 627 336 568.9 336 502c0-97.2 78.8-176 176-176 66.9 0 125 37.3 154.8 92.2 13.7 25 21.5 53.7 21.5 84.3 0 97.1-78.7 175.8-175.8 175.8zM207.2 812.8c-5.5 1.9-11.2 2.3-16.6 1.2 5.7 1.2 11.7 1 17.5-1l81.4-29c-.1-.1-.3-.2-.4-.3l-81.9 29.1zm717.6-414.7l-65.5 56c0 .2.1.5.1.7l65.4-55.9c7.1-6.1 11.1-14.9 11.2-24-.3 8.8-4.3 17.3-11.2 23.2z",fill:t}},{tag:"path",attrs:{d:"M935.8 646.6c.5 4.7 0 9.5-1.7 14.1l-.9 2.6a446.02 446.02 0 01-79.7 137.9l-1.8 2.1a32 32 0 01-35.1 9.5l-81.3-28.9a350 350 0 01-99.7 57.6l-15.7 85a32.05 32.05 0 01-25.8 25.7l-2.7.5a445.2 445.2 0 01-79.2 7.1h.3c26.7 0 53.4-2.4 79.4-7.1l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c1.6-4.7 2.1-9.7 1.5-14.5z",fill:t}},{tag:"path",attrs:{d:"M688 502c0-30.3-7.7-58.9-21.2-83.8C637 363.3 578.9 326 512 326c-97.2 0-176 78.8-176 176 0 66.9 37.3 125 92.2 154.8 24.9 13.5 53.4 21.2 83.8 21.2 97.2 0 176-78.8 176-176zm-288 0c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502z",fill:e}},{tag:"path",attrs:{d:"M594.1 952.2a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c1.7-4.6 2.2-9.4 1.7-14.1-.9-7.9-4.7-15.4-11-20.9l-65.3-55.9-.2-.1c3.1-19 4.7-38.4 4.7-57.8 0-16.9-1.2-33.9-3.6-50.5-.3-2.2-.7-4.4-1-6.6 0-.2-.1-.5-.1-.7l65.5-56c6.9-5.9 10.9-14.4 11.2-23.2.1-4-.5-8.1-1.9-12l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.4-44-99.6-57.6h-.1l-15.7-85c-.1-.5-.2-1.1-.4-1.6a32.08 32.08 0 00-25.4-24.1l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6a32.09 32.09 0 007.9 33.9c.5.4.9.9 1.4 1.3l66.3 56.6v.1c-3.1 18.8-4.6 37.9-4.6 57 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1c4.9 5.7 11.4 9.4 18.5 10.7 5.4 1 11.1.7 16.6-1.2l81.9-29.1c.1.1.3.2.4.3 29.7 24.3 62.8 43.6 98.6 57.1l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5c26.1 4.7 52.8 7.1 79.5 7.1h.3c26.6 0 53.3-2.4 79.2-7.1l2.7-.5zm-39.8-66.5a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97z",fill:e}}]}},name:"setting",theme:"twotone"},pz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pg}))}),pp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M324 666a48 48 0 1096 0 48 48 0 10-96 0zm616.7-309.6L667.6 83.2C655.2 70.9 638.7 64 621.1 64s-34.1 6.8-46.5 19.2L83.3 574.5a65.85 65.85 0 000 93.1l273.2 273.2c12.3 12.3 28.9 19.2 46.5 19.2s34.1-6.8 46.5-19.2l491.3-491.3c25.6-25.7 25.6-67.5-.1-93.1zM403 880.1L143.9 621l477.2-477.2 259 259.2L403 880.1zM152.8 373.7a7.9 7.9 0 0011.2 0L373.7 164a7.9 7.9 0 000-11.2l-38.4-38.4a7.9 7.9 0 00-11.2 0L114.3 323.9a7.9 7.9 0 000 11.2l38.5 38.6zm718.6 276.6a7.9 7.9 0 00-11.2 0L650.3 860.1a7.9 7.9 0 000 11.2l38.4 38.4a7.9 7.9 0 0011.2 0L909.7 700a7.9 7.9 0 000-11.2l-38.3-38.5z"}}]},name:"shake",theme:"outlined"},pw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pp}))}),pM=c(1952),pZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h274V736h128v176h274c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zm-72 568H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm0-568.1H214v-88h596v88z"}}]},name:"shop",theme:"filled"},pH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pZ}))}),pb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm30-404.4c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1A109.24 109.24 0 01512 544c-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3a109.63 109.63 0 01-95.1 54.7C233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z"}}]},name:"shop",theme:"outlined"},pV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pb}))}),pC={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.5 344h-655c-.3 0-.5.2-.5.5v91.2c0 59.8 49 108.3 109.3 108.3 40.7 0 76.2-22 95.1-54.7 2.9-5.1 8.4-8.3 14.3-8.3s11.3 3.2 14.3 8.3c18.8 32.7 54.3 54.7 95 54.7 40.8 0 76.4-22.1 95.1-54.9 2.9-5 8.2-8.1 13.9-8.1h.6c5.8 0 11 3.1 13.9 8.1 18.8 32.8 54.4 54.9 95.2 54.9C791 544 840 495.5 840 435.7v-91.2c0-.3-.2-.5-.5-.5z",fill:t}},{tag:"path",attrs:{d:"M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234.4 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c3-1.3 6-2.6 9-4v242.2zM840 435.7c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1A109.24 109.24 0 01512 544c-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3a109.63 109.63 0 01-95.1 54.7C233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z",fill:e}}]}},name:"shop",theme:"twotone"},px=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pC}))}),pE={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M922.9 701.9H327.4l29.9-60.9 496.8-.9c16.8 0 31.2-12 34.2-28.6l68.8-385.1c1.8-10.1-.9-20.5-7.5-28.4a34.99 34.99 0 00-26.6-12.5l-632-2.1-5.4-25.4c-3.4-16.2-18-28-34.6-28H96.5a35.3 35.3 0 100 70.6h125.9L246 312.8l58.1 281.3-74.8 122.1a34.96 34.96 0 00-3 36.8c6 11.9 18.1 19.4 31.5 19.4h62.8a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7h161.1a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7H923c19.4 0 35.3-15.8 35.3-35.3a35.42 35.42 0 00-35.4-35.2zM305.7 253l575.8 1.9-56.4 315.8-452.3.8L305.7 253zm96.9 612.7c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6zm325.1 0c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6z"}}]},name:"shopping-cart",theme:"outlined"},pL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pE}))}),pR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-208 0H400v-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16z"}}]},name:"shopping",theme:"filled"},py=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pR}))}),pB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z"}}]},name:"shopping",theme:"outlined"},pS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pB}))}),pO={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 472c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-88H400v88c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-88h-96v456h560V384h-96v88z",fill:t}},{tag:"path",attrs:{d:"M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z",fill:e}}]}},name:"shopping",theme:"twotone"},pk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pO}))}),p$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M881.7 187.4l-45.1-45.1a8.03 8.03 0 00-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L447.9 585a7.9 7.9 0 00-8.9-8.9z"}}]},name:"shrink",theme:"outlined"},pT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p$}))}),pF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M584 352H440c-17.7 0-32 14.3-32 32v544c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V384c0-17.7-14.3-32-32-32zM892 64H748c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM276 640H132c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V672c0-17.7-14.3-32-32-32z"}}]},name:"signal",theme:"filled"},pI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pF}))}),pA={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145.71 752c2 0 4-.2 5.98-.5L319.9 722c1.99-.4 3.88-1.3 5.28-2.8l423.91-423.87a9.93 9.93 0 000-14.06L582.88 114.9C581 113 578.5 112 575.82 112s-5.18 1-7.08 2.9L144.82 538.76c-1.5 1.5-2.4 3.29-2.8 5.28l-29.5 168.17a33.59 33.59 0 009.37 29.81c6.58 6.48 14.95 9.97 23.82 9.97m453.12-184.07c27.69-14.81 57.29-20.85 85.54-15.52 32.37 6.1 59.72 26.53 78.96 59.4 29.97 51.22 21.64 102.34-18.48 144.26-17.58 18.36-41.07 35.01-70 50.3l-.3.15.86.26a147.88 147.88 0 0041.54 6.2l1.17.01c61.07 0 100.98-22.1 125.28-67.87a36 36 0 0163.6 33.76C869.7 849.1 804.9 885 718.12 885c-47.69 0-91.94-15.03-128.19-41.36l-1.05-.78-1.36.47c-46.18 16-98.74 29.95-155.37 41.94l-2.24.47a1931.1 1931.1 0 01-139.16 23.96 36 36 0 11-9.5-71.38 1860.1 1860.1 0 00133.84-23.04c42.8-9 83-19.13 119.35-30.34l.24-.08-.44-.69c-16.46-26.45-25.86-55.43-26.14-83.24v-1.3c0-49.9 39.55-104.32 90.73-131.7M671 623.17c-10.74-2.03-24.1.7-38.22 8.26-29.55 15.8-52.7 47.64-52.7 68.2 0 18.2 8.9 40.14 24.71 59.73l.24.3 1.22-.52c39.17-16.58 68.49-34.27 85.93-52.18l.64-.67c18.74-19.57 21.39-35.84 8.36-58.1-9.06-15.47-19.03-22.92-30.18-25.02"}}]},name:"signature",theme:"filled"},pD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pA}))}),pP={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145.71 752c2 0 4-.2 5.98-.5L319.9 722c1.99-.4 3.88-1.3 5.28-2.8l423.91-423.87a9.93 9.93 0 000-14.06L582.88 114.9C581 113 578.5 112 575.82 112s-5.18 1-7.08 2.9L144.82 538.76c-1.5 1.5-2.4 3.29-2.8 5.28l-29.5 168.17a33.59 33.59 0 009.37 29.81c6.58 6.48 14.95 9.97 23.82 9.97m51.75-85.43l15.65-88.92 362.7-362.67 73.28 73.27-362.7 362.67zm401.37-98.64c27.69-14.81 57.29-20.85 85.54-15.52 32.37 6.1 59.72 26.53 78.96 59.4 29.97 51.22 21.64 102.34-18.48 144.26-17.58 18.36-41.07 35.01-70 50.3l-.3.15.86.26a147.88 147.88 0 0041.54 6.2l1.17.01c61.07 0 100.98-22.1 125.28-67.87a36 36 0 0163.6 33.76C869.7 849.1 804.9 885 718.12 885c-47.69 0-91.94-15.03-128.19-41.36l-1.05-.78-1.36.47c-46.18 16-98.74 29.95-155.37 41.94l-2.24.47a1931.1 1931.1 0 01-139.16 23.96 36 36 0 11-9.5-71.38 1860.1 1860.1 0 00133.84-23.04c42.8-9 83-19.13 119.35-30.34l.24-.08-.44-.69c-16.46-26.45-25.86-55.43-26.14-83.24v-1.3c0-49.9 39.55-104.32 90.73-131.7M671 623.17c-10.74-2.03-24.1.7-38.22 8.26-29.55 15.8-52.7 47.64-52.7 68.2 0 18.2 8.9 40.14 24.71 59.73l.24.3 1.22-.52c39.17-16.58 68.49-34.27 85.93-52.18l.64-.67c18.74-19.57 21.39-35.84 8.36-58.1-9.06-15.47-19.03-22.92-30.18-25.02"}}]},name:"signature",theme:"outlined"},pN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pP}))}),pq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 432c-120.3 0-219.9 88.5-237.3 204H320c-15.5 0-28-12.5-28-28V244h291c14.2 35.2 48.7 60 89 60 53 0 96-43 96-96s-43-96-96-96c-40.3 0-74.8 24.8-89 60H112v72h108v364c0 55.2 44.8 100 100 100h114.7c17.4 115.5 117 204 237.3 204 132.5 0 240-107.5 240-240S804.5 432 672 432zm128 266c0 4.4-3.6 8-8 8h-86v86c0 4.4-3.6 8-8 8h-52c-4.4 0-8-3.6-8-8v-86h-86c-4.4 0-8-3.6-8-8v-52c0-4.4 3.6-8 8-8h86v-86c0-4.4 3.6-8 8-8h52c4.4 0 8 3.6 8 8v86h86c4.4 0 8 3.6 8 8v52z"}}]},name:"sisternode",theme:"outlined"},pj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pq}))}),pW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M582.3 625.6l147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zm-274.7 36L512 684.5l114.4-225.2zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm286.7 380.2L515.8 762.3c-1 1.1-2.4 1.7-3.8 1.7s-2.8-.6-3.8-1.7L225.3 444.2a5.14 5.14 0 01-.2-6.6L365.6 262c1-1.2 2.4-1.9 4-1.9h284.6c1.6 0 3 .7 4 1.9l140.5 175.6a4.9 4.9 0 010 6.6zm-190.5-20.9L512 326.1l-96.2 97.2zM420.3 301.1l-23.1 89.8 88.8-89.8zm183.4 0H538l88.8 89.8zm-222.4 7.1l-92.1 115.1h62.5zm-87.5 151.1l147.9 166.3-84.5-166.3z"}}]},name:"sketch-circle",theme:"filled"},pY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pW}))}),p_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M925.6 405.1l-203-253.7a6.5 6.5 0 00-5-2.4H306.4c-1.9 0-3.8.9-5 2.4l-203 253.7a6.5 6.5 0 00.2 8.3l408.6 459.5c1.2 1.4 3 2.1 4.8 2.1 1.8 0 3.5-.8 4.8-2.1l408.6-459.5a6.5 6.5 0 00.2-8.3zM645.2 206.4l34.4 133.9-132.5-133.9h98.1zm8.2 178.5H370.6L512 242l141.4 142.9zM378.8 206.4h98.1L344.3 340.3l34.5-133.9zm-53.4 7l-44.1 171.5h-93.1l137.2-171.5zM194.6 434.9H289l125.8 247.7-220.2-247.7zM512 763.4L345.1 434.9h333.7L512 763.4zm97.1-80.8L735 434.9h94.4L609.1 682.6zm133.6-297.7l-44.1-171.5 137.2 171.5h-93.1z"}}]},name:"sketch",theme:"outlined"},pK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p_}))}),pU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608.2 423.3L512 326.1l-96.2 97.2zm-25.9 202.3l147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-81.3 332.2L515.8 762.3c-1 1.1-2.4 1.7-3.8 1.7s-2.8-.6-3.8-1.7L225.3 444.2a5.14 5.14 0 01-.2-6.6L365.6 262c1-1.2 2.4-1.9 4-1.9h284.6c1.6 0 3 .7 4 1.9l140.5 175.6a4.9 4.9 0 010 6.6zm-401.1 15.1L512 684.5l114.4-225.2zm-16.3-151.1l-92.1 115.1h62.5zm-87.5 151.1l147.9 166.3-84.5-166.3zm126.5-158.2l-23.1 89.8 88.8-89.8zm183.4 0H538l88.8 89.8z"}}]},name:"sketch-square",theme:"filled"},pG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pU}))}),pX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44z"}}]},name:"skin",theme:"filled"},pQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pX}))}),pJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z"}}]},name:"skin",theme:"outlined"},p1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pJ}))}),p4={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 318c-79.2 0-148.5-48.8-176.7-120H182v196h119v432h422V394h119V198H688.7c-28.2 71.2-97.5 120-176.7 120z",fill:t}},{tag:"path",attrs:{d:"M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z",fill:e}}]}},name:"skin",theme:"twotone"},p2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p4}))}),p3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 375.79 0 00-120.1-80.9c-46.6-19.7-96-29.7-147-29.7-24 0-48.1 2.3-71.5 6.8A225.1 225.1 0 00335.6 113c-59.7 0-115.9 23.3-158.1 65.5A222.25 222.25 0 00112 336.6c0 38 9.8 75.4 28.1 108.4-3.7 21.4-5.7 43.3-5.7 65.1 0 51 10 100.5 29.7 147 19 45 46.2 85.4 80.9 120.1 34.7 34.7 75.1 61.9 120.1 80.9 46.6 19.7 96 29.7 147 29.7 22.2 0 44.4-2 66.2-5.9 33.5 18.9 71.3 29 110 29 59.7 0 115.9-23.2 158.1-65.5 42.3-42.2 65.5-98.4 65.5-158.1.1-38-9.7-75.5-28.2-108.7zm-370 162.9c-134.2 0-194.2-66-194.2-115.4 0-25.4 18.7-43.1 44.5-43.1 57.4 0 42.6 82.5 149.7 82.5 54.9 0 85.2-29.8 85.2-60.3 0-18.3-9-38.7-45.2-47.6l-119.4-29.8c-96.1-24.1-113.6-76.1-113.6-124.9 0-101.4 95.5-139.5 185.2-139.5 82.6 0 180 45.7 180 106.5 0 26.1-22.6 41.2-48.4 41.2-49 0-40-67.8-138.7-67.8-49 0-76.1 22.2-76.1 53.9s38.7 41.8 72.3 49.5l88.4 19.6c96.8 21.6 121.3 78.1 121.3 131.3 0 82.3-63.3 143.9-191 143.9z"}}]},name:"skype",theme:"filled"},p8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p3}))}),p6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 375.79 0 00-120.1-80.9c-46.6-19.7-96-29.7-147-29.7-24 0-48.1 2.3-71.5 6.8A225.1 225.1 0 00335.6 113c-59.7 0-115.9 23.3-158.1 65.5A222.25 222.25 0 00112 336.6c0 38 9.8 75.4 28.1 108.4-3.7 21.4-5.7 43.3-5.7 65.1 0 51 10 100.5 29.7 147 19 45 46.2 85.4 80.9 120.1 34.7 34.7 75.1 61.9 120.1 80.9 46.6 19.7 96 29.7 147 29.7 22.2 0 44.4-2 66.2-5.9 33.5 18.9 71.3 29 110 29 59.7 0 115.9-23.2 158.1-65.5 42.3-42.2 65.5-98.4 65.5-158.1.1-38-9.7-75.5-28.2-108.7zm-88.1 216C766.9 823.4 729 839 688.4 839c-26.1 0-51.8-6.8-74.6-19.7l-22.5-12.7-25.5 4.5c-17.8 3.2-35.8 4.8-53.6 4.8-41.4 0-81.3-8.1-119.1-24.1-36.3-15.3-69-37.3-97.2-65.5a304.29 304.29 0 01-65.5-97.1c-16-37.7-24-77.6-24-119 0-17.4 1.6-35.2 4.6-52.8l4.4-25.1L203 410a151.02 151.02 0 01-19.1-73.4c0-40.6 15.7-78.5 44.4-107.2C257.1 200.7 295 185 335.6 185a153 153 0 0171.4 17.9l22.4 11.8 24.8-4.8c18.9-3.6 38.4-5.5 58-5.5 41.4 0 81.3 8.1 119 24 36.5 15.4 69.1 37.4 97.2 65.5 28.2 28.1 50.2 60.8 65.6 97.2 16 37.7 24 77.6 24 119 0 18.4-1.7 37-5.1 55.5l-4.7 25.5 12.6 22.6c12.6 22.5 19.2 48 19.2 73.7 0 40.7-15.7 78.5-44.4 107.2zM583.4 466.2L495 446.6c-33.6-7.7-72.3-17.8-72.3-49.5s27.1-53.9 76.1-53.9c98.7 0 89.7 67.8 138.7 67.8 25.8 0 48.4-15.2 48.4-41.2 0-60.8-97.4-106.5-180-106.5-89.7 0-185.2 38.1-185.2 139.5 0 48.8 17.4 100.8 113.6 124.9l119.4 29.8c36.1 8.9 45.2 29.2 45.2 47.6 0 30.5-30.3 60.3-85.2 60.3-107.2 0-92.3-82.5-149.7-82.5-25.8 0-44.5 17.8-44.5 43.1 0 49.4 60 115.4 194.2 115.4 127.7 0 191-61.5 191-144 0-53.1-24.5-109.6-121.3-131.2z"}}]},name:"skype",theme:"outlined"},p0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p6}))}),p5={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 64zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm83.7-50.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM579.3 765c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134c-13.3 0-26.1-5.3-35.6-14.8S529 593.6 529 580.2c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z"}}]},name:"slack-circle",theme:"filled"},p7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p5}))}),p9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M409.4 128c-42.4 0-76.7 34.4-76.7 76.8 0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5h76.7v-76.8c0-42.3-34.3-76.7-76.7-76.8zm0 204.8H204.7c-42.4 0-76.7 34.4-76.7 76.8s34.4 76.8 76.7 76.8h204.6c42.4 0 76.7-34.4 76.7-76.8.1-42.4-34.3-76.8-76.6-76.8zM614 486.4c42.4 0 76.8-34.4 76.7-76.8V204.8c0-42.4-34.3-76.8-76.7-76.8-42.4 0-76.7 34.4-76.7 76.8v204.8c0 42.5 34.3 76.8 76.7 76.8zm281.4-76.8c0-42.4-34.4-76.8-76.7-76.8S742 367.2 742 409.6v76.8h76.7c42.3 0 76.7-34.4 76.7-76.8zm-76.8 128H614c-42.4 0-76.7 34.4-76.7 76.8 0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5h204.6c42.4 0 76.7-34.4 76.7-76.8.1-42.4-34.3-76.7-76.7-76.8zM614 742.4h-76.7v76.8c0 42.4 34.4 76.8 76.7 76.8 42.4 0 76.8-34.4 76.7-76.8.1-42.4-34.3-76.7-76.7-76.8zM409.4 537.6c-42.4 0-76.7 34.4-76.7 76.8v204.8c0 42.4 34.4 76.8 76.7 76.8 42.4 0 76.8-34.4 76.7-76.8V614.4c0-20.3-8.1-39.9-22.4-54.3a76.92 76.92 0 00-54.3-22.5zM128 614.4c0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5c42.4 0 76.8-34.4 76.7-76.8v-76.8h-76.7c-42.3 0-76.7 34.4-76.7 76.8z"}}]},name:"slack",theme:"outlined"},we=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p9}))}),wt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM529 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm134 403.2c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z"}}]},name:"slack-square",theme:"filled"},wc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wt}))}),wn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM529 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm134 403.2c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z"}}]},name:"slack-square",theme:"outlined"},wa=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wn}))}),wr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-584-72h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm292 180h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8z"}}]},name:"sliders",theme:"filled"},wl=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wr}))}),wo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440zm644-436h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74z"}}]},name:"sliders",theme:"outlined"},wi=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wo}))}),wu={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M180 292h80v440h-80zm369 180h-74a3 3 0 00-3 3v74a3 3 0 003 3h74a3 3 0 003-3v-74a3 3 0 00-3-3zm215-108h80v296h-80z",fill:t}},{tag:"path",attrs:{d:"M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74zM320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440z",fill:e}}]}},name:"sliders",theme:"twotone"},ws=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wu}))}),wf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M112 476h72v72h-72zm182 0h72v72h-72zm364 0h72v72h-72zm182 0h72v72h-72zm-364 0h72v72h-72z"}}]},name:"small-dash",theme:"outlined"},wh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wf}))}),wd={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 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 018-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 018 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"smile",theme:"filled"},wv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wd}))}),wm=c(93782),wg={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 018-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 018 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm376 112h-48.1c-4.2 0-7.8 3.2-8.1 7.4-3.7 49.5-45.3 88.6-95.8 88.6s-92-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4zm-24-112a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"smile",theme:"twotone"},wz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wg}))}),wp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 486H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z"}}]},name:"snippets",theme:"filled"},ww=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wp}))}),wM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z"}}]},name:"snippets",theme:"outlined"},wZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wM}))}),wH={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M450 510V336H232v552h432V550H490c-22.1 0-40-17.9-40-40z",fill:t}},{tag:"path",attrs:{d:"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z",fill:e}}]}},name:"snippets",theme:"twotone"},wb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wH}))}),wV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},wC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wV}))}),wx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM416 702h-76V172c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v530h-76c-6.7 0-10.5 7.8-6.3 13l112 141.9a8 8 0 0012.6 0l112-141.9c4.1-5.2.4-13-6.3-13z"}}]},name:"sort-ascending",theme:"outlined"},wE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wx}))}),wL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM310.3 167.1a8 8 0 00-12.6 0L185.7 309c-4.2 5.3-.4 13 6.3 13h76v530c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V322h76c6.7 0 10.5-7.8 6.3-13l-112-141.9z"}}]},name:"sort-descending",theme:"outlined"},wR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wL}))}),wy={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M892.1 737.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344zm174 132H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zM625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1z"}}]},name:"sound",theme:"filled"},wB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wy}))}),wS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"}}]},name:"sound",theme:"outlined"},wO=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wS}))}),wk={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M275.4 424H146v176h129.4l18 11.7L586 803V221L293.3 412.3z",fill:t}},{tag:"path",attrs:{d:"M892.1 737.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM934 476H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344zM625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582z",fill:e}}]}},name:"sound",theme:"twotone"},w$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wk}))}),wT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M938.2 508.4L787.3 389c-3-2.4-7.3-.2-7.3 3.6V478H636V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H596c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H636V546h144v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM428 116H144c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H244v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h144v294H184V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z"}}]},name:"split-cells",theme:"outlined"},wF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wT}))}),wI={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M721.42 695.17c0-12.45-5.84-22.36-17.5-29.75-75.06-44.73-161.98-67.09-260.75-67.09-51.73 0-107.53 6.61-167.42 19.84-16.33 3.5-24.5 13.6-24.5 30.33 0 7.78 2.63 14.49 7.88 20.13 5.25 5.63 12.15 8.45 20.7 8.45 1.95 0 9.14-1.55 21.59-4.66 51.33-10.5 98.58-15.75 141.75-15.75 87.89 0 165.08 20.02 231.58 60.08 7.39 4.28 13.8 6.42 19.25 6.42 7.39 0 13.8-2.63 19.25-7.88 5.44-5.25 8.17-11.96 8.17-20.12m56-125.42c0-15.56-6.8-27.42-20.42-35.58-92.17-54.84-198.72-82.25-319.67-82.25-59.5 0-118.41 8.16-176.75 24.5-18.66 5.05-28 17.5-28 37.33 0 9.72 3.4 17.99 10.21 24.8 6.8 6.8 15.07 10.2 24.8 10.2 2.72 0 9.91-1.56 21.58-4.67a558.27 558.27 0 01146.41-19.25c108.5 0 203.4 24.11 284.67 72.34 9.33 5.05 16.72 7.58 22.17 7.58 9.72 0 17.98-3.4 24.79-10.2 6.8-6.81 10.2-15.08 10.2-24.8m63-144.67c0-18.27-7.77-31.89-23.33-40.83-49-28.39-105.97-49.88-170.91-64.46-64.95-14.58-131.64-21.87-200.09-21.87-79.33 0-150.1 9.14-212.33 27.41a46.3 46.3 0 00-22.46 14.88c-6.03 7.2-9.04 16.62-9.04 28.29 0 12.06 3.99 22.17 11.96 30.33 7.97 8.17 17.98 12.25 30.04 12.25 4.28 0 12.06-1.55 23.33-4.66 51.73-14.4 111.42-21.59 179.09-21.59 61.83 0 122.01 6.61 180.54 19.84 58.53 13.22 107.82 31.7 147.87 55.41 8.17 4.67 15.95 7 23.34 7 11.27 0 21.1-3.98 29.46-11.96 8.36-7.97 12.54-17.98 12.54-30.04M960 512c0 81.28-20.03 156.24-60.08 224.88-40.06 68.63-94.4 122.98-163.04 163.04C668.24 939.97 593.27 960 512 960s-156.24-20.03-224.88-60.08c-68.63-40.06-122.98-94.4-163.04-163.04C84.03 668.24 64 593.27 64 512s20.03-156.24 60.08-224.88c40.06-68.63 94.4-122.98 163.05-163.04C355.75 84.03 430.73 64 512 64c81.28 0 156.24 20.03 224.88 60.08 68.63 40.06 122.98 94.4 163.04 163.05C939.97 355.75 960 430.73 960 512"}}]},name:"spotify",theme:"filled"},wA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wI}))}),wD={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.52 64 64 264.52 64 512s200.52 448 448 448 448-200.52 448-448S759.48 64 512 64m0 74.66a371.86 371.86 0 01264.43 108.91A371.86 371.86 0 01885.33 512a371.86 371.86 0 01-108.9 264.43A371.86 371.86 0 01512 885.33a371.86 371.86 0 01-264.43-108.9A371.86 371.86 0 01138.67 512a371.86 371.86 0 01108.9-264.43A371.86 371.86 0 01512 138.67M452.49 316c-72.61 0-135.9 6.72-196 25.68-15.9 3.18-29.16 15.16-29.16 37.34 0 22.14 16.35 41.7 38.5 38.45 9.48 0 15.9-3.47 22.17-3.47 50.59-12.7 107.63-18.67 164.49-18.67 110.55 0 224 24.64 299.82 68.85 9.49 3.2 12.7 6.98 22.18 6.98 22.18 0 37.63-16.32 40.84-38.5 0-18.96-9.48-31.06-22.17-37.33C698.36 341.65 572.52 316 452.49 316M442 454.84c-66.34 0-113.6 9.49-161.02 22.18-15.72 6.23-24.49 16.05-24.49 34.98 0 15.76 12.54 31.51 31.51 31.51 6.42 0 9.18-.3 18.67-3.51 34.72-9.48 82.4-15.16 133.02-15.16 104.23 0 194.95 25.39 261.33 66.5 6.23 3.2 12.7 5.82 22.14 5.82 18.96 0 31.5-16.06 31.5-34.98 0-12.7-5.97-25.24-18.66-31.51-82.13-50.59-186.52-75.83-294-75.83m10.49 136.5c-53.65 0-104.53 5.97-155.16 18.66-12.69 3.21-22.17 12.24-22.17 28 0 12.7 9.93 25.68 25.68 25.68 3.21 0 12.4-3.5 18.67-3.5a581.73 581.73 0 01129.5-15.2c78.9 0 151.06 18.97 211.17 53.69 6.42 3.2 13.55 5.82 19.82 5.82 12.7 0 24.79-9.48 28-22.14 0-15.9-6.87-21.76-16.35-28-69.55-41.14-150.8-63.02-239.16-63.02"}}]},name:"spotify",theme:"outlined"},wP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wD}))}),wN=c(629),wq=c(72804),wj={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512.5 190.4l-94.4 191.3-211.2 30.7 152.8 149-36.1 210.3 188.9-99.3 188.9 99.2-36.1-210.3 152.8-148.9-211.2-30.7z",fill:t}},{tag:"path",attrs:{d:"M908.6 352.8l-253.9-36.9L541.2 85.8c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L370.3 315.9l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1L239 839.4a31.95 31.95 0 0046.4 33.7l227.1-119.4 227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM665.3 561.3l36.1 210.3-188.9-99.2-188.9 99.3 36.1-210.3-152.8-149 211.2-30.7 94.4-191.3 94.4 191.3 211.2 30.7-152.8 148.9z",fill:e}}]}},name:"star",theme:"twotone"},wW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wj}))}),wY={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"filled"},w_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wY}))}),wK={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"outlined"},wU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wK}))}),wG={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"filled"},wX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wG}))}),wQ={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"outlined"},wJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wQ}))}),w1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 747H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM165.7 621.8l39.7 39.5c3.1 3.1 8.2 3.1 11.3 0l234.7-233.9 97.6 97.3a32.11 32.11 0 0045.2 0l264.2-263.2c3.1-3.1 3.1-8.2 0-11.3l-39.7-39.6a8.03 8.03 0 00-11.3 0l-235.7 235-97.7-97.3a32.11 32.11 0 00-45.2 0L165.7 610.5a7.94 7.94 0 000 11.3z"}}]},name:"stock",theme:"outlined"},w4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:w1}))}),w2={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 64zm234.8 736.5L223.5 277.2c16-19.7 34-37.7 53.7-53.7l523.3 523.3c-16 19.6-34 37.7-53.7 53.7z"}}]},name:"stop",theme:"filled"},w3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:w2}))}),w8={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 64zm0 820c-205.4 0-372-166.6-372-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z"}}]},name:"stop",theme:"outlined"},w6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:w8}))}),w0={icon:function(e,t){return{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 64zm288.5 682.8L277.7 224C258 240 240 258 224 277.7l522.8 522.8C682.8 852.7 601 884 512 884c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372c0 89-31.3 170.8-83.5 234.8z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372c89 0 170.8-31.3 234.8-83.5L224 277.7c16-19.7 34-37.7 53.7-53.7l522.8 522.8C852.7 682.8 884 601 884 512c0-205.4-166.6-372-372-372z",fill:t}}]}},name:"stop",theme:"twotone"},w5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:w0}))}),w7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 474H569.9c-10-2-20.5-4-31.6-6-15.9-2.9-22.2-4.1-30.8-5.8-51.3-10-82.2-20-106.8-34.2-35.1-20.5-52.2-48.3-52.2-85.1 0-37 15.2-67.7 44-89 28.4-21 68.8-32.1 116.8-32.1 54.8 0 97.1 14.4 125.8 42.8 14.6 14.4 25.3 32.1 31.8 52.6 1.3 4.1 2.8 10 4.3 17.8.9 4.8 5.2 8.2 9.9 8.2h72.8c5.6 0 10.1-4.6 10.1-10.1v-1c-.7-6.8-1.3-12.1-2-16-7.3-43.5-28-81.7-59.7-110.3-44.4-40.5-109.7-61.8-188.7-61.8-72.3 0-137.4 18.1-183.3 50.9-25.6 18.4-45.4 41.2-58.6 67.7-13.5 27.1-20.3 58.4-20.3 92.9 0 29.5 5.7 54.5 17.3 76.5 8.3 15.7 19.6 29.5 34.1 42H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h433.2c2.1.4 3.9.8 5.9 1.2 30.9 6.2 49.5 10.4 66.6 15.2 23 6.5 40.6 13.3 55.2 21.5 35.8 20.2 53.3 49.2 53.3 89 0 35.3-15.5 66.8-43.6 88.8-30.5 23.9-75.6 36.4-130.5 36.4-43.7 0-80.7-8.5-110.2-25-29.1-16.3-49.1-39.8-59.7-69.5-.8-2.2-1.7-5.2-2.7-9-1.2-4.4-5.3-7.5-9.7-7.5h-79.7c-5.6 0-10.1 4.6-10.1 10.1v1c.2 2.3.4 4.2.6 5.7 6.5 48.8 30.3 88.8 70.7 118.8 47.1 34.8 113.4 53.2 191.8 53.2 84.2 0 154.8-19.8 204.2-57.3 25-18.9 44.2-42.2 57.1-69 13-27.1 19.7-57.9 19.7-91.5 0-31.8-5.8-58.4-17.8-81.4-5.8-11.2-13.1-21.5-21.8-30.8H952c4.4 0 8-3.6 8-8v-60a8 8 0 00-8-7.9z"}}]},name:"strikethrough",theme:"outlined"},w9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:w7}))}),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M688 240c-138 0-252 102.8-269.6 236H249a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h169.3C436 681.2 550 784 688 784c150.2 0 272-121.8 272-272S838.2 240 688 240zm128 298c0 4.4-3.6 8-8 8h-86v86c0 4.4-3.6 8-8 8h-52c-4.4 0-8-3.6-8-8v-86h-86c-4.4 0-8-3.6-8-8v-52c0-4.4 3.6-8 8-8h86v-86c0-4.4 3.6-8 8-8h52c4.4 0 8 3.6 8 8v86h86c4.4 0 8 3.6 8 8v52z"}}]},name:"subnode",theme:"outlined"},Mt=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Me}))}),Mc={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z"}}]},name:"sun",theme:"filled"},Mn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mc}))}),Ma={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234m0 72c-89.47 0-162 72.53-162 162s72.53 162 162 162 162-72.53 162-162-72.53-162-162-162M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z"}}]},name:"sun",theme:"outlined"},Mr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Ma}))}),Ml={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 572H266.8l144.3-183c4.1-5.2.4-13-6.3-13H340c-9.8 0-19.1 4.5-25.1 12.2l-164 208c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap-left",theme:"outlined"},Mo=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Ml}))}),Mi=c(32857),Mu=c(38970),Ms={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zM596 606c0 4.4-3.6 8-8 8H308c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h280c4.4 0 8 3.6 8 8v48zm284-494H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32z"}}]},name:"switcher",theme:"filled"},Mf=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Ms}))}),Mh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528zm168-728H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM300 550h296v64H300z"}}]},name:"switcher",theme:"outlined"},Md=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mh}))}),Mv={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M184 840h528V312H184v528zm116-290h296v64H300v-64z",fill:t}},{tag:"path",attrs:{d:"M880 112H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32z",fill:e}},{tag:"path",attrs:{d:"M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528z",fill:e}},{tag:"path",attrs:{d:"M300 550h296v64H300z",fill:e}}]}},name:"switcher",theme:"twotone"},Mm=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mv}))}),Mg=c(56010),Mz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 208H676V232h212v136zm0 224H676V432h212v160zM412 432h200v160H412V432zm200-64H412V232h200v136zm-476 64h212v160H136V432zm0-200h212v136H136V232zm0 424h212v136H136V656zm276 0h200v136H412V656zm476 136H676V656h212v136z"}}]},name:"table",theme:"outlined"},Mp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mz}))}),Mw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z"}}]},name:"tablet",theme:"filled"},MM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mw}))}),MZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H232V136h560v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"tablet",theme:"outlined"},MH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MZ}))}),Mb={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H232V136h560v752z",fill:e}},{tag:"path",attrs:{d:"M232 888h560V136H232v752zm280-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M472 784a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"tablet",theme:"twotone"},MV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mb}))}),MC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM699 387c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64z"}}]},name:"tag",theme:"filled"},Mx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MC}))}),ME={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7zM680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}}]},name:"tag",theme:"outlined"},ML=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ME}))}),MR={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M589 164.6L189.3 564.3l270.4 270.4L859.4 435 836 188l-247-23.4zM680 432c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88z",fill:t}},{tag:"path",attrs:{d:"M680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z",fill:e}},{tag:"path",attrs:{d:"M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8a9.9 9.9 0 007.1 2.9c2.7 0 5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7z",fill:e}}]}},name:"tag",theme:"twotone"},My=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MR}))}),MB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm122.7-533.4c18.7-18.7 49.1-18.7 67.9 0 18.7 18.7 18.7 49.1 0 67.9-18.7 18.7-49.1 18.7-67.9 0-18.7-18.7-18.7-49.1 0-67.9zm283.8 282.9l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z"}}]},name:"tags",theme:"filled"},MS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MB}))}),MO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm62.6-651.7l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9zm60.16 186.23a48 48 0 1067.88-67.89 48 48 0 10-67.88 67.89zM889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z"}}]},name:"tags",theme:"outlined"},Mk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MO}))}),M$={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M477.5 694l311.9-311.8-19-224.6-224.6-19-311.9 311.9L477.5 694zm116-415.5a47.81 47.81 0 0133.9-33.9c16.6-4.4 34.2.3 46.4 12.4a47.93 47.93 0 0112.4 46.4 47.81 47.81 0 01-33.9 33.9c-16.6 4.4-34.2-.3-46.4-12.4a48.3 48.3 0 01-12.4-46.4z",fill:t}},{tag:"path",attrs:{d:"M476.6 792.6c-1.7-.2-3.4-1-4.7-2.3L137.7 456.1a8.03 8.03 0 010-11.3L515.9 66.6c1.2-1.3 2.9-2.1 4.7-2.3h-.4c-2.3-.2-4.7.6-6.3 2.3L135.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c1.8 1.9 4.3 2.6 6.7 2.3z",fill:t}},{tag:"path",attrs:{d:"M889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3zM652.3 337.3a47.81 47.81 0 0033.9-33.9c4.4-16.6-.3-34.2-12.4-46.4a47.93 47.93 0 00-46.4-12.4 47.81 47.81 0 00-33.9 33.9c-4.4 16.6.3 34.2 12.4 46.4a48.3 48.3 0 0046.4 12.4z",fill:e}},{tag:"path",attrs:{d:"M137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c1.3 1.3 2.9 2.1 4.7 2.3 2.4.3 4.8-.5 6.6-2.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3h-1.6c-1.8.2-3.4 1-4.7 2.3L137.7 444.8zm408.1-306.2l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9z",fill:e}}]}},name:"tags",theme:"twotone"},MT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:M$}))}),MF={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 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z"}}]},name:"taobao-circle",theme:"filled"},MI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MF}))}),MA={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 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z"}}]},name:"taobao-circle",theme:"outlined"},MD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MA}))}),MP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168.5 273.7a68.7 68.7 0 10137.4 0 68.7 68.7 0 10-137.4 0zm730 79.2s-23.7-184.4-426.9-70.1c17.3-30 25.6-49.5 25.6-49.5L396.4 205s-40.6 132.6-113 194.4c0 0 70.1 40.6 69.4 39.4 20.1-20.1 38.2-40.6 53.7-60.4 16.1-7 31.5-13.6 46.7-19.8-18.6 33.5-48.7 83.8-78.8 115.6l42.4 37s28.8-27.7 60.4-61.2h36v61.8H372.9v49.5h140.3v118.5c-1.7 0-3.6 0-5.4-.2-15.4-.7-39.5-3.3-49-18.2-11.5-18.1-3-51.5-2.4-71.9h-97l-3.4 1.8s-35.5 159.1 102.3 155.5c129.1 3.6 203-36 238.6-63.1l14.2 52.6 79.6-33.2-53.9-131.9-64.6 20.1 12.1 45.2c-16.6 12.4-35.6 21.7-56.2 28.4V561.3h137.1v-49.5H628.1V450h137.6v-49.5H521.3c17.6-21.4 31.5-41.1 35-53.6l-42.5-11.6c182.8-65.5 284.5-54.2 283.6 53.2v282.8s10.8 97.1-100.4 90.1l-60.2-12.9-14.2 57.1S882.5 880 903.7 680.2c21.3-200-5.2-327.3-5.2-327.3zm-707.4 18.3l-45.4 69.7 83.6 52.1s56 28.5 29.4 81.9C233.8 625.5 112 736.3 112 736.3l109 68.1c75.4-163.7 70.5-142 89.5-200.7 19.5-60.1 23.7-105.9-9.4-139.1-42.4-42.6-47-46.6-110-93.4z"}}]},name:"taobao",theme:"outlined"},MN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MP}))}),Mq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z"}}]},name:"taobao-square",theme:"filled"},Mj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mq}))}),MW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"},MY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MW}))}),M_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7z"}}]},name:"thunderbolt",theme:"filled"},MK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:M_}))}),MU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]},name:"thunderbolt",theme:"outlined"},MG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MU}))}),MX={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M695.4 164.1H470.8L281.2 491.5h157.4l-60.3 241 319.8-305.1h-211z",fill:t}},{tag:"path",attrs:{d:"M848.1 359.3H627.8L825.9 109c4.1-5.3.4-13-6.3-13H436.1c-2.8 0-5.5 1.5-6.9 4L170.1 547.5c-3.1 5.3.7 12 6.9 12h174.4L262 917.1c-1.9 7.8 7.5 13.3 13.3 7.7L853.6 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.3 732.5l60.3-241H281.2l189.6-327.4h224.6L487.1 427.4h211L378.3 732.5z",fill:e}}]}},name:"thunderbolt",theme:"twotone"},MQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MX}))}),MJ={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 224.96C912 162.57 861.42 112 799.04 112H224.96C162.57 112 112 162.57 112 224.96v574.08C112 861.43 162.58 912 224.96 912h574.08C861.42 912 912 861.43 912 799.04zM774.76 460.92c-51.62.57-99.71-15.03-141.94-43.93v202.87a192.3 192.3 0 01-149 187.85c-119.06 27.17-219.86-58.95-232.57-161.83-13.3-102.89 52.32-193.06 152.89-213.29 19.65-4.04 49.2-4.04 64.46-.57v108.66c-4.7-1.15-9.09-2.31-13.71-2.89-39.3-6.94-77.37 12.72-92.98 48.55-15.6 35.84-5.16 77.45 26.63 101.73 26.59 20.8 56.09 23.7 86.14 9.82 30.06-13.29 46.21-37.56 49.68-70.5.58-4.63.54-9.84.54-15.04V222.21c0-10.99.09-10.5 11.07-10.5h86.12c6.36 0 8.67.9 9.25 8.43 4.62 67.04 55.53 124.14 120.84 132.81 6.94 1.16 14.37 1.62 22.58 2.2z"}}]},name:"tik-tok",theme:"filled"},M1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MJ}))}),M4={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M530.01 112.67c43.67-.67 87-.34 130.33-.67 2.67 51 21 103 58.33 139 37.33 37 90 54 141.33 59.66V445c-48-1.67-96.33-11.67-140-32.34-19-8.66-36.66-19.66-54-31-.33 97.33.34 194.67-.66 291.67-2.67 46.66-18 93-45 131.33-43.66 64-119.32 105.66-196.99 107-47.66 2.66-95.33-10.34-136-34.34C220.04 837.66 172.7 765 165.7 687c-.67-16.66-1-33.33-.34-49.66 6-63.34 37.33-124 86-165.34 55.33-48 132.66-71 204.99-57.33.67 49.34-1.33 98.67-1.33 148-33-10.67-71.67-7.67-100.67 12.33-21 13.67-37 34.67-45.33 58.34-7 17-5 35.66-4.66 53.66 8 54.67 60.66 100.67 116.66 95.67 37.33-.34 73-22 92.33-53.67 6.33-11 13.33-22.33 13.66-35.33 3.34-59.67 2-119 2.34-178.66.33-134.34-.34-268.33.66-402.33"}}]},name:"tik-tok",theme:"outlined"},M2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:M4}))}),M3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885 780H165c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM400 325.7h73.9V664c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V325.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 171a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13z"}}]},name:"to-top",theme:"outlined"},M8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:M3}))}),M6=c(67144),M0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"}}]},name:"tool",theme:"outlined"},M5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:M0}))}),M7={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M706.8 488.7a32.05 32.05 0 01-45.3 0L537 364.2a32.05 32.05 0 010-45.3l132.9-132.8a184.2 184.2 0 00-144 53.5c-58.1 58.1-69.3 145.3-33.6 214.6L439.5 507c-.1 0-.1-.1-.1-.1L209.3 737l79.2 79.2 274-274.1.1.1 8.8-8.8c69.3 35.7 156.5 24.5 214.6-33.6 39.2-39.1 57.3-92.1 53.6-143.9L706.8 488.7z",fill:t}},{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z",fill:e}}]}},name:"tool",theme:"twotone"},M9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:M7}))}),Ze={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 64zm164.7 660.2c-1.1.5-2.3.8-3.5.8h-62c-3.1 0-5.9-1.8-7.2-4.6l-74.6-159.2h-88.7V717c0 4.4-3.6 8-8 8H378c-4.4 0-8-3.6-8-8V307c0-4.4 3.6-8 8-8h155.6c98.8 0 144.2 59.9 144.2 131.1 0 70.2-43.6 106.4-78.4 119.2l80.8 164.2c2.1 3.9.4 8.7-3.5 10.7zM523.9 357h-83.4v148H522c53 0 82.8-25.6 82.8-72.4 0-50.3-32.9-75.6-80.9-75.6z"}}]},name:"trademark-circle",theme:"filled"},Zt=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Ze}))}),Zc={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm87.5-334.7c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.5-131.1-144.2-131.1H378c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.5c4.4 0 8-3.6 8-8V561.2h88.7l74.6 159.2c1.3 2.8 4.1 4.6 7.2 4.6h62a7.9 7.9 0 007.1-11.5l-80.6-164.2zM522 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.5 0 46.9-29.8 72.5-82.8 72.5z"}}]},name:"trademark-circle",theme:"outlined"},Zn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zc}))}),Za={icon:function(e,t){return{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm170.7 584.2c-1.1.5-2.3.8-3.5.8h-62c-3.1 0-5.9-1.8-7.2-4.6l-74.6-159.2h-88.7V717c0 4.4-3.6 8-8 8H384c-4.4 0-8-3.6-8-8V307c0-4.4 3.6-8 8-8h155.6c98.8 0 144.2 59.9 144.2 131.1 0 70.2-43.6 106.4-78.4 119.2l80.8 164.2c2.1 3.9.4 8.7-3.5 10.7z",fill:t}},{tag:"path",attrs:{d:"M529.9 357h-83.4v148H528c53 0 82.8-25.6 82.8-72.4 0-50.3-32.9-75.6-80.9-75.6z",fill:t}},{tag:"path",attrs:{d:"M605.4 549.3c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.4-131.1-144.2-131.1H384c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.7c4.4 0 8-3.6 8-8V561.2h88.7L610 720.4c1.3 2.8 4.1 4.6 7.2 4.6h62c1.2 0 2.4-.3 3.5-.8 3.9-2 5.6-6.8 3.5-10.7l-80.8-164.2zM528 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.6 0 46.8-29.8 72.4-82.8 72.4z",fill:e}}]}},name:"trademark-circle",theme:"twotone"},Zr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Za}))}),Zl={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm87.5-334.7c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.5-131.1-144.2-131.1H378c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.5c4.4 0 8-3.6 8-8V561.2h88.7l74.6 159.2c1.3 2.8 4.1 4.6 7.2 4.6h62a7.9 7.9 0 007.1-11.5l-80.6-164.2zM522 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.5 0 46.9-29.8 72.5-82.8 72.5z"}}]},name:"trademark",theme:"outlined"},Zo=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zl}))}),Zi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M668.6 320c0-4.4-3.6-8-8-8h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.5-1.1.9-2.4.9-3.7zM157.9 504.2a352.7 352.7 0 01103.5-242.4c32.5-32.5 70.3-58.1 112.4-75.9 43.6-18.4 89.9-27.8 137.6-27.8 47.8 0 94.1 9.3 137.6 27.8 42.1 17.8 79.9 43.4 112.4 75.9 10 10 19.3 20.5 27.9 31.4l-50 39.1a8 8 0 003 14.1l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3l-47.8 37.4C770.7 146.3 648.6 82 511.5 82 277 82 86.3 270.1 82 503.8a8 8 0 008 8.2h60c4.3 0 7.8-3.5 7.9-7.8zM934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 01-103.5 242.4 352.57 352.57 0 01-112.4 75.9c-43.6 18.4-89.9 27.8-137.6 27.8s-94.1-9.3-137.6-27.8a352.57 352.57 0 01-112.4-75.9c-10-10-19.3-20.5-27.9-31.4l49.9-39.1a8 8 0 00-3-14.1l-156.8-38.3c-5-1.2-9.9 2.6-9.9 7.7l-.8 161.7c0 6.7 7.7 10.5 12.9 6.3l47.8-37.4C253.3 877.7 375.4 942 512.5 942 747 942 937.7 753.9 942 520.2a8 8 0 00-8-8.2z"}}]},name:"transaction",theme:"outlined"},Zu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zi}))}),Zs={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M140 188h584v164h76V144c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h544v-76H140V188z"}},{tag:"path",attrs:{d:"M414.3 256h-60.6c-3.4 0-6.4 2.2-7.6 5.4L219 629.4c-.3.8-.4 1.7-.4 2.6 0 4.4 3.6 8 8 8h55.1c3.4 0 6.4-2.2 7.6-5.4L322 540h196.2L422 261.4a8.42 8.42 0 00-7.7-5.4zm12.4 228h-85.5L384 360.2 426.7 484zM936 528H800v-93c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v93H592c-13.3 0-24 10.7-24 24v176c0 13.3 10.7 24 24 24h136v152c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V752h136c13.3 0 24-10.7 24-24V552c0-13.3-10.7-24-24-24zM728 680h-88v-80h88v80zm160 0h-88v-80h88v80z"}}]},name:"translation",theme:"outlined"},Zf=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zs}))}),Zh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.6 630.2 359 721.8 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.8 758.4 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM248 439.6c-37.1-11.9-64-46.7-64-87.6V232h64v207.6zM840 352c0 41-26.9 75.8-64 87.6V232h64v120z"}}]},name:"trophy",theme:"filled"},Zd=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zh}))}),Zv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM184 352V232h64v207.6a91.99 91.99 0 01-64-87.6zm520 128c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z"}}]},name:"trophy",theme:"outlined"},Zm=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zv}))}),Zg={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M320 480c0 49.1 19.1 95.3 53.9 130.1 34.7 34.8 81 53.9 130.1 53.9h16c49.1 0 95.3-19.1 130.1-53.9 34.8-34.7 53.9-81 53.9-130.1V184H320v296zM184 352c0 41 26.9 75.8 64 87.6-37.1-11.9-64-46.7-64-87.6zm364 382.5C665 721.8 758.4 630.2 773.8 514 758.3 630.2 665 721.7 548 734.5zM250.2 514C265.6 630.2 359 721.8 476 734.5 359 721.7 265.7 630.2 250.2 514z",fill:t}},{tag:"path",attrs:{d:"M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM248 439.6a91.99 91.99 0 01-64-87.6V232h64v207.6zM704 480c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z",fill:e}}]}},name:"trophy",theme:"twotone"},Zz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zg}))}),Zp={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640m93.63-192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448H332a12 12 0 00-12 12v40a12 12 0 0012 12h168a12 12 0 0012-12v-40a12 12 0 00-12-12M308 320H204a12 12 0 00-12 12v40a12 12 0 0012 12h104a12 12 0 0012-12v-40a12 12 0 00-12-12"}}]},name:"truck",theme:"filled"},Zw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zp}))}),ZM={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640M576 256H128v384h17.12c22.13-38.26 63.5-64 110.88-64 47.38 0 88.75 25.74 110.88 64H576zm221.63 192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448a12 12 0 0112 12v40a12 12 0 01-12 12H332a12 12 0 01-12-12v-40a12 12 0 0112-12zM308 320a12 12 0 0112 12v40a12 12 0 01-12 12H204a12 12 0 01-12-12v-40a12 12 0 0112-12z"}}]},name:"truck",theme:"outlined"},ZZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZM}))}),ZH={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"filter",attrs:{filterUnits:"objectBoundingBox",height:"102.3%",id:"a",width:"102.3%",x:"-1.2%",y:"-1.2%"},children:[{tag:"feOffset",attrs:{dy:"2",in:"SourceAlpha",result:"shadowOffsetOuter1"}},{tag:"feGaussianBlur",attrs:{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"2"}},{tag:"feColorMatrix",attrs:{in:"shadowBlurOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"}},{tag:"feMerge",attrs:{},children:[{tag:"feMergeNode",attrs:{in:"shadowMatrixOuter1"}},{tag:"feMergeNode",attrs:{in:"SourceGraphic"}}]}]}]},{tag:"g",attrs:{filter:"url(#a)",transform:"translate(9 9)"},children:[{tag:"path",attrs:{d:"M185.14 112L128 254.86V797.7h171.43V912H413.7L528 797.71h142.86l200-200V112zm314.29 428.57H413.7V310.21h85.72zm200 0H613.7V310.21h85.72z"}}]}]},name:"twitch",theme:"filled"},Zb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZH}))}),ZV={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M166.13 112L114 251.17v556.46h191.2V912h104.4l104.23-104.4h156.5L879 599V112zm69.54 69.5H809.5v382.63L687.77 685.87H496.5L392.27 790.1V685.87h-156.6zM427 529.4h69.5V320.73H427zm191.17 0h69.53V320.73h-69.53z"}}]},name:"twitch",theme:"outlined"},ZC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZV}))}),Zx={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 64zm215.3 337.7c.3 4.7.3 9.6.3 14.4 0 146.8-111.8 315.9-316.1 315.9-63 0-121.4-18.3-170.6-49.8 9 1 17.6 1.4 26.8 1.4 52 0 99.8-17.6 137.9-47.4-48.8-1-89.8-33-103.8-77 17.1 2.5 32.5 2.5 50.1-2a111 111 0 01-88.9-109v-1.4c14.7 8.3 32 13.4 50.1 14.1a111.13 111.13 0 01-49.5-92.4c0-20.7 5.4-39.6 15.1-56a315.28 315.28 0 00229 116.1C492 353.1 548.4 292 616.2 292c32 0 60.8 13.4 81.1 35 25.1-4.7 49.1-14.1 70.5-26.7-8.3 25.7-25.7 47.4-48.8 61.1 22.4-2.4 44-8.6 64-17.3-15.1 22.2-34 41.9-55.7 57.6z"}}]},name:"twitter-circle",theme:"filled"},ZE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zx}))}),ZL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0075-94 336.64 336.64 0 01-108.2 41.2A170.1 170.1 0 00672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 00-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 01-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 01-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z"}}]},name:"twitter",theme:"outlined"},ZR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZL}))}),Zy={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM727.3 401.7c.3 4.7.3 9.6.3 14.4 0 146.8-111.8 315.9-316.1 315.9-63 0-121.4-18.3-170.6-49.8 9 1 17.6 1.4 26.8 1.4 52 0 99.8-17.6 137.9-47.4-48.8-1-89.8-33-103.8-77 17.1 2.5 32.5 2.5 50.1-2a111 111 0 01-88.9-109v-1.4c14.7 8.3 32 13.4 50.1 14.1a111.13 111.13 0 01-49.5-92.4c0-20.7 5.4-39.6 15.1-56a315.28 315.28 0 00229 116.1C492 353.1 548.4 292 616.2 292c32 0 60.8 13.4 81.1 35 25.1-4.7 49.1-14.1 70.5-26.7-8.3 25.7-25.7 47.4-48.8 61.1 22.4-2.4 44-8.6 64-17.3-15.1 22.2-34 41.9-55.7 57.6z"}}]},name:"twitter-square",theme:"filled"},ZB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zy}))}),ZS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824 804H200c-4.4 0-8 3.4-8 7.6v60.8c0 4.2 3.6 7.6 8 7.6h624c4.4 0 8-3.4 8-7.6v-60.8c0-4.2-3.6-7.6-8-7.6zm-312-76c69.4 0 134.6-27.1 183.8-76.2C745 602.7 772 537.4 772 468V156c0-6.6-5.4-12-12-12h-60c-6.6 0-12 5.4-12 12v312c0 97-79 176-176 176s-176-79-176-176V156c0-6.6-5.4-12-12-12h-60c-6.6 0-12 5.4-12 12v312c0 69.4 27.1 134.6 76.2 183.8C377.3 701 442.6 728 512 728z"}}]},name:"underline",theme:"outlined"},ZO=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZS}))}),Zk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.4 124C290.5 124.3 112 303 112 523.9c0 128 60.2 242 153.8 315.2l-37.5 48c-4.1 5.3-.3 13 6.3 12.9l167-.8c5.2 0 9-4.9 7.7-9.9L369.8 727a8 8 0 00-14.1-3L315 776.1c-10.2-8-20-16.7-29.3-26a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-7.5 7.5-15.3 14.5-23.4 21.2a7.93 7.93 0 00-1.2 11.1l39.4 50.5c2.8 3.5 7.9 4.1 11.4 1.3C854.5 760.8 912 649.1 912 523.9c0-221.1-179.4-400.2-400.6-399.9z"}}]},name:"undo",theme:"outlined"},Z$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zk}))}),ZT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M736 550H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208 130c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zM736 266H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208-194c39.8 0 72-32.2 72-72s-32.2-72-72-72-72 32.2-72 72 32.2 72 72 72zm0-96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 64c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0 656c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z"}}]},name:"ungroup",theme:"outlined"},ZF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZT}))}),ZI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1156 0z"}}]},name:"unlock",theme:"filled"},ZA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZI}))}),ZD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"unlock",theme:"outlined"},ZP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZD}))}),ZN={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 840h560V536H232v304zm280-226a48.01 48.01 0 0128 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0128-87z",fill:t}},{tag:"path",attrs:{d:"M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z",fill:e}},{tag:"path",attrs:{d:"M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304z",fill:e}}]}},name:"unlock",theme:"twotone"},Zq=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZN}))}),Zj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"},ZW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zj}))}),ZY={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 64zm178 555h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 460.4 406.8 605.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z"}}]},name:"up-circle",theme:"filled"},Z_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZY}))}),ZK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.5 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7H381c10.2 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"up-circle",theme:"outlined"},ZU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZK}))}),ZG={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm178 479h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 460.4 406.8 605.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z",fill:t}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M518.4 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7h46.9c10.3 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.7 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.4-12.7l-178-246z",fill:e}}]}},name:"up-circle",theme:"twotone"},ZX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZG}))}),ZQ=c(29941),ZJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM690 624h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 465.4 406.8 610.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z"}}]},name:"up-square",theme:"filled"},Z1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZJ}))}),Z4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M334 624h46.9c10.2 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246a7.95 7.95 0 00-12.9 0l-178 246A7.96 7.96 0 00334 624z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"up-square",theme:"outlined"},Z2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Z4}))}),Z3={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm143.5-228.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 465.4 406.8 610.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7z",fill:t}},{tag:"path",attrs:{d:"M334 624h46.9c10.3 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.7 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.4-12.7l-178-246a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7z",fill:e}}]}},name:"up-square",theme:"twotone"},Z8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Z3}))}),Z6=c(20222),Z0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 312h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm352 120V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zm-72 0H336V184h352v248zM568 312h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"usb",theme:"filled"},Z5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Z0}))}),Z7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M760 432V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V548c0-24.3 21.6-44 48.1-44h495.8c26.5 0 48.1 19.7 48.1 44v356c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zm-424 0V184h352v248H336zm120-184h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm160 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"usb",theme:"outlined"},Z9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Z7}))}),He={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M759.9 504H264.1c-26.5 0-48.1 19.7-48.1 44v292h592V548c0-24.3-21.6-44-48.1-44z",fill:t}},{tag:"path",attrs:{d:"M456 248h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm160 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z",fill:e}},{tag:"path",attrs:{d:"M760 432V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zM336 184h352v248H336V184zm472 656H216V548c0-24.3 21.6-44 48.1-44h495.8c26.5 0 48.1 19.7 48.1 44v292z",fill:e}}]}},name:"usb",theme:"twotone"},Ht=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:He}))}),Hc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-add",theme:"outlined"},Hn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hc}))}),Ha={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 655.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 518 759.6 444.7 759.6 362c0-137-110.8-248-247.5-248S264.7 225 264.7 362c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 901.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 641.2 432.2 610 512.2 610c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 534c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 362c0-45.9 17.9-89.1 50.3-121.6S466.3 190 512.2 190s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 362c0 45.9-17.9 89.1-50.3 121.6C601.1 516.1 558 534 512.2 534zM880 772H640c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h240c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-delete",theme:"outlined"},Hr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Ha}))}),Hl=c(90082),Ho={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M759 335c0-137-111-248-248-248S263 198 263 335c0 82.8 40.6 156.2 103 201.2-.4.2-.7.3-.9.4-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00136 874.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C356 614.2 431 583 511 583c137 0 248-111 248-248zM511 507c-95 0-172-77-172-172s77-172 172-172 172 77 172 172-77 172-172 172zm105 221h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H703.5l47.2-60.1a8.1 8.1 0 001.7-4.9c0-4.4-3.6-8-8-8h-72.6c-4.9 0-9.5 2.3-12.6 6.1l-68.5 87.1c-4.4 5.6-6.8 12.6-6.8 19.8.1 17.7 14.4 32 32.1 32zm240 64H592c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h176.5l-47.2 60.1a8.1 8.1 0 00-1.7 4.9c0 4.4 3.6 8 8 8h72.6c4.9 0 9.5-2.3 12.6-6.1l68.5-87.1c4.4-5.6 6.8-12.6 6.8-19.8-.1-17.7-14.4-32-32.1-32z"}}]},name:"user-switch",theme:"outlined"},Hi=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Ho}))}),Hu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z"}}]},name:"usergroup-add",theme:"outlined"},Hs=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hu}))}),Hf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 784H664c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7zM824 484c0-109.4-87.9-198.3-196.9-200C516.3 282.3 424 373.2 424 484c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 754.6 326 826.8 324 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 707.7 563 684 624 684c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 598.7 658.2 612 624 612s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z"}}]},name:"usergroup-delete",theme:"outlined"},Hh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hf}))}),Hd={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M447.8 588.8l-7.3-32.5c-.2-1-.6-1.9-1.1-2.7a7.94 7.94 0 00-11.1-2.2L405 567V411c0-4.4-3.6-8-8-8h-81c-4.4 0-8 3.6-8 8v36c0 4.4 3.6 8 8 8h37v192.4a8 8 0 0012.7 6.5l79-56.8c2.6-1.9 3.8-5.1 3.1-8.3zm-56.7-216.6l.2.2c3.2 3 8.3 2.8 11.3-.5l24.1-26.2a8.1 8.1 0 00-.3-11.2l-53.7-52.1a8 8 0 00-11.2.1l-24.7 24.7c-3.1 3.1-3.1 8.2.1 11.3l54.2 53.7z"}},{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z"}},{tag:"path",attrs:{d:"M452 297v36c0 4.4 3.6 8 8 8h108v274h-38V405c0-4.4-3.6-8-8-8h-35c-4.4 0-8 3.6-8 8v210h-31c-4.4 0-8 3.6-8 8v37c0 4.4 3.6 8 8 8h244c4.4 0 8-3.6 8-8v-37c0-4.4-3.6-8-8-8h-72V493h58c4.4 0 8-3.6 8-8v-35c0-4.4-3.6-8-8-8h-58V341h63c4.4 0 8-3.6 8-8v-36c0-4.4-3.6-8-8-8H460c-4.4 0-8 3.6-8 8z"}}]},name:"verified",theme:"outlined"},Hv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hd}))}),Hm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8z"}}]},name:"vertical-align-bottom",theme:"outlined"},Hg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hm}))}),Hz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 474H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zm-353.6-74.7c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H550V104c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v156h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.6zm11.4 225.4a7.14 7.14 0 00-11.3 0L405.6 752.3a7.23 7.23 0 005.7 11.7H474v156c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V764h62.8c6 0 9.4-7 5.7-11.7L517.7 624.7z"}}]},name:"vertical-align-middle",theme:"outlined"},Hp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hz}))}),Hw=c(42734),HM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M762 164h-64c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V172c0-4.4-3.6-8-8-8zm-508 0v72.4c0 9.5 4.2 18.4 11.4 24.5L564.6 512 265.4 763.1c-7.2 6.1-11.4 15-11.4 24.5V860c0 6.8 7.9 10.5 13.1 6.1L689 512 267.1 157.9A7.95 7.95 0 00254 164z"}}]},name:"vertical-left",theme:"outlined"},HZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HM}))}),HH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M326 164h-64c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V172c0-4.4-3.6-8-8-8zm444 72.4V164c0-6.8-7.9-10.5-13.1-6.1L335 512l421.9 354.1c5.2 4.4 13.1.7 13.1-6.1v-72.4c0-9.4-4.2-18.4-11.4-24.5L459.4 512l299.2-251.1c7.2-6.1 11.4-15.1 11.4-24.5z"}}]},name:"vertical-right",theme:"outlined"},Hb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HH}))}),HV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M368 724H252V608c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v116H72c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h116v116c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V788h116c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v352h72V232h576v560H448v72h272c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM888 625l-104-59.8V458.9L888 399v226z"}},{tag:"path",attrs:{d:"M320 360c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h112z"}}]},name:"video-camera-add",theme:"outlined"},HC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HV}))}),Hx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM328 352c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48zm560 273l-104-59.8V458.9L888 399v226z"}}]},name:"video-camera",theme:"filled"},HE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hx}))}),HL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226zM208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"video-camera",theme:"outlined"},HR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HL}))}),Hy={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 792h576V232H136v560zm64-488c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48z",fill:t}},{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226z",fill:e}},{tag:"path",attrs:{d:"M208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"video-camera",theme:"twotone"},HB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hy}))}),HS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 464H528V448h320v128zm-268-64a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"wallet",theme:"filled"},HO=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HS}))}),Hk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 464H528V448h312v128zm0 264H184V184h656v200H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200zM580 512a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"wallet",theme:"outlined"},H$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hk}))}),HT={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 464H528V448h312v128zm0-192H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200H184V184h656v200z",fill:e}},{tag:"path",attrs:{d:"M528 576h312V448H528v128zm92-104c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M580 512a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V640H496c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32h344V184H184v656z",fill:t}}]}},name:"wallet",theme:"twotone"},HF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HT}))}),HI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},HA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HI}))}),HD=c(35732),HP={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z",fill:e}},{tag:"path",attrs:{d:"M172.2 828.1h679.6L512 239.9 172.2 828.1zM560 720a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm-16-304v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z",fill:t}},{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z",fill:e}}]}},name:"warning",theme:"twotone"},HN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HP}))}),Hq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z"}}]},name:"wechat",theme:"filled"},Hj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hq}))}),HW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z"}}]},name:"wechat",theme:"outlined"},HY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HW}))}),H_={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M805.33 112H218.67C159.76 112 112 159.76 112 218.67v586.66C112 864.24 159.76 912 218.67 912h586.66C864.24 912 912 864.24 912 805.33V218.67C912 159.76 864.24 112 805.33 112m-98.17 417.86a102.13 102.13 0 0028.1 52.46l2.13 2.06c.41.27.8.57 1.16.9l.55.64.2.02a7.96 7.96 0 01-.98 10.82 7.96 7.96 0 01-10.85-.18c-1.1-1.05-2.14-2.14-3.24-3.24a102.49 102.49 0 00-53.82-28.36l-2-.27c-.66-.12-1.34-.39-1.98-.39a33.27 33.27 0 1140.37-37.66c.17 1.09.36 2.16.36 3.2m-213.1 153.82a276.78 276.78 0 01-61.7.17 267.3 267.3 0 01-44.67-8.6l-68.44 34.4c-.33.24-.77.43-1.15.71h-.27a18.29 18.29 0 01-27.52-15.9c.03-.59.1-1.17.2-1.74.13-1.97.6-3.9 1.37-5.72l2.75-11.15 9.56-39.56a277.57 277.57 0 01-49.25-54.67A185.99 185.99 0 01223.1 478.1a182.42 182.42 0 0119.08-81.04 203.98 203.98 0 0137.19-52.32c38.91-39.94 93.26-65.52 153.1-72.03a278.25 278.25 0 0130.17-1.64c10.5.03 20.99.65 31.42 1.86 59.58 6.79 113.65 32.48 152.26 72.36a202.96 202.96 0 0137 52.48 182.3 182.3 0 0118.17 94.67c-.52-.57-1.02-1.2-1.57-1.76a33.26 33.26 0 00-40.84-4.8c.22-2.26.22-4.54.22-6.79a143.64 143.64 0 00-14.76-63.38 164.07 164.07 0 00-29.68-42.15c-31.78-32.76-76.47-53.95-125.89-59.55a234.37 234.37 0 00-51.67-.14c-49.61 5.41-94.6 26.45-126.57 59.26a163.63 163.63 0 00-29.82 41.95 143.44 143.44 0 00-15.12 63.93 147.16 147.16 0 0025.29 81.51 170.5 170.5 0 0024.93 29.4 172.31 172.31 0 0017.56 14.75 17.6 17.6 0 016.35 19.62l-6.49 24.67-1.86 7.14-1.62 6.45a2.85 2.85 0 002.77 2.88 3.99 3.99 0 001.93-.68l43.86-25.93 1.44-.78a23.2 23.2 0 0118.24-1.84 227.38 227.38 0 0033.87 7.12l5.22.69a227.26 227.26 0 0051.67-.14 226.58 226.58 0 0042.75-9.07 33.2 33.2 0 0022.72 34.76 269.27 269.27 0 01-60.37 14.12m89.07-24.87a33.33 33.33 0 01-33.76-18.75 33.32 33.32 0 016.64-38.03 33.16 33.16 0 0118.26-9.31c1.07-.14 2.19-.36 3.24-.36a102.37 102.37 0 0052.47-28.05l2.2-2.33a10.21 10.21 0 011.57-1.68v-.03a7.97 7.97 0 1110.64 11.81l-3.24 3.24a102.44 102.44 0 00-28.56 53.74c-.09.63-.28 1.35-.28 2l-.39 2.01a33.3 33.3 0 01-28.79 25.74m94.44 93.87a33.3 33.3 0 01-36.18-24.25 28 28 0 01-1.1-6.73 102.4 102.4 0 00-28.15-52.39l-2.3-2.25a7.2 7.2 0 01-1.11-.9l-.54-.6h-.03v.05a7.96 7.96 0 01.96-10.82 7.96 7.96 0 0110.85.18l3.22 3.24a102.29 102.29 0 0053.8 28.35l2 .28a33.27 33.27 0 11-1.42 65.84m113.67-103.34a32.84 32.84 0 01-18.28 9.31 26.36 26.36 0 01-3.24.36 102.32 102.32 0 00-52.44 28.1 49.57 49.57 0 00-3.14 3.41l-.68.56h.02l.09.05a7.94 7.94 0 11-10.6-11.81l3.23-3.24a102.05 102.05 0 0028.37-53.7 33.26 33.26 0 1162.4-12.1 33.21 33.21 0 01-5.73 39.06"}}]},name:"wechat-work",theme:"filled"},HK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:H_}))}),HU={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.78 729.59a135.87 135.87 0 00-47.04 19.04 114.24 114.24 0 01-51.4 31.08 76.29 76.29 0 0124.45-45.42 169.3 169.3 0 0023.4-55.02 50.41 50.41 0 1150.6 50.32zm-92.21-120.76a168.83 168.83 0 00-54.81-23.68 50.41 50.41 0 01-50.4-50.42 50.41 50.41 0 11100.8 0 137.5 137.5 0 0018.82 47.2 114.8 114.8 0 0130.76 51.66 76.08 76.08 0 01-45.02-24.76h-.19zm-83.04-177.71c-15.19-127.33-146.98-227.1-306.44-227.1-169.87 0-308.09 113.1-308.09 252.2A235.81 235.81 0 00230.06 647.6a311.28 311.28 0 0033.6 21.59L250 723.76c4.93 2.31 9.7 4.78 14.75 6.9l69-34.5c10.07 2.61 20.68 4.3 31.2 6.08 6.73 1.2 13.45 2.43 20.35 3.25a354.83 354.83 0 00128.81-7.4 248.88 248.88 0 0010.15 55.06 425.64 425.64 0 01-96.17 11.24 417.98 417.98 0 01-86.4-9.52L216.52 817.4a27.62 27.62 0 01-29.98-3.14 28.02 28.02 0 01-9.67-28.61l22.4-90.24A292.26 292.26 0 0164 456.21C64 285.98 227 148 428.09 148c190.93 0 347.29 124.53 362.52 282.82a244.97 244.97 0 00-26.47-2.62c-9.9.38-19.79 1.31-29.6 2.88zm-116.3 198.81a135.76 135.76 0 0047.05-19.04 114.24 114.24 0 0151.45-31 76.47 76.47 0 01-24.5 45.34 169.48 169.48 0 00-23.4 55.05 50.41 50.41 0 01-100.8.23 50.41 50.41 0 0150.2-50.58m90.8 121.32a168.6 168.6 0 0054.66 23.9 50.44 50.44 0 0135.64 86.08 50.38 50.38 0 01-86.04-35.66 136.74 136.74 0 00-18.67-47.28 114.71 114.71 0 01-30.54-51.8 76 76 0 0144.95 25.06z"}}]},name:"wechat-work",theme:"outlined"},HG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HU}))}),HX={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-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z"}}]},name:"weibo-circle",theme:"filled"},HQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HX}))}),HJ={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-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z"}}]},name:"weibo-circle",theme:"outlined"},H1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HJ}))}),H4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M457.3 543c-68.1-17.7-145 16.2-174.6 76.2-30.1 61.2-1 129.1 67.8 151.3 71.2 23 155.2-12.2 184.4-78.3 28.7-64.6-7.2-131-77.6-149.2zm-52 156.2c-13.8 22.1-43.5 31.7-65.8 21.6-22-10-28.5-35.7-14.6-57.2 13.7-21.4 42.3-31 64.4-21.7 22.4 9.5 29.6 35 16 57.3zm45.5-58.5c-5 8.6-16.1 12.7-24.7 9.1-8.5-3.5-11.2-13.1-6.4-21.5 5-8.4 15.6-12.4 24.1-9.1 8.7 3.2 11.8 12.9 7 21.5zm334.5-197.2c15 4.8 31-3.4 35.9-18.3 11.8-36.6 4.4-78.4-23.2-109a111.39 111.39 0 00-106-34.3 28.45 28.45 0 00-21.9 33.8 28.39 28.39 0 0033.8 21.8c18.4-3.9 38.3 1.8 51.9 16.7a54.2 54.2 0 0111.3 53.3 28.45 28.45 0 0018.2 36zm99.8-206c-56.7-62.9-140.4-86.9-217.7-70.5a32.98 32.98 0 00-25.4 39.3 33.12 33.12 0 0039.3 25.5c55-11.7 114.4 5.4 154.8 50.1 40.3 44.7 51.2 105.7 34 159.1-5.6 17.4 3.9 36 21.3 41.7 17.4 5.6 36-3.9 41.6-21.2v-.1c24.1-75.4 8.9-161.1-47.9-223.9zM729 499c-12.2-3.6-20.5-6.1-14.1-22.1 13.8-34.7 15.2-64.7.3-86-28-40.1-104.8-37.9-192.8-1.1 0 0-27.6 12.1-20.6-9.8 13.5-43.5 11.5-79.9-9.6-101-47.7-47.8-174.6 1.8-283.5 110.6C127.3 471.1 80 557.5 80 632.2 80 775.1 263.2 862 442.5 862c235 0 391.3-136.5 391.3-245 0-65.5-55.2-102.6-104.8-118zM443 810.8c-143 14.1-266.5-50.5-275.8-144.5-9.3-93.9 99.2-181.5 242.2-195.6 143-14.2 266.5 50.5 275.8 144.4C694.4 709 586 796.6 443 810.8z"}}]},name:"weibo",theme:"outlined"},H2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:H4}))}),H3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.6 595.1c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM467.6 736C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-58.1-46.7c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z"}}]},name:"weibo-square",theme:"filled"},H8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:H3}))}),H6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.6 595.1c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM467.6 736C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-58.1-46.7c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z"}}]},name:"weibo-square",theme:"outlined"},H0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:H6}))}),H5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M713.5 599.9c-10.9-5.6-65.2-32.2-75.3-35.8-10.1-3.8-17.5-5.6-24.8 5.6-7.4 11.1-28.4 35.8-35 43.3-6.4 7.4-12.9 8.3-23.8 2.8-64.8-32.4-107.3-57.8-150-131.1-11.3-19.5 11.3-18.1 32.4-60.2 3.6-7.4 1.8-13.7-1-19.3-2.8-5.6-24.8-59.8-34-81.9-8.9-21.5-18.1-18.5-24.8-18.9-6.4-.4-13.7-.4-21.1-.4-7.4 0-19.3 2.8-29.4 13.7-10.1 11.1-38.6 37.8-38.6 92s39.5 106.7 44.9 114.1c5.6 7.4 77.7 118.6 188.4 166.5 70 30.2 97.4 32.8 132.4 27.6 21.3-3.2 65.2-26.6 74.3-52.5 9.1-25.8 9.1-47.9 6.4-52.5-2.7-4.9-10.1-7.7-21-13z"}},{tag:"path",attrs:{d:"M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"whats-app",theme:"outlined"},H7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:H5}))}),H9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},be=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:H9}))}),bt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M523.8 191.4v288.9h382V128.1zm0 642.2l382 62.2v-352h-382zM120.1 480.2H443V201.9l-322.9 53.5zm0 290.4L443 823.2V543.8H120.1z"}}]},name:"windows",theme:"filled"},bc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bt}))}),bn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120.1 770.6L443 823.2V543.8H120.1v226.8zm63.4-163.5h196.2v141.6l-196.2-31.9V607.1zm340.3 226.5l382 62.2v-352h-382v289.8zm63.4-226.5h255.3v214.4l-255.3-41.6V607.1zm-63.4-415.7v288.8h382V128.1l-382 63.3zm318.7 225.5H587.3V245l255.3-42.3v214.2zm-722.4 63.3H443V201.9l-322.9 53.5v224.8zM183.5 309l196.2-32.5v140.4H183.5V309z"}}]},name:"windows",theme:"outlined"},ba=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bn}))}),br={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M712.8 548.8c53.6-53.6 83.2-125 83.2-200.8 0-75.9-29.5-147.2-83.2-200.8C659.2 93.6 587.8 64 512 64s-147.2 29.5-200.8 83.2C257.6 200.9 228 272.1 228 348c0 63.8 20.9 124.4 59.4 173.9 7.3 9.4 15.2 18.3 23.7 26.9 8.5 8.5 17.5 16.4 26.8 23.7 39.6 30.8 86.3 50.4 136.1 57V736H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h114v140c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V812h114c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H550V629.5c61.5-8.2 118.2-36.1 162.8-80.7zM512 556c-55.6 0-107.7-21.6-147.1-60.9C325.6 455.8 304 403.6 304 348s21.6-107.7 60.9-147.1C404.2 161.5 456.4 140 512 140s107.7 21.6 147.1 60.9C698.4 240.2 720 292.4 720 348s-21.6 107.7-60.9 147.1C619.7 534.4 567.6 556 512 556z"}}]},name:"woman",theme:"outlined"},bl=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:br}))}),bo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"g",attrs:{"fill-rule":"evenodd"},children:[{tag:"path",attrs:{d:"M823.11 912H200.9A88.9 88.9 0 01112 823.11V200.9A88.9 88.9 0 01200.89 112H823.1A88.9 88.9 0 01912 200.89V823.1A88.9 88.9 0 01823.11 912"}},{tag:"path",attrs:{d:"M740 735H596.94L286 291h143.06zm-126.01-37.65h56.96L412 328.65h-56.96z","fill-rule":"nonzero"}},{tag:"path",attrs:{d:"M331.3 735L491 549.73 470.11 522 286 735zM521 460.39L541.21 489 715 289h-44.67z","fill-rule":"nonzero"}}]}]},name:"x",theme:"filled"},bi=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bo}))}),bu={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M921 912L601.11 445.75l.55.43L890.08 112H793.7L558.74 384 372.15 112H119.37l298.65 435.31-.04-.04L103 912h96.39L460.6 609.38 668.2 912zM333.96 184.73l448.83 654.54H706.4L257.2 184.73z"}}]},name:"x",theme:"outlined"},bs=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bu}))}),bf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M937.3 231H824.7c-15.5 0-27.7 12.6-27.1 28.1l13.1 366h84.4l65.4-366.4c2.7-15.2-7.8-27.7-23.2-27.7zm-77.4 450.4h-14.1c-27.1 0-49.2 22.2-49.2 49.3v14.1c0 27.1 22.2 49.3 49.2 49.3h14.1c27.1 0 49.2-22.2 49.2-49.3v-14.1c0-27.1-22.2-49.3-49.2-49.3zM402.6 231C216.2 231 65 357 65 512.5S216.2 794 402.6 794s337.6-126 337.6-281.5S589.1 231 402.6 231zm225.2 225.2h-65.3L458.9 559.8v65.3h84.4v56.3H318.2v-56.3h84.4v-65.3L242.9 399.9h-37v-56.3h168.5v56.3h-37l93.4 93.5 28.1-28.1V400h168.8v56.2z"}}]},name:"yahoo",theme:"filled"},bh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bf}))}),bd={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 681.4h-14.1c-27.1 0-49.2 22.2-49.2 49.3v14.1c0 27.1 22.2 49.3 49.2 49.3h14.1c27.1 0 49.2-22.2 49.2-49.3v-14.1c0-27.1-22.2-49.3-49.2-49.3zM402.6 231C216.2 231 65 357 65 512.5S216.2 794 402.6 794s337.6-126 337.6-281.5S589.1 231 402.6 231zm0 507C245.1 738 121 634.6 121 512.5c0-62.3 32.3-119.7 84.9-161v48.4h37l159.8 159.9v65.3h-84.4v56.3h225.1v-56.3H459v-65.3l103.5-103.6h65.3v-56.3H459v65.3l-28.1 28.1-93.4-93.5h37v-56.3H216.4c49.4-35 114.3-56.6 186.2-56.6 157.6 0 281.6 103.4 281.6 225.5S560.2 738 402.6 738zm534.7-507H824.7c-15.5 0-27.7 12.6-27.1 28.1l13.1 366h84.4l65.4-366.4c2.7-15.2-7.8-27.7-23.2-27.7z"}}]},name:"yahoo",theme:"outlined"},bv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bd}))}),bm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M941.3 296.1a112.3 112.3 0 00-79.2-79.3C792.2 198 512 198 512 198s-280.2 0-350.1 18.7A112.12 112.12 0 0082.7 296C64 366 64 512 64 512s0 146 18.7 215.9c10.3 38.6 40.7 69 79.2 79.3C231.8 826 512 826 512 826s280.2 0 350.1-18.8c38.6-10.3 68.9-40.7 79.2-79.3C960 658 960 512 960 512s0-146-18.7-215.9zM423 646V378l232 133-232 135z"}}]},name:"youtube",theme:"filled"},bg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bm}))}),bz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M960 509.2c0-2.2 0-4.7-.1-7.6-.1-8.1-.3-17.2-.5-26.9-.8-27.9-2.2-55.7-4.4-81.9-3-36.1-7.4-66.2-13.4-88.8a139.52 139.52 0 00-98.3-98.5c-28.3-7.6-83.7-12.3-161.7-15.2-37.1-1.4-76.8-2.3-116.5-2.8-13.9-.2-26.8-.3-38.4-.4h-29.4c-11.6.1-24.5.2-38.4.4-39.7.5-79.4 1.4-116.5 2.8-78 3-133.5 7.7-161.7 15.2A139.35 139.35 0 0082.4 304C76.3 326.6 72 356.7 69 392.8c-2.2 26.2-3.6 54-4.4 81.9-.3 9.7-.4 18.8-.5 26.9 0 2.9-.1 5.4-.1 7.6v5.6c0 2.2 0 4.7.1 7.6.1 8.1.3 17.2.5 26.9.8 27.9 2.2 55.7 4.4 81.9 3 36.1 7.4 66.2 13.4 88.8 12.8 47.9 50.4 85.7 98.3 98.5 28.2 7.6 83.7 12.3 161.7 15.2 37.1 1.4 76.8 2.3 116.5 2.8 13.9.2 26.8.3 38.4.4h29.4c11.6-.1 24.5-.2 38.4-.4 39.7-.5 79.4-1.4 116.5-2.8 78-3 133.5-7.7 161.7-15.2 47.9-12.8 85.5-50.5 98.3-98.5 6.1-22.6 10.4-52.7 13.4-88.8 2.2-26.2 3.6-54 4.4-81.9.3-9.7.4-18.8.5-26.9 0-2.9.1-5.4.1-7.6v-5.6zm-72 5.2c0 2.1 0 4.4-.1 7.1-.1 7.8-.3 16.4-.5 25.7-.7 26.6-2.1 53.2-4.2 77.9-2.7 32.2-6.5 58.6-11.2 76.3-6.2 23.1-24.4 41.4-47.4 47.5-21 5.6-73.9 10.1-145.8 12.8-36.4 1.4-75.6 2.3-114.7 2.8-13.7.2-26.4.3-37.8.3h-28.6l-37.8-.3c-39.1-.5-78.2-1.4-114.7-2.8-71.9-2.8-124.9-7.2-145.8-12.8-23-6.2-41.2-24.4-47.4-47.5-4.7-17.7-8.5-44.1-11.2-76.3-2.1-24.7-3.4-51.3-4.2-77.9-.3-9.3-.4-18-.5-25.7 0-2.7-.1-5.1-.1-7.1v-4.8c0-2.1 0-4.4.1-7.1.1-7.8.3-16.4.5-25.7.7-26.6 2.1-53.2 4.2-77.9 2.7-32.2 6.5-58.6 11.2-76.3 6.2-23.1 24.4-41.4 47.4-47.5 21-5.6 73.9-10.1 145.8-12.8 36.4-1.4 75.6-2.3 114.7-2.8 13.7-.2 26.4-.3 37.8-.3h28.6l37.8.3c39.1.5 78.2 1.4 114.7 2.8 71.9 2.8 124.9 7.2 145.8 12.8 23 6.2 41.2 24.4 47.4 47.5 4.7 17.7 8.5 44.1 11.2 76.3 2.1 24.7 3.4 51.3 4.2 77.9.3 9.3.4 18 .5 25.7 0 2.7.1 5.1.1 7.1v4.8zM423 646l232-135-232-133z"}}]},name:"youtube",theme:"outlined"},bp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bz}))}),bw=c(6618),bM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.8-8.1-194.9-3-195-3 .1 0 87.4 55.6 52.4 154.7-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6zm-204.1 334c-10.6 0-26.2.1-46.8.3l-23.6.2-17.8 15.5c-47.1 41-104.4 71.5-171.4 87.6-52.5 12.6-110 16.2-172.7 9.6 18-20.5 36.5-41.6 55.4-63.1 92-104.6 173.8-197.5 236.9-268.5l1.4-1.4 1.3-1.5c4.1-4.6 20.6-23.3 24.7-28.1 9.7-11.1 17.3-19.9 24.5-28.6 30.7-36.7 52.2-67.8 69-102.2l1.6-3.3 1.2-3.4c13.7-38.8 15.4-76.9 6.2-112.8 22.5.7 46.5 1.9 71.7 3.6 33.3 2.3 55.5 12.9 71.1 29.2 5.8 6 10.2 12.5 13.4 18.7 1 2 1.7 3.6 2.3 5l5 17.7c-15.7 34.5-19.9 73.3-11.4 107.2 3 11.8 6.9 22.4 12.3 34.4 2.1 4.7 9.5 20.1 11 23.3 10.3 22.7 15.4 43 16.7 78.7 3.3 94.6-82.7 181.9-182 181.9z"}}]},name:"yuque",theme:"outlined"},bZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bM}))}),bH={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-90.7 477.8l-.1 1.5c-1.5 20.4-6.3 43.9-12.9 67.6l24-18.1 71 80.7c9.2 33-3.3 63.1-3.3 63.1l-95.7-111.9v-.1c-8.9 29-20.1 57.3-33.3 84.7-22.6 45.7-55.2 54.7-89.5 57.7-34.4 3-23.3-5.3-23.3-5.3 68-55.5 78-87.8 96.8-123.1 11.9-22.3 20.4-64.3 25.3-96.8H264.1s4.8-31.2 19.2-41.7h101.6c.6-15.3-1.3-102.8-2-131.4h-49.4c-9.2 45-41 56.7-48.1 60.1-7 3.4-23.6 7.1-21.1 0 2.6-7.1 27-46.2 43.2-110.7 16.3-64.6 63.9-62 63.9-62-12.8 22.5-22.4 73.6-22.4 73.6h159.7c10.1 0 10.6 39 10.6 39h-90.8c-.7 22.7-2.8 83.8-5 131.4H519s12.2 15.4 12.2 41.7H421.3zm346.5 167h-87.6l-69.5 46.6-16.4-46.6h-40.1V321.5h213.6v387.3zM408.2 611s0-.1 0 0zm216 94.3l56.8-38.1h45.6-.1V364.7H596.7v302.5h14.1z"}}]},name:"zhihu-circle",theme:"filled"},bb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bH}))}),bV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M564.7 230.1V803h60l25.2 71.4L756.3 803h131.5V230.1H564.7zm247.7 497h-59.9l-75.1 50.4-17.8-50.4h-18V308.3h170.7v418.8zM526.1 486.9H393.3c2.1-44.9 4.3-104.3 6.6-172.9h130.9l-.1-8.1c0-.6-.2-14.7-2.3-29.1-2.1-15-6.6-34.9-21-34.9H287.8c4.4-20.6 15.7-69.7 29.4-93.8l6.4-11.2-12.9-.7c-.8 0-19.6-.9-41.4 10.6-35.7 19-51.7 56.4-58.7 84.4-18.4 73.1-44.6 123.9-55.7 145.6-3.3 6.4-5.3 10.2-6.2 12.8-1.8 4.9-.8 9.8 2.8 13 10.5 9.5 38.2-2.9 38.5-3 .6-.3 1.3-.6 2.2-1 13.9-6.3 55.1-25 69.8-84.5h56.7c.7 32.2 3.1 138.4 2.9 172.9h-141l-2.1 1.5c-23.1 16.9-30.5 63.2-30.8 65.2l-1.4 9.2h167c-12.3 78.3-26.5 113.4-34 127.4-3.7 7-7.3 14-10.7 20.8-21.3 42.2-43.4 85.8-126.3 153.6-3.6 2.8-7 8-4.8 13.7 2.4 6.3 9.3 9.1 24.6 9.1 5.4 0 11.8-.3 19.4-1 49.9-4.4 100.8-18 135.1-87.6 17-35.1 31.7-71.7 43.9-108.9L497 850l5-12c.8-1.9 19-46.3 5.1-95.9l-.5-1.8-108.1-123-22 16.6c6.4-26.1 10.6-49.9 12.5-71.1h158.7v-8c0-40.1-18.5-63.9-19.2-64.9l-2.4-3z"}}]},name:"zhihu",theme:"outlined"},bC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bV}))}),bx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM432.3 592.8l71 80.7c9.2 33-3.3 63.1-3.3 63.1l-95.7-111.9v-.1c-8.9 29-20.1 57.3-33.3 84.7-22.6 45.7-55.2 54.7-89.5 57.7-34.4 3-23.3-5.3-23.3-5.3 68-55.5 78-87.8 96.8-123.1 11.9-22.3 20.4-64.3 25.3-96.8H264.1s4.8-31.2 19.2-41.7h101.6c.6-15.3-1.3-102.8-2-131.4h-49.4c-9.2 45-41 56.7-48.1 60.1-7 3.4-23.6 7.1-21.1 0 2.6-7.1 27-46.2 43.2-110.7 16.3-64.6 63.9-62 63.9-62-12.8 22.5-22.4 73.6-22.4 73.6h159.7c10.1 0 10.6 39 10.6 39h-90.8c-.7 22.7-2.8 83.8-5 131.4H519s12.2 15.4 12.2 41.7h-110l-.1 1.5c-1.5 20.4-6.3 43.9-12.9 67.6l24.1-18.1zm335.5 116h-87.6l-69.5 46.6-16.4-46.6h-40.1V321.5h213.6v387.3zM408.2 611s0-.1 0 0zm216 94.3l56.8-38.1h45.6-.1V364.7H596.7v302.5h14.1z"}}]},name:"zhihu-square",theme:"filled"},bE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bx}))}),bL=c(30090),bR=c(3890),by=c(750),bB=c(96890),bS=c(42834),bO=n.Z.Provider},76457:function(e,t,c){"use strict";c.d(t,{Z:function(){return eD}});var n=c(72991),a=c(38497),r=c(26869),l=c.n(r),o=c(42096),i=c(4247),u=c(65347),s=c(10921),f=c(79580),h=c(96320),d=c(80988),v=c(77757),m=a.createContext({}),g=c(14433),z=c(65148),p="__rc_cascader_search_mark__",w=function(e,t,c){var n=c.label,a=void 0===n?"":n;return t.some(function(t){return String(t[a]).toLowerCase().includes(e.toLowerCase())})},M=function(e,t,c,n){return t.map(function(e){return e[n.label]}).join(" / ")},Z=function(e,t,c,r,l,o){var u=l.filter,s=void 0===u?w:u,f=l.render,h=void 0===f?M:f,d=l.limit,v=void 0===d?50:d,m=l.sort;return a.useMemo(function(){var a=[];return e?(!function t(l,u){var f=arguments.length>2&&void 0!==arguments[2]&&arguments[2];l.forEach(function(l){if(m||!1===v||!(v>0)||!(a.length>=v)){var d=[].concat((0,n.Z)(u),[l]),g=l[c.children],w=f||l.disabled;(!g||0===g.length||o)&&s(e,d,{label:c.label})&&a.push((0,i.Z)((0,i.Z)({},l),{},(0,z.Z)((0,z.Z)((0,z.Z)({disabled:w},c.label,h(e,d,r,c)),p,d),c.children,void 0))),g&&t(l[c.children],d,w)}})}(t,[]),m&&a.sort(function(t,n){return m(t[p],n[p],e,c)}),!1!==v&&v>0?a.slice(0,v):a):[]},[e,t,c,r,h,o,s,m,v])},H="__RC_CASCADER_SPLIT__",b="SHOW_PARENT",V="SHOW_CHILD";function C(e){return e.join(H)}function x(e){return e.map(C)}function E(e){var t=e||{},c=t.label,n=t.value,a=t.children,r=n||"value";return{label:c||"label",value:r,key:r,children:a||"children"}}function L(e,t){var c,n;return null!==(c=e.isLeaf)&&void 0!==c?c:!(null!==(n=e[t.children])&&void 0!==n&&n.length)}function R(e,t){return e.map(function(e){var c;return null===(c=e[p])||void 0===c?void 0:c.map(function(e){return e[t.value]})})}function y(e){return e?Array.isArray(e)&&Array.isArray(e[0])?e:(0===e.length?[]:[e]).map(function(e){return Array.isArray(e)?e:[e]}):[]}function B(e,t,c){var n=new Set(e),a=t();return e.filter(function(e){var t=a[e],r=t?t.parent:null,l=t?t.children:null;return!!t&&!!t.node.disabled||(c===V?!(l&&l.some(function(e){return e.key&&n.has(e.key)})):!(r&&!r.node.disabled&&n.has(r.key)))})}function S(e,t,c){for(var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=t,r=[],l=0;l1?H(z.slice(0,-1)):h(!1)},x=function(){var e,t=((null===(e=M[w])||void 0===e?void 0:e[c.children])||[]).find(function(e){return!e.disabled});t&&H([].concat((0,n.Z)(z),[t[c.value]]))};a.useImperativeHandle(e,function(){return{onKeyDown:function(e){var t=e.which;switch(t){case W.Z.UP:case W.Z.DOWN:var n=0;t===W.Z.UP?n=-1:t===W.Z.DOWN&&(n=1),0!==n&&b(n);break;case W.Z.LEFT:if(f)break;v?x():V();break;case W.Z.RIGHT:if(f)break;v?V():x();break;case W.Z.BACKSPACE:f||V();break;case W.Z.ENTER:if(z.length){var a=M[w],r=(null==a?void 0:a[p])||[];r.length?o(r.map(function(e){return e[c.value]}),r[r.length-1]):o(z,M[w])}break;case W.Z.ESC:h(!1),d&&e.stopPropagation()}},onKeyUp:function(){}}})},_=a.forwardRef(function(e,t){var c,r=e.prefixCls,s=e.multiple,f=e.searchValue,h=e.toggleOpen,d=e.notFoundContent,v=e.direction,g=e.open,p=a.useRef(null),w=a.useContext(m),M=w.options,Z=w.values,b=w.halfValues,V=w.fieldNames,E=w.changeOnSelect,y=w.onSelect,B=w.searchOptions,O=w.dropdownPrefixCls,k=w.loadData,$=w.expandTrigger,T=O||r,F=a.useState([]),I=(0,u.Z)(F,2),A=I[0],P=I[1],W=function(e){if(k&&!f){var t=S(e,M,V).map(function(e){return e.option}),c=t[t.length-1];if(c&&!L(c,V)){var a=C(e);P(function(e){return[].concat((0,n.Z)(e),[a])}),k(t)}}};a.useEffect(function(){A.length&&A.forEach(function(e){var t=S(e.split(H),M,V,!0).map(function(e){return e.option}),c=t[t.length-1];(!c||c[V.children]||L(c,V))&&P(function(t){return t.filter(function(t){return t!==e})})})},[M,A,V]);var _=a.useMemo(function(){return new Set(x(Z))},[Z]),K=a.useMemo(function(){return new Set(x(b))},[b]),U=j(s,g),G=(0,u.Z)(U,2),X=G[0],Q=G[1],J=function(e){Q(e),W(e)},ee=function(e){var t=e.disabled,c=L(e,V);return!t&&(c||E||s)},et=function(e,t){var c=arguments.length>2&&void 0!==arguments[2]&&arguments[2];y(e),!s&&(t||E&&("hover"===$||c))&&h(!1)},ec=a.useMemo(function(){return f?B:M},[f,B,M]),en=a.useMemo(function(){for(var e=[{options:ec}],t=ec,c=R(t,V),n=0;nt.offsetHeight&&t.scrollTo({top:c+e.offsetHeight-t.offsetHeight})}}(n)}},[X]);var ea=!(null!==(c=en[0])&&void 0!==c&&null!==(c=c.options)&&void 0!==c&&c.length),er=[(0,z.Z)((0,z.Z)((0,z.Z)({},V.value,"__EMPTY__"),N,d),"disabled",!0)],el=(0,i.Z)((0,i.Z)({},e),{},{multiple:!ea&&s,onSelect:et,onActive:J,onToggleOpen:h,checkedSet:_,halfCheckedSet:K,loadingKeys:A,isSelectable:ee}),eo=(ea?[{options:er}]:en).map(function(e,t){var c=X.slice(0,t),n=X[t];return a.createElement(q,(0,o.Z)({key:t},el,{searchValue:f,prefixCls:T,options:e.options,prevValuePath:c,activeValue:n}))});return a.createElement(D,{open:g},a.createElement("div",{className:l()("".concat(T,"-menus"),(0,z.Z)((0,z.Z)({},"".concat(T,"-menu-empty"),ea),"".concat(T,"-rtl"),"rtl"===v)),ref:p},eo))}),K=a.forwardRef(function(e,t){var c=(0,f.lk)();return a.createElement(_,(0,o.Z)({},e,c,{ref:t}))}),U=c(81581);function G(){}function X(e){var t=e.prefixCls,c=void 0===t?"rc-cascader":t,n=e.style,r=e.className,o=e.options,i=e.checkable,s=e.defaultValue,f=e.value,h=e.fieldNames,d=e.changeOnSelect,v=e.onChange,g=e.showCheckedStrategy,p=e.loadData,w=e.expandTrigger,M=e.expandIcon,Z=void 0===M?">":M,H=e.loadingIcon,b=e.direction,V=e.notFoundContent,C=void 0===V?"Not Found":V,x=!!i,L=(0,U.C8)(s,{value:f,postState:y}),R=(0,u.Z)(L,2),B=R[0],k=R[1],$=a.useMemo(function(){return E(h)},[JSON.stringify(h)]),F=T($,o),D=(0,u.Z)(F,3),P=D[0],N=D[1],q=D[2],j=A(x,B,N,q,O(P,$)),W=(0,u.Z)(j,3),Y=W[0],K=W[1],X=W[2],Q=(0,U.zX)(function(e){if(k(e),v){var t=y(e),c=t.map(function(e){return S(e,P,$).map(function(e){return e.option})});v(x?t:t[0],x?c:c[0])}}),J=I(x,Q,Y,K,X,N,q,g),ee=(0,U.zX)(function(e){J(e)}),et=a.useMemo(function(){return{options:P,fieldNames:$,values:Y,halfValues:K,changeOnSelect:d,onSelect:ee,checkable:i,searchOptions:[],dropdownPrefixCls:void 0,loadData:p,expandTrigger:w,expandIcon:Z,loadingIcon:H,dropdownMenuColumnStyle:void 0}},[P,$,Y,K,d,ee,i,p,w,Z,H]),ec="".concat(c,"-panel"),en=!P.length;return a.createElement(m.Provider,{value:et},a.createElement("div",{className:l()(ec,(0,z.Z)((0,z.Z)({},"".concat(ec,"-rtl"),"rtl"===b),"".concat(ec,"-empty"),en),r),style:n},en?C:a.createElement(_,{prefixCls:c,searchValue:"",multiple:x,toggleOpen:G,open:!0,direction:b})))}var Q=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","dropdownStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy","optionRender"],J=a.forwardRef(function(e,t){var c,r=e.id,l=e.prefixCls,z=void 0===l?"rc-cascader":l,p=e.fieldNames,w=e.defaultValue,M=e.value,H=e.changeOnSelect,V=e.onChange,L=e.displayRender,R=e.checkable,k=e.autoClearSearchValue,$=void 0===k||k,F=e.searchValue,D=e.onSearch,P=e.showSearch,N=e.expandTrigger,q=e.options,j=e.dropdownPrefixCls,W=e.loadData,Y=e.popupVisible,_=e.open,U=e.popupClassName,G=e.dropdownClassName,X=e.dropdownMenuColumnStyle,J=e.dropdownStyle,ee=e.popupPlacement,et=e.placement,ec=e.onDropdownVisibleChange,en=e.onPopupVisibleChange,ea=e.expandIcon,er=void 0===ea?">":ea,el=e.loadingIcon,eo=e.children,ei=e.dropdownMatchSelectWidth,eu=e.showCheckedStrategy,es=void 0===eu?b:eu,ef=e.optionRender,eh=(0,s.Z)(e,Q),ed=(0,h.ZP)(r),ev=!!R,em=(0,v.Z)(w,{value:M,postState:y}),eg=(0,u.Z)(em,2),ez=eg[0],ep=eg[1],ew=a.useMemo(function(){return E(p)},[JSON.stringify(p)]),eM=T(ew,q),eZ=(0,u.Z)(eM,3),eH=eZ[0],eb=eZ[1],eV=eZ[2],eC=(0,v.Z)("",{value:F,postState:function(e){return e||""}}),ex=(0,u.Z)(eC,2),eE=ex[0],eL=ex[1],eR=a.useMemo(function(){if(!P)return[!1,{}];var e={matchInputWidth:!0,limit:50};return P&&"object"===(0,g.Z)(P)&&(e=(0,i.Z)((0,i.Z)({},e),P)),e.limit<=0&&delete e.limit,[!0,e]},[P]),ey=(0,u.Z)(eR,2),eB=ey[0],eS=ey[1],eO=Z(eE,eH,ew,j||z,eS,H),ek=A(ev,ez,eb,eV,O(eH,ew)),e$=(0,u.Z)(ek,3),eT=e$[0],eF=e$[1],eI=e$[2],eA=(c=a.useMemo(function(){var e=B(x(eT),eb,es);return[].concat((0,n.Z)(eI),(0,n.Z)(eV(e)))},[eT,eb,eV,eI,es]),a.useMemo(function(){var e=L||function(e){var t=ev?e.slice(-1):e;return t.every(function(e){return["string","number"].includes((0,g.Z)(e))})?t.join(" / "):t.reduce(function(e,t,c){var r=a.isValidElement(t)?a.cloneElement(t,{key:c}):t;return 0===c?[r]:[].concat((0,n.Z)(e),[" / ",r])},[])};return c.map(function(t){var c,n=S(t,eH,ew),a=e(n.map(function(e){var t,c=e.option,n=e.value;return null!==(t=null==c?void 0:c[ew.label])&&void 0!==t?t:n}),n.map(function(e){return e.option})),r=C(t);return{label:a,value:r,key:r,valueCells:t,disabled:null===(c=n[n.length-1])||void 0===c||null===(c=c.option)||void 0===c?void 0:c.disabled}})},[c,eH,ew,L,ev])),eD=(0,d.Z)(function(e){if(ep(e),V){var t=y(e),c=t.map(function(e){return S(e,eH,ew).map(function(e){return e.option})});V(ev?t:t[0],ev?c:c[0])}}),eP=I(ev,eD,eT,eF,eI,eb,eV,es),eN=(0,d.Z)(function(e){(!ev||$)&&eL(""),eP(e)}),eq=a.useMemo(function(){return{options:eH,fieldNames:ew,values:eT,halfValues:eF,changeOnSelect:H,onSelect:eN,checkable:R,searchOptions:eO,dropdownPrefixCls:j,loadData:W,expandTrigger:N,expandIcon:er,loadingIcon:el,dropdownMenuColumnStyle:X,optionRender:ef}},[eH,ew,eT,eF,H,eN,R,eO,j,W,N,er,el,X,ef]),ej=!(eE?eO:eH).length,eW=eE&&eS.matchInputWidth||ej?{}:{minWidth:"auto"};return a.createElement(m.Provider,{value:eq},a.createElement(f.Ac,(0,o.Z)({},eh,{ref:t,id:ed,prefixCls:z,autoClearSearchValue:$,dropdownMatchSelectWidth:void 0!==ei&&ei,dropdownStyle:(0,i.Z)((0,i.Z)({},eW),J),displayValues:eA,onDisplayValuesChange:function(e,t){if("clear"===t.type){eD([]);return}eN(t.values[0].valueCells)},mode:ev?"multiple":void 0,searchValue:eE,onSearch:function(e,t){eL(e),"blur"!==t.source&&D&&D(e)},showSearch:eB,OptionList:K,emptyOptions:ej,open:void 0!==_?_:Y,dropdownClassName:G||U,placement:et||ee,onDropdownVisibleChange:function(e){null==ec||ec(e),null==en||en(e)},getRawInputElement:function(){return eo}})))});J.SHOW_PARENT=b,J.SHOW_CHILD=V,J.Panel=X;var ee=c(55598),et=c(58416),ec=c(17383),en=c(99851),ea=c(40690),er=c(63346),el=c(10917),eo=c(3482),ei=c(95227),eu=c(82014),es=c(13859),ef=c(25641),eh=c(79420),ed=c(26489),ev=c(35246),em=c(8817),eg=c(80214),ez=function(e,t){let{getPrefixCls:c,direction:n,renderEmpty:r}=a.useContext(er.E_),l=c("select",e),o=c("cascader",e);return[l,o,t||n,r]};function ep(e,t){return a.useMemo(()=>!!t&&a.createElement("span",{className:`${e}-checkbox-inner`}),[t])}var ew=c(72097),eM=c(37022),eZ=c(86944),eH=(e,t,c)=>{let n=c;c||(n=t?a.createElement(ew.Z,null):a.createElement(eZ.Z,null));let r=a.createElement("span",{className:`${e}-menu-item-loading-icon`},a.createElement(eM.Z,{spin:!0}));return a.useMemo(()=>[n,r],[n])},eb=c(31909),eV=c(90102),eC=c(38083),ex=c(54833),eE=c(60848),eL=e=>{let{prefixCls:t,componentCls:c}=e,n=`${c}-menu-item`,a=` + &${n}-expand ${n}-expand-icon, + ${n}-loading-icon +`;return[(0,ex.C2)(`${t}-checkbox`,e),{[c]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${c}-menu-empty`]:{[`${c}-menu`]:{width:"100%",height:"auto",[n]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,eC.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&-item":Object.assign(Object.assign({},eE.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:e.optionPadding,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[a]:{color:e.colorTextDisabled}},[`&-active:not(${n}-disabled)`]:{"&, &:hover":{fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg}},"&-content":{flex:"auto"},[a]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]};let eR=e=>{let{componentCls:t,antCls:c}=e;return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[{[`&${c}-select-dropdown`]:{padding:0}},eL(e)]},{[`${t}-dropdown-rtl`]:{direction:"rtl"}},(0,eb.c)(e)]},ey=e=>{let t=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:e.controlItemBgActive,optionSelectedFontWeight:e.fontWeightStrong,optionPadding:`${t}px ${e.paddingSM}px`,menuPadding:e.paddingXXS}};var eB=(0,eV.I$)("Cascader",e=>[eR(e)],ey);let eS=e=>{let{componentCls:t}=e;return{[`${t}-panel`]:[eL(e),{display:"inline-flex",border:`${(0,eC.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:e.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${t}-menus`]:{alignItems:"stretch"},[`${t}-menu`]:{height:"auto"},"&-empty":{padding:e.paddingXXS}}]}};var eO=(0,eV.A1)(["Cascader","Panel"],e=>eS(e),ey),ek=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c};let{SHOW_CHILD:e$,SHOW_PARENT:eT}=J,eF=(e,t,c,r)=>{let l=[],o=e.toLowerCase();return t.forEach((e,t)=>{0!==t&&l.push(" / ");let i=e[r.label],u=typeof i;("string"===u||"number"===u)&&(i=function(e,t,c){let r=e.toLowerCase().split(t).reduce((e,c,a)=>0===a?[c]:[].concat((0,n.Z)(e),[t,c]),[]),l=[],o=0;return r.forEach((t,n)=>{let r=o+t.length,i=e.slice(o,r);o=r,n%2==1&&(i=a.createElement("span",{className:`${c}-menu-item-keyword`,key:`separator-${n}`},i)),l.push(i)}),l}(String(i),o,c)),l.push(i)}),l},eI=a.forwardRef((e,t)=>{var c;let{prefixCls:n,size:r,disabled:o,className:i,rootClassName:u,multiple:s,bordered:f=!0,transitionName:h,choiceTransitionName:d="",popupClassName:v,dropdownClassName:m,expandIcon:g,placement:z,showSearch:p,allowClear:w=!0,notFoundContent:M,direction:Z,getPopupContainer:H,status:b,showArrow:V,builtinPlacements:C,style:x,variant:E}=e,L=ek(e,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),R=(0,ee.Z)(L,["suffixIcon"]),{getPopupContainer:y,getPrefixCls:B,popupOverflow:S,cascader:O}=a.useContext(er.E_),{status:k,hasFeedback:$,isFormItemInput:T,feedbackIcon:F}=a.useContext(es.aM),I=(0,ea.F)(k,b),[A,D,P,N]=ez(n,Z),q="rtl"===P,j=B(),W=(0,ei.Z)(A),[Y,_,K]=(0,ed.Z)(A,W),U=(0,ei.Z)(D),[G]=eB(D,U),{compactSize:X,compactItemClassnames:Q}=(0,eg.ri)(A,Z),[en,ew]=(0,ef.Z)("cascader",E,f),eM=M||(null==N?void 0:N("Cascader"))||a.createElement(el.Z,{componentName:"Cascader"}),eZ=l()(v||m,`${D}-dropdown`,{[`${D}-dropdown-rtl`]:"rtl"===P},u,W,U,_,K),eb=a.useMemo(()=>{if(!p)return p;let e={render:eF};return"object"==typeof p&&(e=Object.assign(Object.assign({},e),p)),e},[p]),eV=(0,eu.Z)(e=>{var t;return null!==(t=null!=r?r:X)&&void 0!==t?t:e}),eC=a.useContext(eo.Z),[ex,eE]=eH(A,q,g),eL=ep(D,s),eR=(0,em.Z)(e.suffixIcon,V),{suffixIcon:ey,removeIcon:eS,clearIcon:eO}=(0,ev.Z)(Object.assign(Object.assign({},e),{hasFeedback:$,feedbackIcon:F,showSuffixIcon:eR,multiple:s,prefixCls:A,componentName:"Cascader"})),e$=a.useMemo(()=>void 0!==z?z:q?"bottomRight":"bottomLeft",[z,q]),[eT]=(0,et.Cn)("SelectLike",null===(c=R.dropdownStyle)||void 0===c?void 0:c.zIndex),eI=a.createElement(J,Object.assign({prefixCls:A,className:l()(!n&&D,{[`${A}-lg`]:"large"===eV,[`${A}-sm`]:"small"===eV,[`${A}-rtl`]:q,[`${A}-${en}`]:ew,[`${A}-in-form-item`]:T},(0,ea.Z)(A,I,$),Q,null==O?void 0:O.className,i,u,W,U,_,K),disabled:null!=o?o:eC,style:Object.assign(Object.assign({},null==O?void 0:O.style),x)},R,{builtinPlacements:(0,eh.Z)(C,S),direction:P,placement:e$,notFoundContent:eM,allowClear:!0===w?{clearIcon:eO}:w,showSearch:eb,expandIcon:ex,suffixIcon:ey,removeIcon:eS,loadingIcon:eE,checkable:eL,dropdownClassName:eZ,dropdownPrefixCls:n||D,dropdownStyle:Object.assign(Object.assign({},R.dropdownStyle),{zIndex:eT}),choiceTransitionName:(0,ec.m)(j,"",d),transitionName:(0,ec.m)(j,"slide-up",h),getPopupContainer:H||y,ref:t}));return G(Y(eI))}),eA=(0,en.Z)(eI);eI.SHOW_PARENT=eT,eI.SHOW_CHILD=e$,eI.Panel=function(e){let{prefixCls:t,className:c,multiple:n,rootClassName:r,notFoundContent:o,direction:i,expandIcon:u}=e,[s,f,h,d]=ez(t,i),v=(0,ei.Z)(f),[m,g,z]=eB(f,v);eO(f);let[p,w]=eH(s,"rtl"===h,u),M=o||(null==d?void 0:d("Cascader"))||a.createElement(el.Z,{componentName:"Cascader"}),Z=ep(f,n);return m(a.createElement(X,Object.assign({},e,{checkable:Z,prefixCls:f,className:l()(c,g,r,z,v),notFoundContent:M,direction:h,expandIcon:p,loadingIcon:w})))},eI._InternalPanelDoNotUseOrYouWillBeFired=eA;var eD=eI},86776:function(e,t,c){"use strict";c.d(t,{Z:function(){return j}});var n=c(38497),a=c(86944),r=c(26869),l=c.n(r),o=c(42096),i=c(72991),u=c(65347),s=c(14433),f=c(77757),h=c(89842),d=c(10921),v=c(10469),m=c(65148),g=c(53979),z=c(16956),p=n.forwardRef(function(e,t){var c=e.prefixCls,a=e.forceRender,r=e.className,o=e.style,i=e.children,s=e.isActive,f=e.role,h=n.useState(s||a),d=(0,u.Z)(h,2),v=d[0],g=d[1];return(n.useEffect(function(){(a||s)&&g(!0)},[a,s]),v)?n.createElement("div",{ref:t,className:l()("".concat(c,"-content"),(0,m.Z)((0,m.Z)({},"".concat(c,"-content-active"),s),"".concat(c,"-content-inactive"),!s),r),style:o,role:f},n.createElement("div",{className:"".concat(c,"-content-box")},i)):null});p.displayName="PanelContent";var w=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],M=n.forwardRef(function(e,t){var c=e.showArrow,a=void 0===c||c,r=e.headerClass,i=e.isActive,u=e.onItemClick,s=e.forceRender,f=e.className,h=e.prefixCls,v=e.collapsible,M=e.accordion,Z=e.panelKey,H=e.extra,b=e.header,V=e.expandIcon,C=e.openMotion,x=e.destroyInactivePanel,E=e.children,L=(0,d.Z)(e,w),R="disabled"===v,y="header"===v,B="icon"===v,S=null!=H&&"boolean"!=typeof H,O=function(){null==u||u(Z)},k="function"==typeof V?V(e):n.createElement("i",{className:"arrow"});k&&(k=n.createElement("div",{className:"".concat(h,"-expand-icon"),onClick:["header","icon"].includes(v)?O:void 0},k));var $=l()((0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(h,"-item"),!0),"".concat(h,"-item-active"),i),"".concat(h,"-item-disabled"),R),f),T={className:l()(r,(0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(h,"-header"),!0),"".concat(h,"-header-collapsible-only"),y),"".concat(h,"-icon-collapsible-only"),B)),"aria-expanded":i,"aria-disabled":R,onKeyDown:function(e){("Enter"===e.key||e.keyCode===z.Z.ENTER||e.which===z.Z.ENTER)&&O()}};return y||B||(T.onClick=O,T.role=M?"tab":"button",T.tabIndex=R?-1:0),n.createElement("div",(0,o.Z)({},L,{ref:t,className:$}),n.createElement("div",T,a&&k,n.createElement("span",{className:"".concat(h,"-header-text"),onClick:"header"===v?O:void 0},b),S&&n.createElement("div",{className:"".concat(h,"-extra")},H)),n.createElement(g.ZP,(0,o.Z)({visible:i,leavedClassName:"".concat(h,"-content-hidden")},C,{forceRender:s,removeOnLeave:x}),function(e,t){var c=e.className,a=e.style;return n.createElement(p,{ref:t,prefixCls:h,className:c,style:a,isActive:i,forceRender:s,role:M?"tabpanel":void 0},E)}))}),Z=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],H=function(e,t){var c=t.prefixCls,a=t.accordion,r=t.collapsible,l=t.destroyInactivePanel,i=t.onItemClick,u=t.activeKey,s=t.openMotion,f=t.expandIcon;return e.map(function(e,t){var h=e.children,v=e.label,m=e.key,g=e.collapsible,z=e.onItemClick,p=e.destroyInactivePanel,w=(0,d.Z)(e,Z),H=String(null!=m?m:t),b=null!=g?g:r,V=!1;return V=a?u[0]===H:u.indexOf(H)>-1,n.createElement(M,(0,o.Z)({},w,{prefixCls:c,key:H,panelKey:H,isActive:V,accordion:a,openMotion:s,expandIcon:f,header:v,collapsible:b,onItemClick:function(e){"disabled"!==b&&(i(e),null==z||z(e))},destroyInactivePanel:null!=p?p:l}),h)})},b=function(e,t,c){if(!e)return null;var a=c.prefixCls,r=c.accordion,l=c.collapsible,o=c.destroyInactivePanel,i=c.onItemClick,u=c.activeKey,s=c.openMotion,f=c.expandIcon,h=e.key||String(t),d=e.props,v=d.header,m=d.headerClass,g=d.destroyInactivePanel,z=d.collapsible,p=d.onItemClick,w=!1;w=r?u[0]===h:u.indexOf(h)>-1;var M=null!=z?z:l,Z={key:h,panelKey:h,header:v,headerClass:m,isActive:w,prefixCls:a,destroyInactivePanel:null!=g?g:o,openMotion:s,accordion:r,children:e.props.children,onItemClick:function(e){"disabled"!==M&&(i(e),null==p||p(e))},expandIcon:f,collapsible:M};return"string"==typeof e.type?e:(Object.keys(Z).forEach(function(e){void 0===Z[e]&&delete Z[e]}),n.cloneElement(e,Z))},V=c(66168);function C(e){var t=e;if(!Array.isArray(t)){var c=(0,s.Z)(t);t="number"===c||"string"===c?[t]:[]}return t.map(function(e){return String(e)})}var x=Object.assign(n.forwardRef(function(e,t){var c,a=e.prefixCls,r=void 0===a?"rc-collapse":a,s=e.destroyInactivePanel,d=e.style,m=e.accordion,g=e.className,z=e.children,p=e.collapsible,w=e.openMotion,M=e.expandIcon,Z=e.activeKey,x=e.defaultActiveKey,E=e.onChange,L=e.items,R=l()(r,g),y=(0,f.Z)([],{value:Z,onChange:function(e){return null==E?void 0:E(e)},defaultValue:x,postState:C}),B=(0,u.Z)(y,2),S=B[0],O=B[1];(0,h.ZP)(!z,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var k=(c={prefixCls:r,accordion:m,openMotion:w,expandIcon:M,collapsible:p,destroyInactivePanel:void 0!==s&&s,onItemClick:function(e){return O(function(){return m?S[0]===e?[]:[e]:S.indexOf(e)>-1?S.filter(function(t){return t!==e}):[].concat((0,i.Z)(S),[e])})},activeKey:S},Array.isArray(L)?H(L,c):(0,v.Z)(z).map(function(e,t){return b(e,t,c)}));return n.createElement("div",(0,o.Z)({ref:t,className:R,style:d,role:m?"tablist":void 0},(0,V.Z)(e,{aria:!0,data:!0})),k)}),{Panel:M});x.Panel;var E=c(55598),L=c(17383),R=c(55091),y=c(63346),B=c(82014);let S=n.forwardRef((e,t)=>{let{getPrefixCls:c}=n.useContext(y.E_),{prefixCls:a,className:r,showArrow:o=!0}=e,i=c("collapse",a),u=l()({[`${i}-no-arrow`]:!o},r);return n.createElement(x.Panel,Object.assign({ref:t},e,{prefixCls:i,className:u}))});var O=c(38083),k=c(60848),$=c(36647),T=c(90102),F=c(74934);let I=e=>{let{componentCls:t,contentBg:c,padding:n,headerBg:a,headerPadding:r,collapseHeaderPaddingSM:l,collapseHeaderPaddingLG:o,collapsePanelBorderRadius:i,lineWidth:u,lineType:s,colorBorder:f,colorText:h,colorTextHeading:d,colorTextDisabled:v,fontSizeLG:m,lineHeight:g,lineHeightLG:z,marginSM:p,paddingSM:w,paddingLG:M,paddingXS:Z,motionDurationSlow:H,fontSizeIcon:b,contentPadding:V,fontHeight:C,fontHeightLG:x}=e,E=`${(0,O.bf)(u)} ${s} ${f}`;return{[t]:Object.assign(Object.assign({},(0,k.Wf)(e)),{backgroundColor:a,border:E,borderRadius:i,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:E,"&:last-child":{[` + &, + & > ${t}-header`]:{borderRadius:`0 0 ${(0,O.bf)(i)} ${(0,O.bf)(i)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:r,color:d,lineHeight:g,cursor:"pointer",transition:`all ${H}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:C,display:"flex",alignItems:"center",paddingInlineEnd:p},[`${t}-arrow`]:Object.assign(Object.assign({},(0,k.Ro)()),{fontSize:b,transition:`transform ${H}`,svg:{transition:`transform ${H}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:h,backgroundColor:c,borderTop:E,[`& > ${t}-content-box`]:{padding:V},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:l,paddingInlineStart:Z,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(w).sub(Z).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},"&-large":{[`> ${t}-item`]:{fontSize:m,lineHeight:z,[`> ${t}-header`]:{padding:o,paddingInlineStart:n,[`> ${t}-expand-icon`]:{height:x,marginInlineStart:e.calc(M).sub(n).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:M}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,O.bf)(i)} ${(0,O.bf)(i)}`}},[`& ${t}-item-disabled > ${t}-header`]:{[` + &, + & > .arrow + `]:{color:v,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:p}}}}})}},A=e=>{let{componentCls:t}=e,c=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[c]:{transform:"rotate(180deg)"}}}},D=e=>{let{componentCls:t,headerBg:c,paddingXXS:n,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:c,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` + > ${t}-item:last-child, + > ${t}-item:last-child ${t}-header + `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:n}}}},P=e=>{let{componentCls:t,paddingSM:c}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:c}}}}}};var N=(0,T.I$)("Collapse",e=>{let t=(0,F.IX)(e,{collapseHeaderPaddingSM:`${(0,O.bf)(e.paddingXS)} ${(0,O.bf)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,O.bf)(e.padding)} ${(0,O.bf)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[I(t),D(t),P(t),A(t),(0,$.Z)(t)]},e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}));let q=n.forwardRef((e,t)=>{let{getPrefixCls:c,direction:r,collapse:o}=n.useContext(y.E_),{prefixCls:i,className:u,rootClassName:s,style:f,bordered:h=!0,ghost:d,size:m,expandIconPosition:g="start",children:z,expandIcon:p}=e,w=(0,B.Z)(e=>{var t;return null!==(t=null!=m?m:e)&&void 0!==t?t:"middle"}),M=c("collapse",i),Z=c(),[H,b,V]=N(M),C=n.useMemo(()=>"left"===g?"start":"right"===g?"end":g,[g]),S=null!=p?p:null==o?void 0:o.expandIcon,O=n.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="function"==typeof S?S(e):n.createElement(a.Z,{rotate:e.isActive?90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,R.Tm)(t,()=>{var e;return{className:l()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,`${M}-arrow`)}})},[S,M]),k=l()(`${M}-icon-position-${C}`,{[`${M}-borderless`]:!h,[`${M}-rtl`]:"rtl"===r,[`${M}-ghost`]:!!d,[`${M}-${w}`]:"middle"!==w},null==o?void 0:o.className,u,s,b,V),$=Object.assign(Object.assign({},(0,L.Z)(Z)),{motionAppear:!1,leavedClassName:`${M}-content-hidden`}),T=n.useMemo(()=>z?(0,v.Z)(z).map((e,t)=>{var c,n;if(null===(c=e.props)||void 0===c?void 0:c.disabled){let c=null!==(n=e.key)&&void 0!==n?n:String(t),{disabled:a,collapsible:r}=e.props,l=Object.assign(Object.assign({},(0,E.Z)(e.props,["disabled"])),{key:c,collapsible:null!=r?r:a?"disabled":void 0});return(0,R.Tm)(e,l)}return e}):null,[z]);return H(n.createElement(x,Object.assign({ref:t,openMotion:$},(0,E.Z)(e,["rootClassName"]),{expandIcon:O,prefixCls:M,className:k,style:Object.assign(Object.assign({},null==o?void 0:o.style),f)}),T))});var j=Object.assign(q,{Panel:S})},90564:function(e,t,c){"use strict";c.d(t,{default:function(){return cb}});var n=c(92869),a=c.n(n),r=c(89842),l=c(44),o=c.n(l),i=c(47555),u=c.n(i),s=c(47931),f=c.n(s),h=c(47252),d=c.n(h),v=c(28195),m=c.n(v),g=c(67420),z=c.n(g);a().extend(z()),a().extend(m()),a().extend(o()),a().extend(u()),a().extend(f()),a().extend(d()),a().extend(function(e,t){var c=t.prototype,n=c.format;c.format=function(e){var t=(e||"").replace("Wo","wo");return n.bind(this)(t)}});var p={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},w=function(e){return p[e]||e.split("_")[0]},M=function(){(0,r.ET)(!1,"Not match any format. Please help to fire a issue about this.")},Z=c(99851),H=c(38497),b=c(29516),V=c(39811),C=c(38970),x=c(26869),E=c.n(x),L=c(42096),R=c(72991),y=c(4247),B=c(65347),S=c(81581),O=c(46644),k=c(55598),$=c(66168),T=c(65148),F=c(92361);c(16956);var I=c(25043);function A(e,t){return void 0!==e?e:t?"bottomRight":"bottomLeft"}function D(e,t){var c=A(e,t),n=(null==c?void 0:c.toLowerCase().endsWith("right"))?"insetInlineEnd":"insetInlineStart";return t&&(n=["insetInlineStart","insetInlineEnd"].find(function(e){return e!==n})),n}var P=H.createContext(null),N={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}},q=function(e){var t=e.popupElement,c=e.popupStyle,n=e.popupClassName,a=e.popupAlign,r=e.transitionName,l=e.getPopupContainer,o=e.children,i=e.range,u=e.placement,s=e.builtinPlacements,f=e.direction,h=e.visible,d=e.onClose,v=H.useContext(P).prefixCls,m="".concat(v,"-dropdown"),g=A(u,"rtl"===f);return H.createElement(F.Z,{showAction:[],hideAction:["click"],popupPlacement:g,builtinPlacements:void 0===s?N:s,prefixCls:m,popupTransitionName:r,popup:t,popupAlign:a,popupVisible:h,popupClassName:E()(n,(0,T.Z)((0,T.Z)({},"".concat(m,"-range"),i),"".concat(m,"-rtl"),"rtl"===f)),popupStyle:c,stretch:"minWidth",getPopupContainer:l,onPopupVisibleChange:function(e){e||d()}},o)};function j(e,t){for(var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",n=String(e);n.length2&&void 0!==arguments[2]?arguments[2]:[],n=H.useState([!1,!1]),a=(0,B.Z)(n,2),r=a[0],l=a[1];return[H.useMemo(function(){return r.map(function(n,a){if(n)return!0;var r=e[a];return!!r&&!!(!c[a]&&!r||r&&t(r,{activeIndex:a}))})},[e,r,t,c]),function(e,t){l(function(c){return Y(c,t,e)})}]}function J(e,t,c,n,a){var r="",l=[];return e&&l.push(a?"hh":"HH"),t&&l.push("mm"),c&&l.push("ss"),r=l.join(":"),n&&(r+=".SSS"),a&&(r+=" A"),r}function ee(e,t){var c=t.showHour,n=t.showMinute,a=t.showSecond,r=t.showMillisecond,l=t.use12Hours;return H.useMemo(function(){var t,o,i,u,s,f,h,d,v,m,g,z,p;return t=e.fieldDateTimeFormat,o=e.fieldDateFormat,i=e.fieldTimeFormat,u=e.fieldMonthFormat,s=e.fieldYearFormat,f=e.fieldWeekFormat,h=e.fieldQuarterFormat,d=e.yearFormat,v=e.cellYearFormat,m=e.cellQuarterFormat,g=e.dayFormat,z=e.cellDateFormat,p=J(c,n,a,r,l),(0,y.Z)((0,y.Z)({},e),{},{fieldDateTimeFormat:t||"YYYY-MM-DD ".concat(p),fieldDateFormat:o||"YYYY-MM-DD",fieldTimeFormat:i||p,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:s||"YYYY",fieldWeekFormat:f||"gggg-wo",fieldQuarterFormat:h||"YYYY-[Q]Q",yearFormat:d||"YYYY",cellYearFormat:v||"YYYY",cellQuarterFormat:m||"[Q]Q",cellDateFormat:z||g||"D"})},[e,c,n,a,r,l])}var et=c(14433);function ec(e,t,c){return null!=c?c:t.some(function(t){return e.includes(t)})}var en=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function ea(e,t,c,n){return[e,t,c,n].some(function(e){return void 0!==e})}function er(e,t,c,n,a){var r=t,l=c,o=n;if(e||r||l||o||a){if(e){var i,u,s,f=[r,l,o].some(function(e){return!1===e}),h=[r,l,o].some(function(e){return!0===e}),d=!!f||!h;r=null!==(i=r)&&void 0!==i?i:d,l=null!==(u=l)&&void 0!==u?u:d,o=null!==(s=o)&&void 0!==s?s:d}}else r=!0,l=!0,o=!0;return[r,l,o,a]}function el(e){var t,c,n,a,r=e.showTime,l=(t=_(e,en),c=e.format,n=e.picker,a=null,c&&(Array.isArray(a=c)&&(a=a[0]),a="object"===(0,et.Z)(a)?a.format:a),"time"===n&&(t.format=a),[t,a]),o=(0,B.Z)(l,2),i=o[0],u=o[1],s=r&&"object"===(0,et.Z)(r)?r:{},f=(0,y.Z)((0,y.Z)({defaultOpenValue:s.defaultOpenValue||s.defaultValue},i),s),h=f.showMillisecond,d=f.showHour,v=f.showMinute,m=f.showSecond,g=er(ea(d,v,m,h),d,v,m,h),z=(0,B.Z)(g,3);return d=z[0],v=z[1],m=z[2],[f,(0,y.Z)((0,y.Z)({},f),{},{showHour:d,showMinute:v,showSecond:m,showMillisecond:h}),f.format,u]}function eo(e,t,c,n,a){var r="time"===e;if("datetime"===e||r){for(var l=K(e,a,null),o=[t,c],i=0;i1&&void 0!==arguments[1]&&arguments[1];return H.useMemo(function(){var c=e?W(e):e;return t&&c&&(c[1]=c[1]||c[0]),c},[e,t])}function eb(e,t){var c=e.generateConfig,n=e.locale,a=e.picker,r=void 0===a?"date":a,l=e.prefixCls,o=void 0===l?"rc-picker":l,i=e.styles,u=void 0===i?{}:i,s=e.classNames,f=void 0===s?{}:s,h=e.order,d=void 0===h||h,v=e.components,m=void 0===v?{}:v,g=e.inputRender,z=e.allowClear,p=e.clearIcon,w=e.needConfirm,M=e.multiple,Z=e.format,b=e.inputReadOnly,V=e.disabledDate,C=e.minDate,x=e.maxDate,E=e.showTime,L=e.value,R=e.defaultValue,O=e.pickerValue,k=e.defaultPickerValue,$=eH(L),T=eH(R),F=eH(O),I=eH(k),A="date"===r&&E?"datetime":r,D="time"===A||"datetime"===A,P=D||M,N=null!=w?w:D,q=el(e),j=(0,B.Z)(q,4),Y=j[0],_=j[1],U=j[2],G=j[3],X=ee(n,_),Q=H.useMemo(function(){return eo(A,U,G,Y,X)},[A,U,G,Y,X]),J=H.useMemo(function(){return(0,y.Z)((0,y.Z)({},e),{},{prefixCls:o,locale:X,picker:r,styles:u,classNames:f,order:d,components:(0,y.Z)({input:g},m),clearIcon:!1===z?null:(z&&"object"===(0,et.Z)(z)?z:{}).clearIcon||p||H.createElement("span",{className:"".concat(o,"-clear-btn")}),showTime:Q,value:$,defaultValue:T,pickerValue:F,defaultPickerValue:I},null==t?void 0:t())},[e]),ec=H.useMemo(function(){var e=W(K(A,X,Z)),t=e[0],c="object"===(0,et.Z)(t)&&"mask"===t.type?t.format:null;return[e.map(function(e){return"string"==typeof e||"function"==typeof e?e:e.format}),c]},[A,X,Z]),en=(0,B.Z)(ec,2),ea=en[0],er=en[1],ei="function"==typeof ea[0]||!!M||b,eu=(0,S.zX)(function(e,t){return!!(V&&V(e,t)||C&&c.isAfter(C,e)&&!ez(c,n,C,e,t.type)||x&&c.isAfter(e,x)&&!ez(c,n,x,e,t.type))}),es=(0,S.zX)(function(e,t){var n=(0,y.Z)({type:r},t);if(delete n.activeIndex,!c.isValidate(e)||eu&&eu(e,n))return!0;if(("date"===r||"time"===r)&&Q){var a,l=t&&1===t.activeIndex?"end":"start",o=(null===(a=Q.disabledTime)||void 0===a?void 0:a.call(Q,e,l,{from:n.from}))||{},i=o.disabledHours,u=o.disabledMinutes,s=o.disabledSeconds,f=o.disabledMilliseconds,h=Q.disabledHours,d=Q.disabledMinutes,v=Q.disabledSeconds,m=i||h,g=u||d,z=s||v,p=c.getHour(e),w=c.getMinute(e),M=c.getSecond(e),Z=c.getMillisecond(e);if(m&&m().includes(p)||g&&g(p).includes(w)||z&&z(p,w).includes(M)||f&&f(p,w,M).includes(Z))return!0}return!1});return[H.useMemo(function(){return(0,y.Z)((0,y.Z)({},J),{},{needConfirm:N,inputReadOnly:ei,disabledDate:eu})},[J,N,ei,eu]),A,P,ea,er,es]}function eV(e,t){var c,n,a,r,l,o,i,u,s,f,h,d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],v=arguments.length>3?arguments[3]:void 0,m=(c=!d.every(function(e){return e})&&e,n=t||!1,a=(0,S.C8)(n,{value:c}),l=(r=(0,B.Z)(a,2))[0],o=r[1],i=H.useRef(c),u=H.useRef(),s=function(){I.Z.cancel(u.current)},f=(0,S.zX)(function(){o(i.current),v&&l!==i.current&&v(i.current)}),h=(0,S.zX)(function(e,t){s(),i.current=e,e||t?f():u.current=(0,I.Z)(f)}),H.useEffect(function(){return s},[]),[l,h]),g=(0,B.Z)(m,2),z=g[0],p=g[1];return[z,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(!t.inherit||z)&&p(e,t.force)}]}function eC(e){var t=H.useRef();return H.useImperativeHandle(e,function(){var e;return{nativeElement:null===(e=t.current)||void 0===e?void 0:e.nativeElement,focus:function(e){var c;null===(c=t.current)||void 0===c||c.focus(e)},blur:function(){var e;null===(e=t.current)||void 0===e||e.blur()}}}),t}function ex(e,t){return H.useMemo(function(){return e||(t?((0,r.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(e){var t=(0,B.Z)(e,2);return{label:t[0],value:t[1]}})):[])},[e,t])}function eE(e,t){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=H.useRef(t);n.current=t,(0,O.o)(function(){if(e)n.current(e);else{var t=(0,I.Z)(function(){n.current(e)},c);return function(){I.Z.cancel(t)}}},[e])}function eL(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=H.useState(0),a=(0,B.Z)(n,2),r=a[0],l=a[1],o=H.useState(!1),i=(0,B.Z)(o,2),u=i[0],s=i[1],f=H.useRef([]),h=H.useRef(null);return eE(u||c,function(){u||(f.current=[])}),H.useEffect(function(){u&&f.current.push(r)},[u,r]),[u,function(e){s(e)},function(e){return e&&(h.current=e),h.current},r,l,function(c){var n=f.current,a=new Set(n.filter(function(e){return c[e]||t[e]})),r=0===n[n.length-1]?1:0;return a.size>=2||e[r]?null:r},f.current]}function eR(e,t,c,n){switch(t){case"date":case"week":return e.addMonth(c,n);case"month":case"quarter":return e.addYear(c,n);case"year":return e.addYear(c,10*n);case"decade":return e.addYear(c,100*n);default:return c}}var ey=[];function eB(e,t,c,n,a,r,l,o){var i=arguments.length>8&&void 0!==arguments[8]?arguments[8]:ey,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:ey,s=arguments.length>10&&void 0!==arguments[10]?arguments[10]:ey,f=arguments.length>11?arguments[11]:void 0,h=arguments.length>12?arguments[12]:void 0,d=arguments.length>13?arguments[13]:void 0,v="time"===l,m=r||0,g=function(t){var n=e.getNow();return v&&(n=eZ(e,n)),i[t]||c[t]||n},z=(0,B.Z)(u,2),p=z[0],w=z[1],M=(0,S.C8)(function(){return g(0)},{value:p}),Z=(0,B.Z)(M,2),b=Z[0],V=Z[1],C=(0,S.C8)(function(){return g(1)},{value:w}),x=(0,B.Z)(C,2),E=x[0],L=x[1],R=H.useMemo(function(){var t=[b,E][m];return v?t:eZ(e,t,s[m])},[v,b,E,m,e,s]),y=function(c){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"panel";(0,[V,L][m])(c);var r=[b,E];r[m]=c,!f||ez(e,t,b,r[0],l)&&ez(e,t,E,r[1],l)||f(r,{source:a,range:1===m?"end":"start",mode:n})},k=function(c,n){if(o){var a={date:"month",week:"month",month:"year",quarter:"year"}[l];if(a&&!ez(e,t,c,n,a)||"year"===l&&c&&Math.floor(e.getYear(c)/10)!==Math.floor(e.getYear(n)/10))return eR(e,l,n,-1)}return n},$=H.useRef(null);return(0,O.Z)(function(){if(a&&!i[m]){var t=v?null:e.getNow();if(null!==$.current&&$.current!==m?t=[b,E][1^m]:c[m]?t=0===m?c[0]:k(c[0],c[1]):c[1^m]&&(t=c[1^m]),t){h&&e.isAfter(h,t)&&(t=h);var n=o?eR(e,l,t,1):t;d&&e.isAfter(n,d)&&(t=o?eR(e,l,d,-1):d),y(t,"reset")}}},[a,m,c[m]]),H.useEffect(function(){a?$.current=m:$.current=null},[a,m]),(0,O.Z)(function(){a&&i&&i[m]&&y(i[m],"reset")},[a,m]),[R,y]}function eS(e,t){var c=H.useRef(e),n=H.useState({}),a=(0,B.Z)(n,2)[1],r=function(e){return e&&void 0!==t?t:c.current};return[r,function(e){c.current=e,a({})},r(!0)]}var eO=[];function ek(e,t,c){return[function(n){return n.map(function(n){return eM(n,{generateConfig:e,locale:t,format:c[0]})})},function(t,c){for(var n=Math.max(t.length,c.length),a=-1,r=0;r2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2,l=[],o=c>=1?0|c:1,i=e;i<=t;i+=o){var u=a.includes(i);u&&n||l.push({label:j(i,r),value:i,disabled:u})}return l}function eN(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2?arguments[2]:void 0,n=t||{},a=n.use12Hours,r=n.hourStep,l=void 0===r?1:r,o=n.minuteStep,i=void 0===o?1:o,u=n.secondStep,s=void 0===u?1:u,f=n.millisecondStep,h=void 0===f?100:f,d=n.hideDisabledOptions,v=n.disabledTime,m=n.disabledHours,g=n.disabledMinutes,z=n.disabledSeconds,p=H.useMemo(function(){return c||e.getNow()},[c,e]),w=H.useCallback(function(e){var t=(null==v?void 0:v(e))||{};return[t.disabledHours||m||eD,t.disabledMinutes||g||eD,t.disabledSeconds||z||eD,t.disabledMilliseconds||eD]},[v,m,g,z]),M=H.useMemo(function(){return w(p)},[p,w]),Z=(0,B.Z)(M,4),b=Z[0],V=Z[1],C=Z[2],x=Z[3],E=H.useCallback(function(e,t,c,n){var r=eP(0,23,l,d,e());return[a?r.map(function(e){return(0,y.Z)((0,y.Z)({},e),{},{label:j(e.value%12||12,2)})}):r,function(e){return eP(0,59,i,d,t(e))},function(e,t){return eP(0,59,s,d,c(e,t))},function(e,t,c){return eP(0,999,h,d,n(e,t,c),3)}]},[d,l,a,h,i,s]),L=H.useMemo(function(){return E(b,V,C,x)},[E,b,V,C,x]),S=(0,B.Z)(L,4),O=S[0],k=S[1],$=S[2],T=S[3];return[function(t,c){var n=function(){return O},a=k,r=$,l=T;if(c){var o=w(c),i=(0,B.Z)(o,4),u=E(i[0],i[1],i[2],i[3]),s=(0,B.Z)(u,4),f=s[0],h=s[1],d=s[2],v=s[3];n=function(){return f},a=h,r=d,l=v}return function(e,t,c,n,a,r){var l=e;function o(e,t,c){var n=r[e](l),a=c.find(function(e){return e.value===n});if(!a||a.disabled){var o=c.filter(function(e){return!e.disabled}),i=(0,R.Z)(o).reverse().find(function(e){return e.value<=n})||o[0];i&&(n=i.value,l=r[t](l,n))}return n}var i=o("getHour","setHour",t()),u=o("getMinute","setMinute",c(i)),s=o("getSecond","setSecond",n(i,u));return o("getMillisecond","setMillisecond",a(i,u,s)),l}(t,n,a,r,l,e)},O,k,$,T]}function eq(e){var t=e.mode,c=e.internalMode,n=e.renderExtraFooter,a=e.showNow,r=e.showTime,l=e.onSubmit,o=e.onNow,i=e.invalid,u=e.needConfirm,s=e.generateConfig,f=e.disabledDate,h=H.useContext(P),d=h.prefixCls,v=h.locale,m=h.button,g=s.getNow(),z=eN(s,r,g),p=(0,B.Z)(z,1)[0],w=null==n?void 0:n(t),M=f(g,{type:t}),Z="".concat(d,"-now"),b="".concat(Z,"-btn"),V=a&&H.createElement("li",{className:Z},H.createElement("a",{className:E()(b,M&&"".concat(b,"-disabled")),"aria-disabled":M,onClick:function(){M||o(p(g))}},"date"===c?v.today:v.now)),C=u&&H.createElement("li",{className:"".concat(d,"-ok")},H.createElement(void 0===m?"button":m,{disabled:i,onClick:l},v.ok)),x=(V||C)&&H.createElement("ul",{className:"".concat(d,"-ranges")},V,C);return w||x?H.createElement("div",{className:"".concat(d,"-footer")},w&&H.createElement("div",{className:"".concat(d,"-footer-extra")},w),x):null}function ej(e,t,c){return function(n,a){var r=n.findIndex(function(n){return ez(e,t,n,a,c)});if(-1===r)return[].concat((0,R.Z)(n),[a]);var l=(0,R.Z)(n);return l.splice(r,1),l}}var eW=H.createContext(null);function eY(){return H.useContext(eW)}function e_(e,t){var c=e.prefixCls,n=e.generateConfig,a=e.locale,r=e.disabledDate,l=e.minDate,o=e.maxDate,i=e.cellRender,u=e.hoverValue,s=e.hoverRangeValue,f=e.onHover,h=e.values,d=e.pickerValue,v=e.onSelect,m=e.prevIcon,g=e.nextIcon,z=e.superPrevIcon,p=e.superNextIcon,w=n.getNow();return[{now:w,values:h,pickerValue:d,prefixCls:c,disabledDate:r,minDate:l,maxDate:o,cellRender:i,hoverValue:u,hoverRangeValue:s,onHover:f,locale:a,generateConfig:n,onSelect:v,panelType:t,prevIcon:m,nextIcon:g,superPrevIcon:z,superNextIcon:p},w]}var eK=H.createContext({});function eU(e){for(var t=e.rowNum,c=e.colNum,n=e.baseDate,a=e.getCellDate,r=e.prefixColumn,l=e.rowClassName,o=e.titleFormat,i=e.getCellText,u=e.getCellClassName,s=e.headerCells,f=e.cellSelection,h=void 0===f||f,d=e.disabledDate,v=eY(),m=v.prefixCls,g=v.panelType,z=v.now,p=v.disabledDate,w=v.cellRender,M=v.onHover,Z=v.hoverValue,b=v.hoverRangeValue,V=v.generateConfig,C=v.values,x=v.locale,L=v.onSelect,R=d||p,S="".concat(m,"-cell"),O=H.useContext(eK).onCellDblClick,k=function(e){return C.some(function(t){return t&&ez(V,x,e,t,g)})},$=[],F=0;F1&&(r=u.addDate(r,-7)),r),O=u.getMonth(s),k=(void 0===p?Z:p)?function(e){var t=null==m?void 0:m(e,{type:"week"});return H.createElement("td",{key:"week",className:E()(M,"".concat(M,"-week"),(0,T.Z)({},"".concat(M,"-disabled"),t)),onClick:function(){t||g(e)},onMouseEnter:function(){t||null==z||z(e)},onMouseLeave:function(){t||null==z||z(null)}},H.createElement("div",{className:"".concat(M,"-inner")},u.locale.getWeek(i.locale,e)))}:null,$=[],F=i.shortWeekDays||(u.locale.getShortWeekDays?u.locale.getShortWeekDays(i.locale):[]);k&&$.push(H.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var I=0;I<7;I+=1)$.push(H.createElement("th",{key:I},F[(I+R)%7]));var A=i.shortMonths||(u.locale.getShortMonths?u.locale.getShortMonths(i.locale):[]),D=H.createElement("button",{type:"button","aria-label":"year panel",key:"year",onClick:function(){h("year",s)},tabIndex:-1,className:"".concat(l,"-year-btn")},eM(s,{locale:i,format:i.yearFormat,generateConfig:u})),P=H.createElement("button",{type:"button","aria-label":"month panel",key:"month",onClick:function(){h("month",s)},tabIndex:-1,className:"".concat(l,"-month-btn")},i.monthFormat?eM(s,{locale:i,format:i.monthFormat,generateConfig:u}):A[O]),N=i.monthBeforeYear?[P,D]:[D,P];return H.createElement(eW.Provider,{value:C},H.createElement("div",{className:E()(w,p&&"".concat(w,"-show-week"))},H.createElement(eX,{offset:function(e){return u.addMonth(s,e)},superOffset:function(e){return u.addYear(s,e)},onChange:f,getStart:function(e){return u.setDate(e,1)},getEnd:function(e){var t=u.setDate(e,1);return t=u.addMonth(t,1),u.addDate(t,-1)}},N),H.createElement(eU,(0,L.Z)({titleFormat:i.fieldDateFormat},e,{colNum:7,rowNum:6,baseDate:S,headerCells:$,getCellDate:function(e,t){return u.addDate(e,t)},getCellText:function(e){return eM(e,{locale:i,format:i.cellDateFormat,generateConfig:u})},getCellClassName:function(e){return(0,T.Z)((0,T.Z)({},"".concat(l,"-cell-in-view"),eh(u,e,s)),"".concat(l,"-cell-today"),ed(u,e,x))},prefixColumn:k,cellSelection:!Z}))))}var eJ=c(62143),e1=1/3;function e4(e){var t,c,n,a,r,l,o=e.units,i=e.value,u=e.optionalValue,s=e.type,f=e.onChange,h=e.onHover,d=e.onDblClick,v=e.changeOnScroll,m=eY(),g=m.prefixCls,z=m.cellRender,p=m.now,w=m.locale,M="".concat(g,"-time-panel-cell"),Z=H.useRef(null),b=H.useRef(),V=function(){clearTimeout(b.current)},C=(t=null!=i?i:u,c=H.useRef(!1),n=H.useRef(null),a=H.useRef(null),r=function(){I.Z.cancel(n.current),c.current=!1},l=H.useRef(),[(0,S.zX)(function(){var e=Z.current;if(a.current=null,l.current=0,e){var o=e.querySelector('[data-value="'.concat(t,'"]')),i=e.querySelector("li");o&&i&&function t(){r(),c.current=!0,l.current+=1;var u=e.scrollTop,s=i.offsetTop,f=o.offsetTop,h=f-s;if(0===f&&o!==i||!(0,eJ.Z)(e)){l.current<=5&&(n.current=(0,I.Z)(t));return}var d=u+(h-u)*e1,v=Math.abs(h-d);if(null!==a.current&&a.current1&&void 0!==arguments[1]&&arguments[1];ep(e),null==m||m(e),t&&ew(e)},eZ=function(e,t){ec(e),t&&eM(t),ew(t,e)},eH=H.useMemo(function(){if(Array.isArray(b)){var e,t,c=(0,B.Z)(b,2);e=c[0],t=c[1]}else e=b;return e||t?(e=e||t,t=t||e,a.isAfter(e,t)?[t,e]:[e,t]):null},[b,a]),eb=X(V,C,x),eV=(void 0===O?{}:O)[en]||e8[en]||eQ,eC=H.useContext(eK),ex=H.useMemo(function(){return(0,y.Z)((0,y.Z)({},eC),{},{hideHeader:k})},[eC,k]),eE="".concat($,"-panel"),eL=_(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return H.createElement(eK.Provider,{value:ex},H.createElement("div",{ref:F,tabIndex:void 0===o?0:o,className:E()(eE,(0,T.Z)({},"".concat(eE,"-rtl"),"rtl"===r))},H.createElement(eV,(0,L.Z)({},eL,{showTime:U,prefixCls:$,locale:Y,generateConfig:a,onModeChange:eZ,pickerValue:eg,onPickerValueChange:function(e){eM(e,!0)},value:ef[0],onSelect:function(e){if(ed(e),eM(e),et!==w){var t=["decade","year"],c=[].concat(t,["month"]),n={quarter:[].concat(t,["quarter"]),week:[].concat((0,R.Z)(c),["week"]),date:[].concat((0,R.Z)(c),["date"])}[w]||c,a=n.indexOf(et),r=n[a+1];r&&eZ(r,e)}},values:ef,cellRender:eb,hoverRangeValue:eH,hoverValue:Z}))))}));function e0(e){var t=e.picker,c=e.multiplePanel,n=e.pickerValue,a=e.onPickerValueChange,r=e.needConfirm,l=e.onSubmit,o=e.range,i=e.hoverValue,u=H.useContext(P),s=u.prefixCls,f=u.generateConfig,h=H.useCallback(function(e,c){return eR(f,t,e,c)},[f,t]),d=H.useMemo(function(){return h(n,1)},[n,h]),v={onCellDblClick:function(){r&&l()}},m="time"===t,g=(0,y.Z)((0,y.Z)({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:m});return(o?g.hoverRangeValue=i:g.hoverValue=i,c)?H.createElement("div",{className:"".concat(s,"-panels")},H.createElement(eK.Provider,{value:(0,y.Z)((0,y.Z)({},v),{},{hideNext:!0})},H.createElement(e6,g)),H.createElement(eK.Provider,{value:(0,y.Z)((0,y.Z)({},v),{},{hidePrev:!0})},H.createElement(e6,(0,L.Z)({},g,{pickerValue:d,onPickerValueChange:function(e){a(h(e,-1))}})))):H.createElement(eK.Provider,{value:(0,y.Z)({},v)},H.createElement(e6,g))}function e5(e){return"function"==typeof e?e():e}function e7(e){var t=e.prefixCls,c=e.presets,n=e.onClick,a=e.onHover;return c.length?H.createElement("div",{className:"".concat(t,"-presets")},H.createElement("ul",null,c.map(function(e,t){var c=e.label,r=e.value;return H.createElement("li",{key:t,onClick:function(){n(e5(r))},onMouseEnter:function(){a(e5(r))},onMouseLeave:function(){a(null)}},c)}))):null}function e9(e){var t=e.panelRender,c=e.internalMode,n=e.picker,a=e.showNow,r=e.range,l=e.multiple,o=e.activeOffset,i=void 0===o?0:o,u=e.placement,s=e.presets,f=e.onPresetHover,h=e.onPresetSubmit,d=e.onFocus,v=e.onBlur,m=e.onPanelMouseDown,g=e.direction,z=e.value,p=e.onSelect,w=e.isInvalid,M=e.defaultOpenValue,Z=e.onOk,b=e.onSubmit,V=H.useContext(P).prefixCls,C="".concat(V,"-panel"),x="rtl"===g,R=H.useRef(null),y=H.useRef(null),S=H.useState(0),O=(0,B.Z)(S,2),k=O[0],$=O[1],F=H.useState(0),I=(0,B.Z)(F,2),N=I[0],q=I[1];function j(e){return e.filter(function(e){return e})}H.useEffect(function(){if(r){var e,t=(null===(e=R.current)||void 0===e?void 0:e.offsetWidth)||0;i<=k-t?q(0):q(i+t-k)}},[k,i,r]);var Y=H.useMemo(function(){return j(W(z))},[z]),_="time"===n&&!Y.length,K=H.useMemo(function(){return _?j([M]):Y},[_,Y,M]),U=_?M:Y,G=H.useMemo(function(){return!K.length||K.some(function(e){return w(e)})},[K,w]),X=H.createElement("div",{className:"".concat(V,"-panel-layout")},H.createElement(e7,{prefixCls:V,presets:s,onClick:h,onHover:f}),H.createElement("div",null,H.createElement(e0,(0,L.Z)({},e,{value:U})),H.createElement(eq,(0,L.Z)({},e,{showNow:!l&&a,invalid:G,onSubmit:function(){_&&p(M),Z(),b()}}))));t&&(X=t(X));var Q="marginLeft",J="marginRight",ee=H.createElement("div",{onMouseDown:m,tabIndex:-1,className:E()("".concat(C,"-container"),"".concat(V,"-").concat(c,"-panel-container")),style:(0,T.Z)((0,T.Z)({},x?J:Q,N),x?Q:J,"auto"),onFocus:d,onBlur:v},X);if(r){var et=D(A(u,x),x);ee=H.createElement("div",{onMouseDown:m,ref:y,className:E()("".concat(V,"-range-wrapper"),"".concat(V,"-").concat(n,"-range-wrapper"))},H.createElement("div",{ref:R,className:"".concat(V,"-range-arrow"),style:(0,T.Z)({},et,i)}),H.createElement(eA.Z,{onResize:function(e){e.offsetWidth&&$(e.offsetWidth)}},ee))}return ee}var te=c(10921);function tt(e,t){var c=e.format,n=e.maskFormat,a=e.generateConfig,r=e.locale,l=e.preserveInvalidOnBlur,o=e.inputReadOnly,i=e.required,u=e["aria-required"],s=e.onSubmit,f=e.onFocus,h=e.onBlur,d=e.onInputChange,v=e.onInvalid,m=e.open,g=e.onOpenChange,z=e.onKeyDown,p=e.onChange,w=e.activeHelp,M=e.name,Z=e.autoComplete,b=e.id,V=e.value,C=e.invalid,x=e.placeholder,E=e.disabled,L=e.activeIndex,R=e.allHelp,B=e.picker,S=function(e,t){var c=a.locale.parse(r.locale,e,[t]);return c&&a.isValidate(c)?c:null},O=c[0],k=H.useCallback(function(e){return eM(e,{locale:r,format:O,generateConfig:a})},[r,a,O]),T=H.useMemo(function(){return V.map(k)},[V,k]),F=H.useMemo(function(){return Math.max("time"===B?8:10,"function"==typeof O?O(a.getNow()).length:O.length)+2},[O,B,a]),I=function(e){for(var t=0;t=r&&e<=l)return n;var o=Math.min(Math.abs(e-r),Math.abs(e-l));o0?n:a));var i=a-n+1;return String(n+(i+(o+e)-n)%i)};switch(t){case"Backspace":case"Delete":c="",n=r;break;case"ArrowLeft":c="",o(-1);break;case"ArrowRight":c="",o(1);break;case"ArrowUp":c="",n=i(1);break;case"ArrowDown":c="",n=i(-1);break;default:isNaN(Number(t))||(n=c=_+t)}null!==c&&(K(c),c.length>=a&&(o(1),K(""))),null!==n&&eh((en.slice(0,eu)+j(n,a)+en.slice(es)).slice(0,l.length)),ec({})},onMouseDown:function(){ed.current=!0},onMouseUp:function(e){var t=e.target.selectionStart;Q(el.getMaskCellIndex(t)),ec({}),null==Z||Z(e),ed.current=!1},onPaste:function(e){var t=e.clipboardData.getData("text");o(t)&&eh(t)}}:{};return H.createElement("div",{ref:ea,className:E()(R,(0,T.Z)((0,T.Z)({},"".concat(R,"-active"),c&&a),"".concat(R,"-placeholder"),u))},H.createElement(x,(0,L.Z)({ref:er,"aria-invalid":m,autoComplete:"off"},z,{onKeyDown:em,onBlur:ev},ez,{value:en,onChange:function(e){if(!l){var t=e.target.value;ef(t),q(t),i(t)}}})),H.createElement(tl,{type:"suffix",icon:r}),g)}),tv=["id","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","placement","onMouseDown","required","aria-required","autoFocus"],tm=["index"],tg=H.forwardRef(function(e,t){var c=e.id,n=e.clearIcon,a=e.suffixIcon,r=e.separator,l=void 0===r?"~":r,o=e.activeIndex,i=(e.activeHelp,e.allHelp,e.focused),u=(e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig,e.placeholder),s=e.className,f=e.style,h=e.onClick,d=e.onClear,v=e.value,m=(e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid,e.disabled),g=e.invalid,z=(e.inputReadOnly,e.direction),p=(e.onOpenChange,e.onActiveOffset),w=e.placement,M=e.onMouseDown,Z=(e.required,e["aria-required"],e.autoFocus),b=(0,te.Z)(e,tv),V="rtl"===z,C=H.useContext(P).prefixCls,x=H.useMemo(function(){if("string"==typeof c)return[c];var e=c||{};return[e.start,e.end]},[c]),R=H.useRef(),O=H.useRef(),k=H.useRef(),$=function(e){var t;return null===(t=[O,k][e])||void 0===t?void 0:t.current};H.useImperativeHandle(t,function(){return{nativeElement:R.current,focus:function(e){if("object"===(0,et.Z)(e)){var t,c,n=e||{},a=n.index,r=void 0===a?0:a,l=(0,te.Z)(n,tm);null===(c=$(r))||void 0===c||c.focus(l)}else null===(t=$(null!=e?e:0))||void 0===t||t.focus()},blur:function(){var e,t;null===(e=$(0))||void 0===e||e.blur(),null===(t=$(1))||void 0===t||t.blur()}}});var F=tn(b),I=H.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),N=tt((0,y.Z)((0,y.Z)({},e),{},{id:x,placeholder:I})),q=(0,B.Z)(N,1)[0],j=A(w,V),W=D(j,V),Y=null==j?void 0:j.toLowerCase().endsWith("right"),_=H.useState({position:"absolute",width:0}),K=(0,B.Z)(_,2),U=K[0],G=K[1],X=(0,S.zX)(function(){var e=$(o);if(e){var t=e.nativeElement,c=t.offsetWidth,n=t.offsetLeft,a=t.offsetParent,r=(null==a?void 0:a.offsetWidth)||0,l=Y?r-c-n:n;G(function(e){return(0,y.Z)((0,y.Z)({},e),{},(0,T.Z)({width:c},W,l))}),p(l)}});H.useEffect(function(){X()},[o]);var Q=n&&(v[0]&&!m[0]||v[1]&&!m[1]),J=Z&&!m[0],ee=Z&&!J&&!m[1];return H.createElement(eA.Z,{onResize:X},H.createElement("div",(0,L.Z)({},F,{className:E()(C,"".concat(C,"-range"),(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({},"".concat(C,"-focused"),i),"".concat(C,"-disabled"),m.every(function(e){return e})),"".concat(C,"-invalid"),g.some(function(e){return e})),"".concat(C,"-rtl"),V),s),style:f,ref:R,onClick:h,onMouseDown:function(e){var t=e.target;t!==O.current.inputElement&&t!==k.current.inputElement&&e.preventDefault(),null==M||M(e)}}),H.createElement(td,(0,L.Z)({ref:O},q(0),{autoFocus:J,"date-range":"start"})),H.createElement("div",{className:"".concat(C,"-range-separator")},l),H.createElement(td,(0,L.Z)({ref:k},q(1),{autoFocus:ee,"date-range":"end"})),H.createElement("div",{className:"".concat(C,"-active-bar"),style:U}),H.createElement(tl,{type:"suffix",icon:a}),Q&&H.createElement(to,{icon:n,onClear:d})))});function tz(e,t){var c=null!=e?e:t;return Array.isArray(c)?c:[c,c]}function tp(e){return 1===e?"end":"start"}var tw=H.forwardRef(function(e,t){var c,n=eb(e,function(){var t=e.disabled,c=e.allowEmpty;return{disabled:tz(t,!1),allowEmpty:tz(c,!1)}}),a=(0,B.Z)(n,6),r=a[0],l=a[1],o=a[2],i=a[3],u=a[4],s=a[5],f=r.prefixCls,h=r.styles,d=r.classNames,v=r.placement,m=r.defaultValue,g=r.value,z=r.needConfirm,p=r.onKeyDown,w=r.disabled,M=r.allowEmpty,Z=r.disabledDate,b=r.minDate,V=r.maxDate,C=r.defaultOpen,x=r.open,E=r.onOpenChange,T=r.locale,F=r.generateConfig,I=r.picker,A=r.showNow,D=r.showToday,N=r.showTime,j=r.mode,_=r.onPanelChange,K=r.onCalendarChange,J=r.onOk,ee=r.defaultPickerValue,et=r.pickerValue,ec=r.onPickerValueChange,en=r.inputReadOnly,ea=r.suffixIcon,er=r.onFocus,el=r.onBlur,eo=r.presets,ei=r.ranges,eu=r.components,es=r.cellRender,ef=r.dateRender,eh=r.monthCellRender,ed=r.onClick,ev=eC(t),em=eV(x,C,w,E),eg=(0,B.Z)(em,2),ep=eg[0],ew=eg[1],eM=function(e,t){(w.some(function(e){return!e})||!e)&&ew(e,t)},eZ=eT(F,T,i,!0,!1,m,g,K,J),eH=(0,B.Z)(eZ,5),eE=eH[0],eR=eH[1],ey=eH[2],eS=eH[3],eO=eH[4],ek=ey(),e$=eL(w,M,ep),eA=(0,B.Z)(e$,7),eD=eA[0],eP=eA[1],eN=eA[2],eq=eA[3],ej=eA[4],eW=eA[5],eY=eA[6],e_=function(e,t){eP(!0),null==er||er(e,{range:tp(null!=t?t:eq)})},eK=function(e,t){eP(!1),null==el||el(e,{range:tp(null!=t?t:eq)})},eU=H.useMemo(function(){if(!N)return null;var e=N.disabledTime,t=e?function(t){return e(t,tp(eq),{from:U(ek,eY,eq)})}:void 0;return(0,y.Z)((0,y.Z)({},N),{},{disabledTime:t})},[N,eq,ek,eY]),eG=(0,S.C8)([I,I],{value:j}),eX=(0,B.Z)(eG,2),eQ=eX[0],eJ=eX[1],e1=eQ[eq]||I,e4="date"===e1&&eU?"datetime":e1,e2=e4===I&&"time"!==e4,e3=eI(I,e1,A,D,!0),e8=eF(r,eE,eR,ey,eS,w,i,eD,ep,s),e6=(0,B.Z)(e8,2),e0=e6[0],e5=e6[1],e7=(c=eY[eY.length-1],function(e,t){var n=(0,B.Z)(ek,2),a=n[0],r=n[1],l=(0,y.Z)((0,y.Z)({},t),{},{from:U(ek,eY)});return!!(1===c&&w[0]&&a&&!ez(F,T,a,e,l.type)&&F.isAfter(a,e)||0===c&&w[1]&&r&&!ez(F,T,r,e,l.type)&&F.isAfter(e,r))||(null==Z?void 0:Z(e,l))}),te=Q(ek,s,M),tt=(0,B.Z)(te,2),tc=tt[0],tn=tt[1],ta=eB(F,T,ek,eQ,ep,eq,l,e2,ee,et,null==eU?void 0:eU.defaultOpenValue,ec,b,V),tr=(0,B.Z)(ta,2),tl=tr[0],to=tr[1],ti=(0,S.zX)(function(e,t,c){var n=Y(eQ,eq,t);if((n[0]!==eQ[0]||n[1]!==eQ[1])&&eJ(n),_&&!1!==c){var a=(0,R.Z)(ek);e&&(a[eq]=e),_(a,n)}}),tu=function(e,t){return Y(ek,t,e)},ts=function(e,t){var c=ek;e&&(c=tu(e,eq));var n=eW(c);eS(c),e0(eq,null===n),null===n?eM(!1,{force:!0}):t||ev.current.focus({index:n})},tf=H.useState(null),th=(0,B.Z)(tf,2),td=th[0],tv=th[1],tm=H.useState(null),tw=(0,B.Z)(tm,2),tM=tw[0],tZ=tw[1],tH=H.useMemo(function(){return tM||ek},[ek,tM]);H.useEffect(function(){ep||tZ(null)},[ep]);var tb=H.useState(0),tV=(0,B.Z)(tb,2),tC=tV[0],tx=tV[1],tE=ex(eo,ei),tL=X(es,ef,eh,tp(eq)),tR=ek[eq]||null,ty=(0,S.zX)(function(e){return s(e,{activeIndex:eq})}),tB=H.useMemo(function(){var e=(0,$.Z)(r,!1);return(0,k.Z)(r,[].concat((0,R.Z)(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]))},[r]),tS=H.createElement(e9,(0,L.Z)({},tB,{showNow:e3,showTime:eU,range:!0,multiplePanel:e2,activeOffset:tC,placement:v,disabledDate:e7,onFocus:function(e){eM(!0),e_(e)},onBlur:eK,onPanelMouseDown:function(){eN("panel")},picker:I,mode:e1,internalMode:e4,onPanelChange:ti,format:u,value:tR,isInvalid:ty,onChange:null,onSelect:function(e){eS(Y(ek,eq,e)),z||o||l!==e4||ts(e)},pickerValue:tl,defaultOpenValue:W(null==N?void 0:N.defaultOpenValue)[eq],onPickerValueChange:to,hoverValue:tH,onHover:function(e){tZ(e?tu(e,eq):null),tv("cell")},needConfirm:z,onSubmit:ts,onOk:eO,presets:tE,onPresetHover:function(e){tZ(e),tv("preset")},onPresetSubmit:function(e){e5(e)&&eM(!1,{force:!0})},onNow:function(e){ts(e)},cellRender:tL})),tO=H.useMemo(function(){return{prefixCls:f,locale:T,generateConfig:F,button:eu.button,input:eu.input}},[f,T,F,eu.button,eu.input]);return(0,O.Z)(function(){ep&&void 0!==eq&&ti(null,I,!1)},[ep,eq,I]),(0,O.Z)(function(){var e=eN();ep||"input"!==e||(eM(!1),ts(null,!0)),ep||!o||z||"panel"!==e||(eM(!0),ts())},[ep]),H.createElement(P.Provider,{value:tO},H.createElement(q,(0,L.Z)({},G(r),{popupElement:tS,popupStyle:h.popup,popupClassName:d.popup,visible:ep,onClose:function(){eM(!1)},range:!0}),H.createElement(tg,(0,L.Z)({},r,{ref:ev,suffixIcon:ea,activeIndex:eD||ep?eq:null,activeHelp:!!tM,allHelp:!!tM&&"preset"===td,focused:eD,onFocus:function(e,t){eN("input"),eM(!0,{inherit:!0}),eq!==t&&ep&&!z&&o&&ts(null,!0),ej(t),e_(e,t)},onBlur:function(e,t){eM(!1),z||"input"!==eN()||e0(eq,null===eW(ek)),eK(e,t)},onKeyDown:function(e,t){"Tab"===e.key&&ts(null,!0),null==p||p(e,t)},onSubmit:ts,value:tH,maskFormat:u,onChange:function(e,t){eS(tu(e,t))},onInputChange:function(){eN("input")},format:i,inputReadOnly:en,disabled:w,open:ep,onOpenChange:eM,onClick:function(e){if(!ev.current.nativeElement.contains(document.activeElement)){var t=w.findIndex(function(e){return!e});t>=0&&ev.current.focus({index:t})}eM(!0),null==ed||ed(e)},onClear:function(){e5(null),eM(!1,{force:!0})},invalid:tc,onInvalid:tn,onActiveOffset:tx}))))}),tM=c(66979);function tZ(e){var t=e.prefixCls,c=e.value,n=e.onRemove,a=e.removeIcon,r=void 0===a?"\xd7":a,l=e.formatDate,o=e.disabled,i=e.maxTagCount,u=e.placeholder,s="".concat(t,"-selection");function f(e,t){return H.createElement("span",{className:E()("".concat(s,"-item")),title:"string"==typeof e?e:null},H.createElement("span",{className:"".concat(s,"-item-content")},e),!o&&t&&H.createElement("span",{onMouseDown:function(e){e.preventDefault()},onClick:t,className:"".concat(s,"-item-remove")},r))}return H.createElement("div",{className:"".concat(t,"-selector")},H.createElement(tM.Z,{prefixCls:"".concat(s,"-overflow"),data:c,renderItem:function(e){return f(l(e),function(t){t&&t.stopPropagation(),n(e)})},renderRest:function(e){return f("+ ".concat(e.length," ..."))},itemKey:function(e){return l(e)},maxCount:i}),!c.length&&H.createElement("span",{className:"".concat(t,"-selection-placeholder")},u))}var tH=["id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","removeIcon"],tb=H.forwardRef(function(e,t){e.id;var c=e.open,n=e.clearIcon,a=e.suffixIcon,r=(e.activeHelp,e.allHelp,e.focused),l=(e.onFocus,e.onBlur,e.onKeyDown,e.locale),o=e.generateConfig,i=e.placeholder,u=e.className,s=e.style,f=e.onClick,h=e.onClear,d=e.internalPicker,v=e.value,m=e.onChange,g=e.onSubmit,z=(e.onInputChange,e.multiple),p=e.maxTagCount,w=(e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid,e.disabled),M=e.invalid,Z=(e.inputReadOnly,e.direction),b=(e.onOpenChange,e.onMouseDown),V=(e.required,e["aria-required"],e.autoFocus),C=e.removeIcon,x=(0,te.Z)(e,tH),R=H.useContext(P).prefixCls,S=H.useRef(),O=H.useRef();H.useImperativeHandle(t,function(){return{nativeElement:S.current,focus:function(e){var t;null===(t=O.current)||void 0===t||t.focus(e)},blur:function(){var e;null===(e=O.current)||void 0===e||e.blur()}}});var k=tn(x),$=tt((0,y.Z)((0,y.Z)({},e),{},{onChange:function(e){m([e])}}),function(e){return{value:e.valueTexts[0]||"",active:r}}),F=(0,B.Z)($,2),I=F[0],A=F[1],D=!!(n&&v.length&&!w),N=z?H.createElement(H.Fragment,null,H.createElement(tZ,{prefixCls:R,value:v,onRemove:function(e){m(v.filter(function(t){return t&&!ez(o,l,t,e,d)})),c||g()},formatDate:A,maxTagCount:p,disabled:w,removeIcon:C,placeholder:i}),H.createElement("input",{className:"".concat(R,"-multiple-input"),value:v.map(A).join(","),ref:O,readOnly:!0,autoFocus:V}),H.createElement(tl,{type:"suffix",icon:a}),D&&H.createElement(to,{icon:n,onClear:h})):H.createElement(td,(0,L.Z)({ref:O},I(),{autoFocus:V,suffixIcon:a,clearIcon:D&&H.createElement(to,{icon:n,onClear:h}),showActiveCls:!1}));return H.createElement("div",(0,L.Z)({},k,{className:E()(R,(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({},"".concat(R,"-multiple"),z),"".concat(R,"-focused"),r),"".concat(R,"-disabled"),w),"".concat(R,"-invalid"),M),"".concat(R,"-rtl"),"rtl"===Z),u),style:s,ref:S,onClick:f,onMouseDown:function(e){var t;e.target!==(null===(t=O.current)||void 0===t?void 0:t.inputElement)&&e.preventDefault(),null==b||b(e)}}),N)}),tV=H.forwardRef(function(e,t){var c=eb(e),n=(0,B.Z)(c,6),a=n[0],r=n[1],l=n[2],o=n[3],i=n[4],u=n[5],s=a.prefixCls,f=a.styles,h=a.classNames,d=a.order,v=a.defaultValue,m=a.value,g=a.needConfirm,z=a.onChange,p=a.onKeyDown,w=a.disabled,M=a.disabledDate,Z=a.minDate,b=a.maxDate,V=a.defaultOpen,C=a.open,x=a.onOpenChange,E=a.locale,T=a.generateConfig,F=a.picker,I=a.showNow,A=a.showToday,D=a.showTime,N=a.mode,j=a.onPanelChange,Y=a.onCalendarChange,_=a.onOk,K=a.multiple,U=a.defaultPickerValue,J=a.pickerValue,ee=a.onPickerValueChange,et=a.inputReadOnly,ec=a.suffixIcon,en=a.removeIcon,ea=a.onFocus,er=a.onBlur,el=a.presets,eo=a.components,ei=a.cellRender,eu=a.dateRender,es=a.monthCellRender,ef=a.onClick,eh=eC(t);function ed(e){return null===e?null:K?e:e[0]}var ev=ej(T,E,r),em=eV(C,V,[w],x),eg=(0,B.Z)(em,2),ez=eg[0],ep=eg[1],ew=eT(T,E,o,!1,d,v,m,function(e,t,c){if(Y){var n=(0,y.Z)({},c);delete n.range,Y(ed(e),ed(t),n)}},function(e){null==_||_(ed(e))}),eM=(0,B.Z)(ew,5),eZ=eM[0],eH=eM[1],eE=eM[2],eR=eM[3],ey=eM[4],eS=eE(),eO=eL([w]),ek=(0,B.Z)(eO,4),e$=ek[0],eA=ek[1],eD=ek[2],eP=ek[3],eN=function(e){eA(!0),null==ea||ea(e,{})},eq=function(e){eA(!1),null==er||er(e,{})},eW=(0,S.C8)(F,{value:N}),eY=(0,B.Z)(eW,2),e_=eY[0],eK=eY[1],eU="date"===e_&&D?"datetime":e_,eG=eI(F,e_,I,A),eX=z&&function(e,t){z(ed(e),ed(t))},eQ=eF((0,y.Z)((0,y.Z)({},a),{},{onChange:eX}),eZ,eH,eE,eR,[],o,e$,ez,u),eJ=(0,B.Z)(eQ,2)[1],e1=Q(eS,u),e4=(0,B.Z)(e1,2),e2=e4[0],e3=e4[1],e8=H.useMemo(function(){return e2.some(function(e){return e})},[e2]),e6=eB(T,E,eS,[e_],ez,eP,r,!1,U,J,W(null==D?void 0:D.defaultOpenValue),function(e,t){if(ee){var c=(0,y.Z)((0,y.Z)({},t),{},{mode:t.mode[0]});delete c.range,ee(e[0],c)}},Z,b),e0=(0,B.Z)(e6,2),e5=e0[0],e7=e0[1],te=(0,S.zX)(function(e,t,c){eK(t),j&&!1!==c&&j(e||eS[eS.length-1],t)}),tt=function(){eJ(eE()),ep(!1,{force:!0})},tc=H.useState(null),tn=(0,B.Z)(tc,2),ta=tn[0],tr=tn[1],tl=H.useState(null),to=(0,B.Z)(tl,2),ti=to[0],tu=to[1],ts=H.useMemo(function(){var e=[ti].concat((0,R.Z)(eS)).filter(function(e){return e});return K?e:e.slice(0,1)},[eS,ti,K]),tf=H.useMemo(function(){return!K&&ti?[ti]:eS.filter(function(e){return e})},[eS,ti,K]);H.useEffect(function(){ez||tu(null)},[ez]);var th=ex(el),td=function(e){eJ(K?ev(eE(),e):[e])&&!K&&ep(!1,{force:!0})},tv=X(ei,eu,es),tm=H.useMemo(function(){var e=(0,$.Z)(a,!1),t=(0,k.Z)(a,[].concat((0,R.Z)(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,y.Z)((0,y.Z)({},t),{},{multiple:a.multiple})},[a]),tg=H.createElement(e9,(0,L.Z)({},tm,{showNow:eG,showTime:D,disabledDate:M,onFocus:function(e){ep(!0),eN(e)},onBlur:eq,picker:F,mode:e_,internalMode:eU,onPanelChange:te,format:i,value:eS,isInvalid:u,onChange:null,onSelect:function(e){eD("panel"),eR(K?ev(eE(),e):[e]),g||l||r!==eU||tt()},pickerValue:e5,defaultOpenValue:null==D?void 0:D.defaultOpenValue,onPickerValueChange:e7,hoverValue:ts,onHover:function(e){tu(e),tr("cell")},needConfirm:g,onSubmit:tt,onOk:ey,presets:th,onPresetHover:function(e){tu(e),tr("preset")},onPresetSubmit:td,onNow:function(e){td(e)},cellRender:tv})),tz=H.useMemo(function(){return{prefixCls:s,locale:E,generateConfig:T,button:eo.button,input:eo.input}},[s,E,T,eo.button,eo.input]);return(0,O.Z)(function(){ez&&void 0!==eP&&te(null,F,!1)},[ez,eP,F]),(0,O.Z)(function(){var e=eD();ez||"input"!==e||(ep(!1),tt()),ez||!l||g||"panel"!==e||(ep(!0),tt())},[ez]),H.createElement(P.Provider,{value:tz},H.createElement(q,(0,L.Z)({},G(a),{popupElement:tg,popupStyle:f.popup,popupClassName:h.popup,visible:ez,onClose:function(){ep(!1)}}),H.createElement(tb,(0,L.Z)({},a,{ref:eh,suffixIcon:ec,removeIcon:en,activeHelp:!!ti,allHelp:!!ti&&"preset"===ta,focused:e$,onFocus:function(e){eD("input"),ep(!0,{inherit:!0}),eN(e)},onBlur:function(e){ep(!1),eq(e)},onKeyDown:function(e,t){"Tab"===e.key&&tt(),null==p||p(e,t)},onSubmit:tt,value:tf,maskFormat:i,onChange:function(e){eR(e)},onInputChange:function(){eD("input")},internalPicker:r,format:o,inputReadOnly:et,disabled:w,open:ez,onOpenChange:ep,onClick:function(e){w||eh.current.nativeElement.contains(document.activeElement)||eh.current.focus(),ep(!0),null==ef||ef(e)},onClear:function(){eJ(null),ep(!1,{force:!0})},invalid:e8,onInvalid:function(e){e3(e,0)}}))))}),tC=c(53296),tx=c(58416),tE=c(40690),tL=c(63346),tR=c(3482),ty=c(95227),tB=c(82014),tS=c(13859),tO=c(25641),tk=c(61261),t$=c(80214),tT=c(4623),tF=c(38083),tI=c(44589),tA=c(2835),tD=c(60848),tP=c(31909),tN=c(57723),tq=c(33445),tj=c(49407),tW=c(90102),tY=c(74934),t_=c(1309);let tK=(e,t)=>{let{componentCls:c,controlHeight:n}=e,a=t?`${c}-${t}`:"",r=(0,t_.gp)(e);return[{[`${c}-multiple${a}`]:{paddingBlock:r.containerPadding,paddingInlineStart:r.basePadding,minHeight:n,[`${c}-selection-item`]:{height:r.itemHeight,lineHeight:(0,tF.bf)(r.itemLineHeight)}}}]};var tU=e=>{let{componentCls:t,calc:c,lineWidth:n}=e,a=(0,tY.IX)(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),r=(0,tY.IX)(e,{fontHeight:c(e.multipleItemHeightLG).sub(c(n).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[tK(a,"small"),tK(e),tK(r,"large"),{[`${t}${t}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${t}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},(0,t_._z)(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},tG=c(51084);let tX=e=>{let{pickerCellCls:t,pickerCellInnerCls:c,cellHeight:n,borderRadiusSM:a,motionDurationMid:r,cellHoverBg:l,lineWidth:o,lineType:i,colorPrimary:u,cellActiveWithRangeBg:s,colorTextLightSolid:f,colorTextDisabled:h,cellBgDisabled:d,colorFillSecondary:v}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:n,transform:"translateY(-50%)",content:'""'},[c]:{position:"relative",zIndex:2,display:"inline-block",minWidth:n,height:n,lineHeight:(0,tF.bf)(n),borderRadius:a,transition:`background ${r}`},[`&:hover:not(${t}-in-view), + &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[c]:{background:l}},[`&-in-view${t}-today ${c}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,tF.bf)(o)} ${i} ${u}`,borderRadius:a,content:'""'}},[`&-in-view${t}-in-range, + &-in-view${t}-range-start, + &-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:s}},[`&-in-view${t}-selected, + &-in-view${t}-range-start, + &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${c}`]:{color:f,background:u},[`&${t}-disabled ${c}`]:{background:v}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${c}`]:{borderStartStartRadius:a,borderEndStartRadius:a,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${c}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a},"&-disabled":{color:h,pointerEvents:"none",[c]:{background:"transparent"},"&::before":{background:d}},[`&-disabled${t}-today ${c}::before`]:{borderColor:h}}},tQ=e=>{let{componentCls:t,pickerCellCls:c,pickerCellInnerCls:n,pickerYearMonthCellWidth:a,pickerControlIconSize:r,cellWidth:l,paddingSM:o,paddingXS:i,paddingXXS:u,colorBgContainer:s,lineWidth:f,lineType:h,borderRadiusLG:d,colorPrimary:v,colorTextHeading:m,colorSplit:g,pickerControlIconBorderWidth:z,colorIcon:p,textHeight:w,motionDurationMid:M,colorIconHover:Z,fontWeightStrong:H,cellHeight:b,pickerCellPaddingVertical:V,colorTextDisabled:C,colorText:x,fontSize:E,motionDurationSlow:L,withoutTimeCellHeight:R,pickerQuarterPanelContentHeight:y,borderRadiusSM:B,colorTextLightSolid:S,cellHoverBg:O,timeColumnHeight:k,timeColumnWidth:$,timeCellHeight:T,controlItemBgActive:F,marginXXS:I,pickerDatePanelPaddingHorizontal:A,pickerControlIconMargin:D}=e,P=e.calc(l).mul(7).add(e.calc(A).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:s,borderRadius:d,outline:"none","&-focused":{borderColor:v},"&-rtl":{[`${t}-prev-icon, + ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, + ${t}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${t}-time-panel`]:{[`${t}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},[`&-decade-panel, + &-year-panel, + &-quarter-panel, + &-month-panel, + &-week-panel, + &-date-panel, + &-time-panel`]:{display:"flex",flexDirection:"column",width:P},"&-header":{display:"flex",padding:`0 ${(0,tF.bf)(i)}`,color:m,borderBottom:`${(0,tF.bf)(f)} ${h} ${g}`,"> *":{flex:"none"},button:{padding:0,color:p,lineHeight:(0,tF.bf)(w),background:"transparent",border:0,cursor:"pointer",transition:`color ${M}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},"> button":{minWidth:"1.6em",fontSize:E,"&:hover":{color:Z},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:H,lineHeight:(0,tF.bf)(w),"> button":{color:"inherit",fontWeight:"inherit","&:not(:first-child)":{marginInlineStart:i},"&:hover":{color:v}}}},[`&-prev-icon, + &-next-icon, + &-super-prev-icon, + &-super-next-icon`]:{position:"relative",width:r,height:r,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:r,height:r,border:"0 solid currentcolor",borderBlockWidth:`${(0,tF.bf)(z)} 0`,borderInlineWidth:`${(0,tF.bf)(z)} 0`,content:'""'}},[`&-super-prev-icon, + &-super-next-icon`]:{"&::after":{position:"absolute",top:D,insetInlineStart:D,display:"inline-block",width:r,height:r,border:"0 solid currentcolor",borderBlockWidth:`${(0,tF.bf)(z)} 0`,borderInlineWidth:`${(0,tF.bf)(z)} 0`,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:b,fontWeight:"normal"},th:{height:e.calc(b).add(e.calc(V).mul(2)).equal(),color:x,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,tF.bf)(V)} 0`,color:C,cursor:"pointer","&-in-view":{color:x}},tX(e)),[`&-decade-panel, + &-year-panel, + &-quarter-panel, + &-month-panel`]:{[`${t}-content`]:{height:e.calc(R).mul(4).equal()},[n]:{padding:`0 ${(0,tF.bf)(i)}`}},"&-quarter-panel":{[`${t}-content`]:{height:y}},"&-decade-panel":{[n]:{padding:`0 ${(0,tF.bf)(e.calc(i).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},[`&-year-panel, + &-quarter-panel, + &-month-panel`]:{[`${t}-body`]:{padding:`0 ${(0,tF.bf)(i)}`},[n]:{width:a}},"&-date-panel":{[`${t}-body`]:{padding:`${(0,tF.bf)(i)} ${(0,tF.bf)(A)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${n}, + &-selected ${n}, + ${n}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${M}`},"&:first-child:before":{borderStartStartRadius:B,borderEndStartRadius:B},"&:last-child:before":{borderStartEndRadius:B,borderEndEndRadius:B}},"&:hover td":{"&:before":{background:O}},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${c}`]:{"&:before":{background:v},[`&${t}-cell-week`]:{color:new tG.C(S).setAlpha(.5).toHexString()},[n]:{color:S}}},"&-range-hover td:before":{background:F}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${(0,tF.bf)(i)} ${(0,tF.bf)(o)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${(0,tF.bf)(f)} ${h} ${g}`},[`${t}-date-panel, + ${t}-time-panel`]:{transition:`opacity ${L}`},"&-active":{[`${t}-date-panel, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:k},"&-column":{flex:"1 0 auto",width:$,margin:`${(0,tF.bf)(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${M}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(T).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,tF.bf)(f)} ${h} ${g}`},"&-active":{background:new tG.C(F).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:I,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc($).sub(e.calc(I).mul(2)).equal(),height:T,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc($).sub(T).div(2).equal(),color:x,lineHeight:(0,tF.bf)(T),borderRadius:B,cursor:"pointer",transition:`background ${M}`,"&:hover":{background:O}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:F}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:C,background:"transparent",cursor:"not-allowed"}}}}}}}}};var tJ=e=>{let{componentCls:t,textHeight:c,lineWidth:n,paddingSM:a,antCls:r,colorPrimary:l,cellActiveWithRangeBg:o,colorPrimaryBorder:i,lineType:u,colorSplit:s}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${(0,tF.bf)(n)} ${u} ${s}`,"&-extra":{padding:`0 ${(0,tF.bf)(a)}`,lineHeight:(0,tF.bf)(e.calc(c).sub(e.calc(n).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,tF.bf)(n)} ${u} ${s}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:(0,tF.bf)(a),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,tF.bf)(e.calc(c).sub(e.calc(n).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${r}-tag-blue`]:{color:l,background:o,borderColor:i,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(n).mul(2).equal(),marginInlineStart:"auto"}}}}};let t1=e=>{let{componentCls:t,controlHeightLG:c,paddingXXS:n,padding:a}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(c).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(c).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(n).add(e.calc(n).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(a).add(e.calc(n).div(2)).equal()}},t4=e=>{let{colorBgContainerDisabled:t,controlHeight:c,controlHeightSM:n,controlHeightLG:a,paddingXXS:r,lineWidth:l}=e,o=2*r,i=2*l,u=Math.min(c-o,c-i),s=Math.min(n-o,n-i),f=Math.min(a-o,a-i),h=Math.floor(r/2),d={INTERNAL_FIXED_ITEM_MARGIN:h,cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new tG.C(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new tG.C(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:1.4*a,timeColumnHeight:224,timeCellHeight:28,cellWidth:1.5*n,cellHeight:n,textHeight:a,withoutTimeCellHeight:1.65*a,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:u,multipleItemHeightSM:s,multipleItemHeightLG:f,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"};return d};var t2=c(97078),t3=e=>{let{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},(0,t2.qG)(e)),(0,t2.H8)(e)),(0,t2.Mu)(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${(0,tF.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${(0,tF.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${(0,tF.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}};let t8=(e,t,c,n)=>{let a=e.calc(c).add(2).equal(),r=e.max(e.calc(t).sub(a).div(2).equal(),0),l=e.max(e.calc(t).sub(a).sub(r).equal(),0);return{padding:`${(0,tF.bf)(r)} ${(0,tF.bf)(n)} ${(0,tF.bf)(l)}`}},t6=e=>{let{componentCls:t,colorError:c,colorWarning:n}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:c}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:n}}}}},t0=e=>{let{componentCls:t,antCls:c,controlHeight:n,paddingInline:a,lineWidth:r,lineType:l,colorBorder:o,borderRadius:i,motionDurationMid:u,colorTextDisabled:s,colorTextPlaceholder:f,controlHeightLG:h,fontSizeLG:d,controlHeightSM:v,paddingInlineSM:m,paddingXS:g,marginXS:z,colorTextDescription:p,lineWidthBold:w,colorPrimary:M,motionDurationSlow:Z,zIndexPopup:H,paddingXXS:b,sizePopupArrow:V,colorBgElevated:C,borderRadiusLG:x,boxShadowSecondary:E,borderRadiusSM:L,colorSplit:R,cellHoverBg:y,presetsWidth:B,presetsMaxWidth:S,boxShadowPopoverArrow:O,fontHeight:k,fontHeightLG:$,lineHeightLG:T}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},(0,tD.Wf)(e)),t8(e,n,k,a)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:i,transition:`border ${u}, box-shadow ${u}, background ${u}`,[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${u}`},(0,tI.nz)(f)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:s,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:f}}},"&-large":Object.assign(Object.assign({},t8(e,h,$,a)),{[`${t}-input > input`]:{fontSize:d,lineHeight:T}}),"&-small":Object.assign({},t8(e,v,k,m)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(g).div(2).equal(),color:s,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:z}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:s,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top"},"&:hover":{color:p}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:d,color:s,fontSize:d,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:p},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(r).mul(-1).equal(),height:w,background:M,opacity:0,transition:`all ${Z} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${(0,tF.bf)(g)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:a},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:m}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,tD.Wf)(e)),tQ(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:H,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft, + &${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft, + &${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${c}-slide-up-enter${c}-slide-up-enter-active${t}-dropdown-placement-topLeft, + &${c}-slide-up-enter${c}-slide-up-enter-active${t}-dropdown-placement-topRight, + &${c}-slide-up-appear${c}-slide-up-appear-active${t}-dropdown-placement-topLeft, + &${c}-slide-up-appear${c}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:tN.Qt},[`&${c}-slide-up-enter${c}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, + &${c}-slide-up-enter${c}-slide-up-enter-active${t}-dropdown-placement-bottomRight, + &${c}-slide-up-appear${c}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, + &${c}-slide-up-appear${c}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:tN.fJ},[`&${c}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${c}-slide-up-leave${c}-slide-up-leave-active${t}-dropdown-placement-topLeft, + &${c}-slide-up-leave${c}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:tN.ly},[`&${c}-slide-up-leave${c}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, + &${c}-slide-up-leave${c}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:tN.Uw},[`${t}-panel > ${t}-time-panel`]:{paddingTop:b},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Z} ease-out`},(0,tj.W)(e,C,O)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:C,borderRadius:x,boxShadow:E,transition:`margin ${Z}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:B,maxWidth:S,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:g,borderInlineEnd:`${(0,tF.bf)(r)} ${l} ${R}`,li:Object.assign(Object.assign({},tD.vS),{borderRadius:L,paddingInline:g,paddingBlock:e.calc(v).sub(k).div(2).equal(),cursor:"pointer",transition:`all ${Z}`,"+ li":{marginTop:z},"&:hover":{background:y}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:o}}}}),"&-dropdown-range":{padding:`${(0,tF.bf)(e.calc(V).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,tN.oN)(e,"slide-up"),(0,tN.oN)(e,"slide-down"),(0,tq.Fm)(e,"move-up"),(0,tq.Fm)(e,"move-down")]};var t5=(0,tW.I$)("DatePicker",e=>{let t=(0,tY.IX)((0,tA.e)(e),t1(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[tJ(t),t0(t),t3(t),t6(t),tU(t),(0,tP.c)(e,{focusElCls:`${e.componentCls}-focused`})]},e=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,tA.T)(e)),t4(e)),(0,tj.w)(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50})),t7=c(35246);function t9(e,t){let c={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:c};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:c};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:c};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:c};default:return{points:"rtl"===e?["tr","br"]:["tl","bl"],offset:[0,4],overflow:c}}}function ce(e,t){let{allowClear:c=!0}=e,{clearIcon:n,removeIcon:a}=(0,t7.Z)(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"})),r=H.useMemo(()=>{if(!1===c)return!1;let e=!0===c?{}:c;return Object.assign({clearIcon:n},e)},[c,n]);return[r,a]}let[ct,cc]=["week","WeekPicker"],[cn,ca]=["month","MonthPicker"],[cr,cl]=["year","YearPicker"],[co,ci]=["quarter","QuarterPicker"],[cu,cs]=["time","TimePicker"];var cf=c(27691),ch=e=>H.createElement(cf.ZP,Object.assign({size:"small",type:"primary"},e));function cd(e){return(0,H.useMemo)(()=>Object.assign({button:ch},e),[e])}var cv=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c},cm=e=>{let t=(0,H.forwardRef)((t,c)=>{var n;let{prefixCls:a,getPopupContainer:r,components:l,className:o,style:i,placement:u,size:s,disabled:f,bordered:h=!0,placeholder:d,popupClassName:v,dropdownClassName:m,status:g,rootClassName:z,variant:p,picker:w}=t,M=cv(t,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),Z=H.useRef(null),{getPrefixCls:x,direction:L,getPopupContainer:R,rangePicker:y}=(0,H.useContext)(tL.E_),B=x("picker",a),{compactSize:S,compactItemClassnames:O}=(0,t$.ri)(B,L),k=x(),[$,T]=(0,tO.Z)("rangePicker",p,h),F=(0,ty.Z)(B),[I,A,D]=t5(B,F),[P]=ce(t,B),N=cd(l),q=(0,tB.Z)(e=>{var t;return null!==(t=null!=s?s:S)&&void 0!==t?t:e}),j=H.useContext(tR.Z),W=(0,H.useContext)(tS.aM),{hasFeedback:Y,status:_,feedbackIcon:K}=W,U=H.createElement(H.Fragment,null,w===cu?H.createElement(V.Z,null):H.createElement(b.Z,null),Y&&K);(0,H.useImperativeHandle)(c,()=>Z.current);let[G]=(0,tk.Z)("Calendar",tT.Z),X=Object.assign(Object.assign({},G),t.locale),[Q]=(0,tx.Cn)("DatePicker",null===(n=t.popupStyle)||void 0===n?void 0:n.zIndex);return I(H.createElement(tC.Z,{space:!0},H.createElement(tw,Object.assign({separator:H.createElement("span",{"aria-label":"to",className:`${B}-separator`},H.createElement(C.Z,null)),disabled:null!=f?f:j,ref:Z,popupAlign:t9(L,u),placement:u,placeholder:void 0!==d?d:"year"===w&&X.lang.yearPlaceholder?X.lang.rangeYearPlaceholder:"quarter"===w&&X.lang.quarterPlaceholder?X.lang.rangeQuarterPlaceholder:"month"===w&&X.lang.monthPlaceholder?X.lang.rangeMonthPlaceholder:"week"===w&&X.lang.weekPlaceholder?X.lang.rangeWeekPlaceholder:"time"===w&&X.timePickerLocale.placeholder?X.timePickerLocale.rangePlaceholder:X.lang.rangePlaceholder,suffixIcon:U,prevIcon:H.createElement("span",{className:`${B}-prev-icon`}),nextIcon:H.createElement("span",{className:`${B}-next-icon`}),superPrevIcon:H.createElement("span",{className:`${B}-super-prev-icon`}),superNextIcon:H.createElement("span",{className:`${B}-super-next-icon`}),transitionName:`${k}-slide-up`,picker:w},M,{className:E()({[`${B}-${q}`]:q,[`${B}-${$}`]:T},(0,tE.Z)(B,(0,tE.F)(_,g),Y),A,O,o,null==y?void 0:y.className,D,F,z),style:Object.assign(Object.assign({},null==y?void 0:y.style),i),locale:X.lang,prefixCls:B,getPopupContainer:r||R,generateConfig:e,components:N,direction:L,classNames:{popup:E()(A,v||m,D,F,z)},styles:{popup:Object.assign(Object.assign({},t.popupStyle),{zIndex:Q})},allowClear:P}))))});return t},cg=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c},cz=e=>{let t=(t,c)=>{let n=c===cs?"timePicker":"datePicker",a=(0,H.forwardRef)((c,a)=>{var r;let{prefixCls:l,getPopupContainer:o,components:i,style:u,className:s,rootClassName:f,size:h,bordered:d,placement:v,placeholder:m,popupClassName:g,dropdownClassName:z,disabled:p,status:w,variant:M,onCalendarChange:Z}=c,C=cg(c,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:x,direction:L,getPopupContainer:R,[n]:y}=(0,H.useContext)(tL.E_),B=x("picker",l),{compactSize:S,compactItemClassnames:O}=(0,t$.ri)(B,L),k=H.useRef(null),[$,T]=(0,tO.Z)("datePicker",M,d),F=(0,ty.Z)(B),[I,A,D]=t5(B,F);(0,H.useImperativeHandle)(a,()=>k.current);let P=t||c.picker,N=x(),{onSelect:q,multiple:j}=C,W=q&&"time"===t&&!j,[Y,_]=ce(c,B),K=cd(i),U=(0,tB.Z)(e=>{var t;return null!==(t=null!=h?h:S)&&void 0!==t?t:e}),G=H.useContext(tR.Z),X=(0,H.useContext)(tS.aM),{hasFeedback:Q,status:J,feedbackIcon:ee}=X,et=H.createElement(H.Fragment,null,"time"===P?H.createElement(V.Z,null):H.createElement(b.Z,null),Q&&ee),[ec]=(0,tk.Z)("DatePicker",tT.Z),en=Object.assign(Object.assign({},ec),c.locale),[ea]=(0,tx.Cn)("DatePicker",null===(r=c.popupStyle)||void 0===r?void 0:r.zIndex);return I(H.createElement(tC.Z,{space:!0},H.createElement(tV,Object.assign({ref:k,placeholder:void 0!==m?m:"year"===P&&en.lang.yearPlaceholder?en.lang.yearPlaceholder:"quarter"===P&&en.lang.quarterPlaceholder?en.lang.quarterPlaceholder:"month"===P&&en.lang.monthPlaceholder?en.lang.monthPlaceholder:"week"===P&&en.lang.weekPlaceholder?en.lang.weekPlaceholder:"time"===P&&en.timePickerLocale.placeholder?en.timePickerLocale.placeholder:en.lang.placeholder,suffixIcon:et,dropdownAlign:t9(L,v),placement:v,prevIcon:H.createElement("span",{className:`${B}-prev-icon`}),nextIcon:H.createElement("span",{className:`${B}-next-icon`}),superPrevIcon:H.createElement("span",{className:`${B}-super-prev-icon`}),superNextIcon:H.createElement("span",{className:`${B}-super-next-icon`}),transitionName:`${N}-slide-up`,picker:t,onCalendarChange:(e,t,c)=>{null==Z||Z(e,t,c),W&&q(e)}},{showToday:!0},C,{locale:en.lang,className:E()({[`${B}-${U}`]:U,[`${B}-${$}`]:T},(0,tE.Z)(B,(0,tE.F)(J,w),Q),A,O,null==y?void 0:y.className,s,D,F,f),style:Object.assign(Object.assign({},null==y?void 0:y.style),u),prefixCls:B,getPopupContainer:o||R,generateConfig:e,components:K,direction:L,disabled:null!=p?p:G,classNames:{popup:E()(A,D,F,f,g||z)},styles:{popup:Object.assign(Object.assign({},c.popupStyle),{zIndex:ea})},allowClear:Y,removeIcon:_}))))});return a},c=t(),n=t(ct,cc),a=t(cn,ca),r=t(cr,cl),l=t(co,ci),o=t(cu,cs);return{DatePicker:c,WeekPicker:n,MonthPicker:a,YearPicker:r,TimePicker:o,QuarterPicker:l}},cp=e=>{let{DatePicker:t,WeekPicker:c,MonthPicker:n,YearPicker:a,TimePicker:r,QuarterPicker:l}=cz(e),o=cm(e);return t.WeekPicker=c,t.MonthPicker=n,t.YearPicker=a,t.RangePicker=o,t.TimePicker=r,t.QuarterPicker=l,t};let cw=cp({getNow:function(){return a()()},getFixedDate:function(e){return a()(e,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(e){return e.endOf("month")},getWeekDay:function(e){var t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return e.year()},getMonth:function(e){return e.month()},getDate:function(e){return e.date()},getHour:function(e){return e.hour()},getMinute:function(e){return e.minute()},getSecond:function(e){return e.second()},getMillisecond:function(e){return e.millisecond()},addYear:function(e,t){return e.add(t,"year")},addMonth:function(e,t){return e.add(t,"month")},addDate:function(e,t){return e.add(t,"day")},setYear:function(e,t){return e.year(t)},setMonth:function(e,t){return e.month(t)},setDate:function(e,t){return e.date(t)},setHour:function(e,t){return e.hour(t)},setMinute:function(e,t){return e.minute(t)},setSecond:function(e,t){return e.second(t)},setMillisecond:function(e,t){return e.millisecond(t)},isAfter:function(e,t){return e.isAfter(t)},isValidate:function(e){return e.isValid()},locale:{getWeekFirstDay:function(e){return a()().locale(w(e)).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,t){return t.locale(w(e)).weekday(0)},getWeek:function(e,t){return t.locale(w(e)).week()},getShortWeekDays:function(e){return a()().locale(w(e)).localeData().weekdaysMin()},getShortMonths:function(e){return a()().locale(w(e)).localeData().monthsShort()},format:function(e,t,c){return t.locale(w(e)).format(c)},parse:function(e,t,c){for(var n=w(e),r=0;r{let{componentCls:t,sizePaddingEdgeHorizontal:c,colorSplit:n,lineWidth:a,textPaddingInline:r,orientationMargin:l,verticalMarginInline:u}=e;return{[t]:Object.assign(Object.assign({},(0,i.Wf)(e)),{borderBlockStart:`${(0,o.bf)(a)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:u,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,o.bf)(a)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,o.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,o.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,o.bf)(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:r},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,o.bf)(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,o.bf)(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:c}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:c}}})}};var h=(0,u.I$)("Divider",e=>{let t=(0,s.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[f(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),d=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c},v=e=>{let{getPrefixCls:t,direction:c,divider:a}=n.useContext(l.E_),{prefixCls:o,type:i="horizontal",orientation:u="center",orientationMargin:s,className:f,rootClassName:v,children:m,dashed:g,variant:z="solid",plain:p,style:w}=e,M=d(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),Z=t("divider",o),[H,b,V]=h(Z),C=!!m,x="left"===u&&null!=s,E="right"===u&&null!=s,L=r()(Z,null==a?void 0:a.className,b,V,`${Z}-${i}`,{[`${Z}-with-text`]:C,[`${Z}-with-text-${u}`]:C,[`${Z}-dashed`]:!!g,[`${Z}-${z}`]:"solid"!==z,[`${Z}-plain`]:!!p,[`${Z}-rtl`]:"rtl"===c,[`${Z}-no-default-orientation-margin-left`]:x,[`${Z}-no-default-orientation-margin-right`]:E},f,v),R=n.useMemo(()=>"number"==typeof s?s:/^\d+$/.test(s)?Number(s):s,[s]),y=Object.assign(Object.assign({},x&&{marginLeft:R}),E&&{marginRight:R});return H(n.createElement("div",Object.assign({className:L,style:Object.assign(Object.assign({},null==a?void 0:a.style),w)},M,{role:"separator"}),m&&"vertical"!==i&&n.createElement("span",{className:`${Z}-inner-text`,style:y},m)))}},52835:function(e,t,c){"use strict";let n;c.d(t,{D:function(){return g},Z:function(){return w}});var a=c(38497),r=c(73324),l=c(72097),o=c(86944),i=c(26869),u=c.n(i),s=c(55598),f=e=>!isNaN(parseFloat(e))&&isFinite(e),h=c(63346),d=c(45391),v=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c};let m={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},g=a.createContext({}),z=(n=0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`${e}${n+=1}`}),p=a.forwardRef((e,t)=>{let{prefixCls:c,className:n,trigger:i,children:p,defaultCollapsed:w=!1,theme:M="dark",style:Z={},collapsible:H=!1,reverseArrow:b=!1,width:V=200,collapsedWidth:C=80,zeroWidthTriggerStyle:x,breakpoint:E,onCollapse:L,onBreakpoint:R}=e,y=v(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:B}=(0,a.useContext)(d.V),[S,O]=(0,a.useState)("collapsed"in e?e.collapsed:w),[k,$]=(0,a.useState)(!1);(0,a.useEffect)(()=>{"collapsed"in e&&O(e.collapsed)},[e.collapsed]);let T=(t,c)=>{"collapsed"in e||O(t),null==L||L(t,c)},F=(0,a.useRef)();F.current=e=>{$(e.matches),null==R||R(e.matches),S!==e.matches&&T(e.matches,"responsive")},(0,a.useEffect)(()=>{let e;function t(e){return F.current(e)}if("undefined"!=typeof window){let{matchMedia:c}=window;if(c&&E&&E in m){e=c(`screen and (max-width: ${m[E]})`);try{e.addEventListener("change",t)}catch(c){e.addListener(t)}t(e)}}return()=>{try{null==e||e.removeEventListener("change",t)}catch(c){null==e||e.removeListener(t)}}},[E]),(0,a.useEffect)(()=>{let e=z("ant-sider-");return B.addSider(e),()=>B.removeSider(e)},[]);let I=()=>{T(!S,"clickTrigger")},{getPrefixCls:A}=(0,a.useContext)(h.E_),D=a.useMemo(()=>({siderCollapsed:S}),[S]);return a.createElement(g.Provider,{value:D},(()=>{let e=A("layout-sider",c),h=(0,s.Z)(y,["collapsed"]),d=S?C:V,v=f(d)?`${d}px`:String(d),m=0===parseFloat(String(C||0))?a.createElement("span",{onClick:I,className:u()(`${e}-zero-width-trigger`,`${e}-zero-width-trigger-${b?"right":"left"}`),style:x},i||a.createElement(r.Z,null)):null,g={expanded:b?a.createElement(o.Z,null):a.createElement(l.Z,null),collapsed:b?a.createElement(l.Z,null):a.createElement(o.Z,null)},z=S?"collapsed":"expanded",w=g[z],E=null!==i?m||a.createElement("div",{className:`${e}-trigger`,onClick:I,style:{width:v}},i||w):null,L=Object.assign(Object.assign({},Z),{flex:`0 0 ${v}`,maxWidth:v,minWidth:v,width:v}),R=u()(e,`${e}-${M}`,{[`${e}-collapsed`]:!!S,[`${e}-has-trigger`]:H&&null!==i&&!m,[`${e}-below`]:!!k,[`${e}-zero-width`]:0===parseFloat(v)},n);return a.createElement("aside",Object.assign({className:R},h,{style:L,ref:t}),a.createElement("div",{className:`${e}-children`},p),H||k&&m?E:null)})())});var w=p},45391:function(e,t,c){"use strict";c.d(t,{V:function(){return a}});var n=c(38497);let a=n.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},41993:function(e,t,c){"use strict";c.d(t,{default:function(){return C}});var n=c(72991),a=c(38497),r=c(26869),l=c.n(r),o=c(55598),i=c(63346),u=c(45391),s=c(10469),f=c(52835),h=c(38083),d=c(90102),v=e=>{let{componentCls:t,bodyBg:c,lightSiderBg:n,lightTriggerBg:a,lightTriggerColor:r}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:r,background:a},[`${t}-sider-zero-width-trigger`]:{color:r,background:a,border:`1px solid ${c}`,borderInlineStart:0}}}};let m=e=>{let{antCls:t,componentCls:c,colorText:n,triggerColor:a,footerBg:r,triggerBg:l,headerHeight:o,headerPadding:i,headerColor:u,footerPadding:s,triggerHeight:f,zeroTriggerHeight:d,zeroTriggerWidth:m,motionDurationMid:g,motionDurationSlow:z,fontSize:p,borderRadius:w,bodyBg:M,headerBg:Z,siderBg:H}=e;return{[c]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:M,"&, *":{boxSizing:"border-box"},[`&${c}-has-sider`]:{flexDirection:"row",[`> ${c}, > ${c}-content`]:{width:0}},[`${c}-header, &${c}-footer`]:{flex:"0 0 auto"},[`${c}-sider`]:{position:"relative",minWidth:0,background:H,transition:`all ${g}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:a,lineHeight:(0,h.bf)(f),textAlign:"center",background:l,cursor:"pointer",transition:`all ${g}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:o,insetInlineEnd:e.calc(m).mul(-1).equal(),zIndex:1,width:m,height:d,color:a,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:H,borderStartStartRadius:0,borderStartEndRadius:w,borderEndEndRadius:w,borderEndStartRadius:0,cursor:"pointer",transition:`background ${z} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${z}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(m).mul(-1).equal(),borderStartStartRadius:w,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:w}}}}},v(e)),{"&-rtl":{direction:"rtl"}}),[`${c}-header`]:{height:o,padding:i,color:u,lineHeight:(0,h.bf)(o),background:Z,[`${t}-menu`]:{lineHeight:"inherit"}},[`${c}-footer`]:{padding:s,color:n,fontSize:p,background:r},[`${c}-content`]:{flex:"auto",color:n,minHeight:0}}};var g=(0,d.I$)("Layout",e=>[m(e)],e=>{let{colorBgLayout:t,controlHeight:c,controlHeightLG:n,colorText:a,controlHeightSM:r,marginXXS:l,colorTextLightSolid:o,colorBgContainer:i}=e,u=1.25*n;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*c,headerPadding:`0 ${u}px`,headerColor:a,footerPadding:`${r}px ${u}px`,footerBg:t,siderBg:"#001529",triggerHeight:n+2*l,triggerBg:"#002140",triggerColor:o,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:i,lightTriggerBg:i,lightTriggerColor:a}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),z=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c};function p(e){let{suffixCls:t,tagName:c,displayName:n}=e;return e=>{let n=a.forwardRef((n,r)=>a.createElement(e,Object.assign({ref:r,suffixCls:t,tagName:c},n)));return n}}let w=a.forwardRef((e,t)=>{let{prefixCls:c,suffixCls:n,className:r,tagName:o}=e,u=z(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=a.useContext(i.E_),f=s("layout",c),[h,d,v]=g(f),m=n?`${f}-${n}`:f;return h(a.createElement(o,Object.assign({className:l()(c||m,r,d,v),ref:t},u)))}),M=a.forwardRef((e,t)=>{let{direction:c}=a.useContext(i.E_),[r,h]=a.useState([]),{prefixCls:d,className:v,rootClassName:m,children:p,hasSider:w,tagName:M,style:Z}=e,H=z(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),b=(0,o.Z)(H,["suffixCls"]),{getPrefixCls:V,layout:C}=a.useContext(i.E_),x=V("layout",d),E=function(e,t,c){if("boolean"==typeof c)return c;if(e.length)return!0;let n=(0,s.Z)(t);return n.some(e=>e.type===f.Z)}(r,p,w),[L,R,y]=g(x),B=l()(x,{[`${x}-has-sider`]:E,[`${x}-rtl`]:"rtl"===c},null==C?void 0:C.className,v,m,R,y),S=a.useMemo(()=>({siderHook:{addSider:e=>{h(t=>[].concat((0,n.Z)(t),[e]))},removeSider:e=>{h(t=>t.filter(t=>t!==e))}}}),[]);return L(a.createElement(u.V.Provider,{value:S},a.createElement(M,Object.assign({ref:t,className:B,style:Object.assign(Object.assign({},null==C?void 0:C.style),Z)},b),p)))}),Z=p({tagName:"div",displayName:"Layout"})(M),H=p({suffixCls:"header",tagName:"header",displayName:"Header"})(w),b=p({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(w),V=p({suffixCls:"content",tagName:"main",displayName:"Content"})(w);Z.Header=H,Z.Footer=b,Z.Content=V,Z.Sider=f.Z,Z._InternalSiderContext=f.D;var C=Z},13419:function(e,t,c){"use strict";c.d(t,{Z:function(){return C}});var n=c(38497),a=c(71836),r=c(26869),l=c.n(r),o=c(77757),i=c(55598),u=c(63346),s=c(62971),f=c(4558),h=c(74156),d=c(27691),v=c(5496),m=c(61261),g=c(44306),z=c(83387),p=c(90102);let w=e=>{let{componentCls:t,iconCls:c,antCls:n,zIndexPopup:a,colorText:r,colorWarning:l,marginXXS:o,marginXS:i,fontSize:u,fontWeightStrong:s,colorTextHeading:f}=e;return{[t]:{zIndex:a,[`&${n}-popover`]:{fontSize:u},[`${t}-message`]:{marginBottom:i,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${c}`]:{color:l,fontSize:u,lineHeight:1,marginInlineEnd:i},[`${t}-title`]:{fontWeight:s,color:f,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:o,color:r}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:i}}}}};var M=(0,p.I$)("Popconfirm",e=>w(e),e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),Z=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c};let H=e=>{let{prefixCls:t,okButtonProps:c,cancelButtonProps:r,title:l,description:o,cancelText:i,okText:s,okType:z="primary",icon:p=n.createElement(a.Z,null),showCancel:w=!0,close:M,onConfirm:Z,onCancel:H,onPopupClick:b}=e,{getPrefixCls:V}=n.useContext(u.E_),[C]=(0,m.Z)("Popconfirm",g.Z.Popconfirm),x=(0,h.Z)(l),E=(0,h.Z)(o);return n.createElement("div",{className:`${t}-inner-content`,onClick:b},n.createElement("div",{className:`${t}-message`},p&&n.createElement("span",{className:`${t}-message-icon`},p),n.createElement("div",{className:`${t}-message-text`},x&&n.createElement("div",{className:`${t}-title`},x),E&&n.createElement("div",{className:`${t}-description`},E))),n.createElement("div",{className:`${t}-buttons`},w&&n.createElement(d.ZP,Object.assign({onClick:H,size:"small"},r),i||(null==C?void 0:C.cancelText)),n.createElement(f.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,v.nx)(z)),c),actionFn:Z,close:M,prefixCls:V("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},s||(null==C?void 0:C.okText))))};var b=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c};let V=n.forwardRef((e,t)=>{var c,r;let{prefixCls:f,placement:h="top",trigger:d="click",okType:v="primary",icon:m=n.createElement(a.Z,null),children:g,overlayClassName:z,onOpenChange:p,onVisibleChange:w}=e,Z=b(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:V}=n.useContext(u.E_),[C,x]=(0,o.Z)(!1,{value:null!==(c=e.open)&&void 0!==c?c:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),E=(e,t)=>{x(e,!0),null==w||w(e),null==p||p(e,t)},L=V("popconfirm",f),R=l()(L,z),[y]=M(L);return y(n.createElement(s.Z,Object.assign({},(0,i.Z)(Z,["title"]),{trigger:d,placement:h,onOpenChange:(t,c)=>{let{disabled:n=!1}=e;n||E(t,c)},open:C,ref:t,overlayClassName:R,content:n.createElement(H,Object.assign({okType:v,icon:m},e,{prefixCls:L,close:e=>{E(!1,e)},onConfirm:t=>{var c;return null===(c=e.onConfirm)||void 0===c?void 0:c.call(void 0,t)},onCancel:t=>{var c;E(!1,t),null===(c=e.onCancel)||void 0===c||c.call(void 0,t)}})),"data-popover-inject":!0}),g))});V._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,placement:c,className:a,style:r}=e,o=Z(e,["prefixCls","placement","className","style"]),{getPrefixCls:i}=n.useContext(u.E_),s=i("popconfirm",t),[f]=M(s);return f(n.createElement(z.ZP,{placement:c,className:l()(s,a),style:r,content:n.createElement(H,Object.assign({prefixCls:s},o))}))};var C=V},10120:function(e,t,c){"use strict";var n=c(38497),a=c(99851),r=c(90564),l=c(25641),o=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c};let{TimePicker:i,RangePicker:u}=r.default,s=n.forwardRef((e,t)=>n.createElement(u,Object.assign({},e,{picker:"time",mode:void 0,ref:t}))),f=n.forwardRef((e,t)=>{var{addon:c,renderExtraFooter:a,variant:r,bordered:u}=e,s=o(e,["addon","renderExtraFooter","variant","bordered"]);let[f]=(0,l.Z)("timePicker",r,u),h=n.useMemo(()=>a||c||void 0,[c,a]);return n.createElement(i,Object.assign({},s,{mode:void 0,ref:t,renderExtraFooter:h,variant:f}))}),h=(0,a.Z)(f,"picker");f._InternalPanelDoNotUseOrYouWillBeFired=h,f.RangePicker=s,f._InternalPanelDoNotUseOrYouWillBeFired=h,t.Z=f},4587:function(e,t,c){"use strict";c.d(t,{Z:function(){return ed}});var n=c(38497),a=c(26869),r=c.n(a),l=c(42096),o=c(72991),i=c(4247),u=c(65347),s=c(10921),f=c(14433),h=c(79580),d=c(96320),v=c(47940),m=c(77757),g=c(89842),z=function(e){var t=n.useRef({valueLabels:new Map});return n.useMemo(function(){var c=t.current.valueLabels,n=new Map,a=e.map(function(e){var t,a=e.value,r=null!==(t=e.label)&&void 0!==t?t:c.get(a);return n.set(a,r),(0,i.Z)((0,i.Z)({},e),{},{label:r})});return t.current.valueLabels=n,[a]},[e])},p=c(54328),w=c(65148),M=c(10469),Z=function(){return null},H=["children","value"];function b(e){if(!e)return e;var t=(0,i.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,g.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}var V=function(e,t,c){var a=c.treeNodeFilterProp,r=c.filterTreeNode,l=c.fieldNames.children;return n.useMemo(function(){if(!t||!1===r)return e;if("function"==typeof r)c=r;else{var c,n=t.toUpperCase();c=function(e,t){return String(t[a]).toUpperCase().includes(n)}}return function e(n){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n.reduce(function(n,r){var o=r[l],u=a||c(t,b(r)),s=e(o||[],u);return(u||s.length)&&n.push((0,i.Z)((0,i.Z)({},r),{},(0,w.Z)({isLeaf:void 0},l,s))),n},[])}(e)},[e,t,l,a,r])};function C(e){var t=n.useRef();return t.current=e,n.useCallback(function(){return t.current.apply(t,arguments)},[])}var x=n.createContext(null),E=c(60569),L=c(16956),R=c(38263),y=n.createContext(null);function B(e){return!e||e.disabled||e.disableCheckbox||!1===e.checkable}var S={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},O=n.forwardRef(function(e,t){var c=(0,h.lk)(),a=c.prefixCls,r=c.multiple,i=c.searchValue,s=c.toggleOpen,f=c.open,d=c.notFoundContent,v=n.useContext(y),m=v.virtual,g=v.listHeight,z=v.listItemHeight,p=v.listItemScrollOffset,w=v.treeData,M=v.fieldNames,Z=v.onSelect,H=v.dropdownMatchSelectWidth,b=v.treeExpandAction,V=v.treeTitleRender,C=v.onPopupScroll,O=n.useContext(x),k=O.checkable,$=O.checkedKeys,T=O.halfCheckedKeys,F=O.treeExpandedKeys,I=O.treeDefaultExpandAll,A=O.treeDefaultExpandedKeys,D=O.onTreeExpand,P=O.treeIcon,N=O.showTreeIcon,q=O.switcherIcon,j=O.treeLine,W=O.treeNodeFilterProp,Y=O.loadData,_=O.treeLoadedKeys,K=O.treeMotion,U=O.onTreeLoad,G=O.keyEntities,X=n.useRef(),Q=(0,R.Z)(function(){return w},[f,w],function(e,t){return t[0]&&e[1]!==t[1]}),J=n.useState(null),ee=(0,u.Z)(J,2),et=ee[0],ec=ee[1],en=G[et],ea=n.useMemo(function(){return k?{checked:$,halfChecked:T}:null},[k,$,T]);n.useEffect(function(){if(f&&!r&&$.length){var e;null===(e=X.current)||void 0===e||e.scrollTo({key:$[0]}),ec($[0])}},[f]);var er=String(i).toLowerCase(),el=n.useState(A),eo=(0,u.Z)(el,2),ei=eo[0],eu=eo[1],es=n.useState(null),ef=(0,u.Z)(es,2),eh=ef[0],ed=ef[1],ev=n.useMemo(function(){return F?(0,o.Z)(F):i?eh:ei},[ei,eh,F,i]);n.useEffect(function(){if(i){var e;ed((e=[],!function t(c){c.forEach(function(c){var n=c[M.children];n&&(e.push(c[M.value]),t(n))})}(w),e))}},[i]);var em=function(e){e.preventDefault()},eg=function(e,t){var c=t.node;!(k&&B(c))&&(Z(c.key,{selected:!$.includes(c.key)}),r||s(!1))};if(n.useImperativeHandle(t,function(){var e;return{scrollTo:null===(e=X.current)||void 0===e?void 0:e.scrollTo,onKeyDown:function(e){var t;switch(e.which){case L.Z.UP:case L.Z.DOWN:case L.Z.LEFT:case L.Z.RIGHT:null===(t=X.current)||void 0===t||t.onKeyDown(e);break;case L.Z.ENTER:if(en){var c=(null==en?void 0:en.node)||{},n=c.selectable,a=c.value;!1!==n&&eg(null,{node:{key:et},selected:!$.includes(a)})}break;case L.Z.ESC:s(!1)}},onKeyUp:function(){}}}),0===Q.length)return n.createElement("div",{role:"listbox",className:"".concat(a,"-empty"),onMouseDown:em},d);var ez={fieldNames:M};return _&&(ez.loadedKeys=_),ev&&(ez.expandedKeys=ev),n.createElement("div",{onMouseDown:em},en&&f&&n.createElement("span",{style:S,"aria-live":"assertive"},en.node.value),n.createElement(E.Z,(0,l.Z)({ref:X,focusable:!1,prefixCls:"".concat(a,"-tree"),treeData:Q,height:g,itemHeight:z,itemScrollOffset:p,virtual:!1!==m&&!1!==H,multiple:r,icon:P,showIcon:N,switcherIcon:q,showLine:j,loadData:i?null:Y,motion:K,activeKey:et,checkable:k,checkStrictly:!0,checkedKeys:ea,selectedKeys:k?[]:$,defaultExpandAll:I,titleRender:V},ez,{onActiveChange:ec,onSelect:eg,onCheck:eg,onExpand:function(e){eu(e),ed(e),D&&D(e)},onLoad:U,filterTreeNode:function(e){return!!er&&String(e[W]).toLowerCase().includes(er)},expandAction:b,onScroll:C})))}),k="SHOW_ALL",$="SHOW_PARENT",T="SHOW_CHILD";function F(e,t,c,n){var a=new Set(e);return t===T?e.filter(function(e){var t=c[e];return!(t&&t.children&&t.children.some(function(e){var t=e.node;return a.has(t[n.value])})&&t.children.every(function(e){var t=e.node;return B(t)||a.has(t[n.value])}))}):t===$?e.filter(function(e){var t=c[e],n=t?t.parent:null;return!(n&&!B(n.node)&&a.has(n.key))}):e}var I=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"],A=n.forwardRef(function(e,t){var c=e.id,a=e.prefixCls,r=e.value,w=e.defaultValue,E=e.onChange,L=e.onSelect,R=e.onDeselect,B=e.searchValue,S=e.inputValue,$=e.onSearch,A=e.autoClearSearchValue,D=void 0===A||A,P=e.filterTreeNode,N=e.treeNodeFilterProp,q=void 0===N?"value":N,j=e.showCheckedStrategy,W=e.treeNodeLabelProp,Y=e.multiple,_=e.treeCheckable,K=e.treeCheckStrictly,U=e.labelInValue,G=e.fieldNames,X=e.treeDataSimpleMode,Q=e.treeData,J=e.children,ee=e.loadData,et=e.treeLoadedKeys,ec=e.onTreeLoad,en=e.treeDefaultExpandAll,ea=e.treeExpandedKeys,er=e.treeDefaultExpandedKeys,el=e.onTreeExpand,eo=e.treeExpandAction,ei=e.virtual,eu=e.listHeight,es=void 0===eu?200:eu,ef=e.listItemHeight,eh=void 0===ef?20:ef,ed=e.listItemScrollOffset,ev=void 0===ed?0:ed,em=e.onDropdownVisibleChange,eg=e.dropdownMatchSelectWidth,ez=void 0===eg||eg,ep=e.treeLine,ew=e.treeIcon,eM=e.showTreeIcon,eZ=e.switcherIcon,eH=e.treeMotion,eb=e.treeTitleRender,eV=e.onPopupScroll,eC=(0,s.Z)(e,I),ex=(0,d.ZP)(c),eE=_&&!K,eL=_||K,eR=K||U,ey=eL||Y,eB=(0,m.Z)(w,{value:r}),eS=(0,u.Z)(eB,2),eO=eS[0],ek=eS[1],e$=n.useMemo(function(){return _?j||T:k},[j,_]),eT=n.useMemo(function(){var e,t,c,n,a;return t=(e=G||{}).label,c=e.value,n=e.children,{_title:t?[t]:["title","label"],value:a=c||"value",key:a,children:n||"children"}},[JSON.stringify(G)]),eF=(0,m.Z)("",{value:void 0!==B?B:S,postState:function(e){return e||""}}),eI=(0,u.Z)(eF,2),eA=eI[0],eD=eI[1],eP=n.useMemo(function(){if(Q){var e,t,c,a,r,l;return X?(t=(e=(0,i.Z)({id:"id",pId:"pId",rootPId:null},!0!==X?X:{})).id,c=e.pId,a=e.rootPId,r={},l=[],Q.map(function(e){var c=(0,i.Z)({},e),n=c[t];return r[n]=c,c.key=c.key||n,c}).forEach(function(e){var t=e[c],n=r[t];n&&(n.children=n.children||[],n.children.push(e)),t!==a&&(n||null!==a)||l.push(e)}),l):Q}return function e(t){return(0,M.Z)(t).map(function(t){if(!n.isValidElement(t)||!t.type)return null;var c=t.key,a=t.props,r=a.children,l=a.value,o=(0,s.Z)(a,H),u=(0,i.Z)({key:c,value:l},o),f=e(r);return f.length&&(u.children=f),u}).filter(function(e){return e})}(J)},[J,X,Q]),eN=n.useMemo(function(){return(0,p.I8)(eP,{fieldNames:eT,initWrapper:function(e){return(0,i.Z)((0,i.Z)({},e),{},{valueEntities:new Map})},processEntity:function(e,t){var c=e.node[eT.value];t.valueEntities.set(c,e)}})},[eP,eT]),eq=eN.keyEntities,ej=eN.valueEntities,eW=n.useCallback(function(e){var t=[],c=[];return e.forEach(function(e){ej.has(e)?c.push(e):t.push(e)}),{missingRawValues:t,existRawValues:c}},[ej]),eY=V(eP,eA,{fieldNames:eT,treeNodeFilterProp:q,filterTreeNode:P}),e_=n.useCallback(function(e){if(e){if(W)return e[W];for(var t=eT._title,c=0;c1&&void 0!==arguments[1]?arguments[1]:"0",u=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return a.map(function(a,s){var f="".concat(r,"-").concat(s),h=a[l.value],d=c.includes(h),v=e(a[l.children]||[],f,d),m=n.createElement(Z,a,v.map(function(e){return e.node}));if(t===h&&(o=m),d){var g={pos:f,node:m,children:v};return u||i.push(g),g}return null}).filter(function(e){return e})}(a),i.sort(function(e,t){var n=e.node.props.value,a=t.node.props.value;return c.indexOf(n)-c.indexOf(a)}))}Object.defineProperty(e,"triggerNode",{get:function(){return(0,g.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),u(),o}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return((0,g.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),u(),r)?i:i.map(function(e){return e.node})}})}(h,l,e,eP,d,eT),eL?h.checked=i:h.selected=i;var v=eR?f:f.map(function(e){return e.value});E(ey?v:v[0],eR?null:f.map(function(e){return e.label}),h)}}),e9=n.useCallback(function(e,t){var c=t.selected,n=t.source,a=eq[e],r=null==a?void 0:a.node,l=null!==(u=null==r?void 0:r[eT.value])&&void 0!==u?u:e;if(ey){var i=c?[].concat((0,o.Z)(e4),[l]):e8.filter(function(e){return e!==l});if(eE){var u,s,f=eW(i),h=f.missingRawValues,d=f.existRawValues.map(function(e){return ej.get(e).key});s=c?(0,v.S)(d,!0,eq).checkedKeys:(0,v.S)(d,{checked:!1,halfCheckedKeys:e6},eq).checkedKeys,i=[].concat((0,o.Z)(h),(0,o.Z)(s.map(function(e){return eq[e].node[eT.value]})))}e7(i,{selected:c,triggerValue:l},n||"option")}else e7([l],{selected:!0,triggerValue:l},"option");c||!ey?null==L||L(l,b(r)):null==R||R(l,b(r))},[eW,ej,eq,eT,ey,e4,e7,eE,L,R,e8,e6]),te=n.useCallback(function(e){if(em){var t={};Object.defineProperty(t,"documentClickClose",{get:function(){return(0,g.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),em(e,t)}},[em]),tt=C(function(e,t){var c=e.map(function(e){return e.value});if("clear"===t.type){e7(c,{},"selection");return}t.values.length&&e9(t.values[0].value,{selected:!1,source:"selection"})}),tc=n.useMemo(function(){return{virtual:ei,dropdownMatchSelectWidth:ez,listHeight:es,listItemHeight:eh,listItemScrollOffset:ev,treeData:eY,fieldNames:eT,onSelect:e9,treeExpandAction:eo,treeTitleRender:eb,onPopupScroll:eV}},[ei,ez,es,eh,ev,eY,eT,e9,eo,eb,eV]),tn=n.useMemo(function(){return{checkable:eL,loadData:ee,treeLoadedKeys:et,onTreeLoad:ec,checkedKeys:e8,halfCheckedKeys:e6,treeDefaultExpandAll:en,treeExpandedKeys:ea,treeDefaultExpandedKeys:er,onTreeExpand:el,treeIcon:ew,treeMotion:eH,showTreeIcon:eM,switcherIcon:eZ,treeLine:ep,treeNodeFilterProp:q,keyEntities:eq}},[eL,ee,et,ec,e8,e6,en,ea,er,el,ew,eH,eM,eZ,ep,q,eq]);return n.createElement(y.Provider,{value:tc},n.createElement(x.Provider,{value:tn},n.createElement(h.Ac,(0,l.Z)({ref:t},eC,{id:ex,prefixCls:void 0===a?"rc-tree-select":a,mode:ey?"multiple":void 0,displayValues:e5,onDisplayValuesChange:tt,searchValue:eA,onSearch:function(e){eD(e),null==$||$(e)},OptionList:O,emptyOptions:!eP.length,onDropdownVisibleChange:te,dropdownMatchSelectWidth:ez}))))});A.TreeNode=Z,A.SHOW_ALL=k,A.SHOW_PARENT=$,A.SHOW_CHILD=T;var D=c(55598),P=c(58416),N=c(17383),q=c(99851),j=c(40690),W=c(63346),Y=c(10917),_=c(3482),K=c(95227),U=c(82014),G=c(13859),X=c(25641),Q=c(79420),J=c(26489),ee=c(35246),et=c(8817),ec=c(80214),en=c(69545),ea=c(38083),er=c(54833),el=c(74934),eo=c(90102),ei=c(81326);let eu=e=>{let{componentCls:t,treePrefixCls:c,colorBgElevated:n}=e,a=`.${c}`;return[{[`${t}-dropdown`]:[{padding:`${(0,ea.bf)(e.paddingXS)} ${(0,ea.bf)(e.calc(e.paddingXS).div(2).equal())}`},(0,ei.Yk)(c,(0,el.IX)(e,{colorBgContainer:n})),{[a]:{borderRadius:0,[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-treenode`]:{[`${a}-node-content-wrapper`]:{flex:"auto"}}}}},(0,er.C2)(`${c}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${a}-switcher${a}-switcher_close`]:{[`${a}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};var es=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c};let ef=n.forwardRef((e,t)=>{var c;let a;let{prefixCls:l,size:o,disabled:i,bordered:u=!0,className:s,rootClassName:f,treeCheckable:h,multiple:d,listHeight:v=256,listItemHeight:m=26,placement:g,notFoundContent:z,switcherIcon:p,treeLine:w,getPopupContainer:M,popupClassName:Z,dropdownClassName:H,treeIcon:b=!1,transitionName:V,choiceTransitionName:C="",status:x,treeExpandAction:E,builtinPlacements:L,dropdownMatchSelectWidth:R,popupMatchSelectWidth:y,allowClear:B,variant:S,dropdownStyle:O,tagRender:k}=e,$=es(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]),{getPopupContainer:T,getPrefixCls:F,renderEmpty:I,direction:q,virtual:ea,popupMatchSelectWidth:er,popupOverflow:ef}=n.useContext(W.E_),eh=F(),ed=F("select",l),ev=F("select-tree",l),em=F("tree-select",l),{compactSize:eg,compactItemClassnames:ez}=(0,ec.ri)(ed,q),ep=(0,K.Z)(ed),ew=(0,K.Z)(em),[eM,eZ,eH]=(0,J.Z)(ed,ep),[eb]=(0,eo.I$)("TreeSelect",e=>{let t=(0,el.IX)(e,{treePrefixCls:ev});return[eu(t)]},ei.TM)(em,ew),[eV,eC]=(0,X.Z)("treeSelect",S,u),ex=r()(Z||H,`${em}-dropdown`,{[`${em}-dropdown-rtl`]:"rtl"===q},f,eH,ep,ew,eZ),eE=!!(h||d),eL=(0,et.Z)(e.suffixIcon,e.showArrow),eR=null!==(c=null!=y?y:R)&&void 0!==c?c:er,{status:ey,hasFeedback:eB,isFormItemInput:eS,feedbackIcon:eO}=n.useContext(G.aM),ek=(0,j.F)(ey,x),{suffixIcon:e$,removeIcon:eT,clearIcon:eF}=(0,ee.Z)(Object.assign(Object.assign({},$),{multiple:eE,showSuffixIcon:eL,hasFeedback:eB,feedbackIcon:eO,prefixCls:ed,componentName:"TreeSelect"}));a=void 0!==z?z:(null==I?void 0:I("Select"))||n.createElement(Y.Z,{componentName:"Select"});let eI=(0,D.Z)($,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),eA=n.useMemo(()=>void 0!==g?g:"rtl"===q?"bottomRight":"bottomLeft",[g,q]),eD=(0,U.Z)(e=>{var t;return null!==(t=null!=o?o:eg)&&void 0!==t?t:e}),eP=n.useContext(_.Z),eN=r()(!l&&em,{[`${ed}-lg`]:"large"===eD,[`${ed}-sm`]:"small"===eD,[`${ed}-rtl`]:"rtl"===q,[`${ed}-${eV}`]:eC,[`${ed}-in-form-item`]:eS},(0,j.Z)(ed,ek,eB),ez,s,f,eH,ep,ew,eZ),[eq]=(0,P.Cn)("SelectLike",null==O?void 0:O.zIndex),ej=n.createElement(A,Object.assign({virtual:ea,disabled:null!=i?i:eP},eI,{dropdownMatchSelectWidth:eR,builtinPlacements:(0,Q.Z)(L,ef),ref:t,prefixCls:ed,className:eN,listHeight:v,listItemHeight:m,treeCheckable:h?n.createElement("span",{className:`${ed}-tree-checkbox-inner`}):h,treeLine:!!w,suffixIcon:e$,multiple:eE,placement:eA,removeIcon:eT,allowClear:!0===B?{clearIcon:eF}:B,switcherIcon:e=>n.createElement(en.Z,{prefixCls:ev,switcherIcon:p,treeNodeProps:e,showLine:w}),showTreeIcon:b,notFoundContent:a,getPopupContainer:M||T,treeMotion:null,dropdownClassName:ex,dropdownStyle:Object.assign(Object.assign({},O),{zIndex:eq}),choiceTransitionName:(0,N.m)(eh,"",C),transitionName:(0,N.m)(eh,"slide-up",V),treeExpandAction:E,tagRender:eE?k:void 0}));return eM(eb(ej))}),eh=(0,q.Z)(ef);ef.TreeNode=Z,ef.SHOW_ALL=k,ef.SHOW_PARENT=$,ef.SHOW_CHILD=T,ef._InternalPanelDoNotUseOrYouWillBeFired=eh;var ed=ef},92869:function(e){var t,c,n,a,r,l,o,i,u,s,f,h,d,v,m,g,z,p,w,M,Z,H;e.exports=(t="millisecond",c="second",n="minute",a="hour",r="week",l="month",o="quarter",i="year",u="date",s="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(e,t,c){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(c)+e},(m={})[v="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],c=e%100;return"["+e+(t[(c-20)%10]||t[c]||"th")+"]"}},g="$isDayjsObject",z=function(e){return e instanceof Z||!(!e||!e[g])},p=function e(t,c,n){var a;if(!t)return v;if("string"==typeof t){var r=t.toLowerCase();m[r]&&(a=r),c&&(m[r]=c,a=r);var l=t.split("-");if(!a&&l.length>1)return e(l[0])}else{var o=t.name;m[o]=t,a=o}return!n&&a&&(v=a),a||!n&&v},w=function(e,t){if(z(e))return e.clone();var c="object"==typeof t?t:{};return c.date=e,c.args=arguments,new Z(c)},(M={s:d,z:function(e){var t=-e.utcOffset(),c=Math.abs(t);return(t<=0?"+":"-")+d(Math.floor(c/60),2,"0")+":"+d(c%60,2,"0")},m:function e(t,c){if(t.date()68?1900:2e3)},i=function(e){return function(t){this[e]=+t}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e||"Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),c=60*t[1]+(+t[2]||0);return 0===c?0:"+"===t[0]?-c:c}(e)}],s=function(e){var t=l[e];return t&&(t.indexOf?t:t.s.concat(t.f))},f=function(e,t){var c,n=l.meridiem;if(n){for(var a=1;a<=24;a+=1)if(e.indexOf(n(a,0,t))>-1){c=a>12;break}}else c=e===(t?"pm":"PM");return c},h={A:[r,function(e){this.afternoon=f(e,!1)}],a:[r,function(e){this.afternoon=f(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[a,i("seconds")],ss:[a,i("seconds")],m:[a,i("minutes")],mm:[a,i("minutes")],H:[a,i("hours")],h:[a,i("hours")],HH:[a,i("hours")],hh:[a,i("hours")],D:[a,i("day")],DD:[n,i("day")],Do:[r,function(e){var t=l.ordinal,c=e.match(/\d+/);if(this.day=c[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,"")===e&&(this.day=n)}],M:[a,i("month")],MM:[n,i("month")],MMM:[r,function(e){var t=s("months"),c=(s("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(c<1)throw Error();this.month=c%12||c}],MMMM:[r,function(e){var t=s("months").indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,i("year")],YY:[n,function(e){this.year=o(e)}],YYYY:[/\d{4}/,i("year")],Z:u,ZZ:u},function(e,n,a){a.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(o=e.parseTwoDigitYear);var r=n.prototype,i=r.parse;r.parse=function(e){var n=e.date,r=e.utc,o=e.args;this.$u=r;var u=o[1];if("string"==typeof u){var s=!0===o[2],f=!0===o[3],d=o[2];f&&(d=o[2]),l=this.$locale(),!s&&d&&(l=a.Ls[d]),this.$d=function(e,n,a){try{if(["x","X"].indexOf(n)>-1)return new Date(("X"===n?1e3:1)*e);var r=(function(e){var n,a;n=e,a=l&&l.formats;for(var r=(e=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,c,n){var r=n&&n.toUpperCase();return c||a[n]||t[n]||a[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,c){return t||c.slice(1)})})).match(c),o=r.length,i=0;i0?i-1:g.getMonth());var M=s||0,Z=f||0,H=d||0,b=v||0;return m?new Date(Date.UTC(p,w,z,M,Z,H,b+60*m.offset*1e3)):a?new Date(Date.UTC(p,w,z,M,Z,H,b)):new Date(p,w,z,M,Z,H,b)}catch(e){return new Date("")}}(n,u,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),(s||f)&&n!=this.format(u)&&(this.$d=new Date("")),l={}}else if(u instanceof Array)for(var v=u.length,m=1;m<=v;m+=1){o[1]=u[m-1];var g=a.apply(this,o);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}m===v&&(this.$d=new Date(""))}else i.call(this,e)}})},47555:function(e){e.exports=function(e,t,c){var n=t.prototype,a=function(e){return e&&(e.indexOf?e:e.s)},r=function(e,t,c,n,r){var l=e.name?e:e.$locale(),o=a(l[t]),i=a(l[c]),u=o||i.map(function(e){return e.slice(0,n)});if(!r)return u;var s=l.weekStart;return u.map(function(e,t){return u[(t+(s||0))%7]})},l=function(){return c.Ls[c.locale()]},o=function(e,t){return e.formats[t]||e.formats[t.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,c){return t||c.slice(1)})},i=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):r(e,"months")},monthsShort:function(t){return t?t.format("MMM"):r(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):r(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):r(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):r(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return o(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};n.localeData=function(){return i.bind(this)()},c.localeData=function(){var e=l();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return c.weekdays()},weekdaysShort:function(){return c.weekdaysShort()},weekdaysMin:function(){return c.weekdaysMin()},months:function(){return c.months()},monthsShort:function(){return c.monthsShort()},longDateFormat:function(t){return o(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},c.months=function(){return r(l(),"months")},c.monthsShort=function(){return r(l(),"monthsShort","months",3)},c.weekdays=function(e){return r(l(),"weekdays",null,null,e)},c.weekdaysShort=function(e){return r(l(),"weekdaysShort","weekdays",3,e)},c.weekdaysMin=function(e){return r(l(),"weekdaysMin","weekdays",2,e)}}},47931:function(e){var t,c;e.exports=(t="week",c="year",function(e,n,a){var r=n.prototype;r.week=function(e){if(void 0===e&&(e=null),null!==e)return this.add(7*(e-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var r=a(this).startOf(c).add(1,c).date(n),l=a(this).endOf(t);if(r.isBefore(l))return 1}var o=a(this).startOf(c).date(n).startOf(t).subtract(1,"millisecond"),i=this.diff(o,t,!0);return i<0?a(this).startOf("week").week():Math.ceil(i)},r.weeks=function(e){return void 0===e&&(e=null),this.week(e)}})},47252:function(e){e.exports=function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),c=this.year();return 1===t&&11===e?c+1:0===e&&t>=52?c-1:c}}},44:function(e){e.exports=function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,c=this.$W,n=(cn.createElement("button",{type:"button",className:(0,a.Z)(["react-flow__controls-button",t]),...c},e);h.displayName="ControlButton";let d=e=>({isInteractive:e.nodesDraggable||e.nodesConnectable||e.elementsSelectable,minZoomReached:e.transform[2]<=e.minZoom,maxZoomReached:e.transform[2]>=e.maxZoom}),v=({style:e,showZoom:t=!0,showFitView:c=!0,showInteractive:v=!0,fitViewOptions:m,onZoomIn:g,onZoomOut:z,onFitView:p,onInteractiveChange:w,className:M,children:Z,position:H="bottom-left"})=>{let b=(0,l.AC)(),[V,C]=(0,n.useState)(!1),{isInteractive:x,minZoomReached:E,maxZoomReached:L}=(0,l.oR)(d,r.X),{zoomIn:R,zoomOut:y,fitView:B}=(0,l._K)();return((0,n.useEffect)(()=>{C(!0)},[]),V)?n.createElement(l.s_,{className:(0,a.Z)(["react-flow__controls",M]),position:H,style:e,"data-testid":"rf__controls"},t&&n.createElement(n.Fragment,null,n.createElement(h,{onClick:()=>{R(),g?.()},className:"react-flow__controls-zoomin",title:"zoom in","aria-label":"zoom in",disabled:L},n.createElement(o,null)),n.createElement(h,{onClick:()=>{y(),z?.()},className:"react-flow__controls-zoomout",title:"zoom out","aria-label":"zoom out",disabled:E},n.createElement(i,null))),c&&n.createElement(h,{className:"react-flow__controls-fitview",onClick:()=>{B(m),p?.()},title:"fit view","aria-label":"fit view"},n.createElement(u,null)),v&&n.createElement(h,{className:"react-flow__controls-interactive",onClick:()=>{b.setState({nodesDraggable:!x,nodesConnectable:!x,elementsSelectable:!x}),w?.(!x)},title:"toggle interactivity","aria-label":"toggle interactivity"},x?n.createElement(f,null):n.createElement(s,null)),Z):null};v.displayName="Controls";var m=(0,n.memo)(v)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8403.f92de827e2c40d4a.js b/dbgpt/app/static/web/_next/static/chunks/8403.f92de827e2c40d4a.js deleted file mode 100644 index 5b421268d..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/8403.f92de827e2c40d4a.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8403],{13250:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(42096),a=l(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zM464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z"}}]},name:"appstore",theme:"filled"},r=l(75651),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},64698:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(42096),a=l(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 00-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z"}}]},name:"select",theme:"outlined"},r=l(75651),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},20222:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(42096),a=l(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},r=l(75651),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},54537:function(e,t,l){"use strict";var n=l(38497);let a=(0,n.createContext)({});t.Z=a},98606:function(e,t,l){"use strict";var n=l(38497),a=l(26869),i=l.n(a),r=l(63346),s=l(54537),o=l(54009),d=function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(l[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(l[n[a]]=e[n[a]]);return l};function c(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let u=["xs","sm","md","lg","xl","xxl"],h=n.forwardRef((e,t)=>{let{getPrefixCls:l,direction:a}=n.useContext(r.E_),{gutter:h,wrap:m}=n.useContext(s.Z),{prefixCls:v,span:f,order:p,offset:x,push:y,pull:g,className:j,children:w,flex:b,style:_}=e,N=d(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),C=l("col",v),[$,Z,k]=(0,o.cG)(C),S={},O={};u.forEach(t=>{let l={},n=e[t];"number"==typeof n?l.span=n:"object"==typeof n&&(l=n||{}),delete N[t],O=Object.assign(Object.assign({},O),{[`${C}-${t}-${l.span}`]:void 0!==l.span,[`${C}-${t}-order-${l.order}`]:l.order||0===l.order,[`${C}-${t}-offset-${l.offset}`]:l.offset||0===l.offset,[`${C}-${t}-push-${l.push}`]:l.push||0===l.push,[`${C}-${t}-pull-${l.pull}`]:l.pull||0===l.pull,[`${C}-rtl`]:"rtl"===a}),l.flex&&(O[`${C}-${t}-flex`]=!0,S[`--${C}-${t}-flex`]=c(l.flex))});let E=i()(C,{[`${C}-${f}`]:void 0!==f,[`${C}-order-${p}`]:p,[`${C}-offset-${x}`]:x,[`${C}-push-${y}`]:y,[`${C}-pull-${g}`]:g},j,O,Z,k),P={};if(h&&h[0]>0){let e=h[0]/2;P.paddingLeft=e,P.paddingRight=e}return b&&(P.flex=c(b),!1!==m||P.minWidth||(P.minWidth=0)),$(n.createElement("div",Object.assign({},N,{style:Object.assign(Object.assign(Object.assign({},P),_),S),className:E,ref:t}),w))});t.Z=h},22698:function(e,t,l){"use strict";var n=l(38497),a=l(26869),i=l.n(a),r=l(30432),s=l(63346),o=l(54537),d=l(54009),c=function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(l[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(l[n[a]]=e[n[a]]);return l};function u(e,t){let[l,a]=n.useState("string"==typeof e?e:""),i=()=>{if("string"==typeof e&&a(e),"object"==typeof e)for(let l=0;l{i()},[JSON.stringify(e),t]),l}let h=n.forwardRef((e,t)=>{let{prefixCls:l,justify:a,align:h,className:m,style:v,children:f,gutter:p=0,wrap:x}=e,y=c(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:g,direction:j}=n.useContext(s.E_),[w,b]=n.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[_,N]=n.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),C=u(h,_),$=u(a,_),Z=n.useRef(p),k=(0,r.ZP)();n.useEffect(()=>{let e=k.subscribe(e=>{N(e);let t=Z.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&b(e)});return()=>k.unsubscribe(e)},[]);let S=g("row",l),[O,E,P]=(0,d.VM)(S),M=(()=>{let e=[void 0,void 0],t=Array.isArray(p)?p:[p,void 0];return t.forEach((t,l)=>{if("object"==typeof t)for(let n=0;n0?-(M[0]/2):void 0;I&&(V.marginLeft=I,V.marginRight=I);let[R,T]=M;V.rowGap=T;let D=n.useMemo(()=>({gutter:[R,T],wrap:x}),[R,T,x]);return O(n.createElement(o.Z.Provider,{value:D},n.createElement("div",Object.assign({},y,{className:z,style:Object.assign(Object.assign({},V),v),ref:t}),f)))});t.Z=h},54009:function(e,t,l){"use strict";l.d(t,{VM:function(){return c},cG:function(){return u}});var n=l(72178),a=l(90102),i=l(74934);let r=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},s=(e,t)=>{let{prefixCls:l,componentCls:n,gridColumns:a}=e,i={};for(let e=a;e>=0;e--)0===e?(i[`${n}${t}-${e}`]={display:"none"},i[`${n}-push-${e}`]={insetInlineStart:"auto"},i[`${n}-pull-${e}`]={insetInlineEnd:"auto"},i[`${n}${t}-push-${e}`]={insetInlineStart:"auto"},i[`${n}${t}-pull-${e}`]={insetInlineEnd:"auto"},i[`${n}${t}-offset-${e}`]={marginInlineStart:0},i[`${n}${t}-order-${e}`]={order:0}):(i[`${n}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/a*100}%`,maxWidth:`${e/a*100}%`}],i[`${n}${t}-push-${e}`]={insetInlineStart:`${e/a*100}%`},i[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/a*100}%`},i[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/a*100}%`},i[`${n}${t}-order-${e}`]={order:e});return i[`${n}${t}-flex`]={flex:`var(--${l}${t}-flex)`},i},o=(e,t)=>s(e,t),d=(e,t,l)=>({[`@media (min-width: ${(0,n.bf)(t)})`]:Object.assign({},o(e,l))}),c=(0,a.I$)("Grid",e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},()=>({})),u=(0,a.I$)("Grid",e=>{let t=(0,i.IX)(e,{gridColumns:24}),l={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[r(t),o(t,""),o(t,"-xs"),Object.keys(l).map(e=>d(t,l[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},93743:function(e,t,l){"use strict";l.d(t,{_:function(){return V},a:function(){return M}});var n=l(96469),a=l(16156),i=l(38437),r=l(30994),s=l(10755),o=l(60205),d=l(27691),c=l(97818),u=l(48495),h=l(33573),m=l(2),v=l(98922),f=l(44766);let p=e=>{let{charts:t,scopeOfCharts:l,ruleConfig:n}=e,a={};if(null==t||t.forEach(e=>{if(e.chartKnowledge.toSpec){let t=e.chartKnowledge.toSpec;e.chartKnowledge.toSpec=(e,l)=>({...t(e,l),dataProps:l})}else e.chartKnowledge.toSpec=(e,t)=>({dataProps:t});a[e.chartType]=e.chartKnowledge}),(null==l?void 0:l.exclude)&&l.exclude.forEach(e=>{Object.keys(a).includes(e)&&delete a[e]}),null==l?void 0:l.include){let e=l.include;Object.keys(a).forEach(t=>{e.includes(t)||delete a[t]})}let i={...l,custom:a},r={...n},s=new m.w({ckbCfg:i,ruleCfg:r});return s},x=e=>{var t;let{data:l,dataMetaMap:n,myChartAdvisor:a}=e,i=n?Object.keys(n).map(e=>({name:e,...n[e]})):null,r=new v.Z(l).info(),s=(0,f.size)(r)>2?null==r?void 0:r.filter(e=>"string"!==e.recommendation&&"date"!==e.recommendation||e.distinct&&e.distinct>1):r,o=null==a?void 0:a.adviseWithLog({data:l,dataProps:i,fields:null==s?void 0:s.map(e=>e.name)});return null!==(t=null==o?void 0:o.advices)&&void 0!==t?t:[]};var y=l(38497);function g(e,t){return t.every(t=>e.includes(t))}function j(e,t){let l=t.find(t=>t.name===e);return(null==l?void 0:l.recommendation)==="date"?t=>new Date(t[e]):e}function w(e){return e.find(e=>{var t;return e.levelOfMeasurements&&(t=e.levelOfMeasurements,["Time","Ordinal"].some(e=>t.includes(e)))})}function b(e){return e.find(e=>e.levelOfMeasurements&&g(e.levelOfMeasurements,["Nominal"]))}let _=e=>{let{data:t,xField:l}=e,n=(0,f.uniq)(t.map(e=>e[l]));return n.length<=1},N=(e,t,l)=>{let{field4Split:n,field4X:a}=l;if((null==n?void 0:n.name)&&(null==a?void 0:a.name)){let l=e[n.name],i=t.filter(e=>n.name&&e[n.name]===l);return _({data:i,xField:a.name})?5:void 0}return(null==a?void 0:a.name)&&_({data:t,xField:a.name})?5:void 0},C=e=>{let{data:t,chartType:l,xField:n}=e,a=(0,f.cloneDeep)(t);try{if(l.includes("line")&&(null==n?void 0:n.name)&&"date"===n.recommendation)return a.sort((e,t)=>new Date(e[n.name]).getTime()-new Date(t[n.name]).getTime()),a;l.includes("line")&&(null==n?void 0:n.name)&&["float","integer"].includes(n.recommendation)&&a.sort((e,t)=>e[n.name]-t[n.name])}catch(e){console.error(e)}return a},$=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return e.map(e=>{let l={};return Object.keys(e).forEach(n=>{l[n]=e[n]===t?null:e[n]}),l})},Z="multi_line_chart",k="multi_measure_line_chart",S=[{chartType:"multi_line_chart",chartKnowledge:{id:Z,name:"multi_line_chart",alias:["multi_line_chart"],family:["LineCharts"],def:"multi_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{var l,n;let a=w(t),i=b(t),r=null!==(l=null!=a?a:i)&&void 0!==l?l:t[0],s=t.filter(e=>e.name!==(null==r?void 0:r.name)),o=null!==(n=s.filter(e=>e.levelOfMeasurements&&g(e.levelOfMeasurements,["Interval"])))&&void 0!==n?n:[s[0]],d=s.filter(e=>!o.find(t=>t.name===e.name)).find(e=>e.levelOfMeasurements&&g(e.levelOfMeasurements,["Nominal"]));if(!r||!o)return null;let c={type:"view",autoFit:!0,data:C({data:e,chartType:Z,xField:r}),children:[]};return o.forEach(l=>{let n={type:"line",encode:{x:j(r.name,t),y:l.name,size:t=>N(t,e,{field4Split:d,field4X:r})},legend:{size:!1}};d&&(n.encode.color=d.name),c.children.push(n)}),c}},chineseName:"折线图"},{chartType:"multi_measure_column_chart",chartKnowledge:{id:"multi_measure_column_chart",name:"multi_measure_column_chart",alias:["multi_measure_column_chart"],family:["ColumnCharts"],def:"multi_measure_column_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{let l=null==t?void 0:t.filter(e=>g(e.levelOfMeasurements,["Interval"])),n=b(t),a=w(t),i=null!=n?n:a;if(!i||!l)return null;let r={type:"view",data:e,children:[]};return null==l||l.forEach(e=>{let t={type:"interval",encode:{x:i.name,y:e.name,color:()=>e.name,series:()=>e.name}};r.children.push(t)}),r}catch(e){return console.log(e),null}}},chineseName:"折线图"},{chartType:"multi_measure_line_chart",chartKnowledge:{id:k,name:"multi_measure_line_chart",alias:["multi_measure_line_chart"],family:["LineCharts"],def:"multi_measure_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{var l,n;let a=null!==(n=null!==(l=b(t))&&void 0!==l?l:w(t))&&void 0!==n?n:t[0],i=null==t?void 0:t.filter(e=>e.name!==(null==a?void 0:a.name)&&g(e.levelOfMeasurements,["Interval"]));if(!a||!i)return null;let r={type:"view",data:C({data:e,chartType:k,xField:a}),children:[]};return null==i||i.forEach(l=>{let n={type:"line",encode:{x:j(a.name,t),y:l.name,color:()=>l.name,series:()=>l.name,size:t=>N(t,e,{field4X:a})},legend:{size:!1}};r.children.push(n)}),r}catch(e){return console.log(e),null}}},chineseName:"折线图"}];var O=l(45277);let E=e=>{if(!e)return;let t=e.getContainer(),l=t.getElementsByTagName("canvas")[0];return l};var P=l(91158);let M=e=>"response_line_chart"===e?["multi_line_chart","multi_measure_line_chart"]:"response_bar_chart"===e?["multi_measure_column_chart"]:"response_pie_chart"===e?["pie_chart"]:"response_scatter_chart"===e?["scatter_plot"]:"response_area_chart"===e?["area_chart"]:"response_heatmap_chart"===e?["heatmap"]:[],{Option:z}=a.default,V=e=>{let{data:t,chartType:l,scopeOfCharts:m,ruleConfig:v}=e,g=$(t),{mode:j}=(0,y.useContext)(O.p),[w,b]=(0,y.useState)(),[_,N]=(0,y.useState)([]),[Z,k]=(0,y.useState)(),M=(0,y.useRef)();(0,y.useEffect)(()=>{b(p({charts:S,scopeOfCharts:{exclude:["area_chart","stacked_area_chart","percent_stacked_area_chart"]},ruleConfig:v}))},[v,m]);let V=e=>{if(!w)return[];let t=function(e){let{advices:t}=e;return t}({advices:e}),n=(0,f.uniq)((0,f.compact)((0,f.concat)(l,e.map(e=>e.type)))),a=n.map(e=>{let l=t.find(t=>t.type===e);if(l)return l;let n=w.dataAnalyzer.execute({data:g});if("data"in n){var a;let t=w.specGenerator.execute({data:n.data,dataProps:n.dataProps,chartTypeRecommendations:[{chartType:e,score:1}]});if("advices"in t)return null===(a=t.advices)||void 0===a?void 0:a[0]}}).filter(e=>null==e?void 0:e.spec);return a};(0,y.useEffect)(()=>{if(g&&w){var e;let t=x({data:g,myChartAdvisor:w}),l=V(t);N(l),k(null===(e=l[0])||void 0===e?void 0:e.type)}},[JSON.stringify(g),w,l]);let I=(0,y.useMemo)(()=>{if((null==_?void 0:_.length)>0){var e,t,l,a;let i=null!=Z?Z:_[0].type,r=null!==(t=null===(e=null==_?void 0:_.find(e=>e.type===i))||void 0===e?void 0:e.spec)&&void 0!==t?t:void 0;if(r){if(r.data&&["line_chart","step_line_chart"].includes(i)){let e=null==w?void 0:w.dataAnalyzer.execute({data:g});e&&"dataProps"in e&&(r.data=C({data:r.data,xField:null===(a=e.dataProps)||void 0===a?void 0:a.find(e=>"date"===e.recommendation),chartType:i}))}return"pie_chart"===i&&(null==r?void 0:null===(l=r.encode)||void 0===l?void 0:l.color)&&(r.tooltip={title:{field:r.encode.color}}),(0,n.jsx)(u.k,{options:{...r,autoFit:!0,theme:j,height:300},ref:M},i)}}},[_,j,Z]);return Z?(0,n.jsxs)("div",{children:[(0,n.jsxs)(i.Z,{justify:"space-between",className:"mb-2",children:[(0,n.jsx)(r.Z,{children:(0,n.jsxs)(s.Z,{children:[(0,n.jsx)("span",{children:h.Z.t("Advices")}),(0,n.jsx)(a.default,{className:"w-52",value:Z,placeholder:"Chart Switcher",onChange:e=>k(e),size:"small",children:null==_?void 0:_.map(e=>{let t=h.Z.t(e.type);return(0,n.jsx)(z,{value:e.type,children:(0,n.jsx)(o.Z,{title:t,placement:"right",children:(0,n.jsx)("div",{children:t})})},e.type)})})]})}),(0,n.jsx)(r.Z,{children:(0,n.jsx)(o.Z,{title:h.Z.t("Download"),children:(0,n.jsx)(d.ZP,{onClick:()=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Chart",l=document.createElement("a"),n="".concat(t,".png");setTimeout(()=>{let t=function(e){let t=E(e);if(t){let e=t.toDataURL("image/png");return e}}(e);if(t){l.addEventListener("click",()=>{l.download=n,l.href=t});let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),l.dispatchEvent(e)}},16)})(M.current,h.Z.t(Z)),icon:(0,n.jsx)(P.Z,{}),type:"text"})})})]}),(0,n.jsx)("div",{className:"flex",children:I})]}):(0,n.jsx)(c.Z,{image:c.Z.PRESENTED_IMAGE_SIMPLE,description:"暂无合适的可视化视图"})}},45045:function(e,t,l){"use strict";l.d(t,{_z:function(){return f._},ZP:function(){return p},aG:function(){return f.a}});var n=l(96469),a=l(49841),i=l(62715),r=l(81630),s=l(45277),o=l(48495),d=l(38497);function c(e){let{chart:t}=e,{mode:l}=(0,d.useContext)(s.p);return(0,n.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,n.jsxs)("div",{className:"h-full",children:[(0,n.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,n.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,n.jsx)("div",{className:"h-[300px]",children:(0,n.jsx)(o.k,{style:{height:"100%"},options:{autoFit:!0,theme:l,type:"interval",data:t.values,encode:{x:"name",y:"value",color:"type"},axis:{x:{labelAutoRotate:!1}}}})})]})})}function u(e){let{chart:t}=e,{mode:l}=(0,d.useContext)(s.p);return(0,n.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,n.jsxs)("div",{className:"h-full",children:[(0,n.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,n.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,n.jsx)("div",{className:"h-[300px]",children:(0,n.jsx)(o.k,{style:{height:"100%"},options:{autoFit:!0,theme:l,type:"view",data:t.values,children:[{type:"line",encode:{x:"name",y:"value",color:"type",shape:"smooth"}},{type:"area",encode:{x:"name",y:"value",color:"type",shape:"smooth"},legend:!1,style:{fillOpacity:.15}}],axis:{x:{labelAutoRotate:!1}}}})})]})})}var h=l(84832),m=l(44766);function v(e){var t,l;let{chart:a}=e,i=(0,m.groupBy)(a.values,"type");return(0,n.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,n.jsxs)("div",{className:"h-full",children:[(0,n.jsx)("div",{className:"mb-2",children:a.chart_name}),(0,n.jsx)("div",{className:"opacity-80 text-sm mb-2",children:a.chart_desc}),(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsxs)(h.Z,{"aria-label":"basic table",stripe:"odd",hoverRow:!0,borderAxis:"bothBetween",children:[(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{children:Object.keys(i).map(e=>(0,n.jsx)("th",{children:e},e))})}),(0,n.jsx)("tbody",{children:null===(t=Object.values(i))||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.map((e,t)=>{var l;return(0,n.jsx)("tr",{children:null===(l=Object.keys(i))||void 0===l?void 0:l.map(e=>{var l;return(0,n.jsx)("td",{children:(null==i?void 0:null===(l=i[e])||void 0===l?void 0:l[t].value)||""},e)})},t)})})]})})]})})}var f=l(93743),p=function(e){let{chartsData:t}=e;console.log(t,"xxx");let l=(0,d.useMemo)(()=>{if(t){let e=[],l=null==t?void 0:t.filter(e=>"IndicatorValue"===e.chart_type);l.length>0&&e.push({charts:l,type:"IndicatorValue"});let n=null==t?void 0:t.filter(e=>"IndicatorValue"!==e.chart_type),a=n.length,i=0;return[[0],[1],[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]][a].forEach(t=>{if(t>0){let l=n.slice(i,i+t);i+=t,e.push({charts:l})}}),e}},[t]);return(0,n.jsx)("div",{className:"flex flex-col gap-3",children:null==l?void 0:l.map((e,t)=>(0,n.jsx)("div",{className:"".concat((null==e?void 0:e.type)!=="IndicatorValue"?"flex gap-3":""),children:e.charts.map(e=>"IndicatorValue"===e.chart_type||"IndicatorValue"===e.type?(0,n.jsx)("div",{className:"flex flex-row gap-3",children:e.values.map(e=>(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)(a.Z,{sx:{background:"transparent"},children:(0,n.jsxs)(i.Z,{className:"justify-around",children:[(0,n.jsx)(r.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,n.jsx)(r.ZP,{children:e.value})]})})},e.name))},e.chart_uid):"LineChart"===e.chart_type||"LineChart"===e.type?(0,n.jsx)(u,{chart:e},e.chart_uid):"BarChart"===e.chart_type||"BarChart"===e.type?(0,n.jsx)(c,{chart:e},e.chart_uid):"Table"===e.chart_type||"TableChartData"===e.type?(0,n.jsx)(v,{chart:e},e.chart_uid):void 0)},"chart_row_".concat(t)))})}},7343:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return V}});var n=l(96469),a=l(38497),i=l(16602),r=l(54506),s=l(60205),o=l(16156),d=l(27691),c=l(42834),u=l(41999),h=l(30281),m=l(22672),v=l(94078),f=l(45875),p=l(53047),x=l(45045),y=l(72097),g=l(86944),j=l(47271),w=l(42096),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z"}}]},name:"save",theme:"filled"},_=l(75651),N=a.forwardRef(function(e,t){return a.createElement(_.Z,(0,w.Z)({},e,{ref:t,icon:b}))});function C(){return(0,n.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"49817",width:"1em",height:"1em",children:[(0,n.jsx)("path",{d:"M512 64c-247.424 0-448 62.72-448 140.032v112c0 77.312 200.576 139.968 448 139.968s448-62.72 448-140.032v-112C960 126.72 759.424 64 512 64z m0 728c-247.424 0-448-62.72-448-140.032v168.064C64 897.28 264.576 960 512 960s448-62.72 448-140.032v-167.936c0 77.312-200.576 139.968-448 139.968z",fill:"#3699FF","p-id":"49818"}),(0,n.jsx)("path",{d:"M512 540.032c-247.424 0-448-62.72-448-140.032v168c0 77.312 200.576 140.032 448 140.032s448-62.72 448-140.032V400c0 77.312-200.576 140.032-448 140.032z",fill:"#3699FF",opacity:".32","p-id":"49819"})]})}function $(){return(0,n.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"59847",width:"1em",height:"1em",children:[(0,n.jsx)("path",{d:"M149.2 99.7h726.6c27.7 0 50.1 22.4 50.1 50.1V336H99.1V149.8c0-27.6 22.4-50.1 50.1-50.1z",fill:"#1ECD93","p-id":"59848"}),(0,n.jsx)("path",{d:"M99.1 395h236.2v236.3H99.1zM99.1 690.3h236.2v236.2H149.2c-27.7 0-50.1-22.4-50.1-50.1V690.3zM394.4 395h236.2v236.3H394.4z",fill:"#1ECD93","fill-opacity":".5","p-id":"59849"}),(0,n.jsx)("path",{d:"M394.4 690.3h236.2v236.3H394.4z",fill:"#A1E6C9","p-id":"59850","data-spm-anchor-id":"a313x.search_index.0.i13.27343a81CqKUWU"}),(0,n.jsx)("path",{d:"M689.7 395h236.2v236.3H689.7z",fill:"#1ECD93","fill-opacity":".5","p-id":"59851"}),(0,n.jsx)("path",{d:"M689.7 690.3h236.2v186.1c0 27.7-22.4 50.1-50.1 50.1H689.7V690.3z",fill:"#A1E6C9","p-id":"59852","data-spm-anchor-id":"a313x.search_index.0.i17.27343a81CqKUWU"})]})}function Z(){return(0,n.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"67616",width:"1em",height:"1em",children:(0,n.jsx)("path",{d:"M39.385 204.83h346.571L252.054 976.74l-23.63 39.383h259.929v-31.506L614.379 204.83H771.91S960.951 220.584 984.581 0.038H236.3S94.52-7.84 39.384 204.83",fill:"#1296db","p-id":"67617"})})}var k=l(26869),S=l.n(k),O=l(76592),E=function(){return(0,n.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",version:"1.1",children:(0,n.jsx)("path",{d:"M171.85792 110.9504a58.65472 58.65472 0 0 0-58.65472 58.65472v701.9008a58.7264 58.7264 0 0 0 58.65472 58.65472h680.28416a58.7264 58.7264 0 0 0 58.65472-58.65472V169.64608a57.98912 57.98912 0 0 0-17.08032-41.41056 58.1632 58.1632 0 0 0-41.472-17.27488H171.85792z m670.60736 750.77632H181.53472V554.77248h660.93056v306.95424z m0-375.38816H181.53472V179.38432h660.93056v306.95424z","p-id":"14553"})})},P=function(){return(0,n.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",version:"1.1",children:(0,n.jsx)("path",{d:"M161.05472 919.3472h701.9008a58.71616 58.71616 0 0 0 58.65472-58.65472V180.40832a58.71616 58.71616 0 0 0-58.65472-58.65472H161.09568a58.03008 58.03008 0 0 0-41.4208 17.08032A58.1632 58.1632 0 0 0 102.4 180.30592v680.38656a58.64448 58.64448 0 0 0 58.65472 58.65472z m385.15712-589.568V190.08512h306.95424v660.93056H546.21184V329.7792zM170.83392 190.08512h306.95424v660.93056H170.83392V190.08512z","p-id":"13913"})})};let{Search:M}=u.default;function z(e){let{layout:t="LR",editorValue:l,chartData:i,tableData:s,tables:o,handleChange:d}=e,c=(0,a.useMemo)(()=>i?(0,n.jsx)("div",{className:"flex-1 overflow-auto p-2",style:{flexShrink:0,overflow:"hidden"},children:(0,n.jsx)(x.ZP,{chartsData:[i]})}):null,[i]),{columns:u,dataSource:h}=(0,a.useMemo)(()=>{let{columns:e=[],values:t=[]}=null!=s?s:{},l=e.map(e=>({key:e,dataIndex:e,title:e})),n=t.map(t=>t.reduce((t,l,n)=>(t[e[n]]=l,t),{}));return{columns:l,dataSource:n}},[s]),v=(0,a.useMemo)(()=>{let e={},t=null==o?void 0:o.data,l=null==t?void 0:t.children;return null==l||l.forEach(t=>{e[t.title]=t.children.map(e=>({columnName:e.title,columnType:e.type}))}),{getTableList:async e=>e&&e!==(null==t?void 0:t.title)?[]:(null==l?void 0:l.map(e=>e.title))||[],getTableColumns:async t=>e[t]||[],getSchemaList:async()=>(null==t?void 0:t.title)?[null==t?void 0:t.title]:[]}},[o]);return(0,n.jsxs)("div",{className:S()("flex w-full flex-1 h-full gap-2 overflow-hidden",{"flex-col":"TB"===t,"flex-row":"LR"===t}),children:[(0,n.jsx)("div",{className:"flex-1 flex overflow-hidden rounded",children:(0,n.jsx)(m.Z,{value:(null==l?void 0:l.sql)||"",language:"mysql",onChange:d,thoughts:(null==l?void 0:l.thoughts)||"",session:v})}),(0,n.jsxs)("div",{className:"flex-1 h-full overflow-auto bg-white dark:bg-theme-dark-container rounded p-4",children:[(null==s?void 0:s.values.length)?(0,n.jsx)(r.Z,{bordered:!0,scroll:{x:"auto"},rowKey:u[0].key,columns:u,dataSource:h}):(0,n.jsx)("div",{className:"h-full flex justify-center items-center",children:(0,n.jsx)(O.Z,{})}),c]})]})}var V=function(){var e,t,l,r,u;let[m,x]=(0,a.useState)([]),[w,b]=(0,a.useState)(""),[_,k]=(0,a.useState)(),[O,V]=(0,a.useState)(!0),[I,R]=(0,a.useState)(),[T,D]=(0,a.useState)(),[H,L]=(0,a.useState)(),[q,A]=(0,a.useState)(),[B,F]=(0,a.useState)(),[U,Q]=(0,a.useState)(!1),[G,K]=(0,a.useState)("TB"),W=(0,f.useSearchParams)(),X=null==W?void 0:W.get("id"),J=null==W?void 0:W.get("scene"),{data:Y,loading:ee}=(0,i.Z)(async()=>await (0,v.Tk)("/v1/editor/sql/rounds",{con_uid:X}),{onSuccess:e=>{var t,l;let n=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t[(null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.length)-1];n&&k(null==n?void 0:n.round)}}),{run:et,loading:el}=(0,i.Z)(async()=>{var e,t;let l=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===_))||void 0===e?void 0:e.db_name;return await (0,v.PR)("/api/v1/editor/sql/run",{db_name:l,sql:null==H?void 0:H.sql})},{manual:!0,onSuccess:e=>{var t,l;A({columns:null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.colunms,values:null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.values})}}),{run:en,loading:ea}=(0,i.Z)(async()=>{var e,t;let l=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===_))||void 0===e?void 0:e.db_name,n={db_name:l,sql:null==H?void 0:H.sql};return"chat_dashboard"===J&&(n.chart_type=null==H?void 0:H.showcase),await (0,v.PR)("/api/v1/editor/chart/run",n)},{manual:!0,ready:!!(null==H?void 0:H.sql),onSuccess:e=>{if(null==e?void 0:e.success){var t,l,n,a,i,r,s;A({columns:(null==e?void 0:null===(t=e.data)||void 0===t?void 0:null===(l=t.sql_data)||void 0===l?void 0:l.colunms)||[],values:(null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(a=n.sql_data)||void 0===a?void 0:a.values)||[]}),(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.chart_values)?R({type:null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.chart_type,values:null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.chart_values,title:null==H?void 0:H.title,description:null==H?void 0:H.thoughts}):R(void 0)}}}),{run:ei,loading:er}=(0,i.Z)(async()=>{var e,t,l,n,a;let i=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===_))||void 0===e?void 0:e.db_name;return await (0,v.PR)("/api/v1/sql/editor/submit",{conv_uid:X,db_name:i,conv_round:_,old_sql:null==T?void 0:T.sql,old_speak:null==T?void 0:T.thoughts,new_sql:null==H?void 0:H.sql,new_speak:(null===(l=null==H?void 0:null===(n=H.thoughts)||void 0===n?void 0:n.match(/^\n--(.*)\n\n$/))||void 0===l?void 0:null===(a=l[1])||void 0===a?void 0:a.trim())||(null==H?void 0:H.thoughts)})},{manual:!0,onSuccess:e=>{(null==e?void 0:e.success)&&et()}}),{run:es,loading:eo}=(0,i.Z)(async()=>{var e,t,l,n,a,i;let r=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===_))||void 0===e?void 0:e.db_name;return await (0,v.PR)("/api/v1/chart/editor/submit",{conv_uid:X,chart_title:null==H?void 0:H.title,db_name:r,old_sql:null==T?void 0:null===(l=T[B])||void 0===l?void 0:l.sql,new_chart_type:null==H?void 0:H.showcase,new_sql:null==H?void 0:H.sql,new_comment:(null===(n=null==H?void 0:null===(a=H.thoughts)||void 0===a?void 0:a.match(/^\n--(.*)\n\n$/))||void 0===n?void 0:null===(i=n[1])||void 0===i?void 0:i.trim())||(null==H?void 0:H.thoughts),gmt_create:new Date().getTime()})},{manual:!0,onSuccess:e=>{(null==e?void 0:e.success)&&en()}}),{data:ed}=(0,i.Z)(async()=>{var e,t;let l=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===_))||void 0===e?void 0:e.db_name;return await (0,v.Tk)("/v1/editor/db/tables",{db_name:l,page_index:1,page_size:200})},{ready:!!(null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===_))||void 0===e?void 0:e.db_name),refreshDeps:[null===(l=null==Y?void 0:null===(r=Y.data)||void 0===r?void 0:r.find(e=>e.round===_))||void 0===l?void 0:l.db_name]}),{run:ec}=(0,i.Z)(async e=>await (0,v.Tk)("/v1/editor/sql",{con_uid:X,round:e}),{manual:!0,onSuccess:e=>{let t;try{if(Array.isArray(null==e?void 0:e.data))t=null==e?void 0:e.data,F(0);else if("string"==typeof(null==e?void 0:e.data)){let l=JSON.parse(null==e?void 0:e.data);t=l}else t=null==e?void 0:e.data}catch(e){console.log(e)}finally{D(t),Array.isArray(t)?L(null==t?void 0:t[Number(B||0)]):L(t)}}}),eu=(0,a.useMemo)(()=>{let e=(t,l)=>t.map(t=>{let a=t.title,i=a.indexOf(w),r=a.substring(0,i),o=a.slice(i+w.length),d=e=>{switch(e){case"db":return(0,n.jsx)(C,{});case"table":return(0,n.jsx)($,{});default:return(0,n.jsx)(Z,{})}},c=i>-1?(0,n.jsx)(s.Z,{title:((null==t?void 0:t.comment)||(null==t?void 0:t.title))+((null==t?void 0:t.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,n.jsxs)("div",{className:"flex items-center",children:[d(t.type),"\xa0\xa0\xa0",r,(0,n.jsx)("span",{className:"text-[#1677ff]",children:w}),o,"\xa0",(null==t?void 0:t.type)&&(0,n.jsx)("div",{className:"text-gray-400",children:null==t?void 0:t.type})]})}):(0,n.jsx)(s.Z,{title:((null==t?void 0:t.comment)||(null==t?void 0:t.title))+((null==t?void 0:t.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,n.jsxs)("div",{className:"flex items-center",children:[d(t.type),"\xa0\xa0\xa0",a,"\xa0",(null==t?void 0:t.type)&&(0,n.jsx)("div",{className:"text-gray-400",children:null==t?void 0:t.type})]})});if(t.children){let n=l?String(l)+"_"+t.key:t.key;return{title:a,showTitle:c,key:n,children:e(t.children,n)}}return{title:a,showTitle:c,key:t.key}});return(null==ed?void 0:ed.data)?(x([null==ed?void 0:ed.data.key]),e([null==ed?void 0:ed.data])):[]},[w,ed]),eh=(0,a.useMemo)(()=>{let e=[],t=(l,n)=>{if(l&&!((null==l?void 0:l.length)<=0))for(let a=0;a{let l;for(let n=0;nt.key===e)?l=a.key:em(e,a.children)&&(l=em(e,a.children)))}return l};function ev(e){let t;if(!e)return{sql:"",thoughts:""};let l=e&&e.match(/(--.*)\n([\s\S]*)/),n="";return l&&l.length>=3&&(n=l[1],t=l[2]),{sql:t,thoughts:n}}return(0,a.useEffect)(()=>{_&&ec(_)},[ec,_]),(0,a.useEffect)(()=>{T&&"chat_dashboard"===J&&B&&en()},[B,J,T,en]),(0,a.useEffect)(()=>{T&&"chat_dashboard"!==J&&et()},[J,T,et]),(0,n.jsxs)("div",{className:"flex flex-col w-full h-full overflow-hidden",children:[(0,n.jsx)(p.Z,{}),(0,n.jsxs)("div",{className:"relative flex flex-1 p-4 pt-0 overflow-hidden",children:[(0,n.jsxs)("div",{className:"relative flex overflow-hidden mr-4",children:[(0,n.jsx)("div",{className:S()("h-full relative transition-[width] overflow-hidden",{"w-0":U,"w-64":!U}),children:(0,n.jsxs)("div",{className:"relative w-64 h-full overflow-hidden flex flex-col rounded bg-white dark:bg-theme-dark-container p-4",children:[(0,n.jsx)(o.default,{size:"middle",className:"w-full mb-2",value:_,options:null==Y?void 0:null===(u=Y.data)||void 0===u?void 0:u.map(e=>({label:e.round_name,value:e.round})),onChange:e=>{k(e)}}),(0,n.jsx)(M,{className:"mb-2",placeholder:"Search",onChange:e=>{let{value:t}=e.target;if(null==ed?void 0:ed.data){if(t){let e=eh.map(e=>e.title.indexOf(t)>-1?em(e.key,eu):null).filter((e,t,l)=>e&&l.indexOf(e)===t);x(e)}else x([]);b(t),V(!0)}}}),eu&&eu.length>0&&(0,n.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,n.jsx)(h.Z,{onExpand:e=>{x(e),V(!1)},expandedKeys:m,autoExpandParent:O,treeData:eu,fieldNames:{title:"showTitle"}})})]})}),(0,n.jsx)("div",{className:"absolute right-0 top-0 translate-x-full h-full flex items-center justify-center opacity-0 hover:opacity-100 group-hover/side:opacity-100 transition-opacity",children:(0,n.jsx)("div",{className:"bg-white w-4 h-10 flex items-center justify-center dark:bg-theme-dark-container rounded-tr rounded-br z-10 text-xs cursor-pointer shadow-[4px_0_10px_rgba(0,0,0,0.06)] text-opacity-80",onClick:()=>{Q(!U)},children:U?(0,n.jsx)(g.Z,{}):(0,n.jsx)(y.Z,{})})})]}),(0,n.jsxs)("div",{className:"flex flex-col flex-1 max-w-full overflow-hidden",children:[(0,n.jsxs)("div",{className:"mb-2 bg-white dark:bg-theme-dark-container p-2 flex justify-between items-center",children:[(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(d.ZP,{className:"text-xs rounded-none",size:"small",type:"primary",icon:(0,n.jsx)(j.Z,{}),loading:el||ea,onClick:async()=>{"chat_dashboard"===J?en():et()},children:"Run"}),(0,n.jsx)(d.ZP,{className:"text-xs rounded-none",type:"primary",size:"small",loading:er||eo,icon:(0,n.jsx)(N,{}),onClick:async()=>{"chat_dashboard"===J?await es():await ei()},children:"Save"})]}),(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(c.Z,{className:S()("flex items-center justify-center w-6 h-6 text-lg rounded",{"bg-theme-primary bg-opacity-10":"TB"===G}),component:E,onClick:()=>{K("TB")}}),(0,n.jsx)(c.Z,{className:S()("flex items-center justify-center w-6 h-6 text-lg rounded",{"bg-theme-primary bg-opacity-10":"LR"===G}),component:P,onClick:()=>{K("LR")}})]})]}),Array.isArray(T)?(0,n.jsxs)("div",{className:"flex flex-col h-full overflow-hidden",children:[(0,n.jsx)("div",{className:"w-full whitespace-nowrap overflow-x-auto bg-white dark:bg-theme-dark-container mb-2 text-[0px]",children:T.map((e,t)=>(0,n.jsx)(s.Z,{className:"inline-block",title:e.title,children:(0,n.jsx)("div",{className:S()("max-w-[240px] px-3 h-10 text-ellipsis overflow-hidden whitespace-nowrap text-sm leading-10 cursor-pointer font-semibold hover:text-theme-primary transition-colors mr-2 last-of-type:mr-0",{"border-b-2 border-solid border-theme-primary text-theme-primary":B===t}),onClick:()=>{F(t),L(null==T?void 0:T[t])},children:e.title})},e.title))}),(0,n.jsx)("div",{className:"flex flex-1 overflow-hidden",children:T.map((e,t)=>(0,n.jsx)("div",{className:S()("w-full overflow-hidden",{hidden:t!==B,"block flex-1":t===B}),children:(0,n.jsx)(z,{layout:G,editorValue:e,handleChange:e=>{let{sql:t,thoughts:l}=ev(e);L(e=>Object.assign({},e,{sql:t,thoughts:l}))},tableData:q,chartData:I})},e.title))})]}):(0,n.jsx)(z,{layout:G,editorValue:T,handleChange:e=>{let{sql:t,thoughts:l}=ev(e);L(e=>Object.assign({},e,{sql:t,thoughts:l}))},tableData:q,chartData:void 0,tables:ed})]})]})]})}},53047:function(e,t,l){"use strict";l.d(t,{Z:function(){return O}});var n=l(96469),a=l(38497),i=l(70351),r=l(60205),s=l(19389),o=l(27691),d=l(64698),c=l(20222),u=l(86959),h=l(27623),m=l(45277),v=function(e){var t;let{convUid:l,chatMode:v,onComplete:f,...p}=e,[x,y]=(0,a.useState)(!1),[g,j]=i.ZP.useMessage(),[w,b]=(0,a.useState)([]),[_,N]=(0,a.useState)(),{model:C}=(0,a.useContext)(m.p),$=async e=>{var t;if(!e){i.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(t=e.file.name)&&void 0!==t?t:"")){i.ZP.error("File type must be csv, xlsx or xls");return}b([e.file])},Z=async()=>{y(!0);try{let e=new FormData;e.append("doc_file",w[0]),g.open({content:"Uploading ".concat(w[0].name),type:"loading",duration:0});let[t]=await (0,h.Vx)((0,h.qn)({convUid:l,chatMode:v,data:e,model:C,config:{timeout:36e5,onUploadProgress:e=>{let t=Math.ceil(e.loaded/(e.total||0)*100);N(t)}}}));if(t)return;i.ZP.success("success"),null==f||f()}catch(e){i.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{y(!1),g.destroy()}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[j,(0,n.jsx)(r.Z,{placement:"bottom",title:"File cannot be changed after upload",children:(0,n.jsx)(s.default,{disabled:x,className:"mr-1",beforeUpload:()=>!1,fileList:w,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:$,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,n.jsx)(n.Fragment,{}),...p,children:(0,n.jsx)(o.ZP,{className:"flex justify-center items-center",type:"primary",disabled:x,icon:(0,n.jsx)(d.Z,{}),children:"Select File"})})}),(0,n.jsx)(o.ZP,{type:"primary",loading:x,className:"flex justify-center items-center",disabled:!w.length,icon:(0,n.jsx)(c.Z,{}),onClick:Z,children:x?100===_?"Analysis":"Uploading":"Upload"}),!!w.length&&(0,n.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",onClick:()=>b([]),children:[(0,n.jsx)(u.Z,{className:"mr-2"}),(0,n.jsx)("span",{children:null===(t=w[0])||void 0===t?void 0:t.name})]})]})})},f=function(e){let{onComplete:t}=e,{currentDialogue:l,scene:i,chatId:r}=(0,a.useContext)(m.p);return"chat_excel"!==i?null:(0,n.jsx)("div",{className:"max-w-md h-full relative",children:l?(0,n.jsxs)("div",{className:"flex h-8 overflow-hidden rounded",children:[(0,n.jsx)("div",{className:"flex items-center justify-center px-2 bg-gray-600 text-lg",children:(0,n.jsx)(u.Z,{className:"text-white"})}),(0,n.jsx)("div",{className:"flex items-center justify-center px-3 bg-gray-100 text-xs rounded-tr rounded-br dark:text-gray-800 truncate",children:l.select_param})]}):(0,n.jsx)(v,{convUid:r,chatMode:i,onComplete:t})})};l(65282);var p=l(76372),x=l(42834),y=l(13250),g=l(67901);function j(){let{isContract:e,setIsContract:t,scene:l}=(0,a.useContext)(m.p),i=l&&["chat_with_db_execute","chat_dashboard"].includes(l);return i?(0,n.jsxs)(p.ZP.Group,{value:e,defaultValue:!0,buttonStyle:"solid",onChange:()=>{t(!e)},children:[(0,n.jsxs)(p.ZP.Button,{value:!1,children:[(0,n.jsx)(x.Z,{component:g.ig,className:"mr-1"}),"Preview"]}),(0,n.jsxs)(p.ZP.Button,{value:!0,children:[(0,n.jsx)(y.Z,{className:"mr-1"}),"Editor"]})]}):null}var w=l(57064),b=l(7289),_=l(77200),N=l(16156),C=l(59321),$=function(){let{scene:e,dbParam:t,setDbParam:l}=(0,a.useContext)(m.p),[i,r]=(0,a.useState)([]);(0,_.Z)(async()=>{let[,t]=await (0,h.Vx)((0,h.vD)(e));r(null!=t?t:[])},[e]);let s=(0,a.useMemo)(()=>{var e;return null===(e=i.map)||void 0===e?void 0:e.call(i,e=>({name:e.param,...b.S$[e.type]}))},[i]);return((0,a.useEffect)(()=>{(null==s?void 0:s.length)&&!t&&l(s[0].name)},[s,l,t]),null==s?void 0:s.length)?(0,n.jsx)(N.default,{value:t,className:"w-36",onChange:e=>{l(e)},children:s.map(e=>(0,n.jsxs)(N.default.Option,{children:[(0,n.jsx)(C.Z,{width:24,height:24,src:e.icon,label:e.label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.name]},e.name))}):null},Z=l(16602),k=l(56841),S=function(){let{t:e}=(0,k.$G)(),{agent:t,setAgent:l}=(0,a.useContext)(m.p),{data:i=[]}=(0,Z.Z)(async()=>{let[,e]=await (0,h.Vx)((0,h.H4)());return null!=e?e:[]});return(0,n.jsx)(N.default,{className:"w-60",value:t,placeholder:e("Select_Plugins"),options:i.map(e=>({label:e.app_name,value:e.app_code})),allowClear:!0,onChange:e=>{null==l||l(e)}})},O=function(e){let{refreshHistory:t,modelChange:l}=e,{scene:i,refreshDialogList:r}=(0,a.useContext)(m.p);return(0,n.jsxs)("div",{className:"w-full py-2 px-4 md:px-4 flex flex-wrap items-center justify-center gap-1 md:gap-4",children:[(0,n.jsx)(w.Z,{onChange:l}),(0,n.jsx)($,{}),"chat_excel"===i&&(0,n.jsx)(f,{onComplete:()=>{null==r||r(),null==t||t()}}),"chat_agent"===i&&(0,n.jsx)(S,{}),(0,n.jsx)(j,{})]})}},57064:function(e,t,l){"use strict";l.d(t,{A:function(){return h}});var n=l(96469),a=l(45277),i=l(27250),r=l(16156),s=l(23852),o=l.n(s),d=l(38497),c=l(56841);let u="/models/huggingface.svg";function h(e,t){var l,a;let{width:r,height:s}=t||{};return e?(0,n.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:r||24,height:s||24,src:(null===(l=i.Hf[e])||void 0===l?void 0:l.icon)||u,alt:"llm"},(null===(a=i.Hf[e])||void 0===a?void 0:a.icon)||u):null}t.Z=function(e){let{onChange:t}=e,{t:l}=(0,c.$G)(),{modelList:s,model:o}=(0,d.useContext)(a.p);return!s||s.length<=0?null:(0,n.jsx)(r.default,{value:o,placeholder:l("choose_model"),className:"w-52",onChange:e=>{null==t||t(e)},children:s.map(e=>{var t;return(0,n.jsx)(r.default.Option,{children:(0,n.jsxs)("div",{className:"flex items-center",children:[h(e),(0,n.jsx)("span",{className:"ml-2",children:(null===(t=i.Hf[e])||void 0===t?void 0:t.label)||e})]})},e)})})}},76592:function(e,t,l){"use strict";var n=l(96469),a=l(97818),i=l(27691),r=l(26869),s=l.n(r),o=l(56841);t.Z=function(e){let{className:t,error:l,description:r,refresh:d}=e,{t:c}=(0,o.$G)();return(0,n.jsx)(a.Z,{image:"/empty.png",imageStyle:{width:320,height:196,margin:"0 auto",maxWidth:"100%",maxHeight:"100%"},className:s()("flex items-center justify-center flex-col h-full w-full",t),description:l?(0,n.jsx)(i.ZP,{type:"primary",onClick:d,children:c("try_again")}):null!=r?r:c("no_data")})}},94078:function(e,t,l){"use strict";l.d(t,{Tk:function(){return d},PR:function(){return c}});var n=l(70351),a=l(81366),i=l(75299);let r=a.default.create({baseURL:i.env.API_BASE_URL});r.defaults.timeout=1e4,r.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),l(44766);var s=l(7289);let o={"content-type":"application/json","User-Id":(0,s.n5)()},d=(e,t)=>{if(t){let l=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");l&&(e+="?".concat(l))}return r.get("/api"+e,{headers:o}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},c=(e,t)=>r.post(e,t,{headers:o}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},65282:function(){},8874:function(e,t,l){"use strict";function n(e){if(null==e)throw TypeError("Cannot destructure "+e)}l.d(t,{Z:function(){return n}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8639-e53a4cb330e84094.js b/dbgpt/app/static/web/_next/static/chunks/8639-e53a4cb330e84094.js new file mode 100644 index 000000000..818ae9cfc --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/8639-e53a4cb330e84094.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8639],{44875:function(e,t,r){"use strict";async function n(e,t){let r;let n=e.getReader();for(;!(r=await n.read()).done;)t(r.value)}function l(){return{data:"",event:"",id:"",retry:void 0}}r.d(t,{a:function(){return o},L:function(){return u}});var a=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);lt.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};let o="text/event-stream",i="last-event-id";function u(e,t){var{signal:r,headers:u,onopen:d,onmessage:c,onclose:f,onerror:h,openWhenHidden:p,fetch:b}=t,y=a(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,a)=>{let m;let _=Object.assign({},u);function g(){m.abort(),document.hidden||P()}_.accept||(_.accept=o),p||document.addEventListener("visibilitychange",g);let w=1e3,v=0;function O(){document.removeEventListener("visibilitychange",g),window.clearTimeout(v),m.abort()}null==r||r.addEventListener("abort",()=>{O(),t()});let j=null!=b?b:window.fetch,k=null!=d?d:s;async function P(){var r,o;m=new AbortController;try{let r,a,u,s;let d=await j(e,Object.assign(Object.assign({},y),{headers:_,signal:m.signal}));await k(d),await n(d.body,(o=function(e,t,r){let n=l(),a=new TextDecoder;return function(o,i){if(0===o.length)null==r||r(n),n=l();else if(i>0){let r=a.decode(o.subarray(0,i)),l=i+(32===o[i+1]?2:1),u=a.decode(o.subarray(l));switch(r){case"data":n.data=n.data?n.data+"\n"+u:u;break;case"event":n.event=u;break;case"id":e(n.id=u);break;case"retry":let s=parseInt(u,10);isNaN(s)||t(n.retry=s)}}}}(e=>{e?_[i]=e:delete _[i]},e=>{w=e},c),s=!1,function(e){void 0===r?(r=e,a=0,u=-1):r=function(e,t){let r=new Uint8Array(e.length+t.length);return r.set(e),r.set(t,e.length),r}(r,e);let t=r.length,n=0;for(;a{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e}),n={...n,...t};let i=n.loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=i?i().then(a):Promise.resolve(a(()=>null))}):(delete n.webpack,delete n.modules,o(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56777:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return a}});let n=r(77130),l=n._(r(38497)),a=l.default.createContext(null)},91516:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});let n=r(77130),l=n._(r(38497)),a=r(56777),o=[],i=[],u=!1;function s(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class d{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),n=null;function o(){if(!n){let t=new d(e,r);n={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return n.promise()}if(!u){let e=r.webpack?r.webpack():r.modules;e&&i.push(t=>{for(let r of e)if(t.includes(r))return o()})}function s(e,t){!function(){o();let e=l.default.useContext(a.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let i=l.default.useSyncExternalStore(n.subscribe,n.getCurrentValue,n.getCurrentValue);return l.default.useImperativeHandle(t,()=>({retry:n.retry}),[]),l.default.useMemo(()=>{var t;return i.loading||i.error?l.default.createElement(r.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:n.retry}):i.loaded?l.default.createElement((t=i.loaded)&&t.default?t.default:t,e):null},[e,i])}return s.preload=()=>o(),s.displayName="LoadableComponent",l.default.forwardRef(s)}(s,e)}function f(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return f(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{f(o).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(u=!0,t());f(i,e).then(r,r)})),window.__NEXT_PRELOADREADY=c.preloadReady;let h=c},28469:function(e,t,r){e.exports=r(18402)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/87beec9e-9c23accb81dadd8a.js b/dbgpt/app/static/web/_next/static/chunks/87beec9e-9c23accb81dadd8a.js deleted file mode 100644 index aa9f79c27..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/87beec9e-9c23accb81dadd8a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3795],{52785:function(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})(e)}function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}n.d(t,{Z:function(){return lw}});var d,p,f,g,v,y,b="undefined"==typeof window?null:window,x=b?b.navigator:null;b&&b.document;var w=r(""),E=r({}),k=r(function(){}),C="undefined"==typeof HTMLElement?"undefined":r(HTMLElement),S=function(e){return e&&e.instanceString&&T(e.instanceString)?e.instanceString():null},D=function(e){return null!=e&&r(e)==w},T=function(e){return null!=e&&r(e)===k},P=function(e){return!N(e)&&(Array.isArray?Array.isArray(e):null!=e&&e instanceof Array)},_=function(e){return null!=e&&r(e)===E&&!P(e)&&e.constructor===Object},M=function(e){return null!=e&&r(e)===r(1)&&!isNaN(e)},B=function(e){if("undefined"!==C)return null!=e&&e instanceof HTMLElement},N=function(e){return A(e)||I(e)},A=function(e){return"collection"===S(e)&&e._private.single},I=function(e){return"collection"===S(e)&&!e._private.single},O=function(e){return"core"===S(e)},z=function(e){return"stylesheet"===S(e)},L=function(e){return null==e||!!(""===e||e.match(/^\s+$/))},R=function(e){return null!=e&&r(e)===E&&T(e.then)},V=function(e,t){t||(t=function(){if(1==arguments.length)return arguments[0];if(0==arguments.length)return"undefined";for(var e=[],t=0;tt?1:0},Z=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var n,r,i,a,o,s,l,u,c=RegExp("^"+G+"$").exec(e);if(c){if((r=parseInt(c[1]))<0?r=(360- -1*r%360)%360:r>360&&(r%=360),r/=360,(i=parseFloat(c[2]))<0||i>100||(i/=100,(a=parseFloat(c[3]))<0||a>100)||(a/=100,void 0!==(o=c[4])&&((o=parseFloat(o))<0||o>1)))return;if(0===i)s=l=u=Math.round(255*a);else{var h=a<.5?a*(1+i):a+i-a*i,d=2*a-h;s=Math.round(255*t(d,h,r+1/3)),l=Math.round(255*t(d,h,r)),u=Math.round(255*t(d,h,r-1/3))}n=[s,l,u,o]}return n},J=function(e){var t,n=RegExp("^"+W+"$").exec(e);if(n){t=[];for(var r=[],i=1;i<=3;i++){var a=n[i];if("%"===a[a.length-1]&&(r[i]=!0),a=parseFloat(a),r[i]&&(a=a/100*255),a<0||a>255)return;t.push(Math.floor(a))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t},ee={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},et=function(e){for(var t=e.map,n=e.keys,r=n.length,i=0;i=t||n<0||h&&r>=a}function g(){var e,n,r,i=el();if(f(i))return v(i);s=setTimeout(g,(e=i-l,n=i-u,r=t-e,h?e_(r,a-n):r))}function v(e){return(s=void 0,d&&r)?p(e):(r=i=void 0,o)}function y(){var e,n=el(),a=f(n);if(r=arguments,i=this,l=n,a){if(void 0===s)return u=e=l,s=setTimeout(g,t),c?p(e):o;if(h)return clearTimeout(s),s=setTimeout(g,t),p(l)}return void 0===s&&(s=setTimeout(g,t)),o}return t=eT(t)||0,er(n)&&(c=!!n.leading,a=(h="maxWait"in n)?eP(eT(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?o:v(el())},y},eB=b?b.performance:null,eN=eB&&eB.now?function(){return eB.now()}:function(){return Date.now()},eA=function(){if(b){if(b.requestAnimationFrame)return function(e){b.requestAnimationFrame(e)};if(b.mozRequestAnimationFrame)return function(e){b.mozRequestAnimationFrame(e)};if(b.webkitRequestAnimationFrame)return function(e){b.webkitRequestAnimationFrame(e)};if(b.msRequestAnimationFrame)return function(e){b.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout(function(){e(eN())},1e3/60)}}(),eI=function(e){return eA(e)},eO=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9261,r=n;!(t=e.next()).done;)r=65599*r+t.value|0;return r},ez=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9261;return 65599*t+e|0},eL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5381;return(t<<5)+t+e|0},eR=function(e){return 2097152*e[0]+e[1]},eV=function(e,t){return[ez(e[0],t[0]),eL(e[1],t[1])]},eF=function(e,t){var n={value:0,done:!1},r=0,i=e.length;return eO({next:function(){return r=0&&(e[r]!==t||(e.splice(r,1),!n));r--);},e6=function(e){e.splice(0,e.length)},e8=function(e,t){for(var n=0;n2)||void 0===arguments[2]||arguments[2];if(void 0===e||void 0===t||!O(e)){eQ("An element must have a core reference and parameters set");return}var r=t.group;if(null==r&&(r=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"!==r&&"edges"!==r){eQ("An element must be of type `nodes` or `edges`; you specified `"+r+"`");return}this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,pannable:void 0===t.pannable?"edges"===r:!!t.pannable,active:!1,classes:new ti,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),t.renderedPosition){var a=t.renderedPosition,o=e.pan(),s=e.zoom();i.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var l=[];P(t.classes)?l=t.classes:D(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;ut?1:0},u=function(e,t,i,a,o){var s;if(null==i&&(i=0),null==o&&(o=n),i<0)throw Error("lo must be non-negative");for(null==a&&(a=e.length);io(t,e[s=r((i+a)/2)])?a=s:i=s+1;return[].splice.apply(e,[i,i-i].concat(t)),t},o=function(e,t,r){return null==r&&(r=n),e.push(t),f(e,0,e.length-1,r)},a=function(e,t){var r,i;return null==t&&(t=n),r=e.pop(),e.length?(i=e[0],e[0]=r,g(e,0,t)):i=r,i},l=function(e,t,r){var i;return null==r&&(r=n),i=e[0],e[0]=t,g(e,0,r),i},s=function(e,t,r){var i;return null==r&&(r=n),e.length&&0>r(e[0],t)&&(t=(i=[e[0],t])[0],e[0]=i[1],g(e,0,r)),t},i=function(e,t){var i,a,o,s,l,u;for(null==t&&(t=n),s=(function(){u=[];for(var t=0,n=r(e.length/2);0<=n?tn;0<=n?t++:t--)u.push(t);return u}).apply(this).reverse(),l=[],a=0,o=s.length;ar(o=f[h],s)&&(u(l,o,0,null,r),l.pop(),s=l[l.length-1]);return l}for(i(e,r),v=[],d=0,g=c(t,e.length);0<=g?dg;0<=g?++d:--d)v.push(a(e,r));return v},f=function(e,t,r,i){var a,o,s;for(null==i&&(i=n),a=e[r];r>t;){if(o=e[s=r-1>>1],0>i(a,o)){e[r]=o,r=s;continue}break}return e[r]=a},g=function(e,t,r){var i,a,o,s,l;for(null==r&&(r=n),a=e.length,l=t,o=e[t],i=2*t+1;ir(e[i],e[s]))&&(i=s),e[t]=e[i],i=2*(t=i)+1;return e[t]=o,f(e,l,t,r)},t=function(){function e(e){this.cmp=null!=e?e:n,this.nodes=[]}return e.push=o,e.pop=a,e.replace=l,e.pushpop=s,e.heapify=i,e.updateItem=p,e.nlargest=h,e.nsmallest=d,e.prototype.push=function(e){return o(this.nodes,e,this.cmp)},e.prototype.pop=function(){return a(this.nodes,this.cmp)},e.prototype.peek=function(){return this.nodes[0]},e.prototype.contains=function(e){return -1!==this.nodes.indexOf(e)},e.prototype.replace=function(e){return l(this.nodes,e,this.cmp)},e.prototype.pushpop=function(e){return s(this.nodes,e,this.cmp)},e.prototype.heapify=function(){return i(this.nodes,this.cmp)},e.prototype.updateItem=function(e){return p(this.nodes,e,this.cmp)},e.prototype.clear=function(){return this.nodes=[]},e.prototype.empty=function(){return 0===this.nodes.length},e.prototype.size=function(){return this.nodes.length},e.prototype.clone=function(){var t;return(t=new e).nodes=this.nodes.slice(0),t},e.prototype.toArray=function(){return this.nodes.slice(0)},e.prototype.insert=e.prototype.push,e.prototype.top=e.prototype.peek,e.prototype.front=e.prototype.peek,e.prototype.has=e.prototype.contains,e.prototype.copy=e.prototype.clone,e}(),e.exports=t}).call(ei)}(oq={exports:{}},oq.exports),oq.exports),tu=e4({root:null,weight:function(e){return 1},directed:!1}),tc=e4({root:null,goal:null,weight:function(e){return 1},heuristic:function(e){return 0},directed:!1}),th=e4({weight:function(e){return 1},directed:!1}),td=e4({weight:function(e){return 1},directed:!1,root:null}),tp=Math.sqrt(2),tf=function(e,t,n){0===n.length&&eQ("Karger-Stein must be run on a connected (sub)graph");for(var r=n[e],i=r[1],a=r[2],o=t[i],s=t[a],l=n.length-1;l>=0;l--){var u=n[l],c=u[1],h=u[2];(t[c]===o&&t[h]===s||t[c]===s&&t[h]===o)&&n.splice(l,1)}for(var d=0;dr;)t=tf(Math.floor(Math.random()*t.length),e,t),n--;return t},tv=function(e,t,n){return{x:e.x*t+n.x,y:e.y*t+n.y}},ty=function(e,t,n){return{x:(e.x-n.x)/t,y:(e.y-n.y)/t}},tm=function(e){return{x:e[0],y:e[1]}},tb=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=-1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0,a=t;a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=!(arguments.length>5)||void 0===arguments[5]||arguments[5];r?e=e.slice(t,n):(n0&&e.splice(0,t));for(var o=0,s=e.length-1;s>=0;s--){var l=e[s];a?!isFinite(l)&&(e[s]=-1/0,o++):e.splice(s,1)}i&&e.sort(function(e,t){return e-t});var u=e.length,c=Math.floor(u/2);return u%2!=0?e[c+1+o]:(e[c-1+o]+e[c+o])/2},tk=function(e,t){return Math.atan2(t,e)-Math.PI/2},tC=Math.log2||function(e){return Math.log(e)/Math.log(2)},tS=function(e){return e>0?1:e<0?-1:0},tD=function(e,t){return Math.sqrt(tT(e,t))},tT=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},tP=function(e){for(var t=e.length,n=0,r=0;r=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},tI=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},tO=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},tz=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},tL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},tR=function(e){var t,n,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)t=n=r=i=a[0];else if(2===a.length)t=r=a[0],i=n=a[1];else if(4===a.length){var o=l(a,4);t=o[0],n=o[1],r=o[2],i=o[3]}return e.x1-=i,e.x2+=n,e.y1-=t,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},tV=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},tF=function(e,t){return!(e.x1>t.x2)&&!(t.x1>e.x2)&&!(e.x2t.y2)&&!(t.y1>e.y2)},tj=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},tq=function(e,t){return tj(e,t.x1,t.y1)&&tj(e,t.x2,t.y2)},tX=function(e,t,n,r,i,a,o){var s,l,u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"auto",c="auto"===u?nt(i,a):u,h=i/2,d=a/2,p=(c=Math.min(c,h,d))!==h,f=c!==d;if(p){var g=n-h+c-o,v=r-d-o,y=n+h-c+o;if((s=t3(e,t,n,r,g,v,y,v,!1)).length>0)return s}if(f){var b=n+h+o,x=r-d+c-o,w=r+d-c+o;if((s=t3(e,t,n,r,b,x,b,w,!1)).length>0)return s}if(p){var E=n-h+c-o,k=r+d+o,C=n+h-c+o;if((s=t3(e,t,n,r,E,k,C,k,!1)).length>0)return s}if(f){var S=n-h-o,D=r-d+c-o,T=r+d-c+o;if((s=t3(e,t,n,r,S,D,S,T,!1)).length>0)return s}var P=n-h+c,_=r-d+c;if((l=t2(e,t,n,r,P,_,c+o)).length>0&&l[0]<=P&&l[1]<=_)return[l[0],l[1]];var M=n+h-c,B=r-d+c;if((l=t2(e,t,n,r,M,B,c+o)).length>0&&l[0]>=M&&l[1]<=B)return[l[0],l[1]];var N=n+h-c,A=r+d-c;if((l=t2(e,t,n,r,N,A,c+o)).length>0&&l[0]>=N&&l[1]>=A)return[l[0],l[1]];var I=n-h+c,O=r+d-c;return(l=t2(e,t,n,r,I,O,c+o)).length>0&&l[0]<=I&&l[1]>=O?[l[0],l[1]]:[]},tY=function(e,t,n,r,i,a,o,s,l){var u={x1:Math.min(n,o,i)-l,x2:Math.max(n,o,i)+l,y1:Math.min(r,s,a)-l,y2:Math.max(r,s,a)+l};return!(eu.x2)&&!(tu.y2)},tW=function(e,t,n,r){var i=t*t-4*e*(n-=r);if(i<0)return[];var a=Math.sqrt(i),o=2*e;return[(-t+a)/o,(-t-a)/o]},tH=function(e,t,n,r,i){var a,o,s,l,u,c,h,d;if(0===e&&(e=1e-5),t/=e,n/=e,r/=e,a=(o=(3*n-t*t)/9)*o*o+(s=(-(27*r)+t*(9*n-2*(t*t)))/54)*s,i[1]=0,h=t/3,a>0){u=(u=s+Math.sqrt(a))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),c=(c=s-Math.sqrt(a))<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-h+u+c,h+=(u+c)/2,i[4]=i[2]=-h,h=Math.sqrt(3)*(-c+u)/2,i[3]=h,i[5]=-h;return}if(i[5]=i[3]=0,0===a){d=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),i[0]=-h+2*d,i[4]=i[2]=-(d+h);return}l=Math.acos(s/Math.sqrt(l=(o=-o)*o*o)),d=2*Math.sqrt(o),i[0]=-h+d*Math.cos(l/3),i[2]=-h+d*Math.cos((l+2*Math.PI)/3),i[4]=-h+d*Math.cos((l+4*Math.PI)/3)},tG=function(e,t,n,r,i,a,o,s){var l,u=[];tH(1*n*n-4*n*i+2*n*o+4*i*i-4*i*o+o*o+r*r-4*r*a+2*r*s+4*a*a-4*a*s+s*s,9*n*i-3*n*n-3*n*o-6*i*i+3*i*o+9*r*a-3*r*r-3*r*s-6*a*a+3*a*s,3*n*n-6*n*i+n*o-n*e+2*i*i+2*i*e-o*e+3*r*r-6*r*a+r*s-r*t+2*a*a+2*a*t-s*t,1*n*i-n*n+n*e-i*e+r*a-r*r+r*t-a*t,u);for(var c=[],h=0;h<6;h+=2)1e-7>Math.abs(u[h+1])&&u[h]>=0&&u[h]<=1&&c.push(u[h]);c.push(1),c.push(0);for(var d=-1,p=0;p=0?ll?(e-i)*(e-i)+(t-a)*(t-a):u-h},tK=function(e,t,n){for(var r,i,a,o,s=0,l=0;l=e)||!(e>=a))&&(!(r<=e)||!(e<=a)))continue;(e-r)/(a-r)*(o-i)+i>t&&s++}return s%2!=0},tZ=function(e,t,n,r,i,a,o,s,l){var u,c=Array(n.length);null!=s[0]?(u=Math.atan(s[1]/s[0]),s[0]<0?u+=Math.PI/2:u=-u-Math.PI/2):u=s;for(var h=Math.cos(-u),d=Math.sin(-u),p=0;p0?tQ(tJ(c,-l)):c)},t$=function(e,t,n,r,i,a,o,s){for(var l=Array(2*n.length),u=0;u=0&&f<=1&&v.push(f),g>=0&&g<=1&&v.push(g),0===v.length)return[];var y=v[0]*s[0]+e,b=v[0]*s[1]+t;return v.length>1?v[0]==v[1]?[y,b]:[y,b,v[1]*s[0]+e,v[1]*s[1]+t]:[y,b]},t5=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},t3=function(e,t,n,r,i,a,o,s,l){var u=e-i,c=n-e,h=o-i,d=t-a,p=r-t,f=s-a,g=h*d-f*u,v=c*d-p*u,y=f*c-h*p;if(0!==y){var b=g/y,x=v/y;return -.001<=b&&b<=1.001&&-.001<=x&&x<=1.001?[e+b*c,t+b*p]:l?[e+b*c,t+b*p]:[]}return 0!==g&&0!==v?[]:t5(e,n,o)===o?[o,s]:t5(e,n,i)===i?[i,a]:t5(i,o,n)===n?[n,r]:[]},t4=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,f=[],g=Array(n.length),v=!0;if(null==a&&(v=!1),v){for(var y=0;y0?tQ(tJ(g,-s)):g}else u=n;for(var b=0;b2){for(var p=[c[0],c[1]],f=Math.pow(p[0]-e,2)+Math.pow(p[1]-t,2),g=1;gu&&(u=t)},get:function(e){return l[e]}},h=0;h0?b.edgesTo(y)[0]:y.edgesTo(b)[0]);h[y=y.id()]>h[g]+x&&(h[y]=h[g]+x,0>d.nodes.indexOf(y)?d.push(y):d.updateItem(y),u[y]=0,l[y]=[]),h[y]==h[g]+x&&(u[y]=u[y]+u[g],l[y].push(g))}else for(var w=0;w0;){for(var S=n.pop(),D=0;D0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i},nw=function(e,t){for(var n=0;n5&&void 0!==arguments[5]?arguments[5]:nC,o=r,s=0;s=2?nM(e,t,n,0,nT,nP):nM(e,t,n,0,nD)},squaredEuclidean:function(e,t,n){return nM(e,t,n,0,nT)},manhattan:function(e,t,n){return nM(e,t,n,0,nD)},max:function(e,t,n){return nM(e,t,n,-1/0,n_)}};function nN(e,t,n,r,i,a){var o;return(o=T(e)?e:nB[e]||nB.euclidean,0===t&&T(e))?o(i,a):o(t,n,r,i,a)}nB["squared-euclidean"]=nB.squaredEuclidean,nB.squaredeuclidean=nB.squaredEuclidean;var nA=e4({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),nI=function(e){return nA(e)},nO=function(e,t,n,r,i){var a="kMedoids"!==i?function(e){return n[e]}:function(e){return r[e](n)};return nN(e,r.length,a,function(e){return r[e](t)},n,t)},nz=function(e,t,n){for(var r=n.length,i=Array(r),a=Array(r),o=Array(t),s=null,l=0;ln)return!1;return!0},nF=function(e,t,n){for(var r=0;ri&&(i=t[l][u],a=u);o[a].push(e[l])}for(var c=0;c=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var f=t[s],g=t[r[s]];o="dendrogram"===i.mode?{left:f,right:g,key:f.key}:{value:f.value.concat(g.value),key:f.key},e[f.index]=o,e.splice(g.index,1),t[f.key]=o;for(var v=0;vn[g.key][y.key]&&(a=n[g.key][y.key])):"max"===i.linkage?(a=n[f.key][y.key],n[f.key][y.key]0&&r.push(i);return r},n4=function(e,t,n){for(var r=[],i=0;io&&(a=l,o=t[i*e+l])}a>0&&r.push(a)}for(var u=0;ul&&(s=u,l=c)}n[i]=a[s]}return n4(e,t,n)},n6=function(e){for(var t,n,r,i,a,o,s,l,u,c=this.cy(),h=this.nodes(),d=n2(e),p={},f=0;f=_?(M=_,_=N,B=A):N>M&&(M=N);for(var I=0;I0?1:0;D[u%d.minIterations*r+F]=j,V+=j}if(V>0&&(u>=d.minIterations-1||u==d.maxIterations-1)){for(var q=0,X=0;X1)}});var u=Object.keys(t).filter(function(e){return t[e].cutVertex}).map(function(t){return e.getElementById(t)});return{cut:e.spawn(u),components:i}},re=function(){var e=this,t={},n=0,r=[],i=[],a=e.spawn(e),o=function o(s){if(i.push(s),t[s]={index:n,low:n++,explored:!1},e.getElementById(s).connectedEdges().intersection(e).forEach(function(e){var n=e.target().id();n===s||(n in t||o(n),t[n].explored||(t[s].low=Math.min(t[s].low,t[n].low)))}),t[s].index===t[s].low){for(var l=e.spawn();;){var u=i.pop();if(l.merge(e.getElementById(u)),t[u].low=t[s].index,t[u].explored=!0,u===s)break}var c=l.edgesWith(l),h=l.merge(c);r.push(h),a=a.difference(h)}};return e.forEach(function(e){if(e.isNode()){var n=e.id();n in t||o(n)}}),{cut:a,components:r}},rt={};[ts,{dijkstra:function(e){if(!_(e)){var t=arguments;e={root:t[0],weight:t[1],directed:t[2]}}var n=tu(e),r=n.root,i=n.weight,a=n.directed,o=this,s=D(r)?this.filter(r)[0]:r[0],l={},u={},c={},h=this.byGroup(),d=h.nodes,p=h.edges;p.unmergeBy(function(e){return e.isLoop()});for(var f=function(e){return l[e.id()]},g=new tl(function(e,t){return f(e)-f(t)}),v=0;v0;){var b=g.pop(),x=f(b);if(c[b.id()]=x,x!==1/0)for(var w=b.neighborhood().intersect(d),E=0;E0)for(n.unshift(t);u[i];){var a=u[i];n.unshift(a.edge),n.unshift(a.node),i=(r=a.node).id()}return o.spawn(n)}}}},{kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,i=n.length,a=Array(i),o=function(e){for(var t=0;t0;){if(n=(t=g.pop()).id(),v.delete(n),w++,n===h){for(var E=[],k=o,C=h,S=b[C];E.unshift(k),null!=S&&E.unshift(S),null!=(k=y[C]);)S=b[C=k.id()];return{found:!0,distance:d[n],path:this.spawn(E),steps:w}}f[n]=!0;for(var D=t._private.edges,T=0;TS&&(d[C]=S,g[C]=k,v[C]=b),!i){var T=k*l+E;!i&&d[T]>S&&(d[T]=S,g[T]=E,v[T]=b)}}}for(var P=0;P1&&void 0!==arguments[1]?arguments[1]:a,r=y(e),i=[],s=r;;){if(null==s)return t.spawn();var l=v(s),u=l.edge,c=l.pred;if(i.unshift(s[0]),s.same(n)&&i.length>0)break;null!=u&&i.unshift(u),s=c}return o.spawn(i)},hasNegativeWeightCycle:p,negativeWeightCycles:f}}},{kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy(function(e){return e.isLoop()});var i=n.length,a=r.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),s=Math.floor(i/tp);if(i<2){eQ("At least 2 nodes are required for Karger-Stein algorithm");return}for(var l=[],u=0;u1||o>1)&&(l=!0),u[r]=[],e.outgoers().forEach(function(e){e.isEdge()&&u[r].push(e.id())})}else c[r]=[void 0,e.target().id()]}):this.forEach(function(e){var r=e.id();e.isNode()?(e.degree(!0)%2&&(t?n?l=!0:n=r:t=r),u[r]=[],e.connectedEdges().forEach(function(e){return u[r].push(e.id())})):c[r]=[e.source().id(),e.target().id()]});var h={found:!1,trail:void 0};if(l)return h;if(n&&t){if(s){if(r&&n!=r)return h;r=n}else{if(r&&n!=r&&t!=r)return h;r||(r=n)}}else r||(r=this[0].id());var d=function(e){for(var t,n,r,i=e,a=[e];u[i].length;)n=c[t=u[i].shift()][0],i!=(r=c[t][1])?(u[r]=u[r].filter(function(e){return e!=t}),i=r):s||i==n||(u[n]=u[n].filter(function(e){return e!=t}),i=n),a.unshift(t),a.unshift(i);return a},p=[],f=[];for(f=d(r);1!=f.length;)0==u[f[0]].length?(p.unshift(this.getElementById(f.shift())),p.unshift(this.getElementById(f.shift()))):f=d(f.shift()).concat(f);for(var g in p.unshift(this.getElementById(f.shift())),u)if(u[g].length)return h;return h.found=!0,h.trail=this.spawn(p,!0),h}},{hopcroftTarjanBiconnected:n7,htbc:n7,htb:n7,hopcroftTarjanBiconnectedComponents:n7},{tarjanStronglyConnected:re,tsc:re,tscc:re,tarjanStronglyConnectedComponents:re}].forEach(function(e){Z(rt,e)});var rn=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};rn.prototype={fulfill:function(e){return rr(this,1,"fulfillValue",e)},reject:function(e){return rr(this,2,"rejectReason",e)},then:function(e,t){var n=new rn;return this.onFulfilled.push(ro(e,n,"fulfill")),this.onRejected.push(ro(t,n,"reject")),ri(this),n.proxy}};var rr=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,ri(e)),e},ri=function(e){1===e.state?ra(e,"onFulfilled",e.fulfillValue):2===e.state&&ra(e,"onRejected",e.rejectReason)},ra=function(e,t,n){if(0!==e[t].length){var r=e[t];e[t]=[];var i=function(){for(var e=0;e-1},rA.prototype.set=function(e,t){var n=this.__data__,r=rB(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var rI=rS(es,"Map"),rO=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},rz=function(e,t){var n=e.__data__;return rO(t)?n["string"==typeof t?"string":"hash"]:n.map};function rL(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e0}},clearQueue:function(){return function(){var e=void 0!==this.length?this:[this];if(!(this._private.cy||this).styleEnabled())return this;for(var t=0;t0&&this.spawn(n).updateStyle().emit("class"),this},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){P(e)||(e=e.match(/\S+/g)||[]);for(var n=void 0===t,r=[],i=0,a=this.length;i0&&this.spawn(r).updateStyle().emit("class"),this},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout(function(){n.removeClass(e)},t),n}};r7.className=r7.classNames=r7.classes;var ie={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:Y,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};ie.variable="(?:[\\w-.]|(?:\\\\"+ie.metaChar+"))+",ie.className="(?:[\\w-]|(?:\\\\"+ie.metaChar+"))+",ie.value=ie.string+"|"+ie.number,ie.id=ie.variable,function(){var e,t,n;for(n=0,e=ie.comparatorOp.split("|");n=0||"="===t||(ie.comparatorOp+="|\\!"+t)}();var it=function(){return{checks:[]}},ir={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},ii=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort(function(e,t){return -1*K(e.selector,t.selector)}),ia=function(){for(var e,t={},n=0;n=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(o||l||u)&&(i=o||s?""+e:"",a=""+n),u&&(e=i=i.toLowerCase(),n=a=a.toLowerCase()),t){case"*=":r=i.indexOf(a)>=0;break;case"$=":r=i.indexOf(a,i.length-a.length)>=0;break;case"^=":r=0===i.indexOf(a);break;case"=":r=e===n;break;case">":h=!0,r=e>n;break;case">=":h=!0,r=e>=n;break;case"<":h=!0,r=e0&&l.edgeCount>0)return e0("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(l.edgeCount>1)return e0("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===l.edgeCount&&e0("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(e){return null==e?"":e},t=function(t){return D(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},r=function(r,a){var o=r.type,s=r.value;switch(o){case ir.GROUP:var l=e(s);return l.substring(0,l.length-1);case ir.DATA_COMPARE:return"["+r.field+n(e(r.operator))+t(s)+"]";case ir.DATA_BOOL:var u=r.operator,c=r.field;return"["+e(u)+c+"]";case ir.DATA_EXIST:return"["+r.field+"]";case ir.META_COMPARE:var h=r.operator;return"[["+r.field+n(e(h))+t(s)+"]]";case ir.STATE:return s;case ir.ID:return"#"+s;case ir.CLASS:return"."+s;case ir.PARENT:case ir.CHILD:return i(r.parent,a)+n(">")+i(r.child,a);case ir.ANCESTOR:case ir.DESCENDANT:return i(r.ancestor,a)+" "+i(r.descendant,a);case ir.COMPOUND_SPLIT:var d=i(r.left,a),p=i(r.subject,a),f=i(r.right,a);return d+(d.length>0?" ":"")+p+f;case ir.TRUE:return""}},i=function(e,t){return e.checks.reduce(function(n,i,a){return n+(t===e&&0===a?"$":"")+r(i,t)},"")},a="",o=0;o1&&o0;){var u=i.shift();t(u),a.add(u.id()),o&&r(i,a,u)}return e}function iC(e,t,n){if(n.isParent())for(var r=n._private.children,i=0;i1)||void 0===arguments[1]||arguments[1];return ik(this,e,t,iC)},iE.forEachUp=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return ik(this,e,t,iS)},iE.forEachUpAndDown=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return ik(this,e,t,iD)},iE.ancestors=iE.parents,(oG=oU={data:r6.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:r6.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:r6.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:r6.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:r6.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:r6.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=oG.data,oG.removeAttr=oG.removeData;var iT={};function iP(e){return function(t){if(void 0===t&&(t=!0),0!==this.length&&!(!this.isNode()||this.removed())){for(var n=0,r=this[0],i=r._private.edges,a=0;at}),minIndegree:i_("indegree",function(e,t){return et}),minOutdegree:i_("outdegree",function(e,t){return et})}),Z(iT,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r0;c&&(u=u[0]);var h=c?u.position():{x:0,y:0};void 0!==t?l.position(e,t+h[e]):void 0!==i&&l.position({x:i.x+h.x,y:i.y+h.y})}else{var d=n.position(),p=o?n.parent():null,f=p&&p.length>0;f&&(p=p[0]);var g=f?p.position():{x:0,y:0};return(i={x:d.x-g.x,y:d.y-g.y},void 0===e)?i:i[e]}}else if(!a)return;return this}}).modelPosition=oK.point=oK.position,oK.modelPositions=oK.points=oK.positions,oK.renderedPoint=oK.renderedPosition,oK.relativePoint=oK.relativePosition,o$=oQ={},oQ.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),a=t.x1*r+i.x,o=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:a,x2:o,y1:s,y2:l,w:o-a,h:l-s}},oQ.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()&&this.forEachUp(function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,e||t.emitAndNotify("bounds")}}),this},oQ.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes()||!e&&t.batching())return this;for(var n=0;n0&&(s=100*s/i.width.val);var l=i.width.right.value;"px"===i.width.right.units&&i.width.val>0&&(l=100*l/i.width.val);var u=i.height.top.value;"px"===i.height.top.units&&i.height.val>0&&(u=100*u/i.height.val);var c=i.height.bottom.value;"px"===i.height.bottom.units&&i.height.val>0&&(c=100*c/i.height.val);var h=y(i.width.val-a.w,s,l),d=h.biasDiff,p=h.biasComplementDiff,f=y(i.height.val-a.h,u,c),g=f.biasDiff,v=f.biasComplementDiff;t.autoPadding=function(e,t,n,r){if("%"===n.units)switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}else if("px"===n.units)return n.pfValue;else return 0}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(a.w,i.width.val),o.x=(-d+a.x1+a.x2+p)/2,t.autoHeight=Math.max(a.h,i.height.val),o.y=(-g+a.y1+a.y2+v)/2}function y(e,t,n){var r=0,i=0,a=t+n;return e>0&&a>0&&(r=t/a*e,i=n/a*e),{biasDiff:r,biasComplementDiff:i}}}(r),t.batching()||(i.compoundBoundsClean=!0))}return this};var iN=function(e){return e===1/0||e===-1/0?0:e},iA=function(e,t,n,r,i){r-t!=0&&i-n!=0&&null!=t&&null!=n&&null!=r&&null!=i&&(e.x1=te.x2?r:e.x2,e.y1=ne.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},iI=function(e,t){return null==t?e:iA(e,t.x1,t.y1,t.x2,t.y2)},iO=function(e,t,n){return e7(e,t,n)},iz=function(e,t,n){if(!t.cy().headless()){var r,i,a=t._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==t.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,i=o.srcY):"target"===n?(r=o.tgtX,i=o.tgtY):(r=o.midX,i=o.midY);var l=a.arrowBounds=a.arrowBounds||{},u=l[n]=l[n]||{};u.x1=r-s,u.y1=i-s,u.x2=r+s,u.y2=i+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,tL(u,1),iA(e,u.x1,u.y1,u.x2,u.y2)}}},iL=function(e,t,n){if(!t.cy().headless()){a=n?n+"-":"";var r=t._private,i=r.rstyle;if(t.pstyle(a+"label").strValue){var a,o,s,l,u,c=t.pstyle("text-halign"),h=t.pstyle("text-valign"),d=iO(i,"labelWidth",n),p=iO(i,"labelHeight",n),f=iO(i,"labelX",n),g=iO(i,"labelY",n),v=t.pstyle(a+"text-margin-x").pfValue,y=t.pstyle(a+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle(a+"text-rotation"),w=t.pstyle("text-outline-width").pfValue,E=t.pstyle("text-border-width").pfValue/2,k=t.pstyle("text-background-padding").pfValue,C=d/2,S=p/2;if(b)o=f-C,s=f+C,l=g-S,u=g+S;else{switch(c.value){case"left":o=f-d,s=f;break;case"center":o=f-C,s=f+C;break;case"right":o=f,s=f+d}switch(h.value){case"top":l=g-p,u=g;break;case"center":l=g-S,u=g+S;break;case"bottom":l=g,u=g+p}}o+=v-Math.max(w,E)-k-2,s+=v+Math.max(w,E)+k+2,l+=y-Math.max(w,E)-k-2,u+=y+Math.max(w,E)+k+2;var D=n||"main",T=r.labelBounds,P=T[D]=T[D]||{};P.x1=o,P.y1=l,P.x2=s,P.y2=u,P.w=s-o,P.h=u-l;var _=b&&"autorotate"===x.strValue,M=null!=x.pfValue&&0!==x.pfValue;if(_||M){var B=_?iO(r.rstyle,"labelAngle",n):x.pfValue,N=Math.cos(B),A=Math.sin(B),I=(o+s)/2,O=(l+u)/2;if(!b){switch(c.value){case"left":I=s;break;case"right":I=o}switch(h.value){case"top":O=u;break;case"bottom":O=l}}var z=function(e,t){return{x:(e-=I)*N-(t-=O)*A+I,y:e*A+t*N+O}},L=z(o,l),R=z(o,u),V=z(s,l),F=z(s,u);o=Math.min(L.x,R.x,V.x,F.x),s=Math.max(L.x,R.x,V.x,F.x),l=Math.min(L.y,R.y,V.y,F.y),u=Math.max(L.y,R.y,V.y,F.y)}var j=D+"Rot",q=T[j]=T[j]||{};q.x1=o,q.y1=l,q.x2=s,q.y2=u,q.w=s-o,q.h=u-l,iA(e,o,l,s,u),iA(r.labelBounds.all,o,l,s,u)}return e}},iR=function(e,t){if(!t.cy().headless()){var n=t.pstyle("outline-opacity").value,r=t.pstyle("outline-width").value;if(n>0&&r>0){var i=t.pstyle("outline-offset").value,a=t.pstyle("shape").value,o=r+i,s=(e.w+2*o)/e.w,l=(e.h+2*o)/e.h,u=0;["diamond","pentagon","round-triangle"].includes(a)?(s=(e.w+2.4*o)/e.w,u=-o/3.6):["concave-hexagon","rhomboid","right-rhomboid"].includes(a)?s=(e.w+2.4*o)/e.w:"star"===a?(s=(e.w+2.8*o)/e.w,l=(e.h+2.6*o)/e.h,u=-o/3.8):"triangle"===a?(s=(e.w+2.8*o)/e.w,l=(e.h+2.4*o)/e.h,u=-o/1.4):"vee"===a&&(s=(e.w+4.4*o)/e.w,l=(e.h+3.8*o)/e.h,u=-(.5*o));var c=e.h*l-e.h,h=e.w*s-e.w;if(tR(e,[Math.ceil(c/2),Math.ceil(h/2)]),0!==u){var d,p=(d=u,{x1:e.x1+0,x2:e.x2+0,y1:e.y1+d,y2:e.y2+d,w:e.w,h:e.h});tO(e,p)}}}},iV=function(e,t){var n=e._private.cy,r=n.styleEnabled(),i=n.headless(),a=tA(),o=e._private,s=e.isNode(),l=e.isEdge(),u=o.rstyle,c=s&&r?e.pstyle("bounds-expansion").pfValue:[0],h=function(e){return"none"!==e.pstyle("display").value},d=!r||h(e)&&(!l||h(e.source())&&h(e.target()));if(d){var p=0;r&&t.includeOverlays&&0!==e.pstyle("overlay-opacity").value&&(p=e.pstyle("overlay-padding").value);var f=0;r&&t.includeUnderlays&&0!==e.pstyle("underlay-opacity").value&&(f=e.pstyle("underlay-padding").value);var g=Math.max(p,f),v=0;if(r&&(v=e.pstyle("width").pfValue/2),s&&t.includeNodes){var y=e.position();S=y.x,D=y.y;var b=e.outerWidth()/2,x=e.outerHeight()/2;w=S-b,E=S+b,iA(a,w,k=D-x,E,C=D+x),r&&t.includeOutlines&&iR(a,e)}else if(l&&t.includeEdges){if(r&&!i){var w,E,k,C,S,D,T,P=e.pstyle("curve-style").strValue;if(w=Math.min(u.srcX,u.midX,u.tgtX),E=Math.max(u.srcX,u.midX,u.tgtX),k=Math.min(u.srcY,u.midY,u.tgtY),C=Math.max(u.srcY,u.midY,u.tgtY),w-=v,E+=v,iA(a,w,k-=v,E,C+=v),"haystack"===P){var _=u.haystackPts;if(_&&2===_.length){if(w=_[0].x,k=_[0].y,E=_[1].x,C=_[1].y,w>E){var M=w;w=E,E=M}if(k>C){var B=k;k=C,C=B}iA(a,w-v,k-v,E+v,C+v)}}else if("bezier"===P||"unbundled-bezier"===P||P.endsWith("segments")||P.endsWith("taxi")){switch(P){case"bezier":case"unbundled-bezier":T=u.bezierPts;break;case"segments":case"taxi":case"round-segments":case"round-taxi":T=u.linePts}if(null!=T)for(var N=0;NE){var z=w;w=E,E=z}if(k>C){var L=k;k=C,C=L}w-=v,E+=v,iA(a,w,k-=v,E,C+=v)}}if(r&&t.includeEdges&&l&&(iz(a,e,"mid-source"),iz(a,e,"mid-target"),iz(a,e,"source"),iz(a,e,"target")),r&&"yes"===e.pstyle("ghost").value){var R=e.pstyle("ghost-offset-x").pfValue,V=e.pstyle("ghost-offset-y").pfValue;iA(a,a.x1+R,a.y1+V,a.x2+R,a.y2+V)}var F=o.bodyBounds=o.bodyBounds||{};tV(F,a),tR(F,c),tL(F,1),r&&(w=a.x1,E=a.x2,k=a.y1,C=a.y2,iA(a,w-g,k-g,E+g,C+g));var j=o.overlayBounds=o.overlayBounds||{};tV(j,a),tR(j,c),tL(j,1);var q=o.labelBounds=o.labelBounds||{};null!=q.all?tI(q.all):q.all=tA(),r&&t.includeLabels&&(t.includeMainLabels&&iL(a,e,null),l&&(t.includeSourceLabels&&iL(a,e,"source"),t.includeTargetLabels&&iL(a,e,"target")))}return a.x1=iN(a.x1),a.y1=iN(a.y1),a.x2=iN(a.x2),a.y2=iN(a.y2),a.w=iN(a.x2-a.x1),a.h=iN(a.y2-a.y1),a.w>0&&a.h>0&&d&&(tR(a,c),tL(a,1)),a},iF=function(e){var t=0,n=function(e){return(e?1:0)<0&&void 0!==arguments[0]?arguments[0]:i3,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;s--)o(s);return this},i9.removeAllListeners=function(){return this.removeListener("*")},i9.emit=i9.trigger=function(e,t,n){var r=this.listeners,i=r.length;return this.emitting++,P(t)||(t=[t]),i7(this,function(e,a){null!=n&&(i=(r=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}]).length);for(var o=0;o1&&!r){var i=this.length-1,a=this[i],o=a._private.data.id;this[i]=void 0,this[e]=a,n.set(o,{ele:a,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map.get(n);if(!r)return this;var i=r.index;return this.unmergeAt(i),this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&D(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r=0;t--)e(this[t])&&this.unmergeAt(t);return this},map:function(e,t){for(var n=[],r=0;rr&&(r=o,n=a)}return{value:r,ele:n}},min:function(e,t){for(var n,r=1/0,i=0;i=0&&i1)||void 0===arguments[1]||arguments[1],n=this[0],r=n.cy();if(r.styleEnabled()&&n){this.cleanStyle();var i=n._private.style[e];return null!=i?i:t?r.style().getDefaultProperty(e):null}},numericStyle:function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(e){var t=this[0];if(t.cy().styleEnabled()&&t)return t.pstyle(e).units},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];if(n)return t.style().getRenderedStyle(n,e)},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=n.style();if(_(e))r.applyBypass(this,e,!1),this.emitAndNotify("style");else if(D(e)){if(void 0===t){var i=this[0];return i?r.getStylePropertyValue(i,e):void 0}r.applyBypass(this,e,t,!1),this.emitAndNotify("style")}else if(void 0===e){var a=this[0];return a?r.getRawStyle(a):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=t.style();if(void 0===e)for(var r=0;r0&&t.push(c[0]),t.push(s[0])}return this.spawn(t,!0).filter(e)},"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),aw.neighbourhood=aw.neighborhood,aw.closedNeighbourhood=aw.closedNeighborhood,aw.openNeighbourhood=aw.openNeighborhood,Z(aw,{source:iw(function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t},"source"),target:iw(function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t},"target"),sources:aS({attr:"source"}),targets:aS({attr:"target"})}),Z(aw,{edgesWith:iw(aD(),"edgesWith"),edgesTo:iw(aD({thisIsSrc:!0}),"edgesTo")}),Z(aw,{connectedEdges:iw(function(e){for(var t=[],n=0;n0);return a},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),aw.componentsOf=aw.components;var aP=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0===e){eQ("A collection must have a reference to the core");return}var i=new tn,a=!1;if(t){if(t.length>0&&_(t[0])&&!A(t[0])){a=!0;for(var o=[],s=new ti,l=0,u=t.length;l0)||void 0===arguments[0]||arguments[0],t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=this.cy(),r=n._private,i=[],a=[],o=0,s=this.length;o0){for(var A,I,O=A.length===this.length?this:new aP(n,A),z=0;z0)||void 0===arguments[0]||arguments[0],t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=[],r={},i=this._private.cy,a=0,o=this.length;a0&&(e?x.emitAndNotify("remove"):t&&x.emit("remove"));for(var w=0;w1e-4&&Math.abs(o.v)>1e-4;);return p?function(e){return v[e*(v.length-1)|0]}:y}}(),aB=function(e,t,n,r){var i=/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */function(e,t,n,r){var i="undefined"!=typeof Float32Array;if(4!=arguments.length)return!1;for(var a=0;a<4;++a)if("number"!=typeof arguments[a]||isNaN(arguments[a])||!isFinite(arguments[a]))return!1;e=Math.min(e,1),n=Math.min(n,1),e=Math.max(e,0),n=Math.max(n,0);var o=i?new Float32Array(11):Array(11);function s(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e}function l(e,t,n){return 3*(1-3*n+3*t)*e*e+2*(3*n-6*t)*e+3*t}var u=!1,c=function(i){return(u||(u=!0,(e!==t||n!==r)&&function(){for(var t=0;t<11;++t)o[t]=s(.1*t,e,n)}()),e===t&&n===r)?i:0===i?0:1===i?1:s(function(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=.1;var a=r+(t-o[--i])/(o[i+1]-o[i])*.1,u=l(a,e,n);return u>=.001?function(t,r){for(var i=0;i<4;++i){var a=l(r,e,n);if(0===a)break;var o=s(r,e,n)-t;r-=o/a}return r}(t,a):0===u?a:function(t,r,i){var a,o,l=0;do(a=s(o=r+(i-r)/2,e,n)-t)>0?i=o:r=o;while(Math.abs(a)>1e-7&&++l<10);return o}(t,r,r+.1)}(i),t,r)};c.getControlPoints=function(){return[{x:e,y:t},{x:n,y:r}]};var h="generateBezier("+[e,t,n,r]+")";return c.toString=function(){return h},c}(e,t,n,r);return function(e,t,n){return e+(t-e)*i(n)}},aN={linear:function(e,t,n){return e+(t-e)*n},ease:aB(.25,.1,.25,1),"ease-in":aB(.42,0,1,1),"ease-out":aB(0,0,.58,1),"ease-in-out":aB(.42,0,.58,1),"ease-in-sine":aB(.47,0,.745,.715),"ease-out-sine":aB(.39,.575,.565,1),"ease-in-out-sine":aB(.445,.05,.55,.95),"ease-in-quad":aB(.55,.085,.68,.53),"ease-out-quad":aB(.25,.46,.45,.94),"ease-in-out-quad":aB(.455,.03,.515,.955),"ease-in-cubic":aB(.55,.055,.675,.19),"ease-out-cubic":aB(.215,.61,.355,1),"ease-in-out-cubic":aB(.645,.045,.355,1),"ease-in-quart":aB(.895,.03,.685,.22),"ease-out-quart":aB(.165,.84,.44,1),"ease-in-out-quart":aB(.77,0,.175,1),"ease-in-quint":aB(.755,.05,.855,.06),"ease-out-quint":aB(.23,1,.32,1),"ease-in-out-quint":aB(.86,0,.07,1),"ease-in-expo":aB(.95,.05,.795,.035),"ease-out-expo":aB(.19,1,.22,1),"ease-in-out-expo":aB(1,0,0,1),"ease-in-circ":aB(.6,.04,.98,.335),"ease-out-circ":aB(.075,.82,.165,1),"ease-in-out-circ":aB(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return aN.linear;var r=aM(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":aB};function aA(e,t,n,r,i){if(1===r||t===n)return n;var a=i(t,n,r);return null==e||((e.roundValue||e.color)&&(a=Math.round(a)),void 0!==e.min&&(a=Math.max(a,e.min)),void 0!==e.max&&(a=Math.min(a,e.max))),a}function aI(e,t){return null==e.pfValue&&null==e.value?e:null!=e.pfValue&&(null==t||"%"!==t.type.units)?e.pfValue:e.value}function aO(e,t,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=aI(e,i),s=aI(t,i);if(M(o)&&M(s))return aA(a,o,s,n,r);if(P(o)&&P(s)){for(var l=[],u=0;u=0;t--)(0,e[t])();e.splice(0,e.length)},c=a.length-1;c>=0;c--){var h=a[c],d=h._private;if(d.stopped){a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.frames);continue}(d.playing||d.applying)&&(d.playing&&d.applying&&(d.applying=!1),d.started||function(e,t,n,r){var i=t._private;i.started=!0,i.startTime=n-i.progress*i.duration}(0,h,e),function(e,t,n,r){var i,a,o,s,l=!r,u=e._private,c=t._private,h=c.easing,d=c.startTime,p=(r?e:e.cy()).style();c.easingImpl||(null==h?c.easingImpl=aN.linear:(i=D(h)?p.parse("transition-timing-function",h).value:h,D(i)?(a=i,o=[]):(a=i[1],o=i.slice(2).map(function(e){return+e})),o.length>0?("spring"===a&&o.push(c.duration),c.easingImpl=aN[a].apply(null,o)):c.easingImpl=aN[a]));var f=c.easingImpl;if(s=0===c.duration?1:(n-d)/c.duration,c.applying&&(s=c.progress),s<0?s=0:s>1&&(s=1),null==c.delay){var g=c.startPosition,v=c.position;if(v&&l&&!e.locked()){var y={};az(g.x,v.x)&&(y.x=aO(g.x,v.x,s,f)),az(g.y,v.y)&&(y.y=aO(g.y,v.y,s,f)),e.position(y)}var b=c.startPan,x=c.pan,w=u.pan,E=null!=x&&r;E&&(az(b.x,x.x)&&(w.x=aO(b.x,x.x,s,f)),az(b.y,x.y)&&(w.y=aO(b.y,x.y,s,f)),e.emit("pan"));var k=c.startZoom,C=c.zoom,S=null!=C&&r;S&&(az(k,C)&&(u.zoom=tN(u.minZoom,aO(k,C,s,f),u.maxZoom)),e.emit("zoom")),(E||S)&&e.emit("viewport");var T=c.style;if(T&&T.length>0&&l){for(var P=0;P0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}var aR={animate:r6.animate(),animation:r6.animation(),animated:r6.animated(),clearQueue:r6.clearQueue(),delay:r6.delay(),delayAnimation:r6.delayAnimation(),stop:r6.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender(function(t,n){aL(n,e)},t.beforeRenderPriorities.animations):function t(){e._private.animationsRunning&&eI(function(n){aL(n,e),t()})}()}}},aV={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&A(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},aF=function(e){return D(e)?new im(e):e},aj={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new i4(aV,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,aF(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,aF(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,aF(t),n),this},once:function(e,t,n){return this.emitter().one(e,aF(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};r6.eventAliasesOn(aj);var aq={png:function(e){return e=e||{},this._private.renderer.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};aq.jpeg=aq.jpg;var aX={layout:function(e){if(null==e){eQ("Layout options must be specified to make a layout");return}if(null==e.name){eQ("A `name` must be specified to make a layout");return}var t,n=e.name,r=this.extension("layout",n);if(null==r){eQ("No such layout `"+n+"` found. Did you forget to import it and `cytoscape.use()` it?");return}return t=D(e.eles)?this.$(e.eles):null!=e.eles?e.eles:this.$(),new r(Z({},e,{cy:this,eles:t}))}};aX.createLayout=aX.makeLayout=aX.layout;var aY=e4({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),aW={renderTo:function(e,t,n,r){return this._private.renderer.renderTo(e,t,n,r),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(e){var t=this.extension("renderer",e.name);if(null==t){eQ("Can not initialise: No such renderer `".concat(e.name,"` found. Did you forget to import it and `cytoscape.use()` it?"));return}void 0!==e.wheelSensitivity&&e0("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var n=aY(e);n.cy=this,this._private.renderer=new t(n),this.notify("init")},destroyRenderer:function(){this.notify("destroy");var e=this.container();if(e)for(e._cyreg=null;e.childNodes.length>0;)e.removeChild(e.childNodes[0]);this._private.renderer=null,this.mutableElements().forEach(function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]})},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};aW.invalidateDimensions=aW.resize;var aH={collection:function(e,t){return D(e)?this.$(e):N(e)?e.collection():P(e)?(t||(t={}),new aP(this,e,t.unique,t.removed)):new aP(this)},nodes:function(e){var t=this.$(function(e){return e.isNode()});return e?t.filter(e):t},edges:function(e){var t=this.$(function(e){return e.isEdge()});return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};aH.elements=aH.filter=aH.$;var aG={};aG.apply=function(e){for(var t=this._private.cy.collection(),n=0;n0;if(h||c&&d){var p=void 0;h&&d?p=l.properties:h?p=l.properties:d&&(p=l.mappedProperties);for(var f=0;f1&&(v=1),o.color){var E=r.valueMin[0],k=r.valueMax[0],C=r.valueMin[1],S=r.valueMax[1],D=r.valueMin[2],T=r.valueMax[2],P=null==r.valueMin[3]?1:r.valueMin[3],_=[Math.round(E+(k-E)*v),Math.round(C+(S-C)*v),Math.round(D+(T-D)*v),Math.round(P+((null==r.valueMax[3]?1:r.valueMax[3])-P)*v)];g={bypass:r.bypass,name:r.name,value:_,strValue:"rgb("+_[0]+", "+_[1]+", "+_[2]+")"}}else{if(!o.number)return!1;var B=r.valueMin+(r.valueMax-r.valueMin)*v;g=this.parse(r.name,B,r.bypass,h)}if(!g)return f(),!1;g.mapping=r,r=g;break;case a.data:for(var N=r.field.split("."),A=c.data,I=0;I0&&a>0){for(var s={},l=!1,u=0;u0?e.delayAnimation(o).play().promise().then(t):t()}).then(function(){return e.animation({style:s,duration:a,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){n.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1})}else r.transitioning&&(this.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1)},aG.checkTrigger=function(e,t,n,r,i,a){var o=this.properties[t],s=i(o);null!=s&&s(n,r)&&a(o)},aG.checkZOrderTrigger=function(e,t,n,r){var i=this;this.checkTrigger(e,t,n,r,function(e){return e.triggersZOrder},function(){i._private.cy.notify("zorder",e)})},aG.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,function(e){return e.triggersBounds},function(i){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),i.triggersBoundsOfParallelBeziers&&"curve-style"===t&&("bezier"===n||"bezier"===r)&&e.parallelEdges().forEach(function(e){e.isBundledBezier()&&e.dirtyBoundingBoxCache()}),i.triggersBoundsOfConnectedEdges&&"display"===t&&("none"===n||"none"===r)&&e.connectedEdges().forEach(function(e){e.dirtyBoundingBoxCache()})})},aG.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var aU={};aU.applyBypass=function(e,t,n,r){var i=[];if("*"===t||"**"===t){if(void 0!==n)for(var a=0;at.length?i.substr(t.length):""}function o(){n=n.length>r.length?n.substr(r.length):""}for(i=i.replace(/[/][*](\s|.)+?[*][/]/g,"");!i.match(/^\s*$/);){var s=i.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!s){e0("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+i);break}t=s[0];var l=s[1];if("core"!==l&&new im(l).invalid){e0("Skipping parsing of block: Invalid selector found in string stylesheet: "+l),a();continue}var u=s[2],c=!1;n=u;for(var h=[];!n.match(/^\s*$/);){var d=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!d){e0("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+u),c=!0;break}r=d[0];var p=d[1],f=d[2];if(!this.properties[p]){e0("Skipping property: Invalid property name in: "+r),o();continue}if(!this.parse(p,f)){e0("Skipping property: Invalid property definition in: "+r),o();continue}h.push({name:p,val:f}),o()}if(c){a();break}this.selector(l);for(var g=0;g=7&&"d"===t[0]&&(f=new RegExp(o.data.regex).exec(t)))return!n&&{name:e,value:f,strValue:""+t,mapped:o.data,field:f[1],bypass:n};else if(t.length>=10&&"m"===t[0]&&(g=new RegExp(o.mapData.regex).exec(t))){if(n||l.multiple)return!1;var u=o.mapData;if(!(l.color||l.number))return!1;var c=this.parse(e,g[4]);if(!c||c.mapped)return!1;var h=this.parse(e,g[5]);if(!h||h.mapped)return!1;if(c.pfValue===h.pfValue||c.strValue===h.strValue)return e0("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+c.strValue+"`"),this.parse(e,c.strValue);if(l.color){var d=c.value,p=h.value;if(d[0]===p[0]&&d[1]===p[1]&&d[2]===p[2]&&(d[3]===p[3]||(null==d[3]||1===d[3])&&(null==p[3]||1===p[3])))return!1}return{name:e,value:g,strValue:""+t,mapped:u,field:g[1],fieldMin:parseFloat(g[2]),fieldMax:parseFloat(g[3]),valueMin:c.value,valueMax:h.value,bypass:n}}if(l.multiple&&"multiple"!==r){if(v=s?t.split(/\s+/):P(t)?t:[t],l.evenMultiple&&v.length%2!=0)return null;for(var f,g,v,y=[],b=[],x=[],w="",E=!1,k=0;k0?" ":"")+C.strValue}return l.validate&&!l.validate(y,b)?null:l.singleEnum&&E?1===y.length&&D(y[0])?{name:e,value:y[0],strValue:y[0],bypass:n}:null:{name:e,value:y,pfValue:x,strValue:w,bypass:n,units:b}}var S=function(){for(var r=0;rl.max||l.strictMax&&t===l.max))return null;var O={name:e,value:t,strValue:""+t+(B||""),units:B,bypass:n};return l.unitless||"px"!==B&&"em"!==B?O.pfValue=t:O.pfValue="px"!==B&&B?this.getEmSizeInPixels()*t:t,("ms"===B||"s"===B)&&(O.pfValue="ms"===B?t:1e3*t),("deg"===B||"rad"===B)&&(O.pfValue="rad"===B?t:Math.PI*t/180),"%"===B&&(O.pfValue=t/100),O}if(l.propList){var z=[],L=""+t;if("none"===L);else{for(var R=L.split(/\s*,\s*|\s+/),V=0;V0&&l>0&&!isNaN(r.w)&&!isNaN(r.h)&&r.w>0&&r.h>0){i=(i=(i=Math.min((s-2*t)/r.w,(l-2*t)/r.h))>this._private.maxZoom?this._private.maxZoom:i)=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,r=this._private,i=r.pan,a=r.zoom,o=!1;if(r.zoomingEnabled||(o=!0),M(e)?n=e:_(e)&&(n=e.level,null!=e.position?t=tv(e.position,a,i):null!=e.renderedPosition&&(t=e.renderedPosition),null==t||r.panningEnabled||(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=s,i.push("zoom"))}if(r&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;M(l.x)&&(t.pan.x=l.x,o=!1),M(l.y)&&(t.pan.y=l.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(D(e)){var n=e;e=this.mutableElements().filter(n)}else N(e)||(e=this.mutableElements());if(0!==e.length){var r=e.boundingBox(),i=this.width(),a=this.height();return{x:(i-(t=void 0===t?this._private.zoom:t)*(r.x1+r.x2))/2,y:(a-t*(r.y1+r.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled&&this.viewport({pan:{x:0,y:0},zoom:1}),this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e,t,n=this._private,r=n.container;return n.sizeCache=n.sizeCache||(r?(e=this.window().getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};a5.centre=a5.center,a5.autolockNodes=a5.autolock,a5.autoungrabifyNodes=a5.autoungrabify;var a3={data:r6.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:r6.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:r6.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:r6.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};a3.attr=a3.data,a3.removeAttr=a3.removeData;var a4=function(e){var t=this,n=(e=Z({},e)).container;n&&!B(n)&&B(n[0])&&(n=n[0]);var r=n?n._cyreg:null;(r=r||{}).cy&&(r.cy.destroy(),r={});var i=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var a=void 0!==b&&void 0!==n&&!e.headless,o=e;o.layout=Z({name:a?"grid":"null"},o.layout),o.renderer=Z({name:a?"canvas":"null"},o.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},l=this._private={container:n,ready:!1,options:o,elements:new aP(this),listeners:[],aniEles:new aP(this),data:o.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:s(!0,o.zoomingEnabled),userZoomingEnabled:s(!0,o.userZoomingEnabled),panningEnabled:s(!0,o.panningEnabled),userPanningEnabled:s(!0,o.userPanningEnabled),boxSelectionEnabled:s(!0,o.boxSelectionEnabled),autolock:s(!1,o.autolock,o.autolockNodes),autoungrabify:s(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:s(!1,o.autounselectify),styleEnabled:void 0===o.styleEnabled?a:o.styleEnabled,zoom:M(o.zoom)?o.zoom:1,pan:{x:_(o.pan)&&M(o.pan.x)?o.pan.x:0,y:_(o.pan)&&M(o.pan.y)?o.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:s(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom}),l.styleEnabled&&t.setStyle([]);var u=Z({},o,o.renderer);t.initRenderer(u);var c=function(e,n,r){t.notifications(!1);var i=t.mutableElements();i.length>0&&i.remove(),null!=e&&(_(e)||P(e))&&t.add(e),t.one("layoutready",function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")}).one("layoutstop",function(){t.one("done",r),t.emit("done")});var a=Z({},t._private.options.layout);a.eles=t.elements(),t.layout(a).run()};!function(e,t){if(e.some(R))return rl.all(e).then(t);t(e)}([o.style,o.elements],function(e){var n=e[0],a=e[1];l.styleEnabled&&t.style().append(n),c(a,function(){t.startAnimationLoop(),l.ready=!0,T(o.ready)&&t.on("ready",o.ready);for(var e=0;e0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach(function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)})}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch(function(){for(var n=Object.keys(e),r=0;r0,s=tA(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(N(t.roots))e=t.roots;else if(P(t.roots)){for(var l=[],u=0;u0;){var _=C.shift(),M=function(e,n){for(var i=a7(e),a=e.incomers().filter(function(e){return e.isNode()&&r.has(e)}),o=-1,s=e.id(),l=0;l0&&f[0].length<=3?u/2:0),h=2*Math.PI/f[r].length*i;return 0===r&&1===f[0].length&&(c=1),{x:X.x+c*Math.cos(h),y:X.y+c*Math.sin(h)}}),this};var on={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function or(e){this.options=Z({},on,e)}or.prototype.run=function(){var e,t=this.options,n=t.cy,r=t.eles,i=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));for(var o=tA(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},l=(void 0===t.sweep?2*Math.PI-2*Math.PI/a.length:t.sweep)/Math.max(1,a.length-1),u=0,c=0;c1&&t.avoidOverlap){var d=Math.cos(l)-1,p=Math.sin(l)-0;e=Math.max(Math.sqrt((u*=1.75)*u/(d*d+p*p)),e)}return r.nodes().layoutPositions(this,t,function(n,r){var a=t.startAngle+r*l*(i?1:-1),o=e*Math.cos(a),u=e*Math.sin(a);return{x:s.x+o,y:s.y+u}}),this};var oi={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function oa(e){this.options=Z({},oi,e)}oa.prototype.run=function(){for(var e=this.options,t=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,n=e.cy,r=e.eles,i=r.nodes().not(":parent"),a=tA(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),o={x:a.x1+a.w/2,y:a.y1+a.h/2},s=[],l=0,u=0;u0&&Math.abs(v[0].value-b.value)>=f&&(v=[],g.push(v)),v.push(b)}var x=l+e.minNodeSpacing;if(!e.avoidOverlap){var w=g.length>0&&g[0].length>1,E=(Math.min(a.w,a.h)/2-x)/(g.length+w?1:0);x=Math.min(x,E)}for(var k=0,C=0;C1&&e.avoidOverlap){var P=Math.cos(T)-1,_=Math.sin(T)-0;k=Math.max(Math.sqrt(x*x/(P*P+_*_)),k)}S.r=k,k+=x}if(e.equidistant){for(var M=0,B=0,N=0;N=e.numIter)&&(of(r,e),r.temperature=r.temperature*e.coolingFactor,!(r.temperature=e.animationThreshold&&a(),eI(t)):(oD(r,e),s())}();else{for(;u;)u=o(l),l++;oD(r,e),s()}return this},os.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},os.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var ol=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a=tA(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:a.w,clientHeight:a.h,boundingBox:a},s=n.eles.components(),l={},u=0;u0){o.graphSet.push(C);for(var u=0;ur.count?0:r.graph},oc=function e(t,n,r,i){var a=i.graphSet[r];if(-10)var s=r.nodeOverlap*o,l=Math.sqrt(i*i+a*a),u=s*i/l,c=s*a/l;else var h=ob(e,i,a),d=ob(t,-1*i,-1*a),p=d.x-h.x,f=d.y-h.y,g=p*p+f*f,l=Math.sqrt(g),s=(e.nodeRepulsion+t.nodeRepulsion)/g,u=s*p/l,c=s*f/l;e.isLocked||(e.offsetX-=u,e.offsetY-=c),t.isLocked||(t.offsetX+=u,t.offsetY+=c)}},om=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else var i=t.maxX-e.minX;if(r>0)var a=e.maxY-t.minY;else var a=t.maxY-e.minY;return i>=0&&a>=0?Math.sqrt(i*i+a*a):0},ob=function(e,t,n){var r=e.positionX,i=e.positionY,a=e.height||1,o=e.width||1,s=n/t,l=a/o,u={};return 0===t&&0n?(u.x=r,u.y=i+a/2,u):0t&&-1*l<=s&&s<=l?(u.x=r-o/2,u.y=i-o*n/2/t,u):0=l)?(u.x=r+a*t/2/n,u.y=i+a/2,u):(0>n&&(s<=-1*l||s>=l)&&(u.x=r-a*t/2/n,u.y=i-a/2),u)},ox=function(e,t){for(var n=0;n1){var f=t.gravity*h/p,g=t.gravity*d/p;c.offsetX+=f,c.offsetY+=g}}}}},oE=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var a=n[r++],o=e.idToIndex[a],s=e.layoutNodes[o],l=s.children;if(0n)var i={x:n*e/r,y:n*t/r};else var i={x:e,y:t};return i},oS=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],a=!1;if((null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,a=!0),(null==i.minX||t.minX-i.padLefti.maxY)&&(i.maxY=t.maxY+i.padBottom,a=!0),(null==i.minY||t.minY-i.padTopg&&(d+=f+t.componentSpacing,h=0,p=0,f=0)}}},oT={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function oP(e){this.options=Z({},oT,e)}oP.prototype.run=function(){var e=this.options,t=e.cy,n=e.eles,r=n.nodes().not(":parent");e.sort&&(r=r.sort(e.sort));var i=tA(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()});if(0===i.h||0===i.w)n.nodes().layoutPositions(this,e,function(e){return{x:i.x1,y:i.y1}});else{var a=r.size(),o=Math.sqrt(a*i.h/i.w),s=Math.round(o),l=Math.round(i.w/i.h*o),u=function(e){if(null==e)return Math.min(s,l);Math.min(s,l)==s?s=e:l=e},c=function(e){if(null==e)return Math.max(s,l);Math.max(s,l)==s?s=e:l=e},h=e.rows,d=null!=e.cols?e.cols:e.columns;if(null!=h&&null!=d)s=h,l=d;else if(null!=h&&null==d)l=Math.ceil(a/(s=h));else if(null==h&&null!=d)s=Math.ceil(a/(l=d));else if(l*s>a){var p=u(),f=c();(p-1)*f>=a?u(p-1):(f-1)*p>=a&&c(f-1)}else for(;l*s=a?c(v+1):u(g+1)}var y=i.w/l,b=i.h/s;if(e.condense&&(y=0,b=0),e.avoidOverlap)for(var x=0;x=l&&(B=0,M++)},A={},I=0;I=0;x--){var w=l[x];w.isNode()?y(w)||b(w):function(n){var r,i=n._private,a=i.rscratch,l=n.pstyle("width").pfValue,c=n.pstyle("arrow-scale").value,p=l/2+d,f=p*p,g=2*p,b=i.source,x=i.target;if("segments"===a.edgeType||"straight"===a.edgeType||"haystack"===a.edgeType){for(var w,E,k,C,S=a.allpts,D=0;D+3(r=tU(e,t,S[D],S[D+1],S[D+2],S[D+3])))return v(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType){for(var S=a.allpts,D=0;D+5(r=tG(e,t,S[D],S[D+1],S[D+2],S[D+3],S[D+4],S[D+5])))return v(n,r),!0}for(var b=b||i.source,x=x||i.target,T=o.getArrowWidth(l,c),P=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}],D=0;D0&&(y(b),y(x))}(w)||b(w)||b(w,"source")||b(w,"target")}return u},oF.getAllInBox=function(e,t,n,r){var i=this.getCachedZSortedEles().interactive,a=[],o=Math.min(e,n),s=Math.max(e,n),l=Math.min(t,r),u=Math.max(t,r);e=o,n=s,t=l,r=u;for(var c=tA({x1:e,y1:t,x2:n,y2:r}),h=0;h0?-(Math.PI-e.ang):Math.PI+e.ang},su=function(e,t,n,r,i){if(e!==v?ss(t,e,sa):sl(so,sa),ss(t,n,so),o4=sa.nx*so.ny-sa.ny*so.nx,o9=sa.nx*so.nx- -(sa.ny*so.ny),1e-6>Math.abs(o7=Math.asin(Math.max(-1,Math.min(1,o4))))){o5=t.x,o3=t.y,st=sr=0;return}o6=1,o8=!1,o9<0?o7<0?o7=Math.PI+o7:(o7=Math.PI-o7,o6=-1,o8=!0):o7>0&&(o6=-1,o8=!0),sr=void 0!==t.radius?t.radius:r,se=o7/2,si=Math.min(sa.len/2,so.len/2),st=i?(sn=Math.abs(Math.cos(se)*sr/Math.sin(se)))>si?Math.abs((sn=si)*Math.sin(se)/Math.cos(se)):sr:Math.abs((sn=Math.min(si,sr))*Math.sin(se)/Math.cos(se)),f=t.x+so.nx*sn,g=t.y+so.ny*sn,o5=f-so.ny*st*o6,o3=g+so.nx*st*o6,d=t.x+sa.nx*sn,p=t.y+sa.ny*sn,v=t};function sc(e,t){0===t.radius?e.lineTo(t.cx,t.cy):e.arc(t.cx,t.cy,t.radius,t.startAngle,t.endAngle,t.counterClockwise)}function sh(e,t,n,r){var i=!(arguments.length>4)||void 0===arguments[4]||arguments[4];return 0===r||0===t.radius?{cx:t.x,cy:t.y,radius:0,startX:t.x,startY:t.y,stopX:t.x,stopY:t.y,startAngle:void 0,endAngle:void 0,counterClockwise:void 0}:(su(e,t,n,r,i),{cx:o5,cy:o3,radius:st,startX:d,startY:p,stopX:f,stopY:g,startAngle:sa.ang+Math.PI/2*o6,endAngle:so.ang-Math.PI/2*o6,counterClockwise:o8})}var sd={};function sp(e){var t=[];if(null!=e){for(var n=0;n0?Math.max(e-t,0):Math.min(e+t,0)},D=S(k,g?(h+p)/2:0),T=S(C,g?(d+f)/2:0),P=!1;"auto"===y?v=Math.abs(D)>Math.abs(T)?a:i:y===u||y===l?(v=i,P=!0):(y===o||y===s)&&(v=a,P=!0);var _=v===i,M=_?T:D,B=_?C:k,N=tS(B),A=!1;!(P&&(x||w<0))&&(y===l&&B<0||y===u&&B>0||y===o&&B>0||y===s&&B<0)&&(N*=-1,M=N*Math.abs(M),A=!0);var I=function(e){return Math.abs(e)=Math.abs(M)},O=I(n=x?(w<0?1+w:w)*M:(w<0?M:0)+w*N),z=I(Math.abs(M)-Math.abs(n));if((O||z)&&!A){if(_){var L=Math.abs(B)<=d/2,R=Math.abs(k)<=p/2;if(L){var V=(c.x1+c.x2)/2,F=c.y1,j=c.y2;r.segpts=[V,F,V,j]}else if(R){var q=(c.y1+c.y2)/2,X=c.x1,Y=c.x2;r.segpts=[X,q,Y,q]}else r.segpts=[c.x1,c.y2]}else{var W=Math.abs(B)<=h/2,H=Math.abs(C)<=f/2;if(W){var G=(c.y1+c.y2)/2,U=c.x1,K=c.x2;r.segpts=[U,G,K,G]}else if(H){var Z=(c.x1+c.x2)/2,$=c.y1,Q=c.y2;r.segpts=[Z,$,Z,Q]}else r.segpts=[c.x2,c.y1]}}else if(_){var J=c.y1+n+(g?d/2*N:0),ee=c.x1,et=c.x2;r.segpts=[ee,J,et,J]}else{var en=c.x1+n+(g?h/2*N:0),er=c.y1,ei=c.y2;r.segpts=[en,er,en,ei]}if(r.isRound){var ea=e.pstyle("taxi-radius").value,eo="arc-radius"===e.pstyle("radius-type").value[0];r.radii=Array(r.segpts.length/2).fill(ea),r.isArcRadius=Array(r.segpts.length/2).fill(eo)}},sd.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var r=t.srcPos,i=t.tgtPos,a=t.srcW,o=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,h=t.srcCornerRadius,d=t.tgtCornerRadius,p=t.srcRs,f=t.tgtRs,g=!M(n.startX)||!M(n.startY),v=!M(n.arrowStartX)||!M(n.arrowStartY),y=!M(n.endX)||!M(n.endY),b=!M(n.arrowEndX)||!M(n.arrowEndY),x=3*(this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth),w=tD({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),E=wd.poolIndex()){var p=h;h=d,d=p}var f=s.srcPos=h.position(),g=s.tgtPos=d.position(),v=s.srcW=h.outerWidth(),y=s.srcH=h.outerHeight(),b=s.tgtW=d.outerWidth(),x=s.tgtH=d.outerHeight(),w=s.srcShape=n.nodeShapes[t.getNodeShape(h)],E=s.tgtShape=n.nodeShapes[t.getNodeShape(d)],k=s.srcCornerRadius="auto"===h.pstyle("corner-radius").value?"auto":h.pstyle("corner-radius").pfValue,C=s.tgtCornerRadius="auto"===d.pstyle("corner-radius").value?"auto":d.pstyle("corner-radius").pfValue,S=s.tgtRs=d._private.rscratch,D=s.srcRs=h._private.rscratch;s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var T=0;T0){var W=tT(l,tm(t)),H=tT(l,tm(Y)),G=W;H2&&tT(l,{x:Y[2],y:Y[3]})0){var eo=tT(u,tm(t)),es=tT(u,tm(ea)),el=eo;es2&&tT(u,{x:ea[2],y:ea[3]})=l||b){c={cp:g,segment:y};break}}if(c)break}var x=c.cp,w=c.segment,E=(l-d)/w.length,k=w.t1-w.t0,C=i?w.t0+k*E:w.t1-k*E;C=tN(0,C,1),t=tM(x.p0,x.p1,x.p2,C),u=sb(x.p0,x.p1,x.p2,C);break;case"straight":case"segments":case"haystack":for(var S,D,T,P,_=0,M=r.allpts.length,B=0;B+3=l));B+=2);var N=(l-P)/T;t=tB(S,D,N=tN(0,N,1)),u=sm(S,D)}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,u)}};l("source"),l("target"),this.applyLabelDimensions(e)}},sv.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},sv.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r),a=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,s=e7(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==o?1:Math.max(s.length,1),u=i.height/l,c=i.width,h=i.height+(l-1)*(a-1)*u;te(n.rstyle,"labelWidth",t,c),te(n.rscratch,"labelWidth",t,c),te(n.rstyle,"labelHeight",t,h),te(n.rscratch,"labelHeight",t,h),te(n.rscratch,"labelLineHeight",t,u*a)},sv.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,o=function(e,r){return r?(te(n.rscratch,e,t,r),r):e7(n.rscratch,e,t)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=o("labelKey");if(null!=l&&o("labelWrapKey")===l)return o("labelWrapCachedText");for(var u=i.split("\n"),c=e.pstyle("text-max-width").pfValue,d="anywhere"===e.pstyle("text-overflow-wrap").value,p=[],f=/[\s\u200b]+|$/g,g=0;gc){var b,x=v.matchAll(f),w="",E=0,k=h(x);try{for(k.s();!(b=k.n()).done;){var C=b.value,S=C[0],D=v.substring(E,C.index);E=C.index+S.length;var T=0===w.length?D:w+D+S;this.calculateLabelDimensions(e,T).width<=c?w+=D+S:(w&&p.push(w),w=D+S)}}catch(e){k.e(e)}finally{k.f()}w.match(/^[\s\u200b]+$/)||p.push(w)}else p.push(v)}o("labelWrapCachedLines",p),i=o("labelWrapCachedText",p.join("\n")),o("labelWrapKey",l)}else if("ellipsis"===s){var P=e.pstyle("text-max-width").pfValue,_="",M=!1;if(this.calculateLabelDimensions(e,i).widthP);B++)_+=i[B],B===i.length-1&&(M=!0);return M||(_+="…"),_}return i},sv.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},sv.calculateLabelDimensions=function(e,t){var n=this.cy.window().document,r=ej(t,e._private.labelDimsKey),i=this.labelDimCache||(this.labelDimCache=[]),a=i[r];if(null!=a)return a;var o=e.pstyle("font-style").strValue,s=e.pstyle("font-size").pfValue,l=e.pstyle("font-family").strValue,u=e.pstyle("font-weight").strValue,c=this.labelCalcCanvas,h=this.labelCalcCanvasContext;if(!c){c=this.labelCalcCanvas=n.createElement("canvas"),h=this.labelCalcCanvasContext=c.getContext("2d");var d=c.style;d.position="absolute",d.left="-9999px",d.top="-9999px",d.zIndex="-1",d.visibility="hidden",d.pointerEvents="none"}h.font="".concat(o," ").concat(u," ").concat(s,"px ").concat(l);for(var p=0,f=0,g=t.split("\n"),v=0;ve.width()||28>e.height()))return sw||(e0("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),sw=!0),"rectangle";if(e.isParent())return"rectangle"===t||"roundrectangle"===t||"round-rectangle"===t||"cutrectangle"===t||"cut-rectangle"===t||"barrel"===t?t:"rectangle";if("polygon"===t){var n=e.pstyle("shape-polygon-points").value;return this.nodeShapes.makePolygon(n).name}return t};var sE={};sE.registerCalculationListeners=function(){var e=this.cy,t=e.collection(),n=this,r=function(e){var n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(t.merge(e),n)for(var r=0;r=C.desktopTapThreshold2}var v=P(e);w&&(C.hoverData.tapholdCancelled=!0),t=!0,T(u,["mousemove","vmousemove","tapdrag"],e,{x:a[0],y:a[1]});var y=function(){C.data.bgActivePosistion=void 0,C.hoverData.selecting||n.emit({originalEvent:e,type:"boxstart",position:{x:a[0],y:a[1]}}),l[4]=1,C.hoverData.selecting=!0,C.redrawHint("select",!0),C.redraw()};if(3===C.hoverData.which){if(w){var b={originalEvent:e,type:"cxtdrag",position:{x:a[0],y:a[1]}};h?h.emit(b):n.emit(b),C.hoverData.cxtDragged=!0,(!C.hoverData.cxtOver||u!==C.hoverData.cxtOver)&&(C.hoverData.cxtOver&&C.hoverData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:a[0],y:a[1]}}),C.hoverData.cxtOver=u,u&&u.emit({originalEvent:e,type:"cxtdragover",position:{x:a[0],y:a[1]}}))}}else if(C.hoverData.dragging){if(t=!0,n.panningEnabled()&&n.userPanningEnabled()){if(C.hoverData.justStartedPan){var x=C.hoverData.mdownPos;E={x:(a[0]-x[0])*r,y:(a[1]-x[1])*r},C.hoverData.justStartedPan=!1}else E={x:d[0]*r,y:d[1]*r};n.panBy(E),n.emit("dragpan"),C.hoverData.dragged=!0}a=C.projectIntoViewport(e.clientX,e.clientY)}else if(1==l[4]&&(null==h||h.pannable()))w&&(!C.hoverData.dragging&&n.boxSelectionEnabled()&&(v||!n.panningEnabled()||!n.userPanningEnabled())?y():!C.hoverData.selecting&&n.panningEnabled()&&n.userPanningEnabled()&&_(h,C.hoverData.downs)&&(C.hoverData.dragging=!0,C.hoverData.justStartedPan=!0,l[4]=0,C.data.bgActivePosistion=tm(o),C.redrawHint("select",!0),C.redraw()),h&&h.pannable()&&h.active()&&h.unactivate());else{if(h&&h.pannable()&&h.active()&&h.unactivate(),h&&h.grabbed()||u==c||(c&&T(c,["mouseout","tapdragout"],e,{x:a[0],y:a[1]}),u&&T(u,["mouseover","tapdragover"],e,{x:a[0],y:a[1]}),C.hoverData.last=u),h){if(w){if(n.boxSelectionEnabled()&&v)h&&h.grabbed()&&(F(p),h.emit("freeon"),p.emit("free"),C.dragData.didDrag&&(h.emit("dragfreeon"),p.emit("dragfree"))),y();else if(h&&h.grabbed()&&C.nodeIsDraggable(h)){var w,E,k,S=!C.dragData.didDrag;S&&C.redrawHint("eles",!0),C.dragData.didDrag=!0,C.hoverData.draggingEles||V(p,{inDragLayer:!0});var D={x:0,y:0};if(M(d[0])&&M(d[1])&&(D.x+=d[0],D.y+=d[1],S)){var B=C.hoverData.dragDelta;B&&M(B[0])&&M(B[1])&&(D.x+=B[0],D.y+=B[1])}C.hoverData.draggingEles=!0,p.silentShift(D).emit("position drag"),C.redrawHint("drag",!0),C.redraw()}}else 0===(k=C.hoverData.dragDelta=C.hoverData.dragDelta||[]).length?(k.push(d[0]),k.push(d[1])):(k[0]+=d[0],k[1]+=d[1])}t=!0}if(l[2]=a[0],l[3]=a[1],t)return e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1}},!1),C.registerBinding(S,"mouseup",function(r){if((1!==C.hoverData.which||1===r.which||!C.hoverData.capture)&&C.hoverData.capture){C.hoverData.capture=!1;var i=C.cy,a=C.projectIntoViewport(r.clientX,r.clientY),o=C.selection,s=C.findNearestElement(a[0],a[1],!0,!1),l=C.dragData.possibleDragElements,u=C.hoverData.down,c=P(r);if(C.data.bgActivePosistion&&(C.redrawHint("select",!0),C.redraw()),C.hoverData.tapholdCancelled=!0,C.data.bgActivePosistion=void 0,u&&u.unactivate(),3===C.hoverData.which){var h={originalEvent:r,type:"cxttapend",position:{x:a[0],y:a[1]}};if(u?u.emit(h):i.emit(h),!C.hoverData.cxtDragged){var d={originalEvent:r,type:"cxttap",position:{x:a[0],y:a[1]}};u?u.emit(d):i.emit(d)}C.hoverData.cxtDragged=!1,C.hoverData.which=null}else if(1===C.hoverData.which){if(T(s,["mouseup","tapend","vmouseup"],r,{x:a[0],y:a[1]}),C.dragData.didDrag||C.hoverData.dragged||C.hoverData.selecting||C.hoverData.isOverThresholdDrag||(T(u,["click","tap","vclick"],r,{x:a[0],y:a[1]}),t=!1,r.timeStamp-n<=i.multiClickDebounceTime()?(e&&clearTimeout(e),t=!0,n=null,T(u,["dblclick","dbltap","vdblclick"],r,{x:a[0],y:a[1]})):(e=setTimeout(function(){t||T(u,["oneclick","onetap","voneclick"],r,{x:a[0],y:a[1]})},i.multiClickDebounceTime()),n=r.timeStamp)),null!=u||C.dragData.didDrag||C.hoverData.selecting||C.hoverData.dragged||P(r)||(i.$(D).unselect(["tapunselect"]),l.length>0&&C.redrawHint("eles",!0),C.dragData.possibleDragElements=l=i.collection()),s!=u||C.dragData.didDrag||C.hoverData.selecting||null==s||!s._private.selectable||(C.hoverData.dragging||("additive"===i.selectionType()||c?s.selected()?s.unselect(["tapunselect"]):s.select(["tapselect"]):c||(i.$(D).unmerge(s).unselect(["tapunselect"]),s.select(["tapselect"]))),C.redrawHint("eles",!0)),C.hoverData.selecting){var p=i.collection(C.getAllInBox(o[0],o[1],o[2],o[3]));C.redrawHint("select",!0),p.length>0&&C.redrawHint("eles",!0),i.emit({type:"boxend",originalEvent:r,position:{x:a[0],y:a[1]}}),"additive"!==i.selectionType()&&(c||i.$(D).unmerge(p).unselect()),p.emit("box").stdFilter(function(e){return e.selectable()&&!e.selected()}).select().emit("boxselect"),C.redraw()}if(C.hoverData.dragging&&(C.hoverData.dragging=!1,C.redrawHint("select",!0),C.redrawHint("eles",!0),C.redraw()),!o[4]){C.redrawHint("drag",!0),C.redrawHint("eles",!0);var f=u&&u.grabbed();F(l),f&&(u.emit("freeon"),l.emit("free"),C.dragData.didDrag&&(u.emit("dragfreeon"),l.emit("dragfree")))}}o[4]=0,C.hoverData.down=null,C.hoverData.cxtStarted=!1,C.hoverData.draggingEles=!1,C.hoverData.selecting=!1,C.hoverData.isOverThresholdDrag=!1,C.dragData.didDrag=!1,C.hoverData.dragged=!1,C.hoverData.dragDelta=[],C.hoverData.mdownPos=null,C.hoverData.mdownGPos=null,C.hoverData.which=null}},!1);var U=function(e){if(!C.scrollingPage){var t=C.cy,n=t.zoom(),r=t.pan(),i=C.projectIntoViewport(e.clientX,e.clientY),a=[i[0]*n+r.x,i[1]*n+r.y];if(C.hoverData.draggingEles||C.hoverData.dragging||C.hoverData.cxtStarted||0!==C.selection[4]){e.preventDefault();return}if(t.panningEnabled()&&t.userPanningEnabled()&&t.zoomingEnabled()&&t.userZoomingEnabled()){e.preventDefault(),C.data.wheelZooming=!0,clearTimeout(C.data.wheelTimeout),C.data.wheelTimeout=setTimeout(function(){C.data.wheelZooming=!1,C.redrawHint("eles",!0),C.redraw()},150),o=(null!=e.deltaY?-(e.deltaY/250):null!=e.wheelDeltaY?e.wheelDeltaY/1e3:e.wheelDelta/1e3)*C.wheelSensitivity,1===e.deltaMode&&(o*=33);var o,s=t.zoom()*Math.pow(10,o);"gesturechange"===e.type&&(s=C.gestureStartZoom*e.scale),t.zoom({level:s,renderedPosition:{x:a[0],y:a[1]}}),t.emit("gesturechange"===e.type?"pinchzoom":"scrollzoom")}}};C.registerBinding(C.container,"wheel",U,!0),C.registerBinding(S,"scroll",function(e){C.scrollingPage=!0,clearTimeout(C.scrollingPageTimeout),C.scrollingPageTimeout=setTimeout(function(){C.scrollingPage=!1},250)},!0),C.registerBinding(C.container,"gesturestart",function(e){C.gestureStartZoom=C.cy.zoom(),C.hasTouchStarted||e.preventDefault()},!0),C.registerBinding(C.container,"gesturechange",function(e){C.hasTouchStarted||U(e)},!0),C.registerBinding(C.container,"mouseout",function(e){var t=C.projectIntoViewport(e.clientX,e.clientY);C.cy.emit({originalEvent:e,type:"mouseout",position:{x:t[0],y:t[1]}})},!1),C.registerBinding(C.container,"mouseover",function(e){var t=C.projectIntoViewport(e.clientX,e.clientY);C.cy.emit({originalEvent:e,type:"mouseover",position:{x:t[0],y:t[1]}})},!1);var K=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},Z=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(C.registerBinding(C.container,"touchstart",v=function(e){if(C.hasTouchStarted=!0,G(e)){q(),C.touchData.capture=!0,C.data.bgActivePosistion=void 0;var t=C.cy,n=C.touchData.now,v=C.touchData.earlier;if(e.touches[0]){var y=C.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);n[0]=y[0],n[1]=y[1]}if(e.touches[1]){var y=C.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY);n[2]=y[0],n[3]=y[1]}if(e.touches[2]){var y=C.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY);n[4]=y[0],n[5]=y[1]}if(e.touches[1]){C.touchData.singleTouchMoved=!0,F(C.dragData.touchDragEles);var b=C.findContainerClientCoords();h=b[0],d=b[1],p=b[2],f=b[3],r=e.touches[0].clientX-h,i=e.touches[0].clientY-d,a=e.touches[1].clientX-h,o=e.touches[1].clientY-d,g=0<=r&&r<=p&&0<=a&&a<=p&&0<=i&&i<=f&&0<=o&&o<=f;var x=t.pan(),w=t.zoom();if(s=K(r,i,a,o),l=Z(r,i,a,o),c=[((u=[(r+a)/2,(i+o)/2])[0]-x.x)/w,(u[1]-x.y)/w],l<4e4&&!e.touches[2]){var E=C.findNearestElement(n[0],n[1],!0,!0),k=C.findNearestElement(n[2],n[3],!0,!0);E&&E.isNode()?(E.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start=E):k&&k.isNode()?(k.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start=k):t.emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxt=!0,C.touchData.cxtDragged=!1,C.data.bgActivePosistion=void 0,C.redraw();return}}if(e.touches[2])t.boxSelectionEnabled()&&e.preventDefault();else if(e.touches[1]);else if(e.touches[0]){var S=C.findNearestElements(n[0],n[1],!0,!0),D=S[0];if(null!=D&&(D.activate(),C.touchData.start=D,C.touchData.starts=S,C.nodeIsGrabbable(D))){var P=C.dragData.touchDragEles=t.collection(),_=null;C.redrawHint("eles",!0),C.redrawHint("drag",!0),D.selected()?V(_=t.$(function(e){return e.selected()&&C.nodeIsGrabbable(e)}),{addToList:P}):V(D,{addToList:P}),O(D);var M=function(t){return{originalEvent:e,type:t,position:{x:n[0],y:n[1]}}};D.emit(M("grabon")),_?_.forEach(function(e){e.emit(M("grab"))}):D.emit(M("grab"))}T(D,["touchstart","tapstart","vmousedown"],e,{x:n[0],y:n[1]}),null==D&&(C.data.bgActivePosistion={x:y[0],y:y[1]},C.redrawHint("select",!0),C.redraw()),C.touchData.singleTouchMoved=!1,C.touchData.singleTouchStartTime=+new Date,clearTimeout(C.touchData.tapholdTimeout),C.touchData.tapholdTimeout=setTimeout(function(){!1!==C.touchData.singleTouchMoved||C.pinching||C.touchData.selecting||T(C.touchData.start,["taphold"],e,{x:n[0],y:n[1]})},C.tapholdDuration)}if(e.touches.length>=1){for(var B=C.touchData.startPosition=[null,null,null,null,null,null],N=0;N=C.touchTapThreshold2}if(t&&C.touchData.cxt){e.preventDefault();var D=e.touches[0].clientX-h,P=e.touches[0].clientY-d,B=e.touches[1].clientX-h,N=e.touches[1].clientY-d,A=Z(D,P,B,N);if(A/l>=2.25||A>=22500){C.touchData.cxt=!1,C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var I={originalEvent:e,type:"cxttapend",position:{x:p[0],y:p[1]}};C.touchData.start?(C.touchData.start.unactivate().emit(I),C.touchData.start=null):u.emit(I)}}if(t&&C.touchData.cxt){var I={originalEvent:e,type:"cxtdrag",position:{x:p[0],y:p[1]}};C.data.bgActivePosistion=void 0,C.redrawHint("select",!0),C.touchData.start?C.touchData.start.emit(I):u.emit(I),C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxtDragged=!0;var O=C.findNearestElement(p[0],p[1],!0,!0);(!C.touchData.cxtOver||O!==C.touchData.cxtOver)&&(C.touchData.cxtOver&&C.touchData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:p[0],y:p[1]}}),C.touchData.cxtOver=O,O&&O.emit({originalEvent:e,type:"cxtdragover",position:{x:p[0],y:p[1]}}))}else if(t&&e.touches[2]&&u.boxSelectionEnabled())e.preventDefault(),C.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,C.touchData.selecting||u.emit({originalEvent:e,type:"boxstart",position:{x:p[0],y:p[1]}}),C.touchData.selecting=!0,C.touchData.didSelect=!0,n[4]=1,n&&0!==n.length&&void 0!==n[0]?(n[2]=(p[0]+p[2]+p[4])/3,n[3]=(p[1]+p[3]+p[5])/3):(n[0]=(p[0]+p[2]+p[4])/3,n[1]=(p[1]+p[3]+p[5])/3,n[2]=(p[0]+p[2]+p[4])/3+1,n[3]=(p[1]+p[3]+p[5])/3+1),C.redrawHint("select",!0),C.redraw();else if(t&&e.touches[1]&&!C.touchData.didSelect&&u.zoomingEnabled()&&u.panningEnabled()&&u.userZoomingEnabled()&&u.userPanningEnabled()){e.preventDefault(),C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var z=C.dragData.touchDragEles;if(z){C.redrawHint("drag",!0);for(var L=0;L0&&!C.hoverData.draggingEles&&!C.swipePanning&&null!=C.data.bgActivePosistion&&(C.data.bgActivePosistion=void 0,C.redrawHint("select",!0),C.redraw())}},!1),C.registerBinding(S,"touchcancel",b=function(e){var t=C.touchData.start;C.touchData.capture=!1,t&&t.unactivate()}),C.registerBinding(S,"touchend",x=function(e){var t,n=C.touchData.start;if(C.touchData.capture){0===e.touches.length&&(C.touchData.capture=!1),e.preventDefault();var r=C.selection;C.swipePanning=!1,C.hoverData.draggingEles=!1;var i=C.cy,a=i.zoom(),o=C.touchData.now,s=C.touchData.earlier;if(e.touches[0]){var l=C.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);o[0]=l[0],o[1]=l[1]}if(e.touches[1]){var l=C.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY);o[2]=l[0],o[3]=l[1]}if(e.touches[2]){var l=C.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY);o[4]=l[0],o[5]=l[1]}if(n&&n.unactivate(),C.touchData.cxt){if(t={originalEvent:e,type:"cxttapend",position:{x:o[0],y:o[1]}},n?n.emit(t):i.emit(t),!C.touchData.cxtDragged){var u={originalEvent:e,type:"cxttap",position:{x:o[0],y:o[1]}};n?n.emit(u):i.emit(u)}C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxt=!1,C.touchData.start=null,C.redraw();return}if(!e.touches[2]&&i.boxSelectionEnabled()&&C.touchData.selecting){C.touchData.selecting=!1;var c=i.collection(C.getAllInBox(r[0],r[1],r[2],r[3]));r[0]=void 0,r[1]=void 0,r[2]=void 0,r[3]=void 0,r[4]=0,C.redrawHint("select",!0),i.emit({type:"boxend",originalEvent:e,position:{x:o[0],y:o[1]}}),c.emit("box").stdFilter(function(e){return e.selectable()&&!e.selected()}).select().emit("boxselect"),c.nonempty()&&C.redrawHint("eles",!0),C.redraw()}if(null!=n&&n.unactivate(),e.touches[2])C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);else if(e.touches[1]);else if(e.touches[0]);else if(!e.touches[0]){C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var h=C.dragData.touchDragEles;if(null!=n){var d=n._private.grabbed;F(h),C.redrawHint("drag",!0),C.redrawHint("eles",!0),d&&(n.emit("freeon"),h.emit("free"),C.dragData.didDrag&&(n.emit("dragfreeon"),h.emit("dragfree"))),T(n,["touchend","tapend","vmouseup","tapdragout"],e,{x:o[0],y:o[1]}),n.unactivate(),C.touchData.start=null}else{var p=C.findNearestElement(o[0],o[1],!0,!0);T(p,["touchend","tapend","vmouseup","tapdragout"],e,{x:o[0],y:o[1]})}var f=C.touchData.startPosition[0]-o[0],g=C.touchData.startPosition[1]-o[1];C.touchData.singleTouchMoved||(n||i.$(":selected").unselect(["tapunselect"]),T(n,["tap","vclick"],e,{x:o[0],y:o[1]}),w=!1,e.timeStamp-k<=i.multiClickDebounceTime()?(E&&clearTimeout(E),w=!0,k=null,T(n,["dbltap","vdblclick"],e,{x:o[0],y:o[1]})):(E=setTimeout(function(){w||T(n,["onetap","voneclick"],e,{x:o[0],y:o[1]})},i.multiClickDebounceTime()),k=e.timeStamp)),null!=n&&!C.dragData.didDrag&&n._private.selectable&&(f*f+g*g)*a*a0)return h[0]}return null}(e,t,f);if(null!=g){var v=t_(f[5],f[3],f[1],g);if(f.isTop&&v<=t||f.isBottom&&t<=v)return!0}}return!1}}},sT.generateBottomRoundrectangle=function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:t8(4,0),draw:function(e,t,n,r,i,a){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i,this.points,a)},intersectLine:function(e,t,n,r,i,a,o,s){var l=e-(n/2+o),u=t-(r/2+o),c=e+(n/2+o),h=t3(i,a,e,t,l,u,c,u,!1);return h.length>0?h:tX(i,a,e,t,n,r,o,s)},checkPoint:function(e,t,n,r,i,a,o,s){var l=2*(s="auto"===s?nt(r,i):s);if(tZ(e,t,this.points,a,o,r,i-l,[0,-1],n)||tZ(e,t,this.points,a,o,r-l,i,[0,-1],n))return!0;var u=r/2+2*n,c=i/2+2*n;return!!(tK(e,t,[a-u,o-c,a-u,o,a+u,o,a+u,o-c])||t1(e,t,l,l,a+r/2-s,o+i/2-s,n)||t1(e,t,l,l,a-r/2+s,o+i/2-s,n))}}},sT.registerNodeShapes=function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",t8(3,0)),this.generateRoundPolygon("round-triangle",t8(3,0)),this.generatePolygon("rectangle",t8(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",t8(5,0)),this.generateRoundPolygon("round-pentagon",t8(5,0)),this.generatePolygon("hexagon",t8(6,0)),this.generateRoundPolygon("round-hexagon",t8(6,0)),this.generatePolygon("heptagon",t8(7,0)),this.generateRoundPolygon("round-heptagon",t8(7,0)),this.generatePolygon("octagon",t8(8,0)),this.generateRoundPolygon("round-octagon",t8(8,0));var r=Array(20),i=ne(5,0),a=ne(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;st.className.indexOf(o)&&(t.className=(t.className||"")+" "+o),!s){var l=r.createElement("style");l.id=a,l.textContent="."+o+" { position: relative; }",i.insertBefore(l,i.children[0])}"static"===n.getComputedStyle(t).getPropertyValue("position")&&e0("A Cytoscape container has style position:static and so can not use UI extensions properly")}this.selection=[void 0,void 0,void 0,void 0,0],this.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],this.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},this.dragData={possibleDragElements:[]},this.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},this.redraws=0,this.showFps=e.showFps,this.debug=e.debug,this.hideEdgesOnViewport=e.hideEdgesOnViewport,this.textureOnViewport=e.textureOnViewport,this.wheelSensitivity=e.wheelSensitivity,this.motionBlurEnabled=e.motionBlur,this.forcedPixelRatio=M(e.pixelRatio)?e.pixelRatio:null,this.motionBlur=e.motionBlur,this.motionBlurOpacity=e.motionBlurOpacity,this.motionBlurTransparency=1-this.motionBlurOpacity,this.motionBlurPxRatio=1,this.mbPxRBlurry=1,this.minMbLowQualFrames=4,this.fullQualityMb=!1,this.clearedForMotionBlur=[],this.desktopTapThreshold=e.desktopTapThreshold,this.desktopTapThreshold2=e.desktopTapThreshold*e.desktopTapThreshold,this.touchTapThreshold=e.touchTapThreshold,this.touchTapThreshold2=e.touchTapThreshold*e.touchTapThreshold,this.tapholdDuration=500,this.bindings=[],this.beforeRenderCallbacks=[],this.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},this.registerNodeShapes(),this.registerArrowShapes(),this.registerCalculationListeners()},sB.notify=function(e,t){var n=this.cy;if(!this.destroyed){if("init"===e){this.load();return}if("destroy"===e){this.destroy();return}("add"===e||"remove"===e||"move"===e&&n.hasCompoundNodes()||"load"===e||"zorder"===e||"mount"===e)&&this.invalidateCachedZSortedEles(),"viewport"===e&&this.redrawHint("select",!0),("load"===e||"resize"===e||"mount"===e)&&(this.invalidateContainerClientCoordsCache(),this.matchCanvasSize(this.container)),this.redrawHint("eles",!0),this.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()}},sB.destroy=function(){this.destroyed=!0,this.cy.stopAnimationLoop();for(var e=0;e=e.deqFastCost*g)break}else if(i){if(p>=e.deqCost*l||p>=e.deqAvgCost*s)break}else if(f>=e.deqNoDrawCost*sN)break;var v=e.deq(t,h,c);if(v.length>0)for(var y=0;y0&&(e.onDeqd(t,u),!i&&e.shouldRedraw(t,u,h,c)&&r())},i(t))}}}},sI=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eK;i(this,e),this.idsByKey=new tn,this.keyForId=new tn,this.cachesByLvl=new tn,this.lvls=[],this.getKey=t,this.doesEleInvalidateKey=n}return o(e,[{key:"getIdsFor",value:function(e){null==e&&eQ("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return n||(n=new ti,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).delete(t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId.delete(t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id();return this.keyForId.get(t)!==this.getKey(e)}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return r||(r=new tn,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id());return this.getCache(n,t)}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t).delete(e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach(function(n){return t.deleteCache(e,n)})}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),sO={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},sz=e4({getKey:null,doesEleInvalidateKey:eK,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:eU,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),sL=function(e,t){this.renderer=e,this.onDequeues=[];var n=sz(t);Z(this,n),this.lookup=new sI(n.getKey,n.doesEleInvalidateKey),this.setupDequeueing()},sR=sL.prototype;sR.reasons=sO,sR.getTextureQueue=function(e){return this.eleImgCaches=this.eleImgCaches||{},this.eleImgCaches[e]=this.eleImgCaches[e]||[]},sR.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},sR.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new tl(function(e,t){return t.reqs-e.reqs})},sR.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},sR.getElement=function(e,t,n,r,i){var a,o,s,l=this,u=this.renderer,c=u.cy.zoom(),h=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed()||!l.allowEdgeTxrCaching&&e.isEdge()||!l.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(tC(c*n))),r<-4)r=-4;else if(c>=7.99||r>3)return null;var d=Math.pow(2,r),p=t.h*d,f=t.w*d,g=u.eleTextBiggerThanMin(e,d);if(!this.isVisible(e,g))return null;var v=h.get(e,r);if(v&&v.invalidated&&(v.invalidated=!1,v.texture.invalidatedWidth-=v.width),v)return v;if(a=p<=25?25:p<=50?50:50*Math.ceil(p/50),p>1024||f>1024)return null;var y=l.getTextureQueue(a),b=y[y.length-2],x=function(){return l.recycleTexture(a,f)||l.addTexture(a,f)};b||(b=y[y.length-1]),b||(b=x()),b.width-b.usedWidthr;_--)T=l.getElement(e,t,n,_,sO.downscale);P()}else{if(!E&&!k&&!C)for(var M=r-1;M>=-4;M--){var B=h.get(e,M);if(B){s=B;break}}if(w(s))return l.queueElement(e,r),s;b.context.translate(b.usedWidth,0),b.context.scale(d,d),this.drawElement(b.context,e,t,g,!1),b.context.scale(1/d,1/d),b.context.translate(-b.usedWidth,0)}return v={x:b.usedWidth,texture:b,level:r,scale:d,width:f,height:p,scaledLabelShown:g},b.usedWidth+=Math.ceil(f+8),b.eleCaches.push(v),h.set(e,r,v),l.checkTextureFullness(b),v},sR.invalidateElements=function(e){for(var t=0;t=.2*e.width&&this.retireTexture(e)},sR.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?e9(t,e):e.fullnessChecks++},sR.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t),r=this.lookup;e9(n,e),e.retired=!0;for(var i=e.eleCaches,a=0;a=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,e6(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),e9(r,a),n.push(a),a}},sR.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementKeyToQueue(),i=this.getKey(e),a=r[i];if(a)a.level=Math.max(a.level,t),a.eles.merge(e),a.reqs++,n.updateItem(a);else{var o={eles:e.spawn().merge(e),level:t,reqs:1,key:i};n.push(o),r[i]=o}},sR.dequeue=function(e){for(var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=[],i=this.lookup,a=0;a<1;a++)if(t.size()>0){var o=t.pop(),s=o.key,l=o.eles[0],u=i.hasCache(l,o.level);if(n[s]=null,u)continue;r.push(o);var c=this.getBoundingBox(l);this.getElement(l,c,e,o.level,sO.dequeue)}else break;return r},sR.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=this.getKey(e),i=n[r];null!=i&&(1===i.eles.length?(i.reqs=eG,t.updateItem(i),t.pop(),n[r]=null):i.eles.unmerge(e))},sR.onDequeue=function(e){this.onDequeues.push(e)},sR.offDequeue=function(e){e9(this.onDequeues,e)},sR.setupDequeueing=sA.setupDequeueing({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null}a.validateLayersElesOrdering(n,e);var l=a.layersByLevel,u=Math.pow(2,n),c=l[n]=l[n]||[];if(a.levelIsComplete(n,e))return c;!function(){var t=function(t){if(a.validateLayersElesOrdering(t,e),a.levelIsComplete(t,e))return i=l[t],!0},r=function(e){if(!i)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};r(1),r(-1);for(var o=c.length-1;o>=0;o--){var s=c[o];s.invalid&&e9(c,s)}}();var h=function(){if(!r){r=tA();for(var t=0;t=p||!tq(d.bb,v.boundingBox()))&&!(d=function(e){var t=(e=e||{}).after;if(h(),r.w*u*(r.h*u)>16e6)return null;var i=a.makeLayer(r,n);if(null!=t){var o=c.indexOf(t)+1;c.splice(o,0,i)}else(void 0===e.insert||e.insert)&&c.unshift(i);return i}({insert:!0,after:d})))return null;i||f?a.queueLayer(d,v):a.drawEleInLayer(d,v,n,t),d.eles.push(v),b[n]=d}return i||(f?null:c)},sF.getEleLevelForLayerLevel=function(e,t){return e},sF.drawEleInLayer=function(e,t,n,r){var i=this.renderer,a=e.context,o=t.boundingBox();0!==o.w&&0!==o.h&&t.visible()&&(n=this.getEleLevelForLayerLevel(n,r),i.setImgSmoothing(a,!1),i.drawCachedElement(a,t,null,null,n,!0),i.setImgSmoothing(a,!0))},sF.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i0||a.invalid)return!1;r+=a.eles.length}return r===t.length},sF.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r0){e=!0;break}}return e},sF.invalidateElements=function(e){var t=this;0!==e.length&&(t.lastInvalidationTime=eN(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,function(e,n,r){t.invalidateLayer(e)}))},sF.invalidateLayer=function(e){if(this.lastInvalidationTime=eN(),!e.invalid){var t=e.level,n=e.eles;e9(this.layersByLevel[t],e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var r=0;r3)||void 0===arguments[3]||arguments[3],a=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=!(arguments.length>5)||void 0===arguments[5]||arguments[5],s=this,l=t._private.rscratch;if(!(o&&!t.visible()||l.badLine||null==l.allpts||isNaN(l.allpts[0]))){n&&(r=n,e.translate(-r.x1,-r.y1));var u=o?t.pstyle("opacity").value:1,c=o?t.pstyle("line-opacity").value:1,h=t.pstyle("curve-style").value,d=t.pstyle("line-style").value,p=t.pstyle("width").pfValue,f=t.pstyle("line-cap").value,g=t.pstyle("line-outline-width").value,v=t.pstyle("line-outline-color").value,y=u*c,b=u*c,x=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;"straight-triangle"===h?(s.eleStrokeStyle(e,t,n),s.drawEdgeTrianglePath(t,e,l.allpts)):(e.lineWidth=p,e.lineCap=f,s.eleStrokeStyle(e,t,n),s.drawEdgePath(t,e,l.allpts,d),e.lineCap="butt")},w=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b;s.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var E=t.pstyle("ghost-offset-x").pfValue,k=t.pstyle("ghost-offset-y").pfValue,C=y*t.pstyle("ghost-opacity").value;e.translate(E,k),x(C),w(C),e.translate(-E,-k)}else!function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;if(e.lineWidth=p+g,e.lineCap=f,g>0)s.colorStrokeStyle(e,v[0],v[1],v[2],n);else{e.lineCap="butt";return}"straight-triangle"===h?s.drawEdgeTrianglePath(t,e,l.allpts):(s.drawEdgePath(t,e,l.allpts,d),e.lineCap="butt")}();a&&s.drawEdgeUnderlay(e,t),x(),w(),a&&s.drawEdgeOverlay(e,t),s.drawElementText(e,t,null,i),n&&e.translate(r.x1,r.y1)}};var s2=function(e){if(!["overlay","underlay"].includes(e))throw Error("Invalid state");return function(t,n){if(n.visible()){var r=n.pstyle("".concat(e,"-opacity")).value;if(0!==r){var i=this.usePaths(),a=n._private.rscratch,o=n.pstyle("".concat(e,"-padding")).pfValue,s=n.pstyle("".concat(e,"-color")).value;t.lineWidth=2*o,"self"!==a.edgeType||i?t.lineCap="round":t.lineCap="butt",this.colorStrokeStyle(t,s[0],s[1],s[2],r),this.drawEdgePath(n,t,a.allpts,"solid")}}}};s1.drawEdgeOverlay=s2("overlay"),s1.drawEdgeUnderlay=s2("underlay"),s1.drawEdgePath=function(e,t,n,r){var i=e._private.rscratch,a=t,o=!1,s=this.usePaths(),l=e.pstyle("line-dash-pattern").pfValue,u=e.pstyle("line-dash-offset").pfValue;if(s){var c=n.join("$");i.pathCacheKey&&i.pathCacheKey===c?(f=t=i.pathCache,o=!0):(f=t=new Path2D,i.pathCacheKey=c,i.pathCache=f)}if(a.setLineDash)switch(r){case"dotted":a.setLineDash([1,1]);break;case"dashed":a.setLineDash(l),a.lineDashOffset=u;break;case"solid":a.setLineDash([])}if(!o&&!i.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),i.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var d=2;d+35&&void 0!==arguments[5]?arguments[5]:5,o=arguments.length>6?arguments[6]:void 0;e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath(),o?e.stroke():e.fill()}s3.eleTextBiggerThanMin=function(e,t){return t||(t=Math.pow(2,Math.ceil(tC(e.cy().zoom()*this.getPixelRatio())))),!(e.pstyle("font-size").pfValue*t5)||void 0===arguments[5]||arguments[5];if(null==r){if(o&&!this.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=this.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),h=t.pstyle("source-label"),d=t.pstyle("target-label");if(u||(!c||!c.value)&&(!h||!h.value)&&(!d||!d.value))return;e.textAlign="center",e.textBaseline="bottom"}var p=!n;n&&(a=n,e.translate(-a.x1,-a.y1)),null==i?(this.drawText(e,t,null,p,o),t.isEdge()&&(this.drawText(e,t,"source",p,o),this.drawText(e,t,"target",p,o))):this.drawText(e,t,i,p,o),n&&e.translate(a.x1,a.y1)},s3.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n2)||void 0===arguments[2]||arguments[2],r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",a=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+i+" "+a,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},s3.getTextAngle=function(e,t){var n=e._private.rscratch,r=t?t+"-":"",i=e.pstyle(r+"text-rotation"),a=e7(n,"labelAngle",t);return"autorotate"===i.strValue?e.isEdge()?a:0:"none"===i.strValue?0:i.pfValue},s3.drawText=function(e,t,n){var r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=t._private.rscratch,o=i?t.effectiveOpacity():1;if(!i||0!==o&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var s=e7(a,"labelX",n),l=e7(a,"labelY",n),u=this.getLabelText(t,n);if(null!=u&&""!==u&&!isNaN(s)&&!isNaN(l)){this.setupTextStyle(e,t,i);var c,h,d,p=n?n+"-":"",f=e7(a,"labelWidth",n),g=e7(a,"labelHeight",n),v=t.pstyle(p+"text-margin-x").pfValue,y=t.pstyle(p+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle("text-halign").value,w=t.pstyle("text-valign").value;switch(b&&(x="center",w="center"),s+=v,l+=y,0!==(d=r?this.getTextAngle(t,n):0)&&(c=s,h=l,e.translate(c,h),e.rotate(d),s=0,l=0),w){case"top":break;case"center":l+=g/2;break;case"bottom":l+=g}var E=t.pstyle("text-background-opacity").value,k=t.pstyle("text-border-opacity").value,C=t.pstyle("text-border-width").pfValue,S=t.pstyle("text-background-padding").pfValue,D=0===t.pstyle("text-background-shape").strValue.indexOf("round");if(E>0||C>0&&k>0){var T=s-S;switch(x){case"left":T-=f;break;case"center":T-=f/2}var P=l-g-S,_=f+2*S,M=g+2*S;if(E>0){var B=e.fillStyle,N=t.pstyle("text-background-color").value;e.fillStyle="rgba("+N[0]+","+N[1]+","+N[2]+","+E*o+")",D?s4(e,T,P,_,M,2):e.fillRect(T,P,_,M),e.fillStyle=B}if(C>0&&k>0){var A=e.strokeStyle,I=e.lineWidth,O=t.pstyle("text-border-color").value,z=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+O[0]+","+O[1]+","+O[2]+","+k*o+")",e.lineWidth=C,e.setLineDash)switch(z){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=C/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(D?s4(e,T,P,_,M,2,"stroke"):e.strokeRect(T,P,_,M),"double"===z){var L=C/2;D?s4(e,T+L,P+L,_-2*L,M-2*L,2,"stroke"):e.strokeRect(T+L,P+L,_-2*L,M-2*L)}e.setLineDash&&e.setLineDash([]),e.lineWidth=I,e.strokeStyle=A}}var R=2*t.pstyle("text-outline-width").pfValue;if(R>0&&(e.lineWidth=R),"wrap"===t.pstyle("text-wrap").value){var V=e7(a,"labelWrapCachedLines",n),F=e7(a,"labelLineHeight",n),j=f/2,q=this.getLabelJustification(t);switch("auto"===q||("left"===x?"left"===q?s+=-f:"center"===q&&(s+=-j):"center"===x?"left"===q?s+=-j:"right"===q&&(s+=j):"right"===x&&("center"===q?s+=j:"right"===q&&(s+=f))),w){case"top":case"center":case"bottom":l-=(V.length-1)*F}for(var X=0;X0&&e.strokeText(V[X],s,l),e.fillText(V[X],s,l),l+=F}else R>0&&e.strokeText(u,s,l),e.fillText(u,s,l);0!==d&&(e.rotate(-d),e.translate(-c,-h))}}};var s9={};s9.drawNode=function(e,t,n){var r,i,a,o,s=!(arguments.length>3)||void 0===arguments[3]||arguments[3],l=!(arguments.length>4)||void 0===arguments[4]||arguments[4],u=!(arguments.length>5)||void 0===arguments[5]||arguments[5],c=this,h=t._private,d=h.rscratch,p=t.position();if(M(p.x)&&M(p.y)&&(!u||t.visible())){var f=u?t.effectiveOpacity():1,g=c.usePaths(),v=!1,y=t.padding();r=t.width()+2*y,i=t.height()+2*y,n&&(o=n,e.translate(-o.x1,-o.y1));for(var b=t.pstyle("background-image").value,x=Array(b.length),w=Array(b.length),E=0,k=0;k0&&void 0!==arguments[0]?arguments[0]:P;c.eleFillStyle(e,t,n)},W=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:L;c.colorStrokeStyle(e,_[0],_[1],_[2],t)},H=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j;c.colorStrokeStyle(e,V[0],V[1],V[2],t)},G=function(e,t,n,r){var i,a=c.nodePathCache=c.nodePathCache||[],o=eq("polygon"===n?n+","+r.join(","):n,""+t,""+e,""+X),s=a[o],l=!1;return null!=s?(i=s,l=!0,d.pathCache=i):(i=new Path2D,a[o]=d.pathCache=i),{path:i,cacheHit:l}},U=t.pstyle("shape").strValue,K=t.pstyle("shape-polygon-points").pfValue;if(g){e.translate(p.x,p.y);var Z=G(r,i,U,K);a=Z.path,v=Z.cacheHit}var $=function(){if(!v){var n=p;g&&(n={x:0,y:0}),c.nodeShapes[c.getNodeShape(t)].draw(a||e,n.x,n.y,r,i,X,d)}g?e.fill(a):e.fill()},Q=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],i=h.backgrounding,a=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;c.hasPie(t)&&(c.drawPie(e,t,a),n&&!g&&c.nodeShapes[c.getNodeShape(t)].draw(e,p.x,p.y,r,i,X,d))},ee=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,n=(D>0?D:-D)*t,r=D>0?0:255;0!==D&&(c.colorFillStyle(e,r,r,r,n),g?e.fill(a):e.fill())},et=function(){if(T>0){if(e.lineWidth=T,e.lineCap=A,e.lineJoin=N,e.setLineDash)switch(B){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash(O),e.lineDashOffset=z;break;case"solid":case"double":e.setLineDash([])}if("center"!==I){if(e.save(),e.lineWidth*=2,"inside"===I)g?e.clip(a):e.clip();else{var t=new Path2D;t.rect(-r/2-T,-i/2-T,r+2*T,i+2*T),t.addPath(a),e.clip(t,"evenodd")}g?e.stroke(a):e.stroke(),e.restore()}else g?e.stroke(a):e.stroke();if("double"===B){e.lineWidth=T/3;var n=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",g?e.stroke(a):e.stroke(),e.globalCompositeOperation=n}e.setLineDash&&e.setLineDash([])}},en=function(){if(R>0){if(e.lineWidth=R,e.lineCap="butt",e.setLineDash)switch(F){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}var n=p;g&&(n={x:0,y:0});var a=c.getNodeShape(t),o=T;"inside"===I&&(o=0),"outside"===I&&(o*=2);var s=(r+o+(R+q))/r,l=(i+o+(R+q))/i,u=r*s,h=i*l,d=c.nodeShapes[a].points;if(g&&(S=G(u,h,a,d).path),"ellipse"===a)c.drawEllipsePath(S||e,n.x,n.y,u,h);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(a)){var f=0,v=0,y=0;"round-diamond"===a?f=(o+q+R)*1.4:"round-heptagon"===a?(f=(o+q+R)*1.075,y=-(o/2+q+R)/35):"round-hexagon"===a?f=(o+q+R)*1.12:"round-pentagon"===a?(f=(o+q+R)*1.13,y=-(o/2+q+R)/15):"round-tag"===a?(f=(o+q+R)*1.12,v=(o/2+R+q)*.07):"round-triangle"===a&&(f=(o+q+R)*(Math.PI/2),y=-(o+q/2+R)/Math.PI),0===f||(s=(r+f)/r,u=r*s,["round-hexagon","round-tag"].includes(a)||(l=(i+f)/i,h=i*l)),X="auto"===X?nn(u,h):X;for(var b=u/2,x=h/2,w=X+(o+R+q)/2,E=Array(d.length/2),k=Array(d.length/2),C=0;C0){if(r=r||n.position(),null==i||null==a){var h=n.padding();i=n.width()+2*h,a=n.height()+2*h}this.colorFillStyle(t,l[0],l[1],l[2],s),this.nodeShapes[u].draw(t,r.x,r.y,i+2*o,a+2*o,c),t.fill()}}}};s9.drawNodeOverlay=s6("overlay"),s9.drawNodeUnderlay=s6("underlay"),s9.hasPie=function(e){return(e=e[0])._private.hasPie},s9.drawPie=function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),a=t.pstyle("pie-size"),o=r.x,s=r.y,l=Math.min(t.width(),t.height())/2,u=0;this.usePaths()&&(o=0,s=0),"%"===a.units?l*=a.pfValue:void 0!==a.pfValue&&(l=a.pfValue/2);for(var c=1;c<=i.pieBackgroundN;c++){var h=t.pstyle("pie-"+c+"-background-size").value,d=t.pstyle("pie-"+c+"-background-color").value,p=t.pstyle("pie-"+c+"-background-opacity").value*n,f=h/100;f+u>1&&(f=1-u);var g=1.5*Math.PI+2*Math.PI*u,v=g+2*Math.PI*f;0===h||u>=1||u+f>1||(e.beginPath(),e.moveTo(o,s),e.arc(o,s,l,g,v),e.closePath(),this.colorFillStyle(e,d[0],d[1],d[2],p),e.fill(),u+=f)}};var s8={};s8.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=this.cy.window(),n=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(t.devicePixelRatio||1)/n},s8.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;io.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(c[o.NODE]=!0,c[o.SELECT_BOX]=!0);var b=l.style(),x=l.zoom(),w=void 0!==i?i:x,E=l.pan(),k={x:E.x,y:E.y},C={zoom:x,pan:{x:E.x,y:E.y}},S=o.prevViewport;void 0===S||C.zoom!==S.zoom||C.pan.x!==S.pan.x||C.pan.y!==S.pan.y||g&&!f||(o.motionBlurPxRatio=1),a&&(k=a),w*=s,k.x*=s,k.y*=s;var D=o.getCachedZSortedEles();function T(e,t,n,r,i){var a=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",o.colorFillStyle(e,255,255,255,o.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=a}function P(e,r){var s,l,c,h;o.clearingMotionBlur||e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=k,l=w,c=o.canvasWidth,h=o.canvasHeight):(s={x:E.x*p,y:E.y*p},l=x*p,c=o.canvasWidth*p,h=o.canvasHeight*p),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?T(e,0,0,c,h):!t&&(void 0===r||r)&&e.clearRect(0,0,c,h),n||(e.translate(s.x,s.y),e.scale(l,l)),a&&e.translate(a.x,a.y),i&&e.scale(i,i)}if(h||(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=l.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var _=o.data.bufferContexts[o.TEXTURE_BUFFER];_.setTransform(1,0,0,1,0,0),_.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:_,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult});var C=o.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:o.canvasWidth,height:o.canvasHeight};C.mpan={x:(0-C.pan.x)/C.zoom,y:(0-C.pan.y)/C.zoom}}c[o.DRAG]=!1,c[o.NODE]=!1;var M=u.contexts[o.NODE],B=o.textureCache.texture,C=o.textureCache.viewport;M.setTransform(1,0,0,1,0,0),d?T(M,0,0,C.width,C.height):M.clearRect(0,0,C.width,C.height);var N=b.core("outside-texture-bg-color").value,A=b.core("outside-texture-bg-opacity").value;o.colorFillStyle(M,N[0],N[1],N[2],A),M.fillRect(0,0,C.width,C.height);var x=l.zoom();P(M,!1),M.clearRect(C.mpan.x,C.mpan.y,C.width/C.zoom/s,C.height/C.zoom/s),M.drawImage(B,C.mpan.x,C.mpan.y,C.width/C.zoom/s,C.height/C.zoom/s)}else o.textureOnViewport&&!t&&(o.textureCache=null);var I=l.extent(),O=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),z=o.hideEdgesOnViewport&&O,L=[];if(L[o.NODE]=!c[o.NODE]&&d&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,L[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),L[o.DRAG]=!c[o.DRAG]&&d&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,L[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),c[o.NODE]||n||r||L[o.NODE]){var R=d&&!L[o.NODE]&&1!==p,M=t||(R?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]);P(M,d&&!R?"motionBlur":void 0),z?o.drawCachedNodes(M,D.nondrag,s,I):o.drawLayeredElements(M,D.nondrag,s,I),o.debug&&o.drawDebugPoints(M,D.nondrag),n||d||(c[o.NODE]=!1)}if(!r&&(c[o.DRAG]||n||L[o.DRAG])){var R=d&&!L[o.DRAG]&&1!==p,M=t||(R?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]);P(M,d&&!R?"motionBlur":void 0),z?o.drawCachedNodes(M,D.drag,s,I):o.drawCachedElements(M,D.drag,s,I),o.debug&&o.drawDebugPoints(M,D.drag),n||d||(c[o.DRAG]=!1)}if(o.showFps||!r&&c[o.SELECT_BOX]&&!n){var M=t||u.contexts[o.SELECT_BOX];if(P(M),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){var x=o.cy.zoom(),V=b.core("selection-box-border-width").value/x;M.lineWidth=V,M.fillStyle="rgba("+b.core("selection-box-color").value[0]+","+b.core("selection-box-color").value[1]+","+b.core("selection-box-color").value[2]+","+b.core("selection-box-opacity").value+")",M.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),V>0&&(M.strokeStyle="rgba("+b.core("selection-box-border-color").value[0]+","+b.core("selection-box-border-color").value[1]+","+b.core("selection-box-border-color").value[2]+","+b.core("selection-box-opacity").value+")",M.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]))}if(u.bgActivePosistion&&!o.hoverData.selecting){var x=o.cy.zoom(),F=u.bgActivePosistion;M.fillStyle="rgba("+b.core("active-bg-color").value[0]+","+b.core("active-bg-color").value[1]+","+b.core("active-bg-color").value[2]+","+b.core("active-bg-opacity").value+")",M.beginPath(),M.arc(F.x,F.y,b.core("active-bg-size").pfValue/x,0,2*Math.PI),M.fill()}var j=o.lastRedrawTime;if(o.showFps&&j){var q=Math.round(1e3/(j=Math.round(j)));M.setTransform(1,0,0,1,0,0),M.fillStyle="rgba(255, 0, 0, 0.75)",M.strokeStyle="rgba(255, 0, 0, 0.75)",M.lineWidth=1,M.fillText("1 frame = "+j+" ms = "+q+" fps",0,20),M.strokeRect(0,30,250,20),M.fillRect(0,30,250*Math.min(q/60,1),20)}n||(c[o.SELECT_BOX]=!1)}if(d&&1!==p){var X=u.contexts[o.NODE],Y=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],W=u.contexts[o.DRAG],H=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],G=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!y?e.clearRect(0,0,o.canvasWidth,o.canvasHeight):T(e,0,0,o.canvasWidth,o.canvasHeight),e.drawImage(t,0,0,o.canvasWidth*p,o.canvasHeight*p,0,0,o.canvasWidth,o.canvasHeight)};(c[o.NODE]||L[o.NODE])&&(G(X,Y,L[o.NODE]),c[o.NODE]=!1),(c[o.DRAG]||L[o.DRAG])&&(G(W,H,L[o.DRAG]),c[o.DRAG]=!1)}o.prevViewport=C,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),d&&(o.motionBlurTimeout=setTimeout(function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!h,o.mbFrames=0,c[o.NODE]=!0,c[o.DRAG]=!0,o.redraw()},100)),t||l.emit("render")};var s7={};s7.drawPolygonPath=function(e,t,n,r,i,a){var o=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*a[0],n+s*a[1]);for(var l=1;l0&&a>0){d.clearRect(0,0,i,a),d.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)d.translate(-n.x1*l,-n.y1*l),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(n.x1*l,n.y1*l);else{var f=t.pan(),g={x:f.x*l,y:f.y*l};l*=t.zoom(),d.translate(g.x,g.y),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(-g.x,-g.y)}e.bg&&(d.globalCompositeOperation="destination-over",d.fillStyle=e.bg,d.rect(0,0,i,a),d.fill())}return h},li.png=function(e){return lo(e,this.bufferCanvasImage(e),"image/png")},li.jpg=function(e){return lo(e,this.bufferCanvasImage(e),"image/jpeg")};var ls={};ls.nodeShapeImpl=function(e,t,n,r,i,a,o,s){switch(e){case"ellipse":return this.drawEllipsePath(t,n,r,i,a);case"polygon":return this.drawPolygonPath(t,n,r,i,a,o);case"round-polygon":return this.drawRoundPolygonPath(t,n,r,i,a,o,s);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(t,n,r,i,a,s);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(t,n,r,i,a,o,s);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(t,n,r,i,a,s);case"barrel":return this.drawBarrelPath(t,n,r,i,a)}};var ll=lu.prototype;function lu(e){var t=this,n=t.cy.window().document;t.data={canvases:Array(ll.CANVAS_LAYERS),contexts:Array(ll.CANVAS_LAYERS),canvasNeedsRedraw:Array(ll.CANVAS_LAYERS),bufferCanvases:Array(ll.BUFFER_COUNT),bufferContexts:Array(ll.CANVAS_LAYERS)};var r="-webkit-tap-highlight-color",i="rgba(0,0,0,0)";t.data.canvasContainer=n.createElement("div");var a=t.data.canvasContainer.style;t.data.canvasContainer.style[r]=i,a.position="relative",a.zIndex="0",a.overflow="hidden";var o=e.cy.container();o.appendChild(t.data.canvasContainer),o.style[r]=i;var s={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};x&&x.userAgent.match(/msie|trident|edge/i)&&(s["-ms-touch-action"]="none",s["touch-action"]="none");for(var l=0;l-1,r.createElement(v,(0,s.Z)({},E,{prefixCls:n,key:_,panelKey:_,isActive:A,accordion:a,openMotion:u,expandIcon:d,header:h,collapsible:S,onItemClick:function(e){"disabled"!==S&&(l(e),null==b||b(e))},destroyInactivePanel:null!=y?y:o}),p)})},S=function(e,t,n){if(!e)return null;var a=n.prefixCls,i=n.accordion,o=n.collapsible,s=n.destroyInactivePanel,l=n.onItemClick,c=n.activeKey,u=n.openMotion,d=n.expandIcon,p=e.key||String(t),f=e.props,h=f.header,g=f.headerClass,m=f.destroyInactivePanel,b=f.collapsible,y=f.onItemClick,E=!1;E=i?c[0]===p:c.indexOf(p)>-1;var v=null!=b?b:o,T={key:p,panelKey:p,header:h,headerClass:g,isActive:E,prefixCls:a,destroyInactivePanel:null!=m?m:s,openMotion:u,accordion:i,children:e.props.children,onItemClick:function(e){"disabled"!==v&&(l(e),null==y||y(e))},expandIcon:d,collapsible:v};return"string"==typeof e.type?e:(Object.keys(T).forEach(function(e){void 0===T[e]&&delete T[e]}),r.cloneElement(e,T))},A=n(66168);function O(e){var t=e;if(!Array.isArray(t)){var n=(0,u.Z)(t);t="number"===n||"string"===n?[t]:[]}return t.map(function(e){return String(e)})}var k=Object.assign(r.forwardRef(function(e,t){var n,a=e.prefixCls,i=void 0===a?"rc-collapse":a,u=e.destroyInactivePanel,f=e.style,g=e.accordion,m=e.className,b=e.children,y=e.collapsible,E=e.openMotion,v=e.expandIcon,T=e.activeKey,k=e.defaultActiveKey,x=e.onChange,I=e.items,C=o()(i,m),N=(0,d.Z)([],{value:T,onChange:function(e){return null==x?void 0:x(e)},defaultValue:k,postState:O}),w=(0,c.Z)(N,2),R=w[0],L=w[1];(0,p.ZP)(!b,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var D=(n={prefixCls:i,accordion:g,openMotion:E,expandIcon:v,collapsible:y,destroyInactivePanel:void 0!==u&&u,onItemClick:function(e){return L(function(){return g?R[0]===e?[]:[e]:R.indexOf(e)>-1?R.filter(function(t){return t!==e}):[].concat((0,l.Z)(R),[e])})},activeKey:R},Array.isArray(I)?_(I,n):(0,h.Z)(b).map(function(e,t){return S(e,t,n)}));return r.createElement("div",(0,s.Z)({ref:t,className:C,style:f,role:g?"tablist":void 0},(0,A.Z)(e,{aria:!0,data:!0})),D)}),{Panel:v});k.Panel;var x=n(55598),I=n(17383),C=n(55091),N=n(63346),w=n(82014);let R=r.forwardRef((e,t)=>{let{getPrefixCls:n}=r.useContext(N.E_),{prefixCls:a,className:i,showArrow:s=!0}=e,l=n("collapse",a),c=o()({[`${l}-no-arrow`]:!s},i);return r.createElement(k.Panel,Object.assign({ref:t},e,{prefixCls:l,className:c}))});var L=n(38083),D=n(60848),P=n(36647),M=n(90102),F=n(74934);let B=e=>{let{componentCls:t,contentBg:n,padding:r,headerBg:a,headerPadding:i,collapseHeaderPaddingSM:o,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:l,lineWidth:c,lineType:u,colorBorder:d,colorText:p,colorTextHeading:f,colorTextDisabled:h,fontSizeLG:g,lineHeight:m,lineHeightLG:b,marginSM:y,paddingSM:E,paddingLG:v,paddingXS:T,motionDurationSlow:_,fontSizeIcon:S,contentPadding:A,fontHeight:O,fontHeightLG:k}=e,x=`${(0,L.bf)(c)} ${u} ${d}`;return{[t]:Object.assign(Object.assign({},(0,D.Wf)(e)),{backgroundColor:a,border:x,borderRadius:l,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:x,"&:last-child":{[` + &, + & > ${t}-header`]:{borderRadius:`0 0 ${(0,L.bf)(l)} ${(0,L.bf)(l)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:f,lineHeight:m,cursor:"pointer",transition:`all ${_}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:O,display:"flex",alignItems:"center",paddingInlineEnd:y},[`${t}-arrow`]:Object.assign(Object.assign({},(0,D.Ro)()),{fontSize:S,transition:`transform ${_}`,svg:{transition:`transform ${_}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:p,backgroundColor:n,borderTop:x,[`& > ${t}-content-box`]:{padding:A},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:T,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(E).sub(T).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:E}}},"&-large":{[`> ${t}-item`]:{fontSize:g,lineHeight:b,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:k,marginInlineStart:e.calc(v).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:v}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,L.bf)(l)} ${(0,L.bf)(l)}`}},[`& ${t}-item-disabled > ${t}-header`]:{[` + &, + & > .arrow + `]:{color:h,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:y}}}}})}},j=e=>{let{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},U=e=>{let{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` + > ${t}-item:last-child, + > ${t}-item:last-child ${t}-header + `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},H=e=>{let{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}};var G=(0,M.I$)("Collapse",e=>{let t=(0,F.IX)(e,{collapseHeaderPaddingSM:`${(0,L.bf)(e.paddingXS)} ${(0,L.bf)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,L.bf)(e.padding)} ${(0,L.bf)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[B(t),U(t),H(t),j(t),(0,P.Z)(t)]},e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}));let $=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:i,collapse:s}=r.useContext(N.E_),{prefixCls:l,className:c,rootClassName:u,style:d,bordered:p=!0,ghost:f,size:g,expandIconPosition:m="start",children:b,expandIcon:y}=e,E=(0,w.Z)(e=>{var t;return null!==(t=null!=g?g:e)&&void 0!==t?t:"middle"}),v=n("collapse",l),T=n(),[_,S,A]=G(v),O=r.useMemo(()=>"left"===m?"start":"right"===m?"end":m,[m]),R=null!=y?y:null==s?void 0:s.expandIcon,L=r.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="function"==typeof R?R(e):r.createElement(a.Z,{rotate:e.isActive?90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,C.Tm)(t,()=>{var e;return{className:o()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,`${v}-arrow`)}})},[R,v]),D=o()(`${v}-icon-position-${O}`,{[`${v}-borderless`]:!p,[`${v}-rtl`]:"rtl"===i,[`${v}-ghost`]:!!f,[`${v}-${E}`]:"middle"!==E},null==s?void 0:s.className,c,u,S,A),P=Object.assign(Object.assign({},(0,I.Z)(T)),{motionAppear:!1,leavedClassName:`${v}-content-hidden`}),M=r.useMemo(()=>b?(0,h.Z)(b).map((e,t)=>{var n,r;if(null===(n=e.props)||void 0===n?void 0:n.disabled){let n=null!==(r=e.key)&&void 0!==r?r:String(t),{disabled:a,collapsible:i}=e.props,o=Object.assign(Object.assign({},(0,x.Z)(e.props,["disabled"])),{key:n,collapsible:null!=i?i:a?"disabled":void 0});return(0,C.Tm)(e,o)}return e}):null,[b]);return _(r.createElement(k,Object.assign({ref:t,openMotion:P},(0,x.Z)(e,["rootClassName"]),{expandIcon:L,prefixCls:v,className:D,style:Object.assign(Object.assign({},null==s?void 0:s.style),d)}),M))});var z=Object.assign($,{Panel:R})},48339:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(38497),a=n(32982),i=n(26869),o=n.n(i),s=n(42096),l=n(4247),c=n(65148),u=n(65347),d=n(14433),p=n(10921),f=n(16213),h=n(77757),g=n(57506),m=n(93941),b=n(16956),y=n(83367),E=n(53979),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,g=e.transform,m=e.count,T=e.scale,_=e.minScale,S=e.maxScale,A=e.closeIcon,O=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,I=e.onZoomIn,C=e.onZoomOut,N=e.onRotateRight,w=e.onRotateLeft,R=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,H=u.zoomIn,G=u.zoomOut,$=u.close,z=u.left,W=u.right,Y=u.flipX,V=u.flipY,Z="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:Y,onClick:R,type:"flipX"},{icon:j,onClick:w,type:"rotateLeft"},{icon:U,onClick:N,type:"rotateRight"},{icon:G,onClick:C,type:"zoomOut",disabled:T<=_},{icon:H,onClick:I,type:"zoomIn",disabled:T===S}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Z,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===A?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},A||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:O},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===m-1)),onClick:k},W)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,m):"".concat(h+1," / ").concat(m)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:R,onRotateLeft:w,onRotateRight:N,onZoomOut:C,onZoomIn:I,onReset:D,onClose:x},transform:g},B?{current:h,total:m}:{}),{},{image:F})):K)))})},_=n(9671),S=n(25043),A={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},O=n(89842);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function I(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function C(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var N=["fallback","src","imgRef"],w=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],R=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,N),o=I({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,I,N,L,D,P,M,F,B,j,U,H,G,$,z,W,Y,V,Z,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,eg=void 0===eh?.5:eh,em=e.minScale,eb=void 0===em?1:em,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,e_=void 0===eT?"fade":eT,eS=e.imageRender,eA=e.imgCommonProps,eO=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eI=(0,p.Z)(e,w),eC=(0,r.useRef)(),eN=(0,r.useContext)(v),ew=eN&&ep>1,eR=eN&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(A),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,S.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(A),(0,_.Z)(A,d)||null==ek||ek({transform:A,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=eC.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,g=d.scale*e;g>eE?(g=eE,h=eE/d.scale):g0&&(t=1/t),eH(t,"wheel",e.clientX,e.clientY)}}}),e$=eG.isMoving,ez=eG.onMouseDown,eW=eG.onWheel,eY=(U=eB.rotate,H=eB.scale,G=eB.x,$=eB.y,z=(0,r.useState)(!1),Y=(W=(0,u.Z)(z,2))[0],V=W[1],Z=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Z.current=(0,l.Z)((0,l.Z)({},Z.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,m.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:Y,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-G,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Z.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=C(e,n),i=C(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eH(C(s,l)/C(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(Y&&V(!1),q({eventType:"none"}),eb>H)return eU({x:0,y:0,scale:eb},"touchZoom");var e=eC.current.offsetWidth*H,t=eC.current.offsetHeight*H,n=eC.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eY.isTouching,eZ=eY.onTouchStart,eq=eY.onTouchMove,eK=eY.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},eg=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var em=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),eg(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Z.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=Y.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),g=d("image",n),m=d(),b=p.Image||Y.Z.Image,y=(0,W.Z)(g),[E,v,T]=em(g,y),_=o()(l,v,T,y),S=o()(s,v,null==h?void 0:h.className),[A]=(0,G.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),O=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${g}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(m,"zoom",t.transitionName),maskTransitionName:(0,$.m)(m,"fade",t.maskTransitionName),zIndex:A,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(H,Object.assign({prefixCls:g,preview:O,rootClassName:_,className:S,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,W.Z)(s),[d,p,f]=em(s,u),[h]=(0,G.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),g=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(H.PreviewGroup,Object.assign({preview:g,previewPrefixCls:l,icons:ey},a)))};var eT=ev},14373:function(e,t){"use strict";t.Q=function(e){for(var t,n=[],r=String(e||""),a=r.indexOf(","),i=0,o=!1;!o;)-1===a&&(a=r.length,o=!0),((t=r.slice(i,a).trim())||!o)&&n.push(t),i=a+1,a=r.indexOf(",",i);return n}},38979:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,a=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(a)return a(e,n).value}return e[n]};e.exports=function e(){var t,n,r,a,c,u,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p=97&&t<=122||t>=65&&t<=90}},27409:function(e,t,n){"use strict";var r=n(7466),a=n(75227);e.exports=function(e){return r(e)||a(e)}},75227:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},20042:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},50730:function(e,t,n){"use strict";n.d(t,{r:function(){return k6}});var r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y,E,v,T,_,S,A,O,k,x,I,C,N,w,R,L,D,P,M,F,B,j,U,H,G,$,z,W,Y,V={};n.r(V),n.d(V,{area:function(){return a5},bottom:function(){return ii},bottomLeft:function(){return ii},bottomRight:function(){return ii},inside:function(){return ii},left:function(){return ii},outside:function(){return ic},right:function(){return ii},spider:function(){return ib},surround:function(){return iE},top:function(){return ii},topLeft:function(){return ii},topRight:function(){return ii}});var Z={};n.r(Z),n.d(Z,{interpolateBlues:function(){return s4},interpolateBrBG:function(){return sm},interpolateBuGn:function(){return sD},interpolateBuPu:function(){return sM},interpolateCividis:function(){return li},interpolateCool:function(){return lg},interpolateCubehelixDefault:function(){return lf},interpolateGnBu:function(){return sB},interpolateGreens:function(){return s5},interpolateGreys:function(){return s9},interpolateInferno:function(){return lk},interpolateMagma:function(){return lO},interpolateOrRd:function(){return sU},interpolateOranges:function(){return la},interpolatePRGn:function(){return sy},interpolatePiYG:function(){return sv},interpolatePlasma:function(){return lx},interpolatePuBu:function(){return sz},interpolatePuBuGn:function(){return sG},interpolatePuOr:function(){return s_},interpolatePuRd:function(){return sY},interpolatePurples:function(){return le},interpolateRainbow:function(){return lb},interpolateRdBu:function(){return sA},interpolateRdGy:function(){return sk},interpolateRdPu:function(){return sZ},interpolateRdYlBu:function(){return sI},interpolateRdYlGn:function(){return sN},interpolateReds:function(){return ln},interpolateSinebow:function(){return lT},interpolateSpectral:function(){return sR},interpolateTurbo:function(){return l_},interpolateViridis:function(){return lA},interpolateWarm:function(){return lh},interpolateYlGn:function(){return sQ},interpolateYlGnBu:function(){return sK},interpolateYlOrBr:function(){return s0},interpolateYlOrRd:function(){return s2},schemeAccent:function(){return oD},schemeBlues:function(){return s3},schemeBrBG:function(){return sg},schemeBuGn:function(){return sL},schemeBuPu:function(){return sP},schemeCategory10:function(){return oL},schemeDark2:function(){return oP},schemeGnBu:function(){return sF},schemeGreens:function(){return s6},schemeGreys:function(){return s8},schemeOrRd:function(){return sj},schemeOranges:function(){return lr},schemePRGn:function(){return sb},schemePaired:function(){return oM},schemePastel1:function(){return oF},schemePastel2:function(){return oB},schemePiYG:function(){return sE},schemePuBu:function(){return s$},schemePuBuGn:function(){return sH},schemePuOr:function(){return sT},schemePuRd:function(){return sW},schemePurples:function(){return s7},schemeRdBu:function(){return sS},schemeRdGy:function(){return sO},schemeRdPu:function(){return sV},schemeRdYlBu:function(){return sx},schemeRdYlGn:function(){return sC},schemeReds:function(){return lt},schemeSet1:function(){return oj},schemeSet2:function(){return oU},schemeSet3:function(){return oH},schemeSpectral:function(){return sw},schemeTableau10:function(){return oG},schemeYlGn:function(){return sX},schemeYlGnBu:function(){return sq},schemeYlOrBr:function(){return sJ},schemeYlOrRd:function(){return s1}});var q={};n.r(q);var K={};n.r(K),n.d(K,{geoAlbers:function(){return Tn},geoAlbersUsa:function(){return Tr},geoAzimuthalEqualArea:function(){return Ts},geoAzimuthalEqualAreaRaw:function(){return To},geoAzimuthalEquidistant:function(){return Tc},geoAzimuthalEquidistantRaw:function(){return Tl},geoConicConformal:function(){return Tg},geoConicConformalRaw:function(){return Th},geoConicEqualArea:function(){return Tt},geoConicEqualAreaRaw:function(){return Te},geoConicEquidistant:function(){return TE},geoConicEquidistantRaw:function(){return Ty},geoEqualEarth:function(){return T_},geoEqualEarthRaw:function(){return TT},geoEquirectangular:function(){return Tb},geoEquirectangularRaw:function(){return Tm},geoGnomonic:function(){return TA},geoGnomonicRaw:function(){return TS},geoIdentity:function(){return TO},geoMercator:function(){return Td},geoMercatorRaw:function(){return Tu},geoNaturalEarth1:function(){return Tx},geoNaturalEarth1Raw:function(){return Tk},geoOrthographic:function(){return TC},geoOrthographicRaw:function(){return TI},geoProjection:function(){return v8},geoProjectionMutator:function(){return v9},geoStereographic:function(){return Tw},geoStereographicRaw:function(){return TN},geoTransverseMercator:function(){return TL},geoTransverseMercatorRaw:function(){return TR}});var X={};n.r(X),n.d(X,{frequency:function(){return Sf},id:function(){return Sh},name:function(){return Sg},weight:function(){return Sp}});var Q=n(57278),J=n(75827),ee=n(61),et=n(43311),en=n(72771),er=n(37022),ea=n(44766),ei=n(38497),eo=function(){return(eo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case eu.h5:e.return=function e(t,n,r){switch((0,ed.vp)(t,n)){case 5103:return eu.G$+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return eu.G$+t+t;case 4789:return eu.uj+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eu.G$+t+eu.uj+t+eu.MS+t+t;case 5936:switch((0,ed.uO)(t,n+11)){case 114:return eu.G$+t+eu.MS+(0,ed.gx)(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eu.G$+t+eu.MS+(0,ed.gx)(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eu.G$+t+eu.MS+(0,ed.gx)(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eu.G$+t+eu.MS+t+t;case 6165:return eu.G$+t+eu.MS+"flex-"+t+t;case 5187:return eu.G$+t+(0,ed.gx)(t,/(\w+).+(:[^]+)/,eu.G$+"box-$1$2"+eu.MS+"flex-$1$2")+t;case 5443:return eu.G$+t+eu.MS+"flex-item-"+(0,ed.gx)(t,/flex-|-self/g,"")+((0,ed.EQ)(t,/flex-|baseline/)?"":eu.MS+"grid-row-"+(0,ed.gx)(t,/flex-|-self/g,""))+t;case 4675:return eu.G$+t+eu.MS+"flex-line-pack"+(0,ed.gx)(t,/align-content|flex-|-self/g,"")+t;case 5548:return eu.G$+t+eu.MS+(0,ed.gx)(t,"shrink","negative")+t;case 5292:return eu.G$+t+eu.MS+(0,ed.gx)(t,"basis","preferred-size")+t;case 6060:return eu.G$+"box-"+(0,ed.gx)(t,"-grow","")+eu.G$+t+eu.MS+(0,ed.gx)(t,"grow","positive")+t;case 4554:return eu.G$+(0,ed.gx)(t,/([^-])(transform)/g,"$1"+eu.G$+"$2")+t;case 6187:return(0,ed.gx)((0,ed.gx)((0,ed.gx)(t,/(zoom-|grab)/,eu.G$+"$1"),/(image-set)/,eu.G$+"$1"),t,"")+t;case 5495:case 3959:return(0,ed.gx)(t,/(image-set\([^]*)/,eu.G$+"$1$`$1");case 4968:return(0,ed.gx)((0,ed.gx)(t,/(.+:)(flex-)?(.*)/,eu.G$+"box-pack:$3"+eu.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eu.G$+t+t;case 4200:if(!(0,ed.EQ)(t,/flex-|baseline/))return eu.MS+"grid-column-align"+(0,ed.tb)(t,n)+t;break;case 2592:case 3360:return eu.MS+(0,ed.gx)(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,(0,ed.EQ)(e.props,/grid-\w+-end/)}))return~(0,ed.Cw)(t+(r=r[n].value),"span",0)?t:eu.MS+(0,ed.gx)(t,"-start","")+t+eu.MS+"grid-row-span:"+(~(0,ed.Cw)(r,"span",0)?(0,ed.EQ)(r,/\d+/):+(0,ed.EQ)(r,/\d+/)-+(0,ed.EQ)(t,/\d+/))+";";return eu.MS+(0,ed.gx)(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return(0,ed.EQ)(e.props,/grid-\w+-start/)})?t:eu.MS+(0,ed.gx)((0,ed.gx)(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return(0,ed.gx)(t,/(.+)-inline(.+)/,eu.G$+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,ed.to)(t)-1-n>6)switch((0,ed.uO)(t,n+1)){case 109:if(45!==(0,ed.uO)(t,n+4))break;case 102:return(0,ed.gx)(t,/(.+:)(.+)-([^]+)/,"$1"+eu.G$+"$2-$3$1"+eu.uj+(108==(0,ed.uO)(t,n+3)?"$3":"$2-$3"))+t;case 115:return~(0,ed.Cw)(t,"stretch",0)?e((0,ed.gx)(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return(0,ed.gx)(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eu.MS+n+":"+r+s+(a?eu.MS+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===(0,ed.uO)(t,n+6))return(0,ed.gx)(t,":",":"+eu.G$)+t;break;case 6444:switch((0,ed.uO)(t,45===(0,ed.uO)(t,14)?18:11)){case 120:return(0,ed.gx)(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eu.G$+(45===(0,ed.uO)(t,14)?"inline-":"")+"box$3$1"+eu.G$+"$2$3$1"+eu.MS+"$2box$3")+t;case 100:return(0,ed.gx)(t,":",":"+eu.MS)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return(0,ed.gx)(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case eu.lK:return(0,ef.q)([(0,ep.JG)(e,{value:(0,ed.gx)(e.value,"@","@"+eu.G$)})],r);case eu.Fr:if(e.length)return(0,ed.$e)(n=e.props,function(t){switch((0,ed.EQ)(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":(0,ep.xb)((0,ep.JG)(e,{props:[(0,ed.gx)(t,/:(read-\w+)/,":"+eu.uj+"$1")]})),(0,ep.xb)((0,ep.JG)(e,{props:[t]})),(0,ed.f0)(e,{props:(0,ed.hX)(n,r)});break;case"::placeholder":(0,ep.xb)((0,ep.JG)(e,{props:[(0,ed.gx)(t,/:(plac\w+)/,":"+eu.G$+"input-$1")]})),(0,ep.xb)((0,ep.JG)(e,{props:[(0,ed.gx)(t,/:(plac\w+)/,":"+eu.uj+"$1")]})),(0,ep.xb)((0,ep.JG)(e,{props:[(0,ed.gx)(t,/:(plac\w+)/,eu.MS+"input-$1")]})),(0,ep.xb)((0,ep.JG)(e,{props:[t]})),(0,ed.f0)(e,{props:(0,ed.hX)(n,r)})}return""})}}var eg=n(43514),em={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},eb=n(75299),ey=void 0!==eb&&void 0!==eb.env&&(eb.env.REACT_APP_SC_ATTR||eb.env.SC_ATTR)||"data-styled",eE="active",ev="data-styled-version",eT="6.1.12",e_="/*!sc*/\n",eS="undefined"!=typeof window&&"HTMLElement"in window,eA=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==eb&&void 0!==eb.env&&void 0!==eb.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==eb.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==eb.env.REACT_APP_SC_DISABLE_SPEEDY&&eb.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==eb&&void 0!==eb.env&&void 0!==eb.env.SC_DISABLE_SPEEDY&&""!==eb.env.SC_DISABLE_SPEEDY&&"false"!==eb.env.SC_DISABLE_SPEEDY&&eb.env.SC_DISABLE_SPEEDY),eO=Object.freeze([]),ek=Object.freeze({}),ex=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),eI=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,eC=/(^-|-$)/g;function eN(e){return e.replace(eI,"-").replace(eC,"")}var ew=/(a)(d)/gi,eR=function(e){return String.fromCharCode(e+(e>25?39:97))};function eL(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=eR(t%52)+n;return(eR(t%52)+n).replace(ew,"$1-$2")}var eD,eP=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},eM=function(e){return eP(5381,e)};function eF(e){return"string"==typeof e}var eB="function"==typeof Symbol&&Symbol.for,ej=eB?Symbol.for("react.memo"):60115,eU=eB?Symbol.for("react.forward_ref"):60112,eH={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},eG={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},e$={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ez=((eD={})[eU]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},eD[ej]=e$,eD);function eW(e){return("type"in e&&e.type.$$typeof)===ej?e$:"$$typeof"in e?ez[e.$$typeof]:eH}var eY=Object.defineProperty,eV=Object.getOwnPropertyNames,eZ=Object.getOwnPropertySymbols,eq=Object.getOwnPropertyDescriptor,eK=Object.getPrototypeOf,eX=Object.prototype;function eQ(e){return"function"==typeof e}function eJ(e){return"object"==typeof e&&"styledComponentId"in e}function e0(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function e1(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var e6=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw e4(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e_)}}})(a);return r}(r)})}return e.registerId=function(e){return e7(e)},e.prototype.rehydrate=function(){!this.server&&eS&&ti(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eo(eo({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tc(r):n?new ts(r):new tl(r),new e6(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(e7(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(e7(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(e7(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),tf=/&/g,th=/^\s*\/\/.*$/gm;function tg(e){var t,n,r,a=void 0===e?ek:e,i=a.options,o=void 0===i?ek:i,s=a.plugins,l=void 0===s?eO:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===eu.Fr&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(tf,n).replace(r,c))}),o.prefix&&u.push(eh),u.push(ef.P);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d=e.replace(th,""),p=eg.MY(i||a?"".concat(i," ").concat(a," { ").concat(d," }"):d);o.namespace&&(p=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(p,o.namespace));var f=[];return ef.q(p,(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,f.push(t))}),c=(0,ed.Ei)(l),function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var tA=function(e){return null==e||!1===e||""===e},tO=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!tA(r)&&(Array.isArray(r)&&r.isCss||eQ(r)?t.push("".concat(tS(n),":"),r,";"):e2(r)?t.push.apply(t,es(es(["".concat(n," {")],tO(r),!1),["}"],!1)):t.push("".concat(tS(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in em||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function tk(e,t,n,r){return tA(e)?[]:eJ(e)?[".".concat(e.styledComponentId)]:eQ(e)?!eQ(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:tk(e(t),t,n,r):e instanceof t_?n?(e.inject(n,r),[e.getName(r)]):[e]:e2(e)?tO(e):Array.isArray(e)?Array.prototype.concat.apply(eO,e.map(function(e){return tk(e,t,n,r)})):[e.toString()]}function tx(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=e0(r,i),this.staticRulesId=i}}else{for(var s=eP(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=e0(r,p)}}return r},e}(),tN=ei.createContext(void 0);tN.Consumer;var tw={};function tR(e,t,n){var r,a,i,o,s=eJ(e),l=!eF(e),c=t.attrs,u=void 0===c?eO:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,tw[i="string"!=typeof r?"sc":eN(r)]=(tw[i]||0)+1,o="".concat(i,"-").concat(eL(eM(eT+i+tw[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?eF(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,g=t.displayName&&t.componentId?"".concat(eN(t.displayName),"-").concat(t.componentId):t.componentId||p,m=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new tC(n,g,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=ei.useContext(tN),p=tv(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=ek),t.theme!==r.theme&&t.theme||d||r.theme||ek),g=function(e,t,n){for(var r,a=eo(eo({},t),{className:void 0,theme:n}),i=0;i2&&tp.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=e1([r&&'nonce="'.concat(r,'"'),"".concat(ey,'="true"'),"".concat(ev,'="').concat(eT,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw e4(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw e4(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[ey]="",t[ev]=eT,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[ei.createElement("style",eo({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tp({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw e4(2);return ei.createElement(tT,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw e4(3)}}();var tF=n(57156),tB=n(2060),tj=n.t(tB,2),tU=function(){return(tU=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(EC=tH.createRoot)}catch(e){}function tz(e){var t=tH.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var tW="__rc_react_root__",tY=new Map;"undefined"!=typeof document&&tY.set("tooltip",document.createElement("div"));var tV=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=tY.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=tY.get(e.key);r?n=r:tY.set(e.key,n)}return!function(e,t){if(EC){var n;tz(!0),n=t[tW]||EC(t),tz(!1),n.render(e),t[tW]=n;return}t$(e,t)}(e,n),n},tZ=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
    ",t.appendChild(r),t.appendChild(n)},tq=function(e){var t=e.loadingTemplate,n=e.theme,r=ei.useRef(null);return ei.useEffect(function(){!t&&r.current&&tZ(r.current)},[]),ei.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||ei.createElement("div",{ref:r}))},tK=(Ex=function(e,t){return(Ex=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ex(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),tX=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||ei.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return tK(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):ei.createElement(ei.Fragment,null,this.props.children)},t}(ei.Component),tQ=function(){return(tQ=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},t0=n(13697);let t1="main-layer",t2="label-layer",t3="element",t4="view",t6="plot",t5="component",t8="label",t9="area";var t7=n(74747),ne=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let nt=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];nt.style=["fill"];let nn=nt.bind(void 0);nn.style=["stroke","lineWidth"];let nr=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];nr.style=["fill"];let na=nr.bind(void 0);na.style=["fill"];let ni=nr.bind(void 0);ni.style=["stroke","lineWidth"];let no=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};no.style=["fill"];let ns=no.bind(void 0);ns.style=["stroke","lineWidth"];let nl=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};nl.style=["fill"];let nc=nl.bind(void 0);nc.style=["stroke","lineWidth"];let nu=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};nu.style=["fill"];let nd=nu.bind(void 0);nd.style=["stroke","lineWidth"];let np=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};np.style=["fill"];let nf=np.bind(void 0);nf.style=["stroke","lineWidth"];let nh=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};nh.style=["fill"];let ng=nh.bind(void 0);ng.style=["stroke","lineWidth"];let nm=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];nm.style=["stroke","lineWidth"];let nb=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];nb.style=["stroke","lineWidth"];let ny=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];ny.style=["stroke","lineWidth"];let nE=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];nE.style=["stroke","lineWidth"];let nv=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];nv.style=["stroke","lineWidth"];let nT=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];nT.style=["stroke","lineWidth"];let n_=nT.bind(void 0);n_.style=["stroke","lineWidth"];let nS=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];nS.style=["stroke","lineWidth"];let nA=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];nA.style=["stroke","lineWidth"];let nO=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];nO.style=["stroke","lineWidth"];let nk=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];nk.style=["stroke","lineWidth"];let nx=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];nx.style=["stroke","lineWidth"];let nI=new Map([["bowtie",nh],["cross",nb],["dash",n_],["diamond",no],["dot",nT],["hexagon",np],["hollowBowtie",ng],["hollowDiamond",ns],["hollowHexagon",nf],["hollowPoint",nn],["hollowSquare",ni],["hollowTriangle",nc],["hollowTriangleDown",nd],["hv",nA],["hvh",nk],["hyphen",nv],["line",nm],["plus",nE],["point",nt],["rect",na],["smooth",nS],["square",nr],["tick",ny],["triangleDown",nu],["triangle",nl],["vh",nO],["vhv",nx]]),nC={};function nN(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),nI.set(n,t)}else Object.assign(nC,{[e]:t})}var nw=function(e,t){return(nw=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function nR(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}nw(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function nL(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function nD(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a=1?Math.ceil(n):1,this.dpr=n,this.$canvas&&(this.$canvas.width=this.dpr*e,this.$canvas.height=this.dpr*t,(0,nP.$p)(this.$canvas,e,t)),this.renderingContext.renderReasons.add(nP.Rr.CAMERA_CHANGED)},e.prototype.applyCursorStyle=function(e){this.$container&&this.$container.style&&(this.$container.style.cursor=e)},e.prototype.toDataURL=function(e){var t,n,r,a;return void 0===e&&(e={}),t=this,n=void 0,r=void 0,a=function(){var t,n;return function(e,t){var n,r,a,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(a=(a=i.trys).length>0&&a[a.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]=r.length)return n(a);let o=new nQ,s=r[i++],l=-1;for(let e of a){let t=s(e,++l,a),n=o.get(t);n?n.push(e):o.set(t,[e])}for(let[t,n]of o)o.set(t,e(n,i));return t(o)}(e,0)}var n8=n(60349),n9=n(23112);function n7(e){return e}function re(e){return e.reduce((e,t)=>(n,...r)=>t(e(n,...r),...r),n7)}function rt(e){return e.replace(/( |^)[a-z]/g,e=>e.toUpperCase())}function rn(e=""){throw Error(e)}function rr(e,t){let{attributes:n}=t,r=new Set(["id","className"]);for(let[t,a]of Object.entries(n))r.has(t)||e.attr(t,a)}function ra(e){return null!=e&&!Number.isNaN(e)}function ri(e,t){return ro(e,t)||{}}function ro(e,t){let n=Object.entries(e||{}).filter(([e])=>e.startsWith(t)).map(([e,n])=>[(0,n8.Z)(e.replace(t,"").trim()),n]).filter(([e])=>!!e);return 0===n.length?null:Object.fromEntries(n)}function rs(e,...t){return Object.fromEntries(Object.entries(e).filter(([e])=>t.every(t=>!e.startsWith(t))))}function rl(e,t){if(void 0===e)return null;if("number"==typeof e)return e;let n=+e.replace("%","");return Number.isNaN(n)?null:n/100*t}function rc(e){return"object"==typeof e&&!(e instanceof Date)&&null!==e&&!Array.isArray(e)}function ru(e){return null===e||!1===e}function rd(e){return new rp([e],null,e,e.ownerDocument)}class rp{constructor(e=null,t=null,n=null,r=null,a=[null,null,null,null,null],i=[],o=[]){this._elements=Array.from(e),this._data=t,this._parent=n,this._document=r,this._enter=a[0],this._update=a[1],this._exit=a[2],this._merge=a[3],this._split=a[4],this._transitions=i,this._facetElements=o}selectAll(e){let t="string"==typeof e?this._parent.querySelectorAll(e):e;return new rp(t,null,this._elements[0],this._document)}selectFacetAll(e){let t="string"==typeof e?this._parent.querySelectorAll(e):e;return new rp(this._elements,null,this._parent,this._document,void 0,void 0,t)}select(e){let t="string"==typeof e?this._parent.querySelectorAll(e)[0]||null:e;return new rp([t],null,t,this._document)}append(e){let t="function"==typeof e?e:()=>this.createElement(e),n=[];if(null!==this._data){for(let e=0;ee,n=()=>null){let r=[],a=[],i=new Set(this._elements),o=[],s=new Set,l=new Map(this._elements.map((e,n)=>[t(e.__data__,n),e])),c=new Map(this._facetElements.map((e,n)=>[t(e.__data__,n),e])),u=n2(this._elements,e=>n(e.__data__));for(let d=0;de,t=e=>e,n=e=>e.remove(),r=e=>e,a=e=>e.remove()){let i=e(this._enter),o=t(this._update),s=n(this._exit),l=r(this._merge),c=a(this._split);return o.merge(i).merge(s).merge(l).merge(c)}remove(){for(let e=0;ee.finished)).then(()=>{let t=this._elements[e];t.remove()})}else{let t=this._elements[e];t.remove()}}return new rp([],null,this._parent,this._document,void 0,this._transitions)}each(e){for(let t=0;tt:t;return this.each(function(r,a,i){void 0!==t&&(i[e]=n(r,a,i))})}style(e,t){let n="function"!=typeof t?()=>t:t;return this.each(function(r,a,i){void 0!==t&&(i.style[e]=n(r,a,i))})}transition(e){let t="function"!=typeof e?()=>e:e,{_transitions:n}=this;return this.each(function(e,r,a){n[r]=t(e,r,a)})}on(e,t){return this.each(function(n,r,a){a.addEventListener(e,t)}),this}call(e,...t){return e(this,...t),this}node(){return this._elements[0]}nodes(){return this._elements}transitions(){return this._transitions}parent(){return this._parent}}rp.registry={g:t7.ZA,rect:t7.UL,circle:t7.Cd,path:t7.y$,text:t7.xv,ellipse:t7.Pj,image:t7.Ee,line:t7.x1,polygon:t7.mg,polyline:t7.aH,html:t7.k9};let rf={BEFORE_RENDER:"beforerender",AFTER_RENDER:"afterrender",BEFORE_PAINT:"beforepaint",AFTER_PAINT:"afterpaint",BEFORE_CHANGE_DATA:"beforechangedata",AFTER_CHANGE_DATA:"afterchangedata",BEFORE_CLEAR:"beforeclear",AFTER_CLEAR:"afterclear",BEFORE_DESTROY:"beforedestroy",AFTER_DESTROY:"afterdestroy",BEFORE_CHANGE_SIZE:"beforechangesize",AFTER_CHANGE_SIZE:"afterchangesize",POINTER_TAP:"pointertap",POINTER_DOWN:"pointerdown",POINTER_UP:"pointerup",POINTER_OVER:"pointerover",POINTER_OUT:"pointerout",POINTER_MOVE:"pointermove",POINTER_ENTER:"pointerenter",POINTER_LEAVE:"pointerleave",POINTER_UPOUTSIDE:"pointerupoutside",DRAG_START:"dragstart",DRAG:"drag",DRAG_END:"dragend",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"DROP",CLICK:"click",DBLCLICK:"dblclick"};var rh=n(23641),rg=n(71933);function rm(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}var rb=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ry(e){var t;if(!(t=rb.exec(e)))throw Error("invalid format: "+e);return new rE({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function rE(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function rv(e,t){var n=rm(e,t);if(!n)return e+"";var r=n[0],a=n[1];return a<0?"0."+Array(-a).join("0")+r:r.length>a+1?r.slice(0,a+1)+"."+r.slice(a+1):r+Array(a-r.length+2).join("0")}ry.prototype=rE.prototype,rE.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var rT={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>rv(100*e,t),r:rv,s:function(e,t){var n=rm(e,t);if(!n)return e+"";var r=n[0],a=n[1],i=a-(EN=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,o=r.length;return i===o?r:i>o?r+Array(i-o+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+Array(1-i).join("0")+rm(e,Math.max(0,t+i-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function r_(e){return e}var rS=Array.prototype.map,rA=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function rO(e,t){return Object.entries(e).reduce((n,[r,a])=>(n[r]=t(a,r,e),n),{})}function rk(e){return e.map((e,t)=>t)}function rx(e){return e[e.length-1]}function rI(e,t){let n=[[],[]];return e.forEach(e=>{n[t(e)?0:1].push(e)}),n}ER=(Ew=function(e){var t,n,r,a=void 0===e.grouping||void 0===e.thousands?r_:(t=rS.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var a=e.length,i=[],o=0,s=t[0],l=0;a>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(e.substring(a-=s,a+s)),!((l+=s+1)>r));)s=t[o=(o+1)%t.length];return i.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",s=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?r_:(r=rS.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return r[+e]})}),c=void 0===e.percent?"%":e.percent+"",u=void 0===e.minus?"−":e.minus+"",d=void 0===e.nan?"NaN":e.nan+"";function p(e){var t=(e=ry(e)).fill,n=e.align,r=e.sign,p=e.symbol,f=e.zero,h=e.width,g=e.comma,m=e.precision,b=e.trim,y=e.type;"n"===y?(g=!0,y="g"):rT[y]||(void 0===m&&(m=12),b=!0,y="g"),(f||"0"===t&&"="===n)&&(f=!0,t="0",n="=");var E="$"===p?i:"#"===p&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",v="$"===p?o:/[%p]/.test(y)?c:"",T=rT[y],_=/[defgprs%]/.test(y);function S(e){var i,o,c,p=E,S=v;if("c"===y)S=T(e)+S,e="";else{var A=(e=+e)<0||1/e<0;if(e=isNaN(e)?d:T(Math.abs(e),m),b&&(e=function(e){e:for(var t,n=e.length,r=1,a=-1;r0&&(a=0)}return a>0?e.slice(0,a)+e.slice(t+1):e}(e)),A&&0==+e&&"+"!==r&&(A=!1),p=(A?"("===r?r:u:"-"===r||"("===r?"":r)+p,S=("s"===y?rA[8+EN/3]:"")+S+(A&&"("===r?")":""),_){for(i=-1,o=e.length;++i(c=e.charCodeAt(i))||c>57){S=(46===c?s+e.slice(i+1):e.slice(i))+S,e=e.slice(0,i);break}}}g&&!f&&(e=a(e,1/0));var O=p.length+e.length+S.length,k=O>1)+p+e+S+k.slice(O);break;default:e=k+p+e+S}return l(e)}return m=void 0===m?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),S.toString=function(){return e+""},S}return{format:p,formatPrefix:function(e,t){var n,r=p(((e=ry(e)).type="f",e)),a=3*Math.max(-8,Math.min(8,Math.floor(((n=rm(Math.abs(n=t)))?n[1]:NaN)/3))),i=Math.pow(10,-a),o=rA[8+a/3];return function(e){return r(i*e)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,Ew.formatPrefix;var rC=n(96763);function rN(e,t){let n=0;if(void 0===t)for(let t of e)(t=+t)&&(n+=t);else{let r=-1;for(let a of e)(a=+t(a,++r,e))&&(n+=a)}return n}function rw(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n=t)&&(n=t);else{let r=-1;for(let a of e)null!=(a=t(a,++r,e))&&(n=a)&&(n=a)}return n}let rR=(e={})=>{var t,n;let r=Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e);return Object.assign(Object.assign({},r),(t=r.startAngle,n=r.endAngle,t%=2*Math.PI,n%=2*Math.PI,t<0&&(t=2*Math.PI+t),n<0&&(n=2*Math.PI+n),t>=n&&(n+=2*Math.PI),{startAngle:t,endAngle:n}))},rL=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=rR(e);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",t,n,r,a]]};rL.props={};let rD=(e={})=>Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e),rP=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=rD(e);return[["transpose"],["translate",.5,.5],["reflect"],["translate",-.5,-.5],...rL({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};function rM(e,t,n){return Math.max(t,Math.min(e,n))}function rF(e,t=10){return"number"!=typeof e?e:1e-15>Math.abs(e)?e:parseFloat(e.toFixed(t))}rP.props={};let rB=[["legendCategory",[[["color","discrete"],["opacity","discrete"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","constant"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","constant"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","discrete"]],[["color","discrete"],["opacity","discrete"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","discrete"]],[["color","discrete"],["opacity","constant"],["size","constant"]],[["color","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","constant"]],[["color","discrete"],["opacity","constant"],["shape","constant"]],[["color","constant"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","discrete"]],[["color","constant"],["opacity","discrete"],["size","constant"]],[["color","constant"],["opacity","constant"],["shape","discrete"]],[["color","constant"],["opacity","discrete"],["shape","constant"]],[["color","discrete"],["shape","discrete"]],[["color","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"]],[["color","discrete"],["opacity","constant"]],[["color","discrete"],["shape","constant"]],[["color","constant"],["shape","discrete"]],[["color","constant"],["size","constant"]],[["color","constant"],["opacity","discrete"]],[["color","discrete"]]]],["legendContinuousSize",[[["color","continuous"],["opacity","continuous"],["size","continuous"]],[["color","constant"],["opacity","continuous"],["size","continuous"]],[["color","continuous"],["size","continuous"]],[["color","constant"],["size","continuous"]],[["size","continuous"],["opacity","continuous"]],[["size","continuous"]]]],["legendContinuousBlockSize",[[["color","distribution"],["opacity","distribution"],["size","distribution"]],[["color","distribution"],["size","distribution"]]]],["legendContinuousBlock",[[["color","distribution"],["opacity","continuous"]],[["color","distribution"]]]],["legendContinuous",[[["color","continuous"],["opacity","continuous"]],[["color","continuous"]],[["opacity","continuous"]]]]];var rj=n(83111);function rU(e){let{transformations:t}=e.getOptions(),n=t.map(([e])=>e).filter(e=>"transpose"===e);return n.length%2!=0}function rH(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"polar"===e)}function rG(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"reflect"===e)&&t.some(([e])=>e.startsWith("transpose"))}function r$(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"helix"===e)}function rz(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"parallel"===e)}function rW(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"fisheye"===e)}function rY(e){return r$(e)||rH(e)}function rV(e){let{transformations:t}=e.getOptions(),[,,,n,r]=t.find(e=>"polar"===e[0]);return[+n,+r]}function rZ(e,t=!0){let{transformations:n}=e.getOptions(),[,r,a]=n.find(e=>"polar"===e[0]);return t?[180*+r/Math.PI,180*+a/Math.PI]:[r,a]}var rq=n(95533),rK=n(21494),rX=n(38754);function rQ(e,t){let n,r;if(void 0===t)for(let t of e)null!=t&&(void 0===n?t>=t&&(n=r=t):(n>t&&(n=t),r=i&&(n=r=i):(n>i&&(n=i),rt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function r1(e,t,n){return e.querySelector(t)?rd(e).select(t):rd(e).append(n)}function r2(e){return Array.isArray(e)?e.join(", "):`${e||""}`}function r3(e,t){let{flexDirection:n,justifyContent:r,alignItems:a}={display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"center"},i={top:["row","flex-start","center"],bottom:["row","flex-start","center"],left:["column","flex-start","center"],right:["column","flex-start","center"],center:["column","center","center"]};return e in i&&([n,r,a]=i[e]),Object.assign({display:"flex",flexDirection:n,justifyContent:r,alignItems:a},t)}class r4 extends rJ.A{get child(){var e;return null===(e=this.children)||void 0===e?void 0:e[0]}update(e){var t;this.attr(e);let{subOptions:n}=e;null===(t=this.child)||void 0===t||t.update(n)}}class r6 extends r4{update(e){var t;let{subOptions:n}=e;this.attr(e),null===(t=this.child)||void 0===t||t.update(n)}}function r5(e,t){var n;return null===(n=e.filter(e=>e.getOptions().name===t))||void 0===n?void 0:n[0]}function r8(e,t,n){let{bbox:r}=e,{position:a="top",size:i,length:o}=t,s=["top","bottom","center"].includes(a),[l,c]=s?[r.height,r.width]:[r.width,r.height],{defaultSize:u,defaultLength:d}=n.props,p=i||u||l,f=o||d||c,[h,g]=s?[f,p]:[p,f];return{orientation:s?"horizontal":"vertical",width:h,height:g,size:p,length:f}}function r9(e){let t=["arrow","crosshairs","grid","handle","handleLabel","indicator","label","line","tick","tip","title","trunc"],{style:n}=e,r=r0(e,["style"]),a={};return Object.entries(r).forEach(([e,n])=>{t.includes(e)?a[`show${(0,rg.Z)(e)}`]=n:a[e]=n}),Object.assign(Object.assign({},a),n)}var r7=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function ae(e,t){let{eulerAngles:n,origin:r}=t;r&&e.setOrigin(r),n&&e.rotate(n[0],n[1],n[2])}function at(e){let{innerWidth:t,innerHeight:n,depth:r}=e.getOptions();return[t,n,r]}function an(e,t,n,r,a,i,o,s){var l;(void 0!==n||void 0!==i)&&e.update(Object.assign(Object.assign({},n&&{tickCount:n}),i&&{tickMethod:i}));let c=function(e,t,n){if(e.getTicks)return e.getTicks();if(!n)return t;let[r,a]=rQ(t,e=>+e),{tickCount:i}=e.getOptions();return n(r,a,i)}(e,t,i),u=a?c.filter(a):c,d=e=>e instanceof Date?String(e):"object"==typeof e&&e?e:String(e),p=r||(null===(l=e.getFormatter)||void 0===l?void 0:l.call(e))||d,f=function(e,t){if(rH(t))return e=>e;let n=t.getOptions(),{innerWidth:r,innerHeight:a,insetTop:i,insetBottom:o,insetLeft:s,insetRight:l}=n,[c,u,d]="left"===e||"right"===e?[i,o,a]:[s,l,r],p=new rK.b({domain:[0,1],range:[c/d,1-u/d]});return e=>p.map(e)}(o,s),h=function(e,t){let{width:n,height:r}=t.getOptions();return a=>{if(!rW(t))return a;let i=t.map("bottom"===e?[a,1]:[0,a]);if("bottom"===e){let e=i[0],t=new rK.b({domain:[0,n],range:[0,1]});return t.map(e)}if("left"===e){let e=i[1],t=new rK.b({domain:[0,r],range:[0,1]});return t.map(e)}return a}}(o,s),g=e=>["top","bottom","center","outer"].includes(e),m=e=>["left","right"].includes(e);return rH(s)||rU(s)?u.map((t,n,r)=>{var a,i;let l=(null===(a=e.getBandWidth)||void 0===a?void 0:a.call(e,t))/2||0,c=f(e.map(t)+l),u=rG(s)&&"center"===o||rU(s)&&(null===(i=e.getTicks)||void 0===i?void 0:i.call(e))&&g(o)||rU(s)&&m(o);return{value:u?1-c:c,label:d(p(rF(t),n,r)),id:String(n)}}):u.map((t,n,r)=>{var a;let i=(null===(a=e.getBandWidth)||void 0===a?void 0:a.call(e,t))/2||0,s=h(f(e.map(t)+i)),l=m(o);return{value:l?1-s:s,label:d(p(rF(t),n,r)),id:String(n)}})}let ar=e=>t=>{let{labelFormatter:n,labelFilter:r=()=>!0}=t;return a=>{var i;let{scales:[o]}=a,s=(null===(i=o.getTicks)||void 0===i?void 0:i.call(o))||o.getOptions().domain,l="string"==typeof n?ER(n):n,c=Object.assign(Object.assign({},t),{labelFormatter:l,labelFilter:(e,t,n)=>r(s[t],t,s),scale:o});return e(c)(a)}},aa=ar(e=>{let{direction:t="left",important:n={},labelFormatter:r,order:a,orientation:i,actualPosition:o,position:s,size:l,style:c={},title:u,tickCount:d,tickFilter:p,tickMethod:f,transform:h,indexBBox:g}=e,m=r7(e,["direction","important","labelFormatter","order","orientation","actualPosition","position","size","style","title","tickCount","tickFilter","tickMethod","transform","indexBBox"]);return({scales:a,value:b,coordinate:y,theme:E})=>{var v;let{bbox:T}=b,[_]=a,{domain:S,xScale:A}=_.getOptions(),O=function(e,t,n,r,a,i){let o=function(e,t,n,r,a,i){let o=n.axis,s=["top","right","bottom","left"].includes(a)?n[`axis${rt(a)}`]:n.axisLinear,l=e.getOptions().name,c=n[`axis${(0,rg.Z)(l)}`]||{};return Object.assign({},o,s,c)}(e,0,n,0,a,0);return"center"===a?Object.assign(Object.assign(Object.assign(Object.assign({},o),{labelDirection:"right"===r?"negative":"positive"}),"center"===r?{labelTransform:"translate(50%,0)"}:null),{tickDirection:"right"===r?"negative":"positive",labelSpacing:"center"===r?0:4,titleSpacing:"vertical"===i||i===-Math.PI/2?10:0,tick:"center"!==r&&void 0}):o}(_,0,E,t,s,i),k=Object.assign(Object.assign(Object.assign({},O),c),m),x=function(e,t,n="xy"){let[r,a,i]=at(t);return"xy"===n?e.includes("bottom")||e.includes("top")?a:r:"xz"===n?e.includes("bottom")||e.includes("top")?i:r:e.includes("bottom")||e.includes("top")?a:i}(o||s,y,e.plane),I=function(e,t,n,r,a){let{x:i,y:o,width:s,height:l}=n;if("bottom"===e)return{startPos:[i,o],endPos:[i+s,o]};if("left"===e)return{startPos:[i+s,o+l],endPos:[i+s,o]};if("right"===e)return{startPos:[i,o+l],endPos:[i,o]};if("top"===e)return{startPos:[i,o+l],endPos:[i+s,o+l]};if("center"===e){if("vertical"===t)return{startPos:[i,o],endPos:[i,o+l]};if("horizontal"===t)return{startPos:[i,o],endPos:[i+s,o]};if("number"==typeof t){let[e,n]=r.getCenter(),[c,u]=rV(r),[d,p]=rZ(r),f=Math.min(s,l)/2,{insetLeft:h,insetTop:g}=r.getOptions(),m=c*f,b=u*f,[y,E]=[e+i-h,n+o-g],[v,T]=[Math.cos(t),Math.sin(t)],_=rH(r)&&a?(()=>{let{domain:e}=a.getOptions();return e.length})():3;return{startPos:[y+b*v,E+b*T],endPos:[y+m*v,E+m*T],gridClosed:1e-6>Math.abs(p-d-360),gridCenter:[y,E],gridControlAngles:Array(_).fill(0).map((e,t,n)=>(p-d)/_*t)}}}return{}}(s,i,T,y,A),C=function(e){let{depth:t}=e.getOptions();return t?{tickIsBillboard:!0,lineIsBillboard:!0,labelIsBillboard:!0,titleIsBillboard:!0,gridIsBillboard:!0}:{}}(y),N=an(_,S,d,r,p,f,s,y),w=g?N.map((e,t)=>{let n=g.get(t);return n&&n[0]===e.label?Object.assign(Object.assign({},e),{bbox:n[1]}):e}):N,R=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},k),{type:"linear",data:w,crossSize:l,titleText:r2(u),labelOverlap:function(e=[],t){if(e.length>0)return e;let{labelAutoRotate:n,labelAutoHide:r,labelAutoEllipsis:a,labelAutoWrap:i}=t,o=[],s=(e,t)=>{t&&o.push(Object.assign(Object.assign({},e),t))};return s({type:"rotate",optionalAngles:[0,15,30,45,60,90]},n),s({type:"ellipsis",minLength:20},a),s({type:"hide"},r),s({type:"wrap",wordWrapWidth:100,maxLines:3,recoveryWhenFail:!0},i),o}(h,k),grid:(v=k.grid,!(rH(y)&&rU(y)||rz(y))&&(void 0===v?!!_.getTicks:v)),gridLength:x,line:!0,indexBBox:g}),k.line?null:{lineOpacity:0}),I),C),n),L=R.labelOverlap.find(e=>"hide"===e.type);return L&&(R.crossSize=!1),new rq.R({className:"axis",style:r9(R)})}}),ai=ar(e=>{let{order:t,size:n,position:r,orientation:a,labelFormatter:i,tickFilter:o,tickCount:s,tickMethod:l,important:c={},style:u={},indexBBox:d,title:p,grid:f=!1}=e,h=r7(e,["order","size","position","orientation","labelFormatter","tickFilter","tickCount","tickMethod","important","style","indexBBox","title","grid"]);return({scales:[e],value:t,coordinate:n,theme:a})=>{let{bbox:u}=t,{domain:g}=e.getOptions(),m=an(e,g,s,i,o,l,r,n),b=d?m.map((e,t)=>{let n=d.get(t);return n&&n[0]===e.label?Object.assign(Object.assign({},e),{bbox:n[1]}):e}):m,[y,E]=rV(n),v=function(e,t,n,r,a){let{x:i,y:o,width:s,height:l}=t,c=[i+s/2,o+l/2],[u,d]=rZ(a),[p,f]=at(a),h={center:c,radius:Math.min(s,l)/2,startAngle:u,endAngle:d,gridLength:(r-n)*(Math.min(p,f)/2)};if("inner"===e){let{insetLeft:e,insetTop:t}=a.getOptions();return Object.assign(Object.assign({},h),{center:[c[0]-e,c[1]-t],labelAlign:"perpendicular",labelDirection:"positive",tickDirection:"positive",gridDirection:"negative"})}return Object.assign(Object.assign({},h),{labelAlign:"parallel",labelDirection:"negative",tickDirection:"negative",gridDirection:"positive"})}(r,u,y,E,n),{axis:T,axisArc:_={}}=a,S=r9((0,nX.Z)({},T,_,v,Object.assign(Object.assign({type:"arc",data:b,titleText:r2(p),grid:f},h),c)));return new rq.R({style:(0,rX.Z)(S,["transform"])})}});aa.props={defaultPosition:"center",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]},ai.props={defaultPosition:"outer",defaultOrientation:"vertical",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]};var ao=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let as=e=>{let{important:t={}}=e,n=ao(e,["important"]);return r=>{let{theme:a,coordinate:i,scales:o}=r;return aa(Object.assign(Object.assign(Object.assign({},n),function(e){let t=e%(2*Math.PI);return t===Math.PI/2?{titleTransform:"translate(0, 50%)"}:t>-Math.PI/2&&tMath.PI/2&&t<3*Math.PI/2?{titleTransform:"translate(-50%, 0)"}:{}}(e.orientation)),{important:Object.assign(Object.assign({},function(e,t,n,r){let{radar:a}=e,[i]=r,o=i.getOptions().name,[s,l]=rZ(n),{axisRadar:c={}}=t;return Object.assign(Object.assign({},c),{grid:"position"===o,gridConnect:"line",gridControlAngles:Array(a.count).fill(0).map((e,t)=>{let n=(l-s)/a.count;return n*t})})}(e,a,i,o)),t)}))(r)}};as.props=Object.assign(Object.assign({},aa.props),{defaultPosition:"center"});var al=n(84700),ac=n(90936),au=n(89669),ad=n(9719),ap=n(59343),af=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function ah(e){let{domain:t}=e.getOptions(),[n,r]=[t[0],rx(t)];return[n,r]}let ag=e=>{let{labelFormatter:t,layout:n,order:r,orientation:a,position:i,size:o,title:s,style:l,crossPadding:c,padding:u}=e,d=af(e,["labelFormatter","layout","order","orientation","position","size","title","style","crossPadding","padding"]);return({scales:r,value:a,theme:o,scale:c})=>{let{bbox:u}=a,{x:p,y:f,width:h,height:g}=u,m=r3(i,n),{legendContinuous:b={}}=o,y=r9(Object.assign({},b,Object.assign(Object.assign({titleText:r2(s),labelAlign:"value",labelFormatter:"string"==typeof t?e=>ER(t)(e.label):t},function(e,t,n,r,a,i){let o=r5(e,"color"),s=function(e,t,n){var r,a,i;let{size:o}=t,s=r8(e,t,n);return r=s,a=o,i=s.orientation,(r.size=a,"horizontal"===i||0===i)?r.height=a:r.width=a,r}(n,r,a);if(o instanceof au.M){let{range:e}=o.getOptions(),[t,n]=ah(o);return o instanceof ad.J||o instanceof ap.c?function(e,t,n,r,a){let i=t.thresholds;return Object.assign(Object.assign({},e),{color:a,data:[n,...i,r].map(e=>({value:e/r,label:String(e)}))})}(s,o,t,n,e):function(e,t,n){let r=t.thresholds,a=[-1/0,...r,1/0].map((e,t)=>({value:t,label:e}));return Object.assign(Object.assign({},e),{data:a,color:n,labelFilter:(e,t)=>t>0&&tvoid 0!==e).find(e=>!(e instanceof ac.s)));return Object.assign(Object.assign({},e),{domain:[d,p],data:l.getTicks().map(e=>({value:e})),color:Array(Math.floor(o)).fill(0).map((e,t)=>{let n=(u-c)/(o-1)*t+c,a=l.map(n)||s,i=r?r.map(n):1;return a.replace(/rgb[a]*\(([\d]{1,3}) *, *([\d]{1,3}) *, *([\d]{1,3})[\S\s]*\)/,(e,t,n,r)=>`rgba(${t}, ${n}, ${r}, ${i})`)})})}(s,o,l,c,t,i)}(r,c,a,e,ag,o)),l),d)),E=new r4({style:Object.assign(Object.assign({x:p,y:f,width:h,height:g},m),{subOptions:y})});return E.appendChild(new al.V({className:"legend-continuous",style:y})),E}};ag.props={defaultPosition:"top",defaultOrientation:"vertical",defaultOrder:1,defaultSize:60,defaultLength:200,defaultLegendSize:60,defaultPadding:[20,10],defaultCrossPadding:[12,12]};let am=e=>(...t)=>ag(Object.assign({},{block:!0},e))(...t);am.props=Object.assign(Object.assign({},ag.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let ab=e=>t=>{let{scales:n}=t,r=r5(n,"size");return ag(Object.assign({},{type:"size",data:r.getTicks().map((e,t)=>({value:e,label:String(e)}))},e))(t)};ab.props=Object.assign(Object.assign({},ag.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let ay=e=>ab(Object.assign({},{block:!0},e));ay.props=Object.assign(Object.assign({},ag.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var aE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let av=({static:e=!1}={})=>t=>{let{width:n,height:r,depth:a,paddingLeft:i,paddingRight:o,paddingTop:s,paddingBottom:l,padding:c,inset:u,insetLeft:d,insetTop:p,insetRight:f,insetBottom:h,margin:g,marginLeft:m,marginBottom:b,marginTop:y,marginRight:E,data:v,coordinate:T,theme:_,component:S,interaction:A,x:O,y:k,z:x,key:I,frame:C,labelTransform:N,parentKey:w,clip:R,viewStyle:L,title:D}=t,P=aE(t,["width","height","depth","paddingLeft","paddingRight","paddingTop","paddingBottom","padding","inset","insetLeft","insetTop","insetRight","insetBottom","margin","marginLeft","marginBottom","marginTop","marginRight","data","coordinate","theme","component","interaction","x","y","z","key","frame","labelTransform","parentKey","clip","viewStyle","title"]);return[Object.assign(Object.assign({type:"standardView",x:O,y:k,z:x,key:I,width:n,height:r,depth:a,padding:c,paddingLeft:i,paddingRight:o,paddingTop:s,inset:u,insetLeft:d,insetTop:p,insetRight:f,insetBottom:h,paddingBottom:l,theme:_,coordinate:T,component:S,interaction:A,frame:C,labelTransform:N,margin:g,marginLeft:m,marginBottom:b,marginTop:y,marginRight:E,parentKey:w,clip:R,style:L},!e&&{title:D}),{marks:[Object.assign(Object.assign(Object.assign({},P),{key:`${I}-0`,data:v}),e&&{title:D})]})]};av.props={};var aT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function a_(e){return(t,...n)=>(0,nX.Z)({},e(t,...n),t)}function aS(e){return(t,...n)=>(0,nX.Z)({},t,e(t,...n))}function aA(e,t){if(!e)return t;if(Array.isArray(e))return e;if(!(e instanceof Date)&&"object"==typeof e){let{value:n=t}=e,r=aT(e,["value"]);return Object.assign(Object.assign({},r),{value:n})}return e}var aO=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ak=()=>e=>{let{children:t}=e,n=aO(e,["children"]);if(!Array.isArray(t))return[];let{data:r,scale:a={},axis:i={},legend:o={},encode:s={},transform:l=[]}=n,c=aO(n,["data","scale","axis","legend","encode","transform"]),u=t.map(e=>{var{data:t,scale:n={},axis:c={},legend:u={},encode:d={},transform:p=[]}=e,f=aO(e,["data","scale","axis","legend","encode","transform"]);return Object.assign({data:aA(t,r),scale:(0,nX.Z)({},a,n),encode:(0,nX.Z)({},s,d),transform:[...l,...p],axis:!!c&&!!i&&(0,nX.Z)({},i,c),legend:!!u&&!!o&&(0,nX.Z)({},o,u)},f)});return[Object.assign(Object.assign({},c),{marks:u,type:"standardView"})]};function ax([e,t],[n,r]){return[e-n,t-r]}function aI([e,t],[n,r]){return Math.sqrt(Math.pow(e-n,2)+Math.pow(t-r,2))}function aC([e,t]){return Math.atan2(t,e)}function aN([e,t]){return aC([e,t])+Math.PI/2}function aw(e,t){let n=aC(e),r=aC(t);return no[e]),u=new rK.b({domain:[l,c],range:[0,100]}),d=e=>(0,nH.Z)(o[e])&&!Number.isNaN(o[e])?u.map(o[e]):0,p={between:t=>`${e[t]} ${d(t)}%`,start:t=>0===t?`${e[t]} ${d(t)}%`:`${e[t-1]} ${d(t)}%, ${e[t]} ${d(t)}%`,end:t=>t===e.length-1?`${e[t]} ${d(t)}%`:`${e[t]} ${d(t)}%, ${e[t+1]} ${d(t)}%`},f=s.sort((e,t)=>d(e)-d(t)).map(p[a]||p.between).join(",");return`linear-gradient(${"y"===r||!0===r?i?180:90:i?90:0}deg, ${f})`}function aF(e){let[t,n,r,a]=e;return[a,t,n,r]}function aB(e,t,n){let[r,a,,i]=rU(e)?aF(t):t,[o,s]=n,l=e.getCenter(),c=aN(ax(r,l)),u=aN(ax(a,l)),d=u===c&&o!==s?u+2*Math.PI:u;return{startAngle:c,endAngle:d-c>=0?d:2*Math.PI+d,innerRadius:aI(i,l),outerRadius:aI(r,l)}}function aj(e){let{colorAttribute:t,opacityAttribute:n=t}=e;return`${n}Opacity`}function aU(e,t){if(!rH(e))return"";let n=e.getCenter(),{transform:r}=t;return`translate(${n[0]}, ${n[1]}) ${r||""}`}function aH(e){if(1===e.length)return e[0];let[[t,n,r=0],[a,i,o=0]]=e;return[(t+a)/2,(n+i)/2,(r+o)/2]}function aG(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})}ak.props={};var a$=n(76168);let az=Math.PI,aW=2*az,aY=aW-1e-6;function aV(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function aZ(){return new aV}function aq(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function aK(e){return function(){return e}}function aX(e){this._context=e}function aQ(e){return new aX(e)}function aJ(e){return e[0]}function a0(e){return e[1]}function a1(e,t){var n=aK(!0),r=null,a=aQ,i=null;function o(o){var s,l,c,u=(o=aq(o)).length,d=!1;for(null==r&&(i=a(c=aZ())),s=0;s<=u;++s)!(s1e-6){if(Math.abs(u*s-l*c)>1e-6&&a){var p=n-i,f=r-o,h=s*s+l*l,g=Math.sqrt(h),m=Math.sqrt(d),b=a*Math.tan((az-Math.acos((h+d-(p*p+f*f))/(2*g*m)))/2),y=b/m,E=b/g;Math.abs(y-1)>1e-6&&(this._+="L"+(e+y*c)+","+(t+y*u)),this._+="A"+a+","+a+",0,0,"+ +(u*p>c*f)+","+(this._x1=e+E*s)+","+(this._y1=t+E*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t)}},arc:function(e,t,n,r,a,i){e=+e,t=+t,n=+n,i=!!i;var o=n*Math.cos(r),s=n*Math.sin(r),l=e+o,c=t+s,u=1^i,d=i?r-a:a-r;if(n<0)throw Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+l+","+c),n&&(d<0&&(d=d%aW+aW),d>aY?this._+="A"+n+","+n+",0,1,"+u+","+(e-o)+","+(t-s)+"A"+n+","+n+",0,1,"+u+","+(this._x1=l)+","+(this._y1=c):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=az)+","+u+","+(this._x1=e+n*Math.cos(a))+","+(this._y1=t+n*Math.sin(a))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},Array.prototype.slice,aX.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var a3=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let a4=a2(e=>{let t;let n=e.attributes,{className:r,class:a,transform:i,rotate:o,labelTransform:s,labelTransformOrigin:l,x:c,y:u,x0:d=c,y0:p=u,text:f,background:h,connector:g,startMarker:m,endMarker:b,coordCenter:y,innerHTML:E}=n,v=a3(n,["className","class","transform","rotate","labelTransform","labelTransformOrigin","x","y","x0","y0","text","background","connector","startMarker","endMarker","coordCenter","innerHTML"]);if(e.style.transform=`translate(${c}, ${u})`,[c,u,d,p].some(e=>!(0,nH.Z)(e))){e.children.forEach(e=>e.remove());return}let T=ri(v,"background"),{padding:_}=T,S=a3(T,["padding"]),A=ri(v,"connector"),{points:O=[]}=A,k=a3(A,["points"]);t=E?rd(e).maybeAppend("html","html",r).style("zIndex",0).style("innerHTML",E).call(aD,Object.assign({transform:s,transformOrigin:l},v)).node():rd(e).maybeAppend("text","text").style("zIndex",0).style("text",f).call(aD,Object.assign({textBaseline:"middle",transform:s,transformOrigin:l},v)).node();let x=rd(e).maybeAppend("background","rect").style("zIndex",-1).call(aD,function(e,t=[]){let[n=0,r=0,a=n,i=r]=t,o=e.parentNode,s=o.getEulerAngles();o.setEulerAngles(0);let{min:l,halfExtents:c}=e.getLocalBounds(),[u,d]=l,[p,f]=c;return o.setEulerAngles(s),{x:u-i,y:d-n,width:2*p+i+r,height:2*f+n+a}}(t,_)).call(aD,h?S:{}).node(),I=+da1()(e);if(!t[0]&&!t[1])return o([function(e){let{min:[t,n],max:[r,a]}=e.getLocalBounds(),i=0,o=0;return t>0&&(i=t),r<0&&(i=r),n>0&&(o=n),a<0&&(o=a),[i,o]}(e),t]);if(!n.length)return o([[0,0],t]);let[s,l]=n,c=[...l],u=[...s];if(l[0]!==s[0]){let e=a?-4:4;c[1]=l[1],i&&!a&&(c[0]=Math.max(s[0],l[0]-e),l[1]s[1]?u[1]=c[1]:(u[1]=s[1],u[0]=Math.max(u[0],c[0]-e))),!i&&a&&(c[0]=Math.min(s[0],l[0]-e),l[1]>s[1]?u[1]=c[1]:(u[1]=s[1],u[0]=Math.min(u[0],c[0]-e))),i&&a&&(c[0]=Math.min(s[0],l[0]-e),l[1]=t)&&(n=t,r=a);else for(let i of e)null!=(i=t(i,++a,e))&&(n=i)&&(n=i,r=a);return r}function a5(e,t,n,r){let a=t.length/2,i=t.slice(0,a),o=t.slice(a),s=a6(i,(e,t)=>Math.abs(e[1]-o[t][1]));s=Math.max(Math.min(s,a-2),1);let l=e=>[i[e][0],(i[e][1]+o[e][1])/2],c=l(s),u=l(s-1),d=l(s+1),p=aC(ax(d,u))/Math.PI*180;return{x:c[0],y:c[1],transform:`rotate(${p})`,textAlign:"center",textBaseline:"middle"}}function a8(e,t,n,r){let{bounds:a}=n,[[i,o],[s,l]]=a,c=s-i,u=l-o;return(e=>{let{x:t,y:r}=e,a=rl(n.x,c),s=rl(n.y,u);return Object.assign(Object.assign({},e),{x:(a||t)+i,y:(s||r)+o})})("left"===e?{x:0,y:u/2,textAlign:"start",textBaseline:"middle"}:"right"===e?{x:c,y:u/2,textAlign:"end",textBaseline:"middle"}:"top"===e?{x:c/2,y:0,textAlign:"center",textBaseline:"top"}:"bottom"===e?{x:c/2,y:u,textAlign:"center",textBaseline:"bottom"}:"top-left"===e?{x:0,y:0,textAlign:"start",textBaseline:"top"}:"top-right"===e?{x:c,y:0,textAlign:"end",textBaseline:"top"}:"bottom-left"===e?{x:0,y:u,textAlign:"start",textBaseline:"bottom"}:"bottom-right"===e?{x:c,y:u,textAlign:"end",textBaseline:"bottom"}:{x:c/2,y:u/2,textAlign:"center",textBaseline:"middle"})}function a9(e,t,n,r){let{y:a,y1:i,autoRotate:o,rotateToAlignArc:s}=n,l=r.getCenter(),c=aB(r,t,[a,i]),{innerRadius:u,outerRadius:d,startAngle:p,endAngle:f}=c,h="inside"===e?(p+f)/2:f,g=ie(h,o,s),m=(()=>{let[n,r]=t,[a,i]="inside"===e?a7(l,h,u+(d-u)*.5):aL(n,r);return{x:a,y:i}})();return Object.assign(Object.assign({},m),{textAlign:"inside"===e?"center":"start",textBaseline:"middle",rotate:g})}function a7(e,t,n){return[e[0]+Math.sin(t)*n,e[1]-Math.cos(t)*n]}function ie(e,t,n){return t?e/Math.PI*180+(n?0:0>Math.sin(e)?90:-90):0}function it(e,t,n,r){let{y:a,y1:i,autoRotate:o,rotateToAlignArc:s,radius:l=.5,offset:c=0}=n,u=aB(r,t,[a,i]),{startAngle:d,endAngle:p}=u,f=r.getCenter(),h=(d+p)/2,g=ie(h,o,s),{innerRadius:m,outerRadius:b}=u,[y,E]=a7(f,h,m+(b-m)*l+c);return Object.assign({x:y,y:E},{textAlign:"center",textBaseline:"middle",rotate:g})}function ir(e){return void 0===e?null:e}function ia(e,t,n,r){let{bounds:a}=n,[i]=a;return{x:ir(i[0]),y:ir(i[1])}}function ii(e,t,n,r){let{bounds:a}=n;if(1===a.length)return ia(e,t,n,r);let i=rG(r)?a9:rY(r)?it:a8;return i(e,t,n,r)}function io(e,t,n){let r=aB(n,e,[t.y,t.y1]),{innerRadius:a,outerRadius:i}=r;return a+(i-a)}function is(e,t,n){let r=aB(n,e,[t.y,t.y1]),{startAngle:a,endAngle:i}=r;return(a+i)/2}function il(e,t,n,r){let{autoRotate:a,rotateToAlignArc:i,offset:o=0,connector:s=!0,connectorLength:l=o,connectorLength2:c=0,connectorDistance:u=0}=n,d=r.getCenter(),p=is(t,n,r),f=Math.sin(p)>0?1:-1,h=ie(p,a,i),g={textAlign:f>0||rG(r)?"start":"end",textBaseline:"middle",rotate:h},m=io(t,n,r),b=m+(s?l:o),[[y,E],[v,T],[_,S]]=function(e,t,n,r,a){let[i,o]=a7(e,t,n),[s,l]=a7(e,t,r),c=Math.sin(t)>0?1:-1;return[[i,o],[s,l],[s+c*a,l]]}(d,p,m,b,s?c:0),A=s?+u*f:0,O=_+A;return Object.assign(Object.assign({x0:y,y0:E,x:_+A,y:S},g),{connector:s,connectorPoints:[[v-O,T-S],[_-O,S-S]]})}function ic(e,t,n,r){let{bounds:a}=n;if(1===a.length)return ia(e,t,n,r);let i=rG(r)?a9:rY(r)?il:a8;return i(e,t,n,r)}function iu(e,t){return et?1:e>=t?0:NaN}function id(e,...t){if("function"!=typeof e[Symbol.iterator])throw TypeError("values is not iterable");e=Array.from(e);let[n=iu]=t;if(1===n.length||t.length>1){var r;let a=Uint32Array.from(e,(e,t)=>t);return t.length>1?(t=t.map(t=>e.map(t)),a.sort((e,n)=>{for(let r of t){let t=iu(r[e],r[n]);if(t)return t}})):(n=e.map(n),a.sort((e,t)=>iu(n[e],n[t]))),r=e,Array.from(a,e=>r[e])}return e.sort(n)}function ip(e,t={}){let{labelHeight:n=14,height:r}=t,a=id(e,e=>e.y),i=a.length,o=Array(i);for(let e=0;e0;e--){let t=o[e],n=o[e-1];if(n.y1>t.y){s=!0,n.labels.push(...t.labels),o.splice(e,1),n.y1+=t.y1-t.y;let a=n.y1-n.y;n.y1=Math.max(Math.min(n.y1,r),a),n.y=n.y1-a}}}let l=0;for(let e of o){let{y:t,labels:r}=e,i=t-n;for(let e of r){let t=a[l++],r=i+n,o=r-e;t.connectorPoints[0][1]-=o,t.y=i+n,i+=n}}}function ih(e,t){let n=id(e,e=>e.y),{height:r,labelHeight:a=14}=t,i=Math.ceil(r/a);if(n.length<=i)return ip(n,t);let o=[];for(let e=0;et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let im=new WeakMap;function ib(e,t,n,r,a,i){if(!rY(r))return{};if(im.has(t))return im.get(t);let o=i.map(e=>(function(e,t,n){let{connectorLength:r,connectorLength2:a,connectorDistance:i}=t,o=ig(il("outside",e,t,n),[]),s=n.getCenter(),l=io(e,t,n),c=is(e,t,n),u=s[0]+(l+r+a+ +i)*(Math.sin(c)>0?1:-1),{x:d}=o,p=u-d;return o.x+=p,o.connectorPoints[0][0]-=p,o})(e,n,r)),{width:s,height:l}=r.getOptions(),c=o.filter(e=>e.xe.x>=s/2),d=Object.assign(Object.assign({},a),{height:l});return ih(c,d),ih(u,d),o.forEach((e,t)=>im.set(i[t],e)),im.get(t)}var iy=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function iE(e,t,n,r){if(!rY(r))return{};let{connectorLength:a,connectorLength2:i,connectorDistance:o}=n,s=iy(il("outside",t,n,r),[]),{x0:l,y0:c}=s,u=r.getCenter(),d=function(e){if(rY(e)){let[t,n]=e.getSize(),r=e.getOptions().transformations.find(e=>"polar"===e[0]);if(r)return Math.max(t,n)/2*r[4]}return 0}(r),p=aN([l-u[0],c-u[1]]),f=Math.sin(p)>0?1:-1,[h,g]=a7(u,p,d+a);return s.x=h+(i+o)*f,s.y=g,s}var iv=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let iT=(e,t)=>{let{coordinate:n,theme:r}=t,{render:a}=e;return(t,i,o,s)=>{let{text:l,x:c,y:u,transform:d="",transformOrigin:p,className:f=""}=i,h=iv(i,["text","x","y","transform","transformOrigin","className"]),g=function(e,t,n,r,a,i){let{position:o}=t,{render:s}=a,l=void 0!==o?o:rY(n)?"inside":rU(n)?"right":"top",c=s?"htmlLabel":"inside"===l?"innerLabel":"label",u=r[c],d=Object.assign({},u,t),p=V[aG(l)];if(!p)throw Error(`Unknown position: ${l}`);return Object.assign(Object.assign({},u),p(l,e,d,n,a,i))}(t,i,n,r,e,s),{rotate:m=0,transform:b=""}=g,y=iv(g,["rotate","transform"]);return rd(new a4).call(aD,y).style("text",`${l}`).style("className",`${f} g2-label`).style("innerHTML",a?a(l,i.datum,i.index):void 0).style("labelTransform",`${b} rotate(${+m}) ${d}`.trim()).style("labelTransformOrigin",p).style("coordCenter",n.getCenter()).call(aD,h).node()}};iT.props={defaultMarker:"point"};var i_=n(36683);function iS(e){let t=e,n=e;function r(e,t,r,a){for(null==r&&(r=0),null==a&&(a=e.length);r>>1;0>n(e[i],t)?r=i+1:a=i}return r}return 1===e.length&&(t=(t,n)=>e(t)-n,n=(t,n)=>iu(e(t),n)),{left:r,center:function(e,n,a,i){null==a&&(a=0),null==i&&(i=e.length);let o=r(e,n,a,i-1);return o>a&&t(e[o-1],n)>-t(e[o],n)?o-1:o},right:function(e,t,r,a){for(null==r&&(r=0),null==a&&(a=e.length);r>>1;n(e[i],t)>0?a=i:r=i+1}return r}}}let iA=iS(iu),iO=iA.right,ik=iA.left,ix=iS(function(e){return null===e?NaN:+e}).center;function iI(e){return!!e.getBandWidth}function iC(e,t,n){if(!iI(e))return e.invert(t);let{adjustedRange:r}=e,{domain:a}=e.getOptions(),i=e.getStep(),o=n?r:r.map(e=>e+i),s=ik(o,t),l=Math.min(a.length-1,Math.max(0,s+(n?-1:0)));return a[l]}function iN(e,t,n){if(!t)return e.getOptions().domain;if(!iI(e)){let r=id(t);if(!n)return r;let[a]=r,{range:i}=e.getOptions(),[o,s]=i,l=e.invert(e.map(a)+(o>s?-1:1)*n);return[a,l]}let{domain:r}=e.getOptions(),a=t[0],i=r.indexOf(a);if(n){let e=i+Math.round(r.length*n);return r.slice(i,e)}let o=t[t.length-1],s=r.indexOf(o);return r.slice(i,s+1)}function iw(e,t,n,r,a,i){let{x:o,y:s}=a,l=(e,t)=>{let[n,r]=i.invert(e);return[iC(o,n,t),iC(s,r,t)]},c=l([e,t],!0),u=l([n,r],!1),d=iN(o,[c[0],u[0]]),p=iN(s,[c[1],u[1]]);return[d,p]}function iR(e,t){let[n,r]=e;return[t.map(n),t.map(r)+(t.getStep?t.getStep():0)]}var iL=Math.abs,iD=Math.atan2,iP=Math.cos,iM=Math.max,iF=Math.min,iB=Math.sin,ij=Math.sqrt,iU=Math.PI,iH=iU/2,iG=2*iU;function i$(e){return e>=1?iH:e<=-1?-iH:Math.asin(e)}function iz(e){return e.innerRadius}function iW(e){return e.outerRadius}function iY(e){return e.startAngle}function iV(e){return e.endAngle}function iZ(e){return e&&e.padAngle}function iq(e,t,n,r,a,i,o){var s=e-n,l=t-r,c=(o?i:-i)/ij(s*s+l*l),u=c*l,d=-c*s,p=e+u,f=t+d,h=n+u,g=r+d,m=(p+h)/2,b=(f+g)/2,y=h-p,E=g-f,v=y*y+E*E,T=a-i,_=p*g-h*f,S=(E<0?-1:1)*ij(iM(0,T*T*v-_*_)),A=(_*E-y*S)/v,O=(-_*y-E*S)/v,k=(_*E+y*S)/v,x=(-_*y+E*S)/v,I=A-m,C=O-b,N=k-m,w=x-b;return I*I+C*C>N*N+w*w&&(A=k,O=x),{cx:A,cy:O,x01:-u,y01:-d,x11:A*(a/T-1),y11:O*(a/T-1)}}function iK(){var e=iz,t=iW,n=aK(0),r=null,a=iY,i=iV,o=iZ,s=null;function l(){var l,c,u=+e.apply(this,arguments),d=+t.apply(this,arguments),p=a.apply(this,arguments)-iH,f=i.apply(this,arguments)-iH,h=iL(f-p),g=f>p;if(s||(s=l=aZ()),d1e-12){if(h>iG-1e-12)s.moveTo(d*iP(p),d*iB(p)),s.arc(0,0,d,p,f,!g),u>1e-12&&(s.moveTo(u*iP(f),u*iB(f)),s.arc(0,0,u,f,p,g));else{var m,b,y=p,E=f,v=p,T=f,_=h,S=h,A=o.apply(this,arguments)/2,O=A>1e-12&&(r?+r.apply(this,arguments):ij(u*u+d*d)),k=iF(iL(d-u)/2,+n.apply(this,arguments)),x=k,I=k;if(O>1e-12){var C=i$(O/u*iB(A)),N=i$(O/d*iB(A));(_-=2*C)>1e-12?(C*=g?1:-1,v+=C,T-=C):(_=0,v=T=(p+f)/2),(S-=2*N)>1e-12?(N*=g?1:-1,y+=N,E-=N):(S=0,y=E=(p+f)/2)}var w=d*iP(y),R=d*iB(y),L=u*iP(T),D=u*iB(T);if(k>1e-12){var P,M=d*iP(E),F=d*iB(E),B=u*iP(v),j=u*iB(v);if(h1?0:U<-1?iU:Math.acos(U))/2),Y=ij(P[0]*P[0]+P[1]*P[1]);x=iF(k,(u-Y)/(W-1)),I=iF(k,(d-Y)/(W+1))}}S>1e-12?I>1e-12?(m=iq(B,j,w,R,d,I,g),b=iq(M,F,L,D,d,I,g),s.moveTo(m.cx+m.x01,m.cy+m.y01),I1e-12&&_>1e-12?x>1e-12?(m=iq(L,D,M,F,u,-x,g),b=iq(w,R,B,j,u,-x,g),s.lineTo(m.cx+m.x01,m.cy+m.y01),xt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function iQ(e,t,n,r,a={}){let{inset:i=0,radius:o=0,insetLeft:s=i,insetTop:l=i,insetRight:c=i,insetBottom:u=i,radiusBottomLeft:d=o,radiusBottomRight:p=o,radiusTopLeft:f=o,radiusTopRight:h=o,minWidth:g=-1/0,maxWidth:m=1/0,minHeight:b=-1/0}=a,y=iX(a,["inset","radius","insetLeft","insetTop","insetRight","insetBottom","radiusBottomLeft","radiusBottomRight","radiusTopLeft","radiusTopRight","minWidth","maxWidth","minHeight"]);if(!rH(r)&&!r$(r)){let n=!!rU(r),[a,,i]=n?aF(t):t,[o,E]=a,[v,T]=ax(i,a),_=(v>0?o:o+v)+s,S=(T>0?E:E+T)+l,A=Math.abs(v)-(s+c),O=Math.abs(T)-(l+u),k=n?rM(A,b,1/0):rM(A,g,m),x=n?rM(O,g,m):rM(O,b,1/0),I=n?_:_-(k-A)/2,C=n?S-(x-O)/2:S-(x-O);return rd(e.createElement("rect",{})).style("x",I).style("y",C).style("width",k).style("height",x).style("radius",[f,h,p,d]).call(aD,y).node()}let{y:E,y1:v}=n,T=r.getCenter(),_=aB(r,t,[E,v]),S=iK().cornerRadius(o).padAngle(i*Math.PI/180);return rd(e.createElement("path",{})).style("d",S(_)).style("transform",`translate(${T[0]}, ${T[1]})`).style("radius",o).style("inset",i).call(aD,y).node()}let iJ=(e,t)=>{let{colorAttribute:n,opacityAttribute:r="fill",first:a=!0,last:i=!0}=e,o=iX(e,["colorAttribute","opacityAttribute","first","last"]),{coordinate:s,document:l}=t;return(t,r,c)=>{let{color:u,radius:d=0}=c,p=iX(c,["color","radius"]),f=p.lineWidth||1,{stroke:h,radius:g=d,radiusTopLeft:m=g,radiusTopRight:b=g,radiusBottomRight:y=g,radiusBottomLeft:E=g,innerRadius:v=0,innerRadiusTopLeft:T=v,innerRadiusTopRight:_=v,innerRadiusBottomRight:S=v,innerRadiusBottomLeft:A=v,lineWidth:O="stroke"===n||h?f:0,inset:k=0,insetLeft:x=k,insetRight:I=k,insetBottom:C=k,insetTop:N=k,minWidth:w,maxWidth:R,minHeight:L}=o,D=iX(o,["stroke","radius","radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft","innerRadius","innerRadiusTopLeft","innerRadiusTopRight","innerRadiusBottomRight","innerRadiusBottomLeft","lineWidth","inset","insetLeft","insetRight","insetBottom","insetTop","minWidth","maxWidth","minHeight"]),{color:P=u,opacity:M}=r,F=[a?m:T,a?b:_,i?y:S,i?E:A],B=["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"];rU(s)&&B.push(B.shift());let j=Object.assign(Object.assign({radius:g},Object.fromEntries(B.map((e,t)=>[e,F[t]]))),{inset:k,insetLeft:x,insetRight:I,insetBottom:C,insetTop:N,minWidth:w,maxWidth:R,minHeight:L});return rd(iQ(l,t,r,s,j)).call(aD,p).style("fill","transparent").style(n,P).style(aj(e),M).style("lineWidth",O).style("stroke",void 0===h?P:h).call(aD,D).node()}};iJ.props={defaultEnterAnimation:"scaleInY",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let i0={visibility:"visible",opacity:1,fillOpacity:1,strokeOpacity:1};function i1(e,t,n,r){e.style[t]=n,r&&e.children.forEach(e=>i1(e,t,n,r))}function i2(e){i1(e,"visibility","hidden",!0)}function i3(e){i1(e,"visibility","visible",!0)}var i4=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function i6(e){return rd(e).selectAll(`.${t3}`).nodes().filter(e=>!e.__removed__)}function i5(e,t){return i8(e,t).flatMap(({container:e})=>i6(e))}function i8(e,t){return t.filter(t=>t!==e&&t.options.parentKey===e.options.key)}function i9(e){return rd(e).select(`.${t6}`).node()}function i7(e){if("g"===e.tagName)return e.getRenderBounds();let t=e.getGeometryBounds(),n=new t7.mN;return n.setFromTransformedAABB(t,e.getWorldTransform()),n}function oe(e,t){let{offsetX:n,offsetY:r}=t,a=i7(e),{min:[i,o],max:[s,l]}=a;return ns||rl?null:[n-i,r-o]}function ot(e,t){let{offsetX:n,offsetY:r}=t,[a,i,o,s]=function(e){let t=e.getRenderBounds(),{min:[n,r],max:[a,i]}=t;return[n,r,a,i]}(e);return[Math.min(o,Math.max(a,n))-a,Math.min(s,Math.max(i,r))-i]}function on(e){return e=>e.__data__.color}function or(e){return e=>e.__data__.x}function oa(e){let t=Array.isArray(e)?e:[e],n=new Map(t.flatMap(e=>{let t=Array.from(e.markState.keys());return t.map(t=>[oo(e.key,t.key),t.data])}));return e=>{let{index:t,markKey:r,viewKey:a}=e.__data__,i=n.get(oo(a,r));return i[t]}}function oi(e,t=(e,t)=>e,n=(e,t,n)=>e.setAttribute(t,n)){let r="__states__",a="__ordinal__",i=i=>{let{[r]:o=[],[a]:s={}}=i,l=o.reduce((t,n)=>Object.assign(Object.assign({},t),e[n]),s);if(0!==Object.keys(l).length){for(let[e,r]of Object.entries(l)){let a=function(e,t){var n;return null!==(n=e.style[t])&&void 0!==n?n:i0[t]}(i,e),o=t(r,i);n(i,e,o),e in s||(s[e]=a)}i[a]=s}},o=e=>{e[r]||(e[r]=[])};return{setState:(e,...t)=>{o(e),e[r]=[...t],i(e)},removeState:(e,...t)=>{for(let n of(o(e),t)){let t=e[r].indexOf(n);-1!==t&&e[r].splice(t,1)}i(e)},hasState:(e,t)=>(o(e),-1!==e[r].indexOf(t))}}function oo(e,t){return`${e},${t}`}function os(e,t){let n=Array.isArray(e)?e:[e],r=n.flatMap(e=>e.marks.map(t=>[oo(e.key,t.key),t.state])),a={};for(let e of t){let[t,n]=Array.isArray(e)?e:[e,{}];a[t]=r.reduce((e,r)=>{var a;let[i,o={}]=r,s=void 0===(a=o[t])||"object"==typeof a&&0===Object.keys(a).length?n:o[t];for(let[t,n]of Object.entries(s)){let r=e[t],a=(e,t,a,o)=>{let s=oo(o.__data__.viewKey,o.__data__.markKey);return i!==s?null==r?void 0:r(e,t,a,o):"function"!=typeof n?n:n(e,t,a,o)};e[t]=a}return e},{})}return a}function ol(e,t){let n=new Map(e.map((e,t)=>[e,t])),r=t?e.map(t):e;return(e,a)=>{if("function"!=typeof e)return e;let i=n.get(a),o=t?t(a):a;return e(o,i,r,a)}}function oc(e){var{link:t=!1,valueof:n=(e,t)=>e,coordinate:r}=e,a=i4(e,["link","valueof","coordinate"]);if(!t)return[()=>{},()=>{}];let i=e=>e.__data__.points,o=(e,t)=>{let[,n,r]=e,[a,,,i]=t;return[n,a,i,r]};return[e=>{var t;if(e.length<=1)return;let r=id(e,(e,t)=>{let{x:n}=e.__data__,{x:r}=t.__data__;return n-r});for(let e=1;en(e,l)),{fill:g=l.getAttribute("fill")}=h,m=i4(h,["fill"]),b=new t7.y$({className:"element-link",style:Object.assign({d:s.toString(),fill:g,zIndex:-2},m)});null===(t=l.link)||void 0===t||t.remove(),l.parentNode.appendChild(b),l.link=b}},e=>{var t;null===(t=e.link)||void 0===t||t.remove(),e.link=null}]}function ou(e,t,n){let r=t=>{let{transform:n}=e.style;return n?`${n} ${t}`:t};if(rH(n)){let{points:a}=e.__data__,[i,o]=rU(n)?aF(a):a,s=n.getCenter(),l=ax(i,s),c=ax(o,s),u=aC(l),d=aw(l,c),p=u+d/2,f=t*Math.cos(p),h=t*Math.sin(p);return r(`translate(${f}, ${h})`)}return r(rU(n)?`translate(${t}, 0)`:`translate(0, ${-t})`)}function od(e){var{document:t,background:n,scale:r,coordinate:a,valueof:i}=e,o=i4(e,["document","background","scale","coordinate","valueof"]);let s="element-background";if(!n)return[()=>{},()=>{}];let l=(e,t,n)=>{let r=e.invert(t),a=t+e.getBandWidth(r)/2,i=e.getStep(r)/2,o=i*n;return[a-i+o,a+i-o]},c=(e,t)=>{let{x:n}=r;if(!iI(n))return[0,1];let{__data__:a}=e,{x:i}=a,[o,s]=l(n,i,t);return[o,s]},u=(e,t)=>{let{y:n}=r;if(!iI(n))return[0,1];let{__data__:a}=e,{y:i}=a,[o,s]=l(n,i,t);return[o,s]},d=(e,n)=>{let{padding:r}=n,[i,o]=c(e,r),[s,l]=u(e,r),d=[[i,s],[o,s],[o,l],[i,l]].map(e=>a.map(e)),{__data__:p}=e,{y:f,y1:h}=p;return iQ(t,d,{y:f,y1:h},a,n)},p=(e,t)=>{let{transform:n="scale(1.2, 1.2)",transformOrigin:r="center center",stroke:a=""}=t,i=i4(t,["transform","transformOrigin","stroke"]),o=Object.assign({transform:n,transformOrigin:r,stroke:a},i),s=e.cloneNode(!0);for(let[e,t]of Object.entries(o))s.style[e]=t;return s},f=()=>{let{x:e,y:t}=r;return[e,t].some(iI)};return[e=>{e.background&&e.background.remove();let t=rO(o,t=>i(t,e)),{fill:n="#CCD6EC",fillOpacity:r=.3,zIndex:a=-2,padding:l=.001,lineWidth:c=0}=t,u=i4(t,["fill","fillOpacity","zIndex","padding","lineWidth"]),h=Object.assign(Object.assign({},u),{fill:n,fillOpacity:r,zIndex:a,padding:l,lineWidth:c}),g=f()?d:p,m=g(e,h);m.className=s,e.parentNode.parentNode.appendChild(m),e.background=m},e=>{var t;null===(t=e.background)||void 0===t||t.remove(),e.background=null},e=>e.className===s]}function op(e,t){let n=e.getRootNode().defaultView,r=n.getContextService().getDomElement();(null==r?void 0:r.style)&&(e.cursor=r.style.cursor,r.style.cursor=t)}function of(e,t,n){return e.find(e=>Object.entries(t).every(([t,r])=>n(e)[t]===r))}function oh(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function og(e,t=!1){let n=(0,i_.Z)(e,e=>!!e).map((e,t)=>[0===t?"M":"L",...e]);return t&&n.push(["Z"]),n}function om(e){return e.querySelectorAll(".element")}function ob(e,t){if(t(e))return e;let n=e.parent;for(;n&&!t(n);)n=n.parent;return n}function oy(e,t){let{__data__:n}=e,{markKey:r,index:a,seriesIndex:i}=n,{markState:o}=t,s=Array.from(o.keys()).find(e=>e.key===r);if(s)return i?i.map(e=>s.data[e]):s.data[a]}function oE(e,t,n,r=e=>!0){return a=>{if(!r(a))return;n.emit(`plot:${e}`,a);let{target:i}=a;if(!i)return;let{className:o}=i;if("plot"===o)return;let s=ob(i,e=>"element"===e.className),l=ob(i,e=>"component"===e.className),c=ob(i,e=>"label"===e.className),u=s||l||c;if(!u)return;let{className:d,markType:p}=u,f=Object.assign(Object.assign({},a),{nativeEvent:!0});"element"===d?(f.data={data:oy(u,t)},n.emit(`element:${e}`,f),n.emit(`${p}:${e}`,f)):"label"===d?(f.data={data:u.attributes.datum},n.emit(`label:${e}`,f),n.emit(`${o}:${e}`,f)):(n.emit(`component:${e}`,f),n.emit(`${o}:${e}`,f))}}function ov(){return(e,t,n)=>{let{container:r,view:a}=e,i=oE(rf.CLICK,a,n,e=>1===e.detail),o=oE(rf.DBLCLICK,a,n,e=>2===e.detail),s=oE(rf.POINTER_TAP,a,n),l=oE(rf.POINTER_DOWN,a,n),c=oE(rf.POINTER_UP,a,n),u=oE(rf.POINTER_OVER,a,n),d=oE(rf.POINTER_OUT,a,n),p=oE(rf.POINTER_MOVE,a,n),f=oE(rf.POINTER_ENTER,a,n),h=oE(rf.POINTER_LEAVE,a,n),g=oE(rf.POINTER_UPOUTSIDE,a,n),m=oE(rf.DRAG_START,a,n),b=oE(rf.DRAG,a,n),y=oE(rf.DRAG_END,a,n),E=oE(rf.DRAG_ENTER,a,n),v=oE(rf.DRAG_LEAVE,a,n),T=oE(rf.DRAG_OVER,a,n),_=oE(rf.DROP,a,n);return r.addEventListener("click",i),r.addEventListener("click",o),r.addEventListener("pointertap",s),r.addEventListener("pointerdown",l),r.addEventListener("pointerup",c),r.addEventListener("pointerover",u),r.addEventListener("pointerout",d),r.addEventListener("pointermove",p),r.addEventListener("pointerenter",f),r.addEventListener("pointerleave",h),r.addEventListener("pointerupoutside",g),r.addEventListener("dragstart",m),r.addEventListener("drag",b),r.addEventListener("dragend",y),r.addEventListener("dragenter",E),r.addEventListener("dragleave",v),r.addEventListener("dragover",T),r.addEventListener("drop",_),()=>{r.removeEventListener("click",i),r.removeEventListener("click",o),r.removeEventListener("pointertap",s),r.removeEventListener("pointerdown",l),r.removeEventListener("pointerup",c),r.removeEventListener("pointerover",u),r.removeEventListener("pointerout",d),r.removeEventListener("pointermove",p),r.removeEventListener("pointerenter",f),r.removeEventListener("pointerleave",h),r.removeEventListener("pointerupoutside",g),r.removeEventListener("dragstart",m),r.removeEventListener("drag",b),r.removeEventListener("dragend",y),r.removeEventListener("dragenter",E),r.removeEventListener("dragleave",v),r.removeEventListener("dragover",T),r.removeEventListener("drop",_)}}}ov.props={reapplyWhenUpdate:!0};var oT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function o_(e,t){let n=Object.assign(Object.assign({},{"component.axisRadar":as,"component.axisLinear":aa,"component.axisArc":ai,"component.legendContinuousBlock":am,"component.legendContinuousBlockSize":ay,"component.legendContinuousSize":ab,"interaction.event":ov,"composition.mark":av,"composition.view":ak,"shape.label.label":iT}),t),r=t=>{if("string"!=typeof t)return t;let r=`${e}.${t}`;return n[r]||rn(`Unknown Component: ${r}`)};return[(e,t)=>{let{type:n}=e,a=oT(e,["type"]);n||rn("Plot type is required!");let i=r(n);return null==i?void 0:i(a,t)},r]}function oS(e){let{canvas:t,group:n}=e;return(null==t?void 0:t.document)||(null==n?void 0:n.ownerDocument)||rn("Cannot find library document")}var oA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function oO(e,t){let{coordinate:n={},coordinates:r}=e,a=oA(e,["coordinate","coordinates"]);if(r)return e;let{type:i,transform:o=[]}=n,s=oA(n,["type","transform"]);if(!i)return Object.assign(Object.assign({},a),{coordinates:o});let[,l]=o_("coordinate",t),{transform:c=!1}=l(i).props||{};if(c)throw Error(`Unknown coordinate: ${i}.`);return Object.assign(Object.assign({},a),{coordinates:[Object.assign({type:i},s),...o]})}function ok(e,t){return e.filter(e=>e.type===t)}function ox(e){return ok(e,"polar").length>0}function oI(e){return ok(e,"transpose").length%2==1}function oC(e){return ok(e,"theta").length>0}function oN(e){return ok(e,"radial").length>0}var ow=n(63336);function oR(e){for(var t=e.length/6|0,n=Array(t),r=0;r>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?o8(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?o8(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=oK.exec(e))?new se(t[1],t[2],t[3],1):(t=oX.exec(e))?new se(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=oQ.exec(e))?o8(t[1],t[2],t[3],t[4]):(t=oJ.exec(e))?o8(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=o0.exec(e))?sa(t[1],t[2]/100,t[3]/100,1):(t=o1.exec(e))?sa(t[1],t[2]/100,t[3]/100,t[4]):o2.hasOwnProperty(e)?o5(o2[e]):"transparent"===e?new se(NaN,NaN,NaN,0):null}function o5(e){return new se(e>>16&255,e>>8&255,255&e,1)}function o8(e,t,n,r){return r<=0&&(e=t=n=NaN),new se(e,t,n,r)}function o9(e){return(e instanceof oW||(e=o6(e)),e)?(e=e.rgb(),new se(e.r,e.g,e.b,e.opacity)):new se}function o7(e,t,n,r){return 1==arguments.length?o9(e):new se(e,t,n,null==r?1:r)}function se(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function st(){return"#"+sr(this.r)+sr(this.g)+sr(this.b)}function sn(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function sr(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function sa(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new so(e,t,n,r)}function si(e){if(e instanceof so)return new so(e.h,e.s,e.l,e.opacity);if(e instanceof oW||(e=o6(e)),!e)return new so;if(e instanceof so)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),i=Math.max(t,n,r),o=NaN,s=i-a,l=(i+a)/2;return s?(o=t===i?(n-r)/s+(n0&&l<1?0:o,new so(o,s,l,e.opacity)}function so(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ss(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}function sl(e,t,n,r,a){var i=e*e,o=i*e;return((1-3*e+3*i-o)*t+(4-6*i+3*o)*n+(1+3*e+3*i-3*o)*r+o*a)/6}o$(oW,o6,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:o3,formatHex:o3,formatHsl:function(){return si(this).formatHsl()},formatRgb:o4,toString:o4}),o$(se,o7,oz(oW,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new se(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new se(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:st,formatHex:st,formatRgb:sn,toString:sn})),o$(so,function(e,t,n,r){return 1==arguments.length?si(e):new so(e,t,n,null==r?1:r)},oz(oW,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new so(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new so(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new se(ss(e>=240?e-240:e+120,a,r),ss(e,a,r),ss(e<120?e+240:e-120,a,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var sc=e=>()=>e;function su(e,t){return function(n){return e+n*t}}function sd(e,t){var n=t-e;return n?su(e,n):sc(isNaN(e)?t:e)}function sp(e){return function(t){var n,r,a=t.length,i=Array(a),o=Array(a),s=Array(a);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),a=e[r],i=e[r+1],o=r>0?e[r-1]:2*a-i,s=rsf(e[e.length-1]),sg=[,,,].concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(oR),sm=sh(sg),sb=[,,,].concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(oR),sy=sh(sb),sE=[,,,].concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(oR),sv=sh(sE),sT=[,,,].concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(oR),s_=sh(sT),sS=[,,,].concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(oR),sA=sh(sS),sO=[,,,].concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(oR),sk=sh(sO),sx=[,,,].concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(oR),sI=sh(sx),sC=[,,,].concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(oR),sN=sh(sC),sw=[,,,].concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(oR),sR=sh(sw),sL=[,,,].concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(oR),sD=sh(sL),sP=[,,,].concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(oR),sM=sh(sP),sF=[,,,].concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(oR),sB=sh(sF),sj=[,,,].concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(oR),sU=sh(sj),sH=[,,,].concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(oR),sG=sh(sH),s$=[,,,].concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(oR),sz=sh(s$),sW=[,,,].concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(oR),sY=sh(sW),sV=[,,,].concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(oR),sZ=sh(sV),sq=[,,,].concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(oR),sK=sh(sq),sX=[,,,].concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(oR),sQ=sh(sX),sJ=[,,,].concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(oR),s0=sh(sJ),s1=[,,,].concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(oR),s2=sh(s1),s3=[,,,].concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(oR),s4=sh(s3),s6=[,,,].concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(oR),s5=sh(s6),s8=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(oR),s9=sh(s8),s7=[,,,].concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(oR),le=sh(s7),lt=[,,,].concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(oR),ln=sh(lt),lr=[,,,].concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(oR),la=sh(lr);function li(e){return"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-(e=Math.max(0,Math.min(1,e)))*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-2710.57*e)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-67.37*e)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-2475.67*e)))))))+")"}let lo=Math.PI/180,ls=180/Math.PI;var ll=-1.78277*.29227-.1347134789;function lc(e,t,n,r){return 1==arguments.length?function(e){if(e instanceof lu)return new lu(e.h,e.s,e.l,e.opacity);e instanceof se||(e=o9(e));var t=e.r/255,n=e.g/255,r=e.b/255,a=(ll*r+-1.7884503806*t-3.5172982438*n)/(ll+-1.7884503806-3.5172982438),i=r-a,o=-((1.97294*(n-a)- -.29227*i)/.90649),s=Math.sqrt(o*o+i*i)/(1.97294*a*(1-a)),l=s?Math.atan2(o,i)*ls-120:NaN;return new lu(l<0?l+360:l,s,a,e.opacity)}(e):new lu(e,t,n,null==r?1:r)}function lu(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ld(e){return function t(n){function r(t,r){var a=e((t=lc(t)).h,(r=lc(r)).h),i=sd(t.s,r.s),o=sd(t.l,r.l),s=sd(t.opacity,r.opacity);return function(e){return t.h=a(e),t.s=i(e),t.l=o(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}o$(lu,lc,oz(oW,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new lu(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new lu(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*lo,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),a=Math.sin(e);return new se(255*(t+n*(-.14861*r+1.78277*a)),255*(t+n*(-.29227*r+-.90649*a)),255*(t+n*(1.97294*r)),this.opacity)}})),ld(function(e,t){var n=t-e;return n?su(e,n>180||n<-180?n-360*Math.round(n/360):n):sc(isNaN(e)?t:e)});var lp=ld(sd),lf=lp(lc(300,.5,0),lc(-240,.5,1)),lh=lp(lc(-100,.75,.35),lc(80,1.5,.8)),lg=lp(lc(260,.75,.35),lc(80,1.5,.8)),lm=lc();function lb(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return lm.h=360*e-100,lm.s=1.5-1.5*t,lm.l=.8-.9*t,lm+""}var ly=o7(),lE=Math.PI/3,lv=2*Math.PI/3;function lT(e){var t;return e=(.5-e)*Math.PI,ly.r=255*(t=Math.sin(e))*t,ly.g=255*(t=Math.sin(e+lE))*t,ly.b=255*(t=Math.sin(e+lv))*t,ly+""}function l_(e){return"rgb("+Math.max(0,Math.min(255,Math.round(34.61+(e=Math.max(0,Math.min(1,e)))*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+")"}function lS(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var lA=lS(oR("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),lO=lS(oR("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),lk=lS(oR("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),lx=lS(oR("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function lI(e,t){let n=Object.keys(e);for(let r of Object.values(t)){let{name:t}=r.getOptions();if(t in e){let a=n.filter(e=>e.startsWith(t)).map(e=>+(e.replace(t,"")||0)),i=rw(a)+1,o=`${t}${i}`;e[o]=r,r.getOptions().key=o}else e[t]=r}return e}function lC(e,t){let n,r;let[a]=o_("scale",t),{relations:i}=e,[o]=i&&Array.isArray(i)?[e=>{var t;n=e.map.bind(e),r=null===(t=e.invert)||void 0===t?void 0:t.bind(e);let a=i.filter(([e])=>"function"==typeof e),o=i.filter(([e])=>"function"!=typeof e),s=new Map(o);if(e.map=e=>{for(let[t,n]of a)if(t(e))return n;return s.has(e)?s.get(e):n(e)},!r)return e;let l=new Map(o.map(([e,t])=>[t,e])),c=new Map(a.map(([e,t])=>[t,e]));return e.invert=e=>c.has(e)?e:l.has(e)?l.get(e):r(e),e},e=>(null!==n&&(e.map=n),null!==r&&(e.invert=r),e)]:[n7,n7],s=a(e);return o(s)}function lN(e,t){let n=e.filter(({name:e,facet:n=!0})=>n&&e===t),r=n.flatMap(e=>e.domain),a=n.every(lw)?rQ(r):n.every(lR)?Array.from(new Set(r)):null;if(null!==a)for(let e of n)e.domain=a}function lw(e){let{type:t}=e;return"string"==typeof t&&["linear","log","pow","time"].includes(t)}function lR(e){let{type:t}=e;return"string"==typeof t&&["band","point","ordinal"].includes(t)}function lL(e,t,n,r,a){let[i]=o_("palette",a),{category10:o,category20:s}=r,l=Array.from(new Set(n)).length<=o.length?o:s,{palette:c=l,offset:u}=t;if(Array.isArray(c))return c;try{return i({type:c})}catch(t){let e=function(e,t,n=e=>e){if(!e)return null;let r=(0,rg.Z)(e),a=Z[`scheme${r}`],i=Z[`interpolate${r}`];if(!a&&!i)return null;if(a){if(!a.some(Array.isArray))return a;let e=a[t.length];if(e)return e}return t.map((e,r)=>i(n(r/t.length)))}(c,n,u);if(e)return e;throw Error(`Unknown Component: ${c} `)}}function lD(e,t){return t||(e.startsWith("x")||e.startsWith("y")||e.startsWith("position")||e.startsWith("size")?"point":"ordinal")}function lP(e,t,n){return n||("color"!==e?"linear":t?"linear":"sequential")}function lM(e,t){if(0===e.length)return e;let{domainMin:n,domainMax:r}=t,[a,i]=e;return[null!=n?n:a,null!=r?r:i]}function lF(e){return lj(e,e=>{let t=typeof e;return"string"===t||"boolean"===t})}function lB(e){return lj(e,e=>e instanceof Date)}function lj(e,t){for(let n of e)if(n.some(t))return!0;return!1}let lU={linear:"linear",identity:"identity",log:"log",pow:"pow",sqrt:"sqrt",sequential:"sequential"},lH={threshold:"threshold",quantize:"quantize",quantile:"quantile"},lG={ordinal:"ordinal",band:"band",point:"point"},l$={constant:"constant"};var lz=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function lW(e,t,n,r,a){let[i]=o_("component",r),{scaleInstances:o,scale:s,bbox:l}=e,c=lz(e,["scaleInstances","scale","bbox"]),u=i(c);return u({coordinate:t,library:r,markState:a,scales:o,theme:n,value:{bbox:l,library:r},scale:s})}function lY(e,t){let n=["left","right","bottom","top"],r=n3(e,({type:e,position:t,group:r})=>n.includes(t)?void 0===r?e.startsWith("legend")?`legend-${t}`:Symbol("independent"):"independent"===r?Symbol("independent"):r:Symbol("independent"));return r.flatMap(([,e])=>{if(1===e.length)return e[0];if(void 0!==t){let n=e.filter(e=>void 0!==e.length).map(e=>e.length),r=rN(n);if(r>t)return e.forEach(e=>e.group=Symbol("independent")),e;let a=e.length-n.length,i=(t-r)/a;e.forEach(e=>{void 0===e.length&&(e.length=i)})}let n=rw(e,e=>e.size),r=rw(e,e=>e.order),a=rw(e,e=>e.crossPadding),i=e[0].position;return{type:"group",size:n,order:r,position:i,children:e,crossPadding:a}})}function lV(e){let t=ok(e,"polar");if(t.length){let e=t[t.length-1],{startAngle:n,endAngle:r}=rR(e);return[n,r]}let n=ok(e,"radial");if(n.length){let e=n[n.length-1],{startAngle:t,endAngle:r}=rD(e);return[t,r]}return[-Math.PI/2,Math.PI/2*3]}function lZ(e,t,n,r,a,i){let{type:o}=e;if(["left","right","bottom","top"].includes(r)&&"string"==typeof o)return(o.startsWith("axis")?lJ:o.startsWith("group")?lq:o.startsWith("legendContinuous")?l0:"legendCategory"===o?l1:o.startsWith("slider")?lQ:"title"===o?lX:o.startsWith("scrollbar")?lK:()=>{})(e,t,n,r,a,i)}function lq(e,t,n,r,a,i){let{children:o}=e,s=rw(o,e=>e.crossPadding);o.forEach(e=>e.crossPadding=s),o.forEach(e=>lZ(e,t,n,r,a,i));let l=rw(o,e=>e.size);e.size=l,o.forEach(e=>e.size=l)}function lK(e,t,n,r,a,i){let{trackSize:o=6}=(0,nX.Z)({},a.scrollbar,e);e.size=o}function lX(e,t,n,r,a,i){let o=(0,nX.Z)({},a.title,e),{title:s,subtitle:l,spacing:c=0}=o,u=lz(o,["title","subtitle","spacing"]);if(s){let t=ri(u,"title"),n=l8(s,t);e.size=n.height}if(l){let t=ri(u,"subtitle"),n=l8(l,t);e.size+=c+n.height}}function lQ(e,t,n,r,a,i){let{trackSize:o,handleIconSize:s}=(()=>{let{slider:t}=a;return(0,nX.Z)({},t,e)})();e.size=Math.max(o,2.4*s)}function lJ(e,t,n,r,a,i){var o;e.transform=e.transform||[{type:"hide"}];let s="left"===r||"right"===r,l=l6(e,r,a),{tickLength:c=0,labelSpacing:u=0,titleSpacing:d=0,labelAutoRotate:p}=l,f=lz(l,["tickLength","labelSpacing","titleSpacing","labelAutoRotate"]),h=l2(e,i),g=l3(f,h),m=c+u;if(g&&g.length){let r=rw(g,e=>e.width),a=rw(g,e=>e.height);if(s)e.size=r+m;else{let{tickFilter:i,labelTransform:s}=e;(function(e,t,n,r,a){let i=rN(t,e=>e.width);if(i>n)return!0;let o=e.clone();o.update({range:[0,n]});let s=l5(e,a),l=s.map(e=>o.map(e)+function(e,t){if(!e.getBandWidth)return 0;let n=e.getBandWidth(t)/2;return n}(o,e)),c=s.map((e,t)=>t),u=-r[0],d=n+r[1],p=(e,t)=>{let{width:n}=t;return[e-n/2,e+n/2]};for(let e=0;ed)return!0;let i=l[e+1];if(i){let[n]=p(i,t[e+1]);if(a>n)return!0}}return!1})(h,g,t,n,i)&&!s&&!1!==p&&null!==p?(e.labelTransform="rotate(90)",e.size=r+m):(e.labelTransform=null!==(o=e.labelTransform)&&void 0!==o?o:"rotate(0)",e.size=a+m)}}else e.size=c;let b=l4(f);b&&(s?e.size+=d+b.width:e.size+=d+b.height)}function l0(e,t,n,r,a,i){let o=(()=>{let{legendContinuous:t}=a;return(0,nX.Z)({},t,e)})(),{labelSpacing:s=0,titleSpacing:l=0}=o,c=lz(o,["labelSpacing","titleSpacing"]),u="left"===r||"right"===r,d=ri(c,"ribbon"),{size:p}=d,f=ri(c,"handleIcon"),{size:h}=f;e.size=Math.max(p,2.4*h);let g=l2(e,i),m=l3(c,g);if(m){let t=u?"width":"height",n=rw(m,e=>e[t]);e.size+=n+s}let b=l4(c);b&&(u?e.size=Math.max(e.size,b.width):e.size+=l+b.height)}function l1(e,t,n,r,a,i){let o=(()=>{let{legendCategory:t}=a,{title:n}=e,[r,i]=Array.isArray(n)?[n,void 0]:[void 0,n];return(0,nX.Z)({title:r},t,Object.assign(Object.assign({},e),{title:i}))})(),{itemSpacing:s,itemMarkerSize:l,titleSpacing:c,rowPadding:u,colPadding:d,maxCols:p=1/0,maxRows:f=1/0}=o,h=lz(o,["itemSpacing","itemMarkerSize","titleSpacing","rowPadding","colPadding","maxCols","maxRows"]),{cols:g,length:m}=e,b=e=>Math.min(e,f),y=e=>Math.min(e,p),E="left"===r||"right"===r,v=void 0===m?t+(E?0:n[0]+n[1]):m,T=l4(h),_=l2(e,i),S=l3(h,_,"itemLabel"),A=Math.max(S[0].height,l)+u,O=(e,t=0)=>l+e+s[0]+t;E?(()=>{let t=-1/0,n=0,r=1,a=0,i=-1/0,o=-1/0,s=T?T.height:0,l=v-s;for(let{width:e}of S){let s=O(e,d);t=Math.max(t,s),n+A>l?(r++,i=Math.max(i,a),o=Math.max(o,n),a=1,n=A):(n+=A,a++)}r<=1&&(i=a,o=n),e.size=t*y(r),e.length=o+s,(0,nX.Z)(e,{cols:y(r),gridRow:i})})():"number"==typeof g?(()=>{let t=Math.ceil(S.length/g),n=rw(S,e=>O(e.width))*g;e.size=A*b(t)-u,e.length=Math.min(n,v)})():(()=>{let t=1,n=0,r=-1/0;for(let{width:e}of S){let a=O(e,d);n+a>v?(r=Math.max(r,n),n=a,t++):n+=a}1===t&&(r=n),e.size=A*b(t)-u,e.length=r})(),T&&(E?e.size=Math.max(e.size,T.width):e.size+=c+T.height)}function l2(e,t){let[n]=o_("scale",t),{scales:r,tickCount:a,tickMethod:i}=e,o=r.find(e=>"constant"!==e.type&&"identity"!==e.type);return void 0!==a&&(o.tickCount=a),void 0!==i&&(o.tickMethod=i),n(o)}function l3(e,t,n="label"){let{labelFormatter:r,tickFilter:a,label:i=!0}=e,o=lz(e,["labelFormatter","tickFilter","label"]);if(!i)return null;let s=function(e,t,n){let r=l5(e,n),a=r.map(e=>"number"==typeof e?rF(e):e),i=t?"string"==typeof t?ER(t):t:e.getFormatter?e.getFormatter():e=>`${e}`;return a.map(i)}(t,r,a),l=ri(o,n),c=s.map((e,t)=>Object.fromEntries(Object.entries(l).map(([n,r])=>[n,"function"==typeof r?r(e,t):r]))),u=s.map((e,t)=>{let n=c[t];return l8(e,n)}),d=c.some(e=>e.transform);if(!d){let t=s.map((e,t)=>t);e.indexBBox=new Map(t.map(e=>[e,[s[e],u[e]]]))}return u}function l4(e){let{title:t}=e,n=lz(e,["title"]);if(!1===t||null==t)return null;let r=ri(n,"title"),{direction:a,transform:i}=r,o=Array.isArray(t)?t.join(","):t;if("string"!=typeof o)return null;let s=l8(o,Object.assign(Object.assign({},r),{transform:i||("vertical"===a?"rotate(-90)":"")}));return s}function l6(e,t,n){let{title:r}=e,[a,i]=Array.isArray(r)?[r,void 0]:[void 0,r],{axis:o,[`axis${rt(t)}`]:s}=n;return(0,nX.Z)({title:a},o,s,Object.assign(Object.assign({},e),{title:i}))}function l5(e,t){let n=e.getTicks?e.getTicks():e.getOptions().domain;return t?n.filter(t):n}function l8(e,t){let n=e instanceof t7.s$?e:new t7.xv({style:{text:`${e}`}}),{filter:r}=t,a=lz(t,["filter"]);n.attr(Object.assign(Object.assign({},a),{visibility:"none"}));let i=n.getBBox();return i}function l9(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let a of e)null!=(a=t(a,++r,e))&&(n>a||void 0===n&&a>=a)&&(n=a)}return n}function l7(e,t,n,r,a,i,o){let s=n2(e,e=>e.position),{padding:l=i.padding,paddingLeft:c=l,paddingRight:u=l,paddingBottom:d=l,paddingTop:p=l}=a,f={paddingBottom:d,paddingLeft:c,paddingTop:p,paddingRight:u};for(let e of r){let r=`padding${rt(aG(e))}`,a=s.get(e)||[],l=f[r],c=e=>{void 0===e.size&&(e.size=e.defaultSize)},u=e=>{"group"===e.type?(e.children.forEach(c),e.size=rw(e.children,e=>e.size)):e.size=e.defaultSize},d=r=>{r.size||("auto"!==l?u(r):(lZ(r,t,n,e,i,o),c(r)))},p=e=>{e.type.startsWith("axis")&&void 0===e.labelAutoHide&&(e.labelAutoHide=!0)},h="bottom"===e||"top"===e,g=l9(a,e=>e.order),m=a.filter(e=>e.type.startsWith("axis")&&e.order==g);if(m.length&&(m[0].crossPadding=0),"number"==typeof l)a.forEach(c),a.forEach(p);else if(0===a.length)f[r]=0;else{let e=h?t+n[0]+n[1]:t,i=lY(a,e);i.forEach(d);let o=i.reduce((e,{size:t,crossPadding:n=12})=>e+t+n,0);f[r]=o}}return f}function ce({width:e,height:t,paddingLeft:n,paddingRight:r,paddingTop:a,paddingBottom:i,marginLeft:o,marginTop:s,marginBottom:l,marginRight:c,innerHeight:u,innerWidth:d,insetBottom:p,insetLeft:f,insetRight:h,insetTop:g}){let m=n+o,b=a+s,y=r+c,E=i+l,v=e-o-c,T=[m+f,b+g,d-f-h,u-g-p,"center",null,null];return{top:[m,0,d,b,"vertical",!0,iu,o,v],right:[e-y,b,y,u,"horizontal",!1,iu],bottom:[m,t-E,d,E,"vertical",!1,iu,o,v],left:[0,b,m,u,"horizontal",!0,iu],"top-left":[m,0,d,b,"vertical",!0,iu],"top-right":[m,0,d,b,"vertical",!0,iu],"bottom-left":[m,t-E,d,E,"vertical",!1,iu],"bottom-right":[m,t-E,d,E,"vertical",!1,iu],center:T,inner:T,outer:T}}function ct(e,t,n={},r=!1){if(ru(e)||Array.isArray(e)&&r)return e;let a=ri(e,t);return(0,nX.Z)(n,a)}function cn(e,t={}){return ru(e)||Array.isArray(e)||!cr(e)?e:(0,nX.Z)(t,e)}function cr(e){if(0===Object.keys(e).length)return!0;let{title:t,items:n}=e;return void 0!==t||void 0!==n}function ca(e,t){return"object"==typeof e?ri(e,t):e}var ci=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function co(e,t,n){let{encode:r={},scale:a={},transform:i=[]}=t,o=ci(t,["encode","scale","transform"]);return[e,Object.assign(Object.assign({},o),{encode:r,scale:a,transform:i})]}function cs(e,t,n){var r,a,i,o;return r=this,a=void 0,i=void 0,o=function*(){let{library:e}=n,{data:r}=t,[a]=o_("data",e),i=function(e){if((0,nH.Z)(e))return{type:"inline",value:e};if(!e)return{type:"inline",value:null};if(Array.isArray(e))return{type:"inline",value:e};let{type:t="inline"}=e,n=ci(e,["type"]);return Object.assign(Object.assign({},n),{type:t})}(r),{transform:o=[]}=i,s=ci(i,["transform"]),l=[s,...o],c=l.map(e=>a(e,n)),u=yield(function(e){return e.reduce((e,t)=>n=>{var r,a,i,o;return r=this,a=void 0,i=void 0,o=function*(){let r=yield e(n);return t(r)},new(i||(i=Promise))(function(e,t){function n(e){try{l(o.next(e))}catch(e){t(e)}}function s(e){try{l(o.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(n,s)}l((o=o.apply(r,a||[])).next())})},n7)})(c)(r),d=!r||Array.isArray(r)||Array.isArray(u)?u:{value:u};return[Array.isArray(u)?rk(u):[],Object.assign(Object.assign({},t),{data:d})]},new(i||(i=Promise))(function(e,t){function n(e){try{l(o.next(e))}catch(e){t(e)}}function s(e){try{l(o.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(n,s)}l((o=o.apply(r,a||[])).next())})}function cl(e,t,n){let{encode:r}=t;if(!r)return[e,t];let a={};for(let[e,t]of Object.entries(r))if(Array.isArray(t))for(let n=0;n{if(function(e){if("object"!=typeof e||e instanceof Date||null===e)return!1;let{type:t}=e;return ra(t)}(e))return e;let t="function"==typeof e?"transform":"string"==typeof e&&Array.isArray(a)&&a.some(t=>void 0!==t[e])?"field":"constant";return{type:t,value:e}});return[e,Object.assign(Object.assign({},t),{encode:i})]}function cu(e,t,n){let{encode:r}=t;if(!r)return[e,t];let a=rO(r,(e,t)=>{var n;let{type:r}=e;return"constant"!==r||(n=t).startsWith("x")||n.startsWith("y")||n.startsWith("position")||"enterDelay"===n||"enterDuration"===n||"updateDelay"===n||"updateDuration"===n||"exitDelay"===n||"exitDuration"===n?e:Object.assign(Object.assign({},e),{constant:!0})});return[e,Object.assign(Object.assign({},t),{encode:a})]}function cd(e,t,n){let{encode:r,data:a}=t;if(!r)return[e,t];let{library:i}=n,o=function(e){let[t]=o_("encode",e);return(e,n)=>void 0===n||void 0===e?null:Object.assign(Object.assign({},n),{type:"column",value:t(n)(e),field:function(e){let{type:t,value:n}=e;return"field"===t&&"string"==typeof n?n:null}(n)})}(i),s=rO(r,e=>o(a,e));return[e,Object.assign(Object.assign({},t),{encode:s})]}function cp(e,t,n){let{tooltip:r={}}=t;return ru(r)?[e,t]:Array.isArray(r)?[e,Object.assign(Object.assign({},t),{tooltip:{items:r}})]:rc(r)&&cr(r)?[e,Object.assign(Object.assign({},t),{tooltip:r})]:[e,Object.assign(Object.assign({},t),{tooltip:{items:[r]}})]}function cf(e,t,n){let{data:r,encode:a,tooltip:i={}}=t;if(ru(i))return[e,t];let o=t=>{if(!t)return t;if("string"==typeof t)return e.map(e=>({name:t,value:r[e][t]}));if(rc(t)){let{field:n,channel:i,color:o,name:s=n,valueFormatter:l=e=>e}=t,c="string"==typeof l?ER(l):l,u=i&&a[i],d=u&&a[i].field,p=s||d||i,f=[];for(let t of e){let e=n?r[t][n]:u?a[i].value[t]:null;f[t]={name:p,color:o,value:c(e)}}return f}if("function"==typeof t){let n=[];for(let i of e){let e=t(r[i],i,r,a);rc(e)?n[i]=e:n[i]={value:e}}return n}return t},{title:s,items:l=[]}=i,c=ci(i,["title","items"]),u=Object.assign({title:o(s),items:Array.isArray(l)?l.map(o):[]},c);return[e,Object.assign(Object.assign({},t),{tooltip:u})]}function ch(e,t,n){let{encode:r}=t,a=ci(t,["encode"]);if(!r)return[e,t];let i=Object.entries(r),o=i.filter(([,e])=>{let{value:t}=e;return Array.isArray(t[0])}).flatMap(([t,n])=>{let r=[[t,Array(e.length).fill(void 0)]],{value:a}=n,i=ci(n,["value"]);for(let n=0;n[e,Object.assign({type:"column",value:t},i)])}),s=Object.fromEntries([...i,...o]);return[e,Object.assign(Object.assign({},a),{encode:s})]}function cg(e,t,n){let{axis:r={},legend:a={},slider:i={},scrollbar:o={}}=t,s=(e,t)=>{if("boolean"==typeof e)return e?{}:null;let n=e[t];return void 0===n||n?n:null},l="object"==typeof r?Array.from(new Set(["x","y","z",...Object.keys(r)])):["x","y","z"];return(0,nX.Z)(t,{scale:Object.assign(Object.assign({},Object.fromEntries(l.map(e=>{let t=s(o,e);return[e,Object.assign({guide:s(r,e),slider:s(i,e),scrollbar:t},t&&{ratio:void 0===t.ratio?.5:t.ratio})]}))),{color:{guide:s(a,"color")},size:{guide:s(a,"size")},shape:{guide:s(a,"shape")},opacity:{guide:s(a,"opacity")}})}),[e,t]}function cm(e,t,n){let{animate:r}=t;return r||void 0===r||(0,nX.Z)(t,{animate:{enter:{type:null},exit:{type:null},update:{type:null}}}),[e,t]}var cb=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},cy=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},cE=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},cv=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function cT(e){e.style("transform",e=>`translate(${e.layout.x}, ${e.layout.y})`)}function c_(e,t){return cE(this,void 0,void 0,function*(){let{library:n}=t,r=yield function(e,t){return cE(this,void 0,void 0,function*(){let{library:n}=t,[r,a]=o_("mark",n),i=new Set(Object.keys(n).map(e=>{var t;return null===(t=/component\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(ra)),{marks:o}=e,s=[],l=[],c=[...o],{width:u,height:d}=function(e){let{height:t,width:n,padding:r=0,paddingLeft:a=r,paddingRight:i=r,paddingTop:o=r,paddingBottom:s=r,margin:l=16,marginLeft:c=l,marginRight:u=l,marginTop:d=l,marginBottom:p=l,inset:f=0,insetLeft:h=f,insetRight:g=f,insetTop:m=f,insetBottom:b=f}=e,y=e=>"auto"===e?20:e,E=n-y(a)-y(i)-c-u-h-g,v=t-y(o)-y(s)-d-p-m-b;return{width:E,height:v}}(e),p={options:e,width:u,height:d};for(;c.length;){let[e]=c.splice(0,1),n=yield cL(e,t),{type:o=rn("G2Mark type is required."),key:u}=n;if(i.has(o))l.push(n);else{let{props:e={}}=a(o),{composite:t=!0}=e;if(t){let{data:e}=n,t=Object.assign(Object.assign({},n),{data:e?Array.isArray(e)?e:e.value:e}),a=yield r(t,p),i=Array.isArray(a)?a:[a];c.unshift(...i.map((e,t)=>Object.assign(Object.assign({},e),{key:`${u}-${t}`})))}else s.push(n)}}return Object.assign(Object.assign({},e),{marks:s,components:l})})}(e,t),a=function(e){let{coordinate:t={},interaction:n={},style:r={},marks:a}=e,i=cv(e,["coordinate","interaction","style","marks"]),o=a.map(e=>e.coordinate||{}),s=a.map(e=>e.interaction||{}),l=a.map(e=>e.viewStyle||{}),c=[...o,t].reduceRight((e,t)=>(0,nX.Z)(e,t),{}),u=[n,...s].reduce((e,t)=>(0,nX.Z)(e,t),{}),d=[...l,r].reduce((e,t)=>(0,nX.Z)(e,t),{});return Object.assign(Object.assign({},i),{marks:a,coordinate:c,interaction:u,style:d})}(r);e.interaction=a.interaction,e.coordinate=a.coordinate,e.marks=[...a.marks,...a.components];let i=oO(a,n),o=yield cS(i,t);return cO(o,i,n)})}function cS(e,t){return cE(this,void 0,void 0,function*(){let{library:n}=t,[r]=o_("theme",n),[,a]=o_("mark",n),{theme:i,marks:o,coordinates:s=[]}=e,l=r(cw(i)),c=new Map;for(let e of o){let{type:n}=e,{props:r={}}=a(n),i=yield function(e,t,n){return cb(this,void 0,void 0,function*(){let[r,a]=yield function(e,t,n){return cb(this,void 0,void 0,function*(){let{library:r}=n,[a]=o_("transform",r),{preInference:i=[],postInference:o=[]}=t,{transform:s=[]}=e,l=[co,cs,cl,cc,cu,cd,ch,cm,cg,cp,...i.map(a),...s.map(a),...o.map(a),cf],c=[],u=e;for(let e of l)[c,u]=yield e(c,u,n);return[c,u]})}(e,t,n),{encode:i,scale:o,data:s,tooltip:l}=a;if(!1===Array.isArray(s))return null;let{channels:c}=t,u=n6(Object.entries(i).filter(([,e])=>ra(e)),e=>e.map(([e,t])=>Object.assign({name:e},t)),([e])=>{var t;let n=null===(t=/([^\d]+)\d*$/.exec(e))||void 0===t?void 0:t[1],r=c.find(e=>e.name===n);return(null==r?void 0:r.independent)?e:n}),d=c.filter(e=>{let{name:t,required:n}=e;if(u.find(([e])=>e===t))return!0;if(n)throw Error(`Missing encoding for channel: ${t}.`);return!1}).flatMap(e=>{let{name:t,scale:n,scaleKey:r,range:a,quantitative:i,ordinal:s}=e,l=u.filter(([e])=>e.startsWith(t));return l.map(([e,t],l)=>{let c=t.some(e=>e.visual),u=t.some(e=>e.constant),d=o[e]||{},{independent:p=!1,key:f=r||e,type:h=u?"constant":c?"identity":n}=d,g=cy(d,["independent","key","type"]),m="constant"===h;return{name:e,values:t,scaleKey:p||m?Symbol("independent"):f,scale:Object.assign(Object.assign({type:h,range:m?void 0:a},g),{quantitative:i,ordinal:s})}})});return[a,Object.assign(Object.assign({},t),{index:r,channels:d,tooltip:l})]})}(e,r,t);if(i){let[e,t]=i;c.set(e,t)}}let u=n2(Array.from(c.values()).flatMap(e=>e.channels),({scaleKey:e})=>e);for(let e of u.values()){let t=e.reduce((e,{scale:t})=>(0,nX.Z)(e,t),{}),{scaleKey:r}=e[0],{values:a}=e[0],i=Array.from(new Set(a.map(e=>e.field).filter(ra))),o=(0,nX.Z)({guide:{title:0===i.length?void 0:i},field:i[0]},t),{name:c}=e[0],u=e.flatMap(({values:e})=>e.map(e=>e.value)),d=Object.assign(Object.assign({},function(e,t,n,r,a,i){let{guide:o={}}=n,s=function(e,t,n){let{type:r,domain:a,range:i,quantitative:o,ordinal:s}=n;return void 0!==r?r:lj(t,rc)?"identity":"string"==typeof i?"linear":(a||i||[]).length>2?lD(e,s):void 0!==a?lF([a])?lD(e,s):lB(t)?"time":lP(e,i,o):lF(t)?lD(e,s):lB(t)?"time":lP(e,i,o)}(e,t,n);if("string"!=typeof s)return n;let l=function(e,t,n,r){let{domain:a}=r;if(void 0!==a)return a;switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":case"quantize":case"threshold":return lM(function(e,t){let{zero:n=!1}=t,r=1/0,a=-1/0;for(let t of e)for(let e of t)ra(e)&&(r=Math.min(r,+e),a=Math.max(a,+e));return r===1/0?[]:n?[Math.min(0,r),a]:[r,a]}(n,r),r);case"band":case"ordinal":case"point":return Array.from(new Set(n.flat()));case"quantile":return n.flat().sort();case"sequential":return lM(function(e){let t=1/0,n=-1/0;for(let r of e)for(let e of r)ra(e)&&(t=Math.min(t,+e),n=Math.max(n,+e));return t===1/0?[]:[t<0?-n:t,n]}(n),r);default:return[]}}(s,0,t,n),c=function(e,t,n){let{ratio:r}=n;return null==r?t:lw({type:e})?function(e,t,n){let r=e.map(Number),a=new rK.b({domain:r,range:[r[0],r[0]+(r[r.length-1]-r[0])*t]});return"time"===n?e.map(e=>new Date(a.map(e))):e.map(e=>a.map(e))}(t,r,e):lR({type:e})?function(e,t){let n=Math.round(e.length*t);return e.slice(0,n)}(t,r):t}(s,l,n);return Object.assign(Object.assign(Object.assign({},n),function(e,t,n,r,a){switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":return function(e,t){let{interpolate:n=ow.wp,nice:r=!1,tickCount:a=5}=t;return Object.assign(Object.assign({},t),{interpolate:n,nice:r,tickCount:a})}(0,r);case"band":case"point":return function(e,t,n,r){if(void 0!==r.padding||void 0!==r.paddingInner||void 0!==r.paddingOuter)return Object.assign(Object.assign({},r),{unknown:NaN});let a="enterDelay"===t||"enterDuration"===t||"size"===t?0:"band"===e?oC(n)?0:.1:"point"===e?.5:0,{paddingInner:i=a,paddingOuter:o=a}=r;return Object.assign(Object.assign({},r),{paddingInner:i,paddingOuter:o,padding:a,unknown:NaN})}(e,t,a,r);case"sequential":return function(e){let{palette:t="ylGnBu",offset:n}=e,r=(0,rg.Z)(t),a=Z[`interpolate${r}`];if(!a)throw Error(`Unknown palette: ${r}`);return{interpolator:n?e=>a(n(e)):a}}(r);default:return r}}(s,e,0,n,r)),{domain:c,range:function(e,t,n,r,a,i,o){let{range:s}=r;if("string"==typeof s)return s.split("-");if(void 0!==s)return s;let{rangeMin:l,rangeMax:c}=r;switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":{let e=lL(n,r,a,i,o),[s,u]="enterDelay"===t?[0,1e3]:"enterDuration"==t?[300,1e3]:t.startsWith("y")||t.startsWith("position")?[1,0]:"color"===t?[e[0],rx(e)]:"opacity"===t?[0,1]:"size"===t?[1,10]:[0,1];return[null!=l?l:s,null!=c?c:u]}case"band":case"point":{let e="size"===t?5:0,n="size"===t?10:1;return[null!=l?l:e,null!=c?c:n]}case"ordinal":return lL(n,r,a,i,o);case"sequential":return;case"constant":return[n[0][0]];default:return[]}}(s,e,t,n,c,a,i),expectedDomain:l,guide:o,name:e,type:s})}(c,u,o,s,l,n)),{uid:Symbol("scale"),key:r});e.forEach(e=>e.scale=d)}return c})}function cA(e,t,n,r){let a=e.theme,i="string"==typeof t&&a[t]||{},o=r((0,nX.Z)(i,Object.assign({type:t},n)));return o}function cO(e,t,n){var r;let[a]=o_("mark",n),[i]=o_("theme",n),[o]=o_("labelTransform",n),{key:s,frame:l=!1,theme:c,clip:u,style:d={},labelTransform:p=[]}=t,f=i(cw(c)),h=Array.from(e.values()),g=function(e,t){var n;let{components:r=[]}=t,a=["scale","encode","axis","legend","data","transform"],i=Array.from(new Set(e.flatMap(e=>e.channels.map(e=>e.scale)))),o=new Map(i.map(e=>[e.name,e]));for(let e of r){let t=function(e){let{channels:t=[],type:n,scale:r={}}=e,a=["shape","color","opacity","size"];return 0!==t.length?t:"axisX"===n?["x"]:"axisY"===n?["y"]:"legends"===n?Object.keys(r).filter(e=>a.includes(e)):[]}(e);for(let r of t){let t=o.get(r),s=(null===(n=e.scale)||void 0===n?void 0:n[r])||{},{independent:l=!1}=s;if(t&&!l){let{guide:n}=t,r="boolean"==typeof n?{}:n;t.guide=(0,nX.Z)({},r,e),Object.assign(t,s)}else{let t=Object.assign(Object.assign({},s),{expectedDomain:s.domain,name:r,guide:(0,rX.Z)(e,a)});i.push(t)}}}return i}(h,t),m=(function(e,t,n){let{coordinates:r=[],title:a}=t,[,i]=o_("component",n),o=e.filter(({guide:e})=>null!==e),s=[],l=function(e,t,n){let[,r]=o_("component",n),{coordinates:a}=e;function i(e,t,n,i){let o=function(e,t,n=[]){return"x"===e?oI(n)?`${t}Y`:`${t}X`:"y"===e?oI(n)?`${t}X`:`${t}Y`:null}(t,e,a);if(!i||!o)return;let{props:s}=r(o),{defaultPosition:l,defaultSize:c,defaultOrder:u,defaultCrossPadding:[d]}=s;return Object.assign(Object.assign({position:l,defaultSize:c,order:u,type:o,crossPadding:d},i),{scales:[n]})}return t.filter(e=>e.slider||e.scrollbar).flatMap(e=>{let{slider:t,scrollbar:n,name:r}=e;return[i("slider",r,e,t),i("scrollbar",r,e,n)]}).filter(e=>!!e)}(t,e,n);if(s.push(...l),a){let{props:e}=i("title"),{defaultPosition:t,defaultOrientation:n,defaultOrder:r,defaultSize:o,defaultCrossPadding:l}=e,c="string"==typeof a?{title:a}:a;s.push(Object.assign({type:"title",position:t,orientation:n,order:r,crossPadding:l[0],defaultSize:o},c))}let c=function(e,t){let n=e.filter(e=>(function(e){if(!e||!e.type)return!1;if("function"==typeof e.type)return!0;let{type:t,domain:n,range:r,interpolator:a}=e,i=n&&n.length>0,o=r&&r.length>0;return!!(["linear","sqrt","log","time","pow","threshold","quantize","quantile","ordinal","band","point"].includes(t)&&i&&o||["sequential"].includes(t)&&i&&(o||a)||["constant","identity"].includes(t)&&o)})(e));return[...function(e,t){let n=["shape","size","color","opacity"],r=(e,t)=>"constant"===e&&"size"===t,a=e.filter(({type:e,name:t})=>"string"==typeof e&&n.includes(t)&&!r(e,t)),i=a.filter(({type:e})=>"constant"===e),o=a.filter(({type:e})=>"constant"!==e),s=n3(o,e=>e.field?e.field:Symbol("independent")).map(([e,t])=>[e,[...t,...i]]).filter(([,e])=>e.some(e=>"constant"!==e.type)),l=new Map(s);if(0===l.size)return[];let c=e=>e.sort(([e],[t])=>e.localeCompare(t)),u=Array.from(l).map(([,e])=>{let t=(function(e){if(1===e.length)return[e];let t=[];for(let n=1;n<=e.length;n++)t.push(...function e(t,n=t.length){if(1===n)return t.map(e=>[e]);let r=[];for(let a=0;a{r.push([t[a],...e])})}return r}(e,n));return t})(e).sort((e,t)=>t.length-e.length),n=t.map(e=>({combination:e,option:e.map(e=>[e.name,function(e){let{type:t}=e;return"string"!=typeof t?null:t in lU?"continuous":t in lG?"discrete":t in lH?"distribution":t in l$?"constant":null}(e)])}));for(let{option:e,combination:t}of n)if(!e.every(e=>"constant"===e[1])&&e.every(e=>"discrete"===e[1]||"constant"===e[1]))return["legendCategory",t];for(let[e,t]of rB)for(let{option:r,combination:a}of n)if(t.some(e=>(0,rC.Z)(c(e),c(r))))return[e,a];return null}).filter(ra);return u}(n,0),...n.map(e=>{let{name:n}=e;if(ok(t,"helix").length>0||oC(t)||oI(t)&&(ox(t)||oN(t)))return null;if(n.startsWith("x"))return ox(t)?["axisArc",[e]]:oN(t)?["axisLinear",[e]]:[oI(t)?"axisY":"axisX",[e]];if(n.startsWith("y"))return ox(t)?["axisLinear",[e]]:oN(t)?["axisArc",[e]]:[oI(t)?"axisX":"axisY",[e]];if(n.startsWith("z"))return["axisZ",[e]];if(n.startsWith("position")){if(ok(t,"radar").length>0)return["axisRadar",[e]];if(!ox(t))return["axisY",[e]]}return null}).filter(ra)]}(o,r);return c.forEach(([e,t])=>{let{props:n}=i(e),{defaultPosition:a,defaultPlane:l="xy",defaultOrientation:c,defaultSize:u,defaultOrder:d,defaultLength:p,defaultPadding:f=[0,0],defaultCrossPadding:h=[0,0]}=n,g=(0,nX.Z)({},...t),{guide:m,field:b}=g,y=Array.isArray(m)?m:[m];for(let n of y){let[i,g]=function(e,t,n,r,a,i,o){let[s]=lV(o),l=[r.position||t,null!=s?s:n];return"string"==typeof e&&e.startsWith("axis")?function(e,t,n,r,a){let{name:i}=n[0];if("axisRadar"===e){let e=r.filter(e=>e.name.startsWith("position")),t=function(e){let t=/position(\d*)/g.exec(e);return t?+t[1]:null}(i);if(i===e.slice(-1)[0].name||null===t)return[null,null];let[n,o]=lV(a),s=(o-n)/(e.length-1)*t+n;return["center",s]}if("axisY"===e&&ok(a,"parallel").length>0)return oI(a)?["center","horizontal"]:["center","vertical"];if("axisLinear"===e){let[e]=lV(a);return["center",e]}return"axisArc"===e?"inner"===t[0]?["inner",null]:["outer",null]:ox(a)||oN(a)?["center",null]:"axisX"===e&&ok(a,"reflect").length>0||"axisX"===e&&ok(a,"reflectY").length>0?["top",null]:t}(e,l,a,i,o):"string"==typeof e&&e.startsWith("legend")&&ox(o)&&"center"===r.position?["center","vertical"]:l}(e,a,c,n,t,o,r);if(!i&&!g)continue;let m="left"===i||"right"===i,y=m?f[1]:f[0],E=m?h[1]:h[0],{size:v,order:T=d,length:_=p,padding:S=y,crossPadding:A=E}=n;s.push(Object.assign(Object.assign({title:b},n),{defaultSize:u,length:_,position:i,plane:l,orientation:g,padding:S,order:T,crossPadding:A,size:v,type:e,scales:t}))}}),s})(function(e,t,n){var r;for(let[t]of n.entries())if("cell"===t.type)return e.filter(e=>"shape"!==e.name);if(1!==t.length||e.some(e=>"shape"===e.name))return e;let{defaultShape:a}=t[0];if(!["point","line","rect","hollow"].includes(a))return e;let i=(null===(r=e.find(e=>"color"===e.name))||void 0===r?void 0:r.field)||null;return[...e,{field:i,name:"shape",type:"constant",domain:[],range:[{point:"point",line:"hyphen",rect:"square",hollow:"hollow"}[a]]}]}(Array.from(g),h,e),t,n).map(e=>{let t=(0,nX.Z)(e,e.style);return delete t.style,t}),b=function(e,t,n,r){var a,i;let{width:o,height:s,depth:l,x:c=0,y:u=0,z:d=0,inset:p=null!==(a=n.inset)&&void 0!==a?a:0,insetLeft:f=p,insetTop:h=p,insetBottom:g=p,insetRight:m=p,margin:b=null!==(i=n.margin)&&void 0!==i?i:0,marginLeft:y=b,marginBottom:E=b,marginTop:v=b,marginRight:T=b,padding:_=n.padding,paddingBottom:S=_,paddingLeft:A=_,paddingRight:O=_,paddingTop:k=_}=function(e,t,n,r){let{coordinates:a}=t;if(!ox(a)&&!oN(a))return t;let i=e.filter(e=>"string"==typeof e.type&&e.type.startsWith("axis"));if(0===i.length)return t;let o=i.map(e=>{let t="axisArc"===e.type?"arc":"linear";return l6(e,t,n)}),s=rw(o,e=>{var t;return null!==(t=e.labelSpacing)&&void 0!==t?t:0}),l=i.flatMap((e,t)=>{let n=o[t],a=l2(e,r),i=l3(n,a);return i}).filter(ra),c=rw(l,e=>e.height)+s,u=i.flatMap((e,t)=>{let n=o[t];return l4(n)}).filter(e=>null!==e),d=0===u.length?0:rw(u,e=>e.height),{inset:p=c,insetLeft:f=p,insetBottom:h=p,insetTop:g=p+d,insetRight:m=p}=t;return Object.assign(Object.assign({},t),{insetLeft:f,insetBottom:h,insetTop:g,insetRight:m})}(e,t,n,r),x=1/4,I=(e,n,r,a,i)=>{let{marks:o}=t;if(0===o.length||e-a-i-e*x>0)return[a,i];let s=e*(1-x);return["auto"===n?s*a/(a+i):a,"auto"===r?s*i/(a+i):i]},C=e=>"auto"===e?20:null!=e?e:20,N=C(k),w=C(S),R=l7(e,s-N-w,[N+v,w+E],["left","right"],t,n,r),{paddingLeft:L,paddingRight:D}=R,P=o-y-T,[M,F]=I(P,A,O,L,D),B=P-M-F,j=l7(e,B,[M+y,F+T],["bottom","top"],t,n,r),{paddingTop:U,paddingBottom:H}=j,G=s-E-v,[$,z]=I(G,S,k,H,U),W=G-$-z;return{width:o,height:s,depth:l,insetLeft:f,insetTop:h,insetBottom:g,insetRight:m,innerWidth:B,innerHeight:W,paddingLeft:M,paddingRight:F,paddingTop:z,paddingBottom:$,marginLeft:y,marginBottom:E,marginTop:v,marginRight:T,x:c,y:u,z:d}}(m,t,f,n),y=function(e,t,n){let[r]=o_("coordinate",n),{innerHeight:a,innerWidth:i,insetLeft:o,insetTop:s,insetRight:l,insetBottom:c}=e,{coordinates:u=[]}=t,d=u.find(e=>"cartesian"===e.type||"cartesian3D"===e.type)?u:[...u,{type:"cartesian"}],p="cartesian3D"===d[0].type,f=Object.assign(Object.assign({},e),{x:o,y:s,width:i-o-l,height:a-c-s,transformations:d.flatMap(r)}),h=p?new rj.Coordinate3D(f):new rj.Coordinate(f);return h}(b,t,n),E=l?(0,nX.Z)({mainLineWidth:1,mainStroke:"#000"},d):d;!function(e,t,n){let r=n2(e,e=>`${e.plane||"xy"}-${e.position}`),{paddingLeft:a,paddingRight:i,paddingTop:o,paddingBottom:s,marginLeft:l,marginTop:c,marginBottom:u,marginRight:d,innerHeight:p,innerWidth:f,insetBottom:h,insetLeft:g,insetRight:m,insetTop:b,height:y,width:E,depth:v}=n,T={xy:ce({width:E,height:y,paddingLeft:a,paddingRight:i,paddingTop:o,paddingBottom:s,marginLeft:l,marginTop:c,marginBottom:u,marginRight:d,innerHeight:p,innerWidth:f,insetBottom:h,insetLeft:g,insetRight:m,insetTop:b}),yz:ce({width:v,height:y,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:v,innerHeight:y,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0}),xz:ce({width:E,height:v,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:E,innerHeight:v,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0})};for(let[e,n]of r.entries()){let[r,a]=e.split("-"),i=T[r][a],[o,s]=rI(n,e=>"string"==typeof e.type&&!!("center"===a||e.type.startsWith("axis")&&["inner","outer"].includes(a)));o.length&&function(e,t,n,r){let[a,i]=rI(e,e=>!!("string"==typeof e.type&&e.type.startsWith("axis")));(function(e,t,n,r){if("center"===r){if(rz(t)&&rH(t))(function(e,t,n,r){let[a,i,o,s]=n;for(let t of e)t.bbox={x:a,y:i,width:o,height:s},t.radar={index:e.indexOf(t),count:e.length}})(e,0,n,0);else{var a;rH(t)?function(e,t,n){let[r,a,i,o]=n;for(let t of e)t.bbox={x:r,y:a,width:i,height:o}}(e,0,n):rz(t)&&("horizontal"===(a=e[0].orientation)?function(e,t,n){let[r,a,i]=n,o=Array(e.length).fill(0),s=t.map(o),l=s.filter((e,t)=>t%2==1).map(e=>e+a);for(let t=0;tt%2==0).map(e=>e+r);for(let t=0;tnull==c?void 0:c(e.order,t.order));let v=e=>"title"===e||"group"===e||e.startsWith("legend"),T=(e,t,n)=>void 0===n?t:v(e)?n:t,_=(e,t,n)=>void 0===n?t:v(e)?n:t;for(let t=0,n=l?f+b:f;t"group"===e.type);for(let e of S){let{bbox:t,children:n}=e,r=t[y],a=r/n.length,i=n.reduce((e,t)=>{var n;let r=null===(n=t.layout)||void 0===n?void 0:n.justifyContent;return r||e},"flex-start"),o=n.map((e,t)=>{let{length:r=a,padding:i=0}=e;return r+(t===n.length-1?0:i)}),s=rN(o),l=r-s,c="flex-start"===i?0:"center"===i?l/2:l;for(let e=0,r=t[h]+c;e"axisX"===e),n=e.find(({type:e})=>"axisY"===e),r=e.find(({type:e})=>"axisZ"===e);t&&n&&r&&(t.plane="xy",n.plane="xy",r.plane="yz",r.origin=[t.bbox.x,t.bbox.y,0],r.eulerAngles=[0,-90,0],r.bbox.x=t.bbox.x,r.bbox.y=t.bbox.y,e.push(Object.assign(Object.assign({},t),{plane:"xz",showLabel:!1,showTitle:!1,origin:[t.bbox.x,t.bbox.y,0],eulerAngles:[-90,0,0]})),e.push(Object.assign(Object.assign({},n),{plane:"yz",showLabel:!1,showTitle:!1,origin:[n.bbox.x+n.bbox.width,n.bbox.y,0],eulerAngles:[0,-90,0]})),e.push(Object.assign(Object.assign({},r),{plane:"xz",actualPosition:"left",showLabel:!1,showTitle:!1,eulerAngles:[90,-90,0]})))}(m);let v=new Map(Array.from(e.values()).flatMap(e=>{let{channels:t}=e;return t.map(({scale:e})=>[e.uid,lC(e,n)])}));!function(e,t){let n=Array.from(e.values()).flatMap(e=>e.channels),r=n6(n,e=>e.map(e=>t.get(e.scale.uid)),e=>e.name).filter(([,e])=>e.some(e=>"function"==typeof e.getOptions().groupTransform)&&e.every(e=>e.getTicks)).map(e=>e[1]);r.forEach(e=>{let t=e.map(e=>e.getOptions().groupTransform)[0];t(e)})}(e,v);let T={};for(let e of m){let{scales:t=[]}=e,a=[];for(let e of t){let{name:t,uid:i}=e,o=null!==(r=v.get(i))&&void 0!==r?r:lC(e,n);a.push(o),"y"===t&&o.update(Object.assign(Object.assign({},o.getOptions()),{xScale:T.x})),lI(T,{[t]:o})}e.scaleInstances=a}let _=[];for(let[t,n]of e.entries()){let{children:e,dataDomain:r,modifier:i,key:o}=t,{index:l,channels:c,tooltip:u}=n,d=Object.fromEntries(c.map(({name:e,scale:t})=>[e,t])),p=rO(d,({uid:e})=>v.get(e));lI(T,p);let f=function(e,t){let n={};for(let r of e){let{values:e,name:a}=r,i=t[a];for(let t of e){let{name:e,value:r}=t;n[e]=r.map(e=>i.map(e))}}return n}(c,p),h=a(t),[g,m,E]=function([e,t,n]){if(n)return[e,t,n];let r=[],a=[];for(let n=0;nra(e)&&ra(t))&&(r.push(i),a.push(o))}return[r,a]}(h(l,p,f,y)),S=r||g.length,A=i?i(m,S,b):[],O=e=>{var t,n;return null===(n=null===(t=u.title)||void 0===t?void 0:t[e])||void 0===n?void 0:n.value},k=e=>u.items.map(t=>t[e]),x=g.map((e,t)=>{let n=Object.assign({points:m[t],transform:A[t],index:e,markKey:o,viewKey:s},u&&{title:O(e),items:k(e)});for(let[r,a]of Object.entries(f))n[r]=a[e],E&&(n[`series${(0,rg.Z)(r)}`]=E[t].map(e=>a[e]));return E&&(n.seriesIndex=E[t]),E&&u&&(n.seriesItems=E[t].map(e=>k(e)),n.seriesTitle=E[t].map(e=>O(e))),n});n.data=x,n.index=g;let I=null==e?void 0:e(x,p,b);_.push(...I||[])}let S={layout:b,theme:f,coordinate:y,markState:e,key:s,clip:u,scale:T,style:E,components:m,labelTransform:re(p.map(o))};return[S,_]}function ck(e,t,n,r){return cE(this,void 0,void 0,function*(){let{library:a}=r,{components:i,theme:o,layout:s,markState:l,coordinate:c,key:u,style:d,clip:p,scale:f}=e,{x:h,y:g,width:m,height:b}=s,y=cv(s,["x","y","width","height"]),E=["view","plot","main","content"],v=E.map((e,t)=>t),T=E.map(e=>ro(Object.assign({},o.view,d),e)),_=["a","margin","padding","inset"].map(e=>ri(y,e)),S=e=>e.style("x",e=>I[e].x).style("y",e=>I[e].y).style("width",e=>I[e].width).style("height",e=>I[e].height).each(function(e,t,n){!function(e,t){for(let[n,r]of Object.entries(t))e.style(n,r)}(rd(n),T[e])}),A=0,O=0,k=m,x=b,I=v.map(e=>{let t=_[e],{left:n=0,top:r=0,bottom:a=0,right:i=0}=t;return{x:A+=n,y:O+=r,width:k-=n+i,height:x-=r+a}});t.selectAll(cF(t9)).data(v.filter(e=>ra(T[e])),e=>E[e]).join(e=>e.append("rect").attr("className",t9).style("zIndex",-2).call(S),e=>e.call(S),e=>e.remove());let C=function(e){let t=-1/0,n=1/0;for(let[r,a]of e){let{animate:e={}}=r,{data:i}=a,{enter:o={},update:s={},exit:l={}}=e,{type:c,duration:u=300,delay:d=0}=s,{type:p,duration:f=300,delay:h=0}=o,{type:g,duration:m=300,delay:b=0}=l;for(let e of i){let{updateType:r=c,updateDuration:a=u,updateDelay:i=d,enterType:o=p,enterDuration:s=f,enterDelay:l=h,exitDuration:y=m,exitDelay:E=b,exitType:v=g}=e;(void 0===r||r)&&(t=Math.max(t,a+i),n=Math.min(n,i)),(void 0===v||v)&&(t=Math.max(t,y+E),n=Math.min(n,E)),(void 0===o||o)&&(t=Math.max(t,s+l),n=Math.min(n,l))}}return t===-1/0?null:[n,t-n]}(l),N=!!C&&{duration:C[1]};for(let[,e]of n3(i,e=>`${e.type}-${e.position}`))e.forEach((e,t)=>e.index=t);let w=t.selectAll(cF(t5)).data(i,e=>`${e.type}-${e.position}-${e.index}`).join(e=>e.append("g").style("zIndex",({zIndex:e})=>e||-1).attr("className",t5).append(e=>lW((0,nX.Z)({animate:N,scale:f},e),c,o,a,l)),e=>e.transition(function(e,t,n){let{preserve:r=!1}=e;if(r)return;let i=lW((0,nX.Z)({animate:N,scale:f},e),c,o,a,l),{attributes:s}=i,[u]=n.childNodes;return u.update(s,!1)})).transitions();n.push(...w.flat().filter(ra));let R=t.selectAll(cF(t6)).data([s],()=>u).join(e=>e.append("rect").style("zIndex",0).style("fill","transparent").attr("className",t6).call(cD).call(cM,Array.from(l.keys())).call(cB,p),e=>e.call(cM,Array.from(l.keys())).call(e=>C?function(e,t){let[n,r]=t;e.transition(function(e,t,a){let{transform:i,width:o,height:s}=a.style,{paddingLeft:l,paddingTop:c,innerWidth:u,innerHeight:d,marginLeft:p,marginTop:f}=e,h=[{transform:i,width:o,height:s},{transform:`translate(${l+p}, ${c+f})`,width:u,height:d}];return a.animate(h,{delay:n,duration:r,fill:"both"})})}(e,C):cD(e)).call(cB,p)).transitions();for(let[i,o]of(n.push(...R.flat()),l.entries())){let{data:s}=o,{key:l,class:c,type:u}=i,d=t.select(`#${l}`),p=function(e,t,n,r){let{library:a}=r,[i]=o_("shape",a),{data:o,encode:s}=e,{defaultShape:l,data:c,shape:u}=t,d=rO(s,e=>e.value),p=c.map(e=>e.points),{theme:f,coordinate:h}=n,{type:g,style:m={}}=e,b=Object.assign(Object.assign({},r),{document:oS(r),coordinate:h,theme:f});return t=>{let{shape:n=l}=m,{shape:r=n,points:a,seriesIndex:s,index:c}=t,h=cv(t,["shape","points","seriesIndex","index"]),y=Object.assign(Object.assign({},h),{index:c}),E=s?s.map(e=>o[e]):o[c],v=s||c,T=rO(m,e=>cx(e,E,v,o,{channel:d})),_=u[r]?u[r](T,b):i(Object.assign(Object.assign({},T),{type:cP(e,r)}),b),S=cI(f,g,r,l);return _(a,y,S,p)}}(i,o,e,r),f=cC("enter",i,o,e,a),h=cC("update",i,o,e,a),g=cC("exit",i,o,e,a),m=function(e,t,n,r){let a=e.node().parentElement;return a.findAll(e=>void 0!==e.style.facet&&e.style.facet===n&&e!==t.node()).flatMap(e=>e.getElementsByClassName(r))}(t,d,c,"element"),b=d.selectAll(cF(t3)).selectFacetAll(m).data(s,e=>e.key,e=>e.groupKey).join(e=>e.append(p).attr("className",t3).attr("markType",u).transition(function(e,t,n){return f(e,[n])}),e=>e.call(e=>{let t=e.parent(),n=function(e){let t=new Map;return n=>{if(t.has(n))return t.get(n);let r=e(n);return t.set(n,r),r}}(e=>{let[t,n]=e.getBounds().min;return[t,n]});e.transition(function(e,r,a){!function(e,t,n){if(!e.__facet__)return;let r=e.parentNode.parentNode,a=t.parentNode,[i,o]=n(r),[s,l]=n(a),c=`translate(${i-s}, ${o-l})`;!function(e,t){let{transform:n}=e.style,r="none"===n||void 0===n?"":n;e.style.transform=`${r} ${t}`.trimStart()}(e,c),t.append(e)}(a,t,n);let i=p(e,r),o=h(e,[a],[i]);return null!==o||(a.nodeName===i.nodeName&&"g"!==i.nodeName?rr(a,i):(a.parentNode.replaceChild(i,a),i.className=t3,i.markType=u,i.__data__=a.__data__)),o}).attr("markType",u).attr("className",t3)}),e=>e.each(function(e,t,n){n.__removed__=!0}).transition(function(e,t,n){return g(e,[n])}).remove(),e=>e.append(p).attr("className",t3).attr("markType",u).transition(function(e,t,n){let{__fromElements__:r}=n,a=h(e,r,[n]),i=new rp(r,null,n.parentNode);return i.transition(a).remove(),a}),e=>e.transition(function(e,t,n){let r=new rp([],n.__toData__,n.parentNode),a=r.append(p).attr("className",t3).attr("markType",u).nodes();return h(e,[n],a)}).remove()).transitions();n.push(...b.flat())}!function(e,t,n,r,a){let[i]=o_("labelTransform",r),{markState:o,labelTransform:s}=e,l=t.select(cF(t2)).node(),c=new Map,u=new Map,d=Array.from(o.entries()).flatMap(([n,i])=>{let{labels:o=[],key:s}=n,l=function(e,t,n,r,a){let[i]=o_("shape",r),{data:o,encode:s}=e,{data:l,defaultLabelShape:c}=t,u=l.map(e=>e.points),d=rO(s,e=>e.value),{theme:p,coordinate:f}=n,h=Object.assign(Object.assign({},a),{document:oS(a),theme:p,coordinate:f});return e=>{let{index:t,points:n}=e,r=o[t],{formatter:a=e=>`${e}`,transform:s,style:l,render:f}=e,g=cv(e,["formatter","transform","style","render"]),m=rO(Object.assign(Object.assign({},g),l),e=>cx(e,r,t,o,{channel:d})),{shape:b=c,text:y}=m,E=cv(m,["shape","text"]),v="string"==typeof a?ER(a):a,T=Object.assign(Object.assign({},E),{text:v(y,r,t,o),datum:r}),_=Object.assign({type:`label.${b}`,render:f},E),S=i(_,h),A=cI(p,"label",b,"label");return S(n,T,A,u)}}(n,i,e,r,a),d=t.select(`#${s}`).selectAll(cF(t3)).nodes().filter(e=>!e.__removed__);return o.flatMap((e,t)=>{let{transform:n=[]}=e,r=cv(e,["transform"]);return d.flatMap(n=>{let a=function(e,t,n){let{seriesIndex:r,seriesKey:a,points:i,key:o,index:s}=n.__data__,l=function(e){let t=e.cloneNode(),n=e.getAnimations();t.style.visibility="hidden",n.forEach(e=>{let n=e.effect.getKeyframes();t.attr(n[n.length-1])}),e.parentNode.appendChild(t);let r=t.getLocalBounds();t.destroy();let{min:a,max:i}=r;return[a,i]}(n);if(!r)return[Object.assign(Object.assign({},e),{key:`${o}-${t}`,bounds:l,index:s,points:i,dependentElement:n})];let c=function(e){let{selector:t}=e;if(!t)return null;if("function"==typeof t)return t;if("first"===t)return e=>[e[0]];if("last"===t)return e=>[e[e.length-1]];throw Error(`Unknown selector: ${t}`)}(e),u=r.map((r,o)=>Object.assign(Object.assign({},e),{key:`${a[o]}-${t}`,bounds:[i[o]],index:r,points:i,dependentElement:n}));return c?c(u):u}(r,t,n);return a.forEach(t=>{c.set(t,l),u.set(t,e)}),a})})}),p=rd(l).selectAll(cF(t8)).data(d,e=>e.key).join(e=>e.append(e=>c.get(e)(e)).attr("className",t8),e=>e.each(function(e,t,n){let r=c.get(e),a=r(e);rr(n,a)}),e=>e.remove()).nodes(),f=n2(p,e=>u.get(e.__data__)),{coordinate:h}=e,g={canvas:a.canvas,coordinate:h};for(let[e,t]of f){let{transform:n=[]}=e,r=re(n.map(i));r(t,g)}s&&s(p,g)}(e,t,0,a,r)})}function cx(e,t,n,r,a){return"function"==typeof e?e(t,n,r,a):"string"!=typeof e?e:rc(t)&&void 0!==t[e]?t[e]:e}function cI(e,t,n,r){if("string"!=typeof t)return;let{color:a}=e,i=e[t]||{},o=i[n]||i[r];return Object.assign({color:a},o)}function cC(e,t,n,r,a){var i,o;let[,s]=o_("shape",a),[l]=o_("animation",a),{defaultShape:c,shape:u}=n,{theme:d,coordinate:p}=r,f=(0,rg.Z)(e),h=`default${f}Animation`,{[h]:g}=(null===(i=u[c])||void 0===i?void 0:i.props)||s(cP(t,c)).props,{[e]:m={}}=d,b=(null===(o=t.animate)||void 0===o?void 0:o[e])||{},y={coordinate:p};return(t,n,r)=>{let{[`${e}Type`]:a,[`${e}Delay`]:i,[`${e}Duration`]:o,[`${e}Easing`]:s}=t,c=Object.assign({type:a||g},b);if(!c.type)return null;let u=l(c,y),d=u(n,r,(0,nX.Z)(m,{delay:i,duration:o,easing:s}));return Array.isArray(d)?d:[d]}}function cN(e){return e.finished.then(()=>{e.cancel()}),e}function cw(e={}){if("string"==typeof e)return{type:e};let{type:t="light"}=e,n=cv(e,["type"]);return Object.assign(Object.assign({},n),{type:t})}function cR(e){let{interaction:t={}}=e;return Object.entries((0,nX.Z)({event:!0,tooltip:!0,sliderFilter:!0,legendFilter:!0,scrollbarFilter:!0},t)).reverse()}function cL(e,t){return cE(this,void 0,void 0,function*(){let{data:n}=e,r=cv(e,["data"]);if(void 0==n)return e;let[,{data:a}]=yield cs([],{data:n},t);return Object.assign({data:a},r)})}function cD(e){e.style("transform",e=>`translate(${e.paddingLeft+e.marginLeft}, ${e.paddingTop+e.marginTop})`).style("width",e=>e.innerWidth).style("height",e=>e.innerHeight)}function cP(e,t){let{type:n}=e;return"string"==typeof t?`${n}.${t}`:t}function cM(e,t){let n=e=>void 0!==e.class?`${e.class}`:"",r=e.nodes();if(0===r.length)return;e.selectAll(cF(t1)).data(t,e=>e.key).join(e=>e.append("g").attr("className",t1).attr("id",e=>e.key).style("facet",n).style("fill","transparent").style("zIndex",e=>{var t;return null!==(t=e.zIndex)&&void 0!==t?t:0}),e=>e.style("facet",n).style("fill","transparent").style("zIndex",e=>{var t;return null!==(t=e.zIndex)&&void 0!==t?t:0}),e=>e.remove());let a=e.select(cF(t2)).node();a||e.append("g").attr("className",t2).style("zIndex",0)}function cF(...e){return e.map(e=>`.${e}`).join("")}function cB(e,t){e.node()&&e.style("clipPath",e=>{if(!t)return null;let{paddingTop:n,paddingLeft:r,marginLeft:a,marginTop:i,innerWidth:o,innerHeight:s}=e;return new t7.UL({style:{x:r+a,y:n+i,width:o,height:s}})})}function cj(e,t={},n=!1){let{canvas:r,emitter:a}=t;r&&(function(e){let t=e.getRoot().querySelectorAll(`.${t4}`);null==t||t.forEach(e=>{let{nameInteraction:t=new Map}=e;(null==t?void 0:t.size)>0&&Array.from(null==t?void 0:t.values()).forEach(e=>{null==e||e.destroy()})})}(r),n?r.destroy():r.destroyChildren()),a.off()}let cU=e=>e?parseInt(e):0;function cH(e,t){let n=[e];for(;n.length;){let e=n.shift();t&&t(e);let r=e.children||[];for(let e of r)n.push(e)}}class cG{constructor(e={},t){this.parentNode=null,this.children=[],this.index=0,this.type=t,this.value=e}map(e=e=>e){let t=e(this.value);return this.value=t,this}attr(e,t){return 1==arguments.length?this.value[e]:this.map(n=>(n[e]=t,n))}append(e){let t=new e({});return t.children=[],this.push(t),t}push(e){return e.parentNode=this,e.index=this.children.length,this.children.push(e),this}remove(){let e=this.parentNode;if(e){let{children:t}=e,n=t.findIndex(e=>e===this);t.splice(n,1)}return this}getNodeByKey(e){let t=null;return cH(this,n=>{e===n.attr("key")&&(t=n)}),t}getNodesByType(e){let t=[];return cH(this,n=>{e===n.type&&t.push(n)}),t}getNodeByType(e){let t=null;return cH(this,n=>{t||e!==n.type||(t=n)}),t}call(e,...t){return e(this.map(),...t),this}getRoot(){let e=this;for(;e&&e.parentNode;)e=e.parentNode;return e}}var c$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let cz=["width","height","depth","padding","paddingLeft","paddingRight","paddingBottom","paddingTop","inset","insetLeft","insetRight","insetTop","insetBottom","margin","marginLeft","marginRight","marginTop","marginBottom","autoFit","theme","title","interaction"],cW="__remove__",cY="__callback__";function cV(e){return Object.assign(Object.assign({},e.value),{type:e.type})}function cZ(e,t){let{width:n,height:r,autoFit:a,depth:i=0}=e,o=640,s=480;if(a){let{width:e,height:n}=function(e){let t=getComputedStyle(e),n=e.clientWidth||cU(t.width),r=e.clientHeight||cU(t.height),a=cU(t.paddingLeft)+cU(t.paddingRight),i=cU(t.paddingTop)+cU(t.paddingBottom);return{width:n-a,height:r-i}}(t);o=e||o,s=n||s}return o=n||o,s=r||s,{width:Math.max((0,nH.Z)(o)?o:1,1),height:Math.max((0,nH.Z)(s)?s:1,1),depth:i}}function cq(e){return t=>{for(let[n,r]of Object.entries(e)){let{type:e}=r;"value"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e){return 0==arguments.length?this.attr(n):this.attr(n,e)}}(t,n,r):"array"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e){if(0==arguments.length)return this.attr(n);if(Array.isArray(e))return this.attr(n,e);let t=[...this.attr(n)||[],e];return this.attr(n,t)}}(t,n,r):"object"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e,t){if(0==arguments.length)return this.attr(n);if(1==arguments.length&&"string"!=typeof e)return this.attr(n,e);let r=this.attr(n)||{};return r[e]=1==arguments.length||t,this.attr(n,r)}}(t,n,r):"node"===e?function(e,t,{ctor:n}){e.prototype[t]=function(e){let r=this.append(n);return"mark"===t&&(r.type=e),r}}(t,n,r):"container"===e?function(e,t,{ctor:n}){e.prototype[t]=function(){return this.type=null,this.append(n)}}(t,n,r):"mix"===e&&function(e,t,n){e.prototype[t]=function(e){if(0==arguments.length)return this.attr(t);if(Array.isArray(e))return this.attr(t,{items:e});if(rc(e)&&(void 0!==e.title||void 0!==e.items)||null===e||!1===e)return this.attr(t,e);let n=this.attr(t)||{},{items:r=[]}=n;return r.push(e),n.items=r,this.attr(t,n)}}(t,n,0)}return t}}function cK(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,{type:"node",ctor:t}]))}let cX={encode:{type:"object"},scale:{type:"object"},data:{type:"value"},transform:{type:"array"},style:{type:"object"},animate:{type:"object"},coordinate:{type:"object"},interaction:{type:"object"},label:{type:"array",key:"labels"},axis:{type:"object"},legend:{type:"object"},slider:{type:"object"},scrollbar:{type:"object"},state:{type:"object"},layout:{type:"object"},theme:{type:"object"},title:{type:"value"}},cQ=Object.assign(Object.assign({},cX),{tooltip:{type:"mix"},viewStyle:{type:"object"}}),cJ=Object.assign(Object.assign({},cX),{labelTransform:{type:"array"}}),c0=class extends cG{changeData(e){var t;let n=this.getRoot();if(n)return this.attr("data",e),(null===(t=this.children)||void 0===t?void 0:t.length)&&this.children.forEach(t=>{t.attr("data",e)}),null==n?void 0:n.render()}getView(){let e=this.getRoot(),{views:t}=e.getContext();if(null==t?void 0:t.length)return t.find(e=>e.key===this._key)}getScale(){var e;return null===(e=this.getView())||void 0===e?void 0:e.scale}getScaleByChannel(e){let t=this.getScale();if(t)return t[e]}getCoordinate(){var e;return null===(e=this.getView())||void 0===e?void 0:e.coordinate}getTheme(){var e;return null===(e=this.getView())||void 0===e?void 0:e.theme}getGroup(){let e=this._key;if(!e)return;let t=this.getRoot(),n=t.getContext().canvas.getRoot();return n.getElementById(e)}show(){let e=this.getGroup();e&&(e.isVisible()||i3(e))}hide(){let e=this.getGroup();e&&e.isVisible()&&i2(e)}};c0=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}([cq(cJ)],c0);let c1=class extends cG{changeData(e){let t=this.getRoot();if(t)return this.attr("data",e),null==t?void 0:t.render()}getMark(){var e;let t=null===(e=this.getRoot())||void 0===e?void 0:e.getView();if(!t)return;let{markState:n}=t,r=Array.from(n.keys()).find(e=>e.key===this.attr("key"));return n.get(r)}getScale(){var e;let t=null===(e=this.getRoot())||void 0===e?void 0:e.getView();if(t)return null==t?void 0:t.scale}getScaleByChannel(e){var t,n;let r=null===(t=this.getRoot())||void 0===t?void 0:t.getView();if(r)return null===(n=null==r?void 0:r.scale)||void 0===n?void 0:n[e]}getGroup(){let e=this.attr("key");if(!e)return;let t=this.getRoot(),n=t.getContext().canvas.getRoot();return n.getElementById(e)}};c1=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}([cq(cQ)],c1);var c2=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},c3=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},c4=n(63252),c6=n(67728);function c5(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function c8(e,t,n,r,a){for(var i,o=e.children,s=-1,l=o.length,c=e.value&&(r-t)/e.value;++s=0;)t+=n[r].value;else t=1;e.value=t}function c7(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=ut)):void 0===t&&(t=ue);for(var n,r,a,i,o,s=new ua(e),l=[s];n=l.pop();)if((a=t(n.data))&&(o=(a=Array.from(a)).length))for(n.children=a,i=o-1;i>=0;--i)l.push(r=a[i]=new ua(a[i])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(ur)}function ue(e){return e.children}function ut(e){return Array.isArray(e)?e[1]:null}function un(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function ur(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function ua(e){this.data=e,this.depth=this.height=0,this.parent=null}function ui(e,t){for(var n in t)t.hasOwnProperty(n)&&"constructor"!==n&&void 0!==t[n]&&(e[n]=t[n])}ua.prototype=c7.prototype={constructor:ua,count:function(){return this.eachAfter(c9)},each:function(e,t){let n=-1;for(let r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,a,i=this,o=[i],s=[],l=-1;i=o.pop();)if(s.push(i),n=i.children)for(r=0,a=n.length;r=0;--r)i.push(n[r]);return this},find:function(e,t){let n=-1;for(let r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,a=r&&r.length;--a>=0;)n+=r[a].value;t.value=n})},sort:function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),a=null;for(e=n.pop(),t=r.pop();e===t;)a=e,e=n.pop(),t=r.pop();return a}(t,e),r=[t];t!==n;)r.push(t=t.parent);for(var a=r.length;e!==n;)r.splice(a,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e},links:function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t},copy:function(){return c7(this).eachBefore(un)},[Symbol.iterator]:function*(){var e,t,n,r,a=this,i=[a];do for(e=i.reverse(),i=[];a=e.pop();)if(yield a,t=a.children)for(n=0,r=t.length;nt.value-e.value,as:["x","y"],ignoreParentValue:!0},uc="childNodeCount",uu="Invalid field: it must be a string!";var ud=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let up="sunburst",uf="markType",uh="path",ug="ancestor-node",um={id:up,encode:{x:"x",y:"y",key:uh,color:ug,value:"value"},axis:{x:!1,y:!1},style:{[uf]:up,stroke:"#fff",lineWidth:.5,fillOpacity:"fillOpacity",[uc]:uc,depth:"depth"},state:{active:{zIndex:2,stroke:"#000"},inactive:{zIndex:1,stroke:"#fff"}},legend:!1,interaction:{drillDown:!0},coordinate:{type:"polar",innerRadius:.2}},ub=e=>{let{encode:t,data:n=[],legend:r}=e,a=ud(e,["encode","data","legend"]),i=Object.assign(Object.assign({},a.coordinate),{innerRadius:Math.max((0,c6.Z)(a,["coordinate","innerRadius"],.2),1e-5)}),o=Object.assign(Object.assign({},um.encode),t),{value:s}=o,l=function(e){let{data:t,encode:n}=e,{color:r,value:a}=n,i=function(e,t){var n,r,a;let i;n={},r=t,ul&&ui(n,ul),r&&ui(n,r),a&&ui(n,a),t=n;let o=t.as;if(!(0,rh.Z)(o)||2!==o.length)throw TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{i=function(e,t){let{field:n,fields:r}=e;if((0,nU.Z)(n))return n;if((0,rh.Z)(n))return console.warn(uu),n[0];if(console.warn(`${uu} will try to get fields instead.`),(0,nU.Z)(r))return r;if((0,rh.Z)(r)&&r.length)return r[0];if(t)return t;throw TypeError(uu)}(t)}catch(e){console.warn(e)}let s=(function(){var e=1,t=1,n=0,r=!1;function a(a){var i,o=a.height+1;return a.x0=a.y0=n,a.x1=e,a.y1=t/o,a.eachBefore((i=t,function(e){e.children&&c8(e,e.x0,i*(e.depth+1)/o,e.x1,i*(e.depth+2)/o);var t=e.x0,r=e.y0,a=e.x1-n,s=e.y1-n;a(0,uo.Z)(e.children)?t.ignoreParentValue?0:e[i]-(0,us.Z)(e.children,(e,t)=>e+t[i],0):e[i]).sort(t.sort)),l=o[0],c=o[1];return s.each(e=>{var t,n;e[l]=[e.x0,e.x1,e.x1,e.x0],e[c]=[e.y1,e.y1,e.y0,e.y0],e.name=e.name||(null===(t=e.data)||void 0===t?void 0:t.name)||(null===(n=e.data)||void 0===n?void 0:n.label),e.data.name=e.name,["x0","x1","y0","y1"].forEach(t=>{-1===o.indexOf(t)&&delete e[t]})}),function(e){let t=[];if(e&&e.each){let n,r;e.each(e=>{var a,i;e.parent!==n?(n=e.parent,r=0):r+=1;let o=(0,i_.Z)(((null===(a=e.ancestors)||void 0===a?void 0:a.call(e))||[]).map(e=>t.find(t=>t.name===e.name)||e),({depth:t})=>t>0&&t{t.push(e)});return t}(s)}(t,{field:a,type:"hierarchy.partition",as:["x","y"]}),o=[];return i.forEach(e=>{var t,n,i,s;if(0===e.depth)return null;let l=e.data.name,c=[l],u=Object.assign({},e);for(;u.depth>1;)l=`${null===(t=u.parent.data)||void 0===t?void 0:t.name} / ${l}`,c.unshift(null===(n=u.parent.data)||void 0===n?void 0:n.name),u=u.parent;let d=Object.assign(Object.assign(Object.assign({},(0,c4.Z)(e.data,[a])),{[uh]:l,[ug]:u.data.name}),e);r&&r!==ug&&(d[r]=e.data[r]||(null===(s=null===(i=e.parent)||void 0===i?void 0:i.data)||void 0===s?void 0:s[r])),o.push(d)}),o.map(e=>{let t=e.x.slice(0,2),n=[e.y[2],e.y[0]];return t[0]===t[1]&&(n[0]=n[1]=(e.y[2]+e.y[0])/2),Object.assign(Object.assign({},e),{x:t,y:n,fillOpacity:Math.pow(.85,e.depth)})})}({encode:o,data:n});return console.log(l,"rectData"),[(0,nX.Z)({},um,Object.assign(Object.assign({type:"rect",data:l,encode:o,tooltip:{title:"path",items:[e=>({name:s,value:e[s]})]}},a),{coordinate:i}))]};ub.props={};var uy=n(97917);let uE=e=>e.querySelectorAll(".element").filter(e=>(0,c6.Z)(e,["style",uf])===up),uv={rootText:"root",style:{fill:"rgba(0, 0, 0, 0.85)",fontSize:12,y:1},active:{fill:"rgba(0, 0, 0, 0.5)"}},uT=()=>[["cartesian"]];uT.props={};let u_=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];u_.props={transform:!0};let uS=(e={})=>Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e),uA=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=uS(e);return[...u_(),...rL({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};uA.props={};let uO=()=>[["parallel",0,1,0,1]];uO.props={};let uk=({focusX:e=0,focusY:t=0,distortionX:n=2,distortionY:r=2,visual:a=!1})=>[["fisheye",e,t,n,r,a]];uk.props={transform:!0};let ux=e=>{let{startAngle:t=-Math.PI/2,endAngle:n=3*Math.PI/2,innerRadius:r=0,outerRadius:a=1}=e;return[...uO(),...rL({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};ux.props={};let uI=({value:e})=>t=>t.map(()=>e);uI.props={};let uC=({value:e})=>t=>t.map(t=>t[e]);uC.props={};let uN=({value:e})=>t=>t.map(e);uN.props={};let uw=({value:e})=>()=>e;function uR(e,t){if(null!==e)return{type:"column",value:e,field:t}}function uL(e,t){let n=uR(e,t);return Object.assign(Object.assign({},n),{inferred:!0})}function uD(e,t){if(null!==e)return{type:"column",value:e,field:t,visual:!0}}function uP(e,t){let n=[];for(let r of e)n[r]=t;return n}function uM(e,t){let n=e[t];if(!n)return[null,null];let{value:r,field:a=null}=n;return[r,a]}function uF(e,...t){for(let n of t){if("string"!=typeof n)return[n,null];{let[t,r]=uM(e,n);if(null!==t)return[t,r]}}return[null,null]}function uB(e){return!(e instanceof Date)&&"object"==typeof e}uw.props={};let uj=()=>(e,t)=>{let{encode:n}=t,{y1:r}=n;return void 0!==r?[e,t]:[e,(0,nX.Z)({},t,{encode:{y1:uL(uP(e,0))}})]};uj.props={};let uU=()=>(e,t)=>{let{encode:n}=t,{x:r}=n;return void 0!==r?[e,t]:[e,(0,nX.Z)({},t,{encode:{x:uL(uP(e,0))},scale:{x:{guide:null}}})]};uU.props={};let uH=(e,t)=>iJ(Object.assign({colorAttribute:"fill"},e),t);uH.props=Object.assign(Object.assign({},iJ.props),{defaultMarker:"square"});let uG=(e,t)=>iJ(Object.assign({colorAttribute:"stroke"},e),t);function u$(){}function uz(e){this._context=e}function uW(e){return new uz(e)}uG.props=Object.assign(Object.assign({},iJ.props),{defaultMarker:"hollowSquare"}),uz.prototype={areaStart:u$,areaEnd:u$,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var uY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function uV(e,t,n){let[r,a,i,o]=e;if(rU(n)){let e=[t?t[0][0]:a[0],a[1]],n=[t?t[3][0]:i[0],i[1]];return[r,e,n,o]}let s=[a[0],t?t[0][1]:a[1]],l=[i[0],t?t[3][1]:i[1]];return[r,s,l,o]}let uZ=(e,t)=>{let{adjustPoints:n=uV}=e,r=uY(e,["adjustPoints"]),{coordinate:a,document:i}=t;return(e,t,o,s)=>{let{index:l}=t,{color:c}=o,u=uY(o,["color"]),d=s[l+1],p=n(e,d,a),f=!!rU(a),[h,g,m,b]=f?aF(p):p,{color:y=c,opacity:E}=t,v=a1().curve(uW)([h,g,m,b]);return rd(i.createElement("path",{})).call(aD,u).style("d",v).style("fill",y).style("fillOpacity",E).call(aD,r).node()}};function uq(e,t,n){let[r,a,i,o]=e;if(rU(n)){let e=[t?t[0][0]:(a[0]+i[0])/2,a[1]],n=[t?t[3][0]:(a[0]+i[0])/2,i[1]];return[r,e,n,o]}let s=[a[0],t?t[0][1]:(a[1]+i[1])/2],l=[i[0],t?t[3][1]:(a[1]+i[1])/2];return[r,s,l,o]}uZ.props={defaultMarker:"square"};let uK=(e,t)=>uZ(Object.assign({adjustPoints:uq},e),t);function uX(e){return Math.abs(e)>10?String(e):e.toString().padStart(2,"0")}uK.props={defaultMarker:"square"};let uQ=(e={})=>{let{channel:t="x"}=e;return(e,n)=>{let{encode:r}=n,{tooltip:a}=n;if(ru(a))return[e,n];let{title:i}=a;if(void 0!==i)return[e,n];let o=Object.keys(r).filter(e=>e.startsWith(t)).filter(e=>!r[e].inferred).map(e=>uM(r,e)).filter(([e])=>e).map(e=>e[0]);if(0===o.length)return[e,n];let s=[];for(let t of e)s[t]={value:o.map(e=>e[t]instanceof Date?function(e){let t=e.getFullYear(),n=uX(e.getMonth()+1),r=uX(e.getDate()),a=`${t}-${n}-${r}`,i=e.getHours(),o=e.getMinutes(),s=e.getSeconds();return i||o||s?`${a} ${uX(i)}:${uX(o)}:${uX(s)}`:a}(e[t]):e[t]).join(", ")};return[e,(0,nX.Z)({},n,{tooltip:{title:s}})]}};uQ.props={};let uJ=e=>{let{channel:t}=e;return(e,n)=>{let{encode:r,tooltip:a}=n;if(ru(a))return[e,n];let{items:i=[]}=a;if(!i||i.length>0)return[e,n];let o=Array.isArray(t)?t:[t],s=o.flatMap(e=>Object.keys(r).filter(t=>t.startsWith(e)).map(e=>{let{field:t,value:n,inferred:a=!1,aggregate:i}=r[e];return a?null:i&&n?{channel:e}:t?{field:t}:n?{channel:e}:null}).filter(e=>null!==e));return[e,(0,nX.Z)({},n,{tooltip:{items:s}})]}};uJ.props={};var u0=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let u1=()=>(e,t)=>{let{encode:n}=t,{key:r}=n,a=u0(n,["key"]);if(void 0!==r)return[e,t];let i=Object.values(a).map(({value:e})=>e),o=e.map(e=>i.filter(Array.isArray).map(t=>t[e]).join("-"));return[e,(0,nX.Z)({},t,{encode:{key:uR(o)}})]};function u2(e={}){let{shapes:t}=e;return[{name:"color"},{name:"opacity"},{name:"shape",range:t},{name:"enterType"},{name:"enterDelay",scaleKey:"enter"},{name:"enterDuration",scaleKey:"enter"},{name:"enterEasing"},{name:"key",scale:"identity"},{name:"groupKey",scale:"identity"},{name:"label",scale:"identity"}]}function u3(e={}){return[...u2(e),{name:"title",scale:"identity"}]}function u4(){return[{type:uQ,channel:"color"},{type:uJ,channel:["x","y"]}]}function u6(){return[{type:uQ,channel:"x"},{type:uJ,channel:["y"]}]}function u5(e={}){return u2(e)}function u8(){return[{type:u1}]}function u9(e,t){return e.getBandWidth(e.invert(t))}function u7(e,t,n={}){let{x:r,y:a,series:i}=t,{x:o,y:s,series:l}=e,{style:{bandOffset:c=l?0:.5,bandOffsetX:u=c,bandOffsetY:d=c}={}}=n,p=!!(null==o?void 0:o.getBandWidth),f=!!(null==s?void 0:s.getBandWidth),h=!!(null==l?void 0:l.getBandWidth);return p||f?(e,t)=>{let n=p?u9(o,r[t]):0,c=f?u9(s,a[t]):0,g=h&&i?(u9(l,i[t])/2+ +i[t])*n:0,[m,b]=e;return[m+u*n+g,b+d*c]}:e=>e}function de(e){return parseFloat(e)/100}function dt(e,t,n,r){let{x:a,y:i}=n,{innerWidth:o,innerHeight:s}=r.getOptions(),l=Array.from(e,e=>{let t=a[e],n=i[e],r="string"==typeof t?de(t)*o:+t,l="string"==typeof n?de(n)*s:+n;return[[r,l]]});return[e,l]}function dn(e){return"function"==typeof e?e:t=>t[e]}function dr(e,t){return Array.from(e,dn(t))}function da(e,t){let{source:n=e=>e.source,target:r=e=>e.target,value:a=e=>e.value}=t,{links:i,nodes:o}=e,s=dr(i,n),l=dr(i,r),c=dr(i,a);return{links:i.map((e,t)=>({target:l[t],source:s[t],value:c[t]})),nodes:o||Array.from(new Set([...s,...l]),e=>({key:e}))}}function di(e,t){return e.getBandWidth(e.invert(t))}u1.props={};let ds={rect:uH,hollow:uG,funnel:uZ,pyramid:uK},dl=()=>(e,t,n,r)=>{let{x:a,y:i,y1:o,series:s,size:l}=n,c=t.x,u=t.series,[d]=r.getSize(),p=l?l.map(e=>+e/d):null,f=l?(e,t,n)=>{let r=e+t/2,a=p[n];return[r-a/2,r+a/2]}:(e,t,n)=>[e,e+t],h=Array.from(e,e=>{let t=di(c,a[e]),n=u?di(u,null==s?void 0:s[e]):1,l=(+(null==s?void 0:s[e])||0)*t,d=+a[e]+l,[p,h]=f(d,t*n,e),g=+i[e],m=+o[e];return[[p,g],[h,g],[h,m],[p,m]].map(e=>r.map(e))});return[e,h]};dl.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:ds,channels:[...u3({shapes:Object.keys(ds)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size"}],preInference:[...u8(),{type:uj},{type:uU}],postInference:[...u6()],interaction:{shareTooltip:!0}};let dc={rect:uH,hollow:uG},du=()=>(e,t,n,r)=>{let{x:a,x1:i,y:o,y1:s}=n,l=Array.from(e,e=>{let t=[+a[e],+o[e]],n=[+i[e],+o[e]],l=[+i[e],+s[e]],c=[+a[e],+s[e]];return[t,n,l,c].map(e=>r.map(e))});return[e,l]};du.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:dc,channels:[...u3({shapes:Object.keys(dc)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...u8(),{type:uj}],postInference:[...u6()],interaction:{shareTooltip:!0}};var dd=df(aQ);function dp(e){this._curve=e}function df(e){function t(t){return new dp(e(t))}return t._curve=e,t}function dh(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(df(e)):t()._curve},e}dp.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),-(t*Math.cos(e)))}};var dg=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let dm=a2(e=>{let{d1:t,d2:n,style1:r,style2:a}=e.attributes,i=e.ownerDocument;rd(e).maybeAppend("line",()=>i.createElement("path",{})).style("d",t).call(aD,r),rd(e).maybeAppend("line1",()=>i.createElement("path",{})).style("d",n).call(aD,a)}),db=(e,t)=>{let{curve:n,gradient:r=!1,gradientColor:a="between",defined:i=e=>!Number.isNaN(e)&&null!=e,connect:o=!1}=e,s=dg(e,["curve","gradient","gradientColor","defined","connect"]),{coordinate:l,document:c}=t;return(e,t,u)=>{let d;let{color:p,lineWidth:f}=u,h=dg(u,["color","lineWidth"]),{color:g=p,size:m=f,seriesColor:b,seriesX:y,seriesY:E}=t,v=aU(l,t),T=rU(l),_=r&&b?aM(b,y,E,r,a,T):g,S=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},h),_&&{stroke:_}),m&&{lineWidth:m}),v&&{transform:v}),s);if(rH(l)){let e=l.getCenter();d=t=>dh(a1().curve(dd)).angle((n,r)=>aN(ax(t[r],e))).radius((n,r)=>aI(t[r],e)).defined(([e,t])=>i(e)&&i(t)).curve(n)(t)}else d=a1().x(e=>e[0]).y(e=>e[1]).defined(([e,t])=>i(e)&&i(t)).curve(n);let[A,O]=function(e,t){let n=[],r=[],a=!1,i=null;for(let o of e)t(o[0])&&t(o[1])?(n.push(o),a&&(a=!1,r.push([i,o])),i=o):a=!0;return[n,r]}(e,i),k=ri(S,"connect"),x=!!O.length;return x&&(!o||Object.keys(k).length)?x&&!o?rd(c.createElement("path",{})).style("d",d(e)).call(aD,S).node():rd(new dm).style("style1",Object.assign(Object.assign({},S),k)).style("style2",S).style("d1",O.map(d).join(",")).style("d2",d(e)).node():rd(c.createElement("path",{})).style("d",d(A)||[]).call(aD,S).node()}};db.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let dy=(e,t)=>{let{coordinate:n}=t;return(...r)=>{let a=rH(n)?uW:aQ;return db(Object.assign({curve:a},e),t)(...r)}};function dE(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function dv(e,t){this._context=e,this._k=(1-t)/6}function dT(e,t){this._context=e,this._k=(1-t)/6}function d_(e,t,n){var r=e._x1,a=e._y1,i=e._x2,o=e._y2;if(e._l01_a>1e-12){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,a=(a*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>1e-12){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*c+e._x1*e._l23_2a-t*e._l12_2a)/u,o=(o*c+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,a,i,o,e._x2,e._y2)}function dS(e,t){this._context=e,this._alpha=t}function dA(e,t){this._context=e,this._alpha=t}dy.props=Object.assign(Object.assign({},db.props),{defaultMarker:"line"}),dv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:dE(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:dE(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return new dv(e,t)}return n.tension=function(t){return e(+t)},n}(0),dT.prototype={areaStart:u$,areaEnd:u$,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:dE(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return new dT(e,t)}return n.tension=function(t){return e(+t)},n}(0),dS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:d_(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return t?new dS(e,t):new dv(e,0)}return n.alpha=function(t){return e(+t)},n}(.5),dA.prototype={areaStart:u$,areaEnd:u$,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:d_(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var dO=function e(t){function n(e){return t?new dA(e,t):new dT(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function dk(e,t,n){var r=e._x1-e._x0,a=t-e._x1,i=(e._y1-e._y0)/(r||a<0&&-0),o=(n-e._y1)/(a||r<0&&-0);return((i<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(i),Math.abs(o),.5*Math.abs((i*a+o*r)/(r+a)))||0}function dx(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function dI(e,t,n){var r=e._x0,a=e._y0,i=e._x1,o=e._y1,s=(i-r)/3;e._context.bezierCurveTo(r+s,a+s*t,i-s,o-s*n,i,o)}function dC(e){this._context=e}function dN(e){this._context=new dw(e)}function dw(e){this._context=e}function dR(e){return new dC(e)}function dL(e){return new dN(e)}dC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:dI(this,this._t0,dx(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,dI(this,dx(this,n=dk(this,e,t)),n);break;default:dI(this,this._t0,n=dk(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(dN.prototype=Object.create(dC.prototype)).point=function(e,t){dC.prototype.point.call(this,t,e)},dw.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,a,i){this._context.bezierCurveTo(t,e,r,n,i,a)}};var dD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let dP=(e,t)=>{let n=dD(e,[]),{coordinate:r}=t;return(...e)=>{let a=rH(r)?dO:rU(r)?dL:dR;return db(Object.assign({curve:a},n),t)(...e)}};function dM(e,t){this._context=e,this._t=t}function dF(e){return new dM(e,.5)}function dB(e){return new dM(e,0)}function dj(e){return new dM(e,1)}dP.props=Object.assign(Object.assign({},db.props),{defaultMarker:"smooth"}),dM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};let dU=(e,t)=>db(Object.assign({curve:dj},e),t);dU.props=Object.assign(Object.assign({},db.props),{defaultMarker:"hv"});let dH=(e,t)=>db(Object.assign({curve:dB},e),t);dH.props=Object.assign(Object.assign({},db.props),{defaultMarker:"vh"});let dG=(e,t)=>db(Object.assign({curve:dF},e),t);dG.props=Object.assign(Object.assign({},db.props),{defaultMarker:"hvh"});var d$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let dz=(e,t)=>{let{document:n}=t;return(t,r,a)=>{let{seriesSize:i,color:o}=r,{color:s}=a,l=d$(a,["color"]),c=aZ();for(let e=0;e(e,t)=>{let{style:n={},encode:r}=t,{series:a}=r,{gradient:i}=n;return!i||a?[e,t]:[e,(0,nX.Z)({},t,{encode:{series:uD(uP(e,void 0))}})]};dW.props={};let dY=()=>(e,t)=>{let{encode:n}=t,{series:r,color:a}=n;if(void 0!==r||void 0===a)return[e,t];let[i,o]=uM(n,"color");return[e,(0,nX.Z)({},t,{encode:{series:uR(i,o)}})]};dY.props={};let dV={line:dy,smooth:dP,hv:dU,vh:dH,hvh:dG,trail:dz},dZ=(e,t,n,r)=>{var a,i;let{series:o,x:s,y:l}=n,{x:c,y:u}=t;if(void 0===s||void 0===l)throw Error("Missing encode for x or y channel.");let d=o?Array.from(n2(e,e=>o[e]).values()):[e],p=d.map(e=>e[0]).filter(e=>void 0!==e),f=((null===(a=null==c?void 0:c.getBandWidth)||void 0===a?void 0:a.call(c))||0)/2,h=((null===(i=null==u?void 0:u.getBandWidth)||void 0===i?void 0:i.call(u))||0)/2,g=Array.from(d,e=>e.map(e=>r.map([+s[e]+f,+l[e]+h])));return[p,g,d]},dq=(e,t,n,r)=>{let a=Object.entries(n).filter(([e])=>e.startsWith("position")).map(([,e])=>e);if(0===a.length)throw Error("Missing encode for position channel.");let i=Array.from(e,e=>{let t=a.map(t=>+t[e]),n=r.map(t),i=[];for(let e=0;e(e,t,n,r)=>{let a=rz(r)?dq:dZ;return a(e,t,n,r)};dK.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:dV,channels:[...u3({shapes:Object.keys(dV)}),{name:"x"},{name:"y"},{name:"position",independent:!0},{name:"size"},{name:"series",scale:"band"}],preInference:[...u8(),{type:dW},{type:dY}],postInference:[...u6(),{type:uQ,channel:"color"},{type:uJ,channel:["position"]}],interaction:{shareTooltip:!0,seriesTooltip:!0,crosshairs:!0}};var dX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function dQ(e,t,n,r){if(1===t.length)return;let{size:a}=n;if("fixed"===e)return a;if("normal"===e||rW(r)){let[[e,n],[r,a]]=t;return Math.max(0,(Math.abs((r-e)/2)+Math.abs((a-n)/2))/2)}return a}let dJ=(e,t)=>{let{colorAttribute:n,symbol:r,mode:a="auto"}=e,i=dX(e,["colorAttribute","symbol","mode"]),o=nI.get(r)||nI.get("point"),{coordinate:s,document:l}=t;return(t,r,c)=>{let{lineWidth:u,color:d}=c,p=i.stroke?u||1:u,{color:f=d,transform:h,opacity:g}=r,[m,b]=aH(t),y=dQ(a,t,r,s),E=y||i.r||c.r;return rd(l.createElement("path",{})).call(aD,c).style("fill","transparent").style("d",o(m,b,E)).style("lineWidth",p).style("transform",h).style("transformOrigin",`${m-E} ${b-E}`).style("stroke",f).style(aj(e),g).style(n,f).call(aD,i).node()}};dJ.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let d0=(e,t)=>dJ(Object.assign({colorAttribute:"stroke",symbol:"point"},e),t);d0.props=Object.assign({defaultMarker:"hollowPoint"},dJ.props);let d1=(e,t)=>dJ(Object.assign({colorAttribute:"stroke",symbol:"diamond"},e),t);d1.props=Object.assign({defaultMarker:"hollowDiamond"},dJ.props);let d2=(e,t)=>dJ(Object.assign({colorAttribute:"stroke",symbol:"hexagon"},e),t);d2.props=Object.assign({defaultMarker:"hollowHexagon"},dJ.props);let d3=(e,t)=>dJ(Object.assign({colorAttribute:"stroke",symbol:"square"},e),t);d3.props=Object.assign({defaultMarker:"hollowSquare"},dJ.props);let d4=(e,t)=>dJ(Object.assign({colorAttribute:"stroke",symbol:"triangle-down"},e),t);d4.props=Object.assign({defaultMarker:"hollowTriangleDown"},dJ.props);let d6=(e,t)=>dJ(Object.assign({colorAttribute:"stroke",symbol:"triangle"},e),t);d6.props=Object.assign({defaultMarker:"hollowTriangle"},dJ.props);let d5=(e,t)=>dJ(Object.assign({colorAttribute:"stroke",symbol:"bowtie"},e),t);d5.props=Object.assign({defaultMarker:"hollowBowtie"},dJ.props);var d8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let d9=(e,t)=>{let{colorAttribute:n,mode:r="auto"}=e,a=d8(e,["colorAttribute","mode"]),{coordinate:i,document:o}=t;return(t,s,l)=>{let{lineWidth:c,color:u}=l,d=a.stroke?c||1:c,{color:p=u,transform:f,opacity:h}=s,[g,m]=aH(t),b=dQ(r,t,s,i),y=b||a.r||l.r;return rd(o.createElement("circle",{})).call(aD,l).style("fill","transparent").style("cx",g).style("cy",m).style("r",y).style("lineWidth",d).style("transform",f).style("transformOrigin",`${g} ${m}`).style("stroke",p).style(aj(e),h).style(n,p).call(aD,a).node()}},d7=(e,t)=>d9(Object.assign({colorAttribute:"fill"},e),t);d7.props={defaultMarker:"circle",defaultEnterAnimation:"fadeIn",defaultExitAnimation:"fadeOut"};let pe=(e,t)=>d9(Object.assign({colorAttribute:"stroke"},e),t);pe.props=Object.assign({defaultMarker:"hollowPoint"},d7.props);let pt=(e,t)=>dJ(Object.assign({colorAttribute:"fill",symbol:"point"},e),t);pt.props=Object.assign({defaultMarker:"point"},dJ.props);let pn=(e,t)=>dJ(Object.assign({colorAttribute:"stroke",symbol:"plus"},e),t);pn.props=Object.assign({defaultMarker:"plus"},dJ.props);let pr=(e,t)=>dJ(Object.assign({colorAttribute:"fill",symbol:"diamond"},e),t);pr.props=Object.assign({defaultMarker:"diamond"},dJ.props);let pa=(e,t)=>dJ(Object.assign({colorAttribute:"fill",symbol:"square"},e),t);pa.props=Object.assign({defaultMarker:"square"},dJ.props);let pi=(e,t)=>dJ(Object.assign({colorAttribute:"fill",symbol:"triangle"},e),t);pi.props=Object.assign({defaultMarker:"triangle"},dJ.props);let po=(e,t)=>dJ(Object.assign({colorAttribute:"fill",symbol:"hexagon"},e),t);po.props=Object.assign({defaultMarker:"hexagon"},dJ.props);let ps=(e,t)=>dJ(Object.assign({colorAttribute:"stroke",symbol:"cross"},e),t);ps.props=Object.assign({defaultMarker:"cross"},dJ.props);let pl=(e,t)=>dJ(Object.assign({colorAttribute:"fill",symbol:"bowtie"},e),t);pl.props=Object.assign({defaultMarker:"bowtie"},dJ.props);let pc=(e,t)=>dJ(Object.assign({colorAttribute:"stroke",symbol:"hyphen"},e),t);pc.props=Object.assign({defaultMarker:"hyphen"},dJ.props);let pu=(e,t)=>dJ(Object.assign({colorAttribute:"stroke",symbol:"line"},e),t);pu.props=Object.assign({defaultMarker:"line"},dJ.props);let pd=(e,t)=>dJ(Object.assign({colorAttribute:"stroke",symbol:"tick"},e),t);pd.props=Object.assign({defaultMarker:"tick"},dJ.props);let pp=(e,t)=>dJ(Object.assign({colorAttribute:"fill",symbol:"triangle-down"},e),t);pp.props=Object.assign({defaultMarker:"triangleDown"},dJ.props);let pf=()=>(e,t)=>{let{encode:n}=t,{y:r}=n;return void 0!==r?[e,t]:[e,(0,nX.Z)({},t,{encode:{y:uL(uP(e,0))},scale:{y:{guide:null}}})]};pf.props={};let ph=()=>(e,t)=>{let{encode:n}=t,{size:r}=n;return void 0!==r?[e,t]:[e,(0,nX.Z)({},t,{encode:{size:uD(uP(e,3))}})]};ph.props={};let pg={hollow:d0,hollowDiamond:d1,hollowHexagon:d2,hollowSquare:d3,hollowTriangleDown:d4,hollowTriangle:d6,hollowBowtie:d5,hollowCircle:pe,point:pt,plus:pn,diamond:pr,square:pa,triangle:pi,hexagon:po,cross:ps,bowtie:pl,hyphen:pc,line:pu,tick:pd,triangleDown:pp,circle:d7},pm=e=>(t,n,r,a)=>{let{x:i,y:o,x1:s,y1:l,size:c,dx:u,dy:d}=r,[p,f]=a.getSize(),h=u7(n,r,e),g=e=>{let t=+((null==u?void 0:u[e])||0),n=+((null==d?void 0:d[e])||0),r=s?(+i[e]+ +s[e])/2:+i[e],a=l?(+o[e]+ +l[e])/2:+o[e];return[r+t,a+n]},m=c?Array.from(t,e=>{let[t,n]=g(e),r=+c[e],i=r/p,o=r/f;return[a.map(h([t-i,n-o],e)),a.map(h([t+i,n+o],e))]}):Array.from(t,e=>[a.map(h(g(e),e))]);return[t,m]};pm.props={defaultShape:"hollow",defaultLabelShape:"label",composite:!1,shape:pg,channels:[...u3({shapes:Object.keys(pg)}),{name:"x",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size",quantitative:"sqrt"},{name:"dx",scale:"identity"},{name:"dy",scale:"identity"}],preInference:[...u8(),{type:uU},{type:pf}],postInference:[{type:ph},...u4()]};let pb=(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let{color:i,text:o="",fontSize:s,rotate:l=0,transform:c=""}=r,u={text:String(o),stroke:i,fill:i,fontSize:s},[[d,p]]=t;return rd(new a4).style("x",d).style("y",p).call(aD,a).style("transform",`${c}rotate(${+l})`).style("coordCenter",n.getCenter()).call(aD,u).call(aD,e).node()}};pb.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var py=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let pE=a2(e=>{let t=e.attributes,{class:n,x:r,y:a,transform:i}=t,o=py(t,["class","x","y","transform"]),s=ri(o,"marker"),{size:l=24}=s,c=()=>(function(e){let t=e/Math.sqrt(2),n=e*Math.sqrt(2),[r,a]=[-t,t-n],[i,o]=[0,0],[s,l]=[t,t-n];return[["M",r,a],["A",e,e,0,1,1,s,l],["L",i,o],["Z"]]})(l/2),u=rd(e).maybeAppend("marker",()=>new a$.J({})).call(e=>e.node().update(Object.assign({symbol:c},s))).node(),[d,p]=function(e){let{min:t,max:n}=e.getLocalBounds();return[(t[0]+n[0])*.5,(t[1]+n[1])*.5]}(u);rd(e).maybeAppend("text","text").style("x",d).style("y",p).call(aD,o)}),pv=(e,t)=>{let n=py(e,[]);return(e,t,r)=>{let{color:a}=r,i=py(r,["color"]),{color:o=a,text:s=""}=t,l={text:String(s),stroke:o,fill:o},[[c,u]]=e;return rd(new pE).call(aD,i).style("transform",`translate(${c},${u})`).call(aD,l).call(aD,n).node()}};pv.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pT=(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let{color:i,text:o="",fontSize:s,rotate:l=0,transform:c=""}=r,u={text:String(o),stroke:i,fill:i,fontSize:s,textAlign:"center",textBaseline:"middle"},[[d,p]]=t,f=rd(new t7.xv).style("x",d).style("y",p).call(aD,a).style("transformOrigin","center center").style("transform",`${c}rotate(${l}deg)`).style("coordCenter",n.getCenter()).call(aD,u).call(aD,e).node();return f}};pT.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let p_=()=>(e,t)=>{let{data:n}=t;if(!Array.isArray(n)||n.some(uB))return[e,t];let r=Array.isArray(n[0])?n:[n],a=r.map(e=>e[0]),i=r.map(e=>e[1]);return[e,(0,nX.Z)({},t,{encode:{x:uR(a),y:uR(i)}})]};p_.props={};var pS=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let pA=()=>(e,t)=>{let{data:n,style:r={}}=t,a=pS(t,["data","style"]),{x:i,y:o}=r,s=pS(r,["x","y"]);if(void 0==i||void 0==o)return[e,t];let l=i||0,c=o||0;return[[0],(0,nX.Z)({},a,{data:[0],cartesian:!0,encode:{x:uR([l]),y:uR([c])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:s})]};pA.props={};let pO={text:pb,badge:pv,tag:pT},pk=e=>{let{cartesian:t=!1}=e;return t?dt:(t,n,r,a)=>{let{x:i,y:o}=r,s=u7(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};pk.props={defaultShape:"text",defaultLabelShape:"label",composite:!1,shape:pO,channels:[...u3({shapes:Object.keys(pO)}),{name:"x",required:!0},{name:"y",required:!0},{name:"text",scale:"identity"},{name:"fontSize",scale:"identity"},{name:"rotate",scale:"identity"}],preInference:[...u8(),{type:p_},{type:pA}],postInference:[...u4()]};let px=()=>(e,t)=>[e,(0,nX.Z)({scale:{x:{padding:0},y:{padding:0}}},t)];px.props={};let pI={cell:uH,hollow:uG},pC=()=>(e,t,n,r)=>{let{x:a,y:i}=n,o=t.x,s=t.y,l=Array.from(e,e=>{let t=o.getBandWidth(o.invert(+a[e])),n=s.getBandWidth(s.invert(+i[e])),l=+a[e],c=+i[e];return[[l,c],[l+t,c],[l+t,c+n],[l,c+n]].map(e=>r.map(e))});return[e,l]};function pN(e,t,n){var r=null,a=aK(!0),i=null,o=aQ,s=null;function l(l){var c,u,d,p,f,h=(l=aq(l)).length,g=!1,m=Array(h),b=Array(h);for(null==i&&(s=o(f=aZ())),c=0;c<=h;++c){if(!(c=u;--d)s.point(m[d],b[d]);s.lineEnd(),s.areaEnd()}}g&&(m[c]=+e(p,c,l),b[c]=+t(p,c,l),s.point(r?+r(p,c,l):m[c],n?+n(p,c,l):b[c]))}if(f)return s=null,f+""||null}function c(){return a1().defined(a).curve(o).context(i)}return e="function"==typeof e?e:void 0===e?aJ:aK(+e),t="function"==typeof t?t:void 0===t?aK(0):aK(+t),n="function"==typeof n?n:void 0===n?a0:aK(+n),l.x=function(t){return arguments.length?(e="function"==typeof t?t:aK(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e="function"==typeof t?t:aK(+t),l):e},l.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:aK(+e),l):r},l.y=function(e){return arguments.length?(t="function"==typeof e?e:aK(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t="function"==typeof e?e:aK(+e),l):t},l.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:aK(+e),l):n},l.lineX0=l.lineY0=function(){return c().x(e).y(t)},l.lineY1=function(){return c().x(e).y(n)},l.lineX1=function(){return c().x(r).y(t)},l.defined=function(e){return arguments.length?(a="function"==typeof e?e:aK(!!e),l):a},l.curve=function(e){return arguments.length?(o=e,null!=i&&(s=o(i)),l):o},l.context=function(e){return arguments.length?(null==e?i=s=null:s=o(i=e),l):i},l}pC.props={defaultShape:"cell",defaultLabelShape:"label",shape:pI,composite:!1,channels:[...u3({shapes:Object.keys(pI)}),{name:"x",required:!0,scale:"band"},{name:"y",required:!0,scale:"band"}],preInference:[...u8(),{type:uU},{type:pf},{type:px}],postInference:[...u4()]};var pw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let pR=a2(e=>{let{areaPath:t,connectPath:n,areaStyle:r,connectStyle:a}=e.attributes,i=e.ownerDocument;rd(e).maybeAppend("connect-path",()=>i.createElement("path",{})).style("d",n).call(aD,a),rd(e).maybeAppend("area-path",()=>i.createElement("path",{})).style("d",t).call(aD,r)}),pL=(e,t)=>{let{curve:n,gradient:r=!1,defined:a=e=>!Number.isNaN(e)&&null!=e,connect:i=!1}=e,o=pw(e,["curve","gradient","defined","connect"]),{coordinate:s,document:l}=t;return(e,t,c)=>{let{color:u}=c,{color:d=u,seriesColor:p,seriesX:f,seriesY:h}=t,g=rU(s),m=aU(s,t),b=r&&p?aM(p,f,h,r,void 0,g):d,y=Object.assign(Object.assign(Object.assign(Object.assign({},c),{stroke:b,fill:b}),m&&{transform:m}),o),[E,v]=function(e,t){let n=[],r=[],a=[],i=!1,o=null,s=e.length/2;for(let l=0;l!t(e)))i=!0;else{if(n.push(c),r.push(u),i&&o){i=!1;let[e,t]=o;a.push([e,c,t,u])}o=[c,u]}}return[n.concat(r),a]}(e,a),T=ri(y,"connect"),_=!!v.length,S=e=>rd(l.createElement("path",{})).style("d",e||"").call(aD,y).node();if(rH(s)){let t=e=>{var t,r,i,o,l,c;let u=s.getCenter(),d=e.slice(0,e.length/2),p=e.slice(e.length/2);return(r=(t=pN().curve(dd)).curve,i=t.lineX0,o=t.lineX1,l=t.lineY0,c=t.lineY1,t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return dh(i())},delete t.lineX0,t.lineEndAngle=function(){return dh(o())},delete t.lineX1,t.lineInnerRadius=function(){return dh(l())},delete t.lineY0,t.lineOuterRadius=function(){return dh(c())},delete t.lineY1,t.curve=function(e){return arguments.length?r(df(e)):r()._curve},t).angle((e,t)=>aN(ax(d[t],u))).outerRadius((e,t)=>aI(d[t],u)).innerRadius((e,t)=>aI(p[t],u)).defined((e,t)=>[...d[t],...p[t]].every(a)).curve(n)(p)};return _&&(!i||Object.keys(T).length)?_&&!i?S(t(e)):rd(new pR).style("areaStyle",y).style("connectStyle",Object.assign(Object.assign({},T),o)).style("areaPath",t(e)).style("connectPath",v.map(t).join("")).node():S(t(E))}{let t=e=>{let t=e.slice(0,e.length/2),r=e.slice(e.length/2);return g?pN().y((e,n)=>t[n][1]).x1((e,n)=>t[n][0]).x0((e,t)=>r[t][0]).defined((e,n)=>[...t[n],...r[n]].every(a)).curve(n)(t):pN().x((e,n)=>t[n][0]).y1((e,n)=>t[n][1]).y0((e,t)=>r[t][1]).defined((e,n)=>[...t[n],...r[n]].every(a)).curve(n)(t)};return _&&(!i||Object.keys(T).length)?_&&!i?S(t(e)):rd(new pR).style("areaStyle",y).style("connectStyle",Object.assign(Object.assign({},T),o)).style("areaPath",t(e)).style("connectPath",v.map(t).join("")).node():S(t(E))}}};pL.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pD=(e,t)=>{let{coordinate:n}=t;return(...r)=>{let a=rH(n)?uW:aQ;return pL(Object.assign({curve:a},e),t)(...r)}};pD.props=Object.assign(Object.assign({},pL.props),{defaultMarker:"square"});var pP=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let pM=(e,t)=>{let n=pP(e,[]),{coordinate:r}=t;return(...e)=>{let a=rH(r)?dO:rU(r)?dL:dR;return pL(Object.assign({curve:a},n),t)(...e)}};pM.props=Object.assign(Object.assign({},pL.props),{defaultMarker:"smooth"});let pF=(e,t)=>(...n)=>pL(Object.assign({curve:dF},e),t)(...n);pF.props=Object.assign(Object.assign({},pL.props),{defaultMarker:"hvh"});let pB=(e,t)=>(...n)=>pL(Object.assign({curve:dB},e),t)(...n);pB.props=Object.assign(Object.assign({},pL.props),{defaultMarker:"vh"});let pj=(e,t)=>(...n)=>pL(Object.assign({curve:dj},e),t)(...n);pj.props=Object.assign(Object.assign({},pL.props),{defaultMarker:"hv"});let pU={area:pD,smooth:pM,hvh:pF,vh:pB,hv:pj},pH=()=>(e,t,n,r)=>{var a,i;let{x:o,y:s,y1:l,series:c}=n,{x:u,y:d}=t,p=c?Array.from(n2(e,e=>c[e]).values()):[e],f=p.map(e=>e[0]).filter(e=>void 0!==e),h=((null===(a=null==u?void 0:u.getBandWidth)||void 0===a?void 0:a.call(u))||0)/2,g=((null===(i=null==d?void 0:d.getBandWidth)||void 0===i?void 0:i.call(d))||0)/2,m=Array.from(p,e=>{let t=e.length,n=Array(2*t);for(let a=0;a(e,t)=>{let{encode:n}=t,{y1:r}=n;if(r)return[e,t];let[a]=uM(n,"y");return[e,(0,nX.Z)({},t,{encode:{y1:uR([...a])}})]};pG.props={};let p$=()=>(e,t)=>{let{encode:n}=t,{x1:r}=n;if(r)return[e,t];let[a]=uM(n,"x");return[e,(0,nX.Z)({},t,{encode:{x1:uR([...a])}})]};p$.props={};var pz=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let pW=(e,t)=>{let{arrow:n=!0,arrowSize:r="40%"}=e,a=pz(e,["arrow","arrowSize"]),{document:i}=t;return(e,t,o)=>{let{defaultColor:s}=o,l=pz(o,["defaultColor"]),{color:c=s,transform:u}=t,[d,p]=e,f=aZ();if(f.moveTo(...d),f.lineTo(...p),n){let[e,t]=function(e,t,n){let{arrowSize:r}=n,a="string"==typeof r?+parseFloat(r)/100*aI(e,t):r,i=Math.PI/6,o=Math.atan2(t[1]-e[1],t[0]-e[0]),s=Math.PI/2-o-i,l=[t[0]-a*Math.sin(s),t[1]-a*Math.cos(s)],c=o-i,u=[t[0]-a*Math.cos(c),t[1]-a*Math.sin(c)];return[l,u]}(d,p,{arrowSize:r});f.moveTo(...e),f.lineTo(...p),f.lineTo(...t)}return rd(i.createElement("path",{})).call(aD,l).style("d",f.toString()).style("stroke",c).style("transform",u).call(aD,a).node()}};pW.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pY=(e,t)=>{let{arrow:n=!1}=e;return(...r)=>pW(Object.assign(Object.assign({},e),{arrow:n}),t)(...r)};pY.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var pV=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let pZ=(e,t)=>{let n=pV(e,[]),{coordinate:r,document:a}=t;return(e,t,i)=>{let{color:o}=i,s=pV(i,["color"]),{color:l=o,transform:c}=t,[u,d]=e,p=aZ();if(p.moveTo(u[0],u[1]),rH(r)){let e=r.getCenter();p.quadraticCurveTo(e[0],e[1],d[0],d[1])}else{let e=aL(u,d),t=aI(u,d)/2;aP(p,u,d,e,t)}return rd(a.createElement("path",{})).call(aD,s).style("d",p.toString()).style("stroke",l).style("transform",c).call(aD,n).node()}};pZ.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var pq=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let pK=(e,t)=>{let n=pq(e,[]),{document:r}=t;return(e,t,a)=>{let{color:i}=a,o=pq(a,["color"]),{color:s=i,transform:l}=t,[c,u]=e,d=aZ();return d.moveTo(c[0],c[1]),d.bezierCurveTo(c[0]/2+u[0]/2,c[1],c[0]/2+u[0]/2,u[1],u[0],u[1]),rd(r.createElement("path",{})).call(aD,o).style("d",d.toString()).style("stroke",s).style("transform",l).call(aD,n).node()}};pK.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var pX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let pQ=(e,t)=>{let{cornerRatio:n=1/3}=e,r=pX(e,["cornerRatio"]),{coordinate:a,document:i}=t;return(e,t,o)=>{let{defaultColor:s}=o,l=pX(o,["defaultColor"]),{color:c=s,transform:u}=t,[d,p]=e,f=function(e,t,n,r){let a=aZ();if(rH(n)){let i=n.getCenter(),o=aI(e,i),s=aI(t,i),l=(s-o)*r+o;return a.moveTo(e[0],e[1]),aP(a,e,t,i,l),a.lineTo(t[0],t[1]),a}return rU(n)?(a.moveTo(e[0],e[1]),a.lineTo(e[0]+(t[0]-e[0])*r,e[1]),a.lineTo(e[0]+(t[0]-e[0])*r,t[1]),a.lineTo(t[0],t[1]),a):(a.moveTo(e[0],e[1]),a.lineTo(e[0],e[1]+(t[1]-e[1])*r),a.lineTo(t[0],e[1]+(t[1]-e[1])*r),a.lineTo(t[0],t[1]),a)}(d,p,a,n);return rd(i.createElement("path",{})).call(aD,l).style("d",f.toString()).style("stroke",c).style("transform",u).call(aD,r).node()}};pQ.props={defaultMarker:"vhv",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pJ={link:pY,arc:pZ,smooth:pK,vhv:pQ},p0=e=>(t,n,r,a)=>{let{x:i,y:o,x1:s=i,y1:l=o}=r,c=u7(n,r,e),u=t.map(e=>[a.map(c([+i[e],+o[e]],e)),a.map(c([+s[e],+l[e]],e))]);return[t,u]};p0.props={defaultShape:"link",defaultLabelShape:"label",composite:!1,shape:pJ,channels:[...u3({shapes:Object.keys(pJ)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...u8(),{type:pG},{type:p$}],postInference:[...u4()]};var p1=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let p2=(e,t)=>{let{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o}=i,s=p1(i,["color"]),{color:l=o,src:c="",size:u=32,transform:d=""}=a,{width:p=u,height:f=u}=e,[[h,g]]=t,[m,b]=n.getSize();p="string"==typeof p?de(p)*m:p,f="string"==typeof f?de(f)*b:f;let y=h-Number(p)/2,E=g-Number(f)/2;return rd(r.createElement("image",{})).call(aD,s).style("x",y).style("y",E).style("src",c).style("stroke",l).style("transform",d).call(aD,e).style("width",p).style("height",f).node()}};p2.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let p3={image:p2},p4=e=>{let{cartesian:t}=e;return t?dt:(t,n,r,a)=>{let{x:i,y:o}=r,s=u7(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};p4.props={defaultShape:"image",defaultLabelShape:"label",composite:!1,shape:p3,channels:[...u3({shapes:Object.keys(p3)}),{name:"x",required:!0},{name:"y",required:!0},{name:"src",scale:"identity"},{name:"size"}],preInference:[...u8(),{type:p_},{type:pA}],postInference:[...u4()]};var p6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let p5=(e,t)=>{let{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o}=i,s=p6(i,["color"]),{color:l=o,transform:c}=a,u=function(e,t){let n=aZ();if(rH(t)){let r=t.getCenter(),a=[...e,e[0]],i=a.map(e=>aI(e,r));return a.forEach((t,a)=>{if(0===a){n.moveTo(t[0],t[1]);return}let o=i[a],s=e[a-1],l=i[a-1];void 0!==l&&1e-10>Math.abs(o-l)?aP(n,s,t,r,o):n.lineTo(t[0],t[1])}),n.closePath(),n}return e.forEach((e,t)=>0===t?n.moveTo(e[0],e[1]):n.lineTo(e[0],e[1])),n.closePath(),n}(t,n);return rd(r.createElement("path",{})).call(aD,s).style("d",u.toString()).style("stroke",l).style("fill",l).style("transform",c).call(aD,e).node()}};p5.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var p8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let p9=(e,t)=>{let n=p8(e,[]),{coordinate:r,document:a}=t;return(e,t,i)=>{let{color:o}=i,s=p8(i,["color"]),{color:l=o,transform:c}=t,u=function(e,t){let[n,r,a,i]=e,o=aZ();if(rH(t)){let e=t.getCenter(),s=aI(e,n);return o.moveTo(n[0],n[1]),o.quadraticCurveTo(e[0],e[1],a[0],a[1]),aP(o,a,i,e,s),o.quadraticCurveTo(e[0],e[1],r[0],r[1]),aP(o,r,n,e,s),o.closePath(),o}return o.moveTo(n[0],n[1]),o.bezierCurveTo(n[0]/2+a[0]/2,n[1],n[0]/2+a[0]/2,a[1],a[0],a[1]),o.lineTo(i[0],i[1]),o.bezierCurveTo(i[0]/2+r[0]/2,i[1],i[0]/2+r[0]/2,r[1],r[0],r[1]),o.lineTo(n[0],n[1]),o.closePath(),o}(e,r);return rd(a.createElement("path",{})).call(aD,s).style("d",u.toString()).style("fill",l||o).style("stroke",l||o).style("transform",c).call(aD,n).node()}};p9.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let p7={polygon:p5,ribbon:p9},fe=()=>(e,t,n,r)=>{let a=Object.entries(n).filter(([e])=>e.startsWith("x")).map(([,e])=>e),i=Object.entries(n).filter(([e])=>e.startsWith("y")).map(([,e])=>e),o=e.map(e=>{let t=[];for(let n=0;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fn=(e,t)=>{let{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o,transform:s}=a,{color:l,fill:c=l,stroke:u=l}=i,d=ft(i,["color","fill","stroke"]),p=function(e,t){let n=aZ();if(rH(t)){let r=t.getCenter(),[a,i]=r,o=aC(ax(e[0],r)),s=aC(ax(e[1],r)),l=aI(r,e[2]),c=aI(r,e[3]),u=aI(r,e[8]),d=aI(r,e[10]),p=aI(r,e[11]);n.moveTo(...e[0]),n.arc(a,i,l,o,s),n.arc(a,i,l,s,o,!0),n.moveTo(...e[2]),n.lineTo(...e[3]),n.moveTo(...e[4]),n.arc(a,i,c,o,s),n.lineTo(...e[6]),n.arc(a,i,d,s,o,!0),n.closePath(),n.moveTo(...e[8]),n.arc(a,i,u,o,s),n.arc(a,i,u,s,o,!0),n.moveTo(...e[10]),n.lineTo(...e[11]),n.moveTo(...e[12]),n.arc(a,i,p,o,s),n.arc(a,i,p,s,o,!0)}else n.moveTo(...e[0]),n.lineTo(...e[1]),n.moveTo(...e[2]),n.lineTo(...e[3]),n.moveTo(...e[4]),n.lineTo(...e[5]),n.lineTo(...e[6]),n.lineTo(...e[7]),n.closePath(),n.moveTo(...e[8]),n.lineTo(...e[9]),n.moveTo(...e[10]),n.lineTo(...e[11]),n.moveTo(...e[12]),n.lineTo(...e[13]);return n}(t,n);return rd(r.createElement("path",{})).call(aD,d).style("d",p.toString()).style("stroke",u).style("fill",o||c).style("transform",s).call(aD,e).node()}};fn.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var fr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fa=(e,t)=>{let{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o,transform:s}=a,{color:l,fill:c=l,stroke:u=l}=i,d=fr(i,["color","fill","stroke"]),p=function(e,t,n=4){let r=aZ();if(!rH(t))return r.moveTo(...e[2]),r.lineTo(...e[3]),r.lineTo(e[3][0]-n,e[3][1]),r.lineTo(e[10][0]-n,e[10][1]),r.lineTo(e[10][0]+n,e[10][1]),r.lineTo(e[3][0]+n,e[3][1]),r.lineTo(...e[3]),r.closePath(),r.moveTo(...e[10]),r.lineTo(...e[11]),r.moveTo(e[3][0]+n/2,e[8][1]),r.arc(e[3][0],e[8][1],n/2,0,2*Math.PI),r.closePath(),r;let a=t.getCenter(),[i,o]=a,s=aI(a,e[3]),l=aI(a,e[8]),c=aI(a,e[10]),u=aC(ax(e[2],a)),d=Math.asin(n/l),p=u-d,f=u+d;r.moveTo(...e[2]),r.lineTo(...e[3]),r.moveTo(Math.cos(p)*s+i,Math.sin(p)*s+o),r.arc(i,o,s,p,f),r.lineTo(Math.cos(f)*c+i,Math.sin(f)*c+o),r.arc(i,o,c,f,p,!0),r.lineTo(Math.cos(p)*s+i,Math.sin(p)*s+o),r.closePath(),r.moveTo(...e[10]),r.lineTo(...e[11]);let h=(p+f)/2;return r.moveTo(Math.cos(h)*(l+n/2)+i,Math.sin(h)*(l+n/2)+o),r.arc(Math.cos(h)*l+i,Math.sin(h)*l+o,n/2,h,2*Math.PI+h),r.closePath(),r}(t,n,4);return rd(r.createElement("path",{})).call(aD,d).style("d",p.toString()).style("stroke",u).style("fill",o||c).style("transform",s).call(aD,e).node()}};fa.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let fi={box:fn,violin:fa},fo=()=>(e,t,n,r)=>{let{x:a,y:i,y1:o,y2:s,y3:l,y4:c,series:u}=n,d=t.x,p=t.series,f=Array.from(e,e=>{let t=d.getBandWidth(d.invert(+a[e])),n=p?p.getBandWidth(p.invert(+(null==u?void 0:u[e]))):1,f=t*n,h=(+(null==u?void 0:u[e])||0)*t,g=+a[e]+h+f/2,[m,b,y,E,v]=[+i[e],+o[e],+s[e],+l[e],+c[e]];return[[g-f/2,v],[g+f/2,v],[g,v],[g,E],[g-f/2,E],[g+f/2,E],[g+f/2,b],[g-f/2,b],[g-f/2,y],[g+f/2,y],[g,b],[g,m],[g-f/2,m],[g+f/2,m]].map(e=>r.map(e))});return[e,f]};fo.props={defaultShape:"box",defaultLabelShape:"label",composite:!1,shape:fi,channels:[...u3({shapes:Object.keys(fi)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"}],preInference:[...u8(),{type:uU}],postInference:[...u6()],interaction:{shareTooltip:!0}};let fs={vector:pW},fl=()=>(e,t,n,r)=>{let{x:a,y:i,size:o,rotate:s}=n,[l,c]=r.getSize(),u=e.map(e=>{let t=+s[e]/180*Math.PI,n=+o[e],u=n/l*Math.cos(t),d=-(n/c)*Math.sin(t);return[r.map([+a[e]-u/2,+i[e]-d/2]),r.map([+a[e]+u/2,+i[e]+d/2])]});return[e,u]};fl.props={defaultShape:"vector",defaultLabelShape:"label",composite:!1,shape:fs,channels:[...u3({shapes:Object.keys(fs)}),{name:"x",required:!0},{name:"y",required:!0},{name:"rotate",required:!0,scale:"identity"},{name:"size",required:!0}],preInference:[...u8()],postInference:[...u4()]};var fc=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fu=(e,t)=>{let{arrow:n,arrowSize:r=4}=e,a=fc(e,["arrow","arrowSize"]),{coordinate:i,document:o}=t;return(e,t,s)=>{let{color:l,lineWidth:c}=s,u=fc(s,["color","lineWidth"]),{color:d=l,size:p=c}=t,f=n?function(e,t,n){let r=e.createElement("path",{style:Object.assign({d:`M ${t},${t} L -${t},0 L ${t},-${t} L 0,0 Z`,transformOrigin:"center"},n)});return r}(o,r,Object.assign({fill:a.stroke||d,stroke:a.stroke||d},ri(a,"arrow"))):null,h=function(e,t){if(!rH(t))return a1().x(e=>e[0]).y(e=>e[1])(e);let n=t.getCenter();return iK()({startAngle:0,endAngle:2*Math.PI,outerRadius:aI(e[0],n),innerRadius:aI(e[1],n)})}(e,i),g=function(e,t){if(!rH(e))return t;let[n,r]=e.getCenter();return`translate(${n}, ${r}) ${t||""}`}(i,t.transform);return rd(o.createElement("path",{})).call(aD,u).style("d",h).style("stroke",d).style("lineWidth",p).style("transform",g).style("markerEnd",f).call(aD,a).node()}};fu.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let fd=()=>(e,t)=>{let{data:n}=t;return!Array.isArray(n)||n.some(uB)?[e,t]:[e,(0,nX.Z)({},t,{encode:{x:uR(n)}})]};fd.props={};let fp={line:fu},ff=e=>(t,n,r,a)=>{let{x:i}=r,o=u7(n,r,(0,nX.Z)({style:{bandOffset:0}},e)),s=Array.from(t,e=>{let t=[i[e],1],n=[i[e],0];return[t,n].map(t=>a.map(o(t,e)))});return[t,s]};ff.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:fp,channels:[...u5({shapes:Object.keys(fp)}),{name:"x",required:!0}],preInference:[...u8(),{type:fd}],postInference:[]};let fh=()=>(e,t)=>{let{data:n}=t;return!Array.isArray(n)||n.some(uB)?[e,t]:[e,(0,nX.Z)({},t,{encode:{y:uR(n)}})]};fh.props={};let fg={line:fu},fm=e=>(t,n,r,a)=>{let{y:i}=r,o=u7(n,r,(0,nX.Z)({style:{bandOffset:0}},e)),s=Array.from(t,e=>{let t=[0,i[e]],n=[1,i[e]];return[t,n].map(t=>a.map(o(t,e)))});return[t,s]};fm.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:fg,channels:[...u5({shapes:Object.keys(fg)}),{name:"y",required:!0}],preInference:[...u8(),{type:fh}],postInference:[]};var fb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function fy(e,t,n){return[["M",e,t],["L",e+2*n,t-n],["L",e+2*n,t+n],["Z"]]}let fE=(e,t)=>{let{offset:n=0,offset1:r=n,offset2:a=n,connectLength1:i,endMarker:o=!0}=e,s=fb(e,["offset","offset1","offset2","connectLength1","endMarker"]),{coordinate:l}=t;return(e,t,n)=>{let{color:c,connectLength1:u}=n,d=fb(n,["color","connectLength1"]),{color:p,transform:f}=t,h=function(e,t,n,r,a=0){let[[i,o],[s,l]]=t;if(rU(e)){let e=i+n,t=e+a;return[[e,o],[t,o],[t,l],[s+r,l]]}let c=o-n,u=c-a;return[[i,c],[i,u],[s,u],[s,l-r]]}(l,e,r,a,null!=i?i:u),g=ri(Object.assign(Object.assign({},s),n),"endMarker");return rd(new t7.y$).call(aD,d).style("d",a1().x(e=>e[0]).y(e=>e[1])(h)).style("stroke",p||c).style("transform",f).style("markerEnd",o?new a$.J({className:"marker",style:Object.assign(Object.assign({},g),{symbol:fy})}):null).call(aD,s).node()}};fE.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let fv={connector:fE},fT=(...e)=>p0(...e);function f_(e,t,n,r){if(t)return()=>[0,1];let{[e]:a,[`${e}1`]:i}=n;return e=>{var t;let n=(null===(t=r.getBandWidth)||void 0===t?void 0:t.call(r,r.invert(+i[e])))||0;return[a[e],i[e]+n]}}function fS(e={}){let{extendX:t=!1,extendY:n=!1}=e;return(e,r,a,i)=>{let o=f_("x",t,a,r.x),s=f_("y",n,a,r.y),l=Array.from(e,e=>{let[t,n]=o(e),[r,a]=s(e);return[[t,r],[n,r],[n,a],[t,a]].map(e=>i.map(e))});return[e,l]}}fT.props={defaultShape:"connector",defaultLabelShape:"label",composite:!1,shape:fv,channels:[...u5({shapes:Object.keys(fv)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...u8()],postInference:[]};let fA={range:uH},fO=()=>fS();fO.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:fA,channels:[...u5({shapes:Object.keys(fA)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...u8()],postInference:[]};let fk=()=>(e,t)=>{let{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(uB))){let r=(e,t)=>Array.isArray(e[0])?e.map(e=>e[t]):[e[t]];return[e,(0,nX.Z)({},t,{encode:{x:uR(r(n,0)),x1:uR(r(n,1))}})]}return[e,t]};fk.props={};let fx={range:uH},fI=()=>fS({extendY:!0});fI.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:fx,channels:[...u5({shapes:Object.keys(fx)}),{name:"x",required:!0}],preInference:[...u8(),{type:fk}],postInference:[]};let fC=()=>(e,t)=>{let{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(uB))){let r=(e,t)=>Array.isArray(e[0])?e.map(e=>e[t]):[e[t]];return[e,(0,nX.Z)({},t,{encode:{y:uR(r(n,0)),y1:uR(r(n,1))}})]}return[e,t]};fC.props={};let fN={range:uH},fw=()=>fS({extendX:!0});fw.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:fN,channels:[...u5({shapes:Object.keys(fN)}),{name:"y",required:!0}],preInference:[...u8(),{type:fC}],postInference:[]};var fR=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fL=(e,t)=>{let{arrow:n,colorAttribute:r}=e,a=fR(e,["arrow","colorAttribute"]),{coordinate:i,document:o}=t;return(e,t,n)=>{let{color:s,stroke:l}=n,c=fR(n,["color","stroke"]),{d:u,color:d=s}=t,[p,f]=i.getSize();return rd(o.createElement("path",{})).call(aD,c).style("d","function"==typeof u?u({width:p,height:f}):u).style(r,d).call(aD,a).node()}};fL.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let fD=(e,t)=>fL(Object.assign({colorAttribute:"fill"},e),t);fD.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let fP=(e,t)=>fL(Object.assign({fill:"none",colorAttribute:"stroke"},e),t);fP.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let fM={path:fD,hollow:fP},fF=e=>(e,t,n,r)=>[e,e.map(()=>[[0,0]])];fF.props={defaultShape:"path",defaultLabelShape:"label",shape:fM,composite:!1,channels:[...u3({shapes:Object.keys(fM)}),{name:"d",scale:"identity"}],preInference:[...u8()],postInference:[]};var fB=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fj=(e,t)=>{let{render:n}=e,r=fB(e,["render"]);return e=>{let[[a,i]]=e;return n(Object.assign(Object.assign({},r),{x:a,y:i}),t)}};fj.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let fU=()=>(e,t)=>{let{style:n={}}=t;return[e,(0,nX.Z)({},t,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(([,e])=>"function"==typeof e).map(([e,t])=>[e,()=>t])))})]};fU.props={};let fH=e=>{let{cartesian:t}=e;return t?dt:(t,n,r,a)=>{let{x:i,y:o}=r,s=u7(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};fH.props={defaultShape:"shape",defaultLabelShape:"label",composite:!1,shape:{shape:fj},channels:[{name:"x",required:!0},{name:"y",required:!0}],preInference:[...u8(),{type:p_},{type:pA},{type:fU}]};var fG=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let f$=(e,t)=>{let{document:n}=t;return(t,r,a)=>{let{transform:i}=r,{color:o}=a,s=fG(a,["color"]),{color:l=o}=r,[c,...u]=t,d=aZ();return d.moveTo(...c),u.forEach(([e,t])=>{d.lineTo(e,t)}),d.closePath(),rd(n.createElement("path",{})).call(aD,s).style("d",d.toString()).style("stroke",l||o).style("fill",l||o).style("fillOpacity",.4).style("transform",i).call(aD,e).node()}};f$.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let fz={density:f$},fW=()=>(e,t,n,r)=>{let{x:a,series:i}=n,o=Object.entries(n).filter(([e])=>e.startsWith("y")).map(([,e])=>e),s=Object.entries(n).filter(([e])=>e.startsWith("size")).map(([,e])=>e);if(void 0===a||void 0===o||void 0===s)throw Error("Missing encode for x or y or size channel.");let l=t.x,c=t.series,u=Array.from(e,t=>{let n=l.getBandWidth(l.invert(+a[t])),u=c?c.getBandWidth(c.invert(+(null==i?void 0:i[t]))):1,d=(+(null==i?void 0:i[t])||0)*n,p=+a[t]+d+n*u/2,f=[...o.map((n,r)=>[p+ +s[r][t]/e.length,+o[r][t]]),...o.map((n,r)=>[p-+s[r][t]/e.length,+o[r][t]]).reverse()];return f.map(e=>r.map(e))});return[e,u]};fW.props={defaultShape:"density",defaultLabelShape:"label",composite:!1,shape:fz,channels:[...u3({shapes:Object.keys(fz)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"size",required:!0},{name:"series",scale:"band"},{name:"size",required:!0,scale:"identity"}],preInference:[...u8(),{type:uj},{type:uU}],postInference:[...u6()],interaction:{shareTooltip:!0}};var fY=n(76973);function fV(e,t,n){let r=e?e():document.createElement("canvas");return r.width=t,r.height=n,r}(0,fY.Z)(3);let fZ=function(e,t=(...e)=>`${e[0]}`,n=16){let r=(0,fY.Z)(n);return(...n)=>{let a=t(...n),i=r.get(a);return r.has(a)?r.get(a):(i=e(...n),r.set(a,i),i)}}((e,t,n)=>{let r=fV(n,2*e,2*e),a=r.getContext("2d");if(1===t)a.beginPath(),a.arc(e,e,e,0,2*Math.PI,!1),a.fillStyle="rgba(0,0,0,1)",a.fill();else{let n=a.createRadialGradient(e,e,e*t,e,e,e);n.addColorStop(0,"rgba(0,0,0,1)"),n.addColorStop(1,"rgba(0,0,0,0)"),a.fillStyle=n,a.fillRect(0,0,2*e,2*e)}return r},e=>`${e}`);var fq=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fK=(e,t)=>{let{gradient:n,opacity:r,maxOpacity:a,minOpacity:i,blur:o,useGradientOpacity:s}=e,l=fq(e,["gradient","opacity","maxOpacity","minOpacity","blur","useGradientOpacity"]),{coordinate:c,createCanvas:u,document:d}=t;return(e,t,p)=>{var f,h;let{transform:g}=t,[m,b]=c.getSize(),y=e.map(e=>({x:e[0],y:e[1],value:e[2],radius:e[3]})),E=l9(e,e=>e[2]),v=rw(e,e=>e[2]),T=m&&b?function(e,t,n,r,a,i,o){let s=Object.assign({blur:.85,minOpacity:0,opacity:.6,maxOpacity:1,gradient:[[.25,"rgb(0,0,255)"],[.55,"rgb(0,255,0)"],[.85,"yellow"],[1,"rgb(255,0,0)"]]},i);s.minOpacity*=255,s.opacity*=255,s.maxOpacity*=255;let l=fV(o,e,t),c=l.getContext("2d"),u=function(e,t){let n=fV(t,256,1),r=n.getContext("2d"),a=r.createLinearGradient(0,0,256,1);return("string"==typeof e?e.split(" ").map(e=>{let[t,n]=e.split(":");return[+t,n]}):e).forEach(([e,t])=>{a.addColorStop(e,t)}),r.fillStyle=a,r.fillRect(0,0,256,1),r.getImageData(0,0,256,1).data}(s.gradient,o);c.clearRect(0,0,e,t),function(e,t,n,r,a,i){let{blur:o}=a,s=r.length;for(;s--;){let{x:a,y:l,value:c,radius:u}=r[s],d=Math.min(c,n),p=a-u,f=l-u,h=fZ(u,1-o,i),g=(d-t)/(n-t);e.globalAlpha=Math.max(g,.001),e.drawImage(h,p,f)}}(c,n,r,a,s,o);let d=function(e,t,n,r,a){let{minOpacity:i,opacity:o,maxOpacity:s,useGradientOpacity:l}=a,c=e.getImageData(0,0,t,n),u=c.data,d=u.length;for(let e=3;evoid 0===e,Object.keys(f).reduce((e,t)=>{let n=f[t];return h(n,t)||(e[t]=n),e},{})),u):{canvas:null};return rd(d.createElement("image",{})).call(aD,p).style("x",0).style("y",0).style("width",m).style("height",b).style("src",T.canvas).style("transform",g).call(aD,l).node()}};fK.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let fX={heatmap:fK},fQ=e=>(e,t,n,r)=>{let{x:a,y:i,size:o,color:s}=n,l=Array.from(e,e=>{let t=o?+o[e]:40;return[...r.map([+a[e],+i[e]]),s[e],t]});return[[0],[l]]};fQ.props={defaultShape:"heatmap",defaultLabelShape:"label",composite:!1,shape:fX,channels:[...u3({shapes:Object.keys(fX)}),{name:"x",required:!0},{name:"y",required:!0},{name:"color",scale:"identity",required:!0},{name:"size"}],preInference:[...u8(),{type:uU},{type:pf}],postInference:[...u4()]};var fJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let f0=()=>({axis:!1,type:"text",encode:{x:"x",y:"y",text:"text",rotate:"rotate",fontSize:"size",shape:"tag"},scale:{x:{range:[0,1]},y:{range:[0,1]}},style:{fontFamily:e=>e.fontFamily}}),f1=(e,t)=>{var n,r,a,i;return n=void 0,r=void 0,a=void 0,i=function*(){let{width:n,height:r}=t,{data:a,encode:i={},scale:o,style:s={},layout:l={}}=e,c=fJ(e,["data","encode","scale","style","layout"]),u=function(e,t){let{text:n="text",value:r="value"}=t;return e.map(e=>Object.assign(Object.assign({},e),{text:e[n],value:e[r]}))}(a,i);return(0,nX.Z)({},f0(),Object.assign(Object.assign({data:{value:u,transform:[Object.assign({type:"wordCloud",size:[n,r]},l)]},encode:i,scale:o,style:s},c),{axis:!1}))},new(a||(a=Promise))(function(e,t){function o(e){try{l(i.next(e))}catch(e){t(e)}}function s(e){try{l(i.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof a?n:new a(function(e){e(n)})).then(o,s)}l((i=i.apply(n,r||[])).next())})};f1.props={};let f2=()=>["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"];f2.props={};let f3=()=>["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];f3.props={};let f4=e=>new rK.b(e);f4.props={};var f6=n(10362);let f5=e=>new f6.r(e);f5.props={};var f8=n(16250);let f9=e=>new f8.t(e);f9.props={};var f7=n(38857);let he=e=>new f7.i(e);he.props={};var ht=n(61242);let hn=e=>new ht.E(e);hn.props={};var hr=n(2808);let ha=e=>new hr.q(e);ha.props={};var hi=n(89863);let ho=e=>new hi.Z(e);ho.props={};var hs=n(68598);let hl=e=>new hs.p(e);hl.props={};var hc=n(46897);let hu=e=>new hc.F(e);hu.props={};let hd=e=>new au.M(e);hd.props={};let hp=e=>new ap.c(e);hp.props={};let hf=e=>new ad.J(e);hf.props={};var hh=n(12785);let hg=e=>new hh.s(e);hg.props={};let hm=e=>new ac.s(e);function hb({colorDefault:e,colorBlack:t,colorWhite:n,colorStroke:r,colorBackground:a,padding1:i,padding2:o,padding3:s,alpha90:l,alpha65:c,alpha45:u,alpha25:d,alpha10:p,category10:f,category20:h,sizeDefault:g=1,padding:m="auto",margin:b=16}){return{padding:m,margin:b,size:g,color:e,category10:f,category20:h,enter:{duration:300,fill:"both",delay:0},update:{duration:300,fill:"both",delay:0},exit:{duration:300,fill:"both",delay:0},view:{viewFill:a,plotFill:"transparent",mainFill:"transparent",contentFill:"transparent"},line:{line:{fill:"",strokeOpacity:1,lineWidth:1,lineCap:"round"}},point:{point:{r:3,fillOpacity:.95,lineWidth:0},hollow:{r:3,strokeOpacity:.95,lineWidth:1},plus:{r:3,strokeOpacity:.95,lineWidth:3},diamond:{r:3,strokeOpacity:.95,lineWidth:1}},interval:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},area:{area:{fillOpacity:.85,lineWidth:0}},polygon:{polygon:{fillOpacity:.95}},cell:{cell:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},rect:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},link:{link:{fill:"",strokeOpacity:1}},vector:{vector:{fillOpacity:1}},box:{box:{fillOpacity:.95,stroke:t,lineWidth:1}},text:{text:{fill:"#1D2129",fontSize:12,lineWidth:0,connectorStroke:r,connectorStrokeOpacity:.45,connectorLineWidth:1,backgroundFill:r,backgroundFillOpacity:.15,backgroundPadding:[2,4],startMarkerSymbol:"circle",startMarkerSize:4,endMarkerSymbol:"circle",endMarkerSize:4},badge:{fill:"#1D2129",fillOpacity:.65,lineWidth:0,fontSize:10,textAlign:"center",textBaseline:"middle",markerFill:r,markerFillOpacity:.25,markerStrokeOpacity:0}},lineX:{line:{stroke:r,strokeOpacity:.45,lineWidth:1}},lineY:{line:{stroke:r,strokeOpacity:.45,lineWidth:1}},rangeX:{range:{fill:r,fillOpacity:.15,lineWidth:0}},rangeY:{range:{fill:r,fillOpacity:.15,lineWidth:0}},connector:{connector:{stroke:r,strokeOpacity:.45,lineWidth:1,connectLength1:12,endMarker:!0,endMarkerSize:6,endMarkerFill:r,endMarkerFillOpacity:.95}},axis:{arrow:!1,gridLineDash:[3,4],gridLineWidth:.5,gridStroke:t,gridStrokeOpacity:p,labelAlign:"horizontal",labelFill:t,labelOpacity:u,labelFontSize:12,labelFontWeight:"normal",labelSpacing:i,line:!1,lineLineWidth:.5,lineStroke:t,lineStrokeOpacity:u,tickLength:4,tickLineWidth:1,tickStroke:t,tickOpacity:u,titleFill:t,titleOpacity:l,titleFontSize:12,titleFontWeight:"normal",titleSpacing:12,titleTransformOrigin:"center",lineArrowOffset:6,lineArrowSize:6},axisTop:{gridDirection:"positive",labelDirection:"negative",tickDirection:"negative",titlePosition:"top",titleSpacing:12,labelSpacing:4,titleTextBaseline:"middle"},axisBottom:{gridDirection:"negative",labelDirection:"positive",tickDirection:"positive",titlePosition:"bottom",titleSpacing:12,labelSpacing:4,titleTextBaseline:"bottom",titleTransform:"translate(0, 8)"},axisLeft:{gridDirection:"positive",labelDirection:"negative",labelSpacing:4,tickDirection:"negative",titlePosition:"left",titleSpacing:12,titleTextBaseline:"middle",titleDirection:"vertical",titleTransform:"rotate(-90) translate(0, -8)",titleTransformOrigin:"center"},axisRight:{gridDirection:"negative",labelDirection:"positive",labelSpacing:4,tickDirection:"positive",titlePosition:"right",titleSpacing:12,titleTextBaseline:"top",titleDirection:"vertical",titleTransformOrigin:"center"},axisLinear:{girdClosed:!0,gridConnect:"arc",gridDirection:"negative",gridType:"surround",titlePosition:"top",titleSpacing:0},axisArc:{title:!1,titlePosition:"inner",line:!1,tick:!0,labelSpacing:4},axisRadar:{girdClosed:!0,gridStrokeOpacity:.3,gridType:"surround",label:!1,tick:!1,titlePosition:"start"},legendCategory:{backgroundFill:"transparent",itemBackgroundFill:"transparent",itemLabelFill:t,itemLabelFillOpacity:l,itemLabelFontSize:12,itemLabelFontWeight:"normal",itemMarkerFillOpacity:1,itemMarkerSize:8,itemSpacing:[i,i],itemValueFill:t,itemValueFillOpacity:.65,itemValueFontSize:12,itemValueFontWeight:"normal",navButtonFill:t,navButtonFillOpacity:.65,navPageNumFill:t,navPageNumFillOpacity:.45,navPageNumFontSize:12,padding:8,title:!1,titleFill:t,titleFillOpacity:.65,titleFontSize:12,titleFontWeight:"normal",titleSpacing:4,tickStroke:t,tickStrokeOpacity:.25,rowPadding:i,colPadding:o,maxRows:3,maxCols:3},legendContinuous:{handleHeight:12,handleLabelFill:t,handleLabelFillOpacity:u,handleLabelFontSize:12,handleLabelFontWeight:"normal",handleMarkerFill:t,handleMarkerFillOpacity:.6,handleMarkerLineWidth:1,handleMarkerStroke:t,handleMarkerStrokeOpacity:.25,handleWidth:10,labelFill:t,labelFillOpacity:u,labelFontSize:12,labelFontWeight:"normal",labelSpacing:3,tick:!0,tickLength:12,ribbonSize:12,ribbonFill:"#aaa",handle:!0,handleLabel:!1,handleShape:"slider",handleIconSize:12/1.8,indicator:!1,titleFontSize:12,titleSpacing:4,titleFontWeight:"normal",titleFillOpacity:l,tickStroke:t,tickStrokeOpacity:u},label:{fill:t,fillOpacity:.65,fontSize:12,fontWeight:"normal",stroke:void 0,offset:12,connectorStroke:t,connectorStrokeOpacity:.45,connectorLineWidth:1,connectorLength:12,connectorLength2:8,connectorDistance:4},innerLabel:{fill:n,fontSize:12,fillOpacity:.85,fontWeight:"normal",stroke:void 0,offset:0},htmlLabel:{fontSize:12,opacity:.65,color:t,fontWeight:"normal"},slider:{trackSize:16,trackFill:r,trackFillOpacity:1,selectionFill:e,selectionFillOpacity:.15,handleIconSize:10,handleIconFill:"#f7f7f7",handleIconFillOpacity:1,handleIconStroke:t,handleIconStrokeOpacity:.25,handleIconLineWidth:1,handleIconRadius:2,handleLabelFill:t,handleLabelFillOpacity:.45,handleLabelFontSize:12,handleLabelFontWeight:"normal"},scrollbar:{padding:[0,0,0,0],trackSize:6,isRound:!0,slidable:!0,scrollable:!0,trackFill:"#e5e5e5",trackFillOpacity:0,thumbFill:"#000",thumbFillOpacity:.15,thumbHighlightedFillOpacity:.2},title:{spacing:8,titleFill:t,titleFillOpacity:l,titleFontSize:16,titleFontWeight:"bold",titleTextBaseline:"top",subtitleFill:t,subtitleFillOpacity:c,subtitleFontSize:12,subtitleFontWeight:"normal",subtitleTextBaseline:"top"},tooltip:{css:{".g2-tooltip":{"font-family":"sans-serif"}}}}}hm.props={};let hy=hb({colorBlack:"#1D2129",colorWhite:"#ffffff",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),hE=e=>(0,nX.Z)({},hy,e);hE.props={};let hv=e=>(0,nX.Z)({},hE(),{category10:"category10",category20:"category20"},e);hv.props={};let hT=hb({colorBlack:"#fff",colorWhite:"#000",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.25}),h_=e=>(0,nX.Z)({},hT,{tooltip:{crosshairsStroke:"#fff",crosshairsLineWidth:1,crosshairsStrokeOpacity:.25,css:{".g2-tooltip":{background:"#1f1f1f",opacity:.95},".g2-tooltip-title":{color:"#A6A6A6"},".g2-tooltip-list-item-name-label":{color:"#A6A6A6"},".g2-tooltip-list-item-value":{color:"#A6A6A6"}}}},e),hS=e=>Object.assign({},h_(),{category10:"category10",category20:"category20"},e);hS.props={};let hA=hb({colorBlack:"#000",colorWhite:"#fff",colorStroke:"#888",colorDefault:"#4e79a7",colorBackground:"transparent",category10:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],category20:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),hO=e=>(0,nX.Z)({},hA,{text:{text:{fontSize:10}},axis:{gridLineDash:[0,0],gridLineWidth:1,gridStroke:"#ddd",gridStrokeOpacity:1,labelOpacity:1,labelStrokeOpacity:1,labelFontSize:10,line:!0,lineLineWidth:1,lineStroke:"#888",lineStrokeOpacity:1,tickLength:5,tickStrokeOpacity:1,titleOpacity:1,titleStrokeOpacity:1,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},axisLeft:{gridFilter:(e,t)=>0!==t},axisRight:{gridFilter:(e,t)=>0!==t},legendCategory:{itemLabelFillOpacity:1,itemLabelFontSize:10,itemValueFillOpacity:1,itemValueFontSize:10,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},legendContinuous:{handleLabelFontSize:10,labelFillOpacity:.45,labelFontSize:10},label:{fontSize:10},innerLabel:{fontSize:10},htmlLabel:{fontSize:10},slider:{handleLabelFontSize:10,trackFillOpacity:.05}},e);hO.props={};let hk=e=>(...t)=>{let n=aa(Object.assign({},{crossPadding:50},e))(...t);return ae(n,e),n};hk.props=Object.assign(Object.assign({},aa.props),{defaultPosition:"bottom"});let hx=e=>(...t)=>{let n=aa(Object.assign({},{crossPadding:10},e))(...t);return ae(n,e),n};hx.props=Object.assign(Object.assign({},aa.props),{defaultPosition:"left"});var hI=n(15103),hC=n(47965),hN=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let hw=e=>{let{labelFormatter:t,layout:n,order:r,orientation:a,position:i,size:o,title:s,cols:l,itemMarker:c}=e,u=hN(e,["labelFormatter","layout","order","orientation","position","size","title","cols","itemMarker"]),{gridRow:d}=u;return t=>{let{value:r,theme:a}=t,{bbox:o}=r,{width:c,height:p}=function(e,t,n){let{position:r}=t;if("center"===r){let{bbox:t}=e,{width:n,height:r}=t;return{width:n,height:r}}let{width:a,height:i}=r8(e,t,n);return{width:a,height:i}}(r,e,hw),f=r3(i,n),h=Object.assign(Object.assign(Object.assign(Object.assign({orientation:["right","left","center"].includes(i)?"vertical":"horizontal",width:c,height:p,layout:void 0!==l?"grid":"flex"},void 0!==l&&{gridCol:l}),void 0!==d&&{gridRow:d}),{titleText:r2(s)}),function(e,t){let{labelFormatter:n=e=>`${e}`}=e,{scales:r,theme:a}=t,i=a.legendCategory.itemMarkerSize,o=function(e,t){let n=r5(e,"size");return n instanceof f7.i?2*n.map(NaN):t}(r,i),s={itemMarker:function(e,t){let{scales:n,library:r,markState:a}=t,[i,o]=function(e,t){let n=r5(e,"shape"),r=r5(e,"color"),a=n?n.clone():null,i=[];for(let[e,n]of t){let t=e.type,o=(null==r?void 0:r.getOptions().domain.length)>0?null==r?void 0:r.getOptions().domain:n.data,s=o.map((t,r)=>{var i;return a?a.map(t||"point"):(null===(i=null==e?void 0:e.style)||void 0===i?void 0:i.shape)||n.defaultShape||"point"});"string"==typeof t&&i.push([t,s])}if(0===i.length)return["point",["point"]];if(1===i.length||!n)return i[0];let{range:o}=n.getOptions();return i.map(([e,t])=>{let n=0;for(let e=0;et[0]-e[0])[0][1]}(n,a),{itemMarker:s,itemMarkerSize:l}=e,c=(e,t)=>{var n,a,o;let s=(null===(o=null===(a=null===(n=r[`mark.${i}`])||void 0===n?void 0:n.props)||void 0===a?void 0:a.shape[e])||void 0===o?void 0:o.props.defaultMarker)||(0,hC.Z)(e.split(".")),c="function"==typeof l?l(t):l;return()=>(function(e,t){var{d:n,fill:r,lineWidth:a,path:i,stroke:o,color:s}=t,l=ne(t,["d","fill","lineWidth","path","stroke","color"]);let c=nI.get(e)||nI.get("point");return(...e)=>{let t=new t7.y$({style:Object.assign(Object.assign({},l),{d:c(...e),stroke:c.style.includes("stroke")?s||o:"",fill:c.style.includes("fill")?s||r:"",lineWidth:c.style.includes("lineWidth")?a||a||2:0})});return t}})(s,{color:t.color})(0,0,c)},u=e=>`${o[e]}`,d=r5(n,"shape");return d&&!s?(e,t)=>c(u(t),e):"function"==typeof s?(e,t)=>{let n=s(e.id,t);return"string"==typeof n?c(n,e):n}:(e,t)=>c(s||u(t),e)}(Object.assign(Object.assign({},e),{itemMarkerSize:o}),t),itemMarkerSize:o,itemMarkerOpacity:function(e){let t=r5(e,"opacity");if(t){let{range:e}=t.getOptions();return(t,n)=>e[n]}}(r)},l="string"==typeof n?ER(n):n,c=r5(r,"color"),u=r.find(e=>e.getOptions().domain.length>0).getOptions().domain,d=c?e=>c.map(e):()=>t.theme.color;return Object.assign(Object.assign({},s),{data:u.map(e=>({id:e,label:l(e),color:d(e)}))})}(e,t)),{legendCategory:g={}}=a,m=r9(Object.assign({},g,h,u)),b=new r6({style:Object.assign(Object.assign({x:o.x,y:o.y,width:o.width,height:o.height},f),{subOptions:m})});return b.appendChild(new hI.W({className:"legend-category",style:m})),b}};hw.props={defaultPosition:"top",defaultOrder:1,defaultSize:40,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let hR=e=>()=>new t7.ZA;hR.props={};var hL=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function hD(e,t,n,r){switch(r){case"center":return{x:e+n/2,y:t,textAlign:"middle"};case"right":return{x:e+n,y:t,textAlign:"right"};default:return{x:e,y:t,textAlign:"left"}}}let hP=(EI={render(e,t){let{width:n,title:r,subtitle:a,spacing:i=2,align:o="left",x:s,y:l}=e,c=hL(e,["width","title","subtitle","spacing","align","x","y"]);t.style.transform=`translate(${s}, ${l})`;let u=ri(c,"title"),d=ri(c,"subtitle"),p=r1(t,".title","text").attr("className","title").call(aD,Object.assign(Object.assign(Object.assign({},hD(0,0,n,o)),{fontSize:14,textBaseline:"top",text:r}),u)).node(),f=p.getLocalBounds();r1(t,".sub-title","text").attr("className","sub-title").call(e=>{if(!a)return e.node().remove();e.node().attr(Object.assign(Object.assign(Object.assign({},hD(0,f.max[1]+i,n,o)),{fontSize:12,textBaseline:"top",text:a}),d))})}},class extends t7.b_{constructor(e){super(e),this.descriptor=EI}connectedCallback(){var e,t;null===(t=(e=this.descriptor).render)||void 0===t||t.call(e,this.attributes,this)}update(e={}){var t,n;this.attr((0,nX.Z)({},this.attributes,e)),null===(n=(t=this.descriptor).render)||void 0===n||n.call(t,this.attributes,this)}}),hM=e=>({value:t,theme:n})=>{let{x:r,y:a,width:i,height:o}=t.bbox;return new hP({style:(0,nX.Z)({},n.title,Object.assign({x:r,y:a,width:i,height:o},e))})};hM.props={defaultPosition:"top",defaultOrder:2,defaultSize:36,defaultCrossPadding:[20,20],defaultPadding:[12,12]};var hF=n(10972),hB=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let hj=e=>{let{orientation:t,labelFormatter:n,size:r,style:a={},position:i}=e,o=hB(e,["orientation","labelFormatter","size","style","position"]);return r=>{var s;let{scales:[l],value:c,theme:u,coordinate:d}=r,{bbox:p}=c,{width:f,height:h}=p,{slider:g={}}=u,m=(null===(s=l.getFormatter)||void 0===s?void 0:s.call(l))||(e=>e+""),b="string"==typeof n?ER(n):n,y="horizontal"===t,E=rU(d)&&y,{trackSize:v=g.trackSize}=a,[T,_]=function(e,t,n){let{x:r,y:a,width:i,height:o}=e;return"left"===t?[r+i-n,a]:"right"===t||"bottom"===t?[r,a]:"top"===t?[r,a+o-n]:void 0}(p,i,v);return new hF.i({className:"slider",style:Object.assign({},g,Object.assign(Object.assign({x:T,y:_,trackLength:y?f:h,orientation:t,formatter:e=>{let t=iC(l,E?1-e:e,!0);return(b||m)(t)},sparklineData:function(e,t){let{markState:n}=t;return(0,rh.Z)(e.sparklineData)?e.sparklineData:function(e,t){let[n]=Array.from(e.entries()).filter(([e])=>"line"===e.type||"area"===e.type).filter(([e])=>e.slider).map(([e])=>{let{encode:n,slider:r}=e;if(null==r?void 0:r.x)return Object.fromEntries(t.map(e=>{let t=n[e];return[e,t?t.value:void 0]}))});if(!(null==n?void 0:n.series))return null==n?void 0:n.y;let r=n.series.reduce((e,t,r)=>(e[t]=e[t]||[],e[t].push(n.y[r]),e),{});return Object.values(r)}(n,["y","series"])}(e,r)},a),o))})}};hj.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let hU=e=>hj(Object.assign(Object.assign({},e),{orientation:"horizontal"}));hU.props=Object.assign(Object.assign({},hj.props),{defaultPosition:"bottom"});let hH=e=>hj(Object.assign(Object.assign({},e),{orientation:"vertical"}));hH.props=Object.assign(Object.assign({},hj.props),{defaultPosition:"left"});var hG=n(58241),h$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let hz=e=>{let{orientation:t,labelFormatter:n,style:r}=e,a=h$(e,["orientation","labelFormatter","style"]);return({scales:[e],value:n,theme:i})=>{let{bbox:o}=n,{x:s,y:l,width:c,height:u}=o,{scrollbar:d={}}=i,{ratio:p,range:f}=e.getOptions(),h="horizontal"===t?c:u,[g,m]=f;return new hG.L({className:"g2-scrollbar",style:Object.assign({},d,Object.assign(Object.assign(Object.assign(Object.assign({},r),{x:s,y:l,trackLength:h,value:m>g?0:1}),a),{orientation:t,contentLength:h/p,viewportLength:h}))})}};hz.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let hW=e=>hz(Object.assign(Object.assign({},e),{orientation:"horizontal"}));hW.props=Object.assign(Object.assign({},hz.props),{defaultPosition:"bottom"});let hY=e=>hz(Object.assign(Object.assign({},e),{orientation:"vertical"}));hY.props=Object.assign(Object.assign({},hz.props),{defaultPosition:"left"});let hV=(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,d]=rU(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],p=[{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.01},{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c}],f=i.animate(p,Object.assign(Object.assign({},a),e));return f}},hZ=(e,t)=>{let{coordinate:n}=t;return t7.ux.registerProperty({name:"scaleInYRadius",inherits:!1,initialValue:"",interpolable:!0,syntax:t7.h0.NUMBER}),(t,r,a)=>{let[i]=t;return rH(n)?(t=>{let{__data__:r,style:i}=t,{radius:o=0,inset:s=0,fillOpacity:l=1,strokeOpacity:c=1,opacity:u=1}=i,{points:d,y:p,y1:f}=r,h=aB(n,d,[p,f]),{innerRadius:g,outerRadius:m}=h,b=iK().cornerRadius(o).padAngle(s*Math.PI/180),y=new t7.y$({}),E=e=>{y.attr({d:b(e)});let t=(0,t7.YR)(y);return t},v=t.animate([{scaleInYRadius:g+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{scaleInYRadius:g+1e-4,fillOpacity:l,strokeOpacity:c,opacity:u,offset:.01},{scaleInYRadius:m,fillOpacity:l,strokeOpacity:c,opacity:u}],Object.assign(Object.assign({},a),e));return v.onframe=function(){t.style.d=E(Object.assign(Object.assign({},h),{outerRadius:Number(t.style.scaleInYRadius)}))},v.onfinish=function(){t.style.d=E(Object.assign(Object.assign({},h),{outerRadius:m}))},v})(i):(t=>{let{style:r}=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=r,[c,u]=rU(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],d=[{transform:`${i} ${u}`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${i} ${u}`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{transform:`${i} scale(1, 1)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l}],p=t.animate(d,Object.assign(Object.assign({},a),e));return p})(i)}},hq=(e,t)=>{t7.ux.registerProperty({name:"waveInArcAngle",inherits:!1,initialValue:"",interpolable:!0,syntax:t7.h0.NUMBER});let{coordinate:n}=t;return(r,a,i)=>{let[o]=r;if(!rH(n))return hV(e,t)(r,a,i);let{__data__:s,style:l}=o,{radius:c=0,inset:u=0,fillOpacity:d=1,strokeOpacity:p=1,opacity:f=1}=l,{points:h,y:g,y1:m}=s,b=iK().cornerRadius(c).padAngle(u*Math.PI/180),y=aB(n,h,[g,m]),{startAngle:E,endAngle:v}=y,T=o.animate([{waveInArcAngle:E+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{waveInArcAngle:E+1e-4,fillOpacity:d,strokeOpacity:p,opacity:f,offset:.01},{waveInArcAngle:v,fillOpacity:d,strokeOpacity:p,opacity:f}],Object.assign(Object.assign({},i),e));return T.onframe=function(){o.style.d=b(Object.assign(Object.assign({},y),{endAngle:Number(o.style.waveInArcAngle)}))},T.onfinish=function(){o.style.d=b(Object.assign(Object.assign({},y),{endAngle:v}))},T}};hq.props={};let hK=e=>(t,n,r)=>{let[a]=t,{fillOpacity:i=1,strokeOpacity:o=1,opacity:s=1}=a.style,l=[{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:i,strokeOpacity:o,opacity:s}];return a.animate(l,Object.assign(Object.assign({},r),e))};hK.props={};let hX=e=>(t,n,r)=>{let[a]=t,{fillOpacity:i=1,strokeOpacity:o=1,opacity:s=1}=a.style,l=[{fillOpacity:i,strokeOpacity:o,opacity:s},{fillOpacity:0,strokeOpacity:0,opacity:0}];return a.animate(l,Object.assign(Object.assign({},r),e))};hX.props={};let hQ=e=>(t,n,r)=>{var a;let[i]=t,o=(null===(a=i.getTotalLength)||void 0===a?void 0:a.call(i))||0,s=[{lineDash:[0,o]},{lineDash:[o,0]}];return i.animate(s,Object.assign(Object.assign({},r),e))};hQ.props={};let hJ={opacity:1,strokeOpacity:1,fillOpacity:1,lineWidth:0,x:0,y:0,cx:0,cy:0,r:0,rx:0,ry:0,width:0,height:0},h0={[t7.bn.CIRCLE]:["cx","cy","r"],[t7.bn.ELLIPSE]:["cx","cy","rx","ry"],[t7.bn.RECT]:["x","y","width","height"],[t7.bn.IMAGE]:["x","y","width","height"],[t7.bn.LINE]:["x1","y1","x2","y2"],[t7.bn.POLYLINE]:["points"],[t7.bn.POLYGON]:["points"]};function h1(e,t,n=!1){let r={};for(let a of t){let t=e.style[a];t?r[a]=t:n&&(r[a]=hJ[a])}return r}let h2=["fill","stroke","fillOpacity","strokeOpacity","opacity","lineWidth"];function h3(e){let{min:t,max:n}=e.getLocalBounds(),[r,a]=t,[i,o]=n;return[r,a,i-r,o-a]}function h4(e,t){let[n,r,a,i]=h3(e),o=Math.ceil(Math.sqrt(t/(i/a))),s=[],l=i/Math.ceil(t/o),c=0,u=t;for(;u>0;){let e=Math.min(u,o),t=a/e;for(let a=0;a{let e=c.style.d;rr(c,n),c.style.d=e,c.style.transform="none"},c.style.transform="none",e}return null}let h7=e=>(t,n,r)=>{let a=function(e="pack"){return"function"==typeof e?e:h4}(e.split),i=Object.assign(Object.assign({},r),e),{length:o}=t,{length:s}=n;if(1===o&&1===s||o>1&&s>1){let[e]=t,[r]=n;return h9(e,e,r,i)}if(1===o&&s>1){let[e]=t;return function(e,t,n,r){e.style.visibility="hidden";let a=r(e,t.length);return t.map((t,r)=>{let i=new t7.y$({style:Object.assign({d:a[r]},h1(e,h2))});return h9(t,i,t,n)})}(e,n,i,a)}if(o>1&&1===s){let[e]=n;return function(e,t,n,r){let a=r(t,e.length),{fillOpacity:i=1,strokeOpacity:o=1,opacity:s=1}=t.style,l=t.animate([{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:0,strokeOpacity:0,opacity:0,offset:.99},{fillOpacity:i,strokeOpacity:o,opacity:s}],n),c=e.map((e,r)=>{let i=new t7.y$({style:{d:a[r],fill:t.style.fill}});return h9(e,e,i,n)});return[...c,l]}(t,e,i,a)}return null};h7.props={};let ge=(e,t)=>(n,r,a)=>{let[i]=n,{min:[o,s],halfExtents:l}=i.getLocalBounds(),c=2*l[0],u=2*l[1],d=new t7.y$({style:{d:`M${o},${s}L${o+c},${s}L${o+c},${s+u}L${o},${s+u}Z`}});i.appendChild(d),i.style.clipPath=d;let p=hV(e,t)([d],r,a);return p};ge.props={};let gt=(e,t)=>(n,r,a)=>{let[i]=n,{min:[o,s],halfExtents:l}=i.getLocalBounds(),c=2*l[0],u=2*l[1],d=new t7.y$({style:{d:`M${o},${s}L${o+c},${s}L${o+c},${s+u}L${o},${s+u}Z`}});i.appendChild(d),i.style.clipPath=d;let p=hZ(e,t)([d],r,a);return p};gt.props={};var gn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function gr(e){var{delay:t,createGroup:n,background:r=!1,link:a=!1}=e,i=gn(e,["delay","createGroup","background","link"]);return(e,o,s)=>{let{container:l,view:c,options:u}=e,{scale:d,coordinate:p}=c,f=i9(l);return function(e,{elements:t,datum:n,groupKey:r=e=>e,link:a=!1,background:i=!1,delay:o=60,scale:s,coordinate:l,emitter:c,state:u={}}){var d;let p;let f=t(e),h=new Set(f),g=n2(f,r),m=ol(f,n),[b,y]=oc(Object.assign({elements:f,valueof:m,link:a,coordinate:l},ri(u.active,"link"))),[E,v,T]=od(Object.assign({document:e.ownerDocument,scale:s,coordinate:l,background:i,valueof:m},ri(u.active,"background"))),_=(0,nX.Z)(u,{active:Object.assign({},(null===(d=u.active)||void 0===d?void 0:d.offset)&&{transform:(...e)=>{let t=u.active.offset(...e),[,n]=e;return ou(f[n],t,l)}})}),{setState:S,removeState:A,hasState:O}=oi(_,m),k=e=>{let{target:t,nativeEvent:a=!0}=e;if(!h.has(t))return;p&&clearTimeout(p);let i=r(t),o=g.get(i),s=new Set(o);for(let e of f)s.has(e)?O(e,"active")||S(e,"active"):(S(e,"inactive"),y(e)),e!==t&&v(e);E(t),b(o),a&&c.emit("element:highlight",{nativeEvent:a,data:{data:n(t),group:o.map(n)}})},x=()=>{p&&clearTimeout(p),p=setTimeout(()=>{I(),p=null},o)},I=(e=!0)=>{for(let e of f)A(e,"active","inactive"),v(e),y(e);e&&c.emit("element:unhighlight",{nativeEvent:e})},C=e=>{let{target:t}=e;(!i||T(t))&&(i||h.has(t))&&(o>0?x():I())},N=()=>{I()};e.addEventListener("pointerover",k),e.addEventListener("pointerout",C),e.addEventListener("pointerleave",N);let w=e=>{let{nativeEvent:t}=e;t||I(!1)},R=e=>{let{nativeEvent:t}=e;if(t)return;let{data:r}=e.data,a=of(f,r,n);a&&k({target:a,nativeEvent:!1})};return c.on("element:highlight",R),c.on("element:unhighlight",w),()=>{for(let t of(e.removeEventListener("pointerover",k),e.removeEventListener("pointerout",C),e.removeEventListener("pointerleave",N),c.off("element:highlight",R),c.off("element:unhighlight",w),f))v(t),y(t)}}(f,Object.assign({elements:i6,datum:oa(c),groupKey:n?n(c):void 0,coordinate:p,scale:d,state:os(u,[["active",r?{}:{lineWidth:"1",stroke:"#000"}],"inactive"]),background:r,link:a,delay:t,emitter:s},i))}}function ga(e){return gr(Object.assign(Object.assign({},e),{createGroup:or}))}function gi(e){return gr(Object.assign(Object.assign({},e),{createGroup:on}))}gr.props={reapplyWhenUpdate:!0},ga.props={reapplyWhenUpdate:!0},gi.props={reapplyWhenUpdate:!0};var go=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function gs(e){var{createGroup:t,background:n=!1,link:r=!1}=e,a=go(e,["createGroup","background","link"]);return(e,i,o)=>{let{container:s,view:l,options:c}=e,{coordinate:u,scale:d}=l,p=i9(s);return function(e,{elements:t,datum:n,groupKey:r=e=>e,link:a=!1,single:i=!1,coordinate:o,background:s=!1,scale:l,emitter:c,state:u={}}){var d;let p=t(e),f=new Set(p),h=n2(p,r),g=ol(p,n),[m,b]=oc(Object.assign({link:a,elements:p,valueof:g,coordinate:o},ri(u.selected,"link"))),[y,E]=od(Object.assign({document:e.ownerDocument,background:s,coordinate:o,scale:l,valueof:g},ri(u.selected,"background"))),v=(0,nX.Z)(u,{selected:Object.assign({},(null===(d=u.selected)||void 0===d?void 0:d.offset)&&{transform:(...e)=>{let t=u.selected.offset(...e),[,n]=e;return ou(p[n],t,o)}})}),{setState:T,removeState:_,hasState:S}=oi(v,g),A=(e=!0)=>{for(let e of p)_(e,"selected","unselected"),b(e),E(e);e&&c.emit("element:unselect",{nativeEvent:!0})},O=(e,t,a=!0)=>{if(S(t,"selected"))A();else{let i=r(t),o=h.get(i),s=new Set(o);for(let e of p)s.has(e)?T(e,"selected"):(T(e,"unselected"),b(e)),e!==t&&E(e);if(m(o),y(t),!a)return;c.emit("element:select",Object.assign(Object.assign({},e),{nativeEvent:a,data:{data:[n(t),...o.map(n)]}}))}},k=(e,t,i=!0)=>{let o=r(t),s=h.get(o),l=new Set(s);if(S(t,"selected")){let e=p.some(e=>!l.has(e)&&S(e,"selected"));if(!e)return A();for(let e of s)T(e,"unselected"),b(e),E(e)}else{let e=s.some(e=>S(e,"selected"));for(let e of p)l.has(e)?T(e,"selected"):S(e,"selected")||T(e,"unselected");!e&&a&&m(s),y(t)}i&&c.emit("element:select",Object.assign(Object.assign({},e),{nativeEvent:i,data:{data:p.filter(e=>S(e,"selected")).map(n)}}))},x=e=>{let{target:t,nativeEvent:n=!0}=e;return f.has(t)?i?O(e,t,n):k(e,t,n):A()};e.addEventListener("click",x);let I=e=>{let{nativeEvent:t,data:r}=e;if(t)return;let a=i?r.data.slice(0,1):r.data;for(let e of a){let t=of(p,e,n);x({target:t,nativeEvent:!1})}},C=()=>{A(!1)};return c.on("element:select",I),c.on("element:unselect",C),()=>{for(let e of p)b(e);e.removeEventListener("click",x),c.off("element:select",I),c.off("element:unselect",C)}}(p,Object.assign({elements:i6,datum:oa(l),groupKey:t?t(l):void 0,coordinate:u,scale:d,state:os(c,[["selected",n?{}:{lineWidth:"1",stroke:"#000"}],"unselected"]),background:n,link:r,emitter:o},a))}}function gl(e){return gs(Object.assign(Object.assign({},e),{createGroup:or}))}function gc(e){return gs(Object.assign(Object.assign({},e),{createGroup:on}))}gs.props={reapplyWhenUpdate:!0},gl.props={reapplyWhenUpdate:!0},gc.props={reapplyWhenUpdate:!0};var gu=n(16677),gd=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function gp(e){var{wait:t=20,leading:n,trailing:r=!1,labelFormatter:a=e=>`${e}`}=e,i=gd(e,["wait","leading","trailing","labelFormatter"]);return e=>{let o;let{view:s,container:l,update:c,setState:u}=e,{markState:d,scale:p,coordinate:f}=s,h=function(e,t,n){let[r]=Array.from(e.entries()).filter(([e])=>e.type===t).map(([e])=>{let{encode:t}=e;return Object.fromEntries(n.map(e=>{let n=t[e];return[e,n?n.value:void 0]}))});return r}(d,"line",["x","y","series"]);if(!h)return;let{y:g,x:m,series:b=[]}=h,y=g.map((e,t)=>t),E=id(y.map(e=>m[e])),v=i9(l),T=l.getElementsByClassName(t3),_=l.getElementsByClassName(t8),S=n2(_,e=>e.__data__.key.split("-")[0]),A=new t7.x1({style:Object.assign({x1:0,y1:0,x2:0,y2:v.getAttribute("height"),stroke:"black",lineWidth:1},ri(i,"rule"))}),O=new t7.xv({style:Object.assign({x:0,y:v.getAttribute("height"),text:"",fontSize:10},ri(i,"label"))});A.append(O),v.appendChild(A);let k=(e,t,n)=>{let[r]=e.invert(n),a=t.invert(r);return E[ix(E,a)]},x=(e,t)=>{A.setAttribute("x1",e[0]),A.setAttribute("x2",e[0]),O.setAttribute("text",a(t))},I=e=>{let{scale:t,coordinate:n}=o,{x:r,y:a}=t,i=k(n,r,e);for(let t of(x(e,i),T)){let{seriesIndex:e,key:r}=t.__data__,o=e[iS(e=>m[+e]).center(e,i)],s=[0,a.map(1)],l=[0,a.map(g[o]/g[e[0]])],[,c]=n.map(s),[,u]=n.map(l),d=c-u;t.setAttribute("transform",`translate(0, ${d})`);let p=S.get(r)||[];for(let e of p)e.setAttribute("dy",d)}},C=(0,gu.Z)(e=>{let t=oe(v,e);t&&I(t)},t,{leading:n,trailing:r});return(e=>{var t,n,r,a;return t=this,n=void 0,r=void 0,a=function*(){let{x:t}=p,n=k(f,t,e);x(e,n),u("chartIndex",e=>{let t=(0,nX.Z)({},e),r=t.marks.find(e=>"line"===e.type),a=rw(n4(y,e=>rw(e,e=>+g[e])/l9(e,e=>+g[e]),e=>b[e]).values());(0,nX.Z)(r,{scale:{y:{domain:[1/a,a]}}});let i=function(e){let{transform:t=[]}=e,n=t.find(e=>"normalizeY"===e.type);if(n)return n;let r={type:"normalizeY"};return t.push(r),e.transform=t,r}(r);for(let e of(i.groupBy="color",i.basis=(e,t)=>{let r=e[iS(e=>m[+e]).center(e,n)];return t[r]},t.marks))e.animate=!1;return t});let r=yield c("chartIndex");o=r.view},new(r||(r=Promise))(function(e,i){function o(e){try{l(a.next(e))}catch(e){i(e)}}function s(e){try{l(a.throw(e))}catch(e){i(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof r?n:new r(function(e){e(n)})).then(o,s)}l((a=a.apply(t,n||[])).next())})})([0,0]),v.addEventListener("pointerenter",C),v.addEventListener("pointermove",C),v.addEventListener("pointerleave",C),()=>{A.remove(),v.removeEventListener("pointerenter",C),v.removeEventListener("pointermove",C),v.removeEventListener("pointerleave",C)}}}function gf(e,t){let n;let r=-1,a=-1;if(void 0===t)for(let t of e)++a,null!=t&&(n>t||void 0===n&&t>=t)&&(n=t,r=a);else for(let i of e)null!=(i=t(i,++a,e))&&(n>i||void 0===n&&i>=i)&&(n=i,r=a);return r}function gh(e,t){let n=0,r=0;if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(++n,r+=t);else{let a=-1;for(let i of e)null!=(i=t(i,++a,e))&&(i=+i)>=i&&(++n,r+=i)}if(n)return r/n}gp.props={reapplyWhenUpdate:!0};var gg=n(44082),gm=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function gb(e,t){if(t)return"string"==typeof t?document.querySelector(t):t;let n=e.ownerDocument.defaultView.getContextService().getDomElement();return n.parentElement}function gy({root:e,data:t,x:n,y:r,render:a,event:i,single:o,position:s="right-bottom",enterable:l=!1,css:c,mount:u,bounding:d,offset:p}){let f=gb(e,u),h=gb(e),g=o?h:e,m=d||function(e){let t=e.getRenderBounds(),{min:[n,r],max:[a,i]}=t;return{x:n,y:r,width:a-n,height:i-r}}(e),b=function(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:n.x-r.x,y:n.y-r.y}}(h,f),{tooltipElement:y=function(e,t,n,r,a,i,o,s={},l=[10,10]){let c=new gg.u({className:"tooltip",style:{x:t,y:n,container:o,data:[],bounding:i,position:r,enterable:a,title:"",offset:l,template:{prefixCls:"g2-"},style:(0,nX.Z)({".g2-tooltip":{},".g2-tooltip-title":{overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},s)}});return e.appendChild(c.HTMLTooltipElement),c}(f,n,r,s,l,m,b,c,p)}=g,{items:E,title:v=""}=t;y.update(Object.assign({x:n,y:r,data:E,title:v,position:s,enterable:l},void 0!==a&&{content:a(i,{items:E,title:v})})),g.tooltipElement=y}function gE({root:e,single:t,emitter:n,nativeEvent:r=!0,event:a=null}){r&&n.emit("tooltip:hide",{nativeEvent:r});let i=gb(e),o=t?i:e,{tooltipElement:s}=o;s&&s.hide(null==a?void 0:a.clientX,null==a?void 0:a.clientY),gO(e),gk(e),gx(e)}function gv({root:e,single:t}){let n=gb(e),r=t?n:e;if(!r)return;let{tooltipElement:a}=r;a&&(a.destroy(),r.tooltipElement=void 0),gO(e),gk(e),gx(e)}function gT(e){let{value:t}=e;return Object.assign(Object.assign({},e),{value:void 0===t?"undefined":t})}function g_(e){let t=e.getAttribute("fill"),n=e.getAttribute("stroke"),{__data__:r}=e,{color:a=t&&"transparent"!==t?t:n}=r;return a}function gS(e,t=e=>e){let n=new Map(e.map(e=>[t(e),e]));return Array.from(n.values())}function gA(e,t,n,r=e.map(e=>e.__data__),a={}){let i=e=>e instanceof Date?+e:e,o=gS(r.map(e=>e.title),i).filter(ra),s=r.flatMap((r,i)=>{let o=e[i],{items:s=[],title:l}=r,c=s.filter(ra),u=void 0!==n?n:s.length<=1;return c.map(e=>{var{color:n=g_(o)||a.color,name:i}=e,s=gm(e,["color","name"]);let c=function(e,t){let{color:n,series:r,facet:a=!1}=e,{color:i,series:o}=t;if(r&&r.invert&&!(r instanceof f8.t)&&!(r instanceof ac.s)){let e=r.clone();return e.invert(o)}if(o&&r instanceof f8.t&&r.invert(o)!==i&&!a)return r.invert(o);if(n&&n.invert&&!(n instanceof f8.t)&&!(n instanceof ac.s)){let e=n.invert(i);return Array.isArray(e)?null:e}return null}(t,r);return Object.assign(Object.assign({},s),{color:n,name:(u?c||i:i||c)||l})})}).map(gT);return Object.assign(Object.assign({},o.length>0&&{title:o.join(",")}),{items:gS(s,e=>`(${i(e.name)}, ${i(e.value)}, ${i(e.color)})`)})}function gO(e){e.ruleY&&(e.ruleY.remove(),e.ruleY=void 0)}function gk(e){e.ruleX&&(e.ruleX.remove(),e.ruleX=void 0)}function gx(e){e.markers&&(e.markers.forEach(e=>e.remove()),e.markers=[])}function gI(e,t){return Array.from(e.values()).some(e=>{var n;return null===(n=e.interaction)||void 0===n?void 0:n[t]})}function gC(e,t){return void 0===e?t:e}function gN(e){let{title:t,items:n}=e;return 0===n.length&&void 0===t}function gw(e,t){var{elements:n,sort:r,filter:a,scale:i,coordinate:o,crosshairs:s,crosshairsX:l,crosshairsY:c,render:u,groupName:d,emitter:p,wait:f=50,leading:h=!0,trailing:g=!1,startX:m=0,startY:b=0,body:y=!0,single:E=!0,position:v,enterable:T,mount:_,bounding:S,theme:A,offset:O,disableNative:k=!1,marker:x=!0,preserve:I=!1,style:C={},css:N={}}=t,w=gm(t,["elements","sort","filter","scale","coordinate","crosshairs","crosshairsX","crosshairsY","render","groupName","emitter","wait","leading","trailing","startX","startY","body","single","position","enterable","mount","bounding","theme","offset","disableNative","marker","preserve","style","css"]);let R=n(e),L=rU(o),D=rH(o),P=(0,nX.Z)(C,w),{innerWidth:M,innerHeight:F,width:B,height:j,insetLeft:U,insetTop:H}=o.getOptions(),G=[],$=[];for(let e of R){let{__data__:t}=e,{seriesX:n,title:r,items:a}=t;n?G.push(e):(r||a)&&$.push(e)}let z=$.length&&$.every(e=>"interval"===e.markType)&&!rH(o),W=e=>e.__data__.x,Y=!!i.x.getBandWidth,V=Y&&$.length>0;G.sort((e,t)=>{let n=L?0:1,r=e=>e.getBounds().min[n];return L?r(t)-r(e):r(e)-r(t)});let Z=e=>{let t=L?1:0,{min:n,max:r}=e.getLocalBounds();return id([n[t],r[t]])};z?R.sort((e,t)=>W(e)-W(t)):$.sort((e,t)=>{let[n,r]=Z(e),[a,i]=Z(t),o=(n+r)/2,s=(a+i)/2;return L?s-o:o-s});let q=new Map(G.map(e=>{let{__data__:t}=e,{seriesX:n}=t,r=n.map((e,t)=>t),a=id(r,e=>n[+e]);return[e,[a,n]]})),{x:K}=i,X=(null==K?void 0:K.getBandWidth)?K.getBandWidth()/2:0,Q=e=>{let[t]=o.invert(e);return t-X},J=(e,t,n,r)=>{let{_x:a}=e,i=void 0!==a?K.map(a):Q(t),o=r.filter(ra),[s,l]=id([o[0],o[o.length-1]]);if(!V&&(il)&&s!==l)return null;let c=iS(e=>r[+e]).center,u=c(n,i);return n[u]},ee=z?(e,t)=>{let n=iS(W).center,r=n(t,Q(e)),a=t[r],i=n2(t,W),o=i.get(W(a));return o}:(e,t)=>{let n=L?1:0,r=e[n],a=t.filter(e=>{let[t,n]=Z(e);return r>=t&&r<=n});if(!V||a.length>0)return a;let i=iS(e=>{let[t,n]=Z(e);return(t+n)/2}).center,o=i(t,r);return[t[o]].filter(ra)},et=(e,t)=>{let{__data__:n}=e;return Object.fromEntries(Object.entries(n).filter(([e])=>e.startsWith("series")&&"series"!==e).map(([e,n])=>{let r=n[t];return[(0,n8.Z)(e.replace("series","")),r]}))},en=(0,gu.Z)(t=>{var n;let f=oe(e,t);if(!f)return;let h=i7(e),g=h.min[0],k=h.min[1],I=[f[0]-m,f[1]-b];if(!I)return;let C=ee(I,$),w=[],R=[];for(let e of G){let[n,r]=q.get(e),a=J(t,I,n,r);if(null!==a){w.push(e);let t=et(e,a),{x:n,y:r}=t,i=o.map([(n||0)+X,r||0]);R.push([Object.assign(Object.assign({},t),{element:e}),i])}}let z=Array.from(new Set(R.map(e=>e[0].x))),W=z[gf(z,e=>Math.abs(e-Q(I)))],Y=R.filter(e=>e[0].x===W),V=[...Y.map(e=>e[0]),...C.map(e=>e.__data__)],Z=[...w,...C],K=gA(Z,i,d,V,A);if(r&&K.items.sort((e,t)=>r(e)-r(t)),a&&(K.items=K.items.filter(a)),0===Z.length||gN(K)){er(t);return}if(y&&gy({root:e,data:K,x:f[0]+g,y:f[1]+k,render:u,event:t,single:E,position:v,enterable:T,mount:_,bounding:S,css:N,offset:O}),s||l||c){let t=ri(P,"crosshairs"),n=Object.assign(Object.assign({},t),ri(P,"crosshairsX")),r=Object.assign(Object.assign({},t),ri(P,"crosshairsY")),a=Y.map(e=>e[1]);l&&function(e,t,n,r){var{plotWidth:a,plotHeight:i,mainWidth:o,mainHeight:s,startX:l,startY:c,transposed:u,polar:d,insetLeft:p,insetTop:f}=r,h=gm(r,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let g=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},h),m=((e,t)=>{if(1===t.length)return t[0];let n=t.map(t=>aI(t,e)),r=gf(n,e=>e);return t[r]})(n,t);if(d){let[t,n,r]=(()=>{let e=l+p+o/2,t=c+f+s/2,n=aI([e,t],m);return[e,t,n]})(),a=e.ruleX||((t,n,r)=>{let a=new t7.Cd({style:Object.assign({cx:t,cy:n,r},g)});return e.appendChild(a),a})(t,n,r);a.style.cx=t,a.style.cy=n,a.style.r=r,e.ruleX=a}else{let[t,n,r,o]=u?[l+m[0],l+m[0],c,c+i]:[l,l+a,m[1]+c,m[1]+c],s=e.ruleX||((t,n,r,a)=>{let i=new t7.x1({style:Object.assign({x1:t,x2:n,y1:r,y2:a},g)});return e.appendChild(i),i})(t,n,r,o);s.style.x1=t,s.style.x2=n,s.style.y1=r,s.style.y2=o,e.ruleX=s}}(e,a,f,Object.assign(Object.assign({},n),{plotWidth:M,plotHeight:F,mainWidth:B,mainHeight:j,insetLeft:U,insetTop:H,startX:m,startY:b,transposed:L,polar:D})),c&&function(e,t,n){var{plotWidth:r,plotHeight:a,mainWidth:i,mainHeight:o,startX:s,startY:l,transposed:c,polar:u,insetLeft:d,insetTop:p}=n,f=gm(n,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let h=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},f),g=t.map(e=>e[1]),m=t.map(e=>e[0]),b=gh(g),y=gh(m),[E,v,T,_]=(()=>{if(u){let e=Math.min(i,o)/2,t=s+d+i/2,n=l+p+o/2,r=aC(ax([y,b],[t,n])),a=t+e*Math.cos(r),c=n+e*Math.sin(r);return[t,a,n,c]}return c?[s,s+r,b+l,b+l]:[y+s,y+s,l,l+a]})();if(m.length>0){let t=e.ruleY||(()=>{let t=new t7.x1({style:Object.assign({x1:E,x2:v,y1:T,y2:_},h)});return e.appendChild(t),t})();t.style.x1=E,t.style.x2=v,t.style.y1=T,t.style.y2=_,e.ruleY=t}}(e,a,Object.assign(Object.assign({},r),{plotWidth:M,plotHeight:F,mainWidth:B,mainHeight:j,insetLeft:U,insetTop:H,startX:m,startY:b,transposed:L,polar:D}))}if(x){let t=ri(P,"marker");!function(e,{data:t,style:n,theme:r}){e.markers&&e.markers.forEach(e=>e.remove());let{type:a=""}=n,i=t.filter(e=>{let[{x:t,y:n}]=e;return ra(t)&&ra(n)}).map(e=>{let[{color:t,element:i},o]=e,s=t||i.style.fill||i.style.stroke||r.color,l=new t7.Cd({className:"g2-tooltip-marker",style:Object.assign({cx:o[0],cy:o[1],fill:"hollow"===a?"transparent":s,r:4,stroke:"hollow"===a?s:"#fff",lineWidth:2},n)});return l});for(let t of i)e.appendChild(t);e.markers=i}(e,{data:Y,style:t,theme:A})}let en=null===(n=Y[0])||void 0===n?void 0:n[0].x,ea=null!=en?en:Q(I);p.emit("tooltip:show",Object.assign(Object.assign({},t),{nativeEvent:!0,data:{data:{x:iC(i.x,ea,!0)}}}))},f,{leading:h,trailing:g}),er=t=>{gE({root:e,single:E,emitter:p,event:t})},ea=()=>{gv({root:e,single:E})},ei=t=>{var n,{nativeEvent:r,data:a,offsetX:s,offsetY:l}=t,c=gm(t,["nativeEvent","data","offsetX","offsetY"]);if(r)return;let u=null===(n=null==a?void 0:a.data)||void 0===n?void 0:n.x,d=i.x,p=d.map(u),[f,h]=o.map([p,.5]),g=e.getRenderBounds(),m=g.min[0],b=g.min[1];en(Object.assign(Object.assign({},c),{offsetX:void 0!==s?s:m+f,offsetY:void 0!==l?l:b+h,_x:u}))},eo=()=>{gE({root:e,single:E,emitter:p,nativeEvent:!1})},es=()=>{eu(),ea()},el=()=>{ec()},ec=()=>{k||(e.addEventListener("pointerenter",en),e.addEventListener("pointermove",en),e.addEventListener("pointerleave",t=>{oe(e,t)||er(t)}))},eu=()=>{k||(e.removeEventListener("pointerenter",en),e.removeEventListener("pointermove",en),e.removeEventListener("pointerleave",er))};return ec(),p.on("tooltip:show",ei),p.on("tooltip:hide",eo),p.on("tooltip:disable",es),p.on("tooltip:enable",el),()=>{eu(),p.off("tooltip:show",ei),p.off("tooltip:hide",eo),p.off("tooltip:disable",es),p.off("tooltip:enable",el),I?gE({root:e,single:E,emitter:p,nativeEvent:!1}):ea()}}function gR(e){let{shared:t,crosshairs:n,crosshairsX:r,crosshairsY:a,series:i,name:o,item:s=()=>({}),facet:l=!1}=e,c=gm(e,["shared","crosshairs","crosshairsX","crosshairsY","series","name","item","facet"]);return(e,o,u)=>{let{container:d,view:p}=e,{scale:f,markState:h,coordinate:g,theme:m}=p,b=gI(h,"seriesTooltip"),y=gI(h,"crosshairs"),E=i9(d),v=gC(i,b),T=gC(n,y);if(v&&Array.from(h.values()).some(e=>{var t;return(null===(t=e.interaction)||void 0===t?void 0:t.seriesTooltip)&&e.tooltip})&&!l)return gw(E,Object.assign(Object.assign({},c),{theme:m,elements:i6,scale:f,coordinate:g,crosshairs:T,crosshairsX:gC(gC(r,n),!1),crosshairsY:gC(a,T),item:s,emitter:u}));if(v&&l){let t=o.filter(t=>t!==e&&t.options.parentKey===e.options.key),i=i5(e,o),l=t[0].view.scale,d=E.getBounds(),p=d.min[0],f=d.min[1];return Object.assign(l,{facet:!0}),gw(E.parentNode.parentNode,Object.assign(Object.assign({},c),{theme:m,elements:()=>i,scale:l,coordinate:g,crosshairs:gC(n,y),crosshairsX:gC(gC(r,n),!1),crosshairsY:gC(a,T),item:s,startX:p,startY:f,emitter:u}))}return function(e,{elements:t,coordinate:n,scale:r,render:a,groupName:i,sort:o,filter:s,emitter:l,wait:c=50,leading:u=!0,trailing:d=!1,groupKey:p=e=>e,single:f=!0,position:h,enterable:g,datum:m,view:b,mount:y,bounding:E,theme:v,offset:T,shared:_=!1,body:S=!0,disableNative:A=!1,preserve:O=!1,css:k={}}){var x,I;let C=t(e),N=n2(C,p),w=C.every(e=>"interval"===e.markType)&&!rH(n),R=r.x,L=r.series,D=null!==(I=null===(x=null==R?void 0:R.getBandWidth)||void 0===x?void 0:x.call(R))&&void 0!==I?I:0,P=L?e=>e.__data__.x+e.__data__.series*D:e=>e.__data__.x+D/2;w&&C.sort((e,t)=>P(e)-P(t));let M=e=>{let{target:t}=e;return ob(t,e=>!!e.classList&&e.classList.includes("element"))},F=w?t=>{let r=oe(e,t);if(!r)return;let[a]=n.invert(r),i=iS(P).center,o=i(C,a),s=C[o];if(!_){let e=C.find(e=>e!==s&&P(e)===P(s));if(e)return M(t)}return s}:M,B=(0,gu.Z)(t=>{let n=F(t);if(!n){gE({root:e,single:f,emitter:l,event:t});return}let c=p(n),u=N.get(c);if(!u)return;let d=1!==u.length||_?gA(u,r,i,void 0,v):function(e){let{__data__:t}=e,{title:n,items:r=[]}=t,a=r.filter(ra).map(t=>{var{color:n=g_(e)}=t;return Object.assign(Object.assign({},gm(t,["color"])),{color:n})}).map(gT);return Object.assign(Object.assign({},n&&{title:n}),{items:a})}(u[0]);if(o&&d.items.sort((e,t)=>o(e)-o(t)),s&&(d.items=d.items.filter(s)),gN(d)){gE({root:e,single:f,emitter:l,event:t});return}let{offsetX:m,offsetY:A}=t;S&&gy({root:e,data:d,x:m,y:A,render:a,event:t,single:f,position:h,enterable:g,mount:y,bounding:E,css:k,offset:T}),l.emit("tooltip:show",Object.assign(Object.assign({},t),{nativeEvent:!0,data:{data:oy(n,b)}}))},c,{leading:u,trailing:d}),j=t=>{gE({root:e,single:f,emitter:l,event:t})},U=()=>{A||(e.addEventListener("pointermove",B),e.addEventListener("pointerleave",j))},H=()=>{A||(e.removeEventListener("pointermove",B),e.removeEventListener("pointerleave",j))},G=({nativeEvent:t,offsetX:n,offsetY:r,data:a})=>{if(t)return;let{data:i}=a,o=of(C,i,m);if(!o)return;let s=o.getBBox(),{x:l,y:c,width:u,height:d}=s,p=e.getBBox();B({target:o,offsetX:void 0!==n?n+p.x:l+u/2,offsetY:void 0!==r?r+p.y:c+d/2})},$=({nativeEvent:t}={})=>{t||gE({root:e,single:f,emitter:l,nativeEvent:!1})};return l.on("tooltip:show",G),l.on("tooltip:hide",$),l.on("tooltip:enable",()=>{U()}),l.on("tooltip:disable",()=>{H(),gv({root:e,single:f})}),U(),()=>{H(),l.off("tooltip:show",G),l.off("tooltip:hide",$),O?gE({root:e,single:f,emitter:l,nativeEvent:!1}):gv({root:e,single:f})}}(E,Object.assign(Object.assign({},c),{datum:oa(p),elements:i6,scale:f,coordinate:g,groupKey:t?or(p):void 0,item:s,emitter:u,view:p,theme:m,shared:t}))}}gR.props={reapplyWhenUpdate:!0};var gL=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};let gD="legend-category";function gP(e){return e.getElementsByClassName("legend-category-item-marker")[0]}function gM(e){return e.getElementsByClassName("legend-category-item-label")[0]}function gF(e){return e.getElementsByClassName("items-item")}function gB(e){return e.getElementsByClassName(gD)}function gj(e){return e.getElementsByClassName("legend-continuous")}function gU(e){let t=e.parentNode;for(;t&&!t.__data__;)t=t.parentNode;return t.__data__}function gH(e,{legend:t,channel:n,value:r,ordinal:a,channels:i,allChannels:o,facet:s=!1}){return gL(this,void 0,void 0,function*(){let{view:l,update:c,setState:u}=e;u(t,e=>{let{marks:t}=e,c=t.map(e=>{if("legends"===e.type)return e;let{transform:t=[],data:c=[]}=e,u=t.findIndex(({type:e})=>e.startsWith("group")||e.startsWith("bin")),d=[...t];c.length&&d.splice(u+1,0,{type:"filter",[n]:{value:r,ordinal:a}});let p=Object.fromEntries(i.map(e=>[e,{domain:l.scale[e].getOptions().domain}]));return(0,nX.Z)({},e,Object.assign(Object.assign({transform:d,scale:p},!a&&{animate:!1}),{legend:!s&&Object.fromEntries(o.map(e=>[e,{preserve:!0}]))}))});return Object.assign(Object.assign({},e),{marks:c})}),yield c()})}function gG(e,t){for(let n of e)gH(n,Object.assign(Object.assign({},t),{facet:!0}))}var g$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function gz(e,t){for(let[n,r]of Object.entries(t))e.style(n,r)}let gW=a2(e=>{let t=e.attributes,{x:n,y:r,width:a,height:i,class:o,renders:s={},handleSize:l=10,document:c}=t,u=g$(t,["x","y","width","height","class","renders","handleSize","document"]);if(!c||void 0===a||void 0===i||void 0===n||void 0===r)return;let d=l/2,p=(e,t,n)=>{e.handle||(e.handle=n.createElement("rect"),e.append(e.handle));let{handle:r}=e;return r.attr(t),r},f=ri(rs(u,"handleNW","handleNE"),"handleN"),{render:h=p}=f,g=g$(f,["render"]),m=ri(u,"handleE"),{render:b=p}=m,y=g$(m,["render"]),E=ri(rs(u,"handleSE","handleSW"),"handleS"),{render:v=p}=E,T=g$(E,["render"]),_=ri(u,"handleW"),{render:S=p}=_,A=g$(_,["render"]),O=ri(u,"handleNW"),{render:k=p}=O,x=g$(O,["render"]),I=ri(u,"handleNE"),{render:C=p}=I,N=g$(I,["render"]),w=ri(u,"handleSE"),{render:R=p}=w,L=g$(w,["render"]),D=ri(u,"handleSW"),{render:P=p}=D,M=g$(D,["render"]),F=(e,t)=>{let{id:n}=e,r=t(e,e.attributes,c);r.id=n,r.style.draggable=!0},B=e=>()=>{let t=a2(t=>F(t,e));return new t({})},j=rd(e).attr("className",o).style("transform",`translate(${n}, ${r})`).style("draggable",!0);j.maybeAppend("selection","rect").style("draggable",!0).style("fill","transparent").call(gz,Object.assign(Object.assign({width:a,height:i},rs(u,"handle")),{transform:void 0})),j.maybeAppend("handle-n",B(h)).style("x",d).style("y",-d).style("width",a-l).style("height",l).style("fill","transparent").call(gz,g),j.maybeAppend("handle-e",B(b)).style("x",a-d).style("y",d).style("width",l).style("height",i-l).style("fill","transparent").call(gz,y),j.maybeAppend("handle-s",B(v)).style("x",d).style("y",i-d).style("width",a-l).style("height",l).style("fill","transparent").call(gz,T),j.maybeAppend("handle-w",B(S)).style("x",-d).style("y",d).style("width",l).style("height",i-l).style("fill","transparent").call(gz,A),j.maybeAppend("handle-nw",B(k)).style("x",-d).style("y",-d).style("width",l).style("height",l).style("fill","transparent").call(gz,x),j.maybeAppend("handle-ne",B(C)).style("x",a-d).style("y",-d).style("width",l).style("height",l).style("fill","transparent").call(gz,N),j.maybeAppend("handle-se",B(R)).style("x",a-d).style("y",i-d).style("width",l).style("height",l).style("fill","transparent").call(gz,L),j.maybeAppend("handle-sw",B(P)).style("x",-d).style("y",i-d).style("width",l).style("height",l).style("fill","transparent").call(gz,M)});function gY(e,t){var{brushed:n=()=>{},brushended:r=()=>{},brushcreated:a=()=>{},brushstarted:i=()=>{},brushupdated:o=()=>{},extent:s=function(e){let{width:t,height:n}=e.getBBox();return[0,0,t,n]}(e),brushRegion:l=(e,t,n,r,a)=>[e,t,n,r],reverse:c=!1,fill:u="#777",fillOpacity:d="0.3",stroke:p="#fff",selectedHandles:f=["handle-n","handle-e","handle-s","handle-w","handle-nw","handle-ne","handle-se","handle-sw"]}=t,h=g$(t,["brushed","brushended","brushcreated","brushstarted","brushupdated","extent","brushRegion","reverse","fill","fillOpacity","stroke","selectedHandles"]);let g=null,m=null,b=null,y=null,E=null,v=!1,[T,_,S,A]=s;op(e,"crosshair"),e.style.draggable=!0;let O=(e,t,n)=>{if(i(n),y&&y.remove(),E&&E.remove(),g=[e,t],c)return k();x()},k=()=>{E=new t7.y$({style:Object.assign(Object.assign({},h),{fill:u,fillOpacity:d,stroke:p,pointerEvents:"none"})}),y=new gW({style:{x:0,y:0,width:0,height:0,draggable:!0,document:e.ownerDocument},className:"mask"}),e.appendChild(E),e.appendChild(y)},x=()=>{y=new gW({style:Object.assign(Object.assign({document:e.ownerDocument,x:0,y:0},h),{fill:u,fillOpacity:d,stroke:p,draggable:!0}),className:"mask"}),e.appendChild(y)},I=(e=!0)=>{y&&y.remove(),E&&E.remove(),g=null,m=null,b=null,v=!1,y=null,E=null,r(e)},C=(e,t,r=!0)=>{let[a,i,o,u]=function(e,t,n,r,a){let[i,o,s,l]=a;return[Math.max(i,Math.min(e,n)),Math.max(o,Math.min(t,r)),Math.min(s,Math.max(e,n)),Math.min(l,Math.max(t,r))]}(e[0],e[1],t[0],t[1],s),[d,p,f,h]=l(a,i,o,u,s);return c?w(d,p,f,h):N(d,p,f,h),n(d,p,f,h,r),[d,p,f,h]},N=(e,t,n,r)=>{y.style.x=e,y.style.y=t,y.style.width=n-e,y.style.height=r-t},w=(e,t,n,r)=>{E.style.d=` + M${T},${_}L${S},${_}L${S},${A}L${T},${A}Z + M${e},${t}L${e},${r}L${n},${r}L${n},${t}Z + `,y.style.x=e,y.style.y=t,y.style.width=n-e,y.style.height=r-t},R=e=>{let t=(e,t,n,r,a)=>e+ta?a-n:e,n=e[0]-b[0],r=e[1]-b[1],a=t(n,g[0],m[0],T,S),i=t(r,g[1],m[1],_,A),o=[g[0]+a,g[1]+i],s=[m[0]+a,m[1]+i];C(o,s)},L={"handle-n":{vector:[0,1,0,0],cursor:"ns-resize"},"handle-e":{vector:[0,0,1,0],cursor:"ew-resize"},"handle-s":{vector:[0,0,0,1],cursor:"ns-resize"},"handle-w":{vector:[1,0,0,0],cursor:"ew-resize"},"handle-nw":{vector:[1,1,0,0],cursor:"nwse-resize"},"handle-ne":{vector:[0,1,1,0],cursor:"nesw-resize"},"handle-se":{vector:[0,0,1,1],cursor:"nwse-resize"},"handle-sw":{vector:[1,0,0,1],cursor:"nesw-resize"}},D=e=>M(e)||P(e),P=e=>{let{id:t}=e;return -1!==f.indexOf(t)&&new Set(Object.keys(L)).has(t)},M=e=>e===y.getElementById("selection"),F=t=>{let{target:n}=t,[r,a]=ot(e,t);if(!y||!D(n)){O(r,a,t),v=!0;return}D(n)&&(b=[r,a])},B=t=>{let{target:n}=t,r=ot(e,t);if(!g)return;if(!b)return C(g,r);if(M(n))return R(r);let[a,i]=[r[0]-b[0],r[1]-b[1]],{id:o}=n;if(L[o]){let[e,t,n,r]=L[o].vector;return C([g[0]+a*e,g[1]+i*t],[m[0]+a*n,m[1]+i*r])}},j=t=>{if(b){b=null;let{x:e,y:n,width:r,height:a}=y.style;g=[e,n],m=[e+r,n+a],o(e,n,e+r,n+a,t);return}m=ot(e,t);let[n,r,i,s]=C(g,m);v=!1,a(n,r,i,s,t)},U=e=>{let{target:t}=e;y&&!D(t)&&I()},H=t=>{let{target:n}=t;y&&D(n)&&!v?M(n)?op(e,"move"):P(n)&&op(e,L[n.id].cursor):op(e,"crosshair")},G=()=>{op(e,"default")};return e.addEventListener("dragstart",F),e.addEventListener("drag",B),e.addEventListener("dragend",j),e.addEventListener("click",U),e.addEventListener("pointermove",H),e.addEventListener("pointerleave",G),{mask:y,move(e,t,n,r,a=!0){y||O(e,t,{}),g=[e,t],m=[n,r],C([e,t],[n,r],a)},remove(e=!0){y&&I(e)},destroy(){y&&I(!1),op(e,"default"),e.removeEventListener("dragstart",F),e.removeEventListener("drag",B),e.removeEventListener("dragend",j),e.removeEventListener("click",U),e.removeEventListener("pointermove",H),e.removeEventListener("pointerleave",G)}}}function gV(e,t,n){return t.filter(t=>{if(t===e)return!1;let{interaction:r={}}=t.options;return Object.values(r).find(e=>e.brushKey===n)})}function gZ(e,t){var{elements:n,selectedHandles:r,siblings:a=e=>[],datum:i,brushRegion:o,extent:s,reverse:l,scale:c,coordinate:u,series:d=!1,key:p=e=>e,bboxOf:f=e=>{let{x:t,y:n,width:r,height:a}=e.style;return{x:t,y:n,width:r,height:a}},state:h={},emitter:g}=t,m=g$(t,["elements","selectedHandles","siblings","datum","brushRegion","extent","reverse","scale","coordinate","series","key","bboxOf","state","emitter"]);let b=n(e),y=a(e),E=y.flatMap(n),v=ol(b,i),T=ri(m,"mask"),{setState:_,removeState:S}=oi(h,v),A=new Map,{width:O,height:k,x:x=0,y:I=0}=f(e),C=()=>{for(let e of[...b,...E])S(e,"active","inactive")},N=(e,t,n,r)=>{var a;for(let e of y)null===(a=e.brush)||void 0===a||a.remove();let i=new Set;for(let a of b){let{min:o,max:s}=a.getLocalBounds(),[l,c]=o,[u,d]=s;!function(e,t){let[n,r,a,i]=e,[o,s,l,c]=t;return!(o>a||li||c{for(let e of b)S(e,"inactive");for(let e of A.values())e.remove();A.clear()},R=(t,n,r,a)=>{let i=e=>{let t=e.cloneNode();return t.__data__=e.__data__,e.parentNode.appendChild(t),A.set(e,t),t},o=new t7.UL({style:{x:t+x,y:n+I,width:r-t,height:a-n}});for(let t of(e.appendChild(o),b)){let e=A.get(t)||i(t);e.style.clipPath=o,_(t,"inactive"),_(e,"active")}},L=gY(e,Object.assign(Object.assign({},T),{extent:s||[0,0,O,k],brushRegion:o,reverse:l,selectedHandles:r,brushended:e=>{let t=d?w:C;e&&g.emit("brush:remove",{nativeEvent:!0}),t()},brushed:(e,t,n,r,a)=>{let i=iw(e,t,n,r,c,u);a&&g.emit("brush:highlight",{nativeEvent:!0,data:{selection:i}});let o=d?R:N;o(e,t,n,r)},brushcreated:(e,t,n,r,a)=>{let i=iw(e,t,n,r,c,u);g.emit("brush:end",Object.assign(Object.assign({},a),{nativeEvent:!0,data:{selection:i}}))},brushupdated:(e,t,n,r,a)=>{let i=iw(e,t,n,r,c,u);g.emit("brush:end",Object.assign(Object.assign({},a),{nativeEvent:!0,data:{selection:i}}))},brushstarted:e=>{g.emit("brush:start",e)}})),D=({nativeEvent:e,data:t})=>{if(e)return;let{selection:n}=t,[r,a,i,o]=function(e,t,n){let{x:r,y:a}=t,[i,o]=e,s=iR(i,r),l=iR(o,a),c=[s[0],l[0]],u=[s[1],l[1]],[d,p]=n.map(c),[f,h]=n.map(u);return[d,p,f,h]}(n,c,u);L.move(r,a,i,o,!1)};g.on("brush:highlight",D);let P=({nativeEvent:e}={})=>{e||L.remove(!1)};g.on("brush:remove",P);let M=L.destroy.bind(L);return L.destroy=()=>{g.off("brush:highlight",D),g.off("brush:remove",P),M()},L}function gq(e){var{facet:t,brushKey:n}=e,r=g$(e,["facet","brushKey"]);return(e,a,i)=>{let{container:o,view:s,options:l}=e,c=i9(o),u={maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",reverse:!1},d=["active",["inactive",{opacity:.5}]],{scale:p,coordinate:f}=s;if(t){let t=c.getBounds(),n=t.min[0],o=t.min[1],s=t.max[0],l=t.max[1];return gZ(c.parentNode.parentNode,Object.assign(Object.assign({elements:()=>i5(e,a),datum:oa(i8(e,a).map(e=>e.view)),brushRegion:(e,t,n,r)=>[e,t,n,r],extent:[n,o,s,l],state:os(i8(e,a).map(e=>e.options),d),emitter:i,scale:p,coordinate:f,selectedHandles:void 0},u),r))}let h=gZ(c,Object.assign(Object.assign({elements:i6,key:e=>e.__data__.key,siblings:()=>gV(e,a,n).map(e=>i9(e.container)),datum:oa([s,...gV(e,a,n).map(e=>e.view)]),brushRegion:(e,t,n,r)=>[e,t,n,r],extent:void 0,state:os([l,...gV(e,a,n).map(e=>e.options)],d),emitter:i,scale:p,coordinate:f,selectedHandles:void 0},u),r));return c.brush=h,()=>h.destroy()}}function gK(e,t,n,r,a){let[,i,,o]=a;return[e,i,n,o]}function gX(e,t,n,r,a){let[i,,o]=a;return[i,t,o,r]}var gQ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let gJ="axis-hot-area";function g0(e){return e.getElementsByClassName("axis")}function g1(e){return e.getElementsByClassName("axis-line")[0]}function g2(e){return e.getElementsByClassName("axis-main-group")[0].getLocalBounds()}function g3(e,t){var{cross:n,offsetX:r,offsetY:a}=t,i=gQ(t,["cross","offsetX","offsetY"]);let o=g2(e),s=g1(e),[l]=s.getLocalBounds().min,[c,u]=o.min,[d,p]=o.max,f=(d-c)*2;return{brushRegion:gX,hotZone:new t7.UL({className:gJ,style:Object.assign({width:n?f/2:f,transform:`translate(${(n?c:l-f/2).toFixed(2)}, ${u})`,height:p-u},i)}),extent:n?(e,t,n,r)=>[-1/0,t,1/0,r]:(e,t,n,a)=>[Math.floor(c-r),t,Math.ceil(d-r),a]}}function g4(e,t){var{offsetY:n,offsetX:r,cross:a=!1}=t,i=gQ(t,["offsetY","offsetX","cross"]);let o=g2(e),s=g1(e),[,l]=s.getLocalBounds().min,[c,u]=o.min,[d,p]=o.max,f=p-u;return{brushRegion:gK,hotZone:new t7.UL({className:gJ,style:Object.assign({width:d-c,height:a?f:2*f,transform:`translate(${c}, ${a?u:l-f})`},i)}),extent:a?(e,t,n,r)=>[e,-1/0,n,1/0]:(e,t,r,a)=>[e,Math.floor(u-n),r,Math.ceil(p-n)]}}var g6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function g5(e){var{hideX:t=!0,hideY:n=!0}=e,r=g6(e,["hideX","hideY"]);return(e,a,i)=>{let{container:o,view:s,options:l,update:c,setState:u}=e,d=i9(o),p=!1,f=!1,h=s,{scale:g,coordinate:m}=s;return function(e,t){var{filter:n,reset:r,brushRegion:a,extent:i,reverse:o,emitter:s,scale:l,coordinate:c,selection:u,series:d=!1}=t,p=g6(t,["filter","reset","brushRegion","extent","reverse","emitter","scale","coordinate","selection","series"]);let f=ri(p,"mask"),{width:h,height:g}=e.getBBox(),m=function(e=300){let t=null;return n=>{let{timeStamp:r}=n;return null!==t&&r-t{if(e)return;let{selection:r}=t;n(r,{nativeEvent:!1})};return s.on("brush:filter",E),()=>{b.destroy(),s.off("brush:filter",E),e.removeEventListener("click",y)}}(d,Object.assign(Object.assign({brushRegion:(e,t,n,r)=>[e,t,n,r],selection:(e,t,n,r)=>{let{scale:a,coordinate:i}=h;return iw(e,t,n,r,a,i)},filter:(e,r)=>{var a,o,s,d;return a=this,o=void 0,s=void 0,d=function*(){if(f)return;f=!0;let[a,o]=e;u("brushFilter",e=>{let{marks:r}=e,i=r.map(e=>(0,nX.Z)({axis:Object.assign(Object.assign({},t&&{x:{transform:[{type:"hide"}]}}),n&&{y:{transform:[{type:"hide"}]}})},e,{scale:{x:{domain:a,nice:!1},y:{domain:o,nice:!1}}}));return Object.assign(Object.assign({},l),{marks:i,clip:!0})}),i.emit("brush:filter",Object.assign(Object.assign({},r),{data:{selection:[a,o]}}));let s=yield c();h=s.view,f=!1,p=!0},new(s||(s=Promise))(function(e,t){function n(e){try{i(d.next(e))}catch(e){t(e)}}function r(e){try{i(d.throw(e))}catch(e){t(e)}}function i(t){var a;t.done?e(t.value):((a=t.value)instanceof s?a:new s(function(e){e(a)})).then(n,r)}i((d=d.apply(a,o||[])).next())})},reset:e=>{if(f||!p)return;let{scale:t}=s,{x:n,y:r}=t,a=n.getOptions().domain,o=r.getOptions().domain;i.emit("brush:filter",Object.assign(Object.assign({},e),{data:{selection:[a,o]}})),p=!1,h=s,u("brushFilter"),c()},extent:void 0,emitter:i,scale:g,coordinate:m},{maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",unhighlightedOpacity:.5,reverse:!1}),r))}}var g8=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};function g9(e){return[e[0],e[e.length-1]]}function g7({initDomain:e={},className:t="slider",prefix:n="slider",setValue:r=(e,t)=>e.setValues(t),hasState:a=!1,wait:i=50,leading:o=!0,trailing:s=!1,getInitValues:l=e=>{var t;let n=null===(t=null==e?void 0:e.attributes)||void 0===t?void 0:t.values;if(0!==n[0]||1!==n[1])return n}}){return(c,u,d)=>{let{container:p,view:f,update:h,setState:g}=c,m=p.getElementsByClassName(t);if(!m.length)return()=>{};let b=!1,{scale:y,coordinate:E,layout:v}=f,{paddingLeft:T,paddingTop:_,paddingBottom:S,paddingRight:A}=v,{x:O,y:k}=y,x=rU(E),I=e=>{let t="vertical"===e?"y":"x",n="vertical"===e?"x":"y";return x?[n,t]:[t,n]},C=new Map,N=new Set,w={x:e.x||O.getOptions().domain,y:e.y||k.getOptions().domain};for(let e of m){let{orientation:t}=e.attributes,[c,u]=I(t),p=`${n}${(0,rg.Z)(c)}:filter`,f="x"===c,{ratio:m}=O.getOptions(),{ratio:E}=k.getOptions(),v=e=>{if(e.data){let{selection:t}=e.data,[n=g9(w.x),r=g9(w.y)]=t;return f?[iN(O,n,m),iN(k,r,E)]:[iN(k,r,E),iN(O,n,m)]}let{value:n}=e.detail,r=y[c],a=function(e,t,n){let[r,a]=e,i=n?e=>1-e:e=>e,o=iC(t,i(r),!0),s=iC(t,i(a),!1);return iN(t,[o,s])}(n,r,x&&"horizontal"===t),i=w[u];return[a,i]},R=(0,gu.Z)(t=>g8(this,void 0,void 0,function*(){let{initValue:r=!1}=t;if(b&&!r)return;b=!0;let{nativeEvent:i=!0}=t,[o,s]=v(t);if(w[c]=o,w[u]=s,i){let e=f?o:s,n=f?s:o;d.emit(p,Object.assign(Object.assign({},t),{nativeEvent:i,data:{selection:[g9(e),g9(n)]}}))}g(e,e=>Object.assign(Object.assign({},function(e,t,n,r=!1,a="x",i="y"){let{marks:o}=e,s=o.map(e=>{var o,s;return(0,nX.Z)({axis:{x:{transform:[{type:"hide"}]},y:{transform:[{type:"hide"}]}}},e,{scale:t,[n]:Object.assign(Object.assign({},(null===(o=e[n])||void 0===o?void 0:o[a])&&{[a]:Object.assign({preserve:!0},r&&{ratio:null})}),(null===(s=e[n])||void 0===s?void 0:s[i])&&{[i]:{preserve:!0}}),animate:!1})});return Object.assign(Object.assign({},e),{marks:s,clip:!0,animate:!1})}(e,{[c]:{domain:o,nice:!1}},n,a,c,u)),{paddingLeft:T,paddingTop:_,paddingBottom:S,paddingRight:A})),yield h(),b=!1}),i,{leading:o,trailing:s}),L=t=>{let{nativeEvent:n}=t;if(n)return;let{data:a}=t,{selection:i}=a,[o,s]=i;e.dispatchEvent(new t7.Aw("valuechange",{data:a,nativeEvent:!1}));let l=f?iR(o,O):iR(s,k);r(e,l)};d.on(p,L),e.addEventListener("valuechange",R),C.set(e,R),N.add([p,L]);let D=l(e);D&&e.dispatchEvent(new t7.Aw("valuechange",{detail:{value:D},nativeEvent:!1,initValue:!0}))}return()=>{for(let[e,t]of C)e.removeEventListener("valuechange",t);for(let[e,t]of N)d.off(e,t)}}}let me="g2-scrollbar";var mt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mn={backgroundColor:"rgba(0,0,0,0.75)",color:"#fff",width:"max-content",padding:"1px 4px",fontSize:"12px",borderRadius:"2.5px",boxShadow:"0 3px 6px -4px rgba(0,0,0,0.12), 0 6px 16px 0 rgba(0,0,0,0.08), 0 9px 28px 8px rgba(0,0,0,0.05)"};function mr(e){return"text"===e.nodeName&&!!e.isOverflowing()}function ma(e){var{offsetX:t=8,offsetY:n=8}=e,r=mt(e,["offsetX","offsetY"]);return e=>{let{container:a}=e,[i,o]=a.getBounds().min,s=ri(r,"tip"),l=new Set,c=e=>{let{target:r}=e;if(!mr(r)){e.stopPropagation();return}let{offsetX:c,offsetY:u}=e,d=c+t-i,p=u+n-o;if(r.tip){r.tip.style.x=d,r.tip.style.y=p;return}let{text:f}=r.style,h=new t7.k9({className:"poptip",style:{innerHTML:`
    ${f}
    `,x:d,y:p}});a.appendChild(h),r.tip=h,l.add(h)},u=e=>{let{target:t}=e;if(!mr(t)){e.stopPropagation();return}t.tip&&(t.tip.remove(),t.tip=null,l.delete(t.tip))};return a.addEventListener("pointerover",c),a.addEventListener("pointerout",u),()=>{a.removeEventListener("pointerover",c),a.removeEventListener("pointerout",u),l.forEach(e=>e.remove())}}}ma.props={reapplyWhenUpdate:!0};var mi=n(8359);function mo(e){if("function"!=typeof e)throw Error();return e}var ms={depth:-1},ml={};function mc(e){return e.id}function mu(e){return e.parentId}function md(){var e=mc,t=mu;function n(n){var r,a,i,o,s,l,c,u=Array.from(n),d=u.length,p=new Map;for(a=0;a0)throw Error("cycle");return i}return n.id=function(t){return arguments.length?(e=mo(t),n):e},n.parentId=function(e){return arguments.length?(t=mo(e),n):t},n}function mp(e,t,n,r,a){var i,o,s=e.children,l=s.length,c=Array(l+1);for(c[0]=o=i=0;i=n-1){var u=s[t];u.x0=a,u.y0=i,u.x1=o,u.y1=l;return}for(var d=c[t],p=r/2+d,f=t+1,h=n-1;f>>1;c[g]l-i){var y=r?(a*b+o*m)/r:o;e(t,f,m,a,i,y,l),e(f,n,b,y,i,o,l)}else{var E=r?(i*b+l*m)/r:l;e(t,f,m,a,i,o,E),e(f,n,b,a,E,o,l)}}(0,l,e.value,t,n,r,a)}function mf(e,t,n,r,a){for(var i,o=e.children,s=-1,l=o.length,c=e.value&&(a-n)/e.value;++sp&&(p=s),(f=Math.max(p/(m=u*u*g),m/d))>h){u-=s;break}h=f}b.push(o={value:u,dice:l1?t:1)},n}(mg),my=function e(t){function n(e,n,r,a,i){if((o=e._squarify)&&o.ratio===t)for(var o,s,l,c,u,d=-1,p=o.length,f=e.value;++d1?t:1)},n}(mg);function mE(){return 0}function mv(e){return function(){return e}}function mT(e,t,n){var r;let{value:a}=n,i=function(e,t){let n={treemapBinary:mp,treemapDice:c8,treemapSlice:mf,treemapSliceDice:mh,treemapSquarify:mb,treemapResquarify:my},r="treemapSquarify"===e?n[e].ratio(t):n[e];if(!r)throw TypeError("Invalid tile method!");return r}(t.tile,t.ratio),o=(r=t.path,Array.isArray(e)?"function"==typeof r?md().path(r)(e):md()(e):c7(e));(0,rh.Z)(e)?function e(t){let n=(0,c6.Z)(t,["data","name"]);n.replaceAll&&(t.path=n.replaceAll(".","/").split("/")),t.children&&t.children.forEach(t=>{e(t)})}(o):function e(t,n=[t.data.name]){t.id=t.id||t.data.name,t.path=n,t.children&&t.children.forEach(r=>{r.id=`${t.id}/${r.data.name}`,r.path=[...n,r.data.name],e(r,r.path)})}(o),a?o.sum(e=>t.ignoreParentValue&&e.children?0:dn(a)(e)).sort(t.sort):o.count(),(function(){var e=mb,t=!1,n=1,r=1,a=[0],i=mE,o=mE,s=mE,l=mE,c=mE;function u(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(d),a=[0],t&&e.eachBefore(c5),e}function d(t){var n=a[t.depth],r=t.x0+n,u=t.y0+n,d=t.x1-n,p=t.y1-n;dObject.assign(e,{id:e.id.replace(/^\//,""),x:[e.x0,e.x1],y:[e.y0,e.y1]})),l=s.filter("function"==typeof t.layer?t.layer:e=>e.height===t.layer);return[l,s]}var m_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mS={breadCrumbFill:"rgba(0, 0, 0, 0.85)",breadCrumbFontSize:12,breadCrumbY:12,activeFill:"rgba(0, 0, 0, 0.5)"};var mA=n(28036),mO=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},mk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mx={pointR:6,pointStrokeWidth:1,pointStroke:"#888",pointActiveStroke:"#f5f5f5",pathStroke:"#888",pathLineDash:[3,4],labelFontSize:12,labelFill:"#888",labelStroke:"#fff",labelLineWidth:1,labelY:-6,labelX:2},mI="movePoint",mC=e=>{let t=e.target,{markType:n}=t;"line"===n&&(t.attr("_lineWidth",t.attr("lineWidth")||1),t.attr("lineWidth",t.attr("_lineWidth")+3)),"interval"===n&&(t.attr("_opacity",t.attr("opacity")||1),t.attr("opacity",.7*t.attr("_opacity")))},mN=e=>{let t=e.target,{markType:n}=t;"line"===n&&t.attr("lineWidth",t.attr("_lineWidth")),"interval"===n&&t.attr("opacity",t.attr("_opacity"))},mw=(e,t,n)=>t.map(t=>{let r=["x","color"].reduce((r,a)=>{let i=n[a];return i?t[i]===e[i]&&r:r},!0);return r?Object.assign(Object.assign({},t),e):t}),mR=e=>{let t=(0,c6.Z)(e,["__data__","y"]),n=(0,c6.Z)(e,["__data__","y1"]),r=n-t,{__data__:{data:a,encode:i,transform:o},childNodes:s}=e.parentNode,l=(0,mi.Z)(o,({type:e})=>"normalizeY"===e),c=(0,c6.Z)(i,["y","field"]),u=a[s.indexOf(e)][c];return(e,t=!1)=>l||t?e/(1-e)/(r/(1-r))*u:e},mL=(e,t)=>{let n=(0,c6.Z)(e,["__data__","seriesItems",t,"0","value"]),r=(0,c6.Z)(e,["__data__","seriesIndex",t]),{__data__:{data:a,encode:i,transform:o}}=e.parentNode,s=(0,mi.Z)(o,({type:e})=>"normalizeY"===e),l=(0,c6.Z)(i,["y","field"]),c=a[r][l];return e=>s?1===n?e:e/(1-e)/(n/(1-n))*c:e},mD=(e,t,n)=>{e.forEach((e,r)=>{e.attr("stroke",t[1]===r?n.activeStroke:n.stroke)})},mP=(e,t,n,r)=>{let a=new t7.y$({style:n}),i=new t7.xv({style:r});return t.appendChild(i),e.appendChild(a),[a,i]},mM=(e,t)=>{let n=(0,c6.Z)(e,["options","range","indexOf"]);if(!n)return;let r=e.options.range.indexOf(t);return e.sortedDomain[r]},mF=(e,t,n)=>{let r=oh(e,t),a=oh(e,n),i=a/r,o=e[0]+(t[0]-e[0])*i,s=e[1]+(t[1]-e[1])*i;return[o,s]};var mB=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mj=()=>e=>{let{children:t}=e;if(!Array.isArray(t))return[];let{x:n=0,y:r=0,width:a,height:i,data:o}=e;return t.map(e=>{var{data:t,x:s,y:l,width:c,height:u}=e;return Object.assign(Object.assign({},mB(e,["data","x","y","width","height"])),{data:aA(t,o),x:null!=s?s:n,y:null!=l?l:r,width:null!=c?c:a,height:null!=u?u:i})})};mj.props={};var mU=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mH=()=>e=>{let{children:t}=e;if(!Array.isArray(t))return[];let{direction:n="row",ratio:r=t.map(()=>1),padding:a=0,data:i}=e,[o,s,l,c]="col"===n?["y","height","width","x"]:["x","width","height","y"],u=r.reduce((e,t)=>e+t),d=e[s]-a*(t.length-1),p=r.map(e=>d*(e/u)),f=[],h=e[o]||0;for(let n=0;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mz=a_(e=>{let{encode:t,data:n,scale:r,shareSize:a=!1}=e,{x:i,y:o}=t,s=(e,t)=>{var i;if(void 0===e||!a)return{};let o=n2(n,t=>t[e]),s=(null===(i=null==r?void 0:r[t])||void 0===i?void 0:i.domain)||Array.from(o.keys()),l=s.map(e=>o.has(e)?o.get(e).length:1);return{domain:s,flex:l}};return{scale:{x:Object.assign(Object.assign({paddingOuter:0,paddingInner:.1,guide:void 0===i?null:{position:"top"}},void 0===i&&{paddingInner:0}),s(i,"x")),y:Object.assign(Object.assign({range:[0,1],paddingOuter:0,paddingInner:.1,guide:void 0===o?null:{position:"right"}},void 0===o&&{paddingInner:0}),s(o,"y"))}}}),mW=aS(e=>{let t,n,r;let{data:a,scale:i,legend:o}=e,s=[e];for(;s.length;){let e=s.shift(),{children:a,encode:i={},scale:o={},legend:l={}}=e,{color:c}=i,{color:u}=o,{color:d}=l;void 0!==c&&(t=c),void 0!==u&&(n=u),void 0!==d&&(r=d),Array.isArray(a)&&s.push(...a)}let l="string"==typeof t?t:"",[c,u]=(()=>{var e;let n=null===(e=null==i?void 0:i.color)||void 0===e?void 0:e.domain;if(void 0!==n)return[n];if(void 0===t)return[void 0];let r="function"==typeof t?t:e=>e[t],o=a.map(r);return o.some(e=>"number"==typeof e)?[rQ(o)]:[Array.from(new Set(o)),"ordinal"]})();return Object.assign({encode:{color:{type:"column",value:null!=c?c:[]}},scale:{color:(0,nX.Z)({},n,{domain:c,type:u})}},void 0===o&&{legend:{color:(0,nX.Z)({title:l},r)}})}),mY=a_(()=>({animate:{enterType:"fadeIn"}})),mV=aS(()=>({frame:!1,encode:{shape:"hollow"},style:{lineWidth:0}})),mZ=aS(()=>({type:"cell"})),mq=aS(e=>{let{data:t}=e;return{data:{type:"inline",value:t,transform:[{type:"custom",callback:()=>{let{data:t,encode:n}=e,{x:r,y:a}=n,i=r?Array.from(new Set(t.map(e=>e[r]))):[],o=a?Array.from(new Set(t.map(e=>e[a]))):[];return(()=>{if(i.length&&o.length){let e=[];for(let t of i)for(let n of o)e.push({[r]:t,[a]:n});return e}return i.length?i.map(e=>({[r]:e})):o.length?o.map(e=>({[a]:e})):void 0})()}}]}}}),mK=aS((e,t=mX,n=mJ,r=m0,a={})=>{let{data:i,encode:o,children:s,scale:l,x:c=0,y:u=0,shareData:d=!1,key:p}=e,{value:f}=i,{x:h,y:g}=o,{color:m}=l,{domain:b}=m;return{children:(e,i,o)=>{let{x:l,y:m}=i,{paddingLeft:y,paddingTop:E,marginLeft:v,marginTop:T}=o,{domain:_}=l.getOptions(),{domain:S}=m.getOptions(),A=rk(e),O=e.map(t),k=e.map(({x:e,y:t})=>[l.invert(e),m.invert(t)]),x=k.map(([e,t])=>n=>{let{[h]:r,[g]:a}=n;return(void 0===h||r===e)&&(void 0===g||a===t)}),I=x.map(e=>f.filter(e)),C=d?rw(I,e=>e.length):void 0,N=k.map(([e,t])=>({columnField:h,columnIndex:_.indexOf(e),columnValue:e,columnValuesLength:_.length,rowField:g,rowIndex:S.indexOf(t),rowValue:t,rowValuesLength:S.length})),w=N.map(e=>Array.isArray(s)?s:[s(e)].flat(1));return A.flatMap(e=>{let[t,i,o,s]=O[e],l=N[e],d=I[e],m=w[e];return m.map(m=>{var _,S,{scale:A,key:O,facet:k=!0,axis:x={},legend:I={}}=m,N=m$(m,["scale","key","facet","axis","legend"]);let w=(null===(_=null==A?void 0:A.y)||void 0===_?void 0:_.guide)||x.y,R=(null===(S=null==A?void 0:A.x)||void 0===S?void 0:S.guide)||x.x,L=k?d:0===d.length?[]:f,D={x:m1(R,n)(l,L),y:m1(w,r)(l,L)};return Object.assign(Object.assign({key:`${O}-${e}`,data:L,margin:0,x:t+y+c+v,y:i+E+u+T,parentKey:p,width:o,height:s,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!!L.length,dataDomain:C,scale:(0,nX.Z)({x:{tickCount:h?5:void 0},y:{tickCount:g?5:void 0}},A,{color:{domain:b}}),axis:(0,nX.Z)({},x,D),legend:!1},N),a)})})}}});function mX(e){let{points:t}=e;return aR(t)}function mQ(e,t){return t.length?(0,nX.Z)({title:!1,tick:null,label:null},e):(0,nX.Z)({title:!1,tick:null,label:null,grid:null},e)}function mJ(e){return(t,n)=>{let{rowIndex:r,rowValuesLength:a,columnIndex:i,columnValuesLength:o}=t;if(r!==a-1)return mQ(e,n);let s=n.length?void 0:null;return(0,nX.Z)({title:i===o-1&&void 0,grid:s},e)}}function m0(e){return(t,n)=>{let{rowIndex:r,columnIndex:a}=t;if(0!==a)return mQ(e,n);let i=n.length?void 0:null;return(0,nX.Z)({title:0===r&&void 0,grid:i},e)}}function m1(e,t){return"function"==typeof e?e:null===e||!1===e?()=>null:t(e)}let m2=()=>e=>{let t=mG.of(e).call(mZ).call(mW).call(mY).call(mz).call(mV).call(mq).call(mK).value();return[t]};m2.props={};var m3=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let m4=a_(e=>({scale:{x:{guide:null,paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),m6=aS(e=>{let{data:t,children:n,x:r=0,y:a=0,key:i}=e;return{children:(e,o,s)=>{let{x:l,y:c}=o,{paddingLeft:u,paddingTop:d,marginLeft:p,marginTop:f}=s,{domain:h}=l.getOptions(),{domain:g}=c.getOptions(),m=rk(e),b=e.map(({points:e})=>aR(e)),y=e.map(({x:e,y:t})=>[l.invert(e),c.invert(t)]),E=y.map(([e,t])=>({columnField:e,columnIndex:h.indexOf(e),columnValue:e,columnValuesLength:h.length,rowField:t,rowIndex:g.indexOf(t),rowValue:t,rowValuesLength:g.length})),v=E.map(e=>Array.isArray(n)?n:[n(e)].flat(1));return m.flatMap(e=>{let[n,o,s,l]=b[e],[c,h]=y[e],g=E[e],m=v[e];return m.map(m=>{var b,y;let{scale:E,key:v,encode:T,axis:_,interaction:S}=m,A=m3(m,["scale","key","encode","axis","interaction"]),O=null===(b=null==E?void 0:E.y)||void 0===b?void 0:b.guide,k=null===(y=null==E?void 0:E.x)||void 0===y?void 0:y.guide,x={x:("function"==typeof k?k:null===k?()=>null:(e,t)=>{let{rowIndex:n,rowValuesLength:r}=e;if(n!==r-1)return mQ(k,t)})(g,t),y:("function"==typeof O?O:null===O?()=>null:(e,t)=>{let{columnIndex:n}=e;if(0!==n)return mQ(O,t)})(g,t)};return Object.assign({data:t,parentKey:i,key:`${v}-${e}`,x:n+u+r+p,y:o+d+a+f,width:s,height:l,margin:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!0,scale:(0,nX.Z)({x:{facet:!1},y:{facet:!1}},E),axis:(0,nX.Z)({x:{tickCount:5},y:{tickCount:5}},_,x),legend:!1,encode:(0,nX.Z)({},T,{x:c,y:h}),interaction:(0,nX.Z)({},S,{legendFilter:!1})},A)})})}}}),m5=aS(e=>{let{encode:t}=e,n=m3(e,["encode"]),{position:r=[],x:a=r,y:i=[...r].reverse()}=t,o=m3(t,["position","x","y"]),s=[];for(let e of[a].flat(1))for(let t of[i].flat(1))s.push({$x:e,$y:t});return Object.assign(Object.assign({},n),{data:s,encode:Object.assign(Object.assign({},o),{x:"$x",y:"$y"}),scale:Object.assign(Object.assign({},1===[a].flat(1).length&&{x:{paddingInner:0}}),1===[i].flat(1).length&&{y:{paddingInner:0}})})});var m8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let m9=a_(e=>({scale:{x:{guide:{type:"axisArc"},paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),m7=a_(e=>({coordinate:{type:"polar"}})),be=e=>{let{encode:t}=e,n=m8(e,["encode"]),{position:r}=t;return Object.assign(Object.assign({},n),{encode:{x:r}})};function bt(e){return e=>null}function bn(e){let{points:t}=e,[n,r,a,i]=t,o=aI(n,i),s=ax(n,i),l=ax(r,a),c=aw(s,l),u=1/Math.sin(c/2),d=o/(1+u),p=d*Math.sqrt(2),[f,h]=a,g=aN(s),m=g+c/2,b=d*u;return[f+b*Math.sin(m)-p/2,h-b*Math.cos(m)-p/2,p,p]}let br=()=>e=>{let{children:t=[],duration:n=1e3,iterationCount:r=1,direction:a="normal",easing:i="ease-in-out-sine"}=e,o=t.length;if(!Array.isArray(t)||0===o)return[];let{key:s}=t[0],l=t.map(e=>Object.assign(Object.assign({},e),{key:s})).map(e=>(function(e,t,n){let r=[e];for(;r.length;){let e=r.pop();e.animate=(0,nX.Z)({enter:{duration:t},update:{duration:t,easing:n,type:"morphing",fill:"both"},exit:{type:"fadeOut",duration:t}},e.animate||{});let{children:a}=e;Array.isArray(a)&&r.push(...a)}return e})(e,n,i));return function*(){let e,t=0;for(;"infinite"===r||t{var t;return[e,null===(t=uM(r,e))||void 0===t?void 0:t[0]]}).filter(([,e])=>ra(e));return Array.from(n2(t,e=>a.map(([,t])=>t[e]).join("-")).values())}function bi(e){return Array.isArray(e)?(t,n,r)=>(n,r)=>e.reduce((e,a)=>0!==e?e:iu(t[n][a],t[r][a]),0):"function"==typeof e?(t,n,r)=>bp(n=>e(t[n])):"series"===e?bl:"value"===e?bc:"sum"===e?bu:"maxIndex"===e?bd:null}function bo(e,t){for(let n of e)n.sort(t)}function bs(e,t){return(null==t?void 0:t.domain)||Array.from(new Set(e))}function bl(e,t,n){return bp(e=>n[e])}function bc(e,t,n){return bp(e=>t[e])}function bu(e,t,n){let r=rk(e),a=Array.from(n2(r,e=>n[+e]).entries()),i=new Map(a.map(([e,n])=>[e,n.reduce((e,n)=>e+ +t[n])]));return bp(e=>i.get(n[e]))}function bd(e,t,n){let r=rk(e),a=Array.from(n2(r,e=>n[+e]).entries()),i=new Map(a.map(([e,n])=>[e,a6(n,e=>t[e])]));return bp(e=>i.get(n[e]))}function bp(e){return(t,n)=>iu(e(t),e(n))}br.props={};let bf=(e={})=>{let{groupBy:t="x",orderBy:n=null,reverse:r=!1,y:a="y",y1:i="y1",series:o=!0}=e;return(e,s)=>{var l;let{data:c,encode:u,style:d={}}=s,[p,f]=uM(u,"y"),[h,g]=uM(u,"y1"),[m]=o?uF(u,"series","color"):uM(u,"color"),b=ba(t,e,s),y=null!==(l=bi(n))&&void 0!==l?l:()=>null,E=y(c,p,m);E&&bo(b,E);let v=Array(e.length),T=Array(e.length),_=Array(e.length),S=[],A=[];for(let e of b){r&&e.reverse();let t=h?+h[e[0]]:0,n=[],a=[];for(let r of e){let e=_[r]=+p[r]-t;e<0?a.push(r):e>=0&&n.push(r)}let i=n.length>0?n:a,o=a.length>0?a:n,s=n.length-1,l=0;for(;s>0&&0===p[i[s]];)s--;for(;l0?u=v[e]=(T[e]=u)+t:v[e]=T[e]=u}}let O=new Set(S),k=new Set(A),x="y"===a?v:T,I="y"===i?v:T;return[e,(0,nX.Z)({},s,{encode:{y0:uL(p,f),y:uR(x,f),y1:uR(I,g)},style:Object.assign({first:(e,t)=>O.has(t),last:(e,t)=>k.has(t)},d)})]}};function bh(e,t){let n=0;if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&++n;else{let r=-1;for(let a of e)null!=(a=t(a,++r,e))&&(a=+a)>=a&&++n}return n}function bg(e,t){let n=function(e,t){let n,r=0,a=0,i=0;if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(n=t-a,a+=n/++r,i+=n*(t-a));else{let o=-1;for(let s of e)null!=(s=t(s,++o,e))&&(s=+s)>=s&&(n=s-a,a+=n/++r,i+=n*(s-a))}if(r>1)return i/(r-1)}(e,t);return n?Math.sqrt(n):n}bf.props={};var bm=Array.prototype,bb=bm.slice;function by(e){return function(){return e}}bm.map;var bE=Math.sqrt(50),bv=Math.sqrt(10),bT=Math.sqrt(2);function b_(e,t,n){var r=(t-e)/Math.max(0,n),a=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,a);return a>=0?(i>=bE?10:i>=bv?5:i>=bT?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(i>=bE?10:i>=bv?5:i>=bT?2:1)}function bS(e){return Math.ceil(Math.log(bh(e))/Math.LN2)+1}function bA(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function bO(e,t,n){if(r=(e=Float64Array.from(function*(e,t){if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(yield t);else{let n=-1;for(let r of e)null!=(r=t(r,++n,e))&&(r=+r)>=r&&(yield r)}}(e,n))).length){if((t=+t)<=0||r<2)return l9(e);if(t>=1)return rw(e);var r,a=(r-1)*t,i=Math.floor(a),o=rw((function e(t,n,r=0,a=t.length-1,i=iu){for(;a>r;){if(a-r>600){let o=a-r+1,s=n-r+1,l=Math.log(o),c=.5*Math.exp(2*l/3),u=.5*Math.sqrt(l*c*(o-c)/o)*(s-o/2<0?-1:1),d=Math.max(r,Math.floor(n-s*c/o+u)),p=Math.min(a,Math.floor(n+(o-s)*c/o+u));e(t,n,d,p,i)}let o=t[n],s=r,l=a;for(bA(t,r,n),i(t[a],o)>0&&bA(t,r,a);si(t[s],o);)++s;for(;i(t[l],o)>0;)--l}0===i(t[r],o)?bA(t,r,l):bA(t,++l,a),l<=n&&(r=l+1),n<=l&&(a=l-1)}return t})(e,i).subarray(0,i+1));return o+(l9(e.subarray(i+1))-o)*(a-i)}}var bk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function bx(e){return t=>null===t?e:`${e} of ${t}`}function bI(){let e=bx("mean");return[(e,t)=>gh(e,e=>+t[e]),e]}function bC(){let e=bx("median");return[(e,t)=>bO(e,.5,e=>+t[e]),e]}function bN(){let e=bx("max");return[(e,t)=>rw(e,e=>+t[e]),e]}function bw(){let e=bx("min");return[(e,t)=>l9(e,e=>+t[e]),e]}function bR(){let e=bx("count");return[(e,t)=>e.length,e]}function bL(){let e=bx("sum");return[(e,t)=>rN(e,e=>+t[e]),e]}function bD(){let e=bx("first");return[(e,t)=>t[e[0]],e]}function bP(){let e=bx("last");return[(e,t)=>t[e[e.length-1]],e]}let bM=(e={})=>{let{groupBy:t}=e,n=bk(e,["groupBy"]);return(e,r)=>{let{data:a,encode:i}=r,o=t(e,r);if(!o)return[e,r];let s=(e,t)=>{if(e)return e;let{from:n}=t;if(!n)return e;let[,r]=uM(i,n);return r},l=Object.entries(n).map(([e,t])=>{let[n,r]=function(e){if("function"==typeof e)return[e,null];let t={mean:bI,max:bN,count:bR,first:bD,last:bP,sum:bL,min:bw,median:bC}[e];if(!t)throw Error(`Unknown reducer: ${e}.`);return t()}(t),[l,c]=uM(i,e),u=s(c,t),d=o.map(e=>n(e,null!=l?l:a));return[e,Object.assign(Object.assign({},function(e,t){let n=uR(e,t);return Object.assign(Object.assign({},n),{constant:!1})}(d,(null==r?void 0:r(u))||u)),{aggregate:!0})]}),c=Object.keys(i).map(e=>{let[t,n]=uM(i,e),r=o.map(e=>t[e[0]]);return[e,uR(r,n)]}),u=o.map(e=>a[e[0]]),d=rk(o);return[d,(0,nX.Z)({},r,{data:u,encode:Object.fromEntries([...c,...l])})]}};bM.props={};var bF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let bB="thresholds",bj=(e={})=>{let{groupChannels:t=["color"],binChannels:n=["x","y"]}=e,r=bF(e,["groupChannels","binChannels"]),a={};return bM(Object.assign(Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(([e])=>!e.startsWith(bB)))),Object.fromEntries(n.flatMap(e=>{let t=([t])=>+a[e].get(t).split(",")[1];return t.from=e,[[e,([t])=>+a[e].get(t).split(",")[0]],[`${e}1`,t]]}))),{groupBy:(e,i)=>{let{encode:o}=i,s=n.map(e=>{let[t]=uM(o,e);return t}),l=ri(r,bB),c=e.filter(e=>s.every(t=>ra(t[e]))),u=[...t.map(e=>{let[t]=uM(o,e);return t}).filter(ra).map(e=>t=>e[t]),...n.map((e,t)=>{let n=s[t],r=l[e]||function(e){let[t,n]=rQ(e);return Math.min(200,Math.ceil((n-t)/(3.5*bg(e)*Math.pow(bh(e),-1/3))))}(n),i=(function(){var e=n1,t=rQ,n=bS;function r(r){Array.isArray(r)||(r=Array.from(r));var a,i,o=r.length,s=Array(o);for(a=0;a0?(e=Math.floor(e/a)*a,t=Math.ceil(t/a)*a):a<0&&(e=Math.ceil(e*a)/a,t=Math.floor(t*a)/a),r=a}}(c,u,n)),(d=function(e,t,n){var r,a,i,o,s=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t0){let n=Math.round(e/o),r=Math.round(t/o);for(n*ot&&--r,i=Array(a=r-n+1);++st&&--r,i=Array(a=r-n+1);++s=u){if(e>=u&&t===rQ){let e=b_(c,u,n);isFinite(e)&&(e>0?u=(Math.floor(u/e)+1)*e:e<0&&(u=-((Math.ceil(-(u*e))+1)/e)))}else d.pop()}}for(var p=d.length;d[0]<=c;)d.shift(),--p;for(;d[p-1]>u;)d.pop(),--p;var f,h=Array(p+1);for(a=0;a<=p;++a)(f=h[a]=[]).x0=a>0?d[a-1]:c,f.x1=a+n[e])(c),o=new Map(i.flatMap(e=>{let{x0:t,x1:n}=e,r=`${t},${n}`;return e.map(e=>[e,r])}));return a[e]=o,e=>o.get(e)})];return Array.from(n2(c,e=>u.map(t=>t(e)).join("-")).values())}}))};bj.props={};let bU=(e={})=>{let{thresholds:t}=e;return bj(Object.assign(Object.assign({},e),{thresholdsX:t,groupChannels:["color"],binChannels:["x"]}))};bU.props={};var bH=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let bG=(e={})=>{let{groupBy:t="x",reverse:n=!1,orderBy:r,padding:a}=e;return bH(e,["groupBy","reverse","orderBy","padding"]),(e,i)=>{let{data:o,encode:s,scale:l}=i,{series:c}=l,[u]=uM(s,"y"),[d]=uF(s,"series","color"),p=bs(d,c),f=(0,nX.Z)({},i,{scale:{series:{domain:p,paddingInner:a}}}),h=ba(t,e,i),g=bi(r);if(!g)return[e,(0,nX.Z)(f,{encode:{series:uR(d)}})];let m=g(o,u,d);m&&bo(h,m);let b=Array(e.length);for(let e of h){n&&e.reverse();for(let t=0;t{let{padding:t=0,paddingX:n=t,paddingY:r=t,random:a=Math.random}=e;return(e,t)=>{let{encode:i,scale:o}=t,{x:s,y:l}=o,[c]=uM(i,"x"),[u]=uM(i,"y"),d=b$(c,s,n),p=b$(u,l,r),f=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(a(),...p)),h=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(a(),...d));return[e,(0,nX.Z)({scale:{x:{padding:.5},y:{padding:.5}}},t,{encode:{dy:uR(f),dx:uR(h)}})]}};bz.props={};let bW=(e={})=>{let{padding:t=0,random:n=Math.random}=e;return(e,r)=>{let{encode:a,scale:i}=r,{x:o}=i,[s]=uM(a,"x"),l=b$(s,o,t),c=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(n(),...l));return[e,(0,nX.Z)({scale:{x:{padding:.5}}},r,{encode:{dx:uR(c)}})]}};bW.props={};let bY=(e={})=>{let{padding:t=0,random:n=Math.random}=e;return(e,r)=>{let{encode:a,scale:i}=r,{y:o}=i,[s]=uM(a,"y"),l=b$(s,o,t),c=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(n(),...l));return[e,(0,nX.Z)({scale:{y:{padding:.5}}},r,{encode:{dy:uR(c)}})]}};bY.props={};var bV=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let bZ=(e={})=>{let{groupBy:t="x"}=e;return(e,n)=>{let{encode:r}=n,{x:a}=r,i=bV(r,["x"]),o=Object.entries(i).filter(([e])=>e.startsWith("y")).map(([e])=>[e,uM(r,e)[0]]),s=o.map(([t])=>[t,Array(e.length)]),l=ba(t,e,n),c=Array(l.length);for(let e=0;eo.map(([,t])=>+t[e])),[r,a]=rQ(n);c[e]=(r+a)/2}let u=Math.max(...c);for(let e=0;e[e,uR(t,uM(r,e)[1])]))})]}};bZ.props={};let bq=(e={})=>{let{groupBy:t="x",series:n=!0}=e;return(e,r)=>{let{encode:a}=r,[i]=uM(a,"y"),[o,s]=uM(a,"y1"),[l]=n?uF(a,"series","color"):uM(a,"color"),c=ba(t,e,r),u=Array(e.length);for(let e of c){let t=e.map(e=>+i[e]);for(let n=0;nt!==n));u[r]=+i[r]>a?a:i[r]}}return[e,(0,nX.Z)({},r,{encode:{y1:uR(u,s)}})]}};bq.props={};let bK=e=>{let{groupBy:t=["x"],reducer:n=(e,t)=>t[e[0]],orderBy:r=null,reverse:a=!1,duration:i}=e;return(e,o)=>{let{encode:s}=o,l=Array.isArray(t)?t:[t],c=l.map(e=>[e,uM(s,e)[0]]);if(0===c.length)return[e,o];let u=[e];for(let[,e]of c){let t=[];for(let n of u){let r=Array.from(n2(n,t=>e[t]).values());t.push(...r)}u=t}if(r){let[e]=uM(s,r);e&&u.sort((t,r)=>n(t,e)-n(r,e)),a&&u.reverse()}let d=(i||3e3)/u.length,[p]=i?[uP(e,d)]:uF(s,"enterDuration",uP(e,d)),[f]=uF(s,"enterDelay",uP(e,0)),h=Array(e.length);for(let e=0,t=0;e+p[e]);for(let e of n)h[e]=+f[e]+t;t+=r}return[e,(0,nX.Z)({},o,{encode:{enterDuration:uD(p),enterDelay:uD(h)}})]}};bK.props={};var bX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let bQ=(e={})=>{let{groupBy:t="x",basis:n="max"}=e;return(e,r)=>{let{encode:a,tooltip:i}=r,{x:o}=a,s=bX(a,["x"]),l=Object.entries(s).filter(([e])=>e.startsWith("y")).map(([e])=>[e,uM(a,e)[0]]),[,c]=l.find(([e])=>"y"===e),u=l.map(([t])=>[t,Array(e.length)]),d=ba(t,e,r),p="function"==typeof n?n:({min:(e,t)=>l9(e,e=>t[+e]),max:(e,t)=>rw(e,e=>t[+e]),first:(e,t)=>t[e[0]],last:(e,t)=>t[e[e.length-1]],mean:(e,t)=>gh(e,e=>t[+e]),median:(e,t)=>bO(e,.5,e=>t[+e]),sum:(e,t)=>rN(e,e=>t[+e]),deviation:(e,t)=>bg(e,e=>t[+e])})[n]||rw;for(let e of d){let t=p(e,c);for(let n of e)for(let e=0;e[e,uR(t,uM(a,e)[1])]))},!f&&a.y0&&{tooltip:{items:[{channel:"y0"}]}}))]}};function bJ(e,t){return[e[0]]}function b0(e,t){let n=e.length-1;return[e[n]]}function b1(e,t){let n=a6(e,e=>t[e]);return[e[n]]}function b2(e,t){let n=gf(e,e=>t[e]);return[e[n]]}bQ.props={};let b3=(e={})=>{let{groupBy:t="series",channel:n,selector:r}=e;return(e,a)=>{let{encode:i}=a,o=ba(t,e,a),[s]=uM(i,n),l="function"==typeof r?r:({first:bJ,last:b0,max:b1,min:b2})[r]||bJ;return[o.flatMap(e=>l(e,s)),a]}};b3.props={};var b4=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let b6=(e={})=>{let{selector:t}=e,n=b4(e,["selector"]);return b3(Object.assign({channel:"x",selector:t},n))};b6.props={};var b5=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let b8=(e={})=>{let{selector:t}=e,n=b5(e,["selector"]);return b3(Object.assign({channel:"y",selector:t},n))};b8.props={};var b9=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let b7=(e={})=>{let{channels:t=["x","y"]}=e,n=b9(e,["channels"]);return bM(Object.assign(Object.assign({},n),{groupBy:(e,n)=>ba(t,e,n)}))};b7.props={};let ye=(e={})=>b7(Object.assign(Object.assign({},e),{channels:["x","color","series"]}));ye.props={};let yt=(e={})=>b7(Object.assign(Object.assign({},e),{channels:["y","color","series"]}));yt.props={};let yn=(e={})=>b7(Object.assign(Object.assign({},e),{channels:["color"]}));yn.props={};var yr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ya=(e={})=>{let{reverse:t=!1,slice:n,channel:r,ordinal:a=!0}=e,i=yr(e,["reverse","slice","channel","ordinal"]);return(e,o)=>a?function(e,t,n){var r,a;let{reverse:i,slice:o,channel:s}=n,l=yr(n,["reverse","slice","channel"]),{encode:c,scale:u={}}=t,d=null===(r=u[s])||void 0===r?void 0:r.domain,[p]=uM(c,s),f=function(e,t,n){let{by:r=e,reducer:a="max"}=t,[i]=uM(n,r);if("function"==typeof a)return e=>a(e,i);if("max"===a)return e=>rw(e,e=>+i[e]);if("min"===a)return e=>l9(e,e=>+i[e]);if("sum"===a)return e=>rN(e,e=>+i[e]);if("median"===a)return e=>bO(e,.5,e=>+i[e]);if("mean"===a)return e=>gh(e,e=>+i[e]);if("first"===a)return e=>i[e[0]];if("last"===a)return e=>i[e[e.length-1]];throw Error(`Unknown reducer: ${a}`)}(s,l,c),h=function(e,t,n){if(!Array.isArray(n))return e;let r=new Set(n);return e.filter(e=>r.has(t[e]))}(e,p,d),g=(a=e=>p[e],(1===f.length?id(n4(h,f,a),([e,t],[n,r])=>iu(t,r)||iu(e,n)):id(n2(h,a),([e,t],[n,r])=>f(t,r)||iu(e,n))).map(([e])=>e));i&&g.reverse();let m=o?g.slice(..."number"==typeof o?[0,o]:o):g;return[e,(0,nX.Z)(t,{scale:{[s]:{domain:m}}})]}(e,o,Object.assign({reverse:t,slice:n,channel:r},i)):function(e,t,n){let{reverse:r,channel:a}=n,{encode:i}=t,[o]=uM(i,a),s=id(e,e=>o[e]);return r&&s.reverse(),[s,t]}(e,o,Object.assign({reverse:t,slice:n,channel:r},i))};ya.props={};let yi=(e={})=>ya(Object.assign(Object.assign({},e),{channel:"x"}));yi.props={};let yo=(e={})=>ya(Object.assign(Object.assign({},e),{channel:"y"}));yo.props={};let ys=(e={})=>ya(Object.assign(Object.assign({},e),{channel:"color"}));ys.props={};let yl=(e={})=>{let{field:t,channel:n="y",reducer:r="sum"}=e;return(e,a)=>{let{data:i,encode:o}=a,[s]=uM(o,"x"),l=t?"string"==typeof t?i.map(e=>e[t]):i.map(t):uM(o,n)[0],c=function(e,t){if("function"==typeof e)return n=>e(n,t);if("sum"===e)return e=>rN(e,e=>+t[e]);throw Error(`Unknown reducer: ${e}`)}(r,l),u=n6(e,c,e=>s[e]).map(e=>e[1]);return[e,(0,nX.Z)({},a,{scale:{x:{flex:u}}})]}};yl.props={};let yc=e=>(t,n)=>[t,(0,nX.Z)({},n,{modifier:function(e){let{padding:t=0,direction:n="col"}=e;return(e,r,a)=>{let i=e.length;if(0===i)return[];let{innerWidth:o,innerHeight:s}=a,l=Math.ceil(Math.sqrt(r/(s/o))),c=o/l,u=Math.ceil(r/l),d=u*c;for(;d>s;)l+=1,c=o/l,d=(u=Math.ceil(r/l))*c;let p=s-u*c,f=u<=1?0:p/(u-1),[h,g]=u<=1?[(o-i*c)/(i-1),(s-c)/2]:[0,0];return e.map((e,r)=>{let[a,i,o,s]=aR(e),d="col"===n?r%l:Math.floor(r/u),m="col"===n?Math.floor(r/l):r%u,b=d*c,y=(u-m-1)*c+p,E=(c-t)/o,v=(c-t)/s;return`translate(${b-a+h*d+.5*t}, ${y-i-f*m-g+.5*t}) scale(${E}, ${v})`})}}(e),axis:!1})];function yu(e,t,n,r){let a,i,o;let s=e.length;if(r>=s||0===r)return e;let l=n=>1*t[e[n]],c=t=>1*n[e[t]],u=[],d=(s-2)/(r-2),p=0;u.push(p);for(let e=0;ea&&(a=i,o=g);u.push(o),p=o}return u.push(s-1),u.map(t=>e[t])}yc.props={};let yd=(e={})=>{let{strategy:t="median",thresholds:n=2e3,groupBy:r=["series","color"]}=e,a=function(e){if("function"==typeof e)return e;if("lttb"===e)return yu;let t={first:e=>[e[0]],last:e=>[e[e.length-1]],min:(e,t,n)=>[e[gf(e,e=>n[e])]],max:(e,t,n)=>[e[a6(e,e=>n[e])]],median:(e,t,n)=>[e[(0,q.medianIndex)(e,e=>n[e])]]},n=t[e]||t.median;return(e,t,r,a)=>{let i=Math.max(1,Math.floor(e.length/a)),o=function(e,t){let n=e.length,r=[],a=0;for(;an(e,t,r))}}(t);return(e,t)=>{let{encode:i}=t,o=ba(r,e,t),[s]=uM(i,"x"),[l]=uM(i,"y");return[o.flatMap(e=>a(e,s,l,n)),t]}};yd.props={};let yp=(e={})=>(t,n)=>{let{encode:r,data:a}=n,i=Object.entries(e).map(([e,t])=>{let[n]=uM(r,e);if(!n)return null;let[a,i=!0]="object"==typeof t?[t.value,t.ordinal]:[t,!0];if("function"==typeof a)return e=>a(n[e]);if(i){let e=Array.isArray(a)?a:[a];return 0===e.length?null:t=>e.includes(n[t])}{let[e,t]=a;return r=>n[r]>=e&&n[r]<=t}}).filter(ra),o=t.filter(e=>i.every(t=>t(e))),s=o.map((e,t)=>t);if(0===i.length){let e=function(e){var t;let n;let{encode:r}=e,a=Object.assign(Object.assign({},e),{encode:Object.assign(Object.assign({},e.encode),{y:Object.assign(Object.assign({},e.encode.y),{value:[]})})}),i=null===(t=null==r?void 0:r.color)||void 0===t?void 0:t.field;if(!r||!i)return a;for(let[e,t]of Object.entries(r))("x"===e||"y"===e)&&t.field===i&&(n=Object.assign(Object.assign({},n),{[e]:Object.assign(Object.assign({},t),{value:[]})}));return n?Object.assign(Object.assign({},e),{encode:Object.assign(Object.assign({},e.encode),n)}):a}(n);return[t,e]}let l=Object.entries(r).map(([e,t])=>[e,Object.assign(Object.assign({},t),{value:s.map(e=>t.value[o[e]]).filter(e=>void 0!==e)})]);return[s,(0,nX.Z)({},n,{encode:Object.fromEntries(l),data:o.map(e=>a[e])})]};yp.props={};var yf={},yh={};function yg(e){return Function("d","return {"+e.map(function(e,t){return JSON.stringify(e)+": d["+t+'] || ""'}).join(",")+"}")}function ym(e){var t=Object.create(null),n=[];return e.forEach(function(e){for(var r in e)r in t||n.push(t[r]=r)}),n}function yb(e,t){var n=e+"",r=n.length;return r{let{value:t,format:n=t.split(".").pop(),delimiter:r=",",autoType:a=!0}=e;return()=>{var e,i,o,s;return e=void 0,i=void 0,o=void 0,s=function*(){let e=yield fetch(t);if("csv"===n){let t=yield e.text();return(function(e){var t=RegExp('["'+e+"\n\r]"),n=e.charCodeAt(0);function r(e,t){var r,a=[],i=e.length,o=0,s=0,l=i<=0,c=!1;function u(){if(l)return yh;if(c)return c=!1,yf;var t,r,a=o;if(34===e.charCodeAt(a)){for(;o++=i?l=!0:10===(r=e.charCodeAt(o++))?c=!0:13===r&&(c=!0,10===e.charCodeAt(o)&&++o),e.slice(a+1,t-1).replace(/""/g,'"')}for(;o9999?"+"+yb(s,6):yb(s,4))+"-"+yb(n.getUTCMonth()+1,2)+"-"+yb(n.getUTCDate(),2)+(o?"T"+yb(r,2)+":"+yb(a,2)+":"+yb(i,2)+"."+yb(o,3)+"Z":i?"T"+yb(r,2)+":"+yb(a,2)+":"+yb(i,2)+"Z":a||r?"T"+yb(r,2)+":"+yb(a,2)+"Z":"")):t.test(e+="")?'"'+e.replace(/"/g,'""')+'"':e}return{parse:function(e,t){var n,a,i=r(e,function(e,r){var i;if(n)return n(e,r-1);a=e,n=t?(i=yg(e),function(n,r){return t(i(n),r,e)}):yg(e)});return i.columns=a||[],i},parseRows:r,format:function(t,n){return null==n&&(n=ym(t)),[n.map(o).join(e)].concat(a(t,n)).join("\n")},formatBody:function(e,t){return null==t&&(t=ym(e)),a(e,t).join("\n")},formatRows:function(e){return e.map(i).join("\n")},formatRow:i,formatValue:o}})(r).parse(t,a?yy:n7)}if("json"===n)return yield e.json();throw Error(`Unknown format: ${n}.`)},new(o||(o=Promise))(function(t,n){function r(e){try{l(s.next(e))}catch(e){n(e)}}function a(e){try{l(s.throw(e))}catch(e){n(e)}}function l(e){var n;e.done?t(e.value):((n=e.value)instanceof o?n:new o(function(e){e(n)})).then(r,a)}l((s=s.apply(e,i||[])).next())})}};yv.props={};let yT=e=>{let{value:t}=e;return()=>t};yT.props={};let y_=e=>{let{fields:t=[]}=e,n=t.map(e=>{if(Array.isArray(e)){let[t,n=!0]=e;return[t,n]}return[e,!0]});return e=>[...e].sort((e,t)=>n.reduce((n,[r,a=!0])=>0!==n?n:a?e[r]t[r]?-1:+(e[r]!==t[r]),0))};y_.props={};let yS=e=>{let{callback:t}=e;return e=>Array.isArray(e)?[...e].sort(t):e};function yA(e){return null!=e&&!Number.isNaN(e)}yS.props={};let yO=e=>{let{callback:t=yA}=e;return e=>e.filter(t)};yO.props={};let yk=e=>{let{fields:t}=e;return e=>e.map(e=>(function(e,t=[]){return t.reduce((t,n)=>(n in e&&(t[n]=e[n]),t),{})})(e,t))};yk.props={};let yx=e=>t=>e&&0!==Object.keys(e).length?t.map(t=>Object.entries(t).reduce((t,[n,r])=>(t[e[n]||n]=r,t),{})):t;yx.props={};let yI=e=>{let{fields:t,key:n="key",value:r="value"}=e;return e=>t&&0!==Object.keys(t).length?e.flatMap(e=>t.map(t=>Object.assign(Object.assign({},e),{[n]:t,[r]:e[t]}))):e};yI.props={};let yC=e=>{let{start:t,end:n}=e;return e=>e.slice(t,n)};yC.props={};let yN=e=>{let{callback:t=n7}=e;return e=>t(e)};yN.props={};let yw=e=>{let{callback:t=n7}=e;return e=>Array.isArray(e)?e.map(t):e};function yR(e){return"string"==typeof e?t=>t[e]:e}yw.props={};let yL=e=>{let{join:t,on:n,select:r=[],as:a=r,unknown:i=NaN}=e,[o,s]=n,l=yR(s),c=yR(o),u=n4(t,([e])=>e,e=>l(e));return e=>e.map(e=>{let t=u.get(c(e));return Object.assign(Object.assign({},e),r.reduce((e,n,r)=>(e[a[r]]=t?t[n]:i,e),{}))})};yL.props={};var yD=n(12570),yP=n.n(yD);let yM=e=>{let{field:t,groupBy:n,as:r=["y","size"],min:a,max:i,size:o=10,width:s}=e,[l,c]=r;return e=>{let r=Array.from(n2(e,e=>n.map(t=>e[t]).join("-")).values());return r.map(e=>{let n=yP().create(e.map(e=>e[t]),{min:a,max:i,size:o,width:s}),r=n.map(e=>e.x),u=n.map(e=>e.y);return Object.assign(Object.assign({},e[0]),{[l]:r,[c]:u})})}};yM.props={};let yF=()=>e=>(console.log("G2 data section:",e),e);yF.props={};let yB=Math.PI/180;function yj(e){return e.text}function yU(){return"serif"}function yH(){return"normal"}function yG(e){return e.value}function y$(){return 90*~~(2*Math.random())}function yz(){return 1}function yW(){}function yY(e){let t=e[0]/e[1];return function(e){return[t*(e*=.1)*Math.cos(e),e*Math.sin(e)]}}function yV(e){let t=[],n=-1;for(;++nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let yQ={fontSize:[20,60],font:"Impact",padding:2,rotate:function(){return(~~(6*Math.random())-3)*30}};function yJ(e){return new Promise((t,n)=>{if(e instanceof HTMLImageElement){t(e);return}if("string"==typeof e){let r=new Image;r.crossOrigin="anonymous",r.src=e,r.onload=()=>t(r),r.onerror=()=>{console.error(`'image ${e} load failed !!!'`),n()};return}n()})}let y0=(e,t)=>n=>{var r,a,i,o;return r=void 0,a=void 0,i=void 0,o=function*(){let r=Object.assign({},yQ,e,{canvas:t.createCanvas}),a=function(){let e=[256,256],t=yj,n=yU,r=yG,a=yH,i=y$,o=yz,s=yY,l=Math.random,c=yW,u=[],d=null,p=1/0,f=yZ,h={};return h.start=function(){let[g,m]=e,b=function(e){e.width=e.height=1;let t=Math.sqrt(e.getContext("2d").getImageData(0,0,1,1).data.length>>2);e.width=2048/t,e.height=2048/t;let n=e.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",n.textBaseline="middle",{context:n,ratio:t}}(f()),y=h.board?h.board:yV((e[0]>>5)*e[1]),E=u.length,v=[],T=u.map(function(e,s,l){return e.text=t.call(this,e,s,l),e.font=n.call(this,e,s,l),e.style=yH.call(this,e,s,l),e.weight=a.call(this,e,s,l),e.rotate=i.call(this,e,s,l),e.size=~~r.call(this,e,s,l),e.padding=o.call(this,e,s,l),e}).sort(function(e,t){return t.size-e.size}),_=-1,S=h.board?[{x:0,y:0},{x:g,y:m}]:void 0;function A(){let t=Date.now();for(;Date.now()-t>1,t.y=m*(l()+.5)>>1,function(e,t,n,r){if(t.sprite)return;let a=e.context,i=e.ratio;a.clearRect(0,0,2048/i,2048/i);let o=0,s=0,l=0,c=n.length;for(--r;++r>5<<5,c=~~Math.max(Math.abs(i+o),Math.abs(i-o))}else e=e+31>>5<<5;if(c>l&&(l=c),o+e>=2048&&(o=0,s+=l,l=0),s+c>=2048)break;a.translate((o+(e>>1))/i,(s+(c>>1))/i),t.rotate&&a.rotate(t.rotate*yB),a.fillText(t.text,0,0),t.padding&&(a.lineWidth=2*t.padding,a.strokeText(t.text,0,0)),a.restore(),t.width=e,t.height=c,t.xoff=o,t.yoff=s,t.x1=e>>1,t.y1=c>>1,t.x0=-t.x1,t.y0=-t.y1,t.hasText=!0,o+=e}let u=a.getImageData(0,0,2048/i,2048/i).data,d=[];for(;--r>=0;){if(!(t=n[r]).hasText)continue;let e=t.width,a=e>>5,i=t.y1-t.y0;for(let e=0;e>5),r=u[(s+n)*2048+(o+t)<<2]?1<<31-t%32:0;d[e]|=r,l|=r}l?c=n:(t.y0++,i--,n--,s++)}t.y1=t.y0+c,t.sprite=d.slice(0,(t.y1-t.y0)*a)}}(b,t,T,_),t.hasText&&function(t,n,r){let a=n.x,i=n.y,o=Math.sqrt(e[0]*e[0]+e[1]*e[1]),c=s(e),u=.5>l()?1:-1,d,p=-u,f,h;for(;(d=c(p+=u))&&!(Math.min(Math.abs(f=~~d[0]),Math.abs(h=~~d[1]))>=o);)if(n.x=a+f,n.y=i+h,!(n.x+n.x0<0)&&!(n.y+n.y0<0)&&!(n.x+n.x1>e[0])&&!(n.y+n.y1>e[1])&&(!r||!function(e,t,n){n>>=5;let r=e.sprite,a=e.width>>5,i=e.x-(a<<4),o=127&i,s=32-o,l=e.y1-e.y0,c=(e.y+e.y0)*n+(i>>5),u;for(let e=0;e>>o:0))&t[c+n])return!0;c+=n}return!1}(n,t,e[0]))&&(!r||n.x+n.x1>r[0].x&&n.x+n.x0r[0].y&&n.y+n.y0>5,i=e[0]>>5,o=n.x-(a<<4),s=127&o,l=32-s,c=n.y1-n.y0,u,d=(n.y+n.y0)*i+(o>>5);for(let e=0;e>>s:0);d+=i}return delete n.sprite,!0}return!1}(y,t,S)&&(c.call(null,"word",{cloud:h,word:t}),v.push(t),S?h.hasImage||function(e,t){let n=e[0],r=e[1];t.x+t.x0r.x&&(r.x=t.x+t.x1),t.y+t.y1>r.y&&(r.y=t.y+t.y1)}(S,t):S=[{x:t.x+t.x0,y:t.y+t.y0},{x:t.x+t.x1,y:t.y+t.y1}],t.x-=e[0]>>1,t.y-=e[1]>>1)}h._tags=v,h._bounds=S,_>=E&&(h.stop(),c.call(null,"end",{cloud:h,words:v,bounds:S}))}return d&&clearInterval(d),d=setInterval(A,0),A(),h},h.stop=function(){return d&&(clearInterval(d),d=null),h},h.createMask=t=>{let n=document.createElement("canvas"),[r,a]=e;if(!r||!a)return;let i=r>>5,o=yV((r>>5)*a);n.width=r,n.height=a;let s=n.getContext("2d");s.drawImage(t,0,0,t.width,t.height,0,0,r,a);let l=s.getImageData(0,0,r,a).data;for(let e=0;e>5),a=e*r+t<<2,s=l[a]>=250&&l[a+1]>=250&&l[a+2]>=250,c=s?1<<31-t%32:0;o[n]|=c}h.board=o,h.hasImage=!0},h.timeInterval=function(e){p=null==e?1/0:e},h.words=function(e){u=e},h.size=function(t=[]){e=[+t[0],+t[1]]},h.text=function(e){t=yq(e)},h.font=function(e){n=yq(e)},h.fontWeight=function(e){a=yq(e)},h.rotate=function(e){i=yq(e)},h.canvas=function(e){f=yq(e)},h.spiral=function(e){s=yK[e]||e},h.fontSize=function(e){r=yq(e)},h.padding=function(e){o=yq(e)},h.random=function(e){l=yq(e)},h.on=function(e){c=yq(e)},h}();yield({set(e,t,n){if(void 0===r[e])return this;let i=t?t.call(null,r[e]):r[e];return n?n.call(null,i):"function"==typeof a[e]?a[e](i):a[e]=i,this},setAsync(e,t,n){var i,o,s,l;return i=this,o=void 0,s=void 0,l=function*(){if(void 0===r[e])return this;let i=t?yield t.call(null,r[e]):r[e];return n?n.call(null,i):"function"==typeof a[e]?a[e](i):a[e]=i,this},new(s||(s=Promise))(function(e,t){function n(e){try{a(l.next(e))}catch(e){t(e)}}function r(e){try{a(l.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof s?a:new s(function(e){e(a)})).then(n,r)}a((l=l.apply(i,o||[])).next())})}}).set("fontSize",e=>{let t=n.map(e=>e.value);return function(e,t){if("function"==typeof e)return e;if(Array.isArray(e)){let[n,r]=e;if(!t)return()=>(r+n)/2;let[a,i]=t;return i===a?()=>(r+n)/2:({value:e})=>(r-n)/(i-a)*(e-a)+n}return()=>e}(e,[l9(t),rw(t)])}).set("font").set("fontStyle").set("fontWeight").set("padding").set("rotate").set("size").set("spiral").set("timeInterval").set("random").set("text").set("on").set("canvas").setAsync("imageMask",yJ,a.createMask),a.words([...n]);let i=a.start(),[o,s]=r.size,{_bounds:l=[{x:0,y:0},{x:o,y:s}],_tags:c,hasImage:u}=i,d=c.map(e=>{var{x:t,y:n,font:r}=e;return Object.assign(Object.assign({},yX(e,["x","y","font"])),{x:t+o/2,y:n+s/2,fontFamily:r})}),[{x:p,y:f},{x:h,y:g}]=l,m={text:"",value:0,opacity:0,fontSize:0};return d.push(Object.assign(Object.assign({},m),{x:u?0:p,y:u?0:f}),Object.assign(Object.assign({},m),{x:u?o:h,y:u?s:g})),d},new(i||(i=Promise))(function(e,t){function n(e){try{l(o.next(e))}catch(e){t(e)}}function s(e){try{l(o.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(n,s)}l((o=o.apply(r,a||[])).next())})};function y1(e){let{min:t,max:n}=e;return[[t[0],t[1]],[n[0],n[1]]]}function y2(e,t){let[n,r]=e,[a,i]=t;return n>=a[0]&&n<=i[0]&&r>=a[1]&&r<=i[1]}function y3(){let e=new Map;return[t=>e.get(t),(t,n)=>e.set(t,n)]}function y4(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}function y6(e,t,n){return .2126*y4(e)+.7152*y4(t)+.0722*y4(n)}function y5(e,t){let{r:n,g:r,b:a}=e,{r:i,g:o,b:s}=t,l=y6(n,r,a),c=y6(i,o,s);return(Math.max(l,c)+.05)/(Math.min(l,c)+.05)}y0.props={};let y8=(e,t)=>{let[[n,r],[a,i]]=t,[[o,s],[l,c]]=e,u=0,d=0;return oa&&(u=a-l),si&&(d=i-c),[u,d]};var y9=e=>e;function y7(e,t){e&&Et.hasOwnProperty(e.type)&&Et[e.type](e,t)}var Ee={Feature:function(e,t){y7(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,a=n.length;++r0){for(i=e[--t];t>0&&(i=(n=i)+(r=e[--t]),!(a=r-(i-n))););t>0&&(a<0&&e[t-1]<0||a>0&&e[t-1]>0)&&(n=i+(r=2*a),r==n-i&&(i=n))}return i}}var Eo=Math.PI,Es=Eo/2,El=Eo/4,Ec=2*Eo,Eu=180/Eo,Ed=Eo/180,Ep=Math.abs,Ef=Math.atan,Eh=Math.atan2,Eg=Math.cos,Em=Math.ceil,Eb=Math.exp,Ey=Math.log,EE=Math.pow,Ev=Math.sin,ET=Math.sign||function(e){return e>0?1:e<0?-1:0},E_=Math.sqrt,ES=Math.tan;function EA(e){return e>1?0:e<-1?Eo:Math.acos(e)}function EO(e){return e>1?Es:e<-1?-Es:Math.asin(e)}function Ek(){}var Ex,EI,EC,EN,Ew,ER,EL,ED,EP,EM,EF=new Ei,EB=new Ei,Ej={point:Ek,lineStart:Ek,lineEnd:Ek,polygonStart:function(){Ej.lineStart=EU,Ej.lineEnd=E$},polygonEnd:function(){Ej.lineStart=Ej.lineEnd=Ej.point=Ek,EF.add(Ep(EB)),EB=new Ei},result:function(){var e=EF/2;return EF=new Ei,e}};function EU(){Ej.point=EH}function EH(e,t){Ej.point=EG,EL=EP=e,ED=EM=t}function EG(e,t){EB.add(EM*e-EP*t),EP=e,EM=t}function E$(){EG(EL,ED)}var Ez,EW,EY,EV,EZ=1/0,Eq=1/0,EK=-1/0,EX=EK,EQ={point:function(e,t){eEK&&(EK=e),tEX&&(EX=t)},lineStart:Ek,lineEnd:Ek,polygonStart:Ek,polygonEnd:Ek,result:function(){var e=[[EZ,Eq],[EK,EX]];return EK=EX=-(Eq=EZ=1/0),e}},EJ=0,E0=0,E1=0,E2=0,E3=0,E4=0,E6=0,E5=0,E8=0,E9={point:E7,lineStart:ve,lineEnd:vr,polygonStart:function(){E9.lineStart=va,E9.lineEnd=vi},polygonEnd:function(){E9.point=E7,E9.lineStart=ve,E9.lineEnd=vr},result:function(){var e=E8?[E6/E8,E5/E8]:E4?[E2/E4,E3/E4]:E1?[EJ/E1,E0/E1]:[NaN,NaN];return EJ=E0=E1=E2=E3=E4=E6=E5=E8=0,e}};function E7(e,t){EJ+=e,E0+=t,++E1}function ve(){E9.point=vt}function vt(e,t){E9.point=vn,E7(EY=e,EV=t)}function vn(e,t){var n=e-EY,r=t-EV,a=E_(n*n+r*r);E2+=a*(EY+e)/2,E3+=a*(EV+t)/2,E4+=a,E7(EY=e,EV=t)}function vr(){E9.point=E7}function va(){E9.point=vo}function vi(){vs(Ez,EW)}function vo(e,t){E9.point=vs,E7(Ez=EY=e,EW=EV=t)}function vs(e,t){var n=e-EY,r=t-EV,a=E_(n*n+r*r);E2+=a*(EY+e)/2,E3+=a*(EV+t)/2,E4+=a,E6+=(a=EV*e-EY*t)*(EY+e),E5+=a*(EV+t),E8+=3*a,E7(EY=e,EV=t)}function vl(e){this._context=e}vl.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,Ec)}},result:Ek};var vc,vu,vd,vp,vf,vh=new Ei,vg={point:Ek,lineStart:function(){vg.point=vm},lineEnd:function(){vc&&vb(vu,vd),vg.point=Ek},polygonStart:function(){vc=!0},polygonEnd:function(){vc=null},result:function(){var e=+vh;return vh=new Ei,e}};function vm(e,t){vg.point=vb,vu=vp=e,vd=vf=t}function vb(e,t){vp-=e,vf-=t,vh.add(E_(vp*vp+vf*vf)),vp=e,vf=t}function vy(){this._string=[]}function vE(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function vv(e,t){var n,r,a=4.5;function i(e){return e&&("function"==typeof a&&r.pointRadius(+a.apply(this,arguments)),Ea(e,n(r))),r.result()}return i.area=function(e){return Ea(e,n(Ej)),Ej.result()},i.measure=function(e){return Ea(e,n(vg)),vg.result()},i.bounds=function(e){return Ea(e,n(EQ)),EQ.result()},i.centroid=function(e){return Ea(e,n(E9)),E9.result()},i.projection=function(t){return arguments.length?(n=null==t?(e=null,y9):(e=t).stream,i):e},i.context=function(e){return arguments.length?(r=null==e?(t=null,new vy):new vl(t=e),"function"!=typeof a&&r.pointRadius(a),i):t},i.pointRadius=function(e){return arguments.length?(a="function"==typeof e?e:(r.pointRadius(+e),+e),i):a},i.projection(e).context(t)}function vT(e,t,n){e=+e,t=+t,n=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+n;for(var r=-1,a=0|Math.max(0,Math.ceil((t-e)/n)),i=Array(a);++r1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}}function vO(e,t){return 1e-6>Ep(e[0]-t[0])&&1e-6>Ep(e[1]-t[1])}function vk(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function vx(e,t,n,r,a){var i,o,s=[],l=[];if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n,r=e[0],o=e[t];if(vO(r,o)){if(!r[2]&&!o[2]){for(a.lineStart(),i=0;i=0;--i)a.point((u=c[i])[0],u[1]);else r(p.x,p.p.x,-1,a);p=p.p}c=(p=p.o).z,f=!f}while(!p.v);a.lineEnd()}}}function vI(e){if(t=e.length){for(var t,n,r=0,a=e[0];++r=0?1:-1,k=O*A,x=k>Eo,I=m*_;if(l.add(Eh(I*O*Ev(k),b*S+I*Eg(k))),o+=x?A+O*Ec:A,x^h>=n^v>=n){var C=vR(vN(f),vN(E));vP(C);var N=vR(i,C);vP(N);var w=(x^A>=0?-1:1)*EO(N[2]);(r>w||r===w&&(C[0]||C[1]))&&(s+=x^A>=0?1:-1)}}return(o<-.000001||o<1e-6&&l<-.000000000001)^1&s}(i,r);o.length?(d||(a.polygonStart(),d=!0),vx(o,vU,e,n,a)):e&&(d||(a.polygonStart(),d=!0),a.lineStart(),n(null,null,1,a),a.lineEnd()),d&&(a.polygonEnd(),d=!1),o=i=null},sphere:function(){a.polygonStart(),a.lineStart(),n(null,null,1,a),a.lineEnd(),a.polygonEnd()}};function f(t,n){e(t,n)&&a.point(t,n)}function h(e,t){l.point(e,t)}function g(){p.point=h,l.lineStart()}function m(){p.point=f,l.lineEnd()}function b(e,t){s.push([e,t]),u.point(e,t)}function y(){u.lineStart(),s=[]}function E(){b(s[0][0],s[0][1]),u.lineEnd();var e,t,n,r,l=u.clean(),p=c.result(),f=p.length;if(s.pop(),i.push(s),s=null,f){if(1&l){if((t=(n=p[0]).length-1)>0){for(d||(a.polygonStart(),d=!0),a.lineStart(),e=0;e1&&2&l&&p.push(p.pop().concat(p.shift())),o.push(p.filter(vj))}}return p}}function vj(e){return e.length>1}function vU(e,t){return((e=e.x)[0]<0?e[1]-Es-1e-6:Es-e[1])-((t=t.x)[0]<0?t[1]-Es-1e-6:Es-t[1])}vy.prototype={_radius:4.5,_circle:vE(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=vE(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(!this._string.length)return null;var e=this._string.join("");return this._string=[],e}};var vH=vB(function(){return!0},function(e){var t,n=NaN,r=NaN,a=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,o){var s,l,c,u,d,p,f=i>0?Eo:-Eo,h=Ep(i-n);1e-6>Ep(h-Eo)?(e.point(n,r=(r+o)/2>0?Es:-Es),e.point(a,r),e.lineEnd(),e.lineStart(),e.point(f,r),e.point(i,r),t=0):a!==f&&h>=Eo&&(1e-6>Ep(n-a)&&(n-=1e-6*a),1e-6>Ep(i-f)&&(i-=1e-6*f),s=n,l=r,r=Ep(p=Ev(s-(c=i)))>1e-6?Ef((Ev(l)*(d=Eg(o))*Ev(c)-Ev(o)*(u=Eg(l))*Ev(s))/(u*d*p)):(l+o)/2,e.point(a,r),e.lineEnd(),e.lineStart(),e.point(f,r),t=0),e.point(n=i,r=o),a=f},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}},function(e,t,n,r){var a;if(null==e)a=n*Es,r.point(-Eo,a),r.point(0,a),r.point(Eo,a),r.point(Eo,0),r.point(Eo,-a),r.point(0,-a),r.point(-Eo,-a),r.point(-Eo,0),r.point(-Eo,a);else if(Ep(e[0]-t[0])>1e-6){var i=e[0]-t[2]?-n:n)+Ec-1e-6)%Ec}function v$(e,t,n,r){function a(a,i){return e<=a&&a<=n&&t<=i&&i<=r}function i(a,i,s,c){var u=0,d=0;if(null==a||(u=o(a,s))!==(d=o(i,s))||0>l(a,i)^s>0)do c.point(0===u||3===u?e:n,u>1?r:t);while((u=(u+s+4)%4)!==d);else c.point(i[0],i[1])}function o(r,a){return 1e-6>Ep(r[0]-e)?a>0?0:3:1e-6>Ep(r[0]-n)?a>0?2:1:1e-6>Ep(r[1]-t)?a>0?1:0:a>0?3:2}function s(e,t){return l(e.x,t.x)}function l(e,t){var n=o(e,1),r=o(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(o){var l,c,u,d,p,f,h,g,m,b,y,E=o,v=vA(),T={point:_,lineStart:function(){T.point=S,c&&c.push(u=[]),b=!0,m=!1,h=g=NaN},lineEnd:function(){l&&(S(d,p),f&&m&&v.rejoin(),l.push(v.result())),T.point=_,m&&E.lineEnd()},polygonStart:function(){E=v,l=[],c=[],y=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,a=c.length;nr&&(p-i)*(r-o)>(f-o)*(e-i)&&++t:f<=r&&(p-i)*(r-o)<(f-o)*(e-i)&&--t;return t}(),n=y&&t,a=(l=vF(l)).length;(n||a)&&(o.polygonStart(),n&&(o.lineStart(),i(null,null,1,o),o.lineEnd()),a&&vx(l,s,t,i,o),o.polygonEnd()),E=o,l=c=u=null}};function _(e,t){a(e,t)&&E.point(e,t)}function S(i,o){var s=a(i,o);if(c&&u.push([i,o]),b)d=i,p=o,f=s,b=!1,s&&(E.lineStart(),E.point(i,o));else if(s&&m)E.point(i,o);else{var l=[h=Math.max(-1e9,Math.min(1e9,h)),g=Math.max(-1e9,Math.min(1e9,g))],v=[i=Math.max(-1e9,Math.min(1e9,i)),o=Math.max(-1e9,Math.min(1e9,o))];!function(e,t,n,r,a,i){var o,s=e[0],l=e[1],c=t[0],u=t[1],d=0,p=1,f=c-s,h=u-l;if(o=n-s,f||!(o>0)){if(o/=f,f<0){if(o0){if(o>p)return;o>d&&(d=o)}if(o=a-s,f||!(o<0)){if(o/=f,f<0){if(o>p)return;o>d&&(d=o)}else if(f>0){if(o0)){if(o/=h,h<0){if(o0){if(o>p)return;o>d&&(d=o)}if(o=i-l,h||!(o<0)){if(o/=h,h<0){if(o>p)return;o>d&&(d=o)}else if(h>0){if(o0&&(e[0]=s+d*f,e[1]=l+d*h),p<1&&(t[0]=s+p*f,t[1]=l+p*h),!0}}}}}(l,v,e,t,n,r)?s&&(E.lineStart(),E.point(i,o),y=!1):(m||(E.lineStart(),E.point(l[0],l[1])),E.point(v[0],v[1]),s||E.lineEnd(),y=!1)}h=i,g=o,m=s}return T}}function vz(e,t){function n(n,r){return t((n=e(n,r))[0],n[1])}return e.invert&&t.invert&&(n.invert=function(n,r){return(n=t.invert(n,r))&&e.invert(n[0],n[1])}),n}function vW(e,t){return[Ep(e)>Eo?e+Math.round(-e/Ec)*Ec:e,t]}function vY(e,t,n){return(e%=Ec)?t||n?vz(vZ(e),vq(t,n)):vZ(e):t||n?vq(t,n):vW}function vV(e){return function(t,n){return[(t+=e)>Eo?t-Ec:t<-Eo?t+Ec:t,n]}}function vZ(e){var t=vV(e);return t.invert=vV(-e),t}function vq(e,t){var n=Eg(e),r=Ev(e),a=Eg(t),i=Ev(t);function o(e,t){var o=Eg(t),s=Eg(e)*o,l=Ev(e)*o,c=Ev(t),u=c*n+s*r;return[Eh(l*a-u*i,s*n-c*r),EO(u*a+l*i)]}return o.invert=function(e,t){var o=Eg(t),s=Eg(e)*o,l=Ev(e)*o,c=Ev(t),u=c*a-l*i;return[Eh(l*a+c*i,s*n+u*r),EO(u*n-s*r)]},o}function vK(e){return function(t){var n=new vX;for(var r in e)n[r]=e[r];return n.stream=t,n}}function vX(){}function vQ(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),null!=r&&e.clipExtent(null),Ea(n,e.stream(EQ)),t(EQ.result()),null!=r&&e.clipExtent(r),e}function vJ(e,t,n){return vQ(e,function(n){var r=t[1][0]-t[0][0],a=t[1][1]-t[0][1],i=Math.min(r/(n[1][0]-n[0][0]),a/(n[1][1]-n[0][1])),o=+t[0][0]+(r-i*(n[1][0]+n[0][0]))/2,s=+t[0][1]+(a-i*(n[1][1]+n[0][1]))/2;e.scale(150*i).translate([o,s])},n)}function v0(e,t,n){return vJ(e,[[0,0],t],n)}function v1(e,t,n){return vQ(e,function(n){var r=+t,a=r/(n[1][0]-n[0][0]),i=(r-a*(n[1][0]+n[0][0]))/2,o=-a*n[0][1];e.scale(150*a).translate([i,o])},n)}function v2(e,t,n){return vQ(e,function(n){var r=+t,a=r/(n[1][1]-n[0][1]),i=-a*n[0][0],o=(r-a*(n[1][1]+n[0][1]))/2;e.scale(150*a).translate([i,o])},n)}vW.invert=vW,vX.prototype={constructor:vX,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var v3=Eg(30*Ed);function v4(e,t){return+t?function(e,t){function n(r,a,i,o,s,l,c,u,d,p,f,h,g,m){var b=c-r,y=u-a,E=b*b+y*y;if(E>4*t&&g--){var v=o+p,T=s+f,_=l+h,S=E_(v*v+T*T+_*_),A=EO(_/=S),O=1e-6>Ep(Ep(_)-1)||1e-6>Ep(i-d)?(i+d)/2:Eh(T,v),k=e(O,A),x=k[0],I=k[1],C=x-r,N=I-a,w=y*C-b*N;(w*w/E>t||Ep((b*C+y*N)/E-.5)>.3||o*p+s*f+l*h0,a=Ep(t)>1e-6;function i(e,n){return Eg(e)*Eg(n)>t}function o(e,n,r){var a=vN(e),i=vN(n),o=[1,0,0],s=vR(a,i),l=vw(s,s),c=s[0],u=l-c*c;if(!u)return!r&&e;var d=t*l/u,p=-t*c/u,f=vR(o,s),h=vD(o,d);vL(h,vD(s,p));var g=vw(h,f),m=vw(f,f),b=g*g-m*(vw(h,h)-1);if(!(b<0)){var y=E_(b),E=vD(f,(-g-y)/m);if(vL(E,h),E=vC(E),!r)return E;var v,T=e[0],_=n[0],S=e[1],A=n[1];_Ep(O-Eo),x=k||O<1e-6;if(!k&&A0^E[1]<(1e-6>Ep(E[0]-T)?S:A):S<=E[1]&&E[1]<=A:O>Eo^(T<=E[0]&&E[0]<=_)){var I=vD(f,(-g+y)/m);return vL(I,h),[E,vC(I)]}}}function s(t,n){var a=r?e:Eo-e,i=0;return t<-a?i|=1:t>a&&(i|=2),n<-a?i|=4:n>a&&(i|=8),i}return vB(i,function(e){var t,n,l,c,u;return{lineStart:function(){c=l=!1,u=1},point:function(d,p){var f,h,g=[d,p],m=i(d,p),b=r?m?0:s(d,p):m?s(d+(d<0?Eo:-Eo),p):0;!t&&(c=l=m)&&e.lineStart(),m!==l&&(!(h=o(t,g))||vO(t,h)||vO(g,h))&&(g[2]=1),m!==l?(u=0,m?(e.lineStart(),h=o(g,t),e.point(h[0],h[1])):(h=o(t,g),e.point(h[0],h[1],2),e.lineEnd()),t=h):a&&t&&r^m&&!(b&n)&&(f=o(g,t,!0))&&(u=0,r?(e.lineStart(),e.point(f[0][0],f[0][1]),e.point(f[1][0],f[1][1]),e.lineEnd()):(e.point(f[1][0],f[1][1]),e.lineEnd(),e.lineStart(),e.point(f[0][0],f[0][1],3))),!m||t&&vO(t,g)||e.point(g[0],g[1]),t=g,l=m,n=b},lineEnd:function(){l&&e.lineEnd(),t=null},clean:function(){return u|(c&&l)<<1}}},function(t,r,a,i){!function(e,t,n,r,a,i){if(n){var o=Eg(t),s=Ev(t),l=r*n;null==a?(a=t+r*Ec,i=t-l/2):(a=vG(o,a),i=vG(o,i),(r>0?ai)&&(a+=r*Ec));for(var c,u=a;r>0?u>i:u2?e[2]%360*Ed:0,C()):[m*Eu,b*Eu,y*Eu]},x.angle=function(e){return arguments.length?(E=e%360*Ed,C()):E*Eu},x.reflectX=function(e){return arguments.length?(v=e?-1:1,C()):v<0},x.reflectY=function(e){return arguments.length?(T=e?-1:1,C()):T<0},x.precision=function(e){return arguments.length?(o=v4(s,k=e*e),N()):E_(k)},x.fitExtent=function(e,t){return vJ(x,e,t)},x.fitSize=function(e,t){return v0(x,e,t)},x.fitWidth=function(e,t){return v1(x,e,t)},x.fitHeight=function(e,t){return v2(x,e,t)},function(){return t=e.apply(this,arguments),x.invert=t.invert&&I,C()}}function v7(e){var t=0,n=Eo/3,r=v9(e),a=r(t,n);return a.parallels=function(e){return arguments.length?r(t=e[0]*Ed,n=e[1]*Ed):[t*Eu,n*Eu]},a}function Te(e,t){var n=Ev(e),r=(n+Ev(t))/2;if(1e-6>Ep(r))return function(e){var t=Eg(e);function n(e,n){return[e*t,Ev(n)/t]}return n.invert=function(e,n){return[e/t,EO(n*t)]},n}(e);var a=1+n*(2*r-n),i=E_(a)/r;function o(e,t){var n=E_(a-2*r*Ev(t))/r;return[n*Ev(e*=r),i-n*Eg(e)]}return o.invert=function(e,t){var n=i-t,o=Eh(e,Ep(n))*ET(n);return n*r<0&&(o-=Eo*ET(e)*ET(n)),[o/r,EO((a-(e*e+n*n)*r*r)/(2*r))]},o}function Tt(){return v7(Te).scale(155.424).center([0,33.6442])}function Tn(){return Tt().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function Tr(){var e,t,n,r,a,i,o=Tn(),s=Tt().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=Tt().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(e,t){i=[e,t]}};function u(e){var t=e[0],o=e[1];return i=null,n.point(t,o),i||(r.point(t,o),i)||(a.point(t,o),i)}function d(){return e=t=null,u}return u.invert=function(e){var t=o.scale(),n=o.translate(),r=(e[0]-n[0])/t,a=(e[1]-n[1])/t;return(a>=.12&&a<.234&&r>=-.425&&r<-.214?s:a>=.166&&a<.234&&r>=-.214&&r<-.115?l:o).invert(e)},u.stream=function(n){var r,a;return e&&t===n?e:(a=(r=[o.stream(t=n),s.stream(n),l.stream(n)]).length,e={point:function(e,t){for(var n=-1;++n2?e[2]*Ed:0),t.invert=function(t){return t=e.invert(t[0]*Ed,t[1]*Ed),t[0]*=Eu,t[1]*=Eu,t},t})(a.rotate()).invert([0,0]));return l(null==c?[[s[0]-i,s[1]-i],[s[0]+i,s[1]+i]]:e===Tu?[[Math.max(s[0]-i,c),t],[Math.min(s[0]+i,n),r]]:[[c,Math.max(s[1]-i,t)],[n,Math.min(s[1]+i,r)]])}return a.scale=function(e){return arguments.length?(o(e),u()):o()},a.translate=function(e){return arguments.length?(s(e),u()):s()},a.center=function(e){return arguments.length?(i(e),u()):i()},a.clipExtent=function(e){return arguments.length?(null==e?c=t=n=r=null:(c=+e[0][0],t=+e[0][1],n=+e[1][0],r=+e[1][1]),u()):null==c?null:[[c,t],[n,r]]},u()}function Tf(e){return ES((Es+e)/2)}function Th(e,t){var n=Eg(e),r=e===t?Ev(e):Ey(n/Eg(t))/Ey(Tf(t)/Tf(e)),a=n*EE(Tf(e),r)/r;if(!r)return Tu;function i(e,t){a>0?t<-Es+1e-6&&(t=-Es+1e-6):t>Es-1e-6&&(t=Es-1e-6);var n=a/EE(Tf(t),r);return[n*Ev(r*e),a-n*Eg(r*e)]}return i.invert=function(e,t){var n=a-t,i=ET(r)*E_(e*e+n*n),o=Eh(e,Ep(n))*ET(n);return n*r<0&&(o-=Eo*ET(e)*ET(n)),[o/r,2*Ef(EE(a/i,1/r))-Es]},i}function Tg(){return v7(Th).scale(109.5).parallels([30,30])}function Tm(e,t){return[e,t]}function Tb(){return v8(Tm).scale(152.63)}function Ty(e,t){var n=Eg(e),r=e===t?Ev(e):(n-Eg(t))/(t-e),a=n/r+e;if(1e-6>Ep(r))return Tm;function i(e,t){var n=a-t,i=r*e;return[n*Ev(i),a-n*Eg(i)]}return i.invert=function(e,t){var n=a-t,i=Eh(e,Ep(n))*ET(n);return n*r<0&&(i-=Eo*ET(e)*ET(n)),[i/r,a-ET(r)*E_(e*e+n*n)]},i}function TE(){return v7(Ty).scale(131.154).center([0,13.9389])}Tl.invert=Ti(function(e){return e}),Tu.invert=function(e,t){return[e,2*Ef(Eb(t))-Es]},Tm.invert=Tm;var Tv=E_(3)/2;function TT(e,t){var n=EO(Tv*Ev(t)),r=n*n,a=r*r*r;return[e*Eg(n)/(Tv*(1.340264+-.24331799999999998*r+a*(.0062510000000000005+.034164*r))),n*(1.340264+-.081106*r+a*(893e-6+.003796*r))]}function T_(){return v8(TT).scale(177.158)}function TS(e,t){var n=Eg(t),r=Eg(e)*n;return[n*Ev(e)/r,Ev(t)/r]}function TA(){return v8(TS).scale(144.049).clipAngle(60)}function TO(){var e,t,n,r,a,i,o,s=1,l=0,c=0,u=1,d=1,p=0,f=null,h=1,g=1,m=vK({point:function(e,t){var n=E([e,t]);this.stream.point(n[0],n[1])}}),b=y9;function y(){return h=s*u,g=s*d,i=o=null,E}function E(n){var r=n[0]*h,a=n[1]*g;if(p){var i=a*e-r*t;r=r*e+a*t,a=i}return[r+l,a+c]}return E.invert=function(n){var r=n[0]-l,a=n[1]-c;if(p){var i=a*e+r*t;r=r*e-a*t,a=i}return[r/h,a/g]},E.stream=function(e){return i&&o===e?i:i=m(b(o=e))},E.postclip=function(e){return arguments.length?(b=e,f=n=r=a=null,y()):b},E.clipExtent=function(e){return arguments.length?(b=null==e?(f=n=r=a=null,y9):v$(f=+e[0][0],n=+e[0][1],r=+e[1][0],a=+e[1][1]),y()):null==f?null:[[f,n],[r,a]]},E.scale=function(e){return arguments.length?(s=+e,y()):s},E.translate=function(e){return arguments.length?(l=+e[0],c=+e[1],y()):[l,c]},E.angle=function(n){return arguments.length?(t=Ev(p=n%360*Ed),e=Eg(p),y()):p*Eu},E.reflectX=function(e){return arguments.length?(u=e?-1:1,y()):u<0},E.reflectY=function(e){return arguments.length?(d=e?-1:1,y()):d<0},E.fitExtent=function(e,t){return vJ(E,e,t)},E.fitSize=function(e,t){return v0(E,e,t)},E.fitWidth=function(e,t){return v1(E,e,t)},E.fitHeight=function(e,t){return v2(E,e,t)},E}function Tk(e,t){var n=t*t,r=n*n;return[e*(.8707-.131979*n+r*(-.013791+r*(.003971*n-.001529*r))),t*(1.007226+n*(.015085+r*(-.044475+.028874*n-.005916*r)))]}function Tx(){return v8(Tk).scale(175.295)}function TI(e,t){return[Eg(t)*Ev(e),Ev(t)]}function TC(){return v8(TI).scale(249.5).clipAngle(90.000001)}function TN(e,t){var n=Eg(t),r=1+Eg(e)*n;return[n*Ev(e)/r,Ev(t)/r]}function Tw(){return v8(TN).scale(250).clipAngle(142)}function TR(e,t){return[Ey(ES((Es+t)/2)),-e]}function TL(){var e=Tp(TR),t=e.center,n=e.rotate;return e.center=function(e){return arguments.length?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return arguments.length?n([e[0],e[1],e.length>2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)}TT.invert=function(e,t){for(var n,r,a=t,i=a*a,o=i*i*i,s=0;s<12&&(r=a*(1.340264+-.081106*i+o*(893e-6+.003796*i))-t,a-=n=r/(1.340264+-.24331799999999998*i+o*(.0062510000000000005+.034164*i)),o=(i=a*a)*i*i,!(1e-12>Ep(n)));++s);return[Tv*e*(1.340264+-.24331799999999998*i+o*(.0062510000000000005+.034164*i))/Eg(a),EO(Ev(a)/Tv)]},TS.invert=Ti(Ef),Tk.invert=function(e,t){var n,r=t,a=25;do{var i=r*r,o=i*i;r-=n=(r*(1.007226+i*(.015085+o*(-.044475+.028874*i-.005916*o)))-t)/(1.007226+i*(.045255+o*(-.311325+.259866*i-.005916*11*o)))}while(Ep(n)>1e-6&&--a>0);return[e/(.8707+(i=r*r)*(-.131979+i*(-.013791+i*i*i*(.003971-.001529*i)))),r]},TI.invert=Ti(EO),TN.invert=Ti(function(e){return 2*Ef(e)}),TR.invert=function(e,t){return[-t,2*Ef(Eb(e))-Es]};var TD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function TP(e){let{data:t}=e;if(Array.isArray(t))return Object.assign(Object.assign({},e),{data:{value:t}});let{type:n}=t;return"graticule10"===n?Object.assign(Object.assign({},e),{data:{value:[(function(){var e,t,n,r,a,i,o,s,l,c,u,d,p=10,f=10,h=90,g=360,m=2.5;function b(){return{type:"MultiLineString",coordinates:y()}}function y(){return vT(Em(r/h)*h,n,h).map(u).concat(vT(Em(s/g)*g,o,g).map(d)).concat(vT(Em(t/p)*p,e,p).filter(function(e){return Ep(e%h)>1e-6}).map(l)).concat(vT(Em(i/f)*f,a,f).filter(function(e){return Ep(e%g)>1e-6}).map(c))}return b.lines=function(){return y().map(function(e){return{type:"LineString",coordinates:e}})},b.outline=function(){return{type:"Polygon",coordinates:[u(r).concat(d(o).slice(1),u(n).reverse().slice(1),d(s).reverse().slice(1))]}},b.extent=function(e){return arguments.length?b.extentMajor(e).extentMinor(e):b.extentMinor()},b.extentMajor=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],s=+e[0][1],o=+e[1][1],r>n&&(e=r,r=n,n=e),s>o&&(e=s,s=o,o=e),b.precision(m)):[[r,s],[n,o]]},b.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],i=+n[0][1],a=+n[1][1],t>e&&(n=t,t=e,e=n),i>a&&(n=i,i=a,a=n),b.precision(m)):[[t,i],[e,a]]},b.step=function(e){return arguments.length?b.stepMajor(e).stepMinor(e):b.stepMinor()},b.stepMajor=function(e){return arguments.length?(h=+e[0],g=+e[1],b):[h,g]},b.stepMinor=function(e){return arguments.length?(p=+e[0],f=+e[1],b):[p,f]},b.precision=function(p){return arguments.length?(m=+p,l=v_(i,a,90),c=vS(t,e,m),u=v_(s,o,90),d=vS(r,n,m),b):m},b.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])})()()]}}):"sphere"===n?Object.assign(Object.assign({},e),{sphere:!0,data:{value:[{type:"Sphere"}]}}):e}function TM(e){return"geoPath"===e.type}let TF=()=>e=>{let t;let{children:n,coordinate:r={}}=e;if(!Array.isArray(n))return[];let{type:a="equalEarth"}=r,i=TD(r,["type"]),o=function(e){if("function"==typeof e)return e;let t=`geo${(0,rg.Z)(e)}`,n=K[t];if(!n)throw Error(`Unknown coordinate: ${e}`);return n}(a),s=n.map(TP);return[Object.assign(Object.assign({},e),{type:"view",scale:{x:{type:"identity"},y:{type:"identity"}},axis:!1,coordinate:{type:function(){return[["custom",(e,n,r,a)=>{let l=o();!function(e,t,n,r){let{outline:a=(()=>{let e=t.filter(TM),n=e.find(e=>e.sphere);return n?{type:"Sphere"}:{type:"FeatureCollection",features:e.filter(e=>!e.sphere).flatMap(e=>e.data.value).flatMap(e=>(function(e){if(!e||!e.type)return null;let t={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featureCollection"}[e.type];return t?"geometry"===t?{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:e}]}:"feature"===t?{type:"FeatureCollection",features:[e]}:"featureCollection"===t?e:void 0:null})(e).features)}})()}=r,{size:i="fitExtent"}=r;"fitExtent"===i?function(e,t,n){let{x:r,y:a,width:i,height:o}=n;e.fitExtent([[r,a],[i,o]],t)}(e,a,n):"fitWidth"===i&&function(e,t,n){let{width:r,height:a}=n,[[i,o],[s,l]]=vv(e.fitWidth(r,t)).bounds(t),c=Math.ceil(l-o),u=Math.min(Math.ceil(s-i),c),d=e.scale()*(u-1)/u,[p,f]=e.translate();e.scale(d).translate([p,f+(a-c)/2]).precision(.2)}(e,a,n)}(l,s,{x:e,y:n,width:r,height:a},i),function(e,t){var n;for(let[r,a]of Object.entries(t))null===(n=e[r])||void 0===n||n.call(e,a)}(l,i),t=vv(l);let c=new rK.b({domain:[e,e+r]}),u=new rK.b({domain:[n,n+a]}),d=e=>{let t=l(e);if(!t)return[null,null];let[n,r]=t;return[c.map(n),u.map(r)]},p=e=>{if(!e)return null;let[t,n]=e,r=[c.invert(t),u.invert(n)];return l.invert(r)};return{transform:e=>d(e),untransform:e=>p(e)}}]]}},children:s.flatMap(e=>TM(e)?function(e){let{style:n,tooltip:r={}}=e;return Object.assign(Object.assign({},e),{type:"path",tooltip:cn(r,{title:"id",items:[{channel:"color"}]}),style:Object.assign(Object.assign({},n),{d:e=>t(e)||[]})})}(e):e)})]};TF.props={};var TB=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let Tj=()=>e=>{let{type:t,data:n,scale:r,encode:a,style:i,animate:o,key:s,state:l}=e,c=TB(e,["type","data","scale","encode","style","animate","key","state"]);return[Object.assign(Object.assign({type:"geoView"},c),{children:[{type:"geoPath",key:`${s}-0`,data:{value:n},scale:r,encode:a,style:i,animate:o,state:l}]})]};function TU(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var a,i,o,s,l,c,u,d,p,f=e._root,h={data:r},g=e._x0,m=e._y0,b=e._x1,y=e._y1;if(!f)return e._root=h,e;for(;f.length;)if((c=t>=(i=(g+b)/2))?g=i:b=i,(u=n>=(o=(m+y)/2))?m=o:y=o,a=f,!(f=f[d=u<<1|c]))return a[d]=h,e;if(s=+e._x.call(null,f.data),l=+e._y.call(null,f.data),t===s&&n===l)return h.next=f,a?a[d]=h:e._root=h,e;do a=a?a[d]=[,,,,]:e._root=[,,,,],(c=t>=(i=(g+b)/2))?g=i:b=i,(u=n>=(o=(m+y)/2))?m=o:y=o;while((d=u<<1|c)==(p=(l>=o)<<1|s>=i));return a[p]=f,a[d]=h,e}function TH(e,t,n,r,a){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=a}function TG(e){return e[0]}function T$(e){return e[1]}function Tz(e,t,n){var r=new TW(null==t?TG:t,null==n?T$:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}function TW(e,t,n,r,a,i){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=a,this._y1=i,this._root=void 0}function TY(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}Tj.props={};var TV=Tz.prototype=TW.prototype;function TZ(e){return function(){return e}}function Tq(e){return(e()-.5)*1e-6}TV.copy=function(){var e,t,n=new TW(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=TY(r),n;for(e=[{source:r,target:n._root=[,,,,]}];r=e.pop();)for(var a=0;a<4;++a)(t=r.source[a])&&(t.length?e.push({source:t,target:r.target[a]=[,,,,]}):r.target[a]=TY(t));return n},TV.add=function(e){let t=+this._x.call(null,e),n=+this._y.call(null,e);return TU(this.cover(t,n),t,n,e)},TV.addAll=function(e){var t,n,r,a,i=e.length,o=Array(i),s=Array(i),l=1/0,c=1/0,u=-1/0,d=-1/0;for(n=0;nu&&(u=r),ad&&(d=a));if(l>u||c>d)return this;for(this.cover(l,c).cover(u,d),n=0;ne||e>=a||r>t||t>=i;)switch(s=(tp)&&!((i=l.y0)>f)&&!((o=l.x1)=b)<<1|e>=m)&&(l=h[h.length-1],h[h.length-1]=h[h.length-1-c],h[h.length-1-c]=l)}else{var y=e-+this._x.call(null,g.data),E=t-+this._y.call(null,g.data),v=y*y+E*E;if(v=(s=(h+m)/2))?h=s:m=s,(u=o>=(l=(g+b)/2))?g=l:b=l,t=f,!(f=f[d=u<<1|c]))return this;if(!f.length)break;(t[d+1&3]||t[d+2&3]||t[d+3&3])&&(n=t,p=d)}for(;f.data!==e;)if(r=f,!(f=f.next))return this;return((a=f.next)&&delete f.next,r)?(a?r.next=a:delete r.next,this):t?(a?t[d]=a:delete t[d],(f=t[0]||t[1]||t[2]||t[3])&&f===(t[3]||t[2]||t[1]||t[0])&&!f.length&&(n?n[p]=f:this._root=f),this):(this._root=a,this)},TV.removeAll=function(e){for(var t=0,n=e.length;t{}};function TX(){for(var e,t=0,n=arguments.length,r={};t=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw Error("unknown type: "+e);return{type:e,name:t}}),i=-1,o=a.length;if(arguments.length<2){for(;++i0)for(var n,r,a=Array(n),i=0;i=0&&t._call.call(null,e),t=t._next;--T2}()}finally{T2=0,function(){for(var e,t,n=T0,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:T0=t);T1=e,_o(r)}(),T5=0}}function _i(){var e=T9.now(),t=e-T6;t>1e3&&(T8-=t,T6=e)}function _o(e){!T2&&(T3&&(T3=clearTimeout(T3)),e-T5>24?(e<1/0&&(T3=setTimeout(_a,e-T9.now()-T8)),T4&&(T4=clearInterval(T4))):(T4||(T6=T9.now(),T4=setInterval(_i,1e3)),T2=1,T7(_a)))}function _s(e){return e.x}function _l(e){return e.y}_n.prototype=_r.prototype={constructor:_n,restart:function(e,t,n){if("function"!=typeof e)throw TypeError("callback is not a function");n=(null==n?_e():+n)+(null==t?0:+t),this._next||T1===this||(T1?T1._next=this:T0=this,T1=this),this._call=e,this._time=n,_o()},stop:function(){this._call&&(this._call=null,this._time=1/0,_o())}};var _c=Math.PI*(3-Math.sqrt(5));function _u(e){return e.index}function _d(e,t){var n=e.get(t);if(!n)throw Error("node not found: "+t);return n}var _p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let _f={joint:!0},_h={type:"link",axis:!1,legend:!1,encode:{x:[e=>e.source.x,e=>e.target.x],y:[e=>e.source.y,e=>e.target.y]},style:{stroke:"#999",strokeOpacity:.6}},_g={type:"point",axis:!1,legend:!1,encode:{x:"x",y:"y",size:5,color:"group",shape:"point"},style:{stroke:"#fff"}},_m={text:""},_b=e=>{let{data:t,encode:n={},scale:r,style:a={},layout:i={},nodeLabels:o=[],linkLabels:s=[],animate:l={},tooltip:c={}}=e,{nodeKey:u=e=>e.id,linkKey:d=e=>e.id}=n,p=_p(n,["nodeKey","linkKey"]),f=Object.assign({nodeKey:u,linkKey:d},p),h=ri(f,"node"),g=ri(f,"link"),{links:m,nodes:b}=da(t,f),{nodesData:y,linksData:E}=function(e,t,n){let{nodes:r,links:a}=e,{joint:i,nodeStrength:o,linkStrength:s}=t,{nodeKey:l=e=>e.id,linkKey:c=e=>e.id}=n,u=function(){var e,t,n,r,a,i=TZ(-30),o=1,s=1/0,l=.81;function c(n){var a,i=e.length,o=Tz(e,_s,_l).visitAfter(d);for(r=n,a=0;a=s)){(e.data!==t||e.next)&&(0===d&&(h+=(d=Tq(n))*d),0===p&&(h+=(p=Tq(n))*p),h[s(e,t,r),e]));for(o=0,a=Array(c);o(t=(1664525*t+1013904223)%4294967296)/4294967296);function p(){f(),u.call("tick",n),r1?(null==t?l.delete(e):l.set(e,g(t)),n):l.get(e)},find:function(t,n,r){var a,i,o,s,l,c=0,u=e.length;for(null==r?r=1/0:r*=r,c=0;c1?(u.on(e,t),n):u.on(e)}}})(r).force("link",d).force("charge",u);i?p.force("center",function(e,t){var n,r=1;function a(){var a,i,o=n.length,s=0,l=0;for(a=0;a({name:"source",value:dn(d)(e.source)}),e=>({name:"target",value:dn(d)(e.target)})]}),T=ct(c,"node",{items:[e=>({name:"key",value:dn(u)(e)})]},!0);return[(0,nX.Z)({},_h,{data:E,encode:g,labels:s,style:ri(a,"link"),tooltip:v,animate:ca(l,"link")}),(0,nX.Z)({},_g,{data:y,encode:Object.assign({},h),scale:r,style:ri(a,"node"),tooltip:T,labels:[Object.assign(Object.assign({},_m),ri(a,"label")),...o],animate:ca(l,"link")})]};function _y(e,t){return e.parent===t.parent?1:2}function _E(e){var t=e.children;return t?t[0]:e.t}function _v(e){var t=e.children;return t?t[t.length-1]:e.t}function _T(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}function __(){var e=_y,t=1,n=1,r=null;function a(a){var l=function(e){for(var t,n,r,a,i,o=new _T(e,0),s=[o];t=s.pop();)if(r=t._.children)for(t.children=Array(i=r.length),a=i-1;a>=0;--a)s.push(n=t.children[a]=new _T(r[a],a)),n.parent=t;return(o.parent=new _T(null,0)).children=[o],o}(a);if(l.eachAfter(i),l.parent.m=-l.z,l.eachBefore(o),r)a.eachBefore(s);else{var c=a,u=a,d=a;a.eachBefore(function(e){e.xu.x&&(u=e),e.depth>d.depth&&(d=e)});var p=c===u?1:e(c,u)/2,f=p-c.x,h=t/(u.x+p+f),g=n/(d.depth||1);a.eachBefore(function(e){e.x=(e.x+f)*h,e.y=e.depth*g})}return a}function i(t){var n=t.children,r=t.parent.children,a=t.i?r[t.i-1]:null;if(n){!function(e){for(var t,n=0,r=0,a=e.children,i=a.length;--i>=0;)t=a[i],t.z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var i=(n[0].z+n[n.length-1].z)/2;a?(t.z=a.z+e(t._,a._),t.m=t.z-i):t.z=i}else a&&(t.z=a.z+e(t._,a._));t.parent.A=function(t,n,r){if(n){for(var a,i,o,s=t,l=t,c=n,u=s.parent.children[0],d=s.m,p=l.m,f=c.m,h=u.m;c=_v(c),s=_E(s),c&&s;)u=_E(u),(l=_v(l)).a=t,(o=c.z+f-s.z-d+e(c._,s._))>0&&(function(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}((a=c,i=r,a.a.parent===t.parent?a.a:i),t,o),d+=o,p+=o),f+=c.m,d+=s.m,h+=u.m,p+=l.m;c&&!_v(l)&&(l.t=c,l.m+=f-p),s&&!_E(u)&&(u.t=s,u.m+=d-h,r=t)}return r}(t,a,t.parent.A||r[0])}function o(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(e){e.x*=t,e.y=e.depth*n}return a.separation=function(t){return arguments.length?(e=t,a):e},a.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],a):r?null:[t,n]},a.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],a):r?[t,n]:null},a}function _S(e,t){return e.parent===t.parent?1:2}function _A(e,t){return e+t.x}function _O(e,t){return Math.max(e,t.y)}function _k(){var e=_S,t=1,n=1,r=!1;function a(a){var i,o=0;a.eachAfter(function(t){var n=t.children;n?(t.x=n.reduce(_A,0)/n.length,t.y=1+n.reduce(_O,0)):(t.x=i?o+=e(t,i):0,t.y=0,i=t)});var s=function(e){for(var t;t=e.children;)e=t[0];return e}(a),l=function(e){for(var t;t=e.children;)e=t[t.length-1];return e}(a),c=s.x-e(s,l)/2,u=l.x+e(l,s)/2;return a.eachAfter(r?function(e){e.x=(e.x-a.x)*t,e.y=(a.y-e.y)*n}:function(e){e.x=(e.x-c)/(u-c)*t,e.y=(1-(a.y?e.y/a.y:1))*n})}return a.separation=function(t){return arguments.length?(e=t,a):e},a.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],a):r?null:[t,n]},a.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],a):r?[t,n]:null},a}_b.props={},_T.prototype=Object.create(ua.prototype);let _x=e=>t=>n=>{let{field:r="value",nodeSize:a,separation:i,sortBy:o,as:s=["x","y"]}=t,[l,c]=s,u=c7(n,e=>e.children).sum(e=>e[r]).sort(o),d=e();d.size([1,1]),a&&d.nodeSize(a),i&&d.separation(i),d(u);let p=[];u.each(e=>{e[l]=e.x,e[c]=e.y,e.name=e.data.name,p.push(e)});let f=u.links();return f.forEach(e=>{e[l]=[e.source[l],e.target[l]],e[c]=[e.source[c],e.target[c]]}),{nodes:p,edges:f}},_I=e=>_x(_k)(e);_I.props={};let _C=e=>_x(__)(e);_C.props={};let _N={sortBy:(e,t)=>t.value-e.value},_w={axis:!1,legend:!1,type:"point",encode:{x:"x",y:"y",size:2,shape:"point"}},_R={type:"link",encode:{x:"x",y:"y",shape:"smooth"}},_L={text:"",fontSize:10},_D=e=>{let{data:t,encode:n={},scale:r={},style:a={},layout:i={},nodeLabels:o=[],linkLabels:s=[],animate:l={},tooltip:c={}}=e,u=null==n?void 0:n.value,{nodes:d,edges:p}=_C(Object.assign(Object.assign(Object.assign({},_N),i),{field:u}))(t),f=ct(c,"node",{title:"name",items:["value"]},!0),h=ct(c,"link",{title:"",items:[e=>({name:"source",value:e.source.name}),e=>({name:"target",value:e.target.name})]});return[(0,nX.Z)({},_R,{data:p,encode:ri(n,"link"),scale:ri(r,"link"),labels:s,style:Object.assign({stroke:"#999"},ri(a,"link")),tooltip:h,animate:ca(l,"link")}),(0,nX.Z)({},_w,{data:d,scale:ri(r,"node"),encode:ri(n,"node"),labels:[Object.assign(Object.assign({},_L),ri(a,"label")),...o],style:Object.assign({},ri(a,"node")),tooltip:f,animate:ca(l,"node")})]};function _P(e,t){var n=e.r-t.r,r=t.x-e.x,a=t.y-e.y;return n<0||n*n0&&n*n>r*r+a*a}function _F(e,t){for(var n=0;n(o*=o)?(r=(c+o-a)/(2*c),i=Math.sqrt(Math.max(0,o/c-r*r)),n.x=e.x-r*s-i*l,n.y=e.y-r*l+i*s):(r=(c+a-o)/(2*c),i=Math.sqrt(Math.max(0,a/c-r*r)),n.x=t.x+r*s-i*l,n.y=t.y+r*l+i*s)):(n.x=t.x+n.r,n.y=t.y)}function _H(e,t){var n=e.r+t.r-1e-6,r=t.x-e.x,a=t.y-e.y;return n>0&&n*n>r*r+a*a}function _G(e){var t=e._,n=e.next._,r=t.r+n.r,a=(t.x*n.r+n.x*t.r)/r,i=(t.y*n.r+n.y*t.r)/r;return a*a+i*i}function _$(e){this._=e,this.next=null,this.previous=null}function _z(e){return Math.sqrt(e.value)}function _W(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function _Y(e,t){return function(n){if(r=n.children){var r,a,i,o=r.length,s=e(n)*t||0;if(s)for(a=0;a1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(a>2))return t.r+n.r;_U(n,t,r=e[2]),t=new _$(t),n=new _$(n),r=new _$(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;t:for(s=3;st.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let _q=(e,t)=>({size:[e,t],padding:0,sort:(e,t)=>t.value-e.value}),_K=(e,t,n)=>({type:"point",axis:!1,legend:!1,scale:{x:{domain:[0,e]},y:{domain:[0,t]},size:{type:"identity"}},encode:{x:"x",y:"y",size:"r",shape:"point"},style:{fill:n.color?void 0:e=>0===e.height?"#ddd":"#fff",stroke:n.color?void 0:e=>0===e.height?"":"#000"}}),_X={text:"",position:"inside",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:e=>2*e.r},_Q={title:e=>e.data.name,items:[{field:"value"}]},_J=(e,t,n)=>{let{value:r}=n,a=(0,rh.Z)(e)?md().path(t.path)(e):c7(e);return r?a.sum(e=>dn(r)(e)).sort(t.sort):a.count(),(function(){var e=null,t=1,n=1,r=mE;function a(a){return a.x=t/2,a.y=n/2,e?a.eachBefore(_W(e)).eachAfter(_Y(r,.5)).eachBefore(_V(1)):a.eachBefore(_W(_z)).eachAfter(_Y(mE,1)).eachAfter(_Y(r,a.r/Math.min(t,n))).eachBefore(_V(Math.min(t,n)/(2*a.r))),a}return a.radius=function(t){return arguments.length?(e=null==t?null:mo(t),a):e},a.size=function(e){return arguments.length?(t=+e[0],n=+e[1],a):[t,n]},a.padding=function(e){return arguments.length?(r="function"==typeof e?e:mv(+e),a):r},a})().size(t.size).padding(t.padding)(a),a.descendants()},_0=(e,t)=>{let{width:n,height:r}=t,{data:a,encode:i={},scale:o={},style:s={},layout:l={},labels:c=[],tooltip:u={}}=e,d=_Z(e,["data","encode","scale","style","layout","labels","tooltip"]),p=_K(n,r,i),f=_J(a,(0,nX.Z)({},_q(n,r),l),(0,nX.Z)({},p.encode,i)),h=ri(s,"label");return(0,nX.Z)({},p,Object.assign(Object.assign({data:f,encode:i,scale:o,style:s,labels:[Object.assign(Object.assign({},_X),h),...c]},d),{tooltip:cn(u,_Q),axis:!1}))};function _1(e){return e.target.depth}function _2(e,t){return e.sourceLinks.length?e.depth:t-1}function _3(e){return function(){return e}}function _4(e,t){return _5(e.source,t.source)||e.index-t.index}function _6(e,t){return _5(e.target,t.target)||e.index-t.index}function _5(e,t){return e.y0-t.y0}function _8(e){return e.value}function _9(e){return e.index}function _7(e){return e.nodes}function Se(e){return e.links}function St(e,t){let n=e.get(t);if(!n)throw Error("missing: "+t);return n}function Sn({nodes:e}){for(let t of e){let e=t.y0,n=e;for(let n of t.sourceLinks)n.y0=e+n.width/2,e+=n.width;for(let e of t.targetLinks)e.y1=n+e.width/2,n+=e.width}}_0.props={};let Sr={nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodes:e=>e.nodes,links:e=>e.links,nodeSort:void 0,linkSort:void 0,iterations:6},Sa={left:function(e){return e.depth},right:function(e,t){return t-1-e.height},center:function(e){return e.targetLinks.length?e.depth:e.sourceLinks.length?l9(e.sourceLinks,_1)-1:0},justify:_2},Si=e=>t=>{let{nodeId:n,nodeSort:r,nodeAlign:a,nodeWidth:i,nodePadding:o,nodeDepth:s,nodes:l,links:c,linkSort:u,iterations:d}=Object.assign({},Sr,e),p=(function(){let e,t,n,r=0,a=0,i=1,o=1,s=24,l=8,c,u=_9,d=_2,p=_7,f=Se,h=6;function g(g){let b={nodes:p(g),links:f(g)};return function({nodes:e,links:t}){e.forEach((e,t)=>{e.index=t,e.sourceLinks=[],e.targetLinks=[]});let r=new Map(e.map(e=>[u(e),e]));if(t.forEach((e,t)=>{e.index=t;let{source:n,target:a}=e;"object"!=typeof n&&(n=e.source=St(r,n)),"object"!=typeof a&&(a=e.target=St(r,a)),n.sourceLinks.push(e),a.targetLinks.push(e)}),null!=n)for(let{sourceLinks:t,targetLinks:r}of e)t.sort(n),r.sort(n)}(b),function({nodes:e}){for(let t of e)t.value=void 0===t.fixedValue?Math.max(rN(t.sourceLinks,_8),rN(t.targetLinks,_8)):t.fixedValue}(b),function({nodes:t}){let n=t.length,r=new Set(t),a=new Set,i=0;for(;r.size;){if(r.forEach(e=>{for(let{target:t}of(e.depth=i,e.sourceLinks))a.add(t)}),++i>n)throw Error("circular link");r=a,a=new Set}if(e){let n;let r=Math.max(rw(t,e=>e.depth)+1,0);for(let a=0;a{for(let{source:t}of(e.height=a,e.targetLinks))r.add(t)}),++a>t)throw Error("circular link");n=r,r=new Set}}(b),function(e){let u=function({nodes:e}){let n=Math.max(rw(e,e=>e.depth)+1,0),a=(i-r-s)/(n-1),o=Array(n).fill(0).map(()=>[]);for(let t of e){let e=Math.max(0,Math.min(n-1,Math.floor(d.call(null,t,n))));t.layer=e,t.x0=r+e*a,t.x1=t.x0+s,o[e]?o[e].push(t):o[e]=[t]}if(t)for(let e of o)e.sort(t);return o}(e);c=Math.min(l,(o-a)/(rw(u,e=>e.length)-1)),function(e){let t=l9(e,e=>(o-a-(e.length-1)*c)/rN(e,_8));for(let r of e){let e=a;for(let n of r)for(let r of(n.y0=e,n.y1=e+n.value*t,e=n.y1+c,n.sourceLinks))r.width=r.value*t;e=(o-e+c)/(r.length+1);for(let t=0;t=0;--i){let a=e[i];for(let e of a){let t=0,r=0;for(let{target:n,value:a}of e.sourceLinks){let i=a*(n.layer-e.layer);t+=function(e,t){let n=t.y0-(t.targetLinks.length-1)*c/2;for(let{source:r,width:a}of t.targetLinks){if(r===e)break;n+=a+c}for(let{target:r,width:a}of e.sourceLinks){if(r===t)break;n-=a}return n}(e,n)*i,r+=i}if(!(r>0))continue;let a=(t/r-e.y0)*n;e.y0+=a,e.y1+=a,E(e)}void 0===t&&a.sort(_5),a.length&&m(a,r)}})(u,n,r),function(e,n,r){for(let a=1,i=e.length;a0))continue;let a=(t/r-e.y0)*n;e.y0+=a,e.y1+=a,E(e)}void 0===t&&i.sort(_5),i.length&&m(i,r)}}(u,n,r)}}(b),Sn(b),b}function m(e,t){let n=e.length>>1,r=e[n];y(e,r.y0-c,n-1,t),b(e,r.y1+c,n+1,t),y(e,o,e.length-1,t),b(e,a,0,t)}function b(e,t,n,r){for(;n1e-6&&(a.y0+=i,a.y1+=i),t=a.y1+c}}function y(e,t,n,r){for(;n>=0;--n){let a=e[n],i=(a.y1-t)*r;i>1e-6&&(a.y0-=i,a.y1-=i),t=a.y0-c}}function E({sourceLinks:e,targetLinks:t}){if(void 0===n){for(let{source:{sourceLinks:e}}of t)e.sort(_6);for(let{target:{targetLinks:t}}of e)t.sort(_4)}}return g.update=function(e){return Sn(e),e},g.nodeId=function(e){return arguments.length?(u="function"==typeof e?e:_3(e),g):u},g.nodeAlign=function(e){return arguments.length?(d="function"==typeof e?e:_3(e),g):d},g.nodeDepth=function(t){return arguments.length?(e=t,g):e},g.nodeSort=function(e){return arguments.length?(t=e,g):t},g.nodeWidth=function(e){return arguments.length?(s=+e,g):s},g.nodePadding=function(e){return arguments.length?(l=c=+e,g):l},g.nodes=function(e){return arguments.length?(p="function"==typeof e?e:_3(e),g):p},g.links=function(e){return arguments.length?(f="function"==typeof e?e:_3(e),g):f},g.linkSort=function(e){return arguments.length?(n=e,g):n},g.size=function(e){return arguments.length?(r=a=0,i=+e[0],o=+e[1],g):[i-r,o-a]},g.extent=function(e){return arguments.length?(r=+e[0][0],i=+e[1][0],a=+e[0][1],o=+e[1][1],g):[[r,a],[i,o]]},g.iterations=function(e){return arguments.length?(h=+e,g):h},g})().nodeSort(r).linkSort(u).links(c).nodes(l).nodeWidth(i).nodePadding(o).nodeDepth(s).nodeAlign(function(e){let t=typeof e;return"string"===t?Sa[e]||_2:"function"===t?e:_2}(a)).iterations(d).extent([[0,0],[1,1]]);"function"==typeof n&&p.nodeId(n);let f=p(t),{nodes:h,links:g}=f,m=h.map(e=>{let{x0:t,x1:n,y0:r,y1:a}=e;return Object.assign(Object.assign({},e),{x:[t,n,n,t],y:[r,r,a,a]})}),b=g.map(e=>{let{source:t,target:n}=e,r=t.x1,a=n.x0,i=e.width/2;return Object.assign(Object.assign({},e),{x:[r,r,a,a],y:[e.y0+i,e.y0-i,e.y1+i,e.y1-i]})});return{nodes:m,links:b}};Si.props={};var So=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let Ss={nodeId:e=>e.key,nodeWidth:.02,nodePadding:.02},Sl={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{stroke:"#000"}},Sc={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{fillOpacity:.5,stroke:void 0}},Su={textAlign:e=>e.x[0]<.5?"start":"end",position:e=>e.x[0]<.5?"right":"left",fontSize:10},Sd=e=>{let{data:t,encode:n={},scale:r,style:a={},layout:i={},nodeLabels:o=[],linkLabels:s=[],animate:l={},tooltip:c={}}=e,{links:u,nodes:d}=da(t,n),p=ri(n,"node"),f=ri(n,"link"),{key:h=e=>e.key,color:g=h}=p,{links:m,nodes:b}=Si(Object.assign(Object.assign(Object.assign({},Ss),{nodeId:dn(h)}),i))({links:u,nodes:d}),y=ri(a,"label"),{text:E=h,spacing:v=5}=y,T=So(y,["text","spacing"]),_=dn(h),S=ct(c,"node",{title:_,items:[{field:"value"}]},!0),A=ct(c,"link",{title:"",items:[e=>({name:"source",value:_(e.source)}),e=>({name:"target",value:_(e.target)})]});return[(0,nX.Z)({},Sl,{data:b,encode:Object.assign(Object.assign({},p),{color:g}),scale:r,style:ri(a,"node"),labels:[Object.assign(Object.assign(Object.assign({},Su),{text:E,dx:e=>e.x[0]<.5?v:-v}),T),...o],tooltip:S,animate:ca(l,"node"),axis:!1}),(0,nX.Z)({},Sc,{data:m,encode:f,labels:s,style:Object.assign({fill:f.color?void 0:"#aaa",lineWidth:0},ri(a,"link")),tooltip:A,animate:ca(l,"link")})]};function Sp(e,t){return t.value-e.value}function Sf(e,t){return t.frequency-e.frequency}function Sh(e,t){return`${e.id}`.localeCompare(`${t.id}`)}function Sg(e,t){return`${e.name}`.localeCompare(`${t.name}`)}Sd.props={};let Sm={y:0,thickness:.05,weight:!1,marginRatio:.1,id:e=>e.id,source:e=>e.source,target:e=>e.target,sourceWeight:e=>e.value||1,targetWeight:e=>e.value||1,sortBy:null},Sb=e=>t=>(function(e){let{y:t,thickness:n,weight:r,marginRatio:a,id:i,source:o,target:s,sourceWeight:l,targetWeight:c,sortBy:u}=Object.assign(Object.assign({},Sm),e);return function(e){let d=e.nodes.map(e=>Object.assign({},e)),p=e.edges.map(e=>Object.assign({},e));return function(e,t){t.forEach(e=>{e.source=o(e),e.target=s(e),e.sourceWeight=l(e),e.targetWeight=c(e)});let n=n2(t,e=>e.source),r=n2(t,e=>e.target);e.forEach(e=>{e.id=i(e);let t=n.has(e.id)?n.get(e.id):[],a=r.has(e.id)?r.get(e.id):[];e.frequency=t.length+a.length,e.value=rN(t,e=>e.sourceWeight)+rN(a,e=>e.targetWeight)})}(d,p),function(e,t){let n="function"==typeof u?u:X[u];n&&e.sort(n)}(d,0),function(e,i){let o=e.length;if(!o)throw rn("Invalid nodes: it's empty!");if(!r){let n=1/o;return e.forEach((e,r)=>{e.x=(r+.5)*n,e.y=t})}let s=a/(2*o),l=e.reduce((e,t)=>e+=t.value,0);e.reduce((e,r)=>{r.weight=r.value/l,r.width=r.weight*(1-a),r.height=n;let i=s+e,o=i+r.width,c=t-n/2,u=c+n;return r.x=[i,o,o,i],r.y=[c,c,u,u],e+r.width+2*s},0)}(d,0),function(e,n){let a=new Map(e.map(e=>[e.id,e]));if(!r)return n.forEach(e=>{let t=o(e),n=s(e),r=a.get(t),i=a.get(n);r&&i&&(e.x=[r.x,i.x],e.y=[r.y,i.y])});n.forEach(e=>{e.x=[0,0,0,0],e.y=[t,t,t,t]});let i=n2(n,e=>e.source),l=n2(n,e=>e.target);e.forEach(e=>{let{edges:t,width:n,x:r,y:a,value:o,id:s}=e,c=i.get(s)||[],u=l.get(s)||[],d=0;c.map(e=>{let t=e.sourceWeight/o*n;e.x[0]=r[0]+d,e.x[1]=r[0]+d+t,d+=t}),u.forEach(e=>{let t=e.targetWeight/o*n;e.x[3]=r[0]+d,e.x[2]=r[0]+d+t,d+=t})})}(d,p),{nodes:d,edges:p}}})(e)(t);Sb.props={};var Sy=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let SE={y:0,thickness:.05,marginRatio:.1,id:e=>e.key,source:e=>e.source,target:e=>e.target,sourceWeight:e=>e.value||1,targetWeight:e=>e.value||1,sortBy:null},Sv={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{opacity:1,fillOpacity:1,lineWidth:1}},ST={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{opacity:.5,lineWidth:1}},S_={position:"outside",fontSize:10},SS=(e,t)=>{let{data:n,encode:r={},scale:a,style:i={},layout:o={},nodeLabels:s=[],linkLabels:l=[],animate:c={},tooltip:u={}}=e,{nodes:d,links:p}=da(n,r),f=ri(r,"node"),h=ri(r,"link"),{key:g=e=>e.key,color:m=g}=f,{linkEncodeColor:b=e=>e.source}=h,{nodeWidthRatio:y=SE.thickness,nodePaddingRatio:E=SE.marginRatio}=o,v=Sy(o,["nodeWidthRatio","nodePaddingRatio"]),{nodes:T,edges:_}=Sb(Object.assign(Object.assign(Object.assign(Object.assign({},SE),{id:dn(g),thickness:y,marginRatio:E}),v),{weight:!0}))({nodes:d,edges:p}),S=ri(i,"label"),{text:A=g}=S,O=Sy(S,["text"]),k=ct(u,"node",{title:"",items:[e=>({name:e.key,value:e.value})]},!0),x=ct(u,"link",{title:"",items:[e=>({name:`${e.source} -> ${e.target}`,value:e.value})]}),{height:I,width:C}=t,N=Math.min(I,C);return[(0,nX.Z)({},ST,{data:_,encode:Object.assign(Object.assign({},h),{color:b}),labels:l,style:Object.assign({fill:b?void 0:"#aaa"},ri(i,"link")),tooltip:x,animate:ca(c,"link")}),(0,nX.Z)({},Sv,{data:T,encode:Object.assign(Object.assign({},f),{color:m}),scale:a,style:ri(i,"node"),coordinate:{type:"polar",outerRadius:(N-20)/N,startAngle:-(2*Math.PI),endAngle:0},labels:[Object.assign(Object.assign(Object.assign({},S_),{text:A}),O),...s],tooltip:k,animate:ca(c,"node"),axis:!1})]};SS.props={};var SA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let SO=(e,t)=>({tile:"treemapSquarify",ratio:.5*(1+Math.sqrt(5)),size:[e,t],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,sort:(e,t)=>t.value-e.value,layer:0}),Sk=(e,t)=>({type:"rect",axis:!1,encode:{x:"x",y:"y",key:"id",color:e=>e.path[1]},scale:{x:{domain:[0,e],range:[0,1]},y:{domain:[0,t],range:[0,1]}},style:{stroke:"#fff"},state:{active:{opacity:.6},inactive:{opacity:1}}}),Sx={fontSize:10,text:e=>(0,hC.Z)(e.path),position:"inside",fill:"#000",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:e=>e.x1-e.x0},SI={title:e=>{var t,n;return null===(n=null===(t=e.path)||void 0===t?void 0:t.join)||void 0===n?void 0:n.call(t,".")},items:[{field:"value"}]},SC={title:e=>(0,hC.Z)(e.path),items:[{field:"value"}]},SN=(e,t)=>{let{width:n,height:r,options:a}=t,{data:i,encode:o={},scale:s,style:l={},layout:c={},labels:u=[],tooltip:d={}}=e,p=SA(e,["data","encode","scale","style","layout","labels","tooltip"]),f=(0,c6.Z)(a,["interaction","treemapDrillDown"]),h=(0,nX.Z)({},SO(n,r),c,{layer:f?e=>1===e.depth:c.layer}),[g,m]=mT(i,h,o),b=ri(l,"label");return(0,nX.Z)({},Sk(n,r),Object.assign(Object.assign({data:g,scale:s,style:l,labels:[Object.assign(Object.assign({},Sx),b),...u]},p),{encode:o,tooltip:cn(d,SI),axis:!1}),f?{interaction:Object.assign(Object.assign({},p.interaction),{treemapDrillDown:f?Object.assign(Object.assign({},f),{originData:m,layout:h}):void 0}),encode:Object.assign({color:e=>(0,hC.Z)(e.path)},o),tooltip:cn(d,SC)}:{})};SN.props={};var Sw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function SR(e,t){return l9(e,e=>t[e])}function SL(e,t){return rw(e,e=>t[e])}function SD(e,t){let n=2.5*SP(e,t)-1.5*SF(e,t);return l9(e,e=>t[e]>=n?t[e]:NaN)}function SP(e,t){return bO(e,.25,e=>t[e])}function SM(e,t){return bO(e,.5,e=>t[e])}function SF(e,t){return bO(e,.75,e=>t[e])}function SB(e,t){let n=2.5*SF(e,t)-1.5*SP(e,t);return rw(e,e=>t[e]<=n?t[e]:NaN)}function Sj(){return(e,t)=>{let{encode:n}=t,{y:r,x:a}=n,{value:i}=r,{value:o}=a,s=Array.from(n2(e,e=>o[+e]).values()),l=s.flatMap(e=>{let t=SD(e,i),n=SB(e,i);return e.filter(e=>i[e]n)});return[l,t]}}let SU=e=>{let{data:t,encode:n,style:r={},tooltip:a={},transform:i,animate:o}=e,s=Sw(e,["data","encode","style","tooltip","transform","animate"]),{point:l=!0}=r,c=Sw(r,["point"]),{y:u}=n,d={y:u,y1:u,y2:u,y3:u,y4:u},p={y1:SP,y2:SM,y3:SF},f=ct(a,"box",{items:[{channel:"y",name:"min"},{channel:"y1",name:"q1"},{channel:"y2",name:"q2"},{channel:"y3",name:"q3"},{channel:"y4",name:"max"}]},!0),h=ct(a,"point",{title:{channel:"x"},items:[{name:"outlier",channel:"y"}]});if(!l)return Object.assign({type:"box",data:t,transform:[Object.assign(Object.assign({type:"groupX",y:SR},p),{y4:SL})],encode:Object.assign(Object.assign({},n),d),style:c,tooltip:f},s);let g=ri(c,"box"),m=ri(c,"point");return[Object.assign({type:"box",data:t,transform:[Object.assign(Object.assign({type:"groupX",y:SD},p),{y4:SB})],encode:Object.assign(Object.assign({},n),d),style:g,tooltip:f,animate:ca(o,"box")},s),{type:"point",data:t,transform:[{type:Sj}],encode:n,style:Object.assign({},m),tooltip:h,animate:ca(o,"point")}]};SU.props={};let SH=(e,t)=>Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))/2,SG=(e,t)=>{if(!t)return;let{coordinate:n}=t;if(!(null==n?void 0:n.getCenter))return;let r=n.getCenter();return(n,a,i)=>{let{document:o}=t.canvas,{color:s,index:l}=a,c=o.createElement("g",{}),u=SH(n[0],n[1]),d=2*SH(n[0],r),p=o.createElement("path",{style:Object.assign(Object.assign(Object.assign({d:[["M",...n[0]],["A",u,u,0,1,0,...n[1]],["A",d+2*u,d+2*u,0,0,0,...n[2]],["A",u,u,0,1,0===l?0:1,...n[3]],["A",d,d,0,0,1,...n[0]],["Z"]]},i),(0,rX.Z)(e,["shape","last","first"])),{fill:s||i.color})});return c.appendChild(p),c}};var S$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let Sz={coordinate:{type:"radial",innerRadius:.9,outerRadius:1,startAngle:-1.1*Math.PI,endAngle:.1*Math.PI},axis:{x:!1},legend:!1,tooltip:!1,encode:{x:"x",y:"y",color:"color"},scale:{color:{range:["#30BF78","#D0D0D0"]}}},SW={style:{shape:(e,t)=>{let{shape:n,radius:r}=e,a=S$(e,["shape","radius"]),i=ri(a,"pointer"),o=ri(a,"pin"),{shape:s}=i,l=S$(i,["shape"]),{shape:c}=o,u=S$(o,["shape"]),{coordinate:d,theme:p}=t;return(e,t)=>{let n=e.map(e=>d.invert(e)),[i,o,f]=function(e,t){let{transformations:n}=e.getOptions(),[,...r]=n.find(e=>e[0]===t);return r}(d,"polar"),h=d.clone(),{color:g}=t,m=rP({startAngle:i,endAngle:o,innerRadius:f,outerRadius:r});m.push(["cartesian"]),h.update({transformations:m});let b=n.map(e=>h.map(e)),[y,E]=aH(b),[v,T]=d.getCenter(),_=Object.assign(Object.assign({x1:y,y1:E,x2:v,y2:T,stroke:g},l),a),S=Object.assign(Object.assign({cx:v,cy:T,stroke:g},u),a),A=rd(new t7.ZA);return ru(s)||("function"==typeof s?A.append(()=>s(b,t,h,p)):A.append("line").call(aD,_).node()),ru(c)||("function"==typeof c?A.append(()=>c(b,t,h,p)):A.append("circle").call(aD,S).node()),A.node()}},lineWidth:4,pointerLineCap:"round",pinR:10,pinFill:"#fff",radius:.6}},SY={type:"text",style:{x:"50%",y:"60%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"}},SV=e=>{var t;let{data:n={},scale:r={},style:a={},animate:i={},transform:o=[]}=e,s=S$(e,["data","scale","style","animate","transform"]),{targetData:l,totalData:c,target:u,total:d,scale:p}=function(e,t){let{name:n="score",target:r,total:a,percent:i,thresholds:o=[]}=function(e){if((0,nH.Z)(e)){let t=Math.max(0,Math.min(e,1));return{percent:t,target:t,total:1}}return e}(e),s=i||r,l=i?1:a,c=Object.assign({y:{domain:[0,l]}},t);return o.length?{targetData:[{x:n,y:s,color:"target"}],totalData:o.map((e,t)=>({x:n,y:t>=1?e-o[t-1]:e,color:t})),target:s,total:l,scale:c}:{targetData:[{x:n,y:s,color:"target"}],totalData:[{x:n,y:s,color:"target"},{x:n,y:l-s,color:"total"}],target:s,total:l,scale:c}}(n,r),f=ri(a,"text"),h=(t=["pointer","pin"],Object.fromEntries(Object.entries(a).filter(([e])=>t.find(t=>e.startsWith(t))))),g=ri(a,"arc"),m=g.shape;return[(0,nX.Z)({},Sz,Object.assign({type:"interval",transform:[{type:"stackY"}],data:c,scale:p,style:"round"===m?Object.assign(Object.assign({},g),{shape:SG}):g,animate:"object"==typeof i?ri(i,"arc"):i},s)),(0,nX.Z)({},Sz,SW,Object.assign({type:"point",data:l,scale:p,style:h,animate:"object"==typeof i?ri(i,"indicator"):i},s)),(0,nX.Z)({},SY,{style:Object.assign({text:function(e,{target:t,total:n}){let{content:r}=e;return r?r(t,n):t.toString()}(f,{target:u,total:d})},f),animate:"object"==typeof i?ri(i,"text"):i})]};SV.props={};var SZ=n(7258);let Sq={pin:function(e,t,n){let r=4*n/3,a=Math.max(r,2*n),i=r/2,o=i+t-a/2,s=Math.asin(i/((a-i)*.85)),l=Math.cos(s)*i,c=e-l,u=o+Math.sin(s)*i,d=o+i/Math.sin(s);return` + M ${c} ${u} + A ${i} ${i} 0 1 1 ${c+2*l} ${u} + Q ${e} ${d} ${e} ${t+a/2} + Q ${e} ${d} ${c} ${u} + Z + `},rect:function(e,t,n){let r=.618*n;return` + M ${e-r} ${t-n} + L ${e+r} ${t-n} + L ${e+r} ${t+n} + L ${e-r} ${t+n} + Z + `},circle:function(e,t,n){return` + M ${e} ${t-n} + a ${n} ${n} 0 1 0 0 ${2*n} + a ${n} ${n} 0 1 0 0 ${-(2*n)} + Z + `},diamond:function(e,t,n){return` + M ${e} ${t-n} + L ${e+n} ${t} + L ${e} ${t+n} + L ${e-n} ${t} + Z + `},triangle:function(e,t,n){return` + M ${e} ${t-n} + L ${e+n} ${t+n} + L ${e-n} ${t+n} + Z + `}};var SK=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let SX=(e="circle")=>Sq[e]||Sq.circle,SQ=(e,t)=>{if(!t)return;let{coordinate:n}=t,{liquidOptions:r,styleOptions:a}=e,{liquidShape:i,percent:o}=r,{background:s,outline:l={},wave:c={}}=a,u=SK(a,["background","outline","wave"]),{border:d=2,distance:p=0}=l,f=SK(l,["border","distance"]),{length:h=192,count:g=3}=c;return(e,r,a)=>{let{document:l}=t.canvas,{color:c,fillOpacity:m}=a,b=Object.assign(Object.assign({fill:c},a),u),y=l.createElement("g",{}),[E,v]=n.getCenter(),T=n.getSize(),_=Math.min(...T)/2,S=(0,SZ.Z)(i)?i:SX(i),A=S(E,v,_,...T);if(Object.keys(s).length){let e=l.createElement("path",{style:Object.assign({d:A,fill:"#fff"},s)});y.appendChild(e)}if(o>0){let e=l.createElement("path",{style:{d:A}});y.appendChild(e),y.style.clipPath=e,function(e,t,n,r,a,i,o,s,l,c,u){let{fill:d,fillOpacity:p,opacity:f}=a;for(let a=0;a0;)c-=2*Math.PI;c=c/Math.PI/2*n;let u=i-e+c-2*e;l.push(["M",u,t]);let d=0;for(let e=0;et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S0={axis:{x:!1,y:!1},legend:!1,tooltip:!1,encode:{x:"type",y:"percent"},scale:{y:{domain:[0,1]}},style:{shape:SQ},animate:{enter:{type:"fadeIn"}}},S1={type:"text",style:{x:"50%",y:"50%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"},animate:{enter:{type:"fadeIn"}}},S2=e=>{let{data:t={},style:n={},animate:r}=e,a=SJ(e,["data","style","animate"]),i=Math.max(0,(0,nH.Z)(t)?t:null==t?void 0:t.percent),o=[{percent:i,type:"liquid"}],s=Object.assign(Object.assign({},ri(n,"text")),ri(n,"content")),l=ri(n,"outline"),c=ri(n,"wave"),u=ri(n,"background");return[(0,nX.Z)({},S0,Object.assign({type:"interval",data:o,style:{liquidOptions:{percent:i,liquidShape:null==n?void 0:n.shape},styleOptions:Object.assign(Object.assign({},n),{outline:l,wave:c,background:u})},animate:r},a)),(0,nX.Z)({},S1,{style:Object.assign({text:`${rF(100*i)} %`},s),animate:r})]};S2.props={};var S3=n(65543);function S4(e,t){let n=function(e){let t=[];for(let n=0;nt[n].radius+1e-10)return!1;return!0}(t,e)}),a=0,i=0,o,s=[];if(r.length>1){let t=function(e){let t={x:0,y:0};for(let n=0;n-1){let a=e[t.parentIndex[r]],i=Math.atan2(t.x-a.x,t.y-a.y),o=Math.atan2(n.x-a.x,n.y-a.y),s=o-i;s<0&&(s+=2*Math.PI);let u=o-s/2,d=S5(l,{x:a.x+a.radius*Math.sin(u),y:a.y+a.radius*Math.cos(u)});d>2*a.radius&&(d=2*a.radius),(null===c||c.width>d)&&(c={circle:a,width:d,p1:t,p2:n})}null!==c&&(s.push(c),a+=S6(c.circle.radius,c.width),n=t)}}else{let t=e[0];for(o=1;oMath.abs(t.radius-e[o].radius)){n=!0;break}n?a=i=0:(a=t.radius*t.radius*Math.PI,s.push({circle:t,p1:{x:t.x,y:t.y+t.radius},p2:{x:t.x-1e-10,y:t.y+t.radius},width:2*t.radius}))}return i/=2,t&&(t.area=a+i,t.arcArea=a,t.polygonArea=i,t.arcs=s,t.innerPoints=r,t.intersectionPoints=n),a+i}function S6(e,t){return e*e*Math.acos(1-t/e)-(e-t)*Math.sqrt(t*(2*e-t))}function S5(e,t){return Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y))}function S8(e,t,n){if(n>=e+t)return 0;if(n<=Math.abs(e-t))return Math.PI*Math.min(e,t)*Math.min(e,t);let r=e-(n*n-t*t+e*e)/(2*n),a=t-(n*n-e*e+t*t)/(2*n);return S6(e,r)+S6(t,a)}function S9(e,t){let n=S5(e,t),r=e.radius,a=t.radius;if(n>=r+a||n<=Math.abs(r-a))return[];let i=(r*r-a*a+n*n)/(2*n),o=Math.sqrt(r*r-i*i),s=e.x+i*(t.x-e.x)/n,l=e.y+i*(t.y-e.y)/n,c=-(t.y-e.y)*(o/n),u=-(t.x-e.x)*(o/n);return[{x:s+c,y:l-u},{x:s-c,y:l+u}]}function S7(e,t,n){return Math.min(e,t)*Math.min(e,t)*Math.PI<=n+1e-10?Math.abs(e-t):(0,S3.bisect)(function(r){return S8(e,t,r)-n},0,e+t)}function Ae(e,t){let n=function(e,t){let n;let r=t&&t.lossFunction?t.lossFunction:At,a={},i={};for(let t=0;t=Math.min(a[o].size,a[s].size)&&(r=0),i[o].push({set:s,size:n.size,weight:r}),i[s].push({set:o,size:n.size,weight:r})}let o=[];for(n in i)if(i.hasOwnProperty(n)){let e=0;for(let t=0;t=8){let a=function(e,t){let n,r,a;t=t||{};let i=t.restarts||10,o=[],s={};for(n=0;n=Math.min(t[i].size,t[o].size)?u=1:e.size<=1e-10&&(u=-1),a[i][o]=a[o][i]=u}),{distances:r,constraints:a}}(e,o,s),c=l.distances,u=l.constraints,d=(0,S3.norm2)(c.map(S3.norm2))/c.length;c=c.map(function(e){return e.map(function(e){return e/d})});let p=function(e,t){return function(e,t,n,r){let a=0,i;for(i=0;i0&&h<=d||p<0&&h>=d||(a+=2*g*g,t[2*i]+=4*g*(o-c),t[2*i+1]+=4*g*(s-u),t[2*l]+=4*g*(c-o),t[2*l+1]+=4*g*(u-s))}}return a}(e,t,c,u)};for(n=0;n{let{sets:t="sets",size:n="size",as:r=["key","path"],padding:a=0}=e,[i,o]=r;return e=>{let r;let s=e.map(e=>Object.assign(Object.assign({},e),{sets:e[t],size:e[n],[i]:e.sets.join("&")}));s.sort((e,t)=>e.sets.length-t.sets.length);let l=function(e,t){let n;(t=t||{}).maxIterations=t.maxIterations||500;let r=t.initialLayout||Ae,a=t.lossFunction||At;e=function(e){let t,n,r,a;e=e.slice();let i=[],o={};for(t=0;te>t?1:-1),t=0;t{let n=e[t];return Object.assign(Object.assign({},e),{[o]:({width:e,height:t})=>{r=r||function(e,t,n,r){let a=[],i=[];for(let t in e)e.hasOwnProperty(t)&&(i.push(t),a.push(e[t]));t-=2*r,n-=2*r;let o=function(e){let t=function(t){let n=Math.max.apply(null,e.map(function(e){return e[t]+e.radius})),r=Math.min.apply(null,e.map(function(e){return e[t]-e.radius}));return{max:n,min:r}};return{xRange:t("x"),yRange:t("y")}}(a),s=o.xRange,l=o.yRange;if(s.max==s.min||l.max==l.min)return console.log("not scaling solution: zero size detected"),e;let c=t/(s.max-s.min),u=n/(l.max-l.min),d=Math.min(u,c),p=(t-(s.max-s.min)*d)/2,f=(n-(l.max-l.min)*d)/2,h={};for(let e=0;er[e]),o=function(e){let t={};S4(e,t);let n=t.arcs;if(0===n.length)return"M 0 0";if(1==n.length){let e=n[0].circle;return function(e,t,n){let r=[],a=e-n;return r.push("M",a,t),r.push("A",n,n,0,1,0,a+2*n,t),r.push("A",n,n,0,1,0,a,t),r.join(" ")}(e.x,e.y,e.radius)}{let e=["\nM",n[0].p2.x,n[0].p2.y];for(let t=0;ta;e.push("\nA",a,a,0,i?1:0,1,r.p1.x,r.p1.y)}return e.join(" ")}}(i);return/[zZ]$/.test(o)||(o+=" Z"),o}})})}};An.props={};var Ar=function(){return(Ar=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{this.forceFit()},300),this._renderer=r||new nZ,this._plugins=a||[],this._container=function(e){if(void 0===e){let e=document.createElement("div");return e[cW]=!0,e}if("string"==typeof e){let t=document.getElementById(e);return t}return e}(t),this._emitter=new t0.Z,this._context={library:Object.assign(Object.assign({},i),nC),emitter:this._emitter,canvas:n,createCanvas:o},this._create()}render(){if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._context.canvas.getConfig().supportsCSSTransform=!0,this._bindAutoFit(),this._rendering=!0;let e=new Promise((e,t)=>(function(e,t={},n=()=>{},r=e=>{throw e}){var a;let{width:i=640,height:o=480,depth:s=0}=e,l=function(e){let t=(0,nX.Z)({},e),n=new Map([[t,null]]),r=new Map([[null,-1]]),a=[t];for(;a.length;){let e=a.shift();if(void 0===e.key){let t=n.get(e),a=r.get(e),i=null===t?"0":`${t.key}-${a}`;e.key=i}let{children:t=[]}=e;if(Array.isArray(t))for(let i=0;i(function e(t,n,r){var a;return cE(this,void 0,void 0,function*(){let{library:i}=r,[o]=o_("composition",i),[s]=o_("interaction",i),l=new Set(Object.keys(i).map(e=>{var t;return null===(t=/mark\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(ra)),c=new Set(Object.keys(i).map(e=>{var t;return null===(t=/component\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(ra)),u=e=>{let{type:t}=e;if("function"==typeof t){let{props:e={}}=t,{composite:n=!0}=e;if(n)return"mark"}return"string"!=typeof t?t:l.has(t)||c.has(t)?"mark":t},d=e=>"mark"===u(e),p=e=>"standardView"===u(e),f=e=>{let{type:t}=e;return"string"==typeof t&&!!c.has(t)},h=e=>{if(p(e))return[e];let t=u(e),n=o({type:t,static:f(e)});return n(e)},g=[],m=new Map,b=new Map,y=[t],E=[];for(;y.length;){let e=y.shift();if(p(e)){let t=b.get(e),[n,a]=t?cO(t,e,i):yield c_(e,r);m.set(n,e),g.push(n);let o=a.flatMap(h).map(e=>oO(e,i));if(y.push(...o),o.every(p)){let e=yield Promise.all(o.map(e=>cS(e,r)));!function(e){let t=e.flatMap(e=>Array.from(e.values())).flatMap(e=>e.channels.map(e=>e.scale));lN(t,"x"),lN(t,"y")}(e);for(let t=0;te.key).join(e=>e.append("g").attr("className",t4).attr("id",e=>e.key).call(cT).each(function(e,t,n){ck(e,rd(n),_,r),v.set(e,n)}),e=>e.call(cT).each(function(e,t,n){ck(e,rd(n),_,r),T.set(e,n)}),e=>e.each(function(e,t,n){let r=n.nameInteraction.values();for(let e of r)e.destroy()}).remove());let S=(t,n,a)=>Array.from(t.entries()).map(([i,o])=>{let s=a||new Map,l=m.get(i),c=function(t,n,r){let{library:a}=r,i=function(e){let[,t]=o_("interaction",e);return e=>{let[n,r]=e;try{return[n,t(n)]}catch(e){return[n,r.type]}}}(a),o=cR(n),s=o.map(i).filter(e=>e[1]&&e[1].props&&e[1].props.reapplyWhenUpdate).map(e=>e[0]);return(n,a,i)=>cE(this,void 0,void 0,function*(){let[o,l]=yield c_(n,r);for(let e of(ck(o,t,[],r),s.filter(e=>e!==a)))!function(e,t,n,r,a){var i;let{library:o}=a,[s]=o_("interaction",o),l=t.node(),c=l.nameInteraction,u=cR(n).find(([t])=>t===e),d=c.get(e);if(!d||(null===(i=d.destroy)||void 0===i||i.call(d),!u[1]))return;let p=cA(r,e,u[1],s),f={options:n,view:r,container:t.node(),update:e=>Promise.resolve(e)},h=p(f,[],a.emitter);c.set(e,{destroy:h})}(e,t,n,o,r);for(let n of l)e(n,t,r);return i(),{options:n,view:o}})}(rd(o),l,r);return{view:i,container:o,options:l,setState:(e,t=e=>e)=>s.set(e,t),update:(e,r)=>cE(this,void 0,void 0,function*(){let a=re(Array.from(s.values())),i=a(l);return yield c(i,e,()=>{(0,rh.Z)(r)&&n(t,r,s)})})}}),A=(e=T,t,n)=>{var a;let i=S(e,A,n);for(let e of i){let{options:n,container:o}=e,l=o.nameInteraction,c=cR(n);for(let n of(t&&(c=c.filter(e=>t.includes(e[0]))),c)){let[t,o]=n,c=l.get(t);if(c&&(null===(a=c.destroy)||void 0===a||a.call(c)),o){let n=cA(e.view,t,o,s),a=n(e,i,r.emitter);l.set(t,{destroy:a})}}}},O=S(v,A);for(let e of O){let{options:t}=e,n=new Map;for(let a of(e.container.nameInteraction=n,cR(t))){let[t,i]=a;if(i){let a=cA(e.view,t,i,s),o=a(e,O,r.emitter);n.set(t,{destroy:o})}}}A();let{width:k,height:x}=t,I=[];for(let t of E){let a=new Promise(a=>cE(this,void 0,void 0,function*(){for(let a of t){let t=Object.assign({width:k,height:x},a);yield e(t,n,r)}a()}));I.push(a)}r.views=g,null===(a=r.animations)||void 0===a||a.forEach(e=>null==e?void 0:e.cancel()),r.animations=_,r.emitter.emit(rf.AFTER_PAINT);let C=_.filter(ra).map(cN).map(e=>e.finished);return Promise.all([...C,...I])})})(Object.assign(Object.assign({},l),{width:i,height:o,depth:s}),h,t)).then(()=>{if(s){let[e,t]=c.document.documentElement.getPosition();c.document.documentElement.setPosition(e,t,-s/2)}c.requestAnimationFrame(()=>{u.emit(rf.AFTER_RENDER),null==n||n()})}).catch(e=>{null==r||r(e)}),"string"==typeof(a=c.getConfig().container)?document.getElementById(a):a})(this._computedOptions(),this._context,this._createResolve(e),this._createReject(t))),[t,n,r]=function(){let e,t;let n=new Promise((n,r)=>{t=n,e=r});return[n,t,e]}();return e.then(n).catch(r).then(()=>this._renderTrailing()),t}options(e){if(0==arguments.length)return function(e){let t=function(e){if(null!==e.type)return e;let t=e.children[e.children.length-1];for(let n of cz)t.attr(n,e.attr(n));return t}(e),n=[t],r=new Map;for(r.set(t,cV(t));n.length;){let e=n.pop(),t=r.get(e),{children:a=[]}=e;for(let e of a)if(e.type===cY)t.children=e.value;else{let a=cV(e),{children:i=[]}=t;i.push(a),n.push(e),r.set(e,a),t.children=i}}return r.get(t)}(this);let{type:t}=e;return t&&(this._previousDefinedType=t),function(e,t,n,r,a){let i=function(e,t,n,r,a){let{type:i}=e,{type:o=n||i}=t;if("function"!=typeof o&&new Set(Object.keys(a)).has(o)){for(let n of cz)void 0!==e.attr(n)&&void 0===t[n]&&(t[n]=e.attr(n));return t}if("function"==typeof o||new Set(Object.keys(r)).has(o)){let e={type:"view"},n=Object.assign({},t);for(let t of cz)void 0!==n[t]&&(e[t]=n[t],delete n[t]);return Object.assign(Object.assign({},e),{children:[n]})}return t}(e,t,n,r,a),o=[[null,e,i]];for(;o.length;){let[e,t,n]=o.shift();if(t){if(n){!function(e,t){let{type:n,children:r}=t,a=c$(t,["type","children"]);e.type===n||void 0===n?function e(t,n,r=5,a=0){if(!(a>=r)){for(let i of Object.keys(n)){let o=n[i];(0,n9.Z)(o)&&(0,n9.Z)(t[i])?e(t[i],o,r,a+1):t[i]=o}return t}}(e.value,a):"string"==typeof n&&(e.type=n,e.value=a)}(t,n);let{children:e}=n,{children:r}=t;if(Array.isArray(e)&&Array.isArray(r)){let n=Math.max(e.length,r.length);for(let a=0;a{this.emit(rf.AFTER_CHANGE_SIZE)}),n}changeSize(e,t){if(e===this._width&&t===this._height)return Promise.resolve(this);this.emit(rf.BEFORE_CHANGE_SIZE),this.attr("width",e),this.attr("height",t);let n=this.render();return n.then(()=>{this.emit(rf.AFTER_CHANGE_SIZE)}),n}_create(){let{library:e}=this._context,t=["mark.mark",...Object.keys(e).filter(e=>e.startsWith("mark.")||"component.axisX"===e||"component.axisY"===e||"component.legends"===e)];for(let e of(this._marks={},t)){let t=e.split(".").pop();class n extends c1{constructor(){super({},t)}}this._marks[t]=n,this[t]=function(e){let r=this.append(n);return"mark"===t&&(r.type=e),r}}let n=["composition.view",...Object.keys(e).filter(e=>e.startsWith("composition.")&&"composition.mark"!==e)];for(let e of(this._compositions=Object.fromEntries(n.map(e=>{let t=e.split(".").pop(),n=class extends c0{constructor(){super({},t)}};return n=c2([cq(cK(this._marks))],n),[t,n]})),Object.values(this._compositions)))cq(cK(this._compositions))(e);for(let e of n){let t=e.split(".").pop();this[t]=function(){let e=this._compositions[t];return this.type=null,this.append(e)}}}_reset(){let e=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(([t])=>t.startsWith("margin")||t.startsWith("padding")||t.startsWith("inset")||e.includes(t))),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{let e=this._trailingResolve.bind(this);this._trailingResolve=null,e(this)}).catch(e=>{let t=this._trailingReject.bind(this);this._trailingReject=null,t(e)}))}_createResolve(e){return()=>{this._rendering=!1,e(this)}}_createReject(e){return t=>{this._rendering=!1,e(t)}}_computedOptions(){let e=this.options(),{key:t="G2_CHART_KEY"}=e,{width:n,height:r,depth:a}=cZ(e,this._container);return this._width=n,this._height=r,this._key=t,Object.assign(Object.assign({key:this._key},e),{width:n,height:r,depth:a})}_createCanvas(){let{width:e,height:t}=cZ(this.options(),this._container);this._plugins.push(new nq.S),this._plugins.forEach(e=>this._renderer.registerPlugin(e)),this._context.canvas=new t7.Xz({container:this._container,width:e,height:t,renderer:this._renderer})}_addToTrailing(){var e;null===(e=this._trailingResolve)||void 0===e||e.call(this,this),this._trailing=!0;let t=new Promise((e,t)=>{this._trailingResolve=e,this._trailingReject=t});return t}_bindAutoFit(){let e=this.options(),{autoFit:t}=e;if(this._hasBindAutoFit){t||this._unbindAutoFit();return}t&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}},a=Ar(Ar({},Object.assign(Object.assign(Object.assign(Object.assign({},{"composition.geoView":TF,"composition.geoPath":Tj}),{"data.arc":Sb,"data.cluster":_I,"mark.forceGraph":_b,"mark.tree":_D,"mark.pack":_0,"mark.sankey":Sd,"mark.chord":SS,"mark.treemap":SN}),{"data.venn":An,"mark.boxplot":SU,"mark.gauge":SV,"mark.wordCloud":f1,"mark.liquid":S2}),{"data.fetch":yv,"data.inline":yT,"data.sortBy":y_,"data.sort":yS,"data.filter":yO,"data.pick":yk,"data.rename":yx,"data.fold":yI,"data.slice":yC,"data.custom":yN,"data.map":yw,"data.join":yL,"data.kde":yM,"data.log":yF,"data.wordCloud":y0,"transform.stackY":bf,"transform.binX":bU,"transform.bin":bj,"transform.dodgeX":bG,"transform.jitter":bz,"transform.jitterX":bW,"transform.jitterY":bY,"transform.symmetryY":bZ,"transform.diffY":bq,"transform.stackEnter":bK,"transform.normalizeY":bQ,"transform.select":b3,"transform.selectX":b6,"transform.selectY":b8,"transform.groupX":ye,"transform.groupY":yt,"transform.groupColor":yn,"transform.group":b7,"transform.sortX":yi,"transform.sortY":yo,"transform.sortColor":ys,"transform.flexX":yl,"transform.pack":yc,"transform.sample":yd,"transform.filter":yp,"coordinate.cartesian":uT,"coordinate.polar":rL,"coordinate.transpose":u_,"coordinate.theta":uA,"coordinate.parallel":uO,"coordinate.fisheye":uk,"coordinate.radial":rP,"coordinate.radar":ux,"encode.constant":uI,"encode.field":uC,"encode.transform":uN,"encode.column":uw,"mark.interval":dl,"mark.rect":du,"mark.line":dK,"mark.point":pm,"mark.text":pk,"mark.cell":pC,"mark.area":pH,"mark.link":p0,"mark.image":p4,"mark.polygon":fe,"mark.box":fo,"mark.vector":fl,"mark.lineX":ff,"mark.lineY":fm,"mark.connector":fT,"mark.range":fO,"mark.rangeX":fI,"mark.rangeY":fw,"mark.path":fF,"mark.shape":fH,"mark.density":fW,"mark.heatmap":fQ,"mark.wordCloud":f1,"palette.category10":f2,"palette.category20":f3,"scale.linear":f4,"scale.ordinal":f5,"scale.band":f9,"scale.identity":he,"scale.point":hn,"scale.time":ha,"scale.log":ho,"scale.pow":hl,"scale.sqrt":hu,"scale.threshold":hd,"scale.quantile":hp,"scale.quantize":hf,"scale.sequential":hg,"scale.constant":hm,"theme.classic":hv,"theme.classicDark":hS,"theme.academy":hO,"theme.light":hE,"theme.dark":h_,"component.axisX":hk,"component.axisY":hx,"component.legendCategory":hw,"component.legendContinuous":ag,"component.legends":hR,"component.title":hM,"component.sliderX":hU,"component.sliderY":hH,"component.scrollbarX":hW,"component.scrollbarY":hY,"animation.scaleInX":hV,"animation.scaleOutX":(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,d]=rU(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],p=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(p,Object.assign(Object.assign({},a),e));return f}},"animation.scaleInY":hZ,"animation.scaleOutY":(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,d]=rU(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],p=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(p,Object.assign(Object.assign({},a),e));return f}},"animation.waveIn":hq,"animation.fadeIn":hK,"animation.fadeOut":hX,"animation.zoomIn":e=>(t,n,r)=>{let[a]=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a.style,c="center center",u=[{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{transform:`${i} scale(1)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l}],d=a.animate(u,Object.assign(Object.assign({},r),e));return d},"animation.zoomOut":e=>(t,n,r)=>{let[a]=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a.style,c="center center",u=[{transform:`${i} scale(1)`.trimStart(),transformOrigin:c},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.99},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}],d=a.animate(u,Object.assign(Object.assign({},r),e));return d},"animation.pathIn":hQ,"animation.morphing":h7,"animation.growInX":ge,"animation.growInY":gt,"interaction.elementHighlight":gr,"interaction.elementHighlightByX":ga,"interaction.elementHighlightByColor":gi,"interaction.elementSelect":gs,"interaction.elementSelectByX":gl,"interaction.elementSelectByColor":gc,"interaction.fisheye":function({wait:e=30,leading:t,trailing:n=!1}){return r=>{let{options:a,update:i,setState:o,container:s}=r,l=i9(s),c=(0,gu.Z)(e=>{let t=oe(l,e);if(!t){o("fisheye"),i();return}o("fisheye",e=>{let n=(0,nX.Z)({},e,{interaction:{tooltip:{preserve:!0}}});for(let e of n.marks)e.animate=!1;let[r,a]=t,i=function(e){let{coordinate:t={}}=e,{transform:n=[]}=t,r=n.find(e=>"fisheye"===e.type);if(r)return r;let a={type:"fisheye"};return n.push(a),t.transform=n,e.coordinate=t,a}(n);return i.focusX=r,i.focusY=a,i.visual=!0,n}),i()},e,{leading:t,trailing:n});return l.addEventListener("pointerenter",c),l.addEventListener("pointermove",c),l.addEventListener("pointerleave",c),()=>{l.removeEventListener("pointerenter",c),l.removeEventListener("pointermove",c),l.removeEventListener("pointerleave",c)}}},"interaction.chartIndex":gp,"interaction.tooltip":gR,"interaction.legendFilter":function(){return(e,t,n)=>{let{container:r}=e,a=t.filter(t=>t!==e),i=a.length>0,o=e=>gU(e).scales.map(e=>e.name),s=[...gB(r),...gj(r)],l=s.flatMap(o),c=i?(0,gu.Z)(gG,50,{trailing:!0}):(0,gu.Z)(gH,50,{trailing:!0}),u=s.map(t=>{let{name:s,domain:u}=gU(t).scales[0],d=o(t),p={legend:t,channel:s,channels:d,allChannels:l};return t.className===gD?function(e,{legends:t,marker:n,label:r,datum:a,filter:i,emitter:o,channel:s,state:l={}}){let c=new Map,u=new Map,d=new Map,{unselected:p={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=l,f={unselected:ri(p,"marker")},h={unselected:ri(p,"label")},{setState:g,removeState:m}=oi(f,void 0),{setState:b,removeState:y}=oi(h,void 0),E=Array.from(t(e)),v=E.map(a),T=()=>{for(let e of E){let t=a(e),i=n(e),o=r(e);v.includes(t)?(m(i,"unselected"),y(o,"unselected")):(g(i,"unselected"),b(o,"unselected"))}};for(let t of E){let n=()=>{op(e,"pointer")},r=()=>{op(e,e.cursor)},l=e=>gL(this,void 0,void 0,function*(){let n=a(t),r=v.indexOf(n);-1===r?v.push(n):v.splice(r,1),yield i(v),T();let{nativeEvent:l=!0}=e;l&&(v.length===E.length?o.emit("legend:reset",{nativeEvent:l}):o.emit("legend:filter",Object.assign(Object.assign({},e),{nativeEvent:l,data:{channel:s,values:v}})))});t.addEventListener("click",l),t.addEventListener("pointerenter",n),t.addEventListener("pointerout",r),c.set(t,l),u.set(t,n),d.set(t,r)}let _=e=>gL(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:n}=e,{channel:r,values:a}=n;r===s&&(v=a,yield i(v),T())}),S=e=>gL(this,void 0,void 0,function*(){let{nativeEvent:t}=e;t||(v=E.map(a),yield i(v),T())});return o.on("legend:filter",_),o.on("legend:reset",S),()=>{for(let e of E)e.removeEventListener("click",c.get(e)),e.removeEventListener("pointerenter",u.get(e)),e.removeEventListener("pointerout",d.get(e)),o.off("legend:filter",_),o.off("legend:reset",S)}}(r,{legends:gF,marker:gP,label:gM,datum:e=>{let{__data__:t}=e,{index:n}=t;return u[n]},filter:t=>{let n=Object.assign(Object.assign({},p),{value:t,ordinal:!0});i?c(a,n):c(e,n)},state:t.attributes.state,channel:s,emitter:n}):function(e,{legend:t,filter:n,emitter:r,channel:a}){let i=({detail:{value:e}})=>{n(e),r.emit({nativeEvent:!0,data:{channel:a,values:e}})};return t.addEventListener("valuechange",i),()=>{t.removeEventListener("valuechange",i)}}(0,{legend:t,filter:t=>{let n=Object.assign(Object.assign({},p),{value:t,ordinal:!1});i?c(a,n):c(e,n)},emitter:n,channel:s})});return()=>{u.forEach(e=>e())}}},"interaction.legendHighlight":function(){return(e,t,n)=>{let{container:r,view:a,options:i}=e,o=gB(r),s=i6(r),l=e=>gU(e).scales[0].name,c=e=>{let{scale:{[e]:t}}=a;return t},u=os(i,["active","inactive"]),d=ol(s,oa(a)),p=[];for(let e of o){let t=t=>{let{data:n}=e.attributes,{__data__:r}=t,{index:a}=r;return n[a].label},r=l(e),a=gF(e),i=c(r),o=n2(s,e=>i.invert(e.__data__[r])),{state:f={}}=e.attributes,{inactive:h={}}=f,{setState:g,removeState:m}=oi(u,d),b={inactive:ri(h,"marker")},y={inactive:ri(h,"label")},{setState:E,removeState:v}=oi(b),{setState:T,removeState:_}=oi(y),S=e=>{for(let t of a){let n=gP(t),r=gM(t);t===e||null===e?(v(n,"inactive"),_(r,"inactive")):(E(n,"inactive"),T(r,"inactive"))}},A=(e,a)=>{let i=t(a),l=new Set(o.get(i));for(let e of s)l.has(e)?g(e,"active"):g(e,"inactive");S(a);let{nativeEvent:c=!0}=e;c&&n.emit("legend:highlight",Object.assign(Object.assign({},e),{nativeEvent:c,data:{channel:r,value:i}}))},O=new Map;for(let e of a){let t=t=>{A(t,e)};e.addEventListener("pointerover",t),O.set(e,t)}let k=e=>{for(let e of s)m(e,"inactive","active");S(null);let{nativeEvent:t=!0}=e;t&&n.emit("legend:unhighlight",{nativeEvent:t})},x=e=>{let{nativeEvent:n,data:i}=e;if(n)return;let{channel:o,value:s}=i;if(o!==r)return;let l=a.find(e=>t(e)===s);l&&A({nativeEvent:!1},l)},I=e=>{let{nativeEvent:t}=e;t||k({nativeEvent:!1})};e.addEventListener("pointerleave",k),n.on("legend:highlight",x),n.on("legend:unhighlight",I);let C=()=>{for(let[t,r]of(e.removeEventListener(k),n.off("legend:highlight",x),n.off("legend:unhighlight",I),O))t.removeEventListener(r)};p.push(C)}return()=>p.forEach(e=>e())}},"interaction.brushHighlight":gq,"interaction.brushXHighlight":function(e){return gq(Object.assign(Object.assign({},e),{brushRegion:gK,selectedHandles:["handle-e","handle-w"]}))},"interaction.brushYHighlight":function(e){return gq(Object.assign(Object.assign({},e),{brushRegion:gX,selectedHandles:["handle-n","handle-s"]}))},"interaction.brushAxisHighlight":function(e){return(t,n,r)=>{let{container:a,view:i,options:o}=t,s=i9(a),{x:l,y:c}=s.getBBox(),{coordinate:u}=i;return function(e,t){var{axes:n,elements:r,points:a,horizontal:i,datum:o,offsetY:s,offsetX:l,reverse:c=!1,state:u={},emitter:d,coordinate:p}=t,f=gQ(t,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);let h=r(e),g=n(e),m=ol(h,o),{setState:b,removeState:y}=oi(u,m),E=new Map,v=ri(f,"mask"),T=e=>Array.from(E.values()).every(([t,n,r,a])=>e.some(([e,i])=>e>=t&&e<=r&&i>=n&&i<=a)),_=g.map(e=>e.attributes.scale),S=e=>e.length>2?[e[0],e[e.length-1]]:e,A=new Map,O=()=>{A.clear();for(let e=0;e{let n=[];for(let e of h){let t=a(e);T(t)?(b(e,"active"),n.push(e)):b(e,"inactive")}A.set(e,I(n,e)),t&&d.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:(()=>{if(!C)return Array.from(A.values());let e=[];for(let[t,n]of A){let r=_[t],{name:a}=r.getOptions();"x"===a?e[0]=n:e[1]=n}return e})()}})},x=e=>{for(let e of h)y(e,"active","inactive");O(),e&&d.emit("brushAxis:remove",{nativeEvent:!0})},I=(e,t)=>{let n=_[t],{name:r}=n.getOptions(),a=e.map(e=>{let t=e.__data__;return n.invert(t[r])});return S(iN(n,a))},C=g.some(i)&&g.some(e=>!i(e)),N=[];for(let e=0;e{let{nativeEvent:t}=e;t||N.forEach(e=>e.remove(!1))},R=(e,t,n)=>{let[r,a]=e,o=L(r,t,n),s=L(a,t,n)+(t.getStep?t.getStep():0);return i(n)?[o,-1/0,s,1/0]:[-1/0,o,1/0,s]},L=(e,t,n)=>{let{height:r,width:a}=p.getOptions(),o=t.clone();return i(n)?o.update({range:[0,a]}):o.update({range:[r,0]}),o.map(e)},D=e=>{let{nativeEvent:t}=e;if(t)return;let{selection:n}=e.data;for(let e=0;e{N.forEach(e=>e.destroy()),d.off("brushAxis:remove",w),d.off("brushAxis:highlight",D)}}(a,Object.assign({elements:i6,axes:g0,offsetY:c,offsetX:l,points:e=>e.__data__.points,horizontal:e=>{let{startPos:[t,n],endPos:[r,a]}=e.attributes;return t!==r&&n===a},datum:oa(i),state:os(o,["active",["inactive",{opacity:.5}]]),coordinate:u,emitter:r},e))}},"interaction.brushFilter":g5,"interaction.brushXFilter":function(e){return g5(Object.assign(Object.assign({hideX:!0},e),{brushRegion:gK}))},"interaction.brushYFilter":function(e){return g5(Object.assign(Object.assign({hideY:!0},e),{brushRegion:gX}))},"interaction.sliderFilter":g7,"interaction.scrollbarFilter":function(e={}){return(t,n,r)=>{let{view:a,container:i}=t,o=i.getElementsByClassName(me);if(!o.length)return()=>{};let{scale:s}=a,{x:l,y:c}=s,u={x:[...l.getOptions().domain],y:[...c.getOptions().domain]};l.update({domain:l.getOptions().expectedDomain}),c.update({domain:c.getOptions().expectedDomain});let d=g7(Object.assign(Object.assign({},e),{initDomain:u,className:me,prefix:"scrollbar",hasState:!0,setValue:(e,t)=>e.setValue(t[0]),getInitValues:e=>{let t=e.slider.attributes.values;if(0!==t[0])return t}}));return d(t,n,r)}},"interaction.poptip":ma,"interaction.treemapDrillDown":function(e={}){let{originData:t=[],layout:n}=e,r=m_(e,["originData","layout"]),a=(0,nX.Z)({},mS,r),i=ri(a,"breadCrumb"),o=ri(a,"active");return e=>{let{update:r,setState:a,container:s,options:l}=e,c=rd(s).select(`.${t6}`).node(),u=l.marks[0],{state:d}=u,p=new t7.ZA;c.appendChild(p);let f=(e,l)=>{var u,d,h,g;return u=this,d=void 0,h=void 0,g=function*(){if(p.removeChildren(),l){let t="",n=i.y,r=0,a=[],s=c.getBBox().width,l=e.map((o,l)=>{t=`${t}${o}/`,a.push(o);let c=new t7.xv({name:t.replace(/\/$/,""),style:Object.assign(Object.assign({text:o,x:r,path:[...a],depth:l},i),{y:n})});p.appendChild(c),r+=c.getBBox().width;let u=new t7.xv({style:Object.assign(Object.assign({x:r,text:" / "},i),{y:n})});return p.appendChild(u),(r+=u.getBBox().width)>s&&(n=p.getBBox().height+i.y,r=0,c.attr({x:r,y:n}),r+=c.getBBox().width,u.attr({x:r,y:n}),r+=u.getBBox().width),l===(0,uo.Z)(e)-1&&u.remove(),c});l.forEach((e,t)=>{if(t===(0,uo.Z)(l)-1)return;let n=Object.assign({},e.attributes);e.attr("cursor","pointer"),e.addEventListener("mouseenter",()=>{e.attr(o)}),e.addEventListener("mouseleave",()=>{e.attr(n)}),e.addEventListener("click",()=>{f((0,c6.Z)(e,["style","path"]),(0,c6.Z)(e,["style","depth"]))})})}(function(e,t){let n=[...gB(e),...gj(e)];n.forEach(e=>{t(e,e=>e)})})(s,a),a("treemapDrillDown",r=>{let{marks:a}=r,i=e.join("/"),o=a.map(e=>{if("rect"!==e.type)return e;let r=t;if(l){let e=t.filter(e=>{let t=(0,c6.Z)(e,["id"]);return t&&(t.match(`${i}/`)||i.match(t))}).map(e=>({value:0===e.height?(0,c6.Z)(e,["value"]):void 0,name:(0,c6.Z)(e,["id"])})),{paddingLeft:a,paddingBottom:o,paddingRight:s}=n,c=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||p.getBBox().height+10)/(l+1),paddingLeft:a/(l+1),paddingBottom:o/(l+1),paddingRight:s/(l+1),path:e=>e.name,layer:e=>e.depth===l+1});r=mT(e,c,{value:"value"})[0]}else r=t.filter(e=>1===e.depth);let a=[];return r.forEach(({path:e})=>{a.push((0,hC.Z)(e))}),(0,nX.Z)({},e,{data:r,scale:{color:{domain:a}}})});return Object.assign(Object.assign({},r),{marks:o})}),yield r(void 0,["legendFilter"])},new(h||(h=Promise))(function(e,t){function n(e){try{a(g.next(e))}catch(e){t(e)}}function r(e){try{a(g.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof h?a:new h(function(e){e(a)})).then(n,r)}a((g=g.apply(u,d||[])).next())})},h=e=>{let n=e.target;if("rect"!==(0,c6.Z)(n,["markType"]))return;let r=(0,c6.Z)(n,["__data__","key"]),a=(0,mi.Z)(t,e=>e.id===r);(0,c6.Z)(a,"height")&&f((0,c6.Z)(a,"path"),(0,c6.Z)(a,"depth"))};c.addEventListener("click",h);let g=(0,uy.Z)(Object.assign(Object.assign({},d.active),d.inactive)),m=()=>{let e=om(c);e.forEach(e=>{let n=(0,c6.Z)(e,["style","cursor"]),r=(0,mi.Z)(t,t=>t.id===(0,c6.Z)(e,["__data__","key"]));if("pointer"!==n&&(null==r?void 0:r.height)){e.style.cursor="pointer";let t=(0,c4.Z)(e.attributes,g);e.addEventListener("mouseenter",()=>{e.attr(d.active)}),e.addEventListener("mouseleave",()=>{e.attr((0,nX.Z)(t,d.inactive))})}})};return m(),c.addEventListener("mousemove",m),()=>{p.remove(),c.removeEventListener("click",h),c.removeEventListener("mousemove",m)}}},"interaction.elementPointMove":function(e={}){let{selection:t=[],precision:n=2}=e,r=mk(e,["selection","precision"]),a=Object.assign(Object.assign({},mx),r||{}),i=ri(a,"path"),o=ri(a,"label"),s=ri(a,"point");return(e,r,a)=>{let l;let{update:c,setState:u,container:d,view:p,options:{marks:f,coordinate:h}}=e,g=i9(d),m=om(g),b=t,{transform:y=[],type:E}=h,v=!!(0,mi.Z)(y,({type:e})=>"transpose"===e),T="polar"===E,_="theta"===E,S=!!(0,mi.Z)(m,({markType:e})=>"area"===e);S&&(m=m.filter(({markType:e})=>"area"===e));let A=new t7.ZA({style:{zIndex:2}});g.appendChild(A);let O=()=>{a.emit("element-point:select",{nativeEvent:!0,data:{selection:b}})},k=(e,t)=>{a.emit("element-point:moved",{nativeEvent:!0,data:{changeData:e,data:t}})},x=e=>{let t=e.target;b=[t.parentNode.childNodes.indexOf(t)],O(),C(t)},I=e=>{let{data:{selection:t},nativeEvent:n}=e;if(n)return;b=t;let r=(0,c6.Z)(m,[null==b?void 0:b[0]]);r&&C(r)},C=e=>{let t;let{attributes:r,markType:a,__data__:h}=e,{stroke:g}=r,{points:m,seriesTitle:y,color:E,title:x,seriesX:I,y1:N}=h;if(v&&"interval"!==a)return;let{scale:w,coordinate:R}=(null==l?void 0:l.view)||p,{color:L,y:D,x:P}=w,M=R.getCenter();A.removeChildren();let F=(e,t,n,r)=>mO(this,void 0,void 0,function*(){return u("elementPointMove",a=>{var i;let o=((null===(i=null==l?void 0:l.options)||void 0===i?void 0:i.marks)||f).map(a=>{if(!r.includes(a.type))return a;let{data:i,encode:o}=a,s=Object.keys(o),l=s.reduce((r,a)=>{let i=o[a];return"x"===a&&(r[i]=e),"y"===a&&(r[i]=t),"color"===a&&(r[i]=n),r},{}),c=mw(l,i,o);return k(l,c),(0,nX.Z)({},a,{data:c,animate:!1})});return Object.assign(Object.assign({},a),{marks:o})}),yield c("elementPointMove")});if(["line","area"].includes(a))m.forEach((r,a)=>{let c=P.invert(I[a]);if(!c)return;let u=new t7.Cd({name:mI,style:Object.assign({cx:r[0],cy:r[1],fill:g},s)}),p=mL(e,a);u.addEventListener("mousedown",f=>{let h=R.output([I[a],0]),g=null==y?void 0:y.length;d.attr("cursor","move"),b[1]!==a&&(b[1]=a,O()),mD(A.childNodes,b,s);let[v,_]=mP(A,u,i,o),k=e=>{let i=r[1]+e.clientY-t[1];if(S){if(T){let o=r[0]+e.clientX-t[0],[s,l]=mF(M,h,[o,i]),[,c]=R.output([1,D.output(0)]),[,d]=R.invert([s,c-(m[a+g][1]-l)]),f=(a+1)%g,b=(a-1+g)%g,E=og([m[b],[s,l],y[f]&&m[f]]);_.attr("text",p(D.invert(d)).toFixed(n)),v.attr("d",E),u.attr("cx",s),u.attr("cy",l)}else{let[,e]=R.output([1,D.output(0)]),[,t]=R.invert([r[0],e-(m[a+g][1]-i)]),o=og([m[a-1],[r[0],i],y[a+1]&&m[a+1]]);_.attr("text",p(D.invert(t)).toFixed(n)),v.attr("d",o),u.attr("cy",i)}}else{let[,e]=R.invert([r[0],i]),t=og([m[a-1],[r[0],i],m[a+1]]);_.attr("text",D.invert(e).toFixed(n)),v.attr("d",t),u.attr("cy",i)}};t=[f.clientX,f.clientY],window.addEventListener("mousemove",k);let x=()=>mO(this,void 0,void 0,function*(){if(d.attr("cursor","default"),window.removeEventListener("mousemove",k),d.removeEventListener("mouseup",x),(0,mA.Z)(_.attr("text")))return;let t=Number(_.attr("text")),n=mM(L,E);l=yield F(c,t,n,["line","area"]),_.remove(),v.remove(),C(e)});d.addEventListener("mouseup",x)}),A.appendChild(u)}),mD(A.childNodes,b,s);else if("interval"===a){let r=[(m[0][0]+m[1][0])/2,m[0][1]];v?r=[m[0][0],(m[0][1]+m[1][1])/2]:_&&(r=m[0]);let c=mR(e),u=new t7.Cd({name:mI,style:Object.assign(Object.assign({cx:r[0],cy:r[1],fill:g},s),{stroke:s.activeStroke})});u.addEventListener("mousedown",s=>{d.attr("cursor","move");let p=mM(L,E),[f,h]=mP(A,u,i,o),g=e=>{if(v){let a=r[0]+e.clientX-t[0],[i]=R.output([D.output(0),D.output(0)]),[,o]=R.invert([i+(a-m[2][0]),r[1]]),s=og([[a,m[0][1]],[a,m[1][1]],m[2],m[3]],!0);h.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cx",a)}else if(_){let a=r[1]+e.clientY-t[1],i=r[0]+e.clientX-t[0],[o,s]=mF(M,[i,a],r),[l,d]=mF(M,[i,a],m[1]),p=R.invert([o,s])[1],g=N-p;if(g<0)return;let b=function(e,t,n=0){let r=[["M",...t[1]]],a=oh(e,t[1]),i=oh(e,t[0]);return 0===a?r.push(["L",...t[3]],["A",i,i,0,n,1,...t[0]],["Z"]):r.push(["A",a,a,0,n,0,...t[2]],["L",...t[3]],["A",i,i,0,n,1,...t[0]],["Z"]),r}(M,[[o,s],[l,d],m[2],m[3]],g>.5?1:0);h.attr("text",c(g,!0).toFixed(n)),f.attr("d",b),u.attr("cx",o),u.attr("cy",s)}else{let a=r[1]+e.clientY-t[1],[,i]=R.output([1,D.output(0)]),[,o]=R.invert([r[0],i-(m[2][1]-a)]),s=og([[m[0][0],a],[m[1][0],a],m[2],m[3]],!0);h.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cy",a)}};t=[s.clientX,s.clientY],window.addEventListener("mousemove",g);let b=()=>mO(this,void 0,void 0,function*(){if(d.attr("cursor","default"),d.removeEventListener("mouseup",b),window.removeEventListener("mousemove",g),(0,mA.Z)(h.attr("text")))return;let t=Number(h.attr("text"));l=yield F(x,t,p,[a]),h.remove(),f.remove(),C(e)});d.addEventListener("mouseup",b)}),A.appendChild(u)}};m.forEach((e,t)=>{b[0]===t&&C(e),e.addEventListener("click",x),e.addEventListener("mouseenter",mC),e.addEventListener("mouseleave",mN)});let N=e=>{let t=null==e?void 0:e.target;t&&(t.name===mI||m.includes(t))||(b=[],O(),A.removeChildren())};return a.on("element-point:select",I),a.on("element-point:unselect",N),d.addEventListener("mousedown",N),()=>{A.remove(),a.off("element-point:select",I),a.off("element-point:unselect",N),d.removeEventListener("mousedown",N),m.forEach(e=>{e.removeEventListener("click",x),e.removeEventListener("mouseenter",mC),e.removeEventListener("mouseleave",mN)})}}},"composition.spaceLayer":mj,"composition.spaceFlex":mH,"composition.facetRect":m2,"composition.repeatMatrix":()=>e=>{let t=mG.of(e).call(mZ).call(mW).call(m6).call(m5).call(mY).call(mV).call(m4).value();return[t]},"composition.facetCircle":()=>e=>{let t=mG.of(e).call(mZ).call(be).call(mW).call(m7).call(mq).call(mK,bn,bt,bt,{frame:!1}).call(mY).call(mV).call(m9).value();return[t]},"composition.timingKeyframe":br,"labelTransform.overlapHide":e=>{let{priority:t}=e;return e=>{let n=[];return t&&e.sort(t),e.forEach(e=>{i3(e);let t=e.getLocalBounds(),r=n.some(e=>(function(e,t){let[n,r]=e,[a,i]=t;return n[0]a[0]&&n[1]a[1]})(y1(t),y1(e.getLocalBounds())));r?i2(e):n.push(e)}),e}},"labelTransform.overlapDodgeY":e=>{let{maxIterations:t=10,maxError:n=.1,padding:r=1}=e;return e=>{let a=e.length;if(a<=1)return e;let[i,o]=y3(),[s,l]=y3(),[c,u]=y3(),[d,p]=y3();for(let t of e){let{min:e,max:n}=function(e){let t=e.cloneNode(!0),n=t.getElementById("connector");n&&t.removeChild(n);let{min:r,max:a}=t.getRenderBounds();return t.destroy(),{min:r,max:a}}(t),[r,a]=e,[i,s]=n;o(t,a),l(t,a),u(t,s-a),p(t,[r,i])}for(let i=0;iiu(s(e),s(t)));let t=0;for(let n=0;ne&&t>n}(d(i),d(a));)o+=1;if(a){let e=s(i),n=c(i),o=s(a),u=o-(e+n);if(ue=>(e.forEach(e=>{i3(e);let t=e.attr("bounds"),n=e.getLocalBounds(),r=function(e,t){let[n,r]=e;return!(y2(n,t)&&y2(r,t))}(y1(n),t);r&&i2(e)}),e),"labelTransform.contrastReverse":e=>{let{threshold:t=4.5,palette:n=["#000","#fff"]}=e;return e=>(e.forEach(e=>{let r=e.attr("dependentElement").parsedStyle.fill,a=e.parsedStyle.fill,i=y5(a,r);iy5(e,"object"==typeof t?t:(0,t7.lu)(t)));return t[n]}(r,n))}),e)},"labelTransform.exceedAdjust":()=>(e,{canvas:t})=>{let{width:n,height:r}=t.getConfig();return e.forEach(e=>{i3(e);let{max:t,min:a}=e.getRenderBounds(),[i,o]=t,[s,l]=a,c=y8([[s,l],[i,o]],[[0,0],[n,r]]);e.style.connector&&e.style.connectorPoints&&(e.style.connectorPoints[0][0]-=c[0],e.style.connectorPoints[0][1]-=c[1]),e.style.x+=c[0],e.style.y+=c[1]}),e}})),{"interaction.drillDown":function(e={}){let{breadCrumb:t={},isFixedColor:n=!1}=e,r=(0,nX.Z)({},uv,t);return e=>{let{update:t,setState:a,container:i,view:o,options:s}=e,l=i.ownerDocument,c=rd(i).select(`.${t6}`).node(),u=s.marks.find(({id:e})=>e===up),{state:d}=u,p=l.createElement("g");c.appendChild(p);let f=(e,i)=>{var s,u,d,h;return s=this,u=void 0,d=void 0,h=function*(){if(p.removeChildren(),e){let t=l.createElement("text",{style:Object.assign({x:0,text:r.rootText,depth:0},r.style)});p.appendChild(t);let n="",a=null==e?void 0:e.split(" / "),i=r.style.y,o=p.getBBox().width,s=c.getBBox().width,u=a.map((e,t)=>{let a=l.createElement("text",{style:Object.assign(Object.assign({x:o,text:" / "},r.style),{y:i})});p.appendChild(a),o+=a.getBBox().width,n=`${n}${e} / `;let c=l.createElement("text",{name:n.replace(/\s\/\s$/,""),style:Object.assign(Object.assign({text:e,x:o,depth:t+1},r.style),{y:i})});return p.appendChild(c),(o+=c.getBBox().width)>s&&(i=p.getBBox().height,o=0,a.attr({x:o,y:i}),o+=a.getBBox().width,c.attr({x:o,y:i}),o+=c.getBBox().width),c});[t,...u].forEach((e,t)=>{if(t===u.length)return;let n=Object.assign({},e.attributes);e.attr("cursor","pointer"),e.addEventListener("mouseenter",()=>{e.attr(r.active)}),e.addEventListener("mouseleave",()=>{e.attr(n)}),e.addEventListener("click",()=>{f(e.name,(0,c6.Z)(e,["style","depth"]))})})}a("drillDown",t=>{let{marks:r}=t,a=r.map(t=>{if(t.id!==up&&"rect"!==t.type)return t;let{data:r}=t,a=Object.fromEntries(["color"].map(e=>[e,{domain:o.scale[e].getOptions().domain}])),s=r.filter(t=>{let r=t.path;if(n||(t[ug]=r.split(" / ")[i]),!e)return!0;let a=RegExp(`^${e}.+`);return a.test(r)});return(0,nX.Z)({},t,n?{data:s,scale:a}:{data:s})});return Object.assign(Object.assign({},t),{marks:a})}),yield t()},new(d||(d=Promise))(function(e,t){function n(e){try{a(h.next(e))}catch(e){t(e)}}function r(e){try{a(h.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof d?a:new d(function(e){e(a)})).then(n,r)}a((h=h.apply(s,u||[])).next())})},h=e=>{let t=e.target;if((0,c6.Z)(t,["style",uf])!==up||"rect"!==(0,c6.Z)(t,["markType"])||!(0,c6.Z)(t,["style",uc]))return;let n=(0,c6.Z)(t,["__data__","key"]),r=(0,c6.Z)(t,["style","depth"]);t.style.cursor="pointer",f(n,r)};c.addEventListener("click",h);let g=(0,uy.Z)(Object.assign(Object.assign({},d.active),d.inactive)),m=()=>{let e=uE(c);e.forEach(e=>{let t=(0,c6.Z)(e,["style",uc]),n=(0,c6.Z)(e,["style","cursor"]);if("pointer"!==n&&t){e.style.cursor="pointer";let t=(0,c4.Z)(e.attributes,g);e.addEventListener("mouseenter",()=>{e.attr(d.active)}),e.addEventListener("mouseleave",()=>{e.attr((0,nX.Z)(t,d.inactive))})}})};return c.addEventListener("mousemove",m),()=>{p.remove(),c.removeEventListener("click",h),c.removeEventListener("mousemove",m)}}},"mark.sunburst":ub}),class extends r{constructor(e){super(Object.assign(Object.assign({},e),{lib:a}))}}),Ai=function(){return(Ai=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},As=["renderer"],Al=["width","height","autoFit","theme","inset","insetLeft","insetRight","insetTop","insetBottom","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginTop","marginRight","marginBottom","marginLeft","depth","title","clip","children","type","data","direction"],Ac="__transform__",Au=function(e,t){return(0,ea.isBoolean)(t)?{type:e,available:t}:Ai({type:e},t)},Ad={xField:"encode.x",yField:"encode.y",colorField:"encode.color",angleField:"encode.y",keyField:"encode.key",sizeField:"encode.size",shapeField:"encode.shape",seriesField:"encode.series",positionField:"encode.position",textField:"encode.text",valueField:"encode.value",binField:"encode.x",srcField:"encode.src",linkColorField:"encode.linkColor",fontSizeField:"encode.fontSize",radius:"coordinate.outerRadius",innerRadius:"coordinate.innerRadius",startAngle:"coordinate.startAngle",endAngle:"coordinate.endAngle",focusX:"coordinate.focusX",focusY:"coordinate.focusY",distortionX:"coordinate.distortionX",distortionY:"coordinate.distortionY",visual:"coordinate.visual",stack:{target:"transform",value:function(e){return Au("stackY",e)}},normalize:{target:"transform",value:function(e){return Au("normalizeY",e)}},percent:{target:"transform",value:function(e){return Au("normalizeY",e)}},group:{target:"transform",value:function(e){return Au("dodgeX",e)}},sort:{target:"transform",value:function(e){return Au("sortX",e)}},symmetry:{target:"transform",value:function(e){return Au("symmetryY",e)}},diff:{target:"transform",value:function(e){return Au("diffY",e)}},meta:{target:"scale",value:function(e){return e}},label:{target:"labels",value:function(e){return e}},shape:"style.shape",connectNulls:{target:"style",value:function(e){return(0,ea.isBoolean)(e)?{connect:e}:e}}},Ap=["xField","yField","seriesField","colorField","keyField","positionField","meta","tooltip","animate","stack","normalize","percent","group","sort","symmetry","diff"],Af=[{key:"annotations",extend_keys:[]},{key:"line",type:"line",extend_keys:Ap},{key:"point",type:"point",extend_keys:Ap},{key:"area",type:"area",extend_keys:Ap}],Ah=[{key:"transform",callback:function(e,t,n){e[t]=e[t]||[];var r,a=n.available,i=Ao(n,["available"]);if(void 0===a||a)e[t].push(Ai(((r={})[Ac]=!0,r),i));else{var o=e[t].indexOf(function(e){return e.type===n.type});-1!==o&&e[t].splice(o,1)}}},{key:"labels",callback:function(e,t,n){var r;if(!n||(0,ea.isArray)(n)){e[t]=n||[];return}n.text||(n.text=e.yField),e[t]=e[t]||[],e[t].push(Ai(((r={})[Ac]=!0,r),n))}}],Ag=[{key:"conversionTag",shape:"ConversionTag"},{key:"axisText",shape:"BidirectionalBarAxisText"}],Am=(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ab=function(){return(Ab=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},AE=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=Ay(t,["style"]);return e.call(this,Ab({style:Ab({fill:"#eee"},n)},r))||this}return Am(t,e),t}(t7.mg),Av=(o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),AT=function(){return(AT=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},AS=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=A_(t,["style"]);return e.call(this,AT({style:AT({text:"",fontSize:12,textBaseline:"middle",textAlign:"center",fill:"#000",fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",lineWidth:1},n)},r))||this}return Av(t,e),t}(t7.xv),AA=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a0){var r=t.x,a=t.y,i=t.height,o=t.width,s=t.data,p=t.key,f=(0,ea.get)(s,l),g=h/2;if(e){var b=r+o/2,E=a;d.push({points:[[b+g,E-u+y],[b+g,E-m-y],[b,E-y],[b-g,E-m-y],[b-g,E-u+y]],center:[b,E-u/2-y],width:u,value:[c,f],key:p})}else{var b=r,E=a+i/2;d.push({points:[[r-u+y,E-g],[r-m-y,E-g],[b-y,E],[r-m-y,E+g],[r-u+y,E+g]],center:[b-u/2-y,E],width:u,value:[c,f],key:p})}c=f}}),d},t.prototype.render=function(){this.setDirection(),this.drawConversionTag()},t.prototype.setDirection=function(){var e=this.chart.getCoordinate(),t=(0,ea.get)(e,"options.transformations"),n="horizontal";t.forEach(function(e){e.includes("transpose")&&(n="vertical")}),this.direction=n},t.prototype.drawConversionTag=function(){var e=this,t=this.getConversionTagLayout(),n=this.attributes,r=n.style,a=n.text,i=a.style,o=a.formatter;t.forEach(function(t){var n=t.points,a=t.center,s=t.value,l=t.key,c=s[0],u=s[1],d=a[0],p=a[1],f=new AE({style:AN({points:n,fill:"#eee"},r),id:"polygon-".concat(l)}),h=new AS({style:AN({x:d,y:p,text:(0,ea.isFunction)(o)?o(c,u):(u/c*100).toFixed(2)+"%"},i),id:"text-".concat(l)});e.appendChild(f),e.appendChild(h)})},t.prototype.update=function(){var e=this;this.getConversionTagLayout().forEach(function(t){var n=t.points,r=t.center,a=t.key,i=r[0],o=r[1],s=e.getElementById("polygon-".concat(a)),l=e.getElementById("text-".concat(a));s.setAttribute("points",n),l.setAttribute("x",i),l.setAttribute("y",o)})},t.tag="ConversionTag",t}(AI),AR=(c=function(e,t){return(c=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),AL=function(){return(AL=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},AP={ConversionTag:Aw,BidirectionalBarAxisText:function(e){function t(n,r){return e.call(this,n,r,{type:t.tag})||this}return AR(t,e),t.prototype.render=function(){this.drawText()},t.prototype.getBidirectionalBarAxisTextLayout=function(){var e="vertical"===this.attributes.layout,t=this.getElementsLayout(),n=e?(0,ea.uniqBy)(t,"x"):(0,ea.uniqBy)(t,"y"),r=["title"],a=[],i=this.chart.getContext().views,o=(0,ea.get)(i,[0,"layout"]),s=o.width,l=o.height;return n.forEach(function(t){var n=t.x,i=t.y,o=t.height,c=t.width,u=t.data,d=t.key,p=(0,ea.get)(u,r);e?a.push({x:n+c/2,y:l,text:p,key:d}):a.push({x:s,y:i+o/2,text:p,key:d})}),(0,ea.uniqBy)(a,"text").length!==a.length&&(a=Object.values((0,ea.groupBy)(a,"text")).map(function(t){var n,r=t.reduce(function(t,n){return t+(e?n.x:n.y)},0);return AL(AL({},t[0]),((n={})[e?"x":"y"]=r/t.length,n))})),a},t.prototype.transformLabelStyle=function(e){var t={},n=/^label[A-Z]/;return Object.keys(e).forEach(function(r){n.test(r)&&(t[r.replace("label","").replace(/^[A-Z]/,function(e){return e.toLowerCase()})]=e[r])}),t},t.prototype.drawText=function(){var e=this,t=this.getBidirectionalBarAxisTextLayout(),n=this.attributes,r=n.layout,a=n.labelFormatter,i=AD(n,["layout","labelFormatter"]);t.forEach(function(t){var n=t.x,o=t.y,s=t.text,l=t.key,c=new AS({style:AL({x:n,y:o,text:(0,ea.isFunction)(a)?a(s):s,wordWrap:!0,wordWrapWidth:"horizontal"===r?64:120,maxLines:2,textOverflow:"ellipsis"},e.transformLabelStyle(i)),id:"text-".concat(l)});e.appendChild(c)})},t.prototype.update=function(){var e=this;this.getBidirectionalBarAxisTextLayout().forEach(function(t){var n=t.x,r=t.y,a=t.key,i=e.getElementById("text-".concat(a));i.setAttribute("x",n),i.setAttribute("y",r)})},t.tag="BidirectionalBarAxisText",t}(AI)},AM=function(){function e(e,t){this.container=new Map,this.chart=e,this.config=t,this.init()}return e.prototype.init=function(){var e=this;Ag.forEach(function(t){var n,r=t.key,a=t.shape,i=e.config[r];if(i){var o=new AP[a](e.chart,i);e.chart.getContext().canvas.appendChild(o),e.container.set(r,o)}else null===(n=e.container.get(r))||void 0===n||n.clear()})},e.prototype.update=function(){var e=this;this.container.size&&Ag.forEach(function(t){var n=t.key,r=e.container.get(n);null==r||r.update()})},e}(),AF=(u=function(e,t){return(u=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),AB=function(){return(AB=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&(0,ea.set)(t,"children",[{type:"interval"}]);var n=t.scale,r=t.markBackground,a=t.data,i=t.children,o=t.yField,s=(0,ea.get)(n,"y.domain",[]);if(r&&s.length&&(0,ea.isArray)(a)){var l="domainMax",c=a.map(function(e){var t;return AJ(AJ({originData:AJ({},e)},(0,ea.omit)(e,o)),((t={})[l]=s[s.length-1],t))});i.unshift(AJ({type:"interval",data:c,yField:l,tooltip:!1,style:{fill:"#eee"},label:!1},r))}return e},Aq,AY)(e)}var A1=(f=function(e,t){return(f=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});nN("shape.interval.bar25D",function(e,t){return function(n){var r=e.fill,a=void 0===r?"#2888FF":r,i=e.stroke,o=e.fillOpacity,s=void 0===o?1:o,l=e.strokeOpacity,c=void 0===l?.2:l,u=e.pitch,d=void 0===u?8:u,p=n[0],f=n[1],h=n[2],g=n[3],m=(f[1]-p[1])/2,b=t.document,y=b.createElement("g",{}),E=b.createElement("polygon",{style:{points:[p,[p[0]-d,p[1]+m],[h[0]-d,p[1]+m],g],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),v=b.createElement("polygon",{style:{points:[[p[0]-d,p[1]+m],f,h,[h[0]-d,p[1]+m]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),T=b.createElement("polygon",{style:{points:[p,[p[0]-d,p[1]+m],f,[p[0]+d,p[1]+m]],fill:a,fillOpacity:s-.2}});return y.appendChild(E),y.appendChild(v),y.appendChild(T),y}});var A2=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Bar",t}return A1(t,e),t.getDefaultOptions=function(){return{type:"view",coordinate:{transform:[{type:"transpose"}]},children:[{type:"interval"}],scale:{y:{nice:!0}},axis:{y:{title:!1},x:{title:!1}},interaction:{tooltip:{shared:!0},elementHighlight:{background:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A0},t}(AU),A3=(h=function(e,t){return(h=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});nN("shape.interval.column25D",function(e,t){return function(n){var r=e.fill,a=void 0===r?"#2888FF":r,i=e.stroke,o=e.fillOpacity,s=void 0===o?1:o,l=e.strokeOpacity,c=void 0===l?.2:l,u=e.pitch,d=void 0===u?8:u,p=(n[1][0]-n[0][0])/2+n[0][0],f=t.document,h=f.createElement("g",{}),g=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[p,n[1][1]+d],[p,n[3][1]+d],[n[3][0],n[3][1]]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),m=f.createElement("polygon",{style:{points:[[p,n[1][1]+d],[n[1][0],n[1][1]],[n[2][0],n[2][1]],[p,n[2][1]+d]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),b=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[p,n[1][1]-d],[n[1][0],n[1][1]],[p,n[1][1]+d]],fill:a,fillOpacity:s-.2}});return h.appendChild(m),h.appendChild(g),h.appendChild(b),h}});var A4=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return A3(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0},elementHighlight:{background:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A0},t}(AU);function A6(e){return(0,ea.flow)(function(e){var t=e.options,n=t.children;return t.legend&&(void 0===n?[]:n).forEach(function(e){if(!(0,ea.get)(e,"colorField")){var t=(0,ea.get)(e,"yField");(0,ea.set)(e,"colorField",function(){return t})}}),e},function(e){var t=e.options,n=t.annotations,r=void 0===n?[]:n,a=t.children,i=t.scale,o=!1;return(0,ea.get)(i,"y.key")||(void 0===a?[]:a).forEach(function(e,t){if(!(0,ea.get)(e,"scale.y.key")){var n="child".concat(t,"Scale");(0,ea.set)(e,"scale.y.key",n);var a=e.annotations,i=void 0===a?[]:a;i.length>0&&((0,ea.set)(e,"scale.y.independent",!1),i.forEach(function(e){(0,ea.set)(e,"scale.y.key",n)})),!o&&r.length>0&&void 0===(0,ea.get)(e,"scale.y.independent")&&(o=!0,(0,ea.set)(e,"scale.y.independent",!1),r.forEach(function(e){(0,ea.set)(e,"scale.y.key",n)}))}}),e},Aq,AY)(e)}var A5=(g=function(e,t){return(g=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),A8=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="DualAxes",t}return A5(t,e),t.getDefaultOptions=function(){return{type:"view",axis:{y:{title:!1,tick:!1},x:{title:!1}},scale:{y:{independent:!0,nice:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A6},t}(AU);function A9(e){return(0,ea.flow)(function(e){var t=e.options,n=t.xField;return t.colorField||(0,ea.set)(t,"colorField",n),e},function(e){var t=e.options,n=t.compareField,r=t.transform,a=t.isTransposed,i=t.coordinate;return r||(n?(0,ea.set)(t,"transform",[]):(0,ea.set)(t,"transform",[{type:"symmetryY"}])),!i&&(void 0===a||a)&&(0,ea.set)(t,"coordinate",{transform:[{type:"transpose"}]}),e},function(e){var t=e.options,n=t.compareField,r=t.seriesField,a=t.data,i=t.children,o=t.yField,s=t.isTransposed;if(n||r){var l=Object.values((0,ea.groupBy)(a,function(e){return e[n||r]}));i[0].data=l[0],i.push({type:"interval",data:l[1],yField:function(e){return-e[o]}}),delete t.compareField,delete t.data}return r&&((0,ea.set)(t,"type","spaceFlex"),(0,ea.set)(t,"ratio",[1,1]),(0,ea.set)(t,"direction",void 0===s||s?"row":"col"),delete t.seriesField),e},function(e){var t=e.options,n=t.tooltip,r=t.xField,a=t.yField;return n||(0,ea.set)(t,"tooltip",{title:!1,items:[function(e){return{name:e[r],value:e[a]}}]}),e},Aq,AY)(e)}var A7=(m=function(e,t){return(m=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Oe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return A7(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{x:{padding:0}},animate:{enter:{type:"fadeIn"}},axis:!1,shapeField:"funnel",label:{position:"inside",transform:[{type:"contrastReverse"}]},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A9},t}(AU);function Ot(e){return(0,ea.flow)(Aq,AY)(e)}var On=(b=function(e,t){return(b=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Or=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="line",t}return On(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"line"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Ot},t}(AU);function Oa(e){switch(typeof e){case"function":return e;case"string":return function(t){return(0,ea.get)(t,[e])};default:return function(){return e}}}var Oi=function(){return(Oi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(t.x1=e[r],t.x2=t[r],t.y1=e[OH]),t},[]),o.shift(),a.push({type:"link",xField:["x1","x2"],yField:"y1",zIndex:-1,data:o,style:O$({stroke:"#697474"},i),label:!1,tooltip:!1}),e},Aq,AY)(e)}var OY=(I=function(e,t){return(I=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}I(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),OV=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="waterfall",t}return OY(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{field:OG,valueFormatter:"~s",name:"value"},axis:{y:{title:null,labelFormatter:"~s"},x:{title:null}},children:[{type:"interval",interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return OW},t}(AU);function OZ(e){return(0,ea.flow)(function(e){var t=e.options,n=t.data,r=t.binNumber,a=t.binWidth,i=t.children,o=t.channel,s=void 0===o?"count":o,l=(0,ea.get)(i,"[0].transform[0]",{});return(0,ea.isNumber)(a)?((0,ea.assign)(l,{thresholds:(0,ea.ceil)((0,ea.divide)(n.length,a)),y:s}),e):((0,ea.isNumber)(r)&&(0,ea.assign)(l,{thresholds:r,y:s}),e)},Aq,AY)(e)}var Oq=(C=function(e,t){return(C=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}C(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),OK=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Histogram",t}return Oq(t,e),t.getDefaultOptions=function(){return{type:"view",autoFit:!0,axis:{y:{title:!1},x:{title:!1}},children:[{type:"rect",transform:[{type:"binX",y:"count"}],interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return OZ},t}(AU);function OX(e){return(0,ea.flow)(function(e){var t=e.options,n=t.tooltip,r=void 0===n?{}:n,a=t.colorField,i=t.sizeField;return r&&!r.field&&(r.field=a||i),e},function(e){var t=e.options,n=t.mark,r=t.children;return n&&(r[0].type=n),e},Aq,AY)(e)}var OQ=(N=function(e,t){return(N=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}N(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),OJ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="heatmap",t}return OQ(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{valueFormatter:"~s"},axis:{y:{title:null,grid:!0},x:{title:null,grid:!0}},children:[{type:"point",interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return OX},t}(AU);function O0(e){return(0,ea.flow)(function(e){var t=e.options.boxType;return e.options.children[0].type=void 0===t?"box":t,e},Aq,AY)(e)}var O1=(w=function(e,t){return(w=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}w(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O2=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="box",t}return O1(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"box"}],axis:{y:{title:!1},x:{title:!1}},tooltip:{items:[{name:"min",channel:"y"},{name:"q1",channel:"y1"},{name:"q2",channel:"y2"},{name:"q3",channel:"y3"},{name:"max",channel:"y4"}]}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return O0},t}(AU);function O3(e){return(0,ea.flow)(function(e){var t=e.options,n=t.data,r=[{type:"custom",callback:function(e){return{links:e}}}];if((0,ea.isArray)(n))n.length>0?(0,ea.set)(t,"data",{value:n,transform:r}):delete t.children;else if("fetch"===(0,ea.get)(n,"type")&&(0,ea.get)(n,"value")){var a=(0,ea.get)(n,"transform");(0,ea.isArray)(a)?(0,ea.set)(n,"transform",a.concat(r)):(0,ea.set)(n,"transform",r)}return e},Aq,AY)(e)}var O4=(R=function(e,t){return(R=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}R(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O6=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="sankey",t}return O4(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"sankey"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return O3},t}(AU);function O5(e){t=e.options.layout,e.options.coordinate.transform="horizontal"!==(void 0===t?"horizontal":t)?void 0:[{type:"transpose"}];var t,n=e.options.layout,r=void 0===n?"horizontal":n;return e.options.children.forEach(function(e){var t;(null===(t=null==e?void 0:e.coordinate)||void 0===t?void 0:t.transform)&&(e.coordinate.transform="horizontal"!==r?void 0:[{type:"transpose"}])}),e}var O8=function(){return(O8=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},kU=(0,ei.forwardRef)(function(e,t){var n,r,a,i,o,s,l,c,u,d=e.chartType,p=kj(e,["chartType"]),f=p.containerStyle,h=p.containerAttributes,g=void 0===h?{}:h,m=p.className,b=p.loading,y=p.loadingTemplate,E=p.errorTemplate,v=kj(p,["containerStyle","containerAttributes","className","loading","loadingTemplate","errorTemplate"]),T=(n=kF[void 0===d?"Base":d],r=(0,ei.useRef)(),a=(0,ei.useRef)(),i=(0,ei.useRef)(null),o=v.onReady,s=v.onEvent,l=function(e,t){void 0===e&&(e="image/png");var n,r=null===(n=i.current)||void 0===n?void 0:n.getElementsByTagName("canvas")[0];return null==r?void 0:r.toDataURL(e,t)},c=function(e,t,n){void 0===e&&(e="download"),void 0===t&&(t="image/png");var r=e;-1===e.indexOf(".")&&(r="".concat(e,".").concat(t.split("/")[1]));var a=l(t,n),i=document.createElement("a");return i.href=a,i.download=r,document.body.appendChild(i),i.click(),document.body.removeChild(i),i=null,r},u=function(e,t){void 0===t&&(t=!1);var n=Object.keys(e),r=t;n.forEach(function(n){var a,i=e[n];("tooltip"===n&&(r=!0),(0,ea.isFunction)(i)&&(a="".concat(i),/react|\.jsx|children:\[\(|return\s+[A-Za-z0-9].createElement\((?!['"][g|circle|ellipse|image|rect|line|polyline|polygon|text|path|html|mesh]['"])([^\)])*,/i.test(a)))?e[n]=function(){for(var e=[],t=0;t0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function j(e,t){let n=[],r=-1,a=e.passKeys?new Map:N;for(;++r=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let a=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&q(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),q(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),q(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length)){if(er))return;let s=a.events.length,l=s;for(;l--;)if("exit"===a.events[l][0]&&"chunkFlow"===a.events[l][1].type){if(e){n=a.events[l][1].end;break}e=!0}for(m(o),i=s;it;){let t=i[n];a.containerState=t[1],t[0].exit.call(a,e)}i.length=t}function b(){t.write([null]),n=void 0,t=void 0,a.containerState._closeFlow=void 0}}},en={tokenize:function(e,t,n){return(0,Q.f)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var er=n(31573);let ea={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?a(t):(0,J.Ch)(t)?e.check(ei,i,a)(t):(e.consume(t),r)}function a(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return K(e),e}},ei={tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,Q.f)(e,a,"linePrefix")};function a(a){if(null===a||(0,J.Ch)(a))return n(a);let i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}},partial:!0},eo={tokenize:function(e){let t=this,n=e.attempt(er.w,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,(0,Q.f)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ea,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},es={resolveAll:ed()},el=eu("string"),ec=eu("text");function eu(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],a=t.attempt(r,i,o);return i;function i(e){return l(e)?a(e):o(e)}function o(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),s}function s(e){return l(e)?(t.exit("data"),a(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=r[e],a=-1;if(t)for(;++a=3&&(null===o||(0,J.Ch)(o))?(e.exit("thematicBreak"),t(o)):n(o)}(i)}}},eg={name:"list",tokenize:function(e,t,n){let r=this,a=r.events[r.events.length-1],i=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,o=0;return function(t){let a=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===a?!r.containerState.marker||t===r.containerState.marker:(0,J.pY)(t)){if(r.containerState.type||(r.containerState.type=a,e.enter(a,{_container:!0})),"listUnordered"===a)return e.enter("listItemPrefix"),42===t||45===t?e.check(eh,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(a){return(0,J.pY)(a)&&++o<10?(e.consume(a),t):(!r.interrupt||o<2)&&(r.containerState.marker?a===r.containerState.marker:41===a||46===a)?(e.exit("listItemValue"),s(a)):n(a)}(t)}return n(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(er.w,r.interrupt?n:l,e.attempt(em,u,c))}function l(e){return r.containerState.initialBlankLine=!0,i++,u(e)}function c(t){return(0,J.xz)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(er.w,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,Q.f)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,J.xz)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eb,t,a)(n))});function a(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,Q.f)(e,e.attempt(eg,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)}},em={tokenize:function(e,t,n){let r=this;return(0,Q.f)(e,function(e){let a=r.events[r.events.length-1];return!(0,J.xz)(e)&&a&&"listItemPrefixWhitespace"===a[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},eb={tokenize:function(e,t,n){let r=this;return(0,Q.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"listItemIndent"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},ey={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a}return n(t)};function a(n){return(0,J.xz)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,J.xz)(t)?(0,Q.f)(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)};function a(r){return e.attempt(ey,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function eE(e,t,n,r,a,i,o,s,l){let c=l||Number.POSITIVE_INFINITY,u=0;return function(t){return 60===t?(e.enter(r),e.enter(a),e.enter(i),e.consume(t),e.exit(i),d):null===t||32===t||41===t||(0,J.Av)(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),h(t))};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(a),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||(0,J.Ch)(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function h(a){return!u&&(null===a||41===a||(0,J.z3)(a))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(a)):u999||null===d||91===d||93===d&&!o||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):93===d?(e.exit(i),e.enter(a),e.consume(d),e.exit(a),e.exit(r),t):(0,J.Ch)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||(0,J.Ch)(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),o||(o=!(0,J.xz)(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function eT(e,t,n,r,a,i){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(a),e.consume(t),e.exit(a),o=40===t?41:t,s):n(t)};function s(n){return n===o?(e.enter(a),e.consume(n),e.exit(a),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===o?(e.exit(i),s(o)):null===t?n(t):(0,J.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,Q.f)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===o||null===t||(0,J.Ch)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===o||92===t?(e.consume(t),c):c(t)}}function e_(e,t){let n;return function r(a){return(0,J.Ch)(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):(0,J.xz)(a)?(0,Q.f)(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}var eS=n(15849);let eA={tokenize:function(e,t,n){return function(t){return(0,J.z3)(t)?e_(e,r)(t):n(t)};function r(t){return eT(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return(0,J.xz)(t)?(0,Q.f)(e,i,"whitespace")(t):i(t)}function i(e){return null===e||(0,J.Ch)(e)?t(e):n(e)}},partial:!0},eO={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,Q.f)(e,a,"linePrefix",5)(t)};function a(t){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?function t(n){return null===n?i(n):(0,J.Ch)(n)?e.attempt(ek,t,i)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,J.Ch)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function i(n){return e.exit("codeIndented"),t(n)}}},ek={tokenize:function(e,t,n){let r=this;return a;function a(t){return r.parser.lazy[r.now().line]?n(t):(0,J.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,Q.f)(e,i,"linePrefix",5)(t)}function i(e){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):(0,J.Ch)(e)?a(e):n(e)}},partial:!0},ex={name:"setextUnderline",tokenize:function(e,t,n){let r;let a=this;return function(t){let o,s=a.events.length;for(;s--;)if("lineEnding"!==a.events[s][1].type&&"linePrefix"!==a.events[s][1].type&&"content"!==a.events[s][1].type){o="paragraph"===a.events[s][1].type;break}return!a.parser.lazy[a.now().line]&&(a.interrupt||o)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,J.xz)(n)?(0,Q.f)(e,i,"lineSuffix")(n):i(n))}(t)):n(t)};function i(r){return null===r||(0,J.Ch)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,a,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),a||"definition"!==e[i][1].type||(a=i);let o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",a?(e.splice(r,0,["enter",o,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[a][1].end)):e[n][1]=o,e.push(["exit",o,t]),e}},eI=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eC=["pre","script","style","textarea"],eN={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(er.w,t,n)}},partial:!0},ew={tokenize:function(e,t,n){let r=this;return function(t){return(0,J.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):n(t)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eR={tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eL={name:"codeFenced",tokenize:function(e,t,n){let r;let a=this,i={tokenize:function(e,t,n){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),(0,J.xz)(t)?(0,Q.f)(e,l,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(a){return a===r?(i++,e.consume(a),t):i>=s?(e.exit("codeFencedFenceSequence"),(0,J.xz)(a)?(0,Q.f)(e,c,"whitespace")(a):c(a)):n(a)}(t)):n(t)}function c(r){return null===r||(0,J.Ch)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},o=0,s=0;return function(t){return function(t){let i=a.events[a.events.length-1];return o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(a){return a===r?(s++,e.consume(a),t):s<3?n(a):(e.exit("codeFencedFenceSequence"),(0,J.xz)(a)?(0,Q.f)(e,l,"whitespace")(a):l(a))}(t)}(t)};function l(i){return null===i||(0,J.Ch)(i)?(e.exit("codeFencedFence"),a.interrupt?t(i):e.check(eR,u,h)(i)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,J.Ch)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(a)):(0,J.xz)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,Q.f)(e,c,"whitespace")(a)):96===a&&a===r?n(a):(e.consume(a),t)}(i))}function c(t){return null===t||(0,J.Ch)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,J.Ch)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(a)):96===a&&a===r?n(a):(e.consume(a),t)}(t))}function u(t){return e.attempt(i,h,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return o>0&&(0,J.xz)(t)?(0,Q.f)(e,f,"linePrefix",o+1)(t):f(t)}function f(t){return null===t||(0,J.Ch)(t)?e.check(eR,u,h)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,J.Ch)(n)?(e.exit("codeFlowValue"),f(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("codeFenced"),t(n)}},concrete:!0},eD=document.createElement("i");function eP(e){let t="&"+e+";";eD.innerHTML=t;let n=eD.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let eM={name:"characterReference",tokenize:function(e,t,n){let r,a;let i=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,a=J.H$,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,a=J.AF,c):(e.enter("characterReferenceValue"),r=7,a=J.pY,c(t))}function c(s){if(59===s&&o){let r=e.exit("characterReferenceValue");return a!==J.H$||eP(i.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return a(s)&&o++1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);eY(d,-s),eY(p,s),i={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},o={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},a={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},i.start),e[u][1].start=Object.assign({},o.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=(0,V.V)(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=(0,V.V)(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",a,t]]),l=(0,V.V)(l,(0,ef.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=(0,V.V)(l,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=(0,V.V)(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,(0,V.d)(e,n-1,u-n+3,l),u=n+l.length-c-2;break}}for(u=-1;++ui&&"whitespace"===e[a][1].type&&(a-=2),"atxHeadingSequence"===e[a][1].type&&(i===a-1||a-4>i&&"whitespace"===e[a-2][1].type)&&(a-=i+1===a?2:4),a>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},r={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},(0,V.d)(e,i,a-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:eh,45:[ex,eh],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,a,i,o,s;let l=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c};function c(o){return 33===o?(e.consume(o),u):47===o?(e.consume(o),a=!0,f):63===o?(e.consume(o),r=3,l.interrupt?t:R):(0,J.jv)(o)?(e.consume(o),i=String.fromCharCode(o),h):n(o)}function u(a){return 45===a?(e.consume(a),r=2,d):91===a?(e.consume(a),r=5,o=0,p):(0,J.jv)(a)?(e.consume(a),r=4,l.interrupt?t:R):n(a)}function d(r){return 45===r?(e.consume(r),l.interrupt?t:R):n(r)}function p(r){let a="CDATA[";return r===a.charCodeAt(o++)?(e.consume(r),o===a.length)?l.interrupt?t:A:p:n(r)}function f(t){return(0,J.jv)(t)?(e.consume(t),i=String.fromCharCode(t),h):n(t)}function h(o){if(null===o||47===o||62===o||(0,J.z3)(o)){let s=47===o,c=i.toLowerCase();return!s&&!a&&eC.includes(c)?(r=1,l.interrupt?t(o):A(o)):eI.includes(i.toLowerCase())?(r=6,s)?(e.consume(o),g):l.interrupt?t(o):A(o):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(o):a?function t(n){return(0,J.xz)(n)?(e.consume(n),t):_(n)}(o):m(o))}return 45===o||(0,J.H$)(o)?(e.consume(o),i+=String.fromCharCode(o),h):n(o)}function g(r){return 62===r?(e.consume(r),l.interrupt?t:A):n(r)}function m(t){return 47===t?(e.consume(t),_):58===t||95===t||(0,J.jv)(t)?(e.consume(t),b):(0,J.xz)(t)?(e.consume(t),m):_(t)}function b(t){return 45===t||46===t||58===t||95===t||(0,J.H$)(t)?(e.consume(t),b):y(t)}function y(t){return 61===t?(e.consume(t),E):(0,J.xz)(t)?(e.consume(t),y):m(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,v):(0,J.xz)(t)?(e.consume(t),E):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,J.z3)(n)?y(n):(e.consume(n),t)}(t)}function v(t){return t===s?(e.consume(t),s=null,T):null===t||(0,J.Ch)(t)?n(t):(e.consume(t),v)}function T(e){return 47===e||62===e||(0,J.xz)(e)?m(e):n(e)}function _(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return null===t||(0,J.Ch)(t)?A(t):(0,J.xz)(t)?(e.consume(t),S):n(t)}function A(t){return 45===t&&2===r?(e.consume(t),I):60===t&&1===r?(e.consume(t),C):62===t&&4===r?(e.consume(t),L):63===t&&3===r?(e.consume(t),R):93===t&&5===r?(e.consume(t),w):(0,J.Ch)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(eN,D,O)(t)):null===t||(0,J.Ch)(t)?(e.exit("htmlFlowData"),O(t)):(e.consume(t),A)}function O(t){return e.check(ew,k,D)(t)}function k(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),x}function x(t){return null===t||(0,J.Ch)(t)?O(t):(e.enter("htmlFlowData"),A(t))}function I(t){return 45===t?(e.consume(t),R):A(t)}function C(t){return 47===t?(e.consume(t),i="",N):A(t)}function N(t){if(62===t){let n=i.toLowerCase();return eC.includes(n)?(e.consume(t),L):A(t)}return(0,J.jv)(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),N):A(t)}function w(t){return 93===t?(e.consume(t),R):A(t)}function R(t){return 62===t?(e.consume(t),L):45===t&&2===r?(e.consume(t),R):A(t)}function L(t){return null===t||(0,J.Ch)(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),L)}function D(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:ex,95:eh,96:eL,126:eL},eQ={38:eM,92:eF},eJ={[-5]:eB,[-4]:eB,[-3]:eB,33:e$,38:eM,42:eW,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a};function a(t){return(0,J.jv)(t)?(e.consume(t),i):64===t?n(t):s(t)}function i(t){return 43===t||45===t||46===t||(0,J.H$)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||(0,J.H$)(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function o(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,J.Av)(r)?n(r):(e.consume(r),o)}function s(t){return 64===t?(e.consume(t),l):(0,J.n9)(t)?(e.consume(t),s):n(t)}function l(a){return(0,J.H$)(a)?function a(i){return 46===i?(e.consume(i),r=0,l):62===i?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(i),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(i){if((45===i||(0,J.H$)(i))&&r++<63){let n=45===i?t:a;return e.consume(i),n}return n(i)}(i)}(a):n(a)}}},{name:"htmlText",tokenize:function(e,t,n){let r,a,i;let o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),v):63===t?(e.consume(t),y):(0,J.jv)(t)?(e.consume(t),_):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),a=0,f):(0,J.jv)(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):(0,J.Ch)(t)?(i=u,N(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?C(e):45===e?d(e):u(e)}function f(t){let r="CDATA[";return t===r.charCodeAt(a++)?(e.consume(t),a===r.length?h:f):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),g):(0,J.Ch)(t)?(i=h,N(t)):(e.consume(t),h)}function g(t){return 93===t?(e.consume(t),m):h(t)}function m(t){return 62===t?C(t):93===t?(e.consume(t),m):h(t)}function b(t){return null===t||62===t?C(t):(0,J.Ch)(t)?(i=b,N(t)):(e.consume(t),b)}function y(t){return null===t?n(t):63===t?(e.consume(t),E):(0,J.Ch)(t)?(i=y,N(t)):(e.consume(t),y)}function E(e){return 62===e?C(e):y(e)}function v(t){return(0,J.jv)(t)?(e.consume(t),T):n(t)}function T(t){return 45===t||(0,J.H$)(t)?(e.consume(t),T):function t(n){return(0,J.Ch)(n)?(i=t,N(n)):(0,J.xz)(n)?(e.consume(n),t):C(n)}(t)}function _(t){return 45===t||(0,J.H$)(t)?(e.consume(t),_):47===t||62===t||(0,J.z3)(t)?S(t):n(t)}function S(t){return 47===t?(e.consume(t),C):58===t||95===t||(0,J.jv)(t)?(e.consume(t),A):(0,J.Ch)(t)?(i=S,N(t)):(0,J.xz)(t)?(e.consume(t),S):C(t)}function A(t){return 45===t||46===t||58===t||95===t||(0,J.H$)(t)?(e.consume(t),A):function t(n){return 61===n?(e.consume(n),O):(0,J.Ch)(n)?(i=t,N(n)):(0,J.xz)(n)?(e.consume(n),t):S(n)}(t)}function O(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,k):(0,J.Ch)(t)?(i=O,N(t)):(0,J.xz)(t)?(e.consume(t),O):(e.consume(t),x)}function k(t){return t===r?(e.consume(t),r=void 0,I):null===t?n(t):(0,J.Ch)(t)?(i=k,N(t)):(e.consume(t),k)}function x(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,J.z3)(t)?S(t):(e.consume(t),x)}function I(e){return 47===e||62===e||(0,J.z3)(e)?S(e):n(e)}function C(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function N(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),w}function w(t){return(0,J.xz)(t)?(0,Q.f)(e,R,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):R(t)}function R(t){return e.enter("htmlTextData"),i(t)}}}],91:eV,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,J.Ch)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eF],93:ej,95:eW,96:{name:"codeText",tokenize:function(e,t,n){let r,a,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),i++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),o):96===l?(a=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(a.type="codeTextData",s(o))}(l)):(0,J.Ch)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||(0,J.Ch)(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),s)}},resolve:function(e){let t,n,r=e.length-4,a=3;if(("lineEnding"===e[3][1].type||"space"===e[a][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=a;++t13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let e6=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function e5(e,t,n){if(t)return t;let r=n.charCodeAt(0);if(35===r){let e=n.charCodeAt(1),t=120===e||88===e;return e4(n.slice(t?2:1),t?16:10)}return eP(n)||e}let e8={}.hasOwnProperty;function e9(e){return{line:e.line,column:e.column,offset:e.offset}}function e7(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+A({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+A({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+A({start:t.start,end:t.end})+") is still open")}function te(e){let t=this;t.parser=function(n){var a,i;let o,s,l,c;return"string"!=typeof(a={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(i=a,a=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(b),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(h),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(f),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:r(f,a),codeText:r(function(){return{type:"inlineCode",value:""}},a),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(g),hardBreakTrailing:r(g),htmlFlow:r(m,a),htmlFlowData:c,htmlText:r(m,a),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:r(b),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}},listOrdered:r(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(y),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:r(h),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:o(),autolinkEmail:function(e){u.call(this,e);let t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t;let n=this.sliceSerialize(e),r=this.data.characterReferenceType;if(r)t=e4(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0;else{let e=eP(n);t=e}let a=this.stack[this.stack.length-1];a.value+=t},characterReference:function(e){let t=this.stack.pop();t.position.end=e9(e.end)},codeFenced:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e},codeFencedFenceMeta:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e},codeFlowValue:u,codeIndented:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),codeTextData:u,data:u,definition:o(),definitionDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eS.d)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},emphasis:o(),hardBreakEscape:o(d),hardBreakTrailing:o(d),htmlFlow:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlFlowData:u,htmlText:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlTextData:u,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){let t=e.children;n.children=t}else n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(e6,e5),n.identifier=(0,eS.d)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=e9(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),u.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eS.d)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},resourceTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){let t=this.stack[this.stack.length-1];t.depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};(function e(t,n){let r=-1;for(;++r0){let e=o.tokenStack[o.tokenStack.length-1],t=e[1]||e7;t.call(o,void 0,e[0])}for(r.position={start:e9(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:e9(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u-1){let e=n[0];"string"==typeof e?n[0]=e.slice(a):n.shift()}o>0&&n.push(e[i].slice(0,o))}return n}(o,e)}function p(){let{line:e,column:t,offset:n,_index:a,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:a,_bufferIndex:i}}function f(e,t){t.restore()}function h(e,t){return function(n,a,i){let o,u,d,f;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null,a=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]];return h(a)(e)};function h(e){return(o=e,u=0,0===e.length)?i:g(e[u])}function g(e){return function(n){return(f=function(){let e=p(),t=c.previous,n=c.currentConstruct,a=c.events.length,i=Array.from(s);return{restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=a,s=i,m()},from:a}}(),d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?y(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,b,y)(n)}}function b(t){return e(d,f),a}function y(e){return(f.restore(),++u55295&&i<57344){let t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(o=String.fromCharCode(i,t),a=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+a+1,o=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function tr(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function ta(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var ti=n(26820);function to(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let a=e.all(t),i=a[0];i&&"text"===i.type?i.value="["+i.value:a.unshift({type:"text",value:"["});let o=a[a.length-1];return o&&"text"===o.type?o.value+=r:a.push({type:"text",value:r}),a}function ts(e){let t=e.spread;return null==t?e.children.length>1:t}function tl(e,t,n){let r=0,a=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(a-1);for(;9===t||32===t;)a--,t=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}let tc={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n;let r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),i=tn(a.toLowerCase()),o=e.footnoteOrder.indexOf(a),s=e.footnoteCounts.get(a);void 0===s?(s=0,e.footnoteOrder.push(a),n=e.footnoteOrder.length):n=o+1,s+=1,e.footnoteCounts.set(a,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+i,id:r+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return to(e,t);let a={src:tn(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(a.title=r.title);let i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){let n={src:tn(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return to(e,t);let a={href:tn(r.url||"")};null!==r.title&&void 0!==r.title&&(a.title=r.title);let i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){let n={href:tn(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),a=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=(0,S.Pk)(t.children[1]),o=(0,S.rb)(t.children[t.children.length-1]);i&&o&&(r.position={start:i,end:o}),a.push(r)}let i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,a=r?r.indexOf(t):1,i=0===a?"th":"td",o=n&&"table"===n.type?n.align:void 0,s=o?o.length:t.children.length,l=-1,c=[];for(;++l0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return i.push(tl(t.slice(a),a>0,!1)),i.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:tu,yaml:tu,definition:tu,footnoteDefinition:tu};function tu(){}let td={}.hasOwnProperty,tp={};function tf(e,t){e.position&&(t.position=(0,S.FK)(e))}function th(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,a=e.data.hProperties;if("string"==typeof t){if("element"===n.type)n.tagName=t;else{let e="children"in n?n.children:[n];n={type:"element",tagName:t,properties:{},children:e}}}"element"===n.type&&a&&Object.assign(n.properties,(0,tt.ZP)(a)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function tg(e,t){let n=t.data||{},r="value"in t&&!(td.call(n,"hProperties")||td.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function tm(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r0&&n.push({type:"text",value:"\n"}),n}function tb(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ty(e,t){let n=function(e,t){let n=t||tp,r=new Map,a=new Map,i=new Map,o={...tc,...n.handlers},s={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let f=i[i.length-1];if(f&&"element"===f.type&&"p"===f.tagName){let e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...d)}else i.push(...d);let h={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(a,h),s.push(h)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...(0,tt.ZP)(o),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&((0,c.ok)("children"in i),i.children.push({type:"text",value:"\n"},a)),i}function tE(e,t){return e&&"run"in e?async function(n,r){let a=ty(n,{file:r,...t});await e.run(a,r)}:function(n,r){return ty(n,{file:r,...t||e})}}function tv(e){if(e)throw e}var tT=n(38979);function t_(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let tS={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');tA(e);let r=0,a=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1);return a<0?"":e.slice(r,a)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(a=i):(s=-1,a=o));return r===a?a=o:a<0&&(a=e.length),e.slice(r,a)},dirname:function(e){let t;if(tA(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;tA(e);let n=e.length,r=-1,a=0,i=-1,o=0;for(;n--;){let s=e.codePointAt(n);if(47===s){if(t){a=n+1;break}continue}r<0&&(t=!0,r=n+1),46===s?i<0?i=n:1!==o&&(o=1):i>-1&&(o=-1)}return i<0||r<0||0===o||1===o&&i===r-1&&i===a+1?"":e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n2){if((r=a.lastIndexOf("/"))!==a.length-1){r<0?(a="",i=0):i=(a=a.slice(0,r)).length-1-a.lastIndexOf("/"),o=l,s=0;continue}}else if(a.length>0){a="",i=0,o=l,s=0;continue}}t&&(a=a.length>0?a+"/..":"..",i=2)}else a.length>0?a+="/"+e.slice(o+1,l):a=e.slice(o+1,l),i=l-o-1;o=l,s=0}else 46===n&&s>-1?s++:s=-1}return a}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function tA(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let tO={cwd:function(){return"/"}};function tk(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let tx=["history","path","basename","stem","extname","dirname"];class tI{constructor(e){let t,n;t=e?tk(e)?{path:e}:"string"==typeof e||e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e?{value:e}:e:{},this.cwd="cwd"in t?"":tO.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++rt.length;o&&t.push(r);try{i=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(i&&i.then&&"function"==typeof i.then?i.then(a,r):i instanceof Error?r(i):a(i))};function r(e,...a){n||(n=!0,t(e,...a))}function a(e){r(null,e)}})(s,a)(...o):r(null,...o)})(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new tD,t=-1;for(;++t0){let[r,...i]=t,o=n[a][1];t_(o)&&t_(r)&&(r=tT(!0,o,r)),n[a]=[e,r,...i]}}}}let tP=new tD().freeze();function tM(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function tF(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function tB(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function tj(e){if(!t_(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function tU(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function tH(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new tI(e)}let tG=[],t$={allowDangerousHtml:!0},tz=/^(https?|ircs?|mailto|xmpp)$/i,tW=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function tY(e){let t=e.allowedElements,n=e.allowElement,r=e.children||"",a=e.className,i=e.components,o=e.disallowedElements,s=e.rehypePlugins||tG,l=e.remarkPlugins||tG,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...t$}:t$,d=e.skipHtml,p=e.unwrapDisallowed,f=e.urlTransform||tV,h=tP().use(te).use(l).use(tE,u).use(s),g=new tI;for(let n of("string"==typeof r?g.value=r:(0,c.t1)("Unexpected value `"+r+"` for `children` prop, expected `string`"),t&&o&&(0,c.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),tW))Object.hasOwn(e,n.from)&&(0,c.t1)("Unexpected `"+n.from+"` prop, "+(n.to?"use `"+n.to+"` instead":"remove it")+" (see for more info)");let m=h.parse(g),y=h.runSync(m,g);return a&&(y={type:"element",tagName:"div",properties:{className:a},children:"root"===y.type?y.children:[y]}),(0,ti.Vn)(y,function(e,r,a){if("raw"===e.type&&a&&"number"==typeof r)return d?a.children.splice(r,1):a.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in z)if(Object.hasOwn(z,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=z[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=f(String(n||""),t,e))}}if("element"===e.type){let i=t?!t.includes(e.tagName):!!o&&o.includes(e.tagName);if(!i&&n&&"number"==typeof r&&(i=!n(e,r,a)),i&&a&&"number"==typeof r)return p&&e.children?a.children.splice(r,1,...e.children):a.children.splice(r,1),r}}),function(e,t){var n,r,a;let i;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let o=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=t.jsxDEV,i=function(e,t,r,a){let i=Array.isArray(r.children),s=(0,S.Pk)(e);return n(t,r,a,i,{columnNumber:s?s.column-1:void 0,fileName:o,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");r=t.jsx,a=t.jsxs,i=function(e,t,n,i){let o=Array.isArray(n.children),s=o?a:r;return i?s(t,n,i):s(t,n)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:i,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:o,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?b.YP:b.dy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},l=M(s,e,void 0);return l&&"string"!=typeof l?l:s.create(e,s.Fragment,{children:l||void 0},void 0)}(y,{Fragment:W.Fragment,components:i,ignoreInvalidStyle:!0,jsx:W.jsx,jsxs:W.jsxs,passKeys:!0,passNode:!0})}function tV(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),a=e.indexOf("/");return t<0||a>-1&&t>a||n>-1&&t>n||r>-1&&t>r||tz.test(e.slice(0,t))?e:""}var tZ=n(75798),tq=n(50730),tK=["children","components","rehypePlugins"],tX=function(e){var t=e.children,n=e.components,r=e.rehypePlugins,c=(0,s.Z)(e,tK),u=(0,tq.r)();return l.createElement(tY,(0,a.Z)({components:(0,o.Z)({code:u},n),rehypePlugins:[tZ.Z].concat((0,i.Z)(r||[]))},c),t)}},91278:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r,a,i=n(10921),o=n(72991),s=n(65148),l=n(38497),c=n(42096);function u(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 d(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n=e.join(".");return p[n]||(p[n]=0===(t=e.length)||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0),p[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return d(d({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===a?{}:a),r)})}else m=d(d({},s),{},{className:s.className.join(" ")});var T=b(n.children);return l.createElement(f,(0,c.Z)({key:o},m),T)}}({node:e,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(t)})})}function _(e){return e&&void 0!==e.highlightAuto}var S=n(21435),A=(r=n.n(S)(),a={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,s=e.style,c=void 0===s?a:s,u=e.customStyle,d=void 0===u?{}:u,p=e.codeTagProps,h=void 0===p?{className:t?"language-".concat(t):void 0,style:g(g({},c['code[class*="language-"]']),c['code[class*="language-'.concat(t,'"]')])}:p,S=e.useInlineStyles,A=void 0===S||S,O=e.showLineNumbers,k=void 0!==O&&O,x=e.showInlineLineNumbers,I=void 0===x||x,C=e.startingLineNumber,N=void 0===C?1:C,w=e.lineNumberContainerStyle,R=e.lineNumberStyle,L=void 0===R?{}:R,D=e.wrapLines,P=e.wrapLongLines,M=void 0!==P&&P,F=e.lineProps,B=void 0===F?{}:F,j=e.renderer,U=e.PreTag,H=void 0===U?"pre":U,G=e.CodeTag,$=void 0===G?"code":G,z=e.code,W=void 0===z?(Array.isArray(n)?n[0]:n)||"":z,Y=e.astGenerator,V=(0,i.Z)(e,f);Y=Y||r;var Z=k?l.createElement(b,{containerStyle:w,codeStyle:h.style||{},numberStyle:L,startingLineNumber:N,codeString:W}):null,q=c.hljs||c['pre[class*="language-"]']||{backgroundColor:"#fff"},K=_(Y)?"hljs":"prismjs",X=A?Object.assign({},V,{style:Object.assign({},q,d)}):Object.assign({},V,{className:V.className?"".concat(K," ").concat(V.className):K,style:Object.assign({},d)});if(M?h.style=g(g({},h.style),{},{whiteSpace:"pre-wrap"}):h.style=g(g({},h.style),{},{whiteSpace:"pre"}),!Y)return l.createElement(H,X,Z,l.createElement($,h,W));(void 0===D&&j||M)&&(D=!0),j=j||T;var Q=[{type:"text",value:W}],J=function(e){var t=e.astGenerator,n=e.language,r=e.code,a=e.defaultCodeValue;if(_(t)){var i=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:a,language:"text"}:i?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:a}}catch(e){return{value:a}}}({astGenerator:Y,language:t,code:W,defaultCodeValue:Q});null===J.language&&(J.value=Q);var ee=J.value.length+N,et=function(e,t,n,r,a,i,s,l,c){var u,d=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return v({children:e,lineNumber:t,lineNumberStyle:l,largestLineNumber:s,showInlineLineNumbers:a,lineProps:n,className:i,showLineNumbers:r,wrapLongLines:c})}(e,i,o):function(e,t){if(r&&t&&a){var n=E(l,t,s);e.unshift(y(t,n))}return e}(e,i)}for(;h code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}},81466:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}},12772:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}}},22895:function(e){"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==r&&n}},47830:function(e,t,n){"use strict";var r=n(37093),a=n(32189),i=n(75227),o=n(20042),s=n(27409),l=n(22895);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),p)n=t[i],o[i]=null==n?p[i]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,i,o,p,E,v,T,_,S,A,O,k,x,I,C,N,w,R,L,D,P,M=t.additional,F=t.nonTerminated,B=t.text,j=t.reference,U=t.warning,H=t.textContext,G=t.referenceContext,$=t.warningContext,z=t.position,W=t.indent||[],Y=e.length,V=0,Z=-1,q=z.column||1,K=z.line||1,X="",Q=[];for("string"==typeof M&&(M=M.charCodeAt(0)),R=J(),A=U?function(e,t){var n=J();n.column+=t,n.offset+=t,U.call($,y[e],n,e)}:d,V--,Y++;++V=55296&&n<=57343||n>1114111?(A(7,D),_=u(65533)):_ in a?(A(6,D),_=a[_]):(k="",((i=_)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&A(6,D),_>65535&&(_-=65536,k+=u(_>>>10|55296),_=56320|1023&_),_=k+u(_))):N!==f&&A(4,D)),_?(ee(),R=J(),V=P-1,q+=P-C+1,Q.push(_),L=J(),L.offset++,j&&j.call(G,_,{start:R,end:L},e.slice(C-1,P)),R=L):(X+=v=e.slice(C-1,P),q+=v.length,V=P-1)}else 10===T&&(K++,Z++,q=0),T==T?(X+=u(T),q++):ee();return Q.join("");function J(){return{line:K,column:q,offset:V+(z.offset||0)}}function ee(){X&&(Q.push(X),B&&B.call(H,X,{start:R,end:J()}),X="")}}(e,o)};var c={}.hasOwnProperty,u=String.fromCharCode,d=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f="named",h="hexadecimal",g="decimal",m={};m[h]=16,m[g]=10;var b={};b[f]=s,b[g]=i,b[h]=o;var y={};y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},93608:function(e,t,n){/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));_+=T.value.length,T=T.next){var S,A=T.value;if(n.length>t.length)return;if(!(A instanceof i)){var O=1;if(b){if(!(S=o(v,_,t,m))||S.index>=t.length)break;var k=S.index,x=S.index+S[0].length,I=_;for(I+=T.value.length;k>=I;)I+=(T=T.next).value.length;if(I-=T.value.length,_=I,T.value instanceof i)continue;for(var C=T;C!==n.tail&&(Iu.reach&&(u.reach=L);var D=T.prev;w&&(D=l(n,D,w),_+=w.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,_,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},93134:function(e,t,n){"use strict";var r=n(71700),a=n(21540),i=n(73204),o="data";e.exports=function(e,t){var n,p,f,h=r(t),g=t,m=i;return h in e.normal?e.property[e.normal[h]]:(h.length>4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?g=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),m=a),new m(g,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},75286:function(e,t,n){"use strict";var r=n(33447),a=n(28551),i=n(67746),o=n(10171),s=n(48597),l=n(92422);e.exports=r([i,a,o,s,l])},48597:function(e,t,n){"use strict";var r=n(33918),a=n(52093),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},92422:function(e,t,n){"use strict";var r=n(33918),a=n(52093),i=n(98259),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})},98259:function(e,t,n){"use strict";var r=n(32806);e.exports=function(e,t){return r(e,t.toLowerCase())}},32806:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},52093:function(e,t,n){"use strict";var r=n(71700),a=n(79721),i=n(21540);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},21540:function(e,t,n){"use strict";var r=n(73204),a=n(33918);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},66306:function(e){"use strict";function t(e){var t;t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)",e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}e.exports=t,t.displayName="abnf",t.aliases=[]},89058:function(e){"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},62402:function(e){"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},21272:function(e){"use strict";function t(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}e.exports=t,t.displayName="agda",t.aliases=[]},37984:function(e){"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},52154:function(e){"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},65674:function(e){"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},83549:function(e,t,n){"use strict";var r=n(45310);function a(e){e.register(r),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return t.source});function r(e){return RegExp(e.replace(//g,function(){return n}),"i")}var a={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:a},{pattern:r(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:a},{pattern:r(/(?=\s*\w+\s*[;=,(){:])/.source),inside:a}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=a,a.displayName="apex",a.aliases=[]},82478:function(e){"use strict";function t(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},65731:function(e){"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},28616:function(e){"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},52726:function(e,t,n){"use strict";var r=n(42083);function a(e){e.register(r),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=a,a.displayName="arduino",a.aliases=["ino"]},3121:function(e){"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},99237:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function r(e){e=e.split(" ");for(var t={},r=0,a=e.length;r>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},55222:function(e,t,n){"use strict";var r=n(17781);function a(e){e.register(r),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=a,a.displayName="aspnet",a.aliases=[]},61472:function(e){"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},722:function(e){"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},35906:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(e.replace(/<<(\d+)>>/g,function(e,n){return t[+n]}),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},50238:function(e){"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},66069:function(e){"use strict";function t(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,o=0;o?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},97593:function(e){"use strict";function t(e){var t,n,r,a;t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,a=/(?:\b|-)\d+\b/,e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:r,parameter:n,variable:t,number:a,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:a,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:a,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:a,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}e.exports=t,t.displayName="batch",t.aliases=[]},57576:function(e){"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},75266:function(e){"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},74600:function(e){"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},28346:function(e,t,n){"use strict";var r=n(88781);function a(e){e.register(r),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=a,a.displayName="bison",a.aliases=[]},27123:function(e){"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},77953:function(e){"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},29026:function(e){"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},6691:function(e){"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},6700:function(e){"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},88781:function(e){"use strict";function t(e){e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},98481:function(e){"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},5754:function(e,t,n){"use strict";var r=n(42083);function a(e){e.register(r),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=a,a.displayName="chaiscript",a.aliases=[]},370:function(e){"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},61237:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},26366:function(e){"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},96128:function(e){"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},96309:function(e){"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},2848:function(e){"use strict";function t(e){var t,n;t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"},e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},14558:function(e){"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},59135:function(e){"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return t})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},42083:function(e,t,n){"use strict";var r=n(88781);function a(e){var t,n;e.register(r),t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}e.exports=a,a.displayName="cpp",a.aliases=[]},48663:function(e,t,n){"use strict";var r=n(53794);function a(e){e.register(r),e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}e.exports=a,a.displayName="crystal",a.aliases=[]},17781:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var a={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function i(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var o=i(a.typeDeclaration),s=RegExp(i(a.type+" "+a.typeDeclaration+" "+a.contextual+" "+a.other)),l=i(a.typeDeclaration+" "+a.contextual+" "+a.other),c=i(a.type+" "+a.typeDeclaration+" "+a.other),u=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),d=r(/\((?:[^()]|<>)*\)/.source,2),p=/@?\b[A-Za-z_]\w*\b/.source,f=t(/<<0>>(?:\s*<<1>>)?/.source,[p,u]),h=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[l,f]),g=/\[\s*(?:,\s*)*\]/.source,m=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[h,g]),b=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[u,d,g]),y=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[b]),E=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[y,h,g]),v={keyword:s,punctuation:/[<>()?,.:[\]]/},T=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,_=/"(?:\\.|[^\\"\r\n])*"/.source,S=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[S]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[_]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[h]),lookbehind:!0,inside:v},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[p,E]),lookbehind:!0,inside:v},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[p]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[o,f]),lookbehind:!0,inside:v},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[h]),lookbehind:!0,inside:v},{pattern:n(/(\bwhere\s+)<<0>>/.source,[p]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[m]),lookbehind:!0,inside:v},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[E,c,p]),inside:v}],keyword:s,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[p]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[p]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[d]),lookbehind:!0,alias:"class-name",inside:v},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[E,h]),inside:v,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[E]),lookbehind:!0,inside:v,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[p,u]),inside:{function:n(/^<<0>>/.source,[p]),generic:{pattern:RegExp(u),alias:"class-name",inside:v}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,f,p,E,s.source,d,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[f,d]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(E),greedy:!0,inside:v},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var A=_+"|"+T,O=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[A]),k=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[O]),2),x=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,I=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[h,k]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[x,I]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[x]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[k]),inside:e.languages.csharp},"class-name":{pattern:RegExp(h),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var C=/:[^}\r\n]+/.source,N=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[O]),2),w=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[N,C]),R=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[A]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,C]);function D(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,C]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[w]),lookbehind:!0,greedy:!0,inside:D(w,N)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:D(L,R)}],char:{pattern:RegExp(T),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},15530:function(e,t,n){"use strict";var r=n(17781);function a(e){e.register(r),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var a=0;a/g,function(){return"(?:"+e+")"});return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var a=r(/\((?:[^()'"@/]|||)*\)/.source,2),i=r(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),o=r(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=r(/<(?:[^<>'"@/]|||)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,c=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,u=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source)+c+"|"+r(/<\1/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|")+/<\/?(?!\1\b)/.source+c+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},66776:function(e){"use strict";function t(e){var t,n;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},44346:function(e){"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},32139:function(e){"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},66373:function(e){"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},11570:function(e){"use strict";function t(e){var t,n,r;t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}e.exports=t,t.displayName="dart",t.aliases=[]},37242:function(e){"use strict";function t(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}e.exports=t,t.displayName="dataweave",t.aliases=[]},1098:function(e){"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},17979:function(e){"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},64798:function(e){"use strict";function t(e){var t;e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}e.exports=t,t.displayName="diff",t.aliases=[]},97745:function(e,t,n){"use strict";var r=n(80096);function a(e){var t,n;e.register(r),e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/},t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"],e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"django",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"jinja2",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"jinja2")})}e.exports=a,a.displayName="django",a.aliases=["jinja2"]},90311:function(e){"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},15756:function(e){"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,a=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return r}),i={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(//g,function(){return a}).replace(//g,function(){return n}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},44534:function(e){"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(//g,function(){return t}),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},83898:function(e){"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},17906:function(e){"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},88500:function(e){"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},85276:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")}),e.languages.eta=e.languages.ejs}e.exports=a,a.displayName="ejs",a.aliases=["eta"]},94126:function(e){"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}e.exports=t,t.displayName="elixir",t.aliases=[]},68082:function(e){"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},15516:function(e,t,n){"use strict";var r=n(53794),a=n(80096);function i(e){e.register(r),e.register(a),e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})}e.exports=i,i.displayName="erb",i.aliases=[]},96518:function(e){"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},4599:function(e,t,n){"use strict";var r=n(4694),a=n(80096);function i(e){e.register(r),e.register(a),e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")})}e.exports=i,i.displayName="etlua",i.aliases=[]},8597:function(e){"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},58292:function(e){"use strict";function t(e){var t,n,r,a,i,o;r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/}},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:(n={number:/\\[^\s']|%\w/}).number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},a=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},i=function(e){return RegExp("(^|\\s)(?:"+e.map(a).join("|")+")(?=\\s|$)")},Object.keys(o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]}).forEach(function(e){r[e].pattern=i(o[e])}),r.combinators.pattern=i(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=r}e.exports=t,t.displayName="factor",t.aliases=[]},83125:function(e){"use strict";function t(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},83372:function(e){"use strict";function t(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}e.exports=t,t.displayName="flow",t.aliases=[]},3206:function(e){"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},98530:function(e){"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},76844:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return t})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return t})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return t}),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")})}(e)}e.exports=a,a.displayName="ftl",a.aliases=[]},31838:function(e){"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},80900:function(e){"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},29914:function(e){"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},76996:function(e){"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},87278:function(e){"use strict";function t(e){var t;t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source,e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}e.exports=t,t.displayName="gherkin",t.aliases=[]},74405:function(e){"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},90864:function(e,t,n){"use strict";var r=n(88781);function a(e){e.register(r),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=a,a.displayName="glsl",a.aliases=[]},85975:function(e){"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},95440:function(e){"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},62793:function(e){"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},9939:function(e){"use strict";function t(e){e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},72222:function(e){"use strict";function t(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n0)){var s=d(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&p(c,"variable-input")}}}}function u(e,r){r=r||0;for(var a=0;a]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:r,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}})}e.exports=t,t.displayName="groovy",t.aliases=[]},35077:function(e,t,n){"use strict";var r=n(53794);function a(e){e.register(r),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,a=t.length;r@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}),e.languages.hbs=e.languages.handlebars}e.exports=a,a.displayName="handlebars",a.aliases=["hbs"]},40371:function(e){"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},44994:function(e){"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},78819:function(e){"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},48029:function(e,t,n){"use strict";var r=n(88781);function a(e){e.register(r),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=a,a.displayName="hlsl",a.aliases=[]},63134:function(e){"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},26137:function(e){"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},80978:function(e){"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},64328:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ ]*(?![ ]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.languages,a={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},i={"application/json":!0,"application/xml":!0};for(var o in a)if(a[o]){n=n||{};var s=i[o]?function(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}(o):o;n[o.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+s+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:a[o]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},27466:function(e){"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},57194:function(e){"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},29818:function(e){"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,function(){return t(e,n-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},a=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return n.source}),8),i={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(a),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":i,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":i,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:{pattern:n,greedy:!0,inside:{escape:r}}},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},97226:function(e,t,n){"use strict";var r=n(40371);function a(e){e.register(r),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=a,a.displayName="idris",a.aliases=["idr"]},13312:function(e){"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},1460:function(e){"use strict";function t(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},27273:function(e){"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},58322:function(e){"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},80835:function(e){"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},12189:function(e){"use strict";function t(e){var t,n,r;t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}e.exports=t,t.displayName="java",t.aliases=[]},57379:function(e,t,n){"use strict";var r=n(12189),a=n(59515);function i(e){var t,n,i;e.register(r),e.register(a),t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return n}),e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}e.exports=i,i.displayName="javadoc",i.aliases=[]},59515:function(e){"use strict";function t(e){var t;Object.defineProperty(t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach(function(t){!function(t,n){var r="doc-comment",a=e.languages[t];if(a){var i=a[r];if(!i){var o={};o[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},i=(a=e.languages.insertBefore(t,"comment",o))[r]}if(i instanceof RegExp&&(i=a[r]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},54864:function(e){"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},18577:function(e){"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},82007:function(e){"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},36854:function(e){"use strict";function t(e){var t,n,r,a;t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},a=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}},r.interpolation.inside.content.inside=a}e.exports=t,t.displayName="jq",t.aliases=[]},87180:function(e){"use strict";function t(e){!function(e){function t(e,t){return RegExp(e.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r=p.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var l=p[c],d="string"==typeof o?o:o.content,f=d.indexOf(l);if(-1!==f){++c;var h=d.substring(0,f),g=function(t){var n={};n["interpolation-punctuation"]=a;var i=e.tokenize(t,n);if(3===i.length){var o=[1,1];o.push.apply(o,s(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,o)}return new e.Token("interpolation",i,r.alias,t)}(u[l]),m=d.substring(f+l.length),b=[];if(h&&b.push(h),b.push(g),m){var y=[m];t(y),b.push.apply(b,y)}"string"==typeof o?(n.splice.apply(n,[i,1].concat(b)),i+=b.length-1):o.content=b}}else{var E=o.content;Array.isArray(E)?t(E):t([E])}}}(d),new e.Token(o,d,"language-"+o,t)}(p,g,h)}}else t(u)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},15976:function(e,t,n){"use strict";var r=n(59515),a=n(41970);function i(e){var t,n,i;e.register(r),e.register(a),t=e.languages.javascript,i="(@(?:arg|argument|param|property)\\s+(?:"+(n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}e.exports=i,i.displayName="jsdoc",i.aliases=[]},16377:function(e){"use strict";function t(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},20985:function(e,t,n){"use strict";var r=n(16377);function a(e){var t;e.register(r),t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/,e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}e.exports=a,a.displayName="json5",a.aliases=[]},56581:function(e,t,n){"use strict";var r=n(16377);function a(e){e.register(r),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=a,a.displayName="jsonp",a.aliases=[]},21675:function(e){"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},4329:function(e){"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return a}),t)}a=i(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===o(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:o(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(a);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=o(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}a.content&&"string"!=typeof a.content&&s(a.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},81299:function(e){"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}e.exports=t,t.displayName="julia",t.aliases=[]},35607:function(e){"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},30080:function(e){"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},13372:function(e){"use strict";function t(e){var t;e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},49712:function(e){"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},5414:function(e){"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},34568:function(e){"use strict";function t(e){var t,n;n={"equation-command":{pattern:t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},58750:function(e,t,n){"use strict";var r=n(80096),a=n(18627);function i(e){var t;e.register(r),e.register(a),e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}},t=e.languages.extend("markup",{}),e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")})}e.exports=i,i.displayName="latte",i.aliases=[]},16329:function(e){"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},26944:function(e,t,n){"use strict";var r=n(33033);function a(e){e.register(r),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return t}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(e)}e.exports=a,a.displayName="lilypond",a.aliases=[]},29746:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}e.exports=a,a.displayName="liquid",a.aliases=[]},1723:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,a="&"+r,i="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+o),lookbehind:!0},{pattern:RegExp(i+"(?:append|by|collect|concat|do|finally|for|in|return)"+o),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(i+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(a),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},u="\\S+(?:\\s+\\S+)*",d={pattern:RegExp(i+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+u),inside:c},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+u),inside:c},keys:{pattern:RegExp("&key\\s+"+u+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=d,l.defun.inside.arguments=e.util.clone(d),l.defun.inside.arguments.inside.sublist=d,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},37219:function(e){"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},27309:function(e){"use strict";function t(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}e.exports=t,t.displayName="llvm",t.aliases=[]},77825:function(e){"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},63509:function(e){"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},4694:function(e){"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},69338:function(e){"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},10320:function(e){"use strict";function t(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},99337:function(e){"use strict";function t(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+i+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+i+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},80096:function(e){"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,i){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof i&&!i(e))return e;for(var a,s=o.length;-1!==n.code.indexOf(a=t(r,s));)++s;return o[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,i=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=i.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=i[a],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),h=p.indexOf(f);if(h>-1){++a;var g=p.substring(0,h),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(h+f.length),y=[];g&&y.push.apply(y,o([g])),y.push(m),b&&y.push.apply(y,o([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},69720:function(e){"use strict";function t(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:r}};a["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},62622:function(e){"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},80130:function(e){"use strict";function t(e){var t;t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i,e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|")+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ ]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+t.source+")"+/[a-z_]/.source+"|")+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}e.exports=t,t.displayName="maxscript",t.aliases=[]},95768:function(e){"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},18645:function(e){"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},82530:function(e){"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},50918:function(e){"use strict";function t(e){var t,n;n="(?:"+["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"].map(function(e){return e.replace("$","\\$")}).join("|")+")\\b",e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:ObjectId|Code|BinData|DBRef|Timestamp|NumberLong|NumberDecimal|MaxKey|MinKey|RegExp|ISODate|UUID)\\b"),alias:"keyword"}})}e.exports=t,t.displayName="mongodb",t.aliases=[]},51125:function(e){"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},28621:function(e){"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},58803:function(e){"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},24551:function(e){"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},83619:function(e){"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},78580:function(e){"use strict";function t(e){var t,n;n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t=/\{[^\r\n\[\]{}]*\}/,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]},e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(e){e.tokens.forEach(function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(e);!function(e){for(var t=[],n=0;n=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},1635:function(e){"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},99257:function(e){"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},60253:function(e){"use strict";function t(e){var t;t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i,e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}e.exports=t,t.displayName="nginx",t.aliases=[]},58495:function(e){"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},61310:function(e){"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},99610:function(e){"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},64915:function(e,t,n){"use strict";var r=n(88781);function a(e){e.register(r),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=a,a.displayName="objectivec",a.aliases=["objc"]},49319:function(e){"use strict";function t(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},13469:function(e,t,n){"use strict";var r=n(88781);function a(e){var t;e.register(r),e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}}),t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}},e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}e.exports=a,a.displayName="opencl",a.aliases=[]},17463:function(e){"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},21664:function(e){"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},10742:function(e){"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:RegExp("\\b(?:"+["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"].map(function(e){return e.split("").join(" *")}).join("|")+")\\b"),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},53384:function(e){"use strict";function t(e){var t;t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}e.exports=t,t.displayName="parser",t.aliases=[]},41903:function(e){"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},15666:function(e){"use strict";function t(e){var t,n,r,a;t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return t}),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return n}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return n}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return n})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},a=["comment","keyword","builtin","operator","punctuation"].reduce(function(e,t){return e[t]=r[t],e},{}),r["class-name"].forEach(function(e){e.inside=a})}e.exports=t,t.displayName="pascaligo",t.aliases=[]},71954:function(e){"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},46065:function(e){"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},29862:function(e){"use strict";function t(e){var t;t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="perl",t.aliases=[]},36906:function(e,t,n){"use strict";var r=n(18627);function a(e){e.register(r),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=a,a.displayName="phpExtras",a.aliases=[]},18627:function(e,t,n){"use strict";var r=n(80096);function a(e){var t,n,a,i,o,s,l;e.register(r),t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],a=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/,e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:a,operator:i,punctuation:o},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}],e.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:a,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}e.exports=a,a.displayName="php",a.aliases=[]},81118:function(e,t,n){"use strict";var r=n(18627),a=n(59515);function i(e){var t;e.register(r),e.register(a),t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source,e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}e.exports=i,i.displayName="phpdoc",i.aliases=[]},33913:function(e,t,n){"use strict";var r=n(45310);function a(e){e.register(r),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=a,a.displayName="plsql",a.aliases=[]},39481:function(e){"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},69741:function(e){"use strict";function t(e){var t;(t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}e.exports=t,t.displayName="powershell",t.aliases=[]},88935:function(e){"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},98696:function(e){"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},39109:function(e){"use strict";function t(e){var t,n;n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t=["on","ignoring","group_right","group_left","by","without"],["offset"]),e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}e.exports=t,t.displayName="promql",t.aliases=[]},27631:function(e){"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},11400:function(e){"use strict";function t(e){var t;t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}e.exports=t,t.displayName="protobuf",t.aliases=[]},3754:function(e){"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},49160:function(e){"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},a=0,i=n.length;a",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},94825:function(e){"use strict";function t(e){var t;e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/},t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}],e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}e.exports=t,t.displayName="puppet",t.aliases=[]},26550:function(e){"use strict";function t(e){var t;e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source,["c",{lang:"c++",alias:"cpp"},"fortran"].forEach(function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var a={};a["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},a["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",a)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}e.exports=t,t.displayName="pure",t.aliases=[]},89130:function(e){"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},93994:function(e,t,n){"use strict";var r=n(40371);function a(e){e.register(r),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=a,a.displayName="purescript",a.aliases=["purs"]},73272:function(e){"use strict";function t(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},69124:function(e){"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},80568:function(e){"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return t}).replace(//g,function(){return n}),a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},36637:function(e){"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},40156:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}var r={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"},a=RegExp("\\b(?:"+(r.type+" "+r.other).trim().replace(/ /g,"|")+")\\b"),i=/\b[A-Za-z_]\w*\b/.source,o=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[i]),s={keyword:a,punctuation:/[<>()?,.:[\]]/},l=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[l]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[o]),lookbehind:!0,inside:s},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[o]),lookbehind:!0,inside:s}],keyword:a,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var c=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[l]),0);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[c]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[c]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},47218:function(e){"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},95848:function(e,t,n){"use strict";var r=n(33033);function a(e){e.register(r),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=a,a.displayName="racket",a.aliases=["rkt"]},97363:function(e){"use strict";function t(e){e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},37313:function(e){"use strict";function t(e){var t,n,r,a,i;t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=RegExp((r="(?:[^\\\\-]|"+(n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+r),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:a,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},58011:function(e){"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},50571:function(e){"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},72966:function(e){"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},38687:function(e){"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},32347:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var a={};for(var i in a["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},r)a[i]=r[i];return a.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},a.variable=n,a.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return e}),"im"),alias:"section",inside:a}}var a={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},i={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:r("Variables"),"test-cases":r("Test Cases",{"test-name":i,documentation:a,property:o}),keywords:r("Keywords",{"keyword-name":i,documentation:a,property:o}),tasks:r("Tasks",{"task-name":i,documentation:a,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},53794:function(e){"use strict";function t(e){var t,n,r;e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete e.languages.ruby.function,n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},11891:function(e){"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},49660:function(e){"use strict";function t(e){var t,n,r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y;t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={function:u={pattern:/%?\b\w+(?=\()/,alias:"keyword"},"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":a={pattern:/&[a-z_]\w*/i},arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c=/[$%@.(){}\[\];,\\]/,string:l={pattern:RegExp(t),greedy:!0}},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},f={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},h={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},g={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},m=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,b={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return m}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return m}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:u,"arg-value":d["arg-value"],operator:d.operator,argument:d.arg,number:n,"numeric-constant":r,punctuation:c,string:l}},y={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0},e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return t}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":h,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:y,"submit-statement":g,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:y,"submit-statement":g,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:d}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:d},step:o,keyword:y,function:u,format:p,altformat:f,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,inside:d},"macro-keyword":i,"macro-variable":a,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":i,"macro-variable":a,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:c}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:d},"cas-actions":b,comment:s,function:u,format:p,altformat:f,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:o,keyword:y,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:c}}e.exports=t,t.displayName="sas",t.aliases=[]},46920:function(e){"use strict";function t(e){var t,n;e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule,t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}e.exports=t,t.displayName="sass",t.aliases=[]},13489:function(e,t,n){"use strict";var r=n(12189);function a(e){e.register(r),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=a,a.displayName="scala",a.aliases=[]},33033:function(e){"use strict";function t(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,function(t){return"(?:"+e[t].trim()+")"});return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}e.exports=t,t.displayName="scheme",t.aliases=[]},45693:function(e){"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},3083:function(e,t,n){"use strict";var r=n(66069);function a(e){var t;e.register(r),t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}e.exports=a,a.displayName="shellSession",a.aliases=[]},46601:function(e){"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},55740:function(e){"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},61558:function(e,t,n){"use strict";var r=n(80096);function a(e){var t,n;e.register(r),e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty,t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return t.source}),"g"),e.hooks.add("before-tokenize",function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}e.exports=a,a.displayName="smarty",a.aliases=[]},91456:function(e){"use strict";function t(e){var t;t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i,e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return t.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},56276:function(e){"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},59351:function(e){"use strict";function t(e){var t;t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}},e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}e.exports=t,t.displayName="solutionFile",t.aliases=[]},91004:function(e,t,n){"use strict";var r=n(80096);function a(e){var t,n;e.register(r),t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/,e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")})}e.exports=a,a.displayName="soy",a.aliases=[]},41743:function(e,t,n){"use strict";var r=n(85395);function a(e){e.register(r),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=a,a.displayName="sparql",a.aliases=["rq"]},68738:function(e){"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},18844:function(e){"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},45310:function(e){"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},46512:function(e){"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},81506:function(e){"use strict";function t(e){var t;t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/,e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}e.exports=t,t.displayName="stan",t.aliases=[]},76240:function(e){"use strict";function t(e){var t,n,r;(r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},number:n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/}).interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}e.exports=t,t.displayName="stylus",t.aliases=[]},72385:function(e){"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}e.exports=t,t.displayName="swift",t.aliases=[]},35864:function(e){"use strict";function t(e){var t,n;t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|')+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}e.exports=t,t.displayName="systemd",t.aliases=[]},28513:function(e,t,n){"use strict";var r=n(65393),a=n(17781);function i(e){e.register(r),e.register(a),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=i,i.displayName="t4Cs",i.aliases=[]},65393:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],a="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,a),"class-feature":t("\\+",r,a),standard:t("",r,a)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},91603:function(e,t,n){"use strict";var r=n(65393),a=n(6315);function i(e){e.register(r),e.register(a),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=i,i.displayName="t4Vb",i.aliases=[]},15089:function(e,t,n){"use strict";var r=n(27297);function a(e){e.register(r),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=a,a.displayName="tap",a.aliases=[]},32798:function(e){"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},2105:function(e){"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,function(){return"(?:"+t+")"}).replace(//g,function(){return"(?:"+n+")"}),r||"")}var a={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},i=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:a},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:a},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:a},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:a},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=i.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};i.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=o.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var c=o.table.inside;c.inline=s.inline,c.link=s.link,c.image=s.image,c.footnote=s.footnote,c.acronym=s.acronym,c.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},3764:function(e){"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},51491:function(e){"use strict";function t(e){var t;e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/},t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source,e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}e.exports=t,t.displayName="tremor",t.aliases=[]},33600:function(e,t,n){"use strict";var r=n(4329),a=n(41970);function i(e){var t,n;e.register(r),e.register(a),t=e.util.clone(e.languages.typescript),e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],(n=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}e.exports=i,i.displayName="tsx",i.aliases=[]},91656:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}e.exports=a,a.displayName="tt2",a.aliases=[]},85395:function(e){"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},58177:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}e.exports=a,a.displayName="twig",a.aliases=[]},41970:function(e){"use strict";function t(e){var t;e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},12919:function(e){"use strict";function t(e){var t;t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/,e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},99347:function(e){"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},16210:function(e){"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},94597:function(e){"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source)+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},61979:function(e){"use strict";function t(e){var t;t={pattern:/[\s\S]+/,inside:null},e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}e.exports=t,t.displayName="v",t.aliases=[]},40159:function(e){"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},6315:function(e,t,n){"use strict";var r=n(24277);function a(e){e.register(r),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=a,a.displayName="vbnet",a.aliases=[]},9520:function(e){"use strict";function t(e){var t;e.languages.velocity=e.languages.extend("markup",{}),(t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/}).variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}e.exports=t,t.displayName="velocity",t.aliases=[]},93915:function(e){"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},2417:function(e){"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},54181:function(e){"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},19816:function(e){"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},77173:function(e){"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},68731:function(e){"use strict";function t(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},91210:function(e){"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var a in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==a&&(r[a]=e.languages["web-idl"][a]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},95081:function(e){"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},64632:function(e){"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},17977:function(e){"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},88505:function(e){"use strict";function t(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},22659:function(e){"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},71293:function(e){"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},60029:function(e){"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var a=[],i=0;i0&&a[a.length-1].tagName===t(o.content[0].content[1])&&a.pop():"/>"===o.content[o.content.length-1].content||a.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(a.length>0)||"punctuation"!==o.type||"{"!==o.content||r[i+1]&&"punctuation"===r[i+1].type&&"{"===r[i+1].content||r[i-1]&&"plain-text"===r[i-1].type&&"{"===r[i-1].content?a.length>0&&a[a.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?a[a.length-1].openedBraces--:"comment"!==o.type&&(s=!0):a[a.length-1].openedBraces++),(s||"string"==typeof o)&&a.length>0&&0===a[a.length-1].openedBraces){var l=t(o);i0&&("string"==typeof r[i-1]||"plain-text"===r[i-1].type)&&(l=t(r[i-1])+l,r.splice(i-1,1),i--),/^\s+$/.test(l)?r[i]=l:r[i]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},27297:function(e){"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+a+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},75093:function(e){"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},37290:function(e){"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",a=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,i="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(a))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(t){null===t.inside&&(t.inside=e.languages.zig)})}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},15018:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n{let n=(t,n)=>(e.set(n,t),t),a=i=>{if(e.has(i))return e.get(i);let[o,s]=t[i];switch(o){case 0:case -1:return n(s,i);case 1:{let e=n([],i);for(let t of s)e.push(a(t));return e}case 2:{let e=n({},i);for(let[t,n]of s)e[a(t)]=a(n);return e}case 3:return n(new Date(s),i);case 4:{let{source:e,flags:t}=s;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of s)e.set(a(t),a(n));return e}case 6:{let e=n(new Set,i);for(let t of s)e.add(a(t));return e}case 7:{let{name:e,message:t}=s;return n(new r[e](t),i)}case 8:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i)}return n(new r[o](s),i)};return a},i=e=>a(new Map,e)(0),{toString:o}={},{keys:s}=Object,l=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=o.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},c=([e,t])=>0===e&&("function"===t||"symbol"===t),u=(e,t,n,r)=>{let a=(e,t)=>{let a=r.push(e)-1;return n.set(t,a),a},i=r=>{if(n.has(r))return n.get(r);let[o,u]=l(r);switch(o){case 0:{let t=r;switch(u){case"bigint":o=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+u);t=null;break;case"undefined":return a([-1],r)}return a([o,t],r)}case 1:{if(u)return a([u,[...r]],r);let e=[],t=a([o,e],r);for(let t of r)e.push(i(t));return t}case 2:{if(u)switch(u){case"BigInt":return a([u,r.toString()],r);case"Boolean":case"Number":case"String":return a([u,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());let n=[],d=a([o,n],r);for(let t of s(r))(e||!c(l(r[t])))&&n.push([i(t),i(r[t])]);return d}case 3:return a([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return a([o,{source:e,flags:t}],r)}case 5:{let t=[],n=a([o,t],r);for(let[n,a]of r)(e||!(c(l(n))||c(l(a))))&&t.push([i(n),i(a)]);return n}case 6:{let t=[],n=a([o,t],r);for(let n of r)(e||!c(l(n)))&&t.push(i(n));return n}}let{message:d}=r;return a([o,{name:u,message:d}],r)};return i},d=(e,{json:t,lossy:n}={})=>{let r=[];return u(!(t||n),!!t,new Map,r)(e),r};var p="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?i(d(e,t)):structuredClone(e):(e,t)=>i(d(e,t))},92638:function(e,t,n){"use strict";function r(e){let t=[],n=String(e||""),r=n.indexOf(","),a=0,i=!1;for(;!i;){-1===r&&(r=n.length,i=!0);let e=n.slice(a,r).trim();(e||!i)&&t.push(e),a=r+1,r=n.indexOf(",",a)}return t}function a(e,t){let n=t||{},r=""===e[e.length-1]?[...e,""]:e;return r.join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{P:function(){return a},Q:function(){return r}})},47118:function(e,t,n){"use strict";function r(){}function a(){}n.d(t,{ok:function(){return r},t1:function(){return a}})},33523:function(e,t,n){"use strict";n.d(t,{B:function(){return a}});let r={};function a(e,t){let n=t||r,a="boolean"!=typeof n.includeImageAlt||n.includeImageAlt,o="boolean"!=typeof n.includeHtml||n.includeHtml;return i(e,a,o)}function i(e,t,n){if(e&&"object"==typeof e){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return o(e.children,t,n)}return Array.isArray(e)?o(e,t,n):""}function o(e,t,n){let r=[],a=-1;for(;++a-1&&e.test(String.fromCharCode(t))}}},35191:function(e,t,n){"use strict";function r(e,t,n,r){let a;let i=e.length,o=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)(a=Array.from(r)).unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o0?(r(e,e.length,0,t),e):t}n.d(t,{V:function(){return a},d:function(){return r}})},83830:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});var r=n(66487);function a(e){return null===e||(0,r.z3)(e)||(0,r.B8)(e)?1:(0,r.Xh)(e)?2:void 0}},76794:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(35191);let a={}.hasOwnProperty;function i(e){let t={},n=-1;for(;++n"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),u=l({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function d(e,t){return t in e?e[t]:t}function p(e,t){return d(e,t.toLowerCase())}let f=l({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:p,properties:{xmlns:null,xmlnsXLink:null}});var h=n(43384);let g=l({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:h.booleanish,ariaAutoComplete:null,ariaBusy:h.booleanish,ariaChecked:h.booleanish,ariaColCount:h.number,ariaColIndex:h.number,ariaColSpan:h.number,ariaControls:h.spaceSeparated,ariaCurrent:null,ariaDescribedBy:h.spaceSeparated,ariaDetails:null,ariaDisabled:h.booleanish,ariaDropEffect:h.spaceSeparated,ariaErrorMessage:null,ariaExpanded:h.booleanish,ariaFlowTo:h.spaceSeparated,ariaGrabbed:h.booleanish,ariaHasPopup:null,ariaHidden:h.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:h.spaceSeparated,ariaLevel:h.number,ariaLive:null,ariaModal:h.booleanish,ariaMultiLine:h.booleanish,ariaMultiSelectable:h.booleanish,ariaOrientation:null,ariaOwns:h.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:h.number,ariaPressed:h.booleanish,ariaReadOnly:h.booleanish,ariaRelevant:null,ariaRequired:h.booleanish,ariaRoleDescription:h.spaceSeparated,ariaRowCount:h.number,ariaRowIndex:h.number,ariaRowSpan:h.number,ariaSelected:h.booleanish,ariaSetSize:h.number,ariaSort:null,ariaValueMax:h.number,ariaValueMin:h.number,ariaValueNow:h.number,ariaValueText:null,role:null}}),m=l({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:p,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h.commaSeparated,acceptCharset:h.spaceSeparated,accessKey:h.spaceSeparated,action:null,allow:null,allowFullScreen:h.boolean,allowPaymentRequest:h.boolean,allowUserMedia:h.boolean,alt:null,as:null,async:h.boolean,autoCapitalize:null,autoComplete:h.spaceSeparated,autoFocus:h.boolean,autoPlay:h.boolean,blocking:h.spaceSeparated,capture:null,charSet:null,checked:h.boolean,cite:null,className:h.spaceSeparated,cols:h.number,colSpan:null,content:null,contentEditable:h.booleanish,controls:h.boolean,controlsList:h.spaceSeparated,coords:h.number|h.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:h.boolean,defer:h.boolean,dir:null,dirName:null,disabled:h.boolean,download:h.overloadedBoolean,draggable:h.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:h.boolean,formTarget:null,headers:h.spaceSeparated,height:h.number,hidden:h.boolean,high:h.number,href:null,hrefLang:null,htmlFor:h.spaceSeparated,httpEquiv:h.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:h.boolean,inputMode:null,integrity:null,is:null,isMap:h.boolean,itemId:null,itemProp:h.spaceSeparated,itemRef:h.spaceSeparated,itemScope:h.boolean,itemType:h.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:h.boolean,low:h.number,manifest:null,max:null,maxLength:h.number,media:null,method:null,min:null,minLength:h.number,multiple:h.boolean,muted:h.boolean,name:null,nonce:null,noModule:h.boolean,noValidate:h.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:h.boolean,optimum:h.number,pattern:null,ping:h.spaceSeparated,placeholder:null,playsInline:h.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:h.boolean,referrerPolicy:null,rel:h.spaceSeparated,required:h.boolean,reversed:h.boolean,rows:h.number,rowSpan:h.number,sandbox:h.spaceSeparated,scope:null,scoped:h.boolean,seamless:h.boolean,selected:h.boolean,shadowRootClonable:h.boolean,shadowRootDelegatesFocus:h.boolean,shadowRootMode:null,shape:null,size:h.number,sizes:null,slot:null,span:h.number,spellCheck:h.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:h.number,step:null,style:null,tabIndex:h.number,target:null,title:null,translate:null,type:null,typeMustMatch:h.boolean,useMap:null,value:h.booleanish,width:h.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:h.spaceSeparated,axis:null,background:null,bgColor:null,border:h.number,borderColor:null,bottomMargin:h.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:h.boolean,declare:h.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:h.number,leftMargin:h.number,link:null,longDesc:null,lowSrc:null,marginHeight:h.number,marginWidth:h.number,noResize:h.boolean,noHref:h.boolean,noShade:h.boolean,noWrap:h.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:h.number,rules:null,scheme:null,scrolling:h.booleanish,standby:null,summary:null,text:null,topMargin:h.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:h.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:h.boolean,disableRemotePlayback:h.boolean,prefix:null,property:null,results:h.number,security:null,unselectable:null}}),b=l({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:d,properties:{about:h.commaOrSpaceSeparated,accentHeight:h.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:h.number,amplitude:h.number,arabicForm:null,ascent:h.number,attributeName:null,attributeType:null,azimuth:h.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:h.number,by:null,calcMode:null,capHeight:h.number,className:h.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:h.number,diffuseConstant:h.number,direction:null,display:null,dur:null,divisor:h.number,dominantBaseline:null,download:h.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:h.number,enableBackground:null,end:null,event:null,exponent:h.number,externalResourcesRequired:null,fill:null,fillOpacity:h.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h.commaSeparated,g2:h.commaSeparated,glyphName:h.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:h.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:h.number,horizOriginX:h.number,horizOriginY:h.number,id:null,ideographic:h.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:h.number,k:h.number,k1:h.number,k2:h.number,k3:h.number,k4:h.number,kernelMatrix:h.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:h.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:h.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:h.number,overlineThickness:h.number,paintOrder:null,panose1:null,path:null,pathLength:h.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:h.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:h.number,pointsAtY:h.number,pointsAtZ:h.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:h.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:h.commaOrSpaceSeparated,rev:h.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:h.commaOrSpaceSeparated,requiredFeatures:h.commaOrSpaceSeparated,requiredFonts:h.commaOrSpaceSeparated,requiredFormats:h.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:h.number,specularExponent:h.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:h.number,strikethroughThickness:h.number,string:null,stroke:null,strokeDashArray:h.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:h.number,strokeOpacity:h.number,strokeWidth:null,style:null,surfaceScale:h.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:h.commaOrSpaceSeparated,tabIndex:h.number,tableValues:null,target:null,targetX:h.number,targetY:h.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:h.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:h.number,underlineThickness:h.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:h.number,values:null,vAlphabetic:h.number,vMathematical:h.number,vectorEffect:null,vHanging:h.number,vIdeographic:h.number,version:null,vertAdvY:h.number,vertOriginX:h.number,vertOriginY:h.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:h.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),y=a([u,c,f,g,m],"html"),E=a([u,c,f,g,b],"svg")},76474:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(20665),a=n(6977),i=n(43189);let o=/^data[-\w.:]+$/i,s=/-[a-z]/g,l=/[A-Z]/g;function c(e,t){let n=(0,r.F)(t),c=t,p=i.k;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&o.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(s,d);c="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!s.test(e)){let n=e.replace(l,u);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}p=a.I}return new p(c,t)}function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},20665:function(e,t,n){"use strict";function r(e){return e.toLowerCase()}n.d(t,{F:function(){return r}})},6977:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(43189),a=n(43384);let i=Object.keys(a);class o extends r.k{constructor(e,t,n,r){var o,s;let l=-1;if(super(e,t),r&&(this.space=r),"number"==typeof n)for(;++l1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return W(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},W(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=g=g||(g={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(g.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(g.controlCharacterInInputStream):eo(e)&&this._err(g.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=m=m||(m={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(9154);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let eg=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=_||(_={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let em={DATA:_.DATA,RCDATA:_.RCDATA,RAWTEXT:_.RAWTEXT,SCRIPT_DATA:_.SCRIPT_DATA,PLAINTEXT:_.PLAINTEXT,CDATA_SECTION:_.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function e_(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eS(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eA(e){return eS(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class eO{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=_.DATA,this.returnState=_.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(g.endTagWithAttributes),e.selfClosing&&this._err(g.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case m.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case m.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case m.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:m.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eS(e)?m.WHITESPACE_CHARACTER:e===h.NULL?m.NULL_CHARACTER:m.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(m.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(g.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===_.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===_.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===_.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case _.DATA:this._stateData(e);break;case _.RCDATA:this._stateRcdata(e);break;case _.RAWTEXT:this._stateRawtext(e);break;case _.SCRIPT_DATA:this._stateScriptData(e);break;case _.PLAINTEXT:this._statePlaintext(e);break;case _.TAG_OPEN:this._stateTagOpen(e);break;case _.END_TAG_OPEN:this._stateEndTagOpen(e);break;case _.TAG_NAME:this._stateTagName(e);break;case _.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case _.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case _.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case _.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case _.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case _.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case _.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case _.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case _.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case _.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case _.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case _.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case _.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case _.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case _.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case _.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case _.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case _.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case _.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case _.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case _.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case _.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case _.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case _.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case _.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case _.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case _.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case _.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case _.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case _.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case _.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case _.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case _.BOGUS_COMMENT:this._stateBogusComment(e);break;case _.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case _.COMMENT_START:this._stateCommentStart(e);break;case _.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case _.COMMENT:this._stateComment(e);break;case _.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case _.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case _.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case _.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case _.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case _.COMMENT_END:this._stateCommentEnd(e);break;case _.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case _.DOCTYPE:this._stateDoctype(e);break;case _.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case _.DOCTYPE_NAME:this._stateDoctypeName(e);break;case _.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case _.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case _.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case _.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case _.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case _.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case _.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case _.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case _.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case _.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case _.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case _.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case _.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case _.CDATA_SECTION:this._stateCdataSection(e);break;case _.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case _.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case _.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case _.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case _.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case _.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case _.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case _.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case _.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case _.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=_.TAG_OPEN;break;case h.AMPERSAND:this.returnState=_.DATA,this.state=_.CHARACTER_REFERENCE;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=_.RCDATA,this.state=_.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=_.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=_.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=_.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=_.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=_.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=_.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(g.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=_.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(g.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=_.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=_.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(g.missingEndTagName),this.state=_.DATA;break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=_.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=_.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=_.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eA(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(g.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(g.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(g.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(g.controlCharacterReference);let e=eg.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eI=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),eC=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eN=[T.TR,T.TEMPLATE,T.HTML],ew=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eR=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(ew,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eN,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eI.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eI.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eI.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eI.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=S=S||(S={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:S.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:S.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:S.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===S.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===S.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===S.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eH=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eG=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eW(e,t){return t.some(t=>e.startsWith(t))}let eY={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eZ=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=A.TEXT}switchToPlaintextParsing(){this.insertionMode=A.TEXT,this.originalInsertionMode=A.IN_BODY,this.tokenizer.state=em.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=em.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=em.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=em.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=em.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===m.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case m.CHARACTER:this.onCharacter(e);break;case m.NULL_CHARACTER:this.onNullCharacter(e);break;case m.COMMENT:this.onComment(e);break;case m.DOCTYPE:this.onDoctype(e);break;case m.START_TAG:this._processStartTag(e);break;case m.END_TAG:this.onEndTag(e);break;case m.EOF:this.onEof(e);break;case m.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===S.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=A.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=A.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=A.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=A.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=A.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=A.IN_TABLE;return;case T.BODY:this.insertionMode=A.IN_BODY;return;case T.FRAMESET:this.insertionMode=A.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?A.AFTER_HEAD:A.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=A.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=A.IN_HEAD;return}}this.insertionMode=A.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=A.IN_SELECT_IN_TABLE;return}}this.insertionMode=A.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case A.INITIAL:e8(this,e);break;case A.BEFORE_HTML:e9(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.IN_BODY:case A.IN_CAPTION:case A.IN_CELL:case A.IN_TEMPLATE:ts(this,e);break;case A.TEXT:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tm(this,e);break;case A.IN_TABLE_TEXT:tT(this,e);break;case A.IN_COLUMN_GROUP:tO(this,e);break;case A.AFTER_BODY:tD(this,e);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case A.INITIAL:e8(this,e);break;case A.BEFORE_HTML:e9(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.TEXT:this._insertCharacters(e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tm(this,e);break;case A.IN_COLUMN_GROUP:tO(this,e);break;case A.AFTER_BODY:tD(this,e);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e6(this,e);return}switch(this.insertionMode){case A.INITIAL:case A.BEFORE_HTML:case A.BEFORE_HEAD:case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:case A.IN_BODY:case A.IN_TABLE:case A.IN_CAPTION:case A.IN_COLUMN_GROUP:case A.IN_TABLE_BODY:case A.IN_ROW:case A.IN_CELL:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:case A.IN_TEMPLATE:case A.IN_FRAMESET:case A.AFTER_FRAMESET:e6(this,e);break;case A.IN_TABLE_TEXT:t_(this,e);break;case A.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case A.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eG.has(n))return E.QUIRKS;let e=null===t?eH:eU;if(eW(n,e))return E.QUIRKS;if(eW(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,g.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=A.BEFORE_HTML}(this,e);break;case A.BEFORE_HEAD:case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:this._err(e,g.misplacedDoctype);break;case A.IN_TABLE_TEXT:t_(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,g.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case A.INITIAL:e8(this,e);break;case A.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=A.BEFORE_HEAD):e9(this,e);break;case A.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=A.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case A.IN_HEAD:te(this,e);break;case A.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,g.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case A.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=A.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=A.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,g.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case A.IN_BODY:tp(this,e);break;case A.IN_TABLE:tb(this,e);break;case A.IN_TABLE_TEXT:t_(this,e);break;case A.IN_CAPTION:!function(e,t){let n=t.tagID;tS.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case A.IN_COLUMN_GROUP:tA(this,e);break;case A.IN_TABLE_BODY:tk(this,e);break;case A.IN_ROW:tI(this,e);break;case A.IN_CELL:!function(e,t){let n=t.tagID;tS.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tI(e,t)):tp(e,t)}(this,e);break;case A.IN_SELECT:tN(this,e);break;case A.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tN(e,t)}(this,e);break;case A.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=A.IN_TABLE,e.insertionMode=A.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=A.IN_COLUMN_GROUP,e.insertionMode=A.IN_COLUMN_GROUP,tA(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=A.IN_TABLE_BODY,e.insertionMode=A.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=A.IN_ROW,e.insertionMode=A.IN_ROW,tI(e,t);break;default:e.tmplInsertionModeStack[0]=A.IN_BODY,e.insertionMode=A.IN_BODY,tp(e,t)}}(this,e);break;case A.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case A.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case A.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case A.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case A.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case A.INITIAL:e8(this,e);break;case A.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e9(e,t)}(this,e);break;case A.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,g.endTagWithoutMatchingOpenElement)}(this,e);break;case A.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=A.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=A.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.IN_BODY:th(this,e);break;case A.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case A.IN_TABLE:ty(this,e);break;case A.IN_TABLE_TEXT:t_(this,e);break;case A.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case A.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=A.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:tO(e,t)}}(this,e);break;case A.IN_TABLE_BODY:tx(this,e);break;case A.IN_ROW:tC(this,e);break;case A.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tC(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case A.IN_SELECT:tw(this,e);break;case A.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tw(e,t)}(this,e);break;case A.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case A.AFTER_BODY:tL(this,e);break;case A.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=A.AFTER_FRAMESET));break;case A.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=A.AFTER_AFTER_FRAMESET);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case A.INITIAL:e8(this,e);break;case A.BEFORE_HTML:e9(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.IN_BODY:case A.IN_TABLE:case A.IN_CAPTION:case A.IN_COLUMN_GROUP:case A.IN_TABLE_BODY:case A.IN_ROW:case A.IN_CELL:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:tg(this,e);break;case A.TEXT:this._err(e,g.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case A.IN_TABLE_TEXT:t_(this,e);break;case A.IN_TEMPLATE:tR(this,e);break;case A.AFTER_BODY:case A.IN_FRAMESET:case A.AFTER_FRAMESET:case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:e5(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:case A.TEXT:case A.IN_COLUMN_GROUP:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:case A.IN_FRAMESET:case A.AFTER_FRAMESET:this._insertCharacters(e);break;case A.IN_BODY:case A.IN_CAPTION:case A.IN_CELL:case A.IN_TEMPLATE:case A.AFTER_BODY:case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:to(this,e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tm(this,e);break;case A.IN_TABLE_TEXT:tv(this,e)}}}function e4(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e6(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e5(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e8(e,t){e._err(t,g.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=A.BEFORE_HTML,e._processToken(t)}function e9(e,t){e._insertFakeRootElement(),e.insertionMode=A.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=A.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,em.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,em.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=A.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,em.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,em.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=A.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(A.IN_TEMPLATE);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,g.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,g.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=A.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===m.EOF?g.openElementsLeftAfterEof:g.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=A.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=A.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case m.CHARACTER:ts(e,t);break;case m.WHITESPACE_CHARACTER:to(e,t);break;case m.COMMENT:e6(e,t);break;case m.START_TAG:tp(e,t);break;case m.END_TAG:th(e,t);break;case m.EOF:tg(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,em.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e4(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e4(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=A.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===A.IN_TABLE||e.insertionMode===A.IN_CAPTION||e.insertionMode===A.IN_TABLE_BODY||e.insertionMode===A.IN_ROW||e.insertionMode===A.IN_CELL?A.IN_SELECT_IN_TABLE:A.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=em.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=A.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=em.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e4(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=A.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=A.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tg(e,t){e.tmplInsertionModeStack.length>0?tR(e,t):e5(e,t)}function tm(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=A.IN_TABLE_TEXT,t.type){case m.CHARACTER:tT(e,t);break;case m.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=A.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=A.IN_COLUMN_GROUP,tA(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function t_(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tR(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e5(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=A.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=A.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=A.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(58645),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(10741),tB=n(26820);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tH(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tW,comment:tV,doctype:tY,raw:tZ},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tG(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:m.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tY(e,t){let n={type:m.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:m.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tZ(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,O.ZP)({...e,children:[]}):(0,O.ZP)(e);if("children"in e&&"children"in n){let r=tH({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=em.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tH(t,{...e,file:n});return r}}},92677:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eX}});var a=n(47118),i=n(66487),o=n(14045),s=n(22621);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function g(e){this.exit(e)}function m(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(15849);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function _(){this.buffer()}function S(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function A(e){this.exit(e)}function O(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function I(e){this.exit(e)}function C(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function N(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),w)),o(),i}function w(e,t,n){return 0===t?e:(n?"":" ")+e}C.peek=function(){return"["};let R=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function Z(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function q(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function X(e,t,n,r){let a,i;let o=G(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(K(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function Q(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function J(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function ee(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}Y.peek=function(){return"<"},V.peek=function(){return"!"},Z.peek=function(){return"!"},q.peek=function(){return"`"},X.peek=function(e,t,n){return K(e,n)?"<":"["},Q.peek=function(){return"["};let et=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function en(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}en.peek=function(e,t,n){return n.options.strong||"*"};let er={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max(function(e,t){let n=String(e),r=n.indexOf(t),a=r,i=0,o=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===a?++i>o&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=G(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:$,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:Y,image:V,imageReference:Z,inlineCode:q,link:X,linkReference:Q,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):J(n),s=e.ordered?"."===o?")":".":function(e){let t=J(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),ee(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return et(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:en,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(ee(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ea(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function ei(e){this.exit(e),this.data.inTable=void 0}function eo(e){this.enter({type:"tableRow",children:[]},e)}function es(e){this.exit(e)}function el(e){this.enter({type:"tableCell",children:[]},e)}function ec(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,eu));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function eu(e,t){return"|"===t?t:e}function ed(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ep(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eS[43]=e_,eS[45]=e_,eS[46]=e_,eS[95]=e_,eS[72]=[e_,eT],eS[104]=[e_,eT],eS[87]=[e_,ev],eS[119]=[e_,ev];var eN=n(31573),ew=n(39701);let eR={tokenize:function(e,t,n){let r=this;return(0,ew.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eL(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eD(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eP(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eM(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,ew.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eF(e,t,n){return e.check(eN.w,t,e.attempt(eR,t,n))}function eB(e){e.exit("gfmFootnoteDefinition")}var ej=n(35191),eU=n(83830),eH=n(99330);class eG{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function e$(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,ew.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,ew.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?g(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,ew.f)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(s+=1,m(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,ew.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,ew.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?_:T)}function _(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function ez(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new eG;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eV(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eY(e,t,n,r,a){let i=[],o=eV(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eV(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eZ={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eq},t,n)(r):n(r)}}};function eq(e,t,n){return(0,ew.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eK={};function eX(e){let t=e||eK,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,eh.W)([{text:eS},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eM,continuation:{tokenize:eF},exit:eB}},text:{91:{name:"gfmFootnoteCall",tokenize:eP},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eL,resolveTo:eD}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eU.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eU.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function o(e){let t=a(e),n=r(e);if(t&&n)return{start:t,end:n}}},14045:function(e,t,n){"use strict";n.d(t,{BK:function(){return i},S4:function(){return o}});var r=n(22621);let a=[],i=!1;function o(e,t,n,o){let s;"function"==typeof t&&"function"!=typeof n?(o=n,n=t):s=t;let l=(0,r.O)(s),c=o?-1:1;(function e(r,s,u){let d=r&&"object"==typeof r?r:{};if("string"==typeof d.type){let e="string"==typeof d.tagName?d.tagName:"string"==typeof d.name?d.name:void 0;Object.defineProperty(p,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return p;function p(){var d;let p,f,h,g=a;if((!t||l(r,s,u[u.length-1]||void 0))&&(g=Array.isArray(d=n(r,u))?d:"number"==typeof d?[!0,d]:null==d?a:[d])[0]===i)return g;if("children"in r&&r.children&&r.children&&"skip"!==g[0])for(f=(o?r.children.length:-1)+c,h=u.concat(r);f>-1&&f","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},32189:function(e){"use strict";e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9069-a911d2fca9dd6157.js b/dbgpt/app/static/web/_next/static/chunks/9069-a911d2fca9dd6157.js new file mode 100644 index 000000000..5e70cfdd0 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9069-a911d2fca9dd6157.js @@ -0,0 +1,27 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9069],{12299:function(e,t,n){n.d(t,{Z:function(){return a}});var o=n(42096),r=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},l=n(55032),a=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:i}))})},10917:function(e,t,n){var o=n(38497),r=n(63346),i=n(97818);t.Z=e=>{let{componentName:t}=e,{getPrefixCls:n}=(0,o.useContext)(r.E_),l=n("empty");switch(t){case"Table":case"List":return o.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE,className:`${l}-small`});case"Table.filter":return null;default:return o.createElement(i.Z,null)}}},97818:function(e,t,n){n.d(t,{Z:function(){return b}});var o=n(38497),r=n(26869),i=n.n(r),l=n(63346),a=n(61261),c=n(51084),u=n(73098),s=n(90102),d=n(74934);let f=e=>{let{componentCls:t,margin:n,marginXS:o,marginXL:r,fontSize:i,lineHeight:l}=e;return{[t]:{marginInline:o,fontSize:i,lineHeight:l,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:o,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:r,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:o,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}};var p=(0,s.I$)("Empty",e=>{let{componentCls:t,controlHeightLG:n,calc:o}=e,r=(0,d.IX)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:o(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:o(n).mul(.875).equal()});return[f(r)]}),m=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let v=o.createElement(()=>{let[,e]=(0,u.ZP)(),t=new c.C(e.colorBgBase),n=t.toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,"empty image"),o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),o.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),o.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),o.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),o.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),g=o.createElement(()=>{let[,e]=(0,u.ZP)(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:i}=e,{borderColor:l,shadowColor:a,contentColor:s}=(0,o.useMemo)(()=>({borderColor:new c.C(t).onBackground(i).toHexShortString(),shadowColor:new c.C(n).onBackground(i).toHexShortString(),contentColor:new c.C(r).onBackground(i).toHexShortString()}),[t,n,r,i]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,"Simple Empty"),o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:a,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:l},o.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),o.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},null),h=e=>{var{className:t,rootClassName:n,prefixCls:r,image:c=v,description:u,children:s,imageStyle:d,style:f}=e,h=m(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);let{getPrefixCls:b,direction:S,empty:w}=o.useContext(l.E_),E=b("empty",r),[y,Z,C]=p(E),[x]=(0,a.Z)("Empty"),$=void 0!==u?u:null==x?void 0:x.description,I="string"==typeof $?$:"empty",M=null;return M="string"==typeof c?o.createElement("img",{alt:I,src:c}):c,y(o.createElement("div",Object.assign({className:i()(Z,C,E,null==w?void 0:w.className,{[`${E}-normal`]:c===g,[`${E}-rtl`]:"rtl"===S},t,n),style:Object.assign(Object.assign({},null==w?void 0:w.style),f)},h),o.createElement("div",{className:`${E}-image`,style:d},M),$&&o.createElement("div",{className:`${E}-description`},$),s&&o.createElement("div",{className:`${E}-footer`},s)))};h.PRESENTED_IMAGE_DEFAULT=v,h.PRESENTED_IMAGE_SIMPLE=g;var b=h},39069:function(e,t,n){var o=n(38497),r=n(26869),i=n.n(r),l=n(79580),a=n(55598),c=n(58416),u=n(17383),s=n(99851),d=n(40690),f=n(63346),p=n(10917),m=n(3482),v=n(95227),g=n(82014),h=n(13859),b=n(25641),S=n(80214),w=n(73098),E=n(79420),y=n(26489),Z=n(35246),C=n(8817),x=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let $="SECRET_COMBOBOX_MODE_DO_NOT_USE",I=o.forwardRef((e,t)=>{var n;let r;let{prefixCls:s,bordered:I,className:M,rootClassName:R,getPopupContainer:O,popupClassName:D,dropdownClassName:P,listHeight:N=256,placement:H,listItemHeight:z,size:T,disabled:k,notFoundContent:L,status:j,builtinPlacements:B,dropdownMatchSelectWidth:V,popupMatchSelectWidth:F,direction:A,style:W,allowClear:_,variant:X,dropdownStyle:K,transitionName:Y,tagRender:G,maxCount:q}=e,U=x(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:Q,getPrefixCls:J,renderEmpty:ee,direction:et,virtual:en,popupMatchSelectWidth:eo,popupOverflow:er,select:ei}=o.useContext(f.E_),[,el]=(0,w.ZP)(),ea=null!=z?z:null==el?void 0:el.controlHeight,ec=J("select",s),eu=J(),es=null!=A?A:et,{compactSize:ed,compactItemClassnames:ef}=(0,S.ri)(ec,es),[ep,em]=(0,b.Z)("select",X,I),ev=(0,v.Z)(ec),[eg,eh,eb]=(0,y.Z)(ec,ev),eS=o.useMemo(()=>{let{mode:t}=e;return"combobox"===t?void 0:t===$?"combobox":t},[e.mode]),ew="multiple"===eS||"tags"===eS,eE=(0,C.Z)(e.suffixIcon,e.showArrow),ey=null!==(n=null!=F?F:V)&&void 0!==n?n:eo,{status:eZ,hasFeedback:eC,isFormItemInput:ex,feedbackIcon:e$}=o.useContext(h.aM),eI=(0,d.F)(eZ,j);r=void 0!==L?L:"combobox"===eS?null:(null==ee?void 0:ee("Select"))||o.createElement(p.Z,{componentName:"Select"});let{suffixIcon:eM,itemIcon:eR,removeIcon:eO,clearIcon:eD}=(0,Z.Z)(Object.assign(Object.assign({},U),{multiple:ew,hasFeedback:eC,feedbackIcon:e$,showSuffixIcon:eE,prefixCls:ec,componentName:"Select"})),eP=(0,a.Z)(U,["suffixIcon","itemIcon"]),eN=i()(D||P,{[`${ec}-dropdown-${es}`]:"rtl"===es},R,eb,ev,eh),eH=(0,g.Z)(e=>{var t;return null!==(t=null!=T?T:ed)&&void 0!==t?t:e}),ez=o.useContext(m.Z),eT=i()({[`${ec}-lg`]:"large"===eH,[`${ec}-sm`]:"small"===eH,[`${ec}-rtl`]:"rtl"===es,[`${ec}-${ep}`]:em,[`${ec}-in-form-item`]:ex},(0,d.Z)(ec,eI,eC),ef,null==ei?void 0:ei.className,M,R,eb,ev,eh),ek=o.useMemo(()=>void 0!==H?H:"rtl"===es?"bottomRight":"bottomLeft",[H,es]),[eL]=(0,c.Cn)("SelectLike",null==K?void 0:K.zIndex);return eg(o.createElement(l.ZP,Object.assign({ref:t,virtual:en,showSearch:null==ei?void 0:ei.showSearch},eP,{style:Object.assign(Object.assign({},null==ei?void 0:ei.style),W),dropdownMatchSelectWidth:ey,transitionName:(0,u.m)(eu,"slide-up",Y),builtinPlacements:(0,E.Z)(B,er),listHeight:N,listItemHeight:ea,mode:eS,prefixCls:ec,placement:ek,direction:es,suffixIcon:eM,menuItemSelectedIcon:eR,removeIcon:eO,allowClear:!0===_?{clearIcon:eD}:_,notFoundContent:r,className:eT,getPopupContainer:O||Q,dropdownClassName:eN,disabled:null!=k?k:ez,dropdownStyle:Object.assign(Object.assign({},K),{zIndex:eL}),maxCount:ew?q:void 0,tagRender:ew?G:void 0})))}),M=(0,s.Z)(I);I.SECRET_COMBOBOX_MODE_DO_NOT_USE=$,I.Option=l.Wx,I.OptGroup=l.Xo,I._InternalPanelDoNotUseOrYouWillBeFired=M,t.default=I},79420:function(e,t){let n=e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}};t.Z=function(e,t){return e||n(t)}},26489:function(e,t,n){n.d(t,{Z:function(){return $}});var o=n(60848),r=n(31909),i=n(90102),l=n(74934),a=n(57723),c=n(33445);let u=e=>{let{optionHeight:t,optionFontSize:n,optionLineHeight:o,optionPadding:r}=e;return{position:"relative",display:"block",minHeight:t,padding:r,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:o,boxSizing:"border-box"}};var s=e=>{let{antCls:t,componentCls:n}=e,r=`${n}-item`,i=`&${t}-slide-up-enter${t}-slide-up-enter-active`,l=`&${t}-slide-up-appear${t}-slide-up-appear-active`,s=`&${t}-slide-up-leave${t}-slide-up-leave-active`,d=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` + ${i}${d}bottomLeft, + ${l}${d}bottomLeft + `]:{animationName:a.fJ},[` + ${i}${d}topLeft, + ${l}${d}topLeft, + ${i}${d}topRight, + ${l}${d}topRight + `]:{animationName:a.Qt},[`${s}${d}bottomLeft`]:{animationName:a.Uw},[` + ${s}${d}topLeft, + ${s}${d}topRight + `]:{animationName:a.ly},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},u(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},o.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},u(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},(0,a.oN)(e,"slide-up"),(0,a.oN)(e,"slide-down"),(0,c.Fm)(e,"move-up"),(0,c.Fm)(e,"move-down")]},d=n(1309),f=n(38083);function p(e,t){let{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:i}=e,l=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},(0,o.Wf)(e,!0)),{display:"flex",borderRadius:i,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` + ${n}-selection-item, + ${n}-selection-placeholder + `]:{padding:0,lineHeight:(0,f.bf)(l),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[`&:after,${n}-selection-item:empty:after,${n}-selection-placeholder:empty:after`]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${n}-show-arrow ${n}-selection-item, + &${n}-show-arrow ${n}-selection-placeholder + `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${(0,f.bf)(r)}`,[`${n}-selection-search-input`]:{height:l},"&:after":{lineHeight:(0,f.bf)(l)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,f.bf)(r)}`,"&:after":{display:"none"}}}}}}}let m=(e,t)=>{let{componentCls:n,antCls:o,controlOutlineWidth:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${o}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${(0,f.bf)(r)} ${t.activeShadowColor}`,outline:0}}}},v=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},m(e,t))}),g=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},m(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),v(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),v(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),h=(e,t)=>{let{componentCls:n,antCls:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${o}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},b=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},h(e,t))}),S=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},h(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),b(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),b(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),w=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-selection-item`]:{color:e.colorWarning}}}});var E=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},g(e)),S(e)),w(e))});let y=e=>{let{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Z=e=>{let{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},C=e=>{let{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:i}=e;return{[n]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},y(e)),Z(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},o.vS),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},o.vS),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},(0,o.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[i]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${n}-clear`]:{opacity:1},[`${n}-arrow:not(:last-child)`]:{opacity:0}}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},x=e=>{let{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},C(e),function(e){let{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[p(e),p((0,l.IX)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${(0,f.bf)(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` + &${t}-show-arrow ${t}-selection-item, + &${t}-show-arrow ${t}-selection-placeholder + `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},p((0,l.IX)(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}(e),(0,d.ZP)(e),s(e),{[`${t}-rtl`]:{direction:"rtl"}},(0,r.c)(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]};var $=(0,i.I$)("Select",(e,t)=>{let{rootPrefixCls:n}=t,o=(0,l.IX)(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[x(o),E(o)]},e=>{let{fontSize:t,lineHeight:n,lineWidth:o,controlHeight:r,controlHeightSM:i,controlHeightLG:l,paddingXXS:a,controlPaddingHorizontal:c,zIndexPopupBase:u,colorText:s,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:p,colorBgContainer:m,colorFillSecondary:v,colorBgContainerDisabled:g,colorTextDisabled:h}=e,b=2*a,S=2*o;return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(a/2),zIndexPopup:u+50,optionSelectedColor:s,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:p,optionPadding:`${(r-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:m,clearBg:m,singleItemHeightLG:l,multipleItemBg:v,multipleItemBorderColor:"transparent",multipleItemHeight:Math.min(r-b,r-S),multipleItemHeightSM:Math.min(i-b,i-S),multipleItemHeightLG:Math.min(l-b,l-S),multipleSelectorBgDisabled:g,multipleItemColorDisabled:h,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize)}},{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},1309:function(e,t,n){n.d(t,{_z:function(){return c},gp:function(){return l}});var o=n(38083),r=n(60848),i=n(74934);let l=e=>{let{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:i}=e,l=e.max(e.calc(n).sub(r).equal(),0),a=e.max(e.calc(l).sub(i).equal(),0);return{basePadding:l,containerPadding:a,itemHeight:(0,o.bf)(t),itemLineHeight:(0,o.bf)(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},a=e=>{let{multipleSelectItemHeight:t,selectHeight:n,lineWidth:o}=e,r=e.calc(n).sub(t).div(2).sub(o).equal();return r},c=e=>{let{componentCls:t,iconCls:n,borderRadiusSM:o,motionDurationSlow:i,paddingXS:l,multipleItemColorDisabled:a,multipleItemBorderColorDisabled:c,colorIcon:u,colorIconHover:s,INTERNAL_FIXED_ITEM_MARGIN:d}=e,f=`${t}-selection-overflow`;return{[f]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:o,cursor:"default",transition:`font-size ${i}, line-height ${i}, height ${i}`,marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:l,paddingInlineEnd:e.calc(l).div(2).equal(),[`${t}-disabled&`]:{color:a,borderColor:c,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(l).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,r.Ro)()),{display:"inline-flex",alignItems:"center",color:u,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:s}})}}}},u=(e,t)=>{let{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,i=`${n}-selection-overflow`,u=e.multipleSelectItemHeight,s=a(e),d=t?`${n}-${t}`:"",f=l(e);return{[`${n}-multiple${d}`]:Object.assign(Object.assign({},c(e)),{[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:f.basePadding,paddingBlock:f.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,o.bf)(r)} 0`,lineHeight:(0,o.bf)(u),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:f.itemHeight,lineHeight:(0,o.bf)(f.itemLineHeight)},[`${i}-item + ${i}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${i}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(s).equal(),[` + &-input, + &-mirror + `]:{height:u,fontFamily:e.fontFamily,lineHeight:(0,o.bf)(u),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function s(e,t){let{componentCls:n}=e,o=t?`${n}-${t}`:"",r={[`${n}-multiple${o}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` + &${n}-show-arrow ${n}-selector, + &${n}-allow-clear ${n}-selector + `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[u(e,t),r]}t.ZP=e=>{let{componentCls:t}=e,n=(0,i.IX)(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=(0,i.IX)(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[s(e),s(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},s(o,"lg")]}},35246:function(e,t,n){n.d(t,{Z:function(){return s}});var o=n(38497),r=n(69274),i=n(86298),l=n(84223),a=n(12299),c=n(37022),u=n(29766);function s(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:s,removeIcon:d,loading:f,multiple:p,hasFeedback:m,prefixCls:v,showSuffixIcon:g,feedbackIcon:h,showArrow:b,componentName:S}=e,w=null!=n?n:o.createElement(i.Z,null),E=e=>null!==t||m||b?o.createElement(o.Fragment,null,!1!==g&&e,m&&h):null,y=null;if(void 0!==t)y=E(t);else if(f)y=E(o.createElement(c.Z,{spin:!0}));else{let e=`${v}-suffix`;y=t=>{let{open:n,showSearch:r}=t;return n&&r?E(o.createElement(u.Z,{className:e})):E(o.createElement(a.Z,{className:e}))}}let Z=null;return Z=void 0!==s?s:p?o.createElement(r.Z,null):null,{clearIcon:w,suffixIcon:y,itemIcon:Z,removeIcon:void 0!==d?d:o.createElement(l.Z,null)}}},8817:function(e,t,n){n.d(t,{Z:function(){return o}});function o(e,t){return void 0!==t?t:null!==e}},96320:function(e,t,n){n.d(t,{ZP:function(){return c}});var o=n(65347),r=n(38497),i=n(18943),l=0,a=(0,i.Z)();function c(e){var t=r.useState(),n=(0,o.Z)(t,2),i=n[0],c=n[1];return r.useEffect(function(){var e;c("rc_select_".concat((a?(e=l,l+=1):e="TEST_OR_SSR",e)))},[]),e||i}},79580:function(e,t,n){n.d(t,{Ac:function(){return U},Xo:function(){return J},Wx:function(){return et},ZP:function(){return eb},lk:function(){return E}});var o=n(42096),r=n(72991),i=n(65148),l=n(4247),a=n(65347),c=n(10921),u=n(14433),s=n(77757),d=n(89842),f=n(38497),p=n(26869),m=n.n(p),v=n(46644),g=n(61193),h=n(7544),b=function(e){var t=e.className,n=e.customizeIcon,o=e.customizeIconProps,r=e.children,i=e.onMouseDown,l=e.onClick,a="function"==typeof n?n(o):n;return f.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),null==i||i(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==a?a:f.createElement("span",{className:m()(t.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},r))},S=function(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0,a=arguments.length>7?arguments[7]:void 0,c=f.useMemo(function(){return"object"===(0,u.Z)(o)?o.clearIcon:r||void 0},[o,r]);return{allowClear:f.useMemo(function(){return!i&&!!o&&(!!n.length||!!l)&&!("combobox"===a&&""===l)},[o,i,n.length,l,a]),clearIcon:f.createElement(b,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:c},"\xd7")}},w=f.createContext(null);function E(){return f.useContext(w)}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=f.useRef(null),n=f.useRef(null);return f.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]),[function(){return t.current},function(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}]}var Z=n(16956),C=n(66168),x=n(66979),$=f.forwardRef(function(e,t){var n,o=e.prefixCls,r=e.id,i=e.inputElement,a=e.disabled,c=e.tabIndex,u=e.autoFocus,s=e.autoComplete,p=e.editable,v=e.activeDescendantId,g=e.value,b=e.maxLength,S=e.onKeyDown,w=e.onMouseDown,E=e.onChange,y=e.onPaste,Z=e.onCompositionStart,C=e.onCompositionEnd,x=e.open,$=e.attrs,I=i||f.createElement("input",null),M=I,R=M.ref,O=M.props,D=O.onKeyDown,P=O.onChange,N=O.onMouseDown,H=O.onCompositionStart,z=O.onCompositionEnd,T=O.style;return(0,d.Kp)(!("maxLength"in I.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),I=f.cloneElement(I,(0,l.Z)((0,l.Z)((0,l.Z)({type:"search"},O),{},{id:r,ref:(0,h.sQ)(t,R),disabled:a,tabIndex:c,autoComplete:s||"off",autoFocus:u,className:m()("".concat(o,"-selection-search-input"),null===(n=I)||void 0===n||null===(n=n.props)||void 0===n?void 0:n.className),role:"combobox","aria-expanded":x||!1,"aria-haspopup":"listbox","aria-owns":"".concat(r,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(r,"_list"),"aria-activedescendant":x?v:void 0},$),{},{value:p?g:"",maxLength:b,readOnly:!p,unselectable:p?null:"on",style:(0,l.Z)((0,l.Z)({},T),{},{opacity:p?null:0}),onKeyDown:function(e){S(e),D&&D(e)},onMouseDown:function(e){w(e),N&&N(e)},onChange:function(e){E(e),P&&P(e)},onCompositionStart:function(e){Z(e),H&&H(e)},onCompositionEnd:function(e){C(e),z&&z(e)},onPaste:y}))});function I(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var M="undefined"!=typeof window&&window.document&&window.document.documentElement;function R(e){return["string","number"].includes((0,u.Z)(e))}function O(e){var t=void 0;return e&&(R(e.title)?t=e.title.toString():R(e.label)&&(t=e.label.toString())),t}function D(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var P=function(e){e.preventDefault(),e.stopPropagation()},N=function(e){var t,n,o=e.id,r=e.prefixCls,l=e.values,c=e.open,u=e.searchValue,s=e.autoClearSearchValue,d=e.inputRef,p=e.placeholder,v=e.disabled,g=e.mode,h=e.showSearch,S=e.autoFocus,w=e.autoComplete,E=e.activeDescendantId,y=e.tabIndex,Z=e.removeIcon,I=e.maxTagCount,R=e.maxTagTextLength,N=e.maxTagPlaceholder,H=void 0===N?function(e){return"+ ".concat(e.length," ...")}:N,z=e.tagRender,T=e.onToggleOpen,k=e.onRemove,L=e.onInputChange,j=e.onInputPaste,B=e.onInputKeyDown,V=e.onInputMouseDown,F=e.onInputCompositionStart,A=e.onInputCompositionEnd,W=f.useRef(null),_=(0,f.useState)(0),X=(0,a.Z)(_,2),K=X[0],Y=X[1],G=(0,f.useState)(!1),q=(0,a.Z)(G,2),U=q[0],Q=q[1],J="".concat(r,"-selection"),ee=c||"multiple"===g&&!1===s||"tags"===g?u:"",et="tags"===g||"multiple"===g&&!1===s||h&&(c||U);t=function(){Y(W.current.scrollWidth)},n=[ee],M?f.useLayoutEffect(t,n):f.useEffect(t,n);var en=function(e,t,n,o,r){return f.createElement("span",{title:O(e),className:m()("".concat(J,"-item"),(0,i.Z)({},"".concat(J,"-item-disabled"),n))},f.createElement("span",{className:"".concat(J,"-item-content")},t),o&&f.createElement(b,{className:"".concat(J,"-item-remove"),onMouseDown:P,onClick:r,customizeIcon:Z},"\xd7"))},eo=function(e,t,n,o,r,i){return f.createElement("span",{onMouseDown:function(e){P(e),T(!c)}},z({label:t,value:e,disabled:n,closable:o,onClose:r,isMaxTag:!!i}))},er=f.createElement("div",{className:"".concat(J,"-search"),style:{width:K},onFocus:function(){Q(!0)},onBlur:function(){Q(!1)}},f.createElement($,{ref:d,open:c,prefixCls:r,id:o,inputElement:null,disabled:v,autoFocus:S,autoComplete:w,editable:et,activeDescendantId:E,value:ee,onKeyDown:B,onMouseDown:V,onChange:L,onPaste:j,onCompositionStart:F,onCompositionEnd:A,tabIndex:y,attrs:(0,C.Z)(e,!0)}),f.createElement("span",{ref:W,className:"".concat(J,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),ei=f.createElement(x.Z,{prefixCls:"".concat(J,"-overflow"),data:l,renderItem:function(e){var t=e.disabled,n=e.label,o=e.value,r=!v&&!t,i=n;if("number"==typeof R&&("string"==typeof n||"number"==typeof n)){var l=String(i);l.length>R&&(i="".concat(l.slice(0,R),"..."))}var a=function(t){t&&t.stopPropagation(),k(e)};return"function"==typeof z?eo(o,i,t,r,a):en(e,i,t,r,a)},renderRest:function(e){var t="function"==typeof H?H(e):H;return"function"==typeof z?eo(void 0,t,!1,!1,void 0,!0):en({title:t},t,!1)},suffix:er,itemKey:D,maxCount:I});return f.createElement(f.Fragment,null,ei,!l.length&&!ee&&f.createElement("span",{className:"".concat(J,"-placeholder")},p))},H=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,r=e.inputRef,i=e.disabled,l=e.autoFocus,c=e.autoComplete,u=e.activeDescendantId,s=e.mode,d=e.open,p=e.values,m=e.placeholder,v=e.tabIndex,g=e.showSearch,h=e.searchValue,b=e.activeValue,S=e.maxLength,w=e.onInputKeyDown,E=e.onInputMouseDown,y=e.onInputChange,Z=e.onInputPaste,x=e.onInputCompositionStart,I=e.onInputCompositionEnd,M=e.title,R=f.useState(!1),D=(0,a.Z)(R,2),P=D[0],N=D[1],H="combobox"===s,z=H||g,T=p[0],k=h||"";H&&b&&!P&&(k=b),f.useEffect(function(){H&&N(!1)},[H,b]);var L=("combobox"===s||!!d||!!g)&&!!k,j=void 0===M?O(T):M,B=f.useMemo(function(){return T?null:f.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:L?{visibility:"hidden"}:void 0},m)},[T,L,m,n]);return f.createElement(f.Fragment,null,f.createElement("span",{className:"".concat(n,"-selection-search")},f.createElement($,{ref:r,prefixCls:n,id:o,open:d,inputElement:t,disabled:i,autoFocus:l,autoComplete:c,editable:z,activeDescendantId:u,value:k,onKeyDown:w,onMouseDown:E,onChange:function(e){N(!0),y(e)},onPaste:Z,onCompositionStart:x,onCompositionEnd:I,tabIndex:v,attrs:(0,C.Z)(e,!0),maxLength:H?S:void 0})),!H&&T?f.createElement("span",{className:"".concat(n,"-selection-item"),title:j,style:L?{visibility:"hidden"}:void 0},T.label):null,B)},z=f.forwardRef(function(e,t){var n=(0,f.useRef)(null),r=(0,f.useRef)(!1),i=e.prefixCls,l=e.open,c=e.mode,u=e.showSearch,s=e.tokenWithEnter,d=e.disabled,p=e.autoClearSearchValue,m=e.onSearch,v=e.onSearchSubmit,g=e.onToggleOpen,h=e.onInputKeyDown,b=e.domRef;f.useImperativeHandle(t,function(){return{focus:function(e){n.current.focus(e)},blur:function(){n.current.blur()}}});var S=y(0),w=(0,a.Z)(S,2),E=w[0],C=w[1],x=(0,f.useRef)(null),$=function(e){!1!==m(e,!0,r.current)&&g(!0)},I={inputRef:n,onInputKeyDown:function(e){var t=e.which;(t===Z.Z.UP||t===Z.Z.DOWN)&&e.preventDefault(),h&&h(e),t!==Z.Z.ENTER||"tags"!==c||r.current||l||null==v||v(e.target.value),[Z.Z.ESC,Z.Z.SHIFT,Z.Z.BACKSPACE,Z.Z.TAB,Z.Z.WIN_KEY,Z.Z.ALT,Z.Z.META,Z.Z.WIN_KEY_RIGHT,Z.Z.CTRL,Z.Z.SEMICOLON,Z.Z.EQUALS,Z.Z.CAPS_LOCK,Z.Z.CONTEXT_MENU,Z.Z.F1,Z.Z.F2,Z.Z.F3,Z.Z.F4,Z.Z.F5,Z.Z.F6,Z.Z.F7,Z.Z.F8,Z.Z.F9,Z.Z.F10,Z.Z.F11,Z.Z.F12].includes(t)||g(!0)},onInputMouseDown:function(){C(!0)},onInputChange:function(e){var t=e.target.value;if(s&&x.current&&/[\r\n]/.test(x.current)){var n=x.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,x.current)}x.current=null,$(t)},onInputPaste:function(e){var t=e.clipboardData,n=null==t?void 0:t.getData("text");x.current=n||""},onInputCompositionStart:function(){r.current=!0},onInputCompositionEnd:function(e){r.current=!1,"combobox"!==c&&$(e.target.value)}},M="multiple"===c||"tags"===c?f.createElement(N,(0,o.Z)({},e,I)):f.createElement(H,(0,o.Z)({},e,I));return f.createElement("div",{ref:b,className:"".concat(i,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){n.current.focus()}):n.current.focus())},onMouseDown:function(e){var t=E();e.target===n.current||t||"combobox"===c&&d||e.preventDefault(),("combobox"===c||u&&t)&&l||(l&&!1!==p&&m("",!0,!1),g())}},M)}),T=n(92361),k=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],L=function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}},j=f.forwardRef(function(e,t){var n=e.prefixCls,r=(e.disabled,e.visible),a=e.children,u=e.popupElement,s=e.animation,d=e.transitionName,p=e.dropdownStyle,v=e.dropdownClassName,g=e.direction,h=e.placement,b=e.builtinPlacements,S=e.dropdownMatchSelectWidth,w=e.dropdownRender,E=e.dropdownAlign,y=e.getPopupContainer,Z=e.empty,C=e.getTriggerDOMNode,x=e.onPopupVisibleChange,$=e.onPopupMouseEnter,I=(0,c.Z)(e,k),M="".concat(n,"-dropdown"),R=u;w&&(R=w(u));var O=f.useMemo(function(){return b||L(S)},[b,S]),D=s?"".concat(M,"-").concat(s):d,P="number"==typeof S,N=f.useMemo(function(){return P?null:!1===S?"minWidth":"width"},[S,P]),H=p;P&&(H=(0,l.Z)((0,l.Z)({},H),{},{width:S}));var z=f.useRef(null);return f.useImperativeHandle(t,function(){return{getPopupElement:function(){var e;return null===(e=z.current)||void 0===e?void 0:e.popupElement}}}),f.createElement(T.Z,(0,o.Z)({},I,{showAction:x?["click"]:[],hideAction:x?["click"]:[],popupPlacement:h||("rtl"===(void 0===g?"ltr":g)?"bottomRight":"bottomLeft"),builtinPlacements:O,prefixCls:M,popupTransitionName:D,popup:f.createElement("div",{onMouseEnter:$},R),ref:z,stretch:N,popupAlign:E,popupVisible:r,getPopupContainer:y,popupClassName:m()(v,(0,i.Z)({},"".concat(M,"-empty"),Z)),popupStyle:H,getTriggerDOMNode:C,onPopupVisibleChange:x}),a)}),B=n(19644);function V(e,t){var n,o=e.key;return("value"in e&&(n=e.value),null!=o)?o:void 0!==n?n:"rc-index-key-".concat(t)}function F(e){return void 0!==e&&!Number.isNaN(e)}function A(e,t){var n=e||{},o=n.label,r=n.value,i=n.options,l=n.groupLabel,a=o||(t?"children":"label");return{label:a,value:r||"value",options:i||"options",groupLabel:l||a}}function W(e){var t=(0,l.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,d.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var _=function(e,t,n){if(!t||!t.length)return null;var o=!1,i=function e(t,n){var i=(0,B.Z)(n),l=i[0],a=i.slice(1);if(!l)return[t];var c=t.split(l);return o=o||c.length>1,c.reduce(function(t,n){return[].concat((0,r.Z)(t),(0,r.Z)(e(n,a)))},[]).filter(Boolean)}(e,t);return o?void 0!==n?i.slice(0,n):i:null},X=f.createContext(null);function K(e){var t=e.visible,n=e.values;return t?f.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,50).map(function(e){var t=e.label,n=e.value;return["number","string"].includes((0,u.Z)(t))?t:n}).join(", ")),n.length>50?", ...":null):null}var Y=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],G=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],q=function(e){return"tags"===e||"multiple"===e},U=f.forwardRef(function(e,t){var n,u,d,p,E,Z,C,x=e.id,$=e.prefixCls,I=e.className,M=e.showSearch,R=e.tagRender,O=e.direction,D=e.omitDomProps,P=e.displayValues,N=e.onDisplayValuesChange,H=e.emptyOptions,T=e.notFoundContent,k=void 0===T?"Not Found":T,L=e.onClear,B=e.mode,V=e.disabled,A=e.loading,W=e.getInputElement,U=e.getRawInputElement,Q=e.open,J=e.defaultOpen,ee=e.onDropdownVisibleChange,et=e.activeValue,en=e.onActiveValueChange,eo=e.activeDescendantId,er=e.searchValue,ei=e.autoClearSearchValue,el=e.onSearch,ea=e.onSearchSplit,ec=e.tokenSeparators,eu=e.allowClear,es=e.suffixIcon,ed=e.clearIcon,ef=e.OptionList,ep=e.animation,em=e.transitionName,ev=e.dropdownStyle,eg=e.dropdownClassName,eh=e.dropdownMatchSelectWidth,eb=e.dropdownRender,eS=e.dropdownAlign,ew=e.placement,eE=e.builtinPlacements,ey=e.getPopupContainer,eZ=e.showAction,eC=void 0===eZ?[]:eZ,ex=e.onFocus,e$=e.onBlur,eI=e.onKeyUp,eM=e.onKeyDown,eR=e.onMouseDown,eO=(0,c.Z)(e,Y),eD=q(B),eP=(void 0!==M?M:eD)||"combobox"===B,eN=(0,l.Z)({},eO);G.forEach(function(e){delete eN[e]}),null==D||D.forEach(function(e){delete eN[e]});var eH=f.useState(!1),ez=(0,a.Z)(eH,2),eT=ez[0],ek=ez[1];f.useEffect(function(){ek((0,g.Z)())},[]);var eL=f.useRef(null),ej=f.useRef(null),eB=f.useRef(null),eV=f.useRef(null),eF=f.useRef(null),eA=f.useRef(!1),eW=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=f.useState(!1),n=(0,a.Z)(t,2),o=n[0],r=n[1],i=f.useRef(null),l=function(){window.clearTimeout(i.current)};return f.useEffect(function(){return l},[]),[o,function(t,n){l(),i.current=window.setTimeout(function(){r(t),n&&n()},e)},l]}(),e_=(0,a.Z)(eW,3),eX=e_[0],eK=e_[1],eY=e_[2];f.useImperativeHandle(t,function(){var e,t;return{focus:null===(e=eV.current)||void 0===e?void 0:e.focus,blur:null===(t=eV.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=eF.current)||void 0===t?void 0:t.scrollTo(e)},nativeElement:eL.current||ej.current}});var eG=f.useMemo(function(){if("combobox"!==B)return er;var e,t=null===(e=P[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[er,B,P]),eq="combobox"===B&&"function"==typeof W&&W()||null,eU="function"==typeof U&&U(),eQ=(0,h.x1)(ej,null==eU||null===(p=eU.props)||void 0===p?void 0:p.ref),eJ=f.useState(!1),e0=(0,a.Z)(eJ,2),e1=e0[0],e2=e0[1];(0,v.Z)(function(){e2(!0)},[]);var e4=(0,s.Z)(!1,{defaultValue:J,value:Q}),e6=(0,a.Z)(e4,2),e9=e6[0],e3=e6[1],e5=!!e1&&e9,e7=!k&&H;(V||e7&&e5&&"combobox"===B)&&(e5=!1);var e8=!e7&&e5,te=f.useCallback(function(e){var t=void 0!==e?e:!e5;V||(e3(t),e5!==t&&(null==ee||ee(t)))},[V,e5,e3,ee]),tt=f.useMemo(function(){return(ec||[]).some(function(e){return["\n","\r\n"].includes(e)})},[ec]),tn=f.useContext(X)||{},to=tn.maxCount,tr=tn.rawValues,ti=function(e,t,n){if(!(eD&&F(to))||!((null==tr?void 0:tr.size)>=to)){var o=!0,r=e;null==en||en(null);var i=_(e,ec,F(to)?to-tr.size:void 0),l=n?null:i;return"combobox"!==B&&l&&(r="",null==ea||ea(l),te(!1),o=!1),el&&eG!==r&&el(r,{source:t?"typing":"effect"}),o}};f.useEffect(function(){e5||eD||"combobox"===B||ti("",!1,!1)},[e5]),f.useEffect(function(){e9&&V&&e3(!1),V&&!eA.current&&eK(!1)},[V]);var tl=y(),ta=(0,a.Z)(tl,2),tc=ta[0],tu=ta[1],ts=f.useRef(!1),td=f.useRef(!1),tf=[];f.useEffect(function(){return function(){tf.forEach(function(e){return clearTimeout(e)}),tf.splice(0,tf.length)}},[]);var tp=f.useState({}),tm=(0,a.Z)(tp,2)[1];eU&&(E=function(e){te(e)}),n=function(){var e;return[eL.current,null===(e=eB.current)||void 0===e?void 0:e.getPopupElement()]},u=!!eU,(d=f.useRef(null)).current={open:e8,triggerOpen:te,customizedTrigger:u},f.useEffect(function(){function e(e){if(null===(t=d.current)||void 0===t||!t.customizedTrigger){var t,o=e.target;o.shadowRoot&&e.composed&&(o=e.composedPath()[0]||o),d.current.open&&n().filter(function(e){return e}).every(function(e){return!e.contains(o)&&e!==o})&&d.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}},[]);var tv=f.useMemo(function(){return(0,l.Z)((0,l.Z)({},e),{},{notFoundContent:k,open:e5,triggerOpen:e8,id:x,showSearch:eP,multiple:eD,toggleOpen:te})},[e,k,e8,e5,x,eP,eD,te]),tg=!!es||A;tg&&(Z=f.createElement(b,{className:m()("".concat($,"-arrow"),(0,i.Z)({},"".concat($,"-arrow-loading"),A)),customizeIcon:es,customizeIconProps:{loading:A,searchValue:eG,open:e5,focused:eX,showSearch:eP}}));var th=S($,function(){var e;null==L||L(),null===(e=eV.current)||void 0===e||e.focus(),N([],{type:"clear",values:P}),ti("",!1,!1)},P,eu,ed,V,eG,B),tb=th.allowClear,tS=th.clearIcon,tw=f.createElement(ef,{ref:eF}),tE=m()($,I,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat($,"-focused"),eX),"".concat($,"-multiple"),eD),"".concat($,"-single"),!eD),"".concat($,"-allow-clear"),eu),"".concat($,"-show-arrow"),tg),"".concat($,"-disabled"),V),"".concat($,"-loading"),A),"".concat($,"-open"),e5),"".concat($,"-customize-input"),eq),"".concat($,"-show-search"),eP)),ty=f.createElement(j,{ref:eB,disabled:V,prefixCls:$,visible:e8,popupElement:tw,animation:ep,transitionName:em,dropdownStyle:ev,dropdownClassName:eg,direction:O,dropdownMatchSelectWidth:eh,dropdownRender:eb,dropdownAlign:eS,placement:ew,builtinPlacements:eE,getPopupContainer:ey,empty:H,getTriggerDOMNode:function(e){return ej.current||e},onPopupVisibleChange:E,onPopupMouseEnter:function(){tm({})}},eU?f.cloneElement(eU,{ref:eQ}):f.createElement(z,(0,o.Z)({},e,{domRef:ej,prefixCls:$,inputElement:eq,ref:eV,id:x,showSearch:eP,autoClearSearchValue:ei,mode:B,activeDescendantId:eo,tagRender:R,values:P,open:e5,onToggleOpen:te,activeValue:et,searchValue:eG,onSearch:ti,onSearchSubmit:function(e){e&&e.trim()&&el(e,{source:"submit"})},onRemove:function(e){N(P.filter(function(t){return t!==e}),{type:"remove",values:[e]})},tokenWithEnter:tt})));return C=eU?ty:f.createElement("div",(0,o.Z)({className:tE},eN,{ref:eL,onMouseDown:function(e){var t,n=e.target,o=null===(t=eB.current)||void 0===t?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout(function(){var e,t=tf.indexOf(r);-1!==t&&tf.splice(t,1),eY(),eT||o.contains(document.activeElement)||null===(e=eV.current)||void 0===e||e.focus()});tf.push(r)}for(var i=arguments.length,l=Array(i>1?i-1:0),a=1;a=0;c-=1){var u=l[c];if(!u.disabled){l.splice(c,1),a=u;break}}a&&N(l,{type:"remove",values:[a]})}for(var s=arguments.length,d=Array(s>1?s-1:0),f=1;f1?n-1:0),r=1;r=y},[d,y,null==O?void 0:O.size]),V=function(e){e.preventDefault()},A=function(e){var t;null===(t=j.current)||void 0===t||t.scrollTo("number"==typeof e?{index:e}:e)},W=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=L.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];G(e);var n={source:t?"keyboard":"mouse"},o=L[e];if(!o){$(null,-1,n);return}$(o.value,e,n)};(0,f.useEffect)(function(){q(!1!==I?W(0):-1)},[L.length,v]);var U=f.useCallback(function(e){return O.has(e)&&"combobox"!==p},[p,(0,r.Z)(O).toString(),O.size]);(0,f.useEffect)(function(){var e,t=setTimeout(function(){if(!d&&s&&1===O.size){var e=Array.from(O)[0],t=L.findIndex(function(t){return t.data.value===e});-1!==t&&(q(t),A(t))}});return s&&(null===(e=j.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[s,v]);var Q=function(e){void 0!==e&&M(e,{selected:!O.has(e)}),d||g(!1)};if(f.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case Z.Z.N:case Z.Z.P:case Z.Z.UP:case Z.Z.DOWN:var o=0;if(t===Z.Z.UP?o=-1:t===Z.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===Z.Z.N?o=1:t===Z.Z.P&&(o=-1)),0!==o){var r=W(Y+o,o);A(r),q(r,!0)}break;case Z.Z.ENTER:var i,l=L[Y];!l||null!=l&&null!==(i=l.data)&&void 0!==i&&i.disabled||B?Q(void 0):Q(l.value),s&&e.preventDefault();break;case Z.Z.ESC:g(!1),s&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){A(e)}}}),0===L.length)return f.createElement("div",{role:"listbox",id:"".concat(u,"_list"),className:"".concat(k,"-empty"),onMouseDown:V},h);var J=Object.keys(D).map(function(e){return D[e]}),ee=function(e){return e.label};function et(e,t){return{role:e.group?"presentation":"option",id:"".concat(u,"_list_").concat(t)}}var ea=function(e){var t=L[e];if(!t)return null;var n=t.data||{},r=n.value,i=t.group,l=(0,C.Z)(n,!0),a=ee(t);return t?f.createElement("div",(0,o.Z)({"aria-label":"string"!=typeof a||i?null:a},l,{key:e},et(t,e),{"aria-selected":U(r)}),r):null},ec={role:"listbox",id:"".concat(u,"_list")};return f.createElement(f.Fragment,null,P&&f.createElement("div",(0,o.Z)({},ec,{style:{height:0,width:0,overflow:"hidden"}}),ea(Y-1),ea(Y),ea(Y+1)),f.createElement(er.Z,{itemKey:"key",ref:j,data:L,height:H,itemHeight:z,fullHeight:!1,onMouseDown:V,onScroll:S,virtual:P,direction:N,innerProps:P?null:ec},function(e,t){var n=e.group,r=e.groupOption,l=e.data,a=e.label,u=e.value,s=l.key;if(n){var d,p=null!==(d=l.title)&&void 0!==d?d:el(a)?a.toString():void 0;return f.createElement("div",{className:m()(k,"".concat(k,"-group"),l.className),title:p},void 0!==a?a:s)}var v=l.disabled,g=l.title,h=(l.children,l.style),S=l.className,w=(0,c.Z)(l,ei),E=(0,eo.Z)(w,J),y=U(u),Z=v||!y&&B,x="".concat(k,"-option"),$=m()(k,x,S,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(x,"-grouped"),r),"".concat(x,"-active"),Y===t&&!Z),"".concat(x,"-disabled"),Z),"".concat(x,"-selected"),y)),I=ee(e),M=!R||"function"==typeof R||y,O="number"==typeof I?I:I||u,D=el(O)?O.toString():void 0;return void 0!==g&&(D=g),f.createElement("div",(0,o.Z)({},(0,C.Z)(E),P?{}:et(e,t),{"aria-selected":y,className:$,title:D,onMouseMove:function(){Y===t||Z||q(t)},onClick:function(){Z||Q(u)},style:h}),f.createElement("div",{className:"".concat(x,"-content")},"function"==typeof T?T(e,{index:t}):O),f.isValidElement(R)||y,M&&f.createElement(b,{className:"".concat(k,"-option-state"),customizeIcon:R,customizeIconProps:{value:u,disabled:Z,isSelected:y}},y?"✓":null))}))}),ec=function(e,t){var n=f.useRef({values:new Map,options:new Map});return[f.useMemo(function(){var o=n.current,r=o.values,i=o.options,a=e.map(function(e){if(void 0===e.label){var t;return(0,l.Z)((0,l.Z)({},e),{},{label:null===(t=r.get(e.value))||void 0===t?void 0:t.label})}return e}),c=new Map,u=new Map;return a.forEach(function(e){c.set(e.value,e),u.set(e.value,t.get(e.value)||i.get(e.value))}),n.current.values=c,n.current.options=u,a},[e,t]),f.useCallback(function(e){return t.get(e)||n.current.options.get(e)},[t])]};function eu(e,t){return I(e).join("").toUpperCase().includes(t)}var es=n(96320),ed=n(10469),ef=["children","value"],ep=["children"];function em(e){var t=f.useRef();return t.current=e,f.useCallback(function(){return t.current.apply(t,arguments)},[])}var ev=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],eg=["inputValue"],eh=f.forwardRef(function(e,t){var n,d=e.id,p=e.mode,m=e.prefixCls,v=e.backfill,g=e.fieldNames,h=e.inputValue,b=e.searchValue,S=e.onSearch,w=e.autoClearSearchValue,E=void 0===w||w,y=e.onSelect,Z=e.onDeselect,C=e.dropdownMatchSelectWidth,x=void 0===C||C,$=e.filterOption,M=e.filterSort,R=e.optionFilterProp,O=e.optionLabelProp,D=e.options,P=e.optionRender,N=e.children,H=e.defaultActiveFirstOption,z=e.menuItemSelectedIcon,T=e.virtual,k=e.direction,L=e.listHeight,j=void 0===L?200:L,B=e.listItemHeight,F=void 0===B?20:B,_=e.labelRender,K=e.value,Y=e.defaultValue,G=e.labelInValue,Q=e.onChange,J=e.maxCount,ee=(0,c.Z)(e,ev),et=(0,es.ZP)(d),en=q(p),eo=!!(!D&&N),er=f.useMemo(function(){return(void 0!==$||"combobox"!==p)&&$},[$,p]),ei=f.useMemo(function(){return A(g,eo)},[JSON.stringify(g),eo]),el=(0,s.Z)("",{value:void 0!==b?b:h,postState:function(e){return e||""}}),eh=(0,a.Z)(el,2),eb=eh[0],eS=eh[1],ew=f.useMemo(function(){var e=D;D||(e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,ed.Z)(t).map(function(t,o){if(!f.isValidElement(t)||!t.type)return null;var r,i,a,u,s,d=t.type.isSelectOptGroup,p=t.key,m=t.props,v=m.children,g=(0,c.Z)(m,ep);return n||!d?(r=t.key,a=(i=t.props).children,u=i.value,s=(0,c.Z)(i,ef),(0,l.Z)({key:r,value:void 0!==u?u:r,children:a},s)):(0,l.Z)((0,l.Z)({key:"__RC_SELECT_GRP__".concat(null===p?o:p,"__"),label:p},g),{},{options:e(v)})}).filter(function(e){return e})}(N));var t=new Map,n=new Map,o=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(r){for(var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=0;l1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],i=A(n,!1),l=i.label,a=i.value,c=i.options,u=i.groupLabel;return!function e(t,n){Array.isArray(t)&&t.forEach(function(t){if(!n&&c in t){var i=t[u];void 0===i&&o&&(i=t.label),r.push({key:V(t,r.length),group:!0,data:t,label:i}),e(t[c],!0)}else{var s=t[a];r.push({key:V(t,r.length),groupOption:n,data:t,label:t[l],value:s})}})}(e,!1),r}(eL,{fieldNames:ei,childrenAsData:eo})},[eL,ei,eo]),eB=function(e){var t=eC(e);if(eM(t),Q&&(t.length!==eD.length||t.some(function(e,t){var n;return(null===(n=eD[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=G?t:t.map(function(e){return e.value}),o=t.map(function(e){return W(eP(e.value))});Q(en?n:n[0],en?o:o[0])}},eV=f.useState(null),eF=(0,a.Z)(eV,2),eA=eF[0],eW=eF[1],e_=f.useState(0),eX=(0,a.Z)(e_,2),eK=eX[0],eY=eX[1],eG=void 0!==H?H:"combobox"!==p,eq=f.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source;eY(t),v&&"combobox"===p&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eW(String(e))},[v,p]),eU=function(e,t,n){var o=function(){var t,n=eP(e);return[G?{label:null==n?void 0:n[ei.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,W(n)]};if(t&&y){var r=o(),i=(0,a.Z)(r,2);y(i[0],i[1])}else if(!t&&Z&&"clear"!==n){var l=o(),c=(0,a.Z)(l,2);Z(c[0],c[1])}},eQ=em(function(e,t){var n=!en||t.selected;eB(n?en?[].concat((0,r.Z)(eD),[e]):[e]:eD.filter(function(t){return t.value!==e})),eU(e,n),"combobox"===p?eW(""):(!q||E)&&(eS(""),eW(""))}),eJ=f.useMemo(function(){var e=!1!==T&&!1!==x;return(0,l.Z)((0,l.Z)({},ew),{},{flattenOptions:ej,onActiveValue:eq,defaultActiveFirstOption:eG,onSelect:eQ,menuItemSelectedIcon:z,rawValues:eH,fieldNames:ei,virtual:e,direction:k,listHeight:j,listItemHeight:F,childrenAsData:eo,maxCount:J,optionRender:P})},[J,ew,ej,eq,eG,eQ,z,eH,ei,T,x,k,j,F,eo,P]);return f.createElement(X.Provider,{value:eJ},f.createElement(U,(0,o.Z)({},ee,{id:et,prefixCls:void 0===m?"rc-select":m,ref:t,omitDomProps:eg,mode:p,displayValues:eN,onDisplayValuesChange:function(e,t){eB(e);var n=t.type,o=t.values;("remove"===n||"clear"===n)&&o.forEach(function(e){eU(e.value,!1,n)})},direction:k,searchValue:eb,onSearch:function(e,t){if(eS(e),eW(null),"submit"===t.source){var n=(e||"").trim();n&&(eB(Array.from(new Set([].concat((0,r.Z)(eH),[n])))),eU(n,!0),eS(""));return}"blur"!==t.source&&("combobox"===p&&eB(e),null==S||S(e))},autoClearSearchValue:E,onSearchSplit:function(e){var t=e;"tags"!==p&&(t=e.map(function(e){var t=ey.get(e);return null==t?void 0:t.value}).filter(function(e){return void 0!==e}));var n=Array.from(new Set([].concat((0,r.Z)(eH),(0,r.Z)(t))));eB(n),n.forEach(function(e){eU(e,!0)})},dropdownMatchSelectWidth:x,OptionList:ea,emptyOptions:!ej.length,activeValue:eA,activeDescendantId:"".concat(et,"_list_").concat(eK)})))});eh.Option=et,eh.OptGroup=J;var eb=eh},13614:function(e,t,n){n.d(t,{Z:function(){return N}});var o=n(42096),r=n(14433),i=n(4247),l=n(65148),a=n(65347),c=n(10921),u=n(26869),s=n.n(u),d=n(31617),f=n(81581),p=n(46644),m=n(38497),v=n(2060),g=m.forwardRef(function(e,t){var n=e.height,r=e.offsetY,a=e.offsetX,c=e.children,u=e.prefixCls,f=e.onInnerResize,p=e.innerProps,v=e.rtl,g=e.extra,h={},b={display:"flex",flexDirection:"column"};return void 0!==r&&(h={height:n,position:"relative",overflow:"hidden"},b=(0,i.Z)((0,i.Z)({},b),{},(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({transform:"translateY(".concat(r,"px)")},v?"marginRight":"marginLeft",-a),"position","absolute"),"left",0),"right",0),"top",0))),m.createElement("div",{style:h},m.createElement(d.Z,{onResize:function(e){e.offsetHeight&&f&&f()}},m.createElement("div",(0,o.Z)({style:b,className:s()((0,l.Z)({},"".concat(u,"-holder-inner"),u)),ref:t},p),c,g)))});function h(e){var t=e.children,n=e.setRef,o=m.useCallback(function(e){n(e)},[]);return m.cloneElement(t,{ref:o})}g.displayName="Filler";var b=n(25043),S=("undefined"==typeof navigator?"undefined":(0,r.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),w=function(e,t,n,o){var r=(0,m.useRef)(!1),i=(0,m.useRef)(null),l=(0,m.useRef)({top:e,bottom:t,left:n,right:o});return l.current.top=e,l.current.bottom=t,l.current.left=n,l.current.right=o,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e?t<0&&l.current.left||t>0&&l.current.right:t<0&&l.current.top||t>0&&l.current.bottom;return n&&o?(clearTimeout(i.current),r.current=!1):(!o||r.current)&&(clearTimeout(i.current),r.current=!0,i.current=setTimeout(function(){r.current=!1},50)),!r.current&&o}},E=n(42502),y=n(97290),Z=n(80972),C=function(){function e(){(0,y.Z)(this,e),(0,l.Z)(this,"maps",void 0),(0,l.Z)(this,"id",0),this.maps=Object.create(null)}return(0,Z.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),x=14/15;function $(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}var I=m.forwardRef(function(e,t){var n=e.prefixCls,o=e.rtl,r=e.scrollOffset,c=e.scrollRange,u=e.onStartMove,d=e.onStopMove,f=e.onScroll,p=e.horizontal,v=e.spinSize,g=e.containerSize,h=e.style,S=e.thumbStyle,w=m.useState(!1),E=(0,a.Z)(w,2),y=E[0],Z=E[1],C=m.useState(null),x=(0,a.Z)(C,2),I=x[0],M=x[1],R=m.useState(null),O=(0,a.Z)(R,2),D=O[0],P=O[1],N=!o,H=m.useRef(),z=m.useRef(),T=m.useState(!1),k=(0,a.Z)(T,2),L=k[0],j=k[1],B=m.useRef(),V=function(){clearTimeout(B.current),j(!0),B.current=setTimeout(function(){j(!1)},3e3)},F=c-g||0,A=g-v||0,W=m.useMemo(function(){return 0===r||0===F?0:r/F*A},[r,F,A]),_=m.useRef({top:W,dragging:y,pageY:I,startTop:D});_.current={top:W,dragging:y,pageY:I,startTop:D};var X=function(e){Z(!0),M($(e,p)),P(_.current.top),u(),e.stopPropagation(),e.preventDefault()};m.useEffect(function(){var e=function(e){e.preventDefault()},t=H.current,n=z.current;return t.addEventListener("touchstart",e,{passive:!1}),n.addEventListener("touchstart",X,{passive:!1}),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",X)}},[]);var K=m.useRef();K.current=F;var Y=m.useRef();Y.current=A,m.useEffect(function(){if(y){var e,t=function(t){var n=_.current,o=n.dragging,r=n.pageY,i=n.startTop;b.Z.cancel(e);var l=H.current.getBoundingClientRect(),a=g/(p?l.width:l.height);if(o){var c=($(t,p)-r)*a,u=i;!N&&p?u-=c:u+=c;var s=K.current,d=Y.current,m=Math.ceil((d?u/d:0)*s);m=Math.min(m=Math.max(m,0),s),e=(0,b.Z)(function(){f(m,p)})}},n=function(){Z(!1),d()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",n,{passive:!0}),window.addEventListener("touchend",n,{passive:!0}),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),b.Z.cancel(e)}}},[y]),m.useEffect(function(){return V(),function(){clearTimeout(B.current)}},[r]),m.useImperativeHandle(t,function(){return{delayHidden:V}});var G="".concat(n,"-scrollbar"),q={position:"absolute",visibility:L?null:"hidden"},U={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return p?(q.height=8,q.left=0,q.right=0,q.bottom=0,U.height="100%",U.width=v,N?U.left=W:U.right=W):(q.width=8,q.top=0,q.bottom=0,N?q.right=0:q.left=0,U.width="100%",U.height=v,U.top=W),m.createElement("div",{ref:H,className:s()(G,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(G,"-horizontal"),p),"".concat(G,"-vertical"),!p),"".concat(G,"-visible"),L)),style:(0,i.Z)((0,i.Z)({},q),h),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:V},m.createElement("div",{ref:z,className:s()("".concat(G,"-thumb"),(0,l.Z)({},"".concat(G,"-thumb-moving"),y)),style:(0,i.Z)((0,i.Z)({},U),S),onMouseDown:X}))});function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),Math.floor(n=Math.max(n,20))}var R=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],O=[],D={overflowY:"auto",overflowAnchor:"none"},P=m.forwardRef(function(e,t){var n,u,y,Z,$,P,N,H,z,T,k,L,j,B,V,F,A,W,_,X,K,Y,G,q,U,Q,J,ee,et,en,eo,er,ei,el,ea,ec,eu=e.prefixCls,es=void 0===eu?"rc-virtual-list":eu,ed=e.className,ef=e.height,ep=e.itemHeight,em=e.fullHeight,ev=e.style,eg=e.data,eh=e.children,eb=e.itemKey,eS=e.virtual,ew=e.direction,eE=e.scrollWidth,ey=e.component,eZ=void 0===ey?"div":ey,eC=e.onScroll,ex=e.onVirtualScroll,e$=e.onVisibleChange,eI=e.innerProps,eM=e.extraRender,eR=e.styles,eO=(0,c.Z)(e,R),eD=m.useCallback(function(e){return"function"==typeof eb?eb(e):null==e?void 0:e[eb]},[eb]),eP=function(e,t,n){var o=m.useState(0),r=(0,a.Z)(o,2),i=r[0],l=r[1],c=(0,m.useRef)(new Map),u=(0,m.useRef)(new C),s=(0,m.useRef)();function d(){b.Z.cancel(s.current)}function f(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d();var t=function(){c.current.forEach(function(e,t){if(e&&e.offsetParent){var n=(0,E.ZP)(e),o=n.offsetHeight;u.current.get(t)!==o&&u.current.set(t,n.offsetHeight)}}),l(function(e){return e+1})};e?t():s.current=(0,b.Z)(t)}return(0,m.useEffect)(function(){return d},[]),[function(o,r){var i=e(o),l=c.current.get(i);r?(c.current.set(i,r),f()):c.current.delete(i),!l!=!r&&(r?null==t||t(o):null==n||n(o))},f,u.current,i]}(eD,null,null),eN=(0,a.Z)(eP,4),eH=eN[0],ez=eN[1],eT=eN[2],ek=eN[3],eL=!!(!1!==eS&&ef&&ep),ej=m.useMemo(function(){return Object.values(eT.maps).reduce(function(e,t){return e+t},0)},[eT.id,eT.maps]),eB=eL&&eg&&(Math.max(ep*eg.length,ej)>ef||!!eE),eV="rtl"===ew,eF=s()(es,(0,l.Z)({},"".concat(es,"-rtl"),eV),ed),eA=eg||O,eW=(0,m.useRef)(),e_=(0,m.useRef)(),eX=(0,m.useRef)(),eK=(0,m.useState)(0),eY=(0,a.Z)(eK,2),eG=eY[0],eq=eY[1],eU=(0,m.useState)(0),eQ=(0,a.Z)(eU,2),eJ=eQ[0],e0=eQ[1],e1=(0,m.useState)(!1),e2=(0,a.Z)(e1,2),e4=e2[0],e6=e2[1],e9=function(){e6(!0)},e3=function(){e6(!1)};function e5(e){eq(function(t){var n,o=(n="function"==typeof e?e(t):e,Number.isNaN(tg.current)||(n=Math.min(n,tg.current)),n=Math.max(n,0));return eW.current.scrollTop=o,o})}var e7=(0,m.useRef)({start:0,end:eA.length}),e8=(0,m.useRef)(),te=(u=m.useState(eA),Z=(y=(0,a.Z)(u,2))[0],$=y[1],P=m.useState(null),H=(N=(0,a.Z)(P,2))[0],z=N[1],m.useEffect(function(){var e=function(e,t,n){var o,r,i=e.length,l=t.length;if(0===i&&0===l)return null;i=eG&&void 0===t&&(t=l,n=r),u>eG+ef&&void 0===o&&(o=l),r=u}return void 0===t&&(t=0,n=0,o=Math.ceil(ef/ep)),void 0===o&&(o=eA.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,eA.length-1),offset:n}},[eB,eL,eG,eA,ek,ef]),to=tn.scrollHeight,tr=tn.start,ti=tn.end,tl=tn.offset;e7.current.start=tr,e7.current.end=ti;var ta=m.useState({width:0,height:ef}),tc=(0,a.Z)(ta,2),tu=tc[0],ts=tc[1],td=(0,m.useRef)(),tf=(0,m.useRef)(),tp=m.useMemo(function(){return M(tu.width,eE)},[tu.width,eE]),tm=m.useMemo(function(){return M(tu.height,to)},[tu.height,to]),tv=to-ef,tg=(0,m.useRef)(tv);tg.current=tv;var th=eG<=0,tb=eG>=tv,tS=eJ<=0,tw=eJ>=eE,tE=w(th,tb,tS,tw),ty=function(){return{x:eV?-eJ:eJ,y:eG}},tZ=(0,m.useRef)(ty()),tC=(0,f.zX)(function(e){if(ex){var t=(0,i.Z)((0,i.Z)({},ty()),e);(tZ.current.x!==t.x||tZ.current.y!==t.y)&&(ex(t),tZ.current=t)}});function tx(e,t){t?((0,v.flushSync)(function(){e0(e)}),tC()):e5(e)}var t$=function(e){var t=e,n=eE?eE-tu.width:0;return Math.min(t=Math.max(t,0),n)},tI=(0,f.zX)(function(e,t){t?((0,v.flushSync)(function(){e0(function(t){return t$(t+(eV?-e:e))})}),tC()):e5(function(t){return t+e})}),tM=(T=!!eE,k=(0,m.useRef)(0),L=(0,m.useRef)(null),j=(0,m.useRef)(null),B=(0,m.useRef)(!1),V=w(th,tb,tS,tw),F=(0,m.useRef)(null),A=(0,m.useRef)(null),[function(e){if(eL){b.Z.cancel(A.current),A.current=(0,b.Z)(function(){F.current=null},2);var t,n=e.deltaX,o=e.deltaY,r=e.shiftKey,i=n,l=o;("sx"===F.current||!F.current&&r&&o&&!n)&&(i=o,l=0,F.current="sx");var a=Math.abs(i),c=Math.abs(l);(null===F.current&&(F.current=T&&a>c?"x":"y"),"y"===F.current)?(t=l,b.Z.cancel(L.current),k.current+=t,j.current=t,V(!1,t)||(S||e.preventDefault(),L.current=(0,b.Z)(function(){var e=B.current?10:1;tI(k.current*e),k.current=0}))):(tI(i,!0),S||e.preventDefault())}},function(e){eL&&(B.current=e.detail===j.current)}]),tR=(0,a.Z)(tM,2),tO=tR[0],tD=tR[1];W=function(e,t,n){return!tE(e,t,n)&&(tO({preventDefault:function(){},deltaX:e?t:0,deltaY:e?0:t}),!0)},X=(0,m.useRef)(!1),K=(0,m.useRef)(0),Y=(0,m.useRef)(0),G=(0,m.useRef)(null),q=(0,m.useRef)(null),U=function(e){if(X.current){var t=Math.ceil(e.touches[0].pageX),n=Math.ceil(e.touches[0].pageY),o=K.current-t,r=Y.current-n,i=Math.abs(o)>Math.abs(r);i?K.current=t:Y.current=n,W(i,i?o:r)&&e.preventDefault(),clearInterval(q.current),q.current=setInterval(function(){i?o*=x:r*=x;var e=Math.floor(i?o:r);(!W(i,e,!0)||.1>=Math.abs(e))&&clearInterval(q.current)},16)}},Q=function(){X.current=!1,_()},J=function(e){_(),1!==e.touches.length||X.current||(X.current=!0,K.current=Math.ceil(e.touches[0].pageX),Y.current=Math.ceil(e.touches[0].pageY),G.current=e.target,G.current.addEventListener("touchmove",U,{passive:!1}),G.current.addEventListener("touchend",Q,{passive:!0}))},_=function(){G.current&&(G.current.removeEventListener("touchmove",U),G.current.removeEventListener("touchend",Q))},(0,p.Z)(function(){return eL&&eW.current.addEventListener("touchstart",J,{passive:!0}),function(){var e;null===(e=eW.current)||void 0===e||e.removeEventListener("touchstart",J),_(),clearInterval(q.current)}},[eL]),(0,p.Z)(function(){function e(e){eL&&e.preventDefault()}var t=eW.current;return t.addEventListener("wheel",tO,{passive:!1}),t.addEventListener("DOMMouseScroll",tD,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){t.removeEventListener("wheel",tO),t.removeEventListener("DOMMouseScroll",tD),t.removeEventListener("MozMousePixelScroll",e)}},[eL]),(0,p.Z)(function(){if(eE){var e=t$(eJ);e0(e),tC({x:e})}},[tu.width,eE]);var tP=function(){var e,t;null===(e=td.current)||void 0===e||e.delayHidden(),null===(t=tf.current)||void 0===t||t.delayHidden()},tN=(ee=m.useRef(),et=m.useState(null),eo=(en=(0,a.Z)(et,2))[0],er=en[1],(0,p.Z)(function(){if(eo&&eo.times<10){if(!eW.current){er(function(e){return(0,i.Z)({},e)});return}ez(!0);var e=eo.targetAlign,t=eo.originAlign,n=eo.index,o=eo.offset,r=eW.current.clientHeight,l=!1,a=e,c=null;if(r){for(var u=e||t,s=0,d=0,f=0,p=Math.min(eA.length-1,n),m=0;m<=p;m+=1){var v=eD(eA[m]);d=s;var g=eT.get(v);s=f=d+(void 0===g?ep:g)}for(var h="top"===u?o:r-o,b=p;b>=0;b-=1){var S=eD(eA[b]),w=eT.get(S);if(void 0===w){l=!0;break}if((h-=w)<=0)break}switch(u){case"top":c=d-o;break;case"bottom":c=f-r+o;break;default:var E=eW.current.scrollTop;dE+r&&(a="bottom")}null!==c&&e5(c),c!==eo.lastTop&&(l=!0)}l&&er((0,i.Z)((0,i.Z)({},eo),{},{times:eo.times+1,targetAlign:a,lastTop:c}))}},[eo,eW.current]),function(e){if(null==e){tP();return}if(b.Z.cancel(ee.current),"number"==typeof e)e5(e);else if(e&&"object"===(0,r.Z)(e)){var t,n=e.align;t="index"in e?e.index:eA.findIndex(function(t){return eD(t)===e.key});var o=e.offset;er({times:0,index:t,offset:void 0===o?0:o,originAlign:n})}});m.useImperativeHandle(t,function(){return{nativeElement:eX.current,getScrollInfo:ty,scrollTo:function(e){e&&"object"===(0,r.Z)(e)&&("left"in e||"top"in e)?(void 0!==e.left&&e0(t$(e.left)),tN(e.top)):tN(e)}}}),(0,p.Z)(function(){e$&&e$(eA.slice(tr,ti+1),eA)},[tr,ti,eA]);var tH=(ei=m.useMemo(function(){return[new Map,[]]},[eA,eT.id,ep]),ea=(el=(0,a.Z)(ei,2))[0],ec=el[1],function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=ea.get(e),o=ea.get(t);if(void 0===n||void 0===o)for(var r=eA.length,i=ec.length;ief&&m.createElement(I,{ref:td,prefixCls:es,scrollOffset:eG,scrollRange:to,rtl:eV,onScroll:tx,onStartMove:e9,onStopMove:e3,spinSize:tm,containerSize:tu.height,style:null==eR?void 0:eR.verticalScrollBar,thumbStyle:null==eR?void 0:eR.verticalScrollBarThumb}),eB&&eE>tu.width&&m.createElement(I,{ref:tf,prefixCls:es,scrollOffset:eJ,scrollRange:eE,rtl:eV,onScroll:tx,onStartMove:e9,onStopMove:e3,spinSize:tp,containerSize:tu.width,horizontal:!0,style:null==eR?void 0:eR.horizontalScrollBar,thumbStyle:null==eR?void 0:eR.horizontalScrollBarThumb}))});P.displayName="List";var N=P}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9074-809b82debb6527af.js b/dbgpt/app/static/web/_next/static/chunks/9074-809b82debb6527af.js new file mode 100644 index 000000000..fb702d3e0 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9074-809b82debb6527af.js @@ -0,0 +1,10 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9074,7343,9788,1708,9383,100,9305,2117],{96890:function(e,t,n){n.d(t,{Z:function(){return d}});var i=n(42096),o=n(10921),r=n(38497),a=n(42834),l=["type","children"],c=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e[t];if("string"==typeof n&&n.length&&!c.has(n)){var i=document.createElement("script");i.setAttribute("src",n),i.setAttribute("data-namespace",n),e.length>t+1&&(i.onload=function(){s(e,t+1)},i.onerror=function(){s(e,t+1)}),c.add(n),document.body.appendChild(i)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,c=void 0===n?{}:n;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var d=r.forwardRef(function(e,t){var n=e.type,s=e.children,d=(0,o.Z)(e,l),u=null;return e.type&&(u=r.createElement("use",{xlinkHref:"#".concat(n)})),s&&(u=s),r.createElement(a.Z,(0,i.Z)({},c,d,{ref:t}),u)});return d.displayName="Iconfont",d}},57668:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 244c176.18 0 319 142.82 319 319v233a32 32 0 01-32 32H225a32 32 0 01-32-32V563c0-176.18 142.82-319 319-319zM484 68h56a8 8 0 018 8v96a8 8 0 01-8 8h-56a8 8 0 01-8-8V76a8 8 0 018-8zM177.25 191.66a8 8 0 0111.32 0l67.88 67.88a8 8 0 010 11.31l-39.6 39.6a8 8 0 01-11.31 0l-67.88-67.88a8 8 0 010-11.31l39.6-39.6zm669.6 0l39.6 39.6a8 8 0 010 11.3l-67.88 67.9a8 8 0 01-11.32 0l-39.6-39.6a8 8 0 010-11.32l67.89-67.88a8 8 0 0111.31 0zM192 892h640a32 32 0 0132 32v24a8 8 0 01-8 8H168a8 8 0 01-8-8v-24a32 32 0 0132-32zm148-317v253h64V575h-64z"}}]},name:"alert",theme:"filled"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},32594:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},67620:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},28062:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},98028:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},79092:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"file-search",theme:"outlined"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},32373:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM320 482a8 8 0 00-8 8v48a8 8 0 008 8h384a8 8 0 008-8v-48a8 8 0 00-8-8H320zm0 136a8 8 0 00-8 8v48a8 8 0 008 8h184a8 8 0 008-8v-48a8 8 0 00-8-8H320z"}}]},name:"file-text",theme:"filled"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},34934:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm101.3 129.3c1.3-5.4 6.1-9.3 11.7-9.3h35.6a12.04 12.04 0 0111.6 15.1l-74.4 276c-1.4 5.3-6.2 8.9-11.6 8.9h-31.8c-5.4 0-10.2-3.7-11.6-8.9l-52.8-197-52.8 197c-1.4 5.3-6.2 8.9-11.6 8.9h-32c-5.4 0-10.2-3.7-11.6-8.9l-74.2-276a12.02 12.02 0 0111.6-15.1h35.4c5.6 0 10.4 3.9 11.7 9.3L434.6 680l49.7-198.9c1.3-5.4 6.1-9.1 11.6-9.1h32.2c5.5 0 10.3 3.7 11.6 9.1l49.8 199.3 45.8-199.1z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M528.1 472h-32.2c-5.5 0-10.3 3.7-11.6 9.1L434.6 680l-46.1-198.7c-1.3-5.4-6.1-9.3-11.7-9.3h-35.4a12.02 12.02 0 00-11.6 15.1l74.2 276c1.4 5.2 6.2 8.9 11.6 8.9h32c5.4 0 10.2-3.6 11.6-8.9l52.8-197 52.8 197c1.4 5.2 6.2 8.9 11.6 8.9h31.8c5.4 0 10.2-3.6 11.6-8.9l74.4-276a12.04 12.04 0 00-11.6-15.1H647c-5.6 0-10.4 3.9-11.7 9.3l-45.8 199.1-49.8-199.3c-1.3-5.4-6.1-9.1-11.6-9.1z",fill:e}}]}},name:"file-word",theme:"twotone"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},71534:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},42746:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M693.6 284.4c-24 0-51.1 11.7-72.6 22 46.3 18 86 57.3 112.3 99.6 7.1-18.9 14.6-47.9 14.6-67.9 0-32-22.8-53.7-54.3-53.7zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm253.9 492.9H437.1c0 100.4 144.3 136 196.8 47.4h120.8c-32.6 91.7-119.7 146-216.8 146-35.1 0-70.3-.1-101.7-15.6-87.4 44.5-180.3 56.6-180.3-42 0-45.8 23.2-107.1 44-145C335 484 381.3 422.8 435.6 374.5c-43.7 18.9-91.1 66.3-122 101.2 25.9-112.8 129.5-193.6 237.1-186.5 130-59.8 209.7-34.1 209.7 38.6 0 27.4-10.6 63.3-21.4 87.9 25.2 45.5 33.3 97.6 26.9 141.2zM540.5 399.1c-53.7 0-102 39.7-104 94.9h208c-2-55.1-50.6-94.9-104-94.9zM320.6 602.9c-73 152.4 11.5 172.2 100.3 123.3-46.6-27.5-82.6-72.2-100.3-123.3z"}}]},name:"ie-circle",theme:"filled"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},62938:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},3936:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},1858:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},72828:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},31676:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},32857:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},67144:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M865.3 244.7c-.3-.3-61.1 59.8-182.1 180.6l-84.9-84.9 180.9-180.9c-95.2-57.3-217.5-42.6-296.8 36.7A244.42 244.42 0 00419 432l1.8 6.7-283.5 283.4c-6.2 6.2-6.2 16.4 0 22.6l141.4 141.4c6.2 6.2 16.4 6.2 22.6 0l283.3-283.3 6.7 1.8c83.7 22.3 173.6-.9 236-63.3 79.4-79.3 94.1-201.6 38-296.6z"}}]},name:"tool",theme:"filled"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},35732:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},6618:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(42096),o=n(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.9-8.1-195-3-195-3s87.4 55.6 52.4 154.7c-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6z"}}]},name:"yuque",theme:"filled"},a=n(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},67343:function(e,t,n){n.d(t,{Z:function(){return Z}});var i=n(38497),o=n(26869),r=n.n(o),a=n(55598),l=n(63346),c=n(82014),s=n(64009),d=n(5996),u=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n},m=e=>{var{prefixCls:t,className:n,hoverable:o=!0}=e,a=u(e,["prefixCls","className","hoverable"]);let{getPrefixCls:c}=i.useContext(l.E_),s=c("card",t),d=r()(`${s}-grid`,n,{[`${s}-grid-hoverable`]:o});return i.createElement("div",Object.assign({},a,{className:d}))},g=n(38083),f=n(60848),h=n(90102),p=n(74934);let b=e=>{let{antCls:t,componentCls:n,headerHeight:i,cardPaddingBase:o,tabsMarginBottom:r}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:i,marginBottom:-1,padding:`0 ${(0,g.bf)(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,g.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,g.bf)(e.borderRadiusLG)} ${(0,g.bf)(e.borderRadiusLG)} 0 0`},(0,f.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},f.vS),{[` + > ${n}-typography, + > ${n}-typography-edit-content + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:r,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,g.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},$=e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:i,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` + ${(0,g.bf)(o)} 0 0 0 ${n}, + 0 ${(0,g.bf)(o)} 0 0 ${n}, + ${(0,g.bf)(o)} ${(0,g.bf)(o)} 0 0 ${n}, + ${(0,g.bf)(o)} 0 0 0 ${n} inset, + 0 ${(0,g.bf)(o)} 0 0 ${n} inset; + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:i}}},v=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:i,cardActionsIconSize:o,colorBorderSecondary:r,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${(0,g.bf)(e.lineWidth)} ${e.lineType} ${r}`,display:"flex",borderRadius:`0 0 ${(0,g.bf)(e.borderRadiusLG)} ${(0,g.bf)(e.borderRadiusLG)}`},(0,f.dF)()),{"& > li":{margin:i,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,g.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:(0,g.bf)(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,g.bf)(e.lineWidth)} ${e.lineType} ${r}`}}})},S=e=>Object.assign(Object.assign({margin:`${(0,g.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,f.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},f.vS),"&-description":{color:e.colorTextDescription}}),y=e=>{let{componentCls:t,cardPaddingBase:n,colorFillAlter:i}=e;return{[`${t}-head`]:{padding:`0 ${(0,g.bf)(n)}`,background:i,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,g.bf)(e.padding)} ${(0,g.bf)(n)}`}}},w=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},C=e=>{let{componentCls:t,cardShadow:n,cardHeadPadding:i,colorBorderSecondary:o,boxShadowTertiary:r,cardPaddingBase:a,extraColor:l}=e;return{[t]:Object.assign(Object.assign({},(0,f.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:r},[`${t}-head`]:b(e),[`${t}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:a,borderRadius:`0 0 ${(0,g.bf)(e.borderRadiusLG)} ${(0,g.bf)(e.borderRadiusLG)}`},(0,f.dF)()),[`${t}-grid`]:$(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,g.bf)(e.borderRadiusLG)} ${(0,g.bf)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:v(e),[`${t}-meta`]:S(e)}),[`${t}-bordered`]:{border:`${(0,g.bf)(e.lineWidth)} ${e.lineType} ${o}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${(0,g.bf)(e.borderRadiusLG)} ${(0,g.bf)(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:i}}},[`${t}-type-inner`]:y(e),[`${t}-loading`]:w(e),[`${t}-rtl`]:{direction:"rtl"}}},x=e=>{let{componentCls:t,cardPaddingSM:n,headerHeightSM:i,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:i,padding:`0 ${(0,g.bf)(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}};var z=(0,h.I$)("Card",e=>{let t=(0,p.IX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[C(t),x(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),I=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};let O=e=>{let{actionClasses:t,actions:n=[],actionStyle:o}=e;return i.createElement("ul",{className:t,style:o},n.map((e,t)=>{let o=`action-${t}`;return i.createElement("li",{style:{width:`${100/n.length}%`},key:o},i.createElement("span",null,e))}))},E=i.forwardRef((e,t)=>{let n;let{prefixCls:o,className:u,rootClassName:g,style:f,extra:h,headStyle:p={},bodyStyle:b={},title:$,loading:v,bordered:S=!0,size:y,type:w,cover:C,actions:x,tabList:E,children:H,activeTabKey:Z,defaultActiveTabKey:k,tabBarExtraContent:j,hoverable:M,tabProps:T={},classNames:B,styles:N}=e,q=I(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:R,direction:W,card:L}=i.useContext(l.E_),P=e=>{var t;return r()(null===(t=null==L?void 0:L.classNames)||void 0===t?void 0:t[e],null==B?void 0:B[e])},V=e=>{var t;return Object.assign(Object.assign({},null===(t=null==L?void 0:L.styles)||void 0===t?void 0:t[e]),null==N?void 0:N[e])},D=i.useMemo(()=>{let e=!1;return i.Children.forEach(H,t=>{(null==t?void 0:t.type)===m&&(e=!0)}),e},[H]),X=R("card",o),[A,G,F]=z(X),_=i.createElement(s.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},H),K=void 0!==Z,Y=Object.assign(Object.assign({},T),{[K?"activeKey":"defaultActiveKey"]:K?Z:k,tabBarExtraContent:j}),U=(0,c.Z)(y),Q=E?i.createElement(d.Z,Object.assign({size:U&&"default"!==U?U:"large"},Y,{className:`${X}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:E.map(e=>{var{tab:t}=e;return Object.assign({label:t},I(e,["tab"]))})})):null;if($||h||Q){let e=r()(`${X}-head`,P("header")),t=r()(`${X}-head-title`,P("title")),o=r()(`${X}-extra`,P("extra")),a=Object.assign(Object.assign({},p),V("header"));n=i.createElement("div",{className:e,style:a},i.createElement("div",{className:`${X}-head-wrapper`},$&&i.createElement("div",{className:t,style:V("title")},$),h&&i.createElement("div",{className:o,style:V("extra")},h)),Q)}let J=r()(`${X}-cover`,P("cover")),ee=C?i.createElement("div",{className:J,style:V("cover")},C):null,et=r()(`${X}-body`,P("body")),en=Object.assign(Object.assign({},b),V("body")),ei=i.createElement("div",{className:et,style:en},v?_:H),eo=r()(`${X}-actions`,P("actions")),er=(null==x?void 0:x.length)?i.createElement(O,{actionClasses:eo,actionStyle:V("actions"),actions:x}):null,ea=(0,a.Z)(q,["onTabChange"]),el=r()(X,null==L?void 0:L.className,{[`${X}-loading`]:v,[`${X}-bordered`]:S,[`${X}-hoverable`]:M,[`${X}-contain-grid`]:D,[`${X}-contain-tabs`]:null==E?void 0:E.length,[`${X}-${U}`]:U,[`${X}-type-${w}`]:!!w,[`${X}-rtl`]:"rtl"===W},u,g,G,F),ec=Object.assign(Object.assign({},null==L?void 0:L.style),f);return A(i.createElement("div",Object.assign({ref:t},ea,{className:el,style:ec}),n,ee,ei,er))});var H=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};E.Grid=m,E.Meta=e=>{let{prefixCls:t,className:n,avatar:o,title:a,description:c}=e,s=H(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:d}=i.useContext(l.E_),u=d("card",t),m=r()(`${u}-meta`,n),g=o?i.createElement("div",{className:`${u}-meta-avatar`},o):null,f=a?i.createElement("div",{className:`${u}-meta-title`},a):null,h=c?i.createElement("div",{className:`${u}-meta-description`},c):null,p=f||h?i.createElement("div",{className:`${u}-meta-detail`},f,h):null;return i.createElement("div",Object.assign({},s,{className:m}),g,p)};var Z=E},99030:function(e,t,n){n.d(t,{Z:function(){return A}});var i=n(38497),o=n(69274),r=n(84223),a=n(26869),l=n.n(a),c=n(42096),s=n(4247),d=n(65148),u=n(10921),m=n(16956),g=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function f(e){return"string"==typeof e}var h=function(e){var t,n,o,r,a,h=e.className,p=e.prefixCls,b=e.style,$=e.active,v=e.status,S=e.iconPrefix,y=e.icon,w=(e.wrapperStyle,e.stepNumber),C=e.disabled,x=e.description,z=e.title,I=e.subTitle,O=e.progressDot,E=e.stepIcon,H=e.tailContent,Z=e.icons,k=e.stepIndex,j=e.onStepClick,M=e.onClick,T=e.render,B=(0,u.Z)(e,g),N={};j&&!C&&(N.role="button",N.tabIndex=0,N.onClick=function(e){null==M||M(e),j(k)},N.onKeyDown=function(e){var t=e.which;(t===m.Z.ENTER||t===m.Z.SPACE)&&j(k)});var q=v||"wait",R=l()("".concat(p,"-item"),"".concat(p,"-item-").concat(q),h,(a={},(0,d.Z)(a,"".concat(p,"-item-custom"),y),(0,d.Z)(a,"".concat(p,"-item-active"),$),(0,d.Z)(a,"".concat(p,"-item-disabled"),!0===C),a)),W=(0,s.Z)({},b),L=i.createElement("div",(0,c.Z)({},B,{className:R,style:W}),i.createElement("div",(0,c.Z)({onClick:M},N,{className:"".concat(p,"-item-container")}),i.createElement("div",{className:"".concat(p,"-item-tail")},H),i.createElement("div",{className:"".concat(p,"-item-icon")},(o=l()("".concat(p,"-icon"),"".concat(S,"icon"),(t={},(0,d.Z)(t,"".concat(S,"icon-").concat(y),y&&f(y)),(0,d.Z)(t,"".concat(S,"icon-check"),!y&&"finish"===v&&(Z&&!Z.finish||!Z)),(0,d.Z)(t,"".concat(S,"icon-cross"),!y&&"error"===v&&(Z&&!Z.error||!Z)),t)),r=i.createElement("span",{className:"".concat(p,"-icon-dot")}),n=O?"function"==typeof O?i.createElement("span",{className:"".concat(p,"-icon")},O(r,{index:w-1,status:v,title:z,description:x})):i.createElement("span",{className:"".concat(p,"-icon")},r):y&&!f(y)?i.createElement("span",{className:"".concat(p,"-icon")},y):Z&&Z.finish&&"finish"===v?i.createElement("span",{className:"".concat(p,"-icon")},Z.finish):Z&&Z.error&&"error"===v?i.createElement("span",{className:"".concat(p,"-icon")},Z.error):y||"finish"===v||"error"===v?i.createElement("span",{className:o}):i.createElement("span",{className:"".concat(p,"-icon")},w),E&&(n=E({index:w-1,status:v,title:z,description:x,node:n})),n)),i.createElement("div",{className:"".concat(p,"-item-content")},i.createElement("div",{className:"".concat(p,"-item-title")},z,I&&i.createElement("div",{title:"string"==typeof I?I:void 0,className:"".concat(p,"-item-subtitle")},I)),x&&i.createElement("div",{className:"".concat(p,"-item-description")},x))));return T&&(L=T(L)||null),L},p=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function b(e){var t,n=e.prefixCls,o=void 0===n?"rc-steps":n,r=e.style,a=void 0===r?{}:r,m=e.className,g=(e.children,e.direction),f=e.type,b=void 0===f?"default":f,$=e.labelPlacement,v=e.iconPrefix,S=void 0===v?"rc":v,y=e.status,w=void 0===y?"process":y,C=e.size,x=e.current,z=void 0===x?0:x,I=e.progressDot,O=e.stepIcon,E=e.initial,H=void 0===E?0:E,Z=e.icons,k=e.onChange,j=e.itemRender,M=e.items,T=(0,u.Z)(e,p),B="inline"===b,N=B||void 0!==I&&I,q=B?"horizontal":void 0===g?"horizontal":g,R=B?void 0:C,W=N?"vertical":void 0===$?"horizontal":$,L=l()(o,"".concat(o,"-").concat(q),m,(t={},(0,d.Z)(t,"".concat(o,"-").concat(R),R),(0,d.Z)(t,"".concat(o,"-label-").concat(W),"horizontal"===q),(0,d.Z)(t,"".concat(o,"-dot"),!!N),(0,d.Z)(t,"".concat(o,"-navigation"),"navigation"===b),(0,d.Z)(t,"".concat(o,"-inline"),B),t)),P=function(e){k&&z!==e&&k(e)};return i.createElement("div",(0,c.Z)({className:L,style:a},T),(void 0===M?[]:M).filter(function(e){return e}).map(function(e,t){var n=(0,s.Z)({},e),r=H+t;return"error"===w&&t===z-1&&(n.className="".concat(o,"-next-error")),n.status||(r===z?n.status=w:r{let{componentCls:t,customIconTop:n,customIconSize:i,customIconFontSize:o}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:i,height:i,fontSize:o,lineHeight:(0,C.bf)(i)}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},E=e=>{let{componentCls:t}=e,n=`${t}-item`;return{[`${t}-horizontal`]:{[`${n}-tail`]:{transform:"translateY(-50%)"}}}},H=e=>{let{componentCls:t,inlineDotSize:n,inlineTitleColor:i,inlineTailColor:o}=e,r=e.calc(e.paddingXS).add(e.lineWidth).equal(),a={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:i}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${(0,C.bf)(r)} ${(0,C.bf)(e.paddingXXS)} 0`,margin:`0 ${(0,C.bf)(e.calc(e.marginXXS).div(2).equal())}`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${(0,C.bf)(e.calc(n).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:i,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(n).div(2).add(r).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${(0,C.bf)(e.lineWidth)} ${e.lineType} ${o}`}},a),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:o},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:o,border:`${(0,C.bf)(e.lineWidth)} ${e.lineType} ${o}`}},a),"&-error":a,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${(0,C.bf)(e.calc(n).div(2).equal())})`,top:0}},a),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:i}}}}}},Z=e=>{let{componentCls:t,iconSize:n,lineHeight:i,iconSizeSM:o}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(n).div(2).add(e.controlHeightLG).equal(),padding:`0 ${(0,C.bf)(e.paddingLG)}`},"&-content":{display:"block",width:e.calc(n).div(2).add(e.controlHeightLG).mul(2).equal(),marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:i}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.calc(n).sub(o).div(2).add(e.controlHeightLG).equal()}}}}}},k=e=>{let{componentCls:t,navContentMaxWidth:n,navArrowColor:i,stepsNavActiveColor:o,motionDurationSlow:r}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${r}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},x.vS),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${(0,C.bf)(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${(0,C.bf)(e.lineWidth)} ${e.lineType} ${i}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${(0,C.bf)(e.lineWidth)} ${e.lineType} ${i}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:o,transition:`width ${r}, inset-inline-start ${r}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.calc(e.lineWidth).mul(3).equal(),height:`calc(100% - ${(0,C.bf)(e.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},j=e=>{let{antCls:t,componentCls:n,iconSize:i,iconSizeSM:o,processIconColor:r,marginXXS:a,lineWidthBold:l,lineWidth:c,paddingXXS:s}=e,d=e.calc(i).add(e.calc(l).mul(4).equal()).equal(),u=e.calc(o).add(e.calc(e.lineWidth).mul(4).equal()).equal();return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:s,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:r}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:s,[`> ${n}-item-container > ${n}-item-tail`]:{top:a,insetInlineStart:e.calc(i).div(2).sub(c).add(s).equal()}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:s,paddingInlineStart:s}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.calc(o).div(2).sub(c).add(s).equal()},[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(i).div(2).add(s).equal()},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:`${(0,C.bf)(d)} !important`,height:`${(0,C.bf)(d)} !important`}}},[`&${n}-small`]:{[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(o).div(2).add(s).equal()},[`${n}-item-icon ${t}-progress-inner`]:{width:`${(0,C.bf)(u)} !important`,height:`${(0,C.bf)(u)} !important`}}}}},M=e=>{let{componentCls:t,descriptionMaxWidth:n,lineHeight:i,dotCurrentSize:o,dotSize:r,motionDurationSlow:a}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:i},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${(0,C.bf)(e.calc(n).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${(0,C.bf)(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:r,height:r,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(r).div(2).equal(),paddingInlineEnd:0,lineHeight:(0,C.bf)(r),background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${a}`,"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(r).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:e.calc(r).sub(o).div(2).equal(),width:o,height:o,lineHeight:(0,C.bf)(o),background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(o).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(r).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(o).div(2).equal(),top:0,insetInlineStart:e.calc(r).sub(o).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(r).div(2).equal(),insetInlineStart:0,margin:0,padding:`${(0,C.bf)(e.calc(r).add(e.paddingXS).equal())} 0 ${(0,C.bf)(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(r).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(r).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(o).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeightSM).sub(r).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},T=e=>{let{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},B=e=>{let{componentCls:t,iconSizeSM:n,fontSizeSM:i,fontSize:o,colorTextDescription:r}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${(0,C.bf)(e.marginXS)}`,fontSize:i,lineHeight:(0,C.bf)(n),textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:o,lineHeight:(0,C.bf)(n),"&::after":{top:e.calc(n).div(2).equal()}},[`${t}-item-description`]:{color:r,fontSize:o},[`${t}-item-tail`]:{top:e.calc(n).div(2).sub(e.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:(0,C.bf)(n),transform:"none"}}}}},N=e=>{let{componentCls:t,iconSizeSM:n,iconSize:i}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:(0,C.bf)(i)},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(i).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:`${(0,C.bf)(e.calc(e.marginXXS).mul(1.5).add(i).equal())} 0 ${(0,C.bf)(e.calc(e.marginXXS).mul(1.5).equal())}`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),padding:`${(0,C.bf)(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${(0,C.bf)(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:(0,C.bf)(n)}}}}};let q=(e,t)=>{let n=`${t.componentCls}-item`,i=`${e}IconColor`,o=`${e}TitleColor`,r=`${e}DescriptionColor`,a=`${e}TailColor`,l=`${e}IconBgColor`,c=`${e}IconBorderColor`,s=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[l],borderColor:t[c],[`> ${t.componentCls}-icon`]:{color:t[i],[`${t.componentCls}-icon-dot`]:{background:t[s]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[s]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[o],"&::after":{backgroundColor:t[a]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[r]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[a]}}},R=e=>{let{componentCls:t,motionDurationSlow:n}=e,i=`${t}-item`,o=`${i}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[i]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${i}-container > ${i}-tail, > ${i}-container > ${i}-content > ${i}-title::after`]:{display:"none"}}},[`${i}-container`]:{outline:"none","&:focus-visible":{[o]:Object.assign({},(0,x.oN)(e))}},[`${o}, ${i}-content`]:{display:"inline-block",verticalAlign:"top"},[o]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:(0,C.bf)(e.iconSize),textAlign:"center",borderRadius:e.iconSize,border:`${(0,C.bf)(e.lineWidth)} ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${i}-tail`]:{position:"absolute",top:e.calc(e.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${i}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:(0,C.bf)(e.titleLineHeight),"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${i}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${i}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},q("wait",e)),q("process",e)),{[`${i}-process > ${i}-container > ${i}-title`]:{fontWeight:e.fontWeightStrong}}),q("finish",e)),q("error",e)),{[`${i}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${i}-disabled`]:{cursor:"not-allowed"}})},W=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},L=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,x.Wf)(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),R(e)),W(e)),O(e)),B(e)),N(e)),E(e)),Z(e)),M(e)),k(e)),T(e)),j(e)),H(e))}};var P=(0,z.I$)("Steps",e=>{let{colorTextDisabled:t,controlHeightLG:n,colorTextLightSolid:i,colorText:o,colorPrimary:r,colorTextDescription:a,colorTextQuaternary:l,colorError:c,colorBorderSecondary:s,colorSplit:d}=e,u=(0,I.IX)(e,{processIconColor:i,processTitleColor:o,processDescriptionColor:o,processIconBgColor:r,processIconBorderColor:r,processDotColor:r,processTailColor:d,waitTitleColor:a,waitDescriptionColor:a,waitTailColor:d,waitDotColor:t,finishIconColor:r,finishTitleColor:o,finishDescriptionColor:a,finishTailColor:r,finishDotColor:r,errorIconColor:i,errorTitleColor:c,errorDescriptionColor:c,errorTailColor:d,errorIconBgColor:c,errorIconBorderColor:c,errorDotColor:c,stepsNavActiveColor:r,stepsProgressSize:n,inlineDotSize:6,inlineTitleColor:l,inlineTailColor:s});return[L(u)]},e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive})),V=n(10469),D=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};let X=e=>{let{percent:t,size:n,className:a,rootClassName:c,direction:s,items:d,responsive:u=!0,current:m=0,children:g,style:f}=e,h=D(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:p}=(0,S.Z)(u),{getPrefixCls:C,direction:x,steps:z}=i.useContext($.E_),I=i.useMemo(()=>u&&p?"vertical":s,[p,s]),O=(0,v.Z)(n),E=C("steps",e.prefixCls),[H,Z,k]=P(E),j="inline"===e.type,M=C("",e.iconPrefix),T=function(e,t){if(e)return e;let n=(0,V.Z)(t).map(e=>{if(i.isValidElement(e)){let{props:t}=e,n=Object.assign({},t);return n}return null});return n.filter(e=>e)}(d,g),B=j?void 0:t,N=Object.assign(Object.assign({},null==z?void 0:z.style),f),q=l()(null==z?void 0:z.className,{[`${E}-rtl`]:"rtl"===x,[`${E}-with-progress`]:void 0!==B},a,c,Z,k),R={finish:i.createElement(o.Z,{className:`${E}-finish-icon`}),error:i.createElement(r.Z,{className:`${E}-error-icon`})};return H(i.createElement(b,Object.assign({icons:R},h,{style:N,current:m,size:O,items:T,itemRender:j?(e,t)=>e.description?i.createElement(w.Z,{title:e.description},t):t:void 0,stepIcon:e=>{let{node:t,status:n}=e;return"process"===n&&void 0!==B?i.createElement("div",{className:`${E}-progress-icon`},i.createElement(y.Z,{type:"circle",percent:B,size:"small"===O?32:40,strokeWidth:4,format:()=>null}),t):t},direction:I,prefixCls:E,iconPrefix:M,className:q})))};X.Step=b.Step;var A=X},49030:function(e,t,n){n.d(t,{Z:function(){return Z}});var i=n(38497),o=n(26869),r=n.n(o),a=n(55598),l=n(55853),c=n(35883),s=n(55091),d=n(37243),u=n(63346),m=n(38083),g=n(51084),f=n(60848),h=n(74934),p=n(90102);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:i,componentCls:o,calc:r}=e,a=r(i).sub(n).equal(),l=r(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,f.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,m.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},$=e=>{let{lineWidth:t,fontSizeIcon:n,calc:i}=e,o=e.fontSizeSM,r=(0,h.IX)(e,{tagFontSize:o,tagLineHeight:(0,m.bf)(i(e.lineHeightSM).mul(o).equal()),tagIconSize:i(n).sub(i(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return r},v=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var S=(0,p.I$)("Tag",e=>{let t=$(e);return b(t)},v),y=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};let w=i.forwardRef((e,t)=>{let{prefixCls:n,style:o,className:a,checked:l,onChange:c,onClick:s}=e,d=y(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:m,tag:g}=i.useContext(u.E_),f=m("tag",n),[h,p,b]=S(f),$=r()(f,`${f}-checkable`,{[`${f}-checkable-checked`]:l},null==g?void 0:g.className,a,p,b);return h(i.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},o),null==g?void 0:g.style),className:$,onClick:e=>{null==c||c(!l),null==s||s(e)}})))});var C=n(86553);let x=e=>(0,C.Z)(e,(t,n)=>{let{textColor:i,lightBorderColor:o,lightColor:r,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:i,background:r,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var z=(0,p.bk)(["Tag","preset"],e=>{let t=$(e);return x(t)},v);let I=(e,t,n)=>{let i=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${i}Bg`],borderColor:e[`color${i}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var O=(0,p.bk)(["Tag","status"],e=>{let t=$(e);return[I(t,"success","Success"),I(t,"processing","Info"),I(t,"error","Error"),I(t,"warning","Warning")]},v),E=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};let H=i.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:m,style:g,children:f,icon:h,color:p,onClose:b,bordered:$=!0,visible:v}=e,y=E(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:C,tag:x}=i.useContext(u.E_),[I,H]=i.useState(!0),Z=(0,a.Z)(y,["closeIcon","closable"]);i.useEffect(()=>{void 0!==v&&H(v)},[v]);let k=(0,l.o2)(p),j=(0,l.yT)(p),M=k||j,T=Object.assign(Object.assign({backgroundColor:p&&!M?p:void 0},null==x?void 0:x.style),g),B=w("tag",n),[N,q,R]=S(B),W=r()(B,null==x?void 0:x.className,{[`${B}-${p}`]:M,[`${B}-has-color`]:p&&!M,[`${B}-hidden`]:!I,[`${B}-rtl`]:"rtl"===C,[`${B}-borderless`]:!$},o,m,q,R),L=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||H(!1)},[,P]=(0,c.Z)((0,c.w)(e),(0,c.w)(x),{closable:!1,closeIconRender:e=>{let t=i.createElement("span",{className:`${B}-close-icon`,onClick:L},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),L(t)},className:r()(null==e?void 0:e.className,`${B}-close-icon`)}))}}),V="function"==typeof y.onClick||f&&"a"===f.type,D=h||null,X=D?i.createElement(i.Fragment,null,D,f&&i.createElement("span",null,f)):f,A=i.createElement("span",Object.assign({},Z,{ref:t,className:W,style:T}),X,P,k&&i.createElement(z,{key:"preset",prefixCls:B}),j&&i.createElement(O,{key:"status",prefixCls:B}));return N(V?i.createElement(d.Z,{component:"Tag"},A):A)});H.CheckableTag=w;var Z=H}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9080-9539b00b76999256.js b/dbgpt/app/static/web/_next/static/chunks/9080-61494c26004fee75.js similarity index 96% rename from dbgpt/app/static/web/_next/static/chunks/9080-9539b00b76999256.js rename to dbgpt/app/static/web/_next/static/chunks/9080-61494c26004fee75.js index 6d0f945b0..4913e5d5f 100644 --- a/dbgpt/app/static/web/_next/static/chunks/9080-9539b00b76999256.js +++ b/dbgpt/app/static/web/_next/static/chunks/9080-61494c26004fee75.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9080],{96890:function(e,n,t){t.d(n,{Z:function(){return s}});var a=t(42096),i=t(10921),r=t(38497),c=t(42834),l=["type","children"],o=new Set;function d(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[n];if("string"==typeof t&&t.length&&!o.has(t)){var a=document.createElement("script");a.setAttribute("src",t),a.setAttribute("data-namespace",t),e.length>n+1&&(a.onload=function(){d(e,n+1)},a.onerror=function(){d(e,n+1)}),o.add(t),document.body.appendChild(a)}}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.scriptUrl,t=e.extraCommonProps,o=void 0===t?{}:t;n&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(n)?d(n.reverse()):d([n]));var s=r.forwardRef(function(e,n){var t=e.type,d=e.children,s=(0,i.Z)(e,l),u=null;return e.type&&(u=r.createElement("use",{xlinkHref:"#".concat(t)})),d&&(u=d),r.createElement(c.Z,(0,a.Z)({},o,s,{ref:n}),u)});return s.displayName="Iconfont",s}},72533:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"appstore-add",theme:"outlined"},c=t(75651),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},62002:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z"}}]},name:"bar-chart",theme:"outlined"},c=t(75651),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},15484:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},c=t(75651),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},44808:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"},c=t(75651),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},28062:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},c=t(75651),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},84542:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},c=t(75651),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},41446:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"},c=t(75651),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},1136:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552a398.46 398.46 0 00117.1 282.8c36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952a398.46 398.46 0 00282.8-117.1c36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8zM952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z"}}]},name:"pie-chart",theme:"outlined"},c=t(75651),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},47520:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V160a16 16 0 0116-16zm-52 68H212v200h200zm493.33 87.69a16 16 0 010 22.62L724.31 503.33a16 16 0 01-22.62 0L520.67 322.31a16 16 0 010-22.62l181.02-181.02a16 16 0 0122.62 0zm-84.85 11.3L713 203.53 605.52 311 713 418.48zM464 544a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H212v200h200zm452-68a16 16 0 0116 16v304a16 16 0 01-16 16H560a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H612v200h200z"}}]},name:"product",theme:"outlined"},c=t(75651),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},43748:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917 211.1l-199.2 24c-6.6.8-9.4 8.9-4.7 13.6l59.3 59.3-226 226-101.8-101.7c-6.3-6.3-16.4-6.2-22.6 0L100.3 754.1a8.03 8.03 0 000 11.3l45 45.2c3.1 3.1 8.2 3.1 11.3 0L433.3 534 535 635.7c6.3 6.2 16.4 6.2 22.6 0L829 364.5l59.3 59.3a8.01 8.01 0 0013.6-4.7l24-199.2c.7-5.1-3.7-9.5-8.9-8.8z"}}]},name:"rise",theme:"outlined"},c=t(75651),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},13419:function(e,n,t){t.d(n,{Z:function(){return z}});var a=t(38497),i=t(71836),r=t(26869),c=t.n(r),l=t(77757),o=t(55598),d=t(63346),s=t(62971),u=t(4558),m=t(74156),h=t(27691),f=t(5496),g=t(61261),p=t(61013),v=t(83387),b=t(90102);let $=e=>{let{componentCls:n,iconCls:t,antCls:a,zIndexPopup:i,colorText:r,colorWarning:c,marginXXS:l,marginXS:o,fontSize:d,fontWeightStrong:s,colorTextHeading:u}=e;return{[n]:{zIndex:i,[`&${a}-popover`]:{fontSize:d},[`${n}-message`]:{marginBottom:o,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${n}-message-icon ${t}`]:{color:c,fontSize:d,lineHeight:1,marginInlineEnd:o},[`${n}-title`]:{fontWeight:s,color:u,"&:only-child":{fontWeight:"normal"}},[`${n}-description`]:{marginTop:l,color:r}},[`${n}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:o}}}}};var w=(0,b.I$)("Popconfirm",e=>$(e),e=>{let{zIndexPopupBase:n}=e;return{zIndexPopup:n+60}},{resetStyle:!1}),y=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>n.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,a=Object.getOwnPropertySymbols(e);in.indexOf(a[i])&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(t[a[i]]=e[a[i]]);return t};let I=e=>{let{prefixCls:n,okButtonProps:t,cancelButtonProps:r,title:c,description:l,cancelText:o,okText:s,okType:v="primary",icon:b=a.createElement(i.Z,null),showCancel:$=!0,close:w,onConfirm:y,onCancel:I,onPopupClick:k}=e,{getPrefixCls:E}=a.useContext(d.E_),[z]=(0,g.Z)("Popconfirm",p.Z.Popconfirm),S=(0,m.Z)(c),Z=(0,m.Z)(l);return a.createElement("div",{className:`${n}-inner-content`,onClick:k},a.createElement("div",{className:`${n}-message`},b&&a.createElement("span",{className:`${n}-message-icon`},b),a.createElement("div",{className:`${n}-message-text`},S&&a.createElement("div",{className:`${n}-title`},S),Z&&a.createElement("div",{className:`${n}-description`},Z))),a.createElement("div",{className:`${n}-buttons`},$&&a.createElement(h.ZP,Object.assign({onClick:I,size:"small"},r),o||(null==z?void 0:z.cancelText)),a.createElement(u.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,f.nx)(v)),t),actionFn:y,close:w,prefixCls:E("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},s||(null==z?void 0:z.okText))))};var k=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>n.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,a=Object.getOwnPropertySymbols(e);in.indexOf(a[i])&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(t[a[i]]=e[a[i]]);return t};let E=a.forwardRef((e,n)=>{var t,r;let{prefixCls:u,placement:m="top",trigger:h="click",okType:f="primary",icon:g=a.createElement(i.Z,null),children:p,overlayClassName:v,onOpenChange:b,onVisibleChange:$}=e,y=k(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:E}=a.useContext(d.E_),[z,S]=(0,l.Z)(!1,{value:null!==(t=e.open)&&void 0!==t?t:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),Z=(e,n)=>{S(e,!0),null==$||$(e),null==b||b(e,n)},C=E("popconfirm",u),x=c()(C,v),[O]=w(C);return O(a.createElement(s.Z,Object.assign({},(0,o.Z)(y,["title"]),{trigger:h,placement:m,onOpenChange:(n,t)=>{let{disabled:a=!1}=e;a||Z(n,t)},open:z,ref:n,overlayClassName:x,content:a.createElement(I,Object.assign({okType:f,icon:g},e,{prefixCls:C,close:e=>{Z(!1,e)},onConfirm:n=>{var t;return null===(t=e.onConfirm)||void 0===t?void 0:t.call(void 0,n)},onCancel:n=>{var t;Z(!1,n),null===(t=e.onCancel)||void 0===t||t.call(void 0,n)}})),"data-popover-inject":!0}),p))});E._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:n,placement:t,className:i,style:r}=e,l=y(e,["prefixCls","placement","className","style"]),{getPrefixCls:o}=a.useContext(d.E_),s=o("popconfirm",n),[u]=w(s);return u(a.createElement(v.ZP,{placement:t,className:c()(s,i),style:r,content:a.createElement(I,Object.assign({prefixCls:s},l))}))};var z=E},73837:function(e,n,t){t.d(n,{Z:function(){return H}});var a=t(38497),i=t(37022),r=t(26869),c=t.n(r),l=t(42096),o=t(65148),d=t(65347),s=t(10921),u=t(77757),m=t(16956),h=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],f=a.forwardRef(function(e,n){var t,i=e.prefixCls,r=void 0===i?"rc-switch":i,f=e.className,g=e.checked,p=e.defaultChecked,v=e.disabled,b=e.loadingIcon,$=e.checkedChildren,w=e.unCheckedChildren,y=e.onClick,I=e.onChange,k=e.onKeyDown,E=(0,s.Z)(e,h),z=(0,u.Z)(!1,{value:g,defaultValue:p}),S=(0,d.Z)(z,2),Z=S[0],C=S[1];function x(e,n){var t=Z;return v||(C(t=e),null==I||I(t,n)),t}var O=c()(r,f,(t={},(0,o.Z)(t,"".concat(r,"-checked"),Z),(0,o.Z)(t,"".concat(r,"-disabled"),v),t));return a.createElement("button",(0,l.Z)({},E,{type:"button",role:"switch","aria-checked":Z,disabled:v,className:O,ref:n,onKeyDown:function(e){e.which===m.Z.LEFT?x(!1,e):e.which===m.Z.RIGHT&&x(!0,e),null==k||k(e)},onClick:function(e){var n=x(!Z,e);null==y||y(n,e)}}),b,a.createElement("span",{className:"".concat(r,"-inner")},a.createElement("span",{className:"".concat(r,"-inner-checked")},$),a.createElement("span",{className:"".concat(r,"-inner-unchecked")},w)))});f.displayName="Switch";var g=t(37243),p=t(63346),v=t(3482),b=t(82014),$=t(72178),w=t(51084),y=t(60848),I=t(90102),k=t(74934);let E=e=>{let{componentCls:n,trackHeightSM:t,trackPadding:a,trackMinWidthSM:i,innerMinMarginSM:r,innerMaxMarginSM:c,handleSizeSM:l,calc:o}=e,d=`${n}-inner`,s=(0,$.bf)(o(l).add(o(a).mul(2)).equal()),u=(0,$.bf)(o(c).mul(2).equal());return{[n]:{[`&${n}-small`]:{minWidth:i,height:t,lineHeight:(0,$.bf)(t),[`${n}-inner`]:{paddingInlineStart:c,paddingInlineEnd:r,[`${d}-checked, ${d}-unchecked`]:{minHeight:t},[`${d}-checked`]:{marginInlineStart:`calc(-100% + ${s} - ${u})`,marginInlineEnd:`calc(100% - ${s} + ${u})`},[`${d}-unchecked`]:{marginTop:o(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${n}-handle`]:{width:l,height:l},[`${n}-loading-icon`]:{top:o(o(l).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${n}-checked`]:{[`${n}-inner`]:{paddingInlineStart:r,paddingInlineEnd:c,[`${d}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${d}-unchecked`]:{marginInlineStart:`calc(100% - ${s} + ${u})`,marginInlineEnd:`calc(-100% + ${s} - ${u})`}},[`${n}-handle`]:{insetInlineStart:`calc(100% - ${(0,$.bf)(o(l).add(a).equal())})`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${d}`]:{[`${d}-unchecked`]:{marginInlineStart:o(e.marginXXS).div(2).equal(),marginInlineEnd:o(e.marginXXS).mul(-1).div(2).equal()}},[`&${n}-checked ${d}`]:{[`${d}-checked`]:{marginInlineStart:o(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:o(e.marginXXS).div(2).equal()}}}}}}},z=e=>{let{componentCls:n,handleSize:t,calc:a}=e;return{[n]:{[`${n}-loading-icon${e.iconCls}`]:{position:"relative",top:a(a(t).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${n}-checked ${n}-loading-icon`]:{color:e.switchColor}}}},S=e=>{let{componentCls:n,trackPadding:t,handleBg:a,handleShadow:i,handleSize:r,calc:c}=e,l=`${n}-handle`;return{[n]:{[l]:{position:"absolute",top:t,insetInlineStart:t,width:r,height:r,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:a,borderRadius:c(r).div(2).equal(),boxShadow:i,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${n}-checked ${l}`]:{insetInlineStart:`calc(100% - ${(0,$.bf)(c(r).add(t).equal())})`},[`&:not(${n}-disabled):active`]:{[`${l}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${n}-checked ${l}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},Z=e=>{let{componentCls:n,trackHeight:t,trackPadding:a,innerMinMargin:i,innerMaxMargin:r,handleSize:c,calc:l}=e,o=`${n}-inner`,d=(0,$.bf)(l(c).add(l(a).mul(2)).equal()),s=(0,$.bf)(l(r).mul(2).equal());return{[n]:{[o]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:r,paddingInlineEnd:i,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${o}-checked, ${o}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:t},[`${o}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${s})`,marginInlineEnd:`calc(100% - ${d} + ${s})`},[`${o}-unchecked`]:{marginTop:l(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${n}-checked ${o}`]:{paddingInlineStart:i,paddingInlineEnd:r,[`${o}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${o}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${s})`,marginInlineEnd:`calc(-100% + ${d} - ${s})`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${o}`]:{[`${o}-unchecked`]:{marginInlineStart:l(a).mul(2).equal(),marginInlineEnd:l(a).mul(-1).mul(2).equal()}},[`&${n}-checked ${o}`]:{[`${o}-checked`]:{marginInlineStart:l(a).mul(-1).mul(2).equal(),marginInlineEnd:l(a).mul(2).equal()}}}}}},C=e=>{let{componentCls:n,trackHeight:t,trackMinWidth:a}=e;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:a,height:t,lineHeight:(0,$.bf)(t),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${n}-disabled)`]:{background:e.colorTextTertiary}}),(0,y.Qy)(e)),{[`&${n}-checked`]:{background:e.switchColor,[`&:hover:not(${n}-disabled)`]:{background:e.colorPrimaryHover}},[`&${n}-loading, &${n}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${n}-rtl`]:{direction:"rtl"}})}};var x=(0,I.I$)("Switch",e=>{let n=(0,k.IX)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[C(n),Z(n),S(n),z(n),E(n)]},e=>{let{fontSize:n,lineHeight:t,controlHeight:a,colorWhite:i}=e,r=n*t,c=a/2,l=r-4,o=c-4;return{trackHeight:r,trackHeightSM:c,trackMinWidth:2*l+8,trackMinWidthSM:2*o+4,trackPadding:2,handleBg:i,handleSize:l,handleSizeSM:o,handleShadow:`0 2px 4px 0 ${new w.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+2+4,innerMinMarginSM:o/2,innerMaxMarginSM:o+2+4}}),O=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>n.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,a=Object.getOwnPropertySymbols(e);in.indexOf(a[i])&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(t[a[i]]=e[a[i]]);return t};let V=a.forwardRef((e,n)=>{let{prefixCls:t,size:r,disabled:l,loading:o,className:d,rootClassName:s,style:m,checked:h,value:$,defaultChecked:w,defaultValue:y,onChange:I}=e,k=O(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[E,z]=(0,u.Z)(!1,{value:null!=h?h:$,defaultValue:null!=w?w:y}),{getPrefixCls:S,direction:Z,switch:C}=a.useContext(p.E_),V=a.useContext(v.Z),H=(null!=l?l:V)||o,M=S("switch",t),N=a.createElement("div",{className:`${M}-handle`},o&&a.createElement(i.Z,{className:`${M}-loading-icon`})),[j,L,R]=x(M),q=(0,b.Z)(r),P=c()(null==C?void 0:C.className,{[`${M}-small`]:"small"===q,[`${M}-loading`]:o,[`${M}-rtl`]:"rtl"===Z},d,s,L,R),D=Object.assign(Object.assign({},null==C?void 0:C.style),m);return j(a.createElement(g.Z,{component:"Switch"},a.createElement(f,Object.assign({},k,{checked:E,onChange:function(){z(arguments.length<=0?void 0:arguments[0]),null==I||I.apply(void 0,arguments)},prefixCls:M,className:P,style:D,disabled:H,ref:n,loadingIcon:N}))))});V.__ANT_SWITCH=!0;var H=V},89776:function(e,n,t){t.d(n,{Z:function(){return d}});var a,i={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},r=new Uint8Array(16);function c(){if(!a&&!(a="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(r)}for(var l=[],o=0;o<256;++o)l.push((o+256).toString(16).slice(1));var d=function(e,n,t){if(i.randomUUID&&!n&&!e)return i.randomUUID();var a=(e=e||{}).random||(e.rng||c)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,n){t=t||0;for(var r=0;r<16;++r)n[t+r]=a[r];return n}return function(e,n=0){return(l[e[n+0]]+l[e[n+1]]+l[e[n+2]]+l[e[n+3]]+"-"+l[e[n+4]]+l[e[n+5]]+"-"+l[e[n+6]]+l[e[n+7]]+"-"+l[e[n+8]]+l[e[n+9]]+"-"+l[e[n+10]]+l[e[n+11]]+l[e[n+12]]+l[e[n+13]]+l[e[n+14]]+l[e[n+15]]).toLowerCase()}(a)}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9080],{96890:function(e,n,t){t.d(n,{Z:function(){return s}});var a=t(42096),i=t(10921),r=t(38497),c=t(42834),l=["type","children"],o=new Set;function d(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[n];if("string"==typeof t&&t.length&&!o.has(t)){var a=document.createElement("script");a.setAttribute("src",t),a.setAttribute("data-namespace",t),e.length>n+1&&(a.onload=function(){d(e,n+1)},a.onerror=function(){d(e,n+1)}),o.add(t),document.body.appendChild(a)}}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.scriptUrl,t=e.extraCommonProps,o=void 0===t?{}:t;n&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(n)?d(n.reverse()):d([n]));var s=r.forwardRef(function(e,n){var t=e.type,d=e.children,s=(0,i.Z)(e,l),u=null;return e.type&&(u=r.createElement("use",{xlinkHref:"#".concat(t)})),d&&(u=d),r.createElement(c.Z,(0,a.Z)({},o,s,{ref:n}),u)});return s.displayName="Iconfont",s}},72533:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"appstore-add",theme:"outlined"},c=t(55032),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},80680:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z"}}]},name:"bar-chart",theme:"outlined"},c=t(55032),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},15484:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},c=t(55032),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},44808:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"},c=t(55032),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},28062:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},c=t(55032),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},84542:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},c=t(55032),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},41446:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"},c=t(55032),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},1136:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552a398.46 398.46 0 00117.1 282.8c36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952a398.46 398.46 0 00282.8-117.1c36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8zM952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z"}}]},name:"pie-chart",theme:"outlined"},c=t(55032),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},47520:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V160a16 16 0 0116-16zm-52 68H212v200h200zm493.33 87.69a16 16 0 010 22.62L724.31 503.33a16 16 0 01-22.62 0L520.67 322.31a16 16 0 010-22.62l181.02-181.02a16 16 0 0122.62 0zm-84.85 11.3L713 203.53 605.52 311 713 418.48zM464 544a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H212v200h200zm452-68a16 16 0 0116 16v304a16 16 0 01-16 16H560a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H612v200h200z"}}]},name:"product",theme:"outlined"},c=t(55032),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},43748:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(42096),i=t(38497),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917 211.1l-199.2 24c-6.6.8-9.4 8.9-4.7 13.6l59.3 59.3-226 226-101.8-101.7c-6.3-6.3-16.4-6.2-22.6 0L100.3 754.1a8.03 8.03 0 000 11.3l45 45.2c3.1 3.1 8.2 3.1 11.3 0L433.3 534 535 635.7c6.3 6.2 16.4 6.2 22.6 0L829 364.5l59.3 59.3a8.01 8.01 0 0013.6-4.7l24-199.2c.7-5.1-3.7-9.5-8.9-8.8z"}}]},name:"rise",theme:"outlined"},c=t(55032),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},13419:function(e,n,t){t.d(n,{Z:function(){return z}});var a=t(38497),i=t(71836),r=t(26869),c=t.n(r),l=t(77757),o=t(55598),d=t(63346),s=t(62971),u=t(4558),m=t(74156),h=t(27691),f=t(5496),g=t(61261),p=t(44306),v=t(83387),b=t(90102);let $=e=>{let{componentCls:n,iconCls:t,antCls:a,zIndexPopup:i,colorText:r,colorWarning:c,marginXXS:l,marginXS:o,fontSize:d,fontWeightStrong:s,colorTextHeading:u}=e;return{[n]:{zIndex:i,[`&${a}-popover`]:{fontSize:d},[`${n}-message`]:{marginBottom:o,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${n}-message-icon ${t}`]:{color:c,fontSize:d,lineHeight:1,marginInlineEnd:o},[`${n}-title`]:{fontWeight:s,color:u,"&:only-child":{fontWeight:"normal"}},[`${n}-description`]:{marginTop:l,color:r}},[`${n}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:o}}}}};var w=(0,b.I$)("Popconfirm",e=>$(e),e=>{let{zIndexPopupBase:n}=e;return{zIndexPopup:n+60}},{resetStyle:!1}),y=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>n.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,a=Object.getOwnPropertySymbols(e);in.indexOf(a[i])&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(t[a[i]]=e[a[i]]);return t};let I=e=>{let{prefixCls:n,okButtonProps:t,cancelButtonProps:r,title:c,description:l,cancelText:o,okText:s,okType:v="primary",icon:b=a.createElement(i.Z,null),showCancel:$=!0,close:w,onConfirm:y,onCancel:I,onPopupClick:k}=e,{getPrefixCls:E}=a.useContext(d.E_),[z]=(0,g.Z)("Popconfirm",p.Z.Popconfirm),S=(0,m.Z)(c),Z=(0,m.Z)(l);return a.createElement("div",{className:`${n}-inner-content`,onClick:k},a.createElement("div",{className:`${n}-message`},b&&a.createElement("span",{className:`${n}-message-icon`},b),a.createElement("div",{className:`${n}-message-text`},S&&a.createElement("div",{className:`${n}-title`},S),Z&&a.createElement("div",{className:`${n}-description`},Z))),a.createElement("div",{className:`${n}-buttons`},$&&a.createElement(h.ZP,Object.assign({onClick:I,size:"small"},r),o||(null==z?void 0:z.cancelText)),a.createElement(u.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,f.nx)(v)),t),actionFn:y,close:w,prefixCls:E("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},s||(null==z?void 0:z.okText))))};var k=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>n.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,a=Object.getOwnPropertySymbols(e);in.indexOf(a[i])&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(t[a[i]]=e[a[i]]);return t};let E=a.forwardRef((e,n)=>{var t,r;let{prefixCls:u,placement:m="top",trigger:h="click",okType:f="primary",icon:g=a.createElement(i.Z,null),children:p,overlayClassName:v,onOpenChange:b,onVisibleChange:$}=e,y=k(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:E}=a.useContext(d.E_),[z,S]=(0,l.Z)(!1,{value:null!==(t=e.open)&&void 0!==t?t:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),Z=(e,n)=>{S(e,!0),null==$||$(e),null==b||b(e,n)},C=E("popconfirm",u),x=c()(C,v),[O]=w(C);return O(a.createElement(s.Z,Object.assign({},(0,o.Z)(y,["title"]),{trigger:h,placement:m,onOpenChange:(n,t)=>{let{disabled:a=!1}=e;a||Z(n,t)},open:z,ref:n,overlayClassName:x,content:a.createElement(I,Object.assign({okType:f,icon:g},e,{prefixCls:C,close:e=>{Z(!1,e)},onConfirm:n=>{var t;return null===(t=e.onConfirm)||void 0===t?void 0:t.call(void 0,n)},onCancel:n=>{var t;Z(!1,n),null===(t=e.onCancel)||void 0===t||t.call(void 0,n)}})),"data-popover-inject":!0}),p))});E._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:n,placement:t,className:i,style:r}=e,l=y(e,["prefixCls","placement","className","style"]),{getPrefixCls:o}=a.useContext(d.E_),s=o("popconfirm",n),[u]=w(s);return u(a.createElement(v.ZP,{placement:t,className:c()(s,i),style:r,content:a.createElement(I,Object.assign({prefixCls:s},l))}))};var z=E},73837:function(e,n,t){t.d(n,{Z:function(){return H}});var a=t(38497),i=t(37022),r=t(26869),c=t.n(r),l=t(42096),o=t(65148),d=t(65347),s=t(10921),u=t(77757),m=t(16956),h=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],f=a.forwardRef(function(e,n){var t,i=e.prefixCls,r=void 0===i?"rc-switch":i,f=e.className,g=e.checked,p=e.defaultChecked,v=e.disabled,b=e.loadingIcon,$=e.checkedChildren,w=e.unCheckedChildren,y=e.onClick,I=e.onChange,k=e.onKeyDown,E=(0,s.Z)(e,h),z=(0,u.Z)(!1,{value:g,defaultValue:p}),S=(0,d.Z)(z,2),Z=S[0],C=S[1];function x(e,n){var t=Z;return v||(C(t=e),null==I||I(t,n)),t}var O=c()(r,f,(t={},(0,o.Z)(t,"".concat(r,"-checked"),Z),(0,o.Z)(t,"".concat(r,"-disabled"),v),t));return a.createElement("button",(0,l.Z)({},E,{type:"button",role:"switch","aria-checked":Z,disabled:v,className:O,ref:n,onKeyDown:function(e){e.which===m.Z.LEFT?x(!1,e):e.which===m.Z.RIGHT&&x(!0,e),null==k||k(e)},onClick:function(e){var n=x(!Z,e);null==y||y(n,e)}}),b,a.createElement("span",{className:"".concat(r,"-inner")},a.createElement("span",{className:"".concat(r,"-inner-checked")},$),a.createElement("span",{className:"".concat(r,"-inner-unchecked")},w)))});f.displayName="Switch";var g=t(37243),p=t(63346),v=t(3482),b=t(82014),$=t(38083),w=t(51084),y=t(60848),I=t(90102),k=t(74934);let E=e=>{let{componentCls:n,trackHeightSM:t,trackPadding:a,trackMinWidthSM:i,innerMinMarginSM:r,innerMaxMarginSM:c,handleSizeSM:l,calc:o}=e,d=`${n}-inner`,s=(0,$.bf)(o(l).add(o(a).mul(2)).equal()),u=(0,$.bf)(o(c).mul(2).equal());return{[n]:{[`&${n}-small`]:{minWidth:i,height:t,lineHeight:(0,$.bf)(t),[`${n}-inner`]:{paddingInlineStart:c,paddingInlineEnd:r,[`${d}-checked, ${d}-unchecked`]:{minHeight:t},[`${d}-checked`]:{marginInlineStart:`calc(-100% + ${s} - ${u})`,marginInlineEnd:`calc(100% - ${s} + ${u})`},[`${d}-unchecked`]:{marginTop:o(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${n}-handle`]:{width:l,height:l},[`${n}-loading-icon`]:{top:o(o(l).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${n}-checked`]:{[`${n}-inner`]:{paddingInlineStart:r,paddingInlineEnd:c,[`${d}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${d}-unchecked`]:{marginInlineStart:`calc(100% - ${s} + ${u})`,marginInlineEnd:`calc(-100% + ${s} - ${u})`}},[`${n}-handle`]:{insetInlineStart:`calc(100% - ${(0,$.bf)(o(l).add(a).equal())})`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${d}`]:{[`${d}-unchecked`]:{marginInlineStart:o(e.marginXXS).div(2).equal(),marginInlineEnd:o(e.marginXXS).mul(-1).div(2).equal()}},[`&${n}-checked ${d}`]:{[`${d}-checked`]:{marginInlineStart:o(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:o(e.marginXXS).div(2).equal()}}}}}}},z=e=>{let{componentCls:n,handleSize:t,calc:a}=e;return{[n]:{[`${n}-loading-icon${e.iconCls}`]:{position:"relative",top:a(a(t).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${n}-checked ${n}-loading-icon`]:{color:e.switchColor}}}},S=e=>{let{componentCls:n,trackPadding:t,handleBg:a,handleShadow:i,handleSize:r,calc:c}=e,l=`${n}-handle`;return{[n]:{[l]:{position:"absolute",top:t,insetInlineStart:t,width:r,height:r,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:a,borderRadius:c(r).div(2).equal(),boxShadow:i,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${n}-checked ${l}`]:{insetInlineStart:`calc(100% - ${(0,$.bf)(c(r).add(t).equal())})`},[`&:not(${n}-disabled):active`]:{[`${l}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${n}-checked ${l}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},Z=e=>{let{componentCls:n,trackHeight:t,trackPadding:a,innerMinMargin:i,innerMaxMargin:r,handleSize:c,calc:l}=e,o=`${n}-inner`,d=(0,$.bf)(l(c).add(l(a).mul(2)).equal()),s=(0,$.bf)(l(r).mul(2).equal());return{[n]:{[o]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:r,paddingInlineEnd:i,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${o}-checked, ${o}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:t},[`${o}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${s})`,marginInlineEnd:`calc(100% - ${d} + ${s})`},[`${o}-unchecked`]:{marginTop:l(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${n}-checked ${o}`]:{paddingInlineStart:i,paddingInlineEnd:r,[`${o}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${o}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${s})`,marginInlineEnd:`calc(-100% + ${d} - ${s})`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${o}`]:{[`${o}-unchecked`]:{marginInlineStart:l(a).mul(2).equal(),marginInlineEnd:l(a).mul(-1).mul(2).equal()}},[`&${n}-checked ${o}`]:{[`${o}-checked`]:{marginInlineStart:l(a).mul(-1).mul(2).equal(),marginInlineEnd:l(a).mul(2).equal()}}}}}},C=e=>{let{componentCls:n,trackHeight:t,trackMinWidth:a}=e;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:a,height:t,lineHeight:(0,$.bf)(t),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${n}-disabled)`]:{background:e.colorTextTertiary}}),(0,y.Qy)(e)),{[`&${n}-checked`]:{background:e.switchColor,[`&:hover:not(${n}-disabled)`]:{background:e.colorPrimaryHover}},[`&${n}-loading, &${n}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${n}-rtl`]:{direction:"rtl"}})}};var x=(0,I.I$)("Switch",e=>{let n=(0,k.IX)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[C(n),Z(n),S(n),z(n),E(n)]},e=>{let{fontSize:n,lineHeight:t,controlHeight:a,colorWhite:i}=e,r=n*t,c=a/2,l=r-4,o=c-4;return{trackHeight:r,trackHeightSM:c,trackMinWidth:2*l+8,trackMinWidthSM:2*o+4,trackPadding:2,handleBg:i,handleSize:l,handleSizeSM:o,handleShadow:`0 2px 4px 0 ${new w.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+2+4,innerMinMarginSM:o/2,innerMaxMarginSM:o+2+4}}),O=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>n.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,a=Object.getOwnPropertySymbols(e);in.indexOf(a[i])&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(t[a[i]]=e[a[i]]);return t};let V=a.forwardRef((e,n)=>{let{prefixCls:t,size:r,disabled:l,loading:o,className:d,rootClassName:s,style:m,checked:h,value:$,defaultChecked:w,defaultValue:y,onChange:I}=e,k=O(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[E,z]=(0,u.Z)(!1,{value:null!=h?h:$,defaultValue:null!=w?w:y}),{getPrefixCls:S,direction:Z,switch:C}=a.useContext(p.E_),V=a.useContext(v.Z),H=(null!=l?l:V)||o,M=S("switch",t),N=a.createElement("div",{className:`${M}-handle`},o&&a.createElement(i.Z,{className:`${M}-loading-icon`})),[j,L,R]=x(M),q=(0,b.Z)(r),P=c()(null==C?void 0:C.className,{[`${M}-small`]:"small"===q,[`${M}-loading`]:o,[`${M}-rtl`]:"rtl"===Z},d,s,L,R),D=Object.assign(Object.assign({},null==C?void 0:C.style),m);return j(a.createElement(g.Z,{component:"Switch"},a.createElement(f,Object.assign({},k,{checked:E,onChange:function(){z(arguments.length<=0?void 0:arguments[0]),null==I||I.apply(void 0,arguments)},prefixCls:M,className:P,style:D,disabled:H,ref:n,loadingIcon:N}))))});V.__ANT_SWITCH=!0;var H=V},89776:function(e,n,t){t.d(n,{Z:function(){return d}});var a,i={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},r=new Uint8Array(16);function c(){if(!a&&!(a="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(r)}for(var l=[],o=0;o<256;++o)l.push((o+256).toString(16).slice(1));var d=function(e,n,t){if(i.randomUUID&&!n&&!e)return i.randomUUID();var a=(e=e||{}).random||(e.rng||c)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,n){t=t||0;for(var r=0;r<16;++r)n[t+r]=a[r];return n}return function(e,n=0){return(l[e[n+0]]+l[e[n+1]]+l[e[n+2]]+l[e[n+3]]+"-"+l[e[n+4]]+l[e[n+5]]+"-"+l[e[n+6]]+l[e[n+7]]+"-"+l[e[n+8]]+l[e[n+9]]+"-"+l[e[n+10]]+l[e[n+11]]+l[e[n+12]]+l[e[n+13]]+l[e[n+14]]+l[e[n+15]]).toLowerCase()}(a)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9094-1afb2f999e6f1310.js b/dbgpt/app/static/web/_next/static/chunks/9094-1afb2f999e6f1310.js new file mode 100644 index 000000000..3496bbe09 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9094-1afb2f999e6f1310.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9094],{19094:function(e,t,r){function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r=e.length?e.apply(this,o):function(){for(var e=arguments.length,n=Array(e),i=0;i=f.length?f.apply(this,n):function(){for(var r=arguments.length,o=Array(r),i=0;i1&&void 0!==arguments[1]?arguments[1]:{};p.initial(e),p.handler(t);var r={current:e},n=a(m)(r,t),o=a(y)(r),i=a(p.changes)(e),c=a(h)(r);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return p.selector(e),e(r.current)},function(e){(function(){for(var e=arguments.length,t=Array(e),r=0;r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(t,["monaco"]);R(function(e){return{config:function e(t,r){return Object.keys(r).forEach(function(n){r[n]instanceof Object&&t[n]&&Object.assign(r[n],e(t[n],r[n]))}),o(o({},t),r)}(e.config,n),monaco:r}})},init:function(){var e=P(function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}});if(!e.isInitialized){if(R({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),M(x);if(window.monaco&&window.monaco.editor)return T(window.monaco),e.resolve(window.monaco),M(x);w(k,S)(C)}return M(x)},__getMonacoInstance:function(){return P(function(e){return e.monaco})}},A=r(38497),V={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},D={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},L=function({children:e}){return A.createElement("div",{style:D.container},e)},_=(0,A.memo)(function({width:e,height:t,isEditorReady:r,loading:n,_ref:o,className:i,wrapperProps:c}){return A.createElement("section",{style:{...V.wrapper,width:e,height:t},...c},!r&&A.createElement(L,null,n),A.createElement("div",{ref:o,style:{...V.fullWidth,...!r&&V.hide},className:i}))}),N=function(e){(0,A.useEffect)(e,[])},q=function(e,t,r=!0){let n=(0,A.useRef)(!0);(0,A.useEffect)(n.current||!r?()=>{n.current=!1}:e,t)};function z(){}function F(e,t,r,n){return e.editor.getModel(U(e,n))||e.editor.createModel(t,r,n?U(e,n):void 0)}function U(e,t){return e.Uri.parse(t)}(0,A.memo)(function({original:e,modified:t,language:r,originalLanguage:n,modifiedLanguage:o,originalModelPath:i,modifiedModelPath:c,keepCurrentOriginalModel:u=!1,keepCurrentModifiedModel:a=!1,theme:l="light",loading:s="Loading...",options:f={},height:d="100%",width:g="100%",className:p,wrapperProps:h={},beforeMount:y=z,onMount:m=z}){let[b,v]=(0,A.useState)(!1),[O,w]=(0,A.useState)(!0),j=(0,A.useRef)(null),M=(0,A.useRef)(null),E=(0,A.useRef)(null),P=(0,A.useRef)(m),R=(0,A.useRef)(y),k=(0,A.useRef)(!1);N(()=>{let e=I.init();return e.then(e=>(M.current=e)&&w(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>{let t;return j.current?(t=j.current?.getModel(),void(u||t?.original?.dispose(),a||t?.modified?.dispose(),j.current?.dispose())):e.cancel()}}),q(()=>{if(j.current&&M.current){let t=j.current.getOriginalEditor(),o=F(M.current,e||"",n||r||"text",i||"");o!==t.getModel()&&t.setModel(o)}},[i],b),q(()=>{if(j.current&&M.current){let e=j.current.getModifiedEditor(),n=F(M.current,t||"",o||r||"text",c||"");n!==e.getModel()&&e.setModel(n)}},[c],b),q(()=>{let e=j.current.getModifiedEditor();e.getOption(M.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())},[t],b),q(()=>{j.current?.getModel()?.original.setValue(e||"")},[e],b),q(()=>{let{original:e,modified:t}=j.current.getModel();M.current.editor.setModelLanguage(e,n||r||"text"),M.current.editor.setModelLanguage(t,o||r||"text")},[r,n,o],b),q(()=>{M.current?.editor.setTheme(l)},[l],b),q(()=>{j.current?.updateOptions(f)},[f],b);let S=(0,A.useCallback)(()=>{if(!M.current)return;R.current(M.current);let u=F(M.current,e||"",n||r||"text",i||""),a=F(M.current,t||"",o||r||"text",c||"");j.current?.setModel({original:u,modified:a})},[r,t,o,e,n,i,c]),C=(0,A.useCallback)(()=>{!k.current&&E.current&&(j.current=M.current.editor.createDiffEditor(E.current,{automaticLayout:!0,...f}),S(),M.current?.editor.setTheme(l),v(!0),k.current=!0)},[f,l,S]);return(0,A.useEffect)(()=>{b&&P.current(j.current,M.current)},[b]),(0,A.useEffect)(()=>{O||b||C()},[O,b,C]),A.createElement(_,{width:g,height:d,isEditorReady:b,loading:s,_ref:E,className:p,wrapperProps:h})});var B=function(e){let t=(0,A.useRef)();return(0,A.useEffect)(()=>{t.current=e},[e]),t.current},W=new Map,Y=(0,A.memo)(function({defaultValue:e,defaultLanguage:t,defaultPath:r,value:n,language:o,path:i,theme:c="light",line:u,loading:a="Loading...",options:l={},overrideServices:s={},saveViewState:f=!0,keepCurrentModel:d=!1,width:g="100%",height:p="100%",className:h,wrapperProps:y={},beforeMount:m=z,onMount:b=z,onChange:v,onValidate:O=z}){let[w,j]=(0,A.useState)(!1),[M,E]=(0,A.useState)(!0),P=(0,A.useRef)(null),R=(0,A.useRef)(null),k=(0,A.useRef)(null),S=(0,A.useRef)(b),C=(0,A.useRef)(m),T=(0,A.useRef)(),x=(0,A.useRef)(n),V=B(i),D=(0,A.useRef)(!1),L=(0,A.useRef)(!1);N(()=>{let e=I.init();return e.then(e=>(P.current=e)&&E(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>R.current?void(T.current?.dispose(),d?f&&W.set(i,R.current.saveViewState()):R.current.getModel()?.dispose(),R.current.dispose()):e.cancel()}),q(()=>{let c=F(P.current,e||n||"",t||o||"",i||r||"");c!==R.current?.getModel()&&(f&&W.set(V,R.current?.saveViewState()),R.current?.setModel(c),f&&R.current?.restoreViewState(W.get(i)))},[i],w),q(()=>{R.current?.updateOptions(l)},[l],w),q(()=>{R.current&&void 0!==n&&(R.current.getOption(P.current.editor.EditorOption.readOnly)?R.current.setValue(n):n===R.current.getValue()||(L.current=!0,R.current.executeEdits("",[{range:R.current.getModel().getFullModelRange(),text:n,forceMoveMarkers:!0}]),R.current.pushUndoStop(),L.current=!1))},[n],w),q(()=>{let e=R.current?.getModel();e&&o&&P.current?.editor.setModelLanguage(e,o)},[o],w),q(()=>{void 0!==u&&R.current?.revealLine(u)},[u],w),q(()=>{P.current?.editor.setTheme(c)},[c],w);let U=(0,A.useCallback)(()=>{if(!(!k.current||!P.current)&&!D.current){C.current(P.current);let a=i||r,d=F(P.current,n||e||"",t||o||"",a||"");R.current=P.current?.editor.create(k.current,{model:d,automaticLayout:!0,...l},s),f&&R.current.restoreViewState(W.get(a)),P.current.editor.setTheme(c),void 0!==u&&R.current.revealLine(u),j(!0),D.current=!0}},[e,t,r,n,o,i,l,s,f,c,u]);return(0,A.useEffect)(()=>{w&&S.current(R.current,P.current)},[w]),(0,A.useEffect)(()=>{M||w||U()},[M,w,U]),x.current=n,(0,A.useEffect)(()=>{w&&v&&(T.current?.dispose(),T.current=R.current?.onDidChangeModelContent(e=>{L.current||v(R.current.getValue(),e)}))},[w,v]),(0,A.useEffect)(()=>{if(w){let e=P.current.editor.onDidChangeMarkers(e=>{let t=R.current.getModel()?.uri;if(t&&e.find(e=>e.path===t.path)){let e=P.current.editor.getModelMarkers({resource:t});O?.(e)}});return()=>{e?.dispose()}}return()=>{}},[w,O]),A.createElement(_,{width:g,height:p,isEditorReady:w,loading:a,_ref:k,className:h,wrapperProps:y})})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9223-9812a10bb93708cb.js b/dbgpt/app/static/web/_next/static/chunks/9223-91e8b15b990dc8f1.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/9223-9812a10bb93708cb.js rename to dbgpt/app/static/web/_next/static/chunks/9223-91e8b15b990dc8f1.js index 2633eed1a..b45550371 100644 --- a/dbgpt/app/static/web/_next/static/chunks/9223-9812a10bb93708cb.js +++ b/dbgpt/app/static/web/_next/static/chunks/9223-91e8b15b990dc8f1.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9223],{29223:function(e,r,t){t.d(r,{Z:function(){return C}});var n=t(38497),o=t(26869),a=t.n(o),l=t(55385),i=t(37243),c=t(65925),s=t(63346),d=t(3482),u=t(95227),p=t(13859);let b=n.createContext(null);var f=t(54833),v=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let m=n.forwardRef((e,r)=>{var t;let{prefixCls:o,className:m,rootClassName:g,children:h,indeterminate:$=!1,style:y,onMouseEnter:C,onMouseLeave:k,skipGroup:x=!1,disabled:O}=e,S=v(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:w,direction:E,checkbox:Z}=n.useContext(s.E_),j=n.useContext(b),{isFormItemInput:P}=n.useContext(p.aM),N=n.useContext(d.Z),I=null!==(t=(null==j?void 0:j.disabled)||O)&&void 0!==t?t:N,z=n.useRef(S.value);n.useEffect(()=>{null==j||j.registerValue(S.value)},[]),n.useEffect(()=>{if(!x)return S.value!==z.current&&(null==j||j.cancelValue(z.current),null==j||j.registerValue(S.value),z.current=S.value),()=>null==j?void 0:j.cancelValue(S.value)},[S.value]);let B=w("checkbox",o),D=(0,u.Z)(B),[R,M,_]=(0,f.ZP)(B,D),V=Object.assign({},S);j&&!x&&(V.onChange=function(){S.onChange&&S.onChange.apply(S,arguments),j.toggleOption&&j.toggleOption({label:h,value:S.value})},V.name=j.name,V.checked=j.value.includes(S.value));let W=a()(`${B}-wrapper`,{[`${B}-rtl`]:"rtl"===E,[`${B}-wrapper-checked`]:V.checked,[`${B}-wrapper-disabled`]:I,[`${B}-wrapper-in-form-item`]:P},null==Z?void 0:Z.className,m,g,_,D,M),q=a()({[`${B}-indeterminate`]:$},c.A,M);return R(n.createElement(i.Z,{component:"Checkbox",disabled:I},n.createElement("label",{className:W,style:Object.assign(Object.assign({},null==Z?void 0:Z.style),y),onMouseEnter:C,onMouseLeave:k},n.createElement(l.Z,Object.assign({"aria-checked":$?"mixed":void 0},V,{prefixCls:B,className:q,disabled:I,ref:r})),void 0!==h&&n.createElement("span",null,h))))});var g=t(72991),h=t(55598),$=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let y=n.forwardRef((e,r)=>{let{defaultValue:t,children:o,options:l=[],prefixCls:i,className:c,rootClassName:d,style:p,onChange:v}=e,y=$(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:C,direction:k}=n.useContext(s.E_),[x,O]=n.useState(y.value||t||[]),[S,w]=n.useState([]);n.useEffect(()=>{"value"in y&&O(y.value||[])},[y.value]);let E=n.useMemo(()=>l.map(e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e),[l]),Z=C("checkbox",i),j=`${Z}-group`,P=(0,u.Z)(Z),[N,I,z]=(0,f.ZP)(Z,P),B=(0,h.Z)(y,["value","disabled"]),D=l.length?E.map(e=>n.createElement(m,{prefixCls:Z,key:e.value.toString(),disabled:"disabled"in e?e.disabled:y.disabled,value:e.value,checked:x.includes(e.value),onChange:e.onChange,className:`${j}-item`,style:e.style,title:e.title,id:e.id,required:e.required},e.label)):o,R={toggleOption:e=>{let r=x.indexOf(e.value),t=(0,g.Z)(x);-1===r?t.push(e.value):t.splice(r,1),"value"in y||O(t),null==v||v(t.filter(e=>S.includes(e)).sort((e,r)=>{let t=E.findIndex(r=>r.value===e),n=E.findIndex(e=>e.value===r);return t-n}))},value:x,disabled:y.disabled,name:y.name,registerValue:e=>{w(r=>[].concat((0,g.Z)(r),[e]))},cancelValue:e=>{w(r=>r.filter(r=>r!==e))}},M=a()(j,{[`${j}-rtl`]:"rtl"===k},c,d,z,P,I);return N(n.createElement("div",Object.assign({className:M,style:p},B,{ref:r}),n.createElement(b.Provider,{value:R},D)))});m.Group=y,m.__ANT_CHECKBOX=!0;var C=m},54833:function(e,r,t){t.d(r,{C2:function(){return c}});var n=t(72178),o=t(60848),a=t(74934),l=t(90102);let i=e=>{let{checkboxCls:r}=e,t=`${r}-wrapper`;return[{[`${r}-group`]:Object.assign(Object.assign({},(0,o.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[t]:Object.assign(Object.assign({},(0,o.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${t}`]:{marginInlineStart:0},[`&${t}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[r]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${r}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${r}-inner`]:Object.assign({},(0,o.oN)(e))},[`${r}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${(0,n.bf)(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9223],{29223:function(e,r,t){t.d(r,{Z:function(){return C}});var n=t(38497),o=t(26869),a=t.n(o),l=t(55385),i=t(37243),c=t(65925),s=t(63346),d=t(3482),u=t(95227),p=t(13859);let b=n.createContext(null);var f=t(54833),v=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let m=n.forwardRef((e,r)=>{var t;let{prefixCls:o,className:m,rootClassName:g,children:h,indeterminate:$=!1,style:y,onMouseEnter:C,onMouseLeave:k,skipGroup:x=!1,disabled:O}=e,S=v(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:w,direction:E,checkbox:Z}=n.useContext(s.E_),j=n.useContext(b),{isFormItemInput:P}=n.useContext(p.aM),N=n.useContext(d.Z),I=null!==(t=(null==j?void 0:j.disabled)||O)&&void 0!==t?t:N,z=n.useRef(S.value);n.useEffect(()=>{null==j||j.registerValue(S.value)},[]),n.useEffect(()=>{if(!x)return S.value!==z.current&&(null==j||j.cancelValue(z.current),null==j||j.registerValue(S.value),z.current=S.value),()=>null==j?void 0:j.cancelValue(S.value)},[S.value]);let B=w("checkbox",o),D=(0,u.Z)(B),[R,M,_]=(0,f.ZP)(B,D),V=Object.assign({},S);j&&!x&&(V.onChange=function(){S.onChange&&S.onChange.apply(S,arguments),j.toggleOption&&j.toggleOption({label:h,value:S.value})},V.name=j.name,V.checked=j.value.includes(S.value));let W=a()(`${B}-wrapper`,{[`${B}-rtl`]:"rtl"===E,[`${B}-wrapper-checked`]:V.checked,[`${B}-wrapper-disabled`]:I,[`${B}-wrapper-in-form-item`]:P},null==Z?void 0:Z.className,m,g,_,D,M),q=a()({[`${B}-indeterminate`]:$},c.A,M);return R(n.createElement(i.Z,{component:"Checkbox",disabled:I},n.createElement("label",{className:W,style:Object.assign(Object.assign({},null==Z?void 0:Z.style),y),onMouseEnter:C,onMouseLeave:k},n.createElement(l.Z,Object.assign({"aria-checked":$?"mixed":void 0},V,{prefixCls:B,className:q,disabled:I,ref:r})),void 0!==h&&n.createElement("span",null,h))))});var g=t(72991),h=t(55598),$=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let y=n.forwardRef((e,r)=>{let{defaultValue:t,children:o,options:l=[],prefixCls:i,className:c,rootClassName:d,style:p,onChange:v}=e,y=$(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:C,direction:k}=n.useContext(s.E_),[x,O]=n.useState(y.value||t||[]),[S,w]=n.useState([]);n.useEffect(()=>{"value"in y&&O(y.value||[])},[y.value]);let E=n.useMemo(()=>l.map(e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e),[l]),Z=C("checkbox",i),j=`${Z}-group`,P=(0,u.Z)(Z),[N,I,z]=(0,f.ZP)(Z,P),B=(0,h.Z)(y,["value","disabled"]),D=l.length?E.map(e=>n.createElement(m,{prefixCls:Z,key:e.value.toString(),disabled:"disabled"in e?e.disabled:y.disabled,value:e.value,checked:x.includes(e.value),onChange:e.onChange,className:`${j}-item`,style:e.style,title:e.title,id:e.id,required:e.required},e.label)):o,R={toggleOption:e=>{let r=x.indexOf(e.value),t=(0,g.Z)(x);-1===r?t.push(e.value):t.splice(r,1),"value"in y||O(t),null==v||v(t.filter(e=>S.includes(e)).sort((e,r)=>{let t=E.findIndex(r=>r.value===e),n=E.findIndex(e=>e.value===r);return t-n}))},value:x,disabled:y.disabled,name:y.name,registerValue:e=>{w(r=>[].concat((0,g.Z)(r),[e]))},cancelValue:e=>{w(r=>r.filter(r=>r!==e))}},M=a()(j,{[`${j}-rtl`]:"rtl"===k},c,d,z,P,I);return N(n.createElement("div",Object.assign({className:M,style:p},B,{ref:r}),n.createElement(b.Provider,{value:R},D)))});m.Group=y,m.__ANT_CHECKBOX=!0;var C=m},54833:function(e,r,t){t.d(r,{C2:function(){return c}});var n=t(38083),o=t(60848),a=t(74934),l=t(90102);let i=e=>{let{checkboxCls:r}=e,t=`${r}-wrapper`;return[{[`${r}-group`]:Object.assign(Object.assign({},(0,o.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[t]:Object.assign(Object.assign({},(0,o.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${t}`]:{marginInlineStart:0},[`&${t}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[r]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${r}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${r}-inner`]:Object.assign({},(0,o.oN)(e))},[`${r}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${(0,n.bf)(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` ${t}:not(${t}-disabled), ${r}:not(${r}-disabled) `]:{[`&:hover ${r}-inner`]:{borderColor:e.colorPrimary}},[`${t}:not(${t}-disabled)`]:{[`&:hover ${r}-checked:not(${r}-disabled) ${r}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${r}-checked:not(${r}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${r}-checked`]:{[`${r}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[` diff --git a/dbgpt/app/static/web/_next/static/chunks/9305-8f4e7d2b774e3b80.js b/dbgpt/app/static/web/_next/static/chunks/9305-8f4e7d2b774e3b80.js new file mode 100644 index 000000000..c149d2667 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9305-8f4e7d2b774e3b80.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9305,9788,1708,9383,100,2117],{96890:function(e,r,t){t.d(r,{Z:function(){return u}});var o=t(42096),n=t(10921),c=t(38497),l=t(42834),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var o=document.createElement("script");o.setAttribute("src",t),o.setAttribute("data-namespace",t),e.length>r+1&&(o.onload=function(){s(e,r+1)},o.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(o)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,n.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,o.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},67620:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},98028:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},71534:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},1858:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},72828:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},31676:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},32857:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},49030:function(e,r,t){t.d(r,{Z:function(){return z}});var o=t(38497),n=t(26869),c=t.n(n),l=t(55598),a=t(55853),i=t(35883),s=t(55091),u=t(37243),d=t(63346),f=t(38083),g=t(51084),h=t(60848),p=t(74934),v=t(90102);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:o,componentCls:n,calc:c}=e,l=c(o).sub(t).equal(),a=c(r).sub(t).equal();return{[n]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:o}=e,n=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:n,tagLineHeight:(0,f.bf)(o(e.lineHeightSM).mul(n).equal()),tagIconSize:o(t).sub(o(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let w=o.forwardRef((e,r)=>{let{prefixCls:t,style:n,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=o.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(o.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},n),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var $=t(86553);let x=e=>(0,$.Z)(e,(r,t)=>{let{textColor:o,lightBorderColor:n,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:o,background:c,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return x(r)},C);let E=(e,r,t)=>{let o=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let S=o.forwardRef((e,r)=>{let{prefixCls:t,className:n,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:$,tag:x}=o.useContext(d.E_),[E,S]=o.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);o.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==x?void 0:x.style),g),P=w("tag",t),[I,N,R]=y(P),T=c()(P,null==x?void 0:x.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===$,[`${P}-borderless`]:!b},n,f,N,R),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)(x),{closable:!1,closeIconRender:e=>{let r=o.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?o.createElement(o.Fragment,null,q,h&&o.createElement("span",null,h)):h,D=o.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&o.createElement(Z,{key:"preset",prefixCls:P}),M&&o.createElement(H,{key:"status",prefixCls:P}));return I(_?o.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9356-7aa25cb87b71120c.js b/dbgpt/app/static/web/_next/static/chunks/9356-7aa25cb87b71120c.js deleted file mode 100644 index 702db9c7f..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/9356-7aa25cb87b71120c.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9356,7343],{96890:function(e,t,r){r.d(t,{Z:function(){return d}});var n=r(42096),a=r(10921),o=r(38497),l=r(42834),i=["type","children"],c=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[t];if("string"==typeof r&&r.length&&!c.has(r)){var n=document.createElement("script");n.setAttribute("src",r),n.setAttribute("data-namespace",r),e.length>t+1&&(n.onload=function(){s(e,t+1)},n.onerror=function(){s(e,t+1)}),c.add(r),document.body.appendChild(n)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,r=e.extraCommonProps,c=void 0===r?{}:r;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var d=o.forwardRef(function(e,t){var r=e.type,s=e.children,d=(0,a.Z)(e,i),u=null;return e.type&&(u=o.createElement("use",{xlinkHref:"#".concat(r)})),s&&(u=s),o.createElement(l.Z,(0,n.Z)({},c,d,{ref:t}),u)});return d.displayName="Iconfont",d}},67620:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),a=r(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=r(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},98028:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),a=r(38497),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=r(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},71534:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),a=r(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},l=r(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},3936:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),a=r(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},l=r(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},1858:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),a=r(38497),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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=r(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},72828:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),a=r(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=r(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},31676:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),a=r(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=r(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},32857:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(42096),a=r(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=r(75651),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},92670:function(e,t,r){r.d(t,{Z:function(){return H}});var n=r(38497),a=r(26869),o=r.n(a),l=r(10469),i=r(66168),c=r(55091),s=r(63346),d=r(12299),u=r(749);let f=e=>{let{children:t}=e,{getPrefixCls:r}=n.useContext(s.E_),a=r("breadcrumb");return n.createElement("li",{className:`${a}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};f.__ANT_BREADCRUMB_SEPARATOR=!0;var b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};function m(e,t,r,a){if(null==r)return null;let{className:l,onClick:c}=t,s=b(t,["className","onClick"]),d=Object.assign(Object.assign({},(0,i.Z)(s,{data:!0,aria:!0})),{onClick:c});return void 0!==a?n.createElement("a",Object.assign({},d,{className:o()(`${e}-link`,l),href:a}),r):n.createElement("span",Object.assign({},d,{className:o()(`${e}-link`,l)}),r)}var g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let p=e=>{let{prefixCls:t,separator:r="/",children:a,menu:o,overlay:l,dropdownProps:i,href:c}=e,s=(e=>{if(o||l){let r=Object.assign({},i);if(o){let e=o||{},{items:t}=e,a=g(e,["items"]);r.menu=Object.assign(Object.assign({},a),{items:null==t?void 0:t.map((e,t)=>{var{key:r,title:a,label:o,path:l}=e,i=g(e,["key","title","label","path"]);let s=null!=o?o:a;return l&&(s=n.createElement("a",{href:`${c}${l}`},s)),Object.assign(Object.assign({},i),{key:null!=r?r:t,label:s})})})}else l&&(r.overlay=l);return n.createElement(u.Z,Object.assign({placement:"bottom"},r),n.createElement("span",{className:`${t}-overlay-link`},e,n.createElement(d.Z,null)))}return e})(a);return null!=s?n.createElement(n.Fragment,null,n.createElement("li",null,s),r&&n.createElement(f,null,r)):null},h=e=>{let{prefixCls:t,children:r,href:a}=e,o=g(e,["prefixCls","children","href"]),{getPrefixCls:l}=n.useContext(s.E_),i=l("breadcrumb",t);return n.createElement(p,Object.assign({},o,{prefixCls:i}),m(i,o,r,a))};h.__ANT_BREADCRUMB_ITEM=!0;var v=r(72178),y=r(60848),$=r(90102),O=r(74934);let S=e=>{let{componentCls:t,iconCls:r,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,y.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[r]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${(0,v.bf)(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:n(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,y.Qy)(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` - > ${r} + span, - > ${r} + a - `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${(0,v.bf)(e.paddingXXS)}`,marginInline:n(e.marginXXS).mul(-1).equal(),[`> ${r}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}};var x=(0,$.I$)("Breadcrumb",e=>{let t=(0,O.IX)(e,{});return S(t)},e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS})),j=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};function E(e){let{breadcrumbName:t,children:r}=e,n=j(e,["breadcrumbName","children"]),a=Object.assign({title:t},n);return r&&(a.menu={items:r.map(e=>{var{breadcrumbName:t}=e;return Object.assign(Object.assign({},j(e,["breadcrumbName"])),{title:t})})}),a}var w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let C=(e,t)=>{if(void 0===t)return t;let r=(t||"").replace(/^\//,"");return Object.keys(e).forEach(t=>{r=r.replace(`:${t}`,e[t])}),r},z=e=>{let t;let{prefixCls:r,separator:a="/",style:d,className:u,rootClassName:b,routes:g,items:h,children:v,itemRender:y,params:$={}}=e,O=w(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:S,direction:j,breadcrumb:z}=n.useContext(s.E_),H=S("breadcrumb",r),[N,k,R]=x(H),Z=(0,n.useMemo)(()=>h||(g?g.map(E):null),[h,g]),M=(e,t,r,n,a)=>{if(y)return y(e,t,r,n);let o=function(e,t){if(void 0===e.title||null===e.title)return null;let r=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(RegExp(`:(${r})`,"g"),(e,r)=>t[r]||e)}(e,t);return m(H,e,o,a)};if(Z&&Z.length>0){let e=[],r=h||g;t=Z.map((t,o)=>{let{path:l,key:c,type:s,menu:d,overlay:u,onClick:b,className:m,separator:g,dropdownProps:h}=t,v=C($,l);void 0!==v&&e.push(v);let y=null!=c?c:o;if("separator"===s)return n.createElement(f,{key:y},g);let O={},S=o===Z.length-1;d?O.menu=d:u&&(O.overlay=u);let{href:x}=t;return e.length&&void 0!==v&&(x=`#/${e.join("/")}`),n.createElement(p,Object.assign({key:y},O,(0,i.Z)(t,{data:!0,aria:!0}),{className:m,dropdownProps:h,href:x,separator:S?"":a,onClick:b,prefixCls:H}),M(t,$,r,e,x))})}else if(v){let e=(0,l.Z)(v).length;t=(0,l.Z)(v).map((t,r)=>t?(0,c.Tm)(t,{separator:r===e-1?"":a,key:r}):t)}let I=o()(H,null==z?void 0:z.className,{[`${H}-rtl`]:"rtl"===j},u,b,k,R),T=Object.assign(Object.assign({},null==z?void 0:z.style),d);return N(n.createElement("nav",Object.assign({className:I,style:T},O),n.createElement("ol",null,t)))};z.Item=h,z.Separator=f;var H=z},67343:function(e,t,r){r.d(t,{Z:function(){return N}});var n=r(38497),a=r(26869),o=r.n(a),l=r(55598),i=r(63346),c=r(82014),s=r(15247),d=r(5996),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},f=e=>{var{prefixCls:t,className:r,hoverable:a=!0}=e,l=u(e,["prefixCls","className","hoverable"]);let{getPrefixCls:c}=n.useContext(i.E_),s=c("card",t),d=o()(`${s}-grid`,r,{[`${s}-grid-hoverable`]:a});return n.createElement("div",Object.assign({},l,{className:d}))},b=r(72178),m=r(60848),g=r(90102),p=r(74934);let h=e=>{let{antCls:t,componentCls:r,headerHeight:n,cardPaddingBase:a,tabsMarginBottom:o}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${(0,b.bf)(a)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)} 0 0`},(0,m.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},m.vS),{[` - > ${r}-typography, - > ${r}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:o,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},v=e=>{let{cardPaddingBase:t,colorBorderSecondary:r,cardShadow:n,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` - ${(0,b.bf)(a)} 0 0 0 ${r}, - 0 ${(0,b.bf)(a)} 0 0 ${r}, - ${(0,b.bf)(a)} ${(0,b.bf)(a)} 0 0 ${r}, - ${(0,b.bf)(a)} 0 0 0 ${r} inset, - 0 ${(0,b.bf)(a)} 0 0 ${r} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},y=e=>{let{componentCls:t,iconCls:r,actionsLiMargin:n,cardActionsIconSize:a,colorBorderSecondary:o,actionsBg:l}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:l,borderTop:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${o}`,display:"flex",borderRadius:`0 0 ${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)}`},(0,m.dF)()),{"& > li":{margin:n,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${r}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,b.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${r}`]:{fontSize:a,lineHeight:(0,b.bf)(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${o}`}}})},$=e=>Object.assign(Object.assign({margin:`${(0,b.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,m.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},m.vS),"&-description":{color:e.colorTextDescription}}),O=e=>{let{componentCls:t,cardPaddingBase:r,colorFillAlter:n}=e;return{[`${t}-head`]:{padding:`0 ${(0,b.bf)(r)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,b.bf)(e.padding)} ${(0,b.bf)(r)}`}}},S=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},x=e=>{let{componentCls:t,cardShadow:r,cardHeadPadding:n,colorBorderSecondary:a,boxShadowTertiary:o,cardPaddingBase:l,extraColor:i}=e;return{[t]:Object.assign(Object.assign({},(0,m.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:o},[`${t}-head`]:h(e),[`${t}-extra`]:{marginInlineStart:"auto",color:i,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:l,borderRadius:`0 0 ${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)}`},(0,m.dF)()),[`${t}-grid`]:v(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:y(e),[`${t}-meta`]:$(e)}),[`${t}-bordered`]:{border:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${t}-contain-grid`]:{borderRadius:`${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:n}}},[`${t}-type-inner`]:O(e),[`${t}-loading`]:S(e),[`${t}-rtl`]:{direction:"rtl"}}},j=e=>{let{componentCls:t,cardPaddingSM:r,headerHeightSM:n,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:n,padding:`0 ${(0,b.bf)(r)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:r}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}};var E=(0,g.I$)("Card",e=>{let t=(0,p.IX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[x(t),j(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let C=e=>{let{actionClasses:t,actions:r=[],actionStyle:a}=e;return n.createElement("ul",{className:t,style:a},r.map((e,t)=>{let a=`action-${t}`;return n.createElement("li",{style:{width:`${100/r.length}%`},key:a},n.createElement("span",null,e))}))},z=n.forwardRef((e,t)=>{let r;let{prefixCls:a,className:u,rootClassName:b,style:m,extra:g,headStyle:p={},bodyStyle:h={},title:v,loading:y,bordered:$=!0,size:O,type:S,cover:x,actions:j,tabList:z,children:H,activeTabKey:N,defaultActiveTabKey:k,tabBarExtraContent:R,hoverable:Z,tabProps:M={},classNames:I,styles:T}=e,B=w(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:P,direction:L,card:W}=n.useContext(i.E_),X=e=>{var t;return o()(null===(t=null==W?void 0:W.classNames)||void 0===t?void 0:t[e],null==I?void 0:I[e])},_=e=>{var t;return Object.assign(Object.assign({},null===(t=null==W?void 0:W.styles)||void 0===t?void 0:t[e]),null==T?void 0:T[e])},G=n.useMemo(()=>{let e=!1;return n.Children.forEach(H,t=>{(null==t?void 0:t.type)===f&&(e=!0)}),e},[H]),A=P("card",a),[D,V,F]=E(A),q=n.createElement(s.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},H),K=void 0!==N,U=Object.assign(Object.assign({},M),{[K?"activeKey":"defaultActiveKey"]:K?N:k,tabBarExtraContent:R}),Q=(0,c.Z)(O),J=z?n.createElement(d.Z,Object.assign({size:Q&&"default"!==Q?Q:"large"},U,{className:`${A}-head-tabs`,onChange:t=>{var r;null===(r=e.onTabChange)||void 0===r||r.call(e,t)},items:z.map(e=>{var{tab:t}=e;return Object.assign({label:t},w(e,["tab"]))})})):null;if(v||g||J){let e=o()(`${A}-head`,X("header")),t=o()(`${A}-head-title`,X("title")),a=o()(`${A}-extra`,X("extra")),l=Object.assign(Object.assign({},p),_("header"));r=n.createElement("div",{className:e,style:l},n.createElement("div",{className:`${A}-head-wrapper`},v&&n.createElement("div",{className:t,style:_("title")},v),g&&n.createElement("div",{className:a,style:_("extra")},g)),J)}let Y=o()(`${A}-cover`,X("cover")),ee=x?n.createElement("div",{className:Y,style:_("cover")},x):null,et=o()(`${A}-body`,X("body")),er=Object.assign(Object.assign({},h),_("body")),en=n.createElement("div",{className:et,style:er},y?q:H),ea=o()(`${A}-actions`,X("actions")),eo=(null==j?void 0:j.length)?n.createElement(C,{actionClasses:ea,actionStyle:_("actions"),actions:j}):null,el=(0,l.Z)(B,["onTabChange"]),ei=o()(A,null==W?void 0:W.className,{[`${A}-loading`]:y,[`${A}-bordered`]:$,[`${A}-hoverable`]:Z,[`${A}-contain-grid`]:G,[`${A}-contain-tabs`]:null==z?void 0:z.length,[`${A}-${Q}`]:Q,[`${A}-type-${S}`]:!!S,[`${A}-rtl`]:"rtl"===L},u,b,V,F),ec=Object.assign(Object.assign({},null==W?void 0:W.style),m);return D(n.createElement("div",Object.assign({ref:t},el,{className:ei,style:ec}),r,ee,en,eo))});var H=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};z.Grid=f,z.Meta=e=>{let{prefixCls:t,className:r,avatar:a,title:l,description:c}=e,s=H(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:d}=n.useContext(i.E_),u=d("card",t),f=o()(`${u}-meta`,r),b=a?n.createElement("div",{className:`${u}-meta-avatar`},a):null,m=l?n.createElement("div",{className:`${u}-meta-title`},l):null,g=c?n.createElement("div",{className:`${u}-meta-description`},c):null,p=m||g?n.createElement("div",{className:`${u}-meta-detail`},m,g):null;return n.createElement("div",Object.assign({},s,{className:f}),b,p)};var N=z}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9383-dd71c50c481f8d7a.js b/dbgpt/app/static/web/_next/static/chunks/9383-dd71c50c481f8d7a.js new file mode 100644 index 000000000..a7b4aa8cd --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9383-dd71c50c481f8d7a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9383,9788,1708,100,9305,2117],{96890:function(e,r,t){t.d(r,{Z:function(){return u}});var o=t(42096),n=t(10921),c=t(38497),l=t(42834),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var o=document.createElement("script");o.setAttribute("src",t),o.setAttribute("data-namespace",t),e.length>r+1&&(o.onload=function(){s(e,r+1)},o.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(o)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,n.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,o.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},67620:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},98028:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},71534:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},1858:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},72828:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},31676:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},32857:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},49030:function(e,r,t){t.d(r,{Z:function(){return z}});var o=t(38497),n=t(26869),c=t.n(n),l=t(55598),a=t(55853),i=t(35883),s=t(55091),u=t(37243),d=t(63346),f=t(38083),g=t(51084),h=t(60848),p=t(74934),v=t(90102);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:o,componentCls:n,calc:c}=e,l=c(o).sub(t).equal(),a=c(r).sub(t).equal();return{[n]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:o}=e,n=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:n,tagLineHeight:(0,f.bf)(o(e.lineHeightSM).mul(n).equal()),tagIconSize:o(t).sub(o(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let w=o.forwardRef((e,r)=>{let{prefixCls:t,style:n,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=o.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(o.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},n),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var $=t(86553);let x=e=>(0,$.Z)(e,(r,t)=>{let{textColor:o,lightBorderColor:n,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:o,background:c,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return x(r)},C);let E=(e,r,t)=>{let o=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let S=o.forwardRef((e,r)=>{let{prefixCls:t,className:n,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:$,tag:x}=o.useContext(d.E_),[E,S]=o.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);o.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==x?void 0:x.style),g),P=w("tag",t),[I,N,R]=y(P),T=c()(P,null==x?void 0:x.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===$,[`${P}-borderless`]:!b},n,f,N,R),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)(x),{closable:!1,closeIconRender:e=>{let r=o.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?o.createElement(o.Fragment,null,q,h&&o.createElement("span",null,h)):h,D=o.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&o.createElement(Z,{key:"preset",prefixCls:P}),M&&o.createElement(H,{key:"status",prefixCls:P}));return I(_?o.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9549-077f6f16a2a779c6.js b/dbgpt/app/static/web/_next/static/chunks/9549-5d0f50d620a0f606.js similarity index 97% rename from dbgpt/app/static/web/_next/static/chunks/9549-077f6f16a2a779c6.js rename to dbgpt/app/static/web/_next/static/chunks/9549-5d0f50d620a0f606.js index 4fc594bb0..d66ceeafd 100644 --- a/dbgpt/app/static/web/_next/static/chunks/9549-077f6f16a2a779c6.js +++ b/dbgpt/app/static/web/_next/static/chunks/9549-5d0f50d620a0f606.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9549],{5157:function(e,t,l){l.r(t);var n=l(96469),r=l(26953),a=l(98028),i=l(95891),s=l(21840),o=l(93486),c=l.n(o),d=l(38497),u=l(29549);t.default=(0,d.memo)(()=>{var e;let{appInfo:t}=(0,d.useContext)(u.MobileChatContext),{message:l}=i.Z.useApp(),[o,m]=(0,d.useState)(0);if(!(null==t?void 0:t.app_code))return null;let v=async()=>{let e=c()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));l[e?"success":"error"](e?"复制成功":"复制失败")};return o>6&&l.info(JSON.stringify(window.navigator.userAgent),2,()=>{m(0)}),(0,n.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,n.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>m(o+1),children:[(0,n.jsx)(r.Z,{scene:(null==t?void 0:null===(e=t.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,n.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,n.jsx)(s.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==t?void 0:t.app_name}),(0,n.jsx)(s.Z.Text,{className:"text-sm line-clamp-2",children:null==t?void 0:t.app_describe})]})]}),(0,n.jsx)("div",{onClick:v,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,n.jsx)(a.Z,{className:"text-lg"})})]})})},86364:function(e,t,l){l.r(t);var n=l(96469),r=l(27623),a=l(7289),i=l(88506),s=l(1858),o=l(72828),c=l(37022),d=l(67620),u=l(31676),m=l(44875),v=l(16602),x=l(49030),p=l(62971),h=l(42786),f=l(41999),g=l(27691),b=l(26869),j=l.n(b),y=l(45875),w=l(38497),_=l(29549),N=l(95433),k=l(14035),C=l(55238),Z=l(75299);let S=["magenta","orange","geekblue","purple","cyan","green"];t.default=()=>{var e,t;let l=(0,y.useSearchParams)(),b=null!==(t=null==l?void 0:l.get("ques"))&&void 0!==t?t:"",{history:R,model:E,scene:M,temperature:O,resource:A,conv_uid:P,appInfo:T,scrollViewRef:V,order:z,userInput:D,ctrl:I,canAbort:J,canNewChat:L,setHistory:U,setCanNewChat:q,setCarAbort:H,setUserInput:W}=(0,w.useContext)(_.MobileChatContext),[$,B]=(0,w.useState)(!1),[F,K]=(0,w.useState)(!1),G=async e=>{var t,l,n;W(""),I.current=new AbortController;let r={chat_mode:M,model_name:E,user_input:e||D,conv_uid:P,temperature:O,app_code:null==T?void 0:T.app_code,...A&&{select_param:JSON.stringify(A)}};if(R&&R.length>0){let e=null==R?void 0:R.filter(e=>"view"===e.role);z.current=e[e.length-1].order+1}let s=[{role:"human",context:e||D,model_name:E,order:z.current,time_stamp:0},{role:"view",context:"",model_name:E,order:z.current,time_stamp:0,thinking:!0}],o=s.length-1;U([...R,...s]),q(!1);try{await (0,m.L)("".concat(null!==(t=Z.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[i.gp]:null!==(l=(0,a.n5)())&&void 0!==l?l:""},signal:I.current.signal,body:JSON.stringify(r),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===m.a)return},onclose(){var e;null===(e=I.current)||void 0===e||e.abort(),q(!0),H(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(q(!0),H(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(s[o].context=null==t?void 0:t.replace("[ERROR]",""),s[o].thinking=!1,U([...R,...s]),q(!0),H(!1)):(H(!0),s[o].context=t,s[o].thinking=!1,U([...R,...s]))}})}catch(e){null===(n=I.current)||void 0===n||n.abort(),s[o].context="Sorry, we meet some error, please try again later.",s[o].thinking=!1,U([...s]),q(!0),H(!1)}},Q=async()=>{D.trim()&&L&&await G()};(0,w.useEffect)(()=>{var e,t;null===(e=V.current)||void 0===e||e.scrollTo({top:null===(t=V.current)||void 0===t?void 0:t.scrollHeight,behavior:"auto"})},[R,V]);let X=(0,w.useMemo)(()=>{if(!T)return[];let{param_need:e=[]}=T;return null==e?void 0:e.map(e=>e.type)},[T]),Y=(0,w.useMemo)(()=>{var e;return 0===R.length&&T&&!!(null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.length)},[R,T]),{run:ee,loading:et}=(0,v.Z)(async()=>await (0,r.Vx)((0,r.zR)(P)),{manual:!0,onSuccess:()=>{U([])}});return(0,w.useEffect)(()=>{b&&E&&P&&T&&G(b)},[T,P,E,b]),(0,n.jsxs)("div",{className:"flex flex-col",children:[Y&&(0,n.jsx)("ul",{children:null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.map((e,t)=>(0,n.jsx)("li",{className:"mb-3",children:(0,n.jsx)(x.Z,{color:S[t],className:"p-2 rounded-xl",onClick:async()=>{G(e.question)},children:e.question})},e.id))}),(0,n.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,n.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==X?void 0:X.includes("model"))&&(0,n.jsx)(N.default,{}),(null==X?void 0:X.includes("resource"))&&(0,n.jsx)(k.default,{}),(null==X?void 0:X.includes("temperature"))&&(0,n.jsx)(C.default,{})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,n.jsx)(p.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(s.Z,{className:j()("p-2 cursor-pointer",{"text-[#0c75fc]":J,"text-gray-400":!J}),onClick:()=>{var e;J&&(null===(e=I.current)||void 0===e||e.abort(),setTimeout(()=>{H(!1),q(!0)},100))}})}),(0,n.jsx)(p.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(o.Z,{className:j()("p-2 cursor-pointer",{"text-gray-400":!R.length||!L}),onClick:()=>{var e,t;if(!L||0===R.length)return;let l=null===(e=null===(t=R.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];G((null==l?void 0:l.context)||"")}})}),et?(0,n.jsx)(h.Z,{spinning:et,indicator:(0,n.jsx)(c.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,n.jsx)(p.Z,{content:"清除历史",trigger:["hover"],children:(0,n.jsx)(d.Z,{className:j()("p-2 cursor-pointer",{"text-gray-400":!R.length||!L}),onClick:()=>{L&&ee()}})})]})]}),(0,n.jsxs)("div",{className:j()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":$}),children:[(0,n.jsx)(f.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:D,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(F){e.preventDefault();return}D.trim()&&(e.preventDefault(),Q())}},onChange:e=>{W(e.target.value)},onFocus:()=>{B(!0)},onBlur:()=>B(!1),onCompositionStartCapture:()=>{K(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{K(!1)},0)}}),(0,n.jsx)(g.ZP,{type:"primary",className:j()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!D.trim()||!L}),onClick:Q,children:L?(0,n.jsx)(u.Z,{}):(0,n.jsx)(h.Z,{indicator:(0,n.jsx)(c.Z,{className:"text-white"})})})]})]})}},95433:function(e,t,l){l.r(t);var n=l(96469),r=l(61977),a=l(45277),i=l(32857),s=l(80335),o=l(62971),c=l(38497),d=l(29549);t.default=()=>{let{modelList:e}=(0,c.useContext)(a.p),{model:t,setModel:l}=(0,c.useContext)(d.MobileChatContext),u=(0,c.useMemo)(()=>e.length>0?e.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{l(e)},children:[(0,n.jsx)(r.Z,{width:14,height:14,model:e}),(0,n.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,l]);return(0,n.jsx)(s.Z,{menu:{items:u},placement:"top",trigger:["click"],children:(0,n.jsx)(o.Z,{content:t,children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(r.Z,{width:16,height:16,model:t}),(0,n.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:t}),(0,n.jsx)(i.Z,{rotate:90})]})})})}},33389:function(e,t,l){l.r(t);var n=l(96469),r=l(23852),a=l.n(r),i=l(38497);t.default=(0,i.memo)(e=>{let{width:t,height:l,src:r,label:i}=e;return(0,n.jsx)(a(),{width:t||14,height:l||14,src:r,alt:i||"db-icon",priority:!0})})},14035:function(e,t,l){l.r(t);var n=l(96469),r=l(27623),a=l(7289),i=l(37022),s=l(32857),o=l(71534),c=l(16602),d=l(42786),u=l(19389),m=l(80335),v=l(38497),x=l(29549),p=l(33389);t.default=()=>{let{appInfo:e,resourceList:t,scene:l,model:h,conv_uid:f,getChatHistoryRun:g,setResource:b,resource:j}=(0,v.useContext)(x.MobileChatContext),[y,w]=(0,v.useState)(null),_=(0,v.useMemo)(()=>{var t,l,n;return null===(t=null==e?void 0:null===(l=e.param_need)||void 0===l?void 0:l.filter(e=>"resource"===e.type))||void 0===t?void 0:null===(n=t[0])||void 0===n?void 0:n.value},[e]),N=(0,v.useMemo)(()=>t&&t.length>0?t.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{w(e),b(e.space_id||e.param)},children:[(0,n.jsx)(p.default,{width:14,height:14,src:a.S$[e.type].icon,label:a.S$[e.type].label}),(0,n.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[t,b]),{run:k,loading:C}=(0,c.Z)(async e=>{let[,t]=await (0,r.Vx)((0,r.qn)({convUid:f,chatMode:l,data:e,model:h,config:{timeout:36e5}}));return b(t),t},{manual:!0,onSuccess:async()=>{await g()}}),Z=async e=>{let t=new FormData;t.append("doc_file",null==e?void 0:e.file),await k(t)},S=(0,v.useMemo)(()=>C?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(d.Z,{size:"small",indicator:(0,n.jsx)(i.Z,{spin:!0})}),(0,n.jsx)("span",{className:"text-xs",children:"上传中"})]}):j?(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)("span",{className:"text-xs",children:j.file_name}),(0,n.jsx)(s.Z,{rotate:90})]}):(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(o.Z,{className:"text-base"}),(0,n.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[C,j]);return(0,n.jsx)(n.Fragment,{children:(()=>{switch(_){case"excel_file":case"text_file":case"image_file":return(0,n.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,n.jsx)(u.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:Z,className:"flex h-full w-full items-center justify-center",children:S})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,l,r,i,o;if(!(null==t?void 0:t.length))return null;return(0,n.jsx)(m.Z,{menu:{items:N},placement:"top",trigger:["click"],children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(p.default,{width:14,height:14,src:null===(e=a.S$[(null==y?void 0:y.type)||(null==t?void 0:null===(l=t[0])||void 0===l?void 0:l.type)])||void 0===e?void 0:e.icon,label:null===(r=a.S$[(null==y?void 0:y.type)||(null==t?void 0:null===(i=t[0])||void 0===i?void 0:i.type)])||void 0===r?void 0:r.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==y?void 0:y.param)||(null==t?void 0:null===(o=t[0])||void 0===o?void 0:o.param)}),(0,n.jsx)(s.Z,{rotate:90})]})})}})()})}},55238:function(e,t,l){l.r(t);var n=l(96469),r=l(80335),a=l(28822),i=l(38497),s=l(29549),o=l(58526);t.default=()=>{let{temperature:e,setTemperature:t}=(0,i.useContext)(s.MobileChatContext),l=e=>{isNaN(e)||t(e)};return(0,n.jsx)(r.Z,{trigger:["click"],dropdownRender:()=>(0,n.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,n.jsx)(a.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:l,value:e})}),placement:"top",children:(0,n.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,n.jsx)(o.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,n.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},29549:function(e,t,l){l.r(t),l.d(t,{MobileChatContext:function(){return j}});var n=l(96469),r=l(45277),a=l(27623),i=l(51310),s=l(7289),o=l(88506),c=l(44875),d=l(16602),u=l(42786),m=l(28469),v=l.n(m),x=l(45875),p=l(38497),h=l(5157),f=l(86364),g=l(75299);let b=v()(()=>Promise.all([l.e(7521),l.e(5197),l.e(6156),l.e(5996),l.e(9223),l.e(3127),l.e(9631),l.e(9790),l.e(4506),l.e(1657),l.e(5444),l.e(3093),l.e(4399),l.e(7463),l.e(6101),l.e(5883),l.e(5891),l.e(2061),l.e(3695)]).then(l.bind(l,33068)),{loadableGenerated:{webpack:()=>[33068]},ssr:!1}),j=(0,p.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});t.default=()=>{var e,t;let l=(0,x.useSearchParams)(),m=null!==(e=null==l?void 0:l.get("chat_scene"))&&void 0!==e?e:"",v=null!==(t=null==l?void 0:l.get("app_code"))&&void 0!==t?t:"",{modelList:y}=(0,p.useContext)(r.p),[w,_]=(0,p.useState)([]),[N,k]=(0,p.useState)(""),[C,Z]=(0,p.useState)(.5),[S,R]=(0,p.useState)(null),E=(0,p.useRef)(null),[M,O]=(0,p.useState)(""),[A,P]=(0,p.useState)(!1),[T,V]=(0,p.useState)(!0),z=(0,p.useRef)(),D=(0,p.useRef)(1),I=(0,i.Z)(),J=(0,p.useMemo)(()=>"".concat(null==I?void 0:I.user_no,"_").concat(v),[v,I]),{run:L,loading:U}=(0,d.Z)(async()=>await (0,a.Vx)((0,a.$i)("".concat(null==I?void 0:I.user_no,"_").concat(v))),{manual:!0,onSuccess:e=>{let[,t]=e,l=null==t?void 0:t.filter(e=>"view"===e.role);l&&l.length>0&&(D.current=l[l.length-1].order+1),_(t||[])}}),{data:q,run:H,loading:W}=(0,d.Z)(async e=>{let[,t]=await (0,a.Vx)((0,a.BN)(e));return null!=t?t:{}},{manual:!0}),{run:$,data:B,loading:F}=(0,d.Z)(async()=>{var e,t;let[,l]=await (0,a.Vx)((0,a.vD)(m));return R((null==l?void 0:null===(e=l[0])||void 0===e?void 0:e.space_id)||(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.param)),null!=l?l:[]},{manual:!0}),{run:K,loading:G}=(0,d.Z)(async()=>{let[,e]=await (0,a.Vx)((0,a.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var t;let l=null===(t=null==e?void 0:e.filter(e=>e.conv_uid===J))||void 0===t?void 0:t[0];(null==l?void 0:l.select_param)&&R(JSON.parse(null==l?void 0:l.select_param))}});(0,p.useEffect)(()=>{m&&v&&y.length&&H({chat_scene:m,app_code:v})},[v,m,H,y]),(0,p.useEffect)(()=>{v&&L()},[v]),(0,p.useEffect)(()=>{if(y.length>0){var e,t,l;let n=null===(e=null==q?void 0:null===(t=q.param_need)||void 0===t?void 0:t.filter(e=>"model"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value;k(n||y[0])}},[y,q]),(0,p.useEffect)(()=>{var e,t,l;let n=null===(e=null==q?void 0:null===(t=q.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value;Z(n||.5)},[q]),(0,p.useEffect)(()=>{if(m&&(null==q?void 0:q.app_code)){var e,t,l,n,r,a;let i=null===(e=null==q?void 0:null===(t=q.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value,s=null===(n=null==q?void 0:null===(r=q.param_need)||void 0===r?void 0:r.filter(e=>"resource"===e.type))||void 0===n?void 0:null===(a=n[0])||void 0===a?void 0:a.bind_value;s&&R(s),["database","knowledge","plugin","awel_flow"].includes(i)&&!s&&$()}},[q,m,$]);let Q=async e=>{var t,l,n;O(""),z.current=new AbortController;let r={chat_mode:m,model_name:N,user_input:e||M,conv_uid:J,temperature:C,app_code:null==q?void 0:q.app_code,...S&&{select_param:S}};if(w&&w.length>0){let e=null==w?void 0:w.filter(e=>"view"===e.role);D.current=e[e.length-1].order+1}let a=[{role:"human",context:e||M,model_name:N,order:D.current,time_stamp:0},{role:"view",context:"",model_name:N,order:D.current,time_stamp:0,thinking:!0}],i=a.length-1;_([...w,...a]),V(!1);try{await (0,c.L)("".concat(null!==(t=g.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(l=(0,s.n5)())&&void 0!==l?l:""},signal:z.current.signal,body:JSON.stringify(r),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===c.a)return},onclose(){var e;null===(e=z.current)||void 0===e||e.abort(),V(!0),P(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(V(!0),P(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(a[i].context=null==t?void 0:t.replace("[ERROR]",""),a[i].thinking=!1,_([...w,...a]),V(!0),P(!1)):(P(!0),a[i].context=t,a[i].thinking=!1,_([...w,...a]))}})}catch(e){null===(n=z.current)||void 0===n||n.abort(),a[i].context="Sorry, we meet some error, please try again later.",a[i].thinking=!1,_([...a]),V(!0),P(!1)}};return(0,p.useEffect)(()=>{m&&"chat_agent"!==m&&K()},[m,K]),(0,n.jsx)(j.Provider,{value:{model:N,resource:S,setModel:k,setTemperature:Z,setResource:R,temperature:C,appInfo:q,conv_uid:J,scene:m,history:w,scrollViewRef:E,setHistory:_,resourceList:B,order:D,handleChat:Q,setCanNewChat:V,ctrl:z,canAbort:A,setCarAbort:P,canNewChat:T,userInput:M,setUserInput:O,getChatHistoryRun:L},children:(0,n.jsx)(u.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:U||W||F||G,children:(0,n.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,n.jsxs)("div",{ref:E,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,n.jsx)(h.default,{}),(0,n.jsx)(b,{})]}),(null==q?void 0:q.app_code)&&(0,n.jsx)(f.default,{})]})})})}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9549],{5157:function(e,t,l){l.r(t);var n=l(96469),r=l(26953),a=l(98028),i=l(95891),s=l(85851),o=l(93486),c=l.n(o),d=l(38497),u=l(29549);t.default=(0,d.memo)(()=>{var e;let{appInfo:t}=(0,d.useContext)(u.MobileChatContext),{message:l}=i.Z.useApp(),[o,m]=(0,d.useState)(0);if(!(null==t?void 0:t.app_code))return null;let v=async()=>{let e=c()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));l[e?"success":"error"](e?"复制成功":"复制失败")};return o>6&&l.info(JSON.stringify(window.navigator.userAgent),2,()=>{m(0)}),(0,n.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,n.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>m(o+1),children:[(0,n.jsx)(r.Z,{scene:(null==t?void 0:null===(e=t.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,n.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,n.jsx)(s.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==t?void 0:t.app_name}),(0,n.jsx)(s.Z.Text,{className:"text-sm line-clamp-2",children:null==t?void 0:t.app_describe})]})]}),(0,n.jsx)("div",{onClick:v,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,n.jsx)(a.Z,{className:"text-lg"})})]})})},86364:function(e,t,l){l.r(t);var n=l(96469),r=l(27623),a=l(7289),i=l(88506),s=l(1858),o=l(72828),c=l(37022),d=l(67620),u=l(31676),m=l(44875),v=l(16602),x=l(49030),p=l(62971),h=l(42786),f=l(71841),g=l(27691),b=l(26869),j=l.n(b),y=l(45875),w=l(38497),_=l(29549),N=l(95433),k=l(14035),C=l(55238),Z=l(75299);let S=["magenta","orange","geekblue","purple","cyan","green"];t.default=()=>{var e,t;let l=(0,y.useSearchParams)(),b=null!==(t=null==l?void 0:l.get("ques"))&&void 0!==t?t:"",{history:R,model:E,scene:M,temperature:O,resource:A,conv_uid:P,appInfo:T,scrollViewRef:V,order:z,userInput:D,ctrl:I,canAbort:J,canNewChat:L,setHistory:U,setCanNewChat:q,setCarAbort:H,setUserInput:W}=(0,w.useContext)(_.MobileChatContext),[$,B]=(0,w.useState)(!1),[F,K]=(0,w.useState)(!1),G=async e=>{var t,l,n;W(""),I.current=new AbortController;let r={chat_mode:M,model_name:E,user_input:e||D,conv_uid:P,temperature:O,app_code:null==T?void 0:T.app_code,...A&&{select_param:JSON.stringify(A)}};if(R&&R.length>0){let e=null==R?void 0:R.filter(e=>"view"===e.role);z.current=e[e.length-1].order+1}let s=[{role:"human",context:e||D,model_name:E,order:z.current,time_stamp:0},{role:"view",context:"",model_name:E,order:z.current,time_stamp:0,thinking:!0}],o=s.length-1;U([...R,...s]),q(!1);try{await (0,m.L)("".concat(null!==(t=Z.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[i.gp]:null!==(l=(0,a.n5)())&&void 0!==l?l:""},signal:I.current.signal,body:JSON.stringify(r),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===m.a)return},onclose(){var e;null===(e=I.current)||void 0===e||e.abort(),q(!0),H(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(q(!0),H(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(s[o].context=null==t?void 0:t.replace("[ERROR]",""),s[o].thinking=!1,U([...R,...s]),q(!0),H(!1)):(H(!0),s[o].context=t,s[o].thinking=!1,U([...R,...s]))}})}catch(e){null===(n=I.current)||void 0===n||n.abort(),s[o].context="Sorry, we meet some error, please try again later.",s[o].thinking=!1,U([...s]),q(!0),H(!1)}},Q=async()=>{D.trim()&&L&&await G()};(0,w.useEffect)(()=>{var e,t;null===(e=V.current)||void 0===e||e.scrollTo({top:null===(t=V.current)||void 0===t?void 0:t.scrollHeight,behavior:"auto"})},[R,V]);let X=(0,w.useMemo)(()=>{if(!T)return[];let{param_need:e=[]}=T;return null==e?void 0:e.map(e=>e.type)},[T]),Y=(0,w.useMemo)(()=>{var e;return 0===R.length&&T&&!!(null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.length)},[R,T]),{run:ee,loading:et}=(0,v.Z)(async()=>await (0,r.Vx)((0,r.zR)(P)),{manual:!0,onSuccess:()=>{U([])}});return(0,w.useEffect)(()=>{b&&E&&P&&T&&G(b)},[T,P,E,b]),(0,n.jsxs)("div",{className:"flex flex-col",children:[Y&&(0,n.jsx)("ul",{children:null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.map((e,t)=>(0,n.jsx)("li",{className:"mb-3",children:(0,n.jsx)(x.Z,{color:S[t],className:"p-2 rounded-xl",onClick:async()=>{G(e.question)},children:e.question})},e.id))}),(0,n.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,n.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==X?void 0:X.includes("model"))&&(0,n.jsx)(N.default,{}),(null==X?void 0:X.includes("resource"))&&(0,n.jsx)(k.default,{}),(null==X?void 0:X.includes("temperature"))&&(0,n.jsx)(C.default,{})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,n.jsx)(p.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(s.Z,{className:j()("p-2 cursor-pointer",{"text-[#0c75fc]":J,"text-gray-400":!J}),onClick:()=>{var e;J&&(null===(e=I.current)||void 0===e||e.abort(),setTimeout(()=>{H(!1),q(!0)},100))}})}),(0,n.jsx)(p.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(o.Z,{className:j()("p-2 cursor-pointer",{"text-gray-400":!R.length||!L}),onClick:()=>{var e,t;if(!L||0===R.length)return;let l=null===(e=null===(t=R.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];G((null==l?void 0:l.context)||"")}})}),et?(0,n.jsx)(h.Z,{spinning:et,indicator:(0,n.jsx)(c.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,n.jsx)(p.Z,{content:"清除历史",trigger:["hover"],children:(0,n.jsx)(d.Z,{className:j()("p-2 cursor-pointer",{"text-gray-400":!R.length||!L}),onClick:()=>{L&&ee()}})})]})]}),(0,n.jsxs)("div",{className:j()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":$}),children:[(0,n.jsx)(f.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:D,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(F){e.preventDefault();return}D.trim()&&(e.preventDefault(),Q())}},onChange:e=>{W(e.target.value)},onFocus:()=>{B(!0)},onBlur:()=>B(!1),onCompositionStartCapture:()=>{K(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{K(!1)},0)}}),(0,n.jsx)(g.ZP,{type:"primary",className:j()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!D.trim()||!L}),onClick:Q,children:L?(0,n.jsx)(u.Z,{}):(0,n.jsx)(h.Z,{indicator:(0,n.jsx)(c.Z,{className:"text-white"})})})]})]})}},95433:function(e,t,l){l.r(t);var n=l(96469),r=l(61977),a=l(45277),i=l(32857),s=l(80335),o=l(62971),c=l(38497),d=l(29549);t.default=()=>{let{modelList:e}=(0,c.useContext)(a.p),{model:t,setModel:l}=(0,c.useContext)(d.MobileChatContext),u=(0,c.useMemo)(()=>e.length>0?e.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{l(e)},children:[(0,n.jsx)(r.Z,{width:14,height:14,model:e}),(0,n.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,l]);return(0,n.jsx)(s.Z,{menu:{items:u},placement:"top",trigger:["click"],children:(0,n.jsx)(o.Z,{content:t,children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(r.Z,{width:16,height:16,model:t}),(0,n.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:t}),(0,n.jsx)(i.Z,{rotate:90})]})})})}},33389:function(e,t,l){l.r(t);var n=l(96469),r=l(23852),a=l.n(r),i=l(38497);t.default=(0,i.memo)(e=>{let{width:t,height:l,src:r,label:i}=e;return(0,n.jsx)(a(),{width:t||14,height:l||14,src:r,alt:i||"db-icon",priority:!0})})},14035:function(e,t,l){l.r(t);var n=l(96469),r=l(27623),a=l(7289),i=l(37022),s=l(32857),o=l(71534),c=l(16602),d=l(42786),u=l(32818),m=l(80335),v=l(38497),x=l(29549),p=l(33389);t.default=()=>{let{appInfo:e,resourceList:t,scene:l,model:h,conv_uid:f,getChatHistoryRun:g,setResource:b,resource:j}=(0,v.useContext)(x.MobileChatContext),[y,w]=(0,v.useState)(null),_=(0,v.useMemo)(()=>{var t,l,n;return null===(t=null==e?void 0:null===(l=e.param_need)||void 0===l?void 0:l.filter(e=>"resource"===e.type))||void 0===t?void 0:null===(n=t[0])||void 0===n?void 0:n.value},[e]),N=(0,v.useMemo)(()=>t&&t.length>0?t.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{w(e),b(e.space_id||e.param)},children:[(0,n.jsx)(p.default,{width:14,height:14,src:a.S$[e.type].icon,label:a.S$[e.type].label}),(0,n.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[t,b]),{run:k,loading:C}=(0,c.Z)(async e=>{let[,t]=await (0,r.Vx)((0,r.qn)({convUid:f,chatMode:l,data:e,model:h,config:{timeout:36e5}}));return b(t),t},{manual:!0,onSuccess:async()=>{await g()}}),Z=async e=>{let t=new FormData;t.append("doc_file",null==e?void 0:e.file),await k(t)},S=(0,v.useMemo)(()=>C?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(d.Z,{size:"small",indicator:(0,n.jsx)(i.Z,{spin:!0})}),(0,n.jsx)("span",{className:"text-xs",children:"上传中"})]}):j?(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)("span",{className:"text-xs",children:j.file_name}),(0,n.jsx)(s.Z,{rotate:90})]}):(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(o.Z,{className:"text-base"}),(0,n.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[C,j]);return(0,n.jsx)(n.Fragment,{children:(()=>{switch(_){case"excel_file":case"text_file":case"image_file":return(0,n.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,n.jsx)(u.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:Z,className:"flex h-full w-full items-center justify-center",children:S})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,l,r,i,o;if(!(null==t?void 0:t.length))return null;return(0,n.jsx)(m.Z,{menu:{items:N},placement:"top",trigger:["click"],children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(p.default,{width:14,height:14,src:null===(e=a.S$[(null==y?void 0:y.type)||(null==t?void 0:null===(l=t[0])||void 0===l?void 0:l.type)])||void 0===e?void 0:e.icon,label:null===(r=a.S$[(null==y?void 0:y.type)||(null==t?void 0:null===(i=t[0])||void 0===i?void 0:i.type)])||void 0===r?void 0:r.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==y?void 0:y.param)||(null==t?void 0:null===(o=t[0])||void 0===o?void 0:o.param)}),(0,n.jsx)(s.Z,{rotate:90})]})})}})()})}},55238:function(e,t,l){l.r(t);var n=l(96469),r=l(80335),a=l(28822),i=l(38497),s=l(29549),o=l(58526);t.default=()=>{let{temperature:e,setTemperature:t}=(0,i.useContext)(s.MobileChatContext),l=e=>{isNaN(e)||t(e)};return(0,n.jsx)(r.Z,{trigger:["click"],dropdownRender:()=>(0,n.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,n.jsx)(a.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:l,value:e})}),placement:"top",children:(0,n.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,n.jsx)(o.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,n.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},29549:function(e,t,l){l.r(t),l.d(t,{MobileChatContext:function(){return j}});var n=l(96469),r=l(45277),a=l(27623),i=l(51310),s=l(7289),o=l(88506),c=l(44875),d=l(16602),u=l(42786),m=l(28469),v=l.n(m),x=l(45875),p=l(38497),h=l(5157),f=l(86364),g=l(75299);let b=v()(()=>Promise.all([l.e(7521),l.e(5197),l.e(9069),l.e(5996),l.e(1320),l.e(9223),l.e(5444),l.e(2476),l.e(4162),l.e(1103),l.e(1657),l.e(9790),l.e(1766),l.e(8957),l.e(3549),l.e(5883),l.e(5891),l.e(2061),l.e(3695)]).then(l.bind(l,33068)),{loadableGenerated:{webpack:()=>[33068]},ssr:!1}),j=(0,p.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});t.default=()=>{var e,t;let l=(0,x.useSearchParams)(),m=null!==(e=null==l?void 0:l.get("chat_scene"))&&void 0!==e?e:"",v=null!==(t=null==l?void 0:l.get("app_code"))&&void 0!==t?t:"",{modelList:y}=(0,p.useContext)(r.p),[w,_]=(0,p.useState)([]),[N,k]=(0,p.useState)(""),[C,Z]=(0,p.useState)(.5),[S,R]=(0,p.useState)(null),E=(0,p.useRef)(null),[M,O]=(0,p.useState)(""),[A,P]=(0,p.useState)(!1),[T,V]=(0,p.useState)(!0),z=(0,p.useRef)(),D=(0,p.useRef)(1),I=(0,i.Z)(),J=(0,p.useMemo)(()=>"".concat(null==I?void 0:I.user_no,"_").concat(v),[v,I]),{run:L,loading:U}=(0,d.Z)(async()=>await (0,a.Vx)((0,a.$i)("".concat(null==I?void 0:I.user_no,"_").concat(v))),{manual:!0,onSuccess:e=>{let[,t]=e,l=null==t?void 0:t.filter(e=>"view"===e.role);l&&l.length>0&&(D.current=l[l.length-1].order+1),_(t||[])}}),{data:q,run:H,loading:W}=(0,d.Z)(async e=>{let[,t]=await (0,a.Vx)((0,a.BN)(e));return null!=t?t:{}},{manual:!0}),{run:$,data:B,loading:F}=(0,d.Z)(async()=>{var e,t;let[,l]=await (0,a.Vx)((0,a.vD)(m));return R((null==l?void 0:null===(e=l[0])||void 0===e?void 0:e.space_id)||(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.param)),null!=l?l:[]},{manual:!0}),{run:K,loading:G}=(0,d.Z)(async()=>{let[,e]=await (0,a.Vx)((0,a.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var t;let l=null===(t=null==e?void 0:e.filter(e=>e.conv_uid===J))||void 0===t?void 0:t[0];(null==l?void 0:l.select_param)&&R(JSON.parse(null==l?void 0:l.select_param))}});(0,p.useEffect)(()=>{m&&v&&y.length&&H({chat_scene:m,app_code:v})},[v,m,H,y]),(0,p.useEffect)(()=>{v&&L()},[v]),(0,p.useEffect)(()=>{if(y.length>0){var e,t,l;let n=null===(e=null==q?void 0:null===(t=q.param_need)||void 0===t?void 0:t.filter(e=>"model"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value;k(n||y[0])}},[y,q]),(0,p.useEffect)(()=>{var e,t,l;let n=null===(e=null==q?void 0:null===(t=q.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value;Z(n||.5)},[q]),(0,p.useEffect)(()=>{if(m&&(null==q?void 0:q.app_code)){var e,t,l,n,r,a;let i=null===(e=null==q?void 0:null===(t=q.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value,s=null===(n=null==q?void 0:null===(r=q.param_need)||void 0===r?void 0:r.filter(e=>"resource"===e.type))||void 0===n?void 0:null===(a=n[0])||void 0===a?void 0:a.bind_value;s&&R(s),["database","knowledge","plugin","awel_flow"].includes(i)&&!s&&$()}},[q,m,$]);let Q=async e=>{var t,l,n;O(""),z.current=new AbortController;let r={chat_mode:m,model_name:N,user_input:e||M,conv_uid:J,temperature:C,app_code:null==q?void 0:q.app_code,...S&&{select_param:S}};if(w&&w.length>0){let e=null==w?void 0:w.filter(e=>"view"===e.role);D.current=e[e.length-1].order+1}let a=[{role:"human",context:e||M,model_name:N,order:D.current,time_stamp:0},{role:"view",context:"",model_name:N,order:D.current,time_stamp:0,thinking:!0}],i=a.length-1;_([...w,...a]),V(!1);try{await (0,c.L)("".concat(null!==(t=g.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(l=(0,s.n5)())&&void 0!==l?l:""},signal:z.current.signal,body:JSON.stringify(r),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===c.a)return},onclose(){var e;null===(e=z.current)||void 0===e||e.abort(),V(!0),P(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(V(!0),P(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(a[i].context=null==t?void 0:t.replace("[ERROR]",""),a[i].thinking=!1,_([...w,...a]),V(!0),P(!1)):(P(!0),a[i].context=t,a[i].thinking=!1,_([...w,...a]))}})}catch(e){null===(n=z.current)||void 0===n||n.abort(),a[i].context="Sorry, we meet some error, please try again later.",a[i].thinking=!1,_([...a]),V(!0),P(!1)}};return(0,p.useEffect)(()=>{m&&"chat_agent"!==m&&K()},[m,K]),(0,n.jsx)(j.Provider,{value:{model:N,resource:S,setModel:k,setTemperature:Z,setResource:R,temperature:C,appInfo:q,conv_uid:J,scene:m,history:w,scrollViewRef:E,setHistory:_,resourceList:B,order:D,handleChat:Q,setCanNewChat:V,ctrl:z,canAbort:A,setCarAbort:P,canNewChat:T,userInput:M,setUserInput:O,getChatHistoryRun:L},children:(0,n.jsx)(u.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:U||W||F||G,children:(0,n.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,n.jsxs)("div",{ref:E,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,n.jsx)(h.default,{}),(0,n.jsx)(b,{})]}),(null==q?void 0:q.app_code)&&(0,n.jsx)(f.default,{})]})})})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9620.db662d4741b6a8d7.js b/dbgpt/app/static/web/_next/static/chunks/9620.db662d4741b6a8d7.js new file mode 100644 index 000000000..24377d0d2 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9620.db662d4741b6a8d7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9620,9788,1708,9383,100,9305,2117],{96890:function(e,t,r){r.d(t,{Z:function(){return u}});var n=r(42096),o=r(10921),c=r(38497),a=r(42834),l=["type","children"],i=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[t];if("string"==typeof r&&r.length&&!i.has(r)){var n=document.createElement("script");n.setAttribute("src",r),n.setAttribute("data-namespace",r),e.length>t+1&&(n.onload=function(){s(e,t+1)},n.onerror=function(){s(e,t+1)}),i.add(r),document.body.appendChild(n)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,r=e.extraCommonProps,i=void 0===r?{}:r;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var u=c.forwardRef(function(e,t){var r=e.type,s=e.children,u=(0,o.Z)(e,l),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(r)})),s&&(d=s),c.createElement(a.Z,(0,n.Z)({},i,u,{ref:t}),d)});return u.displayName="Iconfont",u}},67620:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},a=r(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:c}))})},98028:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},a=r(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:c}))})},71534:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},a=r(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:c}))})},1858:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),c={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},a=r(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:c}))})},72828:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},a=r(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:c}))})},31676:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=r(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:c}))})},32857:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(42096),o=r(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},a=r(55032),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:c}))})},49030:function(e,t,r){r.d(t,{Z:function(){return z}});var n=r(38497),o=r(26869),c=r.n(o),a=r(55598),l=r(55853),i=r(35883),s=r(55091),u=r(37243),d=r(63346),f=r(38083),h=r(51084),g=r(60848),p=r(74934),v=r(90102);let m=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o,calc:c}=e,a=c(n).sub(r).equal(),l=c(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,o=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new h.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let t=b(e);return m(t)},C),w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let k=n.forwardRef((e,t)=>{let{prefixCls:r,style:o,className:a,checked:l,onChange:i,onClick:s}=e,u=w(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:h}=n.useContext(d.E_),g=f("tag",r),[p,v,m]=y(g),b=c()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:l},null==h?void 0:h.className,a,v,m);return p(n.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==h?void 0:h.style),className:b,onClick:e=>{null==i||i(!l),null==s||s(e)}})))});var $=r(86553);let Z=e=>(0,$.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:c,darkColor:a}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:c,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var x=(0,v.bk)(["Tag","preset"],e=>{let t=b(e);return Z(t)},C);let E=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let t=b(e);return[E(t,"success","Success"),E(t,"processing","Info"),E(t,"error","Error"),E(t,"warning","Warning")]},C),O=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let S=n.forwardRef((e,t)=>{let{prefixCls:r,className:o,rootClassName:f,style:h,children:g,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,w=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:k,direction:$,tag:Z}=n.useContext(d.E_),[E,S]=n.useState(!0),z=(0,a.Z)(w,["closeIcon","closable"]);n.useEffect(()=>{void 0!==C&&S(C)},[C]);let j=(0,l.o2)(v),_=(0,l.yT)(v),B=j||_,M=Object.assign(Object.assign({backgroundColor:v&&!B?v:void 0},null==Z?void 0:Z.style),h),V=k("tag",r),[I,N,P]=y(V),R=c()(V,null==Z?void 0:Z.className,{[`${V}-${v}`]:B,[`${V}-has-color`]:v&&!B,[`${V}-hidden`]:!E,[`${V}-rtl`]:"rtl"===$,[`${V}-borderless`]:!b},o,f,N,P),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,T]=(0,i.Z)((0,i.w)(e),(0,i.w)(Z),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${V}-close-icon`,onClick:L},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),L(t)},className:c()(null==e?void 0:e.className,`${V}-close-icon`)}))}}),A="function"==typeof w.onClick||g&&"a"===g.type,q=p||null,D=q?n.createElement(n.Fragment,null,q,g&&n.createElement("span",null,g)):g,F=n.createElement("span",Object.assign({},z,{ref:t,className:R,style:M}),D,T,j&&n.createElement(x,{key:"preset",prefixCls:V}),_&&n.createElement(H,{key:"status",prefixCls:V}));return I(A?n.createElement(u.Z,{component:"Tag"},F):F)});S.CheckableTag=k;var z=S},26953:function(e,t,r){var n=r(96469),o=r(67901),c=r(42834),a=r(38497);t.Z=e=>{let{width:t,height:r,scene:l}=e,i=(0,a.useCallback)(()=>{switch(l){case"chat_knowledge":return o.je;case"chat_with_db_execute":return o.zM;case"chat_excel":return o.DL;case"chat_with_db_qa":case"chat_dba":return o.RD;case"chat_dashboard":return o.In;case"chat_agent":return o.si;case"chat_normal":return o.O7;default:return}},[l]);return(0,n.jsx)(c.Z,{className:"w-".concat(t||7," h-").concat(r||7),component:i()})}},58526:function(e,t,r){var n=r(96890);let o=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=o}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9631-0aadc8a63cb6d825.js b/dbgpt/app/static/web/_next/static/chunks/9631-0aadc8a63cb6d825.js deleted file mode 100644 index fa887e4c3..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/9631-0aadc8a63cb6d825.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9631],{99631:function(e,n,t){t.d(n,{Z:function(){return eh}});var r=t(38497),a=t(12299),i=t(42096),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},u=t(75651),l=r.forwardRef(function(e,n){return r.createElement(u.Z,(0,i.Z)({},e,{ref:n,icon:o}))}),s=t(26869),c=t.n(s),d=t(65148),f=t(14433),p=t(65347),g=t(10921),m=t(97290),h=t(80972);function b(){return"function"==typeof BigInt}function v(e){return!e&&0!==e&&!Number.isNaN(e)||!String(e).trim()}function N(e){var n=e.trim(),t=n.startsWith("-");t&&(n=n.slice(1)),(n=n.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(n="0".concat(n));var r=n||"0",a=r.split("."),i=a[0]||"0",o=a[1]||"0";"0"===i&&"0"===o&&(t=!1);var u=t?"-":"";return{negative:t,negativeStr:u,trimStr:r,integerStr:i,decimalStr:o,fullStr:"".concat(u).concat(r)}}function S(e){var n=String(e);return!Number.isNaN(Number(n))&&n.includes("e")}function E(e){var n=String(e);if(S(e)){var t=Number(n.slice(n.indexOf("e-")+2)),r=n.match(/\.(\d+)/);return null!=r&&r[1]&&(t+=r[1].length),t}return n.includes(".")&&$(n)?n.length-n.indexOf(".")-1:0}function w(e){var n=String(e);if(S(e)){if(e>Number.MAX_SAFE_INTEGER)return String(b()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":N("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),I=function(){function e(n){if((0,m.Z)(this,e),(0,d.Z)(this,"origin",""),(0,d.Z)(this,"number",void 0),(0,d.Z)(this,"empty",void 0),v(n)){this.empty=!0;return}this.origin=String(n),this.number=Number(n)}return(0,h.Z)(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var t=Number(n);if(Number.isNaN(t))return this;var r=this.number+t;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(rNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":w(this.number):this.origin}}]),e}();function x(e){return b()?new y(e):new I(e)}function k(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var a=N(e),i=a.negativeStr,o=a.integerStr,u=a.decimalStr,l="".concat(n).concat(u),s="".concat(i).concat(o);if(t>=0){var c=Number(u[t]);return c>=5&&!r?k(x(e).add("".concat(i,"0.").concat("0".repeat(t)).concat(10-c)).toString(),n,t,r):0===t?s:"".concat(s).concat(n).concat(u.padEnd(t,"0").slice(0,t))}return".0"===l?s:"".concat(s).concat(l)}var R=t(13575),Z=t(46644),O=t(7544),A=t(89842),j=t(61193),C=function(){var e=(0,r.useState)(!1),n=(0,p.Z)(e,2),t=n[0],a=n[1];return(0,Z.Z)(function(){a((0,j.Z)())},[]),t},M=t(25043);function _(e){var n=e.prefixCls,t=e.upNode,a=e.downNode,o=e.upDisabled,u=e.downDisabled,l=e.onStep,s=r.useRef(),f=r.useRef([]),p=r.useRef();p.current=l;var g=function(){clearTimeout(s.current)},m=function(e,n){e.preventDefault(),g(),p.current(n),s.current=setTimeout(function e(){p.current(n),s.current=setTimeout(e,200)},600)};if(r.useEffect(function(){return function(){g(),f.current.forEach(function(e){return M.Z.cancel(e)})}},[]),C())return null;var h="".concat(n,"-handler"),b=c()(h,"".concat(h,"-up"),(0,d.Z)({},"".concat(h,"-up-disabled"),o)),v=c()(h,"".concat(h,"-down"),(0,d.Z)({},"".concat(h,"-down-disabled"),u)),N=function(){return f.current.push((0,M.Z)(g))},S={unselectable:"on",role:"button",onMouseUp:N,onMouseLeave:N};return r.createElement("div",{className:"".concat(h,"-wrap")},r.createElement("span",(0,i.Z)({},S,{onMouseDown:function(e){m(e,!0)},"aria-label":"Increase Value","aria-disabled":o,className:b}),t||r.createElement("span",{unselectable:"on",className:"".concat(n,"-handler-up-inner")})),r.createElement("span",(0,i.Z)({},S,{onMouseDown:function(e){m(e,!1)},"aria-label":"Decrease Value","aria-disabled":u,className:v}),a||r.createElement("span",{unselectable:"on",className:"".concat(n,"-handler-down-inner")})))}function B(e){var n="number"==typeof e?w(e):N(e).fullStr;return n.includes(".")?N(n.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}var F=t(43525),D=function(){var e=(0,r.useRef)(0),n=function(){M.Z.cancel(e.current)};return(0,r.useEffect)(function(){return n},[]),function(t){n(),e.current=(0,M.Z)(function(){t()})}},T=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],W=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],z=function(e,n){return e||n.isEmpty()?n.toString():n.toNumber()},H=function(e){var n=x(e);return n.isInvalidate()?null:n},q=r.forwardRef(function(e,n){var t,a,o=e.prefixCls,u=e.className,l=e.style,s=e.min,m=e.max,h=e.step,b=void 0===h?1:h,v=e.defaultValue,N=e.value,S=e.disabled,y=e.readOnly,I=e.upHandler,R=e.downHandler,j=e.keyboard,C=e.changeOnWheel,M=void 0!==C&&C,F=e.controls,W=void 0===F||F,q=(e.classNames,e.stringMode),G=e.parser,P=e.formatter,L=e.precision,U=e.decimalSeparator,X=e.onChange,V=e.onInput,K=e.onPressEnter,Q=e.onStep,Y=e.changeOnBlur,J=void 0===Y||Y,ee=e.domRef,en=(0,g.Z)(e,T),et="".concat(o,"-input"),er=r.useRef(null),ea=r.useState(!1),ei=(0,p.Z)(ea,2),eo=ei[0],eu=ei[1],el=r.useRef(!1),es=r.useRef(!1),ec=r.useRef(!1),ed=r.useState(function(){return x(null!=N?N:v)}),ef=(0,p.Z)(ed,2),ep=ef[0],eg=ef[1],em=r.useCallback(function(e,n){return n?void 0:L>=0?L:Math.max(E(e),E(b))},[L,b]),eh=r.useCallback(function(e){var n=String(e);if(G)return G(n);var t=n;return U&&(t=t.replace(U,".")),t.replace(/[^\w.-]+/g,"")},[G,U]),eb=r.useRef(""),ev=r.useCallback(function(e,n){if(P)return P(e,{userTyping:n,input:String(eb.current)});var t="number"==typeof e?w(e):e;if(!n){var r=em(t,n);$(t)&&(U||r>=0)&&(t=k(t,U||".",r))}return t},[P,em,U]),eN=r.useState(function(){var e=null!=v?v:N;return ep.isInvalidate()&&["string","number"].includes((0,f.Z)(e))?Number.isNaN(e)?"":e:ev(ep.toString(),!1)}),eS=(0,p.Z)(eN,2),eE=eS[0],ew=eS[1];function e$(e,n){ew(ev(e.isInvalidate()?e.toString(!1):e.toString(!n),n))}eb.current=eE;var ey=r.useMemo(function(){return H(m)},[m,L]),eI=r.useMemo(function(){return H(s)},[s,L]),ex=r.useMemo(function(){return!(!ey||!ep||ep.isInvalidate())&&ey.lessEquals(ep)},[ey,ep]),ek=r.useMemo(function(){return!(!eI||!ep||ep.isInvalidate())&&ep.lessEquals(eI)},[eI,ep]),eR=(t=er.current,a=(0,r.useRef)(null),[function(){try{var e=t.selectionStart,n=t.selectionEnd,r=t.value,i=r.substring(0,e),o=r.substring(n);a.current={start:e,end:n,value:r,beforeTxt:i,afterTxt:o}}catch(e){}},function(){if(t&&a.current&&eo)try{var e=t.value,n=a.current,r=n.beforeTxt,i=n.afterTxt,o=n.start,u=e.length;if(e.startsWith(r))u=r.length;else if(e.endsWith(i))u=e.length-a.current.afterTxt.length;else{var l=r[o-1],s=e.indexOf(l,o-1);-1!==s&&(u=s+1)}t.setSelectionRange(u,u)}catch(e){(0,A.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(e.message))}}]),eZ=(0,p.Z)(eR,2),eO=eZ[0],eA=eZ[1],ej=function(e){return ey&&!e.lessEquals(ey)?ey:eI&&!eI.lessEquals(e)?eI:null},eC=function(e){return!ej(e)},eM=function(e,n){var t=e,r=eC(t)||t.isEmpty();if(t.isEmpty()||n||(t=ej(t)||t,r=!0),!y&&!S&&r){var a,i=t.toString(),o=em(i,n);return o>=0&&!eC(t=x(k(i,".",o)))&&(t=x(k(i,".",o,!0))),t.equals(ep)||(a=t,void 0===N&&eg(a),null==X||X(t.isEmpty()?null:z(q,t)),void 0===N&&e$(t,n)),t}return ep},e_=D(),eB=function e(n){if(eO(),eb.current=n,ew(n),!es.current){var t=x(eh(n));t.isNaN()||eM(t,!0)}null==V||V(n),e_(function(){var t=n;G||(t=n.replace(/。/g,".")),t!==n&&e(t)})},eF=function(e){if((!e||!ex)&&(e||!ek)){el.current=!1;var n,t=x(ec.current?B(b):b);e||(t=t.negate());var r=eM((ep||x(0)).add(t.toString()),!1);null==Q||Q(z(q,r),{offset:ec.current?B(b):b,type:e?"up":"down"}),null===(n=er.current)||void 0===n||n.focus()}},eD=function(e){var n,t=x(eh(eE));n=t.isNaN()?eM(ep,e):eM(t,e),void 0!==N?e$(ep,!1):n.isNaN()||e$(n,!1)};return r.useEffect(function(){if(M&&eo){var e=function(e){eF(e.deltaY<0),e.preventDefault()},n=er.current;if(n)return n.addEventListener("wheel",e,{passive:!1}),function(){return n.removeEventListener("wheel",e)}}}),(0,Z.o)(function(){ep.isInvalidate()||e$(ep,!1)},[L,P]),(0,Z.o)(function(){var e=x(N);eg(e);var n=x(eh(eE));e.equals(n)&&el.current&&!P||e$(e,el.current)},[N]),(0,Z.o)(function(){P&&eA()},[eE]),r.createElement("div",{ref:ee,className:c()(o,u,(0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)({},"".concat(o,"-focused"),eo),"".concat(o,"-disabled"),S),"".concat(o,"-readonly"),y),"".concat(o,"-not-a-number"),ep.isNaN()),"".concat(o,"-out-of-range"),!ep.isInvalidate()&&!eC(ep))),style:l,onFocus:function(){eu(!0)},onBlur:function(){J&&eD(!1),eu(!1),el.current=!1},onKeyDown:function(e){var n=e.key,t=e.shiftKey;el.current=!0,ec.current=t,"Enter"===n&&(es.current||(el.current=!1),eD(!1),null==K||K(e)),!1!==j&&!es.current&&["Up","ArrowUp","Down","ArrowDown"].includes(n)&&(eF("Up"===n||"ArrowUp"===n),e.preventDefault())},onKeyUp:function(){el.current=!1,ec.current=!1},onCompositionStart:function(){es.current=!0},onCompositionEnd:function(){es.current=!1,eB(er.current.value)},onBeforeInput:function(){el.current=!0}},W&&r.createElement(_,{prefixCls:o,upNode:I,downNode:R,upDisabled:ex,downDisabled:ek,onStep:eF}),r.createElement("div",{className:"".concat(et,"-wrap")},r.createElement("input",(0,i.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":s,"aria-valuemax":m,"aria-valuenow":ep.isInvalidate()?null:ep.toString(),step:b},en,{ref:(0,O.sQ)(er,n),className:et,value:eE,onChange:function(e){eB(e.target.value)},disabled:S,readOnly:y}))))}),G=r.forwardRef(function(e,n){var t=e.disabled,a=e.style,o=e.prefixCls,u=void 0===o?"rc-input-number":o,l=e.value,s=e.prefix,c=e.suffix,d=e.addonBefore,f=e.addonAfter,p=e.className,m=e.classNames,h=(0,g.Z)(e,W),b=r.useRef(null),v=r.useRef(null),N=r.useRef(null);return r.useImperativeHandle(n,function(){var e,n;return e=N.current,n={nativeElement:b.current.nativeElement||v.current},"undefined"!=typeof Proxy&&e?new Proxy(e,{get:function(e,t){if(n[t])return n[t];var r=e[t];return"function"==typeof r?r.bind(e):r}}):e}),r.createElement(R.Q,{className:p,triggerFocus:function(e){N.current&&(0,F.nH)(N.current,e)},prefixCls:u,value:l,disabled:t,style:a,prefix:s,suffix:c,addonAfter:f,addonBefore:d,classNames:m,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:b},r.createElement(q,(0,i.Z)({prefixCls:u,disabled:t,ref:N,domRef:v,className:null==m?void 0:m.input},h)))}),P=t(53296),L=t(40690),U=t(63346),X=t(42518),V=t(3482),K=t(95227),Q=t(82014),Y=t(13859),J=t(25641),ee=t(80214),en=t(72178),et=t(44589),er=t(2835),ea=t(97078),ei=t(60848),eo=t(31909),eu=t(90102),el=t(74934),es=t(51084);let ec=(e,n)=>{let{componentCls:t,borderRadiusSM:r,borderRadiusLG:a}=e,i="lg"===n?a:r;return{[`&-${n}`]:{[`${t}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${t}-handler-up`]:{borderStartEndRadius:i},[`${t}-handler-down`]:{borderEndEndRadius:i}}}},ed=e=>{let{componentCls:n,lineWidth:t,lineType:r,borderRadius:a,inputFontSizeSM:i,inputFontSizeLG:o,controlHeightLG:u,controlHeightSM:l,colorError:s,paddingInlineSM:c,paddingBlockSM:d,paddingBlockLG:f,paddingInlineLG:p,colorTextDescription:g,motionDurationMid:m,handleHoverColor:h,handleOpacity:b,paddingInline:v,paddingBlock:N,handleBg:S,handleActiveBg:E,colorTextDisabled:w,borderRadiusSM:$,borderRadiusLG:y,controlWidth:I,handleBorderColor:x,filledHandleBg:k,lineHeightLG:R,calc:Z}=e;return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ei.Wf)(e)),(0,et.ik)(e)),{display:"inline-block",width:I,margin:0,padding:0,borderRadius:a}),(0,ea.qG)(e,{[`${n}-handler-wrap`]:{background:S,[`${n}-handler-down`]:{borderBlockStart:`${(0,en.bf)(t)} ${r} ${x}`}}})),(0,ea.H8)(e,{[`${n}-handler-wrap`]:{background:k,[`${n}-handler-down`]:{borderBlockStart:`${(0,en.bf)(t)} ${r} ${x}`}},"&:focus-within":{[`${n}-handler-wrap`]:{background:S}}})),(0,ea.Mu)(e)),{"&-rtl":{direction:"rtl",[`${n}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,lineHeight:R,borderRadius:y,[`input${n}-input`]:{height:Z(u).sub(Z(t).mul(2)).equal(),padding:`${(0,en.bf)(f)} ${(0,en.bf)(p)}`}},"&-sm":{padding:0,fontSize:i,borderRadius:$,[`input${n}-input`]:{height:Z(l).sub(Z(t).mul(2)).equal(),padding:`${(0,en.bf)(d)} ${(0,en.bf)(c)}`}},"&-out-of-range":{[`${n}-input-wrap`]:{input:{color:s}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,ei.Wf)(e)),(0,et.s7)(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${n}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${n}-group-addon`]:{borderRadius:y,fontSize:e.fontSizeLG}},"&-sm":{[`${n}-group-addon`]:{borderRadius:$}}},(0,ea.ir)(e)),(0,ea.S5)(e)),{[`&:not(${n}-compact-first-item):not(${n}-compact-last-item)${n}-compact-item`]:{[`${n}, ${n}-group-addon`]:{borderRadius:0}},[`&:not(${n}-compact-last-item)${n}-compact-first-item`]:{[`${n}, ${n}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${n}-compact-first-item)${n}-compact-last-item`]:{[`${n}, ${n}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${n}-input`]:{cursor:"not-allowed"},[n]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,ei.Wf)(e)),{width:"100%",padding:`${(0,en.bf)(N)} ${(0,en.bf)(v)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${m} linear`,appearance:"textfield",fontSize:"inherit"}),(0,et.nz)(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})},[`&:hover ${n}-handler-wrap, &-focused ${n}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[n]:Object.assign(Object.assign(Object.assign({[`${n}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:0,opacity:b,height:"100%",borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${m}`,overflow:"hidden",[`${n}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` - ${n}-handler-up-inner, - ${n}-handler-down-inner - `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${n}-handler`]:{height:"50%",overflow:"hidden",color:g,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,en.bf)(t)} ${r} ${x}`,transition:`all ${m} linear`,"&:active":{background:E},"&:hover":{height:"60%",[` - ${n}-handler-up-inner, - ${n}-handler-down-inner - `]:{color:h}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,ei.Ro)()),{color:g,transition:`all ${m} linear`,userSelect:"none"})},[`${n}-handler-up`]:{borderStartEndRadius:a},[`${n}-handler-down`]:{borderEndEndRadius:a}},ec(e,"lg")),ec(e,"sm")),{"&-disabled, &-readonly":{[`${n}-handler-wrap`]:{display:"none"},[`${n}-input`]:{color:"inherit"}},[` - ${n}-handler-up-disabled, - ${n}-handler-down-disabled - `]:{cursor:"not-allowed"},[` - ${n}-handler-up-disabled:hover &-handler-up-inner, - ${n}-handler-down-disabled:hover &-handler-down-inner - `]:{color:w}})}]},ef=e=>{let{componentCls:n,paddingBlock:t,paddingInline:r,inputAffixPadding:a,controlWidth:i,borderRadiusLG:o,borderRadiusSM:u,paddingInlineLG:l,paddingInlineSM:s,paddingBlockLG:c,paddingBlockSM:d,motionDurationMid:f}=e;return{[`${n}-affix-wrapper`]:Object.assign(Object.assign({[`input${n}-input`]:{padding:`${(0,en.bf)(t)} 0`}},(0,et.ik)(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:o,paddingInlineStart:l,[`input${n}-input`]:{padding:`${(0,en.bf)(c)} 0`}},"&-sm":{borderRadius:u,paddingInlineStart:s,[`input${n}-input`]:{padding:`${(0,en.bf)(d)} 0`}},[`&:not(${n}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${n}-disabled`]:{background:"transparent"},[`> div${n}`]:{width:"100%",border:"none",outline:"none",[`&${n}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${n}-handler-wrap`]:{zIndex:2},[n]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:a,transition:`margin ${f}`}},[`&:hover ${n}-handler-wrap, &-focused ${n}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:hover ${n}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}})}};var ep=(0,eu.I$)("InputNumber",e=>{let n=(0,el.IX)(e,(0,er.e)(e));return[ed(n),ef(n),(0,eo.c)(n)]},e=>{var n;let t=null!==(n=e.handleVisible)&&void 0!==n?n:"auto";return Object.assign(Object.assign({},(0,er.T)(e)),{controlWidth:90,handleWidth:e.controlHeightSM-2*e.lineWidth,handleFontSize:e.fontSize/2,handleVisible:t,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new es.C(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:!0===t?1:0})},{unitless:{handleOpacity:!0}}),eg=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);an.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]]);return t};let em=r.forwardRef((e,n)=>{let{getPrefixCls:t,direction:i}=r.useContext(U.E_),o=r.useRef(null);r.useImperativeHandle(n,()=>o.current);let{className:u,rootClassName:s,size:d,disabled:f,prefixCls:p,addonBefore:g,addonAfter:m,prefix:h,suffix:b,bordered:v,readOnly:N,status:S,controls:E,variant:w}=e,$=eg(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),y=t("input-number",p),I=(0,K.Z)(y),[x,k,R]=ep(y,I),{compactSize:Z,compactItemClassnames:O}=(0,ee.ri)(y,i),A=r.createElement(l,{className:`${y}-handler-up-inner`}),j=r.createElement(a.Z,{className:`${y}-handler-down-inner`});"object"==typeof E&&(A=void 0===E.upIcon?A:r.createElement("span",{className:`${y}-handler-up-inner`},E.upIcon),j=void 0===E.downIcon?j:r.createElement("span",{className:`${y}-handler-down-inner`},E.downIcon));let{hasFeedback:C,status:M,isFormItemInput:_,feedbackIcon:B}=r.useContext(Y.aM),F=(0,L.F)(M,S),D=(0,Q.Z)(e=>{var n;return null!==(n=null!=d?d:Z)&&void 0!==n?n:e}),T=r.useContext(V.Z),[W,z]=(0,J.Z)("inputNumber",w,v),H=C&&r.createElement(r.Fragment,null,B),q=c()({[`${y}-lg`]:"large"===D,[`${y}-sm`]:"small"===D,[`${y}-rtl`]:"rtl"===i,[`${y}-in-form-item`]:_},k),X=`${y}-group`,en=r.createElement(G,Object.assign({ref:o,disabled:null!=f?f:T,className:c()(R,I,u,s,O),upHandler:A,downHandler:j,prefixCls:y,readOnly:N,controls:"boolean"==typeof E?E:void 0,prefix:h,suffix:H||b,addonBefore:g&&r.createElement(P.Z,{form:!0,space:!0},g),addonAfter:m&&r.createElement(P.Z,{form:!0,space:!0},m),classNames:{input:q,variant:c()({[`${y}-${W}`]:z},(0,L.Z)(y,F,C)),affixWrapper:c()({[`${y}-affix-wrapper-sm`]:"small"===D,[`${y}-affix-wrapper-lg`]:"large"===D,[`${y}-affix-wrapper-rtl`]:"rtl"===i},k),wrapper:c()({[`${X}-rtl`]:"rtl"===i},k),groupWrapper:c()({[`${y}-group-wrapper-sm`]:"small"===D,[`${y}-group-wrapper-lg`]:"large"===D,[`${y}-group-wrapper-rtl`]:"rtl"===i,[`${y}-group-wrapper-${W}`]:z},(0,L.Z)(`${y}-group-wrapper`,F,C),k)}},$));return x(en)});em._InternalPanelDoNotUseOrYouWillBeFired=e=>r.createElement(X.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},r.createElement(em,Object.assign({},e)));var eh=em}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9788-e354e81a375b44f1.js b/dbgpt/app/static/web/_next/static/chunks/9788-e354e81a375b44f1.js new file mode 100644 index 000000000..2da1d29b6 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9788-e354e81a375b44f1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9788,1708,9383,100,9305,2117],{96890:function(e,r,t){t.d(r,{Z:function(){return u}});var o=t(42096),n=t(10921),c=t(38497),l=t(42834),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var o=document.createElement("script");o.setAttribute("src",t),o.setAttribute("data-namespace",t),e.length>r+1&&(o.onload=function(){s(e,r+1)},o.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(o)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,n.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,o.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},67620:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},98028:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},71534:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},1858:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},72828:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},31676:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},32857:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(42096),n=t(38497),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=t(55032),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},49030:function(e,r,t){t.d(r,{Z:function(){return z}});var o=t(38497),n=t(26869),c=t.n(n),l=t(55598),a=t(55853),i=t(35883),s=t(55091),u=t(37243),d=t(63346),f=t(38083),g=t(51084),h=t(60848),p=t(74934),v=t(90102);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:o,componentCls:n,calc:c}=e,l=c(o).sub(t).equal(),a=c(r).sub(t).equal();return{[n]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:o}=e,n=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:n,tagLineHeight:(0,f.bf)(o(e.lineHeightSM).mul(n).equal()),tagIconSize:o(t).sub(o(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let w=o.forwardRef((e,r)=>{let{prefixCls:t,style:n,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=o.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(o.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},n),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var $=t(86553);let x=e=>(0,$.Z)(e,(r,t)=>{let{textColor:o,lightBorderColor:n,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:o,background:c,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return x(r)},C);let E=(e,r,t)=>{let o=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let S=o.forwardRef((e,r)=>{let{prefixCls:t,className:n,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:$,tag:x}=o.useContext(d.E_),[E,S]=o.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);o.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==x?void 0:x.style),g),P=w("tag",t),[I,N,R]=y(P),T=c()(P,null==x?void 0:x.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===$,[`${P}-borderless`]:!b},n,f,N,R),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)(x),{closable:!1,closeIconRender:e=>{let r=o.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?o.createElement(o.Fragment,null,q,h&&o.createElement("span",null,h)):h,D=o.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&o.createElement(Z,{key:"preset",prefixCls:P}),M&&o.createElement(H,{key:"status",prefixCls:P}));return I(_?o.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9914-663d021dc070f119.js b/dbgpt/app/static/web/_next/static/chunks/9914-663d021dc070f119.js deleted file mode 100644 index 5825da860..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/9914-663d021dc070f119.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9914],{69274:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},i=n(75651),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},39600:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},i=n(75651),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},72097:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(42096),a=n(38497),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},i=n(75651),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},42041:function(e,t,n){function r(e){return["small","middle","large"].includes(e)}function a(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}n.d(t,{T:function(){return a},n:function(){return r}})},13419:function(e,t,n){n.d(t,{Z:function(){return C}});var r=n(38497),a=n(71836),o=n(26869),i=n.n(o),l=n(77757),s=n(55598),c=n(63346),m=n(62971),u=n(4558),f=n(74156),p=n(27691),d=n(5496),v=n(61261),g=n(61013),y=n(83387),O=n(90102);let E=e=>{let{componentCls:t,iconCls:n,antCls:r,zIndexPopup:a,colorText:o,colorWarning:i,marginXXS:l,marginXS:s,fontSize:c,fontWeightStrong:m,colorTextHeading:u}=e;return{[t]:{zIndex:a,[`&${r}-popover`]:{fontSize:c},[`${t}-message`]:{marginBottom:s,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:i,fontSize:c,lineHeight:1,marginInlineEnd:s},[`${t}-title`]:{fontWeight:m,color:u,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:l,color:o}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:s}}}}};var b=(0,O.I$)("Popconfirm",e=>E(e),e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let $=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:o,title:i,description:l,cancelText:s,okText:m,okType:y="primary",icon:O=r.createElement(a.Z,null),showCancel:E=!0,close:b,onConfirm:h,onCancel:$,onPopupClick:w}=e,{getPrefixCls:x}=r.useContext(c.E_),[C]=(0,v.Z)("Popconfirm",g.Z.Popconfirm),N=(0,f.Z)(i),Z=(0,f.Z)(l);return r.createElement("div",{className:`${t}-inner-content`,onClick:w},r.createElement("div",{className:`${t}-message`},O&&r.createElement("span",{className:`${t}-message-icon`},O),r.createElement("div",{className:`${t}-message-text`},N&&r.createElement("div",{className:`${t}-title`},N),Z&&r.createElement("div",{className:`${t}-description`},Z))),r.createElement("div",{className:`${t}-buttons`},E&&r.createElement(p.ZP,Object.assign({onClick:$,size:"small"},o),s||(null==C?void 0:C.cancelText)),r.createElement(u.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,d.nx)(y)),n),actionFn:h,close:b,prefixCls:x("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},m||(null==C?void 0:C.okText))))};var w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let x=r.forwardRef((e,t)=>{var n,o;let{prefixCls:u,placement:f="top",trigger:p="click",okType:d="primary",icon:v=r.createElement(a.Z,null),children:g,overlayClassName:y,onOpenChange:O,onVisibleChange:E}=e,h=w(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:x}=r.useContext(c.E_),[C,N]=(0,l.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),Z=(e,t)=>{N(e,!0),null==E||E(e),null==O||O(e,t)},j=x("popconfirm",u),I=i()(j,y),[P]=b(j);return P(r.createElement(m.Z,Object.assign({},(0,s.Z)(h,["title"]),{trigger:p,placement:f,onOpenChange:(t,n)=>{let{disabled:r=!1}=e;r||Z(t,n)},open:C,ref:t,overlayClassName:I,content:r.createElement($,Object.assign({okType:d,icon:v},e,{prefixCls:j,close:e=>{Z(!1,e)},onConfirm:t=>{var n;return null===(n=e.onConfirm)||void 0===n?void 0:n.call(void 0,t)},onCancel:t=>{var n;Z(!1,t),null===(n=e.onCancel)||void 0===n||n.call(void 0,t)}})),"data-popover-inject":!0}),g))});x._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,placement:n,className:a,style:o}=e,l=h(e,["prefixCls","placement","className","style"]),{getPrefixCls:s}=r.useContext(c.E_),m=s("popconfirm",t),[u]=b(m);return u(r.createElement(y.ZP,{placement:n,className:i()(m,a),style:o,content:r.createElement($,Object.assign({prefixCls:m},l))}))};var C=x},10755:function(e,t,n){n.d(t,{Z:function(){return g}});var r=n(38497),a=n(26869),o=n.n(a),i=n(10469),l=n(42041),s=n(63346),c=n(80214);let m=r.createContext({latestIndex:0}),u=m.Provider;var f=e=>{let{className:t,index:n,children:a,split:o,style:i}=e,{latestIndex:l}=r.useContext(m);return null==a?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:i},a),nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let v=r.forwardRef((e,t)=>{var n,a,c;let{getPrefixCls:m,space:v,direction:g}=r.useContext(s.E_),{size:y=null!==(n=null==v?void 0:v.size)&&void 0!==n?n:"small",align:O,className:E,rootClassName:b,children:h,direction:$="horizontal",prefixCls:w,split:x,style:C,wrap:N=!1,classNames:Z,styles:j}=e,I=d(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[P,M]=Array.isArray(y)?y:[y,y],k=(0,l.n)(M),z=(0,l.n)(P),S=(0,l.T)(M),T=(0,l.T)(P),R=(0,i.Z)(h,{keepEmpty:!0}),_=void 0===O&&"horizontal"===$?"center":O,D=m("space",w),[K,F,V]=(0,p.Z)(D),B=o()(D,null==v?void 0:v.className,F,`${D}-${$}`,{[`${D}-rtl`]:"rtl"===g,[`${D}-align-${_}`]:_,[`${D}-gap-row-${M}`]:k,[`${D}-gap-col-${P}`]:z},E,b,V),W=o()(`${D}-item`,null!==(a=null==Z?void 0:Z.item)&&void 0!==a?a:null===(c=null==v?void 0:v.classNames)||void 0===c?void 0:c.item),L=0,A=R.map((e,t)=>{var n,a;null!=e&&(L=t);let o=(null==e?void 0:e.key)||`${W}-${t}`;return r.createElement(f,{className:W,key:o,index:t,split:x,style:null!==(n=null==j?void 0:j.item)&&void 0!==n?n:null===(a=null==v?void 0:v.styles)||void 0===a?void 0:a.item},e)}),U=r.useMemo(()=>({latestIndex:L}),[L]);if(0===R.length)return null;let G={};return N&&(G.flexWrap="wrap"),!z&&T&&(G.columnGap=P),!k&&S&&(G.rowGap=M),K(r.createElement("div",Object.assign({ref:t,className:B,style:Object.assign(Object.assign(Object.assign({},G),null==v?void 0:v.style),C)},I),r.createElement(u,{value:U},A)))});v.Compact=c.ZP;var g=v},36647:function(e,t){t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},33445:function(e,t,n){n.d(t,{Fm:function(){return d}});var r=n(72178),a=n(60234);let o=new r.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),i=new r.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),l=new r.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new r.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new r.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),m=new r.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),u=new r.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),f=new r.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),p={"move-up":{inKeyframes:u,outKeyframes:f},"move-down":{inKeyframes:o,outKeyframes:i},"move-left":{inKeyframes:l,outKeyframes:s},"move-right":{inKeyframes:c,outKeyframes:m}},d=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=p[t];return[(0,a.R)(r,o,i,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/framework-a58764f9d1596524.js b/dbgpt/app/static/web/_next/static/chunks/framework-e41fd17eac0ca504.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/framework-a58764f9d1596524.js rename to dbgpt/app/static/web/_next/static/chunks/framework-e41fd17eac0ca504.js diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/_app-58fe09de707d59d2.js b/dbgpt/app/static/web/_next/static/chunks/pages/_app-58fe09de707d59d2.js deleted file mode 100644 index f1742e3f7..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/pages/_app-58fe09de707d59d2.js +++ /dev/null @@ -1,92 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{82650:function(e,t,n){"use strict";n.d(t,{iN:function(){return I},R_:function(){return u},EV:function(){return A},Ti:function(){return g},ez:function(){return T}});var r=n(26099),o=n(26611),i=[{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 a(e){var t=e.r,n=e.g,o=e.b,i=(0,r.py)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function s(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function l(e,t,n){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function E(e,t,n){var r;return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)))}function c(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function u(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),u=5;u>0;u-=1){var T=a(r),d=s((0,o.uA)({h:l(T,u,!0),s:E(T,u,!0),v:c(T,u,!0)}));n.push(d)}n.push(s(r));for(var R=1;R<=4;R+=1){var f=a(r),A=s((0,o.uA)({h:l(f,R),s:E(f,R),v:c(f,R)}));n.push(A)}return"dark"===t.theme?i.map(function(e){var r,i,a,l=e.index,E=e.opacity;return s((r=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(n[l]),a=100*E/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 T={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},d=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];d.primary=d[5];var R=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];R.primary=R[5];var f=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];f.primary=f[5];var A=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];A.primary=A[5];var S=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];S.primary=S[5];var O=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];O.primary=O[5];var p=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];p.primary=p[5];var N=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];N.primary=N[5];var I=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];I.primary=I[5];var h=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];h.primary=h[5];var _=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];_.primary=_[5];var m=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];m.primary=m[5];var C=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];C.primary=C[5];var g={red:d,volcano:R,orange:f,gold:A,yellow:S,lime:O,green:p,cyan:N,blue:I,geekblue:h,purple:_,magenta:m,grey:C},L=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];L.primary=L[5];var v=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];v.primary=v[5];var y=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];y.primary=y[5];var P=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];P.primary=P[5];var M=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];M.primary=M[5];var b=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];b.primary=b[5];var D=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];D.primary=D[5];var U=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];U.primary=U[5];var x=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];x.primary=x[5];var w=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];w.primary=w[5];var G=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];G.primary=G[5];var F=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];F.primary=F[5];var H=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];H.primary=H[5]},74934:function(e,t,n){"use strict";n.d(t,{rb:function(){return b},IX:function(){return C}});var r=n(14433),o=n(65347),i=n(65148),a=n(4247),s=n(38497),l=n(72178),E=n(97290),c=n(80972),u=n(6228),T=n(63119),d=n(43930),R=(0,c.Z)(function e(){(0,E.Z)(this,e)}),f="CALC_UNIT",A=RegExp(f,"g");function S(e){return"number"==typeof e?"".concat(e).concat(f):e}var O=function(e){(0,T.Z)(n,e);var t=(0,d.Z)(n);function n(e,o){(0,E.Z)(this,n),a=t.call(this),(0,i.Z)((0,u.Z)(a),"result",""),(0,i.Z)((0,u.Z)(a),"unitlessCssVar",void 0),(0,i.Z)((0,u.Z)(a),"lowPriority",void 0);var a,s=(0,r.Z)(e);return a.unitlessCssVar=o,e instanceof n?a.result="(".concat(e.result,")"):"number"===s?a.result=S(e):"string"===s&&(a.result=e),a}return(0,c.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result="".concat(this.result," + ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," + ").concat(S(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof n?this.result="".concat(this.result," - ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," - ").concat(S(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," * ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," / ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,n=(e||{}).unit,r=!0;return("boolean"==typeof n?r=n:Array.from(this.unitlessCssVar).some(function(e){return t.result.includes(e)})&&(r=!1),this.result=this.result.replace(A,r?"px":""),void 0!==this.lowPriority)?"calc(".concat(this.result,")"):this.result}}]),n}(R),p=function(e){(0,T.Z)(n,e);var t=(0,d.Z)(n);function n(e){var r;return(0,E.Z)(this,n),r=t.call(this),(0,i.Z)((0,u.Z)(r),"result",0),e instanceof n?r.result=e.result:"number"==typeof e&&(r.result=e),r}return(0,c.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof n?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof n?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof n?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),n}(R),N=function(e,t){var n="css"===e?O:p;return function(e){return new n(e,t)}},I=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function h(e,t,n,r){var i=(0,a.Z)({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach(function(e){var t,n=(0,o.Z)(e,2),r=n[0],a=n[1];(null!=i&&i[r]||null!=i&&i[a])&&(null!==(t=i[a])&&void 0!==t||(i[a]=null==i?void 0:i[r]))});var s=(0,a.Z)((0,a.Z)({},n),i);return Object.keys(s).forEach(function(e){s[e]===t[e]&&delete s[e]}),s}n(81581);var _="undefined"!=typeof CSSINJS_STATISTIC,m=!0;function C(){for(var e=arguments.length,t=Array(e),n=0;n1e4){var t=Date.now();this.lastAccessBeat.forEach(function(n,r){t-n>6e5&&(e.map.delete(r),e.lastAccessBeat.delete(r))}),this.accessBeat=0}}}]),e}()),M=function(){return{}};function b(e){var t=e.useCSP,n=void 0===t?M:t,E=e.useToken,c=e.usePrefix,u=e.getResetStyles,T=e.getCommonStyle,d=e.getCompUnitless;function R(e,t,i){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},R=Array.isArray(e)?e:[e,e],f=(0,o.Z)(R,1)[0],A=R.join("-");return function(e){var o,R,S=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,O=E(),p=O.theme,_=O.realToken,m=O.hashId,g=O.token,L=O.cssVar,M=c(),b=M.rootPrefixCls,D=M.iconPrefixCls,U=n(),x=L?"css":"js",w=(o=function(){var e=new Set;return L&&Object.keys(d.unitless||{}).forEach(function(t){e.add((0,l.ks)(t,L.prefix)),e.add((0,l.ks)(t,I(f,L.prefix)))}),N(x,e)},R=[x,f,null==L?void 0:L.prefix],s.useMemo(function(){var e=P.get(R);if(e)return e;var t=o();return P.set(R,t),t},R)),G="js"===x?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:e,n=C(e,t),r=(0,o.Z)(n,2)[1],i=g(t),a=(0,o.Z)(i,2);return[a[0],r,a[1]]}},genSubStyleComponent:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=R(e,t,n,(0,a.Z)({resetStyle:!1,order:-998},r));return function(e){var t=e.prefixCls,n=e.rootCls,r=void 0===n?t:n;return o(t,r),null}},genComponentStyleHook:R}}},72178:function(e,t,n){"use strict";n.d(t,{E4:function(){return eD},jG:function(){return L},t2:function(){return W},ks:function(){return w},bf:function(){return U},CI:function(){return eb},fp:function(){return j},xy:function(){return eP}});var r,o=n(65148),i=n(65347),a=n(72991),s=n(4247),l=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)},E=n(7577),c=n(38497),u=n.t(c,2);n(38263),n(9671);var T=n(97290),d=n(80972);function R(e){return e.join("%")}var f=function(){function e(t){(0,T.Z)(this,e),(0,o.Z)(this,"instanceId",void 0),(0,o.Z)(this,"cache",new Map),this.instanceId=t}return(0,d.Z)(e,[{key:"get",value:function(e){return this.opGet(R(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(R(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}(),A="data-token-hash",S="data-css-hash",O="__cssinjs_instance__",p=c.createContext({hashPriority:"low",cache:function(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(S,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(t){t[O]=t[O]||e,t[O]===e&&document.head.insertBefore(t,n)});var r={};Array.from(document.querySelectorAll("style[".concat(S,"]"))).forEach(function(t){var n,o=t.getAttribute(S);r[o]?t[O]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0})}return new f(e)}(),defaultCache:!0}),N=n(14433),I=n(18943),h=function(){function e(){(0,T.Z)(this,e),(0,o.Z)(this,"cache",void 0),(0,o.Z)(this,"keys",void 0),(0,o.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,d.Z)(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){if(o){var t;o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e)}else 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 o=this.keys.reduce(function(e,t){var n=(0,i.Z)(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),m+=1}return(0,d.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,n){return n(e,t)},void 0)}}]),e}(),g=new h;function L(e){var t=Array.isArray(e)?e:[e];return g.has(t)||g.set(t,new C(t)),g.get(t)}var v=new WeakMap,y={},P=new WeakMap;function M(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=P.get(e)||"";return n||(Object.keys(e).forEach(function(r){var o=e[r];n+=r,o instanceof C?n+=o.id:o&&"object"===(0,N.Z)(o)?n+=M(o,t):n+=o}),t&&(n=l(n)),P.set(e,n)),n}function b(e,t){return l("".concat(t,"_").concat(M(e,!0)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var D=(0,I.Z)();function U(e){return"number"==typeof e?"".concat(e,"px"):e}function x(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(i)return e;var a=(0,s.Z)((0,s.Z)({},r),{},(0,o.Z)((0,o.Z)({},A,t),S,n)),l=Object.keys(a).map(function(e){var t=a[e];return t?"".concat(e,'="').concat(t,'"'):null}).filter(function(e){return e}).join(" ");return"")}var w=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()},G=function(e,t,n){var r,o={},a={};return Object.entries(e).forEach(function(e){var t=(0,i.Z)(e,2),r=t[0],s=t[1];if(null!=n&&null!==(l=n.preserve)&&void 0!==l&&l[r])a[r]=s;else if(("string"==typeof s||"number"==typeof s)&&!(null!=n&&null!==(E=n.ignore)&&void 0!==E&&E[r])){var l,E,c,u=w(r,null==n?void 0:n.prefix);o[u]="number"!=typeof s||null!=n&&null!==(c=n.unitless)&&void 0!==c&&c[r]?String(s):"".concat(s,"px"),a[r]="var(".concat(u,")")}}),[a,(r={scope:null==n?void 0:n.scope},Object.keys(o).length?".".concat(t).concat(null!=r&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(o).map(function(e){var t=(0,i.Z)(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")}).join(""),"}"):"")]},F=n(46644),H=(0,s.Z)({},u).useInsertionEffect,B=H?function(e,t,n){return H(function(){return e(),t()},n)}:function(e,t,n){c.useMemo(e,n),(0,F.Z)(function(){return t(!0)},n)},Y=void 0!==(0,s.Z)({},u).useInsertionEffect?function(e){var t=[],n=!1;return c.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()}};function k(e,t,n,r,o){var s=c.useContext(p).cache,l=R([e].concat((0,a.Z)(t))),E=Y([l]),u=function(e){s.opUpdate(l,function(t){var r=(0,i.Z)(t||[void 0,void 0],2),o=r[0],a=[void 0===o?0:o,r[1]||n()];return e?e(a):a})};c.useMemo(function(){u()},[l]);var T=s.opGet(l)[1];return B(function(){null==o||o(T)},function(e){return u(function(t){var n=(0,i.Z)(t,2),r=n[0],a=n[1];return e&&0===r&&(null==o||o(T)),[r+1,a]}),function(){s.opUpdate(l,function(t){var n=(0,i.Z)(t||[],2),o=n[0],a=void 0===o?0:o,c=n[1];return 0==a-1?(E(function(){(e||!s.opGet(l))&&(null==r||r(c,!1))}),null):[a-1,c]})}},[l]),T}var V={},$=new Map,W=function(e,t,n,r){var o=n.getDerivativeToken(e),i=(0,s.Z)((0,s.Z)({},o),t);return r&&(i=r(i)),i},Z="token";function j(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,c.useContext)(p),o=r.cache.instanceId,u=r.container,T=n.salt,d=void 0===T?"":T,R=n.override,f=void 0===R?V:R,N=n.formatToken,I=n.getComputedToken,h=n.cssVar,_=function(e,t){for(var n=v,r=0;r=($.get(e)||0)}),n.length-r.length>0&&r.forEach(function(e){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(A,'="').concat(e,'"]')).forEach(function(e){if(e[O]===o){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)}}),$.delete(e)})},function(e){var t=(0,i.Z)(e,4),n=t[0],r=t[3];if(h&&r){var a=(0,E.hq)(r,l("css-variables-".concat(n._themeKey)),{mark:S,prepend:"queue",attachTo:u,priority:-999});a[O]=o,a.setAttribute(A,n._themeKey)}})}var X=n(42096),K={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},z="comm",J="rule",q="decl",Q=Math.abs,ee=String.fromCharCode;function et(e,t,n){return e.replace(t,n)}function en(e,t){return 0|e.charCodeAt(t)}function er(e,t,n){return e.slice(t,n)}function eo(e){return e.length}function ei(e,t){return t.push(e),e}function ea(e,t){for(var n="",r=0;r0?d[O]+" "+p:et(p,/&\f/g,d[O])).trim())&&(l[S++]=N);return eR(e,t,n,0===o?J:s,l,E,c,u)}function eN(e,t,n,r,o){return eR(e,t,n,q,er(e,0,r),er(e,r+1,-1),r,o)}var eI="data-ant-cssinjs-cache-path",eh="_FILE_STYLE__",e_=!0,em="_multi_value_";function eC(e){var t,n,r;return ea((r=function e(t,n,r,o,i,a,s,l,E){for(var c,u,T,d=0,R=0,f=s,A=0,S=0,O=0,p=1,N=1,I=1,h=0,_="",m=i,C=a,g=o,L=_;N;)switch(O=h,h=ef()){case 40:if(108!=O&&58==en(L,f-1)){-1!=(u=L+=et(eO(h),"&","&\f"),T=Q(d?l[d-1]:0),u.indexOf("&\f",T))&&(I=-1);break}case 34:case 39:case 91:L+=eO(h);break;case 9:case 10:case 13:case 32:L+=function(e){for(;eT=eA();)if(eT<33)ef();else break;return eS(e)>2||eS(eT)>3?"":" "}(O);break;case 92:L+=function(e,t){for(var n;--t&&ef()&&!(eT<48)&&!(eT>102)&&(!(eT>57)||!(eT<65))&&(!(eT>70)||!(eT<97)););return n=eu+(t<6&&32==eA()&&32==ef()),er(ed,e,n)}(eu-1,7);continue;case 47:switch(eA()){case 42:case 47:ei(eR(c=function(e,t){for(;ef();)if(e+eT===57)break;else if(e+eT===84&&47===eA())break;return"/*"+er(ed,t,eu-1)+"*"+ee(47===e?e:ef())}(ef(),eu),n,r,z,ee(eT),er(c,2,-2),0,E),E);break;default:L+="/"}break;case 123*p:l[d++]=eo(L)*I;case 125*p:case 59:case 0:switch(h){case 0:case 125:N=0;case 59+R:-1==I&&(L=et(L,/\f/g,"")),S>0&&eo(L)-f&&ei(S>32?eN(L+";",o,r,f-1,E):eN(et(L," ","")+";",o,r,f-2,E),E);break;case 59:L+=";";default:if(ei(g=ep(L,n,r,d,R,i,l,_,m=[],C=[],f,a),a),123===h){if(0===R)e(L,n,g,g,m,a,f,l,C);else switch(99===A&&110===en(L,3)?100:A){case 100:case 108:case 109:case 115:e(t,g,g,o&&ei(ep(t,g,g,0,0,i,l,_,i,m=[],f,C),C),i,C,f,l,o?m:C);break;default:e(L,g,g,g,[""],C,0,l,C)}}}d=R=S=0,p=I=1,_=L="",f=s;break;case 58:f=1+eo(L),S=O;default:if(p<1){if(123==h)--p;else if(125==h&&0==p++&&125==(eT=eu>0?en(ed,--eu):0,eE--,10===eT&&(eE=1,el--),eT))continue}switch(L+=ee(h),h*p){case 38:I=R>0?1:(L+="\f",-1);break;case 44:l[d++]=(eo(L)-1)*I,I=1;break;case 64:45===eA()&&(L+=eO(ef())),A=eA(),R=f=eo(_=L+=function(e){for(;!eS(eA());)ef();return er(ed,e,eu)}(eu)),h++;break;case 45:45===O&&2==eo(L)&&(p=0)}}return a}("",null,null,null,[""],(n=t=e,el=eE=1,ec=eo(ed=n),eu=0,t=[]),0,[0],t),ed="",r),es).replace(/\{%%%\:[^;];}/g,";")}var eg=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:[]},o=r.root,l=r.injectHash,E=r.parentSelectors,c=n.hashId,u=n.layer,T=(n.path,n.hashPriority),d=n.transformers,R=void 0===d?[]:d;n.linters;var f="",A={};function S(t){var r=t.getName(c);if(!A[r]){var o=e(t.style,n,{root:!1,parentSelectors:E}),a=(0,i.Z)(o,1)[0];A[r]="@keyframes ".concat(t.getName(c)).concat(a)}}return(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]).forEach(function(t){var r="string"!=typeof t||o?t:{};if("string"==typeof r)f+="".concat(r,"\n");else if(r._keyframe)S(r);else{var u=R.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(u).forEach(function(t){var r=u[t];if("object"!==(0,N.Z)(r)||!r||"animationName"===t&&r._keyframe||"object"===(0,N.Z)(r)&&r&&("_skip_check_"in r||em in r)){function d(e,t){var n=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;K[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(S(t),r=t.getName(c)),f+="".concat(n,":").concat(r,";")}var R,O=null!==(R=null==r?void 0:r.value)&&void 0!==R?R:r;"object"===(0,N.Z)(r)&&null!=r&&r[em]&&Array.isArray(O)?O.forEach(function(e){d(t,e)}):d(t,O)}else{var p=!1,I=t.trim(),h=!1;(o||l)&&c?I.startsWith("@")?p=!0:I=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]||"",i=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat((0,a.Z)(n.slice(1))).join(" ")}).join(",")}(t,c,T):o&&!c&&("&"===I||""===I)&&(I="",h=!0);var _=e(r,n,{root:h,injectHash:p,parentSelectors:[].concat((0,a.Z)(E),[I])}),m=(0,i.Z)(_,2),C=m[0],g=m[1];A=(0,s.Z)((0,s.Z)({},A),g),f+="".concat(I).concat(C)}})}}),o?u&&(f="@layer ".concat(u.name," {").concat(f,"}"),u.dependencies&&(A["@layer ".concat(u.name)]=u.dependencies.map(function(e){return"@layer ".concat(e,", ").concat(u.name,";")}).join("\n"))):f="{".concat(f,"}"),[f,A]};function eL(e,t){return l("".concat(e.join("%")).concat(t))}function ev(){return null}var ey="style";function eP(e,t){var n=e.token,l=e.path,u=e.hashId,T=e.layer,d=e.nonce,R=e.clientOnly,f=e.order,N=void 0===f?0:f,h=c.useContext(p),_=h.autoClear,m=(h.mock,h.defaultCache),C=h.hashPriority,g=h.container,L=h.ssrInline,v=h.transformers,y=h.linters,P=h.cache,M=h.layer,b=n._tokenKey,U=[b];M&&U.push("layer"),U.push.apply(U,(0,a.Z)(l));var x=k(ey,U,function(){var e=U.join("|");if(!function(){if(!r&&(r={},(0,I.Z)())){var e,t=document.createElement("div");t.className=eI,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);var n=getComputedStyle(t).content||"";(n=n.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(e){var t=e.split(":"),n=(0,i.Z)(t,2),o=n[0],a=n[1];r[o]=a});var o=document.querySelector("style[".concat(eI,"]"));o&&(e_=!1,null===(e=o.parentNode)||void 0===e||e.removeChild(o)),document.body.removeChild(t)}}(),r[e]){var n=function(e){var t=r[e],n=null;if(t&&(0,I.Z)()){if(e_)n=eh;else{var o=document.querySelector("style[".concat(S,'="').concat(r[e],'"]'));o?n=o.innerHTML:delete r[e]}}return[n,t]}(e),o=(0,i.Z)(n,2),a=o[0],s=o[1];if(a)return[a,b,s,{},R,N]}var E=eg(t(),{hashId:u,hashPriority:C,layer:M?T:void 0,path:l.join("-"),transformers:v,linters:y}),c=(0,i.Z)(E,2),d=c[0],f=c[1],A=eC(d),O=eL(U,A);return[A,b,O,f,R,N]},function(e,t){var n=(0,i.Z)(e,3)[2];(t||_)&&D&&(0,E.jL)(n,{mark:S})},function(e){var t=(0,i.Z)(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(D&&n!==eh){var a={mark:S,prepend:!M&&"queue",attachTo:g,priority:N},l="function"==typeof d?d():d;l&&(a.csp={nonce:l});var c=[],u=[];Object.keys(o).forEach(function(e){e.startsWith("@layer")?c.push(e):u.push(e)}),c.forEach(function(e){(0,E.hq)(eC(o[e]),"_layer-".concat(e),(0,s.Z)((0,s.Z)({},a),{},{prepend:!0}))});var T=(0,E.hq)(n,r,a);T[O]=P.instanceId,T.setAttribute(A,b),u.forEach(function(e){(0,E.hq)(eC(o[e]),"_effect-".concat(e),a)})}}),w=(0,i.Z)(x,3),G=w[0],F=w[1],H=w[2];return function(e){var t;return t=L&&!D&&m?c.createElement("style",(0,X.Z)({},(0,o.Z)((0,o.Z)({},A,F),S,H),{dangerouslySetInnerHTML:{__html:G}})):c.createElement(ev,null),c.createElement(c.Fragment,null,t,e)}}var eM="cssVar",eb=function(e,t){var n=e.key,r=e.prefix,o=e.unitless,s=e.ignore,l=e.token,u=e.scope,T=void 0===u?"":u,d=(0,c.useContext)(p),R=d.cache.instanceId,f=d.container,N=l._tokenKey,I=[].concat((0,a.Z)(e.path),[n,T,N]);return k(eM,I,function(){var e=G(t(),n,{prefix:r,unitless:o,ignore:s,scope:T}),a=(0,i.Z)(e,2),l=a[0],E=a[1],c=eL(I,E);return[l,E,c,n]},function(e){var t=(0,i.Z)(e,3)[2];D&&(0,E.jL)(t,{mark:S})},function(e){var t=(0,i.Z)(e,3),r=t[1],o=t[2];if(r){var a=(0,E.hq)(r,o,{mark:S,prepend:"queue",attachTo:f,priority:-999});a[O]=R,a.setAttribute(A,n)}})};(0,o.Z)((0,o.Z)((0,o.Z)({},ey,function(e,t,n){var r=(0,i.Z)(e,6),o=r[0],a=r[1],s=r[2],l=r[3],E=r[4],c=r[5],u=(n||{}).plain;if(E)return null;var T=o,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)};return T=x(o,a,s,d,u),l&&Object.keys(l).forEach(function(e){if(!t[e]){t[e]=!0;var n=x(eC(l[e]),a,"_effect-".concat(e),d,u);e.startsWith("@layer")?T=n+T:T+=n}}),[c,s,T]}),Z,function(e,t,n){var r=(0,i.Z)(e,5),o=r[2],a=r[3],s=r[4],l=(n||{}).plain;if(!a)return null;var E=o._tokenKey,c=x(a,s,E,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l);return[-999,E,c]}),eM,function(e,t,n){var r=(0,i.Z)(e,4),o=r[1],a=r[2],s=r[3],l=(n||{}).plain;if(!o)return null;var E=x(o,s,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l);return[-999,a,E]});var eD=function(){function e(t,n){(0,T.Z)(this,e),(0,o.Z)(this,"name",void 0),(0,o.Z)(this,"style",void 0),(0,o.Z)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,d.Z)(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 eU(e){return e.notSplit=!0,e}eU(["borderTop","borderBottom"]),eU(["borderTop"]),eU(["borderBottom"]),eU(["borderLeft","borderRight"]),eU(["borderLeft"]),eU(["borderRight"])},75651:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=n(42096),o=n(65347),i=n(65148),a=n(10921),s=n(38497),l=n(26869),E=n.n(l),c=n(82650),u=n(63366),T=n(4247),d=n(21299),R=["icon","className","onClick","style","primaryColor","secondaryColor"],f={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},A=function(e){var t=e.icon,n=e.className,r=e.onClick,o=e.style,i=e.primaryColor,l=e.secondaryColor,E=(0,a.Z)(e,R),c=s.useRef(),u=f;if(i&&(u={primaryColor:i,secondaryColor:l||(0,d.pw)(i)}),(0,d.C3)(c),(0,d.Kp)((0,d.r)(t),"icon should be icon definiton, but got ".concat(t)),!(0,d.r)(t))return null;var A=t;return A&&"function"==typeof A.icon&&(A=(0,T.Z)((0,T.Z)({},A),{},{icon:A.icon(u.primaryColor,u.secondaryColor)})),(0,d.R_)(A.icon,"svg-".concat(A.name),(0,T.Z)((0,T.Z)({className:n,onClick:r,style:o,"data-icon":A.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},E),{},{ref:c}))};function S(e){var t=(0,d.H9)(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return A.setTwoToneColors({primaryColor:r,secondaryColor:i})}A.displayName="IconReact",A.getTwoToneColors=function(){return(0,T.Z)({},f)},A.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;f.primaryColor=t,f.secondaryColor=n||(0,d.pw)(t),f.calculated=!!n};var O=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];S(c.iN.primary);var p=s.forwardRef(function(e,t){var n=e.className,l=e.icon,c=e.spin,T=e.rotate,R=e.tabIndex,f=e.onClick,S=e.twoToneColor,p=(0,a.Z)(e,O),N=s.useContext(u.Z),I=N.prefixCls,h=void 0===I?"anticon":I,_=N.rootClassName,m=E()(_,h,(0,i.Z)((0,i.Z)({},"".concat(h,"-").concat(l.name),!!l.name),"".concat(h,"-spin"),!!c||"loading"===l.name),n),C=R;void 0===C&&f&&(C=-1);var g=(0,d.H9)(S),L=(0,o.Z)(g,2),v=L[0],y=L[1];return s.createElement("span",(0,r.Z)({role:"img","aria-label":l.name},p,{ref:t,tabIndex:C,onClick:f,className:m}),s.createElement(A,{icon:l,primaryColor:v,secondaryColor:y,style:T?{msTransform:"rotate(".concat(T,"deg)"),transform:"rotate(".concat(T,"deg)")}:void 0}))});p.displayName="AntdIcon",p.getTwoToneColor=function(){var e=A.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},p.setTwoToneColor=S;var N=p},63366:function(e,t,n){"use strict";var r=(0,n(38497).createContext)({});t.Z=r},42834:function(e,t,n){"use strict";var r=n(42096),o=n(4247),i=n(65148),a=n(10921),s=n(38497),l=n(26869),E=n.n(l),c=n(7544),u=n(63366),T=n(21299),d=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],R=s.forwardRef(function(e,t){var n=e.className,l=e.component,R=e.viewBox,f=e.spin,A=e.rotate,S=e.tabIndex,O=e.onClick,p=e.children,N=(0,a.Z)(e,d),I=s.useRef(),h=(0,c.x1)(I,t);(0,T.Kp)(!!(l||p),"Should have `component` prop or `children`."),(0,T.C3)(I);var _=s.useContext(u.Z),m=_.prefixCls,C=void 0===m?"anticon":m,g=_.rootClassName,L=E()(g,C,(0,i.Z)({},"".concat(C,"-spin"),!!f&&!!l),n),v=E()((0,i.Z)({},"".concat(C,"-spin"),!!f)),y=(0,o.Z)((0,o.Z)({},T.vD),{},{className:v,style:A?{msTransform:"rotate(".concat(A,"deg)"),transform:"rotate(".concat(A,"deg)")}:void 0,viewBox:R});R||delete y.viewBox;var P=S;return void 0===P&&O&&(P=-1),s.createElement("span",(0,r.Z)({role:"img"},N,{ref:h,tabIndex:P,onClick:O,className:L}),l?s.createElement(l,y,p):p?((0,T.Kp)(!!R||1===s.Children.count(p)&&s.isValidElement(p)&&"use"===s.Children.only(p).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),s.createElement("svg",(0,r.Z)({},y,{viewBox:R}),p)):null)});R.displayName="AntdIcon",t.Z=R},31183:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),o=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"},a=n(75651),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94918:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),o=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zm-504 68h200v200H412V278zm-68 468H144V546h200v200zm268 0H412V546h200v200zm268-268H680V278h200v200z"}}]},name:"build",theme:"outlined"},a=n(75651),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},16147:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),o=n(38497),i={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"},a=n(75651),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},86298:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),o=n(38497),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"},a=n(75651),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},84223:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),o=n(38497),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"},a=n(75651),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},43738:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),o=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M301.3 496.7c-23.8 0-40.2-10.5-41.6-26.9H205c.9 43.4 36.9 70.3 93.9 70.3 59.1 0 95-28.4 95-75.5 0-35.8-20-55.9-64.5-64.5l-29.1-5.6c-23.8-4.7-33.8-11.9-33.8-24.2 0-15 13.3-24.5 33.4-24.5 20.1 0 35.3 11.1 36.6 27h53c-.9-41.7-37.5-70.3-90.3-70.3-54.4 0-89.7 28.9-89.7 73 0 35.5 21.2 58 62.5 65.8l29.7 5.9c25.8 5.2 35.6 11.9 35.6 24.4.1 14.7-14.5 25.1-36 25.1z"}},{tag:"path",attrs:{d:"M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z"}},{tag:"path",attrs:{d:"M828.5 486.7h-95.8V308.5h-57.4V534h153.2zm-298.6 53.4c14.1 0 27.2-2 39.1-5.8l13.3 20.3h53.3L607.9 511c21.1-20 33-51.1 33-89.8 0-73.3-43.3-118.8-110.9-118.8s-111.2 45.3-111.2 118.8c-.1 73.7 43 118.9 111.1 118.9zm0-190c31.6 0 52.7 27.7 52.7 71.1 0 16.7-3.6 30.6-10 40.5l-5.2-6.9h-48.8L542 491c-3.9.9-8 1.4-12.2 1.4-31.7 0-52.8-27.5-52.8-71.2.1-43.6 21.2-71.1 52.9-71.1z"}}]},name:"console-sql",theme:"outlined"},a=n(75651),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},71836:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),o=n(38497),i={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"},a=n(75651),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},51382:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),o=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 100c-61.8 0-112 50.2-112 112 0 47.7 29.9 88.5 72 104.6v27.6L512 601.4 312 344.2v-27.6c42.1-16.1 72-56.9 72-104.6 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 50.6 33.8 93.5 80 107.3v34.4c0 9.7 3.3 19.3 9.3 27L476 672.3v33.6c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-33.6l226.7-291.6c6-7.7 9.3-17.3 9.3-27v-34.4c46.2-13.8 80-56.7 80-107.3 0-61.8-50.2-112-112-112zM224 212a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm336 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm192-552a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"fork",theme:"outlined"},a=n(75651),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},10173:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),o=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"},a=n(75651),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},44661:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),o=n(38497),i={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"},a=n(75651),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},37022:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),o=n(38497),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"},a=n(75651),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},61760:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),o=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"message",theme:"outlined"},a=n(75651),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},92026:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),o=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M640.6 429.8h257.1c7.9 0 14.3-6.4 14.3-14.3V158.3c0-7.9-6.4-14.3-14.3-14.3H640.6c-7.9 0-14.3 6.4-14.3 14.3v92.9H490.6c-3.9 0-7.1 3.2-7.1 7.1v221.5h-85.7v-96.5c0-7.9-6.4-14.3-14.3-14.3H126.3c-7.9 0-14.3 6.4-14.3 14.3v257.2c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3V544h85.7v221.5c0 3.9 3.2 7.1 7.1 7.1h135.7v92.9c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3v-257c0-7.9-6.4-14.3-14.3-14.3h-257c-7.9 0-14.3 6.4-14.3 14.3v100h-78.6v-393h78.6v100c0 7.9 6.4 14.3 14.3 14.3zm53.5-217.9h150V362h-150V211.9zM329.9 587h-150V437h150v150zm364.2 75.1h150v150.1h-150V662.1z"}}]},name:"partition",theme:"outlined"},a=n(75651),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},50374:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(42096),o=n(38497),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 00324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM324.8 721H136V233h188.8c35.4 0 69.8 10.1 99.5 29.2l48.8 31.3 6.9 4.5v462c-47.6-25.6-100.8-39-155.2-39zm563.2 0H699.2c-54.4 0-107.6 13.4-155.2 39V298l6.9-4.5 48.8-31.3c29.7-19.1 64.1-29.2 99.5-29.2H888v488zM396.9 361H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm223.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c0-4.1-3.2-7.5-7.1-7.5H627.1c-3.9 0-7.1 3.4-7.1 7.5zM396.9 501H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm416 0H627.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5z"}}]},name:"read",theme:"outlined"},a=n(75651),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},21299:function(e,t,n){"use strict";n.d(t,{C3:function(){return S},H9:function(){return f},Kp:function(){return u},R_:function(){return function e(t,n,o){return o?E.createElement(t.tag,(0,r.Z)((0,r.Z)({key:n},d(t.attrs)),o),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})):E.createElement(t.tag,(0,r.Z)({key:n},d(t.attrs)),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))}))}},pw:function(){return R},r:function(){return T},vD:function(){return A}});var r=n(4247),o=n(14433),i=n(82650),a=n(7577),s=n(63125),l=n(89842),E=n(38497),c=n(63366);function u(e,t){(0,l.ZP)(e,"[@ant-design/icons] ".concat(t))}function T(e){return"object"===(0,o.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,o.Z)(e.icon)||"function"==typeof e.icon)}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):(delete t[n],t[n.replace(/-(.)/g,function(e,t){return t.toUpperCase()})]=r),t},{})}function R(e){return(0,i.R_)(e)[0]}function f(e){return e?Array.isArray(e)?e:[e]:[]}var A={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},S=function(e){var t=(0,E.useContext)(c.Z),n=t.csp,r=t.prefixCls,o="\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";r&&(o=o.replace(/anticon/g,r)),(0,E.useEffect)(function(){var t=e.current,r=(0,s.A)(t);(0,a.hq)(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:r})},[])}},26099:function(e,t,n){"use strict";n.d(t,{T6:function(){return T},VD:function(){return d},WE:function(){return E},Yt:function(){return R},lC:function(){return i},py:function(){return l},rW:function(){return o},s:function(){return u},ve:function(){return s},vq:function(){return c}});var r=n(28400);function o(e,t,n){return{r:255*(0,r.sh)(e,255),g:255*(0,r.sh)(t,255),b:255*(0,r.sh)(n,255)}}function i(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,s=0,l=(o+i)/2;if(o===i)s=0,a=0;else{var E=o-i;switch(s=l>.5?E/(2-o-i):E/(o+i),o){case e:a=(t-n)/E+(t1&&(n-=1),n<1/6)?e+(t-e)*(6*n):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function s(e,t,n){if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)i=n,s=n,o=n;else{var o,i,s,l=n<.5?n*(1+t):n+t-n*t,E=2*n-l;o=a(E,l,e+1/3),i=a(E,l,e),s=a(E,l,e-1/3)}return{r:255*o,g:255*i,b:255*s}}function l(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,s=o-i;if(o===i)a=0;else{switch(o){case e:a=(t-n)/s+(t>16,g:(65280&e)>>8,b:255&e}}},3386:function(e,t,n){"use strict";n.d(t,{R:function(){return 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"}},26611:function(e,t,n){"use strict";n.d(t,{uA:function(){return a}});var r=n(26099),o=n(3386),i=n(28400);function a(e){var t={r:0,g:0,b:0},n=1,a=null,s=null,l=null,E=!1,T=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=c.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=c.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=c.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=c.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=c.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=c.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=c.hex8.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:t?"name":"hex8"}:(n=c.hex6.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"}:(n=c.hex4.exec(e))?{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=c.hex3.exec(e))&&{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(u(e.r)&&u(e.g)&&u(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),E=!0,T="%"===String(e.r).substr(-1)?"prgb":"rgb"):u(e.h)&&u(e.s)&&u(e.v)?(a=(0,i.JX)(e.s),s=(0,i.JX)(e.v),t=(0,r.WE)(e.h,a,s),E=!0,T="hsv"):u(e.h)&&u(e.s)&&u(e.l)&&(a=(0,i.JX)(e.s),l=(0,i.JX)(e.l),t=(0,r.ve)(e.h,a,l),E=!0,T="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:E,format:e.format||T,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 s="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),E="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),c={CSS_UNIT:new RegExp(s),rgb:RegExp("rgb"+l),rgba:RegExp("rgba"+E),hsl:RegExp("hsl"+l),hsla:RegExp("hsla"+E),hsv:RegExp("hsv"+l),hsva:RegExp("hsva"+E),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 u(e){return!!c.CSS_UNIT.exec(String(e))}},51084:function(e,t,n){"use strict";n.d(t,{C:function(){return s}});var r=n(26099),o=n(3386),i=n(26611),a=n(28400),s=function(){function e(t,n){if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.Yt)(t)),this.originalInput=t;var o,a=(0,i.uA)(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 128>this.getBrightness()},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.Yq)(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.py)(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.py)(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.lC)(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.lC)(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.vq)(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.s)(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.sh)(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.sh)(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.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.R);t=0;return!t&&r&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("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())},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.V2)(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(-(255*(t/100))))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-(255*(t/100))))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-(255*(t/100))))),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.V2)(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.V2)(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.V2)(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,a={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};return new e(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=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%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;aMath.abs(e-t))?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(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function s(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:function(){return s},JX:function(){return a},V2:function(){return o},Yq:function(){return i},sh:function(){return r}})},83367:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(65347),o=n(38497),i=n(2060),a=n(18943);n(89842);var s=n(7544),l=o.createContext(null),E=n(72991),c=n(46644),u=[],T=n(7577),d=n(35394),R="rc-util-locker-".concat(Date.now()),f=0,A=!1,S=function(e){return!1!==e&&((0,a.Z)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},O=o.forwardRef(function(e,t){var n,O,p,N,I=e.open,h=e.autoLock,_=e.getContainer,m=(e.debug,e.autoDestroy),C=void 0===m||m,g=e.children,L=o.useState(I),v=(0,r.Z)(L,2),y=v[0],P=v[1],M=y||I;o.useEffect(function(){(C||I)&&P(I)},[I,C]);var b=o.useState(function(){return S(_)}),D=(0,r.Z)(b,2),U=D[0],x=D[1];o.useEffect(function(){var e=S(_);x(null!=e?e:null)});var w=function(e,t){var n=o.useState(function(){return(0,a.Z)()?document.createElement("div"):null}),i=(0,r.Z)(n,1)[0],s=o.useRef(!1),T=o.useContext(l),d=o.useState(u),R=(0,r.Z)(d,2),f=R[0],A=R[1],S=T||(s.current?void 0:function(e){A(function(t){return[e].concat((0,E.Z)(t))})});function O(){i.parentElement||document.body.appendChild(i),s.current=!0}function p(){var e;null===(e=i.parentElement)||void 0===e||e.removeChild(i),s.current=!1}return(0,c.Z)(function(){return e?T?T(O):O():p(),p},[e]),(0,c.Z)(function(){f.length&&(f.forEach(function(e){return e()}),A(u))},[f]),[i,S]}(M&&!U,0),G=(0,r.Z)(w,2),F=G[0],H=G[1],B=null!=U?U:F;n=!!(h&&I&&(0,a.Z)()&&(B===F||B===document.body)),O=o.useState(function(){return f+=1,"".concat(R,"_").concat(f)}),p=(0,r.Z)(O,1)[0],(0,c.Z)(function(){if(n){var e=(0,d.o)(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,T.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),p)}else(0,T.jL)(p);return function(){(0,T.jL)(p)}},[n,p]);var Y=null;g&&(0,s.Yr)(g)&&t&&(Y=g.ref);var k=(0,s.x1)(Y,t);if(!M||!(0,a.Z)()||void 0===U)return null;var V=!1===B||("boolean"==typeof N&&(A=N),A),$=g;return t&&($=o.cloneElement(g,{ref:k})),o.createElement(l.Provider,{value:H},V?$:(0,i.createPortal)($,B))})},92361:function(e,t,n){"use strict";n.d(t,{Z:function(){return Y}});var r=n(4247),o=n(65347),i=n(10921),a=n(83367),s=n(26869),l=n.n(s),E=n(31617),c=n(42502),u=n(63125),T=n(80988),d=n(30812),R=n(46644),f=n(61193),A=n(38497),S=n(42096),O=n(53979),p=n(7544);function N(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,i=r||{},a=i.className,s=i.content,E=o.x,c=o.y,u=A.useRef();if(!n||!n.points)return null;var T={position:"absolute"};if(!1!==n.autoArrow){var d=n.points[0],R=n.points[1],f=d[0],S=d[1],O=R[0],p=R[1];f!==O&&["t","b"].includes(f)?"t"===f?T.top=0:T.bottom=0:T.top=void 0===c?0:c,S!==p&&["l","r"].includes(S)?"l"===S?T.left=0:T.right=0:T.left=void 0===E?0:E}return A.createElement("div",{ref:u,className:l()("".concat(t,"-arrow"),a),style:T},s)}function I(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,i=e.motion;return o?A.createElement(O.ZP,(0,S.Z)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(e){var n=e.className;return A.createElement("div",{style:{zIndex:r},className:l()("".concat(t,"-mask"),n)})}):null}var h=A.memo(function(e){return e.children},function(e,t){return t.cache}),_=A.forwardRef(function(e,t){var n=e.popup,i=e.className,a=e.prefixCls,s=e.style,c=e.target,u=e.onVisibleChanged,T=e.open,d=e.keepDom,f=e.fresh,_=e.onClick,m=e.mask,C=e.arrow,g=e.arrowPos,L=e.align,v=e.motion,y=e.maskMotion,P=e.forceRender,M=e.getPopupContainer,b=e.autoDestroy,D=e.portal,U=e.zIndex,x=e.onMouseEnter,w=e.onMouseLeave,G=e.onPointerEnter,F=e.ready,H=e.offsetX,B=e.offsetY,Y=e.offsetR,k=e.offsetB,V=e.onAlign,$=e.onPrepare,W=e.stretch,Z=e.targetWidth,j=e.targetHeight,X="function"==typeof n?n():n,K=(null==M?void 0:M.length)>0,z=A.useState(!M||!K),J=(0,o.Z)(z,2),q=J[0],Q=J[1];if((0,R.Z)(function(){!q&&K&&c&&Q(!0)},[q,K,c]),!q)return null;var ee="auto",et={left:"-1000vw",top:"-1000vh",right:ee,bottom:ee};if(F||!T){var en,er=L.points,eo=L.dynamicInset||(null===(en=L._experimental)||void 0===en?void 0:en.dynamicInset),ei=eo&&"r"===er[0][1],ea=eo&&"b"===er[0][0];ei?(et.right=Y,et.left=ee):(et.left=H,et.right=ee),ea?(et.bottom=k,et.top=ee):(et.top=B,et.bottom=ee)}var es={};return W&&(W.includes("height")&&j?es.height=j:W.includes("minHeight")&&j&&(es.minHeight=j),W.includes("width")&&Z?es.width=Z:W.includes("minWidth")&&Z&&(es.minWidth=Z)),T||(es.pointerEvents="none"),A.createElement(D,{open:P||T||d,getContainer:M&&function(){return M(c)},autoDestroy:b},A.createElement(I,{prefixCls:a,open:T,zIndex:U,mask:m,motion:y}),A.createElement(E.Z,{onResize:V,disabled:!T},function(e){return A.createElement(O.ZP,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:P,leavedClassName:"".concat(a,"-hidden")},v,{onAppearPrepare:$,onEnterPrepare:$,visible:T,onVisibleChanged:function(e){var t;null==v||null===(t=v.onVisibleChanged)||void 0===t||t.call(v,e),u(e)}}),function(n,o){var E=n.className,c=n.style,u=l()(a,E,i);return A.createElement("div",{ref:(0,p.sQ)(e,t,o),className:u,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(g.x||0,"px"),"--arrow-y":"".concat(g.y||0,"px")},et),es),c),{},{boxSizing:"border-box",zIndex:U},s),onMouseEnter:x,onMouseLeave:w,onPointerEnter:G,onClick:_},C&&A.createElement(N,{prefixCls:a,arrow:C,arrowPos:g,align:L}),A.createElement(h,{cache:!T&&!f},X))})}))}),m=A.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=(0,p.Yr)(n),i=A.useCallback(function(e){(0,p.mH)(t,r?r(e):e)},[r]),a=(0,p.x1)(i,n.ref);return o?A.cloneElement(n,{ref:a}):n}),C=A.createContext(null);function g(e){return e?Array.isArray(e)?e:[e]:[]}var L=n(62143);function v(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function y(e){return e.ownerDocument.defaultView}function P(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=y(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 M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function b(e){return M(parseFloat(e),0)}function D(e,t){var n=(0,r.Z)({},e);return(t||[]).forEach(function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=y(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,l=t.borderRightWidth,E=e.getBoundingClientRect(),c=e.offsetHeight,u=e.clientHeight,T=e.offsetWidth,d=e.clientWidth,R=b(i),f=b(a),A=b(s),S=b(l),O=M(Math.round(E.width/T*1e3)/1e3),p=M(Math.round(E.height/c*1e3)/1e3),N=R*p,I=A*O,h=0,_=0;if("clip"===r){var m=b(o);h=m*O,_=m*p}var C=E.x+I-h,g=E.y+N-_,L=C+E.width+2*h-I-S*O-(T-d-A-S)*O,v=g+E.height+2*_-N-f*p-(c-u-R-f)*p;n.left=Math.max(n.left,C),n.top=Math.max(n.top,g),n.right=Math.min(n.right,L),n.bottom=Math.min(n.bottom,v)}}),n}function U(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function x(e,t){var n=(0,o.Z)(t||[],2),r=n[0],i=n[1];return[U(e.width,r),U(e.height,i)]}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function G(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 F(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 H=n(72991);n(89842);var B=["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"],Y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z;return A.forwardRef(function(t,n){var a,s,S,O,p,N,I,h,b,U,Y,k,V,$,W,Z,j=t.prefixCls,X=void 0===j?"rc-trigger-popup":j,K=t.children,z=t.action,J=t.showAction,q=t.hideAction,Q=t.popupVisible,ee=t.defaultPopupVisible,et=t.onPopupVisibleChange,en=t.afterPopupVisibleChange,er=t.mouseEnterDelay,eo=t.mouseLeaveDelay,ei=void 0===eo?.1:eo,ea=t.focusDelay,es=t.blurDelay,el=t.mask,eE=t.maskClosable,ec=t.getPopupContainer,eu=t.forceRender,eT=t.autoDestroy,ed=t.destroyPopupOnHide,eR=t.popup,ef=t.popupClassName,eA=t.popupStyle,eS=t.popupPlacement,eO=t.builtinPlacements,ep=void 0===eO?{}:eO,eN=t.popupAlign,eI=t.zIndex,eh=t.stretch,e_=t.getPopupClassNameFromAlign,em=t.fresh,eC=t.alignPoint,eg=t.onPopupClick,eL=t.onPopupAlign,ev=t.arrow,ey=t.popupMotion,eP=t.maskMotion,eM=t.popupTransitionName,eb=t.popupAnimation,eD=t.maskTransitionName,eU=t.maskAnimation,ex=t.className,ew=t.getTriggerDOMNode,eG=(0,i.Z)(t,B),eF=A.useState(!1),eH=(0,o.Z)(eF,2),eB=eH[0],eY=eH[1];(0,R.Z)(function(){eY((0,f.Z)())},[]);var ek=A.useRef({}),eV=A.useContext(C),e$=A.useMemo(function(){return{registerSubPopup:function(e,t){ek.current[e]=t,null==eV||eV.registerSubPopup(e,t)}}},[eV]),eW=(0,d.Z)(),eZ=A.useState(null),ej=(0,o.Z)(eZ,2),eX=ej[0],eK=ej[1],ez=A.useRef(null),eJ=(0,T.Z)(function(e){ez.current=e,(0,c.Sh)(e)&&eX!==e&&eK(e),null==eV||eV.registerSubPopup(eW,e)}),eq=A.useState(null),eQ=(0,o.Z)(eq,2),e0=eQ[0],e1=eQ[1],e2=A.useRef(null),e4=(0,T.Z)(function(e){(0,c.Sh)(e)&&e0!==e&&(e1(e),e2.current=e)}),e6=A.Children.only(K),e3=(null==e6?void 0:e6.props)||{},e8={},e5=(0,T.Z)(function(e){var t,n;return(null==e0?void 0:e0.contains(e))||(null===(t=(0,u.A)(e0))||void 0===t?void 0:t.host)===e||e===e0||(null==eX?void 0:eX.contains(e))||(null===(n=(0,u.A)(eX))||void 0===n?void 0:n.host)===e||e===eX||Object.values(ek.current).some(function(t){return(null==t?void 0:t.contains(e))||e===t})}),e7=v(X,ey,eb,eM),e9=v(X,eP,eU,eD),te=A.useState(ee||!1),tt=(0,o.Z)(te,2),tn=tt[0],tr=tt[1],to=null!=Q?Q:tn,ti=(0,T.Z)(function(e){void 0===Q&&tr(e)});(0,R.Z)(function(){tr(Q||!1)},[Q]);var ta=A.useRef(to);ta.current=to;var ts=A.useRef([]);ts.current=[];var tl=(0,T.Z)(function(e){var t;ti(e),(null!==(t=ts.current[ts.current.length-1])&&void 0!==t?t:to)!==e&&(ts.current.push(e),null==et||et(e))}),tE=A.useRef(),tc=function(){clearTimeout(tE.current)},tu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;tc(),0===t?tl(e):tE.current=setTimeout(function(){tl(e)},1e3*t)};A.useEffect(function(){return tc},[]);var tT=A.useState(!1),td=(0,o.Z)(tT,2),tR=td[0],tf=td[1];(0,R.Z)(function(e){(!e||to)&&tf(!0)},[to]);var tA=A.useState(null),tS=(0,o.Z)(tA,2),tO=tS[0],tp=tS[1],tN=A.useState([0,0]),tI=(0,o.Z)(tN,2),th=tI[0],t_=tI[1],tm=function(e){t_([e.clientX,e.clientY])},tC=(a=eC?th:e0,s=A.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ep[eS]||{}}),O=(S=(0,o.Z)(s,2))[0],p=S[1],N=A.useRef(0),I=A.useMemo(function(){return eX?P(eX):[]},[eX]),h=A.useRef({}),to||(h.current={}),b=(0,T.Z)(function(){if(eX&&a&&to){var e,t,n,i,s,l,E,u=eX.ownerDocument,T=y(eX).getComputedStyle(eX),d=T.width,R=T.height,f=T.position,A=eX.style.left,S=eX.style.top,O=eX.style.right,N=eX.style.bottom,_=eX.style.overflow,m=(0,r.Z)((0,r.Z)({},ep[eS]),eN),C=u.createElement("div");if(null===(e=eX.parentElement)||void 0===e||e.appendChild(C),C.style.left="".concat(eX.offsetLeft,"px"),C.style.top="".concat(eX.offsetTop,"px"),C.style.position=f,C.style.height="".concat(eX.offsetHeight,"px"),C.style.width="".concat(eX.offsetWidth,"px"),eX.style.left="0",eX.style.top="0",eX.style.right="auto",eX.style.bottom="auto",eX.style.overflow="hidden",Array.isArray(a))n={x:a[0],y:a[1],width:0,height:0};else{var g=a.getBoundingClientRect();n={x:g.x,y:g.y,width:g.width,height:g.height}}var v=eX.getBoundingClientRect(),P=u.documentElement,b=P.clientWidth,U=P.clientHeight,H=P.scrollWidth,B=P.scrollHeight,Y=P.scrollTop,k=P.scrollLeft,V=v.height,$=v.width,W=n.height,Z=n.width,j=m.htmlRegion,X="visible",K="visibleFirst";"scroll"!==j&&j!==K&&(j=X);var z=j===K,J=D({left:-k,top:-Y,right:H-k,bottom:B-Y},I),q=D({left:0,top:0,right:b,bottom:U},I),Q=j===X?q:J,ee=z?q:Q;eX.style.left="auto",eX.style.top="auto",eX.style.right="0",eX.style.bottom="0";var et=eX.getBoundingClientRect();eX.style.left=A,eX.style.top=S,eX.style.right=O,eX.style.bottom=N,eX.style.overflow=_,null===(t=eX.parentElement)||void 0===t||t.removeChild(C);var en=M(Math.round($/parseFloat(d)*1e3)/1e3),er=M(Math.round(V/parseFloat(R)*1e3)/1e3);if(!(0===en||0===er||(0,c.Sh)(a)&&!(0,L.Z)(a))){var eo=m.offset,ei=m.targetOffset,ea=x(v,eo),es=(0,o.Z)(ea,2),el=es[0],eE=es[1],ec=x(n,ei),eu=(0,o.Z)(ec,2),eT=eu[0],ed=eu[1];n.x-=eT,n.y-=ed;var eR=m.points||[],ef=(0,o.Z)(eR,2),eA=ef[0],eO=w(ef[1]),eI=w(eA),eh=G(n,eO),e_=G(v,eI),em=(0,r.Z)({},m),eC=eh.x-e_.x+el,eg=eh.y-e_.y+eE,ev=tt(eC,eg),ey=tt(eC,eg,q),eP=G(n,["t","l"]),eM=G(v,["t","l"]),eb=G(n,["b","r"]),eD=G(v,["b","r"]),eU=m.overflow||{},ex=eU.adjustX,ew=eU.adjustY,eG=eU.shiftX,eF=eU.shiftY,eH=function(e){return"boolean"==typeof e?e:e>=0};tn();var eB=eH(ew),eY=eI[0]===eO[0];if(eB&&"t"===eI[0]&&(s>ee.bottom||h.current.bt)){var ek=eg;eY?ek-=V-W:ek=eP.y-eD.y-eE;var eV=tt(eC,ek),e$=tt(eC,ek,q);eV>ev||eV===ev&&(!z||e$>=ey)?(h.current.bt=!0,eg=ek,eE=-eE,em.points=[F(eI,0),F(eO,0)]):h.current.bt=!1}if(eB&&"b"===eI[0]&&(iev||eZ===ev&&(!z||ej>=ey)?(h.current.tb=!0,eg=eW,eE=-eE,em.points=[F(eI,0),F(eO,0)]):h.current.tb=!1}var eK=eH(ex),ez=eI[1]===eO[1];if(eK&&"l"===eI[1]&&(E>ee.right||h.current.rl)){var eJ=eC;ez?eJ-=$-Z:eJ=eP.x-eD.x-el;var eq=tt(eJ,eg),eQ=tt(eJ,eg,q);eq>ev||eq===ev&&(!z||eQ>=ey)?(h.current.rl=!0,eC=eJ,el=-el,em.points=[F(eI,1),F(eO,1)]):h.current.rl=!1}if(eK&&"r"===eI[1]&&(lev||e1===ev&&(!z||e2>=ey)?(h.current.lr=!0,eC=e0,el=-el,em.points=[F(eI,1),F(eO,1)]):h.current.lr=!1}tn();var e4=!0===eG?0:eG;"number"==typeof e4&&(lq.right&&(eC-=E-q.right-el,n.x>q.right-e4&&(eC+=n.x-q.right+e4)));var e6=!0===eF?0:eF;"number"==typeof e6&&(iq.bottom&&(eg-=s-q.bottom-eE,n.y>q.bottom-e6&&(eg+=n.y-q.bottom+e6)));var e3=v.x+eC,e8=v.y+eg,e5=n.x,e7=n.y;null==eL||eL(eX,em);var e9=et.right-v.x-(eC+v.width),te=et.bottom-v.y-(eg+v.height);1===en&&(eC=Math.round(eC),e9=Math.round(e9)),1===er&&(eg=Math.round(eg),te=Math.round(te)),p({ready:!0,offsetX:eC/en,offsetY:eg/er,offsetR:e9/en,offsetB:te/er,arrowX:((Math.max(e3,e5)+Math.min(e3+$,e5+Z))/2-e3)/en,arrowY:((Math.max(e8,e7)+Math.min(e8+V,e7+W))/2-e8)/er,scaleX:en,scaleY:er,align:em})}function tt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Q,r=v.x+e,o=v.y+t,i=Math.max(r,n.left),a=Math.max(o,n.top);return Math.max(0,(Math.min(r+$,n.right)-i)*(Math.min(o+V,n.bottom)-a))}function tn(){s=(i=v.y+eg)+V,E=(l=v.x+eC)+$}}}),U=function(){p(function(e){return(0,r.Z)((0,r.Z)({},e),{},{ready:!1})})},(0,R.Z)(U,[eS]),(0,R.Z)(function(){to||U()},[to]),[O.ready,O.offsetX,O.offsetY,O.offsetR,O.offsetB,O.arrowX,O.arrowY,O.scaleX,O.scaleY,O.align,function(){N.current+=1;var e=N.current;Promise.resolve().then(function(){N.current===e&&b()})}]),tg=(0,o.Z)(tC,11),tL=tg[0],tv=tg[1],ty=tg[2],tP=tg[3],tM=tg[4],tb=tg[5],tD=tg[6],tU=tg[7],tx=tg[8],tw=tg[9],tG=tg[10],tF=(Y=void 0===z?"hover":z,A.useMemo(function(){var e=g(null!=J?J:Y),t=g(null!=q?q:Y),n=new Set(e),r=new Set(t);return eB&&(n.has("hover")&&(n.delete("hover"),n.add("click")),r.has("hover")&&(r.delete("hover"),r.add("click"))),[n,r]},[eB,Y,J,q])),tH=(0,o.Z)(tF,2),tB=tH[0],tY=tH[1],tk=tB.has("click"),tV=tY.has("click")||tY.has("contextMenu"),t$=(0,T.Z)(function(){tR||tG()});k=function(){ta.current&&eC&&tV&&tu(!1)},(0,R.Z)(function(){if(to&&e0&&eX){var e=P(e0),t=P(eX),n=y(eX),r=new Set([n].concat((0,H.Z)(e),(0,H.Z)(t)));function o(){t$(),k()}return r.forEach(function(e){e.addEventListener("scroll",o,{passive:!0})}),n.addEventListener("resize",o,{passive:!0}),t$(),function(){r.forEach(function(e){e.removeEventListener("scroll",o),n.removeEventListener("resize",o)})}}},[to,e0,eX]),(0,R.Z)(function(){t$()},[th,eS]),(0,R.Z)(function(){to&&!(null!=ep&&ep[eS])&&t$()},[JSON.stringify(eN)]);var tW=A.useMemo(function(){var e=function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}(null===(s=e[l])||void 0===s?void 0:s.points,o,r))return"".concat(t,"-placement-").concat(l)}return""}(ep,X,tw,eC);return l()(e,null==e_?void 0:e_(tw))},[tw,e_,ep,X,eC]);A.useImperativeHandle(n,function(){return{nativeElement:e2.current,popupElement:ez.current,forceAlign:t$}});var tZ=A.useState(0),tj=(0,o.Z)(tZ,2),tX=tj[0],tK=tj[1],tz=A.useState(0),tJ=(0,o.Z)(tz,2),tq=tJ[0],tQ=tJ[1],t0=function(){if(eh&&e0){var e=e0.getBoundingClientRect();tK(e.width),tQ(e.height)}};function t1(e,t,n,r){e8[e]=function(o){var i;null==r||r(o),tu(t,n);for(var a=arguments.length,s=Array(a>1?a-1:0),l=1;l1?n-1:0),o=1;o1?n-1:0),o=1;o-1&&(i=setTimeout(function(){c.delete(e)},t)),c.set(e,(0,o.pi)((0,o.pi)({},n),{timer:i}))},T=new Map,d=function(e,t){T.set(e,t),t.then(function(t){return T.delete(e),t}).catch(function(){T.delete(e)})},R={},f=function(e,t){R[e]&&R[e].forEach(function(e){return e(t)})},A=function(e,t){return R[e]||(R[e]=[]),R[e].push(t),function(){var n=R[e].indexOf(t);R[e].splice(n,1)}},S=function(e,t){var n=t.cacheKey,r=t.cacheTime,a=void 0===r?3e5:r,s=t.staleTime,R=void 0===s?0:s,S=t.setCache,O=t.getCache,p=(0,i.useRef)(),N=(0,i.useRef)(),I=function(e,t){S?S(t):u(e,a,t),f(e,t.data)},h=function(e,t){return(void 0===t&&(t=[]),O)?O(t):c.get(e)};return(l(function(){if(n){var t=h(n);t&&Object.hasOwnProperty.call(t,"data")&&(e.state.data=t.data,e.state.params=t.params,(-1===R||new Date().getTime()-t.time<=R)&&(e.state.loading=!1)),p.current=A(n,function(t){e.setState({data:t})})}},[]),(0,E.Z)(function(){var e;null===(e=p.current)||void 0===e||e.call(p)}),n)?{onBefore:function(e){var t=h(n,e);return t&&Object.hasOwnProperty.call(t,"data")?-1===R||new Date().getTime()-t.time<=R?{loading:!1,data:null==t?void 0:t.data,error:void 0,returnNow:!0}:{data:null==t?void 0:t.data,error:void 0}:{}},onRequest:function(e,t){var r=T.get(n);return r&&r!==N.current||(r=e.apply(void 0,(0,o.ev)([],(0,o.CR)(t),!1)),N.current=r,d(n,r)),{servicePromise:r}},onSuccess:function(t,r){var o;n&&(null===(o=p.current)||void 0===o||o.call(p),I(n,{data:t,params:r,time:new Date().getTime()}),p.current=A(n,function(t){e.setState({data:t})}))},onMutate:function(t){var r;n&&(null===(r=p.current)||void 0===r||r.call(p),I(n,{data:t,params:e.state.params,time:new Date().getTime()}),p.current=A(n,function(t){e.setState({data:t})}))}}:{}},O=n(85551),p=n.n(O),N=function(e,t){var n=t.debounceWait,r=t.debounceLeading,a=t.debounceTrailing,s=t.debounceMaxWait,l=(0,i.useRef)(),E=(0,i.useMemo)(function(){var e={};return void 0!==r&&(e.leading=r),void 0!==a&&(e.trailing=a),void 0!==s&&(e.maxWait=s),e},[r,a,s]);return((0,i.useEffect)(function(){if(n){var t=e.runAsync.bind(e);return l.current=p()(function(e){e()},n,E),e.runAsync=function(){for(var e=[],n=0;n-1&&g.splice(e,1)})}return function(){l()}},[n,a]),(0,E.Z)(function(){l()}),{}},y=function(e,t){var n=t.retryInterval,r=t.retryCount,o=(0,i.useRef)(),a=(0,i.useRef)(0),s=(0,i.useRef)(!1);return r?{onBefore:function(){s.current||(a.current=0),s.current=!1,o.current&&clearTimeout(o.current)},onSuccess:function(){a.current=0},onError:function(){if(a.current+=1,-1===r||a.current<=r){var t=null!=n?n:Math.min(1e3*Math.pow(2,a.current),3e4);o.current=setTimeout(function(){s.current=!0,e.refresh()},t)}else a.current=0},onCancel:function(){a.current=0,o.current&&clearTimeout(o.current)}}:{}},P=n(97400),M=n.n(P),b=function(e,t){var n=t.throttleWait,r=t.throttleLeading,a=t.throttleTrailing,s=(0,i.useRef)(),l={};return(void 0!==r&&(l.leading=r),void 0!==a&&(l.trailing=a),(0,i.useEffect)(function(){if(n){var t=e.runAsync.bind(e);return s.current=M()(function(e){e()},n,l),e.runAsync=function(){for(var e=[],n=0;n{let{type:t,children:n,prefixCls:l,buttonProps:E,close:c,autoFocus:u,emitEvent:T,isSilent:d,quitOnNullishReturnValue:R,actionFn:f}=e,A=r.useRef(!1),S=r.useRef(null),[O,p]=(0,o.Z)(!1),N=function(){null==c||c.apply(void 0,arguments)};r.useEffect(()=>{let e=null;return u&&(e=setTimeout(()=>{var e;null===(e=S.current)||void 0===e||e.focus()})),()=>{e&&clearTimeout(e)}},[]);let I=e=>{s(e)&&(p(!0),e.then(function(){p(!1,!0),N.apply(void 0,arguments),A.current=!1},e=>{if(p(!1,!0),A.current=!1,null==d||!d())return Promise.reject(e)}))};return r.createElement(i.ZP,Object.assign({},(0,a.nx)(t),{onClick:e=>{let t;if(!A.current){if(A.current=!0,!f){N();return}if(T){if(t=f(e),R&&!s(t)){A.current=!1,N(e);return}}else if(f.length)t=f(c),A.current=!1;else if(!s(t=f())){N();return}I(t)}},loading:O,prefixCls:l},E,{ref:S}),n)}},53296:function(e,t,n){"use strict";var r=n(38497),o=n(13859),i=n(80214);t.Z=e=>{let{space:t,form:n,children:a}=e;if(null==a)return null;let s=a;return n&&(s=r.createElement(o.Ux,{override:!0,status:!0},s)),t&&(s=r.createElement(i.BR,null,s)),s}},99851:function(e,t,n){"use strict";n.d(t,{i:function(){return s}});var r=n(38497),o=n(77757),i=n(42518),a=n(63346);function s(e){return t=>r.createElement(i.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}t.Z=(e,t,n,i)=>s(s=>{let{prefixCls:l,style:E}=s,c=r.useRef(null),[u,T]=r.useState(0),[d,R]=r.useState(0),[f,A]=(0,o.Z)(!1,{value:s.open}),{getPrefixCls:S}=r.useContext(a.E_),O=S(t||"select",l);r.useEffect(()=>{if(A(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;T(t.offsetHeight+8),R(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(O)}`:`.${O}-dropdown`,i=null===(r=c.current)||void 0===r?void 0:r.querySelector(o);i&&(clearInterval(t),e.observe(i))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let p=Object.assign(Object.assign({},s),{style:Object.assign(Object.assign({},E),{margin:0}),open:f,visible:f,getPopupContainer:()=>c.current});return i&&(p=i(p)),r.createElement("div",{ref:c,style:{paddingBottom:u,position:"relative",minWidth:d}},r.createElement(e,Object.assign({},p)))})},55853:function(e,t,n){"use strict";n.d(t,{o2:function(){return s},yT:function(){return l}});var r=n(72991),o=n(69376);let i=o.i.map(e=>`${e}-inverse`),a=["success","processing","error","default","warning"];function s(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t?[].concat((0,r.Z)(i),(0,r.Z)(o.i)).includes(e):o.i.includes(e)}function l(e){return a.includes(e)}},74156:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=e=>e?"function"==typeof e?e():e:null},93198:function(e,t,n){"use strict";function r(e){return null!=e&&e===e.window}n.d(t,{F:function(){return r}}),t.Z=e=>{var t,n;if("undefined"==typeof window)return 0;let o=0;return r(e)?o=e.pageYOffset:e instanceof Document?o=e.documentElement.scrollTop:e instanceof HTMLElement?o=e.scrollTop:e&&(o=e.scrollTop),e&&!r(e)&&"number"!=typeof o&&(o=null===(n=(null!==(t=e.ownerDocument)&&void 0!==t?t:e).documentElement)||void 0===n?void 0:n.scrollTop),o}},35883:function(e,t,n){"use strict";n.d(t,{Z:function(){return c},w:function(){return a}});var r=n(38497),o=n(84223),i=n(66168);function a(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function s(e){let{closable:t,closeIcon:n}=e||{};return r.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 l(){let e={};for(var t=arguments.length,n=Array(t),r=0;r{t&&Object.keys(t).forEach(n=>{void 0!==t[n]&&(e[n]=t[n])})}),e}let E={};function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E,a=s(e),c=s(t),u=r.useMemo(()=>Object.assign({closeIcon:r.createElement(o.Z,null)},n),[n]),T=r.useMemo(()=>!1!==a&&(a?l(u,c,a):!1!==c&&(c?l(u,c):!!u.closable&&u)),[a,c,u]);return r.useMemo(()=>{if(!1===T)return[!1,null];let{closeIconRender:e}=u,{closeIcon:t}=T,n=t;if(null!=n){e&&(n=e(t));let o=(0,i.Z)(T,!0);Object.keys(o).length&&(n=r.isValidElement(n)?r.cloneElement(n,o):r.createElement("span",Object.assign({},o),n))}return[!0,n]},[T,u])}},66767:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(38497);function o(){let[,e]=r.useReducer(e=>e+1,0);return e}},58416:function(e,t,n){"use strict";n.d(t,{Cn:function(){return E},u6:function(){return a}});var r=n(38497),o=n(73098),i=n(49594);let a=1e3,s={Modal:100,Drawer:100,Popover:100,Popconfirm:100,Tooltip:100,Tour:100},l={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function E(e,t){let n;let[,a]=(0,o.ZP)(),E=r.useContext(i.Z);if(void 0!==t)n=[t,t];else{let r=null!=E?E:0;e in s?r+=(E?0:a.zIndexPopupBase)+s[e]:r+=l[e],n=[void 0===E?t:r,r]}return n}},17383:function(e,t,n){"use strict";n.d(t,{m:function(){return l}});var r=n(63346);let o=()=>({height:0,opacity:0}),i=e=>{let{scrollHeight:t}=e;return{height:t,opacity:1}},a=e=>({height:e?e.offsetHeight:0}),s=(e,t)=>(null==t?void 0:t.deadline)===!0||"height"===t.propertyName,l=(e,t,n)=>void 0!==n?n:`${e}-${t}`;t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.Rf;return{motionName:`${e}-motion-collapse`,onAppearStart:o,onEnterStart:o,onAppearActive:i,onEnterActive:i,onLeaveStart:a,onLeaveActive:o,onAppearEnd:s,onEnterEnd:s,onLeaveEnd:s,motionDeadline:500}}},13553:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(20136);let o={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},i={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},a=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function s(e){let{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:s,offset:l,borderRadius:E,visibleFirst:c}=e,u=t/2,T={};return Object.keys(o).forEach(e=>{let d=s&&i[e]||o[e],R=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(T[e]=R,a.has(e)&&(R.autoArrow=!1),e){case"top":case"topLeft":case"topRight":R.offset[1]=-u-l;break;case"bottom":case"bottomLeft":case"bottomRight":R.offset[1]=u+l;break;case"left":case"leftTop":case"leftBottom":R.offset[0]=-u-l;break;case"right":case"rightTop":case"rightBottom":R.offset[0]=u+l}let f=(0,r.wZ)({contentRadius:E,limitVerticalRadius:!0});if(s)switch(e){case"topLeft":case"bottomLeft":R.offset[0]=-f.arrowOffsetHorizontal-u;break;case"topRight":case"bottomRight":R.offset[0]=f.arrowOffsetHorizontal+u;break;case"leftTop":case"rightTop":R.offset[1]=-f.arrowOffsetHorizontal-u;break;case"leftBottom":case"rightBottom":R.offset[1]=f.arrowOffsetHorizontal+u}R.overflow=function(e,t,n,r){if(!1===r)return{adjustX:!1,adjustY:!1};let o=r&&"object"==typeof r?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.arrowOffsetHorizontal+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=2*t.arrowOffsetVertical+n,i.shiftX=!0,i.adjustX=!0}let a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(e,f,t,n),c&&(R.htmlRegion="visibleFirst")}),T}},55091:function(e,t,n){"use strict";n.d(t,{M2:function(){return o},Tm:function(){return a},wm:function(){return i}});var r=n(38497);function o(e){return e&&r.isValidElement(e)&&e.type===r.Fragment}let 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)}},30432:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l},c4:function(){return i}});var r=n(38497),o=n(73098);let i=["xxl","xl","lg","md","sm","xs"],a=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),s=e=>{let t=[].concat(i).reverse();return t.forEach((n,r)=>{let o=n.toUpperCase(),i=`screen${o}Min`,a=`screen${o}`;if(!(e[i]<=e[a]))throw Error(`${i}<=${a} fails : !(${e[i]}<=${e[a]})`);if(r{let e=new Map,n=-1,r={};return{matchHandlers:{},dispatch:t=>(r=t,e.forEach(e=>e(r)),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},unregister(){Object.keys(t).forEach(e=>{let n=t[e],r=this.matchHandlers[n];null==r||r.mql.removeListener(null==r?void 0:r.listener)}),e.clear()},register(){Object.keys(t).forEach(e=>{let n=t[e],o=t=>{let{matches:n}=t;this.dispatch(Object.assign(Object.assign({},r),{[e]:n}))},i=window.matchMedia(n);i.addListener(o),this.matchHandlers[n]={mql:i,listener:o},o(i)})},responsiveMap:t}},[e])}},537:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(25043),o=n(93198);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{getContainer:n=()=>window,callback:i,duration:a=450}=t,s=n(),l=(0,o.Z)(s),E=Date.now(),c=()=>{let t=Date.now(),n=t-E,u=function(e,t,n,r){let o=n-t;return(e/=r/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}(n>a?a:n,l,e,a);(0,o.F)(s)?s.scrollTo(window.pageXOffset,u):s instanceof Document||"HTMLDocument"===s.constructor.name?s.documentElement.scrollTop=u:s.scrollTop=u,n{let e=()=>{};return e.deprecated=o,e}},37243:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(38497),o=n(26869),i=n.n(o),a=n(62143),s=n(7544),l=n(63346),E=n(55091),c=n(90102);let u=e=>{let{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}`,"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut},opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}}}};var T=(0,c.A1)("Wave",e=>[u(e)]),d=n(81581),R=n(25043),f=n(73098),A=n(65925),S=n(53979),O=n(94857);function p(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&function(e){let 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 N(e){return Number.isNaN(e)?0:e}let I=e=>{let{className:t,target:n,component:o}=e,a=r.useRef(null),[l,E]=r.useState(null),[c,u]=r.useState([]),[T,d]=r.useState(0),[f,I]=r.useState(0),[h,_]=r.useState(0),[m,C]=r.useState(0),[g,L]=r.useState(!1),v={left:T,top:f,width:h,height:m,borderRadius:c.map(e=>`${e}px`).join(" ")};function y(){let e=getComputedStyle(n);E(function(e){let{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return p(t)?t:p(n)?n:p(r)?r:null}(n));let t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;d(t?n.offsetLeft:N(-parseFloat(r))),I(t?n.offsetTop:N(-parseFloat(o))),_(n.offsetWidth),C(n.offsetHeight);let{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:s,borderBottomRightRadius:l}=e;u([i,a,l,s].map(e=>N(parseFloat(e))))}if(l&&(v["--wave-color"]=l),r.useEffect(()=>{if(n){let e;let t=(0,R.Z)(()=>{y(),L(!0)});return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(y)).observe(n),()=>{R.Z.cancel(t),null==e||e.disconnect()}}},[]),!g)return null;let P=("Checkbox"===o||"Radio"===o)&&(null==n?void 0:n.classList.contains(A.A));return r.createElement(S.ZP,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n;if(t.deadline||"opacity"===t.propertyName){let e=null===(n=a.current)||void 0===n?void 0:n.parentElement;(0,O.v)(e).then(()=>{null==e||e.remove()})}return!1}},(e,n)=>{let{className:o}=e;return r.createElement("div",{ref:(0,s.sQ)(a,n),className:i()(t,o,{"wave-quick":P}),style:v})})};var h=(e,t)=>{var n;let{component:o}=t;if("Checkbox"===o&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;let i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",null==e||e.insertBefore(i,null==e?void 0:e.firstChild),(0,O.s)(r.createElement(I,Object.assign({},t,{target:e})),i)},_=(e,t,n)=>{let{wave:o}=r.useContext(l.E_),[,i,a]=(0,f.ZP)(),s=(0,d.zX)(r=>{let s=e.current;if((null==o?void 0:o.disabled)||!s)return;let l=s.querySelector(`.${A.A}`)||s,{showEffect:E}=o||{};(E||h)(l,{className:t,token:i,component:n,event:r,hashId:a})}),E=r.useRef();return e=>{R.Z.cancel(E.current),E.current=(0,R.Z)(()=>{s(e)})}},m=e=>{let{children:t,disabled:n,component:o}=e,{getPrefixCls:c}=(0,r.useContext)(l.E_),u=(0,r.useRef)(null),d=c("wave"),[,R]=T(d),f=_(u,i()(d,R),o);if(r.useEffect(()=>{let e=u.current;if(!e||1!==e.nodeType||n)return;let t=t=>{!(0,a.Z)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||f(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}},[n]),!r.isValidElement(t))return null!=t?t:null;let A=(0,s.Yr)(t)?(0,s.sQ)(t.ref,u):u;return(0,E.Tm)(t,{ref:A})}},65925:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(63346);let o=`${r.Rf}-wave-target`},49594:function(e,t,n){"use strict";var r=n(38497);let o=r.createContext(void 0);t.Z=o},453:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(38497);let o=r.createContext({}),i=r.createContext({message:{},notification:{},modal:{}});t.Z=i},95891:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(38497),o=n(26869),i=n.n(o),a=n(67478),s=n(63346),l=n(80918),E=n(33167),c=n(70054),u=n(453),T=(0,n(90102).I$)("App",e=>{let{componentCls:t,colorText:n,fontSize:r,lineHeight:o,fontFamily:i}=e;return{[t]:{color:n,fontSize:r,lineHeight:o,fontFamily:i}}},()=>({}));let d=e=>{let{prefixCls:t,children:n,className:o,rootClassName:d,message:R,notification:f,style:A,component:S="div"}=e,{getPrefixCls:O}=(0,r.useContext)(s.E_),p=O("app",t),[N,I,h]=T(p),_=i()(I,p,o,d,h),m=(0,r.useContext)(u.J),C=r.useMemo(()=>({message:Object.assign(Object.assign({},m.message),R),notification:Object.assign(Object.assign({},m.notification),f)}),[R,f,m.message,m.notification]),[g,L]=(0,l.Z)(C.message),[v,y]=(0,c.Z)(C.notification),[P,M]=(0,E.Z)(),b=r.useMemo(()=>({message:g,notification:v,modal:P}),[g,v,P]);(0,a.ln)("App")(!(h&&!1===S),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");let D=!1===S?r.Fragment:S;return N(r.createElement(u.Z.Provider,{value:b},r.createElement(u.J.Provider,{value:C},r.createElement(D,Object.assign({},!1===S?void 0:{className:_,style:A}),M,L,y,n))))};d.useApp=()=>r.useContext(u.Z);var R=d},19629:function(e,t,n){"use strict";n.d(t,{C:function(){return L}});var r=n(38497),o=n(26869),i=n.n(o),a=n(31617),s=n(7544),l=n(30432),E=n(63346),c=n(95227),u=n(82014),T=n(81349);let d=r.createContext({});var R=n(72178),f=n(60848),A=n(90102),S=n(74934);let O=e=>{let{antCls:t,componentCls:n,iconCls:r,avatarBg:o,avatarColor:i,containerSize:a,containerSizeLG:s,containerSizeSM:l,textFontSize:E,textFontSizeLG:c,textFontSizeSM:u,borderRadius:T,borderRadiusLG:d,borderRadiusSM:A,lineWidth:S,lineType:O}=e,p=(e,t,o)=>({width:e,height:e,borderRadius:"50%",[`&${n}-square`]:{borderRadius:o},[`&${n}-icon`]:{fontSize:t,[`> ${r}`]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,f.Wf)(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:i,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:o,border:`${(0,R.bf)(S)} ${O} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),p(a,E,T)),{"&-lg":Object.assign({},p(s,c,d)),"&-sm":Object.assign({},p(l,u,A)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},p=e=>{let{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:o}=e;return{[`${t}-group`]:{display:"inline-flex",[t]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:o}}}};var N=(0,A.I$)("Avatar",e=>{let{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=(0,S.IX)(e,{avatarBg:n,avatarColor:t});return[O(r),p(r)]},e=>{let{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:o,fontSizeLG:i,fontSizeXL:a,fontSizeHeading3:s,marginXS:l,marginXXS:E,colorBorderBg:c}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((i+a)/2),textFontSizeLG:s,textFontSizeSM:o,groupSpace:E,groupOverlapping:-l,groupBorderColor:c}}),I=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let h=r.forwardRef((e,t)=>{let n;let[o,R]=r.useState(1),[f,A]=r.useState(!1),[S,O]=r.useState(!0),p=r.useRef(null),h=r.useRef(null),_=(0,s.sQ)(t,p),{getPrefixCls:m,avatar:C}=r.useContext(E.E_),g=r.useContext(d),L=()=>{if(!h.current||!p.current)return;let t=h.current.offsetWidth,n=p.current.offsetWidth;if(0!==t&&0!==n){let{gap:r=4}=e;2*r{A(!0)},[]),r.useEffect(()=>{O(!0),R(1)},[e.src]),r.useEffect(L,[e.gap]);let{prefixCls:v,shape:y,size:P,src:M,srcSet:b,icon:D,className:U,rootClassName:x,alt:w,draggable:G,children:F,crossOrigin:H}=e,B=I(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),Y=(0,u.Z)(e=>{var t,n;return null!==(n=null!==(t=null!=P?P:null==g?void 0:g.size)&&void 0!==t?t:e)&&void 0!==n?n:"default"}),k=Object.keys("object"==typeof Y&&Y||{}).some(e=>["xs","sm","md","lg","xl","xxl"].includes(e)),V=(0,T.Z)(k),$=r.useMemo(()=>{if("object"!=typeof Y)return{};let e=l.c4.find(e=>V[e]),t=Y[e];return t?{width:t,height:t,fontSize:t&&(D||F)?t/2:18}:{}},[V,Y]),W=m("avatar",v),Z=(0,c.Z)(W),[j,X,K]=N(W,Z),z=i()({[`${W}-lg`]:"large"===Y,[`${W}-sm`]:"small"===Y}),J=r.isValidElement(M),q=y||(null==g?void 0:g.shape)||"circle",Q=i()(W,z,null==C?void 0:C.className,`${W}-${q}`,{[`${W}-image`]:J||M&&S,[`${W}-icon`]:!!D},K,Z,U,x,X),ee="number"==typeof Y?{width:Y,height:Y,fontSize:D?Y/2:18}:{};if("string"==typeof M&&S)n=r.createElement("img",{src:M,draggable:G,srcSet:b,onError:()=>{let{onError:t}=e,n=null==t?void 0:t();!1!==n&&O(!1)},alt:w,crossOrigin:H});else if(J)n=M;else if(D)n=D;else if(f||1!==o){let e=`scale(${o})`;n=r.createElement(a.Z,{onResize:L},r.createElement("span",{className:`${W}-string`,ref:h,style:Object.assign({},{msTransform:e,WebkitTransform:e,transform:e})},F))}else n=r.createElement("span",{className:`${W}-string`,style:{opacity:0},ref:h},F);return delete B.onError,delete B.gap,j(r.createElement("span",Object.assign({},B,{style:Object.assign(Object.assign(Object.assign(Object.assign({},ee),$),null==C?void 0:C.style),B.style),className:Q,ref:_}),n))});var _=n(10469),m=n(55091),C=n(62971);let g=e=>{let{size:t,shape:n}=r.useContext(d),o=r.useMemo(()=>({size:e.size||t,shape:e.shape||n}),[e.size,e.shape,t,n]);return r.createElement(d.Provider,{value:o},e.children)};h.Group=e=>{var t,n,o;let{getPrefixCls:a,direction:s}=r.useContext(E.E_),{prefixCls:l,className:u,rootClassName:T,style:d,maxCount:R,maxStyle:f,size:A,shape:S,maxPopoverPlacement:O,maxPopoverTrigger:p,children:I,max:L}=e,v=a("avatar",l),y=`${v}-group`,P=(0,c.Z)(v),[M,b,D]=N(v,P),U=i()(y,{[`${y}-rtl`]:"rtl"===s},D,P,u,T,b),x=(0,_.Z)(I).map((e,t)=>(0,m.Tm)(e,{key:`avatar-key-${t}`})),w=(null==L?void 0:L.count)||R,G=x.length;if(w&&w{let{componentCls:t,iconCls:n,antCls:r,badgeShadowSize:o,motionDurationSlow:i,textFontSize:a,textFontSizeSM:s,statusSize:l,dotSize:E,textFontWeight:d,indicatorHeight:R,indicatorHeightSM:I,marginXS:h,calc:_}=e,m=`${r}-scroll-number`,C=(0,T.Z)(e,(e,n)=>{let{darkColor:r}=n;return{[`&${t} ${t}-color-${e}`]:{background:r,[`&:not(${t}-count)`]:{color:r},"a:hover &":{background:r}}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,u.Wf)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:R,height:R,color:e.badgeTextColor,fontWeight:d,fontSize:a,lineHeight:(0,c.bf)(R),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:_(R).div(2).equal(),boxShadow:`0 0 0 ${(0,c.bf)(o)} ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:I,height:I,fontSize:s,lineHeight:(0,c.bf)(I),borderRadius:_(I).div(2).equal()},[`${t}-multiple-words`]:{padding:`0 ${(0,c.bf)(e.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:E,minWidth:E,height:E,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${(0,c.bf)(o)} ${e.badgeShadowColor}`},[`${t}-dot${m}`]:{transition:`background ${i}`},[`${t}-count, ${t}-dot, ${m}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:N,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:l,height:l,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:o,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:f,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:h,color:e.colorText,fontSize:e.fontSize}}}),C),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:A,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:S,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:O,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:p,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${m}-custom-component, ${t}-count`]:{transform:"none"},[`${m}-custom-component, ${m}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[m]:{overflow:"hidden",[`${m}-only`]:{position:"relative",display:"inline-block",height:R,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${m}-only-unit`]:{height:R,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${m}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${m}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},h=e=>{let{fontHeight:t,lineWidth:n,marginXS:r,colorBorderBg:o}=e,i=e.colorBgContainer,a=e.colorError,s=e.colorErrorHover,l=(0,d.IX)(e,{badgeFontHeight:t,badgeShadowSize:n,badgeTextColor:i,badgeColor:a,badgeColorHover:s,badgeShadowColor:o,badgeProcessingDuration:"1.2s",badgeRibbonOffset:r,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return l},_=e=>{let{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:o}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*n)-2*o,indicatorHeightSM:t,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2}};var m=(0,R.I$)("Badge",e=>{let t=h(e);return I(t)},_);let C=e=>{let{antCls:t,badgeFontHeight:n,marginXS:r,badgeRibbonOffset:o,calc:i}=e,a=`${t}-ribbon`,s=`${t}-ribbon-wrapper`,l=(0,T.Z)(e,(e,t)=>{let{darkColor:n}=t;return{[`&${a}-color-${e}`]:{background:n,color:n}}});return{[s]:{position:"relative"},[a]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,u.Wf)(e)),{position:"absolute",top:r,padding:`0 ${(0,c.bf)(e.paddingXS)}`,color:e.colorPrimary,lineHeight:(0,c.bf)(n),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${a}-text`]:{color:e.colorTextLightSolid},[`${a}-corner`]:{position:"absolute",top:"100%",width:o,height:o,color:"currentcolor",border:`${(0,c.bf)(i(o).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),l),{[`&${a}-placement-end`]:{insetInlineEnd:i(o).mul(-1).equal(),borderEndEndRadius:0,[`${a}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${a}-placement-start`]:{insetInlineStart:i(o).mul(-1).equal(),borderEndStartRadius:0,[`${a}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var g=(0,R.I$)(["Badge","Ribbon"],e=>{let t=h(e);return C(t)},_);let L=e=>{let t;let{prefixCls:n,value:o,current:a,offset:s=0}=e;return s&&(t={position:"absolute",top:`${s}00%`,left:0}),r.createElement("span",{style:t,className:i()(`${n}-only-unit`,{current:a})},o)};var v=e=>{let t,n;let{prefixCls:o,count:i,value:a}=e,s=Number(a),l=Math.abs(i),[E,c]=r.useState(s),[u,T]=r.useState(l),d=()=>{c(s),T(l)};if(r.useEffect(()=>{let e=setTimeout(d,1e3);return()=>clearTimeout(e)},[s]),E===s||Number.isNaN(s)||Number.isNaN(E))t=[r.createElement(L,Object.assign({},e,{key:s,current:!0}))],n={transition:"none"};else{t=[];let o=s+10,i=[];for(let e=s;e<=o;e+=1)i.push(e);let a=i.findIndex(e=>e%10===E);t=i.map((t,n)=>r.createElement(L,Object.assign({},e,{key:t,value:t%10,offset:n-a,current:n===a})));let c=ut.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let P=r.forwardRef((e,t)=>{let{prefixCls:n,count:o,className:a,motionClassName:s,style:c,title:u,show:T,component:d="sup",children:R}=e,f=y(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:A}=r.useContext(E.E_),S=A("scroll-number",n),O=Object.assign(Object.assign({},f),{"data-show":T,style:c,className:i()(S,a,s),title:u}),p=o;if(o&&Number(o)%1==0){let e=String(o).split("");p=r.createElement("bdi",null,e.map((t,n)=>r.createElement(v,{prefixCls:S,count:Number(o),value:t,key:e.length-n})))}return((null==c?void 0:c.borderColor)&&(O.style=Object.assign(Object.assign({},c),{boxShadow:`0 0 0 1px ${c.borderColor} inset`})),R)?(0,l.Tm)(R,e=>({className:i()(`${S}-custom-component`,null==e?void 0:e.className,s)})):r.createElement(d,Object.assign({},O,{ref:t}),p)});var M=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let b=r.forwardRef((e,t)=>{var n,o,c,u,T;let{prefixCls:d,scrollNumberPrefixCls:R,children:f,status:A,text:S,color:O,count:p=null,overflowCount:N=99,dot:I=!1,size:h="default",title:_,offset:C,style:g,className:L,rootClassName:v,classNames:y,styles:b,showZero:D=!1}=e,U=M(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:x,direction:w,badge:G}=r.useContext(E.E_),F=x("badge",d),[H,B,Y]=m(F),k=p>N?`${N}+`:p,V="0"===k||0===k,$=null===p||V&&!D,W=(null!=A||null!=O)&&$,Z=I&&!V,j=Z?"":k,X=(0,r.useMemo)(()=>{let e=null==j||""===j;return(e||V&&!D)&&!Z},[j,V,D,Z]),K=(0,r.useRef)(p);X||(K.current=p);let z=K.current,J=(0,r.useRef)(j);X||(J.current=j);let q=J.current,Q=(0,r.useRef)(Z);X||(Q.current=Z);let ee=(0,r.useMemo)(()=>{if(!C)return Object.assign(Object.assign({},null==G?void 0:G.style),g);let e={marginTop:C[1]};return"rtl"===w?e.left=parseInt(C[0],10):e.right=-parseInt(C[0],10),Object.assign(Object.assign(Object.assign({},e),null==G?void 0:G.style),g)},[w,C,g,null==G?void 0:G.style]),et=null!=_?_:"string"==typeof z||"number"==typeof z?z:void 0,en=X||!S?null:r.createElement("span",{className:`${F}-status-text`},S),er=z&&"object"==typeof z?(0,l.Tm)(z,e=>({style:Object.assign(Object.assign({},ee),e.style)})):void 0,eo=(0,s.o2)(O,!1),ei=i()(null==y?void 0:y.indicator,null===(n=null==G?void 0:G.classNames)||void 0===n?void 0:n.indicator,{[`${F}-status-dot`]:W,[`${F}-status-${A}`]:!!A,[`${F}-color-${O}`]:eo}),ea={};O&&!eo&&(ea.color=O,ea.background=O);let es=i()(F,{[`${F}-status`]:W,[`${F}-not-a-wrapper`]:!f,[`${F}-rtl`]:"rtl"===w},L,v,null==G?void 0:G.className,null===(o=null==G?void 0:G.classNames)||void 0===o?void 0:o.root,null==y?void 0:y.root,B,Y);if(!f&&W){let e=ee.color;return H(r.createElement("span",Object.assign({},U,{className:es,style:Object.assign(Object.assign(Object.assign({},null==b?void 0:b.root),null===(c=null==G?void 0:G.styles)||void 0===c?void 0:c.root),ee)}),r.createElement("span",{className:ei,style:Object.assign(Object.assign(Object.assign({},null==b?void 0:b.indicator),null===(u=null==G?void 0:G.styles)||void 0===u?void 0:u.indicator),ea)}),S&&r.createElement("span",{style:{color:e},className:`${F}-status-text`},S)))}return H(r.createElement("span",Object.assign({ref:t},U,{className:es,style:Object.assign(Object.assign({},null===(T=null==G?void 0:G.styles)||void 0===T?void 0:T.root),null==b?void 0:b.root)}),f,r.createElement(a.ZP,{visible:!X,motionName:`${F}-zoom`,motionAppear:!1,motionDeadline:1e3},e=>{var t,n;let{className:o}=e,a=x("scroll-number",R),s=Q.current,l=i()(null==y?void 0:y.indicator,null===(t=null==G?void 0:G.classNames)||void 0===t?void 0:t.indicator,{[`${F}-dot`]:s,[`${F}-count`]:!s,[`${F}-count-sm`]:"small"===h,[`${F}-multiple-words`]:!s&&q&&q.toString().length>1,[`${F}-status-${A}`]:!!A,[`${F}-color-${O}`]:eo}),E=Object.assign(Object.assign(Object.assign({},null==b?void 0:b.indicator),null===(n=null==G?void 0:G.styles)||void 0===n?void 0:n.indicator),ee);return O&&!eo&&((E=E||{}).background=O),r.createElement(P,{prefixCls:a,show:!X,motionClassName:o,className:l,count:q,title:et,style:E,key:"scrollNumber"},er)}),en))});b.Ribbon=e=>{let{className:t,prefixCls:n,style:o,color:a,children:l,text:c,placement:u="end",rootClassName:T}=e,{getPrefixCls:d,direction:R}=r.useContext(E.E_),f=d("ribbon",n),A=`${f}-wrapper`,[S,O,p]=g(f,A),N=(0,s.o2)(a,!1),I=i()(f,`${f}-placement-${u}`,{[`${f}-rtl`]:"rtl"===R,[`${f}-color-${a}`]:N},t),h={},_={};return a&&!N&&(h.background=a,_.color=a),S(r.createElement("div",{className:i()(A,T,O,p)},l,r.createElement("div",{className:i()(I,O),style:Object.assign(Object.assign({},h),o)},r.createElement("span",{className:`${f}-text`},c),r.createElement("div",{className:`${f}-corner`,style:_}))))};var D=b},5496:function(e,t,n){"use strict";n.d(t,{Te:function(){return E},aG:function(){return a},hU:function(){return c},nx:function(){return s}});var r=n(38497),o=n(55091);let i=/^[\u4e00-\u9fa5]{2}$/,a=i.test.bind(i);function s(e){return"danger"===e?{danger:!0}:{type:e}}function l(e){return"string"==typeof e}function E(e){return"text"===e||"link"===e}function c(e,t){let n=!1,i=[];return r.Children.forEach(e,e=>{let t=typeof e,r="string"===t||"number"===t;if(n&&r){let t=i.length-1,n=i[t];i[t]=`${n}${e}`}else i.push(e);n=r}),r.Children.map(i,e=>(function(e,t){if(null==e)return;let n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&l(e.type)&&a(e.props.children)?(0,o.Tm)(e,{children:e.props.children.split("").join(n)}):l(e)?a(e)?r.createElement("span",null,e.split("").join(n)):r.createElement("span",null,e):(0,o.M2)(e)?r.createElement("span",null,e):e})(e,t))}},27691:function(e,t,n){"use strict";n.d(t,{ZP:function(){return ei}});var r=n(38497),o=n(26869),i=n.n(o),a=n(55598),s=n(7544),l=n(37243),E=n(63346),c=n(3482),u=n(82014),T=n(80214),d=n(73098),R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let f=r.createContext(void 0);var A=n(5496);let S=(0,r.forwardRef)((e,t)=>{let{className:n,style:o,children:a,prefixCls:s}=e,l=i()(`${s}-icon`,n);return r.createElement("span",{ref:t,className:l,style:o},a)});var O=n(37022),p=n(53979);let N=(0,r.forwardRef)((e,t)=>{let{prefixCls:n,className:o,style:a,iconClassName:s}=e,l=i()(`${n}-loading-icon`,o);return r.createElement(S,{prefixCls:n,className:l,style:a,ref:t},r.createElement(O.Z,{className:s}))}),I=()=>({width:0,opacity:0,transform:"scale(0)"}),h=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"});var _=e=>{let{prefixCls:t,loading:n,existIcon:o,className:i,style:a}=e,s=!!n;return o?r.createElement(N,{prefixCls:t,className:i,style:a}):r.createElement(p.ZP,{visible:s,motionName:`${t}-loading-icon-motion`,motionLeave:s,removeOnLeave:!0,onAppearStart:I,onAppearActive:h,onEnterStart:I,onEnterActive:h,onLeaveStart:h,onLeaveActive:I},(e,n)=>{let{className:o,style:s}=e;return r.createElement(N,{prefixCls:t,className:i,style:Object.assign(Object.assign({},a),s),ref:n,iconClassName:o})})},m=n(72178),C=n(60848),g=n(74934),L=n(90102);let v=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}});var y=e=>{let{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, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},v(`${t}-primary`,o),v(`${t}-danger`,i)]}},P=n(35599);let M=e=>{let{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e,o=(0,g.IX)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n});return o},b=e=>{var t,n,r,o,i,a;let s=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,l=null!==(n=e.contentFontSizeSM)&&void 0!==n?n:e.fontSize,E=null!==(r=e.contentFontSizeLG)&&void 0!==r?r:e.fontSizeLG,c=null!==(o=e.contentLineHeight)&&void 0!==o?o:(0,P.D)(s),u=null!==(i=e.contentLineHeightSM)&&void 0!==i?i:(0,P.D)(l),T=null!==(a=e.contentLineHeightLG)&&void 0!==a?a:(0,P.D)(E);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:s,contentFontSizeSM:l,contentFontSizeLG:E,contentLineHeight:c,contentLineHeightSM:u,contentLineHeightLG:T,paddingBlock:Math.max((e.controlHeight-s*c)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*u)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-E*T)/2-e.lineWidth,0)}},D=e=>{let{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,m.bf)(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:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,C.Qy)(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},U=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),x=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),w=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),G=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),F=(e,t,n,r,o,i,a,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},U(e,Object.assign({background:t},a),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),H=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},G(e))}),B=e=>Object.assign({},H(e)),Y=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),k=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},B(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),U(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),F(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},U(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),F(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),H(e))}),V=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},B(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),U(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),F(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},U(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),F(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),H(e))}),$=e=>Object.assign(Object.assign({},k(e)),{borderStyle:"dashed"}),W=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},U(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Y(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},U(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),Y(e))}),Z=e=>Object.assign(Object.assign(Object.assign({},U(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),Y(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Y(e)),U(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),j=e=>{let{componentCls:t}=e;return{[`${t}-default`]:k(e),[`${t}-primary`]:V(e),[`${t}-dashed`]:$(e),[`${t}-link`]:W(e),[`${t}-text`]:Z(e),[`${t}-ghost`]:F(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},X=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{componentCls:n,controlHeight:r,fontSize:o,lineHeight:i,borderRadius:a,buttonPaddingHorizontal:s,iconCls:l,buttonPaddingVertical:E}=e,c=`${n}-icon-only`;return[{[t]:{fontSize:o,lineHeight:i,height:r,padding:`${(0,m.bf)(E)} ${(0,m.bf)(s)}`,borderRadius:a,[`&${c}`]:{width:r,paddingInline:0,[`&${n}-compact-item`]:{flex:"none"},[`&${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}`]:x(e)},{[`${n}${n}-round${t}`]:w(e)}]},K=e=>{let t=(0,g.IX)(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return X(t,e.componentCls)},z=e=>{let t=(0,g.IX)(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 X(t,`${e.componentCls}-sm`)},J=e=>{let t=(0,g.IX)(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return X(t,`${e.componentCls}-lg`)},q=e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}};var Q=(0,L.I$)("Button",e=>{let t=M(e);return[D(t),K(t),z(t),J(t),q(t),j(t),y(t)]},b,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}}),ee=n(31909);let et=e=>{let{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,m.bf)(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,m.bf)(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}};var en=(0,L.bk)(["Button","compact"],e=>{let t=M(e);return[(0,ee.c)(t),function(e){var t;let n=`${e.componentCls}-compact-vertical`;return{[n]:Object.assign(Object.assign({},{[`&-item:not(${n}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}),(t=e.componentCls,{[`&-item:not(${n}-first-item):not(${n}-last-item)`]:{borderRadius:0},[`&-item${n}-first-item:not(${n}-last-item)`]:{[`&, &${t}-sm, &${t}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${n}-last-item:not(${n}-first-item)`]:{[`&, &${t}-sm, &${t}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))}}(t),et(t)]},b),er=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let eo=r.forwardRef((e,t)=>{var n,o,d;let{loading:R=!1,prefixCls:O,type:p,danger:N=!1,shape:I="default",size:h,styles:m,disabled:C,className:g,rootClassName:L,children:v,icon:y,iconPosition:P="start",ghost:M=!1,block:b=!1,htmlType:D="button",classNames:U,style:x={},autoInsertSpace:w}=e,G=er(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),F=p||"default",{getPrefixCls:H,direction:B,button:Y}=(0,r.useContext)(E.E_),k=null===(n=null!=w?w:null==Y?void 0:Y.autoInsertSpace)||void 0===n||n,V=H("btn",O),[$,W,Z]=Q(V),j=(0,r.useContext)(c.Z),X=null!=C?C:j,K=(0,r.useContext)(f),z=(0,r.useMemo)(()=>(function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return{loading:(t=Number.isNaN(t)||"number"!=typeof t?0:t)<=0,delay:t}}return{loading:!!e,delay:0}})(R),[R]),[J,q]=(0,r.useState)(z.loading),[ee,et]=(0,r.useState)(!1),eo=(0,r.createRef)(),ei=(0,s.sQ)(t,eo),ea=1===r.Children.count(v)&&!y&&!(0,A.Te)(F);(0,r.useEffect)(()=>{let e=null;return z.delay>0?e=setTimeout(()=>{e=null,q(!0)},z.delay):q(z.loading),function(){e&&(clearTimeout(e),e=null)}},[z]),(0,r.useEffect)(()=>{if(!ei||!ei.current||!k)return;let e=ei.current.textContent;ea&&(0,A.aG)(e)?ee||et(!0):ee&&et(!1)},[ei]);let es=t=>{let{onClick:n}=e;if(J||X){t.preventDefault();return}null==n||n(t)},{compactSize:el,compactItemClassnames:eE}=(0,T.ri)(V,B),ec=(0,u.Z)(e=>{var t,n;return null!==(n=null!==(t=null!=h?h:el)&&void 0!==t?t:K)&&void 0!==n?n:e}),eu=ec&&({large:"lg",small:"sm",middle:void 0})[ec]||"",eT=J?"loading":y,ed=(0,a.Z)(G,["navigate"]),eR=i()(V,W,Z,{[`${V}-${I}`]:"default"!==I&&I,[`${V}-${F}`]:F,[`${V}-${eu}`]:eu,[`${V}-icon-only`]:!v&&0!==v&&!!eT,[`${V}-background-ghost`]:M&&!(0,A.Te)(F),[`${V}-loading`]:J,[`${V}-two-chinese-chars`]:ee&&k&&!J,[`${V}-block`]:b,[`${V}-dangerous`]:N,[`${V}-rtl`]:"rtl"===B,[`${V}-icon-end`]:"end"===P},eE,g,L,null==Y?void 0:Y.className),ef=Object.assign(Object.assign({},null==Y?void 0:Y.style),x),eA=i()(null==U?void 0:U.icon,null===(o=null==Y?void 0:Y.classNames)||void 0===o?void 0:o.icon),eS=Object.assign(Object.assign({},(null==m?void 0:m.icon)||{}),(null===(d=null==Y?void 0:Y.styles)||void 0===d?void 0:d.icon)||{}),eO=y&&!J?r.createElement(S,{prefixCls:V,className:eA,style:eS},y):r.createElement(_,{existIcon:!!y,prefixCls:V,loading:J}),ep=v||0===v?(0,A.hU)(v,ea&&k):null;if(void 0!==ed.href)return $(r.createElement("a",Object.assign({},ed,{className:i()(eR,{[`${V}-disabled`]:X}),href:X?void 0:ed.href,style:ef,onClick:es,ref:ei,tabIndex:X?-1:0}),eO,ep));let eN=r.createElement("button",Object.assign({},G,{type:D,className:eR,style:ef,onClick:es,disabled:X,ref:ei}),eO,ep,!!eE&&r.createElement(en,{key:"compact",prefixCls:V}));return(0,A.Te)(F)||(eN=r.createElement(l.Z,{component:"Button",disabled:J},eN)),$(eN)});eo.Group=e=>{let{getPrefixCls:t,direction:n}=r.useContext(E.E_),{prefixCls:o,size:a,className:s}=e,l=R(e,["prefixCls","size","className"]),c=t("btn-group",o),[,,u]=(0,d.ZP)(),T="";switch(a){case"large":T="lg";break;case"small":T="sm"}let A=i()(c,{[`${c}-${T}`]:T,[`${c}-rtl`]:"rtl"===n},s,u);return r.createElement(f.Provider,{value:a},r.createElement("div",Object.assign({},l,{className:A})))},eo.__ANT_BUTTON=!0;var ei=eo},3482:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(38497);let o=r.createContext(!1),i=e=>{let{children:t,disabled:n}=e,i=r.useContext(o);return r.createElement(o.Provider,{value:null!=n?n:i},t)};t.Z=o},69470:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(38497);let o=r.createContext(void 0),i=e=>{let{children:t,size:n}=e,i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)};t.Z=o},63346:function(e,t,n){"use strict";n.d(t,{E_:function(){return s},Rf:function(){return o},oR:function(){return i},tr:function(){return a}});var r=n(38497);let o="ant",i="anticon",a=["outlined","borderless","filled"],s=r.createContext({getPrefixCls:(e,t)=>t||(e?`${o}-${e}`:o),iconPrefixCls:i}),{Consumer:l}=s},95227:function(e,t,n){"use strict";var r=n(73098);t.Z=e=>{let[,,,,t]=(0,r.ZP)();return t?`${e}-css-var`:""}},82014:function(e,t,n){"use strict";var r=n(38497),o=n(69470);t.Z=e=>{let t=r.useContext(o.Z),n=r.useMemo(()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t,[e,t]);return n}},42518:function(e,t,n){"use strict";let r,o,i,a;n.d(t,{ZP:function(){return W},w6:function(){return k}});var s=n(38497),l=n.t(s,2),E=n(72178),c=n(63366),u=n(38263),T=n(7644),d=n(67478),R=n(8902),f=n(52872),A=n(35761),S=e=>{let{locale:t={},children:n,_ANT_MARK__:r}=e;s.useEffect(()=>{let e=(0,f.f)(null==t?void 0:t.Modal);return e},[t]);let o=s.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return s.createElement(A.Z.Provider,{value:o},n)},O=n(61013),p=n(91466),N=n(34484),I=n(63346),h=n(82650),_=n(51084),m=n(18943),C=n(7577);let g=`-ant-${Date.now()}-${Math.random()}`;var L=n(3482),v=n(69470),y=n(9671);let P=Object.assign({},l),{useId:M}=P;var b=void 0===M?()=>"":M,D=n(53979),U=n(73098);function x(e){let{children:t}=e,[,n]=(0,U.ZP)(),{motion:r}=n,o=s.useRef(!1);return(o.current=o.current||!1===r,o.current)?s.createElement(D.zt,{motion:r},t):t}var w=()=>null,G=n(43601),F=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let H=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];function B(){return r||I.Rf}function Y(){return o||I.oR}let k=()=>({getPrefixCls:(e,t)=>t||(e?`${B()}-${e}`:B()),getIconPrefixCls:Y,getRootPrefixCls:()=>r||B(),getTheme:()=>i,holderRender:a}),V=e=>{let{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:a,locale:l,componentSize:f,direction:A,space:h,virtual:_,dropdownMatchSelectWidth:m,popupMatchSelectWidth:C,popupOverflow:g,legacyLocale:P,parentContext:M,iconPrefixCls:D,theme:U,componentDisabled:B,segmented:Y,statistic:k,spin:V,calendar:$,carousel:W,cascader:Z,collapse:j,typography:X,checkbox:K,descriptions:z,divider:J,drawer:q,skeleton:Q,steps:ee,image:et,layout:en,list:er,mentions:eo,modal:ei,progress:ea,result:es,slider:el,breadcrumb:eE,menu:ec,pagination:eu,input:eT,textArea:ed,empty:eR,badge:ef,radio:eA,rate:eS,switch:eO,transfer:ep,avatar:eN,message:eI,tag:eh,table:e_,card:em,tabs:eC,timeline:eg,timePicker:eL,upload:ev,notification:ey,tree:eP,colorPicker:eM,datePicker:eb,rangePicker:eD,flex:eU,wave:ex,dropdown:ew,warning:eG,tour:eF,floatButtonGroup:eH,variant:eB,inputNumber:eY,treeSelect:ek}=e,eV=s.useCallback((t,n)=>{let{prefixCls:r}=e;if(n)return n;let o=r||M.getPrefixCls("");return t?`${o}-${t}`:o},[M.getPrefixCls,e.prefixCls]),e$=D||M.iconPrefixCls||I.oR,eW=n||M.csp;(0,G.Z)(e$,eW);let eZ=function(e,t,n){var r;(0,d.ln)("ConfigProvider");let o=e||{},i=!1!==o.inherit&&t?t:Object.assign(Object.assign({},p.u_),{hashed:null!==(r=null==t?void 0:t.hashed)&&void 0!==r?r:p.u_.hashed,cssVar:null==t?void 0:t.cssVar}),a=b();return(0,u.Z)(()=>{var r,s;if(!e)return t;let l=Object.assign({},i.components);Object.keys(e.components||{}).forEach(t=>{l[t]=Object.assign(Object.assign({},l[t]),e.components[t])});let E=`css-var-${a.replace(/:/g,"")}`,c=(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===(s=o.cssVar)||void 0===s?void 0:s.key)||E});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:l,cssVar:c})},[o,i],(e,t)=>e.some((e,n)=>{let r=t[n];return!(0,y.Z)(e,r,!0)}))}(U,M.theme,{prefixCls:eV("")}),ej={csp:eW,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:l||P,direction:A,space:h,virtual:_,popupMatchSelectWidth:null!=C?C:m,popupOverflow:g,getPrefixCls:eV,iconPrefixCls:e$,theme:eZ,segmented:Y,statistic:k,spin:V,calendar:$,carousel:W,cascader:Z,collapse:j,typography:X,checkbox:K,descriptions:z,divider:J,drawer:q,skeleton:Q,steps:ee,image:et,input:eT,textArea:ed,layout:en,list:er,mentions:eo,modal:ei,progress:ea,result:es,slider:el,breadcrumb:eE,menu:ec,pagination:eu,empty:eR,badge:ef,radio:eA,rate:eS,switch:eO,transfer:ep,avatar:eN,message:eI,tag:eh,table:e_,card:em,tabs:eC,timeline:eg,timePicker:eL,upload:ev,notification:ey,tree:eP,colorPicker:eM,datePicker:eb,rangePicker:eD,flex:eU,wave:ex,dropdown:ew,warning:eG,tour:eF,floatButtonGroup:eH,variant:eB,inputNumber:eY,treeSelect:ek},eX=Object.assign({},M);Object.keys(ej).forEach(e=>{void 0!==ej[e]&&(eX[e]=ej[e])}),H.forEach(t=>{let n=e[t];n&&(eX[t]=n)}),void 0!==r&&(eX.button=Object.assign({autoInsertSpace:r},eX.button));let eK=(0,u.Z)(()=>eX,eX,(e,t)=>{let n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some(n=>e[n]!==t[n])}),ez=s.useMemo(()=>({prefixCls:e$,csp:eW}),[e$,eW]),eJ=s.createElement(s.Fragment,null,s.createElement(w,{dropdownMatchSelectWidth:m}),t),eq=s.useMemo(()=>{var e,t,n,r;return(0,T.T)((null===(e=O.Z.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=eK.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=eK.form)||void 0===r?void 0:r.validateMessages)||{},(null==a?void 0:a.validateMessages)||{})},[eK,null==a?void 0:a.validateMessages]);Object.keys(eq).length>0&&(eJ=s.createElement(R.Z.Provider,{value:eq},eJ)),l&&(eJ=s.createElement(S,{locale:l,_ANT_MARK__:"internalMark"},eJ)),(e$||eW)&&(eJ=s.createElement(c.Z.Provider,{value:ez},eJ)),f&&(eJ=s.createElement(v.q,{size:f},eJ)),eJ=s.createElement(x,null,eJ);let eQ=s.useMemo(()=>{let e=eZ||{},{algorithm:t,token:n,components:r,cssVar:o}=e,i=F(e,["algorithm","token","components","cssVar"]),a=t&&(!Array.isArray(t)||t.length>0)?(0,E.jG)(t):p.uH,s={};Object.entries(r||{}).forEach(e=>{let[t,n]=e,r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=a:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,E.jG)(r.algorithm)),delete r.algorithm),s[t]=r});let l=Object.assign(Object.assign({},N.Z),n);return Object.assign(Object.assign({},i),{theme:a,token:l,components:s,override:Object.assign({override:l},s),cssVar:o})},[eZ]);return U&&(eJ=s.createElement(p.Mj.Provider,{value:eQ},eJ)),eK.warning&&(eJ=s.createElement(d.G8.Provider,{value:eK.warning},eJ)),void 0!==B&&(eJ=s.createElement(L.n,{disabled:B},eJ)),s.createElement(I.E_.Provider,{value:eK},eJ)},$=e=>{let t=s.useContext(I.E_),n=s.useContext(A.Z);return s.createElement(V,Object.assign({parentContext:t,legacyLocale:n},e))};$.ConfigContext=I.E_,$.SizeContext=v.Z,$.config=e=>{let{prefixCls:t,iconPrefixCls:n,theme:s,holderRender:l}=e;void 0!==t&&(r=t),void 0!==n&&(o=n),"holderRender"in e&&(a=l),s&&(Object.keys(s).some(e=>e.endsWith("Color"))?function(e,t){let n=function(e,t){let n={},r=(e,t)=>{let n=e.clone();return(n=(null==t?void 0:t(n))||n).toRgbString()},o=(e,t)=>{let o=new _.C(e),i=(0,h.R_)(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");let e=new _.C(t.primaryColor),i=(0,h.R_)(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()));let a=new _.C(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))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");let i=Object.keys(n).map(t=>`--${e}-${t}: ${n[t]};`);return` - :root { - ${i.join("\n")} - } - `.trim()}(e,t);(0,m.Z)()&&(0,C.hq)(n,`${g}-dynamic-theme`)}(B(),s):i=s)},$.useConfig=function(){let e=(0,s.useContext)(L.Z),t=(0,s.useContext)(v.Z);return{componentDisabled:e,componentSize:t}},Object.defineProperty($,"SizeContext",{get:()=>v.Z});var W=$},89928:function(e,t,n){"use strict";n.d(t,{Z:function(){return K}});var r=n(38497),o=n(42096),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"},a=n(75651),s=r.forwardRef(function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i}))}),l=n(26869),E=n.n(l),c=n(53979),u=n(7544),T=n(93198),d=n(537),R=n(72991),f=n(25043),A=function(e){let t;let n=n=>()=>{t=null,e.apply(void 0,(0,R.Z)(n))},r=function(){if(null==t){for(var e=arguments.length,r=Array(e),o=0;o{f.Z.cancel(t),t=null},r},S=n(63346);let O=r.createContext(void 0),{Provider:p}=O;var N=n(55598),I=n(67853),h=n(95227),_=n(60205),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},C=r.forwardRef(function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:m}))}),g=(0,r.memo)(e=>{let{icon:t,description:n,prefixCls:o,className:i}=e,a=r.createElement("div",{className:`${o}-icon`},r.createElement(C,null));return r.createElement("div",{onClick:e.onClick,onFocus:e.onFocus,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,className:E()(i,`${o}-content`)},t||n?r.createElement(r.Fragment,null,t&&r.createElement("div",{className:`${o}-icon`},t),n&&r.createElement("div",{className:`${o}-description`},n)):a)}),L=n(72178),v=n(60848),y=n(29730),P=n(60234),M=n(90102),b=n(74934),D=e=>0===e?0:e-Math.sqrt(Math.pow(e,2)/2);let U=e=>{let{componentCls:t,floatButtonSize:n,motionDurationSlow:r,motionEaseInOutCirc:o}=e,i=`${t}-group`,a=new L.E4("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${(0,L.bf)(n)}, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new L.E4("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${(0,L.bf)(n)}, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${i}-wrap`]:Object.assign({},(0,P.R)(`${i}-wrap`,a,s,r,!0))},{[`${i}-wrap`]:{[` - &${i}-wrap-enter, - &${i}-wrap-appear - `]:{opacity:0,animationTimingFunction:o},[`&${i}-wrap-leave`]:{animationTimingFunction:o}}}]},x=e=>{let{antCls:t,componentCls:n,floatButtonSize:r,margin:o,borderRadiusLG:i,borderRadiusSM:a,badgeOffset:s,floatButtonBodyPadding:l,calc:E}=e,c=`${n}-group`;return{[c]:Object.assign(Object.assign({},(0,v.Wf)(e)),{zIndex:e.zIndexPopupBase,display:"block",border:"none",position:"fixed",width:r,height:"auto",boxShadow:"none",minHeight:r,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,borderRadius:i,[`${c}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:o},[`&${c}-rtl`]:{direction:"rtl"},[n]:{position:"static"}}),[`${c}-circle`]:{[`${n}-circle:not(:last-child)`]:{marginBottom:e.margin,[`${n}-body`]:{width:r,height:r,borderRadius:"50%"}}},[`${c}-square`]:{[`${n}-square`]:{borderRadius:0,padding:0,"&:first-child":{borderStartStartRadius:i,borderStartEndRadius:i},"&:last-child":{borderEndStartRadius:i,borderEndEndRadius:i},"&:not(:last-child)":{borderBottom:`${(0,L.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-badge`]:{[`${t}-badge-count`]:{top:E(E(l).add(s)).mul(-1).equal(),insetInlineEnd:E(E(l).add(s)).mul(-1).equal()}}},[`${c}-wrap`]:{display:"block",borderRadius:i,boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:l,"&:first-child":{borderStartStartRadius:i,borderStartEndRadius:i},"&:last-child":{borderEndStartRadius:i,borderEndEndRadius:i},"&:not(:last-child)":{borderBottom:`${(0,L.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize}}}},[`${c}-circle-shadow`]:{boxShadow:"none"},[`${c}-square-shadow`]:{boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",padding:l,[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize,borderRadius:a}}}}},w=e=>{let{antCls:t,componentCls:n,floatButtonBodyPadding:r,floatButtonIconSize:o,floatButtonSize:i,borderRadiusLG:a,badgeOffset:s,dotOffsetInSquare:l,dotOffsetInCircle:E,calc:c}=e;return{[n]:Object.assign(Object.assign({},(0,v.Wf)(e)),{border:"none",position:"fixed",cursor:"pointer",zIndex:e.zIndexPopupBase,display:"block",width:i,height:i,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,boxShadow:e.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${t}-badge`]:{width:"100%",height:"100%",[`${t}-badge-count`]:{transform:"translate(0, 0)",transformOrigin:"center",top:c(s).mul(-1).equal(),insetInlineEnd:c(s).mul(-1).equal()}},[`${n}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${e.motionDurationMid}`,[`${n}-content`]:{overflow:"hidden",textAlign:"center",minHeight:i,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:`${(0,L.bf)(c(r).div(2).equal())} ${(0,L.bf)(r)}`,[`${n}-icon`]:{textAlign:"center",margin:"auto",width:o,fontSize:o,lineHeight:1}}}}),[`${n}-rtl`]:{direction:"rtl"},[`${n}-circle`]:{height:i,borderRadius:"50%",[`${t}-badge`]:{[`${t}-badge-dot`]:{top:E,insetInlineEnd:E}},[`${n}-body`]:{borderRadius:"50%"}},[`${n}-square`]:{height:"auto",minHeight:i,borderRadius:a,[`${t}-badge`]:{[`${t}-badge-dot`]:{top:l,insetInlineEnd:l}},[`${n}-body`]:{height:"auto",borderRadius:a}},[`${n}-default`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,[`${n}-body`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorFillContent},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorText},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:(0,L.bf)(e.fontSizeLG),color:e.colorText,fontSize:e.fontSizeSM}}}},[`${n}-primary`]:{backgroundColor:e.colorPrimary,[`${n}-body`]:{backgroundColor:e.colorPrimary,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorPrimaryHover},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorTextLightSolid},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:(0,L.bf)(e.fontSizeLG),color:e.colorTextLightSolid,fontSize:e.fontSizeSM}}}}}};var G=(0,M.I$)("FloatButton",e=>{let{colorTextLightSolid:t,colorBgElevated:n,controlHeightLG:r,marginXXL:o,marginLG:i,fontSize:a,fontSizeIcon:s,controlItemBgHover:l,paddingXXS:E,calc:c}=e,u=(0,b.IX)(e,{floatButtonBackgroundColor:n,floatButtonColor:t,floatButtonHoverBackgroundColor:l,floatButtonFontSize:a,floatButtonIconSize:c(s).mul(1.5).equal(),floatButtonSize:r,floatButtonInsetBlockEnd:o,floatButtonInsetInlineEnd:i,floatButtonBodySize:c(r).sub(c(E).mul(2)).equal(),floatButtonBodyPadding:E,badgeOffset:c(E).mul(1.5).equal()});return[x(u),w(u),(0,y.J$)(e),U(u)]},e=>({dotOffsetInCircle:D(e.controlHeightLG/2),dotOffsetInSquare:D(e.borderRadiusLG)})),F=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let H="float-btn",B=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:i,type:a="default",shape:s="circle",icon:l,description:c,tooltip:u,badge:T={}}=e,d=F(e,["prefixCls","className","rootClassName","type","shape","icon","description","tooltip","badge"]),{getPrefixCls:R,direction:f}=(0,r.useContext)(S.E_),A=(0,r.useContext)(O),p=R(H,n),m=(0,h.Z)(p),[C,L,v]=G(p,m),y=E()(L,v,m,p,o,i,`${p}-${a}`,`${p}-${A||s}`,{[`${p}-rtl`]:"rtl"===f}),P=(0,r.useMemo)(()=>(0,N.Z)(T,["title","children","status","text"]),[T]),M=(0,r.useMemo)(()=>({prefixCls:p,description:c,icon:l,type:a}),[p,c,l,a]),b=r.createElement("div",{className:`${p}-body`},r.createElement(g,Object.assign({},M)));return"badge"in e&&(b=r.createElement(I.Z,Object.assign({},P),b)),"tooltip"in e&&(b=r.createElement(_.Z,{title:u,placement:"rtl"===f?"right":"left"},b)),C(e.href?r.createElement("a",Object.assign({ref:t},d,{className:y}),b):r.createElement("button",Object.assign({ref:t},d,{className:y,type:"button"}),b))});var Y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let k=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,type:i="default",shape:a="circle",visibilityHeight:l=400,icon:R=r.createElement(s,null),target:f,onClick:p,duration:N=450}=e,I=Y(e,["prefixCls","className","type","shape","visibilityHeight","icon","target","onClick","duration"]),[h,_]=(0,r.useState)(0===l),m=r.useRef(null);r.useImperativeHandle(t,()=>({nativeElement:m.current}));let C=()=>{var e;return(null===(e=m.current)||void 0===e?void 0:e.ownerDocument)||window},g=A(e=>{let t=(0,T.Z)(e.target);_(t>=l)});(0,r.useEffect)(()=>{let e=f||C,t=e();return g({target:t}),null==t||t.addEventListener("scroll",g),()=>{g.cancel(),null==t||t.removeEventListener("scroll",g)}},[f]);let L=e=>{(0,d.Z)(0,{getContainer:f||C,duration:N}),null==p||p(e)},{getPrefixCls:v}=(0,r.useContext)(S.E_),y=v(H,n),P=v(),M=(0,r.useContext)(O),b=Object.assign({prefixCls:y,icon:R,type:i,shape:M||a},I);return r.createElement(c.ZP,{visible:h,motionName:`${P}-fade`},(e,t)=>{let{className:n}=e;return r.createElement(B,Object.assign({ref:(0,u.sQ)(m,t)},b,{onClick:L,className:E()(o,n)}))})});var V=n(84223),$=n(77757),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},Z=(0,r.memo)(e=>{var t;let{prefixCls:n,className:o,style:i,shape:a="circle",type:s="default",icon:l=r.createElement(C,null),closeIcon:u,description:T,trigger:d,children:R,onOpenChange:f,open:A}=e,O=W(e,["prefixCls","className","style","shape","type","icon","closeIcon","description","trigger","children","onOpenChange","open"]),{direction:N,getPrefixCls:I,floatButtonGroup:_}=(0,r.useContext)(S.E_),m=null!==(t=null!=u?u:null==_?void 0:_.closeIcon)&&void 0!==t?t:r.createElement(V.Z,null),g=I(H,n),L=(0,h.Z)(g),[v,y,P]=G(g,L),M=`${g}-group`,b=E()(M,y,P,L,o,{[`${M}-rtl`]:"rtl"===N,[`${M}-${a}`]:a,[`${M}-${a}-shadow`]:!d}),D=E()(y,`${M}-wrap`),[U,x]=(0,$.Z)(!1,{value:A}),w=r.useRef(null),F=r.useRef(null),Y=r.useMemo(()=>"hover"===d?{onMouseEnter(){x(!0),null==f||f(!0)},onMouseLeave(){x(!1),null==f||f(!1)}}:{},[d]),k=()=>{x(e=>(null==f||f(!e),!e))},Z=(0,r.useCallback)(e=>{var t,n;if(null===(t=w.current)||void 0===t?void 0:t.contains(e.target)){(null===(n=F.current)||void 0===n?void 0:n.contains(e.target))&&k();return}x(!1),null==f||f(!1)},[d]);return(0,r.useEffect)(()=>{if("click"===d)return document.addEventListener("click",Z),()=>{document.removeEventListener("click",Z)}},[d]),v(r.createElement(p,{value:a},r.createElement("div",Object.assign({ref:w,className:b,style:i},Y),d&&["click","hover"].includes(d)?r.createElement(r.Fragment,null,r.createElement(c.ZP,{visible:U,motionName:`${M}-wrap`},e=>{let{className:t}=e;return r.createElement("div",{className:E()(t,D)},R)}),r.createElement(B,Object.assign({ref:F,type:s,icon:U?m:l,description:T,"aria-label":e["aria-label"]},O))):R)))}),j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let X=e=>{var{backTop:t}=e,n=j(e,["backTop"]);return t?r.createElement(k,Object.assign({},n,{visibilityHeight:0})):r.createElement(B,Object.assign({},n))};B.BackTop=k,B.Group=Z,B._InternalPanelDoNotUseOrYouWillBeFired=e=>{var{className:t,items:n}=e,o=j(e,["className","items"]);let{prefixCls:i}=o,{getPrefixCls:a}=r.useContext(S.E_),s=a(H,i),l=`${s}-pure`;return n?r.createElement(Z,Object.assign({className:E()(t,l)},o),n.map((e,t)=>r.createElement(X,Object.assign({key:t},e)))):r.createElement(X,Object.assign({className:E()(t,l)},o))};var K=B},13859:function(e,t,n){"use strict";n.d(t,{RV:function(){return l},Rk:function(){return E},Ux:function(){return u},aM:function(){return c},pg:function(){return T},q3:function(){return a},qI:function(){return s}});var r=n(38497),o=n(9449),i=n(55598);let a=r.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),s=r.createContext(null),l=e=>{let t=(0,i.Z)(e,["prefixCls"]);return r.createElement(o.RV,Object.assign({},t))},E=r.createContext({prefixCls:""}),c=r.createContext({}),u=e=>{let{children:t,status:n,override:o}=e,i=(0,r.useContext)(c),a=(0,r.useMemo)(()=>{let 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(c.Provider,{value:a},t)},T=(0,r.createContext)(void 0)},8902:function(e,t,n){"use strict";var r=n(38497);t.Z=(0,r.createContext)(void 0)},81349:function(e,t,n){"use strict";var r=n(38497),o=n(46644),i=n(66767),a=n(30432);t.Z=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,r.useRef)({}),n=(0,i.Z)(),s=(0,a.ZP)();return(0,o.Z)(()=>{let r=s.subscribe(r=>{t.current=r,e&&n()});return()=>s.unsubscribe(r)},[]),t.current}},35761:function(e,t,n){"use strict";var r=n(38497);let o=(0,r.createContext)(void 0);t.Z=o},61013:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(35114),o=n(4247),i=(0,o.Z)((0,o.Z)({},{yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),{},{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",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",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"}),a={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};let s={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"]},i),timePickerLocale:Object.assign({},a)},l="${label} is not a valid ${type}",E={locale:"en",Pagination:r.Z,DatePicker:s,TimePicker:a,Calendar:s,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:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},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",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};var c=E},61261:function(e,t,n){"use strict";var r=n(38497),o=n(35761),i=n(61013);t.Z=(e,t)=>{let n=r.useContext(o.Z),a=r.useMemo(()=>{var r;let o=t||i.Z[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]),s=r.useMemo(()=>{let e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?i.Z.locale:e},[n]);return[a,s]}},1842:function(e,t,n){"use strict";n.d(t,{CW:function(){return S}});var r=n(38497),o=n(16147),i=n(86298),a=n(71836),s=n(44661),l=n(37022),E=n(26869),c=n.n(E),u=n(53923),T=n(63346),d=n(95227),R=n(20685),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let A={info:r.createElement(s.Z,null),success:r.createElement(o.Z,null),error:r.createElement(i.Z,null),warning:r.createElement(a.Z,null),loading:r.createElement(l.Z,null)},S=e=>{let{prefixCls:t,type:n,icon:o,children:i}=e;return r.createElement("div",{className:c()(`${t}-custom-content`,`${t}-${n}`)},o||A[n],r.createElement("span",null,i))};t.ZP=e=>{let{prefixCls:t,className:n,type:o,icon:i,content:a}=e,s=f(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:l}=r.useContext(T.E_),E=t||l("message"),A=(0,d.Z)(E),[O,p,N]=(0,R.Z)(E,A);return O(r.createElement(u.qX,Object.assign({},s,{prefixCls:E,className:c()(n,p,`${E}-notice-pure-panel`,N,A),eventKey:"pure",duration:null,content:r.createElement(S,{prefixCls:E,type:o,icon:i},a)})))}},70351:function(e,t,n){"use strict";var r=n(72991),o=n(38497),i=n(94857),a=n(453),s=n(63346),l=n(42518),E=n(1842),c=n(80918),u=n(38875);let T=null,d=e=>e(),R=[],f={};function A(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=f,i=(null==e?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:r,top:o}}let S=o.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:i}=(0,o.useContext)(s.E_),l=f.prefixCls||i("message"),E=(0,o.useContext)(a.J),[u,T]=(0,c.K)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:l}),E.message));return o.useImperativeHandle(t,()=>{let e=Object.assign({},u);return Object.keys(e).forEach(t=>{e[t]=function(){return r(),u[t].apply(u,arguments)}}),{instance:e,sync:r}}),T}),O=o.forwardRef((e,t)=>{let[n,r]=o.useState(A),i=()=>{r(A)};o.useEffect(i,[]);let a=(0,l.w6)(),s=a.getRootPrefixCls(),E=a.getIconPrefixCls(),c=a.getTheme(),u=o.createElement(S,{ref:t,sync:i,messageConfig:n});return o.createElement(l.ZP,{prefixCls:s,iconPrefixCls:E,theme:c},a.holderRender?a.holderRender(u):u)});function p(){if(!T){let e=document.createDocumentFragment(),t={fragment:e};T=t,d(()=>{(0,i.s)(o.createElement(O,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,p())})}}),e)});return}T.instance&&(R.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":d(()=>{let t=T.instance.open(Object.assign(Object.assign({},f),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":d(()=>{null==T||T.instance.destroy(e.key)});break;default:d(()=>{var n;let o=(n=T.instance)[t].apply(n,(0,r.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),R=[])}let N={open:function(e){let t=(0,u.J)(t=>{let n;let r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return R.push(r),()=>{n?d(()=>{n()}):r.skipped=!0}});return p(),t},destroy:e=>{R.push({type:"destroy",key:e}),p()},config:function(e){f=Object.assign(Object.assign({},f),e),d(()=>{var e;null===(e=null==T?void 0:T.sync)||void 0===e||e.call(T)})},useMessage:c.Z,_InternalPanelDoNotUseOrYouWillBeFired:E.ZP};["success","info","warning","error","loading"].forEach(e=>{N[e]=function(){for(var t=arguments.length,n=Array(t),r=0;r{let r;let o={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return R.push(o),()=>{r?d(()=>{r()}):o.skipped=!0}});return p(),n}(e,n)}}),t.ZP=N},20685:function(e,t,n){"use strict";var r=n(72178),o=n(58416),i=n(60848),a=n(90102),s=n(74934);let l=e=>{let{componentCls:t,iconCls:n,boxShadow:o,colorText:a,colorSuccess:s,colorError:l,colorWarning:E,colorInfo:c,fontSizeLG:u,motionEaseInOutCirc:T,motionDurationSlow:d,marginXS:R,paddingXS:f,borderRadiusLG:A,zIndexPopup:S,contentPadding:O,contentBg:p}=e,N=`${t}-notice`,I=new r.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:f,transform:"translateY(0)",opacity:1}}),h=new r.E4("MessageMoveOut",{"0%":{maxHeight:e.height,padding:f,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),_={padding:f,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:R,fontSize:u},[`${N}-content`]:{display:"inline-block",padding:O,background:p,borderRadius:A,boxShadow:o,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:s},[`${t}-error > ${n}`]:{color:l},[`${t}-warning > ${n}`]:{color:E},[`${t}-info > ${n}, - ${t}-loading > ${n}`]:{color:c}};return[{[t]:Object.assign(Object.assign({},(0,i.Wf)(e)),{color:a,position:"fixed",top:R,width:"100%",pointerEvents:"none",zIndex:S,[`${t}-move-up`]:{animationFillMode:"forwards"},[` - ${t}-move-up-appear, - ${t}-move-up-enter - `]:{animationName:I,animationDuration:d,animationPlayState:"paused",animationTimingFunction:T},[` - ${t}-move-up-appear${t}-move-up-appear-active, - ${t}-move-up-enter${t}-move-up-enter-active - `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:h,animationDuration:d,animationPlayState:"paused",animationTimingFunction:T},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${N}-wrapper`]:Object.assign({},_)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},_),{padding:0,textAlign:"start"})}]};t.Z=(0,a.I$)("Message",e=>{let t=(0,s.IX)(e,{height:150});return[l(t)]},e=>({zIndexPopup:e.zIndexPopupBase+o.u6+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}))},80918:function(e,t,n){"use strict";n.d(t,{K:function(){return p},Z:function(){return N}});var r=n(38497),o=n(84223),i=n(26869),a=n.n(i),s=n(53923),l=n(67478),E=n(63346),c=n(95227),u=n(1842),T=n(20685),d=n(38875),R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let f=e=>{let{children:t,prefixCls:n}=e,o=(0,c.Z)(n),[i,l,E]=(0,T.Z)(n,o);return i(r.createElement(s.JB,{classNames:{list:a()(l,E,o)}},t))},A=(e,t)=>{let{prefixCls:n,key:o}=t;return r.createElement(f,{prefixCls:n,key:o},e)},S=r.forwardRef((e,t)=>{let{top:n,prefixCls:i,getContainer:l,maxCount:c,duration:u=3,rtl:T,transitionName:R,onAllRemoved:f}=e,{getPrefixCls:S,getPopupContainer:O,message:p,direction:N}=r.useContext(E.E_),I=i||S("message"),h=r.createElement("span",{className:`${I}-close-x`},r.createElement(o.Z,{className:`${I}-close-icon`})),[_,m]=(0,s.lm)({prefixCls:I,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:8}),className:()=>a()({[`${I}-rtl`]:null!=T?T:"rtl"===N}),motion:()=>(0,d.g)(I,R),closable:!1,closeIcon:h,duration:u,getContainer:()=>(null==l?void 0:l())||(null==O?void 0:O())||document.body,maxCount:c,onAllRemoved:f,renderNotifications:A});return r.useImperativeHandle(t,()=>Object.assign(Object.assign({},_),{prefixCls:I,message:p})),m}),O=0;function p(e){let t=r.useRef(null);(0,l.ln)("Message");let n=r.useMemo(()=>{let e=e=>{var n;null===(n=t.current)||void 0===n||n.close(e)},n=n=>{if(!t.current){let e=()=>{};return e.then=()=>{},e}let{open:o,prefixCls:i,message:s}=t.current,l=`${i}-notice`,{content:E,icon:c,type:T,key:f,className:A,style:S,onClose:p}=n,N=R(n,["content","icon","type","key","className","style","onClose"]),I=f;return null==I&&(O+=1,I=`antd-message-${O}`),(0,d.J)(t=>(o(Object.assign(Object.assign({},N),{key:I,content:r.createElement(u.CW,{prefixCls:i,type:T,icon:c},E),placement:"top",className:a()(T&&`${l}-${T}`,A,null==s?void 0:s.className),style:Object.assign(Object.assign({},null==s?void 0:s.style),S),onClose:()=>{null==p||p(),t()}})),()=>{e(I)}))},o={open:n,destroy:n=>{var r;void 0!==n?e(n):null===(r=t.current)||void 0===r||r.destroy()}};return["info","success","warning","error","loading"].forEach(e=>{o[e]=(t,r,o)=>{let i,a,s;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof r?s=r:(a=r,s=o);let l=Object.assign(Object.assign({onClose:s,duration:a},i),{type:e});return n(l)}}),o},[]);return[n,r.createElement(S,Object.assign({key:"message-holder"},e,{ref:t}))]}function N(e){return p(e)}},38875:function(e,t,n){"use strict";function r(e,t){return{motionName:null!=t?t:`${e}-move-up`}}function o(e){let t;let n=new Promise(n=>{t=e(()=>{n(!0)})}),r=()=>{null==t||t()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}n.d(t,{J:function(){return o},g:function(){return r}})},56160:function(e,t,n){"use strict";n.d(t,{O:function(){return v},Z:function(){return P}});var r=n(72991),o=n(38497),i=n(16147),a=n(86298),s=n(71836),l=n(44661),E=n(26869),c=n.n(E),u=n(58416),T=n(17383),d=n(42518),R=n(61261),f=n(73098),A=n(4558),S=n(48936),O=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:a,close:s,onCancel:l,onConfirm:E}=(0,o.useContext)(S.t);return i?o.createElement(A.Z,{isSilent:r,actionFn:l,close:function(){null==s||s.apply(void 0,arguments),null==E||E(!1)},autoFocus:"cancel"===e,buttonProps:t,prefixCls:`${a}-btn`},n):null},p=()=>{let{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:a,okType:s,onConfirm:l,onOk:E}=(0,o.useContext)(S.t);return o.createElement(A.Z,{isSilent:n,type:s||"primary",actionFn:E,close:function(){null==t||t.apply(void 0,arguments),null==l||l(!0)},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${i}-btn`},a)},N=n(24404),I=n(72178),h=n(35609),_=n(60848),m=n(90102);let C=e=>{let{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:i,lineHeight:a,modalTitleHeight:s,fontHeight:l,confirmBodyPadding:E}=e,c=`${t}-confirm`;return{[c]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${c}-body-wrapper`]:Object.assign({},(0,_.dF)()),[`&${t} ${t}-body`]:{padding:E},[`${c}-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(s).sub(o).equal()).div(2).equal()}},[`${c}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${e.iconCls} + ${c}-paragraph`]:{maxWidth:`calc(100% - ${(0,I.bf)(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${c}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${c}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${c}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${c}-error ${c}-body > ${e.iconCls}`]:{color:e.colorError},[`${c}-warning ${c}-body > ${e.iconCls}, - ${c}-confirm ${c}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${c}-info ${c}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${c}-success ${c}-body > ${e.iconCls}`]:{color:e.colorSuccess}}};var g=(0,m.bk)(["Modal","confirm"],e=>{let t=(0,h.B4)(e);return[C(t)]},h.eh,{order:-1e3}),L=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function v(e){let{prefixCls:t,icon:n,okText:E,cancelText:u,confirmPrefixCls:T,type:d,okCancel:f,footer:A,locale:N}=e,I=L(e,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]),h=n;if(!n&&null!==n)switch(d){case"info":h=o.createElement(l.Z,null);break;case"success":h=o.createElement(i.Z,null);break;case"error":h=o.createElement(a.Z,null);break;default:h=o.createElement(s.Z,null)}let _=null!=f?f:"confirm"===d,m=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),[C]=(0,R.Z)("Modal"),v=N||C,y=E||(_?null==v?void 0:v.okText:null==v?void 0:v.justOkText),P=u||(null==v?void 0:v.cancelText),M=Object.assign({autoFocusButton:m,cancelTextLocale:P,okTextLocale:y,mergedOkCancel:_},I),b=o.useMemo(()=>M,(0,r.Z)(Object.values(M))),D=o.createElement(o.Fragment,null,o.createElement(O,null),o.createElement(p,null)),U=void 0!==e.title&&null!==e.title,x=`${T}-body`;return o.createElement("div",{className:`${T}-body-wrapper`},o.createElement("div",{className:c()(x,{[`${x}-has-title`]:U})},h,o.createElement("div",{className:`${T}-paragraph`},U&&o.createElement("span",{className:`${T}-title`},e.title),o.createElement("div",{className:`${T}-content`},e.content))),void 0===A||"function"==typeof A?o.createElement(S.n,{value:b},o.createElement("div",{className:`${T}-btns`},"function"==typeof A?A(D,{OkBtn:p,CancelBtn:O}):D)):A,o.createElement(g,{prefixCls:t}))}let y=e=>{let{close:t,zIndex:n,afterClose:r,open:i,keyboard:a,centered:s,getContainer:l,maskStyle:E,direction:d,prefixCls:R,wrapClassName:A,rootPrefixCls:S,bodyStyle:O,closable:p=!1,closeIcon:I,modalRender:h,focusTriggerAfterClose:_,onConfirm:m,styles:C}=e,g=`${R}-confirm`,L=e.width||416,y=e.style||{},P=void 0===e.mask||e.mask,M=void 0!==e.maskClosable&&e.maskClosable,b=c()(g,`${g}-${e.type}`,{[`${g}-rtl`]:"rtl"===d},e.className),[,D]=(0,f.ZP)(),U=o.useMemo(()=>void 0!==n?n:D.zIndexPopupBase+u.u6,[n,D]);return o.createElement(N.Z,{prefixCls:R,className:b,wrapClassName:c()({[`${g}-centered`]:!!e.centered},A),onCancel:()=>{null==t||t({triggerCancel:!0}),null==m||m(!1)},open:i,title:"",footer:null,transitionName:(0,T.m)(S||"","zoom",e.transitionName),maskTransitionName:(0,T.m)(S||"","fade",e.maskTransitionName),mask:P,maskClosable:M,style:y,styles:Object.assign({body:O,mask:E},C),width:L,zIndex:U,afterClose:r,keyboard:a,centered:s,getContainer:l,closable:p,closeIcon:I,modalRender:h,focusTriggerAfterClose:_},o.createElement(v,Object.assign({},e,{confirmPrefixCls:g})))};var P=e=>{let{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:i}=e;return o.createElement(d.ZP,{prefixCls:t,iconPrefixCls:n,direction:r,theme:i},o.createElement(y,Object.assign({},e)))}},24404:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return h}});var o=n(38497),i=n(84223),a=n(26869),s=n.n(a),l=n(57506),E=n(53296),c=n(35883),u=n(58416),T=n(17383),d=n(18943),R=n(49594),f=n(63346),A=n(95227),S=n(15247),O=n(23204),p=n(30823),N=n(35609),I=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};(0,d.Z)()&&window.document.documentElement&&document.documentElement.addEventListener("click",e=>{r={x:e.pageX,y:e.pageY},setTimeout(()=>{r=null},100)},!0);var h=e=>{var t;let{getPopupContainer:n,getPrefixCls:a,direction:d,modal:h}=o.useContext(f.E_),_=t=>{let{onCancel:n}=e;null==n||n(t)},{prefixCls:m,className:C,rootClassName:g,open:L,wrapClassName:v,centered:y,getContainer:P,focusTriggerAfterClose:M=!0,style:b,visible:D,width:U=520,footer:x,classNames:w,styles:G,children:F,loading:H}=e,B=I(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),Y=a("modal",m),k=a(),V=(0,A.Z)(Y),[$,W,Z]=(0,N.ZP)(Y,V),j=s()(v,{[`${Y}-centered`]:!!y,[`${Y}-wrap-rtl`]:"rtl"===d}),X=null===x||H?null:o.createElement(p.$,Object.assign({},e,{onOk:t=>{let{onOk:n}=e;null==n||n(t)},onCancel:_})),[K,z]=(0,c.Z)((0,c.w)(e),(0,c.w)(h),{closable:!0,closeIcon:o.createElement(i.Z,{className:`${Y}-close-icon`}),closeIconRender:e=>(0,p.b)(Y,e)}),J=(0,O.H)(`.${Y}-content`),[q,Q]=(0,u.Cn)("Modal",B.zIndex);return $(o.createElement(E.Z,{form:!0,space:!0},o.createElement(R.Z.Provider,{value:Q},o.createElement(l.Z,Object.assign({width:U},B,{zIndex:q,getContainer:void 0===P?n:P,prefixCls:Y,rootClassName:s()(W,g,Z,V),footer:X,visible:null!=L?L:D,mousePosition:null!==(t=B.mousePosition)&&void 0!==t?t:r,onClose:_,closable:K,closeIcon:z,focusTriggerAfterClose:M,transitionName:(0,T.m)(k,"zoom",e.transitionName),maskTransitionName:(0,T.m)(k,"fade",e.maskTransitionName),className:s()(W,C,null==h?void 0:h.className),style:Object.assign(Object.assign({},null==h?void 0:h.style),b),classNames:Object.assign(Object.assign(Object.assign({},null==h?void 0:h.classNames),w),{wrapper:s()(j,null==w?void 0:w.wrapper)}),styles:Object.assign(Object.assign({},null==h?void 0:h.styles),G),panelRef:J}),H?o.createElement(S.Z,{active:!0,title:!1,paragraph:{rows:4},className:`${Y}-body-skeleton`}):F))))}},18829:function(e,t,n){"use strict";n.d(t,{AQ:function(){return S},Au:function(){return O},ZP:function(){return d},ai:function(){return p},cw:function(){return f},uW:function(){return R},vq:function(){return A}});var r=n(72991),o=n(38497),i=n(94857),a=n(63346),s=n(42518),l=n(56160),E=n(45149),c=n(52872);let u="",T=e=>{var t,n;let{prefixCls:r,getContainer:i,direction:s}=e,E=(0,c.A)(),T=(0,o.useContext)(a.E_),d=u||T.getPrefixCls(),R=r||`${d}-modal`,f=i;return!1===f&&(f=void 0),o.createElement(l.Z,Object.assign({},e,{rootPrefixCls:d,prefixCls:R,iconPrefixCls:T.iconPrefixCls,theme:T.theme,direction:null!=s?s:T.direction,locale:null!==(n=null===(t=T.locale)||void 0===t?void 0:t.Modal)&&void 0!==n?n:E,getContainer:f}))};function d(e){let t;let n=(0,s.w6)(),a=document.createDocumentFragment(),l=Object.assign(Object.assign({},e),{close:R,open:!0});function c(){for(var t,n=arguments.length,o=Array(n),s=0;snull==e?void 0:e.triggerCancel);l&&(null===(t=e.onCancel)||void 0===t||t.call.apply(t,[e,()=>{}].concat((0,r.Z)(o.slice(1)))));for(let e=0;e{let t=n.getPrefixCls(void 0,u),r=n.getIconPrefixCls(),l=n.getTheme(),E=o.createElement(T,Object.assign({},e));(0,i.s)(o.createElement(s.ZP,{prefixCls:t,iconPrefixCls:r,theme:l},n.holderRender?n.holderRender(E):E),a)})}function R(){for(var t=arguments.length,n=Array(t),r=0;r{"function"==typeof e.afterClose&&e.afterClose(),c.apply(this,n)}})).visible&&delete l.visible,d(l)}return d(l),E.Z.push(R),{destroy:R,update:function(e){d(l="function"==typeof e?e(l):Object.assign(Object.assign({},l),e))}}}function R(e){return Object.assign(Object.assign({},e),{type:"warning"})}function f(e){return Object.assign(Object.assign({},e),{type:"info"})}function A(e){return Object.assign(Object.assign({},e),{type:"success"})}function S(e){return Object.assign(Object.assign({},e),{type:"error"})}function O(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function p(e){let{rootPrefixCls:t}=e;u=t}},48936:function(e,t,n){"use strict";n.d(t,{n:function(){return i},t:function(){return o}});var r=n(38497);let o=r.createContext({}),{Provider:i}=o},45149:function(e,t){"use strict";t.Z=[]},79839:function(e,t,n){"use strict";n.d(t,{default:function(){return I}});var r=n(18829),o=n(45149),i=n(24404),a=n(38497),s=n(26869),l=n.n(s),E=n(57506),c=n(99851),u=n(63346),T=n(95227),d=n(56160),R=n(30823),f=n(35609),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},S=(0,c.i)(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:o,type:i,title:s,children:c,footer:S}=e,O=A(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:p}=a.useContext(u.E_),N=p(),I=t||p("modal"),h=(0,T.Z)(N),[_,m,C]=(0,f.ZP)(I,h),g=`${I}-confirm`,L={};return L=i?{closable:null!=o&&o,title:"",footer:"",children:a.createElement(d.O,Object.assign({},e,{prefixCls:I,confirmPrefixCls:g,rootPrefixCls:N,content:c}))}:{closable:null==o||o,title:s,footer:null!==S&&a.createElement(R.$,Object.assign({},e)),children:c},_(a.createElement(E.s,Object.assign({prefixCls:I,className:l()(m,`${I}-pure-panel`,i&&g,i&&`${g}-${i}`,n,C,h)},O,{closeIcon:(0,R.b)(I,r),closable:o},L)))}),O=n(33167);function p(e){return(0,r.ZP)((0,r.uW)(e))}let N=i.Z;N.useModal=O.Z,N.info=function(e){return(0,r.ZP)((0,r.cw)(e))},N.success=function(e){return(0,r.ZP)((0,r.vq)(e))},N.error=function(e){return(0,r.ZP)((0,r.AQ)(e))},N.warning=p,N.warn=p,N.confirm=function(e){return(0,r.ZP)((0,r.Au)(e))},N.destroyAll=function(){for(;o.Z.length;){let e=o.Z.pop();e&&e()}},N.config=r.ai,N._InternalPanelDoNotUseOrYouWillBeFired=S;var I=N},52872:function(e,t,n){"use strict";n.d(t,{A:function(){return l},f:function(){return s}});var r=n(61013);let o=Object.assign({},r.Z.Modal),i=[],a=()=>i.reduce((e,t)=>Object.assign(Object.assign({},e),t),r.Z.Modal);function s(e){if(e){let t=Object.assign({},e);return i.push(t),o=a(),()=>{i=i.filter(e=>e!==t),o=a()}}o=Object.assign({},r.Z.Modal)}function l(){return o}},30823:function(e,t,n){"use strict";n.d(t,{$:function(){return f},b:function(){return R}});var r=n(72991),o=n(38497),i=n(84223),a=n(3482),s=n(61261),l=n(27691),E=n(48936),c=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,o.useContext)(E.t);return o.createElement(l.ZP,Object.assign({onClick:n},e),t)},u=n(5496),T=()=>{let{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:i}=(0,o.useContext)(E.t);return o.createElement(l.ZP,Object.assign({},(0,u.nx)(n),{loading:e,onClick:i},t),r)},d=n(52872);function R(e,t){return o.createElement("span",{className:`${e}-close-x`},t||o.createElement(i.Z,{className:`${e}-close-icon`}))}let f=e=>{let t;let{okText:n,okType:i="primary",cancelText:l,confirmLoading:u,onOk:R,onCancel:f,okButtonProps:A,cancelButtonProps:S,footer:O}=e,[p]=(0,s.Z)("Modal",(0,d.A)()),N=n||(null==p?void 0:p.okText),I=l||(null==p?void 0:p.cancelText),h={confirmLoading:u,okButtonProps:A,cancelButtonProps:S,okTextLocale:N,cancelTextLocale:I,okType:i,onOk:R,onCancel:f},_=o.useMemo(()=>h,(0,r.Z)(Object.values(h)));return"function"==typeof O||void 0===O?(t=o.createElement(o.Fragment,null,o.createElement(c,null),o.createElement(T,null)),"function"==typeof O&&(t=O(t,{OkBtn:T,CancelBtn:c})),t=o.createElement(E.n,{value:_},t)):t=O,o.createElement(a.n,{disabled:!1},t)}},35609:function(e,t,n){"use strict";n.d(t,{B4:function(){return d},QA:function(){return c},eh:function(){return R}});var r=n(72178),o=n(60848),i=n(29730),a=n(98539),s=n(74934),l=n(90102);function E(e){return{position:e,inset:0}}let c=e=>{let{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({},E("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},E("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:(0,i.J$)(e)}]},u=e=>{let{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,r.bf)(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,o.Wf)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,r.bf)(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,r.bf)(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},(0,o.Qy)(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${(0,r.bf)(e.borderRadiusLG)} ${(0,r.bf)(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}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${(0,r.bf)(e.margin)} auto`}},[`${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, - ${t}-body, - ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},T=e=>{let{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},d=e=>{let t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5,o=(0,s.IX)(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()});return o},R=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${(0,r.bf)(e.paddingMD)} ${(0,r.bf)(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${(0,r.bf)(e.padding)} ${(0,r.bf)(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${(0,r.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${(0,r.bf)(e.paddingXS)} ${(0,r.bf)(e.padding)}`:0,footerBorderTop:e.wireframe?`${(0,r.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${(0,r.bf)(e.borderRadiusLG)} ${(0,r.bf)(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${(0,r.bf)(2*e.padding)} ${(0,r.bf)(2*e.padding)} ${(0,r.bf)(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM});t.ZP=(0,l.I$)("Modal",e=>{let t=d(e);return[u(t),T(t),c(t),(0,a._y)(t,"zoom")]},R,{unitless:{titleLineHeight:!0}})},33167:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(72991),o=n(38497),i=n(18829),a=n(45149),s=n(63346),l=n(61013),E=n(61261),c=n(56160),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},T=o.forwardRef((e,t)=>{var n,{afterClose:i,config:a}=e,T=u(e,["afterClose","config"]);let[d,R]=o.useState(!0),[f,A]=o.useState(a),{direction:S,getPrefixCls:O}=o.useContext(s.E_),p=O("modal"),N=O(),I=function(){R(!1);for(var e,t=arguments.length,n=Array(t),o=0;onull==e?void 0:e.triggerCancel);i&&(null===(e=f.onCancel)||void 0===e||e.call.apply(e,[f,()=>{}].concat((0,r.Z)(n.slice(1)))))};o.useImperativeHandle(t,()=>({destroy:I,update:e=>{A(t=>Object.assign(Object.assign({},t),e))}}));let h=null!==(n=f.okCancel)&&void 0!==n?n:"confirm"===f.type,[_]=(0,E.Z)("Modal",l.Z.Modal);return o.createElement(c.Z,Object.assign({prefixCls:p,rootPrefixCls:N},f,{close:I,open:d,afterClose:()=>{var e;i(),null===(e=f.afterClose)||void 0===e||e.call(f)},okText:f.okText||(h?null==_?void 0:_.okText:null==_?void 0:_.justOkText),direction:f.direction||S,cancelText:f.cancelText||(null==_?void 0:_.cancelText)},T))});let d=0,R=o.memo(o.forwardRef((e,t)=>{let[n,i]=function(){let[e,t]=o.useState([]),n=o.useCallback(e=>(t(t=>[].concat((0,r.Z)(t),[e])),()=>{t(t=>t.filter(t=>t!==e))}),[]);return[e,n]}();return o.useImperativeHandle(t,()=>({patchElement:i}),[]),o.createElement(o.Fragment,null,n)}));var f=function(){let e=o.useRef(null),[t,n]=o.useState([]);o.useEffect(()=>{if(t.length){let e=(0,r.Z)(t);e.forEach(e=>{e()}),n([])}},[t]);let s=o.useCallback(t=>function(i){var s;let l,E;d+=1;let c=o.createRef(),u=new Promise(e=>{l=e}),R=!1,f=o.createElement(T,{key:`modal-${d}`,config:t(i),ref:c,afterClose:()=>{null==E||E()},isSilent:()=>R,onConfirm:e=>{l(e)}});return(E=null===(s=e.current)||void 0===s?void 0:s.patchElement(f))&&a.Z.push(E),{destroy:()=>{function e(){var e;null===(e=c.current)||void 0===e||e.destroy()}c.current?e():n(t=>[].concat((0,r.Z)(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,r.Z)(e),[t]))},then:e=>(R=!0,u.then(e))}},[]),l=o.useMemo(()=>({info:s(i.cw),success:s(i.vq),error:s(i.AQ),warning:s(i.uW),confirm:s(i.Au)}),[]);return[l,o.createElement(R,{key:"modal-holder",ref:e})]}},36946:function(e,t,n){"use strict";n.d(t,{CW:function(){return I},ZP:function(){return h},z5:function(){return p}});var r=n(38497),o=n(16147),i=n(86298),a=n(84223),s=n(71836),l=n(44661),E=n(37022),c=n(26869),u=n.n(c),T=n(53923),d=n(63346),R=n(95227),f=n(16607),A=n(72178),S=(0,n(90102).bk)(["Notification","PurePanel"],e=>{let t=`${e.componentCls}-notice`,n=(0,f.Rp)(e);return{[`${t}-pure-panel`]:Object.assign(Object.assign({},(0,f.$e)(n)),{width:n.width,maxWidth:`calc(100vw - ${(0,A.bf)(e.calc(n.notificationMarginEdge).mul(2).equal())})`,margin:0})}},f.eh),O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function p(e,t){return null===t||!1===t?null:t||r.createElement(a.Z,{className:`${e}-close-icon`})}l.Z,o.Z,i.Z,s.Z,E.Z;let N={success:o.Z,info:l.Z,error:i.Z,warning:s.Z},I=e=>{let{prefixCls:t,icon:n,type:o,message:i,description:a,btn:s,role:l="alert"}=e,E=null;return n?E=r.createElement("span",{className:`${t}-icon`},n):o&&(E=r.createElement(N[o]||null,{className:u()(`${t}-icon`,`${t}-icon-${o}`)})),r.createElement("div",{className:u()({[`${t}-with-icon`]:E}),role:l},E,r.createElement("div",{className:`${t}-message`},i),r.createElement("div",{className:`${t}-description`},a),s&&r.createElement("div",{className:`${t}-btn`},s))};var h=e=>{let{prefixCls:t,className:n,icon:o,type:i,message:a,description:s,btn:l,closable:E=!0,closeIcon:c,className:A}=e,N=O(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon","className"]),{getPrefixCls:h}=r.useContext(d.E_),_=t||h("notification"),m=`${_}-notice`,C=(0,R.Z)(_),[g,L,v]=(0,f.ZP)(_,C);return g(r.createElement("div",{className:u()(`${m}-pure-panel`,L,n,v,C)},r.createElement(S,{prefixCls:_}),r.createElement(T.qX,Object.assign({},N,{prefixCls:_,eventKey:"pure",duration:null,closable:E,className:u()({notificationClassName:A}),closeIcon:p(_,c),content:r.createElement(I,{prefixCls:m,icon:o,type:i,message:a,description:s,btn:l})}))))}},67661:function(e,t,n){"use strict";var r=n(38497),o=n(94857),i=n(453),a=n(63346),s=n(42518),l=n(36946),E=n(70054);let c=null,u=e=>e(),T=[],d={};function R(){let{getContainer:e,rtl:t,maxCount:n,top:r,bottom:o,showProgress:i,pauseOnHover:a}=d,s=(null==e?void 0:e())||document.body;return{getContainer:()=>s,rtl:t,maxCount:n,top:r,bottom:o,showProgress:i,pauseOnHover:a}}let f=r.forwardRef((e,t)=>{let{notificationConfig:n,sync:o}=e,{getPrefixCls:s}=(0,r.useContext)(a.E_),l=d.prefixCls||s("notification"),c=(0,r.useContext)(i.J),[u,T]=(0,E.k)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:l}),c.notification));return r.useEffect(o,[]),r.useImperativeHandle(t,()=>{let e=Object.assign({},u);return Object.keys(e).forEach(t=>{e[t]=function(){return o(),u[t].apply(u,arguments)}}),{instance:e,sync:o}}),T}),A=r.forwardRef((e,t)=>{let[n,o]=r.useState(R),i=()=>{o(R)};r.useEffect(i,[]);let a=(0,s.w6)(),l=a.getRootPrefixCls(),E=a.getIconPrefixCls(),c=a.getTheme(),u=r.createElement(f,{ref:t,sync:i,notificationConfig:n});return r.createElement(s.ZP,{prefixCls:l,iconPrefixCls:E,theme:c},a.holderRender?a.holderRender(u):u)});function S(){if(!c){let e=document.createDocumentFragment(),t={fragment:e};c=t,u(()=>{(0,o.s)(r.createElement(A,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,S())})}}),e)});return}c.instance&&(T.forEach(e=>{switch(e.type){case"open":u(()=>{c.instance.open(Object.assign(Object.assign({},d),e.config))});break;case"destroy":u(()=>{null==c||c.instance.destroy(e.key)})}}),T=[])}function O(e){(0,s.w6)(),T.push({type:"open",config:e}),S()}let p={open:O,destroy:e=>{T.push({type:"destroy",key:e}),S()},config:function(e){d=Object.assign(Object.assign({},d),e),u(()=>{var e;null===(e=null==c?void 0:c.sync)||void 0===e||e.call(c)})},useNotification:E.Z,_InternalPanelDoNotUseOrYouWillBeFired:l.ZP};["success","info","warning","error"].forEach(e=>{p[e]=t=>O(Object.assign(Object.assign({},t),{type:e}))}),t.ZP=p},16607:function(e,t,n){"use strict";n.d(t,{ZP:function(){return p},$e:function(){return f},eh:function(){return S},Rp:function(){return O}});var r=n(72178),o=n(58416),i=n(60848),a=n(74934),s=n(90102),l=e=>{let{componentCls:t,notificationMarginEdge:n,animationMaxHeight:o}=e,i=`${t}-notice`,a=new r.E4("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),s=new r.E4("antNotificationTopFadeIn",{"0%":{top:-o,opacity:0},"100%":{top:0,opacity:1}}),l=new r.E4("antNotificationBottomFadeIn",{"0%":{bottom:e.calc(o).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),E=new r.E4("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[i]:{marginInline:"auto auto"}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:s}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:l}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[i]:{marginInlineEnd:"auto",marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:E}}}}};let E=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],c={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},u=(e,t)=>{let{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith("top")?"top":"bottom"]:0,[c[t]]:{value:0,_skip_check_:!0}}}}},T=e=>{let t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},t)},d=e=>{let t={};for(let n=1;n{let{componentCls:t}=e;return Object.assign({[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:Object.assign({transition:`all ${e.motionDurationSlow}, backdrop-filter 0s`,position:"absolute"},T(e))},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:Object.assign({},d(e))},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:e.margin,width:"100%",insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},E.map(t=>u(e,t)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{}))};let f=e=>{let{iconCls:t,componentCls:n,boxShadow:o,fontSizeLG:a,notificationMarginBottom:s,borderRadiusLG:l,colorSuccess:E,colorInfo:c,colorWarning:u,colorError:T,colorTextHeading:d,notificationBg:R,notificationPadding:f,notificationMarginEdge:A,notificationProgressBg:S,notificationProgressHeight:O,fontSize:p,lineHeight:N,width:I,notificationIconSize:h,colorText:_}=e,m=`${n}-notice`;return{position:"relative",marginBottom:s,marginInlineStart:"auto",background:R,borderRadius:l,boxShadow:o,[m]:{padding:f,width:I,maxWidth:`calc(100vw - ${(0,r.bf)(e.calc(A).mul(2).equal())})`,overflow:"hidden",lineHeight:N,wordWrap:"break-word"},[`${m}-message`]:{marginBottom:e.marginXS,color:d,fontSize:a,lineHeight:e.lineHeightLG},[`${m}-description`]:{fontSize:p,color:_},[`${m}-closable ${m}-message`]:{paddingInlineEnd:e.paddingLG},[`${m}-with-icon ${m}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(h).equal(),fontSize:a},[`${m}-with-icon ${m}-description`]:{marginInlineStart:e.calc(e.marginSM).add(h).equal(),fontSize:p},[`${m}-icon`]:{position:"absolute",fontSize:h,lineHeight:1,[`&-success${t}`]:{color:E},[`&-info${t}`]:{color:c},[`&-warning${t}`]:{color:u},[`&-error${t}`]:{color:T}},[`${m}-close`]:Object.assign({position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},(0,i.Qy)(e)),[`${m}-progress`]:{position:"absolute",display:"block",appearance:"none",WebkitAppearance:"none",inlineSize:`calc(100% - ${(0,r.bf)(l)} * 2)`,left:{_skip_check_:!0,value:l},right:{_skip_check_:!0,value:l},bottom:0,blockSize:O,border:0,"&, &::-webkit-progress-bar":{borderRadius:l,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:S},"&::-webkit-progress-value":{borderRadius:l,background:S}},[`${m}-btn`]:{float:"right",marginTop:e.marginSM}}},A=e=>{let{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:o,motionDurationMid:a,motionEaseInOut:s}=e,l=`${t}-notice`,E=new r.E4("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:Object.assign(Object.assign({},(0,i.Wf)(e)),{position:"fixed",zIndex:e.zIndexPopup,marginRight:{value:o,_skip_check_:!0},[`${t}-hook-holder`]:{position:"relative"},[`${t}-fade-appear-prepare`]:{opacity:"0 !important"},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:s,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${t}-fade-leave`]:{animationTimingFunction:s,animationFillMode:"both",animationDuration:a,animationPlayState:"paused"},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:"running"},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:E,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${l}-btn`]:{float:"left"}}})},{[t]:{[`${l}-wrapper`]:Object.assign({},f(e))}}]},S=e=>({zIndexPopup:e.zIndexPopupBase+o.u6+50,width:384}),O=e=>{let t=e.paddingMD,n=e.paddingLG,o=(0,a.IX)(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${(0,r.bf)(e.paddingMD)} ${(0,r.bf)(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:`linear-gradient(90deg, ${e.colorPrimaryBorderHover}, ${e.colorPrimary})`});return o};var p=(0,s.I$)("Notification",e=>{let t=O(e);return[A(t),l(t),R(t)]},S)},70054:function(e,t,n){"use strict";n.d(t,{Z:function(){return O},k:function(){return S}});var r=n(38497),o=n(26869),i=n.n(o),a=n(53923),s=n(67478),l=n(63346),E=n(95227),c=n(73098),u=n(36946),T=n(16607),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let R=e=>{let{children:t,prefixCls:n}=e,o=(0,E.Z)(n),[s,l,c]=(0,T.ZP)(n,o);return s(r.createElement(a.JB,{classNames:{list:i()(l,c,o)}},t))},f=(e,t)=>{let{prefixCls:n,key:o}=t;return r.createElement(R,{prefixCls:n,key:o},e)},A=r.forwardRef((e,t)=>{let{top:n,bottom:o,prefixCls:s,getContainer:E,maxCount:T,rtl:d,onAllRemoved:R,stack:A,duration:S,pauseOnHover:O=!0,showProgress:p}=e,{getPrefixCls:N,getPopupContainer:I,notification:h,direction:_}=(0,r.useContext)(l.E_),[,m]=(0,c.ZP)(),C=s||N("notification"),[g,L]=(0,a.lm)({prefixCls:C,style:e=>(function(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n}}return r})(e,null!=n?n:24,null!=o?o:24),className:()=>i()({[`${C}-rtl`]:null!=d?d:"rtl"===_}),motion:()=>({motionName:`${C}-fade`}),closable:!0,closeIcon:(0,u.z5)(C),duration:null!=S?S:4.5,getContainer:()=>(null==E?void 0:E())||(null==I?void 0:I())||document.body,maxCount:T,pauseOnHover:O,showProgress:p,onAllRemoved:R,renderNotifications:f,stack:!1!==A&&{threshold:"object"==typeof A?null==A?void 0:A.threshold:void 0,offset:8,gap:m.margin}});return r.useImperativeHandle(t,()=>Object.assign(Object.assign({},g),{prefixCls:C,notification:h})),L});function S(e){let t=r.useRef(null);(0,s.ln)("Notification");let n=r.useMemo(()=>{let n=n=>{var o;if(!t.current)return;let{open:a,prefixCls:s,notification:l}=t.current,E=`${s}-notice`,{message:c,description:T,icon:R,type:f,btn:A,className:S,style:O,role:p="alert",closeIcon:N,closable:I}=n,h=d(n,["message","description","icon","type","btn","className","style","role","closeIcon","closable"]),_=(0,u.z5)(E,void 0!==N?N:null==l?void 0:l.closeIcon);return a(Object.assign(Object.assign({placement:null!==(o=null==e?void 0:e.placement)&&void 0!==o?o:"topRight"},h),{content:r.createElement(u.CW,{prefixCls:E,icon:R,type:f,message:c,description:T,btn:A,role:p}),className:i()(f&&`${E}-${f}`,S,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),O),closeIcon:_,closable:null!=I?I:!!_}))},o={open:n,destroy:e=>{var n,r;void 0!==e?null===(n=t.current)||void 0===n||n.close(e):null===(r=t.current)||void 0===r||r.destroy()}};return["success","info","warning","error"].forEach(e=>{o[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))}),o},[]);return[n,r.createElement(A,Object.assign({key:"notification-holder"},e,{ref:t}))]}function O(e){return S(e)}},83387:function(e,t,n){"use strict";n.d(t,{aV:function(){return u}});var r=n(38497),o=n(26869),i=n.n(o),a=n(9052),s=n(74156),l=n(63346),E=n(93653),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let u=e=>{let{title:t,content:n,prefixCls:o}=e;return t||n?r.createElement(r.Fragment,null,t&&r.createElement("div",{className:`${o}-title`},t),n&&r.createElement("div",{className:`${o}-inner-content`},n)):null},T=e=>{let{hashId:t,prefixCls:n,className:o,style:l,placement:E="top",title:c,content:T,children:d}=e,R=(0,s.Z)(c),f=(0,s.Z)(T),A=i()(t,n,`${n}-pure`,`${n}-placement-${E}`,o);return r.createElement("div",{className:A,style:l},r.createElement("div",{className:`${n}-arrow`}),r.createElement(a.G,Object.assign({},e,{className:t,prefixCls:n}),d||r.createElement(u,{prefixCls:n,title:R,content:f})))};t.ZP=e=>{let{prefixCls:t,className:n}=e,o=c(e,["prefixCls","className"]),{getPrefixCls:a}=r.useContext(l.E_),s=a("popover",t),[u,d,R]=(0,E.Z)(s);return u(r.createElement(T,Object.assign({},o,{prefixCls:s,hashId:d,className:i()(n,R)})))}},62971:function(e,t,n){"use strict";var r=n(38497),o=n(26869),i=n.n(o),a=n(77757),s=n(16956),l=n(74156),E=n(17383),c=n(55091),u=n(63346),T=n(60205),d=n(83387),R=n(93653),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let A=r.forwardRef((e,t)=>{var n,o;let{prefixCls:A,title:S,content:O,overlayClassName:p,placement:N="top",trigger:I="hover",children:h,mouseEnterDelay:_=.1,mouseLeaveDelay:m=.1,onOpenChange:C,overlayStyle:g={}}=e,L=f(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:v}=r.useContext(u.E_),y=v("popover",A),[P,M,b]=(0,R.Z)(y),D=v(),U=i()(p,M,b),[x,w]=(0,a.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),G=(e,t)=>{w(e,!0),null==C||C(e,t)},F=e=>{e.keyCode===s.Z.ESC&&G(!1,e)},H=(0,l.Z)(S),B=(0,l.Z)(O);return P(r.createElement(T.Z,Object.assign({placement:N,trigger:I,mouseEnterDelay:_,mouseLeaveDelay:m,overlayStyle:g},L,{prefixCls:y,overlayClassName:U,ref:t,open:x,onOpenChange:e=>{G(e)},overlay:H||B?r.createElement(d.aV,{prefixCls:y,title:H,content:B}):null,transitionName:(0,E.m)(D,"zoom-big",L.transitionName),"data-popover-inject":!0}),(0,c.Tm)(h,{onKeyDown:e=>{var t,n;r.isValidElement(h)&&(null===(n=null==h?void 0:(t=h.props).onKeyDown)||void 0===n||n.call(t,e)),F(e)}})))});A._InternalPanelDoNotUseOrYouWillBeFired=d.ZP,t.Z=A},93653:function(e,t,n){"use strict";var r=n(60848),o=n(98539),i=n(20136),a=n(49407),s=n(69376),l=n(90102),E=n(74934);let c=e=>{let{componentCls:t,popoverColor:n,titleMinWidth:o,fontWeightStrong:a,innerPadding:s,boxShadowSecondary:l,colorTextHeading:E,borderRadiusLG:c,zIndexPopup:u,titleMarginBottom:T,colorBgElevated:d,popoverBg:R,titleBorderBottom:f,innerContentPadding:A,titlePadding:S}=e;return[{[t]:Object.assign(Object.assign({},(0,r.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:"var(--valid-offset-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":d,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:R,backgroundClip:"padding-box",borderRadius:c,boxShadow:l,padding:s},[`${t}-title`]:{minWidth:o,marginBottom:T,color:E,fontWeight:a,borderBottom:f,padding:S},[`${t}-inner-content`]:{color:n,padding:A}})},(0,i.ZP)(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},u=e=>{let{componentCls:t}=e;return{[t]:s.i.map(n=>{let r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}};t.Z=(0,l.I$)("Popover",e=>{let{colorBgElevated:t,colorText:n}=e,r=(0,E.IX)(e,{popoverBg:t,popoverColor:n});return[c(r),u(r),(0,o._y)(r,"zoom-big")]},e=>{let{lineWidth:t,controlHeight:n,fontHeight:r,padding:o,wireframe:s,zIndexPopupBase:l,borderRadiusLG:E,marginXS:c,lineType:u,colorSplit:T,paddingSM:d}=e,R=n-r;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:l+30},(0,a.w)(e)),(0,i.wZ)({contentRadius:E,limitVerticalRadius:!0})),{innerPadding:s?0:12,titleMarginBottom:s?0:c,titlePadding:s?`${R/2}px ${o}px ${R/2-t}px`:0,titleBorderBottom:s?`${t}px ${u} ${T}`:"none",innerContentPadding:s?`${d}px ${o}px`:0})},{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},15247:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(38497),o=n(26869),i=n.n(o),a=n(63346),s=n(55598),l=e=>{let{prefixCls:t,className:n,style:o,size:a,shape:s}=e,l=i()({[`${t}-lg`]:"large"===a,[`${t}-sm`]:"small"===a}),E=i()({[`${t}-circle`]:"circle"===s,[`${t}-square`]:"square"===s,[`${t}-round`]:"round"===s}),c=r.useMemo(()=>"number"==typeof a?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return r.createElement("span",{className:i()(t,l,E,n),style:Object.assign(Object.assign({},c),o)})},E=n(72178),c=n(90102),u=n(74934);let T=new E.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),d=e=>({height:e,lineHeight:(0,E.bf)(e)}),R=e=>Object.assign({width:e},d(e)),f=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:T,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),A=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},d(e)),S=e=>{let{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},R(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},R(o)),[`${t}${t}-sm`]:Object.assign({},R(i))}},O=e=>{let{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:s}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},A(t,s)),[`${r}-lg`]:Object.assign({},A(o,s)),[`${r}-sm`]:Object.assign({},A(i,s))}},p=e=>Object.assign({width:e},d(e)),N=e=>{let{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:i}=e;return{[t]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},p(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},p(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},I=(e,t,n)=>{let{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},h=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},d(e)),_=e=>{let{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},h(r,s))},I(e,r,n)),{[`${n}-lg`]:Object.assign({},h(o,s))}),I(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},h(i,s))}),I(e,i,`${n}-sm`))},m=e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:s,controlHeight:l,controlHeightLG:E,controlHeightSM:c,gradientFromColor:u,padding:T,marginSM:d,borderRadius:A,titleHeight:p,blockRadius:I,paragraphLiHeight:h,controlHeightXS:m,paragraphMarginTop:C}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:T,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:u},R(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},R(E)),[`${n}-sm`]:Object.assign({},R(c))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:p,background:u,borderRadius:I,[`+ ${o}`]:{marginBlockStart:c}},[o]:{padding:0,"> li":{width:"100%",height:h,listStyle:"none",background:u,borderRadius:I,"+ li":{marginBlockStart:m}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:A}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:d,[`+ ${o}`]:{marginBlockStart:C}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},_(e)),S(e)),O(e)),N(e)),[`${t}${t}-block`]:{width:"100%",[i]:{width:"100%"},[a]:{width:"100%"}},[`${t}${t}-active`]:{[` - ${r}, - ${o} > li, - ${n}, - ${i}, - ${a}, - ${s} - `]:Object.assign({},f(e))}}};var C=(0,c.I$)("Skeleton",e=>{let{componentCls:t,calc:n}=e,r=(0,u.IX)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[m(r)]},e=>{let{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),g=n(42096),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},v=n(75651),y=r.forwardRef(function(e,t){return r.createElement(v.Z,(0,g.Z)({},e,{ref:t,icon:L}))}),P=n(72991);let M=(e,t)=>{let{width:n,rows:r=2}=t;return Array.isArray(n)?n[e]:r-1===e?n:void 0};var b=e=>{let{prefixCls:t,className:n,style:o,rows:a}=e,s=(0,P.Z)(Array(a)).map((t,n)=>r.createElement("li",{key:n,style:{width:M(n,e)}}));return r.createElement("ul",{className:i()(t,n),style:o},s)},D=e=>{let{prefixCls:t,className:n,width:o,style:a}=e;return r.createElement("h3",{className:i()(t,n),style:Object.assign({width:o},a)})};function U(e){return e&&"object"==typeof e?e:{}}let x=e=>{let{prefixCls:t,loading:n,className:o,rootClassName:s,style:E,children:c,avatar:u=!1,title:T=!0,paragraph:d=!0,active:R,round:f}=e,{getPrefixCls:A,direction:S,skeleton:O}=r.useContext(a.E_),p=A("skeleton",t),[N,I,h]=C(p);if(n||!("loading"in e)){let e,t;let n=!!u,a=!!T,c=!!d;if(n){let t=Object.assign(Object.assign({prefixCls:`${p}-avatar`},a&&!c?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),U(u));e=r.createElement("div",{className:`${p}-header`},r.createElement(l,Object.assign({},t)))}if(a||c){let e,o;if(a){let t=Object.assign(Object.assign({prefixCls:`${p}-title`},!n&&c?{width:"38%"}:n&&c?{width:"50%"}:{}),U(T));e=r.createElement(D,Object.assign({},t))}if(c){let e=Object.assign(Object.assign({prefixCls:`${p}-paragraph`},function(e,t){let n={};return e&&t||(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}(n,a)),U(d));o=r.createElement(b,Object.assign({},e))}t=r.createElement("div",{className:`${p}-content`},e,o)}let A=i()(p,{[`${p}-with-avatar`]:n,[`${p}-active`]:R,[`${p}-rtl`]:"rtl"===S,[`${p}-round`]:f},null==O?void 0:O.className,o,s,I,h);return N(r.createElement("div",{className:A,style:Object.assign(Object.assign({},null==O?void 0:O.style),E)},e,t))}return null!=c?c:null};x.Button=e=>{let{prefixCls:t,className:n,rootClassName:o,active:E,block:c=!1,size:u="default"}=e,{getPrefixCls:T}=r.useContext(a.E_),d=T("skeleton",t),[R,f,A]=C(d),S=(0,s.Z)(e,["prefixCls"]),O=i()(d,`${d}-element`,{[`${d}-active`]:E,[`${d}-block`]:c},n,o,f,A);return R(r.createElement("div",{className:O},r.createElement(l,Object.assign({prefixCls:`${d}-button`,size:u},S))))},x.Avatar=e=>{let{prefixCls:t,className:n,rootClassName:o,active:E,shape:c="circle",size:u="default"}=e,{getPrefixCls:T}=r.useContext(a.E_),d=T("skeleton",t),[R,f,A]=C(d),S=(0,s.Z)(e,["prefixCls","className"]),O=i()(d,`${d}-element`,{[`${d}-active`]:E},n,o,f,A);return R(r.createElement("div",{className:O},r.createElement(l,Object.assign({prefixCls:`${d}-avatar`,shape:c,size:u},S))))},x.Input=e=>{let{prefixCls:t,className:n,rootClassName:o,active:E,block:c,size:u="default"}=e,{getPrefixCls:T}=r.useContext(a.E_),d=T("skeleton",t),[R,f,A]=C(d),S=(0,s.Z)(e,["prefixCls"]),O=i()(d,`${d}-element`,{[`${d}-active`]:E,[`${d}-block`]:c},n,o,f,A);return R(r.createElement("div",{className:O},r.createElement(l,Object.assign({prefixCls:`${d}-input`,size:u},S))))},x.Image=e=>{let{prefixCls:t,className:n,rootClassName:o,style:s,active:l}=e,{getPrefixCls:E}=r.useContext(a.E_),c=E("skeleton",t),[u,T,d]=C(c),R=i()(c,`${c}-element`,{[`${c}-active`]:l},n,o,T,d);return u(r.createElement("div",{className:R},r.createElement("div",{className:i()(`${c}-image`,n),style:s},r.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${c}-image-svg`},r.createElement("title",null,"Image placeholder"),r.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${c}-image-path`})))))},x.Node=e=>{let{prefixCls:t,className:n,rootClassName:o,style:s,active:l,children:E}=e,{getPrefixCls:c}=r.useContext(a.E_),u=c("skeleton",t),[T,d,R]=C(u),f=i()(u,`${u}-element`,{[`${u}-active`]:l},d,n,o,R),A=null!=E?E:r.createElement(y,null);return T(r.createElement("div",{className:f},r.createElement("div",{className:i()(`${u}-image`,n),style:s},A)))};var w=x},80214:function(e,t,n){"use strict";n.d(t,{BR:function(){return d},ri:function(){return T}});var r=n(38497),o=n(26869),i=n.n(o),a=n(10469),s=n(63346),l=n(82014),E=n(26578),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let u=r.createContext(null),T=(e,t)=>{let n=r.useContext(u),o=r.useMemo(()=>{if(!n)return"";let{compactDirection:r,isFirstItem:o,isLastItem:a}=n,s="vertical"===r?"-vertical-":"-";return i()(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:o,[`${e}-compact${s}last-item`]:a,[`${e}-compact${s}item-rtl`]:"rtl"===t})},[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:o}},d=e=>{let{children:t}=e;return r.createElement(u.Provider,{value:null},t)},R=e=>{var{children:t}=e,n=c(e,["children"]);return r.createElement(u.Provider,{value:n},t)};t.ZP=e=>{let{getPrefixCls:t,direction:n}=r.useContext(s.E_),{size:o,direction:T,block:d,prefixCls:f,className:A,rootClassName:S,children:O}=e,p=c(e,["size","direction","block","prefixCls","className","rootClassName","children"]),N=(0,l.Z)(e=>null!=o?o:e),I=t("space-compact",f),[h,_]=(0,E.Z)(I),m=i()(I,_,{[`${I}-rtl`]:"rtl"===n,[`${I}-block`]:d,[`${I}-vertical`]:"vertical"===T},A,S),C=r.useContext(u),g=(0,a.Z)(O),L=r.useMemo(()=>g.map((e,t)=>{let n=(null==e?void 0:e.key)||`${I}-item-${t}`;return r.createElement(R,{key:n,compactSize:N,compactDirection:T,isFirstItem:0===t&&(!C||(null==C?void 0:C.isFirstItem)),isLastItem:t===g.length-1&&(!C||(null==C?void 0:C.isLastItem))},e)}),[o,g,C]);return 0===g.length?null:h(r.createElement("div",Object.assign({className:m},p),L))}},26578:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(90102),o=n(74934),i=e=>{let{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};let a=e=>{let{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},s=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}};var l=(0,r.I$)("Space",e=>{let t=(0,o.IX)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[a(t),s(t),i(t)]},()=>({}),{resetStyle:!1})},31909:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0},{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},function(e,t,n){let{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",s=["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({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}(e,r,t)),function(e,t,n){let{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}}}}(n,r,t))}}n.d(t,{c:function(){return r}})},60848:function(e,t,n){"use strict";n.d(t,{Lx:function(){return l},Qy:function(){return u},Ro:function(){return a},Wf:function(){return i},dF:function(){return s},du:function(){return E},oN:function(){return c},vS:function(){return o}});var r=n(72178);let 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"}}),s=()=>({"&::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, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),E=(e,t,n,r)=>{let o=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return!1!==r&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},s),a),{[o]:a})}},c=e=>({outline:`${(0,r.bf)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),u=e=>({"&:focus-visible":Object.assign({},c(e))})},29730:function(e,t,n){"use strict";n.d(t,{J$:function(){return s}});var r=n(72178),o=n(60234);let i=new r.E4("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),a=new r.E4("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{antCls:n}=e,r=`${n}-fade`,s=t?"&":"";return[(0,o.R)(r,i,a,e.motionDurationMid,t),{[` - ${s}${r}-enter, - ${s}${r}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${s}${r}-leave`]:{animationTimingFunction:"linear"}}]}},60234:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});let r=e=>({animationDuration:e,animationFillMode:"both"}),o=e=>({animationDuration:e,animationFillMode:"both"}),i=function(e,t,n,i){let a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a?"&":"";return{[` - ${s}${e}-enter, - ${s}${e}-appear - `]:Object.assign(Object.assign({},r(i)),{animationPlayState:"paused"}),[`${s}${e}-leave`]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),[` - ${s}${e}-enter${e}-enter-active, - ${s}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:"running"},[`${s}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}}},98539:function(e,t,n){"use strict";n.d(t,{_y:function(){return O},kr:function(){return i}});var r=n(72178),o=n(60234);let i=new r.E4("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),a=new r.E4("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),s=new r.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),l=new r.E4("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),E=new r.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),c=new r.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),u=new r.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),T=new r.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),d=new r.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),R=new r.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),f=new r.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),A=new r.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),S={zoom:{inKeyframes:i,outKeyframes:a},"zoom-big":{inKeyframes:s,outKeyframes:l},"zoom-big-fast":{inKeyframes:s,outKeyframes:l},"zoom-left":{inKeyframes:u,outKeyframes:T},"zoom-right":{inKeyframes:d,outKeyframes:R},"zoom-up":{inKeyframes:E,outKeyframes:c},"zoom-down":{inKeyframes:f,outKeyframes:A}},O=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=S[t];return[(0,o.R)(r,i,a,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},20136:function(e,t,n){"use strict";n.d(t,{ZP:function(){return s},qN:function(){return i},wZ:function(){return a}});var r=n(72178),o=n(49407);let i=8;function a(e){let{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?i:r}}function s(e,t,n){var i,a,s,l,E,c,u,T;let{componentCls:d,boxShadowPopoverArrow:R,arrowOffsetVertical:f,arrowOffsetHorizontal:A}=e,{arrowDistance:S=0,arrowPlacement:O={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[d]:Object.assign(Object.assign(Object.assign(Object.assign({[`${d}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,o.W)(e,t,R)),{"&:before":{background:t}})]},(i=!!O.top,a={[`&-placement-top > ${d}-arrow,&-placement-topLeft > ${d}-arrow,&-placement-topRight > ${d}-arrow`]:{bottom:S,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${d}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":A,[`> ${d}-arrow`]:{left:{_skip_check_:!0,value:A}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,r.bf)(A)})`,[`> ${d}-arrow`]:{right:{_skip_check_:!0,value:A}}}},i?a:{})),(s=!!O.bottom,l={[`&-placement-bottom > ${d}-arrow,&-placement-bottomLeft > ${d}-arrow,&-placement-bottomRight > ${d}-arrow`]:{top:S,transform:"translateY(-100%)"},[`&-placement-bottom > ${d}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":A,[`> ${d}-arrow`]:{left:{_skip_check_:!0,value:A}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,r.bf)(A)})`,[`> ${d}-arrow`]:{right:{_skip_check_:!0,value:A}}}},s?l:{})),(E=!!O.left,c={[`&-placement-left > ${d}-arrow,&-placement-leftTop > ${d}-arrow,&-placement-leftBottom > ${d}-arrow`]:{right:{_skip_check_:!0,value:S},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${d}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${d}-arrow`]:{top:f},[`&-placement-leftBottom > ${d}-arrow`]:{bottom:f}},E?c:{})),(u=!!O.right,T={[`&-placement-right > ${d}-arrow,&-placement-rightTop > ${d}-arrow,&-placement-rightBottom > ${d}-arrow`]:{left:{_skip_check_:!0,value:S},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${d}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${d}-arrow`]:{top:f},[`&-placement-rightBottom > ${d}-arrow`]:{bottom:f}},u?T:{}))}}},49407:function(e,t,n){"use strict";n.d(t,{W:function(){return i},w:function(){return o}});var r=n(72178);function o(e){let{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,o=t/2,i=1*r/Math.sqrt(2),a=o-r*(1-1/Math.sqrt(2)),s=o-n*(1/Math.sqrt(2)),l=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),E=r*(Math.sqrt(2)-1),c=`polygon(${E}px 100%, 50% ${E}px, ${2*o-E}px 100%, ${E}px 100%)`,u=`path('M 0 ${o} A ${r} ${r} 0 0 0 ${i} ${a} L ${s} ${l} A ${n} ${n} 0 0 1 ${2*o-s} ${l} L ${2*o-i} ${a} A ${r} ${r} 0 0 0 ${2*o-0} ${o} Z')`;return{arrowShadowWidth:o*Math.sqrt(2)+r*(Math.sqrt(2)-2),arrowPath:u,arrowPolygon:c}}let i=(e,t,n)=>{let{sizePopupArrow:o,arrowPolygon:i,arrowPath:a,arrowShadowWidth:s,borderRadiusXS:l,calc:E}=e;return{pointerEvents:"none",width:o,height:o,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:o,height:E(o).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:s,height:s,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,r.bf)(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}}},91466:function(e,t,n){"use strict";n.d(t,{Mj:function(){return E},uH:function(){return s},u_:function(){return l}});var r=n(38497),o=n(72178),i=n(38678),a=n(34484);let s=(0,o.jG)(i.Z),l={token:a.Z,override:{override:a.Z},hashed:!0},E=r.createContext(l)},69376:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});let r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},38678:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(82650),o=n(34484),i=n(80298),a=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}},s=n(88233),l=n(83168),E=n(51084);let c=(e,t)=>new E.C(e).setAlpha(t).toRgbString(),u=(e,t)=>{let n=new E.C(e);return n.darken(t).toHexString()},T=e=>{let t=(0,r.R_)(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]}},d=(e,t)=>{let n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:c(r,.88),colorTextSecondary:c(r,.65),colorTextTertiary:c(r,.45),colorTextQuaternary:c(r,.25),colorFill:c(r,.15),colorFillSecondary:c(r,.06),colorFillTertiary:c(r,.04),colorFillQuaternary:c(r,.02),colorBgLayout:u(n,4),colorBgContainer:u(n,0),colorBgElevated:u(n,0),colorBgSpotlight:c(r,.85),colorBgBlur:"transparent",colorBorder:u(n,15),colorBorderSecondary:u(n,6)}};function R(e){r.ez.pink=r.ez.magenta,r.Ti.pink=r.Ti.magenta;let t=Object.keys(o.M).map(t=>{let n=e[t]===r.ez[t]?r.Ti[t]:(0,r.R_)(e[t]);return 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),(0,i.Z)(e,{generateColorPalettes:T,generateNeutralColorPalettes:d})),(0,l.Z)(e.fontSize)),function(e){let{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)),(0,s.Z)(e)),function(e){let{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},a(r))}(e))}},34484:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});let 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, -'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'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});t.Z=o},80298:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(51084);function o(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t,{colorSuccess:i,colorWarning:a,colorError:s,colorInfo:l,colorPrimary:E,colorBgBase:c,colorTextBase:u}=e,T=n(E),d=n(i),R=n(a),f=n(s),A=n(l),S=o(c,u),O=e.colorLink||e.colorInfo,p=n(O);return Object.assign(Object.assign({},S),{colorPrimaryBg:T[1],colorPrimaryBgHover:T[2],colorPrimaryBorder:T[3],colorPrimaryBorderHover:T[4],colorPrimaryHover:T[5],colorPrimary:T[6],colorPrimaryActive:T[7],colorPrimaryTextHover:T[8],colorPrimaryText:T[9],colorPrimaryTextActive:T[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:f[1],colorErrorBgHover:f[2],colorErrorBgActive:f[3],colorErrorBorder:f[3],colorErrorBorderHover:f[4],colorErrorHover:f[5],colorError:f[6],colorErrorActive:f[7],colorErrorTextHover:f[8],colorErrorText:f[9],colorErrorTextActive:f[10],colorWarningBg:R[1],colorWarningBgHover:R[2],colorWarningBorder:R[3],colorWarningBorderHover:R[4],colorWarningHover:R[4],colorWarning:R[6],colorWarningActive:R[7],colorWarningTextHover:R[8],colorWarningText:R[9],colorWarningTextActive:R[10],colorInfoBg:A[1],colorInfoBgHover:A[2],colorInfoBorder:A[3],colorInfoBorderHover:A[4],colorInfoHover:A[4],colorInfo:A[6],colorInfoActive:A[7],colorInfoTextHover:A[8],colorInfoText:A[9],colorInfoTextActive:A[10],colorLinkHover:p[4],colorLink:p[6],colorLinkActive:p[7],colorBgMask:new r.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},88233:function(e,t){"use strict";t.Z=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},83168:function(e,t,n){"use strict";var r=n(35599);t.Z=e=>{let t=(0,r.Z)(e),n=t.map(e=>e.size),o=t.map(e=>e.lineHeight),i=n[1],a=n[0],s=n[2],l=o[1],E=o[0],c=o[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:s,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:c,lineHeightSM:E,fontHeight:Math.round(l*i),fontHeightLG:Math.round(c*s),fontHeightSM:Math.round(E*a),lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}}},35599:function(e,t,n){"use strict";function r(e){return(e+8)/e}function o(e){let t=Array(10).fill(null).map((t,n)=>{let r=e*Math.pow(Math.E,(n-1)/5);return 2*Math.floor((n>1?Math.floor(r):Math.ceil(r))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:r(e)}))}n.d(t,{D:function(){return r},Z:function(){return o}})},73098:function(e,t,n){"use strict";n.d(t,{ZP:function(){return d},NJ:function(){return E}});var r=n(38497),o=n(72178),i=n(91466),a=n(34484),s=n(28529),l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let E={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},c={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},u={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},T=(e,t,n)=>{let r=n.getDerivativeToken(e),{override:o}=t,i=l(t,["override"]),a=Object.assign(Object.assign({},r),{override:o});return a=(0,s.Z)(a),i&&Object.entries(i).forEach(e=>{let[t,n]=e,{theme:r}=n,o=l(n,["theme"]),i=o;r&&(i=T(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i}),a};function d(){let{token:e,hashed:t,theme:n,override:l,cssVar:d}=r.useContext(i.Mj),R=`5.20.1-${t||""}`,f=n||i.uH,[A,S,O]=(0,o.fp)(f,[a.Z,e],{salt:R,override:l,getComputedToken:T,formatToken:s.Z,cssVar:d&&{prefix:d.prefix,key:d.key,unitless:E,ignore:c,preserve:u}});return[f,O,t?S:"",A,d]}},28529:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(51084),o=n(34484);function i(e){return e>=0&&e<=255}var a=function(e,t){let{r:n,g:o,b:a,a:s}=new r.C(e).toRgb();if(s<1)return e;let{r:l,g:E,b:c}=new r.C(t).toRgb();for(let e=.01;e<=1;e+=.01){let t=Math.round((n-l*(1-e))/e),s=Math.round((o-E*(1-e))/e),u=Math.round((a-c*(1-e))/e);if(i(t)&&i(s)&&i(u))return new r.C({r:t,g:s,b:u,a:Math.round(100*e)/100}).toRgbString()}return new r.C({r:n,g:o,b:a,a:1}).toRgbString()},s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function l(e){let{override:t}=e,n=s(e,["override"]),i=Object.assign({},t);Object.keys(o.Z).forEach(e=>{delete i[e]});let l=Object.assign(Object.assign({},n),i);!1===l.motion&&(l.motionDurationFast="0s",l.motionDurationMid="0s",l.motionDurationSlow="0s");let E=Object.assign(Object.assign(Object.assign({},l),{colorFillContent:l.colorFillSecondary,colorFillContentHover:l.colorFill,colorFillAlter:l.colorFillQuaternary,colorBgContainerDisabled:l.colorFillTertiary,colorBorderBg:l.colorBgContainer,colorSplit:a(l.colorBorderSecondary,l.colorBgContainer),colorTextPlaceholder:l.colorTextQuaternary,colorTextDisabled:l.colorTextQuaternary,colorTextHeading:l.colorText,colorTextLabel:l.colorTextSecondary,colorTextDescription:l.colorTextTertiary,colorTextLightSolid:l.colorWhite,colorHighlight:l.colorError,colorBgTextHover:l.colorFillSecondary,colorBgTextActive:l.colorFill,colorIcon:l.colorTextTertiary,colorIconHover:l.colorText,colorErrorOutline:a(l.colorErrorBg,l.colorBgContainer),colorWarningOutline:a(l.colorWarningBg,l.colorBgContainer),fontSizeIcon:l.fontSizeSM,lineWidthFocus:4*l.lineWidth,lineWidth:l.lineWidth,controlOutlineWidth:2*l.lineWidth,controlInteractiveSize:l.controlHeight/2,controlItemBgHover:l.colorFillTertiary,controlItemBgActive:l.colorPrimaryBg,controlItemBgActiveHover:l.colorPrimaryBgHover,controlItemBgActiveDisabled:l.colorFill,controlTmpOutline:l.colorFillQuaternary,controlOutline:a(l.colorPrimaryBg,l.colorBgContainer),lineType:l.lineType,borderRadius:l.borderRadius,borderRadiusXS:l.borderRadiusXS,borderRadiusSM:l.borderRadiusSM,borderRadiusLG:l.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:l.sizeXXS,paddingXS:l.sizeXS,paddingSM:l.sizeSM,padding:l.size,paddingMD:l.sizeMD,paddingLG:l.sizeLG,paddingXL:l.sizeXL,paddingContentHorizontalLG:l.sizeLG,paddingContentVerticalLG:l.sizeMS,paddingContentHorizontal:l.sizeMS,paddingContentVertical:l.sizeSM,paddingContentHorizontalSM:l.size,paddingContentVerticalSM:l.sizeXS,marginXXS:l.sizeXXS,marginXS:l.sizeXS,marginSM:l.sizeSM,margin:l.size,marginMD:l.sizeMD,marginLG:l.sizeLG,marginXL:l.sizeXL,marginXXL:l.sizeXXL,boxShadow:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowSecondary:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTertiary:` - 0 1px 2px 0 rgba(0, 0, 0, 0.03), - 0 1px 6px -1px rgba(0, 0, 0, 0.02), - 0 2px 4px 0 rgba(0, 0, 0, 0.02) - `,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:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` - 0 1px 2px -2px ${new r.C("rgba(0, 0, 0, 0.16)").toRgbString()}, - 0 3px 6px 0 ${new r.C("rgba(0, 0, 0, 0.12)").toRgbString()}, - 0 5px 12px 4px ${new r.C("rgba(0, 0, 0, 0.09)").toRgbString()} - `,boxShadowDrawerRight:` - -6px 0 16px 0 rgba(0, 0, 0, 0.08), - -3px 0 6px -4px rgba(0, 0, 0, 0.12), - -9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerLeft:` - 6px 0 16px 0 rgba(0, 0, 0, 0.08), - 3px 0 6px -4px rgba(0, 0, 0, 0.12), - 9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerUp:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerDown:` - 0 -6px 16px 0 rgba(0, 0, 0, 0.08), - 0 -3px 6px -4px rgba(0, 0, 0, 0.12), - 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,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)"}),i);return E}},86553:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69376);function o(e,t){return r.i.reduce((n,r)=>{let o=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:s}))},{})}},90102:function(e,t,n){"use strict";n.d(t,{A1:function(){return c},I$:function(){return E},bk:function(){return u}});var r=n(38497),o=n(74934),i=n(63346),a=n(60848),s=n(73098),l=n(43601);let{genStyleHooks:E,genComponentStyleHook:c,genSubStyleComponent:u}=(0,o.rb)({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=(0,r.useContext)(i.E_),n=e();return{rootPrefixCls:n,iconPrefixCls:t}},useToken:()=>{let[e,t,n,r,o]=(0,s.ZP)();return{theme:e,realToken:t,hashId:n,token:r,cssVar:o}},useCSP:()=>{let{csp:e,iconPrefixCls:t}=(0,r.useContext)(i.E_);return(0,l.Z)(t,e),null!=e?e:{}},getResetStyles:e=>[{"&":(0,a.Lx)(e)}],getCommonStyle:a.du,getCompUnitless:()=>s.NJ})},43601:function(e,t,n){"use strict";var r=n(72178),o=n(60848),i=n(73098);t.Z=(e,t)=>{let[n,a]=(0,i.ZP)();return(0,r.xy)({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.Ro)()),{[`.${e} .${e}-icon`]:{display:"block"}})}])}},60205:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(38497),o=n(26869),i=n.n(o),a=n(9052),s=n(77757),l=n(53296),E=n(58416),c=n(17383),u=n(13553),T=n(55091),d=n(67478),R=n(49594),f=n(63346),A=n(73098),S=n(72178),O=n(60848),p=n(98539),N=n(20136),I=n(49407),h=n(86553),_=n(74934),m=n(90102);let C=e=>{let{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:s,boxShadowSecondary:l,paddingSM:E,paddingXS:c}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,O.Wf)(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:"var(--valid-offset-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:"1em",minHeight:s,padding:`${(0,S.bf)(e.calc(E).div(2).equal())} ${(0,S.bf)(c)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:l,boxSizing:"border-box"},"&-placement-left,&-placement-leftTop,&-placement-leftBottom,&-placement-right,&-placement-rightTop,&-placement-rightBottom":{[`${t}-inner`]:{borderRadius:e.min(i,N.qN)}},[`${t}-content`]:{position:"relative"}}),(0,h.Z)(e,(e,n)=>{let{darkColor:r}=n;return{[`&${t}-${e}`]:{[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{"--antd-arrow-background-color":r}}}})),{"&-rtl":{direction:"rtl"}})},(0,N.ZP)(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},g=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},(0,N.wZ)({contentRadius:e.borderRadius,limitVerticalRadius:!0})),(0,I.w)((0,_.IX)(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)})));var L=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=(0,m.I$)("Tooltip",e=>{let{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:r}=e,o=(0,_.IX)(e,{tooltipMaxWidth:250,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:r});return[C(o),(0,p._y)(e,"zoom-big-fast")]},g,{resetStyle:!1,injectStyle:t});return n(e)},v=n(55853);function y(e,t){let n=(0,v.o2)(t),r=i()({[`${e}-${t}`]:t&&n}),o={},a={};return t&&!n&&(o.background=t,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:a}}var P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let M=r.forwardRef((e,t)=>{var n,o;let{prefixCls:S,openClassName:O,getTooltipContainer:p,overlayClassName:N,color:I,overlayInnerStyle:h,children:_,afterOpenChange:m,afterVisibleChange:C,destroyTooltipOnHide:g,arrow:v=!0,title:M,overlay:b,builtinPlacements:D,arrowPointAtCenter:U=!1,autoAdjustOverflow:x=!0}=e,w=!!v,[,G]=(0,A.ZP)(),{getPopupContainer:F,getPrefixCls:H,direction:B}=r.useContext(f.E_),Y=(0,d.ln)("Tooltip"),k=r.useRef(null),V=()=>{var e;null===(e=k.current)||void 0===e||e.forceAlign()};r.useImperativeHandle(t,()=>{var e;return{forceAlign:V,forcePopupAlign:()=>{Y.deprecated(!1,"forcePopupAlign","forceAlign"),V()},nativeElement:null===(e=k.current)||void 0===e?void 0:e.nativeElement}});let[$,W]=(0,s.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),Z=!M&&!b&&0!==M,j=r.useMemo(()=>{var e,t;let n=U;return"object"==typeof v&&(n=null!==(t=null!==(e=v.pointAtCenter)&&void 0!==e?e:v.arrowPointAtCenter)&&void 0!==t?t:U),D||(0,u.Z)({arrowPointAtCenter:n,autoAdjustOverflow:x,arrowWidth:w?G.sizePopupArrow:0,borderRadius:G.borderRadius,offset:G.marginXXS,visibleFirst:!0})},[U,v,D,G]),X=r.useMemo(()=>0===M?M:b||M||"",[b,M]),K=r.createElement(l.Z,{space:!0},"function"==typeof X?X():X),{getPopupContainer:z,placement:J="top",mouseEnterDelay:q=.1,mouseLeaveDelay:Q=.1,overlayStyle:ee,rootClassName:et}=e,en=P(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),er=H("tooltip",S),eo=H(),ei=e["data-popover-inject"],ea=$;"open"in e||"visible"in e||!Z||(ea=!1);let es=r.isValidElement(_)&&!(0,T.M2)(_)?_:r.createElement("span",null,_),el=es.props,eE=el.className&&"string"!=typeof el.className?el.className:i()(el.className,O||`${er}-open`),[ec,eu,eT]=L(er,!ei),ed=y(er,I),eR=ed.arrowStyle,ef=Object.assign(Object.assign({},h),ed.overlayStyle),eA=i()(N,{[`${er}-rtl`]:"rtl"===B},ed.className,et,eu,eT),[eS,eO]=(0,E.Cn)("Tooltip",en.zIndex),ep=r.createElement(a.Z,Object.assign({},en,{zIndex:eS,showArrow:w,placement:J,mouseEnterDelay:q,mouseLeaveDelay:Q,prefixCls:er,overlayClassName:eA,overlayStyle:Object.assign(Object.assign({},eR),ee),getTooltipContainer:z||p||F,ref:k,builtinPlacements:j,overlay:K,visible:ea,onVisibleChange:t=>{var n,r;W(!Z&&t),Z||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},afterVisibleChange:null!=m?m:C,overlayInnerStyle:ef,arrowContent:r.createElement("span",{className:`${er}-arrow-content`}),motion:{motionName:(0,c.m)(eo,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!g}),ea?(0,T.Tm)(es,{className:eE}):es);return ec(r.createElement(R.Z.Provider,{value:eO},ep))});M._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,className:n,placement:o="top",title:s,color:l,overlayInnerStyle:E}=e,{getPrefixCls:c}=r.useContext(f.E_),u=c("tooltip",t),[T,d,R]=L(u),A=y(u,l),S=A.arrowStyle,O=Object.assign(Object.assign({},E),A.overlayStyle),p=i()(d,R,u,`${u}-pure`,`${u}-placement-${o}`,n,A.className);return T(r.createElement("div",{className:p,style:S},r.createElement("div",{className:`${u}-arrow`}),r.createElement(a.G,Object.assign({},e,{className:d,prefixCls:u,overlayInnerStyle:O}),s)))};var b=M},23204:function(e,t,n){"use strict";n.d(t,{H:function(){return s}});var r=n(38497),o=n(81581);function i(){}let a=r.createContext({add:i,remove:i});function s(e){let t=r.useContext(a),n=r.useRef(),i=(0,o.zX)(r=>{if(r){let o=e?r.querySelector(e):r;t.add(o),n.current=o}else t.remove(n.current)});return i}},42499:function(e,t,n){"use strict";var r=n(82073).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(11472));t.default=o.default},43675:function(e,t,n){"use strict";var r=n(82073).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(78876));t.default=o.default},11472:function(e,t,n){"use strict";var r=n(82073).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(37624)),i=r(n(17935));let 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.default),timePickerLocale:Object.assign({},i.default)};t.default=a},78876:function(e,t,n){"use strict";var r=n(82073).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(3167)),i=r(n(6887));let a={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},o.default),timePickerLocale:Object.assign({},i.default)};a.lang.ok="确定",t.default=a},77279:function(e,t,n){"use strict";var r=n(82073).default;t.Z=void 0;var o=r(n(54835)),i=r(n(42499)),a=r(n(11472)),s=r(n(17935));let l="${label} is not a valid ${type}",E={locale:"en",Pagination:o.default,DatePicker:a.default,TimePicker:s.default,Calendar:i.default,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:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},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",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};t.Z=E},77823:function(e,t,n){"use strict";var r=n(82073).default;t.Z=void 0;var o=r(n(78062)),i=r(n(43675)),a=r(n(78876)),s=r(n(6887));let l="${label}不是一个有效的${type}",E={locale:"zh-cn",Pagination:o.default,DatePicker:a.default,TimePicker:s.default,Calendar:i.default,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",emptyText:"暂无数据",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",deselectAll:"取消全选",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开",collapse:"收起"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:"渐变色"}};t.Z=E},17935:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},6887:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]}},77824:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,i=l(e),a=i[0],s=i[1],E=new o((a+s)*3/4-s),c=0,u=s>0?a-4:a;for(n=0;n>16&255,E[c++]=t>>8&255,E[c++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,E[c++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,E[c++]=t>>8&255,E[c++]=255&t),E},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=0,s=r-o;a>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return i.join("")}(e,a,a+16383>s?s:a+16383));return 1===o?i.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===o&&i.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},17766:function(e,t,n){"use strict";/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */let r=n(77824),o=n(18763),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);let n=0|R(e,t),r=a(n),o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(G(e,Uint8Array)){let t=new Uint8Array(e);return T(t.buffer,t.byteOffset,t.byteLength)}return u(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(G(e,ArrayBuffer)||e&&G(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(G(e,SharedArrayBuffer)||e&&G(e.buffer,SharedArrayBuffer)))return T(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,t,n);let o=function(e){var t;if(s.isBuffer(e)){let t=0|d(e.length),n=a(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):u(e):"Buffer"===e.type&&Array.isArray(e.data)?u(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function E(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return E(e),a(e<0?0:0|d(e))}function u(e){let t=e.length<0?0:0|d(e.length),n=a(t);for(let r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function R(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||G(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return x(e).length;default:if(o)return r?-1:U(e).length;t=(""+t).toLowerCase(),o=!0}}function f(e,t,n){let o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let o="";for(let r=t;r2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(i=n=+n)!=i&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return -1;n=e.length-1}else if(n<0){if(!o)return -1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:O(e,t,n,r,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):O(e,[t],n,r,o);throw TypeError("val must be string, number or Buffer")}function O(e,t,n,r,o){let i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,n/=2}function E(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let r=-1;for(i=n;is&&(n=s-l),i=n;i>=0;i--){let n=!0;for(let r=0;r239?4:t>223?3:t>191?2:1;if(o+a<=n){let n,r,s,l;switch(a){case 1:t<128&&(i=t);break;case 2:(192&(n=e[o+1]))==128&&(l=(31&t)<<6|63&n)>127&&(i=l);break;case 3:n=e[o+1],r=e[o+2],(192&n)==128&&(192&r)==128&&(l=(15&t)<<12|(63&n)<<6|63&r)>2047&&(l<55296||l>57343)&&(i=l);break;case 4:n=e[o+1],r=e[o+2],s=e[o+3],(192&n)==128&&(192&r)==128&&(192&s)==128&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s)>65535&&l<1114112&&(i=l)}}null===i?(i=65533,a=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=a}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let n="",r=0;for(;rn)throw RangeError("Trying to access beyond buffer length")}function I(e,t,n,r,o,i){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw RangeError("Index out of range")}function h(e,t,n,r,o){P(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function _(e,t,n,r,o){P(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n+7]=i,i>>=8,e[n+6]=i,i>>=8,e[n+5]=i,i>>=8,e[n+4]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function m(e,t,n,r,o,i){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function C(e,t,n,r,i){return t=+t,n>>>=0,i||m(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function g(e,t,n,r,i){return t=+t,n>>>=0,i||m(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}t.lW=s,t.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(E(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(G(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),G(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let o=0,i=Math.min(n,r);or.length?(s.isBuffer(t)||(t=s.from(t)),t.copy(r,o)):Uint8Array.prototype.set.call(r,t,o);else if(s.isBuffer(t))t.copy(r,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=t.length}return r},s.byteLength=R,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tn&&(e+=" ... "),""},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,o){if(G(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;let i=o-r,a=n-t,l=Math.min(i,a),E=this.slice(r,o),c=e.slice(t,n);for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let T=this.length-t;if((void 0===n||n>T)&&(n=T),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let d=!1;for(;;)switch(r){case"hex":return function(e,t,n,r){let o;n=Number(n)||0;let i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;let a=t.length;for(r>a/2&&(r=a/2),o=0;o>8,o.push(n%256),o.push(r);return o}(e,this.length-c),this,c,u);default:if(d)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),d=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){let n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e],o=1,i=0;for(;++i>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e+--t],o=1;for(;t>0&&(o*=256);)r+=this[e+--t]*o;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||N(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||N(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||N(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=H(function(e){M(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&b(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+16777216*this[++e],o=this[++e]+256*this[++e]+65536*this[++e]+16777216*n;return BigInt(r)+(BigInt(o)<>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&b(e,this.length-8);let r=16777216*t+65536*this[++e]+256*this[++e]+this[++e],o=16777216*this[++e]+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e],o=1,i=0;for(;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);let r=t,o=1,i=this[e+--r];for(;r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return(e>>>=0,t||N(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||N(e,2,this.length);let n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||N(e,2,this.length);let n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=H(function(e){M(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&b(e,this.length-8);let r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&b(e,this.length-8);let r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,t||N(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||N(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||N(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||N(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;I(this,e,t,n,r,0)}let o=1,i=0;for(this[t]=255&e;++i>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;I(this,e,t,n,r,0)}let o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigUInt64LE=H(function(e,t=0){return h(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=H(function(e,t=0){return _(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);I(this,e,t,n,r-1,-r)}let o=0,i=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);I(this,e,t,n,r-1,-r)}let o=n-1,i=1,a=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i>>0)-a&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigInt64LE=H(function(e,t=0){return h(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=H(function(e,t=0){return _(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(e,t,n){return C(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return C(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return g(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return g(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function P(e,t,n,r,o,i){if(e>n||e3?0===t||t===BigInt(0)?`>= 0${o} and < 2${o} ** ${(i+1)*8}${o}`:`>= -(2${o} ** ${(i+1)*8-1}${o}) and < 2 ** ${(i+1)*8-1}${o}`:`>= ${t}${o} and <= ${n}${o}`,new L.ERR_OUT_OF_RANGE("value",r,e)}M(o,"offset"),(void 0===r[o]||void 0===r[o+i])&&b(o,r.length-(i+1))}function M(e,t){if("number"!=typeof e)throw new L.ERR_INVALID_ARG_TYPE(t,"number",e)}function b(e,t,n){if(Math.floor(e)!==e)throw M(e,n),new L.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new L.ERR_BUFFER_OUT_OF_BOUNDS;throw new L.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}v("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),v("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),v("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>4294967296?o=y(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=y(o)),o+="n"),r+=` It must be ${t}. Received ${o}`},RangeError);let D=/[^+/0-9A-Za-z-_]/g;function U(e,t){let n;t=t||1/0;let r=e.length,o=null,i=[];for(let a=0;a55295&&n<57344){if(!o){if(n>56319||a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return i}function x(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(D,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function w(e,t,n,r){let o;for(o=0;o=t.length)&&!(o>=e.length);++o)t[o+n]=e[o];return o}function G(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let F=function(){let e="0123456789abcdef",t=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let o=0;o<16;++o)t[r+o]=e[n]+e[o]}return t}();function H(e){return"undefined"==typeof BigInt?B:e}function B(){throw Error("BigInt not supported")}},93486:function(e,t,n){"use strict";var r=n(6889),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,s,l,E,c,u,T=!1;t||(t={}),a=t.debug||!1;try{if(l=r(),E=document.createRange(),c=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=o[t.format]||o.default;window.clipboardData.setData(r,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(u),E.selectNodeContents(u),c.addRange(E),!document.execCommand("copy"))throw Error("copy command was unsuccessful");T=!0}catch(r){a&&console.error("unable to copy using execCommand: ",r),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),T=!0}catch(r){a&&console.error("unable to copy using clipboardData: ",r),a&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",i=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",s=n.replace(/#{\s*key\s*}/g,i),window.prompt(s,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(E):c.removeAllRanges()),u&&document.body.removeChild(u),l()}return T}},18763:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<>1,c=-7,u=n?o-1:0,T=n?-1:1,d=e[t+u];for(u+=T,i=d&(1<<-c)-1,d>>=-c,c+=s;c>0;i=256*i+e[t+u],u+=T,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+u],u+=T,c-=8);if(0===i)i=1-E;else{if(i===l)return a?NaN:(d?-1:1)*(1/0);a+=Math.pow(2,r),i-=E}return(d?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,E=8*i-o-1,c=(1<>1,T=23===o?5960464477539062e-23:0,d=r?0:i-1,R=r?1:-1,f=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+u>=1?t+=T/l:t+=T*Math.pow(2,1-u),t*l>=2&&(a++,l/=2),a+u>=c?(s=0,a=c):a+u>=1?(s=(t*l-1)*Math.pow(2,o),a+=u):(s=t*Math.pow(2,u-1)*Math.pow(2,o),a=0));o>=8;e[n+d]=255&s,d+=R,s/=256,o-=8);for(a=a<0;e[n+d]=255&a,d+=R,a/=256,E-=8);e[n+d-R]|=128*f}},84994:function(e,t,n){var r=n(41411).Symbol;e.exports=r},84707:function(e,t,n){var r=n(84994),o=n(10788),i=n(55483),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},2859:function(e,t,n){var r=n(7909),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},37261:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},10788:function(e,t,n){var r=n(84994),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},55483:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},41411:function(e,t,n){var r=n(37261),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},7909:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},85551:function(e,t,n){var r=n(82782),o=n(18545),i=n(79649),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,E,c,u,T,d,R=0,f=!1,A=!1,S=!0;if("function"!=typeof e)throw TypeError("Expected a function");function O(t){var n=l,r=E;return l=E=void 0,R=t,u=e.apply(r,n)}function p(e){var n=e-d,r=e-R;return void 0===d||n>=t||n<0||A&&r>=c}function N(){var e,n,r,i=o();if(p(i))return I(i);T=setTimeout(N,(e=i-d,n=i-R,r=t-e,A?s(r,c-n):r))}function I(e){return(T=void 0,S&&l)?O(e):(l=E=void 0,u)}function h(){var e,n=o(),r=p(n);if(l=arguments,E=this,d=n,r){if(void 0===T)return R=e=d,T=setTimeout(N,t),f?O(e):u;if(A)return clearTimeout(T),T=setTimeout(N,t),O(d)}return void 0===T&&(T=setTimeout(N,t)),u}return t=i(t)||0,r(n)&&(f=!!n.leading,c=(A="maxWait"in n)?a(i(n.maxWait)||0,t):c,S="trailing"in n?!!n.trailing:S),h.cancel=function(){void 0!==T&&clearTimeout(T),R=0,l=d=E=T=void 0},h.flush=function(){return void 0===T?u:I(o())},h}},82782:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},43630:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},68067:function(e,t,n){var r=n(84707),o=n(43630);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},18545:function(e,t,n){var r=n(41411);e.exports=function(){return r.Date.now()}},97400:function(e,t,n){var r=n(85551),o=n(82782);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},79649:function(e,t,n){var r=n(2859),o=n(82782),i=n(68067),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,E=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||E.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}},4773:function(e,t,n){!function(e){e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return(12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t)?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(61671))},61671:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";function t(){return B.apply(null,arguments)}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function i(e){var t;if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(t in e)if(o(e,t))return!1;return!0}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function E(e,t){var n,r=[],o=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)o(e,t)&&n.push(t);return n};var P=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,M=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,b={},D={};function U(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(D[e]=o),t&&(D[t[0]]=function(){return y(o.apply(this,arguments),t[1],t[2])}),n&&(D[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function x(e,t){return e.isValid()?(b[t=w(t,e.localeData())]=b[t]||function(e){var t,n,r,o=e.match(P);for(n=0,r=o.length;n=0&&M.test(e);)e=e.replace(M,r),M.lastIndex=0,n-=1;return e}var G={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function F(e){return"string"==typeof e?G[e]||G[e.toLowerCase()]:void 0}function H(e){var t,n,r={};for(n in e)o(e,n)&&(t=F(n))&&(r[t]=e[n]);return r}var B,Y,k,V,$={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},W=/\d/,Z=/\d\d/,j=/\d{3}/,X=/\d{4}/,K=/[+-]?\d{6}/,z=/\d\d?/,J=/\d\d\d\d?/,q=/\d\d\d\d\d\d?/,Q=/\d{1,3}/,ee=/\d{1,4}/,et=/[+-]?\d{1,6}/,en=/\d+/,er=/[+-]?\d+/,eo=/Z|[+-]\d\d:?\d\d/gi,ei=/Z|[+-]\d\d(?::?\d\d)?/gi,ea=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,es=/^[1-9]\d?/,el=/^([1-9]\d|\d)/;function eE(e,t,n){V[e]=g(t)?t:function(e,r){return e&&n?n:t}}function ec(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function eu(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function eT(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=eu(t)),n}V={};var ed={};function eR(e,t){var n,r,o=t;for("string"==typeof e&&(e=[e]),s(t)&&(o=function(e,n){n[t]=eT(e)}),r=e.length,n=0;n68?1900:2e3)};var eO=ep("FullYear",!0);function ep(e,n){return function(r){return null!=r?(eI(this,e,r),t.updateOffset(this,n),this):eN(this,e)}}function eN(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function eI(e,t,n){var r,o,i,a;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,o=e._isUTC,t){case"Milliseconds":return void(o?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(o?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(o?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(o?r.setUTCHours(n):r.setHours(n));case"Date":return void(o?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=e.month(),a=29!==(a=e.date())||1!==i||eA(n)?a:28,o?r.setUTCFullYear(n,i,a):r.setFullYear(n,i,a)}}function eh(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?eA(e)?29:28:31-n%7%2}ek=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?isFinite((s=new Date(e+400,t,n,r,o,i,a)).getFullYear())&&s.setFullYear(e):s=new Date(e,t,n,r,o,i,a),s}function eP(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,isFinite((t=new Date(Date.UTC.apply(null,n))).getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function eM(e,t,n){var r=7+t-n;return-((7+eP(e,0,r).getUTCDay()-t)%7)+r-1}function eb(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+eM(e,r,o);return s<=0?a=eS(i=e-1)+s:s>eS(e)?(i=e+1,a=s-eS(e)):(i=e,a=s),{year:i,dayOfYear:a}}function eD(e,t,n){var r,o,i=eM(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+eU(o=e.year()-1,t,n):a>eU(e.year(),t,n)?(r=a-eU(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function eU(e,t,n){var r=eM(e,t,n),o=eM(e+1,t,n);return(eS(e)-r+o)/7}function ex(e,t){return e.slice(t,7).concat(e.slice(0,t))}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),eE("w",z,es),eE("ww",z,Z),eE("W",z,es),eE("WW",z,Z),ef(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=eT(e)}),U("d",0,"do","day"),U("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),U("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),U("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),eE("d",z),eE("e",z),eE("E",z),eE("dd",function(e,t){return t.weekdaysMinRegex(e)}),eE("ddd",function(e,t){return t.weekdaysShortRegex(e)}),eE("dddd",function(e,t){return t.weekdaysRegex(e)}),ef(["dd","ddd","dddd"],function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:T(n).invalidWeekday=e}),ef(["d","e","E"],function(e,t,n,r){t[r]=eT(e)});var ew="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function eG(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(r=0,this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[];r<7;++r)i=u([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=ek.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ek.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=ek.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=ek.call(this._weekdaysParse,a))||-1!==(o=ek.call(this._shortWeekdaysParse,a))?o:-1!==(o=ek.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ek.call(this._shortWeekdaysParse,a))||-1!==(o=ek.call(this._weekdaysParse,a))?o:-1!==(o=ek.call(this._minWeekdaysParse,a))?o:null:-1!==(o=ek.call(this._minWeekdaysParse,a))||-1!==(o=ek.call(this._weekdaysParse,a))?o:-1!==(o=ek.call(this._shortWeekdaysParse,a))?o:null}function eF(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],l=[],E=[];for(t=0;t<7;t++)n=u([2e3,1]).day(t),r=ec(this.weekdaysMin(n,"")),o=ec(this.weekdaysShort(n,"")),i=ec(this.weekdays(n,"")),a.push(r),s.push(o),l.push(i),E.push(r),E.push(o),E.push(i);a.sort(e),s.sort(e),l.sort(e),E.sort(e),this._weekdaysRegex=RegExp("^("+E.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=RegExp("^("+a.join("|")+")","i")}function eH(){return this.hours()%12||12}function eB(e,t){U(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function eY(e,t){return t._meridiemParse}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,eH),U("k",["kk",2],0,function(){return this.hours()||24}),U("hmm",0,0,function(){return""+eH.apply(this)+y(this.minutes(),2)}),U("hmmss",0,0,function(){return""+eH.apply(this)+y(this.minutes(),2)+y(this.seconds(),2)}),U("Hmm",0,0,function(){return""+this.hours()+y(this.minutes(),2)}),U("Hmmss",0,0,function(){return""+this.hours()+y(this.minutes(),2)+y(this.seconds(),2)}),eB("a",!0),eB("A",!1),eE("a",eY),eE("A",eY),eE("H",z,el),eE("h",z,es),eE("k",z,es),eE("HH",z,Z),eE("hh",z,Z),eE("kk",z,Z),eE("hmm",J),eE("hmmss",q),eE("Hmm",J),eE("Hmmss",q),eR(["H","HH"],3),eR(["k","kk"],function(e,t,n){var r=eT(e);t[3]=24===r?0:r}),eR(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),eR(["h","hh"],function(e,t,n){t[3]=eT(e),T(n).bigHour=!0}),eR("hmm",function(e,t,n){var r=e.length-2;t[3]=eT(e.substr(0,r)),t[4]=eT(e.substr(r)),T(n).bigHour=!0}),eR("hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=eT(e.substr(0,r)),t[4]=eT(e.substr(r,2)),t[5]=eT(e.substr(o)),T(n).bigHour=!0}),eR("Hmm",function(e,t,n){var r=e.length-2;t[3]=eT(e.substr(0,r)),t[4]=eT(e.substr(r))}),eR("Hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=eT(e.substr(0,r)),t[4]=eT(e.substr(r,2)),t[5]=eT(e.substr(o))});var ek,eV,e$=ep("Hours",!0),eW={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:e_,week:{dow:0,doy:6},weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysShort:ew,meridiemParse:/[ap]\.?m?\.?/i},eZ={},ej={};function eX(e){return e?e.toLowerCase().replace("_","-"):e}function eK(t){var n=null;if(void 0===eZ[t]&&e&&e.exports&&t&&t.match("^[^/\\\\]*$"))try{n=eV._abbr,function(){var e=Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),ez(n)}catch(e){eZ[t]=null}return eZ[t]}function ez(e,t){var n;return e&&((n=a(t)?eq(e):eJ(e,t))?eV=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),eV._abbr}function eJ(e,t){if(null===t)return delete eZ[e],null;var n,r=eW;if(t.abbr=e,null!=eZ[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=eZ[e]._config;else if(null!=t.parentLocale){if(null!=eZ[t.parentLocale])r=eZ[t.parentLocale]._config;else{if(null==(n=eK(t.parentLocale)))return ej[t.parentLocale]||(ej[t.parentLocale]=[]),ej[t.parentLocale].push({name:e,config:t}),null;r=n._config}}return eZ[e]=new v(L(r,t)),ej[e]&&ej[e].forEach(function(e){eJ(e.name,e.config)}),ez(e),eZ[e]}function eq(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return eV;if(!n(e)){if(t=eK(e))return t;e=[e]}return function(e){for(var t,n,r,o,i=0;i0;){if(r=eK(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n=t-1)break;t--}i++}return eV}(e)}function eQ(e){var t,n=e._a;return n&&-2===T(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>eh(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,T(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),T(e)._overflowWeeks&&-1===t&&(t=7),T(e)._overflowWeekday&&-1===t&&(t=8),T(e).overflow=t),e}var e0=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e1=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e2=/Z|[+-]\d\d(?::?\d\d)?/,e4=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],e6=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],e3=/^\/?Date\((-?\d+)/i,e8=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,e5={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function e7(e){var t,n,r,o,i,a,s=e._i,l=e0.exec(s)||e1.exec(s),E=e4.length,c=e6.length;if(l){for(t=0,T(e).iso=!0,n=E;t7)&&(E=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,c=eD(ti(),a,s),r=te(n.gg,e._a[0],c.year),o=te(n.w,c.week),null!=n.d?((i=n.d)<0||i>6)&&(E=!0):null!=n.e?(i=n.e+a,(n.e<0||n.e>6)&&(E=!0)):i=a),o<1||o>eU(r,a,s)?T(e)._overflowWeeks=!0:null!=E?T(e)._overflowWeekday=!0:(l=eb(r,o,i,a,s),e._a[0]=l.year,e._dayOfYear=l.dayOfYear)),null!=e._dayOfYear&&(S=te(e._a[0],f[0]),(e._dayOfYear>eS(S)||0===e._dayOfYear)&&(T(e)._overflowDayOfYear=!0),R=eP(S,0,e._dayOfYear),e._a[1]=R.getUTCMonth(),e._a[2]=R.getUTCDate()),d=0;d<3&&null==e._a[d];++d)e._a[d]=O[d]=f[d];for(;d<7;d++)e._a[d]=O[d]=null==e._a[d]?2===d?1:0:e._a[d];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?eP:ey).apply(null,O),A=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==A&&(T(e).weekdayMismatch=!0)}}function tn(e){if(e._f===t.ISO_8601){e7(e);return}if(e._f===t.RFC_2822){e9(e);return}e._a=[],T(e).empty=!0;var n,r,i,a,s,l,E,c,u,d,R,f=""+e._i,A=f.length,S=0;for(s=0,R=(E=w(e._f,e._locale).match(P)||[]).length;s0&&T(e).unusedInput.push(u),f=f.slice(f.indexOf(l)+l.length),S+=l.length),D[c])?(l?T(e).empty=!1:T(e).unusedTokens.push(c),null!=l&&o(ed,c)&&ed[c](l,e._a,e,c)):e._strict&&!l&&T(e).unusedTokens.push(c);T(e).charsLeftOver=A-S,f.length>0&&T(e).unusedInput.push(f),e._a[3]<=12&&!0===T(e).bigHour&&e._a[3]>0&&(T(e).bigHour=void 0),T(e).parsedDateParts=e._a.slice(0),T(e).meridiem=e._meridiem,e._a[3]=(n=e._locale,r=e._a[3],null==(i=e._meridiem)?r:null!=n.meridiemHour?n.meridiemHour(r,i):(null!=n.isPM&&((a=n.isPM(i))&&r<12&&(r+=12),a||12!==r||(r=0)),r)),null!==(d=T(e).era)&&(e._a[0]=e._locale.erasConvertYear(d,e._a[0])),tt(e),eQ(e)}function tr(e){var o,i=e._i,u=e._f;return(e._locale=e._locale||eq(e._l),null===i||void 0===u&&""===i)?R({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),I(i))?new N(eQ(i)):(l(i)?e._d=i:n(u)?function(e){var t,n,r,o,i,a,s=!1,l=e._f.length;if(0===l){T(e).invalidFormat=!0,e._d=new Date(NaN);return}for(o=0;othis?this:e:R()});function tl(e,t){var r,o;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return ti();for(o=1,r=t[0];o=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function tU(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function tx(e,t){return t.erasAbbrRegex(e)}function tw(){var e,t,n,r,o,i=[],a=[],s=[],l=[],E=this.eras();for(e=0,t=E.length;e(i=eU(e,r,o))&&(t=i),tH.call(this,e,t,n,r,o))}function tH(e,t,n,r,o){var i=eb(e,t,n,r,o),a=eP(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}U("N",0,0,"eraAbbr"),U("NN",0,0,"eraAbbr"),U("NNN",0,0,"eraAbbr"),U("NNNN",0,0,"eraName"),U("NNNNN",0,0,"eraNarrow"),U("y",["y",1],"yo","eraYear"),U("y",["yy",2],0,"eraYear"),U("y",["yyy",3],0,"eraYear"),U("y",["yyyy",4],0,"eraYear"),eE("N",tx),eE("NN",tx),eE("NNN",tx),eE("NNNN",function(e,t){return t.erasNameRegex(e)}),eE("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),eR(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?T(n).era=o:T(n).invalidEra=e}),eE("y",en),eE("yy",en),eE("yyy",en),eE("yyyy",en),eE("yo",function(e,t){return t._eraYearOrdinalRegex||en}),eR(["y","yy","yyy","yyyy"],0),eR(["yo"],function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,o):t[0]=parseInt(e,10)}),U(0,["gg",2],0,function(){return this.weekYear()%100}),U(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tG("gggg","weekYear"),tG("ggggg","weekYear"),tG("GGGG","isoWeekYear"),tG("GGGGG","isoWeekYear"),eE("G",er),eE("g",er),eE("GG",z,Z),eE("gg",z,Z),eE("GGGG",ee,X),eE("gggg",ee,X),eE("GGGGG",et,K),eE("ggggg",et,K),ef(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=eT(e)}),ef(["gg","GG"],function(e,n,r,o){n[o]=t.parseTwoDigitYear(e)}),U("Q",0,"Qo","quarter"),eE("Q",W),eR("Q",function(e,t){t[1]=(eT(e)-1)*3}),U("D",["DD",2],"Do","date"),eE("D",z,es),eE("DD",z,Z),eE("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),eR(["D","DD"],2),eR("Do",function(e,t){t[2]=eT(e.match(z)[0])});var tB=ep("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),eE("DDD",Q),eE("DDDD",j),eR(["DDD","DDDD"],function(e,t,n){n._dayOfYear=eT(e)}),U("m",["mm",2],0,"minute"),eE("m",z,el),eE("mm",z,Z),eR(["m","mm"],4);var tY=ep("Minutes",!1);U("s",["ss",2],0,"second"),eE("s",z,el),eE("ss",z,Z),eR(["s","ss"],5);var tk=ep("Seconds",!1);for(U("S",0,0,function(){return~~(this.millisecond()/100)}),U(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,function(){return 10*this.millisecond()}),U(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),U(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),U(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),U(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),U(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),eE("S",Q,W),eE("SS",Q,Z),eE("SSS",Q,j),f="SSSS";f.length<=9;f+="S")eE(f,en);function tV(e,t){t[6]=eT(("0."+e)*1e3)}for(f="S";f.length<=9;f+="S")eR(f,tV);A=ep("Milliseconds",!1),U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var t$=N.prototype;function tW(e){return e}t$.add=tg,t$.calendar=function(e,a){if(1==arguments.length){if(arguments[0]){var E,c,u;(E=arguments[0],I(E)||l(E)||tv(E)||s(E)||(c=n(E),u=!1,c&&(u=0===E.filter(function(e){return!s(e)&&tv(E)}).length),c&&u)||function(e){var t,n,a=r(e)&&!i(e),s=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],E=l.length;for(t=0;tn.valueOf():n.valueOf()n.year()||n.year()>9999?x(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):g(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+6e4*this.utcOffset()).toISOString().replace("Z",x(n,"Z")):x(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},t$.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+r+'("]',t=0<=this.year()&&9999>=this.year()?"YYYY":"YYYYYY",n=o+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(t$[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),t$.toJSON=function(){return this.isValid()?this.toISOString():null},t$.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},t$.unix=function(){return Math.floor(this.valueOf()/1e3)},t$.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},t$.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},t$.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;eMath.abs(e)&&!r&&(e*=60);return!this._isUTC&&n&&(o=tS(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i===e||(!n||this._changeInProgress?tC(this,tI(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this},t$.utc=function(e){return this.utcOffset(0,e)},t$.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(tS(this),"m")),this},t$.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=tf(eo,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},t$.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?ti(e).utcOffset():0,(this.utcOffset()-e)%60==0)},t$.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},t$.isLocal=function(){return!!this.isValid()&&!this._isUTC},t$.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},t$.isUtc=tO,t$.isUTC=tO,t$.zoneAbbr=function(){return this._isUTC?"UTC":""},t$.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},t$.dates=_("dates accessor is deprecated. Use date instead.",tB),t$.months=_("months accessor is deprecated. Use month instead",eL),t$.years=_("years accessor is deprecated. Use year instead",eO),t$.zone=_("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),t$.isDSTShifted=_("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return p(t,this),(t=tr(t))._a?(e=t._isUTC?u(t._a):ti(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted});var tZ=v.prototype;function tj(e,t,n,r){var o=eq(),i=u().set(r,t);return o[n](i,e)}function tX(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return tj(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=tj(e,r,n,"month");return o}function tK(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o,i=eq(),a=e?i._week.dow:0,l=[];if(null!=n)return tj(t,(n+a)%7,r,"day");for(o=0;o<7;o++)l[o]=tj(t,(o+a)%7,r,"day");return l}tZ.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return g(r)?r.call(t,n):r},tZ.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(P).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},tZ.invalidDate=function(){return this._invalidDate},tZ.ordinal=function(e){return this._ordinal.replace("%d",e)},tZ.preparse=tW,tZ.postformat=tW,tZ.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return g(o)?o(e,t,n,r):o.replace(/%d/i,e)},tZ.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return g(n)?n(t):n.replace(/%s/i,t)},tZ.set=function(e){var t,n;for(n in e)o(e,n)&&(g(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},tZ.eras=function(e,n){var r,o,i,a=this._eras||eq("en")._eras;for(r=0,o=a.length;r=0)return l[r]},tZ.erasConvertYear=function(e,n){var r=e.since<=e.until?1:-1;return void 0===n?t(e.since).year():t(e.since).year()+(n-e.offset)*r},tZ.erasAbbrRegex=function(e){return o(this,"_erasAbbrRegex")||tw.call(this),e?this._erasAbbrRegex:this._erasRegex},tZ.erasNameRegex=function(e){return o(this,"_erasNameRegex")||tw.call(this),e?this._erasNameRegex:this._erasRegex},tZ.erasNarrowRegex=function(e){return o(this,"_erasNarrowRegex")||tw.call(this),e?this._erasNarrowRegex:this._erasRegex},tZ.months=function(e,t){return e?n(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||em).test(t)?"format":"standalone"][e.month()]:n(this._months)?this._months:this._months.standalone},tZ.monthsShort=function(e,t){return e?n(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[em.test(t)?"format":"standalone"][e.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},tZ.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return eC.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if(o=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e)||n&&"MMM"===t&&this._shortMonthsParse[r].test(e)||!n&&this._monthsParse[r].test(e))return r},tZ.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||ev.call(this),e)?this._monthsStrictRegex:this._monthsRegex:(o(this,"_monthsRegex")||(this._monthsRegex=ea),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},tZ.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||ev.call(this),e)?this._monthsShortStrictRegex:this._monthsShortRegex:(o(this,"_monthsShortRegex")||(this._monthsShortRegex=ea),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},tZ.week=function(e){return eD(e,this._week.dow,this._week.doy).week},tZ.firstDayOfYear=function(){return this._week.doy},tZ.firstDayOfWeek=function(){return this._week.dow},tZ.weekdays=function(e,t){var r=n(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?ex(r,this._week.dow):e?r[e.day()]:r},tZ.weekdaysMin=function(e){return!0===e?ex(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},tZ.weekdaysShort=function(e){return!0===e?ex(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},tZ.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return eG.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=u([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e)||n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},tZ.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysStrictRegex:this._weekdaysRegex:(o(this,"_weekdaysRegex")||(this._weekdaysRegex=ea),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},tZ.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysShortStrictRegex:this._weekdaysShortRegex:(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ea),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},tZ.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysMinStrictRegex:this._weekdaysMinRegex:(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ea),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},tZ.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},tZ.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ez("en",{eras:[{since:"0001-01-01",until:Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===eT(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),t.lang=_("moment.lang is deprecated. Use moment.locale instead.",ez),t.langData=_("moment.langData is deprecated. Use moment.localeData instead.",eq);var tz=Math.abs;function tJ(e,t,n,r){var o=tI(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function tq(e){return e<0?Math.floor(e):Math.ceil(e)}function tQ(e){return 4800*e/146097}function t0(e){return 146097*e/4800}function t1(e){return function(){return this.as(e)}}var t2=t1("ms"),t4=t1("s"),t6=t1("m"),t3=t1("h"),t8=t1("d"),t5=t1("w"),t7=t1("M"),t9=t1("Q"),ne=t1("y");function nt(e){return function(){return this.isValid()?this._data[e]:NaN}}var nn=nt("milliseconds"),nr=nt("seconds"),no=nt("minutes"),ni=nt("hours"),na=nt("days"),ns=nt("months"),nl=nt("years"),nE=Math.round,nc={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function nu(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}var nT=Math.abs;function nd(e){return(e>0)-(e<0)||+e}function nR(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,l=nT(this._milliseconds)/1e3,E=nT(this._days),c=nT(this._months),u=this.asSeconds();return u?(e=eu(l/60),t=eu(e/60),l%=60,e%=60,n=eu(c/12),c%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",o=u<0?"-":"",i=nd(this._months)!==nd(u)?"-":"",a=nd(this._days)!==nd(u)?"-":"",s=nd(this._milliseconds)!==nd(u)?"-":"",o+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(E?a+E+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var nf=tc.prototype;return nf.isValid=function(){return this._isValid},nf.abs=function(){var e=this._data;return this._milliseconds=tz(this._milliseconds),this._days=tz(this._days),this._months=tz(this._months),e.milliseconds=tz(e.milliseconds),e.seconds=tz(e.seconds),e.minutes=tz(e.minutes),e.hours=tz(e.hours),e.months=tz(e.months),e.years=tz(e.years),this},nf.add=function(e,t){return tJ(this,e,t,1)},nf.subtract=function(e,t){return tJ(this,e,t,-1)},nf.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=F(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+tQ(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(t0(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw Error("Unknown unit "+e)}},nf.asMilliseconds=t2,nf.asSeconds=t4,nf.asMinutes=t6,nf.asHours=t3,nf.asDays=t8,nf.asWeeks=t5,nf.asMonths=t7,nf.asQuarters=t9,nf.asYears=ne,nf.valueOf=t2,nf._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*tq(t0(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=eu(i/1e3),l.seconds=e%60,t=eu(e/60),l.minutes=t%60,n=eu(t/60),l.hours=n%24,a+=eu(n/24),s+=o=eu(tQ(a)),a-=tq(t0(o)),r=eu(s/12),s%=12,l.days=a,l.months=s,l.years=r,this},nf.clone=function(){return tI(this)},nf.get=function(e){return e=F(e),this.isValid()?this[e+"s"]():NaN},nf.milliseconds=nn,nf.seconds=nr,nf.minutes=no,nf.hours=ni,nf.days=na,nf.weeks=function(){return eu(this.days()/7)},nf.months=ns,nf.years=nl,nf.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o,i,a,s,l,E,c,u,T,d,R,f=!1,A=nc;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(f=e),"object"==typeof t&&(A=Object.assign({},nc,t),null!=t.s&&null==t.ss&&(A.ss=t.s-1)),d=this.localeData(),n=!f,r=A,i=nE((o=tI(this).abs()).as("s")),a=nE(o.as("m")),s=nE(o.as("h")),l=nE(o.as("d")),E=nE(o.as("M")),c=nE(o.as("w")),u=nE(o.as("y")),T=i<=r.ss&&["s",i]||i0,T[4]=d,R=nu.apply(null,T),f&&(R=d.pastFuture(+this,R)),d.postformat(R)},nf.toISOString=nR,nf.toString=nR,nf.toJSON=nR,nf.locale=tP,nf.localeData=tb,nf.toIsoString=_("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",nR),nf.lang=tM,U("X",0,0,"unix"),U("x",0,0,"valueOf"),eE("x",er),eE("X",/[+-]?\d+(\.\d{1,3})?/),eR("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),eR("x",function(e,t,n){n._d=new Date(eT(e))}),//! moment.js -t.version="2.30.1",B=ti,t.fn=t$,t.min=function(){var e=[].slice.call(arguments,0);return tl("isBefore",e)},t.max=function(){var e=[].slice.call(arguments,0);return tl("isAfter",e)},t.now=function(){return Date.now?Date.now():+new Date},t.utc=u,t.unix=function(e){return ti(1e3*e)},t.months=function(e,t){return tX(e,t,"months")},t.isDate=l,t.locale=ez,t.invalid=R,t.duration=tI,t.isMoment=I,t.weekdays=function(e,t,n){return tK(e,t,n,"weekdays")},t.parseZone=function(){return ti.apply(null,arguments).parseZone()},t.localeData=eq,t.isDuration=tu,t.monthsShort=function(e,t){return tX(e,t,"monthsShort")},t.weekdaysMin=function(e,t,n){return tK(e,t,n,"weekdaysMin")},t.defineLocale=eJ,t.updateLocale=function(e,t){if(null!=t){var n,r,o=eW;null!=eZ[e]&&null!=eZ[e].parentLocale?eZ[e].set(L(eZ[e]._config,t)):(null!=(r=eK(e))&&(o=r._config),t=L(o,t),null==r&&(t.abbr=e),(n=new v(t)).parentLocale=eZ[e],eZ[e]=n),ez(e)}else null!=eZ[e]&&(null!=eZ[e].parentLocale?(eZ[e]=eZ[e].parentLocale,e===ez()&&ez(e)):null!=eZ[e]&&delete eZ[e]);return eZ[e]},t.locales=function(){return k(eZ)},t.weekdaysShort=function(e,t,n){return tK(e,t,n,"weekdaysShort")},t.normalizeUnits=F,t.relativeTimeRounding=function(e){return void 0===e?nE:"function"==typeof e&&(nE=e,!0)},t.relativeTimeThreshold=function(e,t){return void 0!==nc[e]&&(void 0===t?nc[e]:(nc[e]=t,"s"===e&&(nc.ss=t-1),!0))},t.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},t.prototype=t$,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t}()},38334:function(e){var t;t=function(){function e(t,n,r){return this.id=++e.highestId,this.name=t,this.symbols=n,this.postprocess=r,this}function t(e,t,n,r){this.rule=e,this.dot=t,this.reference=n,this.data=[],this.wantedBy=r,this.isComplete=this.dot===e.symbols.length}function n(e,t){this.grammar=e,this.index=t,this.states=[],this.wants={},this.scannable=[],this.completed={}}function r(e,t){this.rules=e,this.start=t||this.rules[0].name;var n=this.byName={};this.rules.forEach(function(e){n.hasOwnProperty(e.name)||(n[e.name]=[]),n[e.name].push(e)})}function o(){this.reset("")}function i(e,t,i){if(e instanceof r)var a=e,i=t;else var a=r.fromCompiled(e,t);for(var s in this.grammar=a,this.options={keepHistory:!1,lexer:a.lexer||new o},i||{})this.options[s]=i[s];this.lexer=this.options.lexer,this.lexerState=void 0;var l=new n(a,0);this.table=[l],l.wants[a.start]=[],l.predict(a.start),l.process(),this.current=0}function a(e){var t=typeof e;if("string"===t)return e;if("object"===t){if(e.literal)return JSON.stringify(e.literal);if(e instanceof RegExp)return e.toString();if(e.type)return"%"+e.type;if(e.test)return"<"+String(e.test)+">";else throw Error("Unknown symbol type: "+e)}}return e.highestId=0,e.prototype.toString=function(e){var t=void 0===e?this.symbols.map(a).join(" "):this.symbols.slice(0,e).map(a).join(" ")+" ● "+this.symbols.slice(e).map(a).join(" ");return this.name+" → "+t},t.prototype.toString=function(){return"{"+this.rule.toString(this.dot)+"}, from: "+(this.reference||0)},t.prototype.nextState=function(e){var n=new t(this.rule,this.dot+1,this.reference,this.wantedBy);return n.left=this,n.right=e,n.isComplete&&(n.data=n.build(),n.right=void 0),n},t.prototype.build=function(){var e=[],t=this;do e.push(t.right.data),t=t.left;while(t.left);return e.reverse(),e},t.prototype.finish=function(){this.rule.postprocess&&(this.data=this.rule.postprocess(this.data,this.reference,i.fail))},n.prototype.process=function(e){for(var t=this.states,n=this.wants,r=this.completed,o=0;o0&&t.push(" ^ "+r+" more lines identical to this"),r=0,t.push(" "+a)),n=a}},i.prototype.getSymbolDisplay=function(e){return function(e){var t=typeof e;if("string"===t)return e;if("object"===t){if(e.literal)return JSON.stringify(e.literal);if(e instanceof RegExp)return"character matching "+e;if(e.type)return e.type+" token";if(e.test)return"token matching "+String(e.test);else throw Error("Unknown symbol type: "+e)}}(e)},i.prototype.buildFirstStateStack=function(e,t){if(-1!==t.indexOf(e))return null;if(0===e.wantedBy.length)return[e];var n=e.wantedBy[0],r=[e].concat(t),o=this.buildFirstStateStack(n,r);return null===o?null:[e].concat(o)},i.prototype.save=function(){var e=this.table[this.current];return e.lexerState=this.lexerState,e},i.prototype.restore=function(e){var t=e.index;this.current=t,this.table[t]=e,this.table.splice(t+1),this.lexerState=e.lexerState,this.results=this.finish()},i.prototype.rewind=function(e){if(!this.options.keepHistory)throw Error("set option `keepHistory` to enable rewinding");this.restore(this.table[e])},i.prototype.finish=function(){var e=[],t=this.grammar.start;return this.table[this.table.length-1].states.forEach(function(n){n.rule.name===t&&n.dot===n.rule.symbols.length&&0===n.reference&&n.data!==i.fail&&e.push(n)}),e.map(function(e){return e.data})},{Parser:i,Grammar:r,Rule:e}},e.exports?e.exports=t():this.nearley=t()},75299:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(64191)},4954:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(56564)}])},45277:function(e,t,n){"use strict";n.d(t,{R:function(){return u},p:function(){return c}});var r=n(96469),o=n(27623),i=n(7289),a=n(88506),s=n(16602),l=n(45875),E=n(38497);let c=(0,E.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),u=e=>{var t,n,u;let{children:T}=e,d=(0,l.useSearchParams)(),R=null!==(t=null==d?void 0:d.get("id"))&&void 0!==t?t:"",f=null!==(n=null==d?void 0:d.get("scene"))&&void 0!==n?n:"",A=null!==(u=null==d?void 0:d.get("db_param"))&&void 0!==u?u:"",[S,O]=(0,E.useState)(!1),[p,N]=(0,E.useState)(""),[I,h]=(0,E.useState)("chat_dashboard"!==f),[_,m]=(0,E.useState)(A),[C,g]=(0,E.useState)(""),[L,v]=(0,E.useState)([]),[y,P]=(0,E.useState)(),[M,b]=(0,E.useState)("light"),[D,U]=(0,E.useState)([]),[x,w]=(0,E.useState)({chat_scene:"",app_code:""}),{data:G=[]}=(0,s.Z)(async()=>{let[,e]=await (0,o.Vx)((0,o.Vw)());return null!=e?e:[]}),{run:F}=(0,s.Z)(async()=>{let[,e]=await (0,o.Vx)((0,o.WA)({role:"admin"}));return null!=e?e:[]},{onSuccess:e=>{U(e)},manual:!0});return(0,E.useEffect)(()=>{(0,i.n5)()&&F()},[F,(0,i.n5)()]),(0,E.useEffect)(()=>{b(function(){let e=localStorage.getItem(a.he);return e||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")}());try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");w(e)}catch(e){w({chat_scene:"",app_code:""})}},[]),(0,E.useEffect)(()=>{N(G[0])},[G,null==G?void 0:G.length]),(0,r.jsx)(c.Provider,{value:{isContract:S,isMenuExpand:I,scene:f,chatId:R,model:p,modelList:G,dbParam:_||A,agent:C,setAgent:g,mode:M,setMode:b,setModel:N,setIsContract:O,setIsMenuExpand:h,setDbParam:m,history:L,setHistory:v,docId:y,setDocId:P,currentDialogInfo:x,setCurrentDialogInfo:w,adminList:D},children:T})}},33573:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(83930),o=n(56841);r.ZP.use(o.Db).init({resources:{en:{translation:{chat_online:"chat Online",dialog_list:"Dialog List",delete_chat:"Delete Chat",delete_chat_confirm:"Are you sure you want to delete this chat?",input_tips:"Ask me anything, Shift + Enter newline",sent:"Sent",answer_again:"Answer again",feedback_tip:"Describe specific questions or better answers",thinking:"Thinking",stop_replying:"Stop replying",erase_memory:"Erase Memory",copy:"Copy",copy_nothing:"Content copied is empty",copy_success:"Copy success",copy_failed:"Copy failed",file_tip:"File cannot be changed after upload",assistant:"Platform Assistant",model_tip:"Model selection is not supported for the current application",temperature_tip:"The current application does not support temperature configuration",extend_tip:"Extended configuration is not supported for the current application",Knowledge_Space:"Knowledge",space:"space",Vector:"Vector",Owner:"Owner",Count:"Count",File_type_Invalid:"The file type is invalid",Knowledge_Space_Config:"Space Config",Choose_a_Datasource_type:"Datasource type",Segmentation:"Segmentation",No_parameter:"No segementation parameter required.",Knowledge_Space_Name:"Knowledge Space Name",Please_input_the_name:"Please input the name",Please_input_the_owner:"Please input the owner",Please_select_file:"Please select one file",Description:"Description",Storage:"Storage",Please_input_the_description:"Please input the description",Please_select_the_storage:"Please select the storage",Please_select_the_domain_type:"Please select the domain type",Next:"Next",the_name_can_only_contain:'the name can only contain numbers, letters, Chinese characters, "-" and "_"',Text:"Text","Fill your raw text":"Fill your raw text",URL:"URL",Fetch_the_content_of_a_URL:"Fetch the content of a URL",Document:"Document",Upload_a_document:"Upload a document, document type can be PDF, CSV, Text, PowerPoint, Word, Markdown, Zip",Name:"Name",Text_Source:"Text Source(Optional)",Please_input_the_text_source:"Please input the text source",Sync:"Sync",Back:"Back",Finish:"Finish",Web_Page_URL:"Web Page URL",Please_input_the_Web_Page_URL:"Please input the Web Page URL",Select_or_Drop_file:"Select or Drop file",Documents:"Documents",Chat:"Chat",Add_Datasource:"Add Datasource",View_Graph:"View Graph",Arguments:"Arguments",Type:"Type",Size:"Size",Last_Sync:"Last Sync",Status:"Status",Result:"Result",Details:"Details",Delete:"Delete",Operation:"Operation",Submit:"Submit",Chunks:"Chunks",Content:"Content",Meta_Data:"Meta Data",Please_select_a_file:"Please select a file",Please_input_the_text:"Please input the text",Embedding:"Embedding",topk:"topk",the_top_k_vectors:"the top k vectors based on similarity score",recall_score:"recall_score",Set_a_threshold_score:"Set a threshold score for the retrieval of similar vectors",recall_type:"recall_type",model:"model",A_model_used:"A model used to create vector representations of text or other data",Automatic:"Automatic",Process:"Process",Automatic_desc:"Automatically set segmentation and preprocessing rules.",chunk_size:"chunk_size",The_size_of_the_data_chunks:"The size of the data chunks used in processing",chunk_overlap:"chunk_overlap",The_amount_of_overlap:"The amount of overlap between adjacent data chunks",Prompt:"Prompt",scene:"scene",A_contextual_parameter:"A contextual parameter used to define the setting or environment in which the prompt is being used",template:"template",structure_or_format:"A pre-defined structure or format for the prompt, which can help ensure that the AI system generates responses that are consistent with the desired style or tone.",max_token:"max_token",max_iteration:"max_iteration",concurrency_limit:"concurrency_limit",The_maximum_number_of_tokens:"The maximum number of tokens or words allowed in a prompt",Theme:"Theme",Port:"Port",Username:"Username",Password:"Password",Remark:"Remark",Edit:"Edit",Database:"Database",Data_Source:"Data Center",Close_Sidebar:"Fold",Show_Sidebar:"UnFold",language:"Language",choose_model:"Please choose a model",data_center_desc:"DB-GPT also offers a user-friendly data center management interface for efficient data maintenance.",create_database:"Create Database",create_knowledge:"Create Knowledge",path:"Path",model_manage:"Models",stop_model_success:"Stop model success",create_model:"Create Model",model_select_tips:"Please select a model",language_select_tips:"Please select a language",submit:"Submit",close:"Close",start_model_success:"Start model success",download_model_tip:"Please download model first.",Plugins:"Plugins",try_again:"Try again",no_data:"No data",Open_Sidebar:"Unfold",verify:"Verify",cancel:"Cancel",Edit_Success:"Edit Success",Add:"Add",Add_Success:"Add Success",Error_Message:"Something Error",Please_Input:"Please Input",Prompt_Info_Scene:"Scene",Prompt_Info_Sub_Scene:"Sub Scene",Prompt_Info_Name:"Name",Prompt_Info_Content:"Content",Public:"Public",Private:"Private",Lowest:"Lowest",Missed:"Missed",Lost:"Lost",Incorrect:"Incorrect",Verbose:"Verbose",Best:"Best",Rating:"Rating",Q_A_Category:"Q&A Category",Q_A_Rating:"Q&A Rating",feed_back_desc:"0: No results\n1: Results exist, but they are irrelevant, the question is not understood\n2: Results exist, the question is understood, but it indicates that the question cannot be answered\n3: Results exist, the question is understood, and an answer is given, but the answer is incorrect\n4: Results exist, the question is understood, the answer is correct, but it is verbose and lacks a summary\n5: Results exist, the question is understood, the answer is correct, the reasoning is correct, and a summary is provided, concise and to the point\n",input_count:"Total input",input_unit:"characters",Click_Select:"Click&Select",Quick_Start:"Quick Start",Select_Plugins:"Select Plugins",Search:"Search",Update_From_Github:"Upload From Github",Reset:"Reset",Upload:"Upload",Market_Plugins:"Market Plugin",My_Plugins:"My Plugins",Del_Knowledge_Tips:"Do you want delete the Space",Del_Document_Tips:"Do you want delete the Document",Tips:"Tips",Limit_Upload_File_Count_Tips:"Only one file can be uploaded at a time",To_Plugin_Market:"Go to the Plugin Market",Summary:"Summary",stacked_column_chart:"Stacked Column",column_chart:"Column",percent_stacked_column_chart:"Percent Stacked Column",grouped_column_chart:"Grouped Column",time_column:"Time Column",pie_chart:"Pie",line_chart:"Line",area_chart:"Area",stacked_area_chart:"Stacked Area",scatter_plot:"Scatter",bubble_chart:"Bubble",stacked_bar_chart:"Stacked Bar",bar_chart:"Bar",percent_stacked_bar_chart:"Percent Stacked Bar",grouped_bar_chart:"Grouped Bar",water_fall_chart:"Waterfall",table:"Table",multi_line_chart:"Multi Line",multi_measure_column_chart:"Multi Measure Column",multi_measure_line_chart:"Multi Measure Line",Advices:"Advices",Retry:"Retry",Load_more:"load more",new_chat:"New Chat",choice_agent_tip:"Please choose an agent",no_context_tip:"Please enter your question",Terminal:"Terminal",used_apps:"Used Apps",app_in_mind:"Don't have an app in mind? to",explore:"Explore",Discover_more:"Discove more",sdk_insert:"SDK Insert",my_apps:"My Apps",awel_flow:"AWEL Flow",save:"Save",add_node:"Add Node",no_node:"No Node",connect_warning:"Nodes cannot be connected",flow_modal_title:"Save Flow",flow_name:"Flow Name",flow_description:"Flow Description",flow_name_required:"Please enter the flow name",flow_description_required:"Please enter the flow description",save_flow_success:"Save flow success",delete_flow_confirm:"Are you sure you want to delete this flow?",related_nodes:"Related Nodes",add_resource:"Add Resource",team_modal:"Work Modal",App:"App",resource_name:"Resource Name",resource_type:"Resource Type",resource_value:"Value",resource_dynamic:"Dynamic",Please_input_the_work_modal:"Please select the work modal",available_resources:" Available Resources",edit_new_applications:"Edit new applications",collect:"Collect",collected:"Collected",create:"Create",Agents:"Agents",edit_application:"edit application",add_application:"add application",app_name:"App Name",input_app_name:"Please enter the application name",LLM_strategy:"LLM Strategy",LLM_strategy_value:"LLM Strategy Value",please_select_LLM_strategy:"Please select LLM strategy",please_select_LLM_strategy_value:"Please select LLM strategy value",resource:"Resource",operators:"Operators",Chinese:"Chinese",English:"English",docs:"Docs",apps:"All Apps",please_enter_the_keywords:"Please enter the keywords",input_tip:"Please select the model and enter the description to start quickly",create_app:"Create App",copy_url:"Click the Copy Share link",double_click_open:"Double click on Nail nail to open",construct:" Construct App",chat_online:"Chat",recommend_apps:"Recommend",all_apps:"All",latest_apps:"Latest",my_collected_apps:"Collected",collect_success:"Collect success",cancel_success:"Cancel success",published:"Published",unpublished:"Unpublished",start_chat:"Chat",native_app:"Native app",temperature:"Temperature",create_flow:"Create flow",update:"Update",native_type:"App type",refreshSuccess:"Refresh Success",Download:"Download",app_type_select:"Please select app type",please_select_param:"Please select parameters",please_select_model:"Please select model",please_input_temperature:"Please input the temperature value",select_workflow:"Select workflow",please_select_workflow:"Please select workflow",recommended_questions:"Recommended questions",question:"Question",please_input_recommended_questions:"Please input recommendation question",is_effective:"Whether to enable",add_question:"Add question",update_success:"Update successful",update_failed:"Update failed",please_select_prompt:"Please select a prompt",details:"Details",choose:"Choose",please_choose:"Please choose",want_delete:"Are you sure delete it?",success:"Success",input_parameter:"Input parameter",output_structure:"Output structure",User_input:"User input",LLM_test:"LLM test",Output_verification:"Output verification",select_scene:"Please select a scene",select_type:"Please select a type",Please_complete_the_input_parameters:"Please complete the input parameters",Please_fill_in_the_user_input:"Please fill in the user input",help:"I can help you:",Refresh_status:"Refresh status",Recall_test:"Recall test",synchronization:"One-key synchronization",Synchronization_initiated:"Synchronization has been initiated, please wait",Edit_document:"Edit document",Document_name:"Document name",Correlation_problem:"Correlation problem",Add_problem:"Add problem",New_knowledge_base:"New knowledge base",yuque:"yuque document",Get_yuque_document:"Get the contents of the Sparrow document",document_url:"Document address",input_document_url:"Please enter the document address",Get_token:"Please obtain the team knowledge base token first",Reference_link:"Reference link",document_token:"Document token",input_document_token:"Please enter document token",input_question:"Please enter a question",detail:"Detail",Manual_entry:"Manual entry",Data_content:"Data content",Main_content:"Main content",Auxiliary_data:"Auxiliary data",enter_question_first:"Please enter the question first",unpublish:"Unpublish",publish:"Publish",Update_successfully:"Update successfully",Create_successfully:"Create successfully",Update_failure:"Update failure",Create_failure:"Create failure",View_details:"View details",All:"All",Please_input_prompt_name:"Please input prompt name"}},zh:{translation:{Knowledge_Space:"知识库",space:"知识库",Vector:"向量",Owner:"创建人",Count:"文档数",File_type_Invalid:"文件类型错误",Knowledge_Space_Config:"知识库配置",Choose_a_Datasource_type:"知识库类型",Segmentation:"分片",No_parameter:"不需要配置分片参数",Knowledge_Space_Name:"知识库名称",Please_input_the_name:"请输入名称",Please_input_the_owner:"请输入创建人",Please_select_file:"请至少选择一个文件",Description:"描述",Storage:"存储类型",Please_input_the_description:"请输入描述",Please_select_the_storage:"请选择存储类型",Please_select_the_domain_type:"请选择领域类型",Next:"下一步",the_name_can_only_contain:"名称只能包含数字、字母、中文字符、-或_",Text:"文本","Fill your raw text":"填写您的原始文本",URL:"网址",Fetch_the_content_of_a_URL:"获取 URL 的内容",Document:"文档",Upload_a_document:"上传文档,文档类型可以是PDF、CSV、Text、PowerPoint、Word、Markdown、Zip",Name:"名称",Text_Source:"文本来源(可选)",Please_input_the_text_source:"请输入文本来源",Sync:"同步",Back:"上一步",Finish:"完成",Web_Page_URL:"网页网址",Please_input_the_Web_Page_URL:"请输入网页网址",Select_or_Drop_file:"选择或拖拽文件",Documents:"文档",Chat:"对话",Add_Datasource:"添加数据源",View_Graph:"查看图谱",Arguments:"参数",Type:"类型",Size:"切片",Last_Sync:"上次同步时间",Status:"状态",Result:"结果",Details:"明细",Delete:"删除",Operation:"操作",Submit:"提交",close:"关闭",Chunks:"切片",Content:"内容",Meta_Data:"元数据",Please_select_a_file:"请上传一个文件",Please_input_the_text:"请输入文本",Embedding:"嵌入",topk:"TopK",the_top_k_vectors:"基于相似度得分的前 k 个向量",recall_score:"召回分数",Set_a_threshold_score:"设置相似向量检索的阈值分数",recall_type:"召回类型",model:"模型",A_model_used:"用于创建文本或其他数据的矢量表示的模型",Automatic:"自动切片",Process:"切片处理",Automatic_desc:"自动设置分割和预处理规则。",chunk_size:"块大小",The_size_of_the_data_chunks:"处理中使用的数据块的大小",chunk_overlap:"块重叠",The_amount_of_overlap:"相邻数据块之间的重叠量",scene:"场景",A_contextual_parameter:"用于定义使用提示的设置或环境的上下文参数",template:"模板",structure_or_format:"预定义的提示结构或格式,有助于确保人工智能系统生成与所需风格或语气一致的响应。",max_token:"最大令牌",max_iteration:"最大迭代",concurrency_limit:"并发限制",The_maximum_number_of_tokens:"提示中允许的最大标记或单词数",Theme:"主题",Port:"端口",Username:"用户名",Password:"密码",Remark:"备注",Edit:"编辑",Database:"数据库",Data_Source:"数据中心",Close_Sidebar:"收起",Show_Sidebar:"展开",language:"语言",choose_model:"请选择一个模型",data_center_desc:"DB-GPT支持数据库交互和基于文档的对话,它还提供了一个用户友好的数据中心管理界面。",create_database:"创建数据库",create_knowledge:"创建知识库",create_flow:"创建工作流",path:"路径",model_manage:"模型管理",stop_model_success:"模型停止成功",create_model:"创建模型",model_select_tips:"请选择一个模型",submit:"提交",start_model_success:"启动模型成功",download_model_tip:"请先下载模型!",Plugins:"插件列表",try_again:"刷新重试",no_data:"暂无数据",Prompt:"提示词",Open_Sidebar:"展开",verify:"确认",cancel:"取消",Edit_Success:"编辑成功",Add:"新增",Add_Success:"新增成功",Error_Message:"出错了",Please_Input:"请输入",Prompt_Info_Scene:"场景",Prompt_Info_Sub_Scene:"次级场景",Prompt_Info_Name:"名称",Prompt_Info_Content:"内容",Public:"公共",Private:"私有",Lowest:"渣渣",Missed:"没理解",Lost:"答不了",Incorrect:"答错了",Verbose:"较啰嗦",Best:"真棒",Rating:"评分",Q_A_Category:"问答类别",Q_A_Rating:"问答评分",feed_back_desc:"0: 无结果\n1: 有结果,但是在文不对题,没有理解问题\n2: 有结果,理解了问题,但是提示回答不了这个问题\n3: 有结果,理解了问题,并做出回答,但是回答的结果错误\n4: 有结果,理解了问题,回答结果正确,但是比较啰嗦,缺乏总结\n5: 有结果,理解了问题,回答结果正确,推理正确,并给出了总结,言简意赅\n",input_count:"共计输入",input_unit:"字",Click_Select:"点击选择",Quick_Start:"快速开始",Select_Plugins:"选择插件",Search:"搜索",Reset:"重置",Update_From_Github:"更新Github插件",Upload:"上传",Market_Plugins:"插件市场",My_Plugins:"我的插件",Del_Knowledge_Tips:"你确定删除该知识库吗",Del_Document_Tips:"你确定删除该文档吗",Tips:"提示",Limit_Upload_File_Count_Tips:"一次只能上传一个文件",To_Plugin_Market:"前往插件市场",Summary:"总结",stacked_column_chart:"堆叠柱状图",column_chart:"柱状图",percent_stacked_column_chart:"百分比堆叠柱状图",grouped_column_chart:"簇形柱状图",time_column:"簇形柱状图",pie_chart:"饼图",line_chart:"折线图",area_chart:"面积图",stacked_area_chart:"堆叠面积图",scatter_plot:"散点图",bubble_chart:"气泡图",stacked_bar_chart:"堆叠条形图",bar_chart:"条形图",percent_stacked_bar_chart:"百分比堆叠条形图",grouped_bar_chart:"簇形条形图",water_fall_chart:"瀑布图",table:"表格",multi_line_chart:"多折线图",multi_measure_column_chart:"多指标柱形图",multi_measure_line_chart:"多指标折线图",Advices:"自动推荐",Retry:"重试",Load_more:"加载更多",new_chat:"创建会话",choice_agent_tip:"请选择代理",no_context_tip:"请输入你的问题",Terminal:"终端",used_apps:"最近使用",app_in_mind:"没有心仪的应用?去",explore:"探索广场",Discover_more:"发现更多",sdk_insert:"SDK接入",my_apps:"我的应用",awel_flow:"AWEL 工作流",save:"保存",add_node:"添加节点",no_node:"没有可编排节点",connect_warning:"节点无法连接",flow_modal_title:"保存工作流",flow_name:"工作流名称",flow_description:"工作流描述",flow_name_required:"请输入工作流名称",flow_description_required:"请输入工作流描述",save_flow_success:"保存工作流成功",delete_flow_confirm:"确定删除该工作流吗?",related_nodes:"关联节点",language_select_tips:"请选择语言",add_resource:"添加资源",team_modal:"工作模式",App:"应用程序",resource:"资源",resource_name:"资源名",resource_type:"资源类型",resource_value:"参数",resource_dynamic:"动态",Please_input_the_work_modal:"请选择工作模式",available_resources:"可用资源",edit_new_applications:"编辑新的应用",collect:"收藏",collected:"已收藏",create:"创建",Agents:"智能体",edit_application:"编辑应用",add_application:"添加应用",app_name:"应用名称",input_app_name:"请输入应用名称",LLM_strategy:"模型策略",please_select_LLM_strategy:"请选择模型策略",LLM_strategy_value:"模型策略参数",please_select_LLM_strategy_value:"请选择模型策略参数",operators:"算子",Chinese:"中文",English:"英文",docs:"文档",apps:"全部",please_enter_the_keywords:"请输入关键词",input_tip:"请选择模型,输入描述快速开始",create_app:"创建应用",copy_url:"单击复制分享链接",double_click_open:"双击钉钉打开",construct:"应用管理",chat_online:"在线对话",recommend_apps:"热门推荐",all_apps:"全部应用",latest_apps:"最新应用",my_collected_apps:"我的收藏",collect_success:"收藏成功",cancel_success:"取消成功",published:"已发布",unpublished:"未发布",start_chat:"开始对话",native_app:"原生应用",native_type:"应用类型",temperature:"温度",update:"更新",refreshSuccess:"刷新成功",Download:"下载",app_type_select:"请选择应用类型",please_select_param:"请选择参数",please_select_model:"请选择模型",please_input_temperature:"请输入temperature值",select_workflow:"选择工作流",please_select_workflow:"请选择工作流",recommended_questions:"推荐问题",question:"问题",please_input_recommended_questions:"请输入推荐问题",is_effective:"是否生效",add_question:"添加问题",update_success:"更新成功",update_failed:"更新失败",please_select_prompt:"请选择一个提示词",details:"详情",choose:"选择",please_choose:"请先选择",want_delete:"你确定要删除吗?",success:"成功",input_parameter:"输入参数",output_structure:"输出结构",User_input:"用户输入",LLM_test:"LLM测试",Output_verification:"输出验证",select_scene:"请选择场景",select_type:"请选择类型",Please_complete_the_input_parameters:"请填写完整的输入参数",Please_fill_in_the_user_input:"请填写用户输入内容",help:"我可以帮您:",Refresh_status:"刷新状态",Recall_test:"召回测试",synchronization:"一键同步",Synchronization_initiated:"同步已发起,请稍后",Edit_document:"编辑文档",Document_name:"文档名",Correlation_problem:"关联问题",Add_problem:"添加问题",New_knowledge_base:"新增知识库",yuque:"语雀文档",Get_yuque_document:"获取语雀文档的内容",document_url:"文档地址",input_document_url:"请输入文档地址",Get_token:"请先获取团队知识库token,token获取",Reference_link:"参考链接",document_token:"文档token",input_document_token:"请输入文档token",input_question:"请输入问题",detail:"详情",Manual_entry:"手动录入",Data_content:"数据内容",Main_content:"主要内容",Auxiliary_data:"辅助数据",enter_question_first:"请先输入问题",unpublish:"取消发布",publish:"发布应用",Update_successfully:"更新成功",Create_successfully:"创建成功",Update_failure:"更新失败",Create_failure:"创建失败",View_details:"查看详情",All:"全部",Please_input_prompt_name:"请输入prompt名称",dialog_list:"对话列表",delete_chat:"删除会话",delete_chat_confirm:"您确认要删除会话吗?",input_tips:"可以问我任何问题,shift + Enter 换行",sent:"发送",answer_again:"重新回答",feedback_tip:"描述一下具体问题或更优的答案",thinking:"正在思考中",stop_replying:"停止回复",erase_memory:"清除记忆",copy:"复制",copy_success:"复制成功",copy_failed:"复制失败",copy_nothing:"内容复制为空",file_tip:"文件上传后无法更改",chat_online:"在线对话",assistant:"平台小助手",model_tip:"当前应用暂不支持模型选择",temperature_tip:"当前应用暂不支持温度配置",extend_tip:"当前应用暂不支持拓展配置"}}},lng:"en",interpolation:{escapeValue:!1}});var i=r.ZP},5381:function(e,t,n){"use strict";n.d(t,{A:function(){return o},Ir:function(){return s},Jr:function(){return i},Ty:function(){return l},zx:function(){return a}});var r=n(27623);let o=e=>(0,r.HT)("/api/v1/question/list",e),i=()=>(0,r.HT)("/api/v1/conv/feedback/reasons"),a=e=>(0,r.a4)("/api/v1/conv/feedback/add",e),s=e=>(0,r.a4)("/api/v1/conv/feedback/cancel",e),l=e=>(0,r.a4)("/api/v1/chat/topic/terminate?conv_id=".concat(e.conv_id,"&round_index=").concat(e.round_index),e)},27623:function(e,t,n){"use strict";n.d(t,{yY:function(){return tp},HT:function(){return tA},a4:function(){return tS},uO:function(){return tO},L5:function(){return ew},H_:function(){return Z},zd:function(){return ef},Jm:function(){return eC},Hy:function(){return e4},be:function(){return j},TT:function(){return eX},Vx:function(){return m},Ir:function(){return eD.Ir},fU:function(){return eQ},zR:function(){return H},mo:function(){return eN},kg:function(){return tu},Nl:function(){return eM},$E:function(){return tr},MX:function(){return B},n3:function(){return Q},Wd:function(){return ta},XK:function(){return ee},Jq:function(){return eO},$j:function(){return e3},zX:function(){return to},XI:function(){return ti},k7:function(){return eK},zx:function(){return eD.zx},j8:function(){return eH},GQ:function(){return eW},BN:function(){return eg},yk:function(){return eF},Vd:function(){return eB},m9:function(){return eV},Tu:function(){return Y},Eb:function(){return ed},Lu:function(){return eT},$i:function(){return G},gV:function(){return q},iZ:function(){return X},a$:function(){return e9},Bw:function(){return L},t$:function(){return v},H4:function(){return eu},iP:function(){return U},_Q:function(){return $},Wm:function(){return ts},Jr:function(){return eD.Jr},_d:function(){return eA},As:function(){return ep},Wf:function(){return e$},FT:function(){return W},Kt:function(){return tl},fZ:function(){return et},tM:function(){return ek},xA:function(){return e8},RX:function(){return eY},Q5:function(){return eh},mB:function(){return eb},Vm:function(){return V},B3:function(){return tc},bf:function(){return eL},xv:function(){return eo},lz:function(){return ex},Vw:function(){return x},Gn:function(){return e5},U2:function(){return ey},sW:function(){return g},DM:function(){return ea},v6:function(){return el},N6:function(){return es},bC:function(){return ei},YU:function(){return eE},Kn:function(){return ec},VC:function(){return eR},qn:function(){return F},vD:function(){return w},b_:function(){return M},J5:function(){return y},mR:function(){return P},yx:function(){return D},KS:function(){return b},CU:function(){return C},GU:function(){return e2},pm:function(){return e1},b1:function(){return e_},WA:function(){return e0},UO:function(){return eJ},Y2:function(){return eq},Pg:function(){return ez},mW:function(){return ev},iH:function(){return k},ey:function(){return ej},YK:function(){return tE},vA:function(){return er},kU:function(){return en},Ty:function(){return eD.Ty},KL:function(){return z},Hx:function(){return K},gD:function(){return eI},Fq:function(){return em},KT:function(){return eG},p$:function(){return eZ},w_:function(){return tT},jt:function(){return eU},ao:function(){return eS},Yp:function(){return eP},Fu:function(){return e6},Xx:function(){return te},h:function(){return tt},L$:function(){return tn},iG:function(){return J}});var r,o=n(7289),i=n(88506),a=n(81366);let{Axios:s,AxiosError:l,CanceledError:E,isCancel:c,CancelToken:u,VERSION:T,all:d,Cancel:R,isAxiosError:f,spread:A,toFormData:S,AxiosHeaders:O,HttpStatusCode:p,formToJSON:N,getAdapter:I,mergeConfig:h}=a.default;var _=n(67661);let m=(e,t)=>e.then(e=>{let{data:n}=e;if(!n)throw Error("Network Error!");if(!n.success){if("*"===t||n.err_code&&t&&t.includes(n.err_code));else{var r;_.ZP.error({message:"Request error",description:null!==(r=null==n?void 0:n.err_msg)&&void 0!==r?r:"The interface is abnormal. Please try again later"})}}return[null,n.data,n,e]}).catch(e=>{let t=e.message;if(e instanceof l)try{let{err_msg:n}=JSON.parse(e.request.response);n&&(t=n)}catch(e){}return _.ZP.error({message:"Request error",description:t}),[e,null,null,null]}),C=()=>tS("/api/v1/chat/dialogue/scenes"),g=e=>tS("/api/v1/chat/dialogue/new?chat_mode=".concat(e.chat_mode,"&model_name=").concat(e.model),e),L=()=>tA("/api/v1/chat/db/list"),v=()=>tA("/api/v1/chat/db/support/type"),y=e=>tS("/api/v1/chat/db/delete?db_name=".concat(e)),P=e=>tS("/api/v1/chat/db/edit",e),M=e=>tS("/api/v1/chat/db/add",e),b=e=>tS("/api/v1/chat/db/test/connect",e),D=e=>tS("/api/v1/chat/db/refresh",e),U=()=>tA("/api/v1/chat/dialogue/list"),x=()=>tA("/api/v1/model/types"),w=e=>tS("/api/v1/chat/mode/params/list?chat_mode=".concat(e)),G=e=>tA("/api/v1/chat/dialogue/messages/history?con_uid=".concat(e)),F=e=>{let{convUid:t,chatMode:n,data:r,config:o,model:i,userName:a,sysCode:s}=e;return tS("/api/v1/resource/file/upload?conv_uid=".concat(t,"&chat_mode=").concat(n,"&model_name=").concat(i,"&user_name=").concat(a,"&sys_code=").concat(s),r,{headers:{"Content-Type":"multipart/form-data"},...o})},H=e=>tS("/api/v1/chat/dialogue/clear?con_uid=".concat(e)),B=e=>tS("/api/v1/chat/dialogue/delete?con_uid=".concat(e)),Y=e=>tS("/knowledge/".concat(e,"/arguments"),{}),k=(e,t)=>tS("/knowledge/".concat(e,"/argument/save"),t),V=e=>tS("/knowledge/space/list",e),$=(e,t)=>tS("/knowledge/".concat(e,"/document/list"),t),W=(e,t)=>tS("/knowledge/".concat(e,"/graphvis"),t),Z=(e,t)=>tS("/knowledge/".concat(e,"/document/add"),t),j=e=>tS("/knowledge/space/add",e),X=()=>tA("/knowledge/document/chunkstrategies"),K=(e,t)=>tS("/knowledge/".concat(e,"/document/sync"),t),z=(e,t)=>tS("/knowledge/".concat(e,"/document/sync_batch"),t),J=(e,t)=>tS("/knowledge/".concat(e,"/document/upload"),t),q=(e,t)=>tS("/knowledge/".concat(e,"/chunk/list"),t),Q=(e,t)=>tS("/knowledge/".concat(e,"/document/delete"),t),ee=e=>tS("/knowledge/space/delete",e),et=()=>tA("/api/v1/worker/model/list"),en=e=>tS("/api/v1/worker/model/stop",e),er=e=>tS("/api/v1/worker/model/start",e),eo=()=>tA("/api/v1/worker/model/params"),ei=e=>tS("/api/v1/agent/query",e),ea=e=>tS("/api/v1/agent/hub/update",null!=e?e:{channel:"",url:"",branch:"",authorization:""}),es=e=>tS("/api/v1/agent/my",void 0,{params:{user:e}}),el=(e,t)=>tS("/api/v1/agent/install",void 0,{params:{plugin_name:e,user:t},timeout:6e4}),eE=(e,t)=>tS("/api/v1/agent/uninstall",void 0,{params:{plugin_name:e,user:t},timeout:6e4}),ec=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return tS("/api/v1/personal/agent/upload",t,{params:{user:e},headers:{"Content-Type":"multipart/form-data"},...n})},eu=()=>tA("/api/v1/dbgpts/list"),eT=()=>tA("/api/v1/feedback/select",void 0),ed=(e,t)=>tA("/api/v1/feedback/find?conv_uid=".concat(e,"&conv_index=").concat(t),void 0),eR=e=>{let{data:t,config:n}=e;return tS("/api/v1/feedback/commit",t,{headers:{"Content-Type":"application/json"},...n})},ef=e=>tS("/api/v1/serve/awel/flows",e),eA=e=>tA("/api/v1/serve/awel/flows/".concat(e)),eS=(e,t)=>tO("/api/v1/serve/awel/flows/".concat(e),t),eO=e=>tp("/api/v1/serve/awel/flows/".concat(e)),ep=()=>tA("/api/v1/serve/awel/nodes"),eN=e=>tS("/api/v1/app/collect",e),eI=e=>tS("/api/v1/app/uncollect",e),eh=()=>tA("/api/v1/resource-type/list"),e_=e=>tS("/api/v1/app/publish",{app_code:e}),em=e=>tS("/api/v1/app/unpublish",{app_code:e}),eC=e=>tS("/api/v1/chat/db/add",e),eg=e=>tA("/api/v1/app/info",e),eL=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return tA("/api/v1/permission/db/list?db_name=".concat(e))},ev=e=>tS("/api/v1/app/hot/list",e),ey=e=>tS("/api/controller/models",e),eP=e=>tS("/knowledge/users/update",e),eM=e=>tS("/api/v1/app/remove",e),eb=()=>tA("/knowledge/space/config");var eD=n(5381);let eU=e=>tS("/api/v1/serve/awel/flow/admins",e),ex=()=>tA("/api/v1/team-mode/list"),ew=e=>tS("/api/v1/app/create",e),eG=e=>tS("/api/v1/app/edit",e),eF=e=>tS("/api/v1/app/list",e),eH=()=>tA("/api/v1/agents/list",{}),eB=()=>tA("/api/v1/llm-strategy/list"),eY=e=>tA("/api/v1/app/resources/list?type=".concat(e.type)),ek=()=>tA("/api/v1/native_scenes"),eV=e=>tA("/api/v1/llm-strategy/value/list?type=".concat(e)),e$=e=>{let{page:t,page_size:n}=e;return tA("/api/v1/serve/awel/flows?page=".concat(t,"&page_size=").concat(n))},eW=e=>tA("/api/v1/app/".concat(e,"/admins")),eZ=e=>tS("/api/v1/app/admins/update",e),ej=(e,t)=>tS("/knowledge/".concat(e,"/document/list"),t),eX=e=>tS("/knowledge/".concat(e.space_name,"/document/yuque/add"),e),eK=(e,t)=>tS("/knowledge/".concat(e,"/document/edit"),t),ez=e=>tA("/knowledge/".concat(e,"/recommend_questions")),eJ=e=>tA("/knowledge/".concat(e,"/recall_retrievers")),eq=(e,t)=>tS("/knowledge/".concat(t,"/recall_test"),e),eQ=e=>tS("/knowledge/questions/chunk/edit",e),e0=e=>[],e1=e=>tA("/prompt/type/targets?prompt_type=".concat(e)),e2=e=>tS("/prompt/template/load?prompt_type=".concat(e.prompt_type,"&target=").concat(e.target),e),e4=e=>tS("/prompt/add",e),e6=e=>tS("/prompt/update",e),e3=e=>tS("/prompt/delete",e),e8=e=>tS("/prompt/query_page?page=".concat(e.page,"&page_size=").concat(e.page_size),e),e5=e=>tS("/prompt/response/verify",e),e7=(0,o.n5)(),e9=e=>tA("/api/v1/evaluate/datasets",e,{headers:{"user-id":e7}}),te=e=>tS("/api/v1/evaluate/dataset/upload",e,{headers:{"user-id":e7,"Content-Type":"multipart/form-data"}}),tt=e=>tS("/api/v1/evaluate/dataset/upload/content",e,{headers:{"user-id":e7}}),tn=e=>tS("/api/v1/evaluate/dataset/upload/file",e,{headers:{"user-id":e7,"Content-Type":"multipart/form-data"}}),tr=e=>tp("/api/v1/evaluate/dataset",e,{headers:{"user-id":e7}}),to=e=>tA("/api/v1/evaluate/dataset/download",e,{headers:{"user-id":e7,"Content-Type":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},responseType:"blob"}),ti=e=>tA("/api/v1/evaluate/evaluation/result/download",e,{headers:{"user-id":e7,"Content-Type":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},responseType:"blob"}),ta=e=>tp("/api/v1/evaluate/evaluation",e,{headers:{"user-id":e7}}),ts=e=>tA("/api/v1/evaluate/evaluations",e,{headers:{"user-id":e7}}),tl=e=>tA("/api/v1/evaluate/metrics",e,{headers:{"user-id":e7}}),tE=e=>tA("/api/v1/evaluate/evaluation/detail/show",e,{headers:{"user-id":e7}}),tc=()=>tA("/api/v1/evaluate/storage/types",void 0,{headers:{"user-id":e7}}),tu=e=>tS("/api/v1/evaluate/start",e,{headers:{"user-id":e7}}),tT=e=>tS("/api/v1/evaluate/dataset/members/update",e,{headers:{"user-id":e7}});var td=n(75299);let tR=a.default.create({baseURL:null!==(r=td.env.API_BASE_URL)&&void 0!==r?r:""}),tf=["/db/add","/db/test/connect","/db/summary","/params/file/load","/chat/prepare","/model/start","/model/stop","/editor/sql/run","/sql/editor/submit","/editor/chart/run","/chart/editor/submit","/document/upload","/document/sync","/agent/install","/agent/uninstall","/personal/agent/upload"];tR.interceptors.request.use(e=>{let t=tf.some(t=>e.url&&e.url.indexOf(t)>=0);return e.timeout||(e.timeout=t?6e4:1e5),e.headers.set(i.gp,(0,o.n5)()),e});let tA=(e,t,n)=>tR.get(e,{params:t,...n}),tS=(e,t,n)=>tR.post(e,t,n),tO=(e,t,n)=>tR.put(e,t,n),tp=(e,t,n)=>tR.delete(e,{params:t,...n})},86560:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(96469);function o(){return(0,r.jsx)("svg",{className:"mr-1",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6058",width:"1.5em",height:"1.5em",children:(0,r.jsx)("path",{d:"M688 312c0 4.4-3.6 8-8 8H296c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48z m-392 88h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H296c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8z m376 116c119.3 0 216 96.7 216 216s-96.7 216-216 216-216-96.7-216-216 96.7-216 216-216z m107.5 323.5C808.2 810.8 824 772.6 824 732s-15.8-78.8-44.5-107.5S712.6 580 672 580s-78.8 15.8-107.5 44.5S520 691.4 520 732s15.8 78.8 44.5 107.5S631.4 884 672 884s78.8-15.8 107.5-44.5zM440 852c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H168c-17.7 0-32-14.3-32-32V108c0-17.7 14.3-32 32-32h640c17.7 0 32 14.3 32 32v384c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8V148H208v704h232z m232-76.06l-20.56 28.43c-1.5 2.1-3.9 3.3-6.5 3.3h-44.3c-6.5 0-10.3-7.4-6.4-12.7l45.75-63.3-45.75-63.3c-3.9-5.3-0.1-12.7 6.4-12.7h44.3c2.6 0 5 1.2 6.5 3.3L672 687.4l20.56-28.43c1.5-2.1 3.9-3.3 6.5-3.3h44.3c6.5 0 10.3 7.4 6.4 12.7l-45.75 63.3 45.75 63.3c3.9 5.3 0.1 12.7-6.4 12.7h-44.3c-2.6 0-5-1.2-6.5-3.3L672 775.94z",fill:"#d81e06","p-id":"6059"})})}n(38497)},67901:function(e,t,n){"use strict";n.d(t,{O7:function(){return c},RD:function(){return a},In:function(){return o},zM:function(){return i},je:function(){return s},DL:function(){return l},si:function(){return E},FD:function(){return u},qw:function(){return p},s2:function(){return f},FE:function(){return N.Z},Rp:function(){return A},IN:function(){return T},tu:function(){return S},ig:function(){return d},ol:function(){return R},bn:function(){return O}});var r=n(96469),o=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1116 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1581",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M80.75 80.75m67.14674945 0l805.76099677 0q67.14674945 0 67.14674947 67.14674945l0 604.32074759q0 67.14674945-67.14674947 67.14674945l-805.76099677 0q-67.14674945 0-67.14674945-67.14674945l0-604.32074759q0-67.14674945 67.14674945-67.14674945Z",fill:"#36CFC9","p-id":"1582"}),(0,r.jsx)("path",{d:"M1020.80449568 685.07074759v67.14674945a67.14674945 67.14674945 0 0 1-67.14674946 67.14674945h-308.20358111l91.3195796 100.72012459-24.84429735 22.49416172L600.46584251 819.36424649h-100.72012459L389.62504831 943.25 364.78075097 920.08437108l91.31957961-100.72012459H147.89674945a67.14674945 67.14674945 0 0 1-67.14674945-67.14674945v-67.14674946z",fill:"#08979C","p-id":"1583"}),(0,r.jsx)("path",{d:"M416.48374894 282.19024919v335.7337481H315.76362434V282.19024919z m167.86687404 134.29349975v201.44024834h-100.72012459v-201.44024834z m167.86687406 67.14674945v134.2934989h-100.7201246v-134.2934989z m-225.94881252-302.16037379v141.34390829h201.4402492V272.11823698L819.36424649 341.27938889l-91.3195796 63.45367858V356.38740719h-239.71389641V215.04349975H315.76362434V181.4701246z",fill:"#B5F5EC","p-id":"1584"}),(0,r.jsx)("path",{d:"M550.77724783 752.21749704m-33.57337513 0a33.57337515 33.57337515 0 1 0 67.14675028 0 33.57337515 33.57337515 0 1 0-67.14675028 0Z",fill:"#FFFFFF","p-id":"1585"})]})},i=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1722",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M207.83 962c-5.4 0-10.88-1.17-16.08-3.67-18.55-8.89-26.39-31.13-17.5-49.69l77.22-161.26c8.9-18.58 31.14-26.41 49.7-17.51 18.55 8.89 26.39 31.13 17.5 49.69l-77.22 161.26c-6.4 13.38-19.74 21.18-33.62 21.18zM821.57 962c-13.88 0-27.21-7.8-33.62-21.17l-77.24-161.26c-8.9-18.55-1.06-40.8 17.5-49.69 18.57-8.87 40.8-1.07 49.7 17.51l77.24 161.26c8.9 18.55 1.06 40.8-17.5 49.69a37.266 37.266 0 0 1-16.08 3.66z",fill:"#12926E","p-id":"1723"}),(0,r.jsx)("path",{d:"M156.74 105.14h710.51c50.7 0 91.8 41.1 91.8 91.8v525.82c0 50.7-41.1 91.8-91.8 91.8H156.74c-50.7 0-91.8-41.1-91.8-91.8V196.93c0.01-50.69 41.11-91.79 91.8-91.79z",fill:"#39E2A0","p-id":"1724"}),(0,r.jsx)("path",{d:"M835.65 686.01h-614.7c-5.14 0-9.31-4.17-9.31-9.31 0-5.14 4.17-9.31 9.31-9.31h614.7c5.14 0 9.31 4.17 9.31 9.31 0 5.14-4.17 9.31-9.31 9.31z",fill:"#D3F8EA","p-id":"1725"}),(0,r.jsx)("path",{d:"M699.31 631.94H624.8V454.95c0-11.28 9.14-20.42 20.42-20.42h33.67c11.28 0 20.42 9.14 20.42 20.42v176.99zM846.22 631.94h-74.51V346.76c0-11.28 9.14-20.42 20.42-20.42h33.67c11.28 0 20.42 9.14 20.42 20.42v285.18zM289.51 631.94H215V417.69c0-11.28 9.14-20.42 20.42-20.42h33.67c11.28 0 20.42 9.14 20.42 20.42v214.25zM436.42 631.94h-74.51V495.77c0-11.28 9.14-20.42 20.42-20.42H416c11.28 0 20.42 9.14 20.42 20.42v136.17z",fill:"#FFFFFF","p-id":"1726"}),(0,r.jsx)("path",{d:"M715.4 173.76H308.6c-11.11 0-20.12-9.01-20.12-20.12V82.12c0-11.11 9.01-20.12 20.12-20.12h406.8c11.11 0 20.12 9.01 20.12 20.12v71.52c0.01 11.11-9 20.12-20.12 20.12z",fill:"#12926E","p-id":"1727"})]})},a=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1129",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M226.3 70.4C151.1 91.6 91.6 151.1 70.4 226.3L226.3 70.4z",fill:"#FFA65A","p-id":"1130"}),(0,r.jsx)("path",{d:"M277.9 62.2c-116.5 4.7-211 99.1-215.7 215.7L277.9 62.2z",fill:"#FFA659","p-id":"1131"}),(0,r.jsx)("path",{d:"M321.5 62H287C163.3 62 62 163.3 62 287v34.5L321.5 62z",fill:"#FFA558","p-id":"1132"}),(0,r.jsx)("path",{d:"M365 62h-78C163.3 62 62 163.3 62 287v78L365 62z",fill:"#FFA557","p-id":"1133"}),(0,r.jsx)("path",{d:"M408.4 62H287C163.3 62 62 163.3 62 287v121.4L408.4 62z",fill:"#FFA556","p-id":"1134"}),(0,r.jsx)("path",{d:"M451.8 62H287c-35.9 0-69.8 8.5-100 23.6L85.6 187C70.5 217.2 62 251.1 62 287v164.8L451.8 62z",fill:"#FFA555","p-id":"1135"}),(0,r.jsx)("path",{d:"M495.3 62H287c-12.2 0-24.2 1-35.9 2.9L64.9 251.1C63 262.8 62 274.8 62 287v208.3L495.3 62z",fill:"#FFA454","p-id":"1136"}),(0,r.jsx)("path",{d:"M62 538.7L538.7 62H297.5L62 297.5z",fill:"#FFA453","p-id":"1137"}),(0,r.jsx)("path",{d:"M62 582.1L582.1 62H340.9L62 340.9z",fill:"#FFA452","p-id":"1138"}),(0,r.jsx)("path",{d:"M62 625.6L625.6 62H384.3L62 384.3z",fill:"#FFA451","p-id":"1139"}),(0,r.jsx)("path",{d:"M62 427.8V669L669 62H427.8z",fill:"#FFA450","p-id":"1140"}),(0,r.jsx)("path",{d:"M62 471.2v241.2L712.4 62H471.2z",fill:"#FFA34F","p-id":"1141"}),(0,r.jsx)("path",{d:"M737 62H514.6L62 514.6V737c0 6.1 0.3 12.1 0.7 18.1L755.1 62.7c-6-0.4-12-0.7-18.1-0.7z",fill:"#FFA34E","p-id":"1142"}),(0,r.jsx)("path",{d:"M737 62H558.1L62 558.1V737c0 19.1 2.4 37.6 6.9 55.4L792.4 68.9C774.6 64.4 756.1 62 737 62z",fill:"#FFA34D","p-id":"1143"}),(0,r.jsx)("path",{d:"M737 62H601.5L62 601.5V737c0 31.1 6.4 60.8 17.9 87.8L824.8 79.9C797.8 68.4 768.1 62 737 62z",fill:"#FFA34C","p-id":"1144"}),(0,r.jsx)("path",{d:"M853.5 94.7C819.4 74 779.5 62 737 62h-92.1L62 644.9V737c0 42.5 12 82.4 32.7 116.5L853.5 94.7z",fill:"#FFA24B","p-id":"1145"}),(0,r.jsx)("path",{d:"M878.9 112.7C840.1 81.1 790.7 62 737 62h-48.6L62 688.4V737c0 53.7 19.1 103.1 50.7 141.9l766.2-766.2z",fill:"#FFA24A","p-id":"1146"}),(0,r.jsx)("path",{d:"M737 62h-5.2L62 731.8v5.2c0 64.7 27.7 123.2 71.7 164.3l767.6-767.6C860.2 89.7 801.7 62 737 62z",fill:"#FFA249","p-id":"1147"}),(0,r.jsx)("path",{d:"M64.8 772.4c9.8 61 44.3 114.1 92.8 148.4l763.2-763.2c-34.3-48.6-87.4-83.1-148.4-92.8L64.8 772.4z",fill:"#FFA248","p-id":"1148"}),(0,r.jsx)("path",{d:"M73.3 807.3c18.7 56.4 59.2 103 111.3 129.9l752.6-752.6C910.4 132.5 863.7 92 807.3 73.3l-734 734z",fill:"#FFA247","p-id":"1149"}),(0,r.jsx)("path",{d:"M86.1 838c26.5 52.3 72.9 93.1 129.1 112.2l735-735C931.1 159 890.3 112.6 838 86.1L86.1 838z",fill:"#FFA147","p-id":"1150"}),(0,r.jsx)("path",{d:"M102.4 865.2c34 48.7 86.7 83.5 147.5 93.7l709-709c-10.2-60.8-45-113.5-93.7-147.5L102.4 865.2z",fill:"#FFA146","p-id":"1151"}),(0,r.jsx)("path",{d:"M962 287c0-65.2-28.1-124.1-72.7-165.3L121.7 889.3C162.9 933.9 221.8 962 287 962h3.2L962 290.2V287z",fill:"#FFA145","p-id":"1152"}),(0,r.jsx)("path",{d:"M962 287c0-54.2-19.4-104-51.6-143L144 910.4c39 32.2 88.8 51.6 143 51.6h46.6L962 333.6V287z",fill:"#FFA144","p-id":"1153"}),(0,r.jsx)("path",{d:"M962 287c0-43.1-12.3-83.4-33.5-117.7L169.3 928.5C203.6 949.7 243.9 962 287 962h90.1L962 377.1V287z",fill:"#FFA143","p-id":"1154"}),(0,r.jsx)("path",{d:"M287 962h133.5L962 420.5V287c0-31.6-6.6-61.8-18.5-89.2L197.8 943.4c27.4 12 57.6 18.6 89.2 18.6z",fill:"#FFA042","p-id":"1155"}),(0,r.jsx)("path",{d:"M287 962h176.9L962 463.9V287c0-19.7-2.6-38.7-7.4-56.9L230.1 954.6c18.2 4.8 37.2 7.4 56.9 7.4z",fill:"#FFA041","p-id":"1156"}),(0,r.jsx)("path",{d:"M287 962h220.4L962 507.4V287c0-6.7-0.3-13.4-0.9-20L267 961.1c6.6 0.6 13.3 0.9 20 0.9z",fill:"#FFA040","p-id":"1157"}),(0,r.jsx)("path",{d:"M550.8 962L962 550.8V309.6L309.6 962z",fill:"#FFA03F","p-id":"1158"}),(0,r.jsx)("path",{d:"M594.2 962L962 594.2V353L353 962z",fill:"#FF9F3E","p-id":"1159"}),(0,r.jsx)("path",{d:"M637.7 962L962 637.7V396.4L396.4 962z",fill:"#FF9F3D","p-id":"1160"}),(0,r.jsx)("path",{d:"M681.1 962L962 681.1V439.9L439.9 962z",fill:"#FF9F3C","p-id":"1161"}),(0,r.jsx)("path",{d:"M724.5 962L962 724.5V483.3L483.3 962z",fill:"#FF9F3B","p-id":"1162"}),(0,r.jsx)("path",{d:"M962 737V526.7L526.7 962H737c11.4 0 22.5-0.9 33.5-2.5l189-189c1.6-11 2.5-22.1 2.5-33.5z",fill:"#FF9F3A","p-id":"1163"}),(0,r.jsx)("path",{d:"M962 737V570.2L570.2 962H737c34.3 0 66.9-7.8 96.1-21.7l107.2-107.2c13.9-29.2 21.7-61.8 21.7-96.1z",fill:"#FF9E39","p-id":"1164"}),(0,r.jsx)("path",{d:"M962 613.6L613.6 962H737c123.8 0 225-101.3 225-225V613.6z",fill:"#FF9E38","p-id":"1165"}),(0,r.jsx)("path",{d:"M962 657L657 962h80c123.8 0 225-101.3 225-225v-80z",fill:"#FF9E37","p-id":"1166"}),(0,r.jsx)("path",{d:"M962 700.5L700.5 962H737c123.8 0 225-101.3 225-225v-36.5z",fill:"#FF9E36","p-id":"1167"}),(0,r.jsx)("path",{d:"M961.9 744L744 961.9c118.2-3.7 214.2-99.7 217.9-217.9z",fill:"#FF9D35","p-id":"1168"}),(0,r.jsx)("path",{d:"M954.4 795L795 954.4c77.4-20.8 138.6-82 159.4-159.4z",fill:"#FF9D34","p-id":"1169"}),(0,r.jsx)("path",{d:"M736.3 622.9L523.5 747.3c-5.6 3.3-12.4 3.3-18 0.1L287.8 622.6c-12.2-7-12-24.6 0.3-31.4l212.8-116.7c5.3-2.9 11.8-3 17.2-0.1l217.7 117c12.3 6.7 12.6 24.4 0.5 31.5z",fill:"#FFD9C0","p-id":"1170"}),(0,r.jsx)("path",{d:"M736.3 523.9L523.5 648.3c-5.6 3.3-12.4 3.3-18 0.1L287.8 523.6c-12.2-7-12-24.6 0.3-31.4l212.8-116.7c5.3-2.9 11.8-3 17.2-0.1l217.7 117c12.3 6.7 12.6 24.4 0.5 31.5z",fill:"#FFE8D9","p-id":"1171"}),(0,r.jsx)("path",{d:"M736.3 424.9L523.5 549.3c-5.6 3.3-12.4 3.3-18 0.1L287.8 424.6c-12.2-7-12-24.6 0.3-31.4l212.8-116.7c5.3-2.9 11.8-3 17.2-0.1l217.7 117c12.3 6.7 12.6 24.4 0.5 31.5z",fill:"#FFF6F0","p-id":"1172"})]})},s=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1300",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M197.99492187 62v900h-34.18066406C124.57285156 962 92.76171875 930.18886719 92.76171875 890.94746094V133.05253906C92.76171875 93.81113281 124.57285156 62 163.81425781 62h34.18066406z m662.19082032 0C899.42714844 62 931.23828125 93.81113281 931.23828125 133.05253906v757.89492188c0 39.24140625-31.81113281 71.05253906-71.05253906 71.05253906H276.92070312V62h583.26503907z",fill:"#19A05F","p-id":"1301"}),(0,r.jsx)("path",{d:"M577.0390625 62l0.33222656 220.3875 111.2475586-108.80771484L800.19951172 284.36328125V62zM425.40224609 508.18554688h377.05078125v50.94404296h-377.05078125V508.18554688z m0 101.88720703h377.05078125v50.94316406h-377.05078125v-50.94316406z",fill:"#FFFFFF","p-id":"1302"})]})},l=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2006",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M701.95942066 37.1014489H250.80579673a142.46956521 142.46956521 0 0 0-142.46956522 142.46956523v664.85797174a142.46956521 142.46956521 0 0 0 142.46956522 142.46956523h522.38840654a142.46956521 142.46956521 0 0 0 142.46956522-142.46956523V274.55072501L701.95942066 37.1014489z",fill:"#53D39C","p-id":"2007"}),(0,r.jsx)("path",{d:"M444.2794663 392.18309566l69.64387283 117.72735109h2.70692174l69.97630108-117.70360654h82.4661337l-105.40373371 172.67311305 107.77822609 172.6968587h-83.98580869l-70.83111847-117.89356521h-2.70692174L443.09222066 737.57681196h-83.65338045l108.11065544-172.6968587-106.09233586-172.6968576h82.82230651z",fill:"#25BF79","p-id":"2008"}),(0,r.jsx)("path",{d:"M444.2794663 380.31063151l69.64387283 117.7273511h2.70692174l69.97630108-117.70360543h82.4661337l-105.40373371 172.67311305L671.44718803 725.70434783h-83.98580869l-70.83111847-117.89356522h-2.70692174L443.09222066 725.70434783h-83.65338045l108.11065544-172.6968576-106.09233586-172.69685872h82.82230651z",fill:"#FFFFFF","p-id":"2009"}),(0,r.jsx)("path",{d:"M701.95942066 37.1014489l160.27826087 178.08695653L915.66376849 274.55072501h-142.46956522a71.23478261 71.23478261 0 0 1-71.23478261-71.23478261V37.1014489z",fill:"#25BF79","p-id":"2010"})]})},E=function(){return(0,r.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2147",className:"w-full h-full",children:(0,r.jsx)("path",{d:"M688.51536688 447.75428656l-2.39993719 1.25996719a200.75473031 200.75473031 0 0 1-7.19981156 38.03900156l-47.33875688 166.43563031 110.45710031-59.63843437-47.03876531-114.41699625a108.2971575 108.2971575 0 0 1-6.47982937-31.67916844z m194.87488406-200.99472375l-96.35747063-58.55846344-354.77068687 217.43429251a70.01816156 70.01816156 0 0 0-32.51914688 59.57843624v193.97490844l-158.99582625-98.09742562V362.67651969a69.4181775 69.4181775 0 0 1 33.95910844-60.41841375l358.67058469-206.99456625 13.55964469 7.97979L544.75914031 41.26495719a62.75835281 62.75835281 0 0 0-65.63827687 0L140.54975094 246.75956281a69.89816531 69.89816531 0 0 0-32.81913844 59.75843063v410.98921218c-0.11999719 24.47935781 12.2996775 47.1587625 32.81913844 59.81842969l338.5711125 205.49460563c20.21946937 12.23967844 45.35880937 12.23967844 65.63827687 0l338.69110875-205.49460563c20.33946563-12.41967375 32.87913656-35.09907844 32.8791375-59.81842968v-410.98921219a69.77816813 69.77816813 0 0 0-32.93913562-59.75843063z m-89.51764969 477.88745532l-31.01918625-75.65801438-150.53604844 81.35786438-30.47919937 108.95713968-95.81748563 51.7186425 151.61602032-485.20726312 103.79727562-56.09852719 148.73609531 322.97152219-96.29747156 51.95863594z m0-1e-8",fill:"#0F6CF9","p-id":"2148"})})},c=function(){return(0,r.jsxs)("svg",{className:"w-full h-full",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M416.9549913 314.32347826h297.42302609a119.56758261 119.56758261 0 0 1 119.56758261 119.56758261v179.19109565a196.71485217 196.71485217 0 0 1-196.71485217 196.71485218H416.9549913a119.56758261 119.56758261 0 0 1-119.5675826-119.56758261v-256.44521739A119.56758261 119.56758261 0 0 1 416.9549913 314.32347826z",fill:"#F5384A","p-id":"1186"}),(0,r.jsx)("path",{d:"M716.24793043 314.32347826H415.03165217a117.5373913 117.5373913 0 0 0-117.5373913 117.53739131v260.18504347c0 3.84667826 0 7.69335652 0.58768696 11.43318261a345.7202087 345.7202087 0 0 0 502.9531826-353.19986087A117.1634087 117.1634087 0 0 0 716.24793043 314.32347826z",fill:"#F54F5C","p-id":"1187"}),(0,r.jsx)("path",{d:"M318.91812174 594.54330435a345.7202087 345.7202087 0 0 0 420.73043478-249.07241739c2.35074783-9.18928696 4.22066087-18.432 5.82344348-27.67471305a117.10998261 117.10998261 0 0 0-29.22406957-3.63297391H415.03165217a117.5373913 117.5373913 0 0 0-117.5373913 117.5373913v156.43158261c6.9453913 2.35074783 14.10448696 4.54121739 21.42386087 6.41113044z",fill:"#F66C73","p-id":"1188"}),(0,r.jsx)("path",{d:"M630.17850435 314.32347826H415.03165217a117.5373913 117.5373913 0 0 0-117.5373913 117.53739131v48.08347826a346.14761739 346.14761739 0 0 0 332.68424348-165.62086957z",fill:"#F78989","p-id":"1189"}),(0,r.jsx)("path",{d:"M859.85725217 354.76702609h-25.53766956C802.26393043 200.52591304 669.92751304 84.59130435 512 84.59130435S221.73606957 200.52591304 189.68041739 354.76702609h-25.53766956a139.6557913 139.6557913 0 0 0-139.44208696 139.49551304v79.872a139.6557913 139.6557913 0 0 0 139.44208696 139.49551304h27.62128695a54.65488696 54.65488696 0 0 0 54.60146087-54.60146087V427.10594783C246.36549565 273.6128 365.50566957 148.7026087 512 148.7026087s265.63450435 124.9101913 265.63450435 278.40333913v159.3165913c0 116.09488696-74.79652174 219.47436522-181.38156522 251.42316522a30.23916522 30.23916522 0 0 0-3.09871304 1.06852174 60.15777391 60.15777391 0 1 0 18.05801739 61.06601739 23.50747826 23.50747826 0 0 0 3.36584348-0.69453913c93.12166957-27.88841739 166.63596522-98.67798261 203.01913043-187.79269565a54.92201739 54.92201739 0 0 0 14.90587826 2.13704347h27.62128696a139.6557913 139.6557913 0 0 0 139.44208696-139.49551304V494.26253913a139.6557913 139.6557913 0 0 0-139.7092174-139.49551304zM182.2541913 649.51874783h-18.11144347a75.43763478 75.43763478 0 0 1-75.33078261-75.3842087V494.26253913a75.43763478 75.43763478 0 0 1 75.33078261-75.3842087h18.11144347v230.6404174z m752.93384348-75.3842087a75.43763478 75.43763478 0 0 1-75.33078261 75.3842087h-18.11144347V418.87833043h18.11144347a75.43763478 75.43763478 0 0 1 75.33078261 75.3842087z",fill:"#444444","p-id":"1190"})]})},u=function(){return(0,r.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",children:(0,r.jsx)("path",{d:"M593.054 120.217C483.656 148.739 402.91 248.212 402.91 366.546c0 140.582 113.962 254.544 254.544 254.544 118.334 0 217.808-80.746 246.328-190.144C909.17 457.12 912 484.23 912 512c0 220.914-179.086 400-400 400S112 732.914 112 512s179.086-400 400-400c27.77 0 54.88 2.83 81.054 8.217z","p-id":"5941"})})},T=function(){return(0,r.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",version:"1.1",children:(0,r.jsx)("path",{d:"M513.89 950.72c-5.5 0-11-1.4-15.99-4.2L143.84 743c-9.85-5.73-15.99-16.17-15.99-27.64V308.58c0-11.33 6.14-21.91 15.99-27.64L497.9 77.43c9.85-5.73 22.14-5.73 31.99 0l354.06 203.52c9.85 5.73 15.99 16.17 15.99 27.64V715.5c0 11.33-6.14 21.91-15.99 27.64L529.89 946.52c-4.99 2.8-10.49 4.2-16 4.2zM191.83 697.15L513.89 882.2l322.07-185.05V326.92L513.89 141.87 191.83 326.92v370.23z m322.06-153.34c-5.37 0-10.88-1.4-15.99-4.33L244.29 393.91c-15.35-8.79-20.6-28.27-11.77-43.56 8.83-15.28 28.41-20.5 43.76-11.72l253.61 145.7c15.35 8.79 20.6 28.27 11.77 43.56-6.01 10.32-16.76 15.92-27.77 15.92z m0 291.52c-17.66 0-31.99-14.26-31.99-31.84V530.44L244.55 393.91s-0.13 0-0.13-0.13l-100.45-57.69c-15.35-8.79-20.6-28.27-11.77-43.56s28.41-20.5 43.76-11.72l354.06 203.52c9.85 5.73 15.99 16.17 15.99 27.64v291.39c-0.13 17.71-14.46 31.97-32.12 31.97z m0 115.39c-17.66 0-31.99-14.26-31.99-31.84V511.97c0-17.58 14.33-31.84 31.99-31.84s31.99 14.26 31.99 31.84v406.91c0 17.7-14.33 31.84-31.99 31.84z m0-406.91c-11 0-21.75-5.73-27.77-15.92-8.83-15.28-3.58-34.64 11.77-43.56l354.06-203.52c15.35-8.79 34.8-3.57 43.76 11.72 8.83 15.28 3.58 34.64-11.77 43.56L529.89 539.61c-4.99 2.93-10.49 4.2-16 4.2z"})})},d=function(){return(0,r.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",version:"1.1",children:(0,r.jsx)("path",{d:"M602.24 246.72a17.28 17.28 0 0 0-11.84-16.32l-42.88-14.4A90.56 90.56 0 0 1 490.24 160l-14.4-42.88a17.28 17.28 0 0 0-32 0L428.8 160a90.56 90.56 0 0 1-57.28 57.28l-42.88 14.4a17.28 17.28 0 0 0 0 32l42.88 14.4a90.56 90.56 0 0 1 57.28 57.28l14.4 42.88a17.28 17.28 0 0 0 32 0l14.4-42.88a90.56 90.56 0 0 1 57.28-57.28l42.88-14.4a17.28 17.28 0 0 0 12.48-16.96z m301.12 221.76l-48.32-16a101.44 101.44 0 0 1-64-64l-16-48.32a19.2 19.2 0 0 0-36.8 0l-16 48.32a101.44 101.44 0 0 1-64 64l-48.32 16a19.2 19.2 0 0 0 0 36.8l48.32 16a101.44 101.44 0 0 1 64 64l16 48.32a19.2 19.2 0 0 0 36.8 0l16-48.32a101.44 101.44 0 0 1 64-64l48.32-16a19.2 19.2 0 0 0 0-36.8z m-376.64 195.52l-64-20.8a131.84 131.84 0 0 1-83.52-83.52l-20.8-64a25.28 25.28 0 0 0-47.68 0l-20.8 64a131.84 131.84 0 0 1-82.24 83.52l-64 20.8a25.28 25.28 0 0 0 0 47.68l64 20.8a131.84 131.84 0 0 1 83.52 83.84l20.8 64a25.28 25.28 0 0 0 47.68 0l20.8-64a131.84 131.84 0 0 1 83.52-83.52l64-20.8a25.28 25.28 0 0 0 0-47.68z","p-id":"3992"})})},R=function(){return(0,r.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",children:(0,r.jsx)("path",{d:"M554.6 64h-85.4v128h85.4V64z m258.2 87.4L736 228.2l59.8 59.8 76.8-76.8-59.8-59.8z m-601.6 0l-59.8 59.8 76.8 76.8 59.8-59.8-76.8-76.8zM512 256c-140.8 0-256 115.2-256 256s115.2 256 256 256 256-115.2 256-256-115.2-256-256-256z m448 213.4h-128v85.4h128v-85.4z m-768 0H64v85.4h128v-85.4zM795.8 736L736 795.8l76.8 76.8 59.8-59.8-76.8-76.8z m-567.6 0l-76.8 76.8 59.8 59.8 76.8-76.8-59.8-59.8z m326.4 96h-85.4v128h85.4v-128z","p-id":"7802"})})};function f(){return(0,r.jsxs)("svg",{className:"mr-1",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4602",width:"1.5em",height:"1.5em",children:[(0,r.jsx)("path",{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zM296 400c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zM672 516c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216z m107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5z","p-id":"4603",fill:"#87d068"}),(0,r.jsx)("path",{d:"M761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9c-1.5-2.1-3.9-3.3-6.5-3.3H573c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.9-5.3 0.1-12.7-6.4-12.7z","p-id":"4604",fill:"#87d068"}),(0,r.jsx)("path",{d:"M440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z","p-id":"4605",fill:"#87d068"})]})}function A(){return(0,r.jsxs)("svg",{className:"mr-1",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4838",width:"1.5em",height:"1.5em",children:[(0,r.jsx)("path",{d:"M296 256c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zM488 456v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8z","p-id":"4839",fill:"#2db7f5"}),(0,r.jsx)("path",{d:"M440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z","p-id":"4840",fill:"#2db7f5"}),(0,r.jsx)("path",{d:"M544.1 736.4c1.8-34.5 16.2-66.8 40.8-91.4 26.2-26.2 62-41 99.1-41 37.4 0 72.6 14.6 99.1 41 3.2 3.2 6.3 6.6 9.2 10.1L769.2 673c-5.3 4.1-3.5 12.5 3 14.1l93.3 22.5c5 1.2 9.8-2.6 9.9-7.7l0.6-95.4c0-6.7-7.6-10.5-12.9-6.4l-20.3 15.8C805.4 569.6 748.1 540 684 540c-109.9 0-199.6 86.9-204 195.7-0.2 4.5 3.5 8.3 8 8.3h48.1c4.3 0 7.8-3.3 8-7.6zM880 744h-48.1c-4.3 0-7.8 3.3-8 7.6-1.8 34.5-16.2 66.8-40.8 91.4-26.2 26.2-62 41-99.1 41-37.4 0-72.6-14.6-99.1-41-3.2-3.2-6.3-6.6-9.2-10.1l23.1-17.9c5.3-4.1 3.5-12.5-3-14.1l-93.3-22.5c-5-1.2-9.8 2.6-9.9 7.7l-0.6 95.4c0 6.7 7.6 10.5 12.9 6.4l20.3-15.8C562.6 918.4 619.9 948 684 948c109.9 0 199.6-86.9 204-195.7 0.2-4.5-3.5-8.3-8-8.3z","p-id":"4841",fill:"#2db7f5"})]})}function S(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4260",width:"1.5em",height:"1.5em",children:[(0,r.jsx)("path",{d:"M114.5856 951.04h298.24v-71.68H186.2656v-747.52h593.92v271.36h71.68v-343.04h-737.28v890.88z",fill:"#747690","p-id":"4261"}),(0,r.jsx)("path",{d:"M662.4256 311.04h-358.4v-71.68h358.4v71.68zM508.8256 490.24h-204.8v-71.68h204.8v71.68zM668.8256 554.24a168.96 168.96 0 1 0 0 337.92 168.96 168.96 0 0 0 0-337.92z m-240.64 168.96a240.64 240.64 0 1 1 481.28 0 240.64 240.64 0 0 1-481.28 0z",fill:"#747690","p-id":"4262"}),(0,r.jsx)("path",{d:"M629.76 588.8h71.68v131.4304l82.5856 41.3184-32.0512 64.1024-122.2144-61.0816V588.8z",fill:"#747690","p-id":"4263"})]})}function O(){return(0,r.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9211",width:"1.5em",height:"1.5em",children:(0,r.jsx)("path",{d:"M151.5 586.2c-5-24.2-7.5-49.2-7.5-74.2s2.5-50 7.5-74.2c4.8-23.6 12-46.8 21.4-69 9.2-21.8 20.6-42.8 33.9-62.5 13.2-19.5 28.3-37.8 45-54.5s35-31.8 54.5-45c19.7-13.3 40.7-24.7 62.5-33.9 22.2-9.4 45.4-16.6 69-21.4 48.5-9.9 99.9-9.9 148.4 0 23.6 4.8 46.8 12 69 21.4 21.8 9.2 42.8 20.6 62.5 33.9 19.5 13.2 37.8 28.3 54.5 45 1.4 1.4 2.8 2.8 4.1 4.2H688c-17.7 0-32 14.3-32 32s14.3 32 32 32h160c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32s-32 14.3-32 32v77.1c-19.2-19-40.1-36.2-62.4-51.3-23.1-15.6-47.8-29-73.4-39.8-26.1-11-53.4-19.5-81.1-25.2-56.9-11.6-117.1-11.6-174.1 0-27.8 5.7-55.1 14.2-81.1 25.2-25.6 10.8-50.3 24.2-73.4 39.8-22.9 15.4-44.4 33.2-63.9 52.7s-37.3 41-52.7 63.9c-15.6 23.1-29 47.8-39.8 73.4-11 26.1-19.5 53.4-25.2 81.1C83 453.4 80 482.7 80 512s3 58.6 8.8 87c3.1 15.2 16.4 25.6 31.3 25.6 2.1 0 4.3-0.2 6.4-0.7 17.4-3.5 28.5-20.4 25-37.7zM935.2 425c-3.5-17.3-20.5-28.5-37.8-24.9-17.3 3.5-28.5 20.5-24.9 37.8 5 24.2 7.5 49.2 7.5 74.2s-2.5 50-7.5 74.2c-4.8 23.6-12 46.8-21.4 69-9.2 21.8-20.6 42.8-33.9 62.5-13.2 19.5-28.3 37.8-45 54.5s-35 31.8-54.5 45C698 830.6 677 842 655.2 851.2c-22.2 9.4-45.4 16.6-69 21.4-48.5 9.9-99.9 9.9-148.4 0-23.6-4.8-46.8-12-69-21.4-21.8-9.2-42.8-20.6-62.5-33.9-19.5-13.2-37.8-28.3-54.5-45-1.4-1.4-2.8-2.8-4.1-4.2H336c17.7 0 32-14.3 32-32s-14.3-32-32-32H176c-17.7 0-32 14.3-32 32v160c0 17.7 14.3 32 32 32s32-14.3 32-32V819c19.2 19 40.1 36.2 62.4 51.3 23.1 15.6 47.8 29 73.4 39.8 26.1 11 53.4 19.5 81.1 25.2 28.5 5.8 57.7 8.8 87 8.8s58.6-3 87-8.8c27.8-5.7 55-14.2 81.1-25.2 25.6-10.8 50.3-24.2 73.4-39.8 22.9-15.5 44.4-33.2 63.9-52.7s37.3-41 52.7-63.9c15.6-23.1 29-47.8 39.8-73.4 11-26.1 19.5-53.4 25.2-81.1 5.8-28.5 8.8-57.7 8.8-87 0.2-29.5-2.8-58.8-8.6-87.2z",fill:"#1875F0","p-id":"9212"})})}function p(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3205",width:"1.5em",height:"1.5em",children:[(0,r.jsx)("path",{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zM296 400c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zM672 516c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216z m107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5z","p-id":"3206",fill:"#1afa29"}),(0,r.jsx)("path",{d:"M761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9c-1.5-2.1-3.9-3.3-6.5-3.3H573c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.9-5.3 0.1-12.7-6.4-12.7z","p-id":"3207",fill:"#1afa29"}),(0,r.jsx)("path",{d:"M440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z","p-id":"3208",fill:"#1afa29"})]})}n(38497);var N=n(86560)},69100:function(e,t,n){"use strict";function r(e){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clientHookInServerComponentError",{enumerable:!0,get:function(){return r}}),n(77130),n(38497),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35657:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return d},useSearchParams:function(){return R},usePathname:function(){return f},ServerInsertedHTMLContext:function(){return l.ServerInsertedHTMLContext},useServerInsertedHTML:function(){return l.useServerInsertedHTML},useRouter:function(){return A},useParams:function(){return S},useSelectedLayoutSegments:function(){return O},useSelectedLayoutSegment:function(){return p},redirect:function(){return E.redirect},notFound:function(){return c.notFound}});let r=n(38497),o=n(95721),i=n(76162),a=n(69100),s=n(93795),l=n(41018),E=n(70740),c=n(94011),u=Symbol("internal for urlsearchparams readonly");function T(){return Error("ReadonlyURLSearchParams cannot be modified")}class d{[Symbol.iterator](){return this[u][Symbol.iterator]()}append(){throw T()}delete(){throw T()}set(){throw T()}sort(){throw T()}constructor(e){this[u]=e,this.entries=e.entries.bind(e),this.forEach=e.forEach.bind(e),this.get=e.get.bind(e),this.getAll=e.getAll.bind(e),this.has=e.has.bind(e),this.keys=e.keys.bind(e),this.values=e.values.bind(e),this.toString=e.toString.bind(e)}}function R(){(0,a.clientHookInServerComponentError)("useSearchParams");let e=(0,r.useContext)(i.SearchParamsContext),t=(0,r.useMemo)(()=>e?new d(e):null,[e]);return t}function f(){return(0,a.clientHookInServerComponentError)("usePathname"),(0,r.useContext)(i.PathnameContext)}function A(){(0,a.clientHookInServerComponentError)("useRouter");let e=(0,r.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function S(){(0,a.clientHookInServerComponentError)("useParams");let e=(0,r.useContext)(o.GlobalLayoutRouterContext);return e?function e(t,n){void 0===n&&(n={});let r=t[1];for(let t of Object.values(r)){let r=t[0],o=Array.isArray(r),i=o?r[1]:r;!i||i.startsWith("__PAGE__")||(o&&(n[r[0]]=r[1]),n=e(t,n))}return n}(e.tree):null}function O(e){void 0===e&&(e="children"),(0,a.clientHookInServerComponentError)("useSelectedLayoutSegments");let{tree:t}=(0,r.useContext)(o.LayoutRouterContext);return function e(t,n,r,o){let i;if(void 0===r&&(r=!0),void 0===o&&(o=[]),r)i=t[1][n];else{var a;let e=t[1];i=null!=(a=e.children)?a:Object.values(e)[0]}if(!i)return o;let l=i[0],E=(0,s.getSegmentValue)(l);return!E||E.startsWith("__PAGE__")?o:(o.push(E),e(i,n,!1,o))}(t,e)}function p(e){void 0===e&&(e="children"),(0,a.clientHookInServerComponentError)("useSelectedLayoutSegment");let t=O(e);return 0===t.length?null:t[0]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94011:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{notFound:function(){return r},isNotFoundError:function(){return o}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function o(e){return(null==e?void 0:e.digest)===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70740:function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectType:function(){return r},getRedirectError:function(){return s},redirect:function(){return l},isRedirectError:function(){return E},getURLFromRedirectError:function(){return c},getRedirectTypeFromError:function(){return u}});let i=n(10374),a="NEXT_REDIRECT";function s(e,t){let n=Error(a);n.digest=a+";"+t+";"+e;let r=i.requestAsyncStorage.getStore();return r&&(n.mutableCookies=r.mutableCookies),n}function l(e,t){throw void 0===t&&(t="replace"),s(e,t)}function E(e){if("string"!=typeof(null==e?void 0:e.digest))return!1;let[t,n,r]=e.digest.split(";",3);return t===a&&("replace"===n||"push"===n)&&"string"==typeof r}function c(e){return E(e)?e.digest.split(";",3)[2]:null}function u(e){if(!E(e))throw Error("Not a redirect error");return e.digest.split(";",3)[1]}(o=r||(r={})).push="push",o.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},93795:function(e,t){"use strict";function n(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94086:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PrefetchKind:function(){return n},ACTION_REFRESH:function(){return o},ACTION_NAVIGATE:function(){return i},ACTION_RESTORE:function(){return a},ACTION_SERVER_PATCH:function(){return s},ACTION_PREFETCH:function(){return l},ACTION_FAST_REFRESH:function(){return E},ACTION_SERVER_ACTION:function(){return c}});let o="refresh",i="navigate",a="restore",s="server-patch",l="prefetch",E="fast-refresh",c="server-action";(r=n||(n={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40014:function(e,t){"use strict";function n(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6321:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});let r=n(77130),o=n(58006),i=o._(n(38497)),a=r._(n(80589)),s=n(71095),l=n(13557),E=n(79368);n(6915);let c=r._(n(78117)),u={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function T(e){return void 0!==e.default}function d(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function R(e,t,n,r,o,i,a){if(!e||e["data-loaded-src"]===t)return;e["data-loaded-src"]=t;let s="decode"in e?e.decode():Promise.resolve();s.catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("blur"===n&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,o=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}(null==o?void 0:o.current)&&o.current(e)}})}function f(e){let[t,n]=i.version.split("."),r=parseInt(t,10),o=parseInt(n,10);return r>18||18===r&&o>=3?{fetchPriority:e}:{fetchpriority:e}}let A=(0,i.forwardRef)((e,t)=>{let{imgAttributes:n,heightInt:r,widthInt:o,qualityInt:a,className:s,imgStyle:l,blurStyle:E,isLazy:c,fetchPriority:u,fill:T,placeholder:d,loading:A,srcString:S,config:O,unoptimized:p,loader:N,onLoadRef:I,onLoadingCompleteRef:h,setBlurComplete:_,setShowAltText:m,onLoad:C,onError:g,...L}=e;return A=c?"lazy":A,i.default.createElement("img",{...L,...f(u),loading:A,width:o,height:r,decoding:"async","data-nimg":T?"fill":"1",className:s,style:{...l,...E},...n,ref:(0,i.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(g&&(e.src=e.src),e.complete&&R(e,S,d,I,h,_,p))},[S,d,I,h,_,g,p,t]),onLoad:e=>{let t=e.currentTarget;R(t,S,d,I,h,_,p)},onError:e=>{m(!0),"blur"===d&&_(!0),g&&g(e)}})}),S=(0,i.forwardRef)((e,t)=>{var n;let r,o,{src:R,sizes:S,unoptimized:O=!1,priority:p=!1,loading:N,className:I,quality:h,width:_,height:m,fill:C,style:g,onLoad:L,onLoadingComplete:v,placeholder:y="empty",blurDataURL:P,fetchPriority:M,layout:b,objectFit:D,objectPosition:U,lazyBoundary:x,lazyRoot:w,...G}=e,F=(0,i.useContext)(E.ImageConfigContext),H=(0,i.useMemo)(()=>{let e=u||F||l.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[F]),B=G.loader||c.default;delete G.loader;let Y="__next_img_default"in B;if(Y){if("custom"===H.loader)throw Error('Image with src "'+R+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=B;B=t=>{let{config:n,...r}=t;return e(r)}}if(b){"fill"===b&&(C=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[b];e&&(g={...g,...e});let t={responsive:"100vw",fill:"100vw"}[b];t&&!S&&(S=t)}let k="",V=d(_),$=d(m);if("object"==typeof(n=R)&&(T(n)||void 0!==n.src)){let e=T(R)?R.default:R;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(r=e.blurWidth,o=e.blurHeight,P=P||e.blurDataURL,k=e.src,!C){if(V||$){if(V&&!$){let t=V/e.width;$=Math.round(e.height*t)}else if(!V&&$){let t=$/e.height;V=Math.round(e.width*t)}}else V=e.width,$=e.height}}let W=!p&&("lazy"===N||void 0===N);(!(R="string"==typeof R?R:k)||R.startsWith("data:")||R.startsWith("blob:"))&&(O=!0,W=!1),H.unoptimized&&(O=!0),Y&&R.endsWith(".svg")&&!H.dangerouslyAllowSVG&&(O=!0),p&&(M="high");let[Z,j]=(0,i.useState)(!1),[X,K]=(0,i.useState)(!1),z=d(h),J=Object.assign(C?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:D,objectPosition:U}:{},X?{}:{color:"transparent"},g),q="blur"===y&&P&&!Z?{backgroundSize:J.objectFit||"cover",backgroundPosition:J.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'+(0,s.getImageBlurSvg)({widthInt:V,heightInt:$,blurWidth:r,blurHeight:o,blurDataURL:P,objectFit:J.objectFit})+'")'}:{},Q=function(e){let{config:t,src:n,unoptimized:r,width:o,quality:i,sizes:a,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:E}=function(e,t,n){let{deviceSizes:r,allSizes:o}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:o,kind:"w"}}if("number"!=typeof t)return{widths:r,kind:"w"};let i=[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))];return{widths:i,kind:"x"}}(t,o,a),c=l.length-1;return{sizes:a||"w"!==E?a:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:i,width:e})+" "+("w"===E?e:r+1)+E).join(", "),src:s({config:t,src:n,quality:i,width:l[c]})}}({config:H,src:R,unoptimized:O,width:V,quality:z,sizes:S,loader:B}),ee=R,et=(0,i.useRef)(L);(0,i.useEffect)(()=>{et.current=L},[L]);let en=(0,i.useRef)(v);(0,i.useEffect)(()=>{en.current=v},[v]);let er={isLazy:W,imgAttributes:Q,heightInt:$,widthInt:V,qualityInt:z,className:I,imgStyle:J,blurStyle:q,loading:N,config:H,fetchPriority:M,fill:C,unoptimized:O,placeholder:y,loader:B,srcString:ee,onLoadRef:et,onLoadingCompleteRef:en,setBlurComplete:j,setShowAltText:K,...G};return i.default.createElement(i.default.Fragment,null,i.default.createElement(A,{...er,ref:t}),p?i.default.createElement(a.default,null,i.default.createElement("link",{key:"__nimg-"+Q.src+Q.srcSet+Q.sizes,rel:"preload",as:"image",href:Q.srcSet?void 0:Q.src,imageSrcSet:Q.srcSet,imageSizes:Q.sizes,crossOrigin:G.crossOrigin,referrerPolicy:G.referrerPolicy,...f(M)})):null)}),O=S;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2564:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return N}});let r=n(77130),o=r._(n(38497)),i=n(40072),a=n(7040),s=n(89652),l=n(47485),E=n(20507),c=n(24509),u=n(95721),T=n(28198),d=n(40014),R=n(95043),f=n(94086),A=new Set;function S(e,t,n,r,o,i){if(!i&&!(0,a.isLocalURL)(t))return;if(!r.bypassPrefetchedCheck){let o=void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0,i=t+"%"+n+"%"+o;if(A.has(i))return;A.add(i)}let s=i?e.prefetch(t,o):e.prefetch(t,n,r);Promise.resolve(s).catch(e=>{})}function O(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}let p=o.default.forwardRef(function(e,t){let n,r;let{href:s,as:A,children:p,prefetch:N=null,passHref:I,replace:h,shallow:_,scroll:m,locale:C,onClick:g,onMouseEnter:L,onTouchStart:v,legacyBehavior:y=!1,...P}=e;n=p,y&&("string"==typeof n||"number"==typeof n)&&(n=o.default.createElement("a",null,n));let M=!1!==N,b=null===N?f.PrefetchKind.AUTO:f.PrefetchKind.FULL,D=o.default.useContext(c.RouterContext),U=o.default.useContext(u.AppRouterContext),x=null!=D?D:U,w=!D,{href:G,as:F}=o.default.useMemo(()=>{if(!D){let e=O(s);return{href:e,as:A?O(A):e}}let[e,t]=(0,i.resolveHref)(D,s,!0);return{href:e,as:A?(0,i.resolveHref)(D,A):t||e}},[D,s,A]),H=o.default.useRef(G),B=o.default.useRef(F);y&&(r=o.default.Children.only(n));let Y=y?r&&"object"==typeof r&&r.ref:t,[k,V,$]=(0,T.useIntersection)({rootMargin:"200px"}),W=o.default.useCallback(e=>{(B.current!==F||H.current!==G)&&($(),B.current=F,H.current=G),k(e),Y&&("function"==typeof Y?Y(e):"object"==typeof Y&&(Y.current=e))},[F,Y,G,$,k]);o.default.useEffect(()=>{x&&V&&M&&S(x,G,F,{locale:C},{kind:b},w)},[F,G,V,C,M,null==D?void 0:D.locale,x,w,b]);let Z={ref:W,onClick(e){y||"function"!=typeof g||g(e),y&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),x&&!e.defaultPrevented&&function(e,t,n,r,i,s,l,E,c,u){let{nodeName:T}=e.currentTarget,d="A"===T.toUpperCase();if(d&&(function(e){let t=e.currentTarget,n=t.getAttribute("target");return n&&"_self"!==n||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,a.isLocalURL)(n)))return;e.preventDefault();let R=()=>{"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:s,locale:E,scroll:l}):t[i?"replace":"push"](r||n,{forceOptimisticNavigation:!u})};c?o.default.startTransition(R):R()}(e,x,G,F,h,_,m,C,w,M)},onMouseEnter(e){y||"function"!=typeof L||L(e),y&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),x&&(M||!w)&&S(x,G,F,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:b},w)},onTouchStart(e){y||"function"!=typeof v||v(e),y&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),x&&(M||!w)&&S(x,G,F,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:b},w)}};if((0,l.isAbsoluteUrl)(F))Z.href=F;else if(!y||I||"a"===r.type&&!("href"in r.props)){let e=void 0!==C?C:null==D?void 0:D.locale,t=(null==D?void 0:D.isLocaleDomain)&&(0,d.getDomainLocale)(F,e,null==D?void 0:D.locales,null==D?void 0:D.domainLocales);Z.href=t||(0,R.addBasePath)((0,E.addLocale)(F,e,null==D?void 0:D.defaultLocale))}return y?o.default.cloneElement(r,Z):o.default.createElement("a",{...P,...Z},n)}),N=p;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},28198:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(38497),o=n(30299),i="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,E=l||!i,[c,u]=(0,r.useState)(!1),T=(0,r.useRef)(null),d=(0,r.useCallback)(e=>{T.current=e},[]);(0,r.useEffect)(()=>{if(i){if(E||c)return;let e=T.current;if(e&&e.tagName){let r=function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let o=new Map,i=new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e);return t={id:n,observer:i,elements:o},s.push(n),a.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&u(e),{root:null==t?void 0:t.current,rootMargin:n});return r}}else if(!c){let e=(0,o.requestIdleCallback)(()=>u(!0));return()=>(0,o.cancelIdleCallback)(e)}},[E,n,t,c,T.current]);let R=(0,r.useCallback)(()=>{u(!1)},[]);return[d,c,R]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},71095:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:o,blurDataURL:i,objectFit:a}=e,s=r||t,l=o||n,E=i.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return s&&l?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 "+s+" "+l+"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+(r&&o?"1":"20")+"'/%3E"+E+"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='"+i+"'/%3E%3C/svg%3E":"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' preserveAspectRatio='"+("contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' x='0' y='0' height='100%25' width='100%25' href='"+i+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},78117:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:o}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(o||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},41018:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return a}});let r=n(58006),o=r._(n(38497)),i=o.default.createContext(null);function a(e){let t=(0,o.useContext)(i);t&&t(e)}},56564:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ep}});var r=n(96469),o=n(45277),i=n(88506),a=n(19629),s=n(38497),l=n(56841),E=n(26869),c=n.n(E);n(75299);var u=function(e){let{onlyAvatar:t=!1}=e,{t:n}=(0,l.$G)(),[o,E]=(0,s.useState)();return(0,s.useEffect)(()=>{try{var e;let t=JSON.parse(null!==(e=localStorage.getItem(i.C9))&&void 0!==e?e:"");E(t)}catch(e){return}},[]),(0,r.jsx)("div",{className:"flex flex-1 items-center justify-center",children:(0,r.jsx)("div",{className:c()("flex items-center group w-full",{"justify-center":t,"justify-between":!t}),children:(0,r.jsxs)("span",{className:"flex gap-2 items-center",children:[(0,r.jsx)(a.C,{src:null==o?void 0:o.avatar_url,className:"bg-gradient-to-tr from-[#31afff] to-[#1677ff] cursor-pointer",children:null==o?void 0:o.nick_name}),(0,r.jsx)("span",{className:c()("text-sm",{hidden:t}),children:null==o?void 0:o.nick_name})]})})})},T=n(27623),d=n(67901),R=n(31183),f=n(51382),A=n(42834),S=n(43738),O=n(92026),p=n(94918),N=n(61760),I=n(10173),h=n(42096),_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z"}}]},name:"menu-fold",theme:"outlined"},m=n(75651),C=s.forwardRef(function(e,t){return s.createElement(m.Z,(0,h.Z)({},e,{ref:t,icon:_}))}),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z"}}]},name:"menu-unfold",theme:"outlined"},L=s.forwardRef(function(e,t){return s.createElement(m.Z,(0,h.Z)({},e,{ref:t,icon:g}))}),v=n(79839),y=n(70351),P=n(60205),M=n(62971),b=n(93486),D=n.n(b),U=n(61671),x=n.n(U);n(4773);var w=n(23852),G=n.n(w),F=n(99997),H=n.n(F),B=n(87313),Y=function(){let{chatId:e,scene:t,isMenuExpand:n,refreshDialogList:a,setIsMenuExpand:E,setAgent:h,mode:_,setMode:m,adminList:g}=(0,s.useContext)(o.p),{pathname:b,replace:U}=(0,B.useRouter)(),{t:w,i18n:F}=(0,l.$G)(),[Y,k]=(0,s.useState)("/logo_zh_latest.png"),V=(0,s.useMemo)(()=>{let{user_id:e}=JSON.parse(localStorage.getItem(i.C9)||"{}");return g.some(t=>t.user_id===e)},[g]),$=(0,s.useMemo)(()=>{let e=[{key:"app",name:w("App"),path:"/app",icon:(0,r.jsx)(R.Z,{})},{key:"flow",name:w("awel_flow"),icon:(0,r.jsx)(f.Z,{}),path:"/flow"},{key:"models",name:w("model_manage"),path:"/models",icon:(0,r.jsx)(A.Z,{component:d.IN})},{key:"database",name:w("Database"),icon:(0,r.jsx)(S.Z,{}),path:"/database"},{key:"knowledge",name:w("Knowledge_Space"),icon:(0,r.jsx)(O.Z,{}),path:"/knowledge"},{key:"agent",name:w("Plugins"),path:"/agent",icon:(0,r.jsx)(p.Z,{})},{key:"prompt",name:w("Prompt"),icon:(0,r.jsx)(N.Z,{}),path:"/prompt"}];return e},[w]),W=(0,s.useCallback)(()=>{E(!n)},[n,E]),Z=(0,s.useCallback)(()=>{let e="light"===_?"dark":"light";m(e),localStorage.setItem(i.he,e)},[_,m]),j=(0,s.useCallback)(()=>{let e="en"===F.language?"zh":"en";F.changeLanguage(e),"zh"===e&&x().locale("zh-cn"),"en"===e&&x().locale("en"),localStorage.setItem(i.Yl,e)},[F]),X=(0,s.useMemo)(()=>{let e=[{key:"theme",name:w("Theme"),icon:"dark"===_?(0,r.jsx)(A.Z,{component:d.FD}):(0,r.jsx)(A.Z,{component:d.ol}),items:[{key:"light",label:(0,r.jsxs)("div",{className:"py-1 flex justify-between gap-8 ",children:[(0,r.jsxs)("span",{className:"flex gap-2 items-center",children:[(0,r.jsx)(G(),{src:"/pictures/theme_light.png",alt:"english",width:38,height:32}),(0,r.jsx)("span",{children:"Light"})]}),(0,r.jsx)("span",{className:c()({block:"light"===_,hidden:"light"!==_}),children:"✓"})]})},{key:"dark",label:(0,r.jsxs)("div",{className:"py-1 flex justify-between gap-8 ",children:[(0,r.jsxs)("span",{className:"flex gap-2 items-center",children:[(0,r.jsx)(G(),{src:"/pictures/theme_dark.png",alt:"english",width:38,height:32}),(0,r.jsx)("span",{children:"Dark"})]}),(0,r.jsx)("span",{className:c()({block:"dark"===_,hidden:"dark"!==_}),children:"✓"})]})}],onClick:Z,onSelect:e=>{let{key:t}=e;_!==t&&(m(t),localStorage.setItem(i.he,t))},defaultSelectedKeys:[_],placement:"topLeft"},{key:"language",name:w("language"),icon:(0,r.jsx)(I.Z,{}),items:[{key:"en",label:(0,r.jsxs)("div",{className:"py-1 flex justify-between gap-8 ",children:[(0,r.jsxs)("span",{className:"flex gap-2",children:[(0,r.jsx)(G(),{src:"/icons/english.png",alt:"english",width:21,height:21}),(0,r.jsx)("span",{children:"English"})]}),(0,r.jsx)("span",{className:c()({block:"en"===F.language,hidden:"en"!==F.language}),children:"✓"})]})},{key:"zh",label:(0,r.jsxs)("div",{className:"py-1 flex justify-between gap-8 ",children:[(0,r.jsxs)("span",{className:"flex gap-2",children:[(0,r.jsx)(G(),{src:"/icons/zh.png",alt:"english",width:21,height:21}),(0,r.jsx)("span",{children:"简体中文"})]}),(0,r.jsx)("span",{className:c()({block:"zh"===F.language,hidden:"zh"!==F.language}),children:"✓"})]})}],onSelect:e=>{let{key:t}=e;F.language!==t&&(F.changeLanguage(t),"zh"===t&&x().locale("zh-cn"),"en"===t&&x().locale("en"),localStorage.setItem(i.Yl,t))},onClick:j,defaultSelectedKeys:[F.language]},{key:"fold",name:w(n?"Close_Sidebar":"Show_Sidebar"),icon:n?(0,r.jsx)(C,{}):(0,r.jsx)(L,{}),onClick:W,noDropdownItem:!0}];return e},[w,_,Z,F,j,n,W,m]),K=(0,s.useMemo)(()=>{let e=[{key:"chat",name:w("chat_online"),icon:(0,r.jsx)(G(),{src:"/chat"===b?"/pictures/chat_active.png":"/pictures/chat.png",alt:"chat_image",width:40,height:40},"image_chat"),path:"/chat",isActive:b.startsWith("/chat")},{key:"explore",name:w("explore"),isActive:"/"===b,icon:(0,r.jsx)(G(),{src:"/"===b?"/pictures/explore_active.png":"/pictures/explore.png",alt:"construct_image",width:40,height:40},"image_explore"),path:"/"},{key:"construct",name:w("construct"),isActive:b.startsWith("/construct"),icon:(0,r.jsx)(G(),{src:b.startsWith("/construct")?"/pictures/app_active.png":"/pictures/app.png",alt:"construct_image",width:40,height:40},"image_construct"),path:"/construct/app"}];return V&&e.push({key:"evaluation",name:"场景评测",icon:(0,r.jsx)(G(),{src:b.startsWith("/evaluation")?"/pictures/app_active.png":"/pictures/app.png",alt:"construct_image",width:40,height:40},"image_construct"),path:"/evaluation",isActive:"/evaluation"===b}),e},[w,b,V]);return((0,s.useMemo)(()=>$.map(e=>({key:e.key,label:(0,r.jsxs)(H(),{href:e.path,className:"text-base",children:[e.icon,(0,r.jsx)("span",{className:"ml-2 text-sm",children:e.name})]})})),[$]),(0,s.useMemo)(()=>X.filter(e=>!e.noDropdownItem).map(e=>({key:e.key,label:(0,r.jsxs)("div",{className:"text-base",onClick:e.onClick,children:[e.icon,(0,r.jsx)("span",{className:"ml-2 text-sm",children:e.name})]})})),[X]),(0,s.useMemo)(()=>K.map(e=>({key:e.key,label:(0,r.jsxs)(H(),{href:e.path,className:"text-base",children:[e.icon,(0,r.jsx)("span",{className:"ml-2 text-sm",children:e.name})]})})),[K]),(0,s.useCallback)(n=>{v.default.confirm({title:"Delete Chat",content:"Are you sure delete this chat?",width:"276px",centered:!0,onOk:()=>new Promise(async(r,o)=>{try{let[i]=await (0,T.Vx)((0,T.MX)(n.conv_uid));if(i){o();return}y.ZP.success("success"),a(),n.chat_mode===t&&n.conv_uid===e&&U("/"),r()}catch(e){o()}})})},[e,a,U,t]),(0,s.useCallback)(e=>{let t=D()("".concat(location.origin,"/chat?scene=").concat(e.chat_mode,"&id=").concat(e.conv_uid));y.ZP[t?"success":"error"](t?"Copy success":"Copy failed")},[]),(0,s.useEffect)(()=>{let e=F.language;"zh"===e&&x().locale("zh-cn"),"en"===e&&x().locale("en")},[]),(0,s.useEffect)(()=>{k("dark"===_?"/logo_s_latest.png":"/logo_zh_latest.png")},[_]),n)?(0,r.jsxs)("div",{className:"flex flex-col justify-between h-screen px-4 pt-4 bg-bar dark:bg-[#232734] animate-fade animate-duration-300",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(H(),{href:"/",className:"flex items-center justify-center p-2 pb-4",children:(0,r.jsx)(G(),{src:n?Y:"/LOGO_SMALL.png",alt:"DB-GPT",width:180,height:40})}),(0,r.jsx)("div",{className:"flex flex-col gap-4",children:K.map(e=>(0,r.jsxs)(H(),{href:e.path,className:c()("flex items-center w-full h-12 px-4 cursor-pointer hover:bg-[#F1F5F9] dark:hover:bg-theme-dark hover:rounded-xl",{"bg-white rounded-xl dark:bg-black":e.isActive}),children:[(0,r.jsx)("div",{className:"mr-3",children:e.icon}),(0,r.jsx)("span",{className:"text-sm",children:w(e.name)})]},e.key))})]}),(0,r.jsxs)("div",{className:"pt-4",children:[(0,r.jsx)("span",{className:c()("flex items-center w-full h-12 px-4 bg-[#F1F5F9] dark:bg-theme-dark rounded-xl"),children:(0,r.jsx)("div",{className:"mr-3 w-full",children:(0,r.jsx)(u,{})})}),(0,r.jsx)("div",{className:"flex items-center justify-around py-4 mt-2 border-t border-dashed border-gray-200 dark:border-gray-700",children:X.map(e=>(0,r.jsx)("div",{children:(0,r.jsx)(M.Z,{content:e.name,children:(0,r.jsx)("div",{className:"flex-1 flex items-center justify-center cursor-pointer text-xl",onClick:e.onClick,children:e.icon})})},e.key))})]})]}):(0,r.jsxs)("div",{className:"flex flex-col justify-between pt-4 h-screen bg-bar dark:bg-[#232734] animate-fade animate-duration-300",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(H(),{href:"/",className:"flex justify-center items-center pb-4",children:(0,r.jsx)(G(),{src:n?Y:"/LOGO_SMALL.png",alt:"DB-GPT",width:40,height:40})}),(0,r.jsx)("div",{className:"flex flex-col gap-4 items-center",children:K.map(e=>(0,r.jsx)(H(),{className:"h-12 flex items-center",href:e.path,children:null==e?void 0:e.icon},e.key))})]}),(0,r.jsxs)("div",{className:"py-4",children:[(0,r.jsx)(u,{onlyAvatar:!0}),X.filter(e=>e.noDropdownItem).map(e=>(0,r.jsx)(P.Z,{title:e.name,placement:"right",children:(0,r.jsx)("div",{className:"flex items-center justify-center mx-auto rounded w-14 h-14 text-xl hover:bg-[#F1F5F9] dark:hover:bg-theme-dark transition-colors cursor-pointer ".concat(""),onClick:e.onClick,children:e.icon})},e.key))]})]})},k=n(72178),V=n(38678),$=n(34484),W=n(28529),Z=n(73098),j=n(91466),X=n(88233),K=n(83168),z=n(82650),J=n(80298),q=n(51084);let Q=(e,t)=>new q.C(e).setAlpha(t).toRgbString(),ee=(e,t)=>{let n=new q.C(e);return n.lighten(t).toHexString()},et=e=>{let t=(0,z.R_)(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},en=(e,t)=>{let n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:Q(r,.85),colorTextSecondary:Q(r,.65),colorTextTertiary:Q(r,.45),colorTextQuaternary:Q(r,.25),colorFill:Q(r,.18),colorFillSecondary:Q(r,.12),colorFillTertiary:Q(r,.08),colorFillQuaternary:Q(r,.04),colorBgElevated:ee(n,12),colorBgContainer:ee(n,8),colorBgLayout:ee(n,0),colorBgSpotlight:ee(n,26),colorBgBlur:Q(r,.04),colorBorder:ee(n,26),colorBorderSecondary:ee(n,19)}};var er={defaultConfig:j.u_,defaultSeed:j.u_.token,useToken:function(){let[e,t,n]=(0,Z.ZP)();return{theme:e,token:t,hashId:n}},defaultAlgorithm:V.Z,darkAlgorithm:(e,t)=>{let n=Object.keys($.M).map(t=>{let n=(0,z.R_)(e[t],{theme:"dark"});return 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),{}),r=null!=t?t:(0,V.Z)(e);return Object.assign(Object.assign(Object.assign({},r),n),(0,J.Z)(e,{generateColorPalettes:et,generateNeutralColorPalettes:en}))},compactAlgorithm:(e,t)=>{let n=null!=t?t:(0,V.Z)(e),r=n.fontSizeSM,o=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){let{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}(null!=t?t:e)),(0,K.Z)(r)),{controlHeight:o}),(0,X.Z)(Object.assign(Object.assign({},n),{controlHeight:o})))},getDesignToken:e=>{let t=(null==e?void 0:e.algorithm)?(0,k.jG)(e.algorithm):(0,k.jG)(V.Z),n=Object.assign(Object.assign({},$.Z),null==e?void 0:e.token);return(0,k.t2)(n,{override:null==e?void 0:e.token},t,W.Z)}},eo=n(42518),ei=n(95891),ea=n(77279),es=n(77823),el={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},eE=s.forwardRef(function(e,t){return s.createElement(m.Z,(0,h.Z)({},e,{ref:t,icon:el}))}),ec=n(50374),eu=n(89928),eT=()=>(0,r.jsx)(eu.Z.Group,{trigger:"hover",icon:(0,r.jsx)(eE,{}),children:(0,r.jsx)(eu.Z,{icon:(0,r.jsx)(ec.Z,{}),href:"http://docs.dbgpt.cn",target:"_blank",tooltip:"Doucuments"})});n(33573),n(3508),n(65155);var ed=n(20321),eR=n.n(ed),ef=n(75299);let eA=(e,t)=>({...er.darkAlgorithm(e,t),colorBgBase:"#232734",colorBorder:"#828282",colorBgContainer:"#232734"});function eS(e){let{children:t}=e,{mode:n}=(0,s.useContext)(o.p),{i18n:a}=(0,l.$G)();return(0,s.useEffect)(()=>{if(n){var e,t,r,o,i,a;null===(e=document.body)||void 0===e||null===(t=e.classList)||void 0===t||t.add(n),"light"===n?null===(r=document.body)||void 0===r||null===(o=r.classList)||void 0===o||o.remove("dark"):null===(i=document.body)||void 0===i||null===(a=i.classList)||void 0===a||a.remove("light")}},[n]),(0,s.useEffect)(()=>{a.changeLanguage&&a.changeLanguage(window.localStorage.getItem(i.Yl)||"zh")},[a]),(0,r.jsx)("div",{children:t})}function eO(e){let{children:t}=e,{isMenuExpand:n,mode:a}=(0,s.useContext)(o.p),{i18n:E}=(0,l.$G)(),[u,T]=(0,s.useState)(!1),d=(0,B.useRouter)(),R=async()=>{if(T(!1),localStorage.getItem(i.C9)){T(!0);return}ef.env.GET_USER_URL,ef.env.LOGIN_URL;var e={user_channel:"sys",user_no:"dbgpt",nick_name:" "};e&&(localStorage.setItem(i.C9,JSON.stringify(e)),localStorage.setItem(i.Sc,Date.now().toString()),T(!0))};return((0,s.useEffect)(()=>{R()},[]),u)?(0,r.jsx)(eo.ZP,{locale:"en"===E.language?ea.Z:es.Z,theme:{token:{colorPrimary:"#0C75FC",borderRadius:4},algorithm:"dark"===a?eA:void 0},children:(0,r.jsx)(ei.Z,{children:d.pathname.includes("mobile")?(0,r.jsx)(r.Fragment,{children:t}):(0,r.jsxs)("div",{className:"flex w-screen h-screen overflow-hidden",children:[(0,r.jsx)(eR(),{children:(0,r.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width, maximum-scale-1"})}),"/construct/app/extra"!==d.pathname&&(0,r.jsx)("div",{className:c()("transition-[width]",n?"w-60":"w-20","hidden","md:block"),children:(0,r.jsx)(Y,{})}),(0,r.jsx)("div",{className:"flex flex-col flex-1 relative overflow-hidden",children:t}),(0,r.jsx)(eT,{})]})})}):null}var ep=function(e){let{Component:t,pageProps:n}=e;return(0,r.jsx)(o.R,{children:(0,r.jsx)(eS,{children:(0,r.jsx)(eO,{children:(0,r.jsx)(t,{...n})})})})}},27250:function(e,t,n){"use strict";n.d(t,{Hf:function(){return r},Me:function(){return o},S$:function(){return i}});let r={proxyllm:{label:"Proxy LLM",icon:"/models/chatgpt.png"},"flan-t5-base":{label:"flan-t5-base",icon:"/models/google.png"},"vicuna-13b":{label:"vicuna-13b",icon:"/models/vicuna.jpeg"},"vicuna-7b":{label:"vicuna-7b",icon:"/models/vicuna.jpeg"},"vicuna-13b-v1.5":{label:"vicuna-13b-v1.5",icon:"/models/vicuna.jpeg"},"vicuna-7b-v1.5":{label:"vicuna-7b-v1.5",icon:"/models/vicuna.jpeg"},"codegen2-1b":{label:"codegen2-1B",icon:"/models/vicuna.jpeg"},"codet5p-2b":{label:"codet5p-2b",icon:"/models/vicuna.jpeg"},"chatglm-6b-int4":{label:"chatglm-6b-int4",icon:"/models/chatglm.png"},"chatglm-6b":{label:"chatglm-6b",icon:"/models/chatglm.png"},"chatglm2-6b":{label:"chatglm2-6b",icon:"/models/chatglm.png"},"chatglm2-6b-int4":{label:"chatglm2-6b-int4",icon:"/models/chatglm.png"},"guanaco-33b-merged":{label:"guanaco-33b-merged",icon:"/models/huggingface.svg"},"falcon-40b":{label:"falcon-40b",icon:"/models/falcon.jpeg"},"gorilla-7b":{label:"gorilla-7b",icon:"/models/gorilla.png"},"gptj-6b":{label:"ggml-gpt4all-j-v1.3-groovy.bin",icon:""},chatgpt_proxyllm:{label:"chatgpt_proxyllm",icon:"/models/chatgpt.png"},bard_proxyllm:{label:"bard_proxyllm",icon:"/models/bard.gif"},claude_proxyllm:{label:"claude_proxyllm",icon:"/models/claude.png"},wenxin_proxyllm:{label:"wenxin_proxyllm",icon:""},tongyi_proxyllm:{label:"tongyi_proxyllm",icon:"/models/qwen2.png"},zhipu_proxyllm:{label:"zhipu_proxyllm",icon:"/models/zhipu.png"},yi_proxyllm:{label:"yi_proxyllm",icon:"/models/yi.svg"},"yi-34b-chat":{label:"yi-34b-chat",icon:"/models/yi.svg"},"yi-34b-chat-8bits":{label:"yi-34b-chat-8bits",icon:"/models/yi.svg"},"yi-34b-chat-4bits":{label:"yi-34b-chat-4bits",icon:"/models/yi.svg"},"yi-6b-chat":{label:"yi-6b-chat",icon:"/models/yi.svg"},bailing_proxyllm:{label:"bailing_proxyllm",icon:"/models/bailing.svg"},antglm_proxyllm:{label:"antglm_proxyllm",icon:"/models/huggingface.svg"},chatglm_proxyllm:{label:"chatglm_proxyllm",icon:"/models/chatglm.png"},qwen7b_proxyllm:{label:"qwen7b_proxyllm",icon:"/models/tongyi.apng"},qwen72b_proxyllm:{label:"qwen72b_proxyllm",icon:"/models/qwen2.png"},qwen110b_proxyllm:{label:"qwen110b_proxyllm",icon:"/models/qwen2.png"},"llama-2-7b":{label:"Llama-2-7b-chat-hf",icon:"/models/llama.jpg"},"llama-2-13b":{label:"Llama-2-13b-chat-hf",icon:"/models/llama.jpg"},"llama-2-70b":{label:"Llama-2-70b-chat-hf",icon:"/models/llama.jpg"},"baichuan-13b":{label:"Baichuan-13B-Chat",icon:"/models/baichuan.png"},"baichuan-7b":{label:"baichuan-7b",icon:"/models/baichuan.png"},"baichuan2-7b":{label:"Baichuan2-7B-Chat",icon:"/models/baichuan.png"},"baichuan2-13b":{label:"Baichuan2-13B-Chat",icon:"/models/baichuan.png"},"wizardlm-13b":{label:"WizardLM-13B-V1.2",icon:"/models/wizardlm.png"},"llama-cpp":{label:"ggml-model-q4_0.bin",icon:"/models/huggingface.svg"},"internlm-7b":{label:"internlm-chat-7b-v1_1",icon:"/models/internlm.png"},"internlm-7b-8k":{label:"internlm-chat-7b-8k",icon:"/models/internlm.png"},"solar-10.7b-instruct-v1.0":{label:"solar-10.7b-instruct-v1.0",icon:"/models/solar_logo.png"},bailing_65b_v21_0520_proxyllm:{label:"bailing_65b_v21_0520_proxyllm",icon:"/models/bailing.svg"}},o={proxyllm:"/models/chatgpt.png",qwen:"/models/qwen2.png",bailing:"/models/bailing.svg",antglm:"/models/huggingface.svg",chatgpt:"/models/chatgpt.png",vicuna:"/models/vicuna.jpeg",flan:"/models/google.png",code:"/models/vicuna.jpeg",chatglm:"/models/chatglm.png",guanaco:"/models/huggingface.svg",gorilla:"/models/gorilla.png",gptj:"/models/huggingface.svg",bard:"/models/bard.gif",claude:"/models/claude.png",wenxin:"/models/huggingface.svg",tongyi:"/models/qwen2.png",zhipu:"/models/zhipu.png",llama:"/models/llama.jpg",baichuan:"/models/baichuan.png",wizardlm:"/models/wizardlm.png",internlm:"/models/internlm.png",solar:"/models/solar_logo.png"},i={mysql:{label:"MySQL",icon:"/icons/mysql.png",desc:"Fast, reliable, scalable open-source relational database management system."},oceanbase:{label:"OceanBase",icon:"/icons/oceanbase.png",desc:"An Ultra-Fast & Cost-Effective Distributed SQL Database."},mssql:{label:"MSSQL",icon:"/icons/mssql.png",desc:"Powerful, scalable, secure relational database system by Microsoft."},duckdb:{label:"DuckDB",icon:"/icons/duckdb.png",desc:"In-memory analytical database with efficient query processing."},sqlite:{label:"Sqlite",icon:"/icons/sqlite.png",desc:"Lightweight embedded relational database with simplicity and portability."},clickhouse:{label:"ClickHouse",icon:"/icons/clickhouse.png",desc:"Columnar database for high-performance analytics and real-time queries."},oracle:{label:"Oracle",icon:"/icons/oracle.png",desc:"Robust, scalable, secure relational database widely used in enterprises."},access:{label:"Access",icon:"/icons/access.png",desc:"Easy-to-use relational database for small-scale applications by Microsoft."},mongodb:{label:"MongoDB",icon:"/icons/mongodb.png",desc:"Flexible, scalable NoSQL document database for web and mobile apps."},doris:{label:"ApacheDoris",icon:"/icons/doris.png",desc:"A new-generation open-source real-time data warehouse."},starrocks:{label:"StarRocks",icon:"/icons/starrocks.png",desc:"An Open-Source, High-Performance Analytical Database."},db2:{label:"DB2",icon:"/icons/db2.png",desc:"Scalable, secure relational database system developed by IBM."},hbase:{label:"HBase",icon:"/icons/hbase.png",desc:"Distributed, scalable NoSQL database for large structured/semi-structured data."},redis:{label:"Redis",icon:"/icons/redis.png",desc:"Fast, versatile in-memory data structure store as cache, DB, or broker."},cassandra:{label:"Cassandra",icon:"/icons/cassandra.png",desc:"Scalable, fault-tolerant distributed NoSQL database for large data."},couchbase:{label:"Couchbase",icon:"/icons/couchbase.png",desc:"High-performance NoSQL document database with distributed architecture."},omc:{label:"Omc",icon:"/icons/odc.png",desc:"Omc meta data."},postgresql:{label:"PostgreSQL",icon:"/icons/postgresql.png",desc:"Powerful open-source relational database with extensibility and SQL standards."},vertica:{label:"Vertica",icon:"/icons/vertica.png",desc:"Vertica is a strongly consistent, ACID-compliant, SQL data warehouse, built for the scale and complexity of today’s data-driven world."},spark:{label:"Spark",icon:"/icons/spark.png",desc:"Unified engine for large-scale data analytics."},hive:{label:"Hive",icon:"/icons/hive.png",desc:"A distributed fault-tolerant data warehouse system."},space:{label:"Space",icon:"/icons/knowledge.png",desc:"knowledge analytics."},tugraph:{label:"TuGraph",icon:"/icons/tugraph.png",desc:"TuGraph is a high-performance graph database jointly developed by Ant Group and Tsinghua University."}}},88506:function(e,t,n){"use strict";var r,o;n.d(t,{gp:function(){return c},rU:function(){return s},Yl:function(){return a},he:function(){return i},C9:function(){return l},Sc:function(){return E}});let i="__db_gpt_theme_key",a="__db_gpt_lng_key",s="__db_gpt_im_key",l="__db_gpt_uinfo_key",E="__db_gpt_uinfo_vt_key";(o=r||(r={}))[o.NO_PERMISSION=-1]="NO_PERMISSION",o[o.SERVICE_ERROR=-2]="SERVICE_ERROR",o[o.INVALID=-3]="INVALID",o[o.IS_EXITS=-4]="IS_EXITS",o[o.MISSING_PARAMETER=-5]="MISSING_PARAMETER";let c="user-id"},7289:function(e,t,n){"use strict";let r,o,i;n.d(t,{zN:function(){return rr},Hf:function(){return rt.Hf},rU:function(){return rn},S$:function(){return rt.S$},_m:function(){return ro},a_:function(){return n9},n5:function(){return re}});var a,s,l,E={};n.r(E),n.d(E,{bigquery:function(){return F},db2:function(){return X},hive:function(){return er},mariadb:function(){return eT},mysql:function(){return eI},n1ql:function(){return eP},plsql:function(){return eH},postgresql:function(){return eX},redshift:function(){return e4},singlestoredb:function(){return tj},snowflake:function(){return t2},spark:function(){return tn},sql:function(){return tN},sqlite:function(){return tu},transactsql:function(){return tF},trino:function(){return ty}}),(a=r||(r={})).QUOTED_IDENTIFIER="QUOTED_IDENTIFIER",a.IDENTIFIER="IDENTIFIER",a.STRING="STRING",a.VARIABLE="VARIABLE",a.RESERVED_KEYWORD="RESERVED_KEYWORD",a.RESERVED_FUNCTION_NAME="RESERVED_FUNCTION_NAME",a.RESERVED_PHRASE="RESERVED_PHRASE",a.RESERVED_SET_OPERATION="RESERVED_SET_OPERATION",a.RESERVED_CLAUSE="RESERVED_CLAUSE",a.RESERVED_SELECT="RESERVED_SELECT",a.RESERVED_JOIN="RESERVED_JOIN",a.ARRAY_IDENTIFIER="ARRAY_IDENTIFIER",a.ARRAY_KEYWORD="ARRAY_KEYWORD",a.CASE="CASE",a.END="END",a.WHEN="WHEN",a.ELSE="ELSE",a.THEN="THEN",a.LIMIT="LIMIT",a.BETWEEN="BETWEEN",a.AND="AND",a.OR="OR",a.XOR="XOR",a.OPERATOR="OPERATOR",a.COMMA="COMMA",a.ASTERISK="ASTERISK",a.DOT="DOT",a.OPEN_PAREN="OPEN_PAREN",a.CLOSE_PAREN="CLOSE_PAREN",a.LINE_COMMENT="LINE_COMMENT",a.BLOCK_COMMENT="BLOCK_COMMENT",a.NUMBER="NUMBER",a.NAMED_PARAMETER="NAMED_PARAMETER",a.QUOTED_PARAMETER="QUOTED_PARAMETER",a.NUMBERED_PARAMETER="NUMBERED_PARAMETER",a.POSITIONAL_PARAMETER="POSITIONAL_PARAMETER",a.CUSTOM_PARAMETER="CUSTOM_PARAMETER",a.DELIMITER="DELIMITER",a.EOF="EOF";let c=e=>({type:r.EOF,raw:"\xabEOF\xbb",text:"\xabEOF\xbb",start:e}),u=c(1/0),T=e=>t=>t.type===e.type&&t.text===e.text,d={ARRAY:T({text:"ARRAY",type:r.RESERVED_KEYWORD}),BY:T({text:"BY",type:r.RESERVED_KEYWORD}),SET:T({text:"SET",type:r.RESERVED_CLAUSE}),STRUCT:T({text:"STRUCT",type:r.RESERVED_KEYWORD}),WINDOW:T({text:"WINDOW",type:r.RESERVED_CLAUSE})},R=e=>e===r.RESERVED_KEYWORD||e===r.RESERVED_FUNCTION_NAME||e===r.RESERVED_PHRASE||e===r.RESERVED_CLAUSE||e===r.RESERVED_SELECT||e===r.RESERVED_SET_OPERATION||e===r.RESERVED_JOIN||e===r.ARRAY_KEYWORD||e===r.CASE||e===r.END||e===r.WHEN||e===r.ELSE||e===r.THEN||e===r.LIMIT||e===r.BETWEEN||e===r.AND||e===r.OR||e===r.XOR,f=e=>e===r.AND||e===r.OR||e===r.XOR,A=e=>e.flatMap(S),S=e=>h(I(e)).map(e=>e.trim()),O=/[^[\]{}]+/y,p=/\{.*?\}/y,N=/\[.*?\]/y,I=e=>{let t=0,n=[];for(;te.trim());n.push(["",...e]),t+=o[0].length}p.lastIndex=t;let i=p.exec(e);if(i){let e=i[0].slice(1,-1).split("|").map(e=>e.trim());n.push(e),t+=i[0].length}if(!r&&!o&&!i)throw Error(`Unbalanced parenthesis in: ${e}`)}return n},h=([e,...t])=>void 0===e?[""]:h(t).flatMap(t=>e.map(e=>e.trim()+" "+t.trim())),_=e=>[...new Set(e)],m=e=>e[e.length-1],C=e=>e.sort((e,t)=>t.length-e.length||e.localeCompare(t)),g=e=>e.reduce((e,t)=>Math.max(e,t.length),0),L=e=>e.replace(/\s+/gu," "),v=e=>_(Object.values(e).flat()),y=e=>/\n/.test(e),P=v({keywords:["ALL","AND","ANY","ARRAY","AS","ASC","ASSERT_ROWS_MODIFIED","AT","BETWEEN","BY","CASE","CAST","COLLATE","CONTAINS","CREATE","CROSS","CUBE","CURRENT","DEFAULT","DEFINE","DESC","DISTINCT","ELSE","END","ENUM","ESCAPE","EXCEPT","EXCLUDE","EXISTS","EXTRACT","FALSE","FETCH","FOLLOWING","FOR","FROM","FULL","GROUP","GROUPING","GROUPS","HASH","HAVING","IF","IGNORE","IN","INNER","INTERSECT","INTERVAL","INTO","IS","JOIN","LATERAL","LEFT","LIKE","LIMIT","LOOKUP","MERGE","NATURAL","NEW","NO","NOT","NULL","NULLS","OF","ON","OR","ORDER","OUTER","OVER","PARTITION","PRECEDING","PROTO","RANGE","RECURSIVE","RESPECT","RIGHT","ROLLUP","ROWS","SELECT","SET","SOME","STRUCT","TABLE","TABLESAMPLE","THEN","TO","TREAT","TRUE","UNBOUNDED","UNION","UNNEST","USING","WHEN","WHERE","WINDOW","WITH","WITHIN"],datatypes:["ARRAY","BOOL","BYTES","DATE","DATETIME","GEOGRAPHY","INTERVAL","INT64","INT","SMALLINT","INTEGER","BIGINT","TINYINT","BYTEINT","NUMERIC","DECIMAL","BIGNUMERIC","BIGDECIMAL","FLOAT64","STRING","STRUCT","TIME","TIMEZONE"],stringFormat:["HEX","BASEX","BASE64M","ASCII","UTF-8","UTF8"],misc:["SAFE"],ddl:["LIKE","COPY","CLONE","IN","OUT","INOUT","RETURNS","LANGUAGE","CASCADE","RESTRICT","DETERMINISTIC"]}),M=v({aead:["KEYS.NEW_KEYSET","KEYS.ADD_KEY_FROM_RAW_BYTES","AEAD.DECRYPT_BYTES","AEAD.DECRYPT_STRING","AEAD.ENCRYPT","KEYS.KEYSET_CHAIN","KEYS.KEYSET_FROM_JSON","KEYS.KEYSET_TO_JSON","KEYS.ROTATE_KEYSET","KEYS.KEYSET_LENGTH"],aggregateAnalytic:["ANY_VALUE","ARRAY_AGG","AVG","CORR","COUNT","COUNTIF","COVAR_POP","COVAR_SAMP","MAX","MIN","ST_CLUSTERDBSCAN","STDDEV_POP","STDDEV_SAMP","STRING_AGG","SUM","VAR_POP","VAR_SAMP"],aggregate:["ANY_VALUE","ARRAY_AGG","ARRAY_CONCAT_AGG","AVG","BIT_AND","BIT_OR","BIT_XOR","COUNT","COUNTIF","LOGICAL_AND","LOGICAL_OR","MAX","MIN","STRING_AGG","SUM"],approximateAggregate:["APPROX_COUNT_DISTINCT","APPROX_QUANTILES","APPROX_TOP_COUNT","APPROX_TOP_SUM"],array:["ARRAY_CONCAT","ARRAY_LENGTH","ARRAY_TO_STRING","GENERATE_ARRAY","GENERATE_DATE_ARRAY","GENERATE_TIMESTAMP_ARRAY","ARRAY_REVERSE","OFFSET","SAFE_OFFSET","ORDINAL","SAFE_ORDINAL"],bitwise:["BIT_COUNT"],conversion:["PARSE_BIGNUMERIC","PARSE_NUMERIC","SAFE_CAST"],date:["CURRENT_DATE","EXTRACT","DATE","DATE_ADD","DATE_SUB","DATE_DIFF","DATE_TRUNC","DATE_FROM_UNIX_DATE","FORMAT_DATE","LAST_DAY","PARSE_DATE","UNIX_DATE"],datetime:["CURRENT_DATETIME","DATETIME","EXTRACT","DATETIME_ADD","DATETIME_SUB","DATETIME_DIFF","DATETIME_TRUNC","FORMAT_DATETIME","LAST_DAY","PARSE_DATETIME"],debugging:["ERROR"],federatedQuery:["EXTERNAL_QUERY"],geography:["S2_CELLIDFROMPOINT","S2_COVERINGCELLIDS","ST_ANGLE","ST_AREA","ST_ASBINARY","ST_ASGEOJSON","ST_ASTEXT","ST_AZIMUTH","ST_BOUNDARY","ST_BOUNDINGBOX","ST_BUFFER","ST_BUFFERWITHTOLERANCE","ST_CENTROID","ST_CENTROID_AGG","ST_CLOSESTPOINT","ST_CLUSTERDBSCAN","ST_CONTAINS","ST_CONVEXHULL","ST_COVEREDBY","ST_COVERS","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DUMP","ST_DWITHIN","ST_ENDPOINT","ST_EQUALS","ST_EXTENT","ST_EXTERIORRING","ST_GEOGFROM","ST_GEOGFROMGEOJSON","ST_GEOGFROMTEXT","ST_GEOGFROMWKB","ST_GEOGPOINT","ST_GEOGPOINTFROMGEOHASH","ST_GEOHASH","ST_GEOMETRYTYPE","ST_INTERIORRINGS","ST_INTERSECTION","ST_INTERSECTS","ST_INTERSECTSBOX","ST_ISCOLLECTION","ST_ISEMPTY","ST_LENGTH","ST_MAKELINE","ST_MAKEPOLYGON","ST_MAKEPOLYGONORIENTED","ST_MAXDISTANCE","ST_NPOINTS","ST_NUMGEOMETRIES","ST_NUMPOINTS","ST_PERIMETER","ST_POINTN","ST_SIMPLIFY","ST_SNAPTOGRID","ST_STARTPOINT","ST_TOUCHES","ST_UNION","ST_UNION_AGG","ST_WITHIN","ST_X","ST_Y"],hash:["FARM_FINGERPRINT","MD5","SHA1","SHA256","SHA512"],hll:["HLL_COUNT.INIT","HLL_COUNT.MERGE","HLL_COUNT.MERGE_PARTIAL","HLL_COUNT.EXTRACT"],interval:["MAKE_INTERVAL","EXTRACT","JUSTIFY_DAYS","JUSTIFY_HOURS","JUSTIFY_INTERVAL"],json:["JSON_EXTRACT","JSON_QUERY","JSON_EXTRACT_SCALAR","JSON_VALUE","JSON_EXTRACT_ARRAY","JSON_QUERY_ARRAY","JSON_EXTRACT_STRING_ARRAY","JSON_VALUE_ARRAY","TO_JSON_STRING"],math:["ABS","SIGN","IS_INF","IS_NAN","IEEE_DIVIDE","RAND","SQRT","POW","POWER","EXP","LN","LOG","LOG10","GREATEST","LEAST","DIV","SAFE_DIVIDE","SAFE_MULTIPLY","SAFE_NEGATE","SAFE_ADD","SAFE_SUBTRACT","MOD","ROUND","TRUNC","CEIL","CEILING","FLOOR","COS","COSH","ACOS","ACOSH","SIN","SINH","ASIN","ASINH","TAN","TANH","ATAN","ATANH","ATAN2","RANGE_BUCKET"],navigation:["FIRST_VALUE","LAST_VALUE","NTH_VALUE","LEAD","LAG","PERCENTILE_CONT","PERCENTILE_DISC"],net:["NET.IP_FROM_STRING","NET.SAFE_IP_FROM_STRING","NET.IP_TO_STRING","NET.IP_NET_MASK","NET.IP_TRUNC","NET.IPV4_FROM_INT64","NET.IPV4_TO_INT64","NET.HOST","NET.PUBLIC_SUFFIX","NET.REG_DOMAIN"],numbering:["RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","NTILE","ROW_NUMBER"],security:["SESSION_USER"],statisticalAggregate:["CORR","COVAR_POP","COVAR_SAMP","STDDEV_POP","STDDEV_SAMP","STDDEV","VAR_POP","VAR_SAMP","VARIANCE"],string:["ASCII","BYTE_LENGTH","CHAR_LENGTH","CHARACTER_LENGTH","CHR","CODE_POINTS_TO_BYTES","CODE_POINTS_TO_STRING","CONCAT","CONTAINS_SUBSTR","ENDS_WITH","FORMAT","FROM_BASE32","FROM_BASE64","FROM_HEX","INITCAP","INSTR","LEFT","LENGTH","LPAD","LOWER","LTRIM","NORMALIZE","NORMALIZE_AND_CASEFOLD","OCTET_LENGTH","REGEXP_CONTAINS","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","REPLACE","REPEAT","REVERSE","RIGHT","RPAD","RTRIM","SAFE_CONVERT_BYTES_TO_STRING","SOUNDEX","SPLIT","STARTS_WITH","STRPOS","SUBSTR","SUBSTRING","TO_BASE32","TO_BASE64","TO_CODE_POINTS","TO_HEX","TRANSLATE","TRIM","UNICODE","UPPER"],time:["CURRENT_TIME","TIME","EXTRACT","TIME_ADD","TIME_SUB","TIME_DIFF","TIME_TRUNC","FORMAT_TIME","PARSE_TIME"],timestamp:["CURRENT_TIMESTAMP","EXTRACT","STRING","TIMESTAMP","TIMESTAMP_ADD","TIMESTAMP_SUB","TIMESTAMP_DIFF","TIMESTAMP_TRUNC","FORMAT_TIMESTAMP","PARSE_TIMESTAMP","TIMESTAMP_SECONDS","TIMESTAMP_MILLIS","TIMESTAMP_MICROS","UNIX_SECONDS","UNIX_MILLIS","UNIX_MICROS"],uuid:["GENERATE_UUID"],conditional:["COALESCE","IF","IFNULL","NULLIF"],legacyAggregate:["AVG","BIT_AND","BIT_OR","BIT_XOR","CORR","COUNT","COVAR_POP","COVAR_SAMP","EXACT_COUNT_DISTINCT","FIRST","GROUP_CONCAT","GROUP_CONCAT_UNQUOTED","LAST","MAX","MIN","NEST","NTH","QUANTILES","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","TOP","UNIQUE","VARIANCE","VAR_POP","VAR_SAMP"],legacyBitwise:["BIT_COUNT"],legacyCasting:["BOOLEAN","BYTES","CAST","FLOAT","HEX_STRING","INTEGER","STRING"],legacyComparison:["COALESCE","GREATEST","IFNULL","IS_INF","IS_NAN","IS_EXPLICITLY_DEFINED","LEAST","NVL"],legacyDatetime:["CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE","DATE_ADD","DATEDIFF","DAY","DAYOFWEEK","DAYOFYEAR","FORMAT_UTC_USEC","HOUR","MINUTE","MONTH","MSEC_TO_TIMESTAMP","NOW","PARSE_UTC_USEC","QUARTER","SEC_TO_TIMESTAMP","SECOND","STRFTIME_UTC_USEC","TIME","TIMESTAMP","TIMESTAMP_TO_MSEC","TIMESTAMP_TO_SEC","TIMESTAMP_TO_USEC","USEC_TO_TIMESTAMP","UTC_USEC_TO_DAY","UTC_USEC_TO_HOUR","UTC_USEC_TO_MONTH","UTC_USEC_TO_WEEK","UTC_USEC_TO_YEAR","WEEK","YEAR"],legacyIp:["FORMAT_IP","PARSE_IP","FORMAT_PACKED_IP","PARSE_PACKED_IP"],legacyJson:["JSON_EXTRACT","JSON_EXTRACT_SCALAR"],legacyMath:["ABS","ACOS","ACOSH","ASIN","ASINH","ATAN","ATANH","ATAN2","CEIL","COS","COSH","DEGREES","EXP","FLOOR","LN","LOG","LOG2","LOG10","PI","POW","RADIANS","RAND","ROUND","SIN","SINH","SQRT","TAN","TANH"],legacyRegex:["REGEXP_MATCH","REGEXP_EXTRACT","REGEXP_REPLACE"],legacyString:["CONCAT","INSTR","LEFT","LENGTH","LOWER","LPAD","LTRIM","REPLACE","RIGHT","RPAD","RTRIM","SPLIT","SUBSTR","UPPER"],legacyTableWildcard:["TABLE_DATE_RANGE","TABLE_DATE_RANGE_STRICT","TABLE_QUERY"],legacyUrl:["HOST","DOMAIN","TLD"],legacyWindow:["AVG","COUNT","MAX","MIN","STDDEV","SUM","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","RATIO_TO_REPORT","ROW_NUMBER"],legacyMisc:["CURRENT_USER","EVERY","FROM_BASE64","HASH","FARM_FINGERPRINT","IF","POSITION","SHA1","SOME","TO_BASE64"],other:["BQ.JOBS.CANCEL","BQ.REFRESH_MATERIALIZED_VIEW"],ddl:["OPTIONS"],pivot:["PIVOT","UNPIVOT"],dataTypes:["BYTES","NUMERIC","DECIMAL","BIGNUMERIC","BIGDECIMAL","STRING"]}),b=A(["SELECT [ALL | DISTINCT] [AS STRUCT | AS VALUE]"]),D=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","QUALIFY","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","OMIT RECORD IF","INSERT [INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [BY SOURCE | BY TARGET] [THEN]","UPDATE SET","CREATE [OR REPLACE] [MATERIALIZED] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMP|TEMPORARY|SNAPSHOT|EXTERNAL] TABLE [IF NOT EXISTS]","CLUSTER BY","FOR SYSTEM_TIME AS OF","WITH CONNECTION","WITH PARTITION COLUMNS","REMOTE WITH CONNECTION"]),U=A(["UPDATE","DELETE [FROM]","DROP [SNAPSHOT | EXTERNAL] TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","ADD COLUMN [IF NOT EXISTS]","DROP COLUMN [IF EXISTS]","RENAME TO","ALTER COLUMN [IF EXISTS]","SET DEFAULT COLLATE","SET OPTIONS","DROP NOT NULL","SET DATA TYPE","ALTER SCHEMA [IF EXISTS]","ALTER [MATERIALIZED] VIEW [IF EXISTS]","ALTER BI_CAPACITY","TRUNCATE TABLE","CREATE SCHEMA [IF NOT EXISTS]","DEFAULT COLLATE","CREATE [OR REPLACE] [TEMP|TEMPORARY|TABLE] FUNCTION [IF NOT EXISTS]","CREATE [OR REPLACE] PROCEDURE [IF NOT EXISTS]","CREATE [OR REPLACE] ROW ACCESS POLICY [IF NOT EXISTS]","GRANT TO","FILTER USING","CREATE CAPACITY","AS JSON","CREATE RESERVATION","CREATE ASSIGNMENT","CREATE SEARCH INDEX [IF NOT EXISTS]","DROP SCHEMA [IF EXISTS]","DROP [MATERIALIZED] VIEW [IF EXISTS]","DROP [TABLE] FUNCTION [IF EXISTS]","DROP PROCEDURE [IF EXISTS]","DROP ROW ACCESS POLICY","DROP ALL ROW ACCESS POLICIES","DROP CAPACITY [IF EXISTS]","DROP RESERVATION [IF EXISTS]","DROP ASSIGNMENT [IF EXISTS]","DROP SEARCH INDEX [IF EXISTS]","DROP [IF EXISTS]","GRANT","REVOKE","DECLARE","EXECUTE IMMEDIATE","LOOP","END LOOP","REPEAT","END REPEAT","WHILE","END WHILE","BREAK","LEAVE","CONTINUE","ITERATE","FOR","END FOR","BEGIN","BEGIN TRANSACTION","COMMIT TRANSACTION","ROLLBACK TRANSACTION","RAISE","RETURN","CALL","ASSERT","EXPORT DATA"]),x=A(["UNION {ALL | DISTINCT}","EXCEPT DISTINCT","INTERSECT DISTINCT"]),w=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),G=A(["TABLESAMPLE SYSTEM","ANY TYPE","ALL COLUMNS","NOT DETERMINISTIC","{ROWS | RANGE} BETWEEN","IS [NOT] DISTINCT FROM"]),F={tokenizerOptions:{reservedSelect:b,reservedClauses:[...D,...U],reservedSetOperations:x,reservedJoins:w,reservedPhrases:G,reservedKeywords:P,reservedFunctionNames:M,extraParens:["[]"],stringTypes:[{quote:'""".."""',prefixes:["R","B","RB","BR"]},{quote:"'''..'''",prefixes:["R","B","RB","BR"]},'""-bs',"''-bs",{quote:'""-raw',prefixes:["R","B","RB","BR"],requirePrefix:!0},{quote:"''-raw",prefixes:["R","B","RB","BR"],requirePrefix:!0}],identTypes:["``"],identChars:{dashes:!0},paramTypes:{positional:!0,named:["@"],quoted:["@"]},variableTypes:[{regex:String.raw`@@\w+`}],lineCommentTypes:["--","#"],operators:["&","|","^","~",">>","<<","||","=>"],postProcess:function(e){var t;let n;return t=function(e){let t=[];for(let o=0;o"===t.text?n--:">>"===t.text&&(n-=2),0===n)return r}return e.length-1}(e,o+1),a=e.slice(o,n+1);t.push({type:r.IDENTIFIER,raw:a.map(H("raw")).join(""),text:a.map(H("text")).join(""),start:i.start}),o=n}else t.push(i)}return t}(e),n=u,t.map(e=>"OFFSET"===e.text&&"["===n.text?(n=e,{...e,type:r.RESERVED_FUNCTION_NAME}):(n=e,e))}},formatOptions:{onelineClauses:U}},H=e=>t=>t.type===r.IDENTIFIER||t.type===r.COMMA?t[e]+" ":t[e],B=v({aggregate:["ARRAY_AGG","AVG","CORR","CORRELATION","COUNT","COUNT_BIG","COVAR_POP","COVARIANCE","COVAR","COVAR_SAMP","COVARIANCE_SAMP","CUME_DIST","GROUPING","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_ICPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV_POP","STDDEV","STDDEV_SAMP","SUM","VAR_POP","VARIANCE","VAR","VAR_SAMP","VARIANCE_SAMP","XMLAGG"],scalar:["ABS","ABSVAL","ACOS","ADD_DAYS","ADD_MONTHS","ARRAY_DELETE","ARRAY_FIRST","ARRAY_LAST","ARRAY_NEXT","ARRAY_PRIOR","ARRAY_TRIM","ASCII","ASCII_CHR","ASCII_STR","ASCIISTR","ASIN","ATAN","ATANH","ATAN2","BIGINT","BINARY","BITAND","BITANDNOT","BITOR","BITXOR","BITNOT","BLOB","BTRIM","CARDINALITY","CCSID_ENCODING","CEILING","CEIL","CHAR","CHAR9","CHARACTER_LENGTH","CHAR_LENGTH","CHR","CLOB","COALESCE","COLLATION_KEY","COMPARE_DECFLOAT","CONCAT","CONTAINS","COS","COSH","DATE","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFWEEK_ISO","DAYOFYEAR","DAYS","DAYS_BETWEEN","DBCLOB","DECFLOAT","DECFLOAT_FORMAT","DECFLOAT_SORTKEY","DECIMAL","DEC","DECODE","DECRYPT_BINARY","DECRYPT_BIT","DECRYPT_CHAR","DECRYPT_DB","DECRYPT_DATAKEY_BIGINT","DECRYPT_DATAKEY_BIT","DECRYPT_DATAKEY_CLOB","DECRYPT_DATAKEY_DBCLOB","DECRYPT_DATAKEY_DECIMAL","DECRYPT_DATAKEY_INTEGER","DECRYPT_DATAKEY_VARCHAR","DECRYPT_DATAKEY_VARGRAPHIC","DEGREES","DIFFERENCE","DIGITS","DOUBLE_PRECISION","DOUBLE","DSN_XMLVALIDATE","EBCDIC_CHR","EBCDIC_STR","ENCRYPT_DATAKEY","ENCRYPT_TDES","EXP","EXTRACT","FLOAT","FLOOR","GENERATE_UNIQUE","GENERATE_UNIQUE_BINARY","GETHINT","GETVARIABLE","GRAPHIC","GREATEST","HASH","HASH_CRC32","HASH_MD5","HASH_SHA1","HASH_SHA256","HEX","HOUR","IDENTITY_VAL_LOCAL","IFNULL","INSERT","INSTR","INTEGER","INT","JULIAN_DAY","LAST_DAY","LCASE","LEAST","LEFT","LENGTH","LN","LOCATE","LOCATE_IN_STRING","LOG10","LOWER","LPAD","LTRIM","MAX","MAX_CARDINALITY","MICROSECOND","MIDNIGHT_SECONDS","MIN","MINUTE","MOD","MONTH","MONTHS_BETWEEN","MQREAD","MQREADCLOB","MQRECEIVE","MQRECEIVECLOB","MQSEND","MULTIPLY_ALT","NEXT_DAY","NEXT_MONTH","NORMALIZE_DECFLOAT","NORMALIZE_STRING","NULLIF","NVL","OVERLAY","PACK","POSITION","POSSTR","POWER","POW","QUANTIZE","QUARTER","RADIANS","RAISE_ERROR","RANDOM","RAND","REAL","REGEXP_COUNT","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","RID","RIGHT","ROUND","ROUND_TIMESTAMP","ROWID","RPAD","RTRIM","SCORE","SECOND","SIGN","SIN","SINH","SMALLINT","SOUNDEX","SOAPHTTPC","SOAPHTTPV","SOAPHTTPNC","SOAPHTTPNV","SPACE","SQRT","STRIP","STRLEFT","STRPOS","STRRIGHT","SUBSTR","SUBSTRING","TAN","TANH","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIMESTAMP_FORMAT","TIMESTAMP_ISO","TIMESTAMP_TZ","TO_CHAR","TO_CLOB","TO_DATE","TO_NUMBER","TOTALORDER","TO_TIMESTAMP","TRANSLATE","TRIM","TRIM_ARRAY","TRUNCATE","TRUNC","TRUNC_TIMESTAMP","UCASE","UNICODE","UNICODE_STR","UNISTR","UPPER","VALUE","VARBINARY","VARCHAR","VARCHAR9","VARCHAR_BIT_FORMAT","VARCHAR_FORMAT","VARGRAPHIC","VERIFY_GROUP_FOR_USER","VERIFY_ROLE_FOR_USER","VERIFY_TRUSTED_CONTEXT_ROLE_FOR_USER","WEEK","WEEK_ISO","WRAP","XMLATTRIBUTES","XMLCOMMENT","XMLCONCAT","XMLDOCUMENT","XMLELEMENT","XMLFOREST","XMLMODIFY","XMLNAMESPACES","XMLPARSE","XMLPI","XMLQUERY","XMLSERIALIZE","XMLTEXT","XMLXSROBJECTID","XSLTRANSFORM","YEAR"],table:["ADMIN_TASK_LIST","ADMIN_TASK_OUTPUT","ADMIN_TASK_STATUS","BLOCKING_THREADS","MQREADALL","MQREADALLCLOB","MQRECEIVEALL","MQRECEIVEALLCLOB","XMLTABLE"],row:["UNPACK"],olap:["CUME_DIST","PERCENT_RANK","RANK","DENSE_RANK","NTILE","LAG","LEAD","ROW_NUMBER","FIRST_VALUE","LAST_VALUE","NTH_VALUE","RATIO_TO_REPORT"],cast:["CAST"]}),Y=v({standard:["ALL","ALLOCATE","ALLOW","ALTERAND","ANY","AS","ARRAY","ARRAY_EXISTS","ASENSITIVE","ASSOCIATE","ASUTIME","AT","AUDIT","AUX","AUXILIARY","BEFORE","BEGIN","BETWEEN","BUFFERPOOL","BY","CAPTURE","CASCADED","CAST","CCSID","CHARACTER","CHECK","CLONE","CLUSTER","COLLECTION","COLLID","COLUMN","CONDITION","CONNECTION","CONSTRAINT","CONTENT","CONTINUE","CREATE","CUBE","CURRENT","CURRENT_DATE","CURRENT_LC_CTYPE","CURRENT_PATH","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRVAL","CURSOR","DATA","DATABASE","DBINFO","DECLARE","DEFAULT","DESCRIPTOR","DETERMINISTIC","DISABLE","DISALLOW","DISTINCT","DO","DOCUMENT","DSSIZE","DYNAMIC","EDITPROC","ELSE","ELSEIF","ENCODING","ENCRYPTION","ENDING","END-EXEC","ERASE","ESCAPE","EXCEPTION","EXISTS","EXIT","EXTERNAL","FENCED","FIELDPROC","FINAL","FIRST","FOR","FREE","FULL","FUNCTION","GENERATED","GET","GLOBAL","GOTO","GROUP","HANDLER","HOLD","HOURS","IF","IMMEDIATE","IN","INCLUSIVE","INDEX","INHERIT","INNER","INOUT","INSENSITIVE","INTO","IS","ISOBID","ITERATE","JAR","KEEP","KEY","LANGUAGE","LAST","LC_CTYPE","LEAVE","LIKE","LOCAL","LOCALE","LOCATOR","LOCATORS","LOCK","LOCKMAX","LOCKSIZE","LONG","LOOP","MAINTAINED","MATERIALIZED","MICROSECONDS","MINUTEMINUTES","MODIFIES","MONTHS","NEXT","NEXTVAL","NO","NONE","NOT","NULL","NULLS","NUMPARTS","OBID","OF","OLD","ON","OPTIMIZATION","OPTIMIZE","ORDER","ORGANIZATION","OUT","OUTER","PACKAGE","PARAMETER","PART","PADDED","PARTITION","PARTITIONED","PARTITIONING","PATH","PIECESIZE","PERIOD","PLAN","PRECISION","PREVVAL","PRIOR","PRIQTY","PRIVILEGES","PROCEDURE","PROGRAM","PSID","PUBLIC","QUERY","QUERYNO","READS","REFERENCES","RESIGNAL","RESTRICT","RESULT","RESULT_SET_LOCATOR","RETURN","RETURNS","ROLE","ROLLUP","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_HALF_UP","ROUND_UP","ROW","ROWSET","SCHEMA","SCRATCHPAD","SECONDS","SECQTY","SECURITY","SEQUENCE","SENSITIVE","SESSION_USER","SIMPLE","SOME","SOURCE","SPECIFIC","STANDARD","STATIC","STATEMENT","STAY","STOGROUP","STORES","STYLE","SUMMARY","SYNONYM","SYSDATE","SYSTEM","SYSTIMESTAMP","TABLE","TABLESPACE","THEN","TO","TRIGGER","TYPE","UNDO","UNIQUE","UNTIL","USER","USING","VALIDPROC","VARIABLE","VARIANT","VCAT","VERSIONING","VIEW","VOLATILE","VOLUMES","WHILE","WLM","XMLEXISTS","XMLCAST","YEARS","ZONE"]}),k=A(["SELECT [ALL | DISTINCT]"]),V=A(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY [INPUT SEQUENCE]","FETCH FIRST","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","INSERT","CREATE [OR REPLACE] VIEW","CREATE [GLOBAL TEMPORARY] TABLE"]),$=A(["UPDATE","WHERE CURRENT OF","WITH {RR | RS | CS | UR}","DELETE FROM","DROP TABLE [HIERARCHY]","ALTER TABLE","ADD [COLUMN]","DROP [COLUMN]","RENAME [COLUMN]","ALTER [COLUMN]","SET DATA TYPE","SET NOT NULL","DROP {IDENTITY | EXPRESSION | DEFAULT | NOT NULL}","TRUNCATE [TABLE]","SET [CURRENT] SCHEMA","AFTER","GO","ALLOCATE CURSOR","ALTER DATABASE","ALTER FUNCTION","ALTER INDEX","ALTER MASK","ALTER PERMISSION","ALTER PROCEDURE","ALTER SEQUENCE","ALTER STOGROUP","ALTER TABLESPACE","ALTER TRIGGER","ALTER TRUSTED CONTEXT","ALTER VIEW","ASSOCIATE LOCATORS","BEGIN DECLARE SECTION","CALL","CLOSE","COMMENT","COMMIT","CONNECT","CREATE ALIAS","CREATE AUXILIARY TABLE","CREATE DATABASE","CREATE FUNCTION","CREATE GLOBAL TEMPORARY TABLE","CREATE INDEX","CREATE LOB TABLESPACE","CREATE MASK","CREATE PERMISSION","CREATE PROCEDURE","CREATE ROLE","CREATE SEQUENCE","CREATE STOGROUP","CREATE SYNONYM","CREATE TABLESPACE","CREATE TRIGGER","CREATE TRUSTED CONTEXT","CREATE TYPE","CREATE VARIABLE","DECLARE CURSOR","DECLARE GLOBAL TEMPORARY TABLE","DECLARE STATEMENT","DECLARE TABLE","DECLARE VARIABLE","DESCRIBE CURSOR","DESCRIBE INPUT","DESCRIBE OUTPUT","DESCRIBE PROCEDURE","DESCRIBE TABLE","DROP","END DECLARE SECTION","EXCHANGE","EXECUTE","EXECUTE IMMEDIATE","EXPLAIN","FETCH","FREE LOCATOR","GET DIAGNOSTICS","GRANT","HOLD LOCATOR","INCLUDE","LABEL","LOCK TABLE","OPEN","PREPARE","REFRESH","RELEASE","RELEASE SAVEPOINT","RENAME","REVOKE","ROLLBACK","SAVEPOINT","SELECT INTO","SET CONNECTION","SET CURRENT ACCELERATOR","SET CURRENT APPLICATION COMPATIBILITY","SET CURRENT APPLICATION ENCODING SCHEME","SET CURRENT DEBUG MODE","SET CURRENT DECFLOAT ROUNDING MODE","SET CURRENT DEGREE","SET CURRENT EXPLAIN MODE","SET CURRENT GET_ACCEL_ARCHIVE","SET CURRENT LOCALE LC_CTYPE","SET CURRENT MAINTAINED TABLE TYPES FOR OPTIMIZATION","SET CURRENT OPTIMIZATION HINT","SET CURRENT PACKAGE PATH","SET CURRENT PACKAGESET","SET CURRENT PRECISION","SET CURRENT QUERY ACCELERATION","SET CURRENT QUERY ACCELERATION WAITFORDATA","SET CURRENT REFRESH AGE","SET CURRENT ROUTINE VERSION","SET CURRENT RULES","SET CURRENT SQLID","SET CURRENT TEMPORAL BUSINESS_TIME","SET CURRENT TEMPORAL SYSTEM_TIME","SET ENCRYPTION PASSWORD","SET PATH","SET SESSION TIME ZONE","SIGNAL","VALUES INTO","WHENEVER"]),W=A(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),Z=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),j=A(["ON DELETE","ON UPDATE","SET NULL","{ROWS | RANGE} BETWEEN"]),X={tokenizerOptions:{reservedSelect:k,reservedClauses:[...V,...$],reservedSetOperations:W,reservedJoins:Z,reservedPhrases:j,reservedKeywords:Y,reservedFunctionNames:B,stringTypes:[{quote:"''-qq",prefixes:["G","N","U&"]},{quote:"''-raw",prefixes:["X","BX","GX","UX"],requirePrefix:!0}],identTypes:['""-qq'],identChars:{first:"@#$"},paramTypes:{positional:!0,named:[":"]},paramChars:{first:"@#$",rest:"@#$"},operators:["**","\xac=","\xac>","\xac<","!>","!<","||"]},formatOptions:{onelineClauses:$}},K=v({math:["ABS","ACOS","ASIN","ATAN","BIN","BROUND","CBRT","CEIL","CEILING","CONV","COS","DEGREES","EXP","FACTORIAL","FLOOR","GREATEST","HEX","LEAST","LN","LOG","LOG10","LOG2","NEGATIVE","PI","PMOD","POSITIVE","POW","POWER","RADIANS","RAND","ROUND","SHIFTLEFT","SHIFTRIGHT","SHIFTRIGHTUNSIGNED","SIGN","SIN","SQRT","TAN","UNHEX","WIDTH_BUCKET"],array:["ARRAY_CONTAINS","MAP_KEYS","MAP_VALUES","SIZE","SORT_ARRAY"],conversion:["BINARY","CAST"],date:["ADD_MONTHS","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFYEAR","EXTRACT","FROM_UNIXTIME","FROM_UTC_TIMESTAMP","HOUR","LAST_DAY","MINUTE","MONTH","MONTHS_BETWEEN","NEXT_DAY","QUARTER","SECOND","TIMESTAMP","TO_DATE","TO_UTC_TIMESTAMP","TRUNC","UNIX_TIMESTAMP","WEEKOFYEAR","YEAR"],conditional:["ASSERT_TRUE","COALESCE","IF","ISNOTNULL","ISNULL","NULLIF","NVL"],string:["ASCII","BASE64","CHARACTER_LENGTH","CHR","CONCAT","CONCAT_WS","CONTEXT_NGRAMS","DECODE","ELT","ENCODE","FIELD","FIND_IN_SET","FORMAT_NUMBER","GET_JSON_OBJECT","IN_FILE","INITCAP","INSTR","LCASE","LENGTH","LEVENSHTEIN","LOCATE","LOWER","LPAD","LTRIM","NGRAMS","OCTET_LENGTH","PARSE_URL","PRINTF","QUOTE","REGEXP_EXTRACT","REGEXP_REPLACE","REPEAT","REVERSE","RPAD","RTRIM","SENTENCES","SOUNDEX","SPACE","SPLIT","STR_TO_MAP","SUBSTR","SUBSTRING","TRANSLATE","TRIM","UCASE","UNBASE64","UPPER"],masking:["MASK","MASK_FIRST_N","MASK_HASH","MASK_LAST_N","MASK_SHOW_FIRST_N","MASK_SHOW_LAST_N"],misc:["AES_DECRYPT","AES_ENCRYPT","CRC32","CURRENT_DATABASE","CURRENT_USER","HASH","JAVA_METHOD","LOGGED_IN_USER","MD5","REFLECT","SHA","SHA1","SHA2","SURROGATE_KEY","VERSION"],aggregate:["AVG","COLLECT_LIST","COLLECT_SET","CORR","COUNT","COVAR_POP","COVAR_SAMP","HISTOGRAM_NUMERIC","MAX","MIN","NTILE","PERCENTILE","PERCENTILE_APPROX","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],table:["EXPLODE","INLINE","JSON_TUPLE","PARSE_URL_TUPLE","POSEXPLODE","STACK"],window:["LEAD","LAG","FIRST_VALUE","LAST_VALUE","RANK","ROW_NUMBER","DENSE_RANK","CUME_DIST","PERCENT_RANK","NTILE"],dataTypes:["DECIMAL","NUMERIC","VARCHAR","CHAR"]}),z=v({nonReserved:["ADD","ADMIN","AFTER","ANALYZE","ARCHIVE","ASC","BEFORE","BUCKET","BUCKETS","CASCADE","CHANGE","CLUSTER","CLUSTERED","CLUSTERSTATUS","COLLECTION","COLUMNS","COMMENT","COMPACT","COMPACTIONS","COMPUTE","CONCATENATE","CONTINUE","DATA","DATABASES","DATETIME","DAY","DBPROPERTIES","DEFERRED","DEFINED","DELIMITED","DEPENDENCY","DESC","DIRECTORIES","DIRECTORY","DISABLE","DISTRIBUTE","ELEM_TYPE","ENABLE","ESCAPED","EXCLUSIVE","EXPLAIN","EXPORT","FIELDS","FILE","FILEFORMAT","FIRST","FORMAT","FORMATTED","FUNCTIONS","HOLD_DDLTIME","HOUR","IDXPROPERTIES","IGNORE","INDEX","INDEXES","INPATH","INPUTDRIVER","INPUTFORMAT","ITEMS","JAR","KEYS","KEY_TYPE","LIMIT","LINES","LOAD","LOCATION","LOCK","LOCKS","LOGICAL","LONG","MAPJOIN","MATERIALIZED","METADATA","MINUS","MINUTE","MONTH","MSCK","NOSCAN","NO_DROP","OFFLINE","OPTION","OUTPUTDRIVER","OUTPUTFORMAT","OVERWRITE","OWNER","PARTITIONED","PARTITIONS","PLUS","PRETTY","PRINCIPALS","PROTECTION","PURGE","READ","READONLY","REBUILD","RECORDREADER","RECORDWRITER","RELOAD","RENAME","REPAIR","REPLACE","REPLICATION","RESTRICT","REWRITE","ROLE","ROLES","SCHEMA","SCHEMAS","SECOND","SEMI","SERDE","SERDEPROPERTIES","SERVER","SETS","SHARED","SHOW","SHOW_DATABASE","SKEWED","SORT","SORTED","SSL","STATISTICS","STORED","STREAMTABLE","STRING","STRUCT","TABLES","TBLPROPERTIES","TEMPORARY","TERMINATED","TINYINT","TOUCH","TRANSACTIONS","UNARCHIVE","UNDO","UNIONTYPE","UNLOCK","UNSET","UNSIGNED","URI","USE","UTC","UTCTIMESTAMP","VALUE_TYPE","VIEW","WHILE","YEAR","AUTOCOMMIT","ISOLATION","LEVEL","OFFSET","SNAPSHOT","TRANSACTION","WORK","WRITE","ABORT","KEY","LAST","NORELY","NOVALIDATE","NULLS","RELY","VALIDATE","DETAIL","DOW","EXPRESSION","OPERATOR","QUARTER","SUMMARY","VECTORIZATION","WEEK","YEARS","MONTHS","WEEKS","DAYS","HOURS","MINUTES","SECONDS","TIMESTAMPTZ","ZONE"],reserved:["ALL","ALTER","AND","ARRAY","AS","AUTHORIZATION","BETWEEN","BIGINT","BINARY","BOOLEAN","BOTH","BY","CASE","CAST","CHAR","COLUMN","CONF","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIMESTAMP","CURSOR","DATABASE","DATE","DECIMAL","DELETE","DESCRIBE","DISTINCT","DOUBLE","DROP","ELSE","END","EXCHANGE","EXISTS","EXTENDED","EXTERNAL","FALSE","FETCH","FLOAT","FOLLOWING","FOR","FROM","FULL","FUNCTION","GRANT","GROUP","GROUPING","HAVING","IF","IMPORT","IN","INNER","INSERT","INT","INTERSECT","INTERVAL","INTO","IS","JOIN","LATERAL","LEFT","LESS","LIKE","LOCAL","MACRO","MAP","MORE","NONE","NOT","NULL","OF","ON","OR","ORDER","OUT","OUTER","OVER","PARTIALSCAN","PARTITION","PERCENT","PRECEDING","PRESERVE","PROCEDURE","RANGE","READS","REDUCE","REVOKE","RIGHT","ROLLUP","ROW","ROWS","SELECT","SET","SMALLINT","TABLE","TABLESAMPLE","THEN","TIMESTAMP","TO","TRANSFORM","TRIGGER","TRUE","TRUNCATE","UNBOUNDED","UNION","UNIQUEJOIN","UPDATE","USER","USING","UTC_TMESTAMP","VALUES","VARCHAR","WHEN","WHERE","WINDOW","WITH","COMMIT","ONLY","REGEXP","RLIKE","ROLLBACK","START","CACHE","CONSTRAINT","FOREIGN","PRIMARY","REFERENCES","DAYOFWEEK","EXTRACT","FLOOR","INTEGER","PRECISION","VIEWS","TIME","NUMERIC","SYNC"],fileTypes:["TEXTFILE","SEQUENCEFILE","ORC","CSV","TSV","PARQUET","AVRO","RCFILE","JSONFILE","INPUTFORMAT","OUTPUTFORMAT"]}),J=A(["SELECT [ALL | DISTINCT]"]),q=A(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","SORT BY","CLUSTER BY","DISTRIBUTE BY","LIMIT","INSERT INTO [TABLE]","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","INSERT [VALUES]","INSERT OVERWRITE [LOCAL] DIRECTORY","LOAD DATA [LOCAL] INPATH","[OVERWRITE] INTO TABLE","CREATE [MATERIALIZED] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY] [EXTERNAL] TABLE [IF NOT EXISTS]"]),Q=A(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE","RENAME TO","TRUNCATE [TABLE]","ALTER","CREATE","USE","DESCRIBE","DROP","FETCH","SHOW","STORED AS","STORED BY","ROW FORMAT"]),ee=A(["UNION [ALL | DISTINCT]"]),et=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","LEFT SEMI JOIN"]),en=A(["{ROWS | RANGE} BETWEEN"]),er={tokenizerOptions:{reservedSelect:J,reservedClauses:[...q,...Q],reservedSetOperations:ee,reservedJoins:et,reservedPhrases:en,reservedKeywords:z,reservedFunctionNames:K,extraParens:["[]"],stringTypes:['""-bs',"''-bs"],identTypes:["``"],variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||"]},formatOptions:{onelineClauses:Q}},eo=v({all:["ACCESSIBLE","ACCOUNT","ACTION","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","ALL","ALGORITHM","ALTER","ALWAYS","ANALYZE","AND","ANY","AS","ASC","ASCII","ASENSITIVE","AT","ATOMIC","AUTHORS","AUTO_INCREMENT","AUTOEXTEND_SIZE","AUTO","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BODY","BOOL","BOOLEAN","BOTH","BTREE","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHANGE","CHANGED","CHAR","CHARACTER","CHARSET","CHECK","CHECKPOINT","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLOB","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMN_NAME","COLUMNS","COLUMN_ADD","COLUMN_CHECK","COLUMN_CREATE","COLUMN_DELETE","COLUMN_GET","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPRESSED","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONTRIBUTORS","CONVERT","CPU","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_POS","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","CYCLE","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DELETE_DOMAIN_ID","DESC","DESCRIBE","DES_KEY_FILE","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DO_DOMAIN_IDS","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","ELSIF","EMPTY","ENABLE","ENCLOSED","END","ENDS","ENGINE","ENGINES","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXAMINED","EXCEPT","EXCHANGE","EXCLUDE","EXECUTE","EXCEPTION","EXISTS","EXIT","EXPANSION","EXPIRE","EXPORT","EXPLAIN","EXTENDED","EXTENT_SIZE","FALSE","FAST","FAULTS","FEDERATED","FETCH","FIELDS","FILE","FIRST","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GET_FORMAT","GET","GLOBAL","GOTO","GRANT","GRANTS","GROUP","HANDLER","HARD","HASH","HAVING","HELP","HIGH_PRIORITY","HISTORY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORED","IGNORE_DOMAIN_IDS","IGNORE_SERVER_IDS","IMMEDIATE","IMPORT","INTERSECT","IN","INCREMENT","INDEX","INDEXES","INFILE","INITIAL_SIZE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INVISIBLE","INTO","IO","IO_THREAD","IPC","IS","ISOLATION","ISOPEN","ISSUER","ITERATE","INVOKER","JOIN","JSON","JSON_TABLE","KEY","KEYS","KEY_BLOCK_SIZE","KILL","LANGUAGE","LAST","LAST_VALUE","LASTVAL","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKED","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_GTID_POS","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_USER","MASTER_USE_GTID","MASTER_HEARTBEAT_PERIOD","MATCH","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_STATEMENT_TIME","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MAXVALUE","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUS","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MINVALUE","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONITOR","MONTH","MUTEX","MYSQL","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NESTED","NEVER","NEW","NEXT","NEXTVAL","NO","NOMAXVALUE","NOMINVALUE","NOCACHE","NOCYCLE","NO_WAIT","NOWAIT","NODEGROUP","NONE","NOT","NOTFOUND","NO_WRITE_TO_BINLOG","NULL","NUMBER","NUMERIC","NVARCHAR","OF","OFFSET","OLD_PASSWORD","ON","ONE","ONLINE","ONLY","OPEN","OPTIMIZE","OPTIONS","OPTION","OPTIONALLY","OR","ORDER","ORDINALITY","OTHERS","OUT","OUTER","OUTFILE","OVER","OVERLAPS","OWNER","PACKAGE","PACK_KEYS","PAGE","PAGE_CHECKSUM","PARSER","PARSE_VCOL_EXPR","PATH","PERIOD","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PERSISTENT","PHASE","PLUGIN","PLUGINS","PORT","PORTION","PRECEDES","PRECEDING","PRECISION","PREPARE","PRESERVE","PREV","PREVIOUS","PRIMARY","PRIVILEGES","PROCEDURE","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RAISE","RANGE","RAW","READ","READ_ONLY","READ_WRITE","READS","REAL","REBUILD","RECOVER","RECURSIVE","REDO_BUFFER_SIZE","REDOFILE","REDUNDANT","REFERENCES","REGEXP","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEATABLE","REPLACE","REPLAY","REPLICA","REPLICAS","REPLICA_POS","REPLICATION","REPEAT","REQUIRE","RESET","RESIGNAL","RESTART","RESTORE","RESTRICT","RESUME","RETURNED_SQLSTATE","RETURN","RETURNING","RETURNS","REUSE","REVERSE","REVOKE","RIGHT","RLIKE","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROW","ROWCOUNT","ROWNUM","ROWS","ROWTYPE","ROW_COUNT","ROW_FORMAT","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMA_NAME","SCHEMAS","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SEQUENCE","SERIAL","SERIALIZABLE","SESSION","SERVER","SET","SETVAL","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SKIP","SLAVE","SLAVES","SLAVE_POS","SLOW","SNAPSHOT","SMALLINT","SOCKET","SOFT","SOME","SONAME","SOUNDS","SOURCE","STAGE","STORED","SPATIAL","SPECIFIC","REF_SYSTEM_ID","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_SECOND","SQL_TSI_MINUTE","SQL_TSI_HOUR","SQL_TSI_DAY","SQL_TSI_WEEK","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_YEAR","SSL","START","STARTING","STARTS","STATEMENT","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STRAIGHT_JOIN","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","SYSDATE","SYSTEM","SYSTEM_TIME","TABLE","TABLE_NAME","TABLES","TABLESPACE","TABLE_CHECKSUM","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","TIES","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRANSACTION","TRANSACTIONAL","THREADS","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO_BUFFER_SIZE","UNDOFILE","UNDO","UNICODE","UNION","UNIQUE","UNKNOWN","UNLOCK","UNINSTALL","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARCHAR2","VARIABLES","VARYING","VIA","VIEW","VIRTUAL","VISIBLE","VERSIONING","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","X509","XOR","XA","XML","YEAR","YEAR_MONTH","ZEROFILL"]}),ei=v({all:["ADDDATE","ADD_MONTHS","BIT_AND","BIT_OR","BIT_XOR","CAST","COUNT","CUME_DIST","CURDATE","CURTIME","DATE_ADD","DATE_SUB","DATE_FORMAT","DECODE","DENSE_RANK","EXTRACT","FIRST_VALUE","GROUP_CONCAT","JSON_ARRAYAGG","JSON_OBJECTAGG","LAG","LEAD","MAX","MEDIAN","MID","MIN","NOW","NTH_VALUE","NTILE","POSITION","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","ROW_NUMBER","SESSION_USER","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","SUBDATE","SUBSTR","SUBSTRING","SUM","SYSTEM_USER","TRIM","TRIM_ORACLE","VARIANCE","VAR_POP","VAR_SAMP","ABS","ACOS","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ASIN","ATAN","ATAN2","BENCHMARK","BIN","BINLOG_GTID_POS","BIT_COUNT","BIT_LENGTH","CEIL","CEILING","CHARACTER_LENGTH","CHAR_LENGTH","CHR","COERCIBILITY","COLUMN_CHECK","COLUMN_EXISTS","COLUMN_LIST","COLUMN_JSON","COMPRESS","CONCAT","CONCAT_OPERATOR_ORACLE","CONCAT_WS","CONNECTION_ID","CONV","CONVERT_TZ","COS","COT","CRC32","DATEDIFF","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DEGREES","DECODE_HISTOGRAM","DECODE_ORACLE","DES_DECRYPT","DES_ENCRYPT","ELT","ENCODE","ENCRYPT","EXP","EXPORT_SET","EXTRACTVALUE","FIELD","FIND_IN_SET","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GET_LOCK","GREATEST","HEX","IFNULL","INSTR","ISNULL","IS_FREE_LOCK","IS_USED_LOCK","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_COMPACT","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_DETAILED","JSON_EXISTS","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_LOOSE","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_QUERY","JSON_QUOTE","JSON_OBJECT","JSON_REMOVE","JSON_REPLACE","JSON_SET","JSON_SEARCH","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","JSON_VALUE","LAST_DAY","LAST_INSERT_ID","LCASE","LEAST","LENGTH","LENGTHB","LN","LOAD_FILE","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LPAD_ORACLE","LTRIM","LTRIM_ORACLE","MAKEDATE","MAKETIME","MAKE_SET","MASTER_GTID_WAIT","MASTER_POS_WAIT","MD5","MONTHNAME","NAME_CONST","NVL","NVL2","OCT","OCTET_LENGTH","ORD","PERIOD_ADD","PERIOD_DIFF","PI","POW","POWER","QUOTE","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","RADIANS","RAND","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPLACE_ORACLE","REVERSE","ROUND","RPAD","RPAD_ORACLE","RTRIM","RTRIM_ORACLE","SEC_TO_TIME","SHA","SHA1","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SPACE","SQRT","STRCMP","STR_TO_DATE","SUBSTR_ORACLE","SUBSTRING_INDEX","SUBTIME","SYS_GUID","TAN","TIMEDIFF","TIME_FORMAT","TIME_TO_SEC","TO_BASE64","TO_CHAR","TO_DAYS","TO_SECONDS","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","UUID","UUID_SHORT","VERSION","WEEKDAY","WEEKOFYEAR","WSREP_LAST_WRITTEN_GTID","WSREP_LAST_SEEN_GTID","WSREP_SYNC_WAIT_UPTO_GTID","YEARWEEK","COALESCE","NULLIF","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","BIT","BINARY","BLOB","CHAR","NATIONAL CHAR","CHAR BYTE","ENUM","VARBINARY","VARCHAR","NATIONAL VARCHAR","TIME","DATETIME","TIMESTAMP","YEAR"]}),ea=A(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),es=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE] [INTO]","REPLACE [LOW_PRIORITY | DELAYED] [INTO]","VALUES","SET","CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMPORARY] TABLE [IF NOT EXISTS]","RETURNING"]),el=A(["UPDATE [LOW_PRIORITY] [IGNORE]","DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER [ONLINE] [IGNORE] TABLE [IF EXISTS]","ADD [COLUMN] [IF NOT EXISTS]","{CHANGE | MODIFY} [COLUMN] [IF EXISTS]","DROP [COLUMN] [IF EXISTS]","RENAME [TO]","RENAME COLUMN","ALTER [COLUMN]","{SET | DROP} DEFAULT","SET {VISIBLE | INVISIBLE}","TRUNCATE [TABLE]","ALTER DATABASE","ALTER DATABASE COMMENT","ALTER EVENT","ALTER FUNCTION","ALTER PROCEDURE","ALTER SCHEMA","ALTER SCHEMA COMMENT","ALTER SEQUENCE","ALTER SERVER","ALTER USER","ALTER VIEW","ANALYZE","ANALYZE TABLE","BACKUP LOCK","BACKUP STAGE","BACKUP UNLOCK","BEGIN","BINLOG","CACHE INDEX","CALL","CHANGE MASTER TO","CHECK TABLE","CHECK VIEW","CHECKSUM TABLE","COMMIT","CREATE AGGREGATE FUNCTION","CREATE DATABASE","CREATE EVENT","CREATE FUNCTION","CREATE INDEX","CREATE PROCEDURE","CREATE ROLE","CREATE SEQUENCE","CREATE SERVER","CREATE SPATIAL INDEX","CREATE TRIGGER","CREATE UNIQUE INDEX","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DROP DATABASE","DROP EVENT","DROP FUNCTION","DROP INDEX","DROP PREPARE","DROP PROCEDURE","DROP ROLE","DROP SEQUENCE","DROP SERVER","DROP TRIGGER","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","GET DIAGNOSTICS","GET DIAGNOSTICS CONDITION","GRANT","HANDLER","HELP","INSTALL PLUGIN","INSTALL SONAME","KILL","LOAD DATA INFILE","LOAD INDEX INTO CACHE","LOAD XML INFILE","LOCK TABLE","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","PURGE MASTER LOGS","RELEASE SAVEPOINT","RENAME TABLE","RENAME USER","REPAIR TABLE","REPAIR VIEW","RESET MASTER","RESET QUERY CACHE","RESET REPLICA","RESET SLAVE","RESIGNAL","REVOKE","ROLLBACK","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET GLOBAL TRANSACTION","SET NAMES","SET PASSWORD","SET ROLE","SET STATEMENT","SET TRANSACTION","SHOW","SHOW ALL REPLICAS STATUS","SHOW ALL SLAVES STATUS","SHOW AUTHORS","SHOW BINARY LOGS","SHOW BINLOG EVENTS","SHOW BINLOG STATUS","SHOW CHARACTER SET","SHOW CLIENT_STATISTICS","SHOW COLLATION","SHOW COLUMNS","SHOW CONTRIBUTORS","SHOW CREATE DATABASE","SHOW CREATE EVENT","SHOW CREATE FUNCTION","SHOW CREATE PACKAGE","SHOW CREATE PACKAGE BODY","SHOW CREATE PROCEDURE","SHOW CREATE SEQUENCE","SHOW CREATE TABLE","SHOW CREATE TRIGGER","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINE INNODB STATUS","SHOW ENGINES","SHOW ERRORS","SHOW EVENTS","SHOW EXPLAIN","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW INDEXES","SHOW INDEX_STATISTICS","SHOW KEYS","SHOW LOCALES","SHOW MASTER LOGS","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PACKAGE BODY CODE","SHOW PACKAGE BODY STATUS","SHOW PACKAGE STATUS","SHOW PLUGINS","SHOW PLUGINS SONAME","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW QUERY_RESPONSE_TIME","SHOW RELAYLOG EVENTS","SHOW REPLICA","SHOW REPLICA HOSTS","SHOW REPLICA STATUS","SHOW SCHEMAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW SLAVE STATUS","SHOW STATUS","SHOW STORAGE ENGINES","SHOW TABLE STATUS","SHOW TABLES","SHOW TRIGGERS","SHOW USER_STATISTICS","SHOW VARIABLES","SHOW WARNINGS","SHOW WSREP_MEMBERSHIP","SHOW WSREP_STATUS","SHUTDOWN","SIGNAL","START ALL REPLICAS","START ALL SLAVES","START REPLICA","START SLAVE","START TRANSACTION","STOP ALL REPLICAS","STOP ALL SLAVES","STOP REPLICA","STOP SLAVE","UNINSTALL PLUGIN","UNINSTALL SONAME","UNLOCK TABLE","USE","XA BEGIN","XA COMMIT","XA END","XA PREPARE","XA RECOVER","XA ROLLBACK","XA START"]),eE=A(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]","MINUS [ALL | DISTINCT]"]),ec=A(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),eu=A(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),eT={tokenizerOptions:{reservedSelect:ea,reservedClauses:[...es,...el],reservedSetOperations:eE,reservedJoins:ec,reservedPhrases:eu,supportsXor:!0,reservedKeywords:eo,reservedFunctionNames:ei,stringTypes:['""-qq-bs',"''-qq-bs",{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_.$]+"},{quote:'""-qq-bs',prefixes:["@"],requirePrefix:!0},{quote:"''-qq-bs",prefixes:["@"],requirePrefix:!0},{quote:"``",prefixes:["@"],requirePrefix:!0}],paramTypes:{positional:!0},lineCommentTypes:["--","#"],operators:["%",":=","&","|","^","~","<<",">>","<=>","&&","||","!"],postProcess:function(e){return e.map((t,n)=>{let o=e[n+1]||u;return d.SET(t)&&"("===o.text?{...t,type:r.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{onelineClauses:el}},ed=v({all:["ACCESSIBLE","ACCOUNT","ACTION","ACTIVE","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ALWAYS","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASCII","ASENSITIVE","AT","ATTRIBUTE","AUTHENTICATION","AUTOEXTEND_SIZE","AUTO_INCREMENT","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BOOL","BOOLEAN","BOTH","BTREE","BUCKETS","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHALLENGE_RESPONSE","CHANGE","CHANGED","CHANNEL","CHAR","CHARACTER","CHARSET","CHECK","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLONE","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMNS","COLUMN_FORMAT","COLUMN_NAME","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPONENT","COMPRESSED","COMPRESSION","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONVERT","CPU","CREATE","CROSS","CUBE","CUME_DIST","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULT_AUTH","DEFINER","DEFINITION","DELAYED","DELAY_KEY_WRITE","DELETE","DENSE_RANK","DESC","DESCRIBE","DESCRIPTION","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","EMPTY","ENABLE","ENCLOSED","ENCRYPTION","END","ENDS","ENFORCED","ENGINE","ENGINES","ENGINE_ATTRIBUTE","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXCEPT","EXCHANGE","EXCLUDE","EXECUTE","EXISTS","EXIT","EXPANSION","EXPIRE","EXPLAIN","EXPORT","EXTENDED","EXTENT_SIZE","FACTOR","FAILED_LOGIN_ATTEMPTS","FALSE","FAST","FAULTS","FETCH","FIELDS","FILE","FILE_BLOCK_SIZE","FILTER","FINISH","FIRST","FIRST_VALUE","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GEOMCOLLECTION","GEOMETRY","GEOMETRYCOLLECTION","GET","GET_FORMAT","GET_MASTER_PUBLIC_KEY","GET_SOURCE_PUBLIC_KEY","GLOBAL","GRANT","GRANTS","GROUP","GROUPING","GROUPS","GROUP_REPLICATION","GTID_ONLY","HANDLER","HASH","HAVING","HELP","HIGH_PRIORITY","HISTOGRAM","HISTORY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORE_SERVER_IDS","IMPORT","IN","INACTIVE","INDEX","INDEXES","INFILE","INITIAL","INITIAL_SIZE","INITIATE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INSTANCE","IN","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERSECT","INTERVAL","INTO","INVISIBLE","INVOKER","IO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IO_THREAD","IPC","IS","ISOLATION","ISSUER","ITERATE","JOIN","JSON","JSON_TABLE","JSON_VALUE","KEY","KEYRING","KEYS","KEY_BLOCK_SIZE","KILL","LAG","LANGUAGE","LAST","LAST_VALUE","LATERAL","LEAD","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LINESTRING","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKED","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_AUTO_POSITION","MASTER_BIND","MASTER_COMPRESSION_ALGORITHMS","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_PUBLIC_KEY_PATH","MASTER_RETRY_COUNT","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_TLS_CIPHERSUITES","MASTER_TLS_VERSION","MASTER_USER","MASTER_ZSTD_COMPRESSION_LEVEL","MATCH","MAXVALUE","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMBER","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONTH","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NDB","NDBCLUSTER","NESTED","NETWORK_NAMESPACE","NEVER","NEW","NEXT","NO","NODEGROUP","NONE","NOT","NOWAIT","NO_WAIT","NO_WRITE_TO_BINLOG","NTH_VALUE","NTILE","NULL","NULLS","NUMBER","NUMERIC","NVARCHAR","OF","OFF","OFFSET","OJ","OLD","ON","ONE","ONLY","OPEN","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONAL","OPTIONALLY","OPTIONS","OR","ORDER","ORDINALITY","ORGANIZATION","OTHERS","OUT","OUTER","OUTFILE","OVER","OWNER","PACK_KEYS","PAGE","PARSER","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PASSWORD_LOCK_TIME","PATH","PERCENT_RANK","PERSIST","PERSIST_ONLY","PHASE","PLUGIN","PLUGINS","PLUGIN_DIR","POINT","POLYGON","PORT","PRECEDES","PRECEDING","PRECISION","PREPARE","PRESERVE","PREV","PRIMARY","PRIVILEGES","PRIVILEGE_CHECKS_USER","PROCEDURE","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RANDOM","RANGE","RANK","READ","READS","READ_ONLY","READ_WRITE","REAL","REBUILD","RECOVER","RECURSIVE","REDO_BUFFER_SIZE","REDUNDANT","REFERENCE","REFERENCES","REGEXP","REGISTRATION","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEAT","REPEATABLE","REPLACE","REPLICA","REPLICAS","REPLICATE_DO_DB","REPLICATE_DO_TABLE","REPLICATE_IGNORE_DB","REPLICATE_IGNORE_TABLE","REPLICATE_REWRITE_DB","REPLICATE_WILD_DO_TABLE","REPLICATE_WILD_IGNORE_TABLE","REPLICATION","REQUIRE","REQUIRE_ROW_FORMAT","RESET","RESIGNAL","RESOURCE","RESPECT","RESTART","RESTORE","RESTRICT","RESUME","RETAIN","RETURN","RETURNED_SQLSTATE","RETURNING","RETURNS","REUSE","REVERSE","REVOKE","RIGHT","RLIKE","ROLE","ROLLBACK","ROLLUP","ROTATE","ROUTINE","ROW","ROWS","ROW_COUNT","ROW_FORMAT","ROW_NUMBER","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMAS","SCHEMA_NAME","SECOND","SECONDARY","SECONDARY_ENGINE","SECONDARY_ENGINE_ATTRIBUTE","SECONDARY_LOAD","SECONDARY_UNLOAD","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SERIAL","SERIALIZABLE","SERVER","SESSION","SET","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SKIP","SLAVE","SLOW","SMALLINT","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SOURCE_AUTO_POSITION","SOURCE_BIND","SOURCE_COMPRESSION_ALGORITHMS","SOURCE_CONNECT_RETRY","SOURCE_DELAY","SOURCE_HEARTBEAT_PERIOD","SOURCE_HOST","SOURCE_LOG_FILE","SOURCE_LOG_POS","SOURCE_PASSWORD","SOURCE_PORT","SOURCE_PUBLIC_KEY_PATH","SOURCE_RETRY_COUNT","SOURCE_SSL","SOURCE_SSL_CA","SOURCE_SSL_CAPATH","SOURCE_SSL_CERT","SOURCE_SSL_CIPHER","SOURCE_SSL_CRL","SOURCE_SSL_CRLPATH","SOURCE_SSL_KEY","SOURCE_SSL_VERIFY_SERVER_CERT","SOURCE_TLS_CIPHERSUITES","SOURCE_TLS_VERSION","SOURCE_USER","SOURCE_ZSTD_COMPRESSION_LEVEL","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SRID","SSL","STACKED","START","STARTING","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STORED","STRAIGHT_JOIN","STREAM","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","SYSTEM","TABLE","TABLES","TABLESPACE","TABLE_CHECKSUM","TABLE_NAME","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","THREAD_PRIORITY","TIES","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TLS","TO","TRAILING","TRANSACTION","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO","UNDOFILE","UNDO_BUFFER_SIZE","UNICODE","UNINSTALL","UNION","UNIQUE","UNKNOWN","UNLOCK","UNREGISTER","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARYING","VCPU","VIEW","VIRTUAL","VISIBLE","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WINDOW","WITH","WITHOUT","WORK","WRAPPER","WRITE","X509","XA","XID","XML","XOR","YEAR","YEAR_MONTH","ZEROFILL","ZONE"]}),eR=v({all:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","ASCII","ASIN","ATAN","ATAN2","AVG","BENCHMARK","BIN","BIN_TO_UUID","BINARY","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","CAN_ACCESS_COLUMN","CAN_ACCESS_DATABASE","CAN_ACCESS_TABLE","CAN_ACCESS_USER","CAN_ACCESS_VIEW","CAST","CEIL","CEILING","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COMPRESS","CONCAT","CONCAT_WS","CONNECTION_ID","CONV","CONVERT","CONVERT_TZ","COS","COT","COUNT","CRC32","CUME_DIST","CURDATE","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DEFAULT","DEGREES","DENSE_RANK","DIV","ELT","EXP","EXPORT_SET","EXTRACT","EXTRACTVALUE","FIELD","FIND_IN_SET","FIRST_VALUE","FLOOR","FORMAT","FORMAT_BYTES","FORMAT_PICO_TIME","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GEOMCOLLECTION","GEOMETRYCOLLECTION","GET_DD_COLUMN_PRIVILEGES","GET_DD_CREATE_OPTIONS","GET_DD_INDEX_SUB_PART_LENGTH","GET_FORMAT","GET_LOCK","GREATEST","GROUP_CONCAT","GROUPING","GTID_SUBSET","GTID_SUBTRACT","HEX","HOUR","ICU_VERSION","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INSERT","INSTR","INTERNAL_AUTO_INCREMENT","INTERNAL_AVG_ROW_LENGTH","INTERNAL_CHECK_TIME","INTERNAL_CHECKSUM","INTERNAL_DATA_FREE","INTERNAL_DATA_LENGTH","INTERNAL_DD_CHAR_LENGTH","INTERNAL_GET_COMMENT_OR_ERROR","INTERNAL_GET_ENABLED_ROLE_JSON","INTERNAL_GET_HOSTNAME","INTERNAL_GET_USERNAME","INTERNAL_GET_VIEW_WARNING_OR_ERROR","INTERNAL_INDEX_COLUMN_CARDINALITY","INTERNAL_INDEX_LENGTH","INTERNAL_IS_ENABLED_ROLE","INTERNAL_IS_MANDATORY_ROLE","INTERNAL_KEYS_DISABLED","INTERNAL_MAX_DATA_LENGTH","INTERNAL_TABLE_ROWS","INTERNAL_UPDATE_TIME","INTERVAL","IS","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS NOT","IS NOT NULL","IS NULL","IS_USED_LOCK","IS_UUID","ISNULL","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_ARRAYAGG","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_OBJECTAGG","JSON_OVERLAPS","JSON_PRETTY","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SCHEMA_VALID","JSON_SCHEMA_VALIDATION_REPORT","JSON_SEARCH","JSON_SET","JSON_STORAGE_FREE","JSON_STORAGE_SIZE","JSON_TABLE","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","JSON_VALUE","LAG","LAST_DAY","LAST_INSERT_ID","LAST_VALUE","LCASE","LEAD","LEAST","LEFT","LENGTH","LIKE","LINESTRING","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASTER_POS_WAIT","MATCH","MAX","MBRCONTAINS","MBRCOVEREDBY","MBRCOVERS","MBRDISJOINT","MBREQUALS","MBRINTERSECTS","MBROVERLAPS","MBRTOUCHES","MBRWITHIN","MD5","MEMBER OF","MICROSECOND","MID","MIN","MINUTE","MOD","MONTH","MONTHNAME","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","NAME_CONST","NOT","NOT IN","NOT LIKE","NOT REGEXP","NOW","NTH_VALUE","NTILE","NULLIF","OCT","OCTET_LENGTH","ORD","PERCENT_RANK","PERIOD_ADD","PERIOD_DIFF","PI","POINT","POLYGON","POSITION","POW","POWER","PS_CURRENT_THREAD_ID","PS_THREAD_ID","QUARTER","QUOTE","RADIANS","RAND","RANDOM_BYTES","RANK","REGEXP","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPEAT","REPLACE","REVERSE","RIGHT","RLIKE","ROLES_GRAPHML","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SHA1","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SOUNDS LIKE","SOURCE_POS_WAIT","SPACE","SQRT","ST_AREA","ST_ASBINARY","ST_ASGEOJSON","ST_ASTEXT","ST_BUFFER","ST_BUFFER_STRATEGY","ST_CENTROID","ST_COLLECT","ST_CONTAINS","ST_CONVEXHULL","ST_CROSSES","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DISTANCE_SPHERE","ST_ENDPOINT","ST_ENVELOPE","ST_EQUALS","ST_EXTERIORRING","ST_FRECHETDISTANCE","ST_GEOHASH","ST_GEOMCOLLFROMTEXT","ST_GEOMCOLLFROMWKB","ST_GEOMETRYN","ST_GEOMETRYTYPE","ST_GEOMFROMGEOJSON","ST_GEOMFROMTEXT","ST_GEOMFROMWKB","ST_HAUSDORFFDISTANCE","ST_INTERIORRINGN","ST_INTERSECTION","ST_INTERSECTS","ST_ISCLOSED","ST_ISEMPTY","ST_ISSIMPLE","ST_ISVALID","ST_LATFROMGEOHASH","ST_LATITUDE","ST_LENGTH","ST_LINEFROMTEXT","ST_LINEFROMWKB","ST_LINEINTERPOLATEPOINT","ST_LINEINTERPOLATEPOINTS","ST_LONGFROMGEOHASH","ST_LONGITUDE","ST_MAKEENVELOPE","ST_MLINEFROMTEXT","ST_MLINEFROMWKB","ST_MPOINTFROMTEXT","ST_MPOINTFROMWKB","ST_MPOLYFROMTEXT","ST_MPOLYFROMWKB","ST_NUMGEOMETRIES","ST_NUMINTERIORRING","ST_NUMPOINTS","ST_OVERLAPS","ST_POINTATDISTANCE","ST_POINTFROMGEOHASH","ST_POINTFROMTEXT","ST_POINTFROMWKB","ST_POINTN","ST_POLYFROMTEXT","ST_POLYFROMWKB","ST_SIMPLIFY","ST_SRID","ST_STARTPOINT","ST_SWAPXY","ST_SYMDIFFERENCE","ST_TOUCHES","ST_TRANSFORM","ST_UNION","ST_VALIDATE","ST_WITHIN","ST_X","ST_Y","STATEMENT_DIGEST","STATEMENT_DIGEST_TEXT","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","TRIM","TRUNCATE","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","UUID_TO_BIN","VALIDATE_PASSWORD_STRENGTH","VALUES","VAR_POP","VAR_SAMP","VARIANCE","VERSION","WAIT_FOR_EXECUTED_GTID_SET","WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","YEAR","YEARWEEK","BIT","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","DATETIME","TIMESTAMP","TIME","YEAR","CHAR","NATIONAL CHAR","VARCHAR","NATIONAL VARCHAR","BINARY","VARBINARY","BLOB","TEXT","ENUM"]}),ef=A(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),eA=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE] [INTO]","REPLACE [LOW_PRIORITY | DELAYED] [INTO]","VALUES","SET","CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY] TABLE [IF NOT EXISTS]"]),eS=A(["UPDATE [LOW_PRIORITY] [IGNORE]","DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER TABLE","ADD [COLUMN]","{CHANGE | MODIFY} [COLUMN]","DROP [COLUMN]","RENAME [TO | AS]","RENAME COLUMN","ALTER [COLUMN]","{SET | DROP} DEFAULT","TRUNCATE [TABLE]","ALTER DATABASE","ALTER EVENT","ALTER FUNCTION","ALTER INSTANCE","ALTER LOGFILE GROUP","ALTER PROCEDURE","ALTER RESOURCE GROUP","ALTER SERVER","ALTER TABLESPACE","ALTER USER","ALTER VIEW","ANALYZE TABLE","BINLOG","CACHE INDEX","CALL","CHANGE MASTER TO","CHANGE REPLICATION FILTER","CHANGE REPLICATION SOURCE TO","CHECK TABLE","CHECKSUM TABLE","CLONE","COMMIT","CREATE DATABASE","CREATE EVENT","CREATE FUNCTION","CREATE FUNCTION","CREATE INDEX","CREATE LOGFILE GROUP","CREATE PROCEDURE","CREATE RESOURCE GROUP","CREATE ROLE","CREATE SERVER","CREATE SPATIAL REFERENCE SYSTEM","CREATE TABLESPACE","CREATE TRIGGER","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DROP DATABASE","DROP EVENT","DROP FUNCTION","DROP FUNCTION","DROP INDEX","DROP LOGFILE GROUP","DROP PROCEDURE","DROP RESOURCE GROUP","DROP ROLE","DROP SERVER","DROP SPATIAL REFERENCE SYSTEM","DROP TABLESPACE","DROP TRIGGER","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","GRANT","HANDLER","HELP","IMPORT TABLE","INSTALL COMPONENT","INSTALL PLUGIN","KILL","LOAD DATA","LOAD INDEX INTO CACHE","LOAD XML","LOCK INSTANCE FOR BACKUP","LOCK TABLES","MASTER_POS_WAIT","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","RELEASE SAVEPOINT","RENAME TABLE","RENAME USER","REPAIR TABLE","RESET","RESET MASTER","RESET PERSIST","RESET REPLICA","RESET SLAVE","RESTART","REVOKE","ROLLBACK","ROLLBACK TO SAVEPOINT","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET NAMES","SET PASSWORD","SET RESOURCE GROUP","SET ROLE","SET TRANSACTION","SHOW","SHOW BINARY LOGS","SHOW BINLOG EVENTS","SHOW CHARACTER SET","SHOW COLLATION","SHOW COLUMNS","SHOW CREATE DATABASE","SHOW CREATE EVENT","SHOW CREATE FUNCTION","SHOW CREATE PROCEDURE","SHOW CREATE TABLE","SHOW CREATE TRIGGER","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINES","SHOW ERRORS","SHOW EVENTS","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PLUGINS","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW RELAYLOG EVENTS","SHOW REPLICA STATUS","SHOW REPLICAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW STATUS","SHOW TABLE STATUS","SHOW TABLES","SHOW TRIGGERS","SHOW VARIABLES","SHOW WARNINGS","SHUTDOWN","SOURCE_POS_WAIT","START GROUP_REPLICATION","START REPLICA","START SLAVE","START TRANSACTION","STOP GROUP_REPLICATION","STOP REPLICA","STOP SLAVE","TABLE","UNINSTALL COMPONENT","UNINSTALL PLUGIN","UNLOCK INSTANCE","UNLOCK TABLES","USE","XA","ITERATE","LEAVE","LOOP","REPEAT","RETURN","WHILE"]),eO=A(["UNION [ALL | DISTINCT]"]),ep=A(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),eN=A(["ON {UPDATE | DELETE} [SET NULL]","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),eI={tokenizerOptions:{reservedSelect:ef,reservedClauses:[...eA,...eS],reservedSetOperations:eO,reservedJoins:ep,reservedPhrases:eN,supportsXor:!0,reservedKeywords:ed,reservedFunctionNames:eR,stringTypes:['""-qq-bs',{quote:"''-qq-bs",prefixes:["N"]},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_.$]+"},{quote:'""-qq-bs',prefixes:["@"],requirePrefix:!0},{quote:"''-qq-bs",prefixes:["@"],requirePrefix:!0},{quote:"``",prefixes:["@"],requirePrefix:!0}],paramTypes:{positional:!0},lineCommentTypes:["--","#"],operators:["%",":=","&","|","^","~","<<",">>","<=>","->","->>","&&","||","!"],postProcess:function(e){return e.map((t,n)=>{let o=e[n+1]||u;return d.SET(t)&&"("===o.text?{...t,type:r.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{onelineClauses:eS}},eh=v({all:["ABORT","ABS","ACOS","ADVISOR","ARRAY_AGG","ARRAY_AGG","ARRAY_APPEND","ARRAY_AVG","ARRAY_BINARY_SEARCH","ARRAY_CONCAT","ARRAY_CONTAINS","ARRAY_COUNT","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_FLATTEN","ARRAY_IFNULL","ARRAY_INSERT","ARRAY_INTERSECT","ARRAY_LENGTH","ARRAY_MAX","ARRAY_MIN","ARRAY_MOVE","ARRAY_POSITION","ARRAY_PREPEND","ARRAY_PUT","ARRAY_RANGE","ARRAY_REMOVE","ARRAY_REPEAT","ARRAY_REPLACE","ARRAY_REVERSE","ARRAY_SORT","ARRAY_STAR","ARRAY_SUM","ARRAY_SYMDIFF","ARRAY_SYMDIFF1","ARRAY_SYMDIFFN","ARRAY_UNION","ASIN","ATAN","ATAN2","AVG","BASE64","BASE64_DECODE","BASE64_ENCODE","BITAND ","BITCLEAR ","BITNOT ","BITOR ","BITSET ","BITSHIFT ","BITTEST ","BITXOR ","CEIL","CLOCK_LOCAL","CLOCK_MILLIS","CLOCK_STR","CLOCK_TZ","CLOCK_UTC","COALESCE","CONCAT","CONCAT2","CONTAINS","CONTAINS_TOKEN","CONTAINS_TOKEN_LIKE","CONTAINS_TOKEN_REGEXP","COS","COUNT","COUNT","COUNTN","CUME_DIST","CURL","DATE_ADD_MILLIS","DATE_ADD_STR","DATE_DIFF_MILLIS","DATE_DIFF_STR","DATE_FORMAT_STR","DATE_PART_MILLIS","DATE_PART_STR","DATE_RANGE_MILLIS","DATE_RANGE_STR","DATE_TRUNC_MILLIS","DATE_TRUNC_STR","DECODE","DECODE_JSON","DEGREES","DENSE_RANK","DURATION_TO_STR","ENCODED_SIZE","ENCODE_JSON","EXP","FIRST_VALUE","FLOOR","GREATEST","HAS_TOKEN","IFINF","IFMISSING","IFMISSINGORNULL","IFNAN","IFNANORINF","IFNULL","INITCAP","ISARRAY","ISATOM","ISBITSET","ISBOOLEAN","ISNUMBER","ISOBJECT","ISSTRING","LAG","LAST_VALUE","LEAD","LEAST","LENGTH","LN","LOG","LOWER","LTRIM","MAX","MEAN","MEDIAN","META","MILLIS","MILLIS_TO_LOCAL","MILLIS_TO_STR","MILLIS_TO_TZ","MILLIS_TO_UTC","MILLIS_TO_ZONE_NAME","MIN","MISSINGIF","NANIF","NEGINFIF","NOW_LOCAL","NOW_MILLIS","NOW_STR","NOW_TZ","NOW_UTC","NTH_VALUE","NTILE","NULLIF","NVL","NVL2","OBJECT_ADD","OBJECT_CONCAT","OBJECT_INNER_PAIRS","OBJECT_INNER_VALUES","OBJECT_LENGTH","OBJECT_NAMES","OBJECT_PAIRS","OBJECT_PUT","OBJECT_REMOVE","OBJECT_RENAME","OBJECT_REPLACE","OBJECT_UNWRAP","OBJECT_VALUES","PAIRS","PERCENT_RANK","PI","POLY_LENGTH","POSINFIF","POSITION","POWER","RADIANS","RANDOM","RANK","RATIO_TO_REPORT","REGEXP_CONTAINS","REGEXP_LIKE","REGEXP_MATCHES","REGEXP_POSITION","REGEXP_REPLACE","REGEXP_SPLIT","REGEX_CONTAINS","REGEX_LIKE","REGEX_MATCHES","REGEX_POSITION","REGEX_REPLACE","REGEX_SPLIT","REPEAT","REPLACE","REVERSE","ROUND","ROW_NUMBER","RTRIM","SEARCH","SEARCH_META","SEARCH_SCORE","SIGN","SIN","SPLIT","SQRT","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DURATION","STR_TO_MILLIS","STR_TO_TZ","STR_TO_UTC","STR_TO_ZONE_NAME","SUBSTR","SUFFIXES","SUM","TAN","TITLE","TOARRAY","TOATOM","TOBOOLEAN","TOKENS","TOKENS","TONUMBER","TOOBJECT","TOSTRING","TRIM","TRUNC","UPPER","UUID","VARIANCE","VARIANCE_POP","VARIANCE_SAMP","VAR_POP","VAR_SAMP","WEEKDAY_MILLIS","WEEKDAY_STR","CAST"]}),e_=v({all:["ADVISE","ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","AT","BEGIN","BETWEEN","BINARY","BOOLEAN","BREAK","BUCKET","BUILD","BY","CALL","CASE","CAST","CLUSTER","COLLATE","COLLECTION","COMMIT","COMMITTED","CONNECT","CONTINUE","CORRELATED","COVER","CREATE","CURRENT","DATABASE","DATASET","DATASTORE","DECLARE","DECREMENT","DELETE","DERIVED","DESC","DESCRIBE","DISTINCT","DO","DROP","EACH","ELEMENT","ELSE","END","EVERY","EXCEPT","EXCLUDE","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FILTER","FIRST","FLATTEN","FLUSH","FOLLOWING","FOR","FORCE","FROM","FTS","FUNCTION","GOLANG","GRANT","GROUP","GROUPS","GSI","HASH","HAVING","IF","ISOLATION","IGNORE","ILIKE","IN","INCLUDE","INCREMENT","INDEX","INFER","INLINE","INNER","INSERT","INTERSECT","INTO","IS","JAVASCRIPT","JOIN","KEY","KEYS","KEYSPACE","KNOWN","LANGUAGE","LAST","LEFT","LET","LETTING","LEVEL","LIKE","LIMIT","LSM","MAP","MAPPING","MATCHED","MATERIALIZED","MERGE","MINUS","MISSING","NAMESPACE","NEST","NL","NO","NOT","NTH_VALUE","NULL","NULLS","NUMBER","OBJECT","OFFSET","ON","OPTION","OPTIONS","OR","ORDER","OTHERS","OUTER","OVER","PARSE","PARTITION","PASSWORD","PATH","POOL","PRECEDING","PREPARE","PRIMARY","PRIVATE","PRIVILEGE","PROBE","PROCEDURE","PUBLIC","RANGE","RAW","REALM","REDUCE","RENAME","RESPECT","RETURN","RETURNING","REVOKE","RIGHT","ROLE","ROLLBACK","ROW","ROWS","SATISFIES","SAVEPOINT","SCHEMA","SCOPE","SELECT","SELF","SEMI","SET","SHOW","SOME","START","STATISTICS","STRING","SYSTEM","THEN","TIES","TO","TRAN","TRANSACTION","TRIGGER","TRUE","TRUNCATE","UNBOUNDED","UNDER","UNION","UNIQUE","UNKNOWN","UNNEST","UNSET","UPDATE","UPSERT","USE","USER","USING","VALIDATE","VALUE","VALUED","VALUES","VIA","VIEW","WHEN","WHERE","WHILE","WINDOW","WITH","WITHIN","WORK","XOR"]}),em=A(["SELECT [ALL | DISTINCT]"]),eC=A(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED THEN","UPDATE SET","INSERT","NEST","UNNEST","RETURNING"]),eg=A(["UPDATE","DELETE FROM","SET SCHEMA","ADVISE","ALTER INDEX","BEGIN TRANSACTION","BUILD INDEX","COMMIT TRANSACTION","CREATE COLLECTION","CREATE FUNCTION","CREATE INDEX","CREATE PRIMARY INDEX","CREATE SCOPE","DROP COLLECTION","DROP FUNCTION","DROP INDEX","DROP PRIMARY INDEX","DROP SCOPE","EXECUTE","EXECUTE FUNCTION","EXPLAIN","GRANT","INFER","PREPARE","REVOKE","ROLLBACK TRANSACTION","SAVEPOINT","SET TRANSACTION","UPDATE STATISTICS","UPSERT","LET","SET CURRENT SCHEMA","SHOW","USE [PRIMARY] KEYS"]),eL=A(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),ev=A(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","INNER JOIN"]),ey=A(["{ROWS | RANGE | GROUPS} BETWEEN"]),eP={tokenizerOptions:{reservedSelect:em,reservedClauses:[...eC,...eg],reservedSetOperations:eL,reservedJoins:ev,reservedPhrases:ey,supportsXor:!0,reservedKeywords:e_,reservedFunctionNames:eh,stringTypes:['""-bs',"''-bs"],identTypes:["``"],extraParens:["[]","{}"],paramTypes:{positional:!0,numbered:["$"],named:["$"]},lineCommentTypes:["#","--"],operators:["%","==",":","||"]},formatOptions:{onelineClauses:eg}},eM=v({all:["ADD","AGENT","AGGREGATE","ALL","ALTER","AND","ANY","ARRAY","ARROW","AS","ASC","AT","ATTRIBUTE","AUTHID","AVG","BEGIN","BETWEEN","BFILE_BASE","BINARY","BLOB_BASE","BLOCK","BODY","BOTH","BOUND","BULK","BY","BYTE","CALL","CALLING","CASCADE","CASE","CHAR","CHAR_BASE","CHARACTER","CHARSET","CHARSETFORM","CHARSETID","CHECK","CLOB_BASE","CLOSE","CLUSTER","CLUSTERS","COLAUTH","COLLECT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPILED","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTEXT","CONVERT","COUNT","CRASH","CREATE","CURRENT","CURSOR","CUSTOMDATUM","DANGLING","DATA","DATE","DATE_BASE","DAY","DECIMAL","DECLARE","DEFAULT","DEFINE","DELETE","DESC","DETERMINISTIC","DISTINCT","DOUBLE","DROP","DURATION","ELEMENT","ELSE","ELSIF","EMPTY","END","ESCAPE","EXCEPT","EXCEPTION","EXCEPTIONS","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTERNAL","FETCH","FINAL","FIXED","FLOAT","FOR","FORALL","FORCE","FORM","FROM","FUNCTION","GENERAL","GOTO","GRANT","GROUP","HASH","HAVING","HEAP","HIDDEN","HOUR","IDENTIFIED","IF","IMMEDIATE","IN","INCLUDING","INDEX","INDEXES","INDICATOR","INDICES","INFINITE","INSERT","INSTANTIABLE","INT","INTERFACE","INTERSECT","INTERVAL","INTO","INVALIDATE","IS","ISOLATION","JAVA","LANGUAGE","LARGE","LEADING","LENGTH","LEVEL","LIBRARY","LIKE","LIKE2","LIKE4","LIKEC","LIMIT","LIMITED","LOCAL","LOCK","LONG","LOOP","MAP","MAX","MAXLEN","MEMBER","MERGE","MIN","MINUS","MINUTE","MOD","MODE","MODIFY","MONTH","MULTISET","NAME","NAN","NATIONAL","NATIVE","NCHAR","NEW","NOCOMPRESS","NOCOPY","NOT","NOWAIT","NULL","NUMBER_BASE","OBJECT","OCICOLL","OCIDATE","OCIDATETIME","OCIDURATION","OCIINTERVAL","OCILOBLOCATOR","OCINUMBER","OCIRAW","OCIREF","OCIREFCURSOR","OCIROWID","OCISTRING","OCITYPE","OF","ON","ONLY","OPAQUE","OPEN","OPERATOR","OPTION","OR","ORACLE","ORADATA","ORDER","OVERLAPS","ORGANIZATION","ORLANY","ORLVARY","OTHERS","OUT","OVERRIDING","PACKAGE","PARALLEL_ENABLE","PARAMETER","PARAMETERS","PARTITION","PASCAL","PIPE","PIPELINED","PRAGMA","PRECISION","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","RAW","READ","RECORD","REF","REFERENCE","REM","REMAINDER","RENAME","RESOURCE","RESULT","RETURN","RETURNING","REVERSE","REVOKE","ROLLBACK","ROW","SAMPLE","SAVE","SAVEPOINT","SB1","SB2","SB4","SECOND","SEGMENT","SELECT","SELF","SEPARATE","SEQUENCE","SERIALIZABLE","SET","SHARE","SHORT","SIZE","SIZE_T","SOME","SPARSE","SQL","SQLCODE","SQLDATA","SQLNAME","SQLSTATE","STANDARD","START","STATIC","STDDEV","STORED","STRING","STRUCT","STYLE","SUBMULTISET","SUBPARTITION","SUBSTITUTABLE","SUBTYPE","SUM","SYNONYM","TABAUTH","TABLE","TDO","THE","THEN","TIME","TIMESTAMP","TIMEZONE_ABBR","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIMEZONE_REGION","TO","TRAILING","TRANSAC","TRANSACTIONAL","TRUSTED","TYPE","UB1","UB2","UB4","UNDER","UNION","UNIQUE","UNSIGNED","UNTRUSTED","UPDATE","USE","USING","VALIST","VALUE","VALUES","VARIABLE","VARIANCE","VARRAY","VARYING","VIEW","VIEWS","VOID","WHEN","WHERE","WHILE","WITH","WORK","WRAPPED","WRITE","YEAR","ZONE"]}),eb=v({numeric:["ABS","ACOS","ASIN","ATAN","ATAN2","BITAND","CEIL","COS","COSH","EXP","FLOOR","LN","LOG","MOD","NANVL","POWER","REMAINDER","ROUND","SIGN","SIN","SINH","SQRT","TAN","TANH","TRUNC","WIDTH_BUCKET"],character:["CHR","CONCAT","INITCAP","LOWER","LPAD","LTRIM","NLS_INITCAP","NLS_LOWER","NLSSORT","NLS_UPPER","REGEXP_REPLACE","REGEXP_SUBSTR","REPLACE","RPAD","RTRIM","SOUNDEX","SUBSTR","TRANSLATE","TREAT","TRIM","UPPER","NLS_CHARSET_DECL_LEN","NLS_CHARSET_ID","NLS_CHARSET_NAME","ASCII","INSTR","LENGTH","REGEXP_INSTR"],datetime:["ADD_MONTHS","CURRENT_DATE","CURRENT_TIMESTAMP","DBTIMEZONE","EXTRACT","FROM_TZ","LAST_DAY","LOCALTIMESTAMP","MONTHS_BETWEEN","NEW_TIME","NEXT_DAY","NUMTODSINTERVAL","NUMTOYMINTERVAL","ROUND","SESSIONTIMEZONE","SYS_EXTRACT_UTC","SYSDATE","SYSTIMESTAMP","TO_CHAR","TO_TIMESTAMP","TO_TIMESTAMP_TZ","TO_DSINTERVAL","TO_YMINTERVAL","TRUNC","TZ_OFFSET"],comparison:["GREATEST","LEAST"],conversion:["ASCIISTR","BIN_TO_NUM","CAST","CHARTOROWID","COMPOSE","CONVERT","DECOMPOSE","HEXTORAW","NUMTODSINTERVAL","NUMTOYMINTERVAL","RAWTOHEX","RAWTONHEX","ROWIDTOCHAR","ROWIDTONCHAR","SCN_TO_TIMESTAMP","TIMESTAMP_TO_SCN","TO_BINARY_DOUBLE","TO_BINARY_FLOAT","TO_CHAR","TO_CLOB","TO_DATE","TO_DSINTERVAL","TO_LOB","TO_MULTI_BYTE","TO_NCHAR","TO_NCLOB","TO_NUMBER","TO_DSINTERVAL","TO_SINGLE_BYTE","TO_TIMESTAMP","TO_TIMESTAMP_TZ","TO_YMINTERVAL","TO_YMINTERVAL","TRANSLATE","UNISTR"],largeObject:["BFILENAME","EMPTY_BLOB,","EMPTY_CLOB"],collection:["CARDINALITY","COLLECT","POWERMULTISET","POWERMULTISET_BY_CARDINALITY","SET"],hierarchical:["SYS_CONNECT_BY_PATH"],dataMining:["CLUSTER_ID","CLUSTER_PROBABILITY","CLUSTER_SET","FEATURE_ID","FEATURE_SET","FEATURE_VALUE","PREDICTION","PREDICTION_COST","PREDICTION_DETAILS","PREDICTION_PROBABILITY","PREDICTION_SET"],xml:["APPENDCHILDXML","DELETEXML","DEPTH","EXTRACT","EXISTSNODE","EXTRACTVALUE","INSERTCHILDXML","INSERTXMLBEFORE","PATH","SYS_DBURIGEN","SYS_XMLAGG","SYS_XMLGEN","UPDATEXML","XMLAGG","XMLCDATA","XMLCOLATTVAL","XMLCOMMENT","XMLCONCAT","XMLFOREST","XMLPARSE","XMLPI","XMLQUERY","XMLROOT","XMLSEQUENCE","XMLSERIALIZE","XMLTABLE","XMLTRANSFORM"],encoding:["DECODE","DUMP","ORA_HASH","VSIZE"],nullRelated:["COALESCE","LNNVL","NULLIF","NVL","NVL2"],env:["SYS_CONTEXT","SYS_GUID","SYS_TYPEID","UID","USER","USERENV"],aggregate:["AVG","COLLECT","CORR","CORR_S","CORR_K","COUNT","COVAR_POP","COVAR_SAMP","CUME_DIST","DENSE_RANK","FIRST","GROUP_ID","GROUPING","GROUPING_ID","LAST","MAX","MEDIAN","MIN","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","RANK","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SYY","REGR_SXY","STATS_BINOMIAL_TEST","STATS_CROSSTAB","STATS_F_TEST","STATS_KS_TEST","STATS_MODE","STATS_MW_TEST","STATS_ONE_WAY_ANOVA","STATS_T_TEST_ONE","STATS_T_TEST_PAIRED","STATS_T_TEST_INDEP","STATS_T_TEST_INDEPU","STATS_WSR_TEST","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],window:["FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTILE","RATIO_TO_REPORT","ROW_NUMBER"],objectReference:["DEREF","MAKE_REF","REF","REFTOHEX","VALUE"],model:["CV","ITERATION_NUMBER","PRESENTNNV","PRESENTV","PREVIOUS"],dataTypes:["VARCHAR2","NVARCHAR2","NUMBER","FLOAT","TIMESTAMP","INTERVAL YEAR","INTERVAL DAY","RAW","UROWID","NCHAR","CHARACTER","CHAR","CHARACTER VARYING","CHAR VARYING","NATIONAL CHARACTER","NATIONAL CHAR","NATIONAL CHARACTER VARYING","NATIONAL CHAR VARYING","NCHAR VARYING","NUMERIC","DECIMAL","FLOAT","VARCHAR"]}),eD=A(["SELECT [ALL | DISTINCT | UNIQUE]"]),eU=A(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER [SIBLINGS] BY","OFFSET","FETCH {FIRST | NEXT}","FOR UPDATE [OF]","INSERT [INTO | ALL INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [THEN]","UPDATE SET","CREATE [OR REPLACE] [NO FORCE | FORCE] [EDITIONING | EDITIONABLE | EDITIONABLE EDITIONING | NONEDITIONABLE] VIEW","CREATE MATERIALIZED VIEW","CREATE [GLOBAL TEMPORARY | PRIVATE TEMPORARY | SHARDED | DUPLICATED | IMMUTABLE BLOCKCHAIN | BLOCKCHAIN | IMMUTABLE] TABLE","RETURNING"]),ex=A(["UPDATE [ONLY]","DELETE FROM [ONLY]","DROP TABLE","ALTER TABLE","ADD","DROP {COLUMN | UNUSED COLUMNS | COLUMNS CONTINUE}","MODIFY","RENAME TO","RENAME COLUMN","TRUNCATE TABLE","SET SCHEMA","BEGIN","CONNECT BY","DECLARE","EXCEPT","EXCEPTION","LOOP","START WITH"]),ew=A(["UNION [ALL]","EXCEPT","INTERSECT"]),eG=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | OUTER} APPLY"]),eF=A(["ON {UPDATE | DELETE} [SET NULL]","ON COMMIT","{ROWS | RANGE} BETWEEN"]),eH={tokenizerOptions:{reservedSelect:eD,reservedClauses:[...eU,...ex],reservedSetOperations:ew,reservedJoins:eG,reservedPhrases:eF,supportsXor:!0,reservedKeywords:eM,reservedFunctionNames:eb,stringTypes:[{quote:"''-qq",prefixes:["N"]},{quote:"q''",prefixes:["N"]}],identTypes:['""-qq'],identChars:{rest:"$#"},variableTypes:[{regex:"&{1,2}[A-Za-z][A-Za-z0-9_$#]*"}],paramTypes:{numbered:[":"],named:[":"]},paramChars:{},operators:["**",":=","%","~=","^=",">>","<<","=>","@","||"],postProcess:function(e){let t=u;return e.map(e=>d.SET(e)&&d.BY(t)?{...e,type:r.RESERVED_KEYWORD}:(R(e.type)&&(t=e),e))}},formatOptions:{alwaysDenseOperators:["@"],onelineClauses:ex}},eB=v({math:["ABS","ACOS","ACOSD","ACOSH","ASIN","ASIND","ASINH","ATAN","ATAN2","ATAN2D","ATAND","ATANH","CBRT","CEIL","CEILING","COS","COSD","COSH","COT","COTD","DEGREES","DIV","EXP","FACTORIAL","FLOOR","GCD","LCM","LN","LOG","LOG10","MIN_SCALE","MOD","PI","POWER","RADIANS","RANDOM","ROUND","SCALE","SETSEED","SIGN","SIN","SIND","SINH","SQRT","TAN","TAND","TANH","TRIM_SCALE","TRUNC","WIDTH_BUCKET"],string:["ABS","ASCII","BIT_LENGTH","BTRIM","CHARACTER_LENGTH","CHAR_LENGTH","CHR","CONCAT","CONCAT_WS","FORMAT","INITCAP","LEFT","LENGTH","LOWER","LPAD","LTRIM","MD5","NORMALIZE","OCTET_LENGTH","OVERLAY","PARSE_IDENT","PG_CLIENT_ENCODING","POSITION","QUOTE_IDENT","QUOTE_LITERAL","QUOTE_NULLABLE","REGEXP_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE","REPEAT","REPLACE","REVERSE","RIGHT","RPAD","RTRIM","SPLIT_PART","SPRINTF","STARTS_WITH","STRING_AGG","STRING_TO_ARRAY","STRING_TO_TABLE","STRPOS","SUBSTR","SUBSTRING","TO_ASCII","TO_HEX","TRANSLATE","TRIM","UNISTR","UPPER"],binary:["BIT_COUNT","BIT_LENGTH","BTRIM","CONVERT","CONVERT_FROM","CONVERT_TO","DECODE","ENCODE","GET_BIT","GET_BYTE","LENGTH","LTRIM","MD5","OCTET_LENGTH","OVERLAY","POSITION","RTRIM","SET_BIT","SET_BYTE","SHA224","SHA256","SHA384","SHA512","STRING_AGG","SUBSTR","SUBSTRING","TRIM"],bitstring:["BIT_COUNT","BIT_LENGTH","GET_BIT","LENGTH","OCTET_LENGTH","OVERLAY","POSITION","SET_BIT","SUBSTRING"],pattern:["REGEXP_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE"],datatype:["TO_CHAR","TO_DATE","TO_NUMBER","TO_TIMESTAMP"],datetime:["CLOCK_TIMESTAMP","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE_BIN","DATE_PART","DATE_TRUNC","EXTRACT","ISFINITE","JUSTIFY_DAYS","JUSTIFY_HOURS","JUSTIFY_INTERVAL","LOCALTIME","LOCALTIMESTAMP","MAKE_DATE","MAKE_INTERVAL","MAKE_TIME","MAKE_TIMESTAMP","MAKE_TIMESTAMPTZ","NOW","PG_SLEEP","PG_SLEEP_FOR","PG_SLEEP_UNTIL","STATEMENT_TIMESTAMP","TIMEOFDAY","TO_TIMESTAMP","TRANSACTION_TIMESTAMP"],enum:["ENUM_FIRST","ENUM_LAST","ENUM_RANGE"],geometry:["AREA","BOUND_BOX","BOX","CENTER","CIRCLE","DIAGONAL","DIAMETER","HEIGHT","ISCLOSED","ISOPEN","LENGTH","LINE","LSEG","NPOINTS","PATH","PCLOSE","POINT","POLYGON","POPEN","RADIUS","SLOPE","WIDTH"],network:["ABBREV","BROADCAST","FAMILY","HOST","HOSTMASK","INET_MERGE","INET_SAME_FAMILY","MACADDR8_SET7BIT","MASKLEN","NETMASK","NETWORK","SET_MASKLEN","TEXT","TRUNC"],textsearch:["ARRAY_TO_TSVECTOR","GET_CURRENT_TS_CONFIG","JSONB_TO_TSVECTOR","JSON_TO_TSVECTOR","LENGTH","NUMNODE","PHRASETO_TSQUERY","PLAINTO_TSQUERY","QUERYTREE","SETWEIGHT","STRIP","TO_TSQUERY","TO_TSVECTOR","TSQUERY_PHRASE","TSVECTOR_TO_ARRAY","TS_DEBUG","TS_DELETE","TS_FILTER","TS_HEADLINE","TS_LEXIZE","TS_PARSE","TS_RANK","TS_RANK_CD","TS_REWRITE","TS_STAT","TS_TOKEN_TYPE","WEBSEARCH_TO_TSQUERY"],uuid:["UUID"],xml:["CURSOR_TO_XML","CURSOR_TO_XMLSCHEMA","DATABASE_TO_XML","DATABASE_TO_XMLSCHEMA","DATABASE_TO_XML_AND_XMLSCHEMA","NEXTVAL","QUERY_TO_XML","QUERY_TO_XMLSCHEMA","QUERY_TO_XML_AND_XMLSCHEMA","SCHEMA_TO_XML","SCHEMA_TO_XMLSCHEMA","SCHEMA_TO_XML_AND_XMLSCHEMA","STRING","TABLE_TO_XML","TABLE_TO_XMLSCHEMA","TABLE_TO_XML_AND_XMLSCHEMA","XMLAGG","XMLCOMMENT","XMLCONCAT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLPARSE","XMLPI","XMLROOT","XMLSERIALIZE","XMLTABLE","XML_IS_WELL_FORMED","XML_IS_WELL_FORMED_CONTENT","XML_IS_WELL_FORMED_DOCUMENT","XPATH","XPATH_EXISTS"],json:["ARRAY_TO_JSON","JSONB_AGG","JSONB_ARRAY_ELEMENTS","JSONB_ARRAY_ELEMENTS_TEXT","JSONB_ARRAY_LENGTH","JSONB_BUILD_ARRAY","JSONB_BUILD_OBJECT","JSONB_EACH","JSONB_EACH_TEXT","JSONB_EXTRACT_PATH","JSONB_EXTRACT_PATH_TEXT","JSONB_INSERT","JSONB_OBJECT","JSONB_OBJECT_AGG","JSONB_OBJECT_KEYS","JSONB_PATH_EXISTS","JSONB_PATH_EXISTS_TZ","JSONB_PATH_MATCH","JSONB_PATH_MATCH_TZ","JSONB_PATH_QUERY","JSONB_PATH_QUERY_ARRAY","JSONB_PATH_QUERY_ARRAY_TZ","JSONB_PATH_QUERY_FIRST","JSONB_PATH_QUERY_FIRST_TZ","JSONB_PATH_QUERY_TZ","JSONB_POPULATE_RECORD","JSONB_POPULATE_RECORDSET","JSONB_PRETTY","JSONB_SET","JSONB_SET_LAX","JSONB_STRIP_NULLS","JSONB_TO_RECORD","JSONB_TO_RECORDSET","JSONB_TYPEOF","JSON_AGG","JSON_ARRAY_ELEMENTS","JSON_ARRAY_ELEMENTS_TEXT","JSON_ARRAY_LENGTH","JSON_BUILD_ARRAY","JSON_BUILD_OBJECT","JSON_EACH","JSON_EACH_TEXT","JSON_EXTRACT_PATH","JSON_EXTRACT_PATH_TEXT","JSON_OBJECT","JSON_OBJECT_AGG","JSON_OBJECT_KEYS","JSON_POPULATE_RECORD","JSON_POPULATE_RECORDSET","JSON_STRIP_NULLS","JSON_TO_RECORD","JSON_TO_RECORDSET","JSON_TYPEOF","ROW_TO_JSON","TO_JSON","TO_JSONB","TO_TIMESTAMP"],sequence:["CURRVAL","LASTVAL","NEXTVAL","SETVAL"],conditional:["COALESCE","GREATEST","LEAST","NULLIF"],array:["ARRAY_AGG","ARRAY_APPEND","ARRAY_CAT","ARRAY_DIMS","ARRAY_FILL","ARRAY_LENGTH","ARRAY_LOWER","ARRAY_NDIMS","ARRAY_POSITION","ARRAY_POSITIONS","ARRAY_PREPEND","ARRAY_REMOVE","ARRAY_REPLACE","ARRAY_TO_STRING","ARRAY_UPPER","CARDINALITY","STRING_TO_ARRAY","TRIM_ARRAY","UNNEST"],range:["ISEMPTY","LOWER","LOWER_INC","LOWER_INF","MULTIRANGE","RANGE_MERGE","UPPER","UPPER_INC","UPPER_INF"],aggregate:["ARRAY_AGG","AVG","BIT_AND","BIT_OR","BIT_XOR","BOOL_AND","BOOL_OR","COALESCE","CORR","COUNT","COVAR_POP","COVAR_SAMP","CUME_DIST","DENSE_RANK","EVERY","GROUPING","JSONB_AGG","JSONB_OBJECT_AGG","JSON_AGG","JSON_OBJECT_AGG","MAX","MIN","MODE","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","RANGE_AGG","RANGE_INTERSECT_AGG","RANK","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV","STDDEV_POP","STDDEV_SAMP","STRING_AGG","SUM","TO_JSON","TO_JSONB","VARIANCE","VAR_POP","VAR_SAMP","XMLAGG"],window:["CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER"],set:["GENERATE_SERIES","GENERATE_SUBSCRIPTS"],sysInfo:["ACLDEFAULT","ACLEXPLODE","COL_DESCRIPTION","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_QUERY","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_USER","FORMAT_TYPE","HAS_ANY_COLUMN_PRIVILEGE","HAS_COLUMN_PRIVILEGE","HAS_DATABASE_PRIVILEGE","HAS_FOREIGN_DATA_WRAPPER_PRIVILEGE","HAS_FUNCTION_PRIVILEGE","HAS_LANGUAGE_PRIVILEGE","HAS_SCHEMA_PRIVILEGE","HAS_SEQUENCE_PRIVILEGE","HAS_SERVER_PRIVILEGE","HAS_TABLESPACE_PRIVILEGE","HAS_TABLE_PRIVILEGE","HAS_TYPE_PRIVILEGE","INET_CLIENT_ADDR","INET_CLIENT_PORT","INET_SERVER_ADDR","INET_SERVER_PORT","MAKEACLITEM","OBJ_DESCRIPTION","PG_BACKEND_PID","PG_BLOCKING_PIDS","PG_COLLATION_IS_VISIBLE","PG_CONF_LOAD_TIME","PG_CONTROL_CHECKPOINT","PG_CONTROL_INIT","PG_CONTROL_SYSTEM","PG_CONVERSION_IS_VISIBLE","PG_CURRENT_LOGFILE","PG_CURRENT_SNAPSHOT","PG_CURRENT_XACT_ID","PG_CURRENT_XACT_ID_IF_ASSIGNED","PG_DESCRIBE_OBJECT","PG_FUNCTION_IS_VISIBLE","PG_GET_CATALOG_FOREIGN_KEYS","PG_GET_CONSTRAINTDEF","PG_GET_EXPR","PG_GET_FUNCTIONDEF","PG_GET_FUNCTION_ARGUMENTS","PG_GET_FUNCTION_IDENTITY_ARGUMENTS","PG_GET_FUNCTION_RESULT","PG_GET_INDEXDEF","PG_GET_KEYWORDS","PG_GET_OBJECT_ADDRESS","PG_GET_OWNED_SEQUENCE","PG_GET_RULEDEF","PG_GET_SERIAL_SEQUENCE","PG_GET_STATISTICSOBJDEF","PG_GET_TRIGGERDEF","PG_GET_USERBYID","PG_GET_VIEWDEF","PG_HAS_ROLE","PG_IDENTIFY_OBJECT","PG_IDENTIFY_OBJECT_AS_ADDRESS","PG_INDEXAM_HAS_PROPERTY","PG_INDEX_COLUMN_HAS_PROPERTY","PG_INDEX_HAS_PROPERTY","PG_IS_OTHER_TEMP_SCHEMA","PG_JIT_AVAILABLE","PG_LAST_COMMITTED_XACT","PG_LISTENING_CHANNELS","PG_MY_TEMP_SCHEMA","PG_NOTIFICATION_QUEUE_USAGE","PG_OPCLASS_IS_VISIBLE","PG_OPERATOR_IS_VISIBLE","PG_OPFAMILY_IS_VISIBLE","PG_OPTIONS_TO_TABLE","PG_POSTMASTER_START_TIME","PG_SAFE_SNAPSHOT_BLOCKING_PIDS","PG_SNAPSHOT_XIP","PG_SNAPSHOT_XMAX","PG_SNAPSHOT_XMIN","PG_STATISTICS_OBJ_IS_VISIBLE","PG_TABLESPACE_DATABASES","PG_TABLESPACE_LOCATION","PG_TABLE_IS_VISIBLE","PG_TRIGGER_DEPTH","PG_TS_CONFIG_IS_VISIBLE","PG_TS_DICT_IS_VISIBLE","PG_TS_PARSER_IS_VISIBLE","PG_TS_TEMPLATE_IS_VISIBLE","PG_TYPEOF","PG_TYPE_IS_VISIBLE","PG_VISIBLE_IN_SNAPSHOT","PG_XACT_COMMIT_TIMESTAMP","PG_XACT_COMMIT_TIMESTAMP_ORIGIN","PG_XACT_STATUS","PQSERVERVERSION","ROW_SECURITY_ACTIVE","SESSION_USER","SHOBJ_DESCRIPTION","TO_REGCLASS","TO_REGCOLLATION","TO_REGNAMESPACE","TO_REGOPER","TO_REGOPERATOR","TO_REGPROC","TO_REGPROCEDURE","TO_REGROLE","TO_REGTYPE","TXID_CURRENT","TXID_CURRENT_IF_ASSIGNED","TXID_CURRENT_SNAPSHOT","TXID_SNAPSHOT_XIP","TXID_SNAPSHOT_XMAX","TXID_SNAPSHOT_XMIN","TXID_STATUS","TXID_VISIBLE_IN_SNAPSHOT","USER","VERSION"],sysAdmin:["BRIN_DESUMMARIZE_RANGE","BRIN_SUMMARIZE_NEW_VALUES","BRIN_SUMMARIZE_RANGE","CONVERT_FROM","CURRENT_SETTING","GIN_CLEAN_PENDING_LIST","PG_ADVISORY_LOCK","PG_ADVISORY_LOCK_SHARED","PG_ADVISORY_UNLOCK","PG_ADVISORY_UNLOCK_ALL","PG_ADVISORY_UNLOCK_SHARED","PG_ADVISORY_XACT_LOCK","PG_ADVISORY_XACT_LOCK_SHARED","PG_BACKUP_START_TIME","PG_CANCEL_BACKEND","PG_COLLATION_ACTUAL_VERSION","PG_COLUMN_COMPRESSION","PG_COLUMN_SIZE","PG_COPY_LOGICAL_REPLICATION_SLOT","PG_COPY_PHYSICAL_REPLICATION_SLOT","PG_CREATE_LOGICAL_REPLICATION_SLOT","PG_CREATE_PHYSICAL_REPLICATION_SLOT","PG_CREATE_RESTORE_POINT","PG_CURRENT_WAL_FLUSH_LSN","PG_CURRENT_WAL_INSERT_LSN","PG_CURRENT_WAL_LSN","PG_DATABASE_SIZE","PG_DROP_REPLICATION_SLOT","PG_EXPORT_SNAPSHOT","PG_FILENODE_RELATION","PG_GET_WAL_REPLAY_PAUSE_STATE","PG_IMPORT_SYSTEM_COLLATIONS","PG_INDEXES_SIZE","PG_IS_IN_BACKUP","PG_IS_IN_RECOVERY","PG_IS_WAL_REPLAY_PAUSED","PG_LAST_WAL_RECEIVE_LSN","PG_LAST_WAL_REPLAY_LSN","PG_LAST_XACT_REPLAY_TIMESTAMP","PG_LOGICAL_EMIT_MESSAGE","PG_LOGICAL_SLOT_GET_BINARY_CHANGES","PG_LOGICAL_SLOT_GET_CHANGES","PG_LOGICAL_SLOT_PEEK_BINARY_CHANGES","PG_LOGICAL_SLOT_PEEK_CHANGES","PG_LOG_BACKEND_MEMORY_CONTEXTS","PG_LS_ARCHIVE_STATUSDIR","PG_LS_DIR","PG_LS_LOGDIR","PG_LS_TMPDIR","PG_LS_WALDIR","PG_PARTITION_ANCESTORS","PG_PARTITION_ROOT","PG_PARTITION_TREE","PG_PROMOTE","PG_READ_BINARY_FILE","PG_READ_FILE","PG_RELATION_FILENODE","PG_RELATION_FILEPATH","PG_RELATION_SIZE","PG_RELOAD_CONF","PG_REPLICATION_ORIGIN_ADVANCE","PG_REPLICATION_ORIGIN_CREATE","PG_REPLICATION_ORIGIN_DROP","PG_REPLICATION_ORIGIN_OID","PG_REPLICATION_ORIGIN_PROGRESS","PG_REPLICATION_ORIGIN_SESSION_IS_SETUP","PG_REPLICATION_ORIGIN_SESSION_PROGRESS","PG_REPLICATION_ORIGIN_SESSION_RESET","PG_REPLICATION_ORIGIN_SESSION_SETUP","PG_REPLICATION_ORIGIN_XACT_RESET","PG_REPLICATION_ORIGIN_XACT_SETUP","PG_REPLICATION_SLOT_ADVANCE","PG_ROTATE_LOGFILE","PG_SIZE_BYTES","PG_SIZE_PRETTY","PG_START_BACKUP","PG_STAT_FILE","PG_STOP_BACKUP","PG_SWITCH_WAL","PG_TABLESPACE_SIZE","PG_TABLE_SIZE","PG_TERMINATE_BACKEND","PG_TOTAL_RELATION_SIZE","PG_TRY_ADVISORY_LOCK","PG_TRY_ADVISORY_LOCK_SHARED","PG_TRY_ADVISORY_XACT_LOCK","PG_TRY_ADVISORY_XACT_LOCK_SHARED","PG_WALFILE_NAME","PG_WALFILE_NAME_OFFSET","PG_WAL_LSN_DIFF","PG_WAL_REPLAY_PAUSE","PG_WAL_REPLAY_RESUME","SET_CONFIG"],trigger:["SUPPRESS_REDUNDANT_UPDATES_TRIGGER","TSVECTOR_UPDATE_TRIGGER","TSVECTOR_UPDATE_TRIGGER_COLUMN"],eventTrigger:["PG_EVENT_TRIGGER_DDL_COMMANDS","PG_EVENT_TRIGGER_DROPPED_OBJECTS","PG_EVENT_TRIGGER_TABLE_REWRITE_OID","PG_EVENT_TRIGGER_TABLE_REWRITE_REASON","PG_GET_OBJECT_ADDRESS"],stats:["PG_MCV_LIST_ITEMS"],cast:["CAST"],dataTypes:["BIT","BIT VARYING","CHARACTER","CHARACTER VARYING","VARCHAR","CHAR","DECIMAL","NUMERIC","TIME","TIMESTAMP","ENUM"]}),eY=v({all:["ABORT","ABSOLUTE","ACCESS","ACTION","ADD","ADMIN","AFTER","AGGREGATE","ALL","ALSO","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASENSITIVE","ASSERTION","ASSIGNMENT","ASYMMETRIC","AT","ATOMIC","ATTACH","ATTRIBUTE","AUTHORIZATION","BACKWARD","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BIT","BOOLEAN","BOTH","BREADTH","BY","CACHE","CALL","CALLED","CASCADE","CASCADED","CASE","CAST","CATALOG","CHAIN","CHAR","CHARACTER","CHARACTERISTICS","CHECK","CHECKPOINT","CLASS","CLOSE","CLUSTER","COALESCE","COLLATE","COLLATION","COLUMN","COLUMNS","COMMENT","COMMENTS","COMMIT","COMMITTED","COMPRESSION","CONCURRENTLY","CONFIGURATION","CONFLICT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTENT","CONTINUE","CONVERSION","COPY","COST","CREATE","CROSS","CSV","CUBE","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINER","DELETE","DELIMITER","DELIMITERS","DEPENDS","DEPTH","DESC","DETACH","DICTIONARY","DISABLE","DISCARD","DISTINCT","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","EACH","ELSE","ENABLE","ENCODING","ENCRYPTED","END","ENUM","ESCAPE","EVENT","EXCEPT","EXCLUDE","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXPLAIN","EXPRESSION","EXTENSION","EXTERNAL","EXTRACT","FALSE","FAMILY","FETCH","FILTER","FINALIZE","FIRST","FLOAT","FOLLOWING","FOR","FORCE","FOREIGN","FORWARD","FREEZE","FROM","FULL","FUNCTION","FUNCTIONS","GENERATED","GLOBAL","GRANT","GRANTED","GREATEST","GROUP","GROUPING","GROUPS","HANDLER","HAVING","HEADER","HOLD","HOUR","IDENTITY","IF","ILIKE","IMMEDIATE","IMMUTABLE","IMPLICIT","IMPORT","IN","INCLUDE","INCLUDING","INCREMENT","INDEX","INDEXES","INHERIT","INHERITS","INITIALLY","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSTEAD","INT","INTEGER","INTERSECT","INTERVAL","INTO","INVOKER","IS","ISNULL","ISOLATION","JOIN","KEY","LABEL","LANGUAGE","LARGE","LAST","LATERAL","LEADING","LEAKPROOF","LEAST","LEFT","LEVEL","LIKE","LIMIT","LISTEN","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCK","LOCKED","LOGGED","MAPPING","MATCH","MATERIALIZED","MAXVALUE","METHOD","MINUTE","MINVALUE","MODE","MONTH","MOVE","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NEW","NEXT","NFC","NFD","NFKC","NFKD","NO","NONE","NORMALIZE","NORMALIZED","NOT","NOTHING","NOTIFY","NOTNULL","NOWAIT","NULL","NULLIF","NULLS","NUMERIC","OBJECT","OF","OFF","OFFSET","OIDS","OLD","ON","ONLY","OPERATOR","OPTION","OPTIONS","OR","ORDER","ORDINALITY","OTHERS","OUT","OUTER","OVER","OVERLAPS","OVERLAY","OVERRIDING","OWNED","OWNER","PARALLEL","PARSER","PARTIAL","PARTITION","PASSING","PASSWORD","PLACING","PLANS","POLICY","POSITION","PRECEDING","PRECISION","PREPARE","PREPARED","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROCEDURES","PROGRAM","PUBLICATION","QUOTE","RANGE","READ","REAL","REASSIGN","RECHECK","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REINDEX","RELATIVE","RELEASE","RENAME","REPEATABLE","REPLACE","REPLICA","RESET","RESTART","RESTRICT","RETURN","RETURNING","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROUTINES","ROW","ROWS","RULE","SAVEPOINT","SCHEMA","SCHEMAS","SCROLL","SEARCH","SECOND","SECURITY","SELECT","SEQUENCE","SEQUENCES","SERIALIZABLE","SERVER","SESSION","SESSION_USER","SET","SETOF","SETS","SHARE","SHOW","SIMILAR","SIMPLE","SKIP","SMALLINT","SNAPSHOT","SOME","SQL","STABLE","STANDALONE","START","STATEMENT","STATISTICS","STDIN","STDOUT","STORAGE","STORED","STRICT","STRIP","SUBSCRIPTION","SUBSTRING","SUPPORT","SYMMETRIC","SYSID","SYSTEM","TABLE","TABLES","TABLESAMPLE","TABLESPACE","TEMP","TEMPLATE","TEMPORARY","TEXT","THEN","TIES","TIME","TIMESTAMP","TO","TRAILING","TRANSACTION","TRANSFORM","TREAT","TRIGGER","TRIM","TRUE","TRUNCATE","TRUSTED","TYPE","TYPES","UESCAPE","UNBOUNDED","UNCOMMITTED","UNENCRYPTED","UNION","UNIQUE","UNKNOWN","UNLISTEN","UNLOGGED","UNTIL","UPDATE","USER","USING","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VARCHAR","VARIADIC","VARYING","VERBOSE","VERSION","VIEW","VIEWS","VOLATILE","WHEN","WHERE","WHITESPACE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","XML","XMLATTRIBUTES","XMLCONCAT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLNAMESPACES","XMLPARSE","XMLPI","XMLROOT","XMLSERIALIZE","XMLTABLE","YEAR","YES","ZONE"]}),ek=A(["SELECT [ALL | DISTINCT]"]),eV=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","FOR {UPDATE | NO KEY UPDATE | SHARE | KEY SHARE} [OF]","INSERT INTO","VALUES","SET","CREATE [OR REPLACE] [TEMP | TEMPORARY] [RECURSIVE] VIEW","CREATE MATERIALIZED VIEW [IF NOT EXISTS]","CREATE [GLOBAL | LOCAL] [TEMPORARY | TEMP | UNLOGGED] TABLE [IF NOT EXISTS]","RETURNING"]),e$=A(["UPDATE [ONLY]","WHERE CURRENT OF","ON CONFLICT","DELETE FROM [ONLY]","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS] [ONLY]","ALTER TABLE ALL IN TABLESPACE","RENAME [COLUMN]","RENAME TO","ADD [COLUMN] [IF NOT EXISTS]","DROP [COLUMN] [IF EXISTS]","ALTER [COLUMN]","[SET DATA] TYPE","{SET | DROP} DEFAULT","{SET | DROP} NOT NULL","TRUNCATE [TABLE] [ONLY]","SET SCHEMA","AFTER","ABORT","ALTER AGGREGATE","ALTER COLLATION","ALTER CONVERSION","ALTER DATABASE","ALTER DEFAULT PRIVILEGES","ALTER DOMAIN","ALTER EVENT TRIGGER","ALTER EXTENSION","ALTER FOREIGN DATA WRAPPER","ALTER FOREIGN TABLE","ALTER FUNCTION","ALTER GROUP","ALTER INDEX","ALTER LANGUAGE","ALTER LARGE OBJECT","ALTER MATERIALIZED VIEW","ALTER OPERATOR","ALTER OPERATOR CLASS","ALTER OPERATOR FAMILY","ALTER POLICY","ALTER PROCEDURE","ALTER PUBLICATION","ALTER ROLE","ALTER ROUTINE","ALTER RULE","ALTER SCHEMA","ALTER SEQUENCE","ALTER SERVER","ALTER STATISTICS","ALTER SUBSCRIPTION","ALTER SYSTEM","ALTER TABLESPACE","ALTER TEXT SEARCH CONFIGURATION","ALTER TEXT SEARCH DICTIONARY","ALTER TEXT SEARCH PARSER","ALTER TEXT SEARCH TEMPLATE","ALTER TRIGGER","ALTER TYPE","ALTER USER","ALTER USER MAPPING","ALTER VIEW","ANALYZE","BEGIN","CALL","CHECKPOINT","CLOSE","CLUSTER","COMMENT","COMMIT","COMMIT PREPARED","COPY","CREATE ACCESS METHOD","CREATE AGGREGATE","CREATE CAST","CREATE COLLATION","CREATE CONVERSION","CREATE DATABASE","CREATE DOMAIN","CREATE EVENT TRIGGER","CREATE EXTENSION","CREATE FOREIGN DATA WRAPPER","CREATE FOREIGN TABLE","CREATE FUNCTION","CREATE GROUP","CREATE INDEX","CREATE LANGUAGE","CREATE OPERATOR","CREATE OPERATOR CLASS","CREATE OPERATOR FAMILY","CREATE POLICY","CREATE PROCEDURE","CREATE PUBLICATION","CREATE ROLE","CREATE RULE","CREATE SCHEMA","CREATE SEQUENCE","CREATE SERVER","CREATE STATISTICS","CREATE SUBSCRIPTION","CREATE TABLESPACE","CREATE TEXT SEARCH CONFIGURATION","CREATE TEXT SEARCH DICTIONARY","CREATE TEXT SEARCH PARSER","CREATE TEXT SEARCH TEMPLATE","CREATE TRANSFORM","CREATE TRIGGER","CREATE TYPE","CREATE USER","CREATE USER MAPPING","DEALLOCATE","DECLARE","DISCARD","DROP ACCESS METHOD","DROP AGGREGATE","DROP CAST","DROP COLLATION","DROP CONVERSION","DROP DATABASE","DROP DOMAIN","DROP EVENT TRIGGER","DROP EXTENSION","DROP FOREIGN DATA WRAPPER","DROP FOREIGN TABLE","DROP FUNCTION","DROP GROUP","DROP INDEX","DROP LANGUAGE","DROP MATERIALIZED VIEW","DROP OPERATOR","DROP OPERATOR CLASS","DROP OPERATOR FAMILY","DROP OWNED","DROP POLICY","DROP PROCEDURE","DROP PUBLICATION","DROP ROLE","DROP ROUTINE","DROP RULE","DROP SCHEMA","DROP SEQUENCE","DROP SERVER","DROP STATISTICS","DROP SUBSCRIPTION","DROP TABLESPACE","DROP TEXT SEARCH CONFIGURATION","DROP TEXT SEARCH DICTIONARY","DROP TEXT SEARCH PARSER","DROP TEXT SEARCH TEMPLATE","DROP TRANSFORM","DROP TRIGGER","DROP TYPE","DROP USER","DROP USER MAPPING","DROP VIEW","EXECUTE","EXPLAIN","FETCH","GRANT","IMPORT FOREIGN SCHEMA","LISTEN","LOAD","LOCK","MOVE","NOTIFY","PREPARE","PREPARE TRANSACTION","REASSIGN OWNED","REFRESH MATERIALIZED VIEW","REINDEX","RELEASE SAVEPOINT","RESET","REVOKE","ROLLBACK","ROLLBACK PREPARED","ROLLBACK TO SAVEPOINT","SAVEPOINT","SECURITY LABEL","SELECT INTO","SET CONSTRAINTS","SET ROLE","SET SESSION AUTHORIZATION","SET TRANSACTION","SHOW","START TRANSACTION","UNLISTEN","VACUUM"]),eW=A(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),eZ=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),ej=A(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN","{TIMESTAMP | TIME} {WITH | WITHOUT} TIME ZONE","IS [NOT] DISTINCT FROM"]),eX={tokenizerOptions:{reservedSelect:ek,reservedClauses:[...eV,...e$],reservedSetOperations:eW,reservedJoins:eZ,reservedPhrases:ej,reservedKeywords:eY,reservedFunctionNames:eB,nestedBlockComments:!0,extraParens:["[]"],stringTypes:["$$",{quote:"''-qq",prefixes:["U&"]},{quote:"''-bs",prefixes:["E"],requirePrefix:!0},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:[{quote:'""-qq',prefixes:["U&"]}],identChars:{rest:"$"},paramTypes:{numbered:["$"]},operators:["%","^","|/","||/","@",":=","&","|","#","~","<<",">>","~>~","~<~","~>=~","~<=~","@-@","@@","##","<->","&&","&<","&>","<<|","&<|","|>>","|&>","<^","^>","?#","?-","?|","?-|","?||","@>","<@","~=","?","@?","?&","->","->>","#>","#>>","#-","=>",">>=","<<=","~~","~~*","!~~","!~~*","~","~*","!~","!~*","-|-","||","@@@","!!","<%","%>","<<%","%>>","<<->","<->>","<<<->","<->>>","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:e$}},eK=v({aggregate:["ANY_VALUE","APPROXIMATE PERCENTILE_DISC","AVG","COUNT","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","STDDEV_SAMP","STDDEV_POP","SUM","VAR_SAMP","VAR_POP"],array:["array","array_concat","array_flatten","get_array_length","split_to_array","subarray"],bitwise:["BIT_AND","BIT_OR","BOOL_AND","BOOL_OR"],conditional:["COALESCE","DECODE","GREATEST","LEAST","NVL","NVL2","NULLIF"],dateTime:["ADD_MONTHS","AT TIME ZONE","CONVERT_TIMEZONE","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE_CMP","DATE_CMP_TIMESTAMP","DATE_CMP_TIMESTAMPTZ","DATE_PART_YEAR","DATEADD","DATEDIFF","DATE_PART","DATE_TRUNC","EXTRACT","GETDATE","INTERVAL_CMP","LAST_DAY","MONTHS_BETWEEN","NEXT_DAY","SYSDATE","TIMEOFDAY","TIMESTAMP_CMP","TIMESTAMP_CMP_DATE","TIMESTAMP_CMP_TIMESTAMPTZ","TIMESTAMPTZ_CMP","TIMESTAMPTZ_CMP_DATE","TIMESTAMPTZ_CMP_TIMESTAMP","TIMEZONE","TO_TIMESTAMP","TRUNC"],spatial:["AddBBox","DropBBox","GeometryType","ST_AddPoint","ST_Angle","ST_Area","ST_AsBinary","ST_AsEWKB","ST_AsEWKT","ST_AsGeoJSON","ST_AsText","ST_Azimuth","ST_Boundary","ST_Collect","ST_Contains","ST_ContainsProperly","ST_ConvexHull","ST_CoveredBy","ST_Covers","ST_Crosses","ST_Dimension","ST_Disjoint","ST_Distance","ST_DistanceSphere","ST_DWithin","ST_EndPoint","ST_Envelope","ST_Equals","ST_ExteriorRing","ST_Force2D","ST_Force3D","ST_Force3DM","ST_Force3DZ","ST_Force4D","ST_GeometryN","ST_GeometryType","ST_GeomFromEWKB","ST_GeomFromEWKT","ST_GeomFromText","ST_GeomFromWKB","ST_InteriorRingN","ST_Intersects","ST_IsPolygonCCW","ST_IsPolygonCW","ST_IsClosed","ST_IsCollection","ST_IsEmpty","ST_IsSimple","ST_IsValid","ST_Length","ST_LengthSphere","ST_Length2D","ST_LineFromMultiPoint","ST_LineInterpolatePoint","ST_M","ST_MakeEnvelope","ST_MakeLine","ST_MakePoint","ST_MakePolygon","ST_MemSize","ST_MMax","ST_MMin","ST_Multi","ST_NDims","ST_NPoints","ST_NRings","ST_NumGeometries","ST_NumInteriorRings","ST_NumPoints","ST_Perimeter","ST_Perimeter2D","ST_Point","ST_PointN","ST_Points","ST_Polygon","ST_RemovePoint","ST_Reverse","ST_SetPoint","ST_SetSRID","ST_Simplify","ST_SRID","ST_StartPoint","ST_Touches","ST_Within","ST_X","ST_XMax","ST_XMin","ST_Y","ST_YMax","ST_YMin","ST_Z","ST_ZMax","ST_ZMin","SupportsBBox"],hash:["CHECKSUM","FUNC_SHA1","FNV_HASH","MD5","SHA","SHA1","SHA2"],hyperLogLog:["HLL","HLL_CREATE_SKETCH","HLL_CARDINALITY","HLL_COMBINE"],json:["IS_VALID_JSON","IS_VALID_JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_EXTRACT_ARRAY_ELEMENT_TEXT","JSON_EXTRACT_PATH_TEXT","JSON_PARSE","JSON_SERIALIZE"],math:["ABS","ACOS","ASIN","ATAN","ATAN2","CBRT","CEILING","CEIL","COS","COT","DEGREES","DEXP","DLOG1","DLOG10","EXP","FLOOR","LN","LOG","MOD","PI","POWER","RADIANS","RANDOM","ROUND","SIN","SIGN","SQRT","TAN","TO_HEX","TRUNC"],machineLearning:["EXPLAIN_MODEL"],string:["ASCII","BPCHARCMP","BTRIM","BTTEXT_PATTERN_CMP","CHAR_LENGTH","CHARACTER_LENGTH","CHARINDEX","CHR","COLLATE","CONCAT","CRC32","DIFFERENCE","INITCAP","LEFT","RIGHT","LEN","LENGTH","LOWER","LPAD","RPAD","LTRIM","OCTETINDEX","OCTET_LENGTH","POSITION","QUOTE_IDENT","QUOTE_LITERAL","REGEXP_COUNT","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","REPLICATE","REVERSE","RTRIM","SOUNDEX","SPLIT_PART","STRPOS","STRTOL","SUBSTRING","TEXTLEN","TRANSLATE","TRIM","UPPER"],superType:["decimal_precision","decimal_scale","is_array","is_bigint","is_boolean","is_char","is_decimal","is_float","is_integer","is_object","is_scalar","is_smallint","is_varchar","json_typeof"],window:["AVG","COUNT","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAST_VALUE","LAG","LEAD","LISTAGG","MAX","MEDIAN","MIN","NTH_VALUE","NTILE","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","RATIO_TO_REPORT","ROW_NUMBER","STDDEV_SAMP","STDDEV_POP","SUM","VAR_SAMP","VAR_POP"],dataType:["CAST","CONVERT","TO_CHAR","TO_DATE","TO_NUMBER","TEXT_TO_INT_ALT","TEXT_TO_NUMERIC_ALT"],sysAdmin:["CHANGE_QUERY_PRIORITY","CHANGE_SESSION_PRIORITY","CHANGE_USER_PRIORITY","CURRENT_SETTING","PG_CANCEL_BACKEND","PG_TERMINATE_BACKEND","REBOOT_CLUSTER","SET_CONFIG"],sysInfo:["CURRENT_AWS_ACCOUNT","CURRENT_DATABASE","CURRENT_NAMESPACE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_USER","CURRENT_USER_ID","HAS_ASSUMEROLE_PRIVILEGE","HAS_DATABASE_PRIVILEGE","HAS_SCHEMA_PRIVILEGE","HAS_TABLE_PRIVILEGE","PG_BACKEND_PID","PG_GET_COLS","PG_GET_GRANTEE_BY_IAM_ROLE","PG_GET_IAM_ROLE_BY_USER","PG_GET_LATE_BINDING_VIEW_COLS","PG_LAST_COPY_COUNT","PG_LAST_COPY_ID","PG_LAST_UNLOAD_ID","PG_LAST_QUERY_ID","PG_LAST_UNLOAD_COUNT","SESSION_USER","SLICE_NUM","USER","VERSION"],dataTypes:["DECIMAL","NUMERIC","CHAR","CHARACTER","VARCHAR","CHARACTER VARYING","NCHAR","NVARCHAR","VARBYTE"]}),ez=v({standard:["AES128","AES256","ALL","ALLOWOVERWRITE","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BOTH","CHECK","COLUMN","CONSTRAINT","CREATE","CROSS","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DESC","DISABLE","DISTINCT","DO","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GROUP","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTO","IS","ISNULL","LANGUAGE","LEADING","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","MINUS","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RECOVER","REFERENCES","REJECTLOG","RESORT","RESPECT","RESTORE","SIMILAR","SNAPSHOT","SOME","SYSTEM","TABLE","TAG","TDES","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","UNIQUE","USING","VERBOSE","WALLET","WITHOUT"],dataConversionParams:["ACCEPTANYDATE","ACCEPTINVCHARS","BLANKSASNULL","DATEFORMAT","EMPTYASNULL","ENCODING","ESCAPE","EXPLICIT_IDS","FILLRECORD","IGNOREBLANKLINES","IGNOREHEADER","REMOVEQUOTES","ROUNDEC","TIMEFORMAT","TRIMBLANKS","TRUNCATECOLUMNS"],dataLoadParams:["COMPROWS","COMPUPDATE","MAXERROR","NOLOAD","STATUPDATE"],dataFormatParams:["FORMAT","CSV","DELIMITER","FIXEDWIDTH","SHAPEFILE","AVRO","JSON","PARQUET","ORC"],copyAuthParams:["ACCESS_KEY_ID","CREDENTIALS","ENCRYPTED","IAM_ROLE","MASTER_SYMMETRIC_KEY","SECRET_ACCESS_KEY","SESSION_TOKEN"],copyCompressionParams:["BZIP2","GZIP","LZOP","ZSTD"],copyMiscParams:["MANIFEST","READRATIO","REGION","SSH"],compressionEncodings:["RAW","AZ64","BYTEDICT","DELTA","DELTA32K","LZO","MOSTLY8","MOSTLY16","MOSTLY32","RUNLENGTH","TEXT255","TEXT32K"],misc:["CATALOG_ROLE","SECRET_ARN","EXTERNAL","AUTO","EVEN","KEY","PREDICATE","COMPRESSION"],dataTypes:["BPCHAR","TEXT"]}),eJ=A(["SELECT [ALL | DISTINCT]"]),eq=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT INTO","VALUES","SET","CREATE [OR REPLACE | MATERIALIZED] VIEW","CREATE [TEMPORARY | TEMP | LOCAL TEMPORARY | LOCAL TEMP] TABLE [IF NOT EXISTS]"]),eQ=A(["UPDATE","DELETE [FROM]","DROP TABLE [IF EXISTS]","ALTER TABLE","ALTER TABLE APPEND","ADD [COLUMN]","DROP [COLUMN]","RENAME TO","RENAME COLUMN","ALTER COLUMN","TYPE","ENCODE","TRUNCATE [TABLE]","ABORT","ALTER DATABASE","ALTER DATASHARE","ALTER DEFAULT PRIVILEGES","ALTER GROUP","ALTER MATERIALIZED VIEW","ALTER PROCEDURE","ALTER SCHEMA","ALTER USER","ANALYSE","ANALYZE","ANALYSE COMPRESSION","ANALYZE COMPRESSION","BEGIN","CALL","CANCEL","CLOSE","COMMENT","COMMIT","COPY","CREATE DATABASE","CREATE DATASHARE","CREATE EXTERNAL FUNCTION","CREATE EXTERNAL SCHEMA","CREATE EXTERNAL TABLE","CREATE FUNCTION","CREATE GROUP","CREATE LIBRARY","CREATE MODEL","CREATE PROCEDURE","CREATE SCHEMA","CREATE USER","DEALLOCATE","DECLARE","DESC DATASHARE","DROP DATABASE","DROP DATASHARE","DROP FUNCTION","DROP GROUP","DROP LIBRARY","DROP MODEL","DROP MATERIALIZED VIEW","DROP PROCEDURE","DROP SCHEMA","DROP USER","DROP VIEW","DROP","EXECUTE","EXPLAIN","FETCH","GRANT","LOCK","PREPARE","REFRESH MATERIALIZED VIEW","RESET","REVOKE","ROLLBACK","SELECT INTO","SET SESSION AUTHORIZATION","SET SESSION CHARACTERISTICS","SHOW","SHOW EXTERNAL TABLE","SHOW MODEL","SHOW DATASHARES","SHOW PROCEDURE","SHOW TABLE","SHOW VIEW","START TRANSACTION","UNLOAD","VACUUM"]),e0=A(["UNION [ALL]","EXCEPT","INTERSECT","MINUS"]),e1=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),e2=A(["NULL AS","DATA CATALOG","HIVE METASTORE","{ROWS | RANGE} BETWEEN"]),e4={tokenizerOptions:{reservedSelect:eJ,reservedClauses:[...eq,...eQ],reservedSetOperations:e0,reservedJoins:e1,reservedPhrases:e2,reservedKeywords:ez,reservedFunctionNames:eK,stringTypes:["''-qq"],identTypes:['""-qq'],identChars:{first:"#"},paramTypes:{numbered:["$"]},operators:["^","%","@","|/","||/","&","|","~","<<",">>","||","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:eQ}},e6=v({all:["ADD","AFTER","ALL","ALTER","ANALYZE","AND","ANTI","ANY","ARCHIVE","ARRAY","AS","ASC","AT","AUTHORIZATION","BETWEEN","BOTH","BUCKET","BUCKETS","BY","CACHE","CASCADE","CAST","CHANGE","CHECK","CLEAR","CLUSTER","CLUSTERED","CODEGEN","COLLATE","COLLECTION","COLUMN","COLUMNS","COMMENT","COMMIT","COMPACT","COMPACTIONS","COMPUTE","CONCATENATE","CONSTRAINT","COST","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DATA","DATABASE","DATABASES","DAY","DBPROPERTIES","DEFINED","DELETE","DELIMITED","DESC","DESCRIBE","DFS","DIRECTORIES","DIRECTORY","DISTINCT","DISTRIBUTE","DIV","DROP","ESCAPE","ESCAPED","EXCEPT","EXCHANGE","EXISTS","EXPORT","EXTENDED","EXTERNAL","EXTRACT","FALSE","FETCH","FIELDS","FILTER","FILEFORMAT","FIRST","FIRST_VALUE","FOLLOWING","FOR","FOREIGN","FORMAT","FORMATTED","FULL","FUNCTION","FUNCTIONS","GLOBAL","GRANT","GROUP","GROUPING","HOUR","IF","IGNORE","IMPORT","IN","INDEX","INDEXES","INNER","INPATH","INPUTFORMAT","INTERSECT","INTERVAL","INTO","IS","ITEMS","KEYS","LAST","LAST_VALUE","LATERAL","LAZY","LEADING","LEFT","LIKE","LINES","LIST","LOCAL","LOCATION","LOCK","LOCKS","LOGICAL","MACRO","MAP","MATCHED","MERGE","MINUTE","MONTH","MSCK","NAMESPACE","NAMESPACES","NATURAL","NO","NOT","NULL","NULLS","OF","ONLY","OPTION","OPTIONS","OR","ORDER","OUT","OUTER","OUTPUTFORMAT","OVER","OVERLAPS","OVERLAY","OVERWRITE","OWNER","PARTITION","PARTITIONED","PARTITIONS","PERCENT","PLACING","POSITION","PRECEDING","PRIMARY","PRINCIPALS","PROPERTIES","PURGE","QUERY","RANGE","RECORDREADER","RECORDWRITER","RECOVER","REDUCE","REFERENCES","RENAME","REPAIR","REPLACE","RESPECT","RESTRICT","REVOKE","RIGHT","RLIKE","ROLE","ROLES","ROLLBACK","ROLLUP","ROW","ROWS","SCHEMA","SECOND","SELECT","SEMI","SEPARATED","SERDE","SERDEPROPERTIES","SESSION_USER","SETS","SHOW","SKEWED","SOME","SORT","SORTED","START","STATISTICS","STORED","STRATIFY","STRUCT","SUBSTR","SUBSTRING","TABLE","TABLES","TBLPROPERTIES","TEMPORARY","TERMINATED","THEN","TO","TOUCH","TRAILING","TRANSACTION","TRANSACTIONS","TRIM","TRUE","TRUNCATE","UNARCHIVE","UNBOUNDED","UNCACHE","UNIQUE","UNKNOWN","UNLOCK","UNSET","USE","USER","USING","VIEW","WINDOW","YEAR","ANALYSE","ARRAY_ZIP","COALESCE","CONTAINS","CONVERT","DAYS","DAY_HOUR","DAY_MINUTE","DAY_SECOND","DECODE","DEFAULT","DISTINCTROW","ENCODE","EXPLODE","EXPLODE_OUTER","FIXED","GREATEST","GROUP_CONCAT","HOURS","HOUR_MINUTE","HOUR_SECOND","IFNULL","LEAST","LEVEL","MINUTE_SECOND","NULLIF","OFFSET","ON","OPTIMIZE","REGEXP","SEPARATOR","SIZE","STRING","TYPE","TYPES","UNSIGNED","VARIABLES","YEAR_MONTH"]}),e3=v({aggregate:["APPROX_COUNT_DISTINCT","APPROX_PERCENTILE","AVG","BIT_AND","BIT_OR","BIT_XOR","BOOL_AND","BOOL_OR","COLLECT_LIST","COLLECT_SET","CORR","COUNT","COUNT","COUNT","COUNT_IF","COUNT_MIN_SKETCH","COVAR_POP","COVAR_SAMP","EVERY","FIRST","FIRST_VALUE","GROUPING","GROUPING_ID","KURTOSIS","LAST","LAST_VALUE","MAX","MAX_BY","MEAN","MIN","MIN_BY","PERCENTILE","PERCENTILE","PERCENTILE_APPROX","SKEWNESS","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],window:["CUME_DIST","DENSE_RANK","LAG","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER"],array:["ARRAY","ARRAY_CONTAINS","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_INTERSECT","ARRAY_JOIN","ARRAY_MAX","ARRAY_MIN","ARRAY_POSITION","ARRAY_REMOVE","ARRAY_REPEAT","ARRAY_UNION","ARRAYS_OVERLAP","ARRAYS_ZIP","FLATTEN","SEQUENCE","SHUFFLE","SLICE","SORT_ARRAY"],map:["ELEMENT_AT","ELEMENT_AT","MAP","MAP_CONCAT","MAP_ENTRIES","MAP_FROM_ARRAYS","MAP_FROM_ENTRIES","MAP_KEYS","MAP_VALUES","STR_TO_MAP"],datetime:["ADD_MONTHS","CURRENT_DATE","CURRENT_DATE","CURRENT_TIMESTAMP","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","DATE_ADD","DATE_FORMAT","DATE_FROM_UNIX_DATE","DATE_PART","DATE_SUB","DATE_TRUNC","DATEDIFF","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","EXTRACT","FROM_UNIXTIME","FROM_UTC_TIMESTAMP","HOUR","LAST_DAY","MAKE_DATE","MAKE_DT_INTERVAL","MAKE_INTERVAL","MAKE_TIMESTAMP","MAKE_YM_INTERVAL","MINUTE","MONTH","MONTHS_BETWEEN","NEXT_DAY","NOW","QUARTER","SECOND","SESSION_WINDOW","TIMESTAMP_MICROS","TIMESTAMP_MILLIS","TIMESTAMP_SECONDS","TO_DATE","TO_TIMESTAMP","TO_UNIX_TIMESTAMP","TO_UTC_TIMESTAMP","TRUNC","UNIX_DATE","UNIX_MICROS","UNIX_MILLIS","UNIX_SECONDS","UNIX_TIMESTAMP","WEEKDAY","WEEKOFYEAR","WINDOW","YEAR"],json:["FROM_JSON","GET_JSON_OBJECT","JSON_ARRAY_LENGTH","JSON_OBJECT_KEYS","JSON_TUPLE","SCHEMA_OF_JSON","TO_JSON"],misc:["ABS","ACOS","ACOSH","AGGREGATE","ARRAY_SORT","ASCII","ASIN","ASINH","ASSERT_TRUE","ATAN","ATAN2","ATANH","BASE64","BIGINT","BIN","BINARY","BIT_COUNT","BIT_GET","BIT_LENGTH","BOOLEAN","BROUND","BTRIM","CARDINALITY","CBRT","CEIL","CEILING","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHR","CONCAT","CONCAT_WS","CONV","COS","COSH","COT","CRC32","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_USER","DATE","DECIMAL","DEGREES","DOUBLE","ELT","EXP","EXPM1","FACTORIAL","FIND_IN_SET","FLOAT","FLOOR","FORALL","FORMAT_NUMBER","FORMAT_STRING","FROM_CSV","GETBIT","HASH","HEX","HYPOT","INITCAP","INLINE","INLINE_OUTER","INPUT_FILE_BLOCK_LENGTH","INPUT_FILE_BLOCK_START","INPUT_FILE_NAME","INSTR","INT","ISNAN","ISNOTNULL","ISNULL","JAVA_METHOD","LCASE","LEFT","LENGTH","LEVENSHTEIN","LN","LOCATE","LOG","LOG10","LOG1P","LOG2","LOWER","LPAD","LTRIM","MAP_FILTER","MAP_ZIP_WITH","MD5","MOD","MONOTONICALLY_INCREASING_ID","NAMED_STRUCT","NANVL","NEGATIVE","NVL","NVL2","OCTET_LENGTH","OVERLAY","PARSE_URL","PI","PMOD","POSEXPLODE","POSEXPLODE_OUTER","POSITION","POSITIVE","POW","POWER","PRINTF","RADIANS","RAISE_ERROR","RAND","RANDN","RANDOM","REFLECT","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_LIKE","REGEXP_REPLACE","REPEAT","REPLACE","REVERSE","RIGHT","RINT","ROUND","RPAD","RTRIM","SCHEMA_OF_CSV","SENTENCES","SHA","SHA1","SHA2","SHIFTLEFT","SHIFTRIGHT","SHIFTRIGHTUNSIGNED","SIGN","SIGNUM","SIN","SINH","SMALLINT","SOUNDEX","SPACE","SPARK_PARTITION_ID","SPLIT","SQRT","STACK","SUBSTR","SUBSTRING","SUBSTRING_INDEX","TAN","TANH","TIMESTAMP","TINYINT","TO_CSV","TRANSFORM_KEYS","TRANSFORM_VALUES","TRANSLATE","TRIM","TRY_ADD","TRY_DIVIDE","TYPEOF","UCASE","UNBASE64","UNHEX","UPPER","UUID","VERSION","WIDTH_BUCKET","XPATH","XPATH_BOOLEAN","XPATH_DOUBLE","XPATH_FLOAT","XPATH_INT","XPATH_LONG","XPATH_NUMBER","XPATH_SHORT","XPATH_STRING","XXHASH64","ZIP_WITH"],cast:["CAST"],caseAbbrev:["COALESCE","NULLIF"],dataTypes:["DECIMAL","DEC","NUMERIC","VARCHAR"]}),e8=A(["SELECT [ALL | DISTINCT]"]),e5=A(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","SORT BY","CLUSTER BY","DISTRIBUTE BY","LIMIT","INSERT [INTO | OVERWRITE] [TABLE]","VALUES","INSERT OVERWRITE [LOCAL] DIRECTORY","LOAD DATA [LOCAL] INPATH","[OVERWRITE] INTO TABLE","CREATE [OR REPLACE] [GLOBAL TEMPORARY | TEMPORARY] VIEW [IF NOT EXISTS]","CREATE [EXTERNAL] TABLE [IF NOT EXISTS]"]),e7=A(["DROP TABLE [IF EXISTS]","ALTER TABLE","ADD COLUMNS","DROP {COLUMN | COLUMNS}","RENAME TO","RENAME COLUMN","ALTER COLUMN","TRUNCATE TABLE","LATERAL VIEW","ALTER DATABASE","ALTER VIEW","CREATE DATABASE","CREATE FUNCTION","DROP DATABASE","DROP FUNCTION","DROP VIEW","REPAIR TABLE","USE DATABASE","TABLESAMPLE","PIVOT","TRANSFORM","EXPLAIN","ADD FILE","ADD JAR","ANALYZE TABLE","CACHE TABLE","CLEAR CACHE","DESCRIBE DATABASE","DESCRIBE FUNCTION","DESCRIBE QUERY","DESCRIBE TABLE","LIST FILE","LIST JAR","REFRESH","REFRESH TABLE","REFRESH FUNCTION","RESET","SHOW COLUMNS","SHOW CREATE TABLE","SHOW DATABASES","SHOW FUNCTIONS","SHOW PARTITIONS","SHOW TABLE EXTENDED","SHOW TABLES","SHOW TBLPROPERTIES","SHOW VIEWS","UNCACHE TABLE"]),e9=A(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),te=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN","[LEFT] {ANTI | SEMI} JOIN","NATURAL [LEFT] {ANTI | SEMI} JOIN"]),tt=A(["ON DELETE","ON UPDATE","CURRENT ROW","{ROWS | RANGE} BETWEEN"]),tn={tokenizerOptions:{reservedSelect:e8,reservedClauses:[...e5,...e7],reservedSetOperations:e9,reservedJoins:te,reservedPhrases:tt,supportsXor:!0,reservedKeywords:e6,reservedFunctionNames:e3,extraParens:["[]"],stringTypes:["''-bs",'""-bs',{quote:"''-raw",prefixes:["R","X"],requirePrefix:!0},{quote:'""-raw',prefixes:["R","X"],requirePrefix:!0}],identTypes:["``"],variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||","->"],postProcess:function(e){return e.map((t,n)=>{let o=e[n-1]||u,i=e[n+1]||u;return d.WINDOW(t)&&i.type===r.OPEN_PAREN?{...t,type:r.RESERVED_FUNCTION_NAME}:"ITEMS"!==t.text||t.type!==r.RESERVED_KEYWORD||"COLLECTION"===o.text&&"TERMINATED"===i.text?t:{...t,type:r.IDENTIFIER,text:t.raw}})}},formatOptions:{onelineClauses:e7}},tr=v({scalar:["ABS","CHANGES","CHAR","COALESCE","FORMAT","GLOB","HEX","IFNULL","IIF","INSTR","LAST_INSERT_ROWID","LENGTH","LIKE","LIKELIHOOD","LIKELY","LOAD_EXTENSION","LOWER","LTRIM","NULLIF","PRINTF","QUOTE","RANDOM","RANDOMBLOB","REPLACE","ROUND","RTRIM","SIGN","SOUNDEX","SQLITE_COMPILEOPTION_GET","SQLITE_COMPILEOPTION_USED","SQLITE_OFFSET","SQLITE_SOURCE_ID","SQLITE_VERSION","SUBSTR","SUBSTRING","TOTAL_CHANGES","TRIM","TYPEOF","UNICODE","UNLIKELY","UPPER","ZEROBLOB"],aggregate:["AVG","COUNT","GROUP_CONCAT","MAX","MIN","SUM","TOTAL"],datetime:["DATE","TIME","DATETIME","JULIANDAY","UNIXEPOCH","STRFTIME"],window:["row_number","rank","dense_rank","percent_rank","cume_dist","ntile","lag","lead","first_value","last_value","nth_value"],math:["ACOS","ACOSH","ASIN","ASINH","ATAN","ATAN2","ATANH","CEIL","CEILING","COS","COSH","DEGREES","EXP","FLOOR","LN","LOG","LOG","LOG10","LOG2","MOD","PI","POW","POWER","RADIANS","SIN","SINH","SQRT","TAN","TANH","TRUNC"],json:["JSON","JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_ARRAY_LENGTH","JSON_EXTRACT","JSON_INSERT","JSON_OBJECT","JSON_PATCH","JSON_REMOVE","JSON_REPLACE","JSON_SET","JSON_TYPE","JSON_TYPE","JSON_VALID","JSON_QUOTE","JSON_GROUP_ARRAY","JSON_GROUP_OBJECT","JSON_EACH","JSON_TREE"],cast:["CAST"],dataTypes:["CHARACTER","VARCHAR","VARYING CHARACTER","NCHAR","NATIVE CHARACTER","NVARCHAR","NUMERIC","DECIMAL"]}),to=v({all:["ABORT","ACTION","ADD","AFTER","ALL","ALTER","AND","ANY","ARE","ARRAY","ALWAYS","ANALYZE","AS","ASC","ATTACH","AUTOINCREMENT","BEFORE","BEGIN","BETWEEN","BY","CASCADE","CASE","CAST","CHECK","COLLATE","COLUMN","COMMIT","CONFLICT","CONSTRAINT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATABASE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DESC","DETACH","DISTINCT","DO","DROP","EACH","ELSE","END","ESCAPE","EXCEPT","EXCLUDE","EXCLUSIVE","EXISTS","EXPLAIN","FAIL","FILTER","FIRST","FOLLOWING","FOR","FOREIGN","FROM","FULL","GENERATED","GLOB","GROUP","GROUPS","HAVING","IF","IGNORE","IMMEDIATE","IN","INDEX","INDEXED","INITIALLY","INNER","INSERT","INSTEAD","INTERSECT","INTO","IS","ISNULL","JOIN","KEY","LAST","LEFT","LIKE","LIMIT","MATCH","MATERIALIZED","NATURAL","NO","NOT","NOTHING","NOTNULL","NULL","NULLS","OF","OFFSET","ON","ONLY","OPEN","OR","ORDER","OTHERS","OUTER","OVER","PARTITION","PLAN","PRAGMA","PRECEDING","PRIMARY","QUERY","RAISE","RANGE","RECURSIVE","REFERENCES","REGEXP","REINDEX","RELEASE","RENAME","REPLACE","RESTRICT","RETURNING","RIGHT","ROLLBACK","ROW","ROWS","SAVEPOINT","SELECT","SET","TABLE","TEMP","TEMPORARY","THEN","TIES","TO","TRANSACTION","TRIGGER","UNBOUNDED","UNION","UNIQUE","UPDATE","USING","VACUUM","VALUES","VIEW","VIRTUAL","WHEN","WHERE","WINDOW","WITH","WITHOUT"]}),ti=A(["SELECT [ALL | DISTINCT]"]),ta=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [OR ABORT | OR FAIL | OR IGNORE | OR REPLACE | OR ROLLBACK] INTO","REPLACE INTO","VALUES","SET","CREATE [TEMPORARY | TEMP] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY | TEMP] TABLE [IF NOT EXISTS]"]),ts=A(["UPDATE [OR ABORT | OR FAIL | OR IGNORE | OR REPLACE | OR ROLLBACK]","ON CONFLICT","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD [COLUMN]","DROP [COLUMN]","RENAME [COLUMN]","RENAME TO","SET SCHEMA"]),tl=A(["UNION [ALL]","EXCEPT","INTERSECT"]),tE=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tc=A(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN"]),tu={tokenizerOptions:{reservedSelect:ti,reservedClauses:[...ta,...ts],reservedSetOperations:tl,reservedJoins:tE,reservedPhrases:tc,reservedKeywords:to,reservedFunctionNames:tr,stringTypes:["''-qq",{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``","[]"],paramTypes:{positional:!0,numbered:["?"],named:[":","@","$"]},operators:["%","~","&","|","<<",">>","==","->","->>","||"]},formatOptions:{onelineClauses:ts}},tT=v({set:["GROUPING"],window:["RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","ROW_NUMBER"],numeric:["POSITION","OCCURRENCES_REGEX","POSITION_REGEX","EXTRACT","CHAR_LENGTH","CHARACTER_LENGTH","OCTET_LENGTH","CARDINALITY","ABS","MOD","LN","EXP","POWER","SQRT","FLOOR","CEIL","CEILING","WIDTH_BUCKET"],string:["SUBSTRING","SUBSTRING_REGEX","UPPER","LOWER","CONVERT","TRANSLATE","TRANSLATE_REGEX","TRIM","OVERLAY","NORMALIZE","SPECIFICTYPE"],datetime:["CURRENT_DATE","CURRENT_TIME","LOCALTIME","CURRENT_TIMESTAMP","LOCALTIMESTAMP"],aggregate:["COUNT","AVG","MAX","MIN","SUM","STDDEV_POP","STDDEV_SAMP","VAR_SAMP","VAR_POP","COLLECT","FUSION","INTERSECTION","COVAR_POP","COVAR_SAMP","CORR","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SYY","REGR_SXY","PERCENTILE_CONT","PERCENTILE_DISC"],cast:["CAST"],caseAbbrev:["COALESCE","NULLIF"],nonStandard:["ROUND","SIN","COS","TAN","ASIN","ACOS","ATAN"],dataTypes:["CHARACTER","CHAR","CHARACTER VARYING","CHAR VARYING","VARCHAR","CHARACTER LARGE OBJECT","CHAR LARGE OBJECT","CLOB","NATIONAL CHARACTER","NATIONAL CHAR","NCHAR","NATIONAL CHARACTER VARYING","NATIONAL CHAR VARYING","NCHAR VARYING","NATIONAL CHARACTER LARGE OBJECT","NCHAR LARGE OBJECT","NCLOB","BINARY","BINARY VARYING","VARBINARY","BINARY LARGE OBJECT","BLOB","NUMERIC","DECIMAL","DEC","TIME","TIMESTAMP"]}),td=v({all:["ALL","ALLOCATE","ALTER","ANY","ARE","ARRAY","AS","ASENSITIVE","ASYMMETRIC","AT","ATOMIC","AUTHORIZATION","BEGIN","BETWEEN","BIGINT","BINARY","BLOB","BOOLEAN","BOTH","BY","CALL","CALLED","CASCADED","CAST","CHAR","CHARACTER","CHECK","CLOB","CLOSE","COALESCE","COLLATE","COLUMN","COMMIT","CONDITION","CONNECT","CONSTRAINT","CORRESPONDING","CREATE","CROSS","CUBE","CURRENT","CURRENT_CATALOG","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_PATH","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CYCLE","DATE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DELETE","DEREF","DESCRIBE","DETERMINISTIC","DISCONNECT","DISTINCT","DOUBLE","DROP","DYNAMIC","EACH","ELEMENT","END-EXEC","ESCAPE","EVERY","EXCEPT","EXEC","EXECUTE","EXISTS","EXTERNAL","FALSE","FETCH","FILTER","FLOAT","FOR","FOREIGN","FREE","FROM","FULL","FUNCTION","GET","GLOBAL","GRANT","GROUP","HAVING","HOLD","HOUR","IDENTITY","IN","INDICATOR","INNER","INOUT","INSENSITIVE","INSERT","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","LANGUAGE","LARGE","LATERAL","LEADING","LEFT","LIKE","LIKE_REGEX","LOCAL","MATCH","MEMBER","MERGE","METHOD","MINUTE","MODIFIES","MODULE","MONTH","MULTISET","NATIONAL","NATURAL","NCHAR","NCLOB","NEW","NO","NONE","NOT","NULL","NULLIF","NUMERIC","OF","OLD","ON","ONLY","OPEN","ORDER","OUT","OUTER","OVER","OVERLAPS","PARAMETER","PARTITION","PRECISION","PREPARE","PRIMARY","PROCEDURE","RANGE","READS","REAL","RECURSIVE","REF","REFERENCES","REFERENCING","RELEASE","RESULT","RETURN","RETURNS","REVOKE","RIGHT","ROLLBACK","ROLLUP","ROW","ROWS","SAVEPOINT","SCOPE","SCROLL","SEARCH","SECOND","SELECT","SENSITIVE","SESSION_USER","SET","SIMILAR","SMALLINT","SOME","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","START","STATIC","SUBMULTISET","SYMMETRIC","SYSTEM","SYSTEM_USER","TABLE","TABLESAMPLE","THEN","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSLATION","TREAT","TRIGGER","TRUE","UESCAPE","UNION","UNIQUE","UNKNOWN","UNNEST","UPDATE","USER","USING","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","WHENEVER","WINDOW","WITHIN","WITHOUT","YEAR"]}),tR=A(["SELECT [ALL | DISTINCT]"]),tf=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET","CREATE [RECURSIVE] VIEW","CREATE [GLOBAL TEMPORARY | LOCAL TEMPORARY] TABLE"]),tA=A(["UPDATE","WHERE CURRENT OF","DELETE FROM","DROP TABLE","ALTER TABLE","ADD COLUMN","DROP [COLUMN]","RENAME COLUMN","RENAME TO","ALTER [COLUMN]","{SET | DROP} DEFAULT","ADD SCOPE","DROP SCOPE {CASCADE | RESTRICT}","RESTART WITH","TRUNCATE TABLE","SET SCHEMA"]),tS=A(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tO=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tp=A(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),tN={tokenizerOptions:{reservedSelect:tR,reservedClauses:[...tf,...tA],reservedSetOperations:tS,reservedJoins:tO,reservedPhrases:tp,reservedKeywords:td,reservedFunctionNames:tT,stringTypes:[{quote:"''-qq-bs",prefixes:["N","U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``"],paramTypes:{positional:!0},operators:["||"]},formatOptions:{onelineClauses:tA}},tI=v({all:["ABS","ACOS","ALL_MATCH","ANY_MATCH","APPROX_DISTINCT","APPROX_MOST_FREQUENT","APPROX_PERCENTILE","APPROX_SET","ARBITRARY","ARRAYS_OVERLAP","ARRAY_AGG","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_INTERSECT","ARRAY_JOIN","ARRAY_MAX","ARRAY_MIN","ARRAY_POSITION","ARRAY_REMOVE","ARRAY_SORT","ARRAY_UNION","ASIN","ATAN","ATAN2","AT_TIMEZONE","AVG","BAR","BETA_CDF","BING_TILE","BING_TILES_AROUND","BING_TILE_AT","BING_TILE_COORDINATES","BING_TILE_POLYGON","BING_TILE_QUADKEY","BING_TILE_ZOOM_LEVEL","BITWISE_AND","BITWISE_AND_AGG","BITWISE_LEFT_SHIFT","BITWISE_NOT","BITWISE_OR","BITWISE_OR_AGG","BITWISE_RIGHT_SHIFT","BITWISE_RIGHT_SHIFT_ARITHMETIC","BITWISE_XOR","BIT_COUNT","BOOL_AND","BOOL_OR","CARDINALITY","CAST","CBRT","CEIL","CEILING","CHAR2HEXINT","CHECKSUM","CHR","CLASSIFY","COALESCE","CODEPOINT","COLOR","COMBINATIONS","CONCAT","CONCAT_WS","CONTAINS","CONTAINS_SEQUENCE","CONVEX_HULL_AGG","CORR","COS","COSH","COSINE_SIMILARITY","COUNT","COUNT_IF","COVAR_POP","COVAR_SAMP","CRC32","CUME_DIST","CURRENT_CATALOG","CURRENT_DATE","CURRENT_GROUPS","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_USER","DATE","DATE_ADD","DATE_DIFF","DATE_FORMAT","DATE_PARSE","DATE_TRUNC","DAY","DAY_OF_MONTH","DAY_OF_WEEK","DAY_OF_YEAR","DEGREES","DENSE_RANK","DOW","DOY","E","ELEMENT_AT","EMPTY_APPROX_SET","EVALUATE_CLASSIFIER_PREDICTIONS","EVERY","EXP","EXTRACT","FEATURES","FILTER","FIRST_VALUE","FLATTEN","FLOOR","FORMAT","FORMAT_DATETIME","FORMAT_NUMBER","FROM_BASE","FROM_BASE32","FROM_BASE64","FROM_BASE64URL","FROM_BIG_ENDIAN_32","FROM_BIG_ENDIAN_64","FROM_ENCODED_POLYLINE","FROM_GEOJSON_GEOMETRY","FROM_HEX","FROM_IEEE754_32","FROM_IEEE754_64","FROM_ISO8601_DATE","FROM_ISO8601_TIMESTAMP","FROM_ISO8601_TIMESTAMP_NANOS","FROM_UNIXTIME","FROM_UNIXTIME_NANOS","FROM_UTF8","GEOMETRIC_MEAN","GEOMETRY_FROM_HADOOP_SHAPE","GEOMETRY_INVALID_REASON","GEOMETRY_NEAREST_POINTS","GEOMETRY_TO_BING_TILES","GEOMETRY_UNION","GEOMETRY_UNION_AGG","GREATEST","GREAT_CIRCLE_DISTANCE","HAMMING_DISTANCE","HASH_COUNTS","HISTOGRAM","HMAC_MD5","HMAC_SHA1","HMAC_SHA256","HMAC_SHA512","HOUR","HUMAN_READABLE_SECONDS","IF","INDEX","INFINITY","INTERSECTION_CARDINALITY","INVERSE_BETA_CDF","INVERSE_NORMAL_CDF","IS_FINITE","IS_INFINITE","IS_JSON_SCALAR","IS_NAN","JACCARD_INDEX","JSON_ARRAY_CONTAINS","JSON_ARRAY_GET","JSON_ARRAY_LENGTH","JSON_EXISTS","JSON_EXTRACT","JSON_EXTRACT_SCALAR","JSON_FORMAT","JSON_PARSE","JSON_QUERY","JSON_SIZE","JSON_VALUE","KURTOSIS","LAG","LAST_DAY_OF_MONTH","LAST_VALUE","LEAD","LEARN_CLASSIFIER","LEARN_LIBSVM_CLASSIFIER","LEARN_LIBSVM_REGRESSOR","LEARN_REGRESSOR","LEAST","LENGTH","LEVENSHTEIN_DISTANCE","LINE_INTERPOLATE_POINT","LINE_INTERPOLATE_POINTS","LINE_LOCATE_POINT","LISTAGG","LN","LOCALTIME","LOCALTIMESTAMP","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","LUHN_CHECK","MAKE_SET_DIGEST","MAP","MAP_AGG","MAP_CONCAT","MAP_ENTRIES","MAP_FILTER","MAP_FROM_ENTRIES","MAP_KEYS","MAP_UNION","MAP_VALUES","MAP_ZIP_WITH","MAX","MAX_BY","MD5","MERGE","MERGE_SET_DIGEST","MILLISECOND","MIN","MINUTE","MIN_BY","MOD","MONTH","MULTIMAP_AGG","MULTIMAP_FROM_ENTRIES","MURMUR3","NAN","NGRAMS","NONE_MATCH","NORMALIZE","NORMAL_CDF","NOW","NTH_VALUE","NTILE","NULLIF","NUMERIC_HISTOGRAM","OBJECTID","OBJECTID_TIMESTAMP","PARSE_DATA_SIZE","PARSE_DATETIME","PARSE_DURATION","PERCENT_RANK","PI","POSITION","POW","POWER","QDIGEST_AGG","QUARTER","RADIANS","RAND","RANDOM","RANK","REDUCE","REDUCE_AGG","REGEXP_COUNT","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_LIKE","REGEXP_POSITION","REGEXP_REPLACE","REGEXP_SPLIT","REGRESS","REGR_INTERCEPT","REGR_SLOPE","RENDER","REPEAT","REPLACE","REVERSE","RGB","ROUND","ROW_NUMBER","RPAD","RTRIM","SECOND","SEQUENCE","SHA1","SHA256","SHA512","SHUFFLE","SIGN","SIMPLIFY_GEOMETRY","SIN","SKEWNESS","SLICE","SOUNDEX","SPATIAL_PARTITIONING","SPATIAL_PARTITIONS","SPLIT","SPLIT_PART","SPLIT_TO_MAP","SPLIT_TO_MULTIMAP","SPOOKY_HASH_V2_32","SPOOKY_HASH_V2_64","SQRT","STARTS_WITH","STDDEV","STDDEV_POP","STDDEV_SAMP","STRPOS","ST_AREA","ST_ASBINARY","ST_ASTEXT","ST_BOUNDARY","ST_BUFFER","ST_CENTROID","ST_CONTAINS","ST_CONVEXHULL","ST_COORDDIM","ST_CROSSES","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_ENDPOINT","ST_ENVELOPE","ST_ENVELOPEASPTS","ST_EQUALS","ST_EXTERIORRING","ST_GEOMETRIES","ST_GEOMETRYFROMTEXT","ST_GEOMETRYN","ST_GEOMETRYTYPE","ST_GEOMFROMBINARY","ST_INTERIORRINGN","ST_INTERIORRINGS","ST_INTERSECTION","ST_INTERSECTS","ST_ISCLOSED","ST_ISEMPTY","ST_ISRING","ST_ISSIMPLE","ST_ISVALID","ST_LENGTH","ST_LINEFROMTEXT","ST_LINESTRING","ST_MULTIPOINT","ST_NUMGEOMETRIES","ST_NUMINTERIORRING","ST_NUMPOINTS","ST_OVERLAPS","ST_POINT","ST_POINTN","ST_POINTS","ST_POLYGON","ST_RELATE","ST_STARTPOINT","ST_SYMDIFFERENCE","ST_TOUCHES","ST_UNION","ST_WITHIN","ST_X","ST_XMAX","ST_XMIN","ST_Y","ST_YMAX","ST_YMIN","SUBSTR","SUBSTRING","SUM","TAN","TANH","TDIGEST_AGG","TIMESTAMP_OBJECTID","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO_BASE","TO_BASE32","TO_BASE64","TO_BASE64URL","TO_BIG_ENDIAN_32","TO_BIG_ENDIAN_64","TO_CHAR","TO_DATE","TO_ENCODED_POLYLINE","TO_GEOJSON_GEOMETRY","TO_GEOMETRY","TO_HEX","TO_IEEE754_32","TO_IEEE754_64","TO_ISO8601","TO_MILLISECONDS","TO_SPHERICAL_GEOGRAPHY","TO_TIMESTAMP","TO_UNIXTIME","TO_UTF8","TRANSFORM","TRANSFORM_KEYS","TRANSFORM_VALUES","TRANSLATE","TRIM","TRIM_ARRAY","TRUNCATE","TRY","TRY_CAST","TYPEOF","UPPER","URL_DECODE","URL_ENCODE","URL_EXTRACT_FRAGMENT","URL_EXTRACT_HOST","URL_EXTRACT_PARAMETER","URL_EXTRACT_PATH","URL_EXTRACT_PORT","URL_EXTRACT_PROTOCOL","URL_EXTRACT_QUERY","UUID","VALUES_AT_QUANTILES","VALUE_AT_QUANTILE","VARIANCE","VAR_POP","VAR_SAMP","VERSION","WEEK","WEEK_OF_YEAR","WIDTH_BUCKET","WILSON_INTERVAL_LOWER","WILSON_INTERVAL_UPPER","WITH_TIMEZONE","WORD_STEM","XXHASH64","YEAR","YEAR_OF_WEEK","YOW","ZIP","ZIP_WITH"],rowPattern:["CLASSIFIER","FIRST","LAST","MATCH_NUMBER","NEXT","PERMUTE","PREV"]}),th=v({all:["ABSENT","ADD","ADMIN","AFTER","ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","AT","AUTHORIZATION","BERNOULLI","BETWEEN","BOTH","BY","CALL","CASCADE","CASE","CATALOGS","COLUMN","COLUMNS","COMMENT","COMMIT","COMMITTED","CONDITIONAL","CONSTRAINT","COPARTITION","CREATE","CROSS","CUBE","CURRENT","CURRENT_PATH","CURRENT_ROLE","DATA","DEALLOCATE","DEFAULT","DEFINE","DEFINER","DELETE","DENY","DESC","DESCRIBE","DESCRIPTOR","DISTINCT","DISTRIBUTED","DOUBLE","DROP","ELSE","EMPTY","ENCODING","END","ERROR","ESCAPE","EXCEPT","EXCLUDING","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FINAL","FIRST","FOLLOWING","FOR","FROM","FULL","FUNCTIONS","GRANT","GRANTED","GRANTS","GRAPHVIZ","GROUP","GROUPING","GROUPS","HAVING","IGNORE","IN","INCLUDING","INITIAL","INNER","INPUT","INSERT","INTERSECT","INTERVAL","INTO","INVOKER","IO","IS","ISOLATION","JOIN","JSON","JSON_ARRAY","JSON_OBJECT","KEEP","KEY","KEYS","LAST","LATERAL","LEADING","LEFT","LEVEL","LIKE","LIMIT","LOCAL","LOGICAL","MATCH","MATCHED","MATCHES","MATCH_RECOGNIZE","MATERIALIZED","MEASURES","NATURAL","NEXT","NFC","NFD","NFKC","NFKD","NO","NONE","NOT","NULL","NULLS","OBJECT","OF","OFFSET","OMIT","ON","ONE","ONLY","OPTION","OR","ORDER","ORDINALITY","OUTER","OUTPUT","OVER","OVERFLOW","PARTITION","PARTITIONS","PASSING","PAST","PATH","PATTERN","PER","PERMUTE","PRECEDING","PRECISION","PREPARE","PRIVILEGES","PROPERTIES","PRUNE","QUOTES","RANGE","READ","RECURSIVE","REFRESH","RENAME","REPEATABLE","RESET","RESPECT","RESTRICT","RETURNING","REVOKE","RIGHT","ROLE","ROLES","ROLLBACK","ROLLUP","ROW","ROWS","RUNNING","SCALAR","SCHEMA","SCHEMAS","SECURITY","SEEK","SELECT","SERIALIZABLE","SESSION","SET","SETS","SHOW","SKIP","SOME","START","STATS","STRING","SUBSET","SYSTEM","TABLE","TABLES","TABLESAMPLE","TEXT","THEN","TIES","TIME","TIMESTAMP","TO","TRAILING","TRANSACTION","TRUE","TYPE","UESCAPE","UNBOUNDED","UNCOMMITTED","UNCONDITIONAL","UNION","UNIQUE","UNKNOWN","UNMATCHED","UNNEST","UPDATE","USE","USER","USING","UTF16","UTF32","UTF8","VALIDATE","VALUE","VALUES","VERBOSE","VIEW","WHEN","WHERE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","ZONE"],types:["BIGINT","INT","INTEGER","SMALLINT","TINYINT","BOOLEAN","DATE","DECIMAL","REAL","DOUBLE","HYPERLOGLOG","QDIGEST","TDIGEST","P4HYPERLOGLOG","INTERVAL","TIMESTAMP","TIME","VARBINARY","VARCHAR","CHAR","ROW","ARRAY","MAP","JSON","JSON2016","IPADDRESS","GEOMETRY","UUID","SETDIGEST","JONIREGEXP","RE2JREGEXP","LIKEPATTERN","COLOR","CODEPOINTS","FUNCTION","JSONPATH"]}),t_=A(["SELECT [ALL | DISTINCT]"]),tm=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET","CREATE [OR REPLACE] [MATERIALIZED] VIEW","CREATE TABLE [IF NOT EXISTS]","MATCH_RECOGNIZE","MEASURES","ONE ROW PER MATCH","ALL ROWS PER MATCH","AFTER MATCH","PATTERN","SUBSET","DEFINE"]),tC=A(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","ADD COLUMN [IF NOT EXISTS]","DROP COLUMN [IF EXISTS]","RENAME COLUMN [IF EXISTS]","RENAME TO","SET AUTHORIZATION [USER | ROLE]","SET PROPERTIES","EXECUTE","TRUNCATE TABLE","ALTER SCHEMA","ALTER MATERIALIZED VIEW","ALTER VIEW","CREATE SCHEMA","CREATE ROLE","DROP SCHEMA","DROP MATERIALIZED VIEW","DROP VIEW","DROP ROLE","EXPLAIN","ANALYZE","EXPLAIN ANALYZE","EXPLAIN ANALYZE VERBOSE","USE","COMMENT ON TABLE","COMMENT ON COLUMN","DESCRIBE INPUT","DESCRIBE OUTPUT","REFRESH MATERIALIZED VIEW","RESET SESSION","SET SESSION","SET PATH","SET TIME ZONE","SHOW GRANTS","SHOW CREATE TABLE","SHOW CREATE SCHEMA","SHOW CREATE VIEW","SHOW CREATE MATERIALIZED VIEW","SHOW TABLES","SHOW SCHEMAS","SHOW CATALOGS","SHOW COLUMNS","SHOW STATS FOR","SHOW ROLES","SHOW CURRENT ROLES","SHOW ROLE GRANTS","SHOW FUNCTIONS","SHOW SESSION"]),tg=A(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tL=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tv=A(["{ROWS | RANGE | GROUPS} BETWEEN","IS [NOT] DISTINCT FROM"]),ty={tokenizerOptions:{reservedSelect:t_,reservedClauses:[...tm,...tC],reservedSetOperations:tg,reservedJoins:tL,reservedPhrases:tv,reservedKeywords:th,reservedFunctionNames:tI,extraParens:["[]","{}"],stringTypes:[{quote:"''-qq",prefixes:["U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq'],paramTypes:{positional:!0},operators:["%","->","=>",":","||","|","^","$"]},formatOptions:{onelineClauses:tC}},tP=v({aggregate:["APPROX_COUNT_DISTINCT","AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","STDEV","STDEVP","SUM","VAR","VARP"],analytic:["CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","Collation - COLLATIONPROPERTY","Collation - TERTIARY_WEIGHTS"],configuration:["@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION"],conversion:["CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE"],cryptographic:["ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY"],cursor:["@@CURSOR_ROWS","@@FETCH_STATUS","CURSOR_STATUS"],dataType:["DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY"],datetime:["@@DATEFIRST","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_TIMEZONE_ID","DATEADD","DATEDIFF","DATEDIFF_BIG","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","JSON","ISJSON","JSON_VALUE","JSON_QUERY","JSON_MODIFY"],mathematical:["ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","CHOOSE","GREATEST","IIF","LEAST"],metadata:["@@PROCID","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FILEPROPERTYEX","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","NEXT VALUE FOR","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY"],ranking:["DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME"],security:["CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","DATABASE_PRINCIPAL_ID","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME"],string:["ASCII","CHAR","CHARINDEX","CONCAT","CONCAT_WS","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STRING_AGG","STRING_ESCAPE","STUFF","SUBSTRING","TRANSLATE","TRIM","UNICODE","UPPER"],system:["$PARTITION","@@ERROR","@@IDENTITY","@@PACK_RECEIVED","@@ROWCOUNT","@@TRANCOUNT","BINARY_CHECKSUM","CHECKSUM","COMPRESS","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","CURRENT_TRANSACTION_ID","DECOMPRESS","ERROR_LINE","ERROR_MESSAGE","ERROR_NUMBER","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GET_FILESTREAM_TRANSACTION_CONTEXT","GETANSINULL","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","SESSION_CONTEXT","XACT_STATE"],statistical:["@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACK_SENT","@@PACKET_ERRORS","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE","TEXTPTR","TEXTVALID"],trigger:["COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE"],caseAbbrev:["COALESCE","NULLIF"],dataTypes:["DECIMAL","NUMERIC","FLOAT","REAL","DATETIME2","DATETIMEOFFSET","TIME","CHAR","VARCHAR","NCHAR","NVARCHAR","BINARY","VARBINARY"]}),tM=v({standard:["ADD","ALL","ALTER","AND","ANY","AS","ASC","AUTHORIZATION","BACKUP","BEGIN","BETWEEN","BREAK","BROWSE","BULK","BY","CASCADE","CHECK","CHECKPOINT","CLOSE","CLUSTERED","COALESCE","COLLATE","COLUMN","COMMIT","COMPUTE","CONSTRAINT","CONTAINS","CONTAINSTABLE","CONTINUE","CONVERT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DBCC","DEALLOCATE","DECLARE","DEFAULT","DELETE","DENY","DESC","DISK","DISTINCT","DISTRIBUTED","DOUBLE","DROP","DUMP","ERRLVL","ESCAPE","EXEC","EXECUTE","EXISTS","EXIT","EXTERNAL","FETCH","FILE","FILLFACTOR","FOR","FOREIGN","FREETEXT","FREETEXTTABLE","FROM","FULL","FUNCTION","GOTO","GRANT","GROUP","HAVING","HOLDLOCK","IDENTITY","IDENTITYCOL","IDENTITY_INSERT","IF","IN","INDEX","INNER","INSERT","INTERSECT","INTO","IS","JOIN","KEY","KILL","LEFT","LIKE","LINENO","LOAD","MERGE","NATIONAL","NOCHECK","NONCLUSTERED","NOT","NULL","NULLIF","OF","OFF","OFFSETS","ON","OPEN","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","OPTION","OR","ORDER","OUTER","OVER","PERCENT","PIVOT","PLAN","PRECISION","PRIMARY","PRINT","PROC","PROCEDURE","PUBLIC","RAISERROR","READ","READTEXT","RECONFIGURE","REFERENCES","REPLICATION","RESTORE","RESTRICT","RETURN","REVERT","REVOKE","RIGHT","ROLLBACK","ROWCOUNT","ROWGUIDCOL","RULE","SAVE","SCHEMA","SECURITYAUDIT","SELECT","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","SESSION_USER","SET","SETUSER","SHUTDOWN","SOME","STATISTICS","SYSTEM_USER","TABLE","TABLESAMPLE","TEXTSIZE","THEN","TO","TOP","TRAN","TRANSACTION","TRIGGER","TRUNCATE","TRY_CONVERT","TSEQUAL","UNION","UNIQUE","UNPIVOT","UPDATE","UPDATETEXT","USE","USER","VALUES","VARYING","VIEW","WAITFOR","WHERE","WHILE","WITH","WITHIN GROUP","WRITETEXT"],odbc:["ABSOLUTE","ACTION","ADA","ADD","ALL","ALLOCATE","ALTER","AND","ANY","ARE","AS","ASC","ASSERTION","AT","AUTHORIZATION","AVG","BEGIN","BETWEEN","BIT","BIT_LENGTH","BOTH","BY","CASCADE","CASCADED","CAST","CATALOG","CHAR","CHARACTER","CHARACTER_LENGTH","CHAR_LENGTH","CHECK","CLOSE","COALESCE","COLLATE","COLLATION","COLUMN","COMMIT","CONNECT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTINUE","CONVERT","CORRESPONDING","COUNT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DESC","DESCRIBE","DESCRIPTOR","DIAGNOSTICS","DISCONNECT","DISTINCT","DOMAIN","DOUBLE","DROP","END-EXEC","ESCAPE","EXCEPTION","EXEC","EXECUTE","EXISTS","EXTERNAL","EXTRACT","FALSE","FETCH","FIRST","FLOAT","FOR","FOREIGN","FORTRAN","FOUND","FROM","FULL","GET","GLOBAL","GO","GOTO","GRANT","GROUP","HAVING","HOUR","IDENTITY","IMMEDIATE","IN","INCLUDE","INDEX","INDICATOR","INITIALLY","INNER","INPUT","INSENSITIVE","INSERT","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","ISOLATION","JOIN","KEY","LANGUAGE","LAST","LEADING","LEFT","LEVEL","LIKE","LOCAL","LOWER","MATCH","MAX","MIN","MINUTE","MODULE","MONTH","NAMES","NATIONAL","NATURAL","NCHAR","NEXT","NO","NONE","NOT","NULL","NULLIF","NUMERIC","OCTET_LENGTH","OF","ONLY","OPEN","OPTION","OR","ORDER","OUTER","OUTPUT","OVERLAPS","PAD","PARTIAL","PASCAL","POSITION","PRECISION","PREPARE","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURE","PUBLIC","READ","REAL","REFERENCES","RELATIVE","RESTRICT","REVOKE","RIGHT","ROLLBACK","ROWS","SCHEMA","SCROLL","SECOND","SECTION","SELECT","SESSION","SESSION_USER","SET","SIZE","SMALLINT","SOME","SPACE","SQL","SQLCA","SQLCODE","SQLERROR","SQLSTATE","SQLWARNING","SUBSTRING","SUM","SYSTEM_USER","TABLE","TEMPORARY","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSACTION","TRANSLATE","TRANSLATION","TRIM","TRUE","UNION","UNIQUE","UNKNOWN","UPDATE","UPPER","USAGE","USER","VALUE","VALUES","VARCHAR","VARYING","VIEW","WHENEVER","WHERE","WITH","WORK","WRITE","YEAR","ZONE"]}),tb=A(["SELECT [ALL | DISTINCT]"]),tD=A(["WITH","INTO","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","OFFSET","FETCH {FIRST | NEXT}","INSERT [INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [BY TARGET | BY SOURCE] [THEN]","UPDATE SET","CREATE [OR ALTER] [MATERIALIZED] VIEW","CREATE TABLE","CREATE [OR ALTER] {PROC | PROCEDURE}"]),tU=A(["UPDATE","WHERE CURRENT OF","DELETE [FROM]","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD","DROP COLUMN [IF EXISTS]","ALTER COLUMN","TRUNCATE TABLE","ADD SENSITIVITY CLASSIFICATION","ADD SIGNATURE","AGGREGATE","ANSI_DEFAULTS","ANSI_NULLS","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_PADDING","ANSI_WARNINGS","APPLICATION ROLE","ARITHABORT","ARITHIGNORE","ASSEMBLY","ASYMMETRIC KEY","AUTHORIZATION","AVAILABILITY GROUP","BACKUP","BACKUP CERTIFICATE","BACKUP MASTER KEY","BACKUP SERVICE MASTER KEY","BEGIN CONVERSATION TIMER","BEGIN DIALOG CONVERSATION","BROKER PRIORITY","BULK INSERT","CERTIFICATE","CLOSE MASTER KEY","CLOSE SYMMETRIC KEY","COLLATE","COLUMN ENCRYPTION KEY","COLUMN MASTER KEY","COLUMNSTORE INDEX","CONCAT_NULL_YIELDS_NULL","CONTEXT_INFO","CONTRACT","CREDENTIAL","CRYPTOGRAPHIC PROVIDER","CURSOR_CLOSE_ON_COMMIT","DATABASE","DATABASE AUDIT SPECIFICATION","DATABASE ENCRYPTION KEY","DATABASE HADR","DATABASE SCOPED CONFIGURATION","DATABASE SCOPED CREDENTIAL","DATABASE SET","DATEFIRST","DATEFORMAT","DEADLOCK_PRIORITY","DENY","DENY XML","DISABLE TRIGGER","ENABLE TRIGGER","END CONVERSATION","ENDPOINT","EVENT NOTIFICATION","EVENT SESSION","EXECUTE AS","EXTERNAL DATA SOURCE","EXTERNAL FILE FORMAT","EXTERNAL LANGUAGE","EXTERNAL LIBRARY","EXTERNAL RESOURCE POOL","EXTERNAL TABLE","FIPS_FLAGGER","FMTONLY","FORCEPLAN","FULLTEXT CATALOG","FULLTEXT INDEX","FULLTEXT STOPLIST","FUNCTION","GET CONVERSATION GROUP","GET_TRANSMISSION_STATUS","GRANT","GRANT XML","IDENTITY_INSERT","IMPLICIT_TRANSACTIONS","INDEX","LANGUAGE","LOCK_TIMEOUT","LOGIN","MASTER KEY","MESSAGE TYPE","MOVE CONVERSATION","NOCOUNT","NOEXEC","NUMERIC_ROUNDABORT","OFFSETS","OPEN MASTER KEY","OPEN SYMMETRIC KEY","PARSEONLY","PARTITION FUNCTION","PARTITION SCHEME","PROCEDURE","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUOTED_IDENTIFIER","RECEIVE","REMOTE SERVICE BINDING","REMOTE_PROC_TRANSACTIONS","RESOURCE GOVERNOR","RESOURCE POOL","RESTORE","RESTORE FILELISTONLY","RESTORE HEADERONLY","RESTORE LABELONLY","RESTORE MASTER KEY","RESTORE REWINDONLY","RESTORE SERVICE MASTER KEY","RESTORE VERIFYONLY","REVERT","REVOKE","REVOKE XML","ROLE","ROUTE","ROWCOUNT","RULE","SCHEMA","SEARCH PROPERTY LIST","SECURITY POLICY","SELECTIVE XML INDEX","SEND","SENSITIVITY CLASSIFICATION","SEQUENCE","SERVER AUDIT","SERVER AUDIT SPECIFICATION","SERVER CONFIGURATION","SERVER ROLE","SERVICE","SERVICE MASTER KEY","SETUSER","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SIGNATURE","SPATIAL INDEX","STATISTICS","STATISTICS IO","STATISTICS PROFILE","STATISTICS TIME","STATISTICS XML","SYMMETRIC KEY","SYNONYM","TABLE","TABLE IDENTITY","TEXTSIZE","TRANSACTION ISOLATION LEVEL","TRIGGER","TYPE","UPDATE STATISTICS","USER","WORKLOAD GROUP","XACT_ABORT","XML INDEX","XML SCHEMA COLLECTION"]),tx=A(["UNION [ALL]","EXCEPT","INTERSECT"]),tw=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","{CROSS | OUTER} APPLY"]),tG=A(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),tF={tokenizerOptions:{reservedSelect:tb,reservedClauses:[...tD,...tU],reservedSetOperations:tx,reservedJoins:tw,reservedPhrases:tG,reservedKeywords:tM,reservedFunctionNames:tP,nestedBlockComments:!0,stringTypes:[{quote:"''-qq",prefixes:["N"]}],identTypes:['""-qq',"[]"],identChars:{first:"#@",rest:"#@$"},paramTypes:{named:["@"],quoted:["@"]},operators:["%","&","|","^","~","!<","!>","+=","-=","*=","/=","%=","|=","&=","^=","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:tU}},tH=v({all:["ABORT","ABSOLUTE","ACCESS","ACCESSIBLE","ACCOUNT","ACTION","ACTIVE","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","AGGREGATES","AGGREGATOR","AGGREGATOR_ID","AGGREGATOR_PLAN_HASH","AGGREGATORS","ALGORITHM","ALL","ALSO","ALTER","ALWAYS","ANALYZE","AND","ANY","ARGHISTORY","ARRANGE","ARRANGEMENT","ARRAY","AS","ASC","ASCII","ASENSITIVE","ASM","ASSERTION","ASSIGNMENT","AST","ASYMMETRIC","ASYNC","AT","ATTACH","ATTRIBUTE","AUTHORIZATION","AUTO","AUTO_INCREMENT","AUTO_REPROVISION","AUTOSTATS","AUTOSTATS_CARDINALITY_MODE","AUTOSTATS_ENABLED","AUTOSTATS_HISTOGRAM_MODE","AUTOSTATS_SAMPLING","AVAILABILITY","AVG","AVG_ROW_LENGTH","AVRO","AZURE","BACKGROUND","_BACKGROUND_THREADS_FOR_CLEANUP","BACKUP","BACKUP_HISTORY","BACKUP_ID","BACKWARD","BATCH","BATCHES","BATCH_INTERVAL","_BATCH_SIZE_LIMIT","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","_BINARY","BIT","BLOB","BOOL","BOOLEAN","BOOTSTRAP","BOTH","_BT","BTREE","BUCKET_COUNT","BUCKETS","BY","BYTE","BYTE_LENGTH","CACHE","CALL","CALL_FOR_PIPELINE","CALLED","CAPTURE","CASCADE","CASCADED","CASE","CATALOG","CHAIN","CHANGE","CHAR","CHARACTER","CHARACTERISTICS","CHARSET","CHECK","CHECKPOINT","_CHECK_CAN_CONNECT","_CHECK_CONSISTENCY","CHECKSUM","_CHECKSUM","CLASS","CLEAR","CLIENT","CLIENT_FOUND_ROWS","CLOSE","CLUSTER","CLUSTERED","CNF","COALESCE","COLLATE","COLLATION","COLUMN","COLUMNAR","COLUMNS","COLUMNSTORE","COLUMNSTORE_SEGMENT_ROWS","COMMENT","COMMENTS","COMMIT","COMMITTED","_COMMIT_LOG_TAIL","COMPACT","COMPILE","COMPRESSED","COMPRESSION","CONCURRENT","CONCURRENTLY","CONDITION","CONFIGURATION","CONNECTION","CONNECTIONS","CONFIG","CONSTRAINT","CONTAINS","CONTENT","CONTINUE","_CONTINUE_REPLAY","CONVERSION","CONVERT","COPY","_CORE","COST","CREATE","CREDENTIALS","CROSS","CUBE","CSV","CUME_DIST","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_SCHEMA","CURRENT_SECURITY_GROUPS","CURRENT_SECURITY_ROLES","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DATABASES","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINED","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DELIMITER","DELIMITERS","DENSE_RANK","DESC","DESCRIBE","DETACH","DETERMINISTIC","DICTIONARY","DIFFERENTIAL","DIRECTORY","DISABLE","DISCARD","_DISCONNECT","DISK","DISTINCT","DISTINCTROW","DISTRIBUTED_JOINS","DIV","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","_DROP_PROFILE","DUAL","DUMP","DUPLICATE","DURABILITY","DYNAMIC","EARLIEST","EACH","ECHO","ELECTION","ELSE","ELSEIF","ENABLE","ENCLOSED","ENCODING","ENCRYPTED","END","ENGINE","ENGINES","ENUM","ERRORS","ESCAPE","ESCAPED","ESTIMATE","EVENT","EVENTS","EXCEPT","EXCLUDE","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXPLAIN","EXTENDED","EXTENSION","EXTERNAL","EXTERNAL_HOST","EXTERNAL_PORT","EXTRACTOR","EXTRACTORS","EXTRA_JOIN","_FAILOVER","FAILED_LOGIN_ATTEMPTS","FAILURE","FALSE","FAMILY","FAULT","FETCH","FIELDS","FILE","FILES","FILL","FIX_ALTER","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOR","FORCE","FORCE_COMPILED_MODE","FORCE_INTERPRETER_MODE","FOREGROUND","FOREIGN","FORMAT","FORWARD","FREEZE","FROM","FS","_FSYNC","FULL","FULLTEXT","FUNCTION","FUNCTIONS","GC","GCS","GET_FORMAT","_GC","_GCX","GENERATE","GEOGRAPHY","GEOGRAPHYPOINT","GEOMETRY","GEOMETRYPOINT","GLOBAL","_GLOBAL_VERSION_TIMESTAMP","GRANT","GRANTED","GRANTS","GROUP","GROUPING","GROUPS","GZIP","HANDLE","HANDLER","HARD_CPU_LIMIT_PERCENTAGE","HASH","HAS_TEMP_TABLES","HAVING","HDFS","HEADER","HEARTBEAT_NO_LOGGING","HIGH_PRIORITY","HISTOGRAM","HOLD","HOLDING","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IDENTITY","IF","IGNORE","ILIKE","IMMEDIATE","IMMUTABLE","IMPLICIT","IMPORT","IN","INCLUDING","INCREMENT","INCREMENTAL","INDEX","INDEXES","INFILE","INHERIT","INHERITS","_INIT_PROFILE","INIT","INITIALIZE","INITIALLY","INJECT","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTANCE","INSTEAD","IN","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","_INTERNAL_DYNAMIC_TYPECAST","INTERPRETER_MODE","INTERSECT","INTERVAL","INTO","INVOKER","ISOLATION","ITERATE","JOIN","JSON","KAFKA","KEY","KEY_BLOCK_SIZE","KEYS","KILL","KILLALL","LABEL","LAG","LANGUAGE","LARGE","LAST","LAST_VALUE","LATERAL","LATEST","LC_COLLATE","LC_CTYPE","LEAD","LEADING","LEAF","LEAKPROOF","LEAVE","LEAVES","LEFT","LEVEL","LICENSE","LIKE","LIMIT","LINES","LISTEN","LLVM","LOADDATA_WHERE","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCK","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","_LS","LZ4","MANAGEMENT","_MANAGEMENT_THREAD","MAPPING","MASTER","MATCH","MATERIALIZED","MAXVALUE","MAX_CONCURRENCY","MAX_ERRORS","MAX_PARTITIONS_PER_BATCH","MAX_QUEUE_DEPTH","MAX_RETRIES_PER_BATCH_PARTITION","MAX_ROWS","MBC","MPL","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMBER","MEMORY","MEMORY_PERCENTAGE","_MEMSQL_TABLE_ID_LOOKUP","MEMSQL","MEMSQL_DESERIALIZE","MEMSQL_IMITATING_KAFKA","MEMSQL_SERIALIZE","MERGE","METADATA","MICROSECOND","MIDDLEINT","MIN_ROWS","MINUS","MINUTE_MICROSECOND","MINUTE_SECOND","MINVALUE","MOD","MODE","MODEL","MODIFIES","MODIFY","MONTH","MOVE","MPL","NAMES","NAMED","NAMESPACE","NATIONAL","NATURAL","NCHAR","NEXT","NO","NODE","NONE","NO_QUERY_REWRITE","NOPARAM","NOT","NOTHING","NOTIFY","NOWAIT","NO_WRITE_TO_BINLOG","NO_QUERY_REWRITE","NORELY","NTH_VALUE","NTILE","NULL","NULLCOLS","NULLS","NUMERIC","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OIDS","ON","ONLINE","ONLY","OPEN","OPERATOR","OPTIMIZATION","OPTIMIZE","OPTIMIZER","OPTIMIZER_STATE","OPTION","OPTIONS","OPTIONALLY","OR","ORDER","ORDERED_SERIALIZE","ORPHAN","OUT","OUT_OF_ORDER","OUTER","OUTFILE","OVER","OVERLAPS","OVERLAY","OWNED","OWNER","PACK_KEYS","PAIRED","PARSER","PARQUET","PARTIAL","PARTITION","PARTITION_ID","PARTITIONING","PARTITIONS","PASSING","PASSWORD","PASSWORD_LOCK_TIME","PAUSE","_PAUSE_REPLAY","PERIODIC","PERSISTED","PIPELINE","PIPELINES","PLACING","PLAN","PLANS","PLANCACHE","PLUGINS","POOL","POOLS","PORT","PRECEDING","PRECISION","PREPARE","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROCEDURES","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROGRAM","PROMOTE","PROXY","PURGE","QUARTER","QUERIES","QUERY","QUERY_TIMEOUT","QUEUE","RANGE","RANK","READ","_READ","READS","REAL","REASSIGN","REBALANCE","RECHECK","RECORD","RECURSIVE","REDUNDANCY","REDUNDANT","REF","REFERENCE","REFERENCES","REFRESH","REGEXP","REINDEX","RELATIVE","RELEASE","RELOAD","RELY","REMOTE","REMOVE","RENAME","REPAIR","_REPAIR_TABLE","REPEAT","REPEATABLE","_REPL","_REPROVISIONING","REPLACE","REPLICA","REPLICATE","REPLICATING","REPLICATION","REQUIRE","RESOURCE","RESOURCE_POOL","RESET","RESTART","RESTORE","RESTRICT","RESULT","_RESURRECT","RETRY","RETURN","RETURNING","RETURNS","REVERSE","RG_POOL","REVOKE","RIGHT","RIGHT_ANTI_JOIN","RIGHT_SEMI_JOIN","RIGHT_STRAIGHT_JOIN","RLIKE","ROLES","ROLLBACK","ROLLUP","ROUTINE","ROW","ROW_COUNT","ROW_FORMAT","ROW_NUMBER","ROWS","ROWSTORE","RULE","_RPC","RUNNING","S3","SAFE","SAVE","SAVEPOINT","SCALAR","SCHEMA","SCHEMAS","SCHEMA_BINDING","SCROLL","SEARCH","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SEMI_JOIN","_SEND_THREADS","SENSITIVE","SEPARATOR","SEQUENCE","SEQUENCES","SERIAL","SERIALIZABLE","SERIES","SERVICE_USER","SERVER","SESSION","SESSION_USER","SET","SETOF","SECURITY_LISTS_INTERSECT","SHA","SHARD","SHARDED","SHARDED_ID","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMILAR","SIMPLE","SITE","SKIP","SKIPPED_BATCHES","__SLEEP","SMALLINT","SNAPSHOT","_SNAPSHOT","_SNAPSHOTS","SOFT_CPU_LIMIT_PERCENTAGE","SOME","SONAME","SPARSE","SPATIAL","SPATIAL_CHECK_INDEX","SPECIFIC","SQL","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQLEXCEPTION","SQL_MODE","SQL_NO_CACHE","SQL_NO_LOGGING","SQL_SMALL_RESULT","SQLSTATE","SQLWARNING","STDIN","STDOUT","STOP","STORAGE","STRAIGHT_JOIN","STRICT","STRING","STRIP","SUCCESS","SUPER","SYMMETRIC","SYNC_SNAPSHOT","SYNC","_SYNC","_SYNC2","_SYNC_PARTITIONS","_SYNC_SNAPSHOT","SYNCHRONIZE","SYSID","SYSTEM","TABLE","TABLE_CHECKSUM","TABLES","TABLESPACE","TAGS","TARGET_SIZE","TASK","TEMP","TEMPLATE","TEMPORARY","TEMPTABLE","_TERM_BUMP","TERMINATE","TERMINATED","TEXT","THEN","TIME","TIMEOUT","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIMEZONE","TINYBLOB","TINYINT","TINYTEXT","TO","TRACELOGS","TRADITIONAL","TRAILING","TRANSFORM","TRANSACTION","_TRANSACTIONS_EXPERIMENTAL","TREAT","TRIGGER","TRIGGERS","TRUE","TRUNC","TRUNCATE","TRUSTED","TWO_PHASE","_TWOPCID","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO","UNENCRYPTED","UNENFORCED","UNHOLD","UNICODE","UNION","UNIQUE","_UNITTEST","UNKNOWN","UNLISTEN","_UNLOAD","UNLOCK","UNLOGGED","UNPIVOT","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USERS","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","_UTF8","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARIADIC","VARYING","VERBOSE","VIEW","VOID","VOLATILE","VOTING","WAIT","_WAKE","WARNINGS","WEEK","WHEN","WHERE","WHILE","WHITESPACE","WINDOW","WITH","WITHOUT","WITHIN","_WM_HEARTBEAT","WORK","WORKLOAD","WRAPPER","WRITE","XACT_ID","XOR","YEAR","YEAR_MONTH","YES","ZEROFILL","ZONE"]}),tB=v({all:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","APPROX_COUNT_DISTINCT","APPROX_COUNT_DISTINCT_ACCUMULATE","APPROX_COUNT_DISTINCT_COMBINE","APPROX_COUNT_DISTINCT_ESTIMATE","APPROX_GEOGRAPHY_INTERSECTS","APPROX_PERCENTILE","ASCII","ASIN","ATAN","ATAN2","AVG","BIN","BINARY","BIT_AND","BIT_COUNT","BIT_OR","BIT_XOR","CAST","CEIL","CEILING","CHAR","CHARACTER_LENGTH","CHAR_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COLLECT","CONCAT","CONCAT_WS","CONNECTION_ID","CONV","CONVERT","CONVERT_TZ","COS","COT","COUNT","CUME_DIST","CURDATE","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATEDIFF","DATE_FORMAT","DATE_SUB","DATE_TRUNC","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT","DEGREES","DENSE_RANK","DIV","DOT_PRODUCT","ELT","EUCLIDEAN_DISTANCE","EXP","EXTRACT","FIELD","FIRST","FIRST_VALUE","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GEOGRAPHY_AREA","GEOGRAPHY_CONTAINS","GEOGRAPHY_DISTANCE","GEOGRAPHY_INTERSECTS","GEOGRAPHY_LATITUDE","GEOGRAPHY_LENGTH","GEOGRAPHY_LONGITUDE","GEOGRAPHY_POINT","GEOGRAPHY_WITHIN_DISTANCE","GEOMETRY_AREA","GEOMETRY_CONTAINS","GEOMETRY_DISTANCE","GEOMETRY_FILTER","GEOMETRY_INTERSECTS","GEOMETRY_LENGTH","GEOMETRY_POINT","GEOMETRY_WITHIN_DISTANCE","GEOMETRY_X","GEOMETRY_Y","GREATEST","GROUPING","GROUP_CONCAT","HEX","HIGHLIGHT","HOUR","ICU_VERSION","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INITCAP","INSERT","INSTR","INTERVAL","IS","IS NULL","JSON_AGG","JSON_ARRAY_CONTAINS_DOUBLE","JSON_ARRAY_CONTAINS_JSON","JSON_ARRAY_CONTAINS_STRING","JSON_ARRAY_PUSH_DOUBLE","JSON_ARRAY_PUSH_JSON","JSON_ARRAY_PUSH_STRING","JSON_DELETE_KEY","JSON_EXTRACT_DOUBLE","JSON_EXTRACT_JSON","JSON_EXTRACT_STRING","JSON_EXTRACT_BIGINT","JSON_GET_TYPE","JSON_LENGTH","JSON_SET_DOUBLE","JSON_SET_JSON","JSON_SET_STRING","JSON_SPLICE_DOUBLE","JSON_SPLICE_JSON","JSON_SPLICE_STRING","LAG","LAST_DAY","LAST_VALUE","LCASE","LEAD","LEAST","LEFT","LENGTH","LIKE","LN","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LPAD","LTRIM","MATCH","MAX","MD5","MEDIAN","MICROSECOND","MIN","MINUTE","MOD","MONTH","MONTHNAME","MONTHS_BETWEEN","NOT","NOW","NTH_VALUE","NTILE","NULLIF","OCTET_LENGTH","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","PI","PIVOT","POSITION","POW","POWER","QUARTER","QUOTE","RADIANS","RAND","RANK","REGEXP","REPEAT","REPLACE","REVERSE","RIGHT","RLIKE","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCALAR","SCHEMA","SEC_TO_TIME","SHA1","SHA2","SIGMOID","SIGN","SIN","SLEEP","SPLIT","SOUNDEX","SOUNDS LIKE","SOURCE_POS_WAIT","SPACE","SQRT","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUM","SYS_GUID","TAN","TIME","TIMEDIFF","TIME_BUCKET","TIME_FORMAT","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIME_TO_SEC","TO_BASE64","TO_CHAR","TO_DAYS","TO_JSON","TO_NUMBER","TO_SECONDS","TO_TIMESTAMP","TRIM","TRUNC","TRUNCATE","UCASE","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","VALUES","VARIANCE","VAR_POP","VAR_SAMP","VECTOR_SUB","VERSION","WEEK","WEEKDAY","WEEKOFYEAR","YEAR","BIT","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","DATETIME","TIMESTAMP","TIME","YEAR","CHAR","NATIONAL CHAR","VARCHAR","NATIONAL VARCHAR","BINARY","VARBINARY","BLOB","TEXT","ENUM"]}),tY=A(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),tk=A(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [IGNORE] [INTO]","VALUES","REPLACE [INTO]","SET","CREATE VIEW","CREATE [ROWSTORE] [REFERENCE | TEMPORARY | GLOBAL TEMPORARY] TABLE [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMPORARY] PROCEDURE [IF NOT EXISTS]","CREATE [OR REPLACE] [EXTERNAL] FUNCTION"]),tV=A(["UPDATE","DELETE [FROM]","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER [ONLINE] TABLE","ADD [COLUMN]","ADD [UNIQUE] {INDEX | KEY}","DROP [COLUMN]","MODIFY [COLUMN]","CHANGE","RENAME [TO | AS]","TRUNCATE [TABLE]","ADD AGGREGATOR","ADD LEAF","AGGREGATOR SET AS MASTER","ALTER DATABASE","ALTER PIPELINE","ALTER RESOURCE POOL","ALTER USER","ALTER VIEW","ANALYZE TABLE","ATTACH DATABASE","ATTACH LEAF","ATTACH LEAF ALL","BACKUP DATABASE","BINLOG","BOOTSTRAP AGGREGATOR","CACHE INDEX","CALL","CHANGE","CHANGE MASTER TO","CHANGE REPLICATION FILTER","CHANGE REPLICATION SOURCE TO","CHECK BLOB CHECKSUM","CHECK TABLE","CHECKSUM TABLE","CLEAR ORPHAN DATABASES","CLONE","COMMIT","CREATE DATABASE","CREATE GROUP","CREATE INDEX","CREATE LINK","CREATE MILESTONE","CREATE PIPELINE","CREATE RESOURCE POOL","CREATE ROLE","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DETACH DATABASE","DETACH PIPELINE","DROP DATABASE","DROP FUNCTION","DROP INDEX","DROP LINK","DROP PIPELINE","DROP PROCEDURE","DROP RESOURCE POOL","DROP ROLE","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","FORCE","GRANT","HANDLER","HELP","KILL CONNECTION","KILLALL QUERIES","LOAD DATA","LOAD INDEX INTO CACHE","LOAD XML","LOCK INSTANCE FOR BACKUP","LOCK TABLES","MASTER_POS_WAIT","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","REBALANCE PARTITIONS","RELEASE SAVEPOINT","REMOVE AGGREGATOR","REMOVE LEAF","REPAIR TABLE","REPLACE","REPLICATE DATABASE","RESET","RESET MASTER","RESET PERSIST","RESET REPLICA","RESET SLAVE","RESTART","RESTORE DATABASE","RESTORE REDUNDANCY","REVOKE","ROLLBACK","ROLLBACK TO SAVEPOINT","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET NAMES","SET PASSWORD","SET RESOURCE GROUP","SET ROLE","SET TRANSACTION","SHOW","SHOW CHARACTER SET","SHOW COLLATION","SHOW COLUMNS","SHOW CREATE DATABASE","SHOW CREATE FUNCTION","SHOW CREATE PIPELINE","SHOW CREATE PROCEDURE","SHOW CREATE TABLE","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINES","SHOW ERRORS","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PLUGINS","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW RELAYLOG EVENTS","SHOW REPLICA STATUS","SHOW REPLICAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW STATUS","SHOW TABLE STATUS","SHOW TABLES","SHOW VARIABLES","SHOW WARNINGS","SHUTDOWN","SNAPSHOT DATABASE","SOURCE_POS_WAIT","START GROUP_REPLICATION","START PIPELINE","START REPLICA","START SLAVE","START TRANSACTION","STOP GROUP_REPLICATION","STOP PIPELINE","STOP REPLICA","STOP REPLICATING","STOP SLAVE","TEST PIPELINE","UNLOCK INSTANCE","UNLOCK TABLES","USE","XA","ITERATE","LEAVE","LOOP","REPEAT","RETURN","WHILE"]),t$=A(["UNION [ALL | DISTINCT]","EXCEPT","INTERSECT","MINUS"]),tW=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),tZ=A(["ON DELETE","ON UPDATE","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),tj={tokenizerOptions:{reservedSelect:tY,reservedClauses:[...tk,...tV],reservedSetOperations:t$,reservedJoins:tW,reservedPhrases:tZ,reservedKeywords:tH,reservedFunctionNames:tB,stringTypes:['""-qq-bs',"''-qq-bs",{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_$]+"},{quote:"``",prefixes:["@"],requirePrefix:!0}],lineCommentTypes:["--","#"],operators:[":=","&","|","^","~","<<",">>","<=>","&&","||","::","::$","::%",":>","!:>"],postProcess:function(e){return e.map((t,n)=>{let o=e[n+1]||u;return d.SET(t)&&"("===o.text?{...t,type:r.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{alwaysDenseOperators:["::","::$","::%"],onelineClauses:tV}},tX=v({all:["ABS","ACOS","ACOSH","ADD_MONTHS","ALL_USER_NAMES","ANY_VALUE","APPROX_COUNT_DISTINCT","APPROX_PERCENTILE","APPROX_PERCENTILE_ACCUMULATE","APPROX_PERCENTILE_COMBINE","APPROX_PERCENTILE_ESTIMATE","APPROX_TOP_K","APPROX_TOP_K_ACCUMULATE","APPROX_TOP_K_COMBINE","APPROX_TOP_K_ESTIMATE","APPROXIMATE_JACCARD_INDEX","APPROXIMATE_SIMILARITY","ARRAY_AGG","ARRAY_APPEND","ARRAY_CAT","ARRAY_COMPACT","ARRAY_CONSTRUCT","ARRAY_CONSTRUCT_COMPACT","ARRAY_CONTAINS","ARRAY_INSERT","ARRAY_INTERSECTION","ARRAY_POSITION","ARRAY_PREPEND","ARRAY_SIZE","ARRAY_SLICE","ARRAY_TO_STRING","ARRAY_UNION_AGG","ARRAY_UNIQUE_AGG","ARRAYS_OVERLAP","AS_ARRAY","AS_BINARY","AS_BOOLEAN","AS_CHAR","AS_VARCHAR","AS_DATE","AS_DECIMAL","AS_NUMBER","AS_DOUBLE","AS_REAL","AS_INTEGER","AS_OBJECT","AS_TIME","AS_TIMESTAMP_LTZ","AS_TIMESTAMP_NTZ","AS_TIMESTAMP_TZ","ASCII","ASIN","ASINH","ATAN","ATAN2","ATANH","AUTO_REFRESH_REGISTRATION_HISTORY","AUTOMATIC_CLUSTERING_HISTORY","AVG","BASE64_DECODE_BINARY","BASE64_DECODE_STRING","BASE64_ENCODE","BIT_LENGTH","BITAND","BITAND_AGG","BITMAP_BIT_POSITION","BITMAP_BUCKET_NUMBER","BITMAP_CONSTRUCT_AGG","BITMAP_COUNT","BITMAP_OR_AGG","BITNOT","BITOR","BITOR_AGG","BITSHIFTLEFT","BITSHIFTRIGHT","BITXOR","BITXOR_AGG","BOOLAND","BOOLAND_AGG","BOOLNOT","BOOLOR","BOOLOR_AGG","BOOLXOR","BOOLXOR_AGG","BUILD_SCOPED_FILE_URL","BUILD_STAGE_FILE_URL","CASE","CAST","CBRT","CEIL","CHARINDEX","CHECK_JSON","CHECK_XML","CHR","CHAR","COALESCE","COLLATE","COLLATION","COMPLETE_TASK_GRAPHS","COMPRESS","CONCAT","CONCAT_WS","CONDITIONAL_CHANGE_EVENT","CONDITIONAL_TRUE_EVENT","CONTAINS","CONVERT_TIMEZONE","COPY_HISTORY","CORR","COS","COSH","COT","COUNT","COUNT_IF","COVAR_POP","COVAR_SAMP","CUME_DIST","CURRENT_ACCOUNT","CURRENT_AVAILABLE_ROLES","CURRENT_CLIENT","CURRENT_DATABASE","CURRENT_DATE","CURRENT_IP_ADDRESS","CURRENT_REGION","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_SECONDARY_ROLES","CURRENT_SESSION","CURRENT_STATEMENT","CURRENT_TASK_GRAPHS","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TRANSACTION","CURRENT_USER","CURRENT_VERSION","CURRENT_WAREHOUSE","DATA_TRANSFER_HISTORY","DATABASE_REFRESH_HISTORY","DATABASE_REFRESH_PROGRESS","DATABASE_REFRESH_PROGRESS_BY_JOB","DATABASE_STORAGE_USAGE_HISTORY","DATE_FROM_PARTS","DATE_PART","DATE_TRUNC","DATEADD","DATEDIFF","DAYNAME","DECODE","DECOMPRESS_BINARY","DECOMPRESS_STRING","DECRYPT","DECRYPT_RAW","DEGREES","DENSE_RANK","DIV0","EDITDISTANCE","ENCRYPT","ENCRYPT_RAW","ENDSWITH","EQUAL_NULL","EXP","EXPLAIN_JSON","EXTERNAL_FUNCTIONS_HISTORY","EXTERNAL_TABLE_FILES","EXTERNAL_TABLE_FILE_REGISTRATION_HISTORY","EXTRACT","EXTRACT_SEMANTIC_CATEGORIES","FACTORIAL","FIRST_VALUE","FLATTEN","FLOOR","GENERATE_COLUMN_DESCRIPTION","GENERATOR","GET","GET_ABSOLUTE_PATH","GET_DDL","GET_IGNORE_CASE","GET_OBJECT_REFERENCES","GET_PATH","GET_PRESIGNED_URL","GET_RELATIVE_PATH","GET_STAGE_LOCATION","GETBIT","GREATEST","GROUPING","GROUPING_ID","HASH","HASH_AGG","HAVERSINE","HEX_DECODE_BINARY","HEX_DECODE_STRING","HEX_ENCODE","HLL","HLL_ACCUMULATE","HLL_COMBINE","HLL_ESTIMATE","HLL_EXPORT","HLL_IMPORT","HOUR","MINUTE","SECOND","IFF","IFNULL","ILIKE","ILIKE ANY","INFER_SCHEMA","INITCAP","INSERT","INVOKER_ROLE","INVOKER_SHARE","IS_ARRAY","IS_BINARY","IS_BOOLEAN","IS_CHAR","IS_VARCHAR","IS_DATE","IS_DATE_VALUE","IS_DECIMAL","IS_DOUBLE","IS_REAL","IS_GRANTED_TO_INVOKER_ROLE","IS_INTEGER","IS_NULL_VALUE","IS_OBJECT","IS_ROLE_IN_SESSION","IS_TIME","IS_TIMESTAMP_LTZ","IS_TIMESTAMP_NTZ","IS_TIMESTAMP_TZ","JAROWINKLER_SIMILARITY","JSON_EXTRACT_PATH_TEXT","KURTOSIS","LAG","LAST_DAY","LAST_QUERY_ID","LAST_TRANSACTION","LAST_VALUE","LEAD","LEAST","LEFT","LENGTH","LEN","LIKE","LIKE ALL","LIKE ANY","LISTAGG","LN","LOCALTIME","LOCALTIMESTAMP","LOG","LOGIN_HISTORY","LOGIN_HISTORY_BY_USER","LOWER","LPAD","LTRIM","MATERIALIZED_VIEW_REFRESH_HISTORY","MD5","MD5_HEX","MD5_BINARY","MD5_NUMBER — Obsoleted","MD5_NUMBER_LOWER64","MD5_NUMBER_UPPER64","MEDIAN","MIN","MAX","MINHASH","MINHASH_COMBINE","MOD","MODE","MONTHNAME","MONTHS_BETWEEN","NEXT_DAY","NORMAL","NTH_VALUE","NTILE","NULLIF","NULLIFZERO","NVL","NVL2","OBJECT_AGG","OBJECT_CONSTRUCT","OBJECT_CONSTRUCT_KEEP_NULL","OBJECT_DELETE","OBJECT_INSERT","OBJECT_KEYS","OBJECT_PICK","OCTET_LENGTH","PARSE_IP","PARSE_JSON","PARSE_URL","PARSE_XML","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","PI","PIPE_USAGE_HISTORY","POLICY_CONTEXT","POLICY_REFERENCES","POSITION","POW","POWER","PREVIOUS_DAY","QUERY_ACCELERATION_HISTORY","QUERY_HISTORY","QUERY_HISTORY_BY_SESSION","QUERY_HISTORY_BY_USER","QUERY_HISTORY_BY_WAREHOUSE","RADIANS","RANDOM","RANDSTR","RANK","RATIO_TO_REPORT","REGEXP","REGEXP_COUNT","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","REGEXP_SUBSTR_ALL","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","REGR_VALX","REGR_VALY","REPEAT","REPLACE","REPLICATION_GROUP_REFRESH_HISTORY","REPLICATION_GROUP_REFRESH_PROGRESS","REPLICATION_GROUP_REFRESH_PROGRESS_BY_JOB","REPLICATION_GROUP_USAGE_HISTORY","REPLICATION_USAGE_HISTORY","REST_EVENT_HISTORY","RESULT_SCAN","REVERSE","RIGHT","RLIKE","ROUND","ROW_NUMBER","RPAD","RTRIM","RTRIMMED_LENGTH","SEARCH_OPTIMIZATION_HISTORY","SEQ1","SEQ2","SEQ4","SEQ8","SERVERLESS_TASK_HISTORY","SHA1","SHA1_HEX","SHA1_BINARY","SHA2","SHA2_HEX","SHA2_BINARY","SIGN","SIN","SINH","SKEW","SOUNDEX","SPACE","SPLIT","SPLIT_PART","SPLIT_TO_TABLE","SQRT","SQUARE","ST_AREA","ST_ASEWKB","ST_ASEWKT","ST_ASGEOJSON","ST_ASWKB","ST_ASBINARY","ST_ASWKT","ST_ASTEXT","ST_AZIMUTH","ST_CENTROID","ST_COLLECT","ST_CONTAINS","ST_COVEREDBY","ST_COVERS","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DWITHIN","ST_ENDPOINT","ST_ENVELOPE","ST_GEOGFROMGEOHASH","ST_GEOGPOINTFROMGEOHASH","ST_GEOGRAPHYFROMWKB","ST_GEOGRAPHYFROMWKT","ST_GEOHASH","ST_GEOMETRYFROMWKB","ST_GEOMETRYFROMWKT","ST_HAUSDORFFDISTANCE","ST_INTERSECTION","ST_INTERSECTS","ST_LENGTH","ST_MAKEGEOMPOINT","ST_GEOM_POINT","ST_MAKELINE","ST_MAKEPOINT","ST_POINT","ST_MAKEPOLYGON","ST_POLYGON","ST_NPOINTS","ST_NUMPOINTS","ST_PERIMETER","ST_POINTN","ST_SETSRID","ST_SIMPLIFY","ST_SRID","ST_STARTPOINT","ST_SYMDIFFERENCE","ST_UNION","ST_WITHIN","ST_X","ST_XMAX","ST_XMIN","ST_Y","ST_YMAX","ST_YMIN","STAGE_DIRECTORY_FILE_REGISTRATION_HISTORY","STAGE_STORAGE_USAGE_HISTORY","STARTSWITH","STDDEV","STDDEV_POP","STDDEV_SAMP","STRIP_NULL_VALUE","STRTOK","STRTOK_SPLIT_TO_TABLE","STRTOK_TO_ARRAY","SUBSTR","SUBSTRING","SUM","SYSDATE","SYSTEM$ABORT_SESSION","SYSTEM$ABORT_TRANSACTION","SYSTEM$AUTHORIZE_PRIVATELINK","SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS","SYSTEM$BEHAVIOR_CHANGE_BUNDLE_STATUS","SYSTEM$CANCEL_ALL_QUERIES","SYSTEM$CANCEL_QUERY","SYSTEM$CLUSTERING_DEPTH","SYSTEM$CLUSTERING_INFORMATION","SYSTEM$CLUSTERING_RATIO ","SYSTEM$CURRENT_USER_TASK_NAME","SYSTEM$DATABASE_REFRESH_HISTORY ","SYSTEM$DATABASE_REFRESH_PROGRESS","SYSTEM$DATABASE_REFRESH_PROGRESS_BY_JOB ","SYSTEM$DISABLE_BEHAVIOR_CHANGE_BUNDLE","SYSTEM$DISABLE_DATABASE_REPLICATION","SYSTEM$ENABLE_BEHAVIOR_CHANGE_BUNDLE","SYSTEM$ESTIMATE_QUERY_ACCELERATION","SYSTEM$ESTIMATE_SEARCH_OPTIMIZATION_COSTS","SYSTEM$EXPLAIN_JSON_TO_TEXT","SYSTEM$EXPLAIN_PLAN_JSON","SYSTEM$EXTERNAL_TABLE_PIPE_STATUS","SYSTEM$GENERATE_SAML_CSR","SYSTEM$GENERATE_SCIM_ACCESS_TOKEN","SYSTEM$GET_AWS_SNS_IAM_POLICY","SYSTEM$GET_PREDECESSOR_RETURN_VALUE","SYSTEM$GET_PRIVATELINK","SYSTEM$GET_PRIVATELINK_AUTHORIZED_ENDPOINTS","SYSTEM$GET_PRIVATELINK_CONFIG","SYSTEM$GET_SNOWFLAKE_PLATFORM_INFO","SYSTEM$GET_TAG","SYSTEM$GET_TAG_ALLOWED_VALUES","SYSTEM$GET_TAG_ON_CURRENT_COLUMN","SYSTEM$GET_TAG_ON_CURRENT_TABLE","SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER","SYSTEM$LAST_CHANGE_COMMIT_TIME","SYSTEM$LINK_ACCOUNT_OBJECTS_BY_NAME","SYSTEM$MIGRATE_SAML_IDP_REGISTRATION","SYSTEM$PIPE_FORCE_RESUME","SYSTEM$PIPE_STATUS","SYSTEM$REVOKE_PRIVATELINK","SYSTEM$REVOKE_STAGE_PRIVATELINK_ACCESS","SYSTEM$SET_RETURN_VALUE","SYSTEM$SHOW_OAUTH_CLIENT_SECRETS","SYSTEM$STREAM_GET_TABLE_TIMESTAMP","SYSTEM$STREAM_HAS_DATA","SYSTEM$TASK_DEPENDENTS_ENABLE","SYSTEM$TYPEOF","SYSTEM$USER_TASK_CANCEL_ONGOING_EXECUTIONS","SYSTEM$VERIFY_EXTERNAL_OAUTH_TOKEN","SYSTEM$WAIT","SYSTEM$WHITELIST","SYSTEM$WHITELIST_PRIVATELINK","TAG_REFERENCES","TAG_REFERENCES_ALL_COLUMNS","TAG_REFERENCES_WITH_LINEAGE","TAN","TANH","TASK_DEPENDENTS","TASK_HISTORY","TIME_FROM_PARTS","TIME_SLICE","TIMEADD","TIMEDIFF","TIMESTAMP_FROM_PARTS","TIMESTAMPADD","TIMESTAMPDIFF","TO_ARRAY","TO_BINARY","TO_BOOLEAN","TO_CHAR","TO_VARCHAR","TO_DATE","DATE","TO_DECIMAL","TO_NUMBER","TO_NUMERIC","TO_DOUBLE","TO_GEOGRAPHY","TO_GEOMETRY","TO_JSON","TO_OBJECT","TO_TIME","TIME","TO_TIMESTAMP","TO_TIMESTAMP_LTZ","TO_TIMESTAMP_NTZ","TO_TIMESTAMP_TZ","TO_VARIANT","TO_XML","TRANSLATE","TRIM","TRUNCATE","TRUNC","TRUNC","TRY_BASE64_DECODE_BINARY","TRY_BASE64_DECODE_STRING","TRY_CAST","TRY_HEX_DECODE_BINARY","TRY_HEX_DECODE_STRING","TRY_PARSE_JSON","TRY_TO_BINARY","TRY_TO_BOOLEAN","TRY_TO_DATE","TRY_TO_DECIMAL","TRY_TO_NUMBER","TRY_TO_NUMERIC","TRY_TO_DOUBLE","TRY_TO_GEOGRAPHY","TRY_TO_GEOMETRY","TRY_TO_TIME","TRY_TO_TIMESTAMP","TRY_TO_TIMESTAMP_LTZ","TRY_TO_TIMESTAMP_NTZ","TRY_TO_TIMESTAMP_TZ","TYPEOF","UNICODE","UNIFORM","UPPER","UUID_STRING","VALIDATE","VALIDATE_PIPE_LOAD","VAR_POP","VAR_SAMP","VARIANCE","VARIANCE_SAMP","VARIANCE_POP","WAREHOUSE_LOAD_HISTORY","WAREHOUSE_METERING_HISTORY","WIDTH_BUCKET","XMLGET","YEAR","YEAROFWEEK","YEAROFWEEKISO","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFWEEKISO","DAYOFYEAR","WEEK","WEEK","WEEKOFYEAR","WEEKISO","MONTH","QUARTER","ZEROIFNULL","ZIPF"]}),tK=v({all:["ACCOUNT","ALL","ALTER","AND","ANY","AS","BETWEEN","BY","CASE","CAST","CHECK","COLUMN","CONNECT","CONNECTION","CONSTRAINT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DATABASE","DELETE","DISTINCT","DROP","ELSE","EXISTS","FALSE","FOLLOWING","FOR","FROM","FULL","GRANT","GROUP","GSCLUSTER","HAVING","ILIKE","IN","INCREMENT","INNER","INSERT","INTERSECT","INTO","IS","ISSUE","JOIN","LATERAL","LEFT","LIKE","LOCALTIME","LOCALTIMESTAMP","MINUS","NATURAL","NOT","NULL","OF","ON","OR","ORDER","ORGANIZATION","QUALIFY","REGEXP","REVOKE","RIGHT","RLIKE","ROW","ROWS","SAMPLE","SCHEMA","SELECT","SET","SOME","START","TABLE","TABLESAMPLE","THEN","TO","TRIGGER","TRUE","TRY_CAST","UNION","UNIQUE","UPDATE","USING","VALUES","VIEW","WHEN","WHENEVER","WHERE","WITH"]}),tz=A(["SELECT [ALL | DISTINCT]"]),tJ=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","QUALIFY","LIMIT","OFFSET","FETCH [FIRST | NEXT]","INSERT [OVERWRITE] [ALL INTO | INTO | ALL | FIRST]","{THEN | ELSE} INTO","VALUES","SET","CREATE [OR REPLACE] [SECURE] [RECURSIVE] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [VOLATILE] TABLE [IF NOT EXISTS]","CREATE [OR REPLACE] [LOCAL | GLOBAL] {TEMP|TEMPORARY} TABLE [IF NOT EXISTS]","CLUSTER BY","[WITH] {MASKING POLICY | TAG | ROW ACCESS POLICY}","COPY GRANTS","USING TEMPLATE","MERGE INTO","WHEN MATCHED [AND]","THEN {UPDATE SET | DELETE}","WHEN NOT MATCHED THEN INSERT"]),tq=A(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","RENAME TO","SWAP WITH","[SUSPEND | RESUME] RECLUSTER","DROP CLUSTERING KEY","ADD [COLUMN]","RENAME COLUMN","{ALTER | MODIFY} [COLUMN]","DROP [COLUMN]","{ADD | ALTER | MODIFY | DROP} [CONSTRAINT]","RENAME CONSTRAINT","{ADD | DROP} SEARCH OPTIMIZATION","{SET | UNSET} TAG","{ADD | DROP} ROW ACCESS POLICY","DROP ALL ROW ACCESS POLICIES","{SET | DROP} DEFAULT","{SET | DROP} NOT NULL","[SET DATA] TYPE","[UNSET] COMMENT","{SET | UNSET} MASKING POLICY","TRUNCATE [TABLE] [IF EXISTS]","ALTER ACCOUNT","ALTER API INTEGRATION","ALTER CONNECTION","ALTER DATABASE","ALTER EXTERNAL TABLE","ALTER FAILOVER GROUP","ALTER FILE FORMAT","ALTER FUNCTION","ALTER INTEGRATION","ALTER MASKING POLICY","ALTER MATERIALIZED VIEW","ALTER NETWORK POLICY","ALTER NOTIFICATION INTEGRATION","ALTER PIPE","ALTER PROCEDURE","ALTER REPLICATION GROUP","ALTER RESOURCE MONITOR","ALTER ROLE","ALTER ROW ACCESS POLICY","ALTER SCHEMA","ALTER SECURITY INTEGRATION","ALTER SEQUENCE","ALTER SESSION","ALTER SESSION POLICY","ALTER SHARE","ALTER STAGE","ALTER STORAGE INTEGRATION","ALTER STREAM","ALTER TAG","ALTER TASK","ALTER USER","ALTER VIEW","ALTER WAREHOUSE","BEGIN","CALL","COMMIT","COPY INTO","CREATE ACCOUNT","CREATE API INTEGRATION","CREATE CONNECTION","CREATE DATABASE","CREATE EXTERNAL FUNCTION","CREATE EXTERNAL TABLE","CREATE FAILOVER GROUP","CREATE FILE FORMAT","CREATE FUNCTION","CREATE INTEGRATION","CREATE MANAGED ACCOUNT","CREATE MASKING POLICY","CREATE MATERIALIZED VIEW","CREATE NETWORK POLICY","CREATE NOTIFICATION INTEGRATION","CREATE PIPE","CREATE PROCEDURE","CREATE REPLICATION GROUP","CREATE RESOURCE MONITOR","CREATE ROLE","CREATE ROW ACCESS POLICY","CREATE SCHEMA","CREATE SECURITY INTEGRATION","CREATE SEQUENCE","CREATE SESSION POLICY","CREATE SHARE","CREATE STAGE","CREATE STORAGE INTEGRATION","CREATE STREAM","CREATE TAG","CREATE TASK","CREATE USER","CREATE WAREHOUSE","DELETE","DESCRIBE DATABASE","DESCRIBE EXTERNAL TABLE","DESCRIBE FILE FORMAT","DESCRIBE FUNCTION","DESCRIBE INTEGRATION","DESCRIBE MASKING POLICY","DESCRIBE MATERIALIZED VIEW","DESCRIBE NETWORK POLICY","DESCRIBE PIPE","DESCRIBE PROCEDURE","DESCRIBE RESULT","DESCRIBE ROW ACCESS POLICY","DESCRIBE SCHEMA","DESCRIBE SEQUENCE","DESCRIBE SESSION POLICY","DESCRIBE SHARE","DESCRIBE STAGE","DESCRIBE STREAM","DESCRIBE TABLE","DESCRIBE TASK","DESCRIBE TRANSACTION","DESCRIBE USER","DESCRIBE VIEW","DESCRIBE WAREHOUSE","DROP CONNECTION","DROP DATABASE","DROP EXTERNAL TABLE","DROP FAILOVER GROUP","DROP FILE FORMAT","DROP FUNCTION","DROP INTEGRATION","DROP MANAGED ACCOUNT","DROP MASKING POLICY","DROP MATERIALIZED VIEW","DROP NETWORK POLICY","DROP PIPE","DROP PROCEDURE","DROP REPLICATION GROUP","DROP RESOURCE MONITOR","DROP ROLE","DROP ROW ACCESS POLICY","DROP SCHEMA","DROP SEQUENCE","DROP SESSION POLICY","DROP SHARE","DROP STAGE","DROP STREAM","DROP TAG","DROP TASK","DROP USER","DROP VIEW","DROP WAREHOUSE","EXECUTE IMMEDIATE","EXECUTE TASK","EXPLAIN","GET","GRANT OWNERSHIP","GRANT ROLE","INSERT","LIST","MERGE","PUT","REMOVE","REVOKE ROLE","ROLLBACK","SHOW COLUMNS","SHOW CONNECTIONS","SHOW DATABASES","SHOW DATABASES IN FAILOVER GROUP","SHOW DATABASES IN REPLICATION GROUP","SHOW DELEGATED AUTHORIZATIONS","SHOW EXTERNAL FUNCTIONS","SHOW EXTERNAL TABLES","SHOW FAILOVER GROUPS","SHOW FILE FORMATS","SHOW FUNCTIONS","SHOW GLOBAL ACCOUNTS","SHOW GRANTS","SHOW INTEGRATIONS","SHOW LOCKS","SHOW MANAGED ACCOUNTS","SHOW MASKING POLICIES","SHOW MATERIALIZED VIEWS","SHOW NETWORK POLICIES","SHOW OBJECTS","SHOW ORGANIZATION ACCOUNTS","SHOW PARAMETERS","SHOW PIPES","SHOW PRIMARY KEYS","SHOW PROCEDURES","SHOW REGIONS","SHOW REPLICATION ACCOUNTS","SHOW REPLICATION DATABASES","SHOW REPLICATION GROUPS","SHOW RESOURCE MONITORS","SHOW ROLES","SHOW ROW ACCESS POLICIES","SHOW SCHEMAS","SHOW SEQUENCES","SHOW SESSION POLICIES","SHOW SHARES","SHOW SHARES IN FAILOVER GROUP","SHOW SHARES IN REPLICATION GROUP","SHOW STAGES","SHOW STREAMS","SHOW TABLES","SHOW TAGS","SHOW TASKS","SHOW TRANSACTIONS","SHOW USER FUNCTIONS","SHOW USERS","SHOW VARIABLES","SHOW VIEWS","SHOW WAREHOUSES","TRUNCATE MATERIALIZED VIEW","UNDROP DATABASE","UNDROP SCHEMA","UNDROP TABLE","UNDROP TAG","UNSET","USE DATABASE","USE ROLE","USE SCHEMA","USE SECONDARY ROLES","USE WAREHOUSE"]),tQ=A(["UNION [ALL]","MINUS","EXCEPT","INTERSECT"]),t0=A(["[INNER] JOIN","[NATURAL] {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | NATURAL} JOIN"]),t1=A(["{ROWS | RANGE} BETWEEN","ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]"]),t2={tokenizerOptions:{reservedSelect:tz,reservedClauses:[...tJ,...tq],reservedSetOperations:tQ,reservedJoins:t0,reservedPhrases:t1,reservedKeywords:tK,reservedFunctionNames:tX,stringTypes:["$$","''-qq-bs"],identTypes:['""-qq'],variableTypes:[{regex:"[$][1-9]\\d*"},{regex:"[$][_a-zA-Z][_a-zA-Z0-9$]*"}],extraParens:["[]"],identChars:{rest:"$"},lineCommentTypes:["--","//"],operators:["%","::","||",":","=>"]},formatOptions:{alwaysDenseOperators:[":","::"],onelineClauses:tq}},t4=e=>e.replace(/[.*+?^${}()|[\]\\]/gu,"\\$&"),t6=/\s+/uy,t3=e=>RegExp(`(?:${e})`,"uy"),t8=e=>e.split("").map(e=>/ /gu.test(e)?"\\s+":`[${e.toUpperCase()}${e.toLowerCase()}]`).join(""),t5=e=>e+"(?:-"+e+")*",t7=({prefixes:e,requirePrefix:t})=>`(?:${e.map(t8).join("|")}${t?"":"|"})`,t9=e=>RegExp(`(?:${e.map(t4).join("|")}).*?(?=\r -|\r| -|$)`,"uy"),ne=(e,t=[])=>{let n="open"===e?0:1,r=["()",...t].map(e=>e[n]);return t3(r.map(t4).join("|"))},nt=e=>t3(`${C(e).map(t4).join("|")}`),nn=({rest:e,dashes:t})=>e||t?`(?![${e||""}${t?"-":""}])`:"",nr=(e,t={})=>{if(0===e.length)return/^\b$/u;let n=nn(t),r=C(e).map(t4).join("|").replace(/ /gu,"\\s+");return RegExp(`(?:${r})${n}\\b`,"iuy")},no=(e,t)=>{if(!e.length)return;let n=e.map(t4).join("|");return t3(`(?:${n})(?:${t})`)},ni={"``":"(?:`[^`]*`)+","[]":String.raw`(?:\[[^\]]*\])(?:\][^\]]*\])*`,'""-qq':String.raw`(?:"[^"]*")+`,'""-bs':String.raw`(?:"[^"\\]*(?:\\.[^"\\]*)*")`,'""-qq-bs':String.raw`(?:"[^"\\]*(?:\\.[^"\\]*)*")+`,'""-raw':String.raw`(?:"[^"]*")`,"''-qq":String.raw`(?:'[^']*')+`,"''-bs":String.raw`(?:'[^'\\]*(?:\\.[^'\\]*)*')`,"''-qq-bs":String.raw`(?:'[^'\\]*(?:\\.[^'\\]*)*')+`,"''-raw":String.raw`(?:'[^']*')`,$$:String.raw`(?\$\w*\$)[\s\S]*?\k`,"'''..'''":String.raw`'''[^\\]*?(?:\\.[^\\]*?)*?'''`,'""".."""':String.raw`"""[^\\]*?(?:\\.[^\\]*?)*?"""`,"{}":String.raw`(?:\{[^\}]*\})`,"q''":(()=>{let e={"<":">","[":"]","(":")","{":"}"},t=Object.entries(e).map(([e,t])=>"{left}(?:(?!{right}').)*?{right}".replace(/{left}/g,t4(e)).replace(/{right}/g,t4(t))),n=t4(Object.keys(e).join("")),r=String.raw`(?[^\s${n}])(?:(?!\k').)*?\k`,o=`[Qq]'(?:${r}|${t.join("|")})'`;return o})()},na=e=>"string"==typeof e?ni[e]:"regex"in e?e.regex:t7(e)+ni[e.quote],ns=e=>t3(e.map(e=>"regex"in e?e.regex:na(e)).join("|")),nl=e=>e.map(na).join("|"),nE=e=>t3(nl(e)),nc=(e={})=>t3(nu(e)),nu=({first:e,rest:t,dashes:n,allowFirstCharNumber:r}={})=>{let o="\\p{Alphabetic}\\p{Mark}_",i="\\p{Decimal_Number}",a=t4(e??""),s=t4(t??""),l=r?`[${o}${i}${a}][${o}${i}${s}]*`:`[${o}${a}][${o}${i}${s}]*`;return n?t5(l):l};function nT(e,t){let n=e.slice(0,t).split(/\n/);return{line:n.length,col:n[n.length-1].length+1}}class nd{input="";index=0;constructor(e){this.rules=e}tokenize(e){let t;this.input=e,this.index=0;let n=[];for(;this.index0;)if(t=this.matchSection(nR,e))n+=t,r++;else if(t=this.matchSection(nA,e))n+=t,r--;else{if(!(t=this.matchSection(nf,e)))return null;n+=t}return[n]}matchSection(e,t){e.lastIndex=this.lastIndex;let n=e.exec(t);return n&&(this.lastIndex+=n[0].length),n?n[0]:null}}class nO{constructor(e){this.cfg=e,this.rulesBeforeParams=this.buildRulesBeforeParams(e),this.rulesAfterParams=this.buildRulesAfterParams(e)}tokenize(e,t){let n=[...this.rulesBeforeParams,...this.buildParamRules(this.cfg,t),...this.rulesAfterParams],r=new nd(n).tokenize(e);return this.cfg.postProcess?this.cfg.postProcess(r):r}buildRulesBeforeParams(e){return this.validRules([{type:r.BLOCK_COMMENT,regex:e.nestedBlockComments?new nS:/(\/\*[^]*?\*\/)/uy},{type:r.LINE_COMMENT,regex:t9(e.lineCommentTypes??["--"])},{type:r.QUOTED_IDENTIFIER,regex:nE(e.identTypes)},{type:r.NUMBER,regex:/(?:0x[0-9a-fA-F]+|0b[01]+|(?:-\s*)?[0-9]+(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+(?:\.[0-9]+)?)?)(?!\w)/uy},{type:r.RESERVED_PHRASE,regex:nr(e.reservedPhrases??[],e.identChars),text:np},{type:r.CASE,regex:/CASE\b/iuy,text:np},{type:r.END,regex:/END\b/iuy,text:np},{type:r.BETWEEN,regex:/BETWEEN\b/iuy,text:np},{type:r.LIMIT,regex:e.reservedClauses.includes("LIMIT")?/LIMIT\b/iuy:void 0,text:np},{type:r.RESERVED_CLAUSE,regex:nr(e.reservedClauses,e.identChars),text:np},{type:r.RESERVED_SELECT,regex:nr(e.reservedSelect,e.identChars),text:np},{type:r.RESERVED_SET_OPERATION,regex:nr(e.reservedSetOperations,e.identChars),text:np},{type:r.WHEN,regex:/WHEN\b/iuy,text:np},{type:r.ELSE,regex:/ELSE\b/iuy,text:np},{type:r.THEN,regex:/THEN\b/iuy,text:np},{type:r.RESERVED_JOIN,regex:nr(e.reservedJoins,e.identChars),text:np},{type:r.AND,regex:/AND\b/iuy,text:np},{type:r.OR,regex:/OR\b/iuy,text:np},{type:r.XOR,regex:e.supportsXor?/XOR\b/iuy:void 0,text:np},{type:r.RESERVED_FUNCTION_NAME,regex:nr(e.reservedFunctionNames,e.identChars),text:np},{type:r.RESERVED_KEYWORD,regex:nr(e.reservedKeywords,e.identChars),text:np}])}buildRulesAfterParams(e){return this.validRules([{type:r.VARIABLE,regex:e.variableTypes?ns(e.variableTypes):void 0},{type:r.STRING,regex:nE(e.stringTypes)},{type:r.IDENTIFIER,regex:nc(e.identChars)},{type:r.DELIMITER,regex:/[;]/uy},{type:r.COMMA,regex:/[,]/y},{type:r.OPEN_PAREN,regex:ne("open",e.extraParens)},{type:r.CLOSE_PAREN,regex:ne("close",e.extraParens)},{type:r.OPERATOR,regex:nt(["+","-","/",">","<","=","<>","<=",">=","!=",...e.operators??[]])},{type:r.ASTERISK,regex:/[*]/uy},{type:r.DOT,regex:/[.]/uy}])}buildParamRules(e,t){var n,o,i,a,s;let l={named:(null==t?void 0:t.named)||(null===(n=e.paramTypes)||void 0===n?void 0:n.named)||[],quoted:(null==t?void 0:t.quoted)||(null===(o=e.paramTypes)||void 0===o?void 0:o.quoted)||[],numbered:(null==t?void 0:t.numbered)||(null===(i=e.paramTypes)||void 0===i?void 0:i.numbered)||[],positional:"boolean"==typeof(null==t?void 0:t.positional)?t.positional:null===(a=e.paramTypes)||void 0===a?void 0:a.positional,custom:(null==t?void 0:t.custom)||(null===(s=e.paramTypes)||void 0===s?void 0:s.custom)||[]};return this.validRules([{type:r.NAMED_PARAMETER,regex:no(l.named,nu(e.paramChars||e.identChars)),key:e=>e.slice(1)},{type:r.QUOTED_PARAMETER,regex:no(l.quoted,nl(e.identTypes)),key:e=>(({tokenKey:e,quoteChar:t})=>e.replace(RegExp(t4("\\"+t),"gu"),t))({tokenKey:e.slice(2,-1),quoteChar:e.slice(-1)})},{type:r.NUMBERED_PARAMETER,regex:no(l.numbered,"[0-9]+"),key:e=>e.slice(1)},{type:r.POSITIONAL_PARAMETER,regex:l.positional?/[?]/y:void 0},...l.custom.map(e=>({type:r.CUSTOM_PARAMETER,regex:t3(e.regex),key:e.key??(e=>e)}))])}validRules(e){return e.filter(e=>!!e.regex)}}let np=e=>L(e.toUpperCase()),nN=new Map,nI=e=>{let t=nN.get(e);return t||(t=nh(e),nN.set(e,t)),t},nh=e=>({tokenizer:new nO(e.tokenizerOptions),formatOptions:n_(e.formatOptions)}),n_=e=>({alwaysDenseOperators:e.alwaysDenseOperators||[],onelineClauses:Object.fromEntries(e.onelineClauses.map(e=>[e,!0]))});function nm(e){return"tabularLeft"===e.indentStyle||"tabularRight"===e.indentStyle?" ".repeat(10):e.useTabs?" ":" ".repeat(e.tabWidth)}function nC(e){return"tabularLeft"===e.indentStyle||"tabularRight"===e.indentStyle}class ng{constructor(e){this.params=e,this.index=0}get({key:e,text:t}){return this.params?e?this.params[e]:this.params[this.index++]:t}getPositionalParameterIndex(){return this.index}setPositionalParameterIndex(e){this.index=e}}var nL=n(38334);let nv=(e,t,n)=>{if(R(e.type)){let o=nb(n,t);if(o&&"."===o.text)return{...e,type:r.IDENTIFIER,text:e.raw}}return e},ny=(e,t,n)=>{if(e.type===r.RESERVED_FUNCTION_NAME){let o=nD(n,t);if(!o||!nU(o))return{...e,type:r.RESERVED_KEYWORD}}return e},nP=(e,t,n)=>{if(e.type===r.IDENTIFIER){let o=nD(n,t);if(o&&nx(o))return{...e,type:r.ARRAY_IDENTIFIER}}return e},nM=(e,t,n)=>{if(e.type===r.RESERVED_KEYWORD){let o=nD(n,t);if(o&&nx(o))return{...e,type:r.ARRAY_KEYWORD}}return e},nb=(e,t)=>nD(e,t,-1),nD=(e,t,n=1)=>{let r=1;for(;e[t+r*n]&&nw(e[t+r*n]);)r++;return e[t+r*n]},nU=e=>e.type===r.OPEN_PAREN&&"("===e.text,nx=e=>e.type===r.OPEN_PAREN&&"["===e.text,nw=e=>e.type===r.BLOCK_COMMENT||e.type===r.LINE_COMMENT;class nG{index=0;tokens=[];input="";constructor(e){this.tokenize=e}reset(e,t){this.input=e,this.index=0,this.tokens=this.tokenize(e)}next(){return this.tokens[this.index++]}save(){}formatError(e){let{line:t,col:n}=nT(this.input,e.start);return`Parse error at token: ${e.text} at line ${t} column ${n}`}has(e){return e in r}}function nF(e){return e[0]}(s=o||(o={})).statement="statement",s.clause="clause",s.set_operation="set_operation",s.function_call="function_call",s.array_subscript="array_subscript",s.property_access="property_access",s.parenthesis="parenthesis",s.between_predicate="between_predicate",s.case_expression="case_expression",s.case_when="case_when",s.case_else="case_else",s.limit_clause="limit_clause",s.all_columns_asterisk="all_columns_asterisk",s.literal="literal",s.identifier="identifier",s.keyword="keyword",s.parameter="parameter",s.operator="operator",s.comma="comma",s.line_comment="line_comment",s.block_comment="block_comment";let nH=new nG(e=>[]),nB=e=>({type:o.keyword,tokenType:e.type,text:e.text,raw:e.raw}),nY=(e,{leading:t,trailing:n})=>(null!=t&&t.length&&(e={...e,leadingComments:t}),null!=n&&n.length&&(e={...e,trailingComments:n}),e),nk=(e,{leading:t,trailing:n})=>{if(null!=t&&t.length){let[n,...r]=e;e=[nY(n,{leading:t}),...r]}if(null!=n&&n.length){let t=e.slice(0,-1),r=e[e.length-1];e=[...t,nY(r,{trailing:n})]}return e},nV={Lexer:nH,ParserRules:[{name:"main$ebnf$1",symbols:[]},{name:"main$ebnf$1",symbols:["main$ebnf$1","statement"],postprocess:e=>e[0].concat([e[1]])},{name:"main",symbols:["main$ebnf$1"],postprocess:([e])=>{let t=e[e.length-1];return t&&!t.hasSemicolon?t.children.length>0?e:e.slice(0,-1):e}},{name:"statement$subexpression$1",symbols:[nH.has("DELIMITER")?{type:"DELIMITER"}:DELIMITER]},{name:"statement$subexpression$1",symbols:[nH.has("EOF")?{type:"EOF"}:EOF]},{name:"statement",symbols:["expressions_or_clauses","statement$subexpression$1"],postprocess:([e,[t]])=>({type:o.statement,children:e,hasSemicolon:t.type===r.DELIMITER})},{name:"expressions_or_clauses$ebnf$1",symbols:[]},{name:"expressions_or_clauses$ebnf$1",symbols:["expressions_or_clauses$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"expressions_or_clauses$ebnf$2",symbols:[]},{name:"expressions_or_clauses$ebnf$2",symbols:["expressions_or_clauses$ebnf$2","clause"],postprocess:e=>e[0].concat([e[1]])},{name:"expressions_or_clauses",symbols:["expressions_or_clauses$ebnf$1","expressions_or_clauses$ebnf$2"],postprocess:([e,t])=>[...e,...t]},{name:"clause$subexpression$1",symbols:["limit_clause"]},{name:"clause$subexpression$1",symbols:["select_clause"]},{name:"clause$subexpression$1",symbols:["other_clause"]},{name:"clause$subexpression$1",symbols:["set_operation"]},{name:"clause",symbols:["clause$subexpression$1"],postprocess:([[e]])=>e},{name:"limit_clause$ebnf$1$subexpression$1$ebnf$1",symbols:["free_form_sql"]},{name:"limit_clause$ebnf$1$subexpression$1$ebnf$1",symbols:["limit_clause$ebnf$1$subexpression$1$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"limit_clause$ebnf$1$subexpression$1",symbols:[nH.has("COMMA")?{type:"COMMA"}:COMMA,"limit_clause$ebnf$1$subexpression$1$ebnf$1"]},{name:"limit_clause$ebnf$1",symbols:["limit_clause$ebnf$1$subexpression$1"],postprocess:nF},{name:"limit_clause$ebnf$1",symbols:[],postprocess:()=>null},{name:"limit_clause",symbols:[nH.has("LIMIT")?{type:"LIMIT"}:LIMIT,"_","expression_chain_","limit_clause$ebnf$1"],postprocess:([e,t,n,r])=>{if(!r)return{type:o.limit_clause,limitKw:nY(nB(e),{trailing:t}),count:n};{let[i,a]=r;return{type:o.limit_clause,limitKw:nY(nB(e),{trailing:t}),offset:n,count:a}}}},{name:"select_clause$subexpression$1$ebnf$1",symbols:[]},{name:"select_clause$subexpression$1$ebnf$1",symbols:["select_clause$subexpression$1$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"select_clause$subexpression$1",symbols:["all_columns_asterisk","select_clause$subexpression$1$ebnf$1"]},{name:"select_clause$subexpression$1$ebnf$2",symbols:[]},{name:"select_clause$subexpression$1$ebnf$2",symbols:["select_clause$subexpression$1$ebnf$2","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"select_clause$subexpression$1",symbols:["asteriskless_free_form_sql","select_clause$subexpression$1$ebnf$2"]},{name:"select_clause",symbols:[nH.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT,"select_clause$subexpression$1"],postprocess:([e,[t,n]])=>({type:o.clause,nameKw:nB(e),children:[t,...n]})},{name:"select_clause",symbols:[nH.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT],postprocess:([e])=>({type:o.clause,nameKw:nB(e),children:[]})},{name:"all_columns_asterisk",symbols:[nH.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK],postprocess:()=>({type:o.all_columns_asterisk})},{name:"other_clause$ebnf$1",symbols:[]},{name:"other_clause$ebnf$1",symbols:["other_clause$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"other_clause",symbols:[nH.has("RESERVED_CLAUSE")?{type:"RESERVED_CLAUSE"}:RESERVED_CLAUSE,"other_clause$ebnf$1"],postprocess:([e,t])=>({type:o.clause,nameKw:nB(e),children:t})},{name:"set_operation$ebnf$1",symbols:[]},{name:"set_operation$ebnf$1",symbols:["set_operation$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"set_operation",symbols:[nH.has("RESERVED_SET_OPERATION")?{type:"RESERVED_SET_OPERATION"}:RESERVED_SET_OPERATION,"set_operation$ebnf$1"],postprocess:([e,t])=>({type:o.set_operation,nameKw:nB(e),children:t})},{name:"expression_chain_$ebnf$1",symbols:["expression_with_comments_"]},{name:"expression_chain_$ebnf$1",symbols:["expression_chain_$ebnf$1","expression_with_comments_"],postprocess:e=>e[0].concat([e[1]])},{name:"expression_chain_",symbols:["expression_chain_$ebnf$1"],postprocess:nF},{name:"expression_chain$ebnf$1",symbols:[]},{name:"expression_chain$ebnf$1",symbols:["expression_chain$ebnf$1","_expression_with_comments"],postprocess:e=>e[0].concat([e[1]])},{name:"expression_chain",symbols:["expression","expression_chain$ebnf$1"],postprocess:([e,t])=>[e,...t]},{name:"andless_expression_chain$ebnf$1",symbols:[]},{name:"andless_expression_chain$ebnf$1",symbols:["andless_expression_chain$ebnf$1","_andless_expression_with_comments"],postprocess:e=>e[0].concat([e[1]])},{name:"andless_expression_chain",symbols:["andless_expression","andless_expression_chain$ebnf$1"],postprocess:([e,t])=>[e,...t]},{name:"expression_with_comments_",symbols:["expression","_"],postprocess:([e,t])=>nY(e,{trailing:t})},{name:"_expression_with_comments",symbols:["_","expression"],postprocess:([e,t])=>nY(t,{leading:e})},{name:"_andless_expression_with_comments",symbols:["_","andless_expression"],postprocess:([e,t])=>nY(t,{leading:e})},{name:"free_form_sql$subexpression$1",symbols:["asteriskless_free_form_sql"]},{name:"free_form_sql$subexpression$1",symbols:["asterisk"]},{name:"free_form_sql",symbols:["free_form_sql$subexpression$1"],postprocess:([[e]])=>e},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["asteriskless_andless_expression"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["logic_operator"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["between_predicate"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["comma"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["comment"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["other_keyword"]},{name:"asteriskless_free_form_sql",symbols:["asteriskless_free_form_sql$subexpression$1"],postprocess:([[e]])=>e},{name:"expression$subexpression$1",symbols:["andless_expression"]},{name:"expression$subexpression$1",symbols:["logic_operator"]},{name:"expression",symbols:["expression$subexpression$1"],postprocess:([[e]])=>e},{name:"andless_expression$subexpression$1",symbols:["asteriskless_andless_expression"]},{name:"andless_expression$subexpression$1",symbols:["asterisk"]},{name:"andless_expression",symbols:["andless_expression$subexpression$1"],postprocess:([[e]])=>e},{name:"asteriskless_andless_expression$subexpression$1",symbols:["array_subscript"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["case_expression"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["function_call"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["property_access"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["parenthesis"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["curly_braces"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["square_brackets"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["operator"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["identifier"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["parameter"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["literal"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["keyword"]},{name:"asteriskless_andless_expression",symbols:["asteriskless_andless_expression$subexpression$1"],postprocess:([[e]])=>e},{name:"array_subscript",symbols:[nH.has("ARRAY_IDENTIFIER")?{type:"ARRAY_IDENTIFIER"}:ARRAY_IDENTIFIER,"_","square_brackets"],postprocess:([e,t,n])=>({type:o.array_subscript,array:nY({type:o.identifier,text:e.text},{trailing:t}),parenthesis:n})},{name:"array_subscript",symbols:[nH.has("ARRAY_KEYWORD")?{type:"ARRAY_KEYWORD"}:ARRAY_KEYWORD,"_","square_brackets"],postprocess:([e,t,n])=>({type:o.array_subscript,array:nY(nB(e),{trailing:t}),parenthesis:n})},{name:"function_call",symbols:[nH.has("RESERVED_FUNCTION_NAME")?{type:"RESERVED_FUNCTION_NAME"}:RESERVED_FUNCTION_NAME,"_","parenthesis"],postprocess:([e,t,n])=>({type:o.function_call,nameKw:nY(nB(e),{trailing:t}),parenthesis:n})},{name:"parenthesis",symbols:[{literal:"("},"expressions_or_clauses",{literal:")"}],postprocess:([e,t,n])=>({type:o.parenthesis,children:t,openParen:"(",closeParen:")"})},{name:"curly_braces$ebnf$1",symbols:[]},{name:"curly_braces$ebnf$1",symbols:["curly_braces$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"curly_braces",symbols:[{literal:"{"},"curly_braces$ebnf$1",{literal:"}"}],postprocess:([e,t,n])=>({type:o.parenthesis,children:t,openParen:"{",closeParen:"}"})},{name:"square_brackets$ebnf$1",symbols:[]},{name:"square_brackets$ebnf$1",symbols:["square_brackets$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"square_brackets",symbols:[{literal:"["},"square_brackets$ebnf$1",{literal:"]"}],postprocess:([e,t,n])=>({type:o.parenthesis,children:t,openParen:"[",closeParen:"]"})},{name:"property_access$subexpression$1",symbols:["identifier"]},{name:"property_access$subexpression$1",symbols:["array_subscript"]},{name:"property_access$subexpression$1",symbols:["all_columns_asterisk"]},{name:"property_access",symbols:["expression","_",nH.has("DOT")?{type:"DOT"}:DOT,"_","property_access$subexpression$1"],postprocess:([e,t,n,r,[i]])=>({type:o.property_access,object:nY(e,{trailing:t}),property:nY(i,{leading:r})})},{name:"between_predicate",symbols:[nH.has("BETWEEN")?{type:"BETWEEN"}:BETWEEN,"_","andless_expression_chain","_",nH.has("AND")?{type:"AND"}:AND,"_","andless_expression"],postprocess:([e,t,n,r,i,a,s])=>({type:o.between_predicate,betweenKw:nB(e),expr1:nk(n,{leading:t,trailing:r}),andKw:nB(i),expr2:[nY(s,{leading:a})]})},{name:"case_expression$ebnf$1",symbols:["expression_chain_"],postprocess:nF},{name:"case_expression$ebnf$1",symbols:[],postprocess:()=>null},{name:"case_expression$ebnf$2",symbols:[]},{name:"case_expression$ebnf$2",symbols:["case_expression$ebnf$2","case_clause"],postprocess:e=>e[0].concat([e[1]])},{name:"case_expression",symbols:[nH.has("CASE")?{type:"CASE"}:CASE,"_","case_expression$ebnf$1","case_expression$ebnf$2",nH.has("END")?{type:"END"}:END],postprocess:([e,t,n,r,i])=>({type:o.case_expression,caseKw:nY(nB(e),{trailing:t}),endKw:nB(i),expr:n||[],clauses:r})},{name:"case_clause",symbols:[nH.has("WHEN")?{type:"WHEN"}:WHEN,"_","expression_chain_",nH.has("THEN")?{type:"THEN"}:THEN,"_","expression_chain_"],postprocess:([e,t,n,r,i,a])=>({type:o.case_when,whenKw:nY(nB(e),{trailing:t}),thenKw:nY(nB(r),{trailing:i}),condition:n,result:a})},{name:"case_clause",symbols:[nH.has("ELSE")?{type:"ELSE"}:ELSE,"_","expression_chain_"],postprocess:([e,t,n])=>({type:o.case_else,elseKw:nY(nB(e),{trailing:t}),result:n})},{name:"comma$subexpression$1",symbols:[nH.has("COMMA")?{type:"COMMA"}:COMMA]},{name:"comma",symbols:["comma$subexpression$1"],postprocess:([[e]])=>({type:o.comma})},{name:"asterisk$subexpression$1",symbols:[nH.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK]},{name:"asterisk",symbols:["asterisk$subexpression$1"],postprocess:([[e]])=>({type:o.operator,text:e.text})},{name:"operator$subexpression$1",symbols:[nH.has("OPERATOR")?{type:"OPERATOR"}:OPERATOR]},{name:"operator",symbols:["operator$subexpression$1"],postprocess:([[e]])=>({type:o.operator,text:e.text})},{name:"identifier$subexpression$1",symbols:[nH.has("IDENTIFIER")?{type:"IDENTIFIER"}:IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[nH.has("QUOTED_IDENTIFIER")?{type:"QUOTED_IDENTIFIER"}:QUOTED_IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[nH.has("VARIABLE")?{type:"VARIABLE"}:VARIABLE]},{name:"identifier",symbols:["identifier$subexpression$1"],postprocess:([[e]])=>({type:o.identifier,text:e.text})},{name:"parameter$subexpression$1",symbols:[nH.has("NAMED_PARAMETER")?{type:"NAMED_PARAMETER"}:NAMED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nH.has("QUOTED_PARAMETER")?{type:"QUOTED_PARAMETER"}:QUOTED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nH.has("NUMBERED_PARAMETER")?{type:"NUMBERED_PARAMETER"}:NUMBERED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nH.has("POSITIONAL_PARAMETER")?{type:"POSITIONAL_PARAMETER"}:POSITIONAL_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nH.has("CUSTOM_PARAMETER")?{type:"CUSTOM_PARAMETER"}:CUSTOM_PARAMETER]},{name:"parameter",symbols:["parameter$subexpression$1"],postprocess:([[e]])=>({type:o.parameter,key:e.key,text:e.text})},{name:"literal$subexpression$1",symbols:[nH.has("NUMBER")?{type:"NUMBER"}:NUMBER]},{name:"literal$subexpression$1",symbols:[nH.has("STRING")?{type:"STRING"}:STRING]},{name:"literal",symbols:["literal$subexpression$1"],postprocess:([[e]])=>({type:o.literal,text:e.text})},{name:"keyword$subexpression$1",symbols:[nH.has("RESERVED_KEYWORD")?{type:"RESERVED_KEYWORD"}:RESERVED_KEYWORD]},{name:"keyword$subexpression$1",symbols:[nH.has("RESERVED_PHRASE")?{type:"RESERVED_PHRASE"}:RESERVED_PHRASE]},{name:"keyword$subexpression$1",symbols:[nH.has("RESERVED_JOIN")?{type:"RESERVED_JOIN"}:RESERVED_JOIN]},{name:"keyword",symbols:["keyword$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"logic_operator$subexpression$1",symbols:[nH.has("AND")?{type:"AND"}:AND]},{name:"logic_operator$subexpression$1",symbols:[nH.has("OR")?{type:"OR"}:OR]},{name:"logic_operator$subexpression$1",symbols:[nH.has("XOR")?{type:"XOR"}:XOR]},{name:"logic_operator",symbols:["logic_operator$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"other_keyword$subexpression$1",symbols:[nH.has("WHEN")?{type:"WHEN"}:WHEN]},{name:"other_keyword$subexpression$1",symbols:[nH.has("THEN")?{type:"THEN"}:THEN]},{name:"other_keyword$subexpression$1",symbols:[nH.has("ELSE")?{type:"ELSE"}:ELSE]},{name:"other_keyword$subexpression$1",symbols:[nH.has("END")?{type:"END"}:END]},{name:"other_keyword",symbols:["other_keyword$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"_$ebnf$1",symbols:[]},{name:"_$ebnf$1",symbols:["_$ebnf$1","comment"],postprocess:e=>e[0].concat([e[1]])},{name:"_",symbols:["_$ebnf$1"],postprocess:([e])=>e},{name:"comment",symbols:[nH.has("LINE_COMMENT")?{type:"LINE_COMMENT"}:LINE_COMMENT],postprocess:([e])=>({type:o.line_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})},{name:"comment",symbols:[nH.has("BLOCK_COMMENT")?{type:"BLOCK_COMMENT"}:BLOCK_COMMENT],postprocess:([e])=>({type:o.block_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})}],ParserStart:"main"},{Parser:n$,Grammar:nW}=nL,nZ=/^\s+/u;(l=i||(i={}))[l.SPACE=0]="SPACE",l[l.NO_SPACE=1]="NO_SPACE",l[l.NO_NEWLINE=2]="NO_NEWLINE",l[l.NEWLINE=3]="NEWLINE",l[l.MANDATORY_NEWLINE=4]="MANDATORY_NEWLINE",l[l.INDENT=5]="INDENT",l[l.SINGLE_INDENT=6]="SINGLE_INDENT";class nj{items=[];constructor(e){this.indentation=e}add(...e){for(let t of e)switch(t){case i.SPACE:this.items.push(i.SPACE);break;case i.NO_SPACE:this.trimHorizontalWhitespace();break;case i.NO_NEWLINE:this.trimWhitespace();break;case i.NEWLINE:this.trimHorizontalWhitespace(),this.addNewline(i.NEWLINE);break;case i.MANDATORY_NEWLINE:this.trimHorizontalWhitespace(),this.addNewline(i.MANDATORY_NEWLINE);break;case i.INDENT:this.addIndentation();break;case i.SINGLE_INDENT:this.items.push(i.SINGLE_INDENT);break;default:this.items.push(t)}}trimHorizontalWhitespace(){for(;nX(m(this.items));)this.items.pop()}trimWhitespace(){for(;nK(m(this.items));)this.items.pop()}addNewline(e){if(this.items.length>0)switch(m(this.items)){case i.NEWLINE:this.items.pop(),this.items.push(e);break;case i.MANDATORY_NEWLINE:break;default:this.items.push(e)}}addIndentation(){for(let e=0;ethis.itemToString(e)).join("")}getLayoutItems(){return this.items}itemToString(e){switch(e){case i.SPACE:return" ";case i.NEWLINE:case i.MANDATORY_NEWLINE:return"\n";case i.SINGLE_INDENT:return this.indentation.getSingleIndent();default:return e}}}let nX=e=>e===i.SPACE||e===i.SINGLE_INDENT,nK=e=>e===i.SPACE||e===i.SINGLE_INDENT||e===i.NEWLINE,nz="top-level";class nJ{indentTypes=[];constructor(e){this.indent=e}getSingleIndent(){return this.indent}getLevel(){return this.indentTypes.length}increaseTopLevel(){this.indentTypes.push(nz)}increaseBlockLevel(){this.indentTypes.push("block-level")}decreaseTopLevel(){this.indentTypes.length>0&&m(this.indentTypes)===nz&&this.indentTypes.pop()}decreaseBlockLevel(){for(;this.indentTypes.length>0;){let e=this.indentTypes.pop();if(e!==nz)break}}}class nq extends nj{length=0;trailingSpace=!1;constructor(e){super(new nJ("")),this.expressionWidth=e}add(...e){if(e.forEach(e=>this.addToLength(e)),this.length>this.expressionWidth)throw new nQ;super.add(...e)}addToLength(e){if("string"==typeof e)this.length+=e.length,this.trailingSpace=!1;else if(e===i.MANDATORY_NEWLINE||e===i.NEWLINE)throw new nQ;else e===i.INDENT||e===i.SINGLE_INDENT||e===i.SPACE?this.trailingSpace||(this.length++,this.trailingSpace=!0):(e===i.NO_NEWLINE||e===i.NO_SPACE)&&this.trailingSpace&&(this.trailingSpace=!1,this.length--)}}class nQ extends Error{}class n0{inline=!1;nodes=[];index=-1;constructor({cfg:e,dialectCfg:t,params:n,layout:r,inline:o=!1}){this.cfg=e,this.dialectCfg=t,this.inline=o,this.params=n,this.layout=r}format(e){for(this.nodes=e,this.index=0;this.index{this.layout.add(this.showKw(e.nameKw))}),this.formatNode(e.parenthesis)}formatArraySubscript(e){this.withComments(e.array,()=>{this.layout.add(e.array.type===o.keyword?this.showKw(e.array):e.array.text)}),this.formatNode(e.parenthesis)}formatPropertyAccess(e){this.formatNode(e.object),this.layout.add(i.NO_SPACE,"."),this.formatNode(e.property)}formatParenthesis(e){let t=this.formatInlineExpression(e.children);t?(this.layout.add(e.openParen),this.layout.add(...t.getLayoutItems()),this.layout.add(i.NO_SPACE,e.closeParen,i.SPACE)):(this.layout.add(e.openParen,i.NEWLINE),nC(this.cfg)?(this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children)):(this.layout.indentation.increaseBlockLevel(),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseBlockLevel()),this.layout.add(i.NEWLINE,i.INDENT,e.closeParen,i.SPACE))}formatBetweenPredicate(e){this.layout.add(this.showKw(e.betweenKw),i.SPACE),this.layout=this.formatSubExpression(e.expr1),this.layout.add(i.NO_SPACE,i.SPACE,this.showNonTabularKw(e.andKw),i.SPACE),this.layout=this.formatSubExpression(e.expr2),this.layout.add(i.SPACE)}formatCaseExpression(e){this.formatNode(e.caseKw),this.layout.indentation.increaseBlockLevel(),this.layout=this.formatSubExpression(e.expr),this.layout=this.formatSubExpression(e.clauses),this.layout.indentation.decreaseBlockLevel(),this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.endKw)}formatCaseWhen(e){this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.whenKw),this.layout=this.formatSubExpression(e.condition),this.formatNode(e.thenKw),this.layout=this.formatSubExpression(e.result)}formatCaseElse(e){this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.elseKw),this.layout=this.formatSubExpression(e.result)}formatClause(e){this.isOnelineClause(e)?this.formatClauseInOnelineStyle(e):nC(this.cfg)?this.formatClauseInTabularStyle(e):this.formatClauseInIndentedStyle(e)}isOnelineClause(e){return this.dialectCfg.onelineClauses[e.nameKw.text]}formatClauseInIndentedStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.NEWLINE),this.layout.indentation.increaseTopLevel(),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseTopLevel()}formatClauseInOnelineStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.SPACE),this.layout=this.formatSubExpression(e.children)}formatClauseInTabularStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.SPACE),this.layout.indentation.increaseTopLevel(),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseTopLevel()}formatSetOperation(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.NEWLINE),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children)}formatLimitClause(e){this.withComments(e.limitKw,()=>{this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.limitKw))}),this.layout.indentation.increaseTopLevel(),nC(this.cfg)?this.layout.add(i.SPACE):this.layout.add(i.NEWLINE,i.INDENT),e.offset&&(this.layout=this.formatSubExpression(e.offset),this.layout.add(i.NO_SPACE,",",i.SPACE)),this.layout=this.formatSubExpression(e.count),this.layout.indentation.decreaseTopLevel()}formatAllColumnsAsterisk(e){this.layout.add("*",i.SPACE)}formatLiteral(e){this.layout.add(e.text,i.SPACE)}formatIdentifier(e){this.layout.add(e.text,i.SPACE)}formatParameter(e){this.layout.add(this.params.get(e),i.SPACE)}formatOperator({text:e}){this.cfg.denseOperators||this.dialectCfg.alwaysDenseOperators.includes(e)?this.layout.add(i.NO_SPACE,e):":"===e?this.layout.add(i.NO_SPACE,e,i.SPACE):this.layout.add(e,i.SPACE)}formatComma(e){this.inline?this.layout.add(i.NO_SPACE,",",i.SPACE):this.layout.add(i.NO_SPACE,",",i.NEWLINE,i.INDENT)}withComments(e,t){this.formatComments(e.leadingComments),t(),this.formatComments(e.trailingComments)}formatComments(e){e&&e.forEach(e=>{e.type===o.line_comment?this.formatLineComment(e):this.formatBlockComment(e)})}formatLineComment(e){y(e.precedingWhitespace||"")?this.layout.add(i.NEWLINE,i.INDENT,e.text,i.MANDATORY_NEWLINE,i.INDENT):this.layout.getLayoutItems().length>0?this.layout.add(i.NO_NEWLINE,i.SPACE,e.text,i.MANDATORY_NEWLINE,i.INDENT):this.layout.add(e.text,i.MANDATORY_NEWLINE,i.INDENT)}formatBlockComment(e){this.isMultilineBlockComment(e)?(this.splitBlockComment(e.text).forEach(e=>{this.layout.add(i.NEWLINE,i.INDENT,e)}),this.layout.add(i.NEWLINE,i.INDENT)):this.layout.add(e.text,i.SPACE)}isMultilineBlockComment(e){return y(e.text)||y(e.precedingWhitespace||"")}isDocComment(e){let t=e.split(/\n/);return/^\/\*\*?$/.test(t[0])&&t.slice(1,t.length-1).every(e=>/^\s*\*/.test(e))&&/^\s*\*\/$/.test(m(t))}splitBlockComment(e){return this.isDocComment(e)?e.split(/\n/).map(e=>/^\s*\*/.test(e)?" "+e.replace(/^\s*/,""):e):e.split(/\n/).map(e=>e.replace(/^\s*/,""))}formatSubExpression(e){return new n0({cfg:this.cfg,dialectCfg:this.dialectCfg,params:this.params,layout:this.layout,inline:this.inline}).format(e)}formatInlineExpression(e){let t=this.params.getPositionalParameterIndex();try{return new n0({cfg:this.cfg,dialectCfg:this.dialectCfg,params:this.params,layout:new nq(this.cfg.expressionWidth),inline:!0}).format(e)}catch(e){if(e instanceof nQ){this.params.setPositionalParameterIndex(t);return}throw e}}formatKeywordNode(e){switch(e.tokenType){case r.RESERVED_JOIN:return this.formatJoin(e);case r.AND:case r.OR:case r.XOR:return this.formatLogicalOperator(e);default:return this.formatKeyword(e)}}formatJoin(e){nC(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE)}formatKeyword(e){this.layout.add(this.showKw(e),i.SPACE)}formatLogicalOperator(e){"before"===this.cfg.logicalOperatorNewline?nC(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE):this.layout.add(this.showKw(e),i.NEWLINE,i.INDENT)}showKw(e){var t;return f(t=e.tokenType)||t===r.RESERVED_CLAUSE||t===r.RESERVED_SELECT||t===r.RESERVED_SET_OPERATION||t===r.RESERVED_JOIN||t===r.LIMIT?function(e,t){if("standard"===t)return e;let n=[];return e.length>=10&&e.includes(" ")&&([e,...n]=e.split(" ")),(e="tabularLeft"===t?e.padEnd(9," "):e.padStart(9," "))+["",...n].join(" ")}(this.showNonTabularKw(e),this.cfg.indentStyle):this.showNonTabularKw(e)}showNonTabularKw(e){switch(this.cfg.keywordCase){case"preserve":return L(e.raw);case"upper":return e.text;case"lower":return e.text.toLowerCase()}}}class n1{constructor(e,t){this.dialect=e,this.cfg=t,this.params=new ng(this.cfg.params)}format(e){let t=this.parse(e),n=this.formatAst(t),r=this.postFormat(n);return r.trimEnd()}parse(e){return(function(e){let t={},n=new nG(n=>[...e.tokenize(n,t).map(nv).map(ny).map(nP).map(nM),c(n.length)]),r=new n$(nW.fromCompiled(nV),{lexer:n});return{parse:(e,n)=>{t=n;let{results:o}=r.feed(e);if(1===o.length)return o[0];if(0===o.length)throw Error("Parse error: Invalid SQL");throw Error(`Parse error: Ambiguous grammar -${JSON.stringify(o,void 0,2)}`)}}})(this.dialect.tokenizer).parse(e,this.cfg.paramTypes||{})}formatAst(e){return e.map(e=>this.formatStatement(e)).join("\n".repeat(this.cfg.linesBetweenQueries+1))}formatStatement(e){let t=new n0({cfg:this.cfg,dialectCfg:this.dialect.formatOptions,params:this.params,layout:new nj(new nJ(nm(this.cfg)))}).format(e.children);return e.hasSemicolon&&(this.cfg.newlineBeforeSemicolon?t.add(i.NEWLINE,";"):t.add(i.NO_NEWLINE,";")),t.toString()}postFormat(e){if(this.cfg.tabulateAlias&&(e=function(e){let t=e.split("\n"),n=[];for(let e=0;e({line:e,matches:e.match(/(^.*?\S) (AS )?(\S+,?$)/i)})).map(({line:e,matches:t})=>t?{precedingText:t[1],as:t[2],alias:t[3]}:{precedingText:e}),i=g(o.map(({precedingText:e})=>e.replace(/\s*,\s*$/,"")));n=[...n,...r=o.map(({precedingText:e,as:t,alias:n})=>e+(n?" ".repeat(i-e.length+1)+(t??"")+n:""))]}n.push(t[e])}return n.join("\n")}(e)),"before"===this.cfg.commaPosition||"tabular"===this.cfg.commaPosition){var t,n,r;t=e,n=this.cfg.commaPosition,r=nm(this.cfg),e=(function(e){let t=[];for(let n=0;n{if(1===e.length)return e;if("tabular"===n)return function(e){let t=g(e.map(e=>e.replace(/\s*--.*/,"")))-1;return e.map((n,r)=>r===e.length-1?n:function(e,t){let[,n,r]=e.match(/^(.*?),(\s*--.*)?$/)||[],o=" ".repeat(t-n.length);return`${n}${o},${r??""}`}(n,t))}(e);if("before"===n)return e.map(e=>e.replace(/,(\s*(--.*)?$)/,"$1")).map((e,t)=>{if(0===t)return e;let[n]=e.match(nZ)||[""];return n.replace(RegExp(r+"$"),"")+r.replace(/ {2}$/,", ")+e.trimStart()});throw Error(`Unexpected commaPosition: ${n}`)}).join("\n")}return e}}class n2 extends Error{}let n4={bigquery:"bigquery",db2:"db2",hive:"hive",mariadb:"mariadb",mysql:"mysql",n1ql:"n1ql",plsql:"plsql",postgresql:"postgresql",redshift:"redshift",spark:"spark",sqlite:"sqlite",sql:"sql",trino:"trino",transactsql:"transactsql",tsql:"transactsql",singlestoredb:"singlestoredb",snowflake:"snowflake"},n6=Object.keys(n4),n3={tabWidth:2,useTabs:!1,keywordCase:"preserve",indentStyle:"standard",logicalOperatorNewline:"before",tabulateAlias:!1,commaPosition:"after",expressionWidth:50,linesBetweenQueries:1,denseOperators:!1,newlineBeforeSemicolon:!1},n8=(e,t={})=>{if("string"==typeof t.language&&!n6.includes(t.language))throw new n2(`Unsupported SQL dialect: ${t.language}`);let n=n4[t.language||"sql"];return n5(e,{...t,dialect:E[n]})},n5=(e,{dialect:t,...n})=>{if("string"!=typeof e)throw Error("Invalid query argument. Expected string, instead got "+typeof e);let r=function(e){if("multilineLists"in e)throw new n2("multilineLists config is no more supported.");if("newlineBeforeOpenParen"in e)throw new n2("newlineBeforeOpenParen config is no more supported.");if("newlineBeforeCloseParen"in e)throw new n2("newlineBeforeCloseParen config is no more supported.");if("aliasAs"in e)throw new n2("aliasAs config is no more supported.");if(e.expressionWidth<=0)throw new n2(`expressionWidth config must be positive number. Received ${e.expressionWidth} instead.`);if("before"===e.commaPosition&&e.useTabs)throw new n2("commaPosition: before does not work when tabs are used for indentation.");return e.params&&!function(e){let t=e instanceof Array?e:Object.values(e);return t.every(e=>"string"==typeof e)}(e.params)&&console.warn('WARNING: All "params" option values should be strings.'),e}({...n3,...n});return new n1(nI(t),r).format(e)};var n7=n(88506);function n9(){var e;let t=null!==(e=localStorage.getItem(n7.rU))&&void 0!==e?e:"";try{let e=JSON.parse(t);return e}catch(e){return null}}function re(){try{var e;let t=JSON.parse(null!==(e=localStorage.getItem(n7.C9))&&void 0!==e?e:"").user_id;return t}catch(e){return}}var rt=n(27250);let rn="__db_gpt_im_key",rr="__db_gpt_static_flow_nodes_key";function ro(e,t){if(!e)return"";try{return n8(e,{language:t})}catch(t){return e}}},3508:function(){},65155:function(){},64191:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l=[],E=!1,c=-1;function u(){E&&r&&(E=!1,r.length?l=r.concat(l):c=-1,l.length&&T())}function T(){if(!E){var e=s(u);E=!0;for(var t=l.length;t;){for(r=l,l=[];++c1)for(var n=1;n1?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(e){return"[Circular]"}break;default:return e}}):e}function w(e,t){return!!(null==e||"array"===t&&Array.isArray(e)&&!e.length)||("string"===t||"url"===t||"hex"===t||"email"===t||"date"===t||"pattern"===t)&&"string"==typeof e&&!e}function G(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length){n(a);return}var s=r;r+=1,s()\[\]\\.,;:\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,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},W={integer:function(e){return W.number(e)&&parseInt(e,10)===e},float:function(e){return W.number(e)&&!W.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return new RegExp(e),!0}catch(e){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,C.Z)(e)&&!W.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match($.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(V())},hex:function(e){return"string"==typeof e&&!!e.match($.hex)}},Z={required:k,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(x(o.messages.whitespace,e.fullField))},type:function(e,t,n,r,o){if(e.required&&void 0===t){k(e,t,n,r,o);return}var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?W[i](t)||r.push(x(o.messages.types[i],e.fullField,e.type)):i&&(0,C.Z)(t)!==e.type&&r.push(x(o.messages.types[i],e.fullField,e.type))},range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,s="number"==typeof e.max,l=t,E=null,c="number"==typeof t,u="string"==typeof t,T=Array.isArray(t);if(c?E="number":u?E="string":T&&(E="array"),!E)return!1;T&&(l=t.length),u&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?l!==e.len&&r.push(x(o.messages[E].len,e.fullField,e.len)):a&&!s&&le.max?r.push(x(o.messages[E].max,e.fullField,e.max)):a&&s&&(le.max)&&r.push(x(o.messages[E].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[Y]=Array.isArray(e[Y])?e[Y]:[],-1===e[Y].indexOf(t)&&r.push(x(o.messages[Y],e.fullField,e[Y].join(", ")))},pattern:function(e,t,n,r,o){!e.pattern||(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(x(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"!=typeof e.pattern||new RegExp(e.pattern).test(t)||r.push(x(o.messages.pattern.mismatch,e.fullField,t,e.pattern)))}},j=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(w(t,i)&&!e.required)return n();Z.required(e,t,r,a,o,i),w(t,i)||Z.type(e,t,r,a,o)}n(a)},X={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(w(t,"string")&&!e.required)return n();Z.required(e,t,r,i,o,"string"),w(t,"string")||(Z.type(e,t,r,i,o),Z.range(e,t,r,i,o),Z.pattern(e,t,r,i,o),!0===e.whitespace&&Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o),void 0!==t&&Z.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),w(t)&&!e.required)return n();Z.required(e,t,r,i,o),void 0!==t&&(Z.type(e,t,r,i,o),Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o),void 0!==t&&Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o),w(t)||Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o),void 0!==t&&(Z.type(e,t,r,i,o),Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o),void 0!==t&&(Z.type(e,t,r,i,o),Z.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();Z.required(e,t,r,i,o,"array"),null!=t&&(Z.type(e,t,r,i,o),Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o),void 0!==t&&Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o),void 0!==t&&Z.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(w(t,"string")&&!e.required)return n();Z.required(e,t,r,i,o),w(t,"string")||Z.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(w(t,"date")&&!e.required)return n();Z.required(e,t,r,a,o),!w(t,"date")&&(i=t instanceof Date?t:new Date(t),Z.type(e,i,r,a,o),i&&Z.range(e,i.getTime(),r,a,o))}n(a)},url:j,hex:j,email:j,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":(0,C.Z)(t);Z.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(w(t)&&!e.required)return n();Z.required(e,t,r,i,o)}n(i)}},K=function(){function e(t){(0,u.Z)(this,e),(0,A.Z)(this,"rules",null),(0,A.Z)(this,"_messages",L),this.define(t)}return(0,T.Z)(e,[{key:"define",value:function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!==(0,C.Z)(e)||Array.isArray(e))throw 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=B(g(),e)),this._messages}},{key:"validate",value:function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},i=t,a=r,s=o;if("function"==typeof a&&(s=a,a={}),!this.rules||0===Object.keys(this.rules).length)return s&&s(null,i),Promise.resolve(i);if(a.messages){var l=this.messages();l===L&&(l=g()),B(l,a.messages),a.messages=l}else a.messages=this.messages();var u={};(a.keys||Object.keys(this.rules)).forEach(function(e){var r=n.rules[e],o=i[e];r.forEach(function(r){var a=r;"function"==typeof a.transform&&(i===t&&(i=(0,E.Z)({},i)),null!=(o=i[e]=a.transform(o))&&(a.type=a.type||(Array.isArray(o)?"array":(0,C.Z)(o)))),(a="function"==typeof a?{validator:a}:(0,E.Z)({},a)).validator=n.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=n.getType(a),u[e]=u[e]||[],u[e].push({rule:a,value:o,source:i,field:e}))})});var T={};return function(e,t,n,r,o){if(t.first){var i=new Promise(function(t,i){var a;G((a=[],Object.keys(e).forEach(function(t){a.push.apply(a,(0,c.Z)(e[t]||[]))}),a),n,function(e){return r(e),e.length?i(new F(e,U(e))):t(o)})});return i.catch(function(e){return e}),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,E=0,u=[],T=new Promise(function(t,i){var T=function(e){if(u.push.apply(u,e),++E===l)return r(u),u.length?i(new F(u,U(u))):t(o)};s.length||(r(u),t(o)),s.forEach(function(t){var r=e[t];-1!==a.indexOf(t)?G(r,n,T):function(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,(0,c.Z)(e||[])),++o===i&&n(r)}e.forEach(function(e){t(e,a)})}(r,n,T)})});return T.catch(function(e){return e}),T}(u,a,function(t,n){var r,o,s,l=t.rule,u=("object"===l.type||"array"===l.type)&&("object"===(0,C.Z)(l.fields)||"object"===(0,C.Z)(l.defaultField));function d(e,t){return(0,E.Z)((0,E.Z)({},t),{},{fullField:"".concat(l.fullField,".").concat(e),fullFields:l.fullFields?[].concat((0,c.Z)(l.fullFields),[e]):[e]})}function R(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Array.isArray(r)?r:[r];!a.suppressWarning&&o.length&&e.warning("async-validator:",o),o.length&&void 0!==l.message&&(o=[].concat(l.message));var s=o.map(H(l,i));if(a.first&&s.length)return T[l.field]=1,n(s);if(u){if(l.required&&!t.value)return void 0!==l.message?s=[].concat(l.message).map(H(l,i)):a.error&&(s=[a.error(l,x(a.messages.required,l.field))]),n(s);var R={};l.defaultField&&Object.keys(t.value).map(function(e){R[e]=l.defaultField});var f={};Object.keys(R=(0,E.Z)((0,E.Z)({},R),t.rule.fields)).forEach(function(e){var t=R[e],n=Array.isArray(t)?t:[t];f[e]=n.map(d.bind(null,e))});var A=new e(f);A.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),A.validate(t.value,t.rule.options||a,function(e){var t=[];s&&s.length&&t.push.apply(t,(0,c.Z)(s)),e&&e.length&&t.push.apply(t,(0,c.Z)(e)),n(t.length?t:null)})}else n(s)}if(u=u&&(l.required||!l.required&&t.value),l.field=t.field,l.asyncValidator)r=l.asyncValidator(l,t.value,R,t.source,a);else if(l.validator){try{r=l.validator(l,t.value,R,t.source,a)}catch(e){null===(o=(s=console).error)||void 0===o||o.call(s,e),a.suppressValidatorError||setTimeout(function(){throw e},0),R(e.message)}!0===r?R():!1===r?R("function"==typeof l.message?l.message(l.fullField||l.field):l.message||"".concat(l.fullField||l.field," fails")):r instanceof Array?R(r):r instanceof Error&&R(r.message)}r&&r.then&&r.then(function(){return R()},function(e){return R(e)})},function(e){!function(e){for(var t=[],n={},r=0;r2&&void 0!==arguments[2]&&arguments[2];return e&&e.some(function(e){return el(t,e,n)})}function el(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&!!t&&(!!n||e.length===t.length)&&t.every(function(t,n){return e[n]===t})}function eE(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,C.Z)(t.target)&&e in t.target?t.target[e]:t}function ec(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,c.Z)(e.slice(0,n)),[o],(0,c.Z)(e.slice(n,t)),(0,c.Z)(e.slice(t+1,r))):i<0?[].concat((0,c.Z)(e.slice(0,t)),(0,c.Z)(e.slice(t+1,n+1)),[o],(0,c.Z)(e.slice(n+1,r))):e}var eu=["name"],eT=[];function ed(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var eR=function(e){(0,R.Z)(n,e);var t=(0,f.Z)(n);function n(e){var r;return(0,u.Z)(this,n),r=t.call(this,e),(0,A.Z)((0,d.Z)(r),"state",{resetCount:0}),(0,A.Z)((0,d.Z)(r),"cancelRegisterFunc",null),(0,A.Z)((0,d.Z)(r),"mounted",!1),(0,A.Z)((0,d.Z)(r),"touched",!1),(0,A.Z)((0,d.Z)(r),"dirty",!1),(0,A.Z)((0,d.Z)(r),"validatePromise",void 0),(0,A.Z)((0,d.Z)(r),"prevValidating",void 0),(0,A.Z)((0,d.Z)(r),"errors",eT),(0,A.Z)((0,d.Z)(r),"warnings",eT),(0,A.Z)((0,d.Z)(r),"cancelRegister",function(){var e=r.props,t=e.preserve,n=e.isListField,o=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(n,t,ei(o)),r.cancelRegisterFunc=null}),(0,A.Z)((0,d.Z)(r),"getNamePath",function(){var e=r.props,t=e.name,n=e.fieldContext.prefixName,o=void 0===n?[]:n;return void 0!==t?[].concat((0,c.Z)(o),(0,c.Z)(t)):[]}),(0,A.Z)((0,d.Z)(r),"getRules",function(){var e=r.props,t=e.rules,n=e.fieldContext;return(void 0===t?[]:t).map(function(e){return"function"==typeof e?e(n):e})}),(0,A.Z)((0,d.Z)(r),"refresh",function(){r.mounted&&r.setState(function(e){return{resetCount:e.resetCount+1}})}),(0,A.Z)((0,d.Z)(r),"metaCache",null),(0,A.Z)((0,d.Z)(r),"triggerMetaEvent",function(e){var t=r.props.onMetaChange;if(t){var n=(0,E.Z)((0,E.Z)({},r.getMeta()),{},{destroy:e});(0,O.Z)(r.metaCache,n)||t(n),r.metaCache=n}else r.metaCache=null}),(0,A.Z)((0,d.Z)(r),"onStoreChange",function(e,t,n){var o=r.props,i=o.shouldUpdate,a=o.dependencies,s=void 0===a?[]:a,l=o.onReset,E=n.store,c=r.getNamePath(),u=r.getValue(e),T=r.getValue(E),d=t&&es(t,c);switch("valueUpdate"!==n.type||"external"!==n.source||(0,O.Z)(u,T)||(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=eT,r.warnings=eT,r.triggerMetaEvent()),n.type){case"reset":if(!t||d){r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=eT,r.warnings=eT,r.triggerMetaEvent(),null==l||l(),r.refresh();return}break;case"remove":if(i&&ed(i,e,E,u,T,n)){r.reRender();return}break;case"setField":var R=n.data;if(d){"touched"in R&&(r.touched=R.touched),"validating"in R&&!("originRCField"in R)&&(r.validatePromise=R.validating?Promise.resolve([]):null),"errors"in R&&(r.errors=R.errors||eT),"warnings"in R&&(r.warnings=R.warnings||eT),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}if("value"in R&&es(t,c,!0)||i&&!c.length&&ed(i,e,E,u,T,n)){r.reRender();return}break;case"dependenciesUpdate":if(s.map(ei).some(function(e){return es(n.relatedFields,e)})){r.reRender();return}break;default:if(d||(!s.length||c.length||i)&&ed(i,e,E,u,T,n)){r.reRender();return}}!0===i&&r.reRender()}),(0,A.Z)((0,d.Z)(r),"validateRules",function(e){var t=r.getNamePath(),n=r.getValue(),o=e||{},i=o.triggerName,a=o.validateOnly,u=Promise.resolve().then((0,l.Z)((0,s.Z)().mark(function o(){var a,T,d,R,f,A,S;return(0,s.Z)().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(r.mounted){o.next=2;break}return o.abrupt("return",[]);case 2:if(d=void 0!==(T=(a=r.props).validateFirst)&&T,R=a.messageVariables,f=a.validateDebounce,A=r.getRules(),i&&(A=A.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||m(t).includes(i)})),!(f&&i)){o.next=10;break}return o.next=8,new Promise(function(e){setTimeout(e,f)});case 8:if(!(r.validatePromise!==u)){o.next=10;break}return o.abrupt("return",[]);case 10:return(S=function(e,t,n,r,o,i){var a,c,u=e.join("."),T=n.map(function(e,t){var n=e.validator,r=(0,E.Z)((0,E.Z)({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=n(e,t,function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:eT;if(r.validatePromise===u){r.validatePromise=null;var t,n=[],o=[];null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,r=e.errors,i=void 0===r?eT:r;t?o.push.apply(o,(0,c.Z)(i)):n.push.apply(n,(0,c.Z)(i))}),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender()}}),o.abrupt("return",S);case 13:case"end":return o.stop()}},o)})));return void 0!==a&&a||(r.validatePromise=u,r.dirty=!0,r.errors=eT,r.warnings=eT,r.triggerMetaEvent(),r.reRender()),u}),(0,A.Z)((0,d.Z)(r),"isFieldValidating",function(){return!!r.validatePromise}),(0,A.Z)((0,d.Z)(r),"isFieldTouched",function(){return r.touched}),(0,A.Z)((0,d.Z)(r),"isFieldDirty",function(){return!!r.dirty||void 0!==r.props.initialValue||void 0!==(0,r.props.fieldContext.getInternalHooks(N).getInitialValue)(r.getNamePath())}),(0,A.Z)((0,d.Z)(r),"getErrors",function(){return r.errors}),(0,A.Z)((0,d.Z)(r),"getWarnings",function(){return r.warnings}),(0,A.Z)((0,d.Z)(r),"isListField",function(){return r.props.isListField}),(0,A.Z)((0,d.Z)(r),"isList",function(){return r.props.isList}),(0,A.Z)((0,d.Z)(r),"isPreserve",function(){return r.props.preserve}),(0,A.Z)((0,d.Z)(r),"getMeta",function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:null===r.validatePromise}}),(0,A.Z)((0,d.Z)(r),"getOnlyChild",function(e){if("function"==typeof e){var t=r.getMeta();return(0,E.Z)((0,E.Z)({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var n=(0,S.Z)(e);return 1===n.length&&o.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}}),(0,A.Z)((0,d.Z)(r),"getValue",function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return(0,eo.Z)(e||t(!0),n)}),(0,A.Z)((0,d.Z)(r),"getControlled",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,n=t.name,o=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,s=t.normalize,l=t.valuePropName,c=t.getValueProps,u=t.fieldContext,T=void 0!==i?i:u.validateTrigger,d=r.getNamePath(),R=u.getInternalHooks,f=u.getFieldsValue,S=R(N).dispatch,O=r.getValue(),p=c||function(e){return(0,A.Z)({},l,e)},I=e[o],h=void 0!==n?p(O):{},_=(0,E.Z)((0,E.Z)({},e),h);return _[o]=function(){r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var e,t=arguments.length,n=Array(t),o=0;o=0&&t<=n.length?(T.keys=[].concat((0,c.Z)(T.keys.slice(0,t)),[T.id],(0,c.Z)(T.keys.slice(t))),o([].concat((0,c.Z)(n.slice(0,t)),[e],(0,c.Z)(n.slice(t))))):(T.keys=[].concat((0,c.Z)(T.keys),[T.id]),o([].concat((0,c.Z)(n),[e]))),T.id+=1},remove:function(e){var t=a(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(T.keys=T.keys.filter(function(e,t){return!n.has(t)}),o(t.filter(function(e,t){return!n.has(t)})))},move:function(e,t){if(e!==t){var n=a();e<0||e>=n.length||t<0||t>=n.length||(T.keys=ec(T.keys,e,t),o(ec(n,e,t)))}}},t)})))},eS=n(65347),eO="__@field_split__";function ep(e){return e.map(function(e){return"".concat((0,C.Z)(e),":").concat(e)}).join(eO)}var eN=function(){function e(){(0,u.Z)(this,e),(0,A.Z)(this,"kvs",new Map)}return(0,T.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(ep(e),t)}},{key:"get",value:function(e){return this.kvs.get(ep(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(ep(e))}},{key:"map",value:function(e){return(0,c.Z)(this.kvs.entries()).map(function(t){var n=(0,eS.Z)(t,2),r=n[0],o=n[1];return e({key:r.split(eO).map(function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,eS.Z)(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}(),eI=["name"],eh=(0,T.Z)(function e(t){var n=this;(0,u.Z)(this,e),(0,A.Z)(this,"formHooked",!1),(0,A.Z)(this,"forceRootUpdate",void 0),(0,A.Z)(this,"subscribable",!0),(0,A.Z)(this,"store",{}),(0,A.Z)(this,"fieldEntities",[]),(0,A.Z)(this,"initialValues",{}),(0,A.Z)(this,"callbacks",{}),(0,A.Z)(this,"validateMessages",null),(0,A.Z)(this,"preserve",null),(0,A.Z)(this,"lastValidatePromise",null),(0,A.Z)(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,A.Z)(this,"getInternalHooks",function(e){return e===N?(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,p.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,A.Z)(this,"useSubscribe",function(e){n.subscribable=e}),(0,A.Z)(this,"prevWithoutPreserves",null),(0,A.Z)(this,"setInitialValues",function(e,t){if(n.initialValues=e||{},t){var r,o=(0,q.T)(e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map(function(t){var n=t.key;o=(0,q.Z)(o,n,(0,eo.Z)(e,n))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),(0,A.Z)(this,"destroyForm",function(e){if(e)n.updateStore({});else{var t=new eN;n.getFieldEntities(!0).forEach(function(e){n.isMergedPreserve(e.isPreserve())||t.set(e.getNamePath(),!0)}),n.prevWithoutPreserves=t}}),(0,A.Z)(this,"getInitialValue",function(e){var t=(0,eo.Z)(n.initialValues,e);return e.length?(0,q.T)(t):t}),(0,A.Z)(this,"setCallbacks",function(e){n.callbacks=e}),(0,A.Z)(this,"setValidateMessages",function(e){n.validateMessages=e}),(0,A.Z)(this,"setPreserve",function(e){n.preserve=e}),(0,A.Z)(this,"watchList",[]),(0,A.Z)(this,"registerWatch",function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter(function(t){return t!==e})}}),(0,A.Z)(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,A.Z)(this,"timeoutId",null),(0,A.Z)(this,"warningUnhooked",function(){}),(0,A.Z)(this,"updateStore",function(e){n.store=e}),(0,A.Z)(this,"getFieldEntities",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter(function(e){return e.getNamePath().length}):n.fieldEntities}),(0,A.Z)(this,"getFieldsMap",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new eN;return n.getFieldEntities(e).forEach(function(e){var n=e.getNamePath();t.set(n,e)}),t}),(0,A.Z)(this,"getFieldEntitiesForNamePathList",function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map(function(e){var n=ei(e);return t.get(n)||{INVALIDATE_NAME_PATH:ei(e)}})}),(0,A.Z)(this,"getFieldsValue",function(e,t){if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===(0,C.Z)(e)&&(i=e.strict,o=e.filter),!0===r&&!o)return n.store;var r,o,i,a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),s=[];return a.forEach(function(e){var t,n,a,l="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(a=e.isList)&&void 0!==a&&a.call(e))return}else if(!r&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;o?o("getMeta"in e?e.getMeta():null)&&s.push(l):s.push(l)}),ea(n.store,s.map(ei))}),(0,A.Z)(this,"getFieldValue",function(e){n.warningUnhooked();var t=ei(e);return(0,eo.Z)(n.store,t)}),(0,A.Z)(this,"getFieldsError",function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map(function(t,n){return!t||"INVALIDATE_NAME_PATH"in t?{name:ei(e[n]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})}),(0,A.Z)(this,"getFieldError",function(e){n.warningUnhooked();var t=ei(e);return n.getFieldsError([t])[0].errors}),(0,A.Z)(this,"getFieldWarning",function(e){n.warningUnhooked();var t=ei(e);return n.getFieldsError([t])[0].warnings}),(0,A.Z)(this,"isFieldsTouched",function(){n.warningUnhooked();for(var e,t=arguments.length,r=Array(t),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},r=new eN,o=n.getFieldEntities(!0);o.forEach(function(e){var t=e.props.initialValue,n=e.getNamePath();if(void 0!==t){var o=r.get(n)||new Set;o.add({entity:e,value:t}),r.set(n,o)}}),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var n,o=r.get(t);o&&(n=e).push.apply(n,(0,c.Z)((0,c.Z)(o).map(function(e){return e.entity})))})):e=o,function(e){e.forEach(function(e){if(void 0!==e.props.initialValue){var o=e.getNamePath();if(void 0!==n.getInitialValue(o))(0,p.ZP)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=r.get(o);if(i&&i.size>1)(0,p.ZP)(!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);e.isListField()||t.skipExist&&void 0!==a||n.updateStore((0,q.Z)(n.store,o,(0,c.Z)(i)[0].value))}}}})}(e)}),(0,A.Z)(this,"resetFields",function(e){n.warningUnhooked();var t=n.store;if(!e){n.updateStore((0,q.T)(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),n.notifyWatch();return}var r=e.map(ei);r.forEach(function(e){var t=n.getInitialValue(e);n.updateStore((0,q.Z)(n.store,e,t))}),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)}),(0,A.Z)(this,"setFields",function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach(function(e){var o=e.name,i=(0,a.Z)(e,eI),s=ei(o);r.push(s),"value"in i&&n.updateStore((0,q.Z)(n.store,s,i.value)),n.notifyObservers(t,[s],{type:"setField",data:e})}),n.notifyWatch(r)}),(0,A.Z)(this,"getFields",function(){return n.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,E.Z)((0,E.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o})}),(0,A.Z)(this,"initEntityValue",function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===(0,eo.Z)(n.store,r)&&n.updateStore((0,q.Z)(n.store,r,t))}}),(0,A.Z)(this,"isMergedPreserve",function(e){var t=void 0!==e?e:n.preserve;return null==t||t}),(0,A.Z)(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!el(e.getNamePath(),t)})){var s=n.store;n.updateStore((0,q.Z)(s,t,a,!0)),n.notifyObservers(s,[t],{type:"remove"}),n.triggerDependenciesUpdate(s,t)}}n.notifyWatch([t])}}),(0,A.Z)(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,A.Z)(this,"notifyObservers",function(e,t,r){if(n.subscribable){var o=(0,E.Z)((0,E.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(n){(0,n.onStoreChange)(e,t,o)})}else n.forceRootUpdate()}),(0,A.Z)(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,c.Z)(r))}),r}),(0,A.Z)(this,"updateValue",function(e,t){var r=ei(e),o=n.store;n.updateStore((0,q.Z)(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(ea(n.store,[r]),n.getFieldsValue()),n.triggerOnFieldsChange([r].concat((0,c.Z)(i)))}),(0,A.Z)(this,"setFieldsValue",function(e){n.warningUnhooked();var t=n.store;if(e){var r=(0,q.T)(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),(0,A.Z)(this,"setFieldValue",function(e,t){n.setFields([{name:e,value:t}])}),(0,A.Z)(this,"getDependencyChildrenFields",function(e){var t=new Set,r=[],o=new eN;return n.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var n=ei(t);o.update(n,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),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,A.Z)(this,"triggerOnFieldsChange",function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new eN;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){return es(e,t.name)});a.length&&r(a,o)}}),(0,A.Z)(this,"validateFields",function(e,t){n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(a=e,s=t):s=e;var r,o,i,a,s,l=!!a,u=l?a.map(ei):[],T=[],d=String(Date.now()),R=new Set,f=s||{},A=f.recursive,S=f.dirty;n.getFieldEntities(!0).forEach(function(e){if(l||u.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!S||e.isFieldDirty())){var t=e.getNamePath();if(R.add(t.join(d)),!l||es(u,t,A)){var r=e.validateRules((0,E.Z)({validateMessages:(0,E.Z)((0,E.Z)({},J),n.validateMessages)},s));T.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,c.Z)(n)):r.push.apply(r,(0,c.Z)(n))}),r.length)?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}}))}}});var O=(r=!1,o=T.length,i=[],T.length?new Promise(function(e,t){T.forEach(function(n,a){n.catch(function(e){return r=!0,e}).then(function(n){o-=1,i[a]=n,o>0||(r&&t(i),e(i))})})}):Promise.resolve([]));n.lastValidatePromise=O,O.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 p=O.then(function(){return n.lastValidatePromise===O?Promise.resolve(n.getFieldsValue(u)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:n.getFieldsValue(u),errorFields:t,outOfDate:n.lastValidatePromise!==O})});p.catch(function(e){return e});var N=u.filter(function(e){return R.has(e.join(d))});return n.triggerOnFieldsChange(N),p}),(0,A.Z)(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}}).catch(function(e){var t=n.callbacks.onFinishFailed;t&&t(e)})}),this.forceRootUpdate=t}),e_=function(e){var t=o.useRef(),n=o.useState({}),r=(0,eS.Z)(n,2)[1];if(!t.current){if(e)t.current=e;else{var i=new eh(function(){r({})});t.current=i.getForm()}}return[t.current]},em=o.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),eC=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,i=e.children,a=o.useContext(em),s=o.useRef({});return o.createElement(em.Provider,{value:(0,E.Z)((0,E.Z)({},a),{},{validateMessages:(0,E.Z)((0,E.Z)({},a.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:s.current}),a.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:s.current}),a.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(s.current=(0,E.Z)((0,E.Z)({},s.current),{},(0,A.Z)({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=(0,E.Z)({},s.current);delete t[e],s.current=t,a.unregisterForm(e)}})},i)},eg=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"];function eL(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var ev=function(){},ey=function(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,q.Z)(function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)});e.current=i},t]},ee=[U,x,w,"end"],et=[U,G];function en(e){return e===w||"end"===e}var er=function(e,t,n){var r=(0,L.Z)(D),o=(0,c.Z)(r,2),i=o[0],a=o[1],s=Q(),l=(0,c.Z)(s,2),E=l[0],u=l[1],T=t?et:ee;return J(function(){if(i!==D&&"end"!==i){var e=T.indexOf(i),t=T[e+1],r=n(i);!1===r?a(t,!0):t&&E(function(e){function n(){e.isCanceled()||a(t,!0)}!0===r?n():Promise.resolve(r).then(n)})}},[e,i]),A.useEffect(function(){return function(){u()}},[]),[function(){a(U,!0)},i]},eo=(a=Z,"object"===(0,u.Z)(Z)&&(a=Z.transitionSupport),(s=A.forwardRef(function(e,t){var n=e.visible,r=void 0===n||n,o=e.removeOnLeave,i=void 0===o||o,s=e.forceRender,u=e.children,T=e.motionName,S=e.leavedClassName,O=e.eventProps,N=A.useContext(p).motion,I=!!(e.motionName&&a&&!1!==N),h=(0,A.useRef)(),_=(0,A.useRef)(),m=function(e,t,n,r){var o,i,a,s=r.motionEnter,u=void 0===s||s,T=r.motionAppear,d=void 0===T||T,R=r.motionLeave,f=void 0===R||R,S=r.motionDeadline,O=r.motionLeaveImmediately,p=r.onAppearPrepare,N=r.onEnterPrepare,I=r.onLeavePrepare,h=r.onAppearStart,_=r.onEnterStart,m=r.onLeaveStart,C=r.onAppearActive,D=r.onEnterActive,F=r.onLeaveActive,H=r.onAppearEnd,B=r.onEnterEnd,Y=r.onLeaveEnd,k=r.onVisibleChanged,V=(0,L.Z)(),$=(0,c.Z)(V,2),W=$[0],Z=$[1],j=(o=A.useReducer(function(e){return e+1},0),i=(0,c.Z)(o,2)[1],a=A.useRef(y),[(0,v.Z)(function(){return a.current}),(0,v.Z)(function(e){a.current="function"==typeof e?e(a.current):e,i()})]),X=(0,c.Z)(j,2),K=X[0],q=X[1],Q=(0,L.Z)(null),ee=(0,c.Z)(Q,2),et=ee[0],eo=ee[1],ei=K(),ea=(0,A.useRef)(!1),es=(0,A.useRef)(null),el=(0,A.useRef)(!1);function eE(){q(y),eo(null,!0)}var ec=(0,g.zX)(function(e){var t,r=K();if(r!==y){var o=n();if(!e||e.deadline||e.target===o){var i=el.current;r===P&&i?t=null==H?void 0:H(o,e):r===M&&i?t=null==B?void 0:B(o,e):r===b&&i&&(t=null==Y?void 0:Y(o,e)),i&&!1!==t&&eE()}}}),eu=z(ec),eT=(0,c.Z)(eu,1)[0],ed=function(e){switch(e){case P:return(0,l.Z)((0,l.Z)((0,l.Z)({},U,p),x,h),w,C);case M:return(0,l.Z)((0,l.Z)((0,l.Z)({},U,N),x,_),w,D);case b:return(0,l.Z)((0,l.Z)((0,l.Z)({},U,I),x,m),w,F);default:return{}}},eR=A.useMemo(function(){return ed(ei)},[ei]),ef=er(ei,!e,function(e){if(e===U){var t,r=eR[U];return!!r&&r(n())}return eO in eR&&eo((null===(t=eR[eO])||void 0===t?void 0:t.call(eR,n(),null))||null),eO===w&&ei!==y&&(eT(n()),S>0&&(clearTimeout(es.current),es.current=setTimeout(function(){ec({deadline:!0})},S))),eO===G&&eE(),!0}),eA=(0,c.Z)(ef,2),eS=eA[0],eO=eA[1],ep=en(eO);el.current=ep,J(function(){Z(t);var n,r=ea.current;ea.current=!0,!r&&t&&d&&(n=P),r&&t&&u&&(n=M),(r&&!t&&f||!r&&O&&!t&&f)&&(n=b);var o=ed(n);n&&(e||o[U])?(q(n),eS()):q(y)},[t]),(0,A.useEffect)(function(){(ei!==P||d)&&(ei!==M||u)&&(ei!==b||f)||q(y)},[d,u,f]),(0,A.useEffect)(function(){return function(){ea.current=!1,clearTimeout(es.current)}},[]);var eN=A.useRef(!1);(0,A.useEffect)(function(){W&&(eN.current=!0),void 0!==W&&ei===y&&((eN.current||W)&&(null==k||k(W)),eN.current=!0)},[W,ei]);var eI=et;return eR[U]&&eO===x&&(eI=(0,E.Z)({transition:"none"},eI)),[ei,eO,eI,null!=W?W:t]}(I,r,function(){try{return h.current instanceof HTMLElement?h.current:(0,R.ZP)(_.current)}catch(e){return null}},e),D=(0,c.Z)(m,4),F=D[0],H=D[1],B=D[2],Y=D[3],k=A.useRef(Y);Y&&(k.current=!0);var V=A.useCallback(function(e){h.current=e,(0,f.mH)(t,e)},[t]),$=(0,E.Z)((0,E.Z)({},O),{},{visible:r});if(u){if(F===y)W=Y?u((0,E.Z)({},$),V):!i&&k.current&&S?u((0,E.Z)((0,E.Z)({},$),{},{className:S}),V):!s&&(i||S)?null:u((0,E.Z)((0,E.Z)({},$),{},{style:{display:"none"}}),V);else{H===U?Z="prepare":en(H)?Z="active":H===x&&(Z="start");var W,Z,j=K(T,"".concat(F,"-").concat(Z));W=u((0,E.Z)((0,E.Z)({},$),{},{className:d()(K(T,F),(0,l.Z)((0,l.Z)({},j,j&&Z),T,"string"==typeof T)),style:B}),V)}}else W=null;return A.isValidElement(W)&&(0,f.Yr)(W)&&!W.ref&&(W=A.cloneElement(W,{ref:V})),A.createElement(C,{ref:_},W)})).displayName="CSSMotion",s),ei=n(42096),ea=n(6228),es="keep",el="remove",eE="removed";function ec(e){var t;return t=e&&"object"===(0,u.Z)(e)&&"key"in e?e:{key:e},(0,E.Z)((0,E.Z)({},t),{},{key:String(t.key)})}function eu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(ec)}var eT=["component","children","onVisibleChanged","onAllRemoved"],ed=["status"],eR=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"],ef=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eo,n=function(e){(0,_.Z)(r,e);var n=(0,m.Z)(r);function r(){var e;(0,I.Z)(this,r);for(var t=arguments.length,o=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=eu(e),a=eu(t);i.forEach(function(e){for(var t=!1,i=r;i1}).forEach(function(e){(n=n.filter(function(t){var n=t.key,r=t.status;return n!==e||r!==el})).forEach(function(t){t.key===e&&(t.status=es)})}),n})(r,eu(n)).filter(function(e){var t=r.find(function(t){var n=t.key;return e.key===n});return!t||t.status!==eE||e.status!==el})}}}]),r}(A.Component);return(0,l.Z)(n,"defaultProps",{component:"div"}),n}(Z),eA=eo},53923:function(e,t,n){"use strict";n.d(t,{qX:function(){return S},JB:function(){return p},lm:function(){return L}});var r=n(72991),o=n(65347),i=n(10921),a=n(38497),s=n(4247),l=n(2060),E=n(42096),c=n(65148),u=n(26869),T=n.n(u),d=n(53979),R=n(14433),f=n(16956),A=n(66168),S=a.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,i=e.className,s=e.duration,l=void 0===s?4.5:s,u=e.showProgress,d=e.pauseOnHover,S=void 0===d||d,O=e.eventKey,p=e.content,N=e.closable,I=e.closeIcon,h=void 0===I?"x":I,_=e.props,m=e.onClick,C=e.onNoticeClose,g=e.times,L=e.hovering,v=a.useState(!1),y=(0,o.Z)(v,2),P=y[0],M=y[1],b=a.useState(0),D=(0,o.Z)(b,2),U=D[0],x=D[1],w=a.useState(0),G=(0,o.Z)(w,2),F=G[0],H=G[1],B=L||P,Y=l>0&&u,k=function(){C(O)};a.useEffect(function(){if(!B&&l>0){var e=Date.now()-F,t=setTimeout(function(){k()},1e3*l-F);return function(){S&&clearTimeout(t),H(Date.now()-e)}}},[l,B,g]),a.useEffect(function(){if(!B&&Y&&(S||0===F)){var e,t=performance.now();return function n(){cancelAnimationFrame(e),e=requestAnimationFrame(function(e){var r=Math.min((e+F-t)/(1e3*l),1);x(100*r),r<1&&n()})}(),function(){S&&cancelAnimationFrame(e)}}},[l,F,B,Y,g]);var V=a.useMemo(function(){return"object"===(0,R.Z)(N)&&null!==N?N:N?{closeIcon:h}:{}},[N,h]),$=(0,A.Z)(V,!0),W=100-(!U||U<0?0:U>100?100:U),Z="".concat(n,"-notice");return a.createElement("div",(0,E.Z)({},_,{ref:t,className:T()(Z,i,(0,c.Z)({},"".concat(Z,"-closable"),N)),style:r,onMouseEnter:function(e){var t;M(!0),null==_||null===(t=_.onMouseEnter)||void 0===t||t.call(_,e)},onMouseLeave:function(e){var t;M(!1),null==_||null===(t=_.onMouseLeave)||void 0===t||t.call(_,e)},onClick:m}),a.createElement("div",{className:"".concat(Z,"-content")},p),N&&a.createElement("a",(0,E.Z)({tabIndex:0,className:"".concat(Z,"-close"),onKeyDown:function(e){("Enter"===e.key||"Enter"===e.code||e.keyCode===f.Z.ENTER)&&k()},"aria-label":"Close"},$,{onClick:function(e){e.preventDefault(),e.stopPropagation(),k()}}),V.closeIcon),Y&&a.createElement("progress",{className:"".concat(Z,"-progress"),max:"100",value:W},W+"%"))}),O=a.createContext({}),p=function(e){var t=e.children,n=e.classNames;return a.createElement(O.Provider,{value:{classNames:n}},t)},N=function(e){var t,n,r,o={offset:8,threshold:3,gap:16};return e&&"object"===(0,R.Z)(e)&&(o.offset=null!==(t=e.offset)&&void 0!==t?t:8,o.threshold=null!==(n=e.threshold)&&void 0!==n?n:3,o.gap=null!==(r=e.gap)&&void 0!==r?r:16),[!!e,o]},I=["className","style","classNames","styles"],h=function(e){var t=e.configList,n=e.placement,l=e.prefixCls,u=e.className,R=e.style,f=e.motion,A=e.onAllNoticeRemoved,p=e.onNoticeClose,h=e.stack,_=(0,a.useContext)(O).classNames,m=(0,a.useRef)({}),C=(0,a.useState)(null),g=(0,o.Z)(C,2),L=g[0],v=g[1],y=(0,a.useState)([]),P=(0,o.Z)(y,2),M=P[0],b=P[1],D=t.map(function(e){return{config:e,key:String(e.key)}}),U=N(h),x=(0,o.Z)(U,2),w=x[0],G=x[1],F=G.offset,H=G.threshold,B=G.gap,Y=w&&(M.length>0||D.length<=H),k="function"==typeof f?f(n):f;return(0,a.useEffect)(function(){w&&M.length>1&&b(function(e){return e.filter(function(e){return D.some(function(t){return e===t.key})})})},[M,D,w]),(0,a.useEffect)(function(){var e,t;w&&m.current[null===(e=D[D.length-1])||void 0===e?void 0:e.key]&&v(m.current[null===(t=D[D.length-1])||void 0===t?void 0:t.key])},[D,w]),a.createElement(d.V4,(0,E.Z)({key:n,className:T()(l,"".concat(l,"-").concat(n),null==_?void 0:_.list,u,(0,c.Z)((0,c.Z)({},"".concat(l,"-stack"),!!w),"".concat(l,"-stack-expanded"),Y)),style:R,keys:D,motionAppear:!0},k,{onAllRemoved:function(){A(n)}}),function(e,t){var o=e.config,c=e.className,u=e.style,d=e.index,R=o.key,f=o.times,A=String(R),O=o.className,N=o.style,h=o.classNames,C=o.styles,g=(0,i.Z)(o,I),v=D.findIndex(function(e){return e.key===A}),y={};if(w){var P=D.length-1-(v>-1?v:d-1),U="top"===n||"bottom"===n?"-50%":"0";if(P>0){y.height=Y?null===(x=m.current[A])||void 0===x?void 0:x.offsetHeight:null==L?void 0:L.offsetHeight;for(var x,G,H,k,V=0,$=0;$-1?m.current[A]=e:delete m.current[A]},prefixCls:l,classNames:h,styles:C,className:T()(O,null==_?void 0:_.notice),style:N,times:f,key:R,eventKey:R,onNoticeClose:p,hovering:w&&M.length>0})))})},_=a.forwardRef(function(e,t){var n=e.prefixCls,i=void 0===n?"rc-notification":n,E=e.container,c=e.motion,u=e.maxCount,T=e.className,d=e.style,R=e.onAllRemoved,f=e.stack,A=e.renderNotifications,S=a.useState([]),O=(0,o.Z)(S,2),p=O[0],N=O[1],I=function(e){var t,n=p.find(function(t){return t.key===e});null==n||null===(t=n.onClose)||void 0===t||t.call(n),N(function(t){return t.filter(function(t){return t.key!==e})})};a.useImperativeHandle(t,function(){return{open:function(e){N(function(t){var n,o=(0,r.Z)(t),i=o.findIndex(function(t){return t.key===e.key}),a=(0,s.Z)({},e);return i>=0?(a.times=((null===(n=t[i])||void 0===n?void 0:n.times)||0)+1,o[i]=a):(a.times=0,o.push(a)),u>0&&o.length>u&&(o=o.slice(-u)),o})},close:function(e){I(e)},destroy:function(){N([])}}});var _=a.useState({}),m=(0,o.Z)(_,2),C=m[0],g=m[1];a.useEffect(function(){var e={};p.forEach(function(t){var n=t.placement,r=void 0===n?"topRight":n;r&&(e[r]=e[r]||[],e[r].push(t))}),Object.keys(C).forEach(function(t){e[t]=e[t]||[]}),g(e)},[p]);var L=function(e){g(function(t){var n=(0,s.Z)({},t);return(n[e]||[]).length||delete n[e],n})},v=a.useRef(!1);if(a.useEffect(function(){Object.keys(C).length>0?v.current=!0:v.current&&(null==R||R(),v.current=!1)},[C]),!E)return null;var y=Object.keys(C);return(0,l.createPortal)(a.createElement(a.Fragment,null,y.map(function(e){var t=C[e],n=a.createElement(h,{key:e,configList:t,placement:e,prefixCls:i,className:null==T?void 0:T(e),style:null==d?void 0:d(e),motion:c,onNoticeClose:I,onAllNoticeRemoved:L,stack:f});return A?A(n,{prefixCls:i,key:e}):n})),E)}),m=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],C=function(){return document.body},g=0;function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getContainer,n=void 0===t?C:t,s=e.motion,l=e.prefixCls,E=e.maxCount,c=e.className,u=e.style,T=e.onAllRemoved,d=e.stack,R=e.renderNotifications,f=(0,i.Z)(e,m),A=a.useState(),S=(0,o.Z)(A,2),O=S[0],p=S[1],N=a.useRef(),I=a.createElement(_,{container:O,ref:N,prefixCls:l,motion:s,maxCount:E,className:c,style:u,onAllRemoved:T,stack:d,renderNotifications:R}),h=a.useState([]),L=(0,o.Z)(h,2),v=L[0],y=L[1],P=a.useMemo(function(){return{open:function(e){var t=function(){for(var e={},t=arguments.length,n=Array(t),r=0;r0},e.prototype.connect_=function(){T&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),A?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){T&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;f.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),O=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),v="undefined"!=typeof WeakMap?new WeakMap:new u,y=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=S.getInstance(),r=new L(t,n,this);v.set(this,r)};["observe","unobserve","disconnect"].forEach(function(e){y.prototype[e]=function(){var t;return(t=v.get(this))[e].apply(t,arguments)}});var P=void 0!==d.ResizeObserver?d.ResizeObserver:y,M=new Map,b=new P(function(e){e.forEach(function(e){var t,n=e.target;null===(t=M.get(n))||void 0===t||t.forEach(function(e){return e(n)})})}),D=n(97290),U=n(80972),x=n(63119),w=n(43930),G=function(e){(0,x.Z)(n,e);var t=(0,w.Z)(n);function n(){return(0,D.Z)(this,n),t.apply(this,arguments)}return(0,U.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component),F=o.forwardRef(function(e,t){var n=e.children,r=e.disabled,i=o.useRef(null),u=o.useRef(null),T=o.useContext(c),d="function"==typeof n,R=d?n(i):n,f=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),A=!d&&o.isValidElement(R)&&(0,E.Yr)(R),S=A?R.ref:null,O=(0,E.x1)(S,i),p=function(){var e;return(0,l.ZP)(i.current)||(i.current&&"object"===(0,s.Z)(i.current)?(0,l.ZP)(null===(e=i.current)||void 0===e?void 0:e.nativeElement):null)||(0,l.ZP)(u.current)};o.useImperativeHandle(t,function(){return p()});var N=o.useRef(e);N.current=e;var I=o.useCallback(function(e){var t=N.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,s=o.height,l=e.offsetWidth,E=e.offsetHeight,c=Math.floor(i),u=Math.floor(s);if(f.current.width!==c||f.current.height!==u||f.current.offsetWidth!==l||f.current.offsetHeight!==E){var d={width:c,height:u,offsetWidth:l,offsetHeight:E};f.current=d;var R=l===Math.round(i)?i:l,A=E===Math.round(s)?s:E,S=(0,a.Z)((0,a.Z)({},d),{},{offsetWidth:R,offsetHeight:A});null==T||T(S,e,r),n&&Promise.resolve().then(function(){n(S,e)})}},[]);return o.useEffect(function(){var e=p();return e&&!r&&(M.has(e)||(M.set(e,new Set),b.observe(e)),M.get(e).add(I)),function(){M.has(e)&&(M.get(e).delete(I),M.get(e).size||(b.unobserve(e),M.delete(e)))}},[i.current,r]),o.createElement(G,{ref:u},A?o.cloneElement(R,{ref:O}):R)}),H=o.forwardRef(function(e,t){var n=e.children;return("function"==typeof n?[n]:(0,i.Z)(n)).map(function(n,i){var a=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return o.createElement(F,(0,r.Z)({},e,{key:a,ref:0===i?t:void 0}),n)})});H.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(c),s=o.useCallback(function(e,t,o){r.current+=1;var s=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then(function(){s===r.current&&(null==n||n(i.current),i.current=[])}),null==a||a(e,t,o)},[n,a]);return o.createElement(c.Provider,{value:s},t)};var B=H},9052:function(e,t,n){"use strict";n.d(t,{G:function(){return a},Z:function(){return A}});var r=n(26869),o=n.n(r),i=n(38497);function a(e){var t=e.children,n=e.prefixCls,r=e.id,a=e.overlayInnerStyle,s=e.className,l=e.style;return i.createElement("div",{className:o()("".concat(n,"-content"),s),style:l},i.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:a},"function"==typeof t?t():t))}var s=n(42096),l=n(4247),E=n(10921),c=n(92361),u={shiftX:64,adjustY:1},T={adjustX:1,shiftY:!0},d=[0,0],R={left:{points:["cr","cl"],overflow:T,offset:[-4,0],targetOffset:d},right:{points:["cl","cr"],overflow:T,offset:[4,0],targetOffset:d},top:{points:["bc","tc"],overflow:u,offset:[0,-4],targetOffset:d},bottom:{points:["tc","bc"],overflow:u,offset:[0,4],targetOffset:d},topLeft:{points:["bl","tl"],overflow:u,offset:[0,-4],targetOffset:d},leftTop:{points:["tr","tl"],overflow:T,offset:[-4,0],targetOffset:d},topRight:{points:["br","tr"],overflow:u,offset:[0,-4],targetOffset:d},rightTop:{points:["tl","tr"],overflow:T,offset:[4,0],targetOffset:d},bottomRight:{points:["tr","br"],overflow:u,offset:[0,4],targetOffset:d},rightBottom:{points:["bl","br"],overflow:T,offset:[4,0],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:u,offset:[0,4],targetOffset:d},leftBottom:{points:["br","bl"],overflow:T,offset:[-4,0],targetOffset:d}},f=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],A=(0,i.forwardRef)(function(e,t){var n=e.overlayClassName,r=e.trigger,o=e.mouseEnterDelay,u=e.mouseLeaveDelay,T=e.overlayStyle,d=e.prefixCls,A=void 0===d?"rc-tooltip":d,S=e.children,O=e.onVisibleChange,p=e.afterVisibleChange,N=e.transitionName,I=e.animation,h=e.motion,_=e.placement,m=e.align,C=e.destroyTooltipOnHide,g=e.defaultVisible,L=e.getTooltipContainer,v=e.overlayInnerStyle,y=(e.arrowContent,e.overlay),P=e.id,M=e.showArrow,b=(0,E.Z)(e,f),D=(0,i.useRef)(null);(0,i.useImperativeHandle)(t,function(){return D.current});var U=(0,l.Z)({},b);return"visible"in e&&(U.popupVisible=e.visible),i.createElement(c.Z,(0,s.Z)({popupClassName:n,prefixCls:A,popup:function(){return i.createElement(a,{key:"content",prefixCls:A,id:P,overlayInnerStyle:v},y)},action:void 0===r?["hover"]:r,builtinPlacements:R,popupPlacement:void 0===_?"right":_,ref:D,popupAlign:void 0===m?{}:m,getPopupContainer:L,onPopupVisibleChange:O,afterPopupVisibleChange:p,popupTransitionName:N,popupAnimation:I,popupMotion:h,defaultPopupVisible:g,autoDestroy:void 0!==C&&C,mouseLeaveDelay:void 0===u?.1:u,popupStyle:T,mouseEnterDelay:void 0===o?0:o,arrow:void 0===M||M},U),S)})},10469:function(e,t,n){"use strict";n.d(t,{Z:function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=[];return r.Children.forEach(t,function(t){(null!=t||n.keepEmpty)&&(Array.isArray(t)?i=i.concat(e(t)):(0,o.isFragment)(t)&&t.props?i=i.concat(e(t.props.children,n)):i.push(t))}),i}}});var r=n(38497),o=n(69404)},18943:function(e,t,n){"use strict";function r(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}n.d(t,{Z:function(){return r}})},41740:function(e,t,n){"use strict";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,{Z:function(){return r}})},7577:function(e,t,n){"use strict";n.d(t,{hq:function(){return f},jL:function(){return R}});var r=n(4247),o=n(18943),i=n(41740),a="data-rc-order",s="data-rc-priority",l=new Map;function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):"rc-util-key"}function c(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function u(e){return Array.from((l.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.Z)())return null;var n=t.csp,r=t.prepend,i=t.priority,l=void 0===i?0:i,E="queue"===r?"prependQueue":r?"prepend":"append",T="prependQueue"===E,d=document.createElement("style");d.setAttribute(a,E),T&&l&&d.setAttribute(s,"".concat(l)),null!=n&&n.nonce&&(d.nonce=null==n?void 0:n.nonce),d.innerHTML=e;var R=c(t),f=R.firstChild;if(r){if(T){var A=(t.styles||u(R)).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(a))&&l>=Number(e.getAttribute(s)||0)});if(A.length)return R.insertBefore(d,A[A.length-1].nextSibling),d}R.insertBefore(d,f)}else R.appendChild(d);return d}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=c(t);return(t.styles||u(n)).find(function(n){return n.getAttribute(E(t))===e})}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d(e,t);n&&c(t).removeChild(n)}function f(e,t){var n,o,a,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},R=c(s),f=u(R),A=(0,r.Z)((0,r.Z)({},s),{},{styles:f});!function(e,t){var n=l.get(e);if(!n||!(0,i.Z)(document,n)){var r=T("",t),o=r.parentNode;l.set(e,o),e.removeChild(r)}}(R,A);var S=d(t,A);if(S)return null!==(n=A.csp)&&void 0!==n&&n.nonce&&S.nonce!==(null===(o=A.csp)||void 0===o?void 0:o.nonce)&&(S.nonce=null===(a=A.csp)||void 0===a?void 0:a.nonce),S.innerHTML!==e&&(S.innerHTML=e),S;var O=T(e,A);return O.setAttribute(E(A),t),O}},42502:function(e,t,n){"use strict";n.d(t,{Sh:function(){return a},ZP:function(){return l},bn:function(){return s}});var r=n(14433),o=n(38497),i=n(2060);function a(e){return e instanceof HTMLElement||e instanceof SVGElement}function s(e){return e&&"object"===(0,r.Z)(e)&&a(e.nativeElement)?e.nativeElement:a(e)?e:null}function l(e){var t;return s(e)||(e instanceof o.Component?null===(t=i.findDOMNode)||void 0===t?void 0:t.call(i,e):null)}},62143:function(e,t){"use strict";t.Z=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}},63125:function(e,t,n){"use strict";function r(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return r(e) instanceof ShadowRoot?r(e):null}n.d(t,{A:function(){return o}})},16956:function(e,t){"use strict";var n={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>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE||e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY||e>=n.A&&e<=n.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.Z=n},94857:function(e,t,n){"use strict";n.d(t,{s:function(){return A},v:function(){return O}});var r,o,i=n(77160),a=n(20924),s=n(14433),l=n(4247),E=n(2060),c=(0,l.Z)({},r||(r=n.t(E,2))),u=c.version,T=c.render,d=c.unmountComponentAtNode;try{Number((u||"").split(".")[0])>=18&&(o=c.createRoot)}catch(e){}function R(e){var t=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,s.Z)(t)&&(t.usingClientEntryPoint=e)}var f="__rc_react_root__";function A(e,t){if(o){var n;R(!0),n=t[f]||o(t),R(!1),n.render(e),t[f]=n;return}T(e,t)}function S(){return(S=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null===(e=t[f])||void 0===e||e.unmount(),delete t[f]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function O(e){return p.apply(this,arguments)}function p(){return(p=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==o)){e.next=2;break}return e.abrupt("return",function(e){return S.apply(this,arguments)}(t));case 2:d(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}},35394:function(e,t,n){"use strict";n.d(t,{Z:function(){return a},o:function(){return s}});var r,o=n(7577);function i(e){var t,n,r="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),i=document.createElement("div");i.id=r;var a=i.style;if(a.position="absolute",a.left="0",a.top="0",a.width="100px",a.height="100px",a.overflow="scroll",e){var s=getComputedStyle(e);a.scrollbarColor=s.scrollbarColor,a.scrollbarWidth=s.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),E=parseInt(l.width,10),c=parseInt(l.height,10);try{var u=E?"width: ".concat(l.width,";"):"",T=c?"height: ".concat(l.height,";"):"";(0,o.hq)("\n#".concat(r,"::-webkit-scrollbar {\n").concat(u,"\n").concat(T,"\n}"),r)}catch(e){console.error(e),t=E,n=c}}document.body.appendChild(i);var d=e&&t&&!isNaN(t)?t:i.offsetWidth-i.clientWidth,R=e&&n&&!isNaN(n)?n:i.offsetHeight-i.clientHeight;return document.body.removeChild(i),(0,o.jL)(r),{width:d,height:R}}function a(e){return"undefined"==typeof document?0:((e||void 0===r)&&(r=i()),r.width)}function s(e){return"undefined"!=typeof document&&e&&e instanceof Element?i(e):{width:0,height:0}}},80988:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(38497);function o(e){var t=r.useRef();return t.current=e,r.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=i.has(t);if((0,o.ZP)(!l,"Warning: There may be circular references"),l)return!1;if(t===a)return!0;if(n&&s>1)return!1;i.add(t);var E=s+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var c=0;c